@nuvin/agent-core 0.2.0-rc.8 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/dist/VERSION +2 -2
  2. package/dist/agent/index.js +1 -1
  3. package/dist/chunk-D5IVWJHX.js +1 -1
  4. package/dist/chunk-FFIZ6TKW.js +1 -1
  5. package/dist/chunk-GAZGO6N7.js +1 -0
  6. package/dist/chunk-IUZALP6K.js +1 -1
  7. package/dist/chunk-KIIEBXJF.js +1 -0
  8. package/dist/chunk-LIE76IJA.js +1 -1
  9. package/dist/chunk-X7VAACWY.js +1 -1
  10. package/dist/chunk-YNOIG4FD.js +1 -1
  11. package/dist/formats/index.js +1 -1
  12. package/dist/hooks/index.js +1 -1
  13. package/dist/models/index.d.ts +1 -0
  14. package/dist/models/index.js +1 -1
  15. package/dist/shared/index.js +1 -1
  16. package/dist/shared/types.d.ts +25 -7
  17. package/dist/tools/{internal-tool-runtime.d.ts → core/internal-tool-runtime.d.ts} +1 -1
  18. package/dist/tools/core/mock-tool-runtime.d.ts +3 -0
  19. package/dist/tools/core/runtime-manager-tools.d.ts +132 -0
  20. package/dist/tools/{tool-output-offload.d.ts → core/tool-output-offload.d.ts} +1 -1
  21. package/dist/tools/{tools.d.ts → core/tools.d.ts} +1 -1
  22. package/dist/tools/file-editing/anchored-file-edit.d.ts +53 -0
  23. package/dist/tools/file-editing/anchored-file-errors.d.ts +5 -0
  24. package/dist/tools/file-editing/anchored-file-operations.d.ts +38 -0
  25. package/dist/tools/file-editing/anchored-file-read.d.ts +37 -0
  26. package/dist/tools/file-editing/atomic-file-write.d.ts +19 -0
  27. package/dist/tools/file-editing/file-edit-tool.d.ts +166 -0
  28. package/dist/tools/file-editing/file-mutation-coordinator.d.ts +13 -0
  29. package/dist/tools/{file-new-tool.d.ts → file-editing/file-new-tool.d.ts} +5 -2
  30. package/dist/tools/file-editing/file-observation-store.d.ts +40 -0
  31. package/dist/tools/{file-read-tool.d.ts → file-editing/file-read-tool.d.ts} +8 -2
  32. package/dist/tools/file-editing/file-snapshot.d.ts +16 -0
  33. package/dist/tools/file-editing/hashline-file-edit-adapter.d.ts +19 -0
  34. package/dist/tools/file-editing/structured-file-edit-adapter.d.ts +94 -0
  35. package/dist/tools/file-editing/workspace-paths.d.ts +20 -0
  36. package/dist/tools/index.d.ts +43 -34
  37. package/dist/tools/index.js +1 -1
  38. package/dist/tools/{mcp-connection-generation.d.ts → mcp/mcp-connection-generation.d.ts} +1 -1
  39. package/dist/tools/mcp/mcp-tool-adapter.d.ts +72 -0
  40. package/dist/tools/{glob-tool.d.ts → search/glob-tool.d.ts} +2 -2
  41. package/dist/tools/{grep-tool.d.ts → search/grep-tool.d.ts} +2 -2
  42. package/dist/tools/{ls-tool.d.ts → search/ls-tool.d.ts} +2 -2
  43. package/dist/tools/{view-file-tool.d.ts → search/view-file-tool.d.ts} +2 -2
  44. package/dist/tools/{ask-user-tool.d.ts → session/ask-user-tool.d.ts} +4 -4
  45. package/dist/tools/{lsp-tool.d.ts → session/lsp-tool.d.ts} +5 -5
  46. package/dist/tools/{skill-tool.d.ts → session/skill-tool.d.ts} +2 -2
  47. package/dist/tools/{todo-write-tool.d.ts → session/todo-write-tool.d.ts} +2 -2
  48. package/dist/tools/session/update-topic-tool.d.ts +12 -0
  49. package/dist/tools/{bash-output-tool.d.ts → shell/bash-output-tool.d.ts} +2 -2
  50. package/dist/tools/{bash-tool.d.ts → shell/bash-tool.d.ts} +5 -5
  51. package/dist/tools/{command-tool.d.ts → shell/command-tool.d.ts} +2 -2
  52. package/dist/tools/{kill-shell-tool.d.ts → shell/kill-shell-tool.d.ts} +2 -2
  53. package/dist/tools/{web-fetch-tool.d.ts → web/web-fetch-tool.d.ts} +2 -2
  54. package/dist/tools/{web-search-tool.d.ts → web/web-search-tool.d.ts} +2 -2
  55. package/package.json +3 -2
  56. package/dist/chunk-A4CS4HLK.js +0 -1
  57. package/dist/tools/file-edit-tool.d.ts +0 -34
  58. package/dist/tools/mcp-tool-adapter.d.ts +0 -72
  59. package/dist/tools/mock-tool-runtime.d.ts +0 -3
  60. package/dist/tools/runtime-manager-tools.d.ts +0 -79
  61. package/dist/tools/update-topic-tool.d.ts +0 -12
  62. package/dist/tools/workspace-paths.d.ts +0 -5
  63. /package/dist/tools/{file-mutation.d.ts → file-editing/file-mutation.d.ts} +0 -0
  64. /package/dist/tools/{mcp-oauth-provider.d.ts → mcp/mcp-oauth-provider.d.ts} +0 -0
  65. /package/dist/tools/{mcp-safe-error-provenance.d.ts → mcp/mcp-safe-error-provenance.d.ts} +0 -0
  66. /package/dist/tools/{mcp-safe-error.d.ts → mcp/mcp-safe-error.d.ts} +0 -0
  67. /package/dist/tools/{mcp-server-manager.d.ts → mcp/mcp-server-manager.d.ts} +0 -0
  68. /package/dist/tools/{grep-engine.d.ts → search/grep-engine.d.ts} +0 -0
  69. /package/dist/tools/{ripgrep.d.ts → search/ripgrep.d.ts} +0 -0
  70. /package/dist/tools/{background-process-registry.d.ts → shell/background-process-registry.d.ts} +0 -0
  71. /package/dist/tools/{bash-internals.d.ts → shell/bash-internals.d.ts} +0 -0
  72. /package/dist/tools/{process-tree-termination.d.ts → shell/process-tree-termination.d.ts} +0 -0
  73. /package/dist/tools/{terminal-output-normalizer.d.ts → shell/terminal-output-normalizer.d.ts} +0 -0
  74. /package/dist/tools/{safe-fetch.d.ts → web/safe-fetch.d.ts} +0 -0
@@ -1 +1 @@
1
- (function(_0xa194a0,_0x27d725){const _0x8b15b1={_0x5cdbee:0x1c0,_0x7ba5b:0x43,_0x11e864:0x6f,_0x519d36:0x11c,_0x3f51cb:0x73,_0x456bde:0x59,_0x303bc5:0x87,_0x151662:0x290,_0x2d5304:0x432,_0x11ddac:0x77d,_0x2b2377:0x4ee,_0x325e08:0x23a,_0x54c6f6:0x2c6,_0x4d4017:0x1a6,_0x162c6c:0x35c,_0x15d476:0x17f,_0x56f4cd:0x6b,_0x5c2976:0x50b,_0x3cbb6c:0x423,_0x12cb29:0x100,_0x49d6d9:0x8,_0x1dc11c:0x9a,_0x4ea54f:0x45c,_0x529748:0x597},_0x1cb41c={_0x1d84a8:0x233},_0x5e7c32={_0x4dd9fb:0x120};function _0x3e1e57(_0x54469d,_0x4d8285,_0xc1c24c,_0x63bc0){return _0x2a64(_0x4d8285-_0x5e7c32._0x4dd9fb,_0x63bc0);}function _0x34eb49(_0x2d7d3d,_0xe12ee7,_0x309c54,_0xe1409e){return _0x2a64(_0xe12ee7- -_0x1cb41c._0x1d84a8,_0x309c54);}const _0x4b1b1d=_0xa194a0();while(!![]){try{const _0x3ee222=-parseInt(_0x34eb49(_0x8b15b1._0x5cdbee,0x10a,0xa1,_0x8b15b1._0x7ba5b))/0x1*(-parseInt(_0x34eb49(0x67,0x146,_0x8b15b1._0x11e864,-0x71))/0x2)+parseInt(_0x34eb49(-_0x8b15b1._0x519d36,_0x8b15b1._0x3f51cb,-_0x8b15b1._0x456bde,0xa4))/0x3*(parseInt(_0x34eb49(0x26b,0x147,_0x8b15b1._0x303bc5,0x192))/0x4)+-parseInt(_0x34eb49(0x241,_0x8b15b1._0x151662,0x2a0,0x39d))/0x5*(parseInt(_0x3e1e57(_0x8b15b1._0x2d5304,0x58f,0x719,0x5c1))/0x6)+parseInt(_0x3e1e57(_0x8b15b1._0x11ddac,0x5dd,_0x8b15b1._0x2b2377,0x598))/0x7*(-parseInt(_0x34eb49(-0x209,-0x88,-0x225,-_0x8b15b1._0x325e08))/0x8)+parseInt(_0x34eb49(_0x8b15b1._0x54c6f6,_0x8b15b1._0x4d4017,0x2e6,_0x8b15b1._0x162c6c))/0x9*(parseInt(_0x34eb49(0x112,0x105,_0x8b15b1._0x15d476,-_0x8b15b1._0x56f4cd))/0xa)+parseInt(_0x3e1e57(0x454,_0x8b15b1._0x5c2976,_0x8b15b1._0x3cbb6c,0x35e))/0xb*(-parseInt(_0x34eb49(0x13f,0x15,_0x8b15b1._0x12cb29,-0x3e))/0xc)+parseInt(_0x34eb49(-0x2b,-_0x8b15b1._0x49d6d9,0x1a,-_0x8b15b1._0x1dc11c))/0xd*(-parseInt(_0x3e1e57(_0x8b15b1._0x4ea54f,0x480,0x4f8,_0x8b15b1._0x529748))/0xe);if(_0x3ee222===_0x27d725)break;else _0x4b1b1d['push'](_0x4b1b1d['shift']());}catch(_0x415761){_0x4b1b1d['push'](_0x4b1b1d['shift']());}}}(_0x4b49,0xa5760));import{Agent,ToolExecutionError,ToolRegistry,createInternalToolRuntime,createToolOutput,defineTool,deriveFinalToolOutput,normalizeToolOutputValue,resolveToolPermissionClass,validateToolInput}from'../chunk-A4CS4HLK.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 _0x549648 from'path';var EXTENSION_TO_LANGUAGE={'.ts':_0x12dc71(0x314,0x264,0x223,0x31a),'.tsx':_0x8a95cf(0x1f5,0xa7,0x141,0x351),'.js':'javascript','.jsx':_0x12dc71(0x1f7,0x3a6,0x362,0x2ca),'.mjs':_0x8a95cf(0x2f0,0x342,0x2bb,0x292),'.cjs':'javascript','.mts':_0x8a95cf(0x1dc,0x51,0x33,0x193),'.cts':_0x12dc71(0x170,0xda,0x223,0x338),'.json':_0x12dc71(0x2f2,0x1a9,0x1e3,0x11a),'.jsonc':_0x12dc71(-0xc6,-0xfc,0x64,-0x13c)};function getLanguageId(_0x2c4ea3){const _0x44f900={_0x2ecbe0:0x18a,_0x587a28:0x7d},_0x45d2e2={_0x5b7726:0x1a0,_0x58129e:0x106},_0x58a78c={_0x245b52:0x8f};function _0x4847b9(_0x2ab0f2,_0xfb1879,_0x33a384,_0x5c70b4){return _0x12dc71(_0x5c70b4,_0xfb1879-0x19d,_0x2ab0f2- -0x4d,_0x5c70b4-_0x58a78c._0x245b52);}function _0xb8d3d1(_0x37d3d7,_0x554078,_0x4689c4,_0x37cd7f){return _0x8a95cf(_0x4689c4-0x4ed,_0x554078,_0x4689c4-_0x45d2e2._0x5b7726,_0x37cd7f-_0x45d2e2._0x58129e);}return EXTENSION_TO_LANGUAGE[_0x549648[_0x4847b9(_0x44f900._0x2ecbe0,0x5f,_0x44f900._0x587a28,0x110)](_0x2c4ea3)[_0xb8d3d1(0x63e,0x8eb,0x720,0x669)]()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8,DEFAULT_LSP_REQUEST_TIMEOUT_MS=0x7530;function uriForPath(_0x8b01ca){const _0x42f0c0={_0x1fac41:0x504,_0x4173aa:0x415},_0x4cde33={_0x54a418:0xbe};function _0x42b446(_0x343a54,_0x4bdb1f,_0x36dd8e,_0x9f2f29){return _0x8a95cf(_0x36dd8e-0x11e,_0x4bdb1f,_0x36dd8e-_0x4cde33._0x54a418,_0x9f2f29-0x82);}return pathToFileURL(_0x8b01ca)[_0x42b446(0x605,_0x42f0c0._0x1fac41,0x447,_0x42f0c0._0x4173aa)]();}function textDocumentPosition(_0x4f9507){const _0x435e93={_0x8f67be:0x7a,_0x441712:0xa0,_0x5f28b7:0x102,_0x35aa37:0xe7,_0x28b596:0x16,_0x5ccec4:0x7c,_0x3e719c:0x26f,_0xfc1fff:0xe8},_0x418696={_0x1cfc2c:0x3c,_0x8d1129:0x1ec},_0x3aebc8={_0x132cd8:0xcf,_0x396e25:0x70,_0xfdf3e4:0x112};function _0x4c30ba(_0x55a276,_0x28711b,_0x3378c7,_0xcba144){return _0x8a95cf(_0xcba144- -_0x3aebc8._0x132cd8,_0x55a276,_0x3378c7-_0x3aebc8._0x396e25,_0xcba144-_0x3aebc8._0xfdf3e4);}function _0x49c22a(_0x3fd200,_0x418a27,_0x1104e2,_0x169aed){return _0x8a95cf(_0x3fd200- -_0x418696._0x1cfc2c,_0x1104e2,_0x1104e2-_0x418696._0x8d1129,_0x169aed-0x13d);}return{'textDocument':{'uri':uriForPath(_0x4f9507[_0x49c22a(_0x435e93._0x8f67be,0x176,_0x435e93._0x441712,-_0x435e93._0x5f28b7)])},'position':{'line':_0x4f9507[_0x49c22a(0x70,-0x148,_0x435e93._0x35aa37,-0x59)],'character':_0x4f9507[_0x4c30ba(_0x435e93._0x28b596,-_0x435e93._0x5ccec4,_0x435e93._0x3e719c,_0x435e93._0xfc1fff)]}};}function normalizeLocations(_0x5558be){const _0x3064f2={_0x47cb0:0x3fb,_0x19d824:0x562,_0x3c67f4:0x664,_0x4a9d84:0x5c8},_0x425092={_0x542b15:0x3ba,_0x2bd0ef:0x54};function _0x297f59(_0x17ac87,_0x419ec0,_0x3e75dd,_0x3c7d15){return _0x8a95cf(_0x419ec0-_0x425092._0x542b15,_0x17ac87,_0x3e75dd-_0x425092._0x2bd0ef,_0x3c7d15-0xb6);}if(!_0x5558be)return[];return Array[_0x297f59(_0x3064f2._0x47cb0,_0x3064f2._0x19d824,_0x3064f2._0x3c67f4,_0x3064f2._0x4a9d84)](_0x5558be)?_0x5558be:[_0x5558be];}async function withLspTimeout(_0x5e825f,_0x5b9621,_0x2adf6f){const _0x15d850={_0x92f506:0x9d,_0x1a8e64:0x27f,_0x364857:0x226,_0x410ecd:0x227,_0x312451:0x3f0,_0x117465:0x229,_0x3cb921:0x2da,_0xcb1b04:0x2cb,_0x4c28d8:0x33f,_0xfdef9c:0x3a3},_0x9e1feb={_0x25ebbc:0x15b,_0x407708:0x16c},_0x172348={_0x2a79f9:0x193,_0x1bb459:0x52};if(!Number[_0xfb5697(0xbb,0x1f1,0x295,_0x15d850._0x92f506)](_0x5b9621)||_0x5b9621<0x1)throw new Error(_0xfb5697(_0x15d850._0x1a8e64,_0x15d850._0x364857,0x378,0x139)+_0x2adf6f+_0xfb5697(_0x15d850._0x410ecd,_0x15d850._0x312451,_0x15d850._0x117465,_0x15d850._0x3cb921));function _0xfb5697(_0x4cac10,_0x2a3849,_0x217da5,_0x36b7db){return _0x12dc71(_0x217da5,_0x2a3849-_0x172348._0x2a79f9,_0x2a3849-0x1c,_0x36b7db-_0x172348._0x1bb459);}let _0x3bc20a;function _0x36dd11(_0x41ea3f,_0x252e94,_0x4181a5,_0x59f324){return _0x12dc71(_0x4181a5,_0x252e94-_0x9e1feb._0x25ebbc,_0x41ea3f-0x495,_0x59f324-_0x9e1feb._0x407708);}try{return await Promise[_0xfb5697(0x1b5,_0x15d850._0xcb1b04,_0x15d850._0x4c28d8,_0x15d850._0xfdef9c)]([_0x5e825f,new Promise((_0x2c32eb,_0x4fd36e)=>{const _0x111b15={_0x7b4a5e:0xcb,_0xda7564:0xad,_0x20cc5a:0x29c,_0x406311:0x458,_0x55a167:0x352,_0x3dba6b:0x33e},_0x5735af={_0x27d954:0x134};_0x3bc20a=setTimeout(()=>{function _0x5701c4(_0x55902a,_0x283312,_0x425734,_0x1270b5){return _0x2a64(_0x1270b5- -0x1ab,_0x425734);}function _0x4a24a4(_0x34dc33,_0x4a37b2,_0x52ca8a,_0x16df45){return _0x2a64(_0x4a37b2- -_0x5735af._0x27d954,_0x16df45);}_0x4fd36e(new Error(_0x4a24a4(_0x111b15._0x7b4a5e,0x1de,0x2f0,_0x111b15._0xda7564)+_0x2adf6f+_0x4a24a4(0x463,_0x111b15._0x20cc5a,0x16a,_0x111b15._0x406311)+_0x5b9621+_0x4a24a4(0x381,0x27c,_0x111b15._0x55a167,_0x111b15._0x3dba6b)));},_0x5b9621);})]);}finally{if(_0x3bc20a!==void 0x0)clearTimeout(_0x3bc20a);}}async function createLspClient(_0x4312e4){const _0x4109e3={_0x2a0980:0x727,_0x52805c:0x585,_0x425ba5:0x64a,_0x408fed:0x94,_0xff967f:0x148,_0x48362f:0x11c,_0x5b8159:0x55,_0x4df03e:0x168,_0x5cc59e:0x251,_0x2085d5:0x6a9,_0x388c89:0x5c0,_0x33fa55:0x5ea,_0x399ec2:0x10e,_0x524db5:0x2cb,_0x4c1102:0x2a9,_0x5349d5:0x80a,_0x2a92e2:0x6af,_0x1a9ac8:0x6ca,_0x2635a3:0x479,_0x4b54af:0x528,_0x22c88d:0x67f,_0x3efdbc:0x761,_0x32cc3e:0x77d,_0x14b710:0x748,_0x23a426:0x712,_0x37a0d3:0xb6,_0x1eb023:0x1ea,_0x502fb5:0xf4,_0x41d23a:0x4ea,_0x2c0eca:0x649,_0x5bc072:0x38e,_0x21e40f:0x356,_0x2f8768:0x465,_0x7584b8:0x661,_0x431cfa:0x653,_0x335d04:0x5e,_0x2c7f8b:0x303,_0x1b6892:0x314,_0x4f7c52:0x18c,_0x2816d1:0x6aa,_0x508fea:0x81b,_0x49f849:0x9cb,_0x5c0837:0x83b,_0x43f3ac:0x995,_0x1bf35b:0x458,_0x25072f:0x798,_0xd3ac71:0x5ca,_0x4a1b93:0x5b0,_0x6680f3:0x5d4},_0x2b81b5={_0x3c74c2:0x175,_0x56bee7:0x7,_0x3fd1c7:0x3,_0x1bdd6d:0xa,_0x1601f7:0xe7,_0x354c20:0x241,_0x4dd1e9:0xeb,_0x24629c:0x3e,_0x582c43:0xd6,_0x28389f:0x36,_0x5846c0:0x1cf,_0x5e1d68:0x1f7,_0x579cf7:0xab,_0x17fe21:0x105,_0x19cd96:0x20b,_0xa4e360:0xc7},_0x64137f={_0x5e605a:0x52},_0x4f5244={_0xdc32d9:0x3f,_0x4d4711:0x43},_0x246a3a={_0x2eec21:0xa9,_0x506a6a:0x63c},_0x1c9192={_0x53cb4a:0x3ae},_0x47555c={_0x21467e:0x149},_0x11d116={_0x2532e5:0x917,_0x1f187c:0x78f},_0x5ab6ca={_0x353175:0x790,_0x4dad09:0x793,_0x2ba284:0x65c},_0x104f89={_0x269374:0x5b5,_0x1b5b1e:0x428,_0x20d55e:0x3ed},_0x1e395d={_0x19b410:0x6f6,_0x46420c:0x7cf,_0x35f008:0x6dd,_0x19cada:0x65f},_0x247fb1={_0x147270:0x59,_0x8e038f:0x331},_0x23affa={_0x5f1e91:0x613},_0x4db05f={_0x2d8e4c:0xe2,_0x1d5082:0x147},_0x21e598={_0x561b56:0x16c,_0x1d6913:0x575},_0x5e7f47={_0xffbf2f:0x1a5},_0x410799={_0x1fa359:0x531,_0x182601:0x4a3},_0x5bf37d={_0xbc4585:0x84e,_0x580c22:0x698,_0x2106b2:0x683,_0x425aec:0x5a9,_0x41fb18:0x6b9,_0x2bc34e:0x571,_0x53d35a:0x4d4,_0x1f8168:0x3aa},_0x492836={_0x4a6951:0x6f},_0x5a632e={_0x37448b:0x184,_0x3c85fe:0x169,_0xec49de:0x1f6,_0x1098fb:0x3e4,_0x433c2d:0x655,_0x10b265:0x776,_0x3c9572:0x5c2,_0x8cfb8b:0x3fc,_0x16a1d3:0x2cd,_0x201bed:0x13d},_0x485065={_0x3cc420:0x313,_0x5caaff:0x483,_0x4e522c:0x380},_0x131a5f={_0x46fdb1:0x4e},_0x1a6375={_0x12cdbe:0xd3,_0x78b5c3:0x47c},_0x58286c=_0x4312e4[_0x169528(_0x4109e3._0x2a0980,_0x4109e3._0x52805c,0x4f3,_0x4109e3._0x425ba5)][_0x372fa6(_0x4109e3._0x408fed,0x12f,_0x4109e3._0xff967f,_0x4109e3._0x48362f)][_0x372fa6(_0x4109e3._0x5b8159,_0x4109e3._0x4df03e,_0x4109e3._0x5cc59e,0x1cd)],_0x4b026c=_0x4312e4[_0x169528(_0x4109e3._0x2085d5,0x585,_0x4109e3._0x388c89,_0x4109e3._0x33fa55)][_0x372fa6(_0x4109e3._0x399ec2,_0x4109e3._0x524db5,_0x4109e3._0x4c1102,0x11c)][_0x169528(_0x4109e3._0x5349d5,_0x4109e3._0x2a92e2,0x810,_0x4109e3._0x1a9ac8)];if(!_0x58286c||!_0x4b026c)throw new Error('LSP\x20server\x20process\x20must\x20expose\x20stdout\x20and\x20stdin\x20streams');const _0x5756b3=_0x4312e4['requestTimeoutMs']??DEFAULT_LSP_REQUEST_TIMEOUT_MS,_0x2c656e=createMessageConnection(new StreamMessageReader(_0x58286c),new StreamMessageWriter(_0x4b026c)),_0xa216fe=new Map(),_0x2196bb=new Map();function _0x169528(_0x4c1b73,_0x32562d,_0x13fc0c,_0x4d2563){return _0x12dc71(_0x13fc0c,_0x32562d-_0x1a6375._0x12cdbe,_0x32562d-_0x1a6375._0x78b5c3,_0x4d2563-0x145);}let _0x2376a2=![];const _0x2424dd=async(_0x3e427c,_0x4a9ae3)=>{function _0x51b7fa(_0x3357b6,_0x1b39be,_0x13bf49,_0x3c8aed){return _0x372fa6(_0x3357b6-_0x131a5f._0x46fdb1,_0x13bf49,_0x13bf49-0x17b,_0x3357b6-0x18e);}return withLspTimeout(_0x2c656e[_0x51b7fa(_0x485065._0x3cc420,_0x485065._0x5caaff,0x1a8,_0x485065._0x4e522c)](_0x3e427c,_0x4a9ae3),_0x5756b3,_0x3e427c);};_0x2c656e[_0x169528(_0x4109e3._0x2635a3,_0x4109e3._0x4b54af,0x6a9,_0x4109e3._0x22c88d)](_0x169528(0x58e,0x61a,_0x4109e3._0x3efdbc,_0x4109e3._0x32cc3e),_0x2ce5c1=>{const _0x2fbe5e={_0x2326de:0x94};_0xa216fe[_0x38170e(_0x5a632e._0x37448b,0x16b,0x89,_0x5a632e._0x3c85fe)](_0x2ce5c1[_0x38170e(0x2cd,0x2e7,0x2ce,_0x5a632e._0xec49de)],_0x2ce5c1['diagnostics']);function _0x38170e(_0x4e7c3b,_0x50e824,_0x1e060b,_0x8f596){return _0x372fa6(_0x4e7c3b-0xb4,_0x50e824,_0x1e060b-0x1b5,_0x4e7c3b-0x51);}const _0x34d022=_0x2196bb[_0x38170e(0x30f,0x258,_0x5a632e._0x1098fb,0x428)](_0x2ce5c1[_0x3435d5(_0x5a632e._0x433c2d,_0x5a632e._0x10b265,0x6fb,0x668)]);function _0x3435d5(_0x45fbe8,_0x5b4f50,_0x34cbcd,_0x38230e){return _0x169528(_0x45fbe8-0x84,_0x5b4f50-0x8,_0x45fbe8,_0x38230e-_0x2fbe5e._0x2326de);}if(!_0x34d022)return;_0x2196bb[_0x3435d5(0x720,_0x5a632e._0x3c9572,0x558,_0x5a632e._0x8cfb8b)](_0x2ce5c1[_0x38170e(_0x5a632e._0x16a1d3,0x1c8,0x472,_0x5a632e._0x201bed)]);for(const _0x357d17 of _0x34d022)_0x357d17();});function _0x372fa6(_0x21d63b,_0x5b5234,_0xefcedc,_0x3f0fa8){return _0x8a95cf(_0x3f0fa8- -0x2f,_0x5b5234,_0xefcedc-0x78,_0x3f0fa8-_0x492836._0x4a6951);}_0x2c656e[_0x169528(_0x4109e3._0x14b710,0x606,0x5d5,0x746)]();let _0x57d189;try{_0x57d189=await _0x2424dd(_0x169528(_0x4109e3._0x23a426,0x80f,0x713,0x76a),{'processId':process[_0x372fa6(-_0x4109e3._0x37a0d3,0xb,_0x4109e3._0x1eb023,_0x4109e3._0x502fb5)],'rootUri':uriForPath(_0x4312e4[_0x169528(0x539,_0x4109e3._0x41d23a,_0x4109e3._0x2c0eca,0x38c)]),'workspaceFolders':[{'uri':uriForPath(_0x4312e4[_0x169528(_0x4109e3._0x5bc072,0x4ea,0x31f,_0x4109e3._0x21e40f)]),'name':_0x4312e4['server']['id']}],'initializationOptions':_0x4312e4[_0x169528(_0x4109e3._0x2f8768,_0x4109e3._0x52805c,_0x4109e3._0x7584b8,0x603)][_0x169528(0x7bf,0x818,_0x4109e3._0x431cfa,0x7a6)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':[_0x372fa6(0xcf,_0x4109e3._0x335d04,0x62,0x74),'plaintext']},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});}catch(_0x553237){_0x2c656e[_0x372fa6(_0x4109e3._0x2c7f8b,_0x4109e3._0x1b6892,0x2e4,_0x4109e3._0x4f7c52)](),_0x4312e4[_0x372fa6(-0x44,0x238,-0x71,0x93)][_0x372fa6(0x133,0x275,-0x94,_0x4109e3._0x48362f)][_0x169528(_0x4109e3._0x2816d1,_0x4109e3._0x508fea,0x7c7,0x785)]();throw _0x553237;}_0x2c656e[_0x169528(_0x4109e3._0x49f849,_0x4109e3._0x5c0837,0x952,_0x4109e3._0x43f3ac)](_0x169528(_0x4109e3._0x1bf35b,0x5f9,0x7c4,_0x4109e3._0x25072f),{});const _0x20ef44={'serverId':_0x4312e4['server']['id'],'root':_0x4312e4['root'],'connection':_0x2c656e,'diagnostics':_0xa216fe,'capabilities':_0x57d189[_0x169528(0x5b4,_0x4109e3._0xd3ac71,_0x4109e3._0x4a1b93,_0x4109e3._0x6680f3)]??{},'notify':{async 'open'({path:_0xe4470c}){const _0x8acb2c={_0x3ef025:0x421},_0x278b14={_0x32c409:0x2b,_0x2ca137:0x13},_0x4dbc76=await readFile(_0xe4470c,'utf8');function _0x85fbc6(_0x190b0a,_0x5bef17,_0x2eee8d,_0x13c9c1){return _0x169528(_0x190b0a-_0x278b14._0x32c409,_0x190b0a-_0x278b14._0x2ca137,_0x5bef17,_0x13c9c1-0x15b);}function _0x17b451(_0x2fc262,_0x2c81d6,_0x5b5300,_0x2eb68c){return _0x372fa6(_0x2fc262-0x1e1,_0x5b5300,_0x5b5300-0x1a4,_0x2eb68c-_0x8acb2c._0x3ef025);}_0x2c656e[_0x85fbc6(_0x5bf37d._0xbc4585,_0x5bf37d._0x580c22,_0x5bf37d._0x2106b2,0x890)](_0x85fbc6(_0x5bf37d._0x425aec,0x6fd,_0x5bf37d._0x41fb18,_0x5bf37d._0x2bc34e),{'textDocument':{'uri':uriForPath(_0xe4470c),'languageId':getLanguageId(_0xe4470c)??_0x85fbc6(0x574,_0x5bf37d._0x53d35a,0x6c2,_0x5bf37d._0x1f8168),'version':0x1,'text':_0x4dbc76}});},async 'change'({path:_0x56c083,version:_0x2c7888}){const _0x2420f0={_0x7e7468:0x8e,_0x322fd4:0x280,_0x2a7799:0x185};function _0xbe04b0(_0x29a472,_0x38a4a0,_0x3d2582,_0x1ddeb8){return _0x169528(_0x29a472-_0x2420f0._0x7e7468,_0x3d2582- -_0x2420f0._0x322fd4,_0x38a4a0,_0x1ddeb8-_0x2420f0._0x2a7799);}const _0x34c1fa=await readFile(_0x56c083,'utf8');_0x2c656e[_0xbe04b0(_0x410799._0x1fa359,0x4e0,0x5bb,_0x410799._0x182601)]('textDocument/didChange',{'textDocument':{'uri':uriForPath(_0x56c083),'version':_0x2c7888},'contentChanges':[{'text':_0x34c1fa}]});},async 'close'({path:_0x14fb3d}){const _0x428943={_0x119e4d:0x1f2,_0x3fd5ba:0x202};function _0x1e3de2(_0x50efa8,_0x35c407,_0x3e47c0,_0x523d6c){return _0x372fa6(_0x50efa8-0x2,_0x50efa8,_0x3e47c0-_0x428943._0x119e4d,_0x523d6c- -_0x428943._0x3fd5ba);}_0x2c656e['sendNotification'](_0x1e3de2(-0x100,-0x349,-0x3d,-_0x5e7f47._0xffbf2f),{'textDocument':{'uri':uriForPath(_0x14fb3d)}});}},'request':{async 'definition'(_0x347cef){return normalizeLocations(await _0x2424dd('textDocument/definition',textDocumentPosition(_0x347cef)));},async 'references'(_0x2f37be){function _0xa32bbf(_0x12ca71,_0xdd7db1,_0x129889,_0x15e02b){return _0x169528(_0x12ca71-_0x21e598._0x561b56,_0x12ca71- -_0x21e598._0x1d6913,_0x129889,_0x15e02b-_0x21e598._0x561b56);}return normalizeLocations(await _0x2424dd(_0xa32bbf(0x7f,-_0x4db05f._0x2d8e4c,-0x7c,-_0x4db05f._0x1d5082),{...textDocumentPosition(_0x2f37be),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x45206a){function _0x3f24da(_0x5d9003,_0xab48a5,_0x587975,_0x148a47){return _0x169528(_0x5d9003-0xd1,_0xab48a5- -_0x23affa._0x5f1e91,_0x587975,_0x148a47-0x1ba);}return await _0x2424dd(_0x3f24da(_0x247fb1._0x147270,0x16f,0x1b4,_0x247fb1._0x8e038f),textDocumentPosition(_0x45206a))??null;},async 'documentSymbol'(_0x5af1ba){const _0x3dc0ee={_0x5522ba:0xe1};function _0x212ff6(_0x3327a4,_0x16255f,_0x1e3f4c,_0x37333a){return _0x372fa6(_0x3327a4-0x7d,_0x16255f,_0x1e3f4c-_0x3dc0ee._0x5522ba,_0x37333a-0x4a5);}return await _0x2424dd(_0x212ff6(_0x1e395d._0x19b410,_0x1e395d._0x46420c,_0x1e395d._0x35f008,_0x1e395d._0x19cada),{'textDocument':{'uri':uriForPath(_0x5af1ba)}})??[];},async 'workspaceSymbol'(_0x58989e){function _0x588fad(_0x4514b5,_0x120e9f,_0x35e988,_0x95f9a6){return _0x169528(_0x4514b5-0x94,_0x95f9a6- -0x14b,_0x35e988,_0x95f9a6-0x8e);}return await _0x2424dd(_0x588fad(_0x104f89._0x269374,0x273,_0x104f89._0x1b5b1e,_0x104f89._0x20d55e),{'query':_0x58989e})??[];},async 'implementation'(_0x55b7f7){return normalizeLocations(await _0x2424dd('textDocument/implementation',textDocumentPosition(_0x55b7f7)));},async 'prepareCallHierarchy'(_0x2984cc){const _0x563cc1={_0x5542ab:0x14b};function _0x380dfe(_0x1b1c45,_0x110a30,_0x233d8d,_0x20aa00){return _0x169528(_0x1b1c45-_0x563cc1._0x5542ab,_0x110a30-0x62,_0x233d8d,_0x20aa00-0x141);}return await _0x2424dd(_0x380dfe(_0x5ab6ca._0x353175,0x636,_0x5ab6ca._0x4dad09,_0x5ab6ca._0x2ba284),textDocumentPosition(_0x2984cc))??[];},async 'incomingCalls'(_0x5e6088){function _0x23429b(_0x2bf291,_0x3a066d,_0x11ebd2,_0x45107c){return _0x169528(_0x2bf291-0x184,_0x2bf291-0x42,_0x3a066d,_0x45107c-0x77);}return await _0x2424dd(_0x23429b(0x773,_0x11d116._0x2532e5,0x8ea,_0x11d116._0x1f187c),{'item':_0x5e6088})??[];},async 'outgoingCalls'(_0x5fae28){function _0x26d3b7(_0xe2f9c,_0x134e4e,_0x500938,_0x5bb135){return _0x169528(_0xe2f9c-_0x47555c._0x21467e,_0x5bb135- -0x48a,_0x134e4e,_0x5bb135-0x81);}return await _0x2424dd(_0x26d3b7(0x461,0x25e,0x4f1,_0x1c9192._0x53cb4a),{'item':_0x5fae28})??[];}},'waitForDiagnostics'({path:_0x1103ce,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x32292e={_0x1376cf:0x94,_0x35bb29:0x12a,_0x172359:0x250,_0x4503c5:0x17},_0x1313ad={_0x41cbdb:0x189},_0x4554b5={_0x29e098:0x126,_0x1bc1d3:0x184,_0x40c7e2:0x8b,_0x46ccdc:0xd0,_0x4c088a:0x17b,_0x2d25b1:0x6ba,_0x1f3ece:0x51a,_0x5a4573:0x651,_0x11d4d7:0x55b},_0x36f5fd=uriForPath(_0x1103ce);if(_0xa216fe[_0x376646(0x5d,-_0x4f5244._0xdc32d9,_0x4f5244._0x4d4711,-0x77)](_0x36f5fd))return Promise['resolve']();function _0x376646(_0x44b948,_0x353902,_0x24a67f,_0x363749){return _0x169528(_0x44b948-_0x246a3a._0x2eec21,_0x24a67f- -_0x246a3a._0x506a6a,_0x363749,_0x363749-0x19c);}return new Promise(_0x569cb6=>{const _0xbcc98c={_0x5649ac:0x314},_0x358e71={_0x3f1ef6:0x2e9},_0x2981b6={_0xfb529c:0x135};function _0x174ef3(_0x6259df,_0x3a39d5,_0xd6bcc1,_0x59d2ea){return _0x376646(_0x6259df-0x2e,_0x3a39d5-0x188,_0xd6bcc1-_0x2981b6._0xfb529c,_0x6259df);}const _0x1eeec7=setTimeout(()=>{const _0x4e5e34=_0x2196bb[_0x5ca9cb(_0x4554b5._0x29e098,0x2f1,_0x4554b5._0x1bc1d3,-_0x4554b5._0x40c7e2)](_0x36f5fd);function _0x159763(_0x6be08d,_0x56b260,_0x5b5093,_0x19159e){return _0x2a64(_0x5b5093-_0x358e71._0x3f1ef6,_0x19159e);}_0x4e5e34?.[_0x5ca9cb(-_0x4554b5._0x46ccdc,-_0x4554b5._0x4c088a,-0x131,-0x68)](_0x3f4533);function _0x5ca9cb(_0x2fb33f,_0x55f8ad,_0x47cfa2,_0xac1c38){return _0x2a64(_0x2fb33f- -_0xbcc98c._0x5649ac,_0x47cfa2);}if(_0x4e5e34?.[_0x159763(_0x4554b5._0x2d25b1,_0x4554b5._0x1f3ece,_0x4554b5._0x5a4573,_0x4554b5._0x11d4d7)]===0x0)_0x2196bb['delete'](_0x36f5fd);_0x569cb6();},timeoutMs);function _0x10692f(_0x485bda,_0x378e32,_0x13a3cb,_0x554e56){return _0x376646(_0x485bda-0x3f,_0x378e32-_0x1313ad._0x41cbdb,_0x554e56- -0x41,_0x485bda);}const _0x3f4533=()=>{clearTimeout(_0x1eeec7),_0x569cb6();},_0x576ae2=_0x2196bb[_0x10692f(0x2b0,0xcd,_0x32292e._0x1376cf,0x133)](_0x36f5fd)??new Set();_0x576ae2[_0x174ef3(0x1fe,0x1d6,_0x32292e._0x35bb29,_0x32292e._0x172359)](_0x3f4533),_0x2196bb[_0x174ef3(-_0x32292e._0x4503c5,0x19b,0x11e,0x196)](_0x36f5fd,_0x576ae2);});},async 'shutdown'(){if(_0x2376a2)return;function _0x9987c4(_0x29bf45,_0x588d6d,_0x127183,_0x2a99ba){return _0x372fa6(_0x29bf45-0x8d,_0x29bf45,_0x127183-0x1f0,_0x127183- -0x17);}function _0x8aaf6b(_0x27ccc0,_0x518d32,_0x38f597,_0x4303c9){return _0x372fa6(_0x27ccc0-0x1e8,_0x4303c9,_0x38f597-_0x64137f._0x5e605a,_0x38f597- -0x262);}_0x2376a2=!![];try{await _0x2424dd(_0x9987c4(-_0x2b81b5._0x3c74c2,-_0x2b81b5._0x56bee7,_0x2b81b5._0x3fd1c7,_0x2b81b5._0x1bdd6d),null),_0x2c656e[_0x8aaf6b(0x295,0x1e1,_0x2b81b5._0x1601f7,0x123)](_0x9987c4(-0x7,_0x2b81b5._0x354c20,0x83,-_0x2b81b5._0x4dd1e9));}catch{}finally{_0x2c656e[_0x8aaf6b(-0x5b,-_0x2b81b5._0x24629c,-_0x2b81b5._0x582c43,-0x101)](),_0x4312e4[_0x8aaf6b(-0xe3,-_0x2b81b5._0x28389f,-_0x2b81b5._0x5846c0,-_0x2b81b5._0x5e1d68)][_0x9987c4(0x2ca,-_0x2b81b5._0x579cf7,_0x2b81b5._0x17fe21,_0x2b81b5._0x19cd96)][_0x8aaf6b(0x1d1,0x157,_0x2b81b5._0xa4e360,0xa4)]();}}};return _0x20ef44;}import{spawn as _0x366ca8}from'child_process';import{access as _0x4ba30e}from'fs/promises';import _0x422780 from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0x20be0d from'os';import _0x4d4652 from'path';import _0x12440a from'which';var installPromises=new Map();function sanitizePackageName(_0x7bd25b){const _0x4e76fa={_0x4a0482:0x289,_0x59b2dd:0x5b6},_0x45fb42={_0x5bf62d:0x3e2,_0x463d82:0xc3};function _0x52a26a(_0x365ef3,_0x41c227,_0x57bee1,_0x1ec639){return _0x8a95cf(_0x41c227-_0x45fb42._0x5bf62d,_0x365ef3,_0x57bee1-_0x45fb42._0x463d82,_0x1ec639-0x18e);}return _0x7bd25b['replace'](/^@/,'')[_0x52a26a(0x579,0x431,_0x4e76fa._0x4a0482,_0x4e76fa._0x59b2dd)](/[/]/g,'__');}function binaryNameForPlatform(_0x321431){const _0x45eb2a={_0x2e9fdd:0x3f8,_0x16cec5:0x454,_0x48b937:0x5b4};function _0x4d97df(_0x3d888c,_0x3ab241,_0x4da8bb,_0x1380da){return _0x12dc71(_0x1380da,_0x3ab241-0x12e,_0x3ab241-0x347,_0x1380da-0x199);}return process[_0x4d97df(0x468,_0x45eb2a._0x2e9fdd,_0x45eb2a._0x16cec5,_0x45eb2a._0x48b937)]==='win32'?_0x321431+'.cmd':_0x321431;}async function exists(_0x11afaf){try{return await access(_0x11afaf),!![];}catch{return![];}}function runNpmInstall(_0x1c7847,_0x1f7e1e,_0x429526){const _0x3d4292={_0x1be291:0x316,_0x49ee83:0x318,_0x5c1b28:0x4cb,_0x1fea76:0x297,_0x13c15c:0x212,_0x22223f:0x2ca,_0x27c34b:0x410,_0x1ec4aa:0x494,_0x2f14a3:0x5ca,_0x43be91:0x682,_0x3994c0:0x27a,_0x4e0275:0x210,_0xd9cb31:0x8b,_0x29d985:0x1a2},_0x397927={_0x5e58f2:0x214};return new Promise(_0x24534e=>{function _0x2e9868(_0x5069f7,_0x43486b,_0x3ecefc,_0x301446){return _0x2a64(_0x43486b- -_0x397927._0x5e58f2,_0x301446);}const _0xff4fe4=spawn('npm',[_0x54cc2a(_0x3d4292._0x1be291,_0x3d4292._0x49ee83,_0x3d4292._0x5c1b28,_0x3d4292._0x1fea76),'--prefix',_0x1c7847,_0x1f7e1e],{'env':_0x429526,'stdio':_0x54cc2a(_0x3d4292._0x13c15c,_0x3d4292._0x22223f,_0x3d4292._0x27c34b,0x1b1)});_0xff4fe4['on'](_0x54cc2a(_0x3d4292._0x1ec4aa,0x554,_0x3d4292._0x2f14a3,_0x3d4292._0x43be91),()=>_0x24534e(![]));function _0x54cc2a(_0xf0242a,_0x131255,_0x5b155d,_0x3f1715){return _0x2a64(_0x131255-0x141,_0xf0242a);}_0xff4fe4['on'](_0x2e9868(_0x3d4292._0x3994c0,_0x3d4292._0x4e0275,_0x3d4292._0xd9cb31,_0x3d4292._0x29d985),_0x5ca749=>_0x24534e(_0x5ca749===0x0));});}function shouldDisableLspDownload(_0x4ab17d=process[_0x8a95cf(0x171,0x2fa,0x1a0,0x89)]){const _0x1e505b={_0x20d64f:0x5a6,_0x58bef3:0x4d5,_0x5636c0:0x74b,_0x4c5013:0x448,_0x469d2b:0x5bb,_0x3855c8:0x560},_0x10dc2b={_0x57f1c0:0x55,_0x18f7e1:0x48},_0x390411={_0x322b49:0x3ac,_0x58330b:0x1c0,_0x3e7f3c:0x1f2},_0x35960d=_0x4ab17d[_0x3035d2(_0x1e505b._0x20d64f,0x4c6,_0x1e505b._0x58bef3,0x618)]?.[_0x3035d2(0x69f,0x5df,_0x1e505b._0x5636c0,0x75f)]();function _0x3035d2(_0xd0812d,_0x2dccd4,_0xd9183c,_0x38ff51){return _0x8a95cf(_0x2dccd4-_0x390411._0x322b49,_0xd0812d,_0xd9183c-_0x390411._0x58330b,_0x38ff51-_0x390411._0x3e7f3c);}function _0x4a6f86(_0x29ceae,_0x393785,_0x530648,_0x39cae1){return _0x8a95cf(_0x39cae1-0x3ad,_0x530648,_0x530648-_0x10dc2b._0x57f1c0,_0x39cae1-_0x10dc2b._0x18f7e1);}return _0x35960d===_0x3035d2(0x49d,_0x1e505b._0x4c5013,0x4a4,0x573)||_0x35960d==='1'||_0x35960d===_0x4a6f86(_0x1e505b._0x469d2b,_0x1e505b._0x3855c8,0x57e,0x6c9)||_0x35960d==='on';}function getLspPackageDir(_0x1e8e69){const _0x3d2979={_0x10d0b2:0x64d,_0x2b9086:0x65f,_0xdfc5bd:0x57b,_0x56d98d:0x4dc,_0x216149:0x506,_0x122d54:0x614,_0x216f48:0x380,_0x53ca03:0x4d8,_0x338680:0x3e1,_0x2c9e6f:0x12d,_0x27f176:0x522,_0x51f20b:0x3df},_0x4beae5={_0x449f2a:0x11};function _0x47dc9b(_0x313ada,_0x5bb855,_0xace0c5,_0x5de039){return _0x8a95cf(_0x5de039-0x3e4,_0x5bb855,_0xace0c5-_0x4beae5._0x449f2a,_0x5de039-0x1d2);}function _0x143837(_0x3fa8eb,_0x43ca00,_0x3891dc,_0x1e5d50){return _0x8a95cf(_0x1e5d50- -0x1ab,_0x43ca00,_0x3891dc-0x17b,_0x1e5d50-0x1d2);}return _0x4d4652[_0x47dc9b(_0x3d2979._0x10d0b2,0x466,_0x3d2979._0x2b9086,_0x3d2979._0xdfc5bd)](_0x20be0d[_0x47dc9b(_0x3d2979._0x56d98d,_0x3d2979._0x216149,0x69f,_0x3d2979._0x122d54)](),_0x47dc9b(_0x3d2979._0x216f48,_0x3d2979._0x53ca03,0x377,_0x3d2979._0x338680),_0x143837(_0x3d2979._0x2c9e6f,0x152,0x3,-0x25),_0x47dc9b(0x508,0x229,_0x3d2979._0x27f176,_0x3d2979._0x51f20b),sanitizePackageName(_0x1e8e69));}function getLspBinDir(_0x109882){const _0x451e0e={_0x54d44f:0x3c5,_0x19d5b2:0x436,_0x1f36d7:0xb1,_0x3b25f2:0x17,_0x2170ad:0x263,_0x1bf9fd:0x191,_0x5c95af:0x282},_0x5af24f={_0x54a835:0xe3};function _0x4638e0(_0x2e7ecc,_0x4c80ff,_0x4ea2b5,_0x2ef8ca){return _0x8a95cf(_0x2ef8ca-0x11d,_0x4ea2b5,_0x4ea2b5-0xcf,_0x2ef8ca-0x1a7);}function _0xe6d89f(_0x31b877,_0x1da8d0,_0x3c8ff0,_0x1de924){return _0x8a95cf(_0x31b877- -_0x5af24f._0x54a835,_0x3c8ff0,_0x3c8ff0-0x193,_0x1de924-0xe4);}return _0x4d4652[_0x4638e0(_0x451e0e._0x54d44f,0x3bb,_0x451e0e._0x19d5b2,0x2b4)](getLspPackageDir(_0x109882),_0xe6d89f(_0x451e0e._0x1f36d7,-_0x451e0e._0x3b25f2,_0x451e0e._0x2170ad,0x22b),_0xe6d89f(0x1b8,_0x451e0e._0x1bf9fd,_0x451e0e._0x5c95af,0x1e7));}async function findPackageBinary(_0x403f47,_0x3913e2){const _0x3226c2={_0x5335e7:0x103,_0x40d942:0x1f1,_0x1d2180:0xc5,_0x1053ab:0x5,_0x36f842:0x13a,_0x553f6c:0x48,_0x41a465:0x140,_0x2cbce4:0xb2,_0x1b5b2a:0xda,_0x55c3e5:0x866},_0xe9911c={_0x4d7168:0x1ce,_0x1e470a:0x3d7},_0x47835f={_0x9831f4:0x5a,_0x353212:0x13};function _0x5013e0(_0xf2054f,_0x54e774,_0x7bdc4,_0x3de770){return _0x12dc71(_0x54e774,_0x54e774-_0x47835f._0x9831f4,_0xf2054f- -0x1e3,_0x3de770-_0x47835f._0x353212);}function _0x30ad37(_0x225d62,_0x5c08ea,_0x128ef1,_0x1abe4e){return _0x12dc71(_0x128ef1,_0x5c08ea-_0xe9911c._0x4d7168,_0x225d62-_0xe9911c._0x1e470a,_0x1abe4e-0x1d4);}let _0x336fc7=_0x4d4652[_0x5013e0(-_0x3226c2._0x5335e7,-0x2a0,-_0x3226c2._0x40d942,-_0x3226c2._0x1d2180)](_0x3913e2);const _0x26cc65=binaryNameForPlatform(_0x403f47);while(!![]){const _0x4287cf=_0x4d4652[_0x5013e0(-_0x3226c2._0x1053ab,_0x3226c2._0x36f842,-_0x3226c2._0x553f6c,-_0x3226c2._0x41a465)](_0x336fc7,_0x5013e0(-0x8,0x148,-_0x3226c2._0x2cbce4,-_0x3226c2._0x1b5b2a),_0x30ad37(0x6b9,0x713,0x5e4,_0x3226c2._0x55c3e5),_0x26cc65);if(await exists(_0x4287cf))return _0x4287cf;const _0x4fbcae=_0x4d4652['dirname'](_0x336fc7);if(_0x4fbcae===_0x336fc7)return void 0x0;_0x336fc7=_0x4fbcae;}}async function findPathBinary(_0xca47ad,_0x10b7c9){const _0x535ccf={_0x1631f8:0x19e,_0x9d7f39:0x10,_0x38a466:0x54,_0x10ec6a:0x132,_0x322603:0x4,_0x47af3e:0x21,_0x551e54:0xa0},_0xe4b5c1={_0x192868:0x1b1,_0x3b351c:0xd8},_0x4dcaa4={_0x1ab801:0x65,_0xd6ed45:0x193,_0x2cc43d:0x134},_0x14c12b=getLspBinDir(_0x10b7c9);function _0xabba7b(_0x2c9a5e,_0x4cc3ef,_0x55e05f,_0x355a3b){return _0x8a95cf(_0x2c9a5e- -_0x4dcaa4._0x1ab801,_0x355a3b,_0x55e05f-_0x4dcaa4._0xd6ed45,_0x355a3b-_0x4dcaa4._0x2cc43d);}const _0x188c8c=[_0x14c12b,process['env'][_0xabba7b(0x199,0x207,_0x535ccf._0x1631f8,0x161)]][_0xabba7b(-_0x535ccf._0x9d7f39,-_0x535ccf._0x38a466,-0xea,0x144)](Boolean)[_0xabba7b(_0x535ccf._0x10ec6a,-_0x535ccf._0x322603,0x16c,0xb)](_0x4d4652[_0xabba7b(_0x535ccf._0x47af3e,0x13,0x195,_0x535ccf._0x551e54)]);function _0x2071e6(_0x54c5ea,_0x2df47c,_0x1abc50,_0xa03277){return _0x8a95cf(_0x54c5ea-0x411,_0x2df47c,_0x1abc50-_0xe4b5c1._0x192868,_0xa03277-_0xe4b5c1._0x3b351c);}try{return await _0x12440a(_0xca47ad,{'path':_0x188c8c});}catch{return void 0x0;}}async function resolvePackageBinary(_0x5ec3f5){const _0x2d2e4f={_0xee65b1:0x25d,_0x5efdde:0x149,_0x277544:0x1d4,_0x307670:0x3,_0x572986:0x71,_0x490f10:0x50,_0x3c6c03:0xf1,_0x5c923c:0xf4,_0x5e83d5:0x27d,_0x12934c:0xd8,_0x4e6ccd:0x401,_0x4d37a6:0x2a3,_0x477324:0x26d,_0x1e1f84:0x1be,_0x5109c3:0x6e},_0x1ffb76={_0x4354eb:0x1de,_0x30587b:0xf0},_0x315a53={_0x1781b0:0x16,_0xe7d7b:0x1bc,_0xe06146:0x92},_0x444149={_0x25164e:0x1c0,_0x303019:0x189},_0x3dda7d=_0x5ec3f5['binaryName']??_0x5ec3f5[_0x4ab546(_0x2d2e4f._0xee65b1,0x141,0x1c4,0x2cb)],_0xb2efea=await findPackageBinary(_0x3dda7d,_0x5ec3f5[_0x19ed52(0xb1,_0x2d2e4f._0x5efdde,0x248,_0x2d2e4f._0x277544)]);if(_0xb2efea)return _0xb2efea;const _0x35ae66=await findPathBinary(_0x3dda7d,_0x5ec3f5[_0x19ed52(-0xc7,-_0x2d2e4f._0x307670,0x83,0xd8)]);if(_0x35ae66)return _0x35ae66;const _0x2bb04d=_0x5ec3f5['env']??process[_0x19ed52(_0x2d2e4f._0x572986,0x13e,-_0x2d2e4f._0x490f10,_0x2d2e4f._0x3c6c03)];function _0x19ed52(_0x16284c,_0x5e2a08,_0x10829c,_0x278b59){return _0x12dc71(_0x16284c,_0x5e2a08-0x9a,_0x278b59- -0xc7,_0x278b59-0x1c7);}if(shouldDisableLspDownload(_0x2bb04d))return void 0x0;const _0x3c0b97=getLspPackageDir(_0x5ec3f5[_0x19ed52(_0x2d2e4f._0x5c923c,0x5a,_0x2d2e4f._0x5e83d5,_0x2d2e4f._0x12934c)]);function _0x4ab546(_0x142e57,_0x51186e,_0x1710c8,_0xbcbe7a){return _0x8a95cf(_0x51186e- -0x17,_0xbcbe7a,_0x1710c8-_0x444149._0x25164e,_0xbcbe7a-_0x444149._0x303019);}const _0x1de887=_0x5ec3f5['packageName']+':'+_0x3dda7d;let _0x3beb22=installPromises[_0x19ed52(_0x2d2e4f._0x4e6ccd,_0x2d2e4f._0x4d37a6,0x189,_0x2d2e4f._0x477324)](_0x1de887);!_0x3beb22&&(_0x3beb22=((async()=>{await mkdir(_0x3c0b97,{'recursive':!![]});const _0x15f01d=await runNpmInstall(_0x3c0b97,_0x5ec3f5[_0x795a21(-0x20f,-0x7b,-_0x1ffb76._0x4354eb,_0x1ffb76._0x30587b)],_0x2bb04d);if(!_0x15f01d)return void 0x0;function _0x795a21(_0x206a14,_0x79b48d,_0x2c6d08,_0x397276){return _0x4ab546(_0x206a14-_0x315a53._0x1781b0,_0x79b48d- -_0x315a53._0xe7d7b,_0x2c6d08-_0x315a53._0xe06146,_0x206a14);}const _0x85fe28=_0x4d4652['join'](getLspBinDir(_0x5ec3f5['packageName']),binaryNameForPlatform(_0x3dda7d));return await exists(_0x85fe28)?_0x85fe28:void 0x0;})()),installPromises[_0x4ab546(0xa8,0x14b,_0x2d2e4f._0x1e1f84,-_0x2d2e4f._0x5109c3)](_0x1de887,_0x3beb22));try{return await _0x3beb22;}catch{return void 0x0;}finally{installPromises['delete'](_0x1de887);}}var TYPESCRIPT_EXTENSIONS=[_0x12dc71(0x2b8,0x260,0x1f7,0x161),_0x12dc71(0xe1,0xcf,0x255,0x184),_0x8a95cf(0x2de,0x34e,0x404,0x3ee),_0x8a95cf(0x1c7,0x2e4,0xb5,0x38a),_0x12dc71(0x2b2,-0x23,0x115,0xb0),_0x8a95cf(0x291,0x362,0xfc,0x252),'.mts',_0x12dc71(0x92,0x249,0x116,0x6c)],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,_0x8a95cf(0x274,0x350,0xa7,0x21b),_0x8a95cf(0x317,0x4a4,0x42a,0x487)],TYPESCRIPT_ROOT_MARKERS=[_0x8a95cf(0x72,-0xda,0x33,0x16a),_0x12dc71(0x141,0x190,0x250,0x17a),'bun.lock',_0x8a95cf(0xaf,0x22a,-0x117,-0x61),'yarn.lock',_0x8a95cf(0x1ba,0x244,0x8b,0xfd),_0x12dc71(0x2ec,0x2d1,0x3c9,0x410),_0x8a95cf(0x23f,0xa6,0x260,0x3f8)],BIOME_ROOT_MARKERS=[_0x8a95cf(0x129,0x107,0x2d9,0x1f),_0x12dc71(0x466,0x2f3,0x2b4,0x433),'package-lock.json',_0x8a95cf(0x209,0x21b,0x29b,0x296),'bun.lock',_0x8a95cf(0xaf,-0xcf,0x246,-0x99),_0x8a95cf(0x17e,0x26c,0x2dc,0x249),_0x8a95cf(0x23f,0x126,0x209,0x3f9)];async function exists2(_0x1d422f){try{return await _0x4ba30e(_0x1d422f),!![];}catch{return![];}}async function findUp(_0x5d49af,_0x45a380){const _0x41e2cb={_0x550665:0x1a,_0x68c22:0xb3,_0x15d07c:0x2,_0x5ea42a:0x180,_0x3d3320:0x4a5,_0x19c2cf:0x4b4},_0x9eeaec={_0x5deb3c:0x1fc,_0x4829a0:0xd2},_0x23e530={_0x567482:0x15};let _0x1b7b6c=_0x422780['resolve'](_0x5d49af);function _0x504dfd(_0x19db79,_0x539876,_0x2db218,_0x4647f2){return _0x8a95cf(_0x19db79- -0x176,_0x2db218,_0x2db218-0xfd,_0x4647f2-_0x23e530._0x567482);}const _0x1df7a1=_0x422780[_0x504dfd(_0x41e2cb._0x550665,-0x106,-_0x41e2cb._0x68c22,0x176)](_0x1b7b6c);function _0x2f802b(_0xfcb5ed,_0x1386b9,_0x567f54,_0x42541c){return _0x8a95cf(_0xfcb5ed-_0x9eeaec._0x5deb3c,_0x1386b9,_0x567f54-0x2a,_0x42541c-_0x9eeaec._0x4829a0);}if(_0x1df7a1)_0x1b7b6c=_0x422780[_0x504dfd(-0x19,-_0x41e2cb._0x15d07c,-0x5b,_0x41e2cb._0x5ea42a)](_0x1b7b6c);while(!![]){for(const _0x5667cf of _0x45a380){if(await exists2(_0x422780[_0x2f802b(0x393,_0x41e2cb._0x3d3320,0x4d5,_0x41e2cb._0x19c2cf)](_0x1b7b6c,_0x5667cf)))return _0x1b7b6c;}const _0x57ce8a=_0x422780[_0x504dfd(-0x19,0xeb,0x156,-0x121)](_0x1b7b6c);if(_0x57ce8a===_0x1b7b6c)return void 0x0;_0x1b7b6c=_0x57ce8a;}}async function hasDenoRoot(_0x43880b){const _0x26eb94={_0x55a23d:0x35a,_0x34b75d:0x214,_0x2960f4:0x3aa,_0x45ae2b:0x2f5},_0x18e19a={_0x249fd1:0x4f,_0xe9077f:0x18},_0x35ea54={_0x23898f:0x17c,_0x598849:0x182};function _0x57730e(_0x346a57,_0x4850e4,_0x1dffdb,_0x463a48){return _0x12dc71(_0x463a48,_0x4850e4-0x103,_0x346a57-_0x35ea54._0x23898f,_0x463a48-_0x35ea54._0x598849);}function _0x2551ff(_0x2d225a,_0x5026d9,_0x1c876d,_0x5031f4){return _0x8a95cf(_0x5031f4-_0x18e19a._0x249fd1,_0x5026d9,_0x1c876d-0x4c,_0x5031f4-_0x18e19a._0xe9077f);}return await exists2(_0x422780['join'](_0x43880b,'deno.json'))||await exists2(_0x422780[_0x57730e(_0x26eb94._0x55a23d,0x2ba,_0x26eb94._0x34b75d,_0x26eb94._0x2960f4)](_0x43880b,_0x2551ff(_0x26eb94._0x45ae2b,0x138,-0x5c,0x13f)));}async function resolveTsserverPath(_0x345917){const _0x17cda2={_0x351879:0x299,_0x3b7d74:0x3a8,_0x146462:0x2f9,_0x460a87:0x4c4,_0x5e77e:0x339,_0xbfe83f:0x591,_0x34fc7d:0x3f3,_0x49df2b:0x29d,_0x59d695:0x2e7,_0x41e532:0x126,_0x2840da:0x166,_0x336da2:0x227,_0x4f6259:0x6e,_0x27f755:0x2c9,_0x3c3393:0x3f2,_0x107eaa:0x3d8,_0x2f5f8c:0x6f6,_0x3c8016:0x1d0,_0x5cede8:0x7f},_0x473dac={_0x2a1b66:0x1fc,_0x3f75eb:0x10c},_0x35a34c={_0x24ad89:0x183,_0x576676:0x187};let _0x260cd1=_0x422780[_0x10f62d(-0x5b,-_0x17cda2._0x351879,0x1b,-0xdf)](_0x345917);function _0x10f62d(_0x151911,_0x306afb,_0x7a9737,_0x2ff542){return _0x12dc71(_0x151911,_0x306afb-_0x35a34c._0x24ad89,_0x2ff542- -0x1bf,_0x2ff542-_0x35a34c._0x576676);}while(!![]){const _0x5e63a7=_0x422780[_0x5c4d59(0x4b9,0x393,0x312,_0x17cda2._0x3b7d74)](_0x260cd1,_0x5c4d59(_0x17cda2._0x146462,0x390,0x248,_0x17cda2._0x460a87),'typescript',_0x10f62d(_0x17cda2._0x5e77e,0x2e6,0x1e4,0x1ca),_0x5c4d59(_0x17cda2._0xbfe83f,_0x17cda2._0x34fc7d,_0x17cda2._0x49df2b,_0x17cda2._0x59d695));if(await exists2(_0x5e63a7))return _0x5e63a7;const _0x1b9fb7=_0x422780['dirname'](_0x260cd1);if(_0x1b9fb7===_0x260cd1)break;_0x260cd1=_0x1b9fb7;}const _0xf64e0a=getLspPackageDir(_0x10f62d(_0x17cda2._0x41e532,_0x17cda2._0x2840da,-0xb0,0x64)),_0x5b8366=await resolvePackageBinary({'packageName':'typescript','binaryName':_0x10f62d(-_0x17cda2._0x336da2,-_0x17cda2._0x4f6259,-_0x17cda2._0x27f755,-0x160),'startDir':_0x345917});function _0x5c4d59(_0x24ecf1,_0x51000c,_0x44bb94,_0x2e32c0){return _0x8a95cf(_0x51000c-_0x473dac._0x2a1b66,_0x2e32c0,_0x44bb94-0x170,_0x2e32c0-_0x473dac._0x3f75eb);}if(!_0x5b8366)return void 0x0;const _0x27fd2e=_0x422780[_0x5c4d59(0x547,0x393,_0x17cda2._0x3c3393,0x2d9)](_0xf64e0a,_0x5c4d59(0x50d,0x390,0x32a,0x2d7),_0x5c4d59(0x213,_0x17cda2._0x107eaa,0x35b,0x2bb),_0x5c4d59(0x707,0x53e,_0x17cda2._0x2f5f8c,0x66c),_0x10f62d(_0x17cda2._0x3c8016,-0x8,0xce,_0x17cda2._0x5cede8));return await exists2(_0x27fd2e)?_0x27fd2e:void 0x0;}var TypeScriptServer={'id':_0x8a95cf(0x1dc,0x2ec,0x244,0x42),'name':_0x12dc71(-0x140,-0x96,0x56,0x17c),'extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x3e3455){const _0x241727=await findUp(_0x3e3455,TYPESCRIPT_ROOT_MARKERS);if(!_0x241727)return void 0x0;return await hasDenoRoot(_0x241727)?void 0x0:_0x241727;},async 'spawn'(_0x49559b){const _0x1fb340={_0x233606:0x3e7,_0x20a9e4:0x478,_0x1b5ac0:0x391,_0x27f0f8:0x2a3},_0x10693a={_0x3de5b8:0x9b,_0x37e2c4:0xf4},_0x4fefc4={_0x8cb288:0x34,_0x44d52d:0x44},_0x9fb445=await resolveTsserverPath(_0x49559b);if(!_0x9fb445)return void 0x0;function _0x45dfd4(_0x515099,_0x270e42,_0x36dfb5,_0x46a494){return _0x12dc71(_0x36dfb5,_0x270e42-0x44,_0x515099-_0x4fefc4._0x8cb288,_0x46a494-_0x4fefc4._0x44d52d);}function _0x5dfa51(_0x2c0066,_0x523e91,_0x3a4530,_0x1e1f80){return _0x12dc71(_0x3a4530,_0x523e91-_0x10693a._0x3de5b8,_0x1e1f80- -_0x10693a._0x37e2c4,_0x1e1f80-0xa);}const _0xdc2c4=await resolvePackageBinary({'packageName':_0x45dfd4(_0x1fb340._0x233606,_0x1fb340._0x20a9e4,0x3e5,_0x1fb340._0x1b5ac0),'binaryName':'typescript-language-server','startDir':_0x49559b});if(!_0xdc2c4)return void 0x0;return{'process':_0x366ca8(_0xdc2c4,['--stdio'],{'cwd':_0x49559b,'stdio':_0x45dfd4(0x3ee,_0x1fb340._0x27f0f8,0x4a1,0x322)}),'initialization':{'tsserver':{'path':_0x9fb445}}};}},BiomeServer={'id':_0x8a95cf(0x7c,-0x11e,-0x97,-0xd4),'name':_0x12dc71(0x210,0xf0,0x22b,0x1a1),'extensions':BIOME_EXTENSIONS,async 'root'(_0x10ddbd){return findUp(_0x10ddbd,BIOME_ROOT_MARKERS);},async 'spawn'(_0x2a0de8){const _0x311cc1={_0x386c56:0x6,_0x3e1daf:0x107,_0x16c57a:0x13a,_0x487079:0x2ab,_0x35db2e:0xe4,_0x3f6ad1:0x87,_0xec6738:0x24,_0x397cca:0x43,_0x9f244c:0x7b,_0x5da02c:0xba,_0x4b1ca8:0x2fd,_0x432f68:0x168},_0x1eab52={_0x412427:0x4,_0x12e0c9:0x13b},_0x1362b2=await findPackageBinary(_0x4a0473(_0x311cc1._0x386c56,-_0x311cc1._0x3e1daf,_0x311cc1._0x16c57a,0x24),_0x2a0de8)??await resolvePackageBinary({'packageName':_0x540951(-_0x311cc1._0x487079,-_0x311cc1._0x35db2e,-_0x311cc1._0x3f6ad1,-0x7e),'binaryName':_0x4a0473(0x1c5,-0x43,-0xba,_0x311cc1._0xec6738),'startDir':_0x2a0de8});function _0x4a0473(_0x5c6ba1,_0x25c92b,_0xc9536f,_0x511d8d){return _0x8a95cf(_0x511d8d- -0x58,_0x5c6ba1,_0xc9536f-0x116,_0x511d8d-0x85);}function _0x540951(_0x5d51c3,_0x324101,_0x1f5765,_0x677cb7){return _0x8a95cf(_0x324101- -0x162,_0x677cb7,_0x1f5765-_0x1eab52._0x412427,_0x677cb7-_0x1eab52._0x12e0c9);}if(!_0x1362b2)return void 0x0;return{'process':_0x366ca8(_0x1362b2,[_0x540951(0x24c,0x15a,0x180,_0x311cc1._0x397cca),_0x540951(0x208,_0x311cc1._0x9f244c,0x14,_0x311cc1._0x5da02c)],{'cwd':_0x2a0de8,'stdio':_0x540951(_0x311cc1._0x4b1ca8,0x211,0x22b,_0x311cc1._0x432f68)})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x5017b8){const _0x5b3fd7={_0x55df6d:0x2cc,_0xaa5bd5:0x28e,_0x1e0721:0x315,_0x173751:0x3f5},_0x2d5a1d={_0x217924:0x11f,_0x1dc56a:0x33},_0x280f39=_0x422780['extname'](_0x5017b8)[_0x4e9b9e(_0x5b3fd7._0x55df6d,_0x5b3fd7._0xaa5bd5,0x176,0x209)]();function _0x4e9b9e(_0x9bc665,_0x86da88,_0xf7e0c8,_0x207380){return _0x12dc71(_0x86da88,_0x86da88-_0x2d5a1d._0x217924,_0xf7e0c8- -0x104,_0x207380-_0x2d5a1d._0x1dc56a);}function _0x505ffe(_0x440fc5,_0x272249,_0x4ba93c,_0xe01ced){return _0x8a95cf(_0x440fc5-0x2c0,_0xe01ced,_0x4ba93c-0x19,_0xe01ced-0x67);}return BUILTIN_LSP_SERVERS[_0x505ffe(_0x5b3fd7._0x1e0721,0x171,_0x5b3fd7._0x173751,0x1a8)](_0x33c3b9=>_0x33c3b9['extensions'][_0x4e9b9e(0xc9,0xda,0x1b4,0x73)](_0x280f39));}function stateKey(_0x335d02,_0x18f719){return _0x18f719+':'+_0x335d02['id'];}function diagnosticsKeyToPath(_0x28fdb3){const _0xf85738={_0x4ab72d:0x502,_0x338de8:0x7aa,_0x36739c:0x4e3,_0x2536d4:0x4a0},_0x1099b6={_0x46485e:0x2dd,_0x23c4c3:0x44,_0xf3fb80:0x56},_0x59e02c={_0x138a8e:0x33d};function _0x8a210f(_0x43a411,_0xa553f1,_0x1edc27,_0x497849){return _0x12dc71(_0x1edc27,_0xa553f1-0xf5,_0x497849-_0x59e02c._0x138a8e,_0x497849-0x112);}if(!_0x28fdb3[_0x8a210f(_0xf85738._0x4ab72d,0x49e,_0xf85738._0x338de8,0x5f3)](_0x311f71(_0xf85738._0x36739c,0x645,_0xf85738._0x2536d4,0x4f4)))return _0x28fdb3;function _0x311f71(_0x139ed4,_0x43263d,_0x1c43b9,_0x21ba6a){return _0x8a95cf(_0x43263d-_0x1099b6._0x46485e,_0x1c43b9,_0x1c43b9-_0x1099b6._0x23c4c3,_0x21ba6a-_0x1099b6._0xf3fb80);}return fileURLToPath(_0x28fdb3);}function nextFileVersion(_0x52977e,_0x46e743){const _0x26b795={_0x2c8f7d:0x695,_0x33c455:0x43d,_0x41a402:0x2f2,_0x2c36f7:0x271,_0x3c65e2:0x262,_0x1d125d:0x434},_0xe56507={_0x448696:0x80},_0x365caf={_0xa94542:0xa1};function _0x48eb57(_0xc1941a,_0x29c2ee,_0x4420d4,_0x3c6a63){return _0x8a95cf(_0xc1941a-0x225,_0x3c6a63,_0x4420d4-0x23,_0x3c6a63-_0x365caf._0xa94542);}const _0x34b66d=(_0x52977e['fileVersions'][_0x48eb57(0x512,_0x26b795._0x2c8f7d,_0x26b795._0x33c455,0x359)](_0x46e743)??0x1)+0x1;function _0x2eaf7c(_0x5e3cab,_0x39609c,_0x348346,_0x2980c5){return _0x8a95cf(_0x2980c5- -0xfd,_0x348346,_0x348346-_0xe56507._0x448696,_0x2980c5-0x182);}return _0x52977e[_0x2eaf7c(0x305,_0x26b795._0x41a402,_0x26b795._0x2c36f7,_0x26b795._0x3c65e2)][_0x48eb57(0x387,0x1c2,0x3d0,_0x26b795._0x1d125d)](_0x46e743,_0x34b66d),_0x34b66d;}async function collectClientResults(_0x4aa573){const _0xd71c5c={_0x4a9d92:0x5a6,_0x221eb0:0x3f2,_0x254326:0x664},_0x4693a1={_0x441463:0x138};function _0x55a461(_0x17a687,_0x3b0f68,_0x42b4a1,_0x323a94){return _0x8a95cf(_0x3b0f68-0x4c5,_0x42b4a1,_0x42b4a1-0x8b,_0x323a94-_0x4693a1._0x441463);}const _0x29c48b=await Promise[_0x55a461(_0xd71c5c._0x4a9d92,0x5af,_0xd71c5c._0x221eb0,0x4e7)](_0x4aa573);function _0xc9e9fd(_0x5c02ad,_0x313e20,_0x2ac441,_0x3ff7a0){return _0x8a95cf(_0x5c02ad- -0x1d8,_0x3ff7a0,_0x2ac441-0x97,_0x3ff7a0-0x3e);}return _0x29c48b[_0x55a461(_0xd71c5c._0x254326,0x765,0x65c,0x7ed)](_0x25d3ff=>_0x25d3ff['status']===_0x55a461(0x776,0x685,0x5dd,0x4ee)?_0x25d3ff['value']:[]);}function createLspService(_0x22a735={}){const _0x5dab16={_0x452460:0x677},_0x4dfc9c={_0x1ad500:0x53d,_0x4ecb2d:0x5f7,_0x103a03:0x658,_0x3842fb:0x572,_0x319d76:0x5f7,_0x5103c8:0x482,_0x4a3ea2:0x42a,_0x3b20e8:0xdf,_0x3c7d0e:0x38,_0x466b14:0x3f,_0x341fd9:0x7dc,_0x529eef:0x676,_0x323844:0x67,_0x32bac5:0x26,_0x4e0bb0:0x1a2,_0x189da2:0x631,_0x133416:0x6a8,_0x1dd89f:0x361,_0x23db0c:0x1db,_0x5f4a74:0x252,_0x598943:0x369,_0x94c306:0x37a,_0x64f598:0x1f1,_0x1c4448:0x288},_0x161ad8={_0x4ff999:0x817},_0x427711={_0xef6a78:0x5c1},_0x1ab59f={_0x1ae837:0xa},_0x40194a={_0x1295b8:0x2fa},_0x3e7267={_0x4f609a:0x19b},_0x4a30b7={_0x1a9544:0x2fd,_0x10e9d2:0x374,_0x4b9daa:0x505,_0x1962d9:0x6b7},_0x157f9f={_0x3e68cc:0x790,_0x338995:0x8eb},_0x491d38={_0x4bd267:0xdc,_0x198cbb:0x143,_0x4ed22f:0x5c8,_0x2b602c:0x1a6,_0x425611:0x84,_0x521897:0x18d},_0x14fa46={_0xf7d6f9:0x622,_0x35f623:0x5c0},_0x37da15={_0x2c687a:0x344},_0x37e5a3={_0x334328:0x133,_0x436c99:0x235,_0x34a022:0x23a},_0x1f0f30={_0x178419:0x12c},_0x2f0f30={_0x5307f1:0x39d,_0x28c9e9:0x1d4},_0x278532={_0x46f873:0x14d,_0xfba654:0x20d,_0x12598f:0x230},_0x275859={_0xef2a59:0x419},_0x3fd405={_0x1f2487:0x2e},_0x164ef3={_0x5736ae:0x431,_0x5ef1d1:0x2a3,_0x285da5:0x3bf,_0x49107b:0x51a,_0x17135a:0x409,_0x25f32a:0x3c8,_0xd390c7:0x397},_0x5bd631={_0x4c4e7d:0x6cc,_0x4b793e:0x696,_0x1a1cc2:0x622,_0x2a3884:0x39,_0x12df38:0x13b,_0x2f80a4:0x131,_0x3b5082:0x3b,_0x15edec:0x76,_0x3fcced:0xc5,_0x2c95a7:0x4fc,_0x455e6c:0x10a,_0x23f516:0x725,_0x54da5a:0x7ce,_0x23cb06:0x5d8,_0x266ea0:0x73e,_0xd7e64e:0x829},_0x29c1a8={_0x2e8c1e:0x17a},_0x540eaa={_0x5a07a5:0xbb},_0x9cecc9={_0x3fdb71:0x18a,_0x12209e:0x15a,_0x85d3b4:0x614,_0x329550:0x756,_0x2260b9:0x707,_0x174075:0x136,_0x4835e4:0x3b,_0x1c61f9:0x50,_0x29127a:0xee,_0xaf6c49:0x53b,_0x10cdf3:0x42,_0x197e0f:0x2f,_0x2220b4:0x98},_0x2b69a2={_0x148fb2:0xad,_0x4038d1:0x15,_0x2dbbe9:0x1d3,_0x278e75:0x1cb,_0x4e6299:0x98,_0x2d0ef0:0x366,_0x1e2ced:0x209,_0x164f89:0x9,_0x51f0f3:0x94,_0x11e2d1:0x1,_0x2626ec:0x160},_0x36b756={_0x3ecb6f:0x1cb},_0x10a8ec={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x26d83f=()=>_0x22a735['enabled']!==![];async function _0x1b938a(_0x2c0f52,_0x55732d){const _0x3d855c={_0x5e0cf2:0x3a0,_0x5b37cd:0x488,_0x7fc5fd:0x8d8,_0x469051:0x30f,_0x621aad:0x3a0,_0x2f954b:0x616,_0x147ff6:0x7f8,_0x3603c5:0x304,_0x19ab0d:0x1eb,_0x1a729d:0x67f,_0x1dcac6:0x599,_0x178bf0:0x52b,_0x3469b2:0x78a,_0x100749:0x905,_0x3ae723:0x83c,_0x1755d0:0x5b1,_0x224e5d:0x621,_0x2900de:0x684,_0x25b225:0x512,_0x1c5492:0x573},_0x14cca7=stateKey(_0x2c0f52,_0x55732d),_0x446423=_0x10a8ec[_0x71f538(0x228,_0x2b69a2._0x148fb2,0x6e,-_0x2b69a2._0x4038d1)][_0x71f538(_0x2b69a2._0x2dbbe9,_0x2b69a2._0x278e75,0x43,_0x2b69a2._0x4e6299)](_0x4ec3c4=>_0x4ec3c4[_0x71f538(0x35f,0x207,0x58,0x254)]===_0x2c0f52['id']&&_0x4ec3c4[_0x71f538(-0x25a,-0x9c,-0x12f,-0x2f)]===_0x55732d);if(_0x446423)return _0x446423;function _0x3d6220(_0x5ecf35,_0x5117ed,_0xacee4c,_0x536266){return _0x2a64(_0x5117ed- -_0x36b756._0x3ecb6f,_0xacee4c);}function _0x71f538(_0x1c6ad2,_0x34538f,_0x3db36e,_0x84bfa9){return _0x2a64(_0x34538f- -0x210,_0x84bfa9);}if(_0x10a8ec[_0x3d6220(0x308,0x2e9,_0x2b69a2._0x2d0ef0,_0x2b69a2._0x1e2ced)]['has'](_0x14cca7))return void 0x0;const _0x5f2fe1=_0x10a8ec[_0x3d6220(_0x2b69a2._0x164f89,_0x2b69a2._0x51f0f3,0x12f,_0x2b69a2._0x11e2d1)]['get'](_0x14cca7);if(_0x5f2fe1)return _0x5f2fe1;const _0x335705=((async()=>{const _0x29772c={_0x2d6cd2:0x37e},_0x588124={_0x42a923:0x33,_0x22f1d2:0xeb};function _0x478f20(_0xee0596,_0x57623c,_0x113252,_0x4ded93){return _0x71f538(_0xee0596-_0x588124._0x42a923,_0x113252-0x5d2,_0x113252-_0x588124._0x22f1d2,_0xee0596);}function _0x3b23a7(_0x536939,_0x4bee9b,_0x3b77cf,_0x1e6a01){return _0x71f538(_0x536939-0x108,_0x536939-_0x29772c._0x2d6cd2,_0x3b77cf-0x13c,_0x4bee9b);}try{const _0x8bf161=await _0x2c0f52[_0x3b23a7(_0x3d855c._0x5e0cf2,0x476,_0x3d855c._0x5b37cd,0x268)](_0x55732d);if(!_0x8bf161)return _0x10a8ec[_0x478f20(_0x3d855c._0x7fc5fd,0x705,0x876,0x78f)]['add'](_0x14cca7),void 0x0;const _0x42bd39=await createLspClient({'server':_0x2c0f52,'root':_0x55732d,'handle':_0x8bf161}),_0x3fe55a=_0x10a8ec[_0x3b23a7(0x42b,_0x3d855c._0x469051,_0x3d855c._0x621aad,0x5e6)][_0x478f20(0x89b,_0x3d855c._0x2f954b,0x79d,_0x3d855c._0x147ff6)](_0x513df7=>_0x513df7['serverId']===_0x2c0f52['id']&&_0x513df7[_0x478f20(0x3c5,0x6ea,0x536,0x446)]===_0x55732d);if(_0x3fe55a)return await _0x42bd39[_0x3b23a7(_0x3d855c._0x3603c5,_0x3d855c._0x19ab0d,0x346,0x1bd)](),_0x3fe55a;return _0x10a8ec[_0x478f20(0x62c,0x849,_0x3d855c._0x1a729d,0x4ee)][_0x3b23a7(0x4d4,_0x3d855c._0x1dcac6,0x507,_0x3d855c._0x178bf0)](_0x42bd39),_0x42bd39;}catch{return _0x10a8ec[_0x478f20(_0x3d855c._0x3469b2,_0x3d855c._0x100749,0x876,_0x3d855c._0x3ae723)]['add'](_0x14cca7),void 0x0;}finally{_0x10a8ec[_0x478f20(0x679,_0x3d855c._0x1755d0,_0x3d855c._0x224e5d,_0x3d855c._0x2900de)][_0x3b23a7(0x3b2,_0x3d855c._0x25b225,_0x3d855c._0x1c5492,0x395)](_0x14cca7);}})());return _0x10a8ec[_0x71f538(0xb7,0x4f,-0x5d,-_0x2b69a2._0x2626ec)][_0x71f538(0x78,0x9f,0x23f,-0x101)](_0x14cca7,_0x335705),_0x335705;}async function _0x5a6de5(_0x53955f,_0x56b0d8){if(!_0x26d83f())return[];function _0x43f924(_0x23dd78,_0x57c911,_0x4ecc12,_0x172584){return _0x2a64(_0x23dd78-0x160,_0x57c911);}const _0x270eb2=[];for(const _0x30d400 of getServersForFile(_0x53955f)){const _0x545048=await _0x30d400[_0xf6f0ce(-0x19a,-_0x9cecc9._0x3fdb71,-0x2e4,-_0x9cecc9._0x12209e)](_0x53955f);if(!_0x545048)continue;const _0x3ee66b=stateKey(_0x30d400,_0x545048);if(_0x10a8ec[_0x43f924(_0x9cecc9._0x85d3b4,_0x9cecc9._0x329550,0x7b2,_0x9cecc9._0x2260b9)][_0xf6f0ce(0x147,0x17a,_0x9cecc9._0x174075,_0x9cecc9._0x4835e4)](_0x3ee66b))continue;const _0x4505d2=_0x10a8ec[_0xf6f0ce(-_0x9cecc9._0x1c61f9,-0x14,-_0x9cecc9._0x29127a,-0x11)][_0x43f924(_0x9cecc9._0xaf6c49,0x6d2,0x3ce,0x6ba)](_0x1562c8=>_0x1562c8[_0xf6f0ce(0x19,0x86,0x1bb,0x149)]===_0x30d400['id']&&_0x1562c8[_0xf6f0ce(0x4a,-0x25a,-0x1d9,-0x15a)]===_0x545048);if(_0x4505d2){_0x270eb2[_0xf6f0ce(-0xa9,0x1a8,-_0x9cecc9._0x10cdf3,0x98)](_0x4505d2);continue;}if(!_0x56b0d8)continue;const _0x22e800=await _0x1b938a(_0x30d400,_0x545048);if(_0x22e800)_0x270eb2[_0xf6f0ce(0xff,0x5a,-_0x9cecc9._0x197e0f,_0x9cecc9._0x2220b4)](_0x22e800);}function _0xf6f0ce(_0x324a4e,_0x5a4674,_0x142994,_0x33914a){return _0x2a64(_0x33914a- -0x2ce,_0x324a4e);}return _0x270eb2;}async function _0x2b6a21(_0x26ab3a,_0xb954f2=![]){function _0x3f304e(_0x337948,_0x5ebd46,_0x5d5d86,_0xb200e4){return _0x2a64(_0x5d5d86- -_0x540eaa._0x5a07a5,_0x337948);}function _0x1bd573(_0x3192f1,_0x2d3273,_0x265730,_0x2ad294){return _0x2a64(_0x2ad294-_0x29c1a8._0x2e8c1e,_0x265730);}const _0x571ab0=await _0x5a6de5(_0x26ab3a,!![]);await Promise[_0x1bd573(_0x164ef3._0x5736ae,0x3ca,_0x164ef3._0x5ef1d1,_0x164ef3._0x285da5)](_0x571ab0[_0x3f304e(_0x164ef3._0x49107b,_0x164ef3._0x17135a,_0x164ef3._0x25f32a,_0x164ef3._0xd390c7)](async _0x12d9d7=>{const _0x292d93={_0x29854e:0xd7,_0x360198:0x252},_0x152602={_0x3e9637:0x77,_0x3bfd07:0x7d,_0x5b13e2:0x249};function _0x3ba1f2(_0x3090b8,_0x54d0b6,_0x1ec3f7,_0x470adf){return _0x1bd573(_0x3090b8-_0x152602._0x3e9637,_0x54d0b6-_0x152602._0x3bfd07,_0x54d0b6,_0x3090b8-_0x152602._0x5b13e2);}!_0x10a8ec['openFiles'][_0x3ba1f2(_0x5bd631._0x4c4e7d,0x7b6,0x6eb,_0x5bd631._0x4b793e)](_0x12d9d7[_0x3ba1f2(0x7da,0x8b9,_0x5bd631._0x1a1cc2,0x6c8)]+':'+_0x12d9d7['root']+':'+_0x26ab3a)&&(await _0x12d9d7['notify'][_0x20d48b(-_0x5bd631._0x2a3884,_0x5bd631._0x12df38,0x1d7,0x8a)]({'path':_0x26ab3a}),_0x10a8ec[_0x20d48b(_0x5bd631._0x2f80a4,_0x5bd631._0x3b5082,_0x5bd631._0x15edec,_0x5bd631._0x3fcced)][_0x3ba1f2(0x67e,_0x5bd631._0x2c95a7,0x7e1,0x725)](_0x12d9d7[_0x20d48b(0x1bd,0x4,-0xa9,_0x5bd631._0x455e6c)]+':'+_0x12d9d7['root']+':'+_0x26ab3a));await _0x12d9d7[_0x3ba1f2(_0x5bd631._0x23f516,_0x5bd631._0x54da5a,0x77c,_0x5bd631._0x23cb06)][_0x3ba1f2(_0x5bd631._0x266ea0,_0x5bd631._0xd7e64e,0x5df,0x689)]({'path':_0x26ab3a,'version':nextFileVersion(_0x10a8ec,_0x26ab3a)});function _0x20d48b(_0x56b1f2,_0xd17adf,_0x50a544,_0x32dd47){return _0x3f304e(_0xd17adf,_0xd17adf-_0x292d93._0x29854e,_0x32dd47- -_0x292d93._0x360198,_0x32dd47-0xde);}if(_0xb954f2)await _0x12d9d7['waitForDiagnostics']({'path':_0x26ab3a});}));}async function _0x5371c4(_0x19c4dd){await _0x2b6a21(_0x19c4dd['file'],![]);function _0xe9df1(_0x53335d,_0x207165,_0x3bd356,_0x50cb43){return _0x2a64(_0x207165- -0x3e8,_0x3bd356);}return _0x5a6de5(_0x19c4dd[_0xe9df1(-0x3af,-0x1e5,-0x35e,-0xca)],![]);}async function _0x12a260(_0x2a20c7){const _0x2673c5={_0x5ebb93:0x1e8},_0x3c3c2a=await _0x5371c4(_0x2a20c7);function _0x5dc8b0(_0x331122,_0x7354ad,_0x31e452,_0x5a2338){return _0x2a64(_0x31e452- -_0x3fd405._0x1f2487,_0x331122);}function _0x1542f6(_0x2eaf72,_0x3f75ca,_0x59b7b9,_0x508cc7){return _0x2a64(_0x2eaf72-_0x2673c5._0x5ebb93,_0x3f75ca);}return collectClientResults(_0x3c3c2a[_0x5dc8b0(_0x275859._0xef2a59,0x3e6,0x455,0x32e)](_0x56882b=>_0x56882b[_0x5dc8b0(-0x75,0x147,0x12c,0x29e)]['prepareCallHierarchy'](_0x2a20c7)));}return{'isEnabled':_0x26d83f,async 'hasClients'(_0x286f3d){const _0x184e19={_0x34539a:0x362};function _0x1ff02d(_0x2f3413,_0x6d1a90,_0x354e91,_0x31b55b){return _0x2a64(_0x31b55b- -_0x184e19._0x34539a,_0x6d1a90);}return(await _0x5a6de5(_0x286f3d,![]))['length']>0x0||getServersForFile(_0x286f3d)[_0x1ff02d(_0x278532._0x46f873,_0x278532._0xfba654,_0x278532._0x12598f,0x90)]>0x0;},'touchFile':_0x2b6a21,async 'diagnostics'(){const _0x34260d={};function _0x99ebb7(_0x17c2d4,_0x339f66,_0x314b86,_0x378b45){return _0x2a64(_0x17c2d4-0x1c7,_0x339f66);}for(const _0x4e72e0 of _0x10a8ec['clients']){for(const [_0x5553a9,_0x44c304]of _0x4e72e0[_0x99ebb7(0x327,_0x2f0f30._0x5307f1,0x3bb,_0x2f0f30._0x28c9e9)]){_0x34260d[diagnosticsKeyToPath(_0x5553a9)]=_0x44c304;}}return _0x34260d;},async 'diagnosticsForFile'(_0x5755bd){function _0xd13392(_0x537ae2,_0x2d94f9,_0x2e7bb7,_0x47d804){return _0x2a64(_0x2e7bb7- -0x12c,_0x47d804);}await _0x2b6a21(_0x5755bd,!![]);const _0x5432f2=[];function _0x3cdb4f(_0x1ab168,_0x30a879,_0x464cd8,_0x280faa){return _0x2a64(_0x30a879- -_0x1f0f30._0x178419,_0x280faa);}for(const _0x20f4f8 of await _0x5a6de5(_0x5755bd,![])){for(const [_0x2c34cb,_0x8bc0d7]of _0x20f4f8[_0xd13392(-0x5c,_0x37e5a3._0x334328,0x34,-0x119)]){if(diagnosticsKeyToPath(_0x2c34cb)===_0x5755bd)_0x5432f2[_0xd13392(0x281,_0x37e5a3._0x436c99,_0x37e5a3._0x34a022,0x3e0)](..._0x8bc0d7);}}return _0x5432f2;},async 'definition'(_0x426be8){function _0x2b1153(_0x1a9ae1,_0x26a34c,_0x4ad2f1,_0x2f78fe){return _0x2a64(_0x26a34c-0xf4,_0x2f78fe);}return collectClientResults((await _0x5371c4(_0x426be8))[_0x2b1153(0x481,0x577,0x668,0x553)](_0x2039e2=>_0x2039e2['request']['definition'](_0x426be8)));},async 'references'(_0x1f864e){function _0x71a0ac(_0x2d5c31,_0x58a422,_0x3f81be,_0x35975d){return _0x2a64(_0x35975d-_0x37da15._0x2c687a,_0x3f81be);}function _0xd5292b(_0x2e4e61,_0x33b87b,_0x260fde,_0xf7ec48){return _0x2a64(_0x2e4e61-0x19f,_0x33b87b);}return collectClientResults((await _0x5371c4(_0x1f864e))[_0xd5292b(_0x14fa46._0xf7d6f9,0x5f2,0x769,_0x14fa46._0x35f623)](_0x368ca5=>_0x368ca5[_0x71a0ac(0x2e9,0x643,0x3b6,0x49e)][_0x71a0ac(0x48c,0x7ac,0x6ed,0x5eb)](_0x1f864e)));},async 'hover'(_0x1ccbe5){const _0x4c0b82=await Promise[_0x122b5e(-_0x491d38._0x4bd267,-0x10,0x0,-_0x491d38._0x198cbb)]((await _0x5371c4(_0x1ccbe5))[_0x5473ce(0x610,_0x491d38._0x4ed22f,0x5fd,0x484)](_0x46c9aa=>_0x46c9aa[_0x5473ce(0x3bc,0x498,0x2d4,0x19f)][_0x122b5e(0x105,0x155,0x171,0x118)](_0x1ccbe5)));function _0x5473ce(_0x4165ed,_0x42b33e,_0x54ae26,_0x42545f){return _0x2a64(_0x54ae26-0x17a,_0x42545f);}function _0x122b5e(_0x5f463b,_0x42e9f1,_0x25337f,_0x2a1a7d){return _0x2a64(_0x42e9f1- -0x247,_0x25337f);}return _0x4c0b82[_0x122b5e(0x28a,_0x491d38._0x2b602c,_0x491d38._0x425611,_0x491d38._0x521897)](_0x4ab2f8=>_0x4ab2f8[_0x5473ce(0x4f9,0x55f,0x587,0x56d)]===_0x5473ce(0x62c,0x2d9,0x487,0x560)&&_0x4ab2f8[_0x5473ce(0x42d,0x3da,0x564,0x5dc)]?[_0x4ab2f8[_0x5473ce(0x723,0x681,0x564,0x699)]]:[]);},async 'documentSymbol'(_0x540894){const _0x204890={_0x4792a9:0x2d0};function _0x589425(_0x5042d5,_0x9866ac,_0x49149a,_0x120eaa){return _0x2a64(_0x120eaa-_0x204890._0x4792a9,_0x49149a);}await _0x2b6a21(_0x540894,![]);function _0x1f0ae9(_0x9d8b0,_0x56912d,_0x132d8d,_0x5f1a23){return _0x2a64(_0x132d8d-0x30f,_0x9d8b0);}return collectClientResults((await _0x5a6de5(_0x540894,![]))[_0x589425(0x7a2,_0x157f9f._0x3e68cc,_0x157f9f._0x338995,0x753)](_0x572f7a=>_0x572f7a['request'][_0x1f0ae9(0x6bf,0x7ad,0x5e8,0x794)](_0x540894)));},async 'workspaceSymbol'(_0x18530d){const _0x20dc8d={_0x422147:0x287};function _0x4cb7f3(_0x502ccb,_0x400f36,_0x386d40,_0xfa5377){return _0x2a64(_0x400f36-_0x20dc8d._0x422147,_0x386d40);}function _0x511b0f(_0x35191b,_0x3af545,_0x15b26b,_0x45bf21){return _0x2a64(_0x3af545-0x82,_0x15b26b);}return collectClientResults(_0x10a8ec[_0x511b0f(_0x4a30b7._0x1a9544,0x33f,_0x4a30b7._0x10e9d2,0x337)][_0x511b0f(0x67c,_0x4a30b7._0x4b9daa,0x620,_0x4a30b7._0x1962d9)](_0x466881=>_0x466881[_0x511b0f(0xdb,0x1dc,0x385,0x3a3)][_0x511b0f(0x26a,0x2d3,0x34f,0x3aa)](_0x18530d)));},async 'implementation'(_0x19f428){const _0x3f3eec={_0x5eeb98:0xf8};function _0x462898(_0x3c76a6,_0x2b5a45,_0x3a0125,_0x478929){return _0x2a64(_0x3c76a6- -_0x3e7267._0x4f609a,_0x478929);}function _0x54303a(_0x5c5e2a,_0x4f2b60,_0xa5778b,_0x2a1120){return _0x2a64(_0xa5778b- -_0x3f3eec._0x5eeb98,_0x4f2b60);}return collectClientResults((await _0x5371c4(_0x19f428))[_0x462898(0x2e8,_0x40194a._0x1295b8,0x1b5,0x173)](_0x200a08=>_0x200a08[_0x462898(-0x41,0x2d,0x90,-0xcd)][_0x54303a(0x177,0x104,0x273,0x353)](_0x19f428)));},async 'prepareCallHierarchy'(_0x2feb55){return _0x12a260(_0x2feb55);},async 'incomingCalls'(_0x4f0d88){function _0x35adc8(_0x80357,_0x4c7ab9,_0xdbdaad,_0xfc82ac){return _0x2a64(_0x80357- -_0x1ab59f._0x1ae837,_0xdbdaad);}function _0x5d4744(_0x3d431e,_0x432d5c,_0x3c4b3b,_0x2989f7){return _0x2a64(_0x3d431e-0x101,_0x3c4b3b);}const _0x471e81=await _0x12a260(_0x4f0d88),_0x523b33=await _0x5371c4(_0x4f0d88);return collectClientResults(_0x523b33[_0x5d4744(0x4ee,0x62b,_0x427711._0xef6a78,0x682)](_0x4ca96e=>_0x471e81['map'](_0x231c4c=>_0x4ca96e[_0x35adc8(0x150,-0x24,-0xd,0x310)][_0x5d4744(0x54a,0x660,0x630,0x407)](_0x231c4c))));},async 'outgoingCalls'(_0x211596){const _0x5a4a12={_0x32eb2a:0x39c},_0x5be0ed=await _0x12a260(_0x211596);function _0x4a73e8(_0xb6325f,_0x79df94,_0x402c0c,_0x26835d){return _0x2a64(_0x79df94-_0x5a4a12._0x32eb2a,_0x26835d);}function _0x83f3d1(_0x751c6b,_0x125dea,_0x58cfb7,_0x3dbc7f){return _0x2a64(_0x751c6b- -0x30a,_0x125dea);}const _0x1398cf=await _0x5371c4(_0x211596);return collectClientResults(_0x1398cf[_0x4a73e8(0x89b,0x789,_0x161ad8._0x4ff999,0x78c)](_0x2d2701=>_0x5be0ed[_0x83f3d1(0x179,0x112,0x2f8,-0x29)](_0x5a34a5=>_0x2d2701['request'][_0x4a73e8(0x4c3,0x615,0x636,0x5a1)](_0x5a34a5))));},async 'shutdown'(){if(_0x10a8ec[_0x1e747e(_0x4dfc9c._0x1ad500,0x661,0x63c,_0x4dfc9c._0x4ecb2d)])return;_0x10a8ec[_0x1e747e(_0x4dfc9c._0x103a03,0x6db,_0x4dfc9c._0x3842fb,_0x4dfc9c._0x319d76)]=!![],await Promise[_0x1e747e(0x397,0x578,_0x4dfc9c._0x5103c8,_0x4dfc9c._0x4a3ea2)](_0x10a8ec[_0x30bfa9(-_0x4dfc9c._0x3b20e8,-0x185,_0x4dfc9c._0x3c7d0e,-_0x4dfc9c._0x466b14)][_0x1e747e(0x532,_0x4dfc9c._0x341fd9,0x4bc,_0x4dfc9c._0x529eef)](_0x5c7c71=>_0x5c7c71[_0x30bfa9(-0x274,-0x215,-0xef,-0x17)]())),_0x10a8ec['clients']=[],_0x10a8ec[_0x30bfa9(_0x4dfc9c._0x323844,0x8f,-_0x4dfc9c._0x32bac5,0x105)][_0x30bfa9(-0x18d,0x54,-0x10f,-_0x4dfc9c._0x4e0bb0)]();function _0x1e747e(_0xf339ed,_0x16a7a7,_0x46c17b,_0x5d8704){return _0x2a64(_0x5d8704-0x1f3,_0x46c17b);}_0x10a8ec[_0x1e747e(0x706,_0x4dfc9c._0x189da2,_0x4dfc9c._0x133416,0x6a7)][_0x1e747e(_0x4dfc9c._0x1dd89f,_0x4dfc9c._0x23db0c,_0x4dfc9c._0x5f4a74,_0x4dfc9c._0x598943)](),_0x10a8ec['fileVersions'][_0x1e747e(0x405,_0x4dfc9c._0x94c306,_0x4dfc9c._0x64f598,_0x4dfc9c._0x598943)]();function _0x30bfa9(_0x3b6b71,_0x539512,_0x139a28,_0x235247){return _0x2a64(_0x139a28- -0x285,_0x539512);}_0x10a8ec['openFiles'][_0x1e747e(0x265,0x398,_0x4dfc9c._0x1c4448,0x369)]();},'status'(){function _0x44401e(_0x435188,_0x21db9a,_0x52484b,_0x1eabb2){return _0x2a64(_0x1eabb2-0x3bf,_0x435188);}return{'connectedClients':_0x10a8ec['clients'][_0x44401e(0x806,_0x5dab16._0x452460,0x8b1,0x7b1)]};}};}function createQuestionId(){const _0x531059={_0x3e42ee:0x30,_0x707334:0x1ef,_0x575f4a:0x203,_0x2de87f:0x2a6,_0x422249:0x1db,_0x28afc9:0x370,_0x571d3a:0x2b0,_0x127f05:0x318,_0x14c2d0:0x30e,_0x23989a:0x454},_0x1d0048={_0x4d76ce:0x195},_0x1fb8b8={_0x1ed760:0x3f};function _0x3ecf23(_0x3b4c75,_0x4e0fe7,_0x2385ec,_0x3a9157){return _0x8a95cf(_0x3b4c75-0x29c,_0x4e0fe7,_0x2385ec-0xfe,_0x3a9157-_0x1fb8b8._0x1ed760);}function _0xd7b1ff(_0x26bb65,_0x3c7b17,_0x16c7e6,_0x595db2){return _0x12dc71(_0x26bb65,_0x3c7b17-0x106,_0x3c7b17- -_0x1d0048._0x4d76ce,_0x595db2-0x77);}return _0xd7b1ff(0x54,0x78,-_0x531059._0x3e42ee,_0x531059._0x707334)+Date[_0x3ecf23(0x356,0x4b0,_0x531059._0x575f4a,0x1b7)]()+'-'+Math['random']()[_0xd7b1ff(_0x531059._0x2de87f,_0x531059._0x422249,_0x531059._0x28afc9,0x1bb)](0x24)[_0x3ecf23(_0x531059._0x571d3a,_0x531059._0x127f05,_0x531059._0x14c2d0,_0x531059._0x23989a)](0x2,0x9);}function validateInput(_0x3e5384){const _0xc5f77b={_0x38fede:0x421,_0xd8f87:0x4c0,_0x31c16e:0x5e5,_0x3cae4d:0x77e,_0x21821d:0x357,_0x219d88:0x50f,_0x1525c2:0x6ed,_0x93e81d:0x5c7,_0x135e33:0x366,_0x56742b:0x234,_0x19ee62:0x1ad,_0x1653bf:0x392,_0x566745:0x660,_0xc97fd1:0x595,_0x146810:0x52,_0x23bac9:0x16e,_0x518d8c:0x2b2,_0x205c94:0x3b0,_0x1c1283:0x501,_0x1f9c69:0x80c,_0x596a49:0x779,_0x1380eb:0x773,_0x252b69:0x429,_0x55292e:0x6eb,_0x385ce7:0x819,_0x3cb63d:0x62d,_0x1ec7e4:0x6ba,_0x46f96b:0x5cc,_0x15aa06:0x429,_0x31638a:0x3f9,_0x1daba4:0x986,_0x48ae23:0x961,_0x3e52a7:0x4b8,_0xfa5b4:0x34c,_0x117ec4:0x3f3,_0x46cb04:0x3dd,_0x11c278:0x675,_0x5df5fe:0x659,_0x1ec171:0x1b2,_0x33115c:0x24d,_0x22e425:0x1b1,_0x4ad043:0x8de,_0x5d617c:0x74c,_0x40eaae:0x859,_0x5c6fe4:0x850,_0x15a40d:0x23d,_0x5ec165:0xed,_0x51f435:0x703,_0x72d683:0x55e,_0x4676cb:0x364,_0x15046c:0x39f,_0x489450:0x30c,_0x4ef21e:0x153,_0x190867:0x45c,_0x56593c:0x625,_0x3ed2b6:0x6d8},_0xd2cbdb={_0x5084a6:0x492,_0x505384:0x8d};function _0x23bcb0(_0x1ba048,_0x2b676d,_0x1f7061,_0x56e30a){return _0x12dc71(_0x56e30a,_0x2b676d-0x18,_0x2b676d-0x6b,_0x56e30a-0x1a8);}function _0x51793d(_0x484874,_0x1f7354,_0x3fee02,_0x177ee0){return _0x12dc71(_0x1f7354,_0x1f7354-0xfd,_0x177ee0-_0xd2cbdb._0x5084a6,_0x177ee0-_0xd2cbdb._0x505384);}if(!Array['isArray'](_0x3e5384[_0x23bcb0(0x49c,0x366,0x508,_0xc5f77b._0x38fede)])||_0x3e5384[_0x23bcb0(0x40a,0x366,_0xc5f77b._0xd8f87,0x28d)][_0x51793d(0x64d,0x808,_0xc5f77b._0x31c16e,_0xc5f77b._0x3cae4d)]<0x1||_0x3e5384['questions'][_0x23bcb0(0x1a4,_0xc5f77b._0x21821d,0x36c,0x1ab)]>0xa)throw new ToolExecutionError(_0x51793d(_0xc5f77b._0x219d88,0x56f,_0xc5f77b._0x1525c2,_0xc5f77b._0x93e81d),{'error':'invalid_questions'});for(let _0x2b6fd4=0x0;_0x2b6fd4<_0x3e5384[_0x23bcb0(0x3eb,_0xc5f77b._0x135e33,0x304,_0xc5f77b._0x56742b)]['length'];_0x2b6fd4+=0x1){const _0x1cb337=_0x3e5384[_0x23bcb0(_0xc5f77b._0x19ee62,_0xc5f77b._0x135e33,0x261,_0xc5f77b._0x1653bf)][_0x2b6fd4];if(!_0x1cb337[_0x51793d(0x4d3,0x71b,_0xc5f77b._0x566745,_0xc5f77b._0xc97fd1)]||typeof _0x1cb337[_0x23bcb0(_0xc5f77b._0x146810,_0xc5f77b._0x23bac9,_0xc5f77b._0x518d8c,0x130)]!==_0x51793d(0x3e2,0x605,_0xc5f77b._0x205c94,_0xc5f77b._0x1c1283))throw new ToolExecutionError('Question\x20'+(_0x2b6fd4+0x1)+':\x20\x22question\x22\x20field\x20is\x20required\x20and\x20must\x20be\x20a\x20string');if(!_0x1cb337['topic']||typeof _0x1cb337[_0x51793d(0x652,_0xc5f77b._0x1f9c69,_0xc5f77b._0x596a49,_0xc5f77b._0x1380eb)]!=='string')throw new ToolExecutionError(_0x23bcb0(0x4f9,_0xc5f77b._0x252b69,0x5e9,0x442)+(_0x2b6fd4+0x1)+_0x51793d(_0xc5f77b._0x55292e,_0xc5f77b._0x385ce7,_0xc5f77b._0x3cb63d,_0xc5f77b._0x1ec7e4));if(_0x1cb337['topic']['length']>0x1e)throw new ToolExecutionError(_0x23bcb0(_0xc5f77b._0x46f96b,_0xc5f77b._0x15aa06,0x3c1,_0xc5f77b._0x31638a)+(_0x2b6fd4+0x1)+_0x51793d(_0xc5f77b._0x1daba4,0x757,_0xc5f77b._0x48ae23,0x7bc)+_0x1cb337[_0x23bcb0(_0xc5f77b._0x3e52a7,_0xc5f77b._0xfa5b4,_0xc5f77b._0x117ec4,0x47a)]['length']);if(!Array[_0x23bcb0(_0xc5f77b._0x46cb04,0x25a,0x263,0x202)](_0x1cb337['options'])||_0x1cb337[_0x51793d(0x4f4,0x469,0x42d,0x5d9)][_0x51793d(_0xc5f77b._0x11c278,_0xc5f77b._0x5df5fe,0x76e,0x77e)]<0x2||_0x1cb337[_0x23bcb0(0x25a,_0xc5f77b._0x1ec171,_0xc5f77b._0x33115c,_0xc5f77b._0x22e425)][_0x51793d(0x5df,0x837,0x867,_0xc5f77b._0x3cae4d)]>0x4)throw new ToolExecutionError(_0x51793d(_0xc5f77b._0x4ad043,_0xc5f77b._0x5d617c,_0xc5f77b._0x40eaae,_0xc5f77b._0x5c6fe4)+(_0x2b6fd4+0x1)+_0x23bcb0(_0xc5f77b._0x15a40d,0x3dd,0x515,0x2b8));for(let _0x56a2fb=0x0;_0x56a2fb<_0x1cb337[_0x23bcb0(0x99,_0xc5f77b._0x1ec171,_0xc5f77b._0x5ec165,0x267)][_0x23bcb0(0x3c8,_0xc5f77b._0x21821d,0x192,0x45e)];_0x56a2fb+=0x1){const _0x4c926b=_0x1cb337['options'][_0x56a2fb];if(!_0x4c926b[_0x51793d(0x8a0,0x763,0x5cb,_0xc5f77b._0x51f435)]||!_0x4c926b[_0x51793d(0x64a,0x471,0x5de,_0xc5f77b._0x72d683)])throw new ToolExecutionError(_0x51793d(0x6bc,0x800,0x886,_0xc5f77b._0x5c6fe4)+(_0x2b6fd4+0x1)+_0x23bcb0(0x47a,0x32c,_0xc5f77b._0x4676cb,_0xc5f77b._0x15046c)+(_0x56a2fb+0x1)+_0x23bcb0(_0xc5f77b._0x489450,0x2f0,_0xc5f77b._0x4ef21e,_0xc5f77b._0x190867));}if(typeof _0x1cb337[_0x51793d(_0xc5f77b._0x56593c,0x798,0x569,0x72c)]!==_0x51793d(0x811,0x6bd,_0xc5f77b._0x3ed2b6,0x80d))throw new ToolExecutionError('Question\x20'+(_0x2b6fd4+0x1)+_0x51793d(0x456,0x58d,0x530,0x514));}}function buildQuestions(_0x1b1589){const _0x498e65={_0x1b61a7:0x5bb,_0xfd5707:0x626},_0x197552={_0x40c3de:0x50};function _0x1ad4f9(_0x311721,_0x3cf966,_0x28e0bc,_0x420c49){return _0x8a95cf(_0x311721- -0x51,_0x3cf966,_0x28e0bc-_0x197552._0x40c3de,_0x420c49-0x12f);}function _0x3dc2e3(_0x386c52,_0x514de1,_0x120b97,_0x2d8ac4){return _0x12dc71(_0x514de1,_0x514de1-0x17e,_0x120b97-0x2a9,_0x2d8ac4-0x1b3);}return _0x1b1589['questions'][_0x3dc2e3(0x7bc,_0x498e65._0x1b61a7,_0x498e65._0xfd5707,0x59d)]((_0x272579,_0x255b7b)=>({'id':'q'+_0x255b7b,'question':_0x272579[_0x1ad4f9(0x6b,0x1eb,0xf8,-0x9b)],'topic':_0x272579['topic'],'options':_0x272579[_0x3dc2e3(0x30e,0x393,0x3f0,0x230)],'multiSelect':_0x272579['multiSelect']}));}function createResult(_0x28522b,_0x21c018,_0x5309a8){const _0x1932d3={_0x3f2c9a:0x13b,_0x367171:0x4a,_0x5dd354:0x144,_0x18f3f6:0x204},_0x1d7dcf={_0x5a6246:0x142},_0x141e82={_0x4c159b:0x149},_0x3af598={'questionId':_0x28522b,'questionCount':_0x21c018,'answers':_0x5309a8};function _0x70b85d(_0x4b0ad3,_0x4b7da3,_0x4cf3b0,_0x382f62){return _0x8a95cf(_0x4b7da3-0xc,_0x4b0ad3,_0x4cf3b0-0x3d,_0x382f62-_0x141e82._0x4c159b);}function _0x4f831e(_0xf8de52,_0x2675f3,_0x245111,_0x2b98d9){return _0x8a95cf(_0x245111-0x15a,_0x2b98d9,_0x245111-0x1bf,_0x2b98d9-_0x1d7dcf._0x5a6246);}return createToolOutput(_0x70b85d(_0x1932d3._0x3f2c9a,_0x1932d3._0x367171,0x85,-0x6a)+JSON[_0x4f831e(0xdd,_0x1932d3._0x5dd354,_0x1932d3._0x18f3f6,0xd9)](_0x5309a8,null,0x2),_0x3af598);}function createAskUserTool(){const _0x8312f1={_0x47f1d1:0x2c7,_0x34ca5f:0x307,_0x2992ec:0x43e,_0x7fe053:0x3fc,_0x171f77:0xf1,_0x12252a:0x138,_0x586852:0x210,_0x21d14d:0x282,_0x39ea44:0x1aa,_0x3e153d:0x36d,_0x58d59e:0x1f3,_0x1d0da4:0x8f,_0x5ce422:0x167,_0x401ce7:0x2,_0x380693:0x1aa,_0x3f9340:0x216,_0x57ceb9:0x1d,_0x54d9ff:0x276,_0x7d2871:0x1e1,_0x61af74:0x34a,_0x329887:0x4e8,_0x245891:0x116,_0x489bed:0x2f,_0x490899:0x394,_0x2ffc74:0x36c,_0x2672b4:0x423,_0x36b0aa:0x4c3,_0x42c56a:0x370},_0x4f2e93={_0x466810:0x32e,_0x1ef514:0x2c7,_0x4215d9:0x22d,_0x47d713:0x27a,_0x3f8b93:0x236,_0x5da6d3:0x23,_0x139d69:0x135,_0x323e2c:0x3c,_0x1960f7:0x27e,_0x129f0f:0x3f7,_0x2dc95f:0x22d,_0x535295:0x2cf,_0x5657ca:0x29d,_0x5db996:0x1e0,_0x29a509:0x221,_0x14b78d:0x1f0,_0x23df4a:0x1cb,_0x5ab924:0x56,_0x1ae9dc:0x1e9,_0x1a1bf1:0x1d1,_0x3c5a5b:0x224,_0x265cf5:0x12e,_0x2007f4:0x103},_0xea3506={_0xc7a22:0x62,_0x7d89f0:0x45,_0x16c9f4:0x141},_0x2f8a2f={_0x2eefe8:0x83,_0x263087:0x16d,_0x5ba7f9:0x2b},_0x29cd75={_0x2bea8c:0xfd,_0x510e6d:0xeb};function _0x53624c(_0x18c753,_0xc4c3f1,_0x1c672d,_0x397e1a){return _0x12dc71(_0x1c672d,_0xc4c3f1-_0x29cd75._0x2bea8c,_0x18c753- -0x219,_0x397e1a-_0x29cd75._0x510e6d);}function _0x1913ea(_0x5167d7,_0x473bae,_0x17bbe8,_0x3309b7){return _0x12dc71(_0x473bae,_0x473bae-_0x2f8a2f._0x2eefe8,_0x3309b7-_0x2f8a2f._0x263087,_0x3309b7-_0x2f8a2f._0x5ba7f9);}return defineTool({'name':_0x53624c(-0x185,-0x50,0x19,-_0x8312f1._0x47f1d1),'permissionClass':'read','description':_0x1913ea(_0x8312f1._0x34ca5f,0x454,_0x8312f1._0x2992ec,_0x8312f1._0x7fe053),'inputSchema':{'type':_0x53624c(0x171,0x2e,0x195,_0x8312f1._0x171f77),'properties':{'questions':{'type':_0x53624c(_0x8312f1._0x12252a,0x1f1,_0x8312f1._0x586852,_0x8312f1._0x21d14d),'items':{'type':'object','properties':{'question':{'type':_0x53624c(-_0x8312f1._0x39ea44,-_0x8312f1._0x3e153d,-_0x8312f1._0x58d59e,-_0x8312f1._0x1d0da4)},'topic':{'type':_0x1913ea(0x2b7,0x8d,0x2cc,0x1dc)},'options':{'type':'array','items':{'type':_0x53624c(0x171,0x2b9,_0x8312f1._0x5ce422,_0x8312f1._0x401ce7),'properties':{'label':{'type':_0x53624c(-_0x8312f1._0x380693,-_0x8312f1._0x3f9340,-0x192,-0x369)},'description':{'type':'string'}},'required':[_0x53624c(0x58,0x7d,-_0x8312f1._0x57ceb9,0x117),_0x53624c(-0x14d,-_0x8312f1._0x54d9ff,-_0x8312f1._0x7d2871,-0x2bb)]}},'multiSelect':{'type':_0x1913ea(0x65a,0x56c,_0x8312f1._0x61af74,_0x8312f1._0x329887)}},'required':[_0x53624c(-_0x8312f1._0x245891,_0x8312f1._0x489bed,0x88,0x1c),'topic',_0x1913ea(0x319,0x157,0x130,0x2b4),_0x1913ea(_0x8312f1._0x490899,_0x8312f1._0x2ffc74,_0x8312f1._0x2672b4,0x407)]}},'answers':{'type':_0x1913ea(_0x8312f1._0x36b0aa,0x646,_0x8312f1._0x42c56a,0x4f7),'properties':{}}},'required':['questions']},async *'execute'(_0x503641,_0x2fb9ec){const _0x52537e={_0x24d69f:0x105},_0x45c984=_0x503641;validateInput(_0x45c984);function _0x475129(_0x48bf9c,_0x472ce2,_0x51460a,_0x4bd146){return _0x1913ea(_0x48bf9c-0x44,_0x4bd146,_0x51460a-_0x52537e._0x24d69f,_0x51460a- -0x297);}const _0x21aaf9=_0x2fb9ec['toolCallId']??createQuestionId();if(_0x45c984[_0x475129(0x31b,_0x4f2e93._0x466810,0x22d,0x2f6)]&&Object['keys'](_0x45c984[_0x475129(0x3c9,_0x4f2e93._0x1ef514,_0x4f2e93._0x4215d9,0x18f)])[_0x881894(_0x4f2e93._0x47d713,_0x4f2e93._0x3f8b93,_0x4f2e93._0x5da6d3,_0x4f2e93._0x139d69)]>0x0)return createResult(_0x21aaf9,_0x45c984[_0x475129(_0x4f2e93._0x323e2c,_0x4f2e93._0x1960f7,0x1d1,0x255)][_0x881894(0x116,0x2dd,0x24f,0x135)],_0x45c984[_0x475129(_0x4f2e93._0x129f0f,0x1e0,_0x4f2e93._0x2dc95f,_0x4f2e93._0x535295)]);function _0x881894(_0x4aa39e,_0x817fc6,_0x52ec42,_0x17559b){return _0x53624c(_0x17559b-_0xea3506._0xc7a22,_0x817fc6-_0xea3506._0x7d89f0,_0x817fc6,_0x17559b-_0xea3506._0x16c9f4);}if(!_0x2fb9ec[_0x475129(_0x4f2e93._0x5657ca,_0x4f2e93._0x5db996,0x258,0xde)])throw new ToolExecutionError('Context\x20does\x20not\x20support\x20user\x20questions');const _0x1b6181=buildQuestions(_0x45c984),_0x4f618d=await _0x2fb9ec[_0x881894(_0x4f2e93._0x29a509,0x2,_0x4f2e93._0x14b78d,_0x4f2e93._0x23df4a)]({'questionId':_0x21aaf9,'questions':_0x1b6181});yield createResult(_0x21aaf9,_0x45c984[_0x475129(_0x4f2e93._0x5ab924,_0x4f2e93._0x1ae9dc,_0x4f2e93._0x1a1bf1,_0x4f2e93._0x3c5a5b)][_0x475129(0x11f,_0x4f2e93._0x265cf5,0x1c2,_0x4f2e93._0x2007f4)],_0x4f618d);}});}import{randomUUID}from'crypto';import{StringDecoder}from'string_decoder';import{spawn as _0x473fc9}from'child_process';function errorMessage(_0x3f89e4){const _0x3d9ee7={_0x147de9:0x3a9,_0x30f520:0x5bb},_0x13cb46={_0x5c426d:0x450,_0x131015:0x18b};function _0x17db77(_0x380e6f,_0x3ca3b7,_0x441e46,_0x4c41f5){return _0x8a95cf(_0x4c41f5-_0x13cb46._0x5c426d,_0x380e6f,_0x441e46-_0x13cb46._0x131015,_0x4c41f5-0x73);}return _0x3f89e4 instanceof Error?_0x3f89e4[_0x17db77(_0x3d9ee7._0x147de9,0x490,_0x3d9ee7._0x30f520,0x52d)]:String(_0x3f89e4);}function isNotFound(_0x2812c3){const _0x455aa2={_0x48b4a7:0x59a,_0x55a62a:0x6c4,_0x5e55ce:0x3c5,_0x23b304:0x345,_0x1cc931:0x45a},_0x267b15={_0x5a7208:0x4f,_0x110ae9:0x210,_0x5f17d9:0x191},_0x173a8e={_0xc1f4b8:0xed};function _0x174423(_0x4e566a,_0x1b8816,_0x522e84,_0x4b7f9b){return _0x12dc71(_0x1b8816,_0x1b8816-0x87,_0x4b7f9b-0x171,_0x4b7f9b-_0x173a8e._0xc1f4b8);}function _0x52b15d(_0x34b570,_0x49c7fa,_0x532d95,_0x564bfd){return _0x12dc71(_0x564bfd,_0x49c7fa-_0x267b15._0x5a7208,_0x34b570-_0x267b15._0x110ae9,_0x564bfd-_0x267b15._0x5f17d9);}return typeof _0x2812c3===_0x52b15d(_0x455aa2._0x48b4a7,0x700,0x6d6,_0x455aa2._0x55a62a)&&_0x2812c3!==null&&_0x174423(0x29b,_0x455aa2._0x5e55ce,_0x455aa2._0x23b304,0x243)in _0x2812c3&&_0x2812c3['code']===_0x52b15d(0x32f,0x1f0,0x434,_0x455aa2._0x1cc931);}function isSafeProcessId(_0x3e3869){const _0xf4695d={_0x49919a:0x14a,_0x568598:0x1c4,_0x565332:0x92},_0x4d0bc0={_0x396c87:0x7d,_0x414d3c:0x13};function _0x236942(_0x2d9344,_0x4dfaa0,_0x4b3d6c,_0x16d558){return _0x8a95cf(_0x2d9344- -_0x4d0bc0._0x396c87,_0x4b3d6c,_0x4b3d6c-_0x4d0bc0._0x414d3c,_0x16d558-0x13d);}return _0x3e3869!==void 0x0&&Number[_0x236942(0x236,_0xf4695d._0x49919a,_0xf4695d._0x568598,_0xf4695d._0x565332)](_0x3e3869)&&_0x3e3869>0x1;}function createProcessTreeSignalAdapter(_0x11759f={}){const _0x416a22={_0x534d01:0x51e,_0x3dd06d:0x5bf,_0x2cbf22:0x267,_0x4b052d:0x3ff,_0x428ff9:0x573,_0x5be812:0x25f,_0xf664ef:0x54,_0x5ef35e:0x102,_0x5935b1:0x18c},_0xbcedf5={_0x3335f3:0x373,_0xda88c7:0x406,_0x3e2008:0x655,_0x54614e:0x470,_0x35dbc2:0x44e,_0x46a85e:0x2de,_0x132be6:0x2fc,_0x527589:0x4f7,_0x26dcbf:0x678,_0x7c0bec:0x4c0,_0x1258b0:0x336,_0x726b62:0x58b,_0x54e198:0x44b,_0x4e7219:0x521,_0x59fd40:0x3b8,_0x1556c8:0x3e6,_0x278fcd:0x3b9,_0x58d85b:0x2ca,_0xd529c9:0x2f1,_0x5a906a:0x213,_0xce7578:0x5e1,_0x32a082:0x615,_0x28e15e:0x6b5},_0x39faae={_0x56765f:0x77},_0x452f8e={_0x27ee27:0x153},_0x2cdee6={_0x33c688:0x425,_0xfb0648:0x1b8,_0x5b5b1d:0x11d};function _0x124bbe(_0x4b528f,_0x1052fd,_0x19f393,_0x5a2114){return _0x8a95cf(_0x5a2114-_0x2cdee6._0x33c688,_0x19f393,_0x19f393-_0x2cdee6._0xfb0648,_0x5a2114-_0x2cdee6._0x5b5b1d);}function _0x4de7c9(_0x1f1d0d,_0x194b21,_0x3f175e,_0xdff89){return _0x12dc71(_0x1f1d0d,_0x194b21-_0x452f8e._0x27ee27,_0xdff89-0x60,_0xdff89-0x13e);}const _0x33be7c=_0x11759f[_0x124bbe(0x56d,0x50f,_0x416a22._0x534d01,0x48f)]??process['platform'],_0x4f2e29=_0x11759f[_0x4de7c9(0x30e,_0x416a22._0x3dd06d,_0x416a22._0x2cbf22,_0x416a22._0x4b052d)]??process[_0x4de7c9(0x396,_0x416a22._0x428ff9,0x325,_0x416a22._0x4b052d)][_0x4de7c9(_0x416a22._0x5be812,0x75,_0x416a22._0xf664ef,_0x416a22._0x5ef35e)](process),_0x207512=_0x11759f[_0x4de7c9(-0x16,0x180,0x46,_0x416a22._0x5935b1)]??_0x473fc9;return{async 'signal'(_0x2d0c2,_0x5771b1){const _0xeee831={_0x5e9c5a:0x94,_0x2e276b:0x47,_0xd1f1a6:0x1d4,_0x489a1c:0x16a,_0x20c26d:0x7,_0x55d8c7:0x1d2,_0x23c7fc:0x12f,_0x1e6c2d:0x2c8,_0x59dbd5:0x168,_0x2283ce:0x23e,_0x1ce178:0x1be,_0x5019f4:0x15a,_0xff013b:0x3d,_0x50e205:0x1ff},_0x1b2150={_0x9c547b:0x626,_0x22fd23:0x4ec},_0x1428ed={_0x5ed483:0x49c},_0x4f7c22={_0x43cb6c:0xb1,_0x1cfe7a:0x19c};if(_0x33be7c!==_0x1884bc(0x230,_0xbcedf5._0x3335f3,_0xbcedf5._0xda88c7,0x220)){if(!isSafeProcessId(_0x2d0c2[_0x1884bc(_0xbcedf5._0x3e2008,0x583,_0xbcedf5._0x54614e,_0xbcedf5._0x35dbc2)]))return{'outcome':_0x2e8775(_0xbcedf5._0x46a85e,0x477,0x3d2,_0xbcedf5._0x132be6),'error':_0x2e8775(_0xbcedf5._0x527589,_0xbcedf5._0x26dcbf,_0xbcedf5._0x7c0bec,_0xbcedf5._0x1258b0)};try{return _0x4f2e29(-_0x2d0c2['processGroupId'],_0x5771b1===_0x1884bc(0x61f,_0xbcedf5._0x726b62,0x557,_0xbcedf5._0x54e198)?_0x2e8775(0x493,0x47c,_0xbcedf5._0x4e7219,0x48e):'SIGKILL'),{'outcome':_0x2e8775(_0xbcedf5._0x59fd40,_0xbcedf5._0x1556c8,_0xbcedf5._0x278fcd,0x24a)};}catch(_0x1cd46d){return isNotFound(_0x1cd46d)?{'outcome':_0x2e8775(_0xbcedf5._0x58d85b,_0xbcedf5._0xd529c9,0x376,0x368),'error':errorMessage(_0x1cd46d)}:{'outcome':'failed','error':errorMessage(_0x1cd46d)};}}if(!isSafeProcessId(_0x2d0c2['rootPid']))return{'outcome':_0x1884bc(0x2fe,0x2e8,_0xbcedf5._0x5a906a,0x2d8),'error':_0x2e8775(_0xbcedf5._0xce7578,0x53e,_0xbcedf5._0x32a082,_0xbcedf5._0x28e15e)};function _0x1884bc(_0x15121c,_0x545079,_0x41cf60,_0x7a6a1e){return _0x4de7c9(_0x7a6a1e,_0x545079-0x94,_0x41cf60-_0x39faae._0x56765f,_0x545079-0x1df);}function _0x2e8775(_0x37fb1b,_0x5af3c4,_0x2bd375,_0x517d39){return _0x4de7c9(_0x517d39,_0x5af3c4-_0x4f7c22._0x43cb6c,_0x2bd375-_0x4f7c22._0x1cfe7a,_0x37fb1b-0x1d5);}return new Promise(_0x4d5c61=>{const _0x188042={_0x4e520b:0xa1,_0x5dc58e:0x125,_0x3b004f:0x98,_0x508caf:0x6d,_0xa3365c:0x2ed},_0x31b9e8={_0xcd05a:0x1d1,_0x233673:0x11a,_0x31eab1:0x153},_0x29f0af={_0x2631bf:0x9};let _0x20fdd7=![];function _0x32b0e3(_0xeffc39,_0x52dd61,_0x3750a1,_0x231944){return _0x2e8775(_0x3750a1- -_0x1428ed._0x5ed483,_0x52dd61-0x144,_0x3750a1-0xd6,_0xeffc39);}function _0xf6bf95(_0x1956a6,_0x3c89c3,_0x36067f,_0x288a10){return _0x1884bc(_0x1956a6-0x11b,_0x3c89c3- -0x3b2,_0x36067f-_0x29f0af._0x2631bf,_0x36067f);}const _0x544f03=_0x4f75a7=>{if(_0x20fdd7)return;_0x20fdd7=!![],_0x4d5c61(_0x4f75a7);};let _0x57ea86;try{const _0xc8757b=['/PID',String(_0x2d0c2[_0x32b0e3(0x127,_0xeee831._0x5e9c5a,0x151,_0xeee831._0x2e276b)]),'/T'];if(_0x5771b1===_0x32b0e3(_0xeee831._0xd1f1a6,0x207,_0xeee831._0x489a1c,0x2d1))_0xc8757b[_0x32b0e3(0x66,-0x138,-_0xeee831._0x20c26d,-_0xeee831._0x55d8c7)]('/F');_0x57ea86=_0x207512(_0x32b0e3(_0xeee831._0x23c7fc,_0xeee831._0x1e6c2d,_0xeee831._0x59dbd5,0x1db),_0xc8757b,{'stdio':_0x32b0e3(-0x243,-0x51,-0x1e4,-_0xeee831._0x2283ce),'windowsHide':!![]});}catch(_0x43380a){_0x544f03({'outcome':_0x32b0e3(-0x1b1,-0x165,-_0xeee831._0x1ce178,-0x60),'error':errorMessage(_0x43380a)});return;}_0x57ea86['once'](_0xf6bf95(_0xeee831._0x5019f4,0x19a,_0xeee831._0xff013b,0x26),_0x2bbea7=>{const _0xa8502b={_0x2cf266:0x117,_0x2d4741:0x6aa},_0x4af081={_0x543a4e:0x174,_0x282e42:0x118};function _0x38f24d(_0x345274,_0x419f26,_0xa5c014,_0x1784ff){return _0xf6bf95(_0x345274-_0x4af081._0x543a4e,_0x345274-0x71,_0x419f26,_0x1784ff-_0x4af081._0x282e42);}function _0x2b07cc(_0x3f1329,_0x486b42,_0x2334f6,_0xb196b9){return _0x32b0e3(_0x3f1329,_0x486b42-_0xa8502b._0x2cf266,_0x486b42-_0xa8502b._0x2d4741,_0xb196b9-0x4b);}_0x544f03(isNotFound(_0x2bbea7)?{'outcome':_0x2b07cc(_0x1b2150._0x9c547b,0x4d8,0x64d,0x65d),'error':errorMessage(_0x2bbea7)}:{'outcome':_0x2b07cc(0x369,_0x1b2150._0x22fd23,0x55f,0x466),'error':errorMessage(_0x2bbea7)});}),_0x57ea86['once'](_0x32b0e3(_0xeee831._0x50e205,0x250,0xb7,0x273),_0x3a6190=>{const _0x16c11a={_0x13d082:0x25,_0x1d0788:0x32};function _0x18ecce(_0x165ee0,_0x3cbd8a,_0x2bb0fb,_0x426d08){return _0xf6bf95(_0x165ee0-_0x31b9e8._0xcd05a,_0x3cbd8a- -_0x31b9e8._0x233673,_0x426d08,_0x426d08-_0x31b9e8._0x31eab1);}function _0x29986d(_0x4ed634,_0x3797d2,_0x4d4c05,_0x2a0d3e){return _0xf6bf95(_0x4ed634-_0x16c11a._0x13d082,_0x3797d2-_0x16c11a._0x1d0788,_0x2a0d3e,_0x2a0d3e-0x1da);}_0x544f03(_0x3a6190===0x0?{'outcome':_0x29986d(-0x12,0x42,-_0x188042._0x4e520b,0x15f)}:{'outcome':_0x29986d(-_0x188042._0x5dc58e,-_0x188042._0x3b004f,-0x16d,_0x188042._0x508caf),'error':_0x29986d(_0x188042._0xa3365c,0x1d8,0x2a6,0x5d)+String(_0x3a6190)});});});}};}var ESC='\x1b',BEL='\x07',MAX_PROGRESS_LINE_CHARS=0x100000;function isDiscardedTextControl(_0x1f692b){const _0x3b14b0=_0x1f692b['codePointAt'](0x0)??0x0;return _0x3b14b0<0x20&&_0x1f692b!=='\x09'||_0x3b14b0>=0x7f&&_0x3b14b0<=0x9f||_0x3b14b0===0xa0||_0x3b14b0>=0x200b&&_0x3b14b0<=0x200f||_0x3b14b0>=0x2060&&_0x3b14b0<=0x2069||_0x3b14b0===0x23ce||_0x3b14b0===0x2424;}function createTerminalOutputNormalizer(){const _0x3283f7={_0x5d2303:0x487,_0x4c3f89:0x51c,_0x762452:0x614},_0x52a556={_0x183a5c:0x643,_0x31b1f1:0x2cf,_0x1daea6:0x571,_0x85f9de:0x1eb,_0x880ff5:0x1fd,_0x240a64:0x1e1,_0x4c96c6:0x365,_0x58c688:0x1ac,_0x386a84:0x224,_0x4f357c:0x378,_0x29e23f:0x38d,_0x139c45:0x4d8,_0x50eede:0x215,_0x588396:0x193,_0x2957ac:0x4bd,_0x334564:0x387,_0x3135c8:0x11a,_0x183aba:0xab,_0x240705:0x565,_0x3b3f1e:0x411,_0x1fdb8c:0x54a,_0xc0aabb:0x519,_0x5712d1:0x375,_0x3dfcca:0x407,_0xe6d79a:0x25b,_0x4f4b97:0xbc,_0x3555b2:0x509,_0x413ba1:0x6d6,_0x2ac183:0x607},_0x39ea9e={_0x3cf6f2:0x92},_0x5d8368={_0x462c9c:0x5},_0x53ca20={_0x476e82:0x12e,_0x376e96:0x52a,_0x13a570:0x4cf,_0x5b90dd:0x675,_0x1f1676:0x246,_0x2d5a91:0x226,_0x124d89:0x36f},_0x266096={_0x415e14:0x26c,_0x264d15:0x148,_0x5e38d7:0x125};let _0x10f528=_0x31cf24(_0x3283f7._0x5d2303,_0x3283f7._0x4c3f89,_0x3283f7._0x762452,0x3ab),_0xad5a50=![],_0x3738e1=![];function _0x31cf24(_0x2ced8c,_0x388698,_0x5f5859,_0x51857a){return _0x8a95cf(_0x388698-_0x266096._0x415e14,_0x51857a,_0x5f5859-_0x266096._0x264d15,_0x51857a-_0x266096._0x5e38d7);}let _0x1b2afc=[],_0x4c6af5=0x0,_0x7eeccc=![];const _0x283a9d=()=>{_0x1b2afc=[],_0x4c6af5=0x0;},_0x4690d3=_0x2b3036=>{const _0x191df0={_0x1d3343:0x13d},_0x2629fc={_0xcfeced:0x4d};function _0x180bf6(_0x40f5d2,_0x14f021,_0x5ee4fd,_0x27b0c0){return _0x31cf24(_0x40f5d2-0x68,_0x40f5d2- -0x224,_0x5ee4fd-_0x2629fc._0xcfeced,_0x27b0c0);}_0x1b2afc[_0x180bf6(0x261,0x201,_0x53ca20._0x476e82,0x2ad)](_0x2b3036);function _0x5742aa(_0x20adc4,_0x41eeb7,_0x4b5288,_0x2febfa){return _0x31cf24(_0x20adc4-0x19b,_0x41eeb7- -0x48,_0x4b5288-_0x191df0._0x1d3343,_0x4b5288);}_0x4c6af5+=_0x2b3036[_0x5742aa(_0x53ca20._0x376e96,0x4c9,_0x53ca20._0x13a570,_0x53ca20._0x5b90dd)];while(_0x4c6af5>MAX_PROGRESS_LINE_CHARS){const _0x30db6b=_0x1b2afc['shift']();if(_0x30db6b===void 0x0)break;_0x4c6af5-=_0x30db6b[_0x180bf6(0x2ed,_0x53ca20._0x1f1676,_0x53ca20._0x2d5a91,_0x53ca20._0x124d89)];}},_0x1056ea=_0x4876c7=>{function _0x3d77b4(_0xf00fd6,_0x53a11c,_0x390611,_0x587614){return _0x31cf24(_0xf00fd6-0x1e5,_0xf00fd6- -0x3fe,_0x390611-0x98,_0x587614);}const _0x589343=_0x1b2afc[_0x3d77b4(_0x5d8368._0x462c9c,-0x8,-0x175,0x65)]('')+(_0x4876c7?'\x0a':'');return _0x283a9d(),_0x589343;},_0x2cf556=_0x1da611=>{const _0x4a490f={_0x475efb:0x10e};if(_0x7eeccc)throw new Error('Terminal\x20output\x20normalizer\x20has\x20ended');let _0xa25d21='';function _0x116986(_0x5ea9db,_0x15558d,_0x44839c,_0x29199a){return _0x31cf24(_0x5ea9db-_0x39ea9e._0x3cf6f2,_0x15558d- -0x1b7,_0x44839c-0x64,_0x5ea9db);}function _0x2f0a63(_0x5a28be,_0x4f2eea,_0x48853b,_0x5b08f9){return _0x31cf24(_0x5a28be-0x1c9,_0x4f2eea- -0x8,_0x48853b-_0x4a490f._0x475efb,_0x48853b);}for(const _0x3b3dba of _0x1da611){if(_0x10f528===_0x2f0a63(_0x52a556._0x183a5c,0x484,_0x52a556._0x31b1f1,_0x52a556._0x1daea6)){const _0x4a9370=_0x3b3dba[_0x116986(0x469,0x340,_0x52a556._0x85f9de,_0x52a556._0x880ff5)](0x0)??0x0;if(_0x4a9370>=0x40&&_0x4a9370<=0x7e)_0x10f528=_0x116986(_0x52a556._0x240a64,_0x52a556._0x4c96c6,_0x52a556._0x58c688,0x52f);continue;}if(_0x10f528===_0x2f0a63(0x3cd,0x3c4,0x32f,_0x52a556._0x386a84)||_0x10f528===_0x116986(0x37f,0x411,0x376,0x42f)){if(_0xad5a50){_0x3b3dba==='\x5c'?(_0x10f528=_0x2f0a63(_0x52a556._0x4f357c,0x514,_0x52a556._0x29e23f,_0x52a556._0x139c45),_0xad5a50=![]):_0xad5a50=_0x3b3dba===ESC;continue;}if(_0x3b3dba===ESC)_0xad5a50=!![];else _0x10f528===_0x116986(0x251,_0x52a556._0x50eede,_0x52a556._0x588396,0x2c5)&&_0x3b3dba===BEL&&(_0x10f528=_0x116986(_0x52a556._0x2957ac,_0x52a556._0x4c96c6,0x363,_0x52a556._0x334564));continue;}if(_0x10f528===_0x116986(_0x52a556._0x3135c8,_0x52a556._0x183aba,0x276,-0xd7)){if(_0x3b3dba==='[')_0x10f528='csi';else{if(_0x3b3dba===']')_0x10f528=_0x2f0a63(0x39f,0x3c4,_0x52a556._0x240705,0x42d),_0xad5a50=![];else _0x3b3dba==='P'||_0x3b3dba==='_'||_0x3b3dba==='^'?(_0x10f528=_0x116986(0x4ce,_0x52a556._0x3b3f1e,_0x52a556._0x1fdb8c,0x376),_0xad5a50=![]):_0x10f528=_0x2f0a63(_0x52a556._0xc0aabb,0x514,_0x52a556._0x5712d1,_0x52a556._0x3dfcca);}continue;}if(_0x3738e1){_0x3738e1=![];if(_0x3b3dba==='\x0a'){_0xa25d21+=_0x1056ea(!![]);continue;}_0x283a9d();}if(_0x3b3dba===ESC)_0x10f528='escape';else{if(_0x3b3dba==='\x0d')_0x3738e1=!![];else{if(_0x3b3dba==='\x0a')_0xa25d21+=_0x1056ea(!![]);else{if(_0x3b3dba==='\x08'){const _0x259ff9=_0x1b2afc[_0x2f0a63(0x2e2,_0x52a556._0xe6d79a,_0x52a556._0x4f4b97,0x228)]();if(_0x259ff9!==void 0x0)_0x4c6af5-=_0x259ff9[_0x2f0a63(0x46b,_0x52a556._0x3555b2,_0x52a556._0x413ba1,_0x52a556._0x2ac183)];}else!isDiscardedTextControl(_0x3b3dba)&&_0x4690d3(_0x3b3dba);}}}}return _0xa25d21;};return{'write':_0x2cf556,'end'(){if(_0x7eeccc)return'';return _0x7eeccc=!![],_0x3738e1=![],_0x10f528='text',_0xad5a50=![],_0x1056ea(![]);}};}var BackgroundProcessCleanupError=class extends Error{constructor(_0x31d4bb){const _0x49c8da={_0x204305:0x548,_0x1b38eb:0x5c0,_0x12029e:0x3ff,_0x2b8c8c:0x2c9,_0x2c0005:0xcc,_0x6555f2:0x34},_0x23c52f={_0x972b0c:0x17d,_0x3af7d5:0x122},_0xad4700={_0x537595:0x24d,_0x144186:0x9c};function _0x40dd35(_0x19a42f,_0x20db8c,_0x23a0f4,_0x42cf1b){return _0x8a95cf(_0x19a42f-_0xad4700._0x537595,_0x23a0f4,_0x23a0f4-0x56,_0x42cf1b-_0xad4700._0x144186);}function _0x4b7b29(_0x3758c4,_0x503f68,_0x200b1d,_0x52779f){return _0x8a95cf(_0x52779f- -0x16,_0x503f68,_0x200b1d-_0x23c52f._0x972b0c,_0x52779f-_0x23c52f._0x3af7d5);}super(_0x4b7b29(0x462,0x2a1,0x2e8,0x2fd)),this[_0x40dd35(_0x49c8da._0x204305,0x67a,_0x49c8da._0x1b38eb,0x4f4)]=_0x31d4bb,this[_0x40dd35(_0x49c8da._0x12029e,_0x49c8da._0x2b8c8c,0x3d0,0x5b6)]=_0x4b7b29(-0x11e,0xba,_0x49c8da._0x2c0005,_0x49c8da._0x6555f2);}},TERMINATION_WINDOW_MS=0x7d0;function isTerminalStatus(_0x28be2b){const _0x4ea54d={_0x5d19fe:0x1db,_0x2a0012:0x51d,_0x31e49e:0x3a7,_0x2cca55:0x908,_0x7dfd68:0x8b3},_0x312a1e={_0x45b27e:0x1cb,_0x5b2234:0x1c0},_0x1ba624={_0x2a00a1:0x4c1,_0x1b6793:0xe5};function _0x5381e1(_0x1e62ff,_0x4d3853,_0x403e2b,_0xe72b07){return _0x12dc71(_0x4d3853,_0x4d3853-0x46,_0x403e2b-_0x1ba624._0x2a00a1,_0xe72b07-_0x1ba624._0x1b6793);}function _0xb148ce(_0x25b301,_0xe6b8cf,_0x5defae,_0x256bda){return _0x8a95cf(_0x256bda-0x281,_0x5defae,_0x5defae-_0x312a1e._0x45b27e,_0x256bda-_0x312a1e._0x5b2234);}return _0x28be2b===_0xb148ce(0x299,0x463,_0x4ea54d._0x5d19fe,0x2b3)||_0x28be2b===_0x5381e1(0x647,0x4aa,_0x4ea54d._0x2a0012,_0x4ea54d._0x31e49e)||_0x28be2b===_0x5381e1(0x7b2,_0x4ea54d._0x2cca55,0x7ce,_0x4ea54d._0x7dfd68);}var BackgroundProcessRegistry=class{[_0x8a95cf(0x47,0xb6,0x15,-0x9d)]=new Map();['reservations']=new Map();[_0x12dc71(0x28d,0x14d,0x1ca,0xc)];[_0x8a95cf(0x1bd,0x293,0x343,0x285)];[_0x8a95cf(0x156,0x14,0x282,0x56)];[_0x12dc71(0xb0,0xa3,0xb1,-0x10a)];[_0x12dc71(0xd0,-0x27,0xbe,0x1b2)];[_0x12dc71(-0x9,-0x79,0x4c,0xbf)]=0x0;constructor(_0x202e5f={}){const _0x4f6372={_0x1bc3ea:0x4e8,_0x2cb810:0x371,_0x2fcde3:0x29a,_0x306244:0x2fd,_0x1eea6d:0x371,_0x4e7679:0x36e,_0x50bbd1:0x409,_0x25404c:0x34a,_0x5d1d2:0x1d0,_0xc3e10f:0x344,_0x22fc07:0x2eb,_0x3bb34c:0x3a9,_0x49a620:0x2fd,_0x42c8b8:0x265,_0x8d9ece:0x349,_0x5234ec:0x15b,_0x5a9784:0x1a1},_0x34e029={_0x6af56:0xd4,_0x54fad8:0x1a7},_0x356182={_0x55bf6d:0x1ae,_0x31b1d7:0xb6};this[_0x40f63d(_0x4f6372._0x1bc3ea,0x2d2,_0x4f6372._0x2cb810,_0x4f6372._0x2fcde3)]=_0x202e5f[_0x40f63d(0x522,_0x4f6372._0x306244,_0x4f6372._0x1eea6d,_0x4f6372._0x4e7679)]??0xa,this['maxEntries']=_0x202e5f[_0x40f63d(0x20b,0x40a,0x3ab,_0x4f6372._0x50bbd1)]??0x40,this[_0x20f5c9(0x293,_0x4f6372._0x25404c,0x439,0x101)]=_0x202e5f[_0x40f63d(_0x4f6372._0x5d1d2,0x2fa,_0x4f6372._0xc3e10f,0x254)]??0x100000;function _0x20f5c9(_0x24ea6b,_0x5bad24,_0x1630c6,_0x127754){return _0x8a95cf(_0x24ea6b-0x13d,_0x127754,_0x1630c6-_0x356182._0x55bf6d,_0x127754-_0x356182._0x31b1d7);}function _0x40f63d(_0x4f6a2b,_0x3a56bb,_0x2bc1b8,_0x20fdea){return _0x12dc71(_0x20fdea,_0x3a56bb-_0x34e029._0x6af56,_0x2bc1b8-_0x34e029._0x54fad8,_0x20fdea-0x85);}this['platform']=_0x202e5f['platform']??process[_0x20f5c9(0x1a7,0x25d,_0x4f6372._0x22fc07,-0x3)],this['signalAdapter']=_0x202e5f[_0x40f63d(_0x4f6372._0x3bb34c,_0x4f6372._0x49a620,_0x4f6372._0x42c8b8,0x15e)]??createProcessTreeSignalAdapter({'platform':this[_0x20f5c9(0x1a7,_0x4f6372._0x8d9ece,_0x4f6372._0x5234ec,_0x4f6372._0x5a9784)]});}[_0x8a95cf(0x1ae,0x12a,0x241,0x130)](){const _0x3a665c={_0x2fcd1a:0x23e,_0xf5d9b0:0x1bb,_0x34148e:0x84,_0x4da45a:0x4f6,_0x59b513:0x596,_0x3a231c:0x465,_0x1da7e6:0xe6,_0x49dfdd:0x1ae,_0x31d9ff:0x6a,_0x4d9885:0x46,_0x22bb5c:0x72e,_0x1768c8:0x7df,_0x43dbaa:0x916,_0x55c3fa:0x75f,_0x46736c:0x1bc,_0x4978a5:0xca,_0x12e506:0xe3,_0xd6d2ba:0x1db,_0x415953:0xbe,_0x1efea7:0x145,_0x6a4cc3:0x7b5,_0x555c85:0x885},_0x548360={_0x8acd1b:0x1bd},_0x3e67e2={_0x49e0d7:0x2cc};function _0x3c2ddb(_0xa4d8df,_0x3fc5eb,_0x5865df,_0x2f5dc5){return _0x12dc71(_0x3fc5eb,_0x3fc5eb-0x193,_0x5865df- -_0x3e67e2._0x49e0d7,_0x2f5dc5-0x13c);}function _0x3d0d03(_0x208cfb,_0x20e784,_0x599b89,_0x58b30a){return _0x8a95cf(_0x208cfb-0x4a1,_0x58b30a,_0x599b89-_0x548360._0x8acd1b,_0x58b30a-0xc7);}const _0x4e8043=[...this[_0x3c2ddb(-0xce,-0x3c0,-_0x3a665c._0x2fcd1a,-_0x3a665c._0xf5d9b0)][_0x3c2ddb(-_0x3a665c._0x34148e,-0x318,-0x172,-0xcc)]()][_0x3d0d03(_0x3a665c._0x4da45a,_0x3a665c._0x59b513,_0x3a665c._0x3a231c,0x6bf)](_0x24ce00=>!_0x24ce00['terminalSettled']);if(_0x4e8043['length']+this['reservations'][_0x3c2ddb(-_0x3a665c._0x1da7e6,-_0x3a665c._0x49dfdd,-_0x3a665c._0x31d9ff,-_0x3a665c._0x4d9885)]>=this[_0x3d0d03(0x624,0x6b7,_0x3a665c._0x22bb5c,0x46a)])throw new ToolExecutionError(_0x3d0d03(0x777,_0x3a665c._0x1768c8,_0x3a665c._0x43dbaa,_0x3a665c._0x55c3fa)+this[_0x3c2ddb(-_0x3a665c._0x46736c,-0x78,-0x102,_0x3a665c._0x4978a5)]+_0x3c2ddb(-0x3b,-0x16f,-_0x3a665c._0x12e506,-_0x3a665c._0xd6d2ba),{'running':this[_0x3c2ddb(0x2a,_0x3a665c._0x415953,-0x102,-_0x3a665c._0x1efea7)]});const _0x48835f=Object[_0x3d0d03(_0x3a665c._0x6a4cc3,0x8d6,_0x3a665c._0x555c85,0x771)]({'id':randomUUID()});return this['reservations']['set'](_0x48835f['id'],_0x48835f),_0x48835f;}[_0x12dc71(0x42,0x1eb,0x167,0x2fa)](_0x1d2d29){const _0xd7e6ad={_0x20d4f4:0x540,_0x548107:0x15c,_0x294706:0x28c,_0x55760a:0x182},_0x197dbd={_0x4b35e2:0x11b};function _0x4fd9fa(_0x3ff0b1,_0x5f02e3,_0x230565,_0x1961c2){return _0x8a95cf(_0x230565- -0x45,_0x5f02e3,_0x230565-0x1b7,_0x1961c2-_0x197dbd._0x4b35e2);}function _0x2c6a89(_0x5d8185,_0x4799fa,_0x1ce5fb,_0xeadce6){return _0x12dc71(_0x4799fa,_0x4799fa-0x29,_0xeadce6-0xf3,_0xeadce6-0x12f);}this['reservations'][_0x2c6a89(0x5cb,_0xd7e6ad._0x20d4f4,0x2b5,0x427)](_0x1d2d29['id'])===_0x1d2d29&&this[_0x2c6a89(0x23e,0x2d1,-0xc,_0xd7e6ad._0x548107)][_0x2c6a89(_0xd7e6ad._0x294706,_0xd7e6ad._0x55760a,0x1dd,0x231)](_0x1d2d29['id']);}[_0x12dc71(0x1d4,0x1df,0x12f,0x14d)](_0x2483a6,_0x39f925){const _0x20253b={_0x24ec20:0x494,_0x3f3fd8:0x5b5,_0xd7c444:0x6dc,_0x26cd89:0x183,_0x22b800:0x18b,_0x2ec097:0x30,_0x338059:0x182,_0x132e1c:0x3ac,_0xd0ef9b:0x257,_0x11cb7c:0x18c,_0x3a1926:0x2d,_0x430990:0x165,_0x2e918f:0x413,_0x4fe2b5:0x2dc,_0x3ed722:0x4a8,_0x1ba3fe:0x568,_0x2bbeb1:0x27d,_0x20a01d:0x304,_0x2dcdf5:0x4c6,_0x1f0448:0x3ae,_0x47a129:0x57c,_0x5caec0:0x651,_0x18ca91:0x5c5,_0x3c2597:0x6b9,_0x90b0c3:0x155,_0x3734d6:0x2fe,_0x4c313d:0x221,_0x182fff:0x476,_0x1e30a9:0x2b4,_0xf6c72e:0x320,_0x4731f6:0x610,_0x22e697:0x63d,_0x109986:0x4e0,_0x16975e:0x42a,_0x55f1f0:0x2a9,_0x460d1a:0x4c4,_0x4ff229:0x4ac,_0xd49b3:0x22b,_0x532841:0x2b4,_0x62ca73:0x325,_0x1c5e59:0x334,_0x54d284:0x1e0,_0x179caf:0x41e,_0x5cc2f5:0x4c7,_0x432203:0x18f,_0x370999:0x3d7,_0x378a22:0x47d,_0x5da8bf:0x5cb,_0x1fa0a7:0x197,_0x1748cc:0x1bf,_0x3f4dc6:0x199,_0x5d7ade:0x1a7,_0x351fdf:0x382},_0x199d8e={_0xad8b24:0x133,_0x1611eb:0x119,_0x15acdb:0xb1},_0x49e5a6={_0x5ca18b:0x196,_0x57bec5:0x322,_0xad6a30:0x7b,_0x512307:0x3fe,_0x23bf01:0x4be,_0x46f1be:0x2b5,_0x381ada:0x499,_0x303c30:0x44a,_0xca5e11:0x5d7,_0x229248:0xa1,_0x9c8153:0x11,_0x5b2682:0x10c,_0x70fa35:0x1c2},_0x117838={_0x226052:0x11c},_0x5d718c={_0x1d159f:0x2b1,_0x5e794a:0x2ef,_0x1ffe0:0x530,_0x2f6b52:0x557,_0x2e8bc2:0x5d1},_0x4274ed={_0x44a337:0x67,_0x9d5b3e:0xc2,_0x34d5d7:0x123,_0x2efb70:0x8be,_0x1a8091:0x77e,_0x446cdc:0x693,_0x5c8803:0x462,_0x41c28a:0x485,_0x87340e:0x307,_0x432951:0x3fe},_0x14ee2f={_0x2249e5:0x96,_0x3cb382:0x30b},_0x3c9d31={_0x1b4a2f:0x266,_0x62923d:0x1dd,_0xa249ba:0x12c,_0xcd4097:0x713,_0x3a832a:0x5c5},_0x4c81b7={_0x1a30cb:0x7d,_0x53baf5:0x3d};function _0x5845d7(_0x8fe8fc,_0x76ddbf,_0x1847a9,_0x3e5060){return _0x12dc71(_0x1847a9,_0x76ddbf-0xd7,_0x76ddbf-0x281,_0x3e5060-0xf4);}if(this[_0x5845d7(_0x20253b._0x24ec20,0x2ea,0x2d7,0x420)][_0x5845d7(0x5cb,_0x20253b._0x3f3fd8,0x6ae,_0x20253b._0xd7c444)](_0x2483a6['id'])!==_0x2483a6)throw new ToolExecutionError(_0x2ec2db(0xd5,0x24e,_0x20253b._0x26cd89,_0x20253b._0x22b800),{'reservationId':_0x2483a6['id']});this[_0x2ec2db(_0x20253b._0x2ec097,0x33a,0x18a,_0x20253b._0x338059)][_0x2ec2db(_0x20253b._0x132e1c,0x1bc,0x3af,_0x20253b._0xd0ef9b)](_0x2483a6['id']);let _0x321eaa;const _0x23a8dc=new Promise(_0x2c314d=>{_0x321eaa=_0x2c314d;}),_0x38d7b3='bg-'+ ++this[_0x2ec2db(_0x20253b._0x11cb7c,-0x4e,_0x20253b._0x3a1926,_0x20253b._0x430990)]+'-'+randomUUID()[_0x5845d7(_0x20253b._0x2e918f,_0x20253b._0x4fe2b5,0x292,0x1f4)](0x0,0x8),_0x351e17={'shellId':_0x38d7b3,'command':_0x39f925[_0x5845d7(0x6a3,0x4f3,_0x20253b._0x3ed722,0x652)],'cwd':_0x39f925['cwd'],'pid':_0x39f925[_0x5845d7(_0x20253b._0x1ba3fe,0x41c,_0x20253b._0x2bbeb1,_0x20253b._0x20a01d)][_0x5845d7(_0x20253b._0x2dcdf5,0x3eb,_0x20253b._0x1f0448,_0x20253b._0x47a129)],'processGroupId':_0x39f925[_0x5845d7(_0x20253b._0x5caec0,_0x20253b._0x18ca91,0x686,_0x20253b._0x3c2597)],'status':_0x2ec2db(0x18d,0x250,_0x20253b._0x90b0c3,_0x20253b._0x3734d6),'exitCode':null,'signal':null,'startedAt':Date['now'](),'error':null,'gracefulRequested':![],'forceRequested':![],'child':_0x39f925[_0x2ec2db(_0x20253b._0x4c313d,0x415,_0x20253b._0x182fff,_0x20253b._0x1e30a9)],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder(_0x2ec2db(_0x20253b._0xf6c72e,_0x20253b._0x4731f6,_0x20253b._0x22e697,_0x20253b._0x109986)),'stderrDecoder':new StringDecoder('utf8'),'stdoutNormalizer':createTerminalOutputNormalizer(),'stderrNormalizer':createTerminalOutputNormalizer(),'stripAnsi':_0x39f925['stripAnsi'],'killRequested':![],'processExited':![],'streamsFlushed':![],'terminalSettled':![],'terminalPromise':_0x23a8dc,'resolveTerminal':_0x321eaa,'terminationSettled':![]};this['entries'][_0x5845d7(0x3a8,_0x20253b._0x16975e,0x506,_0x20253b._0x55f1f0)](_0x38d7b3,_0x351e17);try{_0x39f925['child'][_0x5845d7(0x308,_0x20253b._0x460d1a,0x502,0x4e1)]?.['on'](_0x2ec2db(_0x20253b._0x4ff229,0x5f4,0x430,0x47d),_0x18bcd6=>{const _0x1869eb={_0x4e0b9c:0x10a};function _0xd1eb20(_0x513831,_0x160bd7,_0x6e069b,_0x382b34){return _0x2ec2db(_0x513831-_0x4c81b7._0x1a30cb,_0x160bd7-_0x4c81b7._0x53baf5,_0x6e069b,_0x382b34- -0xaf);}function _0x26b206(_0x18fa8f,_0x2a1210,_0x295d56,_0x441586){return _0x2ec2db(_0x18fa8f-0x112,_0x2a1210-_0x1869eb._0x4e0b9c,_0x295d56,_0x441586-0x34a);}this['appendDecoded'](_0x351e17,_0x351e17[_0xd1eb20(_0x3c9d31._0x1b4a2f,_0x3c9d31._0x62923d,0xab,_0x3c9d31._0xa249ba)],_0x351e17[_0x26b206(0x570,0x685,_0x3c9d31._0xcd4097,_0x3c9d31._0x3a832a)],_0x18bcd6);}),_0x39f925[_0x2ec2db(_0x20253b._0xd49b3,0x15b,0x233,_0x20253b._0x532841)]['stderr']?.['on']('data',_0x48531a=>{function _0x3de2ae(_0x3aa08e,_0x5abf45,_0x542d0c,_0x2b24f5){return _0x5845d7(_0x3aa08e-0x3d,_0x542d0c- -0x277,_0x2b24f5,_0x2b24f5-0x1d6);}function _0x4c7242(_0x50f420,_0x527d2b,_0x51ea52,_0x137749){return _0x2ec2db(_0x50f420-_0x14ee2f._0x2249e5,_0x527d2b-0xd2,_0x50f420,_0x51ea52-_0x14ee2f._0x3cb382);}this[_0x3de2ae(-_0x4274ed._0x44a337,0x28,_0x4274ed._0x9d5b3e,_0x4274ed._0x34d5d7)](_0x351e17,_0x351e17[_0x4c7242(_0x4274ed._0x2efb70,_0x4274ed._0x1a8091,0x79d,_0x4274ed._0x446cdc)],_0x351e17[_0x3de2ae(_0x4274ed._0x5c8803,_0x4274ed._0x41c28a,_0x4274ed._0x87340e,_0x4274ed._0x432951)],_0x48531a);}),_0x39f925['child'][_0x5845d7(_0x20253b._0x62ca73,_0x20253b._0x1c5e59,0x419,0x301)](_0x2ec2db(0x267,_0x20253b._0x54d284,0x325,0x229),(_0x23bf22,_0x53cc52)=>{const _0x427eba={_0x56b2ca:0x176,_0x2d9209:0x1be,_0x45bed3:0x190};_0x351e17['processExited']=!![];function _0x4caf2b(_0x3d959f,_0x51c60b,_0x528c35,_0x4c8344){return _0x2ec2db(_0x3d959f-_0x427eba._0x56b2ca,_0x51c60b-_0x427eba._0x2d9209,_0x4c8344,_0x3d959f-_0x427eba._0x45bed3);}_0x351e17['exitCode']=_0x23bf22,_0x351e17[_0x4caf2b(0x57f,0x481,0x44a,0x72c)]=_0x53cc52;}),_0x39f925['child']['once']('error',_0x55ea11=>{const _0x2d1ff3={_0x185756:0x49};function _0x5b488d(_0x4fc818,_0x4eaea9,_0x14f7b4,_0x11f21a){return _0x2ec2db(_0x4fc818-0x1d8,_0x4eaea9-0x11,_0x14f7b4,_0x11f21a- -0x137);}_0x351e17[_0x5b488d(_0x5d718c._0x1d159f,0x3d3,0x149,_0x5d718c._0x5e794a)]=_0x55ea11[_0x44b862(_0x5d718c._0x1ffe0,0x2f4,_0x5d718c._0x2f6b52,0x3ee)];function _0x44b862(_0xc92c03,_0x1d6263,_0x59e5b4,_0x57002b){return _0x5845d7(_0xc92c03-0x45,_0x57002b-_0x2d1ff3._0x185756,_0x59e5b4,_0x57002b-0x73);}_0x351e17[_0x44b862(0x47f,0x5ee,0x59b,_0x5d718c._0x2e8bc2)]='error';}),_0x39f925[_0x2ec2db(0xff,_0x20253b._0x179caf,0xf1,0x2b4)][_0x5845d7(_0x20253b._0x5cc2f5,0x334,0x44d,_0x20253b._0x432203)](_0x2ec2db(_0x20253b._0x370999,_0x20253b._0x378a22,_0x20253b._0x5da8bf,0x437),(_0x5d1672,_0x90c211)=>{const _0x1c383f={_0x17480e:0x1af,_0x5ba82c:0x18a};_0x351e17[_0x4eb4d9(_0x49e5a6._0x5ca18b,_0x49e5a6._0x57bec5,0x36,_0x49e5a6._0xad6a30)]=_0x5d1672,_0x351e17['signal']=_0x90c211,_0x351e17['child']=null;function _0x4eb4d9(_0x7054bd,_0x16380e,_0x4d8356,_0x1e13b2){return _0x5845d7(_0x7054bd-_0x1c383f._0x17480e,_0x7054bd- -_0x1c383f._0x5ba82c,_0x1e13b2,_0x1e13b2-0x1a5);}_0x351e17['status']!==_0x4eb4d9(0x404,0x24f,0x44a,0x584)&&(_0x351e17[_0x4eb4d9(_0x49e5a6._0x512307,0x56f,_0x49e5a6._0x23bf01,_0x49e5a6._0x46f1be)]=_0x351e17[_0x4eb4d9(_0x49e5a6._0x381ada,0x5f5,_0x49e5a6._0x303c30,_0x49e5a6._0xca5e11)]?'killed':'exited');function _0x3866e6(_0x1fbc2e,_0x2f0b85,_0x1ee0bc,_0xacb838){return _0x2ec2db(_0x1fbc2e-_0x117838._0x226052,_0x2f0b85-0x5c,_0x1ee0bc,_0x2f0b85- -0x2e8);}this[_0x3866e6(_0x49e5a6._0x229248,_0x49e5a6._0x9c8153,_0x49e5a6._0x5b2682,_0x49e5a6._0x70fa35)](_0x351e17);});}catch(_0x59635c){this[_0x2ec2db(_0x20253b._0x1fa0a7,_0x20253b._0x1748cc,_0x20253b._0x3f4dc6,_0x20253b._0x5d7ade)]['delete'](_0x38d7b3);throw _0x59635c;}this[_0x5845d7(0x3fc,0x2fe,_0x20253b._0x351fdf,0x42c)]();function _0x2ec2db(_0x289e68,_0xf22301,_0x17a7b1,_0x7fa90b){return _0x12dc71(_0x17a7b1,_0xf22301-_0x199d8e._0xad8b24,_0x7fa90b-_0x199d8e._0x1611eb,_0x7fa90b-_0x199d8e._0x15acdb);}return _0x351e17;}['spawn'](_0x9c4a5d){const _0x42f722={_0x5b815d:0x1,_0x44437f:0x170,_0xda5a53:0x424,_0x5ee7db:0x45d,_0x5096e0:0x8c,_0x56f8b1:0x8f,_0x1a5799:0x21f,_0xa3ee2f:0x23f},_0x3108d1={_0x350c62:0x157,_0x34c7e0:0x0},_0x2a23dc=this[_0xde6d9(-_0x42f722._0x5b815d,_0x42f722._0x44437f,-0x12e,-0xe)]();function _0xde6d9(_0x3913bf,_0x342b18,_0x1cae36,_0x488e3b){return _0x12dc71(_0x342b18,_0x342b18-0x1e1,_0x3913bf- -0x1f6,_0x488e3b-0x1af);}function _0x4af348(_0x147e99,_0x47beb8,_0x34b7fe,_0xe1d35c){return _0x8a95cf(_0x34b7fe-0x370,_0x47beb8,_0x34b7fe-_0x3108d1._0x350c62,_0xe1d35c-_0x3108d1._0x34c7e0);}try{return this['attach'](_0x2a23dc,{..._0x9c4a5d,...this['platform']===_0x4af348(0x62a,_0x42f722._0xda5a53,_0x42f722._0x5ee7db,0x5fe)?{}:{'processGroupId':_0x9c4a5d['child'][_0xde6d9(-_0x42f722._0x5096e0,-0x29,0x6c,0x127)]}});}catch(_0x9a2278){this[_0xde6d9(-_0x42f722._0x56f8b1,-_0x42f722._0x1a5799,-_0x42f722._0xa3ee2f,0x129)](_0x2a23dc);throw _0x9a2278;}}[_0x12dc71(-0x5b,-0x5c,0x71,-0x114)](_0x1df326,_0x37e83d){const _0x53a51a={_0x140a77:0x17,_0xb8e53:0xf7,_0x3d6308:0x16d,_0x442bf5:0x1ff,_0x43e334:0xd3,_0x1e000e:0x17d,_0xd48657:0x8d,_0x404fca:0x190,_0x13dc04:0x242,_0x20dd67:0x108,_0x45fdcd:0x24e,_0x15e91d:0xc9,_0x4e846a:0x1c2,_0x5b41db:0xa2,_0x13e754:0xfc,_0x2fa311:0x92,_0x3a8a12:0x11e,_0x464188:0x1e3,_0x187f05:0xc0,_0x520d62:0xc1,_0x26f87e:0x1b,_0x287372:0x153,_0x138fb1:0x24c,_0x124bc2:0x8e,_0x11da58:0x71,_0x766ec2:0x45,_0x449201:0x59,_0x24e52e:0x3c6,_0x4266c9:0x231,_0x409d7a:0x394,_0x3c0678:0x41a,_0x22d9d1:0x340,_0x12e6f2:0x183,_0x4d23a8:0x3fa,_0xc308e5:0x1c4,_0x32e626:0x1d8,_0x1f266a:0x297,_0x3b1dcf:0x421,_0x47fc48:0x15b,_0x24857b:0x27b,_0x16d363:0x4ee,_0x14b3ea:0x10f,_0x3679e3:0x2fb,_0x498c01:0x6c,_0x46c67a:0x66},_0x4ec507={_0x572736:0x191,_0x1234e7:0x133},_0x8a74bf=this[_0x305f90(_0x53a51a._0x140a77,_0x53a51a._0xb8e53,_0x53a51a._0x3d6308,_0x53a51a._0x442bf5)][_0x16f957(-_0x53a51a._0x43e334,_0x53a51a._0x1e000e,_0x53a51a._0xd48657,_0x53a51a._0x404fca)](_0x1df326);if(!_0x8a74bf)throw new ToolExecutionError(_0x305f90(0x1e5,0xc0,_0x53a51a._0x13dc04,_0x53a51a._0x20dd67)+_0x1df326,{'shellId':_0x1df326});const _0x76054b=_0x8a74bf[_0x305f90(0xb8,0x244,0x1dd,0xb7)][_0x16f957(-_0x53a51a._0x45fdcd,-0xcc,-_0x53a51a._0x15e91d,-0x1e7)](''),_0x47bb23=Math['max'](_0x8a74bf[_0x16f957(-_0x53a51a._0x4e846a,-0x246,-0x231,-_0x53a51a._0x5b41db)],_0x8a74bf[_0x16f957(0xc4,-_0x53a51a._0x13e754,_0x53a51a._0x2fa311,_0x53a51a._0x3a8a12)]);function _0x16f957(_0x211a61,_0x12e497,_0xf31dac,_0x58f82f){return _0x8a95cf(_0xf31dac- -0x260,_0x58f82f,_0xf31dac-0x1c7,_0x58f82f-0x12e);}const _0x14a900=Math[_0x305f90(0xbb,0x23a,_0x53a51a._0x464188,0x337)](0x0,_0x8a74bf[_0x16f957(_0x53a51a._0x187f05,-_0x53a51a._0x520d62,_0x53a51a._0x2fa311,_0x53a51a._0x26f87e)]-_0x8a74bf['readCursor']);function _0x305f90(_0x24fb4e,_0x3590b4,_0x2ad3a0,_0x39fa21){return _0x8a95cf(_0x2ad3a0-0x126,_0x39fa21,_0x2ad3a0-_0x4ec507._0x572736,_0x39fa21-_0x4ec507._0x1234e7);}const _0x311970=_0x76054b[_0x16f957(-0x3dd,-_0x53a51a._0x287372,-_0x53a51a._0x138fb1,-0x410)](_0x47bb23-_0x8a74bf[_0x16f957(-_0x53a51a._0x124bc2,-_0x53a51a._0x11da58,0x92,-_0x53a51a._0x766ec2)]);let _0x42cf75;const _0x1112ad=_0x37e83d?.[_0x305f90(-0xd,0xa4,0x1b8,_0x53a51a._0x449201)];if(!_0x1112ad)_0x42cf75=_0x311970,_0x8a74bf[_0x16f957(-_0x53a51a._0x24e52e,-0x3d4,-_0x53a51a._0x4266c9,-_0x53a51a._0x409d7a)]=_0x8a74bf['totalProduced'];else{let _0x22982e;try{_0x22982e=new RegExp(_0x1112ad);}catch(_0x2ca6e3){throw new ToolExecutionError(_0x305f90(0x3fd,0x4b7,0x33c,_0x53a51a._0x3c0678)+(_0x2ca6e3 instanceof Error?_0x2ca6e3[_0x16f957(-0x9f,-_0x53a51a._0x22d9d1,-_0x53a51a._0x12e6f2,-0x47)]:String(_0x2ca6e3)),{'shellId':_0x1df326,'regex':_0x1112ad});}let _0xf613c0=_0x311970;if(!_0x8a74bf['terminalSettled']){const _0x122bc2=_0x311970[_0x305f90(_0x53a51a._0x4d23a8,0x49e,0x2e4,0x207)]('\x0a');_0xf613c0=_0x122bc2>=0x0?_0x311970[_0x16f957(-0xc8,-0x280,-_0x53a51a._0x138fb1,-0x185)](0x0,_0x122bc2+0x1):'';}_0x42cf75=_0xf613c0[_0x16f957(-_0x53a51a._0xc308e5,-0x99,-_0x53a51a._0x32e626,-_0x53a51a._0x1f266a)]('\x0a')['filter'](_0x316f0d=>_0x22982e[_0x305f90(0x32e,0x4dd,0x486,0x566)](_0x316f0d))[_0x305f90(_0x53a51a._0x3b1dcf,_0x53a51a._0x47fc48,0x2bd,_0x53a51a._0x24857b)]('\x0a'),_0x8a74bf['readCursor']=_0x47bb23+_0xf613c0['length'];}return{'output':(_0x14a900>0x0?'[output\x20truncated:\x20'+_0x14a900+_0x305f90(0x28e,_0x53a51a._0x16d363,0x40b,0x594):'')+_0x42cf75,'status':_0x8a74bf['status'],'exitCode':_0x8a74bf[_0x305f90(_0x53a51a._0x14b3ea,_0x53a51a._0x3679e3,0x17e,0x199)],'signal':_0x8a74bf['signal'],'error':_0x8a74bf[_0x16f957(-_0x53a51a._0x498c01,0x143,_0x53a51a._0x46c67a,0x117)],'truncated':_0x14a900>0x0};}[_0x8a95cf(0x9d,0x16f,0xe2,0x1aa)](){const _0x294347={_0x45da9d:0xf2,_0x4827c9:0x5db,_0x3eabcd:0x45a},_0x402690={_0x5c3f2b:0x59},_0x3ca363={_0x46f8ff:0x51};function _0x3223a5(_0x79f50a,_0xfb55af,_0x4b8e97,_0x3965cc){return _0x8a95cf(_0x79f50a- -0x139,_0x3965cc,_0x4b8e97-_0x3ca363._0x46f8ff,_0x3965cc-0x94);}function _0x13f0fb(_0x23289d,_0x516a87,_0x36b6a7,_0x18fb2c){return _0x8a95cf(_0x516a87-0x44a,_0x23289d,_0x36b6a7-_0x402690._0x5c3f2b,_0x18fb2c-0x1eb);}return[...this[_0x3223a5(-_0x294347._0x45da9d,-0x28f,-0x51,0x11)][_0x13f0fb(0x66c,0x55d,_0x294347._0x4827c9,_0x294347._0x3eabcd)]()];}['kill'](_0x23e88b){const _0x4f9da7={_0x4d5b9e:0x13b,_0x2e51ab:0x42,_0x325173:0xf5,_0x3d81e2:0x251,_0x468a51:0x2ba,_0x19e28e:0x5d9,_0x495cd4:0x767,_0x481dd0:0x79b,_0x34ba27:0x181,_0x31bd6d:0x4b,_0x4ada46:0x88e,_0x2c204e:0x909,_0x5b033b:0x759,_0x469fed:0x3ff,_0x2ba8e0:0x532,_0x38bbaf:0x4bd,_0x3f9755:0x3e5,_0x4fce42:0x846,_0x31dd07:0x68b,_0x39ada7:0x703,_0x52d8bc:0x67a,_0x5e88c5:0x743,_0xf1f82e:0x68d,_0xe6729a:0x651,_0x4061a5:0x66a,_0x389670:0x3ad,_0x4aac20:0x4e5,_0x5ee412:0x522,_0x814b01:0x46e,_0x1988a3:0x1e5},_0x1c3db1={_0xf46f4d:0x49,_0x37cc97:0x63},_0x11419e={_0x37010e:0x189},_0x1300f6=this[_0x378e4c(-_0x4f9da7._0x4d5b9e,0x148,-0x1,_0x4f9da7._0x2e51ab)]['get'](_0x23e88b);function _0x378e4c(_0x45709f,_0x5e53cb,_0x364029,_0x321d8c){return _0x8a95cf(_0x364029- -0x48,_0x5e53cb,_0x364029-_0x11419e._0x37010e,_0x321d8c-0xa0);}if(!_0x1300f6)throw new ToolExecutionError(_0x378e4c(-_0x4f9da7._0x325173,0x139,0xd4,0xa2)+_0x23e88b,{'shellId':_0x23e88b});if(_0x1300f6[_0x378e4c(0xfd,_0x4f9da7._0x3d81e2,_0x4f9da7._0x468a51,0x186)]&&!_0x1300f6['terminationSettled'])return _0x1300f6[_0x3a7c7a(_0x4f9da7._0x19e28e,_0x4f9da7._0x495cd4,_0x4f9da7._0x481dd0,0x7d0)];if(_0x1300f6[_0x378e4c(_0x4f9da7._0x34ba27,_0x4f9da7._0x31bd6d,_0x4f9da7._0x34ba27,0x2c6)]&&isTerminalStatus(_0x1300f6[_0x3a7c7a(_0x4f9da7._0x4ada46,_0x4f9da7._0x2c204e,_0x4f9da7._0x5b033b,0x77e)]))return Promise[_0x3a7c7a(_0x4f9da7._0x469fed,0x4b3,_0x4f9da7._0x2ba8e0,_0x4f9da7._0x38bbaf)](this['result'](_0x1300f6,_0x378e4c(_0x4f9da7._0x3f9755,0x288,0x239,0x33a)));function _0x3a7c7a(_0x519faa,_0x2e0de8,_0x337247,_0x23ca84){return _0x8a95cf(_0x337247-0x499,_0x519faa,_0x337247-_0x1c3db1._0xf46f4d,_0x23ca84-_0x1c3db1._0x37cc97);}if(_0x1300f6[_0x3a7c7a(_0x4f9da7._0x4fce42,_0x4f9da7._0x31dd07,0x759,0x791)]!=='error')_0x1300f6['status']=_0x3a7c7a(_0x4f9da7._0x39ada7,_0x4f9da7._0x52d8bc,_0x4f9da7._0x5e88c5,_0x4f9da7._0xf1f82e);return _0x1300f6[_0x378e4c(0x31c,0x36a,0x313,0x498)]=!![],_0x1300f6[_0x3a7c7a(0x689,0x492,_0x4f9da7._0xe6729a,_0x4f9da7._0x4061a5)]=![],_0x1300f6['terminationPromise']=this[_0x3a7c7a(_0x4f9da7._0x389670,_0x4f9da7._0x4aac20,_0x4f9da7._0x5ee412,0x3bd)](_0x1300f6),void _0x1300f6[_0x378e4c(0x27e,_0x4f9da7._0x814b01,0x2ba,0x414)]['then'](()=>{_0x1300f6['terminationSettled']=!![];},()=>{_0x1300f6['terminationSettled']=!![];}),_0x1300f6[_0x378e4c(_0x4f9da7._0x1988a3,0x327,0x2ba,0x370)];}[_0x8a95cf(0x38b,0x4f0,0x319,0x3e9)](){const _0x2c5139={_0x10cd13:0x586,_0x49690b:0x5fa,_0x2c14df:0x4a3,_0x503927:0x482,_0x11d2c5:0x47b,_0x4919e2:0x3bd,_0x800fbe:0x5d0,_0x175c42:0x454,_0x4c6e48:0x4be,_0x383f59:0x314},_0x114b43={_0x2f1127:0x12e},_0x53b809={_0x44a9f2:0xf1};function _0x3ec085(_0xa34164,_0x4a240e,_0x10ea7a,_0x1d854d){return _0x8a95cf(_0x1d854d-0x3ab,_0x10ea7a,_0x10ea7a-0x47,_0x1d854d-_0x53b809._0x44a9f2);}function _0xdc8d9a(_0x43f2f1,_0x19316e,_0x141156,_0x1ca077){return _0x12dc71(_0x141156,_0x19316e-0xd2,_0x43f2f1- -0xff,_0x1ca077-_0x114b43._0x2f1127);}return Promise[_0x3ec085(0x4c6,_0x2c5139._0x10cd13,_0x2c5139._0x49690b,_0x2c5139._0x2c14df)]([...this[_0x3ec085(_0x2c5139._0x503927,_0x2c5139._0x11d2c5,_0x2c5139._0x4919e2,0x3f2)][_0x3ec085(_0x2c5139._0x800fbe,_0x2c5139._0x175c42,0x52c,_0x2c5139._0x4c6e48)]()][_0xdc8d9a(0x27e,0x268,_0x2c5139._0x383f59,0x22d)](_0x4ba9fa=>this['kill'](_0x4ba9fa[_0xdc8d9a(-0xb4,0xfd,-0x10f,0xb3)])));}async[_0x12dc71(0x177,-0x161,0x59,0x1b8)](){const _0xea101f={_0x2b11d9:0x501,_0x3d3a50:0x404,_0x4ef367:0x441,_0x1f95a5:0x44a,_0x524428:0x2ac,_0x356078:0x423};function _0x1291c8(_0x518025,_0x2dc570,_0x4bd762,_0x1e98ec){return _0x8a95cf(_0x2dc570-0x47c,_0x518025,_0x4bd762-0xa6,_0x1e98ec-0xe6);}const _0x21e523=await this['closeAll']();if(_0x21e523['some'](_0x1a4ef6=>_0x1a4ef6[_0x21300a(0x5c2,0x71c,0x781,0x775)]==='failed'))throw new BackgroundProcessCleanupError(_0x21e523);this[_0x21300a(0x36e,_0xea101f._0x2b11d9,_0xea101f._0x3d3a50,_0xea101f._0x4ef367)][_0x21300a(_0xea101f._0x1f95a5,_0xea101f._0x524428,0x2e1,_0xea101f._0x356078)]();function _0x21300a(_0x133318,_0x26feca,_0x4450e,_0x46d23c){return _0x12dc71(_0x26feca,_0x26feca-0xb2,_0x46d23c-0x3b3,_0x46d23c-0x141);}return this['reservations']['clear'](),_0x21e523;}async[_0x12dc71(0xc0,0x23b,0xd0,0x2d)](_0x797bb1){const _0x4562bb={_0x55cd4a:0xa6,_0x4aab64:0xed,_0x2f8649:0x1d,_0x88b560:0x61,_0x546eae:0x214,_0x1aca52:0x7e,_0x4823b5:0x2cf,_0x1cfd13:0x1b1,_0x16622c:0x102,_0x5e9d37:0x2b7,_0x5ea7e2:0x51,_0x5eea57:0x32,_0x5a7861:0x120,_0x59def4:0x43,_0x15e4ef:0x1be,_0x5733fb:0xa,_0x3dd575:0xb7,_0x3f8e25:0x30e,_0x2078de:0x92,_0x39631c:0x373,_0x3af703:0x442,_0x3b6df6:0x3cd,_0x1bdb5a:0x2e5,_0x56c897:0x2c7,_0x5c2795:0x234,_0x347126:0xcc,_0x5efec4:0x1ea,_0x58b6bb:0x182,_0x2ca80c:0x2f0,_0x55337d:0x2b4,_0x107470:0x109,_0x5f1bfd:0xa8,_0x3a561f:0x19b,_0x1c3eb4:0x1f9,_0x5c8428:0x38,_0x2b6e12:0x1d2,_0xb7c3c2:0x1eb},_0x302686={_0x1f55ad:0x66};_0x797bb1[_0x2c40e9(-_0x4562bb._0x55cd4a,0xa0,0x15d,_0x4562bb._0x4aab64)]=!![];function _0x2c40e9(_0xc66023,_0x1d7cd3,_0x36de84,_0x18aad6){return _0x12dc71(_0xc66023,_0x1d7cd3-0x64,_0x18aad6- -0xec,_0x18aad6-_0x302686._0x1f55ad);}const _0x2e8e78=await this[_0x20b025(-0x47,-_0x4562bb._0x2f8649,-0xb7,-0x16b)][_0x2c40e9(_0x4562bb._0x88b560,0x282,0x185,0x1ea)]({'rootPid':_0x797bb1[_0x2c40e9(0x1fe,-0xfa,_0x4562bb._0x546eae,_0x4562bb._0x1aca52)],'processGroupId':_0x797bb1['processGroupId']},_0x2c40e9(_0x4562bb._0x4823b5,_0x4562bb._0x1cfd13,0x3be,0x260));if(_0x2e8e78[_0x20b025(_0x4562bb._0x16622c,0x22e,0x24d,_0x4562bb._0x5e9d37)]===_0x20b025(-0x71,_0x4562bb._0x5ea7e2,-0xcc,_0x4562bb._0x5eea57))return this['failed'](_0x797bb1,_0x2e8e78['error']);function _0x20b025(_0x5036c9,_0x5b554b,_0x38e960,_0x3a7fd2){return _0x8a95cf(_0x38e960- -0x12e,_0x3a7fd2,_0x38e960-0x6a,_0x3a7fd2-0x38);}if(await this['waitForTerminal'](_0x797bb1,TERMINATION_WINDOW_MS))return this['confirmed'](_0x797bb1);_0x797bb1[_0x20b025(-_0x4562bb._0x5a7861,-_0x4562bb._0x59def4,-0xfb,-_0x4562bb._0x15e4ef)]=!![];const _0x174d7b=await this[_0x20b025(0xc8,_0x4562bb._0x5733fb,-_0x4562bb._0x3dd575,-0x29)][_0x2c40e9(0x3b4,_0x4562bb._0x3f8e25,0x198,0x1ea)]({'rootPid':_0x797bb1[_0x2c40e9(-0x11f,0x4e,-_0x4562bb._0x2078de,0x7e)],'processGroupId':_0x797bb1['processGroupId']},_0x2c40e9(_0x4562bb._0x39631c,_0x4562bb._0x3af703,_0x4562bb._0x3b6df6,_0x4562bb._0x1bdb5a));if(_0x174d7b[_0x2c40e9(0x344,0x231,_0x4562bb._0x56c897,0x2d6)]===_0x20b025(-_0x4562bb._0x5c2795,0xa1,-_0x4562bb._0x347126,-0x14a))return this[_0x20b025(-_0x4562bb._0x5efec4,0x23,-0xcc,-0x161)](_0x797bb1,_0x174d7b[_0x20b025(_0x4562bb._0x58b6bb,_0x4562bb._0x2ca80c,0x198,_0x4562bb._0x55337d)]);if(await this[_0x20b025(-_0x4562bb._0x107470,0x222,_0x4562bb._0x5f1bfd,_0x4562bb._0x3a561f)](_0x797bb1,TERMINATION_WINDOW_MS))return this[_0x20b025(0xc9,_0x4562bb._0x1c3eb4,0xc0,-_0x4562bb._0x5c8428)](_0x797bb1);return this['failed'](_0x797bb1,_0x2c40e9(_0x4562bb._0x2b6e12,0x2b5,_0x4562bb._0xb7c3c2,0x246));}[_0x8a95cf(0x1ee,0x2df,0x8d,0x39c)](_0x2dd6be){const _0x4246b0={_0xbd8c13:0x7ff,_0x3b8a27:0x286,_0x34fb98:0x106,_0x23f5f3:0x1b4,_0x4f8332:0x160,_0x225a4d:0x2d2,_0x4498ec:0x2cf},_0x412200={_0x2f7cda:0xa1,_0x4ff332:0x25d,_0x440476:0x7e},_0x10ebf5={_0x222596:0x4d,_0x232296:0x3cd};function _0x9651c0(_0x4a8a89,_0x3fe8e8,_0x101eae,_0x5e471b){return _0x12dc71(_0x5e471b,_0x3fe8e8-_0x10ebf5._0x222596,_0x3fe8e8-_0x10ebf5._0x232296,_0x5e471b-0x145);}function _0x1f6572(_0x504870,_0x4866d6,_0x76d83d,_0xbd3abf){return _0x12dc71(_0x504870,_0x4866d6-_0x412200._0x2f7cda,_0x76d83d- -_0x412200._0x4ff332,_0xbd3abf-_0x412200._0x440476);}return _0x2dd6be['status']===_0x9651c0(_0x4246b0._0xbd8c13,0x6da,0x701,0x6d9)?this[_0x1f6572(-_0x4246b0._0x3b8a27,-_0x4246b0._0x34fb98,-_0x4246b0._0x23f5f3,-0x63)](_0x2dd6be,_0x2dd6be['error']??'Background\x20process\x20failed\x20during\x20termination'):this[_0x1f6572(0x2d1,_0x4246b0._0x4f8332,0x16d,0x99)](_0x2dd6be,_0x9651c0(0x466,0x429,_0x4246b0._0x225a4d,_0x4246b0._0x4498ec));}[_0x12dc71(0x1db,0x168,0xa9,-0x12)](_0x289ac7,_0x24f78f){const _0x344548={_0x3c6b40:0x1a7,_0x37160c:0x1e2},_0x58b709={_0x2837c2:0xb3,_0x14d587:0x139,_0x28c487:0xfe};_0x289ac7['error']=_0x24f78f;function _0x491e24(_0x643adb,_0x4b2a3a,_0x4f8fb0,_0x38f46d){return _0x12dc71(_0x4b2a3a,_0x4b2a3a-_0x58b709._0x2837c2,_0x38f46d-_0x58b709._0x14d587,_0x38f46d-_0x58b709._0x28c487);}return this['result'](_0x289ac7,_0x491e24(0x70,_0x344548._0x3c6b40,0xd9,_0x344548._0x37160c));}[_0x12dc71(0x4c8,0x26c,0x3ca,0x472)](_0x3b06e1,_0x774a19){const _0x11df96={_0x1c0aaf:0x28f,_0x3a762e:0x142,_0x9d3ae2:0x321,_0x18ecfc:0x308,_0x1cf2be:0xee,_0x310bf1:0x212,_0x55b326:0x156,_0x412825:0x149,_0x4d6a58:0x20c,_0x5e4948:0xbe,_0x4f99e4:0x2bb,_0x4611c8:0x180,_0x44e77a:0x30f,_0x40f920:0x9b,_0x296931:0x27e,_0x15cd7d:0x216},_0x1fc560={_0x3b3d19:0x31,_0x68e5d3:0xc2},_0x18f09f={_0x49a5f4:0x18d,_0x14495a:0x131};function _0x3b5ed2(_0x54f96e,_0x354a2b,_0x4431fb,_0xf4d5d9){return _0x12dc71(_0x4431fb,_0x354a2b-0x17c,_0x54f96e- -_0x18f09f._0x49a5f4,_0xf4d5d9-_0x18f09f._0x14495a);}function _0x58c059(_0x14a377,_0x2f01cb,_0x491fb5,_0x28b5ad){return _0x8a95cf(_0x14a377- -_0x1fc560._0x3b3d19,_0x491fb5,_0x491fb5-0x13a,_0x28b5ad-_0x1fc560._0x68e5d3);}return{'shellId':_0x3b06e1['shellId'],'outcome':_0x774a19,'status':_0x3b06e1[_0x58c059(_0x11df96._0x1c0aaf,_0x11df96._0x3a762e,_0x11df96._0x9d3ae2,_0x11df96._0x18ecfc)],'exitCode':_0x3b06e1[_0x3b5ed2(-_0x11df96._0x1cf2be,-_0x11df96._0x310bf1,-0x4e,-_0x11df96._0x55b326)],'signal':_0x3b06e1[_0x3b5ed2(_0x11df96._0x412825,_0x11df96._0x4d6a58,_0x11df96._0x5e4948,_0x11df96._0x4f99e4)],'error':_0x3b06e1[_0x3b5ed2(_0x11df96._0x4611c8,_0x11df96._0x44e77a,0x32c,0x311)],'gracefulRequested':_0x3b06e1[_0x58c059(0x161,_0x11df96._0x40f920,0x149,0x23e)],'forceRequested':_0x3b06e1[_0x3b5ed2(-0x113,-_0x11df96._0x296931,0x61,-_0x11df96._0x15cd7d)]};}[_0x12dc71(0x384,0x3c8,0x21d,0x24c)](_0xfb293e,_0x2dba0e){const _0x513c69={_0x2e7402:0x5fb,_0x499a75:0x444,_0x2e659a:0x36a,_0x144ed1:0x314},_0x3a4355={_0x21bb60:0x54},_0x1b4bf4={_0x386f1f:0x378},_0x6868f7={_0x5263ca:0x27b,_0x14812c:0xb},_0x5377c4={_0x29ae35:0x15a,_0x1b0dc6:0xa9};if(_0xfb293e[_0x4ea261(0x371,_0x513c69._0x2e7402,_0x513c69._0x499a75,0x446)])return Promise[_0x4ea261(_0x513c69._0x2e659a,0x44c,_0x513c69._0x144ed1,0x44c)](!![]);function _0x31228e(_0x31c3ba,_0xc6f13,_0x52599f,_0x296174){return _0x12dc71(_0x296174,_0xc6f13-0x1e1,_0xc6f13-_0x5377c4._0x29ae35,_0x296174-_0x5377c4._0x1b0dc6);}function _0x4ea261(_0x4955d4,_0x44d9a2,_0x305e0b,_0x30ac38){return _0x8a95cf(_0x305e0b-_0x6868f7._0x5263ca,_0x30ac38,_0x305e0b-0x23,_0x30ac38-_0x6868f7._0x14812c);}return new Promise(_0x39eb4b=>{let _0x210051=![];function _0x4878d2(_0x4f099d,_0x3b59fb,_0x2e08b0,_0x2bd694){return _0x4ea261(_0x4f099d-0x138,_0x3b59fb-0xaa,_0x2e08b0- -_0x1b4bf4._0x386f1f,_0x2bd694);}const _0x14014c=setTimeout(()=>{if(_0x210051)return;_0x210051=!![],_0x39eb4b(![]);},_0x2dba0e);void _0xfb293e[_0x4878d2(0x49,-0x7f,0x0,_0x3a4355._0x21bb60)]['then'](()=>{if(_0x210051)return;_0x210051=!![],clearTimeout(_0x14014c),_0x39eb4b(!![]);});});}[_0x12dc71(0x1ca,0x142,0xb8,0x132)](_0x289dba,_0x48c1f8,_0x50badc,_0x3c386d){const _0x32a466={_0x4c6321:0x3da,_0x444870:0x212,_0x2ced98:0x1e1,_0x5552cd:0xb8,_0x4a9685:0x258,_0x24269f:0x4b7},_0x4dc70b={_0x479253:0xa7,_0x1feeb1:0x13f,_0x3a6e36:0x14e},_0x56ebfe=_0x48c1f8[_0x43c92b(0x37e,_0x32a466._0x4c6321,0x457,_0x32a466._0x444870)](_0x3c386d);function _0x43c92b(_0x1b9d1c,_0x4248fa,_0x5cdf83,_0x56fdab){return _0x12dc71(_0x4248fa,_0x4248fa-0x27,_0x1b9d1c-0x6,_0x56fdab-0x56);}function _0x32f431(_0x446a07,_0x3f9433,_0x2240a,_0x4f4f97){return _0x12dc71(_0x446a07,_0x3f9433-_0x4dc70b._0x479253,_0x4f4f97-_0x4dc70b._0x1feeb1,_0x4f4f97-_0x4dc70b._0x3a6e36);}this['append'](_0x289dba,_0x289dba[_0x32f431(_0x32a466._0x2ced98,0x135,_0x32a466._0x5552cd,_0x32a466._0x4a9685)]?_0x50badc[_0x32f431(0x3bf,0x4ab,0x667,_0x32a466._0x24269f)](_0x56ebfe):_0x56ebfe);}[_0x8a95cf(0x199,0x1ed,0x26f,0x14)](_0x35f371){const _0x56485a={_0xb30a71:0x3b2,_0x4e9857:0x56b,_0x45ac51:0xe0,_0x6948b:0x3aa,_0x35ab6d:0x21f},_0x4c1bfe={_0x4ac0cc:0x1e9,_0x483e03:0xa5,_0x218a6f:0x17b},_0x418d19={_0x4502e0:0x282,_0x24ec79:0xfa};function _0x37b3a6(_0x153623,_0x44d484,_0x3c8037,_0x37f5db){return _0x8a95cf(_0x3c8037-_0x418d19._0x4502e0,_0x37f5db,_0x3c8037-_0x418d19._0x24ec79,_0x37f5db-0xad);}this['flushStreams'](_0x35f371);!_0x35f371[_0x1861e9(0x4cf,0x3ee,_0x56485a._0xb30a71,_0x56485a._0x4e9857)]&&(_0x35f371['terminalSettled']=!![],_0x35f371['resolveTerminal']());function _0x1861e9(_0x19163a,_0x5c68f1,_0x3aee02,_0x3a19bd){return _0x8a95cf(_0x3aee02-_0x4c1bfe._0x4ac0cc,_0x19163a,_0x3aee02-_0x4c1bfe._0x483e03,_0x3a19bd-_0x4c1bfe._0x218a6f);}this[_0x1861e9(_0x56485a._0x45ac51,_0x56485a._0x6948b,_0x56485a._0x35ab6d,0x152)]();}[_0x8a95cf(0x389,0x3d0,0x362,0x3e7)](_0x56b19a){const _0x365fd2={_0x1106c5:0x4ed,_0x4aa3d1:0x384,_0x2fa5d1:0x49c,_0x52b048:0x358,_0x5f0aa2:0x2a3,_0x437ee0:0x376,_0x4ecdb1:0x3d7,_0x42b646:0x415,_0x40302e:0x4cd,_0x37b812:0x41b,_0x3b6346:0x3c9,_0x5c5902:0x3af,_0x2dd21d:0x2a8,_0x1ef73a:0x26d,_0x14892c:0x162,_0x417dc7:0x24d,_0x115111:0x25a,_0xdb1e1c:0x31b,_0x27c80b:0x4cc,_0x1f8de4:0x596,_0x1484bb:0x70c,_0x4b3d46:0x5a2,_0x26170f:0x632,_0x21139a:0x48b,_0x2ec6ff:0x755,_0x605eea:0x786,_0x2524c9:0x91e,_0x4c66e7:0x5e7,_0x33e730:0x90b,_0x383b6f:0x3c6,_0x41a629:0x3d6,_0x2a6302:0x25c},_0x3e5bf3={_0x1e86e1:0xdb};if(_0x56b19a[_0x24696a(_0x365fd2._0x1106c5,0x49c,0x326,0x2df)])return;_0x56b19a[_0x24696a(_0x365fd2._0x4aa3d1,_0x365fd2._0x2fa5d1,0x40b,0x667)]=!![];function _0x2577c9(_0x41b008,_0x4c393f,_0xee0d4c,_0xb73ae7){return _0x12dc71(_0xee0d4c,_0x4c393f-0x18d,_0x4c393f-0x489,_0xb73ae7-0x7e);}const _0xb908d8=_0x56b19a[_0x24696a(_0x365fd2._0x52b048,0x216,0xf3,_0x365fd2._0x5f0aa2)][_0x24696a(_0x365fd2._0x437ee0,_0x365fd2._0x4ecdb1,_0x365fd2._0x42b646,0x319)]();function _0x24696a(_0x652571,_0x522b85,_0x36c88c,_0x1a8bd0){return _0x12dc71(_0x1a8bd0,_0x522b85-0x16f,_0x522b85-0x154,_0x1a8bd0-_0x3e5bf3._0x1e86e1);}const _0x3b1f20=_0x56b19a[_0x24696a(0x309,_0x365fd2._0x40302e,_0x365fd2._0x37b812,_0x365fd2._0x3b6346)][_0x24696a(_0x365fd2._0x5c5902,0x3d7,0x4ff,0x2ad)]();this[_0x24696a(0x175,0x1ee,0x282,0x42)](_0x56b19a,_0x56b19a[_0x24696a(_0x365fd2._0x2dd21d,_0x365fd2._0x1ef73a,_0x365fd2._0x14892c,_0x365fd2._0x417dc7)]?_0x56b19a[_0x24696a(_0x365fd2._0x115111,0x2b6,0x2c5,_0x365fd2._0xdb1e1c)][_0x24696a(0x5da,_0x365fd2._0x27c80b,0x389,_0x365fd2._0x1f8de4)](_0xb908d8)+_0x56b19a['stdoutNormalizer'][_0x2577c9(0x83d,_0x365fd2._0x1484bb,0x88a,0x542)]():_0xb908d8),this['append'](_0x56b19a,_0x56b19a[_0x2577c9(0x6ce,_0x365fd2._0x4b3d46,_0x365fd2._0x26170f,_0x365fd2._0x21139a)]?_0x56b19a[_0x2577c9(_0x365fd2._0x2ec6ff,_0x365fd2._0x605eea,_0x365fd2._0x2524c9,0x875)]['write'](_0x3b1f20)+_0x56b19a[_0x2577c9(0x6d2,0x786,_0x365fd2._0x4c66e7,_0x365fd2._0x33e730)][_0x24696a(_0x365fd2._0x383b6f,0x3d7,_0x365fd2._0x41a629,_0x365fd2._0x2a6302)]():_0x3b1f20);}['append'](_0x5876e1,_0x4fd8be){const _0x3f5586={_0x1067f0:0x57,_0x47b2e8:0x18c,_0x127ca0:0x6cb,_0x4b106a:0x5e6,_0x274006:0x50e,_0x3dc6db:0x1d4,_0x5673fb:0x17f,_0xee72f:0xe,_0x38def8:0x63b,_0x4e488b:0x757,_0x185f7f:0x659,_0x1eb621:0x6d0,_0x3a0478:0x152,_0x535aa4:0x13d,_0xc827f0:0x11d,_0x22a54d:0xba,_0x186bb8:0x1b7,_0xd585ea:0x7e,_0x8c6ff4:0x185,_0x5307c9:0x482,_0x119625:0x4b7,_0x440533:0x63b,_0x40205f:0x569,_0x403570:0x43a,_0x3c95a6:0x5fd,_0x42eb34:0x110,_0x228291:0x10c,_0x5a441a:0x1fc,_0x1c716d:0x197,_0x4b39e0:0x781,_0xefd52:0x197,_0xc26c22:0x29f,_0x2bfc00:0x299,_0x4c067d:0x732,_0x640be:0x43c,_0x5eef24:0x67a,_0xe6a754:0x7f3},_0x3e2175={_0x5f4aea:0x10e,_0x55b17c:0x18a,_0x304f56:0x166};if(_0x4fd8be['length']===0x0)return;function _0x15dae0(_0xa6ff61,_0x5c1d2c,_0x220ec3,_0x59ce86){return _0x8a95cf(_0xa6ff61- -_0x3e2175._0x5f4aea,_0x5c1d2c,_0x220ec3-_0x3e2175._0x55b17c,_0x59ce86-_0x3e2175._0x304f56);}_0x5876e1[_0x15dae0(-_0x3f5586._0x1067f0,-0x5f,-_0x3f5586._0x47b2e8,0x16b)][_0x29f6b1(_0x3f5586._0x127ca0,_0x3f5586._0x4b106a,_0x3f5586._0x274006,0x6e5)](_0x4fd8be);function _0x29f6b1(_0x3215c1,_0x5d497c,_0x37a149,_0x3c74a2){return _0x8a95cf(_0x3215c1-0x4b2,_0x3c74a2,_0x37a149-0xa0,_0x3c74a2-0x1c0);}_0x5876e1[_0x15dae0(0xba,_0x3f5586._0x3dc6db,_0x3f5586._0x5673fb,-0x59)]+=_0x4fd8be[_0x15dae0(0x197,-_0x3f5586._0xee72f,0x31f,0x151)],_0x5876e1[_0x29f6b1(0x780,0x646,0x6aa,_0x3f5586._0x38def8)]+=_0x4fd8be[_0x29f6b1(_0x3f5586._0x4e488b,0x8dd,_0x3f5586._0x185f7f,_0x3f5586._0x1eb621)];while(_0x5876e1[_0x15dae0(0xba,0x1c6,0x183,0x258)]>this[_0x15dae0(0x48,_0x3f5586._0x3a0478,_0x3f5586._0x535aa4,-_0x3f5586._0xc827f0)]){const _0x3c4f61=_0x5876e1[_0x15dae0(_0x3f5586._0x22a54d,_0x3f5586._0x186bb8,-_0x3f5586._0xd585ea,_0x3f5586._0x8c6ff4)]-this[_0x29f6b1(0x608,_0x3f5586._0x5307c9,_0x3f5586._0x119625,_0x3f5586._0x440533)],_0x167d07=_0x5876e1['buffer'][0x0];if(_0x167d07===void 0x0)break;_0x167d07['length']<=_0x3c4f61?(_0x5876e1[_0x29f6b1(_0x3f5586._0x40205f,_0x3f5586._0x403570,0x625,_0x3f5586._0x3c95a6)][_0x15dae0(-_0x3f5586._0x42eb34,-0x62,-0x2b3,-0x256)](),_0x5876e1[_0x15dae0(0xba,_0x3f5586._0x228291,_0x3f5586._0x5a441a,0x75)]-=_0x167d07[_0x15dae0(_0x3f5586._0x1c716d,0x301,0x1f6,0x120)],_0x5876e1[_0x29f6b1(0x7a4,_0x3f5586._0x4b39e0,0x825,0x68e)]+=_0x167d07[_0x15dae0(_0x3f5586._0xefd52,_0x3f5586._0xc26c22,_0x3f5586._0x2bfc00,0xbb)]):(_0x5876e1[_0x29f6b1(_0x3f5586._0x40205f,_0x3f5586._0x4c067d,_0x3f5586._0x640be,0x6ef)][0x0]=_0x167d07['slice'](_0x3c4f61),_0x5876e1[_0x29f6b1(_0x3f5586._0x5eef24,0x5d2,_0x3f5586._0xe6a754,0x82b)]-=_0x3c4f61,_0x5876e1['totalDropped']+=_0x3c4f61);}}[_0x8a95cf(0x36,0xf0,-0x38,0x1e5)](){const _0x30a6d5={_0x25fd18:0x583,_0x39171a:0x7b7,_0x11f6ae:0x79c,_0x4d0f49:0x1e5,_0x3f2f72:0x250,_0x3741c9:0x107,_0x1cdb86:0x365,_0x13c7ed:0x56e,_0x122450:0x55c,_0x291091:0x509,_0x32a4be:0x541,_0x180588:0x56a,_0x6ceb6:0xa,_0x7bd7b0:0x93,_0x599c83:0x1c2,_0x49a139:0x3ac,_0x200855:0x4ad,_0x2932ff:0x417,_0x510567:0x519},_0xc34584={_0x400028:0x8};function _0xda7135(_0x5649c2,_0x428851,_0x4cb22c,_0x20d8a4){return _0x12dc71(_0x5649c2,_0x428851-0x15e,_0x20d8a4-0x4ce,_0x20d8a4-_0xc34584._0x400028);}function _0x1812b5(_0x24d2cb,_0x5d6902,_0x521622,_0x16d8f6){return _0x8a95cf(_0x5d6902-0x93,_0x521622,_0x521622-0x140,_0x16d8f6-0x18d);}while(this['entries'][_0xda7135(_0x30a6d5._0x25fd18,_0x30a6d5._0x39171a,_0x30a6d5._0x11f6ae,0x730)]>this[_0x1812b5(_0x30a6d5._0x4d0f49,_0x30a6d5._0x3f2f72,_0x30a6d5._0x3741c9,_0x30a6d5._0x1cdb86)]){const _0x58858a=[...this[_0xda7135(0x4bd,_0x30a6d5._0x13c7ed,0x526,_0x30a6d5._0x122450)]['values']()][_0xda7135(_0x30a6d5._0x291091,_0x30a6d5._0x32a4be,0x4ed,_0x30a6d5._0x180588)](_0x4dde78=>_0x4dde78[_0x1812b5(0x3d4,0x25c,0xda,0x372)]&&isTerminalStatus(_0x4dde78[_0x1812b5(0x1a8,0x353,0x2d1,0x409)]))[_0x1812b5(-_0x30a6d5._0x6ceb6,_0x30a6d5._0x7bd7b0,_0x30a6d5._0x599c83,0x1fc)]((_0x2b6e5d,_0x2dc55f)=>_0x2b6e5d[_0xda7135(0x74d,0x813,0x6b4,0x656)]-_0x2dc55f[_0xda7135(0x496,0x63f,0x6b2,0x656)])[0x0];if(!_0x58858a)return;this[_0xda7135(0x721,0x3d2,_0x30a6d5._0x49a139,0x55c)]['delete'](_0x58858a[_0xda7135(_0x30a6d5._0x200855,_0x30a6d5._0x2932ff,0x606,_0x30a6d5._0x510567)]);}}};function createBashOutputTool(_0x4500fa){const _0x4e2082={_0x370516:0x125,_0x16ec5f:0x200,_0x439da2:0x326,_0x5e1421:0x2a0,_0x5dce5e:0x630,_0x475b0f:0x614,_0x3dafce:0x384,_0x56960e:0x511,_0x1e252d:0x3ef,_0x318265:0x3aa},_0x2a7551={_0x3b5c60:0x91,_0x3eeb55:0x54,_0x7cd1ba:0x136,_0x1d387b:0x62,_0x14bd8b:0x34,_0x276bb1:0xda,_0xe9560f:0x327,_0x14e1b7:0x26,_0x31f865:0xb2,_0x4c8e56:0x9f,_0x53125e:0x242,_0xf0ce4d:0x66},_0x18016e={_0x7ae88f:0xed,_0x4684f4:0x1b};function _0x524b2e(_0x4c4989,_0x1786af,_0x1d6954,_0xc8c10b){return _0x12dc71(_0x4c4989,_0x1786af-0x181,_0xc8c10b-0x4a2,_0xc8c10b-0x149);}const {registry:_0x2385e7}=_0x4500fa;function _0x4fb01b(_0x1bf236,_0x5e63b2,_0x5b596,_0x8ec256){return _0x8a95cf(_0x5b596-_0x18016e._0x7ae88f,_0x5e63b2,_0x5b596-_0x18016e._0x4684f4,_0x8ec256-0x198);}return defineTool({'name':_0x4fb01b(0x31c,_0x4e2082._0x370516,0x187,_0x4e2082._0x16ec5f),'permissionClass':'always-confirm','description':'Read\x20new\x20output\x20from\x20a\x20background\x20process\x20started\x20with\x20Bash(runInBackground:true).\x20Returns\x20output\x20produced\x20since\x20the\x20last\x20read;\x20optionally\x20filter\x20lines\x20by\x20a\x20regex.','inputSchema':{'type':_0x4fb01b(_0x4e2082._0x439da2,0x2b0,0x430,_0x4e2082._0x5e1421),'properties':{'shellId':{'type':_0x524b2e(_0x4e2082._0x5dce5e,_0x4e2082._0x475b0f,_0x4e2082._0x3dafce,_0x4e2082._0x56960e)},'regex':{'type':_0x524b2e(0x358,0x4a2,0x5e1,_0x4e2082._0x56960e)}},'required':[_0x524b2e(0x3ae,_0x4e2082._0x1e252d,_0x4e2082._0x318265,0x4ed)]},async *'execute'(_0x4ce78e){const _0x2cd4be={_0x294603:0x73},_0x477fbb={_0x2da574:0xeb};function _0x57efc3(_0xde19f5,_0x14c63e,_0x21d5d6,_0x46c23a){return _0x524b2e(_0x21d5d6,_0x14c63e-0xb2,_0x21d5d6-_0x477fbb._0x2da574,_0xde19f5- -0x445);}function _0x58f410(_0x153384,_0x5b7809,_0x3a4645,_0x3f037c){return _0x524b2e(_0x5b7809,_0x5b7809-0x1a3,_0x3a4645-_0x2cd4be._0x294603,_0x3a4645- -0x567);}const _0x55d9e5=_0x2385e7[_0x58f410(0x115,_0x2a7551._0x3b5c60,-_0x2a7551._0x3eeb55,0x29)](_0x4ce78e['shellId'],_0x4ce78e[_0x57efc3(_0x2a7551._0x7cd1ba,_0x2a7551._0x1d387b,-0x83,0x11)]?{'regex':_0x4ce78e[_0x58f410(-_0x2a7551._0x14bd8b,-_0x2a7551._0x276bb1,0x14,0x1a6)]}:void 0x0);return createToolOutput(_0x55d9e5[_0x57efc3(0x430,0x39f,_0x2a7551._0xe9560f,0x34b)],{'shellId':_0x4ce78e[_0x58f410(_0x2a7551._0x14e1b7,-_0x2a7551._0x31f865,-0x7a,_0x2a7551._0x4c8e56)],'status':_0x55d9e5[_0x58f410(0x399,0x2c0,_0x2a7551._0x53125e,0x2af)],'exitCode':_0x55d9e5[_0x58f410(-0x43,_0x2a7551._0x3b5c60,-0x26,_0x2a7551._0xf0ce4d)],'signal':_0x55d9e5['signal'],'error':_0x55d9e5['error'],'truncated':_0x55d9e5[_0x58f410(0x1d2,0x379,0x2f1,0x205)]});}});}import{spawn as _0x3923c4}from'child_process';import{realpathSync,statSync}from'fs';import*as _0x237bb9 from'os';import*as _0x1cb898 from'path';import{StringDecoder as _0x170167}from'string_decoder';import{spawn as _0x249e15}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException(_0xbd746e){return _0xbd746e instanceof Error;}function resolveCarriageReturns(_0x125870){const _0xbdf7c5={_0x4095bc:0x3f,_0x574957:0x4c,_0x3b0680:0x496,_0x14a078:0x53a},_0x4ae34a={_0x430d5f:0x13,_0x5297b8:0x1a6,_0x3adef4:0x1cb,_0x4c5c06:0x1fd,_0x397946:0x1ed,_0x58330c:0x326,_0x22f47b:0x314,_0x35dada:0x18a},_0x3ea10c={_0xe542d:0x3a3};function _0xaa73ac(_0x3eea43,_0x28d356,_0xe020ea,_0xaf1a9c){return _0x8a95cf(_0xaf1a9c- -0x1eb,_0xe020ea,_0xe020ea-0x13d,_0xaf1a9c-0xa9);}function _0x19ac92(_0x383c39,_0x4fc76d,_0x4a607e,_0x3133c6){return _0x8a95cf(_0x3133c6-_0x3ea10c._0xe542d,_0x383c39,_0x4a607e-0xdb,_0x3133c6-0x105);}return _0x125870['split']('\x0a')[_0xaa73ac(-_0xbdf7c5._0x4095bc,-0x3a,_0xbdf7c5._0x574957,0x14b)](_0x4e7bb7=>{const _0x8fcd88={_0x1f92d6:0x2b0},_0x2c9590={_0x495b41:0x1c};function _0x1d0bfa(_0x586076,_0x35786d,_0xc548d3,_0x560bb7){return _0xaa73ac(_0x586076-0x25,_0x35786d-_0x2c9590._0x495b41,_0xc548d3,_0x586076-0x133);}function _0x5775c7(_0x260ad0,_0x34d560,_0x2225a1,_0x553e1a){return _0xaa73ac(_0x260ad0-0xb0,_0x34d560-0xa1,_0x553e1a,_0x2225a1-_0x8fcd88._0x1f92d6);}if(!_0x4e7bb7[_0x1d0bfa(0x1b9,-_0x4ae34a._0x430d5f,0x6b,_0x4ae34a._0x5297b8)]('\x0d'))return _0x4e7bb7;const _0x562dff=_0x4e7bb7[_0x5775c7(_0x4ae34a._0x3adef4,_0x4ae34a._0x4c5c06,0x14d,0x1b4)]('\x0d');return _0x562dff[_0x562dff[_0x1d0bfa(_0x4ae34a._0x397946,_0x4ae34a._0x58330c,_0x4ae34a._0x22f47b,_0x4ae34a._0x35dada)]-0x1]??'';})[_0x19ac92(0x5fe,0x483,_0xbdf7c5._0x3b0680,_0xbdf7c5._0x14a078)]('\x0a');}function resolveBackspaces(_0x84a74f){const _0x5cd5a5={_0xbf27f:0x102,_0x30b9f6:0xe2,_0x1798df:0xd4,_0x3575c2:0x143,_0x4612c4:0x98},_0x4e4ea5={_0x59c796:0x117,_0x3c6503:0x10c,_0x28fb5d:0xe0},_0x288e61=[];for(const _0x26eb20 of Array[_0x3c5820(_0x5cd5a5._0xbf27f,0x1cc,0x14e,0x135)](_0x84a74f)){_0x26eb20==='\x08'?_0x288e61[_0x3c5820(-0x18b,-_0x5cd5a5._0x30b9f6,-_0x5cd5a5._0x1798df,-0x238)]():_0x288e61['push'](_0x26eb20);}function _0x3c5820(_0x2461e2,_0x2185a4,_0x47d6b8,_0x482343){return _0x12dc71(_0x47d6b8,_0x2185a4-0x1ec,_0x482343- -0x276,_0x482343-0xb1);}function _0x523fbe(_0x2ba7d6,_0x37dc00,_0xf4db81,_0x1f45d0){return _0x8a95cf(_0x37dc00-_0x4e4ea5._0x59c796,_0x2ba7d6,_0xf4db81-_0x4e4ea5._0x3c6503,_0x1f45d0-_0x4e4ea5._0x28fb5d);}return _0x288e61[_0x3c5820(-0x1b8,0x90,-_0x5cd5a5._0x3575c2,-_0x5cd5a5._0x4612c4)]('');}function stripAnsiAndControls(_0x394d17){const _0x29b1a7={_0x48efae:0x160,_0x30588a:0x5c,_0x408494:0x41f,_0x270df9:0x2fe,_0x1d9c8d:0x177,_0x3e1566:0x2ed,_0x32bcdd:0x409,_0xf6f862:0x2fb,_0x208ecb:0x410,_0x1939d2:0x4ed,_0x4becc5:0x59a,_0x3261ae:0x6f5,_0x52bb08:0x771,_0x5ba954:0x74c,_0x5858bc:0x1e6,_0x5c81f8:0x2f,_0x585528:0x43a,_0x1ecd38:0x43b},_0x30e44a={_0x160f6e:0x39,_0x1becc7:0x67,_0x23b74a:0x56},_0x1e1cf8={_0x4ca262:0x83,_0x2f3a3b:0x18a};_0x394d17=resolveCarriageReturns(_0x394d17),_0x394d17=resolveBackspaces(_0x394d17),_0x394d17=stripVTControlCharacters(_0x394d17);const _0x101b9e='\x1b',_0xc2c686='\x07';_0x394d17=_0x394d17[_0xdc9110(_0x29b1a7._0x48efae,0x24,_0x29b1a7._0x30588a,0x2f)](new RegExp(';[^'+_0xc2c686+_0xdc9110(_0x29b1a7._0x408494,_0x29b1a7._0x270df9,0x38b,0x270)+_0xc2c686,'g'),''),_0x394d17=_0x394d17[_0xdc9110(0x19e,0x129,-0xa2,0x2f)](new RegExp(_0xdc9110(0x25d,_0x29b1a7._0x1d9c8d,0x474,_0x29b1a7._0x3e1566)+_0x101b9e+'\x5c\x5c','g'),''),_0x394d17=_0x394d17[_0x47f654(0x29e,_0x29b1a7._0x32bcdd,_0x29b1a7._0xf6f862,_0x29b1a7._0x208ecb)](new RegExp(_0xc2c686,'g'),''),_0x394d17=_0x394d17[_0x47f654(_0x29b1a7._0x1939d2,0x409,_0x29b1a7._0x4becc5,_0x29b1a7._0x32bcdd)](new RegExp(_0x101b9e+_0x47f654(_0x29b1a7._0x3261ae,0x71c,_0x29b1a7._0x52bb08,_0x29b1a7._0x5ba954)+_0x101b9e+'\x5c\x5c','g'),''),_0x394d17=_0x394d17[_0xdc9110(-0x17e,0x7f,_0x29b1a7._0x5858bc,_0x29b1a7._0x5c81f8)](new RegExp(_0x101b9e+'[=>7-8()]','g'),'');function _0x47f654(_0x2a4a86,_0x568b64,_0x1dc491,_0x4ddba4){return _0x12dc71(_0x2a4a86,_0x568b64-_0x1e1cf8._0x4ca262,_0x568b64-0x373,_0x4ddba4-_0x1e1cf8._0x2f3a3b);}_0x394d17=_0x394d17[_0x47f654(_0x29b1a7._0x585528,0x409,_0x29b1a7._0x1ecd38,0x422)](/[\u0080-\u009F]/g,''),_0x394d17=_0x394d17[_0xdc9110(-0x102,-0x13c,0x166,_0x29b1a7._0x5c81f8)](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,'');function _0xdc9110(_0x2f4425,_0x1d77de,_0xcc3357,_0x4c1f2d){return _0x12dc71(_0xcc3357,_0x1d77de-_0x30e44a._0x160f6e,_0x4c1f2d- -_0x30e44a._0x1becc7,_0x4c1f2d-_0x30e44a._0x23b74a);}return _0x394d17=_0x394d17['replace'](/[\u23CE\u2424]/g,''),_0x394d17;}function killProcessGroup(_0xb12317,_0x33228e,_0x479e45=_0x8a95cf(0x90,0x53,0x1df,-0x106)){const _0x26123a={_0x485902:0xb2,_0x39c78d:0x142,_0x3e6613:0xe7,_0x1c55c5:0x1d,_0x157cef:0x283,_0x5cbae7:0x17d,_0x2f1b17:0x1fe,_0x2de01a:0x46a,_0x16638f:0x47e,_0x2095c1:0x54c,_0x4bc902:0x670,_0xdee071:0x4fa,_0x11ed19:0x53f,_0x455064:0x383,_0x5cd186:0x50d,_0x43809b:0x390,_0x43c50b:0x38c,_0x3b4410:0x3c,_0x5a3b48:0x71,_0x3252be:0xf2,_0x2d9afc:0x92,_0x1b33f4:0x88,_0x17a4c8:0x297,_0x43534f:0x1ad},_0x48284e={_0x4535f2:0x1a5,_0xb7b884:0x1e6},_0x609bfa={_0x5af632:0x1ab};function _0x1e4149(_0x25e1ad,_0x1e48b1,_0x2b0ee8,_0xe1c6b7){return _0x8a95cf(_0xe1c6b7- -_0x609bfa._0x5af632,_0x2b0ee8,_0x2b0ee8-0x32,_0xe1c6b7-0x44);}if(!_0xb12317[_0x1e4149(-_0x26123a._0x485902,-_0x26123a._0x39c78d,_0x26123a._0x3e6613,-0x88)])return;if(_0x33228e)try{_0x249e15(_0x1e4149(_0x26123a._0x1c55c5,_0x26123a._0x157cef,_0x26123a._0x5cbae7,0x1dd),[_0x1e4149(0x124,0x85,_0x26123a._0x2f1b17,0x9a),_0xb12317[_0x23d32a(_0x26123a._0x2de01a,_0x26123a._0x16638f,0x3a6,_0x26123a._0x2095c1)][_0x23d32a(_0x26123a._0x4bc902,0x5f4,_0x26123a._0xdee071,_0x26123a._0x11ed19)](),'/T','/F'],{'stdio':_0x23d32a(_0x26123a._0x455064,_0x26123a._0x5cd186,_0x26123a._0x43809b,_0x26123a._0x43c50b)});return;}catch{_0xb12317[_0x1e4149(0x20c,_0x26123a._0x3b4410,_0x26123a._0x5a3b48,0x1ad)](_0x479e45);return;}function _0x23d32a(_0x4c2794,_0x37e4b5,_0x5cf169,_0x671bd0){return _0x12dc71(_0x37e4b5,_0x37e4b5-_0x48284e._0x4535f2,_0x4c2794-0x300,_0x671bd0-_0x48284e._0xb7b884);}try{process['kill'](-_0xb12317[_0x1e4149(0xe8,-_0x26123a._0x3252be,-_0x26123a._0x2d9afc,-_0x26123a._0x1b33f4)],_0x479e45);}catch{_0xb12317[_0x1e4149(0x2c0,0x1dd,_0x26123a._0x17a4c8,_0x26123a._0x43534f)](_0x479e45);}}import{stat}from'fs/promises';import*as _0x440a28 from'path';function isPathInside(_0x21b6b1,_0x2ef452){const _0x587fa4={_0x1f05be:0x559,_0x3c4da8:0x39c,_0x2826cc:0x46d,_0x3a7bcc:0x4de},_0x5242b7={_0x550f0f:0x2ff},_0x3238e5={_0x229e11:0x36},_0x5a9670=_0x440a28['resolve'](_0x21b6b1);function _0x3a801d(_0x4a58d6,_0x522b2d,_0x5b826b,_0x3f2007){return _0x12dc71(_0x522b2d,_0x522b2d-_0x3238e5._0x229e11,_0x5b826b-0x4bf,_0x3f2007-0x85);}const _0x527d16=_0x440a28[_0x3a801d(_0x587fa4._0x1f05be,0x3b8,0x52c,0x463)](_0x5a9670,_0x2ef452);function _0x2dfcc2(_0x46d566,_0x59c5d1,_0x24bab2,_0x59083c){return _0x12dc71(_0x59c5d1,_0x59c5d1-0x1a3,_0x59083c-_0x5242b7._0x550f0f,_0x59083c-0x111);}return _0x527d16===''||!_0x527d16['startsWith']('..')&&!_0x440a28[_0x2dfcc2(0x56c,_0x587fa4._0x3c4da8,_0x587fa4._0x2826cc,_0x587fa4._0x3a7bcc)](_0x527d16);}function resolveWorkspacePath(_0x201d03,_0x405e6b){return resolveAllowedPath(_0x201d03,[],_0x405e6b);}function resolveAllowedPath(_0x423473,_0x37d0d4,_0x2734ab){const _0x1f9a11={_0x663d18:0x221,_0xae27e2:0x179,_0x3ceb0:0x3e8,_0xba9784:0x561,_0x3cf02e:0x505,_0x3c883b:0x94,_0x504905:0x1a5},_0x48c8c2={_0x2273f6:0x1e2,_0x51731d:0x188,_0x3e1ef2:0x16c},_0x180e42={_0x17e6b9:0x216};function _0xe0d7c1(_0x3f90e6,_0xa85481,_0x460ed5,_0x2fc9b0){return _0x8a95cf(_0x3f90e6- -_0x180e42._0x17e6b9,_0x460ed5,_0x460ed5-0x108,_0x2fc9b0-0x131);}const _0x167d7c=_0x440a28['resolve'](_0x423473),_0x54ab5a=_0x440a28[_0x2f61a4(_0x1f9a11._0x663d18,_0x1f9a11._0xae27e2,0x1a6,0x268)](_0x167d7c,_0x2734ab);function _0x2f61a4(_0x1e8730,_0x3fe892,_0xe27227,_0x1ee1f0){return _0x12dc71(_0xe27227,_0x3fe892-_0x48c8c2._0x2273f6,_0x1ee1f0-_0x48c8c2._0x51731d,_0x1ee1f0-_0x48c8c2._0x3e1ef2);}const _0x23ac93=[_0x167d7c,..._0x37d0d4[_0x2f61a4(_0x1f9a11._0x3ceb0,_0x1f9a11._0xba9784,0x426,_0x1f9a11._0x3cf02e)](_0x28e957=>_0x440a28[_0x2f61a4(0x193,0x12c,0x2c6,0x268)](_0x28e957))];if(_0x23ac93['some'](_0x15e846=>isPathInside(_0x15e846,_0x54ab5a)))return _0x54ab5a;throw new ToolExecutionError(_0xe0d7c1(0xf,-_0x1f9a11._0x3c883b,-_0x1f9a11._0x504905,0x1c0)+_0x2734ab,{'path':_0x2734ab,'rootDir':_0x167d7c,'allowedDirs':_0x23ac93});}async function assertWorkspaceFile(_0x55e75e){const _0x251935={_0x2cbc52:0x39a,_0x4d2721:0x336,_0x3833e0:0x4ec},_0x2cdadd={_0x11f2b7:0x32,_0x2c91e6:0xb2,_0x335b8a:0x100},_0x3a0b02={_0x5b9976:0xd7,_0xa47287:0x11,_0x489cb6:0x25};function _0x459056(_0x5efe34,_0x57472c,_0x464244,_0x1dae12){return _0x8a95cf(_0x5efe34-_0x3a0b02._0x5b9976,_0x57472c,_0x464244-_0x3a0b02._0xa47287,_0x1dae12-_0x3a0b02._0x489cb6);}function _0x3a597a(_0x3f8641,_0x4c350c,_0x2dbed2,_0x127e4c){return _0x8a95cf(_0x2dbed2- -_0x2cdadd._0x11f2b7,_0x4c350c,_0x2dbed2-_0x2cdadd._0x2c91e6,_0x127e4c-_0x2cdadd._0x335b8a);}const _0x382f87=await stat(_0x55e75e);if(!_0x382f87[_0x3a597a(0x1ad,0x291,0x265,0x337)]())throw new ToolExecutionError(_0x459056(_0x251935._0x2cbc52,0x4ea,_0x251935._0x4d2721,_0x251935._0x3833e0)+_0x55e75e,{'path':_0x55e75e});}function isProbablyBinary(_0x3d104f){return _0x3d104f['includes'](0x0);}var DEFAULT_TIMEOUT_MS=0x7530,DEFAULT_DESCRIPTION=_0x12dc71(0x173,0x1d5,0x1b3,0x345)+DEFAULT_TIMEOUT_MS+_0x12dc71(0x284,0x1b5,0x171,0x170);function buildChildEnv(_0x29c741,_0x485f3f,_0x10100f){const _0x4a3948={_0x286449:0x411,_0x53126f:0x317,_0x5bf8be:0x57a,_0xc2503:0x623,_0x43080e:0x49b,_0x4e3c27:0x6cf,_0x3a775d:0x694,_0x13c49f:0x6cc,_0x33687e:0x70c,_0x46792e:0x6bf,_0x1af665:0x64b,_0x1e797c:0x7b5,_0x40f733:0x7d8,_0x4633c1:0x30e,_0x224b0b:0x5ed},_0x180500={_0x109611:0x163},_0xe1ef6d={_0x519e51:0x510,_0x4b8313:0x19d},_0x5acf6d={...process[_0x3fe637(_0x4a3948._0x286449,_0x4a3948._0x53126f,0x30a,0x207)],..._0x29c741??{}};if(_0x237bb9[_0x2a34ba(_0x4a3948._0x5bf8be,_0x4a3948._0xc2503,0x4e9,_0x4a3948._0x43080e)]()==='win32'){const _0x2f9b2a=new Set(_0x485f3f['map'](_0x399bcb=>_0x399bcb['toLowerCase']()));for(const _0x2ffadc of Object[_0x2a34ba(_0x4a3948._0x4e3c27,_0x4a3948._0x3a775d,0x80d,0x89c)](_0x5acf6d)){if(_0x2f9b2a[_0x2a34ba(_0x4a3948._0x13c49f,0x865,_0x4a3948._0x33687e,0x522)](_0x2ffadc[_0x2a34ba(0x743,_0x4a3948._0x46792e,0x8a5,_0x4a3948._0x1af665)]()))delete _0x5acf6d[_0x2ffadc];}}else{for(const _0x25c7b8 of _0x485f3f)delete _0x5acf6d[_0x25c7b8];if(_0x10100f[_0x2a34ba(_0x4a3948._0x1e797c,0x6c0,0x806,_0x4a3948._0x40f733)]>0x0)for(const _0x502c1c of Object[_0x3fe637(_0x4a3948._0x4633c1,0x20f,0x358,0x4fc)](_0x5acf6d)){_0x10100f[_0x2a34ba(0x782,_0x4a3948._0x224b0b,0x775,0x6f7)](_0x4b86ae=>_0x502c1c[_0x2a34ba(0x77f,0x6a0,0x764,0x810)](_0x4b86ae))&&delete _0x5acf6d[_0x502c1c];}}function _0x2a34ba(_0x1f0e6a,_0x48239b,_0x3eedda,_0x3b69b4){return _0x8a95cf(_0x1f0e6a-_0xe1ef6d._0x519e51,_0x3b69b4,_0x3eedda-0x87,_0x3b69b4-_0xe1ef6d._0x4b8313);}function _0x3fe637(_0x2608a2,_0x1daec4,_0x3f926f,_0x5a783e){return _0x8a95cf(_0x3f926f-0x199,_0x1daec4,_0x3f926f-0x19d,_0x5a783e-_0x180500._0x109611);}return _0x5acf6d;}function mapSpawnError(_0x52f7f5,_0x38b67f){const _0x275cf6={_0x2f9b62:0x261,_0xa6586b:0xe8,_0x260eae:0xde,_0x2605c6:0x227,_0x563feb:0xd9,_0x28af07:0x1a6,_0x2c4a24:0x63,_0x40a029:0x194},_0xd93e26={_0x37dfd0:0x1cd},_0x3289a2={_0x435a33:0x1aa};if(isErrnoException(_0x52f7f5)&&_0x52f7f5[_0x2a639f(_0x275cf6._0x2f9b62,_0x275cf6._0xa6586b,_0x275cf6._0x260eae,0x142)]==='ENOENT')return new ToolExecutionError('Shell\x20not\x20found:\x20'+_0x38b67f[_0x4c0894(-_0x275cf6._0x2605c6,_0x275cf6._0x563feb,-_0x275cf6._0x28af07,-_0x275cf6._0x2c4a24)],_0x38b67f);function _0x4c0894(_0x479be3,_0x391287,_0x545eda,_0x34afae){return _0x8a95cf(_0x34afae- -_0x3289a2._0x435a33,_0x479be3,_0x545eda-0x1be,_0x34afae-0x1b8);}function _0x2a639f(_0x177d87,_0x881e9a,_0x3bbaff,_0x107aae){return _0x8a95cf(_0x107aae-0xb7,_0x881e9a,_0x3bbaff-0x161,_0x107aae-_0xd93e26._0x37dfd0);}return new ToolExecutionError(_0x52f7f5 instanceof Error?_0x52f7f5[_0x2a639f(0x20b,0x1b5,0x35a,_0x275cf6._0x40a029)]:String(_0x52f7f5),_0x38b67f);}function shellExists(_0x536059){const _0x950874={_0x4a4c4e:0x71b,_0x47396e:0x7be,_0xbd5758:0x8a7,_0x4687e0:0x804,_0x26e7a2:0x841,_0x5249f6:0x7c0},_0x49e293={_0x302c3c:0x36e,_0x3b1a84:0x1eb};function _0x1e1b8a(_0x2f67ef,_0x405297,_0x4814bc,_0x162a2a){return _0x8a95cf(_0x4814bc-_0x49e293._0x302c3c,_0x405297,_0x4814bc-0x166,_0x162a2a-_0x49e293._0x3b1a84);}function _0x5ac237(_0x5e55da,_0x61b33f,_0x5a141a,_0x3eabfc){return _0x12dc71(_0x3eabfc,_0x61b33f-0x69,_0x5a141a-0x4dc,_0x3eabfc-0x1a9);}try{const _0x5cf22f=statSync(_0x536059);return _0x5cf22f[_0x5ac237(_0x950874._0x4a4c4e,_0x950874._0x47396e,0x7ba,_0x950874._0xbd5758)]()&&(_0x5cf22f[_0x5ac237(_0x950874._0x4687e0,0x8ad,_0x950874._0x26e7a2,_0x950874._0x5249f6)]&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x6f66a7){const _0x5bf289={_0x973dd1:0x248,_0x4a55bd:0x220,_0x53d80d:0x1de,_0x4a8455:0x2a3,_0x3ced9a:0x269,_0xa1548c:0x180,_0x1e811e:0x33,_0x1284cb:0x31,_0x289b0a:0x182,_0x635a9b:0x5,_0x2125c9:0xf1,_0xecd71c:0x8,_0x2922be:0x78,_0x24c045:0x1cb,_0x1bc992:0x96,_0x3090e5:0xae,_0x261b6e:0x327,_0x4c327f:0x1bd,_0x34675d:0x420,_0xe735ba:0x467,_0xbf4798:0x3e6,_0xebf2f2:0x538},_0x216079={_0x36fba2:0x158,_0x116caa:0x16f,_0x2d474a:0x12b},_0x5b8998={_0x104840:0x56,_0x43d801:0x5c};if(_0x6f66a7)return _0x6f66a7;if(_0x237bb9[_0x3363c2(0x3a6,_0x5bf289._0x973dd1,_0x5bf289._0x4a55bd,0x9e)]()===_0x3363c2(0x175,_0x5bf289._0x53d80d,_0x5bf289._0x4a8455,_0x5bf289._0x3ced9a))return process[_0x443b0c(-_0x5bf289._0xa1548c,_0x5bf289._0x1e811e,_0x5bf289._0x1284cb,_0x5bf289._0x289b0a)]['ComSpec']||_0x443b0c(-_0x5bf289._0x635a9b,_0x5bf289._0x2125c9,_0x5bf289._0xecd71c,-0x2b);const _0x53d38e=[_0x443b0c(0x1aa,_0x5bf289._0x2922be,0x23a,_0x5bf289._0x24c045),_0x443b0c(0xd9,-_0x5bf289._0x1bc992,_0x5bf289._0x3090e5,-0x6d),'/usr/bin/bash','/usr/bin/sh'];function _0x443b0c(_0xc1837d,_0x5ea927,_0x142854,_0x58dce3){return _0x8a95cf(_0x5ea927- -0x13e,_0x58dce3,_0x142854-_0x5b8998._0x104840,_0x58dce3-_0x5b8998._0x43d801);}function _0x3363c2(_0x51c4ea,_0x4552ed,_0x38d550,_0x2870ed){return _0x12dc71(_0x4552ed,_0x4552ed-_0x216079._0x36fba2,_0x38d550-_0x216079._0x116caa,_0x2870ed-_0x216079._0x2d474a);}for(const _0x5ca531 of _0x53d38e){if(shellExists(_0x5ca531))return _0x5ca531;}const _0x264d8e=process[_0x3363c2(0x2dc,0x3a5,_0x5bf289._0x261b6e,_0x5bf289._0x4c327f)][_0x3363c2(_0x5bf289._0x34675d,0x3a8,_0x5bf289._0xe735ba,0x530)];if(_0x264d8e&&shellExists(_0x264d8e))return _0x264d8e;return _0x3363c2(_0x5bf289._0xbf4798,0x506,0x36c,_0x5bf289._0xebf2f2);}function buildShellArgs(_0x51b8da,_0x56c235){const _0xbd0a7b={_0x2b2967:0x1d5,_0x544763:0x39f,_0x21c938:0x4cb,_0x585979:0x371,_0x2f76bc:0x458,_0x318f7f:0x348,_0x1896da:0x4b4,_0x166c7d:0x3ce,_0x57d6b7:0x3d0,_0x2a7e43:0x575,_0x2b7830:0x44c},_0x38970c={_0x2beeca:0x16b};function _0x199f31(_0x3c2c6a,_0x220c1a,_0x5c7595,_0x283d0b){return _0x8a95cf(_0x3c2c6a-_0x38970c._0x2beeca,_0x283d0b,_0x5c7595-0x13d,_0x283d0b-0x7);}function _0x135235(_0x2ba9da,_0x3b0b01,_0x91379e,_0x2f10bb){return _0x12dc71(_0x2ba9da,_0x3b0b01-0xcd,_0x91379e-0x24c,_0x2f10bb-0xb6);}if(_0x237bb9[_0x199f31(_0xbd0a7b._0x2b2967,0x14f,0x37f,0x16)]()===_0x135235(_0xbd0a7b._0x544763,0x343,0x380,0x4e2)){const _0x33a4a9=/cmd(\.exe)?$/i[_0x199f31(_0xbd0a7b._0x21c938,_0xbd0a7b._0x585979,_0xbd0a7b._0x2f76bc,_0xbd0a7b._0x318f7f)](_0x56c235);return _0x33a4a9?['/d','/s','/c',_0x51b8da]:[_0x135235(_0xbd0a7b._0x1896da,0x405,0x528,_0xbd0a7b._0x166c7d),_0x135235(_0xbd0a7b._0x57d6b7,_0xbd0a7b._0x2a7e43,0x3d7,0x3da),_0x135235(0x589,0x597,_0xbd0a7b._0x2b7830,0x443),_0x51b8da];}return['-c',_0x51b8da];}function resolveWorkingDirectory(_0x183bd7,_0x2bf997,_0x3203b1){const _0x2cae1f={_0x410871:0x72,_0x38a6c9:0x219,_0x1dc428:0x2ee,_0x37fe71:0x18e,_0x47e88e:0x603},_0xa39ffd={_0x23337d:0x45,_0x44ae99:0x65,_0x281328:0x1a},_0x1968aa={_0x488eeb:0xb7,_0xa45721:0xe1},_0xc771be={_0x25b5cc:0x191,_0x49222e:0x41f,_0x455012:0x2f},_0x42ee42={_0x3d8388:0x1f0},_0x2759b5=resolveAllowedPath(_0x2bf997,_0x3203b1,_0x183bd7??'.');function _0x25a987(_0x26cdb2,_0x2de5c2,_0x1d8c78,_0x47a085){return _0x12dc71(_0x47a085,_0x2de5c2-0x1b1,_0x1d8c78- -0x1ef,_0x47a085-_0x42ee42._0x3d8388);}function _0x2ee617(_0xce8660,_0x4c28c1,_0x2c69ba,_0x593807){return _0x12dc71(_0xce8660,_0x4c28c1-_0xc771be._0x25b5cc,_0x593807-_0xc771be._0x49222e,_0x593807-_0xc771be._0x455012);}try{const _0x28421a=statSync(_0x2759b5);if(!_0x28421a[_0x25a987(0x132,_0x2cae1f._0x410871,0xd,0x24)]())throw new ToolExecutionError(_0x25a987(-_0x2cae1f._0x38a6c9,0x15c,-0x6d,-0x8c)+_0x2759b5,{'cwd':_0x2759b5});const _0x38ea36=realpathSync(_0x2759b5),_0x1c5a72=realpathSync(_0x2bf997),_0x2a5d2e=_0x3203b1[_0x25a987(_0x2cae1f._0x1dc428,0x1a2,_0x2cae1f._0x37fe71,0x32c)](_0x239e4f=>{const _0xfec8c5={_0x5d40bc:0xbe,_0x223dc6:0x13f,_0x5e1d23:0x6da};function _0x5d0c3c(_0x56aba9,_0xb57a0d,_0x5ea77d,_0x2fe3e4){return _0x2ee617(_0x56aba9,_0xb57a0d-_0xfec8c5._0x5d40bc,_0x5ea77d-_0xfec8c5._0x223dc6,_0x2fe3e4- -_0xfec8c5._0x5e1d23);}function _0x1170ef(_0x2db554,_0x4cf598,_0x482072,_0x20aa40){return _0x2ee617(_0x482072,_0x4cf598-_0x1968aa._0x488eeb,_0x482072-_0x1968aa._0xa45721,_0x4cf598- -0x443);}try{return realpathSync(_0x1cb898[_0x1170ef(0x118,0xbc,0xa5,-_0xa39ffd._0x23337d)](_0x239e4f));}catch{return _0x1cb898[_0x1170ef(_0xa39ffd._0x44ae99,0xbc,-_0xa39ffd._0x281328,0xe1)](_0x239e4f);}});return resolveAllowedPath(_0x1c5a72,_0x2a5d2e,_0x38ea36);}catch(_0xef1216){if(_0xef1216 instanceof ToolExecutionError)throw _0xef1216;throw new ToolExecutionError(_0x2ee617(0x452,0x505,0x6f3,_0x2cae1f._0x47e88e)+_0x2759b5,{'cwd':_0x2759b5});}}function resolveBashExecutionTarget(_0x53ad57,_0x1da66c={}){const _0x36c99d={_0x38297b:0x63,_0x3f502d:0x148,_0x442dda:0xf2,_0x147a2d:0xab,_0xe49671:0x37,_0x2390e1:0x21f,_0x5d4b65:0x3cd,_0xb9b2f:0x23d,_0x110df7:0x56,_0x4c68b0:0x1c8,_0x17b385:0x126,_0x3164ec:0x289,_0x3975ad:0x1df,_0x4679bc:0x25f},_0x15ecaf={_0x89646:0x1a5},_0x28e592={_0x194c07:0x35},_0x43fb39=_0x1cb898[_0x58a0bc(_0x36c99d._0x38297b,_0x36c99d._0x3f502d,_0x36c99d._0x442dda,_0x36c99d._0x147a2d)](_0x1da66c['defaultCwd']??process['cwd']()),_0x51b7a6=resolveDefaultShell(_0x1da66c[_0x58a0bc(0x1bb,-_0x36c99d._0xe49671,0x34,0x159)]);function _0x58a0bc(_0x1f25ff,_0xb5cb8f,_0x188cf2,_0x156e5b){return _0x12dc71(_0xb5cb8f,_0xb5cb8f-0x106,_0x156e5b- -_0x28e592._0x194c07,_0x156e5b-0xc4);}function _0x2d84a5(_0x5922fd,_0xda126,_0x90fc11,_0x44a17b){return _0x8a95cf(_0x44a17b- -0x1aa,_0x5922fd,_0x90fc11-0x15c,_0x44a17b-_0x15ecaf._0x89646);}return{'command':_0x53ad57[_0x58a0bc(_0x36c99d._0x2390e1,_0x36c99d._0x5d4b65,0x1ce,_0x36c99d._0xb9b2f)],'cwd':resolveWorkingDirectory(_0x53ad57[_0x58a0bc(_0x36c99d._0x110df7,_0x36c99d._0x4c68b0,0x264,_0x36c99d._0x17b385)],_0x43fb39,_0x1da66c[_0x58a0bc(0xfc,0x1f9,0x11e,_0x36c99d._0x3164ec)]??[]),'shellPath':_0x51b7a6,'dialect':resolveShellDialect(_0x51b7a6),'background':_0x53ad57[_0x58a0bc(_0x36c99d._0x3975ad,0x14f,0xba,_0x36c99d._0x4679bc)]??![]};}function resolveShellDialect(_0x36523d){const _0x375591={_0x8976e5:0x16c,_0x3aea47:0x88,_0x2fb3d5:0x6c,_0x181e7c:0x2c8,_0x730756:0x141,_0x41c5b9:0xaf,_0x16c335:0x2a7,_0x26eb22:0xed,_0x4baaa3:0x14a,_0x2bb663:0x14c,_0x2de889:0xce,_0x2ced73:0x37,_0x665173:0x42,_0xe24034:0x2ed,_0x1addd6:0x6a1,_0x4f1d0f:0x594},_0x12a60c={_0x131f0f:0x1ef,_0x404722:0x26},_0x226995={_0x26465f:0x85,_0x529a5a:0xef};if(_0x237bb9[_0x286c45(-0x12b,-0x137,-_0x375591._0x8976e5,-_0x375591._0x3aea47)]()==='win32')return _0x286c45(-0x4a,_0x375591._0x2fb3d5,0x2f,0x141);function _0x142505(_0x3bef1c,_0x3d2c96,_0x1c9a97,_0x29d241){return _0x12dc71(_0x3bef1c,_0x3d2c96-_0x226995._0x26465f,_0x3d2c96-0x1c6,_0x29d241-_0x226995._0x529a5a);}const _0x16476d=_0x1cb898[_0x142505(0x15a,_0x375591._0x181e7c,_0x375591._0x730756,0x406)](_0x36523d)['toLowerCase']();if(_0x16476d===_0x286c45(-0x30b,-0x11a,-0x1de,-_0x375591._0x41c5b9))return _0x286c45(-_0x375591._0x16c335,-_0x375591._0x26eb22,-0x1de,-0x57);function _0x286c45(_0xf05884,_0x143a34,_0x24e588,_0x49ac8e){return _0x12dc71(_0x49ac8e,_0x143a34-_0x12a60c._0x131f0f,_0x24e588- -0x21d,_0x49ac8e-_0x12a60c._0x404722);}if(_0x16476d==='sh'||_0x16476d===_0x286c45(-_0x375591._0x4baaa3,-_0x375591._0x2bb663,-_0x375591._0x2de889,_0x375591._0x2ced73))return _0x286c45(0x24a,_0x375591._0x665173,0x140,_0x375591._0xe24034);return _0x142505(_0x375591._0x1addd6,_0x375591._0x4f1d0f,0x490,0x3ea);}function emitChunk(_0x5bf063,_0xe4cdd8,_0xe3a4eb,_0x417f2b){const _0x132a79={_0x399242:0x35e,_0x4018b3:0x5ea,_0x355e9d:0x4d9,_0x45af10:0x181,_0x31e45c:0x23d},_0x279197={_0x173d5e:0xba,_0x13548b:0x17},_0x3f100b={_0x1059c6:0x100};_0x5bf063[_0x2b4c0e(_0x132a79._0x399242,_0x132a79._0x4018b3,_0x132a79._0x355e9d,0x45a)](_0xe3a4eb),_0xe4cdd8[_0x510c85(0x2d3,0x33d,_0x132a79._0x45af10,_0x132a79._0x31e45c)](_0xe3a4eb);function _0x2b4c0e(_0x16066d,_0x1b8509,_0x353b54,_0x1c1d51){return _0x12dc71(_0x1b8509,_0x1b8509-0x98,_0x1c1d51-0x1fa,_0x1c1d51-_0x3f100b._0x1059c6);}function _0x510c85(_0x51d0cc,_0x48084e,_0x1af1f3,_0x547239){return _0x8a95cf(_0x51d0cc-_0x279197._0x173d5e,_0x48084e,_0x1af1f3-_0x279197._0x13548b,_0x547239-0xf8);}_0x417f2b();}function appendChunk(_0x3ac8fa,_0xc1d7f4,_0x175730,_0x31ea65,_0x21a5d7,_0x548717){const _0x5b4723={_0x3d1de1:0x907,_0x2007bf:0x75a,_0x24c892:0x8b0,_0x3fed53:0x729,_0x332a77:0x7e7,_0x3948d9:0x877,_0xc7ff02:0x6ed,_0x5b2458:0x9f,_0x4d9182:0x252,_0xb0a2f0:0x7af,_0x39b231:0x1a9,_0x2fb191:0xc7,_0x314110:0x8a5,_0x193cbb:0x7ae,_0x805384:0x779,_0x3bd449:0x266,_0x162d8a:0x102,_0x15d231:0x23f,_0x58b1eb:0xaa,_0x4480aa:0x13a,_0x53ff8e:0x85a,_0x5987aa:0x76e,_0x37aa0a:0x877,_0x25c944:0x79c,_0x11fd87:0xe1,_0xb5ba0b:0x84,_0x3eb1f7:0x53b,_0x56507a:0x4e8},_0x423eb9={_0x13d14b:0x2a5,_0x48a1cb:0xb6};function _0x166c24(_0x18a0f2,_0x382be4,_0x27b21d,_0x1d7d92){return _0x12dc71(_0x382be4,_0x382be4-0x13d,_0x27b21d- -_0x423eb9._0x13d14b,_0x1d7d92-_0x423eb9._0x48a1cb);}const _0x2335b7=_0x31ea65?stripAnsiAndControls(_0x175730):_0x175730;function _0x281565(_0x1aba9c,_0x380ea6,_0x3098ac,_0x1ac9fc){return _0x12dc71(_0x3098ac,_0x380ea6-0x155,_0x1ac9fc-0x48d,_0x1ac9fc-0x6c);}if(_0x2335b7[_0x281565(_0x5b4723._0x3d1de1,0x5dd,0x60a,0x779)]===0x0)return;if(!_0x548717){emitChunk(_0x3ac8fa,_0xc1d7f4,_0x2335b7,_0x21a5d7);return;}let _0x16b90d=0x0,_0x2bc8e7=_0x2335b7[_0x281565(_0x5b4723._0x2007bf,_0x5b4723._0x24c892,_0x5b4723._0x3fed53,0x82d)]('\x0a');while(_0x2bc8e7>=0x0){_0x548717['trailingChunks'][_0x281565(_0x5b4723._0x332a77,0x6b9,_0x5b4723._0x3948d9,_0x5b4723._0xc7ff02)](_0x2335b7[_0x166c24(-0x8a,-_0x5b4723._0x5b2458,-0x24a,-_0x5b4723._0x4d9182)](_0x16b90d,_0x2bc8e7));const _0x16eb96=_0x548717[_0x281565(_0x5b4723._0xb0a2f0,0x874,0x834,0x79c)][_0x166c24(-_0x5b4723._0x39b231,-0x267,-_0x5b4723._0x2fb191,0x5c)]('');_0x548717['trailingChunks'][_0x281565(_0x5b4723._0x314110,_0x5b4723._0x193cbb,0x5c6,_0x5b4723._0x805384)]=0x0,_0x548717[_0x166c24(-0xaf,-0x15d,-0x1cc,-0x9)][_0x166c24(_0x5b4723._0x3bd449,0x96,_0x5b4723._0x162d8a,_0x5b4723._0x15d231)](_0x16eb96)&&emitChunk(_0x3ac8fa,_0xc1d7f4,_0x16eb96+'\x0a',_0x21a5d7),_0x16b90d=_0x2bc8e7+0x1,_0x2bc8e7=_0x2335b7['indexOf']('\x0a',_0x16b90d);}_0x16b90d<_0x2335b7[_0x166c24(-_0x5b4723._0x58b1eb,-0x183,0x47,_0x5b4723._0x4480aa)]&&_0x548717[_0x281565(_0x5b4723._0x53ff8e,_0x5b4723._0x5987aa,_0x5b4723._0x37aa0a,_0x5b4723._0x25c944)][_0x166c24(_0x5b4723._0x11fd87,0x10,-0x45,_0x5b4723._0xb5ba0b)](_0x2335b7[_0x281565(0x465,0x32a,_0x5b4723._0x3eb1f7,_0x5b4723._0x56507a)](_0x16b90d));}function flushOutputRegex(_0x43efd3,_0x55bb21,_0xd897e3,_0x161687){const _0x29196d={_0x51669a:0x49,_0x3f986d:0x15d,_0x1f93d3:0x465,_0x4e27d1:0x360,_0x624e3:0x405,_0xb59544:0x3b7,_0xcce093:0x2d9,_0x5420ea:0x3cb};function _0x533d51(_0x20b5c1,_0x5a2e3a,_0x5b71ad,_0x259658){return _0x12dc71(_0x5a2e3a,_0x5a2e3a-0x59,_0x5b71ad-0x51,_0x259658-0xdb);}if(!_0xd897e3||_0xd897e3[_0x44fe6f(_0x29196d._0x51669a,_0x29196d._0x3f986d,-0xd2,-0x3d)]['length']===0x0)return;const _0x448fa5=_0xd897e3[_0x533d51(_0x29196d._0x1f93d3,0x2b9,_0x29196d._0x4e27d1,_0x29196d._0x624e3)][_0x533d51(_0x29196d._0xb59544,0x3dd,0x22f,0x328)]('');_0xd897e3[_0x533d51(0x30c,_0x29196d._0xcce093,0x360,0x37f)][_0x533d51(0x1b4,0x2a8,0x33d,_0x29196d._0x5420ea)]=0x0;function _0x44fe6f(_0x9b9097,_0x7d3806,_0x4b2e61,_0x1b8f55){return _0x8a95cf(_0x9b9097- -0x27f,_0x7d3806,_0x4b2e61-0x19f,_0x1b8f55-0x18c);}_0xd897e3['regex']['test'](_0x448fa5)&&emitChunk(_0x43efd3,_0x55bb21,_0x448fa5,_0x161687);}function createBashTool(_0x155890={}){const _0x42cd04={_0x833e93:0x294,_0x56ee57:0x16f,_0x107e2c:0x4b5,_0x8ab6a8:0x49f,_0x90de7a:0xfe,_0x3ece26:0x3e6,_0x1a139e:0x29d,_0x11f266:0x5e4,_0x50c308:0x34d,_0x242e80:0x1c9,_0x5c2b96:0x2b9,_0x369403:0x2f7,_0x3840b7:0x335,_0x52ff92:0x308,_0x2f39ca:0x3ad,_0x55827b:0x447,_0x276a17:0x482,_0x333247:0x1f4,_0x5c7993:0x16b,_0x49b88b:0x38b,_0x11f200:0x662,_0x39ad0e:0x211,_0x15aafd:0x1c3,_0x1ce87b:0x232,_0x4a68c1:0x2ef,_0x2b0247:0x197,_0x6d8bd7:0x103,_0xd8c9bf:0x27f,_0xf920a9:0x83,_0xcd014:0x515,_0x53f2bb:0x2a1,_0x3fd2ee:0x1b1,_0xd6fe27:0x134,_0x4034b4:0xfd,_0x1a7e8b:0x2da,_0x4487ff:0x56d,_0x2e7d27:0x3ab,_0x3acb88:0x4a5,_0x4de68a:0x575,_0x1b1bd6:0x3c6,_0x4213ee:0x284,_0x13187d:0x39f,_0x2b1fe9:0x220,_0x4eeb29:0x28d},_0x3f3944={_0x595369:0x4d,_0x53213c:0x250,_0x22312e:0x36,_0x336c29:0x5d,_0x24b20c:0x1a3,_0x4cb4d2:0x2a1,_0x482080:0x350,_0x4aa43b:0x147,_0x12c36:0x19c,_0x4246a9:0x17,_0x267b1a:0x107,_0x47620c:0x170,_0x53adda:0x125,_0x5ec479:0x108,_0x62bfc2:0xb0,_0x1767dd:0x3d,_0x4cafc6:0x177,_0x591786:0x49,_0x4034b3:0x1d8,_0x23cae6:0x246,_0x3df8ee:0xb6,_0x42a14f:0xdb,_0x5f5bb4:0x14f,_0x4fb1e9:0x24d,_0x31e84e:0x15a,_0x1862af:0x24f,_0x5ebbe3:0x2c6,_0x1f7399:0x13e,_0x1733c6:0x32e,_0x25c84d:0x169,_0x18a583:0x286,_0x2a329c:0x188,_0x410df6:0x261,_0x56b0fa:0x5e,_0x454d09:0xc2,_0x39fae6:0x215,_0x30d630:0x108,_0x59de93:0x1ac,_0x224c81:0xa9,_0x46a857:0x25,_0x54c606:0x169,_0x1bc21b:0x18,_0x222983:0x136,_0x50ffb4:0x19a,_0x442925:0xc1,_0x4fb4b5:0x322,_0x2f3cf6:0x40,_0x17af46:0x10c,_0x30607b:0x11d,_0x115c61:0x21,_0x44fad5:0x2d8,_0x3d2843:0x1b5,_0x2a5158:0x49,_0x16f0c7:0x2ed,_0x29bff6:0x192,_0x12fae8:0x5e,_0x34dc39:0x42,_0x4c8df1:0xc7,_0x323ea8:0x6,_0x1e7c96:0xd8,_0x2b3204:0x1d6,_0x8fcb7f:0xf4,_0x21cbc7:0x1f3,_0x257498:0x362,_0x477694:0x2fb,_0x7721e4:0x89,_0x4afec6:0x84,_0x515063:0x5e,_0x36c5be:0xc8,_0x40db07:0x1ab,_0x430744:0xd3,_0x228fcf:0x18d,_0x3e4d93:0x2aa,_0x531f41:0x21e,_0x48e7e0:0x175,_0x36bffc:0x1e4,_0x14f824:0xe8,_0x328577:0x40b,_0x3fa5b6:0xde,_0x27faac:0x266,_0x41a4ca:0x2d0,_0x2dea7a:0x259,_0xdda7bb:0x155,_0x55d56a:0x48,_0x991e29:0x8d,_0x1072c0:0x94,_0x227fe5:0x68,_0x9b31b4:0xb7,_0x1c0ec5:0x18b,_0x34a9db:0x290,_0x364984:0x14e,_0x2970a1:0xea,_0x14d3a7:0xf8,_0xd0c30a:0x8f,_0x39c89f:0x5f,_0x1f45d9:0x3a,_0x296f3a:0x1ba,_0x45e97a:0x7f,_0x1e4ba3:0x14e,_0x579938:0x2d4,_0xb891e3:0x221,_0x34a92e:0x178,_0x33875c:0xed,_0x3b0a74:0x12f,_0x23769a:0x276,_0x105438:0x28b,_0x1c09e5:0x30e,_0x47325a:0x2f8,_0x43d944:0x3aa,_0x204740:0x11,_0x4322fe:0x1dd,_0x483f05:0x1fa,_0x57beea:0x2a7,_0x22cc1a:0x94,_0x3959ac:0xa4,_0xaf845e:0x1e,_0x7372a0:0x166,_0x6fe10b:0x28e},_0x3464ea={_0x5b1963:0x25c},_0x2a200b={_0x5e37ce:0x163},_0x475f34={_0x308851:0x114},_0x597b77={_0xda898e:0xde,_0x508722:0x18a},_0x15f6e1=_0x1cb898[_0x17c440(0x3a5,_0x42cd04._0x833e93,0x234,_0x42cd04._0x56ee57)](_0x155890[_0x451266(0x5d0,_0x42cd04._0x107e2c,_0x42cd04._0x8ab6a8,0x568)]??process[_0x451266(0x182,_0x42cd04._0x90de7a,0x283,0x38f)]()),_0x4e1a31=_0x155890[_0x451266(0x2ce,0x3f3,_0x42cd04._0x3ece26,_0x42cd04._0x1a139e)]??[];function _0x451266(_0x5a41b4,_0x46a1d6,_0x15f169,_0x4e06c3){return _0x12dc71(_0x46a1d6,_0x46a1d6-_0x597b77._0xda898e,_0x15f169-0x128,_0x4e06c3-_0x597b77._0x508722);}function _0x17c440(_0x34e619,_0x5d19fa,_0x3bedfe,_0x52d6a8){return _0x8a95cf(_0x3bedfe-0x19b,_0x34e619,_0x3bedfe-_0x475f34._0x308851,_0x52d6a8-0x194);}const _0x164230=_0x155890[_0x17c440(0x6b0,0x643,0x4e9,_0x42cd04._0x11f266)]??DEFAULT_TIMEOUT_MS,_0x4547a0=_0x155890['stripAnsi']??!![],_0x306022=_0x155890[_0x17c440(0x401,0x1b1,_0x42cd04._0x50c308,0x449)]??_0x451266(_0x42cd04._0x242e80,0x186,_0x42cd04._0x5c2b96,0x16e),_0x382f3e=_0x155890[_0x451266(_0x42cd04._0x369403,_0x42cd04._0x3840b7,0x252,_0x42cd04._0x52ff92)]??[],_0x273f80=_0x155890['scrubEnvPrefixes']??[],_0x8b13e8=_0x155890['backgroundRegistry'];return defineTool({'name':_0x306022,'permissionClass':_0x17c440(0x4e9,_0x42cd04._0x2f39ca,_0x42cd04._0x55827b,_0x42cd04._0x276a17),'description':_0x155890[_0x451266(0x1ca,0x1a9,_0x42cd04._0x333247,_0x42cd04._0x5c7993)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':_0x17c440(0x427,_0x42cd04._0x49b88b,0x4de,_0x42cd04._0x11f200),'properties':{'command':{'type':_0x17c440(0x155,_0x42cd04._0x39ad0e,_0x42cd04._0x15aafd,0x30e)},'description':{'type':_0x451266(_0x42cd04._0x1ce87b,_0x42cd04._0x4a68c1,_0x42cd04._0x2b0247,_0x42cd04._0x6d8bd7),'description':_0x451266(0x160,0x20e,_0x42cd04._0xd8c9bf,0xd9)},'cwd':{'type':_0x451266(_0x42cd04._0xf920a9,0x21b,0x197,0x15d)},'timeoutMs':{'type':'number'},'ignoreOutput':{'type':_0x451266(0x323,0x31f,0x4a3,_0x42cd04._0xcd014)},'outputRegex':{'type':_0x451266(_0x42cd04._0x53f2bb,0x149,_0x42cd04._0x2b0247,_0x42cd04._0x3fd2ee),'description':_0x451266(_0x42cd04._0xd6fe27,_0x42cd04._0x4034b4,0x24b,0x17f)},'runInBackground':{'type':_0x451266(_0x42cd04._0x1a7e8b,_0x42cd04._0x4487ff,0x4a3,_0x42cd04._0x2e7d27)}},'required':[_0x17c440(_0x42cd04._0x3acb88,_0x42cd04._0x4de68a,_0x42cd04._0x1b1bd6,_0x42cd04._0x4213ee),_0x17c440(_0x42cd04._0x13187d,0x2cd,_0x42cd04._0x2b1fe9,_0x42cd04._0x4eeb29)]},async *'execute'(_0x8ea60b,_0x48d0b6){const _0x1d6de7={_0x2a426a:0xbc,_0xc35599:0x20d,_0x3317fd:0x1ec,_0x1e9370:0x20,_0x114c6c:0x2c7},_0x1c9751={_0x4cd312:0x12f,_0x455a67:0x146,_0x1290fc:0x4d8,_0x371eb1:0x1db,_0x917fc6:0x697},_0x4f1fa2={_0x43bd86:0x25f},_0x2dd187={_0xb1dfc4:0x72,_0x11f873:0x4db},_0x2afd4a={_0x2aec82:0x138,_0xff3823:0x93},_0x5b3ff8={_0x1946c4:0x838,_0x522ed2:0x612},_0x6f5457={_0xd1b1fa:0x79a,_0x5ea35d:0x5d},_0x468e80={_0x58aeb:0x1c6,_0x45610e:0x199},_0x55eb62=_0x8ea60b['timeoutMs']??_0x164230;if(!Number[_0x2412e3(-0xfb,-0x286,-0x5b,0x36)](_0x55eb62)||_0x55eb62<0x1)throw new ToolExecutionError(_0x2412e3(-0x117,-0x147,-_0x3f3944._0x595369,-0x2d8),{'command':_0x8ea60b[_0x55a88f(_0x3f3944._0x53213c,0x111,-_0x3f3944._0x22312e,0x1f1)]});throwIfAborted(_0x48d0b6[_0x2412e3(0x6,-0xc2,_0x3f3944._0x336c29,-0xb3)]);const _0x9f251c=_0x8ea60b[_0x2412e3(-0xa,0x21,_0x3f3944._0x24b20c,0x1e)]??![],_0x399089=resolveBashExecutionTarget(_0x8ea60b,{'defaultCwd':_0x15f6e1,'allowedDirs':_0x4e1a31,'shellPath':_0x155890['shellPath']}),{cwd:_0x5add62,shellPath:_0x46fd27}=_0x399089,_0x16f990=buildShellArgs(_0x8ea60b[_0x55a88f(_0x3f3944._0x4cb4d2,0x111,0x267,0x2af)],_0x46fd27),_0x2d295d=_0x237bb9[_0x2412e3(-0x21f,-0x317,-_0x3f3944._0x482080,-_0x3f3944._0x4aa43b)]()===_0x2412e3(-_0x3f3944._0x12c36,-0x114,-0x332,-0x6e);function _0x2412e3(_0xbcfebc,_0x5b8ab1,_0x4cb374,_0x4db5bc){return _0x17c440(_0x4db5bc,_0x5b8ab1-_0x2a200b._0x5e37ce,_0xbcfebc- -0x424,_0x4db5bc-0x1ae);}const _0x2028af=buildChildEnv(_0x155890['env'],_0x382f3e,_0x273f80);if(_0x8ea60b['runInBackground']){if(!_0x8b13e8)throw new ToolExecutionError(_0x55a88f(_0x3f3944._0x4246a9,_0x3f3944._0x267b1a,-0x8d,0x226),{'command':_0x8ea60b[_0x55a88f(_0x3f3944._0x47620c,0x111,_0x3f3944._0x53adda,-0x98)]});throwIfAborted(_0x48d0b6[_0x2412e3(0x6,_0x3f3944._0x5ec479,_0x3f3944._0x62bfc2,0x153)]),await _0x155890[_0x2412e3(-_0x3f3944._0x1767dd,-_0x3f3944._0x4cafc6,_0x3f3944._0x591786,-_0x3f3944._0x4034b3)]?.(_0x399089,_0x48d0b6[_0x2412e3(-0x165,-_0x3f3944._0x23cae6,-0x9d,-_0x3f3944._0x3df8ee)],_0x48d0b6),throwIfAborted(_0x48d0b6['signal']);const _0x1d778a=_0x8b13e8[_0x2412e3(-_0x3f3944._0x42a14f,-0x165,-_0x3f3944._0x5f5bb4,-0x267)]();let _0x55e7c2;try{_0x55e7c2=_0x3923c4(_0x46fd27,_0x16f990,{'cwd':_0x5add62,'env':_0x2028af,'stdio':[_0x2412e3(-_0x3f3944._0x4fb1e9,-_0x3f3944._0x31e84e,-_0x3f3944._0x1862af,-_0x3f3944._0x5ebbe3),_0x55a88f(_0x3f3944._0x1f7399,0x259,_0x3f3944._0x1733c6,0x351),'pipe'],'shell':![],'windowsHide':!![],'detached':!_0x2d295d});}catch(_0x553cb3){_0x8b13e8[_0x2412e3(-_0x3f3944._0x25c84d,-_0x3f3944._0x18a583,-_0x3f3944._0x2a329c,-_0x3f3944._0x410df6)](_0x1d778a);throw mapSpawnError(_0x553cb3,{'command':_0x8ea60b[_0x2412e3(-_0x3f3944._0x56b0fa,0x14d,_0x3f3944._0x454d09,0x86)],'cwd':_0x5add62,'shellPath':_0x46fd27});}let _0x27c00f;try{_0x27c00f=_0x8b13e8[_0x2412e3(-0x1a1,-0x338,-_0x3f3944._0x39fae6,-_0x3f3944._0x30d630)](_0x1d778a,{'child':_0x55e7c2,'command':_0x8ea60b['command'],'cwd':_0x5add62,'stripAnsi':_0x4547a0,...!_0x2d295d&&_0x55e7c2['pid']!==void 0x0?{'processGroupId':_0x55e7c2[_0x2412e3(-0x166,-_0x3f3944._0x59de93,-_0x3f3944._0x224c81,_0x3f3944._0x46a857)]}:{}});}catch(_0x19eb76){_0x8b13e8[_0x2412e3(-_0x3f3944._0x54c606,-_0x3f3944._0x1bc21b,-_0x3f3944._0x222983,-_0x3f3944._0x50ffb4)](_0x1d778a),_0x55e7c2[_0x2412e3(-0x21d,-_0x3f3944._0x442925,-_0x3f3944._0x4fb4b5,-0x135)](_0x55a88f(0x1f1,0x1ac,0x11a,0x333),()=>{});try{killProcessGroup(_0x55e7c2,_0x2d295d);}catch{}throw _0x19eb76;}return createToolOutput(_0x2412e3(_0x3f3944._0x2f3cf6,0xff,-_0x3f3944._0x17af46,_0x3f3944._0x30607b)+_0x27c00f[_0x55a88f(-_0x3f3944._0x115c61,-0x116,-_0x3f3944._0x44fad5,-0x234)]+_0x2412e3(-_0x3f3944._0x3d2843,-0x71,-0x1b9,-0x228)+(_0x27c00f[_0x2412e3(-0x166,-_0x3f3944._0x2a5158,-_0x3f3944._0x16f0c7,-0x274)]??'?')+').\x20Use\x20BashOutput\x20to\x20read\x20its\x20output\x20and\x20KillShell\x20to\x20stop\x20it.',{'shellId':_0x27c00f['shellId'],'status':_0x27c00f[_0x2412e3(0x37,-0x160,-0x2d,-_0x3f3944._0x29bff6)],'command':_0x27c00f[_0x2412e3(-_0x3f3944._0x12fae8,_0x3f3944._0x34dc39,0xd2,_0x3f3944._0x42a14f)],'description':_0x8ea60b['description'],'cwd':_0x27c00f[_0x55a88f(-_0x3f3944._0x4c8df1,-_0x3f3944._0x323ea8,_0x3f3944._0x3d2843,_0x3f3944._0x1e7c96)],'pid':_0x27c00f['pid']??null});}let _0x24b9ea,_0x6c27d7;if(_0x8ea60b[_0x2412e3(-_0x3f3944._0x2b3204,-0x388,-_0x3f3944._0x8fcb7f,-_0x3f3944._0x21cbc7)]!==void 0x0)try{const _0x59a8f8=new RegExp(_0x8ea60b[_0x2412e3(-0x1d6,-0x71,-_0x3f3944._0x257498,-_0x3f3944._0x477694)]);_0x24b9ea={'regex':_0x59a8f8,'trailingChunks':[]},_0x6c27d7={'regex':_0x59a8f8,'trailingChunks':[]};}catch(_0x5ce52f){throw new ToolExecutionError(_0x55a88f(-0x13d,-_0x3f3944._0x7721e4,0xf4,-0x231)+(_0x5ce52f instanceof Error?_0x5ce52f[_0x55a88f(-0x18a,-_0x3f3944._0x1767dd,0x14d,-_0x3f3944._0x4afec6)]:String(_0x5ce52f)),{'command':_0x8ea60b[_0x2412e3(-_0x3f3944._0x515063,0x12a,-0x21e,-_0x3f3944._0x36c5be)],'outputRegex':_0x8ea60b[_0x2412e3(-0x1d6,-0x1df,-_0x3f3944._0x40db07,-_0x3f3944._0x430744)]});}await _0x155890[_0x55a88f(_0x3f3944._0x228fcf,0x132,0x2e2,_0x3f3944._0x3e4d93)]?.(_0x399089,_0x48d0b6[_0x2412e3(-0x165,-_0x3f3944._0x531f41,-_0x3f3944._0x430744,-0x1e7)],_0x48d0b6),throwIfAborted(_0x48d0b6[_0x55a88f(0x33f,_0x3f3944._0x48e7e0,0x26b,0x1ed)]);let _0x4b4a6f;try{_0x4b4a6f=_0x3923c4(_0x46fd27,_0x16f990,{'cwd':_0x5add62,'env':_0x2028af,'stdio':_0x9f251c?[_0x55a88f(-_0x3f3944._0x36bffc,-0xde,_0x3f3944._0x14f824,-0xc7),_0x2412e3(-_0x3f3944._0x4fb1e9,-0x2f2,-0x191,-_0x3f3944._0x328577),_0x55a88f(-0x11b,-_0x3f3944._0x3fa5b6,0x5f,-0x26e)]:[_0x55a88f(-_0x3f3944._0x27faac,-0xde,-0x13f,0xd2),'pipe',_0x55a88f(_0x3f3944._0x41a4ca,_0x3f3944._0x2dea7a,0xad,0xb0)],'shell':![],'windowsHide':!![],'detached':!_0x2d295d});}catch(_0x4eee28){throw mapSpawnError(_0x4eee28,{'command':_0x8ea60b['command'],'cwd':_0x5add62,'shellPath':_0x46fd27});}const _0x5e7de5=[];function _0x55a88f(_0xbb1ccf,_0x179c63,_0x16c72d,_0x55422b){return _0x17c440(_0x55422b,_0x179c63-_0x468e80._0x58aeb,_0x179c63- -0x2b5,_0x55422b-_0x468e80._0x45610e);}const _0xea0daa=[],_0x3a7987=new _0x170167('utf8'),_0x570d68=new _0x170167(_0x2412e3(0xf7,0x75,_0x3f3944._0xdda7bb,_0x3f3944._0x55d56a));let _0x1841ef,_0x1d67d4=![],_0x5c7127;const _0x2948e7=()=>{if(!_0x1841ef)return;const _0xbeb743=_0x1841ef;_0x1841ef=void 0x0,_0xbeb743();},_0x392778=async()=>{function _0x20d1d9(_0x23150e,_0x27a90f,_0x6ab545,_0x2ff48c){return _0x2412e3(_0x6ab545-_0x6f5457._0xd1b1fa,_0x27a90f-_0x6f5457._0x5ea35d,_0x6ab545-0xa,_0x27a90f);}if(_0xea0daa[_0x20d1d9(_0x5b3ff8._0x1946c4,_0x5b3ff8._0x522ed2,0x7b6,0x6a0)]>0x0||_0x1d67d4)return;await new Promise(_0x4f9cc2=>{_0x1841ef=_0x4f9cc2;});},_0x57e589=_0x54fd01=>{function _0x1f6b9b(_0x56b97a,_0x5890f9,_0xa2b6a5,_0x14a9cc){return _0x55a88f(_0x56b97a-_0x2afd4a._0x2aec82,_0xa2b6a5- -0xdd,_0xa2b6a5-_0x2afd4a._0xff3823,_0x14a9cc);}appendChunk(_0x5e7de5,_0xea0daa,_0x3a7987[_0x1f6b9b(_0x3464ea._0x5b1963,0x6e,0x13a,0x2d1)](_0x54fd01),_0x4547a0,_0x2948e7,_0x24b9ea);},_0x583b6b=_0xff0b4e=>{const _0x5d455a={_0x4ee6e3:0x14b};function _0x4def82(_0x17b5bd,_0x353de,_0x14ff58,_0x536901){return _0x55a88f(_0x17b5bd-0x143,_0x536901-0x14b,_0x14ff58-_0x5d455a._0x4ee6e3,_0x17b5bd);}appendChunk(_0x5e7de5,_0xea0daa,_0x570d68[_0x4def82(0x2b2,0x19d,0x1c5,0x362)](_0xff0b4e),_0x4547a0,_0x2948e7,_0x6c27d7);};_0x4b4a6f[_0x2412e3(-_0x3f3944._0x991e29,-0x1dc,-0x1c1,-0x1d9)]?.['on']('data',_0x57e589),_0x4b4a6f['stderr']?.['on'](_0x2412e3(_0x3f3944._0x1072c0,0xd0,_0x3f3944._0x227fe5,0x1d7),_0x583b6b);let _0x8c9b01=![],_0x49df31;const _0xc004a1=addAbortListener(_0x48d0b6[_0x55a88f(_0x3f3944._0x9b31b4,_0x3f3944._0x48e7e0,_0x3f3944._0x1767dd,_0x3f3944._0x18a583)],()=>{_0x5c7127=toAbortError(_0x48d0b6[_0x1ebd97(0x6d3,0x80e,0x650,0x67f)]['reason']),_0x1d67d4=!![];function _0x1ebd97(_0x13c7a1,_0x28c61f,_0x313234,_0x4725f5){return _0x55a88f(_0x13c7a1-_0x2dd187._0xb1dfc4,_0x313234-_0x2dd187._0x11f873,_0x313234-0x11a,_0x13c7a1);}_0x2948e7();try{killProcessGroup(_0x4b4a6f,_0x2d295d);}catch{}});try{const _0x593c9d=new Promise((_0x391e3c,_0x4657f9)=>{const _0x1e8ee0={_0x366cdb:0x75e,_0x488999:0x62a,_0x28ad9d:0x62a},_0x1e7a2a={_0x515c2a:0x234},_0x55e009={_0x37d3b5:0x3d0,_0x349c69:0x489},_0x290f68={_0x39577a:0x31,_0x3df9a7:0x49,_0x1dccfc:0x115};function _0x5bb7ec(_0x2529a7,_0x5e28e6,_0xdfd85c,_0x39d9dd){return _0x2412e3(_0x39d9dd-_0x4f1fa2._0x43bd86,_0x5e28e6-0x19c,_0xdfd85c-0x88,_0x5e28e6);}function _0x1abaaf(_0x29f753,_0x492c4a,_0x63d517,_0x5f5829){return _0x2412e3(_0x29f753-_0x290f68._0x39577a,_0x492c4a-_0x290f68._0x3df9a7,_0x63d517-_0x290f68._0x1dccfc,_0x5f5829);}const _0x469131=()=>{const _0x59cf16={_0x451ae3:0x2a8};function _0x457943(_0x115bdb,_0x186046,_0x5ca7e8,_0xed3b39){return _0x2a64(_0xed3b39-_0x59cf16._0x451ae3,_0x115bdb);}_0x49df31&&(clearTimeout(_0x49df31),_0x49df31=void 0x0),_0x4b4a6f[_0x457943(0x566,_0x55e009._0x37d3b5,_0x55e009._0x349c69,0x4fe)]('error',_0x3e8f78),_0x4b4a6f['off']('close',_0x476fbb);},_0x3e8f78=_0x3e6521=>{_0x1d67d4=!![],_0x2948e7(),_0x469131(),_0x4657f9(_0x5c7127??_0x3e6521);},_0x476fbb=(_0x4cd0a5,_0x3be1e9)=>{_0x8c9b01=!![],appendChunk(_0x5e7de5,_0xea0daa,_0x3a7987[_0xa3ccf7(_0x1e8ee0._0x366cdb,0x566,_0x1e8ee0._0x488999,0x64f)](),_0x4547a0,_0x2948e7,_0x24b9ea),appendChunk(_0x5e7de5,_0xea0daa,_0x570d68[_0xa3ccf7(0x48e,0x67d,_0x1e8ee0._0x28ad9d,0x77e)](),_0x4547a0,_0x2948e7,_0x6c27d7),flushOutputRegex(_0x5e7de5,_0xea0daa,_0x24b9ea,_0x2948e7),flushOutputRegex(_0x5e7de5,_0xea0daa,_0x6c27d7,_0x2948e7),_0x1d67d4=!![],_0x2948e7(),_0x469131();if(_0x5c7127){_0x4657f9(_0x5c7127);return;}function _0xa3ccf7(_0x54d4f3,_0x44e602,_0x3701e3,_0x34a098){return _0x2a64(_0x3701e3-0x2a1,_0x54d4f3);}function _0x3bc094(_0x384109,_0x5b7220,_0x13a1ea,_0x3e14fb){return _0x2a64(_0x3e14fb-_0x1e7a2a._0x515c2a,_0x13a1ea);}_0x391e3c({'code':_0x4cd0a5,'signal':_0x3be1e9});};_0x49df31=setTimeout(()=>{const _0x176113={_0x40ffd7:0x31f},_0x42d830={_0x14040f:0x67};function _0x1cbc2d(_0x47c30c,_0x51146a,_0xa3f733,_0x350b05){return _0x2a64(_0x51146a- -_0x42d830._0x14040f,_0xa3f733);}_0x1d67d4=!![];function _0x483589(_0x337d17,_0x18871d,_0x3ec408,_0x3e3576){return _0x2a64(_0x337d17-_0x176113._0x40ffd7,_0x3ec408);}_0x2948e7(),_0x469131();try{killProcessGroup(_0x4b4a6f,_0x2d295d);}catch{}_0x4657f9(new ToolExecutionError(_0x1cbc2d(0x456,0x2b6,_0x1c9751._0x4cd312,_0x1c9751._0x455a67)+_0x55eb62+_0x1cbc2d(0x3c7,0x349,_0x1c9751._0x1290fc,_0x1c9751._0x371eb1),{'command':_0x8ea60b[_0x483589(_0x1c9751._0x917fc6,0x569,0x752,0x6e9)],'cwd':_0x5add62,'shellPath':_0x46fd27,'timeoutMs':_0x55eb62,'timedOut':!![]}));},_0x55eb62),_0x4b4a6f[_0x1abaaf(-0x1ec,-0x235,-0x381,-_0x1d6de7._0x2a426a)](_0x5bb7ec(0x216,_0x1d6de7._0xc35599,0x35b,0x29c),_0x3e8f78),_0x4b4a6f[_0x1abaaf(-_0x1d6de7._0x3317fd,-0x18e,-_0x1d6de7._0x1e9370,-_0x1d6de7._0x114c6c)]('close',_0x476fbb);});while(_0xea0daa['length']>0x0||!_0x1d67d4){if(_0xea0daa[_0x55a88f(0x10e,_0x3f3944._0x1c0ec5,_0x3f3944._0x18a583,0x28e)]===0x0){await _0x392778();continue;}const _0x542689=_0xea0daa[_0x2412e3(-0x28b,-_0x3f3944._0x34a9db,-_0x3f3944._0x364984,-0x2b0)]();_0x542689!==void 0x0&&(yield _0x542689);}const _0x49eaec=await _0x593c9d,_0x1a5ba3=_0x9f251c?'exit\x20code\x20'+(_0x49eaec['code']??0x0):_0x5e7de5[_0x55a88f(-_0x3f3944._0x2970a1,0x7d,-_0x3f3944._0x14d3a7,_0x3f3944._0xd0c30a)](''),_0xb9d85c={'command':_0x8ea60b[_0x2412e3(-0x5e,_0x3f3944._0x39c89f,-0x142,-_0x3f3944._0x1f45d9)],'description':_0x8ea60b['description'],'cwd':_0x5add62,'exitCode':_0x49eaec[_0x55a88f(0xe0,-_0x3f3944._0xd0c30a,-_0x3f3944._0x296f3a,-0x9d)]??0x0,'signal':_0x49eaec[_0x55a88f(_0x3f3944._0x45e97a,0x175,_0x3f3944._0x1e4ba3,0x16a)],'ignoreOutput':_0x9f251c,'outputRegex':_0x8ea60b[_0x55a88f(-0x1c,-0x67,-0x20e,-0x1d2)]??null,'shellPath':_0x46fd27,'timeoutMs':_0x55eb62};if(_0x49eaec[_0x2412e3(-0x1fe,-0x149,-_0x3f3944._0x579938,-_0x3f3944._0xb891e3)]!==0x0)throw new ToolExecutionError(_0x1a5ba3||_0x55a88f(-_0x3f3944._0x34a92e,-_0x3f3944._0x33875c,_0x3f3944._0x3df8ee,-_0x3f3944._0x3b0a74)+(_0x49eaec['code']??0x0),_0xb9d85c);return createToolOutput(_0x1a5ba3,_0xb9d85c);}catch(_0x41964e){while(_0xea0daa[_0x55a88f(0xd,0x18b,_0x3f3944._0x23769a,0x351)]>0x0){const _0x15c30f=_0xea0daa[_0x2412e3(-_0x3f3944._0x105438,-_0x3f3944._0x1c09e5,-_0x3f3944._0x47325a,-_0x3f3944._0x43d944)]();_0x15c30f!==void 0x0&&(yield _0x15c30f);}if(_0x41964e instanceof ToolExecutionError)throw _0x41964e;if(_0x5c7127)throw _0x5c7127;throw mapSpawnError(_0x41964e,{'command':_0x8ea60b['command'],'cwd':_0x5add62,'shellPath':_0x46fd27});}finally{_0x49df31&&clearTimeout(_0x49df31);_0xc004a1(),_0x4b4a6f['stdout']?.[_0x55a88f(0x146,-_0x3f3944._0x204740,-0xb5,-0x1d9)]('data',_0x57e589),_0x4b4a6f[_0x2412e3(-0x1a8,-_0x3f3944._0x4322fe,-0x158,-0x362)]?.[_0x2412e3(-0x180,-_0x3f3944._0x483f05,-0x176,-_0x3f3944._0x57beea)](_0x2412e3(_0x3f3944._0x22cc1a,-_0x3f3944._0x3959ac,-_0x3f3944._0xaf845e,0x41),_0x583b6b);if(!_0x8c9b01&&_0x4b4a6f[_0x2412e3(-_0x3f3944._0x7372a0,-0x1d4,-0x2c,-0x106)]&&!_0x4b4a6f[_0x55a88f(0x12,-0x105,-0x2ca,-_0x3f3944._0x6fe10b)])try{killProcessGroup(_0x4b4a6f,_0x2d295d);}catch{}}}});}function createShellExecTool(_0x2897d0={}){return createBashTool(_0x2897d0);}import{readdir,readFile as _0x3b1384}from'fs/promises';import{extname,join as _0x2eed5e}from'path';import{open}from'fs/promises';import{dirname,isAbsolute as _0xc8f26b,join,relative as _0x34f329,resolve as _0x1f0980}from'path';import{readdir as _0x1bf67d,readFile as _0x246856}from'fs/promises';import{join as _0x284c62,relative as _0x105960,sep}from'path';import{delimiter}from'path';import{mkdir as _0x26f0dc,rm,stat as _0x280369,writeFile}from'fs/promises';import{hostname}from'os';import{dirname as _0x30f366}from'path';import{unwatchFile,watchFile}from'fs';import{chmod,readFile as _0x23dd69,rename as _0x131ab6,rm as _0x4ccd12,stat as _0x3eb893,writeFile as _0x469c85}from'fs/promises';import{homedir as _0x5b895f}from'os';import{dirname as _0x19e8e2,isAbsolute as _0x249e72,join as _0x3b1ca3,resolve as _0x344b59}from'path';import{parse as _0x4c8eac,stringify as _0xf1dc44}from'yaml';import{randomUUID as _0x16c572}from'crypto';import{cp,lstat,mkdir as _0x56ba59,readdir as _0x10afa3,readFile as _0x48f27c,rename,rm as _0x32b664,writeFile as _0x4a434b}from'fs/promises';import{homedir}from'os';import{join as _0x16918b}from'path';import{parse as _0x7879a5,stringify as _0xf33cd8}from'yaml';import{z}from'zod';import{readdir as _0x89f20,readFile as _0x21f60a}from'fs/promises';import{join as _0x37798a}from'path';import{randomUUID as _0x37cac7}from'crypto';import{mkdir as _0x48b485,readdir as _0x3db476,readFile as _0x21458d,rename as _0x1afc88,rm as _0x141ec6,writeFile as _0x158d30}from'fs/promises';import{homedir as _0x21d4e3}from'os';import{basename as _0xe2889d,isAbsolute as _0x27fcc8,join as _0x39f88f,relative as _0x8ae1d7,resolve as _0x1ade28}from'path';import{parse as _0x275f26,stringify as _0x1fb7da}from'yaml';import{delimiter as _0x5eebfc,resolve as _0xba6c94}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400;function tokenizeCommandArguments(_0x42263c){const _0x5c6208={_0x29597a:0x63b,_0x4e2da1:0x7e7,_0x353719:0x131,_0x42019b:0x1ea,_0x526dd4:0x40},_0x25b210={_0xba343e:0x40},_0x1ac512={_0x2e3255:0x22f,_0x4c9559:0x19},_0x257061=[];let _0x474b9d='';function _0x2ab4a2(_0x5ded16,_0xf2f115,_0x187b9e,_0xccd512){return _0x8a95cf(_0x5ded16- -_0x1ac512._0x2e3255,_0xf2f115,_0x187b9e-0x12f,_0xccd512-_0x1ac512._0x4c9559);}let _0x4175a1=0x0;while(_0x4175a1<_0x42263c['length']){const _0x334fd0=_0x42263c[_0x4175a1];if(_0x334fd0==='\x5c'&&_0x4175a1+0x1<_0x42263c[_0x22bea4(0x685,0x659,0x4b9,_0x5c6208._0x29597a)])_0x474b9d+=_0x42263c[_0x4175a1+0x1],_0x4175a1+=0x2;else{if(_0x334fd0==='\x22'||_0x334fd0==='\x27'){const _0x1a6b95=_0x334fd0;_0x4175a1++;while(_0x4175a1<_0x42263c[_0x2ab4a2(0x76,0x185,-0x9,-0x4f)]&&_0x42263c[_0x4175a1]!==_0x1a6b95){_0x42263c[_0x4175a1]==='\x5c'&&_0x4175a1+0x1<_0x42263c[_0x22bea4(0x685,0x6b4,_0x5c6208._0x4e2da1,0x52a)]?(_0x474b9d+=_0x42263c[_0x4175a1+0x1],_0x4175a1+=0x2):(_0x474b9d+=_0x42263c[_0x4175a1],_0x4175a1++);}_0x4175a1++;}else _0x334fd0!==void 0x0&&/\s/[_0x2ab4a2(_0x5c6208._0x353719,_0x5c6208._0x42019b,-_0x5c6208._0x526dd4,0x248)](_0x334fd0)?(_0x474b9d&&(_0x257061['push'](_0x474b9d),_0x474b9d=''),_0x4175a1++):(_0x474b9d+=_0x334fd0,_0x4175a1++);}}if(_0x474b9d)_0x257061['push'](_0x474b9d);function _0x22bea4(_0x2683a2,_0x546fa6,_0x4a1106,_0x188627){return _0x12dc71(_0x546fa6,_0x546fa6-0x26,_0x2683a2-0x399,_0x188627-_0x25b210._0xba343e);}return _0x257061;}function renderCommandInstructions(_0x302104){const _0x2fd4d8={_0x3b5273:0x2a8,_0x3f89f5:0x2b7,_0x1ebf69:0x40e,_0x5310d8:0x50b,_0x2b6c3f:0x1fd,_0x3f7698:0x373,_0x1a6b12:0x782,_0x4b2bbd:0x65d,_0x22b606:0x736,_0xefd814:0x352,_0x3fa60d:0x4d5,_0x4a525d:0x40d,_0x3779f7:0x426,_0xfbac1f:0x363,_0xabb56:0x48e},_0x5edab2={_0x24e1aa:0xaf,_0x30fa0a:0x167},_0x5f34f7={_0x23067f:0x167},_0x2e7d71={_0x1ceac1:0x2a7,_0x50728f:0x184,_0x21d7e7:0x161},_0x3ce810={_0x399cc3:0x10};let _0x584a39=_0x302104[_0x4ebd06(_0x2fd4d8._0x3b5273,0x473,0x473,_0x2fd4d8._0x3f89f5)],_0x71c1ad=![];function _0x5df2fa(_0x1e1c8e,_0x825459,_0x132587,_0x14645b){return _0x12dc71(_0x14645b,_0x825459-_0x3ce810._0x399cc3,_0x825459-0x2bc,_0x14645b-0x162);}const _0x4cb426=tokenizeCommandArguments(_0x302104[_0x4ebd06(_0x2fd4d8._0x1ebf69,0x5a0,_0x2fd4d8._0x5310d8,0x5c2)]);_0x584a39=_0x584a39[_0x4ebd06(_0x2fd4d8._0x2b6c3f,0x10f,0x9a,0x169)](/\$ARGUMENTS\[(\d+)\]/g,(_0x3c6276,_0x1f0e74)=>{return _0x71c1ad=!![],_0x4cb426[Number(_0x1f0e74)]??'';}),_0x584a39=_0x584a39[_0x4ebd06(0x1fd,0x33,0x269,_0x2fd4d8._0x3f7698)](/\$ARGUMENTS\b/g,()=>{_0x71c1ad=!![];function _0x432ca3(_0x449113,_0x13863b,_0xaaaf58,_0x1cd900){return _0x4ebd06(_0x1cd900- -_0x2e7d71._0x1ceac1,_0x13863b-_0x2e7d71._0x50728f,_0x13863b,_0x1cd900-_0x2e7d71._0x21d7e7);}return _0x302104[_0x432ca3(0x2c7,-0x11,0x1e0,_0x5f34f7._0x23067f)];});if(_0x302104[_0x5df2fa(_0x2fd4d8._0x1a6b12,_0x2fd4d8._0x4b2bbd,0x4b9,0x6d8)]&&_0x302104['argumentNames'][_0x5df2fa(0x6e3,0x5a8,_0x2fd4d8._0x22b606,0x4ac)]>0x0)for(let _0x2469c1=0x0;_0x2469c1<_0x302104['argumentNames']['length'];_0x2469c1++){const _0x173f1b=_0x302104['argumentNames'][_0x2469c1];if(_0x173f1b){const _0x17f81a=new RegExp('\x5c$'+_0x173f1b+'\x5cb','g');_0x584a39=_0x584a39['replace'](_0x17f81a,()=>{return _0x71c1ad=!![],_0x4cb426[_0x2469c1]??'';});}}function _0x4ebd06(_0x4a3e40,_0x518b4f,_0x1c96f4,_0xcc28f4){return _0x12dc71(_0x1c96f4,_0x518b4f-_0x5edab2._0x24e1aa,_0x4a3e40-_0x5edab2._0x30fa0a,_0xcc28f4-0x162);}return _0x584a39=_0x584a39[_0x5df2fa(0x2e8,_0x2fd4d8._0xefd814,_0x2fd4d8._0x3fa60d,0x26d)](/\$(\d+)\b/g,(_0x25f586,_0x135783)=>{return _0x71c1ad=!![],_0x4cb426[Number(_0x135783)]??'';}),!_0x71c1ad&&_0x302104[_0x4ebd06(_0x2fd4d8._0x1ebf69,_0x2fd4d8._0x4a525d,0x509,0x480)][_0x4ebd06(_0x2fd4d8._0x3779f7,0x5a6,_0x2fd4d8._0xfbac1f,0x54c)]()&&(_0x584a39=_0x584a39+_0x5df2fa(_0x2fd4d8._0xabb56,0x5d2,0x558,0x5f9)+_0x302104['argumentsText']),_0x584a39;}var PROVIDER_API_KEY_ENVS=[{'env':_0x8a95cf(0x18d,0x2c0,-0x32,0x172),'provider':_0x8a95cf(0x2ee,0x3eb,0x33f,0x205)},{'env':_0x12dc71(-0x1d,-0x5b,0xc7,0xb),'provider':_0x12dc71(-0xa5,-0x32,0xed,-0xf)},{'env':_0x12dc71(0x42b,0x3ea,0x398,0x2c0),'provider':_0x12dc71(0x185,-0x53,0x155,-0x5d)},{'env':'GITHUB_TOKEN','provider':_0x12dc71(0x51,0x2e1,0x155,0x1ab)},{'env':_0x12dc71(0x3de,0x166,0x32f,0x369),'provider':_0x12dc71(0x25b,0x200,0x113,-0x4e)},{'env':'DEEPINFRA_API_KEY','provider':_0x8a95cf(0xf9,0x147,0x186,0x100)},{'env':_0x8a95cf(0x2c2,0x43f,0x385,0x40b),'provider':'zai'},{'env':'MOONSHOT_API_KEY','provider':_0x12dc71(0x2cf,0x3a1,0x24e,0x398)},{'env':_0x8a95cf(0x38,0x117,-0x168,0x6a),'provider':'minimax'},{'env':_0x8a95cf(0x173,0x278,0x1d6,0x16b),'provider':_0x8a95cf(0x1b,0xbe,0xef,0x60)},{'env':'OPENAI_API_KEY','provider':_0x8a95cf(0x132,0x15e,0xd0,0x165)},{'env':_0x8a95cf(0x61,0x10f,0x1ae,-0x129),'provider':_0x12dc71(0x126,0x3c0,0x280,0x3a6)},{'env':_0x8a95cf(0x241,0x168,0x353,0xc8),'provider':_0x12dc71(0x4c8,0x4bf,0x3c1,0x335)}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS[_0x12dc71(0x540,0x2d0,0x37d,0x2b3)](_0x16321d=>_0x16321d[_0x8a95cf(0x171,0xf0,0x1a7,-0x43)]),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,_0x12dc71(0x2fc,0x13f,0x145,0x1e0),'GOOGLE_CSE_KEY',_0x12dc71(0x202,0x46d,0x3ad,0x251)],SHELL_SCRUBBED_ENV_KEYS=[...SCRUBBED_ENV_KEYS,_0x12dc71(0x36d,0x434,0x345,0x1e9),'ENV',_0x12dc71(0x2e0,0x4be,0x38b,0x38f),'BASHOPTS',_0x8a95cf(0x169,0x2d,0x1ee,0x200),_0x8a95cf(0x178,-0x43,0x2b5,0x30e)],PROTOTYPE_SENSITIVE_NAMES=new Set([...Object['getOwnPropertyNames'](Object['prototype']),_0x8a95cf(0x2d9,0x483,0x331,0x468)]);function prototypeSafeRecord(_0x3350d5){const _0x4ca811={_0x426fc6:0x234,_0x5997df:0x52,_0x66cd2:0xf9,_0x4c7db4:0x7eb,_0x2467d0:0x725,_0x48afb6:0x677,_0x6abce4:0x536,_0xc95632:0x466,_0x43d3b2:0x49d,_0x516a4d:0x600,_0x5d86ba:0x471,_0x4f6b72:0x4e9},_0x2e1225={_0x223185:0x40b,_0x538b47:0x533,_0x37769f:0x435,_0x1d8861:0x17b,_0x1e0ba8:0xa4,_0x38b443:0x114,_0x3dbc4b:0x576,_0x20270d:0x40f,_0x4c5a9e:0x174,_0x498534:0x190,_0x11892b:0x8a},_0x3c4a2f={_0x3b86fc:0x296},_0x376ef9={_0x513cd3:0x95},_0x58fbfc={_0x2411fc:0x4c7};function _0x3dc590(_0x5518e6,_0x2684de,_0x470e46,_0x4ef68d){return _0x12dc71(_0x470e46,_0x2684de-0x164,_0x5518e6-_0x58fbfc._0x2411fc,_0x4ef68d-0xbe);}function _0x24e23b(_0x3f9500,_0x45823e,_0x2769d9,_0x20ae5f){return _0x8a95cf(_0x3f9500- -0x211,_0x45823e,_0x2769d9-_0x376ef9._0x513cd3,_0x20ae5f-0x141);}return z['preprocess'](_0x12170f=>{const _0x18013d={_0x1e7e20:0xa3};if(_0x12170f===null||typeof _0x12170f!==_0x11d5c6(0x5c6,_0x2e1225._0x223185,_0x2e1225._0x538b47,_0x2e1225._0x37769f)||Array[_0x375497(_0x2e1225._0x1d8861,0x5f,-_0x2e1225._0x1e0ba8,-_0x2e1225._0x38b443)](_0x12170f))return null;function _0x11d5c6(_0x34224e,_0x3df168,_0x45a553,_0x465699){return _0x2a64(_0x45a553-_0x18013d._0x1e7e20,_0x34224e);}function _0x375497(_0x2a9d13,_0x290572,_0x25475b,_0x383e8d){return _0x2a64(_0x290572- -_0x3c4a2f._0x3b86fc,_0x25475b);}const _0x552a86=Object[_0x11d5c6(0x522,_0x2e1225._0x3dbc4b,_0x2e1225._0x20270d,0x4e1)](_0x12170f);if(_0x552a86!==Object[_0x375497(_0x2e1225._0x4c5a9e,_0x2e1225._0x498534,0x107,0xc0)]&&_0x552a86!==null)return null;return{'entries':Object[_0x375497(-0x1ee,-0x102,0x5,-_0x2e1225._0x11892b)](_0x12170f)};},z[_0x24e23b(0x132,_0x4ca811._0x426fc6,0x39,_0x4ca811._0x5997df)]({'entries':z[_0x24e23b(_0x4ca811._0x66cd2,0x17f,0x148,0x9d)](z[_0x3dc590(_0x4ca811._0x4c7db4,_0x4ca811._0x2467d0,_0x4ca811._0x48afb6,0x85c)]([z[_0x3dc590(_0x4ca811._0x6abce4,0x37e,_0x4ca811._0xc95632,_0x4ca811._0x43d3b2)](),_0x3350d5]))}))[_0x3dc590(_0x4ca811._0x516a4d,_0x4ca811._0x5d86ba,_0x4ca811._0x4f6b72,0x76d)](({entries:_0x6be5f2})=>Object[_0x3dc590(0x5a2,0x465,0x3d7,0x746)](_0x6be5f2));}var chatModelAuthSchemeSchema=z['enum']([_0x8a95cf(0x8f,0x1cf,0xe3,0xa1),_0x8a95cf(0x353,0x34d,0x50f,0x1dc)]),apiKeyAuthSchema=z[_0x8a95cf(0x343,0x38a,0x31e,0x285)]({'type':z['literal'](_0x12dc71(0x242,0x1f3,0x31f,0x476)),'apiKey':z[_0x12dc71(0x17f,0x14,0x6f,-0x151)](),'authScheme':chatModelAuthSchemeSchema['optional']()})[_0x12dc71(0x168,0x229,0x29d,0x173)](),oauthAuthSchema=z['object']({'type':z[_0x8a95cf(0x1d9,0x35b,0x191,0x306)]('oauth'),'access':z[_0x8a95cf(0x28,-0xeb,0x48,0x140)](),'refresh':z['string'](),'expires':z['number']()[_0x12dc71(0x32e,0x28e,0x1b2,0x13c)](),'authScheme':chatModelAuthSchemeSchema['optional']()})[_0x8a95cf(0x256,0x2ff,0x2bd,0x21c)](),finiteNonNegative=z[_0x12dc71(0x3f5,0x386,0x298,0x12b)]()[_0x8a95cf(0x339,0x4c2,0x199,0x495)]()[_0x12dc71(0x1cb,0x19b,0x33f,0x50b)](),chatGptAuthSchema=z['object']({'type':z['literal']('chatgpt'),'access':z[_0x8a95cf(0x28,0xfb,-0x128,-0x19f)]()[_0x12dc71(0x131,0x183,0x2b7,0x16c)](0x1),'refresh':z[_0x12dc71(0x1,0x1ed,0x6f,0x4e)]()[_0x8a95cf(0x270,0x432,0x160,0x176)](0x1),'idToken':z['string']()[_0x8a95cf(0x270,0x167,0x394,0x3a2)](0x1),'accountId':z[_0x8a95cf(0x28,-0x10d,0x153,0x28)]()[_0x8a95cf(0x270,0x231,0x3c8,0xdc)](0x1),'expires':finiteNonNegative,'earliestRefreshAt':finiteNonNegative['optional']()})['passthrough'](),authMethodSchema=z[_0x12dc71(0x1be,0x1b6,0x4e,-0x1a)]([apiKeyAuthSchema,oauthAuthSchema,chatGptAuthSchema]),reasoningEffortSchema=z[_0x8a95cf(0x2c4,0x335,0x3b9,0x2e5)]([_0x12dc71(0xdb,0x111,0xb6,0x44),_0x8a95cf(0x4c,0x179,-0xd9,0x197),_0x12dc71(-0x3,0x249,0x18c,0x25f),'high',_0x12dc71(0x2b8,0x11f,0x1da,0x93),_0x12dc71(0xf2,0x126,0x104,-0xe)]),reasoningOptionSchema=z['object']({'id':z[_0x12dc71(-0x112,0xc0,0x6f,0x3c)]()[_0x12dc71(0x33f,0x140,0x2bf,0x3de)]()[_0x12dc71(0x165,0x3d5,0x2b7,0x43a)](0x1),'description':z['string']()[_0x12dc71(0x2fc,-0xa,0x1b2,0x87)](),'mode':z[_0x8a95cf(0x2c4,0x129,0x437,0x229)]([_0x8a95cf(0x139,0x305,0x10c,-0x81),_0x8a95cf(0xd9,0x24b,0x278,-0x40)])['optional'](),'effort':reasoningEffortSchema['optional'](),'budgetTokens':z[_0x8a95cf(0x251,0x382,0x26a,0x244)]()[_0x12dc71(0x341,0x192,0x284,0x1e9)]()[_0x8a95cf(0x270,0x142,0x361,0x336)](0x400)[_0x12dc71(0xd,0x13e,0x1b2,0x310)]()})[_0x8a95cf(0x265,0x18c,0x1c3,0x3bf)]((_0xd5a04d,_0x2fadab)=>{const _0x1eaecd={_0x4a7582:0x29e,_0x127cad:0x223,_0x54bfe6:0x173,_0xc6d086:0x50,_0x27b399:0x39e,_0xd5eb9a:0x33a,_0x2e91f3:0x100,_0x3c7962:0x43,_0x2d035d:0xf7,_0x341940:0x19,_0x450573:0x372,_0x536e77:0x532,_0x1d1af9:0x422,_0x15c96b:0x29a,_0x4a771b:0x37,_0x42d081:0xfc,_0x181de5:0x1b2,_0x29fa13:0x3f,_0x1061f5:0x77,_0x55253a:0x9d,_0x3e8d72:0x273,_0x130c78:0x37a,_0x56a79a:0x291,_0x18db4d:0x430,_0x6c8a77:0xfc,_0x13937a:0x29a,_0x528b41:0x1f3,_0x59e2ae:0x3b9,_0x57c34b:0x246,_0x3bd657:0x293,_0x180a0e:0x438,_0x5ae524:0x56c,_0x5c341f:0x520,_0x5c24aa:0x346,_0x5873ab:0x20f,_0x17c5a0:0x17b,_0x4599bf:0x3d9,_0x18d061:0x114,_0x33b9d6:0x221,_0x4787ba:0x22b,_0x1a0d8f:0x11d,_0x257e98:0x28e,_0x38529d:0x352,_0x1e5cd0:0x24d},_0x15236c={_0x5ed885:0x11a,_0x1d0cff:0x9c,_0x5243bb:0x105},_0x17c834=_0xd5a04d['id'][_0x3c0f31(0x34d,0x3a2,_0x1eaecd._0x4a7582,0x38d)]();(_0x17c834===_0x3c0f31(_0x1eaecd._0x127cad,0x2ec,0x1f0,0x1ed)||_0x17c834===_0x3c0f31(0x1bc,0x12f,_0x1eaecd._0x54bfe6,_0x1eaecd._0xc6d086)||_0x17c834===_0x3c0f31(0x45f,0x5d9,_0x1eaecd._0x27b399,_0x1eaecd._0xd5eb9a))&&_0x2fadab[_0x30f91e(-0x92,0xf1,-_0x1eaecd._0x2e91f3,-_0x1eaecd._0x3c7962)]({'code':_0x3c0f31(0x29a,0x370,0x3c6,0x104),'path':['id'],'message':_0x30f91e(_0x1eaecd._0x2d035d,0x1c0,-_0x1eaecd._0x341940,0x2d)+_0x17c834+'\x22\x20is\x20reserved'});if(_0xd5a04d[_0x3c0f31(0x438,_0x1eaecd._0x450573,_0x1eaecd._0x536e77,_0x1eaecd._0x1d1af9)]===_0x3c0f31(0x1f3,0xef,_0x1eaecd._0x2d035d,0x390)){_0xd5a04d['budgetTokens']===void 0x0&&_0x2fadab[_0x3c0f31(0x20f,0x177,0x2ea,0x132)]({'code':_0x3c0f31(_0x1eaecd._0x15c96b,0x23b,0x32f,0x419),'path':[_0x30f91e(_0x1eaecd._0x4a771b,-_0x1eaecd._0x42d081,_0x1eaecd._0x181de5,_0x1eaecd._0x29fa13)],'message':'Manual\x20reasoning\x20requires\x20budgetTokens'});_0xd5a04d[_0x30f91e(_0x1eaecd._0x1061f5,0xc8,-0x92,_0x1eaecd._0x55253a)]!==void 0x0&&_0x2fadab['addIssue']({'code':'custom','path':[_0x3c0f31(0x2ef,0x13b,_0x1eaecd._0x3e8d72,_0x1eaecd._0x130c78)],'message':'Manual\x20reasoning\x20cannot\x20set\x20effort'});return;}function _0x3c0f31(_0x308578,_0x5d22be,_0x312ab6,_0x7fed3e){return _0x8a95cf(_0x308578-_0x15236c._0x5ed885,_0x7fed3e,_0x312ab6-_0x15236c._0x1d0cff,_0x7fed3e-_0x15236c._0x5243bb);}function _0x30f91e(_0x22e118,_0x4bc65d,_0xb91c4a,_0x2c4b61){return _0x12dc71(_0x4bc65d,_0x4bc65d-0xad,_0x2c4b61- -0x17f,_0x2c4b61-0x8);}_0xd5a04d[_0x3c0f31(_0x1eaecd._0x56a79a,0x1f4,_0x1eaecd._0x18db4d,_0x1eaecd._0x6c8a77)]!==void 0x0&&_0x2fadab['addIssue']({'code':_0x3c0f31(_0x1eaecd._0x13937a,0x311,0x268,0x25b),'path':[_0x30f91e(0x20b,0xf6,_0x1eaecd._0x528b41,0x3f)],'message':_0x3c0f31(_0x1eaecd._0x59e2ae,_0x1eaecd._0x57c34b,_0x1eaecd._0x3bd657,0x2e8)}),_0xd5a04d[_0x3c0f31(_0x1eaecd._0x180a0e,_0x1eaecd._0x5ae524,_0x1eaecd._0x5c341f,0x375)]===void 0x0&&_0xd5a04d[_0x3c0f31(0x2ef,_0x1eaecd._0x5c24aa,0x2de,0x372)]===void 0x0&&_0x2fadab[_0x3c0f31(_0x1eaecd._0x5873ab,_0x1eaecd._0x17c5a0,_0x1eaecd._0x4599bf,_0x1eaecd._0x18d061)]({'code':'custom','path':[_0x30f91e(_0x1eaecd._0x33b9d6,_0x1eaecd._0x4787ba,-_0x1eaecd._0x1a0d8f,0x9d)],'message':_0x3c0f31(_0x1eaecd._0x257e98,0x3e8,_0x1eaecd._0x38529d,_0x1eaecd._0x1e5cd0)});});function validateReasoningOptionIds(_0x3c1904,_0x11cc50){const _0x541dbf={_0x19d1d9:0x5f9,_0x2f6697:0x605,_0x15f789:0x6b4,_0x582d73:0xc0,_0x15803a:0xfb,_0x45341f:0x40,_0x5350e3:0x6fd,_0x327539:0x402,_0x2b0c49:0x2f,_0x3b50e4:0x4b1,_0x526ada:0x5ef},_0x1f4746={_0x3ac898:0x1a0,_0x47d56a:0x43a},_0x11fb21={_0x4d3f62:0xae,_0x54777d:0x143,_0x2224eb:0x189};function _0x215b7e(_0x1ad6f0,_0x26ace9,_0x90dd8f,_0xae47e3){return _0x12dc71(_0x1ad6f0,_0x26ace9-_0x11fb21._0x4d3f62,_0x26ace9- -_0x11fb21._0x54777d,_0xae47e3-_0x11fb21._0x2224eb);}const _0x50bf56=new Set();function _0x4550d5(_0x291b53,_0x21c27b,_0x5697d2,_0x53fa21){return _0x12dc71(_0x291b53,_0x21c27b-_0x1f4746._0x3ac898,_0x5697d2-_0x1f4746._0x47d56a,_0x53fa21-0x1c5);}for(let _0x4fb4c8=0x0;_0x4fb4c8<_0x3c1904['length'];_0x4fb4c8+=0x1){const _0x50960e=_0x3c1904[_0x4fb4c8]?.['id'][_0x4550d5(_0x541dbf._0x19d1d9,_0x541dbf._0x2f6697,_0x541dbf._0x15f789,0x826)]();if(!_0x50960e)continue;if(_0x50bf56[_0x215b7e(0x18a,_0x541dbf._0x582d73,-_0x541dbf._0x15803a,-_0x541dbf._0x45341f)](_0x50960e)){_0x11cc50[_0x4550d5(_0x541dbf._0x5350e3,_0x541dbf._0x327539,0x576,0x4b4)]({'code':'custom','path':[_0x4550d5(0x5fe,0x431,0x581,0x5d0),_0x4fb4c8,'id'],'message':_0x215b7e(_0x541dbf._0x2b0c49,-0x44,0xb4,0x71)+_0x50960e+'\x22'});continue;}_0x50bf56[_0x4550d5(0x55e,_0x541dbf._0x3b50e4,_0x541dbf._0x526ada,0x647)](_0x50960e);}}var providerReasoningConfigSchema=z[_0x8a95cf(0x343,0x3b4,0x2fc,0x277)]({'options':z[_0x12dc71(0x383,0x43f,0x351,0x35f)](reasoningOptionSchema)})[_0x12dc71(0x11f,0x345,0x2ac,0x183)]((_0x19cb09,_0x2feabb)=>{const _0x15aa1c={_0x3b7ebd:0x472,_0x2a3a42:0x2b6},_0x4319c6={_0x729d8f:0x16f};function _0x432695(_0x46cf21,_0x5c90b9,_0x5992b6,_0x2db86b){return _0x12dc71(_0x2db86b,_0x5c90b9-0x9,_0x5c90b9-_0x4319c6._0x729d8f,_0x2db86b-0x10);}validateReasoningOptionIds(_0x19cb09[_0x432695(_0x15aa1c._0x3b7ebd,_0x15aa1c._0x2a3a42,0x371,0x1ce)],_0x2feabb);}),modelReasoningConfigSchema=z[_0x12dc71(0x4f3,0x51c,0x38a,0x3c9)]({'defaultOption':z[_0x12dc71(0x58,0x16f,0x6f,0x20e)]()[_0x12dc71(0x215,0x31d,0x2bf,0x3e8)]()[_0x8a95cf(0x270,0x404,0x290,0x237)](0x1)[_0x8a95cf(0x16b,0x1f7,0x171,0xb4)](),'canDisable':z[_0x8a95cf(0x334,0x3be,0x4cb,0x452)]()['optional'](),'options':z[_0x8a95cf(0x30a,0x4ca,0x194,0x2be)](reasoningOptionSchema)})[_0x12dc71(0x227,0xf3,0x2ac,0x2e5)]((_0x519163,_0x5ae60a)=>{const _0xa82f7b={_0x4c668a:0xa3,_0x26477b:0x207,_0x276222:0x16c,_0x102985:0x167,_0x247904:0xf3,_0x2d94a8:0x10d,_0x2d9ae2:0x40,_0x26d6ae:0x173,_0x3d073f:0x15b,_0x16b784:0x311,_0x4f7e74:0x25c,_0x19464f:0x81,_0x350cf2:0x70,_0x56070f:0x204,_0x3728dc:0x129,_0x17e51a:0xff,_0x260cdd:0xf0,_0xd90470:0x95,_0x303a8c:0x4a1,_0x26ec7c:0x4ce,_0x2b9e8b:0xfb,_0x2f9eaf:0x250,_0x12006f:0x1c0,_0x2f195f:0x36d,_0x2afc72:0x246,_0x1b4e10:0xfe,_0x5140e9:0x193,_0x30cee2:0x6d,_0x2c3b64:0x153,_0x3e900b:0x15e,_0x42a640:0xb2,_0x33eb8f:0x1ea,_0x264f92:0x6d,_0x319a10:0xd4,_0x335f2d:0x220},_0x440273={_0x2d5d1f:0x1e4,_0x4d1b29:0x18a},_0x5243f7={_0x232d37:0x45,_0x4195cc:0xc0,_0x23c184:0x157};function _0x284860(_0x55fc32,_0x115ee5,_0x2bc454,_0x118cf5){return _0x12dc71(_0x55fc32,_0x115ee5-_0x5243f7._0x232d37,_0x118cf5-_0x5243f7._0x4195cc,_0x118cf5-_0x5243f7._0x23c184);}validateReasoningOptionIds(_0x519163[_0x284860(0x154,0x245,_0xa82f7b._0x4c668a,_0xa82f7b._0x26477b)],_0x5ae60a);const _0x22c756=_0x519163[_0x284860(_0xa82f7b._0x276222,_0xa82f7b._0x102985,_0xa82f7b._0x247904,_0xa82f7b._0x2d94a8)]?.['toLowerCase']();function _0x84a5cf(_0x28e4fd,_0x3a5b84,_0x500c34,_0x2a22c0){return _0x8a95cf(_0x3a5b84- -0x1f0,_0x2a22c0,_0x500c34-_0x440273._0x2d5d1f,_0x2a22c0-_0x440273._0x4d1b29);}if(_0x22c756===void 0x0)return;if(_0x22c756==='off'){_0x519163[_0x84a5cf(_0xa82f7b._0x2d9ae2,0x24,-_0xa82f7b._0x26d6ae,-_0xa82f7b._0x3d073f)]!==!![]&&_0x5ae60a[_0x284860(_0xa82f7b._0x16b784,_0xa82f7b._0x4f7e74,0x38d,0x1fc)]({'code':_0x84a5cf(_0xa82f7b._0x19464f,-_0xa82f7b._0x350cf2,-0x188,0x4a),'path':[_0x84a5cf(-_0xa82f7b._0x56070f,-0x1ea,-0x229,-0x305)],'message':_0x84a5cf(_0xa82f7b._0x3728dc,-0x9b,0xe,_0xa82f7b._0x17e51a)});return;}!_0x519163[_0x84a5cf(0x37,-_0xa82f7b._0x260cdd,-0x118,-_0xa82f7b._0xd90470)][_0x284860(_0xa82f7b._0x303a8c,0x2b5,_0xa82f7b._0x26ec7c,0x379)](_0x1162a6=>_0x1162a6['id'][_0x84a5cf(-0x105,0x43,0x6b,0x11)]()===_0x22c756)&&_0x5ae60a[_0x84a5cf(0xa6,-_0xa82f7b._0x2b9e8b,-0x20,-_0xa82f7b._0x2f9eaf)]({'code':_0x284860(_0xa82f7b._0x12006f,_0xa82f7b._0x2f195f,_0xa82f7b._0x2afc72,0x287),'path':[_0x284860(0x278,_0xa82f7b._0x1b4e10,_0xa82f7b._0x5140e9,0x10d)],'message':_0x284860(-_0xa82f7b._0x30cee2,0xfe,_0xa82f7b._0x2c3b64,_0xa82f7b._0x3e900b)+_0x519163[_0x84a5cf(-_0xa82f7b._0x42a640,-_0xa82f7b._0x33eb8f,-_0xa82f7b._0x264f92,-_0xa82f7b._0x319a10)]+_0x84a5cf(-0x148,-0x1ae,-0x1dc,-_0xa82f7b._0x335f2d)});}),modelDefinitionSchema=z['object']({'id':z[_0x12dc71(-0x6b,0x129,0x6f,0x1b4)](),'name':z[_0x8a95cf(0x28,-0x7c,0xa8,-0x196)]()[_0x8a95cf(0x16b,0x146,0x214,0x1ab)](),'reasoning':modelReasoningConfigSchema['optional']()})['passthrough'](),modelConfigSchema=z[_0x12dc71(-0x135,0x120,0x4e,0x1fd)]([z[_0x8a95cf(0x1d9,0x2ea,0x255,0x273)](![]),z['literal'](!![]),z[_0x8a95cf(0x28,0x191,0x150,-0x93)](),z['array'](z[_0x12dc71(-0x13a,0x196,0x6f,0x11a)]()),z[_0x8a95cf(0x30a,0x156,0x40f,0x38d)](modelDefinitionSchema)]),chatModelSurfaceSchema=z[_0x8a95cf(0x2c4,0x3d1,0x395,0x408)]([_0x12dc71(0x19c,0x272,0xf4,0x136),'openai-chat-completions',_0x8a95cf(0x1c2,0x251,0x2d9,0x13f),_0x12dc71(0x12f,0x1f5,0x1c3,0x335)]),providerConfigSchema=z['object']({'apiKey':z[_0x8a95cf(0x28,-0x81,-0x185,0x2)]()[_0x12dc71(0x41,0x123,0x1b2,0xc0)](),'token':z[_0x8a95cf(0x28,-0x45,0x149,0xf3)]()[_0x12dc71(0x283,0x350,0x1b2,0xbd)](),'defaultModel':z[_0x8a95cf(0x28,0x1b0,0xe7,-0x44)]()[_0x8a95cf(0x16b,0x2e5,0x107,0x325)](),'smallModel':z['string']()[_0x12dc71(0xd7,0x2c6,0x1b2,0x248)](),'currentAuth':z[_0x8a95cf(0x28,0xfe,0x93,-0xe)]()['optional'](),'auth':z['array'](authMethodSchema)[_0x12dc71(0x2b2,0xd0,0x1b2,0x173)](),'surface':chatModelSurfaceSchema[_0x12dc71(0x192,0x228,0x1b2,-0x1)](),'baseUrl':z['string']()[_0x12dc71(0x2d1,0x346,0x1b2,0x147)](),'models':modelConfigSchema[_0x12dc71(0x140,0xce,0x1b2,0x147)](),'customHeaders':z[_0x8a95cf(0x10d,0x42,0xf7,0x83)](z[_0x8a95cf(0x28,0x2f,0xfc,0x13f)](),z[_0x8a95cf(0x28,0x1,-0x176,0xc3)]())[_0x12dc71(0xe1,0x350,0x1b2,0x94)](),'reasoning':providerReasoningConfigSchema[_0x12dc71(0x341,0x33a,0x1b2,0x2e)]()})[_0x12dc71(0x1c6,0x274,0x29d,0x35c)](),mcpServerConfigSchema=z[_0x12dc71(0x1da,0x23e,0x38a,0x3c2)]({'command':z[_0x12dc71(-0x9e,0x14c,0x6f,-0x147)]()[_0x12dc71(0x32b,0x22b,0x1b2,0x1fa)](),'args':z[_0x8a95cf(0x30a,0x1d4,0x292,0x435)](z[_0x12dc71(-0x13e,0xff,0x6f,-0x95)]())[_0x8a95cf(0x16b,0x21c,0x2a4,0x3)](),'env':z['record'](z[_0x8a95cf(0x28,0x18a,0x15d,-0x16e)](),z['string']())[_0x12dc71(-0x3,0x30e,0x1b2,0xac)](),'transport':z[_0x8a95cf(0x2c4,0x16a,0x3c8,0x2f9)](['stdio',_0x8a95cf(0x235,0x2db,0x385,0xed)])['optional'](),'url':z[_0x8a95cf(0x28,-0x17a,-0x111,-0x12a)]()[_0x12dc71(0x25b,0xa9,0x1b2,0xb5)](),'headers':z[_0x8a95cf(0x10d,0x116,0x5c,0x132)](z[_0x12dc71(0x11f,0x132,0x6f,-0xb)](),z['string']())['optional'](),'prefix':z[_0x8a95cf(0x28,-0xf9,-0xd0,0x1a9)]()[_0x8a95cf(0x16b,0x72,0x1a,0x2b9)](),'timeoutMs':z[_0x12dc71(0x3dd,0x203,0x298,0x1a8)]()[_0x12dc71(0x1f0,0x2c,0x1b2,0x9e)](),'enabled':z[_0x8a95cf(0x334,0x2bd,0x312,0x23a)]()[_0x12dc71(0x31f,0x28,0x1b2,0xda)](),'auth':z[_0x12dc71(0x1fa,0x45f,0x38a,0x42b)]({'type':z['enum']([_0x8a95cf(0x296,0x159,0x1a2,0x41e),_0x8a95cf(0x8f,0x7b,0x1f7,0x32),'oauth']),'token':z['string']()[_0x8a95cf(0x16b,0x17a,0x111,0xbf)](),'oauth':z[_0x8a95cf(0x343,0x36a,0x220,0x1d2)]({'clientId':z['string']()[_0x8a95cf(0x16b,0x10d,0x54,0x201)](),'clientMetadataUrl':z[_0x12dc71(0x1f1,0x52,0x6f,-0x15d)]()[_0x12dc71(0x366,0x3e,0x1b2,0x22c)](),'authorizationServer':z[_0x8a95cf(0x28,0x166,-0xa1,-0x125)]()[_0x8a95cf(0x16b,0x2a4,0x209,0x198)](),'scopes':z['array'](z[_0x12dc71(-0xfd,0x1b7,0x6f,0x192)]())[_0x8a95cf(0x16b,0x31c,0x1,0x8c)](),'tokenStorageKey':z['string']()[_0x12dc71(0x13c,0x1d7,0x1b2,0x0)]()})[_0x8a95cf(0x256,0x145,0x13e,0x2ef)]()[_0x12dc71(0x27c,0x135,0x1b2,0x310)]()})[_0x8a95cf(0x256,0x101,0x1b8,0x2e3)]()['optional']()})[_0x12dc71(0x322,0x2ac,0x29d,0x309)](),mcpToolPermissionClassSchema=z['enum']([_0x8a95cf(0x2a,-0x17b,-0xac,-0xbd),_0x8a95cf(0x331,0x270,0x3c3,0x3f8),_0x12dc71(0x285,0x35d,0x2f3,0x349)]),mcpSettingsSchema=z[_0x12dc71(0x3d9,0x4db,0x38a,0x23d)]({'servers':prototypeSafeRecord(mcpServerConfigSchema)['optional'](),'allowedTools':prototypeSafeRecord(prototypeSafeRecord(z['boolean']()))[_0x8a95cf(0x16b,0xbc,0x18,-0x12)](),'toolPermissions':prototypeSafeRecord(prototypeSafeRecord(mcpToolPermissionClassSchema))[_0x8a95cf(0x16b,0x265,0x1c5,-0x3b)](),'defaultTimeoutMs':z[_0x12dc71(0x2c6,0x2b8,0x298,0x1d6)]()['optional']()})['passthrough'](),skillsSettingsSchema=z['object']({'enabled':z[_0x12dc71(0x3c4,0x3db,0x37b,0x4cf)]()[_0x12dc71(0xda,0x25e,0x1b2,0x34e)](),'includeDefaults':z['boolean']()['optional'](),'directories':z[_0x12dc71(0x215,0x41a,0x351,0x3ff)](z['string']())[_0x12dc71(0x88,0x286,0x1b2,0x295)](),'exclude':z[_0x12dc71(0x2d2,0x2d5,0x351,0x314)](z[_0x12dc71(-0x49,-0x9b,0x6f,0x9d)]())['optional']()})[_0x12dc71(0x384,0x22b,0x29d,0x12d)](),commandsSettingsSchema=z['object']({'enabled':z['boolean']()[_0x12dc71(0x303,0x77,0x1b2,0x2a)](),'directories':z[_0x12dc71(0x4dd,0x4fb,0x351,0x206)](z[_0x8a95cf(0x28,0xd8,0x8c,-0x1a)]())[_0x12dc71(0xe1,0x20e,0x1b2,0x19f)]()})['passthrough'](),agentsSettingsSchema=z[_0x12dc71(0x366,0x250,0x38a,0x3f1)]({'enabled':z[_0x12dc71(0x4c5,0x3ac,0x37b,0x33c)]()[_0x12dc71(0x372,0x2a6,0x1b2,0x36b)](),'includeDefaults':z[_0x8a95cf(0x334,0x372,0x431,0x42e)]()[_0x12dc71(0x332,0x231,0x1b2,0x215)](),'directories':z[_0x12dc71(0x2e6,0x1e5,0x351,0x365)](z[_0x8a95cf(0x28,0xfb,-0x8e,-0x63)]())[_0x8a95cf(0x16b,0x119,0x2ce,0x197)](),'maxConcurrency':z[_0x12dc71(0x3eb,0x38d,0x298,0x376)]()[_0x12dc71(0x334,0x2ef,0x380,0x372)]()[_0x12dc71(0x154,0x13c,0x284,0x442)]()[_0x8a95cf(0x2d0,0x410,0x41b,0x334)]()['optional']()})['passthrough'](),uiThemeSettingsSchema=z[_0x12dc71(0x287,0x463,0x38a,0x504)]({'mode':z[_0x8a95cf(0x2c4,0x33a,0x241,0x3c9)](['auto',_0x8a95cf(0x264,0x1e0,0x311,0xc4),_0x8a95cf(0x150,-0x24,0x59,-0x5b)])[_0x12dc71(0x22c,0x16b,0x1b2,0x245)](),'colorLevel':z['enum']([_0x12dc71(0x2de,0x286,0x2a5,0xfd),_0x12dc71(0x421,0x2c4,0x2dd,0x139),_0x12dc71(0x190,0x232,0x22f,0x38b),_0x12dc71(0x254,0x1be,0x127,-0x70),_0x12dc71(0x85,-0x6,0x9b,0x90)])['optional'](),'backgrounds':z['enum']([_0x12dc71(0x2ff,0x200,0x2a5,0x35c),'on',_0x12dc71(-0x6f,0x162,0x150,-0x65)])['optional'](),'messageStyle':z[_0x8a95cf(0x2c4,0x47a,0x1ca,0x300)]([_0x12dc71(0x37d,0x207,0x244,0x23b),_0x12dc71(0x1b7,0x476,0x302,0x169)])[_0x12dc71(0x12e,0x2c8,0x1b2,-0xe)]()})[_0x12dc71(0x2c7,0x366,0x29d,0x2b5)](),statuslineSegmentSchema=z[_0x8a95cf(0x2c4,0x2b5,0x461,0x445)](['model',_0x12dc71(0x100,0x12b,0x114,-0x62),_0x12dc71(0xe7,0x10f,0xb2,-0x77),_0x8a95cf(0xc4,0x1f2,0x27,-0xa7),_0x12dc71(0x20,0x1c2,0x1a8,0xe1),'context',_0x12dc71(0x441,0x3be,0x2cf,0x131),'requests','tools',_0x8a95cf(0x2ea,0x29c,0x47a,0x407),_0x8a95cf(0x186,0x68,0x341,0x174),_0x8a95cf(0x73,0x17f,0x26,0x134),_0x8a95cf(0x27c,0x1bb,0x139,0x275),_0x12dc71(0x50b,0x2a1,0x390,0x2e6),_0x12dc71(-0xaa,-0x95,0x48,-0x88)]),statuslineItemSchema=z[_0x12dc71(0x1c5,0x19a,0x4e,0x25)]([statuslineSegmentSchema,z[_0x8a95cf(0x1d9,0x17e,0x120,0x336)]('|')]),statuslineRowSchema=z[_0x8a95cf(0x30a,0x17b,0x352,0x181)](statuslineItemSchema),statuslineConfigSchema=z[_0x12dc71(0x338,0x1f5,0x38a,0x391)]({'rows':z[_0x12dc71(0x48a,0x44a,0x324,0x2ca)]([statuslineRowSchema,statuslineRowSchema])['optional']()})['passthrough'](),memoryExtractionSettingsSchema=z['object']({'enabled':z[_0x12dc71(0x52e,0x286,0x37b,0x365)]()['optional'](),'provider':z[_0x12dc71(-0xb,-0xd6,0x6f,0x6f)]()['min'](0x1)[_0x12dc71(0x26a,0x2cc,0x1b2,0xe7)](),'model':z[_0x8a95cf(0x28,-0x143,0x1cf,-0x153)]()[_0x12dc71(0x2da,0xf6,0x2b7,0x21d)](0x1)[_0x8a95cf(0x16b,0x2b8,0xd0,0x2c6)](),'minUserMessages':z[_0x8a95cf(0x251,0x1f4,0x1fc,0x201)]()[_0x12dc71(0x101,0x2f6,0x284,0x219)]()['min'](0x1)[_0x12dc71(-0xa,0x261,0x1b2,0x328)]()})[_0x8a95cf(0x1e2,0x74,0x1fa,0x28)](),memorySettingsSchema=z[_0x12dc71(0x2d0,0x33f,0x38a,0x30b)]({'enabled':z[_0x12dc71(0x2eb,0x228,0x37b,0x279)]()['optional'](),'extraction':memoryExtractionSettingsSchema[_0x12dc71(0xc6,0x49,0x1b2,0x106)]()})[_0x12dc71(0x326,0x397,0x229,0x181)](),recentModelSchema=z[_0x8a95cf(0x343,0x228,0x23f,0x2e1)]({'provider':z['string'](),'model':z[_0x8a95cf(0x28,0xa1,0x4,0x33)](),'usedAt':z[_0x8a95cf(0x251,0x267,0x2f1,0xf3)]()})[_0x12dc71(0x40c,0xfe,0x29d,0x2be)](),lspServerEntrySchema=z['object']({'disabled':z['boolean']()[_0x8a95cf(0x16b,0x27f,0x10d,0x2c2)](),'command':z[_0x12dc71(0x20a,0x109,0x6f,0x97)]()['optional'](),'args':z['array'](z[_0x12dc71(0x1a0,0x15d,0x6f,-0xba)]())['optional'](),'rootMarkers':z['array'](z[_0x8a95cf(0x28,-0x1,-0x169,-0x197)]())[_0x12dc71(0x52,0x331,0x1b2,0x2f3)]()})[_0x8a95cf(0x256,0xee,0x2f2,0x148)](),lspConfigSchema=z['object']({'enabled':z[_0x12dc71(0x2dc,0x44a,0x37b,0x1e6)]()['optional'](),'servers':z[_0x12dc71(-0x6b,0x95,0x154,0xae)](z['string'](),lspServerEntrySchema)['optional']()})[_0x8a95cf(0x256,0x2f6,0x2cc,0x2a7)](),serverEndpointSchema=z['object']({'url':z[_0x12dc71(0x8d,0xf,0x6f,0xe9)](),'token':z[_0x12dc71(0x223,0xba,0x6f,0x132)]()[_0x8a95cf(0x16b,0x245,0x150,0x1e0)]()})[_0x8a95cf(0x256,0x2b0,0x35a,0x107)](),commandHookConfigSchema=z['object']({'type':z[_0x8a95cf(0x1d9,0x282,0x2d,0x251)](_0x8a95cf(0x22b,0xe2,0x80,0x1ed)),'command':z[_0x12dc71(0xd1,0x1c3,0x6f,-0x45)](),'timeout':z[_0x8a95cf(0x251,0x3e5,0x3d9,0x19f)]()['optional']()}),hookMatcherGroupSchema=z[_0x12dc71(0x3ee,0x21e,0x38a,0x364)]({'matcher':z[_0x12dc71(0xf3,0x1ac,0x6f,0x179)]()[_0x12dc71(0xbd,0x1c0,0x1b2,0x16c)](),'hooks':z['array'](commandHookConfigSchema)}),hooksConfigSchema=z['object']({'PreToolUse':z['array'](hookMatcherGroupSchema)[_0x12dc71(0x20a,0xbe,0x1b2,0x31)](),'PostToolUse':z['array'](hookMatcherGroupSchema)[_0x8a95cf(0x16b,0x266,0x72,0x6a)](),'UserPromptSubmit':z[_0x12dc71(0x50c,0x502,0x351,0x2d1)](hookMatcherGroupSchema)[_0x8a95cf(0x16b,0x12b,0xe5,0x27e)](),'Stop':z[_0x8a95cf(0x30a,0x320,0x282,0x26c)](hookMatcherGroupSchema)[_0x8a95cf(0x16b,0x2c3,0x71,0x2f1)](),'Notification':z[_0x8a95cf(0x30a,0x4a2,0x493,0x3b6)](hookMatcherGroupSchema)[_0x8a95cf(0x16b,0x2da,0x2ed,0x31e)](),'ToolApprovalRequest':z[_0x8a95cf(0x30a,0x37a,0x34d,0x236)](hookMatcherGroupSchema)[_0x8a95cf(0x16b,0x235,0x232,0x1b2)](),'SessionStart':z[_0x8a95cf(0x30a,0x30c,0x167,0x392)](hookMatcherGroupSchema)['optional'](),'SessionEnd':z['array'](hookMatcherGroupSchema)['optional']()}),providerNameSchema=z[_0x8a95cf(0x28,-0x4e,-0x13f,0x3a)]()[_0x12dc71(0x428,0x382,0x2b7,0x346)](0x1,_0x12dc71(0x1d1,0x2af,0x164,0x27c))[_0x12dc71(0x12c,0x27d,0x26e,0x120)](_0x190b99=>!_0x190b99['includes'](':'),_0x8a95cf(0x116,0x281,0x299,0x16f)),bashPolicyRuleSchema=z[_0x12dc71(0x450,0x283,0x38a,0x237)]({'id':z[_0x12dc71(-0xd1,0x31,0x6f,0x23a)]()[_0x12dc71(0x2ad,0x14e,0x2bf,0x1c0)]()[_0x8a95cf(0x270,0x264,0x241,0x41b)](0x1)[_0x12dc71(0x15e,-0x53,0x104,0xf1)](0x80),'action':z[_0x12dc71(0x3da,0x3f5,0x30b,0x289)](['allow',_0x8a95cf(0x106,0xac,0x72,0x2b5)]),'cwd':z[_0x12dc71(0x2dc,0x219,0x30b,0x1ef)](['workspace','any-allowed'])[_0x8a95cf(0x16b,0x21c,0x87,0x35)](),'commands':z['array'](z['string']()[_0x12dc71(0x286,0x3e6,0x2b7,0x1af)](0x1))[_0x12dc71(0x47d,0x2eb,0x2b7,0x168)](0x1)})[_0x12dc71(0x27e,0x99,0x229,0x1e9)](),bashPolicyConfigSchema=z[_0x8a95cf(0x343,0x3ab,0x4c8,0x19d)]({'default':z[_0x8a95cf(0x1d9,0xa3,0x11a,0x10a)]('ask')[_0x8a95cf(0x16b,0x2d9,0x179,0x213)](),'rules':z['array'](bashPolicyRuleSchema)[_0x8a95cf(0xbd,0x202,0x9e,-0x3d)](0x3e8)})[_0x12dc71(0xe0,0x38f,0x229,0x1f9)](),cliConfigSchema=z[_0x8a95cf(0x343,0x49d,0x2d8,0x18d)]({'activeProvider':providerNameSchema['optional'](),'activeModel':z[_0x12dc71(0x219,-0xa6,0x6f,0x1a5)]()[_0x8a95cf(0x16b,0x154,0x5e,0xb3)](),'apiKey':z[_0x12dc71(0x102,0x154,0x6f,-0x8f)]()[_0x8a95cf(0x16b,0x2f8,-0x12,0x264)](),'providers':z[_0x8a95cf(0x10d,0x1cc,0x249,0x2af)](providerNameSchema,providerConfigSchema)[_0x12dc71(0x1f5,0x19c,0x1b2,0x317)](),'mcp':mcpSettingsSchema['optional'](),'skills':skillsSettingsSchema[_0x8a95cf(0x16b,0x1ec,0x321,0x12b)](),'agents':agentsSettingsSchema[_0x8a95cf(0x16b,0x3c,0x9c,0x2a6)](),'commands':commandsSettingsSchema[_0x12dc71(0x16a,0x287,0x1b2,0x21f)](),'skillsEnabled':z['record'](z[_0x8a95cf(0x28,-0x12f,-0x11,-0x5c)](),z[_0x8a95cf(0x334,0x1a9,0x2bf,0x4e2)]())[_0x8a95cf(0x16b,0x80,0x2ba,0x1ee)](),'allowedDirs':z[_0x12dc71(0x4ae,0x3c0,0x351,0x3e6)](z[_0x8a95cf(0x28,-0x31,-0xb,0x1eb)]())[_0x8a95cf(0x16b,0x101,0x2e4,0x188)](),'mcpEnabled':prototypeSafeRecord(z[_0x12dc71(0x2b9,0x2d1,0x37b,0x2ad)]())['optional'](),'commandsEnabled':z['record'](z['string'](),z[_0x8a95cf(0x334,0x181,0x2a1,0x433)]())['optional'](),'memory':memorySettingsSchema[_0x12dc71(0x2e1,0x5c,0x1b2,0x283)](),'session':z[_0x12dc71(0x38a,0x21f,0x38a,0x403)]({'memPersist':z[_0x8a95cf(0x334,0x3b8,0x1a0,0x4e1)]()[_0x8a95cf(0x16b,0x104,0x76,0x17c)](),'persistEventLog':z[_0x8a95cf(0x334,0x3d8,0x2c0,0x368)]()[_0x8a95cf(0x16b,0x330,0x90,0x133)](),'persistHttpLog':z[_0x8a95cf(0x334,0x2c8,0x206,0x428)]()[_0x8a95cf(0x16b,0x216,0x180,-0x27)]()})['passthrough']()[_0x12dc71(0x142,0x31f,0x1b2,0x1f4)](),'requireToolApproval':z[_0x12dc71(0x419,0x470,0x37b,0x4ca)]()['optional'](),'thinking':z[_0x12dc71(0x2ff,0x47b,0x38a,0x526)]({'selections':z['record'](z[_0x8a95cf(0x28,0x20,0x19d,-0x49)](),z[_0x8a95cf(0x28,0x10d,0x1cc,0x171)]())['optional']()})[_0x12dc71(0x308,0x279,0x1b2,0x242)](),'streamingChunks':z[_0x8a95cf(0x334,0x4b0,0x357,0x188)]()['optional'](),'agentsEnabled':z['record'](z[_0x12dc71(0xf,-0x2c,0x6f,0x40)](),z[_0x8a95cf(0x334,0x1a2,0x3d1,0x357)]())[_0x8a95cf(0x16b,0x2cb,0x46,0x29a)](),'recentModels':z[_0x12dc71(0x3ae,0x40c,0x351,0x2f8)](recentModelSchema)[_0x12dc71(0x9b,0xdc,0x1b2,0x2a6)](),'lsp':lspConfigSchema[_0x8a95cf(0x16b,0x2f5,0xa9,0x89)](),'servers':z[_0x12dc71(0x23e,0x10b,0x154,0x10a)](z['string'](),serverEndpointSchema)[_0x12dc71(0x33c,0x60,0x1b2,0x43)](),'ui':z[_0x12dc71(0x384,0x53f,0x38a,0x292)]({'theme':uiThemeSettingsSchema['optional'](),'statusline':statuslineConfigSchema[_0x12dc71(0x224,0x7,0x1b2,-0x12)]()})[_0x12dc71(0x286,0x458,0x29d,0x32f)]()[_0x8a95cf(0x16b,0x120,0xa,0x1e3)](),'tools':z[_0x8a95cf(0x10d,0x93,0x235,0x226)](z[_0x8a95cf(0x28,-0xc0,-0xa1,0x10f)](),z[_0x12dc71(0x49a,0x236,0x3ce,0x4ff)]())[_0x12dc71(0x72,0x2d8,0x1b2,0x2bc)](),'hooks':hooksConfigSchema['optional'](),'bashPolicy':z[_0x8a95cf(0x387,0x371,0x436,0x287)]()['optional']()})[_0x12dc71(0x251,0x190,0x29d,0x2c5)](),workspaceOverlaySchema=z[_0x8a95cf(0x343,0x199,0x420,0x32e)]({'root':z[_0x8a95cf(0x28,-0x29,-0x5a,0x1a2)]()[_0x8a95cf(0x16b,0x93,-0x8,0x126)](),'allowedDirs':z[_0x12dc71(0x4f6,0x230,0x351,0x289)](z[_0x12dc71(-0xa0,-0x3b,0x6f,0x100)]())[_0x12dc71(0x343,0x2cd,0x1b2,0x1f9)](),'activeProvider':providerNameSchema['optional'](),'activeModel':z[_0x12dc71(-0x5a,0x169,0x6f,-0x4f)]()[_0x12dc71(0x1da,0x20a,0x1b2,0x233)](),'mcp':mcpSettingsSchema[_0x8a95cf(0x16b,0x2df,0x2b6,0x303)](),'skills':skillsSettingsSchema[_0x8a95cf(0x16b,0x1b6,0x6e,0x2b2)](),'agents':agentsSettingsSchema['optional'](),'commands':commandsSettingsSchema[_0x12dc71(0x9a,0x39,0x1b2,0x17a)](),'hooks':hooksConfigSchema['optional'](),'memory':memorySettingsSchema[_0x8a95cf(0x16b,0x2f4,0x48,0x18d)](),'mcpEnabled':prototypeSafeRecord(z[_0x12dc71(0x31d,0x3b8,0x37b,0x3f6)]())[_0x8a95cf(0x16b,0x124,0x1ad,0x242)](),'skillsEnabled':z[_0x8a95cf(0x10d,0x270,0xaf,0x220)](z[_0x8a95cf(0x28,0x17a,-0x161,-0xde)](),z['boolean']())[_0x8a95cf(0x16b,0x1bf,0x2d9,0x1c0)](),'agentsEnabled':z['record'](z[_0x12dc71(-0x156,-0x13f,0x6f,0xda)](),z[_0x8a95cf(0x334,0x24e,0x38e,0x18b)]())[_0x12dc71(0x15c,0x2d2,0x1b2,-0x1)](),'commandsEnabled':z[_0x12dc71(0x182,0x187,0x154,0x237)](z['string'](),z[_0x12dc71(0x1d6,0x521,0x37b,0x532)]())[_0x8a95cf(0x16b,-0x4,-0x5c,0x193)](),'bashPolicy':z[_0x8a95cf(0x387,0x4c6,0x38c,0x4a3)]()['optional']()})['passthrough'](),PROTOTYPE_SENSITIVE_NAMES2=new Set([...Object[_0x8a95cf(0x122,0x295,0x1b2,0x2e0)](Object[_0x8a95cf(0x2d9,0x2dd,0x31f,0x30e)]),_0x12dc71(0x2ea,0x225,0x320,0x359)]);function buildDescription(_0xec2d91){const _0x2983b3={_0x29916c:0x5f6,_0x161d75:0x483,_0x62f2ee:0x5f7,_0x12ec2f:0x7e8,_0x627963:0x5b9,_0x4b16a8:0x4d7,_0x2224d5:0x2f2,_0x2d8749:0x5e3,_0x13c193:0x6e4,_0x3ab9c7:0x815,_0xeb626a:0x779,_0x177332:0x606},_0xe04d70={_0x1ac44d:0x7e,_0x16cdcc:0x127},_0x32b2f5={_0x512460:0x460,_0x4586da:0xe1,_0x2b67e8:0xa8};function _0x4a233c(_0x2e75bc,_0x242d55,_0x4fa472,_0x284df1){return _0x8a95cf(_0x2e75bc-_0x32b2f5._0x512460,_0x4fa472,_0x4fa472-_0x32b2f5._0x4586da,_0x284df1-_0x32b2f5._0x2b67e8);}if(_0xec2d91['length']===0x0)return[_0x180765(_0x2983b3._0x29916c,0x5ee,0x64e,_0x2983b3._0x161d75),'Use\x20this\x20when\x20the\x20user\x27s\x20request\x20matches\x20an\x20available\x20command\x20description,\x20even\x20if\x20the\x20user\x20did\x20not\x20type\x20the\x20slash\x20command\x20explicitly.','No\x20commands\x20are\x20currently\x20available.'][_0x4a233c(_0x2983b3._0x62f2ee,0x776,0x681,0x690)]('\x0a');function _0x180765(_0xac3087,_0x4abf1f,_0x4e41cf,_0x2cc7f3){return _0x12dc71(_0x2cc7f3,_0x4abf1f-_0xe04d70._0x1ac44d,_0x4e41cf-0x32c,_0x2cc7f3-_0xe04d70._0x16cdcc);}const _0x5c447e=[_0x180765(_0x2983b3._0x12ec2f,_0x2983b3._0x627963,0x64e,0x5ee),_0x180765(_0x2983b3._0x4b16a8,_0x2983b3._0x2224d5,0x433,_0x2983b3._0x2d8749),_0x4a233c(_0x2983b3._0x13c193,_0x2983b3._0x3ab9c7,_0x2983b3._0xeb626a,0x5b3),..._0xec2d91['map'](_0x3926b8=>_0x3926b8[_0x180765(0x515,0x69a,0x6c7,0x60c)]?'-\x20'+_0x3926b8['name']+'\x20'+_0x3926b8[_0x180765(0x6a6,0x56d,0x6c7,0x5b4)]+':\x20'+_0x3926b8[_0x180765(0x3d0,0x247,0x3f8,0x3be)]:'-\x20'+_0x3926b8[_0x180765(0x3e4,0x5f6,0x525,0x500)]+':\x20'+_0x3926b8[_0x180765(0x4aa,0x297,0x3f8,0x472)])];return _0x5c447e[_0x4a233c(_0x2983b3._0x62f2ee,0x674,_0x2983b3._0x177332,0x60a)]('\x0a');}function createInvokeCommandTool(_0x2ca320){const _0x4931aa={_0x28b6ff:0x36e,_0xb44a62:0x232,_0x5023d9:0x3a7,_0x1e5f9e:0x451,_0x38b669:0x299,_0xf8f692:0x521,_0x59ce85:0x50c,_0x133875:0x59d,_0x4e2770:0x808,_0x50bb4d:0x7fe,_0x54ba36:0x60,_0xd594e8:0xf1,_0x599577:0x484,_0x24a014:0x636},_0x189a05={_0xb77f31:0x4eb,_0x33a633:0x368,_0x2184ae:0x2fc,_0x4f344a:0x1c7,_0x4740a3:0x10c,_0x1b5dea:0xe4,_0x3aba1c:0x12c,_0x1eddf7:0x54,_0x445f77:0x34d,_0x2ff49e:0x256,_0x2d3c0d:0x427,_0x49122f:0x1c0,_0x45fe62:0x201,_0x56dcc5:0x3c1,_0x15b7b2:0x30b,_0x359a3d:0x1d5,_0x5847d5:0x204,_0x326e62:0x11c,_0x439ecd:0x119,_0x1cf70f:0xee,_0xfb0143:0x3ac,_0x3bc8ea:0x48e,_0x1b5958:0x172,_0x41d252:0xd,_0x1e4d44:0x140},_0x182cdf={_0x437df9:0x2e},_0x562f47={_0x4d733c:0x45c,_0x5900df:0x1ba},_0x2f7c89={_0x5d4b19:0x18};function _0x293108(_0x3d7a7d,_0x30bc0f,_0x2cb60c,_0x50ccc7){return _0x12dc71(_0x30bc0f,_0x30bc0f-0x12e,_0x3d7a7d- -0xf,_0x50ccc7-_0x2f7c89._0x5d4b19);}const _0x57124a=new Map(_0x2ca320['commands'][_0x293108(_0x4931aa._0x28b6ff,0x4a8,_0x4931aa._0xb44a62,_0x4931aa._0x5023d9)](_0x3c28ca=>[_0x3c28ca['id'],_0x3c28ca]));function _0x5460d9(_0x228b03,_0x29bb67,_0x3d98dd,_0x190809){return _0x8a95cf(_0x29bb67-_0x562f47._0x4d733c,_0x190809,_0x3d98dd-_0x562f47._0x5900df,_0x190809-0x1ad);}const _0x450ff8=buildDescription(_0x2ca320[_0x5460d9(0x5f5,_0x4931aa._0x1e5f9e,_0x4931aa._0x38b669,0x5f3)]);return defineTool({'name':_0x5460d9(_0x4931aa._0xf8f692,_0x4931aa._0x59ce85,0x51e,_0x4931aa._0x133875),'permissionClass':_0x5460d9(_0x4931aa._0x4e2770,0x708,0x878,_0x4931aa._0x50bb4d),'description':_0x450ff8,'inputSchema':{'type':'object','properties':{'name':{'type':_0x293108(_0x4931aa._0x54ba36,0x142,0x18f,_0x4931aa._0xd594e8)},'args':{'type':_0x5460d9(0x3b2,_0x4931aa._0x599577,_0x4931aa._0x24a014,0x63b)}},'required':['name']},async *'execute'(_0x3b2c21){const _0x1abe6e={_0x58c45c:0xd0};function _0x4c4b5d(_0x4163fc,_0x2ae960,_0x193c2f,_0xbc8f95){return _0x293108(_0x193c2f- -0x24b,_0xbc8f95,_0x193c2f-0x1eb,_0xbc8f95-_0x182cdf._0x437df9);}const _0x4c2eaa=_0x57124a[_0x49c356(0x4a3,0x3a8,0x4ab,_0x189a05._0xb77f31)](_0x3b2c21[_0x49c356(_0x189a05._0x33a633,_0x189a05._0x2184ae,0x3bb,_0x189a05._0x4f344a)]);if(!_0x4c2eaa){const _0x2fe313=Array[_0x4c4b5d(_0x189a05._0x4740a3,0x128,0x151,0x155)](_0x57124a[_0x4c4b5d(_0x189a05._0x1b5dea,_0x189a05._0x3aba1c,-_0x189a05._0x1eddf7,-0x1f2)]())[_0x49c356(_0x189a05._0x445f77,0x1b5,_0x189a05._0x2ff49e,_0x189a05._0x2d3c0d)](',\x20');throw new ToolExecutionError(_0x4c4b5d(-0x2d,-0xa,0x38,0xdc)+_0x3b2c21[_0x49c356(0x368,0x46a,0x269,_0x189a05._0x49122f)]+_0x49c356(0x39c,_0x189a05._0x45fe62,0x421,0x1ee)+_0x2fe313,{'name':_0x3b2c21[_0x49c356(0x368,0x1f4,_0x189a05._0x56dcc5,_0x189a05._0x15b7b2)]});}const _0x152cff=await _0x2ca320[_0x49c356(_0x189a05._0x359a3d,_0x189a05._0x3aba1c,_0x189a05._0x5847d5,0x16f)](_0x4c2eaa);function _0x49c356(_0x13a416,_0x3da7da,_0x187fc1,_0x2a2145){return _0x293108(_0x13a416-0x17e,_0x187fc1,_0x187fc1-_0x1abe6e._0x58c45c,_0x2a2145-0xcf);}const _0x45159e=_0x3b2c21[_0x4c4b5d(-0x1b,0x14c,-0x2c,0x11d)]??'',_0x2ffafa=renderCommandInstructions({'instructions':_0x152cff[_0x4c4b5d(-_0x189a05._0x326e62,-0x143,-_0x189a05._0x439ecd,-_0x189a05._0x1cf70f)],'argumentsText':_0x45159e,'argumentNames':_0x152cff['arguments']});return yield createToolOutput(_0x2ffafa,{'id':_0x152cff['id'],'name':_0x152cff['name'],'path':_0x4c2eaa[_0x49c356(_0x189a05._0xfb0143,0x37b,_0x189a05._0x3bc8ea,0x1e9)][_0x4c4b5d(0x10a,-_0x189a05._0x1b5958,-_0x189a05._0x41d252,-_0x189a05._0x1e4d44)]}),void 0x0;}});}import{readFile as _0x6e201d,rename as _0x53d093,stat as _0x2171de,writeFile as _0x37faa3}from'fs/promises';import*as _0x295756 from'path';import{createHash}from'crypto';function sha256Bytes(_0x35d6c8){const _0x2cce4e={_0x48e013:0xe1,_0x18f73b:0x165,_0x29b408:0x13a},_0x3ede38={_0x20b0f9:0x50};function _0xe9b34d(_0x5ee436,_0x32e876,_0x360463,_0x2d5af2){return _0x8a95cf(_0x2d5af2- -0x123,_0x5ee436,_0x360463-0x66,_0x2d5af2-0x11f);}function _0x54ad7b(_0x4917d6,_0x384b0a,_0xa7b328,_0x7fad00){return _0x12dc71(_0x4917d6,_0x384b0a-0x17a,_0x7fad00-_0x3ede38._0x20b0f9,_0x7fad00-0x65);}return createHash(_0x54ad7b(0x596,0x448,0x341,0x3d3))[_0xe9b34d(-_0x2cce4e._0x48e013,_0x2cce4e._0x18f73b,-_0x2cce4e._0x29b408,-0x32)](_0x35d6c8)['digest'](_0xe9b34d(-0x14e,0x49,-0x92,0x6e));}function countLines(_0x113a2d){const _0x124da6={_0x4d8d3a:0x2a8,_0x212d89:0xb0,_0x32acc:0x108,_0x3490b2:0x33,_0x4ca0c9:0x1f,_0x5da39b:0x115,_0x427c37:0x456,_0x59b4dc:0x351,_0x40c09a:0x2c6},_0x13cf74={_0xad8792:0xa5,_0x5117a5:0x1e4},_0x70ed0f={_0x4fdbc9:0x1b1,_0x329373:0x4e};function _0x4acd37(_0x37486d,_0x3d6dd6,_0xa1a777,_0x4e833a){return _0x8a95cf(_0x37486d-_0x70ed0f._0x4fdbc9,_0x4e833a,_0xa1a777-0x197,_0x4e833a-_0x70ed0f._0x329373);}const _0x5a7c24=_0x113a2d[_0x2e35e2(0x5b,-0x14e,-0x20c,-_0x124da6._0x4d8d3a)](/\n$/,'');function _0x2e35e2(_0x467c66,_0x5cc2f1,_0x55b48f,_0x293f7a){return _0x12dc71(_0x467c66,_0x5cc2f1-_0x13cf74._0xad8792,_0x5cc2f1- -_0x13cf74._0x5117a5,_0x293f7a-0xc2);}return _0x5a7c24[_0x2e35e2(-_0x124da6._0x212d89,_0x124da6._0x32acc,-_0x124da6._0x3490b2,0x49)]===0x0?0x0:_0x5a7c24[_0x2e35e2(_0x124da6._0x4ca0c9,-_0x124da6._0x5da39b,-0x16b,-0x1ee)]('\x0a')[_0x4acd37(_0x124da6._0x427c37,_0x124da6._0x59b4dc,0x41f,_0x124da6._0x40c09a)];}function replaceFirstExact(_0x20a2e8,_0x522226,_0x1d0fb3){const _0x516221={_0x56bf2c:0x19e,_0x5ad13f:0x197,_0x29d7ef:0x31e,_0x4ed09e:0x2e0,_0x1df612:0x1cd,_0x43929d:0x250,_0x10a5ad:0x326,_0x545981:0x371,_0x4c4c91:0x1ae,_0x3b6653:0xd},_0xde181d={_0x3af95f:0x1c2,_0x2fc64d:0x44},_0x359e14={_0x5d45b8:0x51,_0x4fb53f:0x36},_0x275282=_0x20a2e8[_0x3ee4b7(0x294,_0x516221._0x56bf2c,_0x516221._0x5ad13f,0x238)](_0x522226);if(_0x275282===-0x1)return void 0x0;const _0xed5d4d=_0x20a2e8[_0x445563(_0x516221._0x29d7ef,_0x516221._0x4ed09e,0x1dc,_0x516221._0x1df612)](0x0,_0x275282)[_0x445563(0x392,_0x516221._0x43929d,_0x516221._0x10a5ad,0x297)]('\x0a')['length'],_0x31489a=countLines(_0x522226);function _0x445563(_0x1372e4,_0x58480f,_0x1c6756,_0x10fd2d){return _0x8a95cf(_0x1372e4-0x30a,_0x1c6756,_0x1c6756-_0x359e14._0x5d45b8,_0x10fd2d-_0x359e14._0x4fb53f);}const _0x5acb8f=countLines(_0x1d0fb3);function _0x3ee4b7(_0x598f14,_0x1c24cf,_0x40d7ec,_0x162e36){return _0x8a95cf(_0x40d7ec- -_0xde181d._0x3af95f,_0x598f14,_0x40d7ec-_0xde181d._0x2fc64d,_0x162e36-0x40);}return{'before':_0x20a2e8,'after':_0x20a2e8[_0x3ee4b7(-0x163,-_0x516221._0x545981,-_0x516221._0x4c4c91,-0x360)](0x0,_0x275282)+_0x1d0fb3+_0x20a2e8[_0x3ee4b7(-0x28d,-_0x516221._0x3b6653,-_0x516221._0x4c4c91,-0x371)](_0x275282+_0x522226['length']),'lineNumbers':{'oldStartLine':_0xed5d4d,'oldEndLine':_0xed5d4d+_0x31489a-0x1,'newStartLine':_0xed5d4d,'newEndLine':_0xed5d4d+_0x5acb8f-0x1,'oldLineCount':_0x31489a,'newLineCount':_0x5acb8f}};}function detectEol(_0x527055){const _0x2ab5da={_0x2f4307:0x583,_0x24d8d1:0x4fb,_0x5960ab:0x4e1,_0x51f642:0x5d4,_0x105372:0x5d7,_0x3585bf:0x26d,_0x9cc1f7:0x95},_0x5b1f77={_0x196050:0xbf};function _0x432190(_0x1d6161,_0x431d2f,_0x32ff7f,_0x13883f){return _0x8a95cf(_0x1d6161-_0x5b1f77._0x196050,_0x32ff7f,_0x32ff7f-0x59,_0x13883f-0xd3);}function _0x5b5d74(_0x247334,_0xcf024b,_0x536dff,_0x3bd674){return _0x12dc71(_0x247334,_0xcf024b-0x39,_0x536dff-0x154,_0x3bd674-0x1a4);}return/\r\n/[_0x5b5d74(0x378,_0x2ab5da._0x2f4307,_0x2ab5da._0x24d8d1,0x5ed)](_0x527055[_0x5b5d74(_0x2ab5da._0x5960ab,0x3e4,0x4c4,_0x2ab5da._0x51f642)](_0x5b5d74(0x6c5,0x5e7,0x51b,_0x2ab5da._0x105372)))?_0x432190(0xc2,0x144,_0x2ab5da._0x3585bf,-_0x2ab5da._0x9cc1f7):'lf';}function normalizeToLf(_0x53fc34){return _0x53fc34['replace'](/\r\n/g,'\x0a');}function convertEol(_0x27b550,_0x4a29ee){const _0x10e77c={_0x84ba31:0x220,_0x41e814:0x83},_0x2d4831={_0x13fd71:0x52};function _0xbcd124(_0x4fdd4e,_0x1d6159,_0x567761,_0x19b2b4){return _0x12dc71(_0x4fdd4e,_0x1d6159-_0x2d4831._0x13fd71,_0x567761-0x18a,_0x19b2b4-0x5c);}return _0x4a29ee==='crlf'?_0x27b550[_0xbcd124(0x3d0,0x2fd,_0x10e77c._0x84ba31,_0x10e77c._0x41e814)](/\n/g,'\x0d\x0a'):_0x27b550;}async function atomicWrite(_0xa6afc0,_0x4e0428){const _0x35594d={_0xdda4a8:0x26a,_0x4c4968:0x1f4,_0x5d8c9b:0x212,_0x36f9cf:0x3ac,_0x3ccd2c:0x11f,_0x4ac822:0x2a9,_0x4046c8:0x6da,_0x31e75f:0x690,_0x25e05d:0x54b,_0x4087af:0x57a,_0x9e7420:0x4f1,_0x5c3975:0x297,_0x116c6e:0x3ae,_0x5abfbe:0x42f,_0x518273:0x6b1,_0x3c74b7:0x3ef,_0x14e8a3:0x53c,_0x468067:0x227},_0x49748a={_0x1ec9d2:0x151};function _0xc1e970(_0x211ac5,_0x103c67,_0x5bf7a5,_0x1e821e){return _0x12dc71(_0x211ac5,_0x103c67-_0x49748a._0x1ec9d2,_0x5bf7a5-0x44a,_0x1e821e-0x19c);}const _0x55835e=_0x295756['dirname'](_0xa6afc0),_0x364a24=_0x295756[_0x383942(_0x35594d._0xdda4a8,_0x35594d._0x4c4968,_0x35594d._0x5d8c9b,0x3aa)](_0x55835e,_0x383942(_0x35594d._0x36f9cf,0x1dd,_0x35594d._0x3ccd2c,_0x35594d._0x4ac822)+_0x295756[_0xc1e970(_0x35594d._0x4046c8,_0x35594d._0x31e75f,0x54c,0x39a)](_0xa6afc0)+'.'+Date[_0xc1e970(0x68b,0x398,_0x35594d._0x25e05d,_0x35594d._0x4087af)]()+'.'+Math[_0x383942(_0x35594d._0x9e7420,_0x35594d._0x5c3975,_0x35594d._0x116c6e,_0x35594d._0x5abfbe)]()[_0x383942(_0x35594d._0x518273,_0x35594d._0x3c74b7,0x3c6,_0x35594d._0x14e8a3)](0x24)[_0x383942(0x38b,0x12d,0x1f6,_0x35594d._0x468067)](0x2));await _0x37faa3(_0x364a24,_0x4e0428);function _0x383942(_0x629a48,_0x423cdf,_0x37226b,_0x397e0b){return _0x12dc71(_0x629a48,_0x423cdf-0x1ab,_0x397e0b-0x1cc,_0x397e0b-0x1b0);}await _0x53d093(_0x364a24,_0xa6afc0);}function createFileEditTool(_0x346907={}){const _0x284ffc={_0x257509:0x557,_0x19f588:0x42a,_0x438860:0x3d3,_0x46baf7:0x64e,_0x407c6e:0x801,_0x21e26c:0x2fb,_0x3a2d15:0x622,_0x4f8d57:0x4b9,_0x11e457:0x61c,_0x4b512c:0x420,_0x1780c4:0x600,_0x51a4f8:0x6d6,_0x1d3161:0x707,_0x437709:0x572,_0x308c48:0x4c3,_0x304de0:0x289,_0x2913b6:0x3fb,_0x43deaf:0x3cd,_0x41665c:0x5b3,_0x375224:0x708,_0x2b8fb4:0x5e1,_0x4eebba:0x745,_0x2ec1b8:0x4c0,_0x4511de:0x644},_0x563c4c={_0x3e71f9:0x822,_0x26190a:0x7b4,_0x4929ec:0x54c,_0x8f4133:0x50b,_0x3768df:0x40f,_0x2d37e2:0x71b,_0x20232c:0x724,_0x2b17df:0x538,_0x23b03a:0x338,_0x209000:0x3bf,_0xadba1e:0x40a,_0x1fb3b3:0x61e,_0x962461:0x58b,_0x47d780:0x660,_0x2aaf25:0x60e,_0xb76207:0x583,_0x2adb46:0x67c,_0x3ad3db:0x6c4,_0x5a5151:0x715,_0x1205e4:0x541,_0x57c7a9:0x53e,_0x26a4b9:0x8c8,_0x2a60e5:0x861,_0x406087:0x42b,_0x5944d2:0x579,_0x2c18c4:0x595,_0xfdff61:0x40e,_0x49b47:0x531,_0x179dd5:0x5db,_0x5634e3:0x304,_0x4fc237:0x3dc,_0x2a57cd:0x521,_0x11a17a:0x3cb,_0x754cff:0x41f,_0x21a4e0:0x58f,_0x1956e2:0x685,_0x3bfe74:0x543,_0x4189f6:0x692,_0x53cd98:0x42e,_0x304e35:0x64c,_0x45d556:0x5c6,_0x4cebec:0x60f,_0x40bec9:0x54a,_0x1992b2:0x637,_0x34af93:0x7e7,_0x1537a2:0x6ca},_0x43a320={_0x5c7930:0x75},_0x734f15={_0x285877:0x34a,_0x3f219c:0x1cc},_0xd02a4c={_0x475a8f:0x1c2,_0x3cc3f0:0x108},_0x50ede6=_0x295756[_0x55681c(0x595,_0x284ffc._0x257509,_0x284ffc._0x19f588,_0x284ffc._0x438860)](_0x346907[_0x55681c(_0x284ffc._0x46baf7,_0x284ffc._0x407c6e,0x6c1,0x851)]??process[_0x3d5938(_0x284ffc._0x21e26c,_0x284ffc._0x3a2d15,0x4d6,_0x284ffc._0x4f8d57)]());function _0x3d5938(_0x5e8635,_0x3659db,_0x5a599f,_0x3d362e){return _0x12dc71(_0x5a599f,_0x3659db-_0xd02a4c._0x475a8f,_0x3d362e-0x35e,_0x3d362e-_0xd02a4c._0x3cc3f0);}const _0x5851dd=_0x346907[_0x3d5938(0x4b5,0x474,0x63e,_0x284ffc._0x11e457)]??[];function _0x55681c(_0x43c884,_0x55606e,_0x33add7,_0x1dbbed){return _0x12dc71(_0x1dbbed,_0x55606e-0xab,_0x33add7-_0x734f15._0x285877,_0x1dbbed-_0x734f15._0x3f219c);}const _0xe912f4=_0x346907[_0x3d5938(_0x284ffc._0x4b512c,0x3f4,_0x284ffc._0x1780c4,0x557)]??'FileEdit';return defineTool({'name':_0xe912f4,'permissionClass':_0x3d5938(0x853,0x665,0x5fc,_0x284ffc._0x51a4f8),'description':_0x3d5938(0x6a8,0x70a,0x692,0x5a7),'inputSchema':{'type':_0x3d5938(0x8af,_0x284ffc._0x1d3161,_0x284ffc._0x437709,0x6e8),'properties':{'filePath':{'type':'string'},'description':{'type':'string','description':'A\x20concise\x20explanation\x20of\x20what\x20this\x20edit\x20changes\x20and\x20why\x20—\x20the\x20goal\x20it\x20advances.\x20Shown\x20to\x20the\x20user\x20before\x20the\x20change\x20is\x20applied.\x20Be\x20specific,\x20e.g.\x20\x27Fix\x20the\x20token-refresh\x20race\x20in\x20the\x20auth\x20client\x27\x20rather\x20than\x20\x27edit\x20file\x27.'},'oldText':{'type':_0x3d5938(0x40e,0x44b,_0x284ffc._0x308c48,0x3cd)},'newText':{'type':_0x3d5938(_0x284ffc._0x304de0,0x473,_0x284ffc._0x2913b6,_0x284ffc._0x43deaf)},'dryRun':{'type':_0x55681c(_0x284ffc._0x41665c,_0x284ffc._0x375224,0x6c5,0x815)}},'required':[_0x3d5938(_0x284ffc._0x2b8fb4,_0x284ffc._0x4eebba,_0x284ffc._0x2ec1b8,0x5e5),'oldText',_0x3d5938(_0x284ffc._0x4511de,0x6e6,0x715,0x687)]},async *'execute'(_0x3491b6){function _0x5da1b8(_0x4d3338,_0x16c24f,_0x3d588c,_0x1cb6ce){return _0x55681c(_0x4d3338-0x110,_0x16c24f-_0x43a320._0x5c7930,_0x4d3338-0x1,_0x3d588c);}const _0x3f1a08=resolveAllowedPath(_0x50ede6,_0x5851dd,_0x3491b6['filePath']);await assertWorkspaceFile(_0x3f1a08);const _0x5ea6ac=await _0x2171de(_0x3f1a08),_0x164a84=await _0x6e201d(_0x3f1a08),_0xaef875=detectEol(_0x164a84),_0x273232=normalizeToLf(_0x164a84[_0x2d7eaf(_0x563c4c._0x3e71f9,_0x563c4c._0x26190a,0x6e4,_0x563c4c._0x4929ec)]('utf8')),_0x65ce8b=normalizeToLf(_0x3491b6[_0x5da1b8(_0x563c4c._0x8f4133,0x5d7,_0x563c4c._0x3768df,0x5b6)]),_0x3d7093=normalizeToLf(_0x3491b6[_0x5da1b8(0x674,_0x563c4c._0x2d37e2,0x7d1,_0x563c4c._0x20232c)]),_0xfbfc67=replaceFirstExact(_0x273232,_0x65ce8b,_0x3d7093);function _0x2d7eaf(_0x4a53f4,_0x4112cf,_0x4bb253,_0x18ae88){return _0x3d5938(_0x4a53f4-0xbe,_0x4112cf-0x3f,_0x4a53f4,_0x4bb253-0x16);}if(_0xfbfc67===void 0x0){const _0x535f4b=_0x65ce8b[_0x2d7eaf(0x28e,_0x563c4c._0x2b17df,0x3cf,_0x563c4c._0x23b03a)](0x0,0x64)[_0x2d7eaf(_0x563c4c._0x209000,0x44d,_0x563c4c._0xadba1e,0x559)](/\n/g,'\x5cn');throw new ToolExecutionError('oldText\x20not\x20found\x20in\x20file.\x20Make\x20sure\x20it\x20matches\x20exactly\x20including\x20whitespace.\x20Searching\x20for:\x20\x22'+_0x535f4b+(_0x65ce8b[_0x2d7eaf(_0x563c4c._0x1fb3b3,_0x563c4c._0x962461,_0x563c4c._0x47d780,_0x563c4c._0x2aaf25)]>0x64?_0x2d7eaf(_0x563c4c._0xb76207,_0x563c4c._0x2adb46,_0x563c4c._0x3ad3db,0x550):'')+'\x22',{'filePath':_0x3491b6['filePath']});}const _0x531f1b=convertEol(_0xfbfc67['after'],_0xaef875),_0x10d3a5=Buffer[_0x5da1b8(0x6f6,_0x563c4c._0x5a5151,_0x563c4c._0x1205e4,_0x563c4c._0x57c7a9)](_0x531f1b,_0x2d7eaf(_0x563c4c._0x26a4b9,0x5d3,0x73b,_0x563c4c._0x2a60e5)),_0x103a30=sha256Bytes(_0x164a84),_0x30b023=sha256Bytes(_0x10d3a5),_0x5d8571=_0x103a30===_0x30b023,_0x233952=_0x3491b6[_0x5da1b8(0x49d,_0x563c4c._0x406087,_0x563c4c._0x5944d2,0x486)]??![];return!_0x233952&&!_0x5d8571&&await atomicWrite(_0x3f1a08,_0x10d3a5),yield createToolOutput(_0x5d8571?_0x2d7eaf(_0x563c4c._0x2c18c4,_0x563c4c._0xfdff61,0x423,0x2f6):_0x233952?_0x2d7eaf(_0x563c4c._0x49b47,0x862,0x6b5,_0x563c4c._0x179dd5):_0x2d7eaf(_0x563c4c._0x5634e3,_0x563c4c._0x49b47,_0x563c4c._0x4fc237,_0x563c4c._0x2a57cd),{'filePath':_0x3491b6[_0x2d7eaf(0x690,0x644,0x5fb,0x606)],'resolvedPath':_0x3f1a08,'created':_0x5ea6ac[_0x2d7eaf(_0x563c4c._0x11a17a,_0x563c4c._0x754cff,_0x563c4c._0x21a4e0,0x606)]['toISOString'](),'modified':_0x5ea6ac[_0x2d7eaf(0x72c,_0x563c4c._0x1956e2,0x697,0x564)][_0x5da1b8(_0x563c4c._0x3bfe74,_0x563c4c._0x4189f6,_0x563c4c._0x53cd98,0x49d)](),'size':_0x5ea6ac[_0x5da1b8(0x5ad,_0x563c4c._0x304e35,_0x563c4c._0x45d556,_0x563c4c._0x4cebec)],'eol':_0xaef875,'oldTextLength':_0x65ce8b['length'],'newTextLength':_0x3d7093[_0x2d7eaf(0x5eb,0x513,_0x563c4c._0x47d780,_0x563c4c._0x40bec9)],'bytesWritten':_0x5d8571||_0x233952?0x0:_0x10d3a5[_0x5da1b8(_0x563c4c._0x1992b2,0x7ad,_0x563c4c._0x34af93,_0x563c4c._0x1537a2)],'beforeSha':_0x103a30,'afterSha':_0x30b023,'dryRun':_0x233952,'noChange':_0x5d8571,'lineNumbers':_0xfbfc67['lineNumbers']}),void 0x0;}});}import{mkdir as _0x4c2c77,rename as _0x74f62c,stat as _0x220abf,writeFile as _0x49d9fc}from'fs/promises';function _0x8a95cf(_0x25e759,_0x4889b0,_0x41669a,_0x218a80){const _0x139cf9={_0x4888f5:0x14d};return _0x2a64(_0x25e759- -_0x139cf9._0x4888f5,_0x4889b0);}import*as _0x526243 from'path';async function atomicWrite2(_0x1f940f,_0xd8a546){const _0x55cc03={_0x5ee2fa:0x6d,_0x31d292:0xb0,_0x33faf3:0x116,_0x5f1580:0xe,_0x40c5e9:0xda,_0x29af55:0xe2,_0x37950c:0xb9,_0x13766f:0x27c,_0x324def:0x30e,_0x238900:0x179},_0x9ba261={_0x4ec3f7:0xad,_0x2ef251:0x107},_0x44f214={_0x25a4c6:0x68,_0x89ae1e:0x5c},_0x68e464=_0x526243[_0x55a0df(_0x55cc03._0x5ee2fa,_0x55cc03._0x31d292,_0x55cc03._0x33faf3,0x216)](_0x1f940f);await _0x4c2c77(_0x68e464,{'recursive':!![]});function _0x4196b8(_0x529f00,_0x1564e2,_0x59e120,_0x45b6c8){return _0x12dc71(_0x1564e2,_0x1564e2-_0x44f214._0x25a4c6,_0x529f00-_0x44f214._0x89ae1e,_0x45b6c8-0x17c);}const _0x1a4dd1=_0x526243['join'](_0x68e464,'.tmp.'+_0x526243[_0x55a0df(0x1c6,_0x55cc03._0x5f1580,_0x55cc03._0x40c5e9,-_0x55cc03._0x29af55)](_0x1f940f)+'.'+Date[_0x55a0df(0x2f,0xd,-0x2d,-_0x55cc03._0x37950c)]()+'.'+Math['random']()[_0x55a0df(0x425,_0x55cc03._0x13766f,_0x55cc03._0x324def,_0x55cc03._0x238900)](0x24)['slice'](0x2));function _0x55a0df(_0x15bb6a,_0x4164df,_0x3ebc13,_0x230a53){return _0x8a95cf(_0x4164df- -_0x9ba261._0x4ec3f7,_0x3ebc13,_0x3ebc13-_0x9ba261._0x2ef251,_0x230a53-0x41);}await _0x49d9fc(_0x1a4dd1,_0xd8a546),await _0x74f62c(_0x1a4dd1,_0x1f940f);}function createFileNewTool(_0x2ebeaf={}){const _0x208aea={_0x20b585:0x6d,_0x4583c6:0x2d3,_0xc0abb5:0x687,_0x859d29:0xaa,_0x191c02:0x861,_0xce443:0xa04,_0x50941d:0x377,_0x76617f:0x4aa,_0x1f7a1c:0x48a,_0x1c8d9e:0x5c,_0x33b57a:0x89d,_0x1fa1f8:0x770,_0x32782e:0x7d6,_0x59098c:0x10a,_0x41c694:0x1a5},_0x32bb56={_0x2a0b28:0xb,_0x2f8a4c:0x118,_0x4827f5:0x23,_0x4617a9:0x3cd,_0x2be1f3:0x173,_0x534eae:0x177,_0x5372f3:0x15a,_0x7eb3e7:0x181,_0x11e270:0x23c,_0x1cc81b:0x480,_0x5abcdb:0x6f9,_0x1eacf7:0xec,_0x4fa2c7:0x118,_0x500011:0x22,_0x32dc0f:0x5b7,_0x41a28f:0x51d,_0x1089ed:0x3de,_0xdfa99a:0x5c0,_0x3d77a7:0x400,_0x5226ac:0x5d1,_0x275bd5:0x5fb,_0x400a99:0x89},_0x2ed79d={_0x4992f2:0x10f},_0x5c4b89={_0x5a782c:0x185};function _0x7849c5(_0x17c30f,_0x59b0fb,_0x267f08,_0x15fc7e){return _0x12dc71(_0x15fc7e,_0x59b0fb-_0x5c4b89._0x5a782c,_0x267f08-0x4e9,_0x15fc7e-0x10);}const _0x43acd9=_0x526243[_0x546fe9(0x206,0xcd,0x60,_0x208aea._0x20b585)](_0x2ebeaf[_0x546fe9(0x4dc,0x364,0x4aa,_0x208aea._0x4583c6)]??process[_0x7849c5(0x739,_0x208aea._0xc0abb5,0x644,0x5fe)]());function _0x546fe9(_0x47e290,_0x43a9f3,_0x1a47a3,_0xd8294f){return _0x8a95cf(_0x43a9f3-0x34,_0x1a47a3,_0x1a47a3-0x1ab,_0xd8294f-_0x2ed79d._0x4992f2);}const _0x7e5b0e=_0x2ebeaf['allowedDirs']??[],_0x278178=_0x2ebeaf['name']??_0x546fe9(-_0x208aea._0x859d29,0x59,0x14c,0x1f);return defineTool({'name':_0x278178,'permissionClass':_0x7849c5(0x923,0x707,_0x208aea._0x191c02,_0x208aea._0xce443),'description':'Create\x20or\x20overwrite\x20a\x20UTF-8\x20text\x20file\x20in\x20the\x20workspace\x20or\x20allowed\x20directories.','inputSchema':{'type':_0x546fe9(0x314,_0x208aea._0x50941d,_0x208aea._0x76617f,_0x208aea._0x1f7a1c),'properties':{'filePath':{'type':'string'},'content':{'type':_0x546fe9(0x1aa,_0x208aea._0x1c8d9e,-0xa,-0x55)}},'required':[_0x7849c5(_0x208aea._0x33b57a,0x6b1,_0x208aea._0x1fa1f8,_0x208aea._0x32782e),_0x546fe9(_0x208aea._0x59098c,0xcb,0x15e,_0x208aea._0x41c694)]},async *'execute'(_0x3aaa99){const _0x4430cc=resolveAllowedPath(_0x43acd9,_0x7e5b0e,_0x3aaa99[_0x20a80c(0xfd,-_0x32bb56._0x2a0b28,_0x32bb56._0x2f8a4c,-_0x32bb56._0x4827f5)]);function _0x45101a(_0x41df4a,_0x146a73,_0x4137ab,_0x4f0488){return _0x546fe9(_0x41df4a-0x94,_0x4f0488-0x335,_0x4137ab,_0x4f0488-0x13f);}function _0x20a80c(_0x42dc73,_0x57b30c,_0x3a0802,_0x87dbb6){return _0x546fe9(_0x42dc73-0x6a,_0x3a0802- -0x15c,_0x57b30c,_0x87dbb6-0x1c4);}const _0x4631eb=await _0x220abf(_0x4430cc)[_0x45101a(_0x32bb56._0x4617a9,0x287,0x529,0x372)](()=>!![])[_0x20a80c(_0x32bb56._0x2be1f3,-0xef,0x4d,_0x32bb56._0x534eae)](()=>![]),_0x3dc349=Buffer[_0x20a80c(_0x32bb56._0x5372f3,_0x32bb56._0x7eb3e7,_0x32bb56._0x11e270,0xfd)](_0x3aaa99[_0x45101a(0x2a8,_0x32bb56._0x1cc81b,0x34d,0x400)],_0x45101a(0x6ac,_0x32bb56._0x5abcdb,0x741,0x6e9));return await atomicWrite2(_0x4430cc,_0x3dc349),yield createToolOutput('File\x20written\x20at\x20'+_0x3aaa99[_0x20a80c(_0x32bb56._0x1eacf7,0x2a9,_0x32bb56._0x4fa2c7,_0x32bb56._0x500011)]+'.',{'filePath':_0x3aaa99[_0x20a80c(0x243,0x34,0x118,0x7c)],'resolvedPath':_0x4430cc,'bytes':_0x3dc349[_0x45101a(0x6cf,_0x32bb56._0x32dc0f,_0x32bb56._0x41a28f,0x60e)],'lines':_0x3aaa99[_0x45101a(0x350,_0x32bb56._0x1089ed,_0x32bb56._0xdfa99a,_0x32bb56._0x3d77a7)]['split'](/\r?\n/)[_0x45101a(0x6df,_0x32bb56._0x5226ac,_0x32bb56._0x275bd5,0x60e)],'created':new Date()[_0x20a80c(-0xed,-0xb6,_0x32bb56._0x400a99,0x3)](),'overwritten':_0x4631eb}),void 0x0;}});}import{readFile as _0x222fd5,stat as _0x54b2e4}from'fs/promises';import*as _0x97305d from'path';function _0x2a64(_0x382240,_0xa00fcd){_0x382240=_0x382240-0x142;const _0x4b496a=_0x4b49();let _0x2a642f=_0x4b496a[_0x382240];if(_0x2a64['yHrbzF']===undefined){var _0x538acc=function(_0x2e9a6b){const _0x198b21='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x549648='',_0x366ca8='';for(let _0x4ba30e=0x0,_0x422780,_0x20be0d,_0x4d4652=0x0;_0x20be0d=_0x2e9a6b['charAt'](_0x4d4652++);~_0x20be0d&&(_0x422780=_0x4ba30e%0x4?_0x422780*0x40+_0x20be0d:_0x20be0d,_0x4ba30e++%0x4)?_0x549648+=String['fromCharCode'](0xff&_0x422780>>(-0x2*_0x4ba30e&0x6)):0x0){_0x20be0d=_0x198b21['indexOf'](_0x20be0d);}for(let _0x12440a=0x0,_0x473fc9=_0x549648['length'];_0x12440a<_0x473fc9;_0x12440a++){_0x366ca8+='%'+('00'+_0x549648['charCodeAt'](_0x12440a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x366ca8);};_0x2a64['xuJQHj']=_0x538acc,_0x2a64['gJpQNR']={},_0x2a64['yHrbzF']=!![];}const _0x1ec18c=_0x4b496a[0x0],_0x2e006c=_0x382240+_0x1ec18c,_0x46328c=_0x2a64['gJpQNR'][_0x2e006c];return!_0x46328c?(_0x2a642f=_0x2a64['xuJQHj'](_0x2a642f),_0x2a64['gJpQNR'][_0x2e006c]=_0x2a642f):_0x2a642f=_0x46328c,_0x2a642f;}function stripUtfBom(_0x18313b){const _0xcaba75={_0x13524a:0x232,_0x3a5e6e:0x23b,_0x123287:0x108,_0x104737:0xc3},_0x47cdeb={_0x3d6fd2:0x195,_0x13e75b:0x6c},_0x5e5462={_0x523743:0x1f0};function _0x2d8f58(_0x5b0a45,_0x2814b0,_0x24b331,_0x398eec){return _0x8a95cf(_0x2814b0-0xaf,_0x24b331,_0x24b331-0x1b0,_0x398eec-_0x5e5462._0x523743);}function _0x295852(_0x15ca4a,_0x32a48f,_0xc7341e,_0x3fb4fe){return _0x12dc71(_0x15ca4a,_0x32a48f-_0x47cdeb._0x3d6fd2,_0x32a48f- -_0x47cdeb._0x13e75b,_0x3fb4fe-0x194);}return _0x18313b[_0x295852(0x2cb,_0xcaba75._0x13524a,_0xcaba75._0x3a5e6e,0x14f)](0x0)===0xfeff?_0x18313b[_0x2d8f58(-_0xcaba75._0x123287,_0xcaba75._0x104737,0x1a,0x109)](0x1):_0x18313b;}function clampLine(_0x5dc125,_0xac0193){const _0x4ed64c={_0x13dbc6:0x301,_0x12f966:0xed,_0x56e025:0x20f,_0x3d304b:0xfb},_0xf8446f={_0x44992:0x115},_0x542ef6={_0x2dda6b:0x21,_0x5e7706:0x16d};if(!Number[_0x4a729e(0x287,0x1af,0x11c,0x10c)](_0x5dc125))return 0x1;function _0x4a729e(_0x412bc4,_0x2c6382,_0x57646c,_0x4ad87e){return _0x8a95cf(_0x2c6382-_0x542ef6._0x2dda6b,_0x412bc4,_0x57646c-0x87,_0x4ad87e-_0x542ef6._0x5e7706);}function _0x390f1e(_0xc065d0,_0x4a1795,_0x5c4fb1,_0x2d6bc2){return _0x8a95cf(_0x5c4fb1- -_0xf8446f._0x44992,_0x4a1795,_0x5c4fb1-0xd3,_0x2d6bc2-0x66);}return Math['max'](0x1,Math[_0x4a729e(0x169,0x291,0x21e,_0x4ed64c._0x13dbc6)](Math[_0x390f1e(_0x4ed64c._0x12f966,_0x4ed64c._0x56e025,_0x4ed64c._0x3d304b,0x19d)](_0x5dc125),_0xac0193));}function createFileReadTool(_0x2a00ff={}){const _0x3fec71={_0x23ea75:0x376,_0x3bdefc:0x169,_0x32a76f:0xbc,_0x565885:0x116,_0x3c961b:0x314,_0x26ac8a:0x141,_0x3509df:0x45,_0x2b6523:0x28e,_0x11e89c:0x24c,_0x2d63b9:0x204,_0x83af21:0x336,_0x46c813:0x35,_0x9b9797:0xd2,_0x33f399:0xf2,_0x16b706:0x399,_0x4a566d:0x22c,_0xa3f559:0x1a8,_0x3cd49c:0x28e,_0x14b9d8:0x286,_0x5b242b:0x191,_0x46614c:0x1c6,_0x587d3e:0xaa,_0xaa05b:0x2f0,_0xa9693e:0x2f9,_0x31e56e:0x1d7,_0x4ecf25:0x477,_0x545bc5:0x298,_0x1591fd:0x281,_0x289faf:0x338,_0x5b837e:0x2ad,_0x52f2c9:0x31,_0x18e55b:0x172},_0x219f09={_0x4b4b32:0x500,_0x36cc68:0x634,_0x19203e:0x3d5,_0x3818ac:0x3b6,_0x239a47:0x484,_0x5e4097:0x513,_0x3d3d8e:0x59d,_0x88b4de:0x609,_0x26feff:0x4d,_0x41f2b3:0x153,_0x13778e:0x257,_0x2f32aa:0x214,_0x2e4dda:0x334,_0x284117:0x283,_0x3f2e74:0xdc,_0x34f5f9:0x3ce,_0x4124bc:0xd2,_0x5a9e7f:0xce,_0x30837e:0x3b7,_0x7bc10b:0x472,_0x2a382c:0x18e,_0x3eaff0:0x55d,_0x52c9a9:0x638,_0x380539:0x357,_0x515085:0x38d,_0x49f1b4:0x418,_0x29064e:0x4d6,_0x20a804:0x4d2,_0x422f73:0x224,_0x17c525:0x6d,_0x33dfb0:0x1af,_0x5abb2a:0x173,_0x34ec87:0x2ab,_0x1d34fc:0x216},_0x46ae45={_0x4a73a4:0x3d,_0x61f0aa:0x104,_0x41c936:0xa0},_0x50c6fd={_0x17f591:0x1b0,_0x42b5ba:0x25},_0x48c66e=_0x97305d['resolve'](_0x2a00ff[_0x1e6149(0x1b5,0x273,_0x3fec71._0x23ea75,0x402)]??process[_0x1e6149(-_0x3fec71._0x3bdefc,0x57,-_0x3fec71._0x32a76f,-_0x3fec71._0x565885)]()),_0x3b9a75=_0x2a00ff[_0x1e6149(_0x3fec71._0x3c961b,0x1ba,_0x3fec71._0x26ac8a,0x27)]??[];function _0x9038b6(_0x315456,_0x8fdf35,_0xfcf50d,_0x49de82){return _0x12dc71(_0x49de82,_0x8fdf35-_0x50c6fd._0x17f591,_0xfcf50d-0x61,_0x49de82-_0x50c6fd._0x42b5ba);}function _0x1e6149(_0x4a9b83,_0x399f27,_0x4d5f50,_0x13059b){return _0x12dc71(_0x4a9b83,_0x399f27-_0x46ae45._0x4a73a4,_0x399f27- -_0x46ae45._0x61f0aa,_0x13059b-_0x46ae45._0x41c936);}const _0x31f1e8=_0x2a00ff[_0x1e6149(_0x3fec71._0x3509df,0xf5,_0x3fec71._0x2b6523,_0x3fec71._0x11e89c)]??_0x9038b6(0x390,_0x3fec71._0x2d63b9,0x3a7,_0x3fec71._0x83af21);return defineTool({'name':_0x31f1e8,'permissionClass':_0x9038b6(0x280,_0x3fec71._0x46c813,_0x3fec71._0x9b9797,-_0x3fec71._0x33f399),'description':_0x1e6149(_0x3fec71._0x16b706,_0x3fec71._0x4a566d,_0x3fec71._0xa3f559,0x3c8),'inputSchema':{'type':_0x1e6149(_0x3fec71._0x3cd49c,_0x3fec71._0x14b9d8,_0x3fec71._0x5b242b,0x105),'properties':{'path':{'type':_0x9038b6(0x15f,_0x3fec71._0x46614c,0xd0,_0x3fec71._0x587d3e)},'lineStart':{'type':_0x9038b6(0x43e,_0x3fec71._0xaa05b,_0x3fec71._0xa9693e,_0x3fec71._0x31e56e),'description':_0x9038b6(_0x3fec71._0x4ecf25,_0x3fec71._0x545bc5,_0x3fec71._0x16b706,_0x3fec71._0x1591fd)},'lineEnd':{'type':_0x9038b6(0x22a,_0x3fec71._0x289faf,0x2f9,0x453),'description':_0x9038b6(_0x3fec71._0x5b837e,0x333,0x3fa,0x51b)}},'required':[_0x1e6149(-_0x3fec71._0x52f2c9,0x149,0x2cc,_0x3fec71._0x18e55b)]},async *'execute'(_0x4cb5ee){const _0x5b16f8={_0x25855a:0x77},_0xb71038={_0x2b05bb:0xb3},_0xdd3177=resolveAllowedPath(_0x48c66e,_0x3b9a75,_0x4cb5ee['path']);await assertWorkspaceFile(_0xdd3177);const _0x33124e=await _0x54b2e4(_0xdd3177);function _0x35bfb6(_0x11ad98,_0x3d63e9,_0xc95b5c,_0x5ce599){return _0x1e6149(_0x3d63e9,_0x11ad98- -0x14d,_0xc95b5c-_0xb71038._0x2b05bb,_0x5ce599-0x89);}const _0xa0d99a=await _0x222fd5(_0xdd3177);if(isProbablyBinary(_0xa0d99a))throw new ToolExecutionError(_0x14ab2e(0x4e8,0x657,_0x219f09._0x4b4b32,_0x219f09._0x36cc68)+_0x4cb5ee['path'],{'path':_0x4cb5ee[_0x14ab2e(_0x219f09._0x19203e,0x38a,_0x219f09._0x3818ac,_0x219f09._0x239a47)]});let _0x2237de=_0xa0d99a[_0x14ab2e(0x4f8,0x4a5,_0x219f09._0x5e4097,0x599)](_0x14ab2e(0x54f,0x404,_0x219f09._0x3d3d8e,_0x219f09._0x88b4de));const _0xe8c46=_0x2237de[_0x35bfb6(_0x219f09._0x26feff,-0x166,0x40,-_0x219f09._0x41f2b3)](0x0)===0xfeff;_0x2237de=stripUtfBom(_0x2237de);const _0x28cfdf=_0x2237de[_0x14ab2e(_0x219f09._0x13778e,_0x219f09._0x2f32aa,_0x219f09._0x2e4dda,0x30a)](/\r?\n/),_0x48ff70={'path':_0x4cb5ee[_0x14ab2e(_0x219f09._0x19203e,0x38b,0x3b0,_0x219f09._0x284117)],'resolvedPath':_0xdd3177,'created':_0x33124e[_0x35bfb6(-0x36,_0x219f09._0x3f2e74,-0xde,0x78)][_0x14ab2e(0x380,0x1e1,_0x219f09._0x34f5f9,0x515)](),'modified':_0x33124e[_0x35bfb6(_0x219f09._0x4124bc,-0x78,0x189,_0x219f09._0x5a9e7f)][_0x14ab2e(0x380,_0x219f09._0x30837e,_0x219f09._0x7bc10b,0x48c)](),'size':_0x33124e['size'],'encoding':_0x35bfb6(0x176,0x32d,0x85,_0x219f09._0x2a382c),'bomStripped':_0xe8c46,'truncated':![],'totalLines':_0x28cfdf[_0x14ab2e(0x474,0x5e0,_0x219f09._0x3eaff0,_0x219f09._0x52c9a9)]};if(_0x4cb5ee['lineStart']!==void 0x0||_0x4cb5ee['lineEnd']!==void 0x0){const _0x1b483d=clampLine(_0x4cb5ee[_0x14ab2e(_0x219f09._0x380539,_0x219f09._0x515085,_0x219f09._0x49f1b4,_0x219f09._0x29064e)]??0x1,_0x28cfdf['length']),_0x3d42af=clampLine(_0x4cb5ee[_0x14ab2e(_0x219f09._0x34f5f9,0x22f,0x55e,_0x219f09._0x20a804)]??_0x28cfdf[_0x35bfb6(0x9b,_0x219f09._0x422f73,0xd2,-0xa4)],_0x28cfdf[_0x35bfb6(0x9b,-_0x219f09._0x17c525,-0x2b,_0x219f09._0x33dfb0)]),_0x488b53=Math[_0x14ab2e(0x43f,0x4f1,0x44e,0x57b)](_0x1b483d,_0x3d42af),_0x1e631e=Math[_0x14ab2e(0x28c,_0x219f09._0x5abb2a,_0x219f09._0x34ec87,_0x219f09._0x1d34fc)](_0x1b483d,_0x3d42af),_0x22928f=_0x28cfdf[_0x35bfb6(-0x1f6,-0x296,-0x176,-0x216)](_0x488b53-0x1,_0x1e631e)['map']((_0x556c92,_0x58bcdc)=>_0x488b53+_0x58bcdc+'|'+_0x556c92)['join']('\x0a');return yield createToolOutput(_0x22928f,{..._0x48ff70,'lineRange':{'lineStart':_0x488b53,'lineEnd':_0x1e631e,'linesTotal':_0x28cfdf['length']}}),void 0x0;}yield createToolOutput(_0x2237de,_0x48ff70);function _0x14ab2e(_0x21e55e,_0x5f47cf,_0x1317e4,_0x1c3c33){return _0x9038b6(_0x21e55e-_0x5b16f8._0x25855a,_0x5f47cf-0xf3,_0x21e55e-0x127,_0x1317e4);}return void 0x0;}});}import{stat as _0x2c83fa}from'fs/promises';import*as _0x3fa9e1 from'path';import{execSync,spawn as _0x3da45e}from'child_process';import{existsSync}from'fs';import{stat as _0x487be7}from'fs/promises';import*as _0x1378b5 from'os';import*as _0x1f01b6 from'path';import{rgPath as _0x328fd3}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x5e90c5={_0x8ee3be:0x312,_0x131237:0x380,_0x2aa1f6:0x1c1,_0x4f3eac:0x4aa,_0x117139:0xd5,_0x264f52:0xc6,_0x2184cb:0x19f,_0x513ba2:0xf3,_0x4aa137:0x46c,_0x4db60b:0x39c,_0x1f51a7:0x3b8,_0x4abefd:0xa1,_0x600060:0x1d4,_0x2d3bfc:0x36e,_0x159b94:0x4b3,_0x5bc516:0x1ca,_0x168bd4:0x1a8,_0x34caf8:0x28,_0x457a79:0x103,_0x3f00c1:0x1b3,_0x3fa73e:0x1bf,_0x1b0d08:0x253,_0x4a45cd:0x169,_0x37bfc9:0x3bc,_0x2c149f:0x396,_0x44a346:0x20c,_0x496175:0x533,_0x2dfdaf:0x642,_0x5b788d:0x235,_0x1b51cc:0x17d,_0x5d9d9d:0xf8,_0x3a8b01:0x3a8,_0x503515:0x33c,_0x5cc8a9:0x1b0,_0x5dceec:0x1bd,_0x11bd86:0x25b,_0x2d4f59:0xce,_0x723f89:0x26,_0x205278:0x1ac,_0x5e63ea:0x4d2,_0x4fcfd0:0x65e,_0x2dc9e6:0x579,_0x5bb415:0x501,_0x19b9be:0x38a,_0x38d2b6:0x3c3,_0xd8b57e:0x3b5,_0x55ff2b:0x416,_0x5285b2:0x26b,_0x4c2ac6:0x393,_0x4226fa:0x62c,_0x2ec32f:0x53e,_0x344131:0x685,_0x1ccf8c:0x1c0,_0x5af8c2:0x13c,_0x30f090:0x41,_0x1ccf73:0x34f,_0x123a86:0x1af,_0x3c999b:0x122,_0x58ee8d:0x2c2},_0x4a1f92={_0x1494ad:0xfb},_0x14ae85={_0x15e5ab:0x1de,_0xe73bad:0x17e},_0x55d823=_0x1378b5['platform']()===_0x2a437d(_0x5e90c5._0x8ee3be,0x4dd,_0x5e90c5._0x131237,_0x5e90c5._0x2aa1f6);function _0x2a437d(_0x5ae629,_0x1c9f4c,_0x6340dd,_0x149559){return _0x12dc71(_0x1c9f4c,_0x1c9f4c-0x14f,_0x5ae629-_0x14ae85._0x15e5ab,_0x149559-_0x14ae85._0xe73bad);}const _0x1f6f01=_0x55d823?[_0x1f01b6[_0x2a437d(0x3bc,_0x5e90c5._0x4f3eac,0x212,0x3b6)](process[_0x625ceb(-_0x5e90c5._0x117139,-_0x5e90c5._0x264f52,-_0x5e90c5._0x2184cb,_0x5e90c5._0x513ba2)][_0x2a437d(0x2d0,_0x5e90c5._0x4aa137,_0x5e90c5._0x4db60b,_0x5e90c5._0x1f51a7)]||'',_0x625ceb(_0x5e90c5._0x4abefd,-0x92,-_0x5e90c5._0x600060,-0xf4),'WinGet',_0x2a437d(_0x5e90c5._0x2d3bfc,_0x5e90c5._0x159b94,0x42f,0x496)),_0x1f01b6[_0x625ceb(-_0x5e90c5._0x5bc516,-0xa0,-_0x5e90c5._0x168bd4,-0x1aa)](process['env'][_0x625ceb(-_0x5e90c5._0x34caf8,_0x5e90c5._0x457a79,_0x5e90c5._0x3f00c1,0x1d1)]||'',_0x625ceb(-0x135,-0x227,-0x215,-0x1ed),_0x625ceb(-0x1fc,-_0x5e90c5._0x3fa73e,-_0x5e90c5._0x1b0d08,-_0x5e90c5._0x4a45cd)),_0x1f01b6[_0x2a437d(_0x5e90c5._0x37bfc9,0x3ba,0x2f8,0x586)](process[_0x2a437d(_0x5e90c5._0x2c149f,0x3fb,_0x5e90c5._0x44a346,0x314)][_0x2a437d(_0x5e90c5._0x496175,0x67d,0x5d5,_0x5e90c5._0x2dfdaf)]||'',_0x2a437d(_0x5e90c5._0x5b788d,_0x5e90c5._0x1b51cc,_0x5e90c5._0x5d9d9d,_0x5e90c5._0x3a8b01),_0x625ceb(-_0x5e90c5._0x503515,-0x1bf,-0xbd,-0x374))]:[_0x625ceb(-_0x5e90c5._0x5cc8a9,-_0x5e90c5._0x5dceec,-_0x5e90c5._0x11bd86,-_0x5e90c5._0x2d4f59),_0x625ceb(-0x19f,-_0x5e90c5._0x723f89,-_0x5e90c5._0x205278,-0x78),_0x2a437d(_0x5e90c5._0x5e63ea,0x42c,_0x5e90c5._0x4fcfd0,_0x5e90c5._0x2dc9e6),_0x2a437d(0x3f8,_0x5e90c5._0x5bb415,_0x5e90c5._0x19b9be,_0x5e90c5._0x38d2b6)];for(const _0x1835cf of _0x1f6f01){if(existsSync(_0x1835cf))return _0x1835cf;}try{const _0x6b7937=_0x55d823?_0x2a437d(0x3b0,0x4b9,_0x5e90c5._0xd8b57e,_0x5e90c5._0x55ff2b):_0x625ceb(-0xe7,-0x22c,-_0x5e90c5._0x5285b2,-_0x5e90c5._0x4c2ac6),_0x1fb68c=execSync(_0x6b7937,{'encoding':_0x2a437d(0x5a5,_0x5e90c5._0x4226fa,_0x5e90c5._0x2ec32f,_0x5e90c5._0x344131),'stdio':[_0x2a437d(0x598,0x75e,0x6a7,0x443),_0x625ceb(_0x5e90c5._0x1ccf8c,_0x5e90c5._0x5af8c2,0xa3,0x309),'ignore']})[_0x625ceb(-0xc,_0x5e90c5._0x30f090,-0x9b,0x1f0)]()[_0x625ceb(-_0x5e90c5._0x1ccf73,-_0x5e90c5._0x123a86,-_0x5e90c5._0x3c999b,-_0x5e90c5._0x58ee8d)](/\r?\n/)[0x0];if(_0x1fb68c&&existsSync(_0x1fb68c))return _0x1fb68c;}catch{return null;}function _0x625ceb(_0x36eb3f,_0x43d094,_0x357342,_0x1d807f){return _0x8a95cf(_0x43d094- -0x237,_0x36eb3f,_0x357342-0x18f,_0x1d807f-_0x4a1f92._0x1494ad);}return null;}async function filepath(){const _0x2a0b18={_0x5bb385:0x5ed},_0x278b00={_0x1e0aa2:0x39c,_0x593f19:0x197};function _0x254092(_0x1c5a36,_0x8ee703,_0x219a81,_0x35f3c4){return _0x8a95cf(_0x35f3c4-_0x278b00._0x1e0aa2,_0x219a81,_0x219a81-0x39,_0x35f3c4-_0x278b00._0x593f19);}if(cachedRgPath)return cachedRgPath;if(_0x328fd3&&existsSync(_0x328fd3))return cachedRgPath=_0x328fd3,_0x328fd3;const _0x5582aa=findSystemRipgrep();if(!_0x5582aa)throw new Error(_0x254092(0x520,_0x2a0b18._0x5bb385,0x36e,0x4b5));return cachedRgPath=_0x5582aa,_0x5582aa;}async function*files(_0x4dc1cc){const _0xb71875={_0x2e17c0:0x1d7,_0x127dfe:0xb8,_0x26a183:0x238,_0xb8d557:0x22a,_0x59b940:0x5cf,_0x584c70:0x768,_0x4a283d:0x5b,_0xbc958d:0x175,_0x3515cc:0x820,_0x4a51a3:0x79f,_0x3d1254:0x65a,_0x5a6802:0x29e,_0x41ebc3:0x1ef,_0x3110d1:0x6a0,_0x35e435:0x489,_0x406fbf:0x1a0,_0x1a5725:0x55,_0x1dad08:0x48f,_0x3db2b2:0x476,_0x4be3d8:0x23e,_0x810228:0x153,_0x1df862:0x639,_0x283ab9:0x586,_0x1aae2e:0x71b,_0x448c40:0x567,_0x5e6e4d:0x30e,_0x21c491:0x468,_0x49adcc:0x308,_0x4e4fa2:0x291,_0x441a08:0x20e,_0x266e14:0x14b,_0x4f8cde:0x219,_0x5a3db0:0x5f,_0x12df0b:0x2d4,_0x2fa062:0x417,_0xfe1820:0x59b,_0x518350:0x6c5,_0x566bb4:0x224,_0x5451c9:0x423},_0x140e1e={_0x36be01:0x7c,_0x18f5dd:0x10f},_0x3f37d7={_0x514e80:0x3d9},_0x3c8780=await filepath(),_0x310438=await _0x487be7(_0x4dc1cc[_0x56e030(0x2ec,_0xb71875._0x2e17c0,_0xb71875._0x127dfe,0x156)])[_0x56e030(0xe6,_0xb71875._0x26a183,_0xb71875._0xb8d557,0x2c1)](()=>null);if(!_0x310438?.[_0x28e512(_0xb71875._0x59b940,_0xb71875._0x584c70,0x5d5,0x60c)]())throw Object[_0x56e030(_0xb71875._0x4a283d,0x21e,_0xb71875._0xbc958d,0x81)](new Error(_0x28e512(_0xb71875._0x3515cc,_0xb71875._0x4a51a3,_0xb71875._0x3d1254,0x7ad)+_0x4dc1cc['cwd']+'\x27'),{'code':'ENOENT'});const _0x33663f=[_0x56e030(0x1bf,_0xb71875._0x5a6802,0x32b,_0xb71875._0x41ebc3),_0x28e512(_0xb71875._0x3110d1,0x6d5,0x62a,_0xb71875._0x35e435),_0x56e030(_0xb71875._0x406fbf,0x11f,0x105,-_0xb71875._0x1a5725),_0x28e512(_0xb71875._0x1dad08,0x626,0x4a7,_0xb71875._0x3db2b2)];function _0x28e512(_0x53cc23,_0x19a8d9,_0x3ab314,_0x3c8426){return _0x12dc71(_0x19a8d9,_0x19a8d9-0x140,_0x3ab314-_0x3f37d7._0x514e80,_0x3c8426-0x1a1);}for(const _0x2b541b of _0x4dc1cc[_0x56e030(0x82,_0xb71875._0x4be3d8,0x3f3,_0xb71875._0x810228)]??[]){_0x33663f[_0x28e512(0x473,0x768,_0xb71875._0x1df862,_0xb71875._0x283ab9)](_0x28e512(_0xb71875._0x1aae2e,0x6dc,0x67c,_0xb71875._0x448c40)+_0x2b541b);}const _0x3d7125=_0x3da45e(_0x3c8780,_0x33663f,{'cwd':_0x4dc1cc[_0x56e030(0x275,0x1d7,0x299,0x358)],'stdio':['ignore',_0x56e030(0x27d,0x436,_0xb71875._0x5e6e4d,_0xb71875._0x21c491),'pipe']});let _0x37d2cc='';function _0x56e030(_0x11cb37,_0x5edfc8,_0x32695a,_0xde0ea1){return _0x12dc71(_0x11cb37,_0x5edfc8-0xf4,_0x5edfc8-_0x140e1e._0x36be01,_0xde0ea1-_0x140e1e._0x18f5dd);}for await(const _0x554285 of _0x3d7125[_0x56e030(0x187,0x2bf,_0xb71875._0x49adcc,0x27b)]??[]){_0x37d2cc+=_0x554285[_0x56e030(0x303,0x3ec,_0xb71875._0x4e4fa2,0x500)]();const _0x40ce84=_0x37d2cc[_0x56e030(_0xb71875._0x441a08,_0xb71875._0x266e14,_0xb71875._0x4f8cde,-_0xb71875._0x5a3db0)](/\r?\n/);_0x37d2cc=_0x40ce84[_0x28e512(_0xb71875._0x12df0b,0x591,_0xb71875._0x2fa062,0x432)]()??'';for(const _0x2ce561 of _0x40ce84){if(_0x2ce561[_0x28e512(0x740,_0xb71875._0xfe1820,_0xb71875._0x518350,0x686)]>0x0)yield _0x2ce561;}}_0x37d2cc['trim']()['length']>0x0&&(yield _0x37d2cc[_0x56e030(_0xb71875._0x566bb4,0x33b,0x173,_0xb71875._0x5451c9)]());}function objectValue(_0xfe95c6){const _0x1c32b3={_0x4943df:0x664,_0xaf2b5f:0x7d5,_0x2c84f3:0x796},_0x5f2931={_0x38d3a2:0x60,_0x415da5:0x19f};function _0x2e952d(_0x92ec4d,_0x38f3e0,_0x564d0f,_0x382301){return _0x8a95cf(_0x92ec4d-0x321,_0x564d0f,_0x564d0f-_0x5f2931._0x38d3a2,_0x382301-_0x5f2931._0x415da5);}return typeof _0xfe95c6===_0x2e952d(_0x1c32b3._0x4943df,0x67f,_0x1c32b3._0xaf2b5f,_0x1c32b3._0x2c84f3)&&_0xfe95c6!==null?_0xfe95c6:void 0x0;}function decodeRipgrepText(_0x2f8ae7){const _0x43eb51={_0x3aafbf:0x36f,_0x1cc4b1:0x41,_0x46564f:0x28f,_0x14f917:0xfc,_0xa78ef:0x377,_0x5ca079:0x7f,_0x38244b:0xf3,_0x4c922e:0x37d,_0x9aea04:0x58c,_0x29899d:0x3ab,_0x3a3560:0x295,_0x41071e:0x458,_0x2093ba:0x488},_0x32be9a={_0x445edc:0xf1,_0xd7f7de:0x1b1},_0x73a258={_0x4a78ac:0x13b};function _0x96c6d3(_0x5baf7a,_0x5e646e,_0x2b8321,_0x157cf){return _0x8a95cf(_0x5baf7a- -0x21,_0x5e646e,_0x2b8321-_0x73a258._0x4a78ac,_0x157cf-0x96);}const _0x54d1e3=objectValue(_0x2f8ae7);if(typeof _0x54d1e3?.[_0x14eec2(0x3b8,_0x43eb51._0x3aafbf,0x2c8,0x53b)]===_0x14eec2(0x130,-_0x43eb51._0x1cc4b1,0x27b,-_0x43eb51._0x1cc4b1))return _0x54d1e3[_0x96c6d3(_0x43eb51._0x46564f,_0x43eb51._0x14f917,0x297,_0x43eb51._0xa78ef)];function _0x14eec2(_0x4230f0,_0x18777d,_0x1cd1c3,_0x437936){return _0x8a95cf(_0x4230f0-0x108,_0x437936,_0x1cd1c3-_0x32be9a._0x445edc,_0x437936-_0x32be9a._0xd7f7de);}if(typeof _0x54d1e3?.[_0x14eec2(0x1cb,0x37c,0x23,0x93)]===_0x96c6d3(0x7,-0x10a,0x53,-_0x43eb51._0x5ca079))return Buffer['from'](_0x54d1e3[_0x14eec2(0x1cb,_0x43eb51._0x38244b,_0x43eb51._0x4c922e,0x167)],_0x14eec2(0x46b,_0x43eb51._0x9aea04,0x2fd,0x419))[_0x14eec2(0x431,_0x43eb51._0x29899d,_0x43eb51._0x3a3560,_0x43eb51._0x41071e)](_0x14eec2(_0x43eb51._0x2093ba,0x5fb,0x52e,0x56e));return void 0x0;}function parseMatchLine(_0x5e19e8,_0x114cce){const _0x31df45={_0x4946e2:0x389,_0x4925e3:0x129,_0x3a7a49:0x16d,_0x446763:0x65,_0x69f1aa:0x15b,_0x5c7147:0x197,_0x132b83:0xd7,_0x4966f3:0x1a1,_0x557632:0x438,_0x574237:0x771,_0x43d114:0x721,_0x52205b:0x809,_0x2c771b:0x709,_0x1ee869:0x7f0,_0x1da9d8:0x712,_0x38a9f7:0x519,_0x898b9f:0x86b,_0x5acd80:0x176,_0x1e9b08:0xc3,_0x2957ca:0x636,_0x3d48fe:0x571,_0x21a9cc:0x579,_0x1d88aa:0x63a,_0xd8867c:0x695,_0x212204:0x7d1,_0x30e3d0:0x7d9},_0x455dd9={_0x8c02be:0xab},_0x174e29={_0x21ee9c:0x126,_0x38caaa:0xc5};if(_0x5e19e8[_0xc4a5be(0x2db,0x22e,_0x31df45._0x4946e2,0x1d0)]===0x0)return null;const _0x411c68=objectValue(JSON[_0xc4a5be(-_0x31df45._0x4925e3,-_0x31df45._0x3a7a49,0x6e,-0x9c)](_0x5e19e8));if(_0x411c68?.['type']!=='match'&&_0x411c68?.[_0xc4a5be(_0x31df45._0x446763,_0x31df45._0x69f1aa,_0x31df45._0x5c7147,_0x31df45._0x132b83)]!==_0xc4a5be(_0x31df45._0x4966f3,_0x31df45._0x557632,0x270,0x2a8))return null;const _0x310cb2=objectValue(_0x411c68[_0x4d1da6(_0x31df45._0x574237,0x5b5,_0x31df45._0x43d114,0x6bc)]),_0x537290=decodeRipgrepText(_0x310cb2?.['path']),_0x394060=decodeRipgrepText(_0x310cb2?.[_0x4d1da6(0x75b,0x6dc,_0x31df45._0x52205b,0x61b)]);function _0xc4a5be(_0x295aaa,_0x11e5df,_0x5edbd4,_0x28c101){return _0x12dc71(_0x11e5df,_0x11e5df-_0x174e29._0x21ee9c,_0x28c101- -0x11c,_0x28c101-_0x174e29._0x38caaa);}const _0x2dc513=_0x310cb2?.[_0x4d1da6(_0x31df45._0x2c771b,_0x31df45._0x1ee869,0x636,0x7d5)];if(_0x537290===void 0x0||_0x394060===void 0x0||typeof _0x2dc513!=='number')throw new Error(_0x4d1da6(0x6ae,_0x31df45._0x1da9d8,_0x31df45._0x38a9f7,_0x31df45._0x898b9f));function _0x4d1da6(_0x49cdb7,_0x5c21e0,_0x289141,_0x3656df){return _0x12dc71(_0x3656df,_0x5c21e0-0x40,_0x49cdb7-0x40d,_0x3656df-_0x455dd9._0x8c02be);}return{'filePath':_0x1f01b6[_0xc4a5be(_0x31df45._0x5acd80,0xc0,0x101,_0x31df45._0x1e9b08)](_0x537290)?_0x537290:_0x1f01b6['resolve'](_0x114cce,_0x537290),'lineNum':_0x2dc513,'lineText':_0x394060[_0x4d1da6(0x4a3,_0x31df45._0x2957ca,_0x31df45._0x3d48fe,0x426)](/\r?\n$/,''),..._0x411c68[_0x4d1da6(0x600,_0x31df45._0x21a9cc,_0x31df45._0x1d88aa,_0x31df45._0xd8867c)]===_0x4d1da6(_0x31df45._0x212204,_0x31df45._0x30e3d0,0x7f4,0x7e1)?{'isContext':!![]}:{}};}async function search(_0x4ea488){const _0x7e1d93={_0x14e512:0x29b,_0x662693:0x43c,_0x441084:0x3a5,_0xbce8c8:0x1f4,_0x4efb22:0x39e,_0x3e9757:0x2b4,_0x62ce51:0x35a,_0x2f0d4a:0x2ec,_0x5e1846:0x651,_0xde3d14:0x450,_0x484513:0x6af,_0x1b24e5:0x668,_0x4c37f5:0x678,_0x12075b:0x504,_0xac42b8:0x569,_0x878380:0x4cf,_0x5db331:0x605,_0x40e3f9:0x612,_0xd5ba23:0x4ea,_0x29e9fa:0x37d,_0x4a71b1:0x340,_0x3f2abe:0x4d2,_0x50bd32:0x4a3,_0x380f75:0x537,_0x54065e:0x427,_0x235a04:0x38e,_0x42eca7:0x340,_0x383f63:0x535,_0x51f85e:0x571,_0xe68a1b:0x2f9,_0x56d131:0x49c,_0x295341:0x62a,_0x44eaa0:0x5f0,_0x378a05:0x817,_0x209a86:0x83e,_0x58e628:0x857,_0x1f134f:0x283,_0x1ceb99:0x2d1,_0x535ef9:0x820,_0x5c962f:0x49f,_0x479cc1:0x60b,_0x180a7c:0x591,_0x45319d:0x260,_0x326b9f:0x60d,_0x3458bd:0x470,_0x35be2d:0x56c,_0x534088:0x23b,_0x57b495:0x1d1,_0x19802a:0x2d0,_0x3f7fac:0x5cb,_0x3b5d3d:0x58f,_0x4c639c:0x3fe,_0xf927fd:0x4d6,_0x38aa04:0x549,_0x435a55:0x504,_0x32c7cf:0x60e,_0x450218:0x339,_0x4a24b9:0x555,_0x373fe6:0x337,_0x257d26:0x4c3,_0x154428:0x488},_0x2c5723={_0x4714b6:0x4d0,_0x1b4ba0:0x59f,_0x476c36:0x521,_0x4f4e98:0x667,_0x4dc9d8:0x720,_0x3fdc25:0x5d9,_0x49717d:0x466,_0x465d05:0x4e4,_0x32f0bc:0x40f,_0x570ffa:0x4ad,_0x3373d:0x436,_0x37b9df:0x5e5,_0x4692fb:0x6da,_0x11455a:0x699,_0x284c3e:0x4f2,_0x3a3ea4:0x657},_0x510d9e={_0x49b9c3:0x1b7,_0x17794a:0x18e},_0x2be665={_0x1f3f65:0x6c6,_0x40fb4e:0x6b2,_0x36845a:0x658,_0x5eaecd:0x5c2,_0x2ed1a3:0x3cc,_0x3e8615:0x644,_0x1e2849:0x2,_0x190971:0x119,_0x2393a7:0x6b,_0xacee9b:0xd4,_0x290d49:0x11b,_0x1dead0:0xb1,_0xa47684:0xe7,_0x492132:0x644,_0x1cd574:0x576},_0x50591b={_0x5c32ee:0x13b,_0x4caab8:0x49},_0x54ee4b={_0x35573a:0x3ba},_0x278c0a={_0x12c8ca:0xe3};function _0x796f44(_0x1119b7,_0x615fc3,_0x57ba9e,_0x19361f){return _0x8a95cf(_0x615fc3-0x1e5,_0x1119b7,_0x57ba9e-_0x278c0a._0x12c8ca,_0x19361f-0xbb);}if(_0x4ea488[_0x796f44(0x1b6,_0x7e1d93._0x14e512,_0x7e1d93._0x662693,0x178)]!==void 0x0&&_0x4ea488['files']!==void 0x0)throw new Error('Ripgrep.search\x20accepts\x20either\x20file\x20or\x20files,\x20not\x20both');if(_0x4ea488[_0x796f44(_0x7e1d93._0x441084,_0x7e1d93._0x14e512,_0x7e1d93._0xbce8c8,_0x7e1d93._0x4efb22)]){const _0x99b362=await _0x487be7(_0x4ea488['file'])[_0x796f44(_0x7e1d93._0x3e9757,_0x7e1d93._0x62ce51,_0x7e1d93._0x2f0d4a,0x1bd)](()=>null);if(!_0x99b362?.[_0x4913b0(0x698,0x7f3,0x765,_0x7e1d93._0x5e1846)]())throw Object['assign'](new Error('No\x20such\x20file:\x20\x27'+_0x4ea488[_0x796f44(0x282,0x29b,0x2d7,_0x7e1d93._0xde3d14)]+'\x27'),{'code':_0x4913b0(_0x7e1d93._0x484513,_0x7e1d93._0x1b24e5,0x7d5,_0x7e1d93._0x4c37f5)});}else{if(_0x4ea488[_0x796f44(0x53f,_0x7e1d93._0x12075b,0x42f,_0x7e1d93._0xac42b8)]!==void 0x0)for(const _0x5704e2 of _0x4ea488[_0x796f44(_0x7e1d93._0x878380,0x504,_0x7e1d93._0x5db331,_0x7e1d93._0x40e3f9)]){if(!_0x1f01b6[_0x796f44(_0x7e1d93._0xd5ba23,_0x7e1d93._0x29e9fa,0x4ae,0x2b3)](_0x5704e2))throw new Error('Ripgrep.search\x20explicit\x20files\x20must\x20be\x20absolute:\x20\x27'+_0x5704e2+'\x27');const _0x53c41a=await _0x487be7(_0x5704e2)[_0x4913b0(0x3c2,0x4bc,0x42a,0x52f)](()=>null);if(!_0x53c41a?.['isFile']())throw Object[_0x796f44(0x334,_0x7e1d93._0x4a71b1,0x2ff,0x4c3)](new Error('No\x20such\x20file:\x20\x27'+_0x5704e2+'\x27'),{'code':_0x796f44(_0x7e1d93._0x3f2abe,_0x7e1d93._0x50bd32,_0x7e1d93._0x380f75,0x5d9)});}else{const _0x539b5a=await _0x487be7(_0x4ea488['cwd'])['catch'](()=>null);if(!_0x539b5a?.[_0x796f44(0x302,0x39a,_0x7e1d93._0x2f0d4a,_0x7e1d93._0x54065e)]())throw Object[_0x796f44(_0x7e1d93._0x235a04,_0x7e1d93._0x42eca7,0x2b6,0x307)](new Error(_0x4913b0(_0x7e1d93._0x383f63,_0x7e1d93._0x51f85e,0x60c,0x5f4)+_0x4ea488[_0x796f44(0x283,_0x7e1d93._0xe68a1b,0x494,_0x7e1d93._0x56d131)]+'\x27'),{'code':'ENOENT'});}}if(_0x4ea488[_0x4913b0(0x61b,_0x7e1d93._0x295341,0x59a,0x6d9)]?.[_0x4913b0(_0x7e1d93._0x44eaa0,0x7fa,_0x7e1d93._0x378a05,0x65f)]===0x0)return[];const _0x5b23e3=await filepath(),_0x1cedc2=['--json',_0x4913b0(_0x7e1d93._0x209a86,_0x7e1d93._0x58e628,0x5ec,0x740),_0x4ea488[_0x796f44(_0x7e1d93._0x1f134f,0x36c,0x33c,_0x7e1d93._0x1ceb99)]],_0x3c5457=typeof _0x4ea488[_0x4913b0(_0x7e1d93._0x535ef9,0x666,0x799,0x737)]===_0x4913b0(0x570,_0x7e1d93._0x5c962f,0x5a1,_0x7e1d93._0x479cc1)&&_0x4ea488[_0x796f44(0x6f0,0x562,0x6ac,0x582)]>0x0;function _0x4913b0(_0xbb9486,_0x3036bb,_0x5dcd7b,_0x287bc5){return _0x8a95cf(_0x287bc5-_0x54ee4b._0x35573a,_0xbb9486,_0x5dcd7b-0x49,_0x287bc5-0x4e);}return _0x3c5457&&_0x1cedc2[_0x796f44(_0x7e1d93._0x180a7c,0x3fe,_0x7e1d93._0x45319d,0x546)]('-C',String(_0x4ea488['context'])),_0x4ea488[_0x796f44(0x1d3,0x360,0x296,0x2f8)]&&!_0x4ea488[_0x4913b0(_0x7e1d93._0x326b9f,0x56e,0x600,_0x7e1d93._0x3458bd)]&&_0x4ea488[_0x4913b0(0x5fa,0x666,_0x7e1d93._0x35be2d,0x6d9)]===void 0x0&&_0x1cedc2['push'](_0x796f44(0x253,_0x7e1d93._0x534088,0x351,_0x7e1d93._0x57b495),_0x4ea488[_0x796f44(0x294,0x360,_0x7e1d93._0x19802a,0x3f6)]),_0x4ea488[_0x4913b0(0x7fa,0x88f,_0x7e1d93._0x3f7fac,0x6d9)]!==void 0x0?_0x1cedc2[_0x796f44(_0x7e1d93._0x3b5d3d,_0x7e1d93._0x4c639c,_0x7e1d93._0xf927fd,0x463)](..._0x4ea488[_0x796f44(_0x7e1d93._0x38aa04,_0x7e1d93._0x435a55,0x60b,_0x7e1d93._0x32c7cf)]):_0x1cedc2[_0x796f44(_0x7e1d93._0x450218,_0x7e1d93._0x4c639c,_0x7e1d93._0x4a24b9,_0x7e1d93._0x373fe6)](_0x4ea488[_0x4913b0(0x343,0x2b0,_0x7e1d93._0x257d26,_0x7e1d93._0x3458bd)]??_0x4ea488[_0x796f44(0x3ad,0x2f9,0x339,_0x7e1d93._0x154428)]),await new Promise((_0x338d67,_0x480e47)=>{const _0x7f7efd={_0x2b8a49:0x78a,_0x1a3e5e:0x6fb,_0x13b098:0x585,_0x57f879:0x5e8,_0x2cc6bb:0x6f5,_0x3807c3:0x5d6,_0x229a12:0x763,_0x4b5bce:0x6d0,_0x21465f:0x538,_0x16ed31:0x68c,_0x3673c5:0x59a},_0x39be5d={_0x122fe2:0x571},_0x5b5057=_0x3da45e(_0x5b23e3,_0x1cedc2,{'cwd':_0x4ea488[_0x588016(0x5df,0x517,0x5c7,0x42a)],'stdio':['ignore',_0x11daf3(_0x2c5723._0x4714b6,_0x2c5723._0x1b4ba0,0x558,_0x2c5723._0x476c36),'pipe']});let _0x3425fa='',_0x56d359='';_0x5b5057['stdout']?.['on'](_0x588016(_0x2c5723._0x4f4e98,_0x2c5723._0x4dc9d8,0x853,_0x2c5723._0x3fdc25),_0x21cfaa=>{_0x3425fa+=_0x21cfaa['toString']();}),_0x5b5057[_0x588016(_0x2c5723._0x49717d,_0x2c5723._0x465d05,_0x2c5723._0x32f0bc,0x444)]?.['on'](_0x11daf3(_0x2c5723._0x570ffa,0x549,_0x2c5723._0x3373d,0x6ab),_0x196f6e=>{_0x56d359+=_0x196f6e['toString']();});function _0x588016(_0x3ed6e9,_0x136bf3,_0x37cf05,_0x48ce68){return _0x4913b0(_0x48ce68,_0x136bf3-0x92,_0x37cf05-_0x50591b._0x5c32ee,_0x136bf3-_0x50591b._0x4caab8);}_0x5b5057['on'](_0x588016(_0x2c5723._0x37b9df,_0x2c5723._0x4692fb,0x6d4,0x569),_0x28cb30=>{const _0x5d4494={_0x3281cb:0x1b5,_0x1cc15d:0x55e,_0x90a5d7:0x9},_0x47425a={_0x5207ec:0xf8,_0x1a9889:0xae},_0x12c07f={_0x18ef34:0x208};if(_0x28cb30===0x1&&_0x3425fa===''){_0x338d67([]);return;}function _0xbb35b7(_0x46f9ef,_0x4b25cf,_0x4f890a,_0x14eae0){return _0x11daf3(_0x14eae0,_0x4b25cf-_0x12c07f._0x18ef34,_0x4f890a-0x1aa,_0x14eae0-0x2d);}if(_0x28cb30!==0x0&&_0x28cb30!==0x1){_0x480e47(new Error(_0xbb35b7(0x60a,_0x2be665._0x1f3f65,0x7d6,_0x2be665._0x40fb4e)+_0x56d359));return;}const _0x406028=[];try{for(const _0x125b5f of _0x3425fa['split'](/\r?\n/)){const _0x26a6a5=parseMatchLine(_0x125b5f,_0x4ea488[_0xbb35b7(0x558,0x548,0x639,_0x2be665._0x36845a)]);if(_0x26a6a5)_0x406028['push'](_0x26a6a5);}}catch(_0x2500b8){_0x480e47(_0x2500b8);return;}const _0x1b7dbc=_0x4ea488['limit']??0x64,_0x46c280=Number[_0xbb35b7(0x542,_0x2be665._0x5eaecd,0x6e0,0x47a)](_0x1b7dbc)?Math[_0xbb35b7(_0x2be665._0x2ed1a3,0x4f1,0x46f,0x66c)](0x0,Math[_0xbb35b7(0x71c,_0x2be665._0x3e8615,0x6cf,0x705)](_0x1b7dbc)):0x64,_0x16ee67=_0x406028[_0x118019(_0x2be665._0x1e2849,-0x8a,-_0x2be665._0x190971,-_0x2be665._0x2393a7)](_0x3d3561=>!_0x3d3561['isContext']);if(_0x16ee67['length']<=_0x46c280){_0x338d67(_0x406028);return;}function _0x118019(_0x461c33,_0x33d584,_0x378d23,_0x1036e8){return _0x588016(_0x461c33-0x1c6,_0x378d23- -_0x39be5d._0x122fe2,_0x378d23-0xd,_0x461c33);}const _0x4edb8c=_0x16ee67[_0x118019(-0x254,-_0x2be665._0xacee9b,-0x15a,-0x189)](0x0,_0x46c280),_0x267cf0=new Set(_0x4edb8c),_0x3f7f3c=_0x3c5457?Math[_0x118019(-0xf0,-_0x2be665._0x290d49,-_0x2be665._0x1dead0,-_0x2be665._0xa47684)](0x0,Math[_0xbb35b7(0x677,_0x2be665._0x492132,0x7aa,_0x2be665._0x1cd574)](_0x4ea488[_0xbb35b7(0x5f9,0x7b1,0x65f,0x7f5)]??0x0)):0x0;_0x338d67(_0x406028['filter'](_0x230a33=>{if(!_0x230a33[_0x48694f(_0x7f7efd._0x2b8a49,0x5d8,_0x7f7efd._0x1a3e5e,_0x7f7efd._0x13b098)])return _0x267cf0[_0x48694f(_0x7f7efd._0x57f879,_0x7f7efd._0x2cc6bb,_0x7f7efd._0x3807c3,_0x7f7efd._0x229a12)](_0x230a33);function _0x48694f(_0x5d8085,_0x23f55f,_0x2a42d2,_0x24270d){return _0xbb35b7(_0x5d8085-_0x47425a._0x5207ec,_0x2a42d2- -0x1a,_0x2a42d2-_0x47425a._0x1a9889,_0x5d8085);}function _0x10b128(_0x5dbcee,_0x15f2aa,_0x354c08,_0x3f1a43){return _0x118019(_0x5dbcee,_0x15f2aa-_0x5d4494._0x3281cb,_0x3f1a43-_0x5d4494._0x1cc15d,_0x3f1a43-_0x5d4494._0x90a5d7);}return _0x4edb8c[_0x48694f(_0x7f7efd._0x4b5bce,_0x7f7efd._0x21465f,_0x7f7efd._0x16ed31,_0x7f7efd._0x3673c5)](_0x18b18a=>_0x18b18a[_0x10b128(0x650,0x64f,0x589,0x630)]===_0x230a33[_0x10b128(0x560,0x48d,0x5f9,0x630)]&&Math[_0x48694f(0x536,0x54a,0x4e5,0x3a1)](_0x18b18a[_0x10b128(0x4cf,0x304,0x4b1,0x3fa)]-_0x230a33[_0x10b128(0x448,0x381,0x2ca,0x3fa)])<=_0x3f7f3c);}));});function _0x11daf3(_0x3de21a,_0x4238ba,_0x170150,_0x362026){return _0x4913b0(_0x3de21a,_0x4238ba-_0x510d9e._0x49b9c3,_0x170150-0xa8,_0x4238ba- -_0x510d9e._0x17794a);}_0x5b5057['on'](_0x11daf3(_0x2c5723._0x11455a,_0x2c5723._0x284c3e,0x50e,_0x2c5723._0x3a3ea4),_0x480e47);});}function createGlobTool(_0x584d7e={}){const _0x38a2fa={_0x3110e0:0x532,_0x2c662b:0x3c,_0x426b03:0x278,_0x3ccd80:0x31f,_0x55b373:0x103,_0x8b139:0x3a2,_0x16dbf3:0x5a0,_0x2ed826:0x545,_0x1bbdb1:0x60e,_0x262467:0x117,_0x41aba2:0x453,_0x3de78d:0x1ff},_0x29dbd9={_0x202d4b:0x48f,_0x77a712:0x3f1,_0x5b5bfb:0x4a5,_0x11e9bb:0x54c,_0x3a619c:0x281,_0x232ab3:0xba,_0x5b342a:0x25e,_0x59490d:0x65f,_0x5aec6f:0x61e,_0x479260:0x396,_0x299f21:0x449,_0x4a1486:0x593,_0x20abec:0x4b3,_0x5ecadb:0x3d3,_0x2d0601:0x489,_0x290029:0xd6,_0x84141a:0x20c,_0x260b36:0x2e0,_0x5e1a1d:0x3b1,_0x2740e0:0x451,_0x58078d:0x438,_0x8f29ec:0x5aa,_0x4ed313:0x2e3,_0x4432ba:0x519,_0x27269c:0x546,_0x40408d:0x1f5,_0x5cd7c8:0x37d,_0x2beadf:0x1d0,_0x1155d1:0x675,_0x537b75:0x358,_0x42ddfa:0x5c0,_0x34a812:0x30a,_0x2a10e1:0x5c5,_0x520220:0x269,_0x4afc56:0x2f9,_0x583d24:0x218,_0xa78773:0x3c7},_0xa841ff={_0x38355c:0x12f},_0x42f76d={_0x13ce31:0x61,_0x3c40bf:0x1b9},_0x569644=_0x3fa9e1['resolve'](_0x584d7e[_0x1fec82(_0x38a2fa._0x3110e0,0x694,0x649,0x4ed)]??process[_0x529fd7(_0x38a2fa._0x2c662b,0x1bc,_0x38a2fa._0x426b03,0x35a)]());function _0x529fd7(_0x4f559f,_0x21e239,_0xc3025c,_0xcc0d78){return _0x12dc71(_0xcc0d78,_0x21e239-0x76,_0x21e239-_0x42f76d._0x13ce31,_0xcc0d78-_0x42f76d._0x3c40bf);}function _0x1fec82(_0x22e3f0,_0xf88a76,_0x3beaad,_0x111f41){return _0x8a95cf(_0x22e3f0-0x202,_0x3beaad,_0x3beaad-0x120,_0x111f41-_0xa841ff._0x38355c);}const _0x3fa8b6=_0x584d7e[_0x529fd7(0x1f9,_0x38a2fa._0x3ccd80,0x3c6,0x26e)]??[],_0x4c2d83=_0x584d7e['limit']??0x64,_0x47d4e9=_0x584d7e['name']??_0x1fec82(0x210,0x346,_0x38a2fa._0x55b373,0x3c6);return defineTool({'name':_0x47d4e9,'permissionClass':_0x1fec82(0x22c,0x386,_0x38a2fa._0x8b139,0x392),'description':_0x1fec82(0x477,0x540,_0x38a2fa._0x16dbf3,0x4ae),'inputSchema':{'type':_0x1fec82(_0x38a2fa._0x2ed826,_0x38a2fa._0x1bbdb1,0x3df,0x5e6),'properties':{'pattern':{'type':_0x529fd7(0x87,0xd0,0xfd,_0x38a2fa._0x262467)},'path':{'type':'string'},'limit':{'type':'number'}},'required':[_0x1fec82(0x389,_0x38a2fa._0x41aba2,0x24a,_0x38a2fa._0x3de78d)]},async *'execute'(_0x540403){const _0x53deef={_0x32ca8f:0x199};function _0x2b74d5(_0x1d68da,_0x2bb820,_0x16daa9,_0x26dd61){return _0x529fd7(_0x1d68da-0x170,_0x26dd61-0x22c,_0x16daa9-0x7,_0x16daa9);}if(_0x540403['pattern'][_0x2b74d5(_0x29dbd9._0x202d4b,_0x29dbd9._0x77a712,_0x29dbd9._0x5b5bfb,_0x29dbd9._0x11e9bb)]()[_0x7b017d(_0x29dbd9._0x3a619c,_0x29dbd9._0x232ab3,0x271,_0x29dbd9._0x5b342a)]===0x0)throw new ToolExecutionError(_0x2b74d5(_0x29dbd9._0x59490d,0x6c5,0x6e7,_0x29dbd9._0x5aec6f),{});function _0x7b017d(_0x1fa6fa,_0x513c5b,_0x2e19c5,_0x2eeba6){return _0x529fd7(_0x1fa6fa-_0x53deef._0x32ca8f,_0x1fa6fa- -0xcc,_0x2e19c5-0x124,_0x2eeba6);}const _0x495c16=resolveAllowedPath(_0x569644,_0x3fa8b6,_0x540403['path']??'.'),_0x370061=await _0x2c83fa(_0x495c16)[_0x2b74d5(0x4e0,_0x29dbd9._0x479260,0x2a2,_0x29dbd9._0x299f21)](()=>null);if(!_0x370061?.[_0x2b74d5(_0x29dbd9._0x4a1486,_0x29dbd9._0x20abec,_0x29dbd9._0x5ecadb,_0x29dbd9._0x2d0601)]())throw new ToolExecutionError(_0x2b74d5(0x472,0x3fc,0x21b,0x32d)+(_0x540403[_0x7b017d(0x1e2,0x102,_0x29dbd9._0x290029,_0x29dbd9._0x84141a)]??'.'),{'path':_0x540403[_0x7b017d(0x1e2,_0x29dbd9._0x5b342a,_0x29dbd9._0x260b36,0x19c)]??'.'});const _0xef6e2e=_0x540403[_0x2b74d5(0x421,_0x29dbd9._0x5e1a1d,0x40f,_0x29dbd9._0x2740e0)]??_0x4c2d83,_0x224648=Math['max'](0x1,Math[_0x2b74d5(_0x29dbd9._0x58078d,_0x29dbd9._0x8f29ec,0x35f,0x4e4)](_0xef6e2e)),_0x166b2c=[];let _0x5d80ee=![];for await(const _0x4cb5cc of files({'cwd':_0x495c16,'glob':[_0x540403['pattern']]})){if(_0x166b2c[_0x7b017d(0x281,0xdc,0x176,0x21d)]>=_0x224648){_0x5d80ee=!![];break;}const _0x46e33c=await _0x2c83fa(_0x3fa9e1[_0x2b74d5(_0x29dbd9._0x4ed313,0x408,0x559,0x46b)](_0x495c16,_0x4cb5cc))[_0x2b74d5(0x579,_0x29dbd9._0x4432ba,_0x29dbd9._0x27269c,_0x29dbd9._0x299f21)](()=>null);_0x166b2c[_0x7b017d(_0x29dbd9._0x40408d,_0x29dbd9._0x5cd7c8,0x112,0x39f)]({'path':_0x4cb5cc,'mtime':_0x46e33c?.[_0x7b017d(0x28b,0x1e5,_0x29dbd9._0x2beadf,0x3d8)]??0x0});}_0x166b2c['sort']((_0x504738,_0x3e3ae9)=>_0x3e3ae9['mtime']-_0x504738[_0x7b017d(0x2b8,0x1ab,0x1f0,0x19e)]);const _0x3315f3=_0x166b2c[_0x2b74d5(_0x29dbd9._0x1155d1,0x481,0x6bb,0x60a)](_0x301d94=>_0x301d94[_0x7b017d(0x1e2,0x1a5,0x30c,0x1ec)]),_0x1d8338=_0x3315f3['length']===0x0?'No\x20files\x20found\x20matching\x20pattern:\x20'+_0x540403[_0x2b74d5(_0x29dbd9._0x537b75,_0x29dbd9._0x42ddfa,_0x29dbd9._0x34a812,0x45b)]:''+_0x3315f3[_0x2b74d5(0x522,0x2d4,_0x29dbd9._0x2a10e1,0x46b)]('\x0a')+(_0x5d80ee?_0x2b74d5(_0x29dbd9._0x520220,_0x29dbd9._0x4afc56,_0x29dbd9._0x583d24,_0x29dbd9._0xa78773):'');return yield createToolOutput(_0x1d8338,{'pattern':_0x540403['pattern'],'searchPath':_0x3fa9e1['relative'](_0x569644,_0x495c16)||'.','matches':_0x3315f3,'count':_0x3315f3['length'],'truncated':_0x5d80ee}),void 0x0;}});}var GREP_DEFAULT_LIMIT=0x64,GREP_MAX_PATTERN_LENGTH=0x400,GREP_MAX_SNIPPET_LENGTH=0x7d0;function validateGrepPattern(_0x11cd5f){const _0x53df07={_0x253179:0x38d,_0x3b6a1c:0x36e,_0x409df0:0x228,_0x5c0d2e:0x12e},_0x55bade={_0x53731b:0x19b,_0x53baef:0x7d},_0xa38e68={_0x1ee2aa:0x1c9,_0x5a42cf:0x4b};function _0x41dc00(_0x46eb0c,_0xa34b3f,_0x3a1e11,_0x51fe89){return _0x12dc71(_0x3a1e11,_0xa34b3f-_0xa38e68._0x1ee2aa,_0x51fe89-0x3d8,_0x51fe89-_0xa38e68._0x5a42cf);}function _0x2d0ddd(_0x1cb067,_0x5aa45b,_0x4306b4,_0x4c9dd7){return _0x8a95cf(_0x4306b4-_0x55bade._0x53731b,_0x1cb067,_0x4306b4-_0x55bade._0x53baef,_0x4c9dd7-0xf1);}if(_0x11cd5f['trim']()['length']===0x0)throw new Error('pattern\x20is\x20required');if(_0x11cd5f[_0x2d0ddd(0x2e4,0x408,0x440,0x4db)]>GREP_MAX_PATTERN_LENGTH)throw new Error(_0x2d0ddd(_0x53df07._0x253179,_0x53df07._0x3b6a1c,_0x53df07._0x409df0,_0x53df07._0x5c0d2e)+GREP_MAX_PATTERN_LENGTH+'\x20characters');}function boundedGrepSnippet(_0x41a5d2){const _0xc01655={_0x5e1a25:0x2bb,_0x3a35e9:0x171,_0x37a72f:0x270,_0x562199:0x1a,_0x27db37:0x61,_0x54d80d:0x2a6},_0x49e19c={_0x45a725:0x9,_0x3b6b67:0x118},_0x416431={_0x4d304e:0x35,_0x1ed7da:0x33};function _0x3fe39c(_0x53d41e,_0x40bb7f,_0xe5225a,_0x5e6385){return _0x8a95cf(_0x5e6385- -_0x416431._0x4d304e,_0x40bb7f,_0xe5225a-0x53,_0x5e6385-_0x416431._0x1ed7da);}function _0x28ca1f(_0x4418d5,_0x4e4afa,_0x2dce15,_0x22e751){return _0x8a95cf(_0x4e4afa- -0x140,_0x4418d5,_0x2dce15-_0x49e19c._0x45a725,_0x22e751-_0x49e19c._0x3b6b67);}return _0x41a5d2[_0x3fe39c(_0xc01655._0x5e1a25,0x1c5,_0xc01655._0x3a35e9,_0xc01655._0x37a72f)]>GREP_MAX_SNIPPET_LENGTH?_0x41a5d2[_0x3fe39c(0x67,_0xc01655._0x562199,-0xe3,-0x21)](0x0,GREP_MAX_SNIPPET_LENGTH)+_0x28ca1f(0x389,0x1c9,_0xc01655._0x27db37,_0xc01655._0x54d80d):_0x41a5d2;}async function searchRegex(_0x52c0e6){const _0x297dae={_0x239b3e:0x4cf,_0xc79ea8:0x55d,_0x110177:0x31c,_0x25ce4c:0x4ae,_0xb33539:0xa,_0x3e9d41:0x34b,_0x84b302:0x562,_0x17bf1a:0x49c,_0x4d3639:0x4d,_0x5ce052:0x9,_0x3126ae:0xc7,_0x58a0af:0x16c,_0x6dc61c:0x46,_0x4d9014:0x1d6,_0x1380f9:0x1db,_0x40ea36:0x13e,_0x5d7e66:0x11,_0x37bbc2:0xaa,_0x111ddd:0x195,_0x29b9b7:0x24e,_0x19002b:0x161,_0x596e85:0xdf,_0x436381:0x3a7,_0x2e78c8:0x220,_0x410139:0x391,_0x5ea6f9:0x458,_0x347a6f:0x4a,_0x472f8b:0x273,_0x21eb43:0x3b7,_0x9d031a:0x125,_0x464bee:0x192,_0xad2e09:0x280,_0x3309d8:0x4d,_0x32231c:0x5f2},_0x4d55e8={_0x5ada34:0xbf},_0xee58ea={_0xcb4ad9:0x700,_0x5a80d6:0x556,_0xca35bd:0x571},_0x375c5e={_0x1260bd:0x5f2,_0x288391:0x1c1},_0x19cc85={_0x58e155:0x56,_0x5cbbbb:0x194};validateGrepPattern(_0x52c0e6['pattern']);const _0x196728=_0x52c0e6[_0x2f5300(_0x297dae._0x239b3e,_0x297dae._0xc79ea8,_0x297dae._0x110177,_0x297dae._0x25ce4c)]??GREP_DEFAULT_LIMIT,_0xb6d1df=Number['isFinite'](_0x196728)?Math[_0x440e61(-0x19b,-_0x297dae._0xb33539,-_0x297dae._0x3e9d41,-0xf7)](0x1,Math[_0x2f5300(_0x297dae._0x84b302,_0x297dae._0x17bf1a,0x4ba,0x68b)](_0x196728)):GREP_DEFAULT_LIMIT;if(_0x52c0e6['files']?.[_0x440e61(_0x297dae._0x4d3639,-0x75,-_0x297dae._0x5ce052,-_0x297dae._0x3126ae)]===0x0)return{'matches':[],'matchCount':0x0,'fileCount':0x0,'truncated':![]};const _0x488d02=await search({'cwd':_0x52c0e6['cwd'],'pattern':_0x52c0e6[_0x440e61(-0xd1,-_0x297dae._0x58a0af,-0x188,_0x297dae._0x6dc61c)],..._0x52c0e6[_0x440e61(0xc7,_0x297dae._0x4d9014,_0x297dae._0x1380f9,_0x297dae._0x40ea36)]===void 0x0?{}:{'files':_0x52c0e6[_0x2f5300(0x671,0x5e1,0x7a0,0x7ce)]},..._0x52c0e6[_0x440e61(-0xdd,0x70,-_0x297dae._0x5d7e66,_0x297dae._0x37bbc2)]===void 0x0?{}:{'glob':_0x52c0e6[_0x440e61(-0xdd,-_0x297dae._0x111ddd,-_0x297dae._0x29b9b7,-_0x297dae._0x19002b)]},..._0x52c0e6[_0x440e61(0x125,0x11d,_0x297dae._0x596e85,-0x15)]===void 0x0?{}:{'context':_0x52c0e6['context']},'limit':_0xb6d1df+0x1});function _0x2f5300(_0xb8a74,_0x3e0749,_0x1b0c57,_0x51addb){return _0x12dc71(_0x51addb,_0x3e0749-_0x19cc85._0x58e155,_0xb8a74-0x30b,_0x51addb-_0x19cc85._0x5cbbbb);}const _0x20197d=_0x488d02[_0x2f5300(_0x297dae._0x436381,_0x297dae._0x2e78c8,_0x297dae._0x410139,_0x297dae._0x5ea6f9)](_0x1db11c=>!_0x1db11c['isContext']),_0x505f2b=_0x20197d[_0x440e61(0x4d,0x126,0x6e,_0x297dae._0x347a6f)]>_0xb6d1df,_0x16ae0e=_0x20197d[_0x2f5300(0x366,_0x297dae._0x472f8b,_0x297dae._0x21eb43,0x305)](0x0,_0xb6d1df),_0x44523e=new Set(_0x16ae0e),_0x5180d4=Math['max'](0x0,Math['trunc'](_0x52c0e6[_0x440e61(_0x297dae._0x9d031a,_0x297dae._0x464bee,_0x297dae._0xad2e09,0xb8)]??0x0)),_0x2669e0=_0x505f2b?_0x488d02['filter'](_0x4a5df4=>{const _0x5cb383={_0x333f23:0x321,_0x507e2a:0x1ef};if(!_0x4a5df4['isContext'])return _0x44523e[_0x2b0b15(_0xee58ea._0xcb4ad9,_0xee58ea._0x5a80d6,0x649,_0xee58ea._0xca35bd)](_0x4a5df4);function _0x2b0b15(_0x4a9657,_0x395ac8,_0x597d05,_0x1200c8){return _0x440e61(_0x395ac8-_0x375c5e._0x1260bd,_0x395ac8-0x1d2,_0x597d05,_0x1200c8-_0x375c5e._0x288391);}function _0x4495f6(_0x38b015,_0xa1ea6f,_0x1e2309,_0x1ce50f){return _0x2f5300(_0x1ce50f- -_0x5cb383._0x333f23,_0xa1ea6f-0x18d,_0x1e2309-_0x5cb383._0x507e2a,_0xa1ea6f);}return _0x16ae0e['some'](_0x52c9f9=>_0x52c9f9['filePath']===_0x4a5df4[_0x2b0b15(0x772,0x5da,0x6de,0x713)]&&Math['abs'](_0x52c9f9[_0x4495f6(-0x141,-0x145,-0xcc,0x3b)]-_0x4a5df4[_0x4495f6(-0xbe,0x5f,0xee,0x3b)])<=_0x5180d4);}):_0x488d02;function _0x440e61(_0x47b25d,_0x29a093,_0x578c5d,_0x36a0fc){return _0x12dc71(_0x578c5d,_0x29a093-_0x4d55e8._0x5ada34,_0x47b25d- -0x29f,_0x36a0fc-0x120);}return{'matches':_0x2669e0,'matchCount':_0x16ae0e[_0x440e61(_0x297dae._0x3309d8,0x152,-0x116,0x1cb)],'fileCount':new Set(_0x2669e0[_0x2f5300(0x688,0x51a,0x5b6,0x7fd)](_0x4c8277=>_0x4c8277[_0x440e61(-0x18,-0x2f,0x130,0x173)]))[_0x2f5300(0x56d,0x647,_0x297dae._0x32231c,0x41e)],'truncated':_0x505f2b};}import{stat as _0x4fb62d}from'fs/promises';import*as _0x1801d3 from'path';function createGrepTool(_0x2140d2={}){const _0x283e47={_0x3b6cf5:0x3a8,_0xd0017e:0x20c,_0x518332:0x5ef,_0x4e7c77:0x4f1,_0x18fd02:0x458,_0x3d7b3f:0x6b,_0x467234:0x81,_0x4ebca7:0x265,_0x9416ff:0x183,_0x3c5672:0xb0,_0x2b5394:0x1aa,_0x85a513:0x1e1,_0x53cd55:0x1d0,_0x470229:0xf9,_0x8a0965:0xd1,_0x1b8586:0x290,_0x4924ad:0x3a5,_0x2e48d3:0x1a2,_0x528459:0x2eb,_0x45adbf:0x8b,_0x30fa87:0x13f,_0x4a443c:0x8b,_0x33b847:0x1ff,_0x4eb018:0x155,_0x1bd77a:0xd4},_0x18c22b={_0x359090:0x1b4,_0x162287:0x7a,_0x32e3c2:0x71,_0x32fb5c:0x32,_0x343ba5:0x17,_0x241219:0x1cd,_0x199702:0x7b,_0x14452c:0x7a,_0xc01aaf:0x63,_0x4091f6:0x239,_0x3999ed:0x2f,_0x1263a1:0x158,_0x4cac1c:0x6,_0x17acae:0x67e,_0x542ffc:0x4e1,_0x8b65be:0x6bf,_0x526c5c:0x9e4,_0x4dacea:0x1b6,_0x2eaf69:0x30,_0x4b9e48:0x122,_0x144cf3:0x146,_0x524d82:0xb4,_0x1f1a6f:0x813,_0x2928f7:0xb4,_0x28e655:0x10a,_0x4e68e9:0x72,_0xdeb4b:0x546,_0xf2c69b:0x463,_0xa397ac:0x3a2,_0x329f49:0x2e,_0x7f9d04:0x8d,_0x358ad0:0x37,_0x8079ee:0x548,_0x35c9d6:0x579,_0x5f0362:0x21,_0x4ecdf2:0xf3,_0x38203a:0x5b,_0x4f5ea7:0x915,_0x479634:0x881,_0x1b52de:0x826,_0x3d6898:0x58b,_0x53472e:0x799,_0x240fc1:0x19b,_0x4b909a:0x127,_0x101b2e:0x774,_0x22de04:0x7ed,_0x551fdb:0x760,_0x1eebfc:0x672,_0x193084:0x512,_0x4785aa:0x527,_0x1cad2b:0x5c6,_0x48ae24:0x64d,_0x1a5ca7:0x3,_0x16ce05:0x1b9,_0x4c4641:0x683,_0xca0765:0x603,_0x5bdf5e:0x86b,_0x2594ec:0x7e5,_0x5945b2:0x50b,_0x273bda:0x482,_0x5814a8:0x5f4,_0x4ce3dd:0x43b,_0x82b15b:0x670,_0x2adedf:0x1ea,_0x224aa0:0x688,_0xde84a:0x588,_0x10a04d:0x669,_0x5b8d41:0x51d,_0x12cc0d:0x638,_0x4a7a8d:0x596,_0x2e7e6a:0x101,_0x36af7d:0x127,_0xf98ebb:0x1e3,_0x5b5de9:0x2d1,_0x35cc86:0x11,_0x1f56be:0x867,_0x50ccef:0x5a8,_0x1687b4:0x7a7,_0x550a52:0xbc,_0x58448f:0xec,_0x495788:0xcf,_0x5d0302:0x4f},_0x166e8f={_0x39224c:0xe6},_0x1ac66d={_0x2d37ca:0x12d,_0x271c93:0xfa},_0x2d3e79={_0x278d2e:0x116},_0x4845f7=_0x1801d3['resolve'](_0x2140d2[_0x2365db(0x27d,0x1e0,_0x283e47._0x3b6cf5,_0x283e47._0xd0017e)]??process[_0x4e54b8(_0x283e47._0x518332,0x512,_0x283e47._0x4e7c77,_0x283e47._0x18fd02)]()),_0x4f231e=_0x2140d2['allowedDirs']??[];function _0x4e54b8(_0x5c4efe,_0xfc53ab,_0x8f6fd9,_0x1540c9){return _0x8a95cf(_0x8f6fd9-0x3dd,_0x1540c9,_0x8f6fd9-_0x2d3e79._0x278d2e,_0x1540c9-0x153);}const _0x46ea84=_0x2140d2[_0x2365db(0xca,-_0x283e47._0x3d7b3f,_0x283e47._0x467234,_0x283e47._0x4ebca7)]??GREP_DEFAULT_LIMIT;function _0x2365db(_0x17536f,_0x5b1cdd,_0x3a96d9,_0x176bac){return _0x12dc71(_0x3a96d9,_0x5b1cdd-_0x1ac66d._0x2d37ca,_0x17536f- -_0x1ac66d._0x271c93,_0x176bac-0x122);}const _0x6d5042=_0x2140d2[_0x2365db(0xff,_0x283e47._0x9416ff,0x26f,0x250)]??_0x2365db(_0x283e47._0x3c5672,_0x283e47._0x2b5394,_0x283e47._0x85a513,0x54);return defineTool({'name':_0x6d5042,'permissionClass':_0x2365db(-0x89,-_0x283e47._0x53cd55,0xfc,-0x206),'description':_0x2365db(0x4c,0x146,_0x283e47._0x470229,-_0x283e47._0x8a0965),'inputSchema':{'type':_0x2365db(_0x283e47._0x1b8586,_0x283e47._0x4924ad,_0x283e47._0x2e48d3,_0x283e47._0x528459),'properties':{'pattern':{'type':_0x2365db(-_0x283e47._0x45adbf,-0xe0,-0x133,-_0x283e47._0x30fa87)},'path':{'type':_0x2365db(-_0x283e47._0x4a443c,0x118,-0xe8,0x132)},'include':{'type':_0x2365db(-_0x283e47._0x45adbf,-_0x283e47._0x33b847,-_0x283e47._0x4eb018,-0x3f)},'limit':{'type':_0x4e54b8(0x7c3,0x514,0x62e,0x6f0)},'context':{'type':'number'}},'required':[_0x2365db(_0x283e47._0x1bd77a,0x298,-0xc9,0x188)]},async *'execute'(_0x1a56ae){const _0x5e9005={_0xceab04:0x174};try{validateGrepPattern(_0x1a56ae['pattern']);}catch(_0x131769){throw new ToolExecutionError(_0x131769['message'],{});}const _0xf922c6=resolveAllowedPath(_0x4845f7,_0x4f231e,_0x1a56ae[_0x4626b8(_0x18c22b._0x359090,_0x18c22b._0x162287,-_0x18c22b._0x32e3c2,-0x11c)]??'.'),_0x7ca383=await _0x4fb62d(_0xf922c6)[_0x4626b8(-_0x18c22b._0x32fb5c,-_0x18c22b._0x343ba5,-_0x18c22b._0x241219,0x66)](()=>null),_0xca43d8=_0x7ca383?.['isFile']()??![],_0x5ea0c9=_0x7ca383?.['isDirectory']()??![];if(!_0xca43d8&&!_0x5ea0c9)throw new ToolExecutionError(_0x4626b8(0x162,-0x24,0x10,0xf7)+(_0x1a56ae['path']??'.'),{'path':_0x1a56ae[_0x4626b8(-_0x18c22b._0x199702,_0x18c22b._0x14452c,-_0x18c22b._0xc01aaf,_0x18c22b._0x4091f6)]??'.'});function _0x4626b8(_0x92cf2a,_0x508d19,_0x20e2a7,_0x331355){return _0x2365db(_0x508d19- -0xd9,_0x508d19-_0x166e8f._0x39224c,_0x20e2a7,_0x331355-0x120);}const _0x4e5b6d=await searchRegex({'cwd':_0x5ea0c9?_0xf922c6:_0x1801d3[_0x4626b8(0x70,-_0x18c22b._0x3999ed,0x9d,-0xb)](_0xf922c6),'pattern':_0x1a56ae['pattern'],'glob':_0x5ea0c9?_0x1a56ae[_0x4626b8(_0x18c22b._0x1263a1,0x21,-_0x18c22b._0x4cac1c,0x80)]:void 0x0,'limit':_0x1a56ae[_0x3aa346(_0x18c22b._0x17acae,_0x18c22b._0x542ffc,0x519,0x839)]??_0x46ea84,'files':_0xca43d8?[_0xf922c6]:void 0x0,'context':_0x1a56ae[_0x3aa346(0x87e,_0x18c22b._0x8b65be,0x733,_0x18c22b._0x526c5c)]}),{matches:_0x4ae076}=_0x4e5b6d,_0xe820d8=new Map();function _0x3aa346(_0x5e2357,_0x41485f,_0x1e4419,_0x277ba6){return _0x4e54b8(_0x5e2357-0x40,_0x41485f-_0x5e9005._0xceab04,_0x5e2357-0x124,_0x1e4419);}for(const _0x3b2a5e of _0x4ae076){if(!_0xe820d8[_0x4626b8(_0x18c22b._0x4dacea,_0x18c22b._0x2eaf69,_0x18c22b._0x4b9e48,-_0x18c22b._0x144cf3)](_0x3b2a5e['filePath'])){const _0x2a3f56=await _0x4fb62d(_0x3b2a5e[_0x4626b8(-0x19,_0x18c22b._0x524d82,0xa1,-0x16)])['catch'](()=>null);_0xe820d8[_0x3aa346(0x663,0x82b,_0x18c22b._0x1f1a6f,0x4fc)](_0x3b2a5e[_0x4626b8(0x18b,_0x18c22b._0x2928f7,-_0x18c22b._0x28e655,-0xaa)],{'matches':[],'mtime':_0x2a3f56?.[_0x4626b8(-_0x18c22b._0x4e68e9,0x123,0x27e,-0x93)]??0x0});}_0xe820d8['get'](_0x3b2a5e['filePath'])?.[_0x3aa346(_0x18c22b._0xdeb4b,_0x18c22b._0xf2c69b,_0x18c22b._0xa397ac,0x5a2)][_0x4626b8(_0x18c22b._0x329f49,_0x18c22b._0x7f9d04,0x95,_0x18c22b._0x358ad0)](_0x3b2a5e);}const _0x2d7432=[..._0xe820d8[_0x3aa346(_0x18c22b._0x8079ee,0x39b,0x57a,_0x18c22b._0x35c9d6)]()][_0x4626b8(_0x18c22b._0x5f0362,-0x18c,-0x2e2,-0x1b8)]((_0x323f80,_0x3eaee2)=>_0x3eaee2[0x1][_0x4626b8(0x2e3,0x150,0xc8,0x1c0)]-_0x323f80[0x1][_0x4626b8(0x269,0x150,0x2b1,0x163)]),_0x44c0cf=_0xca43d8?_0x1801d3[_0x4626b8(_0x18c22b._0x4ecdf2,-0x2f,_0x18c22b._0x38203a,-0x11b)](_0xf922c6):_0xf922c6;let _0x1c7c85='';if(_0x4ae076[_0x3aa346(0x7a6,_0x18c22b._0x4f5ea7,_0x18c22b._0x479634,0x8a3)]===0x0)_0x1c7c85=_0x3aa346(0x7f5,_0x18c22b._0x1b52de,0x82d,0x952)+_0x1a56ae[_0x3aa346(0x688,_0x18c22b._0x3d6898,0x51e,_0x18c22b._0x53472e)];else{_0x1c7c85=_0x4626b8(-0xce,0x42,-0x10e,-0x2d)+_0x4e5b6d[_0x4626b8(-_0x18c22b._0x240fc1,-0x170,-0x131,-_0x18c22b._0x4b909a)]+_0x3aa346(_0x18c22b._0x101b2e,_0x18c22b._0x22de04,0x789,_0x18c22b._0x551fdb)+(_0x4e5b6d[_0x3aa346(0x51d,0x44a,0x5de,0x42d)]===0x1?'':'es')+'\x0a';for(const [_0x4f6951,_0x359d9b]of _0x2d7432){const _0x1d0d8d=_0xca43d8?_0x1801d3[_0x3aa346(0x5bc,0x537,_0x18c22b._0x1eebfc,_0x18c22b._0x193084)](_0x4f6951):_0x1801d3[_0x3aa346(_0x18c22b._0x4785aa,_0x18c22b._0x1cad2b,0x3ad,_0x18c22b._0x48ae24)](_0x44c0cf,_0x4f6951);_0x1c7c85+='\x0a'+_0x1d0d8d+':\x0a';for(const _0x38dff5 of _0x359d9b[_0x4626b8(-_0x18c22b._0x1a5ca7,-0x147,-_0x18c22b._0x16ce05,0x37)]){const _0x430602=boundedGrepSnippet(_0x38dff5[_0x3aa346(0x719,_0x18c22b._0x4c4641,_0x18c22b._0xca0765,_0x18c22b._0x5bdf5e)]),_0x55dc01=_0x38dff5[_0x3aa346(0x7e2,0x928,0x638,_0x18c22b._0x2594ec)]?'\x20\x20':'>\x20';_0x1c7c85+=_0x55dc01+'Line\x20'+_0x38dff5[_0x3aa346(_0x18c22b._0x5945b2,0x59a,0x4d1,_0x18c22b._0x273bda)]+':\x20'+_0x430602+'\x0a';}}_0x4e5b6d['truncated']&&(_0x1c7c85+=_0x3aa346(_0x18c22b._0x5814a8,_0x18c22b._0x4ce3dd,0x6d4,_0x18c22b._0x82b15b));}const _0x28b86f={'searchPath':_0x1801d3[_0x4626b8(-_0x18c22b._0x2adedf,-0x166,-0x332,-0x1a3)](_0x4845f7,_0xf922c6)||'.','pattern':_0x1a56ae[_0x3aa346(_0x18c22b._0x224aa0,0x6f2,_0x18c22b._0xde84a,_0x18c22b._0x10a04d)],'matchCount':_0x4e5b6d[_0x3aa346(_0x18c22b._0x5b8d41,_0x18c22b._0x12cc0d,_0x18c22b._0x4a7a8d,0x3c3)],'fileCount':_0x4e5b6d[_0x4626b8(_0x18c22b._0x2e7e6a,0x68,0x93,_0x18c22b._0x36af7d)],'truncated':_0x4e5b6d[_0x4626b8(0x1f9,_0x18c22b._0xf98ebb,0x139,_0x18c22b._0x5b5de9)]};return _0x5ea0c9&&_0x1a56ae['include']!==void 0x0&&(_0x28b86f[_0x4626b8(0xa1,0x21,-_0x18c22b._0x35cc86,0x1a8)]=_0x1a56ae[_0x3aa346(0x6ae,_0x18c22b._0x1f56be,_0x18c22b._0x50ccef,_0x18c22b._0x1687b4)]),yield createToolOutput(_0x1c7c85[_0x4626b8(_0x18c22b._0x550a52,_0x18c22b._0x58448f,_0x18c22b._0x495788,_0x18c22b._0x5d0302)](),_0x28b86f),void 0x0;}});}function createKillShellTool(_0x4ecf7f){const _0x387ec1={_0x40a1e3:0x42c,_0x55576d:0x4da,_0x3a3eef:0x303,_0x10f548:0x3c1,_0x549dab:0x44b,_0x5f309b:0x63e,_0x14fe16:0x5fe,_0x5d3a07:0x59a,_0x2c7f43:0x2ff,_0x2a80e4:0x41b},_0xa2526={_0x24db5e:0xb1,_0x3a3b31:0x77,_0x37c67f:0x557,_0x25256e:0x4b6,_0x12ce46:0x3b6,_0x254258:0x105,_0x4e3606:0x224,_0x192f4f:0x1e9,_0x8790f2:0x33c,_0x2e4aed:0x245,_0x4e645d:0x5ab,_0x100782:0x6a4,_0x2de6c7:0x4,_0x16ca07:0x2f9,_0x35de1c:0x321,_0x205110:0x2d5,_0x141472:0x1c8,_0x2b8926:0x29b,_0x157547:0x359,_0x23c364:0x261,_0x2f3b34:0x3fc,_0x56542a:0x62d,_0x1f3fb4:0xf4,_0x1a8a10:0xaf,_0x25399b:0x407,_0x4f3af0:0x428,_0x59ed2e:0x508,_0x7750d3:0x34c,_0x47ec14:0x2ed,_0x2b3c2f:0xbe,_0x17f49e:0x303,_0xb7ffa5:0x208,_0x1331f4:0x242,_0x20d86a:0x207,_0x2e0abc:0x32a,_0x277976:0x29b,_0x338efc:0x341},_0x45753e={_0x45e146:0x24e,_0x44b6eb:0xee,_0x15bf8d:0x1db},_0x3e0dfb={_0x355ca5:0x18c,_0x359d65:0x3a},_0x209d0e={_0x1ea890:0x27a};function _0x1cdc15(_0x20842a,_0x1ff479,_0x822edb,_0x364159){return _0x8a95cf(_0x822edb-_0x209d0e._0x1ea890,_0x1ff479,_0x822edb-0xc1,_0x364159-0x133);}const {registry:_0x657a98}=_0x4ecf7f;function _0x8d184(_0x2fe986,_0x2a44f3,_0x51563b,_0x3b02a6){return _0x8a95cf(_0x2fe986-0x2fb,_0x3b02a6,_0x51563b-_0x3e0dfb._0x355ca5,_0x3b02a6-_0x3e0dfb._0x359d65);}return defineTool({'name':'KillShell','permissionClass':_0x1cdc15(0x512,_0x387ec1._0x40a1e3,0x526,_0x387ec1._0x55576d),'description':_0x8d184(_0x387ec1._0x3a3eef,_0x387ec1._0x10f548,_0x387ec1._0x549dab,0x4cd),'inputSchema':{'type':_0x8d184(_0x387ec1._0x5f309b,0x6a4,_0x387ec1._0x14fe16,_0x387ec1._0x5d3a07),'properties':{'shellId':{'type':'string'}},'required':[_0x8d184(_0x387ec1._0x2c7f43,0x165,_0x387ec1._0x2a80e4,0x3b4)]},async *'execute'(_0x1cbdc7){const _0x563d0e={_0x2d5c84:0xd};function _0x37a2cd(_0x3d9a78,_0x333101,_0x243f14,_0xe11a75){return _0x8d184(_0x333101- -_0x45753e._0x45e146,_0x333101-_0x45753e._0x44b6eb,_0x243f14-_0x45753e._0x15bf8d,_0x3d9a78);}const _0x583775=await _0x657a98['kill'](_0x1cbdc7[_0x37a2cd(-0x37,_0xa2526._0x24db5e,0x186,_0xa2526._0x3a3b31)]),_0x8deaa3={'shellId':_0x583775['shellId'],'outcome':_0x583775['outcome'],'status':_0x583775[_0x12fe01(_0xa2526._0x37c67f,_0xa2526._0x25256e,0x6f6,_0xa2526._0x12ce46)],'exitCode':_0x583775[_0x37a2cd(0x29d,_0xa2526._0x254258,_0xa2526._0x4e3606,_0xa2526._0x192f4f)],'signal':_0x583775[_0x37a2cd(0x359,_0xa2526._0x8790f2,_0xa2526._0x2e4aed,0x281)],'error':_0x583775[_0x12fe01(0x55d,_0xa2526._0x4e645d,_0xa2526._0x100782,0x48d)],'gracefulRequested':_0x583775['gracefulRequested'],'forceRequested':_0x583775[_0x37a2cd(_0xa2526._0x2de6c7,0xe0,0x26c,0x227)]};if(_0x583775['outcome']===_0x12fe01(_0xa2526._0x16ca07,0x1de,_0xa2526._0x35de1c,_0xa2526._0x205110))throw new ToolExecutionError(_0x37a2cd(_0xa2526._0x141472,0x173,0x23c,0xf0)+_0x1cbdc7[_0x12fe01(_0xa2526._0x2b8926,_0xa2526._0x157547,0x295,_0xa2526._0x23c364)]+':\x20'+(_0x583775[_0x12fe01(0x55d,_0xa2526._0x2f3b34,_0xa2526._0x56542a,0x518)]??_0x37a2cd(0x267,0x188,_0xa2526._0x1f3fb4,_0xa2526._0x1a8a10)),_0x8deaa3);function _0x12fe01(_0x11195b,_0x3a2db2,_0x3b9285,_0x1c1d26){return _0x1cdc15(_0x11195b-_0x563d0e._0x2d5c84,_0x3a2db2,_0x11195b-0x1d,_0x1c1d26-0x9a);}const _0x510f4c=_0x583775[_0x37a2cd(_0xa2526._0x25399b,_0xa2526._0x4f3af0,0x5da,0x2d4)]===_0x12fe01(0x518,_0xa2526._0x59ed2e,0x52e,0x4fe)?_0x12fe01(_0xa2526._0x7750d3,0x40a,_0xa2526._0x47ec14,0x4d1)+_0x1cbdc7[_0x37a2cd(_0xa2526._0x2b3c2f,_0xa2526._0x24db5e,0x22c,0x16b)]+'\x20was\x20already\x20'+_0x583775[_0x37a2cd(0x30c,0x36d,_0xa2526._0x17f49e,0x1af)]+'.':_0x37a2cd(_0xa2526._0xb7ffa5,_0xa2526._0x1331f4,_0xa2526._0x20d86a,_0xa2526._0x2e0abc)+_0x1cbdc7[_0x12fe01(_0xa2526._0x277976,0x347,0x404,_0xa2526._0x338efc)]+'.';return createToolOutput(_0x510f4c,_0x8deaa3);}});}import{readdir as _0x4e907f,readFile as _0x1a1a76,stat as _0x497e67}from'fs/promises';import*as _0x672107 from'path';import*as _0x36bbe7 from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x193049,_0x42d767){const _0x4b514c={_0xab4c33:0x543,_0x48eab0:0x608,_0x240272:0x110,_0x106eea:0x18f,_0x3b6d15:0x892,_0x5b93e1:0x813,_0x15fa6d:0x8bf,_0xea96d0:0x51b,_0x3775e6:0x5d7,_0x505d56:0x683},_0x544ed3={_0x3ddbf9:0x493};if(_0x42d767>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;function _0x49522d(_0x5b2b46,_0x311b8b,_0x3b0385,_0x53bd9e){return _0x8a95cf(_0x53bd9e- -0x162,_0x5b2b46,_0x3b0385-0x11d,_0x53bd9e-0xbc);}const _0x4b389b=await _0x1a1a76(_0x193049)[_0x894062(_0x4b514c._0xab4c33,_0x4b514c._0x48eab0,0x6db,0x4f5)](()=>null);if(!_0x4b389b||isProbablyBinary(_0x4b389b))return void 0x0;function _0x894062(_0x4591b4,_0x177ff3,_0x2ac9d5,_0x8b5a73){return _0x8a95cf(_0x177ff3-_0x544ed3._0x3ddbf9,_0x8b5a73,_0x2ac9d5-0xf,_0x8b5a73-0x70);}return _0x4b389b[_0x49522d(_0x4b514c._0x240272,0x6b,_0x4b514c._0x106eea,0x1c7)](_0x894062(_0x4b514c._0x3b6d15,_0x4b514c._0x5b93e1,_0x4b514c._0x15fa6d,0x7ca))[_0x894062(0x628,_0x4b514c._0xea96d0,_0x4b514c._0x3775e6,_0x4b514c._0x505d56)](/\r?\n/)['length'];}function createLsTool(_0x189ab5={}){const _0x2723c3={_0x28ba2e:0x4bd,_0x5374f2:0x714,_0x25f0a8:0x49e,_0x816a80:0x33a,_0x83b453:0x3c7,_0x4bb40f:0x3d8,_0xe149f9:0x40b,_0x157cc5:0x52b,_0x1a4cc6:0x4aa,_0x4246cd:0x329,_0x718cf:0x5e3,_0x293d13:0x659,_0x5dc4e7:0x3ef,_0x51fad2:0x6ee,_0x1d0fe0:0x24e,_0x2e531a:0x124,_0x890823:0x378,_0x20ce2f:0x92,_0x13b024:0x5fc,_0x1ffbc2:0x5c2},_0x3f2ed8={_0x51a2d3:0x1e4,_0x47d143:0x4e,_0x580f92:0x332,_0x817f9a:0x2db,_0x3bde7e:0x1c4,_0x13ca01:0x97,_0x120135:0x1fb,_0x214f3d:0x1bb,_0xd2c981:0x1ee,_0x3ebf9b:0xd7,_0x50cc82:0xd6,_0x410443:0x4d,_0x80d015:0x195,_0x2329ff:0x1c,_0xbe8be4:0x32a,_0x1db6c0:0x193,_0x2054a3:0x2c6,_0x3eeb17:0x1ca,_0x203cee:0x378,_0xa17ea9:0x337,_0xf1fc22:0x257,_0x24865f:0xbf,_0x50acc1:0x64,_0x289b09:0x122,_0x13af1d:0x180,_0x2f09e4:0x10,_0x2d1048:0x210,_0xb95b2b:0x3ce,_0x1681ba:0x152,_0x48a8bd:0x484,_0xd24adf:0x39,_0x12f50c:0x119,_0x3d4883:0x1eb,_0x5a2083:0x3f7,_0x33be1c:0x2fd,_0x36e297:0xf2,_0x4a5d1e:0x112,_0x1697f9:0x5b,_0x387b09:0x2c4,_0x500c6a:0x4d1,_0x488d04:0x3a,_0x51d080:0x16e,_0x86301b:0xe2,_0xa18ec1:0x1f9,_0x4ca354:0x387,_0x195b08:0x28,_0x48529a:0x18c,_0x566588:0x25a,_0x5bb6c6:0x131,_0xc83a41:0x161,_0x3f3f6e:0x1e,_0xda365a:0x134,_0x2c1a9e:0x51},_0x21cd03={_0x3f6603:0x144,_0x450ec6:0x1f0},_0x446405={_0x14bed8:0x24,_0x173e29:0x35},_0x2910f2={_0x2a905:0x1df,_0x5869c8:0x139};function _0x3aea60(_0xea611d,_0x52e734,_0x57b5de,_0x5e2e86){return _0x12dc71(_0x52e734,_0x52e734-0xc3,_0xea611d-_0x2910f2._0x2a905,_0x5e2e86-_0x2910f2._0x5869c8);}const _0x3238a9=_0x672107[_0x5a9ff3(0x444,_0x2723c3._0x28ba2e,0x297,0x476)](_0x189ab5[_0x3aea60(0x556,_0x2723c3._0x5374f2,_0x2723c3._0x25f0a8,0x440)]??process[_0x3aea60(_0x2723c3._0x816a80,_0x2723c3._0x83b453,0x21f,0x310)]());function _0x5a9ff3(_0x188268,_0x134e97,_0x24a412,_0x39f2c1){return _0x8a95cf(_0x188268-0x3ab,_0x24a412,_0x24a412-_0x446405._0x14bed8,_0x39f2c1-_0x446405._0x173e29);}const _0x2117a4=_0x189ab5['allowedDirs']??[],_0x4ecb3f=_0x189ab5[_0x3aea60(_0x2723c3._0x4bb40f,_0x2723c3._0xe149f9,_0x2723c3._0x157cc5,0x268)]??'Ls';return defineTool({'name':_0x4ecb3f,'permissionClass':_0x5a9ff3(0x3d5,0x590,_0x2723c3._0x1a4cc6,_0x2723c3._0x4246cd),'description':_0x5a9ff3(0x4df,_0x2723c3._0x718cf,_0x2723c3._0x293d13,_0x2723c3._0x5dc4e7),'inputSchema':{'type':_0x5a9ff3(_0x2723c3._0x51fad2,0x6a1,0x582,0x820),'properties':{'path':{'type':_0x3aea60(_0x2723c3._0x1d0fe0,_0x2723c3._0x2e531a,_0x2723c3._0x890823,_0x2723c3._0x20ce2f)},'limit':{'type':_0x5a9ff3(_0x2723c3._0x13b024,_0x2723c3._0x1ffbc2,0x622,0x486)}}},async *'execute'(_0x176565){const _0x44400f={_0x2d9953:0x14d,_0x1e0efc:0x131};function _0x2868c6(_0xb80adb,_0x18b721,_0x17bea0,_0x538d58){return _0x3aea60(_0x538d58- -0x47a,_0x17bea0,_0x17bea0-_0x44400f._0x2d9953,_0x538d58-_0x44400f._0x1e0efc);}const _0x41a72a=_0x176565[_0x2868c6(-0x3d,0x109,-_0x3f2ed8._0x51a2d3,-_0x3f2ed8._0x47d143)]??'.',_0x207ad3=resolveAllowedPath(_0x3238a9,_0x2117a4,_0x41a72a),_0xeb51b7=await _0x497e67(_0x207ad3)[_0x11c83e(_0x3f2ed8._0x580f92,_0x3f2ed8._0x817f9a,_0x3f2ed8._0x3bde7e,0x257)](()=>null);if(!_0xeb51b7?.['isDirectory']())throw new ToolExecutionError(_0x2868c6(-0x223,-0x37e,-_0x3f2ed8._0x13ca01,-_0x3f2ed8._0x120135)+_0x41a72a,{'path':_0x41a72a});const _0x5eef40=_0x176565[_0x2868c6(-0x196,-_0x3f2ed8._0x214f3d,-_0x3f2ed8._0xd2c981,-_0x3f2ed8._0x3ebf9b)]??0x3e8,_0x3d9467=Math[_0x2868c6(-_0x3f2ed8._0x50cc82,_0x3f2ed8._0x410443,_0x3f2ed8._0x80d015,_0x3f2ed8._0x2329ff)](Math[_0x11c83e(_0x3f2ed8._0xbe8be4,_0x3f2ed8._0x1db6c0,0x158,0x19f)](Math[_0x11c83e(0x413,0x456,0x448,0x2f2)](_0x5eef40),0x1),0x2710),_0x2f9a46=await _0x4e907f(_0x207ad3),_0x2f044a=[];for(const _0x345e17 of _0x2f9a46[_0x2868c6(-_0x3f2ed8._0x2054a3,-0x250,-0x24e,-0x240)](0x0,_0x3d9467)){const _0x1cdea5=_0x672107['join'](_0x207ad3,_0x345e17),_0x10f3d4=await _0x497e67(_0x1cdea5)[_0x11c83e(_0x3f2ed8._0x3eeb17,_0x3f2ed8._0x203cee,_0x3f2ed8._0xa17ea9,_0x3f2ed8._0xf1fc22)](()=>null);if(!_0x10f3d4)continue;let _0x4b2e01=_0x2868c6(0xf9,0xc5,_0x3f2ed8._0x24865f,0xe1);if(_0x10f3d4[_0x2868c6(_0x3f2ed8._0x50acc1,-_0x3f2ed8._0x289b09,-0x37,0x43)]())_0x4b2e01=_0x2868c6(-0x283,-0xba,-_0x3f2ed8._0x13af1d,-0x19e);else{if(_0x10f3d4[_0x2868c6(-0x1f9,-0x20b,-0x192,-0x9f)]())_0x4b2e01=_0x2868c6(_0x3f2ed8._0x2f09e4,-0x16c,_0x3f2ed8._0x2d1048,0x4f);else{if(_0x10f3d4[_0x11c83e(_0x3f2ed8._0xb95b2b,_0x3f2ed8._0x1681ba,_0x3f2ed8._0x48a8bd,0x2f1)]())_0x4b2e01=_0x2868c6(-_0x3f2ed8._0xd24adf,-0x266,-_0x3f2ed8._0x12f50c,-0x1bc);}}const _0x40dd86={'name':_0x345e17,'type':_0x4b2e01,'size':_0x10f3d4[_0x11c83e(_0x3f2ed8._0x3d4883,_0x3f2ed8._0x5a2083,0x269,_0x3f2ed8._0x33be1c)],'mtime':_0x10f3d4[_0x2868c6(0x17a,-_0x3f2ed8._0x36e297,-_0x3f2ed8._0x4a5d1e,_0x3f2ed8._0x1697f9)],'mode':_0x10f3d4[_0x11c83e(_0x3f2ed8._0x387b09,_0x3f2ed8._0x500c6a,0x53e,0x400)]},_0x4a1b06=_0x4b2e01==='file'?await countTextLines(_0x1cdea5,_0x10f3d4['size']):void 0x0;if(_0x4a1b06!==void 0x0)_0x40dd86['lines']=_0x4a1b06;_0x2f044a[_0x2868c6(0x4a,-_0x3f2ed8._0x24865f,0x14f,-0x3b)](_0x40dd86);}_0x2f044a[_0x11c83e(_0x3f2ed8._0x488d04,-0x97,_0x3f2ed8._0x51d080,_0x3f2ed8._0x86301b)]((_0x57c3ca,_0x2dbbb3)=>_0x57c3ca[_0x2868c6(-0x1c3,0xa2,-0x6c,-0xa2)][_0x2868c6(-0xa7,0xe,0xac,0xc1)](_0x2dbbb3['name']));const _0x380b94={'path':_0x41a72a,'total':_0x2f044a[_0x2868c6(0x51,0x19e,-0xe1,0x51)],'truncated':_0x2f9a46[_0x11c83e(0x50a,_0x3f2ed8._0xa18ec1,0x2c2,_0x3f2ed8._0x4ca354)]>_0x3d9467,'entries':_0x2f044a};function _0x11c83e(_0x4c9e42,_0x4922c2,_0x186c3f,_0x212a78){return _0x3aea60(_0x212a78- -_0x21cd03._0x3f6603,_0x4922c2,_0x186c3f-0x8e,_0x212a78-_0x21cd03._0x450ec6);}return yield createToolOutput(_0x36bbe7[_0x11c83e(0x2df,_0x3f2ed8._0x195b08,0x338,_0x3f2ed8._0x48529a)](_0x380b94,{'indent':0x2,'lineWidth':0x0})[_0x11c83e(_0x3f2ed8._0x566588,0x3a8,_0x3f2ed8._0x5bb6c6,0x219)](),{'path':_0x41a72a,'total':_0x2f044a[_0x11c83e(0x210,0x345,0x2b6,0x387)],'truncated':_0x2f9a46[_0x2868c6(_0x3f2ed8._0xc83a41,-_0x3f2ed8._0x3f3f6e,_0x3f2ed8._0xda365a,_0x3f2ed8._0x2c1a9e)]>_0x3d9467,'limit':_0x3d9467,'entries':_0x2f044a}),void 0x0;}});}import{stat as _0x1e7d9b}from'fs/promises';import _0x2df3c4 from'path';import{fileURLToPath as _0x1833ed}from'url';function awaitWithAbort(_0x80a143,_0x4034b6){const _0x2d90bc={_0x1f241f:0xeb},_0x33d46f={_0x444375:0x43f,_0x27d5a1:0x365,_0x11a4f4:0x96,_0x37b715:0x133,_0x5c0284:0x19},_0xf6d69b={_0x1d8ef7:0xe9},_0x53a94f={_0x32aad1:0x232,_0x4407aa:0x36},_0x27fca9={_0x5f5afc:0x234,_0x1d9745:0x1af};function _0x535d2a(_0xffa30,_0x4e4519,_0x1f3527,_0x425297){return _0x8a95cf(_0xffa30- -_0x27fca9._0x5f5afc,_0x1f3527,_0x1f3527-0x70,_0x425297-_0x27fca9._0x1d9745);}if(!_0x4034b6)return _0x80a143;if(_0x4034b6['aborted'])return Promise['reject'](toAbortError(_0x4034b6[_0x535d2a(-0xc5,-0x1eb,_0x2d90bc._0x1f241f,-0x224)]));return new Promise((_0xb05f0c,_0x5aab21)=>{const _0x21b4a6=()=>{function _0xc3f247(_0x58ac8b,_0x4b6aaf,_0x26aa5c,_0x12f880){return _0x2a64(_0x26aa5c- -0x388,_0x58ac8b);}_0x202474(),_0x5aab21(toAbortError(_0x4034b6[_0xc3f247(-_0x53a94f._0x32aad1,_0x53a94f._0x4407aa,-0xcc,-0x14)]));},_0x202474=()=>_0x4034b6[_0x20b852(0x529,0x435,0x654,0x643)](_0x20b852(0x442,0x2a9,0x335,0x2a8),_0x21b4a6);function _0x45b858(_0x47a1ec,_0x5c31b7,_0x39dcb2,_0x48269e){return _0x535d2a(_0x5c31b7-0x195,_0x5c31b7-0xd4,_0x39dcb2,_0x48269e-_0xf6d69b._0x1d8ef7);}function _0x20b852(_0x518389,_0x50f0c8,_0xed1f32,_0xc225d){return _0x535d2a(_0x518389-0x430,_0x50f0c8-0x172,_0xed1f32,_0xc225d-0x1b5);}_0x4034b6[_0x20b852(_0x33d46f._0x444375,0x48f,0x607,_0x33d46f._0x27d5a1)]('abort',_0x21b4a6,{'once':!![]}),_0x80a143[_0x45b858(0xe8,-_0x33d46f._0x11a4f4,_0x33d46f._0x37b715,-_0x33d46f._0x5c0284)](_0x35b083=>{_0x202474(),_0xb05f0c(_0x35b083);},_0x2c25fd=>{_0x202474(),_0x5aab21(_0x2c25fd);});});}function severityName(_0x2bf72f){const _0x4dd590={_0x110eac:0x7c7,_0x49663b:0x767,_0x38db01:0x714,_0x30ea3e:0x3bb,_0x3a2a14:0x48d,_0x122ced:0x439,_0x34d64a:0x2f9,_0x272749:0x615,_0x5936ec:0x69a,_0x147968:0x514,_0x189769:0xac,_0x45bce3:0x218,_0x4dbbf8:0xce};function _0x57d650(_0x178657,_0xb3a291,_0x29e1bd,_0x558d01){return _0x12dc71(_0x178657,_0xb3a291-0xae,_0x29e1bd- -0x2aa,_0x558d01-0x117);}function _0x244f67(_0x1aabf8,_0x571df3,_0x272cab,_0x5cf050){return _0x12dc71(_0x571df3,_0x571df3-0xeb,_0x272cab-0x3d9,_0x5cf050-0x141);}switch(_0x2bf72f){case 0x1:return _0x244f67(_0x4dd590._0x110eac,0x70a,_0x4dd590._0x49663b,_0x4dd590._0x38db01);case 0x2:return _0x244f67(_0x4dd590._0x30ea3e,_0x4dd590._0x3a2a14,_0x4dd590._0x122ced,_0x4dd590._0x34d64a);case 0x3:return _0x244f67(_0x4dd590._0x272749,_0x4dd590._0x5936ec,_0x4dd590._0x147968,0x3a4);case 0x4:return _0x57d650(-_0x4dd590._0x189769,-0x1e2,-_0x4dd590._0x45bce3,-_0x4dd590._0x4dbbf8);default:return'Diagnostic';}}function formatSingleHover(_0x447137){const _0x1bec78={_0x519757:0x251,_0x5516ac:0xef,_0x4a0339:0x3a,_0x546a89:0x8a,_0x2b1031:0x85,_0x4744ca:0x14d,_0x352e3b:0x24c,_0x4942e0:0x45e,_0x5e02be:0x3c6,_0x4ab94e:0x8f,_0x1eb316:0x173,_0x221c8a:0x6d,_0x526734:0x3c3,_0x161588:0x466,_0x10b741:0x415,_0x4b4c3f:0x44e,_0x552172:0x21e},_0x4b6d24={_0x192ebf:0x22d,_0x220d91:0x1cf,_0xac1a79:0xc1},_0xecd9e={_0x4e66a0:0x11f,_0x4efed2:0xe2},_0x5f251e=_0x447137[_0x3b63cf(-0x15d,-0x18,-_0x1bec78._0x519757,-0x184)];function _0x48bc4f(_0x5878d4,_0x20920b,_0x468436,_0x527b25){return _0x12dc71(_0x20920b,_0x20920b-_0xecd9e._0x4e66a0,_0x527b25-_0xecd9e._0x4efed2,_0x527b25-0xb8);}function _0x3b63cf(_0x57d74e,_0x2753ba,_0x5cd11f,_0x9f826f){return _0x8a95cf(_0x9f826f- -_0x4b6d24._0x192ebf,_0x2753ba,_0x5cd11f-_0x4b6d24._0x220d91,_0x9f826f-_0x4b6d24._0xac1a79);}if(typeof _0x5f251e===_0x48bc4f(-0xf,_0x1bec78._0x5516ac,_0x1bec78._0x4a0339,0x151))return _0x5f251e;if(Array[_0x3b63cf(0x1a,-0x245,-_0x1bec78._0x546a89,-_0x1bec78._0x2b1031)](_0x5f251e))return _0x5f251e[_0x3b63cf(0x21a,-0x94,0x169,0x109)](_0xb7b7cb=>typeof _0xb7b7cb==='string'?_0xb7b7cb:_0xb7b7cb[_0x3b63cf(0x20d,0x4d,0x17,0x70)])['filter'](Boolean)[_0x3b63cf(0x5d,0x109,0xf0,-0x96)]('\x0a\x0a');if(_0x3b63cf(_0x1bec78._0x4744ca,0x18f,-0xf3,0x50)in _0x5f251e)return _0x5f251e[_0x48bc4f(_0x1bec78._0x352e3b,0x2af,_0x1bec78._0x4942e0,_0x1bec78._0x5e02be)];return _0x5f251e['language']?_0x3b63cf(_0x1bec78._0x4ab94e,_0x1bec78._0x1eb316,-_0x1bec78._0x221c8a,0x55)+_0x5f251e['language']+'\x0a'+_0x5f251e[_0x48bc4f(_0x1bec78._0x526734,_0x1bec78._0x161588,0x554,0x3c6)]+_0x48bc4f(0x584,_0x1bec78._0x10b741,0x550,_0x1bec78._0x4b4c3f):_0x5f251e[_0x3b63cf(_0x1bec78._0x552172,0x107,-0x4a,0x70)];}function formatHover(_0x3d8d3d){const _0x295108={_0x3c9f82:0x539,_0x3e6c0d:0x89,_0x467d83:0x1f3,_0x25c246:0x4e,_0x11060a:0x205,_0x5663ca:0x1be,_0x488a3c:0x184,_0x371b01:0x269,_0x4b33c4:0x157,_0x49280c:0x1b},_0x1994d5={_0x28e0e3:0x1f9},_0x20b6c7={_0x1ccfd7:0x1cb,_0x2bb0a5:0x19a};if(_0x3d8d3d[_0xcef82e(0x470,_0x295108._0x3c9f82,0x5fa,0x4fe)]===0x0)return _0x424933(-_0x295108._0x3e6c0d,-_0x295108._0x467d83,-_0x295108._0x25c246,-_0x295108._0x11060a);function _0xcef82e(_0x1fba9a,_0x1edbba,_0x5a1924,_0xf75cc2){return _0x8a95cf(_0x1fba9a-_0x20b6c7._0x1ccfd7,_0x5a1924,_0x5a1924-_0x20b6c7._0x2bb0a5,_0xf75cc2-0xa2);}function _0x424933(_0x1c762c,_0x515f25,_0x36da4a,_0x33b46a){return _0x12dc71(_0x33b46a,_0x515f25-0x6f,_0x36da4a- -_0x1994d5._0x28e0e3,_0x33b46a-0xcb);}return _0x3d8d3d[_0x424933(0xc6,_0x295108._0x5663ca,_0x295108._0x488a3c,_0x295108._0x371b01)](formatSingleHover)[_0x424933(0xbc,_0x295108._0x4b33c4,-_0x295108._0x49280c,0x14a)]('\x0a\x0a---\x0a\x0a');}function locationPath(_0x55392b){const _0x51125a={_0x449955:0x8,_0x27b3be:0x6f,_0x5a865c:0xa1,_0x2298e0:0x429,_0x4e85f0:0x2b4},_0x170de5={_0x4f96f6:0x8a,_0x3efa40:0x247},_0x39d523={_0x16699e:0x1c1,_0x4573a0:0xb6};if(!_0x55392b[_0xcf585(-_0x51125a._0x449955,_0x51125a._0x27b3be,0x1a,_0x51125a._0x5a865c)](_0x9ccbe0(0x438,0x3f4,_0x51125a._0x2298e0,_0x51125a._0x4e85f0)))return _0x55392b;function _0x9ccbe0(_0x33d00c,_0x5e3cdd,_0x410138,_0x52f25c){return _0x8a95cf(_0x33d00c-0xd0,_0x410138,_0x410138-_0x39d523._0x16699e,_0x52f25c-_0x39d523._0x4573a0);}function _0xcf585(_0x24d660,_0x3d259a,_0x22863e,_0xe84d79){return _0x12dc71(_0x22863e,_0x3d259a-_0x170de5._0x4f96f6,_0x3d259a- -_0x170de5._0x3efa40,_0xe84d79-0x1dd);}return _0x1833ed(_0x55392b);}function formatLocations(_0x198e77){const _0x3a7d5c={_0x3e606e:0x231,_0x3070e6:0xbc,_0x46c79c:0x16f,_0x3f265c:0x40c,_0x39c3cc:0x3de,_0x1264f7:0x5d1,_0x5a3f4a:0x479},_0x1baddd={_0x171bd3:0xf9,_0x5344ed:0x12,_0x3ba216:0x593,_0x5a5e01:0x7fd,_0x390885:0x753,_0x32712b:0x801,_0x47b02c:0x8e9,_0x2ec8ad:0x4fb,_0x387ecf:0x65f,_0x2682e5:0x67a},_0x4e8625={_0x20230a:0x167},_0xa54481={_0x65c78:0x42b,_0x8de5a7:0x1d3},_0x464989={_0x59dfd9:0x17},_0x3e10bb={_0xc2e674:0x6c};if(_0x198e77[_0x198626(0x334,0x2ed,_0x3a7d5c._0x3e606e,_0x3a7d5c._0x3070e6)]===0x0)return _0x198626(0x2c0,0x1c6,_0x3a7d5c._0x46c79c,0x50);function _0x198626(_0x5563d0,_0x3beb3c,_0x582218,_0xd6a490){return _0x12dc71(_0xd6a490,_0x3beb3c-0x1a0,_0x582218- -0xbb,_0xd6a490-_0x3e10bb._0xc2e674);}function _0x53f697(_0x1c3937,_0x563113,_0x132b02,_0x240240){return _0x8a95cf(_0x563113-0x341,_0x240240,_0x132b02-0x144,_0x240240-_0x464989._0x59dfd9);}return _0x198e77[_0x198626(_0x3a7d5c._0x3f265c,0x3ff,0x2c2,_0x3a7d5c._0x39c3cc)](_0x1de948=>{function _0x4a139a(_0x2bf16f,_0x2ed353,_0x3f9827,_0x1edd83){return _0x53f697(_0x2bf16f-0xfb,_0x3f9827- -_0xa54481._0x65c78,_0x3f9827-_0xa54481._0x8de5a7,_0x2bf16f);}const _0x28937f=_0x1de948[_0x4a139a(0x2d7,_0x1baddd._0x171bd3,0x15f,_0x1baddd._0x5344ed)][_0x27e949(0x64b,_0x1baddd._0x3ba216,_0x1baddd._0x5a5e01,0x75d)];function _0x27e949(_0x1169cb,_0x46c8bc,_0x3f7697,_0x4b12c9){return _0x53f697(_0x1169cb-0x1be,_0x1169cb-_0x4e8625._0x20230a,_0x3f7697-0x18a,_0x46c8bc);}return locationPath(_0x1de948[_0x27e949(_0x1baddd._0x390885,0x68f,_0x1baddd._0x32712b,_0x1baddd._0x47b02c)])+':'+(_0x28937f[_0x27e949(0x554,0x545,0x475,_0x1baddd._0x2ec8ad)]+0x1)+':'+(_0x28937f[_0x27e949(_0x1baddd._0x387ecf,0x4cd,0x5ab,_0x1baddd._0x2682e5)]+0x1);})[_0x53f697(0x367,0x4d8,_0x3a7d5c._0x1264f7,_0x3a7d5c._0x5a3f4a)]('\x0a');}function isDocumentSymbol(_0x135eb9){const _0x4c69f8={_0x4a0e87:0x482},_0x47f3cd={_0x12484a:0x133,_0x24775a:0x4e},_0x5a3e73={_0x2578e4:0x37c};function _0x1bf519(_0x40bf31,_0x4da122,_0x1683c0,_0xe2a5e0){return _0x12dc71(_0x1683c0,_0x4da122-0xb1,_0x40bf31-_0x5a3e73._0x2578e4,_0xe2a5e0-0xc4);}function _0x1cc651(_0x1a958b,_0x3ead89,_0x3d6011,_0x4d3cce){return _0x8a95cf(_0x3d6011-_0x47f3cd._0x12484a,_0x3ead89,_0x3d6011-0x53,_0x4d3cce-_0x47f3cd._0x24775a);}return _0x1cc651(_0x4c69f8._0x4a0e87,0x26d,0x37c,0x47e)in _0x135eb9&&_0x1bf519(0x5dd,0x41e,0x647,0x608)in _0x135eb9;}function formatSymbols(_0x5ac531){const _0x138e35={_0x12ebd3:0x598,_0x3d0c8e:0x447,_0x51bd49:0x3dc,_0x110f08:0x594,_0x2a094f:0x368,_0x2c5629:0x3f9},_0x531649={_0x5baf15:0x7c6,_0x1dd7fe:0x60a,_0x4bad2b:0x637,_0x25a8c9:0x6e9,_0x4a33bc:0x4f8,_0x3109f:0x48b,_0x516e21:0x3f6,_0x27b192:0x3c5,_0x32828a:0x2ff,_0x47162f:0x24a,_0x2f519b:0x28d,_0x49a5da:0x26b,_0xa95206:0x2a9,_0x43070b:0x517,_0x278312:0x5d6,_0x3c2871:0x5cd,_0xd14c39:0x630,_0x15d8bc:0x2e5,_0x52b1c6:0x410,_0x4fe5e9:0x3c4,_0xac467b:0x49c,_0x548b23:0x2dc},_0x1f6977={_0x31c0f4:0xef},_0x536a10={_0x569872:0x174,_0x1c7589:0x141};function _0xd64390(_0x4976f7,_0x1f2750,_0x52cc72,_0x544e71){return _0x12dc71(_0x1f2750,_0x1f2750-_0x536a10._0x569872,_0x4976f7-_0x536a10._0x1c7589,_0x544e71-0x7f);}function _0x2760ba(_0x319503,_0x62ebc6,_0x1219e9,_0x5105c2){return _0x8a95cf(_0x1219e9-0xcd,_0x5105c2,_0x1219e9-_0x1f6977._0x31c0f4,_0x5105c2-0x88);}if(_0x5ac531[_0xd64390(0x42d,0x399,_0x138e35._0x12ebd3,_0x138e35._0x3d0c8e)]===0x0)return _0xd64390(0x3ba,0x428,0x535,_0x138e35._0x51bd49);return _0x5ac531[_0x2760ba(_0x138e35._0x110f08,0x419,0x403,_0x138e35._0x2a094f)](_0x116ba7=>{const _0x7055a={_0x57c9e9:0x153},_0xa23986={_0x500e2c:0xca,_0x1fdeec:0x2c0};function _0x3234fd(_0x4921fb,_0xb21e44,_0x502451,_0x321a59){return _0x2760ba(_0x4921fb-_0xa23986._0x500e2c,_0xb21e44-0x74,_0xb21e44-_0xa23986._0x1fdeec,_0x502451);}function _0x1a1291(_0x5e15eb,_0x2a55dc,_0x1b253d,_0x131fdd){return _0x2760ba(_0x5e15eb-0x15,_0x2a55dc-_0x7055a._0x57c9e9,_0x131fdd-0x186,_0x1b253d);}if(isDocumentSymbol(_0x116ba7))return _0x116ba7['name']+'\x20('+_0x116ba7[_0x3234fd(_0x531649._0x5baf15,_0x531649._0x1dd7fe,_0x531649._0x4bad2b,0x593)]+_0x1a1291(_0x531649._0x25a8c9,_0x531649._0x4a33bc,_0x531649._0x3109f,0x55e)+(_0x116ba7['range'][_0x1a1291(0x53b,0x297,0x35d,_0x531649._0x516e21)][_0x1a1291(0x2b1,0x153,_0x531649._0x27b192,_0x531649._0x32828a)]+0x1)+':'+(_0x116ba7['range']['start'][_0x1a1291(_0x531649._0x47162f,0x2c0,_0x531649._0x2f519b,0x40a)]+0x1)+']';return _0x116ba7['name']+'\x20('+_0x116ba7[_0x1a1291(0x689,0x305,0x4c3,0x4d0)]+')\x20'+locationPath(_0x116ba7[_0x1a1291(0x427,_0x531649._0x49a5da,_0x531649._0xa95206,0x2f7)]['uri'])+':'+(_0x116ba7[_0x1a1291(0x171,0x2bc,0x16d,0x2f7)][_0x3234fd(_0x531649._0x43070b,_0x531649._0x278312,_0x531649._0x3c2871,_0x531649._0xd14c39)][_0x1a1291(0x517,0x35c,0x27e,_0x531649._0x516e21)][_0x1a1291(0x26e,_0x531649._0x15d8bc,_0x531649._0x52b1c6,_0x531649._0x32828a)]+0x1)+':'+(_0x116ba7['location'][_0x1a1291(0x441,0x4a7,_0x531649._0x4fe5e9,_0x531649._0xac467b)][_0x1a1291(0x319,0x3fa,_0x531649._0x548b23,0x3f6)]['character']+0x1);})[_0xd64390(0x31f,_0x138e35._0x2c5629,0x46e,0x499)]('\x0a');}function formatDiagnostics(_0x57df17){const _0xd5d37={_0x102859:0xa4,_0xfa5f81:0xa4,_0x41de74:0x61,_0x341d05:0x433,_0x4ea498:0x3ec},_0x12a8d0={_0xaffca9:0x610,_0x451c56:0x68e,_0x51f2c8:0x13,_0x47ff7c:0xd5,_0x1a7d30:0x198,_0x57e671:0x754},_0x216487={_0x8a7b97:0xf5,_0x2097cc:0x1a0};if(_0x57df17[_0x17113b(0xf6,0x76,0x6a,0x17b)]===0x0)return _0x17113b(0x63,_0xd5d37._0x102859,_0xd5d37._0xfa5f81,_0xd5d37._0x41de74);function _0x17113b(_0x4ec4b3,_0x4da594,_0x57aa13,_0x47c5e6){return _0x12dc71(_0x47c5e6,_0x4da594-0x1a,_0x4da594- -0x276,_0x47c5e6-0x19b);}function _0x4e01c5(_0x125789,_0x24db14,_0x1618f3,_0x54b51e){return _0x8a95cf(_0x24db14-_0x216487._0x8a7b97,_0x125789,_0x1618f3-_0x216487._0x2097cc,_0x54b51e-0x17e);}return _0x57df17[_0x4e01c5(0x275,0x42b,_0xd5d37._0x341d05,_0xd5d37._0x4ea498)](_0x40431c=>{const _0x12df41={_0x6077a4:0x3f6},_0xa0e98e={_0x5c438b:0xf5,_0x497a7f:0x136};function _0x44363c(_0x53626c,_0x96ef10,_0x34bea5,_0x3ff6ca){return _0x17113b(_0x53626c-_0xa0e98e._0x5c438b,_0x96ef10-_0xa0e98e._0x497a7f,_0x34bea5-0x175,_0x3ff6ca);}const _0x4b7257=_0x40431c['range'][_0x46da5e(0x838,0x56f,_0x12a8d0._0xaffca9,_0x12a8d0._0x451c56)];function _0x46da5e(_0x4b98fc,_0x4ad458,_0x19a1e3,_0x1bb2c1){return _0x4e01c5(_0x19a1e3,_0x1bb2c1-_0x12df41._0x6077a4,_0x19a1e3-0x80,_0x1bb2c1-0x11);}return severityName(_0x40431c[_0x44363c(0x122,-_0x12a8d0._0x51f2c8,_0x12a8d0._0x47ff7c,_0x12a8d0._0x1a7d30)])+'\x20['+(_0x4b7257['line']+0x1)+':'+(_0x4b7257['character']+0x1)+']\x20'+_0x40431c[_0x46da5e(_0x12a8d0._0x57e671,0x4a5,0x6c1,0x5c8)];})[_0x4e01c5(0x177,0x28c,0x20a,0x449)]('\x0a');}function formatIncomingCalls(_0x46e241){const _0x166d04={_0x1b5df5:0x4a8,_0x475d46:0x550,_0x369c9d:0x626,_0x5bd2b8:0x5a0,_0x491f3c:0x750,_0x45bc9e:0x624},_0x116927={_0x2f0fd4:0x3d3},_0x118b2e={_0x1ce687:0xb2,_0x60528:0xdb};function _0xa6ddd3(_0x53a672,_0x35a501,_0x4b9420,_0x516db9){return _0x12dc71(_0x4b9420,_0x35a501-_0x118b2e._0x1ce687,_0x35a501-0x264,_0x516db9-_0x118b2e._0x60528);}function _0x47af3b(_0x10df51,_0x4237df,_0x57e796,_0x2b2664){return _0x12dc71(_0x57e796,_0x4237df-0xc0,_0x4237df-_0x116927._0x2f0fd4,_0x2b2664-0x87);}if(_0x46e241[_0xa6ddd3(_0x166d04._0x1b5df5,_0x166d04._0x475d46,0x415,0x6d9)]===0x0)return _0xa6ddd3(_0x166d04._0x369c9d,_0x166d04._0x5bd2b8,0x5e9,0x509);return _0x46e241[_0x47af3b(0x7ae,_0x166d04._0x491f3c,0x6ba,_0x166d04._0x45bc9e)](_0x1c190a=>_0x1c190a[_0x47af3b(0x785,0x77e,0x91f,0x6f1)][_0x47af3b(0x430,0x5cc,0x6c6,0x431)])['join']('\x0a');}function formatOutgoingCalls(_0x295e06){const _0x5e2fa6={_0x52175c:0x5bd,_0x255ab8:0x5f4,_0x30f70a:0x52a,_0x4646e5:0x44f,_0x4ab8ad:0x17d,_0x12aec4:0x1eb,_0x1524f4:0x49d},_0x3e9479={_0x54429c:0x4,_0x122b82:0x136},_0x23ea20={_0x4f9ba0:0x1dc};if(_0x295e06[_0x362eff(_0x5e2fa6._0x52175c,_0x5e2fa6._0x255ab8,_0x5e2fa6._0x30f70a,0x6c5)]===0x0)return _0x25c0c1(_0x5e2fa6._0x4646e5,_0x5e2fa6._0x4ab8ad,0x2f1,_0x5e2fa6._0x12aec4);function _0x362eff(_0x304fb0,_0x350105,_0xaa53c6,_0xcb8453){return _0x12dc71(_0xcb8453,_0x350105-0x1dd,_0x304fb0-0x2d1,_0xcb8453-_0x23ea20._0x4f9ba0);}function _0x25c0c1(_0x4cd4cc,_0x2a621c,_0x23f7a1,_0x1e58e8){return _0x8a95cf(_0x23f7a1- -_0x3e9479._0x54429c,_0x2a621c,_0x23f7a1-_0x3e9479._0x122b82,_0x1e58e8-0xdc);}return _0x295e06[_0x362eff(0x64e,0x5a0,_0x5e2fa6._0x1524f4,0x4ed)](_0x26e540=>_0x26e540['to']['name'])['join']('\x0a');}function toStructured(_0x41d6df){const _0x1c0a6a={_0x41dab7:0x110,_0x2bbe99:0x132,_0x4928d7:0x193};function _0x153f38(_0x4654d8,_0x556f4e,_0x249ced,_0x594cd6){return _0x8a95cf(_0x4654d8- -_0x1c0a6a._0x41dab7,_0x556f4e,_0x249ced-_0x1c0a6a._0x2bbe99,_0x594cd6-_0x1c0a6a._0x4928d7);}return JSON['parse'](JSON[_0x153f38(-0x66,0x158,0x10f,0x2)](_0x41d6df));}async function assertFile(_0x5b170c){const _0x5094e9={_0x365f0f:0x179},_0xecf43e={_0x391159:0x13b,_0x13c183:0x3c,_0x457124:0x11a};function _0x343caf(_0x3c5ca2,_0x57ea3b,_0x11eafb,_0x4ffcf1){return _0x8a95cf(_0x3c5ca2- -_0xecf43e._0x391159,_0x11eafb,_0x11eafb-_0xecf43e._0x13c183,_0x4ffcf1-_0xecf43e._0x457124);}const _0xed9b4=await _0x1e7d9b(_0x5b170c);if(!_0xed9b4['isFile']())throw new ToolExecutionError(_0x343caf(0x188,-0x33,0x216,_0x5094e9._0x365f0f)+_0x5b170c,{'path':_0x5b170c});}function validatePosition(_0x3c59cb,_0x247e26){const _0x471846={_0x2dce24:0x2f3,_0x3af1c0:0x1d6,_0x4ba5ae:0x162,_0x2f9619:0x43f},_0x244ada={_0x1b67e1:0x85,_0x1cdc35:0x123};function _0x162422(_0x5a32ba,_0x12c42e,_0x10aa95,_0x307d9b){return _0x8a95cf(_0x10aa95- -0x19e,_0x12c42e,_0x10aa95-0x67,_0x307d9b-0x138);}function _0x5b1d67(_0x594d52,_0x25361b,_0x4916ee,_0x498528){return _0x12dc71(_0x498528,_0x25361b-_0x244ada._0x1b67e1,_0x594d52- -0x6c,_0x498528-_0x244ada._0x1cdc35);}if(!Number[_0x5b1d67(_0x471846._0x2dce24,0x233,0x2f9,0x4ba)](_0x3c59cb)||_0x3c59cb<0x1)throw new ToolExecutionError(_0x5b1d67(0xa0,0x17d,_0x471846._0x3af1c0,_0x471846._0x4ba5ae),{'line':_0x3c59cb});if(!Number[_0x5b1d67(0x2f3,0x3bb,_0x471846._0x2f9619,0x392)](_0x247e26)||_0x247e26<0x1)throw new ToolExecutionError('character\x20must\x20be\x20a\x20positive\x20integer',{'character':_0x247e26});}function createLspTool(_0x400e32={}){const _0xc26ce9={_0x4b1d03:0x174,_0x20d137:0x162,_0x39fb55:0x11d,_0xc8ff01:0x2e,_0x5a2f83:0x123,_0x5bf493:0x201,_0x5d3d53:0xbe,_0xfc090e:0x5b3,_0x11b787:0x726,_0x22a9ed:0x76a,_0x1ae63c:0x6ba,_0x264110:0x593,_0x2b5eb7:0x6b0,_0x483025:0x744,_0x131d10:0x67e,_0x4c2e80:0x429,_0x91b26a:0x57f,_0x290451:0x1a7,_0x3ae977:0xea,_0x10798c:0x491,_0x560646:0x6e9,_0x5474c:0x536,_0x57477e:0x89,_0x2d2250:0x109,_0x5e2a04:0x2a9,_0x5c46b5:0x178,_0x7df6b8:0x8d,_0x3ead97:0x5e,_0x5d8544:0x2d,_0x40c968:0x1e5,_0x53540b:0xcf,_0x4475d9:0x71c,_0x3f554e:0x652,_0x263f6e:0x12,_0x621cb6:0xb0,_0x5d6f32:0xee,_0x1c9eeb:0x641,_0x258672:0x7b1,_0x42ae1a:0x10c,_0x51ab8d:0xd6,_0x366c02:0xca},_0x19002a={_0xe51632:0x5,_0x507401:0x6d5,_0x408b12:0x79e,_0x56352f:0xb1,_0x3ff1d4:0x755,_0x549099:0x26e,_0x4eb8b3:0x25,_0x357785:0x84,_0x7c846e:0x6da,_0x4caef6:0x710,_0x2940c8:0x89a,_0x31ce58:0xcb,_0xab2656:0xf3,_0x34e226:0x71a,_0x5234f5:0x80d,_0x465cb6:0x7b1,_0x5a6f21:0x2e1,_0x566344:0x1e2,_0x5d6403:0x2bd,_0x14d4b1:0x218,_0x4a313c:0x207,_0x5a36fb:0x468,_0x2ddb64:0x4d8,_0x40a501:0x5c0,_0x5e16d5:0x548,_0x206c19:0xc4,_0x420f84:0x657,_0x52070f:0x3da,_0x2b109e:0x544,_0x12ace5:0x61d,_0x25c23c:0x7b5,_0x49a57d:0x183,_0x558562:0x99,_0x52cc9b:0x321,_0x125533:0x256,_0x1a7997:0x612,_0x423a60:0x4ab,_0x2f2fe5:0x6bb,_0x32149d:0x53e,_0x4e67d3:0x1ff,_0x4d9ba5:0x84f,_0x5a3eda:0x814,_0x5c7c86:0x5de,_0x5d81bd:0x5f2,_0x4449b3:0x508,_0x41a772:0x31d,_0xca691f:0x256,_0x31b999:0x26a,_0x343a2a:0x367,_0x463293:0xa4,_0x343023:0x21c,_0x25af99:0x19d,_0x102029:0x6f6,_0x1e5368:0x163,_0x151013:0x729,_0x549662:0x6e7,_0x46eb74:0x624,_0x2e09e8:0x1f4,_0x2dedb0:0x9cf,_0x1fc80d:0x8e4,_0x2d8ed2:0x5ed,_0xe3110d:0x6b1,_0x14c928:0x727,_0x39eb79:0x78f,_0x304124:0x717,_0x3fa733:0x8b5,_0x499865:0x50,_0x4a6c34:0x2b0,_0xe45528:0xf3,_0x2fb20e:0x341},_0x324df1={_0x19e88c:0x1b,_0x29545a:0x43},_0x345467={_0x5ca321:0x127},_0x291a74={_0x182cb1:0x3ba,_0x1ab96e:0xf8},_0x21f064={_0x5e4bc4:0x194,_0x221591:0x1f3},_0x374b6d=_0x2df3c4[_0xc175a5(0x2d,-_0xc26ce9._0x4b1d03,-_0xc26ce9._0x20d137,-_0xc26ce9._0x39fb55)](_0x400e32[_0xc175a5(_0xc26ce9._0xc8ff01,_0xc26ce9._0x5a2f83,_0xc26ce9._0x5bf493,_0xc26ce9._0x5d3d53)]??process['cwd']()),_0x4c4f54=_0x400e32['allowedDirs']??[];function _0xc175a5(_0xb65d13,_0x4aedfd,_0x2cf1da,_0x24b2d9){return _0x8a95cf(_0x4aedfd- -0x20d,_0x24b2d9,_0x2cf1da-_0x21f064._0x5e4bc4,_0x24b2d9-_0x21f064._0x221591);}const _0xd5da64=_0x400e32[_0x5b55a7(0x5c3,_0xc26ce9._0xfc090e,0x5be,0x6db)]??_0x5b55a7(_0xc26ce9._0x11b787,_0xc26ce9._0x22a9ed,_0xc26ce9._0x1ae63c,0x7a8);function _0x5b55a7(_0x388cf8,_0x51131e,_0x513d4c,_0x289b2d){return _0x12dc71(_0x289b2d,_0x51131e-0x93,_0x51131e-_0x291a74._0x182cb1,_0x289b2d-_0x291a74._0x1ab96e);}return defineTool({'name':_0xd5da64,'permissionClass':_0x5b55a7(0x51d,0x42b,_0xc26ce9._0x264110,0x4d3),'description':_0x5b55a7(0x407,0x464,0x3af,0x528),'inputSchema':{'type':_0x5b55a7(_0xc26ce9._0x2b5eb7,_0xc26ce9._0x483025,_0xc26ce9._0x131d10,0x739),'properties':{'operation':{'type':_0x5b55a7(0x4c2,_0xc26ce9._0x4c2e80,0x5da,_0xc26ce9._0x91b26a),'enum':['goToDefinition',_0xc175a5(_0xc26ce9._0x290451,_0xc26ce9._0x3ae977,0x164,0x25),_0x5b55a7(_0xc26ce9._0x10798c,0x650,_0xc26ce9._0x560646,_0xc26ce9._0x5474c),'documentSymbol',_0xc175a5(-_0xc26ce9._0x57477e,-_0xc26ce9._0x2d2250,-_0xc26ce9._0x5e2a04,-0x276),'goToImplementation',_0xc175a5(0x156,_0xc26ce9._0x5c46b5,0x210,0x1c3),_0xc175a5(-_0xc26ce9._0x7df6b8,0xef,-_0xc26ce9._0x3ead97,0x97),'outgoingCalls','diagnostics']},'filePath':{'type':_0xc175a5(-_0xc26ce9._0x5d8544,-_0xc26ce9._0x40c968,-0x68,-_0xc26ce9._0x53540b)},'line':{'type':_0x5b55a7(_0xc26ce9._0x4475d9,_0xc26ce9._0x3f554e,0x4f4,0x7bb)},'character':{'type':_0xc175a5(-_0xc26ce9._0x263f6e,0x44,0xf,0x139)},'query':{'type':_0x5b55a7(0x347,0x429,0x48e,0x3f9)}},'required':[_0xc175a5(0x149,_0xc26ce9._0x621cb6,-0xbb,-_0xc26ce9._0x5d6f32),_0x5b55a7(0x80e,_0xc26ce9._0x1c9eeb,_0xc26ce9._0x258672,0x7fe),_0xc175a5(-0x27d,-0x161,-0x2b4,-_0xc26ce9._0x42ae1a),_0xc175a5(0x120,-0x56,_0xc26ce9._0x51ab8d,-_0xc26ce9._0x366c02)]},async *'execute'(_0x298c2d,_0x58b54f){function _0x155178(_0x570f7f,_0x26390c,_0x4cdb14,_0x3f1fc4){return _0x5b55a7(_0x570f7f-0x75,_0x4cdb14-0x97,_0x4cdb14-_0x345467._0x5ca321,_0x570f7f);}const _0x5715d7=_0x400e32[_0x1c4803(-0xd,0xee,0x167,_0x19002a._0xe51632)];if(!_0x5715d7)throw new ToolExecutionError('LSP\x20service\x20is\x20not\x20available');function _0x1c4803(_0x33b8ca,_0x11839e,_0x18fab0,_0x178011){return _0x5b55a7(_0x33b8ca-_0x324df1._0x19e88c,_0x18fab0- -0x43a,_0x18fab0-_0x324df1._0x29545a,_0x178011);}if(!_0x5715d7[_0x155178(_0x19002a._0x507401,_0x19002a._0x408b12,0x6fe,0x5b5)]())throw new ToolExecutionError(_0x1c4803(_0x19002a._0x56352f,0xdf,0x3d,-0xa8));const _0x26a9e9=_0x298c2d[_0x155178(0x5f4,0x8f2,_0x19002a._0x3ff1d4,0x73a)];validatePosition(_0x298c2d['line'],_0x298c2d[_0x1c4803(_0x19002a._0x549099,_0x19002a._0x4eb8b3,0x17e,0x2dc)]);if(_0x26a9e9===_0x1c4803(0x28,-_0x19002a._0x357785,0xcb,0x7c)){if(!_0x298c2d['query']?.[_0x155178(_0x19002a._0x7c846e,0x757,_0x19002a._0x4caef6,_0x19002a._0x2940c8)]())throw new ToolExecutionError('workspaceSymbol\x20requires\x20a\x20non-empty\x20query');const _0x289abb=await awaitWithAbort(_0x5715d7[_0x1c4803(-0x4c,0x20,_0x19002a._0x31ce58,-_0x19002a._0xab2656)](_0x298c2d[_0x155178(_0x19002a._0x34e226,0x5e4,0x78e,_0x19002a._0x5234f5)]['trim']()),_0x58b54f[_0x155178(0x6c1,0x8a1,0x727,_0x19002a._0x465cb6)]);return yield createToolOutput(formatSymbols(_0x289abb),{'operation':_0x26a9e9,'query':_0x298c2d[_0x1c4803(_0x19002a._0x5a6f21,_0x19002a._0x566344,_0x19002a._0x5d6403,0x281)],'symbols':_0x289abb}),void 0x0;}const _0x1fd4a2=resolveAllowedPath(_0x374b6d,_0x4c4f54,_0x298c2d[_0x1c4803(_0x19002a._0x14d4b1,0xe5,_0x19002a._0x4a313c,0x1ad)]);await assertFile(_0x1fd4a2);if(!await awaitWithAbort(_0x5715d7[_0x155178(_0x19002a._0x5a36fb,0x314,_0x19002a._0x2ddb64,0x437)](_0x1fd4a2),_0x58b54f[_0x155178(_0x19002a._0x40a501,0x813,0x727,0x613)]))throw new ToolExecutionError(_0x155178(0x606,0x664,0x58e,_0x19002a._0x5e16d5)+_0x298c2d['filePath'],{'filePath':_0x298c2d[_0x1c4803(0x2ab,0x17e,0x207,_0x19002a._0x206c19)]});await awaitWithAbort(_0x5715d7['touchFile'](_0x1fd4a2,!![]),_0x58b54f[_0x155178(0x669,_0x19002a._0x420f84,0x727,0x8cd)]);const _0x3db2bf={'file':_0x1fd4a2,'line':_0x298c2d[_0x155178(_0x19002a._0x52070f,0x3bc,_0x19002a._0x2b109e,0x656)]-0x1,'character':_0x298c2d[_0x155178(0x5e7,_0x19002a._0x12ace5,0x64f,_0x19002a._0x25c23c)]-0x1};switch(_0x26a9e9){case _0x1c4803(0xf0,0x195,0x216,_0x19002a._0x49a57d):{const _0x43b305=await awaitWithAbort(_0x5715d7['hover'](_0x3db2bf),_0x58b54f[_0x1c4803(_0x19002a._0x558562,_0x19002a._0x52cc9b,_0x19002a._0x125533,0x3c0)]);return yield createToolOutput(formatHover(_0x43b305),{'operation':_0x26a9e9,'filePath':_0x1fd4a2,'hover':_0x43b305}),void 0x0;}case _0x155178(_0x19002a._0x1a7997,0x48b,_0x19002a._0x423a60,0x5ef):{const _0x4ead16=await awaitWithAbort(_0x5715d7[_0x155178(_0x19002a._0x2f2fe5,_0x19002a._0x32149d,0x5c7,0x4f6)](_0x1fd4a2),_0x58b54f[_0x1c4803(0x2b3,_0x19002a._0x4e67d3,_0x19002a._0x125533,0xa0)]);return yield createToolOutput(formatDiagnostics(_0x4ead16),{'operation':_0x26a9e9,'filePath':_0x1fd4a2,'diagnostics':_0x4ead16}),void 0x0;}case'goToDefinition':{const _0x6627b1=await awaitWithAbort(_0x5715d7['definition'](_0x3db2bf),_0x58b54f[_0x155178(_0x19002a._0x4d9ba5,_0x19002a._0x5a3eda,0x727,_0x19002a._0x5c7c86)]);return yield createToolOutput(formatLocations(_0x6627b1),{'operation':_0x26a9e9,'filePath':_0x1fd4a2,'locations':_0x6627b1}),void 0x0;}case'findReferences':{const _0x43c79d=await awaitWithAbort(_0x5715d7[_0x155178(0x7b2,0x79e,_0x19002a._0x5d81bd,_0x19002a._0x4449b3)](_0x3db2bf),_0x58b54f[_0x1c4803(0x19c,_0x19002a._0x41a772,_0x19002a._0xca691f,_0x19002a._0x31b999)]);return yield createToolOutput(formatLocations(_0x43c79d),{'operation':_0x26a9e9,'filePath':_0x1fd4a2,'locations':_0x43c79d}),void 0x0;}case _0x1c4803(_0x19002a._0x343a2a,_0x19002a._0x463293,_0x19002a._0x343023,_0x19002a._0x25af99):{const _0x113495=await awaitWithAbort(_0x5715d7[_0x155178(_0x19002a._0x102029,0x6a7,0x6b6,0x7b2)](_0x3db2bf),_0x58b54f[_0x1c4803(0x1be,0x309,_0x19002a._0x125533,0x30f)]);return yield createToolOutput(formatLocations(_0x113495),{'operation':_0x26a9e9,'filePath':_0x1fd4a2,'locations':_0x113495}),void 0x0;}case _0x1c4803(0x186,_0x19002a._0x1e5368,0x153,0x6a):{const _0x4a37d7=await awaitWithAbort(_0x5715d7[_0x155178(_0x19002a._0x151013,_0x19002a._0x549662,_0x19002a._0x46eb74,0x6c4)](_0x1fd4a2),_0x58b54f['signal']);return yield createToolOutput(formatSymbols(_0x4a37d7),{'operation':_0x26a9e9,'filePath':_0x1fd4a2,'symbols':_0x4a37d7}),void 0x0;}case _0x1c4803(_0x19002a._0x2e09e8,0x26c,0x34c,0x3a5):{const _0x17520c=await awaitWithAbort(_0x5715d7[_0x155178(_0x19002a._0x2dedb0,_0x19002a._0x1fc80d,0x81d,0x74d)](_0x3db2bf),_0x58b54f[_0x155178(_0x19002a._0x2d8ed2,_0x19002a._0xe3110d,_0x19002a._0x14c928,_0x19002a._0x39eb79)]);return yield createToolOutput(formatSymbols(_0x17520c),{'operation':_0x26a9e9,'filePath':_0x1fd4a2,'symbols':toStructured(_0x17520c)}),void 0x0;}case'incomingCalls':{const _0x590c29=await awaitWithAbort(_0x5715d7[_0x155178(0x7e0,_0x19002a._0x304124,0x794,_0x19002a._0x3fa733)](_0x3db2bf),_0x58b54f[_0x1c4803(0x360,0x29f,_0x19002a._0xca691f,0x117)]);return yield createToolOutput(formatIncomingCalls(_0x590c29),{'operation':_0x26a9e9,'filePath':_0x1fd4a2,'calls':toStructured(_0x590c29)}),void 0x0;}case _0x1c4803(_0x19002a._0x499865,_0x19002a._0x4a6c34,_0x19002a._0xe45528,-0x9e):{const _0x2a94b3=await awaitWithAbort(_0x5715d7['outgoingCalls'](_0x3db2bf),_0x58b54f[_0x1c4803(_0x19002a._0x2fb20e,0xf0,0x256,0x298)]);return yield createToolOutput(formatOutgoingCalls(_0x2a94b3),{'operation':_0x26a9e9,'filePath':_0x1fd4a2,'calls':toStructured(_0x2a94b3)}),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 _0x30f7fe}from'crypto';import{mkdir as _0x4b6349,readFile as _0x1e126b,writeFile as _0x1aaf63}from'fs/promises';import{join as _0x223f2c}from'path';function sanitizeStorageKey(_0x672333){const _0x119747={_0x334728:0x1a5,_0xbefc80:0x1f5,_0x19a2ce:0x252},_0x3f178f={_0x31fed7:0x10a,_0x2ddb18:0x1bb},_0x2220d6={_0x4a4129:0x1be,_0x3d7f9d:0xac};function _0x1c2afc(_0x3f7959,_0x15e2ee,_0x45a07f,_0x5c033a){return _0x12dc71(_0x45a07f,_0x15e2ee-_0x2220d6._0x4a4129,_0x3f7959-0x10f,_0x5c033a-_0x2220d6._0x3d7f9d);}function _0x51b11c(_0x1650d4,_0x57613e,_0x308176,_0x48499b){return _0x12dc71(_0x57613e,_0x57613e-_0x3f178f._0x31fed7,_0x48499b-0x28,_0x48499b-_0x3f178f._0x2ddb18);}return _0x672333[_0x51b11c(0x3e,0x25b,-0x8,0xbe)](/[^a-zA-Z0-9_]+/g,'_')[_0x1c2afc(_0x119747._0x334728,0xb3,0x1f7,0x0)](/^_+|_+$/g,'')||_0x1c2afc(_0x119747._0xbefc80,_0x119747._0x19a2ce,0x2f5,0x129);}function storagePath(_0x269205){const _0x10fcfb={_0xe2861a:0xc,_0x26d337:0x107,_0x286243:0xda,_0x52c1d7:0xc7,_0x2e455a:0x26f,_0x5465da:0xc0,_0x23723f:0x182,_0x45de93:0x1b3,_0x30ad21:0x1c9,_0x154d72:0xe2,_0x47c68f:0x19d,_0x293b29:0x5c},_0x31bfbc={_0x52e18c:0x7d},_0x1a1ba5={_0x211ced:0x1c5,_0x1b3c9c:0x149};function _0x2b7534(_0x666495,_0x50813,_0x1041b8,_0xf2ebce){return _0x12dc71(_0x666495,_0x50813-_0x1a1ba5._0x211ced,_0x50813- -0x1e3,_0xf2ebce-_0x1a1ba5._0x1b3c9c);}function _0xfe4f99(_0x37cb40,_0x2cd47f,_0x403d9a,_0x45581c){return _0x8a95cf(_0x2cd47f- -0x23a,_0x403d9a,_0x403d9a-0x1c5,_0x45581c-_0x31bfbc._0x52e18c);}const _0x2a09aa=sanitizeStorageKey(_0x269205[_0xfe4f99(-_0x10fcfb._0xe2861a,-0xb0,_0x10fcfb._0x26d337,_0x10fcfb._0x286243)][_0x2b7534(0x291,0xcf,-_0x10fcfb._0x52c1d7,0x106)]?.[_0x2b7534(-_0x10fcfb._0x2e455a,-0x1a0,-0x159,-_0x10fcfb._0x5465da)]??_0x269205[_0x2b7534(-0x147,-0x71,-_0x10fcfb._0x23723f,-_0x10fcfb._0x45de93)]);return _0x223f2c(_0x269205[_0x2b7534(_0x10fcfb._0x30ad21,_0x10fcfb._0x154d72,_0x10fcfb._0x47c68f,_0x10fcfb._0x293b29)],_0x2a09aa+'.json');}async function readStore(_0x4c727b){const _0x3cde97={_0x4cdb17:0xfc,_0x4822d4:0x124,_0x42dc3e:0x4a,_0x3206e0:0x225,_0x4bfcc6:0x478,_0x4547d8:0x1a4,_0x522405:0x174,_0x3443c0:0x1d5,_0x420876:0x1b0,_0x300a3a:0x241,_0x329434:0xcb,_0x1ea8dc:0x80},_0x223193={_0x3fd85e:0x193};function _0x420c18(_0x525687,_0x377fdb,_0x3f1a54,_0x52a496){return _0x8a95cf(_0x52a496- -0xb,_0x3f1a54,_0x3f1a54-0x12,_0x52a496-0x18b);}function _0x108e38(_0x2024a2,_0x210c6d,_0x1bacee,_0x4dfd45){return _0x12dc71(_0x1bacee,_0x210c6d-_0x223193._0x3fd85e,_0x4dfd45- -0xca,_0x4dfd45-0x12e);}try{return JSON[_0x108e38(_0x3cde97._0x4cdb17,-0x4a,_0x3cde97._0x4822d4,-_0x3cde97._0x42dc3e)](await _0x1e126b(_0x4c727b,_0x108e38(0x141,_0x3cde97._0x3206e0,_0x3cde97._0x4bfcc6,0x2fd)));}catch(_0x119283){if(_0x119283 instanceof Error&&_0x108e38(_0x3cde97._0x4547d8,-_0x3cde97._0x522405,_0x3cde97._0x3443c0,0x8)in _0x119283&&_0x119283[_0x420c18(_0x3cde97._0x420876,_0x3cde97._0x300a3a,_0x3cde97._0x329434,_0x3cde97._0x1ea8dc)]==='ENOENT')return{};throw _0x119283;}}async function writeStore(_0x53b105,_0x46f5dc){const _0x5eb35b={_0x58f856:0x4e2,_0x398cbc:0x26e,_0x5d3085:0x5a9},_0x50e65c={_0x99aec0:0xb7},_0x3f419b={_0x1ab7ea:0x152,_0x147cfd:0xfa};function _0x39e99a(_0x1d3ee9,_0x3db286,_0x36acd4,_0x363fa9){return _0x12dc71(_0x3db286,_0x3db286-_0x3f419b._0x1ab7ea,_0x36acd4-0xf3,_0x363fa9-_0x3f419b._0x147cfd);}await _0x4b6349(_0x223f2c(_0x53b105,'..'),{'recursive':!![]});function _0x45640f(_0x54c553,_0x19370f,_0x1aeac9,_0x212b12){return _0x12dc71(_0x1aeac9,_0x19370f-0x101,_0x54c553-0x29f,_0x212b12-_0x50e65c._0x99aec0);}await _0x1aaf63(_0x53b105,JSON[_0x45640f(0x390,0x229,_0x5eb35b._0x58f856,_0x5eb35b._0x398cbc)](_0x46f5dc,null,0x2),_0x39e99a(_0x5eb35b._0x5d3085,0x5c5,0x4ba,0x445));}async function updateStore(_0x2275c6,_0xac63cc){const _0x22672b=await readStore(_0x2275c6);_0xac63cc(_0x22672b),await writeStore(_0x2275c6,_0x22672b);}function createMcpOAuthProvider(_0x347dfa){const _0x689062={_0x2288d3:0x5f7,_0x55ef69:0x20e,_0x4fdd44:0x29e,_0x2b719f:0x2e7,_0x845838:0x2fa,_0x5fbb72:0x7c7,_0x43a4b1:0x6f,_0xc695eb:0x108,_0x17f517:0x1a0,_0x592a10:0x1b4,_0x35f90a:0x253,_0x4c4ed8:0x63d,_0x57e433:0x30e,_0xa38e0f:0x2fa,_0x442bc1:0x618,_0xce8abe:0x33f,_0x32301b:0x55e,_0x2ddee1:0x518,_0x22a0e7:0x587,_0x344ca9:0x55b,_0x1495ff:0x584,_0xec9608:0x2a2},_0x4bf957={_0x192aa9:0x7b,_0x3fa99f:0xa0},_0x1d44f2={_0x403cbb:0xb1,_0x201f90:0x531},_0x55c7fc={_0x48b873:0x3ca,_0x364217:0x262,_0x4ac026:0x541,_0x13c1ab:0x5ae,_0x53592c:0x1be,_0x8611a7:0x561,_0x464344:0x481,_0x517d49:0x3d3,_0x438449:0x383,_0x515005:0x378,_0x5e4b99:0x3ef,_0x11d218:0x3cd,_0x2f820d:0x411,_0x1cff20:0x296,_0x3df586:0x4df,_0x357fb9:0x4cc,_0x1d9df3:0x63c,_0x20c327:0x612},_0x54b653={_0xde59dc:0x16c,_0x26bde1:0x1c5},_0x1fa786={_0x321fb4:0x311,_0x5dd8cd:0x1a8},_0x18a44d={_0x5d1602:0x1e1,_0x25f2d5:0xd6,_0xc7a7af:0xad},_0x4a9f43={_0x4ac2ab:0x437,_0x4a46b9:0x2d5},_0x1224ba={_0x267094:0x2f,_0x5daa34:0xd7},_0x7e5506={_0x19e286:0xb2,_0x13ead3:0xbc,_0x348287:0x60,_0x156ac0:0xa4},_0x17e3d2={_0x1043c3:0x51b,_0x505854:0x5c1,_0x77ca87:0x391,_0x579a06:0x41a},_0xf9b3ff={_0x8caae2:0x3a9},_0x50d106={_0x12d60b:0x4f4,_0x2fd386:0x427,_0x290dcf:0x34e},_0x62bbc5={_0xf2baf7:0x5f,_0x2cb9bc:0x16c,_0x4929f3:0x135},_0x490ab1={_0x398623:0x2a9,_0x401ea0:0x49},_0x4da848={_0x54f255:0x7c},_0x386c69=storagePath(_0x347dfa),_0x211627=_0x347dfa[_0x313936(0x5d8,_0x689062._0x2288d3,0x2e9,0x47a)][_0x141311(_0x689062._0x55ef69,_0x689062._0x4fdd44,_0x689062._0x2b719f,_0x689062._0x845838)]?.[_0x313936(0x6fc,_0x689062._0x5fbb72,0x5a0,0x61e)]?.[_0x141311(0x1f2,_0x689062._0x43a4b1,0x213,0x24d)]('\x20');function _0x141311(_0x567718,_0x3b8783,_0x4b2201,_0x333897){return _0x8a95cf(_0x4b2201-_0x4da848._0x54f255,_0x3b8783,_0x4b2201-0xad,_0x333897-0x108);}const _0xd0bb49={'client_name':'Nuvin','redirect_uris':[_0x347dfa[_0x141311(-0x75,-_0x689062._0xc695eb,0x7e,0x27)]],'grant_types':[_0x141311(_0x689062._0x17f517,0x327,_0x689062._0x592a10,_0x689062._0x35f90a),_0x313936(0x77b,0x4dd,0x782,_0x689062._0x4c4ed8)],'response_types':[_0x313936(0x482,0x4f3,0x230,0x37b)],'token_endpoint_auth_method':_0x141311(_0x689062._0x57e433,0x3cf,0x2be,_0x689062._0xa38e0f),..._0x211627?{'scope':_0x211627}:{}};function _0x313936(_0x5b91b3,_0x4fabce,_0x330b62,_0x5db066){return _0x12dc71(_0x330b62,_0x4fabce-0x1d9,_0x5db066-_0x490ab1._0x398623,_0x5db066-_0x490ab1._0x401ea0);}return{'clientMetadataUrl':_0x347dfa[_0x313936(0x614,_0x689062._0x442bc1,_0x689062._0xce8abe,0x47a)][_0x313936(_0x689062._0x32301b,_0x689062._0x2ddee1,_0x689062._0x22a0e7,_0x689062._0x344ca9)]?.[_0x313936(_0x689062._0x1495ff,0x316,_0x689062._0xec9608,0x43c)],get 'redirectUrl'(){function _0x27e0cc(_0x3b40c2,_0x2d4eec,_0x1e6b40,_0xd1706e){return _0x313936(_0x3b40c2-_0x62bbc5._0xf2baf7,_0x2d4eec-_0x62bbc5._0x2cb9bc,_0xd1706e,_0x1e6b40-_0x62bbc5._0x4929f3);}return _0x347dfa[_0x27e0cc(_0x50d106._0x12d60b,0x478,_0x50d106._0x2fd386,_0x50d106._0x290dcf)];},get 'clientMetadata'(){return _0xd0bb49;},async 'state'(){const _0x277c06={_0x2b7e35:0xe5,_0x38c2f0:0x64},_0x26f2dd={_0x41f6ea:0x181,_0x341291:0xb9,_0x4cfd59:0x236},_0x14294f={_0x5c8db8:0x12a,_0x573daa:0x1ad},_0x5ad263=await readStore(_0x386c69);if(_0x5ad263[_0xf59c5c(0x573,_0x17e3d2._0x1043c3,_0x17e3d2._0x505854,0x600)])return _0x5ad263[_0x37b11b(_0x17e3d2._0x77ca87,_0x17e3d2._0x579a06,0x158,0x31b)];const _0x235468=_0x30f7fe();function _0x37b11b(_0x402752,_0x337495,_0x1c3e6d,_0x3eec27){return _0x141311(_0x402752-_0x14294f._0x5c8db8,_0x337495,_0x3eec27-0x151,_0x3eec27-_0x14294f._0x573daa);}await updateStore(_0x386c69,_0x1474ea=>{function _0x2a63a8(_0x7ed53b,_0x3c5993,_0x54b963,_0x5a555d){return _0x37b11b(_0x7ed53b-_0x26f2dd._0x41f6ea,_0x5a555d,_0x54b963-_0x26f2dd._0x341291,_0x7ed53b- -_0x26f2dd._0x4cfd59);}_0x1474ea[_0x2a63a8(_0x277c06._0x2b7e35,0x90,-_0x277c06._0x38c2f0,-0xb0)]=_0x235468;});function _0xf59c5c(_0x4f958f,_0xe569cd,_0x361f72,_0x269a00){return _0x141311(_0x4f958f-0x8d,_0x361f72,_0x4f958f-_0xf9b3ff._0x8caae2,_0x269a00-0xbd);}return _0x235468;},async 'clientInformation'(){const _0x49e368={_0x4c0264:0x1cd,_0xe18a39:0x1a7};function _0x5b81d1(_0x2283a8,_0x49ee4c,_0x246c54,_0x4ebaee){return _0x141311(_0x2283a8-_0x49e368._0x4c0264,_0x2283a8,_0x4ebaee- -0x154,_0x4ebaee-_0x49e368._0xe18a39);}return(await readStore(_0x386c69))[_0x5b81d1(-_0x7e5506._0x19e286,-_0x7e5506._0x13ead3,-_0x7e5506._0x348287,-_0x7e5506._0x156ac0)];},async 'saveClientInformation'(_0x511007){const _0x6fb4d5={_0x151abb:0x2a3,_0x26f763:0x1a0,_0xc659b5:0x37c,_0x128ba8:0x374},_0x12f876={_0x4860b0:0x122};await updateStore(_0x386c69,_0x2b06ae=>{function _0x154f8f(_0x51883e,_0x4e8083,_0x1ec663,_0x3e22c3){return _0x2a64(_0x51883e-_0x12f876._0x4860b0,_0x3e22c3);}_0x2b06ae[_0x154f8f(_0x6fb4d5._0x151abb,_0x6fb4d5._0x26f763,_0x6fb4d5._0xc659b5,_0x6fb4d5._0x128ba8)]=_0x511007;});},async 'tokens'(){return(await readStore(_0x386c69))['tokens'];},async 'saveTokens'(_0x3a5a42){await updateStore(_0x386c69,_0x2cea4e=>{_0x2cea4e['tokens']=_0x3a5a42;});},async 'redirectToAuthorization'(_0xbc819){function _0x4a8d7f(_0x33a286,_0xccd22d,_0xb21d99,_0x2cee39){return _0x313936(_0x33a286-_0x1224ba._0x267094,_0xccd22d-_0x1224ba._0x5daa34,_0x2cee39,_0x33a286-0xc4);}await _0x347dfa[_0x4a8d7f(_0x4a9f43._0x4ac2ab,_0x4a9f43._0x4a46b9,0x54d,0x55a)](_0xbc819);},async 'saveCodeVerifier'(_0x452839){const _0x249a21={_0x5a6326:0x147};await updateStore(_0x386c69,_0x243c26=>{function _0x1733e4(_0x218727,_0x3ec5fd,_0x457c2b,_0x210798){return _0x2a64(_0x457c2b- -_0x249a21._0x5a6326,_0x210798);}_0x243c26[_0x1733e4(0x197,_0x18a44d._0x5d1602,_0x18a44d._0x25f2d5,_0x18a44d._0xc7a7af)]=_0x452839;});},async 'codeVerifier'(){function _0x37e9cd(_0x17bc5b,_0xe4df31,_0x5c8347,_0x2d3e77){return _0x141311(_0x17bc5b-0x7,_0x5c8347,_0x2d3e77- -_0x1fa786._0x321fb4,_0x2d3e77-_0x1fa786._0x5dd8cd);}const _0x273fcc=(await readStore(_0x386c69))[_0x37e9cd(-0x38,-0x59,-_0x54b653._0xde59dc,-_0x54b653._0x26bde1)];if(!_0x273fcc)throw new Error('No\x20MCP\x20OAuth\x20code\x20verifier\x20saved');return _0x273fcc;},async 'invalidateCredentials'(_0xcfe7b6){const _0x467801={_0x347b45:0x132};await updateStore(_0x386c69,_0x4d76de=>{function _0x3d5900(_0x27723b,_0x10b6c7,_0xf5616b,_0x3a9cf2){return _0x2a64(_0x3a9cf2-_0x467801._0x347b45,_0xf5616b);}function _0x2d6bae(_0x3d1f12,_0x902267,_0x26f93f,_0x56038e){return _0x2a64(_0x3d1f12-0x1cc,_0x902267);}(_0xcfe7b6===_0x3d5900(_0x55c7fc._0x48b873,0x47b,_0x55c7fc._0x364217,0x377)||_0xcfe7b6===_0x2d6bae(_0x55c7fc._0x4ac026,0x6c3,0x6da,_0x55c7fc._0x13c1ab))&&(_0x4d76de[_0x3d5900(0x174,0x281,0x2c9,0x2b3)]=void 0x0),(_0xcfe7b6===_0x3d5900(_0x55c7fc._0x53592c,0x53e,0x3c2,0x377)||_0xcfe7b6==='tokens')&&(_0x4d76de[_0x3d5900(_0x55c7fc._0x8611a7,_0x55c7fc._0x464344,_0x55c7fc._0x517d49,0x3e0)]=void 0x0),(_0xcfe7b6===_0x2d6bae(0x411,0x30d,0x58e,_0x55c7fc._0x438449)||_0xcfe7b6===_0x2d6bae(0x457,0x578,0x40f,0x3a1))&&(_0x4d76de['codeVerifier']=void 0x0,_0x4d76de[_0x3d5900(_0x55c7fc._0x515005,0x3af,_0x55c7fc._0x5e4b99,_0x55c7fc._0x11d218)]=void 0x0),(_0xcfe7b6===_0x2d6bae(_0x55c7fc._0x2f820d,_0x55c7fc._0x1cff20,_0x55c7fc._0x3df586,0x26d)||_0xcfe7b6==='discovery')&&(_0x4d76de[_0x2d6bae(0x4ba,_0x55c7fc._0x357fb9,_0x55c7fc._0x1d9df3,_0x55c7fc._0x20c327)]=void 0x0);});},async 'saveDiscoveryState'(_0x504991){const _0x239c8f={_0x15e94d:0x135};await updateStore(_0x386c69,_0x4b1222=>{function _0x57bddf(_0x35ed80,_0x9255e0,_0x406112,_0x556beb){return _0x2a64(_0x556beb- -_0x239c8f._0x15e94d,_0x35ed80);}_0x4b1222[_0x57bddf(0x34e,0x4,0x260,0x1b9)]=_0x504991;});},async 'discoveryState'(){function _0x1f1300(_0x55f0e1,_0x19e8c3,_0x17ca91,_0x18578c){return _0x313936(_0x55f0e1-_0x1d44f2._0x403cbb,_0x19e8c3-0x9,_0x19e8c3,_0x17ca91- -_0x1d44f2._0x201f90);}return(await readStore(_0x386c69))[_0x1f1300(-_0x4bf957._0x192aa9,-0x1bb,-_0x4bf957._0x3fa99f,-0xe9)];}};}import{UnauthorizedError}from'@modelcontextprotocol/sdk/client/auth.js';import{ErrorCode,McpError}from'@modelcontextprotocol/sdk/types.js';var failureByOperation={'close':{'code':_0x8a95cf(0x11,-0x153,-0x188,-0xbc),'message':_0x3ad0fc=>_0x12dc71(0x465,0x158,0x30e,0x461)+_0x3ad0fc+_0x12dc71(0x458,0x188,0x2d4,0x2c8)},'connect':{'code':_0x8a95cf(0x36b,0x4ef,0x1f7,0x47b),'message':_0x1d85f1=>_0x8a95cf(0x2c7,0x1de,0x1ba,0x1e0)+_0x1d85f1+_0x12dc71(0x3b1,0x45c,0x371,0x2eb)},'discover':{'code':_0x8a95cf(0x298,0x400,0x330,0x438),'message':_0x457341=>'MCP\x20server\x20'+_0x457341+_0x8a95cf(0x2a7,0x411,0x305,0x224)},'toolCall':{'code':_0x12dc71(0x86,0x2ae,0x239,0x3c6),'message':_0x54b60b=>'MCP\x20server\x20'+_0x54b60b+'\x20tool\x20call\x20failed'}},timeoutMessageByOperation={'close':_0x21f34d=>_0x8a95cf(0x2c7,0x299,0x21d,0x474)+_0x21f34d+'\x20close\x20timed\x20out','connect':_0x28c5e6=>_0x12dc71(0x322,0x204,0x30e,0x33d)+_0x28c5e6+'\x20connection\x20timed\x20out','discover':_0x2a44b1=>_0x12dc71(0x175,0x145,0x30e,0x480)+_0x2a44b1+_0x8a95cf(0xda,0x277,0x22c,0x10a),'toolCall':_0x2ee2c4=>'MCP\x20server\x20'+_0x2ee2c4+_0x8a95cf(0x26a,0x1fd,0x405,0x21c)};function toMcpSafeError(_0x4463d6){const _0x3afaeb={_0x12cdbf:0x7fd,_0x155336:0x6bd,_0x54d152:0x300,_0x456669:0x1c8,_0x83808a:0x2fc,_0x1ea03f:0x617,_0x249c00:0x5e4,_0x1b44b1:0x4eb,_0x3d5bde:0xe8,_0x573745:0xa,_0x144a35:0x95,_0x2e62a9:0x86b,_0x4ffd53:0x823,_0x765af5:0x779,_0x27305d:0x706,_0x4bce8c:0x7c8,_0x59fd27:0x6a8,_0x11daf4:0x96d,_0x3cdae5:0x823,_0x3505fe:0x9b4,_0x57f5a3:0x83e,_0x277ee8:0xfd,_0x200a67:0xc0,_0x28b2ec:0x5d,_0x5829f4:0x73e,_0x284132:0x5d0,_0x146adb:0x6b0},_0x17276b={_0x579c55:0x14d},_0xf2c98c={_0x389c14:0x4c8,_0x3f9fc4:0x1e2};if(_0x4463d6[_0x4a4b2e(_0x3afaeb._0x12cdbf,0x7d5,_0x3afaeb._0x155336,0x981)]instanceof UnauthorizedError)return Object[_0x3be277(_0x3afaeb._0x54d152,_0x3afaeb._0x456669,0x294,_0x3afaeb._0x83808a)]({'code':'mcp-auth-required','message':'MCP\x20server\x20'+_0x4463d6['serverName']+_0x4a4b2e(_0x3afaeb._0x1ea03f,_0x3afaeb._0x249c00,_0x3afaeb._0x1b44b1,0x6c3)});if(_0x4463d6['error']instanceof McpError&&_0x4463d6['error'][_0x3be277(_0x3afaeb._0x3d5bde,_0x3afaeb._0x573745,0xb,-_0x3afaeb._0x144a35)]===ErrorCode[_0x4a4b2e(0x979,0x7da,0x99e,0x6ee)])return Object[_0x4a4b2e(_0x3afaeb._0x2e62a9,_0x3afaeb._0x4ffd53,_0x3afaeb._0x765af5,_0x3afaeb._0x27305d)]({'code':_0x4a4b2e(0x988,_0x3afaeb._0x4bce8c,0x77e,_0x3afaeb._0x59fd27),'message':timeoutMessageByOperation[_0x4463d6[_0x4a4b2e(0x6d1,0x7cc,_0x3afaeb._0x11daf4,0x8ad)]](_0x4463d6['serverName'])});const _0x27912a=failureByOperation[_0x4463d6['operation']];function _0x4a4b2e(_0x2cbd57,_0x26c40b,_0x3d66df,_0x59afc6){return _0x12dc71(_0x59afc6,_0x26c40b-0x110,_0x26c40b-_0xf2c98c._0x389c14,_0x59afc6-_0xf2c98c._0x3f9fc4);}function _0x3be277(_0x4a3f70,_0x2d7d5a,_0x45af47,_0x5a41e9){return _0x12dc71(_0x5a41e9,_0x2d7d5a-_0x17276b._0x579c55,_0x45af47- -0xc7,_0x5a41e9-0x2f);}return Object[_0x4a4b2e(0x7c6,_0x3afaeb._0x3cdae5,_0x3afaeb._0x3505fe,_0x3afaeb._0x57f5a3)]({'code':_0x27912a['code'],'message':_0x27912a[_0x3be277(-_0x3afaeb._0x277ee8,_0x3afaeb._0x200a67,_0x3afaeb._0x28b2ec,0xe)](_0x4463d6[_0x4a4b2e(_0x3afaeb._0x5829f4,0x63a,_0x3afaeb._0x284132,_0x3afaeb._0x146adb)])});}function redactMcpDiagnostic(_0x43839b,_0x224769){const _0x7fda46={_0x10cbc5:0x2a1,_0x5539dd:0x144,_0x3d90e8:0xbe,_0x118752:0xb2,_0x503c14:0x5b3,_0x5e87c1:0x3e7,_0x2d6605:0x479,_0xd60ed9:0x92,_0x58fab0:0x32,_0x5dbaec:0x48,_0x17dc02:0x31,_0xc0cb6f:0x435,_0x41f62e:0x3a2},_0x565ce8={_0x5e79ea:0xf3,_0x30f2f7:0x44},_0x428fdb=[...new Set(_0x224769['filter'](_0x55926d=>_0x55926d[_0x9e4e99(-0x16e,-0x8e,0x48,0x173)]>0x0))][_0x5ef1c6(_0x7fda46._0x10cbc5,_0x7fda46._0x5539dd,0x1ea,0x3ec)]((_0x4767ee,_0x214300)=>_0x214300[_0x9e4e99(0xcb,0xd4,0x48,-0x110)]-_0x4767ee['length']);if(_0x43839b[_0x9e4e99(-_0x7fda46._0x3d90e8,-_0x7fda46._0x118752,0x48,-0x185)]===0x0||_0x428fdb[_0x5ef1c6(0x546,_0x7fda46._0x503c14,_0x7fda46._0x5e87c1,_0x7fda46._0x2d6605)]===0x0)return _0x43839b;function _0x5ef1c6(_0x3a20c3,_0x413211,_0x1d8ab5,_0x1b4662){return _0x12dc71(_0x1d8ab5,_0x413211-0xd6,_0x3a20c3-0x25a,_0x1b4662-0x10);}let _0x3456d8='';function _0x9e4e99(_0x4bf33b,_0x53f7a6,_0x38983a,_0x436622){return _0x12dc71(_0x436622,_0x53f7a6-_0x565ce8._0x5e79ea,_0x38983a- -0x2a4,_0x436622-_0x565ce8._0x30f2f7);}let _0x176cb8=0x0;while(_0x176cb8<_0x43839b[_0x9e4e99(-_0x7fda46._0xd60ed9,_0x7fda46._0x58fab0,_0x7fda46._0x5dbaec,-0x14f)]){const _0x3211e7=_0x428fdb[_0x9e4e99(-0x193,-0x161,_0x7fda46._0x17dc02,-0x133)](_0x254270=>_0x43839b['startsWith'](_0x254270,_0x176cb8));_0x3211e7?(_0x3456d8+='[REDACTED]',_0x176cb8+=_0x3211e7[_0x5ef1c6(0x546,_0x7fda46._0xc0cb6f,_0x7fda46._0x41f62e,0x41f)]):(_0x3456d8+=_0x43839b[_0x176cb8],_0x176cb8+=0x1);}return _0x3456d8;}var ownedMcpSafeErrors=new WeakMap();function isWeakMapKey(_0x2ab43f){const _0x755529={_0x40e66c:0xd7,_0x2d85b0:0x8b},_0x17b1b9={_0x675d9:0x6b};function _0x3b5f02(_0x2bd979,_0x3580d3,_0x2b741e,_0xb4c800){return _0x12dc71(_0x2b741e,_0x3580d3-0x1a1,_0xb4c800- -_0x17b1b9._0x675d9,_0xb4c800-0x139);}return typeof _0x2ab43f==='object'&&_0x2ab43f!==null||typeof _0x2ab43f===_0x3b5f02(-_0x755529._0x40e66c,_0x755529._0x2d85b0,-0xaa,0xb2);}function createOwnedMcpSafeError(_0xa01707){const _0x141b4a={_0x52badd:0x38f,_0x206cfc:0x4dd,_0x3d9595:0x297,_0x1ada8d:0x3e1,_0x263779:0x4bc,_0x247b3f:0x34f,_0x1fcd60:0x2fe},_0x18a1d3={_0x1b95dd:0x1d4},_0x531114={_0x1e3083:0x304,_0x5c6601:0xc0},_0x324986=toMcpSafeError(_0xa01707);function _0x26df5a(_0x41dbae,_0x35b98c,_0x47de96,_0x197647){return _0x8a95cf(_0x47de96-_0x531114._0x1e3083,_0x35b98c,_0x47de96-0x174,_0x197647-_0x531114._0x5c6601);}const _0x946251=Object['freeze']({'code':_0x324986[_0x26df5a(0x473,0x2ff,_0x141b4a._0x52badd,0x49f)],'message':_0x324986[_0x26df5a(_0x141b4a._0x206cfc,_0x141b4a._0x3d9595,_0x141b4a._0x1ada8d,_0x141b4a._0x263779)]});ownedMcpSafeErrors[_0x357b20(_0x141b4a._0x247b3f,_0x141b4a._0x1fcd60,0x4a8,0x4e1)](_0x324986,_0x946251);function _0x357b20(_0x45828c,_0x168cfe,_0x2abd0e,_0x1d5d59){return _0x8a95cf(_0x45828c-0x1ed,_0x1d5d59,_0x2abd0e-_0x18a1d3._0x1b95dd,_0x1d5d59-0x1a7);}return _0x324986;}function extractOwnedMcpSafeError(_0x2b0936){const _0x1ceac4={_0xbca1c3:0x18c,_0x2c5a1f:0x248,_0x3d4ba1:0x217,_0x41e587:0x32d,_0xae7ee9:0x4f3,_0x390fe7:0x3fc,_0x38755d:0x550,_0x3ef481:0x4dd,_0x48500d:0x510},_0x413299={_0x3a245e:0x37b},_0x26e0ad={_0x15166c:0x1d4};function _0xe3bef4(_0x512c61,_0x3a7c15,_0x4991b4,_0xf9f77e){return _0x12dc71(_0x512c61,_0x3a7c15-0x1d0,_0x4991b4- -0x11d,_0xf9f77e-_0x26e0ad._0x15166c);}if(!isWeakMapKey(_0x2b0936))return void 0x0;const _0x1620ef=ownedMcpSafeErrors[_0xe3bef4(_0x1ceac4._0xbca1c3,_0x1ceac4._0x2c5a1f,_0x1ceac4._0x3d4ba1,_0x1ceac4._0x41e587)](_0x2b0936);function _0x1746e1(_0x498c28,_0x1e4825,_0x1c528f,_0x5f153c){return _0x8a95cf(_0x1e4825-_0x413299._0x3a245e,_0x5f153c,_0x1c528f-0x14c,_0x5f153c-0x165);}if(!_0x1620ef)return void 0x0;const _0x15f25a=Object['freeze']({'code':_0x1620ef['code'],'message':_0x1620ef[_0x1746e1(_0x1ceac4._0xae7ee9,0x458,_0x1ceac4._0x390fe7,0x428)]});return ownedMcpSafeErrors[_0x1746e1(_0x1ceac4._0x38755d,_0x1ceac4._0x3ef481,0x564,_0x1ceac4._0x48500d)](_0x15f25a,_0x1620ef),_0x15f25a;}function ownValue(_0x5561f3,_0x2bd4fd){const _0x512fa5={_0x2a5121:0x5ef},_0x376a44={_0x32fb54:0xf};function _0x36da1c(_0x208665,_0x47b833,_0x764463,_0x10b01c){return _0x8a95cf(_0x47b833-0x448,_0x208665,_0x764463-0x1e8,_0x10b01c-_0x376a44._0x32fb54);}return _0x5561f3&&Object[_0x36da1c(0x6d0,_0x512fa5._0x2a5121,0x4d8,0x6f3)](_0x5561f3,_0x2bd4fd)?_0x5561f3[_0x2bd4fd]:void 0x0;}function isToolPermissionClass(_0x2782e6){const _0x5ae476={_0x427260:0x34a,_0x3214d9:0x742,_0x240c62:0x702,_0x3b7de8:0x698},_0x1b2144={_0x2afcab:0x74,_0x15e9a2:0x83},_0x3824d6={_0x2f14fe:0x1dd};function _0x5e7b54(_0x68ebaf,_0x25e346,_0x4a4a68,_0x441b6d){return _0x12dc71(_0x441b6d,_0x25e346-0xee,_0x68ebaf-0x128,_0x441b6d-_0x3824d6._0x2f14fe);}function _0x1e28bf(_0xa104f1,_0x3d9390,_0x58c1bb,_0x41fe88){return _0x8a95cf(_0x58c1bb-0x456,_0x41fe88,_0x58c1bb-_0x1b2144._0x2afcab,_0x41fe88-_0x1b2144._0x15e9a2);}return _0x2782e6===_0x5e7b54(0x199,_0x5ae476._0x427260,0xc6,-0x13)||_0x2782e6==='write'||_0x2782e6===_0x1e28bf(_0x5ae476._0x3214d9,0x650,_0x5ae476._0x240c62,_0x5ae476._0x3b7de8);}function suggestedPermissionClass(_0x67420){const _0x2d8819={_0x58e695:0x239,_0x225ec1:0x157,_0x412b77:0x2d5,_0x14f1e3:0x1bd},_0x5621c4={_0x450cc2:0x174},_0x47611b={_0x431fc4:0x1dc,_0x244b3c:0x185},_0x25c091=_0x67420['annotations']?.['readOnlyHint'];if(_0x25c091===!![])return _0x1f5503(-0x1b2,-_0x2d8819._0x58e695,-_0x2d8819._0x225ec1,-0x27);function _0x1f5503(_0x28655e,_0x12237f,_0x44f715,_0x5208aa){return _0x8a95cf(_0x28655e- -_0x47611b._0x431fc4,_0x5208aa,_0x44f715-_0x47611b._0x244b3c,_0x5208aa-0x13);}function _0x4d7cc2(_0x2bb75d,_0x51b8d7,_0x38472e,_0x4b9c03){return _0x8a95cf(_0x38472e- -_0x5621c4._0x450cc2,_0x2bb75d,_0x38472e-0x17f,_0x4b9c03-0x1a);}if(_0x25c091===![])return _0x4d7cc2(_0x2d8819._0x412b77,0x1f7,_0x2d8819._0x14f1e3,0x18e);return void 0x0;}function isJsonValue(_0x30142b){const _0x4cf092={_0x26c2f4:0x24a,_0x1eb728:0x225,_0xe1bf4c:0xa1,_0x24d1da:0x2b7,_0x3cd952:0x38d,_0x463768:0xd2,_0x395714:0x27,_0x4308f2:0x1c7,_0x26ae1b:0x53,_0x54283e:0x14},_0x36ead1={_0x1e892a:0x151},_0x189bd5={_0x447fc2:0xec,_0x4cc45f:0x1d1};function _0x3bd4a8(_0x1bbd8c,_0x156f4e,_0x15f9b4,_0x1c5cd9){return _0x8a95cf(_0x156f4e- -_0x189bd5._0x447fc2,_0x1bbd8c,_0x15f9b4-0xb0,_0x1c5cd9-_0x189bd5._0x4cc45f);}if(_0x30142b===null||typeof _0x30142b===_0x3bd4a8(-_0x4cf092._0x26c2f4,-0xc4,-_0x4cf092._0x1eb728,-_0x4cf092._0xe1bf4c)||typeof _0x30142b==='number'||typeof _0x30142b===_0x3bd4a8(0x3ea,0x248,_0x4cf092._0x24d1da,_0x4cf092._0x3cd952))return!![];function _0x25fb93(_0x46b5bf,_0x5a7a6b,_0x284c08,_0xd0393c){return _0x8a95cf(_0xd0393c- -0x263,_0x46b5bf,_0x284c08-0x12b,_0xd0393c-_0x36ead1._0x1e892a);}if(Array['isArray'](_0x30142b))return _0x30142b[_0x25fb93(-0x6a,-0x64,_0x4cf092._0x463768,-0x40)](isJsonValue);if(!isObject(_0x30142b))return![];return Object[_0x3bd4a8(0x1ac,_0x4cf092._0x395714,_0x4cf092._0x4308f2,-_0x4cf092._0x26ae1b)](_0x30142b)[_0x25fb93(-0x82,-0x177,_0x4cf092._0x54283e,-0x40)](isJsonValue);}function projectMcpTools(_0x9357a4){const _0x4e47f5={_0xcc9e1e:0x492,_0x3ae023:0x4d6,_0x52eed7:0x2ce,_0x1dcbc7:0x6a1,_0x1dbd70:0x703,_0x4c57e7:0x5f2,_0x7edd5b:0x5ef,_0x18031c:0x574,_0x289af0:0x59d,_0x5eb1b1:0x45e,_0x3378f8:0x60d,_0x25b486:0x4a1,_0x17e9b8:0x35b,_0x38f5b2:0x4b2,_0x3e49e3:0x632,_0x2e4b46:0x607,_0x375b10:0x58b,_0x1728c2:0x432,_0x3a057f:0x5f6,_0x33080e:0x68a,_0x8b234a:0x545,_0x441f3c:0x741,_0x2d3191:0x4f8,_0x4894f9:0x39e},_0x26a9c9={_0x2ecff0:0x3d9,_0x176339:0xd4},_0x2c3b2d={_0x9e4073:0x1d7},_0xca68d5=[],_0x544045=[];function _0x11353b(_0x42b482,_0x5bed0b,_0x306ac6,_0x1a27a8){return _0x12dc71(_0x42b482,_0x5bed0b-0xbf,_0x5bed0b-0x4a8,_0x1a27a8-_0x2c3b2d._0x9e4073);}for(const _0x1021f0 of _0x9357a4[_0x151b90(_0x4e47f5._0xcc9e1e,0x44f,_0x4e47f5._0x3ae023,_0x4e47f5._0x52eed7)]){const _0x37c863=ownValue(_0x9357a4['toolPermissions'],_0x1021f0[_0x11353b(0x754,_0x4e47f5._0x1dcbc7,0x572,0x6c3)]),_0x58f5c1=isToolPermissionClass(_0x37c863)?_0x37c863:void 0x0,_0x45d915=_0x58f5c1??_0x11353b(_0x4e47f5._0x1dbd70,0x79b,0x751,0x809),_0x284256=suggestedPermissionClass(_0x1021f0);_0x544045[_0x151b90(_0x4e47f5._0x4c57e7,_0x4e47f5._0x7edd5b,0x6e2,0x63b)]({'name':_0x1021f0['name'],..._0x1021f0[_0x11353b(0x732,_0x4e47f5._0x18031c,0x4b0,_0x4e47f5._0x289af0)]!==void 0x0?{'description':_0x1021f0[_0x151b90(_0x4e47f5._0x5eb1b1,_0x4e47f5._0x3378f8,0x5e9,0x541)]}:{},...isJsonValue(_0x1021f0[_0x151b90(_0x4e47f5._0x25b486,_0x4e47f5._0x17e9b8,0x516,_0x4e47f5._0x38f5b2)])?{'inputSchema':_0x1021f0['inputSchema']}:{},'permissionClass':_0x45d915,'permissionConfigured':_0x58f5c1!==void 0x0,..._0x284256!==void 0x0?{'suggestedPermissionClass':_0x284256}:{}});if(ownValue(_0x9357a4[_0x151b90(_0x4e47f5._0x3e49e3,0x725,0x701,_0x4e47f5._0x2e4b46)],_0x1021f0[_0x151b90(_0x4e47f5._0x375b10,_0x4e47f5._0x1728c2,0x562,0x5e8)])===![])continue;_0xca68d5[_0x151b90(0x5f2,0x4cc,_0x4e47f5._0x3a057f,0x631)](createMcpTool({'serverName':_0x9357a4[_0x11353b(0x5a2,_0x4e47f5._0x33080e,_0x4e47f5._0x8b234a,_0x4e47f5._0x441f3c)]??_0x9357a4['serverName'],'tool':_0x1021f0,'client':_0x9357a4[_0x151b90(0x601,0x6e1,0x5a9,0x673)],'permissionClass':_0x45d915,'internalLifecycle':_0x9357a4[_0x151b90(_0x4e47f5._0x2d3191,_0x4e47f5._0x4894f9,0x36a,0x516)]}));}function _0x151b90(_0xe45ed1,_0x1a0fc4,_0x2ccfa6,_0x1a5be9){return _0x8a95cf(_0xe45ed1-_0x26a9c9._0x2ecff0,_0x2ccfa6,_0x2ccfa6-_0x26a9c9._0x176339,_0x1a5be9-0x9);}return{'tools':_0xca68d5,'descriptors':_0x544045};}function _0x12dc71(_0x28317d,_0x2f9716,_0x972690,_0x911ff1){const _0x2dd6bc={_0x5d9fb1:0x106};return _0x2a64(_0x972690- -_0x2dd6bc._0x5d9fb1,_0x28317d);}function createMcpToolName(_0x1f5d0f,_0x148f83){const _0x33d45a={_0x333772:0x263,_0x162a55:0x18a},_0x2fd43b=_0x467559=>_0x467559['replace'](/[^a-zA-Z0-9_]+/g,'_')[_0x3777fb(0x2f9,0x179,0x466,0x358)](/^_+|_+$/g,'');function _0x3777fb(_0x72948,_0x4272e5,_0x5c19e4,_0x3f70ee){return _0x12dc71(_0x4272e5,_0x4272e5-0x116,_0x72948-_0x33d45a._0x333772,_0x3f70ee-_0x33d45a._0x162a55);}return'mcp_'+_0x2fd43b(_0x1f5d0f)+'_'+_0x2fd43b(_0x148f83);}function isObject(_0x515cb4){const _0x3a5c20={_0x27623a:0x95a,_0x42d7e6:0x7c4,_0x217685:0x711,_0x30f45f:0x7c7,_0x478b75:0x7d7,_0x47d836:0x7ca},_0x280d9e={_0x1aaf0b:0x126};function _0x3ae8b8(_0x18154f,_0x4b0fc,_0x492335,_0x286fa2){return _0x8a95cf(_0x4b0fc-0x481,_0x492335,_0x492335-0x1e1,_0x286fa2-0x1cc);}function _0xb6d4f9(_0xa2d168,_0x347ccb,_0xecc7ce,_0x3f7cc0){return _0x8a95cf(_0x347ccb- -_0x280d9e._0x1aaf0b,_0x3f7cc0,_0xecc7ce-0x2e,_0x3f7cc0-0x1e7);}return typeof _0x515cb4===_0x3ae8b8(_0x3a5c20._0x27623a,_0x3a5c20._0x42d7e6,_0x3a5c20._0x217685,_0x3a5c20._0x30f45f)&&_0x515cb4!==null&&!Array[_0x3ae8b8(_0x3a5c20._0x478b75,0x629,0x794,_0x3a5c20._0x47d836)](_0x515cb4);}function toSupportedSchema(_0x32de5e){const _0x4c0c1f={_0x16bb3a:0x19b,_0x42e036:0x9a,_0x5afc23:0x1fa,_0x13472e:0xc5,_0x26e234:0xe9,_0x1b2c59:0x62,_0x1fa373:0xdb,_0x1c11f9:0x114,_0x499f2b:0x83,_0x35ad4e:0x127,_0x3a668b:0x5d,_0x167410:0x9e,_0x218822:0x222,_0x150e37:0x39d,_0x21bb59:0x4b5,_0x55b618:0x376,_0x3e186a:0x17f,_0x4f463b:0xc3,_0x29b645:0x91,_0x57f2e6:0xd5},_0x1d3380={_0x19a2fe:0x161};if(!isObject(_0x32de5e))return void 0x0;if(_0x32de5e['type']==='string')return{'type':_0x1d3a53(-0x398,-_0x4c0c1f._0x16bb3a,-0x207,-_0x4c0c1f._0x42e036)};function _0x1d3a53(_0x2e6043,_0x39f122,_0x61ad4b,_0x4fb439){return _0x8a95cf(_0x61ad4b- -0x22f,_0x4fb439,_0x61ad4b-_0x1d3380._0x19a2fe,_0x4fb439-0x1b9);}if(_0x32de5e[_0x487248(0x215,_0x4c0c1f._0x5afc23,0x381,_0x4c0c1f._0x13472e)]===_0x1d3a53(_0x4c0c1f._0x26e234,_0x4c0c1f._0x1b2c59,0x22,-_0x4c0c1f._0x1fa373)||_0x32de5e[_0x1d3a53(-0x233,_0x4c0c1f._0x1c11f9,-_0x4c0c1f._0x499f2b,0xe4)]===_0x1d3a53(-0x49,_0x4c0c1f._0x35ad4e,-0xb,-0xf))return{'type':_0x1d3a53(-_0x4c0c1f._0x3a668b,0x87,0x22,-_0x4c0c1f._0x167410)};function _0x487248(_0x408c27,_0x2034f0,_0x46f434,_0x2371c1){return _0x8a95cf(_0x408c27-0x69,_0x46f434,_0x46f434-0xde,_0x2371c1-0xca);}if(_0x32de5e[_0x1d3a53(-_0x4c0c1f._0x218822,0x137,-0x83,0x13f)]===_0x487248(_0x4c0c1f._0x150e37,0x4f5,_0x4c0c1f._0x21bb59,_0x4c0c1f._0x55b618))return{'type':_0x487248(_0x4c0c1f._0x150e37,0x449,0x2c2,0x257)};if(_0x32de5e['type']==='array')return{'type':'array','items':toSupportedSchema(_0x32de5e[_0x1d3a53(-_0x4c0c1f._0x3e186a,-0x67,-0xad,_0x4c0c1f._0x4f463b)])??{'type':_0x487248(_0x4c0c1f._0x29b645,-0xcc,_0x4c0c1f._0x57f2e6,-0xec)}};if(_0x32de5e[_0x487248(0x215,0xfb,0x31e,0x394)]===_0x1d3a53(-0x86,0x100,0x114,0x121))return toNuvinToolSchema(_0x32de5e);return void 0x0;}function toNuvinToolSchema(_0x35bfed){const _0x4832c5={_0x5f045d:0x17f,_0x33dfd7:0x31c,_0x232b47:0x1c8,_0x3564d2:0x2ee,_0x12ca18:0x416,_0x50bbfb:0x5dc,_0x348cfd:0x6b5,_0x2ad3a6:0x1fe,_0x1ce179:0x72,_0x4bb000:0x2e0,_0x3b469f:0x441,_0x1fbb03:0x5d0,_0x53e3ce:0x734,_0x594c56:0x536,_0x463aac:0x4a7,_0x5f10bb:0x414,_0x25f63d:0x390,_0x194a63:0x172,_0x2bed95:0x1c5,_0x356ce8:0x4d5},_0x2dc1fe={_0x4bbcce:0x252,_0x55f6ca:0xe5},_0xa69fc6={_0x525ea9:0x113};function _0x3cc7da(_0x571145,_0x544eb1,_0x40a5bd,_0x15bc4b){return _0x8a95cf(_0x544eb1-0x170,_0x571145,_0x40a5bd-_0xa69fc6._0x525ea9,_0x15bc4b-0xd0);}function _0x1fd387(_0x17e448,_0xdc5667,_0x3e8aa2,_0x2a1933){return _0x12dc71(_0x17e448,_0xdc5667-0x53,_0xdc5667-_0x2dc1fe._0x4bbcce,_0x2a1933-_0x2dc1fe._0x55f6ca);}if(!isObject(_0x35bfed)||_0x35bfed[_0x3cc7da(_0x4832c5._0x5f045d,_0x4832c5._0x33dfd7,_0x4832c5._0x232b47,_0x4832c5._0x3564d2)]!=='object')return{'type':_0x1fd387(_0x4832c5._0x12ca18,_0x4832c5._0x50bbfb,_0x4832c5._0x348cfd,0x653),'properties':{}};const _0xa86c0d={},_0x551259=isObject(_0x35bfed['properties'])?_0x35bfed[_0x3cc7da(0x2bc,_0x4832c5._0x2ad3a6,0x68,_0x4832c5._0x1ce179)]:{};for(const [_0x5a215e,_0x25e5c8]of Object[_0x1fd387(0x1bd,_0x4832c5._0x4bb000,0x296,0x1e4)](_0x551259)){const _0x36268c=toSupportedSchema(_0x25e5c8);if(_0x36268c)_0xa86c0d[_0x5a215e]=_0x36268c;}const _0x3bce41=Array[_0x1fd387(0x38e,_0x4832c5._0x3b469f,0x437,0x415)](_0x35bfed[_0x1fd387(0x4d8,_0x4832c5._0x1fbb03,_0x4832c5._0x53e3ce,_0x4832c5._0x594c56)])?_0x35bfed[_0x3cc7da(0x49a,_0x4832c5._0x463aac,_0x4832c5._0x5f10bb,_0x4832c5._0x25f63d)][_0x3cc7da(_0x4832c5._0x194a63,_0x4832c5._0x2bed95,0x54,0x2e5)](_0xa8806a=>typeof _0xa8806a==='string'):void 0x0;return _0x3bce41?.['length']?{'type':_0x1fd387(0x5be,0x5dc,0x56e,0x530),'properties':_0xa86c0d,'required':_0x3bce41}:{'type':_0x3cc7da(0x4d9,0x4b3,0x351,_0x4832c5._0x356ce8),'properties':_0xa86c0d};}function isJsonObject(_0x2743b5){const _0x4bdbe3={_0x2fa791:0x362,_0x487327:0x279},_0x1e4cba={_0x3bad22:0x189,_0x309cf7:0xc0},_0x279649={_0x3f835a:0x1c,_0x236b94:0x1a4};function _0x4badb5(_0xab1176,_0x34c3f0,_0x3874ba,_0x3ccdf3){return _0x8a95cf(_0x3ccdf3-_0x279649._0x3f835a,_0x3874ba,_0x3874ba-_0x279649._0x236b94,_0x3ccdf3-0x94);}function _0x3c1288(_0x3360f1,_0x579bc3,_0x1e435c,_0xd7d885){return _0x8a95cf(_0x3360f1-0x200,_0xd7d885,_0x1e435c-_0x1e4cba._0x3bad22,_0xd7d885-_0x1e4cba._0x309cf7);}return typeof _0x2743b5===_0x4badb5(_0x4bdbe3._0x2fa791,0x1eb,0x1d5,0x35f)&&_0x2743b5!==null&&!Array[_0x3c1288(0x3a8,_0x4bdbe3._0x487327,0x3de,0x3fa)](_0x2743b5);}function formatMcpContent(_0x8484b2){const _0x5aee7c={_0x215d49:0x35,_0x280f94:0x18f,_0x2264f6:0xe,_0x160362:0x12e,_0x2873c6:0x22f,_0x4aa6ce:0x18a,_0x3a8e97:0x503,_0x5c3ddc:0x79,_0x411aa5:0x63,_0x10139c:0x112,_0x45bbbd:0xf2},_0x470af0={_0x2dfacb:0x11e},_0x41197b={_0x2fbcf7:0x283,_0x2fe98c:0x70},_0x569be9={_0x3b940e:0x112,_0x197534:0x296,_0x205f7d:0x85,_0x27d35b:0x1fe,_0x10de8b:0x241,_0x13a020:0x7e,_0x1a1029:0x35},_0x4aba6a={_0x22292c:0xd9},_0x59ffcc={_0x39f8d8:0xee},_0x3f23f2=Array[_0x535ae7(-0xdb,-0x1ad,-0x13f,-0x17f)](_0x8484b2[_0x3d7dbf(0x151,-_0x5aee7c._0x215d49,_0x5aee7c._0x280f94,0x18a)])?_0x8484b2[_0x3d7dbf(-_0x5aee7c._0x2264f6,_0x5aee7c._0x160362,_0x5aee7c._0x2873c6,_0x5aee7c._0x4aa6ce)]:[],_0x364b3f=_0x3f23f2[_0x3d7dbf(0x5a1,0x4e2,_0x5aee7c._0x3a8e97,0x429)](_0xba61bf=>{if(!isObject(_0xba61bf))return'';function _0x215b5f(_0xe823b6,_0x4236aa,_0x6cbb04,_0x46bfd7){return _0x535ae7(_0x4236aa-0x1a,_0x4236aa-_0x59ffcc._0x39f8d8,_0x6cbb04-0x1b8,_0x6cbb04);}function _0x43c81a(_0x2034c7,_0x303f00,_0xd772c2,_0x1b9879){return _0x3d7dbf(_0x2034c7-_0x4aba6a._0x22292c,_0x2034c7,_0xd772c2-0x9,_0x303f00- -0x1d2);}if(_0xba61bf[_0x43c81a(_0x569be9._0x3b940e,0xcd,0x1d8,0xab)]==='text'&&typeof _0xba61bf[_0x43c81a(0x33e,0x1d1,_0x569be9._0x197534,_0x569be9._0x205f7d)]===_0x215b5f(-_0x569be9._0x27d35b,-_0x569be9._0x10de8b,-0x1fc,-0x40b))return _0xba61bf['text'];return JSON[_0x43c81a(-_0x569be9._0x13a020,-_0x569be9._0x1a1029,-0x14,-0x130)](_0xba61bf);})['filter'](_0x243e7d=>_0x243e7d['length']>0x0)[_0x535ae7(-0xec,0xdb,-_0x5aee7c._0x5c3ddc,-_0x5aee7c._0x411aa5)]('\x0a');function _0x535ae7(_0x33c08b,_0x351079,_0x5134cf,_0xf22729){return _0x8a95cf(_0x33c08b- -_0x41197b._0x2fbcf7,_0xf22729,_0x5134cf-0xae,_0xf22729-_0x41197b._0x2fe98c);}function _0x3d7dbf(_0x1780cd,_0x365209,_0x4fdde6,_0x2685ae){return _0x12dc71(_0x365209,_0x365209-_0x470af0._0x2dfacb,_0x2685ae-0xac,_0x2685ae-0x158);}if(_0x364b3f[_0x535ae7(0x22,_0x5aee7c._0x10139c,-_0x5aee7c._0x45bbbd,-0x65)]>0x0)return _0x364b3f;return JSON['stringify'](_0x8484b2,null,0x2);}function createMcpTool(_0x44409c){const _0x34f265={_0x1671df:0x1a5,_0x4fe905:0x2b8,_0xec247d:0x2e0,_0x1b1c00:0x4b0,_0x39f696:0x45e,_0x3231f3:0x445,_0x12dcf4:0x338,_0x3176d3:0x4ff,_0x4b5593:0x38d,_0x203eae:0x2ec,_0x219f1a:0x1a0,_0xd86b0c:0x301,_0x260255:0x16a,_0x14df6b:0x103,_0x3a3b15:0x32d,_0x576d12:0x498,_0x4d308c:0x318,_0x4e1d1c:0x508,_0x2757d8:0x445,_0x34443a:0x387,_0x549186:0x326,_0x23706d:0x31a,_0x5f26ec:0x241,_0x2d45d7:0x215,_0x1b3529:0x32b,_0xd87324:0x22d,_0x17ca06:0xa0},_0x7863de={_0x577244:0x4db,_0x74afad:0x343,_0x50e813:0x675,_0x5a845c:0x5d8,_0x1679fb:0x5e8,_0x3ee0d4:0x478,_0x495f7c:0x4b8,_0x336d1d:0x437,_0x430367:0x951,_0x4a5760:0x718,_0x4a5fef:0x702,_0x469999:0x4c1,_0x53702d:0x7cd,_0x3bd7f2:0x52e,_0x18b9ad:0x63c,_0x1470e0:0x57d,_0x597dc3:0x87f,_0xd57c53:0x583},_0x592bb5={_0x1f6843:0x27e},_0x545bd7={_0x3fff29:0x24c};function _0xaa9f24(_0x4a2f37,_0x51b572,_0x339ef9,_0x4ceb62){return _0x12dc71(_0x51b572,_0x51b572-0x1ab,_0x339ef9-0x11e,_0x4ceb62-0x17);}const _0x1da584=createMcpToolName(_0x44409c[_0xaa9f24(0x14f,0x457,0x290,0x237)],_0x44409c[_0xaa9f24(_0x34f265._0x1671df,0x153,_0x34f265._0x4fe905,_0x34f265._0xec247d)][_0x46e72e(0x4b7,_0x34f265._0x1b1c00,_0x34f265._0x39f696,_0x34f265._0x3231f3)]);function _0x46e72e(_0x18ca8a,_0x5b74ed,_0xbcae06,_0x46d2af){return _0x12dc71(_0xbcae06,_0x5b74ed-0xc4,_0x46d2af-_0x545bd7._0x3fff29,_0x46d2af-0x18d);}return defineTool({'name':_0x1da584,'permissionClass':_0x44409c[_0x46e72e(0x6a5,_0x34f265._0x12dcf4,0x3fa,_0x34f265._0x3176d3)],..._0x44409c[_0x46e72e(_0x34f265._0x4b5593,0x37f,0x288,0x345)]!==void 0x0?{'internalLifecycle':_0x44409c[_0xaa9f24(_0x34f265._0x203eae,_0x34f265._0x219f1a,0x217,_0x34f265._0xd86b0c)]}:{},'description':_0x44409c[_0xaa9f24(0x407,_0x34f265._0x260255,0x2b8,_0x34f265._0x14df6b)][_0x46e72e(0x264,_0x34f265._0x3a3b15,_0x34f265._0x576d12,_0x34f265._0x4d308c)]??_0xaa9f24(0x1e9,0x4dc,0x329,0x3e9)+_0x44409c[_0x46e72e(0x22e,0x4a6,0x4d1,0x3e6)][_0x46e72e(_0x34f265._0x4e1d1c,0x388,0x47e,_0x34f265._0x2757d8)]+_0xaa9f24(0x281,0x284,_0x34f265._0x34443a,_0x34f265._0x549186)+_0x44409c[_0x46e72e(0x535,0x428,0x463,0x3be)],'inputSchema':toNuvinToolSchema(_0x44409c[_0x46e72e(_0x34f265._0x23706d,_0x34f265._0x5f26ec,0x58d,0x3e6)][_0xaa9f24(_0x34f265._0x2d45d7,_0x34f265._0x1b3529,_0x34f265._0xd87324,_0x34f265._0x17ca06)]),async *'execute'(_0x4477fe){const _0x36725b={_0x3d74db:0x109};let _0x24d463;try{_0x24d463=await _0x44409c[_0x2be1ae(0x6d2,0x775,0x8d0,0x739)][_0x5c551c(0x3b4,_0x7863de._0x577244,_0x7863de._0x74afad,0x4a7)]({'name':_0x44409c[_0x5c551c(_0x7863de._0x50e813,0x3bc,_0x7863de._0x5a845c,0x4f0)][_0x5c551c(_0x7863de._0x1679fb,_0x7863de._0x3ee0d4,0x3bb,0x54f)],'arguments':isJsonObject(_0x4477fe)?_0x4477fe:{}});if(_0x24d463['isError'])throw toMcpSafeError({'serverName':_0x44409c[_0x5c551c(0x30b,_0x7863de._0x495f7c,_0x7863de._0x336d1d,0x4c8)],'operation':_0x2be1ae(_0x7863de._0x430367,_0x7863de._0x4a5760,_0x7863de._0x4a5fef,0x819),'error':_0x24d463});}catch(_0x3770ac){throw extractOwnedMcpSafeError(_0x3770ac)??toMcpSafeError({'serverName':_0x44409c['serverName'],'operation':_0x5c551c(0x661,0x762,0x6cf,0x6a5),'error':_0x3770ac});}function _0x5c551c(_0x1e1a6f,_0x1fe05d,_0x3e2706,_0x353431){return _0xaa9f24(_0x1e1a6f-0x75,_0x1fe05d,_0x353431-0x238,_0x353431-_0x36725b._0x3d74db);}yield createToolOutput(formatMcpContent(_0x24d463),{'serverName':_0x44409c[_0x2be1ae(_0x7863de._0x469999,_0x7863de._0x53702d,_0x7863de._0x3bd7f2,_0x7863de._0x18b9ad)],'toolName':_0x44409c[_0x2be1ae(0x805,_0x7863de._0x1470e0,0x777,0x664)][_0x2be1ae(_0x7863de._0x597dc3,_0x7863de._0xd57c53,0x83e,0x6c3)],'result':_0x24d463});function _0x2be1ae(_0x42d58a,_0x18f86b,_0x5ba2e2,_0x1ba268){return _0x46e72e(_0x42d58a-0x19c,_0x18f86b-0x13b,_0x5ba2e2,_0x1ba268-_0x592bb5._0x1f6843);}return void 0x0;}});}var DEFAULT_MCP_TIMEOUT_MS=0xea60;function createMcpTimeoutSource(_0x51eff6){let _0x366fe5=_0x51eff6;return{'get'(){return _0x366fe5;},'set'(_0x3d6784){_0x366fe5=_0x3d6784;}};}function resolveMcpTimeoutMs(_0x51887f,_0x36a22d){const _0x54e877={_0x3fa259:0x54c},_0x11ff73={_0x328edc:0x266,_0x4c4af7:0x170,_0xc2ad5c:0xc5};function _0x1a2e8c(_0x2f38d4,_0x464f4c,_0x235da3,_0x310c6d){return _0x8a95cf(_0x310c6d-_0x11ff73._0x328edc,_0x2f38d4,_0x235da3-_0x11ff73._0x4c4af7,_0x310c6d-_0x11ff73._0xc2ad5c);}return _0x51887f[_0x1a2e8c(0x282,0x2cd,_0x54e877._0x3fa259,0x444)]??_0x36a22d??DEFAULT_MCP_TIMEOUT_MS;}function mapOwnedMcpBoundaryError(_0xad1167,_0x2fd38e){const _0x1648f9={_0x43b7b1:0x37b,_0x4d05b9:0x546},_0x137366={_0x6ea870:0x1a0};function _0x4d81f4(_0x182f40,_0x3e9c53,_0x57e8b0,_0x1d67ea){return _0x8a95cf(_0x182f40-0xb5,_0x57e8b0,_0x57e8b0-0x13a,_0x1d67ea-_0x137366._0x6ea870);}return(_0x2fd38e?extractOwnedMcpSafeError(_0xad1167[_0x4d81f4(_0x1648f9._0x43b7b1,0x1c4,_0x1648f9._0x4d05b9,0x374)]):void 0x0)??createOwnedMcpSafeError(_0xad1167);}function createMcpGenerationLifecycle(_0x5e66a2){const _0x2f9167={_0x197423:0x33c,_0x24cce0:0x152,_0x21227f:0x1c9},_0x2dc34a={_0x58f6b9:0x1e3},_0x5a541f={_0x1e4ac5:0x3fd,_0x25b8bf:0x2a1,_0x3a3f20:0xa9,_0x75889e:0x1ae},_0x2c1644={_0x3d85f6:0x93};let _0x21d01e=0x0,_0x123740=![],_0x563418=![],_0x38e350,_0x5b0ffb,_0x4c11c7;const _0x189ecc=()=>{if(!_0x123740||_0x21d01e!==0x0||_0x563418)return;function _0x424d86(_0x43a427,_0x235f49,_0x3ace0b,_0x5d5eab){return _0x2a64(_0x5d5eab-0x137,_0x3ace0b);}function _0x2cb3a1(_0x18c5a2,_0x15afa4,_0x3be227,_0xfc55de){return _0x2a64(_0x18c5a2-_0x2c1644._0x3d85f6,_0x15afa4);}_0x563418=!![],void Promise[_0x424d86(0x278,0x3e8,_0x5a541f._0x1e4ac5,0x31d)]()[_0x2cb3a1(0x1e9,0xb2,0x1cc,_0x5a541f._0x25b8bf)](_0x5e66a2)[_0x2cb3a1(0x1e9,_0x5a541f._0x3a3f20,_0x5a541f._0x75889e,0x101)](_0x5b0ffb,_0x4c11c7);};return{'acquire'(){if(_0x123740)throw new Error(_0x5cd40f(_0x2f9167._0x197423,_0x2f9167._0x24cce0,0x3a,_0x2f9167._0x21227f));function _0x5cd40f(_0x5f3708,_0x48459e,_0x26b3b8,_0x3844fb){return _0x2a64(_0x3844fb- -_0x2dc34a._0x58f6b9,_0x26b3b8);}_0x21d01e+=0x1;let _0x2bb141=![];return()=>{if(_0x2bb141)return;_0x2bb141=!![],_0x21d01e-=0x1,_0x189ecc();};},'retire'(){return!_0x38e350&&(_0x38e350=new Promise((_0x9ec805,_0x399e3b)=>{_0x5b0ffb=_0x9ec805,_0x4c11c7=_0x399e3b;})),_0x123740=!![],_0x189ecc(),_0x38e350;}};}function buildMcpHttpHeaders(_0x5ad1d2){const _0x3bd3ad={_0x17d8df:0x76,_0x40f9bf:0x20d,_0x3af473:0xc3,_0x37d285:0xef,_0x5a35a4:0x299,_0x20d681:0x150,_0x27b9a1:0x176,_0xdf2182:0x98,_0x5d16e8:0xb6,_0x3c52a3:0xa4,_0x52eb8a:0x2d4,_0xde74bf:0x27b,_0x53bdc4:0x48,_0xbc09e6:0x6,_0x503b46:0x32f,_0x4f2742:0x42d,_0x437249:0x1e7,_0x321c70:0x3f9,_0x6b9bc6:0x8b,_0x475638:0xf7,_0x1f1773:0x90,_0xe16a38:0x1df},_0x54c98d={_0xd39340:0x36},_0x152048={_0x34543e:0x9,_0x224e3a:0x3b,_0x28c026:0xff},_0x91b18a={..._0x5ad1d2[_0xb1fff4(_0x3bd3ad._0x17d8df,0xe5,_0x3bd3ad._0x40f9bf,-_0x3bd3ad._0x3af473)]??{}};_0x5ad1d2[_0x23a19b(0x42,-0x96,0x1a1,_0x3bd3ad._0x37d285)]?.[_0x23a19b(_0x3bd3ad._0x5a35a4,_0x3bd3ad._0x20d681,0x28b,_0x3bd3ad._0x27b9a1)]===_0xb1fff4(_0x3bd3ad._0xdf2182,_0x3bd3ad._0x5d16e8,0x140,_0x3bd3ad._0x3c52a3)&&_0x5ad1d2[_0xb1fff4(0x12e,_0x3bd3ad._0x52eb8a,0x2ee,_0x3bd3ad._0xde74bf)][_0x23a19b(_0x3bd3ad._0x53bdc4,-0x55,-0x199,-_0x3bd3ad._0xbc09e6)]&&_0x91b18a[_0xb1fff4(_0x3bd3ad._0x503b46,0x42a,_0x3bd3ad._0x4f2742,0x407)]===void 0x0&&(_0x91b18a[_0xb1fff4(0x32f,0x39d,_0x3bd3ad._0x437249,_0x3bd3ad._0x321c70)]=_0xb1fff4(_0x3bd3ad._0x6b9bc6,0x159,-0x37,_0x3bd3ad._0x475638)+_0x5ad1d2['auth']['token']);function _0xb1fff4(_0x220814,_0x2a4340,_0x4c71f3,_0x1c3fd6){return _0x8a95cf(_0x220814-_0x152048._0x34543e,_0x1c3fd6,_0x4c71f3-_0x152048._0x224e3a,_0x1c3fd6-_0x152048._0x28c026);}function _0x23a19b(_0x1b4977,_0x46d7d7,_0x539d90,_0x8e8ed1){return _0x8a95cf(_0x8e8ed1- -_0x54c98d._0xd39340,_0x539d90,_0x539d90-0x58,_0x8e8ed1-0x1ca);}return Object[_0x23a19b(0x2b0,_0x3bd3ad._0x1f1773,_0x3bd3ad._0xe16a38,0x189)](_0x91b18a)['length']>0x0?_0x91b18a:void 0x0;}async function connectMcpServer(_0x3ac9de,_0x67e66c,_0x1742ea){const _0x9879e9={_0x330d37:0x2ea,_0x24e0fa:0x1e8,_0x3e7ab3:0x18a,_0x5be397:0xe2,_0x4cba2f:0x16,_0x5a140e:0x1d1,_0x21e825:0x310,_0x16910f:0x33d,_0x1a9ee1:0x465,_0x3c3f52:0x356,_0x5d1050:0x4a,_0x5040f5:0x10f,_0x4f4780:0x5f,_0x5e7ef3:0x18d,_0x3a39ca:0x26,_0x23b661:0x99,_0x85393b:0x35,_0x5d068f:0x382,_0x4ea1ca:0x4ea,_0x1928f1:0x273,_0x3a3e75:0x2ac,_0x15e1ae:0x31f,_0x4dc687:0xff,_0x4bd2cc:0x112,_0xf10e54:0x412,_0x5a0a5e:0x279,_0x36a518:0x3a4,_0x3e0b3b:0x2d2,_0x5d3614:0x2d8,_0x444f98:0x2ce,_0x4a3689:0x130,_0x22fdf4:0x2fa,_0x126395:0x2a9,_0x431719:0x328,_0x476150:0x301,_0x446bc4:0x276,_0x549254:0xb8,_0x38b500:0x150,_0x476814:0x2e,_0x3cf27b:0x1cd,_0xc39386:0x3d3,_0x1d2588:0x38b,_0xd5dbaa:0x262,_0x1877c5:0xa6,_0x18a157:0x194,_0x44ea28:0x274,_0x521e41:0xed,_0x4170c8:0x2fb,_0x542fc7:0x45a,_0x1c3f4a:0x3dd,_0x1d6c72:0x256,_0x5d618b:0x29a,_0x288295:0x265,_0x320384:0x23b,_0x3adcef:0x360,_0x51b44e:0x27c,_0x2194b5:0x25d,_0x4be56f:0x288,_0x1dc78a:0x22e,_0x1f413f:0x1f2,_0x501c79:0x343,_0x4b3489:0x2bc,_0x28d9c4:0x131,_0x4f545d:0x17c,_0x344df1:0x18a,_0x355023:0x33b,_0x39d1c0:0x8c,_0x3a59c9:0x21,_0x41ae87:0x2a3,_0x493288:0x1fc,_0x2cb2d7:0x10b,_0xf0172f:0x332,_0x4fec17:0x30a,_0x295869:0x274,_0x1926ba:0x189,_0x4ba188:0x3e6},_0x4afdf8={_0x59a626:0xf0,_0x28988d:0x8,_0x471e88:0x8f,_0x55ebd5:0x1d9,_0x348da2:0x155,_0x4f8f0b:0x107,_0x2b231a:0x1ba},_0x211736={_0x2de886:0x26b,_0x3e526d:0x12},_0x102a2c={_0x1fa3b7:0x2a6,_0x1bb3af:0x52},_0x5430f7={_0x1dfdd5:0xe5,_0x389914:0xd8,_0x146953:0x219,_0x4b85ef:0x5c4,_0x55315f:0x42a},_0x1566ab={_0x3f4326:0x189},_0x43d854={_0x16dc33:0x249},_0x4ac577={_0x5500dc:0x98},_0x22bc7e={_0x5f94ef:0x7cd,_0x3a083d:0x6d3,_0x147318:0x61f,_0x341561:0x73f,_0x2f2094:0x4c6,_0x262d23:0x522,_0x2198a3:0x653},_0x2161f9={_0x56644e:0x421,_0x2a29e3:0x1e},_0x59d156={_0x2df19f:0x417,_0x2dc05c:0x53a,_0x2b3db7:0x2b5,_0x50a634:0x52a,_0x5baa55:0x17a,_0xe30d1a:0x12e},_0x1afbf7={_0x3824f2:0x1ea},_0x462b72={_0x9466bf:0x534,_0x16c7d0:0x416,_0x185688:0x32},_0x49c7dd={_0x30b3e6:0x1c0,_0x5a08e3:0x143},_0x5ec42f={_0x5daf46:0xed},_0x5372da=new Client({'name':_0x56db92(0x40a,_0x9879e9._0x330d37,0x395,_0x9879e9._0x24e0fa),'version':_0x56db92(_0x9879e9._0x3e7ab3,_0x9879e9._0x5be397,-_0x9879e9._0x4cba2f,0x92)}),_0x20deb3=_0x1742ea?.['timeoutSource']??createMcpTimeoutSource(DEFAULT_MCP_TIMEOUT_MS),_0x3904e8=new Set();function _0x56db92(_0x10a48b,_0x4dc821,_0x107aa7,_0x386cf1){return _0x8a95cf(_0x4dc821-0xb,_0x386cf1,_0x107aa7-0xfa,_0x386cf1-0x60);}let _0x134a03,_0x1530b8=![];function _0x18915b(_0x47a7b8,_0x4c4b8d,_0x50ee39,_0x319e16){return _0x8a95cf(_0x47a7b8-0x14e,_0x50ee39,_0x50ee39-0xc3,_0x319e16-_0x5ec42f._0x5daf46);}const _0x47ccb2=()=>{const _0x573a61={_0x60597e:0x193};if(_0x1530b8||_0x134a03)return;_0x134a03={'code':_0x79fb12(_0x462b72._0x9466bf,0x4a8,0x3ba,_0x462b72._0x16c7d0),'cause':new Error(_0x667416(0xb0,0x9b,-0x12b,_0x462b72._0x185688))};function _0x79fb12(_0x266934,_0x45234d,_0x5a8737,_0x3e953c){return _0x18915b(_0x45234d-0xb8,_0x45234d-_0x573a61._0x60597e,_0x5a8737,_0x3e953c-0x1d6);}function _0x667416(_0x191878,_0x2301fd,_0x3e8e8c,_0x484565){return _0x56db92(_0x191878-_0x49c7dd._0x30b3e6,_0x484565- -_0x49c7dd._0x5a08e3,_0x3e8e8c-0x11f,_0x2301fd);}for(const _0x5529ec of _0x3904e8){try{_0x5529ec(_0x134a03);}catch{}}};_0x5372da[_0x18915b(0x253,_0x9879e9._0x5a140e,0x344,_0x9879e9._0x21e825)]=()=>{const _0x3f539a={_0x342665:0x1bd};function _0x1ca419(_0x51c3d3,_0x1449a2,_0x259f52,_0x46360e){return _0x56db92(_0x51c3d3-0x32,_0x51c3d3-0x219,_0x259f52-_0x1afbf7._0x3824f2,_0x46360e);}function _0x1089bd(_0x26f449,_0x309db2,_0x2951e8,_0x2404ff){return _0x18915b(_0x26f449- -0x2d4,_0x309db2-0x24,_0x2951e8,_0x2404ff-_0x3f539a._0x342665);}console[_0x1ca419(_0x59d156._0x2df19f,0x41f,_0x59d156._0x2dc05c,_0x59d156._0x2b3db7)](_0x1ca419(_0x59d156._0x50a634,0x5b4,0x4d8,0x6e9),{'server':_0x3ac9de,'code':_0x1089bd(_0x59d156._0x5baa55,_0x59d156._0xe30d1a,0x59,0x108)});},_0x5372da[_0x18915b(0x328,_0x9879e9._0x16910f,_0x9879e9._0x1a9ee1,_0x9879e9._0x3c3f52)]=_0x47ccb2;try{if(_0x67e66c[_0x18915b(0x1cb,0x19b,0x7b,0x115)]==='http'||_0x67e66c[_0x56db92(-0x26,_0x9879e9._0x5d1050,-_0x9879e9._0x5040f5,_0x9879e9._0x4f4780)]){if(!_0x67e66c[_0x18915b(_0x9879e9._0x5e7ef3,-_0x9879e9._0x3a39ca,_0x9879e9._0x23b661,_0x9879e9._0x85393b)])throw new Error('MCP\x20server\x20'+_0x3ac9de+_0x18915b(_0x9879e9._0x5d068f,0x1ee,0x498,_0x9879e9._0x4ea1ca));if(_0x67e66c[_0x18915b(_0x9879e9._0x1928f1,0x28b,0x1c3,_0x9879e9._0x3a3e75)]?.[_0x56db92(_0x9879e9._0x15e1ae,0x1b7,0x1b1,_0x9879e9._0x4dc687)]===_0x56db92(0x1c1,0x276,_0x9879e9._0x4bd2cc,_0x9879e9._0xf10e54)&&!_0x1742ea?.[_0x56db92(_0x9879e9._0x5a0a5e,0x276,0x399,_0x9879e9._0x36a518)])throw new Error(_0x56db92(0x29a,_0x9879e9._0x3e0b3b,_0x9879e9._0x5d3614,0x48a)+_0x3ac9de+'\x20requires\x20OAuth\x20connection\x20options');const _0x4c35da=buildMcpHttpHeaders(_0x67e66c),_0x1dcf58=_0x67e66c[_0x56db92(_0x9879e9._0x444f98,_0x9879e9._0x4a3689,-0x13,0x33)]?.[_0x18915b(_0x9879e9._0x22fdf4,_0x9879e9._0x126395,0x205,_0x9879e9._0x431719)]==='oauth'&&_0x1742ea?.[_0x56db92(_0x9879e9._0x476150,_0x9879e9._0x446bc4,0x2a3,0x23f)]?createMcpOAuthProvider({'serverName':_0x3ac9de,'callbackUrl':_0x1742ea[_0x56db92(0x2d7,0x276,_0x9879e9._0x549254,0x3c9)][_0x18915b(_0x9879e9._0x38b500,-_0x9879e9._0x476814,0x36,_0x9879e9._0x3cf27b)],'storageDir':_0x1742ea['oauth'][_0x18915b(0x3cc,_0x9879e9._0xc39386,0x277,_0x9879e9._0x1d2588)],'config':_0x67e66c[_0x56db92(_0x9879e9._0xd5dbaa,0x130,-0x85,-0x77)],'onRedirect':_0x149150=>_0x1742ea[_0x56db92(0x350,0x276,0x319,0x3a6)]?.['onRedirect'](_0x3ac9de,_0x149150)}):void 0x0,_0x53641=new StreamableHTTPClientTransport(new URL(_0x67e66c[_0x56db92(-_0x9879e9._0x1877c5,0x4a,_0x9879e9._0x18a157,0x44)]),{'authProvider':_0x1dcf58,'requestInit':_0x4c35da?{'headers':_0x4c35da}:void 0x0});await _0x5372da[_0x18915b(_0x9879e9._0x44ea28,0xdb,_0x9879e9._0x521e41,_0x9879e9._0x4170c8)](_0x53641,{'timeout':_0x20deb3[_0x18915b(0x43b,0x384,_0x9879e9._0x542fc7,0x411)](),..._0x1742ea?.[_0x18915b(_0x9879e9._0x1c3f4a,0x4cb,0x3a7,_0x9879e9._0x1d6c72)]!==void 0x0?{'signal':_0x1742ea[_0x56db92(0x393,_0x9879e9._0x5d618b,0x217,0x1b0)]}:{}});}else{if(!_0x67e66c[_0x56db92(_0x9879e9._0x288295,0x236,_0x9879e9._0x320384,0x20a)])throw new Error(_0x56db92(0x17c,0x2d2,_0x9879e9._0x3adcef,0x286)+_0x3ac9de+_0x18915b(_0x9879e9._0x51b44e,0x1a7,_0x9879e9._0x2194b5,_0x9879e9._0x4be56f));const _0x2a1b4c=new StdioClientTransport({'command':_0x67e66c['command'],'args':_0x67e66c[_0x56db92(_0x9879e9._0x1dc78a,_0x9879e9._0x1f413f,_0x9879e9._0x501c79,_0x9879e9._0x4b3489)]??[],'env':_0x67e66c[_0x56db92(_0x9879e9._0x28d9c4,_0x9879e9._0x4f545d,_0x9879e9._0x344df1,_0x9879e9._0x355023)],'stderr':'pipe'});await _0x5372da[_0x56db92(-_0x9879e9._0x39d1c0,0x131,0x1f,-_0x9879e9._0x3a59c9)](_0x2a1b4c,{'timeout':_0x20deb3['get'](),..._0x1742ea?.[_0x56db92(_0x9879e9._0x41ae87,0x29a,_0x9879e9._0x493288,_0x9879e9._0x2cb2d7)]!==void 0x0?{'signal':_0x1742ea[_0x18915b(_0x9879e9._0x1c3f4a,0x2d5,_0x9879e9._0xf0172f,_0x9879e9._0x4fec17)]}:{}});}}catch(_0x5c6148){throw createOwnedMcpSafeError({'serverName':_0x3ac9de,'operation':_0x18915b(_0x9879e9._0x295869,_0x9879e9._0x1926ba,_0x9879e9._0x4ba188,0x203),'error':_0x5c6148});}return{async 'listTools'(_0x266178){const _0x196534={_0x50c3d4:0x447};function _0x2ac656(_0x8e5cb8,_0x46d32e,_0x48c9e0,_0x58acbe){return _0x56db92(_0x8e5cb8-0x1f0,_0x48c9e0-_0x196534._0x50c3d4,_0x48c9e0-0x17f,_0x58acbe);}function _0x2d3700(_0x48f8af,_0x7e29b,_0x15831c,_0x58ce95){return _0x56db92(_0x48f8af-0x15,_0x7e29b-_0x2161f9._0x56644e,_0x15831c-_0x2161f9._0x2a29e3,_0x48f8af);}const _0x2af914=_0x266178?.[_0x2ac656(0x53c,0x64b,0x6e1,_0x22bc7e._0x5f94ef)]??_0x1742ea?.['signal'];try{return await _0x5372da[_0x2ac656(_0x22bc7e._0x3a083d,0x56e,_0x22bc7e._0x147318,0x5e0)](void 0x0,{'timeout':_0x20deb3[_0x2ac656(0x608,0x65e,_0x22bc7e._0x341561,0x8d8)](),..._0x2af914!==void 0x0?{'signal':_0x2af914}:{}});}catch(_0x359601){throw createOwnedMcpSafeError({'serverName':_0x3ac9de,'operation':_0x2d3700(_0x22bc7e._0x2f2094,0x687,_0x22bc7e._0x262d23,_0x22bc7e._0x2198a3),'error':_0x359601});}},'onTerminalError'(_0x3b24f5){const _0x5ca8ca={_0x576865:0x6f};_0x3904e8[_0x59edb8(0x16b,0x12e,_0x43d854._0x16dc33,0x3df)](_0x3b24f5);function _0x2bd4f5(_0x5c7990,_0x46f179,_0x17b89d,_0x11563e){return _0x56db92(_0x5c7990-0xf5,_0x5c7990-0x3b3,_0x17b89d-_0x5ca8ca._0x576865,_0x11563e);}const _0x2745cb=_0x134a03;function _0x59edb8(_0x495cf8,_0x445db3,_0x376c5b,_0x311603){return _0x56db92(_0x495cf8-_0x4ac577._0x5500dc,_0x376c5b-0xd0,_0x376c5b-0x8d,_0x311603);}return _0x2745cb&&queueMicrotask(()=>{if(_0x3904e8['has'](_0x3b24f5))_0x3b24f5(_0x2745cb);}),()=>_0x3904e8[_0x2bd4f5(0x4b5,0x343,0x398,0x35e)](_0x3b24f5);},async 'callTool'(_0x141b08){const _0x389c00={_0xbd7eed:0x185,_0x57b89a:0xdf,_0x294b13:0xc9};function _0x25a85b(_0x43bdf1,_0x4b4158,_0x31e900,_0x50256d){return _0x56db92(_0x43bdf1-_0x389c00._0xbd7eed,_0x50256d- -_0x389c00._0x57b89a,_0x31e900-_0x389c00._0x294b13,_0x43bdf1);}function _0x273eb4(_0x5a5d0b,_0x329230,_0x389c20,_0x12d41b){return _0x56db92(_0x5a5d0b-0x12b,_0x389c20-0x1bc,_0x389c20-_0x1566ab._0x3f4326,_0x12d41b);}try{return await _0x5372da['request']({'method':'tools/call','params':_0x141b08},CallToolResultSchema,{'timeout':_0x20deb3[_0x25a85b(_0x5430f7._0x1dfdd5,0x67,_0x5430f7._0x389914,_0x5430f7._0x146953)]()});}catch(_0x28cbb9){throw createOwnedMcpSafeError({'serverName':_0x3ac9de,'operation':_0x273eb4(_0x5430f7._0x4b85ef,_0x5430f7._0x55315f,0x4cf,0x651),'error':_0x28cbb9});}},async 'close'(){_0x1530b8=!![],_0x5372da[_0x1e53c4(-_0x4afdf8._0x59a626,-0x2e0,-0x196,_0x4afdf8._0x28988d)]=void 0x0,_0x5372da['onclose']=void 0x0;function _0x1e53c4(_0x18b247,_0x3eca7a,_0x2d2400,_0x986690){return _0x56db92(_0x18b247-0x111,_0x2d2400- -_0x102a2c._0x1fa3b7,_0x2d2400-_0x102a2c._0x1bb3af,_0x3eca7a);}_0x3904e8[_0xee34d1(_0x4afdf8._0x471e88,-_0x4afdf8._0x55ebd5,-_0x4afdf8._0x348da2,-0xf4)]();function _0xee34d1(_0x475a91,_0x5cb001,_0x3d575c,_0x210289){return _0x18915b(_0x210289- -_0x211736._0x2de886,_0x5cb001-0x17e,_0x3d575c,_0x210289-_0x211736._0x3e526d);}try{await _0x5372da['close']();}catch(_0x2120e1){throw createOwnedMcpSafeError({'serverName':_0x3ac9de,'operation':_0xee34d1(0x12d,_0x4afdf8._0x4f8f0b,0x16b,_0x4afdf8._0x2b231a),'error':_0x2120e1});}}};}async function createMcpConnectionGeneration(_0x31443e){const _0x18dfa4={_0x251752:0x4d1,_0xdfcbf9:0x39b,_0x444fc4:0x65a,_0x1514ce:0x4ab,_0x73ceb4:0x43d,_0x1553fe:0x759,_0x33bf95:0x63a,_0x56e386:0x636,_0x2318f7:0x6d0,_0x3a18e9:0x784,_0x3c2525:0x1f1,_0x2d7b87:0x483,_0x115606:0x621,_0x259e7f:0x4fe,_0x78d874:0x271,_0x589321:0x3ae,_0x2915a9:0x30f,_0x5e1dc1:0x49e,_0x49e9aa:0x624},_0x485dae={_0x236632:0x382,_0x3e9815:0x32b},_0x518559={_0x25b706:0x35f,_0x13df9a:0xab},_0x3ea19e={_0x1a9779:0x328,_0x15a53a:0x235,_0xf6c3d3:0x1d5},_0x335a4d={_0x41f517:0x451,_0x45bb6a:0x408,_0x1932f9:0x26b},_0x179a71={_0x15d719:0x98,_0x40f770:0x308},_0x9badaa={_0x613021:0x160,_0x35a837:0x301},_0x35bd6a={_0xda5553:0xa5},_0x4b0284={_0x408f9c:0x134},_0x5b6d4c={_0x4ebcdb:0x12,_0x149774:0xeb},_0x4a7583={_0x44133a:0x364,_0x448f10:0x80};function _0x3f2579(_0x151a7b,_0x19c0a0,_0x1bddd0,_0x3101eb){return _0x12dc71(_0x1bddd0,_0x19c0a0-0x14,_0x19c0a0-_0x4a7583._0x44133a,_0x3101eb-_0x4a7583._0x448f10);}const _0x52ef44=_0x31443e['connect']??connectMcpServer,_0x2e4607=_0x31443e[_0x3f2579(0x4b3,_0x18dfa4._0x251752,0x45e,0x645)]===void 0x0,_0x427c16={..._0x31443e[_0x3f2579(_0x18dfa4._0xdfcbf9,0x551,_0x18dfa4._0x444fc4,0x580)],'timeoutSource':_0x31443e[_0x3f2579(_0x18dfa4._0x1514ce,0x40f,0x3c5,_0x18dfa4._0x73ceb4)],..._0x31443e[_0x3f2579(_0x18dfa4._0x1553fe,_0x18dfa4._0x33bf95,0x5d5,0x68f)]!==void 0x0?{'signal':_0x31443e[_0x3f2579(_0x18dfa4._0x56e386,0x63a,_0x18dfa4._0x2318f7,_0x18dfa4._0x3a18e9)]}:{}};let _0x59ba90;try{_0x59ba90=await _0x52ef44(_0x31443e[_0x2ea27c(_0x18dfa4._0x3c2525,0x3b9,0x3e1,0x36e)],_0x31443e[_0x3f2579(_0x18dfa4._0x2d7b87,0x535,0x53e,_0x18dfa4._0x115606)],_0x427c16);}catch(_0x3aacd9){throw mapOwnedMcpBoundaryError({'serverName':_0x31443e[_0x2ea27c(_0x18dfa4._0x259e7f,_0x18dfa4._0x78d874,0x26d,0x36e)],'operation':_0x2ea27c(_0x18dfa4._0x589321,0x3fa,0x3b5,0x369),'error':_0x3aacd9},_0x2e4607);}const _0x13337f=new Set();let _0x4e16aa;const _0x231055=_0x59ba90[_0x2ea27c(0x5e8,0x3b4,0x660,0x508)]?.(_0x32f69e=>{if(_0x4e16aa)return;_0x4e16aa=_0x32f69e;for(const _0x18db7e of _0x13337f)_0x18db7e(_0x32f69e);});let _0x3aa834=![];const _0x546ad8=()=>{if(_0x3aa834)return;function _0x395bfc(_0x1fd257,_0x365308,_0x8acb1f,_0x1496aa){return _0x3f2579(_0x1fd257-0x1e8,_0x365308- -0x3e6,_0x8acb1f,_0x1496aa-0x17f);}_0x3aa834=!![],_0x13337f[_0x395bfc(-0xe8,-_0x5b6d4c._0x4ebcdb,-0x8c,_0x5b6d4c._0x149774)](),_0x231055?.();};let _0x559dbb;function _0x2ea27c(_0x3ce897,_0x4167fa,_0x4fc601,_0x2939a9){return _0x8a95cf(_0x2939a9-0x243,_0x3ce897,_0x4fc601-_0x4b0284._0x408f9c,_0x2939a9-0xd5);}try{_0x559dbb=await _0x59ba90['listTools'](_0x31443e['signal']!==void 0x0?{'signal':_0x31443e[_0x2ea27c(0x50c,_0x18dfa4._0x2915a9,0x5ed,0x4d2)]}:void 0x0);}catch(_0x27e0fb){const _0x3b6e76=mapOwnedMcpBoundaryError({'serverName':_0x31443e['serverName'],'operation':_0x2ea27c(0x344,0x458,0x63a,_0x18dfa4._0x5e1dc1),'error':_0x27e0fb},_0x2e4607);_0x546ad8();try{await _0x59ba90[_0x3f2579(_0x18dfa4._0x49e9aa,0x682,0x638,0x815)]();}catch{}throw _0x3b6e76;}const _0x1f7951=[..._0x559dbb['tools']],_0x42e36f={async 'callTool'(_0x3d343b){function _0xaa6f5b(_0xb6dddc,_0x6bad43,_0x271361,_0x3f93f4){return _0x2ea27c(_0x271361,_0x6bad43-0x11f,_0x271361-_0x35bd6a._0xda5553,_0x6bad43- -0x20e);}try{return await _0x59ba90['callTool'](_0x3d343b);}catch(_0x265412){throw mapOwnedMcpBoundaryError({'serverName':_0x31443e[_0xaa6f5b(0x16,_0x9badaa._0x613021,_0x9badaa._0x35a837,0x224)],'operation':'toolCall','error':_0x265412},_0x2e4607);}}},_0x5b2a41=createMcpGenerationLifecycle(async()=>{_0x546ad8();function _0x431464(_0x47d67d,_0xec42a3,_0x49e27e,_0x4d6dbc){return _0x2ea27c(_0x49e27e,_0xec42a3-0x16f,_0x49e27e-0x47,_0x47d67d-0x102);}function _0x3f19ff(_0xb1aef7,_0x182921,_0xdfaa26,_0x1170ae){return _0x2ea27c(_0x1170ae,_0x182921-0x5a,_0xdfaa26-_0x179a71._0x15d719,_0xdfaa26- -_0x179a71._0x40f770);}try{await _0x59ba90['close']();}catch(_0x16f50b){throw mapOwnedMcpBoundaryError({'serverName':_0x31443e[_0x431464(0x470,0x331,_0x335a4d._0x41f517,_0x335a4d._0x45bb6a)],'operation':_0x3f19ff(0xae,_0x335a4d._0x1932f9,0x212,0x1c1),'error':_0x16f50b},_0x2e4607);}});return{'client':_0x59ba90,'descriptors':_0x1f7951,'lifecycle':_0x5b2a41,'projectTools'(_0x1724da){return projectMcpTools({..._0x1724da,'descriptors':_0x1f7951,'client':_0x42e36f,'lifecycle':_0x5b2a41});},'onTerminalError'(_0x28197d){const _0x38ed94={_0x6e651:0x8b,_0x4dc0d0:0x1d},_0x2e8720={_0x59b01b:0xe1,_0x161654:0x123};function _0x5b7a13(_0x4824ac,_0x12f91e,_0x37a386,_0x140c29){return _0x3f2579(_0x4824ac-_0x2e8720._0x59b01b,_0x140c29- -0x34f,_0x37a386,_0x140c29-_0x2e8720._0x161654);}if(_0x3aa834)return()=>{};_0x13337f[_0x5b7a13(0x5a,_0x485dae._0x236632,_0x485dae._0x3e9815,0x1ca)](_0x28197d);const _0x1ecc57=_0x4e16aa;_0x1ecc57&&queueMicrotask(()=>{function _0x5a9dc5(_0x42a2ab,_0x4065eb,_0x29d84e,_0x27a290){return _0x5b7a13(_0x42a2ab-0xb6,_0x4065eb-_0x38ed94._0x6e651,_0x29d84e,_0x4065eb-_0x38ed94._0x4dc0d0);}if(_0x13337f[_0x5a9dc5(_0x3ea19e._0x1a9779,_0x3ea19e._0x15a53a,_0x3ea19e._0xf6c3d3,0x3e3)](_0x28197d))_0x28197d(_0x1ecc57);});function _0x249b15(_0x505c90,_0x118ae2,_0x1d56a8,_0x25d34c){return _0x3f2579(_0x505c90-0x14a,_0x118ae2- -_0x518559._0x25b706,_0x25d34c,_0x25d34c-_0x518559._0x13df9a);}return()=>_0x13337f[_0x249b15(0x28b,0x143,0x284,0x26)](_0x28197d);},'retire'(){return _0x546ad8(),_0x5b2a41['retire']();}};}function getCommand(_0x35d3cc){const _0x13d20d={_0x5baaea:0x11e,_0x585a16:0xb1,_0x456102:0x13d,_0x38590e:0x86,_0x463fe8:0x12f,_0x1e2c24:0x2a,_0x5d0b40:0x9b},_0x431e6e={_0x10d574:0x35,_0x33c322:0x1ba},_0x9b5567={_0x5a4a4d:0x61,_0x44a0ad:0xbc};function _0x418bf9(_0x4729bd,_0x294312,_0x3bfe5e,_0x47c7ae){return _0x12dc71(_0x294312,_0x294312-_0x9b5567._0x5a4a4d,_0x4729bd- -0x1a1,_0x47c7ae-_0x9b5567._0x44a0ad);}if(_0x35d3cc&&typeof _0x35d3cc===_0x1f583b(0x274,0x1dd,_0x13d20d._0x5baaea,0x142)&&!Array[_0x418bf9(0x4e,_0x13d20d._0x585a16,_0x13d20d._0x456102,_0x13d20d._0x38590e)](_0x35d3cc)&&typeof _0x35d3cc[_0x1f583b(-0x10d,_0x13d20d._0x463fe8,-0x11a,_0x13d20d._0x1e2c24)]==='string')return _0x35d3cc[_0x418bf9(0xd1,0x28,0x149,0x277)];function _0x1f583b(_0x53ebfd,_0x4fa642,_0x31b7d1,_0x4a9398){return _0x12dc71(_0x53ebfd,_0x4fa642-_0x431e6e._0x10d574,_0x4a9398- -0x248,_0x4a9398-_0x431e6e._0x33c322);}return _0x1f583b(_0x13d20d._0x5d0b40,-0x22,0xda,-0xb0);}var MOCK_WORKSPACE_LISTING=[_0x12dc71(-0xaa,0x28c,0xda,-0xb4),_0x12dc71(0x3d0,0x225,0x236,0x388),_0x8a95cf(0xa5,0xa8,-0xda,-0x26),_0x12dc71(0xd0,0x130,0x286,0x3d4),'src/agent/agent.ts',_0x12dc71(0x35b,0x3d6,0x252,0x87),_0x12dc71(-0x84,0x1c7,0x133,-0x5c),_0x8a95cf(0x79,-0x10c,0x1ac,-0xa4),_0x8a95cf(0x1e5,0x284,0x298,0x132),_0x12dc71(0x4de,0x2ab,0x3b1,0x487),_0x12dc71(0x19d,0x27f,0x17c,0x1c0),_0x12dc71(0x27e,0x398,0x23f,0xef),_0x12dc71(-0xa4,-0x24,0xf8,0x299),_0x8a95cf(0x130,0xe6,0x59,0xfa),_0x8a95cf(0x32f,0x3c4,0x1e1,0x25d),'src/formats/provider-adapters.test.ts',_0x8a95cf(0x333,0x345,0x3c0,0x35f)][_0x8a95cf(0x197,0x42,0x259,0x197)]('\x0a'),SHELL_EXEC_TOOL={'name':'Bash','description':_0x8a95cf(0x1f1,0x12f,0xaa,0x1d1),'input_schema':{'type':'object','properties':{'command':{'type':'string'}},'required':[_0x12dc71(0x1e7,0x339,0x272,0x380)]}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x34bcbe){return{'output':_0x34bcbe,'structured':{'value':_0x34bcbe}};}function createUnknownToolResult(_0x2749d7){const _0x5cee06={_0xa825b6:0x5b,_0xe3e72:0x63,_0x3a08b2:0x106},_0x448d1b={_0x2592dc:0x1e0};function _0x32212a(_0x30a639,_0x23e141,_0x498ef6,_0x453ee2){return _0x12dc71(_0x23e141,_0x23e141-_0x448d1b._0x2592dc,_0x498ef6- -0x1fc,_0x453ee2-0xd1);}function _0x4a464a(_0x16354c,_0x573415,_0x1442b6,_0x38776c){return _0x8a95cf(_0x16354c- -0x20d,_0x38776c,_0x1442b6-0xcf,_0x38776c-0x63);}return{'callId':_0x2749d7['id'],'toolName':_0x2749d7[_0x4a464a(-_0x5cee06._0xa825b6,_0x5cee06._0xe3e72,0x38,0xbd)],'status':'error','output':'Unknown\x20tool:\x20'+_0x2749d7[_0x4a464a(-0x5b,-0x39,_0x5cee06._0x3a08b2,0xa)],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x29ebc5,_0x2096ba){const _0xfa0cb1={_0x165ed8:0x419,_0x2182ef:0x2e1,_0x4cc70c:0x107,_0x5e0f17:0x53,_0x574c8d:0x60},_0x39a98a={_0x216307:0x142,_0x50d889:0x8e,_0x2dbc5e:0x1df},_0x5b084f={_0x5cc272:0xe8,_0x3c1b56:0xcb};function _0x354b67(_0x404ce0,_0x5679f5,_0x47c860,_0x35c4d5){return _0x12dc71(_0x47c860,_0x5679f5-0x107,_0x5679f5-_0x5b084f._0x5cc272,_0x35c4d5-_0x5b084f._0x3c1b56);}function _0x317852(_0x163693,_0x461a59,_0x1e5916,_0x59f8b4){return _0x8a95cf(_0x461a59- -_0x39a98a._0x216307,_0x59f8b4,_0x1e5916-_0x39a98a._0x50d889,_0x59f8b4-_0x39a98a._0x2dbc5e);}return{'callId':_0x29ebc5['id'],'toolName':_0x29ebc5[_0x354b67(_0xfa0cb1._0x165ed8,_0xfa0cb1._0x2182ef,0x2f6,0x26a)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x29ebc5[_0x317852(_0xfa0cb1._0x4cc70c,-_0xfa0cb1._0x5e0f17,-0x72,-_0xfa0cb1._0x574c8d)]),'exitCode':0x0},'chunks':[_0x2096ba],'meta':createMeta()};}function createMockToolRuntime(){const _0x17cc7c={_0x6ebb55:0x601,_0x2bea45:0x74a},_0x46344e={_0x3c15a8:0xb7,_0x1540d0:0xcd,_0x4f646d:0x7e},_0x14ddf5=async(_0x61f0e8,_0x5508c1)=>{if(_0x61f0e8[_0x25c169(-_0x46344e._0x3c15a8,-_0x46344e._0x1540d0,-0x200,-_0x46344e._0x4f646d)]!=='Bash')return createUnknownToolResult(_0x61f0e8);function _0x25c169(_0xd43450,_0x304677,_0x35a294,_0xad7f3a){return _0x2a64(_0xd43450- -0x3b6,_0x35a294);}const _0x3aff78=createOutputChunk(MOCK_WORKSPACE_LISTING);return createSuccessToolResult(_0x61f0e8,_0x3aff78);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x380504,_0x5eb2c0){function _0x144688(_0x2d78c6,_0x2447fe,_0x549934,_0x3d2d14){return _0x2a64(_0x2d78c6-0x17e,_0x3d2d14);}return await Promise['all'](_0x380504[_0x144688(_0x17cc7c._0x6ebb55,0x76a,_0x17cc7c._0x2bea45,0x5bf)](async _0x421afa=>{return await _0x14ddf5(_0x421afa,_0x5eb2c0);}));},async 'execute'(_0x48a4ab,_0x546f18){return await _0x14ddf5(_0x48a4ab,_0x546f18);}};}var delegatedRunCounter=0x0;function createDelegatedRunId(){const _0x3bb14a={_0x4b67a5:0x2ad},_0x5e1d42={_0x8cd8c6:0xf1};delegatedRunCounter+=0x1;function _0x182da4(_0x391671,_0xd205de,_0x35a888,_0x7cff70){return _0x12dc71(_0xd205de,_0xd205de-0x12f,_0x7cff70-0x299,_0x7cff70-_0x5e1d42._0x8cd8c6);}return _0x182da4(0x4e4,0x482,_0x3bb14a._0x4b67a5,0x44d)+delegatedRunCounter;}async function resolveDelegatedAgentOptions(_0x3e34a9,_0x2493f1){const _0x4d6de3={_0x2d2d6e:0x4c0,_0x81e7f2:0x541},_0x231a93={_0x51926a:0xd9,_0xfe1010:0x2f2,_0xab94e1:0x10a};function _0x5628f6(_0x763386,_0x2a3081,_0x5228fd,_0x2ef409){return _0x12dc71(_0x763386,_0x2a3081-_0x231a93._0x51926a,_0x5228fd-_0x231a93._0xfe1010,_0x2ef409-_0x231a93._0xab94e1);}return typeof _0x3e34a9===_0x5628f6(0x5c7,_0x4d6de3._0x2d2d6e,0x40f,_0x4d6de3._0x81e7f2)?await _0x3e34a9(_0x2493f1):_0x3e34a9;}function awaitWithAbort2(_0x3fbc45,_0x3c216b){const _0x46155e={_0x246f9c:0x4ff,_0x2e2ac2:0x368},_0x2a2fb3={_0x3a6eb1:0x30d,_0x56f33d:0x36a},_0x22721c={_0x51f9b1:0x3a9};return throwIfAborted(_0x3c216b),new Promise((_0x8044a2,_0x4083fa)=>{const _0x508f88={_0x2db42d:0x51};function _0x3c5932(_0x18c8e9,_0x5cefb8,_0x4f86b8,_0xcadef8){return _0x2a64(_0x4f86b8-_0x22721c._0x51f9b1,_0x5cefb8);}let _0x21f18f=![];const _0x9b02e2=addAbortListener(_0x3c216b,()=>{function _0x599923(_0xb2f043,_0x217221,_0x1def71,_0x39e8ea){return _0x2a64(_0x1def71-_0x508f88._0x2db42d,_0x39e8ea);}if(_0x21f18f)return;_0x21f18f=!![],_0x4083fa(toAbortError(_0x3c216b[_0x599923(0x4c2,0x36d,_0x2a2fb3._0x3a6eb1,_0x2a2fb3._0x56f33d)]));});_0x3fbc45[_0x3c5932(0x375,0x46a,_0x46155e._0x246f9c,_0x46155e._0x2e2ac2)](_0x1af70e=>{if(_0x21f18f)return;_0x21f18f=!![],_0x9b02e2(),_0x8044a2(_0x1af70e);},_0x4f8bbf=>{if(_0x21f18f)return;_0x21f18f=!![],_0x9b02e2(),_0x4083fa(_0x4f8bbf);});});}function getDelegatedAgentDefinition(_0x775039,_0x4344a8){const _0x4a3331={_0x35d476:0x2c1,_0xedc2d3:0x39b},_0x2d4597={_0x276743:0x250,_0x4f2f2e:0x1f4,_0x3546f7:0x6f};function _0x104d38(_0xff0330,_0x22633e,_0xb959ef,_0x261f70){return _0x8a95cf(_0x22633e-_0x2d4597._0x276743,_0xb959ef,_0xb959ef-_0x2d4597._0x4f2f2e,_0x261f70-_0x2d4597._0x3546f7);}return _0x775039[_0x104d38(0x40e,0x453,_0x4a3331._0x35d476,_0x4a3331._0xedc2d3)]?.[_0x4344a8];}function createRunSummary(_0x34ec47){const _0x1e9791={_0x449a04:0xf2,_0xf3c8ab:0x5e,_0x34cd25:0x36,_0x5244f8:0x493,_0x400d04:0x1d5,_0x1d4bab:0xa3,_0x258053:0x551,_0x4d6b7f:0x3b0,_0x477599:0x167,_0x33a6ac:0x22b,_0x1eea79:0x21b,_0x3d204d:0x177,_0x521b8a:0x60,_0x1d5bbb:0x8e,_0x2e96ee:0xc0,_0x47bdea:0x43,_0x46b9ab:0x48f,_0x573f76:0x563,_0x52fa92:0x6a8,_0x3a410b:0xab,_0x5d0931:0x17c,_0x4524d0:0x298,_0x118495:0x19c,_0x488724:0x16e,_0x408cc3:0x137,_0x1ffde4:0x2dc,_0x4c6830:0x2fa},_0x196868={_0x538f7f:0x1b7};function _0x2164ea(_0x17676f,_0x3b47da,_0xfc6ec4,_0x32a663){return _0x8a95cf(_0x17676f- -0xeb,_0x3b47da,_0xfc6ec4-0x20,_0x32a663-_0x196868._0x538f7f);}function _0x1ebe9e(_0x9fb6dd,_0x23b0b6,_0x57fc6b,_0x1dc459){return _0x12dc71(_0x9fb6dd,_0x23b0b6-0x1a9,_0x57fc6b-0x199,_0x1dc459-0x19);}return{'runId':_0x34ec47[_0x2164ea(-0x7d,-_0x1e9791._0x449a04,-_0x1e9791._0xf3c8ab,-_0x1e9791._0x34cd25)],'agentId':_0x34ec47[_0x1ebe9e(_0x1e9791._0x5244f8,0x2d3,0x3af,0x4a3)],..._0x34ec47['sessionId']!==void 0x0?{'sessionId':_0x34ec47['sessionId']}:{},'status':_0x34ec47[_0x2164ea(_0x1e9791._0x400d04,0x124,0x2fd,_0x1e9791._0x1d4bab)],'parentSessionId':_0x34ec47[_0x1ebe9e(_0x1e9791._0x258053,0x537,0x3ec,_0x1e9791._0x4d6b7f)],..._0x34ec47[_0x2164ea(_0x1e9791._0x477599,_0x1e9791._0x33a6ac,_0x1e9791._0x1eea79,_0x1e9791._0x3d204d)]!==void 0x0?{'originToolCallId':_0x34ec47[_0x2164ea(0x167,_0x1e9791._0x521b8a,0x22e,_0x1e9791._0x1d5bbb)]}:{},..._0x34ec47[_0x2164ea(_0x1e9791._0x2e96ee,0x20e,0x254,-_0x1e9791._0xf3c8ab)]!==void 0x0?{'errorMessage':_0x34ec47[_0x2164ea(0xc0,_0x1e9791._0x47bdea,0x1a2,0x32)]}:{},..._0x34ec47[_0x1ebe9e(_0x1e9791._0x46b9ab,0x3ea,_0x1e9791._0x573f76,_0x1e9791._0x52fa92)]?.[_0x2164ea(0x11,-_0x1e9791._0x3a410b,-_0x1e9791._0x5d0931,0x8d)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x34ec47[_0x2164ea(_0x1e9791._0x4524d0,_0x1e9791._0x118495,0x373,0x45c)][_0x1ebe9e(_0x1e9791._0x488724,_0x1e9791._0x408cc3,_0x1e9791._0x1ffde4,_0x1e9791._0x4c6830)])}:{}};}function createRunSummaryOutput(_0x3465a9,_0x5dee64){const _0xa4d77b={_0x412c84:0x4c7,_0xe3828d:0x446,_0x49ae0d:0x5d7},_0x354f3b={_0x54c084:0x483,_0x187011:0xdb};function _0x1cc3c2(_0x16d21d,_0xe0fcdd,_0x5adcb0,_0x49ba8a){return _0x12dc71(_0xe0fcdd,_0xe0fcdd-0x15f,_0x16d21d-0x3d7,_0x49ba8a-0x1da);}function _0x1ef8db(_0x209ac6,_0x5bd762,_0x4cc580,_0x58ae74){return _0x8a95cf(_0x5bd762-_0x354f3b._0x54c084,_0x209ac6,_0x4cc580-_0x354f3b._0x187011,_0x58ae74-0xd0);}const _0x5aa975=createRunSummary(_0x3465a9),_0x503aed=_0x5aa975[_0x1ef8db(_0xa4d77b._0x412c84,0x4f7,0x53d,0x435)];return createToolOutput(typeof _0x503aed===_0x1cc3c2(_0xa4d77b._0xe3828d,_0xa4d77b._0x49ae0d,0x2f9,0x3a5)&&_0x503aed['length']>0x0?_0x503aed:_0x5dee64,_0x5aa975);}function getRunTerminalErrorMessage(_0x15263d){const _0x270669={_0x123cfd:0x1d0,_0x560aac:0x3ce,_0xcf3e92:0x29f,_0x56f8c6:0xf0,_0x3d11d7:0x251,_0x58e3e4:0x2d3,_0x17f0fc:0x270,_0x32151a:0x27e,_0x31c242:0x3ec,_0x1f9bd8:0x1ad},_0x8fbc8f={_0x2acacb:0x43},_0x38dabf={_0x57fe95:0x172,_0x349fa0:0x74},_0x5eb1ce=_0x15263d?.['state'][_0x296f5d(0x126,0xe,_0x270669._0x123cfd,-0xa0)]['at'](-0x1);function _0x3cdc81(_0x2fe09e,_0x201f91,_0x2f772f,_0x579b79){return _0x8a95cf(_0x2fe09e-0x3e9,_0x201f91,_0x2f772f-_0x38dabf._0x57fe95,_0x579b79-_0x38dabf._0x349fa0);}if(_0x5eb1ce?.['status']===_0x296f5d(_0x270669._0x560aac,_0x270669._0xcf3e92,0x212,_0x270669._0x56f8c6)&&_0x5eb1ce['output'][_0x296f5d(0x288,_0x270669._0x3d11d7,_0x270669._0x58e3e4,0x354)]()[_0x296f5d(_0x270669._0x17f0fc,_0x270669._0x32151a,_0x270669._0x31c242,_0x270669._0x1f9bd8)]>0x0)return _0x5eb1ce['output'];function _0x296f5d(_0x1629ad,_0x44f5f1,_0x47990a,_0x40b4e7){return _0x12dc71(_0x1629ad,_0x44f5f1-_0x8fbc8f._0x2acacb,_0x44f5f1- -0x6e,_0x40b4e7-0x19d);}return void 0x0;}function formatAbortedRunMessage(_0x4bb504,_0x1e4585){const _0x598960={_0xd3067:0x75a,_0x4ba96c:0x67b,_0x2fba52:0x7a9,_0x2c4030:0x8a0,_0x38d224:0xc7,_0x5a6f23:0xa3,_0x4ed6d4:0x24e,_0x4afdb2:0x252,_0x412a5e:0x1af,_0x51a8f4:0x127,_0x161a40:0x9d,_0x576974:0x213,_0x522f16:0x6},_0x59d8ae={_0x6751af:0x154},_0x950876={_0x3d9cc2:0x13a},_0x933107=_0x535c1c(_0x598960._0xd3067,_0x598960._0x4ba96c,_0x598960._0x2fba52,_0x598960._0x2c4030)+_0x4bb504+_0x55d9d0(-_0x598960._0x38d224,-0x1df,-_0x598960._0x5a6f23,-_0x598960._0x4ed6d4);if(!_0x1e4585||_0x1e4585[_0x55d9d0(0x14a,0x48,0x285,_0x598960._0x4afdb2)]()[_0x55d9d0(0x177,_0x598960._0x412a5e,_0x598960._0x51a8f4,0x53)]===0x0||_0x1e4585===_0x933107)return _0x933107;function _0x535c1c(_0x369d23,_0x498424,_0x20f4ec,_0x25e116){return _0x8a95cf(_0x369d23-0x48e,_0x498424,_0x20f4ec-0x131,_0x25e116-_0x950876._0x3d9cc2);}function _0x55d9d0(_0x9ea872,_0x171b1d,_0x332f6e,_0x3508e9){return _0x8a95cf(_0x9ea872- -0x12e,_0x171b1d,_0x332f6e-0x94,_0x3508e9-_0x59d8ae._0x6751af);}return _0x933107+_0x55d9d0(_0x598960._0x161a40,0x5a,_0x598960._0x576974,-_0x598960._0x522f16)+_0x1e4585;}function createAssignTaskTool(_0x5ce28d){const _0x44011c={_0x557b1d:0xad,_0x3d1e2a:0x17f,_0x35342a:0x3cd,_0x2c6fee:0x25a,_0x26fc7e:0x4bd,_0x1d72e2:0x425,_0x5d84fc:0x115,_0x3305d7:0x356,_0x57d31f:0x282,_0x4322a4:0x148,_0x4ecf97:0x10d,_0x88741a:0x7a,_0x5a73ac:0x91,_0x4bbe57:0x5b,_0x41aab4:0xf9,_0x1b7a41:0x2de},_0x3c036d={_0x1db05e:0x1e0,_0x35f092:0x198,_0x59db53:0x125,_0x573c32:0x19b,_0x34fb7a:0x258,_0x214346:0x51b,_0x4a8a0a:0x433,_0x1e508d:0x10b,_0x533072:0xc9,_0x3e847d:0x5a,_0x4c5672:0x197,_0x169fad:0x172,_0x271a75:0x17c,_0x5590eb:0x11b,_0x13af27:0x536,_0x8d6578:0x4f2,_0x1e00c5:0x5a1,_0x41eb0e:0xa2,_0x1be85e:0x4ba,_0x4a8fec:0x433,_0x2d30d1:0x2f5,_0x1ee444:0x3a0,_0x28d730:0x1a3,_0x31029d:0x39f,_0x2a9c96:0x258,_0x327a5e:0xff,_0x154edf:0x20c,_0xcc31f2:0x258,_0x31975e:0x2ed,_0x1a76c3:0x432,_0x26b944:0x45d,_0x2e2bb9:0x5de,_0x136c7b:0x2ed,_0x171465:0x359,_0x1445fe:0x39d,_0x93ab2f:0x2a1,_0x239ce6:0x2bb,_0xd84e87:0x3c2,_0x16b43d:0x474,_0x297045:0x2ad,_0x58faa3:0x30c,_0x222416:0xc7,_0x4f794e:0x305,_0x11be99:0x345,_0x587925:0x677,_0x168e7b:0x643,_0x2e00c4:0x513,_0x363a0f:0x711,_0x4b39e7:0x5a3,_0x386ff2:0x289,_0x1ba310:0x2cc,_0x692f20:0x63c,_0x5540a0:0x614,_0xbff003:0x74d,_0x57a9f7:0x3c2,_0x3f01d4:0x586,_0x2e8bd0:0x37,_0x530a95:0xe5,_0x2d96ef:0x5c3,_0x32bd7b:0x5e3,_0xb2f0f9:0x66a,_0xa6aefb:0x5bc,_0x2b799c:0x587,_0x30792f:0x5e3,_0x35474c:0x44f,_0x235558:0x586,_0x320452:0x5e5,_0x5e73bc:0x66,_0x140181:0xf,_0x3c5dc5:0x4f8,_0x52d8b8:0x6d7,_0x1c710e:0x7c3,_0x1b3ccc:0x290,_0x4fab6b:0x38b,_0x53fba9:0x4d3,_0x38adea:0x696},_0x4286eb={_0x507673:0x870,_0x2d0856:0x7c1,_0x2b94a9:0x72d,_0xdd5500:0x6a7,_0x2c4c8e:0x6a1},_0x59252d={_0x1bfeab:0x234,_0x159faf:0x187},_0x5d2bbb={_0x272a34:0xb9},_0x19f48b={_0x3313a7:0x192,_0x260cef:0x51};function _0x5ec6e1(_0x17b95d,_0x59eec0,_0x307365,_0x1a6bcb){return _0x12dc71(_0x17b95d,_0x59eec0-_0x19f48b._0x3313a7,_0x59eec0-0xd9,_0x1a6bcb-_0x19f48b._0x260cef);}function _0x1cf21e(_0x5f5726,_0x5dcd35,_0x39f1e9,_0x2550d8){return _0x8a95cf(_0x2550d8- -_0x5d2bbb._0x272a34,_0x5dcd35,_0x39f1e9-0x49,_0x2550d8-0xae);}return defineTool({'name':_0x1cf21e(0xfa,_0x44011c._0x557b1d,0x33b,_0x44011c._0x3d1e2a),'permissionClass':_0x5ec6e1(_0x44011c._0x35342a,0x3cc,0x4a4,_0x44011c._0x2c6fee),'description':'Delegates\x20a\x20task\x20to\x20another\x20agent\x20and\x20waits\x20for\x20completion.\x20`description`\x20is\x20a\x20short\x20UI\x20label;\x20`task`\x20is\x20the\x20complete\x20instruction\x20sent\x20to\x20the\x20agent.','inputSchema':{'type':'object','properties':{'agentId':{'type':'string','description':_0x5ec6e1(_0x44011c._0x26fc7e,0x477,_0x44011c._0x1d72e2,0x500)},'description':{'type':_0x1cf21e(0x4,-0x1de,_0x44011c._0x5d84fc,-0x91),'description':_0x5ec6e1(0x3e5,_0x44011c._0x3305d7,_0x44011c._0x57d31f,0x40e)},'nickname':{'type':_0x5ec6e1(0x2ab,_0x44011c._0x4322a4,_0x44011c._0x4ecf97,0x21f),'description':_0x1cf21e(_0x44011c._0x88741a,-0x227,-0x1ce,-0x5c)},'task':{'type':_0x1cf21e(-0x14e,-0x205,-0x43,-_0x44011c._0x5a73ac),'description':'Complete,\x20self-contained\x20instructions\x20sent\x20verbatim\x20to\x20the\x20delegated\x20agent.\x20Include\x20relevant\x20context,\x20scope,\x20constraints,\x20and\x20expected\x20output.'}},'required':['agentId',_0x1cf21e(-_0x44011c._0x4bbe57,-0xd0,_0x44011c._0x41aab4,-0x34),_0x1cf21e(0x230,_0x44011c._0x1b7a41,0x272,0x1ff)]},async *'execute'(_0x246ca3,_0x5c6c34){const _0x3541eb={_0x599d57:0x81},_0x4fe964={_0x403f97:0x17b};function _0x132e3c(_0x229914,_0x3b1c25,_0x30d626,_0x16c5ad){return _0x5ec6e1(_0x30d626,_0x3b1c25-_0x59252d._0x1bfeab,_0x30d626-_0x59252d._0x159faf,_0x16c5ad-0x1c3);}function _0x39b706(_0xbf2837,_0x104c40,_0x2a1878,_0x143701){return _0x5ec6e1(_0x2a1878,_0x104c40- -0x157,_0x2a1878-0x9e,_0x143701-_0x4fe964._0x403f97);}const _0x14ec3f=createDelegatedRunId(),_0x3c4cc1=new AbortController(),_0x3a24cc={'agentId':_0x246ca3[_0x39b706(_0x3c036d._0x1db05e,_0x3c036d._0x35f092,0x181,0x4b)],'parentSessionId':_0x5c6c34[_0x39b706(0x107,0x1ca,_0x3c036d._0x59db53,_0x3c036d._0x573c32)],'runId':_0x14ec3f,'signal':_0x3c4cc1[_0x39b706(0x347,_0x3c036d._0x34fb7a,0xc2,0x400)],..._0x5c6c34[_0x132e3c(_0x3c036d._0x214346,_0x3c036d._0x4a8a0a,0x2de,0x50b)]!==void 0x0?{'toolCallId':_0x5c6c34[_0x39b706(0x1c9,0xa8,-_0x3c036d._0x1e508d,-_0x3c036d._0x533072)]}:{}},_0x3196ec=getDelegatedAgentDefinition(_0x5ce28d,_0x246ca3[_0x39b706(0x238,0x198,_0x3c036d._0x3e847d,_0x3c036d._0x4c5672)]);if(!_0x3196ec)throw new ToolExecutionError(_0x39b706(0x307,0x336,_0x3c036d._0x169fad,0x4a8)+_0x246ca3['agentId'],{'agentId':_0x246ca3[_0x39b706(_0x3c036d._0x271a75,0x198,_0x3c036d._0x5590eb,0x223)]});let _0x3323cb={'runId':_0x14ec3f,'agentId':_0x246ca3['agentId'],'status':_0x132e3c(_0x3c036d._0x13af27,_0x3c036d._0x8d6578,0x522,_0x3c036d._0x1e00c5),'parentSessionId':_0x5c6c34['sessionId'],..._0x5c6c34[_0x39b706(0x1d,0xa8,_0x3c036d._0x41eb0e,0x1cc)]!==void 0x0?{'originToolCallId':_0x5c6c34[_0x132e3c(_0x3c036d._0x1be85e,_0x3c036d._0x4a8fec,_0x3c036d._0x2d30d1,_0x3c036d._0x1ee444)]}:{}};const _0x866237=addAbortListener(_0x5c6c34['signal'],()=>{function _0x1fa6ba(_0x3d963d,_0x2c3e27,_0x20fb86,_0x4f14ca){return _0x132e3c(_0x3d963d-0x119,_0x20fb86-0x111,_0x3d963d,_0x4f14ca-0xf0);}function _0x630c47(_0x35e6d2,_0xa232d4,_0x512eec,_0x1d89ee){return _0x132e3c(_0x35e6d2-_0x3541eb._0x599d57,_0x1d89ee-0x1de,_0xa232d4,_0x1d89ee-0xb3);}_0x3c4cc1['abort'](_0x5c6c34[_0x630c47(_0x4286eb._0x507673,0x6c1,0x625,_0x4286eb._0x2d0856)][_0x630c47(0x772,_0x4286eb._0x2b94a9,_0x4286eb._0xdd5500,_0x4286eb._0x2c4c8e)]);});let _0x3f93b4,_0x5a6a58,_0x4d62fc,_0x433c44;try{_0x5ce28d['semaphore']!==void 0x0&&(_0x3f93b4=await _0x5ce28d['semaphore'][_0x39b706(_0x3c036d._0x28d730,0x11b,-0xa4,0x170)](_0x3c4cc1[_0x39b706(_0x3c036d._0x31029d,_0x3c036d._0x34fb7a,0x26c,0x39f)]));throwIfAborted(_0x3c4cc1[_0x39b706(0x18d,_0x3c036d._0x2a9c96,0x18d,0x209)]);const _0x50e174=await awaitWithAbort2(resolveDelegatedAgentOptions(_0x3196ec,_0x3a24cc),_0x3c4cc1[_0x39b706(0x2eb,0x258,0x3b5,_0x3c036d._0x327a5e)]);throwIfAborted(_0x3c4cc1[_0x39b706(_0x3c036d._0x154edf,_0x3c036d._0xcc31f2,_0x3c036d._0x31975e,0x262)]);const _0x35f931=_0x5ce28d[_0x132e3c(_0x3c036d._0x1a76c3,0x4b0,_0x3c036d._0x26b944,_0x3c036d._0x2e2bb9)]!==void 0x0&&_0x50e174['systemPrompt']!==void 0x0?{..._0x50e174,'systemPrompt':_0x5ce28d[_0x132e3c(_0x3c036d._0x136c7b,0x4b0,_0x3c036d._0x171465,0x5a1)](_0x50e174['systemPrompt'])}:_0x50e174;throwIfAborted(_0x3c4cc1['signal']);const _0x4d750a=new Agent(_0x35f931);_0x3323cb={..._0x3323cb,'sessionId':_0x4d750a['sessionId']},_0x5a6a58=_0x5ce28d['registerActiveAgent']?.(_0x4d750a,_0x3a24cc);const _0x32d3b5=new Promise(_0x4ac3ab=>{_0x433c44=_0x4ac3ab;});_0x4d62fc=_0x5ce28d[_0x39b706(_0x3c036d._0x1445fe,0x20d,_0x3c036d._0x93ab2f,0x25e)]?.({'runId':_0x14ec3f,'abortController':_0x3c4cc1,'completion':_0x32d3b5}),yield createToolOutput(_0x39b706(-0x1ab,0x3,0x1aa,-0x18e)+_0x3323cb[_0x132e3c(_0x3c036d._0x239ce6,_0x3c036d._0xd84e87,0x21f,0x4f6)]+'.',{'runId':_0x3323cb[_0x132e3c(0x482,0x3c2,_0x3c036d._0x16b43d,_0x3c036d._0x297045)],'agentId':_0x3323cb[_0x39b706(_0x3c036d._0x58faa3,0x198,_0x3c036d._0x222416,0x30d)],'sessionId':_0x4d750a['sessionId'],'status':_0x3323cb['status']}),throwIfAborted(_0x3c4cc1[_0x39b706(_0x3c036d._0x4f794e,_0x3c036d._0x34fb7a,_0x3c036d._0x11be99,0x2cb)]);const _0x1ad3db=await _0x4d750a[_0x132e3c(_0x3c036d._0x587925,_0x3c036d._0x168e7b,0x51c,_0x3c036d._0x2e00c4)](_0x246ca3[_0x132e3c(0x477,0x60c,_0x3c036d._0x363a0f,_0x3c036d._0x4b39e7)],{'streaming':!![],'signal':_0x3c4cc1[_0x39b706(0x128,0x258,0x383,0x107)]});_0x3323cb={..._0x3323cb,'status':_0x1ad3db[_0x39b706(0x37b,_0x3c036d._0x386ff2,_0x3c036d._0x1ba310,0x107)],'result':_0x1ad3db};if(_0x1ad3db[_0x132e3c(_0x3c036d._0x692f20,_0x3c036d._0x5540a0,0x5bb,_0x3c036d._0xbff003)]!=='completed'){const _0xa9b4fa=getRunTerminalErrorMessage(_0x1ad3db),_0x227a46=formatAbortedRunMessage(_0x3323cb[_0x132e3c(0x29e,_0x3c036d._0x57a9f7,_0x3c036d._0x3f01d4,0x388)],_0xa9b4fa);throw new ToolExecutionError(_0x227a46,{...createRunSummary(_0x3323cb),'aborted':!![],'errorMessage':_0x227a46});}return createRunSummaryOutput(_0x3323cb,'Agent\x20run\x20'+_0x3323cb[_0x39b706(0x2,_0x3c036d._0x2e8bd0,-0x128,-_0x3c036d._0x530a95)]+'\x20completed.');}catch(_0x15c69b){if(_0x15c69b instanceof ToolExecutionError)throw _0x15c69b;if(isAbortError(_0x15c69b)||_0x3c4cc1[_0x132e3c(_0x3c036d._0x2d96ef,_0x3c036d._0x32bd7b,0x783,_0x3c036d._0xb2f0f9)][_0x132e3c(0x39c,0x4f8,_0x3c036d._0xa6aefb,0x42f)]||_0x5c6c34[_0x132e3c(_0x3c036d._0x2b799c,_0x3c036d._0x30792f,0x47a,_0x3c036d._0x35474c)][_0x132e3c(0x477,0x4f8,_0x3c036d._0x235558,_0x3c036d._0x320452)]){const _0x6d3c0b=getRunTerminalErrorMessage(_0x3323cb['result'])??(_0x15c69b instanceof Error?_0x15c69b['message']:String(_0x15c69b)),_0x456d1f=formatAbortedRunMessage(_0x3323cb[_0x39b706(0x95,_0x3c036d._0x2e8bd0,_0x3c036d._0x5e73bc,_0x3c036d._0x140181)],_0x6d3c0b);_0x3323cb={..._0x3323cb,'status':_0x132e3c(0x50e,_0x3c036d._0x3c5dc5,0x633,0x43a),'errorMessage':_0x456d1f};throw new ToolExecutionError(_0x456d1f,{...createRunSummary(_0x3323cb),'aborted':!![],'errorMessage':_0x456d1f});}const _0x566eaa=getRunTerminalErrorMessage(_0x3323cb[_0x132e3c(0x808,_0x3c036d._0x52d8b8,_0x3c036d._0x1c710e,0x50e)])??(_0x15c69b instanceof Error?_0x15c69b['message']:String(_0x15c69b))??_0x39b706(_0x3c036d._0x1b3ccc,0x295,_0x3c036d._0x4fab6b,0x25b)+_0x3323cb['runId']+_0x132e3c(0x626,_0x3c036d._0x53fba9,_0x3c036d._0x38adea,0x33c);_0x3323cb={..._0x3323cb,'status':'failed','errorMessage':_0x566eaa};throw new ToolExecutionError(_0x566eaa,{...createRunSummary(_0x3323cb),'errorMessage':_0x566eaa});}finally{_0x433c44?.(),_0x4d62fc?.(),_0x5a6a58?.(),_0x3f93b4?.(),_0x866237();}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x5d5fda){return[createAssignTaskTool(_0x5d5fda)];}import*as _0x468ec1 from'path';function buildDescription2(_0x362897){const _0x12a719={_0x41f1e2:0x5c,_0x34c5f1:0x0,_0x55895a:0x38a,_0x49030f:0x14a,_0x391e3f:0x1f0,_0xbbe689:0x4f,_0x1fc196:0x149,_0x12fc7f:0x164,_0x39941d:0x316,_0x678fd5:0x36f,_0x344c29:0x2d},_0x537907={_0x47a48e:0x199,_0x42bbeb:0x19f},_0x508ea3={_0x3ee719:0x18f};function _0x3084bd(_0x29e2d2,_0x4f3b1f,_0x152ee0,_0x3cd188){return _0x12dc71(_0x29e2d2,_0x4f3b1f-0x120,_0x152ee0- -_0x508ea3._0x3ee719,_0x3cd188-0x48);}if(_0x362897['length']===0x0)return _0x3084bd(-0x4e,_0x12a719._0x41f1e2,_0x12a719._0x34c5f1,0x76);const _0x470735=['Load\x20a\x20skill\x20to\x20get\x20detailed\x20instructions\x20for\x20a\x20specific\x20task.',_0x24048f(_0x12a719._0x55895a,_0x12a719._0x49030f,_0x12a719._0x391e3f,_0x12a719._0xbbe689),_0x24048f(_0x12a719._0x1fc196,-_0x12a719._0x12fc7f,-0x19,0xb9),_0x3084bd(0x1a6,_0x12a719._0x39941d,0x234,_0x12a719._0x678fd5),..._0x362897['map'](_0x5d3655=>'-\x20'+_0x5d3655[_0x3084bd(0x19,0x18e,0x6a,0x97)]+':\x20'+_0x5d3655[_0x3084bd(-0x1bb,-0x9c,-0xc3,-0x28a)])];function _0x24048f(_0x42254b,_0x4078e7,_0x283386,_0x2e82ef){return _0x12dc71(_0x42254b,_0x4078e7-_0x537907._0x47a48e,_0x283386- -_0x537907._0x42bbeb,_0x2e82ef-0xd5);}return _0x470735[_0x24048f(-0xd0,_0x12a719._0x344c29,0x3f,-0xae)]('\x0a');}function createLoadSkillTool(_0x2e863f){const _0x1d0aaa={_0x109f82:0x397,_0x4bb47d:0x4fe,_0xa417e3:0x20c,_0x6606e3:0xbe,_0x1047ad:0x111,_0x566faa:0x69,_0x1d64fa:0xb9,_0x4a2b62:0x82},_0x106c55={_0x12b33f:0x468,_0x54631c:0x522,_0xd05797:0x211,_0x4f3e67:0x486,_0x4daeca:0xa3,_0x24f7e6:0x1eb,_0x43f4b7:0x347,_0x52e2ce:0x55a,_0x3fd16b:0x3a9,_0x5b9a36:0x42c,_0x28710a:0x3eb,_0x5c4874:0x392,_0x24e055:0x3ed,_0x54bd76:0x1cf,_0x3824a4:0x670,_0x1beb2f:0x21d,_0x4561aa:0x380,_0x4255be:0x4fa,_0x1268c8:0x4ad,_0x4fb5c0:0x3f7,_0x1029b0:0x222,_0x6c4105:0x484,_0x5e7460:0x47f,_0x4fab82:0x4ea,_0x5b8e99:0x38b,_0x4f792b:0x28e},_0x3dcf21={_0x346953:0x61},_0x2884bc=new Map(_0x2e863f['skills'][_0x375772(0x3f7,_0x1d0aaa._0x109f82,_0x1d0aaa._0x4bb47d,_0x1d0aaa._0xa417e3)](_0x25fc18=>[_0x25fc18[_0x24cb3c(0x243,0x211,0x235,0xb0)],_0x25fc18]));function _0x375772(_0x335b69,_0x7320d7,_0x4ceba6,_0x5f072f){return _0x8a95cf(_0x7320d7-_0x3dcf21._0x346953,_0x335b69,_0x4ceba6-0x107,_0x5f072f-0x15e);}function _0x24cb3c(_0x51df87,_0x55fd64,_0x412aa7,_0x274ba9){return _0x12dc71(_0x55fd64,_0x55fd64-0x158,_0x51df87-0x4a,_0x274ba9-0x153);}const _0x5536a8=buildDescription2(_0x2e863f[_0x24cb3c(0xeb,-_0x1d0aaa._0x6606e3,0x17,0x78)]);return defineTool({'name':_0x375772(_0x1d0aaa._0x1047ad,0x8f,-0x87,_0x1d0aaa._0x566faa),'permissionClass':'read','description':_0x5536a8,'inputSchema':{'type':_0x24cb3c(0x3d4,0x320,0x2a1,0x253),'properties':{'name':{'type':_0x24cb3c(_0x1d0aaa._0x1d64fa,-_0x1d0aaa._0x4a2b62,-0xe8,-0x111)}},'required':['name']},async *'execute'(_0xf6c472){const _0x20557a={_0x478577:0x22},_0x101009={_0x1d06f:0x196,_0x3371b0:0x45},_0x1909f8=_0x2884bc[_0x19f7cc(_0x106c55._0x12b33f,0x659,_0x106c55._0x54631c,0x4e4)](_0xf6c472['name']);if(!_0x1909f8){const _0x1581da=Array[_0x19f7cc(0x5cc,0x438,0x5ae,0x55b)](_0x2884bc['keys']())[_0x19f7cc(_0x106c55._0xd05797,0x318,_0x106c55._0x4f3e67,0x38e)](',\x20');throw new ToolExecutionError(_0x2ca0ae(_0x106c55._0x4daeca,0x373,_0x106c55._0x24f7e6,_0x106c55._0x43f4b7)+_0xf6c472[_0x19f7cc(0x297,0x31f,_0x106c55._0x52e2ce,_0x106c55._0x3fd16b)]+'\x27\x20not\x20found.\x20Available\x20skills:\x20'+_0x1581da,{'name':_0xf6c472[_0x19f7cc(0x3f4,0x563,_0x106c55._0x5b9a36,_0x106c55._0x3fd16b)]});}function _0x19f7cc(_0xf4f720,_0xaad68,_0x477b27,_0x31c66b){return _0x375772(_0xf4f720,_0x31c66b-_0x101009._0x1d06f,_0x477b27-_0x101009._0x3371b0,_0x31c66b-0x62);}const _0x55a7ef=await _0x2e863f['loadSkill'](_0x1909f8),_0x19b8a8=_0x1909f8[_0x19f7cc(0x28f,_0x106c55._0x28710a,_0x106c55._0x5c4874,_0x106c55._0x24e055)]['directory']??_0x468ec1['dirname'](_0x1909f8[_0x2ca0ae(0x27c,0x274,0xc1,-0x5c)][_0x2ca0ae(0x17,0x1ef,0xd1,_0x106c55._0x54bd76)]),_0x57870f=[_0x19f7cc(0x64c,_0x106c55._0x3824a4,0x46b,0x4db)+_0x55a7ef[_0x19f7cc(_0x106c55._0x1beb2f,0x3e5,_0x106c55._0x4561aa,0x3a9)],'',_0x55a7ef['instructions'],'',_0x19f7cc(_0x106c55._0x4255be,_0x106c55._0x1268c8,0x3ca,_0x106c55._0x4fb5c0),'Loaded\x20from:\x20'+_0x1909f8[_0x19f7cc(_0x106c55._0x1029b0,_0x106c55._0x6c4105,_0x106c55._0x5e7460,0x3ed)]['path'],'Base\x20directory:\x20'+_0x19b8a8]['join']('\x0a');function _0x2ca0ae(_0x351aef,_0xaa09f5,_0x546682,_0x224e23){return _0x24cb3c(_0x546682- -0x1c6,_0xaa09f5,_0x546682-0x148,_0x224e23-_0x20557a._0x478577);}return yield createToolOutput(_0x57870f,{'id':_0x55a7ef['id'],'name':_0x55a7ef[_0x19f7cc(_0x106c55._0x4fab82,0x2ea,_0x106c55._0x5b8e99,0x3a9)],'path':_0x1909f8[_0x19f7cc(0x2a5,0x4b8,_0x106c55._0x4f792b,0x3ed)][_0x19f7cc(0x55b,0x311,0x296,0x3fd)],'baseDirectory':_0x19b8a8}),void 0x0;}});}var TODO_STATUSES=new Set([_0x12dc71(0x40f,0x50a,0x397,0x200),'in_progress',_0x8a95cf(0x21d,0x2da,0x28b,0x222)]),TODO_PRIORITIES=new Set(['high',_0x8a95cf(0x145,0x26d,0x2ae,0xbc),_0x8a95cf(0x4c,-0x63,0x194,-0x92)]);function isTodoStatus(_0x325c4a){const _0x1b096b={_0x5f4490:0x32a,_0x29b0bd:0x285,_0x411eac:0x137},_0x387f2f={_0x171451:0x1e9,_0x212a9c:0x100},_0x1b80ff={_0xa7e082:0x27d,_0x327566:0xd0};function _0x19d6ad(_0x1e27c7,_0x3997de,_0x229451,_0x5a8fda){return _0x8a95cf(_0x229451- -_0x1b80ff._0xa7e082,_0x3997de,_0x229451-_0x1b80ff._0x327566,_0x5a8fda-0x139);}function _0x5c7f2b(_0x28865a,_0x5a83f1,_0x2cb05d,_0x3028b7){return _0x8a95cf(_0x5a83f1-0x302,_0x3028b7,_0x2cb05d-_0x387f2f._0x171451,_0x3028b7-_0x387f2f._0x212a9c);}return typeof _0x325c4a===_0x5c7f2b(0x337,_0x1b096b._0x5f4490,_0x1b096b._0x29b0bd,0x1b5)&&TODO_STATUSES[_0x19d6ad(-0x240,-_0x1b096b._0x411eac,-0xc1,-0x11)](_0x325c4a);}function isTodoPriority(_0x3ea7f1){return typeof _0x3ea7f1==='string'&&TODO_PRIORITIES['has'](_0x3ea7f1);}var TodoStore=class{[_0x12dc71(-0xbb,0x1d5,0x7e,0x239)]=new Map();['getTodos'](_0x49d903){const _0x258341={_0x58969c:0x32,_0x5dda66:0x2f,_0x142004:0x370},_0x532eeb={_0x115db2:0xef},_0x234f17={_0x4291f2:0x115,_0x58c816:0x19f};function _0x505c15(_0x55b383,_0xa39b01,_0x1b5e20,_0x40a6c7){return _0x8a95cf(_0xa39b01-0x2b1,_0x55b383,_0x1b5e20-_0x234f17._0x4291f2,_0x40a6c7-_0x234f17._0x58c816);}function _0x586d24(_0x20be37,_0x52004e,_0x25b2bb,_0x37c9e7){return _0x8a95cf(_0x37c9e7- -0x66,_0x25b2bb,_0x25b2bb-0x1b8,_0x37c9e7-_0x532eeb._0x115db2);}return this[_0x586d24(0xd9,-_0x258341._0x58969c,0x69,-_0x258341._0x5dda66)][_0x586d24(0x204,_0x258341._0x142004,0x274,0x287)](_0x49d903)??[];}['setTodos'](_0x4fd87f,_0x2ca30a){const _0x1fee7c={_0x44c332:0x207,_0x4a2047:0x68,_0x31ce0a:0x231,_0x24f823:0x28,_0x1ba666:0xc3,_0x57d222:0x89},_0x9b55f5={_0x127451:0x170},_0x1cdddc={_0x13c48b:0xd1,_0x462f31:0xe6,_0x3d9329:0x138};function _0x5abfc4(_0x46aa38,_0x20421c,_0x106497,_0x40ad83){return _0x12dc71(_0x106497,_0x20421c-_0x1cdddc._0x13c48b,_0x20421c- -_0x1cdddc._0x462f31,_0x40ad83-_0x1cdddc._0x3d9329);}function _0x41cf24(_0x3032df,_0xe4e79c,_0x4b49ba,_0x2ad780){return _0x12dc71(_0xe4e79c,_0xe4e79c-_0x9b55f5._0x127451,_0x2ad780-0x3a2,_0x2ad780-0xcb);}this[_0x5abfc4(-_0x1fee7c._0x44c332,-_0x1fee7c._0x4a2047,-0x187,-_0x1fee7c._0x31ce0a)][_0x5abfc4(-_0x1fee7c._0x24f823,_0x1fee7c._0x1ba666,0xcf,_0x1fee7c._0x57d222)](_0x4fd87f,_0x2ca30a);}['getStats'](_0x5c45e0){const _0x27182a={_0x4f1c09:0x229,_0x3e410b:0x378,_0x666cba:0x24f,_0x3c4620:0x221,_0x2dbc64:0x28b,_0xe643cb:0x806,_0x4d3206:0x69c,_0x12a38f:0x246,_0x147751:0x1bc,_0x23d92a:0x1fb,_0x56fa8f:0x14d,_0x429733:0xd4,_0x6cd434:0x293,_0x38de9b:0x172,_0x2ba12f:0x0,_0x553d05:0xc4,_0x595c40:0x158},_0x560569={_0x215b1e:0x10c,_0x2bb67e:0x9d},_0x1d1ab0={_0x50a219:0xd,_0x56c72c:0x1d9},_0x4f5942=this[_0x3c2693(0x13c,0x64,_0x27182a._0x4f1c09,0xa1)](_0x5c45e0);function _0x161745(_0x540427,_0x3f10c5,_0x31ca8e,_0x121be3){return _0x8a95cf(_0x3f10c5-0x4b6,_0x31ca8e,_0x31ca8e-_0x1d1ab0._0x50a219,_0x121be3-_0x1d1ab0._0x56c72c);}const _0x435d57={'total':_0x4f5942['length'],'pending':0x0,'inProgress':0x0,'completed':0x0};for(const _0x5460ec of _0x4f5942){if(_0x5460ec[_0x3c2693(_0x27182a._0x3e410b,0x1ea,0x3a1,0x1fb)]===_0x3c2693(_0x27182a._0x666cba,_0x27182a._0x3c4620,0x3e0,_0x27182a._0x2dbc64))_0x435d57[_0x161745(0x782,_0x27182a._0xe643cb,0x69f,_0x27182a._0x4d3206)]+=0x1;else{if(_0x5460ec[_0x3c2693(_0x27182a._0x12a38f,0x1b1,_0x27182a._0x147751,_0x27182a._0x23d92a)]===_0x3c2693(-_0x27182a._0x56fa8f,-0x167,-_0x27182a._0x429733,-0xaf))_0x435d57[_0x3c2693(0x28a,_0x27182a._0x6cd434,_0x27182a._0x38de9b,0x11a)]+=0x1;else _0x435d57[_0x3c2693(0x7d,_0x27182a._0x2ba12f,_0x27182a._0x553d05,_0x27182a._0x595c40)]+=0x1;}}function _0x3c2693(_0x18d244,_0x23eee5,_0x1521c5,_0x3f8a25){return _0x12dc71(_0x23eee5,_0x23eee5-0xeb,_0x3f8a25- -_0x560569._0x215b1e,_0x3f8a25-_0x560569._0x2bb67e);}return _0x435d57;}};function validateTodos(_0x1b36c0){const _0x191577={_0x34b802:0x2e5,_0x4ca821:0x1d5,_0xa880bf:0x64f,_0x27d63e:0x52a,_0x119b9d:0x5c1,_0x2d4e20:0x436,_0x4d79fe:0x6dc,_0x25e572:0x68c,_0x5b781c:0x5c1,_0x2e6e46:0x60e,_0x34abd9:0x476,_0xe5e304:0x58b,_0x2d4a1a:0x61,_0x389937:0x1b0,_0x4d875e:0x35f,_0x6eba5d:0x293,_0x5ce675:0x4d7,_0xc0b21a:0x672,_0x59f8f:0x205,_0xaa1600:0x163,_0x41aa28:0x217,_0x5d1ead:0x278,_0x50e31f:0xc1,_0x4e2547:0xb2,_0x410f3b:0xad,_0x1e4c0b:0x611,_0x162f10:0x60e,_0x37ca56:0x6ea,_0x457af7:0x5a5,_0x43f6e6:0x6a5,_0x2b12a1:0x4a7,_0x4d6d30:0x307,_0x419f6a:0x2b0,_0x38609d:0x4e3,_0xf8ac24:0x235,_0x3590ce:0x46f,_0x18b022:0x168,_0xfb2ad2:0x58,_0xa7e595:0x6e9,_0x24ecd9:0x611,_0x52c810:0x617,_0x2359bc:0x423,_0x577716:0xf0,_0x8e3f46:0x5c8,_0x191048:0x2c0,_0x120259:0x2c6,_0x2c9aa3:0x118,_0x36970b:0x179,_0x37691e:0x3d},_0x39fd04={_0x54fdc6:0x94,_0x3070f9:0x122},_0x1d1958={_0x40d128:0x120};if(!Array[_0x3d7e05(0x1c3,0x366,_0x191577._0x34b802,_0x191577._0x4ca821)](_0x1b36c0[_0x52151e(_0x191577._0xa880bf,_0x191577._0x27d63e,_0x191577._0x119b9d,0x6b1)])||_0x1b36c0[_0x3d7e05(0x273,0x27f,0x34e,_0x191577._0x2d4e20)]['length']===0x0)throw new ToolExecutionError(_0x52151e(_0x191577._0x4d79fe,0x5e7,_0x191577._0x25e572,0x4ef),{'error':'invalid_todos'});for(let _0x203241=0x0;_0x203241<_0x1b36c0[_0x52151e(0x60c,0x4da,_0x191577._0x5b781c,0x527)][_0x52151e(0x595,0x718,_0x191577._0x2e6e46,_0x191577._0x34abd9)];_0x203241+=0x1){const _0x1883c8=_0x1b36c0[_0x52151e(0x719,_0x191577._0xe5e304,0x5c1,0x583)][_0x203241];if(!_0x1883c8||typeof _0x1883c8!=='object')throw new ToolExecutionError('Todo\x20'+(_0x203241+0x1)+_0x3d7e05(_0x191577._0x2d4a1a,_0x191577._0x389937,0xd6,0x228),{'error':'invalid_todo_item'});if(typeof _0x1883c8['id']!==_0x52151e(0x4dc,0x285,0x391,_0x191577._0x4d875e)||_0x1883c8['id'][_0x3d7e05(_0x191577._0x6eba5d,0x396,0x1a5,0x13c)]()['length']===0x0)throw new ToolExecutionError(_0x52151e(0x729,_0x191577._0x5ce675,0x63e,_0x191577._0xc0b21a)+(_0x203241+0x1)+':\x20id\x20required',{'error':_0x3d7e05(_0x191577._0x59f8f,_0x191577._0xaa1600,_0x191577._0x41aa28,0x74)});if(typeof _0x1883c8[_0x3d7e05(0xb2,-0x8f,_0x191577._0x5d1ead,_0x191577._0x50e31f)]!=='string'||_0x1883c8[_0x3d7e05(_0x191577._0x4e2547,_0x191577._0x389937,-_0x191577._0x410f3b,0xb7)][_0x3d7e05(0x293,0xe1,0x136,0xf6)]()[_0x52151e(0x4b9,_0x191577._0x1e4c0b,_0x191577._0x162f10,0x643)]===0x0)throw new ToolExecutionError(_0x52151e(0x5a0,_0x191577._0x37ca56,0x63e,_0x191577._0x457af7)+(_0x203241+0x1)+_0x52151e(0x3ab,0x4e9,_0x191577._0x27d63e,_0x191577._0x43f6e6),{'error':'invalid_todo_content'});if(!isTodoStatus(_0x1883c8[_0x3d7e05(0x2db,_0x191577._0x2b12a1,_0x191577._0x4d6d30,_0x191577._0x419f6a)]))throw new ToolExecutionError('Todo\x20'+(_0x203241+0x1)+_0x3d7e05(0x39f,_0x191577._0x38609d,_0x191577._0xf8ac24,_0x191577._0x3590ce),{'error':'invalid_todo_status'});if(!isTodoPriority(_0x1883c8[_0x3d7e05(_0x191577._0x18b022,0x195,0x19b,_0x191577._0xfb2ad2)]))throw new ToolExecutionError('Todo\x20'+(_0x203241+0x1)+_0x52151e(_0x191577._0xa7e595,_0x191577._0x24ecd9,0x6a8,_0x191577._0x52c810),{'error':'invalid_todo_priority'});}function _0x3d7e05(_0x4269fc,_0x3355ef,_0x20c8c5,_0xff6c5){return _0x8a95cf(_0x4269fc-0x1b,_0x20c8c5,_0x20c8c5-0x155,_0xff6c5-_0x1d1958._0x40d128);}function _0x52151e(_0x499b54,_0x22fa4b,_0x231135,_0x1455db){return _0x12dc71(_0x22fa4b,_0x22fa4b-_0x39fd04._0x54fdc6,_0x231135-0x322,_0x1455db-_0x39fd04._0x3070f9);}const _0x22b94a=_0x1b36c0[_0x3d7e05(0x273,0x166,_0x191577._0x2359bc,_0x191577._0x577716)]['map'](_0x5d3d5e=>_0x5d3d5e['id']);if(new Set(_0x22b94a)[_0x52151e(_0x191577._0x8e3f46,0x691,0x584,0x4d1)]!==_0x22b94a[_0x3d7e05(_0x191577._0x191048,_0x191577._0x120259,_0x191577._0x2c9aa3,0x243)])throw new ToolExecutionError('Todo\x20items\x20must\x20have\x20unique\x20IDs',{'error':_0x3d7e05(_0x191577._0x36970b,0x179,0x54,_0x191577._0x37691e)});}function createStatsProgress(_0x249b34){const _0x3c3214={_0x288d43:0x5ce,_0x1662a5:0x812,_0x3407f7:0x40,_0x57e452:0xbb,_0x58d7dd:0x24c,_0x262c1f:0xf3},_0x39c0a7={_0x3aaf47:0x4f0,_0x567cc4:0x15f,_0x2242c5:0xbc},_0x316e2b={_0x3f9219:0x141};function _0x5e3107(_0x57b41c,_0x11470d,_0x372b14,_0x25f234){return _0x12dc71(_0x57b41c,_0x11470d-0x11a,_0x25f234- -0xee,_0x25f234-_0x316e2b._0x3f9219);}function _0x4dd92b(_0x24ed2b,_0x5b5167,_0x3957e3,_0x265700){return _0x8a95cf(_0x3957e3-_0x39c0a7._0x3aaf47,_0x265700,_0x3957e3-_0x39c0a7._0x567cc4,_0x265700-_0x39c0a7._0x2242c5);}return _0x249b34['total']>0x0?Math[_0x4dd92b(0x872,0x6ac,0x776,0x6db)](_0x249b34[_0x4dd92b(_0x3c3214._0x288d43,0x5a2,0x70d,_0x3c3214._0x1662a5)]/_0x249b34[_0x5e3107(-_0x3c3214._0x3407f7,-_0x3c3214._0x57e452,_0x3c3214._0x58d7dd,_0x3c3214._0x262c1f)]*0x64)+'%':'0%';}function createReminderItems(_0x29b10b){const _0xfd5aed={_0x1b2a3f:0x75c,_0x44b602:0x7f0,_0x3f0b92:0x844},_0x1b1dcc={_0x29bc57:0x10b},_0x396f00={_0x5d1bc3:0x2d};function _0x4528e5(_0xb46f60,_0x342766,_0x295dc6,_0x37d08b){return _0x12dc71(_0xb46f60,_0x342766-_0x396f00._0x5d1bc3,_0x37d08b-0x4c7,_0x37d08b-0x71);}function _0x84f754(_0xb1f28f,_0x223efe,_0x1dcbf1,_0x297804){return _0x8a95cf(_0x223efe-0x4e0,_0x297804,_0x1dcbf1-_0x1b1dcc._0x29bc57,_0x297804-0x52);}return _0x29b10b[_0x4528e5(_0xfd5aed._0x1b2a3f,_0xfd5aed._0x44b602,0x902,_0xfd5aed._0x3f0b92)](_0x3c1a02=>({'content':_0x3c1a02[_0x4528e5(0x4c7,0x67e,0x4d3,0x5a5)],'status':_0x3c1a02[_0x4528e5(0x6b1,0x771,0x674,0x7ce)],'id':_0x3c1a02['id']}));}function createStructuredResult(_0x498adf,_0x5e658d,_0x3bb2bc,_0x555e3b){const _0x368c4a={_0xf3c6bb:0x7f2,_0x519a09:0x8ef,_0x4519d0:0x762},_0x4f42d5={_0x3df0e9:0x3b,_0x293dbd:0x98};function _0x17390f(_0x5083c2,_0x49725b,_0x126107,_0x4ed0a7){return _0x12dc71(_0x126107,_0x49725b-0x107,_0x4ed0a7-0x476,_0x4ed0a7-0x189);}function _0x4daa63(_0x4533c4,_0x3fd578,_0x1a5c9d,_0x2ed364){return _0x8a95cf(_0x3fd578- -_0x4f42d5._0x3df0e9,_0x4533c4,_0x1a5c9d-0x1eb,_0x2ed364-_0x4f42d5._0x293dbd);}return{'allCompleted':_0x555e3b,'items':_0x5e658d['map'](_0x3cf90b=>({'id':_0x3cf90b['id'],'content':_0x3cf90b[_0x4daa63(-0x5d,0x5c,0x1ab,0xee)],'status':_0x3cf90b[_0x4daa63(0x3eb,0x285,0x3ea,0x2f9)],'priority':_0x3cf90b['priority'],'createdAt':_0x3cf90b[_0x4daa63(0xf,0xff,0x132,0x2ae)]})),'progress':createStatsProgress(_0x3bb2bc),'recentChanges':!![],'sessionId':_0x498adf,'stats':_0x3bb2bc,'todosWritten':_0x5e658d[_0x17390f(0x684,_0x368c4a._0xf3c6bb,_0x368c4a._0x519a09,_0x368c4a._0x4519d0)]};}function createOutputText(_0x4ea048,_0x5707c6){const _0x1cbacf={_0x9b9cf1:0x1f3,_0x38aeb5:0x17a,_0x45ef05:0x2c0,_0x31a936:0x22,_0x46cb99:0x3a6,_0x58b7db:0x378,_0x5605db:0x4d1,_0x57455c:0x27f,_0x1daafa:0x241,_0x1c30f6:0x4b7,_0xf2dd9d:0x650},_0x5ca82a={_0x3d1835:0x89},_0x5cffec={_0x321622:0x322},_0x42f63a=JSON[_0x465139(_0x1cbacf._0x9b9cf1,_0x1cbacf._0x38aeb5,_0x1cbacf._0x45ef05,-_0x1cbacf._0x31a936)](createReminderItems(_0x4ea048));if(_0x5707c6)return _0x465139(_0x1cbacf._0x46cb99,_0x1cbacf._0x58b7db,_0x1cbacf._0x5605db,0x45d)+_0x4ea048[_0x465139(_0x1cbacf._0x57455c,0x375,_0x1cbacf._0x1daafa,0x447)]+'\x20todo\x20items\x20have\x20been\x20completed\x20successfully!\x0a\x0a<system-reminder>\x0aAll\x20todo\x20items\x20are\x20now\x20completed!\x20Ask\x20about\x20next\x20steps.\x20Completed\x20list:\x0a'+_0x42f63a+'.\x0a</system-reminder>';function _0x4aaf48(_0x35aecf,_0x296ace,_0x2a4663,_0x11a3de){return _0x12dc71(_0x2a4663,_0x296ace-0x1e5,_0x11a3de-_0x5cffec._0x321622,_0x11a3de-0xee);}function _0x465139(_0x233338,_0x4cb57c,_0x34a491,_0x1d55f1){return _0x12dc71(_0x34a491,_0x4cb57c-0x9b,_0x4cb57c-_0x5ca82a._0x3d1835,_0x1d55f1-0x1af);}return _0x4aaf48(0x499,_0x1cbacf._0x1c30f6,0x636,_0x1cbacf._0xf2dd9d)+_0x42f63a+'.\x0a</system-reminder>';}function createTodoWriteTool(_0x255084=new TodoStore()){const _0x36c37c={_0x3ac5f4:0x5c6,_0x219057:0x6ba,_0x1fd153:0x472,_0x2d90c9:0x304,_0x5f1562:0x49a,_0x456199:0x3d0,_0x5e0691:0x61d,_0x603ea2:0x72a,_0x4fc522:0x508,_0x41a6fd:0x7df,_0x2db460:0x485,_0x1bcd05:0x273,_0x2792a8:0x302,_0x2ca93e:0x302,_0x30733b:0x47b,_0x28f8bb:0x31b,_0x1ffa61:0x4a0,_0x40e32d:0x4bd,_0x38a5be:0x5b8,_0x451ebe:0x578,_0x425882:0x528,_0x3103f7:0x634,_0x4b8821:0x3e0},_0x25ccdf={_0x12422c:0x105,_0x352777:0x50,_0x919152:0x1a1,_0xa7d31:0x14b,_0x598d59:0x404,_0x480ac2:0x5be,_0x749714:0x76f,_0x40d122:0x535,_0x2446b3:0x14e,_0x4cec20:0x820,_0x411950:0x1c,_0x56e6b9:0x54,_0x2fddac:0xf,_0x2423b3:0xd3,_0x36ca3f:0x2e},_0x21b1cc={_0x560e4c:0x4f,_0xebc65e:0x91},_0x459bd6={_0x3e9037:0x52b},_0x212099={_0x56a629:0x19a,_0x34da67:0xc3},_0x4a2b17={_0xfe73e1:0x289,_0x24403d:0x2d};function _0x53271f(_0x3cfd9a,_0x40894d,_0x584744,_0x5e62b7){return _0x12dc71(_0x5e62b7,_0x40894d-0x10f,_0x3cfd9a-_0x4a2b17._0xfe73e1,_0x5e62b7-_0x4a2b17._0x24403d);}function _0xce8f0e(_0x104eb4,_0x33ddd6,_0x4b8f2c,_0x1ba2f9){return _0x8a95cf(_0x104eb4-0x2da,_0x4b8f2c,_0x4b8f2c-_0x212099._0x56a629,_0x1ba2f9-_0x212099._0x34da67);}return defineTool({'name':_0xce8f0e(_0x36c37c._0x3ac5f4,_0x36c37c._0x219057,_0x36c37c._0x1fd153,0x49f),'permissionClass':_0xce8f0e(_0x36c37c._0x2d90c9,0x278,_0x36c37c._0x5f1562,_0x36c37c._0x456199),'description':'Maintain\x20a\x20concise\x20task\x20list\x20when\x20visible\x20progress\x20tracking\x20adds\x20coordination\x20value.\x0a\x0aUse\x20TodoWrite\x20when\x20the\x20user\x20explicitly\x20requests\x20a\x20todo/checklist,\x20or\x20when\x20work\x20has\x20several\x20meaningful\x20phases,\x20dependencies,\x20or\x20checkpoints.\x20Skip\x20it\x20for\x20conversational\x20questions,\x20a\x20single\x20straightforward\x20task,\x20or\x20a\x20short\x20flat\x20sequence\x20of\x20trivial\x20actions.\x20List\x20meaningful\x20outcomes\x20rather\x20than\x20individual\x20tool\x20calls.\x0a\x0aUse\x20statuses\x20pending,\x20in_progress,\x20and\x20completed,\x20with\x20at\x20most\x20one\x20item\x20in_progress.\x20Create\x20the\x20list\x20once\x20before\x20starting\x20tracked\x20work.\x20Then\x20update\x20it\x20only\x20at\x20meaningful\x20milestones:\x0a-\x20Batch\x20status\x20changes\x20in\x20one\x20call:\x20mark\x20all\x20newly\x20finished\x20items\x20completed\x20and\x20set\x20the\x20next\x20milestone\x20in_progress\x20together.\x0a-\x20Do\x20not\x20call\x20TodoWrite\x20after\x20every\x20tool\x20call,\x20minor\x20substep,\x20or\x20progress\x20message.\x20Avoid\x20back-to-back\x20TodoWrite\x20calls\x20without\x20substantive\x20work\x20between\x20them.\x0a-\x20Keep\x20the\x20current\x20item\x20in_progress\x20when\x20blocked,\x20implementation\x20is\x20partial,\x20or\x20verification\x20fails.\x20Add\x20or\x20revise\x20items\x20only\x20when\x20the\x20plan\x20materially\x20changes.\x0a-\x20Preserve\x20item\x20IDs\x20and\x20include\x20the\x20full\x20current\x20list\x20in\x20every\x20update.\x0a-\x20After\x20implementation\x20and\x20verification\x20finish,\x20send\x20one\x20final\x20update\x20that\x20marks\x20all\x20completed\x20work\x20accurately.','inputSchema':{'type':_0xce8f0e(_0x36c37c._0x5e0691,_0x36c37c._0x603ea2,0x5a3,0x534),'properties':{'todos':{'type':'array','items':{'type':_0xce8f0e(0x61d,_0x36c37c._0x4fc522,_0x36c37c._0x41a6fd,_0x36c37c._0x2db460),'properties':{'content':{'type':_0xce8f0e(0x302,0x315,_0x36c37c._0x1bcd05,0x43a)},'status':{'type':_0xce8f0e(_0x36c37c._0x2792a8,0x1cf,0x4a9,0x25d)},'priority':{'type':_0xce8f0e(_0x36c37c._0x2ca93e,0x1f6,0x350,0x3f3)},'id':{'type':_0x53271f(0x2f8,0x164,0x1e4,_0x36c37c._0x30733b)},'createdAt':{'type':_0xce8f0e(0x302,0x2f7,0x3bf,_0x36c37c._0x28f8bb)}},'required':[_0x53271f(0x367,0x1bb,_0x36c37c._0x1ffa61,_0x36c37c._0x40e32d),_0xce8f0e(0x59a,0x591,_0x36c37c._0x38a5be,_0x36c37c._0x451ebe),'priority','id']}}},'required':[_0x53271f(_0x36c37c._0x425882,0x69d,_0x36c37c._0x3103f7,_0x36c37c._0x4b8821)]},async *'execute'(_0x33b1dd,_0x4e7689){const _0x13fe94=_0x33b1dd;validateTodos(_0x13fe94);const _0x4d25a6=_0x4e7689[_0x39e9b1(-_0x25ccdf._0x12422c,-_0x25ccdf._0x352777,-_0x25ccdf._0x919152,_0x25ccdf._0xa7d31)]||_0xf9eba1(_0x25ccdf._0x598d59,0x43d,0x596,_0x25ccdf._0x480ac2),_0x1a7d1c=new Date()[_0xf9eba1(_0x25ccdf._0x749714,_0x25ccdf._0x40d122,0x5f1,0x6cd)](),_0x2c64e=_0x13fe94['todos']['map'](_0xd00fd4=>({'id':_0xd00fd4['id'],'content':_0xd00fd4[_0x39e9b1(-0x10d,-0x1ba,-0x2be,-0x86)],'status':_0xd00fd4[_0x39e9b1(0x9d,0x6f,0x152,0x159)],'priority':_0xd00fd4[_0x39e9b1(-0x1d5,-0x104,-0x293,-0x258)],'sessionId':_0x4d25a6,'createdAt':_0xd00fd4['createdAt']||_0x1a7d1c,'updatedAt':_0x1a7d1c}));function _0x39e9b1(_0x48e033,_0x3ea510,_0x376e12,_0xd3b5fc){return _0xce8f0e(_0x3ea510- -_0x459bd6._0x3e9037,_0x3ea510-0x1b6,_0xd3b5fc,_0xd3b5fc-0x199);}_0x255084[_0x39e9b1(0x95,-0x1a,0xb3,-_0x25ccdf._0x2446b3)](_0x4d25a6,_0x2c64e);const _0x24cd68=_0x255084[_0xf9eba1(0x9f4,_0x25ccdf._0x4cec20,0x7aa,0x859)](_0x4d25a6),_0x1ae9c9=_0x2c64e[_0x39e9b1(-_0x25ccdf._0x411950,_0x25ccdf._0x56e6b9,_0x25ccdf._0x2fddac,0x7d)]>0x0&&_0x2c64e[_0x39e9b1(-_0x25ccdf._0x2423b3,-_0x25ccdf._0x36ca3f,0x18c,0x38)](_0x379586=>_0x379586[_0xf9eba1(0x8f5,0x6b7,0x986,0x7dc)]==='completed');function _0xf9eba1(_0x486d2d,_0x393014,_0x1c51ad,_0x58a86f){return _0x53271f(_0x58a86f-0x24c,_0x393014-_0x21b1cc._0x560e4c,_0x1c51ad-_0x21b1cc._0xebc65e,_0x393014);}return createToolOutput(createOutputText(_0x2c64e,_0x1ae9c9),createStructuredResult(_0x4d25a6,_0x2c64e,_0x24cd68,_0x1ae9c9));}});}import{mkdir as _0x21a153,writeFile as _0x2e2863}from'fs/promises';import*as _0x37918b from'path';function sanitizeFileName(_0x4a691a){const _0x318637={_0x32b072:0x30},_0x391a75={_0xf1d539:0xa3};function _0xe89cec(_0x1049f9,_0x47b463,_0x103eab,_0x2839f1){return _0x12dc71(_0x103eab,_0x47b463-0x1ec,_0x1049f9- -_0x391a75._0xf1d539,_0x2839f1-0x7f);}return _0x4a691a[_0xe89cec(-0xd,0x16b,-_0x318637._0x32b072,-0xd8)](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0xcb11c9,_0x3aa557){const _0x473549={_0x2e93d7:0x4c2,_0x36b12a:0x3e0,_0x7d95fd:0x468,_0x1db6dd:0x564,_0x402d2b:0x425,_0x6b2476:0x4aa,_0x271cc0:0x497,_0x417b16:0x492,_0x22bc68:0x50d,_0x3e2b97:0x5ba,_0x33d426:0x56c,_0x26cde4:0x4e3,_0x4b8690:0x2ee,_0x5131d7:0x475,_0x5a7352:0x3b3,_0x4dd714:0x22f,_0x588f65:0x441,_0x5337aa:0x3d2,_0x1c598e:0x26b,_0x29dad5:0x33e,_0x3b54db:0x437,_0x120c81:0x3d2,_0x436af5:0x31a,_0x5af4d3:0x23a,_0x1c66e2:0x4c8,_0x10eccb:0x222,_0x22c8a8:0x316,_0x22a5c9:0x50b,_0xb9f2d3:0x33a,_0x40ff77:0x4f7,_0x1d9438:0x336,_0x5abff5:0x395,_0x1118a2:0x492,_0x3d8cda:0x3bc,_0x4b38d9:0x219,_0x2b12ec:0x275,_0x514ddf:0x2f4,_0x5a1ac8:0x2f2,_0x3fafc0:0x299,_0xcd90dd:0x187,_0x240e2b:0x47c,_0x5a8f8b:0x567,_0x24ba27:0x342,_0xaeba0a:0x465,_0x892ad7:0x178,_0x557690:0x48,_0x34d227:0x2b9,_0x2e6ccf:0x3f7,_0x600958:0x1db,_0x21f1d8:0xcb,_0x1dd3df:0x252,_0x5f182c:0x3ae,_0x4c0c87:0x439,_0x4b004f:0x33d,_0x592058:0x4cf},_0x1af807={_0x5a8deb:0xef},_0x292fb7={_0x2284c8:0x15d,_0xd9eba1:0xcb,_0x52757f:0x18b},{maxBytes:_0x5c9b70,sessionDir:_0x35dd12}=_0x3aa557;if(!_0xcb11c9[_0x3a1f5a(_0x473549._0x2e93d7,_0x473549._0x36b12a,0x41c,_0x473549._0x7d95fd)]||Buffer['byteLength'](_0xcb11c9[_0x3a1f5a(0x4c2,_0x473549._0x1db6dd,0x3f0,0x5cf)],'utf8')<=_0x5c9b70)return _0xcb11c9;const _0x4de276=Buffer['byteLength'](_0xcb11c9[_0x3a1f5a(0x4c2,0x5f1,_0x473549._0x402d2b,_0x473549._0x6b2476)],_0x3b930c(_0x473549._0x271cc0,0x36a,_0x473549._0x417b16,_0x473549._0x22bc68));if(!_0x35dd12){const _0x4943e3=_0xcb11c9[_0x3b930c(_0x473549._0x3e2b97,_0x473549._0x33d426,0x49e,_0x473549._0x26cde4)][_0x3a1f5a(0x14a,0xc5,0x1ba,_0x473549._0x4b8690)](0x0,_0x5c9b70);return{..._0xcb11c9,'output':_0x4943e3+(_0x3b930c(0x42c,_0x473549._0x5131d7,_0x473549._0x5a7352,_0x473549._0x4dd714)+_0x5c9b70+_0x3b930c(0x458,_0x473549._0x588f65,0x2ff,0x383)+_0x4de276+'\x20bytes).\x20No\x20session\x20directory\x20available\x20for\x20file\x20offload.\x0a</system-reminder>'),'meta':{..._0xcb11c9[_0x3a1f5a(_0x473549._0x5337aa,_0x473549._0x1c598e,_0x473549._0x29dad5,_0x473549._0x3b54db)],'truncated':!![],'originalBytes':_0x4de276,'transforms':[..._0xcb11c9[_0x3a1f5a(_0x473549._0x120c81,_0x473549._0x436af5,_0x473549._0x5af4d3,_0x473549._0x1c66e2)][_0x3b930c(0x1e0,_0x473549._0x10eccb,_0x473549._0x22c8a8,0x2b8)],_0x3a1f5a(0x439,_0x473549._0x22a5c9,_0x473549._0xb9f2d3,_0x473549._0x40ff77)]}};}const _0x5593f9=_0xcb11c9['toolName']+'_'+sanitizeFileName(_0xcb11c9['callId'])+_0x3a1f5a(0x2e9,_0x473549._0x1d9438,0x25e,_0x473549._0x5abff5),_0x3cb042=_0x37918b['join'](_0x35dd12,_0x5593f9);await _0x21a153(_0x35dd12,{'recursive':!![]});function _0x3b930c(_0xe621b1,_0x44919d,_0x3dcefe,_0x23734f){return _0x12dc71(_0x44919d,_0x44919d-_0x292fb7._0x2284c8,_0x3dcefe-_0x292fb7._0xd9eba1,_0x23734f-_0x292fb7._0x52757f);}await _0x2e2863(_0x3cb042,_0xcb11c9['output'],_0x3b930c(0x41f,0x3d1,_0x473549._0x1118a2,0x59f));function _0x3a1f5a(_0x200682,_0x397b7b,_0x1c684c,_0xc4ad1d){return _0x12dc71(_0x1c684c,_0x397b7b-0x4c,_0x200682-_0x1af807._0x5a8deb,_0xc4ad1d-0x197);}let _0x4ea1a9=_0xcb11c9[_0x3b930c(0x61d,_0x473549._0x3d8cda,0x49e,0x3ce)][_0x3b930c(_0x473549._0x4b38d9,0x16b,0x126,_0x473549._0x2b12ec)](0x0,_0x5c9b70);const _0x2ac2de=_0x4ea1a9[_0x3a1f5a(_0x473549._0x514ddf,0x2cf,0x327,0x2f3)]('\x0a');_0x2ac2de>_0x5c9b70*0.5&&(_0x4ea1a9=_0x4ea1a9[_0x3a1f5a(0x14a,0x142,_0x473549._0x5a1ac8,_0x473549._0x3fafc0)](0x0,_0x2ac2de));const _0x323422=['',_0x3a1f5a(0x24b,0x1f8,_0x473549._0xcd90dd,0x1f0),'Tool\x20output\x20was\x20truncated\x20at\x20'+_0x5c9b70+_0x3a1f5a(_0x473549._0x240e2b,_0x473549._0x5a8f8b,0x445,0x2cd)+_0x4de276+_0x3b930c(_0x473549._0x24ba27,0x3c5,0x324,_0x473549._0xaeba0a),_0x3b930c(-0xd,0x156,_0x473549._0x892ad7,_0x473549._0x557690)+_0x3cb042,_0x3b930c(_0x473549._0x34d227,0x23c,0x261,_0x473549._0x2e6ccf),_0x3b930c(_0x473549._0x600958,_0x473549._0x21f1d8,_0x473549._0x1dd3df,0x3e1)]['join']('\x0a');return{..._0xcb11c9,'output':_0x4ea1a9+_0x323422,'meta':{..._0xcb11c9[_0x3b930c(0x512,0x4eb,_0x473549._0x5f182c,0x3d3)],'truncated':!![],'originalBytes':_0x4de276,'transforms':[..._0xcb11c9['meta']['transforms'],_0x3a1f5a(_0x473549._0x4c0c87,_0x473549._0x4b004f,0x49b,_0x473549._0x592058)]}};}function createUpdateTopicTool(){const _0x55c019={_0x2dfef0:0x56,_0x22b02b:0x117,_0x29e479:0xf5,_0x3a04b4:0x229,_0x5b69bd:0x3d2,_0x38474b:0xc1,_0x286b0b:0xa9,_0x4a6345:0x185,_0x4db941:0x91,_0x15655c:0x157,_0x506b8a:0x299,_0xeee759:0x261,_0x557b8a:0x136,_0x17a8d3:0x2a2,_0x4b4125:0x123},_0x197d0a={_0x5ef5e2:0x14,_0x92053e:0xfc,_0x548882:0x180,_0x358998:0x204,_0x5d7135:0xed,_0x19028b:0x4a,_0x3b527d:0x29a,_0x44f92c:0x7f,_0x204d7e:0x8a,_0x8adffd:0x12c,_0x19be44:0xde,_0x55fba7:0x54},_0x167215={_0x3c1215:0x53},_0x4eb2d2={_0x168c6e:0x253};function _0x17f223(_0xf11532,_0x50534a,_0x333d26,_0x4cc2e0){return _0x8a95cf(_0xf11532- -_0x4eb2d2._0x168c6e,_0x4cc2e0,_0x333d26-0x1c3,_0x4cc2e0-0xa);}function _0x4b37b3(_0x47fd3f,_0x557097,_0x2e3eaa,_0x52fc23){return _0x12dc71(_0x557097,_0x557097-0x53,_0x52fc23- -0x1be,_0x52fc23-0x7d);}return defineTool({'name':_0x17f223(_0x55c019._0x2dfef0,_0x55c019._0x22b02b,0xfb,_0x55c019._0x29e479),'permissionClass':_0x17f223(-_0x55c019._0x3a04b4,-_0x55c019._0x5b69bd,-0x369,-_0x55c019._0x38474b),'description':_0x17f223(-_0x55c019._0x286b0b,0x11c,-_0x55c019._0x4a6345,-_0x55c019._0x4db941),'inputSchema':{'type':_0x4b37b3(0x2c9,_0x55c019._0x15655c,_0x55c019._0x506b8a,0x1cc),'properties':{'topic':{'type':_0x17f223(-0x22b,-_0x55c019._0xeee759,-0x2e5,-0x84)}},'required':[_0x4b37b3(_0x55c019._0x557b8a,_0x55c019._0x17a8d3,0xf2,_0x55c019._0x4b4125)]},async *'execute'(_0x165a04,_0x2c122f){const _0xd2a378={_0x146fe7:0x73,_0x3cfa15:0xd4};function _0x404ac8(_0x15d09b,_0x49a532,_0x13f698,_0x36d6f5){return _0x4b37b3(_0x15d09b-_0xd2a378._0x146fe7,_0x15d09b,_0x13f698-0x1c7,_0x13f698- -_0xd2a378._0x3cfa15);}const {topic:_0x5632cb}=_0x165a04;if(typeof _0x5632cb!==_0x5e0299(-0x30,-_0x197d0a._0x5ef5e2,-_0x197d0a._0x92053e,-0x169)||_0x5632cb[_0x404ac8(-0xf1,-_0x197d0a._0x548882,0x2d,0x3e)]()['length']===0x0)throw new ToolExecutionError('topic\x20must\x20be\x20a\x20non-empty\x20string',{'error':_0x404ac8(_0x197d0a._0x358998,0x125,_0x197d0a._0x5d7135,0x50)});const _0x506134=_0x5632cb[_0x5e0299(-_0x197d0a._0x19028b,0xe4,0x154,_0x197d0a._0x3b527d)]();_0x2c122f[_0x404ac8(-0x1d8,-0x235,-_0x197d0a._0x44f92c,_0x197d0a._0x204d7e)]?.(_0x506134),yield createToolOutput(_0x404ac8(-_0x197d0a._0x8adffd,-_0x197d0a._0x19be44,-0xc7,-_0x197d0a._0x55fba7)+_0x506134+'\x22',{'topic':_0x506134});function _0x5e0299(_0x5a25dc,_0x3d6faf,_0x55a528,_0x487b9f){return _0x4b37b3(_0x5a25dc-0x79,_0x5a25dc,_0x55a528-0x129,_0x55a528-_0x167215._0x3c1215);}return void 0x0;}});}import{readFile as _0x5bbd90,stat as _0x1d3bb2}from'fs/promises';function _0x4b49(){const _0xdc19ba=['zwzMB3j0','D2fPDezVCLrLCM1PBMfS','Bwf4qNL0zxm','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2ienOCM9Tzs8XmJmUmc4WlJaGu2fMyxjPlZuZnY4ZnIboDxzPBKjVDc8XlJa','BgL0zxjHBa','B25JBg9Zzq','ls1MAwXLCW','DhLWzxnJCMLWDa','ls1ZDgrPBW','DgLTzw91De1Z','Aw5qCM9NCMvZCW','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','oIaIDg9WAwmIigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','C3rYAwn0','tM8GBg9JyxrPB25ZigzVDw5K','qMLVBwuGtgfUz3vHz2uGu2vYDMvY','C3jJl21VzgvSCY9TB2nRlw1VzgvSlNrZ','jYbUB3qGzM91BMqUief2ywLSywjSzsbJB21Tyw5KCZOG','yxjNCW','yw5ZAte2','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','Aw52ywXPzf90B2rVx2LK','ndqWvvnPAKDu','C3rKAw4','igj5DgvZicHVCMLNAw5HBdOG','y29UzMLYBwvK','zg9JCY9WBgfUCY8Ymdi2lta0lte2lw1Vy2STywDLBNqTBg9VCc1PBxbSzw1LBNrHDgLVBI5Tza','mJu5ndG5v0zNq0vR','rxHLy3v0zxmGysbZAgvSBcbJB21Tyw5K','BwnWlxrVB2WTy2fSBc1MywLSzwq','D2fYBG','zMLSzunVDw50','DhLWzxnJCMLWDhjLywn0','C291CMnL','DhnZzxj2zxiUANm','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrZ','Dg9vChbLCKnHC2u','z29Vz2XLq3nLq3G','mtKYlJe2oc4WlJa','C3rKB3v0','CgXHAw4','uefusa','BgLUzuvUza','ls0T','C2vZC2LVBKLK','rwrPDcbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmGyNKGCMvWBgfJAw5NihrOzsbMAxjZDcbLEgfJDcb0zxH0ihnLz21LBNqU','ywDLBNrZ','DhjHBNnMB3jTCW','D2LUzg93CW','Cgf0Aa','Bw9VBNnOB3q','C2nYAxb0','yNvUlMXVy2TI','ls1MB2XSB3C','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','CgfYzw50u2vZC2LVBKLK','DxrTx2nHBxbHAwDU','lNrZEa','AxntEw1IB2XPy0XPBMS','Dhj1BMm','l3vZCI9SB2nHBc9IAw4VCMC','igj5DgvZks4','mJu2nJa2C0vkBvDl','y2fUrgLZywjSzq','BM90Awz5','sw52ywXPzcbYzwDLEdOG','u0Lhvevstq','BgLUzvrLEhq','ChvZAa','C2vSzwn0Aw9UuMfUz2u','C2L6zq','CMfUzg9T','y29TCgXLDgvK','Aw1WBgvTzw50yxrPB24','z2v0uhjVDg90ExbLt2y','y3nP','qMfJA2DYB3vUzcbLEgvJDxrPB24GAxmGBM90igf2ywLSywjSzsbPBIb0AgLZignVBNrLEhqU','igzYB20G','zxzLCNK','Aw50zwDLCG','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','lMPWzW','CMvMAw5L','y2XPzw50','z2nSAwq','BgfIzwW','y29TBwfUza','mtbNvMLeAKq','mZq3ote4ohfZruHzEq','y2HHBMDL','y21KlMv4zq','Ag9TzwrPCG','zw5NAw5L','tM8GC3LTyM9SCYbMB3vUza','Dg9mB3DLCKnHC2u','ihjLCxvPCMvZihvYBcbMB3iGAhr0Ccb0CMfUC3bVCNq','Ahr0Ca','u2HVCNqGDxnLCI1MywnPBMCGC3vTBwfYEsbVzIb0AguGzgvSzwDHDgvKihDVCMSUifvZzwqGB25SEsbMB3iGzgLZCgXHEsbHBMqGBM90ihnLBNqGDg8GDgHLigfNzw50lG','C2v0vg9KB3m','qxnZAwDUvgfZAW','zgvLChnLzwS','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','mJqWlJaUmc4W','zw5K','Aw50','oIbIB3rOicjSywjLBciGyw5KicjKzxnJCMLWDgLVBIiGyxjLihjLCxvPCMvK','CgfJA2fNzs5QC29U','zMLSzvbHDgG','t1bftKnprevFqvbjx0Tfwq','y2XPzw50x3nLy3jLDf9WB3n0','ywrKrxzLBNrmAxn0zw5LCG','CMvNAxn0zxjby3rPDMvsDw4','l3bPza','ywjVCNq','vMLLD2vKigLTywDLigzPBgu6ia','qxnRig9UzsbVCIbTB3jLig11BhrPCgXLlwnOB2LJzsbXDwvZDgLVBNmGD2HLBIbWCMvMzxjLBMnLCYWGyw1IAwD1Axr5lcbVCIbHigrLy2LZAw9UigjSB2nRCYbWCM9NCMvZCY4GrxzLCNKGCxvLC3rPB24GC3vWCg9YDhmGiK90AgvYiI4Gu2v0ig11BhrPu2vSzwn0ihrVigfSBg93ig11BhrPCgXLigfUC3DLCNmUifb1Dcb0AguGCMvJB21Tzw5KzwqGB3b0Aw9UigzPCNn0igfUzcbZDwzMAxGGAxrZigXHyMvSihDPDgGGiIHszwnVBw1LBMrLzcKIlG','CMfUz2u','B3bLBG','q29TBwfUzcaN','DMvYAwz5rxHLy3v0Aw9U','CNvUsw5cywnRz3jVDw5K','Bwv0yxrHz3m','Ag92zxi','q291BgqGBM90ihjLC29SDMuGAg9ZDa','BNvTyMvY','B3jPz2LUvg9VBenHBgXjza','BxvSDgLtzwXLy3q','C3rHCNreAxi','z29uB0LTCgXLBwvUDgf0Aw9U','CgfZC3rOCM91z2G','y2HHCKnVzgvbDa','Dg9KB3m','ywXSB3DLzfrVB2XZ','CMLWz3jLCcbYzxr1CM5LzcbHig1HBgzVCM1Lzcbku09oig1HDgnOihjLy29Yza','zgLZy292zxi','ls1NBg9Ipq','yxr0CG','yxv0BW','q2fUBM90igfJCxvPCMuGysbYzxrPCMvKie1ducbJB25Uzwn0Aw9UigDLBMvYyxrPB24','yxjNDw1LBNrZvgv4Da','C3rHDhvZvgv4Da','AgLNAa','ig1Z','zgfYAW','C3vWzxjszwzPBMu','AxnfBMfIBgvK','B2XSyw1H','CMfJzq','y291BNq','ihrVB2WGy2fSBcb0Aw1LzcbVDxq','B2f1DgG','CgvYBwLZC2LVBKnSyxnZ','yMLVBwuUANnVBMm','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','C3rHCNrZv2L0Aa','BwLU','Aw5JBhvKzxm','C29Tzq','ig1HDgnO','lMPZB24','rMLUzcb3B3jRC3bHy2uGB3iGywXSB3DLzcbKAxjLy3rVCNKGzMLSzxmGBwf0y2HPBMCGysbNBg9IihbHDhrLCM4U','AhLKCMf0zu1LDge','ywXSB3DLzerPCNm','DhjPBq','Bg9VA3vW','lcbpChrPB24G','vw5ZywzLig9Yig1PC3nPBMCGue9tsvGGChjVy2vZCYbNCM91CcbPza','A2v5yMLUzgLUz3m','A2LUza','C3rVCMfNzurPCG','AwDUB3jLt3v0Chv0','B3jPz2LUywW','ywXYzwfKEs10zxjTAw5HBa','ygbG','ihrPBwvKig91DcbHzNrLCIa','qxzHAwXHyMXLignVBw1HBMrZoG','B3bLBKzPBgvZ','CM91BMq','vw50AxrSzwq','y2fJAgvK','lNDLyNa','mtCYlJe2lJaUma','y29KzvbVAw50qxq','mtyZnZm3s0DMAe5O','igzHAwXLzcb0BYbJBg9Zzq','zMLUza','C2LNBMfS','xg5DkJ8','lMnQCW','CMLWz3jLCcbMywLSzwq6ia','BNvT','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','lu5Vtg9NBW','BM9Uzq','AxngAwXL','BwnWlwrPC2nVDMvYEs1MywLSzwq','vvjmCYbTDxn0ig5VDcbPBMnSDwrLihvZzxjUyw1LCYbVCIbWyxnZD29Yzhm','Dg9WAwm','lMjPBG','Bwv0yq','DMfSDwu','ndeZnKL6vvnAtq','yNvKz2v0vg9Rzw5ZihjLCxvPCMvZig1HBNvHBcbTB2rL','zMXHDe1HCa','cGO8C3LZDgvTlxjLBwLUzgvYpGPuB29Sig91Dhb1Dcb3yxmGDhj1BMnHDgvKigf0ia','BwnWlxrYyw5ZCg9YDc1LCNjVCG','zgLYzwn0B3j5','yxnJAwK','BgvUz3rO','rMv0y2GGywjVCNrLzcbIEsb1C2vY','ihrVB2WGzgLZy292zxj5igzHAwXLza','qwXSia','vxbKyxrLvg9WAwm','DgvYBwLUyxrPBMC','DxjP','ywX3yxLZlwnVBMzPCM0','l3vZCI9IAw4VCMC','zgv0ywLS','BxrPBwvnCW','Dgv4Da','u0HfteW','AhrTBfnUAxbWzxq','AxntywzLsw50zwDLCG','CxvLC3rPB25Z','BgLUzv9UDw1Izxi','C3rKzxjYtM9YBwfSAxPLCG','C2H1DgrVD25tDgfYDgvK','DgfZAW','BwnWlxjLCxvLC3qTDgLTzw91Da','yxj0AwnSztPWDwjSAxnOzwrFDgLTzq','yM94zwq','BhnWlxbYB3H5','B3bLCMf0Aw9U','ru5pru5u','Dgv4DerVy3vTzw50l2HVDMvY','C3rHDhvZ','BwnFzwLK','wKfjx0fqsv9lrvK','ugf0AcbPCYbUB3qGysbMAwXLoIa','zw51Bq','B25uzxjTAw5HBevYCM9Y','zxjYB3i','tunqihnLCNzLCIa','DhjHAwXPBMDdAhvUA3m','u3rHCNrLzcbIywnRz3jVDw5KihbYB2nLC3mG','C2vYDMvYswq','uMvXDwvZDfrPBwvVDxq','qwDLBNqGCNvUia','Dgf2AwX5','Dg90ywXqCM9KDwnLza','cGPbuKDvtuvovfm6ia','Cg9ZAxrPDMu','C3vIyxjYyxK','DgfZA2TPBgWGzxHPDgvKihDPDgGGy29Kzsa','tM8GzgLHz25VC3rPy3m','y29UDgvUDc10ExbL','vg9KBYa','vg9Vig1HBNKGyMfJA2DYB3vUzcbWCM9JzxnZzxmGCNvUBMLUzYaO','y2XVC2u','yxbPs2v5','ChjVDg90ExbL','r0LgodLH','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','BxrPBwu','DhvWBgu','lMPZ','BNv2Aw4','sw5ZCgvJDcbHifborYWGsLbfrYWGv2vIucWGB3iGr0LgigLTywDLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlIbvC2uGrMLSzvjLywqGzM9YihrLEhqU','AxndB250zxH0','BMv3vgv4Da','oIaIDg9WAwmIig11C3qGyMuGBwf4idmWignOyxjHy3rLCNmSigDVDca','iYmGu2TPBgW6ia','ignOyxjZigrYB3bWzwrDcG','C2vHCMnOugfYyw1Z','vg9KB3mGAgf2zsbIzwvUig1VzgLMAwvKihn1y2nLC3nMDwXSEs4Gq29UDgLUDwuGD2L0AcbJDxjYzw50ihrHC2TZigLMigfWCgXPy2fIBguUcGO8C3LZDgvTlxjLBwLUzgvYpGPzB3vYihrVzg8GBgLZDcbOyxmGy2HHBMDLzc4Gre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlIbmyxrLC3qGy29UDgvUDhm6cG','wefjx0fqsv9lrvK','uMvHzcbMAwXLCYbMCM9TihDVCMTZCgfJzs4Gt3b0Aw9UywXSEsbZCgvJAwz5igXPBMuGCMfUz2vZicHSAw5Lu3rHCNqSigXPBMvfBMqPlG','y29ZDa','qMfJA2DYB3vUzcbWCM9JzxnZihrLCM1PBMf0Aw9UihrPBwvKig91DcbHzNrLCIa0mdaWBxm','vg9KB1DYAxrL','z2v0','B3bLBNjVDxrLCG','C2vUza','AMf2yxnJCMLWDa','u3rHCNqGCMvHzgLUzYbMCM9TihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','Dg90ywXeCM9WCgvK','rMv0y2GGD2vIihbHz2uGy29UDgvUDcbHBMqGy29UDMvYDcb0BYbnyxjRzg93BIbMB3jTyxq','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','CxvLCNK','zMLUzfjLzMvYzw5Jzxm','BM9UBMvNyxrPDMu','vg9Vig1HBNKGCMvKAxjLy3rZ','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','CMvZDwX0CW','Aw5JB21PBMDdywXSCW','ChjVy2vZC0DYB3vWswq','qKftsf9ftLy','rMLSzvjLywq','BwnWlxnKAY1JBgLLBNqTzxjYB3i','C3rYzwfTC0zSDxnOzwq','DgvYBwLUyxrPB25qCM9TAxnL','Dg9VBc1VDxrWDxqTB2zMBg9Hza','uMvMDxnPBMCGDg8GzMv0y2GGysbUB24TChvIBgLJigfKzhjLC3m','z3jHy2vMDwW','tunqifnesYbJBgLLBNqGCMvWB3j0zwqGysbYzwnVDMvYywjSzsbLCNjVCG','BgLUzxm','Dg9VBenHBgW','lI4U','yxjYyxK','ksbB','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','o1TExg5DkJ8','uhjVz3jHBuzPBgvZkhG4nIK','Cgf0Ag5HBwu','yw5ZD2vYCW','ChjVDg9JB2W','DgLTzvTKyxrLDgLTzv0','vw5HyMXLihrVihrLCM1PBMf0zsbIywnRz3jVDw5KihbYB2nLC3nLCZSGC2vZC2LVBIbVD25LCNnOAxaGD2fZihbYzxnLCNzLzc4','zNjLzxPL','Bg9JywXLq29TCgfYzq','Cg9ZAxG','lMPZB25J','AxnjBNrLz2vY','rMLSzsbHChbLyxjZihrVigjLigjPBMfYEtOG','lNbUzW','AMf2yxnJCMLWDhjLywn0','EwvZ','zgf0yq','Bw9Kzq','zMLSzxm','u2TPBgWGjW','zg9TywLUCW','ndiWntCWrMXtCePU','ugfYyw1LDgvYicj0B2rVCYiGBxvZDcbIzsbHig5VBI1LBxb0EsbHCNjHEq','zM9VDgvY','cMbGya','qxv0Ag9YAxPHDgLVBG','BgfUzW','CgfYC2vjBNq','Dg9tDhjPBMC','igzHAwXLzcb0BYbJB25Uzwn0','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','zMvUy2vK','CMvTB3zLrxzLBNrmAxn0zw5LCG','C2nVCgvZ','C3jJl21VzgvSCY9HBNrOCM9WAwmTBw9KzwWUDhm','zgvMyxvSDen3za','D3jPDgu','C3rKzxjYrgvJB2rLCG','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','yM9VBgvHBG','B3rOzxi','BwfW','CMvXDwLYzwq','Aw52ywXPzf90B3bPyW','zMLUAxrL','uhjVz3jHBuzPBgvZ','yxnRvxnLCG','C2HHmJu2','z2v0u3rHDhm','zMjJBgLK','oIbPBNzHBgLKihbYAw9YAxr5','C2vHCMnOrgvWDgG','Dgf2AwX5qxbPs2v5','BgLI','B2jQzwn0','u0HfteXpufrt','DwX0CMe','igj5DgvZicH0B3rHBdOG','rxjYB3i','u2TPBgXZihbYB3zPzguGC3bLy2LHBgL6zwqGA25VD2XLzgDLigfUzcbZDgvWlwj5lxn0zxaGz3vPzgfUy2uU','BwvTB3j5','Cgf0DgvYBIbPCYbYzxf1AxjLza','mty5lJi1nc4WlJa','Aw5PDgLHBgL6zq','CMvMCMvZAf90B2TLBG','zgvMyxvSDfrPBwvVDxrnCW','Aw1Hz2uVz2LM','CgvUzgLUzW','r0Lusfvcx0fdq0vtu19ut0TftG','u3rVCcbYzwfKAw5Nigf0ihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','Ec1HCgKTA2v5','yxjNDw1LBNriAw50','Aw5PDgLHBgL6yxrPB24','DxnLCM5HBwu','suqGB2yGDgHLigfNzw50ihrVigLUDM9RzsWGy2HVC2vUigzYB20GDgHLigf2ywLSywjSzsbZCgvJAwfSAxn0igfNzw50CY4','A2LSBa','Aw5KzxHpzG','yxjNDw1LBNroyw1LCW','A2LSBfjLCxvLC3rLza','zgnZ','Ag9ZDa','Ahr0Chm6lY93D3CUz29Vz2XLyxbPCY5JB20Vy3vZDg9TC2vHCMnOl3yX','zMLSzvzLCNnPB25Z','DgvZDa','BgLUAW','w1bFxL1BxhnCu10QpW','yMfZzty0','zNjVBq','vw5ZywzLig9Yig1PC3nPBMCGv2LUzg93CYbYB290ihbPza','r09pr0Xfx0ntrv9dwa','yNjVA2vU','zMLSztOVlW','thnW','C3jJl3rVB2XZl21Vy2STDg9VBc1YDw50Aw1LlNrZ','BwnWlwnVBM5Ly3qTzMfPBgvK','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','zw5NAw5LCW','Dhj1BMnHDgvK','mJa0ntmZAu1Nr29p','CM9VDfbPza','mtKYlJaUmc4W','CgLWzq','D2vI','y2fSBeHPzxjHCMnOEs9VDxrNB2LUz0nHBgXZ','ntvUC3n1uLy','uxvLC3rPB24G','C2vUze5VDgLMAwnHDgLVBG','A2v5','B3bLBMnVzguTz28','B3v0y29Tzq','qxzHAwXHyMXLihnRAwXSCYaOC2TPBgXFBMfTztOGzgvZy3jPChrPB24PoG','y29UDgv4Da','AgvHzgvY','y29UDgv4DeXPBMS','DxrMoa','C2fMzq','ANnJB25MAwCUANnVBG','CMvZDwX0','oIbPBNzHBgLKihn0yxr1CW','ChjLCgfYzunHBgXiAwvYyxjJAhK','ls1YzwDLEha','Dw5RBM93BG','DgfZA2TPBgW','zMX1C2HtDhjLyw1Z','zM9Yy2u','y2XVC2vbBgW','B3v0Chv0','oIbLEhbLy3rLzcbHihbVC2L0AxzLig51BwjLCG','y29TBwfUzhm','zxnJyxbL','Cg9W','yMfZAa','z29Vz2XLq3nLs2v5','C2L0ztO','CgfJA2fNzxm','Dg9Rzw5tDg9YywDLs2v5','lM51DMLUlwnVzgu','C2HPzNq','tuLnrtOG','C29YDa','CNnZ','y2fSBgjHy2TvCMW','y3jSzG','C2HLBgXjza','y291BNrLCG','zgvMyxvSDe9WDgLVBG','Dw5PB24','vgvYBwLUyxrLigeGyMfJA2DYB3vUzcbWCM9JzxnZihn0yxj0zwqGD2L0AcbcyxnOkhj1BKLUqMfJA2DYB3vUzdP0CNvLksWGAwrLBNrPzMLLzcbIEsbPDhmGC2HLBgXjzc4','DgHLBG','BgLUzu51Bq','D2HPy2GGCMC','t25SEsbODhrWoI8VigfUzcbODhrWCZOVlYbvuKXZigfYzsbZDxbWB3j0zwq','CMvXDwvZDa','r2XVyG','vhLWzvnJCMLWDcbmyw5NDwfNzsbtzxj2zxi','CMLWz3jLCa','BwnWlwnSB3nLlwzHAwXLza','CMvZzxq','zgLHz25VC3rPy3m','C2XPy2u','A2LSBgvK','Aw5FChjVz3jLC3m','z2vUzxjHBa','DhnJ','v2fYBMLUzW','mtaUmc4WlJa','A2LTAq','Bwf0y2HdB3vUDa','ANnVBMm','BgfUz18','Bg9HzenVBw1HBMq','lMDPzG','rwrPDcbHChbSAwvKihn1y2nLC3nMDwXSEs4','CMvZzxj2yxrPB25Z','BM9Zy3jPChq','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxi6ihf1zxj5','rMLSzu5LDW','CMvSyxrPDMu','CM9VDa','C3rYAw5N','y2XLyxi','CMvHza','qMfJA2DYB3vUzcbWCM9JzxnZihjLC2vYDMf0Aw9UigLZig1PC3nPBMCGB3iGywXYzwfKEsbJB25ZDw1Lza','z29Vz2XLlwnZzq','q29TBwfUzcbLEgL0zwqGD2L0AcbJB2rLia','tg9HzfnRAwXS','CMvHzen1CNnVCG','Dg9Rzw4','C2vHCMnOvhLWzq','zxHPDgvK','zM9Yy2vszxf1zxn0zwq','y2XPzw50sw5MB3jTyxrPB24','Dg9VBfjLC3vSDhm','zxzPy3rjzK5LzwrLza','Dg9KB3ncEvnLC3nPB24','tuLosu1bwf9bueLFs0vz','CgfYC2u','u3rHCNrLzcbHz2vUDcbYDw4G','oIaIBxvSDgLtzwXLy3qIig11C3qGyMuGysbIB29SzwfU','AwDUB3jL','Aw1Hz2vZ','vxnLCIbYzxnWB25ZzxmGCMvJzwL2zwq6ia','DxjS','AgfZq2XPzw50CW','Aw1Hz2uVANbLzW','iIbPCYbUB3qGysbKzwnSyxjLzcbVChrPB24','zgf0zxrPBwu','Aw1Hz2u','Bwf0y2HLCW','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','zw50CMLLCW','Bwf4uMvKAxjLy3rZ','C2H1DgrVD24','qMfJA2DYB3vUzfbYB2nLC3ndBgvHBNvWrxjYB3i','sgLUDa','Bg93','qxnRvxnLCLrVB2W','BM90lwzVDw5K','CMvWBgfJzq','ie9sia','ue9tva','y29Uy2f0','yxbWzw5K','Dhj1zwnVBg9Y','zMLSDgvY','ls1NBg9I','uMvHC29UAw5NigrLzMf1BhqGiG','zxHPDenVzgu','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','C2TPBgXZ','yMLUza','ls1OAwrKzw4','t3b0Aw9UywWGC2HVCNqGzgLZCgXHEsbUyw1LigzVCIb0AgLZigrLBgvNyxrLzcbYDw4UifvZzwqGB25SEsbMB3iGzgLZCgXHEsbHBMqGBM90ihnLBNqGDg8GDgHLigfNzw50lG','mtKYyvPdC0js','rMv0y2GGDgLTzwqGB3v0','yxbWBgLJyxrPB24VANnVBG','revfufnfruTFqvbjx0Tfwq','zMfPBgvK','uxvLCNKGtgfUz3vHz2uGu2vYDMvYifbYB3rVy29SignVzguGAw50zwXSAwDLBMnLigzVCIb3B3jRC3bHy2uGzMLSzxm6igrLzMLUAxrPB25ZlcbYzwzLCMvUy2vZlcbOB3zLCIWGC3LTyM9SCYWGy2fSBcbOAwvYyxjJAhKSigfUzcbKAwfNBM9ZDgLJCY4','DgLTzw91DfnVDxjJzq','B25oB3rPzMLJyxrPB24','rNvSBcbVDxrWDxqGC2f2zwqGDg86ia','ihDHCYbHyM9YDgvKlG','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','Aw1Hz2uVD2vICa','CgXHDgzVCM0','DgHPBMTPBMC','B25Jzq','AgvHzgvYCW','CNvUswq','BwLUAw1HBa','DxrTx2nVBNrLBNq','yxbWzw5KrgvJB2rLza','CgfJA2fNzs1SB2nRlMPZB24','z2L0qNjHBMnO','zMLUywXnzxnZywDLvgv4Da','D29YA3nWywnLl3n5BwjVBa','tfnqihnLCNzPy2uGAxmGzgLZywjSzwq','C2LNBMfSqwrHChrLCG','CMCUzxHL','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','l29WDc9OB21LyNjLDY9IAw4VCMC','C3rKB3v0rgvJB2rLCG','yMLVBwu','DhjHBNnWB3j0','qgjPB21LANmVyMLVBwu','DhvYBMrVD24','qu5usfjpueLdx0fqsv9lrvK','Ahr0CdO','qMvHCMvYia','B25szwrPCMvJDa','zMXVB3i','zgvZy3jPChrPB24','zgvSAw1PDgvY','ls1NBg9IpseUz2L0lYO','C3bSAxq','DgvYBwLUyxrL','Aw5ZDgfSBa','y29Kzq','Dgv4DerVy3vTzw50l2rPzenSB3nL','Cgf0DgvYBIbTDxn0igjLigf0ig1VC3qG','ChjVCgvYDgLLCW','yMvHCMvY','u0Lhs0Lmta','sw52ywXPzcbVDxrWDxrszwDLEdOG','CMvNzxG','zg9JCY9WBgfUCY8Ymdi2lta0lte2lwfNzw50lwXVB3aTy29Yzs1KzxnPz24UBwq','zNjVBuvUDhjPzxm','y2XLyw51Ca','lNrTCc4','y29UDgvUDa','C3LTBgLUAW','CMvZB2X2zq','qMfZAe91Dhb1Da','Axnoyu4','Dhj1zq','BgLZDa','CgXHAw50zxH0','C2vYDMvY','mJi0lJaUmc4W','zxf1ywXZ','zgvMyxvSDa','BwfYA2rVD24','Bg9JyxrPB24','zg9JCY9WBgfUCY8Ymdi2lta0lte2lxb1yMXPyY10B29SCY1HCgKTAw1WBgvTzw50yxrPB24UBwq','yw50AhjVCgLJ','igj5DgvZ','l2jPBI9ZAa','y29UDgvUDhm','C3rYAw5NAwz5','te9dquXbufbeqvrb','BgLUzq','yw50AhjVCgLJlw1LC3nHz2vZ','B2C6DxbKyxrLzf90Aw1L','Cg5WBs1SB2nRlNLHBwW','sw52B2TLq29TBwfUza','C3jJl3nOyxjLzc90ExbLCY50CW','Aw50zxjUywXmAwzLy3LJBgu','B3v0Chv0uMvNzxG','zxjYB3jZ','uhjVy2vZCYa','zMLSzq','yNvMzMvY','rhvWBgLJyxrLihjLyxnVBMLUzYbVChrPB24GiG','zgvZy3jPChrVCNm','BM93','yMfZzw5HBwu','CxvLC3rPB24','Bwf4','v2vIu2vHCMnOihjLCxvPCMvZigf0igXLyxn0ig9UzsbZzwfYy2GGzw5NAw5LignVBMzPz3vYzwq','u2vHCMnOihrOzsb3zwiGyw5KihjLDhvYBIbYyw5RzwqGCMvZDwX0CY4','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','DgL0Bgu','AgfUzgXL','yNL0zxm','C3vKBW','BgLUzsbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCG','rMfPBgvKihrVihrLCM1PBMf0zsa','mti3lJaUmc4W','Aw5WDxrty2HLBwe','zxHPDa','zg5Zl3bYB21PC2vZ','ywjZ','z3jVAW','C2vZC2LVBG','lM1QCW','lMn0CW','y29KzvzLCMLMAwvY','zMLYC3q','C3rYAxbbBNnP','Dgv4DerVy3vTzw50l2rPze9Wzw4','icHWAwqG','ihjLCxvPCMvZigf1DgHLBNrPy2f0Aw9U','zNvUy3rPB24','mc4WlJa','rvnsq0G','BwfUDwfS','ihrVB2WGzgLZy292zxj5ihrPBwvKig91Da','Dw5RBM93BIb0zxjTAw5HDgLVBIbLCNjVCG','rM9YigzVCMvNCM91BMqGCNvUCYWGCMv0DxjUig9UBhKGy29TCgXLDguGC3rKB3v0l3n0zgvYCIbSAw5LCYbTyxrJAgLUzYb0AgLZihjLz2v4oYbLEgL0ihn0yxr1CYbPCYb1BMnOyw5NzwqU','BwvZC2fNzq','mtn5txL2s2O','Dg9VBenHBgXjza','yw5ZAti1nG','C3rKzxjY','v0vcua','C2nYDwjfBNzlzxLZ','ChvIBgLZAgvKqxq','C3bHD24','C2v2zxjPDhK','Ahr0Chm6','yxr0ywnO','sw52ywXPzcbvuKWGCgfYyw1LDgvY','ywXSu2v0DgXLza','vw5ZDxbWB3j0zwqGAw1Hz2uGzMLSztOG','C3jJl2v4yw1WBgvZl2rLBw8UDhm','D2LUmZi','txvZDcbWCM92AwrLideTmtaGCxvLC3rPB25Z','Aw5WDxq','zgvUBY5QC29UyW','DxbKyxrL','DhjHBNnMB3jT','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','sw5MB3jTyxrPB24','ywrKsxnZDwu','tM8GtfnqihnLCNzLCIbHDMfPBgfIBguGzM9YigzPBgu6ia','zgvSzxrL','ywXS','zgvLCgLUzNjH','Aw5ZDhj1y3rPB25Z','mJu1mtjJrwr5wwS','zMLUywXnzxnZywDL','DgvYBwLUywXqCM9TAxnL','qvbjx0Tfwq','u2vHCMnOigzVCIbHihjLz2v4ihbHDhrLCM4GAw4GD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3j5igzPBguGy29UDgvUDhmU','B3b0Aw9UCW','C25PChbLDa','r0LgodDH','Aw1Hz2uVCg5N','D29YA3nWywnLu3LTyM9S','B25LCNjVCG','zgvUEq','y2fWywjPBgL0AwvZ','zgfZAa','B2zM','y2fSBfrVB2W','zhj5uNvU','vMLLD0zPBgu','CMvJB3jK','z2L0AhvI','Ahr0Chm6lY9HCgKUDgf2AwX5lMnVBs9ZzwfYy2G','vxnLCI1MywnPBMCGChvYCg9ZztOGD2HHDcb0AguGy29TBwfUzcbKB2vZigfUzcb0AguGz29HBcbPDcbHzhzHBMnLCYWGzs5NlIaNuNvUigf1DgGGDgvZDhmGDg8GDMvYAwz5ihrOzsbYzwzYzxnOigzPEcCU','Dgv4DerVy3vTzw50l3bYzxbHCMvdywXSsgLLCMfYy2H5','C3bHD25PBMC','DMfSDwvZ','y3DK','phn5C3rLBs1Yzw1PBMrLCJ4','uhjVDMLKzxiGBMfTzsbJyw5UB3qGy29UDgfPBIaNoIC','mtaWlJy0lJaUma','yMfZAwm','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','tLvwsu5FreLtqujmrv9mu1bFre9xtKXpquq','C3rKB3v0tM9YBwfSAxPLCG','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','uhjVDMLKzxiGBMfTzsbJyw5UB3qGyMuGzw1WDhK','CMvJzw5JEurHExm','BgLMzwn5y2XL','CMvSzwfZzq','Aw5JBhvKzv9KB21HAw5Z','z2v0t3DUuhjVCgvYDhLoyw1LCW','CgLK','zxHLy3v0Aw9Uqxv0Ag9YAxPHDgLVBG','yxv0Aa','y29UBMvJDa','DxrTx21LzgL1Bq','yxr4','yMLVBwuUANnVBG','BxmU','C2vYDMvYtMfTzq','B3v0z29PBMDdywXSCW','mc4WlJaUma','ihjLCxvPCMvZignVBw1HBMqGzM9Yihn0zgLVihrYyw5ZCg9YDa','zgLHz25VC3rPy3ngB3jgAwXL','C3jJl2fNzw50l2fNzw50lNrLC3qUDhm','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','B3bLBMfP','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDhm','Aw5PDgLHBgL6zwq','DhjPBuvUza','yxv0Ag9YAxPHDgLVBL9JB2rL','ywrHChrPDMu','y3jLyxrLzef0','v29YA2LUzYbKAxjLy3rVCNKGAxmGBM90igeGzgLYzwn0B3j5oIa','zgvSAxzLCMvK','Ahr0Chm6lY9VBgXHBweUy29Tl2fWAs93zwjFC2vHCMnO','DMvYAwzPzxi','vxnLihrOAxmGD2HLBIbHihrHC2SGBwf0y2HLCYbHBIbHDMfPBgfIBguGC2TPBgWGzgvZy3jPChrPB24U','pc9ZExn0zw0TCMvTAw5Kzxi+','C3rHCNrLzef0','CMvNAw9U','BgLZDgvU','lu5VuhjVzMLSzq','BwvKAxvT','uKLgrG','C2HLBgXqyxrO','tg9HzcbHihnRAwXSigj5ig5HBwuGDg8Gz2v0igrLDgfPBgvKihrHC2SGAw5ZDhj1y3rPB25ZlIboBYbZA2LSBhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','ugfJA2fNzxm','qMfZAa','ChjVy2vZCW','y2XPzw50twv0ywrHDgfvCMW','ChjPB3jPDhK','C3rHDgu','vxnLiezPBgvszwfKihDPDgGGBgLUzvn0yxj0l2XPBMvfBMqGDg8GAw5ZCgvJDcbZCgvJAwzPyYbZzwn0Aw9UCYbVzIb0AguGzNvSBcbVDxrWDxqU','BgLNAhq','BhmGlwXH','ywnXDwLYzq','Dg9VBa','y2HPBgq','uMvHC29UAw5NigrLzMf1BhqGiM9MzIiGCMvXDwLYzxmGy2fUrgLZywjSztOGDhj1zq','y2fWq2HHCNm','Dgv4DerVy3vTzw50l3b1yMXPC2HeAwfNBM9ZDgLJCW','CgfJA2fNzu5HBwu','m0vrD2PAwq','CMvMzxjLBMnLCW','yxnZAwDU','CMvUzgvYu3LZDgvTuhjVBxb0','zgLYBMfTzq','zhvWBgLJyxrLx3rVzg9FAwrZ','zMLSBa','B3nJ','Dg9Rzw5Z','C2v0','r3jLCa','tM8GAg92zxiGAw5MB3jTyxrPB24','uMvHC29UAw5Nig9WDgLVBIaI','z2v0vg9KB3m','tM8GCMvZDwX0CYbMB3vUzc4','ugf0AcbUB3qGzM91BMq6ia','q0rqqvri','tunqihrYyw5ZCg9YDcbJBg9ZzwqGDw5LEhbLy3rLzgX5','B3b0Aw9UywW','uNvUigeGBM9UlwLUDgvYywn0AxzLihnOzwXSignVBw1HBMqGD2L0Acb0Aw1LB3v0ihbYB3rLy3rPB24Gyw5KignHChr1CMuGC3rKB3v0l3n0zgvYCI4GvxnLiezPBgvszwfKigzVCIbMAwXLignVBNrLBNrZlIbvC2uGB3v0Chv0uMvNzxGGzM9YigzVy3vZzwqGzM9YzwDYB3vUzcbVDxrWDxqSigLNBM9Yzu91Dhb1Dcb3AgvUig9UBhKGDgHLigv4AxqGC3rHDhvZig1HDhrLCNmSigfUzcbYDw5jBKjHy2TNCM91BMqGzM9YihnLCNzLCNmGB3iGD2f0y2HLCNm7igzVBgXVDYbIywnRz3jVDw5Kihj1BNmGD2L0AcbcyxnOt3v0Chv0ig9YieTPBgXtAgvSBc4GuhjVDMLKzsbHignVBMnPC2uGDxnLCI1MywnPBMCGChvYCg9ZzsbPBIbKzxnJCMLWDgLVBI4GrgvMyxvSDcb0Aw1LB3v0oIa','zgvSzwDHDgvKlxj1BI0','ywrK','CMvHC29U','y2XPzw50CW','zw52','sw52ywXPzcb0Aw1LB3v0txm6igv4CgvJDgvKigeGCg9ZAxrPDMuGBNvTyMvY','s0Lnsv9bueLFs0vz','uMvHC29UAw5Nig9WDgLVBIbYzxf1AxjLCYbTB2rLig9YigvMzM9YDa','y2f0y2G','BMf2','yNvKz2v0vg9Rzw5Z','r0XpqKLhtK9srq','B2XKvgv4Da','B2zMC2v0','z2XVyG','B3bLBMfPlxjLC3bVBNnLCY13CW','BgLTAxq','EwfYBI5SB2nR','igzHAwXLzc4','y3vZDg9T','Dgv4Dc9ODg1S','AxrLBxm','Bwf4q29Uy3vYCMvUDa','vg9WAwmGC2v0ihrVici','Ag9ZDg5HBwu','BhnW','Cgf0DgvYBG','BgLUzvn0yxj0','zMv0y2HjBxbS','y29UzMLN','D2HLCMuGCMC','zg9JDw1LBNrtEw1IB2W','t1bftLjpvvrfuL9bueLFs0vz','AxngAw5PDgu','sfruuca','zxH0BMfTzq','Agv4','z3jHy2vMDwXszxf1zxn0zwq','EgHPz2G','BM9Kzv9TB2r1BgvZ','s2LSBgvKia','DxrTx3rLCM0','AM9PBG','AxnbyNnVBhv0zq','C2v0DgXLvgvYBwLUywW','Dg90ywW','ChjLzML4','ANnVBG','v29YA2LUzYbKAxjLy3rVCNKGBM90igzVDw5KoIa','CNvUBMLUzW','sw1Hz2uGzMLSzsbPCYb0B28GBgfYz2u6ia','BhnWu2vYDMLJzq','zgLZy292zxj5u3rHDgu','ks4Gs2LSBcbVBMuGD2L0AcblAwXSu2HLBgWGyMvMB3jLihn0yxj0Aw5NigfUB3rOzxiU','C3rHCNq','ywjVCNrLza','twLJCM9ZB2z0','y29UBMvJDgLVBG','AgfZt3DU','AxnbCNjHEq','DxrTx3nVDxjJzq','u2v0igeGy29Uy2LZzsaZltyGD29YzcbUB3vUlxbOCMfZzsbZzxnZAw9UihrVCgLJihDOzw4GDgHLig1HAw4GC3vIAMvJDcbIzwnVBwvZignSzwfYig9Yig1HDgvYAwfSBhKGy2HHBMDLCY4Gu2TPCcbTAw5VCIb0yw5Nzw50CY4GuhjLzMvYicjezwj1zYbuuYbNzw5LCMLJCYbLCNjVCIi7igf2B2LKigz1BgWGC2vUDgvUy2vZig9YihzHz3vLigXHyMvSCYbZDwnOigfZicjJB2rPBMCIlG','zxjYB3jnzxnZywDL','DhLWzq','Aw5JBhvKzq','CMvZzxj2zq','y2vPBa','lNrZ','Dg9ju09tDhjPBMC','BMfTzq','lMXVzW','C2vUzfjLCxvLC3q','AxneAxjLy3rVCNK','l2jPBI9IyxnO','y2HHCMfJDgvY','DgvYBwLUyxrPB25tzxr0BgvK','lunVBw1HBMq','DhnJB25MAwCUANnVBG','zgLZCg9Zzq','AgfZ','Bwf4rw50CMLLCW','BgfZDeLUzgv4t2y','A2v5CW','zNvSzMLSBgvK','oIbJB250zw50ihjLCxvPCMvK','B3bLBMfPlxjLC3bVBNnLCW','sw52ywXPzcbmu1aGDgLTzw91DcbMB3iG','tunqihrVB2WG','tfnqia','CxvLC3rPB24T','lMPZEa','yNvMzMvYq2HHCNm','DgvYBwLUywXtzxr0BgvK','yxnPzgu','ienHDxnLoIa','C2v0vg9WAwm','BgLZDfrVB2XZ','rM91BMqG','ywDLBNrjza','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','BwnFy2LK','mtK4lJe4lJaUma','l2jPBI9YzW','yMLYDgH0Aw1L'];_0x4b49=function(){return _0xdc19ba;};return _0x4b49();}import*as _0x43d99b from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set([_0x12dc71(0x2c5,0x2d1,0x2a5,0x319),_0x12dc71(0xde,0x340,0x2a9,0x358),_0x12dc71(0x1da,0x1a4,0x93,-0x123),_0x12dc71(0x2ae,0x1b7,0x2c7,0x273)]),PNG_SIGNATURE=Buffer['from']([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x48b459,_0xa22b9a){const _0x19bdaf={_0x301eff:0x1db,_0x4a179f:0x1e1,_0x415471:0xfa,_0x42593d:0xad,_0x44e4bd:0xd4,_0x56c188:0x48,_0x1e0c41:0x32,_0x36135d:0xeb,_0x426f85:0xd1,_0x583c5e:0xbb,_0xfb718e:0x1e9,_0xec3248:0x19e,_0x4dff7b:0xbb,_0x2e2930:0x3b9,_0x11f2e8:0x1d,_0x5a6414:0xc,_0x21d906:0x2ae,_0x4a7a3f:0x20f,_0x15916b:0x1a7,_0x3eea0b:0x3d,_0x9ef214:0x85,_0x429c33:0x194,_0x5193ae:0x8b,_0x52a734:0x201,_0x1c1530:0xa5,_0x9c59e6:0xd,_0x51547d:0x1fc,_0x2e0dd9:0x114,_0x2e1ec2:0x18c,_0x49baae:0x5d,_0xccc53b:0x1c7,_0x39bd08:0x202,_0x2395bf:0x100,_0x268765:0x10b,_0x4887f0:0x182,_0x5a434f:0x30,_0x51ced4:0x173,_0x59c61d:0xa,_0x394914:0x1a6,_0x5725e1:0x159,_0x168a43:0x113,_0x5a7c67:0x259,_0x474a6f:0x95,_0x41995a:0x3e5,_0x23f991:0x23b,_0x496fae:0x289,_0x1228a0:0x156,_0x2a557e:0x284,_0x34e6f1:0xca},_0x8c649a={_0x3a06db:0xf6,_0x34eb15:0x4a},_0x371172={_0x334412:0x133};if(_0x48b459[_0x401ac2(_0x19bdaf._0x301eff,0x50,_0x19bdaf._0x4a179f,_0x19bdaf._0x415471)](0x0,0x8)[_0x20bd3d(-_0x19bdaf._0x42593d,_0x19bdaf._0x44e4bd,_0x19bdaf._0x56c188,-0x92)](PNG_SIGNATURE))return _0x401ac2(0xd,_0x19bdaf._0x1e0c41,0xbd,_0x19bdaf._0x36135d);if(_0x48b459[0x0]===0xff&&_0x48b459[0x1]===0xd8&&_0x48b459[0x2]===0xff)return _0x20bd3d(_0x19bdaf._0x426f85,-0x17,_0x19bdaf._0x583c5e,-0xf2);const _0x5760f9=_0x48b459[_0x20bd3d(0x21a,0xef,_0x19bdaf._0xfb718e,_0x19bdaf._0xec3248)](0x0,0x6)[_0x20bd3d(_0x19bdaf._0x4dff7b,_0x19bdaf._0x2e2930,0xae,0x1f6)](_0x401ac2(0x1ae,0x6c,_0x19bdaf._0x11f2e8,0x29a));if(_0x5760f9===_0x401ac2(_0x19bdaf._0x5a6414,0xc7,0xc4,0x8f)||_0x5760f9===_0x20bd3d(_0x19bdaf._0x21d906,0x370,_0x19bdaf._0x4a7a3f,_0x19bdaf._0x15916b))return'image/gif';if(_0x48b459[_0x20bd3d(0x30c,_0x19bdaf._0x3eea0b,0x324,_0x19bdaf._0xec3248)](0x0,0x4)[_0x401ac2(0x233,0x219,_0x19bdaf._0x9ef214,0x10a)]('ascii')===_0x20bd3d(0xed,-_0x19bdaf._0x429c33,-_0x19bdaf._0x5193ae,0x13)&&_0x48b459['subarray'](0x8,0xc)['toString'](_0x401ac2(0x1ae,_0x19bdaf._0x52a734,0xf3,_0x19bdaf._0x1c1530))===_0x20bd3d(_0x19bdaf._0x9c59e6,0xf1,-0x1ff,-0x51))return'image/webp';function _0x20bd3d(_0x1e4657,_0x29868d,_0x129754,_0x279f93){return _0x8a95cf(_0x279f93- -_0x371172._0x334412,_0x1e4657,_0x129754-0xa2,_0x279f93-0x1a2);}const _0x5d4ba6=_0x43d99b[_0x20bd3d(_0x19bdaf._0x51547d,_0x19bdaf._0x2e0dd9,_0x19bdaf._0x2e1ec2,_0x19bdaf._0x49baae)](_0xa22b9a)[_0x20bd3d(-0xb5,_0x19bdaf._0xccc53b,_0x19bdaf._0x39bd08,_0x19bdaf._0x2395bf)]();if(_0x5d4ba6===_0x401ac2(0x224,0xbf,0xd9,0xb5))return _0x20bd3d(-_0x19bdaf._0x268765,0x27,-_0x19bdaf._0x4887f0,-_0x19bdaf._0x5a434f);function _0x401ac2(_0x5a63c9,_0x18aff4,_0x2504e3,_0x3e21f5){return _0x8a95cf(_0x5a63c9- -_0x8c649a._0x3a06db,_0x3e21f5,_0x2504e3-_0x8c649a._0x34eb15,_0x3e21f5-0x7a);}if(_0x5d4ba6==='.jpg'||_0x5d4ba6==='.jpeg')return _0x20bd3d(-_0x19bdaf._0x51ced4,_0x19bdaf._0x59c61d,-_0x19bdaf._0x394914,-0xf2);if(_0x5d4ba6===_0x20bd3d(-_0x19bdaf._0x5725e1,-0x7e,-0x123,-_0x19bdaf._0x168a43))return _0x401ac2(_0x19bdaf._0x5a7c67,0x239,_0x19bdaf._0x474a6f,_0x19bdaf._0x41995a);if(_0x5d4ba6===_0x20bd3d(_0x19bdaf._0x426f85,_0x19bdaf._0x23f991,_0x19bdaf._0x496fae,_0x19bdaf._0x1228a0))return _0x20bd3d(-_0x19bdaf._0x2a557e,-0x17d,0xee,-_0x19bdaf._0x34e6f1);return void 0x0;}function normalizeDetail(_0x454a0c){const _0x4bfa0d={_0x4783a2:0x2e,_0x4abd60:0x13d,_0x57e5f6:0x54,_0x22d0f6:0xa5,_0x46d4ef:0x113,_0x47ebf9:0x93,_0x26f5a2:0x174},_0x3f0801={_0x38214c:0xa2,_0x453331:0x146};function _0x5dc575(_0x366c3b,_0x2677f7,_0xeada59,_0x5a1c0c){return _0x8a95cf(_0x2677f7- -0x261,_0xeada59,_0xeada59-_0x3f0801._0x38214c,_0x5a1c0c-_0x3f0801._0x453331);}if(_0x454a0c===void 0x0)return void 0x0;const _0x7a9504=_0x454a0c['trim']()[_0x5dc575(-0x19e,-_0x4bfa0d._0x4783a2,_0x4bfa0d._0x4abd60,0x11d)]();if(!SUPPORTED_DETAILS[_0x5dc575(_0x4bfa0d._0x57e5f6,-_0x4bfa0d._0x22d0f6,-0x17f,_0x4bfa0d._0x46d4ef)](_0x7a9504))throw new ToolExecutionError(_0x5dc575(_0x4bfa0d._0x47ebf9,0xab,0x205,_0x4bfa0d._0x26f5a2)+_0x454a0c,{'detail':_0x454a0c});function _0xbb07c4(_0x4e18d1,_0x523c1b,_0x5d77ce,_0xe7abee){return _0x8a95cf(_0x5d77ce-0x2ed,_0x4e18d1,_0x5d77ce-0x1d2,_0xe7abee-0x14f);}return _0x7a9504;}function createViewFileTool(_0x364213={}){const _0x3b9041={_0x38b915:0x263,_0x404108:0x441,_0x14d9dc:0x448,_0xbf7a2:0x16b,_0x42e3e0:0x85,_0x69cf63:0x2ed,_0x511240:0x1f4,_0x50f44a:0x1e3,_0x5dd03a:0xb9,_0x1488bf:0x1d7,_0x4091c4:0x182,_0x371df6:0x219,_0x5dfb3b:0x23a,_0xdc0b86:0x12b,_0x20b7e5:0x2bb,_0x591f53:0xef,_0x5a2cf8:0x1ce,_0x2135f0:0x47,_0x40482e:0xb4},_0x5e7790={_0x58344b:0x32e,_0xbf7a3:0x1e6,_0x4de2a8:0x2aa,_0x262b54:0x343,_0x107bf7:0x4dd,_0x2c9f42:0x539,_0x464d97:0x3d8,_0x59a876:0x3fd,_0x1827fd:0x32e,_0x39d302:0x1df,_0x382e6c:0x2bf,_0x218758:0x3d3,_0x4e2775:0x324,_0x3341cb:0x527,_0x360ef5:0x147,_0x403b4e:0x8d,_0x52e942:0x1ad,_0x415a08:0x498,_0x2b4567:0x480,_0x4d8d74:0x294,_0x489807:0x419,_0x48ae9d:0x545,_0x29c975:0x36f,_0x236380:0x348,_0x1dd20e:0x1d5,_0x21fe09:0x385,_0x44a87c:0x1cf,_0x42679b:0x448,_0x56d02a:0x1fb,_0x15f782:0x3ea,_0x3f63c4:0xe4,_0x5543ed:0x610,_0x5391dd:0x3dc,_0x39b824:0x6d0,_0x434be2:0x2a5,_0x290b88:0x332,_0x15858d:0x5c1,_0x4ca0f2:0x40d,_0x2d7eb1:0x3ea,_0x327bba:0x58d,_0x5a2cb2:0x404,_0x239028:0x59f,_0x1f8b13:0x2fd,_0x4aaa59:0x395,_0x39cab4:0x533},_0x15815d={_0x45d2a2:0x1a1,_0x343074:0x56},_0x123060={_0x57c49c:0x1ca};function _0x2fb610(_0x4d39b9,_0x53d219,_0x2f081c,_0x4981e9){return _0x8a95cf(_0x53d219-_0x123060._0x57c49c,_0x4d39b9,_0x2f081c-0x149,_0x4981e9-0x131);}const _0x56b07b=_0x43d99b[_0x2fb610(0x221,_0x3b9041._0x38b915,0x18c,0xd4)](_0x364213['defaultCwd']??process['cwd']());function _0xac904(_0x246a21,_0x38829d,_0x279ea3,_0x277084){return _0x8a95cf(_0x38829d- -0x109,_0x246a21,_0x279ea3-_0x15815d._0x45d2a2,_0x277084-_0x15815d._0x343074);}const _0x540a7b=_0x364213[_0x2fb610(0x2c8,_0x3b9041._0x404108,0x535,_0x3b9041._0x14d9dc)]??[],_0xce87a0=_0x364213[_0xac904(_0x3b9041._0xbf7a2,0xce,-0xab,_0x3b9041._0x42e3e0)]??DEFAULT_MAX_BYTES,_0x5b1dfc=_0x364213['name']??_0xac904(0x173,0x3,0xfc,-0xd2);return defineTool({'name':_0x5b1dfc,'permissionClass':_0x2fb610(_0x3b9041._0x69cf63,_0x3b9041._0x511240,_0x3b9041._0x50f44a,_0x3b9041._0x5dd03a),'description':_0xac904(0x111,_0x3b9041._0x1488bf,_0x3b9041._0x4091c4,0x209),'inputSchema':{'type':_0xac904(_0x3b9041._0x371df6,_0x3b9041._0x5dfb3b,_0x3b9041._0xdc0b86,0x36d),'properties':{'path':{'type':_0x2fb610(_0x3b9041._0x20b7e5,0x1f2,_0x3b9041._0x591f53,0x188)},'detail':{'type':_0xac904(-_0x3b9041._0x5a2cf8,-0xe1,0x18,-_0x3b9041._0x2135f0)}},'required':[_0xac904(-0x69,0xfd,-_0x3b9041._0x40482e,0x11d)]},async *'execute'(_0x4d80af){const _0x122e7a={_0x1fe731:0x150},_0x404136={_0x1c0fb9:0x6f,_0x3601f5:0x25};function _0x491ab4(_0x41dfeb,_0x323998,_0x4f4a45,_0x5577a5){return _0x2fb610(_0x4f4a45,_0x5577a5-_0x404136._0x1c0fb9,_0x4f4a45-_0x404136._0x3601f5,_0x5577a5-0x9a);}const _0x28ee67=resolveAllowedPath(_0x56b07b,_0x540a7b,_0x4d80af[_0x2656ac(0x4b7,_0x5e7790._0x58344b,0x2a9,_0x5e7790._0xbf7a3)]);await assertWorkspaceFile(_0x28ee67);function _0x2656ac(_0x5793e0,_0x303350,_0x2c8c8e,_0x592978){return _0xac904(_0x5793e0,_0x303350-0x231,_0x2c8c8e-0x7e,_0x592978-_0x122e7a._0x1fe731);}const _0x355e15=await _0x1d3bb2(_0x28ee67);if(_0x355e15[_0x2656ac(_0x5e7790._0x4de2a8,_0x5e7790._0x262b54,0x39d,0x4f3)]>_0xce87a0)throw new ToolExecutionError(_0x491ab4(0x4ae,_0x5e7790._0x107bf7,_0x5e7790._0x2c9f42,_0x5e7790._0x464d97)+_0x4d80af['path'],{'path':_0x4d80af[_0x2656ac(_0x5e7790._0x59a876,_0x5e7790._0x1827fd,0x187,0x483)],'maxBytes':_0xce87a0,'size':_0x355e15['size']});const _0x2c6a8c=await _0x5bbd90(_0x28ee67),_0x543221=detectImageMediaType(_0x2c6a8c,_0x28ee67);if(!_0x543221)throw new ToolExecutionError(_0x491ab4(_0x5e7790._0x39d302,_0x5e7790._0x382e6c,_0x5e7790._0x218758,_0x5e7790._0x4e2775)+_0x4d80af[_0x491ab4(0x3ef,_0x5e7790._0x3341cb,0x369,0x43f)],{'path':_0x4d80af['path'],'supported':[_0x491ab4(_0x5e7790._0x360ef5,_0x5e7790._0x403b4e,_0x5e7790._0x52e942,0x259),'.jpeg',_0x491ab4(_0x5e7790._0x415a08,0x2b5,_0x5e7790._0x2b4567,0x45f),_0x491ab4(0x394,0x6df,0x5b3,0x553),_0x2656ac(_0x5e7790._0x4d8d74,0x3b1,0x23e,0x3a3)]});const _0x5890f3=normalizeDetail(_0x4d80af[_0x491ab4(0x3c9,_0x5e7790._0x489807,_0x5e7790._0x48ae9d,0x4e7)]),_0x201e31=[_0x2656ac(0x26e,_0x5e7790._0x29c975,_0x5e7790._0x236380,0x2c2)+_0x4d80af['path'],_0x491ab4(_0x5e7790._0x1dd20e,0x6d,_0x5e7790._0x21fe09,0x238)+_0x543221,'Size:\x20'+_0x355e15['size']+_0x2656ac(0x104,_0x5e7790._0x44a87c,0x93,0x107)][_0x491ab4(_0x5e7790._0x42679b,_0x5e7790._0x56d02a,0xff,0x28b)](_0x5890f3?['Detail:\x20'+_0x5890f3]:[])['join']('\x0a'),_0x2f71ac=[{'type':_0x491ab4(_0x5e7790._0x15f782,_0x5e7790._0x3f63c4,0x234,0x27d),'source':{'type':_0x491ab4(0x702,0x694,_0x5e7790._0x5543ed,0x59c),'media_type':_0x543221,'data':_0x2c6a8c['toString'](_0x491ab4(_0x5e7790._0x5391dd,_0x5e7790._0x39b824,0x4cf,0x59c))}},{'type':'text','text':_0x201e31}];return yield createToolOutput(_0x201e31,{'path':_0x4d80af['path'],'resolvedPath':_0x28ee67,'created':_0x355e15[_0x491ab4(_0x5e7790._0x434be2,_0x5e7790._0x290b88,_0x5e7790._0x15858d,_0x5e7790._0x4ca0f2)][_0x491ab4(0x464,0x5ac,0x2cf,_0x5e7790._0x2d7eb1)](),'modified':_0x355e15[_0x2656ac(_0x5e7790._0x327bba,_0x5e7790._0x5a2cb2,_0x5e7790._0x239028,_0x5e7790._0x1f8b13)]['toISOString'](),'size':_0x355e15['size'],'mimeType':_0x543221,'encoding':_0x2656ac(_0x5e7790._0x4aaa59,0x48b,0x62c,_0x5e7790._0x39cab4),..._0x5890f3?{'detail':_0x5890f3}:{}},_0x2f71ac),void 0x0;}});}import _0x1c165a from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x9f0268=>{const _0x649bef={_0x2873bd:0xbc,_0x38b6a5:0x129},_0x3fc902={_0x20dc9f:0x2d,_0x3b451b:0xba},{lookup:_0x47fcd1}=await import(_0x41c44d(-0x3c,0x9d,-_0x649bef._0x2873bd,_0x649bef._0x38b6a5));function _0x41c44d(_0x8e060c,_0x3e6432,_0xec4f20,_0x1049ec){return _0x8a95cf(_0x3e6432- -_0x3fc902._0x20dc9f,_0x1049ec,_0xec4f20-_0x3fc902._0x3b451b,_0x1049ec-0x174);}return _0x47fcd1(_0x9f0268,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x7f913b){const _0x3c19e4={_0x560d5a:0xef,_0x34afc8:0x12f,_0x49580c:0x8,_0xc223c9:0x215,_0x41ccb2:0x491,_0xee1734:0x3f6,_0x31817f:0x2d0},_0x59dbcb={_0x4d801f:0x165,_0x53d1c8:0x153,_0x49fbfa:0x66},_0x283905={_0x5cdad6:0xe7,_0x40ad32:0xb5},_0x3f01b6=_0x7f913b[_0x5dcf9c(-0x17,_0x3c19e4._0x560d5a,_0x3c19e4._0x34afc8,-_0x3c19e4._0x49580c)]('.');function _0x5dcf9c(_0x4196ac,_0x2cb452,_0x15a2d9,_0x148739){return _0x8a95cf(_0x148739- -0x90,_0x4196ac,_0x15a2d9-_0x283905._0x5cdad6,_0x148739-_0x283905._0x40ad32);}if(_0x3f01b6[_0x5dcf9c(0x2ae,0xd2,0x2e0,_0x3c19e4._0xc223c9)]!==0x4)return null;let _0x45acf4=0x0;for(const _0x29cb7d of _0x3f01b6){if(!/^\d{1,3}$/[_0x5dcf9c(0x281,_0x3c19e4._0x41ccb2,_0x3c19e4._0xee1734,_0x3c19e4._0x31817f)](_0x29cb7d))return null;const _0x2e1286=Number(_0x29cb7d);if(_0x2e1286>0xff)return null;_0x45acf4=_0x45acf4*0x100+_0x2e1286;}function _0x5b80d7(_0xa9da4e,_0x3e6280,_0x3e6e04,_0x4ab376){return _0x8a95cf(_0x3e6e04- -_0x59dbcb._0x4d801f,_0x4ab376,_0x3e6e04-_0x59dbcb._0x53d1c8,_0x4ab376-_0x59dbcb._0x49fbfa);}return _0x45acf4>>>0x0;}function isBlockedIpv4(_0x4d61b4){const _0x1f24ea={_0x3aa480:0x23a,_0x5146af:0x530,_0x5f2bee:0x64c,_0x3ede8a:0x70,_0x1628ed:0x47,_0x3cd7be:0x5e9,_0x3c750b:0x3ad,_0x12b7bb:0x458,_0x4fb920:0x503,_0x550174:0x240,_0x2f813c:0x594,_0x5d04fe:0x4bf,_0x1871c3:0x577,_0x28e653:0x720,_0x208ca7:0x730,_0x223ceb:0x438,_0x55c1e0:0x424,_0x3ff2e1:0x2df,_0x3bf7f9:0x733,_0x19b262:0x5d5,_0x696b46:0x267,_0x25327f:0x348},_0x240b26={_0x1e8d52:0x52},_0x19678f={_0x2eccdd:0x535,_0x5cfdd0:0x36},_0x332919=ipv4ToInt(_0x4d61b4);if(_0x332919===null)return!![];function _0x57ff78(_0x238c1c,_0x119289,_0x467caa,_0x5375b4){return _0x8a95cf(_0x5375b4-_0x19678f._0x2eccdd,_0x467caa,_0x467caa-_0x19678f._0x5cfdd0,_0x5375b4-0x128);}function _0x860c22(_0x57c95e,_0xe6df16,_0x1a4b0b,_0x3f1614){return _0x12dc71(_0x57c95e,_0xe6df16-_0x240b26._0x1e8d52,_0x3f1614-0xc6,_0x3f1614-0x1a6);}const _0x410304=(_0x23fb6b,_0x2c3ad1)=>{const _0x2b9b00=ipv4ToInt(_0x23fb6b);if(_0x2b9b00===null)return![];const _0x47a272=_0x2c3ad1===0x0?0x0:0xffffffff<<0x20-_0x2c3ad1>>>0x0;return(_0x332919&_0x47a272)===(_0x2b9b00&_0x47a272);};return _0x410304(_0x860c22(0x107,0x146,0xb2,_0x1f24ea._0x3aa480),0x8)||_0x410304(_0x57ff78(0x485,0x5d0,0x54c,0x54f),0x8)||_0x410304(_0x57ff78(0x80c,_0x1f24ea._0x5146af,0x6e2,_0x1f24ea._0x5f2bee),0xa)||_0x410304(_0x860c22(0x391,_0x1f24ea._0x3ede8a,_0x1f24ea._0x1628ed,0x1d4),0x8)||_0x410304(_0x860c22(_0x1f24ea._0x3cd7be,_0x1f24ea._0x3c750b,0x4c0,_0x1f24ea._0x12b7bb),0x10)||_0x410304(_0x860c22(_0x1f24ea._0x4fb920,0x1dd,_0x1f24ea._0x550174,0x397),0xc)||_0x410304(_0x860c22(_0x1f24ea._0x2f813c,_0x1f24ea._0x5d04fe,_0x1f24ea._0x1871c3,0x47f),0x18)||_0x410304(_0x57ff78(_0x1f24ea._0x28e653,0x65a,0x74f,_0x1f24ea._0x208ca7),0x10)||_0x410304(_0x860c22(0x344,_0x1f24ea._0x223ceb,_0x1f24ea._0x55c1e0,_0x1f24ea._0x3ff2e1),0xf)||_0x410304(_0x57ff78(_0x1f24ea._0x3bf7f9,0x494,0x459,_0x1f24ea._0x19b262),0x4)||_0x410304(_0x860c22(0x4b6,_0x1f24ea._0x696b46,0x230,_0x1f24ea._0x25327f),0x4);}function expandIpv6(_0x596d0f){const _0x31dfe6={_0x5dc5d1:0x38f,_0x1132dd:0x394,_0x911890:0x559,_0x2e8125:0x551,_0x1fbb42:0x3af,_0x25d061:0x1e7,_0x2174cf:0x3ac,_0x13ea78:0x4f7,_0x388423:0x280,_0x1385e8:0x491,_0x3c74fa:0x414,_0x5eb525:0x62e,_0x31144f:0x640,_0x3ae2b5:0x701,_0x2b3f31:0x5b4,_0x5ea539:0x2fc,_0x5be95c:0x2d7,_0x456aa0:0x570,_0x589089:0x625,_0x2ff87e:0x476,_0x501fbd:0x5f4,_0x2a412c:0x7d1,_0x1a66d9:0x536,_0x506952:0x640,_0x1e3e81:0x69e,_0x538eca:0x754,_0x30a4a0:0x640,_0x2d08f5:0x576},_0x980626={_0x5ac12d:0x147,_0x3af47c:0x354};let _0x29f458=_0x596d0f,_0x1f1f4b;const _0x441a86=_0x29f458[_0x1b91f6(0x21f,_0x31dfe6._0x5dc5d1,_0x31dfe6._0x1132dd,_0x31dfe6._0x911890)](':');function _0x1b91f6(_0x5e4526,_0x348b05,_0x1f665a,_0x337a39){return _0x8a95cf(_0x348b05-0x1d1,_0x5e4526,_0x1f665a-0xf7,_0x337a39-0x73);}_0x29f458[_0x195b1e(0x4da,0x378,_0x31dfe6._0x2e8125,_0x31dfe6._0x1fbb42)](_0x441a86+0x1)['includes']('.')&&(_0x1f1f4b=_0x29f458['slice'](_0x441a86+0x1),_0x29f458=_0x29f458[_0x195b1e(_0x31dfe6._0x25d061,0x575,_0x31dfe6._0x2174cf,0x3af)](0x0,_0x441a86+0x1));const _0x22cfe9=_0x29f458[_0x195b1e(0x342,_0x31dfe6._0x13ea78,_0x31dfe6._0x388423,0x423)]('::');if(_0x22cfe9[_0x1b91f6(_0x31dfe6._0x1385e8,0x476,_0x31dfe6._0x3c74fa,_0x31dfe6._0x5eb525)]>0x2)return null;const _0x769970=_0x392c0a=>_0x392c0a[_0x1b91f6(0x374,0x259,0xc2,0x3b3)](':')['filter'](_0x46bf8c=>_0x46bf8c[_0x195b1e(0x5d2,0x5b1,0x604,0x640)]>0x0)[_0x1b91f6(0x61a,0x507,0x41d,0x5f2)](_0x4bc41f=>Number[_0x195b1e(0x6aa,0x7cf,0x6bc,0x6c3)](_0x4bc41f,0x10)),_0x353ab9=_0x22cfe9[0x0]?_0x769970(_0x22cfe9[0x0]):[];function _0x195b1e(_0x43d6ff,_0x485003,_0x697c6a,_0x7b80b7){return _0x12dc71(_0x43d6ff,_0x485003-_0x980626._0x5ac12d,_0x7b80b7-_0x980626._0x3af47c,_0x7b80b7-0x32);}const _0x59d922=_0x22cfe9[_0x195b1e(0x4b4,0x7a2,0x4d1,_0x31dfe6._0x31144f)]===0x2&&_0x22cfe9[0x1]?_0x769970(_0x22cfe9[0x1]):[],_0x307fb4=[];if(_0x1f1f4b){const _0x423600=ipv4ToInt(_0x1f1f4b);if(_0x423600===null)return null;_0x307fb4[_0x195b1e(0x710,_0x31dfe6._0x3ae2b5,0x48e,_0x31dfe6._0x2b3f31)](_0x423600>>>0x10&0xffff,_0x423600&0xffff);}const _0x3cdc9c=[..._0x59d922,..._0x307fb4],_0x32484a=0x8-_0x353ab9[_0x1b91f6(_0x31dfe6._0x5ea539,0x476,_0x31dfe6._0x5be95c,_0x31dfe6._0x456aa0)]-_0x3cdc9c[_0x1b91f6(0x56a,0x476,0x427,0x61f)];if(_0x22cfe9[_0x1b91f6(_0x31dfe6._0x589089,_0x31dfe6._0x2ff87e,_0x31dfe6._0x501fbd,0x30a)]===0x1)return _0x353ab9[_0x195b1e(0x676,_0x31dfe6._0x2a412c,_0x31dfe6._0x1a66d9,_0x31dfe6._0x506952)]+_0x3cdc9c[_0x195b1e(_0x31dfe6._0x1e3e81,_0x31dfe6._0x538eca,0x4fc,_0x31dfe6._0x30a4a0)]===0x8?[..._0x353ab9,..._0x3cdc9c]:null;if(_0x32484a<0x0)return null;return[..._0x353ab9,...new Array(_0x32484a)[_0x195b1e(_0x31dfe6._0x2d08f5,0x46f,0x53a,0x4fa)](0x0),..._0x3cdc9c];}function isBlockedIpv6(_0x1038c0){const _0x1635b0={_0x4e574e:0xb7,_0xa11831:0x159,_0x790942:0x298,_0x541d75:0x203,_0x40e78b:0x90},_0xeea97f={_0x575029:0xa4},_0x4b2ed0={_0x24c0c4:0x42},_0xf70701=expandIpv6(_0x1038c0);if(!_0xf70701||_0xf70701[_0x52e5cf(0x31f,0x28,_0x1635b0._0x4e574e,0x1ce)](_0x2f4c9c=>Number[_0x3fd3a6(0xc7,0x159,0x1af,0xe1)](_0x2f4c9c)))return!![];const _0x153337=_0xf70701[_0x52e5cf(-_0x1635b0._0xa11831,-0x1dd,-0x123,-0x90)](0x0,0x7)[_0x52e5cf(-0x45,0x94,_0x1635b0._0x790942,0x17f)](_0x4ddd6b=>_0x4ddd6b===0x0);if(_0x153337&&(_0xf70701[0x7]===0x0||_0xf70701[0x7]===0x1))return!![];function _0x3fd3a6(_0x61500a,_0x3a1318,_0x442cf9,_0x4442c8){return _0x8a95cf(_0x61500a-0x2c,_0x4442c8,_0x442cf9-_0x4b2ed0._0x24c0c4,_0x4442c8-0xe7);}if(_0xf70701[_0x52e5cf(-0xe9,-_0x1635b0._0x541d75,-0x1cc,-_0x1635b0._0x40e78b)](0x0,0x5)['every'](_0x46195f=>_0x46195f===0x0)&&(_0xf70701[0x5]===0xffff||_0xf70701[0x5]===0x0)){const _0x166194=(_0xf70701[0x6]<<0x10|_0xf70701[0x7])>>>0x0,_0x4323bd=[_0x166194>>>0x18&0xff,_0x166194>>>0x10&0xff,_0x166194>>>0x8&0xff,_0x166194&0xff]['join']('.');return isBlockedIpv4(_0x4323bd);}const _0x5a81d0=_0xf70701[0x0];if((_0x5a81d0&0xff00)===0xfc00||(_0x5a81d0&0xfe00)===0xfc00)return!![];if((_0x5a81d0&0xffc0)===0xfe80)return!![];function _0x52e5cf(_0x6e64e1,_0x10aed9,_0x10dfa7,_0x29b335){return _0x8a95cf(_0x29b335- -_0xeea97f._0x575029,_0x6e64e1,_0x10dfa7-0x18a,_0x29b335-0x169);}if((_0x5a81d0&0xff00)===0xff00)return!![];return![];}function isBlockedAddress(_0x9cab8c){const _0x52f68f=isIP(_0x9cab8c);if(_0x52f68f===0x4)return isBlockedIpv4(_0x9cab8c);if(_0x52f68f===0x6)return isBlockedIpv6(_0x9cab8c);return!![];}async function assertPublicUrl(_0x24f3bd,_0x23a2a8={}){const _0x4691ed={_0x679acd:0x3c,_0x43314e:0x18d,_0x16541e:0x1a4,_0x2476f3:0x3a4,_0x1008a1:0x24c,_0x2d9a7a:0x20c,_0x128de2:0x378,_0xce32a4:0x519,_0x3db10b:0x538,_0x15957a:0x274,_0x86254e:0xf8,_0x322c30:0x23d,_0xe3e27f:0x437,_0x3a38c2:0x4a1,_0xcb10dc:0x6c,_0x8be983:0x84,_0x3f7469:0x1c3,_0x38a195:0x131,_0x57b0db:0x82,_0x24b7c3:0x13b,_0x28a5bf:0xb2,_0x3d3e35:0x257,_0x2166c5:0x24e,_0x86f19b:0x19e,_0x83338:0x1f2,_0x2f550b:0x565,_0x9675b5:0x6e5,_0x8bc80b:0xf9,_0x5e34d4:0x50c,_0x35d269:0x340,_0x1719fa:0x380,_0x21795f:0x458,_0x45d7a6:0x171,_0xc303cc:0x3d},_0xf0d20a={_0x38c37d:0x1c1},_0x39418e={_0x55191a:0xc4};let _0x2d60b3;try{_0x2d60b3=new URL(_0x24f3bd);}catch{throw new ToolExecutionError(_0x2733aa(-_0x4691ed._0x679acd,-_0x4691ed._0x43314e,-_0x4691ed._0x16541e,-0x33d),{'url':_0x24f3bd});}function _0x2733aa(_0x38c83d,_0x1e5098,_0x4ec977,_0x2f6b08){return _0x12dc71(_0x1e5098,_0x1e5098-0xdd,_0x4ec977- -0x2d4,_0x2f6b08-_0x39418e._0x55191a);}function _0x17e5fd(_0x9715d6,_0xee27f,_0x36ec06,_0x12c538){return _0x12dc71(_0xee27f,_0xee27f-0xa8,_0x9715d6-_0xf0d20a._0x38c37d,_0x12c538-0x109);}if(_0x2d60b3[_0x17e5fd(0x519,0x669,_0x4691ed._0x2476f3,0x3b9)]!==_0x2733aa(-_0x4691ed._0x1008a1,-0x2d7,-_0x4691ed._0x2d9a7a,-_0x4691ed._0x128de2)&&_0x2d60b3[_0x17e5fd(_0x4691ed._0xce32a4,0x550,0x4ca,_0x4691ed._0x3db10b)]!==_0x2733aa(-_0x4691ed._0x15957a,-0x145,-0x1a6,-0x31b))throw new ToolExecutionError(_0x2733aa(-0x3a3,-_0x4691ed._0x86254e,-0x281,-_0x4691ed._0x322c30),{'url':_0x24f3bd});if(_0x2d60b3[_0x17e5fd(0x55e,0x52f,_0x4691ed._0xe3e27f,0x3c9)]||_0x2d60b3['password'])throw new ToolExecutionError(_0x17e5fd(_0x4691ed._0x3a38c2,0x457,0x3b0,0x58a),{'url':_0x2d60b3[_0x2733aa(_0x4691ed._0xcb10dc,0x1bd,_0x4691ed._0x8be983,_0x4691ed._0x3f7469)]+'//'+_0x2d60b3['host']+_0x2d60b3[_0x2733aa(0x1dc,_0x4691ed._0x38a195,_0x4691ed._0x57b0db,-0x11d)]});const _0x2fde04=_0x2d60b3[_0x2733aa(-_0x4691ed._0x24b7c3,-0x27a,-0x108,_0x4691ed._0x28a5bf)][_0x17e5fd(_0x4691ed._0x3d3e35,0x414,0x41c,_0x4691ed._0x2166c5)](/^\[|\]$/g,''),_0x5580e2=_0x2d60b3[_0x2733aa(_0x4691ed._0x86f19b,-0x60,0x84,_0x4691ed._0x83338)]+'//'+_0x2d60b3[_0x17e5fd(_0x4691ed._0x2f550b,0x468,0x611,_0x4691ed._0x9675b5)]+_0x2d60b3[_0x2733aa(-0xba,0x1ee,_0x4691ed._0x57b0db,_0x4691ed._0x8bc80b)];if(isIP(_0x2fde04)){if(isBlockedAddress(_0x2fde04))throw new ToolExecutionError(_0x17e5fd(_0x4691ed._0x5e34d4,_0x4691ed._0x35d269,0x69f,0x63a),{'url':_0x5580e2});return _0x2d60b3;}const _0x2ccfc1=_0x23a2a8[_0x17e5fd(0x481,0x391,0x3e2,_0x4691ed._0x1719fa)]??defaultLookup;let _0x4182ea;try{_0x4182ea=await _0x2ccfc1(_0x2fde04);}catch{throw new ToolExecutionError(_0x17e5fd(_0x4691ed._0x21795f,0x4fe,0x413,0x55b),{'url':_0x5580e2});}if(_0x4182ea[_0x2733aa(-_0x4691ed._0x45d7a6,0x1ae,0x18,-0x4)]===0x0)throw new ToolExecutionError(_0x2733aa(0xee,0x103,-_0x4691ed._0xc303cc,0x118),{'url':_0x5580e2});for(const {address:_0x224af4}of _0x4182ea){if(isBlockedAddress(_0x224af4))throw new ToolExecutionError('Refusing\x20to\x20fetch\x20a\x20host\x20that\x20resolves\x20to\x20a\x20non-public\x20address',{'url':_0x5580e2});}return _0x2d60b3;}async function safeFetch(_0x353503,_0x5b7b68={},_0xc347a5={}){const _0x1ecb8a={_0x25d06e:0x182,_0x467d09:0x268,_0x15990f:0x29d,_0x25b0f0:0x1b3,_0x4b9d7d:0x14b,_0x1001e8:0x865,_0x385c27:0x477,_0x220569:0x641,_0x4bee7d:0x561,_0x490c41:0x535,_0x9b4d49:0x31e,_0x59d19e:0x52,_0x16f909:0x183,_0x5910ad:0x2d7,_0x28cfc4:0x29b,_0x48f91f:0xed,_0x28b0a3:0x377,_0x529291:0x3d8,_0x448016:0x3dc,_0x49d02b:0x357,_0xcbf5ad:0x918,_0xa5ceec:0x910,_0x49a164:0x796,_0x52c577:0x81d,_0x5ebd30:0x730},_0x53b68e={_0x34c25d:0x98,_0x1df065:0x15d},_0x1b0588={_0x5c574a:0x73};function _0x5f1ba9(_0x222dc3,_0x1494e0,_0x4d6d06,_0x45724d){return _0x8a95cf(_0x4d6d06-0x4f4,_0x45724d,_0x4d6d06-0xd,_0x45724d-_0x1b0588._0x5c574a);}function _0xd46196(_0xc8911e,_0x7b6722,_0x165c10,_0x3fb6d8){return _0x12dc71(_0x3fb6d8,_0x7b6722-0x3a,_0x7b6722-_0x53b68e._0x34c25d,_0x3fb6d8-_0x53b68e._0x1df065);}const _0x10a0cf=_0xc347a5[_0xd46196(_0x1ecb8a._0x25d06e,_0x1ecb8a._0x467d09,_0x1ecb8a._0x15990f,_0x1ecb8a._0x25b0f0)]??fetch,_0x8b7768=_0xc347a5[_0xd46196(_0x1ecb8a._0x4b9d7d,0x127,0x1f3,0x286)]??DEFAULT_MAX_REDIRECTS;let _0x4276b8=_0x353503;for(let _0x3c41cf=0x0;;_0x3c41cf+=0x1){const _0x64c28f=await assertPublicUrl(_0x4276b8,_0xc347a5),_0x32d020=await _0x10a0cf(_0x64c28f[_0x5f1ba9(_0x1ecb8a._0x1001e8,0x6b7,0x81d,0x70d)](),{..._0x5b7b68,'redirect':'manual'}),_0x3eebb8=_0x32d020[_0x5f1ba9(_0x1ecb8a._0x385c27,_0x1ecb8a._0x220569,_0x1ecb8a._0x4bee7d,0x673)][_0xd46196(_0x1ecb8a._0x490c41,0x3cc,0x257,_0x1ecb8a._0x9b4d49)](_0xd46196(_0x1ecb8a._0x59d19e,_0x1ecb8a._0x16f909,0x115,0x278));if(!REDIRECT_STATUSES[_0xd46196(_0x1ecb8a._0x5910ad,_0x1ecb8a._0x28cfc4,_0x1ecb8a._0x48f91f,_0x1ecb8a._0x28b0a3)](_0x32d020['status'])||!_0x3eebb8)return _0x32d020;if(_0x3c41cf>=_0x8b7768)throw new ToolExecutionError(_0xd46196(0x2ba,_0x1ecb8a._0x529291,_0x1ecb8a._0x448016,_0x1ecb8a._0x49d02b),{'url':_0x64c28f[_0x5f1ba9(_0x1ecb8a._0xcbf5ad,_0x1ecb8a._0xa5ceec,0x81d,0x664)]()});_0x4276b8=new URL(_0x3eebb8,_0x64c28f)[_0x5f1ba9(0x8e5,_0x1ecb8a._0x49a164,_0x1ecb8a._0x52c577,_0x1ecb8a._0x5ebd30)]();}}var USER_AGENT=_0x8a95cf(0x294,0x197,0x35b,0x34c),DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x2ac715,_0x4be720){const _0x37fedb={_0x457e43:0x39,_0x2f583b:0x1b6,_0x55b5e0:0x267,_0x3cc473:0xc0},_0x6e732e={_0x379df7:0x640,_0x2f9384:0x596,_0x3f41a4:0x804,_0x4392c3:0x705},_0x12dba={_0x113a9f:0x20a,_0x341782:0xa8},_0x5ecdd9={_0x1f328f:0x111,_0x394f16:0x276,_0x2ea840:0x53},_0x408eb0={_0x1a76ab:0x196},_0xb6e123=new AbortController(),_0x2415c9=setTimeout(()=>_0xb6e123[_0x144d27(0x436,0x44a,0x3bd,0x3aa)](new Error(_0x1301dc(-0x2d7,-0x9,-0x1d0,-0x2c4))),_0x4be720);function _0x144d27(_0x35128c,_0x97181c,_0x1d6759,_0x5b0672){return _0x12dc71(_0x5b0672,_0x97181c-0x1bc,_0x35128c-0x1a9,_0x5b0672-_0x408eb0._0x1a76ab);}const _0x2a2dfe=()=>_0xb6e123[_0x1301dc(0x111,-0x13c,0x17,0x3e)](_0x2ac715[_0x144d27(0x35f,0x327,0x388,0x1bf)]);function _0x1301dc(_0x3a06c0,_0x58be38,_0x490bf8,_0x5b386a){return _0x12dc71(_0x3a06c0,_0x58be38-_0x5ecdd9._0x1f328f,_0x490bf8- -_0x5ecdd9._0x394f16,_0x5b386a-_0x5ecdd9._0x2ea840);}return _0x2ac715[_0x1301dc(_0x37fedb._0x457e43,-_0x37fedb._0x2f583b,-0x8b,-0x18)]?_0xb6e123['abort'](_0x2ac715[_0x1301dc(-0x14e,-_0x37fedb._0x55b5e0,-_0x37fedb._0x3cc473,-0x169)]):_0x2ac715[_0x1301dc(-0x13f,0x16b,0x14,0x1f)](_0x144d27(0x436,0x4f0,0x4ec,0x432),_0x2a2dfe,{'once':!![]}),{'signal':_0xb6e123['signal'],'cleanup':()=>{function _0x31c99b(_0x43b8a3,_0x4f7376,_0x46bb32,_0x1ac036){return _0x144d27(_0x43b8a3-_0x12dba._0x113a9f,_0x4f7376-_0x12dba._0x341782,_0x46bb32-0x1b4,_0x4f7376);}clearTimeout(_0x2415c9),_0x2ac715['removeEventListener'](_0x31c99b(_0x6e732e._0x379df7,_0x6e732e._0x2f9384,_0x6e732e._0x3f41a4,_0x6e732e._0x4392c3),_0x2a2dfe);}};}function createWebFetchTool(_0x188183={}){const _0x38499c={_0x3a1311:0x542,_0x36e5de:0x576,_0x5a85a3:0x65a,_0x222027:0x588,_0x4ca86c:0x599,_0x4659ca:0x48c,_0xee162c:0x399,_0x11ecb1:0x50c,_0x58cd42:0x2d1,_0x2fb662:0x690,_0xf61d95:0x5f9,_0x376091:0x71e,_0x1f33e5:0x56c,_0x490947:0x3d9,_0x43ca61:0x6d5,_0x366ec7:0x598,_0x1e5a77:0x387,_0x194137:0x413,_0x2d43a2:0x247,_0x190b5c:0x641,_0x68224f:0x49a,_0x3b4579:0x798,_0x3988b9:0xb7,_0x2d294b:0x330,_0x419104:0x72,_0x25fa43:0x93,_0x1a8444:0x109,_0x3b3658:0x1f8,_0x96cf78:0x3b,_0x30dd17:0x38c,_0x2a65fd:0x539,_0x129c39:0x2e4},_0x52440e={_0x50f447:0x1b8,_0x58a63e:0x2bd,_0x1d2eed:0xf9,_0x5716a1:0x6bd,_0x104bd1:0x624,_0x2a29c1:0x570,_0x2c0faa:0x4e9,_0x2186cb:0x382,_0x4b54b2:0x59a,_0x139516:0x5a1,_0x33d1c7:0x555,_0x1e04a1:0x4d2,_0x341829:0x563,_0x49f3e0:0x5b9,_0x538c96:0x48a,_0x4bdf6f:0x365,_0x35a8c7:0x5bb,_0x31ce47:0x547,_0x1bc881:0x463,_0x2d16d2:0x3c0,_0x286778:0x689,_0x5eed1b:0x6fb,_0xeff933:0x755,_0x1677eb:0x5cf,_0x236aef:0x56c,_0x12fbdb:0x6cd,_0x246ee7:0x61f,_0x11d373:0x5bb,_0x32ed9f:0x4bf,_0x5754ec:0x653,_0x416e2f:0x654,_0x487902:0x487,_0x4da722:0x3b0,_0x4ab77f:0x310,_0xea1f5b:0x5eb,_0x46d390:0x401,_0x23a4ce:0x35b,_0x4e80e8:0x4fa,_0x2a4a9f:0x4ed,_0x36b43e:0x41a,_0x316d05:0x473,_0x3af1bd:0x4d4,_0x39a234:0x4ef,_0x3bd17f:0x617,_0x14269d:0x323,_0xf39790:0x37a,_0x522ee9:0x256,_0x5d702c:0x4ac,_0x4c1997:0x3c4,_0x168511:0x39e,_0x573cb3:0x1f6,_0x210b8b:0x52e,_0x209aff:0x523,_0x47c0b1:0x611},_0xe587df={_0x18e22c:0x281,_0x2f2a13:0x3f,_0x5cabf3:0x1a},_0x17ef21={_0x36f95e:0x364,_0x4b51cf:0x1bb},_0x273a26=_0x188183[_0x3802da(-0x14b,-0xcf,-0xe8,-0xa5)]??'WebFetch',_0x4707c=_0x188183[_0x71f44b(_0x38499c._0x3a1311,_0x38499c._0x36e5de,0x69c,_0x38499c._0x5a85a3)]??DEFAULT_TIMEOUT_MS2;function _0x71f44b(_0x28da8e,_0xbc4b99,_0x72e1ed,_0x42b3aa){return _0x8a95cf(_0x28da8e-_0x17ef21._0x36f95e,_0x42b3aa,_0x72e1ed-_0x17ef21._0x4b51cf,_0x42b3aa-0x140);}function _0x3802da(_0x6de04e,_0x11ad3d,_0x10b839,_0x40584c){return _0x8a95cf(_0x11ad3d- -_0xe587df._0x18e22c,_0x6de04e,_0x10b839-_0xe587df._0x2f2a13,_0x40584c-_0xe587df._0x5cabf3);}const _0x4e29cb=_0x188183[_0x71f44b(0x5dd,_0x38499c._0x222027,0x48f,_0x38499c._0x4ca86c)],_0x288776=new _0x1c165a({'headingStyle':_0x71f44b(_0x38499c._0x4659ca,_0x38499c._0xee162c,_0x38499c._0x11ecb1,_0x38499c._0x58cd42),'codeBlockStyle':_0x71f44b(_0x38499c._0x2fb662,_0x38499c._0xf61d95,_0x38499c._0x376091,0x687),'bulletListMarker':'-'});return _0x288776['remove']([_0x71f44b(_0x38499c._0x1f33e5,_0x38499c._0x490947,_0x38499c._0x43ca61,_0x38499c._0x366ec7),'style',_0x71f44b(_0x38499c._0x1e5a77,_0x38499c._0x194137,_0x38499c._0x2d43a2,0x4ba),'iframe',_0x71f44b(0x4da,_0x38499c._0x190b5c,0x5e3,_0x38499c._0x68224f),_0x71f44b(0x688,_0x38499c._0x3b4579,0x787,0x5f7),_0x71f44b(0x6e2,0x555,0x85b,0x61c),_0x3802da(-0x25d,-_0x38499c._0x3988b9,-0x1d4,0x9d)]),defineTool({'name':_0x273a26,'permissionClass':_0x3802da(-0xc1,-0x257,-_0x38499c._0x2d294b,-0x31a),'description':_0x3802da(0x1f6,_0x38499c._0x419104,-0x82,_0x38499c._0x25fa43),'inputSchema':{'type':_0x3802da(_0x38499c._0x1a8444,0xc2,_0x38499c._0x3b3658,-_0x38499c._0x96cf78),'properties':{'description':{'type':_0x71f44b(_0x38499c._0x30dd17,_0x38499c._0x2a65fd,_0x38499c._0x129c39,0x2f9)},'url':{'type':_0x3802da(-0x101,-0x259,-0x309,-0x407)}},'required':['url']},async *'execute'(_0x47c6cd,_0x3fb9f5){const _0x128f62={_0x4a1cef:0x9f,_0x54d1d7:0x163};function _0x2e0d85(_0xe26a43,_0x31ebd1,_0x20c807,_0x26f1ea){return _0x71f44b(_0x20c807- -0xe6,_0x31ebd1-_0x128f62._0x4a1cef,_0x20c807-_0x128f62._0x54d1d7,_0x31ebd1);}const _0x8d92eb=(await assertPublicUrl(_0x47c6cd[_0x2e0d85(_0x52440e._0x50f447,0x126,_0x52440e._0x58a63e,_0x52440e._0x1d2eed)],{'lookup':_0x4e29cb}))[_0x459502(_0x52440e._0x5716a1,_0x52440e._0x104bd1,0x737,_0x52440e._0x2a29c1)]();if(_0x3fb9f5['signal'][_0x459502(_0x52440e._0x2c0faa,0x49f,_0x52440e._0x2186cb,0x2e7)])throw new ToolExecutionError(_0x459502(_0x52440e._0x4b54b2,_0x52440e._0x139516,0x5df,_0x52440e._0x33d1c7),{'url':_0x8d92eb});const _0x3e9e5f=createTimeoutSignal(_0x3fb9f5[_0x459502(_0x52440e._0x1e04a1,0x58a,0x74e,_0x52440e._0x341829)],_0x4707c);let _0x3f2157='',_0x1cb2be=0x0,_0x341064;try{const _0x1dc345=await safeFetch(_0x8d92eb,{'headers':{'User-Agent':USER_AGENT},'signal':_0x3e9e5f['signal']},{'lookup':_0x4e29cb});if(!_0x1dc345['ok'])throw new ToolExecutionError(_0x459502(_0x52440e._0x49f3e0,_0x52440e._0x538c96,0x4fc,_0x52440e._0x4bdf6f)+_0x1dc345[_0x459502(0x73d,_0x52440e._0x35a8c7,0x5c1,_0x52440e._0x31ce47)]+'\x20'+_0x1dc345[_0x459502(_0x52440e._0x1bc881,0x55c,0x475,_0x52440e._0x2d16d2)],{'url':_0x8d92eb,'statusCode':_0x1dc345['status']});_0x3f2157=_0x1dc345['headers'][_0x459502(_0x52440e._0x286778,0x5e8,0x6d6,_0x52440e._0x5eed1b)](_0x459502(_0x52440e._0xeff933,_0x52440e._0x1677eb,_0x52440e._0x236aef,_0x52440e._0x12fbdb))??'',_0x1cb2be=_0x1dc345[_0x459502(_0x52440e._0x246ee7,_0x52440e._0x11d373,_0x52440e._0x32ed9f,_0x52440e._0x5754ec)],_0x341064=await _0x1dc345[_0x459502(_0x52440e._0x416e2f,0x5ab,_0x52440e._0x487902,0x5d1)]();}catch(_0x5b788b){if(_0x5b788b instanceof ToolExecutionError)throw _0x5b788b;const _0x49eded=_0x5b788b instanceof Error?_0x5b788b['message']:String(_0x5b788b);throw new ToolExecutionError(_0x49eded,{'url':_0x8d92eb});}finally{_0x3e9e5f[_0x2e0d85(_0x52440e._0x4da722,0x370,0x313,0x494)]();}const _0x4c7df1=new Date()[_0x459502(_0x52440e._0x4ab77f,0x4ac,0x656,0x506)]();let _0x2f3b37,_0x553821;if(_0x3f2157[_0x459502(_0x52440e._0xea1f5b,_0x52440e._0x236aef,0x3ab,_0x52440e._0x46d390)](_0x459502(0x2f4,_0x52440e._0x23a4ce,_0x52440e._0x4e80e8,0x29e)))_0x2f3b37='```json\x0a'+_0x341064+_0x2e0d85(0x57d,_0x52440e._0x2a4a9f,0x5a3,0x607),_0x553821=_0x2e0d85(0x5ba,0x312,_0x52440e._0x36b43e,_0x52440e._0x316d05);else _0x3f2157[_0x2e0d85(_0x52440e._0x3af1bd,0x365,_0x52440e._0x39a234,_0x52440e._0x3bd17f)]('text/html')?(_0x2f3b37=_0x288776[_0x459502(_0x52440e._0x14269d,_0x52440e._0xf39790,_0x52440e._0x522ee9,_0x52440e._0x5d702c)](_0x341064),_0x553821=_0x459502(_0x52440e._0x4c1997,_0x52440e._0x168511,_0x52440e._0x573cb3,0x31c)):(_0x2f3b37=_0x341064,_0x553821=_0x2e0d85(0x3b2,_0x52440e._0x33d1c7,_0x52440e._0x210b8b,0x397));yield createToolOutput(_0x2f3b37,{'url':_0x8d92eb,'contentType':_0x3f2157,'statusCode':_0x1cb2be,'format':_0x553821,'size':_0x341064[_0x2e0d85(0x672,0x6c1,_0x52440e._0x209aff,_0x52440e._0x47c0b1)],'fetchedAt':_0x4c7df1});function _0x459502(_0x5280dd,_0x5dee0c,_0x3858d5,_0x1b1691){return _0x3802da(_0x1b1691,_0x5dee0c-0x57c,_0x3858d5-0x18b,_0x1b1691-0x10b);}return void 0x0;}});}import{load}from'cheerio';var USER_AGENT2=_0x12dc71(0xca,0x138,0x21f,0x295);function normalizeUrl(_0x406e63){const _0x958560={_0x5ce7aa:0x113,_0x2f9368:0x716,_0x12eef1:0x746,_0xb56d22:0x692,_0x27e2ee:0xb,_0x35b596:0x1b6,_0x395c25:0x855,_0x4b54df:0x764,_0x4b87:0x700,_0x3ef0fd:0x63,_0x17cc63:0x14c,_0x287d7e:0xc7,_0xcfb78f:0x808,_0x10ae9d:0x11,_0xa26123:0xb3,_0x2679bf:0x152,_0x232983:0x9bc,_0x5e7f1d:0x757},_0xb26845={_0x3bdf1a:0x11},_0x259fdf={_0x4375d9:0x1b0};function _0x3c1464(_0x33df71,_0x374ab4,_0x2b70de,_0x480879){return _0x8a95cf(_0x33df71- -0x234,_0x480879,_0x2b70de-_0x259fdf._0x4375d9,_0x480879-0xe9);}function _0x1941d0(_0x3e6c47,_0x3fd2a1,_0x448d5e,_0x3594a7){return _0x12dc71(_0x3594a7,_0x3fd2a1-0x1e4,_0x3e6c47-0x4d0,_0x3594a7-_0xb26845._0x3bdf1a);}try{const _0x53eb0d=new URL(_0x406e63);for(const _0x4f15a0 of[_0x3c1464(-0x8b,-_0x958560._0x5ce7aa,-0x4c,0x41),_0x3c1464(-0x10d,-0x1e5,-0x62,-0x27f),_0x1941d0(0x724,0x6d8,_0x958560._0x2f9368,_0x958560._0x12eef1),_0x1941d0(0x6ad,_0x958560._0xb56d22,0x81a,0x751),_0x3c1464(-0x1c4,-0xb1,-0x10,-0x15),_0x3c1464(-_0x958560._0x27e2ee,-0x93,_0x958560._0x35b596,-0x1a),_0x1941d0(_0x958560._0x395c25,0x9fb,_0x958560._0x4b54df,_0x958560._0x4b87),_0x3c1464(-_0x958560._0x3ef0fd,-_0x958560._0x17cc63,-_0x958560._0x287d7e,-0x1f4),_0x1941d0(0x7d8,0x767,0x8be,_0x958560._0xcfb78f)]){_0x53eb0d[_0x3c1464(0xb2,-0xbd,-_0x958560._0x10ae9d,0x11b)][_0x3c1464(-0x13d,-0x24b,-_0x958560._0xa26123,-_0x958560._0x2679bf)](_0x4f15a0);}return _0x53eb0d[_0x1941d0(0x840,0x992,_0x958560._0x232983,_0x958560._0x5e7f1d)]();}catch{return _0x406e63;}}function cseDateRestrict(_0x174aee){const _0xa50b0c={_0x44afcc:0x415,_0x136d08:0x2ee,_0x458a21:0x32b,_0x3a0321:0x1be,_0x51d71e:0x288,_0x5f3ee9:0x81,_0x414dc8:0x13c},_0x131193={_0x42bc97:0x142,_0x5e5271:0x34a},_0x11090b={_0x1012ee:0x134,_0x1dd3bc:0xba};function _0x9f0b7c(_0x2a3fa1,_0xed4ced,_0x227caf,_0x523cc1){return _0x12dc71(_0xed4ced,_0xed4ced-_0x11090b._0x1012ee,_0x523cc1- -_0x11090b._0x1dd3bc,_0x523cc1-0x18a);}function _0x22e770(_0x420278,_0x3fe3fd,_0x6c403d,_0xfdd3a3){return _0x12dc71(_0x6c403d,_0x3fe3fd-_0x131193._0x42bc97,_0x420278-_0x131193._0x5e5271,_0xfdd3a3-0x174);}if(_0x174aee<=0x0)return void 0x0;if(_0x174aee<=0x1e)return'd'+Math['max'](0x1,Math[_0x22e770(_0xa50b0c._0x44afcc,_0xa50b0c._0x136d08,0x3ba,_0xa50b0c._0x458a21)](_0x174aee));if(_0x174aee<=0x16d)return'm'+Math['ceil'](_0x174aee/0x1e);return'y'+Math[_0x9f0b7c(_0xa50b0c._0x3a0321,_0xa50b0c._0x51d71e,-_0xa50b0c._0x5f3ee9,_0xa50b0c._0x414dc8)](_0x174aee/0x16d);}function addSiteFilters(_0x5f567c,_0x133fe1){const _0x1767b3={_0x2c775c:0x27,_0x102db5:0x142,_0x13fecb:0x153,_0xca55e5:0x60,_0x6de036:0x3c,_0x23d53c:0x163,_0x2ce41a:0x26c,_0xc4afdd:0x83,_0x18fb90:0x3f},_0x1d7951={_0x20d306:0x47,_0x1b5226:0x212},_0xfde70c={_0x5052e4:0x163,_0x94b40c:0x18e};function _0x439993(_0x337e65,_0x59c72c,_0x48f15d,_0x379f9b){return _0x8a95cf(_0x48f15d- -_0xfde70c._0x5052e4,_0x337e65,_0x48f15d-0xce,_0x379f9b-_0xfde70c._0x94b40c);}function _0x114e1b(_0x544197,_0x311bfd,_0x1a315c,_0x401764){return _0x12dc71(_0x311bfd,_0x311bfd-_0x1d7951._0x20d306,_0x544197- -_0x1d7951._0x1b5226,_0x401764-0xd);}if(_0x133fe1[_0x439993(-_0x1767b3._0x2c775c,0x2b,_0x1767b3._0x102db5,-0x3d)]===0x0)return _0x5f567c[_0x114e1b(0xad,_0x1767b3._0x13fecb,-_0x1767b3._0xca55e5,0x102)]();return(_0x5f567c+'\x20('+_0x133fe1['map'](_0x578aed=>_0x439993(-0x25,-0x14a,-0x169,-0xbd)+_0x578aed)[_0x114e1b(-0x34,-_0x1767b3._0x6de036,-0x9d,0x52)](_0x114e1b(-0x17b,-_0x1767b3._0x23d53c,-_0x1767b3._0x2ce41a,-0x32e))+')')[_0x439993(0xe9,-_0x1767b3._0xc4afdd,0x115,_0x1767b3._0x18fb90)]();}function normalizeType(_0x1005ac){const _0x3b2ee8={_0x1995a9:0x286,_0x69a781:0x202,_0xd7b6b6:0x378,_0x59a63d:0x39b},_0x1c91f9={_0x32a107:0x1f1},_0x3c91a2={_0x5e3130:0x1c5,_0x41e44b:0x92};function _0x24cd7f(_0x39b624,_0x43a986,_0x2e8ef0,_0x41f328){return _0x8a95cf(_0x41f328-_0x3c91a2._0x5e3130,_0x2e8ef0,_0x2e8ef0-_0x3c91a2._0x41e44b,_0x41f328-0x75);}function _0x50c100(_0x2c504e,_0xcc5eae,_0x17f983,_0x52045c){return _0x12dc71(_0x17f983,_0xcc5eae-_0x1c91f9._0x32a107,_0xcc5eae- -0x1e7,_0x52045c-0x139);}return _0x1005ac==='images'?_0x24cd7f(_0x3b2ee8._0x1995a9,0x39e,0x36,_0x3b2ee8._0x69a781):_0x50c100(0x111,0x1d4,_0x3b2ee8._0xd7b6b6,_0x3b2ee8._0x59a63d);}async function fetchJson(_0x1584e1,_0x2cd6f9,_0x15baa5){const _0x59b189={_0x2f4c2c:0x101,_0x29d4db:0x8c,_0x5b27f0:0x35,_0x439905:0x1c7,_0x1ac8ae:0xc3,_0x292ccf:0xeb,_0x3b092e:0x5c,_0x20055b:0x2a8,_0x217b21:0x9f,_0x243de5:0x231,_0x170e6f:0xad,_0x53f9bd:0x1a9,_0x9ead3f:0x11e,_0x547bf7:0xb6,_0x2cd89c:0x9,_0x380f2c:0x7f,_0x4d6dec:0xec,_0x2c2a17:0x48,_0x3d5b3e:0x8a,_0xa7e038:0x221,_0x56f595:0xfa,_0x503cf6:0xee,_0x4f9375:0x36,_0x27df53:0xfa,_0x162854:0x37b,_0x1874ad:0x2a9,_0x555a8c:0xb4,_0x37b5a0:0x1e7,_0xc9d502:0x1cc,_0x55b31b:0x2f5,_0x3fcb5d:0x13a,_0x1c63d2:0x22b},_0x1ee181={_0xed7146:0x95,_0x21bf47:0x1d7},_0x43b5db={_0x123b0c:0x219};function _0x1346e3(_0x53e71e,_0x566b7e,_0x28c933,_0x2560a7){return _0x12dc71(_0x2560a7,_0x566b7e-0x17d,_0x566b7e- -_0x43b5db._0x123b0c,_0x2560a7-0x63);}function _0x2c55ae(_0x12ce34,_0x3a14c9,_0x5cd53a,_0x56851d){return _0x8a95cf(_0x56851d- -_0x1ee181._0xed7146,_0x12ce34,_0x5cd53a-_0x1ee181._0x21bf47,_0x56851d-0xa9);}const _0x13d281=await fetch(_0x1584e1,{'headers':{'User-Agent':USER_AGENT2,'Accept':_0x2c55ae(0x163,-_0x59b189._0x2f4c2c,-_0x59b189._0x29d4db,-_0x59b189._0x5b27f0),..._0x15baa5?.[_0x1346e3(-0x165,-0x165,-_0x59b189._0x439905,-_0x59b189._0x1ac8ae)]},'signal':_0x2cd6f9,..._0x15baa5});if(!_0x13d281['ok']){let _0x2c9e9f,_0x1077f2;try{_0x2c9e9f=await _0x13d281['text']();const _0x3a2a03=JSON[_0x2c55ae(0x15,-0x1ae,-_0x59b189._0x292ccf,-_0x59b189._0x3b092e)](_0x2c9e9f),_0x3d442a=typeof _0x3a2a03['detail']==='object'?_0x3a2a03[_0x1346e3(-0xa6,0xdc,_0x59b189._0x20055b,-0x44)]['error']:void 0x0;_0x1077f2=_0x3a2a03[_0x2c55ae(_0x59b189._0x217b21,0x27f,0x2d2,_0x59b189._0x243de5)]?.['message']??_0x3a2a03[_0x1346e3(0xc5,0xf4,_0x59b189._0x170e6f,_0x59b189._0x53f9bd)]?.[_0x1346e3(-0x220,-_0x59b189._0x9ead3f,-_0x59b189._0x547bf7,_0x59b189._0x2cd89c)]?.[0x0]?.[_0x2c55ae(_0x59b189._0x380f2c,-_0x59b189._0x4d6dec,0x81,_0x59b189._0x2c2a17)]??_0x3d442a;}catch{}const _0x555ba1=_0x1077f2?_0x2c55ae(0x8,_0x59b189._0x3d5b3e,_0x59b189._0xa7e038,_0x59b189._0x56f595)+_0x13d281[_0x1346e3(0x5b,_0x59b189._0x503cf6,-_0x59b189._0x4f9375,0x3b)]+':\x20'+_0x1077f2:_0x2c55ae(-0xa2,0x29e,0xbd,_0x59b189._0x27df53)+_0x13d281[_0x2c55ae(_0x59b189._0x162854,0x3ed,_0x59b189._0x1874ad,0x22b)]+'\x20'+_0x13d281[_0x2c55ae(0x1ae,_0x59b189._0x555a8c,_0x59b189._0x37b5a0,_0x59b189._0xc9d502)];throw new ToolExecutionError(_0x555ba1,{'statusCode':_0x13d281[_0x2c55ae(_0x59b189._0x55b31b,0x246,_0x59b189._0x3fcb5d,_0x59b189._0x1c63d2)],..._0x2c9e9f?{'body':_0x2c9e9f}:{}});}return await _0x13d281['json']();}async function hydrateResults(_0x199af7,_0x1622fd,_0x132a1c,_0x25dca6){const _0x223ab0={_0x3eb311:0xdd,_0x1ff46a:0x8d,_0xe04ce3:0x19e,_0x500823:0x17,_0x1890d5:0x5b1,_0x51b691:0x2c9,_0x43ebd5:0x5cd,_0x27fbcc:0x624,_0x5d9267:0x875},_0x4effa7={_0x37f4a9:0x12f,_0x2e8fba:0xe1},_0x12e41b={_0x32d404:0x41d,_0x2a3728:0x183},_0x57a3f8={_0x27b855:0x445,_0x13eac3:0x3ee,_0x1827df:0x4a4,_0x154685:0x251,_0x35a763:0x4f9,_0x289b87:0x53e,_0x18b715:0x427,_0x55c507:0x45b,_0x33836d:0x4d6,_0x3b1951:0x30e,_0x35e863:0x4d7,_0x212f63:0x55a,_0x2efede:0x6b6,_0x34eba6:0x6e3,_0x490063:0x79f,_0x55f7b1:0x6dc,_0xcd9814:0x758,_0xd66d3a:0x39f,_0x41af4f:0x442,_0x50b567:0x601,_0xf23c04:0x57c,_0x5383ad:0x5f4,_0x5f49f0:0x457,_0x401541:0x5c7,_0x361364:0x3ea,_0x48c90c:0x35d,_0x264c5e:0x72f,_0x4268ff:0x8bf,_0x4f55d4:0x7c3,_0x1670db:0x59f,_0x4840ef:0x445,_0x5d6786:0x5d6},_0x3d9088={_0x302a78:0x146},_0xccc228={_0xa01a06:0x13b,_0x4ec25e:0x80},_0x35bd74=await Promise[_0x2dd48e(0x227,_0x223ab0._0x3eb311,0x36e,_0x223ab0._0x1ff46a)](_0x199af7[_0x2dd48e(0x143,_0x223ab0._0xe04ce3,0x11b,-_0x223ab0._0x500823)](0x0,0xa)[_0x2dd48e(0x465,0x550,0x4bc,_0x223ab0._0x1890d5)](async _0x11955b=>{function _0x2c55b6(_0x244d83,_0x2c3667,_0x5dbde9,_0x122ebc){return _0x3655ff(_0x244d83-_0xccc228._0xa01a06,_0x2c3667-_0xccc228._0x4ec25e,_0x2c3667,_0x122ebc- -0x1a4);}function _0x2ce2ca(_0x11a021,_0x14cb01,_0x5417e4,_0x539b58){return _0x3655ff(_0x11a021-_0x3d9088._0x302a78,_0x14cb01-0x1b6,_0x14cb01,_0x11a021- -0x17);}try{const _0x41975c=await safeFetch(_0x11955b[_0x2ce2ca(_0x57a3f8._0x27b855,_0x57a3f8._0x13eac3,_0x57a3f8._0x1827df,0x528)],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x1622fd,'Accept':_0x2c55b6(_0x57a3f8._0x154685,0x5b3,_0x57a3f8._0x35a763,0x3fa)},'signal':_0x132a1c},{'lookup':_0x25dca6});if(!_0x41975c['ok'])return _0x11955b;const _0x454c29=await _0x41975c['text'](),_0x523513=load(_0x454c29),_0x4ba4b9=_0x523513(_0x2c55b6(0x41c,0x282,0x2e8,0x3ac))[_0x2c55b6(_0x57a3f8._0x289b87,_0x57a3f8._0x18b715,_0x57a3f8._0x55c507,_0x57a3f8._0x33836d)](_0x2ce2ca(0x49d,0x36f,0x367,_0x57a3f8._0x3b1951))||_0x523513('title')[_0x2ce2ca(_0x57a3f8._0x35e863,_0x57a3f8._0x212f63,0x34f,0x56c)]()[_0x2ce2ca(_0x57a3f8._0x2efede,_0x57a3f8._0x34eba6,0x834,_0x57a3f8._0x490063)]()['trim'](),_0x15c902=_0x523513('meta[name=\x27description\x27]')['attr']('content')||_0x523513('meta[property=\x27og:description\x27]')[_0x2ce2ca(0x663,_0x57a3f8._0x55f7b1,_0x57a3f8._0xcd9814,0x57d)]('content')||_0x11955b['snippet'],_0x212321=_0x523513('meta[property=\x27article:published_time\x27]')[_0x2c55b6(0x54e,_0x57a3f8._0xd66d3a,_0x57a3f8._0x41af4f,0x4d6)](_0x2c55b6(0x183,0x241,0x2e6,0x310))||_0x523513(_0x2c55b6(_0x57a3f8._0x50b567,_0x57a3f8._0xf23c04,0x60e,0x58b))[_0x2ce2ca(0x663,_0x57a3f8._0x5383ad,0x7f8,0x53c)](_0x2ce2ca(0x449,_0x57a3f8._0x5f49f0,_0x57a3f8._0x401541,0x4df))||_0x11955b[_0x2c55b6(0x3d2,_0x57a3f8._0x361364,0x21f,_0x57a3f8._0x48c90c)],_0x26baaa=_0x523513('link[rel=\x27canonical\x27]')['attr']('href');return{..._0x11955b,'title':_0x4ba4b9||_0x11955b['title'],'snippet':_0x15c902,'url':_0x26baaa?normalizeUrl(new URL(_0x26baaa,_0x11955b[_0x2c55b6(0x3dd,0x194,0x396,0x2b8)])[_0x2ce2ca(_0x57a3f8._0x264c5e,_0x57a3f8._0x4268ff,_0x57a3f8._0x4f55d4,_0x57a3f8._0x1670db)]()):_0x11955b[_0x2ce2ca(_0x57a3f8._0x4840ef,_0x57a3f8._0x5d6786,0x467,0x45a)],'publishedAt':_0x212321};}catch{return _0x11955b;}})),_0x1793c9=new Map(_0x199af7[_0x2dd48e(0x143,0xe4,0x116,_0x223ab0._0x51b691)](0x0,0xa)[_0x2dd48e(0x465,_0x223ab0._0x43ebd5,_0x223ab0._0x27fbcc,0x46b)]((_0x2d5399,_0x5c97d1)=>[_0x2d5399[_0x3655ff(0x46d,0x3d8,0x5c0,0x45c)],_0x35bd74[_0x5c97d1]]));function _0x3655ff(_0x49c8fe,_0x3bfeb1,_0x10260a,_0x551f79){return _0x8a95cf(_0x551f79-_0x12e41b._0x32d404,_0x10260a,_0x10260a-_0x12e41b._0x2a3728,_0x551f79-0x119);}function _0x2dd48e(_0x1a4e9c,_0x2ab187,_0x168e4a,_0x591a7e){return _0x8a95cf(_0x1a4e9c-_0x4effa7._0x37f4a9,_0x2ab187,_0x168e4a-0x15c,_0x591a7e-_0x4effa7._0x2e8fba);}return _0x199af7[_0x3655ff(0x88b,_0x223ab0._0x5d9267,0x6a9,0x753)](_0x4263ae=>_0x1793c9[_0x2dd48e(0x41c,0x3ed,0x3cd,0x2fc)](_0x4263ae[_0x3655ff(0x316,0x5cf,0x36b,0x45c)])??_0x4263ae);}function formatResults(_0x2f9a63){const _0x98f899={_0x3e4759:0x503,_0x56b141:0x5fc,_0x582bde:0x75b,_0x18c43a:0x7cb,_0x5b50ed:0x663,_0x52ca15:0x28d},_0x1e260d={_0x32c8b1:0x11d,_0x19a495:0x13d,_0x3cc4a3:0x50,_0x313485:0x1b5,_0x12b456:0xa6,_0x10cf57:0x237,_0x2e1803:0x2e4,_0x143cfa:0x2f3,_0x3267a8:0x137,_0x22e82c:0x39,_0x341773:0x1b7,_0x24c76a:0x63,_0x3cc7ef:0x175,_0xf0346d:0x138,_0x24c656:0x271},_0x26509a={_0x5d9e1f:0x14a},_0x19766d={_0x3d7867:0x10f,_0x3a32e9:0x44e,_0x33bb1c:0x1a2};if(_0x2f9a63[_0x3c2c63(0x34e,0x64e,_0x98f899._0x3e4759,_0x98f899._0x56b141)]===0x0)return _0x3c2c63(0x311,0x39e,0x3c5,0x47b);function _0x18d0c9(_0x10355e,_0x4bf811,_0xfe294e,_0x1466c8){return _0x12dc71(_0x10355e,_0x4bf811-_0x19766d._0x3d7867,_0x4bf811-_0x19766d._0x3a32e9,_0x1466c8-_0x19766d._0x33bb1c);}function _0x3c2c63(_0x3386b6,_0x1545da,_0x8bdede,_0x31a30d){return _0x12dc71(_0x3386b6,_0x1545da-0x23,_0x8bdede-0x217,_0x31a30d-_0x26509a._0x5d9e1f);}return _0x2f9a63[_0x18d0c9(_0x98f899._0x582bde,_0x98f899._0x18c43a,_0x98f899._0x5b50ed,0x80f)](_0xf0f0ea=>{const _0x4df9a0={_0x293c58:0x4d4};function _0x5c3ce3(_0x3e8079,_0x29e59a,_0x2b044f,_0x4a0c09){return _0x3c2c63(_0x3e8079,_0x29e59a-0xc0,_0x4a0c09- -0x7e,_0x4a0c09-0x4f);}function _0x426f65(_0x321c16,_0x4ccab0,_0x1332b6,_0xc72763){return _0x3c2c63(_0x4ccab0,_0x4ccab0-0x77,_0x1332b6- -_0x4df9a0._0x293c58,_0xc72763-0x1f);}const _0x5f17d6=[_0xf0f0ea[_0x426f65(_0x1e260d._0x32c8b1,0xd9,-0x80,-_0x1e260d._0x19a495)]['rank']+'.\x20'+_0xf0f0ea[_0x426f65(-0x8f,-_0x1e260d._0x3cc4a3,-_0x1e260d._0x313485,-0xa6)],_0xf0f0ea[_0x426f65(-0x74,-_0x1e260d._0x12b456,-_0x1e260d._0x10cf57,-_0x1e260d._0x2e1803)]];if(_0xf0f0ea[_0x426f65(-_0x1e260d._0x143cfa,-0x2ad,-0x175,-_0x1e260d._0x3267a8)])_0x5f17d6[_0x426f65(_0x1e260d._0x22e82c,-0x67,-0x5d,-0x25)](_0xf0f0ea[_0x426f65(-_0x1e260d._0x341773,-_0x1e260d._0x24c76a,-_0x1e260d._0x3cc7ef,-_0x1e260d._0xf0346d)]);if(_0xf0f0ea[_0x426f65(-0x2e3,-0xe8,-0x192,-0x2b1)])_0x5f17d6['push']('Published:\x20'+_0xf0f0ea[_0x5c3ce3(0x3b2,0x1a5,_0x1e260d._0x24c656,0x2c4)]);return _0x5f17d6['join']('\x0a');})[_0x3c2c63(_0x98f899._0x52ca15,0x552,0x3f5,0x475)]('\x0a\x0a');}async function searchOllama(_0x177c73,_0x56966d,_0xa938f2){const _0x9dcefa={_0x319c3f:0xb6,_0x49c013:0x3,_0x4fba0a:0x30f,_0x437b4f:0x3ae,_0x12c502:0x2ea,_0x438cfe:0xe0,_0x60d73c:0x106,_0x57f207:0xd,_0x57334d:0x268,_0x3e3edb:0x209,_0x54f465:0x2e4,_0x65c3b:0x148,_0x3b2752:0xd8,_0x4ef4f9:0x241,_0x2a7448:0x144,_0xfdefc:0x24d,_0x4e08f2:0x19a,_0x168959:0x23,_0x56ced1:0x86,_0x433c15:0x269,_0x184380:0x6f},_0x4fdee0={_0x4687be:0x2d3,_0x447753:0x413,_0x3d17f7:0x390,_0x56aa3e:0x501,_0x3fa588:0x221,_0x4ecb51:0x667,_0xb717c5:0x4fb},_0x1c2508={_0x390401:0x10f,_0x351d31:0x486},_0x2b2074={_0x251ac1:0x78},_0x5586c7=Math[_0x4ed676(0x1fc,0x21e,0x86,-_0x9dcefa._0x319c3f)](0x1,Math['min'](0xa,_0x56966d[_0x549f31(0x10b,0x120,0x77,_0x9dcefa._0x49c013)]));function _0x4ed676(_0x4888c6,_0x5f161c,_0x1937eb,_0x244bd7){return _0x12dc71(_0x244bd7,_0x5f161c-0xa5,_0x1937eb- -0x7e,_0x244bd7-_0x2b2074._0x251ac1);}const _0x902eab=addSiteFilters(_0x56966d['query'],_0x56966d[_0x4ed676(_0x9dcefa._0x4fba0a,_0x9dcefa._0x437b4f,_0x9dcefa._0x12c502,0x4a0)]),_0x54ef0f=await fetchJson(_0x4ed676(0x1f5,_0x9dcefa._0x438cfe,_0x9dcefa._0x60d73c,0x9e),_0xa938f2,{'method':_0x549f31(-_0x9dcefa._0x57f207,-_0x9dcefa._0x57334d,-0x1a1,-_0x9dcefa._0x3e3edb),'headers':{'Authorization':'Bearer\x20'+_0x177c73['apiKey']},'body':JSON[_0x549f31(-0x21a,-_0x9dcefa._0x54f465,-_0x9dcefa._0x65c3b,-_0x9dcefa._0x3b2752)]({'query':_0x902eab,'max_results':_0x5586c7})}),_0x19bef3=_0x54ef0f['results']??[];function _0x549f31(_0x58e421,_0x2b68cf,_0x611362,_0x2c9305){return _0x8a95cf(_0x611362- -0x1f2,_0x2c9305,_0x611362-0x13a,_0x2c9305-0x13c);}const _0x146a5f=_0x19bef3[_0x549f31(0x4a,_0x9dcefa._0x4ef4f9,_0x9dcefa._0x2a7448,_0x9dcefa._0xfdefc)]((_0x17463a,_0x50a0a8)=>{const _0x33aac6={_0x31ec3c:0x151,_0x253bc4:0x10b,_0x2b86ce:0x2a8},_0x372a64=_0x17463a[_0x1a4fc5(0x458,0x3ec,0x13b,_0x4fdee0._0x4687be)]||'';let _0x25aed7;function _0x1a4fc5(_0x46eace,_0x2b078f,_0xa3faa2,_0x554380){return _0x549f31(_0x46eace-0xa1,_0x2b078f-_0x1c2508._0x390401,_0x554380-_0x1c2508._0x351d31,_0xa3faa2);}try{_0x25aed7=new URL(_0x372a64)[_0x2a9a11(0x3c6,_0x4fdee0._0x447753,0x2d5,_0x4fdee0._0x3d17f7)];}catch{_0x25aed7=null;}function _0x2a9a11(_0x29fae3,_0x3d10a6,_0xc985aa,_0x498333){return _0x549f31(_0x29fae3-_0x33aac6._0x31ec3c,_0x3d10a6-_0x33aac6._0x253bc4,_0x3d10a6-_0x33aac6._0x2b86ce,_0x498333);}return{'title':_0x17463a['title']||_0x2a9a11(0x3f7,0x33d,_0x4fdee0._0x56aa3e,_0x4fdee0._0x3fa588),'url':normalizeUrl(_0x372a64),'snippet':_0x17463a['content']??null,'displayUrl':_0x25aed7,'favicon':null,'publishedAt':null,'source':{'engine':_0x1a4fc5(0x455,0x45e,_0x4fdee0._0x4ecb51,_0x4fdee0._0xb717c5),'rank':_0x50a0a8+0x1}};});return{'items':_0x146a5f[_0x4ed676(0x13c,-_0x9dcefa._0x4e08f2,-_0x9dcefa._0x168959,0xe3)](0x0,_0x5586c7),'engine':_0x4ed676(_0x9dcefa._0x56ced1,_0x9dcefa._0x433c15,0x230,_0x9dcefa._0x184380)};}async function searchTavily(_0x4a111f,_0x2a9201,_0x2ae4e8){const _0x1fc32d={_0x29aa7f:0x4ec,_0x311d11:0x399,_0x447644:0x15c,_0x202af2:0x65,_0xd857f1:0x133,_0x272fba:0xd7,_0x354eec:0x53e,_0x975325:0x319,_0x3c5fa5:0x80,_0x2a6f96:0x223,_0x235de2:0x98,_0x1f7776:0x92,_0x4bf2c4:0x4c9,_0x206cad:0x39d,_0x59bb5d:0x236,_0x4b0cd5:0x122,_0x366d38:0x114,_0x376ea2:0x2cd,_0x1f786a:0x289,_0x53078a:0x2f5,_0x452c16:0x2fe,_0x15c12e:0x407,_0x1a901c:0x4dc,_0x35394c:0x41a,_0x533203:0xb0,_0x17f35b:0x1fa,_0x1a1c8b:0x163,_0x2f99c0:0xaa,_0x2f4f23:0x22a,_0x139fd7:0x14b,_0xbcfd92:0xee,_0x54231b:0x8f,_0x534bd2:0x24d,_0xf98932:0x358,_0x107c2b:0x1f9,_0x34eeac:0x124},_0x20d9c3={_0x3c8e09:0x109,_0x366539:0xd6},_0x2d4d92={_0x57df97:0x18a,_0x2b28cf:0x30,_0x11eab8:0x3e1,_0x1c0dc9:0x58d,_0x899d18:0x2ef,_0x13ee34:0x20c,_0x391e0c:0x2df},_0x31e9e0={_0x46bc60:0x140};function _0x6fabb4(_0x509a06,_0x2c3854,_0x307b71,_0x57810b){return _0x12dc71(_0x2c3854,_0x2c3854-0xa2,_0x307b71- -0x254,_0x57810b-_0x31e9e0._0x46bc60);}const _0x34215=Math['max'](0x1,Math[_0x282e31(0x39d,_0x1fc32d._0x29aa7f,0x5dd,_0x1fc32d._0x311d11)](0x14,_0x2a9201[_0x6fabb4(_0x1fc32d._0x447644,-0x74,0x5c,-_0x1fc32d._0x202af2)])),_0x5969e1={'query':_0x2a9201['query'],'max_results':_0x34215,'search_depth':_0x4a111f[_0x6fabb4(0x24d,0x1ea,_0x1fc32d._0xd857f1,_0x1fc32d._0x272fba)]??_0x282e31(_0x1fc32d._0x354eec,0x394,0x280,0x381),'topic':_0x4a111f['topic']??_0x6fabb4(-_0x1fc32d._0x975325,-_0x1fc32d._0x3c5fa5,-0x1f6,-0x293)};if(_0x2a9201['domains'][_0x6fabb4(0x1f9,_0x1fc32d._0x2a6f96,_0x1fc32d._0x235de2,_0x1fc32d._0x1f7776)]>0x0)_0x5969e1[_0x282e31(_0x1fc32d._0x4bf2c4,_0x1fc32d._0x206cad,0x1ef,0x381)]=_0x2a9201['domains'];const _0x556aac=await fetchJson(_0x6fabb4(-_0x1fc32d._0x59bb5d,-_0x1fc32d._0x4b0cd5,-0xfe,-0x239),_0x2ae4e8,{'method':_0x282e31(_0x1fc32d._0x366d38,_0x1fc32d._0x376ea2,_0x1fc32d._0x1f786a,0x25c),'headers':{'Authorization':_0x282e31(_0x1fc32d._0x53078a,_0x1fc32d._0x452c16,0x146,0x16a)+_0x4a111f[_0x282e31(_0x1fc32d._0x15c12e,0x5bd,_0x1fc32d._0x1a901c,_0x1fc32d._0x35394c)],'Content-Type':_0x6fabb4(-_0x1fc32d._0x533203,-0xd9,-0x1ad,-0x173)},'body':JSON[_0x6fabb4(-_0x1fc32d._0x17f35b,-0x1f2,-_0x1fc32d._0x1a1c8b,-_0x1fc32d._0x2f99c0)](_0x5969e1)}),_0x1c46ba=_0x556aac[_0x6fabb4(_0x1fc32d._0x2f4f23,_0x1fc32d._0x139fd7,_0x1fc32d._0xbcfd92,-_0x1fc32d._0x54231b)]??[],_0x3aaa87=_0x1c46ba[_0x6fabb4(0x8c,0x8,0x129,_0x1fc32d._0x534bd2)]((_0x39b0cd,_0x30c7f6)=>{const _0x4d54d3={_0x51ec65:0x11b,_0x4b9959:0x324,_0x3441b8:0x148},_0x7ee5a7={_0x466761:0xde,_0x2e5db4:0x131};function _0x1dc7ed(_0x3bfff0,_0x24c3d5,_0x58f26a,_0x328565){return _0x282e31(_0x3bfff0-_0x7ee5a7._0x466761,_0x24c3d5- -_0x7ee5a7._0x2e5db4,_0x3bfff0,_0x328565-0x13b);}const _0x1a8965=_0x39b0cd[_0x1dc7ed(0x34b,_0x2d4d92._0x57df97,-_0x2d4d92._0x2b28cf,0x70)]||'';let _0x224f33;try{_0x224f33=new URL(_0x1a8965)[_0x1dc7ed(_0x2d4d92._0x11eab8,0x4a8,_0x2d4d92._0x1c0dc9,0x40d)];}catch{_0x224f33=null;}function _0x18dc2c(_0x2e5d2b,_0x2717f6,_0x1d0917,_0x857417){return _0x282e31(_0x2e5d2b-_0x4d54d3._0x51ec65,_0x1d0917- -_0x4d54d3._0x4b9959,_0x2e5d2b,_0x857417-_0x4d54d3._0x3441b8);}return{'title':_0x39b0cd[_0x1dc7ed(_0x2d4d92._0x899d18,_0x2d4d92._0x13ee34,0x19f,_0x2d4d92._0x391e0c)]||_0x1dc7ed(0x4a8,0x3d2,0x273,0x3cf),'url':normalizeUrl(_0x1a8965),'snippet':_0x39b0cd['content']??null,'displayUrl':_0x224f33,'favicon':null,'publishedAt':null,'source':{'engine':_0x18dc2c(0x314,0x268,0x225,0x195),'rank':_0x30c7f6+0x1}};});function _0x282e31(_0x44095c,_0x5bbc77,_0x336cca,_0x48651b){return _0x12dc71(_0x336cca,_0x5bbc77-_0x20d9c3._0x3c8e09,_0x5bbc77-0x235,_0x48651b-_0x20d9c3._0x366539);}return{'items':_0x3aaa87[_0x6fabb4(-_0x1fc32d._0xf98932,-0x3a7,-_0x1fc32d._0x107c2b,-_0x1fc32d._0x34eeac)](0x0,_0x34215),'engine':_0x282e31(0x540,0x549,0x3b2,0x652)};}async function searchGoogleCse(_0x3babbd,_0x4b5e4b,_0x447178){const _0x238f7d={_0x426f36:0x262,_0x3060f1:0x396,_0x5376ed:0x76c,_0x1e2cbf:0x6a5,_0x2845c6:0x7b8,_0x35b5e5:0x55d,_0x424b89:0x770,_0x525b70:0x79f,_0x515559:0x4e0,_0x1b7d7c:0x5e9,_0x348502:0x594,_0x25e8cc:0x8b9,_0x29cf89:0x4df,_0xa1f38e:0x57b,_0xa1af76:0x5d2,_0x168b66:0x663,_0x34f4a6:0x724,_0x2cf27b:0x7e5,_0x4da8aa:0x7c5,_0x5efd82:0x830,_0x1c7699:0x6f6,_0xda3ce9:0x5d8,_0x355dfb:0x53a,_0x58d988:0x641,_0x19bd37:0x623,_0x3fe1a7:0x65e,_0x4db57b:0x575,_0x3f8efe:0x532,_0x43e971:0x75a,_0x24770d:0x97b,_0x161730:0x8df,_0x587c47:0x5f5,_0x20baf8:0x5d0,_0x10778e:0x660,_0x2080ef:0x665,_0x565859:0x417,_0xd41cfc:0x49f,_0x5c5e80:0x46a,_0x19ed39:0x4e0,_0x17b4b0:0x36f,_0x2d3a0b:0x3ac,_0x117209:0x591,_0x65aa20:0x49f,_0x26e1b0:0x9d2,_0x2d3c06:0x87d,_0x524761:0x73b,_0x38909f:0x7b4,_0x594de0:0x73c,_0x387729:0x785,_0x4a2c2f:0x65e,_0x2af366:0x515,_0x365244:0x50d,_0x20185a:0x35b,_0x33dae4:0x701,_0x2fd79b:0x7a2,_0xc8d445:0x7dd,_0x16e054:0x35a,_0x27d230:0x3cc,_0x341462:0x47f,_0x4dae40:0x611,_0x36b426:0x4e9,_0x1406ec:0x664,_0x23edd0:0x539,_0x1e5c98:0x378,_0x180ae3:0x6bf,_0x5e2f8d:0x51d,_0x13f4d0:0x526,_0x275c08:0x6ac,_0x33095b:0x519,_0x1876b9:0x51b,_0x1345bb:0x75b,_0x35080f:0x7e2,_0x3ae6f9:0x818,_0x26ac51:0x2ef,_0x1002ad:0x49f,_0x55ce5a:0x420,_0x20994d:0x731,_0x290f53:0x5e2,_0x340404:0x77e,_0x34bf75:0x819,_0x14cdd0:0x6bc,_0x13d6c5:0x63e,_0x52ada2:0x37a,_0x3dd99d:0x1ea,_0x3e0192:0x546,_0x1db433:0x710,_0x47418b:0x5f4,_0x4aeb0e:0x51b,_0x38994d:0x777,_0x197063:0x54e,_0x239554:0x5fd,_0x36fb08:0x932,_0x5215e9:0x747,_0x69a6e3:0x5d7,_0xb72f75:0x54e,_0x3fe36c:0x68a,_0x4a7a48:0x4f7,_0x54bf67:0x69a,_0x5c8d08:0x56b,_0x1d4ebd:0x715,_0x4b4626:0x8a1,_0x1c4162:0x617,_0x52737c:0x742,_0x480c83:0x912,_0x44a31b:0x22d,_0xa8d916:0x2a4,_0xdb659c:0x3eb,_0x427597:0x36b,_0x20c9b9:0x2ec,_0xe1ff5f:0x369,_0x24179b:0x856,_0x2aaf0b:0x62c,_0x485897:0x47e,_0x47942a:0x34c,_0x4fa2db:0x351},_0x245755={_0x5527dd:0x2f6},_0x1ed982={_0x54d004:0x4fc,_0x46c226:0x1c1};function _0x3385e2(_0x5a95f5,_0x409e25,_0x40c619,_0x1021ac){return _0x8a95cf(_0x409e25-_0x1ed982._0x54d004,_0x5a95f5,_0x40c619-0x186,_0x1021ac-_0x1ed982._0x46c226);}const _0x3dd4e8=Math[_0x17f85f(0x484,_0x238f7d._0x426f36,_0x238f7d._0x3060f1,0x3fa)](0x1,Math[_0x3385e2(0x64f,_0x238f7d._0x5376ed,_0x238f7d._0x1e2cbf,_0x238f7d._0x2845c6)](0x32,_0x4b5e4b[_0x17f85f(_0x238f7d._0x35b5e5,0x3fe,0x751,0x5a6)]));function _0x17f85f(_0x2ae489,_0x32b0b6,_0x3e2ce1,_0x18c6a9){return _0x12dc71(_0x3e2ce1,_0x32b0b6-0x14c,_0x18c6a9-_0x245755._0x5527dd,_0x18c6a9-0x134);}if(_0x4b5e4b[_0x3385e2(0x762,0x676,_0x238f7d._0x424b89,_0x238f7d._0x525b70)]+_0x3dd4e8>0x64)throw new ToolExecutionError(_0x17f85f(_0x238f7d._0x515559,_0x238f7d._0x1b7d7c,_0x238f7d._0x348502,0x51d),{'offset':_0x4b5e4b['offset'],'count':_0x3dd4e8,'maxResults':0x64});const _0x23a0cb=cseDateRestrict(_0x4b5e4b['recencyDays']),_0x12e93b=addSiteFilters(_0x4b5e4b[_0x3385e2(0x633,0x7f2,0x7b2,_0x238f7d._0x25e8cc)],_0x4b5e4b['domains']);let _0x353e60=0x0,_0x303c1a=_0x4b5e4b[_0x17f85f(0x58d,_0x238f7d._0x29cf89,_0x238f7d._0xa1f38e,0x4b7)]+0x1;const _0x543139=[];while(_0x353e60<_0x3dd4e8){const _0x2a630a=Math[_0x3385e2(_0x238f7d._0xa1af76,0x76c,_0x238f7d._0x168b66,_0x238f7d._0x34f4a6)](0xa,_0x3dd4e8-_0x353e60),_0x2c0314=new URL(_0x3385e2(0x6e2,0x85a,0x797,_0x238f7d._0x2cf27b));_0x2c0314['searchParams'][_0x3385e2(_0x238f7d._0x4da8aa,0x65e,0x58b,0x5e3)](_0x17f85f(0x659,0x5ae,0x7df,0x6b6),_0x3babbd[_0x3385e2(0x60a,0x4f5,0x563,0x3bb)]),_0x2c0314[_0x3385e2(0x699,0x7e2,_0x238f7d._0x5efd82,0x8c5)]['set']('cx',_0x3babbd[_0x3385e2(0x8a2,_0x238f7d._0x1c7699,0x5a0,_0x238f7d._0xda3ce9)]),_0x2c0314[_0x17f85f(0x536,_0x238f7d._0x355dfb,_0x238f7d._0x58d988,_0x238f7d._0x19bd37)][_0x3385e2(0x53e,_0x238f7d._0x3fe1a7,_0x238f7d._0x4db57b,_0x238f7d._0x3f8efe)]('q',_0x12e93b),_0x2c0314[_0x3385e2(_0x238f7d._0x43e971,0x7e2,_0x238f7d._0x24770d,_0x238f7d._0x161730)]['set'](_0x17f85f(_0x238f7d._0x587c47,0x6a4,0x411,_0x238f7d._0x20baf8),String(_0x2a630a)),_0x2c0314[_0x17f85f(_0x238f7d._0x10778e,0x735,0x782,_0x238f7d._0x19bd37)][_0x17f85f(_0x238f7d._0x2080ef,_0x238f7d._0x565859,0x431,_0x238f7d._0xd41cfc)](_0x17f85f(0x398,_0x238f7d._0x5c5e80,0x3ad,_0x238f7d._0x19ed39),String(_0x303c1a)),_0x2c0314['searchParams'][_0x17f85f(_0x238f7d._0x17b4b0,_0x238f7d._0x2d3a0b,_0x238f7d._0x117209,_0x238f7d._0x65aa20)]('safe',_0x4b5e4b[_0x3385e2(_0x238f7d._0x26e1b0,_0x238f7d._0x2d3c06,_0x238f7d._0x524761,0x863)]?'active':'off');_0x4b5e4b[_0x17f85f(_0x238f7d._0x38909f,_0x238f7d._0x594de0,0x79d,0x664)]&&(_0x2c0314[_0x17f85f(_0x238f7d._0x387729,0x5b9,0x77c,0x623)][_0x3385e2(0x6d8,_0x238f7d._0x4a2c2f,_0x238f7d._0x2af366,0x67f)]('hl',_0x4b5e4b[_0x3385e2(0x669,0x823,0x812,0x754)]),_0x2c0314['searchParams'][_0x3385e2(0x613,_0x238f7d._0x4a2c2f,0x534,0x725)]('lr',_0x17f85f(0x191,0x20b,_0x238f7d._0x365244,_0x238f7d._0x20185a)+_0x4b5e4b[_0x17f85f(0x63a,_0x238f7d._0x33dae4,0x557,0x664)]));if(_0x4b5e4b[_0x3385e2(0x749,0x63e,_0x238f7d._0x2fd79b,_0x238f7d._0xc8d445)])_0x2c0314['searchParams'][_0x3385e2(0x5e5,0x65e,0x4ce,0x692)]('gl',_0x4b5e4b[_0x17f85f(_0x238f7d._0x16e054,0x2dc,_0x238f7d._0x27d230,_0x238f7d._0x341462)][_0x3385e2(0x552,0x6f5,0x7b2,_0x238f7d._0x4dae40)]());if(_0x4b5e4b[_0x17f85f(0x4ab,0x320,0x4d5,_0x238f7d._0x36b426)]===_0x3385e2(_0x238f7d._0x1406ec,_0x238f7d._0x23edd0,0x4ed,_0x238f7d._0x1e5c98))_0x2c0314[_0x17f85f(_0x238f7d._0x180ae3,0x6d6,_0x238f7d._0x5e2f8d,_0x238f7d._0x19bd37)][_0x3385e2(_0x238f7d._0x13f4d0,0x65e,_0x238f7d._0x275c08,0x6a4)](_0x3385e2(_0x238f7d._0x33095b,0x52d,0x606,_0x238f7d._0x1876b9),'image');if(_0x23a0cb)_0x2c0314[_0x3385e2(_0x238f7d._0x1345bb,_0x238f7d._0x35080f,_0x238f7d._0x3ae6f9,0x824)][_0x17f85f(_0x238f7d._0x26ac51,0x2dd,0x53f,_0x238f7d._0x1002ad)]('dateRestrict',_0x23a0cb);const _0x36052f=await fetchJson(_0x2c0314['toString'](),_0x447178),_0x2f5268=_0x36052f['items']??[];if(_0x2f5268[_0x17f85f(_0x238f7d._0x55ce5a,_0x238f7d._0x20994d,0x56d,_0x238f7d._0x290f53)]===0x0)break;const _0x235f74=_0x353e60;for(let _0x1c7597=0x0;_0x1c7597<_0x2f5268['length'];_0x1c7597++){const _0x47d84e=_0x2f5268[_0x1c7597];if(!_0x47d84e)continue;const _0x25fba3=_0x47d84e[_0x17f85f(0x5c6,0x7e4,_0x238f7d._0x340404,0x69e)]||_0x47d84e['image']?.[_0x17f85f(0x642,0x6a6,_0x238f7d._0x34bf75,_0x238f7d._0x14cdd0)]||'',_0x43ad28=_0x47d84e[_0x3385e2(0x640,0x5bd,0x657,_0x238f7d._0x13d6c5)]||_0x47d84e[_0x17f85f(0x355,_0x238f7d._0x52ada2,_0x238f7d._0x3dd99d,0x381)]?.[_0x3385e2(_0x238f7d._0x3e0192,0x5bd,_0x238f7d._0x1db433,_0x238f7d._0x47418b)]||_0x17f85f(_0x238f7d._0x4aeb0e,_0x238f7d._0x38994d,0x42a,0x5c4),_0x50c08a=_0x47d84e[_0x3385e2(_0x238f7d._0x197063,_0x238f7d._0x239554,0x756,0x735)]||_0x47d84e[_0x3385e2(_0x238f7d._0x36fb08,0x7ae,0x6d6,0x921)]?.['replace'](/<[^>]+>/g,''),_0x1a4513=_0x47d84e['pagemap']?.[_0x17f85f(_0x238f7d._0x5215e9,_0x238f7d._0x69a6e3,0x593,0x58b)]?.[0x0]??{};let _0x4239c7;try{_0x4239c7=new URL(_0x25fba3)[_0x17f85f(_0x238f7d._0xb72f75,_0x238f7d._0x3fe36c,_0x238f7d._0x4a7a48,_0x238f7d._0x54bf67)];}catch{_0x4239c7=null;}_0x543139[_0x3385e2(_0x238f7d._0x5c8d08,_0x238f7d._0x1d4ebd,_0x238f7d._0x4b4626,_0x238f7d._0x1c4162)]({'title':_0x43ad28,'url':normalizeUrl(_0x25fba3),'snippet':_0x50c08a??null,'displayUrl':_0x4239c7,'favicon':null,'publishedAt':_0x1a4513[_0x3385e2(0x65e,0x7b6,_0x238f7d._0x52737c,_0x238f7d._0x480c83)]||_0x1a4513[_0x17f85f(0x2fa,_0x238f7d._0x44a31b,_0x238f7d._0xa8d916,_0x238f7d._0xdb659c)]||null,'source':{'engine':_0x17f85f(0x326,_0x238f7d._0x427597,_0x238f7d._0x20c9b9,_0x238f7d._0xe1ff5f),'rank':_0x235f74+_0x1c7597+0x1}});}_0x353e60+=_0x2f5268[_0x3385e2(0x6ee,0x7a1,0x655,_0x238f7d._0x24179b)],_0x303c1a+=_0x2f5268['length'];if(_0x2f5268[_0x3385e2(_0x238f7d._0x2aaf0b,0x7a1,0x6dd,0x6cd)]<_0x2a630a)break;}return _0x543139[_0x17f85f(0x48b,_0x238f7d._0x485897,_0x238f7d._0x47942a,_0x238f7d._0x4fa2db)](0x0,_0x3dd4e8);}function isGoogleCseEngine(_0x882a28){const _0x36df95={_0x2cecac:0x2c4,_0x93e52a:0x266},_0x184e0c={_0x5e1c81:0x2cb,_0x108dcf:0x5b};function _0x462fa5(_0x4179b4,_0x52f4f0,_0x24d71f,_0x36a72d){return _0x8a95cf(_0x4179b4-_0x184e0c._0x5e1c81,_0x24d71f,_0x24d71f-_0x184e0c._0x108dcf,_0x36a72d-0x1d4);}return _0x462fa5(_0x36df95._0x2cecac,0x1ee,0x3b6,_0x36df95._0x93e52a)in _0x882a28;}function isOllamaEngine(_0x55dfcc){const _0x277e05={_0x1ff7ff:0x14f},_0x1eab1a={_0x3a1b45:0xe9,_0x52cf3b:0x221,_0x260383:0xca};function _0x49e85e(_0x3a6e9d,_0x27aa38,_0x1ff0f1,_0x5c3854){return _0x12dc71(_0x3a6e9d,_0x27aa38-_0x1eab1a._0x3a1b45,_0x27aa38- -_0x1eab1a._0x52cf3b,_0x5c3854-_0x1eab1a._0x260383);}return _0x49e85e(-0x98,0xfe,_0x277e05._0x1ff7ff,0x212)in _0x55dfcc;}function isTavilyEngine(_0x46fed9){const _0x4760f3={_0x4adc90:0x49d,_0x385fc3:0x57d,_0x522f88:0x518},_0x22eadf={_0x2439c7:0x23c};function _0xae430c(_0x10d57b,_0x1c4ed4,_0x3f0348,_0x5ccbe3){return _0x8a95cf(_0x1c4ed4-_0x22eadf._0x2439c7,_0x3f0348,_0x3f0348-0xd9,_0x5ccbe3-0x4d);}return _0xae430c(_0x4760f3._0x4adc90,_0x4760f3._0x385fc3,0x41c,_0x4760f3._0x522f88)in _0x46fed9;}function createWebSearchTool(_0x4974f8){const _0x1344b8={_0x584f9e:0x3e4,_0x363257:0x206,_0x3d9e4f:0x370,_0x354186:0x31,_0x200b30:0x235,_0x5ad53d:0x125,_0x1a3493:0x14e,_0xcfbe01:0x1c0,_0x22ec52:0x4e7,_0x106743:0x360,_0x2fcec0:0x50d,_0x27a2ec:0x340,_0x37983a:0x4bb,_0x444726:0x543,_0x349b29:0x7d,_0xd7a613:0x182,_0x5df560:0x65,_0x32f195:0x82,_0x5862b9:0x3c3,_0x17dd77:0x41a,_0x4c7c81:0x1c4,_0x3bbf20:0x252,_0x1f5260:0x42,_0x577f12:0x154,_0x35b64b:0x35e,_0x18c284:0x4d4,_0x1ab076:0x7b,_0xe62038:0x51,_0x37d620:0x35e,_0x4c01d6:0x1e4,_0x357a81:0x66a,_0x543ea4:0x6ed,_0x1e429b:0x292,_0x205a12:0x6a5,_0x214a99:0x6bc,_0x431996:0x4f1,_0x4727ac:0x6a0},_0x584895={_0x284649:0x3ba,_0x15e360:0x269,_0x569213:0x582,_0x417a95:0x606,_0x35651d:0x55b,_0x3ebd01:0x494,_0x67620c:0x3dd,_0x1b2715:0x5a6,_0x18f416:0x60e,_0x14aa0b:0x3dc,_0x253c3a:0x3e6,_0xf2b2ba:0x2bb,_0x1d585b:0x35e,_0x27d38c:0x503,_0xd415e2:0x50a,_0x3a21ed:0x46d,_0x487364:0x572,_0x274d26:0x5cf,_0x18e47c:0x4b3,_0x319b02:0x54b,_0x483bfb:0x6d1,_0xb5c78d:0x620,_0x53b8de:0x297,_0xc704de:0x619,_0xfad079:0x37f,_0x15e7fb:0x552,_0x5cabcf:0x411,_0x35aefd:0x517,_0x255be3:0x393,_0x3f0bb2:0x57b,_0x2b7639:0x6bd,_0x5b86fc:0x61b,_0x3d1e68:0x769,_0x309bad:0x4d8,_0x1cb570:0x4bf,_0x32d6f6:0x6e4,_0x5a9d64:0x5f3,_0xd13627:0x60c,_0x5e3fcb:0x5a4,_0x3cf695:0x751,_0x2a3f38:0x7c5,_0x5e7b05:0x5ae,_0x2090c2:0x625,_0x4507cf:0x31f,_0x180eb2:0x45f,_0x40ded1:0x30b,_0x19eb3d:0x4c7,_0x4c1943:0x6c4,_0x86b04f:0x5c7,_0x45e391:0x458,_0x1f1160:0x798,_0x886100:0x63b,_0xf05b1a:0x661,_0x190264:0x763,_0x4d69fc:0x4bd,_0x21c596:0x5d6,_0x561bd5:0x4c8,_0xb25c2f:0x56f,_0x271a69:0x597,_0xf8adb1:0x6ef,_0x2d6f91:0x3e8,_0x49ef52:0x404,_0x65705e:0x701,_0x4fd6f2:0x415,_0x352a42:0x480,_0x10f443:0x50b,_0x25192b:0x7ae,_0x133729:0x4f9,_0x4280c3:0x4f7,_0x443919:0x6b7,_0x196fae:0x4d9,_0x155d7b:0x585,_0x5a2dbf:0x61a,_0x3e3b2:0x7b7,_0x162b14:0x4fb,_0x5d1da2:0x497,_0x1c3624:0x3eb,_0x37825c:0x54d,_0x249320:0x60a,_0x197c8d:0x46d,_0x1468be:0x5d1,_0x4c66a3:0x5ff,_0x49a788:0x6dc,_0x5b4717:0x771,_0x4992dd:0x569,_0x1dc156:0x59b,_0x51db9a:0x587},_0x4f56e4={_0x50dc7c:0x396,_0x5e3032:0x261,_0x9fcf99:0x697,_0x1667cc:0x4bd},_0x3fa763={_0xc7099a:0x1d9},_0x3d3d00={_0x4cb12e:0x10f},_0x1e072a={_0x2effd0:0x24};if(!_0x4974f8['engines']||_0x4974f8[_0x74d3df(_0x1344b8._0x584f9e,0x2e1,_0x1344b8._0x363257,0x199)][_0x74d3df(0x2d0,0x218,0x1dd,_0x1344b8._0x3d9e4f)]===0x0)throw new Error(_0x74d3df(-0x19b,_0x1344b8._0x354186,0x1ab,-0x8b));const _0x1379f6=_0x4974f8[_0x74d3df(_0x1344b8._0x200b30,_0x1344b8._0x5ad53d,-0x35,-0x6)]??'WebSearch';function _0x74d3df(_0x61a3d5,_0x302eb1,_0x15e9e2,_0x195831){return _0x12dc71(_0x195831,_0x302eb1-_0x1e072a._0x2effd0,_0x302eb1- -0xd4,_0x195831-0x193);}const _0x2b6cfe=_0x4974f8[_0x74d3df(_0x1344b8._0x1a3493,0x1ec,0x23f,_0x1344b8._0xcfbe01)];function _0x56dc40(_0x4ff48b,_0x35a29c,_0x5c0125,_0x140612){return _0x8a95cf(_0x35a29c-0x336,_0x5c0125,_0x5c0125-_0x3d3d00._0x4cb12e,_0x140612-0x127);}return defineTool({'name':_0x1379f6,'permissionClass':_0x56dc40(_0x1344b8._0x22ec52,_0x1344b8._0x106743,_0x1344b8._0x2fcec0,_0x1344b8._0x27a2ec),'description':_0x56dc40(0x3d9,0x3f5,_0x1344b8._0x37983a,_0x1344b8._0x444726),'inputSchema':{'type':'object','properties':{'description':{'type':_0x74d3df(-_0x1344b8._0x349b29,-0x65,0x64,0x8b)},'query':{'type':_0x74d3df(-_0x1344b8._0xd7a613,-_0x1344b8._0x5df560,-0x28,_0x1344b8._0x32f195)},'count':{'type':_0x56dc40(0x70e,0x587,_0x1344b8._0x5862b9,_0x1344b8._0x17dd77)},'offset':{'type':_0x74d3df(0x2f3,_0x1344b8._0x4c7c81,_0x1344b8._0x3bbf20,_0x1344b8._0x1f5260)},'domains':{'type':_0x74d3df(0x148,0x27d,_0x1344b8._0x577f12,0x277),'items':{'type':_0x56dc40(0x394,_0x1344b8._0x35b64b,0x411,_0x1344b8._0x18c284)}},'recencyDays':{'type':'number'},'lang':{'type':_0x74d3df(-_0x1344b8._0x1ab076,-_0x1344b8._0x5df560,0xef,-_0x1344b8._0xe62038)},'region':{'type':_0x56dc40(0x419,_0x1344b8._0x37d620,0x4d1,_0x1344b8._0x4c01d6)},'safe':{'type':_0x56dc40(0x650,_0x1344b8._0x357a81,0x740,_0x1344b8._0x543ea4)},'type':{'type':_0x56dc40(0x525,0x35e,_0x1344b8._0x1e429b,0x43f)},'hydrateMeta':{'type':_0x56dc40(_0x1344b8._0x205a12,_0x1344b8._0x357a81,_0x1344b8._0x214a99,_0x1344b8._0x431996)}},'required':[_0x56dc40(0x59b,0x62c,_0x1344b8._0x4727ac,0x64d)]},async *'execute'(_0x93a24d,_0x364bcc){const _0x147af5={_0x19e2c7:0x43},_0x217bfc={_0x11c8a9:0x555,_0x466f44:0xee},_0x145443={_0x58cb11:0x75,_0x406f9d:0xe8},_0x1339ce=_0x93a24d['query']['trim']();if(!_0x1339ce)throw new ToolExecutionError(_0x23bab4(0x333,_0x584895._0x284649,0x30f,_0x584895._0x15e360));const _0x3fda68={'query':_0x1339ce,'count':Math[_0x23bab4(0x486,0x453,0x551,0x518)](0x1,Math[_0x23bab4(_0x584895._0x569213,_0x584895._0x417a95,_0x584895._0x35651d,_0x584895._0x3ebd01)](0x32,Math[_0x23bab4(_0x584895._0x67620c,_0x584895._0x1b2715,0x3e7,_0x584895._0x18f416)](_0x93a24d[_0x47f87e(0x55c,_0x584895._0x14aa0b,_0x584895._0x253c3a,0x4ae)]??0xa))),'offset':Math[_0x47f87e(0x3b0,_0x584895._0xf2b2ba,_0x584895._0x1d585b,0x256)](0x0,Math[_0x47f87e(_0x584895._0x27d38c,0x4e2,_0x584895._0xd415e2,0x5b8)](_0x93a24d[_0x47f87e(_0x584895._0x3a21ed,_0x584895._0x487364,_0x584895._0x274d26,_0x584895._0x18e47c)]??0x0)),'domains':_0x93a24d[_0x23bab4(_0x584895._0x319b02,0x6b7,_0x584895._0x483bfb,0x5a1)]??[],'recencyDays':Math[_0x23bab4(_0x584895._0xb5c78d,0x453,_0x584895._0x53b8de,_0x584895._0xc704de)](0x0,Math[_0x47f87e(0x503,_0x584895._0xfad079,_0x584895._0x18f416,_0x584895._0x15e7fb)](_0x93a24d[_0x47f87e(_0x584895._0x5cabcf,0x4a3,_0x584895._0x35aefd,_0x584895._0x255be3)]??0x0)),'lang':_0x93a24d[_0x23bab4(_0x584895._0x3f0bb2,_0x584895._0x2b7639,_0x584895._0x5b86fc,_0x584895._0x3d1e68)]??'en','region':_0x93a24d[_0x23bab4(0x4e6,_0x584895._0x309bad,0x453,_0x584895._0x1cb570)]??'','safe':_0x93a24d[_0x47f87e(0x674,0x57d,_0x584895._0x32d6f6,0x571)]??!![],'type':normalizeType(_0x93a24d[_0x23bab4(_0x584895._0x5a9d64,0x542,0x4e5,0x5e6)]),'hydrateMeta':_0x93a24d[_0x23bab4(0x716,_0x584895._0xd13627,0x451,0x5e6)]??![]};let _0x147e17=[],_0x45e889=_0x47f87e(0x67a,_0x584895._0x5e3fcb,0x5e7,0x7b9);for(const _0x4ca6a1 of _0x4974f8[_0x47f87e(0x661,_0x584895._0x3cf695,_0x584895._0x2a3f38,0x617)]){try{if(isGoogleCseEngine(_0x4ca6a1))_0x147e17=await searchGoogleCse(_0x4ca6a1,_0x3fda68,_0x364bcc[_0x23bab4(_0x584895._0x5e7b05,_0x584895._0x2090c2,0x7ce,0x61a)]),_0x45e889=_0x47f87e(_0x584895._0x4507cf,_0x584895._0x180eb2,_0x584895._0x40ded1,0x1ea);else{if(isOllamaEngine(_0x4ca6a1)){const _0x3a062c=await searchOllama(_0x4ca6a1,_0x3fda68,_0x364bcc[_0x23bab4(0x5d5,0x625,0x499,0x5ac)]);_0x147e17=_0x3a062c[_0x23bab4(_0x584895._0x19eb3d,0x518,0x64d,_0x584895._0x4c1943)],_0x45e889=_0x3a062c[_0x23bab4(0x60c,_0x584895._0x86b04f,0x74d,0x5fd)];}else{if(isTavilyEngine(_0x4ca6a1)){const _0xc358da=await searchTavily(_0x4ca6a1,_0x3fda68,_0x364bcc['signal']);_0x147e17=_0xc358da[_0x23bab4(_0x584895._0x45e391,0x518,0x390,0x3d1)],_0x45e889=_0xc358da['engine'];}}}if(_0x147e17[_0x23bab4(_0x584895._0x1f1160,_0x584895._0x886100,0x5e2,0x604)]>0x0)break;}catch(_0x147726){if(_0x4ca6a1===_0x4974f8[_0x47f87e(_0x584895._0xf05b1a,0x4ee,0x729,0x51f)][_0x4974f8[_0x23bab4(_0x584895._0x190264,0x704,0x897,0x795)][_0x23bab4(_0x584895._0x4d69fc,0x63b,0x6c2,0x68e)]-0x1])throw _0x147726;}}function _0x23bab4(_0x49ecd3,_0x3492ae,_0x171c86,_0x1594c3){return _0x74d3df(_0x49ecd3-_0x3fa763._0xc7099a,_0x3492ae-0x423,_0x171c86-0x1d0,_0x49ecd3);}_0x3fda68[_0x23bab4(_0x584895._0x21c596,0x60c,_0x584895._0x561bd5,0x4a7)]&&_0x147e17['length']>0x0&&(_0x147e17=await hydrateResults(_0x147e17,_0x3fda68[_0x47f87e(0x61a,_0x584895._0xb25c2f,_0x584895._0x271a69,_0x584895._0xf8adb1)],_0x364bcc[_0x47f87e(0x582,_0x584895._0x2d6f91,_0x584895._0x49ef52,_0x584895._0x65705e)],_0x2b6cfe));const _0x4ba893=new Set();_0x147e17=_0x147e17[_0x47f87e(0x348,_0x584895._0x4fd6f2,0x1dc,_0x584895._0x352a42)](_0x29ffda=>{function _0x463a35(_0x2f0dda,_0x5a8342,_0x16031a,_0x5a6ab4){return _0x47f87e(_0x16031a-_0x145443._0x58cb11,_0x5a8342-_0x145443._0x406f9d,_0x5a8342,_0x5a6ab4-0xf1);}const _0x53f8ea=_0x29ffda[_0x51fa95(-0x223,-_0x4f56e4._0x50dc7c,-_0x4f56e4._0x5e3032,-0x2e2)][_0x463a35(_0x4f56e4._0x9fcf99,0x707,0x59b,_0x4f56e4._0x1667cc)]();function _0x51fa95(_0x1d2aed,_0xc0491e,_0x577961,_0x5d8529){return _0x47f87e(_0x1d2aed- -_0x217bfc._0x11c8a9,_0xc0491e-_0x217bfc._0x466f44,_0x577961,_0x5d8529-0xa7);}if(!_0x53f8ea||_0x4ba893['has'](_0x53f8ea))return![];return _0x4ba893['add'](_0x53f8ea),!![];}),_0x147e17=_0x147e17[_0x23bab4(0x5c2,0x6cc,0x835,0x6d1)]((_0x2dc563,_0x4309a2)=>({..._0x2dc563,'source':{..._0x2dc563[_0x47f87e(0x4e9,0x42e,0x58a,0x631)],'rank':_0x4309a2+0x1}}));const _0x4b686a={};if(_0x3fda68[_0x23bab4(_0x584895._0x10f443,0x6b7,_0x584895._0x25192b,0x73b)][_0x47f87e(0x598,_0x584895._0x1cb570,0x52c,_0x584895._0x133729)]>0x0)_0x4b686a[_0x23bab4(_0x584895._0x4280c3,_0x584895._0x443919,0x81a,0x539)]=_0x3fda68['domains'];if(_0x3fda68[_0x23bab4(0x3a7,0x4b4,0x5f0,_0x584895._0x196fae)]>0x0)_0x4b686a[_0x23bab4(0x3a2,0x4b4,0x64a,0x673)]=_0x3fda68[_0x23bab4(0x67f,0x4b4,0x45a,0x420)];function _0x47f87e(_0x3cbdda,_0x37bae1,_0x277428,_0x4ef792){return _0x56dc40(_0x3cbdda-0x1be,_0x3cbdda- -_0x147af5._0x19e2c7,_0x277428,_0x4ef792-0xc5);}if(_0x3fda68[_0x23bab4(0x5c8,0x6bd,0x77d,_0x584895._0x155d7b)]!=='en')_0x4b686a[_0x23bab4(0x864,0x6bd,0x75b,0x602)]=_0x3fda68[_0x47f87e(_0x584895._0x5a2dbf,0x4fd,0x4cb,_0x584895._0x3e3b2)];if(_0x3fda68[_0x23bab4(_0x584895._0x162b14,_0x584895._0x309bad,0x600,_0x584895._0x2d6f91)])_0x4b686a[_0x23bab4(_0x584895._0x5d1da2,_0x584895._0x309bad,_0x584895._0x1c3624,0x563)]=_0x3fda68['region'];return yield createToolOutput(formatResults(_0x147e17),{'engine':_0x45e889,'count':_0x147e17['length'],'items':_0x147e17,'query':_0x3fda68[_0x47f87e(0x5e9,0x59c,0x768,0x5d7)],...Object['keys'](_0x4b686a)[_0x23bab4(_0x584895._0x37825c,0x63b,_0x584895._0x249320,0x656)]>0x0?{'appliedFilters':_0x4b686a}:{},'offset':_0x3fda68[_0x47f87e(_0x584895._0x197c8d,0x387,0x334,_0x584895._0x1468be)],'totalRequested':_0x3fda68[_0x23bab4(0x779,_0x584895._0x4c66a3,_0x584895._0x49a788,_0x584895._0x5b4717)],'hydrated':_0x3fda68[_0x47f87e(_0x584895._0x4992dd,_0x584895._0x1dc156,0x6ac,_0x584895._0x51db9a)]}),void 0x0;}});}export{BackgroundProcessCleanupError,BackgroundProcessRegistry,GREP_DEFAULT_LIMIT,GREP_MAX_PATTERN_LENGTH,GREP_MAX_SNIPPET_LENGTH,ToolExecutionError,ToolRegistry,assertWorkspaceFile,boundedGrepSnippet,buildMcpHttpHeaders,connectMcpServer,createAskUserTool,createAssignTaskTool,createBashOutputTool,createBashTool,createDelegateToAgentTool,createDelegationTools,createFileEditTool,createFileNewTool,createFileReadTool,createGlobTool,createGrepTool,createInternalToolRuntime,createInvokeCommandTool,createKillShellTool,createLoadSkillTool,createLsTool,createLspService,createLspTool,createMcpConnectionGeneration,createMcpOAuthProvider,createMcpTimeoutSource,createMcpTool,createMcpToolName,createMockToolRuntime,createShellExecTool,createTodoWriteTool,createToolOutput,createUpdateTopicTool,createViewFileTool,createWebFetchTool,createWebSearchTool,defineTool,deriveFinalToolOutput,extractOwnedMcpSafeError,filepath,files,isProbablyBinary,isTerminalStatus,normalizeToolOutputValue,projectMcpTools,redactMcpDiagnostic,replaceFirstExact,resolveAllowedPath,resolveBashExecutionTarget,resolveDelegatedAgentOptions,resolveMcpTimeoutMs,resolveToolPermissionClass,resolveWorkspacePath,search,searchRegex,sha256Bytes,toMcpSafeError,toNuvinToolSchema,truncateToolOutput,validateGrepPattern,validateToolInput};
1
+ (function(_0x4c37a2,_0x38c417){const _0x580ad2={_0x1893e2:0x357,_0x2996f1:0x2c4,_0x291a4b:0x27a,_0x3796fd:0x34b,_0x404b8a:0x482,_0x27baae:0x3c4,_0x3d107d:0x601,_0x5101fc:0x757,_0x551af5:0x39f,_0x3ab180:0x1f1,_0xfcf0e7:0x2b7,_0x313e33:0x194,_0x5c3df0:0x309,_0x47f480:0x11a,_0x3542f4:0x49a,_0x5be934:0x5bf,_0x2b7c51:0x2e5,_0x19d15f:0x1ab,_0x450c7d:0x2d8,_0x373954:0x4d1,_0x10c408:0x4b1,_0x2b9b44:0x423,_0x155713:0x304,_0x4a6fe0:0xe2},_0xd74860={_0x52166e:0x20};function _0x4be177(_0x4366f3,_0x2c6813,_0x30aaa9,_0x386c43){return _0x8662(_0x2c6813- -0x1cf,_0x386c43);}function _0x12851c(_0x17d61b,_0x216c34,_0x3f4e73,_0x55c09b){return _0x8662(_0x17d61b-_0xd74860._0x52166e,_0x216c34);}const _0x4e5789=_0x4c37a2();while(!![]){try{const _0x5551e5=-parseInt(_0x12851c(0x325,_0x580ad2._0x1893e2,_0x580ad2._0x2996f1,_0x580ad2._0x291a4b))/0x1+-parseInt(_0x12851c(_0x580ad2._0x3796fd,_0x580ad2._0x404b8a,0x423,_0x580ad2._0x27baae))/0x2*(parseInt(_0x12851c(_0x580ad2._0x3d107d,0x4ea,_0x580ad2._0x5101fc,0x575))/0x3)+parseInt(_0x12851c(_0x580ad2._0x551af5,_0x580ad2._0x3ab180,0x1e8,_0x580ad2._0xfcf0e7))/0x4+parseInt(_0x4be177(_0x580ad2._0x313e33,_0x580ad2._0x5c3df0,_0x580ad2._0x47f480,0x2fa))/0x5+-parseInt(_0x12851c(_0x580ad2._0x3542f4,0x320,_0x580ad2._0x5be934,_0x580ad2._0x2b7c51))/0x6*(parseInt(_0x4be177(0x21b,_0x580ad2._0x19d15f,0x213,_0x580ad2._0x450c7d))/0x7)+parseInt(_0x4be177(0xc6,0x80,-0x15a,0x3a))/0x8+parseInt(_0x12851c(_0x580ad2._0x373954,_0x580ad2._0x10c408,0x53e,0x4a1))/0x9*(parseInt(_0x4be177(_0x580ad2._0x2b9b44,_0x580ad2._0x155713,_0x580ad2._0x4a6fe0,0x23a))/0xa);if(_0x5551e5===_0x38c417)break;else _0x4e5789['push'](_0x4e5789['shift']());}catch(_0x473858){_0x4e5789['push'](_0x4e5789['shift']());}}}(_0x4cbe,0xb25b6));import{Agent,ToolExecutionError,ToolRegistry,createInternalToolRuntime,createToolOutput,defineTool,deriveFinalToolOutput,normalizeToolOutputValue,resolveToolPermissionClass,validateToolInput}from'../chunk-KIIEBXJF.js';import'../chunk-GAZGO6N7.js';import{getTextFromMessage}from'../chunk-YNOIG4FD.js';import'../chunk-FFIZ6TKW.js';import{addAbortListener,isAbortError,throwIfAborted,toAbortError}from'../chunk-X7VAACWY.js';import{fileURLToPath}from'url';import{readFile}from'fs/promises';import{pathToFileURL}from'url';import{createMessageConnection,StreamMessageReader,StreamMessageWriter}from'vscode-jsonrpc/node.js';function _0x8662(_0x5d2ced,_0x5d7f53){_0x5d2ced=_0x5d2ced-0x1f3;const _0x4cbe00=_0x4cbe();let _0x866204=_0x4cbe00[_0x5d2ced];if(_0x8662['YBbbtb']===undefined){var _0x89766a=function(_0xd498d9){const _0x2f5ab3='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x33244f='',_0x5b5699='';for(let _0x2f40db=0x0,_0x55d1ae,_0xd1eee6,_0x1924bd=0x0;_0xd1eee6=_0xd498d9['charAt'](_0x1924bd++);~_0xd1eee6&&(_0x55d1ae=_0x2f40db%0x4?_0x55d1ae*0x40+_0xd1eee6:_0xd1eee6,_0x2f40db++%0x4)?_0x33244f+=String['fromCharCode'](0xff&_0x55d1ae>>(-0x2*_0x2f40db&0x6)):0x0){_0xd1eee6=_0x2f5ab3['indexOf'](_0xd1eee6);}for(let _0x2ad1ec=0x0,_0x2679ea=_0x33244f['length'];_0x2ad1ec<_0x2679ea;_0x2ad1ec++){_0x5b5699+='%'+('00'+_0x33244f['charCodeAt'](_0x2ad1ec)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5b5699);};_0x8662['KInfjg']=_0x89766a,_0x8662['mgJcLo']={},_0x8662['YBbbtb']=!![];}const _0x4340ea=_0x4cbe00[0x0],_0xeea0f5=_0x5d2ced+_0x4340ea,_0x3a0a72=_0x8662['mgJcLo'][_0xeea0f5];return!_0x3a0a72?(_0x866204=_0x8662['KInfjg'](_0x866204),_0x8662['mgJcLo'][_0xeea0f5]=_0x866204):_0x866204=_0x3a0a72,_0x866204;}import _0x33244f from'path';var EXTENSION_TO_LANGUAGE={'.ts':_0x5b2413(0x581,0x4df,0x608,0x56e),'.tsx':_0x5b2413(0x613,0x4d4,0x571,0x711),'.js':_0x5b2413(0x72a,0x667,0x7e5,0x840),'.jsx':_0x28bc81(0x32c,0x40f,0x2a8,0x14e),'.mjs':_0x28bc81(0x54e,0x4b0,0x446,0x3fd),'.cjs':_0x5b2413(0x932,0x877,0x7e5,0x785),'.mts':_0x5b2413(0x508,0x3fd,0x608,0x51b),'.cts':'typescript','.json':_0x5b2413(0x6b8,0x7de,0x6b2,0x51c),'.jsonc':_0x28bc81(0x2ac,0x365,0x32e,0x230)};function getLanguageId(_0x7ec4b0){const _0x299249={_0x497367:0x4c,_0x2dffd5:0x42,_0x36ded5:0x16b,_0x5aa19c:0x13},_0x54c522={_0x259b2f:0x127,_0x1fbf02:0x2cf},_0x29880b={_0x27ea06:0xf6,_0x57b634:0x16f};function _0x257201(_0x2bde3,_0xe93613,_0x18c79b,_0x445a39){return _0x28bc81(_0x2bde3-_0x29880b._0x27ea06,_0xe93613-_0x29880b._0x57b634,_0xe93613- -0x2dd,_0x445a39);}function _0x331ea1(_0x3b820d,_0x4e138d,_0x73bfdc,_0x51d2a7){return _0x28bc81(_0x3b820d-0xb1,_0x4e138d-_0x54c522._0x259b2f,_0x4e138d-_0x54c522._0x1fbf02,_0x51d2a7);}return EXTENSION_TO_LANGUAGE[_0x33244f[_0x257201(-0xd5,-_0x299249._0x497367,0x38,-_0x299249._0x2dffd5)](_0x7ec4b0)[_0x257201(-_0x299249._0x36ded5,0x99,0x243,_0x299249._0x5aa19c)]()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8,DEFAULT_LSP_REQUEST_TIMEOUT_MS=0x7530;function uriForPath(_0x2f3d5b){const _0x33d4c2={_0x52d42e:0xbc},_0x524533={_0x5bc4c7:0x6d7};function _0x1f630e(_0x41d216,_0x13495f,_0x3ea4a0,_0x1ebe9d){return _0x5b2413(_0x41d216-0xd7,_0x13495f-0x51,_0x41d216- -_0x524533._0x5bc4c7,_0x3ea4a0);}return pathToFileURL(_0x2f3d5b)[_0x1f630e(0x68,-_0x33d4c2._0x52d42e,-0x65,-0x1ac)]();}function textDocumentPosition(_0x347484){const _0x395a32={_0x10afb7:0x56b,_0x36c951:0x46f,_0x27726e:0x2bf,_0x2f554c:0x27e,_0x272747:0x369,_0x16b90c:0x48,_0x449cbd:0x243,_0x2d2170:0x197};function _0x2a9521(_0x27c6cf,_0x1cdae3,_0x27c3a7,_0x54d4f2){return _0x28bc81(_0x27c6cf-0x66,_0x1cdae3-0x132,_0x54d4f2- -0x2a5,_0x27c3a7);}function _0xcceae7(_0x1a9878,_0x5d47b9,_0x276589,_0x22692f){return _0x28bc81(_0x1a9878-0x19b,_0x5d47b9-0xb6,_0x1a9878-0xe5,_0x5d47b9);}return{'textDocument':{'uri':uriForPath(_0x347484[_0xcceae7(_0x395a32._0x10afb7,0x6b9,0x6f6,0x43d)])},'position':{'line':_0x347484[_0x2a9521(_0x395a32._0x36c951,_0x395a32._0x27726e,_0x395a32._0x2f554c,_0x395a32._0x272747)],'character':_0x347484[_0x2a9521(-_0x395a32._0x16b90c,0x21a,_0x395a32._0x449cbd,_0x395a32._0x2d2170)]}};}function normalizeLocations(_0x46cd05){if(!_0x46cd05)return[];return Array['isArray'](_0x46cd05)?_0x46cd05:[_0x46cd05];}async function withLspTimeout(_0x12a793,_0x4078cd,_0x46c626){const _0x409183={_0xf0ca33:0x5bf,_0x3d2501:0x618,_0x5648b2:0x56c,_0x1d8e12:0x298,_0x15ad08:0x446},_0x5859b0={_0x275034:0x2d0,_0xbe1815:0x713,_0x3b0f2a:0x730},_0x11fb5e={_0x3b4f16:0x6f,_0x1f168c:0x25c};function _0x485823(_0x4c5897,_0x3d13d8,_0x4c5001,_0x1a8bc5){return _0x28bc81(_0x4c5897-0xab,_0x3d13d8-_0x11fb5e._0x3b4f16,_0x4c5001- -_0x11fb5e._0x1f168c,_0x3d13d8);}if(!Number[_0x3c2874(0x6b2,0x536,_0x409183._0xf0ca33,0x709)](_0x4078cd)||_0x4078cd<0x1)throw new Error(_0x3c2874(_0x409183._0x3d2501,0x464,0x433,_0x409183._0x5648b2)+_0x46c626+':\x20expected\x20a\x20positive\x20number');function _0x3c2874(_0x591156,_0x207c81,_0x1de5b8,_0x3da18b){return _0x5b2413(_0x591156-0x7b,_0x207c81-0x1e4,_0x591156- -0x1f0,_0x1de5b8);}let _0x5744da;try{return await Promise[_0x3c2874(0x3ab,_0x409183._0x1d8e12,0x4d9,_0x409183._0x15ad08)]([_0x12a793,new Promise((_0x40cfb4,_0x1b6087)=>{_0x5744da=setTimeout(()=>{function _0x675c62(_0x44b999,_0xb68772,_0x1efdd5,_0x521cf0){return _0x8662(_0x1efdd5-0x3a3,_0xb68772);}function _0x1eb7ce(_0x305f38,_0x15ba0d,_0xd52450,_0x5e0717){return _0x8662(_0x5e0717- -0x28,_0x305f38);}_0x1b6087(new Error('LSP\x20'+_0x46c626+_0x1eb7ce(0x4d4,0x42d,_0x5859b0._0x275034,0x470)+_0x4078cd+_0x675c62(_0x5859b0._0xbe1815,0x772,_0x5859b0._0x3b0f2a,0x951)));},_0x4078cd);})]);}finally{if(_0x5744da!==void 0x0)clearTimeout(_0x5744da);}}async function createLspClient(_0x1b3a9a){const _0x579b06={_0x115a53:0x9bc,_0x53093e:0x602,_0x166006:0x647,_0x26b306:0x5bd,_0x1483a1:0x5c4,_0x3ff420:0x7b2,_0x1350bd:0x8e4,_0x476f9b:0x483,_0x26dedd:0x274,_0x48acf5:0x1e7,_0x3bd1d1:0x3e3,_0xa6c323:0x522,_0x2ad215:0x53a,_0x441ed7:0x1f2,_0x3b3a42:0x483,_0x5a91f3:0x1ea,_0x525d2d:0x18b,_0x2775ea:0x13c,_0x46bd9b:0x51e,_0xef1626:0x425,_0xbd3b03:0x566,_0x318376:0x8a0,_0x1d04cf:0x966,_0x4d2fc3:0x546,_0x592eb8:0x50d,_0x5ecec1:0x6bc,_0x58544a:0x1b8,_0x17f1fe:0x389,_0x402d68:0x852,_0x535d0e:0x7b9,_0x317f83:0x83a,_0x1efab4:0x5f,_0x2c922c:0x929,_0x273cf5:0x868,_0x5eb0b3:0xa46,_0x1ad6dc:0x3db,_0xee5e25:0x45e,_0x5a90c2:0x248,_0x274502:0x4cf,_0x3b1d04:0x5b4,_0x41cf64:0x3fa,_0x2f6bf3:0x6ea,_0x22964c:0x649,_0x2a5b24:0x7f2,_0x3005f5:0x21d,_0x4f455d:0x272,_0x404943:0x653,_0x300cde:0x6a8,_0x5e9568:0x52a,_0x3f9431:0x546,_0x417718:0x369,_0xb5f255:0x65c,_0x590232:0x75a},_0x4ece0e={_0x1c6490:0x2ff,_0x3b78e3:0x11b,_0x1af0cb:0x62,_0x23852b:0xfe,_0x1899bd:0x36e,_0x5055cc:0x373,_0x2d913b:0x4c1,_0x5f07c6:0x168,_0x11ca2e:0x2e,_0x1f4413:0x1db,_0x3036d1:0x1c6,_0x354400:0x332,_0xb920bd:0x2a0,_0x431fb4:0x20b},_0x514afa={_0x10e699:0x5ec},_0x538c39={_0x152d6f:0x2d0,_0x41f50f:0x102},_0x5c9c1b={_0xd45d57:0x1f5,_0x74c7a4:0x2ba,_0x263001:0x125},_0x25ee06={_0x4945fc:0x504,_0x61a968:0x8e,_0x570f73:0x1ed},_0xf84bdf={_0x5c7579:0x385,_0x18ef75:0x5aa,_0x21ba4a:0x565},_0x17af7f={_0x3a9fa4:0x1a7,_0x535884:0x8f},_0x126f68={_0x50a4cd:0x47a,_0x2b5a93:0x54c,_0x35ddea:0x3f7},_0xb57b27={_0x40cb18:0xa0,_0x38304b:0x97},_0x439fd7={_0x3b13cf:0x2cf,_0x22acb2:0x480,_0x449d7e:0x456,_0xba3ec2:0x405},_0x230344={_0x121f42:0x1b3},_0x289617={_0x52b1f9:0x6ee,_0xdf6a96:0x4a2},_0x5990d1={_0x18627d:0x197},_0x2cda05={_0x4f04fe:0x65a,_0x16885f:0x30c},_0x4ea715={_0x1c11a6:0x5ad},_0x5c7a48={_0x20c2a1:0x121},_0x2ae2fc={_0x45c2b3:0x419,_0x43c0a3:0x6b7,_0x598bfa:0x628},_0x505798={_0xc736f7:0x428,_0x469f67:0x38a,_0x5dfcff:0x467,_0x432b57:0x4c4,_0x32d09a:0x61b,_0x470cd0:0x6ef,_0x2621c2:0x7fe},_0x4e1b90={_0x1c2255:0x16c,_0x4831c4:0x168,_0x37e648:0x1bf},_0x15cd5c={_0x435d4b:0x185},_0x5f5c02={_0x2c674f:0x413},_0x291399={_0x52d527:0x335,_0x29e6aa:0x35f,_0x12a7ac:0x4b4,_0x57e37a:0x93c,_0x71fdd1:0x80c,_0x1ce607:0x84c,_0x24dff4:0x11d,_0x4126fb:0xb9,_0x464d77:0x63e,_0x31f8b3:0x84b},_0x20bff7={_0x278e16:0x154};function _0x1cb1a1(_0x5a0e88,_0xd4fb06,_0x559411,_0x470c7b){return _0x28bc81(_0x5a0e88-_0x20bff7._0x278e16,_0xd4fb06-0xef,_0x5a0e88-0x31a,_0x470c7b);}const _0x4dc7f2=_0x1b3a9a[_0x1cb1a1(0x7b2,0x7fe,_0x579b06._0x115a53,0x6b6)][_0x1cb1a1(_0x579b06._0x53093e,0x781,_0x579b06._0x166006,_0x579b06._0x26b306)][_0x3937f2(0x5b1,0x49b,0x2ae,_0x579b06._0x1483a1)],_0x287735=_0x1b3a9a[_0x1cb1a1(_0x579b06._0x3ff420,0x801,0x6eb,_0x579b06._0x1350bd)][_0x3937f2(_0x579b06._0x476f9b,_0x579b06._0x26dedd,_0x579b06._0x48acf5,_0x579b06._0x3bd1d1)][_0x3937f2(0x718,0x543,_0x579b06._0xa6c323,_0x579b06._0x2ad215)];if(!_0x4dc7f2||!_0x287735)throw new Error(_0x3937f2(0x4dc,0x3fb,_0x579b06._0x441ed7,_0x579b06._0x3b3a42));const _0x3baa49=_0x1b3a9a['requestTimeoutMs']??DEFAULT_LSP_REQUEST_TIMEOUT_MS,_0x4b64c0=createMessageConnection(new StreamMessageReader(_0x4dc7f2),new StreamMessageWriter(_0x287735)),_0x461e3a=new Map(),_0x18a857=new Map();let _0x4ba97c=![];const _0x533e14=async(_0x3386fb,_0x28b526)=>{return withLspTimeout(_0x4b64c0['sendRequest'](_0x3386fb,_0x28b526),_0x3baa49,_0x3386fb);};_0x4b64c0[_0x3937f2(_0x579b06._0x5a91f3,_0x579b06._0x525d2d,_0x579b06._0x2775ea,0x2ae)](_0x1cb1a1(_0x579b06._0x46bd9b,0x3bc,_0x579b06._0xef1626,_0x579b06._0xbd3b03),_0x1b385e=>{const _0x1dc099={_0x505a96:0xb1,_0xaa20ea:0x8e};function _0x46b1fd(_0x57db7b,_0x3de787,_0x32a730,_0x218b2b){return _0x3937f2(_0x57db7b-_0x1dc099._0x505a96,_0x57db7b- -_0x1dc099._0xaa20ea,_0x3de787,_0x218b2b-0x1b9);}_0x461e3a[_0x46b1fd(_0x291399._0x52d527,0x348,_0x291399._0x29e6aa,0x12a)](_0x1b385e[_0x35ae45(0x41c,0x43f,_0x291399._0x12a7ac,0x4e5)],_0x1b385e[_0x35ae45(_0x291399._0x57e37a,_0x291399._0x71fdd1,0x82d,_0x291399._0x1ce607)]);const _0x2d2ea1=_0x18a857['get'](_0x1b385e[_0x46b1fd(0xf8,_0x291399._0x24dff4,0x1c3,_0x291399._0x4126fb)]);if(!_0x2d2ea1)return;_0x18a857[_0x35ae45(0x933,_0x291399._0x464d77,_0x291399._0x31f8b3,0x7f1)](_0x1b385e['uri']);function _0x35ae45(_0x15d8be,_0x328aad,_0x2b222f,_0xbae04e){return _0x1cb1a1(_0xbae04e- -0x2f,_0x328aad-0x147,_0x2b222f-0x138,_0x328aad);}for(const _0x1387d5 of _0x2d2ea1)_0x1387d5();}),_0x4b64c0['listen']();let _0x51ecfc;try{_0x51ecfc=await _0x533e14('initialize',{'processId':process[_0x1cb1a1(0x8d5,0x7cb,_0x579b06._0x318376,_0x579b06._0x1d04cf)],'rootUri':uriForPath(_0x1b3a9a[_0x1cb1a1(_0x579b06._0x4d2fc3,_0x579b06._0x592eb8,_0x579b06._0x5ecec1,0x5a8)]),'workspaceFolders':[{'uri':uriForPath(_0x1b3a9a[_0x3937f2(0x35a,_0x579b06._0x58544a,0x1c5,_0x579b06._0x17f1fe)]),'name':_0x1b3a9a[_0x1cb1a1(0x653,0x7c9,_0x579b06._0x402d68,_0x579b06._0x535d0e)]['id']}],'initializationOptions':_0x1b3a9a[_0x1cb1a1(0x7b2,_0x579b06._0x317f83,0x8c3,0x6b3)][_0x3937f2(0x3b1,0x1a0,-_0x579b06._0x1efab4,0x22a)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':[_0x1cb1a1(0x70b,0x518,_0x579b06._0x2c922c,0x5eb),_0x1cb1a1(_0x579b06._0x273cf5,_0x579b06._0x5eb0b3,0x7b5,0x731)]},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});}catch(_0x1b5c37){_0x4b64c0[_0x3937f2(_0x579b06._0x1ad6dc,_0x579b06._0xee5e25,0x2f7,0x46f)](),_0x1b3a9a[_0x3937f2(_0x579b06._0x5a90c2,0x424,_0x579b06._0x274502,_0x579b06._0x3b1d04)]['process'][_0x3937f2(0x4cb,_0x579b06._0x41cf64,0x1e4,0x286)]();throw _0x1b5c37;}_0x4b64c0[_0x1cb1a1(_0x579b06._0x2f6bf3,0x6c2,_0x579b06._0x22964c,_0x579b06._0x2a5b24)](_0x3937f2(_0x579b06._0x3005f5,0x252,_0x579b06._0x4f455d,0x454),{});function _0x3937f2(_0x3c53d7,_0x263dd9,_0x35edae,_0x180ec6){return _0x5b2413(_0x3c53d7-0x2f,_0x263dd9-0x7a,_0x263dd9- -_0x5f5c02._0x2c674f,_0x35edae);}const _0x240740={'serverId':_0x1b3a9a[_0x1cb1a1(_0x579b06._0x404943,_0x579b06._0x300cde,_0x579b06._0x5e9568,0x814)]['id'],'root':_0x1b3a9a[_0x1cb1a1(_0x579b06._0x3f9431,_0x579b06._0x417718,_0x579b06._0xb5f255,0x67f)],'connection':_0x4b64c0,'diagnostics':_0x461e3a,'capabilities':_0x51ecfc[_0x1cb1a1(0x7ff,0x8c7,_0x579b06._0x590232,0x97e)]??{},'notify':{async 'open'({path:_0x3d8f6b}){function _0x179c1a(_0x3d92b5,_0x1ee5f4,_0x48a90d,_0x59f30b){return _0x3937f2(_0x3d92b5-0x8a,_0x48a90d-_0x15cd5c._0x435d4b,_0x1ee5f4,_0x59f30b-0xb8);}function _0x582dd9(_0x5dcb58,_0x4d7725,_0x48eaa1,_0x21ed0a){return _0x3937f2(_0x5dcb58-_0x4e1b90._0x1c2255,_0x48eaa1-_0x4e1b90._0x4831c4,_0x21ed0a,_0x21ed0a-_0x4e1b90._0x37e648);}const _0x3ca8c7=await readFile(_0x3d8f6b,_0x179c1a(0x59e,_0x505798._0xc736f7,_0x505798._0x469f67,0x2ce));_0x4b64c0[_0x582dd9(0x394,_0x505798._0x5dfcff,_0x505798._0x432b57,_0x505798._0x32d09a)]('textDocument/didOpen',{'textDocument':{'uri':uriForPath(_0x3d8f6b),'languageId':getLanguageId(_0x3d8f6b)??_0x582dd9(_0x505798._0x470cd0,0x55d,0x642,_0x505798._0x2621c2),'version':0x1,'text':_0x3ca8c7}});},async 'change'({path:_0x8e6496,version:_0x339149}){const _0x32d894={_0x33f08e:0x267,_0x3ce0a4:0x1e9},_0x21c4b4=await readFile(_0x8e6496,'utf8');function _0x51a3ee(_0x4e3eef,_0x50d416,_0x1abc1d,_0x5a23be){return _0x1cb1a1(_0x5a23be- -_0x32d894._0x33f08e,_0x50d416-_0x32d894._0x3ce0a4,_0x1abc1d-0xb0,_0x1abc1d);}_0x4b64c0['sendNotification'](_0x51a3ee(_0x2ae2fc._0x45c2b3,_0x2ae2fc._0x43c0a3,0x6ec,_0x2ae2fc._0x598bfa),{'textDocument':{'uri':uriForPath(_0x8e6496),'version':_0x339149},'contentChanges':[{'text':_0x21c4b4}]});},async 'close'({path:_0x46b817}){_0x4b64c0['sendNotification']('textDocument/didClose',{'textDocument':{'uri':uriForPath(_0x46b817)}});}},'request':{async 'definition'(_0x555102){return normalizeLocations(await _0x533e14('textDocument/definition',textDocumentPosition(_0x555102)));},async 'references'(_0xfd2bb1){function _0x140cb3(_0x239a29,_0x57520e,_0x1a31bd,_0x3b042a){return _0x3937f2(_0x239a29-0x7e,_0x3b042a- -_0x5c7a48._0x20c2a1,_0x57520e,_0x3b042a-0xcb);}return normalizeLocations(await _0x533e14(_0x140cb3(0x2e7,_0x4ea715._0x1c11a6,0x271,0x3d8),{...textDocumentPosition(_0xfd2bb1),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x4577bc){const _0x1f078a={_0x329666:0x1f};function _0x5c23a9(_0x2966ff,_0x25e2bb,_0x501b61,_0x3e2963){return _0x3937f2(_0x2966ff-_0x1f078a._0x329666,_0x3e2963-0x89,_0x25e2bb,_0x3e2963-0xc);}return await _0x533e14(_0x5c23a9(_0x2cda05._0x4f04fe,_0x2cda05._0x16885f,0x573,0x516),textDocumentPosition(_0x4577bc))??null;},async 'documentSymbol'(_0x570726){function _0x24dd07(_0x77d43b,_0x474dd5,_0x340eb,_0x56ee31){return _0x3937f2(_0x77d43b-0x1f4,_0x77d43b-_0x5990d1._0x18627d,_0x474dd5,_0x56ee31-0x13a);}return await _0x533e14(_0x24dd07(0x637,_0x289617._0x52b1f9,0x438,_0x289617._0xdf6a96),{'textDocument':{'uri':uriForPath(_0x570726)}})??[];},async 'workspaceSymbol'(_0x5b81f9){function _0x5d21ae(_0xe5abd0,_0x9e075,_0x5631e9,_0x457d1f){return _0x1cb1a1(_0x5631e9- -0x2ab,_0x9e075-0x195,_0x5631e9-_0x230344._0x121f42,_0xe5abd0);}return await _0x533e14(_0x5d21ae(_0x439fd7._0x3b13cf,_0x439fd7._0x22acb2,_0x439fd7._0x449d7e,_0x439fd7._0xba3ec2),{'query':_0x5b81f9})??[];},async 'implementation'(_0x421b52){function _0x1623e1(_0x394744,_0x1cef8c,_0x1217df,_0x542c69){return _0x3937f2(_0x394744-0x74,_0x1217df-_0xb57b27._0x40cb18,_0x542c69,_0x542c69-_0xb57b27._0x38304b);}return normalizeLocations(await _0x533e14(_0x1623e1(_0x126f68._0x50a4cd,_0x126f68._0x2b5a93,0x59c,_0x126f68._0x35ddea),textDocumentPosition(_0x421b52)));},async 'prepareCallHierarchy'(_0x138be3){function _0x1f2371(_0x205256,_0x156963,_0x43e3c8,_0x2220e2){return _0x3937f2(_0x205256-_0x17af7f._0x3a9fa4,_0x2220e2-0x12b,_0x43e3c8,_0x2220e2-_0x17af7f._0x535884);}return await _0x533e14(_0x1f2371(0x63d,0x7b1,0x54f,0x5c1),textDocumentPosition(_0x138be3))??[];},async 'incomingCalls'(_0x2555d9){const _0x1bf7d5={_0x3c310f:0x1a9};function _0x35c2cd(_0x57e432,_0x44a4b7,_0x535427,_0x4d1b44){return _0x1cb1a1(_0x4d1b44-0xc3,_0x44a4b7-0x22,_0x535427-_0x1bf7d5._0x3c310f,_0x535427);}return await _0x533e14(_0x35c2cd(0x89b,0x96b,0xa27,0x972),{'item':_0x2555d9})??[];},async 'outgoingCalls'(_0x49aed6){const _0x39ba93={_0x28e71a:0x5e,_0x12befd:0x115};function _0x54aeb2(_0x472225,_0x137d7e,_0xe444e2,_0x21cc04){return _0x1cb1a1(_0xe444e2- -0x32,_0x137d7e-_0x39ba93._0x28e71a,_0xe444e2-_0x39ba93._0x12befd,_0x472225);}return await _0x533e14(_0x54aeb2(_0xf84bdf._0x5c7579,_0xf84bdf._0x18ef75,0x55a,_0xf84bdf._0x21ba4a),{'item':_0x49aed6})??[];}},'waitForDiagnostics'({path:_0x840c8a,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x20d95b={_0x1890bc:0x8e3},_0x4c6ee0={_0x4445aa:0x1ef};function _0x48eb95(_0x2757a1,_0x5a880f,_0x2e02aa,_0x54a15b){return _0x1cb1a1(_0x5a880f- -_0x25ee06._0x4945fc,_0x5a880f-_0x25ee06._0x61a968,_0x2e02aa-_0x25ee06._0x570f73,_0x2e02aa);}function _0x1ea3a5(_0x360123,_0x147a60,_0x25bac1,_0x315b76){return _0x3937f2(_0x360123-0x1bb,_0x315b76- -0xc1,_0x360123,_0x315b76-_0x4c6ee0._0x4445aa);}const _0x1e0d11=uriForPath(_0x840c8a);if(_0x461e3a[_0x48eb95(-0x74,0x121,_0x5c9c1b._0xd45d57,0x21b)](_0x1e0d11))return Promise[_0x1ea3a5(0x1f3,_0x5c9c1b._0x74c7a4,0x28,_0x5c9c1b._0x263001)]();return new Promise(_0xbca956=>{const _0x1bd4c7={_0x29f912:0x4e4},_0x13ce73={_0x227a16:0x487,_0x484f49:0x477},_0x563ed8={_0x63e16c:0x309},_0xa3303e=setTimeout(()=>{const _0x40bbbb=_0x18a857[_0x374287(_0x13ce73._0x227a16,0x2b0,0x4ac,_0x13ce73._0x484f49)](_0x1e0d11);_0x40bbbb?.['delete'](_0x5b663a);function _0x366707(_0x228836,_0x2f0438,_0x504399,_0x420fbe){return _0x8662(_0x504399-0xba,_0x228836);}function _0x374287(_0x5dd703,_0x2d48e2,_0x33aee9,_0x198dc3){return _0x8662(_0x2d48e2- -_0x563ed8._0x63e16c,_0x33aee9);}if(_0x40bbbb?.[_0x374287(-0x1c1,-0xf,0x206,-0x165)]===0x0)_0x18a857[_0x366707(0x3c6,0x4fb,0x5e8,0x436)](_0x1e0d11);_0xbca956();},timeoutMs),_0x5b663a=()=>{clearTimeout(_0xa3303e),_0xbca956();};function _0x5a6096(_0x378fd5,_0x3b5c2b,_0x3cc19d,_0x4daa46){return _0x48eb95(_0x378fd5-0x6e,_0x3cc19d-_0x1bd4c7._0x29f912,_0x378fd5,_0x4daa46-0x68);}const _0x4b2d17=_0x18a857['get'](_0x1e0d11)??new Set();_0x4b2d17['add'](_0x5b663a),_0x18a857[_0x5a6096(0x5b7,0x582,0x731,_0x20d95b._0x1890bc)](_0x1e0d11,_0x4b2d17);});},async 'shutdown'(){function _0x4a3741(_0x158203,_0x49aa2a,_0x2c5767,_0x1a29cd){return _0x1cb1a1(_0x158203- -_0x538c39._0x152d6f,_0x49aa2a-0x1b9,_0x2c5767-_0x538c39._0x41f50f,_0x49aa2a);}function _0x498cc6(_0x99d4bc,_0x309c79,_0x691011,_0x4cded7){return _0x1cb1a1(_0x4cded7- -_0x514afa._0x10e699,_0x309c79-0x82,_0x691011-0xbe,_0x99d4bc);}if(_0x4ba97c)return;_0x4ba97c=!![];try{await _0x533e14('shutdown',null),_0x4b64c0[_0x498cc6(_0x4ece0e._0x1c6490,_0x4ece0e._0x3b78e3,-_0x4ece0e._0x1af0cb,_0x4ece0e._0x23852b)](_0x4a3741(_0x4ece0e._0x1899bd,_0x4ece0e._0x5055cc,_0x4ece0e._0x2d913b,_0x4ece0e._0x5f07c6));}catch{}finally{_0x4b64c0['dispose'](),_0x1b3a9a[_0x498cc6(0x309,-_0x4ece0e._0x11ca2e,_0x4ece0e._0x1f4413,_0x4ece0e._0x3036d1)][_0x4a3741(_0x4ece0e._0x354400,0x1c1,0x190,_0x4ece0e._0xb920bd)][_0x498cc6(0x134,_0x4ece0e._0x431fb4,0x238,0x19c)]();}}};return _0x240740;}import{spawn as _0x5b5699}from'child_process';import{access as _0x2f40db}from'fs/promises';import _0x55d1ae from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0xd1eee6 from'os';import _0x1924bd from'path';import _0x2ad1ec from'which';var installPromises=new Map();function sanitizePackageName(_0xec19e8){const _0x3f389b={_0x106f17:0x5fd,_0x55faff:0x33f,_0x49a861:0x65f,_0x2dcfdf:0x3e7},_0x101e51={_0x39354a:0x193},_0x1e626e={_0x1ac3e5:0x165};function _0xa7feae(_0x546466,_0x58614f,_0x527a2f,_0x4101f0){return _0x28bc81(_0x546466-0x1c3,_0x58614f-0xd7,_0x4101f0-_0x1e626e._0x1ac3e5,_0x527a2f);}function _0x312365(_0x22f4cd,_0x107981,_0x344de2,_0x41331c){return _0x5b2413(_0x22f4cd-0x103,_0x107981-_0x101e51._0x39354a,_0x41331c- -0x402,_0x107981);}return _0xec19e8[_0x312365(_0x3f389b._0x106f17,0x32e,_0x3f389b._0x55faff,0x4f4)](/^@/,'')[_0x312365(0x693,_0x3f389b._0x49a861,_0x3f389b._0x2dcfdf,0x4f4)](/[/]/g,'__');}function binaryNameForPlatform(_0x4d7b9e){const _0x25d0cf={_0x36b09a:0x4d5,_0x6e88aa:0x365,_0x438f46:0x221,_0x77f4bf:0x4f9,_0x2fd1ea:0xd7,_0x410d17:0x1e5,_0x51f2fb:0x3b8,_0x38ff23:0x237},_0x106dc0={_0x189436:0x403};function _0x1551c0(_0x176ef8,_0x1f1aa2,_0x31d060,_0x92760a){return _0x5b2413(_0x176ef8-0x18c,_0x1f1aa2-0x76,_0x1f1aa2- -_0x106dc0._0x189436,_0x176ef8);}function _0x37b0c9(_0x152c53,_0x321164,_0x1fe718,_0xcb6074){return _0x5b2413(_0x152c53-0x1af,_0x321164-0x105,_0x321164- -0x722,_0xcb6074);}return process[_0x1551c0(_0x25d0cf._0x36b09a,_0x25d0cf._0x6e88aa,_0x25d0cf._0x438f46,_0x25d0cf._0x77f4bf)]===_0x37b0c9(0x190,_0x25d0cf._0x2fd1ea,0x24a,-0x92)?_0x4d7b9e+_0x1551c0(_0x25d0cf._0x410d17,0x2bf,_0x25d0cf._0x51f2fb,_0x25d0cf._0x38ff23):_0x4d7b9e;}async function exists(_0x1f787f){try{return await access(_0x1f787f),!![];}catch{return![];}}function runNpmInstall(_0x3924bf,_0x4729b8,_0x1f4a28){const _0x3093d4={_0x2531a8:0x1e2,_0x5813f6:0x4de,_0x3ac3a4:0x1f7,_0xf1132d:0x1c5,_0x18202c:0x1c9};return new Promise(_0x6fda51=>{const _0x132ec9=spawn('npm',[_0x127051(_0x3093d4._0x2531a8,_0x3093d4._0x5813f6,0x1fa,0x3c2),_0x127051(0x121,_0x3093d4._0x3ac3a4,0xd4,0xbb),_0x3924bf,_0x4729b8],{'env':_0x1f4a28,'stdio':_0x127051(0x219,0x3d9,0x50,_0x3093d4._0xf1132d)});function _0x59e311(_0x146adb,_0xae8a2e,_0x1d5708,_0x56be85){return _0x8662(_0xae8a2e-0x16,_0x146adb);}_0x132ec9['on'](_0x127051(0x31f,0x2f2,_0x3093d4._0x18202c,0x1e0),()=>_0x6fda51(![]));function _0x127051(_0x158c6b,_0x41952b,_0xae8f70,_0x17f4a8){return _0x8662(_0x17f4a8- -0x220,_0x158c6b);}_0x132ec9['on']('close',_0x565faf=>_0x6fda51(_0x565faf===0x0));});}function shouldDisableLspDownload(_0x3e3486=process['env']){const _0x5e8af7={_0x9dfcd4:0x4eb,_0x2a10de:0x2fc,_0x48ce54:0x74e,_0x5c98a0:0x5b9,_0x35a3e:0x2ff,_0x486177:0x43f},_0x523d02={_0x58a14b:0x85,_0x4e4f27:0x240},_0x604d6a={_0x4fcbb5:0x448};function _0x11f0e6(_0x24b078,_0x2d331c,_0xe727b7,_0x397fcc){return _0x5b2413(_0x24b078-0x143,_0x2d331c-0xd6,_0x24b078- -_0x604d6a._0x4fcbb5,_0x397fcc);}const _0x236246=_0x3e3486[_0x11f0e6(0x489,_0x5e8af7._0x9dfcd4,0x542,_0x5e8af7._0x2a10de)]?.['toLowerCase']();function _0x38fe0d(_0x358a85,_0x492a94,_0x3fbc45,_0x5e2fa7){return _0x28bc81(_0x358a85-_0x523d02._0x58a14b,_0x492a94-0xe9,_0x358a85-_0x523d02._0x4e4f27,_0x492a94);}return _0x236246===_0x38fe0d(_0x5e8af7._0x48ce54,0x6a5,_0x5e8af7._0x5c98a0,0x8cc)||_0x236246==='1'||_0x236246===_0x11f0e6(_0x5e8af7._0x35a3e,_0x5e8af7._0x486177,0x4a1,0x36d)||_0x236246==='on';}function getLspPackageDir(_0x832d1e){const _0x2878c0={_0x45ff9e:0x325,_0xf9dc18:0x685,_0x5471c0:0x36f,_0x21b4e4:0x53f,_0x212166:0xf5,_0x488ca4:0xcc,_0x250441:0x592,_0x11ce87:0x78b,_0x259bc8:0x61b},_0x359c10={_0x402124:0xe2},_0x32c02e={_0x4f1a05:0xc7,_0x54f00b:0x27};function _0x383a87(_0x440a97,_0x1f209e,_0x28ce07,_0x3f17c0){return _0x5b2413(_0x440a97-_0x32c02e._0x4f1a05,_0x1f209e-_0x32c02e._0x54f00b,_0x3f17c0- -0x597,_0x1f209e);}function _0x4423a8(_0x730551,_0x12953e,_0x11e745,_0x12fbcf){return _0x28bc81(_0x730551-0x156,_0x12953e-0x6c,_0x12fbcf-_0x359c10._0x402124,_0x730551);}return _0x1924bd[_0x4423a8(_0x2878c0._0x45ff9e,_0x2878c0._0xf9dc18,_0x2878c0._0x5471c0,_0x2878c0._0x21b4e4)](_0xd1eee6['homedir'](),_0x383a87(0x221,-_0x2878c0._0x212166,-_0x2878c0._0x488ca4,0x3),'lsp',_0x4423a8(_0x2878c0._0x250441,_0x2878c0._0x11ce87,_0x2878c0._0x259bc8,0x6eb),sanitizePackageName(_0x832d1e));}function getLspBinDir(_0x237e30){const _0x74c221={_0xab0f:0x28c,_0x4126d1:0x8b,_0x94aca:0x8,_0x459c6b:0x7f,_0x542b7b:0x14e},_0x2afb4e={_0x4bda5b:0x6dc},_0x41b832={_0x215b6e:0x149};function _0x44a8c8(_0x54f906,_0x286450,_0x1d223c,_0x28a8d5){return _0x5b2413(_0x54f906-_0x41b832._0x215b6e,_0x286450-0xe,_0x54f906- -0x72b,_0x28a8d5);}function _0x2bac98(_0x43fcec,_0x3881b7,_0x28578a,_0x401a49){return _0x5b2413(_0x43fcec-0x11d,_0x3881b7-0x182,_0x28578a- -_0x2afb4e._0x4bda5b,_0x3881b7);}return _0x1924bd['join'](getLspPackageDir(_0x237e30),_0x44a8c8(-0x136,-_0x74c221._0xab0f,0xc5,_0x74c221._0x4126d1),_0x2bac98(0x1eb,_0x74c221._0x94aca,_0x74c221._0x459c6b,-_0x74c221._0x542b7b));}async function findPackageBinary(_0x55bd79,_0x395d51){const _0x5c5a53={_0x280fff:0x111,_0x20e49d:0x209},_0x169c45={_0x33dc5b:0x106};let _0x4c8485=_0x1924bd[_0x2a1141(_0x5c5a53._0x280fff,0x1e9,-0x109,_0x5c5a53._0x20e49d)](_0x395d51);const _0xcbe8dd=binaryNameForPlatform(_0x55bd79);function _0x2a1141(_0x159336,_0x5c8671,_0x4f4a2c,_0x154823){return _0x28bc81(_0x159336-_0x169c45._0x33dc5b,_0x5c8671-0xcb,_0x159336- -0x149,_0x5c8671);}while(!![]){const _0x2340bd=_0x1924bd['join'](_0x4c8485,'node_modules','.bin',_0xcbe8dd);if(await exists(_0x2340bd))return _0x2340bd;const _0x501386=_0x1924bd['dirname'](_0x4c8485);if(_0x501386===_0x4c8485)return void 0x0;_0x4c8485=_0x501386;}}async function findPathBinary(_0x3b1688,_0x23cb15){const _0x319fb2={_0x48b95f:0x61,_0x23755a:0x20,_0x4c34fa:0x1b8,_0x2a9280:0x103,_0xdccc90:0x24d,_0xcde7a8:0xf2,_0x337455:0x374,_0x4f6707:0x31e,_0x1eebd9:0x3b9,_0x479c38:0x3a6,_0x59ca68:0x260},_0x46fdba={_0x2ba56b:0x10d,_0x393482:0x138},_0x443f3d={_0x2ae724:0x188,_0x3e8794:0x21a};function _0x4e34b4(_0x3c0202,_0x405942,_0x1be43a,_0x57116e){return _0x28bc81(_0x3c0202-0x12b,_0x405942-_0x443f3d._0x2ae724,_0x3c0202- -_0x443f3d._0x3e8794,_0x1be43a);}const _0x273ba9=getLspBinDir(_0x23cb15),_0x456b8a=[_0x273ba9,process[_0x5f72e7(-_0x319fb2._0x48b95f,-_0x319fb2._0x23755a,-_0x319fb2._0x4c34fa,-_0x319fb2._0x2a9280)][_0x5f72e7(0x37c,0x2f5,_0x319fb2._0xdccc90,0x3e9)]][_0x5f72e7(_0x319fb2._0xcde7a8,0x197,0x15a,_0x319fb2._0x337455)](Boolean)['join'](_0x1924bd[_0x4e34b4(_0x319fb2._0x4f6707,_0x319fb2._0x1eebd9,_0x319fb2._0x479c38,_0x319fb2._0x59ca68)]);function _0x5f72e7(_0x4cc432,_0x28845c,_0x36a5ee,_0x541303){return _0x5b2413(_0x4cc432-_0x46fdba._0x2ba56b,_0x28845c-_0x46fdba._0x393482,_0x28845c- -0x68d,_0x36a5ee);}try{return await _0x2ad1ec(_0x3b1688,{'path':_0x456b8a});}catch{return void 0x0;}}async function resolvePackageBinary(_0x4556c8){const _0xa37686={_0x3f7a71:0x54f,_0x15f6a4:0x44b,_0x48cb54:0x487,_0x1ff3a3:0x1eb,_0x45cd1e:0x12d,_0x56df65:0xf6,_0x207a39:0x7c7,_0x59f624:0x610,_0x1db441:0x18,_0x15db15:0x2a,_0x50acf5:0x189,_0x21352d:0x3ab,_0x36ed66:0x250,_0xd1bd12:0xad6,_0x47b693:0x7bb,_0x5ce90d:0x738,_0x50a68b:0x906},_0x497542={_0x56b4fc:0x2d6,_0x447c83:0x374,_0x416145:0x3c3,_0xa3b266:0xfb,_0x4f9c97:0x1e6,_0x44b860:0x2b},_0x34d5e9={_0x20d162:0x9f},_0x4914f5={_0x25fef5:0x23},_0x534329={_0x3d8f7b:0xca,_0x299327:0x188},_0x4d9cd5=_0x4556c8['binaryName']??_0x4556c8[_0x2f08ad(_0xa37686._0x3f7a71,0x50d,_0xa37686._0x15f6a4,0x610)];function _0x2f08ad(_0x3d50c5,_0x468ad3,_0xca580f,_0x2615ec){return _0x28bc81(_0x3d50c5-_0x534329._0x3d8f7b,_0x468ad3-_0x534329._0x299327,_0x2615ec-0x400,_0x3d50c5);}const _0x59f9a2=await findPackageBinary(_0x4d9cd5,_0x4556c8[_0xf890e0(_0xa37686._0x48cb54,0x4ea,0x2dc,0x488)]);if(_0x59f9a2)return _0x59f9a2;function _0xf890e0(_0x4aca44,_0x3158d5,_0x462aac,_0x5816ef){return _0x5b2413(_0x4aca44-0x1a8,_0x3158d5-_0x4914f5._0x25fef5,_0x462aac- -0x585,_0x3158d5);}const _0xcbc3b0=await findPathBinary(_0x4d9cd5,_0x4556c8['packageName']);if(_0xcbc3b0)return _0xcbc3b0;const _0x9b62f0=_0x4556c8[_0xf890e0(_0xa37686._0x1ff3a3,-_0xa37686._0x45cd1e,0xe8,0x29d)]??process[_0xf890e0(0x2ea,_0xa37686._0x56df65,0xe8,-0xa6)];if(shouldDisableLspDownload(_0x9b62f0))return void 0x0;const _0x52da46=getLspPackageDir(_0x4556c8[_0x2f08ad(0x751,_0xa37686._0x207a39,0x7d1,_0xa37686._0x59f624)]),_0xae3752=_0x4556c8[_0xf890e0(0x243,-_0xa37686._0x1db441,_0xa37686._0x15db15,0x23f)]+':'+_0x4d9cd5;let _0x189f9a=installPromises[_0xf890e0(0x552,_0xa37686._0x50acf5,_0xa37686._0x21352d,_0xa37686._0x36ed66)](_0xae3752);!_0x189f9a&&(_0x189f9a=((async()=>{await mkdir(_0x52da46,{'recursive':!![]});function _0x44a2da(_0x5bf45b,_0x104ecf,_0x367141,_0x209e52){return _0xf890e0(_0x5bf45b-0x1c,_0x367141,_0x5bf45b-0x2ac,_0x209e52-0x98);}const _0x3266fe=await runNpmInstall(_0x52da46,_0x4556c8[_0x44a2da(_0x497542._0x56b4fc,0xc3,_0x497542._0x447c83,0x2d8)],_0x9b62f0);if(!_0x3266fe)return void 0x0;function _0x4071c8(_0x4786b2,_0x2d3eaa,_0x25a703,_0x111be8){return _0xf890e0(_0x4786b2-_0x34d5e9._0x20d162,_0x4786b2,_0x111be8- -0x60,_0x111be8-0x162);}const _0x2e9ced=_0x1924bd[_0x4071c8(_0x497542._0x416145,0x314,_0x497542._0xa3b266,0x217)](getLspBinDir(_0x4556c8[_0x4071c8(-_0x497542._0x4f9c97,0xf6,_0x497542._0x44b860,-0x36)]),binaryNameForPlatform(_0x4d9cd5));return await exists(_0x2e9ced)?_0x2e9ced:void 0x0;})()),installPromises[_0xf890e0(0x165,0x174,0x251,0xd8)](_0xae3752,_0x189f9a));try{return await _0x189f9a;}catch{return void 0x0;}finally{installPromises[_0x2f08ad(_0xa37686._0xd1bd12,_0xa37686._0x47b693,_0xa37686._0x5ce90d,_0xa37686._0x50a68b)](_0xae3752);}}var TYPESCRIPT_EXTENSIONS=[_0x5b2413(0x973,0x770,0x8ca,0xaa5),_0x28bc81(0x529,0x7e2,0x5d2,0x57c),_0x5b2413(0xa33,0x959,0x951,0x8bc),'.jsx','.mjs','.cjs',_0x5b2413(0x524,0x507,0x570,0x70c),_0x5b2413(0x958,0x72e,0x742,0x5dd)],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,'.json',_0x5b2413(0x688,0x6f8,0x69a,0x67d)],TYPESCRIPT_ROOT_MARKERS=[_0x28bc81(0x275,0x26b,0x413,0x567),'bun.lockb','bun.lock',_0x28bc81(0x3af,0x5f8,0x565,0x4ad),_0x28bc81(0x318,0x450,0x4f5,0x634),_0x5b2413(0x7da,0xa51,0x8f1,0x765),_0x28bc81(0x695,0x65f,0x51d,0x435),_0x5b2413(0x796,0x808,0x636,0x67c)],BIOME_ROOT_MARKERS=[_0x5b2413(0x853,0x836,0x8e3,0x90f),_0x28bc81(0x4b4,0x442,0x36e,0x33f),'package-lock.json',_0x5b2413(0x5ce,0x531,0x750,0x7a8),_0x5b2413(0x84b,0x673,0x632,0x718),_0x5b2413(0x7df,0x6f2,0x904,0x782),'yarn.lock',_0x28bc81(0x47c,0x4b2,0x297,0x43a)];async function exists2(_0x268f28){try{return await _0x2f40db(_0x268f28),!![];}catch{return![];}}async function findUp(_0x25b785,_0x493232){const _0x146912={_0x4567a8:0x49c,_0xa1e9d7:0x2e7,_0x4e46a4:0x387,_0x4d4b7b:0x69d,_0xbfa244:0x4ea},_0x2374c6={_0x48c300:0x120,_0x4328ac:0x1e6,_0x5c5b6f:0x332},_0x7a8244={_0x5996ec:0xbe};let _0x54b211=_0x55d1ae[_0x585115(_0x146912._0x4567a8,0x152,0x2ee,_0x146912._0xa1e9d7)](_0x25b785);function _0x585115(_0x8de884,_0x39b537,_0x2b03e8,_0x5e295a){return _0x28bc81(_0x8de884-_0x7a8244._0x5996ec,_0x39b537-0x136,_0x5e295a-0x8d,_0x39b537);}const _0x2af205=_0x55d1ae['extname'](_0x54b211);if(_0x2af205)_0x54b211=_0x55d1ae[_0x108458(-0x5a,-0x15c,0x19,-0x1f4)](_0x54b211);function _0x108458(_0x1a0c04,_0x234a32,_0x570aed,_0x405818){return _0x28bc81(_0x1a0c04-_0x2374c6._0x48c300,_0x234a32-_0x2374c6._0x4328ac,_0x234a32- -_0x2374c6._0x5c5b6f,_0x570aed);}while(!![]){for(const _0x39a150 of _0x493232){if(await exists2(_0x55d1ae[_0x585115(_0x146912._0x4e46a4,_0x146912._0x4d4b7b,0x406,_0x146912._0xbfa244)](_0x54b211,_0x39a150)))return _0x54b211;}const _0x4967e6=_0x55d1ae['dirname'](_0x54b211);if(_0x4967e6===_0x54b211)return void 0x0;_0x54b211=_0x4967e6;}}async function hasDenoRoot(_0x2acbb2){const _0x5cc07c={_0x108247:0x991,_0x3b0e47:0x581,_0x3b15b4:0x778,_0x1a79d1:0x8b1,_0x492722:0x88c,_0x544d23:0x6f1,_0x30435f:0xa6,_0x56f416:0xbb},_0x5bb9c6={_0x26e495:0xe7,_0xdd82f8:0x50,_0x4d4bba:0x80},_0x246c3c={_0x2081a:0xab};function _0x179dcd(_0x88e6e0,_0xb1a15d,_0x55ed89,_0x2e3d49){return _0x28bc81(_0x88e6e0-_0x246c3c._0x2081a,_0xb1a15d-0x1e8,_0x55ed89- -0x297,_0xb1a15d);}function _0x36a1a5(_0x58340f,_0xc1273f,_0x179c0f,_0x624bca){return _0x5b2413(_0x58340f-_0x5bb9c6._0x26e495,_0xc1273f-_0x5bb9c6._0xdd82f8,_0xc1273f- -_0x5bb9c6._0x4d4bba,_0x624bca);}return await exists2(_0x55d1ae[_0x36a1a5(0x83f,0x77c,_0x5cc07c._0x108247,_0x5cc07c._0x3b0e47)](_0x2acbb2,_0x36a1a5(0x6da,_0x5cc07c._0x3b15b4,0x95e,_0x5cc07c._0x1a79d1)))||await exists2(_0x55d1ae[_0x36a1a5(_0x5cc07c._0x492722,0x77c,0x661,_0x5cc07c._0x544d23)](_0x2acbb2,_0x179dcd(-0x46,_0x5cc07c._0x30435f,-_0x5cc07c._0x56f416,0x68)));}async function resolveTsserverPath(_0x11ada7){const _0x2dd592={_0x5af030:0x64d,_0x4759b5:0x671,_0x2ae5dd:0x553,_0x52d129:0x34c,_0x14e9e1:0x1a1,_0x3bef7b:0x2e8,_0x4f4ff6:0x2f2,_0x39a1f4:0x11d,_0x14e059:0x29,_0x4234d1:0x322,_0x3787c1:0x2da,_0x277d72:0x6f,_0x569c2f:0x8a,_0x432a37:0x167,_0x36a514:0x266,_0x1fc01f:0x282,_0x588342:0x23e,_0xbde1c9:0x35f,_0x369abb:0x49d,_0x1a8964:0x24e,_0x487446:0x47a,_0xd6ed1f:0x584,_0x5b1408:0x426,_0x571567:0x5e7},_0x46f217={_0x1044a7:0x1d8,_0x31d3a9:0x1de},_0x5b6ca6={_0x1764de:0x44,_0x2d7cd3:0x155};function _0x18fc1c(_0xb59f74,_0x5a8acb,_0x4838dc,_0x3b0d83){return _0x28bc81(_0xb59f74-_0x5b6ca6._0x1764de,_0x5a8acb-_0x5b6ca6._0x2d7cd3,_0x5a8acb- -0x2f3,_0x3b0d83);}let _0x5a94f7=_0x55d1ae['resolve'](_0x11ada7);function _0x49105d(_0xf4f557,_0x14b509,_0x45e6b3,_0x14b362){return _0x5b2413(_0xf4f557-_0x46f217._0x1044a7,_0x14b509-_0x46f217._0x31d3a9,_0x45e6b3- -0x2a9,_0x14b362);}while(!![]){const _0x3516c2=_0x55d1ae[_0x49105d(_0x2dd592._0x5af030,_0x2dd592._0x4759b5,_0x2dd592._0x2ae5dd,0x3de)](_0x5a94f7,_0x49105d(0x16d,0x21d,_0x2dd592._0x52d129,_0x2dd592._0x14e9e1),_0x49105d(0x421,_0x2dd592._0x3bef7b,0x35f,0x38e),'lib',_0x18fc1c(_0x2dd592._0x4f4ff6,0x1fe,0x382,0x2c5));if(await exists2(_0x3516c2))return _0x3516c2;const _0x5c764b=_0x55d1ae[_0x18fc1c(-0x33a,-_0x2dd592._0x39a1f4,-0x246,-0x33d)](_0x5a94f7);if(_0x5c764b===_0x5a94f7)break;_0x5a94f7=_0x5c764b;}const _0x328520=getLspPackageDir(_0x18fc1c(0x3,-0x8a,-0x166,-_0x2dd592._0x14e059)),_0x2d25b3=await resolvePackageBinary({'packageName':'typescript','binaryName':_0x49105d(0x14d,_0x2dd592._0x4234d1,_0x2dd592._0x3787c1,0x3b6),'startDir':_0x11ada7});if(!_0x2d25b3)return void 0x0;const _0x3d0cdf=_0x55d1ae[_0x18fc1c(0xb9,0x16a,-_0x2dd592._0x277d72,-_0x2dd592._0x569c2f)](_0x328520,_0x49105d(_0x2dd592._0x432a37,_0x2dd592._0x36a514,0x34c,0x408),_0x49105d(_0x2dd592._0x1fc01f,_0x2dd592._0x588342,_0x2dd592._0xbde1c9,_0x2dd592._0x369abb),_0x18fc1c(0x309,0x2c9,_0x2dd592._0x1a8964,_0x2dd592._0x487446),_0x49105d(_0x2dd592._0xd6ed1f,_0x2dd592._0x5b1408,_0x2dd592._0x571567,0x495));return await exists2(_0x3d0cdf)?_0x3d0cdf:void 0x0;}var TypeScriptServer={'id':'typescript','name':_0x28bc81(0x330,0xda,0x1e5,0x31d),'extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x86d60a){const _0x5737f9=await findUp(_0x86d60a,TYPESCRIPT_ROOT_MARKERS);if(!_0x5737f9)return void 0x0;return await hasDenoRoot(_0x5737f9)?void 0x0:_0x5737f9;},async 'spawn'(_0x41ff12){const _0x2f7335={_0x29f5f6:0x44a,_0x12395f:0x64d,_0x342368:0x2dc,_0x58f84e:0x402,_0x4af054:0x88d,_0x1159ec:0x786,_0x5f4137:0x48a,_0x4026d5:0x5f3},_0x58b3f4={_0x68c0c6:0x119,_0x2ce029:0x2e},_0x21b07b={_0x13a424:0x163,_0x33f3fe:0xe3},_0x24a538=await resolveTsserverPath(_0x41ff12);function _0x6bd535(_0x2c35f4,_0x31bc53,_0x3a4591,_0x368ed6){return _0x5b2413(_0x2c35f4-_0x21b07b._0x13a424,_0x31bc53-0x11,_0x31bc53- -_0x21b07b._0x33f3fe,_0x368ed6);}function _0x18bdea(_0x9f9fa3,_0x593e4c,_0x1273d5,_0x31daf1){return _0x5b2413(_0x9f9fa3-_0x58b3f4._0x68c0c6,_0x593e4c-_0x58b3f4._0x2ce029,_0x593e4c- -0x21f,_0x31daf1);}if(!_0x24a538)return void 0x0;const _0x5b51e8=await resolvePackageBinary({'packageName':_0x18bdea(0x596,0x477,_0x2f7335._0x29f5f6,0x3d0),'binaryName':_0x18bdea(_0x2f7335._0x12395f,0x477,_0x2f7335._0x342368,_0x2f7335._0x58f84e),'startDir':_0x41ff12});if(!_0x5b51e8)return void 0x0;return{'process':_0x5b5699(_0x5b51e8,[_0x6bd535(0x758,0x69c,_0x2f7335._0x4af054,_0x2f7335._0x1159ec)],{'cwd':_0x41ff12,'stdio':_0x6bd535(0x433,_0x2f7335._0x5f4137,0x538,_0x2f7335._0x4026d5)}),'initialization':{'tsserver':{'path':_0x24a538}}};}},BiomeServer={'id':_0x28bc81(0x6cd,0x58c,0x4f6,0x5e6),'name':'Biome\x20Language\x20Server','extensions':BIOME_EXTENSIONS,async 'root'(_0x3bbfa1){return findUp(_0x3bbfa1,BIOME_ROOT_MARKERS);},async 'spawn'(_0x38b42a){const _0x272cc2={_0x3e7a8b:0xa6,_0x4060a7:0xc1,_0x4d18b9:0x2d2,_0x18091b:0x1d3,_0x44533e:0x24b,_0x1902a8:0x16b,_0x74f120:0x55,_0x323237:0x32,_0x49b14c:0x30},_0x4bbec0={_0x14dcc6:0xa1,_0x11df9e:0x1e1,_0x369e45:0x24b};function _0x269f14(_0x4ae23d,_0x90e909,_0x4d0b10,_0x46e8c8){return _0x28bc81(_0x4ae23d-_0x4bbec0._0x14dcc6,_0x90e909-_0x4bbec0._0x11df9e,_0x4ae23d- -_0x4bbec0._0x369e45,_0x46e8c8);}const _0x821115=await findPackageBinary(_0x479644(0x502,0x337,0x4a7,0x133),_0x38b42a)??await resolvePackageBinary({'packageName':_0x479644(0x2ba,0x118,_0x272cc2._0x3e7a8b,_0x272cc2._0x4060a7),'binaryName':_0x269f14(0x2ab,_0x272cc2._0x4d18b9,0x95,_0x272cc2._0x18091b),'startDir':_0x38b42a});if(!_0x821115)return void 0x0;function _0x479644(_0x202ac6,_0x378045,_0x2b74f8,_0x285436){return _0x28bc81(_0x202ac6-0xa0,_0x378045-0x8,_0x378045- -0x1bf,_0x2b74f8);}return{'process':_0x5b5699(_0x821115,[_0x269f14(_0x272cc2._0x44533e,0x1e8,_0x272cc2._0x1902a8,_0x272cc2._0x74f120),'--stdio'],{'cwd':_0x38b42a,'stdio':_0x479644(-_0x272cc2._0x323237,0xf,-_0x272cc2._0x49b14c,0x11d)})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x343b6d){const _0x357c14={_0x29dd06:0x3f0,_0x193a06:0x607,_0x33f98c:0x716,_0x335c2f:0x886,_0x171afd:0x70b},_0x20c523={_0x83c246:0x2b4},_0x51646c={_0x1c81a7:0x10e};function _0x1759b3(_0x4b59fa,_0x16eae3,_0x3edf5c,_0x212421){return _0x5b2413(_0x4b59fa-0xa2,_0x16eae3-0x104,_0x4b59fa- -_0x51646c._0x1c81a7,_0x16eae3);}function _0x2bb618(_0x4381fd,_0x4498a4,_0x2c3325,_0x34fff1){return _0x5b2413(_0x4381fd-0x89,_0x4498a4-0x3e,_0x2c3325- -_0x20c523._0x83c246,_0x34fff1);}const _0x366849=_0x55d1ae[_0x2bb618(_0x357c14._0x29dd06,0x39e,0x37c,0x25e)](_0x343b6d)[_0x1759b3(_0x357c14._0x193a06,0x5bc,0x449,0x487)]();return BUILTIN_LSP_SERVERS[_0x1759b3(_0x357c14._0x33f98c,_0x357c14._0x335c2f,0x8e3,_0x357c14._0x171afd)](_0x9550c7=>_0x9550c7[_0x1759b3(0x693,0x8ad,0x729,0x4b4)][_0x2bb618(0x578,0x4cf,0x4ac,0x6aa)](_0x366849));}function stateKey(_0x10072e,_0x3ac287){return _0x3ac287+':'+_0x10072e['id'];}function diagnosticsKeyToPath(_0x32299e){const _0x15d5fc={_0x12e571:0x7d,_0x2c03fe:0xb3},_0x8ba235={_0x225c86:0x15e};if(!_0x32299e[_0x59daf2(_0x15d5fc._0x12e571,0x11f,0x271,-_0x15d5fc._0x2c03fe)]('file://'))return _0x32299e;function _0x59daf2(_0x24d435,_0x41953a,_0x451c2f,_0x53c420){return _0x28bc81(_0x24d435-_0x8ba235._0x225c86,_0x41953a-0xfa,_0x24d435- -0x261,_0x41953a);}return fileURLToPath(_0x32299e);}function nextFileVersion(_0x1f49b6,_0x11b54f){const _0x1abc5d={_0x22cc3a:0x7cc,_0x4cf7f7:0x512,_0x243249:0x64b,_0x287f93:0x61c,_0x2400c2:0x385,_0x1a8cbc:0x23,_0x21c55a:0x1d9,_0x54d94c:0x218,_0x7d970f:0x124},_0x26ceba={_0xe64a18:0x49,_0x4356ea:0x27},_0x8cf2b6={_0x1ae815:0x2e,_0x3a1e1a:0x143};function _0x374572(_0x2e8f9f,_0x146528,_0x5dc5ed,_0x3b4c6b){return _0x28bc81(_0x2e8f9f-0x171,_0x146528-_0x8cf2b6._0x1ae815,_0x5dc5ed-_0x8cf2b6._0x3a1e1a,_0x3b4c6b);}const _0x31b594=(_0x1f49b6[_0x374572(_0x1abc5d._0x22cc3a,_0x1abc5d._0x4cf7f7,_0x1abc5d._0x243249,_0x1abc5d._0x287f93)][_0x3c2ab1(_0x1abc5d._0x2400c2,_0x1abc5d._0x1a8cbc,_0x1abc5d._0x21c55a,_0x1abc5d._0x54d94c)](_0x11b54f)??0x1)+0x1;_0x1f49b6[_0x3c2ab1(-0xb4,0x26b,0x150,_0x1abc5d._0x7d970f)]['set'](_0x11b54f,_0x31b594);function _0x3c2ab1(_0x1bbaee,_0x421511,_0x4a7e20,_0x42d5b1){return _0x28bc81(_0x1bbaee-_0x26ceba._0xe64a18,_0x421511-_0x26ceba._0x4356ea,_0x4a7e20- -0x3b8,_0x1bbaee);}return _0x31b594;}async function collectClientResults(_0xfbdbfd){const _0x39d31f={_0x306bd8:0x51c,_0x1f19ff:0x612,_0x4bf4e2:0x2c6},_0x41e75b={_0x3b9cea:0xa1},_0x174521={_0x13bf5f:0xe6,_0x4eb246:0xe3};function _0x3f98f7(_0x50810d,_0x5d95c4,_0x383d7c,_0x11a060){return _0x28bc81(_0x50810d-_0x174521._0x13bf5f,_0x5d95c4-_0x174521._0x4eb246,_0x11a060-0x31d,_0x50810d);}function _0x3a65fb(_0x503d7c,_0xabf323,_0x2d436a,_0x870bf6){return _0x5b2413(_0x503d7c-_0x41e75b._0x3b9cea,_0xabf323-0x1a3,_0x2d436a- -0x43f,_0xabf323);}const _0x44f3dc=await Promise[_0x3a65fb(_0x39d31f._0x306bd8,_0x39d31f._0x1f19ff,0x480,_0x39d31f._0x4bf4e2)](_0xfbdbfd);return _0x44f3dc['flatMap'](_0x23276e=>_0x23276e[_0x3f98f7(0x6d9,0x5b7,0x300,0x51b)]===_0x3f98f7(0x819,0x874,0x822,0x70a)?_0x23276e[_0x3f98f7(0x77b,0x6e3,0x709,0x8d1)]:[]);}function createLspService(_0x2a4363={}){const _0x5b3815={_0x50aa78:0x5a,_0x3e4f2f:0xb8},_0x25547d={_0x43be00:0x14,_0x21d751:0x163},_0x326cc0={_0x4f6ca3:0x1c9,_0x389e00:0x261,_0x3e3e3c:0x310,_0x5f3a81:0x33a,_0x1bc3fd:0x11d,_0x589de1:0x6a7,_0x4bc89b:0x5de,_0x5ab270:0x26e,_0x50ef18:0x562,_0x10eeaa:0x1b0,_0x45e2ed:0x2eb,_0x145dc0:0x2c2,_0x43ad70:0x623,_0x5ad075:0x75c,_0x27b95d:0x674,_0x3bc6bc:0x59c,_0x16bc4b:0x6e0,_0xa21cbd:0xd6,_0x478864:0x262,_0x104338:0x1c9,_0x3f941e:0x21c,_0x12815f:0x26c},_0x5dfda4={_0x451270:0xd2},_0x3e4a10={_0x8090c1:0x735},_0x584f36={_0x3b6549:0x11f},_0x41223e={_0x41598b:0x1c0,_0x13d22c:0x161},_0x1c3b7b={_0x21f5fa:0x8e3,_0x9c7431:0x8c7,_0x42544a:0x7a0},_0x38ba60={_0x326d7d:0xd9},_0x4165f2={_0x7e3d21:0x47a,_0x1d31b5:0x4c0},_0x3f2a3a={_0xbd0861:0x1dc},_0x4ce5be={_0x259b09:0x9c3,_0x2a8ced:0x875},_0x3a38cd={_0x4e65e6:0xff},_0x2ce957={_0x31cdd4:0x1e7,_0x43917f:0x59},_0x124620={_0x5f3cc3:0x7db,_0x1f6b86:0x5dd,_0x30304d:0x88c,_0x39321d:0x921,_0xa018f:0x9a1,_0x9bff30:0x576,_0x22068a:0x7b4},_0x52103b={_0x19aacb:0x198},_0xd09dfc={_0x497c1a:0x1a4,_0x2d4757:0x28b,_0x12c50e:0x5b},_0x5f9ec7={_0x74576b:0x7c4,_0x52b017:0x602},_0x2af7ea={_0x471c6b:0x7a,_0x2fb546:0x303,_0x180013:0xe9},_0x478583={_0x25a5ed:0x121,_0x27c30a:0x379},_0x1e8a6c={_0xc073eb:0x448,_0x4ea244:0x75d,_0x3fa3f1:0x613},_0xe9d587={_0x41f63f:0x12b,_0x388836:0x2ab,_0x3dbac5:0x5a},_0x46d2a9={_0x341b6:0x372,_0x35228d:0x579,_0x5d06e5:0x727},_0x5aed07={_0x3b8f4b:0x37},_0xa70b29={_0x40a059:0x4a1,_0x58cf64:0x472,_0x2bf83e:0x389,_0x1fc2c2:0x36f,_0x4fa8ef:0x4ca},_0x2c5b7c={_0x20ef9c:0x6f,_0x176a11:0x122},_0x89426c={_0x470c71:0x141,_0x1d529b:0x4ff},_0x468df7={_0x337c38:0xc6},_0x501a79={_0x345fc6:0x1ba},_0x50773f={_0x5a987c:0x263,_0x2c70bf:0x1e6},_0x323c02={_0x5d3c4b:0x31c,_0x37be0c:0x370,_0x9c8add:0x6dc,_0x3c2635:0x6db,_0x2e1ff9:0x499},_0x4d4b2a={_0x564749:0x1f9},_0x2ae801={_0x2b5e03:0xe5,_0x37e561:0xbc,_0x4bbb7e:0x86,_0x12d78e:0x3fb,_0x35b92d:0x226,_0x3d50c9:0x24,_0x30acf3:0x5af,_0x406152:0x280},_0x55fd57={_0x7de01a:0x643,_0x36abcc:0x7b6,_0x495129:0x841,_0x29dd12:0x75a,_0x52c32d:0x695,_0x11b45f:0x6a9,_0x24c871:0x673},_0x24c874={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x5d72ad=()=>_0x2a4363[_0x530340(0x541,0x435,0x321,0x293)]!==![];async function _0x227218(_0x5c3e91,_0x10531e){const _0xc8eba2={_0x8e24b0:0x397,_0x2a0f57:0x466,_0x217d68:0x2c7,_0x33a559:0x643,_0x53382c:0x516,_0x14f5cd:0x433,_0x21d134:0x592,_0x1ad3b0:0x33b,_0x4bf84a:0x55b,_0x445b78:0x9f,_0x205e57:0x643,_0x481d8a:0x605,_0xbd9a4a:0x6c7,_0x4f31d2:0x40a,_0x5bdd2b:0x48f,_0x2a2a2f:0x286,_0x1212c5:0x440,_0x28e212:0x442,_0x35c7e2:0x86b,_0x12cca5:0x726},_0x35789c={_0x64a501:0x318,_0x4ad31c:0xbd},_0x418443={_0x29b5af:0x176,_0x200781:0x8a},_0x317123={_0x435a03:0x17,_0x4b3c18:0x572},_0x40c976=stateKey(_0x5c3e91,_0x10531e);function _0x4cb7fd(_0x426485,_0x43908b,_0x2805fd,_0x1a269b){return _0x530340(_0x426485-_0x317123._0x435a03,_0x1a269b,_0x426485-_0x317123._0x4b3c18,_0x1a269b-0x157);}const _0x35756f=_0x24c874['clients']['find'](_0x3fff22=>_0x3fff22['serverId']===_0x5c3e91['id']&&_0x3fff22[_0x150fb7(0x182,0x34c,0x4bf,0x355)]===_0x10531e);if(_0x35756f)return _0x35756f;function _0x150fb7(_0x11b857,_0x13af7d,_0x4ba2ec,_0x502d3f){return _0x530340(_0x11b857-_0x418443._0x29b5af,_0x11b857,_0x13af7d-0x319,_0x502d3f-_0x418443._0x200781);}if(_0x24c874[_0x150fb7(0x7c2,_0x55fd57._0x7de01a,_0x55fd57._0x36abcc,_0x55fd57._0x495129)]['has'](_0x40c976))return void 0x0;const _0x24087e=_0x24c874[_0x4cb7fd(_0x55fd57._0x29dd12,0x6fa,_0x55fd57._0x52c32d,_0x55fd57._0x11b45f)]['get'](_0x40c976);if(_0x24087e)return _0x24087e;const _0x1d767d=((async()=>{const _0x5856bb={_0x5ccd6f:0x12f,_0x794d4:0xcf,_0x2bf526:0xa7};function _0x33d1ce(_0x10846a,_0x30b21e,_0x51fb81,_0x1d6153){return _0x4cb7fd(_0x1d6153- -_0x35789c._0x64a501,_0x30b21e-0x50,_0x51fb81-_0x35789c._0x4ad31c,_0x30b21e);}function _0x438fcb(_0x1bde8f,_0x465e67,_0x1ad379,_0x138fa7){return _0x150fb7(_0x1ad379,_0x1bde8f-_0x5856bb._0x5ccd6f,_0x1ad379-_0x5856bb._0x794d4,_0x138fa7-_0x5856bb._0x2bf526);}try{const _0x2710a9=await _0x5c3e91[_0x33d1ce(_0xc8eba2._0x8e24b0,_0xc8eba2._0x2a0f57,0x13b,_0xc8eba2._0x217d68)](_0x10531e);if(!_0x2710a9)return _0x24c874[_0x33d1ce(0x5de,_0xc8eba2._0x33a559,0x65e,0x584)]['add'](_0x40c976),void 0x0;const _0x1475a1=await createLspClient({'server':_0x5c3e91,'root':_0x10531e,'handle':_0x2710a9}),_0x204b46=_0x24c874[_0x438fcb(_0xc8eba2._0x53382c,_0xc8eba2._0x14f5cd,0x702,0x3ad)][_0x33d1ce(_0xc8eba2._0x21d134,_0xc8eba2._0x1ad3b0,0x4db,_0xc8eba2._0x4bf84a)](_0x5da9b1=>_0x5da9b1['serverId']===_0x5c3e91['id']&&_0x5da9b1[_0x33d1ce(0x39e,0x6d,0xc5,0x28d)]===_0x10531e);if(_0x204b46)return await _0x1475a1[_0x33d1ce(0x339,0x2c0,_0xc8eba2._0x445b78,0x277)](),_0x204b46;return _0x24c874[_0x438fcb(0x516,0x4e4,_0xc8eba2._0x205e57,0x317)][_0x438fcb(_0xc8eba2._0x481d8a,_0xc8eba2._0xbd9a4a,_0xc8eba2._0x4f31d2,0x636)](_0x1475a1),_0x1475a1;}catch{return _0x24c874['broken'][_0x438fcb(0x4ba,0x5c8,0x3b1,0x5ba)](_0x40c976),void 0x0;}finally{_0x24c874[_0x33d1ce(_0xc8eba2._0x5bdd2b,_0xc8eba2._0x2a2a2f,_0xc8eba2._0x1212c5,_0xc8eba2._0x28e212)][_0x438fcb(0x755,_0xc8eba2._0x35c7e2,_0xc8eba2._0x12cca5,0x947)](_0x40c976);}})());return _0x24c874['spawning'][_0x4cb7fd(0x7b0,_0x55fd57._0x24c871,0x80f,0x81a)](_0x40c976,_0x1d767d),_0x1d767d;}async function _0x2b54ce(_0xc1120b,_0x4e006a){const _0x4fe391={_0xc5ed62:0x89},_0xfa95ad={_0x979c80:0x2e9,_0x4f417f:0x128};if(!_0x5d72ad())return[];const _0x5ee671=[];function _0x57cfba(_0x2e778a,_0x5f3dab,_0x4591b9,_0x431124){return _0x530340(_0x2e778a-0x75,_0x431124,_0x2e778a-_0xfa95ad._0x979c80,_0x431124-_0xfa95ad._0x4f417f);}for(const _0x163f8c of getServersForFile(_0xc1120b)){const _0x104d27=await _0x163f8c[_0x3f3b39(0x76,_0x2ae801._0x2b5e03,_0x2ae801._0x37e561,_0x2ae801._0x4bbb7e)](_0xc1120b);if(!_0x104d27)continue;const _0x515192=stateKey(_0x163f8c,_0x104d27);if(_0x24c874[_0x3f3b39(0x1d2,_0x2ae801._0x12d78e,0x3b3,_0x2ae801._0x35b92d)][_0x57cfba(0x3fb,0x5ac,0x51f,0x3a4)](_0x515192))continue;const _0x506bee=_0x24c874[_0x3f3b39(0x12d,_0x2ae801._0x3d50c9,0x157,-0x71)][_0x57cfba(0x5ea,0x774,0x462,_0x2ae801._0x30acf3)](_0x1fdc33=>_0x1fdc33[_0x3f3b39(0x43c,0x5f3,0x48d,0x653)]===_0x163f8c['id']&&_0x1fdc33[_0x57cfba(0x31c,0x346,0x519,0x358)]===_0x104d27);if(_0x506bee){_0x5ee671['push'](_0x506bee);continue;}if(!_0x4e006a)continue;const _0x1d9a62=await _0x227218(_0x163f8c,_0x104d27);if(_0x1d9a62)_0x5ee671[_0x3f3b39(_0x2ae801._0x406152,0x3a0,0x246,0x181)](_0x1d9a62);}function _0x3f3b39(_0x541012,_0x12a909,_0x55d649,_0x97f383){return _0x530340(_0x541012-0x184,_0x12a909,_0x55d649-_0x4fe391._0xc5ed62,_0x97f383-0x1aa);}return _0x5ee671;}function _0x530340(_0xfbffef,_0x576cab,_0xf23876,_0x52140a){return _0x28bc81(_0xfbffef-0x157,_0x576cab-0x1ce,_0xf23876- -_0x4d4b2a._0x564749,_0x576cab);}async function _0x22e64b(_0x30dbdf,_0x314a37=![]){const _0x13e7cf={_0x3a762d:0x447,_0x2d90c0:0x47f,_0x541d00:0x34c,_0x3e1910:0x7e7,_0x2778f8:0x795,_0x1394de:0x63e,_0x20ac50:0x41f,_0x2305d6:0x26d,_0x3d3ca9:0x2c0,_0x156a85:0x33a,_0xea9dd3:0xb41,_0x406557:0xa51,_0x1b6190:0x12b,_0x1f49e8:0x28f,_0x2e332b:0x252,_0x2923f7:0x46e,_0x105e9c:0xf6,_0x178b1f:0x2ac,_0x2e40b5:0x429,_0xe4f41f:0x1f9,_0x2d56d7:0xa16,_0x33e454:0x424},_0xea0d81={_0x5bdc41:0x5,_0x51f89d:0x78},_0x4441f8={_0x1f999e:0xbf},_0x469a1b={_0x2867fa:0x119,_0x3de7fa:0x1bc},_0x4cd6d7=await _0x2b54ce(_0x30dbdf,!![]);function _0x1f4585(_0x531833,_0x5289a5,_0x427a40,_0x565992){return _0x530340(_0x531833-0x18a,_0x5289a5,_0x565992-_0x469a1b._0x2867fa,_0x565992-_0x469a1b._0x3de7fa);}function _0x56edaf(_0x2e247e,_0x1eca84,_0x4b5775,_0x4cd708){return _0x530340(_0x2e247e-0x62,_0x4b5775,_0x1eca84- -0x13c,_0x4cd708-_0x4441f8._0x1f999e);}await Promise[_0x1f4585(0x217,0x1e9,_0x323c02._0x5d3c4b,_0x323c02._0x37be0c)](_0x4cd6d7[_0x1f4585(_0x323c02._0x9c8add,_0x323c02._0x3c2635,_0x323c02._0x2e1ff9,0x4f1)](async _0x4b04e3=>{const _0x6acc4c={_0x4a8ef7:0xd7,_0x45f4a3:0x121};function _0x55081a(_0x105ccc,_0x453dc8,_0x3bab87,_0x112b54){return _0x56edaf(_0x105ccc-_0xea0d81._0x5bdc41,_0x453dc8-0x72e,_0x105ccc,_0x112b54-_0xea0d81._0x51f89d);}function _0x26fc44(_0x19caca,_0x48fdaf,_0x52f7d2,_0x1f3f0e){return _0x1f4585(_0x19caca-_0x6acc4c._0x4a8ef7,_0x48fdaf,_0x52f7d2-0xab,_0x1f3f0e-_0x6acc4c._0x45f4a3);}!_0x24c874[_0x26fc44(0x447,0x496,_0x13e7cf._0x3a762d,0x2de)][_0x26fc44(0x39d,_0x13e7cf._0x2d90c0,0x2b4,_0x13e7cf._0x541d00)](_0x4b04e3[_0x26fc44(_0x13e7cf._0x3e1910,_0x13e7cf._0x2778f8,0x85a,_0x13e7cf._0x1394de)]+':'+_0x4b04e3[_0x26fc44(0x40a,0x170,_0x13e7cf._0x20ac50,_0x13e7cf._0x2305d6)]+':'+_0x30dbdf)&&(await _0x4b04e3[_0x26fc44(0x53f,_0x13e7cf._0x3d3ca9,0x402,_0x13e7cf._0x156a85)][_0x55081a(_0x13e7cf._0xea9dd3,0x998,0x9d4,_0x13e7cf._0x406557)]({'path':_0x30dbdf}),_0x24c874[_0x26fc44(_0x13e7cf._0x1b6190,_0x13e7cf._0x1f49e8,_0x13e7cf._0x2e332b,0x2de)][_0x26fc44(0x141,_0x13e7cf._0x2923f7,_0x13e7cf._0x105e9c,_0x13e7cf._0x178b1f)](_0x4b04e3['serverId']+':'+_0x4b04e3[_0x55081a(0x52a,0x625,_0x13e7cf._0x2e40b5,0x775)]+':'+_0x30dbdf));await _0x4b04e3[_0x26fc44(0x4bf,0x448,_0x13e7cf._0xe4f41f,_0x13e7cf._0x156a85)][_0x55081a(_0x13e7cf._0x2d56d7,0x970,0xb65,0x8e2)]({'path':_0x30dbdf,'version':nextFileVersion(_0x24c874,_0x30dbdf)});if(_0x314a37)await _0x4b04e3[_0x26fc44(_0x13e7cf._0x33e454,_0x13e7cf._0x20ac50,0x3ab,0x2eb)]({'path':_0x30dbdf});}));}async function _0x322251(_0x1517b7){function _0x2a2a44(_0x53d662,_0x3d17b1,_0x4711f1,_0xb286be){return _0x530340(_0x53d662-0x96,_0x3d17b1,_0x4711f1-0xdd,_0xb286be-0x70);}return await _0x22e64b(_0x1517b7['file'],![]),_0x2b54ce(_0x1517b7[_0x2a2a44(_0x50773f._0x5a987c,0x23d,0x36a,_0x50773f._0x2c70bf)],![]);}async function _0x36af8a(_0x482456){function _0x481988(_0x5d739e,_0x3aacdd,_0x4c78c4,_0x1a6517){return _0x530340(_0x5d739e-_0x501a79._0x345fc6,_0x1a6517,_0x4c78c4-0x294,_0x1a6517-0x1bf);}function _0x843ae1(_0x2c555b,_0x44d84f,_0x34fdfb,_0x17f07f){return _0x530340(_0x2c555b-_0x468df7._0x337c38,_0x34fdfb,_0x2c555b- -0x9e,_0x17f07f-0x1b5);}const _0xfcfcc0=await _0x322251(_0x482456);return collectClientResults(_0xfcfcc0[_0x843ae1(0x33a,_0x89426c._0x470c71,0x2d0,_0x89426c._0x1d529b)](_0x4d8626=>_0x4d8626[_0x843ae1(-0xaa,0x8,0x6f,-0x28a)][_0x843ae1(0xca,-0x14b,-0x79,-0xf8)](_0x482456)));}return{'isEnabled':_0x5d72ad,async 'hasClients'(_0x1af337){const _0x1888f9={_0xf52ac0:0x14,_0x2ad10c:0xf6};function _0x3b3540(_0x1c9eb8,_0x5edb8a,_0x5a1ed9,_0x11c2b8){return _0x530340(_0x1c9eb8-0x160,_0x11c2b8,_0x5edb8a-_0x1888f9._0xf52ac0,_0x11c2b8-_0x1888f9._0x2ad10c);}function _0x30aec7(_0x388270,_0x2672d6,_0x19883c,_0xbed6c){return _0x530340(_0x388270-_0x2c5b7c._0x20ef9c,_0xbed6c,_0x19883c-_0x2c5b7c._0x176a11,_0xbed6c-0x135);}return(await _0x2b54ce(_0x1af337,![]))[_0x30aec7(0x553,_0xa70b29._0x40a059,_0xa70b29._0x58cf64,_0xa70b29._0x2bf83e)]>0x0||getServersForFile(_0x1af337)[_0x30aec7(0x347,_0xa70b29._0x1fc2c2,_0xa70b29._0x58cf64,_0xa70b29._0x4fa8ef)]>0x0;},'touchFile':_0x22e64b,async 'diagnostics'(){const _0x5162ac={};for(const _0x2b8466 of _0x24c874[_0x5b3399(_0x46d2a9._0x341b6,0x44d,_0x46d2a9._0x35228d,_0x46d2a9._0x5d06e5)]){for(const [_0x2c8b78,_0x44f292]of _0x2b8466['diagnostics']){_0x5162ac[diagnosticsKeyToPath(_0x2c8b78)]=_0x44f292;}}function _0x5b3399(_0x262785,_0x48a660,_0x5e6765,_0xa93879){return _0x530340(_0x262785-0x62,_0xa93879,_0x5e6765-0x4ab,_0xa93879-_0x5aed07._0x3b8f4b);}return _0x5162ac;},async 'diagnosticsForFile'(_0x30b35a){await _0x22e64b(_0x30b35a,!![]);const _0x4ef58d=[];for(const _0x271d23 of await _0x2b54ce(_0x30b35a,![])){for(const [_0x193b48,_0xf907f2]of _0x271d23[_0x5b7223(_0x1e8a6c._0xc073eb,_0x1e8a6c._0x4ea244,_0x1e8a6c._0x3fa3f1,0x4dd)]){if(diagnosticsKeyToPath(_0x193b48)===_0x30b35a)_0x4ef58d['push'](..._0xf907f2);}}function _0x5b7223(_0x26a3f0,_0x1e701a,_0x1a846c,_0x5c6a53){return _0x530340(_0x26a3f0-_0xe9d587._0x41f63f,_0x5c6a53,_0x1a846c-_0xe9d587._0x388836,_0x5c6a53-_0xe9d587._0x3dbac5);}return _0x4ef58d;},async 'definition'(_0x4f7ca5){function _0x5e273f(_0x20cc01,_0x32ba7f,_0x5c529c,_0x25a167){return _0x530340(_0x20cc01-_0x478583._0x25a5ed,_0x5c529c,_0x25a167-_0x478583._0x27c30a,_0x25a167-0x1f1);}function _0x590f7f(_0x4a9f87,_0x16432b,_0x5ca323,_0x216e72){return _0x530340(_0x4a9f87-_0x2af7ea._0x471c6b,_0x4a9f87,_0x216e72-_0x2af7ea._0x2fb546,_0x216e72-_0x2af7ea._0x180013);}return collectClientResults((await _0x322251(_0x4f7ca5))[_0x590f7f(_0x5f9ec7._0x74576b,0x698,_0x5f9ec7._0x52b017,0x6db)](_0xd4fa7b=>_0xd4fa7b[_0x5e273f(0x3f5,0x437,0x52c,0x36d)]['definition'](_0x4f7ca5)));},async 'references'(_0x24b1fe){function _0x12d409(_0x49bbcb,_0x4b87f7,_0x96aae1,_0x228d04){return _0x530340(_0x49bbcb-0x76,_0x49bbcb,_0x96aae1-0x68,_0x228d04-0x50);}function _0x4013da(_0x4669d5,_0x3888f4,_0x4e9c20,_0x3511b3){return _0x530340(_0x4669d5-_0xd09dfc._0x497c1a,_0x4e9c20,_0x3888f4-_0xd09dfc._0x2d4757,_0x3511b3-_0xd09dfc._0x12c50e);}return collectClientResults((await _0x322251(_0x24b1fe))[_0x4013da(0x839,0x663,0x6da,0x82d)](_0x1dbf7c=>_0x1dbf7c['request'][_0x12d409(0x207,-0x17,0x93,0x13c)](_0x24b1fe)));},async 'hover'(_0x2b946a){const _0x551cb8=await Promise[_0x2d931b(_0x124620._0x5f3cc3,_0x124620._0x1f6b86,0x96e,0x5ca)]((await _0x322251(_0x2b946a))[_0x2d931b(_0x124620._0x30304d,_0x124620._0x39321d,_0x124620._0xa018f,0x7d7)](_0x155ef8=>_0x155ef8[_0x2d931b(0x4a8,0x3ec,0x5f1,0x56a)][_0x2d931b(0x508,0x3d3,0x344,0x58e)](_0x2b946a)));function _0x4a4be4(_0x590f4a,_0x47c8ea,_0x319efa,_0x27836e){return _0x530340(_0x590f4a-0xf9,_0x47c8ea,_0x319efa-0x5ee,_0x27836e-0x62);}function _0x2d931b(_0x28df2f,_0x2b02be,_0x26c350,_0x34dff8){return _0x530340(_0x28df2f-_0x52103b._0x19aacb,_0x26c350,_0x28df2f-0x4b4,_0x34dff8-0x3f);}return _0x551cb8[_0x4a4be4(_0x124620._0x9bff30,0x420,0x623,_0x124620._0x22068a)](_0x3194fa=>_0x3194fa['status']===_0x2d931b(0x6a8,0x8c0,0x6af,0x5d7)&&_0x3194fa[_0x2d931b(0x86f,0x676,0x89e,0x896)]?[_0x3194fa[_0x4a4be4(0x8bc,0x879,0x9a9,0x949)]]:[]);},async 'documentSymbol'(_0x151f19){await _0x22e64b(_0x151f19,![]);function _0x2de8d1(_0x4e9dbf,_0xf4a060,_0x1cae4d,_0x4fb9c7){return _0x530340(_0x4e9dbf-_0x2ce957._0x31cdd4,_0xf4a060,_0x4fb9c7-0x1f3,_0x4fb9c7-_0x2ce957._0x43917f);}function _0x3cd8c7(_0x2b85d3,_0x4da4a0,_0x27339c,_0x1d9d6a){return _0x530340(_0x2b85d3-0x130,_0x4da4a0,_0x1d9d6a-0x49d,_0x1d9d6a-_0x3a38cd._0x4e65e6);}return collectClientResults((await _0x2b54ce(_0x151f19,![]))[_0x3cd8c7(0xa7a,_0x4ce5be._0x259b09,0xa0f,_0x4ce5be._0x2a8ced)](_0x47ae4e=>_0x47ae4e['request'][_0x2de8d1(0x32a,0x1cb,0x4e1,0x2fe)](_0x151f19)));},async 'workspaceSymbol'(_0x304e5e){function _0x1a206d(_0x265511,_0x35f0f6,_0x1e9d65,_0x3ddb7c){return _0x530340(_0x265511-0xa2,_0x265511,_0x3ddb7c-0x2aa,_0x3ddb7c-0x1c4);}function _0x2c2baa(_0x34d218,_0x2ff2d0,_0xa7bf9c,_0x559215){return _0x530340(_0x34d218-_0x3f2a3a._0xbd0861,_0x34d218,_0xa7bf9c- -0x9a,_0x559215-0xea);}return collectClientResults(_0x24c874['clients'][_0x2c2baa(0x454,_0x4165f2._0x7e3d21,0x33e,_0x4165f2._0x1d31b5)](_0x4efae9=>_0x4efae9[_0x1a206d(0x326,0x3ff,0x20c,0x29e)][_0x1a206d(0x26f,0x550,0x551,0x40e)](_0x304e5e)));},async 'implementation'(_0x30c52d){const _0x53906a={_0x352342:0x7a,_0x1a8f92:0x143};function _0x5520dc(_0x2d0acd,_0x1ba503,_0x178fed,_0x3f7951){return _0x530340(_0x2d0acd-_0x53906a._0x352342,_0x178fed,_0x1ba503- -0x95,_0x3f7951-_0x53906a._0x1a8f92);}function _0x4d4219(_0x3a20c2,_0x334a6a,_0x1caf18,_0x5bbb69){return _0x530340(_0x3a20c2-0x10f,_0x1caf18,_0x334a6a-0x4ef,_0x5bbb69-_0x38ba60._0x326d7d);}return collectClientResults((await _0x322251(_0x30c52d))[_0x4d4219(_0x1c3b7b._0x21f5fa,_0x1c3b7b._0x9c7431,0x77f,_0x1c3b7b._0x42544a)](_0x213298=>_0x213298[_0x5520dc(-0x161,-0xa1,-0x134,-0xbe)]['implementation'](_0x30c52d)));},async 'prepareCallHierarchy'(_0x21272a){return _0x36af8a(_0x21272a);},async 'incomingCalls'(_0xded4d8){const _0x53763b={_0x54f73d:0xf,_0x5f0cb6:0x4fc},_0x330558=await _0x36af8a(_0xded4d8);function _0x5c49bd(_0x491d7a,_0x109b32,_0x386992,_0x17f739){return _0x530340(_0x491d7a-_0x53763b._0x54f73d,_0x386992,_0x491d7a-_0x53763b._0x5f0cb6,_0x17f739-0x9e);}function _0x418707(_0x9324f6,_0x1daac0,_0x8face2,_0x180288){return _0x530340(_0x9324f6-_0x41223e._0x41598b,_0x8face2,_0x9324f6-0x290,_0x180288-_0x41223e._0x13d22c);}const _0xd7e117=await _0x322251(_0xded4d8);return collectClientResults(_0xd7e117[_0x418707(0x2c5,_0x584f36._0x3b6549,0x10c,0x1af)](_0x50ef07=>_0x330558[_0x418707(0x668,0x80c,0x722,0x85c)](_0x286cc1=>_0x50ef07[_0x5c49bd(0x4f0,0x3f1,0x6ab,0x4a7)][_0x418707(0x60b,0x7c1,0x482,0x475)](_0x286cc1))));},async 'outgoingCalls'(_0x4a331e){const _0x10eb8c={_0x16159f:0x12},_0x533ad7={_0x486b9c:0x1f0,_0x51eb92:0x116},_0x26543d=await _0x36af8a(_0x4a331e),_0x346f0b=await _0x322251(_0x4a331e);function _0x290062(_0x2aefc3,_0xddda57,_0x17968e,_0x55d54a){return _0x530340(_0x2aefc3-_0x533ad7._0x486b9c,_0x17968e,_0x2aefc3-0x4dd,_0x55d54a-_0x533ad7._0x51eb92);}function _0x49499(_0x15328a,_0x4e9be9,_0x4c5a1c,_0x220e8b){return _0x530340(_0x15328a-_0x10eb8c._0x16159f,_0x15328a,_0x4e9be9-0x568,_0x220e8b-0x58);}return collectClientResults(_0x346f0b[_0x49499(_0x3e4a10._0x8090c1,0x59d,0x417,0x57a)](_0x180a4e=>_0x26543d[_0x49499(0xa0f,0x940,0x9a3,0x9f3)](_0x56df33=>_0x180a4e[_0x290062(0x4d1,0x43f,0x557,0x5a1)]['outgoingCalls'](_0x56df33))));},async 'shutdown'(){const _0x27d874={_0x37d4e2:0x95,_0x2178a8:0x17a};if(_0x24c874['shutdownStarted'])return;_0x24c874[_0x399590(0x167,0x166,_0x326cc0._0x4f6ca3,0x238)]=!![],await Promise[_0x399590(_0x326cc0._0x389e00,0x1ad,_0x326cc0._0x3e3e3c,_0x326cc0._0x5f3a81)](_0x24c874[_0x399590(-0x26e,-0xac,_0x326cc0._0x1bc3fd,0x14a)][_0x100d19(0x7f9,0x6b8,_0x326cc0._0x589de1,_0x326cc0._0x4bc89b)](_0x580c5b=>_0x580c5b['shutdown']())),_0x24c874['clients']=[],_0x24c874[_0x399590(0x1ac,0x6e,_0x326cc0._0x5ab270,0x4a)][_0x100d19(0x552,0x42b,_0x326cc0._0x50ef18,0x59c)](),_0x24c874[_0x399590(0x370,_0x326cc0._0x10eeaa,_0x326cc0._0x45e2ed,_0x326cc0._0x145dc0)][_0x100d19(_0x326cc0._0x43ad70,_0x326cc0._0x5ad075,_0x326cc0._0x27b95d,_0x326cc0._0x3bc6bc)]();function _0x100d19(_0x37073a,_0x173155,_0xbcdd54,_0x5d092e){return _0x530340(_0x37073a-0x94,_0xbcdd54,_0x5d092e-0x206,_0x5d092e-_0x5dfda4._0x451270);}function _0x399590(_0x900674,_0x359061,_0x53f797,_0xcfa08d){return _0x530340(_0x900674-_0x27d874._0x37d4e2,_0x900674,_0x359061- -_0x27d874._0x2178a8,_0xcfa08d-0x18c);}_0x24c874[_0x100d19(0x515,0x4e2,_0x326cc0._0x16bc4b,0x515)]['clear'](),_0x24c874[_0x399590(0x80,-_0x326cc0._0xa21cbd,0x13c,-_0x326cc0._0x478864)][_0x399590(_0x326cc0._0x104338,_0x326cc0._0x3f941e,_0x326cc0._0x12815f,0xf)]();},'status'(){function _0xad5e71(_0x3b489b,_0x54badb,_0x50db31,_0x1a5b77){return _0x530340(_0x3b489b-_0x25547d._0x43be00,_0x3b489b,_0x1a5b77- -0x1a9,_0x1a5b77-_0x25547d._0x21d751);}return{'connectedClients':_0x24c874['clients'][_0xad5e71(-_0x5b3815._0x50aa78,_0x5b3815._0x3e4f2f,0x20c,0x1a7)]};}};}function getCommand(_0x3f0158){const _0x3f7803={_0x17dd1d:0x37b,_0x4e1875:0x265,_0xd0cff4:0x166,_0x5396bf:0x17b,_0x27a08d:0x58d,_0x24d0d8:0x353,_0x31b8ea:0x52},_0x247508={_0xfa485c:0xcf,_0x33f8c2:0x468},_0x286a15={_0x4d12a3:0x1e4};function _0x5d9228(_0x5780ae,_0x552c6,_0x34407e,_0x2ac76b){return _0x28bc81(_0x5780ae-0x1da,_0x552c6-_0x286a15._0x4d12a3,_0x2ac76b- -0x107,_0x552c6);}function _0x5a4e98(_0x5eabe4,_0x4405aa,_0x251b14,_0x436909){return _0x5b2413(_0x5eabe4-_0x247508._0xfa485c,_0x4405aa-0x25,_0x4405aa- -_0x247508._0x33f8c2,_0x5eabe4);}if(_0x3f0158&&typeof _0x3f0158===_0x5a4e98(_0x3f7803._0x17dd1d,0x19c,_0x3f7803._0x4e1875,0x3a7)&&!Array[_0x5a4e98(_0x3f7803._0xd0cff4,_0x3f7803._0x5396bf,0x26a,0x96)](_0x3f0158)&&typeof _0x3f0158[_0x5a4e98(_0x3f7803._0x27a08d,0x4df,0x6c2,_0x3f7803._0x24d0d8)]==='string')return _0x3f0158['command'];return _0x5a4e98(0xc,0x120,0x1fe,-_0x3f7803._0x31b8ea);}var MOCK_WORKSPACE_LISTING=[_0x5b2413(0x662,0x961,0x765,0x829),'docs/plans/2026-04-16-mock-agent-loop-implementation.md',_0x28bc81(0x581,0x2dd,0x47e,0x5dd),'package.json',_0x28bc81(0x789,0x4b1,0x583,0x708),_0x5b2413(0x8a4,0x770,0x885,0x89f),_0x5b2413(0x5fe,0x721,0x7d3,0x7d5),_0x28bc81(0x4bf,0x2ef,0x3e4,0x20e),_0x5b2413(0x5ab,0x585,0x6fb,0x89d),'src/tools/core/mock-tool-runtime.ts',_0x28bc81(0x7a4,0x6dd,0x5b3,0x423),_0x5b2413(0x4c4,0x6da,0x63b,0x6d7),_0x5b2413(0x6dd,0x6d0,0x68d,0x7f6),_0x5b2413(0xb1a,0xa1c,0x989,0x91f),_0x5b2413(0x98d,0x995,0x977,0xb70),_0x28bc81(0x16,0x29d,0x211,0x6d),_0x5b2413(0x59e,0x5ec,0x5a8,0x38d)][_0x28bc81(0x5ed,0x33d,0x45d,0x4b0)]('\x0a'),SHELL_EXEC_TOOL={'name':_0x5b2413(0x625,0x602,0x7ee,0x981),'description':_0x28bc81(0x7fa,0x4a4,0x610,0x5cd),'input_schema':{'type':_0x28bc81(0x198,0x477,0x265,0xe9),'properties':{'command':{'type':_0x5b2413(0x825,0x746,0x635,0x693)}},'required':[_0x28bc81(0x3ba,0x79b,0x5a8,0x745)]}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x33f0b6){return{'output':_0x33f0b6,'structured':{'value':_0x33f0b6}};}function createUnknownToolResult(_0x143d1d){const _0x31bfdc={_0x5903f1:0x3d6,_0x55c383:0x693,_0x43b78d:0x45,_0xdc03e6:0x17b,_0x3d8108:0x64,_0xa9e7a6:0x7fb,_0x2c49a6:0x62b,_0x464905:0x572,_0x322b86:0x269},_0x4e60a8={_0x3a9970:0x15d,_0x41a30a:0x92,_0x188602:0x393},_0x47a4e3={_0x1cdf8e:0x154,_0x3c9a4e:0x136};function _0x872e7f(_0x3c0700,_0x2713f6,_0x575d39,_0x3fbc19){return _0x28bc81(_0x3c0700-0x67,_0x2713f6-_0x47a4e3._0x1cdf8e,_0x2713f6-_0x47a4e3._0x3c9a4e,_0x575d39);}function _0x9cf416(_0x21448f,_0x398d85,_0x1f8372,_0x49ae06){return _0x28bc81(_0x21448f-_0x4e60a8._0x3a9970,_0x398d85-_0x4e60a8._0x41a30a,_0x21448f- -_0x4e60a8._0x188602,_0x49ae06);}return{'callId':_0x143d1d['id'],'toolName':_0x143d1d[_0x872e7f(_0x31bfdc._0x5903f1,0x5ac,_0x31bfdc._0x55c383,0x41e)],'status':_0x9cf416(_0x31bfdc._0x43b78d,-0x1a8,-_0x31bfdc._0xdc03e6,_0x31bfdc._0x3d8108),'output':_0x872e7f(_0x31bfdc._0xa9e7a6,0x6e7,_0x31bfdc._0x2c49a6,_0x31bfdc._0x464905)+_0x143d1d[_0x9cf416(0xe3,_0x31bfdc._0x322b86,0x147,0xcc)],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x3d2c8d,_0x46608e){const _0x2c8fe9={_0x1c600d:0x64c,_0x41a232:0x666},_0xb7a606={_0x4923a2:0x120,_0x2e28c7:0x141};function _0x153eec(_0x4c68e4,_0x59f64f,_0x2a0902,_0x22609b){return _0x28bc81(_0x4c68e4-_0xb7a606._0x4923a2,_0x59f64f-_0xb7a606._0x2e28c7,_0x2a0902-0x1d6,_0x59f64f);}return{'callId':_0x3d2c8d['id'],'toolName':_0x3d2c8d[_0x153eec(0x596,0x516,_0x2c8fe9._0x1c600d,_0x2c8fe9._0x41a232)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x3d2c8d['input']),'exitCode':0x0},'chunks':[_0x46608e],'meta':createMeta()};}function createMockToolRuntime(){const _0x428391={_0x116f09:0x80a,_0xe112be:0x830},_0x1aab51={_0x2a686b:0x26e},_0x56b890=async(_0x3d4a48,_0x7eb565)=>{function _0xfce8ab(_0x20a41f,_0x500fd8,_0x500a65,_0x46fbae){return _0x8662(_0x500a65- -0x2a,_0x20a41f);}if(_0x3d4a48[_0xfce8ab(0x2d5,_0x1aab51._0x2a686b,0x474,0x25c)]!=='Bash')return createUnknownToolResult(_0x3d4a48);const _0x377c49=createOutputChunk(MOCK_WORKSPACE_LISTING);return createSuccessToolResult(_0x3d4a48,_0x377c49);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x3e04be,_0x2f5887){const _0x18ce08={_0x211d2e:0x237},_0x3c263f={_0x4f31d5:0x1e1};function _0x47e8f9(_0x27f513,_0x1d3a60,_0x334107,_0x414a0f){return _0x8662(_0x414a0f- -_0x3c263f._0x4f31d5,_0x334107);}function _0x39e1b9(_0x2178d0,_0x55ba2a,_0xa9c977,_0x5c3d41){return _0x8662(_0x5c3d41-_0x18ce08._0x211d2e,_0x2178d0);}return await Promise[_0x47e8f9(0x19b,0x2bf,0x86,0x297)](_0x3e04be[_0x39e1b9(0x72f,_0x428391._0x116f09,0x649,_0x428391._0xe112be)](async _0x3816b5=>{return await _0x56b890(_0x3816b5,_0x2f5887);}));},async 'execute'(_0x537b20,_0x322a37){return await _0x56b890(_0x537b20,_0x322a37);}};}import{randomUUID}from'crypto';var MODEL_TIERS=[_0x5b2413(0x757,0x50e,0x661,0x59e),_0x5b2413(0x6c1,0x892,0x673,0x716),_0x28bc81(0x1ac,0x3ca,0x2eb,0x33d)],DelegatedResolutionError=class extends Error{[_0x5b2413(0x721,0x740,0x6b8,0x879)];[_0x5b2413(0x789,0x9f2,0x8be,0x9e2)];['selector'];constructor(_0x26d1e5,_0x171d30,_0x12aabe){const _0x3bae59={_0x4c6e39:0x27b,_0x151b0c:0x82a,_0x443f36:0x70d,_0x279022:0x36d,_0x188bc7:0x1fe,_0x3b4aa2:0x370,_0xbe9122:0x573,_0x2a959b:0x6ae,_0x19a96a:0x5c4,_0x5e4a14:0x374,_0x30d970:0x573,_0x4c19ad:0x399,_0x21c921:0x8f1,_0x2670c8:0x8ff,_0x3b5a74:0x60b,_0x1078ed:0x5c6},_0x280991={_0x42f263:0x1ef},_0x1cc232={_0x35cbf0:0x168};function _0x5a12ec(_0x12a0d2,_0x99478d,_0x2c9b53,_0x16af2e){return _0x5b2413(_0x12a0d2-_0x1cc232._0x35cbf0,_0x99478d-0x55,_0x12a0d2- -0x34b,_0x99478d);}super(_0x26d1e5,_0x12aabe),this['name']=_0x5a12ec(0x306,0x2da,_0x3bae59._0x4c6e39,0x3fa);function _0x565b64(_0x4dd4b8,_0x189ad3,_0xa7a6a0,_0x4f5f51){return _0x28bc81(_0x4dd4b8-_0x280991._0x42f263,_0x189ad3-0xc6,_0x4f5f51-0x3f4,_0x4dd4b8);}this[_0x565b64(0x895,0x7ed,_0x3bae59._0x151b0c,_0x3bae59._0x443f36)]=_0x171d30[_0x5a12ec(_0x3bae59._0x279022,_0x3bae59._0x188bc7,0x217,_0x3bae59._0x3b4aa2)],this[_0x5a12ec(_0x3bae59._0xbe9122,_0x3bae59._0x2a959b,_0x3bae59._0x19a96a,_0x3bae59._0x5e4a14)]=_0x171d30[_0x5a12ec(_0x3bae59._0x30d970,0x690,_0x3bae59._0x4c19ad,0x787)],this[_0x565b64(0x916,_0x3bae59._0x21c921,_0x3bae59._0x2670c8,0x6fc)]=_0x171d30[_0x565b64(0x746,_0x3bae59._0x3b5a74,_0x3bae59._0x1078ed,0x6fc)];}};function createDelegatedRunId(){return'delegated-run-'+randomUUID();}function rethrowDelegatedError(_0x2bd77b){throw _0x2bd77b;}async function resolveDelegatedAgentOptions(_0x1e207c,_0x117e76){const _0x32e9a5={_0x43d9fa:0xad,_0x3401d4:0x416},_0x3cf5ef={_0x246938:0x148,_0x4d5793:0x1f3},_0x2d037c={_0x96e3c2:0x1b5,_0x4c4edb:0x16c},_0x3f19af=typeof _0x1e207c==='function'?await _0x1e207c(_0x117e76):_0x1e207c;function _0x28118b(_0x53798d,_0x1be683,_0xe3102b,_0x234d21){return _0x28bc81(_0x53798d-_0x2d037c._0x96e3c2,_0x1be683-_0x2d037c._0x4c4edb,_0x1be683- -0x50,_0x53798d);}function _0x47df72(_0x1777fc,_0x40099c,_0x5e87de,_0x2e39f8){return _0x28bc81(_0x1777fc-_0x3cf5ef._0x246938,_0x40099c-0x1f,_0x2e39f8- -_0x3cf5ef._0x4d5793,_0x40099c);}return typeof _0x3f19af===_0x28118b(_0x32e9a5._0x43d9fa,0x215,0xe,_0x32e9a5._0x3401d4)&&_0x3f19af!==null&&Object['hasOwn'](_0x3f19af,_0x47df72(0x3b7,0x1c5,0x467,0x290))?_0x3f19af:{'options':_0x3f19af};}function awaitWithAbort(_0x27ea2b,_0x51da3b){const _0x3bceda={_0x2d52f7:0x4dd},_0x2918f3={_0x3998b9:0x920,_0x1d33d3:0x745,_0x37424b:0x5d4};return throwIfAborted(_0x51da3b),new Promise((_0x295ffd,_0x264f0d)=>{function _0xbd709f(_0x4f627d,_0x1f6e88,_0x3d9aa2,_0x15d459){return _0x8662(_0x1f6e88-0x15c,_0x4f627d);}let _0x5017a3=![];const _0x2fae44=addAbortListener(_0x51da3b,()=>{if(_0x5017a3)return;function _0xfec193(_0x25a0c8,_0x1faf91,_0x246def,_0x763cd8){return _0x8662(_0x1faf91-0x265,_0x763cd8);}_0x5017a3=!![],_0x264f0d(toAbortError(_0x51da3b[_0xfec193(_0x2918f3._0x3998b9,_0x2918f3._0x1d33d3,0x788,_0x2918f3._0x37424b)]));});_0x27ea2b[_0xbd709f(_0x3bceda._0x2d52f7,0x58b,0x7ac,0x554)](_0x2308ed=>{if(_0x5017a3)return;_0x5017a3=!![],_0x2fae44(),_0x295ffd(_0x2308ed);},_0x5fbc05=>{if(_0x5017a3)return;_0x5017a3=!![],_0x2fae44(),_0x264f0d(_0x5fbc05);});});}function getDelegatedAgentDefinition(_0x182a24,_0x29ffed){const _0x56b2c2={_0x258eae:0x400,_0x3fb9ee:0x2e8},_0x36251d={_0x39260f:0x1be};function _0x137d5f(_0x49d3c4,_0x98b8e0,_0x4437c7,_0x775507){return _0x5b2413(_0x49d3c4-0x1ec,_0x98b8e0-_0x36251d._0x39260f,_0x98b8e0- -0x687,_0x49d3c4);}return _0x182a24[_0x137d5f(_0x56b2c2._0x258eae,_0x56b2c2._0x3fb9ee,0x44e,0x2f3)]?.[_0x29ffed];}function createRoutingSummary(_0x27b3b8){const _0x560c91={_0x1026e9:0x635,_0x1bd5df:0x426,_0x4069b3:0x51c,_0x312020:0x241};if(_0x27b3b8['requestedModelTier']===void 0x0)return{};const _0x3ad75b=_0x27b3b8['routing']?.['agentModelSet']??_0x27b3b8['agentModelSet'];function _0x47fb46(_0x3031af,_0x28d531,_0x13833d,_0x33b30c){return _0x5b2413(_0x3031af-0x157,_0x28d531-0xea,_0x28d531- -0x4de,_0x13833d);}function _0x4abc31(_0x5857ed,_0x23e662,_0x2d5819,_0x17f4d3){return _0x5b2413(_0x5857ed-0x72,_0x23e662-0x63,_0x5857ed- -0x5a8,_0x2d5819);}return{'requestedModelTier':_0x27b3b8['requestedModelTier'],..._0x3ad75b===void 0x0?{}:{'agentModelSet':_0x3ad75b},..._0x27b3b8[_0x47fb46(_0x560c91._0x1026e9,0x44d,_0x560c91._0x1bd5df,_0x560c91._0x4069b3)]?.[_0x4abc31(0x109,_0x560c91._0x312020,0xd9,-0x84)]===void 0x0?{}:{'resolvedModelIdentity':_0x27b3b8['routing']['resolvedModelIdentity']}};}function createStructuredWithRoutingSummary(_0x468a87,_0x12cbcc){const _0x3cc190={_0x587b8:0x101,_0x34fade:0xb9,_0x2be14c:0x34,_0x1a3fc9:0x455,_0xfe9c6a:0x3e4,_0x389320:0x16e,_0x1a1b41:0xe5},_0x523980={_0x3d753a:0xcd,_0x131e56:0x288},_0x3fccf7={..._0x468a87};function _0x25d6ef(_0x30b930,_0x3fe8e9,_0x3c802c,_0x4dfebc){return _0x5b2413(_0x30b930-0xaa,_0x3fe8e9-0x117,_0x4dfebc- -0x684,_0x3fe8e9);}delete _0x3fccf7[_0x25d6ef(_0x3cc190._0x587b8,_0x3cc190._0x34fade,-0x6f,_0x3cc190._0x2be14c)],delete _0x3fccf7[_0x25d6ef(_0x3cc190._0x1a3fc9,0x340,_0x3cc190._0xfe9c6a,0x23a)],delete _0x3fccf7[_0x25d6ef(-_0x3cc190._0x389320,0x62,-_0x3cc190._0x1a1b41,0x2d)];function _0x27edc8(_0x231aa4,_0x14cfac,_0x30f755,_0x1ae37f){return _0x5b2413(_0x231aa4-_0x523980._0x3d753a,_0x14cfac-0xe2,_0x14cfac- -_0x523980._0x131e56,_0x30f755);}return{..._0x3fccf7,...createRoutingSummary(_0x12cbcc)};}function createRunSummary(_0x2bd3b1){const _0x1d3352={_0x85957:0x786,_0xda4823:0x790,_0x424e01:0x7a1,_0x31bd40:0xf7,_0x4ba0d2:0x20a,_0x3d23db:0x1ab,_0x17b4cf:0x892,_0x4dff4f:0x6ea,_0x15360a:0x8ed,_0x57711a:0x176,_0x2a36ed:0x3a,_0x344648:0x15a,_0x23aead:0x29e,_0x113f48:0x17,_0x450d71:0x11f,_0x30d65d:0xef,_0x5a27d0:0x83,_0x394f52:0x82e},_0x2e5fe2={_0x100e2a:0x161,_0x241653:0x139},_0x2e6336={_0x5bd0ef:0x11c};function _0x13ce09(_0x3d4ecb,_0x568d2e,_0x18021b,_0x401712){return _0x28bc81(_0x3d4ecb-0x151,_0x568d2e-_0x2e6336._0x5bd0ef,_0x568d2e-0x3cd,_0x401712);}function _0x2b6827(_0x5d279e,_0x61de34,_0x1868bb,_0x371f53){return _0x28bc81(_0x5d279e-_0x2e5fe2._0x100e2a,_0x61de34-_0x2e5fe2._0x241653,_0x5d279e- -0x222,_0x1868bb);}return{'runId':_0x2bd3b1['runId'],'agentId':_0x2bd3b1['agentId'],..._0x2bd3b1[_0x13ce09(0x8bc,0x790,0x710,0x6f7)]!==void 0x0?{'sessionId':_0x2bd3b1[_0x13ce09(_0x1d3352._0x85957,_0x1d3352._0xda4823,0x6c5,_0x1d3352._0x424e01)]}:{},'status':_0x2bd3b1[_0x2b6827(-0x24,-_0x1d3352._0x31bd40,-_0x1d3352._0x4ba0d2,-_0x1d3352._0x3d23db)],'parentSessionId':_0x2bd3b1[_0x13ce09(_0x1d3352._0x17b4cf,_0x1d3352._0x4dff4f,_0x1d3352._0x15360a,0x8ad)],..._0x2bd3b1['originToolCallId']!==void 0x0?{'originToolCallId':_0x2bd3b1[_0x2b6827(_0x1d3352._0x57711a,_0x1d3352._0x2a36ed,-0x66,0x344)]}:{},...createRoutingSummary(_0x2bd3b1),..._0x2bd3b1['errorMessage']!==void 0x0?{'errorMessage':_0x2bd3b1[_0x2b6827(0x155,-0x95,_0x1d3352._0x344648,_0x1d3352._0x23aead)]}:{},..._0x2bd3b1[_0x2b6827(-_0x1d3352._0x113f48,0x5e,0x92,_0x1d3352._0x450d71)]?.['finalMessage']!==void 0x0?{'finalMessageText':getTextFromMessage(_0x2bd3b1[_0x2b6827(-0x17,-_0x1d3352._0x30d65d,_0x1d3352._0x5a27d0,0x36)][_0x13ce09(0x839,0x8c6,0x8ac,_0x1d3352._0x394f52)])}:{}};}function createRunSummaryOutput(_0x1e9f5a,_0x166069){const _0x138474={_0x3897cf:0x9f6,_0x30905d:0x88d},_0x5b726d=createRunSummary(_0x1e9f5a);function _0x4ec30f(_0x575941,_0x5e5493,_0x5c661d,_0x55a41c){return _0x28bc81(_0x575941-0xe9,_0x5e5493-0x16b,_0x5c661d-0x344,_0x575941);}const _0x241cfa=_0x5b726d['finalMessageText'];return createToolOutput(typeof _0x241cfa==='string'&&_0x241cfa[_0x4ec30f(_0x138474._0x3897cf,0x88a,_0x138474._0x30905d,0xa78)]>0x0?_0x241cfa:_0x166069,_0x5b726d);}function getRunTerminalErrorMessage(_0x7cd54b){const _0x3e9b41={_0x587e0c:0x530,_0x522c2a:0x389,_0x538fc5:0x12b,_0x11e846:0x6e8,_0x1ae671:0x57e,_0x213fe3:0x5fd,_0x30474b:0x41d,_0x5b3973:0x226,_0x54a073:0x1f6,_0x5ab61d:0x573,_0x441b34:0x4be,_0x5eb772:0x67d,_0xca36f7:0x6ef,_0x427a84:0x6ae},_0x3f99a5={_0x29b2b0:0xb5},_0x314122={_0x577bce:0x1a6},_0x3aa5bf=_0x7cd54b?.[_0x577cad(_0x3e9b41._0x587e0c,0x45e,_0x3e9b41._0x522c2a,0x2c3)]['toolResults']['at'](-0x1);function _0x577cad(_0x50acee,_0xf163fe,_0x45730d,_0x4a81a6){return _0x28bc81(_0x50acee-0x8d,_0xf163fe-0x0,_0x45730d-_0x314122._0x577bce,_0x4a81a6);}function _0x38510d(_0x53ac07,_0x2d5ce3,_0x49d102,_0x30f195){return _0x28bc81(_0x53ac07-0xd1,_0x2d5ce3-0x164,_0x49d102- -_0x3f99a5._0x29b2b0,_0x30f195);}if(_0x3aa5bf?.[_0x38510d(_0x3e9b41._0x538fc5,0xea,0x149,0x314)]===_0x577cad(_0x3e9b41._0x11e846,0x76b,_0x3e9b41._0x1ae671,_0x3e9b41._0x213fe3)&&_0x3aa5bf[_0x38510d(0x3ad,_0x3e9b41._0x30474b,_0x3e9b41._0x5b3973,_0x3e9b41._0x54a073)][_0x577cad(_0x3e9b41._0x5ab61d,0x337,_0x3e9b41._0x441b34,0x643)]()[_0x577cad(_0x3e9b41._0x5eb772,0x612,_0x3e9b41._0xca36f7,_0x3e9b41._0x427a84)]>0x0)return _0x3aa5bf[_0x577cad(0x276,0x3a3,0x481,0x680)];return void 0x0;}function formatAbortedRunMessage(_0x5e6dfb,_0x5752c9){const _0x1dffec={_0x389501:0x130,_0x162c3b:0x168,_0x57a7a1:0x5c,_0x46b4c2:0xad4,_0x1bcd25:0x91a,_0xa32272:0x7c8,_0x4b03a0:0x71b,_0x11dfc6:0x916,_0x158cee:0x8a4,_0x1dd90a:0x94c,_0x153c51:0x988,_0x28ee58:0x89f,_0x5e0ebe:0x5dc},_0x13c2fe={_0x255500:0x182},_0x48d64c={_0x4424be:0x115,_0x49e787:0x1df,_0x165851:0x64};function _0x190b16(_0x21f0a6,_0x27f842,_0x435607,_0x43ef75){return _0x5b2413(_0x21f0a6-_0x48d64c._0x4424be,_0x27f842-_0x48d64c._0x49e787,_0x435607-_0x48d64c._0x165851,_0x27f842);}const _0x2bbb47=_0x3fee03(_0x1dffec._0x389501,0x157,_0x1dffec._0x162c3b,-_0x1dffec._0x57a7a1)+_0x5e6dfb+_0x190b16(_0x1dffec._0x46b4c2,0x9ae,_0x1dffec._0x1bcd25,0xa65);function _0x3fee03(_0x25d034,_0x328ff6,_0x2ca0f5,_0x4516db){return _0x5b2413(_0x25d034-_0x13c2fe._0x255500,_0x328ff6-0x56,_0x25d034- -0x486,_0x2ca0f5);}if(!_0x5752c9||_0x5752c9[_0x190b16(_0x1dffec._0xa32272,0x790,_0x1dffec._0x4b03a0,0x52a)]()[_0x190b16(_0x1dffec._0x11dfc6,_0x1dffec._0x158cee,_0x1dffec._0x1dd90a,_0x1dffec._0x153c51)]===0x0||_0x5752c9===_0x2bbb47)return _0x2bbb47;return _0x2bbb47+_0x190b16(_0x1dffec._0x28ee58,_0x1dffec._0x5e0ebe,0x684,0x6b0)+_0x5752c9;}function createAssignTaskTool(_0x33fd86){const _0x3d8c5f={_0x990ca0:0x36c,_0x26fb0e:0x54f,_0x383621:0x622,_0x102c1f:0x182,_0x40e9e0:0x1a7,_0x15604f:0x1b,_0x350c60:0x45,_0x14dac9:0x280,_0x1ac0ad:0x411,_0x7f1906:0x28f,_0x4c4b3e:0x33d,_0x3a8a93:0x323,_0x5e0f69:0x2a4,_0x4dd33d:0x3f2,_0x508abd:0x79,_0xfa4cf1:0x2b7,_0x113c7c:0x348,_0x1a8c7c:0x1c2,_0xac39f1:0x2c8,_0x3c396b:0x260,_0xec0499:0x56c,_0x136f46:0x470,_0x36ab7d:0x1d3,_0x68a8c:0x3c7,_0x56abdc:0x676,_0x4919df:0x4fb,_0x554241:0x2ed,_0x475e1a:0x1b6,_0x158045:0xee},_0x1cb0d7={_0x2a1b52:0x54b,_0x6765bd:0x611,_0x4dff71:0x47a,_0x1c0f5a:0x49,_0x33c342:0xc8,_0x56b882:0x21b,_0x480758:0x254,_0x19b026:0x1a3,_0x91b9fe:0x200,_0x1bd3b9:0x76,_0x58052f:0x5,_0x5a0480:0x13b,_0x56f39d:0x309,_0x1340c5:0x17,_0x5e00f1:0x12d,_0x57e69c:0x102,_0x5ad117:0x49,_0xfe9c84:0xbc,_0x33ff39:0x1cf,_0x477397:0xc9,_0x2aa615:0x277,_0x1595d6:0x0,_0x46ed31:0x33,_0x1759e0:0x501,_0x160558:0xbe,_0x312159:0x22,_0x4a473e:0x1db,_0x1ce401:0x431,_0xe5f12b:0x143,_0x1826d5:0x1ff,_0x3ef6a2:0x243,_0x469f1f:0x210,_0x2f6861:0x2be,_0x46090d:0x188,_0xf17aa:0x110,_0x5f3dda:0x1aa,_0x3f78e8:0x107,_0x103aef:0x320,_0x39e510:0x6c0,_0x5b0d4f:0x342,_0x42e80f:0x4df,_0x22409b:0x562,_0xf0c8d2:0x260,_0x506d0e:0x3b6,_0x2e14e:0x369,_0x260c81:0x528,_0x3a018b:0x7d,_0x1ae282:0x1da,_0x4de0da:0x63,_0xf56821:0x1c8,_0x334a09:0x33d,_0x3b8236:0x275,_0x4124ab:0x1aa,_0x3fa552:0x56,_0x31974f:0x17e,_0x278c1c:0x1a0,_0x17e050:0x2a3,_0x5131b5:0xe8,_0x81162a:0x38a,_0x241669:0x54a,_0x526387:0x393,_0xdc840a:0x43c,_0x7debcb:0x25e,_0x193c47:0x348,_0x5a9021:0x54f,_0x1e8cf:0xa6,_0x84ad50:0x71d,_0x33db87:0x6c5,_0xafac75:0xb2,_0x70d31b:0x289,_0x14ef16:0x41b,_0x2a5950:0x4a1,_0x4ba486:0x327,_0xa75a1a:0x46c,_0x176bd2:0x48e,_0x30ad72:0x307,_0x57fb9f:0x28c,_0x53ed3a:0xa4,_0x435230:0x151,_0x1527e7:0x16c,_0x110b41:0x2dd,_0x37d1e9:0xbc,_0x1b623:0x29d,_0x148888:0x2ca,_0x1f1a9f:0x1c7,_0x5043a2:0x1c3,_0x37e480:0x324,_0x491eae:0x312,_0x49c7d0:0x1dd,_0xaada79:0x319,_0x5cc6a3:0x136,_0x5931c9:0x1a9,_0x17ed03:0x473,_0x5e73d7:0x4a8,_0x44a543:0x1cc,_0x57a624:0x1db,_0x583173:0x505,_0x19d8e9:0x248,_0x49111e:0x1d8,_0x4b64a9:0x2fc,_0x9a9f02:0x417,_0x239f07:0x175,_0x2eaf9f:0x2b4,_0x242887:0x3b6,_0x219806:0x289,_0x127b43:0x19d,_0x4da750:0x363,_0x4aa707:0x2c9,_0x30b4be:0x638,_0x51d069:0x472,_0x3db2a6:0x2f6,_0xe5eedf:0x3c3,_0x281b20:0x25b,_0x5d5a67:0x64c,_0x2e4587:0x74f,_0x315a96:0x531,_0x29b2db:0x1c2,_0x3d0a49:0x26c,_0x4e77d6:0x3ee,_0x2eba55:0x351,_0x595a3e:0x2d5,_0x48f005:0x204,_0x4863f2:0x232,_0x23c6c4:0x15e,_0x675748:0x5b6,_0x7f7ca7:0x3bb,_0x55154a:0x40a,_0x426e54:0x23c,_0x387bf5:0x5ea,_0x31347a:0x39b,_0x3b36bf:0x121,_0x243b54:0x457,_0x3ffd60:0x557,_0x33af59:0x11d,_0x2b976a:0x16a,_0xd0a8b6:0x287,_0x722d44:0x49a,_0x9b485e:0x19c,_0x43aabf:0x41a,_0x303dc8:0x330,_0x2dd21e:0x27f,_0x13620f:0x72,_0x5a1b1f:0x3db,_0x2e2f43:0x232,_0x435f5a:0x93,_0x24ac5d:0x35},_0x410db0={_0x5efd96:0xab},_0x4f595f={_0x50cf2a:0xd6},_0x410e37={_0x3ae4c7:0x6c,_0x4ae8c4:0x3a6};function _0x340b47(_0x508f25,_0xfdc558,_0x294334,_0x4c8fe9){return _0x5b2413(_0x508f25-_0x410e37._0x3ae4c7,_0xfdc558-0x1d,_0x294334- -_0x410e37._0x4ae8c4,_0x508f25);}function _0xf40377(_0x3b701a,_0xa617bc,_0x543971,_0x19bf39){return _0x5b2413(_0x3b701a-_0x4f595f._0x50cf2a,_0xa617bc-0xdc,_0x543971- -0x66d,_0x3b701a);}return defineTool({'name':'AssignTask','permissionClass':_0x340b47(0x740,_0x3d8c5f._0x990ca0,_0x3d8c5f._0x26fb0e,_0x3d8c5f._0x383621),'description':'Delegates\x20a\x20task\x20to\x20another\x20agent\x20and\x20waits\x20for\x20completion.\x20`description`\x20is\x20a\x20short\x20UI\x20label;\x20`task`\x20is\x20the\x20complete\x20instruction\x20sent\x20to\x20the\x20agent.','inputSchema':{'type':_0x340b47(0x19d,0x2f8,0x25e,0x272),'properties':{'agentId':{'type':'string','description':_0xf40377(_0x3d8c5f._0x102c1f,_0x3d8c5f._0x40e9e0,_0x3d8c5f._0x15604f,-_0x3d8c5f._0x350c60)},'description':{'type':_0x340b47(_0x3d8c5f._0x14dac9,_0x3d8c5f._0x1ac0ad,_0x3d8c5f._0x7f1906,0x35a),'description':_0xf40377(_0x3d8c5f._0x4c4b3e,_0x3d8c5f._0x3a8a93,0x263,_0x3d8c5f._0x5e0f69)},'nickname':{'type':_0x340b47(0x3a9,_0x3d8c5f._0x4dd33d,0x28f,_0x3d8c5f._0x508abd),'description':'Optional\x20short\x20display\x20name\x20for\x20this\x20delegated\x20run.\x20Used\x20only\x20for\x20display\x20and\x20not\x20sent\x20to\x20the\x20agent.'},'task':{'type':_0x340b47(_0x3d8c5f._0xfa4cf1,_0x3d8c5f._0x113c7c,_0x3d8c5f._0x7f1906,0x403),'description':'Complete,\x20self-contained\x20instructions\x20sent\x20verbatim\x20to\x20the\x20delegated\x20agent.\x20Include\x20relevant\x20context,\x20scope,\x20constraints,\x20and\x20expected\x20output.'},'modelTier':{'type':_0x340b47(0x14e,_0x3d8c5f._0x1a8c7c,0x28f,_0x3d8c5f._0xac39f1),'enum':[...MODEL_TIERS],'description':_0x340b47(_0x3d8c5f._0x3c396b,_0x3d8c5f._0xec0499,_0x3d8c5f._0x136f46,0x4b8)}},'required':[_0x340b47(0x4c,0x16f,_0x3d8c5f._0x36ab7d,_0x3d8c5f._0x68a8c),_0x340b47(0x520,_0x3d8c5f._0x56abdc,_0x3d8c5f._0x4919df,_0x3d8c5f._0x554241),_0xf40377(0x10a,-_0x3d8c5f._0x475e1a,-_0x3d8c5f._0x158045,-0x6e)]},async *'execute'(_0x405890,_0x420dde){const _0x30a64d=createDelegatedRunId(),_0x3cd876=new AbortController(),_0x25a962=_0x405890[_0x20ffc7(_0x1cb0d7._0x2a1b52,_0x1cb0d7._0x6765bd,0x302,_0x1cb0d7._0x4dff71)],_0x54518d={'agentId':_0x405890[_0x3189e7(0x31,-_0x1cb0d7._0x1c0f5a,-_0x1cb0d7._0x33c342,-_0x1cb0d7._0x56b882)],'parentSessionId':_0x420dde[_0x3189e7(-0xf,0x1a0,0x252,0x389)],'runId':_0x30a64d,'signal':_0x3cd876[_0x3189e7(0x12f,0x1aa,0x20a,0x233)],..._0x420dde[_0x20ffc7(0x32d,_0x1cb0d7._0x480758,_0x1cb0d7._0x19b026,_0x1cb0d7._0x91b9fe)]!==void 0x0?{'toolCallId':_0x420dde['toolCallId']}:{},..._0x25a962===void 0x0?{}:{'modelTier':_0x25a962}},_0x316c4f=getDelegatedAgentDefinition(_0x33fd86,_0x405890['agentId']);if(!_0x316c4f)throw new ToolExecutionError(_0x3189e7(-0x16e,_0x1cb0d7._0x1bd3b9,_0x1cb0d7._0x58052f,_0x1cb0d7._0x5a0480)+_0x405890[_0x20ffc7(0x10e,_0x1cb0d7._0x56f39d,_0x1cb0d7._0x1340c5,_0x1cb0d7._0x5e00f1)],{'agentId':_0x405890[_0x3189e7(-_0x1cb0d7._0x57e69c,-_0x1cb0d7._0x5ad117,-_0x1cb0d7._0xfe9c84,_0x1cb0d7._0x33ff39)],..._0x25a962===void 0x0?{}:{'requestedModelTier':_0x25a962}});let _0x51a439={'runId':_0x30a64d,'agentId':_0x405890['agentId'],'status':_0x3189e7(-_0x1cb0d7._0x477397,0xb3,_0x1cb0d7._0x2aa615,-0x153),'parentSessionId':_0x420dde['sessionId'],..._0x420dde[_0x20ffc7(_0x1cb0d7._0x1595d6,0x1f3,0x2c2,0x200)]!==void 0x0?{'originToolCallId':_0x420dde[_0x3189e7(0xf,0x8a,-_0x1cb0d7._0x46ed31,0x1ea)]}:{},..._0x25a962===void 0x0?{}:{'requestedModelTier':_0x25a962}};const _0x1187a4=addAbortListener(_0x420dde[_0x20ffc7(0x355,_0x1cb0d7._0x1759e0,0x49d,0x320)],()=>{_0x3cd876['abort'](_0x420dde['signal']['reason']);});let _0xec6bba,_0x326f2b;function _0x20ffc7(_0x315ef4,_0x43e2a6,_0x48efd8,_0x45df00){return _0x340b47(_0x48efd8,_0x43e2a6-0xa1,_0x45df00- -0xa6,_0x45df00-0x11b);}let _0x1ead4e,_0x2f01bc,_0x2b159d=![],_0x37a5e1,_0x1fcbcb,_0x2f8c6b=![];function _0x3189e7(_0x27f44a,_0x522978,_0x29285c,_0x1c6db0){return _0xf40377(_0x1c6db0,_0x522978-0x133,_0x522978-_0x410db0._0x5efd96,_0x1c6db0-0xdd);}const _0x4fd002=_0x33fd86[_0x3189e7(-_0x1cb0d7._0x160558,-_0x1cb0d7._0x312159,-0x22e,_0x1cb0d7._0x4a473e)];try{_0x33fd86[_0x20ffc7(_0x1cb0d7._0x1ce401,_0x1cb0d7._0xe5f12b,_0x1cb0d7._0x1826d5,_0x1cb0d7._0x3ef6a2)]!==void 0x0&&(_0xec6bba=await _0x33fd86['semaphore'][_0x20ffc7(_0x1cb0d7._0x469f1f,_0x1cb0d7._0x2f6861,0x39b,_0x1cb0d7._0x46090d)](_0x3cd876['signal']));throwIfAborted(_0x3cd876[_0x3189e7(_0x1cb0d7._0xf17aa,_0x1cb0d7._0x5f3dda,0x14a,0xe1)]);const _0x2e03f1=await awaitWithAbort(resolveDelegatedAgentOptions(_0x316c4f,_0x54518d),_0x3cd876[_0x20ffc7(_0x1cb0d7._0x3f78e8,0x4c9,0x1b8,_0x1cb0d7._0x103aef)]);_0x51a439={..._0x51a439,..._0x25a962===void 0x0||_0x2e03f1[_0x20ffc7(_0x1cb0d7._0x39e510,0x3a3,_0x1cb0d7._0x5b0d4f,_0x1cb0d7._0x42e80f)]?.['agentModelSet']===void 0x0?{}:{'agentModelSet':_0x2e03f1['routing'][_0x20ffc7(0x61e,0x475,_0x1cb0d7._0x22409b,0x472)]}};const _0x1e977b=_0x2e03f1[_0x3189e7(0x196,_0x1cb0d7._0xf0c8d2,_0x1cb0d7._0x506d0e,0x348)];throwIfAborted(_0x3cd876[_0x20ffc7(0x4ac,_0x1cb0d7._0x2e14e,_0x1cb0d7._0x260c81,_0x1cb0d7._0x103aef)]);const _0x117816=_0x33fd86['renderSystemPrompt']!==void 0x0&&_0x1e977b[_0x3189e7(-0x140,_0x1cb0d7._0x3a018b,_0x1cb0d7._0x1ae282,-_0x1cb0d7._0x4de0da)]!==void 0x0?{..._0x1e977b,'systemPrompt':_0x33fd86[_0x3189e7(0x36d,_0x1cb0d7._0xf56821,_0x1cb0d7._0x334a09,0x289)](_0x1e977b[_0x3189e7(0xd,0x7d,0x114,_0x1cb0d7._0x3b8236)])}:_0x1e977b;throwIfAborted(_0x3cd876[_0x3189e7(0x248,_0x1cb0d7._0x4124ab,_0x1cb0d7._0x3fa552,0x27a)]);const _0x164480=new Agent(_0x117816);_0x51a439={..._0x51a439,'sessionId':_0x164480[_0x3189e7(_0x1cb0d7._0x31974f,_0x1cb0d7._0x278c1c,_0x1cb0d7._0x17e050,0x71)],..._0x25a962===void 0x0?{}:{'routing':{'requestedModelTier':_0x25a962,..._0x51a439[_0x3189e7(_0x1cb0d7._0x5131b5,0x2fc,0x3a7,0x148)]===void 0x0?{}:{'agentModelSet':_0x51a439[_0x3189e7(0x461,0x2fc,0x51f,0x288)]},'resolvedModelIdentity':_0x164480[_0x3189e7(_0x1cb0d7._0x480758,_0x1cb0d7._0x81162a,_0x1cb0d7._0x241669,_0x1cb0d7._0x526387)][_0x20ffc7(_0x1cb0d7._0xdc840a,0x5fb,0x3f8,0x419)]['modelIdentity']}}},_0x326f2b=_0x33fd86[_0x3189e7(_0x1cb0d7._0x7debcb,_0x1cb0d7._0x193c47,0x3e0,_0x1cb0d7._0x5a9021)]?.(_0x164480,_0x54518d);const _0x118db0=new Promise(_0x3267b1=>{_0x2f01bc=_0x3267b1;});_0x1ead4e=_0x33fd86[_0x3189e7(-_0x1cb0d7._0x1e8cf,-0xe,0xb8,-0x1b)]?.({'runId':_0x30a64d,'abortController':_0x3cd876,'completion':_0x118db0});_0x4fd002!==void 0x0&&(await _0x4fd002[_0x20ffc7(0x4b2,_0x1cb0d7._0x84ad50,_0x1cb0d7._0x33db87,0x502)](_0x164480,_0x54518d),_0x2b159d=!![]);yield createToolOutput(_0x3189e7(_0x1cb0d7._0xafac75,_0x1cb0d7._0x70d31b,_0x1cb0d7._0x14ef16,0x71)+_0x51a439[_0x3189e7(_0x1cb0d7._0x2a5950,0x324,_0x1cb0d7._0x4ba486,0x2c8)]+'.',createRunSummary(_0x51a439)),throwIfAborted(_0x3cd876[_0x20ffc7(_0x1cb0d7._0xa75a1a,0x16b,_0x1cb0d7._0x176bd2,_0x1cb0d7._0x103aef)]);const _0x1507a6=await _0x164480[_0x20ffc7(0x2a0,_0x1cb0d7._0x30ad72,_0x1cb0d7._0x57fb9f,0x404)](_0x405890[_0x20ffc7(0x14f,_0x1cb0d7._0x53ed3a,0x178,0x133)],{'streaming':!![],'signal':_0x3cd876['signal']});_0x51a439={..._0x51a439,'status':_0x1507a6[_0x20ffc7(0xd5,0x22e,0x242,_0x1cb0d7._0x435230)],'result':_0x1507a6};if(_0x1507a6[_0x3189e7(-0xc3,-0x25,-0x245,_0x1cb0d7._0x1527e7)]!==_0x20ffc7(0x305,0x3a7,0x246,0x352)){const _0x48e52a=getRunTerminalErrorMessage(_0x1507a6),_0x5cdde0=formatAbortedRunMessage(_0x51a439[_0x3189e7(_0x1cb0d7._0x81162a,0x324,0x236,0x371)],_0x48e52a);_0x51a439={..._0x51a439,'status':_0x3189e7(_0x1cb0d7._0x110b41,_0x1cb0d7._0xfe9c84,-0x45,0x1bb),'errorMessage':_0x5cdde0},_0x37a5e1={'status':_0x3189e7(0x9d,_0x1cb0d7._0x37d1e9,0xd2,_0x1cb0d7._0x1b623),'errorMessage':_0x5cdde0};throw new ToolExecutionError(_0x5cdde0,{...createRunSummary(_0x51a439),'aborted':!![],'errorMessage':_0x5cdde0});}return _0x37a5e1={'status':_0x20ffc7(_0x1cb0d7._0x148888,_0x1cb0d7._0x1f1a9f,0x20a,0x352)},createRunSummaryOutput(_0x51a439,'Agent\x20run\x20'+_0x51a439[_0x3189e7(_0x1cb0d7._0x5043a2,_0x1cb0d7._0x37e480,0x26d,_0x1cb0d7._0x491eae)]+'\x20completed.');}catch(_0x514872){_0x1fcbcb=_0x514872,_0x2f8c6b=!![];if(_0x514872 instanceof ToolExecutionError){if(_0x37a5e1===void 0x0){if(isAbortError(_0x514872)||_0x3cd876[_0x3189e7(_0x1cb0d7._0x49c7d0,_0x1cb0d7._0x5f3dda,_0x1cb0d7._0xaada79,_0x1cb0d7._0x5cc6a3)][_0x3189e7(-0xc5,0xbc,0x134,_0x1cb0d7._0x5931c9)]||_0x420dde[_0x20ffc7(_0x1cb0d7._0x17ed03,_0x1cb0d7._0x5e73d7,_0x1cb0d7._0x44a543,0x320)]['aborted'])_0x37a5e1={'status':_0x3189e7(_0x1cb0d7._0x57a624,0xbc,0x9a,0x2ac)};else{const _0x781f55=_0x514872[_0x20ffc7(0x49d,_0x1cb0d7._0x583173,0x462,0x531)];_0x51a439={..._0x51a439,'status':_0x20ffc7(0x490,_0x1cb0d7._0x19d8e9,0x5a7,0x3b6),'errorMessage':_0x781f55},_0x37a5e1={'status':'failed','errorMessage':_0x781f55};}}if(_0x25a962===void 0x0)throw _0x514872;throw new ToolExecutionError(_0x514872['message'],createStructuredWithRoutingSummary(_0x514872['structured'],_0x51a439));}if(_0x514872 instanceof DelegatedResolutionError){const _0x511005={..._0x51a439};delete _0x511005['routing'],delete _0x511005[_0x3189e7(_0x1cb0d7._0x49111e,_0x1cb0d7._0x4b64a9,_0x1cb0d7._0x9a9f02,_0x1cb0d7._0x239f07)],_0x51a439={..._0x511005,'status':_0x20ffc7(0x3af,_0x1cb0d7._0x2eaf9f,0x4f5,_0x1cb0d7._0x242887),'errorMessage':_0x514872[_0x3189e7(_0x1cb0d7._0x219806,0x3bb,0x5b9,0x284)],..._0x25a962===void 0x0||_0x514872[_0x3189e7(_0x1cb0d7._0x127b43,_0x1cb0d7._0x4b64a9,_0x1cb0d7._0x4da750,0xe0)]===void 0x0?{}:{'agentModelSet':_0x514872[_0x20ffc7(0x45c,_0x1cb0d7._0x4aa707,_0x1cb0d7._0x30b4be,_0x1cb0d7._0x51d069)]}};throw new ToolExecutionError(_0x514872[_0x3189e7(0x3e5,0x3bb,0x544,0x290)],{...createRunSummary(_0x51a439),..._0x25a962===void 0x0||_0x514872[_0x20ffc7(_0x1cb0d7._0x3db2a6,0x121,_0x1cb0d7._0xe5eedf,0x25b)]===void 0x0?{}:{'selector':_0x514872[_0x20ffc7(0x3d6,0xd4,0x70,_0x1cb0d7._0x281b20)]},'errorMessage':_0x514872[_0x20ffc7(_0x1cb0d7._0x5d5a67,_0x1cb0d7._0x2e4587,0x5b6,_0x1cb0d7._0x315a96)]});}if(isAbortError(_0x514872)||_0x3cd876['signal'][_0x20ffc7(_0x1cb0d7._0x29b2db,_0x1cb0d7._0x3d0a49,_0x1cb0d7._0x4e77d6,0x232)]||_0x420dde['signal'][_0x20ffc7(_0x1cb0d7._0x2eba55,_0x1cb0d7._0x595a3e,_0x1cb0d7._0x48f005,_0x1cb0d7._0x4863f2)]){const _0x1209af=getRunTerminalErrorMessage(_0x51a439[_0x20ffc7(0x28,0x14c,0x270,_0x1cb0d7._0x23c6c4)])??(_0x514872 instanceof Error?_0x514872[_0x3189e7(_0x1cb0d7._0x675748,_0x1cb0d7._0x7f7ca7,_0x1cb0d7._0x55154a,_0x1cb0d7._0x426e54)]:String(_0x514872)),_0x149f41=formatAbortedRunMessage(_0x51a439[_0x20ffc7(_0x1cb0d7._0x387bf5,0x499,_0x1cb0d7._0x31347a,0x49a)],_0x1209af);_0x51a439={..._0x51a439,'status':_0x3189e7(-_0x1cb0d7._0x1e8cf,_0x1cb0d7._0xfe9c84,0xdf,-_0x1cb0d7._0x3b36bf),'errorMessage':_0x149f41},_0x37a5e1={'status':'aborted','errorMessage':_0x149f41};throw new ToolExecutionError(_0x149f41,{...createRunSummary(_0x51a439),'aborted':!![],'errorMessage':_0x149f41});}const _0x46db09=getRunTerminalErrorMessage(_0x51a439['result'])??(_0x514872 instanceof Error?_0x514872[_0x20ffc7(0x375,_0x1cb0d7._0x243b54,_0x1cb0d7._0x3ffd60,_0x1cb0d7._0x315a96)]:String(_0x514872))??_0x20ffc7(0x2e9,_0x1cb0d7._0x33af59,-0x38,_0x1cb0d7._0x2b976a)+_0x51a439[_0x20ffc7(0x36a,_0x1cb0d7._0xd0a8b6,0x68a,_0x1cb0d7._0x722d44)]+_0x20ffc7(_0x1cb0d7._0x9b485e,_0x1cb0d7._0x43aabf,_0x1cb0d7._0x303dc8,_0x1cb0d7._0x2dd21e);_0x51a439={..._0x51a439,'status':'failed','errorMessage':_0x46db09},_0x37a5e1={'status':'failed','errorMessage':_0x46db09};throw new ToolExecutionError(_0x46db09,{...createRunSummary(_0x51a439),'errorMessage':_0x46db09});}finally{let _0x75e0e8,_0x2b0cc9;const _0x3fac2d=_0x575974=>{if(_0x575974===void 0x0)return;try{_0x575974();}catch(_0x175189){_0x2b0cc9??=_0x175189 instanceof Error?_0x175189:new Error(String(_0x175189));}};if(_0x2b159d&&_0x4fd002!==void 0x0){const _0x35f4bb=_0x37a5e1??{'status':_0x20ffc7(0x3b2,_0x1cb0d7._0x13620f,_0x1cb0d7._0x5a1b1f,_0x1cb0d7._0x2e2f43)};try{await _0x4fd002['finish'](_0x54518d,_0x35f4bb);}catch(_0x5b413a){_0x75e0e8=_0x5b413a instanceof Error?_0x5b413a:new Error(String(_0x5b413a));}}_0x3fac2d(_0x33fd86[_0x3189e7(0x212,0x7,_0x1cb0d7._0x435f5a,-_0x1cb0d7._0x24ac5d)]===void 0x0?void 0x0:()=>_0x33fd86[_0x3189e7(-0xec,0x7,-0xe3,0x8c)]?.(_0x54518d)),_0x3fac2d(_0x2f01bc),_0x3fac2d(_0x1ead4e),_0x3fac2d(_0x326f2b),_0x3fac2d(_0xec6bba),_0x3fac2d(_0x1187a4),_0x75e0e8!==void 0x0&&(_0x2f8c6b&&(_0x75e0e8['cause']=_0x1fcbcb),rethrowDelegatedError(_0x75e0e8)),_0x2b0cc9!==void 0x0&&rethrowDelegatedError(_0x2b0cc9);}}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0xb3e23a){return[createAssignTaskTool(_0xb3e23a)];}import{mkdir as _0x2679ea,writeFile}from'fs/promises';import*as _0x528770 from'path';function sanitizeFileName(_0xb0e3f1){const _0x48b79a={_0x469d34:0x1a0},_0x37ad7e={_0x2dabf0:0x1ab,_0xef20b8:0x114,_0x4036c7:0x756};function _0x3af8e2(_0x3f3360,_0x252fee,_0x42e88f,_0x2f1d95){return _0x5b2413(_0x3f3360-_0x37ad7e._0x2dabf0,_0x252fee-_0x37ad7e._0xef20b8,_0x252fee- -_0x37ad7e._0x4036c7,_0x2f1d95);}return _0xb0e3f1[_0x3af8e2(0x1f7,_0x48b79a._0x469d34,0x44,0x166)](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x1d3de8,_0x1a584a){const _0x495949={_0x8893b9:0x67b,_0x1d11f8:0x63c,_0x5a7ec0:0x586,_0x7432d9:0x298,_0x480e8c:0x51b,_0x4059bb:0x4de,_0x2f91a9:0x3a5,_0x5c40eb:0x3dd,_0x4704a5:0x3dc,_0x331466:0x4a1,_0x23727e:0x5b3,_0x4e9d80:0xba7,_0x499e93:0xa56,_0x171487:0x49c,_0x587023:0x2cf,_0x29d45b:0x6bf,_0x1cac0c:0x7d8,_0x1f317d:0x8f9,_0x952e84:0x2c8,_0x291bd1:0x1a4,_0x2d467c:0x987,_0x2e0888:0x8c0,_0x1c8858:0xb20,_0x15aa3d:0x431,_0x2d23f3:0x7b0,_0x12b6a6:0x55e,_0x54f8c4:0x7fd,_0xc372c7:0x612,_0x2c7196:0x890,_0x1ec715:0x725,_0xb76187:0x619,_0x1288b1:0x65d,_0x29430c:0x433,_0x5a1b3b:0x862,_0x269225:0x4a0,_0x3541bb:0x4f4,_0x3155df:0x521,_0x5bc67d:0x556,_0x3aa533:0x6f2,_0x15ff73:0x4c0,_0x499fc5:0x5f4,_0x5deee0:0x65b,_0x387bc8:0x451,_0x379ad2:0x685,_0x441708:0x8f9,_0x200373:0x454,_0x25bacb:0x5bc,_0x1860c3:0x7a6,_0x520f66:0x5e7,_0x4ee9b2:0x920,_0x382ad6:0xa87,_0x10f07f:0x534,_0x1d751d:0x481,_0x23aa02:0x28c,_0x4f6abd:0x2f9,_0x771419:0x705,_0x234513:0x7b1},_0xe299f={_0xf348eb:0x93,_0x380cef:0x11,_0x416590:0x3a0},_0x1cc043={_0x542388:0x4a},{maxBytes:_0x351740,sessionDir:_0x3496c2}=_0x1a584a;if(!_0x1d3de8[_0x5e45c1(_0x495949._0x8893b9,0x59b,_0x495949._0x1d11f8,_0x495949._0x5a7ec0)]||Buffer[_0xf2c270(_0x495949._0x7432d9,0x3c5,_0x495949._0x480e8c,0x2c7)](_0x1d3de8['output'],_0x5e45c1(0x619,0x6b9,_0x495949._0x4059bb,0x606))<=_0x351740)return _0x1d3de8;function _0xf2c270(_0x59bb54,_0xc70b2e,_0x56f40e,_0x5b2198){return _0x28bc81(_0x59bb54-0x1d3,_0xc70b2e-_0x1cc043._0x542388,_0xc70b2e-0x81,_0x5b2198);}const _0x2a26ab=Buffer[_0xf2c270(0x508,0x3c5,0x4c7,_0x495949._0x2f91a9)](_0x1d3de8[_0xf2c270(0x501,0x35c,_0x495949._0x5c40eb,_0x495949._0x4704a5)],_0x5e45c1(0x619,_0x495949._0x331466,0x78a,_0x495949._0x23727e));if(!_0x3496c2){const _0x4fce27=_0x1d3de8[_0xf2c270(0x4b7,0x35c,0x342,0x150)]['slice'](0x0,_0x351740);return{..._0x1d3de8,'output':_0x4fce27+(_0x5e45c1(0x98b,0x93a,0xb61,_0x495949._0x4e9d80)+_0x351740+_0x5e45c1(0x8b1,0x81f,0x8cb,_0x495949._0x499e93)+_0x2a26ab+_0xf2c270(_0x495949._0x171487,0x5ba,0x3fc,0x469)),'meta':{..._0x1d3de8[_0xf2c270(_0x495949._0x587023,0x4b9,0x3d2,_0x495949._0x29d45b)],'truncated':!![],'originalBytes':_0x2a26ab,'transforms':[..._0x1d3de8[_0x5e45c1(_0x495949._0x1cac0c,_0x495949._0x1f317d,0x6a7,0x7b0)][_0xf2c270(0x181,_0x495949._0x952e84,_0x495949._0x291bd1,0x24a)],_0x5e45c1(_0x495949._0x2d467c,0x826,_0x495949._0x2e0888,_0x495949._0x1c8858)]}};}const _0x5a37af=_0x1d3de8[_0xf2c270(0x301,_0x495949._0x15aa3d,0x211,0x48e)]+'_'+sanitizeFileName(_0x1d3de8['callId'])+_0x5e45c1(0x656,_0x495949._0x2d23f3,0x508,_0x495949._0x12b6a6),_0x43e285=_0x528770[_0x5e45c1(_0x495949._0x54f8c4,_0x495949._0xc372c7,0x8ba,_0x495949._0x2c7196)](_0x3496c2,_0x5a37af);await _0x2679ea(_0x3496c2,{'recursive':!![]}),await writeFile(_0x43e285,_0x1d3de8[_0x5e45c1(0x67b,_0x495949._0x1ec715,0x6da,0x81f)],_0x5e45c1(_0x495949._0xb76187,0x570,_0x495949._0x1288b1,_0x495949._0x29430c));let _0x1a1962=_0x1d3de8[_0x5e45c1(_0x495949._0x8893b9,_0x495949._0x5a1b3b,0x61d,_0x495949._0x269225)]['slice'](0x0,_0x351740);const _0x3b0f25=_0x1a1962[_0xf2c270(_0x495949._0x3541bb,0x51c,_0x495949._0x3155df,0x636)]('\x0a');function _0x5e45c1(_0x23bf21,_0x279af4,_0x4eaa30,_0x39fc23){return _0x28bc81(_0x23bf21-_0xe299f._0xf348eb,_0x279af4-_0xe299f._0x380cef,_0x23bf21-_0xe299f._0x416590,_0x279af4);}_0x3b0f25>_0x351740*0.5&&(_0x1a1962=_0x1a1962[_0xf2c270(0x5c7,_0x495949._0x5bc67d,_0x495949._0x3aa533,_0x495949._0x15ff73)](0x0,_0x3b0f25));const _0x396d70=['',_0x5e45c1(_0x495949._0x499fc5,_0x495949._0x5deee0,_0x495949._0x387bc8,_0x495949._0x379ad2),_0x5e45c1(_0x495949._0x441708,0xaa6,0x9f8,0xa41)+_0x351740+_0x5e45c1(0x64c,_0x495949._0x200373,_0x495949._0x25bacb,0x7f6)+_0x2a26ab+_0x5e45c1(_0x495949._0x1860c3,0x5c6,0x8c6,_0x495949._0x520f66),_0x5e45c1(_0x495949._0x4ee9b2,0x9d6,0x9e8,_0x495949._0x382ad6)+_0x43e285,'Use\x20FileRead\x20with\x20lineStart/lineEnd\x20to\x20inspect\x20specific\x20sections\x20of\x20the\x20full\x20output.','</system-reminder>'][_0xf2c270(0x30b,_0x495949._0x4059bb,_0x495949._0x10f07f,0x6f9)]('\x0a');return{..._0x1d3de8,'output':_0x1a1962+_0x396d70,'meta':{..._0x1d3de8['meta'],'truncated':!![],'originalBytes':_0x2a26ab,'transforms':[..._0x1d3de8[_0xf2c270(_0x495949._0x1d751d,0x4b9,0x589,0x3da)][_0xf2c270(0x167,0x2c8,_0x495949._0x23aa02,_0x495949._0x4f6abd)],_0xf2c270(0x827,0x668,_0x495949._0x771419,_0x495949._0x234513)]}};}import{readFile as _0x300b53,stat as _0x3dcd52}from'fs/promises';function createAnchoredFileError(_0x4beaad,_0x38e90d,_0x325bc4){return new ToolExecutionError(_0x38e90d,{'error':_0x4beaad,..._0x325bc4});}import{createHash}from'crypto';function sha256Bytes(_0x45a7f7){const _0x48162d={_0x428358:0x663,_0x433372:0x76e,_0x2712b5:0x1a1,_0x384cb2:0x558,_0x2a2e6d:0x38f},_0x208c04={_0x51cd17:0x24,_0x31951d:0x23d},_0x6c2792={_0x22af70:0x1d5};function _0x5d3391(_0x54fb5,_0xf3a6bb,_0x5d6720,_0x28e60d){return _0x28bc81(_0x54fb5-0x33,_0xf3a6bb-_0x6c2792._0x22af70,_0x54fb5-0x370,_0x5d6720);}function _0x6a457f(_0x425a08,_0x31e11e,_0x66896c,_0x2fcf3d){return _0x28bc81(_0x425a08-0x6,_0x31e11e-_0x208c04._0x51cd17,_0x2fcf3d- -_0x208c04._0x31951d,_0x425a08);}return createHash(_0x5d3391(0x7ad,_0x48162d._0x428358,0x5d3,_0x48162d._0x433372))['update'](_0x45a7f7)['digest'](_0x6a457f(0x588,_0x48162d._0x2712b5,_0x48162d._0x384cb2,_0x48162d._0x2a2e6d));}function _0x28bc81(_0x526092,_0x312368,_0x4606ce,_0x40aedb){const _0x464173={_0x169761:0x28};return _0x8662(_0x4606ce- -_0x464173._0x169761,_0x40aedb);}function countLines(_0x53ee1b){const _0x228cdf={_0x5b2ba4:0x6a6},_0x4bd14d={_0x263d0f:0x13e,_0x10e2be:0x1e1},_0x5c09e6={_0x2bae04:0xb5,_0x285889:0x6ca};function _0x2af230(_0x529a15,_0xb82181,_0x47c272,_0x4ff599){return _0x5b2413(_0x529a15-0x3b,_0xb82181-_0x5c09e6._0x2bae04,_0xb82181- -_0x5c09e6._0x285889,_0x529a15);}function _0x1a0597(_0x32d71a,_0x89b863,_0x12151f,_0x145f3c){return _0x28bc81(_0x32d71a-_0x4bd14d._0x263d0f,_0x89b863-0x1b,_0x89b863-_0x4bd14d._0x10e2be,_0x145f3c);}const _0x365f3f=_0x53ee1b[_0x1a0597(0x909,0x738,0x8b6,0x6b7)](/\n$/,'');return _0x365f3f[_0x1a0597(_0x228cdf._0x5b2ba4,0x72a,0x508,0x7b6)]===0x0?0x0:_0x365f3f['split']('\x0a')['length'];}function replaceFirstExact(_0x2c64bb,_0x54cc90,_0x464a4f){const _0xae37eb={_0x4e238d:0x7d7,_0x1a082d:0x9e8,_0x128c1e:0x6c7,_0x10ac48:0x940,_0x17e2d4:0x62a,_0x2e8a38:0x788,_0x1cadef:0x7d6,_0x409cb2:0x5f4,_0xae2575:0x75e,_0x3dc16d:0x647,_0x3f1e1e:0x84a},_0x1e9127={_0x350b77:0x78,_0x235abf:0x301},_0x19b30e={_0xcf185a:0x107,_0xf28785:0x1da,_0x5628df:0xa6},_0x46025d=_0x2c64bb['indexOf'](_0x54cc90);if(_0x46025d===-0x1)return void 0x0;function _0x1e992a(_0x375bc9,_0x5ec8b1,_0x1df76b,_0x13a28b){return _0x5b2413(_0x375bc9-_0x19b30e._0xcf185a,_0x5ec8b1-_0x19b30e._0xf28785,_0x5ec8b1- -_0x19b30e._0x5628df,_0x13a28b);}const _0x1006bc=_0x2c64bb[_0x1e992a(_0xae37eb._0x4e238d,0x7ce,_0xae37eb._0x1a082d,_0xae37eb._0x128c1e)](0x0,_0x46025d)[_0x3a3374(0x810,0x552,_0xae37eb._0x10ac48,0x746)]('\x0a')[_0x3a3374(0x89f,0x8c1,_0xae37eb._0x17e2d4,0x84a)],_0x1a54b6=countLines(_0x54cc90),_0x51204d=countLines(_0x464a4f);function _0x3a3374(_0x3114fe,_0x3b88fa,_0x2d8713,_0x3963ef){return _0x28bc81(_0x3114fe-0x42,_0x3b88fa-_0x1e9127._0x350b77,_0x3963ef-_0x1e9127._0x235abf,_0x3114fe);}return{'before':_0x2c64bb,'after':_0x2c64bb[_0x3a3374(0x8e0,_0xae37eb._0x2e8a38,0x992,_0xae37eb._0x1cadef)](0x0,_0x46025d)+_0x464a4f+_0x2c64bb[_0x3a3374(0x61c,_0xae37eb._0x409cb2,0x71d,_0xae37eb._0x1cadef)](_0x46025d+_0x54cc90[_0x3a3374(_0xae37eb._0xae2575,0xa20,_0xae37eb._0x3dc16d,_0xae37eb._0x3f1e1e)]),'lineNumbers':{'oldStartLine':_0x1006bc,'oldEndLine':_0x1006bc+_0x1a54b6-0x1,'newStartLine':_0x1006bc,'newEndLine':_0x1006bc+_0x51204d-0x1,'oldLineCount':_0x1a54b6,'newLineCount':_0x51204d}};}var MAX_OPERATIONS=0x64;function requireValidAnchorLine(_0x775438){const _0x94a5ce={_0x3356a3:0x349};function _0x5d5bd8(_0x4d53f2,_0x3b6dc1,_0x2c3394,_0x379245){return _0x28bc81(_0x4d53f2-0x1b9,_0x3b6dc1-0x1a5,_0x3b6dc1-0x192,_0x4d53f2);}if(!Number['isSafeInteger'](_0x775438)||_0x775438<0x1)throw createAnchoredFileError('invalid_range',_0x5d5bd8(0x6b2,0x4a0,_0x94a5ce._0x3356a3,0x5e0)+String(_0x775438)+'.');}function rangeLines(_0x3cca8a,_0x17a377){function _0x3a6521(_0x3bea3e,_0x310d8e,_0x285d22,_0x1af795){return _0x28bc81(_0x3bea3e-0x53,_0x310d8e-0x188,_0x1af795-0x156,_0x310d8e);}const _0x5d384b=[];for(let _0x5e63b1=_0x3cca8a;_0x5e63b1<=_0x17a377;_0x5e63b1+=0x1){_0x5d384b[_0x3a6521(0x450,0x4fd,0x72a,0x50c)](_0x5e63b1);}return _0x5d384b;}function normalizeContent(_0x505780){const _0x219f8a={_0x30e97d:0x3d7,_0x19905e:0x2a9,_0xee9489:0x3ba,_0x4df502:0x868,_0x126f79:0x733,_0x379e1b:0x944},_0x5a5bab={_0x4b17be:0x194,_0x45c1ab:0x3d,_0x1cbafa:0x51f},_0x184f4e={_0x22cb4d:0x139,_0x5a5ad1:0xb1};function _0x1b58ff(_0x39be19,_0x25280d,_0x3c3fe0,_0x508324){return _0x5b2413(_0x39be19-0x14d,_0x25280d-_0x184f4e._0x22cb4d,_0x25280d- -_0x184f4e._0x5a5ad1,_0x508324);}function _0x5313a0(_0x321784,_0x125703,_0x120196,_0x299c58){return _0x5b2413(_0x321784-_0x5a5bab._0x4b17be,_0x125703-_0x5a5bab._0x45c1ab,_0x321784- -_0x5a5bab._0x1cbafa,_0x299c58);}return _0x505780[_0x5313a0(_0x219f8a._0x30e97d,_0x219f8a._0x19905e,0x541,_0x219f8a._0xee9489)](/\r\n/g,'\x0a')[_0x1b58ff(_0x219f8a._0x4df502,_0x219f8a._0x126f79,0x5ed,_0x219f8a._0x379e1b)]('\x0a');}function planOperations(_0x574199,_0x5ef657){const _0x327570={_0x1ef1f1:0x3c4,_0xb19ccc:0x267,_0x397ba2:0x73b,_0x321fce:0x7a4,_0x44d8f0:0x42a,_0x3b9938:0x314,_0x597ff8:0x323,_0x1af978:0x305,_0x19d16b:0x1ec,_0x323538:0x3f8,_0x43e09b:0x545,_0x2dd45a:0x53f,_0x4d3822:0x357,_0x1cd2d0:0x412,_0x286321:0x5c7},_0x43ee0f={_0x48ee98:0x6a1,_0x175e68:0x74a,_0x567cd5:0x7d1,_0x51513e:0x751,_0x276181:0x804,_0xa3b7e8:0x4c3,_0x1a9274:0x809,_0x3bfc5e:0x8b0,_0x1e6f08:0x6df,_0x1299bd:0x6f6,_0x27c073:0x6f7,_0x215b54:0x58e,_0x239bfb:0x66a,_0x12d2ab:0x59c,_0x23c9a5:0x428,_0x3c9bda:0x403,_0x15150c:0x61f,_0x3c0518:0x718,_0x46fb9d:0x616,_0x2b3116:0x498,_0x17d3df:0x6e2,_0x223aff:0x392,_0x1e9b35:0x25e,_0x29da48:0x403,_0x4c775c:0x410,_0xfa1695:0x3da,_0x367473:0x7ab,_0x80936c:0x5bc,_0x2f61d1:0x670,_0x2d0b45:0x8e2,_0x1415b1:0xaa9,_0x3812ed:0x788,_0x113e02:0x5ea,_0x29cd4a:0xad5,_0x241d7a:0x596,_0x278eb4:0x8c7,_0xf1aeee:0x8b3,_0x4edcc2:0x538,_0x2a0de3:0x595,_0x1d36d7:0x662,_0x44b7d6:0x6d4,_0x4a9349:0x72e,_0x48a8a8:0x808,_0x72472d:0x70c,_0x2ea639:0xa03,_0x4de707:0x7f5,_0x2d626d:0x778,_0x36185a:0x7c0,_0x7f6a5b:0x8ff,_0x541ce0:0x649,_0x198c36:0x503,_0x173317:0x58e,_0x5aa985:0x649,_0x392e75:0x678,_0x32343b:0x521,_0x561232:0x394,_0x4d7a49:0x562,_0x272de1:0x4b4,_0x552ba8:0x4b6,_0x344630:0x9b5,_0x433414:0x649,_0x537f71:0x5e1,_0x1c2e61:0x4e7,_0x5830d8:0x9b6,_0x32c51f:0xacd,_0x129121:0xa80,_0x128787:0x8a6,_0x1db0e4:0x986,_0xa51b16:0x6cc,_0x9d0e6:0x698,_0x55a639:0x7f5,_0x5ba6c0:0x758,_0xf1149f:0x669,_0x317700:0x828,_0x3849c4:0x6dc,_0x4622f6:0x7a3,_0x232a98:0x773,_0x4f1537:0x7f5,_0x1f2845:0x687,_0x55517a:0x6db,_0x1f7de4:0x40e,_0x71facd:0x928,_0x47b823:0x5a7,_0x48366c:0x5b6,_0xd2281e:0x80c,_0x5bce58:0x40d,_0x5953d9:0x35d,_0x103c5b:0x624,_0x59b893:0x3b5,_0x1fd817:0x477,_0x56d14a:0x673,_0x5b1e74:0x675,_0x310414:0x788,_0x58a85c:0x952,_0x40dff1:0x1fc,_0x4eb05d:0x7a0,_0x1ef479:0x71e,_0x1fa80f:0x9f4,_0x25296a:0x7f7,_0x872653:0x5f6,_0x5b2b35:0xb24,_0x5ba4b1:0x800,_0x47f0b8:0x59e,_0x57fc34:0x7b4,_0xb694e6:0x4e0,_0x4ea397:0x548,_0x3308e7:0x4fb,_0x2c5de1:0xa66,_0x457982:0x888,_0x2c6376:0x69b,_0x109192:0x794,_0xba59de:0x60d,_0x8467d:0x884,_0x3b8363:0x77e,_0x512fc3:0xa07,_0x5e946a:0x86f,_0x3049a8:0xb16,_0x28ed29:0xb18,_0x21d7d6:0x961,_0xa6e8a1:0x8c3,_0x1cceb2:0x6f3,_0x4d6696:0x5d7,_0x1b8323:0x5fe,_0x3b2831:0x403,_0x49fb2b:0x389,_0x2453ce:0x6ca,_0x252e36:0x749},_0x291f00={_0x5d8fb1:0x347},_0x966fbf={_0x2e68a2:0x14c},_0x14a8b6={_0x2d9707:0x76,_0x401f9c:0xd8};function _0x3cd210(_0xa87cd8,_0x147b63,_0x398ab6,_0x137119){return _0x5b2413(_0xa87cd8-_0x14a8b6._0x2d9707,_0x147b63-_0x14a8b6._0x401f9c,_0x137119- -0x3a9,_0x147b63);}if(_0x5ef657['length']===0x0)throw createAnchoredFileError(_0x3cd210(0x46a,0x25b,_0x327570._0x1ef1f1,_0x327570._0xb19ccc),_0x3cd210(0x4af,0x5b6,0x323,0x3f3));if(_0x5ef657[_0x237a3c(_0x327570._0x397ba2,0x5bb,_0x327570._0x321fce,0x5fb)]>MAX_OPERATIONS)throw createAnchoredFileError(_0x237a3c(0x3ba,_0x327570._0x44d8f0,_0x327570._0x3b9938,_0x327570._0x597ff8),_0x3cd210(_0x327570._0x1af978,0x22d,_0x327570._0x19d16b,0x1dd)+MAX_OPERATIONS+_0x237a3c(0x611,_0x327570._0x323538,0x4b2,0x593));function _0x237a3c(_0x1efbaa,_0x21e1e6,_0x18fa64,_0x56dcdd){return _0x28bc81(_0x1efbaa-0x1a9,_0x21e1e6-_0x966fbf._0x2e68a2,_0x56dcdd-0xb2,_0x21e1e6);}if(_0x574199['lines'][_0x3cd210(0x4cc,0x492,_0x327570._0x43e09b,_0x327570._0x2dd45a)]===0x0)throw createAnchoredFileError(_0x237a3c(_0x327570._0x4d3822,0x4c5,_0x327570._0x1cd2d0,0x323),'Empty\x20files\x20have\x20no\x20observable\x20line\x20anchors;\x20anchored\x20edits\x20require\x20at\x20least\x20one\x20line.');return _0x5ef657[_0x3cd210(0x768,0x7c8,0x5b6,_0x327570._0x286321)](_0xcb4f7=>{const _0x5094ad={_0x2f37d1:0x7f};function _0x49c468(_0x4bf4b3,_0x1e6585,_0x520099,_0x1495ee){return _0x237a3c(_0x4bf4b3-_0x5094ad._0x2f37d1,_0x1495ee,_0x520099-0xd6,_0x1e6585-0xe0);}function _0x5e2308(_0x1c5e3e,_0x4bb4df,_0x548440,_0x5df23b){return _0x237a3c(_0x1c5e3e-0x18b,_0x4bb4df,_0x548440-0x145,_0x1c5e3e-_0x291f00._0x5d8fb1);}switch(_0xcb4f7[_0x49c468(_0x43ee0f._0x48ee98,_0x43ee0f._0x175e68,_0x43ee0f._0x567cd5,0x8d9)]){case _0x5e2308(0x950,0x9b5,_0x43ee0f._0x51513e,_0x43ee0f._0x276181):{requireValidAnchorLine(_0xcb4f7[_0x49c468(0x728,0x649,_0x43ee0f._0xa3b7e8,_0x43ee0f._0x1a9274)]),requireValidAnchorLine(_0xcb4f7['endLine']);if(_0xcb4f7[_0x5e2308(_0x43ee0f._0x3bfc5e,_0x43ee0f._0x1e6f08,_0x43ee0f._0x1299bd,0x76c)]>_0xcb4f7[_0x49c468(_0x43ee0f._0x27c073,_0x43ee0f._0x215b54,0x3e5,0x52f)])throw createAnchoredFileError(_0x5e2308(_0x43ee0f._0x239bfb,0x74f,0x44f,0x50b),'replace\x20startLine\x20must\x20not\x20exceed\x20endLine.');if(typeof _0xcb4f7['content']!==_0x49c468(_0x43ee0f._0x12d2ab,_0x43ee0f._0x23c9a5,0x399,0x3f3))throw createAnchoredFileError(_0x49c468(0x4fb,_0x43ee0f._0x3c9bda,_0x43ee0f._0x15150c,0x54f),_0x5e2308(_0x43ee0f._0x3c0518,0x5a8,0x50b,_0x43ee0f._0x46fb9d));if(_0xcb4f7['endLine']>_0x574199[_0x49c468(_0x43ee0f._0x2b3116,0x521,_0x43ee0f._0x17d3df,_0x43ee0f._0x223aff)]['length'])throw createAnchoredFileError(_0x49c468(_0x43ee0f._0x1e9b35,_0x43ee0f._0x29da48,_0x43ee0f._0x4c775c,_0x43ee0f._0xfa1695),_0x5e2308(_0x43ee0f._0x367473,_0x43ee0f._0x80936c,_0x43ee0f._0x2f61d1,_0x43ee0f._0x2d0b45)+_0xcb4f7[_0x5e2308(0x8b0,_0x43ee0f._0x1415b1,0x961,0xace)]+',\x20'+_0xcb4f7[_0x49c468(0x3a8,0x58e,0x79a,0x4f4)]+']\x20is\x20past\x20the\x20end\x20of\x20the\x20'+_0x574199[_0x5e2308(_0x43ee0f._0x3812ed,0x669,_0x43ee0f._0x3c0518,_0x43ee0f._0x113e02)][_0x5e2308(0x942,0x8d8,_0x43ee0f._0x29cd4a,0x8b9)]+_0x49c468(0x66e,0x63f,_0x43ee0f._0x241d7a,0x580));const _0x22f700=normalizeContent(_0xcb4f7[_0x5e2308(_0x43ee0f._0x278eb4,0x9a9,0xa04,0x97f)]);return{'kind':'replace','canonical':{'operation':_0x49c468(_0x43ee0f._0xf1aeee,0x6e9,_0x43ee0f._0x4edcc2,_0x43ee0f._0x2a0de3),'startLine':_0xcb4f7['startLine'],'endLine':_0xcb4f7[_0x5e2308(0x7f5,_0x43ee0f._0x1d36d7,0x8a1,0x9ba)],'content':_0x22f700['join']('\x0a')},'spliceIndex':_0xcb4f7[_0x5e2308(0x8b0,0xab0,0x85b,_0x43ee0f._0x44b7d6)]-0x1,'deleteCount':_0xcb4f7[_0x49c468(0x515,_0x43ee0f._0x215b54,0x522,_0x43ee0f._0x4a9349)]-_0xcb4f7[_0x5e2308(0x8b0,0xa89,0x93c,_0x43ee0f._0x48a8a8)]+0x1,'rows':_0x22f700,'sourceStart':_0xcb4f7['startLine'],'sourceEnd':_0xcb4f7['endLine'],'requiredLines':rangeLines(_0xcb4f7[_0x5e2308(0x8b0,_0x43ee0f._0x72472d,0x80c,_0x43ee0f._0x2ea639)],_0xcb4f7[_0x5e2308(_0x43ee0f._0x4de707,0x745,_0x43ee0f._0x2d626d,_0x43ee0f._0x36185a)])};}case _0x5e2308(_0x43ee0f._0x7f6a5b,0x821,0x7bb,0x930):{requireValidAnchorLine(_0xcb4f7[_0x49c468(0x803,_0x43ee0f._0x541ce0,0x755,0x4e6)]),requireValidAnchorLine(_0xcb4f7[_0x49c468(_0x43ee0f._0x198c36,_0x43ee0f._0x173317,0x3cb,0x747)]);if(_0xcb4f7[_0x49c468(0x867,_0x43ee0f._0x5aa985,0x65c,0x4b7)]>_0xcb4f7['endLine'])throw createAnchoredFileError(_0x5e2308(0x66a,_0x43ee0f._0x392e75,0x481,0x4d3),_0x5e2308(0x5fc,0x6f7,_0x43ee0f._0x113e02,0x446));if(_0xcb4f7['endLine']>_0x574199[_0x49c468(0x6ce,_0x43ee0f._0x32343b,0x499,_0x43ee0f._0x561232)]['length'])throw createAnchoredFileError(_0x49c468(_0x43ee0f._0x4d7a49,0x403,_0x43ee0f._0x272de1,_0x43ee0f._0x552ba8),_0x5e2308(0xa03,0x910,_0x43ee0f._0x344630,0xb70)+_0xcb4f7[_0x49c468(0x680,_0x43ee0f._0x433414,_0x43ee0f._0x537f71,_0x43ee0f._0x1c2e61)]+',\x20'+_0xcb4f7['endLine']+_0x5e2308(_0x43ee0f._0x5830d8,_0x43ee0f._0x32c51f,0xaec,_0x43ee0f._0x129121)+_0x574199['lines']['length']+_0x5e2308(_0x43ee0f._0x128787,_0x43ee0f._0x1db0e4,0x786,_0x43ee0f._0xa51b16));return{'kind':_0x49c468(_0x43ee0f._0xa3b7e8,_0x43ee0f._0x9d0e6,0x778,0x80d),'canonical':{'operation':'delete','startLine':_0xcb4f7['startLine'],'endLine':_0xcb4f7[_0x5e2308(_0x43ee0f._0x55a639,0x679,0x82a,_0x43ee0f._0x5ba6c0)]},'spliceIndex':_0xcb4f7[_0x5e2308(0x8b0,0x9e4,0x879,0x857)]-0x1,'deleteCount':_0xcb4f7[_0x49c468(0x5e2,_0x43ee0f._0x215b54,0x5ea,_0x43ee0f._0xf1149f)]-_0xcb4f7[_0x5e2308(0x8b0,_0x43ee0f._0x317700,_0x43ee0f._0x3849c4,0x941)]+0x1,'rows':[],'sourceStart':_0xcb4f7['startLine'],'sourceEnd':_0xcb4f7[_0x49c468(0x764,_0x43ee0f._0x173317,0x43b,_0x43ee0f._0x4622f6)],'requiredLines':rangeLines(_0xcb4f7[_0x5e2308(0x8b0,0x6a4,0x8dc,_0x43ee0f._0x232a98)],_0xcb4f7[_0x5e2308(_0x43ee0f._0x4f1537,0xa06,_0x43ee0f._0x1f2845,_0x43ee0f._0x55517a)])};}case'insert':{requireValidAnchorLine(_0xcb4f7['line']);if(_0xcb4f7[_0x49c468(0x5cb,_0x43ee0f._0x1f7de4,0x4b5,0x1f8)]!==_0x5e2308(0x747,_0x43ee0f._0x71facd,_0x43ee0f._0x47b823,_0x43ee0f._0x48366c)&&_0xcb4f7[_0x5e2308(0x675,_0x43ee0f._0xd2281e,0x5aa,0x66d)]!=='after')throw createAnchoredFileError('invalid_range',_0x49c468(_0x43ee0f._0x5bce58,_0x43ee0f._0x5953d9,0x234,0x297));if(typeof _0xcb4f7[_0x49c468(0x6a1,0x660,_0x43ee0f._0x1e6f08,_0x43ee0f._0x103c5b)]!==_0x49c468(_0x43ee0f._0x59b893,0x428,_0x43ee0f._0x1fd817,0x29b))throw createAnchoredFileError('invalid_range',_0x49c468(0x37d,0x506,0x665,_0x43ee0f._0x56d14a));if(_0xcb4f7[_0x49c468(0x823,0x7a0,_0x43ee0f._0x5b1e74,0x67f)]>_0x574199[_0x5e2308(_0x43ee0f._0x310414,_0x43ee0f._0x58a85c,0x811,0x7d6)][_0x5e2308(0x942,0x928,0xa23,0x8da)])throw createAnchoredFileError(_0x49c468(0x41e,0x403,_0x43ee0f._0x40dff1,0x243),'insert\x20line\x20'+_0xcb4f7[_0x49c468(0x86b,_0x43ee0f._0x4eb05d,_0x43ee0f._0x1ef479,0x8c0)]+_0x5e2308(_0x43ee0f._0x1fa80f,_0x43ee0f._0x25296a,0x83d,0xbb2)+_0x574199[_0x49c468(_0x43ee0f._0x872653,0x521,0x35e,0x5ff)][_0x5e2308(0x942,_0x43ee0f._0x5b2b35,0x9de,0xb05)]+_0x49c468(0x43f,0x63f,_0x43ee0f._0x5ba4b1,_0x43ee0f._0x47f0b8));const _0x387f8f=normalizeContent(_0xcb4f7[_0x5e2308(0x8c7,0x9ef,_0x43ee0f._0x57fc34,0x97a)]),_0x4e454e=_0xcb4f7[_0x5e2308(_0x43ee0f._0x5b1e74,0x897,0x4f1,0x519)]===_0x49c468(0x559,_0x43ee0f._0xb694e6,_0x43ee0f._0x4ea397,_0x43ee0f._0x3308e7)?_0xcb4f7[_0x5e2308(0xa07,0x9d9,_0x43ee0f._0x2c5de1,_0x43ee0f._0x457982)]-0x1:_0xcb4f7[_0x5e2308(0xa07,0x890,0x882,0xbd0)];return{'kind':_0x49c468(_0x43ee0f._0x2c6376,0x794,0x98c,0x5b2),'canonical':{'operation':_0x49c468(0x58f,_0x43ee0f._0x109192,0x971,_0x43ee0f._0xba59de),'position':_0xcb4f7[_0x5e2308(0x675,0x491,_0x43ee0f._0x8467d,_0x43ee0f._0x3b8363)],'line':_0xcb4f7[_0x5e2308(_0x43ee0f._0x512fc3,_0x43ee0f._0x5e946a,_0x43ee0f._0x3049a8,_0x43ee0f._0x28ed29)],'content':_0x387f8f[_0x5e2308(0x856,0x664,0x959,_0x43ee0f._0x21d7d6)]('\x0a')},'spliceIndex':_0x4e454e,'deleteCount':0x0,'rows':_0x387f8f,'gap':_0x4e454e,'requiredLines':[_0xcb4f7[_0x49c468(_0x43ee0f._0xa6e8a1,0x7a0,_0x43ee0f._0x1cceb2,_0x43ee0f._0x4d6696)]]};}default:{const _0x1dc545=_0xcb4f7;throw createAnchoredFileError(_0x49c468(_0x43ee0f._0x1b8323,_0x43ee0f._0x3b2831,_0x43ee0f._0x49fb2b,0x1e8),_0x5e2308(_0x43ee0f._0x2453ce,_0x43ee0f._0x252e36,0x6cb,0x784)+String(_0x1dc545['operation'])+'\x27.');}}});}function assertNoOverlaps(_0x439f00){const _0x1d59b6={_0x5a0eae:0x850,_0x5742c1:0x848,_0x1a2e0c:0x72d,_0x1c582e:0x796,_0x1c3138:0x2b5,_0x447520:0x343,_0x32b0d0:0x99e,_0x14f16c:0x6e2,_0x4c0596:0x707,_0x2272b6:0x812,_0x277f7c:0x69c,_0x4a0266:0x6c4,_0x11627c:0x314,_0x34d57b:0x55,_0x20031e:0x387,_0x1c5c35:0x365,_0x3425b0:0x265,_0x9739b:0x425,_0x5891e9:0x1b2,_0x467de6:0x43a,_0x593150:0x746,_0x42c418:0x803,_0x164dbe:0x32a,_0x2100b8:0x269,_0xca8a04:0x747,_0x5e5a36:0x7a5,_0x382e16:0x82c,_0x1d1aed:0x940,_0x2b94aa:0x874,_0x3c5721:0x95d,_0x25bd6e:0x95d,_0x5dc629:0xa04,_0x3b07e8:0x12c,_0x428c4a:0x2e7,_0x4b4c11:0x8f3,_0x589a00:0x33},_0x262764={_0x2063e6:0x5a5};function _0x17ec2f(_0x6bb0bf,_0x4a89ac,_0x590475,_0x51cf45){return _0x28bc81(_0x6bb0bf-0x138,_0x4a89ac-0x4a,_0x4a89ac-0x35c,_0x51cf45);}function _0x4b533b(_0x5f0ce2,_0x4d54ad,_0x323ace,_0x45e923){return _0x5b2413(_0x5f0ce2-0x15e,_0x4d54ad-0x1b3,_0x323ace- -_0x262764._0x2063e6,_0x45e923);}const _0x38d7c4=_0x439f00['filter'](_0x17631c=>_0x17631c[_0x4b533b(0x455,0x4f6,0x305,0x519)]===_0x4b533b(0x36a,0x46a,0x351,0x511)||_0x17631c[_0x4b533b(0x22b,0x29d,0x305,0x112)]===_0x4b533b(0x4bb,0x215,0x300,0x2c7)),_0x4a1139=_0x439f00[_0x17ec2f(_0x1d59b6._0x5a0eae,0x7e1,0x6df,_0x1d59b6._0x5742c1)](_0x524199=>_0x524199[_0x17ec2f(0x680,0x867,0x9af,0x8aa)]===_0x17ec2f(0x7bb,0x95e,0x99d,0x9f2));for(let _0x51f915=0x0;_0x51f915<_0x38d7c4[_0x17ec2f(_0x1d59b6._0x1a2e0c,0x8a5,_0x1d59b6._0x1c582e,0x930)];_0x51f915+=0x1){for(let _0x569c2d=_0x51f915+0x1;_0x569c2d<_0x38d7c4[_0x4b533b(0x21f,_0x1d59b6._0x1c3138,_0x1d59b6._0x447520,0x2dc)];_0x569c2d+=0x1){const _0x3d3b50=_0x38d7c4[_0x51f915],_0xa40c37=_0x38d7c4[_0x569c2d];if(Math[_0x17ec2f(0x646,0x7c3,_0x1d59b6._0x32b0d0,_0x1d59b6._0x14f16c)](_0x3d3b50['sourceStart'],_0xa40c37[_0x17ec2f(0x4f7,_0x1d59b6._0x4c0596,0x817,_0x1d59b6._0x2272b6)])<=Math[_0x17ec2f(0x57d,_0x1d59b6._0x277f7c,_0x1d59b6._0x4a0266,0x852)](_0x3d3b50['sourceEnd'],_0xa40c37[_0x4b533b(_0x1d59b6._0x11627c,-_0x1d59b6._0x34d57b,0x1c6,_0x1d59b6._0x20031e)]))throw createAnchoredFileError(_0x4b533b(0x22c,_0x1d59b6._0x1c5c35,_0x1d59b6._0x3425b0,_0x1d59b6._0x9739b),_0x4b533b(0x24a,-_0x1d59b6._0x5891e9,0x56,-0x2c));}}for(let _0x6b97c0=0x0;_0x6b97c0<_0x4a1139[_0x4b533b(0x552,_0x1d59b6._0x467de6,0x343,0x348)];_0x6b97c0+=0x1){for(let _0x33a833=_0x6b97c0+0x1;_0x33a833<_0x4a1139[_0x17ec2f(0x917,0x8a5,0x99d,0x7fa)];_0x33a833+=0x1){if(_0x4a1139[_0x6b97c0][_0x17ec2f(_0x1d59b6._0x593150,0x95d,_0x1d59b6._0x42c418,0x95f)]===_0x4a1139[_0x33a833][_0x4b533b(0x57c,_0x1d59b6._0x164dbe,0x3fb,_0x1d59b6._0x2100b8)])throw createAnchoredFileError(_0x17ec2f(0x6fd,0x7c7,_0x1d59b6._0xca8a04,_0x1d59b6._0x5e5a36),_0x17ec2f(0x796,_0x1d59b6._0x382e16,_0x1d59b6._0x1d1aed,0x826));}}for(const _0x49a1e6 of _0x4a1139){for(const _0x3d83ce of _0x38d7c4){if(_0x49a1e6[_0x17ec2f(_0x1d59b6._0x2b94aa,_0x1d59b6._0x3c5721,0xa9f,0x9ba)]>=_0x3d83ce['sourceStart']&&_0x49a1e6[_0x17ec2f(0xa2f,_0x1d59b6._0x25bd6e,_0x1d59b6._0x5dc629,0x7c3)]<=_0x3d83ce[_0x4b533b(_0x1d59b6._0x3b07e8,_0x1d59b6._0x428c4a,0x1c6,0x2ea)]-0x1)throw createAnchoredFileError(_0x17ec2f(_0x1d59b6._0x4b4c11,0x7c7,_0x1d59b6._0xca8a04,0x843),_0x4b533b(0x92,0x1a9,_0x1d59b6._0x589a00,0x15b));}}}function assertLinesObserved(_0x4c233f,_0x2ab427){const _0x11ac52={_0x408876:0x5a4,_0x1bcff7:0x387,_0x59ba3b:0x1df,_0xe0772f:0xc1,_0x3b26db:0xb1,_0xf13efa:0x145,_0x58ec8d:0xdc,_0x900151:0x481,_0x39a9cb:0x509,_0x5d6b7a:0x207},_0x2dbedc={_0x112865:0x8f,_0x17c25f:0x6c2},_0x35380a={_0x8900bd:0xf4,_0x107ffb:0x2c2},_0x513a29=new Set();function _0x4c5f7b(_0x12cf12,_0x49b058,_0x1c5b05,_0x17339d){return _0x5b2413(_0x12cf12-_0x35380a._0x8900bd,_0x49b058-0x17c,_0x12cf12- -_0x35380a._0x107ffb,_0x17339d);}for(const _0xce58ea of _0x4c233f){for(const _0x1836be of _0xce58ea[_0x4c5f7b(_0x11ac52._0x408876,0x7a4,_0x11ac52._0x1bcff7,0x480)]){_0x513a29[_0x5c7851(-0xb8,-_0x11ac52._0x59ba3b,_0x11ac52._0xe0772f,0x12c)](_0x1836be);}}const _0x370348=[..._0x513a29][_0x5c7851(-0x5b,-0xc,-_0x11ac52._0x3b26db,_0x11ac52._0xf13efa)]((_0x513591,_0x572787)=>_0x513591-_0x572787);function _0x5c7851(_0x3cca27,_0x367f15,_0x5203f8,_0x37f16d){return _0x5b2413(_0x3cca27-_0x2dbedc._0x112865,_0x367f15-0x3d,_0x3cca27- -_0x2dbedc._0x17c25f,_0x37f16d);}for(const _0x2d19b8 of _0x370348){if(!_0x2ab427[_0x5c7851(-0x18,0x1a1,-0xda,_0x11ac52._0x58ec8d)](_0x2d19b8))throw createAnchoredFileError(_0x4c5f7b(_0x11ac52._0x900151,0x55d,_0x11ac52._0x39a9cb,0x589),_0x4c5f7b(0x320,_0x11ac52._0x5d6b7a,0x2cd,0x401)+_0x2d19b8+'\x20must\x20be\x20observed\x20by\x20FileRead\x20before\x20it\x20can\x20be\x20used\x20as\x20an\x20edit\x20anchor.',{'requiredLines':_0x370348});}return _0x370348;}function applyOperations(_0x26911f,_0x4129e8){const _0x40347d={_0x2fd82c:0xdf,_0x555359:0x1b6,_0x3298ca:0x308,_0x4b6d43:0x37,_0x95868f:0xc1,_0x13c0da:0xcd,_0x3bd59f:0x61,_0x4a7384:0x1fc,_0x1b2680:0x1ad,_0x574c42:0x75,_0x45a152:0xb6,_0x5a28f8:0x119,_0x24e614:0x113},_0x3207b0={_0x43cba1:0xc},_0x287261={_0x1b5c89:0x570,_0x66965b:0x708,_0x1ec1ef:0x7a3,_0x18e61a:0x708,_0x2cf6e5:0x5d2,_0x36bad5:0x84f,_0x12ff57:0x7a7,_0x5175cf:0x7f6,_0x436c94:0x734},_0x571d4d={_0x5ccf5f:0x10e},_0x12d873={_0x4fd57d:0x6d1,_0x5c90eb:0xd8,_0x2fa743:0x7a},_0x5d8540={_0x5c59cc:0x35},_0x1078c2=[..._0x26911f['lines']];function _0x47451c(_0x58d3e7,_0x5f2334,_0x418ef3,_0x10b8d5){return _0x5b2413(_0x58d3e7-0x11d,_0x5f2334-_0x5d8540._0x5c59cc,_0x418ef3- -0x222,_0x5f2334);}const _0x1b6af6=[..._0x4129e8][_0x1e0083(-_0x40347d._0x2fd82c,-0xdb,-_0x40347d._0x555359,0x46)]((_0x40d253,_0x7bf745)=>{if(_0x40d253[_0x5d284c(0x8e1,0x5ce,_0x287261._0x1b5c89,0x708)]!==_0x7bf745[_0x5d284c(0x5ad,0x80e,0x50e,_0x287261._0x66965b)])return _0x7bf745[_0x5d284c(0x52a,0x5bf,_0x287261._0x1ec1ef,_0x287261._0x18e61a)]-_0x40d253[_0x3d95a1(_0x287261._0x2cf6e5,_0x287261._0x36bad5,0x6c9,0x8b4)];const _0x5a1c4a=_0x40d253['kind']===_0x5d284c(0x899,0x957,0xb25,0x92c),_0x671365=_0x7bf745[_0x3d95a1(0x96c,_0x287261._0x12ff57,_0x287261._0x5175cf,_0x287261._0x436c94)]==='insert';function _0x5d284c(_0x9ffca9,_0x2af43d,_0x37148e,_0x237307){return _0x1e0083(_0x237307-_0x12d873._0x4fd57d,_0x9ffca9,_0x37148e-_0x12d873._0x5c90eb,_0x237307-_0x12d873._0x2fa743);}if(_0x5a1c4a!==_0x671365)return _0x5a1c4a?0x1:-0x1;function _0x3d95a1(_0x55944e,_0x1ad7bd,_0x15b652,_0x44fe02){return _0x1e0083(_0x15b652-0x692,_0x1ad7bd,_0x15b652-_0x571d4d._0x5ccf5f,_0x44fe02-0x90);}return 0x0;});for(const _0x448a11 of _0x1b6af6){_0x1078c2[_0x1e0083(-0xf3,-0x11c,-_0x40347d._0x3298ca,-0x27f)](_0x448a11[_0x1e0083(_0x40347d._0x4b6d43,0x234,_0x40347d._0x95868f,0x1e3)],_0x448a11[_0x1e0083(-0x13d,-0x10a,_0x40347d._0x13c0da,-_0x40347d._0x3bd59f)],..._0x448a11[_0x1e0083(_0x40347d._0x4a7384,0x13f,_0x40347d._0x1b2680,_0x40347d._0x574c42)]);}if(_0x1078c2['length']===0x0)return'';function _0x1e0083(_0x1c194c,_0x33a4bb,_0x3f0038,_0x1e6f0d){return _0x28bc81(_0x1c194c-_0x3207b0._0x43cba1,_0x33a4bb-0x1c,_0x1c194c- -0x3a7,_0x33a4bb);}const _0x34a281=_0x1078c2[_0x1e0083(_0x40347d._0x45a152,_0x40347d._0x5a28f8,0x8b,_0x40347d._0x24e614)]('\x0a');return _0x26911f['finalNewline']?_0x34a281+'\x0a':_0x34a281;}function operationRowDelta(_0x1429c7){const _0xa49555={_0x17bf77:0x556,_0x4573ee:0x6ff,_0x190b7b:0x76d,_0x1b83bb:0x88d},_0x319cb0={_0x390fa7:0x1a4,_0x150a13:0x243},_0xbc8b18={_0x359a5f:0x40};function _0x2ded59(_0x553e48,_0x411fd0,_0x4212f0,_0x29af18){return _0x5b2413(_0x553e48-_0xbc8b18._0x359a5f,_0x411fd0-0xb2,_0x4212f0- -0x116,_0x29af18);}function _0x475f1e(_0x3a69f8,_0x34d4a4,_0x1b46a3,_0xaf1a60){return _0x5b2413(_0x3a69f8-_0x319cb0._0x390fa7,_0x34d4a4-0x2,_0x34d4a4- -_0x319cb0._0x150a13,_0xaf1a60);}return _0x1429c7[_0x475f1e(_0xa49555._0x17bf77,_0xa49555._0x4573ee,0x6fd,_0xa49555._0x190b7b)][_0x475f1e(0x862,0x6a5,_0xa49555._0x1b83bb,0x89d)]-_0x1429c7['deleteCount'];}function finalFileOrder(_0x5fae07){const _0x33bf2e={_0x5dc32b:0x555,_0x4656a0:0x479,_0x5bb774:0x6f5,_0x533855:0x4e4},_0x1db72d={_0x17b0c1:0x1cc,_0x4e481e:0x17b,_0x2d76c0:0x210,_0x5e7ad1:0x2ce,_0x196c28:0x7a,_0x19495f:0x312,_0x134056:0x675,_0x434e04:0x61a},_0x184eba={_0x45f749:0x21a,_0x5b99d1:0xec},_0x40bc7f={_0x5e274a:0x1c2,_0x37ae64:0x14e};function _0x528661(_0x2c2efb,_0x2655f9,_0x492487,_0x43cf04){return _0x28bc81(_0x2c2efb-_0x40bc7f._0x5e274a,_0x2655f9-_0x40bc7f._0x37ae64,_0x2c2efb-0x28d,_0x2655f9);}return[..._0x5fae07][_0x528661(_0x33bf2e._0x5dc32b,_0x33bf2e._0x4656a0,_0x33bf2e._0x5bb774,_0x33bf2e._0x533855)]((_0x53ae73,_0x3df56b)=>{const _0x2a7235={_0x2fefde:0xa8};if(_0x53ae73[_0x3c46aa(_0x1db72d._0x17b0c1,_0x1db72d._0x4e481e,_0x1db72d._0x2d76c0,_0x1db72d._0x5e7ad1)]!==_0x3df56b['spliceIndex'])return _0x53ae73['spliceIndex']-_0x3df56b[_0x3c46aa(0x318,_0x1db72d._0x4e481e,0x322,_0x1db72d._0x196c28)];const _0x1b6c7f=_0x53ae73[_0x3c46aa(_0x1db72d._0x19495f,0x2a8,0x3a3,0x3a2)]===_0x2a4ced(0x5ed,_0x1db72d._0x134056,_0x1db72d._0x434e04,0x463);function _0x2a4ced(_0x47cd11,_0x2e7206,_0x515721,_0xf39013){return _0x528661(_0x2e7206- -_0x184eba._0x45f749,_0xf39013,_0x515721-_0x184eba._0x5b99d1,_0xf39013-0x128);}const _0x53ded8=_0x3df56b[_0x2a4ced(0x61c,0x57e,0x542,0x6bb)]==='insert';if(_0x1b6c7f!==_0x53ded8)return _0x1b6c7f?-0x1:0x1;function _0x3c46aa(_0x1e1a2e,_0x4719db,_0x3dbf34,_0x68fada){return _0x528661(_0x4719db- -0x4f0,_0x3dbf34,_0x3dbf34-_0x2a7235._0x2fefde,_0x68fada-0xb4);}return 0x0;});}function computeFinalFileNewSideLines(_0xf77d9d){const _0x456adb={_0x42a966:0x7b1,_0x5e2b17:0x8c2,_0x5e6ecb:0x5c9,_0x3f8279:0x5ee,_0x427252:0x329,_0x52bf3c:0x4ae,_0x34b63f:0x332,_0x5de29c:0x5b6,_0x233e72:0x583,_0x27fa9f:0x6f2,_0x23946b:0x696,_0x545fc9:0x9d9,_0x3bbd7f:0x876,_0x2a8032:0x44e,_0x1b3bbd:0x568,_0x115089:0xa04,_0x531a0d:0x6c5,_0x420f28:0x838,_0xc8bab7:0x168,_0x32c3cf:0x20b,_0x46c17e:0x52,_0x57f94f:0x773,_0x36daba:0x984,_0x40c76a:0x76e,_0xb0548c:0x802,_0x58b378:0x7b1,_0x370e99:0x705,_0x256862:0x95},_0x4791b5={_0x4ecf7d:0x1c4};function _0x431dbc(_0x9d7944,_0x31dd12,_0x442c5c,_0x589b0d){return _0x5b2413(_0x9d7944-_0x4791b5._0x4ecf7d,_0x31dd12-0x183,_0x442c5c- -0x53f,_0x31dd12);}const _0x3028db=new Array(_0xf77d9d[_0x4373b2(0x879,0x99e,_0x456adb._0x42a966,0x718)]);let _0x2f60dc=0x0;function _0x4373b2(_0x2bac65,_0x5f2ce8,_0xe6f01a,_0x317be0){return _0x5b2413(_0x2bac65-0x1aa,_0x5f2ce8-0x1bb,_0xe6f01a- -0x137,_0x317be0);}for(const _0x460f99 of finalFileOrder(_0xf77d9d)){const _0xd05b98=_0x460f99[_0x4373b2(0x5e2,_0x456adb._0x5e2b17,0x773,0x8a2)]==='insert'?_0x460f99[_0x4373b2(_0x456adb._0x5e6ecb,_0x456adb._0x3f8279,0x568,0x57a)][_0x4373b2(_0x456adb._0x427252,_0x456adb._0x52bf3c,0x4e4,_0x456adb._0x34b63f)]===_0x4373b2(0x610,0x5e0,_0x456adb._0x5de29c,0x4f2)?_0x460f99[_0x4373b2(0x57b,_0x456adb._0x233e72,0x568,_0x456adb._0x27fa9f)][_0x4373b2(_0x456adb._0x23946b,_0x456adb._0x545fc9,_0x456adb._0x3bbd7f,0x9b8)]:_0x460f99[_0x4373b2(0x41e,_0x456adb._0x2a8032,_0x456adb._0x1b3bbd,0x617)][_0x4373b2(_0x456adb._0x115089,_0x456adb._0x531a0d,0x876,_0x456adb._0x420f28)]+0x1:_0x460f99[_0x431dbc(_0x456adb._0xc8bab7,0x308,_0x456adb._0x32c3cf,_0x456adb._0x46c17e)],_0x4080fc=_0xd05b98+_0x2f60dc,_0x12c3cf=_0x460f99[_0x4373b2(0x7fb,0x891,_0x456adb._0x57f94f,_0x456adb._0x36daba)]===_0x4373b2(0x65b,_0x456adb._0x3bbd7f,_0x456adb._0x40c76a,0x620)?0x0:_0x460f99['rows'][_0x4373b2(0x613,_0x456adb._0xb0548c,_0x456adb._0x58b378,_0x456adb._0x370e99)];_0x3028db[_0xf77d9d[_0x431dbc(0x1e5,0x262,0xc2,_0x456adb._0x256862)](_0x460f99)]={'newStartLine':_0x4080fc,'newEndLine':_0x4080fc+_0x12c3cf-0x1},_0x2f60dc+=operationRowDelta(_0x460f99);}return _0x3028db;}function buildBlock(_0x2aa906,_0x1c1b38,_0x933682,_0x53629d){const _0x209e56={_0x5b949e:0x57e,_0x476995:0x2ee,_0x35433e:0x39b,_0x3d9328:0x2ca,_0xa5d3b7:0x5bc,_0xa7fb3:0x86d,_0x2c3df6:0x51f,_0x286ec8:0x393,_0x305548:0x4c5,_0x2d1115:0x48e,_0x34ce35:0x5cf,_0x4cc62f:0x548,_0x476644:0x5f2,_0x446aea:0x614,_0x3339c6:0x4b7,_0x587a06:0x5c4,_0x49e8c6:0x538,_0x8557a9:0x2e4,_0x9292c3:0x327,_0xe7cfc4:0x497,_0x9ccd04:0x487,_0x3abb3a:0x46b,_0x5eac5a:0x419,_0x392866:0x4f4,_0x2e75ed:0x60e,_0x14021c:0x605,_0x3c1c87:0x71d,_0x34b008:0x453,_0x4ac39c:0x36e,_0x1a745a:0x327,_0x3c3844:0x446,_0x597c4a:0x324,_0x162411:0x661},_0x43da7c={_0x57d1e0:0x18b,_0x5b5cc8:0x1e1};if(_0x1c1b38['kind']===_0x243697(0x78b,0x3ee,0x4a6,_0x209e56._0x5b949e)){const {line:_0x30cb53,position:_0x5903c9}=_0x1c1b38[_0x243697(_0x209e56._0x476995,0x443,0x452,0x27c)],_0x132c70=_0x5903c9===_0x243697(0x47d,0x469,_0x209e56._0x35433e,_0x209e56._0x3d9328)?_0x30cb53:_0x30cb53+0x1;return{'oldText':'','newText':_0x1c1b38[_0x5b27cb(0x68e,_0x209e56._0xa5d3b7,0x620,_0x209e56._0xa7fb3)]['join']('\x0a'),'lineNumbers':{'oldStartLine':_0x132c70,'oldEndLine':_0x132c70-0x1,'newStartLine':_0x933682,'newEndLine':_0x53629d,'oldLineCount':0x0,'newLineCount':_0x1c1b38[_0x243697(0x64a,0x674,0x511,_0x209e56._0x2c3df6)][_0x243697(0x5f0,_0x209e56._0x286ec8,0x432,_0x209e56._0x305548)]}};}const _0x2db855=_0x2aa906['lines'][_0x5b27cb(0x5c0,_0x209e56._0x2d1115,_0x209e56._0x34ce35,0x65c)](_0x1c1b38['sourceStart']-0x1,_0x1c1b38['sourceEnd'])[_0x5b27cb(_0x209e56._0x4cc62f,0x62e,_0x209e56._0x476644,_0x209e56._0x446aea)]('\x0a');function _0x5b27cb(_0x23c523,_0x2c3fd9,_0x208530,_0x7e08c1){return _0x5b2413(_0x23c523-_0x43da7c._0x57d1e0,_0x2c3fd9-_0x43da7c._0x5b5cc8,_0x23c523- -0x2b4,_0x208530);}function _0x243697(_0x471266,_0x3d5437,_0x38b686,_0x409fcc){return _0x28bc81(_0x471266-0x80,_0x3d5437-0x75,_0x409fcc- -0x84,_0x471266);}const _0x52fe44=_0x1c1b38[_0x5b27cb(_0x209e56._0x3339c6,_0x209e56._0x587a06,_0x209e56._0x49e8c6,_0x209e56._0x8557a9)]-_0x1c1b38[_0x243697(0x1db,0x520,0x2f0,_0x209e56._0x9292c3)]+0x1;if(_0x1c1b38[_0x243697(0x649,_0x209e56._0xe7cfc4,0x2ea,_0x209e56._0x9ccd04)]===_0x243697(_0x209e56._0x3abb3a,_0x209e56._0x5eac5a,_0x209e56._0x392866,0x482))return{'oldText':_0x2db855,'newText':'','lineNumbers':{'oldStartLine':_0x1c1b38['sourceStart'],'oldEndLine':_0x1c1b38[_0x5b27cb(_0x209e56._0x3339c6,_0x209e56._0x2e75ed,_0x209e56._0x14021c,0x419)],'newStartLine':_0x933682,'newEndLine':_0x933682-0x1,'oldLineCount':_0x52fe44,'newLineCount':0x0}};return{'oldText':_0x2db855,'newText':_0x1c1b38[_0x243697(0x34d,_0x209e56._0x3c1c87,0x352,0x51f)]['join']('\x0a'),'lineNumbers':{'oldStartLine':_0x1c1b38[_0x243697(0x3e9,_0x209e56._0x34b008,_0x209e56._0x4ac39c,_0x209e56._0x1a745a)],'oldEndLine':_0x1c1b38[_0x5b27cb(0x4b7,0x64d,_0x209e56._0x3c3844,0x5a3)],'newStartLine':_0x933682,'newEndLine':_0x53629d,'oldLineCount':_0x52fe44,'newLineCount':_0x1c1b38[_0x243697(0x6ff,_0x209e56._0x597c4a,_0x209e56._0x162411,0x51f)]['length']}};}function stableStringify(_0x1d422f){const _0x360370={_0x3f21ca:0x15b,_0xf940e1:0x56,_0x232d38:0x576,_0x18d9bc:0xbe,_0x52b788:0x31,_0x2ffae5:0x2b4,_0x4b7e13:0x7f,_0x56bbda:0x20a,_0x71b308:0x3ca,_0x261d11:0x25f,_0x33445b:0x26d,_0x5dc56d:0x749,_0x1be97c:0xbe,_0x2170d5:0x148},_0x2ac3ee={_0x554ae2:0x25,_0x500f63:0x73e},_0x1fcb9d={_0x10231c:0x1e2};if(Array[_0x271b1c(-0x33c,-_0x360370._0x3f21ca,_0x360370._0xf940e1,-0x24)](_0x1d422f))return'['+_0x1d422f[_0x1c7933(0x532,0x70f,0x5ba,_0x360370._0x232d38)](stableStringify)[_0x271b1c(-0x2a,_0x360370._0x18d9bc,-_0x360370._0x52b788,0x6e)](',')+']';function _0x1c7933(_0x375c2c,_0x124603,_0x4251fc,_0x16d5cd){return _0x28bc81(_0x375c2c-_0x1fcb9d._0x10231c,_0x124603-0xa8,_0x16d5cd- -0x5b,_0x124603);}function _0x271b1c(_0x37c90c,_0x56aae1,_0x5bd998,_0x45c911){return _0x5b2413(_0x37c90c-0x1a5,_0x56aae1-_0x2ac3ee._0x554ae2,_0x56aae1- -_0x2ac3ee._0x500f63,_0x5bd998);}if(_0x1d422f!==null&&typeof _0x1d422f===_0x1c7933(_0x360370._0x2ffae5,_0x360370._0x4b7e13,0x1f3,_0x360370._0x56bbda)){const _0x26c7e3=_0x1d422f;return'{'+Object['keys'](_0x26c7e3)[_0x1c7933(_0x360370._0x71b308,0x16d,_0x360370._0x261d11,_0x360370._0x33445b)]()[_0x1c7933(0x583,0x3f3,_0x360370._0x5dc56d,_0x360370._0x232d38)](_0x162abe=>JSON[_0x1c7933(0x6b4,0x2c0,0x553,0x4d9)](_0x162abe)+':'+stableStringify(_0x26c7e3[_0x162abe]))[_0x271b1c(0x106,_0x360370._0x1be97c,_0x360370._0x2170d5,0xde)](',')+'}';}return JSON['stringify'](_0x1d422f);}function prepareCanonicalFileEdit(_0x2c20c0,_0xc183f1,_0x3b71d6){const _0x550d96={_0x426595:0x44b,_0x7cdba6:0x928,_0x1c940c:0x6fc,_0x5bb928:0x913,_0x404581:0xa4c},_0x2fd3d1={_0x2146f9:0x66},_0xfa725b={_0x5d3519:0x12a},_0x2ff250=planOperations(_0x2c20c0,_0x3b71d6);assertNoOverlaps(_0x2ff250);function _0x4d0f5(_0x489e17,_0x154e31,_0x564de6,_0x34e28d){return _0x28bc81(_0x489e17-_0xfa725b._0x5d3519,_0x154e31-0x6c,_0x34e28d-0x18d,_0x154e31);}const _0x43609e=assertLinesObserved(_0x2ff250,_0xc183f1),_0x54fa53=applyOperations(_0x2c20c0,_0x2ff250);if(_0x54fa53===_0x2c20c0['text'])throw createAnchoredFileError(_0x396c34(0x4bb,_0x550d96._0x426595,0x371,0x4b9),_0x4d0f5(0x59c,_0x550d96._0x7cdba6,_0x550d96._0x1c940c,0x791));const _0x443c65=_0x2ff250[_0x396c34(0x87d,0x6f8,_0x550d96._0x5bb928,_0x550d96._0x404581)](_0x345e33=>_0x345e33[_0x4d0f5(0x56b,0x66f,0x60e,0x48d)]);function _0x396c34(_0x3886e9,_0xba759d,_0x114fc7,_0x38c64c){return _0x5b2413(_0x3886e9-_0x2fd3d1._0x2146f9,_0xba759d-0x9b,_0x3886e9- -0xf3,_0x114fc7);}const _0x1b2752=computeFinalFileNewSideLines(_0x2ff250);return{'afterText':_0x54fa53,'operations':_0x443c65,'blocks':_0x2ff250['map']((_0x1ff7d9,_0x45a0b0)=>{const {newStartLine:_0x5b4005,newEndLine:_0x41ae71}=_0x1b2752[_0x45a0b0];return buildBlock(_0x2c20c0,_0x1ff7d9,_0x5b4005,_0x41ae71);}),'requiredLines':_0x43609e,'payloadDigest':sha256Bytes(stableStringify(_0x443c65))};}import _0x1a7d95 from'string-width';var EMPTY_FILE_MESSAGE=_0x5b2413(0x767,0x896,0x788,0x89b);function clampLine(_0x59966d,_0x3143b5){const _0x51dc41={_0x18753f:0x204,_0x2ab97f:0x14b,_0x5a3f1d:0x35,_0x18f88a:0x1d8,_0x27185a:0xfd},_0xdefb45={_0x5e13a9:0x110},_0x5fcffe={_0x566a02:0x15e};function _0x36c497(_0x1dc15a,_0x3a9d18,_0x525062,_0x3856c8){return _0x28bc81(_0x1dc15a-0x1b,_0x3a9d18-_0x5fcffe._0x566a02,_0x1dc15a- -0x2ff,_0x3a9d18);}if(!Number[_0x36c497(_0x51dc41._0x18753f,0x305,0x1d0,_0x51dc41._0x2ab97f)](_0x59966d))return 0x1;function _0x1bce23(_0x2092ec,_0x5a3ac2,_0x103e96,_0x5245e2){return _0x28bc81(_0x2092ec-_0xdefb45._0x5e13a9,_0x5a3ac2-0xe0,_0x2092ec- -0x297,_0x5245e2);}return Math['max'](0x1,Math['min'](Math[_0x36c497(_0x51dc41._0x5a3f1d,0x58,-_0x51dc41._0x18f88a,_0x51dc41._0x27185a)](_0x59966d),_0x3143b5));}function formatAnchoredFileRead(_0x4e0fbc){const _0x50dd0c={_0x2f4a03:0x563,_0x528881:0x5ed,_0x194a7b:0x409,_0x30b688:0x3ae,_0x3f592c:0x32d,_0x51ae7d:0x45d,_0x416504:0x189,_0x310309:0x216,_0x360f34:0x523,_0x2a47c6:0x329,_0x12326b:0x3d3,_0x41e999:0x468,_0x9455fb:0x4af,_0x462bd4:0x4f5,_0x173d69:0x438,_0x11edce:0x3e8,_0x68bf02:0x2b5,_0x531df9:0x3b8,_0x59f874:0x473,_0x4c94ab:0x342,_0x31b183:0x3db,_0x28b07b:0x4e0,_0x3c8cdd:0x4c7,_0x2f6d4b:0x3a6,_0x50fc16:0x45a,_0x5a46cb:0x600,_0x288157:0x3e3},_0x4d973e={_0x446671:0xa4},_0x2c015c={_0x3d7569:0x153,_0x55ca8a:0x1cb,_0x4fd809:0x82},{displayPath:_0x12c085,snapshot:_0x5b4312,maxBytes:_0x143a74}=_0x4e0fbc,_0x1624ff=_0x5b4312['lines'][_0x5db706(_0x50dd0c._0x2f4a03,_0x50dd0c._0x528881,_0x50dd0c._0x194a7b,0x5b2)];function _0x1b4a56(_0x13c956,_0x50353b,_0x29aa2c,_0x2ff55b){return _0x28bc81(_0x13c956-_0x2c015c._0x3d7569,_0x50353b-_0x2c015c._0x55ca8a,_0x50353b- -_0x2c015c._0x4fd809,_0x2ff55b);}const _0x5171c0='['+_0x12c085+'#'+_0x5b4312[_0x5db706(0x509,_0x50dd0c._0x30b688,_0x50dd0c._0x3f592c,_0x50dd0c._0x51ae7d)]+']\x0a',_0x348be5=Buffer['byteLength'](_0x5171c0,'utf8');if(_0x1624ff===0x0){const _0x440687=''+_0x5171c0+EMPTY_FILE_MESSAGE+'\x0a';return{'output':_0x440687,'displayedLines':[],'truncated':![]};}const _0x4319c5=clampLine(_0x4e0fbc[_0x1b4a56(_0x50dd0c._0x416504,0x3a0,0x18b,_0x50dd0c._0x310309)]??0x1,_0x1624ff),_0x41f493=clampLine(_0x4e0fbc[_0x1b4a56(0x741,_0x50dd0c._0x360f34,0x35d,0x459)]??_0x1624ff,_0x1624ff),_0x5ec70b=Math[_0x5db706(0x30a,0x3e4,0x568,0x34d)](_0x4319c5,_0x41f493);function _0x5db706(_0x51a308,_0x2a9ccd,_0x5a06e9,_0x1d31cc){return _0x28bc81(_0x51a308-0x5f,_0x2a9ccd-0x9d,_0x2a9ccd-_0x4d973e._0x446671,_0x51a308);}const _0x571cbd=Math[_0x5db706(_0x50dd0c._0x2a47c6,0x50b,_0x50dd0c._0x12326b,0x34f)](_0x4319c5,_0x41f493),_0x53748a=[],_0x237c78=[];let _0x3d84d0=_0x348be5;for(let _0xdda390=_0x5ec70b;_0xdda390<=_0x571cbd;_0xdda390+=0x1){const _0x12e4be=_0xdda390+':'+_0x5b4312[_0x5db706(_0x50dd0c._0x41e999,0x433,_0x50dd0c._0x9455fb,0x3a7)][_0xdda390-0x1]+'\x0a',_0x1f4444=Buffer['byteLength'](_0x12e4be,_0x5db706(0x266,0x31d,_0x50dd0c._0x462bd4,0x2e4)),_0x209801=_0xdda390+0x1,_0x1d9700=Buffer[_0x5db706(_0x50dd0c._0x173d69,_0x50dd0c._0x11edce,0x3ee,_0x50dd0c._0x68bf02)]('Read\x20the\x20next\x20range\x20with\x20lineStart:\x20'+_0x209801+'.\x0a','utf8');if(_0x3d84d0+_0x1f4444+_0x1d9700>_0x143a74){const _0x29830a=_0x1b4a56(0x52d,_0x50dd0c._0x531df9,_0x50dd0c._0x59f874,0x5d2)+_0xdda390+'.\x0a';return{'output':''+_0x5171c0+_0x53748a[_0x1b4a56(_0x50dd0c._0x4c94ab,_0x50dd0c._0x31b183,0x29b,_0x50dd0c._0x28b07b)]('')+_0x29830a,'displayedLines':_0x237c78,'lineStart':_0x5ec70b,'lineEnd':_0x237c78[_0x237c78[_0x1b4a56(0x506,_0x50dd0c._0x3c8cdd,0x649,_0x50dd0c._0x2f6d4b)]-0x1],'truncated':!![],'nextLineStart':_0xdda390};}_0x53748a['push'](_0x12e4be),_0x237c78[_0x5db706(0x5b9,_0x50dd0c._0x50fc16,_0x50dd0c._0x5a46cb,_0x50dd0c._0x288157)](_0xdda390),_0x3d84d0+=_0x1f4444;}return{'output':''+_0x5171c0+_0x53748a['join'](''),'displayedLines':_0x237c78,'lineStart':_0x5ec70b,'lineEnd':_0x571cbd,'truncated':![]};}function isWithinDisplayColumns(_0x2410c0,_0x4eb97d){return _0x1a7d95(_0x2410c0)<=_0x4eb97d;}import{randomUUID as _0xee8a80}from'crypto';import{chmod,rename,rm,writeFile as _0x3fdff1}from'fs/promises';import*as _0x23d975 from'path';var defaultFileSystem={'writeFile':_0x3fdff1,'chmod':chmod,'rename':rename,'rm':rm};async function atomicReplaceFile(_0x53b828,_0x1f5088,_0x21a5c8,_0x2e1f43){const _0x1a9022={_0x36e57d:0x7f,_0x433b78:0x6f,_0x3ee65b:0x5c5,_0x11e781:0x83f,_0x2a8a91:0x7a1,_0x4baa8c:0x130,_0x5baabb:0x51,_0x1e2309:0x24a,_0x32fe09:0x3a0,_0x3fa658:0x5be,_0xd6d301:0x1dd},_0x472890={_0x17e100:0x195,_0x13bc8b:0x340},_0x2b6353={_0x580f62:0x84,_0x3a2365:0x255},_0x1c2be0=_0x2e1f43??defaultFileSystem,_0x340094=_0x23d975[_0x5368da(-_0x1a9022._0x36e57d,_0x1a9022._0x433b78,-0x15f,0x22)](_0x53b828);function _0x5368da(_0x337c8a,_0x5e818f,_0x55c609,_0x10a563){return _0x28bc81(_0x337c8a-_0x2b6353._0x580f62,_0x5e818f-0x108,_0x337c8a- -_0x2b6353._0x3a2365,_0x5e818f);}const _0x8d8d2b=_0x23d975[_0x358ca0(0x8fe,0x79d,0x6cf,_0x1a9022._0x3ee65b)](_0x340094,_0x358ca0(0x7dd,_0x1a9022._0x11e781,_0x1a9022._0x2a8a91,0x9f1)+_0x23d975[_0x5368da(_0x1a9022._0x4baa8c,_0x1a9022._0x5baabb,-0xae,_0x1a9022._0x1e2309)](_0x53b828)+'.'+_0xee8a80());function _0x358ca0(_0x2fa5d9,_0x5f29ca,_0x47b524,_0x2e54ce){return _0x28bc81(_0x2fa5d9-0x1e9,_0x5f29ca-_0x472890._0x17e100,_0x5f29ca-_0x472890._0x13bc8b,_0x2fa5d9);}const _0x38d1ec=_0x21a5c8&0xfff;try{await _0x1c2be0[_0x5368da(_0x1a9022._0x32fe09,0x30a,_0x1a9022._0x3fa658,0x2ad)](_0x8d8d2b,_0x1f5088,{'mode':_0x38d1ec}),await _0x1c2be0['chmod'](_0x8d8d2b,_0x38d1ec),await _0x1c2be0[_0x5368da(-0x55,-0x149,0x103,-_0x1a9022._0xd6d301)](_0x8d8d2b,_0x53b828);}finally{await _0x1c2be0['rm'](_0x8d8d2b,{'force':!![]});}}var utf8Decoder=new TextDecoder(_0x28bc81(0x5eb,0x6c5,0x598,0x6ad),{'fatal':!![],'ignoreBOM':!![]});function exactReplacementGuidance(_0x4a16b7,_0x2fd244){const _0xffc133={_0x3f023f:0x970,_0x572ec7:0xa6b,_0x3c877d:0xb81},_0x44cb68={_0x529227:0x3d3};function _0x2793e3(_0x1fb0c8,_0x1aacc4,_0x29cc5d,_0xab6e0c){return _0x28bc81(_0x1fb0c8-0xb9,_0x1aacc4-0x11a,_0x1fb0c8-_0x44cb68._0x529227,_0x29cc5d);}throw createAnchoredFileError('unknown_snapshot',_0x2fd244+'\x20'+_0x4a16b7+_0x2793e3(_0xffc133._0x3f023f,_0xffc133._0x572ec7,0x7b2,_0xffc133._0x3c877d),{'path':_0x4a16b7});}function createNormalizedFileSnapshot(_0x525a38,_0x4851fe,_0xdf3c8e){const _0x5c920c={_0x2355b5:0x5ed,_0xac277f:0x49e,_0x5eaf88:0x4ab,_0x5f1adc:0x786,_0x272427:0x8c9,_0x32cb55:0x643,_0x41c330:0x5d5,_0x24a67e:0x7cc,_0x4a6bf6:0x786,_0x116f57:0x7d0,_0xd9e119:0x8ee,_0x118ff5:0x753,_0x4b4cb6:0x53e,_0x2da2c2:0x72e,_0x50787f:0x3be,_0x315962:0xa9c,_0x2cf14f:0xa16,_0x1b56e8:0x8a8,_0x1a07b8:0x691,_0x4621b6:0x41c,_0x2eafa0:0x618,_0x4a4810:0x732,_0x5b8108:0x69f,_0x2c3221:0x65c,_0x8a5138:0x992,_0x2dbeec:0x95e,_0x58c41b:0x5a3,_0x40a9fc:0x778,_0x5da95c:0x88e,_0x1924e6:0x70f,_0x57c3d9:0x86e,_0x234d4e:0x472,_0x334fa2:0x69b,_0x1a69a5:0x74f,_0x43b540:0x6eb},_0x3da450={_0x456c4d:0xfc},_0x4cf5f3={_0x1ff208:0x1c8};Buffer[_0x4b4a9c(_0x5c920c._0x2355b5,0x40b,_0x5c920c._0xac277f,_0x5c920c._0x5eaf88)](_0x4851fe)[_0x150877(0x938,0x66d,_0x5c920c._0x5f1adc,0x783)](0x0)&&exactReplacementGuidance(_0x525a38,_0x150877(0x9c7,_0x5c920c._0x272427,0x850,_0x5c920c._0x32cb55)+_0x525a38+_0x4b4a9c(_0x5c920c._0x41c330,0x768,_0x5c920c._0x24a67e,_0x5c920c._0x4a6bf6));let _0x1a3f18;try{_0x1a3f18=utf8Decoder[_0x150877(0x64a,0x5cf,_0x5c920c._0x116f57,_0x5c920c._0xd9e119)](_0x4851fe);}catch{exactReplacementGuidance(_0x525a38,_0x4b4a9c(_0x5c920c._0x118ff5,_0x5c920c._0x4b4cb6,0x66b,_0x5c920c._0x2da2c2)+_0x525a38+_0x4b4a9c(0x408,_0x5c920c._0x50787f,0x4b5,0x503));}const _0x46b304=_0x1a3f18[_0x4b4a9c(_0x5c920c._0x315962,_0x5c920c._0x2cf14f,_0x5c920c._0x2cf14f,_0x5c920c._0x1b56e8)](0x0)===0xfeff;if(_0x46b304)_0x1a3f18=_0x1a3f18['slice'](0x1);function _0x150877(_0x1659e6,_0xe80b38,_0x2e7319,_0x59a55c){return _0x28bc81(_0x1659e6-0x94,_0xe80b38-_0x4cf5f3._0x1ff208,_0x2e7319-0x3c5,_0x1659e6);}const _0x5ad8cd=_0x1a3f18[_0x150877(_0x5c920c._0x1a07b8,0x850,_0x5c920c._0x5f1adc,0x837)]('\x0d\x0a'),_0x415768=/(?<!\r)\n/[_0x4b4a9c(0x615,0x55a,_0x5c920c._0x4621b6,_0x5c920c._0x2eafa0)](_0x1a3f18);function _0x4b4a9c(_0x4af52f,_0x5d0925,_0x59ce86,_0x37ee94){return _0x5b2413(_0x4af52f-0x19,_0x5d0925-0x13b,_0x37ee94- -_0x3da450._0x456c4d,_0x59ce86);}_0x5ad8cd&&_0x415768&&exactReplacementGuidance(_0x525a38,_0x150877(_0x5c920c._0x4a4810,_0x5c920c._0x5b8108,0x850,_0x5c920c._0x2c3221)+_0x525a38+_0x4b4a9c(0xa04,0x992,0x84d,0x885));const _0x4d8ae3=_0x5ad8cd?_0x150877(_0x5c920c._0x8a5138,0xa3e,0x8ce,0x7f8):'lf',_0x33656c=_0x5ad8cd?_0x1a3f18['replace'](/\r\n/g,'\x0a'):_0x1a3f18,_0x4bccae=_0x33656c['endsWith']('\x0a'),_0x45bbcc=_0x33656c===''?[]:_0x33656c['split']('\x0a')[_0x4b4a9c(0x8d8,_0x5c920c._0x2dbeec,_0x5c920c._0x58c41b,_0x5c920c._0x40a9fc)](0x0,_0x4bccae?-0x1:void 0x0),_0x25a3b6=sha256Bytes(_0x33656c),_0x114f53=_0x25a3b6['slice'](0x0,0xc)[_0x4b4a9c(_0x5c920c._0x5da95c,_0x5c920c._0x1924e6,0x97a,_0x5c920c._0x57c3d9)]();return{'canonicalPath':_0x525a38,'text':_0x33656c,'lines':_0x45bbcc,'finalNewline':_0x4bccae,'bom':_0x46b304,'eol':_0x4d8ae3,'digest':_0x25a3b6,'tag':_0x114f53,'utf8Bytes':Buffer['byteLength'](_0x33656c,_0x150877(0x591,0x5d5,0x63e,_0x5c920c._0x234d4e)),'recordedAt':_0xdf3c8e??Date[_0x150877(0x74f,_0x5c920c._0x334fa2,_0x5c920c._0x1a69a5,_0x5c920c._0x43b540)]()};}function serializeNormalizedFile(_0x59d55d,_0x108fce){const _0x1fdaa7={_0x5d08b3:0x4b0,_0x2dcc12:0x210,_0x32c86c:0x1fa,_0x7a1607:0x148,_0x555be9:0x388,_0xd181a4:0x256,_0x560fe9:0x1ef},_0x3d8b8b={_0x1883e3:0x4c,_0x286cba:0x19},_0x2266c2={_0x3f8838:0x3a,_0x3f8509:0x84},_0x227880=_0x108fce['eol']==='crlf'?_0x59d55d[_0x4e657d(_0x1fdaa7._0x5d08b3,0x368,0x40f,0x53e)](/\n/g,'\x0d\x0a'):_0x59d55d;function _0x5ce100(_0x2ef8c3,_0x59d56f,_0x34ed20,_0x52967f){return _0x28bc81(_0x2ef8c3-0xf9,_0x59d56f-_0x2266c2._0x3f8838,_0x2ef8c3- -_0x2266c2._0x3f8509,_0x52967f);}const _0x24a57e=Buffer['from'](_0x227880,'utf8');function _0x4e657d(_0x4c2030,_0x22a717,_0x1ee4d9,_0x4b1ea7){return _0x28bc81(_0x4c2030-0x5f,_0x22a717-_0x3d8b8b._0x1883e3,_0x4b1ea7- -_0x3d8b8b._0x286cba,_0x22a717);}return _0x108fce[_0x5ce100(0x3db,_0x1fdaa7._0x2dcc12,0x59e,0x330)]?Buffer[_0x5ce100(0x195,_0x1fdaa7._0x32c86c,_0x1fdaa7._0x7a1607,_0x1fdaa7._0x555be9)]([Buffer[_0x4e657d(_0x1fdaa7._0xd181a4,0x14a,-0xe,_0x1fdaa7._0x560fe9)]([0xef,0xbb,0xbf]),_0x24a57e]):_0x24a57e;}var MAX_ANCHORED_OPERATIONS=0x64,MAX_ANCHORED_CONTENT_BYTES=0x100*0x400,textEncoder=new TextEncoder();function utf8Bytes(_0x345c4e){const _0x542c5f={_0xa7556f:0x450,_0x5c67d4:0x6be,_0x5a0f02:0x389,_0x59e28a:0x1f6},_0x44c41a={_0x272c2d:0x96,_0x3ac45d:0xc4},_0x19fb8b={_0x43e32d:0x18a,_0x164daa:0x2e0};function _0x2960d9(_0x3c2acd,_0x40b5c,_0x40444e,_0x3a301a){return _0x28bc81(_0x3c2acd-_0x19fb8b._0x43e32d,_0x40b5c-0xd9,_0x3c2acd-_0x19fb8b._0x164daa,_0x40b5c);}function _0x5e5810(_0x4d0433,_0x1027c1,_0x415e91,_0x49b53f){return _0x28bc81(_0x4d0433-_0x44c41a._0x272c2d,_0x1027c1-_0x44c41a._0x3ac45d,_0x415e91- -0x353,_0x4d0433);}return textEncoder[_0x2960d9(0x521,_0x542c5f._0xa7556f,0x521,_0x542c5f._0x5c67d4)](_0x345c4e)[_0x5e5810(_0x542c5f._0x5a0f02,0x29f,_0x542c5f._0x59e28a,0x30f)];}var TAG_PATTERN=/^[0-9A-F]{12}$/,replaceOperationSchema={'type':_0x5b2413(0x5c6,0x46e,0x604,0x75e),'properties':{'operation':{'type':_0x28bc81(0x2ee,0x38a,0x296,0x18b),'enum':['replace']},'startLine':{'type':'number'},'endLine':{'type':'number'},'content':{'type':_0x5b2413(0x684,0x735,0x635,0x509)}},'required':[_0x28bc81(0x7b9,0x636,0x5b8,0x417),'startLine',_0x5b2413(0x779,0x5e4,0x79b,0x718),_0x28bc81(0x5f5,0x3c0,0x4ce,0x4a2)],'additionalProperties':![]},deleteOperationSchema={'type':_0x28bc81(0x452,0x2c8,0x265,0x32d),'properties':{'operation':{'type':_0x28bc81(0x85,0x162,0x296,0x461),'enum':[_0x5b2413(0x7a2,0x906,0x8a5,0x8ee)]},'startLine':{'type':_0x28bc81(0x25d,0x5a5,0x420,0x4bc)},'endLine':{'type':_0x5b2413(0x6bf,0x739,0x7bf,0x960)}},'required':[_0x28bc81(0x56c,0x41f,0x5b8,0x47d),_0x5b2413(0x914,0x797,0x856,0x760),_0x5b2413(0x631,0x8f9,0x79b,0x7d6)],'additionalProperties':![]},insertOperationSchema={'type':'object','properties':{'operation':{'type':_0x5b2413(0x659,0x7a3,0x635,0x443),'enum':[_0x28bc81(0x526,0x431,0x602,0x5ba)]},'position':{'type':_0x5b2413(0x618,0x537,0x635,0x552),'enum':[_0x5b2413(0x724,0x598,0x6ed,0x8cc),_0x28bc81(0x2aa,0x403,0x34a,0x1e6)]},'line':{'type':_0x5b2413(0x642,0x666,0x7bf,0x5be)},'content':{'type':_0x28bc81(0x231,0xb7,0x296,0x3d6)}},'required':[_0x5b2413(0x7da,0x977,0x957,0xa48),'position',_0x28bc81(0x732,0x5da,0x60e,0x6e7),'content'],'additionalProperties':![]},structuredFileEditInputSchema={'type':_0x28bc81(0x355,0x3b7,0x265,0x189),'properties':{'filePath':{'type':_0x5b2413(0x635,0x593,0x635,0x732)},'tag':{'type':_0x28bc81(0x128,0x2f2,0x296,0x87)},'description':{'type':_0x28bc81(0x19c,0x216,0x296,0x42b)},'operations':{'type':'array','items':{'anyOf':[replaceOperationSchema,deleteOperationSchema,insertOperationSchema]}},'dryRun':{'type':_0x28bc81(0x505,0x722,0x524,0x4f8)}},'required':[_0x28bc81(0x1b5,0x395,0x249,0x3a),_0x5b2413(0x8bd,0x87b,0x6a9,0x4e1),'operations'],'additionalProperties':![]};function requireValidLineNumber(_0x16bdb4,_0x3e078b){const _0x4e883f={_0x572d2e:0x475,_0x2ff433:0x53c,_0x30a651:0x329,_0x2e4684:0x47a,_0x4e795e:0x436,_0xa00fce:0x463,_0x5f1d01:0x4ab,_0x4fe3b6:0x56b},_0x26a839={_0x47a3b6:0x20};function _0x1d483a(_0xa8c888,_0x40db17,_0x16d156,_0x209995){return _0x5b2413(_0xa8c888-0xc6,_0x40db17-0x1c1,_0x16d156- -0x21b,_0xa8c888);}function _0x450cc7(_0x5c9f4f,_0xf31110,_0x41c20f,_0x370f26){return _0x5b2413(_0x5c9f4f-_0x26a839._0x47a3b6,_0xf31110-0xa6,_0x370f26- -0x1c0,_0x5c9f4f);}if(!Number[_0x1d483a(_0x4e883f._0x572d2e,0x619,0x49a,0x3a0)](_0x16bdb4)||_0x16bdb4<0x1)throw createAnchoredFileError(_0x450cc7(_0x4e883f._0x2ff433,_0x4e883f._0x30a651,0x2e7,_0x4e883f._0x2e4684),_0x3e078b+_0x450cc7(_0x4e883f._0x4e795e,_0x4e883f._0xa00fce,_0x4e883f._0x5f1d01,_0x4e883f._0x4fe3b6)+String(_0x16bdb4)+'.');}function parseStructuredFileEditInput(_0x2aed9f){const _0x5237cc={_0x370fed:0x317,_0x5bdb93:0x327,_0xc9098c:0x37b,_0x10e771:0xcd,_0x562044:0xcb,_0x1a1dd1:0x20a,_0x4d1dc3:0xe8,_0x4bcc2c:0xc2,_0x619a5:0x24f,_0x22fc0d:0x68,_0x5a9c51:0x4aa,_0x3bb1f1:0x5e,_0xc24c47:0x1a,_0x1fcadf:0xfa,_0x10f183:0x368,_0x4b5943:0x586,_0x5653f0:0x438,_0x153343:0x54f,_0x211acc:0x122,_0x5c7f2b:0x2a,_0x560aac:0xbe,_0x155cb9:0x38c,_0x5e32c7:0x454,_0xbb84dd:0x39c,_0x44c871:0x1fc,_0x29c471:0x3da,_0x4a4f12:0xdf,_0x2896de:0x2f1,_0x2fb64f:0x27b,_0x58c753:0x144,_0x559002:0x7d,_0x1c5040:0x456,_0x1b69c6:0x2b6,_0x396bc1:0x122,_0x39efbc:0x260,_0xb096ea:0x25c,_0x21d8fd:0x36c,_0x536ded:0x36e,_0x4e65eb:0x403,_0x394fce:0x535,_0x180d74:0x5e3,_0x39ea6a:0x3a8,_0x1be2b3:0x22f,_0x4d597a:0x6e,_0x4510de:0x20c,_0xb03f93:0xad,_0x5d4740:0x611,_0x2c3f38:0x49f,_0x1c56ef:0x4c8,_0xc90588:0x647,_0x515637:0x43b,_0x26a868:0x428,_0x3b946e:0x217,_0x320302:0x11a,_0x2d9f30:0x283,_0x4989dd:0x476,_0x503b8c:0x482,_0x1fdbc1:0x33e,_0x8c5ed6:0x1c0,_0x60f7a:0x346,_0x10e25f:0x414,_0x2be09a:0x285,_0x2c89b8:0x20c,_0x3c52e7:0x2e5,_0x3fec93:0x5e4,_0xc219bc:0x3ab,_0x219073:0x1e3,_0x492e15:0x3c1,_0x1e613a:0x3d0,_0x4d5b36:0x46f,_0x459f04:0x5d0,_0x310cd0:0xfa,_0x6c5454:0x76f,_0x4f4a61:0x4a2,_0x20e9ba:0x497,_0x2ffead:0x3b0,_0x373314:0x4e3,_0x40846c:0x7a,_0x3f663f:0x130,_0x32875a:0x29e,_0x35aaad:0x59c,_0x1ce6c9:0x780,_0x16e9dc:0x241,_0x183d9c:0x13b,_0x44be2a:0x36e,_0x1d2df7:0x362,_0x402812:0x3be,_0xc9a563:0x70b,_0x1945ce:0x4b7,_0x3e67e5:0x33,_0x164cf4:0x23d,_0x3ccd46:0x60,_0x36a73a:0x489,_0x5d5a2a:0x3c8,_0x1e36df:0xd0,_0x8c7b46:0x90,_0x5bb277:0x186,_0x34963d:0x57,_0x3b6369:0x10e,_0x4f2524:0x373,_0x5d6149:0x473},_0xe5ccc6={_0x5b0d84:0xa2,_0x2c34aa:0x9},_0xd49d82={_0xce5f91:0x178,_0x105f9c:0x15b},_0x3a89f4=_0x2aed9f;if(_0x3a89f4!==null&&typeof _0x3a89f4===_0x34ef11(0x30e,_0x5237cc._0x370fed,0x360,0x1d6)&&!Array[_0x34ef11(_0x5237cc._0x5bdb93,_0x5237cc._0xc9098c,0x26,0x1b5)](_0x3a89f4)&&Array[_0x32dc2d(_0x5237cc._0x10e771,_0x5237cc._0x562044,_0x5237cc._0x1a1dd1,-_0x5237cc._0x4d1dc3)](_0x3a89f4[_0x32dc2d(_0x5237cc._0x4bcc2c,_0x5237cc._0x619a5,_0x5237cc._0x22fc0d,0x2b7)])&&_0x3a89f4['operations'][_0x34ef11(_0x5237cc._0x5a9c51,0x572,0x6ae,0x4ba)]>MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError(_0x32dc2d(_0x5237cc._0x3bb1f1,0x122,-_0x5237cc._0xc24c47,-0x66),_0x34ef11(0x20a,0x272,_0x5237cc._0x1fcadf,0x158)+MAX_ANCHORED_OPERATIONS+_0x32dc2d(0x3dd,_0x5237cc._0x10f183,_0x5237cc._0x4b5943,0x2cd));let _0x54cfd0;try{_0x54cfd0=validateToolInput(_0x2aed9f,structuredFileEditInputSchema);}catch(_0x1166cb){const _0x4fb0d4=_0x1166cb instanceof Error?_0x1166cb[_0x34ef11(0x4c6,_0x5237cc._0x5653f0,0x54c,_0x5237cc._0x153343)]:String(_0x1166cb);throw createAnchoredFileError(_0x32dc2d(0x196,_0x5237cc._0x211acc,_0x5237cc._0x5c7f2b,-_0x5237cc._0x560aac),_0x32dc2d(_0x5237cc._0x155cb9,_0x5237cc._0x5e32c7,0x35e,_0x5237cc._0xbb84dd)+_0x4fb0d4);}if(!TAG_PATTERN[_0x32dc2d(0x1d3,_0x5237cc._0x44c871,_0x5237cc._0x29c471,0x2c0)](_0x54cfd0[_0x34ef11(_0x5237cc._0x4a4f12,0x3db,_0x5237cc._0x2896de,_0x5237cc._0x2fb64f)]))throw createAnchoredFileError(_0x32dc2d(_0x5237cc._0x58c753,0x122,0x11a,0xe6),'tag\x20must\x20be\x20exactly\x2012\x20uppercase\x20hex\x20characters;\x20got\x20\x27'+_0x54cfd0[_0x34ef11(0x2ce,_0x5237cc._0x559002,0x2e2,_0x5237cc._0x2fb64f)]+'\x27.');function _0x32dc2d(_0x3a1ae0,_0x237e2e,_0x459461,_0x40b1fb){return _0x5b2413(_0x3a1ae0-_0xd49d82._0xce5f91,_0x237e2e-_0xd49d82._0x105f9c,_0x237e2e- -0x518,_0x40b1fb);}if(_0x54cfd0[_0x32dc2d(0x106,_0x5237cc._0x619a5,_0x5237cc._0x1c5040,_0x5237cc._0x1b69c6)]['length']===0x0)throw createAnchoredFileError(_0x32dc2d(0xa9,_0x5237cc._0x396bc1,0x279,_0x5237cc._0x39efbc),_0x34ef11(0x3fa,_0x5237cc._0xb096ea,_0x5237cc._0x21d8fd,_0x5237cc._0x536ded));if(_0x54cfd0[_0x34ef11(_0x5237cc._0x4e65eb,_0x5237cc._0x394fce,0x3c9,0x339)][_0x34ef11(_0x5237cc._0x180d74,_0x5237cc._0x39ea6a,0x448,0x4ba)]>MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError(_0x34ef11(_0x5237cc._0x1be2b3,0x2d4,0x1c7,0x20c),_0x32dc2d(0x192,_0x5237cc._0x4d597a,_0x5237cc._0x4510de,-_0x5237cc._0xb03f93)+MAX_ANCHORED_OPERATIONS+'\x20anchored\x20operations\x20are\x20allowed\x20per\x20edit.');let _0x1f87c3=0x0;const _0x1e8630=[];function _0x34ef11(_0x1e7aeb,_0x16a170,_0xde4d3e,_0x43117b){return _0x28bc81(_0x1e7aeb-_0xe5ccc6._0x5b0d84,_0x16a170-_0xe5ccc6._0x2c34aa,_0x43117b- -0x8f,_0x1e7aeb);}for(const _0x2caffa of _0x54cfd0['operations']){switch(_0x2caffa['operation']){case _0x34ef11(0x65d,_0x5237cc._0x5d4740,_0x5237cc._0x2c3f38,_0x5237cc._0x1c56ef):{requireValidLineNumber(_0x2caffa[_0x34ef11(_0x5237cc._0xc90588,0x3df,_0x5237cc._0x515637,_0x5237cc._0x26a868)],_0x34ef11(0x47b,0x343,_0x5237cc._0x3b946e,0x336)),requireValidLineNumber(_0x2caffa[_0x32dc2d(_0x5237cc._0x320302,_0x5237cc._0x2d9f30,0x31e,0x3b4)],_0x34ef11(_0x5237cc._0x4989dd,_0x5237cc._0x503b8c,0x43f,0x347));if(_0x2caffa[_0x32dc2d(0x4ee,_0x5237cc._0x1fdbc1,0x414,_0x5237cc._0x8c5ed6)]>_0x2caffa[_0x34ef11(0x20e,_0x5237cc._0x60f7a,_0x5237cc._0x10e25f,0x36d)])throw createAnchoredFileError('invalid_patch','replace\x20startLine\x20must\x20not\x20exceed\x20endLine.');_0x1f87c3+=utf8Bytes(_0x2caffa['content']);if(_0x1f87c3>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError(_0x34ef11(_0x5237cc._0x2be09a,0xe9,0x31b,_0x5237cc._0x2c89b8),'Total\x20authored\x20replacement\x20content\x20must\x20be\x20at\x20most\x20'+MAX_ANCHORED_CONTENT_BYTES+'\x20bytes.');_0x1e8630['push']({'operation':_0x32dc2d(_0x5237cc._0x3c52e7,0x3de,0x2e1,_0x5237cc._0x3fec93),'startLine':_0x2caffa[_0x32dc2d(_0x5237cc._0xc219bc,_0x5237cc._0x1fdbc1,_0x5237cc._0x219073,_0x5237cc._0x492e15)],'endLine':_0x2caffa['endLine'],'content':_0x2caffa['content']});break;}case _0x32dc2d(_0x5237cc._0x1e613a,0x38d,0x2a4,_0x5237cc._0x4d5b36):{requireValidLineNumber(_0x2caffa[_0x34ef11(0x4c7,_0x5237cc._0x459f04,0x632,_0x5237cc._0x26a868)],'delete.startLine'),requireValidLineNumber(_0x2caffa[_0x32dc2d(0xb4,0x283,_0x5237cc._0x310cd0,0x423)],_0x34ef11(0x35c,0x336,_0x5237cc._0x6c5454,0x550));if(_0x2caffa[_0x32dc2d(_0x5237cc._0x4f4a61,_0x5237cc._0x1fdbc1,0x4b7,_0x5237cc._0x20e9ba)]>_0x2caffa[_0x34ef11(0x4d7,_0x5237cc._0x2ffead,_0x5237cc._0x373314,0x36d)])throw createAnchoredFileError(_0x32dc2d(0x19,0x122,0x225,0xa2),_0x32dc2d(0x240,0x8a,-_0x5237cc._0x40846c,0x175));_0x1e8630[_0x34ef11(_0x5237cc._0x3f663f,0x3b0,0x345,0x327)]({'operation':_0x34ef11(0x3bd,0x3a7,0x2a5,0x477),'startLine':_0x2caffa[_0x34ef11(_0x5237cc._0x32875a,0x318,0x3ce,_0x5237cc._0x26a868)],'endLine':_0x2caffa['endLine']});break;}case'insert':{requireValidLineNumber(_0x2caffa[_0x34ef11(_0x5237cc._0x35aaad,_0x5237cc._0x1ce6c9,0x42d,0x57f)],_0x34ef11(0x1a9,0x270,0xfb,_0x5237cc._0x16e9dc)),_0x1f87c3+=utf8Bytes(_0x2caffa['content']);if(_0x1f87c3>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError(_0x32dc2d(0x176,_0x5237cc._0x211acc,_0x5237cc._0x183d9c,0x84),_0x32dc2d(_0x5237cc._0x44be2a,_0x5237cc._0x1d2df7,0x1a8,_0x5237cc._0x402812)+MAX_ANCHORED_CONTENT_BYTES+_0x34ef11(_0x5237cc._0xc9a563,0x49c,_0x5237cc._0x1945ce,0x4f3));_0x1e8630[_0x32dc2d(_0x5237cc._0x3e67e5,_0x5237cc._0x164cf4,_0x5237cc._0x3ccd46,0x134)]({'operation':_0x32dc2d(0x2e2,_0x5237cc._0x36a73a,0x26f,0x32b),'position':_0x2caffa['position'],'line':_0x2caffa[_0x34ef11(0x6d4,0x712,_0x5237cc._0x5d5a2a,0x57f)],'content':_0x2caffa['content']});break;}}}return{'filePath':_0x54cfd0[_0x32dc2d(0x75,_0x5237cc._0x1e36df,-0xf9,_0x5237cc._0x8c7b46)],'tag':_0x54cfd0[_0x34ef11(0x17c,_0x5237cc._0x5bb277,0x2e7,0x27b)],'operations':_0x1e8630,'dryRun':_0x54cfd0[_0x32dc2d(-0x1b8,_0x5237cc._0x34963d,-_0x5237cc._0x4a4f12,_0x5237cc._0x3b6369)]??![],..._0x54cfd0['description']!==void 0x0?{'description':_0x54cfd0[_0x34ef11(0x64d,0x3fc,_0x5237cc._0x4f2524,_0x5237cc._0x5d6149)]}:{}};}var HEADER=/^\[([^#\r\n]+)#([0-9A-F]{12})\]$/,REPLACE=/^PUT ([1-9]\d*)\.=([1-9]\d*):$/,INSERT=/^PUT ([<>])([1-9]\d*):$/,DELETE=/^CUT ([1-9]\d*)\.=([1-9]\d*)$/,textEncoder2=new TextEncoder();function utf8Bytes2(_0x44c50b){const _0x54135a={_0x951bfd:0x185,_0x5e2892:0x35b,_0x2260e1:0x169},_0xbbc574={_0x138016:0x80,_0x2b3555:0x285};function _0x1a99d2(_0x5bf219,_0x37488d,_0x4ba576,_0x388516){return _0x5b2413(_0x5bf219-_0xbbc574._0x138016,_0x37488d-0x41,_0x37488d- -_0xbbc574._0x2b3555,_0x4ba576);}return textEncoder2[_0x1a99d2(_0x54135a._0x951bfd,_0x54135a._0x5e2892,0x3c5,_0x54135a._0x2260e1)](_0x44c50b)['length'];}function preview(_0x277b35){const _0x3c2860={_0x781f:0x1d6,_0x15694f:0x30d,_0x36e7e7:0x67,_0x2f3583:0x162,_0x2f3acf:0x194,_0xbf5b26:0x22,_0x265b54:0x127,_0x337f07:0x1bf,_0x3df8b3:0x194},_0x3b7cf4={_0x8ed7c0:0x1df,_0x47e482:0x44b},_0x2ce754={_0x1d390d:0x712};function _0x2dfa6c(_0x48ce82,_0xb33a48,_0x5c13ee,_0x3ede02){return _0x5b2413(_0x48ce82-0xf9,_0xb33a48-0x1c6,_0x48ce82- -_0x2ce754._0x1d390d,_0x5c13ee);}function _0x59437b(_0x1966fa,_0x29f043,_0x2fc092,_0x1863d6){return _0x5b2413(_0x1966fa-_0x3b7cf4._0x8ed7c0,_0x29f043-0x3a,_0x29f043- -_0x3b7cf4._0x47e482,_0x2fc092);}return _0x277b35[_0x2dfa6c(_0x3c2860._0x781f,0x27c,_0x3c2860._0x15694f,_0x3c2860._0x36e7e7)]>0x3c?_0x277b35[_0x2dfa6c(_0x3c2860._0x2f3583,_0x3c2860._0x2f3acf,0x22c,-_0x3c2860._0xbf5b26)](0x0,0x3c)+_0x2dfa6c(_0x3c2860._0x265b54,0x2b9,_0x3c2860._0x337f07,_0x3c2860._0x3df8b3):_0x277b35;}var hashlineFileEditInputSchema={'type':'object','properties':{'patch':{'type':'string'},'description':{'type':_0x28bc81(0x29b,0x2f9,0x296,0x41a)},'dryRun':{'type':_0x5b2413(0x6be,0x783,0x8c3,0x9ab)}},'required':[_0x5b2413(0x8a5,0x98b,0x82c,0x700)],'additionalProperties':![]};function requireLineNumber(_0x251874,_0x32522a){const _0x38f0fa={_0x174519:0x1a9,_0x292c20:0x167,_0x3caa96:0x20d,_0x52436c:0x8b,_0x13dae1:0x27b,_0x493fdc:0xb4,_0x36700e:0x1e0,_0x1cef7:0x2fd},_0x770a81={_0x1aac40:0xbb,_0x1603d9:0x263};function _0xa85fd0(_0x6b937c,_0x5898b8,_0xfbb8b0,_0x2c6880){return _0x5b2413(_0x6b937c-0x16b,_0x5898b8-0x149,_0x2c6880- -0x5df,_0xfbb8b0);}function _0x35a117(_0x91c8da,_0x2144cc,_0x5ea7a2,_0x281470){return _0x28bc81(_0x91c8da-_0x770a81._0x1aac40,_0x2144cc-0x1e5,_0x91c8da- -_0x770a81._0x1603d9,_0x281470);}if(_0x251874[_0xa85fd0(_0x38f0fa._0x174519,0x2a0,0x15f,0x309)]>0x10)throw createAnchoredFileError(_0xa85fd0(-0x6c,0x23d,0x201,0x5b),_0x32522a+_0xa85fd0(-0xf4,-_0x38f0fa._0x292c20,_0x38f0fa._0x3caa96,_0x38f0fa._0x52436c));const _0x3ed701=Number(_0x251874);if(!Number[_0xa85fd0(_0x38f0fa._0x13dae1,-0xd1,-_0x38f0fa._0x493fdc,0xd6)](_0x3ed701)||_0x3ed701<0x1)throw createAnchoredFileError(_0xa85fd0(_0x38f0fa._0x36700e,0x80,0x1cb,0x5b),_0x32522a+_0x35a117(0x129,_0x38f0fa._0x1cef7,0x12d,0x2e5)+_0x251874+'.');return _0x3ed701;}function parseHashlineFileEditInput(_0x33e955){const _0x7d4247={_0x39af4d:0x858,_0x551bc2:0x54a,_0x1243d3:0x33f,_0xe67b1:0x21b,_0x5ca899:0x2bc,_0x5d855a:0x3ed,_0x5605ce:0x23c,_0x348f13:0x179,_0xeb7e22:0x43c,_0x1fe1e2:0x6e1,_0x35b37a:0x5ed,_0x157a6d:0x4b8,_0x412058:0x3c9,_0x59ec96:0x4de,_0x355f18:0x45a,_0x2786bb:0x373,_0x26d543:0x579,_0xf6c8da:0x701,_0x2f9cd4:0x3b9,_0x532da0:0x3f4,_0x169b24:0x574,_0x22a6a0:0x408,_0x5589e9:0x183,_0x25d5a7:0x31c,_0x28e5a4:0x42e,_0x40f94e:0x279,_0x41ec40:0x424,_0x40b502:0x1b2,_0x2f1a7e:0x3ae,_0x43eaf2:0x28d,_0x10d0bf:0x4a9,_0x270a28:0x3ca,_0x4d71d1:0xb0,_0xdf920f:0x18e,_0x101abd:0x303,_0x4aead5:0x404,_0x183546:0x406,_0x5e9fc9:0x4bf,_0x26c1de:0x301,_0x4ca5a7:0x2b9,_0x48c0ae:0x279,_0x48dc5e:0x2c4,_0x2ab9da:0x2b8,_0x43dd60:0x314,_0x372a10:0x137,_0x8087b6:0x1da,_0x15619b:0x2ac,_0x25ed1c:0x32,_0x3bcece:0x2ca,_0x2a23f5:0x24a,_0x1e3310:0x11d,_0x4cc17c:0x274,_0x35aab0:0x618,_0x26bec9:0x3dd,_0x43ac57:0x5a6},_0x37f831={_0x2f0a97:0x2d3,_0x13a32a:0x5e0,_0x415be4:0x5ea,_0x259879:0x504,_0x2e4d4e:0x4da,_0x3b5972:0x6e4,_0x54e78f:0x552,_0x31cf7c:0x53d,_0x4319e8:0x4f1,_0x1ca838:0x43f},_0x574d08={_0x47c002:0x4},_0x56e99e={_0x88437e:0x1c4,_0x324605:0x3c},_0x395ddd={_0x308aaa:0x46f,_0x3853f2:0x4ea,_0x8d7c1f:0x319,_0x191fd1:0x353,_0x21ab5c:0x4c2,_0x201394:0x413,_0x5e0c6c:0x10d,_0x2070d1:0x23e,_0x4e8ad3:0x5d8,_0x5db1d2:0x738,_0x287944:0x6a4},_0x7800e6={_0x24ebc2:0x1b8};let _0x43fd52;try{_0x43fd52=validateToolInput(_0x33e955,hashlineFileEditInputSchema);}catch(_0x4ab960){const _0x1e117a=_0x4ab960 instanceof Error?_0x4ab960[_0x560a5a(_0x7d4247._0x39af4d,0x746,_0x7d4247._0x551bc2,0x682)]:String(_0x4ab960);throw createAnchoredFileError('invalid_patch','Invalid\x20Hashline\x20FileEdit\x20input:\x20'+_0x1e117a);}const {patch:_0x4cef3a}=_0x43fd52;if(utf8Bytes2(_0x4cef3a)>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError(_0x560a5a(0x23f,0x32d,0x4f4,_0x7d4247._0x1243d3),_0x1bca70(_0x7d4247._0xe67b1,0x31e,_0x7d4247._0x5ca899,0x313)+MAX_ANCHORED_CONTENT_BYTES+'\x20bytes.');if(_0x4cef3a[_0x1bca70(0x300,0x47c,0x15f,0x212)]('\x0d'))throw createAnchoredFileError('invalid_patch',_0x1bca70(_0x7d4247._0x5d855a,0x45c,_0x7d4247._0x5605ce,0x3d5));const _0x15ef97=_0x4cef3a[_0x1bca70(0x384,_0x7d4247._0x348f13,0x1a1,_0x7d4247._0xeb7e22)]('\x0a'),_0x9e872e=[],_0x3df513=_0x5360a4=>{function _0x47d739(_0x536219,_0x58d9fe,_0x68c74f,_0x44bd52){return _0x560a5a(_0x44bd52,_0x58d9fe-0x1d,_0x68c74f-0x18e,_0x68c74f-0x24a);}function _0x3aa626(_0x4b8a69,_0x4fb8a9,_0xedc168,_0x3bfa3d){return _0x560a5a(_0x4fb8a9,_0x4fb8a9-0x112,_0xedc168-_0x7800e6._0x24ebc2,_0x4b8a69- -0x17e);}if(_0x9e872e[_0x3aa626(_0x395ddd._0x308aaa,_0x395ddd._0x3853f2,_0x395ddd._0x8d7c1f,_0x395ddd._0x191fd1)]>=MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError(_0x47d739(0x621,_0x395ddd._0x21ab5c,0x589,_0x395ddd._0x201394),_0x3aa626(_0x395ddd._0x5e0c6c,_0x395ddd._0x2070d1,-0x10e,0x291)+MAX_ANCHORED_OPERATIONS+'\x20operations\x20are\x20allowed\x20per\x20patch.');_0x9e872e[_0x47d739(_0x395ddd._0x4e8ad3,_0x395ddd._0x5db1d2,_0x395ddd._0x287944,0x8a9)](_0x5360a4);};let _0xb9890e,_0x5b7adb,_0x31a8c4=![],_0x2d0caa=![],_0x2f17d5;function _0x1bca70(_0x432200,_0x2c6852,_0xb92b44,_0x10544c){return _0x5b2413(_0x432200-0x8a,_0x2c6852-0x9d,_0x432200- -0x460,_0x2c6852);}let _0x330a81,_0x331921=0x0,_0x373867=0x0;function _0x560a5a(_0x4ab946,_0x1bfb9b,_0x43fbe5,_0x2e87b5){return _0x5b2413(_0x4ab946-_0x56e99e._0x88437e,_0x1bfb9b-_0x56e99e._0x324605,_0x2e87b5- -0x2fb,_0x4ab946);}let _0x4eb4d8=[];const _0x17e794=()=>{const _0x54e5c4={_0x581a5b:0x178,_0x4378aa:0xe9};if(!_0x2d0caa)return;if(_0x4eb4d8[_0x575c9a(0x68e,0x6d6,0x712,0x7f4)]===0x0)throw createAnchoredFileError('invalid_patch',_0x521685(0x4e7,0x587,_0x37f831._0x2f0a97,0x438));function _0x521685(_0x39234d,_0x18b0a7,_0x29f89b,_0x325073){return _0x1bca70(_0x39234d- -_0x574d08._0x47c002,_0x18b0a7,_0x29f89b-0x87,_0x325073-0x97);}const _0x409373=_0x4eb4d8[_0x575c9a(_0x37f831._0x13a32a,_0x37f831._0x415be4,_0x37f831._0x259879,_0x37f831._0x2e4d4e)]('\x0a');_0x2f17d5==='replace'?_0x3df513({'operation':_0x575c9a(0x5ce,_0x37f831._0x3b5972,_0x37f831._0x54e78f,0x529),'startLine':_0x331921,'endLine':_0x373867,'content':_0x409373}):_0x3df513({'operation':_0x521685(_0x37f831._0x31cf7c,_0x37f831._0x4319e8,_0x37f831._0x1ca838,0x6d0),'position':_0x330a81,'line':_0x331921,'content':_0x409373});function _0x575c9a(_0x56721b,_0x3556b4,_0x1dcb4d,_0x355ed4){return _0x560a5a(_0x355ed4,_0x3556b4-0x17,_0x1dcb4d-_0x54e5c4._0x581a5b,_0x3556b4-_0x54e5c4._0x4378aa);}_0x2d0caa=![],_0x4eb4d8=[];};for(const _0x2820b8 of _0x15ef97){if(_0x2820b8[_0x560a5a(0x3cf,_0x7d4247._0x1fe1e2,0x5ee,_0x7d4247._0x35b37a)]===0x0)continue;if(_0x2d0caa&&_0x2820b8['startsWith']('+')){_0x4eb4d8[_0x560a5a(_0x7d4247._0x157a6d,_0x7d4247._0x412058,_0x7d4247._0x59ec96,_0x7d4247._0x355f18)](_0x2820b8[_0x560a5a(0x39d,0x3a3,_0x7d4247._0x2786bb,_0x7d4247._0x26d543)](0x1));continue;}_0x17e794();if(!_0x31a8c4){const _0x30a13e=HEADER['exec'](_0x2820b8);if(_0x30a13e===null)throw createAnchoredFileError(_0x560a5a(0x1fd,0x493,0x1fb,0x33f),_0x560a5a(_0x7d4247._0xf6c8da,_0x7d4247._0x2f9cd4,0x7b2,0x5c0));_0xb9890e=_0x30a13e[0x1],_0x5b7adb=_0x30a13e[0x2],_0x31a8c4=!![];continue;}const _0x14ef84=REPLACE[_0x560a5a(0x4e9,0x5c9,_0x7d4247._0x532da0,0x3de)](_0x2820b8);if(_0x14ef84!==null){const _0x56e7e2=requireLineNumber(_0x14ef84[0x1],_0x1bca70(0x47b,_0x7d4247._0x169b24,_0x7d4247._0x22a6a0,0x48e)),_0x3abc84=requireLineNumber(_0x14ef84[0x2],_0x560a5a(0x554,0x402,0x6a3,0x504));if(_0x56e7e2>_0x3abc84)throw createAnchoredFileError(_0x560a5a(_0x7d4247._0x5589e9,_0x7d4247._0x25d5a7,_0x7d4247._0x28e5a4,0x33f),'replace\x20startLine\x20must\x20not\x20exceed\x20endLine.');_0x2d0caa=!![],_0x2f17d5='replace',_0x331921=_0x56e7e2,_0x373867=_0x3abc84,_0x4eb4d8=[];continue;}const _0x56f709=INSERT[_0x1bca70(_0x7d4247._0x40f94e,_0x7d4247._0x41ec40,0x285,_0x7d4247._0x40b502)](_0x2820b8);if(_0x56f709!==null){const _0x35aadc=requireLineNumber(_0x56f709[0x2],_0x1bca70(0x53f,0x435,0x4ba,0x689));_0x2d0caa=!![],_0x2f17d5=_0x1bca70(0x541,_0x7d4247._0x2f1a7e,0x405,0x723),_0x330a81=_0x56f709[0x1]==='<'?_0x1bca70(_0x7d4247._0x43eaf2,0x3b4,_0x7d4247._0x10d0bf,_0x7d4247._0x270a28):'after',_0x331921=_0x35aadc,_0x4eb4d8=[];continue;}const _0xa814da=DELETE['exec'](_0x2820b8);if(_0xa814da!==null){const _0x432612=requireLineNumber(_0xa814da[0x1],_0x560a5a(_0x7d4247._0x4d71d1,_0x7d4247._0xdf920f,_0x7d4247._0x101abd,0x295)),_0x386714=requireLineNumber(_0xa814da[0x2],_0x560a5a(_0x7d4247._0x4aead5,_0x7d4247._0x183546,_0x7d4247._0x5e9fc9,0x437));if(_0x432612>_0x386714)throw createAnchoredFileError(_0x560a5a(0x265,0x14b,_0x7d4247._0x26c1de,_0x7d4247._0x1243d3),_0x1bca70(0x142,-0x23,_0x7d4247._0x4ca5a7,_0x7d4247._0x48c0ae));_0x3df513({'operation':_0x1bca70(0x445,_0x7d4247._0x48dc5e,_0x7d4247._0x2ab9da,0x599),'startLine':_0x432612,'endLine':_0x386714});continue;}throw createAnchoredFileError(_0x1bca70(0x1da,0x3db,_0x7d4247._0x43dd60,_0x7d4247._0x372a10),'Unsupported\x20Hashline\x20row:\x20'+preview(_0x2820b8));}_0x17e794();if(!_0x31a8c4)throw createAnchoredFileError(_0x1bca70(_0x7d4247._0x8087b6,_0x7d4247._0x15619b,0x3c9,0x31d),'Patch\x20must\x20begin\x20with\x20a\x20[PATH#TAG]\x20header.');if(_0x9e872e[_0x1bca70(0x488,0x27c,0x2de,0x69b)]===0x0)throw createAnchoredFileError('invalid_patch',_0x1bca70(0x1ad,-_0x7d4247._0x25ed1c,0x5c,0x1a9));return{'filePath':_0xb9890e,'tag':_0x5b7adb,'operations':_0x9e872e,'dryRun':_0x43fd52[_0x560a5a(_0x7d4247._0x3bcece,_0x7d4247._0x2a23f5,_0x7d4247._0x1e3310,_0x7d4247._0x4cc17c)]??![],..._0x43fd52['description']!==void 0x0?{'description':_0x43fd52[_0x560a5a(_0x7d4247._0x35aab0,_0x7d4247._0x26bec9,0x779,_0x7d4247._0x43ac57)]}:{}};}import{realpath,stat}from'fs/promises';import*as _0x4adc4c from'path';function isPathInside(_0x462e7a,_0x49472f){const _0x423b1b={_0x1b379a:0x35,_0x3a4969:0xc5,_0x36166c:0x52,_0x384e9f:0x147,_0x4cfd14:0x51,_0x33e746:0x199},_0x49215f={_0x5e0baa:0x16c,_0x46ab98:0x638};function _0x841cd5(_0x224b3b,_0x50401f,_0x138da2,_0x24395f){return _0x28bc81(_0x224b3b-0x170,_0x50401f-0x107,_0x138da2- -0x18b,_0x24395f);}const _0x1e1081=_0x4adc4c[_0x2487ab(-0xd9,-0x3f,-0x34,-_0x423b1b._0x1b379a)](_0x462e7a),_0x5a4e77=_0x4adc4c[_0x841cd5(_0x423b1b._0x3a4969,-_0x423b1b._0x36166c,0x159,-0x82)](_0x1e1081,_0x49472f);function _0x2487ab(_0x257bdf,_0x5561f0,_0x1737a3,_0x233e50){return _0x5b2413(_0x257bdf-0x189,_0x5561f0-_0x49215f._0x5e0baa,_0x5561f0- -_0x49215f._0x46ab98,_0x1737a3);}return _0x5a4e77===''||!_0x5a4e77[_0x841cd5(0x2b5,0x3d,0x153,_0x423b1b._0x384e9f)]('..')&&!_0x4adc4c[_0x2487ab(_0x423b1b._0x4cfd14,_0x423b1b._0x33e746,0x307,0x28d)](_0x5a4e77);}function resolveWorkspacePath(_0x296bd4,_0x2284f1){return resolveAllowedPath(_0x296bd4,[],_0x2284f1);}function resolveAllowedPath(_0x83286b,_0x402ea3,_0x4c393c){const _0x46fe26={_0x53d4e9:0x18c,_0x2407ca:0x4d9,_0x41b752:0x5ac,_0x24148f:0x543,_0x14ce60:0x6b0,_0x1ba9b3:0x32b,_0x44663f:0x28d,_0x18fc45:0x1b6,_0x185595:0x3fd,_0x24833c:0x2c6},_0x1741da={_0x45e907:0x29},_0x1ba101={_0x454f3c:0x2,_0x3193d8:0x8d},_0x3eb899=_0x4adc4c[_0x1c590b(_0x46fe26._0x53d4e9,0xd2,0x1cc,0x395)](_0x83286b),_0x63fefa=_0x4adc4c['resolve'](_0x3eb899,_0x4c393c),_0x2a3130=[_0x3eb899,..._0x402ea3[_0x1c590b(_0x46fe26._0x2407ca,_0x46fe26._0x41b752,_0x46fe26._0x24148f,_0x46fe26._0x14ce60)](_0x56479a=>_0x4adc4c['resolve'](_0x56479a))];function _0x1c590b(_0x56c0b3,_0x137804,_0x5ae72e,_0x4ad4e8){return _0x28bc81(_0x56c0b3-_0x1ba101._0x454f3c,_0x137804-_0x1ba101._0x3193d8,_0x5ae72e- -0x8e,_0x137804);}function _0x542306(_0x476a72,_0x9d3f9d,_0x16733a,_0x21b3f2){return _0x28bc81(_0x476a72-_0x1741da._0x45e907,_0x9d3f9d-0x16e,_0x21b3f2-0x40f,_0x476a72);}if(_0x2a3130[_0x1c590b(_0x46fe26._0x1ba9b3,0x3d0,0x485,_0x46fe26._0x44663f)](_0x5e4b5c=>isPathInside(_0x5e4b5c,_0x63fefa)))return _0x63fefa;throw new ToolExecutionError(_0x1c590b(_0x46fe26._0x18fc45,_0x46fe26._0x185595,_0x46fe26._0x24833c,0x2c8)+_0x4c393c,{'path':_0x4c393c,'rootDir':_0x3eb899,'allowedDirs':_0x2a3130});}async function resolveCanonicalAllowedFile(_0x3c4939,_0x260679,_0x3aa4da){const _0x388ee7={_0x58b839:0x4a5,_0x5d5b5f:0x45f,_0x583223:0x403,_0x1cbabf:0x325,_0x49375a:0x8d,_0x482d0e:0x36f},_0x5441e0={_0x11028c:0x175,_0x292c45:0x91},_0x2fd82d={_0x284d2d:0x1ba},_0xb319a3=resolveAllowedPath(_0x3c4939,_0x260679,_0x3aa4da),_0x225e58=await realpath(_0xb319a3),_0x5e14aa=[];for(const _0x22069b of[_0x3c4939,..._0x260679]){try{_0x5e14aa[_0x1b4322(_0x388ee7._0x58b839,_0x388ee7._0x5d5b5f,_0x388ee7._0x583223,_0x388ee7._0x1cbabf)](await realpath(_0x22069b));}catch{}}function _0x26b36e(_0x392021,_0x1c37ab,_0x1d232e,_0x44fb34){return _0x28bc81(_0x392021-_0x2fd82d._0x284d2d,_0x1c37ab-0x164,_0x1d232e- -0x17a,_0x1c37ab);}function _0x1b4322(_0x56b8d3,_0x50f349,_0x5c9611,_0x3f0798){return _0x28bc81(_0x56b8d3-0x14,_0x50f349-_0x5441e0._0x11028c,_0x3f0798- -_0x5441e0._0x292c45,_0x5c9611);}if(!_0x5e14aa[_0x1b4322(0x2d7,0x496,0x3fc,0x482)](_0x271a65=>isPathInside(_0x271a65,_0x225e58)))throw new ToolExecutionError(_0x26b36e(_0x388ee7._0x49375a,_0x388ee7._0x482d0e,0x1da,0x2e8)+_0x3aa4da,{'path':_0x3aa4da,'lexicalPath':_0xb319a3,'canonicalPath':_0x225e58,'allowedDirs':_0x5e14aa});const _0x4f0a16=await stat(_0x225e58);if(!_0x4f0a16['isFile']())throw new ToolExecutionError('Path\x20is\x20not\x20a\x20file:\x20'+_0x3aa4da,{'path':_0x3aa4da,'lexicalPath':_0xb319a3,'canonicalPath':_0x225e58});return{'authoredPath':_0x3aa4da,'lexicalPath':_0xb319a3,'canonicalPath':_0x225e58};}async function assertWorkspaceFile(_0x2e711b){const _0x29344a={_0x3e240d:0x427,_0xfc1bdb:0x4fd,_0x2ac778:0x383},_0x5705bb={_0xc1a2a2:0x2d1},_0x66d75b=await stat(_0x2e711b);function _0x58a6ea(_0x2567da,_0x52ef8b,_0x3a7366,_0x1be924){return _0x5b2413(_0x2567da-0x120,_0x52ef8b-0xac,_0x52ef8b- -_0x5705bb._0xc1a2a2,_0x2567da);}if(!_0x66d75b[_0x58a6ea(_0x29344a._0x3e240d,_0x29344a._0xfc1bdb,_0x29344a._0x2ac778,0x38f)]())throw new ToolExecutionError('Path\x20is\x20not\x20a\x20file:\x20'+_0x2e711b,{'path':_0x2e711b});}function isProbablyBinary(_0x183a12){const _0x4d010e={_0x18ed5f:0x126,_0x26bb29:0x184,_0x3f4a77:0x6e7};function _0x298cb3(_0x2fcabd,_0x5abeb2,_0x581651,_0xd41e1b){return _0x5b2413(_0x2fcabd-_0x4d010e._0x18ed5f,_0x5abeb2-_0x4d010e._0x26bb29,_0x2fcabd- -_0x4d010e._0x3f4a77,_0x5abeb2);}return _0x183a12[_0x298cb3(0x79,0x4b,0x287,-0x125)](0x0);}var MAX_ANCHORED_PREVIEW_BYTES=0x100*0x400,defaultFileSystem2={'readFile':_0x4ca09e=>_0x300b53(_0x4ca09e),'stat':_0x2de938=>_0x3dcd52(_0x2de938),'atomicWrite':(_0x2fc98f,_0x110c9c,_0x298179)=>atomicReplaceFile(_0x2fc98f,_0x110c9c,_0x298179)};function parseAnchoredInput(_0x168c7d,_0x379ecd){if(_0x168c7d==='hashline')return parseHashlineFileEditInput(_0x379ecd);return parseStructuredFileEditInput(_0x379ecd);}function stableStringify2(_0xc1e94d){const _0x2234da={_0x640bf3:0x232,_0x7cbaea:0x79b,_0x5e1d73:0x46,_0x56ef06:0x20f,_0x437283:0xcf,_0x2cc764:0x248,_0x405d35:0x8cc,_0x137c58:0x730,_0x29f2f4:0x53f,_0x5aa813:0x59b,_0x35b9d1:0x4d6,_0x3a1e65:0x7a9,_0x3f21ce:0x7af,_0x350896:0x47f},_0x345ecd={_0x12e831:0x80},_0x11c016={_0x54fcde:0x15f};if(Array[_0xfc1b23(_0x2234da._0x640bf3,0x2,0x202,0x1c4)](_0xc1e94d))return'['+_0xc1e94d[_0x392c60(0x7ea,0x730,0x554,_0x2234da._0x7cbaea)](stableStringify2)[_0x392c60(0x490,0x5bc,0x670,0x4e3)](',')+']';if(_0xc1e94d!==null&&typeof _0xc1e94d===_0xfc1b23(_0x2234da._0x5e1d73,0x2f,0x247,0x1e5)){const _0x42a5d4=_0xc1e94d;return'{'+Object[_0xfc1b23(0xd5,0x348,_0x2234da._0x56ef06,0x1f7)](_0x42a5d4)[_0xfc1b23(_0x2234da._0x437283,0xa0,0x2a3,_0x2234da._0x2cc764)]()[_0x392c60(_0x2234da._0x405d35,_0x2234da._0x137c58,_0x2234da._0x29f2f4,_0x2234da._0x5aa813)](_0x14b721=>JSON[_0xfc1b23(0x6a7,0x4b5,0x3c1,0x4b4)](_0x14b721)+':'+stableStringify2(_0x42a5d4[_0x14b721]))[_0xfc1b23(0x551,_0x2234da._0x35b9d1,0x3c4,0x3dd)](',')+'}';}function _0x392c60(_0x41cf2b,_0x144323,_0x14a3ad,_0x2ac5b7){return _0x28bc81(_0x41cf2b-0x121,_0x144323-0x1c4,_0x144323-_0x11c016._0x54fcde,_0x2ac5b7);}function _0xfc1b23(_0x1782b2,_0x1fc5ef,_0x336789,_0xe4a9f4){return _0x28bc81(_0x1782b2-0x1c1,_0x1fc5ef-0x13c,_0xe4a9f4- -_0x345ecd._0x12e831,_0x1fc5ef);}return JSON[_0x392c60(_0x2234da._0x3a1e65,0x693,_0x2234da._0x3f21ce,_0x2234da._0x350896)](_0xc1e94d);}function normalizeOperationContent(_0x3192ad){const _0x16a909={_0x17c575:0x452,_0x28b590:0x3f2,_0x5dcafb:0x28d,_0x4bad6a:0x29f,_0x495652:0x3f6,_0x3d48bb:0x3d7,_0x2d25f3:0x404,_0x99edeb:0x30c,_0x53d5a0:0x388,_0xb1f5d9:0x48b,_0x57b5d4:0x395,_0x490306:0x23e},_0x40a7cf={_0x4549f2:0x14e,_0x2be178:0x561},_0x3e4714={_0x7917e9:0x1b7};function _0x5b244b(_0x410387,_0x208391,_0x4b52c6,_0x24f9be){return _0x28bc81(_0x410387-0x69,_0x208391-_0x3e4714._0x7917e9,_0x410387- -0x105,_0x24f9be);}if(_0x3192ad[_0x5b244b(0x4b3,0x629,0x658,0x624)]===_0x5b244b(_0x16a909._0x17c575,0x3d1,_0x16a909._0x28b590,_0x16a909._0x5dcafb)||_0x3192ad[_0x15062f(_0x16a909._0x4bad6a,0x587,_0x16a909._0x495652,_0x16a909._0x3d48bb)]==='insert')return{..._0x3192ad,'content':_0x3192ad[_0x15062f(_0x16a909._0x2d25f3,0x313,_0x16a909._0x99edeb,0x399)][_0x15062f(_0x16a909._0x53d5a0,_0x16a909._0xb1f5d9,_0x16a909._0x57b5d4,_0x16a909._0x490306)](/\r\n/g,'\x0a')};function _0x15062f(_0x99b16b,_0xc540e9,_0x4b000,_0x2d5fb7){return _0x5b2413(_0x99b16b-_0x40a7cf._0x4549f2,_0xc540e9-0x19a,_0x4b000- -_0x40a7cf._0x2be178,_0xc540e9);}return _0x3192ad;}function computePayloadDigest(_0x45651a){return sha256Bytes(stableStringify2(_0x45651a['map'](normalizeOperationContent)));}function collectRequiredLines(_0x6b9e25){const _0x213ce0={_0x3d500c:0x192,_0x3e495b:0x374,_0x20b6ba:0x58e},_0x248312={_0x4132de:0x12e},_0x24fde3={_0x41a4ff:0x23,_0x41bb23:0x2f8},_0x2f6676=new Set();function _0x6bfd6e(_0x303873,_0x5a46b7,_0x4cf1ce,_0x2e1cba){return _0x5b2413(_0x303873-_0x24fde3._0x41a4ff,_0x5a46b7-0x67,_0x303873- -_0x24fde3._0x41bb23,_0x2e1cba);}function _0x4dfc0c(_0x54640e,_0x39c6ad,_0x499331,_0x1fe1e9){return _0x28bc81(_0x54640e-0x13f,_0x39c6ad-0x16b,_0x39c6ad- -_0x248312._0x4132de,_0x54640e);}for(const _0x26a948 of _0x6b9e25){if(_0x26a948['operation']==='insert')_0x2f6676[_0x6bfd6e(0x312,0x16e,_0x213ce0._0x3d500c,0x34c)](_0x26a948['line']);else for(let _0x457848=_0x26a948['startLine'];_0x457848<=_0x26a948[_0x6bfd6e(0x4a3,_0x213ce0._0x3e495b,0x42a,0x543)];_0x457848+=0x1){_0x2f6676['add'](_0x457848);}}return[..._0x2f6676][_0x6bfd6e(0x36f,0x274,_0x213ce0._0x20b6ba,0x363)]((_0x3b327a,_0x344b90)=>_0x3b327a-_0x344b90);}async function resolveEditTarget(_0x19c799,_0x1bf21c,_0x5a5aab){const _0x4747e2={_0x4e4c35:0x488,_0x400d51:0x5cf,_0x389598:0x9e,_0x5d3623:0x2ab,_0x1c23b8:0x205,_0x52f5d6:0x36e,_0x129366:0x289,_0x10d3ab:0x2ce},_0x2de981={_0x1ba6e7:0x1cf,_0x164ded:0x110},_0x5c01fc={_0x4c113a:0x120};function _0x1b8ee1(_0x3c453c,_0x14fbb6,_0x395108,_0x3d07df){return _0x28bc81(_0x3c453c-0xfe,_0x14fbb6-0x185,_0x3d07df-_0x5c01fc._0x4c113a,_0x3c453c);}function _0xb62f0(_0x421a2e,_0x4eef55,_0x1cb55e,_0x252bcf){return _0x5b2413(_0x421a2e-_0x2de981._0x1ba6e7,_0x4eef55-_0x2de981._0x164ded,_0x421a2e- -0x4f5,_0x4eef55);}try{return await resolveCanonicalAllowedFile(_0x19c799,_0x1bf21c,_0x5a5aab);}catch(_0x4c1031){if(_0x4c1031 instanceof ToolExecutionError)throw _0x4c1031;const _0x537207=_0x4c1031 instanceof Error?_0x4c1031[_0xb62f0(_0x4747e2._0x4e4c35,0x29f,_0x4747e2._0x400d51,0x31f)]:String(_0x4c1031);throw createAnchoredFileError('unknown_snapshot',_0xb62f0(0xb6,_0x4747e2._0x389598,0x42,-0x21)+_0x5a5aab+_0xb62f0(_0x4747e2._0x5d3623,0x144,0x3d5,_0x4747e2._0x1c23b8)+_0x537207+_0x1b8ee1(_0x4747e2._0x52f5d6,_0x4747e2._0x129366,_0x4747e2._0x10d3ab,0x473),{'path':_0x5a5aab});}}async function readLiveSnapshot(_0x463922,_0x286161){const _0x205f73={_0x420d1a:0x5c1,_0x5f8a03:0x3d2,_0x3c4298:0x442,_0x25889c:0x64f,_0x27a8ef:0x8df,_0x5ee5a3:0x740,_0x568a41:0x615,_0x787b58:0x521},_0x5f48c4={_0x114f81:0xd5,_0x2d01e3:0x382},_0x57bb06={_0x4cbd12:0x6b,_0x58d43d:0x198};function _0x517cd7(_0x4d06b5,_0x3e766a,_0x528116,_0x1d347a){return _0x28bc81(_0x4d06b5-_0x57bb06._0x4cbd12,_0x3e766a-_0x57bb06._0x58d43d,_0x4d06b5-0x3b5,_0x1d347a);}function _0x53d06b(_0x5105f6,_0x46702a,_0x2cc18b,_0x47017c){return _0x28bc81(_0x5105f6-0x1b1,_0x46702a-_0x5f48c4._0x114f81,_0x2cc18b-_0x5f48c4._0x2d01e3,_0x46702a);}let _0x48a1b2;try{_0x48a1b2=await _0x300b53(_0x463922);}catch(_0x5dbc53){const _0x3eff68=_0x5dbc53 instanceof Error?_0x5dbc53['message']:String(_0x5dbc53);throw createAnchoredFileError(_0x53d06b(0x3b6,0x485,_0x205f73._0x420d1a,_0x205f73._0x5f8a03),_0x53d06b(0x6e5,_0x205f73._0x3c4298,0x58e,_0x205f73._0x25889c)+_0x286161+_0x53d06b(0x5b1,_0x205f73._0x27a8ef,_0x205f73._0x5ee5a3,0x53c)+_0x3eff68+_0x53d06b(_0x205f73._0x568a41,_0x205f73._0x787b58,0x6d5,0x4b4),{'path':_0x286161});}return createNormalizedFileSnapshot(_0x463922,_0x48a1b2);}function staleSnapshotMessageText(_0x130a4f,_0x455ac7){const _0x3077f4={_0x49e741:0x1b5,_0x17a44f:0xd8,_0x43bac4:0x275,_0x5d1aa2:0x218,_0x4ea50b:0x275},_0x2eb113={_0x131d54:0x9e,_0x555001:0xf2,_0x43e07d:0x72a},_0x225b6b={_0x190ea5:0x187,_0x812797:0x625};function _0x38843a(_0x45887e,_0x17de8e,_0x3a836b,_0x122459){return _0x5b2413(_0x45887e-_0x225b6b._0x190ea5,_0x17de8e-0x192,_0x17de8e- -_0x225b6b._0x812797,_0x122459);}function _0x2102d3(_0xce78fb,_0x591cf7,_0x145649,_0x1683cc){return _0x5b2413(_0xce78fb-_0x2eb113._0x131d54,_0x591cf7-_0x2eb113._0x555001,_0x1683cc- -_0x2eb113._0x43e07d,_0x591cf7);}return{'reasonLine':_0x38843a(_0x3077f4._0x49e741,0x14b,0x1f4,-_0x3077f4._0x17a44f)+_0x455ac7+_0x38843a(0x3a7,0x2ca,_0x3077f4._0x43bac4,0xe8),'guidance':'File\x20'+_0x130a4f+_0x38843a(0x28f,0x1be,_0x3077f4._0x5d1aa2,_0x3077f4._0x4ea50b)};}function unseenLinesMessageText(){const _0x2729fa={_0x5d4503:0x247,_0x3b7ef1:0x3c7,_0x59bbfe:0x2b6},_0x735aec={_0x399017:0x195,_0x57effc:0x76},_0x5de583={_0x5cb2f6:0x1cc,_0x3ef413:0x145,_0x71700a:0x64c};function _0x22ba56(_0x384605,_0x2d9cd4,_0x211bda,_0x4a155a){return _0x5b2413(_0x384605-_0x5de583._0x5cb2f6,_0x2d9cd4-_0x5de583._0x3ef413,_0x211bda- -_0x5de583._0x71700a,_0x2d9cd4);}function _0x3d615c(_0x5c78cc,_0x579a01,_0x37a9fa,_0x354ad9){return _0x5b2413(_0x5c78cc-_0x735aec._0x399017,_0x579a01-_0x735aec._0x57effc,_0x354ad9- -0x5c1,_0x37a9fa);}return{'reasonLine':_0x3d615c(_0x2729fa._0x5d4503,_0x2729fa._0x3b7ef1,0x151,_0x2729fa._0x59bbfe),'guidance':_0x3d615c(-0x81,0x225,0x255,0x142)};}function noChangeMessageText(_0x12a2c0,_0x34f02b){const _0x404f64={_0x383dfe:0x443,_0x3f70f4:0x109,_0x54b200:0x143,_0x433cbe:0x146,_0x261ce5:0x3ad},_0x192080={_0x4394b4:0x165,_0x5a61db:0x3b8},_0x585d1f={_0x48f4d8:0xf1,_0x1f904a:0xca,_0x32fa9f:0x73c};function _0x12d8f9(_0x981c24,_0x111c35,_0x4d9466,_0x49e5b7){return _0x5b2413(_0x981c24-_0x585d1f._0x48f4d8,_0x111c35-_0x585d1f._0x1f904a,_0x111c35- -_0x585d1f._0x32fa9f,_0x981c24);}const _0x2d572b=_0x34f02b>=0x3;function _0x52544b(_0x7c6b30,_0x92bbd7,_0x3fad89,_0x5b8181){return _0x5b2413(_0x7c6b30-0x5d,_0x92bbd7-_0x192080._0x4394b4,_0x3fad89- -_0x192080._0x5a61db,_0x7c6b30);}return{'reasonLine':_0x52544b(_0x404f64._0x383dfe,0x27b,0x2f3,_0x404f64._0x3f70f4)+_0x12a2c0+_0x52544b(0x364,0x308,0x208,0x364),'guidance':_0x2d572b?_0x12d8f9(-0x2ef,-0x151,-_0x404f64._0x54b200,-_0x404f64._0x433cbe):_0x52544b(0x3f8,0x4c8,0x2cd,_0x404f64._0x261ce5)};}function buildRecoveryContext(_0x1c4d0e,_0xbde740,_0x40958e,_0x57f23c,_0x287a4a,_0x5f26dc){const _0x4a5697={_0x238230:0x6de,_0x5c9a8f:0x5a7,_0x38a33c:0xa8a,_0x47b138:0x8d0,_0x440192:0x8ca,_0x1e53eb:0x115,_0x3a44c3:0x14d,_0x279a4a:0xff,_0x56382:0x22e,_0x5837c9:0x162,_0x2a622f:0x1f5,_0xbecb81:0x7b5,_0xed0fa8:0x91d,_0x5759b1:0xa8b,_0x4ddba6:0x1d,_0x469f01:0x72,_0x498b33:0xad,_0x173294:0x4a,_0x35d1f2:0x623,_0x584130:0x81e,_0x378e96:0xb6,_0x27b871:0x1b,_0x4f1e40:0xb4,_0x2afa2d:0x1c,_0x6f818f:0x18d,_0x50e607:0x6d4,_0xfdce3:0x70d,_0x5aba91:0x6ae},_0x3bd764={_0x204f40:0xe4,_0x1fdd5b:0x62f},_0xf0a03a={_0x40c65a:0x11,_0x435f36:0x35},_0x21fc6f='['+_0x1c4d0e+'#'+_0xbde740[_0x10737d(-0x1d,-0x3c,0x242,0x7a)]+']',_0x408a5b={'tag':_0xbde740[_0x3ffa63(0x4d7,_0x4a5697._0x238230,0x5e0,_0x4a5697._0x5c9a8f)],'digest':_0xbde740[_0x3ffa63(_0x4a5697._0x38a33c,_0x4a5697._0x47b138,_0x4a5697._0x440192,0xac7)],'contextLines':[],'output':_0x287a4a+'\x0a'+_0x21fc6f+'\x0a'+_0x5f26dc};function _0x3ffa63(_0x4f531e,_0x51949c,_0x22a44d,_0x5cde27){return _0x5b2413(_0x4f531e-_0xf0a03a._0x40c65a,_0x51949c-0x1e5,_0x51949c-_0xf0a03a._0x435f36,_0x22a44d);}const _0x158275=_0xbde740[_0x10737d(_0x4a5697._0x1e53eb,0x4,_0x4a5697._0x3a44c3,_0x4a5697._0x279a4a)]['length'],_0x4db8c0=[...new Set(_0x40958e[_0x10737d(_0x4a5697._0x56382,0x323,_0x4a5697._0x5837c9,_0x4a5697._0x2a622f)](_0x30522e=>Number[_0x3ffa63(0x534,0x6ea,0x6d7,0x617)](_0x30522e)&&_0x30522e>=0x1&&_0x30522e<=_0x158275))]['sort']((_0x5c204f,_0x1c41a7)=>_0x5c204f-_0x1c41a7);function _0x10737d(_0x209df9,_0x1e1b88,_0xd6a905,_0x3a47ba){return _0x5b2413(_0x209df9-_0x3bd764._0x204f40,_0x1e1b88-0x8f,_0x3a47ba- -_0x3bd764._0x1fdd5b,_0x1e1b88);}if(_0x4db8c0[_0x3ffa63(_0x4a5697._0xbecb81,_0x4a5697._0xed0fa8,_0x4a5697._0x5759b1,0x7cf)]===0x0)return _0x408a5b;const _0x4d687d=_0x4db8c0[_0x4db8c0['length']-0x1]-_0x4db8c0[0x0]+0x1;if(_0x4d687d>0x14)return _0x408a5b;for(const _0x433b3e of _0x4db8c0){if(!isWithinDisplayColumns(_0xbde740[_0x10737d(0x307,_0x4a5697._0x4ddba6,0x95,0xff)][_0x433b3e-0x1],0x200))return _0x408a5b;}const _0x29eb16=formatAnchoredFileRead({'displayPath':_0x1c4d0e,'snapshot':_0xbde740,'lineStart':_0x4db8c0[0x0],'lineEnd':_0x4db8c0[_0x4db8c0['length']-0x1],'maxBytes':_0x57f23c});if(_0x29eb16['truncated']||_0x29eb16[_0x10737d(_0x4a5697._0x469f01,-_0x4a5697._0x498b33,0xe8,_0x4a5697._0x173294)][_0x10737d(0x46a,0x26f,0x406,0x2b9)]===0x0)return _0x408a5b;const _0x4f405c=_0x287a4a+'\x0a'+_0x29eb16[_0x3ffa63(_0x4a5697._0x35d1f2,0x6af,0x50a,_0x4a5697._0x584130)]['trimEnd']()+'\x0a'+_0x5f26dc;if(Buffer[_0x10737d(-_0x4a5697._0x378e96,-0x2a,-_0x4a5697._0x27b871,_0x4a5697._0x4f1e40)](_0x4f405c,_0x10737d(-_0x4a5697._0x2afa2d,0xad,_0x4a5697._0x6f818f,-0x17))>_0x57f23c)return _0x408a5b;return{'tag':_0xbde740[_0x3ffa63(0x795,_0x4a5697._0x238230,_0x4a5697._0x50e607,0x640)],'digest':_0xbde740[_0x3ffa63(0xa38,_0x4a5697._0x47b138,0x6d5,_0x4a5697._0xfdce3)],'contextLines':[..._0x29eb16[_0x3ffa63(0x619,_0x4a5697._0x5aba91,0x5aa,0x753)]],'output':_0x4f405c};}function assertPreviewWithinBounds(_0x439396,_0x3458e2,_0x379fcf){const _0x2edda3={_0x3712f9:0x4af,_0x254c51:0x5f5,_0x157a90:0x672,_0x2d2146:0x5d4,_0xe535ac:0x460,_0x137368:0x53e,_0x4099e9:0x751},_0x25a961={_0x426a42:0xce,_0x2baad8:0x2c2},_0x559733={_0x83ead7:0x47};function _0x46f279(_0xee0621,_0x2c72cb,_0x1314f2,_0x5dda53){return _0x5b2413(_0xee0621-0x1c4,_0x2c72cb-0x125,_0x5dda53-_0x559733._0x83ead7,_0x1314f2);}const _0x28e832=_0x439396[_0x46f279(0x5de,_0x2edda3._0x3712f9,_0x2edda3._0x254c51,_0x2edda3._0x157a90)]((_0x3a7ba7,_0x2a886c)=>_0x3a7ba7+Buffer[_0x46f279(0x540,0x594,0x81e,0x72a)](_0x2a886c[_0x2e5642(0x470,0x433,0x2f0,0x2cd)],_0x46f279(0x63a,0x608,0x5c1,0x65f))+Buffer[_0x2e5642(0x46f,0x3d3,0x421,0x5eb)](_0x2a886c[_0x46f279(0x80b,0x8ad,0x819,0x8c8)],_0x2e5642(0x4ba,0x283,0x356,0x1d2)),0x0);function _0x2e5642(_0xc311d7,_0x2150d0,_0x5d40c4,_0xbc00fc){return _0x5b2413(_0xc311d7-_0x25a961._0x426a42,_0x2150d0-0x2c,_0x5d40c4- -_0x25a961._0x2baad8,_0x2150d0);}if(_0x28e832>MAX_ANCHORED_PREVIEW_BYTES)throw createAnchoredFileError(_0x46f279(0x5ed,0x822,_0x2edda3._0x2d2146,0x657),'invalid_range:\x20the\x20edit\x27s\x20source-derived\x20preview\x20text\x20is\x20'+_0x28e832+_0x46f279(_0x2edda3._0xe535ac,0x6a0,_0x2edda3._0x137368,0x660)+MAX_ANCHORED_PREVIEW_BYTES+_0x2e5642(0x4ff,0x4c8,0x6a5,_0x2edda3._0x4099e9),{'path':_0x379fcf,'canonicalPath':_0x3458e2,'previewBytes':_0x28e832});}function buildPreview(_0x2d0882,_0x322d76,_0x36ae09,_0x1e7118,_0x17f35d){const _0x48f543={_0x524f81:0x52c,_0x46bbab:0x6ba,_0x49d696:0x49c,_0x3a158c:0x409,_0x78b15d:0x23c,_0x4d4416:0x4f4,_0x276ed2:0x44b,_0x13bcc5:0x4eb,_0x4d76ef:0x473,_0x4c3ca7:0x34d,_0x54f583:0x17a,_0xf3b1da:0x271,_0x13bc74:0x175,_0x1ee467:0x281,_0x117495:0x6a0,_0x35997e:0x4bf},_0x5ccf3f={_0x2a401f:0xd7,_0xb2c3d2:0x2e3},_0x2fa270={_0x47aacf:0x41a};function _0x2ef7a7(_0x158713,_0x3216e0,_0x31d071,_0x24a194){return _0x5b2413(_0x158713-0x1ca,_0x3216e0-0xbb,_0x3216e0- -_0x2fa270._0x47aacf,_0x24a194);}function _0x3fbad5(_0x400856,_0x2f3a44,_0x257d10,_0x23691){return _0x28bc81(_0x400856-0x70,_0x2f3a44-_0x5ccf3f._0x2a401f,_0x23691-_0x5ccf3f._0xb2c3d2,_0x400856);}return{'mode':_0x2d0882,'filePath':_0x322d76[_0x3fbad5(0x384,0x637,0x444,_0x48f543._0x524f81)],'canonicalPath':_0x36ae09[_0x3fbad5(0x580,0x699,0x6b2,_0x48f543._0x46bbab)],'tag':_0x322d76[_0x2ef7a7(_0x48f543._0x49d696,0x28f,_0x48f543._0x3a158c,_0x48f543._0x78b15d)],'digest':_0x1e7118[_0x3fbad5(_0x48f543._0x4d4416,_0x48f543._0x276ed2,_0x48f543._0x13bcc5,0x5e9)]['digest'],'operationCount':_0x17f35d[_0x2ef7a7(_0x48f543._0x4d76ef,_0x48f543._0x4c3ca7,_0x48f543._0x54f583,_0x48f543._0xf3b1da)]['length'],'operations':_0x17f35d[_0x2ef7a7(_0x48f543._0x13bc74,0x34d,0x383,_0x48f543._0x1ee467)],'blocks':_0x17f35d[_0x2ef7a7(_0x48f543._0x117495,_0x48f543._0x35997e,0x381,0x4e2)]};}function buildResultText(_0x2b903b,_0x193324,_0x2693c3,_0x5182df,_0x2666cc){const _0x256c78={_0xb736c6:0x1ae,_0x46ec00:0xc8,_0xdd2572:0x12a,_0x1fd3cf:0x63,_0x53c2e4:0x22b,_0x22c01c:0xdc,_0x3dfc62:0xb3,_0x5be70c:0xa4,_0x4deaba:0xf7,_0x39177f:0x8a,_0x17bd91:0x280,_0x34ba5a:0x343,_0xdda5cd:0x173,_0x55005f:0x2a8},_0x27f0eb={_0x1b0bff:0x1b5},_0x27c62e={_0x46fa99:0x117,_0x84e0e2:0x32f},_0x40503d='['+_0x2b903b+'#'+_0x193324['tag']+']\x0a'+_0x2666cc+'\x0a';let _0x3ceba9=Buffer[_0x5075a3(0x31,0xa7,0x18,_0x256c78._0xb736c6)](_0x40503d,'utf8');const _0x4de7a9=[],_0x2e1dbf=[];function _0x33de37(_0x16b890,_0x44c0f6,_0x80eefc,_0x52490f){return _0x28bc81(_0x16b890-_0x27c62e._0x46fa99,_0x44c0f6-0x1e5,_0x52490f- -_0x27c62e._0x84e0e2,_0x80eefc);}function _0x5075a3(_0x440026,_0x5c7cd0,_0x157d38,_0x1c005d){return _0x28bc81(_0x440026-0x114,_0x5c7cd0-_0x27f0eb._0x1b0bff,_0x157d38- -0x32c,_0x5c7cd0);}for(const _0x3d7c67 of _0x2693c3){const _0x4a1883=_0x3d7c67+':'+(_0x193324[_0x5075a3(_0x256c78._0x46ec00,_0x256c78._0xdd2572,_0x256c78._0x1fd3cf,0xe0)][_0x3d7c67-0x1]??'')+'\x0a',_0x118a22=Buffer[_0x5075a3(0x1a2,0x1ba,0x18,0x7)](_0x4a1883,_0x5075a3(-_0x256c78._0x53c2e4,-_0x256c78._0x22c01c,-_0x256c78._0x3dfc62,_0x256c78._0x5be70c));if(_0x3ceba9+_0x118a22>_0x5182df)break;_0x4de7a9[_0x5075a3(_0x256c78._0x4deaba,0xf4,_0x256c78._0x39177f,_0x256c78._0x17bd91)](_0x4a1883),_0x2e1dbf['push'](_0x3d7c67),_0x3ceba9+=_0x118a22;}return{'output':''+_0x40503d+_0x4de7a9[_0x33de37(_0x256c78._0x34ba5a,_0x256c78._0xdda5cd,_0x256c78._0x55005f,0x12e)](''),'observedLines':_0x2e1dbf};}function selectChangedContextLines(_0x377eac,_0x46a640,_0x4f22c8){const _0xc8912b={_0x2d62de:0x6ae,_0x1566f2:0x818,_0x20bca4:0x797,_0x4ea67f:0x743,_0x2f276d:0x24f,_0x4a2708:0x6aa,_0x16f306:0x4a3,_0x560285:0x288,_0x414a17:0x439,_0x4ccb29:0x5af,_0xc8c0c:0x728,_0x18bda2:0x8a0,_0x505995:0x545,_0x4fc7ae:0x468,_0xb05e2d:0x3dd,_0x2dd7cf:0x391,_0x113293:0x298,_0x151dac:0x580,_0x390fed:0x2b6,_0x50509a:0x4a6,_0x498e44:0x2b7,_0x39b238:0x10,_0x5b1d4d:0x23f,_0x5336b8:0x495,_0x317d04:0x102,_0x5c3e53:0x322,_0x361b77:0x5e1,_0x2d1f5b:0xc7,_0x3b15bd:0xe6,_0x34e48d:0x156,_0x48561a:0x99,_0x16f7ed:0x189,_0x206226:0x574,_0x55070f:0x58c,_0x366516:0x48f,_0x4b4255:0x497,_0xc61aec:0x420,_0x2c3ec7:0x41b},_0xa983e2={_0x3de8db:0x3f,_0x2e6efa:0x8e},_0x3916c4={_0x1476c1:0x5c6};function _0x18189d(_0x353c8c,_0x519206,_0x48a64f,_0x2b0309){return _0x5b2413(_0x353c8c-0x3d,_0x519206-0x199,_0x2b0309- -_0x3916c4._0x1476c1,_0x353c8c);}const _0x26ab55=new Set();function _0x59d99b(_0x5f36f8,_0xab5adb,_0x18536c,_0x26b472){return _0x28bc81(_0x5f36f8-_0xa983e2._0x3de8db,_0xab5adb-_0xa983e2._0x2e6efa,_0x18536c-0x1fd,_0x5f36f8);}for(const _0x273248 of _0x377eac){const _0x16f10d=_0x273248[_0x59d99b(_0xc8912b._0x2d62de,_0xc8912b._0x1566f2,_0xc8912b._0x20bca4,0x73e)];if(_0x4f22c8==='after'){if(_0x16f10d['newLineCount']>0x0)for(let _0x1d54e8=_0x16f10d['newStartLine'];_0x1d54e8<=_0x16f10d['newEndLine']&&_0x1d54e8<=_0x46a640[_0x59d99b(_0xc8912b._0x4ea67f,0x49d,0x58c,0x787)]['length'];_0x1d54e8+=0x1){_0x26ab55[_0x18189d(0x7f,-0x74,_0xc8912b._0x2f276d,0x44)](_0x1d54e8);}else _0x16f10d[_0x59d99b(0x618,_0xc8912b._0x4a2708,_0xc8912b._0x16f306,0x2a3)]>=0x1&&_0x16f10d[_0x59d99b(_0xc8912b._0x560285,_0xc8912b._0x414a17,0x4a3,_0xc8912b._0x4ccb29)]<=_0x46a640['lines'][_0x59d99b(_0xc8912b._0xc8c0c,_0xc8912b._0x18bda2,0x746,0x74e)]&&_0x26ab55[_0x59d99b(_0xc8912b._0x505995,0x63e,_0xc8912b._0x4fc7ae,_0xc8912b._0xb05e2d)](_0x16f10d['newStartLine']);}else{if(_0x16f10d[_0x18189d(_0xc8912b._0x2dd7cf,0x282,_0xc8912b._0x113293,0x280)]>0x0)for(let _0xa389e8=_0x16f10d[_0x59d99b(_0xc8912b._0x151dac,_0xc8912b._0x390fed,_0xc8912b._0x50509a,0x350)];_0xa389e8<=_0x16f10d[_0x59d99b(0x5ce,0x445,0x58f,0x3c4)]&&_0xa389e8<=_0x46a640[_0x18189d(_0xc8912b._0x498e44,-_0xc8912b._0x39b238,_0xc8912b._0x5b1d4d,0x168)][_0x18189d(_0xc8912b._0x5336b8,_0xc8912b._0x317d04,0x1e4,_0xc8912b._0x5c3e53)];_0xa389e8+=0x1){_0x26ab55[_0x59d99b(0x58f,_0xc8912b._0x361b77,_0xc8912b._0x4fc7ae,0x588)](_0xa389e8);}else _0x16f10d[_0x18189d(-0x97,-_0xc8912b._0x2d1f5b,_0xc8912b._0x3b15bd,0x82)]>=0x1&&_0x16f10d[_0x18189d(-_0xc8912b._0x34e48d,_0xc8912b._0x48561a,_0xc8912b._0x16f7ed,0x82)]<=_0x46a640[_0x59d99b(0x506,_0xc8912b._0x206226,_0xc8912b._0x55070f,0x4e9)][_0x18189d(0x282,_0xc8912b._0x366516,_0xc8912b._0x4b4255,0x322)]&&_0x26ab55[_0x59d99b(0x599,_0xc8912b._0xc61aec,0x468,_0xc8912b._0x2c3ec7)](_0x16f10d['oldStartLine']);}}return[..._0x26ab55]['sort']((_0x290d33,_0x3b2526)=>_0x290d33-_0x3b2526)['slice'](0x0,0x14);}function throwStaleSnapshot(_0x5623ae,_0xfc4b23,_0x3c203a,_0x8041d3){const _0x1e5290={_0x5ebcd4:0x2fb,_0x14ec23:0x3c0,_0x4be749:0x264,_0x845308:0x255,_0x1a5126:0x34c,_0x3a09c5:0x8d8,_0x40e825:0x6b5,_0x35604e:0x626,_0x17cd0e:0x94f,_0x33a3cd:0xb16,_0x5ab14b:0xaf},_0x267446={_0x5a6dfd:0x18e,_0x165cae:0x5},_0xf3ee44={_0x1e07f8:0x186,_0x461d13:0xe4,_0x310ef3:0x3dc};function _0x40a819(_0x43d722,_0x35b739,_0x2b1629,_0x109d88){return _0x28bc81(_0x43d722-_0xf3ee44._0x1e07f8,_0x35b739-_0xf3ee44._0x461d13,_0x2b1629-_0xf3ee44._0x310ef3,_0x109d88);}function _0x3de79e(_0x26dd53,_0x27bf8a,_0x1ecdbe,_0x38857c){return _0x28bc81(_0x26dd53-_0x267446._0x5a6dfd,_0x27bf8a-_0x267446._0x165cae,_0x1ecdbe- -0x134,_0x27bf8a);}throw createAnchoredFileError(_0x3de79e(_0x1e5290._0x5ebcd4,0x34c,_0x1e5290._0x14ec23,_0x1e5290._0x4be749),_0x8041d3[_0x3de79e(_0x1e5290._0x845308,_0x1e5290._0x1a5126,0x1a7,-0x2)],{'path':_0x5623ae,'canonicalPath':_0xfc4b23,'tag':_0x3c203a['tag'],'digest':_0x3c203a[_0x40a819(0x800,0xab7,_0x1e5290._0x3a09c5,0x80f)],..._0x8041d3[_0x40a819(0x75b,_0x1e5290._0x40e825,_0x1e5290._0x35604e,0x787)][_0x40a819(_0x1e5290._0x17cd0e,_0x1e5290._0x33a3cd,0x925,0x960)]>0x0?{'contextLines':[..._0x8041d3[_0x3de79e(_0x1e5290._0x5ab14b,-0xb5,0x116,0x163)]]}:{}});}function throwUnseenLines(_0x3380b3,_0x2c274a,_0x548a68,_0x425f28,_0x1184c1){const _0x57f335={_0x11ff7a:0x216,_0x10e95d:0x512,_0x4d5a13:0x1f2,_0x2f8a6f:0x340,_0x23b884:0x716,_0x1967ea:0x685,_0x13f613:0x2e3,_0x43964f:0x290,_0x26f628:0x3dd},_0x450a65={_0x43dabf:0x145,_0x3cb0a5:0x20c};function _0x12e72c(_0x41748b,_0x1f6ad9,_0x2babf2,_0x3c71a8){return _0x5b2413(_0x41748b-0x3c,_0x1f6ad9-_0x450a65._0x43dabf,_0x3c71a8- -_0x450a65._0x3cb0a5,_0x1f6ad9);}function _0x5db541(_0x1326c4,_0x5126ec,_0xcbcea3,_0x3be4cc){return _0x28bc81(_0x1326c4-0xa8,_0x5126ec-0x6f,_0x3be4cc-0x4b,_0xcbcea3);}throw createAnchoredFileError(_0x5db541(_0x57f335._0x11ff7a,0x60a,_0x57f335._0x10e95d,0x3ef),_0x1184c1[_0x5db541(0x235,0x44c,_0x57f335._0x4d5a13,0x326)],{'path':_0x3380b3,'canonicalPath':_0x2c274a,'tag':_0x548a68[_0x12e72c(_0x57f335._0x2f8a6f,0x285,0x581,0x49d)],'digest':_0x548a68[_0x5db541(0x6f7,0x5c7,_0x57f335._0x23b884,0x547)],'requiredLines':[..._0x425f28],..._0x1184c1['contextLines'][_0x5db541(0x443,0x6f3,_0x57f335._0x1967ea,0x594)]>0x0?{'contextLines':[..._0x1184c1[_0x12e72c(_0x57f335._0x13f613,_0x57f335._0x43964f,0x448,_0x57f335._0x26f628)]]}:{}});}function throwNoChange(_0x5179bd,_0xff0fb3,_0x23d745,_0x39ddbd,_0x2b4a00){const _0x2646a3={_0x2f49c2:0x2c6,_0x5c0170:0xc6,_0x15b7c6:0x20f,_0x1019f9:0x482,_0xc2f784:0x538,_0x2faaf8:0x514,_0x48c887:0x36a,_0x3b5df3:0x421,_0x5e9816:0x1fe},_0x4fb4d9={_0x1758d3:0xa7,_0x5367cb:0xbd,_0x53db98:0x4c},_0x305cb4={_0x4ff78c:0x5a};function _0x567820(_0x3f33d4,_0x3f5282,_0x197d7b,_0x1e9422){return _0x28bc81(_0x3f33d4-_0x305cb4._0x4ff78c,_0x3f5282-0x109,_0x3f33d4-0xb7,_0x1e9422);}function _0xe570c6(_0x47cfce,_0x5a7ead,_0x42890b,_0x41fae3){return _0x28bc81(_0x47cfce-_0x4fb4d9._0x1758d3,_0x5a7ead-_0x4fb4d9._0x5367cb,_0x42890b- -_0x4fb4d9._0x53db98,_0x47cfce);}throw createAnchoredFileError(_0x567820(_0x2646a3._0x2f49c2,0xe0,0x1cc,_0x2646a3._0x5c0170),_0x39ddbd[_0x567820(0x392,0x547,_0x2646a3._0x15b7c6,0x20e)],{'path':_0x5179bd,'canonicalPath':_0xff0fb3,'tag':_0x23d745[_0x567820(0x3c1,0x2bb,0x225,0x20a)],'digest':_0x23d745[_0x567820(0x5b3,_0x2646a3._0x1019f9,_0x2646a3._0xc2f784,_0x2646a3._0x2faaf8)],'attemptCount':_0x2b4a00,..._0x39ddbd['contextLines'][_0xe570c6(0x36e,0x674,0x4fd,_0x2646a3._0x48c887)]>0x0?{'contextLines':[..._0x39ddbd[_0xe570c6(_0x2646a3._0x3b5df3,0x150,_0x2646a3._0x5e9816,0x271)]]}:{}});}async function prepareAnchoredFileEditApproval(_0x522050,_0x3e680b,_0x3df959,_0x3f3847){const _0x19362a={_0x485df5:0x5ee,_0x16a4aa:0x552,_0x3b193c:0x4fe,_0x4b7452:0x74a,_0x253c05:0x59c,_0x178912:0x43a,_0x4b2f3f:0x7fd,_0x4204ec:0x5fb,_0x38c16a:0x4de,_0x3248e2:0x44f,_0xcebca4:0x264,_0x3195a2:0x3c4,_0x2ac7f8:0x503,_0x119a39:0x2e4,_0x5916ac:0x681,_0x1b24d8:0x5b8,_0x12c174:0x649,_0x51e23c:0x5a3,_0xda7f4e:0x747,_0x4ca42e:0x60c,_0x28cb1b:0x45e,_0x5ea5e5:0x4ba,_0x2003e8:0x561,_0x24afbd:0x705,_0x51de9f:0x637,_0x521fee:0x584,_0x3bb7e2:0x114,_0x2f3d9b:0x38f,_0x1846b6:0x337,_0x177317:0x34a,_0x2eb029:0x471,_0xfd001c:0x5ea,_0x3569de:0x572,_0x3acf6e:0x4a1,_0x4ff178:0x4c4,_0x45fe29:0x539,_0x52f64c:0x320,_0x12c5c8:0x3e3,_0x352127:0x176,_0x4b971d:0x297,_0x57a25d:0x25e,_0x5b3128:0x2e3,_0x18607f:0x403,_0x266864:0x45d,_0x32b5ff:0x4c7,_0x48bd08:0x5d1,_0x5e65d2:0x122,_0x4b054e:0x328,_0x4db86e:0x391,_0x37e625:0x4e2,_0x3d596e:0x366,_0x462002:0x2e3,_0x2bcf27:0x594,_0x51c512:0x471,_0x3e1373:0x564,_0x3e2c49:0x616,_0x34c5b0:0x56d,_0x22df49:0x4d6},_0x395f38={_0xf7a3b:0x1c,_0x136c5a:0x109,_0x36ff81:0x9a},_0x3a4de4={_0x5a9c3e:0x5c},_0x5b5530=parseAnchoredInput(_0x522050,_0x3e680b),_0x15f84e=await resolveEditTarget(_0x3f3847['defaultCwd'],_0x3f3847[_0x30034a(0x332,_0x19362a._0x485df5,_0x19362a._0x16a4aa,_0x19362a._0x3b193c)],_0x5b5530['filePath']),{observations:_0x320e35}=_0x3f3847;_0x320e35['bindSession'](_0x3df959);const _0x4d2ff8=_0x320e35['resolve'](_0x15f84e['canonicalPath'],_0x5b5530['tag']),_0x31c69c=await readLiveSnapshot(_0x15f84e['canonicalPath'],_0x5b5530['filePath']);function _0x30034a(_0x1ecb76,_0x566e42,_0x54355d,_0x59e90b){return _0x5b2413(_0x1ecb76-0xb5,_0x566e42-_0x3a4de4._0x5a9c3e,_0x54355d- -0x1cb,_0x566e42);}const _0x53d239=computePayloadDigest(_0x5b5530[_0x30034a(_0x19362a._0x4b7452,0x757,_0x19362a._0x253c05,_0x19362a._0x178912)]);if(_0x31c69c['digest']!==_0x4d2ff8['snapshot'][_0x30034a(0x598,_0x19362a._0x4b2f3f,0x6d0,0x5a8)]){const {reasonLine:_0x43c283,guidance:_0x5e6541}=staleSnapshotMessageText(_0x5b5530['filePath'],_0x5b5530[_0x30034a(0x38c,_0x19362a._0x4204ec,_0x19362a._0x38c16a,0x559)]),_0x366ff7=buildRecoveryContext(_0x5b5530['filePath'],_0x31c69c,collectRequiredLines(_0x5b5530[_0x103ef1(_0x19362a._0x3248e2,0x31a,0x462,_0x19362a._0xcebca4)]),_0x3f3847['outputBudgetBytes'],_0x43c283,_0x5e6541);_0x320e35[_0x30034a(0x406,0x46a,_0x19362a._0x3195a2,0x1a6)](_0x31c69c,_0x366ff7[_0x103ef1(0x468,_0x19362a._0x2ac7f8,_0x19362a._0x119a39,0x29f)]),throwStaleSnapshot(_0x5b5530['filePath'],_0x15f84e['canonicalPath'],_0x31c69c,_0x366ff7);}let _0x2f837b;try{_0x2f837b=prepareCanonicalFileEdit(_0x4d2ff8['snapshot'],_0x4d2ff8['observedLines'],_0x5b5530['operations']);}catch(_0x28f443){if(_0x28f443 instanceof ToolExecutionError&&_0x28f443[_0x30034a(_0x19362a._0x5916ac,0x88a,0x746,_0x19362a._0x1b24d8)]['error']===_0x103ef1(0x436,0x527,0x43e,_0x19362a._0x12c174)){const _0x30be63=_0x28f443[_0x103ef1(_0x19362a._0x51e23c,_0x19362a._0xda7f4e,_0x19362a._0x4ca42e,0x5f4)][_0x103ef1(_0x19362a._0x28cb1b,_0x19362a._0x5ea5e5,_0x19362a._0x2003e8,_0x19362a._0x24afbd)]??collectRequiredLines(_0x5b5530[_0x30034a(_0x19362a._0x51de9f,_0x19362a._0x521fee,0x59c,0x474)]),{reasonLine:_0x439fad,guidance:_0x53a134}=unseenLinesMessageText(),_0x17ab67=buildRecoveryContext(_0x5b5530['filePath'],_0x31c69c,_0x30be63,_0x3f3847['outputBudgetBytes'],_0x439fad,_0x53a134);_0x320e35['record'](_0x31c69c,_0x17ab67['contextLines']),throwUnseenLines(_0x5b5530[_0x103ef1(_0x19362a._0x3bb7e2,0x273,0x2e3,_0x19362a._0x2f3d9b)],_0x15f84e[_0x103ef1(_0x19362a._0x1846b6,_0x19362a._0x177317,_0x19362a._0x2eb029,_0x19362a._0xfd001c)],_0x31c69c,_0x30be63,_0x17ab67);}if(_0x28f443 instanceof ToolExecutionError&&_0x28f443[_0x103ef1(_0x19362a._0x3569de,0x7ad,0x60c,_0x19362a._0x3acf6e)][_0x103ef1(_0x19362a._0x4ff178,_0x19362a._0x45fe29,0x472,0x4f0)]===_0x30034a(0x5cf,_0x19362a._0x52f64c,_0x19362a._0x12c5c8,0x5d2)){const _0x216578=_0x320e35[_0x103ef1(_0x19362a._0x352127,_0x19362a._0x4b971d,0x387,0x3e9)](_0x15f84e['canonicalPath'],_0x53d239),{reasonLine:_0x599817,guidance:_0x44f472}=noChangeMessageText(_0x5b5530[_0x103ef1(_0x19362a._0x3b193c,_0x19362a._0x57a25d,_0x19362a._0x5b3128,0xdc)],_0x216578),_0x316429=buildRecoveryContext(_0x5b5530[_0x103ef1(0x1ff,_0x19362a._0x18607f,_0x19362a._0x5b3128,_0x19362a._0x266864)],_0x31c69c,collectRequiredLines(_0x5b5530[_0x103ef1(0x428,0x672,0x462,0x629)]),_0x3f3847[_0x30034a(_0x19362a._0x32b5ff,0x41d,0x544,_0x19362a._0x48bd08)],_0x599817,_0x44f472);_0x320e35[_0x103ef1(0x374,_0x19362a._0x5e65d2,0x28a,0x16f)](_0x31c69c,_0x316429[_0x103ef1(_0x19362a._0x4b054e,_0x19362a._0x4db86e,0x2e4,_0x19362a._0x37e625)]),throwNoChange(_0x5b5530[_0x103ef1(_0x19362a._0x3d596e,0x3a8,_0x19362a._0x462002,0x221)],_0x15f84e[_0x103ef1(_0x19362a._0x2bcf27,0x597,_0x19362a._0x51c512,_0x19362a._0x3e1373)],_0x31c69c,_0x316429,_0x216578);}throw _0x28f443;}function _0x103ef1(_0x35edf7,_0x334cfd,_0x1c083b,_0x19a3d4){return _0x28bc81(_0x35edf7-_0x395f38._0xf7a3b,_0x334cfd-_0x395f38._0x136c5a,_0x1c083b-_0x395f38._0x36ff81,_0x35edf7);}return assertPreviewWithinBounds(_0x2f837b[_0x30034a(_0x19362a._0x3e2c49,_0x19362a._0x34c5b0,0x70e,0x847)],_0x15f84e['canonicalPath'],_0x5b5530[_0x103ef1(0x1ff,0x470,_0x19362a._0x5b3128,_0x19362a._0x22df49)]),buildPreview(_0x522050,_0x5b5530,_0x15f84e,_0x4d2ff8,_0x2f837b);}async function reResolveUnderLock(_0x51ef9c,_0x377e3a,_0xbbcebd,_0x4ac8bf){const _0x8e3960={_0x550ed4:0x260,_0x93c011:0x6ea,_0x3221e6:0x5f5,_0x1e3bed:0x180,_0x3d1e1e:0x183,_0x256326:0x295,_0x44ee11:0x198,_0x771b28:0x230,_0x3128fa:0x172,_0x13dbb3:0x76,_0xf1831e:0xab,_0x4e1336:0xad,_0x526d32:0x410,_0x14198e:0x1ef,_0x5cf022:0x295,_0x2f45d4:0x8c,_0x186a99:0x462,_0x588c94:0x205,_0x3935e4:0x260,_0xea4efe:0x1d4,_0x599073:0x4c5,_0x22a1e3:0x3ee},_0x5f4dd8={_0xea5aab:0x172,_0xfc2863:0x17},_0x462379={_0x4c73be:0x4b,_0x35011c:0xee,_0x3d4955:0x1e8};let _0x3046ab;function _0x351f7e(_0x1e075e,_0x278793,_0x3aef4a,_0x762937){return _0x28bc81(_0x1e075e-_0x462379._0x4c73be,_0x278793-_0x462379._0x35011c,_0x1e075e- -_0x462379._0x3d4955,_0x278793);}function _0x2aa137(_0x30232c,_0x14440d,_0x52875a,_0x45a4a2){return _0x28bc81(_0x30232c-0x162,_0x14440d-_0x5f4dd8._0xea5aab,_0x45a4a2-_0x5f4dd8._0xfc2863,_0x52875a);}try{_0x3046ab=await resolveCanonicalAllowedFile(_0x51ef9c,_0x377e3a,_0xbbcebd[_0x2aa137(0x453,0x224,0x201,_0x8e3960._0x550ed4)]);}catch(_0xc47b15){if(_0xc47b15 instanceof ToolExecutionError)throw _0xc47b15;const _0x50edf7=_0xc47b15 instanceof Error?_0xc47b15[_0x2aa137(0x665,_0x8e3960._0x93c011,0x66e,_0x8e3960._0x3221e6)]:String(_0xc47b15);throw createAnchoredFileError(_0x351f7e(0x30c,_0x8e3960._0x1e3bed,_0x8e3960._0x3d1e1e,0x2ae),_0x351f7e(_0x8e3960._0x256326,_0x8e3960._0x44ee11,0x1b0,_0x8e3960._0x771b28)+_0xbbcebd[_0x351f7e(0x61,0x97,-_0x8e3960._0x3128fa,-0x116)]+_0x351f7e(0x16e,_0x8e3960._0x13dbb3,_0x8e3960._0xf1831e,_0x8e3960._0x4e1336)+_0x50edf7+_0x351f7e(_0x8e3960._0x526d32,0x27b,0x621,0x5ea),{'path':_0xbbcebd['filePath']});}if(_0x3046ab[_0x351f7e(_0x8e3960._0x14198e,0x392,0x107,0x3c5)]!==_0x4ac8bf)throw createAnchoredFileError('stale_snapshot',_0x351f7e(_0x8e3960._0x5cf022,0x274,_0x8e3960._0x2f45d4,0xac)+_0xbbcebd[_0x2aa137(_0x8e3960._0x186a99,0x3b1,_0x8e3960._0x588c94,_0x8e3960._0x3935e4)]+'\x20now\x20resolves\x20to\x20a\x20different\x20target\x20than\x20the\x20approved\x20edit;\x20re-read\x20with\x20FileRead\x20first.',{'path':_0xbbcebd[_0x2aa137(0x3ea,0x6f,_0x8e3960._0xea4efe,0x260)],'canonicalPath':_0x3046ab[_0x2aa137(_0x8e3960._0x599073,0x505,0x55c,_0x8e3960._0x22a1e3)]});return _0x3046ab;}async function executeAnchoredFileEdit(_0x569ca8,_0x3a5cc0,_0x3959bf,_0x37a105,_0x4540e3=defaultFileSystem2){const _0x370efc={_0x9bfd8e:0x5bf,_0x162137:0x555,_0x242847:0x290,_0x19f8db:0x618,_0x327ae0:0x6f2,_0x5f02b9:0x6ef,_0x50c00:0x7cf,_0x439ccd:0x766},_0x417664={_0x63254f:0x4fc,_0x37bab2:0x323,_0x2a72ff:0x57b,_0xe2b192:0x41e,_0x484840:0x19b,_0x19461a:0xb3,_0x1c4689:0x126,_0x1257d5:0xa3,_0x50a351:0x2ae,_0x27b1ea:0x683,_0x5da237:0x463,_0x4fca76:0x3d9,_0x22210a:0x114,_0x5ef0b7:0xa5,_0x9f5d27:0xb,_0x2e7a0c:0x3aa,_0x4978b2:0x1db,_0x370455:0x1c4,_0x9bd340:0x4f0,_0x1990ed:0x3a5,_0x2f732c:0x69f,_0x5516ea:0xab,_0x16d62c:0xc7,_0x54c0aa:0xe,_0x1bb7d7:0x669,_0x10530f:0x477,_0x387da8:0x695,_0x17769c:0x202,_0x3063b9:0x8,_0x246935:0x19b,_0x4e2494:0xb1,_0xdc6919:0xd8,_0x3834d5:0x13,_0x33201f:0x421,_0x11b139:0x71c,_0x28018d:0x594,_0x4b5af0:0x55d,_0x5a79b6:0x2c1,_0x504258:0x4b,_0x59163e:0x42f,_0x26f4a1:0x11a,_0xf3522e:0xc9,_0x4e638f:0x4d9,_0x3204bf:0x3a6,_0x30ba9a:0x3d6,_0x4960e3:0x62,_0x4983e5:0xb6,_0x1023b6:0x162,_0x18fc52:0x13a,_0x1b79f5:0x366,_0x512752:0xf8,_0x30b67f:0x2c5,_0x78d83f:0x10f,_0x250b54:0xdb,_0x31572d:0x169,_0x3817a6:0x2e9,_0x21b55d:0x27d,_0x4ce489:0x167,_0x19fa14:0x2d,_0x575897:0x2e5,_0x4c2c91:0x93,_0x31ed81:0xcd,_0x1d25e0:0x424,_0x25671d:0x3e1,_0xeb26cf:0xd9,_0x2b87f0:0x266,_0x302a26:0xa5,_0x5a92b2:0x7cf,_0x2f1e18:0x69f,_0x7003f2:0x9b,_0x5291f1:0x1c8,_0x3176a8:0xef,_0x2b4200:0x602,_0x547a53:0x484,_0x46fc04:0x490,_0xa8408f:0x2e9,_0x2a28e7:0x4af,_0x307dba:0x10f,_0x2bffae:0x59,_0x22fa65:0xb5,_0x19f272:0x1dd,_0x3e812a:0x23e,_0x50684e:0x258,_0x470332:0x273,_0x147b41:0x214,_0x3d4374:0x478,_0x57979:0x32d,_0x307709:0x2af,_0x47ee57:0xc2,_0x10804f:0x395,_0x35fea1:0x2da,_0x5359f1:0x161,_0x5ea150:0x22d,_0xca5001:0x468,_0x48e74e:0x4a4,_0x36b2db:0x287,_0x39196a:0xd4,_0x385980:0x71,_0x1c14b5:0x290,_0x225a41:0x2ea,_0x4a0475:0x3d4,_0x6ac389:0x249,_0x7b6a2e:0xa0,_0x59ac39:0x168,_0x17a506:0x269,_0x388986:0x513,_0x4f00e4:0x5ed,_0x1759a8:0x530,_0x3a500f:0x398,_0x2e660e:0x304,_0x12b13e:0x1dd,_0x2d7ddb:0x267,_0x429c02:0x9f,_0x1e95bf:0x61d,_0x4ef88b:0x4b3,_0x1e1686:0x270,_0x4aedb2:0x7f5,_0x5f2a9b:0x4ee,_0x557946:0xc8,_0xdf102d:0x189,_0x23c1ed:0x11,_0x35e888:0x1a5,_0x6971b6:0x46f,_0x45e4b3:0x5b6,_0x50e94a:0x567,_0x42b44c:0x56e,_0x19bda9:0x2ad,_0x2a3bc0:0x59c,_0x14b2c5:0x61,_0x383f87:0x2f6,_0x1ffe4c:0x67b,_0x56bea4:0x2eb,_0x7fd6a5:0x213,_0x3d1c03:0xb4,_0x306e8e:0x4ac,_0x1ed47c:0x2d8,_0x79cd7e:0x302,_0x45f817:0x188,_0x30e8e6:0xdb,_0x2b038d:0xf0,_0x1599f6:0x16d,_0x5a401e:0x172,_0xb87776:0x8,_0x2552bc:0x4dc,_0x1a90af:0x357,_0x539146:0x47c,_0x2209ce:0x3d8,_0x327fe8:0x41,_0xf2f1a9:0x76,_0x193a7f:0x2a5,_0x3c8842:0x2e9,_0x1c7f01:0x1b4,_0xe1e434:0x577,_0x3176b8:0x477,_0x36a019:0x2f9,_0x5de8d9:0x209,_0x3b08a1:0x8c,_0x734615:0xad,_0x28a9c5:0x76,_0x5d3f1f:0x3ca,_0x3bf0ef:0x37a,_0x3cbad4:0x2a1,_0xfc3578:0x260,_0x47c3d8:0x2e9,_0x2e7f43:0x796,_0x148153:0x1d2,_0x546dad:0x1d4,_0x281ac8:0x605,_0x5f000c:0x2df,_0x299f58:0x2ab,_0x5b8226:0x290,_0x21938c:0x87,_0x47b2a0:0x135,_0x5d667a:0x129,_0xe2619a:0x2a7,_0x436906:0x393,_0x2010c4:0x3c1,_0x53ca79:0x1fd,_0x3535f3:0x137,_0x3dc2a6:0x10e,_0x5bcf13:0x1b3,_0x58dc6c:0x5e9,_0x46232a:0x623,_0x492d0a:0x3f2,_0x4afc7a:0x17d,_0x543384:0xdc,_0x1b5f2d:0xb6,_0x5c2e3c:0x11f,_0x471cfb:0x518,_0x51a03a:0x278,_0x36f949:0x628,_0x401cb0:0x410,_0x1c8c9a:0x287,_0x107969:0xa3,_0x1ea47e:0x13f,_0x34ce7f:0x43c,_0x53cd14:0x475,_0x23b8a4:0x359,_0x206547:0x217,_0x479681:0xa4,_0x3a338c:0xd8,_0x5e735c:0x2b,_0x541b81:0x34f,_0x16c480:0x675,_0x11e3fe:0x59c,_0x2373b3:0x5c3,_0x1d0b15:0x242,_0xc410dc:0x209,_0x2c3ae2:0x24a,_0x2dfedc:0x12e,_0x28355e:0x3b7,_0x3df0c9:0xfd,_0x360618:0x2fa,_0x17a6db:0x0,_0x8c93bc:0x24},_0x1e36ce={_0x19a994:0x1a1},_0x5ddbc7={_0x3bf73c:0x19f},_0x125cda={_0x31d8bc:0x1d5,_0x1fa646:0x8e};function _0x4cbc1f(_0x2ab771,_0x426b09,_0x522696,_0x33a5bd){return _0x5b2413(_0x2ab771-_0x125cda._0x31d8bc,_0x426b09-_0x125cda._0x1fa646,_0x522696- -0x358,_0x2ab771);}const _0x99734d=parseAnchoredInput(_0x569ca8,_0x3a5cc0),_0x5986f2=await resolveEditTarget(_0x37a105['defaultCwd'],_0x37a105[_0x1feea8(_0x370efc._0x9bfd8e,_0x370efc._0x162137,0x3b4,0x563)],_0x99734d[_0x4cbc1f(0x2b2,0xbc,_0x370efc._0x242847,0x366)]);function _0x1feea8(_0x2d13bd,_0xc4fbcf,_0x5401f6,_0x6eefb5){return _0x5b2413(_0x2d13bd-_0x5ddbc7._0x3bf73c,_0xc4fbcf-0x120,_0x2d13bd- -0x15e,_0x5401f6);}return _0x37a105[_0x1feea8(0x61b,0x4cd,0x50b,0x7e8)]['runExclusive'](_0x5986f2[_0x1feea8(_0x370efc._0x19f8db,_0x370efc._0x327ae0,_0x370efc._0x5f02b9,_0x370efc._0x50c00)],_0x3959bf[_0x1feea8(0x60e,_0x370efc._0x439ccd,0x766,0x70d)],async()=>{const _0x2ef358={_0x2ab9e9:0x186,_0x2912f9:0x346},_0x2f1649=await reResolveUnderLock(_0x37a105[_0xa85334(_0x417664._0x63254f,0x39c,_0x417664._0x37bab2,0x330)],_0x37a105[_0xa85334(_0x417664._0x2a72ff,_0x417664._0xe2b192,0x36e,0x33d)],_0x99734d,_0x5986f2[_0x40a4e4(-0x68,_0x417664._0x484840,0xd8,-0xf1)]),{observations:_0x289624}=_0x37a105;_0x289624[_0x40a4e4(_0x417664._0x19461a,_0x417664._0x1c4689,_0x417664._0x1257d5,_0x417664._0x50a351)](_0x3959bf[_0xa85334(_0x417664._0x27b1ea,_0x417664._0x5da237,_0x417664._0x4fca76,0x548)]);const _0x39dfb6=_0x289624[_0x40a4e4(0x129,_0x417664._0x22210a,-_0x417664._0x5ef0b7,-_0x417664._0x9f5d27)](_0x2f1649['canonicalPath'],_0x99734d[_0xa85334(0x25f,_0x417664._0x2e7a0c,_0x417664._0x4978b2,_0x417664._0x370455)]);let _0x5032c0,_0x406c94;try{[_0x5032c0,_0x406c94]=await Promise[_0xa85334(0x4b2,_0x417664._0x9bd340,_0x417664._0x1990ed,_0x417664._0x2f732c)]([_0x4540e3[_0x40a4e4(_0x417664._0x5516ea,-0x176,-_0x417664._0x16d62c,-_0x417664._0x54c0aa)](_0x2f1649[_0xa85334(_0x417664._0x1bb7d7,_0x417664._0x10530f,_0x417664._0x387da8,0x57b)]),_0x4540e3[_0x40a4e4(0x16a,_0x417664._0x17769c,_0x417664._0x3063b9,_0x417664._0x246935)](_0x2f1649[_0x40a4e4(0x122,_0x417664._0x4e2494,_0x417664._0xdc6919,_0x417664._0x3834d5)])]);}catch(_0x36875a){const _0x3b6dc0=_0x36875a instanceof Error?_0x36875a[_0x40a4e4(0x275,_0x417664._0x33201f,0x2df,0x4e1)]:String(_0x36875a);throw createAnchoredFileError(_0xa85334(_0x417664._0x11b139,_0x417664._0x28018d,0x7b5,_0x417664._0x4b5af0),'stale_snapshot:\x20Unable\x20to\x20read\x20'+_0x99734d[_0x40a4e4(0xba,-0x211,-0xb6,-_0x417664._0x5a79b6)]+_0x40a4e4(-0x13b,-_0x417664._0x504258,-0x61,-0x16c)+_0x3b6dc0+_0x40a4e4(_0x417664._0x59163e,0x14d,0x2f9,0x4e9),{'path':_0x99734d[_0x40a4e4(-0x2c2,_0x417664._0x26f4a1,-0xb6,_0x417664._0xf3522e)]});}const _0xe8b8b1=createNormalizedFileSnapshot(_0x2f1649[_0xa85334(0x604,0x477,0x63a,0x40f)],_0x5032c0);if(_0xe8b8b1['digest']!==_0x39dfb6[_0xa85334(_0x417664._0x4e638f,_0x417664._0x3204bf,_0x417664._0x30ba9a,0x380)]['digest']){const {reasonLine:_0x1371fd,guidance:_0x4734b6}=staleSnapshotMessageText(_0x99734d[_0x40a4e4(-0x143,-_0x417664._0x4960e3,-_0x417664._0x4983e5,_0x417664._0x1023b6)],_0x99734d[_0x40a4e4(0x58,_0x417664._0x18fc52,_0x417664._0x9f5d27,_0x417664._0x19461a)]),_0x4151c1=buildRecoveryContext(_0x99734d[_0xa85334(0x2b2,0x2e9,0x3b9,_0x417664._0x1b79f5)],_0xe8b8b1,collectRequiredLines(_0x99734d[_0x40a4e4(_0x417664._0x512752,_0x417664._0x30b67f,_0x417664._0xf3522e,0x1e5)]),_0x37a105['outputBudgetBytes'],_0x1371fd,_0x4734b6);_0x289624[_0x40a4e4(0xa0,-0x1d9,-_0x417664._0x78d83f,0xcd)](_0xe8b8b1,_0x4151c1[_0xa85334(_0x417664._0x250b54,0x2ea,_0x417664._0x31572d,0x18d)]),throwStaleSnapshot(_0x99734d[_0xa85334(0x4a1,_0x417664._0x3817a6,_0x417664._0x21b55d,_0x417664._0x4ce489)],_0x2f1649[_0x40a4e4(_0x417664._0x19fa14,_0x417664._0x575897,0xd8,0xb5)],_0xe8b8b1,_0x4151c1);}let _0x3ab0f1;try{_0x3ab0f1=prepareCanonicalFileEdit(_0x39dfb6[_0x40a4e4(0xec,-_0x417664._0x4c2c91,0x7,_0x417664._0x31ed81)],_0x39dfb6[_0xa85334(_0x417664._0x1d25e0,0x5b6,0x589,_0x417664._0x25671d)],_0x99734d[_0x40a4e4(0x24d,-0x6e,0xc9,0x146)]);}catch(_0x47e417){if(_0x47e417 instanceof ToolExecutionError&&_0x47e417[_0xa85334(0x7b8,0x612,0x532,0x5c7)][_0x40a4e4(-0x42,0x198,_0x417664._0xeb26cf,0x22b)]===_0x40a4e4(_0x417664._0x2b87f0,-0x19,_0x417664._0x302a26,-0x8c)){const _0x5902ed=_0x47e417[_0xa85334(_0x417664._0x5a92b2,0x612,_0x417664._0x2f1e18,0x693)][_0x40a4e4(0x22b,_0x417664._0x7003f2,_0x417664._0x5291f1,_0x417664._0x3176a8)]??collectRequiredLines(_0x99734d[_0xa85334(0x62b,0x468,_0x417664._0x2b4200,_0x417664._0x547a53)]),{reasonLine:_0x1491d2,guidance:_0x5d80e2}=unseenLinesMessageText(),_0x3ad444=buildRecoveryContext(_0x99734d[_0xa85334(_0x417664._0x46fc04,_0x417664._0xa8408f,0x33e,0x12c)],_0xe8b8b1,_0x5902ed,_0x37a105[_0xa85334(0x4d8,0x410,0x3e5,_0x417664._0x2a28e7)],_0x1491d2,_0x5d80e2);_0x289624[_0x40a4e4(-0xa6,0x4d,-_0x417664._0x307dba,-_0x417664._0x2bffae)](_0xe8b8b1,_0x3ad444[_0x40a4e4(-0x1c5,-0x24a,-_0x417664._0x22fa65,-0x19a)]),throwUnseenLines(_0x99734d['filePath'],_0x2f1649[_0x40a4e4(0x1d3,_0x417664._0x19f272,_0x417664._0xdc6919,_0x417664._0x3e812a)],_0xe8b8b1,_0x5902ed,_0x3ad444);}if(_0x47e417 instanceof ToolExecutionError&&_0x47e417[_0x40a4e4(_0x417664._0x50684e,0x2ec,_0x417664._0x470332,_0x417664._0x147b41)][_0xa85334(0x493,_0x417664._0x3d4374,0x2e8,0x480)]===_0xa85334(_0x417664._0x57979,_0x417664._0x307709,_0x417664._0x47ee57,0x101)){const {reasonLine:_0x11f21f,guidance:_0x4ae352}=noChangeMessageText(_0x99734d[_0xa85334(_0x417664._0x10804f,_0x417664._0x3817a6,0x450,_0x417664._0x35fea1)],0x1),_0x5acbf7=buildRecoveryContext(_0x99734d[_0x40a4e4(_0x417664._0x5359f1,-_0x417664._0x5ea150,-0xb6,0xa1)],_0xe8b8b1,collectRequiredLines(_0x99734d[_0xa85334(0x2e4,_0x417664._0xca5001,_0x417664._0x48e74e,_0x417664._0x36b2db)]),_0x37a105[_0x40a4e4(_0x417664._0x39196a,0x87,_0x417664._0x385980,0x36)],_0x11f21f,_0x4ae352);_0x289624[_0xa85334(0x3b1,_0x417664._0x1c14b5,0x1ed,0x3e0)](_0xe8b8b1,_0x5acbf7[_0xa85334(0x4de,_0x417664._0x225a41,_0x417664._0x4a0475,0x4a8)]),throwNoChange(_0x99734d[_0x40a4e4(0x109,-_0x417664._0x6ac389,-0xb6,-_0x417664._0x7b6a2e)],_0x2f1649[_0x40a4e4(0x169,_0x417664._0x59ac39,0xd8,_0x417664._0x17a506)],_0xe8b8b1,_0x5acbf7,0x1);}throw _0x47e417;}function _0x40a4e4(_0x5619cf,_0x394d53,_0x15edb1,_0x21f3ec){return _0x4cbc1f(_0x21f3ec,_0x394d53-_0x2ef358._0x2ab9e9,_0x15edb1- -_0x2ef358._0x2912f9,_0x21f3ec-0x1e6);}assertPreviewWithinBounds(_0x3ab0f1[_0xa85334(0x7a0,0x5da,0x665,0x6c6)],_0x2f1649['canonicalPath'],_0x99734d[_0xa85334(0x3f8,_0x417664._0xa8408f,0x404,_0x417664._0x5291f1)]);function _0xa85334(_0x59b81d,_0x38bce6,_0xeab069,_0x3a5d40){return _0x1feea8(_0x38bce6- -_0x1e36ce._0x19a994,_0x38bce6-0x2d,_0x3a5d40,_0x3a5d40-0x59);}const _0x358c5f=_0x3ab0f1[_0xa85334(_0x417664._0x388986,_0x417664._0xca5001,_0x417664._0x4f00e4,_0x417664._0x1759a8)]['length'],_0x5cde44=serializeNormalizedFile(_0x3ab0f1[_0x40a4e4(0x399,_0x417664._0x3a500f,_0x417664._0x2e660e,_0x417664._0x12b13e)],{'bom':_0xe8b8b1['bom'],'eol':_0xe8b8b1[_0x40a4e4(0x39b,_0x417664._0x2d7ddb,0x2a3,_0x417664._0x429c02)]}),_0x4e9334=_0x406c94[_0xa85334(_0x417664._0x1e95bf,0x57c,0x3fa,_0x417664._0x4ef88b)];if(_0x99734d[_0xa85334(0x8e,_0x417664._0x1e1686,0x34b,0x1f1)]){const _0x101765=buildResultText(_0x99734d['filePath'],_0xe8b8b1,selectChangedContextLines(_0x3ab0f1[_0xa85334(0x5e8,0x5da,_0x417664._0x4aedb2,_0x417664._0x5f2a9b)],_0xe8b8b1,'before'),_0x37a105[_0x40a4e4(-_0x417664._0x557946,-_0x417664._0xdf102d,0x71,_0x417664._0x23c1ed)],'Validated\x20'+_0x358c5f+_0xa85334(_0x417664._0x35e888,0x26f,0xa1,0x2ab));_0x289624[_0xa85334(0x196,0x290,_0x417664._0x6971b6,0x1bd)](_0xe8b8b1,_0x101765[_0xa85334(0x6f3,_0x417664._0x45e4b3,0x5b7,_0x417664._0x50e94a)]);const _0xb93288={'preview':buildPreview(_0x569ca8,_0x99734d,_0x2f1649,_0x39dfb6,_0x3ab0f1),'beforeDigest':_0x39dfb6[_0xa85334(_0x417664._0x42b44c,0x3a6,_0x417664._0x19bda9,0x1cd)][_0xa85334(0x47b,_0x417664._0x2a3bc0,0x5c7,0x6d5)],'afterDigest':_0xe8b8b1[_0xa85334(0x520,0x59c,0x626,0x717)],'beforeTag':_0x99734d[_0x40a4e4(0x117,0x1ab,0xb,-0x133)],'afterTag':_0xe8b8b1[_0xa85334(0x55c,_0x417664._0x2e7a0c,0x1f1,0x453)],'bytesWritten':0x0,'dryRun':!![],'operationCount':_0x358c5f,'tokenClassification':'edit'};return createToolOutput(_0x101765[_0x40a4e4(0x113,-_0x417664._0x14b2c5,-0x24,-0x1ba)],_0xb93288);}try{await _0x4540e3['atomicWrite'](_0x2f1649[_0x40a4e4(_0x417664._0x383f87,0xab,0xd8,-0x143)],_0x5cde44,_0x4e9334);}catch(_0xcfb42e){const _0x1785f6=_0xcfb42e instanceof Error?_0xcfb42e[_0xa85334(0x607,0x67e,0x747,_0x417664._0x1ffe4c)]:String(_0xcfb42e);throw createAnchoredFileError('write_failed',_0x40a4e4(_0x417664._0x56bea4,0x5d,_0x417664._0x7fd6a5,0x2c2)+_0x99734d[_0x40a4e4(0x63,-_0x417664._0x3d1c03,-_0x417664._0x4983e5,-0x185)]+':\x20'+_0x1785f6+_0xa85334(0x3ba,0x4cc,_0x417664._0x3204bf,_0x417664._0x306e8e),{'path':_0x99734d['filePath'],'canonicalPath':_0x2f1649['canonicalPath']});}let _0x30344f,_0x24a095;try{[_0x30344f,_0x24a095]=await Promise[_0xa85334(0x686,_0x417664._0x9bd340,0x2d2,0x2f3)]([_0x4540e3[_0xa85334(0x35e,_0x417664._0x1ed47c,0x467,_0x417664._0x79cd7e)](_0x2f1649[_0x40a4e4(_0x417664._0x45f817,-0x74,0xd8,-_0x417664._0x30e8e6)]),_0x4540e3[_0x40a4e4(_0x417664._0x2b038d,-_0x417664._0x1599f6,_0x417664._0x3063b9,0xc9)](_0x2f1649[_0x40a4e4(-0x1b,_0x417664._0x5a401e,_0x417664._0xdc6919,-_0x417664._0xb87776)])]);}catch(_0x554fbf){const _0x3bd105=_0x554fbf instanceof Error?_0x554fbf['message']:String(_0x554fbf);throw createAnchoredFileError(_0xa85334(0x3e5,0x364,_0x417664._0x2552bc,0x2b8),_0xa85334(0x411,_0x417664._0x1a90af,_0x417664._0x539146,_0x417664._0x2209ce)+_0x99734d[_0x40a4e4(-0x180,_0x417664._0x327fe8,-0xb6,0x12f)]+'\x20after\x20writing\x20('+_0x3bd105+_0x40a4e4(0x399,_0x417664._0xf2f1a9,0x269,_0x417664._0x193a7f),{'path':_0x99734d[_0xa85334(0x3b9,_0x417664._0x3c8842,_0x417664._0x1c7f01,0x1ad)],'canonicalPath':_0x2f1649[_0xa85334(_0x417664._0xe1e434,_0x417664._0x3176b8,0x32a,0x68b)]});}if(!_0x30344f['equals'](_0x5cde44)||(_0x24a095[_0x40a4e4(_0x417664._0x36a019,_0x417664._0x5de8d9,_0x417664._0x19f272,0x2c)]&0x1ff)!==(_0x4e9334&0x1ff)){const _0x350ec3='post_write_drift:\x20'+_0x99734d['filePath']+_0x40a4e4(-_0x417664._0x3b08a1,-0xad,-_0x417664._0x734615,_0x417664._0x28a9c5),_0x5e5749=_0xa85334(0x476,_0x417664._0x5d3f1f,_0x417664._0x3bf0ef,_0x417664._0x3cbad4);let _0x3ebd79;try{_0x3ebd79=createNormalizedFileSnapshot(_0x2f1649[_0xa85334(_0x417664._0xfc3578,0x477,0x578,0x512)],_0x30344f);}catch{_0x3ebd79=void 0x0;}let _0x5d0385;_0x3ebd79!==void 0x0?(_0x5d0385=buildRecoveryContext(_0x99734d[_0xa85334(0x477,_0x417664._0x47c3d8,0x3eb,0x3da)],_0x3ebd79,selectChangedContextLines(_0x3ab0f1[_0xa85334(_0x417664._0x2e7f43,0x5da,0x7cc,0x4a3)],_0x3ebd79,_0x40a4e4(-_0x417664._0x148153,_0x417664._0x546dad,0x4b,0x49)),_0x37a105[_0xa85334(_0x417664._0x281ac8,0x410,_0x417664._0x5f000c,_0x417664._0x299f58)],_0x350ec3,_0x5e5749),_0x289624[_0xa85334(0x350,_0x417664._0x5b8226,0x21b,_0x417664._0x370455)](_0x3ebd79,_0x5d0385['contextLines'])):_0x5d0385={'tag':'','digest':'','contextLines':[],'output':_0x350ec3+'\x0a'+_0x5e5749};throw createAnchoredFileError(_0x40a4e4(_0x417664._0x21938c,_0x417664._0x47b2a0,-0x3b,-0xd0),_0x5d0385[_0x40a4e4(0x1,-_0x417664._0x5d667a,-0x24,0xb0)],{'path':_0x99734d[_0xa85334(0x1a1,_0x417664._0x47c3d8,0x34a,0x476)],'canonicalPath':_0x2f1649[_0x40a4e4(0x1c5,-0x43,0xd8,_0x417664._0xe2619a)],..._0x3ebd79!==void 0x0?{'tag':_0x3ebd79[_0xa85334(0x2bf,0x3aa,_0x417664._0x436906,0x214)],'digest':_0x3ebd79[_0x40a4e4(_0x417664._0x2010c4,0x182,_0x417664._0x53ca79,_0x417664._0x3535f3)]}:{},..._0x5d0385[_0x40a4e4(-_0x417664._0x3dc2a6,-_0x417664._0x5bcf13,-0xb5,-0xac)][_0xa85334(0x3cf,_0x417664._0x58dc6c,_0x417664._0x46232a,0x799)]>0x0?{'contextLines':[..._0x5d0385[_0xa85334(_0x417664._0x35e888,0x2ea,0x1cc,_0x417664._0x492d0a)]]}:{}});}const _0x274118=createNormalizedFileSnapshot(_0x2f1649['canonicalPath'],_0x30344f),_0x23cdc9=buildResultText(_0x99734d[_0x40a4e4(-_0x417664._0x4afc7a,-_0x417664._0x543384,-_0x417664._0x1b5f2d,_0x417664._0x5c2e3c)],_0x274118,selectChangedContextLines(_0x3ab0f1['blocks'],_0x274118,_0xa85334(0x5d2,0x3ea,_0x417664._0x471cfb,_0x417664._0x51a03a)),_0x37a105[_0xa85334(_0x417664._0x36f949,_0x417664._0x401cb0,0x3d6,_0x417664._0x1c8c9a)],'Applied\x20'+_0x358c5f+_0x40a4e4(-_0x417664._0x107969,-_0x417664._0x1ea47e,0x39,_0x417664._0x3dc2a6));_0x289624[_0xa85334(0x30b,_0x417664._0x1c14b5,_0x417664._0x34ce7f,_0x417664._0x53cd14)](_0x274118,_0x23cdc9[_0x40a4e4(0x415,_0x417664._0x23b8a4,_0x417664._0x206547,0x1d2)]),_0x289624['resetNoChange'](_0x2f1649[_0x40a4e4(-_0x417664._0x479681,0x1ed,_0x417664._0x3a338c,-_0x417664._0x5e735c)]);const _0x109bf1={'preview':buildPreview(_0x569ca8,_0x99734d,_0x2f1649,_0x39dfb6,_0x3ab0f1),'beforeDigest':_0x39dfb6[_0xa85334(0x239,_0x417664._0x3204bf,_0x417664._0x541b81,0x4d5)][_0xa85334(_0x417664._0x16c480,_0x417664._0x11e3fe,0x596,0x415)],'afterDigest':_0x274118[_0xa85334(0x593,_0x417664._0x11e3fe,0x676,0x6fa)],'beforeTag':_0x99734d[_0xa85334(_0x417664._0x2373b3,_0x417664._0x2e7a0c,0x3fe,0x388)],'afterTag':_0x274118[_0xa85334(0x4ac,0x3aa,0x40f,_0x417664._0x1d0b15)],'bytesWritten':_0x5cde44[_0x40a4e4(0x11d,_0x417664._0xc410dc,_0x417664._0x2c3ae2,_0x417664._0x2dfedc)],'dryRun':![],'operationCount':_0x358c5f,'tokenClassification':_0x40a4e4(_0x417664._0x28355e,_0x417664._0x3df0c9,_0x417664._0x360618,_0x417664._0x53ca79)};return createToolOutput(_0x23cdc9[_0x40a4e4(0xc3,_0x417664._0x17a6db,-_0x417664._0x8c93bc,_0x417664._0x385980)],_0x109bf1);});}import{readFile as _0x18a980,stat as _0x568bae}from'fs/promises';import*as _0x2fedc2 from'path';function detectEol(_0x329ca6){const _0x3181ae={_0x528dba:0x236,_0x4f4c5f:0x3a7,_0x2f4b32:0x3dc,_0x448d8e:0x4ce},_0x3e4f7a={_0x45a03c:0x105,_0x457461:0x112,_0x593b66:0x517},_0x3fe6f7={_0x431fbb:0x78,_0x49a9e2:0x3da};function _0x3482dd(_0x17b054,_0x547d94,_0x4e7a37,_0x4e264e){return _0x5b2413(_0x17b054-0x191,_0x547d94-_0x3fe6f7._0x431fbb,_0x4e7a37- -_0x3fe6f7._0x49a9e2,_0x4e264e);}function _0x59b173(_0x167f60,_0xec1b99,_0x1e2140,_0x45e75b){return _0x5b2413(_0x167f60-_0x3e4f7a._0x45a03c,_0xec1b99-_0x3e4f7a._0x457461,_0x45e75b- -_0x3e4f7a._0x593b66,_0xec1b99);}return/\r\n/['test'](_0x329ca6[_0x3482dd(0x41e,0x417,0x365,_0x3181ae._0x528dba)]('utf8'))?_0x3482dd(_0x3181ae._0x4f4c5f,_0x3181ae._0x2f4b32,_0x3181ae._0x448d8e,0x5d6):'lf';}function normalizeToLf(_0x5679e0){const _0x461890={_0x41b1a6:0x31a,_0x24d536:0x435,_0x5cfd52:0x390,_0x26ef4f:0x41f},_0xbf1dc7={_0x5d7d0c:0xb};function _0x44341f(_0x19423c,_0x314569,_0x8853c2,_0x21c987){return _0x28bc81(_0x19423c-_0xbf1dc7._0x5d7d0c,_0x314569-0x13f,_0x21c987- -0x138,_0x19423c);}return _0x5679e0[_0x44341f(_0x461890._0x41b1a6,_0x461890._0x24d536,_0x461890._0x5cfd52,_0x461890._0x26ef4f)](/\r\n/g,'\x0a');}function convertEol(_0x222372,_0x418103){const _0x33f35d={_0x194f43:0x75d,_0x2efa61:0x5a6,_0x90049c:0x702},_0x2a24a2={_0x5dce22:0xc2,_0x49425f:0x254},_0x29b9a5={_0x4b5f3a:0x130,_0x48413a:0x4c,_0x3533e5:0x1f4};function _0x4461e4(_0xc99ec3,_0x31657e,_0x3a509f,_0x145e44){return _0x5b2413(_0xc99ec3-_0x29b9a5._0x4b5f3a,_0x31657e-_0x29b9a5._0x48413a,_0x3a509f- -_0x29b9a5._0x3533e5,_0x31657e);}function _0x2f809a(_0x3250f1,_0x2f9685,_0x568d22,_0x5c8c0c){return _0x28bc81(_0x3250f1-_0x2a24a2._0x5dce22,_0x2f9685-0x181,_0x568d22-_0x2a24a2._0x49425f,_0x5c8c0c);}return _0x418103===_0x2f809a(0x7b5,0x5d5,_0x33f35d._0x194f43,_0x33f35d._0x2efa61)?_0x222372[_0x4461e4(0x525,0x7b8,_0x33f35d._0x90049c,0x76a)](/\n/g,'\x0d\x0a'):_0x222372;}function resolveAnchoredEditTarget(_0x56f599,_0x4d1c76,_0x593002,_0x5dc308){const _0xbbb3f9={_0x3b3386:0xde,_0x1908f1:0x34e,_0x149d3b:0x959,_0x44375a:0xb08,_0x1ec378:0x305,_0x212186:0xe4,_0x395baf:0x134,_0x4a972a:0x1e,_0x24f906:0x977,_0xf03ddf:0x72a,_0xcab8c2:0x82c,_0x2e59e6:0x87a,_0x2de4aa:0x84},_0x2dac0b={_0x5b7945:0xac},_0x32fd0e={_0x361cee:0x170,_0x3f0719:0x4,_0x378cfe:0x56};function _0x312d33(_0xceddab,_0x1599ed,_0x4f9a65,_0x1d8c76){return _0x5b2413(_0xceddab-_0x32fd0e._0x361cee,_0x1599ed-_0x32fd0e._0x3f0719,_0x4f9a65-_0x32fd0e._0x378cfe,_0x1d8c76);}const _0x4f47bf=_0x56f599[_0x3c1baa(0x18a,0x1ea,_0xbbb3f9._0x3b3386,_0xbbb3f9._0x1908f1)]??_0x312d33(0x893,0x7e8,_0xbbb3f9._0x149d3b,0x877);if(_0x4f47bf===_0x312d33(_0xbbb3f9._0x44375a,0xaec,_0xbbb3f9._0x149d3b,0x78e))return void 0x0;function _0x3c1baa(_0x210ef7,_0x3ecb3a,_0x2b93ef,_0x4d0c64){return _0x5b2413(_0x210ef7-0x7e,_0x3ecb3a-_0x2dac0b._0x5b7945,_0x210ef7- -0x6f1,_0x2b93ef);}const _0x1fb4e1=_0x56f599[_0x3c1baa(0x201,_0xbbb3f9._0x1ec378,-0x8,_0xbbb3f9._0x212186)],_0x43c32e=_0x56f599[_0x3c1baa(0x88,-0x4e,-_0xbbb3f9._0x395baf,0x217)],_0x28a688=_0x56f599[_0x3c1baa(_0xbbb3f9._0x4a972a,0xde,0x14c,-0x10b)];if(_0x1fb4e1===void 0x0||_0x43c32e===void 0x0||_0x28a688===void 0x0){const _0x408f7d=[_0x1fb4e1===void 0x0?_0x312d33(_0xbbb3f9._0x24f906,0xa9b,0x948,0xb46):void 0x0,_0x43c32e===void 0x0?'mutations':void 0x0,_0x28a688===void 0x0?_0x312d33(_0xbbb3f9._0xf03ddf,0x766,0x765,0x836):void 0x0][_0x312d33(_0xbbb3f9._0xcab8c2,0x9c1,_0xbbb3f9._0x2e59e6,0xa7e)](_0x29b9c6=>_0x29b9c6!==void 0x0)[_0x312d33(0x781,0x6c9,0x852,0x9a2)](',\x20');throw new Error(_0x4d1c76+'\x20'+_0x4f47bf+_0x3c1baa(0x161,0xf5,-0x9b,_0xbbb3f9._0x2de4aa)+_0x408f7d+';\x20construct\x20with\x20observations,\x20mutations,\x20and\x20outputBudgetBytes.');}return{'mode':_0x4f47bf,'environment':{'defaultCwd':_0x593002,'allowedDirs':_0x5dc308,'observations':_0x1fb4e1,'mutations':_0x43c32e,'outputBudgetBytes':_0x28a688}};}function createFileEditTool(_0x52e3fd={}){const _0x10ec41={_0x526f68:0x665,_0x42202f:0x538,_0x1fa98a:0x21c,_0x4fcc67:0x327,_0x52e435:0x36b,_0x39a5d3:0x6bb,_0x2ebd33:0x96a,_0x496176:0x8fd,_0x1daca3:0x528,_0x10ae76:0x453,_0x2abbc1:0x410,_0x435e5f:0x480,_0xc895b5:0x514,_0x59cff0:0x6fb,_0x4cbbbf:0x344,_0x37f5b1:0x27d,_0x2ceeef:0x248,_0x64133c:0x541,_0x428039:0x56a,_0x54b68b:0x678,_0x33c926:0x433,_0x3f392a:0x4e7,_0x5bb7d5:0x1c0,_0x4b01b3:0xed,_0xd9e5f8:0x6b2,_0x5d2f0d:0x499,_0x16319b:0x452,_0x5511ec:0x34c,_0x10229b:0x461,_0x205b63:0x23f,_0x4a5c69:0x767,_0x4847dc:0x1f2,_0x428341:0x13f,_0x1415bf:0x308,_0x51fdd2:0x37c},_0x3aea94={_0x2bda4b:0x53f,_0x2e2a84:0x48a,_0x214940:0x3fe,_0x55444e:0x32f,_0x3f089c:0x2fd,_0x35ecb6:0x25f,_0x40789f:0x1d2,_0x12d8f5:0x5cc,_0x7ef202:0x490,_0x14f098:0x65a,_0x5f2047:0x750,_0x330039:0x6ca,_0x27e73e:0x565,_0x1d3ced:0x6b4,_0x4f24ff:0x731,_0x2bfd4c:0x84d,_0x5d9b8:0x7ee,_0x2fc571:0x401,_0x3853d5:0x478,_0x2596cd:0x3ce,_0x45441a:0x48c,_0x1483c8:0x465,_0x26b133:0x362,_0x42fb6c:0x38d,_0x223e58:0x414,_0x3c4a30:0x1e4,_0x3a205b:0x475,_0x36f957:0x4ac,_0x203bc8:0x558,_0x9b03db:0x52f,_0x37444e:0x32a,_0x37a906:0x26a,_0x587c3e:0x54f,_0x31f1bb:0x22d,_0x316c08:0x4a1,_0x5c4ad5:0x1c7,_0x3a5cac:0x593,_0x71fd3f:0x457,_0x1dd459:0x356,_0x47ac1c:0x442,_0x4165bc:0x5c9,_0x28de62:0x6ce,_0x15f9ac:0x4f8,_0x17ed46:0x633,_0x22f5d9:0x7b5},_0x50f934={_0x10768b:0x22,_0x14a107:0x244},_0x4b53b7={_0x326a21:0x13},_0x124afe={_0x66d2cc:0xd2,_0x253cb1:0x71},_0x41d84d=_0x2fedc2[_0x4f4e36(0x784,_0x10ec41._0x526f68,0x6a0,0x588)](_0x52e3fd['defaultCwd']??process[_0x178317(0x6b1,0x5af,_0x10ec41._0x42202f,0x450)]()),_0x4582ea=_0x52e3fd[_0x178317(_0x10ec41._0x1fa98a,_0x10ec41._0x4fcc67,0x28e,_0x10ec41._0x52e435)]??[],_0x43c2ee=_0x52e3fd[_0x4f4e36(_0x10ec41._0x39a5d3,_0x10ec41._0x2ebd33,_0x10ec41._0x496176,0x7a4)]??_0x178317(_0x10ec41._0x1daca3,_0x10ec41._0x10ae76,_0x10ec41._0x2abbc1,0x357);function _0x4f4e36(_0x45d498,_0x224545,_0x4ea302,_0x5e6ac2){return _0x5b2413(_0x45d498-0xf8,_0x224545-_0x124afe._0x66d2cc,_0x5e6ac2- -_0x124afe._0x253cb1,_0x45d498);}const _0x14e8b5=resolveAnchoredEditTarget(_0x52e3fd,_0x43c2ee,_0x41d84d,_0x4582ea);function _0x178317(_0x4feb86,_0x192bd4,_0x147efa,_0x1bf6d1){return _0x5b2413(_0x4feb86-_0x4b53b7._0x326a21,_0x192bd4-0x18f,_0x192bd4- -0x3f6,_0x1bf6d1);}if(_0x14e8b5!==void 0x0){const {mode:_0x1f42d1,environment:_0x3857e9}=_0x14e8b5;return defineTool({'name':_0x43c2ee,'permissionClass':_0x178317(_0x10ec41._0x435e5f,0x4fa,_0x10ec41._0xc895b5,_0x10ec41._0x59cff0),'description':_0x1f42d1===_0x178317(0x202,0x250,_0x10ec41._0x4cbbbf,_0x10ec41._0x37f5b1)?_0x178317(0x2f7,_0x10ec41._0x2ceeef,0x3d0,0xaa):_0x4f4e36(0x58e,_0x10ec41._0x64133c,0x5c5,_0x10ec41._0x428039),'inputSchema':_0x1f42d1===_0x4f4e36(0x695,_0x10ec41._0x54b68b,_0x10ec41._0x33c926,0x5d5)?hashlineFileEditInputSchema:structuredFileEditInputSchema,async *'execute'(_0x1304ae,_0x32d8f5){return yield await executeAnchoredFileEdit(_0x1f42d1,_0x1304ae,_0x32d8f5,_0x3857e9),void 0x0;}});}return defineTool({'name':_0x43c2ee,'permissionClass':_0x178317(0x6c9,0x4fa,_0x10ec41._0x3f392a,0x6bf),'description':'Edit\x20a\x20UTF-8\x20text\x20file\x20in\x20the\x20workspace\x20or\x20allowed\x20directories\x20by\x20replacing\x20the\x20first\x20exact\x20text\x20segment.','inputSchema':{'type':'object','properties':{'filePath':{'type':_0x178317(_0x10ec41._0x5bb7d5,0x23f,_0x10ec41._0x4b01b3,0x309)},'description':{'type':_0x4f4e36(_0x10ec41._0xd9e5f8,_0x10ec41._0x5d2f0d,0x5d6,0x5c4),'description':_0x178317(0x610,_0x10ec41._0x16319b,_0x10ec41._0x5511ec,0x2ae)},'oldText':{'type':_0x4f4e36(0x677,0x5ce,_0x10ec41._0x10229b,0x5c4)},'newText':{'type':_0x178317(0x1a5,_0x10ec41._0x205b63,0x15a,0x3a0)},'dryRun':{'type':_0x4f4e36(0x63e,_0x10ec41._0x4a5c69,0xa35,0x852)}},'required':[_0x178317(0x15,_0x10ec41._0x4847dc,_0x10ec41._0x428341,0xef),'oldText',_0x178317(_0x10ec41._0x1415bf,0x48b,0x325,_0x10ec41._0x51fdd2)]},async *'execute'(_0x3380dd){const _0x106280=resolveAllowedPath(_0x41d84d,_0x4582ea,_0x3380dd['filePath']);await assertWorkspaceFile(_0x106280);const _0x5e5668=await _0x568bae(_0x106280);function _0x1664df(_0x295dc4,_0x5efd35,_0x50040a,_0x38496f){return _0x4f4e36(_0x38496f,_0x5efd35-0xb9,_0x50040a-0x129,_0x50040a- -0x1a9);}const _0x55db52=await _0x18a980(_0x106280),_0x4a723a=detectEol(_0x55db52),_0x16959b=normalizeToLf(_0x55db52[_0xcdd81(_0x3aea94._0x2bda4b,_0x3aea94._0x2e2a84,0x2b3,0x315)](_0x1664df(0x4b8,0x5f4,_0x3aea94._0x214940,0x31c))),_0x4ee0c1=normalizeToLf(_0x3380dd[_0xcdd81(_0x3aea94._0x55444e,_0x3aea94._0x3f089c,_0x3aea94._0x35ecb6,_0x3aea94._0x40789f)]),_0x2b17c6=normalizeToLf(_0x3380dd[_0xcdd81(0x4c0,_0x3aea94._0x12d8f5,0x662,_0x3aea94._0x7ef202)]),_0x419742=replaceFirstExact(_0x16959b,_0x4ee0c1,_0x2b17c6);if(_0x419742===void 0x0){const _0x305a69=_0x4ee0c1[_0x1664df(0x5fc,0x81c,_0x3aea94._0x14f098,_0x3aea94._0x5f2047)](0x0,0x64)[_0x1664df(_0x3aea94._0x330039,0x6f1,0x6dc,0x657)](/\n/g,'\x5cn');throw new ToolExecutionError(_0xcdd81(_0x3aea94._0x27e73e,_0x3aea94._0x1d3ced,_0x3aea94._0x4f24ff,_0x3aea94._0x2bfd4c)+_0x305a69+(_0x4ee0c1[_0x1664df(0x4fb,_0x3aea94._0x5d9b8,0x6ce,0x617)]>0x64?_0x1664df(_0x3aea94._0x2fc571,_0x3aea94._0x3853d5,0x61f,0x7f9):'')+'\x22',{'filePath':_0x3380dd[_0x1664df(0x4a0,0x54f,_0x3aea94._0x2596cd,_0x3aea94._0x45441a)]});}const _0x1a61c2=convertEol(_0x419742['after'],_0x4a723a),_0x5f4740=Buffer[_0x1664df(_0x3aea94._0x1483c8,_0x3aea94._0x26b133,_0x3aea94._0x42fb6c,_0x3aea94._0x223e58)](_0x1a61c2,_0xcdd81(_0x3aea94._0x3c4a30,0x363,0x321,0x517)),_0x2db018=sha256Bytes(_0x55db52),_0x45f7f7=sha256Bytes(_0x5f4740),_0x115fea=_0x2db018===_0x45f7f7;function _0xcdd81(_0x31388f,_0x8f713a,_0xa48c78,_0x21b3e8){return _0x4f4e36(_0x21b3e8,_0x8f713a-_0x50f934._0x10768b,_0xa48c78-0x1ab,_0x8f713a- -_0x50f934._0x14a107);}const _0x568465=_0x3380dd[_0xcdd81(_0x3aea94._0x3a205b,0x2ba,_0x3aea94._0x36f957,0x467)]??![];return!_0x568465&&!_0x115fea&&await atomicReplaceFile(_0x106280,_0x5f4740,_0x5e5668['mode']),yield createToolOutput(_0x115fea?_0xcdd81(0x5a5,0x534,_0x3aea94._0x203bc8,0x425):_0x568465?_0x1664df(0x6f4,0x472,_0x3aea94._0x9b03db,0x53c):_0xcdd81(0x523,_0x3aea94._0x37444e,_0x3aea94._0x37a906,0x527),{'filePath':_0x3380dd[_0x1664df(_0x3aea94._0x587c3e,_0x3aea94._0x31f1bb,0x3ce,0x50c)],'resolvedPath':_0x106280,'created':_0x5e5668[_0xcdd81(0x575,_0x3aea94._0x316c08,0x54a,0x326)][_0xcdd81(0x2ca,0x320,0x52f,0x180)](),'modified':_0x5e5668['mtime'][_0x1664df(_0x3aea94._0x5c4ad5,0x22d,0x3bb,0x2c9)](),'size':_0x5e5668[_0x1664df(0x31a,_0x3aea94._0x3a5cac,_0x3aea94._0x71fd3f,_0x3aea94._0x1dd459)],'eol':_0x4a723a,'oldTextLength':_0x4ee0c1[_0xcdd81(_0x3aea94._0x47ac1c,0x633,0x5af,0x81a)],'newTextLength':_0x2b17c6[_0x1664df(0x4dc,_0x3aea94._0x4165bc,_0x3aea94._0x28de62,_0x3aea94._0x15f9ac)],'bytesWritten':_0x115fea||_0x568465?0x0:_0x5f4740[_0xcdd81(0x627,_0x3aea94._0x17ed46,0x5a2,0x4fd)],'beforeSha':_0x2db018,'afterSha':_0x45f7f7,'dryRun':_0x568465,'noChange':_0x115fea,'lineNumbers':_0x419742[_0xcdd81(0x531,0x684,0x4c7,_0x3aea94._0x22f5d9)]}),void 0x0;}});}var FileMutationCoordinator=class{[_0x28bc81(0x32f,0x44e,0x3d4,0x5de)]=new Map();async[_0x28bc81(0x200,0x318,0x2d5,0x26f)](_0x4905f0,_0x5adf79,_0x2b00f6){const _0x1caf2d={_0x4aea60:0x589,_0x29b64d:0x7c3,_0x563a3e:0x3e0,_0x1bcfb9:0x292,_0x2a6a29:0x62f,_0x428281:0x72c,_0x343b37:0x72b,_0x2fdd67:0x80c,_0x28974a:0x673,_0xe9cee5:0x561,_0x3b8692:0x82c},_0x3b517f={_0x576836:0x5d9,_0x1fe6c0:0x606,_0x1717fd:0x816,_0x53cf92:0x547,_0x409269:0x35c,_0x4ba59d:0x21f,_0x35e557:0x1a9,_0x1c4435:0x348},_0x17e6ea={_0x2a1c48:0x1d,_0x7597d8:0x1df},_0x2e8174={_0x4d1809:0x15c},_0x27844f={_0x3e0dc4:0x36};throwIfAborted(_0x5adf79);const _0x19d573=this[_0x1c2868(0x7a9,_0x1caf2d._0x4aea60,0x82a,_0x1caf2d._0x29b64d)][_0x3faad2(0x473,_0x1caf2d._0x563a3e,_0x1caf2d._0x1bcfb9,_0x1caf2d._0x563a3e)](_0x4905f0)??Promise[_0x1c2868(_0x1caf2d._0x2a6a29,0x7b6,_0x1caf2d._0x428281,_0x1caf2d._0x343b37)](),_0x2ccf17=_0x19d573['then'](async()=>{return throwIfAborted(_0x5adf79),_0x2b00f6();});function _0x1c2868(_0x5dca05,_0x330677,_0x4ef45c,_0x175b68){return _0x5b2413(_0x5dca05-0x164,_0x330677-0x8f,_0x5dca05-_0x27844f._0x3e0dc4,_0x330677);}const _0x2dbf74=_0x2ccf17['then'](()=>void 0x0,()=>void 0x0);this['tails'][_0x1c2868(_0x1caf2d._0x2fdd67,0x672,0x679,_0x1caf2d._0x28974a)](_0x4905f0,_0x2dbf74);function _0x3faad2(_0x3c02c3,_0xd11d0f,_0x115d3f,_0x28df68){return _0x28bc81(_0x3c02c3-_0x2e8174._0x4d1809,_0xd11d0f-0x174,_0x28df68- -0x1b1,_0x3c02c3);}return void _0x2dbf74[_0x1c2868(0x759,_0x1caf2d._0xe9cee5,0x5d1,_0x1caf2d._0x3b8692)](()=>{const _0x28cc24={_0x5b6152:0x593,_0x3ce1ed:0xe4,_0x51f5ce:0x57};function _0xd2a14(_0x2b0de1,_0x4c1c11,_0x24f2e2,_0x1cff1c){return _0x1c2868(_0x1cff1c- -_0x28cc24._0x5b6152,_0x24f2e2,_0x24f2e2-_0x28cc24._0x3ce1ed,_0x1cff1c-_0x28cc24._0x51f5ce);}function _0x28bf1e(_0x1f6dc5,_0x210a0a,_0x38635e,_0x4076b3){return _0x1c2868(_0x1f6dc5- -0x1a3,_0x210a0a,_0x38635e-_0x17e6ea._0x2a1c48,_0x4076b3-_0x17e6ea._0x7597d8);}this[_0x28bf1e(0x606,0x440,0x4f6,0x818)][_0xd2a14(_0x3b517f._0x576836,0x442,0x366,0x3d3)](_0x4905f0)===_0x2dbf74&&this[_0x28bf1e(_0x3b517f._0x1fe6c0,_0x3b517f._0x1717fd,_0x3b517f._0x53cf92,0x726)][_0xd2a14(_0x3b517f._0x409269,_0x3b517f._0x4ba59d,_0x3b517f._0x35e557,_0x3b517f._0x1c4435)](_0x4905f0);}),_0x2ccf17;}};import{mkdir as _0x416e2e,stat as _0xd741b8}from'fs/promises';import*as _0x5db50a from'path';function createFileNewTool(_0x514f0c={}){const _0x143301={_0x2c7c18:0x4d8,_0x1858b6:0x23e,_0x23b41c:0x78,_0x36fc40:0x168,_0x16ac79:0x308,_0x2ae7bb:0x1b4,_0x5ad089:0x257,_0x2fdfd3:0xcd,_0x58b955:0x1a8,_0x439855:0x1bb,_0x4da70a:0x151,_0x2567b0:0x19,_0x3a5f84:0x3a0,_0x3be7d6:0x198},_0x4c9fa4={_0x1512c:0x544,_0x364af5:0x34b,_0x2aeec9:0x252,_0x5a4527:0x2ce,_0x4340ec:0x867,_0x590eab:0x124,_0x3ff924:0xbe,_0x155cd7:0xb3,_0x54613a:0x982,_0x20240a:0x5c4,_0xa7d5f3:0x6d4,_0x2da362:0xf8,_0x3141aa:0x1ac,_0x5abf8e:0x17e,_0x127f6a:0x3b5,_0x5f4299:0x376,_0x1aa2c3:0x5ac,_0x546f99:0x5,_0x2a8686:0xf4,_0x11767e:0x529,_0x30b54c:0x831,_0x169581:0x5bc,_0x277495:0x6f0,_0x1d889e:0x674,_0x58a7f0:0x9b1,_0x315a22:0x7d0,_0x139cb9:0x154,_0x182d68:0x9c,_0x21a455:0x17,_0x584f71:0x1d1,_0x4e1254:0x917,_0x4b8ba1:0x7a3,_0x340587:0x7e6,_0x575d6f:0x892,_0x39280e:0x71a,_0x3f110b:0x84d,_0x91a5e7:0x523,_0x4071ae:0xde,_0x9b7cc0:0x27f,_0x4674fb:0x268},_0x3bf19d={_0x4c77fc:0x26f},_0x4947bd={_0x58e061:0x1e9},_0x2a42ec={_0x14d361:0x1c0,_0x4fa7dc:0x19b,_0x34d2fd:0x4cd},_0x454d5f=_0x5db50a[_0x5c41fa(0x141,0x71,-0x75,0x51)](_0x514f0c[_0x358add(0x1ce,0x1a8,0x2ed,0x3bb)]??process[_0x358add(_0x143301._0x2c7c18,0x424,0x2ec,0x394)]()),_0x37147e=_0x514f0c['allowedDirs']??[],_0x84fbf2=_0x514f0c[_0x5c41fa(_0x143301._0x1858b6,0x149,0x3aa,0x26d)]??_0x5c41fa(0x233,-_0x143301._0x23b41c,0x350,_0x143301._0x36fc40);function _0x358add(_0x29a867,_0xa72021,_0x5a1fab,_0xb50b3c){return _0x5b2413(_0x29a867-_0x2a42ec._0x14d361,_0xa72021-_0x2a42ec._0x4fa7dc,_0x29a867- -_0x2a42ec._0x34d2fd,_0xa72021);}function _0x5c41fa(_0x4958e1,_0x56c791,_0x456b66,_0x49f2c9){return _0x28bc81(_0x4958e1-0x6,_0x56c791-_0x4947bd._0x58e061,_0x49f2c9- -0x209,_0x4958e1);}const {observations:_0xc8b7e3,anchored:anchored=![]}=_0x514f0c;return defineTool({'name':_0x84fbf2,'permissionClass':'write','description':'Create\x20or\x20overwrite\x20a\x20UTF-8\x20text\x20file\x20in\x20the\x20workspace\x20or\x20allowed\x20directories.','inputSchema':{'type':_0x358add(0x137,_0x143301._0x16ac79,_0x143301._0x2ae7bb,_0x143301._0x5ad089),'properties':{'filePath':{'type':'string'},'content':{'type':_0x358add(0x168,_0x143301._0x2fdfd3,_0x143301._0x58b955,_0x143301._0x439855)}},'required':[_0x5c41fa(_0x143301._0x4da70a,_0x143301._0x2567b0,0x232,0x40),_0x358add(_0x143301._0x3a5f84,0x52b,0x1cf,_0x143301._0x3be7d6)]},async *'execute'(_0x4e3d68,_0x1e3321){const _0x11bbe0={_0x276736:0x403,_0x1fd730:0x15},_0x3d986e=resolveAllowedPath(_0x454d5f,_0x37147e,_0x4e3d68[_0x3db59f(_0x4c9fa4._0x1512c,0x51e,0x607,_0x4c9fa4._0x364af5)]),_0x31f753=await _0xd741b8(_0x3d986e)[_0x1840cc(-0x172,-_0x4c9fa4._0x2aeec9,-_0x4c9fa4._0x5a4527,-0x13a)](()=>void 0x0),_0x3eb226=_0x31f753!==void 0x0,_0x3c8e97=Buffer['from'](_0x4e3d68[_0x3db59f(0x94b,0x7a3,0x97c,_0x4c9fa4._0x4340ec)],_0x1840cc(-_0x4c9fa4._0x590eab,-0xf0,_0x4c9fa4._0x3ff924,-_0x4c9fa4._0x155cd7));function _0x3db59f(_0x32b2b2,_0x124982,_0x19f1cd,_0x364aa2){return _0x358add(_0x124982-_0x11bbe0._0x276736,_0x32b2b2,_0x19f1cd-_0x11bbe0._0x1fd730,_0x364aa2-0xa1);}const _0x35f95e=_0x31f753!==void 0x0?_0x31f753[_0x3db59f(0x6c1,0x7b1,_0x4c9fa4._0x54613a,0x5b2)]&0xfff:0x1b6&~process[_0x3db59f(0x482,_0x4c9fa4._0x20240a,_0x4c9fa4._0xa7d5f3,0x611)]();let _0x486e76;anchored&&_0xc8b7e3!==void 0x0&&(_0x486e76=createNormalizedFileSnapshot(_0x3d986e,_0x3c8e97)[_0x1840cc(-0x93,_0x4c9fa4._0x2da362,0x55,-0x1a4)]);await _0x416e2e(_0x5db50a[_0x1840cc(-0x1c7,-_0x4c9fa4._0x3141aa,-0x22e,-_0x4c9fa4._0x5abf8e)](_0x3d986e),{'recursive':!![]});function _0x1840cc(_0x38212a,_0x3c4e76,_0x592b50,_0x5dbe06){return _0x358add(_0x38212a- -_0x3bf19d._0x4c77fc,_0x3c4e76,_0x592b50-0x75,_0x5dbe06-0xd7);}await atomicReplaceFile(_0x3d986e,_0x3c8e97,_0x35f95e);if(_0x486e76!==void 0x0&&_0xc8b7e3!==void 0x0){const _0x4831c9=await resolveCanonicalAllowedFile(_0x454d5f,_0x37147e,_0x4e3d68[_0x3db59f(0x587,0x51e,_0x4c9fa4._0x127f6a,_0x4c9fa4._0x5f4299)]),_0x103efb=createNormalizedFileSnapshot(_0x4831c9[_0x3db59f(_0x4c9fa4._0x1aa2c3,0x6ac,0x741,0x7ab)],_0x3c8e97);_0xc8b7e3[_0x1840cc(_0x4c9fa4._0x546f99,0x95,-_0x4c9fa4._0x2a8686,-0x183)](_0x1e3321[_0x3db59f(_0x4c9fa4._0x11767e,0x698,_0x4c9fa4._0x30b54c,_0x4c9fa4._0x169581)]),_0xc8b7e3['record'](_0x103efb,_0x103efb[_0x3db59f(_0x4c9fa4._0x277495,0x664,_0x4c9fa4._0x1d889e,0x48b)][_0x3db59f(0x751,0x8a6,_0x4c9fa4._0x58a7f0,0x8d9)]((_0x5dc021,_0x847ce2)=>_0x847ce2+0x1));}return yield createToolOutput(_0x486e76===void 0x0?_0x3db59f(0x75d,_0x4c9fa4._0x315a22,0x5ea,0x935)+_0x4e3d68['filePath']+'.':'['+_0x4e3d68[_0x1840cc(-_0x4c9fa4._0x139cb9,-_0x4c9fa4._0x182d68,-0x34c,-_0x4c9fa4._0x21a455)]+'#'+_0x486e76+']\x0aFile\x20written\x20at\x20'+_0x4e3d68[_0x1840cc(-0x154,-0xe0,-0x63,-_0x4c9fa4._0x584f71)]+'.',{'filePath':_0x4e3d68[_0x1840cc(-_0x4c9fa4._0x139cb9,-0x24d,-0x116,-0x242)],'resolvedPath':_0x3d986e,'bytes':_0x3c8e97['length'],'lines':_0x4e3d68[_0x3db59f(_0x4c9fa4._0x4e1254,_0x4c9fa4._0x4b8ba1,_0x4c9fa4._0x340587,_0x4c9fa4._0x575d6f)][_0x3db59f(0x7ce,_0x4c9fa4._0x39280e,_0x4c9fa4._0x3f110b,_0x4c9fa4._0x91a5e7)](/\r?\n/)[_0x1840cc(0x1ac,_0x4c9fa4._0x4071ae,_0x4c9fa4._0x9b7cc0,_0x4c9fa4._0x4674fb)],'created':new Date()['toISOString'](),'overwritten':_0x3eb226,..._0x486e76===void 0x0?{}:{'tag':_0x486e76}}),void 0x0;}});}var FILE_OBSERVATION_LIMITS={'maxPaths':0x1e,'maxVersionsPerPath':0x4,'maxSnapshotBytes':0x40*0x400*0x400},FileObservationStore=class{[_0x5b2413(0xabe,0x9e9,0x912,0xb2c)];[_0x5b2413(0x7af,0x6b2,0x8d4,0x798)];[_0x28bc81(0x20e,0x2e3,0x3c3,0x245)];[_0x5b2413(0x917,0x514,0x708,0x74d)]=new Map();[_0x28bc81(0x717,0x66d,0x5db,0x416)]=[];[_0x28bc81(0x752,0x3c1,0x5a0,0x455)]=0x0;['bytesByDigest']=new Map();['noChangeCounters']=new Map();constructor(_0x18be5c={}){const _0x4de001={_0x11d90f:0x404,_0x375557:0x3c1,_0x462e68:0x706,_0x5b6907:0x81e,_0x28c6b2:0x966,_0x4bf22e:0x206,_0x57385c:0x29d},_0x4f0369={_0x33210e:0x1de},_0x538f20={_0x4f0cf2:0x1,_0x2f9d77:0x43};this[_0x1c1fcf(0x334,_0x4de001._0x11d90f,_0x4de001._0x375557,0x116)]={...FILE_OBSERVATION_LIMITS,..._0x18be5c[_0x45c92f(0x85c,_0x4de001._0x462e68,0x956,0x68d)]};function _0x45c92f(_0x460dac,_0x90bfa9,_0x18c0ae,_0x12f0b0){return _0x28bc81(_0x460dac-_0x538f20._0x4f0cf2,_0x90bfa9-_0x538f20._0x2f9d77,_0x460dac-0x2e9,_0x18c0ae);}function _0x1c1fcf(_0x3e1673,_0x5126db,_0xca268b,_0x4b9336){return _0x5b2413(_0x3e1673-0x25,_0x5126db-_0x4f0369._0x33210e,_0x3e1673- -0x5de,_0x4b9336);}this[_0x45c92f(_0x4de001._0x5b6907,0x88c,0x846,_0x4de001._0x28c6b2)]=_0x18be5c[_0x1c1fcf(0x2f6,_0x4de001._0x4bf22e,_0x4de001._0x57385c,0x225)];}[_0x5b2413(0x55f,0x8b3,0x741,0x8ed)](_0x53ff26){const _0x1cfd07={_0x27494f:0x156,_0x383e0d:0x197,_0x21065d:0x1b8,_0x5971b9:0x556,_0x4e5cbd:0x363,_0x3aa458:0x5d8,_0xf95ec3:0x42e,_0x5ebd66:0x4dd},_0x52b513={_0x1e1971:0xb7,_0x4a6c4b:0x11a},_0x505ba1={_0x4b4e1e:0x2c,_0x30551f:0x5cb};if(this[_0x20a697(0x192,_0x1cfd07._0x27494f,0x2d9,_0x1cfd07._0x383e0d)]===_0x53ff26)return;function _0x20a697(_0x596e1d,_0x3b60a3,_0x593a85,_0x2d85ff){return _0x5b2413(_0x596e1d-_0x505ba1._0x4b4e1e,_0x3b60a3-0x6f,_0x2d85ff- -_0x505ba1._0x30551f,_0x3b60a3);}this[_0x20a697(0x466,_0x1cfd07._0x21065d,_0x1cfd07._0x5971b9,_0x1cfd07._0x4e5cbd)]();function _0x1a5f17(_0x2ad680,_0x428cba,_0xdff12,_0x245251){return _0x28bc81(_0x2ad680-_0x52b513._0x1e1971,_0x428cba-0x18c,_0x245251-_0x52b513._0x4a6c4b,_0xdff12);}this[_0x1a5f17(_0x1cfd07._0x3aa458,0x534,_0x1cfd07._0xf95ec3,_0x1cfd07._0x5ebd66)]=_0x53ff26;}['record'](_0x52adf4,_0x6cb854){const _0x852af7={_0x1e2435:0x4c0,_0x29c12a:0x6fc,_0x49f7e1:0x15c,_0x153ac6:0x14a,_0x35f9dd:0x95,_0x198318:0x224,_0xe8c45:0x1a7,_0xd781a6:0x18c,_0xc4c108:0x10a,_0x1adb77:0x2a6,_0x4f813f:0x6f0,_0x130d89:0x579,_0x391a1d:0x743,_0x53d762:0x62c,_0x2cff86:0x755,_0x18060c:0x809,_0x1b9dfa:0x55c,_0x2b267e:0x4eb,_0x33b76e:0x34c,_0x134c2d:0x233,_0x2cdd1c:0x65,_0xee19eb:0x61,_0xfda208:0x365,_0x441638:0x268,_0x4a7682:0x65f,_0x46e4c6:0x52b,_0x59d931:0x685,_0x4698e7:0x14b,_0x52171f:0x3d,_0x30044b:0xc7,_0x427466:0x186,_0xb5df:0xdb,_0x5cff17:0x69f,_0xe8f447:0x899,_0x32919f:0x87f,_0x16a72b:0x214,_0x1cb850:0x62,_0x440347:0x4f2,_0x148144:0x305,_0x5ce14e:0x5c0,_0x13dcf4:0x4d0,_0x3773d6:0x419,_0x3e4964:0x55a,_0x535ab6:0x103,_0x3fbd89:0x209,_0x118718:0x6cf,_0x5056e1:0x7b8,_0x3a9dbe:0x80a,_0x5b3aaa:0x663,_0x52553f:0x580,_0x104813:0x22d,_0xf6dc08:0xe0,_0x409042:0x723,_0x3df2d3:0x69a,_0x2129ff:0x5e7,_0x47bdcd:0x5cf,_0xddf881:0x5ea,_0x280c3e:0x4e,_0x2e8d35:0x43,_0x15d71f:0x560,_0x3c4236:0x3d3,_0x4599e9:0x47a,_0x1f4938:0x6be,_0x18bf28:0x2a6,_0x52c6db:0x456,_0x25b266:0x166,_0x2fff90:0x106,_0x37de63:0x52c,_0x23faa5:0x2d3,_0x29abe9:0x1d0,_0x3ef24e:0x76b,_0x22cf04:0x25,_0x230de1:0x1b,_0x49861a:0x1d8,_0x45884d:0x39,_0x87af18:0x69f,_0x33850d:0x664,_0x5975b9:0x480},_0x4cec54={_0xe7c096:0x18b,_0x23f4db:0x2cd},_0x2a2fc2={_0x68f061:0x18a,_0x10dc86:0x8};if(_0x52adf4[_0x1ca5e4(0x5ea,_0x852af7._0x1e2435,0x74c,0x7fd)]>this[_0x1ca5e4(_0x852af7._0x29c12a,0x6da,0x8a2,0x6cd)][_0x1baca2(_0x852af7._0x49f7e1,-_0x852af7._0x153ac6,_0x852af7._0x35f9dd,_0x852af7._0x198318)])throw createAnchoredFileError('unknown_snapshot',_0x1baca2(0xa0,0x167,0x282,0x488)+_0x52adf4[_0x1baca2(_0x852af7._0xe8c45,_0x852af7._0xd781a6,_0x852af7._0xc4c108,_0x852af7._0x1adb77)]+_0x1ca5e4(0x589,0x5ab,_0x852af7._0x4f813f,0x7a8)+_0x52adf4[_0x1ca5e4(0x5ea,_0x852af7._0x130d89,0x783,_0x852af7._0x391a1d)]+_0x1ca5e4(_0x852af7._0x53d762,_0x852af7._0x2cff86,0x55e,0x845)+this[_0x1ca5e4(_0x852af7._0x29c12a,0x849,_0x852af7._0x18060c,_0x852af7._0x1b9dfa)][_0x1ca5e4(_0x852af7._0x2b267e,0x4fc,0x3fc,_0x852af7._0x33b76e)]+'\x20bytes;\x20use\x20exact\x20replacement\x20(FileEdit\x20with\x20oldText/newText)\x20instead.',{'path':_0x52adf4[_0x1baca2(_0x852af7._0x134c2d,_0x852af7._0x2cdd1c,0x10a,-_0x852af7._0xee19eb)],'size':_0x52adf4['utf8Bytes']});const _0x28ae1b=this[_0x1baca2(0x3ca,_0x852af7._0xfda208,_0x852af7._0x441638,0xd6)]?this[_0x1ca5e4(0x6be,_0x852af7._0x4a7682,0x4f4,_0x852af7._0x46e4c6)](_0x52adf4[_0x1ca5e4(_0x852af7._0x59d931,0x5cd,0x739,0x859)]):_0x52adf4[_0x1baca2(-0x6c,-_0x852af7._0x4698e7,_0x852af7._0x52171f,_0x852af7._0x134c2d)],_0x19af9e=this[_0x1baca2(0x2b7,-_0x852af7._0x30044b,0x9c,_0x852af7._0x427466)][_0x1ca5e4(0x71a,0x5f0,0x87c,0x8e0)](_0x52adf4['canonicalPath']),_0x40cf33=_0x19af9e?.[_0x1baca2(_0x852af7._0xb5df,0x1a3,0x22d,0x3c5)](_0x7249da=>_0x7249da[_0x1ca5e4(0x48f,0x5b6,0x30b,0x3f1)][_0x1ca5e4(0x685,0x754,0x4e2,0x6ef)]===_0x52adf4['digest']);function _0x1ca5e4(_0x1e17ee,_0x287931,_0x4cab07,_0x46d2d4){return _0x5b2413(_0x1e17ee-_0x2a2fc2._0x68f061,_0x287931-_0x2a2fc2._0x10dc86,_0x1e17ee- -0x216,_0x287931);}let _0x2d9956;if(_0x40cf33){for(const _0x2cfb3a of _0x6cb854)_0x40cf33[_0x1ca5e4(_0x852af7._0x5cff17,_0x852af7._0xe8f447,_0x852af7._0x32919f,0x6fa)][_0x1baca2(-0x21f,-_0x852af7._0x16a72b,-_0x852af7._0x1cb850,-0x25b)](_0x2cfb3a);_0x2d9956=_0x40cf33;}else{_0x2d9956={'snapshot':_0x52adf4,'tag':_0x28ae1b,'observedLines':new Set(_0x6cb854)};if(!_0x19af9e)this[_0x1ca5e4(_0x852af7._0x440347,0x4a4,_0x852af7._0x148144,0x6c5)][_0x1ca5e4(_0x852af7._0x5ce14e,0x78b,0x4c9,0x524)](_0x52adf4[_0x1ca5e4(0x560,0x46d,_0x852af7._0x13dcf4,_0x852af7._0x3773d6)],[_0x2d9956]);else{if(_0x19af9e[_0x1ca5e4(0x6d2,0x89d,0x577,_0x852af7._0x3e4964)]>=this[_0x1baca2(_0x852af7._0x535ab6,_0x852af7._0x3fbd89,0x2a6,0x490)][_0x1ca5e4(_0x852af7._0x118718,_0x852af7._0x5056e1,_0x852af7._0x3a9dbe,0x8cb)]){const _0x4c6a7d=_0x19af9e[_0x1ca5e4(_0x852af7._0x5b3aaa,0x4a1,_0x852af7._0x52553f,0x6e4)]();if(_0x4c6a7d)this[_0x1baca2(_0x852af7._0x104813,_0x852af7._0xf6dc08,0xc,-0x7b)](_0x4c6a7d['snapshot']['digest']);}_0x19af9e[_0x1ca5e4(0x53f,0x492,0x4fc,_0x852af7._0x409042)](_0x2d9956);}this['acquireBytes'](_0x52adf4[_0x1ca5e4(_0x852af7._0x59d931,_0x852af7._0x3df2d3,_0x852af7._0x2129ff,_0x852af7._0x47bdcd)],_0x52adf4[_0x1ca5e4(_0x852af7._0xddf881,0x5f3,0x500,0x73a)]);}this[_0x1baca2(-_0x852af7._0x280c3e,0x174,0x32,-_0x852af7._0x2e8d35)](_0x52adf4[_0x1ca5e4(_0x852af7._0x15d71f,_0x852af7._0x3c4236,_0x852af7._0x4599e9,_0x852af7._0x1f4938)]);function _0x1baca2(_0x4af414,_0x5f44b3,_0x18a775,_0x132ccb){return _0x28bc81(_0x4af414-0x1c,_0x5f44b3-_0x4cec54._0xe7c096,_0x18a775- -_0x4cec54._0x23f4db,_0x4af414);}while(this['versionsByPath']['size']>this[_0x1baca2(0x2f6,0x20e,_0x852af7._0x18bf28,_0x852af7._0x52c6db)][_0x1baca2(0xcf,0x243,_0x852af7._0x25b266,_0x852af7._0x2fff90)]){this[_0x1ca5e4(0x36b,0x33a,_0x852af7._0x37de63,0x512)]();}while(this[_0x1baca2(0x293,0x2ce,_0x852af7._0x23faa5,_0x852af7._0x29abe9)]>this['limits']['maxSnapshotBytes']&&this[_0x1ca5e4(0x764,_0x852af7._0x3ef24e,0x7bd,0x71d)]['length']>0x1){this[_0x1baca2(-0x6d,0x132,-0xeb,_0x852af7._0x22cf04)]();}return{'snapshot':_0x2d9956[_0x1baca2(_0x852af7._0x230de1,_0x852af7._0x49861a,_0x852af7._0x45884d,0x19c)],'observedLines':new Set(_0x2d9956[_0x1ca5e4(_0x852af7._0x87af18,_0x852af7._0x33850d,0x854,_0x852af7._0x5975b9)])};}[_0x28bc81(0x3c,0xf2,0x25a,0x19c)](_0x49096e,_0x168101){const _0x5dcd7d={_0x11227b:0x204,_0x437875:0x1ad,_0x4cc566:0x1c7,_0x376a98:0x303,_0x2cb48d:0x456,_0x288db0:0x151,_0x16fd99:0xff,_0x4c9390:0x2a7,_0x1fd040:0x33d,_0x4c538d:0x1c0,_0x151213:0x20b,_0x195dba:0x165,_0x2ec7c9:0xde,_0x4e2055:0x268,_0x20ec8f:0x139,_0x1ae010:0x1da,_0x51e3a1:0x3dd,_0x299b0c:0x8c,_0x93907b:0x1af,_0x283fdf:0x34,_0x51eca3:0x184,_0x385eb6:0x15d,_0x5e78ed:0x8a,_0x39469a:0x164,_0xf76f4a:0x217},_0x257580={_0x1257bd:0xe9},_0x1f701f=this[_0x1bb4d1(_0x5dcd7d._0x11227b,_0x5dcd7d._0x437875,_0x5dcd7d._0x4cc566,0x1f6)][_0xd0daec(0x3d8,0x37c,0x57d,0x170)](_0x49096e);function _0xd0daec(_0x2687d9,_0xe6fec2,_0x136190,_0x592563){return _0x5b2413(_0x2687d9-_0x257580._0x1257bd,_0xe6fec2-0x89,_0xe6fec2- -0x5b4,_0x136190);}if(!_0x1f701f)throw createAnchoredFileError('unknown_snapshot',_0x1bb4d1(0x4a4,0x155,_0x5dcd7d._0x376a98,_0x5dcd7d._0x2cb48d)+_0x168101+_0x1bb4d1(0x27a,0x218,_0x5dcd7d._0x288db0,-0x8b)+_0x49096e+_0x1bb4d1(0x2b1,0x1f,_0x5dcd7d._0x16fd99,_0x5dcd7d._0x4c9390),{'path':_0x49096e,'tag':_0x168101});const _0x302242=_0x1f701f[_0xd0daec(0x1b1,0x270,0x41c,0x25b)](_0x12af61=>_0x12af61['tag']===_0x168101);if(_0x302242[_0xd0daec(_0x5dcd7d._0x1fd040,0x334,_0x5dcd7d._0x4c538d,0x237)]===0x0)throw createAnchoredFileError('unknown_snapshot',_0x1bb4d1(0x144,0x3f2,0x303,_0x5dcd7d._0x151213)+_0x168101+_0xd0daec(_0x5dcd7d._0x195dba,_0x5dcd7d._0x2ec7c9,_0x5dcd7d._0x4e2055,0x1f9)+_0x49096e+';\x20re-read\x20the\x20file\x20with\x20FileRead\x20first.',{'path':_0x49096e,'tag':_0x168101});if(_0x302242['length']>0x1)throw createAnchoredFileError(_0x1bb4d1(0x8,0xbe,0x20d,_0x5dcd7d._0x20ec8f),_0xd0daec(0x168,0x290,_0x5dcd7d._0x1ae010,0x1aa)+_0x168101+_0xd0daec(0x551,_0x5dcd7d._0x51e3a1,0x31f,0x3b1)+_0x49096e+_0xd0daec(-0xf4,_0x5dcd7d._0x299b0c,_0x5dcd7d._0x93907b,_0x5dcd7d._0x283fdf),{'path':_0x49096e,'tag':_0x168101});this[_0x1bb4d1(_0x5dcd7d._0x51eca3,-0xb6,_0x5dcd7d._0x385eb6,0x16f)](_0x49096e);function _0x1bb4d1(_0x30960b,_0x2a59b0,_0x10a7be,_0x3515d2){return _0x5b2413(_0x30960b-0x164,_0x2a59b0-0x62,_0x10a7be- -0x541,_0x30960b);}return{'snapshot':_0x302242[0x0][_0x1bb4d1(-_0x5dcd7d._0x5e78ed,0x303,_0x5dcd7d._0x39469a,_0x5dcd7d._0xf76f4a)],'observedLines':new Set(_0x302242[0x0]['observedLines'])};}[_0x28bc81(0x38d,0x36b,0x2ed,0x266)](_0x55e821,_0x318b1d){const _0x143c86={_0x38e910:0xa0c,_0xe2a5ad:0x866,_0x412837:0x866},_0x44d8bf={_0x1c5762:0x15b},_0x4a07a5={_0x46e3f6:0x4a,_0x5ba100:0x4e},_0x2b041e=_0x55e821+'\x00'+_0x318b1d,_0x3ed192=(this[_0x3b04eb(_0x143c86._0x38e910,0x7ea,0xa06,_0x143c86._0xe2a5ad)]['get'](_0x2b041e)??0x0)+0x1;this[_0x3b04eb(0x715,0x702,0x80a,_0x143c86._0x412837)]['set'](_0x2b041e,_0x3ed192);function _0x57ede3(_0x422953,_0x330a5d,_0x5e0e44,_0x56daad){return _0x28bc81(_0x422953-_0x4a07a5._0x46e3f6,_0x330a5d-_0x4a07a5._0x5ba100,_0x330a5d-0x1bd,_0x422953);}function _0x3b04eb(_0x53bd91,_0x5d50a6,_0x36050e,_0x16fffa){return _0x28bc81(_0x53bd91-0x41,_0x5d50a6-_0x44d8bf._0x1c5762,_0x16fffa-0x2ca,_0x5d50a6);}return _0x3ed192;}[_0x28bc81(0x5b,0x3ed,0x21c,0x21)](_0x2584fb){const _0x4da997={_0x127712:0x2d4,_0x369b85:0x2f7,_0x33fa7b:0x33f,_0x4f39c2:0x118,_0xab0f54:0x1a,_0x1ee8ee:0x1e1,_0x13b9df:0x3d8,_0x3df1e5:0x4e2,_0x5a13fe:0xef,_0x2fba39:0x4bd},_0x5ab9d5={_0x350847:0x5fc},_0x442055={_0x481e95:0x19,_0x10309e:0x1d7};function _0x1c0f7b(_0x171c35,_0x1ccbb2,_0x3c2d28,_0x93e7a0){return _0x28bc81(_0x171c35-0x9e,_0x1ccbb2-_0x442055._0x481e95,_0x93e7a0- -_0x442055._0x10309e,_0x171c35);}function _0xcfdffe(_0x47610e,_0x5411bc,_0x1d0556,_0x57e093){return _0x5b2413(_0x47610e-0x5d,_0x5411bc-0x1ad,_0x57e093- -_0x5ab9d5._0x350847,_0x1d0556);}const _0x323a9b=_0x2584fb+'\x00';for(const _0x30b1c2 of[...this[_0xcfdffe(_0x4da997._0x127712,_0x4da997._0x369b85,0x4db,_0x4da997._0x33fa7b)][_0xcfdffe(-0xc8,0x161,_0x4da997._0x4f39c2,_0x4da997._0xab0f54)]()]){if(_0x30b1c2['startsWith'](_0x323a9b))this[_0x1c0f7b(_0x4da997._0x1ee8ee,_0x4da997._0x13b9df,_0x4da997._0x3df1e5,0x3c5)][_0xcfdffe(_0x4da997._0x5a13fe,_0x4da997._0x2fba39,0xba,0x2a9)](_0x30b1c2);}}[_0x5b2413(0x8a0,0x710,0x92e,0x7ca)](){const _0x2e8914={_0x4e868e:0x413,_0x5a176a:0x4a5,_0x1a298c:0x593,_0x49c3cd:0x6ea,_0x4101d4:0x449,_0xfc4601:0x286,_0x1df14c:0x674,_0x46a43d:0x35a,_0x3762bb:0x53b,_0x306532:0x553,_0x461526:0x5a6,_0x4f565c:0x3af,_0xba3f70:0x5e7},_0x13caad={_0x10a5a0:0xdc,_0x2cfefd:0x3e8};function _0x3e4e11(_0x391bc3,_0xee8e66,_0x105394,_0x356c15){return _0x5b2413(_0x391bc3-0x186,_0xee8e66-0x5d,_0xee8e66- -0x39b,_0x391bc3);}this[_0x52f981(0x1d7,_0x2e8914._0x4e868e,_0x2e8914._0x5a176a,0x320)][_0x3e4e11(0x422,_0x2e8914._0x1a298c,_0x2e8914._0x49c3cd,_0x2e8914._0x4101d4)](),this['recency']=[],this['totalBytes']=0x0;function _0x52f981(_0x242b8c,_0x28dbc1,_0x1b94be,_0x35578c){return _0x5b2413(_0x242b8c-_0x13caad._0x10a5a0,_0x28dbc1-0x1e9,_0x35578c- -_0x13caad._0x2cfefd,_0x242b8c);}this[_0x52f981(0x3e3,0x240,0x327,_0x2e8914._0xfc4601)][_0x52f981(0x666,_0x2e8914._0x1df14c,_0x2e8914._0x46a43d,0x546)](),this[_0x52f981(0x5f0,0x657,_0x2e8914._0x3762bb,_0x2e8914._0x306532)][_0x3e4e11(_0x2e8914._0x461526,0x593,_0x2e8914._0x4f565c,_0x2e8914._0xba3f70)]();}[_0x28bc81(0x3c4,0x127,0x2ff,0x43e)](_0xcd0083){const _0x304920={_0x16c44d:0x8bb,_0x29e056:0x777,_0x1650b9:0x7ea,_0x3521c9:0x548,_0x5b049c:0x500,_0x4e8cd1:0x5c4,_0x1d629d:0x42d,_0x4346b1:0x8eb,_0xa0728f:0x81a,_0x289ce5:0xa8a,_0x4f6d1d:0x804},_0x32262d={_0x4c74ef:0x52,_0x496945:0x6d,_0x1d5a5e:0x20f};function _0x464c27(_0x2e378d,_0x429176,_0x437da0,_0x188aef){return _0x28bc81(_0x2e378d-_0x32262d._0x4c74ef,_0x429176-_0x32262d._0x496945,_0x188aef-_0x32262d._0x1d5a5e,_0x2e378d);}function _0x3a3af4(_0x563e99,_0x4c27cf,_0x3cbe73,_0x456ca6){return _0x28bc81(_0x563e99-0xba,_0x4c27cf-0x12e,_0x563e99-0x310,_0x4c27cf);}const _0xa2abe7=this[_0x464c27(_0x304920._0x16c44d,_0x304920._0x29e056,0x612,_0x304920._0x1650b9)][_0x464c27(_0x304920._0x3521c9,_0x304920._0x5b049c,0x66d,0x471)](_0xcd0083);if(_0xa2abe7!==-0x1)this[_0x464c27(0x790,0x5ff,0x76a,_0x304920._0x1650b9)][_0x3a3af4(_0x304920._0x4e8cd1,0x409,0x634,_0x304920._0x1d629d)](_0xa2abe7,0x1);this[_0x3a3af4(_0x304920._0x4346b1,_0x304920._0xa0728f,_0x304920._0x289ce5,_0x304920._0x4f6d1d)]['push'](_0xcd0083);}[_0x5b2413(0x768,0x3ee,0x581,0x546)](){const _0x5496f2={_0x3972f2:0x3df,_0x1a57a6:0x6a9,_0x6b09fe:0x8a5,_0x1af011:0x129,_0x3f9df2:0x378,_0x452246:0x2fd,_0x4031bd:0xed,_0xfaef0a:0x538,_0x4b3401:0x1b4,_0x42537d:0x64,_0x445913:0x5e4,_0x4e28e0:0x6cb,_0x1c8ec7:0x858,_0x24c451:0x5a4},_0x88b614={_0x399801:0x1a0,_0x5b0c67:0x39},_0x5e7f9={_0x560d50:0x1cf},_0x14768e=this[_0x1184d3(0x502,_0x5496f2._0x3972f2,0x347,0x280)][_0xe43379(_0x5496f2._0x1a57a6,_0x5496f2._0x6b09fe,0x4b3,0x607)]();if(_0x14768e===void 0x0)return;function _0xe43379(_0x8e4e4f,_0xbad78,_0x298e26,_0x3a6bde){return _0x28bc81(_0x8e4e4f-0x1ee,_0xbad78-0x18,_0x8e4e4f-_0x5e7f9._0x560d50,_0x298e26);}const _0x370845=this[_0x1184d3(0x1ad,-_0x5496f2._0x1af011,0xd5,0x1d2)][_0x1184d3(_0x5496f2._0x3f9df2,0x438,_0x5496f2._0x452246,_0x5496f2._0x4031bd)](_0x14768e);this[_0xe43379(_0x5496f2._0xfaef0a,0x483,0x57b,0x5a9)][_0x1184d3(0x31c,_0x5496f2._0x4b3401,0x272,_0x5496f2._0x42537d)](_0x14768e);function _0x1184d3(_0x4e4bf3,_0x144c55,_0xba233e,_0x7e52ab){return _0x28bc81(_0x4e4bf3-_0x88b614._0x399801,_0x144c55-_0x88b614._0x5b0c67,_0xba233e- -0x294,_0x4e4bf3);}if(_0x370845){for(const _0x208a26 of _0x370845)this['releaseBytes'](_0x208a26[_0xe43379(0x4d5,_0x5496f2._0x445913,0x515,0x655)][_0xe43379(_0x5496f2._0x4e28e0,0x783,_0x5496f2._0x1c8ec7,_0x5496f2._0x24c451)]);}}[_0x28bc81(0x3b6,0x3e4,0x491,0x311)](_0x3f837f,_0x4c60b5){const _0x262ba5={_0x28f745:0x3f2,_0x3a1405:0x6e3,_0x4987f9:0x3e2,_0x2e0f64:0x26e,_0x17d05c:0x6ca,_0x4525c5:0x620,_0x298ceb:0x833},_0x310cc3={_0x2d921a:0xd9,_0x56c073:0x8f},_0x22acdf={_0x52fca2:0xf9};function _0xeae741(_0x3fd9a5,_0x490dba,_0x1c94d5,_0x1bec0c){return _0x5b2413(_0x3fd9a5-_0x22acdf._0x52fca2,_0x490dba-0x19e,_0x1bec0c- -0x10c,_0x3fd9a5);}function _0x38f594(_0x2991d5,_0x2c712b,_0x32b9c3,_0x3417b3){return _0x28bc81(_0x2991d5-0x1d3,_0x2c712b-_0x310cc3._0x2d921a,_0x32b9c3- -_0x310cc3._0x56c073,_0x2c712b);}!this[_0x38f594(_0x262ba5._0x28f745,0x25,0x240,0x191)][_0xeae741(_0x262ba5._0x3a1405,0x445,_0x262ba5._0x4987f9,0x59e)](_0x3f837f)&&(this[_0x38f594(0x298,0x91,0x240,_0x262ba5._0x2e0f64)][_0xeae741(0x61c,0x55c,0x6be,_0x262ba5._0x17d05c)](_0x3f837f,_0x4c60b5),this[_0xeae741(0x78f,_0x262ba5._0x4525c5,0x706,_0x262ba5._0x298ceb)]+=_0x4c60b5);}['releaseBytes'](_0x32c6e1){const _0xf7552={_0x54de42:0xad,_0x27b15f:0x52f,_0x2b0a0d:0x675,_0x337824:0x667,_0x241f50:0x6ec,_0x1148d4:0x5b9,_0xa60e:0x449,_0x5c07b7:0x510,_0x110471:0x34f,_0x1d7671:0x262,_0x31c16d:0x6f,_0x3c935c:0x173,_0x888094:0x89a,_0x1eef0c:0x889,_0x1319b1:0x7d6};function _0x285ed1(_0x3e438c,_0x566302,_0x1fed04,_0x45fe04){return _0x5b2413(_0x3e438c-0x86,_0x566302-0x145,_0x1fed04- -0x1c,_0x3e438c);}if(!this[_0x1ed120(0x18b,-0x6f,-_0xf7552._0x54de42,-0xf8)][_0x285ed1(_0xf7552._0x27b15f,_0xf7552._0x2b0a0d,0x68e,0x828)](_0x32c6e1))return;const _0x208fab=[...this[_0x285ed1(0x620,_0xf7552._0x337824,_0xf7552._0x241f50,_0xf7552._0x1148d4)][_0x285ed1(_0xf7552._0xa60e,0x6cb,0x5db,_0xf7552._0x5c07b7)]()]['some'](_0x79c4e8=>_0x79c4e8[_0x285ed1(0x9f1,0x9fe,0x896,0x8f5)](_0x5abff4=>_0x5abff4['snapshot'][_0x1ed120(-0x16,0x1be,0x1f5,0x2b)]===_0x32c6e1));function _0x1ed120(_0x34f9f7,_0x56c472,_0x248747,_0x3d5c07){return _0x28bc81(_0x34f9f7-0x98,_0x56c472-0x1af,_0x56c472- -0x33e,_0x3d5c07);}!_0x208fab&&(this[_0x1ed120(_0xf7552._0x110471,_0xf7552._0x1d7671,0x25e,0x32c)]-=this[_0x1ed120(-0x114,-0x6f,-0x163,-0x1e4)]['get'](_0x32c6e1)??0x0,this[_0x1ed120(_0xf7552._0x31c16d,-0x6f,-0x10,-_0xf7552._0x3c935c)][_0x285ed1(0x68f,_0xf7552._0x888094,_0xf7552._0x1eef0c,_0xf7552._0x1319b1)](_0x32c6e1));}};import{readFile as _0x505010,stat as _0x242fed}from'fs/promises';import*as _0x1ec189 from'path';function stripUtfBom(_0x760a5){const _0x5d47a9={_0x4f3be4:0x296,_0x5147c7:0x46d,_0x907448:0x33d},_0x175481={_0x2ecdf5:0xda,_0x2c042a:0x89},_0x18af3a={_0x28af77:0x1b8,_0x3725ac:0xd6,_0x4031cf:0x537};function _0x26836a(_0x10e459,_0x2334e7,_0x4623cb,_0x2db3ae){return _0x5b2413(_0x10e459-_0x18af3a._0x28af77,_0x2334e7-_0x18af3a._0x3725ac,_0x2334e7- -_0x18af3a._0x4031cf,_0x4623cb);}function _0x1edb15(_0xfb0747,_0x3bec6e,_0x16487f,_0x394f7f){return _0x28bc81(_0xfb0747-_0x175481._0x2ecdf5,_0x3bec6e-0x105,_0xfb0747-_0x175481._0x2c042a,_0x394f7f);}return _0x760a5[_0x26836a(_0x5d47a9._0x4f3be4,_0x5d47a9._0x5147c7,0x46c,0x4e4)](0x0)===0xfeff?_0x760a5[_0x26836a(0x52a,_0x5d47a9._0x907448,0x1f6,0x332)](0x1):_0x760a5;}function clampLine2(_0x4cde2f,_0x3b550d){const _0x4ccb13={_0x4ca148:0x52e,_0x4a95d8:0x752,_0x386442:0x4ac},_0x3a439b={_0x22a99b:0x1aa,_0x43fffe:0x11f,_0x3ae731:0x202},_0xd1e4d2={_0x58660d:0x24};function _0x183419(_0x1624b7,_0x1be9a5,_0x4a795e,_0x30666f){return _0x5b2413(_0x1624b7-0x5a,_0x1be9a5-_0xd1e4d2._0x58660d,_0x1be9a5- -0x593,_0x1624b7);}function _0x426f2c(_0x41e438,_0x6518b2,_0x1bdbdc,_0x2f58d2){return _0x28bc81(_0x41e438-_0x3a439b._0x22a99b,_0x6518b2-_0x3a439b._0x43fffe,_0x6518b2-_0x3a439b._0x3ae731,_0x1bdbdc);}if(!Number['isFinite'](_0x4cde2f))return 0x1;return Math[_0x426f2c(0x465,0x669,_0x4ccb13._0x4ca148,0x629)](0x1,Math['min'](Math[_0x426f2c(_0x4ccb13._0x4a95d8,0x536,0x65d,_0x4ccb13._0x386442)](_0x4cde2f),_0x3b550d));}function _0x4cbe(){const _0x1f625d=['tM8GtfnqihnLCNzLCIbHDMfPBgfIBguGzM9YigzPBgu6ia','yxjNDw1LBNroyw1LCW','DMvYAwzPzxi','AxndB250zxH0','yMLVBwuUANnVBG','ywXSB3DLzfrVB2XZ','Bwf4vMvYC2LVBNnqzxjqyxrO','CNvUswq','u2vHCMnOihrOzsb3zwiGyw5KihjLDhvYBIbYyw5RzwqGCMvZDwX0CY4','BgvUz3rO','sw52ywXPzcbHz2vUDcbTB2rLBcbZzxqGBMfTzq','tM8Gtunqie9bDxrOignVzguGDMvYAwzPzxiGC2f2zwq','rMLSzsbHChbLyxjZihrVigjLigjPBMfYEtOG','u2v0igeGy29Uy2LZzsaZltyGD29YzcbUB3vUlxbOCMfZzsbZzxnZAw9UihrVCgLJihDOzw4GDgHLig1HAw4GC3vIAMvJDcbIzwnVBwvZignSzwfYig9Yig1HDgvYAwfSBhKGy2HHBMDLCY4Gu2TPCcbTAw5VCIb0yw5Nzw50CY4GuhjLzMvYicjezwj1zYbuuYbNzw5LCMLJCYbLCNjVCIi7igf2B2LKigz1BgWGC2vUDgvUy2vZig9YihzHz3vLigXHyMvSCYbZDwnOigfZicjJB2rPBMCIlG','CgXHAw50zxH0','u25HChnOB3qGzM9Yia','ihDHCYbYzwfKlG','D3jPDgu','DhnJB25MAwCUANnVBG','B2jZzxj2yxrPB25Z','Dgf2AwX5','yNL0zxm','ywX3yxLZlwnVBMzPCM0','CMvWBgfJzq','tuLosu1bwf9bueLFs0vz','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','ihjLCxvPCMvZignVBw1HBMqGzM9Yihn0zgLVihrYyw5ZCg9YDa','DgvYBwLUyxrPB25qCM9TAxnL','yxbWzw5K','Dgf2AwX5qxbPs2v5','B25uzxjTAw5HBevYCM9Y','z2nSAwq','Dg90ywXeCM9WCgvK','zgLHz25VC3rPy3m','yxjNDw1LBNrZ','sfruuca','zxHHy3q','Cg5WBs1SB2nRlNLHBwW','u0Lhs0Lmta','C2LNBMfSqwrHChrLCG','ktSGBM8GCM9SBgjHy2SGD2fZihbLCMzVCM1Lzc4GuMuTCMvHzcb3AxrOiezPBgvszwfKigzPCNn0lG','ChjVy2vZC0v4AxrLza','Bwf4rw50CMLLCW','CMvNAxn0zxjby3rPDMvbz2vUDa','yw50AhjVCgLJlw1LC3nHz2vZ','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','CgfZC3DVCMq','Dgv4DerVy3vTzw50l2LTCgXLBwvUDgf0Aw9U','qMvHCMvYia','C3rYDwn0DxjLza','BgLTAxrZ','Aw5JB21PBMDdywXSCW','Dgv4DerVy3vTzw50l2rPzenOyw5Nzq','B3b0Aw9UywW','y2HHBMDL','AwzYyw1L','BgL0zxjHBa','uhjVy2vZCYa','r2XVyG','y3jLyxrLzef0','CMfUzg9T','lMPZB24','B3v0z29PBMDdywXSCW','rNvSBcbVDxrWDxqGC2f2zwqGDg86ia','v2vIrMv0y2G','igj5DgvZlG','C3jJl2fNzw50l2fNzw50lNrZ','ihrVB2WGzgLZy292zxj5ihrPBwvKig91Da','CMvMCMvZAf90B2TLBG','y29UzMLN','EMfP','CMvJzw5JEurHExm','CMvNzxG','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','B3rOzxi','CM91DgLUzW','DgvYBwLUywXqCM9TAxnL','zMX1C2HtDhjLyw1Z','y2XLyxi','vg9KB3mGAgf2zsbIzwvUig1VzgLMAwvKihn1y2nLC3nMDwXSEs4Gq29UDgLUDwuGD2L0AcbJDxjYzw50ihrHC2TZigLMigfWCgXPy2fIBguUcGO8C3LZDgvTlxjLBwLUzgvYpGPzB3vYihrVzg8GBgLZDcbOyxmGy2HHBMDLzc4Gre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlIbmyxrLC3qGy29UDgvUDhm6cG','z2v0','BgfUz18','C2fMzq','yxnRvxnLCG','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','B2zMC2v0','zxHPDcbJB2rLia','DxrMltG','y29Kzq','BgLUzu51BwjLCNm','tunqihrVB2WG','BM9dAgfUz2vdB3vUDgvYCW','oYb1C2uGzxHHy3qGCMvWBgfJzw1LBNqGkezPBgvfzgL0ihDPDgGGB2XKvgv4Dc9UzxDuzxH0ksbPBNn0zwfKlG','cGOTls0kcG','B3bLBG','Dg90ywXcExrLCW','BxvSDgLtzwXLy3q','zw9S','CM93CW','ru5pru5u','BgLUzuvUza','y3nP','Dgv4Dc9ODg1S','y29TBwfUza','zxnJyxbL','B2XSyw1H','BgfUz3vHz2u','ufvuihjLCxvPCMvZigf0igXLyxn0ig9UzsbWyxLSB2fKihjVDY4','zgvWCW','B25JBg9Zzq','C3rHCNq','Dw5PB24','vw5RBM93BIb0B29SoIa','lMPZ','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDhm','DMfSDwu','tM8GC3LTyM9SCYbMB3vUza','tg9HzgvKigzYB206ia','C3rKAw4','B3bLCMf0Aw9U','mJm3EKfbwhv1','Aw5ZDgfSBa','CgLK','BgLI','xsbPCYbWyxn0ihrOzsbLBMqGB2yGDgHLia','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','sw52B2TLq29TBwfUza','A2v5yMLUzgLUz3m','Aw52ywXPzf90B2rVx2LK','Bg9VA3vW','C3rYAwn0','yw50AhjVCgLJ','qxnRig9UzsbVCIbTB3jLig11BhrPCgXLlwnOB2LJzsbXDwvZDgLVBNmGD2HLBIbWCMvMzxjLBMnLCYWGyw1IAwD1Axr5lcbVCIbHigrLy2LZAw9UigjSB2nRCYbWCM9NCMvZCY4GrxzLCNKGCxvLC3rPB24GC3vWCg9YDhmGiK90AgvYiI4Gu2v0ig11BhrPu2vSzwn0ihrVigfSBg93ig11BhrPCgXLigfUC3DLCNmUifb1Dcb0AguGCMvJB21Tzw5KzwqGB3b0Aw9UigzPCNn0igfUzcbZDwzMAxGGAxrZigXHyMvSihDPDgGGiIHszwnVBw1LBMrLzcKIlG','uMvXDwvZDfrPBwvVDxq','BwnWxW','lwj5DguGyM91BMq7ig5HCNjVDYb0AguGzwrPDcbYyw5NzsbHBMqGCMv0CNKU','zNvUy3rPB24','B2XKvgv4DcbUB3qGzM91BMqGAw4GzMLSzs4GtwfRzsbZDxjLigL0ig1HDgnOzxmGzxHHy3rSEsbPBMnSDwrPBMCGD2HPDgvZCgfJzs4Gu2vHCMnOAw5NigzVCJOGiG','Dg9vChbLCKnHC2u','Agv4','sw52ywXPzcbZDhj1y3r1CMvKiezPBgvfzgL0igLUChv0oIa','rgLHz25VC3rPyW','C3rKzxjYtM9YBwfSAxPLCG','ywDLBNrZ','BwfW','lNrZEa','q29TBwfUzcbLEgL0zwqGD2L0AcbJB2rLia','yxnZAwDU','o1TE','zNjLzxPL','CxvLC3rPB24T','C3jJl21VzgvSCY9HBNrOCM9WAwmTBw9KzwWUDhm','ls1YzwDLEha','ks4GvxnLiejHC2HpDxrWDxqGDg8GCMvHzcbPDhmGB3v0Chv0igfUzcblAwXSu2HLBgWGDg8GC3rVCcbPDc4','CMvJzw5JEq','u2HLBgWGBM90igzVDw5KoIa','tM8GzMLSzxmGzM91BMqGBwf0y2HPBMCGCgf0DgvYBJOG','BwvZC2fNzq','zgvSzxrLlMvUzeXPBMu','B3nJ','yxjNDw1LBNrZvgv4Da','ig1PEgvZieXgigfUzcbduKXgigXPBMuGzw5KAw5NCY4','uefusa','qMfJA2DYB3vUzcbWCM9JzxnZigzHAwXLzcbKDxjPBMCGDgvYBwLUyxrPB24','CgfYC2u','Bw9KzwW','Dg9VBc1VDxrWDxqTB2zMBg9Hza','ls1QC29U','zgvLChnLzwS','C3jJl2fNzw50l2fNzw50lNrLC3qUDhm','cGO8C3LZDgvTlxjLBwLUzgvYpGPuB29Sig91Dhb1Dcb3yxmGDhj1BMnHDgvKigf0ia','t1bftKfjx0fqsv9lrvK','z29Vz2XLlwnZzq','C3vKBW','u0HfteXpufrt','uxvLCNKGtgfUz3vHz2uGu2vYDMvYifbYB3rVy29SignVzguGAw50zwXSAwDLBMnLigzVCIb3B3jRC3bHy2uGzMLSzxm6igrLzMLUAxrPB25ZlcbYzwzLCMvUy2vZlcbOB3zLCIWGC3LTyM9SCYWGy2fSBcbOAwvYyxjJAhKSigfUzcbKAwfNBM9ZDgLJCY4','DhvWBgu','igLZigfTyMLNDw91CYbMB3iG','Aw5JBhvKzv9KB21HAw5Z','r0LgodDH','D3jPDgvgAwXL','zgLZy292zxj5u3rHDgu','C3rYzwfTC0zSDxnOzwq','ktSGCMuTCMvHzcb3AxrOiezPBgvszwfKigzPCNn0lG','zwrPDa','lu5VuhjVzMLSzq','igLZihbHC3qGDgHLigvUzcbVzIb0AguG','BwnFy2LK','C2vYDMvYswq','rxjYB3i','y2fWq2HHCNm','Aw5Zzxj0igXPBMu','z2fW','Aw5Zzxj0','ywz0zxjuzxH0','vgHLigfUy2HVCMvKig9WzxjHDgLVBNmGD291BgqGBgvHDMuGDgHLigzPBguGyNL0zs1PzgvUDgLJywWU','y2HHCKnVzgvbDa','y3DK','z2L0AhvI','C3rYAxbbBNnP','CgfJA2fNzxm','zgvSzxrLihjHBMDLifS','sw52ywXPzcbYzwDLEdOG','mtKYlJe2oc4WlJa','BM9Uzq','BgLUzq','vg9WAwmGC2v0ihrVici','rxHLy3v0zxmGysbZAgvSBcbJB21Tyw5K','Aw5Zzxj0ihbVC2L0Aw9Uig11C3qGyMuGj2jLzM9YzsCGB3iGj2fMDgvYjY4','Aw52ywXPzf90B2rVx3n0yxr1CW','Ahr0Chm6','CgLWzq','ig9WzxjHDgLVBNmGkgrYEsbYDw47ig5VihDYAxrLks4','zhj5uNvU','lM10CW','DhLWzxnJCMLWDhjLywn0','Bwf4uMvKAxjLy3rZ','C3rKAw8','Dg9Rzw4','zgLYBMfTzq','CMfUz2u','Aw52ywXPzf9XDwvZDgLVBNm','zwzMB3j0','ywDLBNrjza','rgv0ywLSoIa','zgvUBY5QC29UyW','AgLNAa','wefjx0fqsv9lrvK','yMfZAwm','DgfZAW','zgvMyxvSDa','zxzPy3rmzwfZDfjLy2vUDgX5vxnLzfbHDgG','C3rHDgu','DhnJ','vhLWzvnJCMLWDcbmyw5NDwfNzsbtzxj2zxi','z2v0u3rHDhm','qxqGBw9ZDca','BwvTB3j5','BhmGlwXH','r0XpqKLhtK9srq','BM9Zy3jPChq','Bwv0yvTUyw1LpsDKzxnJCMLWDgLVBIDD','CMvXDwvZDa','BwnWlxnKAY1JBgLLBNqTzxjYB3i','ygbG','CMvJB3jK','zgvSzxrLihn0yxj0tgLUzq','qMfJA2DYB3vUzcbWCM9JzxnZihrLCM1PBMf0Aw9UihrPBwvKig91DcbHzNrLCIa0mdaWBxm','l2jPBI9ZAa','BwLUAw1HBa','y29UDgv4Da','Cg9W','DgvYBwLUywXtzxr0BgvK','CMvMAw5L','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','DxjP','lM51DMLUlwnVzgu','CMfJzq','A2v5','C3rHDhvZ','B25oB3rPzMLJyxrPB24','CMvUyw1L','BgLMzwn5y2XL','igzYB20G','zgvSzxrLihn0yxj0tgLUzsbTDxn0ig5VDcbLEgnLzwqGzw5KtgLUzs4','Dgv4DerVy3vTzw50l3b1yMXPC2HeAwfNBM9ZDgLJCW','yxnR','Aw50','DhvYBMrVD24','zNjVBq','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','tM8GAg92zxiGAw5MB3jTyxrPB24','CMvZDwX0','Dw5RBM93BL9ZBMfWC2HVDdOGvw5HyMXLihrVihjLywqG','Aw52ywXPzf90B2rVx3bYAw9YAxr5','DhjHAwXPBMDdAhvUA3m','BM9Fy2HHBMDL','CgfJA2fNzu5HBwu','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDgvZDc50CW','v2vIu2vHCMnO','B2XKvgv4Da','Aw5PDgLHBgL6yxrPB24','CMvNAxn0zxjby3rPDMvsDw4','C2H1DgrVD24','qwDLBNqGCNvUia','tM8GzgLHz25VC3rPy3m','y29Uy2f0','mti3lJaUmc4W','iYmGu2TPBgW6ia','CMvZzxroB0nOyw5Nzq','Bwf4qNL0zxm','yxv0Ag9YAxPHDgLVBL9JB2rL','Aw5ZDhj1y3rPB25Z','q29UDgv4DcbKB2vZig5VDcbZDxbWB3j0ihvZzxiGCxvLC3rPB25Z','igj5DguTAwrLBNrPy2fSlG','Bwv0yvTWCM9Wzxj0Et0NB2C6zgvZy3jPChrPB24Nxq','yxjNDw1LBNriAw50','CMvMzxjLBMnLCW','C2vHCMnOrgvWDgG','vg9KBYa','mJy4otq0mhnywxHszG','Dg9VBenHBgW','BwnWlwnVBM5Ly3qTzMfPBgvK','CMvSzwfZzufNzw50uMvZB3vYy2vZ','y2f0y2G','CM9VDa','Ag9ZDa','zMXHDe1HCa','DxrTx3nVDxjJzq','zg9TywLUCW','Cgf0Ag5HBwu','uMvHzcbHifvurI04ihrLEhqGzMLSzsbHCYbHihnUyxbZAg90lwfUy2HVCMvKifTWyxrOi3rHz10GAgvHzgvYihbSDxmGtJP0zxH0ihjVD3mUifrOzsb0ywCGAwrLBNrPzMLLCYb0AguGD2HVBguGzMLSzsWGC28GCMvHzcbVBMX5ihrOzsbSAw5LCYb5B3uGBMvLzcb3AxrOigXPBMvtDgfYDc9SAw5Lrw5KiokaLcb0AguGDgfNihn0yxLZihzHBgLKigzVCIbHihjHBMDLihjLywqUievTChr5igzPBgvZigHHDMuGBM8GzwrPDgfIBguGBgLUzs4GtwL4zwqGteyVq1jmrIWGtLvmlcbHBMqGAw52ywXPzcbvveyTocbHCMuGCMvQzwn0zwq7ihvZzsbLEgfJDcbgAwXLrwrPDcbPBNn0zwfKlG','BxrPBwvnCW','CgXHAw4','ywnXDwLYzq','Dg9ju09tDhjPBMC','qvbjx0Tfwq','CMvHzezPBgu','qw4GAw5Zzxj0Aw9UihrHCMDLDhmGysbNyxaGC3rYAwn0BhKGAw5ZAwrLigeGCMvWBgfJzwqGB3iGzgvSzxrLzcbYyw5Nzs4','yxbWBgLJyxrPB24VANnVBG','vxnLCI1MywnPBMCGChvYCg9ZztOGD2HHDcb0AguGy29TBwfUzcbKB2vZigfUzcb0AguGz29HBcbPDcbHzhzHBMnLCYWGzs5NlIaNuNvUigf1DgGGDgvZDhmGDg8GDMvYAwz5ihrOzsbYzwzYzxnOigzPEcCU','rwrPDcbHifvurI04ihrLEhqGzMLSzsb1C2LUzYbZBMfWC2HVDc1HBMnOB3jLzcbSAw5Lig9WzxjHDgLVBNmUienHBgWGrMLSzvjLywqGzMLYC3qGDg8GB2j0ywLUihrOzsbJDxjYzw50ifTWyxrOi1rbr10GAgvHzgvYigfUzcbooIbSAw5Lig51BwjLCNm7igv2zxj5igvKAxqGCMvXDwLYzxmGDgHHDcb0ywCUifjLDxnLihrOzsbMCMvZAcaJvefhihjLDhvYBMvKigj5igeGC3vJy2vZC2z1BcbLzgL0igzVCIb0AguGBMv4DcbLzgL0ig9UihrOzsbZyw1LigzPBguSigfUzcbYzs1YzwfKig9UBhKGD2HLBIb5B3uGBMvLzcb1BNnLzw4GBgLUzsbUDw1IzxjZig9YigeGDgfNigLZihjLAMvJDgvKlIbmAw5Lig51BwjLCNmGAw4GB3bLCMf0Aw9UCYbYzwzLCIb0BYb0AguGtJOGCM93CYbMCM9TihLVDxiGBw9ZDcbYzwnLBNqGCMvHzc4','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2ienOCM9Tzs8XmJmUmc4WlJaGu2fMyxjPlZuZnY4ZnIboDxzPBKjVDc8XlJa','CM9VDfbPza','Dw5RBM93BL9ZBMfWC2HVDa','rwrPDcbHChbSAwvKihn1y2nLC3nMDwXSEs4','zw5JB2rL','DgL0Bgu','tgLUzsa','AxnbCNjHEq','CMvZB2X2zvrLCM1PBMfS','z29Vz2XLq3nLs2v5','DhjHBNnMB3jTCW','rM9YigzVCMvNCM91BMqGCNvUCYWGCMv0DxjUig9UBhKGy29TCgXLDguGC3rKB3v0l3n0zgvYCIbSAw5LCYbTyxrJAgLUzYb0AgLZihjLz2v4oYbLEgL0ihn0yxr1CYbPCYb1BMnOyw5NzwqU','zMLSzvbHDgG','y29UDgv4DeXPBMvZ','Bwf0y2HLCW','u3rVCdOGmYbJB25Zzwn1DgL2zsbPzgvUDgLJywWGBM8TB3aGzwrPDhmGzM9YihrOAxmGCgf0AcbHBMqGCgf5Bg9Hzc4GuMuTCMvHzcb3AxrOiezPBgvszwfKigjLzM9YzsbYzxrYEwLUzY4','Ag92zxi','ksbB','DgvYBwLUyxrPBMC','y2fSBfrVB2W','Dhj1BMnHDgvK','igrPzcbUB3qGBwf0y2GGDgHLigLUDgvUzgvKignVBNrLBNqGywz0zxiGD3jPDgLUzY4','BgfUzW','phn5C3rLBs1Yzw1PBMrLCJ4','CgvUzgLUzW','BM9Kzv9TB2r1BgvZ','ls1MB2XSB3C','DMfSDwvZ','BwnWlxrVB2WTy2fSBc1MywLSzwq','CMvZB2X2zq','Bwf0y2G','qw5JAg9YzwqGCMvWBgfJzs9KzwXLDguGC291CMnLihjHBMDLCYbVDMvYBgfWlG','Dg90ywW','s0Lnsv9bueLFs0vz','DMvYAwz5rxHLy3v0Aw9U','igLZig5VDcb2ywXPzcbvveyToc4','igfUy2HVCMvKig1VzguGCMvXDwLYzxmGAw5Qzwn0zwqGB2jZzxj2yxrPB25ZlG','Aw5KzxHpzG','B25Jzq','xg5DkJ8','B2jQzwn0','C3bHD24','vgvYBwLUyxrLigeGyMfJA2DYB3vUzcbWCM9JzxnZihn0yxj0zwqGD2L0AcbcyxnOkhj1BKLUqMfJA2DYB3vUzdP0CNvLksWGAwrLBNrPzMLLzcbIEsbPDhmGC2HLBgXjzc4','zMjJBgLK','DhLWzxnJCMLWDa','zgvSzxrLq291BNq','ywrK','Aw52ywXPzf90B2rVx2nVBNrLBNq','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','ugf0y2GGy29UDgfPBNmGBM8GB3bLCMf0Aw9UCY4','zMv0y2HjBxbS','BM90lwzVDw5K','Aw52ywXPzf9Yyw5Nzq','y2fSBeHPzxjHCMnOEs9VDxrNB2LUz0nHBgXZ','BgLTAxq','igzHAwXLzcb0BYbJB25Uzwn0','y29KzvbVAw50qxq','z29uB0LTCgXLBwvUDgf0Aw9U','A2v5CW','rM91BMqG','DxrMoa','igj5DgvZlcbLEgnLzwrPBMCGDgHLia','C2nYDwjfBNzlzxLZ','Cg9ZAxrPB24','y2HPBgq','lunVBw1HBMq','BhnW','cMbGya','ienHDxnLoIa','z3jHy2vMDwXszxf1zxn0zwq','C2v0vg9WAwm','Ec1HCgKTA2v5','BwfUDwfS','B3jPz2LUywW','ChjPB3jPDhK','ChvIBgLZAgvKqxq','Bg9HzenVBw1HBMq','uMLWz3jLCc5ZzwfYy2GGzxHWBgLJAxqGzMLSzxmGBxvZDcbIzsbHyNnVBhv0ztOGjW','Bwf4q29Uy3vYCMvUDa','CMvKDwnL','yxnJAwK','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','r3jLCa','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','zxH0BMfTzq','BgLUzu51Bq','yNvUlMXVy2S','twLJCM9ZB2z0','A2LSBgvK','C3rYAw5N','CgfJA2fNzs5QC29U','w1bFxL1BxhnCu10QpW','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','zgf0yq','Aw52ywXPzf9WyxrJAa','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrZ','B3bLBKzPBgvZ','ihDOAwXLihrOzsbLzgL0ihDHCYbWzw5KAw5NicG','rwrPDcbHifvurI04ihrLEhqGzMLSzsb1C2LUzYbHihnUyxbZAg90lwfUy2HVCMvKieHHC2HSAw5LihbHDgnOlIbdywXSiezPBgvszwfKigzPCNn0ihrVig9IDgfPBIb0AguGy3vYCMvUDcbBCgf0AcnuquDDigHLywrLCIbHBMqGtJOGBgLUzsbUDw1IzxjZoYbLDMvYEsbLzgL0ihjLCxvPCMvZihrOyxqGDgfNlcbHBMqGywXSigXPBMuGBNvTyMvYCYbIzwXVDYbYzwzLCIb0BYb0AguGtJOGCM93CYbMCM9TihLVDxiGBw9ZDcbYzwnLBNqGCMvHzc4GuMv1C2uGDgHLigzYzxnOicnuquCGCMv0DxjUzwqGyNKGysbZDwnJzxnZzNvSigvKAxqGzM9YihrOzsbUzxH0igvKAxqGB24GDgHLihnHBwuGzMLSztSGCMuTCMvHzcbVBMX5ihDOzw4GEw91ig5LzwqGDw5ZzwvUigXPBMuGBNvTyMvYCYbVCIbHihrHzYbPCYbYzwPLy3rLzc4kvgHLihbHDgnOihn0CMLUzYbPCYbVBMuGw3bHDgGJvefhxsbOzwfKzxiGCM93igzVBgXVD2vKigj5ig9UzsbVCIbTB3jLignVBw1HBMrZlcbLywnOigfWCgXPzwqGywDHAw5ZDcb0AguGB3jPz2LUywWGC25HChnOB3q6cI0GufvuifnuqvjulJ1ftKq6ihjLCgXHy2vZigXPBMvZifnuqvjuihrOCM91z2GGru5eicHPBMnSDxnPDMuPihDPDgGGDgHLihbHEwXVywqGCM93CYb0Agf0igzVBgXVDZSGzwfJAcbWyxLSB2fKihjVDYbZDgfYDhmGD2L0AcaRicHHigjHCMuGkYbPCYbHigjSyw5RigXPBMuPlGOTifbvvca8tJOGAw5Zzxj0CYb0AguGCgf5Bg9HzcbYB3DZigjLzM9YzsbSAw5Lie4Uifbvvca+tJOGAw5Zzxj0CYb0AgvTigfMDgvYigXPBMuGtI4klsbdvvqGu1rbuLqUpuvorcbKzwXLDgvZigXPBMvZifnuqvjuihrOCM91z2GGru5eicHPBMnSDxnPDMuPlGPfEgfTCgXLicHYzxbSywnLigXPBMuGmIWGDgHLBIbPBNnLCNqGywz0zxiGBgLUzsa5ktOkw3nYyY9HChaUDhmJn0yYmue5m0m1rdeWxqPqvvqGmI49mJOkk2nVBNn0ihjLC3vSDca9ignHBgn1Bgf0zsHPBNb1DcK7cLbvvca+otOkk3jLDhvYBIbYzxn1Bhq7cLvZzsbmrIbSAw5LigvUzgLUz3mGB25SEsaOBM8Gy2fYCMLHz2uGCMv0DxjUCYKUief0ig1VC3qGmtaWig9WzxjHDgLVBNmGyw5Kidi1nIblAuiGB2yGCgf0y2GGDgv4DcbWzxiGy2fSBc4','C3LZDgvTuhjVBxb0','oYbYzs1YzwfKihrOzsbMAwXLihDPDgGGrMLSzvjLywqGzMLYC3qU','zMLUAxrL','z2vUzxjHBa','AwDUB3jLt3v0Chv0','Aw52ywXPzf90B2rVCW','BMv3u3rHCNrmAw5L','AgfZAgXPBMu','AMf2yxnJCMLWDhjLywn0','B2XKu3rHCNrmAw5L','D2fPDezVCKrPywDUB3n0AwnZ','rMLSzvjLywq','igj5DgvZicH0B3rHBdOG','Dg9VBenHBgXjza','DgHPBMTPBMC','zMLSzunVDw50','zw50CMLLCW','lNbUzW','rgvSzwDHDgvKuMvZB2X1DgLVBKvYCM9Y','ls1WCMvMAxG','C3bSAwnL','y29UBMvJDa','lMXVzW','Cg9ZDf93CML0zv9KCMLMDdOGrMfPBgvKihrVihzLCMLMEsa','CMvHza','A2LSBfjLCxvLC3rLza','C3rVCMfNzurPCG','tg9HzcbHihnRAwXSihrVigDLDcbKzxrHAwXLzcbPBNn0CNvJDgLVBNmGzM9YigeGC3bLy2LMAwmGDgfZAY4','uMvHC29UAw5NigrLzMf1BhqGiM9MzIiGCMvXDwLYzxmGy2fUrgLZywjSztOGDhj1zq','l3vZCI9IAw4VC2G','Dg9Rzw5Z','uMvMDxnPBMCGDg8GzMv0y2GGysbOB3n0ihrOyxqGCMvZB2X2zxmGDg8GysbUB24TChvIBgLJigfKzhjLC3m','B3bLBMfPlxjLC3bVBNnLCY13CW','Ag9ZDg5HBwu','zMfZDa','l3vZCI9IAw4VyMfZAa','Cg9ZDf93CML0zv9KCMLMDa','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','Aw5PDgLHBgL6zwq','y2XPzw50CW','C29YDa','CMvZDwX0CW','yMfJA2DYB3vUzfjLz2LZDhj5','igv4y2vLzhmGDgHLihnHzMuTAw50zwDLCIbYyw5Nzs4','mJi0lJaUmc4W','ugf0AcbPCYbUB3qGysbMAwXLoIa','zw52','yNL0zxncEurPz2vZDa','Aw5Zzxj0lMXPBMu','vw5RBM93BIbHBMnOB3jLzcbVCgvYyxrPB24GjW','C2L6zq','zgvMyxvSDfrPBwvVDxrnCW','yMfSyw5Jzwq','CNvUrxHJBhvZAxzL','CNvUBMLUzW','qgjPB21LANmVyMLVBwu','lMPWzW','CMvSzwfZzuj5DgvZ','zgLZCgXHEwvKtgLUzxm','B3v0Chv0','sgfZAgXPBMuGCgf0y2GGDgv4DcbTDxn0igjLigf0ig1VC3qG','nJK0odG5rezMANbh','C3rHCNrZv2L0Aa','ywjVCNrLza','BMf2','yMfZzty0','ls1NBg9IpseUz2L0lYO','zgLZy292zxi','CMvSyxrPDMu','tg9HzcbHihnRAwXSigj5ig5HBwuGDg8Gz2v0igrLDgfPBgvKihrHC2SGAw5ZDhj1y3rPB25ZlIboBYbZA2LSBhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','vgHLigzPBguGywXYzwfKEsbTyxrJAgvZihrOzsbPBNrLBMrLzcbYzxn1Bhq7ig5VihDYAxrLihDHCYbTywrLlIbszs1YzwfKihDPDgGGrMLSzvjLywqGyMvMB3jLihjLDhj5Aw5NlG','zMLSzxm','ChjVy2vZCW','suqGB2yGDgHLigfNzw50ihrVigLUDM9RzsWGy2HVC2vUigzYB20GDgHLigf2ywLSywjSzsbZCgvJAwfSAxn0igfNzw50CY4','Bg93','Cg93zxjMDwW','q29TBwfUzcaN','CMvJB3jKtM9dAgfUz2u','C3jJl3nOyxjLzc90ExbLCY50CW','Dw1HC2S','C2vTyxbOB3jL','lMPWzwC','CMvNAw9U','igLZihvUA25VD24GzM9Yia','BNv2Aw4','yMLUza','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','C3rKzxjY','BM90Awz5','yxjYyxK','lMPZB25J','zgvMyxvSDen3za','mty5lJi1nc4WlJa','DxrTx2nVBNrLBNq','Dg91y2HqyxrO','y2fUB25Py2fS','vxnLihrOAxmGD2HLBIbHihrHC2SGBwf0y2HLCYbHBIbHDMfPBgfIBguGC2TPBgWGzgvZy3jPChrPB24U','twfUDwfSihjLyxnVBMLUzYbYzxf1AxjLCYbIDwrNzxruB2TLBNm','nJeYng54vMzYAq','zg9JDw1LBNrtEw1IB2W','D2HPy2GGCMC','C25HChnOB3q','C3rHDa','C2vSzwn0B3i','C3rHCNrLzef0','DgfN','AgfZ','BM9Fy2HHBMDLoIb0AguGCMvXDwvZDgvKigvKAxqGD291BgqGBgvHDMuG','y2fJAgvK','tgLUzsbUDw1IzxjZig11C3qGyMuGCg9ZAxrPDMuGC2fMzsbPBNrLz2vYCZSGz290ia','yxr0CG','t1bftKnprevFqvbjx0Tfwq','B3bLBNjVDxrLCG','CMvZB2X2zwrnB2rLBeLKzw50Axr5','ANnVBG','CMfUAW','zw51Bq','AxntywzLsw50zwDLCG','sw52ywXPzcb0Aw1LB3v0txm6igv4CgvJDgvKigeGCg9ZAxrPDMuGBNvTyMvY','DhjPBq','CMvXDwvZDgvKtw9KzwXuAwvY','CxvLC3rPB25Z','v0vcua','CMvTB3zLrxzLBNrmAxn0zw5LCG','CgfYzw50u2vZC2LVBKLK','Dg9KB3m','CMvWBgfJzsbJB250zw50ig11C3qGyMuGysbZDhjPBMCU','BwnWlwnSB3nLlwzHAwXLza','uMvHC29UAw5NigrLzMf1BhqGiG','Aw1Hz2vZ','lMnTza','zxHPDa','vMLLD0zPBgu','lu5Vtg9NBW','vw5ZywzLig9Yig1PC3nPBMCGv2LUzg93CYbYB290ihbPza','AhLKCMf0zu1LDge','AgvHzgvY','vgHLihDYAxrLigXHBMrLzcWGyNv0ihrOzsbYzwfKlwjHy2SGzgLKig5VDcbTyxrJAcb0AguGAw50zw5KzwqGyNL0zxmGB3iGCgvYBwLZC2LVBNmUie5VihjVBgXIywnRihDHCYbWzxjMB3jTzwq7ihjLlxjLywqGD2L0AcbgAwXLuMvHzcb0BYbJB25MAxjTihrOzsbJDxjYzw50ihn0yxrLlG','jYbUB3qGzM91BMqUief2ywLSywjSzsbZA2LSBhm6ia','igzHAwXLzc4','zgvMAw5PDgLVBG','ANnVBMm','B25LCNjVCG','ihrVB2WGy2fSBcbMywLSzwq','C3vWzxjszwzPBMu','zM9Yy2u','ignOyxjZigrYB3bWzwrDcG','Dhj1BMm','y2XPzw50','C3rHDhvZvgv4Da','DhLWzq','ig9WzxjHDgLVBNmU','C2vYDMvY','zxHLyW','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','sw1Hz2uGzMLSzsbPCYb0B28GBgfYz2u6ia','sw5ZCgvJDcbHifborYWGsLbfrYWGv2vIucWGB3iGr0LgigLTywDLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlIbvC2uGrMLSzvjLywqGzM9YihrLEhqU','B2zM','ChjVDg9JB2W','BwLU','C3rKB3v0tM9YBwfSAxPLCG','C2v2zxjPDhK','Aw52ywXPzf90B2rVx2L0zw0','yNL0zuXLBMD0Aa','tM8GCMvZDwX0CYbMB3vUzc4','twfUDwfSihjLyxnVBMLUzYbJyw5UB3qGC2v0igvMzM9YDa','y2XVC2u','AxrLBxm','y29UDgvUDhm','ywz0zxi','yw5UB3rHDgLVBNm','Dg9VBhmVy2fSBa','icHWAwqG','yMvMB3jL','C2vHCMnOugfYyw1Z','l2jPBI9IyxnO','Bwf0y2HdB3vUDa','mtq0ntiZnevdyuvJwa','ktSGDxnLigv4ywn0ihjLCgXHy2vTzw50icHgAwXLrwrPDcb3AxrOig9SzfrLEhqVBMv3vgv4DcKGAw5ZDgvHzc4','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','Axnoyu4','igLZig5VigXVBMDLCIbHDMfPBgfIBguGka','mZaYntKWofDOENjuta','CMvZzxj2zq','vxnLCIbYzxnWB25ZzxmGCMvJzwL2zwq6ia','y2fSBgjHy2TvCMW','te9dquXbufbeqvrb','C3jJl21VzgvSCY9TB2nRlw1VzgvSlNrZ','D29YA3nWywnLu3LTyM9S','DxrTx21LzgL1Bq','DgLTzvTKyxrLDgLTzv0','y29TBwfUzhm','ChjLCgfYzunHBgXiAwvYyxjJAhK','Bwf4u25HChnOB3rcExrLCW','AxnfCNjVCG','uMuTCMvHzcb0AguGCMvXDwLYzwqGBgLUzxmGD2L0AcbgAwXLuMvHzcbHBMqGCMv0CNKGD2L0Acb0AguGzNjLC2GGDgfNlG','ig1Z','yxv0BW','C2TPBgXZ','AhrTBfnUAxbWzxq','DMvYC2LVBNncEvbHDgG','C2HLBgXqyxrO','B2C6DxbKyxrLzf90Aw1L','mJqWlJaUmc4W','s2LSBfnOzwXS','yMLVBwuUANnVBMm','r09pr0Xfx0ntrv9dwa','B3v0Chv0qNvKz2v0qNL0zxm','rMLSzu5LDW','Dw5RBM93BG','Dg9WAwm','Aw5Zzxj0ignVBNrLBNqGBxvZDcbIzsbHihn0CMLUzY4','DgvZDa','Dg9mB3DLCKnHC2u','zxjYB3jnzxnZywDL','oIaIBxvSDgLtzwXLy3qIig11C3qGyMuGysbIB29SzwfU','BwnWlxrYyw5ZCg9YDc1LCNjVCG','Bgv4AwnHBfbHDgG','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','CxvLC3rPB24','ihrVzg8GAxrLBxmGAgf2zsbIzwvUignVBxbSzxrLzcbZDwnJzxnZzNvSBhKHcGO8C3LZDgvTlxjLBwLUzgvYpGPbBgWGDg9KBYbPDgvTCYbHCMuGBM93ignVBxbSzxrLzc4Grg8GBM90ignHBgWGvg9KB1DYAxrLigfNywLUlIbjzIb0AguGChjVDMLUzYb0zxn0ig9Yigj1AwXKigfSCMvHzhKGCgfZC2vKlcbZDg9WlGPdB21WBgv0zwqGBgLZDdOk','ywXSB3DLzerPCNm','zgLYzwn0B3j5','igj5DgvZ','C2vYDMvYtMfTzq','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','l3bPza','zMLUywXSEq','yMfZzw5HBwu','ywXYzwfKEs10zxjTAw5HBa','zw5NAw5L','AxneAxjLy3rVCNK','zM9VDgvY','BM93','AxnfBMfIBgvK','ig11C3qGyMuGysbWB3nPDgL2zsbZywzLigLUDgvNzxi7igDVDca','w1jfrefdvevexq','yxjNCW','BgLUzxm','ywn0AxzL','ig1HDgnO','B2XKrw5KtgLUzq','zgvSzxrLigvUzeXPBMu','CMLWz3jLCcbYzxr1CM5LzcbHig1HBgzVCM1Lzcbku09oig1HDgnOihjLy29Yza','q0rqqvri','zxzPy3rjzK5LzwrLza','CMvTB3zL','B3jPz2LUvg9VBenHBgXjza','CMvHze9UBhLiAw50','y2vPBa','zw5NAw5LCW','qMfZAe91Dhb1Da','C2fMzvbHCNnL','qKftse9qvfm','C3vIyxjYyxK','Dg9tDhjPBMC','BwvKAxvT','yMLUzfnLC3nPB24','lMn0CW','Dw5ZzwvUx2XPBMvZ','rMv0y2GGywjVCNrLzcbIEsb1C2vY','vg9KBYbPDgvTCYbTDxn0igHHDMuGDw5PCxvLieLeCW','z2v0vg9KB3m','EwvZ','yNvMzMvY','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','C291CMnLu3rHCNq','ugf0AcbUB3qGzM91BMq6ia','y29KzvzLCMLMAwvY','qxv0Ag9YAxPHDgLVBG','yw1IAwD1B3vZx3nUyxbZAg90x3rHzW','Dg9VBe5HBwu','yNvUlMXVy2TI','CMvWBgfJzsbYyw5NzsbB','igzHAwXLzcb0BYbJBg9Zzq','B3v0y29Tzq','r0LgodLH','ChvZAa','yMLYDgH0Aw1L','ywrKrxzLBNrmAxn0zw5LCG','tM8GC3vJAcbMAwXLoIaN','vg9Vig1HBNKGCMvKAxjLy3rZ','Dg90ywXqCM9KDwnLza','lMjPBG','AwDUB3jL','igzVCIbHBIbHBMnOB3jLzcbZBMfWC2HVDcaO','vw50AxrSzwq','zgfZAa','Aw5JBhvKzxm','zgnZ','C2vZC2LVBKLK','ugfJA2fNzxm','CMvWBgfJzs5ZDgfYDeXPBMu','zg9JCY9WBgfUCY8Ymdi2lta0lte2lwfNzw50lwXVB3aTy29Yzs1KzxnPz24UBwq','sw5MB3jTyxrPB24','B3bLCMf0Aw9UCW','CgXHDgzVCM0','vw5HyMXLihrVihjLywqG','yMvHCMvY','C291CMnLrw5K','C2LNBMfS','zgvZy3jPChrVCNm','z2v0t3DUuhjVCgvYDhLoyw1LCW','C2vUze5VDgLMAwnHDgLVBG','C3rHBgvFC25HChnOB3q6ihrOzsbMAwXLignOyw5NzwqGC2LUy2uGC25HChnOB3qG','l3vZCI9SB2nHBc9IAw4VCMC','DgLTzw91DfnVDxjJzq','DgfPBhm','zMLSBa','CMvWBgfJzs5LBMrmAw5L','y2fUB25Py2fSugf0Aa','zxjYB3i','zgvLCgLUzNjH','Bxv0yxrPB25Z','Aw1Hz2uVANbLzW','Cgf0DgvYBG','ChjVy2vZC0DYB3vWswq','C3bSAwnLsw5KzxG','DgfZA2TPBgWGzxHPDgvKihDPDgGGy29Kzsa','ls1ZDgrPBW','C3bHD25PBMC','D2vI','ygbGANnVBGO','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','ls1OAwrKzw4','z2XVyG','D29YA3nWywnLl3n5BwjVBa','BgfIzwW','rMLSzsbPCYbLBxb0EtSGyw5JAg9YzwqGzwrPDhmGCMvXDwLYzsbHBIbVyNnLCNzLzcbSAw5LlG','yxj0AwnSztPWDwjSAxnOzwrFDgLTzq','CMvUzgvYu3LZDgvTuhjVBxb0','Dg9VBfbLCM1PC3nPB25Z','zNvSzMLSBgvK','DgfZA2TPBgW','oIaIDg9WAwmIig11C3qGyMuGBwf4idmWignOyxjHy3rLCNmSigDVDca','C3rKzxjYrgvJB2rLCG','BwfYA2rVD24','C3rKB3v0rgvJB2rLCG','ihrVB2WGy2fSBcb0Aw1LzcbVDxq','y29ZDa','y291BNrLCG','zgvMyxvSDe9WDgLVBG','tuLnrtOG','r0Lusfvcx0fdq0vtu19ut0TftG','mc4WlJa','v29YA2LUzYbKAxjLy3rVCNKGAxmGBM90igeGzgLYzwn0B3j5oIa','v29YA2LUzYbKAxjLy3rVCNKGBM90igzVDw5KoIa','zw5KtgLUzq','qxqGBgvHC3qGB25LigfUy2HVCMvKig9WzxjHDgLVBIbPCYbYzxf1AxjLzc4','vxbKyxrLvg9WAwm','y29TCgXLDgvK','igLZia','igzVCIbHBIbHBMnOB3jLzcbLzgL0icG','zxH0zw5ZAw9UCW','vg9KB1DYAxrL','zMLSztOVlW','ihDHCYbHBhjLywr5ia','igj5DgvZks4','DgHLBG','igfUy2HVCMvKig1VzguGCMvXDwLYzxmGAw5Qzwn0zwqGB3v0Chv0qNvKz2v0qNL0zxmU','ihjLCxvPCMvZigf1DgHLBNrPy2f0Aw9U','BMv4DeXPBMvtDgfYDa','zgvJB2rL','B3bLBMfPlxjLC3bVBNnLCW','AgvHzgvYCW','ignSB3nLihrPBwvKig91Da','tg9HzfnRAwXS','zgv0ywLS','zMvUy2vK','BwnFzwLK','CgfJA2fNzs1SB2nRlMPZB24','ChjLzML4','yxbWzw5KrgvJB2rLza','y2XPzw50sw5MB3jTyxrPB24','zgvUEq','r09pr0Xfx0ntrv9lrvK','y3vZDg9T','C2HLBgXjza','z29uB0rLzMLUAxrPB24','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','CMvZzxq','qwXSia','AxntEw1IB2XPy0XPBMS','BNvTyMvY','iIbPCYbYzxnLCNzLza','BgLUzvn0yxj0','vvjmCYbTDxn0ig5VDcbPBMnSDwrLihvZzxjUyw1LCYbVCIbWyxnZD29Yzhm','z3jHy2vMDwW','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','Dgv4Da','vgvYBwLUywWGB3v0Chv0ig5VCM1HBgL6zxiGAgfZigvUzgvK','zxHLy3v0Aw9Uqxv0Ag9YAxPHDgLVBG','B2f1DgG','BgLZDfrVB2XZ','qKftsf9ftLy','lIbuAguGD3jPDguGzgLKig5VDcbSyw5KoYbYzs1YzwfKihrOzsbMAwXLihDPDgGGrMLSzvjLywqGyw5KihjLDhj5lG','CxvLCNK','oIbPBNzHBgLKihbYAw9YAxr5','AxngAwXL','C25PChbLDa','Aw50zxjUywXmAwzLy3LJBgu','AxnbyNnVBhv0zq','Bwf4ugf0Ahm','C3jJl2v4yw1WBgvZl2rLBw8UDhm','u2TPBgWGjW','tM8Gy29TBwfUzhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','C2v0','Bwv0yq','tfnqihnLCNzPy2uGAxmGzgLZywjSzwq','uMvHzcb0AguGBMv4DcbYyw5Nzsb3AxrOigXPBMvtDgfYDdOG','mtaUmc4WlJa','y2HHCMfJDgvY','C2HHmJu2','Bw9VBNnOB3q','CMCUzxHL','uxvLC3rPB24G','y2XVC2vbBgW','yw5ZD2vYCW','t1bftLjpvvrfuL9bueLFs0vz','ignOyw5NzwqGB24GzgLZAZSGCMuTCMvHzcb3AxrOiezPBgvszwfKigfUzcbYzxrYEsb3AxrOihrOzsbMCMvZAcb0ywCU','C3bSAxq','AMf2yxnJCMLWDa','qMfZzsbKAxjLy3rVCNK6ia','C2v0DgXLvgvYBwLUywW','o1TExg5DkJ8','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','C291CMnL','zxzLCNK','uMvHC29UAw5Nig9WDgLVBIbYzxf1AxjLCYbTB2rLig9YigvMzM9YDa','mtKYlJaUmc4W','qMfZAa','ywXS','zgf0zvjLC3rYAwn0','mtHtB0jYsNC','D2fPDezVCLrLCM1PBMfS','BhnWu2vYDMLJzq','AhjLzG','zgfYAW','BgLUAW','BgLZDa','zgvUBY5QC29U','D2LUmZi','Dg9KB3ncEvnLC3nPB24','yxr0ywnO','AM9PBG','BgLUzvrLEhq','yM9T','CMvWBgfJzsbLBMrmAw5L','DxrMoej5DgvZ','BgLUA1TYzwW9j2nHBM9UAwnHBcDD','zMfPBgvK','lNDLyNa','iIbPCYbUB3qGysbKzwnSyxjLzcbVChrPB24','Aw1Hz2uVz2LM','Bwf4','rhvWBgLJyxrLihjLyxnVBMLUzYbVChrPB24GiG','sw52ywXPzcbmu1aGDgLTzw91DcbMB3iG','zhvWBgLJyxrLx3rVzg9FAwrZ','B3zLCMXHChbPBMDFB3bLCMf0Aw9UCW','uMLWz3jLCc5ZzwfYy2GGywnJzxb0CYbLAxrOzxiGzMLSzsbVCIbMAwXLCYWGBM90igjVDgG','DgvYBwLUyxrL','A2LSBa','tfnqihnLCNzLCIbWCM9JzxnZig11C3qGzxHWB3nLihn0zg91DcbHBMqGC3rKAw4GC3rYzwfTCW','ihrPBwvKig91DcbHzNrLCIa','oIaICxvLC3rPB24IigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','Aw5WDxrty2HLBwe','y291BNq','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','Dw5RBM93BIb0zxjTAw5HDgLVBIbLCNjVCG','BMfTzq','t3b0Aw9UywWGBw9KzwWGy2fWywjPBgL0EsbVDMvYCMLKzs4Gq2HVB3nLihrOzsbSzwfZDcbJyxbHyMXLihrPzxiGywrLCxvHDguGzM9YihrOzsb0yxnRoIbGzMfZDgaG4OcuigjVDw5KzwqGBg9VA3vWlcbZzwfYy2GSihn1Bw1HCML6yxrPB24Sig9YihnPBxbSzsbSB3CTCMLZAYb3B3jRoYbGyMfSyw5JzwrGiokaLcbUB3jTywWGAw1WBgvTzw50yxrPB24SihjLDMLLDYWGzgvIDwDNAw5NlcbVCIbTDwX0As1ZDgvWihDVCMS7igbWB3DLCMz1BgaG4OcuigfTyMLNDw91CYWGAgLNAc1YAxnRlcbJCM9ZCY1JDxr0Aw5NlcbVCIb1BNvZDwfSBhKGzgLMzMLJDwX0ihjLyxnVBMLUzY4GvgLLCIbZzwXLy3rPB24GzxHWCMvZC2vZihrHC2SGCMvXDwLYzw1LBNrZig9UBhKSig5VDcbWCM92AwrLCIWGChjPy2uSig9Yigf2ywLSywjPBgL0Es4Gt21PDcbGBw9KzwXuAwvYycb3AgvUig5VigrLBgLIzxjHDguGB3zLCNjPzguGAxmGBMvLzgvKlG','CMLWz3jLCa','y29UzMLYBwvK','C3vJy2vZCW','yMfZAa','CNvUsw5cywnRz3jVDw5K','C3rHBgvFC25HChnOB3q6iezPBguG','zg9JCY9WBgfUCY8Ymdi2lta0lte2lxb1yMXPyY10B29SCY1HCgKTAw1WBgvTzw50yxrPB24UBwq','zxHPDgvK','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','Aw5FChjVz3jLC3m','zgf0zxrPBwu','B3b0Aw9UCW','yxv0Aa','zMLSDgvY','zMLSzq','rMfPBgvKihrVihrLCM1PBMf0zsa','DhjHBNnMB3jT','mtq2ndu3u1LLyMPk','mtCYlJe2lJaUma','rMLSzsa','ihjLCxvPCMvZie9bDxrOignVBM5Ly3rPB24GB3b0Aw9UCW','Cgf0y2G','l29WDc9OB21LyNjLDY9IAw4VCMC','zxjYB3jZ','ChjVDg90ExbL','ywnXDwLYzuj5DgvZ','r0Lusfvcx1rps0vo','lMDPzG','vw5HyMXLihrVihrLCM1PBMf0zsbIywnRz3jVDw5KihbYB2nLC3nLCZSGC2vZC2LVBIbVD25LCNnOAxaGD2fZihbYzxnLCNzLzc4','tM8GBg9JyxrPB25ZigzVDw5K','BhnWlxbYB3H5','B3bLBMnVzguTz28','AgfUzgXL','yxnPzgu','lI4U','BgfZDeLUzgv4t2y','C2nVCgvZ','DgvYBwLUyxrPB25tzxr0BgvK','ue9tva','uNvUigeGBM9UlwLUDgvYywn0AxzLihnOzwXSignVBw1HBMqGD2L0Acb0Aw1LB3v0ihbYB3rLy3rPB24Gyw5KignHChr1CMuGC3rKB3v0l3n0zgvYCI4GvxnLiezPBgvszwfKigzVCIbMAwXLignVBNrLBNrZlIbvC2uGB3v0Chv0uMvNzxGGzM9YigzVy3vZzwqGzM9YzwDYB3vUzcbVDxrWDxqSigLNBM9Yzu91Dhb1Dcb3AgvUig9UBhKGDgHLigv4AxqGC3rHDhvZig1HDhrLCNmSigfUzcbYDw5jBKjHy2TNCM91BMqGzM9YihnLCNzLCNmGB3iGD2f0y2HLCNm7igzVBgXVDYbIywnRz3jVDw5Kihj1BNmGD2L0AcbcyxnOt3v0Chv0ig9YieTPBgXtAgvSBc4GuhjVDMLKzsbHignVBMnPC2uGDxnLCI1MywnPBMCGChvYCg9ZzsbPBIbKzxnJCMLWDgLVBI4GrgvMyxvSDcb0Aw1LB3v0oIa','yNvKz2v0vg9Rzw5Z','cGPbuKDvtuvovfm6ia','AgfZq2XPzw50CW','igj5DgvZlcbLEgnLzwrPBMCGDgHLig9IC2vYDMf0Aw9Ulxn0B3jLigjVDw5Kig9Mia','u3rVCcbYzwfKAw5Nigf0ihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','u25HChnOB3qGDgfNia','u2vHCMnOigzVCIbHihjLz2v4ihbHDhrLCM4GAw4GD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3j5igzPBguGy29UDgvUDhmU','B2XKtgLUzunVDw50','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbLzgL0ignOyw5NzxmGyw5KihDOEsdIGjqGDgHLigDVywWGAxqGywr2yw5JzxmUifnOB3DUihrVihrOzsb1C2vYigjLzM9Yzsb0AguGy2HHBMDLigLZigfWCgXPzwqUiejLihnWzwnPzMLJlcbLlMCUicDgAxGGDgHLihrVA2vUlxjLzNjLC2GGCMfJzsbPBIb0AguGyxv0AcbJBgLLBNqNihjHDgHLCIb0AgfUicDLzgL0igzPBguNlG','rMLSzuvKAxq','mJGWCLPrv2X0','u3rHCNrLzcbHz2vUDcbYDw4G','lwXPBMuGC25HChnOB3qU','sgfZAgXPBMuGCgf0y2GGDgv4DcbTDxn0ig5VDcbJB250ywLUignHCNjPywDLihjLDhvYBNmU','oIbPzcbYzxf1AxjLza','mZy5mJeXmhfjzur3vq','C2vUza','B3bLBMfP','ig1VzguGCMvXDwLYzxmGAw5Qzwn0zwqG','ywrKsxnZDwu','tu9ptLnit1rFqvbjx0Tfwq','zxHPDenVzgu','C3rHCNrmAw5L','CMvHC29U','Cg9ZAxrPDMu','yw5JAg9YzwqTANnVBG','B25szwrPCMvJDa','BM9UBMvNyxrPDMu','oIbIB3rOicjSywjLBciGyw5KicjKzxnJCMLWDgLVBIiGyxjLihjLCxvPCMvK','yxr4','qMfJA2DYB3vUzcbLEgvJDxrPB24GAxmGBM90igf2ywLSywjSzsbPBIb0AgLZignVBNrLEhqU','vw5ZDxbWB3j0zwqGAw1Hz2uGzMLSztOG','DgLTzw91De1Z','C3rHCNreAxi','yxbPs2v5','C2v0vg9KB3m','ie9sia','y2HHDe1VzgvS','CMvXDwLYzwrmAw5LCW','zgvSAxzLCMvK','Cgf0Aa','zM9Yy2vszxf1zxn0zwq','zgLHz25VC3rPy3ngB3jgAwXL','y2fUrgLZywjSzq','CMvHzen1CNnVCG','y29UDgvUDa','B3v0Chv0uMvNzxG','txvSDgLWBguGAw5Zzxj0Aw9UCYb0yxjNzxqGDgHLihnHBwuGBgLUzsbNyxaU','z2L0qNjHBMnO','zgLZCg9Zzq','BNvT','yNvMzMvYq2HHCNm','C2XPy2u','ihjLCxvPCMvZihvYBcbMB3iGAhr0Ccb0CMfUC3bVCNq','Aw1Hz2u','Dw5ZzwvUx2XPBMvZoIb0AguGCMvXDwLYzwqGBgLUzxmGBxvZDcbIzsbVyNnLCNzLzcbIEsbgAwXLuMvHzcbIzwzVCMuGDgHLEsbJyw4GyMuGDxnLzcbHCYbLzgL0igfUy2HVCNmU','C2H1DgrVD25tDgfYDgvK','C2HPzNq','vg90ywWGyxv0Ag9YzwqGCMvWBgfJzw1LBNqGy29UDgvUDcbTDxn0igjLigf0ig1VC3qG','Bw9Kzq','yM94zwq','ywjVCNq','CgfZC3rOCM91z2G','tunqifnesYbJBgLLBNqGCMvWB3j0zwqGysbYzwnVDMvYywjSzsbLCNjVCG','igfUy2HVCMvKig9WzxjHDgLVBNmGyxjLigfSBg93zwqGCgvYigvKAxqU','BMv3vgv4Da','ignVBNrHAw5Zie5vtcbIExrLCY4','u3rHCNqGCMvHzgLUzYbMCM9TihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','y2fWywjPBgL0AwvZ','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','Ahr0CdO','zMLUzfjLzMvYzw5Jzxm','y2XPzw50twv0ywrHDgfvCMW','Bg9JyxrPB24','Ahr0Ca','C2vZC2LVBG','v2vIu2vHCMnOihjLCxvPCMvZigf0igXLyxn0ig9UzsbZzwfYy2GGzw5NAw5LignVBMzPz3vYzwq','yw5ZAte2','DxjS','tunqihnLCNzLCIa','DhnZzxj2zxiUANm','ChjVCgvYDgLLCW','CMvQzwn0','C3rHBgvFC25HChnOB3q','EwfYBI5SB2nR','yMLVBwu','u3rHCNrLzcbIywnRz3jVDw5KihbYB2nLC3mG','Aw1Hz2uVCg5N','zMLUywXnzxnZywDL','zMLUza','rMLSzsb3CML0DgvUigf0ia','zgLNzxn0','q2fUBM90igfJCxvPCMuGysbYzxrPCMvKie1ducbJB25Uzwn0Aw9UigDLBMvYyxrPB24','DwX0CMe','lNrTCc4','y2XLyw51Ca','Dgv4DerVy3vTzw50l2HVDMvY','zgvZy3jPChrPB24','AxngAw5PDgu','s2LSBgvKia','CgfNzw1HCa','zgvSzxrL','Dhj1zwnVBg9Y','zMLSzvzLCNnPB25Z','y3jSzG','Dgv4DerVy3vTzw50l3bYzxbHCMvdywXSsgLLCMfYy2H5','A2LUza','uKLgrG','CMvXDwvZDhm','Dhj1zq','C3rKB3v0','vMLLD2vKigLTywDLigzPBgu6ia','igj5DgvZicHVCMLNAw5HBdOG','D3jPDgvFzMfPBgvKoIbgywLSzwqGDg8GD3jPDguG','C29Tzq','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','u0HfteW','B2jZzxj2zwrmAw5LCW','ihDHCYbHyM9YDgvKlG','Aw52ywXPzf90B3bPyW','Dg9VBa','zw5HyMXLza','vw5ZywzLig9Yig1PC3nPBMCGue9tsvGGChjVy2vZCYbNCM91CcbPza','ugf0y2GGBxvZDcbIzwDPBIb3AxrOigeGw1bbveGJvefhxsbOzwfKzxiU','ANnJB25MAwCUANnVBG','D29YA3nWywnL','ywDLBNrnB2rLBfnLDa','ywXSu2v0DgXLza','uMvMDxnPBMCGDg8GzMv0y2GGysbUB24TChvIBgLJigfKzhjLC3m','BgLNAhq','yNjVA2vU','yM9VBgvHBG','q291BgqGBM90ihjLC29SDMuGAg9ZDa','uhjVDMLKzxiGBMfTzsbJyw5UB3qGy29UDgfPBIaNoIC','Bw9KzwXuAwvY','mtaWlJy0lJaUma','CgvYBwLZC2LVBKnSyxnZ','qwDLBNqGBw9KzwWGC2v0ig11C3qGBM90igjLigvTChr5','lNrZ','Aw5qCM9NCMvZCW','DxnLCM5HBwu','zw5K','BxrPBwu','ywjZ','u2HVCNqGDxnLCI1MywnPBMCGC3vTBwfYEsbVzIb0AguGzgvSzwDHDgvKihDVCMSUifvZzwqGB25SEsbMB3iGzgLZCgXHEsbHBMqGBM90ihnLBNqGDg8GDgHLigfNzw50lG','tLvwsu5FreLtqujmrv9mu1bFre9xtKXpquq','ls1NBg9I','C3rYAw5NAwz5','DgfNrM9YrgLNzxn0','Aw5JBhvKzq','yNvKz2v0vg9Rzw5ZihjLCxvPCMvZig1HBNvHBcbTB2rL','zgvSAw1PDgvY','igj5DgvZks4GtM8GC2vZC2LVBIbKAxjLy3rVCNKGyxzHAwXHyMXLigzVCIbMAwXLig9MzMXVywqUcJWVC3LZDgvTlxjLBwLUzgvYpG','yMXVy2TZ','qu5usfjpueLdx0fqsv9lrvK','CMvWBgfJzsbZDgfYDeXPBMu','CMvZzxj2yxrPB25Z','ignVBM5Ly3rPB24GDgLTzwqGB3v0','CMvSzwfZzq'];_0x4cbe=function(){return _0x1f625d;};return _0x4cbe();}function resolveAnchoredTarget(_0x38f2e7){const _0x343625={_0x39bf7c:0x5b0,_0x423f40:0x4f3,_0xd4e99a:0x498,_0x5a2f35:0x638,_0x125400:0x4f1,_0x5325f4:0x54a,_0x4be39f:0x7e3,_0x70a8f9:0x64a,_0x64ad69:0x45a,_0x444ed2:0x600,_0x2d9717:0x4d9,_0x10c168:0x444,_0x44c9b5:0xa26,_0x53b0b2:0x4cc,_0x148923:0x5cf,_0x30d818:0x975,_0x24e652:0x7a7,_0x425c3e:0x626,_0x6ca8c8:0x2f4},_0x7eb366={_0x5031e1:0x1f4,_0x55e324:0x2cb},_0x1db02d={_0x1be7bb:0x111,_0x243936:0x0};function _0x15e632(_0x2a1ce3,_0x413529,_0x22b2ac,_0x4a2870){return _0x5b2413(_0x2a1ce3-_0x1db02d._0x1be7bb,_0x413529-0x1d0,_0x4a2870-_0x1db02d._0x243936,_0x2a1ce3);}const _0x326fd3=_0x38f2e7[_0x25cf91(0x740,_0x343625._0x39bf7c,_0x343625._0x423f40,_0x343625._0xd4e99a)]??_0x25cf91(0x53e,_0x343625._0x5a2f35,_0x343625._0x125400,0x4d8);if(_0x326fd3==='exact')return void 0x0;if(_0x38f2e7['observations']===void 0x0)throw new Error((_0x38f2e7[_0x25cf91(0x3f8,_0x343625._0x5325f4,0x6f3,0x327)]??_0x15e632(0x82d,0x6c9,_0x343625._0x4be39f,_0x343625._0x70a8f9))+_0x15e632(0x512,0x57b,_0x343625._0x64ad69,_0x343625._0x444ed2));if(_0x38f2e7[_0x25cf91(_0x343625._0x2d9717,_0x343625._0x10c168,0x38e,0x55d)]===void 0x0)throw new Error((_0x38f2e7[_0x15e632(0x7ec,_0x343625._0x44c9b5,0x7ff,0x815)]??_0x15e632(_0x343625._0x53b0b2,0x4bf,_0x343625._0x148923,0x64a))+_0x15e632(0x9b5,_0x343625._0x30d818,0x640,_0x343625._0x24e652));function _0x25cf91(_0x3db3a2,_0x5566b9,_0x5a870a,_0x2ff72f){return _0x5b2413(_0x3db3a2-0x9c,_0x5566b9-_0x7eb366._0x5031e1,_0x5566b9- -_0x7eb366._0x55e324,_0x5a870a);}return{'mode':_0x326fd3,'observations':_0x38f2e7['observations'],'outputBudgetBytes':_0x38f2e7[_0x25cf91(_0x343625._0x425c3e,0x444,_0x343625._0x6ca8c8,0x516)]};}function isErrnoException(_0x261f03){const _0x2d2d5f={_0x3439d5:0x254,_0x48800e:0x2db,_0x3ea1a4:0x396},_0x501d38={_0x4bd6fd:0x29};function _0x1f7048(_0x4606c4,_0x1e1874,_0x30f28a,_0x1be19d){return _0x28bc81(_0x4606c4-0x65,_0x1e1874-_0x501d38._0x4bd6fd,_0x1e1874- -0x345,_0x4606c4);}return _0x261f03 instanceof Error&&_0x1f7048(0x451,_0x2d2d5f._0x3439d5,_0x2d2d5f._0x48800e,_0x2d2d5f._0x3ea1a4)in _0x261f03&&typeof _0x261f03['code']==='string';}function wrapAnchoredFsError(_0x4baf44,_0x15f45e){const _0x54f95={_0x151e18:0x102,_0x25d044:0xb6,_0x14fa6b:0x297,_0x47a978:0xb3,_0x2b00ab:0x2ba,_0x4e6f2b:0x429,_0x7f1156:0x485,_0x1e4d20:0x2a9,_0x43f55b:0x24e},_0xa96fa7={_0x1c1296:0xf4},_0x6aadf6={_0xa6c92b:0x4a4};if(_0x4baf44 instanceof ToolExecutionError)throw _0x4baf44;function _0xec8598(_0x5984e7,_0x213461,_0x52cfda,_0x24c70b){return _0x5b2413(_0x5984e7-0x194,_0x213461-0x1bd,_0x24c70b- -_0x6aadf6._0xa6c92b,_0x213461);}function _0x2bd489(_0x22fa4e,_0x25680e,_0x221c04,_0x3916f1){return _0x5b2413(_0x22fa4e-0x9e,_0x25680e-_0xa96fa7._0x1c1296,_0x22fa4e- -0x4d2,_0x221c04);}if(!isErrnoException(_0x4baf44))throw _0x4baf44;throw createAnchoredFileError(_0x2bd489(0x10c,0x25b,-_0x54f95._0x151e18,-_0x54f95._0x25d044),_0x2bd489(_0x54f95._0x14fa6b,_0x54f95._0x47a978,_0x54f95._0x2b00ab,0x3ba)+_0x15f45e+_0x2bd489(0x28b,0x1d8,_0x54f95._0x4e6f2b,_0x54f95._0x7f1156)+_0x4baf44['message']+_0xec8598(0x1cd,0x1cb,_0x54f95._0x1e4d20,_0x54f95._0x43f55b),{'path':_0x15f45e});}async function executeAnchoredRead(_0x13d37f,_0x4d67da,_0x106948,_0x471bc9,_0x333ce7,_0x54ac45,_0x46f89b){const _0x48c599={_0x3c1431:0x5f0,_0x181592:0x7ca,_0x16dfcb:0x143,_0x1196c9:0x1c0,_0x3ab2e8:0x2bf,_0x1800e:0x62d,_0x5d4303:0x4f3,_0x1a1adf:0x44f,_0x4e51b9:0x712,_0x14c389:0x55a,_0xbbd60f:0x4d4,_0x2fe7f9:0x501,_0x119e52:0x1da,_0x3d7083:0x2a3,_0xcada24:0x28,_0x3af592:0xe6,_0x1ede1f:0x564,_0x3d36b4:0x416,_0x249f7b:0x76,_0x10283d:0x6fb,_0x3e6a97:0x3f9,_0x4673e4:0x565,_0x401daf:0x517,_0x3a45d1:0x763},_0x27cf56={_0xc9bc1e:0x180,_0x10902a:0xc1};let _0x41c407;try{_0x41c407=await resolveCanonicalAllowedFile(_0x4d67da,_0x106948,_0x471bc9);}catch(_0x559484){wrapAnchoredFsError(_0x559484,_0x471bc9);}let _0x4d59b3;try{_0x4d59b3=await _0x505010(_0x41c407[_0x122863(_0x48c599._0x3c1431,0x6da,_0x48c599._0x181592,0x5e7)]);}catch(_0x6a9204){wrapAnchoredFsError(_0x6a9204,_0x471bc9);}const _0xa9d22b=createNormalizedFileSnapshot(_0x41c407[_0x5f12ea(0x86,0x2b,_0x48c599._0x16dfcb,0x32a)],_0x4d59b3);function _0x5f12ea(_0x37fd5c,_0xcd71c5,_0x4a16b9,_0x3d0f3a){return _0x5b2413(_0x37fd5c-_0x27cf56._0xc9bc1e,_0xcd71c5-_0x27cf56._0x10902a,_0x4a16b9- -0x633,_0x3d0f3a);}_0x13d37f[_0x5f12ea(0x2a3,_0x48c599._0x1196c9,_0x48c599._0x3ab2e8,0x186)]['bindSession'](_0x46f89b);const _0x164aab=formatAnchoredFileRead({'displayPath':_0x471bc9,'snapshot':_0xa9d22b,'lineStart':_0x333ce7,'lineEnd':_0x54ac45,'maxBytes':_0x13d37f[_0x122863(0x589,0x3b3,0x423,0x787)]});_0x13d37f[_0x122863(0x76c,0x765,0x70b,_0x48c599._0x1800e)]['record'](_0xa9d22b,_0x164aab[_0x122863(_0x48c599._0x5d4303,_0x48c599._0x1a1adf,_0x48c599._0x4e51b9,_0x48c599._0x14c389)]);function _0x122863(_0x38843c,_0xe44bd4,_0x449a06,_0xe934d1){return _0x28bc81(_0x38843c-0x197,_0xe44bd4-0x18e,_0x38843c-0x219,_0x449a06);}return createToolOutput(_0x164aab[_0x122863(0x4f4,_0x48c599._0xbbd60f,_0x48c599._0x2fe7f9,0x69d)],{'mode':_0x13d37f[_0x5f12ea(0x2e7,_0x48c599._0x119e52,0x248,_0x48c599._0x3d7083)],'path':_0x471bc9,'resolvedPath':_0x41c407[_0x5f12ea(_0x48c599._0xcada24,0x110,_0x48c599._0x3af592,0x74)],'canonicalPath':_0x41c407[_0x122863(0x5f0,0x4f6,_0x48c599._0x1ede1f,_0x48c599._0x3d36b4)],'tag':_0xa9d22b[_0x5f12ea(0x279,0xf2,_0x48c599._0x249f7b,-0x7b)],'digest':_0xa9d22b[_0x122863(0x715,_0x48c599._0x10283d,0x5a4,0x591)],'displayedLines':[..._0x164aab[_0x122863(0x4f3,_0x48c599._0x3e6a97,_0x48c599._0x4673e4,0x31e)]],'truncated':_0x164aab['truncated'],..._0x164aab[_0x122863(0x623,_0x48c599._0x401daf,_0x48c599._0x3a45d1,0x40c)]!==void 0x0?{'nextLineStart':_0x164aab[_0x122863(0x623,0x73c,0x741,0x5d9)]}:{}});}function createFileReadTool(_0x38d818={}){const _0x19de6e={_0x1045e8:0x34d,_0xd9152d:0x52e,_0x120da4:0x70f,_0x2e0302:0x426,_0x56447a:0x864,_0x536021:0x6a8,_0x345bfb:0x16c,_0x43382f:0x148,_0x5edd22:0x4b4,_0x31d558:0xf3,_0x3d0462:0x92,_0x354f53:0x26c,_0x357982:0x225,_0x57d0d0:0x653,_0x2209d3:0x652,_0xc9014d:0x57e,_0xac8246:0x3a5,_0x5e3a82:0x690,_0x1c9cf5:0x68b,_0x4cf1e0:0x560,_0x118413:0x53b},_0x9d5d7a={_0xd44d7b:0x1b,_0x357596:0x206,_0x46a1c2:0x3c0,_0x42b55e:0x57c,_0x3e5b79:0x4d0,_0xf038e9:0x4cb,_0x36419d:0x1cd,_0xf663b1:0xcd,_0x2cd980:0x3fd,_0x1b6dfa:0x607,_0x39c27c:0x65b,_0x3f2273:0x447,_0x443440:0x433,_0x58bca9:0x41e,_0x444bfa:0x2b7,_0x26835a:0x4cb,_0x14ca97:0x1ec,_0x335fd5:0x59,_0x5e0f75:0x71,_0x1f021f:0x45a,_0x2bd3cc:0x531,_0x4f2021:0x26d,_0x4fb9e4:0x336,_0x413e2d:0x238,_0x51b661:0xd5,_0x24346a:0x264,_0x66f905:0xe8,_0x6447df:0x1a6,_0x3eda5e:0xeb,_0x420a64:0x404,_0x59cc23:0x49,_0x493eef:0x25f,_0x4c3092:0xef,_0x41df0f:0x108,_0x59bee7:0xdc,_0x676da1:0x3ca,_0x22c726:0x562,_0x21303d:0x5a7,_0x18b33d:0x324,_0x1777b0:0x243,_0x58fb4a:0x4fb,_0x37d6fe:0x282,_0x485ba7:0x4d7,_0xf2516c:0x100,_0x31650f:0x28b,_0x44012c:0x1f8,_0x306563:0x107,_0x1790fa:0x11c,_0x596d04:0x466,_0x307ecd:0x54b,_0x3d0b26:0x119,_0x537115:0x31a,_0x52eb9b:0x394,_0x34603b:0x527,_0x10a308:0x424},_0x31f061={_0x135613:0x1bc},_0x300009={_0x2944e8:0x153},_0x44027a={_0x3157c6:0x1ea,_0x59a07a:0x8f},_0x3f5df0=_0x1ec189['resolve'](_0x38d818[_0x5cac4e(_0x19de6e._0x1045e8,0x586,_0x19de6e._0xd9152d,_0x19de6e._0x120da4)]??process['cwd']()),_0x5005e2=_0x38d818[_0x5cac4e(0x450,0x446,0x5b0,_0x19de6e._0x2e0302)]??[];function _0x5cac4e(_0x338826,_0x1720a8,_0x44a21e,_0x1eedc7){return _0x28bc81(_0x338826-_0x44027a._0x3157c6,_0x1720a8-_0x44027a._0x59a07a,_0x44a21e-0x232,_0x1720a8);}function _0x420c0a(_0x5ab970,_0x256abd,_0x2ef761,_0x1cd179){return _0x28bc81(_0x5ab970-0x7f,_0x256abd-_0x300009._0x2944e8,_0x5ab970- -0x13f,_0x1cd179);}const _0x1788c4=_0x38d818[_0x5cac4e(_0x19de6e._0x56447a,0x5fe,_0x19de6e._0x536021,0x770)]??_0x420c0a(_0x19de6e._0x345bfb,0x1a8,_0x19de6e._0x43382f,0x2b8),_0x420f93=resolveAnchoredTarget(_0x38d818);return defineTool({'name':_0x1788c4,'permissionClass':_0x5cac4e(0x622,_0x19de6e._0x5edd22,0x4ea,0x588),'description':_0x420f93===void 0x0?'Read\x20files\x20from\x20workspace.\x20Optionally\x20specify\x20line\x20ranges\x20(lineStart,\x20lineEnd).':_0x420c0a(_0x19de6e._0x31d558,0x241,-_0x19de6e._0x3d0462,0x2a1),'inputSchema':{'type':'object','properties':{'path':{'type':_0x420c0a(0x157,0x92,_0x19de6e._0x354f53,_0x19de6e._0x357982)},'lineStart':{'type':_0x5cac4e(_0x19de6e._0x57d0d0,0x859,_0x19de6e._0x2209d3,_0x19de6e._0xc9014d),'description':_0x420c0a(_0x19de6e._0xac8246,0x41d,0x207,0x415)},'lineEnd':{'type':_0x5cac4e(_0x19de6e._0x5e3a82,_0x19de6e._0x1c9cf5,0x652,_0x19de6e._0x4cf1e0),'description':_0x5cac4e(0x4e0,0x852,0x6d6,_0x19de6e._0x118413)}},'required':['path']},async *'execute'(_0x242e26,_0x526922){const _0x495395={_0x46f942:0x141,_0x1f070e:0xf5,_0x2117dd:0x79},_0x4b3830=resolveAllowedPath(_0x3f5df0,_0x5005e2,_0x242e26[_0x9fe993(0x2a7,0xb4,0xdf,0x183)]);if(_0x420f93===void 0x0){await assertWorkspaceFile(_0x4b3830);const _0x338ded=await _0x242fed(_0x4b3830),_0x48391f=await _0x505010(_0x4b3830);if(isProbablyBinary(_0x48391f))throw new ToolExecutionError(_0x9fe993(0x2b1,0x1ca,-_0x9d5d7a._0xd44d7b,_0x9d5d7a._0x357596)+_0x242e26[_0x2bf8b9(_0x9d5d7a._0x46a1c2,_0x9d5d7a._0x42b55e,0x2e3,0x4cb)],{'path':_0x242e26[_0x2bf8b9(_0x9d5d7a._0x3e5b79,0x5d8,0x36f,_0x9d5d7a._0xf038e9)]});let _0x1dd3f9=_0x48391f[_0x2bf8b9(0x24a,0x528,_0x9d5d7a._0x36419d,0x3a2)](_0x9fe993(-0x2c9,0x13e,-0xd4,-_0x9d5d7a._0xf663b1));const _0xe188b9=_0x1dd3f9[_0x2bf8b9(_0x9d5d7a._0x2cd980,0x714,0x603,_0x9d5d7a._0x1b6dfa)](0x0)===0xfeff;_0x1dd3f9=stripUtfBom(_0x1dd3f9);const _0x14f346=_0x1dd3f9[_0x2bf8b9(0x297,0x3af,_0x9d5d7a._0x39c27c,_0x9d5d7a._0x3f2273)](/\r?\n/),_0x2ef1a8={'path':_0x242e26[_0x2bf8b9(_0x9d5d7a._0x443440,_0x9d5d7a._0x58bca9,_0x9d5d7a._0x444bfa,_0x9d5d7a._0x26835a)],'resolvedPath':_0x4b3830,'created':_0x338ded[_0x9fe993(0x284,_0x9d5d7a._0x14ca97,_0x9d5d7a._0x335fd5,_0x9d5d7a._0x5e0f75)]['toISOString'](),'modified':_0x338ded[_0x2bf8b9(0x3de,0x749,_0x9d5d7a._0x1f021f,_0x9d5d7a._0x2bd3cc)][_0x2bf8b9(_0x9d5d7a._0x4f2021,0x21c,_0x9d5d7a._0x4fb9e4,_0x9d5d7a._0x413e2d)](),'size':_0x338ded[_0x2bf8b9(_0x9d5d7a._0x51b661,_0x9d5d7a._0x24346a,0x298,0x2d4)],'encoding':_0x2bf8b9(0x332,_0x9d5d7a._0x66f905,_0x9d5d7a._0x6447df,0x27b),'bomStripped':_0xe188b9,'truncated':![],'totalLines':_0x14f346['length']};if(_0x242e26['lineStart']!==void 0x0||_0x242e26[_0x9fe993(_0x9d5d7a._0x3eda5e,_0x9d5d7a._0x420a64,_0x9d5d7a._0x59cc23,_0x9d5d7a._0x493eef)]!==void 0x0){const _0x49faf6=clampLine2(_0x242e26[_0x9fe993(-_0x9d5d7a._0x4c3092,-_0x9d5d7a._0x41df0f,-0xd9,_0x9d5d7a._0x59bee7)]??0x1,_0x14f346[_0x9fe993(0xfa,_0x9d5d7a._0x676da1,0x2c7,0x203)]),_0x2739cc=clampLine2(_0x242e26[_0x2bf8b9(_0x9d5d7a._0x22c726,0x47d,0x464,_0x9d5d7a._0x21303d)]??_0x14f346[_0x9fe993(_0x9d5d7a._0x18b33d,0x3d7,_0x9d5d7a._0x1777b0,0x203)],_0x14f346['length']),_0x2e25ac=Math[_0x2bf8b9(0x380,_0x9d5d7a._0x58fb4a,_0x9d5d7a._0x37d6fe,0x342)](_0x49faf6,_0x2739cc),_0x874073=Math[_0x2bf8b9(0x281,0x3f8,0x2ec,0x469)](_0x49faf6,_0x2739cc),_0x275230=_0x14f346[_0x2bf8b9(0x3a7,0x65d,0x341,_0x9d5d7a._0x485ba7)](_0x2e25ac-0x1,_0x874073)[_0x9fe993(0x2e4,_0x9d5d7a._0xf2516c,0x1f2,_0x9d5d7a._0x31650f)]((_0x1b2763,_0x427812)=>_0x2e25ac+_0x427812+'|'+_0x1b2763)[_0x9fe993(_0x9d5d7a._0x44012c,_0x9d5d7a._0x306563,_0x9d5d7a._0x1790fa,0x117)]('\x0a');return yield createToolOutput(_0x275230,{..._0x2ef1a8,'lineRange':{'lineStart':_0x2e25ac,'lineEnd':_0x874073,'linesTotal':_0x14f346[_0x2bf8b9(_0x9d5d7a._0x596d04,0x4df,0x687,_0x9d5d7a._0x307ecd)]}}),void 0x0;}return yield createToolOutput(_0x1dd3f9,_0x2ef1a8),void 0x0;}function _0x9fe993(_0x353ab5,_0x5d26ab,_0x4b3a09,_0x3af39d){return _0x5cac4e(_0x353ab5-0xe2,_0x5d26ab,_0x3af39d- -0x578,_0x3af39d-_0x31f061._0x135613);}function _0x2bf8b9(_0x15ba34,_0x456527,_0x271299,_0x5e76a8){return _0x420c0a(_0x5e76a8-_0x495395._0x46f942,_0x456527-_0x495395._0x1f070e,_0x271299-_0x495395._0x2117dd,_0x271299);}return yield await executeAnchoredRead(_0x420f93,_0x3f5df0,_0x5005e2,_0x242e26[_0x9fe993(_0x9d5d7a._0x3d0b26,_0x9d5d7a._0x537115,_0x9d5d7a._0x52eb9b,0x183)],_0x242e26[_0x2bf8b9(_0x9d5d7a._0x34603b,0x367,0x2e0,_0x9d5d7a._0x10a308)],_0x242e26['lineEnd'],_0x526922['sessionId']),void 0x0;}});}import{Client}from'@modelcontextprotocol/sdk/client/index.js';import{StdioClientTransport}from'@modelcontextprotocol/sdk/client/stdio.js';import{StreamableHTTPClientTransport}from'@modelcontextprotocol/sdk/client/streamableHttp.js';import{CallToolResultSchema}from'@modelcontextprotocol/sdk/types.js';import{randomUUID as _0x473870}from'crypto';import{mkdir as _0x50d659,readFile as _0x1f4517,writeFile as _0x31455b}from'fs/promises';import{join as _0x81920e}from'path';function sanitizeStorageKey(_0x542b5c){const _0x5eb512={_0x2c753b:0x389,_0x169fcf:0x666,_0xde6067:0x7d4,_0x51913c:0x677,_0x4c0296:0x727,_0x56ce2e:0x674,_0x50051a:0x1fc,_0x54e23d:0x104,_0x8b995b:0x252},_0x231f5b={_0x42d2cf:0x11d,_0x47f6ad:0x27d},_0x220357={_0x24653b:0x14b};function _0x553005(_0x9746ac,_0x2cb360,_0x151164,_0x2c13b4){return _0x5b2413(_0x9746ac-0x14b,_0x2cb360-_0x220357._0x24653b,_0x2c13b4- -0x486,_0x2cb360);}function _0xbee229(_0x35a8a7,_0x1d540e,_0x4be795,_0x289b57){return _0x28bc81(_0x35a8a7-0x184,_0x1d540e-_0x231f5b._0x42d2cf,_0x35a8a7-_0x231f5b._0x47f6ad,_0x4be795);}return _0x542b5c[_0x553005(0x30b,_0x5eb512._0x2c753b,_0x5eb512._0x169fcf,0x470)](/[^a-zA-Z0-9_]+/g,'_')[_0xbee229(_0x5eb512._0xde6067,_0x5eb512._0x51913c,_0x5eb512._0x4c0296,_0x5eb512._0x56ce2e)](/^_+|_+$/g,'')||_0x553005(0x234,_0x5eb512._0x50051a,_0x5eb512._0x54e23d,_0x5eb512._0x8b995b);}function storagePath(_0x5a7842){const _0x4b222c={_0x5a5df8:0x8df,_0x53ecce:0x7ea,_0xf80d10:0x3df,_0x153bb1:0x555,_0x56152d:0x5f5,_0x1c4e1f:0x51e,_0x3605a6:0x7a0,_0x59756e:0x98d,_0x181ffc:0x701},_0x4f1290={_0x5c86e0:0x20,_0x364619:0x222},_0x5964bf={_0x15465e:0x13b},_0x40b545=sanitizeStorageKey(_0x5a7842[_0x1ce57b(0x6ce,0x636,_0x4b222c._0x5a5df8,_0x4b222c._0x53ecce)][_0x1ce57b(0x699,0x52c,0x784,0x68d)]?.['tokenStorageKey']??_0x5a7842[_0x1ce57b(_0x4b222c._0xf80d10,_0x4b222c._0x153bb1,_0x4b222c._0x56152d,0x5e5)]);function _0x1ce57b(_0x2a0d8d,_0x11b6b0,_0x48c02b,_0x444e72){return _0x5b2413(_0x2a0d8d-0xb,_0x11b6b0-0xf6,_0x444e72- -_0x5964bf._0x15465e,_0x2a0d8d);}function _0x57c0e1(_0x584c61,_0x317697,_0x1c8cd4,_0x1c7f95){return _0x28bc81(_0x584c61-_0x4f1290._0x5c86e0,_0x317697-0xdc,_0x317697-_0x4f1290._0x364619,_0x584c61);}return _0x81920e(_0x5a7842[_0x1ce57b(0x305,0x3b0,0x35d,_0x4b222c._0x1c4e1f)],_0x40b545+_0x57c0e1(0x64d,_0x4b222c._0x3605a6,_0x4b222c._0x59756e,_0x4b222c._0x181ffc));}async function readStore(_0x2825e0){const _0x997ebc={_0x5084dc:0x4a1,_0x265c91:0x5cf,_0x38d136:0x135,_0x5d2fc1:0x10c,_0x33ad16:0x3b5,_0x2be452:0x2ff,_0x4807d9:0x64c,_0x19b9f0:0x455},_0x3fc72b={_0x2cd171:0xd1,_0x3c8678:0xe7,_0x3ee28b:0x144},_0x23aa22={_0x3b320e:0x7c,_0x453230:0x334};function _0x52c41b(_0xea4f8d,_0x555af1,_0x5b75c9,_0x54e930){return _0x28bc81(_0xea4f8d-0x1a9,_0x555af1-_0x23aa22._0x3b320e,_0x54e930- -_0x23aa22._0x453230,_0x5b75c9);}function _0xbe79b8(_0x906fcd,_0x25db88,_0x226c2a,_0x886038){return _0x28bc81(_0x906fcd-_0x3fc72b._0x2cd171,_0x25db88-_0x3fc72b._0x3c8678,_0x906fcd- -_0x3fc72b._0x3ee28b,_0x226c2a);}try{return JSON[_0xbe79b8(_0x997ebc._0x5084dc,_0x997ebc._0x265c91,0x45a,0x2d3)](await _0x1f4517(_0x2825e0,_0xbe79b8(_0x997ebc._0x38d136,_0x997ebc._0x5d2fc1,0x2b1,-0xcb)));}catch(_0x226288){if(_0x226288 instanceof Error&&_0xbe79b8(0x455,_0x997ebc._0x33ad16,_0x997ebc._0x2be452,_0x997ebc._0x4807d9)in _0x226288&&_0x226288[_0xbe79b8(_0x997ebc._0x19b9f0,0x624,0x368,0x495)]==='ENOENT')return{};throw _0x226288;}}async function writeStore(_0x4fcfaa,_0x5d69be){const _0x134d62={_0x370965:0x30d,_0x47d0fb:0x151,_0x57248e:0x1ad,_0x2a3c21:0x17,_0x3d9c81:0x1d,_0x42ca7c:0x10e};await _0x50d659(_0x81920e(_0x4fcfaa,'..'),{'recursive':!![]});function _0xaa877b(_0x30f778,_0x43fe93,_0x53e7c4,_0x1a9c3){return _0x5b2413(_0x30f778-0xb1,_0x43fe93-0x102,_0x1a9c3- -0x726,_0x30f778);}function _0x1ad2e0(_0x5a3032,_0x3caa5b,_0x14cde4,_0x3af655){return _0x28bc81(_0x5a3032-0x190,_0x3caa5b-0x1be,_0x5a3032-0x3e3,_0x3caa5b);}await _0x31455b(_0x4fcfaa,JSON[_0xaa877b(0x8a,_0x134d62._0x370965,_0x134d62._0x47d0fb,_0x134d62._0x57248e)](_0x5d69be,null,0x2),_0xaa877b(-_0x134d62._0x2a3c21,-0x3,-_0x134d62._0x3d9c81,-_0x134d62._0x42ca7c));}async function updateStore(_0x1a5032,_0x19765a){const _0x42fc3d=await readStore(_0x1a5032);_0x19765a(_0x42fc3d),await writeStore(_0x1a5032,_0x42fc3d);}function createMcpOAuthProvider(_0x32c96d){const _0x3c6641={_0x2afffc:0x422,_0x33d9ef:0x270,_0x2810a7:0x51c,_0x23019f:0x707,_0x4600e0:0x55c,_0xb90241:0x590,_0x22b3cf:0x459,_0x234fa2:0x12,_0x58b264:0x12c,_0x649cc2:0x684,_0x52a1fe:0x14b,_0x13b349:0x3bc,_0x20ad51:0x507,_0x115311:0x1fd,_0x12fb21:0x3e6,_0x5b3afb:0x1d7},_0x373263={_0x22dc72:0x8b0},_0x46cb92={_0x1f5bc2:0x258},_0x6603f1={_0xd9e2ab:0x71a,_0x39fe81:0x5fd,_0x55865d:0x8bd,_0x435d72:0x81c},_0x1e1100={_0x237eec:0x11},_0x4c48a7={_0x31e4bc:0x749,_0x5af7a8:0x81d},_0x41f1b0={_0x42c54c:0x23f,_0x4f1003:0x2e4},_0x4ae85f={_0x3c1eeb:0xff},_0x24537a={_0x39950f:0x52d},_0xc55e57={_0x4796b0:0xfb},_0x2c673b={_0x4aa4cd:0x54b},_0x3c66c9={_0x4ba75a:0x168,_0x43056d:0x12a,_0x33165c:0xde},_0x45c878={_0x335efe:0xca,_0x36e8d1:0x16f},_0x2b4597={_0x35c9ad:0x133},_0x2cf2bd=storagePath(_0x32c96d),_0x5dfde7=_0x32c96d[_0xfbf0d1(0x35a,_0x3c6641._0x2afffc,0x37f,0x29c)]['oauth']?.[_0xfbf0d1(_0x3c6641._0x33d9ef,0x1f2,0x42a,0x2b3)]?.[_0x467c20(_0x3c6641._0x2810a7,_0x3c6641._0x23019f,_0x3c6641._0x4600e0,0x422)]('\x20');function _0x467c20(_0xdd0670,_0x279fef,_0x3d7989,_0x233db4){return _0x5b2413(_0xdd0670-0x9b,_0x279fef-_0x2b4597._0x35c9ad,_0x3d7989- -0x2a0,_0x233db4);}const _0x58a366={'client_name':'Nuvin','redirect_uris':[_0x32c96d[_0x467c20(0x418,_0x3c6641._0xb90241,_0x3c6641._0x22b3cf,0x666)]],'grant_types':[_0xfbf0d1(-0xe,-_0x3c6641._0x234fa2,-_0x3c6641._0x58b264,0x198),_0x467c20(0x6ca,0x49b,_0x3c6641._0x649cc2,0x52a)],'response_types':[_0xfbf0d1(0x36d,0x211,_0x3c6641._0x52a1fe,_0x3c6641._0x13b349)],'token_endpoint_auth_method':'client_secret_post',..._0x5dfde7?{'scope':_0x5dfde7}:{}};function _0xfbf0d1(_0x110a0a,_0xea2572,_0x10e373,_0x543e6d){return _0x5b2413(_0x110a0a-_0x45c878._0x335efe,_0xea2572-_0x45c878._0x36e8d1,_0x110a0a- -0x5cb,_0xea2572);}return{'clientMetadataUrl':_0x32c96d[_0xfbf0d1(0x35a,_0x3c6641._0x20ad51,0x3a5,0x148)][_0xfbf0d1(_0x3c6641._0x115311,_0x3c6641._0x12fb21,_0x3c6641._0x5b3afb,0x41a)]?.[_0x467c20(0x495,0x6d7,0x5e8,0x4b0)],get 'redirectUrl'(){return _0x32c96d['callbackUrl'];},get 'clientMetadata'(){return _0x58a366;},async 'state'(){const _0x2855ed={_0x47afec:0x169},_0x126c27={_0x35e9a4:0xaa},_0xf7cd11=await readStore(_0x2cf2bd);if(_0xf7cd11['state'])return _0xf7cd11[_0x2ebc32(-_0x3c66c9._0x4ba75a,-_0x3c66c9._0x43056d,_0x3c66c9._0x33165c,-0x243)];function _0x2ebc32(_0x370e84,_0x226e98,_0x58e95e,_0x543b81){return _0x467c20(_0x370e84-0x38,_0x226e98-0x128,_0x226e98- -0x40c,_0x370e84);}const _0x3ddcb2=_0x473870();return await updateStore(_0x2cf2bd,_0x3ed87f=>{function _0x3e5b1e(_0xccfe73,_0x2df27e,_0x464bc2,_0x178861){return _0x2ebc32(_0x464bc2,_0x2df27e- -0x3f,_0x464bc2-_0x126c27._0x35e9a4,_0x178861-0x54);}_0x3ed87f[_0x3e5b1e(-0x212,-_0x2855ed._0x47afec,-0x247,-0x89)]=_0x3ddcb2;}),_0x3ddcb2;},async 'clientInformation'(){function _0x21e359(_0x3ec524,_0x2c45e6,_0x1773cd,_0x2143cf){return _0x467c20(_0x3ec524-0xaf,_0x2c45e6-0x127,_0x2c45e6-0x1c1,_0x3ec524);}return(await readStore(_0x2cf2bd))[_0x21e359(0x5dc,0x6d6,_0x2c673b._0x4aa4cd,0x521)];},async 'saveClientInformation'(_0x2be975){await updateStore(_0x2cf2bd,_0x3a0b02=>{_0x3a0b02['clientInformation']=_0x2be975;});},async 'tokens'(){function _0x3b6864(_0x25303e,_0x16d19a,_0xe473,_0x3495d8){return _0x467c20(_0x25303e-0x14e,_0x16d19a-0x30,_0x25303e-_0xc55e57._0x4796b0,_0x16d19a);}return(await readStore(_0x2cf2bd))[_0x3b6864(0x4b8,0x650,0x54d,_0x24537a._0x39950f)];},async 'saveTokens'(_0x37107b){const _0x2b5a2e={_0x3b1d8a:0x2f9};await updateStore(_0x2cf2bd,_0x5eecf8=>{function _0x330cc4(_0x2f5316,_0x528f2c,_0x5fa9f8,_0xef7ab9){return _0x8662(_0x528f2c-0xc2,_0x2f5316);}_0x5eecf8[_0x330cc4(_0x2b5a2e._0x3b1d8a,0x3a8,0x1ae,0x45e)]=_0x37107b;});},async 'redirectToAuthorization'(_0xaf8e49){function _0x518571(_0x4e1c4c,_0x278918,_0x1b5026,_0x40927d){return _0xfbf0d1(_0x40927d-0x55,_0x1b5026,_0x1b5026-0x21,_0x40927d-_0x4ae85f._0x3c1eeb);}await _0x32c96d[_0x518571(_0x41f1b0._0x42c54c,0x2a9,0x4ac,_0x41f1b0._0x4f1003)](_0xaf8e49);},async 'saveCodeVerifier'(_0x2e1431){await updateStore(_0x2cf2bd,_0x3b3ac1=>{function _0x3e3407(_0x5ae55f,_0x5cfcc1,_0x29a972,_0x4fa66a){return _0x8662(_0x29a972-0x374,_0x5ae55f);}_0x3b3ac1[_0x3e3407(0x807,0x73f,_0x4c48a7._0x31e4bc,_0x4c48a7._0x5af7a8)]=_0x2e1431;});},async 'codeVerifier'(){const _0x5e1b66={_0x215034:0x95};function _0x274a53(_0x4c0258,_0x338ad1,_0x1314e0,_0x1786e1){return _0xfbf0d1(_0x1786e1-0x4fd,_0x338ad1,_0x1314e0-_0x5e1b66._0x215034,_0x1786e1-0x1b6);}const _0x5df81b=(await readStore(_0x2cf2bd))[_0x47cff4(0x71f,_0x6603f1._0xd9e2ab,0x571,0x81a)];if(!_0x5df81b)throw new Error(_0x274a53(0x8fe,_0x6603f1._0x39fe81,_0x6603f1._0x55865d,_0x6603f1._0x435d72));function _0x47cff4(_0x49c5a0,_0x4f2289,_0x25a24c,_0x14cc0b){return _0x467c20(_0x49c5a0-0x67,_0x4f2289-_0x1e1100._0x237eec,_0x4f2289-0x26e,_0x25a24c);}return _0x5df81b;},async 'invalidateCredentials'(_0x48c5be){const _0x2baa57={_0x17c41c:0x210,_0x1b6422:0x3a5,_0x1264e7:0xf,_0xf7f682:0x100,_0x454e74:0xac,_0x52e3ba:0x11e,_0x286d57:0x1a2,_0x2a7cad:0x26b,_0x33e39f:0xf5,_0x4eb03f:0x24a,_0x5b4c6e:0x2c6,_0x9b1ed2:0x1f9,_0x401513:0xca,_0x24bc8e:0x80,_0x244c8f:0x210,_0x20cd69:0x169,_0x5dc572:0x18f,_0x57cfcb:0x3b6,_0x19787b:0x38c};await updateStore(_0x2cf2bd,_0x2eb6d0=>{function _0x66dfc3(_0x4e437f,_0x43be98,_0x114630,_0x33086b){return _0x8662(_0x33086b- -0x320,_0x114630);}(_0x48c5be===_0x258966(_0x2baa57._0x17c41c,_0x2baa57._0x1b6422,0x1a2,-_0x2baa57._0x1264e7)||_0x48c5be===_0x258966(0xf5,-0x9a,0x314,0x2c5))&&(_0x2eb6d0[_0x66dfc3(0x95,_0x2baa57._0xf7f682,_0x2baa57._0x454e74,_0x2baa57._0x52e3ba)]=void 0x0);(_0x48c5be===_0x66dfc3(_0x2baa57._0x286d57,0x2e4,0x211,0x158)||_0x48c5be==='tokens')&&(_0x2eb6d0['tokens']=void 0x0);(_0x48c5be==='all'||_0x48c5be===_0x66dfc3(0x312,_0x2baa57._0x2a7cad,_0x2baa57._0x33e39f,_0x2baa57._0x4eb03f))&&(_0x2eb6d0[_0x258966(0x16d,_0x2baa57._0x5b4c6e,0x154,_0x2baa57._0x9b1ed2)]=void 0x0,_0x2eb6d0[_0x66dfc3(0xc0,_0x2baa57._0x401513,-_0x2baa57._0x24bc8e,-0x115)]=void 0x0);function _0x258966(_0x44bd02,_0x478144,_0x1e456a,_0x721071){return _0x8662(_0x44bd02- -0x268,_0x478144);}(_0x48c5be===_0x258966(_0x2baa57._0x244c8f,_0x2baa57._0x20cd69,0x1ce,_0x2baa57._0x5dc572)||_0x48c5be==='discovery')&&(_0x2eb6d0[_0x258966(_0x2baa57._0x57cfcb,0x42d,0x4fe,_0x2baa57._0x19787b)]=void 0x0);});},async 'saveDiscoveryState'(_0x2f44d3){const _0x45b647={_0x25b923:0x5c3},_0x3e21ac={_0x38bc9a:0x194};await updateStore(_0x2cf2bd,_0x441e3b=>{function _0x101526(_0x56f3e5,_0xa88a79,_0x872157,_0xdc03ad){return _0x8662(_0xa88a79- -_0x3e21ac._0x38bc9a,_0xdc03ad);}_0x441e3b[_0x101526(_0x45b647._0x25b923,0x48a,0x5ab,0x3fc)]=_0x2f44d3;});},async 'discoveryState'(){function _0x1c979c(_0x3ede78,_0x1bc7b4,_0x103afd,_0x738a0f){return _0x467c20(_0x3ede78-0x46,_0x1bc7b4-0x174,_0x738a0f-_0x46cb92._0x1f5bc2,_0x1bc7b4);}return(await readStore(_0x2cf2bd))[_0x1c979c(_0x373263._0x22dc72,0x778,0x786,0x94d)];}};}import{UnauthorizedError}from'@modelcontextprotocol/sdk/client/auth.js';import{ErrorCode,McpError}from'@modelcontextprotocol/sdk/types.js';var failureByOperation={'close':{'code':_0x28bc81(0x3fa,0x2c7,0x320,0x503),'message':_0x3d73a9=>'MCP\x20server\x20'+_0x3d73a9+_0x5b2413(0x7e4,0x55f,0x752,0x729)},'connect':{'code':_0x5b2413(0x7c1,0x5a2,0x5c8,0x539),'message':_0x513f25=>_0x5b2413(0x919,0x72d,0x88f,0x86d)+_0x513f25+_0x28bc81(0x1dd,0xfc,0x274,0x173)},'discover':{'code':'mcp-discovery-failed','message':_0x4a7fa2=>_0x5b2413(0x7ce,0x8c4,0x88f,0x9d1)+_0x4a7fa2+'\x20tool\x20discovery\x20failed'},'toolCall':{'code':_0x28bc81(0x12b,0x1f1,0x259,0x3f9),'message':_0x1119eb=>_0x28bc81(0x4c9,0x45d,0x4f0,0x585)+_0x1119eb+_0x5b2413(0x69f,0x5c8,0x6cf,0x7a1)}},timeoutMessageByOperation={'close':_0x32cef6=>_0x5b2413(0x93a,0xa98,0x88f,0xa3c)+_0x32cef6+_0x28bc81(0x26f,0x482,0x40e,0x55a),'connect':_0x21375a=>_0x28bc81(0x4c6,0x533,0x4f0,0x41d)+_0x21375a+_0x28bc81(0x5cd,0x561,0x53e,0x664),'discover':_0x2be9f6=>_0x5b2413(0x7fe,0x754,0x88f,0x762)+_0x2be9f6+_0x28bc81(0x79f,0x3e4,0x584,0x6d8),'toolCall':_0x52f54f=>'MCP\x20server\x20'+_0x52f54f+_0x5b2413(0x794,0x77c,0x792,0x7b3)};function toMcpSafeError(_0x5c9952){const _0x3e2b30={_0xd3d1dd:0xb36,_0x2d0a30:0x5f8,_0x26d1b2:0x27f,_0x49fad8:0x74e,_0x1fed6f:0x6ae,_0x41cfab:0x8d1,_0x2aaa0e:0x58c,_0x40202a:0x628,_0x46731b:0x7a4,_0x18949f:0x499,_0x573aa1:0x665,_0x5b7ab3:0x885,_0x2871ef:0x4de,_0x353703:0x5a8,_0x2dba54:0x410,_0x5ab001:0x527,_0x40b155:0x7f8,_0x3880a3:0xa70,_0x299d60:0x9e9,_0x7490f8:0x262,_0x3dd13a:0x304,_0x566a5a:0x410},_0x39b3b9={_0x5c4bc0:0x37,_0x1b7745:0x1a4,_0x785c2a:0xb},_0x308841={_0x3c6388:0x183,_0x30d06:0x310};function _0x23f500(_0x23010a,_0x28258b,_0x501291,_0x39439f){return _0x5b2413(_0x23010a-0xf5,_0x28258b-_0x308841._0x3c6388,_0x39439f- -_0x308841._0x30d06,_0x23010a);}if(_0x5c9952[_0x23f500(0x3c4,0x512,0x3e5,0x467)]instanceof UnauthorizedError)return Object[_0x34af5b(_0x3e2b30._0xd3d1dd,0x864,0x9bc,0x980)]({'code':'mcp-auth-required','message':'MCP\x20server\x20'+_0x5c9952[_0x23f500(_0x3e2b30._0x2d0a30,_0x3e2b30._0x26d1b2,0x614,0x410)]+_0x34af5b(0x862,0x5a4,_0x3e2b30._0x49fad8,0x7b3)});if(_0x5c9952[_0x34af5b(_0x3e2b30._0x1fed6f,_0x3e2b30._0x41cfab,0x8e6,0x782)]instanceof McpError&&_0x5c9952[_0x23f500(0x5bd,0x5d5,0x306,0x467)][_0x23f500(0x617,_0x3e2b30._0x2aaa0e,0x42d,_0x3e2b30._0x40202a)]===ErrorCode[_0x34af5b(0xabe,0x915,0x794,0x970)])return Object[_0x23f500(_0x3e2b30._0x46731b,0x677,_0x3e2b30._0x18949f,_0x3e2b30._0x573aa1)]({'code':'mcp-request-timeout','message':timeoutMessageByOperation[_0x5c9952[_0x34af5b(0xb6b,_0x3e2b30._0x5b7ab3,0x9e9,0x962)]](_0x5c9952[_0x23f500(_0x3e2b30._0x2871ef,0x387,_0x3e2b30._0x353703,_0x3e2b30._0x2dba54)])});const _0x11ca5b=failureByOperation[_0x5c9952['operation']];function _0x34af5b(_0x51a0d5,_0x4d91c5,_0x1bedaa,_0x18df12){return _0x5b2413(_0x51a0d5-_0x39b3b9._0x5c4bc0,_0x4d91c5-_0x39b3b9._0x1b7745,_0x18df12-_0x39b3b9._0x785c2a,_0x51a0d5);}return Object[_0x23f500(0x7e3,_0x3e2b30._0x5ab001,0x6eb,0x665)]({'code':_0x11ca5b[_0x34af5b(_0x3e2b30._0x40b155,_0x3e2b30._0x3880a3,_0x3e2b30._0x299d60,0x943)],'message':_0x11ca5b[_0x34af5b(0xb34,0x888,0x8dd,0x988)](_0x5c9952[_0x23f500(0x2ac,_0x3e2b30._0x7490f8,_0x3e2b30._0x3dd13a,_0x3e2b30._0x566a5a)])});}function redactMcpDiagnostic(_0xac0d7d,_0x178476){const _0x3f04ff={_0x36b27a:0x616,_0x437b62:0x889,_0x7e523e:0x7f0,_0x518b76:0x7c8,_0x376001:0x6d0,_0x1c789d:0x610,_0x40cd47:0x7f0,_0x54b6e8:0x339,_0xe39311:0x202,_0x2343f3:0x29a},_0x19fa24={_0x4ca59c:0x19c,_0x1af178:0x28},_0x2ac692={_0x5b697f:0x1a6,_0x1a9325:0xc6,_0x5aff56:0x120};function _0x4407f4(_0x358f99,_0x3c833c,_0xb609e0,_0x2a4280){return _0x5b2413(_0x358f99-_0x2ac692._0x5b697f,_0x3c833c-_0x2ac692._0x1a9325,_0xb609e0- -_0x2ac692._0x5aff56,_0x3c833c);}const _0x1de2f2=[...new Set(_0x178476[_0x4407f4(_0x3f04ff._0x36b27a,0x676,0x704,_0x3f04ff._0x437b62)](_0x579d1c=>_0x579d1c[_0x4b0ecc(0x2b2,0x234,0x26b,0x251)]>0x0))][_0x4b0ecc(-0x34,0xcd,-0x145,-0x30)]((_0x40b271,_0x2cbb3b)=>_0x2cbb3b[_0x4407f4(0x6f1,0x9b1,0x7c8,0x907)]-_0x40b271[_0x4407f4(0x7aa,0x92d,0x7c8,0x92c)]);function _0x4b0ecc(_0x2628a8,_0x21a425,_0x5c64b8,_0x278f47){return _0x28bc81(_0x2628a8-_0x19fa24._0x4ca59c,_0x21a425-_0x19fa24._0x1af178,_0x278f47- -0x2f8,_0x2628a8);}if(_0xac0d7d[_0x4407f4(_0x3f04ff._0x7e523e,0x86f,_0x3f04ff._0x518b76,_0x3f04ff._0x376001)]===0x0||_0x1de2f2[_0x4407f4(_0x3f04ff._0x1c789d,0x820,0x7c8,_0x3f04ff._0x40cd47)]===0x0)return _0xac0d7d;let _0x41408e='',_0x39e395=0x0;while(_0x39e395<_0xac0d7d['length']){const _0x505c33=_0x1de2f2[_0x4b0ecc(0x290,0x2e0,_0x3f04ff._0x54b6e8,_0x3f04ff._0xe39311)](_0x32c45e=>_0xac0d7d['startsWith'](_0x32c45e,_0x39e395));_0x505c33?(_0x41408e+=_0x4b0ecc(_0x3f04ff._0x2343f3,-0x8,0x10a,0x95),_0x39e395+=_0x505c33['length']):(_0x41408e+=_0xac0d7d[_0x39e395],_0x39e395+=0x1);}return _0x41408e;}var ownedMcpSafeErrors=new WeakMap();function isWeakMapKey(_0x3eb25b){const _0x52d553={_0x3e4992:0x55,_0x5766ca:0x5ba,_0x20014b:0x3de,_0x150fb8:0x458},_0x1a987b={_0x26f28a:0x17f},_0x72ba3e={_0x2d3d17:0xd,_0x122ba8:0x118};function _0xacfcfb(_0x2746e9,_0x56386e,_0x3d8554,_0x90bb9b){return _0x28bc81(_0x2746e9-_0x72ba3e._0x2d3d17,_0x56386e-_0x72ba3e._0x122ba8,_0x56386e- -0x1bf,_0x90bb9b);}function _0x23903e(_0x5045cf,_0x12a7e2,_0xf48db8,_0x280ce9){return _0x28bc81(_0x5045cf-_0x1a987b._0x26f28a,_0x12a7e2-0xbd,_0x280ce9- -0x39d,_0x12a7e2);}return typeof _0x3eb25b===_0x23903e(_0x52d553._0x3e4992,0xc5,-0x146,-0x138)&&_0x3eb25b!==null||typeof _0x3eb25b===_0xacfcfb(_0x52d553._0x5766ca,0x40a,_0x52d553._0x20014b,_0x52d553._0x150fb8);}function createOwnedMcpSafeError(_0x2721e5){const _0x2f4ce8={_0x50d1ec:0x981,_0x517434:0xa57,_0x45f479:0x9ce,_0xa35377:0x474,_0x3fdaa8:0x2e8,_0x30fcc2:0x4f4},_0x1f13e6={_0xacd1d3:0x22,_0x37e103:0xf4,_0x54b466:0x51},_0x4556b9={_0x269d32:0x3d};function _0x4dabe7(_0x4c6327,_0x5654ee,_0xa5bec4,_0xc89978){return _0x28bc81(_0x4c6327-0x16,_0x5654ee-0x1da,_0x4c6327-_0x4556b9._0x269d32,_0x5654ee);}const _0x5c6724=toMcpSafeError(_0x2721e5);function _0x304d93(_0x3c611f,_0x1a75cb,_0x267032,_0xa489c1){return _0x5b2413(_0x3c611f-_0x1f13e6._0xacd1d3,_0x1a75cb-_0x1f13e6._0x37e103,_0xa489c1-_0x1f13e6._0x54b466,_0x267032);}const _0x34ae7c=Object['freeze']({'code':_0x5c6724['code'],'message':_0x5c6724[_0x304d93(0xb01,_0x2f4ce8._0x50d1ec,_0x2f4ce8._0x517434,_0x2f4ce8._0x45f479)]});return ownedMcpSafeErrors[_0x4dabe7(_0x2f4ce8._0xa35377,0x61d,_0x2f4ce8._0x3fdaa8,_0x2f4ce8._0x30fcc2)](_0x5c6724,_0x34ae7c),_0x5c6724;}function extractOwnedMcpSafeError(_0x1b3cb2){const _0x45510f={_0x5e741f:0x3c0,_0x3335f4:0x397,_0x41808d:0x2f7,_0x131340:0x2d4,_0xc43bb3:0x673,_0x3eae22:0x378,_0x1a909e:0x54a},_0x440938={_0x5188bb:0xf9},_0x4aefdd={_0xf840a6:0x69,_0x30d1ef:0x496};function _0x264d73(_0xcf14a9,_0x428ca5,_0x5aa663,_0x2a6e99){return _0x5b2413(_0xcf14a9-_0x4aefdd._0xf840a6,_0x428ca5-0x15e,_0x428ca5- -_0x4aefdd._0x30d1ef,_0xcf14a9);}if(!isWeakMapKey(_0x1b3cb2))return void 0x0;const _0x5d7268=ownedMcpSafeErrors[_0xea54d(0x28e,0x136,_0x45510f._0x5e741f,0xff)](_0x1b3cb2);if(!_0x5d7268)return void 0x0;function _0xea54d(_0x5ea58f,_0x3d6470,_0x16fd1a,_0x47a117){return _0x28bc81(_0x5ea58f-_0x440938._0x5188bb,_0x3d6470-0xd0,_0x5ea58f- -0x303,_0x3d6470);}const _0xaa5f55=Object[_0xea54d(0x2d3,_0x45510f._0x3335f4,_0x45510f._0x41808d,0x30d)]({'code':_0x5d7268[_0x264d73(0x6bf,0x4a2,_0x45510f._0x131340,_0x45510f._0xc43bb3)],'message':_0x5d7268[_0x264d73(0x701,0x4e7,0x4c7,0x4dc)]});return ownedMcpSafeErrors[_0x264d73(_0x45510f._0x3eae22,0x340,_0x45510f._0x1a909e,0x320)](_0xaa5f55,_0x5d7268),_0xaa5f55;}function ownValue(_0xc23d94,_0x1a8a03){return _0xc23d94&&Object['hasOwn'](_0xc23d94,_0x1a8a03)?_0xc23d94[_0x1a8a03]:void 0x0;}function isToolPermissionClass(_0x59839c){const _0x113f49={_0x4818e5:0x3ad,_0x57df91:0x34f,_0x43fa0d:0x8d4,_0x594c77:0x6c3},_0x599574={_0x2ae92b:0x22d},_0x359f0b={_0x777a18:0x308};function _0x361c6e(_0x41bc86,_0x57ed84,_0x13f732,_0x36ed2e){return _0x5b2413(_0x41bc86-0xa1,_0x57ed84-0x47,_0x13f732- -_0x359f0b._0x777a18,_0x57ed84);}function _0x1cc47d(_0x2dc9b7,_0x1a2708,_0x111c24,_0x3dfeb4){return _0x5b2413(_0x2dc9b7-0x177,_0x1a2708-0x1be,_0x3dfeb4- -_0x599574._0x2ae92b,_0x1a2708);}return _0x59839c===_0x361c6e(0x243,_0x113f49._0x4818e5,_0x113f49._0x57df91,0x2fe)||_0x59839c===_0x1cc47d(0x6b4,_0x113f49._0x43fa0d,0x5ce,_0x113f49._0x594c77)||_0x59839c==='always-confirm';}function suggestedPermissionClass(_0x24c455){const _0x41d2e3={_0x493711:0x758,_0x4b68b8:0x617,_0x34a4ae:0x599,_0x163cec:0x75c,_0x35aee8:0x77f,_0x19b4cf:0x5c8,_0x5025a9:0x584,_0x2a3349:0x5d6,_0x57522a:0x92f,_0x3696a5:0x81d,_0x6a0822:0x82a},_0x5dbe80={_0x27b85f:0x1d6,_0x25ee46:0x17c,_0x2d3383:0x2cc},_0x2200ee={_0x551c98:0x47};function _0x2f42d2(_0x360aaa,_0x138e29,_0x312ab6,_0x36aa8a){return _0x5b2413(_0x360aaa-0x1a,_0x138e29-0x150,_0x312ab6-_0x2200ee._0x551c98,_0x138e29);}const _0x45246a=_0x24c455[_0x1fb552(_0x41d2e3._0x493711,0x4ba,_0x41d2e3._0x4b68b8,_0x41d2e3._0x34a4ae)]?.[_0x2f42d2(_0x41d2e3._0x163cec,0x645,_0x41d2e3._0x35aee8,_0x41d2e3._0x19b4cf)];if(_0x45246a===!![])return _0x1fb552(0x604,0x486,_0x41d2e3._0x5025a9,_0x41d2e3._0x2a3349);if(_0x45246a===![])return _0x1fb552(0x80d,_0x41d2e3._0x57522a,_0x41d2e3._0x3696a5,_0x41d2e3._0x6a0822);function _0x1fb552(_0xa9429e,_0x27bc7f,_0x192dcd,_0x211b69){return _0x28bc81(_0xa9429e-_0x5dbe80._0x27b85f,_0x27bc7f-_0x5dbe80._0x25ee46,_0x192dcd-_0x5dbe80._0x2d3383,_0xa9429e);}return void 0x0;}function isJsonValue(_0x5dc059){const _0x405b7d={_0x4fdc6a:0x216,_0x31fa75:0x14,_0x41ff5d:0x98,_0x114efc:0x26f,_0x5f5042:0x101,_0x5b359b:0x1c,_0x1fee2d:0x119,_0x2241c8:0xb7,_0x181e5f:0x39,_0x4b80ec:0xc3,_0x279d0b:0x28b,_0x2a355d:0x150,_0x571a1b:0x145},_0x5b7cff={_0x1e1c7e:0x16a,_0x1ddd39:0x307},_0x3ac97c={_0xf7f445:0x2f};function _0x332724(_0x526b3f,_0xca2f9a,_0x5a2497,_0x38b577){return _0x5b2413(_0x526b3f-_0x3ac97c._0xf7f445,_0xca2f9a-0xca,_0x38b577- -0x182,_0xca2f9a);}function _0x116fe1(_0x3b198e,_0x11a765,_0x3282ff,_0x47fd9a){return _0x28bc81(_0x3b198e-_0x5b7cff._0x1e1c7e,_0x11a765-0xbd,_0x47fd9a- -_0x5b7cff._0x1ddd39,_0x11a765);}if(_0x5dc059===null||typeof _0x5dc059===_0x116fe1(-_0x405b7d._0x4fdc6a,-_0x405b7d._0x31fa75,-_0x405b7d._0x41ff5d,-0x71)||typeof _0x5dc059===_0x116fe1(_0x405b7d._0x114efc,_0x405b7d._0x5f5042,-_0x405b7d._0x5b359b,_0x405b7d._0x1fee2d)||typeof _0x5dc059==='boolean')return!![];if(Array[_0x116fe1(-0x2bc,_0x405b7d._0x2241c8,-_0x405b7d._0x181e5f,-_0x405b7d._0x4b80ec)](_0x5dc059))return _0x5dc059[_0x116fe1(_0x405b7d._0x279d0b,_0x405b7d._0x2a355d,-0x58,_0x405b7d._0x571a1b)](isJsonValue);if(!isObject(_0x5dc059))return![];return Object['values'](_0x5dc059)[_0x332724(0x779,0x56f,0x82d,0x669)](isJsonValue);}function projectMcpTools(_0x3ed200){const _0x5d6c8e={_0x14659a:0x4bb,_0x414317:0x453,_0x3a2eb5:0x547,_0x3ca065:0x8a3,_0x594412:0x743,_0x1feec8:0x7a1,_0x5d9f5f:0x62d,_0x11b466:0x767,_0x477dec:0x587,_0x139b33:0x841,_0x60e4:0x7cf,_0x26fa52:0x78b,_0x1078c1:0x5bf,_0x54aeea:0x338,_0x400cef:0x615,_0x3075a8:0x4e6,_0x50ab52:0x499,_0x1d4964:0x5ee,_0x5014ff:0x406,_0x1b4d70:0x7b4,_0x5e7bd4:0x7ea,_0x4c63f7:0x6f3,_0x3c0d45:0x179,_0x481f50:0x32c},_0x469db7={_0x5c2c2a:0x63,_0x47d244:0x2cd},_0x5cc51c=[],_0x209241=[];function _0x10471b(_0x4fe032,_0x299ff9,_0x364e5d,_0x147d7c){return _0x28bc81(_0x4fe032-0x15c,_0x299ff9-_0x469db7._0x5c2c2a,_0x364e5d-_0x469db7._0x47d244,_0x147d7c);}for(const _0x19d342 of _0x3ed200[_0x24baf7(_0x5d6c8e._0x14659a,0x575,_0x5d6c8e._0x414317,_0x5d6c8e._0x3a2eb5)]){const _0x3dd844=ownValue(_0x3ed200[_0x24baf7(0x255,0x526,0x471,0x327)],_0x19d342['name']),_0x21909e=isToolPermissionClass(_0x3dd844)?_0x3dd844:void 0x0,_0x32f501=_0x21909e??'always-confirm',_0x3a5388=suggestedPermissionClass(_0x19d342);_0x209241['push']({'name':_0x19d342[_0x10471b(_0x5d6c8e._0x3ca065,0x965,_0x5d6c8e._0x594412,_0x5d6c8e._0x1feec8)],..._0x19d342[_0x24baf7(_0x5d6c8e._0x5d9f5f,_0x5d6c8e._0x11b466,_0x5d6c8e._0x477dec,0x3f1)]!==void 0x0?{'description':_0x19d342[_0x10471b(_0x5d6c8e._0x139b33,0x824,_0x5d6c8e._0x60e4,_0x5d6c8e._0x26fa52)]}:{},...isJsonValue(_0x19d342['inputSchema'])?{'inputSchema':_0x19d342[_0x10471b(0x946,0x64a,0x73f,0x5e4)]}:{},'permissionClass':_0x32f501,'permissionConfigured':_0x21909e!==void 0x0,..._0x3a5388!==void 0x0?{'suggestedPermissionClass':_0x3a5388}:{}});if(ownValue(_0x3ed200[_0x24baf7(0x52a,0x726,0x5ca,0x4d5)],_0x19d342[_0x10471b(0x6d5,_0x5d6c8e._0x1078c1,_0x5d6c8e._0x594412,0x7ae)])===![])continue;_0x5cc51c[_0x24baf7(0x4a3,_0x5d6c8e._0x54aeea,0x43b,0x56e)](createMcpTool({'serverName':_0x3ed200[_0x24baf7(_0x5d6c8e._0x400cef,_0x5d6c8e._0x3075a8,_0x5d6c8e._0x50ab52,0x295)]??_0x3ed200[_0x24baf7(_0x5d6c8e._0x1d4964,0x534,_0x5d6c8e._0x5014ff,0x503)],'tool':_0x19d342,'client':_0x3ed200[_0x10471b(_0x5d6c8e._0x1b4d70,_0x5d6c8e._0x5e7bd4,0x602,_0x5d6c8e._0x4c63f7)],'permissionClass':_0x32f501,'internalLifecycle':_0x3ed200[_0x24baf7(_0x5d6c8e._0x3c0d45,0x12d,0x286,_0x5d6c8e._0x481f50)]}));}function _0x24baf7(_0x1829e7,_0x2f2741,_0x37507c,_0x789f33){return _0x28bc81(_0x1829e7-0x88,_0x2f2741-0x141,_0x37507c-0x85,_0x2f2741);}return{'tools':_0x5cc51c,'descriptors':_0x209241};}function createMcpToolName(_0x69cf4f,_0x4d776e){const _0xc70a1a={_0x389060:0x77c,_0x12a869:0x37a,_0x5f13a4:0x58e},_0x40dcc8={_0x466448:0x12f,_0x50dcf9:0x69},_0x46532a={_0x16bf58:0x6c,_0x1f604f:0x701};function _0xa00320(_0x250533,_0x342ddb,_0x50dcbd,_0x2644c4){return _0x5b2413(_0x250533-0x146,_0x342ddb-_0x46532a._0x16bf58,_0x2644c4- -_0x46532a._0x1f604f,_0x250533);}const _0x5ab09b=_0x39c458=>_0x39c458[_0xa00320(0x20e,0xb6,0x1f4,0x1f5)](/[^a-zA-Z0-9_]+/g,'_')['replace'](/^_+|_+$/g,'');function _0x28c59c(_0xd82be5,_0x2dcf34,_0x35c6af,_0x3c9019){return _0x28bc81(_0xd82be5-_0x40dcc8._0x466448,_0x2dcf34-_0x40dcc8._0x50dcf9,_0x3c9019- -0x39,_0x35c6af);}return _0x28c59c(0x3e6,_0xc70a1a._0x389060,_0xc70a1a._0x12a869,_0xc70a1a._0x5f13a4)+_0x5ab09b(_0x69cf4f)+'_'+_0x5ab09b(_0x4d776e);}function isObject(_0x1a88ea){const _0x253327={_0x45cd0e:0x151,_0x3dae23:0x1e4,_0x31e11a:0x21f},_0x52fe99={_0x279dcc:0x2e,_0x5aacf3:0x11a,_0x19afbb:0xf5},_0x527377={_0x414ff4:0x30,_0x46e2ab:0x114};function _0x338a9a(_0x2e48cb,_0x52b8c9,_0x149f29,_0x1c07c0){return _0x28bc81(_0x2e48cb-_0x527377._0x414ff4,_0x52b8c9-0x46,_0x2e48cb- -_0x527377._0x46e2ab,_0x149f29);}function _0x20e1e9(_0x21af92,_0x257747,_0x292097,_0xb1b34a){return _0x28bc81(_0x21af92-_0x52fe99._0x279dcc,_0x257747-_0x52fe99._0x5aacf3,_0x21af92- -_0x52fe99._0x19afbb,_0x292097);}return typeof _0x1a88ea===_0x338a9a(_0x253327._0x45cd0e,_0x253327._0x3dae23,0x92,-0xaf)&&_0x1a88ea!==null&&!Array[_0x20e1e9(0x14f,-0xb4,0x2eb,_0x253327._0x31e11a)](_0x1a88ea);}function toSupportedSchema(_0x4fbabb){const _0x4009ab={_0x4bbf70:0x5a0,_0x492469:0x3c6,_0x35c1dc:0x1ad,_0x3cb7a1:0x675,_0x5f3e64:0x543,_0x402ba1:0x5cb,_0xa34b79:0x6de,_0x5e9c6b:0x515,_0x539b9e:0x46b,_0x4fcca5:0x720,_0x419e62:0x6c9,_0x4d2c90:0x378,_0x4aa11d:0x20e,_0x7450b6:0x3d5,_0x2bbc7e:0x668,_0x5b8bb5:0x43b,_0x2691fc:0x517,_0x17f602:0x358,_0xbbac56:0x51a,_0x94fd48:0x3b9,_0xb5e630:0x33c,_0x27abe2:0x284,_0x27cd63:0x3ca,_0x38deca:0x1cb,_0x531b38:0x4a2},_0xd7b5ca={_0x95d0a4:0x19c};if(!isObject(_0x4fbabb))return void 0x0;if(_0x4fbabb['type']===_0x41aa6a(0x5d7,0x64a,0x474,_0x4009ab._0x4bbf70))return{'type':_0xa2507b(0x496,_0x4009ab._0x492469,_0x4009ab._0x35c1dc,0x334)};function _0x41aa6a(_0x5eb442,_0x15f64d,_0x1cad10,_0x2e47c4){return _0x28bc81(_0x5eb442-0xa1,_0x15f64d-_0xd7b5ca._0x95d0a4,_0x1cad10-0x1de,_0x2e47c4);}if(_0x4fbabb['type']===_0x41aa6a(_0x4009ab._0x3cb7a1,_0x4009ab._0x5f3e64,0x5fe,0x504)||_0x4fbabb[_0x41aa6a(_0x4009ab._0x402ba1,_0x4009ab._0xa34b79,_0x4009ab._0x5e9c6b,_0x4009ab._0x539b9e)]==='integer')return{'type':_0x41aa6a(_0x4009ab._0x4fcca5,0x410,0x5fe,_0x4009ab._0x419e62)};function _0xa2507b(_0x4c4301,_0x32da6d,_0xcbb0d9,_0x40a744){return _0x5b2413(_0x4c4301-0x150,_0x32da6d-0x1aa,_0x40a744- -0x301,_0x32da6d);}if(_0x4fbabb[_0xa2507b(_0x4009ab._0x4d2c90,_0x4009ab._0x4aa11d,0x4f7,_0x4009ab._0x7450b6)]===_0xa2507b(0x3a3,_0x4009ab._0x2bbc7e,0x441,0x5c2))return{'type':'boolean'};if(_0x4fbabb[_0x41aa6a(0x603,_0x4009ab._0x5b8bb5,_0x4009ab._0x5e9c6b,_0x4009ab._0x2691fc)]===_0xa2507b(_0x4009ab._0x17f602,_0x4009ab._0xbbac56,_0x4009ab._0x94fd48,0x398))return{'type':_0xa2507b(0x47a,_0x4009ab._0xb5e630,0x4f7,0x398),'items':toSupportedSchema(_0x4fbabb['items'])??{'type':_0xa2507b(0x1ff,_0x4009ab._0x27abe2,_0x4009ab._0x27cd63,0x334)}};if(_0x4fbabb[_0xa2507b(0x5e0,_0x4009ab._0x38deca,_0x4009ab._0x531b38,_0x4009ab._0x7450b6)]==='object')return toNuvinToolSchema(_0x4fbabb);return void 0x0;}function toNuvinToolSchema(_0x5a1b17){const _0x3470c5={_0x224e39:0x35f,_0x4408aa:0x13b,_0x5f539a:0x93,_0x31eb39:0xa2,_0xe1f386:0x18a,_0x218ec3:0x93,_0x1df685:0x2b4,_0x2a4493:0x180,_0x3baccf:0x28d,_0x5a62c0:0x216,_0x41c50e:0xb2,_0xa4b206:0x2dd},_0x30aad9={_0x13d054:0xc0,_0x529f20:0x13f},_0x594fd1={_0x53f074:0x47,_0x19918a:0x571};function _0x40d5db(_0x587c2d,_0x28bf21,_0x1576fb,_0x10c988){return _0x5b2413(_0x587c2d-0xe0,_0x28bf21-_0x594fd1._0x53f074,_0x1576fb- -_0x594fd1._0x19918a,_0x587c2d);}if(!isObject(_0x5a1b17)||_0x5a1b17[_0x40d5db(-0x43,0x328,0x165,_0x3470c5._0x224e39)]!==_0x40d5db(_0x3470c5._0x4408aa,0x219,_0x3470c5._0x5f539a,-_0x3470c5._0x31eb39))return{'type':_0x40d5db(_0x3470c5._0xe1f386,-0xd6,_0x3470c5._0x218ec3,_0x3470c5._0x1df685),'properties':{}};const _0x37d734={};function _0x109e91(_0xe674ef,_0x4c1b60,_0x487aaf,_0x3f1785){return _0x28bc81(_0xe674ef-_0x30aad9._0x13d054,_0x4c1b60-_0x30aad9._0x529f20,_0x487aaf- -0x3a8,_0x4c1b60);}const _0x5e386c=isObject(_0x5a1b17[_0x40d5db(0x35e,0x16c,0x320,_0x3470c5._0x2a4493)])?_0x5a1b17['properties']:{};for(const [_0x8e774b,_0xc468a4]of Object[_0x109e91(0xeb,-0x11b,-0xf8,0x18)](_0x5e386c)){const _0x597786=toSupportedSchema(_0xc468a4);if(_0x597786)_0x37d734[_0x8e774b]=_0x597786;}const _0x1e2768=Array['isArray'](_0x5a1b17['required'])?_0x5a1b17['required'][_0x109e91(_0x3470c5._0x3baccf,-0x11a,0xdd,0x1e3)](_0x1cb38a=>typeof _0x1cb38a===_0x109e91(0x38,-0x31,-0x112,-0x130)):void 0x0;return _0x1e2768?.['length']?{'type':_0x40d5db(_0x3470c5._0x5a62c0,0x58,0x93,0x288),'properties':_0x37d734,'required':_0x1e2768}:{'type':_0x109e91(_0x3470c5._0x41c50e,-_0x3470c5._0xa4b206,-0x143,-0x2c4),'properties':_0x37d734};}function isJsonObject(_0x3b4472){const _0x4febbc={_0x153f3a:0x4fe},_0x3b6afd={_0x3f40a1:0x21,_0x413d88:0x31f};function _0xfa03a8(_0x47212e,_0x19f1d9,_0x4a3202,_0x26cff9){return _0x28bc81(_0x47212e-0x8e,_0x19f1d9-_0x3b6afd._0x3f40a1,_0x26cff9-_0x3b6afd._0x413d88,_0x19f1d9);}return typeof _0x3b4472===_0xfa03a8(_0x4febbc._0x153f3a,0x4b3,0x49b,0x584)&&_0x3b4472!==null&&!Array['isArray'](_0x3b4472);}function formatMcpContent(_0x3e5e37){const _0x5b70bd={_0x5332c3:0x59a,_0x2ca22d:0x628,_0x2ace0c:0x296,_0x2c1b55:0x358,_0x20006d:0x15a,_0x9bfa21:0x39e,_0x1aced7:0x30f,_0x589a23:0x472,_0x17033b:0x27d,_0x3cc918:0x4e3,_0x3c3c66:0x3be,_0x3a40e5:0x48f},_0x35b08d={_0x41bab6:0x989,_0x18f245:0x6b7,_0x1a72dd:0x7f3,_0x1c6f4a:0x4c8,_0x57df7d:0x506,_0x4f984f:0x663,_0x1da76b:0x6c9,_0x16fee8:0x847,_0x54aa14:0xad8,_0x5f5b4f:0x8e2},_0x26c416={_0x10c0a9:0x151},_0x186758={_0x15dcfc:0x10e,_0x10828b:0x2cb},_0x5bddd5={_0x58af5c:0xfa},_0x4c3dba=Array[_0x528f9c(0x3d6,_0x5b70bd._0x5332c3,_0x5b70bd._0x2ca22d,0x50f)](_0x3e5e37['content'])?_0x3e5e37[_0x4e51d7(_0x5b70bd._0x2ace0c,_0x5b70bd._0x2c1b55,0x303,_0x5b70bd._0x20006d)]:[];function _0x4e51d7(_0x270f0f,_0x33d6bf,_0x136c20,_0x538e5d){return _0x5b2413(_0x270f0f-_0x5bddd5._0x58af5c,_0x33d6bf-0x109,_0x33d6bf- -0x515,_0x270f0f);}function _0x528f9c(_0x3f72f3,_0x46f974,_0x51f0f5,_0x2c49c8){return _0x28bc81(_0x3f72f3-0x189,_0x46f974-_0x186758._0x15dcfc,_0x2c49c8-_0x186758._0x10828b,_0x51f0f5);}const _0x356ac1=_0x4c3dba[_0x528f9c(0x690,0x6db,0xa5b,0x89c)](_0x489b8a=>{const _0x4c0a39={_0x5b712e:0xc4};function _0x2dc21c(_0x3fc47e,_0x250e9f,_0x4a9c01,_0x3f3f1d){return _0x528f9c(_0x3fc47e-_0x26c416._0x10c0a9,_0x250e9f-0x107,_0x250e9f,_0x4a9c01-0x102);}function _0x220429(_0x2799e3,_0x459b63,_0x3a3d29,_0x4fa829){return _0x528f9c(_0x2799e3-0xd9,_0x459b63-_0x4c0a39._0x5b712e,_0x2799e3,_0x4fa829-0xe3);}if(!isObject(_0x489b8a))return'';if(_0x489b8a['type']==='text'&&typeof _0x489b8a[_0x2dc21c(_0x35b08d._0x41bab6,_0x35b08d._0x18f245,_0x35b08d._0x1a72dd,0x938)]===_0x2dc21c(_0x35b08d._0x1c6f4a,_0x35b08d._0x57df7d,_0x35b08d._0x4f984f,0x5a3))return _0x489b8a[_0x220429(0x622,0x7e1,_0x35b08d._0x1da76b,0x7d4)];return JSON[_0x220429(_0x35b08d._0x16fee8,0x6cd,_0x35b08d._0x54aa14,_0x35b08d._0x5f5b4f)](_0x489b8a);})[_0x4e51d7(_0x5b70bd._0x9bfa21,_0x5b70bd._0x1aced7,_0x5b70bd._0x589a23,_0x5b70bd._0x17033b)](_0x1d5d64=>_0x1d5d64[_0x4e51d7(0x25f,0x3d3,0x2bc,0x51a)]>0x0)['join']('\x0a');if(_0x356ac1['length']>0x0)return _0x356ac1;return JSON[_0x4e51d7(_0x5b70bd._0x3cc918,_0x5b70bd._0x3c3c66,0x4a8,_0x5b70bd._0x3a40e5)](_0x3e5e37,null,0x2);}function createMcpTool(_0x348de6){const _0xd957a8={_0x15aecc:0x26e,_0x51d17f:0x754,_0x4495bc:0x834,_0x4afebe:0x6be,_0x4e2e78:0x6b1,_0x577dc1:0x7d6,_0x13a915:0x8be,_0x452594:0x6e7,_0x68f9fc:0x949,_0x44dae6:0x7b0,_0x42f6db:0x2f1,_0x5f45e9:0x65e,_0x1b9207:0x58b,_0x351fb4:0x60c,_0x15bbb0:0x6d0,_0x41c7b1:0x621,_0x953355:0x7cf,_0x5970ea:0x754,_0x4e8d4e:0x929,_0x1e72dd:0x6d5,_0x4e3f05:0x340,_0x11b176:0x2b9,_0x5de2ef:0x1da,_0x5ae0ee:0x4f6,_0x4aa480:0x7cc,_0x22643b:0x6ad,_0x5321c0:0x7c4},_0xaa3cd6={_0x276126:0x534,_0xb5f0c1:0x589,_0x590bd6:0x700,_0x2d024e:0x7b6,_0x1d8679:0x380,_0x4b9a93:0x5c1,_0x5800c3:0x75c,_0x59a0f1:0x413,_0x253d27:0x6a7,_0x2dbbcc:0x75a,_0x2f63bf:0x559},_0x238e8d={_0x170178:0xd7,_0x29e0ba:0x1b5},_0x4768c4={_0x1e6adb:0x1e3,_0x46f662:0x2e8},_0x5e0ab3={_0x126a2d:0xae,_0x2d70d5:0x164};function _0x3ad97a(_0x1e7e0d,_0x506025,_0x520441,_0x17060b){return _0x5b2413(_0x1e7e0d-0x105,_0x506025-_0x5e0ab3._0x126a2d,_0x1e7e0d- -_0x5e0ab3._0x2d70d5,_0x506025);}function _0x5f090b(_0x101132,_0x1ca1fc,_0xd57175,_0x2da11b){return _0x5b2413(_0x101132-_0x4768c4._0x1e6adb,_0x1ca1fc-0xd3,_0xd57175- -_0x4768c4._0x46f662,_0x101132);}const _0x53a9dc=createMcpToolName(_0x348de6[_0x5f090b(0x2e0,_0xd957a8._0x15aecc,0x438,0x236)],_0x348de6[_0x3ad97a(_0xd957a8._0x51d17f,_0xd957a8._0x4495bc,0x58e,_0xd957a8._0x4afebe)][_0x3ad97a(_0xd957a8._0x4e2e78,0x4a8,_0xd957a8._0x577dc1,_0xd957a8._0x13a915)]);return defineTool({'name':_0x53a9dc,'permissionClass':_0x348de6[_0x3ad97a(0x764,_0xd957a8._0x452594,_0xd957a8._0x68f9fc,0x90e)],..._0x348de6[_0x3ad97a(0x66c,0x463,0x4b8,_0xd957a8._0x44dae6)]!==void 0x0?{'internalLifecycle':_0x348de6[_0x5f090b(_0xd957a8._0x42f6db,_0xd957a8._0x5f45e9,0x4e8,_0xd957a8._0x1b9207)]}:{},'description':_0x348de6[_0x5f090b(0x735,_0xd957a8._0x351fb4,0x5d0,0x7c5)]['description']??_0x3ad97a(0x7d6,_0xd957a8._0x15bbb0,_0xd957a8._0x41c7b1,_0xd957a8._0x953355)+_0x348de6[_0x3ad97a(_0xd957a8._0x5970ea,_0xd957a8._0x4e8d4e,0x7f9,0x556)][_0x3ad97a(_0xd957a8._0x4e2e78,0x53b,0x71b,_0xd957a8._0x1e72dd)]+_0x5f090b(_0xd957a8._0x4e3f05,0x213,_0xd957a8._0x11b176,_0xd957a8._0x5de2ef)+_0x348de6['serverName'],'inputSchema':toNuvinToolSchema(_0x348de6[_0x5f090b(0x52a,_0xd957a8._0x5ae0ee,0x5d0,_0xd957a8._0x4aa480)][_0x3ad97a(_0xd957a8._0x22643b,0x689,0x899,_0xd957a8._0x5321c0)]),async *'execute'(_0x3d1db5){const _0x49944a={_0x1237fe:0x189,_0x24002a:0xe1};function _0x477567(_0x19a91f,_0x1a0b3f,_0x42fe72,_0x4fdbe6){return _0x5f090b(_0x1a0b3f,_0x1a0b3f-0x184,_0x19a91f-_0x49944a._0x1237fe,_0x4fdbe6-_0x49944a._0x24002a);}let _0xedf7af;try{_0xedf7af=await _0x348de6['client'][_0x477567(0x490,0x60f,_0xaa3cd6._0x276126,_0xaa3cd6._0xb5f0c1)]({'name':_0x348de6['tool'][_0x561d4d(0x6da,_0xaa3cd6._0x590bd6,0x716,0x737)],'arguments':isJsonObject(_0x3d1db5)?_0x3d1db5:{}});if(_0xedf7af[_0x477567(0x5a3,_0xaa3cd6._0x2d024e,0x6d7,_0xaa3cd6._0x1d8679)])throw toMcpSafeError({'serverName':_0x348de6[_0x477567(_0xaa3cd6._0x4b9a93,_0xaa3cd6._0x5800c3,0x6c5,_0xaa3cd6._0x59a0f1)],'operation':'toolCall','error':_0xedf7af});}catch(_0x1eb4a2){throw extractOwnedMcpSafeError(_0x1eb4a2)??toMcpSafeError({'serverName':_0x348de6['serverName'],'operation':_0x561d4d(0x68b,0x4b2,_0xaa3cd6._0x253d27,0x325),'error':_0x1eb4a2});}function _0x561d4d(_0x3f64f7,_0x1cea49,_0x420e8b,_0x10f093){return _0x5f090b(_0x3f64f7,_0x1cea49-_0x238e8d._0x170178,_0x1cea49-0x1d3,_0x10f093-_0x238e8d._0x29e0ba);}return yield createToolOutput(formatMcpContent(_0xedf7af),{'serverName':_0x348de6['serverName'],'toolName':_0x348de6[_0x477567(0x759,0x69f,_0xaa3cd6._0x2dbbcc,_0xaa3cd6._0x2f63bf)]['name'],'result':_0xedf7af}),void 0x0;}});}var DEFAULT_MCP_TIMEOUT_MS=0xea60;function createMcpTimeoutSource(_0x35ae77){let _0x2eec90=_0x35ae77;return{'get'(){return _0x2eec90;},'set'(_0x5cb4cd){_0x2eec90=_0x5cb4cd;}};}function resolveMcpTimeoutMs(_0x54e611,_0x2b97db){const _0xd1eeda={_0x1dcb7f:0x3eb};function _0x27204f(_0x1b403c,_0x69bad4,_0x4c3916,_0x2e8a24){return _0x5b2413(_0x1b403c-0xb1,_0x69bad4-0x105,_0x2e8a24- -0x475,_0x69bad4);}return _0x54e611[_0x27204f(0x445,0x2b4,0x298,_0xd1eeda._0x1dcb7f)]??_0x2b97db??DEFAULT_MCP_TIMEOUT_MS;}function mapOwnedMcpBoundaryError(_0x4a5ecf,_0x567432){const _0x4ebd44={_0x4c7afd:0x50c,_0x58e7ca:0x322},_0x25cd92={_0x3a503d:0x1a6};function _0xebb0f6(_0x49b3b0,_0x1060e6,_0x21928b,_0xccc827){return _0x5b2413(_0x49b3b0-0x123,_0x1060e6-_0x25cd92._0x3a503d,_0x49b3b0- -0x26b,_0xccc827);}return(_0x567432?extractOwnedMcpSafeError(_0x4a5ecf[_0xebb0f6(_0x4ebd44._0x4c7afd,0x3b6,_0x4ebd44._0x58e7ca,0x3df)]):void 0x0)??createOwnedMcpSafeError(_0x4a5ecf);}function createMcpGenerationLifecycle(_0x4e8aab){const _0x226b89={_0x1f9347:0x3b5,_0x1ffcb9:0x160},_0x3f23b7={_0x3bd8b1:0x145,_0x106f2b:0x82,_0x5d9d34:0x5,_0x5d52e4:0x1d3,_0x4bef08:0x342};let _0x414060=0x0,_0x1fdba1=![],_0x143190=![],_0xd805dd,_0x27b688,_0x184fb9;const _0x323b57=()=>{if(!_0x1fdba1||_0x414060!==0x0||_0x143190)return;function _0x44ed2d(_0x5de057,_0x311afa,_0x452433,_0x33835e){return _0x8662(_0x33835e- -0xbe,_0x5de057);}function _0x36d0eb(_0x53228b,_0x7ed101,_0x56ebde,_0x4d3aa5){return _0x8662(_0x53228b- -0x3c7,_0x56ebde);}_0x143190=!![],void Promise[_0x36d0eb(-_0x3f23b7._0x3bd8b1,-_0x3f23b7._0x106f2b,-_0x3f23b7._0x5d9d34,-_0x3f23b7._0x5d52e4)]()['then'](_0x4e8aab)[_0x44ed2d(0x525,0x1a9,_0x3f23b7._0x4bef08,0x371)](_0x27b688,_0x184fb9);};return{'acquire'(){if(_0x1fdba1)throw new Error(_0x588b65(0x21d,_0x226b89._0x1f9347,_0x226b89._0x1ffcb9,0x262));_0x414060+=0x1;function _0x588b65(_0x83c13e,_0x209949,_0x2e9a67,_0x42268c){return _0x8662(_0x83c13e- -0x308,_0x2e9a67);}let _0x17dac3=![];return()=>{if(_0x17dac3)return;_0x17dac3=!![],_0x414060-=0x1,_0x323b57();};},'retire'(){return!_0xd805dd&&(_0xd805dd=new Promise((_0x30a370,_0x39c4f5)=>{_0x27b688=_0x30a370,_0x184fb9=_0x39c4f5;})),_0x1fdba1=!![],_0x323b57(),_0xd805dd;}};}function buildMcpHttpHeaders(_0x5910e1){const _0x3fafe7={_0x53832d:0x366,_0xf9fece:0x428,_0x9020cc:0x26a,_0x35d1e9:0x2f7,_0x19d419:0x242,_0x5a88bc:0x3b7,_0x979d0d:0x405,_0x3e6d8e:0x50b,_0x597cb6:0x7c1,_0xa945d8:0x34a,_0x4766a4:0x50e,_0x46a310:0x547,_0x44607b:0x5b3,_0x266d8e:0x228,_0x4aa630:0x47c,_0xc75c0a:0x4d4,_0xcdc4c:0x3bc},_0x3ec4a5={_0x4cd95f:0x1b,_0x3697c2:0x43},_0x17626d={..._0x5910e1['headers']??{}};function _0x354f54(_0x243ccc,_0x138c83,_0x1e3d20,_0x317e6){return _0x28bc81(_0x243ccc-_0x3ec4a5._0x4cd95f,_0x138c83-_0x3ec4a5._0x3697c2,_0x317e6- -0x18d,_0x1e3d20);}_0x5910e1[_0x354f54(_0x3fafe7._0x53832d,_0x3fafe7._0xf9fece,_0x3fafe7._0x9020cc,_0x3fafe7._0x35d1e9)]?.[_0x354f54(0xfa,_0x3fafe7._0x19d419,_0x3fafe7._0x5a88bc,0x1aa)]===_0x15d7ae(_0x3fafe7._0x979d0d,_0x3fafe7._0x3e6d8e,0x5d0,_0x3fafe7._0x597cb6)&&_0x5910e1['auth'][_0x15d7ae(_0x3fafe7._0xa945d8,0x298,0x3da,0x387)]&&_0x17626d[_0x15d7ae(_0x3fafe7._0x4766a4,0x721,0x5b3,0x405)]===void 0x0&&(_0x17626d[_0x15d7ae(_0x3fafe7._0x46a310,0x444,_0x3fafe7._0x44607b,0x723)]='Bearer\x20'+_0x5910e1['auth'][_0x354f54(_0x3fafe7._0x266d8e,-0xa5,-0x128,0x48)]);function _0x15d7ae(_0x1b4ab5,_0x32da6f,_0x17e152,_0x3eabe0){return _0x28bc81(_0x1b4ab5-0xb2,_0x32da6f-0x7a,_0x17e152-0x205,_0x32da6f);}return Object[_0x15d7ae(0x525,0x2ac,_0x3fafe7._0x4aa630,0x518)](_0x17626d)[_0x354f54(0x1a4,_0x3fafe7._0xc75c0a,0x3c1,_0x3fafe7._0xcdc4c)]>0x0?_0x17626d:void 0x0;}async function connectMcpServer(_0x5a593c,_0x1aa968,_0x3f42b2){const _0x37b540={_0x5726d7:0x455,_0x23e5f2:0x28a,_0x7bc3df:0x11b,_0x31f594:0x571,_0x50fdfa:0x38f,_0x5d783e:0x2c4,_0x24ace6:0x369,_0x3debda:0x27e,_0x3ea8f1:0x534,_0x4cbff0:0x38b,_0x552c68:0x57e,_0x5b0e35:0x544,_0x4615d5:0x568,_0x5662e3:0x6f8,_0x5ad24c:0x54b,_0x18d024:0x5dd,_0x148d8a:0x379,_0x5e404e:0x509,_0x288f48:0x54c,_0x261a89:0x36b,_0x217761:0x4e0,_0xdf8bf6:0x55e,_0x540b0c:0x55b,_0x1c1740:0x4ce,_0x24c7c7:0x386,_0x325f4f:0x544,_0x5f54b0:0x2e3,_0xef3638:0x5d5,_0x51d20f:0x419,_0x1467a7:0x393,_0x67466:0x50c,_0xde79dc:0x3c9,_0x568af6:0x6a7,_0x4e9389:0x485,_0x56c96a:0xe0,_0x573ecb:0x35b,_0x15a5a9:0x3f6,_0x436851:0x3ed,_0x4911da:0x3a7,_0xc0668a:0x48b,_0x1b39d8:0x6fa,_0x27c67e:0x22b,_0x40ceeb:0x428,_0x4c322d:0x531,_0x10998c:0x3a3,_0x44bb29:0x47a,_0x598c1f:0x429,_0x2617c6:0x71f,_0x522387:0x41f,_0x2d3f58:0x6b0,_0x1b59ab:0x5b6,_0x3bb087:0x24e,_0x1a730c:0x44e,_0x54b94a:0x46d,_0x5d1560:0xc4,_0x18c8e3:0x3c7,_0x1fbf9f:0x45a},_0x24c51c={_0x33fb27:0x2fc,_0x5cce50:0x314,_0x24c274:0x71a,_0x3aacb5:0x851,_0xa9fdc:0x69c},_0x1b26da={_0x492132:0xf7,_0x171ec8:0x1d1},_0x546400={_0x4ec3c2:0x2da,_0x148462:0x1ca,_0x4113b8:0x33e,_0x46ff0f:0x10e,_0x59fb7b:0x480,_0x4e277b:0x9ba,_0x3e1bf3:0x978,_0x544fb3:0x597,_0x496b83:0x60f},_0x493970={_0x284e42:0x18d},_0xa7ae75={_0x7deb29:0x451},_0x19fa12={_0x25081c:0x4ea},_0x26c7c1={_0x3abcef:0xda,_0x1f5977:0xb6},_0x43864f={_0x36bb72:0x1b4,_0xb8ccc6:0x304,_0xbdf0cf:0x37,_0x625b58:0x377,_0x350e51:0x433,_0x445abc:0xca,_0x1f394:0xd0,_0x58ad67:0x133},_0x286aa8={_0x348263:0x1d4,_0x2ce012:0x125,_0x12f5af:0x275},_0x16b242={_0xcbb3d3:0xab,_0x515caa:0xec,_0x4e9044:0x6a},_0x33bdb0={_0x3aa71c:0x65},_0x408479={_0x27969c:0x46},_0x536c00={_0x3be10d:0x2b6,_0x2aae97:0x1d0},_0x5c58c5={_0x129f0d:0x1ce},_0x594a96={_0x11c6ca:0x17e,_0x31d904:0x92},_0x4aaf07=new Client({'name':_0xcd2cbf(_0x37b540._0x5726d7,0x242,_0x37b540._0x23e5f2,_0x37b540._0x7bc3df),'version':_0xcd2cbf(_0x37b540._0x31f594,0x34d,_0x37b540._0x50fdfa,_0x37b540._0x5d783e)}),_0x4b96ac=_0x3f42b2?.[_0xcd2cbf(0x2ca,0x3d6,_0x37b540._0x24ace6,_0x37b540._0x3debda)]??createMcpTimeoutSource(DEFAULT_MCP_TIMEOUT_MS),_0x5d2561=new Set();let _0x1599d8,_0x499601=![];function _0x48fe60(_0xd912a3,_0x3f53a5,_0x1a6508,_0x51dc68){return _0x5b2413(_0xd912a3-_0x594a96._0x11c6ca,_0x3f53a5-_0x594a96._0x31d904,_0x51dc68- -0x343,_0x1a6508);}const _0x4d0654=()=>{if(_0x499601||_0x1599d8)return;_0x1599d8={'code':_0x56339d(_0x536c00._0x3be10d,_0x536c00._0x2aae97,0x494,0x9d),'cause':new Error('MCP\x20transport\x20closed\x20unexpectedly')};function _0x56339d(_0x44b1bd,_0x305102,_0x40cdab,_0x574c90){return _0x48fe60(_0x44b1bd-_0x5c58c5._0x129f0d,_0x305102-0x195,_0x305102,_0x44b1bd- -0x11f);}for(const _0x4c22f5 of _0x5d2561){try{_0x4c22f5(_0x1599d8);}catch{}}};_0x4aaf07[_0x48fe60(0x1bd,0x24e,_0x37b540._0x3ea8f1,_0x37b540._0x4cbff0)]=()=>{const _0x479b2d={_0x52efbe:0x4b,_0x122a95:0x127,_0x24dd0c:0x2d};function _0x2206e9(_0x4153ac,_0x5ba117,_0x3ac764,_0x92b15f){return _0x48fe60(_0x4153ac-0x91,_0x5ba117-0x7f,_0x4153ac,_0x3ac764-_0x408479._0x27969c);}function _0x536ad3(_0x349c62,_0x4ba4c1,_0x30554f,_0x5406c7){return _0x48fe60(_0x349c62-_0x479b2d._0x52efbe,_0x4ba4c1-_0x479b2d._0x122a95,_0x30554f,_0x5406c7-_0x479b2d._0x24dd0c);}console['warn'](_0x2206e9(0x523,0x454,0x582,0x699),{'server':_0x5a593c,'code':_0x536ad3(0xa8,0x3fb,_0x33bdb0._0x3aa71c,0x277)});},_0x4aaf07[_0xcd2cbf(0x3cb,_0x37b540._0x552c68,_0x37b540._0x5b0e35,0x3a8)]=_0x4d0654;try{if(_0x1aa968['transport']==='http'||_0x1aa968[_0x48fe60(_0x37b540._0x4615d5,_0x37b540._0x5662e3,0x59d,_0x37b540._0x5ad24c)]){if(!_0x1aa968[_0x48fe60(0x742,0x464,_0x37b540._0x18d024,0x54b)])throw new Error(_0x48fe60(0x368,_0x37b540._0x148d8a,_0x37b540._0x5e404e,_0x37b540._0x288f48)+_0x5a593c+_0xcd2cbf(0x4b8,0x3b0,0x46c,_0x37b540._0x261a89));if(_0x1aa968[_0x48fe60(0x38c,0x683,0x502,_0x37b540._0x217761)]?.[_0x48fe60(0x2c3,0x58c,0x1c8,0x393)]===_0x48fe60(_0x37b540._0xdf8bf6,_0x37b540._0x540b0c,_0x37b540._0x1c1740,0x485)&&!_0x3f42b2?.['oauth'])throw new Error(_0x48fe60(0x6f5,_0x37b540._0x24c7c7,0x6e9,0x54c)+_0x5a593c+_0xcd2cbf(_0x37b540._0x325f4f,0x4d5,0x422,_0x37b540._0x5f54b0));const _0xe58509=buildMcpHttpHeaders(_0x1aa968),_0x3ebf7a=_0x1aa968[_0x48fe60(0x358,0x2fd,_0x37b540._0xef3638,0x4e0)]?.[_0x48fe60(0x523,_0x37b540._0x51d20f,0x4a8,_0x37b540._0x1467a7)]===_0x48fe60(_0x37b540._0x67466,_0x37b540._0xde79dc,0x47e,0x485)&&_0x3f42b2?.['oauth']?createMcpOAuthProvider({'serverName':_0x5a593c,'callbackUrl':_0x3f42b2[_0x48fe60(0x680,_0x37b540._0x568af6,0x294,_0x37b540._0x4e9389)][_0xcd2cbf(_0x37b540._0x56c96a,0x2b6,0x2f0,0x1fc)],'storageDir':_0x3f42b2[_0x48fe60(_0x37b540._0x573ecb,_0x37b540._0x15a5a9,_0x37b540._0x436851,0x485)][_0x48fe60(0x13b,_0x37b540._0x4911da,0x2ef,0x316)],'config':_0x1aa968['auth'],'onRedirect':_0x58dc27=>_0x3f42b2[_0x48fe60(0x354,0x5c9,0x69f,0x485)]?.[_0x48fe60(0x55d,0x458,0x5eb,0x517)](_0x5a593c,_0x58dc27)}):void 0x0,_0x3601a1=new StreamableHTTPClientTransport(new URL(_0x1aa968[_0x48fe60(_0x37b540._0xc0668a,0x50f,_0x37b540._0x1b39d8,_0x37b540._0x5ad24c)]),{'authProvider':_0x3ebf7a,'requestInit':_0xe58509?{'headers':_0xe58509}:void 0x0});await _0x4aaf07[_0xcd2cbf(_0x37b540._0x27c67e,0xab,0x24b,_0x37b540._0x40ceeb)](_0x3601a1,{'timeout':_0x4b96ac[_0xcd2cbf(_0x37b540._0x4c322d,0x3df,0x527,_0x37b540._0x10998c)](),..._0x3f42b2?.[_0x48fe60(0x3ae,_0x37b540._0x44bb29,0x615,_0x37b540._0x598c1f)]!==void 0x0?{'signal':_0x3f42b2['signal']}:{}});}else{if(!_0x1aa968[_0x48fe60(0x5c0,0x468,_0x37b540._0x2617c6,0x604)])throw new Error('MCP\x20server\x20'+_0x5a593c+_0x48fe60(_0x37b540._0x522387,_0x37b540._0x2d3f58,0x5fa,_0x37b540._0x1b59ab));const _0xd56296=new StdioClientTransport({'command':_0x1aa968['command'],'args':_0x1aa968[_0xcd2cbf(_0x37b540._0x3bb087,_0x37b540._0x1a730c,0x324,0x182)]??[],'env':_0x1aa968[_0xcd2cbf(_0x37b540._0x54b94a,0x3a1,0x264,_0x37b540._0x5d1560)],'stderr':'pipe'});await _0x4aaf07['connect'](_0xd56296,{'timeout':_0x4b96ac['get'](),..._0x3f42b2?.[_0xcd2cbf(_0x37b540._0x18c8e3,_0x37b540._0x1fbf9f,0x363,0x2f1)]!==void 0x0?{'signal':_0x3f42b2[_0x48fe60(0x280,_0x37b540._0x598c1f,0x37d,0x429)]}:{}});}}catch(_0x2281a1){throw createOwnedMcpSafeError({'serverName':_0x5a593c,'operation':'connect','error':_0x2281a1});}function _0xcd2cbf(_0x3abb6f,_0x293261,_0x3f1d8c,_0x2c4df3){return _0x28bc81(_0x3abb6f-_0x16b242._0xcbb3d3,_0x293261-_0x16b242._0x515caa,_0x3f1d8c- -_0x16b242._0x4e9044,_0x3abb6f);}return{async 'listTools'(_0x2376ff){const _0x3762cb={_0xedfc10:0x171,_0x1eb962:0x9c,_0x59e297:0x10d},_0x911fbf=_0x2376ff?.[_0xd0734e(_0x43864f._0x36bb72,_0x43864f._0xb8ccc6,_0x43864f._0xbdf0cf,-0x52)]??_0x3f42b2?.[_0x23d4f1(_0x43864f._0x625b58,_0x43864f._0x350e51,0x398,0x3ff)];function _0x23d4f1(_0x31e1ac,_0xa482f9,_0x1be73d,_0x2e68a7){return _0xcd2cbf(_0x31e1ac,_0xa482f9-_0x3762cb._0xedfc10,_0x2e68a7-_0x3762cb._0x1eb962,_0x2e68a7-_0x3762cb._0x59e297);}function _0xd0734e(_0x4ef929,_0xe6e30,_0x233751,_0x3b5637){return _0x48fe60(_0x4ef929-_0x286aa8._0x348263,_0xe6e30-_0x286aa8._0x2ce012,_0x233751,_0x4ef929- -_0x286aa8._0x12f5af);}try{return await _0x4aaf07['listTools'](void 0x0,{'timeout':_0x4b96ac['get'](),..._0x911fbf!==void 0x0?{'signal':_0x911fbf}:{}});}catch(_0x502652){throw createOwnedMcpSafeError({'serverName':_0x5a593c,'operation':_0xd0734e(_0x43864f._0x445abc,_0x43864f._0x1f394,-_0x43864f._0x58ad67,0x2b4),'error':_0x502652});}},'onTerminalError'(_0x45895d){const _0x2007dc={_0x5c8a9b:0x145,_0x1c00c5:0xed,_0x2d7097:0x9b},_0x52ceb9={_0x2fb571:0x3b6,_0x53eb72:0x4ca},_0x478c12={_0x1e127b:0xb2};function _0x231dcf(_0x5c0099,_0x172529,_0x438f51,_0x55564e){return _0x48fe60(_0x5c0099-0xa5,_0x172529-_0x26c7c1._0x3abcef,_0x438f51,_0x172529-_0x26c7c1._0x1f5977);}_0x5d2561[_0x231dcf(_0x19fa12._0x25081c,0x37d,0x195,0x37e)](_0x45895d);const _0x37005f=_0x1599d8;_0x37005f&&queueMicrotask(()=>{function _0x20f767(_0x8aef91,_0x4ec8ec,_0x38e8c7,_0x21f601){return _0x231dcf(_0x8aef91-_0x478c12._0x1e127b,_0x21f601- -0x5c,_0x4ec8ec,_0x21f601-0x174);}if(_0x5d2561[_0x20f767(_0x52ceb9._0x2fb571,0x5e0,_0x52ceb9._0x53eb72,0x3c1)](_0x45895d))_0x45895d(_0x37005f);});function _0x154bf2(_0xae0ac5,_0x34b9ce,_0x4a65b2,_0x3c1c81){return _0x48fe60(_0xae0ac5-_0x2007dc._0x5c8a9b,_0x34b9ce-_0x2007dc._0x1c00c5,_0x34b9ce,_0x3c1c81-_0x2007dc._0x2d7097);}return()=>_0x5d2561[_0x231dcf(0x568,0x618,0x439,0x589)](_0x45895d);},async 'callTool'(_0x59aa3b){function _0x29b73c(_0x1d1921,_0x4f82c1,_0x4b00fd,_0x481dda){return _0xcd2cbf(_0x4f82c1,_0x4f82c1-0x104,_0x481dda-_0xa7ae75._0x7deb29,_0x481dda-0x10b);}function _0x557b83(_0x1d878f,_0x1f8878,_0x3b5827,_0x507fdf){return _0xcd2cbf(_0x507fdf,_0x1f8878-0x4f,_0x3b5827-0x47,_0x507fdf-_0x493970._0x284e42);}try{return await _0x4aaf07[_0x557b83(0x191,_0x546400._0x4ec3c2,_0x546400._0x148462,0x120)]({'method':_0x557b83(_0x546400._0x4113b8,_0x546400._0x46ff0f,0x329,_0x546400._0x59fb7b),'params':_0x59aa3b},CallToolResultSchema,{'timeout':_0x4b96ac[_0x29b73c(0x9e7,0x790,_0x546400._0x4e277b,_0x546400._0x3e1bf3)]()});}catch(_0x114f20){throw createOwnedMcpSafeError({'serverName':_0x5a593c,'operation':_0x29b73c(_0x546400._0x544fb3,0x5f2,0x768,_0x546400._0x496b83),'error':_0x114f20});}},async 'close'(){const _0x165aef={_0x110842:0x185,_0x1df5a7:0x1e1};_0x499601=!![],_0x4aaf07[_0x20dd95(_0x24c51c._0x33fb27,_0x24c51c._0x5cce50,0x20e,0x41d)]=void 0x0,_0x4aaf07[_0x20dd95(0x6a1,_0x24c51c._0x24c274,_0x24c51c._0x3aacb5,_0x24c51c._0xa9fdc)]=void 0x0,_0x5d2561[_0x314b85(0x843,0x862,0x7bc,0x5af)]();function _0x314b85(_0x2c355a,_0x17dc3f,_0x233995,_0x452718){return _0x48fe60(_0x2c355a-_0x1b26da._0x492132,_0x17dc3f-0x45,_0x17dc3f,_0x233995-_0x1b26da._0x171ec8);}function _0x20dd95(_0x2fb08e,_0x44a48a,_0x3e3b50,_0x122b3e){return _0x48fe60(_0x2fb08e-_0x165aef._0x110842,_0x44a48a-_0x165aef._0x1df5a7,_0x3e3b50,_0x122b3e-0x92);}try{await _0x4aaf07['close']();}catch(_0x9a186d){throw createOwnedMcpSafeError({'serverName':_0x5a593c,'operation':'close','error':_0x9a186d});}}};}async function createMcpConnectionGeneration(_0xe9fe53){const _0x479f41={_0x30a942:0x608,_0x479596:0x3f4,_0x32cc99:0x202,_0x467320:0x54e,_0x147ab2:0x3f4,_0x5afbda:0x20d,_0x3dd419:0x5b4,_0x2a51f8:0x676,_0x15091d:0x512,_0x1e6234:0x68e,_0x5eea45:0x6f9,_0x1f1e1e:0x529,_0x5e6826:0x62a,_0x3f9173:0x713,_0x1a60d5:0x62a,_0x1005dc:0x723,_0x48263f:0x480,_0x264b77:0x5de,_0x5b5fbb:0x62b,_0x70bbe9:0x9b9,_0x2e2d5e:0x5bf,_0x5d6cff:0x7bb,_0x56b50c:0x50c,_0xf6d693:0x3bf,_0x3ce9df:0x471,_0x5bfb63:0x49e,_0x1cce6d:0x584,_0x45c999:0x6e0,_0x275fb2:0x540},_0x49df91={_0x377bb4:0x18a,_0x30d184:0x102,_0x64c670:0x1ed},_0x384360={_0xf15869:0x5fb,_0x47cb5c:0x50a,_0x555389:0x298,_0x571264:0x3b3,_0x32d7f5:0x2e9,_0x78fda3:0x4a0},_0x43510b={_0x26afc9:0x129,_0x5ea725:0x104},_0x19b412={_0x35aeba:0x142},_0x5808a4={_0x1b27d6:0x32a,_0x1fbabf:0x2de,_0x2f2a13:0xe8,_0x112704:0x180},_0x4dced2={_0x3d9eaa:0x1e7},_0xf683c9={_0x280b8b:0x748,_0x9b65af:0x5de},_0x127b4b=_0xe9fe53[_0x2aa340(0x253,_0x479f41._0x30a942,_0x479f41._0x479596,_0x479f41._0x32cc99)]??connectMcpServer,_0x5de092=_0xe9fe53[_0x2aa340(_0x479f41._0x467320,0x4a2,_0x479f41._0x147ab2,_0x479f41._0x5afbda)]===void 0x0,_0x359ae7={..._0xe9fe53['connection'],'timeoutSource':_0xe9fe53[_0x2aa340(_0x479f41._0x3dd419,_0x479f41._0x2a51f8,_0x479f41._0x15091d,_0x479f41._0x1e6234)],..._0xe9fe53[_0x3eca72(_0x479f41._0x5eea45,0x7c3,_0x479f41._0x1f1e1e,_0x479f41._0x5e6826)]!==void 0x0?{'signal':_0xe9fe53[_0x3eca72(0x428,0x6eb,_0x479f41._0x3f9173,_0x479f41._0x1a60d5)]}:{}};let _0x34d0e9;try{_0x34d0e9=await _0x127b4b(_0xe9fe53[_0x3eca72(_0x479f41._0x1005dc,0x40e,_0x479f41._0x48263f,_0x479f41._0x264b77)],_0xe9fe53['config'],_0x359ae7);}catch(_0x4fc28e){throw mapOwnedMcpBoundaryError({'serverName':_0xe9fe53['serverName'],'operation':'connect','error':_0x4fc28e},_0x5de092);}const _0x4b2b1b=new Set();let _0x26cd43;const _0xb50ca6=_0x34d0e9[_0x3eca72(_0x479f41._0x5b5fbb,_0x479f41._0x70bbe9,_0x479f41._0x2e2d5e,_0x479f41._0x5d6cff)]?.(_0x2c9415=>{if(_0x26cd43)return;_0x26cd43=_0x2c9415;for(const _0x126d09 of _0x4b2b1b)_0x126d09(_0x2c9415);});let _0x270a1c=![];const _0x11fa52=()=>{const _0x1676fa={_0x22c17c:0x14b,_0x560d7b:0x10};if(_0x270a1c)return;_0x270a1c=!![];function _0x3c9924(_0x5aa59b,_0x40bf71,_0x3f4997,_0x42864f){return _0x3eca72(_0x5aa59b-_0x1676fa._0x22c17c,_0x40bf71-0x1cc,_0x40bf71,_0x42864f-_0x1676fa._0x560d7b);}_0x4b2b1b[_0x3c9924(0x958,_0xf683c9._0x280b8b,_0xf683c9._0x9b65af,0x7fc)](),_0xb50ca6?.();};let _0x231351;function _0x2aa340(_0x3ff03f,_0x384bbf,_0x2c1df3,_0x1cd7f3){return _0x5b2413(_0x3ff03f-0x5e,_0x384bbf-0x180,_0x2c1df3- -0x260,_0x384bbf);}try{_0x231351=await _0x34d0e9[_0x2aa340(0x369,0x3a9,0x569,0x753)](_0xe9fe53[_0x2aa340(0x52f,0x72e,_0x479f41._0x56b50c,_0x479f41._0xf6d693)]!==void 0x0?{'signal':_0xe9fe53[_0x3eca72(_0x479f41._0x3ce9df,0x447,_0x479f41._0x5bfb63,0x62a)]}:void 0x0);}catch(_0x41ff7d){const _0x253b9d=mapOwnedMcpBoundaryError({'serverName':_0xe9fe53[_0x3eca72(0x46b,0x701,_0x479f41._0x1cce6d,0x5de)],'operation':_0x3eca72(0x651,0x4c5,_0x479f41._0x45c999,_0x479f41._0x275fb2),'error':_0x41ff7d},_0x5de092);_0x11fa52();try{await _0x34d0e9['close']();}catch{}throw _0x253b9d;}const _0x45ae2e=[..._0x231351['tools']],_0x20e29a={async 'callTool'(_0x5c4d78){const _0x9a065c={_0x203404:0x25,_0x45548a:0x29,_0xd8a438:0x300};function _0x1af185(_0x162ef2,_0x163c99,_0x425bfd,_0x47a95b){return _0x2aa340(_0x162ef2-0x182,_0x47a95b,_0x163c99- -_0x4dced2._0x3d9eaa,_0x47a95b-0x1e1);}function _0x2035a5(_0x14a75c,_0x40676c,_0x2427b0,_0xc744d1){return _0x3eca72(_0x14a75c-_0x9a065c._0x203404,_0x40676c-_0x9a065c._0x45548a,_0xc744d1,_0x14a75c- -_0x9a065c._0xd8a438);}try{return await _0x34d0e9[_0x2035a5(0x1ad,0x9,0xa0,_0x5808a4._0x1b27d6)](_0x5c4d78);}catch(_0x2b9a49){throw mapOwnedMcpBoundaryError({'serverName':_0xe9fe53[_0x2035a5(_0x5808a4._0x1fbabf,0x2fe,0x312,0x13d)],'operation':_0x1af185(_0x5808a4._0x2f2a13,_0x5808a4._0x112704,0x119,0x352),'error':_0x2b9a49},_0x5de092);}}};function _0x3eca72(_0x3250e6,_0x57a232,_0x1febb9,_0x38c02c){return _0x5b2413(_0x3250e6-0x19f,_0x57a232-0x1d3,_0x38c02c- -_0x19b412._0x35aeba,_0x1febb9);}const _0x14faf7=createMcpGenerationLifecycle(async()=>{const _0x5255e2={_0x2f4ddf:0x84};_0x11fa52();function _0x2461c1(_0x23580a,_0x47d0f6,_0x44c094,_0x547df0){return _0x2aa340(_0x23580a-0x109,_0x44c094,_0x547df0-_0x5255e2._0x2f4ddf,_0x547df0-0x6f);}function _0x501811(_0x433cf1,_0xbe0e3b,_0x563bd7,_0xcfbf77){return _0x3eca72(_0x433cf1-_0x43510b._0x26afc9,_0xbe0e3b-0xc8,_0xbe0e3b,_0xcfbf77- -_0x43510b._0x5ea725);}try{await _0x34d0e9[_0x2461c1(_0x384360._0xf15869,0x72c,0x616,_0x384360._0x47cb5c)]();}catch(_0x4f0452){throw mapOwnedMcpBoundaryError({'serverName':_0xe9fe53['serverName'],'operation':_0x501811(_0x384360._0x555389,_0x384360._0x571264,_0x384360._0x32d7f5,_0x384360._0x78fda3),'error':_0x4f0452},_0x5de092);}});return{'client':_0x34d0e9,'descriptors':_0x45ae2e,'lifecycle':_0x14faf7,'projectTools'(_0x17c927){return projectMcpTools({..._0x17c927,'descriptors':_0x45ae2e,'client':_0x20e29a,'lifecycle':_0x14faf7});},'onTerminalError'(_0x5d0139){if(_0x270a1c)return()=>{};_0x4b2b1b[_0x14b539(_0x49df91._0x377bb4,0x1af,_0x49df91._0x30d184,_0x49df91._0x64c670)](_0x5d0139);const _0x2b76de=_0x26cd43;function _0x14b539(_0x59c3ff,_0x210495,_0x38588e,_0x55d85a){return _0x3eca72(_0x59c3ff-0x105,_0x210495-0xb1,_0x55d85a,_0x59c3ff- -0x33e);}return _0x2b76de&&queueMicrotask(()=>{if(_0x4b2b1b['has'](_0x5d0139))_0x5d0139(_0x2b76de);}),()=>_0x4b2b1b['delete'](_0x5d0139);},'retire'(){return _0x11fa52(),_0x14faf7['retire']();}};}import{stat as _0x56e74c}from'fs/promises';import*as _0x43494c from'path';import{execSync,spawn as _0xf7162b}from'child_process';import{existsSync}from'fs';import{stat as _0x33ab89}from'fs/promises';import*as _0x3e46fa from'os';import*as _0x40dbfa from'path';import{rgPath as _0x11ca48}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x4aafec={_0x4715da:0x704,_0x28247e:0x5d7,_0x2b1774:0x6d8,_0x50bcb7:0x8b6,_0x54c51c:0x8f3,_0x464c4a:0x7f8,_0x5567db:0x740,_0x420835:0x707,_0x5c23b1:0x540,_0x4194fa:0x60b,_0x19f768:0x37b,_0x221a19:0x6ff,_0x1d906f:0x761,_0x306b1d:0x61c,_0x220419:0x92c,_0x4fd44f:0x897,_0x30048c:0x722,_0x195739:0x7ae,_0x5c7b82:0x5c2,_0x10a3fe:0x64c,_0x1ce750:0x62e,_0x3f0505:0x722,_0x13dd79:0x836,_0x112008:0x6e9,_0x430c67:0x8da,_0x3ce16a:0x6d1,_0x4acef6:0x591,_0x210512:0x5d9,_0x5283f3:0x67c,_0x34d413:0x787,_0x26d4ee:0x509,_0x4f3989:0x341,_0x339370:0x6f8,_0x36a840:0x6d5,_0x3dfda8:0x83e,_0x1f91b7:0x740,_0x3e5da2:0x4b9,_0x321dba:0x5b4,_0x4ebf2d:0x6fb},_0x24be65=_0x3e46fa[_0x304c09(_0x4aafec._0x4715da,_0x4aafec._0x28247e,0x856,_0x4aafec._0x2b1774)]()===_0x304c09(0x795,0x88f,_0x4aafec._0x50bcb7,_0x4aafec._0x54c51c),_0x4a8751=_0x24be65?[_0x40dbfa[_0x35a8a3(_0x4aafec._0x464c4a,_0x4aafec._0x5567db,0x4e5,_0x4aafec._0x420835)](process[_0x35a8a3(_0x4aafec._0x5c23b1,0x409,_0x4aafec._0x4194fa,0x578)][_0x304c09(0x696,0x720,0x861,0x5cd)]||'',_0x35a8a3(0x46f,0x46f,_0x4aafec._0x19f768,0x53e),'WinGet',_0x304c09(_0x4aafec._0x221a19,_0x4aafec._0x1d906f,0x5d4,0x6fa)),_0x40dbfa[_0x304c09(0x798,0x6d5,_0x4aafec._0x306b1d,_0x4aafec._0x220419)](process[_0x35a8a3(0x3fe,0x487,0x380,0x578)]['ProgramFiles']||'',_0x35a8a3(_0x4aafec._0x4fd44f,0x6b1,0x7dc,_0x4aafec._0x30048c),'rg.exe'),_0x40dbfa[_0x35a8a3(0x6c0,_0x4aafec._0x195739,_0x4aafec._0x5c7b82,0x707)](process['env']['ProgramFiles(x86)']||'',_0x35a8a3(_0x4aafec._0x10a3fe,0x80f,_0x4aafec._0x1ce750,_0x4aafec._0x3f0505),_0x35a8a3(0x5b5,_0x4aafec._0x13dd79,0x87a,_0x4aafec._0x112008))]:[_0x304c09(0x7c9,0x7c0,_0x4aafec._0x430c67,_0x4aafec._0x3ce16a),_0x35a8a3(_0x4aafec._0x4acef6,0x5fc,_0x4aafec._0x210512,_0x4aafec._0x5283f3),'/usr/bin/rg','/bin/rg'];function _0x304c09(_0x5922a1,_0x514ac5,_0x3de38f,_0x2017d8){return _0x5b2413(_0x5922a1-0xcd,_0x514ac5-0x1b6,_0x5922a1- -0x64,_0x514ac5);}for(const _0x15d0e2 of _0x4a8751){if(existsSync(_0x15d0e2))return _0x15d0e2;}function _0x35a8a3(_0x3fee55,_0x47dfb1,_0x39d32b,_0x43571f){return _0x5b2413(_0x3fee55-0x7,_0x47dfb1-0x6d,_0x43571f- -0xf5,_0x47dfb1);}try{const _0x5b1bf3=_0x24be65?'where\x20rg':_0x35a8a3(_0x4aafec._0x34d413,0x39b,0x5e2,0x5af),_0x4c9bc5=execSync(_0x5b1bf3,{'encoding':'utf8','stdio':[_0x304c09(_0x4aafec._0x26d4ee,0x5b7,0x48b,0x526),_0x304c09(0x509,0x6f0,_0x4aafec._0x4f3989,0x572),_0x304c09(_0x4aafec._0x339370,_0x4aafec._0x36a840,_0x4aafec._0x3dfda8,_0x4aafec._0x1f91b7)]})[_0x304c09(0x653,0x43e,0x4bd,_0x4aafec._0x3e5da2)]()[_0x304c09(0x780,_0x4aafec._0x321dba,_0x4aafec._0x4ebf2d,0x768)](/\r?\n/)[0x0];if(_0x4c9bc5&&existsSync(_0x4c9bc5))return _0x4c9bc5;}catch{return null;}return null;}async function filepath(){const _0x323336={_0x474c51:0x3cb,_0x42b62d:0x338,_0x804ab:0x2ab,_0xafef3a:0x151},_0x399d90={_0x3f2e50:0x40,_0x5e818e:0xa8};if(cachedRgPath)return cachedRgPath;if(_0x11ca48&&existsSync(_0x11ca48))return cachedRgPath=_0x11ca48,_0x11ca48;const _0x496cb9=findSystemRipgrep();function _0x66ff82(_0x255aa2,_0x153f67,_0x172434,_0x2daf91){return _0x28bc81(_0x255aa2-0x88,_0x153f67-_0x399d90._0x3f2e50,_0x153f67-_0x399d90._0x5e818e,_0x2daf91);}if(!_0x496cb9)throw new Error(_0x66ff82(_0x323336._0x474c51,_0x323336._0x42b62d,_0x323336._0x804ab,_0x323336._0xafef3a));return cachedRgPath=_0x496cb9,_0x496cb9;}async function*files(_0x1398dc){const _0x13ccac={_0x4b3701:0x2fd,_0x58c500:0x34e,_0x5aeb9d:0x4db,_0x52d8c0:0x14c,_0x4c1e17:0xd3,_0x495029:0x498,_0x2cc0db:0x4e5,_0x2640be:0x701,_0x5001df:0x56c,_0xdc8ce8:0x3b4,_0x5ba49b:0x43f,_0x5a5916:0x616,_0x397d4a:0x498,_0x50f568:0x28b,_0x34c8e6:0x11c,_0x58a573:0x178,_0x9dfa6:0xa3,_0x37ad82:0x369,_0xe46f36:0x1b0,_0x4f14eb:0x13a,_0x22660f:0x4ab,_0x2f1a7c:0x1ff,_0x558c49:0x332,_0x44787f:0x215,_0x27dfa0:0x367,_0x1e20dc:0x498},_0x474344={_0x30b298:0xaa},_0x190dcb={_0xcb7ad9:0x25,_0x2a3e14:0x12b};function _0x3439fa(_0x16b84d,_0x5defd4,_0x1d70ea,_0x3cbdc8){return _0x28bc81(_0x16b84d-0xcc,_0x5defd4-_0x190dcb._0xcb7ad9,_0x3cbdc8- -_0x190dcb._0x2a3e14,_0x5defd4);}const _0x67cd56=await filepath(),_0x4cb986=await _0x33ab89(_0x1398dc[_0x3439fa(_0x13ccac._0x4b3701,_0x13ccac._0x58c500,0x5ad,_0x13ccac._0x5aeb9d)])[_0x3439fa(-0x10a,_0x13ccac._0x52d8c0,-_0x13ccac._0x4c1e17,0x100)](()=>null);if(!_0x4cb986?.[_0x192348(_0x13ccac._0x495029,_0x13ccac._0x2cc0db,0x66f,0x47d)]())throw Object['assign'](new Error('No\x20such\x20file\x20or\x20directory:\x20\x27'+_0x1398dc['cwd']+'\x27'),{'code':_0x192348(0x802,_0x13ccac._0x2640be,0x743,0x62a)});const _0x227a56=['--files',_0x192348(_0x13ccac._0x5001df,_0x13ccac._0xdc8ce8,0x2f5,0x3f0),_0x3439fa(0x25e,0x11f,0x176,0x2ba),_0x192348(0x5a5,_0x13ccac._0x5ba49b,0x33c,_0x13ccac._0x5a5916)];for(const _0x283413 of _0x1398dc['glob']??[]){_0x227a56[_0x3439fa(0x339,0x1cc,_0x13ccac._0x397d4a,_0x13ccac._0x50f568)]('--glob='+_0x283413);}const _0x38c9b0=_0xf7162b(_0x67cd56,_0x227a56,{'cwd':_0x1398dc['cwd'],'stdio':[_0x192348(0x4ce,0x51a,0x490,0x713),_0x3439fa(-_0x13ccac._0x34c8e6,0x1e9,_0x13ccac._0x58a573,_0x13ccac._0x9dfa6),_0x192348(_0x13ccac._0x37ad82,0x32b,_0x13ccac._0xe46f36,_0x13ccac._0x4f14eb)]});let _0x545240='';for await(const _0x58bb1d of _0x38c9b0[_0x192348(_0x13ccac._0x22660f,0x66c,0x82f,0x4a2)]??[]){_0x545240+=_0x58bb1d[_0x3439fa(0x1c4,0x2b0,_0x13ccac._0x2f1a7c,0x275)]();const _0x1d72be=_0x545240[_0x3439fa(_0x13ccac._0x558c49,0x1f6,0x347,0x31a)](/\r?\n/);_0x545240=_0x1d72be[_0x192348(_0x13ccac._0x44787f,0x353,0x211,_0x13ccac._0x27dfa0)]()??'';for(const _0x44fd03 of _0x1d72be){if(_0x44fd03[_0x192348(_0x13ccac._0x1e20dc,0x6a6,0x674,0x891)]>0x0)yield _0x44fd03;}}function _0x192348(_0x2f140a,_0x232cb2,_0x43d67b,_0x43c7aa){return _0x28bc81(_0x2f140a-0x146,_0x232cb2-_0x474344._0x30b298,_0x232cb2-0x15d,_0x43c7aa);}_0x545240['trim']()['length']>0x0&&(yield _0x545240['trim']());}function objectValue(_0x8946dc){const _0xfda5c1={_0x37a425:0x65,_0x42fc7b:0x1fc,_0x214197:0xbb},_0x7081b={_0x1913f4:0xf8};function _0x1ffb1(_0x40d340,_0x31057e,_0x5e4fe7,_0x207864){return _0x28bc81(_0x40d340-0x1f3,_0x31057e-_0x7081b._0x1913f4,_0x207864- -0x1aa,_0x5e4fe7);}return typeof _0x8946dc===_0x1ffb1(0x26,_0xfda5c1._0x37a425,_0xfda5c1._0x42fc7b,_0xfda5c1._0x214197)&&_0x8946dc!==null?_0x8946dc:void 0x0;}function decodeRipgrepText(_0x5be14b){const _0x2b279d={_0x33ea56:0x5cc,_0x1a7ed7:0x3d4,_0x28174c:0x420,_0x13d638:0x2e2,_0x5b1fdc:0x101,_0x165c4c:0x3ef,_0x375ddb:0x3fd,_0x2e0ae6:0x2ba,_0x532274:0x107,_0x4122e9:0x288,_0x56118c:0x74,_0x1a0dce:0x2c7,_0x2910fe:0x12f,_0x48eb43:0x1a0,_0x19560b:0x3b,_0x5e14cb:0x130,_0x4a87af:0x1de},_0x5d40cb={_0x431031:0xe5,_0x32324f:0x5b,_0x9b7a12:0x4c},_0x353fb1={_0x2bbd7a:0x27c},_0x4e2fc8=objectValue(_0x5be14b);function _0xfb1653(_0x32433e,_0x47cfd8,_0x544048,_0x565753){return _0x28bc81(_0x32433e-0xb2,_0x47cfd8-0x1d9,_0x544048- -_0x353fb1._0x2bbd7a,_0x32433e);}if(typeof _0x4e2fc8?.[_0x1eaf30(_0x2b279d._0x33ea56,0x51c,0x49a,0x472)]===_0x1eaf30(0x4ed,_0x2b279d._0x1a7ed7,_0x2b279d._0x28174c,_0x2b279d._0x13d638))return _0x4e2fc8[_0xfb1653(_0x2b279d._0x5b1fdc,0x13a,0x1aa,0x29)];function _0x1eaf30(_0x5c5758,_0xcff80,_0x46ded6,_0x3e4fb5){return _0x28bc81(_0x5c5758-_0x5d40cb._0x431031,_0xcff80-_0x5d40cb._0x32324f,_0x3e4fb5-_0x5d40cb._0x9b7a12,_0x46ded6);}if(typeof _0x4e2fc8?.[_0x1eaf30(0x746,_0x2b279d._0x165c4c,0x4eb,0x5a1)]===_0x1eaf30(0x18b,_0x2b279d._0x375ddb,_0x2b279d._0x2e0ae6,0x2e2))return Buffer[_0xfb1653(-_0x2b279d._0x532274,-_0x2b279d._0x4122e9,-_0x2b279d._0x56118c,0x196)](_0x4e2fc8[_0xfb1653(_0x2b279d._0x1a0dce,0x437,0x2d9,_0x2b279d._0x2910fe)],_0xfb1653(0x178,0x1ad,0x65,_0x2b279d._0x48eb43))[_0xfb1653(0xca,0xa3,0x124,0xe4)](_0xfb1653(_0x2b279d._0x19560b,-_0x2b279d._0x5e14cb,-0x3,_0x2b279d._0x4a87af));return void 0x0;}function parseMatchLine(_0x130d96,_0x122bac){const _0x3c44c5={_0x46d3dc:0x7cf,_0x135f60:0x7de,_0x3ed427:0x61b,_0x4fd2ec:0x617,_0x1805a0:0x49c,_0x1d5c43:0x46b,_0x4ee4ab:0x35b,_0x4ebded:0x1c6,_0x320583:0x43e,_0x44bf2b:0x60e,_0x460f34:0x1cd,_0x6d609e:0x3ee,_0x4daee3:0x4ad,_0x2e975d:0x2be,_0x3a6470:0x163,_0x2c576b:0x3cb,_0x5b3c1b:0x187,_0x373333:0x52a,_0x2243d7:0x33a,_0x26117f:0x51e,_0x4b9e8b:0x623,_0x2b4394:0x58d,_0x18b85e:0x523,_0x440974:0x62b,_0x7cd53e:0x231,_0x2002e9:0x41a,_0xccd82d:0x5a1,_0x17efa3:0x448},_0x451dba={_0x374d14:0xc9};if(_0x130d96[_0x30a08e(0x8ec,0x5a1,0x742,_0x3c44c5._0x46d3dc)]===0x0)return null;const _0x249fc2=objectValue(JSON[_0x30a08e(0x835,0x914,_0x3c44c5._0x135f60,_0x3c44c5._0x3ed427)](_0x130d96));if(_0x249fc2?.[_0x30a08e(0x5e3,0x46d,0x530,0x503)]!==_0x30a08e(_0x3c44c5._0x4fd2ec,_0x3c44c5._0x1805a0,0x454,_0x3c44c5._0x1d5c43)&&_0x249fc2?.[_0x1f76da(_0x3c44c5._0x4ee4ab,_0x3c44c5._0x4ebded,0x17b,_0x3c44c5._0x320583)]!==_0x30a08e(_0x3c44c5._0x44bf2b,_0x3c44c5._0x460f34,_0x3c44c5._0x6d609e,_0x3c44c5._0x4daee3))return null;const _0x42e3e8=objectValue(_0x249fc2[_0x1f76da(_0x3c44c5._0x2e975d,_0x3c44c5._0x3a6470,_0x3c44c5._0x2c576b,_0x3c44c5._0x5b3c1b)]),_0x120f83=decodeRipgrepText(_0x42e3e8?.[_0x1f76da(0x4ed,_0x3c44c5._0x373333,_0x3c44c5._0x2243d7,0x5ef)]),_0x37c07b=decodeRipgrepText(_0x42e3e8?.[_0x30a08e(_0x3c44c5._0x26117f,0x718,0x588,0x3bf)]);function _0x1f76da(_0x53e15c,_0x41cdf4,_0x3c2510,_0x2bf9b7){return _0x5b2413(_0x53e15c-0x71,_0x41cdf4-0x1d9,_0x53e15c- -0x37b,_0x2bf9b7);}function _0x30a08e(_0x5e74af,_0x216e63,_0x2046fc,_0x567735){return _0x5b2413(_0x5e74af-0x73,_0x216e63-_0x451dba._0x374d14,_0x2046fc- -0x1a6,_0x567735);}const _0xdcb13=_0x42e3e8?.['line_number'];if(_0x120f83===void 0x0||_0x37c07b===void 0x0||typeof _0xdcb13!=='number')throw new Error(_0x30a08e(0x67f,_0x3c44c5._0x4b9e8b,_0x3c44c5._0x2b4394,0x4d2));return{'filePath':_0x40dbfa[_0x30a08e(0x538,_0x3c44c5._0x18b85e,_0x3c44c5._0x440974,0x57a)](_0x120f83)?_0x120f83:_0x40dbfa[_0x30a08e(_0x3c44c5._0x7cd53e,_0x3c44c5._0x2002e9,0x453,_0x3c44c5._0xccd82d)](_0x122bac,_0x120f83),'lineNum':_0xdcb13,'lineText':_0x37c07b[_0x1f76da(0x57b,_0x3c44c5._0x17efa3,0x716,0x480)](/\r?\n$/,''),..._0x249fc2['type']===_0x1f76da(0x219,0x375,0x374,0x364)?{'isContext':!![]}:{}};}async function search(_0xfb8d50){const _0x4b8dfd={_0x4fd7f6:0x258,_0x18d62a:0x2a1,_0x40b49e:0x3ce,_0x239474:0x335,_0x26c476:0x484,_0x41d301:0x4d9,_0x3e1ddc:0x43f,_0x15c9e5:0x266,_0x36c5b6:0xd,_0x16af14:0x24c,_0x11fcbc:0x1a4,_0x4c0a6d:0x2a8,_0x3da6d0:0x17b,_0x2d7b62:0x34b,_0x3d997a:0x131,_0x5acdd7:0xdc,_0x198510:0xbb,_0x186bbb:0xa9,_0x2a6e2f:0xcf,_0x25f864:0x5d2,_0x557219:0x430,_0x437180:0x51f,_0x34bb6c:0x5bf,_0x13a50d:0x288,_0xa11932:0x1f0,_0x433223:0x301,_0x28c570:0x356,_0x2433e9:0x1fe,_0x4d5b00:0x3ba,_0x3a2005:0x366,_0x522576:0x495,_0x78216d:0x6d7,_0x17b95f:0x1bc,_0x21d04e:0x14a,_0x577fe6:0x12f,_0x524068:0x1a4,_0x5ed8da:0xfa,_0xa62e78:0xad,_0x2dec67:0x43a,_0x3e2a90:0x615,_0x1311ee:0x212,_0x1de546:0x39b,_0x528748:0x54e,_0x4a63ec:0x342,_0xb43cf7:0x5aa,_0x515cf0:0xf6,_0x3cec33:0x14f,_0x5a5163:0x10,_0x5d80d2:0x43,_0xd9e546:0x3b4,_0x5c4359:0x3e,_0x2278cb:0x49,_0x584857:0x39,_0x4e2702:0x33d,_0x1b7683:0x196,_0xe73eae:0x1f6,_0x3230d0:0x2f5,_0x531549:0xac,_0x521c15:0x1e2,_0x25efd2:0xa9,_0x142f99:0x304,_0x2c3580:0x197,_0x44e57b:0xa9,_0x5b749d:0x1ca,_0x1dde3a:0x54a,_0x7943cb:0x4dc,_0x4fb7a3:0x783,_0x1b3c2e:0x603},_0x26009f={_0x1f94e6:0x7db,_0xb9f537:0x87f,_0x46db25:0x213,_0x1d4836:0x267,_0x190147:0x259,_0x25e0a9:0x3bf,_0x562ada:0x4c4,_0x249adb:0x42a,_0x4df2d9:0x6b7,_0x3fb2c9:0x4fb,_0x25bd81:0x748,_0x3940ed:0x634,_0x5c2fa2:0x7ee,_0x30ab29:0x57c,_0x2f3804:0x63d,_0x54fa1e:0x3c9,_0x594fa7:0x546,_0x3da747:0x403,_0x15bfbe:0x2b8},_0x9922={_0x2f782c:0x7a},_0x1f6d16={_0x5e8034:0x640,_0x3a7645:0x41b},_0x360be6={_0x238ed6:0x134},_0x662ad8={_0x1fb109:0xba,_0x2d6a3b:0x269},_0x13de0c={_0x5c85e2:0x132,_0x5b5256:0x2};if(_0xfb8d50['file']!==void 0x0&&_0xfb8d50[_0x51b209(0x315,0x2e5,_0x4b8dfd._0x4fd7f6,0x132)]!==void 0x0)throw new Error(_0x51b209(0x408,0x46a,_0x4b8dfd._0x18d62a,_0x4b8dfd._0x40b49e));if(_0xfb8d50[_0x51b209(_0x4b8dfd._0x239474,_0x4b8dfd._0x26c476,_0x4b8dfd._0x41d301,0x596)]){const _0x4a6310=await _0x33ab89(_0xfb8d50[_0x51b209(_0x4b8dfd._0x3e1ddc,_0x4b8dfd._0x26c476,_0x4b8dfd._0x15c9e5,0x584)])[_0x340ec5(0xc1,-0x20a,-0x13,_0x4b8dfd._0x36c5b6)](()=>null);if(!_0x4a6310?.['isFile']())throw Object[_0x340ec5(_0x4b8dfd._0x40b49e,_0x4b8dfd._0x16af14,0x396,0x313)](new Error(_0x340ec5(_0x4b8dfd._0x11fcbc,_0x4b8dfd._0x4c0a6d,_0x4b8dfd._0x3da6d0,0xb1)+_0xfb8d50['file']+'\x27'),{'code':_0x340ec5(0x250,_0x4b8dfd._0x2d7b62,0x366,0x156)});}else{if(_0xfb8d50[_0x340ec5(-0x8d,_0x4b8dfd._0x3d997a,0xa9,0xd1)]!==void 0x0)for(const _0x12fd3e of _0xfb8d50[_0x340ec5(_0x4b8dfd._0x5acdd7,_0x4b8dfd._0x198510,_0x4b8dfd._0x186bbb,-_0x4b8dfd._0x2a6e2f)]){if(!_0x40dbfa[_0x51b209(_0x4b8dfd._0x25f864,_0x4b8dfd._0x557219,_0x4b8dfd._0x437180,_0x4b8dfd._0x34bb6c)](_0x12fd3e))throw new Error(_0x51b209(0x440,_0x4b8dfd._0x13a50d,_0x4b8dfd._0xa11932,0x340)+_0x12fd3e+'\x27');const _0x269517=await _0x33ab89(_0x12fd3e)['catch'](()=>null);if(!_0x269517?.[_0x340ec5(0x30b,_0x4b8dfd._0x433223,0x1f1,_0x4b8dfd._0x28c570)]())throw Object[_0x340ec5(0x2fb,_0x4b8dfd._0x2433e9,0x396,0x2ee)](new Error('No\x20such\x20file:\x20\x27'+_0x12fd3e+'\x27'),{'code':_0x340ec5(_0x4b8dfd._0x4d5b00,0x38c,_0x4b8dfd._0x3a2005,0x4aa)});}else{const _0x13341c=await _0x33ab89(_0xfb8d50[_0x51b209(0x815,0x604,_0x4b8dfd._0x522576,_0x4b8dfd._0x78216d)])['catch'](()=>null);if(!_0x13341c?.[_0x340ec5(_0x4b8dfd._0x17b95f,0x197,_0x4b8dfd._0x21d04e,_0x4b8dfd._0x577fe6)]())throw Object['assign'](new Error('No\x20such\x20file\x20or\x20directory:\x20\x27'+_0xfb8d50['cwd']+'\x27'),{'code':_0x340ec5(_0x4b8dfd._0x524068,0x182,_0x4b8dfd._0x3a2005,0x1ed)});}}if(_0xfb8d50[_0x340ec5(_0x4b8dfd._0x5ed8da,0x1b4,_0x4b8dfd._0x186bbb,-_0x4b8dfd._0xa62e78)]?.[_0x51b209(_0x4b8dfd._0x2dec67,0x547,_0x4b8dfd._0x3e2a90,0x57c)]===0x0)return[];const _0x2934ce=await filepath(),_0x13b3fa=[_0x340ec5(0x1ee,0x48e,0x3aa,0x3f7),_0x340ec5(_0x4b8dfd._0x1311ee,0x224,_0x4b8dfd._0x1de546,_0x4b8dfd._0x2d7b62),_0xfb8d50[_0x51b209(_0x4b8dfd._0x528748,0x3da,_0x4b8dfd._0x4a63ec,_0x4b8dfd._0xb43cf7)]],_0x23d581=typeof _0xfb8d50[_0x340ec5(-_0x4b8dfd._0x515cf0,0x1c7,-0x49,0x16b)]==='number'&&_0xfb8d50[_0x51b209(_0x4b8dfd._0x3cec33,0x1f3,-_0x4b8dfd._0x5a5163,_0x4b8dfd._0x5d80d2)]>0x0;_0x23d581&&_0x13b3fa[_0x51b209(0x4bf,_0x4b8dfd._0xd9e546,0x1f8,0x1bd)]('-C',String(_0xfb8d50[_0x340ec5(0x22,_0x4b8dfd._0x5c4359,-_0x4b8dfd._0x2278cb,0x5a)]));_0xfb8d50[_0x340ec5(_0x4b8dfd._0x584857,_0x4b8dfd._0x4e2702,0x1a8,_0x4b8dfd._0x1b7683)]&&!_0xfb8d50[_0x51b209(0x540,0x484,0x401,0x6a1)]&&_0xfb8d50['files']===void 0x0&&_0x13b3fa['push'](_0x340ec5(_0x4b8dfd._0xe73eae,0xde,_0x4b8dfd._0x3230d0,0x45b),_0xfb8d50[_0x340ec5(0x24,_0x4b8dfd._0x531549,0x1a8,0x2a9)]);_0xfb8d50[_0x340ec5(0xf9,_0x4b8dfd._0x521c15,_0x4b8dfd._0x25efd2,0x57)]!==void 0x0?_0x13b3fa[_0x51b209(_0x4b8dfd._0x142f99,0x3b4,0x4c7,_0x4b8dfd._0x2c3580)](..._0xfb8d50[_0x340ec5(-0x116,0x2c1,_0x4b8dfd._0x44e57b,0xae)]):_0x13b3fa[_0x51b209(0x423,_0x4b8dfd._0xd9e546,0x3bd,_0x4b8dfd._0x5b749d)](_0xfb8d50[_0x51b209(0x649,0x484,_0x4b8dfd._0x1dde3a,0x492)]??_0xfb8d50[_0x51b209(_0x4b8dfd._0x7943cb,0x604,_0x4b8dfd._0x4fb7a3,_0x4b8dfd._0x1b3c2e)]);function _0x340ec5(_0x36bb52,_0xa2dd5d,_0xd5f92e,_0x14321f){return _0x28bc81(_0x36bb52-0x145,_0xa2dd5d-0xe6,_0xd5f92e- -0x23e,_0x14321f);}function _0x51b209(_0x48f384,_0x1120f7,_0x269176,_0x28cc5b){return _0x28bc81(_0x48f384-_0x13de0c._0x5c85e2,_0x1120f7-0x116,_0x1120f7- -_0x13de0c._0x5b5256,_0x48f384);}return await new Promise((_0x3433b7,_0x19640c)=>{const _0xdd5e34={_0x352b9c:0x7f1,_0x2755ff:0x711,_0x5eac82:0x8de,_0x554d9f:0x748,_0x194b41:0x47e,_0x429cf7:0x607,_0x2cfc1f:0x59c,_0xb91d43:0x7cf,_0xb6a95d:0x767,_0x307ee0:0x61b,_0x21781c:0x77c,_0x3f2d87:0x5c1,_0x4831d2:0x730,_0x1c6f9c:0x954,_0x23b15b:0x817,_0x239b4f:0x611,_0x527797:0x946,_0x3c8512:0x7a9,_0x478eb4:0x514,_0x23a54a:0x862,_0x4be3aa:0x676,_0x5f0582:0x7c7},_0xca9ddc={_0x3eb70d:0x24e},_0x55ef33=_0xf7162b(_0x2934ce,_0x13b3fa,{'cwd':_0xfb8d50[_0x4f6355(_0x26009f._0x1f94e6,_0x26009f._0xb9f537,0x945,0x8fc)],'stdio':[_0x2b641e(_0x26009f._0x46db25,_0x26009f._0x1d4836,0x3e8,0x2d2),_0x2b641e(_0x26009f._0x190147,0x78,0x1f9,0x306),_0x4f6355(_0x26009f._0x25e0a9,0x4d1,0x60a,_0x26009f._0x562ada)]});let _0x1004e7='';function _0x2b641e(_0xb1a0d7,_0x43e515,_0x2285e6,_0xd2ef7e){return _0x340ec5(_0xb1a0d7-_0x662ad8._0x1fb109,_0x43e515-0x143,_0x2285e6-_0x662ad8._0x2d6a3b,_0xd2ef7e);}let _0x381f6c='';function _0x4f6355(_0x51ce0b,_0x4936cd,_0x9b8fde,_0x723e78){return _0x51b209(_0x9b8fde,_0x723e78-0x2f8,_0x9b8fde-0x12e,_0x723e78-_0x360be6._0x238ed6);}_0x55ef33[_0x2b641e(_0x26009f._0x249adb,0x4d4,0x53a,0x4c1)]?.['on']('data',_0x1b5e22=>{const _0x371fb0={_0x1b462c:0x7,_0x3c9788:0x1df};function _0x3d8732(_0x522e4d,_0x49148c,_0x33629f,_0x5de5d7){return _0x4f6355(_0x522e4d-_0x371fb0._0x1b462c,_0x49148c-0x167,_0x49148c,_0x522e4d- -_0x371fb0._0x3c9788);}_0x1004e7+=_0x1b5e22[_0x3d8732(0x4b7,_0x1f6d16._0x5e8034,0x562,_0x1f6d16._0x3a7645)]();}),_0x55ef33[_0x4f6355(0x6a0,_0x26009f._0x4df2d9,_0x26009f._0x3fb2c9,0x5ee)]?.['on'](_0x4f6355(_0x26009f._0x25bd81,0x450,0x497,0x590),_0x4ead55=>{function _0x38016c(_0x473f37,_0x584317,_0x508c8e,_0x5e7cad){return _0x2b641e(_0x473f37-0x43,_0x584317-0xe3,_0x584317- -_0xca9ddc._0x3eb70d,_0x5e7cad);}_0x381f6c+=_0x4ead55[_0x38016c(_0x9922._0x2f782c,0x17d,0x305,0x1a2)]();}),_0x55ef33['on'](_0x4f6355(_0x26009f._0x3940ed,_0x26009f._0x5c2fa2,_0x26009f._0x30ab29,_0x26009f._0x2f3804),_0x3ac3d4=>{const _0x37dbb5={_0x48e10b:0x90c,_0x1d5e41:0x8f6,_0x1caa95:0x647,_0x274cc0:0x580},_0x2e2644={_0x7febe9:0xd5,_0x5b0673:0x153},_0x4c347c={_0x5c32a5:0x118,_0x267a55:0xf2},_0xb75088={_0x228e2d:0xa4,_0x5d6a82:0x4c};function _0x5e6be5(_0x47a597,_0x48e0d1,_0x33bb5a,_0x5356b9){return _0x4f6355(_0x47a597-0x1cb,_0x48e0d1-0x1c5,_0x33bb5a,_0x48e0d1- -0x2a);}if(_0x3ac3d4===0x1&&_0x1004e7===''){_0x3433b7([]);return;}if(_0x3ac3d4!==0x0&&_0x3ac3d4!==0x1){_0x19640c(new Error('ripgrep\x20failed:\x20'+_0x381f6c));return;}const _0x2413ef=[];try{for(const _0x250a55 of _0x1004e7[_0x5e6be5(_0xdd5e34._0x352b9c,_0xdd5e34._0x2755ff,_0xdd5e34._0x5eac82,0x5fe)](/\r?\n/)){const _0x4c63d0=parseMatchLine(_0x250a55,_0xfb8d50['cwd']);if(_0x4c63d0)_0x2413ef[_0x5e6be5(_0xdd5e34._0x554d9f,0x682,0x4fa,0x88d)](_0x4c63d0);}}catch(_0x53745c){_0x19640c(_0x53745c);return;}const _0x163eea=_0xfb8d50[_0x5e6be5(_0xdd5e34._0x194b41,0x53f,_0xdd5e34._0x429cf7,_0xdd5e34._0x2cfc1f)]??0x64,_0x5e00e1=Number[_0x5e6be5(0x9c9,_0xdd5e34._0xb91d43,_0xdd5e34._0xb6a95d,_0xdd5e34._0x307ee0)](_0x163eea)?Math[_0x5e6be5(0x5b6,0x733,0x5d7,_0xdd5e34._0x21781c)](0x0,Math[_0x7b9fe4(_0xdd5e34._0x3f2d87,0x7d2,0x5b3,0x676)](_0x163eea)):0x64,_0x1538b4=_0x2413ef[_0x5e6be5(0x5bc,0x751,_0xdd5e34._0x4831d2,0x77a)](_0x13516d=>!_0x13516d[_0x7b9fe4(0x858,0x7d0,0x6a5,0x885)]);if(_0x1538b4['length']<=_0x5e00e1){_0x3433b7(_0x2413ef);return;}const _0x341712=_0x1538b4[_0x7b9fe4(0x822,_0xdd5e34._0x1c6f9c,0x7fa,_0xdd5e34._0x23b15b)](0x0,_0x5e00e1),_0x4b310f=new Set(_0x341712);function _0x7b9fe4(_0x39140d,_0x5812ac,_0x190a00,_0x4f67d6){return _0x4f6355(_0x39140d-0x1a5,_0x5812ac-_0xb75088._0x228e2d,_0x39140d,_0x4f67d6-_0xb75088._0x5d6a82);}const _0x57ca5e=_0x23d581?Math[_0x7b9fe4(_0xdd5e34._0x239b4f,0x6c7,_0xdd5e34._0x527797,_0xdd5e34._0x3c8512)](0x0,Math[_0x7b9fe4(_0xdd5e34._0x478eb4,_0xdd5e34._0x23a54a,0x75c,_0xdd5e34._0x4be3aa)](_0xfb8d50['context']??0x0)):0x0;_0x3433b7(_0x2413ef[_0x7b9fe4(0x6ea,0x830,0x951,_0xdd5e34._0x5f0582)](_0x3180ba=>{function _0x1ae77b(_0x5a610a,_0x4ac7c5,_0x396e46,_0x3c5b36){return _0x5e6be5(_0x5a610a-0x112,_0x4ac7c5-_0x4c347c._0x5c32a5,_0x396e46,_0x3c5b36-_0x4c347c._0x267a55);}if(!_0x3180ba['isContext'])return _0x4b310f[_0x1ae77b(_0x37dbb5._0x48e10b,0x6ef,_0x37dbb5._0x1d5e41,_0x37dbb5._0x1caa95)](_0x3180ba);function _0x370a85(_0x5f2908,_0x3e098e,_0x36e49e,_0x248fd5){return _0x7b9fe4(_0x248fd5,_0x3e098e-_0x2e2644._0x7febe9,_0x36e49e-_0x2e2644._0x5b0673,_0x3e098e- -0x272);}return _0x341712[_0x370a85(0x3ce,0x5e3,_0x37dbb5._0x274cc0,0x62e)](_0x3a3654=>_0x3a3654[_0x370a85(0x3a5,0x319,0x2a4,0x1da)]===_0x3180ba['filePath']&&Math[_0x370a85(0x5a1,0x600,0x4e4,0x50e)](_0x3a3654[_0x1ae77b(0x68b,0x676,0x7d2,0x740)]-_0x3180ba[_0x370a85(0x488,0x362,0x486,0x357)])<=_0x57ca5e);}));}),_0x55ef33['on'](_0x2b641e(_0x26009f._0x54fa1e,_0x26009f._0x594fa7,_0x26009f._0x3da747,_0x26009f._0x15bfbe),_0x19640c);});}function createGlobTool(_0x5dfbad={}){const _0x124dec={_0x38a233:0x7a2,_0x4d6da2:0x354,_0x824777:0x2de,_0x198008:0x3d9,_0x1fe31a:0x4f1,_0x53c2fd:0x1a9,_0x54b719:0x2c4,_0x1c942d:0x593,_0x35a310:0x65a,_0x56797f:0x218,_0x103bb6:0xec,_0x3aa456:0x20,_0xbb4551:0x1c5,_0x168c51:0x289,_0x3825ce:0x3cc,_0x3c2feb:0x1f6,_0x2af60e:0x22f,_0x217775:0x6e0,_0x5012c3:0x63d,_0x4e4459:0x4ff,_0x58b67c:0x185,_0xd10c63:0x209},_0x1d7533={_0x16a89b:0x765,_0x5b7db1:0x620,_0x9d5d70:0x6b9,_0x38f96b:0x7d9,_0x1b75f2:0x5b0,_0x9d346a:0x7da,_0x40a8dd:0x5cc,_0x5e3938:0x4d6,_0x30fa82:0x53c,_0x50c436:0x86a,_0x131985:0x944,_0x3693f7:0x62d,_0x3d6187:0x52a,_0x297dc4:0x6ec,_0x572c2c:0x4da,_0x18cdf5:0x458,_0x1d0435:0x2dd,_0x12ea3f:0x414,_0x3cbf8b:0x44f,_0x200e02:0x8ea,_0xc77a50:0x837,_0x32491a:0x8f5,_0x1b0345:0x48e,_0x5a8562:0x280,_0x299013:0x33b,_0x3a2ad3:0x3dc,_0x3ecda4:0x56c,_0x307ee7:0x650,_0x5ed9a9:0x7d7,_0x1524d4:0x5de,_0x4392db:0x77d,_0x4e5a85:0x4d0,_0xdf77e8:0x24d,_0x2d5119:0x169,_0x16076d:0x862,_0x566f54:0x64c},_0x309d80={_0x2251a9:0x111},_0x133c48={_0x34e344:0x195,_0x52f36d:0xd1,_0x3673d:0xa0},_0x1272f6={_0x59e9f3:0x42,_0x350dee:0x2c0},_0x2bfbd5=_0x43494c[_0x350391(0x312,0x1ba,0xd0,0x2f7)](_0x5dfbad['defaultCwd']??process[_0x4e7018(0x7fc,_0x124dec._0x38a233,0x4c3,0x6e5)]()),_0x490d5d=_0x5dfbad[_0x350391(_0x124dec._0x4d6da2,_0x124dec._0x824777,_0x124dec._0x198008,_0x124dec._0x1fe31a)]??[],_0x1b07f8=_0x5dfbad[_0x350391(_0x124dec._0x53c2fd,0x1d3,0xe5,_0x124dec._0x54b719)]??0x64;function _0x4e7018(_0x5e1272,_0x3f55cc,_0x1dff7e,_0x49dd95){return _0x5b2413(_0x5e1272-0xe4,_0x3f55cc-_0x1272f6._0x59e9f3,_0x49dd95- -_0x1272f6._0x350dee,_0x3f55cc);}function _0x350391(_0x211b0e,_0x49c5bd,_0x1f294d,_0x352559){return _0x28bc81(_0x211b0e-_0x133c48._0x34e344,_0x49c5bd-_0x133c48._0x52f36d,_0x49c5bd- -_0x133c48._0x3673d,_0x1f294d);}const _0x3de955=_0x5dfbad[_0x350391(0x521,0x3d6,_0x124dec._0x1c942d,0x28e)]??_0x4e7018(0x6d3,0x58a,0x4e9,_0x124dec._0x35a310);return defineTool({'name':_0x3de955,'permissionClass':_0x350391(0x2f8,_0x124dec._0x56797f,_0x124dec._0x103bb6,_0x124dec._0x3aa456),'description':'Find\x20workspace\x20or\x20allowed\x20directory\x20files\x20matching\x20a\x20glob\x20pattern.','inputSchema':{'type':_0x350391(0x396,_0x124dec._0xbb4551,_0x124dec._0x168c51,_0x124dec._0x3825ce),'properties':{'pattern':{'type':'string'},'path':{'type':_0x350391(0x38d,_0x124dec._0x3c2feb,0x2fc,_0x124dec._0x2af60e)},'limit':{'type':_0x4e7018(_0x124dec._0x217775,0x575,_0x124dec._0x5012c3,_0x124dec._0x4e4459)}},'required':[_0x350391(_0x124dec._0x58b67c,0x33c,_0x124dec._0xd10c63,0x4d1)]},async *'execute'(_0x216300){const _0x384b06={_0x394b25:0x94,_0x230dcf:0x113,_0x2e1e05:0x1dc};if(_0x216300[_0x68856e(_0x1d7533._0x16a89b,0x77d,0x78e,_0x1d7533._0x5b7db1)][_0x68856e(0x738,_0x1d7533._0x9d5d70,0x797,_0x1d7533._0x38f96b)]()[_0x3cbf6b(0x73b,0x563,0x5bc,_0x1d7533._0x1b75f2)]===0x0)throw new ToolExecutionError('pattern\x20is\x20required',{});const _0x438176=resolveAllowedPath(_0x2bfbd5,_0x490d5d,_0x216300['path']??'.'),_0xea6e43=await _0x56e74c(_0x438176)[_0x68856e(_0x1d7533._0x9d346a,_0x1d7533._0x40a8dd,0x55f,_0x1d7533._0x5e3938)](()=>null);if(!_0xea6e43?.['isDirectory']())throw new ToolExecutionError('Directory\x20not\x20found:\x20'+(_0x216300[_0x3cbf6b(0x45f,0x72e,_0x1d7533._0x30fa82,0x593)]??'.'),{'path':_0x216300[_0x68856e(0x8e7,_0x1d7533._0x50c436,0x85e,_0x1d7533._0x131985)]??'.'});const _0x5e8fef=_0x216300[_0x68856e(_0x1d7533._0x3693f7,0x614,_0x1d7533._0x3d6187,0x725)]??_0x1b07f8,_0x4b49a5=Math[_0x3cbf6b(_0x1d7533._0x297dc4,0x3e9,_0x1d7533._0x572c2c,_0x1d7533._0x18cdf5)](0x1,Math['trunc'](_0x5e8fef)),_0xaa78f7=[];let _0x47b8d5=![];for await(const _0x1b443b of files({'cwd':_0x438176,'glob':[_0x216300[_0x3cbf6b(_0x1d7533._0x1d0435,_0x1d7533._0x12ea3f,_0x1d7533._0x3cbf8b,0x248)]]})){if(_0xaa78f7[_0x68856e(0x909,_0x1d7533._0x200e02,_0x1d7533._0xc77a50,0xa75)]>=_0x4b49a5){_0x47b8d5=!![];break;}const _0x1c36d1=await _0x56e74c(_0x43494c['join'](_0x438176,_0x1b443b))['catch'](()=>null);_0xaa78f7[_0x68856e(0x717,0x757,0x53c,_0x1d7533._0x32491a)]({'path':_0x1b443b,'mtime':_0x1c36d1?.['mtimeMs']??0x0});}function _0x68856e(_0x556f13,_0x5a041a,_0x44d595,_0x1f041f){return _0x350391(_0x556f13-0xd2,_0x5a041a-0x441,_0x556f13,_0x1f041f-_0x309d80._0x2251a9);}_0xaa78f7[_0x3cbf6b(_0x1d7533._0x1b0345,_0x1d7533._0x5a8562,_0x1d7533._0x299013,_0x1d7533._0x3a2ad3)]((_0x559bf3,_0x24fc5a)=>_0x24fc5a[_0x3cbf6b(0x6a4,0x6fa,0x5a2,0x464)]-_0x559bf3[_0x68856e(0x70a,0x8d0,0xad2,0xaa7)]);const _0x2fecea=_0xaa78f7[_0x68856e(0x983,0x972,0xa84,0xb67)](_0x3a0216=>_0x3a0216['path']);function _0x3cbf6b(_0x3cdba0,_0x428f65,_0x18e567,_0xc1951a){return _0x350391(_0x3cdba0-_0x384b06._0x394b25,_0x18e567-_0x384b06._0x230dcf,_0x428f65,_0xc1951a-_0x384b06._0x2e1e05);}const _0x32df8e=_0x2fecea['length']===0x0?_0x3cbf6b(0x43c,_0x1d7533._0x3ecda4,_0x1d7533._0x307ee7,_0x1d7533._0x5ed9a9)+_0x216300[_0x68856e(_0x1d7533._0x1524d4,_0x1d7533._0x4392db,0x82d,0x8ab)]:''+_0x2fecea[_0x3cbf6b(0x527,0x68f,_0x1d7533._0x4e5a85,0x694)]('\x0a')+(_0x47b8d5?_0x3cbf6b(_0x1d7533._0xdf77e8,_0x1d7533._0x2d5119,0x26c,0x173):'');return yield createToolOutput(_0x32df8e,{'pattern':_0x216300[_0x68856e(_0x1d7533._0x16076d,_0x1d7533._0x4392db,0x5db,_0x1d7533._0x566f54)],'searchPath':_0x43494c[_0x68856e(0x4f5,0x685,0x5e1,0x703)](_0x2bfbd5,_0x438176)||'.','matches':_0x2fecea,'count':_0x2fecea['length'],'truncated':_0x47b8d5}),void 0x0;}});}var GREP_DEFAULT_LIMIT=0x64,GREP_MAX_PATTERN_LENGTH=0x400,GREP_MAX_SNIPPET_LENGTH=0x7d0;function validateGrepPattern(_0x26b88c){const _0x42ebf4={_0x17f3a1:0x56a,_0x595a66:0x6a9,_0x45e8e8:0x4ce,_0x5c0826:0x79b,_0x11e076:0x82b,_0x30efdb:0x7d2,_0x1dc34c:0x472,_0x31b6d9:0x28a,_0xfb9603:0x41f},_0x38912f={_0x42cf4b:0x65,_0x4ad81f:0x1c4},_0x568cdc={_0x6a5a0:0x95,_0x11380d:0x65e};function _0x1e24b6(_0xca415,_0xb38b46,_0x597ad4,_0x326be7){return _0x5b2413(_0xca415-_0x568cdc._0x6a5a0,_0xb38b46-0x159,_0x597ad4- -_0x568cdc._0x11380d,_0xb38b46);}function _0x25dcab(_0x26a8ed,_0x238a25,_0x262d54,_0x392cd7){return _0x28bc81(_0x26a8ed-_0x38912f._0x42cf4b,_0x238a25-_0x38912f._0x4ad81f,_0x26a8ed-0x252,_0x392cd7);}if(_0x26b88c[_0x25dcab(_0x42ebf4._0x17f3a1,0x562,_0x42ebf4._0x595a66,_0x42ebf4._0x45e8e8)]()[_0x25dcab(_0x42ebf4._0x5c0826,_0x42ebf4._0x11e076,_0x42ebf4._0x30efdb,0x706)]===0x0)throw new Error('pattern\x20is\x20required');if(_0x26b88c[_0x1e24b6(0x130,_0x42ebf4._0x1dc34c,_0x42ebf4._0x31b6d9,_0x42ebf4._0xfb9603)]>GREP_MAX_PATTERN_LENGTH)throw new Error('pattern\x20must\x20be\x20at\x20most\x20'+GREP_MAX_PATTERN_LENGTH+'\x20characters');}function boundedGrepSnippet(_0x16a382){const _0x91401={_0x5752cc:0x105,_0x2e441c:0x3d,_0x199630:0x1fd,_0x23717f:0x39,_0x134b5b:0x189,_0x50431d:0x363,_0x1b419a:0x6f1,_0x2eb4d0:0x7a6},_0x12de40={_0x426626:0x1e0,_0x33ec83:0x1a,_0x10c5e8:0x63},_0x173906={_0x3c5f2f:0x1f1};function _0x1737f0(_0x39bf23,_0x2a6cc8,_0x3770f0,_0x836ca8){return _0x5b2413(_0x39bf23-0x8f,_0x2a6cc8-_0x173906._0x3c5f2f,_0x3770f0- -0x6eb,_0x2a6cc8);}function _0xdd689a(_0x53b93e,_0x4eb6f1,_0x2f455f,_0x37b2eb){return _0x5b2413(_0x53b93e-_0x12de40._0x426626,_0x4eb6f1-_0x12de40._0x33ec83,_0x2f455f- -_0x12de40._0x10c5e8,_0x53b93e);}return _0x16a382[_0x1737f0(_0x91401._0x5752cc,_0x91401._0x2e441c,_0x91401._0x199630,_0x91401._0x23717f)]>GREP_MAX_SNIPPET_LENGTH?_0x16a382[_0x1737f0(0x1e,0x16,_0x91401._0x134b5b,_0x91401._0x50431d)](0x0,GREP_MAX_SNIPPET_LENGTH)+_0xdd689a(_0x91401._0x1b419a,_0x91401._0x2eb4d0,0x7d6,0x82e):_0x16a382;}async function searchRegex(_0x4e17e7){const _0x1eeefe={_0x28ae0a:0x118,_0x63b889:0x344,_0x2675e0:0x9a,_0x1822b2:0x1a3,_0x4540cd:0x1b3,_0x596c95:0x377,_0x15b956:0x363,_0x3c9cfa:0x584,_0x4996ec:0x564,_0x377e27:0x3b3,_0x16803f:0x592,_0x2c8609:0x1b5,_0x8d1a40:0x134,_0x1354bc:0x122,_0x4c4f37:0x46,_0x421ce5:0xae,_0x405416:0x293,_0x37e2d0:0x64f,_0x4af71b:0x5d0,_0x47bbf7:0x614,_0x4e85b4:0x772,_0x4ccb18:0x800,_0x4b50a3:0x62c,_0x14b29c:0x704,_0x5689db:0x54b,_0xc6020f:0x27,_0x44ac25:0x9,_0x10a560:0x39e,_0x45fb29:0x15b,_0x435cbc:0x339,_0x45047d:0x6f5,_0x131230:0x86e,_0x532f58:0x9ed,_0x32b3:0x36,_0xbcc771:0xe},_0x5451e5={_0x29aaca:0x5d},_0x3b31c4={_0x45f9d4:0x3b4,_0x169713:0x1a5,_0xed1ea8:0x144,_0x214111:0x93,_0x8ab13b:0x350,_0x1990ca:0x5b,_0x17767c:0x175},_0x380409={_0x1d2182:0x104,_0x4724fb:0x610},_0x3b870e={_0x574feb:0x1c6,_0x22aa68:0x1cd,_0x43eeb1:0x2c4};function _0x135a6a(_0x611e11,_0x626c9d,_0x478fcf,_0x4708b6){return _0x28bc81(_0x611e11-_0x3b870e._0x574feb,_0x626c9d-_0x3b870e._0x22aa68,_0x4708b6- -_0x3b870e._0x43eeb1,_0x611e11);}validateGrepPattern(_0x4e17e7[_0x135a6a(0xf9,0x31d,0x17c,_0x1eeefe._0x28ae0a)]);const _0x502c4c=_0x4e17e7['limit']??GREP_DEFAULT_LIMIT,_0x56b8f4=Number[_0x135a6a(_0x1eeefe._0x63b889,0x1a0,0x1f7,0x23f)](_0x502c4c)?Math[_0x135a6a(_0x1eeefe._0x2675e0,0x1b2,0x5f,_0x1eeefe._0x1822b2)](0x1,Math[_0x135a6a(-0x15a,-_0x1eeefe._0x4540cd,0x22b,0x70)](_0x502c4c)):GREP_DEFAULT_LIMIT;if(_0x4e17e7[_0x44a44e(0x754,0x584,_0x1eeefe._0x596c95,_0x1eeefe._0x15b956)]?.['length']===0x0)return{'matches':[],'matchCount':0x0,'fileCount':0x0,'truncated':![]};const _0x5c8531=await search({'cwd':_0x4e17e7['cwd'],'pattern':_0x4e17e7['pattern'],..._0x4e17e7[_0x44a44e(0x3ce,_0x1eeefe._0x3c9cfa,_0x1eeefe._0x4996ec,0x688)]===void 0x0?{}:{'files':_0x4e17e7[_0x44a44e(_0x1eeefe._0x377e27,0x584,_0x1eeefe._0x16803f,0x470)]},..._0x4e17e7['glob']===void 0x0?{}:{'glob':_0x4e17e7[_0x135a6a(0xf2,_0x1eeefe._0x2c8609,_0x1eeefe._0x8d1a40,_0x1eeefe._0x1354bc)]},..._0x4e17e7[_0x135a6a(_0x1eeefe._0x4c4f37,0x85,-0x141,-0xcf)]===void 0x0?{}:{'context':_0x4e17e7[_0x135a6a(_0x1eeefe._0x421ce5,-_0x1eeefe._0x405416,0xeb,-0xcf)]},'limit':_0x56b8f4+0x1}),_0x2b4021=_0x5c8531[_0x44a44e(_0x1eeefe._0x37e2d0,0x722,_0x1eeefe._0x4af71b,0x53d)](_0x4034e0=>!_0x4034e0['isContext']),_0x10efe7=_0x2b4021['length']>_0x56b8f4,_0x5f3b1f=_0x2b4021[_0x44a44e(_0x1eeefe._0x47bbf7,_0x1eeefe._0x4e85b4,_0x1eeefe._0x4ccb18,0x755)](0x0,_0x56b8f4),_0x2c9982=new Set(_0x5f3b1f),_0x2e770b=Math[_0x44a44e(_0x1eeefe._0x4b50a3,_0x1eeefe._0x14b29c,0x855,_0x1eeefe._0x5689db)](0x0,Math[_0x135a6a(0x65,_0x1eeefe._0xc6020f,-_0x1eeefe._0x44ac25,0x70)](_0x4e17e7[_0x44a44e(0x313,0x492,_0x1eeefe._0x10a560,0x526)]??0x0)),_0x28203a=_0x10efe7?_0x5c8531[_0x135a6a(_0x1eeefe._0x45fb29,_0x1eeefe._0x435cbc,0xfd,0x1c1)](_0x44484e=>{if(!_0x44484e[_0x4a6692(0x2c3,_0x3b31c4._0x45f9d4,0xce,_0x3b31c4._0x169713)])return _0x2c9982[_0x4a6692(-0xa5,-_0x3b31c4._0xed1ea8,-0x1c0,-_0x3b31c4._0x214111)](_0x44484e);function _0x4a6692(_0x1691e0,_0xde33c,_0x5b58e1,_0x36da0b){return _0x44a44e(_0x1691e0-0x146,_0x36da0b- -0x63b,_0x5b58e1-0x1a9,_0x1691e0);}function _0x2cea8d(_0x2a7622,_0x1ff7fc,_0x36abce,_0x1fbcec){return _0x135a6a(_0x1fbcec,_0x1ff7fc-0x1bb,_0x36abce-_0x380409._0x1d2182,_0x1ff7fc-_0x380409._0x4724fb);}return _0x5f3b1f[_0x4a6692(0x1b8,_0x3b31c4._0x8ab13b,-_0x3b31c4._0x1990ca,_0x3b31c4._0x17767c)](_0x326957=>_0x326957[_0x2cea8d(0x6b8,0x595,0x381,0x5e6)]===_0x44484e[_0x4a6692(-0x71,0x52,-0x34,-0x155)]&&Math[_0x2cea8d(0x9e2,0x87c,0x9a3,0x7c7)](_0x326957['lineNum']-_0x44484e[_0x4a6692(-0x29,-0x2e5,0x3,-0x10c)])<=_0x2e770b);}):_0x5c8531;function _0x44a44e(_0x1a0830,_0x9e8c12,_0x25ea25,_0x4427fd){return _0x5b2413(_0x1a0830-_0x5451e5._0x29aaca,_0x9e8c12-0x2e,_0x9e8c12- -0x102,_0x4427fd);}return{'matches':_0x28203a,'matchCount':_0x5f3b1f['length'],'fileCount':new Set(_0x28203a[_0x44a44e(_0x1eeefe._0x45047d,_0x1eeefe._0x131230,_0x1eeefe._0x532f58,0x890)](_0x5cbe43=>_0x5cbe43['filePath']))[_0x135a6a(-_0x1eeefe._0x32b3,-0x1dd,0x125,_0x1eeefe._0xbcc771)],'truncated':_0x10efe7};}import{stat as _0x491e8d}from'fs/promises';import*as _0x4be3bc from'path';function createGrepTool(_0x16d886={}){const _0x4a50e5={_0x1a646a:0x18e,_0x4f9c63:0xbf,_0x4e10c6:0x1e1,_0x4987cc:0x26e,_0x183536:0x283,_0x576e0d:0x4a2,_0x3391a3:0xa37,_0x38f062:0x8f4,_0x3c2494:0x879,_0x5f22b5:0x1b8,_0x262ab7:0x12a,_0x43fe2d:0x1fa,_0x4f0b75:0x40,_0x5c320e:0x37c,_0x44254a:0x216,_0x464068:0x5f2,_0x25eb50:0x277,_0x3c4eee:0x260,_0x24fff8:0x21d,_0x591482:0x295,_0x345999:0x386,_0xa389d8:0xda,_0x3d4196:0x7e3,_0x13002c:0x812,_0x5ed53f:0x79e,_0x43fe36:0x70e,_0x4c24ba:0x3b2,_0x119012:0x3a7,_0x29ce34:0x363},_0x198aa7={_0x2c57b2:0x7fe,_0x468cb6:0x795,_0x2e5e4e:0x6a4,_0x5421f6:0x614,_0x3a5086:0x553,_0x392076:0x395,_0x31f3a3:0x547,_0x12d6ff:0x543,_0x1869ff:0x3d1,_0x1882e0:0x492,_0x62ff30:0x436,_0x492b85:0x5f2,_0x186c71:0x437,_0x4bab86:0x4bd,_0x1f1f7f:0x404,_0x143856:0x6ae,_0x1aed62:0x2d8,_0xa46feb:0x10d,_0x54e11c:0x1c4,_0x19a91a:0x1a2,_0x49c35a:0x27f,_0xeb35d4:0x45d,_0x39eebc:0x36a,_0x5b729d:0x385,_0x38bec3:0x542,_0x1ec044:0x403,_0x340666:0x524,_0x5b2385:0x603,_0x4f47e8:0x459,_0x4627c7:0x42b,_0x581532:0x319,_0x30a63b:0x94f,_0x45aee4:0x7e9,_0x54656a:0x88a,_0x519967:0x545,_0x38b4cf:0x536,_0x1f852e:0x388,_0x1cd5d6:0x50c,_0x3e9937:0x440,_0x2654bb:0x33a,_0xfd24b5:0x3bc,_0x27e0a8:0x69b,_0x22d4c1:0x5c1,_0x57209b:0x4cf,_0x5bba64:0x518,_0x501259:0x5d3,_0x8eac3e:0x5f1,_0x45063a:0x615,_0x124501:0x67f,_0xda6c6a:0x5c0,_0x1997e7:0x466,_0x5e3b2f:0x4a0,_0xcb8f72:0x49b,_0x1753d3:0x3ab,_0xc06a63:0x3db,_0x5925de:0x48c,_0x34e959:0x41b,_0xfcf3a8:0x67e,_0x42f7d2:0x420,_0x579bdf:0x5dd,_0x412dd9:0x1c9,_0xed67ca:0x476,_0x5d675b:0x2d5,_0x1b48ea:0x970,_0x2e1545:0x6ce,_0x17219d:0x71c,_0x5e8630:0x2cd,_0x448d40:0x357,_0x596db2:0x427,_0xd2fd31:0xf9,_0xecc0c1:0x355,_0xfe8bfa:0x43e,_0x201e65:0x2dd,_0xee7e1a:0x466,_0x28429b:0x624,_0x2bf941:0x5a8,_0x4b9b95:0x47d,_0x36ccb8:0x555,_0x29ac24:0x356,_0x25a054:0x3a2},_0x25da8f={_0x2ed97d:0x1ac,_0x270deb:0xdf},_0x3089ac={_0x18d1e8:0xf8,_0x5236d7:0xb1},_0x1088cb={_0x1b77dd:0x12c,_0x468e98:0x33},_0x471263=_0x4be3bc[_0x1bf382(_0x4a50e5._0x1a646a,_0x4a50e5._0x4f9c63,_0x4a50e5._0x4e10c6,_0x4a50e5._0x4987cc)](_0x16d886[_0x1bf382(0x31a,0x468,_0x4a50e5._0x183536,_0x4a50e5._0x576e0d)]??process[_0x55f013(_0x4a50e5._0x3391a3,0xa78,0x8b6,_0x4a50e5._0x38f062)]());function _0x1bf382(_0x54c8e2,_0x1acb05,_0x55fc33,_0x5161d8){return _0x28bc81(_0x54c8e2-_0x1088cb._0x1b77dd,_0x1acb05-_0x1088cb._0x468e98,_0x55fc33- -0x79,_0x5161d8);}function _0x55f013(_0x32c6cc,_0x224bc8,_0x5ef883,_0x4a47bd){return _0x5b2413(_0x32c6cc-0x62,_0x224bc8-_0x3089ac._0x18d1e8,_0x4a47bd- -_0x3089ac._0x5236d7,_0x5ef883);}const _0x5139a2=_0x16d886[_0x55f013(0x78d,_0x4a50e5._0x3c2494,0x5fe,0x66c)]??[],_0x1b4dc5=_0x16d886[_0x1bf382(_0x4a50e5._0x5f22b5,_0x4a50e5._0x262ab7,_0x4a50e5._0x43fe2d,0x1dd)]??GREP_DEFAULT_LIMIT,_0x31b796=_0x16d886['name']??_0x1bf382(_0x4a50e5._0x4f0b75,_0x4a50e5._0x5c320e,_0x4a50e5._0x44254a,0xe);return defineTool({'name':_0x31b796,'permissionClass':'read','description':_0x55f013(0x67d,_0x4a50e5._0x464068,0x720,0x794),'inputSchema':{'type':_0x55f013(0x52d,0x36c,0x6f3,0x553),'properties':{'pattern':{'type':_0x1bf382(_0x4a50e5._0x25eb50,_0x4a50e5._0x3c4eee,_0x4a50e5._0x24fff8,_0x4a50e5._0x591482)},'path':{'type':_0x55f013(0x57c,0x653,0x4e3,0x584)},'include':{'type':_0x1bf382(0xdc,_0x4a50e5._0x345999,0x21d,_0x4a50e5._0xa389d8)},'limit':{'type':_0x55f013(_0x4a50e5._0x3d4196,_0x4a50e5._0x13002c,_0x4a50e5._0x5ed53f,_0x4a50e5._0x43fe36)},'context':{'type':_0x1bf382(_0x4a50e5._0x4c24ba,0x2ab,_0x4a50e5._0x119012,0x3f6)}},'required':[_0x1bf382(0x299,0x4c4,_0x4a50e5._0x29ce34,0x3d5)]},async *'execute'(_0x3c1596){const _0x13126c={_0x373763:0x1cc,_0x4d51e9:0x191,_0x2dc666:0x372};try{validateGrepPattern(_0x3c1596['pattern']);}catch(_0x4952ba){throw new ToolExecutionError(_0x4952ba[_0x37330c(0x6b5,_0x198aa7._0x2c57b2,_0x198aa7._0x468cb6,0x668)],{});}const _0x35d3df=resolveAllowedPath(_0x471263,_0x5139a2,_0x3c1596[_0x37330c(0x6a8,_0x198aa7._0x2e5e4e,_0x198aa7._0x5421f6,_0x198aa7._0x3a5086)]??'.'),_0x4c53b3=await _0x491e8d(_0x35d3df)['catch'](()=>null),_0x232002=_0x4c53b3?.[_0x37330c(_0x198aa7._0x392076,_0x198aa7._0x31f3a3,0x3a3,0x4b9)]()??![],_0x812c43=_0x4c53b3?.[_0x37330c(_0x198aa7._0x12d6ff,0x366,_0x198aa7._0x1869ff,0x412)]()??![];function _0x1147d3(_0x3dda98,_0x83a947,_0x38ba6a,_0x48c165){return _0x1bf382(_0x3dda98-_0x13126c._0x373763,_0x83a947-_0x13126c._0x4d51e9,_0x48c165-_0x13126c._0x2dc666,_0x83a947);}if(!_0x232002&&!_0x812c43)throw new ToolExecutionError(_0x37330c(0x273,0x445,_0x198aa7._0x1882e0,_0x198aa7._0x62ff30)+(_0x3c1596[_0x37330c(0x614,0x3f3,_0x198aa7._0x492b85,_0x198aa7._0x3a5086)]??'.'),{'path':_0x3c1596[_0x37330c(_0x198aa7._0x186c71,0x505,_0x198aa7._0x4bab86,_0x198aa7._0x3a5086)]??'.'});const _0x534431=await searchRegex({'cwd':_0x812c43?_0x35d3df:_0x4be3bc[_0x37330c(0x20a,0x15e,_0x198aa7._0x1f1f7f,0x260)](_0x35d3df),'pattern':_0x3c1596['pattern'],'glob':_0x812c43?_0x3c1596[_0x1147d3(_0x198aa7._0x143856,0x887,0x89d,0x82f)]:void 0x0,'limit':_0x3c1596[_0x37330c(_0x198aa7._0x1aed62,0x121,_0x198aa7._0xa46feb,0x2fd)]??_0x1b4dc5,'files':_0x232002?[_0x35d3df]:void 0x0,'context':_0x3c1596[_0x37330c(_0x198aa7._0x54e11c,0x7f,_0x198aa7._0x19a91a,_0x198aa7._0x49c35a)]}),{matches:_0x114dbf}=_0x534431,_0xf932be=new Map();for(const _0x499302 of _0x114dbf){if(!_0xf932be[_0x37330c(0x428,_0x198aa7._0xeb35d4,0x1c4,_0x198aa7._0x392076)](_0x499302['filePath'])){const _0x15307d=await _0x491e8d(_0x499302[_0x1147d3(_0x198aa7._0x39eebc,_0x198aa7._0x5b729d,0x733,_0x198aa7._0x38bec3)])[_0x1147d3(_0x198aa7._0x1ec044,0x5a7,0x6a3,_0x198aa7._0x340666)](()=>null);_0xf932be[_0x37330c(0x657,_0x198aa7._0x5b2385,_0x198aa7._0x4f47e8,0x4c1)](_0x499302['filePath'],{'matches':[],'mtime':_0x15307d?.[_0x37330c(_0x198aa7._0x4627c7,0x120,_0x198aa7._0x581532,0x2bd)]??0x0});}_0xf932be[_0x1147d3(_0x198aa7._0x30a63b,0x8ef,_0x198aa7._0x45aee4,_0x198aa7._0x54656a)](_0x499302[_0x1147d3(0x4b8,_0x198aa7._0x519967,0x64d,0x542)])?.[_0x1147d3(0x754,_0x198aa7._0x38b4cf,_0x198aa7._0x1f852e,0x544)][_0x37330c(0x24d,_0x198aa7._0x1cd5d6,0x371,_0x198aa7._0x3e9937)](_0x499302);}const _0x10b539=[..._0xf932be[_0x37330c(0x2d6,0x4ee,0x295,_0x198aa7._0x2654bb)]()][_0x1147d3(0x6a7,_0x198aa7._0xfd24b5,_0x198aa7._0x27e0a8,_0x198aa7._0x22d4c1)]((_0xf82de3,_0x276898)=>_0x276898[0x1][_0x37330c(0x442,0x55b,0x5d4,0x5b9)]-_0xf82de3[0x1][_0x1147d3(0x683,0x747,0x6c7,0x828)]),_0x4c0b41=_0x232002?_0x4be3bc[_0x1147d3(0x6cd,0x539,0x47d,_0x198aa7._0x57209b)](_0x35d3df):_0x35d3df;function _0x37330c(_0x3b9d76,_0x7d253,_0x1f7df1,_0x268fee){return _0x55f013(_0x3b9d76-_0x25da8f._0x2ed97d,_0x7d253-_0x25da8f._0x270deb,_0x3b9d76,_0x268fee- -0x264);}let _0x17f847='';if(_0x114dbf[_0x37330c(0x714,_0x198aa7._0x5bba64,0x3d9,_0x198aa7._0x501259)]===0x0)_0x17f847=_0x37330c(0x76d,0x45a,_0x198aa7._0x8eac3e,0x648)+_0x3c1596[_0x37330c(_0x198aa7._0x45063a,_0x198aa7._0x124501,_0x198aa7._0xda6c6a,_0x198aa7._0x1997e7)];else{_0x17f847=_0x1147d3(_0x198aa7._0x5e3b2f,0x75d,_0x198aa7._0xcb8f72,0x571)+_0x534431[_0x37330c(_0x198aa7._0x1753d3,0x4be,0x2aa,_0x198aa7._0xc06a63)]+_0x37330c(0x608,0x327,_0x198aa7._0x5925de,_0x198aa7._0x34e959)+(_0x534431['matchCount']===0x1?'':'es')+'\x0a';for(const [_0x49b24c,_0x46df89]of _0x10b539){const _0x29856b=_0x232002?_0x4be3bc[_0x1147d3(0x75f,0x6d0,0x5b4,_0x198aa7._0xfcf3a8)](_0x49b24c):_0x4be3bc[_0x1147d3(_0x198aa7._0x42f7d2,0x789,0x605,_0x198aa7._0x579bdf)](_0x4c0b41,_0x49b24c);_0x17f847+='\x0a'+_0x29856b+':\x0a';for(const _0x59dcd1 of _0x46df89[_0x37330c(_0x198aa7._0x412dd9,_0x198aa7._0x581532,_0x198aa7._0xed67ca,_0x198aa7._0x5d675b)]){const _0x20b255=boundedGrepSnippet(_0x59dcd1[_0x1147d3(_0x198aa7._0x1b48ea,0x92f,_0x198aa7._0x2e1545,0x757)]),_0x4a2437=_0x59dcd1[_0x37330c(_0x198aa7._0x17219d,0x508,0x5d2,0x5cd)]?'\x20\x20':'>\x20';_0x17f847+=_0x4a2437+_0x37330c(0x2c9,0x2a2,0x1a0,_0x198aa7._0x5e8630)+_0x59dcd1['lineNum']+':\x20'+_0x20b255+'\x0a';}}_0x534431[_0x37330c(0x2ab,_0x198aa7._0x448d40,0x3ac,0x2db)]&&(_0x17f847+=_0x37330c(_0x198aa7._0x596db2,_0x198aa7._0xd2fd31,0x17c,0x283));}const _0xe7883c={'searchPath':_0x4be3bc[_0x1147d3(0x49c,0x4ba,0x531,0x5dd)](_0x471263,_0x35d3df)||'.','pattern':_0x3c1596[_0x37330c(_0x198aa7._0xecc0c1,_0x198aa7._0xfe8bfa,_0x198aa7._0x201e65,_0x198aa7._0xee7e1a)],'matchCount':_0x534431['matchCount'],'fileCount':_0x534431[_0x1147d3(_0x198aa7._0x28429b,0x528,0x608,_0x198aa7._0x2bf941)],'truncated':_0x534431['truncated']};return _0x812c43&&_0x3c1596[_0x37330c(0x5c3,0x744,0x7cd,_0x198aa7._0xda6c6a)]!==void 0x0&&(_0xe7883c['include']=_0x3c1596['include']),yield createToolOutput(_0x17f847[_0x37330c(_0x198aa7._0x4b9b95,_0x198aa7._0x36ccb8,_0x198aa7._0x29ac24,_0x198aa7._0x25a054)](),_0xe7883c),void 0x0;}});}import{readdir,readFile as _0x3a206f,stat as _0x337fd9}from'fs/promises';import*as _0x27bf81 from'path';import*as _0x3a82fb from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x51f569,_0x301a52){const _0x3cd34d={_0x24ea7:0x6a2,_0x423eb4:0x57a,_0x403d2e:0x757,_0x41ee45:0x50d,_0x26f361:0x3b3,_0x2c7a7a:0x458,_0x2fd5d8:0x614,_0x592eec:0x93e,_0x2e4d78:0x8cc},_0x23a5af={_0x1ccd84:0x114},_0x5676ad={_0x106313:0x69};function _0x40494b(_0x39490a,_0xa642fe,_0x9b9bc2,_0x17a638){return _0x28bc81(_0x39490a-0x7d,_0xa642fe-_0x5676ad._0x106313,_0x17a638-0x1df,_0x39490a);}if(_0x301a52>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;const _0x2d55c9=await _0x3a206f(_0x51f569)['catch'](()=>null);if(!_0x2d55c9||isProbablyBinary(_0x2d55c9))return void 0x0;function _0x4dda61(_0xb724d7,_0x3b0fb6,_0x5d0eee,_0x61c0c7){return _0x28bc81(_0xb724d7-0x54,_0x3b0fb6-_0x23a5af._0x1ccd84,_0x3b0fb6-0x2ce,_0x61c0c7);}return _0x2d55c9[_0x4dda61(_0x3cd34d._0x24ea7,0x66e,_0x3cd34d._0x423eb4,_0x3cd34d._0x403d2e)](_0x40494b(_0x3cd34d._0x41ee45,_0x3cd34d._0x26f361,0x337,_0x3cd34d._0x2c7a7a))[_0x40494b(_0x3cd34d._0x2fd5d8,0x6f2,0x7f4,0x624)](/\r?\n/)[_0x40494b(_0x3cd34d._0x592eec,_0x3cd34d._0x2e4d78,0x547,0x728)];}function createLsTool(_0x5ce9ef={}){const _0x5980ac={_0xa5ebed:0x46c,_0x4c3c67:0x5f3,_0x35fe36:0x319,_0x489ec5:0x47e,_0x41bcb2:0x509,_0x5d433f:0x399,_0x2973ff:0x2c6,_0x133afb:0x397},_0x84b33b={_0xf75bed:0x78b,_0x4c9077:0x589,_0x1ec2ee:0x1d3,_0x2aebec:0x57a,_0x1ff450:0x42a,_0x5cdea4:0x486,_0x2d7797:0x266,_0x2b1354:0x1b8,_0x1a37a9:0x18,_0x5a8d06:0x419,_0x1989d4:0x60a,_0x5f42a2:0x6a0,_0x57f666:0x4d7,_0x5efe78:0x5cb,_0x40e9f8:0xf3,_0x3b8567:0x1a0,_0x527d74:0x17d,_0x185af0:0x5c1,_0x1c41c3:0x600,_0x25169e:0x37a,_0x4370d8:0x3ce,_0x4db4fe:0x28f,_0x3eb4e8:0x69f,_0x15349a:0x543,_0x3450fa:0x72e,_0x4f8619:0x556,_0x3e2f51:0x685,_0x2a2cef:0xbf,_0x51f7d4:0xc7,_0x56fdc3:0x4b6,_0x28d3ef:0x1e3,_0x2aceae:0x3d6,_0x48bdb5:0x530,_0x8920fa:0x227,_0x1ed0ef:0x376,_0x50ac20:0x184,_0x32ce7b:0x193,_0x478fe3:0x2,_0xf33b21:0x308,_0x53187a:0x475,_0x25b375:0x329,_0x4b2a90:0x6cd,_0xfe5239:0x427,_0x5b2838:0x1a1,_0x4c462d:0x8f,_0x10e19b:0x225,_0x412435:0xea,_0x553d2a:0x2a6,_0x356a41:0x6ec,_0x1e5474:0x177,_0x301f80:0x3be,_0x3ec406:0x63,_0x155a20:0x397,_0x50298c:0x1f1},_0x31afab={_0x47818e:0x1cc},_0xae8d83={_0x55a89b:0x196,_0x6e3c08:0x112,_0x2149e3:0x61},_0xfce052=_0x27bf81['resolve'](_0x5ce9ef['defaultCwd']??process[_0x183ba6(_0x5980ac._0xa5ebed,_0x5980ac._0x4c3c67,0x64f,0x330)]()),_0x408a1d=_0x5ce9ef[_0x5e7a3b(0x3df,0x32b,0x5c0,0x600)]??[],_0x152173=_0x5ce9ef['name']??'Ls';function _0x5e7a3b(_0x3c468c,_0x4098aa,_0x32377e,_0xebe55){return _0x28bc81(_0x3c468c-_0xae8d83._0x55a89b,_0x4098aa-_0xae8d83._0x6e3c08,_0x3c468c-_0xae8d83._0x2149e3,_0xebe55);}function _0x183ba6(_0x4eb79c,_0x10d5ce,_0x44d1c6,_0x6bf25f){return _0x5b2413(_0x4eb79c-0xc7,_0x10d5ce-0x1e2,_0x4eb79c- -0x539,_0x6bf25f);}return defineTool({'name':_0x152173,'permissionClass':_0x5e7a3b(_0x5980ac._0x35fe36,0x290,_0x5980ac._0x489ec5,0x2d2),'description':_0x5e7a3b(_0x5980ac._0x41bcb2,0x4d4,_0x5980ac._0x5d433f,0x4fd),'inputSchema':{'type':_0x5e7a3b(_0x5980ac._0x2973ff,0x4d1,0x32d,0x400),'properties':{'path':{'type':'string'},'limit':{'type':_0x183ba6(0x286,0x6e,_0x5980ac._0x133afb,0x41d)}}},async *'execute'(_0xd384de){const _0x322546={_0x1174b8:0x113,_0x18109b:0x44},_0x3346c0=_0xd384de[_0xc2a088(0x79e,_0x84b33b._0xf75bed,0x66c,0x751)]??'.',_0x5861d9=resolveAllowedPath(_0xfce052,_0x408a1d,_0x3346c0),_0x71ec87=await _0x337fd9(_0x5861d9)[_0xc2a088(0x3ea,_0x84b33b._0x4c9077,0x3ce,_0x84b33b._0x1ec2ee)](()=>null);if(!_0x71ec87?.[_0xc2a088(_0x84b33b._0x2aebec,_0x84b33b._0x1ff450,0x52b,_0x84b33b._0x5cdea4)]())throw new ToolExecutionError('Directory\x20not\x20found:\x20'+_0x3346c0,{'path':_0x3346c0});const _0x2a063b=_0xd384de[_0x2d18e8(-0x2fa,-_0x84b33b._0x2d7797,-0xcd,-0xe5)]??0x3e8,_0x44055c=Math[_0x2d18e8(_0x84b33b._0x2b1354,-0x60,0x126,-_0x84b33b._0x1a37a9)](Math[_0xc2a088(_0x84b33b._0x5a8d06,0x5a0,_0x84b33b._0x1989d4,0x49c)](Math[_0xc2a088(0x682,_0x84b33b._0x5f42a2,_0x84b33b._0x57f666,_0x84b33b._0x5efe78)](_0x2a063b),0x1),0x2710);function _0xc2a088(_0x3e7cc5,_0x473cb1,_0xcd4e5b,_0x21f967){return _0x5e7a3b(_0xcd4e5b-0x142,_0x473cb1-_0x322546._0x1174b8,_0xcd4e5b-_0x322546._0x18109b,_0x473cb1);}const _0x3e5312=await readdir(_0x5861d9),_0x4b7411=[];for(const _0xb0a70c of _0x3e5312[_0x2d18e8(_0x84b33b._0x40e9f8,0x1a6,_0x84b33b._0x3b8567,_0x84b33b._0x527d74)](0x0,_0x44055c)){const _0x210044=_0x27bf81[_0xc2a088(_0x84b33b._0x185af0,0x448,_0x84b33b._0x1c41c3,0x66c)](_0x5861d9,_0xb0a70c),_0x5ef590=await _0x337fd9(_0x210044)[_0xc2a088(0x303,_0x84b33b._0x25169e,_0x84b33b._0x4370d8,_0x84b33b._0x4db4fe)](()=>null);if(!_0x5ef590)continue;let _0x5be154=_0xc2a088(_0x84b33b._0x3eb4e8,_0x84b33b._0x15349a,_0x84b33b._0x3450fa,_0x84b33b._0x4f8619);if(_0x5ef590['isFile']())_0x5be154='file';else{if(_0x5ef590['isDirectory']())_0x5be154=_0xc2a088(_0x84b33b._0x3e2f51,0x6ff,0x522,0x688);else{if(_0x5ef590[_0x2d18e8(0xd4,-_0x84b33b._0x2a2cef,0x2ea,_0x84b33b._0x51f7d4)]())_0x5be154='symlink';}}const _0x177342={'name':_0xb0a70c,'type':_0x5be154,'size':_0x5ef590[_0xc2a088(0x3fa,0x469,0x475,_0x84b33b._0x56fdc3)],'mtime':_0x5ef590[_0xc2a088(0x4d1,_0x84b33b._0x28d3ef,_0x84b33b._0x2aceae,_0x84b33b._0x48bdb5)],'mode':_0x5ef590[_0x2d18e8(_0x84b33b._0x8920fa,_0x84b33b._0x1ed0ef,0x24d,_0x84b33b._0x50ac20)]},_0x13188e=_0x5be154===_0x2d18e8(_0x84b33b._0x32ce7b,_0x84b33b._0x478fe3,-0x79,0x12e)?await countTextLines(_0x210044,_0x5ef590[_0xc2a088(0x59c,_0x84b33b._0xf33b21,_0x84b33b._0x53187a,_0x84b33b._0x25b375)]):void 0x0;if(_0x13188e!==void 0x0)_0x177342[_0xc2a088(0x641,_0x84b33b._0x4b2a90,0x532,_0x84b33b._0xfe5239)]=_0x13188e;_0x4b7411[_0x2d18e8(_0x84b33b._0x5b2838,-_0x84b33b._0x4c462d,_0x84b33b._0x10e19b,0x5e)](_0x177342);}_0x4b7411[_0x2d18e8(_0x84b33b._0x412435,-_0x84b33b._0x553d2a,0x9b,-0x90)]((_0x1eaac0,_0x480858)=>_0x1eaac0['name']['localeCompare'](_0x480858[_0xc2a088(0x737,0x406,0x619,0x706)]));const _0x5d592d={'path':_0x3346c0,'total':_0x4b7411[_0xc2a088(0x750,0x8d9,_0x84b33b._0x356a41,0x56f)],'truncated':_0x3e5312['length']>_0x44055c,'entries':_0x4b7411};yield createToolOutput(_0x3a82fb[_0x2d18e8(0x2ad,_0x84b33b._0x1e5474,_0x84b33b._0x301f80,0x1dc)](_0x5d592d,{'indent':0x2,'lineWidth':0x0})['trimEnd'](),{'path':_0x3346c0,'total':_0x4b7411[_0x2d18e8(_0x84b33b._0x3ec406,0xec,_0x84b33b._0x155a20,_0x84b33b._0x50298c)],'truncated':_0x3e5312['length']>_0x44055c,'limit':_0x44055c,'entries':_0x4b7411});function _0x2d18e8(_0x11bb6c,_0x313497,_0x3729f2,_0x55ded7){return _0x183ba6(_0x55ded7- -0x1be,_0x313497-_0x31afab._0x47818e,_0x3729f2-0x1e2,_0x313497);}return void 0x0;}});}import{readFile as _0x75aaf0,stat as _0x98e461}from'fs/promises';import*as _0x3ed9fb from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set([_0x28bc81(0x1b9,0x160,0x366,0x172),'high',_0x28bc81(0x230,0x348,0x2ea,0x447),_0x28bc81(0x230,0x118,0x286,0x426)]),PNG_SIGNATURE=Buffer[_0x5b2413(0x4b2,0x4a2,0x5a7,0x6a6)]([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x295855,_0x333522){const _0x48d22c={_0x1de3c6:0x19a,_0x5d65bc:0x2bd,_0x2ec0e0:0x3fe,_0x49d2d3:0x5de,_0xe9f095:0x416,_0x532088:0x329,_0x12d8a7:0x35f,_0x54b45a:0x2ca,_0x4dfeaa:0x4d8,_0x72cc67:0x4a6,_0x1715a6:0x360,_0xe05711:0x4fd,_0x24c759:0x4dc,_0x215199:0x5b4,_0x412454:0x2d3,_0x28a4b4:0x35f,_0x3e6e1d:0x174,_0x41d1b9:0x56e,_0x2d64bc:0x1b8,_0x5ea883:0x4cc,_0xff066e:0x6e0,_0x5a1de8:0x65c,_0x17972d:0xe7,_0x466121:0x404,_0x4dd4f0:0x24d,_0x3d0947:0x3fa,_0x35da73:0x39d,_0x21876c:0x33c,_0x30bf91:0x251,_0x4ab92c:0x425,_0x34abca:0x2ab,_0x9caf5b:0x9f,_0x26a761:0x4b1,_0xd607ca:0x3bf,_0x389b9f:0x20f,_0x12ec09:0x1de,_0xcb72b2:0x39b,_0x137fac:0x233,_0x5e7fab:0x507,_0x14170a:0x1e3,_0x292e2c:0x3b1,_0x5eb64b:0x426,_0x45fe12:0x4c4},_0x4162db={_0x29b52e:0x5d};if(_0x295855[_0x6fcf62(0x2f6,_0x48d22c._0x1de3c6,_0x48d22c._0x5d65bc,_0x48d22c._0x2ec0e0)](0x0,0x8)['equals'](PNG_SIGNATURE))return _0x6fcf62(_0x48d22c._0x49d2d3,0x609,_0x48d22c._0xe9f095,_0x48d22c._0x532088);function _0x6fcf62(_0x1b2cd5,_0x4aaf81,_0x52c4e0,_0x271cf4){return _0x5b2413(_0x1b2cd5-_0x4162db._0x29b52e,_0x4aaf81-0x5d,_0x52c4e0- -0x481,_0x4aaf81);}if(_0x295855[0x0]===0xff&&_0x295855[0x1]===0xd8&&_0x295855[0x2]===0xff)return'image/jpeg';const _0x132c38=_0x295855[_0x480768(_0x48d22c._0x12d8a7,_0x48d22c._0x54b45a,_0x48d22c._0x4dfeaa,_0x48d22c._0x72cc67)](0x0,0x6)[_0x480768(_0x48d22c._0x1715a6,_0x48d22c._0xe05711,0x18b,_0x48d22c._0x24c759)]('ascii');if(_0x132c38===_0x480768(_0x48d22c._0x215199,0x7b2,0x452,0x5f9)||_0x132c38===_0x6fcf62(0x2ba,0x283,_0x48d22c._0x412454,_0x48d22c._0x28a4b4))return _0x6fcf62(_0x48d22c._0x3e6e1d,0x2d4,0x384,_0x48d22c._0x41d1b9);function _0x480768(_0x19245f,_0x2201da,_0xe7814a,_0x5905f7){return _0x5b2413(_0x19245f-0x5,_0x2201da-0xec,_0x19245f- -0x3df,_0x2201da);}if(_0x295855[_0x6fcf62(0x182,0x36c,0x2bd,_0x48d22c._0x2d64bc)](0x0,0x4)['toString'](_0x480768(0x24d,0x434,0x13f,0x1f9))===_0x480768(_0x48d22c._0x5ea883,_0x48d22c._0xff066e,_0x48d22c._0x5a1de8,0x4ea)&&_0x295855[_0x6fcf62(0x480,0x338,0x2bd,_0x48d22c._0x17972d)](0x8,0xc)[_0x6fcf62(0x310,0x30d,0x2be,_0x48d22c._0x466121)](_0x480768(_0x48d22c._0x4dd4f0,0xd2,0x327,_0x48d22c._0x3d0947))===_0x480768(0x2db,_0x48d22c._0x35da73,_0x48d22c._0x21876c,0x4a5))return'image/webp';const _0x57a126=_0x3ed9fb[_0x480768(_0x48d22c._0x30bf91,_0x48d22c._0x4ab92c,_0x48d22c._0x34abca,_0x48d22c._0x9caf5b)](_0x333522)[_0x480768(0x336,0x2bf,0x33b,_0x48d22c._0x26a761)]();if(_0x57a126==='.png')return'image/png';if(_0x57a126===_0x480768(0x298,0x196,0x84,_0x48d22c._0xd607ca)||_0x57a126===_0x6fcf62(0x3e6,0x31d,_0x48d22c._0x389b9f,_0x48d22c._0x12ec09))return _0x480768(_0x48d22c._0xcb72b2,_0x48d22c._0x137fac,_0x48d22c._0x5e7fab,0x3f1);if(_0x57a126===_0x6fcf62(0x453,_0x48d22c._0x14170a,_0x48d22c._0x292e2c,0x39c))return _0x480768(_0x48d22c._0x5eb64b,0x3ed,_0x48d22c._0x45fe12,0x2bb);if(_0x57a126==='.webp')return'image/webp';return void 0x0;}function normalizeDetail(_0x1daf18){const _0x211220={_0xce8992:0x879,_0x4b822c:0x774,_0x9b3164:0x847,_0xb662af:0x76b,_0x425955:0x489,_0x50e7f8:0x7e9,_0x3db8e1:0x9c6},_0x42f510={_0x51dc2e:0xb2},_0x2ed6c3={_0xa873b1:0xed};function _0xbec027(_0x59bac7,_0x231320,_0x42e2fa,_0x3e1301){return _0x5b2413(_0x59bac7-_0x2ed6c3._0xa873b1,_0x231320-0x84,_0x3e1301- -0x32,_0x59bac7);}if(_0x1daf18===void 0x0)return void 0x0;const _0x1dd8bb=_0x1daf18[_0xbec027(_0x211220._0xce8992,_0x211220._0x4b822c,_0x211220._0x9b3164,0x685)]()[_0x5594bf(_0x211220._0xb662af,0x6a0,0x94b,0x82e)]();function _0x5594bf(_0x323ec3,_0x3b97b3,_0x2fd965,_0x4fea98){return _0x5b2413(_0x323ec3-_0x42f510._0x51dc2e,_0x3b97b3-0x26,_0x323ec3-0x56,_0x4fea98);}if(!SUPPORTED_DETAILS[_0xbec027(_0x211220._0x425955,0x52f,_0x211220._0x50e7f8,0x678)](_0x1dd8bb))throw new ToolExecutionError(_0x5594bf(0x811,_0x211220._0x3db8e1,0x721,0x8cf)+_0x1daf18,{'detail':_0x1daf18});return _0x1dd8bb;}function createViewFileTool(_0x104b92={}){const _0x67918d={_0x211aec:0x214,_0x6cd89d:0x12f,_0x1b0ee6:0x169,_0xf22974:0x80c,_0x15ceb5:0x873,_0x111bc3:0x6d0,_0x523da9:0x588,_0x536c1f:0x5d5,_0x518e42:0x577,_0x5dda02:0x11d,_0x4bc11b:0xda,_0x4345d2:0x690,_0x2d9e5f:0x6a8,_0x120ed3:0x67a,_0x83d20a:0x1d3,_0x2b7ef0:0x7d,_0x5c8cdd:0x47,_0x152015:0x601,_0x8a3447:0x5bf,_0x1aa034:0x5fe,_0x3c6bef:0x12d,_0x3e9453:0x61,_0x2f6643:0xe7},_0x2605b5={_0x323223:0x258,_0x2fc1b1:0x274,_0x464255:0x3a5,_0x2aac7b:0x2f9,_0x5c94f9:0x3e5,_0x1edd98:0x569,_0x311456:0x3f9,_0x3b52bb:0x247,_0x262fa:0x3ec,_0x4b2a7b:0x48d,_0x57e42f:0x226,_0x202cba:0x12e,_0xb072e1:0x18c,_0x1d3f12:0x1e2,_0x2bc1d0:0x406,_0x541f03:0x4b7,_0x35b723:0x4bf,_0x52a17b:0x654,_0x3932c7:0x5fd,_0x454909:0x425,_0x16bd13:0x4af,_0x4a6e55:0x42a,_0x43f88d:0x20b,_0x3845a6:0x322,_0x163dcf:0x215,_0x5f166f:0x276,_0x423802:0x593,_0x2ccab7:0x3ff,_0x23b218:0x442,_0x42955b:0x547,_0xe3f63b:0x410,_0x34a203:0x2ce,_0x403254:0x424,_0xb00ae9:0x172,_0x178fc2:0x2d9,_0x3a1693:0xed,_0x44030c:0x3ef,_0x5bf277:0x685,_0xe2ba85:0x2a5,_0x46c4c0:0x2f0,_0x28bc4e:0x70,_0x2a2c21:0x1fd,_0x543d4f:0x235,_0x2c6d0:0x2e1,_0x1c900f:0x3cb,_0x42fb08:0x274,_0x44a570:0x10f},_0x36b995={_0x264449:0xf8,_0x1197b9:0xdb},_0x30684a={_0x3bc2b1:0x1e1,_0xf21aaa:0x81},_0x1ed6a1=_0x3ed9fb['resolve'](_0x104b92[_0xc099d5(-_0x67918d._0x211aec,-0xa0,_0x67918d._0x6cd89d,_0x67918d._0x1b0ee6)]??process[_0x39a137(_0x67918d._0xf22974,0x971,_0x67918d._0x15ceb5,0x982)]()),_0x315372=_0x104b92['allowedDirs']??[],_0x581ef7=_0x104b92[_0x39a137(_0x67918d._0x111bc3,_0x67918d._0x523da9,_0x67918d._0x536c1f,_0x67918d._0x518e42)]??DEFAULT_MAX_BYTES;function _0x39a137(_0x22f249,_0x22fc2c,_0xbc6e2a,_0x4d373b){return _0x5b2413(_0x22f249-_0x30684a._0x3bc2b1,_0x22fc2c-_0x30684a._0xf21aaa,_0x22fc2c- -0x34,_0xbc6e2a);}function _0xc099d5(_0x357a39,_0x2d21e3,_0x3a2e41,_0x107f11){return _0x28bc81(_0x357a39-_0x36b995._0x264449,_0x2d21e3-_0x36b995._0x1197b9,_0x2d21e3- -0x39c,_0x107f11);}const _0x3f9191=_0x104b92[_0xc099d5(-_0x67918d._0x5dda02,_0x67918d._0x4bc11b,0x8,0x259)]??_0x39a137(0x7ac,_0x67918d._0x4345d2,0x87a,0x4e0);return defineTool({'name':_0x3f9191,'permissionClass':'read','description':_0x39a137(0x4b1,_0x67918d._0x2d9e5f,0x4f3,_0x67918d._0x120ed3),'inputSchema':{'type':_0xc099d5(-_0x67918d._0x83d20a,-0x137,_0x67918d._0x2b7ef0,-_0x67918d._0x5c8cdd),'properties':{'path':{'type':_0x39a137(0x7d2,_0x67918d._0x152015,_0x67918d._0x8a3447,_0x67918d._0x1aa034)},'detail':{'type':'string'}},'required':[_0xc099d5(-0x61,_0x67918d._0x3c6bef,-_0x67918d._0x3e9453,_0x67918d._0x2f6643)]},async *'execute'(_0x452c76){const _0x2c6900={_0x311904:0x33e,_0x51c280:0xae},_0x3d36d8={_0x224b06:0x2d5},_0x5c1b08=resolveAllowedPath(_0x1ed6a1,_0x315372,_0x452c76['path']);await assertWorkspaceFile(_0x5c1b08);const _0xdb7118=await _0x98e461(_0x5c1b08);if(_0xdb7118[_0x582a66(_0x2605b5._0x323223,0x33c,_0x2605b5._0x2fc1b1,0x497)]>_0x581ef7)throw new ToolExecutionError(_0x4db929(0x21f,_0x2605b5._0x464255,0x275,0x74)+_0x452c76[_0x4db929(_0x2605b5._0x2aac7b,0x4c3,0x402,0x33e)],{'path':_0x452c76['path'],'maxBytes':_0x581ef7,'size':_0xdb7118[_0x4db929(0x3af,0x2de,0x20b,0x1e9)]});const _0x531b19=await _0x75aaf0(_0x5c1b08),_0x5b92b2=detectImageMediaType(_0x531b19,_0x5c1b08);if(!_0x5b92b2)throw new ToolExecutionError(_0x4db929(_0x2605b5._0x5c94f9,_0x2605b5._0x1edd98,_0x2605b5._0x311456,0x278)+_0x452c76[_0x4db929(_0x2605b5._0x3b52bb,0x400,0x402,_0x2605b5._0x262fa)],{'path':_0x452c76['path'],'supported':[_0x582a66(0x359,0x382,0x435,_0x2605b5._0x4b2a7b),_0x582a66(0xbb,0x461,0x293,0x177),_0x582a66(_0x2605b5._0x57e42f,_0x2605b5._0x202cba,0x27a,0x153),_0x582a66(_0x2605b5._0xb072e1,_0x2605b5._0x1d3f12,0x253,0x88),_0x582a66(0x28b,0x439,_0x2605b5._0x2bc1d0,0x2e4)]});const _0x18e554=normalizeDetail(_0x452c76[_0x4db929(0x3bd,_0x2605b5._0x541f03,0x349,0x2f3)]),_0x38e761=[_0x582a66(_0x2605b5._0x35b723,_0x2605b5._0x52a17b,0x4b2,_0x2605b5._0x3932c7)+_0x452c76[_0x4db929(_0x2605b5._0x454909,0x286,0x402,_0x2605b5._0x16bd13)],_0x4db929(0x516,0x4c0,0x330,0x331)+_0x5b92b2,'Size:\x20'+_0xdb7118[_0x4db929(0x2ce,_0x2605b5._0x4a6e55,_0x2605b5._0x43f88d,0x14b)]+_0x582a66(0x14e,0x533,_0x2605b5._0x3845a6,0x147)]['concat'](_0x18e554?[_0x582a66(_0x2605b5._0x163dcf,0x17f,0x17d,_0x2605b5._0x5f166f)+_0x18e554]:[])[_0x582a66(0x3ce,_0x2605b5._0x423802,_0x2605b5._0x2ccab7,0x37d)]('\x0a');function _0x4db929(_0x2037e4,_0x3b1183,_0x2b795c,_0x1ee1f8){return _0xc099d5(_0x2037e4-0x9f,_0x2b795c-_0x3d36d8._0x224b06,_0x2b795c-0x2f,_0x3b1183);}function _0x582a66(_0x593685,_0x8d32ee,_0x4deda7,_0x22ebce){return _0xc099d5(_0x593685-0xf0,_0x4deda7-_0x2c6900._0x311904,_0x4deda7-_0x2c6900._0x51c280,_0x8d32ee);}const _0x24c1fa=[{'type':_0x4db929(_0x2605b5._0x23b218,_0x2605b5._0x42955b,_0x2605b5._0xe3f63b,_0x2605b5._0x34a203),'source':{'type':_0x4db929(_0x2605b5._0x403254,0x1a3,0x21a,0xe0),'media_type':_0x5b92b2,'data':_0x531b19[_0x4db929(0xbb,_0x2605b5._0xb00ae9,_0x2605b5._0x178fc2,_0x2605b5._0x3a1693)](_0x4db929(_0x2605b5._0x44030c,0x41d,0x21a,0x1d8))}},{'type':'text','text':_0x38e761}];return yield createToolOutput(_0x38e761,{'path':_0x452c76[_0x582a66(_0x2605b5._0x5bf277,0x435,0x46b,0x44b)],'resolvedPath':_0x5c1b08,'created':_0xdb7118[_0x4db929(0x15c,_0x2605b5._0xe2ba85,_0x2605b5._0x46c4c0,_0x2605b5._0x23b218)][_0x4db929(0x124,_0x2605b5._0x28bc4e,0x16f,0x31e)](),'modified':_0xdb7118[_0x4db929(0x529,0x3b4,0x468,0x2b4)][_0x4db929(_0x2605b5._0x2a2c21,_0x2605b5._0x543d4f,0x16f,_0x2605b5._0x2c6d0)](),'size':_0xdb7118[_0x582a66(0x1d5,_0x2605b5._0x1c900f,_0x2605b5._0x42fb08,_0x2605b5._0x44a570)],'mimeType':_0x5b92b2,'encoding':_0x582a66(0x3ff,0x205,0x283,0x3f4),..._0x18e554?{'detail':_0x18e554}:{}},_0x24c1fa),void 0x0;}});}function createQuestionId(){const _0x1fc032={_0x16534a:0x2cc,_0x136eba:0x4b9,_0x38218c:0x4c3,_0x368e37:0x425,_0x239d0b:0x3b3},_0x11dee1={_0x292dee:0x1e5,_0x3be68f:0x30b},_0x2713ad={_0x1f0c7e:0xe,_0x5ca6c1:0xcf};function _0x329290(_0x783970,_0x227eed,_0xd2162c,_0x2567c7){return _0x28bc81(_0x783970-_0x2713ad._0x1f0c7e,_0x227eed-_0x2713ad._0x5ca6c1,_0x2567c7- -0x8,_0xd2162c);}function _0x55e801(_0xf0074d,_0xb6c11a,_0x3b447f,_0x1c78b9){return _0x28bc81(_0xf0074d-0xf4,_0xb6c11a-_0x11dee1._0x292dee,_0xf0074d- -_0x11dee1._0x3be68f,_0xb6c11a);}return _0x55e801(_0x1fc032._0x16534a,0x271,_0x1fc032._0x136eba,0x2f4)+Date[_0x329290(0x3bd,_0x1fc032._0x38218c,0x39e,0x382)]()+'-'+Math[_0x55e801(0x272,_0x1fc032._0x368e37,_0x1fc032._0x239d0b,0x66)]()['toString'](0x24)['slice'](0x2,0x9);}function validateInput(_0x16f393){const _0x178aff={_0xdcdf2c:0x4b5,_0x231114:0x38d,_0x73f779:0x759,_0x59e133:0x612,_0x4318f0:0x4ed,_0x473bb0:0x713,_0xdb179d:0x7f4,_0x1a8e23:0x8ec,_0x451205:0x733,_0x2df772:0x361,_0x12b920:0x568,_0x1f2d25:0x866,_0x3f0dff:0x8e8,_0x275ec5:0x555,_0x581c65:0x6ec,_0x25c1a3:0x639,_0x16c633:0x53c,_0x1dc0b5:0x52f,_0x4b57d8:0x74e,_0x30b43a:0x6d0,_0x25fb19:0x6ef,_0x3f31ca:0x7e1,_0x5ed2e1:0x5d2,_0x5794a1:0x6b7,_0x585fea:0x4f5,_0x273118:0x958,_0x23905b:0x88d,_0xe0b5c8:0x7bd,_0x439888:0x716,_0x4af137:0x8f5,_0x46f487:0x44e,_0x2a326d:0x6e9,_0x273b44:0x64e,_0xbf4fc5:0x716,_0x10dfde:0x7a2,_0x59dc27:0x79a,_0x368823:0x68c,_0x10b92e:0x627,_0x401d08:0x6ca,_0x452688:0x89f,_0x4b2663:0x5e7,_0x4aabf5:0x7f3,_0x21916b:0x490,_0x3629e5:0x7d9,_0x329860:0x56a,_0x4b468b:0x623,_0x29e9df:0x6e2,_0x421ff1:0x6fe,_0x34e7fc:0x54a,_0x264443:0x6e2,_0x18432a:0x7b9,_0x5974b4:0x7fb,_0x1eda60:0x81f,_0x2fe70e:0x8da,_0x5dd89a:0x832,_0x489dc8:0x7a8,_0x83227c:0x561,_0x300455:0x647,_0x3077d0:0x8a5,_0x28aa0b:0x83a,_0x5acfbe:0xa04,_0x1bfd10:0x71c,_0x305404:0x944,_0xb063b6:0x90f,_0x1ef359:0x8c7,_0xe2c7e1:0x753,_0x1dd59c:0x9a2,_0x32f387:0x813,_0x23dc07:0x80b,_0x4f5113:0x69f,_0x4478e6:0x71b,_0x53315b:0x6ae,_0x2d72c1:0x7c9,_0x23bf18:0x90b},_0x35c709={_0x533bd3:0x5d,_0x4b8afa:0x25f};function _0x526364(_0x27a88a,_0x3a09b3,_0x3767dc,_0x4a1e15){return _0x28bc81(_0x27a88a-0xee,_0x3a09b3-0x1f0,_0x27a88a-0x3a3,_0x3a09b3);}function _0x4d01b5(_0x1207dd,_0xbec4f3,_0x301a31,_0x1046d1){return _0x28bc81(_0x1207dd-_0x35c709._0x533bd3,_0xbec4f3-0x189,_0x1046d1-_0x35c709._0x4b8afa,_0x1207dd);}if(!Array['isArray'](_0x16f393['questions'])||_0x16f393[_0x4d01b5(_0x178aff._0xdcdf2c,_0x178aff._0x231114,0x774,0x579)][_0x4d01b5(_0x178aff._0x73f779,_0x178aff._0x59e133,0x762,0x7a8)]<0x1||_0x16f393[_0x526364(0x6bd,_0x178aff._0x4318f0,_0x178aff._0x473bb0,_0x178aff._0xdb179d)][_0x526364(_0x178aff._0x1a8e23,0x9b6,0x8d4,0x992)]>0xa)throw new ToolExecutionError('Must\x20provide\x201-10\x20questions',{'error':_0x526364(0x57b,0x54d,_0x178aff._0x451205,_0x178aff._0x2df772)});for(let _0x51942e=0x0;_0x51942e<_0x16f393['questions']['length'];_0x51942e+=0x1){const _0x3ec60c=_0x16f393[_0x526364(0x6bd,_0x178aff._0x12b920,_0x178aff._0x1f2d25,0x827)][_0x51942e];if(!_0x3ec60c[_0x526364(0x71f,_0x178aff._0x3f0dff,0x875,_0x178aff._0x275ec5)]||typeof _0x3ec60c[_0x4d01b5(0x6a4,0x52c,_0x178aff._0x581c65,0x5db)]!==_0x526364(_0x178aff._0x25c1a3,_0x178aff._0x16c633,0x4bd,0x734))throw new ToolExecutionError('Question\x20'+(_0x51942e+0x1)+_0x4d01b5(_0x178aff._0x1dc0b5,_0x178aff._0x4b57d8,0x80d,_0x178aff._0x30b43a));if(!_0x3ec60c[_0x526364(0x716,_0x178aff._0x25fb19,0x542,0x80a)]||typeof _0x3ec60c[_0x4d01b5(0x47b,_0x178aff._0x3f31ca,0x534,_0x178aff._0x5ed2e1)]!==_0x4d01b5(0x6ca,0x2d7,_0x178aff._0x5794a1,_0x178aff._0x585fea))throw new ToolExecutionError(_0x526364(0x7e3,_0x178aff._0x273118,_0x178aff._0x23905b,_0x178aff._0xe0b5c8)+(_0x51942e+0x1)+':\x20\x22topic\x22\x20field\x20is\x20required\x20and\x20must\x20be\x20a\x20string');if(_0x3ec60c[_0x526364(_0x178aff._0x439888,0x813,_0x178aff._0x4af137,0x6c2)]['length']>0x1e)throw new ToolExecutionError('Question\x20'+(_0x51942e+0x1)+_0x4d01b5(0x6bf,_0x178aff._0x46f487,_0x178aff._0x2a326d,_0x178aff._0x273b44)+_0x3ec60c[_0x526364(_0x178aff._0xbf4fc5,_0x178aff._0x10dfde,_0x178aff._0x59dc27,_0x178aff._0x368823)][_0x4d01b5(_0x178aff._0x10b92e,_0x178aff._0x401d08,_0x178aff._0x452688,0x7a8)]);if(!Array[_0x526364(_0x178aff._0x4b2663,_0x178aff._0x4aabf5,_0x178aff._0x21916b,_0x178aff._0x3629e5)](_0x3ec60c[_0x4d01b5(_0x178aff._0x329860,_0x178aff._0x4b468b,0x4f6,_0x178aff._0x29e9df)])||_0x3ec60c[_0x4d01b5(_0x178aff._0x421ff1,0x58a,_0x178aff._0x34e7fc,_0x178aff._0x264443)]['length']<0x2||_0x3ec60c[_0x4d01b5(0x694,_0x178aff._0x18432a,_0x178aff._0x5974b4,0x6e2)]['length']>0x4)throw new ToolExecutionError('Question\x20'+(_0x51942e+0x1)+_0x4d01b5(_0x178aff._0x1eda60,0x8dc,_0x178aff._0x2fe70e,0x6d3));for(let _0x2dfe9c=0x0;_0x2dfe9c<_0x3ec60c[_0x526364(0x826,0x8a0,0x7dd,0x9ff)][_0x4d01b5(0x645,0x689,_0x178aff._0x5dd89a,_0x178aff._0x489dc8)];_0x2dfe9c+=0x1){const _0x5075c5=_0x3ec60c[_0x526364(0x826,0x711,0x8d7,0x876)][_0x2dfe9c];if(!_0x5075c5[_0x4d01b5(0x521,0x82f,_0x178aff._0x83227c,_0x178aff._0x300455)]||!_0x5075c5[_0x526364(_0x178aff._0x3077d0,0x9f7,0x7c0,_0x178aff._0x28aa0b)])throw new ToolExecutionError(_0x526364(0x7e3,0x661,0x89d,_0x178aff._0x5acfbe)+(_0x51942e+0x1)+',\x20Option\x20'+(_0x2dfe9c+0x1)+_0x4d01b5(0x92f,0x653,0x641,_0x178aff._0x1bfd10));}if(typeof _0x3ec60c[_0x526364(_0x178aff._0x305404,_0x178aff._0xb063b6,0x824,0xa0d)]!==_0x526364(_0x178aff._0x1ef359,0x8bc,_0x178aff._0xe2c7e1,_0x178aff._0x1dd59c))throw new ToolExecutionError(_0x4d01b5(_0x178aff._0x32f387,_0x178aff._0x23dc07,0x6ee,_0x178aff._0x4f5113)+(_0x51942e+0x1)+_0x526364(_0x178aff._0x4478e6,_0x178aff._0x53315b,_0x178aff._0x2d72c1,_0x178aff._0x23bf18));}}function buildQuestions(_0x548ad2){const _0x48a9a3={_0x3ee4ca:0x370,_0x163751:0x467,_0x435db8:0x8b0,_0x161510:0x78d},_0x156c68={_0xcca56d:0x142},_0x523120={_0x508c21:0x7b,_0xa0de66:0x666};function _0x5c892d(_0x368254,_0x38b203,_0x422d21,_0x292d72){return _0x5b2413(_0x368254-0x6,_0x38b203-_0x523120._0x508c21,_0x368254- -_0x523120._0xa0de66,_0x292d72);}function _0x2e8f1e(_0x529286,_0x29d237,_0x4f61e9,_0x471ea0){return _0x28bc81(_0x529286-0x111,_0x29d237-_0x156c68._0xcca56d,_0x471ea0-0x15b,_0x4f61e9);}return _0x548ad2[_0x2e8f1e(_0x48a9a3._0x3ee4ca,_0x48a9a3._0x163751,0x684,0x475)][_0x2e8f1e(_0x48a9a3._0x435db8,0x604,_0x48a9a3._0x161510,0x72c)]((_0x3d1176,_0x318844)=>({'id':'q'+_0x318844,'question':_0x3d1176[_0x5c892d(0xb5,-0x125,0x23b,0x230)],'topic':_0x3d1176[_0x5c892d(0xac,0x1cb,-0x2d,-0x68)],'options':_0x3d1176[_0x2e8f1e(0x65e,0x763,0x570,0x5de)],'multiSelect':_0x3d1176[_0x5c892d(0x2da,0x21f,0x34f,0x4f5)]}));}function createResult(_0x113d19,_0x533537,_0x4419ab){const _0x5448be={_0x1cab2d:0x1ff,_0x6747a0:0x625,_0x79ade:0x730},_0x2908b4={_0x3693e6:0xda},_0x4be8d4={_0x498d23:0xc5,_0x3ed7c1:0x4f9};function _0x3b3c49(_0x2db623,_0x234979,_0x397f68,_0x4392b9){return _0x5b2413(_0x2db623-0x104,_0x234979-_0x4be8d4._0x498d23,_0x2db623- -_0x4be8d4._0x3ed7c1,_0x234979);}const _0xea808f={'questionId':_0x113d19,'questionCount':_0x533537,'answers':_0x4419ab};function _0x28a279(_0x384f25,_0x497211,_0x408e15,_0x358da2){return _0x28bc81(_0x384f25-_0x2908b4._0x3693e6,_0x497211-0xa0,_0x497211-0xf1,_0x408e15);}return createToolOutput(_0x3b3c49(_0x5448be._0x1cab2d,0xaf,0x1de,0x370)+JSON[_0x28a279(0x62d,_0x5448be._0x6747a0,0x573,_0x5448be._0x79ade)](_0x4419ab,null,0x2),_0xea808f);}function createAskUserTool(){const _0x785b20={_0x1b452e:0xc0,_0x10b3f2:0x48e,_0x1b9213:0x5bb,_0x3b0652:0x96,_0x28e1a3:0xc9,_0x2c1c03:0x25b,_0x300944:0xd1,_0x18e278:0x9e,_0x1b6803:0x2c4,_0x57fec7:0x2f0,_0x5864a6:0x6d,_0xce9b38:0x184,_0x15d7e2:0x159,_0xc26613:0x58,_0x157cb2:0x9e,_0x25e9e2:0xc1,_0x4ee5d0:0xbc,_0x444154:0x185,_0x139795:0x360,_0x253a29:0x28c,_0x4bae33:0x12e,_0x19bade:0x1f0,_0x2c7694:0x43c,_0x524516:0x41c,_0x2a9a29:0x3a6,_0x2d1618:0x3b2,_0x342154:0x61e,_0x4828d4:0x25b,_0xff575b:0x16e,_0x52d504:0x81,_0x228fe8:0x28b,_0x248212:0x442,_0x4150e6:0x66f,_0x2eaa57:0x55f,_0x2d34b4:0xcf,_0x917648:0x159,_0x5e6ada:0x167,_0x32247c:0x122,_0x2c9b40:0x179},_0x33df54={_0x34467f:0x1e1,_0x57c6f4:0x2c8,_0x2f8d91:0x3fd,_0x591f12:0x415,_0x194d2c:0x364,_0x4a6616:0x155,_0x3161fa:0x553,_0x4d0bab:0x721,_0x5d0830:0x51b,_0xa0123f:0x407,_0x464ed7:0x513,_0x50bf83:0x201,_0x2ca8f4:0x45,_0x47c765:0x6bb,_0x19d0e2:0x73a,_0x14316a:0x2d4,_0x1e5295:0x1ce,_0x4eec9c:0x284,_0x32a07f:0x1eb,_0x203141:0x507},_0x17cefc={_0x5e8a94:0xe2,_0x53d25f:0x142},_0x428b37={_0x54b7f7:0x18b,_0x1b8541:0x10c},_0x32b123={_0x2c0ea4:0x142};function _0x4d7120(_0x34c823,_0x594320,_0x45a9b5,_0x29fa9e){return _0x5b2413(_0x34c823-_0x32b123._0x2c0ea4,_0x594320-0x44,_0x29fa9e- -0x3a9,_0x45a9b5);}function _0x17e070(_0x32a002,_0x57f604,_0x30fe1a,_0xc2e0bb){return _0x28bc81(_0x32a002-_0x428b37._0x54b7f7,_0x57f604-_0x428b37._0x1b8541,_0x30fe1a- -0x1f8,_0x57f604);}return defineTool({'name':'AskUserTool','permissionClass':_0x17e070(0x25a,-0x1c,_0x785b20._0x1b452e,0x86),'description':_0x4d7120(0x6b5,0x715,_0x785b20._0x10b3f2,_0x785b20._0x1b9213),'inputSchema':{'type':'object','properties':{'questions':{'type':_0x17e070(-_0x785b20._0x3b0652,0xa3,0x102,0x2d5),'items':{'type':_0x4d7120(0x2d0,0x3d6,_0x785b20._0x28e1a3,_0x785b20._0x2c1c03),'properties':{'question':{'type':_0x17e070(_0x785b20._0x300944,0x38,_0x785b20._0x18e278,-0x9c)},'topic':{'type':'string'},'options':{'type':_0x4d7120(0x1dc,0x4ef,_0x785b20._0x1b6803,_0x785b20._0x57fec7),'items':{'type':_0x17e070(0x1e3,0x17f,_0x785b20._0x5864a6,_0x785b20._0xce9b38),'properties':{'label':{'type':_0x17e070(-_0x785b20._0x15d7e2,-_0x785b20._0xc26613,_0x785b20._0x157cb2,-_0x785b20._0x25e9e2)},'description':{'type':_0x4d7120(_0x785b20._0x4ee5d0,_0x785b20._0x444154,_0x785b20._0x139795,_0x785b20._0x253a29)}},'required':[_0x17e070(-0x1a,_0x785b20._0x4bae33,_0x785b20._0x19bade,0x376),_0x17e070(0xfd,_0x785b20._0x2c7694,0x30a,_0x785b20._0x524516)]}},'multiSelect':{'type':_0x4d7120(_0x785b20._0x2a9a29,_0x785b20._0x2d1618,_0x785b20._0x342154,0x51a)}},'required':['question',_0x17e070(0x2c5,-0x2c,0x17b,_0x785b20._0x4828d4),_0x17e070(_0x785b20._0xff575b,_0x785b20._0x52d504,_0x785b20._0x228fe8,_0x785b20._0x248212),_0x4d7120(0x626,_0x785b20._0x4150e6,_0x785b20._0x2eaa57,0x597)]}},'answers':{'type':_0x17e070(_0x785b20._0x2d34b4,_0x785b20._0x917648,0x6d,_0x785b20._0x5e6ada),'properties':{}}},'required':[_0x17e070(0x197,-0xe5,_0x785b20._0x32247c,_0x785b20._0x2c9b40)]},async *'execute'(_0x274286,_0x9a956b){const _0xdb7a2f={_0x4e966e:0x1bf,_0x24191d:0x2d1},_0x1fcf43=_0x274286;validateInput(_0x1fcf43);const _0x255428=_0x9a956b[_0x5ce5ea(0x2a0,0x161,_0x33df54._0x34467f,-0x9e)]??createQuestionId();function _0x5ce5ea(_0x27cd92,_0x60558f,_0x2a2567,_0x321578){return _0x4d7120(_0x27cd92-_0x17cefc._0x5e8a94,_0x60558f-0x1ec,_0x2a2567,_0x60558f- -_0x17cefc._0x53d25f);}if(_0x1fcf43['answers']&&Object['keys'](_0x1fcf43['answers'])[_0x5ce5ea(_0x33df54._0x57c6f4,_0x33df54._0x2f8d91,0x292,_0x33df54._0x591f12)]>0x0)return createResult(_0x255428,_0x1fcf43[_0x5ce5ea(0x24b,0x1ce,_0x33df54._0x194d2c,_0x33df54._0x4a6616)][_0x285dd1(_0x33df54._0x3161fa,0x622,0x76a,_0x33df54._0x4d0bab)],_0x1fcf43[_0x285dd1(0x6f2,_0x33df54._0x5d0830,_0x33df54._0xa0123f,0x52e)]);if(!_0x9a956b[_0x5ce5ea(0x498,0x448,_0x33df54._0x464ed7,0x30d)])throw new ToolExecutionError(_0x5ce5ea(0x195,0xd4,_0x33df54._0x50bf83,_0x33df54._0x2ca8f4));function _0x285dd1(_0x3b72b8,_0x351421,_0x47b4da,_0x55cd08){return _0x17e070(_0x3b72b8-_0xdb7a2f._0x4e966e,_0x55cd08,_0x351421-_0xdb7a2f._0x24191d,_0x55cd08-0xb5);}const _0x939291=buildQuestions(_0x1fcf43),_0x5e62e3=await _0x9a956b[_0x285dd1(0x5ab,0x66d,_0x33df54._0x47c765,_0x33df54._0x19d0e2)]({'questionId':_0x255428,'questions':_0x939291});yield createResult(_0x255428,_0x1fcf43[_0x5ce5ea(_0x33df54._0x14316a,_0x33df54._0x1e5295,_0x33df54._0x4eec9c,0xc0)][_0x5ce5ea(_0x33df54._0x32a07f,_0x33df54._0x2f8d91,_0x33df54._0x203141,0x451)],_0x5e62e3);}});}import{stat as _0x55f0a1}from'fs/promises';import _0x4dc652 from'path';import{fileURLToPath as _0x4eb52c}from'url';function awaitWithAbort2(_0x2f6233,_0x3ab0bd){const _0x3e4fd9={_0x1886bc:0x33f,_0x155222:0x4a2,_0x5e24d6:0x6b6,_0x544e66:0x582},_0x50c60d={_0x1cc15d:0x4f1,_0xe871d7:0x65f,_0x45b25e:0x658,_0x28f16d:0x617,_0x5bea40:0x5e3,_0x437ab4:0x676,_0x59e66f:0x35c,_0x1358f4:0x538},_0x320067={_0x5495f4:0xcb},_0x3328a9={_0x4115ce:0x175,_0x5c137d:0x1c3},_0x581202={_0xa9b01c:0x8b};function _0xc6648f(_0x18ca82,_0x511756,_0x3298be,_0x1955ba){return _0x28bc81(_0x18ca82-_0x581202._0xa9b01c,_0x511756-0xa1,_0x18ca82-0x2b6,_0x3298be);}function _0x9e93e0(_0x4901a1,_0x5e7847,_0x3d166a,_0x55d5fa){return _0x28bc81(_0x4901a1-0x1,_0x5e7847-_0x3328a9._0x4115ce,_0x3d166a-_0x3328a9._0x5c137d,_0x55d5fa);}if(!_0x3ab0bd)return _0x2f6233;if(_0x3ab0bd[_0x9e93e0(_0x3e4fd9._0x1886bc,0x4f0,_0x3e4fd9._0x155222,0x2d7)])return Promise[_0x9e93e0(0x6f5,0x5d0,_0x3e4fd9._0x5e24d6,_0x3e4fd9._0x544e66)](toAbortError(_0x3ab0bd['reason']));return new Promise((_0x45c81c,_0x446b46)=>{const _0xd7bb16={_0x4bc92b:0x3e},_0x9bb00e={_0x4c7119:0x6ce,_0x4a5eb7:0x513},_0x412cfd=()=>{const _0x45291c={_0x3d4fb3:0x20b};_0x5aceff();function _0x50c80d(_0x564353,_0x1c4b45,_0x2b8ec6,_0x35c119){return _0x8662(_0x35c119-_0x45291c._0x3d4fb3,_0x2b8ec6);}_0x446b46(toAbortError(_0x3ab0bd[_0x50c80d(0x884,_0x9bb00e._0x4c7119,_0x9bb00e._0x4a5eb7,0x6eb)]));},_0x5aceff=()=>_0x3ab0bd[_0x3de6d8(0x455,0x596,0x569,0x308)](_0x56b93d(0x443,0x60f,0x744,0x4de),_0x412cfd);function _0x56b93d(_0xada8b8,_0x27ad09,_0x54e6da,_0x360768){return _0x9e93e0(_0xada8b8-0x14a,_0x27ad09-_0xd7bb16._0x4bc92b,_0x27ad09- -0x92,_0x54e6da);}_0x3ab0bd[_0x3de6d8(_0x50c60d._0x1cc15d,_0x50c60d._0xe871d7,_0x50c60d._0x45b25e,0x54f)](_0x3de6d8(_0x50c60d._0x28f16d,_0x50c60d._0x5bea40,0x495,_0x50c60d._0x437ab4),_0x412cfd,{'once':!![]});function _0x3de6d8(_0x132d1e,_0x196ce1,_0x18d9d0,_0x24795b){return _0x9e93e0(_0x132d1e-_0x320067._0x5495f4,_0x196ce1-0x140,_0x132d1e- -0x8a,_0x24795b);}_0x2f6233[_0x56b93d(_0x50c60d._0x59e66f,_0x50c60d._0x1358f4,0x459,0x444)](_0x24876e=>{_0x5aceff(),_0x45c81c(_0x24876e);},_0x38dd0e=>{_0x5aceff(),_0x446b46(_0x38dd0e);});});}function severityName(_0x8ec0ca){const _0x2758df={_0x4d4f38:0x47e,_0x26e8d6:0x404,_0x380692:0x380,_0xd767ad:0x3aa,_0x1d34f5:0x3b6,_0x5ca1b6:0x416},_0x5a5e33={_0x196a95:0x46,_0x19dd9d:0x1b8};function _0x3d383e(_0x5530c9,_0x2ab037,_0x5827b8,_0x1eaee2){return _0x28bc81(_0x5530c9-0x1c6,_0x2ab037-_0x5a5e33._0x196a95,_0x1eaee2- -_0x5a5e33._0x19dd9d,_0x2ab037);}function _0x52ed53(_0x3f862e,_0x1a6856,_0x40162e,_0x22f0e6){return _0x28bc81(_0x3f862e-0x11c,_0x1a6856-0x199,_0x3f862e- -0x290,_0x40162e);}switch(_0x8ec0ca){case 0x1:return _0x52ed53(0x36e,_0x2758df._0x4d4f38,0x380,0x503);case 0x2:return'Warning';case 0x3:return _0x3d383e(_0x2758df._0x26e8d6,_0x2758df._0x380692,0x394,0x20f);case 0x4:return'Hint';default:return _0x3d383e(_0x2758df._0xd767ad,0x23b,_0x2758df._0x1d34f5,_0x2758df._0x5ca1b6);}}function formatSingleHover(_0xb36638){const _0x19891a={_0x330501:0x1ee,_0x2d7406:0x112,_0x41a630:0x33,_0x16c86f:0x35,_0x363f38:0x662,_0x38290f:0x553,_0x9cdc41:0x193,_0x37935e:0x23a,_0x551724:0x109,_0x3b74fc:0x18f,_0x4b3a6b:0x385,_0xf4744:0x238,_0x75a824:0x266,_0x3ff4d8:0x264,_0x22850f:0x3de,_0x3fc8ac:0x4fb,_0x4f9648:0xa08,_0x420321:0x9b8,_0x5a31ec:0x935,_0x3c107b:0xbd5,_0x4cafef:0x684,_0x16bbee:0x490,_0x188684:0x728,_0x2163cb:0x1e8,_0x2ea705:0x9f},_0x320d51={_0x518b61:0x12,_0x3de4e8:0x1f3,_0x2db820:0x65},_0x3d832e=_0xb36638[_0xd63d92(-_0x19891a._0x330501,-_0x19891a._0x2d7406,-_0x19891a._0x41a630,_0x19891a._0x16c86f)];function _0x49fe87(_0x5bbd47,_0x4a8e86,_0x25ee29,_0x190721){return _0x5b2413(_0x5bbd47-_0x320d51._0x518b61,_0x4a8e86-_0x320d51._0x3de4e8,_0x5bbd47-_0x320d51._0x2db820,_0x4a8e86);}if(typeof _0x3d832e===_0x49fe87(0x69a,_0x19891a._0x363f38,0x695,_0x19891a._0x38290f))return _0x3d832e;if(Array['isArray'](_0x3d832e))return _0x3d832e[_0xd63d92(0x3e8,_0x19891a._0x9cdc41,0x255,0x478)](_0x5621a4=>typeof _0x5621a4===_0x49fe87(0x69a,0x7d0,0x88f,0x717)?_0x5621a4:_0x5621a4['value'])[_0xd63d92(0x26a,_0x19891a._0x37935e,_0x19891a._0x551724,0x24d)](Boolean)['join']('\x0a\x0a');function _0xd63d92(_0x1a8532,_0x4663af,_0x31eb34,_0xd337d0){return _0x28bc81(_0x1a8532-0x168,_0x4663af-0x14e,_0x31eb34- -0x37c,_0xd337d0);}if(_0xd63d92(-0x54,0x1e1,_0x19891a._0x3b74fc,_0x19891a._0x4b3a6b)in _0x3d832e)return _0x3d832e[_0xd63d92(0x2ec,0x1c1,_0x19891a._0xf4744,0x228)];return _0x3d832e[_0xd63d92(_0x19891a._0x75a824,0x1de,0x22f,_0x19891a._0x3ff4d8)]?_0x49fe87(0x5f3,_0x19891a._0x22850f,0x4ef,_0x19891a._0x3fc8ac)+_0x3d832e[_0x49fe87(0x9af,0x991,_0x19891a._0x4f9648,0x869)]+'\x0a'+_0x3d832e[_0x49fe87(_0x19891a._0x420321,0x9b4,_0x19891a._0x5a31ec,_0x19891a._0x3c107b)]+_0x49fe87(_0x19891a._0x4cafef,_0x19891a._0x16bbee,_0x19891a._0x188684,0x484):_0x3d832e[_0xd63d92(_0x19891a._0x2163cb,0x194,_0x19891a._0xf4744,_0x19891a._0x2ea705)];}function formatHover(_0x1efd46){const _0x1fe801={_0x3c8606:0xcf,_0x134216:0x686,_0x7a357d:0x5fc,_0x50eb20:0x4bc,_0x27bebf:0x459,_0x4ea43b:0x1e9,_0x4c3f4d:0x348,_0x126bdb:0x2b1,_0x4fd22a:0x489},_0x348f36={_0x506bda:0x22},_0x3f6daf={_0x1e673f:0x7b,_0x36d00d:0x1dc,_0x547175:0x78};function _0x5b6942(_0x2012d7,_0x3d76e0,_0x18f2c4,_0x403888){return _0x5b2413(_0x2012d7-_0x3f6daf._0x1e673f,_0x3d76e0-_0x3f6daf._0x36d00d,_0x18f2c4- -_0x3f6daf._0x547175,_0x403888);}function _0x323a0c(_0x2aa9ca,_0xf37667,_0xb137f5,_0x29ae32){return _0x5b2413(_0x2aa9ca-_0x348f36._0x506bda,_0xf37667-0x82,_0x29ae32- -0x4b4,_0x2aa9ca);}if(_0x1efd46['length']===0x0)return _0x323a0c(-_0x1fe801._0x3c8606,0x28c,-0xa4,0xf5);return _0x1efd46[_0x323a0c(0x3a7,_0x1fe801._0x134216,_0x1fe801._0x7a357d,_0x1fe801._0x50eb20)](formatSingleHover)[_0x323a0c(0x31a,_0x1fe801._0x27bebf,_0x1fe801._0x4ea43b,_0x1fe801._0x4c3f4d)](_0x323a0c(0x5cc,_0x1fe801._0x126bdb,0x2a4,_0x1fe801._0x4fd22a));}function locationPath(_0x49064b){const _0x5f00ad={_0x5a7c03:0x1da,_0x369433:0x164,_0x47c1f6:0x22,_0x1aeb18:0x568,_0x503477:0x37b},_0x4041d6={_0x3de371:0x1a6,_0x4ef983:0x31},_0x56478f={_0x676ec:0xd,_0x35b18f:0x238};function _0x442ff6(_0x9bba05,_0x24e7b0,_0x291068,_0x3755f1){return _0x5b2413(_0x9bba05-0x1bd,_0x24e7b0-_0x56478f._0x676ec,_0x24e7b0- -_0x56478f._0x35b18f,_0x3755f1);}if(!_0x49064b[_0x3a38ff(_0x5f00ad._0x5a7c03,-_0x5f00ad._0x369433,-0x233,-_0x5f00ad._0x47c1f6)](_0x442ff6(0x717,0x56b,_0x5f00ad._0x1aeb18,_0x5f00ad._0x503477)))return _0x49064b;function _0x3a38ff(_0x4336da,_0x59b6c0,_0x286b24,_0x505d4a){return _0x5b2413(_0x4336da-_0x4041d6._0x3de371,_0x59b6c0-_0x4041d6._0x4ef983,_0x505d4a- -0x69f,_0x4336da);}return _0x4eb52c(_0x49064b);}function formatLocations(_0x3ad3e1){const _0x22773e={_0x44260b:0x2b3,_0x4caeab:0x3c2,_0x195b9a:0x1a7,_0x26f4e8:0x50d,_0x30c95b:0x309,_0x558c6f:0x30e,_0x1d1989:0x350,_0x276e52:0x4d2,_0x141f70:0x40f,_0x5c56c6:0x6f2,_0xebfcdb:0x64e,_0xd385ee:0x5f0},_0x5579a6={_0x1b9a83:0xb1,_0x581daa:0xf4,_0x2ff93e:0x141,_0x5565cd:0x1ea,_0x13e66e:0x386,_0x2eacd8:0x59b,_0x17c35d:0x1f7,_0x14a342:0x131,_0x4dd4a2:0x127},_0x38b8b7={_0x10c05e:0x1ae},_0x5e71cc={_0x102e19:0x106,_0x813d9c:0xf5,_0x352c16:0x187};function _0xbfd4ba(_0x1a14f4,_0x267de1,_0x1f7cd4,_0xbf9977){return _0x28bc81(_0x1a14f4-_0x5e71cc._0x102e19,_0x267de1-_0x5e71cc._0x813d9c,_0x267de1- -_0x5e71cc._0x352c16,_0x1a14f4);}if(_0x3ad3e1[_0xbfd4ba(_0x22773e._0x44260b,_0x22773e._0x4caeab,_0x22773e._0x195b9a,_0x22773e._0x26f4e8)]===0x0)return _0xbfd4ba(_0x22773e._0x30c95b,_0x22773e._0x558c6f,_0x22773e._0x1d1989,0x325);function _0x43a7ec(_0x5a1310,_0x1f57db,_0x12d7be,_0xd71470){return _0x5b2413(_0x5a1310-0x164,_0x1f57db-0x1b5,_0x12d7be- -_0x38b8b7._0x10c05e,_0xd71470);}return _0x3ad3e1[_0xbfd4ba(0x29c,0x44a,_0x22773e._0x276e52,_0x22773e._0x141f70)](_0x3a8bee=>{const _0x22406a={_0x47b5b8:0x479};function _0x5ada20(_0x53a5c5,_0x175521,_0x2b1fdd,_0x38ed10){return _0x43a7ec(_0x53a5c5-0x134,_0x175521-0x1f1,_0x53a5c5- -_0x22406a._0x47b5b8,_0x2b1fdd);}function _0x4254b6(_0xd2bf9e,_0x47eaeb,_0x550c66,_0x438b32){return _0xbfd4ba(_0x47eaeb,_0x438b32- -0x1ea,_0x550c66-0x12,_0x438b32-0x152);}const _0x147b8c=_0x3a8bee[_0x5ada20(-_0x5579a6._0x1b9a83,-_0x5579a6._0x581daa,-0x2d,-0x2b8)][_0x4254b6(0x227,_0x5579a6._0x2ff93e,_0x5579a6._0x5565cd,0x23e)];return locationPath(_0x3a8bee['uri'])+':'+(_0x147b8c[_0x5ada20(_0x5579a6._0x13e66e,_0x5579a6._0x2eacd8,0x5a4,0x1d9)]+0x1)+':'+(_0x147b8c[_0x4254b6(_0x5579a6._0x17c35d,-_0x5579a6._0x14a342,-_0x5579a6._0x4dd4a2,0xcb)]+0x1);})[_0x43a7ec(_0x22773e._0x5c56c6,0x821,_0x22773e._0xebfcdb,_0x22773e._0xd385ee)]('\x0a');}function isDocumentSymbol(_0x8d1e30){return'range'in _0x8d1e30&&'selectionRange'in _0x8d1e30;}function formatSymbols(_0x2f2af0){const _0x4d7fab={_0x15d161:0x7d6,_0x392f26:0x49c,_0x1c834a:0x453,_0x1a9fbb:0x21a,_0x44f4d4:0x2df},_0x310be7={_0x54c978:0xe0,_0x4d0f49:0x2d7,_0x15e515:0x104,_0x432584:0x1,_0x1d4d46:0x122,_0xd7a46c:0x1ae,_0x394e33:0x5e6,_0x5dc386:0x605,_0x1b3a05:0x567,_0x48ce71:0x69a,_0x3e5a6a:0xe4,_0x8ef1bd:0x2a0,_0xca81c1:0x20e,_0x51e68f:0x371,_0x5c47f6:0x1cb,_0x29cb2:0x896,_0x1c5d63:0x749,_0x394726:0x7de,_0xd3099:0x5d6},_0x4a184a={_0x579322:0x123},_0x44cd7e={_0xce704f:0xbb,_0x8fb228:0x2b4};function _0x3a361b(_0x62e970,_0x31830f,_0x276692,_0x462236){return _0x5b2413(_0x62e970-0x8b,_0x31830f-_0x44cd7e._0xce704f,_0x31830f- -_0x44cd7e._0x8fb228,_0x276692);}if(_0x2f2af0['length']===0x0)return _0x3a361b(_0x4d7fab._0x15d161,0x6a0,0x807,0x530);function _0x3737b9(_0x135869,_0x2df0bc,_0x5c5626,_0x42a17a){return _0x28bc81(_0x135869-0xaf,_0x2df0bc-_0x4a184a._0x579322,_0x5c5626- -0x17e,_0x2df0bc);}return _0x2f2af0[_0x3737b9(0x238,_0x4d7fab._0x392f26,_0x4d7fab._0x1c834a,0x524)](_0x3d2dab=>{const _0x5b2333={_0x1f5050:0x191,_0x5a46aa:0xaf,_0x466643:0xae},_0x36aa88={_0x537309:0xe9,_0x352432:0x3a6};function _0xb93cf(_0x24c769,_0x29ba06,_0xe0e2b1,_0x4eb76e){return _0x3a361b(_0x24c769-_0x36aa88._0x537309,_0x24c769- -_0x36aa88._0x352432,_0x29ba06,_0x4eb76e-0xfe);}function _0x313239(_0x440e5c,_0x3b8c5f,_0x506591,_0x49c0f6){return _0x3a361b(_0x440e5c-_0x5b2333._0x1f5050,_0x3b8c5f-_0x5b2333._0x5a46aa,_0x440e5c,_0x49c0f6-_0x5b2333._0x466643);}if(isDocumentSymbol(_0x3d2dab))return _0x3d2dab[_0xb93cf(0x1bb,_0x310be7._0x54c978,0x2bb,0x3ad)]+'\x20('+_0x3d2dab[_0xb93cf(0x250,0x2f2,0x90,_0x310be7._0x4d0f49)]+_0xb93cf(-0x6d,-_0x310be7._0x15e515,0x180,-_0x310be7._0x432584)+(_0x3d2dab[_0xb93cf(-0xe4,-_0x310be7._0x1d4d46,-_0x310be7._0xd7a46c,0x105)][_0x313239(0x61e,0x749,_0x310be7._0x394e33,0x82b)][_0x313239(0x717,0x7a8,0x66a,_0x310be7._0x5dc386)]+0x1)+':'+(_0x3d2dab['range']['start']['character']+0x1)+']';return _0x3d2dab[_0x313239(_0x310be7._0x1b3a05,0x610,0x57a,_0x310be7._0x48ce71)]+'\x20('+_0x3d2dab['kind']+')\x20'+locationPath(_0x3d2dab[_0xb93cf(0x22f,_0x310be7._0x3e5a6a,0x249,0x21a)]['uri'])+':'+(_0x3d2dab['location']['range']['start'][_0xb93cf(0x353,0x1f6,0x4f0,_0x310be7._0x8ef1bd)]+0x1)+':'+(_0x3d2dab['location'][_0x313239(_0x310be7._0xca81c1,_0x310be7._0x51e68f,0x375,_0x310be7._0x5c47f6)][_0x313239(_0x310be7._0x29cb2,_0x310be7._0x1c5d63,0x830,_0x310be7._0x394726)][_0x313239(0x565,_0x310be7._0xd3099,0x42f,0x6d3)]+0x1);})[_0x3737b9(_0x4d7fab._0x1a9fbb,0x2be,_0x4d7fab._0x44f4d4,0x35c)]('\x0a');}function formatDiagnostics(_0x34ef4f){const _0x5f536a={_0x4c7caf:0x2b0,_0x1ab3e4:0x416,_0x5d97e5:0x67,_0x9b4c73:0x187,_0x241052:0xce,_0x48297e:0x9c,_0x362151:0x836,_0x39d499:0x62a},_0x36b4bf={_0x2faf3f:0x51,_0x4152ec:0xa6,_0x399fb6:0x7e2,_0xf0bfe1:0x786,_0x4963ef:0x863,_0x2efca4:0xa82,_0x436141:0x76d,_0x5ca1a1:0x5f6,_0x2f45d6:0x543,_0x21b717:0xa56,_0x31f4a7:0x8c2,_0x4e0252:0x985,_0x17d79c:0x791},_0x37fa29={_0xe4f73a:0x1e6},_0x68040c={_0x59144e:0x11f,_0xfddf59:0x60};function _0x2b5a4b(_0x1671d2,_0x5f072b,_0x48ba01,_0x1d6d2c){return _0x5b2413(_0x1671d2-_0x68040c._0x59144e,_0x5f072b-_0x68040c._0xfddf59,_0x1d6d2c- -0x28d,_0x1671d2);}function _0x160e99(_0x284fbe,_0x1c581c,_0x158529,_0x4eb28c){return _0x5b2413(_0x284fbe-_0x37fa29._0xe4f73a,_0x1c581c-0xf3,_0x4eb28c- -0x51b,_0x1c581c);}if(_0x34ef4f[_0x160e99(_0x5f536a._0x4c7caf,0x238,_0x5f536a._0x1ab3e4,0x3cd)]===0x0)return _0x160e99(-_0x5f536a._0x5d97e5,-_0x5f536a._0x9b4c73,_0x5f536a._0x241052,_0x5f536a._0x48297e);return _0x34ef4f[_0x2b5a4b(0x803,_0x5f536a._0x362151,_0x5f536a._0x39d499,0x6e3)](_0x36bc03=>{const _0x41170a={_0x1ca64c:0x1a2},_0x1a52c4={_0x51752:0xe0,_0x5ef7fb:0x430},_0xe167b1=_0x36bc03[_0x36a1f1(-_0x36b4bf._0x2faf3f,-0xc2,-0x9b,_0x36b4bf._0x4152ec)][_0x47dbd1(_0x36b4bf._0x399fb6,_0x36b4bf._0xf0bfe1,_0x36b4bf._0x4963ef,_0x36b4bf._0x2efca4)];function _0x47dbd1(_0x3a1648,_0x117143,_0x30e2cc,_0x2e8a80){return _0x160e99(_0x3a1648-0x114,_0x2e8a80,_0x30e2cc-_0x1a52c4._0x51752,_0x30e2cc-_0x1a52c4._0x5ef7fb);}function _0x36a1f1(_0x3d168b,_0x19c96b,_0x34e46a,_0x369d17){return _0x160e99(_0x3d168b-_0x41170a._0x1ca64c,_0x369d17,_0x34e46a-0x77,_0x3d168b- -0xac);}return severityName(_0x36bc03[_0x47dbd1(0x4f2,_0x36b4bf._0x436141,_0x36b4bf._0x5ca1a1,_0x36b4bf._0x2f45d6)])+'\x20['+(_0xe167b1[_0x47dbd1(_0x36b4bf._0x21b717,0x7d2,_0x36b4bf._0x31f4a7,0xa46)]+0x1)+':'+(_0xe167b1['character']+0x1)+']\x20'+_0x36bc03[_0x47dbd1(_0x36b4bf._0x4e0252,0x75c,0x892,_0x36b4bf._0x17d79c)];})['join']('\x0a');}function formatIncomingCalls(_0x43d895){const _0x4a7a7f={_0x48b831:0x89f,_0x1c0700:0x6bb,_0x4b2377:0x59f,_0x2bb2df:0x523,_0x4d5a71:0x384},_0x413f2c={_0x321107:0x142},_0x3dd30c={_0x244095:0x29};if(_0x43d895[_0x311807(0x747,0x817,0x8b6,0x8ef)]===0x0)return'No\x20call\x20hierarchy\x20results';function _0x311807(_0x1704b4,_0x253b89,_0x4b5a63,_0xf4044d){return _0x5b2413(_0x1704b4-_0x3dd30c._0x244095,_0x253b89-0x150,_0x253b89- -0xd1,_0xf4044d);}function _0x3b6e36(_0x4d8b29,_0x2d62b8,_0x2936e9,_0x544dc0){return _0x28bc81(_0x4d8b29-0xbf,_0x2d62b8-0x132,_0x2d62b8-_0x413f2c._0x321107,_0x544dc0);}return _0x43d895[_0x311807(0x817,_0x4a7a7f._0x48b831,_0x4a7a7f._0x1c0700,0x71c)](_0x68d699=>_0x68d699['from'][_0x311807(0x6ee,0x744,0x551,0x890)])[_0x3b6e36(0x672,_0x4a7a7f._0x4b2377,_0x4a7a7f._0x2bb2df,_0x4a7a7f._0x4d5a71)]('\x0a');}function formatOutgoingCalls(_0x362bc2){const _0x4b0200={_0x46e7d2:0x5cf,_0x44a8ad:0x79d,_0xaa2b35:0x71a,_0x2841d0:0x5e3,_0x2efd2c:0x627,_0x272743:0x519,_0x54191d:0x410,_0x1026e1:0x926,_0x2b397a:0x725,_0x24dd36:0x719},_0x254840={_0x4d578d:0x1e,_0x45d383:0x1bd,_0x143eb0:0x254},_0x2ebb10={_0x3444d7:0xdb,_0x430201:0x257};if(_0x362bc2[_0x1d8d9d(_0x4b0200._0x46e7d2,_0x4b0200._0x44a8ad,_0x4b0200._0xaa2b35,_0x4b0200._0x2841d0)]===0x0)return _0x1d8d9d(_0x4b0200._0x2efd2c,_0x4b0200._0x272743,0x4d0,_0x4b0200._0x54191d);function _0x304f6(_0x48be6f,_0x353cde,_0x41b2ad,_0x174c51){return _0x5b2413(_0x48be6f-_0x2ebb10._0x3444d7,_0x353cde-0x1dd,_0x174c51- -_0x2ebb10._0x430201,_0x353cde);}function _0x1d8d9d(_0x513e64,_0x2b60a8,_0x47d05c,_0x466d55){return _0x28bc81(_0x513e64-_0x254840._0x4d578d,_0x2b60a8-_0x254840._0x45d383,_0x2b60a8-_0x254840._0x143eb0,_0x466d55);}return _0x362bc2[_0x304f6(0x4fd,_0x4b0200._0x1026e1,_0x4b0200._0x2b397a,_0x4b0200._0x24dd36)](_0x209c28=>_0x209c28['to']['name'])['join']('\x0a');}function toStructured(_0x3ecc05){const _0x45860d={_0x3a0b7c:0x839,_0xf47787:0x87e,_0x64d80e:0xa30,_0x496c47:0x949,_0x3c76b5:0x8b8},_0x308d3c={_0xa74398:0x53,_0x4a7952:0x7f},_0x17e0ec={_0xb911cf:0xb3,_0x28c760:0x25b};function _0x1f6b83(_0x4b60f0,_0x33ff77,_0x1b49a0,_0x5883e3){return _0x28bc81(_0x4b60f0-_0x17e0ec._0xb911cf,_0x33ff77-0x1cf,_0x5883e3-_0x17e0ec._0x28c760,_0x33ff77);}function _0x111d29(_0x28e27b,_0x2ddf00,_0x491c39,_0x268054){return _0x28bc81(_0x28e27b-_0x308d3c._0xa74398,_0x2ddf00-0x151,_0x2ddf00- -_0x308d3c._0x4a7952,_0x491c39);}return JSON[_0x1f6b83(_0x45860d._0x3a0b7c,_0x45860d._0xf47787,_0x45860d._0x64d80e,0x840)](JSON[_0x1f6b83(_0x45860d._0x496c47,_0x45860d._0x3c76b5,0x82e,0x78f)](_0x3ecc05));}async function assertFile(_0x1b0833){const _0x58f9f2={_0x4f8020:0x689,_0x3e2b8a:0x24d},_0x235743={_0x5e6210:0x151,_0x1e9e74:0xf6},_0x1d2ea8={_0x234e1d:0xa1,_0x4166da:0xa,_0x347bbc:0x1b2};function _0x5d4f6a(_0x23c4e9,_0x2660ec,_0x9673e6,_0x6f9e50){return _0x28bc81(_0x23c4e9-_0x1d2ea8._0x234e1d,_0x2660ec-_0x1d2ea8._0x4166da,_0x23c4e9- -_0x1d2ea8._0x347bbc,_0x6f9e50);}const _0x3b44de=await _0x55f0a1(_0x1b0833);function _0x4f408d(_0xed966d,_0x44ed91,_0x28615e,_0x5e5eca){return _0x28bc81(_0xed966d-_0x235743._0x5e6210,_0x44ed91-0x190,_0xed966d-_0x235743._0x1e9e74,_0x5e5eca);}if(!_0x3b44de[_0x4f408d(0x525,0x5cd,_0x58f9f2._0x4f8020,0x4a0)]())throw new ToolExecutionError(_0x4f408d(0x3c3,0x479,0x23f,_0x58f9f2._0x3e2b8a)+_0x1b0833,{'path':_0x1b0833});}function validatePosition(_0x956533,_0x54f8ba){if(!Number['isInteger'](_0x956533)||_0x956533<0x1)throw new ToolExecutionError('line\x20must\x20be\x20a\x20positive\x20integer',{'line':_0x956533});if(!Number['isInteger'](_0x54f8ba)||_0x54f8ba<0x1)throw new ToolExecutionError('character\x20must\x20be\x20a\x20positive\x20integer',{'character':_0x54f8ba});}function createLspTool(_0x20f78d={}){const _0x48f8a0={_0x3d6f9f:0x155,_0x2cf5c6:0x206,_0x3946a3:0x1aa,_0x281bda:0xb,_0x201276:0x4f6,_0x3e42c1:0x3a1,_0x3cd5c6:0x406,_0x587e27:0xd1,_0x5054d6:0x4d6,_0x3d821b:0x209,_0x49cf4d:0x43d,_0x990f89:0xb8,_0x509f68:0x12e,_0xb86d71:0x207,_0x47999f:0x110,_0x1550f2:0x73,_0x3117a7:0x8e,_0x1d6755:0x119,_0x1fbfc0:0xe0,_0x1305c8:0x24c,_0x1fe117:0x3ef,_0x3dc7fd:0xcf,_0x407abf:0xfc,_0x549768:0x46b,_0x27fc54:0x431,_0x4c34c6:0x3ed,_0x3e9b95:0x4b2,_0x3551e1:0x5ea,_0x2f3e00:0x442,_0x449d2f:0x494,_0x468cb4:0x2e6,_0x371233:0x173,_0x31f76c:0x116,_0x40e877:0x59,_0x36022f:0x22c,_0x18ddf2:0x1bb,_0x1ee168:0x275,_0x514d3c:0x153,_0x3a42b6:0x559,_0xc85387:0x40a,_0x49bea5:0x4eb,_0x10f585:0x17c,_0x3c473e:0x643,_0xe1798:0x66e,_0x4bec78:0x541,_0x48a409:0x217,_0x5ef9cd:0x4d9},_0x5df5ac={_0x3e784a:0xba,_0x320336:0x3a1,_0xa46e1f:0x2df,_0x1f29a2:0x635,_0x178838:0x268,_0x3ee512:0x196,_0x3a61b7:0x130,_0x57b3c4:0x3,_0x2daa1d:0x200,_0x4c904f:0x1de,_0x4daf00:0x36a,_0x5cf78c:0x8dd,_0x2916de:0x7c3,_0x181c87:0x944,_0x136bf3:0x55b,_0x105019:0x681,_0x5de9d3:0x49a,_0x4c55b0:0x2fc,_0x3ab5f0:0x512,_0x50cbf8:0x1e2,_0xbce11a:0x1d2,_0x5f4d68:0x376,_0x3ac60b:0x4cd,_0x478cdc:0x6ca,_0x36c5b2:0x53e,_0xfa5b11:0xbd,_0x1c3156:0x4d5,_0x160dc7:0x5fd,_0x3b5f44:0x5e2,_0x3701b5:0x3fe,_0x192085:0x292,_0x3b4186:0x657,_0x18be1e:0x707,_0x17b684:0x3c9,_0x203111:0x79,_0x487316:0x8e,_0x19134a:0x2ba,_0x5d9db9:0xe,_0x3e61de:0x21a,_0x21cd9b:0x306,_0x554e99:0x680,_0x515d69:0x49d,_0x1d83b3:0x150,_0x3c1e3d:0x2d,_0x445955:0xd2,_0x11d296:0x11c,_0x17f190:0x169,_0x21b763:0x37,_0x5dee4c:0x481,_0x1fd99c:0x379,_0x5baa1f:0x370,_0x40859e:0x2f,_0x117ef1:0x18c,_0x522db9:0x4ec,_0x435056:0x5b6,_0x3f65ae:0x62d,_0xd894a1:0x164,_0x219c51:0x39f,_0x5b4879:0x6a2,_0x3fed54:0x6f5,_0x161942:0x5ab,_0x41a594:0x570,_0x20b00c:0x582,_0x232a0d:0x6f0,_0x5110d0:0x480,_0x38d9a8:0x644,_0x3b9301:0x2f7,_0x3cdebb:0x319,_0x179549:0x582,_0x32ab50:0x528,_0x5e7e7a:0x8f1,_0x2ac262:0x734,_0x43edda:0x3a2},_0xac72ec={_0x3d4994:0xcd},_0x347d5b={_0x398e81:0x1a6,_0x1e361d:0x604},_0x5332d2=_0x4dc652[_0x21fc9a(-_0x48f8a0._0x3d6f9f,_0x48f8a0._0x2cf5c6,-_0x48f8a0._0x3946a3,-_0x48f8a0._0x281bda)](_0x20f78d['defaultCwd']??process[_0x21fc9a(0x2ab,_0x48f8a0._0x201276,0x38b,_0x48f8a0._0x3e42c1)]());function _0x21fc9a(_0x1024f1,_0x13b7a5,_0x3b381c,_0xbb71c0){return _0x5b2413(_0x1024f1-0x1cb,_0x13b7a5-_0x347d5b._0x398e81,_0xbb71c0- -_0x347d5b._0x1e361d,_0x13b7a5);}function _0x3527bb(_0x1bc402,_0xf171c0,_0x120a07,_0x2cec78){return _0x28bc81(_0x1bc402-0xb5,_0xf171c0-0x186,_0x2cec78- -_0xac72ec._0x3d4994,_0xf171c0);}const _0x5c71d4=_0x20f78d['allowedDirs']??[],_0x56b4e1=_0x20f78d[_0x21fc9a(0x3aa,0x1fa,_0x48f8a0._0x3cd5c6,0x211)]??'Lsp';return defineTool({'name':_0x56b4e1,'permissionClass':_0x3527bb(0x24f,_0x48f8a0._0x587e27,0x23c,0x1eb),'description':_0x21fc9a(_0x48f8a0._0x5054d6,_0x48f8a0._0x3d821b,_0x48f8a0._0x49cf4d,0x38b),'inputSchema':{'type':_0x21fc9a(0x15b,-0x211,_0x48f8a0._0x990f89,0x0),'properties':{'operation':{'type':_0x21fc9a(-0x39,-_0x48f8a0._0x509f68,_0x48f8a0._0xb86d71,0x31),'enum':[_0x21fc9a(_0x48f8a0._0x47999f,0x29c,0x217,0x1b6),_0x21fc9a(_0x48f8a0._0x1550f2,0x6c,0x273,0x283),_0x3527bb(0x132,_0x48f8a0._0x3117a7,0xda,0x180),_0x21fc9a(-_0x48f8a0._0x1d6755,0x48,-_0x48f8a0._0x1fbfc0,0x9f),_0x3527bb(_0x48f8a0._0x1305c8,0x1d2,_0x48f8a0._0x1fe117,0x290),_0x21fc9a(-0xe4,0x58,-0x1fd,0x11),_0x21fc9a(0x100,0x47,-_0x48f8a0._0x3dc7fd,_0x48f8a0._0x407abf),_0x21fc9a(0x23a,0x12c,0x31d,0x30f),_0x3527bb(_0x48f8a0._0x549768,_0x48f8a0._0x27fc54,_0x48f8a0._0x4c34c6,_0x48f8a0._0x3e9b95),_0x3527bb(0x5df,_0x48f8a0._0x3551e1,_0x48f8a0._0x2f3e00,_0x48f8a0._0x449d2f)]},'filePath':{'type':_0x3527bb(_0x48f8a0._0x468cb4,0x311,_0x48f8a0._0x371233,0x1c9)},'line':{'type':_0x21fc9a(_0x48f8a0._0x31f76c,-_0x48f8a0._0x40e877,_0x48f8a0._0x36022f,_0x48f8a0._0x18ddf2)},'character':{'type':_0x21fc9a(0x335,_0x48f8a0._0x1ee168,_0x48f8a0._0x514d3c,_0x48f8a0._0x18ddf2)},'query':{'type':'string'}},'required':[_0x3527bb(_0x48f8a0._0x3a42b6,0x65a,_0x48f8a0._0xc85387,_0x48f8a0._0x49bea5),_0x3527bb(0x2fd,0x388,-0xa,_0x48f8a0._0x10f585),_0x3527bb(_0x48f8a0._0x3c473e,0x495,_0x48f8a0._0xe1798,_0x48f8a0._0x4bec78),_0x3527bb(_0x48f8a0._0x48a409,_0x48f8a0._0x5ef9cd,0x392,0x36f)]},async *'execute'(_0x493374,_0x3d021c){const _0x4360bf={_0x192159:0x1d5},_0x198313={_0x3a0e9c:0x116,_0x20021e:0x282},_0x158fa7=_0x20f78d[_0x1340d1(_0x5df5ac._0x3e784a,_0x5df5ac._0x320336,_0x5df5ac._0xa46e1f,0x1f9)];if(!_0x158fa7)throw new ToolExecutionError(_0x26f583(0x7c9,_0x5df5ac._0x1f29a2,0x4fc,0x5b6));if(!_0x158fa7[_0x1340d1(_0x5df5ac._0x178838,_0x5df5ac._0x3ee512,0x1e1,_0x5df5ac._0x3a61b7)]())throw new ToolExecutionError(_0x1340d1(-0x1d,_0x5df5ac._0x57b3c4,_0x5df5ac._0x2daa1d,_0x5df5ac._0x4c904f));function _0x26f583(_0x1ae91f,_0x35b140,_0x50ac8a,_0x36c3fa){return _0x3527bb(_0x1ae91f-0x130,_0x1ae91f,_0x50ac8a-_0x198313._0x3a0e9c,_0x35b140-_0x198313._0x20021e);}function _0x1340d1(_0x2aaca2,_0x11a603,_0x3e0bce,_0x31b55d){return _0x21fc9a(_0x2aaca2-_0x4360bf._0x192159,_0x3e0bce,_0x3e0bce-0x1e6,_0x31b55d-0xa);}const _0x2c0076=_0x493374[_0x1340d1(0x37a,_0x5df5ac._0x4daf00,0x4c4,0x35d)];validatePosition(_0x493374[_0x26f583(_0x5df5ac._0x5cf78c,_0x5df5ac._0x2916de,0x69f,_0x5df5ac._0x181c87)],_0x493374[_0x26f583(_0x5df5ac._0x136bf3,0x5f1,_0x5df5ac._0x105019,_0x5df5ac._0x5de9d3)]);if(_0x2c0076===_0x26f583(_0x5df5ac._0x4c55b0,_0x5df5ac._0x3ab5f0,0x60a,0x412)){if(!_0x493374[_0x1340d1(_0x5df5ac._0x50cbf8,0x1b1,0x28,_0x5df5ac._0xbce11a)]?.[_0x26f583(_0x5df5ac._0x5f4d68,_0x5df5ac._0x3ac60b,0x453,_0x5df5ac._0x478cdc)]())throw new ToolExecutionError('workspaceSymbol\x20requires\x20a\x20non-empty\x20query');const _0x4fd1cf=await awaitWithAbort2(_0x158fa7[_0x26f583(0x512,0x512,0x407,_0x5df5ac._0x36c5b2)](_0x493374['query'][_0x1340d1(-0x147,0x14c,0x226,_0x5df5ac._0xfa5b11)]()),_0x3d021c[_0x26f583(0x5bd,0x582,0x379,_0x5df5ac._0x1c3156)]);return yield createToolOutput(formatSymbols(_0x4fd1cf),{'operation':_0x2c0076,'query':_0x493374[_0x26f583(_0x5df5ac._0x160dc7,_0x5df5ac._0x3b5f44,0x5ba,0x692)],'symbols':_0x4fd1cf}),void 0x0;}const _0x4df1d9=resolveAllowedPath(_0x5332d2,_0x5c71d4,_0x493374[_0x26f583(0x2c0,_0x5df5ac._0x3701b5,0x486,_0x5df5ac._0x192085)]);await assertFile(_0x4df1d9);if(!await awaitWithAbort2(_0x158fa7[_0x26f583(_0x5df5ac._0x478cdc,_0x5df5ac._0x3b4186,_0x5df5ac._0x18be1e,0x7fb)](_0x4df1d9),_0x3d021c[_0x1340d1(0x5f,0x280,0x206,0x172)]))throw new ToolExecutionError(_0x1340d1(0x357,0x3ef,_0x5df5ac._0x17b684,0x2e5)+_0x493374[_0x1340d1(0x83,-0x9e,0x162,-0x12)],{'filePath':_0x493374[_0x1340d1(-0xed,_0x5df5ac._0x203111,-0x1c,-0x12)]});await awaitWithAbort2(_0x158fa7['touchFile'](_0x4df1d9,!![]),_0x3d021c['signal']);const _0x41bda1={'file':_0x4df1d9,'line':_0x493374['line']-0x1,'character':_0x493374[_0x1340d1(_0x5df5ac._0x487316,0x134,_0x5df5ac._0x19134a,0x1e1)]-0x1};switch(_0x2c0076){case'hover':{const _0x4b8c94=await awaitWithAbort2(_0x158fa7[_0x1340d1(-0xcb,-0xae,0xeb,-_0x5df5ac._0x5d9db9)](_0x41bda1),_0x3d021c['signal']);return yield createToolOutput(formatHover(_0x4b8c94),{'operation':_0x2c0076,'filePath':_0x4df1d9,'hover':_0x4b8c94}),void 0x0;}case _0x1340d1(0x1bf,_0x5df5ac._0x3e61de,0x40c,_0x5df5ac._0x21cd9b):{const _0x370b2e=await awaitWithAbort2(_0x158fa7[_0x26f583(0x7e7,_0x5df5ac._0x554e99,0x4ae,_0x5df5ac._0x515d69)](_0x4df1d9),_0x3d021c['signal']);return yield createToolOutput(formatDiagnostics(_0x370b2e),{'operation':_0x2c0076,'filePath':_0x4df1d9,'diagnostics':_0x370b2e}),void 0x0;}case'goToDefinition':{const _0x1aad75=await awaitWithAbort2(_0x158fa7[_0x1340d1(-_0x5df5ac._0x1d83b3,-_0x5df5ac._0x3c1e3d,0x4a,_0x5df5ac._0x445955)](_0x41bda1),_0x3d021c['signal']);return yield createToolOutput(formatLocations(_0x1aad75),{'operation':_0x2c0076,'filePath':_0x4df1d9,'locations':_0x1aad75}),void 0x0;}case'findReferences':{const _0x36acfb=await awaitWithAbort2(_0x158fa7[_0x1340d1(_0x5df5ac._0x11d296,-0x47,_0x5df5ac._0x17f190,-_0x5df5ac._0x21b763)](_0x41bda1),_0x3d021c[_0x26f583(_0x5df5ac._0x5dee4c,0x582,_0x5df5ac._0x1fd99c,_0x5df5ac._0x5baa1f)]);return yield createToolOutput(formatLocations(_0x36acfb),{'operation':_0x2c0076,'filePath':_0x4df1d9,'locations':_0x36acfb}),void 0x0;}case _0x1340d1(-_0x5df5ac._0x40859e,_0x5df5ac._0x117ef1,-0x1fd,0x1b):{const _0xe4e8af=await awaitWithAbort2(_0x158fa7['implementation'](_0x41bda1),_0x3d021c[_0x26f583(_0x5df5ac._0x522db9,0x582,_0x5df5ac._0x435056,_0x5df5ac._0x3f65ae)]);return yield createToolOutput(formatLocations(_0xe4e8af),{'operation':_0x2c0076,'filePath':_0x4df1d9,'locations':_0xe4e8af}),void 0x0;}case _0x1340d1(0x18c,0x38,-_0x5df5ac._0xd894a1,0xa9):{const _0x33931a=await awaitWithAbort2(_0x158fa7[_0x26f583(_0x5df5ac._0x219c51,0x4b9,0x349,0x3b4)](_0x4df1d9),_0x3d021c[_0x26f583(_0x5df5ac._0x5b4879,0x582,_0x5df5ac._0x3fed54,0x79e)]);return yield createToolOutput(formatSymbols(_0x33931a),{'operation':_0x2c0076,'filePath':_0x4df1d9,'symbols':_0x33931a}),void 0x0;}case'prepareCallHierarchy':{const _0x57aba8=await awaitWithAbort2(_0x158fa7[_0x26f583(_0x5df5ac._0x161942,0x516,0x359,0x4f5)](_0x41bda1),_0x3d021c[_0x26f583(_0x5df5ac._0x41a594,_0x5df5ac._0x20b00c,_0x5df5ac._0x232a0d,_0x5df5ac._0x5110d0)]);return yield createToolOutput(formatSymbols(_0x57aba8),{'operation':_0x2c0076,'filePath':_0x4df1d9,'symbols':toStructured(_0x57aba8)}),void 0x0;}case _0x26f583(_0x5df5ac._0x38d9a8,0x729,0x8e8,0x69b):{const _0x231560=await awaitWithAbort2(_0x158fa7[_0x1340d1(0x38e,_0x5df5ac._0x3b9301,0x263,_0x5df5ac._0x3cdebb)](_0x41bda1),_0x3d021c[_0x26f583(0x49d,_0x5df5ac._0x179549,0x3ca,_0x5df5ac._0x32ab50)]);return yield createToolOutput(formatIncomingCalls(_0x231560),{'operation':_0x2c0076,'filePath':_0x4df1d9,'calls':toStructured(_0x231560)}),void 0x0;}case _0x26f583(_0x5df5ac._0x5e7e7a,_0x5df5ac._0x2ac262,0x539,0x91a):{const _0x16280b=await awaitWithAbort2(_0x158fa7[_0x1340d1(0x201,0x1c3,_0x5df5ac._0x43edda,0x324)](_0x41bda1),_0x3d021c['signal']);return yield createToolOutput(formatOutgoingCalls(_0x16280b),{'operation':_0x2c0076,'filePath':_0x4df1d9,'calls':toStructured(_0x16280b)}),void 0x0;}}}});}import*as _0x1aaaf7 from'path';function buildDescription(_0x511342){const _0x294286={_0x73da59:0x424,_0x3bdbe2:0x37,_0x27c302:0x665,_0x50d367:0x682,_0x2af3ee:0x6ab,_0x284249:0x544,_0x536bae:0x229,_0x506756:0x651,_0x27cdb4:0x443,_0x271c1c:0x807,_0x45f7bd:0x5e7},_0x31dbc0={_0x125328:0x1bc},_0x318129={_0x2aaf51:0x17,_0x537881:0x3aa};function _0x3596ea(_0x33f7d3,_0x48faf3,_0x21fe4f,_0xff6938){return _0x28bc81(_0x33f7d3-_0x318129._0x2aaf51,_0x48faf3-0x106,_0x48faf3-_0x318129._0x537881,_0xff6938);}if(_0x511342[_0x598386(_0x294286._0x73da59,0x3b0,0x544,0x3bb)]===0x0)return _0x598386(0x1d6,0x10a,_0x294286._0x3bdbe2,0x157);function _0x598386(_0x488978,_0x1a84a4,_0x44c8ae,_0x72e36f){return _0x28bc81(_0x488978-0x1aa,_0x1a84a4-_0x31dbc0._0x125328,_0x72e36f- -0x18e,_0x488978);}const _0x31a7c0=[_0x3596ea(0x847,_0x294286._0x27c302,0x573,_0x294286._0x50d367),'Skills\x20provide\x20specialized\x20knowledge\x20and\x20step-by-step\x20guidance.',_0x3596ea(0x498,_0x294286._0x2af3ee,_0x294286._0x284249,0x767),'Available\x20skills\x20(skill_name:\x20description):',..._0x511342[_0x598386(0x38b,_0x294286._0x536bae,_0x294286._0x506756,_0x294286._0x27cdb4)](_0x141c29=>'-\x20'+_0x141c29[_0x3596ea(0x98d,0x820,0x9c5,0x97a)]+':\x20'+_0x141c29[_0x3596ea(0x756,0x8ac,0x834,0x68a)])];return _0x31a7c0[_0x3596ea(0x98e,_0x294286._0x271c1c,0x995,_0x294286._0x45f7bd)]('\x0a');}function createLoadSkillTool(_0x1618b4){const _0x3c007d={_0x174ba0:0x195,_0x1b7118:0x125,_0xbeca92:0x3de,_0x2c9020:0x71b,_0x22b4dd:0x6db,_0x4b21aa:0x818,_0x54ed26:0x857,_0x5b8caa:0x783,_0x3dac91:0x97a,_0x1047b0:0x8a,_0x193870:0x7c0,_0x21428b:0x28e},_0xbc9cb6={_0x325903:0x78d,_0x19fa7e:0x992,_0x208462:0x609,_0x4ae8c1:0x49a,_0x51b85e:0x404,_0x553555:0x7e5,_0x323101:0x5f4,_0x3a8579:0x847,_0x4f0777:0x763,_0x2a6c7b:0x672,_0x3e64b5:0x480,_0x1e0707:0x4eb,_0x5ac642:0x6a9,_0x495c35:0x47e,_0x57cb21:0x5bf,_0x2c7677:0x85c,_0x4db00c:0x417,_0x5e16d4:0x202,_0x5a46d8:0x2b9,_0x2f44a7:0x41b,_0xd861a:0x596,_0x22b027:0x38d,_0x181611:0x727,_0x19bfe0:0x69b,_0x3475c5:0x669,_0x2c137a:0x6c5,_0x3da494:0x63c,_0x1884aa:0x643,_0x157d88:0x60e,_0x3264de:0x67b,_0x441513:0x51e,_0x24c4bc:0x7c5,_0x229e96:0x543,_0x10b7cc:0x674,_0x3f5504:0x70a,_0x46314b:0x8f4,_0x2cacc6:0x6e7},_0x31a645={_0x5392be:0x19b},_0x1e9942={_0x20cf63:0xe4},_0x1721fd={_0x511fd4:0x8a,_0x487bf6:0x5e};function _0x707e65(_0x1dee6f,_0xe9cf68,_0x55d964,_0x150f91){return _0x5b2413(_0x1dee6f-_0x1721fd._0x511fd4,_0xe9cf68-_0x1721fd._0x487bf6,_0xe9cf68- -0x5e1,_0x55d964);}const _0x575482=new Map(_0x1618b4[_0x707e65(_0x3c007d._0x174ba0,_0x3c007d._0x1b7118,0xb0,0x47)][_0x707e65(0x548,0x38f,_0x3c007d._0xbeca92,0x2e2)](_0x44abc3=>[_0x44abc3['name'],_0x44abc3]));function _0x32a3d2(_0x58f6bb,_0x449d8f,_0x2fc765,_0x26711e){return _0x28bc81(_0x58f6bb-0x1ce,_0x449d8f-_0x1e9942._0x20cf63,_0x449d8f-0x374,_0x2fc765);}const _0x4b2a24=buildDescription(_0x1618b4[_0x32a3d2(_0x3c007d._0x2c9020,_0x3c007d._0x22b4dd,0x7f1,_0x3c007d._0x4b21aa)]);return defineTool({'name':_0x32a3d2(_0x3c007d._0x54ed26,_0x3c007d._0x5b8caa,_0x3c007d._0x3dac91,0x5e8),'permissionClass':'read','description':_0x4b2a24,'inputSchema':{'type':_0x707e65(0x20e,0x23,-_0x3c007d._0x1047b0,-0x137),'properties':{'name':{'type':_0x32a3d2(0x6c5,0x60a,0x487,_0x3c007d._0x193870)}},'required':[_0x707e65(0x3b,0x234,_0x3c007d._0x21428b,0x19c)]},async *'execute'(_0x37caa4){const _0x341109={_0x3ced7e:0x178,_0x3b6311:0x19e},_0x2e59b2=_0x575482[_0x4cc55c(_0xbc9cb6._0x325903,0x5c9,0x786,_0xbc9cb6._0x19fa7e)](_0x37caa4[_0x4cc55c(0x672,0x681,_0xbc9cb6._0x208462,_0xbc9cb6._0x4ae8c1)]);if(!_0x2e59b2){const _0xc6323d=Array[_0x4cc55c(_0xbc9cb6._0x51b85e,0x573,0x452,0x207)](_0x575482['keys']())[_0x4cc55c(0x659,_0xbc9cb6._0x553555,_0xbc9cb6._0x323101,_0xbc9cb6._0x3a8579)](',\x20');throw new ToolExecutionError(_0xa113c1(0x86b,_0xbc9cb6._0x4f0777,0x705,0x653)+_0x37caa4[_0x4cc55c(_0xbc9cb6._0x2a6c7b,_0xbc9cb6._0x3e64b5,0x69e,_0xbc9cb6._0x1e0707)]+_0x4cc55c(0x527,0x6c0,0x5a3,0x4bf)+_0xc6323d,{'name':_0x37caa4['name']});}function _0xa113c1(_0x4ad378,_0x35161d,_0xb66876,_0x47976a){return _0x707e65(_0x4ad378-_0x31a645._0x5392be,_0x47976a-0x460,_0xb66876,_0x47976a-0x13a);}function _0x4cc55c(_0xb8f883,_0x24bb72,_0x37f5a4,_0x538c2e){return _0x32a3d2(_0xb8f883-0x196,_0xb8f883- -_0x341109._0x3ced7e,_0x24bb72,_0x538c2e-_0x341109._0x3b6311);}const _0x26fce3=await _0x1618b4['loadSkill'](_0x2e59b2),_0x244864=_0x2e59b2[_0x4cc55c(0x647,_0xbc9cb6._0x5ac642,0x709,0x50d)][_0x4cc55c(0x57b,0x73d,_0xbc9cb6._0x495c35,_0xbc9cb6._0x57cb21)]??_0x1aaaf7['dirname'](_0x2e59b2[_0x4cc55c(0x647,0x628,0x5d3,0x4ea)][_0xa113c1(0x61d,0x7ee,_0xbc9cb6._0x2c7677,0x6e7)]),_0x2c2fef=[_0x4cc55c(_0xbc9cb6._0x4db00c,0x5ac,_0xbc9cb6._0x5e16d4,_0xbc9cb6._0x5a46d8)+_0x26fce3[_0x4cc55c(0x672,0x4cb,0x5a0,0x842)],'',_0x26fce3[_0x4cc55c(_0xbc9cb6._0x2f44a7,_0xbc9cb6._0xd861a,0x416,_0xbc9cb6._0x22b027)],'','---',_0x4cc55c(0x7b2,_0xbc9cb6._0x181611,0x920,0x5ab)+_0x2e59b2[_0xa113c1(0x483,0x730,_0xbc9cb6._0x19bfe0,_0xbc9cb6._0x3475c5)][_0x4cc55c(_0xbc9cb6._0x2c137a,0x57e,0x6b1,_0xbc9cb6._0x3da494)],_0x4cc55c(_0xbc9cb6._0x1884aa,0x848,0x784,0x7f3)+_0x244864][_0xa113c1(0x835,0x651,_0xbc9cb6._0x157d88,_0xbc9cb6._0x3264de)]('\x0a');return yield createToolOutput(_0x2c2fef,{'id':_0x26fce3['id'],'name':_0x26fce3[_0x4cc55c(_0xbc9cb6._0x2a6c7b,_0xbc9cb6._0x441513,_0xbc9cb6._0x24c4bc,_0xbc9cb6._0x229e96)],'path':_0x2e59b2[_0xa113c1(_0xbc9cb6._0x10b7cc,0x5a0,_0xbc9cb6._0x3f5504,0x669)][_0xa113c1(0x6b5,0x59f,_0xbc9cb6._0x46314b,_0xbc9cb6._0x2cacc6)],'baseDirectory':_0x244864}),void 0x0;}});}var TODO_STATUSES=new Set(['pending',_0x28bc81(0x33b,0x51e,0x481,0x410),_0x5b2413(0x669,0x877,0x79e,0x8d9)]),TODO_PRIORITIES=new Set([_0x28bc81(0x141,0xd7,0x1dd,0x18),_0x28bc81(0x248,0x328,0x3a1,0x1b9),_0x5b2413(0x4e9,0x792,0x689,0x76a)]);function isTodoStatus(_0x151de4){const _0x138e06={_0x41d437:0x47f,_0x20e213:0x6c3,_0x4f6120:0x438},_0x5c5f9d={_0x170100:0x40,_0x5c2f57:0x165},_0x585a0d={_0x507383:0x161};function _0x3159ae(_0x4fa488,_0x3b071d,_0x55f6e7,_0x37bd10){return _0x5b2413(_0x4fa488-0x13d,_0x3b071d-_0x585a0d._0x507383,_0x4fa488- -0x1b6,_0x37bd10);}function _0x5dcbfc(_0x1f73e7,_0x13b150,_0xcd281e,_0x2b22a1){return _0x5b2413(_0x1f73e7-_0x5c5f9d._0x170100,_0x13b150-0x66,_0x1f73e7- -_0x5c5f9d._0x5c2f57,_0x13b150);}return typeof _0x151de4===_0x3159ae(_0x138e06._0x41d437,0x379,0x463,0x5fe)&&TODO_STATUSES[_0x3159ae(0x4f4,_0x138e06._0x20e213,_0x138e06._0x4f6120,0x659)](_0x151de4);}function isTodoPriority(_0x1a4eef){const _0x2da48c={_0x140a55:0x4d3,_0x59a09e:0x437,_0x10457a:0x5f1},_0x102356={_0x42958b:0x1a3,_0x13e3e0:0x131};function _0x48e98a(_0xb614d7,_0x5c7b86,_0x77975d,_0x5657f1){return _0x28bc81(_0xb614d7-_0x102356._0x42958b,_0x5c7b86-_0x102356._0x13e3e0,_0x77975d-0x35b,_0x5657f1);}return typeof _0x1a4eef===_0x48e98a(_0x2da48c._0x140a55,_0x2da48c._0x59a09e,_0x2da48c._0x10457a,0x734)&&TODO_PRIORITIES['has'](_0x1a4eef);}var TodoStore=class{['todosBySession']=new Map();['getTodos'](_0x478f8c){const _0x21ed7d={_0x52b865:0x257,_0x488710:0x1ba,_0x415fdd:0x23a,_0x1c07b3:0x578},_0x5339a4={_0x443ac9:0x494},_0x49a6fb={_0x458816:0x9b,_0x22799d:0x160,_0x94be79:0x5a3};function _0x3238a7(_0x602462,_0x208c88,_0x15dcf1,_0x570e7c){return _0x5b2413(_0x602462-_0x49a6fb._0x458816,_0x208c88-_0x49a6fb._0x22799d,_0x208c88- -_0x49a6fb._0x94be79,_0x15dcf1);}function _0x1b4720(_0x20467c,_0x1f2554,_0x30c8c8,_0x121236){return _0x5b2413(_0x20467c-0xc0,_0x1f2554-0x1c5,_0x20467c- -_0x5339a4._0x443ac9,_0x30c8c8);}return this[_0x3238a7(0x404,_0x21ed7d._0x52b865,0x3cb,0x253)][_0x3238a7(_0x21ed7d._0x488710,0x38d,_0x21ed7d._0x415fdd,_0x21ed7d._0x1c07b3)](_0x478f8c)??[];}[_0x28bc81(0x5fc,0x59d,0x4c4,0x665)](_0x1f8861,_0xa05e9b){const _0x5967a3={_0x36820d:0x733,_0x285224:0x96c,_0x155a4e:0x8bf,_0x28059b:0x80c},_0x1b001d={_0x824bd0:0x0,_0x34737c:0x1d,_0xa0b4ca:0x36},_0x50abca={_0x58dac7:0x31f};function _0x5e5bcc(_0x584353,_0x3dc4bb,_0x4112f2,_0x1d0c86){return _0x5b2413(_0x584353-0xdc,_0x3dc4bb-0xfa,_0x4112f2- -_0x50abca._0x58dac7,_0x584353);}function _0x2cf5ee(_0x2e931a,_0x4e92a2,_0x4ec50c,_0x2413e5){return _0x5b2413(_0x2e931a-_0x1b001d._0x824bd0,_0x4e92a2-_0x1b001d._0x34737c,_0x2413e5-_0x1b001d._0xa0b4ca,_0x2e931a);}this[_0x2cf5ee(_0x5967a3._0x36820d,0x791,0x7cb,0x830)][_0x2cf5ee(_0x5967a3._0x285224,0xa22,_0x5967a3._0x155a4e,_0x5967a3._0x28059b)](_0x1f8861,_0xa05e9b);}[_0x28bc81(0x34f,0x3d7,0x1e6,0x143)](_0x1ee72a){const _0x319028={_0xf48a13:0x6ba,_0xe1487:0x5be,_0x100422:0x5d7,_0x3aed57:0x5c0,_0x437634:0x889,_0x47dd66:0x8dd,_0x21c9c0:0x3ea,_0x225d5e:0x3c0,_0x53fddc:0x46c,_0x49b47c:0x2c1,_0x48543c:0x327,_0x4360e2:0x5a6,_0x5cbd74:0x415,_0x5d4f6f:0x2ae,_0x2f2175:0x3b9,_0x512fe2:0x801},_0x88dca6={_0x47a642:0x1e4},_0x3c15f4={_0xabf5bb:0x67,_0x5ba132:0x188},_0x1416b3=this[_0x414ba9(_0x319028._0xf48a13,_0x319028._0xe1487,_0x319028._0x100422,_0x319028._0x3aed57)](_0x1ee72a);function _0x414ba9(_0x5a5e66,_0x52b181,_0x294924,_0x1e2aa7){return _0x5b2413(_0x5a5e66-0x96,_0x52b181-_0x3c15f4._0xabf5bb,_0x52b181- -_0x3c15f4._0x5ba132,_0x1e2aa7);}function _0x17264e(_0x514f50,_0x476a35,_0x30e7e1,_0x887cc0){return _0x28bc81(_0x514f50-0x180,_0x476a35-_0x88dca6._0x47a642,_0x476a35-0x2c1,_0x887cc0);}const _0x2ca49c={'total':_0x1416b3[_0x414ba9(_0x319028._0x437634,0x760,_0x319028._0x47dd66,0x6a6)],'pending':0x0,'inProgress':0x0,'completed':0x0};for(const _0x37db58 of _0x1416b3){if(_0x37db58[_0x17264e(_0x319028._0x21c9c0,0x4bf,_0x319028._0x225d5e,0x49c)]===_0x414ba9(0x4a3,_0x319028._0x53fddc,0x5db,_0x319028._0x49b47c))_0x2ca49c[_0x17264e(_0x319028._0x48543c,0x516,_0x319028._0x4360e2,0x54c)]+=0x1;else{if(_0x37db58[_0x414ba9(0x307,_0x319028._0x5cbd74,_0x319028._0x5d4f6f,_0x319028._0x2f2175)]==='in_progress')_0x2ca49c[_0x17264e(0x89e,0x7ed,0x9ea,_0x319028._0x512fe2)]+=0x1;else _0x2ca49c['completed']+=0x1;}}return _0x2ca49c;}};function validateTodos(_0x2d7f26){const _0x5a94a3={_0x33878c:0x153,_0xaf0da2:0x154,_0x225eb0:0x26,_0x586353:0xdf,_0x3e171:0x27e,_0x1dfd0d:0x260,_0x37451e:0x30c,_0x2d871c:0x37e,_0x5878b6:0x342,_0xb28951:0x462,_0xfc7ef1:0x551,_0x28ab26:0x567,_0x3b35e3:0x4be,_0xec0590:0x584,_0x225d76:0x41f,_0x1b9c29:0x337,_0x342ef4:0x1dc,_0x4feca5:0x22c,_0x1d477a:0x9a,_0x410e33:0xa2,_0x1567a3:0x80,_0x42caf3:0x7f9,_0x3bede6:0xcb,_0xa031fa:0x9d,_0x1052cf:0x678,_0x55cf19:0x51e,_0x222c6a:0x882,_0x5aac40:0x26e,_0x422ecc:0x400,_0x5a1374:0xa02,_0x45c870:0xa71,_0x3e7356:0x954,_0x2d3591:0x924,_0x298209:0x303,_0x3ea55a:0x470,_0x5aab06:0x2cb,_0x553d46:0x4d7,_0x2e1c13:0x7b6,_0x981622:0x2ec,_0x156db4:0x431,_0x50d0cd:0x108,_0x55d89a:0x621,_0x5714b5:0x839,_0x101ec1:0xaa8,_0x41c849:0x898,_0x281c05:0x8ac,_0x39d0e5:0x589,_0x16f4c2:0x7b8,_0x2443cb:0x433,_0x32c731:0x68b,_0xb1fd62:0x561,_0x7ab184:0x5b,_0x4a4145:0xa7,_0x4a1df7:0x24b,_0x3ac5e2:0x345,_0x1422c9:0x3be,_0x4fff1c:0xbc,_0x32bfe2:0x39,_0x53f33c:0xd9,_0x276914:0x60d,_0xa55d1:0x6d2,_0x45714e:0x699,_0x26a1cd:0x791,_0x5813bc:0x570,_0x5b83bf:0x64b,_0x344a2d:0x681,_0x491d39:0x7d2,_0x10a99d:0x682,_0x2c7b87:0x73a,_0x89eca6:0xa17,_0x3f791b:0x8ac,_0x5c61be:0x912,_0x5a3341:0x709,_0x8fbe47:0x84e},_0x64bbe8={_0x55242c:0xa6,_0x5a27e5:0x1cb},_0x3b4614={_0x40cdd3:0x13d,_0x302611:0xec,_0x1a43ab:0x3c};if(!Array['isArray'](_0x2d7f26[_0x277bf4(_0x5a94a3._0x33878c,_0x5a94a3._0xaf0da2,-_0x5a94a3._0x225eb0,_0x5a94a3._0x586353)])||_0x2d7f26[_0x277bf4(0x153,_0x5a94a3._0x3e171,_0x5a94a3._0x1dfd0d,_0x5a94a3._0x37451e)][_0x277bf4(_0x5a94a3._0x2d871c,0x526,_0x5a94a3._0x5878b6,_0x5a94a3._0xb28951)]===0x0)throw new ToolExecutionError('Parameter\x20\x22todos\x22\x20must\x20be\x20a\x20non-empty\x20array',{'error':_0x1c6262(0x404,0x6b3,_0x5a94a3._0xfc7ef1,0x608)});function _0x1c6262(_0x302731,_0x37d55f,_0x1bd860,_0x394e27){return _0x5b2413(_0x302731-_0x3b4614._0x40cdd3,_0x37d55f-_0x3b4614._0x302611,_0x394e27- -_0x3b4614._0x1a43ab,_0x37d55f);}for(let _0x1810fc=0x0;_0x1810fc<_0x2d7f26[_0x1c6262(0x785,0x84b,_0x5a94a3._0x28ab26,0x681)][_0x277bf4(_0x5a94a3._0x2d871c,_0x5a94a3._0x3b35e3,_0x5a94a3._0xec0590,_0x5a94a3._0x225d76)];_0x1810fc+=0x1){const _0xcf058a=_0x2d7f26[_0x277bf4(0x153,_0x5a94a3._0x1b9c29,_0x5a94a3._0x342ef4,_0x5a94a3._0x4feca5)][_0x1810fc];if(!_0xcf058a||typeof _0xcf058a!==_0x277bf4(_0x5a94a3._0x1d477a,0x1ab,0x125,0x1c2))throw new ToolExecutionError('Todo\x20'+(_0x1810fc+0x1)+_0x277bf4(_0x5a94a3._0x410e33,-_0x5a94a3._0x1567a3,0x1e0,-0xe8),{'error':_0x1c6262(_0x5a94a3._0x42caf3,0x7c7,0x5ab,0x6a6)});if(typeof _0xcf058a['id']!==_0x277bf4(_0x5a94a3._0x3bede6,_0x5a94a3._0xa031fa,0x2cf,-0x14e)||_0xcf058a['id'][_0x1c6262(_0x5a94a3._0x1052cf,_0x5a94a3._0x55cf19,_0x5a94a3._0x222c6a,0x67b)]()[_0x277bf4(0x37e,0x3ff,_0x5a94a3._0x5aac40,_0x5a94a3._0x422ecc)]===0x0)throw new ToolExecutionError('Todo\x20'+(_0x1810fc+0x1)+_0x1c6262(0x6bc,0x820,_0x5a94a3._0x5a1374,0x812),{'error':_0x1c6262(_0x5a94a3._0x45c870,_0x5a94a3._0x3e7356,0xb26,_0x5a94a3._0x2d3591)});if(typeof _0xcf058a[_0x277bf4(_0x5a94a3._0x298209,_0x5a94a3._0x3ea55a,_0x5a94a3._0x5aab06,_0x5a94a3._0x553d46)]!==_0x1c6262(0x810,0x791,_0x5a94a3._0x2e1c13,0x5f9)||_0xcf058a[_0x277bf4(0x303,_0x5a94a3._0x981622,_0x5a94a3._0x156db4,_0x5a94a3._0x50d0cd)][_0x1c6262(_0x5a94a3._0x55d89a,_0x5a94a3._0x5714b5,0x82f,0x67b)]()[_0x1c6262(0x69d,_0x5a94a3._0x101ec1,_0x5a94a3._0x41c849,_0x5a94a3._0x281c05)]===0x0)throw new ToolExecutionError(_0x1c6262(0x773,0x5f9,0x71a,_0x5a94a3._0x39d0e5)+(_0x1810fc+0x1)+':\x20content\x20required',{'error':_0x1c6262(0x573,0x535,_0x5a94a3._0x16f4c2,0x5cf)});if(!isTodoStatus(_0xcf058a[_0x1c6262(0x733,_0x5a94a3._0x2443cb,_0x5a94a3._0x32c731,_0x5a94a3._0xb1fd62)]))throw new ToolExecutionError(_0x277bf4(_0x5a94a3._0x7ab184,0x53,_0x5a94a3._0x4a4145,_0x5a94a3._0x4a1df7)+(_0x1810fc+0x1)+':\x20invalid\x20status',{'error':_0x1c6262(0x503,_0x5a94a3._0x3ac5e2,_0x5a94a3._0x1422c9,0x52f)});if(!isTodoPriority(_0xcf058a[_0x277bf4(_0x5a94a3._0x4fff1c,-0xdf,-_0x5a94a3._0x32bfe2,-_0x5a94a3._0x53f33c)]))throw new ToolExecutionError(_0x1c6262(_0x5a94a3._0x276914,_0x5a94a3._0xa55d1,0x4ff,_0x5a94a3._0x39d0e5)+(_0x1810fc+0x1)+_0x1c6262(0x5e1,0x98f,_0x5a94a3._0x45714e,_0x5a94a3._0x26a1cd),{'error':_0x1c6262(0x51d,0x450,0x66f,_0x5a94a3._0x5813bc)});}const _0x42e1e3=_0x2d7f26[_0x1c6262(0x802,0x4d2,_0x5a94a3._0x5b83bf,_0x5a94a3._0x344a2d)]['map'](_0x432658=>_0x432658['id']);function _0x277bf4(_0x2ba020,_0x5dd2b4,_0x14664e,_0x11f5d7){return _0x28bc81(_0x2ba020-_0x64bbe8._0x55242c,_0x5dd2b4-0x186,_0x2ba020- -_0x64bbe8._0x5a27e5,_0x14664e);}if(new Set(_0x42e1e3)[_0x1c6262(_0x5a94a3._0x491d39,_0x5a94a3._0x10a99d,0x5e8,0x635)]!==_0x42e1e3[_0x1c6262(0x7f6,_0x5a94a3._0x2c7b87,_0x5a94a3._0x89eca6,_0x5a94a3._0x3f791b)])throw new ToolExecutionError(_0x1c6262(0x752,0x514,_0x5a94a3._0x5c61be,_0x5a94a3._0x5a3341),{'error':_0x1c6262(0x91f,0x856,_0x5a94a3._0x8fbe47,0x7cd)});}function createStatsProgress(_0x109c7c){const _0x3f9168={_0x3ff992:0x436,_0x4155b2:0x14,_0x409d02:0x1fd,_0x469862:0x2b9,_0x4c15e3:0xb3},_0x48fe4f={_0x1b152f:0x154},_0x2da8c3={_0x54da86:0x22};function _0x35b5d3(_0xd55014,_0x580b98,_0x2981f5,_0x68ea14){return _0x5b2413(_0xd55014-_0x2da8c3._0x54da86,_0x580b98-0xc7,_0x580b98- -0x3ff,_0x2981f5);}function _0x4f77cf(_0xf113c2,_0x5f02e0,_0x552131,_0x494869){return _0x28bc81(_0xf113c2-_0x48fe4f._0x1b152f,_0x5f02e0-0x110,_0x494869-0x3b5,_0x552131);}return _0x109c7c['total']>0x0?Math['round'](_0x109c7c[_0x35b5d3(0x4db,0x39f,0x263,_0x3f9168._0x3ff992)]/_0x109c7c[_0x35b5d3(_0x3f9168._0x4155b2,_0x3f9168._0x409d02,_0x3f9168._0x469862,_0x3f9168._0x4c15e3)]*0x64)+'%':'0%';}function createReminderItems(_0x1f6eb1){const _0x5a0c61={_0x19e656:0xce},_0x2537f4={_0x114c97:0x134,_0x34bbd2:0x1d9,_0x15ff60:0x560};function _0x4beb21(_0x47ad6e,_0x5b07e6,_0x14fc5d,_0x5739c9){return _0x5b2413(_0x47ad6e-_0x2537f4._0x114c97,_0x5b07e6-_0x2537f4._0x34bbd2,_0x5739c9- -_0x2537f4._0x15ff60,_0x47ad6e);}function _0x4bb485(_0x5a15a5,_0x41e7ca,_0x396e6f,_0x467ba4){return _0x5b2413(_0x5a15a5-0x125,_0x41e7ca-_0x5a0c61._0x19e656,_0x41e7ca- -0x675,_0x5a15a5);}return _0x1f6eb1['map'](_0x1e6214=>({'content':_0x1e6214[_0x4beb21(0x358,0x244,0x281,0x30d)],'status':_0x1e6214[_0x4bb485(-0x2ad,-0xd8,-0xce,-0x9f)],'id':_0x1e6214['id']}));}function createStructuredResult(_0x2e9ee8,_0x3c67df,_0x5ad4f0,_0x467421){const _0x498a36={_0x4aae6d:0x816,_0x2e62d8:0x464,_0x280fc8:0x5de,_0x531623:0x600,_0x5c19fe:0x64c,_0x226b02:0x262},_0x163793={_0x1d5db9:0x91,_0xd12a74:0x165},_0x1b61cd={_0x16d939:0xc0};function _0x9a5007(_0x567f0b,_0xfe40b6,_0x19c6fe,_0x50597e){return _0x28bc81(_0x567f0b-_0x1b61cd._0x16d939,_0xfe40b6-0xc8,_0xfe40b6- -0xef,_0x50597e);}function _0x32005b(_0x4a9270,_0x303977,_0x4072b2,_0x9527d8){return _0x28bc81(_0x4a9270-_0x163793._0x1d5db9,_0x303977-_0x163793._0xd12a74,_0x9527d8-0x2f,_0x303977);}return{'allCompleted':_0x467421,'items':_0x3c67df[_0x32005b(_0x498a36._0x4aae6d,_0x498a36._0x2e62d8,_0x498a36._0x280fc8,_0x498a36._0x531623)](_0x13ddf0=>({'id':_0x13ddf0['id'],'content':_0x13ddf0[_0x32005b(0x549,0x6a3,0x4ee,0x4fd)],'status':_0x13ddf0['status'],'priority':_0x13ddf0[_0x9a5007(0x128,0x198,0x1b4,0x60)],'createdAt':_0x13ddf0[_0x32005b(0x548,0x4e6,0x6e9,0x5ab)]})),'progress':createStatsProgress(_0x5ad4f0),'recentChanges':!![],'sessionId':_0x2e9ee8,'stats':_0x5ad4f0,'todosWritten':_0x3c67df[_0x9a5007(0x627,0x45a,_0x498a36._0x5c19fe,_0x498a36._0x226b02)]};}function createOutputText(_0x20d5eb,_0x243d1){const _0x27bba6={_0x18e7ea:0x683,_0x38e69f:0x6fa,_0x19e2f4:0x56d,_0x16420d:0x5fe,_0x454c3c:0x638,_0x4ffb9a:0x55c,_0x40055a:0x492,_0x1a9e4f:0x514,_0x5b13c0:0x4d1,_0x16c6f6:0x6df,_0x12cde0:0x55b},_0x3dafec={_0x1b6f3c:0x68,_0x3a71bc:0x14f},_0x222119={_0x2a2a1e:0x1eb,_0x3fd008:0x197},_0x231e72=JSON[_0x4d04ac(_0x27bba6._0x18e7ea,_0x27bba6._0x38e69f,0x671,0x838)](createReminderItems(_0x20d5eb));function _0x45caf4(_0x4eaf78,_0x5afba6,_0x8bf1b6,_0x3d4dce){return _0x28bc81(_0x4eaf78-_0x222119._0x2a2a1e,_0x5afba6-0x32,_0x8bf1b6-_0x222119._0x3fd008,_0x4eaf78);}if(_0x243d1)return _0x4d04ac(_0x27bba6._0x19e2f4,0x433,0x412,0x6b1)+_0x20d5eb[_0x4d04ac(0x698,_0x27bba6._0x16420d,_0x27bba6._0x454c3c,_0x27bba6._0x4ffb9a)]+_0x45caf4(0x30b,_0x27bba6._0x40055a,_0x27bba6._0x1a9e4f,0x313)+_0x231e72+_0x4d04ac(_0x27bba6._0x5b13c0,0x398,0x34d,0x527);function _0x4d04ac(_0x5e5b71,_0x2ecb92,_0x4112ab,_0x5c1314){return _0x28bc81(_0x5e5b71-0x2,_0x2ecb92-_0x3dafec._0x1b6f3c,_0x5e5b71-_0x3dafec._0x3a71bc,_0x5c1314);}return _0x4d04ac(_0x27bba6._0x16c6f6,0x5c6,0x670,0x80c)+_0x231e72+_0x45caf4(0x50e,0x452,0x519,_0x27bba6._0x12cde0);}function createTodoWriteTool(_0x583fe8=new TodoStore()){const _0xf64a25={_0x117a26:0x4d3,_0x156023:0x5cc,_0x3c0a08:0x335,_0x33dea2:0x525,_0x1b996d:0x271,_0x42270:0x4e0,_0x594ee7:0x481,_0x4cd679:0x668,_0x502e96:0x52c,_0x275f8c:0x36c,_0x3e908b:0x394,_0x224c3d:0x540,_0x56af4f:0x5ca,_0x466150:0x5f0,_0x8f0b82:0x3e9,_0x5cd26c:0x42a,_0xeb499c:0x214,_0x4db7fc:0x357,_0xe7c369:0x3a2,_0x18528b:0x233,_0x1c8fb1:0x3ee,_0x3cf8f8:0x521,_0x12ab20:0x58d},_0x86d347={_0x264fa1:0x5f1,_0x56a5cd:0x791,_0xf02b7f:0x8ea,_0x129252:0x4de,_0xec5d5f:0x787,_0x3cd43d:0x439,_0x1a0229:0x709},_0x27e519={_0x692ba2:0x125,_0x513569:0x89},_0x1468fb={_0x42ed90:0x2cf},_0x37cb79={_0xd259ea:0x68,_0x12155f:0x1c6,_0x2d2be8:0x1b4};function _0xc83b26(_0xbf72d8,_0x4d6631,_0x1d5ea6,_0x5b1f90){return _0x5b2413(_0xbf72d8-_0x37cb79._0xd259ea,_0x4d6631-_0x37cb79._0x12155f,_0x4d6631- -_0x37cb79._0x2d2be8,_0xbf72d8);}function _0x22078a(_0x229db1,_0x32902b,_0x5d7d6a,_0xb5dd2){return _0x5b2413(_0x229db1-0x13e,_0x32902b-0x192,_0x229db1- -_0x1468fb._0x42ed90,_0x5d7d6a);}return defineTool({'name':_0x22078a(_0xf64a25._0x117a26,0x3a3,0x2b1,_0xf64a25._0x156023),'permissionClass':'read','description':'Maintain\x20a\x20concise\x20task\x20list\x20when\x20visible\x20progress\x20tracking\x20adds\x20coordination\x20value.\x0a\x0aUse\x20TodoWrite\x20only\x20in\x20the\x20same\x20response\x20as\x20real\x20work\x20(read,\x20grep,\x20edit,\x20bash,\x20fetch).\x20Never\x20send\x20a\x20response\x20whose\x20only\x20tool\x20call\x20is\x20TodoWrite.\x20Do\x20not\x20open\x20a\x20turn\x20with\x20it.\x20Do\x20not\x20add\x20a\x20wrap-up\x20call\x20after\x20the\x20proving\x20test\x20or\x20build\x20is\x20green.\x0a\x0aSkip\x20it\x20for\x20conversational\x20questions,\x20a\x20single\x20straightforward\x20task,\x20or\x20a\x20short\x20flat\x20sequence.\x20List\x20meaningful\x20outcomes\x20rather\x20than\x20individual\x20tool\x20calls.\x0a\x0aUse\x20statuses\x20pending,\x20in_progress,\x20and\x20completed,\x20with\x20at\x20most\x20one\x20item\x20in_progress.\x20Update\x20only\x20at\x20meaningful\x20milestones,\x20in\x20the\x20same\x20response\x20as\x20the\x20work\x20that\x20changed\x20those\x20statuses:\x0a-\x20Batch\x20status\x20changes\x20in\x20one\x20call:\x20mark\x20finished\x20items\x20completed\x20and\x20set\x20the\x20next\x20milestone\x20in_progress\x20together.\x0a-\x20Do\x20not\x20call\x20TodoWrite\x20after\x20every\x20tool\x20call,\x20minor\x20substep,\x20or\x20progress\x20message.\x0a-\x20Keep\x20the\x20current\x20item\x20in_progress\x20when\x20blocked\x20or\x20verification\x20fails.\x20Revise\x20items\x20only\x20when\x20the\x20plan\x20materially\x20changes.\x0a-\x20Preserve\x20item\x20IDs\x20and\x20include\x20the\x20full\x20current\x20list\x20in\x20every\x20update.','inputSchema':{'type':_0x22078a(_0xf64a25._0x3c0a08,_0xf64a25._0x33dea2,_0xf64a25._0x1b996d,_0xf64a25._0x42270),'properties':{'todos':{'type':'array','items':{'type':'object','properties':{'content':{'type':'string'},'status':{'type':_0xc83b26(0x353,_0xf64a25._0x594ee7,_0xf64a25._0x4cd679,0x5bb)},'priority':{'type':_0x22078a(0x366,0x488,_0xf64a25._0x502e96,_0xf64a25._0x275f8c)},'id':{'type':'string'},'createdAt':{'type':_0xc83b26(_0xf64a25._0x3e908b,0x481,_0xf64a25._0x224c3d,0x3a0)}},'required':[_0xc83b26(_0xf64a25._0x56af4f,0x6b9,_0xf64a25._0x466150,0x75f),_0xc83b26(0x2e5,_0xf64a25._0x8f0b82,_0xf64a25._0x5cd26c,_0xf64a25._0xeb499c),_0x22078a(_0xf64a25._0x4db7fc,0x4f2,_0xf64a25._0xe7c369,_0xf64a25._0x18528b),'id']}}},'required':[_0x22078a(_0xf64a25._0x1c8fb1,_0xf64a25._0x3cf8f8,0x5e7,_0xf64a25._0x12ab20)]},async *'execute'(_0x539123,_0x489878){const _0x479403={_0x288348:0xf0,_0x376a7e:0x105};function _0x557330(_0x2840b5,_0x201b1c,_0x14452b,_0x9b199c){return _0x22078a(_0x201b1c-_0x479403._0x288348,_0x201b1c-_0x479403._0x376a7e,_0x2840b5,_0x9b199c-0xa3);}const _0x1ac423=_0x539123;validateTodos(_0x1ac423);const _0x27ea78=_0x489878[_0xafcb95(0x36f,0x6eb,0x583,_0x86d347._0x264fa1)]||'default',_0xa7e3cd=new Date()['toISOString'](),_0x4ff413=_0x1ac423['todos'][_0xafcb95(0x800,0x80e,_0x86d347._0x56a5cd,_0x86d347._0xf02b7f)](_0xdc43e2=>({'id':_0xdc43e2['id'],'content':_0xdc43e2[_0x557330(0x895,0x68e,0x7af,0x72f)],'status':_0xdc43e2[_0xafcb95(0x373,0x1f4,0x3be,0x324)],'priority':_0xdc43e2['priority'],'sessionId':_0x27ea78,'createdAt':_0xdc43e2['createdAt']||_0xa7e3cd,'updatedAt':_0xa7e3cd}));_0x583fe8[_0xafcb95(_0x86d347._0x129252,_0x86d347._0xec5d5f,0x684,0x717)](_0x27ea78,_0x4ff413);const _0x3673a0=_0x583fe8[_0xafcb95(_0x86d347._0x3cd43d,0x524,0x3a6,0x2d9)](_0x27ea78),_0x5e72f2=_0x4ff413[_0x557330(0x538,_0x86d347._0x1a0229,0x5a7,0x6fb)]>0x0&&_0x4ff413['every'](_0x488f68=>_0x488f68[_0xafcb95(0x3f6,0x1f5,0x3be,0x460)]===_0x557330(0x457,0x5bf,0x555,0x597));function _0xafcb95(_0x5490cd,_0x3aba6b,_0x2a4952,_0x4ef59d){return _0x22078a(_0x2a4952-0xf0,_0x3aba6b-_0x27e519._0x692ba2,_0x4ef59d,_0x4ef59d-_0x27e519._0x513569);}return createToolOutput(createOutputText(_0x4ff413,_0x5e72f2),createStructuredResult(_0x27ea78,_0x4ff413,_0x3673a0,_0x5e72f2));}});}function createUpdateTopicTool(){const _0x379ba9={_0x5d6cc9:0x6d3,_0x2c149d:0x555,_0x156c27:0x2df,_0x313821:0x40f,_0x48aaa2:0x590,_0x232fbc:0x6d7,_0x245dd5:0x89c,_0x56894f:0x524},_0x9b98f1={_0x102e29:0xad,_0x243b97:0x1b7,_0x499c5c:0x299,_0x376176:0x183,_0x2a517f:0xd0,_0x45b3d6:0x32c,_0x572feb:0x428,_0x348097:0x37d,_0x3c3ebc:0xbf,_0x2fac71:0x36,_0x15f2d7:0x1e,_0xd867d1:0x39a,_0x660f45:0x3b6},_0x3b20cd={_0x1b6073:0x3e3},_0x511f76={_0x2abf2a:0x159,_0x228e56:0xb3},_0x217b66={_0x449b77:0xea};function _0x175eb6(_0xcd5d9d,_0x4ee010,_0x2fd994,_0x28eaae){return _0x28bc81(_0xcd5d9d-0x119,_0x4ee010-_0x217b66._0x449b77,_0x28eaae-0x157,_0x2fd994);}function _0x1fcd33(_0x5ed40f,_0x58110a,_0x4ad347,_0x28b3dd){return _0x28bc81(_0x5ed40f-0x3f,_0x58110a-0x19c,_0x4ad347-0x18a,_0x58110a);}return defineTool({'name':_0x175eb6(_0x379ba9._0x5d6cc9,0x640,0x749,_0x379ba9._0x2c149d),'permissionClass':_0x175eb6(0x50c,0x258,_0x379ba9._0x156c27,_0x379ba9._0x313821),'description':_0x1fcd33(0x503,_0x379ba9._0x48aaa2,_0x379ba9._0x232fbc,_0x379ba9._0x245dd5),'inputSchema':{'type':'object','properties':{'topic':{'type':_0x175eb6(0x561,_0x379ba9._0x56894f,0x43f,0x3ed)}},'required':['topic']},async *'execute'(_0x1ac556,_0x8ac117){function _0x10c5d1(_0x5b7f03,_0x4dbc74,_0x184a76,_0x7b5454){return _0x175eb6(_0x5b7f03-_0x511f76._0x2abf2a,_0x4dbc74-_0x511f76._0x228e56,_0x184a76,_0x5b7f03- -0x1d6);}const {topic:_0x36c151}=_0x1ac556;if(typeof _0x36c151!==_0x10c5d1(0x217,_0x9b98f1._0x102e29,_0x9b98f1._0x243b97,0xee)||_0x36c151[_0x10c5d1(_0x9b98f1._0x499c5c,_0x9b98f1._0x376176,_0x9b98f1._0x2a517f,_0x9b98f1._0x45b3d6)]()['length']===0x0)throw new ToolExecutionError('topic\x20must\x20be\x20a\x20non-empty\x20string',{'error':_0x10c5d1(0x499,_0x9b98f1._0x572feb,_0x9b98f1._0x348097,0x3da)});function _0x572d4b(_0xd012b1,_0x4fe142,_0x29df29,_0x78efa3){return _0x1fcd33(_0xd012b1-0x19d,_0xd012b1,_0x29df29- -_0x3b20cd._0x1b6073,_0x78efa3-0x35);}const _0x12c758=_0x36c151[_0x572d4b(-0xaa,-0x25,_0x9b98f1._0x3c3ebc,0xbd)]();return _0x8ac117[_0x572d4b(-_0x9b98f1._0x2fac71,-_0x9b98f1._0x15f2d7,0x2a,0x246)]?.(_0x12c758),yield createToolOutput(_0x572d4b(_0x9b98f1._0xd867d1,0x20c,_0x9b98f1._0x660f45,0x194)+_0x12c758+'\x22',{'topic':_0x12c758}),void 0x0;}});}import{randomUUID as _0x51feb2}from'crypto';import{StringDecoder}from'string_decoder';import{spawn as _0x48e481}from'child_process';function errorMessage(_0x5bb403){return _0x5bb403 instanceof Error?_0x5bb403['message']:String(_0x5bb403);}function isNotFound(_0xa3715b){const _0x3fbc90={_0x50ad4b:0x1a6,_0x344019:0x11,_0x3ceea4:0x428,_0x3ebfa8:0x433,_0x549968:0x1ac,_0x316f29:0x44c,_0x396ac1:0x38a,_0x1b2e1d:0x1f2},_0x17c417={_0x266c23:0x16f,_0x16e305:0x1e3,_0x231482:0x20f};function _0x320a96(_0x3284e7,_0x13101c,_0xac1335,_0x392192){return _0x28bc81(_0x3284e7-_0x17c417._0x266c23,_0x13101c-_0x17c417._0x16e305,_0xac1335- -_0x17c417._0x231482,_0x13101c);}function _0x4c0cc4(_0x28ecf7,_0x36c18a,_0x567d29,_0x47e8b3){return _0x28bc81(_0x28ecf7-0x20,_0x36c18a-0x125,_0x28ecf7-0x375,_0x36c18a);}return typeof _0xa3715b===_0x320a96(-_0x3fbc90._0x50ad4b,-0x78,0x56,_0x3fbc90._0x344019)&&_0xa3715b!==null&&_0x320a96(_0x3fbc90._0x3ceea4,_0x3fbc90._0x3ebfa8,0x38a,0x51e)in _0xa3715b&&_0xa3715b[_0x320a96(_0x3fbc90._0x549968,_0x3fbc90._0x316f29,_0x3fbc90._0x396ac1,_0x3fbc90._0x1b2e1d)]==='ESRCH';}function isSafeProcessId(_0x18ca0b){const _0x2546f={_0xe2d61b:0x144,_0x403902:0x17f,_0x5887f1:0x3f0};function _0x3b77c3(_0x2b2dc0,_0x15f20b,_0x4ff077,_0x1c8861){return _0x28bc81(_0x2b2dc0-_0x2546f._0xe2d61b,_0x15f20b-_0x2546f._0x403902,_0x15f20b-_0x2546f._0x5887f1,_0x2b2dc0);}return _0x18ca0b!==void 0x0&&Number[_0x3b77c3(0x68c,0x706,0x7d5,0x8d8)](_0x18ca0b)&&_0x18ca0b>0x1;}function createProcessTreeSignalAdapter(_0x185f4b={}){const _0x310bf4={_0x5b0e20:0x123,_0x3b1193:0x97,_0x3886c4:0x155,_0x4fea40:0x1c0,_0x42aea6:0x3f6,_0x5ca240:0x391,_0x2ce0ac:0x49b,_0xf8895b:0x683,_0xa4905b:0x4d5},_0x28f308={_0x49371b:0x700,_0x688eb6:0x68e,_0x300bb8:0x572,_0x13a229:0x5c8,_0x42dba9:0x746,_0x4beac6:0x61f,_0x2a4107:0x5d3,_0x229f01:0x6f3,_0x3e7237:0x684,_0x130065:0x49b,_0x2a247c:0x634,_0xf6c129:0x4c5,_0x27e34d:0x654,_0x3c33b4:0x63a},_0xfd0f28={_0x1bdf48:0x14c},_0x3a52de={_0x3b29dc:0x1c,_0x38f73d:0x220},_0x252729=_0x185f4b['platform']??process[_0x19863d(_0x310bf4._0x5b0e20,-_0x310bf4._0x3b1193,0x1f1,0x3a)];function _0x5b9d04(_0x1af716,_0x2d0122,_0x35a1cc,_0x430e5f){return _0x28bc81(_0x1af716-_0x3a52de._0x3b29dc,_0x2d0122-0x8d,_0x2d0122-_0x3a52de._0x38f73d,_0x430e5f);}const _0x5839db=_0x185f4b[_0x19863d(_0x310bf4._0x3886c4,_0x310bf4._0x4fea40,0x23d,0xdf)]??process['kill'][_0x5b9d04(_0x310bf4._0x42aea6,0x515,0x686,_0x310bf4._0x5ca240)](process);function _0x19863d(_0x43bca0,_0x2c7942,_0x1f3b34,_0x58e99d){return _0x28bc81(_0x43bca0-_0xfd0f28._0x1bdf48,_0x2c7942-0x123,_0x58e99d- -0x38f,_0x43bca0);}const _0x2a1d3a=_0x185f4b[_0x5b9d04(_0x310bf4._0x2ce0ac,0x486,_0x310bf4._0xf8895b,_0x310bf4._0xa4905b)]??_0x48e481;return{async 'signal'(_0x2c7a21,_0x1f65e9){const _0x20bc79={_0x33f14e:0x96,_0x371e4c:0x1f7,_0x228558:0x111,_0x27e54d:0x224,_0x1a1a7d:0x3,_0x5b8b6d:0x11c,_0x20f8ff:0xe2,_0x4deeed:0x108,_0x33e66a:0xfd,_0x2e0d98:0xc9,_0x22aac9:0xbf,_0x5202fb:0x56,_0x5ad96d:0x48,_0x153be1:0xcc,_0x101edf:0x104,_0x14a87f:0xa5,_0x1eafbf:0xf,_0x3849ca:0xb5,_0x31ef72:0x18},_0x13f375={_0x39579b:0x357,_0x1222a4:0x7a},_0x25f5b7={_0x4caa4e:0xb,_0x517297:0x1a0},_0x10d181={_0x77396a:0x1c4};if(_0x252729!=='win32'){if(!isSafeProcessId(_0x2c7a21['processGroupId']))return{'outcome':_0x2976ba(_0x28f308._0x49371b,0x559,0x59c,_0x28f308._0x688eb6),'error':_0x2976ba(0x555,_0x28f308._0x300bb8,_0x28f308._0x13a229,_0x28f308._0x42dba9)};try{return _0x5839db(-_0x2c7a21[_0x2976ba(_0x28f308._0x4beac6,0x510,0x65c,0x608)],_0x1f65e9===_0x1f6aae(0x44c,_0x28f308._0x2a4107,0x4fc,0x4de)?'SIGTERM':'SIGKILL'),{'outcome':_0x2976ba(0x7ab,0x6e1,0x5fa,_0x28f308._0x229f01)};}catch(_0x2e1cf3){return isNotFound(_0x2e1cf3)?{'outcome':_0x2976ba(_0x28f308._0x3e7237,0x31c,0x280,_0x28f308._0x130065),'error':errorMessage(_0x2e1cf3)}:{'outcome':_0x1f6aae(0x48b,_0x28f308._0x2a247c,0x360,_0x28f308._0xf6c129),'error':errorMessage(_0x2e1cf3)};}}function _0x1f6aae(_0x36b7df,_0x5e1fcf,_0x26c987,_0x4530e1){return _0x19863d(_0x26c987,_0x5e1fcf-0x1b7,_0x26c987-_0x10d181._0x77396a,_0x36b7df-0x3b7);}function _0x2976ba(_0x1a0090,_0x212145,_0x3d2899,_0x436eac){return _0x5b9d04(_0x1a0090-0x1ed,_0x436eac-_0x25f5b7._0x4caa4e,_0x3d2899-_0x25f5b7._0x517297,_0x212145);}if(!isSafeProcessId(_0x2c7a21['rootPid']))return{'outcome':_0x1f6aae(0x48b,_0x28f308._0x27e34d,0x32c,0x47c),'error':_0x2976ba(0x650,_0x28f308._0x3c33b4,0x557,0x552)};return new Promise(_0x3818e9=>{const _0x83ffa3={_0x14086b:0x33d,_0x13b84e:0x314,_0x4657a8:0x2d,_0x1ade6f:0xae,_0x309654:0x299},_0xdfedad={_0x364e66:0x12c},_0x1c6b5a={_0x186d40:0x2b7,_0x4d143e:0x699,_0x404b12:0x4a7,_0x4874c2:0x4b8},_0x5663f4={_0x1b8745:0x12f,_0x230cdb:0x4ff};function _0x463452(_0x30f9b2,_0x102aca,_0x5d7ea1,_0x1743a8){return _0x1f6aae(_0x5d7ea1- -_0x13f375._0x39579b,_0x102aca-0x1e4,_0x30f9b2,_0x1743a8-_0x13f375._0x1222a4);}function _0x55e5d6(_0x5e688f,_0x2b75f0,_0x1a29c7,_0x22bc45){return _0x2976ba(_0x5e688f-0x12b,_0x2b75f0,_0x1a29c7-_0x5663f4._0x1b8745,_0x5e688f- -_0x5663f4._0x230cdb);}let _0x35794b=![];const _0x2dc4a4=_0x37e336=>{if(_0x35794b)return;_0x35794b=!![],_0x3818e9(_0x37e336);};let _0x14b2bf;try{const _0x59311c=['/PID',String(_0x2c7a21[_0x55e5d6(-_0x20bc79._0x33f14e,-_0x20bc79._0x371e4c,0x25,-0x46)]),'/T'];if(_0x1f65e9===_0x463452(-_0x20bc79._0x228558,_0x20bc79._0x27e54d,_0x20bc79._0x1a1a7d,_0x20bc79._0x5b8b6d))_0x59311c[_0x55e5d6(_0x20bc79._0x20f8ff,-_0x20bc79._0x4deeed,-0x11f,-_0x20bc79._0x33e66a)]('/F');_0x14b2bf=_0x2a1d3a(_0x463452(-_0x20bc79._0x2e0d98,0x203,_0x20bc79._0x22aac9,-_0x20bc79._0x5202fb),_0x59311c,{'stdio':'ignore','windowsHide':!![]});}catch(_0x2a7734){_0x2dc4a4({'outcome':_0x55e5d6(0x18f,0x290,-0xf,0x1c0),'error':errorMessage(_0x2a7734)});return;}_0x14b2bf[_0x463452(-0x96,_0x20bc79._0x5ad96d,-_0x20bc79._0x153be1,-0x15b)](_0x55e5d6(_0x20bc79._0x101edf,0xa1,0x278,-0x87),_0x27654a=>{const _0xad03ca={_0x36a8e1:0x1c8,_0x3fd79a:0x566,_0x437b89:0x9f};function _0x2ee213(_0x10a1a6,_0xaa1031,_0x1f33aa,_0x547246){return _0x463452(_0x10a1a6,_0xaa1031-_0xad03ca._0x36a8e1,_0x1f33aa-_0xad03ca._0x3fd79a,_0x547246-_0xad03ca._0x437b89);}_0x2dc4a4(isNotFound(_0x27654a)?{'outcome':_0x2ee213(_0x1c6b5a._0x186d40,_0x1c6b5a._0x4d143e,_0x1c6b5a._0x404b12,_0x1c6b5a._0x4874c2),'error':errorMessage(_0x27654a)}:{'outcome':'failed','error':errorMessage(_0x27654a)});}),_0x14b2bf[_0x463452(-0x1c3,_0x20bc79._0x14a87f,-_0x20bc79._0x153be1,0x50)](_0x463452(-_0x20bc79._0x1eafbf,-_0x20bc79._0x3849ca,_0x20bc79._0x31ef72,-0x148),_0xabf9c2=>{const _0x383a05={_0x27b2fe:0x39c,_0x2d211c:0x156};function _0x388549(_0x6c74c0,_0x336772,_0x4073b2,_0x893838){return _0x463452(_0x6c74c0,_0x336772-0x8c,_0x4073b2- -0x2,_0x893838-_0xdfedad._0x364e66);}function _0x53ba20(_0xed6fe8,_0x569e78,_0x136118,_0x347f7f){return _0x55e5d6(_0x136118-_0x383a05._0x27b2fe,_0x569e78,_0x136118-_0x383a05._0x2d211c,_0x347f7f-0x13f);}_0x2dc4a4(_0xabf9c2===0x0?{'outcome':'delivered'}:{'outcome':_0x388549(0x100,_0x83ffa3._0x14086b,0x132,_0x83ffa3._0x13b84e),'error':_0x388549(_0x83ffa3._0x4657a8,0x97,_0x83ffa3._0x1ade6f,_0x83ffa3._0x309654)+String(_0xabf9c2)});});});}};}var ESC='\x1b',BEL='\x07',MAX_PROGRESS_LINE_CHARS=0x100000;function isDiscardedTextControl(_0x3778ae){const _0x192f9f={_0x339ff3:0xe3,_0x10c88c:0x87},_0x4f9dbc={_0x216589:0x17c,_0x391602:0xd3},_0x4f34bb=_0x3778ae[_0x11bb78(_0x192f9f._0x339ff3,-_0x192f9f._0x10c88c,0x6c,0xfa)](0x0)??0x0;function _0x11bb78(_0x3c5575,_0x5814d0,_0xbfd3a0,_0x9e0a3){return _0x28bc81(_0x3c5575-_0x4f9dbc._0x216589,_0x5814d0-_0x4f9dbc._0x391602,_0x5814d0- -0x2fc,_0x3c5575);}return _0x4f34bb<0x20&&_0x3778ae!=='\x09'||_0x4f34bb>=0x7f&&_0x4f34bb<=0x9f||_0x4f34bb===0xa0||_0x4f34bb>=0x200b&&_0x4f34bb<=0x200f||_0x4f34bb>=0x2060&&_0x4f34bb<=0x2069||_0x4f34bb===0x23ce||_0x4f34bb===0x2424;}function createTerminalOutputNormalizer(){const _0x3ff77d={_0x4cc67c:0x5c2,_0x5c2407:0x52c,_0x6ea876:0x3ed,_0x859468:0x50c,_0x10d9a5:0x339,_0x29e4a4:0x4a2,_0x1492eb:0x2b3,_0x16352a:0x36a,_0x3885af:0x191,_0x5bb309:0x388,_0x53f929:0x7d,_0x32a568:0x4f7,_0x432611:0x36a,_0x4b0768:0x21d,_0x859416:0x2a8,_0x1c331a:0x1b8,_0x473e7a:0x561,_0xe3bf09:0x629,_0x5be86e:0x809,_0x21abfd:0xc2,_0x5b4b87:0x9a,_0x2fa789:0x325,_0x5aed47:0x440,_0x28c712:0x52b,_0x1f3b95:0x72d,_0x114a9c:0x125,_0x344915:0x4e5},_0x154fc8={_0x17cbad:0x48},_0x10f4a2={_0x450f0f:0x32e},_0x264ab6={_0x2ce30d:0x299,_0x45891f:0x29d},_0xc46d={_0x44d8a5:0x816,_0x289b7b:0x667,_0x2983e8:0x376,_0x1ce9f9:0x3eb,_0x17c6ad:0x588,_0x379755:0x8f5,_0x54c9d4:0x754,_0x45c5cc:0x350};let _0x37b73e=_0x3e89db(0x2c9,0x184,0x1fd,0x3b0),_0x45ecd3=![];function _0x3e89db(_0x30b42f,_0x42fab1,_0x547831,_0x3b5aed){return _0x5b2413(_0x30b42f-0x1be,_0x42fab1-0xda,_0x547831- -0x5c8,_0x30b42f);}let _0x12e778=![],_0x29a606=[],_0x49cd30=0x0,_0x41ac20=![];const _0x16e981=()=>{_0x29a606=[],_0x49cd30=0x0;},_0x596445=_0x2a552f=>{const _0x4f5c01={_0x4939ff:0x12a,_0x2c83e6:0x4da},_0x868804={_0x14d80b:0x72};function _0x4c3bf1(_0x55ab2c,_0x3b945d,_0x31767e,_0x1da463){return _0x3e89db(_0x55ab2c,_0x3b945d-_0x868804._0x14d80b,_0x31767e-0x168,_0x1da463-0xd3);}_0x29a606[_0x993e11(0x4cb,0x7f9,_0xc46d._0x44d8a5,_0xc46d._0x289b7b)](_0x2a552f),_0x49cd30+=_0x2a552f[_0x4c3bf1(_0xc46d._0x2983e8,_0xc46d._0x1ce9f9,0x488,0x279)];function _0x993e11(_0x6a9adc,_0x4960ac,_0x4cb380,_0x17f42a){return _0x3e89db(_0x4cb380,_0x4960ac-_0x4f5c01._0x4939ff,_0x17f42a-_0x4f5c01._0x2c83e6,_0x17f42a-0x1da);}while(_0x49cd30>MAX_PROGRESS_LINE_CHARS){const _0x446dea=_0x29a606[_0x993e11(_0xc46d._0x17c6ad,_0xc46d._0x379755,_0xc46d._0x54c9d4,0x78b)]();if(_0x446dea===void 0x0)break;_0x49cd30-=_0x446dea[_0x4c3bf1(0x5df,0x4c4,0x488,_0xc46d._0x45c5cc)];}},_0x5eda81=_0x1af64a=>{const _0x608d27={_0x2c5cfe:0x19,_0x2cf80a:0x65};function _0x1d00c2(_0x186a85,_0x4477d2,_0x1175c2,_0x185a31){return _0x3e89db(_0x4477d2,_0x4477d2-_0x608d27._0x2c5cfe,_0x186a85-_0x608d27._0x2cf80a,_0x185a31-0x1e);}const _0x3255f7=_0x29a606[_0x1d00c2(_0x264ab6._0x2ce30d,0x2c7,0x278,_0x264ab6._0x45891f)]('')+(_0x1af64a?'\x0a':'');return _0x16e981(),_0x3255f7;},_0x305c5d=_0x36a4c7=>{if(_0x41ac20)throw new Error(_0x391b2e(_0x3ff77d._0x4cc67c,_0x3ff77d._0x5c2407,_0x3ff77d._0x6ea876,_0x3ff77d._0x859468));function _0x391b2e(_0x44e48c,_0x351d7f,_0x2dbf4c,_0x5562a0){return _0x3e89db(_0x2dbf4c,_0x351d7f-0x55,_0x351d7f-_0x10f4a2._0x450f0f,_0x5562a0-0x17);}let _0x43edf7='';function _0x32a706(_0x5d9e05,_0x1ee8aa,_0x1f6ecb,_0x227f8f){return _0x3e89db(_0x227f8f,_0x1ee8aa-0xd,_0x1ee8aa- -0x4d,_0x227f8f-_0x154fc8._0x17cbad);}for(const _0x3ffb03 of _0x36a4c7){if(_0x37b73e===_0x32a706(0x2dd,0x330,0x4c4,_0x3ff77d._0x10d9a5)){const _0x150828=_0x3ffb03[_0x391b2e(0x3a1,0x37a,0x33f,_0x3ff77d._0x29e4a4)](0x0)??0x0;if(_0x150828>=0x40&&_0x150828<=0x7e)_0x37b73e=_0x32a706(_0x3ff77d._0x1492eb,0x1b0,-0x12,0x189);continue;}if(_0x37b73e===_0x32a706(0x3fc,_0x3ff77d._0x16352a,0x201,_0x3ff77d._0x3885af)||_0x37b73e==='dcs'){if(_0x45ecd3){_0x3ffb03==='\x5c'?(_0x37b73e=_0x32a706(0x77,0x1b0,_0x3ff77d._0x5bb309,_0x3ff77d._0x53f929),_0x45ecd3=![]):_0x45ecd3=_0x3ffb03===ESC;continue;}if(_0x3ffb03===ESC)_0x45ecd3=!![];else _0x37b73e===_0x32a706(_0x3ff77d._0x32a568,_0x3ff77d._0x432611,_0x3ff77d._0x4b0768,0x1f1)&&_0x3ffb03===BEL&&(_0x37b73e=_0x32a706(0x196,0x1b0,_0x3ff77d._0x859416,_0x3ff77d._0x1c331a));continue;}if(_0x37b73e==='escape'){if(_0x3ffb03==='[')_0x37b73e=_0x391b2e(_0x3ff77d._0x473e7a,0x6ab,_0x3ff77d._0xe3bf09,_0x3ff77d._0x5be86e);else{if(_0x3ffb03===']')_0x37b73e='osc',_0x45ecd3=![];else _0x3ffb03==='P'||_0x3ffb03==='_'||_0x3ffb03==='^'?(_0x37b73e=_0x32a706(_0x3ff77d._0x21abfd,0x14c,_0x3ff77d._0x5b4b87,_0x3ff77d._0x2fa789),_0x45ecd3=![]):_0x37b73e=_0x391b2e(_0x3ff77d._0x5aed47,_0x3ff77d._0x28c712,_0x3ff77d._0x1f3b95,0x370);}continue;}if(_0x12e778){_0x12e778=![];if(_0x3ffb03==='\x0a'){_0x43edf7+=_0x5eda81(!![]);continue;}_0x16e981();}if(_0x3ffb03===ESC)_0x37b73e=_0x391b2e(0x8be,0x6ae,0x4dc,0x7cf);else{if(_0x3ffb03==='\x0d')_0x12e778=!![];else{if(_0x3ffb03==='\x0a')_0x43edf7+=_0x5eda81(!![]);else{if(_0x3ffb03==='\x08'){const _0x581f59=_0x29a606[_0x391b2e(_0x3ff77d._0x114a9c,0x2fb,0x4b6,_0x3ff77d._0x344915)]();if(_0x581f59!==void 0x0)_0x49cd30-=_0x581f59[_0x32a706(0x3c6,0x2d3,0x1e4,0x19f)];}else!isDiscardedTextControl(_0x3ffb03)&&_0x596445(_0x3ffb03);}}}}return _0x43edf7;};return{'write':_0x305c5d,'end'(){if(_0x41ac20)return'';return _0x41ac20=!![],_0x12e778=![],_0x37b73e='text',_0x45ecd3=![],_0x5eda81(![]);}};}var BackgroundProcessCleanupError=class extends Error{constructor(_0xfe45e1){const _0x4f2778={_0x36b6c6:0x705,_0x76aabd:0x6a5,_0x46c486:0x6da,_0x41eca4:0x37c,_0x14a908:0x529},_0x215924={_0x486f13:0x1a0,_0x565dca:0x123,_0x41c361:0x1c9},_0xd0b463={_0x84e0b2:0x66};super(_0x536d95(_0x4f2778._0x36b6c6,_0x4f2778._0x76aabd,_0x4f2778._0x46c486,0x852));function _0x536d95(_0x35939b,_0x5e6bca,_0x4d2c0b,_0x2412f2){return _0x28bc81(_0x35939b-0x120,_0x5e6bca-_0xd0b463._0x84e0b2,_0x5e6bca-0x211,_0x4d2c0b);}this[_0x49448c(_0x4f2778._0x41eca4,0x53b,0x492,_0x4f2778._0x14a908)]=_0xfe45e1;function _0x49448c(_0x25a901,_0x17a78c,_0x48a44d,_0x23b301){return _0x28bc81(_0x25a901-_0x215924._0x486f13,_0x17a78c-_0x215924._0x565dca,_0x48a44d-_0x215924._0x41c361,_0x23b301);}this['name']='BackgroundProcessCleanupError';}},TERMINATION_WINDOW_MS=0x7d0;function isTerminalStatus(_0x2603c0){const _0x195d8c={_0x54415f:0x540,_0x3e6aed:0x5ee},_0x32c527={_0x19301e:0xe3,_0x1a2880:0x89},_0x19d2e1={_0x50b869:0x2a9};function _0x357844(_0x29e3a7,_0x51a50a,_0x1ce0b2,_0x5f06f8){return _0x28bc81(_0x29e3a7-0x1d4,_0x51a50a-0xfe,_0x29e3a7-_0x19d2e1._0x50b869,_0x5f06f8);}function _0x594fe2(_0x1ecb43,_0x5a49d6,_0x2d6c54,_0x4904ed){return _0x28bc81(_0x1ecb43-_0x32c527._0x19301e,_0x5a49d6-_0x32c527._0x1a2880,_0x1ecb43-0x3bb,_0x2d6c54);}return _0x2603c0===_0x357844(0x728,_0x195d8c._0x54415f,0x90f,_0x195d8c._0x3e6aed)||_0x2603c0==='killed'||_0x2603c0===_0x594fe2(0x793,0x9af,0x74b,0x676);}var BackgroundProcessRegistry=class{['entries']=new Map();[_0x28bc81(0x36c,0x347,0x53d,0x495)]=new Map();[_0x28bc81(0xd7,0xfa,0x28b,0x151)];[_0x28bc81(0x469,0x35f,0x56a,0x6ab)];[_0x28bc81(0x7db,0x7d7,0x5ff,0x495)];[_0x28bc81(0x1df,0x1bf,0x3c9,0x2ff)];[_0x5b2413(0x7a0,0x945,0x906,0x958)];[_0x5b2413(0x794,0x6bc,0x794,0x957)]=0x0;constructor(_0x5ee04d={}){const _0x224ab7={_0x48f8c8:0xfa,_0x3ffb5f:0x23b,_0x44555e:0x1f,_0x40949d:0x29f,_0x43b29b:0x397,_0x247f76:0x11,_0x20ee8f:0x291,_0x29045b:0x222,_0xcb042b:0x31f,_0x3c4c52:0x27a,_0xd81ed2:0x3da,_0x531772:0x19a,_0xdb2dfa:0x5b,_0x14ad04:0x199,_0x55fe4b:0x1b3,_0x418984:0x1ea,_0x4c0a44:0x101},_0x46048d={_0x16296e:0xe0,_0x200044:0x724},_0x200d12={_0x3a85ae:0x1b4,_0x1d6290:0x32};function _0x1f3339(_0x5345de,_0x47c7ea,_0x22d736,_0x269ee1){return _0x28bc81(_0x5345de-_0x200d12._0x3a85ae,_0x47c7ea-_0x200d12._0x1d6290,_0x47c7ea- -0x36e,_0x269ee1);}this[_0x206ba7(-_0x224ab7._0x48f8c8,0x99,-0x148,-0x278)]=_0x5ee04d[_0x206ba7(-0xfa,-_0x224ab7._0x3ffb5f,-_0x224ab7._0x44555e,-_0x224ab7._0x40949d)]??0xa,this['maxEntries']=_0x5ee04d[_0x206ba7(0x1e5,0x391,_0x224ab7._0x43b29b,_0x224ab7._0x247f76)]??0x40,this[_0x1f3339(0x452,_0x224ab7._0x20ee8f,_0x224ab7._0x29045b,_0x224ab7._0xcb042b)]=_0x5ee04d[_0x206ba7(_0x224ab7._0x3c4c52,0x415,0x1d4,_0x224ab7._0xd81ed2)]??0x100000;function _0x206ba7(_0x468c21,_0x515ce8,_0x2e7583,_0x1cb2c1){return _0x5b2413(_0x468c21-_0x46048d._0x16296e,_0x515ce8-0xf9,_0x468c21- -_0x46048d._0x200044,_0x515ce8);}this[_0x1f3339(_0x224ab7._0x531772,_0x224ab7._0xdb2dfa,0x11,0x171)]=_0x5ee04d[_0x206ba7(0x44,_0x224ab7._0x14ad04,-0xb4,-_0x224ab7._0x55fe4b)]??process[_0x206ba7(0x44,0x106,_0x224ab7._0x418984,-_0x224ab7._0x4c0a44)],this['signalAdapter']=_0x5ee04d['signalAdapter']??createProcessTreeSignalAdapter({'platform':this[_0x1f3339(0xfc,0x5b,-0x179,0x238)]});}['reserve'](){const _0x4ec870={_0x5a36d5:0x3d5,_0x18b0d9:0x1df,_0x1eb1bf:0x3bd,_0x23f24e:0x29c,_0x32da8e:0x114,_0x5b92a8:0x308,_0x42a5fd:0x339,_0x543ef9:0xb0,_0x51463b:0x581,_0x4c0738:0x3f5,_0x248c73:0x212,_0x2e1ce0:0xbd,_0xda890e:0xfd,_0x305027:0xff,_0x4eb4fb:0x94,_0x308d09:0x2cf,_0x4d989a:0x722,_0x266506:0x457,_0x5e4e24:0x768,_0x3eecda:0x47b,_0x5a4c18:0x664},_0x31b401={_0xff396f:0x172,_0x20d909:0x184,_0x3f2419:0x6be},_0x64484={_0x3df2a9:0x87,_0x3eba57:0xb2},_0x11240d=[...this[_0x13bb5f(_0x4ec870._0x5a36d5,0x2f4,_0x4ec870._0x18b0d9,0x2f3)][_0x13bb5f(_0x4ec870._0x1eb1bf,_0x4ec870._0x23f24e,_0x4ec870._0x32da8e,_0x4ec870._0x5b92a8)]()][_0x48079a(_0x4ec870._0x42a5fd,_0x4ec870._0x543ef9,0x353,0x166)](_0x68bb3e=>!_0x68bb3e[_0x48079a(-0x201,-0x114,-0x247,-0x128)]);if(_0x11240d['length']+this[_0x13bb5f(0x59f,_0x4ec870._0x51463b,_0x4ec870._0x4c0738,0x40b)][_0x48079a(-_0x4ec870._0x248c73,0x5a,0x1c2,-0x4d)]>=this['maxConcurrent'])throw new ToolExecutionError('Too\x20many\x20background\x20processes\x20running\x20('+this[_0x48079a(-_0x4ec870._0x2e1ce0,-_0x4ec870._0xda890e,_0x4ec870._0x305027,-_0x4ec870._0x4eb4fb)]+').\x20Kill\x20one\x20with\x20KillShell\x20before\x20starting\x20another.',{'running':this[_0x13bb5f(0x243,_0x4ec870._0x308d09,0x25a,0x380)]});function _0x13bb5f(_0x1cb28f,_0x317499,_0x5d16fd,_0x2bd637){return _0x5b2413(_0x1cb28f-_0x64484._0x3df2a9,_0x317499-_0x64484._0x3eba57,_0x317499- -0x35b,_0x2bd637);}function _0x48079a(_0x59124e,_0x3c6447,_0x1e5713,_0x42852a){return _0x5b2413(_0x59124e-_0x31b401._0xff396f,_0x3c6447-_0x31b401._0x20d909,_0x42852a- -_0x31b401._0x3f2419,_0x59124e);}const _0x133af0=Object[_0x13bb5f(_0x4ec870._0x4d989a,0x61a,0x4fc,_0x4ec870._0x266506)]({'id':_0x51feb2()});return this[_0x13bb5f(0x55c,0x581,0x489,_0x4ec870._0x5e4e24)][_0x13bb5f(0x377,_0x4ec870._0x3eecda,_0x4ec870._0x5a4c18,0x58e)](_0x133af0['id'],_0x133af0),_0x133af0;}[_0x5b2413(0x92d,0xa99,0x8de,0x8d8)](_0x44ff85){const _0x16e186={_0x186356:0xa68,_0x810362:0x99c,_0x1f92e:0x78d,_0x4c7c6c:0x4b2},_0x16cf0b={_0x3f748f:0x127,_0x566fc0:0x6c},_0x37ecbb={_0x36bea5:0x89,_0x411037:0x19d};function _0x3a3433(_0x2f697f,_0xade92c,_0x2a6975,_0x12faea){return _0x5b2413(_0x2f697f-_0x37ecbb._0x36bea5,_0xade92c-_0x37ecbb._0x411037,_0x12faea- -0x229,_0xade92c);}function _0x3760bf(_0x2aaf14,_0x1fc04a,_0x1f9edf,_0x114cff){return _0x5b2413(_0x2aaf14-0x159,_0x1fc04a-_0x16cf0b._0x3f748f,_0x1f9edf-_0x16cf0b._0x566fc0,_0x2aaf14);}this['reservations'][_0x3760bf(_0x16e186._0x186356,0xb40,_0x16e186._0x810362,_0x16e186._0x1f92e)](_0x44ff85['id'])===_0x44ff85&&this['reservations'][_0x3a3433(_0x16e186._0x4c7c6c,0x6c2,0x714,0x67c)](_0x44ff85['id']);}[_0x5b2413(0x939,0x68e,0x7fb,0x9f1)](_0x1b8c6f,_0x3b2201){const _0x54a8af={_0x281270:0x74f,_0x4e8f17:0x8d3,_0x3b8f54:0x68f,_0x5243f6:0x907,_0x519ab6:0x7a5,_0x3148fc:0x892,_0x3d7735:0x7bf,_0x4e9fbd:0x73e,_0x317d02:0x89f,_0x1c702c:0xa58,_0x577a2a:0x647,_0x561391:0x830,_0x3c79f3:0xb8f,_0x516ca5:0x985,_0x406dc2:0x795,_0x1b8fa0:0x6fc,_0x43a52f:0x7a7,_0x449cc3:0x754,_0x383cf0:0x55d,_0x3f1bc2:0x6c8,_0x2fce00:0x464,_0x3e3f1e:0x4e1,_0x394b6a:0x887,_0x5980ab:0x67a,_0x30333e:0x2c2,_0x30d7a9:0x615,_0x1744d3:0x541,_0x380530:0x24f,_0x3fbd26:0x48d,_0x3893e4:0x647,_0x579d44:0x5eb,_0x5ba847:0x598,_0x3c0f69:0x5ca,_0x378587:0x647,_0x45dd8f:0x5e7,_0x1df14a:0x313,_0x36d0c8:0x59b,_0x9d1d90:0x647,_0x5db5ec:0x4ef,_0x11c97b:0x55f,_0x3b345c:0x71a,_0x42111c:0x37b,_0x3e7275:0x2c5,_0x5e1adf:0x57e,_0x165285:0x507,_0x12260c:0x62d,_0x5a812f:0x684,_0x537ed1:0x681},_0x4ee698={_0x1dd457:0x6a9,_0x59d9d3:0x53a,_0x58efa8:0x661,_0x293958:0x4c7,_0x26c05e:0x511,_0xb2d91d:0x549,_0x3c8a52:0x596,_0x26ece1:0x696,_0x41359b:0x62e,_0x8cb4de:0x721,_0x4efd91:0x8e1,_0x1d6718:0x2f0,_0x42b969:0x62a,_0xfcbe4e:0x541,_0x586043:0x400,_0x477a41:0x7f0,_0x565b23:0x7e5,_0x3b549f:0x6dc,_0x270017:0x822,_0x3544e5:0x8ae},_0x44d53e={_0x3375aa:0x144,_0x21b18f:0x268},_0x13cb49={_0x4830ac:0x54f,_0x37c931:0x4f4,_0x95c146:0x6ad,_0x389b13:0x9df,_0x74e79:0x990,_0x5de077:0x375,_0x3739c2:0x35d,_0x5d17f0:0x550,_0x3c0f80:0x438,_0x593f9b:0x475,_0x394318:0x539},_0x5aedfa={_0x21f38b:0x1c,_0x30e46f:0x96},_0x4794e3={_0x4d2f7d:0x191,_0x3a789a:0x2b4},_0x4432b0={_0x53f1db:0x339,_0x38f8ec:0x301,_0x28adb2:0x215},_0x1bdd5c={_0x556ebe:0x16c},_0x2fde9d={_0x48f408:0x4cb,_0x269153:0x534,_0x19d4f4:0x4a6,_0x4a506f:0x2dd,_0x9da61f:0x8d4},_0x2b67af={_0x2edb5c:0x17c,_0x1976ef:0x10},_0x491bc0={_0x3233db:0x811,_0x410945:0x405,_0x242c5d:0x46c,_0x12645e:0x5d8,_0x345fc0:0x3f7},_0x4f69e4={_0x336ca3:0x3fe,_0x449911:0x98},_0x4c77d3={_0x5a704a:0x16f,_0x465376:0x3ca},_0x56f065={_0x11e0f1:0xfa};function _0x3ae3a7(_0x196df7,_0x5c01be,_0x551dad,_0x59242e){return _0x28bc81(_0x196df7-0xce,_0x5c01be-_0x56f065._0x11e0f1,_0x5c01be-0xfe,_0x59242e);}if(this[_0x2c8dc3(_0x54a8af._0x281270,0xa16,0x907,_0x54a8af._0x4e8f17)][_0x3ae3a7(0x5f6,_0x54a8af._0x3b8f54,0x75b,0x505)](_0x1b8c6f['id'])!==_0x1b8c6f)throw new ToolExecutionError('Background\x20process\x20reservation\x20is\x20missing\x20or\x20already\x20consumed',{'reservationId':_0x1b8c6f['id']});this[_0x2c8dc3(0x78d,0x9fb,_0x54a8af._0x5243f6,_0x54a8af._0x519ab6)]['delete'](_0x1b8c6f['id']);let _0x15f724;function _0x2c8dc3(_0x9ffe88,_0x434fc7,_0x47e023,_0x311915){return _0x28bc81(_0x9ffe88-0x17,_0x434fc7-_0x4c77d3._0x5a704a,_0x47e023-_0x4c77d3._0x465376,_0x9ffe88);}const _0x4ac9e7=new Promise(_0x5ab69e=>{_0x15f724=_0x5ab69e;}),_0x4539dc='bg-'+ ++this[_0x2c8dc3(_0x54a8af._0x3148fc,0x75a,_0x54a8af._0x3d7735,0x8f9)]+'-'+_0x51feb2()[_0x2c8dc3(_0x54a8af._0x4e9fbd,0x994,_0x54a8af._0x317d02,0x68d)](0x0,0x8),_0x2db57e={'shellId':_0x4539dc,'command':_0x3b2201[_0x2c8dc3(0x884,_0x54a8af._0x1c702c,0x972,0x853)],'cwd':_0x3b2201['cwd'],'pid':_0x3b2201[_0x2c8dc3(0x543,0x579,_0x54a8af._0x577a2a,0x68d)][_0x2c8dc3(_0x54a8af._0x561391,_0x54a8af._0x3c79f3,_0x54a8af._0x516ca5,_0x54a8af._0x406dc2)],'processGroupId':_0x3b2201[_0x2c8dc3(0x7dc,_0x54a8af._0x1b8fa0,_0x54a8af._0x43a52f,0x597)],'status':'running','exitCode':null,'signal':null,'startedAt':Date[_0x2c8dc3(0x782,0x68b,_0x54a8af._0x449cc3,_0x54a8af._0x383cf0)](),'error':null,'gracefulRequested':![],'forceRequested':![],'child':_0x3b2201[_0x2c8dc3(_0x54a8af._0x3f1bc2,_0x54a8af._0x2fce00,_0x54a8af._0x577a2a,0x590)],'buffer':[],'bufferChars':0x0,'totalProduced':0x0,'totalDropped':0x0,'readCursor':0x0,'stdoutDecoder':new StringDecoder('utf8'),'stderrDecoder':new StringDecoder(_0x3ae3a7(0x552,0x377,0x53a,0x363)),'stdoutNormalizer':createTerminalOutputNormalizer(),'stderrNormalizer':createTerminalOutputNormalizer(),'stripAnsi':_0x3b2201['stripAnsi'],'killRequested':![],'processExited':![],'streamsFlushed':![],'terminalSettled':![],'terminalPromise':_0x4ac9e7,'resolveTerminal':_0x15f724,'terminationSettled':![]};this[_0x2c8dc3(_0x54a8af._0x3e3f1e,_0x54a8af._0x394b6a,_0x54a8af._0x5980ab,0x636)]['set'](_0x4539dc,_0x2db57e);try{_0x3b2201[_0x3ae3a7(_0x54a8af._0x30333e,0x37b,0x298,0x291)][_0x3ae3a7(_0x54a8af._0x30d7a9,0x60d,0x648,_0x54a8af._0x1744d3)]?.['on'](_0x3ae3a7(0x3ee,0x398,0x4f2,_0x54a8af._0x380530),_0x5d77e0=>{function _0x557588(_0x174f5b,_0x50e55c,_0x3be418,_0x56a4e2){return _0x3ae3a7(_0x174f5b-0x44,_0x56a4e2-0x2fe,_0x3be418-0x10a,_0x50e55c);}function _0x4476f9(_0x13c498,_0x3895f,_0x343394,_0x262ca1){return _0x2c8dc3(_0x3895f,_0x3895f-0x92,_0x343394- -_0x4f69e4._0x336ca3,_0x262ca1-_0x4f69e4._0x449911);}this[_0x557588(0x966,0x5f4,0x6f7,_0x491bc0._0x3233db)](_0x2db57e,_0x2db57e[_0x4476f9(_0x491bc0._0x410945,_0x491bc0._0x242c5d,0x3be,_0x491bc0._0x12645e)],_0x2db57e[_0x4476f9(_0x491bc0._0x345fc0,0x35e,0x30d,0x30e)],_0x5d77e0);}),_0x3b2201[_0x2c8dc3(0x4b6,_0x54a8af._0x3fbd26,_0x54a8af._0x3893e4,_0x54a8af._0x579d44)]['stderr']?.['on'](_0x3ae3a7(0x3a4,0x398,0x4a6,0x1e2),_0x488bac=>{const _0x4beaa5={_0x57cf5a:0x1e6,_0x2d7f10:0x48};function _0xc10cc5(_0x2c3dbe,_0x32dc9d,_0x31cf95,_0x12201d){return _0x2c8dc3(_0x32dc9d,_0x32dc9d-_0x2b67af._0x2edb5c,_0x31cf95- -0xc5,_0x12201d-_0x2b67af._0x1976ef);}function _0x497962(_0x3389a0,_0x1b6aea,_0x4efb3b,_0x4fbd6d){return _0x3ae3a7(_0x3389a0-_0x4beaa5._0x57cf5a,_0x3389a0- -_0x4beaa5._0x2d7f10,_0x4efb3b-0x13a,_0x1b6aea);}this[_0x497962(_0x2fde9d._0x48f408,0x515,0x359,_0x2fde9d._0x269153)](_0x2db57e,_0x2db57e[_0x497962(_0x2fde9d._0x19d4f4,0x549,_0x2fde9d._0x4a506f,0x5ee)],_0x2db57e[_0xc10cc5(0x9da,0x79c,_0x2fde9d._0x9da61f,0xacc)],_0x488bac);}),_0x3b2201[_0x2c8dc3(_0x54a8af._0x5ba847,_0x54a8af._0x3c0f69,_0x54a8af._0x378587,_0x54a8af._0x45dd8f)]['once'](_0x3ae3a7(_0x54a8af._0x1df14a,0x422,0x3b7,0x562),(_0x3b22ff,_0x45b9f9)=>{const _0x43e596={_0x4ae5fe:0x148,_0x2f7a03:0xbc};function _0x1730b3(_0x40497e,_0x2d59b8,_0x47fbbc,_0x2b7457){return _0x3ae3a7(_0x40497e-_0x43e596._0x4ae5fe,_0x2d59b8-0x66,_0x47fbbc-_0x43e596._0x2f7a03,_0x2b7457);}_0x2db57e[_0x1730b3(0x5b7,0x6cd,0x816,0x59f)]=!![],_0x2db57e['exitCode']=_0x3b22ff;function _0xef0251(_0x331e8f,_0x123160,_0x9186e1,_0x5cae88){return _0x3ae3a7(_0x331e8f-_0x1bdd5c._0x556ebe,_0x5cae88- -0x2b6,_0x9186e1-0x1ab,_0x331e8f);}_0x2db57e[_0xef0251(_0x4432b0._0x53f1db,_0x4432b0._0x38f8ec,0x89,_0x4432b0._0x28adb2)]=_0x45b9f9;}),_0x3b2201[_0x2c8dc3(_0x54a8af._0x36d0c8,0x662,_0x54a8af._0x9d1d90,_0x54a8af._0x5db5ec)][_0x2c8dc3(_0x54a8af._0x11c97b,_0x54a8af._0x3b345c,0x62d,0x650)]('error',_0x510b34=>{function _0x50b536(_0x74a5cd,_0x1a1722,_0x5a424b,_0x47d30e){return _0x3ae3a7(_0x74a5cd-_0x4794e3._0x4d2f7d,_0x5a424b-_0x4794e3._0x3a789a,_0x5a424b-0xb0,_0x47d30e);}_0x2db57e[_0x5219b9(_0x13cb49._0x4830ac,_0x13cb49._0x37c931,_0x13cb49._0x95c146,0x612)]=_0x510b34[_0x50b536(_0x13cb49._0x389b13,0x986,_0x13cb49._0x74e79,0x9c0)];function _0x5219b9(_0x12bea3,_0x4053ed,_0x295efc,_0x31cac7){return _0x2c8dc3(_0x4053ed,_0x4053ed-_0x5aedfa._0x21f38b,_0x31cac7- -0x190,_0x31cac7-_0x5aedfa._0x30e46f);}_0x2db57e[_0x5219b9(_0x13cb49._0x5de077,_0x13cb49._0x3739c2,_0x13cb49._0x5d17f0,_0x13cb49._0x3c0f80)]=_0x5219b9(_0x13cb49._0x593f9b,_0x13cb49._0x394318,0x6fa,0x612);}),_0x3b2201[_0x3ae3a7(0x581,_0x54a8af._0x42111c,_0x54a8af._0x3e7275,_0x54a8af._0x5e1adf)][_0x2c8dc3(_0x54a8af._0x165285,0x4b4,_0x54a8af._0x12260c,_0x54a8af._0x5a812f)]('close',(_0x3e00a0,_0x4431f6)=>{const _0x1f5efb={_0x59229e:0x2c,_0x3ab966:0x196};_0x2db57e[_0x1168b1(0x74a,0x83f,_0x4ee698._0x1dd457,_0x4ee698._0x59d9d3)]=_0x3e00a0,_0x2db57e[_0x1168b1(_0x4ee698._0x58efa8,_0x4ee698._0x293958,0x55f,0x511)]=_0x4431f6,_0x2db57e[_0x1168b1(_0x4ee698._0x26c05e,_0x4ee698._0xb2d91d,_0x4ee698._0x3c8a52,0x3c8)]=null;function _0x56c29b(_0x292a21,_0x469293,_0x30389b,_0x2473cf){return _0x3ae3a7(_0x292a21-_0x44d53e._0x3375aa,_0x2473cf-_0x44d53e._0x21b18f,_0x30389b-0x101,_0x292a21);}_0x2db57e[_0x56c29b(_0x4ee698._0x26ece1,0x56f,_0x4ee698._0x41359b,0x564)]!==_0x56c29b(0x775,_0x4ee698._0x8cb4de,_0x4ee698._0x4efd91,0x73e)&&(_0x2db57e[_0x1168b1(0x492,0x4bc,0x3e4,_0x4ee698._0x1d6718)]=_0x2db57e[_0x56c29b(_0x4ee698._0x42b969,_0x4ee698._0xfcbe4e,_0x4ee698._0x586043,0x61f)]?_0x56c29b(_0x4ee698._0x477a41,0x42d,0x542,0x5fb):_0x56c29b(0x93f,0x5f6,0x7a4,_0x4ee698._0x565b23));function _0x1168b1(_0x21cd62,_0x1dcf7d,_0x1a01e2,_0x5536ae){return _0x3ae3a7(_0x21cd62-_0x1f5efb._0x59229e,_0x21cd62-_0x1f5efb._0x3ab966,_0x1a01e2-0x159,_0x1dcf7d);}this[_0x1168b1(_0x4ee698._0x3b549f,_0x4ee698._0x270017,_0x4ee698._0x3544e5,0x7bf)](_0x2db57e);});}catch(_0xea2520){this['entries']['delete'](_0x4539dc);throw _0xea2520;}return this[_0x2c8dc3(_0x54a8af._0x537ed1,0x7f5,0x760,0x60a)](),_0x2db57e;}['spawn'](_0x14cc98){const _0x387b14={_0x5304de:0x62,_0x3e9cfb:0x3f,_0x16f6af:0xfc,_0xe06064:0x90,_0x50b5ba:0xc5,_0x3b2ec5:0x2d0,_0x4e037d:0xae,_0x4cfee6:0x49,_0x59098d:0x2b8},_0x116e70={_0x10fc12:0x66,_0x536474:0x1b9,_0x27962f:0x577},_0x3e10d8={_0x50db6d:0x1c,_0x3894c5:0x35e},_0x2c6ba4=this[_0x1a8de0(_0x387b14._0x5304de,-_0x387b14._0x3e9cfb,0x180,0x1ac)]();function _0x10346c(_0x39d0a8,_0xa370b5,_0x4de487,_0x4c8ee7){return _0x28bc81(_0x39d0a8-0x18c,_0xa370b5-_0x3e10d8._0x50db6d,_0x39d0a8- -_0x3e10d8._0x3894c5,_0xa370b5);}function _0x1a8de0(_0x5d595e,_0x279b73,_0x48421d,_0x496556){return _0x5b2413(_0x5d595e-_0x116e70._0x10fc12,_0x279b73-_0x116e70._0x536474,_0x48421d- -_0x116e70._0x27962f,_0x5d595e);}try{return this['attach'](_0x2c6ba4,{..._0x14cc98,...this[_0x1a8de0(0x220,0x392,0x1f1,0x7a)]===_0x10346c(_0x387b14._0x16f6af,-_0x387b14._0xe06064,-_0x387b14._0x50b5ba,_0x387b14._0x3b2ec5)?{}:{'processGroupId':_0x14cc98['child'][_0x10346c(0x25d,_0x387b14._0x4e037d,_0x387b14._0x4cfee6,_0x387b14._0x59098d)]}});}catch(_0x2f7789){this['release'](_0x2c6ba4);throw _0x2f7789;}}['read'](_0x409cf5,_0x45e432){const _0x41a9f3={_0x367d3e:0x787,_0x1b5332:0x7b2,_0x50ce3b:0x637,_0x1eb80f:0xa72,_0x378a91:0x918,_0x4dc92c:0x921,_0x3e2c3b:0xb14,_0x80f2b0:0xa34,_0x5e2e94:0x538,_0x5e69fd:0x6c6,_0x543235:0x547,_0x37fd3f:0x520,_0x3e7918:0x8e4,_0x306f06:0x7ee,_0x20aef2:0x9e6,_0x346d1:0x745,_0x386ef6:0x63c,_0x597dd3:0x845,_0x4ec0a5:0x882,_0x2a8177:0x7d8,_0x25835b:0x999,_0xc35aee:0x712,_0x561c14:0x682,_0x36f4d3:0x6d1,_0x2353be:0x854,_0x463962:0x6dc,_0x535620:0x8c9,_0x239007:0x623,_0x2cabea:0x742,_0x1e5ba5:0x697,_0x27e5ea:0x883,_0x43603f:0x7a6,_0x3dcbac:0x970,_0x261944:0x7cc,_0x1492f2:0x965,_0x51ba56:0x6b2,_0x3f6248:0x713,_0x1e57f6:0x511,_0x3cd959:0x7ba,_0x2d2203:0x837,_0x17dbf6:0x5f5,_0x19c6d5:0x5cd,_0x22d68b:0x846,_0x26cae7:0x856,_0x31ef33:0x648,_0x27c922:0x9ea,_0x315c7d:0x9a9,_0x453f27:0x5ab,_0x19aa67:0x4f9,_0x3965e9:0x746,_0x2efbb9:0x83d,_0x10115e:0x91c,_0x19c9da:0x7ae,_0x547e08:0x592},_0x5d4e71={_0x3424be:0x278},_0x46e211={_0x1b7a2d:0x161,_0x386cd2:0x77,_0x1bf11a:0x18},_0x46d9be=this[_0x556de2(_0x41a9f3._0x367d3e,_0x41a9f3._0x1b5332,_0x41a9f3._0x50ce3b,0x743)][_0x556de2(_0x41a9f3._0x1eb80f,0x899,_0x41a9f3._0x378a91,_0x41a9f3._0x4dc92c)](_0x409cf5);if(!_0x46d9be)throw new ToolExecutionError(_0x556de2(_0x41a9f3._0x3e2c3b,_0x41a9f3._0x80f2b0,0x911,0x7d9)+_0x409cf5,{'shellId':_0x409cf5});const _0x221a91=_0x46d9be[_0x556de2(0x691,_0x41a9f3._0x5e2e94,0x730,_0x41a9f3._0x5e69fd)][_0x3edf09(0x8a1,0x6d5,_0x41a9f3._0x543235,_0x41a9f3._0x37fd3f)](''),_0x5ba8ab=Math[_0x3edf09(0x880,0x6df,0x5bf,0x7bd)](_0x46d9be['readCursor'],_0x46d9be[_0x3edf09(0x60f,0x7d8,0x7e5,0x76b)]),_0x5205fe=Math[_0x556de2(0x89d,_0x41a9f3._0x3e7918,_0x41a9f3._0x306f06,_0x41a9f3._0x20aef2)](0x0,_0x46d9be['totalDropped']-_0x46d9be[_0x3edf09(0x55b,_0x41a9f3._0x346d1,_0x41a9f3._0x386ef6,0x6d3)]),_0xe2b582=_0x221a91[_0x3edf09(0x79c,0x74d,0x6ed,_0x41a9f3._0x597dd3)](_0x5ba8ab-_0x46d9be[_0x3edf09(_0x41a9f3._0x4ec0a5,_0x41a9f3._0x2a8177,0x93e,_0x41a9f3._0x25835b)]);function _0x556de2(_0x8e4388,_0x17c7f8,_0x5867ae,_0x50b7df){return _0x5b2413(_0x8e4388-_0x46e211._0x1b7a2d,_0x17c7f8-_0x46e211._0x386cd2,_0x5867ae- -_0x46e211._0x1bf11a,_0x17c7f8);}function _0x3edf09(_0x5f5193,_0x4e0602,_0xdc31c4,_0xabde90){return _0x28bc81(_0x5f5193-0x11d,_0x4e0602-0x10b,_0x4e0602-_0x5d4e71._0x3424be,_0xdc31c4);}let _0x2b3502;const _0x55d51d=_0x45e432?.[_0x3edf09(_0x41a9f3._0xc35aee,0x801,0x84d,_0x41a9f3._0x561c14)];if(!_0x55d51d)_0x2b3502=_0xe2b582,_0x46d9be[_0x556de2(0x7c9,_0x41a9f3._0x36f4d3,_0x41a9f3._0x2353be,_0x41a9f3._0x463962)]=_0x46d9be[_0x556de2(_0x41a9f3._0x535620,_0x41a9f3._0x239007,_0x41a9f3._0x2cabea,0x948)];else{let _0x5ad7fb;try{_0x5ad7fb=new RegExp(_0x55d51d);}catch(_0x4ec7d9){throw new ToolExecutionError(_0x3edf09(_0x41a9f3._0x1e5ba5,_0x41a9f3._0x27e5ea,_0x41a9f3._0x43603f,_0x41a9f3._0x3dcbac)+(_0x4ec7d9 instanceof Error?_0x4ec7d9[_0x556de2(_0x41a9f3._0x261944,0xa02,_0x41a9f3._0x1492f2,0xb87)]:String(_0x4ec7d9)),{'shellId':_0x409cf5,'regex':_0x55d51d});}let _0x495937=_0xe2b582;if(!_0x46d9be['terminalSettled']){const _0x196a42=_0xe2b582[_0x3edf09(_0x41a9f3._0x51ba56,_0x41a9f3._0x3f6248,_0x41a9f3._0x1e57f6,_0x41a9f3._0x3cd959)]('\x0a');_0x495937=_0x196a42>=0x0?_0xe2b582['slice'](0x0,_0x196a42+0x1):'';}_0x2b3502=_0x495937['split']('\x0a')[_0x556de2(_0x41a9f3._0x2d2203,0x825,0x80c,_0x41a9f3._0x17dbf6)](_0x49bb7c=>_0x5ad7fb['test'](_0x49bb7c))[_0x3edf09(0x8a8,0x6d5,_0x41a9f3._0x19c6d5,_0x41a9f3._0x22d68b)]('\x0a'),_0x46d9be[_0x556de2(_0x41a9f3._0x26cae7,_0x41a9f3._0x31ef33,_0x41a9f3._0x2353be,0x910)]=_0x5ba8ab+_0x495937[_0x556de2(_0x41a9f3._0x27c922,0x83d,0x8d0,_0x41a9f3._0x315c7d)];}return{'output':(_0x5205fe>0x0?'[output\x20truncated:\x20'+_0x5205fe+_0x3edf09(0x7a4,_0x41a9f3._0x453f27,0x659,_0x41a9f3._0x19aa67):'')+_0x2b3502,'status':_0x46d9be['status'],'exitCode':_0x46d9be[_0x556de2(0x74a,_0x41a9f3._0x3965e9,_0x41a9f3._0x2efbb9,_0x41a9f3._0x10115e)],'signal':_0x46d9be[_0x3edf09(0x6d6,0x645,_0x41a9f3._0x19c9da,_0x41a9f3._0x547e08)],'error':_0x46d9be['error'],'truncated':_0x5205fe>0x0};}[_0x28bc81(0x4e0,0x2de,0x458,0x26e)](){return[...this['entries']['values']()];}[_0x28bc81(0x250,0x56b,0x46e,0x3f5)](_0x573707){const _0x22e4fe={_0x4ddf54:0x856,_0x1d8dc9:0x52e,_0x1d64e0:0x852,_0x64b9c9:0x8ab,_0x468e2a:0x6ce,_0x4b7a54:0x712,_0x12fa92:0x7e9,_0x389301:0x854,_0x14df16:0x8fc,_0x594f35:0x9cf,_0x2b20d3:0x7cb,_0x10ff7d:0x37f,_0x2adf1b:0x382,_0x532018:0x2f3,_0x241076:0x19f,_0x17c9d2:0x188,_0x25667a:0x7a7,_0x1e6b0a:0x5fb,_0x5b75ef:0x56e,_0x2f6bda:0x638,_0x2342b0:0x36a,_0x781fa4:0x500,_0x3872b6:0x438,_0x1c5a8f:0x290,_0x530047:0x386,_0x1a4bda:0x221,_0x44b356:0x41a,_0x37e3ab:0x262,_0x1a8510:0x3c5,_0x58b7eb:0x337,_0x35ee9e:0x65a,_0x296263:0x4c6,_0x43cedc:0x878,_0x36460d:0x83e,_0x48a7ff:0x882,_0x16b3db:0x899,_0x993cb0:0x5f5,_0x88fd18:0x62f,_0x2d16ae:0x673,_0x3a7cda:0xa3e,_0x513e5a:0x8fc,_0xa92f18:0x85a,_0x188053:0x8c9,_0x2a86ff:0x6e3},_0x3bc4af={_0x37a1e9:0xa4,_0x24cff2:0x13f,_0xde8a94:0x77},_0x34a81c={_0x598d72:0x4d9,_0x2fdd41:0x383},_0x127c58={_0x2b6f28:0x110,_0xc1087a:0x8b},_0x556749=this[_0x3092b3(_0x22e4fe._0x4ddf54,0x651,_0x22e4fe._0x1d8dc9,0x457)][_0x3092b3(_0x22e4fe._0x1d64e0,0x932,0xacb,_0x22e4fe._0x64b9c9)](_0x573707);if(!_0x556749)throw new ToolExecutionError(_0x31e28d(_0x22e4fe._0x468e2a,_0x22e4fe._0x4b7a54,_0x22e4fe._0x12fa92,0x781)+_0x573707,{'shellId':_0x573707});if(_0x556749[_0x3092b3(_0x22e4fe._0x389301,_0x22e4fe._0x14df16,_0x22e4fe._0x594f35,0x7ad)]&&!_0x556749[_0x31e28d(_0x22e4fe._0x2b20d3,0x625,0x4c4,0x673)])return _0x556749[_0x3092b3(0x9bd,0x8fc,0x700,0x7a3)];if(_0x556749[_0x31e28d(0x217,_0x22e4fe._0x10ff7d,_0x22e4fe._0x2adf1b,_0x22e4fe._0x532018)]&&isTerminalStatus(_0x556749[_0x31e28d(0x51b,0x386,_0x22e4fe._0x241076,_0x22e4fe._0x17c9d2)]))return Promise[_0x3092b3(_0x22e4fe._0x25667a,_0x22e4fe._0x1e6b0a,_0x22e4fe._0x5b75ef,_0x22e4fe._0x2f6bda)](this[_0x31e28d(_0x22e4fe._0x2342b0,0x393,0x4da,_0x22e4fe._0x781fa4)](_0x556749,_0x31e28d(_0x22e4fe._0x3872b6,0x50e,0x624,0x45e)));if(_0x556749[_0x31e28d(_0x22e4fe._0x1c5a8f,_0x22e4fe._0x530047,_0x22e4fe._0x1a4bda,0x42c)]!==_0x3092b3(0x703,0x779,0x579,0x91a))_0x556749[_0x31e28d(_0x22e4fe._0x44b356,0x386,_0x22e4fe._0x37e3ab,_0x22e4fe._0x1a8510)]=_0x31e28d(_0x22e4fe._0x58b7eb,0x3d7,0x5ad,0x529);_0x556749[_0x3092b3(0x6af,_0x22e4fe._0x35ee9e,0x800,_0x22e4fe._0x296263)]=!![],_0x556749[_0x3092b3(_0x22e4fe._0x43cedc,_0x22e4fe._0x36460d,_0x22e4fe._0x48a7ff,_0x22e4fe._0x16b3db)]=![];function _0x3092b3(_0x522e05,_0x51aedb,_0x30760a,_0x85db79){return _0x28bc81(_0x522e05-0x22,_0x51aedb-0x16d,_0x51aedb-0x3a1,_0x522e05);}function _0x31e28d(_0x366ec4,_0x6cb635,_0x224236,_0xeb03bc){return _0x28bc81(_0x366ec4-_0x127c58._0x2b6f28,_0x6cb635-_0x127c58._0xc1087a,_0x6cb635-0x188,_0x224236);}return _0x556749['terminationPromise']=this[_0x31e28d(0x586,_0x22e4fe._0x993cb0,_0x22e4fe._0x88fd18,_0x22e4fe._0x2d16ae)](_0x556749),void _0x556749[_0x3092b3(_0x22e4fe._0x3a7cda,_0x22e4fe._0x513e5a,0xaa6,_0x22e4fe._0xa92f18)]['then'](()=>{const _0x24e971={_0x2a0693:0x2d4,_0x5dc579:0xbb};function _0x3514e0(_0x6783f4,_0x24b47e,_0x285c90,_0x5dbd6e){return _0x31e28d(_0x6783f4-0x6d,_0x285c90- -_0x24e971._0x2a0693,_0x24b47e,_0x5dbd6e-_0x24e971._0x5dc579);}_0x556749[_0x3514e0(_0x34a81c._0x598d72,0x377,0x351,_0x34a81c._0x2fdd41)]=!![];},()=>{const _0x432d0b={_0x9e92af:0xeb};function _0x334860(_0x180d63,_0x37b294,_0x219e02,_0x18783f){return _0x31e28d(_0x180d63-_0x432d0b._0x9e92af,_0x219e02- -0x4e6,_0x180d63,_0x18783f-0xfc);}_0x556749[_0x334860(0xa4,-_0x3bc4af._0x37a1e9,_0x3bc4af._0x24cff2,-_0x3bc4af._0xde8a94)]=!![];}),_0x556749[_0x31e28d(_0x22e4fe._0x188053,_0x22e4fe._0x2a86ff,0x60e,0x64e)];}[_0x28bc81(0x350,0x4f3,0x441,0x36c)](){const _0x1efce1={_0xd12ecb:0x18f,_0x1b8814:0x34f},_0x3aecc3={_0x756b13:0x25,_0x3cd343:0x183},_0x5a4286={_0x133c0c:0xcc,_0x1a805d:0x32a};function _0x155273(_0x1b088a,_0x1b9dfd,_0x426e86,_0x3d2141){return _0x5b2413(_0x1b088a-0x131,_0x1b9dfd-_0x5a4286._0x133c0c,_0x426e86- -_0x5a4286._0x1a805d,_0x1b088a);}function _0x549eb7(_0xfd43ed,_0x53074f,_0x2b5dec,_0x4a50b9){return _0x28bc81(_0xfd43ed-_0x3aecc3._0x756b13,_0x53074f-_0x3aecc3._0x3cd343,_0x53074f-0xf7,_0x2b5dec);}return Promise['all']([...this['entries'][_0x549eb7(_0x1efce1._0xd12ecb,_0x1efce1._0x1b8814,0x172,0x4dc)]()]['map'](_0x1008ee=>this[_0x155273(0x5ef,0x3e2,0x4e3,0x502)](_0x1008ee['shellId'])));}async[_0x5b2413(0x963,0x7a1,0x7bc,0x616)](){const _0x3cfcca={_0x377746:0x9c0,_0x133ff4:0x902,_0xeaafaf:0x67c,_0x135877:0x7a1,_0x31a904:0x853,_0x28d8c2:0x82c,_0x3570dc:0x851,_0x518f40:0xae3},_0x53d1ac={_0x3b930d:0xc1,_0x43791b:0xf},_0x35568b=await this[_0x2abe9e(_0x3cfcca._0x377746,_0x3cfcca._0x133ff4,0x7ef,_0x3cfcca._0xeaafaf)]();function _0x559e80(_0x2b4c36,_0x14d540,_0x5efd64,_0x4dfb41){return _0x5b2413(_0x2b4c36-0x1a5,_0x14d540-0x2f,_0x14d540- -0x8b,_0x2b4c36);}if(_0x35568b['some'](_0x558ea0=>_0x558ea0[_0x2abe9e(0x794,0x8c9,0x762,0x8ad)]===_0x2abe9e(0x88e,0x727,0x811,0x93f)))throw new BackgroundProcessCleanupError(_0x35568b);function _0x2abe9e(_0x5410ac,_0x3f133b,_0x36f5cd,_0x4f87d1){return _0x5b2413(_0x5410ac-0xcc,_0x3f133b-_0x53d1ac._0x3b930d,_0x36f5cd-_0x53d1ac._0x43791b,_0x5410ac);}return this['entries'][_0x559e80(0x79f,0x8a3,_0x3cfcca._0x135877,_0x3cfcca._0x31a904)](),this['reservations'][_0x2abe9e(_0x3cfcca._0x28d8c2,_0x3cfcca._0x3570dc,0x93d,_0x3cfcca._0x518f40)](),_0x35568b;}async[_0x28bc81(0x5a8,0x595,0x46d,0x4a2)](_0x50457a){const _0x48ce68={_0x3a3554:0x499,_0x517098:0x73b,_0x3d4f95:0x6db,_0x160bac:0x7d4,_0x4e7f4d:0x9a6,_0x18ceeb:0xa1e,_0x2b1ca0:0x5ec,_0x188d45:0x56a,_0xd6219a:0x613,_0x10aec4:0x677,_0x3e7b5c:0x4c5,_0x7278eb:0x512,_0x38da5d:0x65a,_0x29da22:0x797,_0x24c01c:0x57a,_0x316cd2:0x655,_0x3941db:0x6af,_0x45440a:0x7fe,_0x392bd5:0x6a7,_0x4d59f8:0x7b8,_0x579079:0x745,_0x539996:0x701,_0x312e07:0x740,_0x4449ba:0x83d,_0x8843b:0x97b,_0x380241:0x59e,_0x2ee48e:0x5b0,_0x44067f:0x78f,_0x2d5dda:0x607,_0x1e4a3d:0x5ea,_0x5ccc34:0x9a7,_0x3b687c:0x4a4,_0x3a6794:0x4d3,_0x1ea85f:0x787,_0x1252fc:0x77c,_0x5f12c6:0x797,_0x34d876:0x89f,_0x300d10:0x790,_0x457c0b:0x69c,_0xb45589:0x738},_0x8c69fd={_0x1f3837:0x8a,_0x1c10a4:0x334};function _0x4b0608(_0x86ad37,_0x30e61c,_0x137d4f,_0x1d2d8d){return _0x5b2413(_0x86ad37-0x15b,_0x30e61c-0x1c9,_0x1d2d8d- -0x169,_0x30e61c);}_0x50457a[_0x5531ca(0x5b6,_0x48ce68._0x3a3554,0x5f7,_0x48ce68._0x517098)]=!![];const _0x371c53=await this[_0x4b0608(0x839,_0x48ce68._0x3d4f95,0x7f2,0x79d)][_0x4b0608(0x7ae,_0x48ce68._0x160bac,0x681,0x603)]({'rootPid':_0x50457a[_0x5531ca(0x8ef,_0x48ce68._0x4e7f4d,0x70f,_0x48ce68._0x18ceeb)],'processGroupId':_0x50457a[_0x4b0608(0x59a,_0x48ce68._0x2b1ca0,_0x48ce68._0x188d45,_0x48ce68._0xd6219a)]},_0x4b0608(_0x48ce68._0x10aec4,_0x48ce68._0x3e7b5c,_0x48ce68._0x7278eb,_0x48ce68._0x38da5d));if(_0x371c53['outcome']==='failed')return this[_0x5531ca(_0x48ce68._0x29da22,_0x48ce68._0x24c01c,_0x48ce68._0x316cd2,0x93f)](_0x50457a,_0x371c53['error']);if(await this['waitForTerminal'](_0x50457a,TERMINATION_WINDOW_MS))return this[_0x4b0608(0x5fd,0x494,0x848,_0x48ce68._0x3941db)](_0x50457a);function _0x5531ca(_0x591011,_0x37713c,_0x19f5da,_0x273902){return _0x28bc81(_0x591011-0x1d2,_0x37713c-_0x8c69fd._0x1f3837,_0x591011-_0x8c69fd._0x1c10a4,_0x19f5da);}_0x50457a[_0x5531ca(_0x48ce68._0x45440a,_0x48ce68._0x392bd5,_0x48ce68._0x4d59f8,_0x48ce68._0x579079)]=!![];const _0x35ccc3=await this['signalAdapter'][_0x5531ca(_0x48ce68._0x539996,_0x48ce68._0x312e07,0x640,0x694)]({'rootPid':_0x50457a[_0x4b0608(_0x48ce68._0x4449ba,_0x48ce68._0x8843b,0x614,0x7f1)],'processGroupId':_0x50457a[_0x5531ca(0x711,_0x48ce68._0x380241,_0x48ce68._0x2ee48e,0x634)]},_0x4b0608(0x3cd,0x6b3,0x722,0x568));if(_0x35ccc3[_0x4b0608(0x3f6,_0x48ce68._0x44067f,_0x48ce68._0x2d5dda,_0x48ce68._0x1e4a3d)]===_0x5531ca(0x797,0x6de,0x8bc,_0x48ce68._0x5ccc34))return this[_0x4b0608(0x76e,0x614,0x899,0x699)](_0x50457a,_0x35ccc3[_0x4b0608(_0x48ce68._0x3b687c,_0x48ce68._0x3a6794,0x7ac,0x60e)]);if(await this[_0x5531ca(_0x48ce68._0x1ea85f,_0x48ce68._0x1252fc,0x8ef,0x916)](_0x50457a,TERMINATION_WINDOW_MS))return this[_0x4b0608(0x48d,0x640,0x86e,0x6af)](_0x50457a);return this[_0x5531ca(_0x48ce68._0x5f12c6,_0x48ce68._0x34d876,0x5ac,_0x48ce68._0x300d10)](_0x50457a,_0x5531ca(0x526,0x3a3,_0x48ce68._0x457c0b,_0x48ce68._0xb45589));}[_0x28bc81(0x669,0x5b2,0x479,0x4c0)](_0x4adf22){const _0x24ad6a={_0x412230:0x82c,_0x4594be:0x6db,_0x12186a:0x709,_0x2bc3f2:0x955,_0x58a352:0x7a0,_0x211396:0x740,_0x2d3797:0x79f,_0x3a9ea9:0x917,_0x25c114:0xacc,_0x1eee3d:0xa73,_0x19d1ca:0x9c3,_0x4134d3:0x40e,_0x43e977:0x692},_0x387b23={_0x1c51e5:0x30,_0x28afab:0x303},_0x124bd9={_0x3b9956:0x27,_0x37fce7:0x3c8};function _0x987614(_0x55dac0,_0x1499d1,_0xb77e08,_0x48cc22){return _0x28bc81(_0x55dac0-_0x124bd9._0x3b9956,_0x1499d1-0x1ab,_0x55dac0-_0x124bd9._0x37fce7,_0xb77e08);}function _0x1cb964(_0xb4624f,_0x2cce44,_0x41116d,_0x2209fc){return _0x28bc81(_0xb4624f-0x54,_0x2cce44-_0x387b23._0x1c51e5,_0x2209fc-_0x387b23._0x28afab,_0x2cce44);}return _0x4adf22['status']===_0x1cb964(_0x24ad6a._0x412230,0x869,0x790,_0x24ad6a._0x4594be)?this[_0x1cb964(_0x24ad6a._0x12186a,_0x24ad6a._0x2bc3f2,0x6fc,0x766)](_0x4adf22,_0x4adf22[_0x987614(_0x24ad6a._0x58a352,_0x24ad6a._0x211396,_0x24ad6a._0x2d3797,_0x24ad6a._0x3a9ea9)]??_0x987614(0x9ac,_0x24ad6a._0x25c114,_0x24ad6a._0x1eee3d,_0x24ad6a._0x19d1ca)):this['result'](_0x4adf22,_0x1cb964(0x3aa,_0x24ad6a._0x4134d3,_0x24ad6a._0x43e977,0x598));}[_0x5b2413(0x93b,0x809,0x802,0x8b8)](_0x3d85ad,_0x17f060){const _0x49091d={_0x27d7fe:0x6d8,_0x57011c:0x6ba,_0x510fde:0x253,_0x31aef5:0x365,_0x446eab:0x33c,_0x4fcb96:0x550,_0x13a140:0x39c},_0x120d64={_0x5ab909:0x104},_0x1bf582={_0x126749:0x8b,_0x1172f6:0x39};function _0x489d0b(_0x536f93,_0x30a672,_0x25e956,_0x53a249){return _0x5b2413(_0x536f93-_0x1bf582._0x126749,_0x30a672-_0x1bf582._0x1172f6,_0x25e956- -0x26d,_0x53a249);}function _0xbc49a0(_0x5f1e47,_0x415bd6,_0x194614,_0x1336be){return _0x28bc81(_0x5f1e47-0x1ad,_0x415bd6-_0x120d64._0x5ab909,_0x1336be- -0xc7,_0x415bd6);}return _0x3d85ad[_0x489d0b(_0x49091d._0x27d7fe,0x71a,0x50a,_0x49091d._0x57011c)]=_0x17f060,this[_0x489d0b(_0x49091d._0x510fde,0x169,0x33d,_0x49091d._0x31aef5)](_0x3d85ad,_0xbc49a0(_0x49091d._0x446eab,0x5b5,_0x49091d._0x4fcb96,_0x49091d._0x13a140));}[_0x5b2413(0x55d,0x51c,0x5aa,0x3eb)](_0x2b0a64,_0x1bacff){const _0x7694e9={_0x4b125e:0x3fa,_0x5c44be:0x100,_0x2f8c21:0x198,_0x566511:0x8f,_0x1087f9:0x257,_0x561311:0x3c,_0x161877:0xfd,_0x5dc352:0x27c,_0x58218e:0x94,_0x893f8a:0x362,_0x1ba64f:0x3b4},_0x536fdf={_0x499a04:0x5d9},_0x5798ca={_0x7c1e4b:0x11e,_0xbd8df9:0xbb,_0xadfd74:0x28a};function _0x5262c6(_0x394c92,_0x977e7e,_0x168471,_0x781aa9){return _0x28bc81(_0x394c92-_0x5798ca._0x7c1e4b,_0x977e7e-_0x5798ca._0xbd8df9,_0x394c92- -_0x5798ca._0xadfd74,_0x977e7e);}function _0x316052(_0x36f201,_0x14f605,_0xbbe126,_0x13ef39){return _0x5b2413(_0x36f201-0x1e4,_0x14f605-0xa9,_0x13ef39- -_0x536fdf._0x499a04,_0x36f201);}return{'shellId':_0x2b0a64[_0x316052(_0x7694e9._0x4b125e,_0x7694e9._0x5c44be,_0x7694e9._0x2f8c21,0x1e0)],'outcome':_0x1bacff,'status':_0x2b0a64[_0x316052(_0x7694e9._0x566511,-_0x7694e9._0x1087f9,-0x1cb,-_0x7694e9._0x561311)],'exitCode':_0x2b0a64[_0x316052(0x3ae,0x3d2,_0x7694e9._0x161877,_0x7694e9._0x5dc352)],'signal':_0x2b0a64[_0x5262c6(0x143,0x134,0xe7,-_0x7694e9._0x58218e)],'error':_0x2b0a64[_0x316052(-0x7f,0x20,-0x78,0x19e)],'gracefulRequested':_0x2b0a64['gracefulRequested'],'forceRequested':_0x2b0a64[_0x5262c6(0x240,_0x7694e9._0x893f8a,_0x7694e9._0x1ba64f,0x359)]};}['waitForTerminal'](_0x21454d,_0x15d70f){const _0x3fd88f={_0x47cb0e:0x1d1,_0x360d9a:0x2b1},_0x4795c7={_0x271680:0x8df,_0x1c3b53:0x89f},_0x3da974={_0x2a6449:0x237,_0x19d70b:0x5a},_0x126dca={_0x5e5444:0x2d6};function _0x17bbd2(_0x276f82,_0x5c7d99,_0x27a56e,_0x4ca489){return _0x5b2413(_0x276f82-0x92,_0x5c7d99-0xe9,_0x27a56e- -_0x126dca._0x5e5444,_0x5c7d99);}if(_0x21454d['terminalSettled'])return Promise[_0x17bbd2(_0x3fd88f._0x47cb0e,0x106,0x323,_0x3fd88f._0x360d9a)](!![]);return new Promise(_0x30f938=>{let _0x8040b4=![];const _0x462672=setTimeout(()=>{if(_0x8040b4)return;_0x8040b4=!![],_0x30f938(![]);},_0x15d70f);function _0x143ac4(_0x1c1854,_0x3e09a4,_0x8891cb,_0x1856db){return _0x17bbd2(_0x1c1854-0x174,_0x8891cb,_0x3e09a4-_0x3da974._0x2a6449,_0x1856db-_0x3da974._0x19d70b);}void _0x21454d[_0x143ac4(_0x4795c7._0x271680,0x88d,0x98a,_0x4795c7._0x1c3b53)]['then'](()=>{if(_0x8040b4)return;_0x8040b4=!![],clearTimeout(_0x462672),_0x30f938(!![]);});});}[_0x5b2413(0x6d4,0x915,0x7b4,0x66f)](_0x14bd19,_0x5806d1,_0x2f5916,_0x42a825){const _0x3bd841={_0x5d4976:0x59f,_0x22b580:0x2ff,_0x52dfa6:0x4b5,_0x501512:0x471,_0x2e6d5a:0x399,_0x4723b2:0x4aa,_0xdbf197:0x8c9,_0x345369:0x5b8,_0x443cf8:0x50b,_0x18d832:0x650,_0x275b1a:0x28f,_0x20777d:0x4ad},_0x25f1a2={_0x31d73e:0x133,_0x1b81d0:0xeb},_0x470b14={_0x8564ae:0x171,_0x43d4f6:0x190};function _0x54d5d4(_0x4afbcb,_0x5daf60,_0x507f34,_0x8fa1bb){return _0x28bc81(_0x4afbcb-_0x470b14._0x8564ae,_0x5daf60-_0x470b14._0x43d4f6,_0x8fa1bb-0xca,_0x507f34);}function _0x528bf4(_0x4839ff,_0x1e769d,_0x48581f,_0x505ec7){return _0x28bc81(_0x4839ff-_0x25f1a2._0x31d73e,_0x1e769d-0x1a6,_0x1e769d- -_0x25f1a2._0x1b81d0,_0x4839ff);}const _0x566a1d=_0x5806d1[_0x528bf4(_0x3bd841._0x5d4976,0x466,_0x3bd841._0x22b580,_0x3bd841._0x52dfa6)](_0x42a825);this[_0x528bf4(0x638,_0x3bd841._0x501512,_0x3bd841._0x2e6d5a,_0x3bd841._0x4723b2)](_0x14bd19,_0x14bd19[_0x54d5d4(_0x3bd841._0xdbf197,_0x3bd841._0x345369,_0x3bd841._0x443cf8,0x6d2)]?_0x2f5916[_0x528bf4(_0x3bd841._0x18d832,0x466,_0x3bd841._0x275b1a,_0x3bd841._0x20777d)](_0x566a1d):_0x566a1d);}[_0x5b2413(0x94d,0x7b4,0x7e7,0x925)](_0x5d423a){const _0x5695c3={_0x30c79f:0xa97,_0x2a559c:0x96f,_0x18a48f:0x834,_0xa2587c:0x1a1,_0x12cf23:0x2f3,_0x137d51:0x444,_0x12e3f3:0x4d5,_0x50a8e2:0x2b7},_0x916a9f={_0x1872ed:0xae},_0x34477c={_0x4b2622:0x9d};this[_0x28a2e0(_0x5695c3._0x30c79f,_0x5695c3._0x2a559c,_0x5695c3._0x18a48f,0xb2a)](_0x5d423a);function _0x28a2e0(_0x1ef68c,_0x461104,_0x5f594b,_0xa00c0c){return _0x28bc81(_0x1ef68c-0x17b,_0x461104-_0x34477c._0x4b2622,_0x461104-0x3e1,_0xa00c0c);}function _0x129c76(_0x2d0510,_0x140232,_0x4e7031,_0x3bf8d2){return _0x28bc81(_0x2d0510-0x1d1,_0x140232-0x19b,_0x140232-_0x916a9f._0x1872ed,_0x2d0510);}!_0x5d423a['terminalSettled']&&(_0x5d423a['terminalSettled']=!![],_0x5d423a[_0x129c76(_0x5695c3._0xa2587c,_0x5695c3._0x12cf23,0x39b,0x489)]()),this[_0x129c76(0x235,_0x5695c3._0x137d51,_0x5695c3._0x12e3f3,_0x5695c3._0x50a8e2)]();}[_0x5b2413(0x922,0x7a5,0x92d,0x99b)](_0x468029){const _0x37a394={_0xae864b:0x6ab,_0x5081a5:0x76e,_0x30625b:0x800,_0x164c74:0x5d0,_0xa98aef:0x66f,_0x32a99:0x6e2,_0x379656:0x4cb,_0x1f0ddc:0x4b6,_0x4ae27c:0x5ca,_0xb825d4:0x703,_0x19036c:0x414,_0x1277f5:0x689,_0x354df0:0x6dc,_0x329185:0x6a5,_0x510747:0x4a2,_0x15f69c:0x892,_0x2d2ab4:0x94b,_0x6aed12:0x4d4},_0x14d594={_0x2f4a61:0x177},_0x479725={_0x267100:0x119,_0x58571e:0x18d,_0x1d0fcc:0x54};if(_0x468029[_0x1a8c50(0x922,0x76e,_0x37a394._0xae864b,0x8a0)])return;_0x468029[_0x1a8c50(0x8cb,_0x37a394._0x5081a5,_0x37a394._0x30625b,_0x37a394._0x164c74)]=!![];function _0x2b4d78(_0x4307e3,_0x56ea86,_0x410798,_0x1af1e8){return _0x28bc81(_0x4307e3-_0x479725._0x267100,_0x56ea86-_0x479725._0x58571e,_0x4307e3-_0x479725._0x1d0fcc,_0x410798);}function _0x1a8c50(_0x44ac9c,_0x55404c,_0x32e9ed,_0x3dee9f){return _0x28bc81(_0x44ac9c-0x30,_0x55404c-0x27,_0x55404c-_0x14d594._0x2f4a61,_0x32e9ed);}const _0x12d95e=_0x468029['stdoutDecoder'][_0x2b4d78(0x582,0x464,0x53f,_0x37a394._0xa98aef)](),_0x4aedd8=_0x468029['stderrDecoder'][_0x1a8c50(_0x37a394._0x32a99,0x6a5,_0x37a394._0x379656,_0x37a394._0x1f0ddc)]();this[_0x1a8c50(_0x37a394._0x4ae27c,0x6d3,_0x37a394._0xb825d4,0x523)](_0x468029,_0x468029['stripAnsi']?_0x468029['stdoutNormalizer']['write'](_0x12d95e)+_0x468029[_0x1a8c50(0x5c7,0x4b8,_0x37a394._0x19036c,_0x37a394._0x1277f5)][_0x1a8c50(_0x37a394._0x354df0,_0x37a394._0x329185,_0x37a394._0x510747,0x5d5)]():_0x12d95e),this[_0x1a8c50(0x8b9,0x6d3,0x6e4,_0x37a394._0x15f69c)](_0x468029,_0x468029['stripAnsi']?_0x468029[_0x1a8c50(0x815,0x746,_0x37a394._0x2d2ab4,0x6a6)][_0x1a8c50(0x879,0x6c8,_0x37a394._0x6aed12,0x7fc)](_0x4aedd8)+_0x468029['stderrNormalizer']['end']():_0x4aedd8);}[_0x28bc81(0x72a,0x512,0x55c,0x598)](_0xa0872e,_0x5b473f){const _0x2ba3d3={_0x557030:0x221,_0x18e66b:0x185,_0x58406a:0x1cd,_0x3e2b67:0x2c0,_0x16f8f5:0x83,_0x9e86fa:0x2da,_0x3a1065:0x2ec,_0x1e571c:0x34f,_0x46549c:0x540,_0x38765e:0x39b,_0x31d0e5:0xcd,_0x551f95:0x11f,_0x57b003:0x34f,_0x16fe03:0x269,_0x137262:0x4f7,_0x1e2719:0x405,_0x4b0f0c:0x42f,_0x30450c:0x1af,_0x43d066:0x129,_0x1fa43a:0xc2,_0x3257bc:0x277,_0x740846:0x43b,_0x3899cb:0x2b0,_0x3278db:0xc4,_0x148498:0x14c,_0x52142e:0x2dd,_0x1223f1:0x366,_0x51d686:0x305,_0x13456a:0x325,_0x1d12e8:0x340,_0x416cf2:0x3dd,_0x343d23:0x2,_0x47b8b5:0x2db,_0x4c066b:0x33c,_0x5177ff:0x12b},_0x5a86ff={_0x4fe6b8:0x599},_0x2f6a0e={_0x429ecf:0x173,_0x245e98:0x5c3};if(_0x5b473f[_0x180a7e(0x325,0x3db,_0x2ba3d3._0x557030,0x10d)]===0x0)return;function _0x180a7e(_0x47e10c,_0x5858ba,_0x3f1533,_0x12a836){return _0x5b2413(_0x47e10c-0x14e,_0x5858ba-_0x2f6a0e._0x429ecf,_0x47e10c- -_0x2f6a0e._0x245e98,_0x12a836);}_0xa0872e[_0x180a7e(_0x2ba3d3._0x18e66b,_0x2ba3d3._0x58406a,0x362,_0x2ba3d3._0x3e2b67)][_0x180a7e(0x192,0x11e,0x138,_0x2ba3d3._0x16f8f5)](_0x5b473f);function _0x94114(_0x50955b,_0x5d986e,_0xfbdf9a,_0x16b995){return _0x5b2413(_0x50955b-0x93,_0x5d986e-0x16e,_0x50955b- -_0x5a86ff._0x4fe6b8,_0x5d986e);}_0xa0872e[_0x94114(_0x2ba3d3._0x9e86fa,0x460,0x492,_0x2ba3d3._0x3a1065)]+=_0x5b473f[_0x94114(_0x2ba3d3._0x1e571c,_0x2ba3d3._0x46549c,_0x2ba3d3._0x38765e,0x2f7)],_0xa0872e[_0x94114(0x1c1,_0x2ba3d3._0x31d0e5,0x49,_0x2ba3d3._0x551f95)]+=_0x5b473f[_0x94114(_0x2ba3d3._0x57b003,0x2c8,_0x2ba3d3._0x16fe03,_0x2ba3d3._0x137262)];while(_0xa0872e[_0x94114(_0x2ba3d3._0x9e86fa,0x105,0x2b9,0x230)]>this['capChars']){const _0x23b519=_0xa0872e['bufferChars']-this[_0x94114(_0x2ba3d3._0x1e2719,0x372,0x2a9,0x476)],_0x77e4a4=_0xa0872e['buffer'][0x0];if(_0x77e4a4===void 0x0)break;_0x77e4a4[_0x180a7e(0x325,0x44b,_0x2ba3d3._0x4b0f0c,0x522)]<=_0x23b519?(_0xa0872e[_0x94114(_0x2ba3d3._0x30450c,0x3ba,_0x2ba3d3._0x43d066,_0x2ba3d3._0x1fa43a)][_0x180a7e(0x2b6,_0x2ba3d3._0x3257bc,_0x2ba3d3._0x16fe03,_0x2ba3d3._0x740846)](),_0xa0872e[_0x180a7e(_0x2ba3d3._0x3899cb,0xc2,_0x2ba3d3._0x3278db,0x2b2)]-=_0x77e4a4[_0x180a7e(0x325,0x3b3,_0x2ba3d3._0x148498,_0x2ba3d3._0x52142e)],_0xa0872e[_0x94114(_0x2ba3d3._0x1223f1,_0x2ba3d3._0x51d686,0x1ba,0x38d)]+=_0x77e4a4[_0x180a7e(_0x2ba3d3._0x13456a,_0x2ba3d3._0x1d12e8,_0x2ba3d3._0x416cf2,0x287)]):(_0xa0872e[_0x94114(0x1af,0x124,-_0x2ba3d3._0x343d23,0x221)][0x0]=_0x77e4a4[_0x94114(_0x2ba3d3._0x47b8b5,0x229,0x3a7,_0x2ba3d3._0x3e2b67)](_0x23b519),_0xa0872e['bufferChars']-=_0x23b519,_0xa0872e[_0x180a7e(_0x2ba3d3._0x4c066b,0x2cc,_0x2ba3d3._0x5177ff,0x3d4)]+=_0x23b519);}}[_0x5b2413(0x86d,0x936,0x735,0x91e)](){const _0x1a9b1d={_0xacfe51:0x433,_0x39451b:0x58c,_0x2c56bd:0x589,_0x163211:0x263,_0x101a12:0x577,_0x1daac6:0x27a,_0x2b6227:0x2d2,_0x104fa3:0x15c,_0x4fa7d0:0x300,_0x5f14a7:0x4bb,_0xe46f35:0x551,_0x1adb0d:0x2c8,_0x14e054:0x1c1,_0x193735:0x1c2,_0x489406:0x622},_0x1a71c8={_0x1c9bd7:0x192,_0x3846ca:0x1cd};function _0x3f5da6(_0x14a15a,_0x5485df,_0x4c0e9f,_0x2741e1){return _0x28bc81(_0x14a15a-_0x1a71c8._0x1c9bd7,_0x5485df-_0x1a71c8._0x3846ca,_0x5485df-0x1bb,_0x2741e1);}function _0x342fa7(_0x1807df,_0x26833e,_0x177c34,_0x2ac355){return _0x5b2413(_0x1807df-0x107,_0x26833e-0x162,_0x1807df- -0x37d,_0x26833e);}while(this[_0x3f5da6(0x387,0x46b,_0x1a9b1d._0xacfe51,0x493)]['size']>this[_0x342fa7(_0x1a9b1d._0x39451b,0x619,_0x1a9b1d._0x2c56bd,0x4fe)]){const _0x17ab5f=[...this[_0x3f5da6(_0x1a9b1d._0x163211,0x46b,_0x1a9b1d._0x101a12,0x5ef)][_0x342fa7(_0x1a9b1d._0x1daac6,0xef,_0x1a9b1d._0x2b6227,_0x1a9b1d._0x104fa3)]()][_0x342fa7(0x4a7,_0x1a9b1d._0x4fa7d0,_0x1a9b1d._0x5f14a7,_0x1a9b1d._0xe46f35)](_0x337912=>_0x337912[_0x342fa7(0x219,0x328,0x1ec,0x9b)]&&isTerminalStatus(_0x337912[_0x342fa7(0x220,0x328,0x23c,0x3df)]))[_0x3f5da6(0x54c,0x483,0x2e5,_0x1a9b1d._0x1adb0d)]((_0x57897d,_0x24cfdf)=>_0x57897d[_0x3f5da6(0x321,0x4c4,0x3fb,0x6d3)]-_0x24cfdf[_0x342fa7(0x32b,0x345,0x433,0x120)])[0x0];if(!_0x17ab5f)return;this[_0x342fa7(0x2d2,_0x1a9b1d._0x14e054,_0x1a9b1d._0x193735,0x4ba)]['delete'](_0x17ab5f[_0x342fa7(0x43c,0x31f,0x61f,_0x1a9b1d._0x489406)]);}}};function createBashOutputTool(_0x4a619e){const _0x372fe0={_0xf93b86:0x739,_0x289ab6:0x787,_0x346e24:0x990,_0xbf8b4e:0x751,_0x1bdc29:0x602,_0x5c46c2:0x5cd,_0x2ee25d:0x470,_0x3c2ba1:0x67e,_0x1604d1:0x4e1,_0x5a2912:0x5f4,_0x240968:0x4d2,_0x105c8f:0x54d},_0x18ec29={_0x680779:0x8a4,_0x57c34b:0x96f,_0xbc1a25:0xfa,_0x3019f5:0x226,_0x405070:0x43d,_0x43df02:0x15a,_0x436e75:0x88,_0x48168f:0x98d,_0x20d22a:0x768,_0x284c71:0x702,_0x4fd3a8:0x7a3,_0x441c64:0x746,_0x28472:0x587,_0x1f4985:0x153,_0x1cc50b:0xde},_0x3907f2={_0x218d40:0x1f0},_0x54da5f={_0xe15c18:0x5d,_0x3542bd:0x1da},_0x13a099={_0x15cc8f:0x39d};function _0x5bf7e1(_0x1cd4e7,_0x1cb7bf,_0x25c206,_0x2ed882){return _0x28bc81(_0x1cd4e7-0x84,_0x1cb7bf-0x24,_0x1cd4e7-_0x13a099._0x15cc8f,_0x25c206);}const {registry:_0xcadb65}=_0x4a619e;function _0x24de73(_0x5b6e89,_0x1b75d0,_0x1768df,_0x6003a2){return _0x28bc81(_0x5b6e89-0xcb,_0x1b75d0-_0x54da5f._0xe15c18,_0x5b6e89-_0x54da5f._0x3542bd,_0x1b75d0);}return defineTool({'name':_0x5bf7e1(_0x372fe0._0xf93b86,0x8e0,0x91f,_0x372fe0._0x289ab6),'permissionClass':_0x5bf7e1(0x8f3,_0x372fe0._0x346e24,_0x372fe0._0xbf8b4e,0x784),'description':'Read\x20new\x20output\x20from\x20a\x20background\x20process\x20started\x20with\x20Bash(runInBackground:true).\x20Returns\x20output\x20produced\x20since\x20the\x20last\x20read;\x20optionally\x20filter\x20lines\x20by\x20a\x20regex.','inputSchema':{'type':_0x5bf7e1(_0x372fe0._0x1bdc29,0x57f,0x413,_0x372fe0._0x5c46c2),'properties':{'shellId':{'type':_0x24de73(_0x372fe0._0x2ee25d,_0x372fe0._0x3c2ba1,0x3fc,0x57a)},'regex':{'type':_0x5bf7e1(0x633,0x78b,_0x372fe0._0x1604d1,0x737)}},'required':[_0x24de73(_0x372fe0._0x5a2912,_0x372fe0._0x240968,_0x372fe0._0x105c8f,0x466)]},async *'execute'(_0x35e754){const _0x3a05e7={_0x3e4f48:0x53d,_0x4c98e5:0x85,_0x295e22:0xf6};function _0x3432b0(_0x498a3c,_0x4223bb,_0x55756a,_0x50fb4d){return _0x5bf7e1(_0x50fb4d- -0x14,_0x4223bb-0x1e7,_0x55756a,_0x50fb4d-_0x3907f2._0x218d40);}function _0x51f87f(_0x488188,_0x432c8f,_0x711f2e,_0xa9afe2){return _0x24de73(_0x711f2e- -_0x3a05e7._0x3e4f48,_0xa9afe2,_0x711f2e-_0x3a05e7._0x4c98e5,_0xa9afe2-_0x3a05e7._0x295e22);}const _0x57f8be=_0xcadb65['read'](_0x35e754[_0x3432b0(_0x18ec29._0x680779,0x6af,_0x18ec29._0x57c34b,0x7a3)],_0x35e754['regex']?{'regex':_0x35e754[_0x51f87f(_0x18ec29._0xbc1a25,0x33d,_0x18ec29._0x3019f5,_0x18ec29._0x405070)]}:void 0x0);return createToolOutput(_0x57f8be[_0x51f87f(_0x18ec29._0x43df02,-0xeb,-_0x18ec29._0x436e75,-0x68)],{'shellId':_0x35e754[_0x3432b0(_0x18ec29._0x48168f,_0x18ec29._0x20d22a,_0x18ec29._0x284c71,_0x18ec29._0x4fd3a8)],'status':_0x57f8be[_0x3432b0(0x5c4,_0x18ec29._0x441c64,0x717,_0x18ec29._0x28472)],'exitCode':_0x57f8be[_0x51f87f(0xf7,0xee,_0x18ec29._0x1f4985,0x79)],'signal':_0x57f8be[_0x51f87f(_0x18ec29._0x1cc50b,-0xfb,0x6a,-0x11b)],'error':_0x57f8be['error'],'truncated':_0x57f8be['truncated']});}});}import{spawn as _0x56d76b}from'child_process';import{realpathSync,statSync}from'fs';import*as _0x16433e from'os';import*as _0x4b8ae0 from'path';import{StringDecoder as _0x2d4ce9}from'string_decoder';import{spawn as _0x8eb15b}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException2(_0x48095c){return _0x48095c instanceof Error;}function resolveCarriageReturns(_0x1a42a1){const _0x21b733={_0x4b93b1:0x378,_0x1e8ea8:0x3ba,_0xe029b3:0x564},_0x2b3358={_0x3a619d:0x167,_0x3ee9ee:0x326,_0x1cb11a:0x1c8,_0x351013:0x33a,_0xf600ce:0x259,_0x33b953:0x3aa,_0x21403e:0x5c0,_0x4e669a:0x6c2,_0x349d15:0x33a},_0x364f0f={_0x2cbda3:0x24f,_0x331ca3:0x4},_0x23e0b2={_0x2d689c:0x82},_0x4342b3={_0x18685c:0x1bb,_0x1636f3:0x19e,_0x5bbfcb:0x2ea},_0x22da53={_0x457dde:0x9,_0x274adb:0x264};function _0x3da182(_0x37e8bd,_0x19ae4f,_0x39b9fa,_0x30cc58){return _0x28bc81(_0x37e8bd-_0x22da53._0x457dde,_0x19ae4f-0x80,_0x19ae4f-_0x22da53._0x274adb,_0x39b9fa);}function _0x4d66f0(_0x55f065,_0x5db37c,_0x542b82,_0x338e66){return _0x28bc81(_0x55f065-_0x4342b3._0x18685c,_0x5db37c-_0x4342b3._0x1636f3,_0x55f065- -_0x4342b3._0x5bbfcb,_0x542b82);}return _0x1a42a1['split']('\x0a')[_0x4d66f0(0x2e7,_0x21b733._0x4b93b1,_0x21b733._0x1e8ea8,0x22e)](_0x3d675b=>{function _0x408d6e(_0x3b0266,_0x2286e3,_0x4753fa,_0x364a51){return _0x4d66f0(_0x3b0266-0x2b7,_0x2286e3-_0x23e0b2._0x2d689c,_0x4753fa,_0x364a51-0x117);}if(!_0x3d675b[_0x3485cb(_0x2b3358._0x3a619d,_0x2b3358._0x3ee9ee,_0x2b3358._0x1cb11a,_0x2b3358._0x351013)]('\x0d'))return _0x3d675b;function _0x3485cb(_0x2258ba,_0x4cf10d,_0x239559,_0x523b03){return _0x4d66f0(_0x4cf10d-_0x364f0f._0x2cbda3,_0x4cf10d-_0x364f0f._0x331ca3,_0x2258ba,_0x523b03-0x1e4);}const _0x331eee=_0x3d675b[_0x3485cb(_0x2b3358._0xf600ce,_0x2b3358._0x33b953,0x343,0x41e)]('\x0d');return _0x331eee[_0x331eee[_0x408d6e(0x516,_0x2b3358._0x21403e,_0x2b3358._0x4e669a,_0x2b3358._0x349d15)]-0x1]??'';})[_0x3da182(_0x21b733._0xe029b3,0x6c1,0x8d9,0x84c)]('\x0a');}function resolveBackspaces(_0x533f3e){const _0x3ace09={_0x38c5b1:0x143,_0x587dbb:0x31f,_0x1c73de:0x1fb,_0x4a6f6b:0x164,_0x314728:0x23c,_0x242074:0x6b,_0x485da2:0x1cd},_0x395f9e={_0x3649f2:0x41,_0x4f3df7:0x9b},_0x8f5b12={_0x5d444e:0x98,_0x157316:0x6ea};function _0x1392fc(_0xe9ae2c,_0x19c482,_0x461684,_0x2d1791){return _0x5b2413(_0xe9ae2c-_0x8f5b12._0x5d444e,_0x19c482-0x99,_0x19c482- -_0x8f5b12._0x157316,_0x461684);}const _0xfcf54d=[];for(const _0x90ad59 of Array[_0x1392fc(-0x1f1,-_0x3ace09._0x38c5b1,-_0x3ace09._0x587dbb,-0x1b8)](_0x533f3e)){_0x90ad59==='\x08'?_0xfcf54d[_0x5a6c30(-_0x3ace09._0x1c73de,-0x9a,-_0x3ace09._0x4a6f6b,-_0x3ace09._0x314728)]():_0xfcf54d[_0x1392fc(0x1c9,_0x3ace09._0x242074,-0x1b8,0x177)](_0x90ad59);}function _0x5a6c30(_0x4fbbf6,_0x3ac6d2,_0x58980d,_0x1acdcc){return _0x5b2413(_0x4fbbf6-_0x395f9e._0x3649f2,_0x3ac6d2-_0x395f9e._0x4f3df7,_0x3ac6d2- -0x62f,_0x1acdcc);}return _0xfcf54d[_0x5a6c30(-0xc,_0x3ace09._0x485da2,0x379,0x392)]('');}function stripAnsiAndControls(_0x150148){const _0xc62652={_0x259c23:0x5bb,_0x486902:0x44,_0x32650c:0x8a,_0x3f71cb:0x161,_0x5dad72:0x3c0,_0x51cfa3:0x37d,_0x45c926:0x72,_0x9d18a:0x2a6,_0x419f92:0xbe,_0x54dacb:0x24b,_0x278c3a:0x48b,_0x36f32:0x40f,_0x240b0b:0x48b,_0x27b1a3:0x67c,_0x2290c8:0x69e},_0x4d4b0b={_0x1f90e6:0x90},_0x3b74f9={_0x421f7e:0x111};_0x150148=resolveCarriageReturns(_0x150148);function _0x44c98d(_0x216aea,_0x2b340c,_0xa291a0,_0x3ec06b){return _0x5b2413(_0x216aea-_0x3b74f9._0x421f7e,_0x2b340c-0x11b,_0xa291a0- -0x579,_0x2b340c);}_0x150148=resolveBackspaces(_0x150148),_0x150148=stripVTControlCharacters(_0x150148);const _0x1ae80a='\x1b',_0x361030='\x07';_0x150148=_0x150148['replace'](new RegExp(_0x44c98d(0x3b0,0x49e,0x3fb,_0xc62652._0x259c23)+_0x361030+_0x44c98d(-_0xc62652._0x486902,-0x29,_0xc62652._0x32650c,-_0xc62652._0x3f71cb)+_0x361030,'g'),'');function _0x50fa45(_0x4a8b97,_0x51a661,_0x21f6a0,_0x5c1f41){return _0x28bc81(_0x4a8b97-0x1bf,_0x51a661-_0x4d4b0b._0x1f90e6,_0x21f6a0- -0xcc,_0x4a8b97);}return _0x150148=_0x150148['replace'](new RegExp(_0x50fa45(_0xc62652._0x5dad72,0x18c,_0xc62652._0x51cfa3,0x43d)+_0x1ae80a+'\x5c\x5c','g'),''),_0x150148=_0x150148['replace'](new RegExp(_0x361030,'g'),''),_0x150148=_0x150148[_0x44c98d(0x423,0x4b0,_0xc62652._0x51cfa3,0x4cd)](new RegExp(_0x1ae80a+_0x44c98d(-_0xc62652._0x45c926,_0xc62652._0x9d18a,_0xc62652._0x419f92,_0xc62652._0x54dacb)+_0x1ae80a+'\x5c\x5c','g'),''),_0x150148=_0x150148[_0x50fa45(0x509,0x5a6,_0xc62652._0x278c3a,_0xc62652._0x36f32)](new RegExp(_0x1ae80a+'[=>7-8()]','g'),''),_0x150148=_0x150148['replace'](/[\u0080-\u009F]/g,''),_0x150148=_0x150148[_0x50fa45(0x271,0x4ad,_0xc62652._0x240b0b,_0xc62652._0x27b1a3)](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x150148=_0x150148[_0x50fa45(0x2e5,0x501,0x48b,_0xc62652._0x2290c8)](/[\u23CE\u2424]/g,''),_0x150148;}function killProcessGroup(_0x4f9c5d,_0x9911e9,_0x336010=_0x28bc81(0x60b,0x684,0x566,0x41e)){const _0x5ee301={_0x4ed045:0x3ac,_0x4aef2e:0x2ec,_0x2db3ff:0x435,_0x7b2efd:0x1c6,_0x24e2ad:0x323,_0xfef93c:0x48b,_0x579078:0x71f,_0x5dc646:0x45f,_0x12dfbb:0x7d0,_0x29725b:0x409,_0x2bdbef:0x527,_0x5a3314:0x5f8,_0x37470a:0x500,_0x4bfbc8:0x3a3,_0x2c9d83:0x78a,_0x5ae9cc:0x6a9,_0x1feca5:0x816,_0xdc6d53:0x9dd,_0x262650:0x7f6,_0x178285:0x42d,_0x4b1136:0x577,_0x4276ac:0x3a3},_0x5096d2={_0x1cd12e:0x4f};if(!_0x4f9c5d[_0x3d255c(_0x5ee301._0x4ed045,_0x5ee301._0x4aef2e,_0x5ee301._0x2db3ff,0x4f0)])return;function _0x5356de(_0x5d3736,_0x184b68,_0x488013,_0xf3f3c7){return _0x5b2413(_0x5d3736-0x1da,_0x184b68-0x29,_0xf3f3c7- -0x164,_0x5d3736);}if(_0x9911e9)try{_0x8eb15b(_0x3d255c(_0x5ee301._0x7b2efd,0x1ed,0x4d3,_0x5ee301._0x24e2ad),[_0x5356de(_0x5ee301._0xfef93c,_0x5ee301._0x579078,_0x5ee301._0x5dc646,0x5be),_0x4f9c5d['pid'][_0x5356de(0x719,_0x5ee301._0x12dfbb,_0x5ee301._0x29725b,0x5db)](),'/T','/F'],{'stdio':_0x5356de(0x51d,0x43a,_0x5ee301._0x2bdbef,_0x5ee301._0x5a3314)});return;}catch{_0x4f9c5d[_0x3d255c(0x52d,0x418,_0x5ee301._0x37470a,_0x5ee301._0x4bfbc8)](_0x336010);return;}function _0x3d255c(_0x4ac80d,_0x8fed74,_0x3069fc,_0x2f101a){return _0x28bc81(_0x4ac80d-_0x5096d2._0x1cd12e,_0x8fed74-0x54,_0x2f101a- -0xcb,_0x3069fc);}try{process[_0x5356de(0x6c0,0x78f,_0x5ee301._0x2c9d83,_0x5ee301._0x5ae9cc)](-_0x4f9c5d[_0x5356de(_0x5ee301._0x1feca5,0x71b,_0x5ee301._0xdc6d53,_0x5ee301._0x262650)],_0x336010);}catch{_0x4f9c5d[_0x3d255c(_0x5ee301._0x178285,_0x5ee301._0x4b1136,0x1a9,_0x5ee301._0x4276ac)](_0x336010);}}var DEFAULT_TIMEOUT_MS=0x7530,DEFAULT_DESCRIPTION=_0x5b2413(0x8a1,0xa43,0x83e,0x71d)+DEFAULT_TIMEOUT_MS+'ms.';function buildChildEnv(_0x2a6e9e,_0x45b98f,_0x253f89){const _0x2ae44e={_0x3c7eba:0x3fa,_0x5808ba:0x4ae,_0x50a94a:0x3d4,_0x43067d:0x58c,_0x3e1cc3:0x188,_0xbcd0c1:0x169,_0x561f67:0x35b,_0x4c781f:0x312,_0x1cec36:0x4f6,_0x15b6fc:0x25a,_0x1ff478:0x325,_0x5dba59:0x3d1};function _0x47c622(_0x479ec2,_0x511b5f,_0x594220,_0x482889){return _0x5b2413(_0x479ec2-0x1e3,_0x511b5f-0x1c3,_0x482889- -0x242,_0x594220);}const _0x2a3fb5={...process['env'],..._0x2a6e9e??{}};function _0x51e033(_0x56d851,_0x21ee8a,_0x9d1e71,_0x6215ee){return _0x5b2413(_0x56d851-0x136,_0x21ee8a-0xc8,_0x56d851- -0x58d,_0x6215ee);}if(_0x16433e['platform']()==='win32'){const _0x11ad35=new Set(_0x45b98f['map'](_0x566a7d=>_0x566a7d[_0x47c622(0x5da,0x52b,0x3e2,0x4d3)]()));for(const _0x2980ea of Object[_0x47c622(_0x2ae44e._0x3c7eba,0x457,_0x2ae44e._0x5808ba,_0x2ae44e._0x50a94a)](_0x2a3fb5)){if(_0x11ad35[_0x47c622(0x5ad,0x3ff,_0x2ae44e._0x43067d,0x468)](_0x2980ea[_0x51e033(_0x2ae44e._0x3e1cc3,0x3ab,_0x2ae44e._0xbcd0c1,0x4c)]()))delete _0x2a3fb5[_0x2980ea];}}else{for(const _0xc9a740 of _0x45b98f)delete _0x2a3fb5[_0xc9a740];if(_0x253f89[_0x51e033(_0x2ae44e._0x561f67,0x384,0x18d,_0x2ae44e._0x4c781f)]>0x0)for(const _0x5d8458 of Object[_0x47c622(_0x2ae44e._0x1cec36,0x513,_0x2ae44e._0x15b6fc,_0x2ae44e._0x50a94a)](_0x2a3fb5)){_0x253f89[_0x51e033(_0x2ae44e._0x1ff478,0x42e,_0x2ae44e._0x5dba59,0x4f6)](_0x59090b=>_0x5d8458[_0x51e033(0xf0,0x8c,-0x12d,-0xe9)](_0x59090b))&&delete _0x2a3fb5[_0x5d8458];}}return _0x2a3fb5;}function mapSpawnError(_0x29b01d,_0x37e995){const _0x125056={_0x35c599:0x769,_0x34321a:0x54a,_0x2f616a:0x6af,_0x3af969:0x857,_0x65b900:0x53a,_0x22c62a:0x381,_0x8fd03:0x6fc,_0x299771:0x7ae,_0x21b187:0x640,_0x42a2ca:0x63f},_0x3859a2={_0x2717cf:0x4,_0x225a3c:0x2cc},_0x3afe79={_0x247182:0x122};function _0xb7ef4(_0x3317de,_0x7b3aa,_0xad2adf,_0x5b99ec){return _0x28bc81(_0x3317de-_0x3afe79._0x247182,_0x7b3aa-0xfe,_0x3317de-0x1d0,_0x7b3aa);}function _0x8f5d3c(_0xe316b5,_0x5ace93,_0x15bb0d,_0x4394c1){return _0x5b2413(_0xe316b5-_0x3859a2._0x2717cf,_0x5ace93-0x6d,_0xe316b5- -_0x3859a2._0x225a3c,_0x15bb0d);}if(isErrnoException2(_0x29b01d)&&_0x29b01d[_0xb7ef4(_0x125056._0x35c599,0x904,_0x125056._0x34321a,0x5e8)]==='ENOENT')return new ToolExecutionError(_0x8f5d3c(_0x125056._0x2f616a,0x873,_0x125056._0x3af969,0x4df)+_0x37e995[_0xb7ef4(_0x125056._0x65b900,0x53e,_0x125056._0x22c62a,_0x125056._0x8fd03)],_0x37e995);return new ToolExecutionError(_0x29b01d instanceof Error?_0x29b01d[_0xb7ef4(_0x125056._0x299771,_0x125056._0x21b187,0x7d2,_0x125056._0x42a2ca)]:String(_0x29b01d),_0x37e995);}function shellExists(_0x323f93){try{const _0x515850=statSync(_0x323f93);return _0x515850['isFile']()&&(_0x515850['mode']&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x1585a2){const _0x3298a6={_0x439ae3:0x1c9,_0x1ae81e:0xa5,_0x2a7344:0x11e,_0x1c384d:0x5c,_0x591c0b:0x17c,_0x4d0fab:0x33a,_0x5e0ced:0x621,_0x51f251:0x26,_0x34c7b4:0x242},_0x2bbdda={_0x492682:0x267},_0x4553bf={_0x41eb3e:0x163,_0xbcc0a1:0x693};if(_0x1585a2)return _0x1585a2;if(_0x16433e[_0x2e3ccb(0xd5,_0x3298a6._0x439ae3,0x100,0x2f7)]()==='win32')return process[_0x2e3ccb(-0x26,-0x34,_0x3298a6._0x1ae81e,-_0x3298a6._0x2a7344)]['ComSpec']||'cmd.exe';const _0x3ccb4a=[_0x2e3ccb(_0x3298a6._0x1c384d,0x104,-_0x3298a6._0x591c0b,0x1db),_0x30dc7c(0x2c3,0x3a4,0x45a,0x54e),_0x30dc7c(0x4d1,_0x3298a6._0x4d0fab,0x52a,0x6ac),_0x30dc7c(0x4e5,_0x3298a6._0x5e0ced,0x524,0x36e)];for(const _0x5975ff of _0x3ccb4a){if(shellExists(_0x5975ff))return _0x5975ff;}const _0x2588be=process[_0x2e3ccb(-_0x3298a6._0x51f251,-0x91,-_0x3298a6._0x34c7b4,0x1f0)][_0x2e3ccb(0x221,0x13e,0x1d5,0x2a7)];if(_0x2588be&&shellExists(_0x2588be))return _0x2588be;function _0x2e3ccb(_0x1a39a6,_0x3b47fc,_0x43eca8,_0x294efc){return _0x5b2413(_0x1a39a6-_0x4553bf._0x41eb3e,_0x3b47fc-0xb9,_0x1a39a6- -_0x4553bf._0xbcc0a1,_0x294efc);}function _0x30dc7c(_0x10d863,_0x346698,_0x47fbd3,_0x1c55a2){return _0x28bc81(_0x10d863-0x85,_0x346698-0x1a8,_0x47fbd3-_0x2bbdda._0x492682,_0x10d863);}return'/bin/bash';}function buildShellArgs(_0x477f2a,_0x628830){const _0x3aaae8={_0x10e502:0x767,_0x3b70e4:0x870,_0x5986bd:0x230,_0x257450:0x64f,_0x361ccd:0x3f7,_0x5a78bb:0x2d5,_0x2c3588:0x6cb,_0x2dff5d:0x6ca,_0x3f9b27:0x57f,_0xb78fc9:0x4e1,_0x279b50:0x58b},_0x1061b1={_0x3c9a4a:0x184,_0x2652bd:0x9b,_0x3c09f6:0x30d},_0x742a83={_0xbba4fc:0x1aa,_0x3f9dd0:0x57,_0x54bdc7:0x2ce};function _0x2febc3(_0x36feb4,_0x2584dd,_0x50d57e,_0x6f49b6){return _0x5b2413(_0x36feb4-_0x742a83._0xbba4fc,_0x2584dd-_0x742a83._0x3f9dd0,_0x36feb4- -_0x742a83._0x54bdc7,_0x50d57e);}if(_0x16433e['platform']()===_0x230c45(0x904,0x93b,_0x3aaae8._0x10e502,_0x3aaae8._0x3b70e4)){const _0x1f3f21=/cmd(\.exe)?$/i[_0x2febc3(0x446,0x5ec,_0x3aaae8._0x5986bd,_0x3aaae8._0x257450)](_0x628830);return _0x1f3f21?['/d','/s','/c',_0x477f2a]:[_0x2febc3(_0x3aaae8._0x361ccd,0x1fc,0x355,_0x3aaae8._0x5a78bb),_0x2febc3(_0x3aaae8._0x2c3588,_0x3aaae8._0x2dff5d,0x668,_0x3aaae8._0x3f9b27),_0x230c45(_0x3aaae8._0xb78fc9,0x651,_0x3aaae8._0x279b50,0x491),_0x477f2a];}function _0x230c45(_0x11a3d4,_0x54eeb2,_0x52b050,_0x5cb987){return _0x28bc81(_0x11a3d4-_0x1061b1._0x3c9a4a,_0x54eeb2-_0x1061b1._0x2652bd,_0x52b050-_0x1061b1._0x3c09f6,_0x5cb987);}return['-c',_0x477f2a];}function resolveWorkingDirectory(_0x54101e,_0x582b18,_0x452899){const _0x39e2be={_0x30872a:0x1f0,_0x393adb:0xac,_0x230efa:0x2a9,_0x44889e:0x3fd,_0x59f6a9:0x25b,_0x3e7c89:0x23f,_0x2c5cf1:0x1c5},_0x21e885={_0x2097af:0x9f,_0x260359:0x38,_0x20faa2:0x4e8,_0x1ebfc6:0x65e},_0x1c3065={_0x3dd80c:0x376};function _0x4fbec2(_0x386052,_0x28a1a2,_0x107645,_0x1680a7){return _0x28bc81(_0x386052-0x195,_0x28a1a2-0x19c,_0x1680a7- -_0x1c3065._0x3dd80c,_0x386052);}const _0x487f5e=resolveAllowedPath(_0x582b18,_0x452899,_0x54101e??'.');function _0x422948(_0x1d4b5c,_0x570ec4,_0x4e0009,_0x1cfbdd){return _0x28bc81(_0x1d4b5c-0x12d,_0x570ec4-0xc2,_0x1d4b5c- -0x198,_0x4e0009);}try{const _0x566ed9=statSync(_0x487f5e);if(!_0x566ed9[_0x422948(_0x39e2be._0x30872a,0x1ee,_0x39e2be._0x393adb,_0x39e2be._0x230efa)]())throw new ToolExecutionError(_0x422948(0x262,0x36b,0x45d,0x13a)+_0x487f5e,{'cwd':_0x487f5e});const _0x133650=realpathSync(_0x487f5e),_0x5d62da=realpathSync(_0x582b18),_0x485ec5=_0x452899[_0x4fbec2(_0x39e2be._0x44889e,0x2a4,0xc9,_0x39e2be._0x59f6a9)](_0x5c05b1=>{const _0x2398a1={_0x341aa6:0x134};function _0x29cb30(_0x4abffe,_0x3a8182,_0x3ae7e3,_0x4c6fa3){return _0x422948(_0x3ae7e3-0x59c,_0x3a8182-0x13a,_0x4abffe,_0x4c6fa3-_0x2398a1._0x341aa6);}function _0x4c6d57(_0x39033b,_0xca2c06,_0xb3a04f,_0x51b1d8){return _0x422948(_0xca2c06- -0xfa,_0xca2c06-0x59,_0xb3a04f,_0x51b1d8-0xed);}try{return realpathSync(_0x4b8ae0[_0x4c6d57(-_0x21e885._0x2097af,-_0x21e885._0x260359,-0xd1,-0x1bb)](_0x5c05b1));}catch{return _0x4b8ae0[_0x29cb30(_0x21e885._0x20faa2,0x6db,_0x21e885._0x1ebfc6,0x54b)](_0x5c05b1);}});return resolveAllowedPath(_0x5d62da,_0x485ec5,_0x133650);}catch(_0x84e6bc){if(_0x84e6bc instanceof ToolExecutionError)throw _0x84e6bc;throw new ToolExecutionError(_0x4fbec2(_0x39e2be._0x3e7c89,_0x39e2be._0x2c5cf1,0x1b5,0x85)+_0x487f5e,{'cwd':_0x487f5e});}}function resolveBashExecutionTarget(_0xd5ffeb,_0xd431a0={}){const _0xcdeeb1={_0x4ae0f3:0x2f0,_0x3b2c97:0x223,_0x56350d:0x3e1,_0x2e346e:0x533,_0x1b5594:0x6b7,_0x1c1772:0x4cd,_0x468553:0x40e,_0x1b4b14:0x739,_0x12640a:0x55b,_0x322917:0x348,_0x2d7959:0x79a,_0x11815c:0x4f5,_0x45f5c0:0x678},_0x98fc1d={_0x2bb82b:0x161,_0x1fa407:0xe5},_0x4e9457={_0x2f232f:0x6f,_0x193a8c:0x16a,_0x2bbbdd:0x4d},_0x56f7b7=_0x4b8ae0['resolve'](_0xd431a0[_0x38e035(_0xcdeeb1._0x4ae0f3,_0xcdeeb1._0x3b2c97,_0xcdeeb1._0x56350d,_0xcdeeb1._0x2e346e)]??process[_0x2aca74(0x4e5,_0xcdeeb1._0x1b5594,0x5b9,_0xcdeeb1._0x1c1772)]());function _0x2aca74(_0x85d071,_0x133ac2,_0xbc1310,_0x5d0c27){return _0x28bc81(_0x85d071-_0x4e9457._0x2f232f,_0x133ac2-_0x4e9457._0x193a8c,_0xbc1310- -_0x4e9457._0x2bbbdd,_0x85d071);}const _0x37e227=resolveDefaultShell(_0xd431a0[_0x38e035(0x4b0,_0xcdeeb1._0x468553,0x44f,0x65f)]);function _0x38e035(_0x513f3b,_0x162e17,_0x4a5402,_0x4cb14f){return _0x28bc81(_0x513f3b-_0x98fc1d._0x2bb82b,_0x162e17-0x14b,_0x4a5402-_0x98fc1d._0x1fa407,_0x4cb14f);}return{'command':_0xd5ffeb[_0x2aca74(0x475,_0xcdeeb1._0x1b4b14,_0xcdeeb1._0x12640a,_0xcdeeb1._0x322917)],'cwd':resolveWorkingDirectory(_0xd5ffeb[_0x2aca74(0x6ed,_0xcdeeb1._0x2d7959,0x5b9,0x486)],_0x56f7b7,_0xd431a0[_0x38e035(0x37a,_0xcdeeb1._0x11815c,0x463,_0xcdeeb1._0x45f5c0)]??[]),'shellPath':_0x37e227,'dialect':resolveShellDialect(_0x37e227),'background':_0xd5ffeb['runInBackground']??![]};}function resolveShellDialect(_0xce11af){const _0x2c3bc7={_0x621a90:0x3d1,_0x20a6df:0x348,_0x7d528e:0x226,_0x1f8b50:0x464,_0x2e9be1:0x3d8,_0x49d173:0x458,_0x6a253d:0x675,_0x3d53b0:0x535,_0x1a0b5d:0x52a,_0x40254f:0x591,_0x560356:0x358,_0x229743:0x4fd},_0x39c14a={_0x4bc6b7:0x147};if(_0x16433e[_0x5a692c(0x3af,0x525,0x4af,0x287)]()==='win32')return'windows';const _0x42a9db=_0x4b8ae0[_0x275771(0x1ba,0x328,_0x2c3bc7._0x621a90,_0x2c3bc7._0x20a6df)](_0xce11af)[_0x275771(_0x2c3bc7._0x7d528e,_0x2c3bc7._0x1f8b50,0x3c2,_0x2c3bc7._0x2e9be1)]();function _0x275771(_0x16ea17,_0x48878c,_0x4d7722,_0x2ae54c){return _0x5b2413(_0x16ea17-0x67,_0x48878c-0x16b,_0x4d7722- -0x353,_0x2ae54c);}if(_0x42a9db===_0x5a692c(0x461,0x66d,_0x2c3bc7._0x49d173,_0x2c3bc7._0x6a253d))return _0x275771(0x4f9,0x5e4,0x4c7,_0x2c3bc7._0x3d53b0);function _0x5a692c(_0x45f553,_0x489a2f,_0x560555,_0x2894a8){return _0x28bc81(_0x45f553-0x1e5,_0x489a2f-_0x39c14a._0x4bc6b7,_0x45f553- -0x1a,_0x489a2f);}if(_0x42a9db==='sh'||_0x42a9db===_0x5a692c(0x3a6,0x23e,_0x2c3bc7._0x1a0b5d,_0x2c3bc7._0x40254f))return'posix';return _0x5a692c(_0x2c3bc7._0x560356,_0x2c3bc7._0x229743,0x263,0x4c5);}function emitChunk(_0xed6683,_0x2573ba,_0x3cebb4,_0xaf1d7e){const _0x3077f9={_0x79f69e:0x2ea},_0x344f3a={_0x1c7141:0x11e,_0x4730a1:0x46b},_0x2eaf60={_0x5d3224:0x1bb};function _0x3816b6(_0x7cdaa8,_0xde55ec,_0x4f8329,_0x8c1d1c){return _0x28bc81(_0x7cdaa8-_0x2eaf60._0x5d3224,_0xde55ec-0xd1,_0xde55ec-0x82,_0x7cdaa8);}_0xed6683[_0x4f5c05(0x3db,0x11e,0x4d1,_0x3077f9._0x79f69e)](_0x3cebb4);function _0x4f5c05(_0x1c6e2b,_0x442c87,_0x19d8d5,_0x50b05d){return _0x5b2413(_0x1c6e2b-0x1e,_0x442c87-_0x344f3a._0x1c7141,_0x50b05d- -_0x344f3a._0x4730a1,_0x19d8d5);}_0x2573ba[_0x3816b6(0x441,0x438,0x4da,0x218)](_0x3cebb4),_0xaf1d7e();}function appendChunk(_0x5699d9,_0x2c7fbf,_0x2b3a18,_0x18eb60,_0x3f83ef,_0x390a4d){const _0x39b1f8={_0x2c328f:0x38d,_0x5b0fde:0x413,_0x4b16fa:0x54b,_0x395c23:0x3,_0x5daec4:0xa6,_0x5d2eaf:0xf9,_0x29062a:0x510,_0x2badd4:0x3f4,_0x25d8b2:0x523,_0xfd4fb2:0x161,_0x544fea:0x319,_0x4cc86e:0x235,_0x4b3202:0x33e,_0x2177be:0x1aa,_0x43de93:0x52,_0x359c9e:0x64,_0x3298bd:0x148,_0x58b290:0x5b7,_0x476182:0x6e9,_0xf9ae9d:0x368,_0x1f31e9:0x537,_0x2308ab:0x339,_0x4524da:0x338,_0x293cb7:0x6e3,_0x4595b3:0x697,_0x3191d1:0x4ca,_0x3d9270:0x3b,_0x228ab1:0xd,_0x45b6b7:0x239,_0x414ab7:0x3e0,_0xb94d9b:0x38d,_0x883dd7:0x224,_0x236c6e:0x477,_0x34493f:0x409,_0x19e4b3:0x1fa,_0xca0d7b:0x111,_0x4a14b2:0x134,_0x3bfcba:0x5cf,_0x24b23b:0x6d3},_0x5db367={_0xa67496:0x162,_0x2b40cb:0x10d,_0x221ea9:0x15a},_0x177fb5={_0x17f9bd:0x10b,_0x2e617a:0xc0},_0x3e95ad=_0x18eb60?stripAnsiAndControls(_0x2b3a18):_0x2b3a18;if(_0x3e95ad[_0x14648e(0x54e,_0x39b1f8._0x2c328f,_0x39b1f8._0x5b0fde,_0x39b1f8._0x4b16fa)]===0x0)return;if(!_0x390a4d){emitChunk(_0x5699d9,_0x2c7fbf,_0x3e95ad,_0x3f83ef);return;}function _0x14648e(_0x567f80,_0x589744,_0x5af5cc,_0x3922f7){return _0x5b2413(_0x567f80-_0x177fb5._0x17f9bd,_0x589744-_0x177fb5._0x2e617a,_0x589744- -0x55b,_0x567f80);}let _0x3c4d71=0x0,_0x4b0ed9=_0x3e95ad[_0x14648e(-_0x39b1f8._0x395c23,_0x39b1f8._0x5daec4,_0x39b1f8._0x5d2eaf,0x237)]('\x0a');while(_0x4b0ed9>=0x0){_0x390a4d['trailingChunks'][_0x54f02a(_0x39b1f8._0x29062a,0x657,_0x39b1f8._0x2badd4,_0x39b1f8._0x25d8b2)](_0x3e95ad[_0x14648e(_0x39b1f8._0xfd4fb2,_0x39b1f8._0x544fea,_0x39b1f8._0x4cc86e,_0x39b1f8._0x4b3202)](_0x3c4d71,_0x4b0ed9));const _0x3c915e=_0x390a4d[_0x14648e(_0x39b1f8._0x2177be,_0x39b1f8._0x43de93,_0x39b1f8._0x359c9e,-_0x39b1f8._0x3298bd)][_0x54f02a(_0x39b1f8._0x58b290,0x7b0,_0x39b1f8._0x476182,0x4bc)]('');_0x390a4d[_0x54f02a(_0x39b1f8._0xf9ae9d,_0x39b1f8._0x1f31e9,0x2eb,_0x39b1f8._0x2308ab)][_0x14648e(0x499,_0x39b1f8._0x2c328f,0x59e,_0x39b1f8._0x4524da)]=0x0,_0x390a4d[_0x54f02a(_0x39b1f8._0x293cb7,0x60d,_0x39b1f8._0x4595b3,_0x39b1f8._0x3191d1)][_0x14648e(0x49,0x1b9,-_0x39b1f8._0x3d9270,-_0x39b1f8._0x228ab1)](_0x3c915e)&&emitChunk(_0x5699d9,_0x2c7fbf,_0x3c915e+'\x0a',_0x3f83ef),_0x3c4d71=_0x4b0ed9+0x1,_0x4b0ed9=_0x3e95ad[_0x54f02a(0x3bc,_0x39b1f8._0x45b6b7,0x507,_0x39b1f8._0x414ab7)]('\x0a',_0x3c4d71);}function _0x54f02a(_0x50e7fb,_0x466b07,_0xc5df31,_0x27d236){return _0x28bc81(_0x50e7fb-_0x5db367._0xa67496,_0x466b07-_0x5db367._0x2b40cb,_0x50e7fb-_0x5db367._0x221ea9,_0x27d236);}_0x3c4d71<_0x3e95ad[_0x14648e(0x58f,_0x39b1f8._0xb94d9b,_0x39b1f8._0x883dd7,0x379)]&&_0x390a4d[_0x54f02a(0x368,_0x39b1f8._0x236c6e,0x15a,_0x39b1f8._0x34493f)][_0x14648e(0x97,_0x39b1f8._0x19e4b3,_0x39b1f8._0xca0d7b,_0x39b1f8._0x4a14b2)](_0x3e95ad[_0x54f02a(0x62f,_0x39b1f8._0x3bfcba,_0x39b1f8._0x24b23b,0x764)](_0x3c4d71));}function flushOutputRegex(_0x1aeb32,_0x3c7290,_0x13cccb,_0x1175d2){const _0x3416ad={_0x81b9e8:0xa7,_0x46402a:0x3f,_0x51f9c9:0x5b6,_0x17f774:0x3e2,_0x18c8f7:0x31e,_0x1377d6:0x12b,_0x1157c9:0x7fa,_0x5909d7:0x8dc,_0x5089cd:0x6bf,_0x13d40b:0x415,_0x4e557f:0x53d,_0x4e32ac:0x470,_0x558587:0x5e1,_0x59ba34:0x39a,_0x55b512:0x3e2,_0x2643cd:0x577},_0x51c083={_0xd3eee:0x167},_0x316f46={_0x55a76c:0x136};function _0x327c6e(_0x145a37,_0x459f5b,_0x2c5f7f,_0x35ab0e){return _0x5b2413(_0x145a37-_0x316f46._0x55a76c,_0x459f5b-0xee,_0x35ab0e- -0x13d,_0x459f5b);}if(!_0x13cccb||_0x13cccb[_0x284f18(0x146,0x1c0,_0x3416ad._0x81b9e8,_0x3416ad._0x46402a)][_0x284f18(0x451,_0x3416ad._0x51f9c9,_0x3416ad._0x17f774,_0x3416ad._0x18c8f7)]===0x0)return;const _0x214997=_0x13cccb[_0x284f18(-0x43,-0xf4,0xa7,-_0x3416ad._0x1377d6)][_0x327c6e(_0x3416ad._0x1157c9,_0x3416ad._0x5909d7,0x883,_0x3416ad._0x5089cd)]('');function _0x284f18(_0x3ad9d5,_0x23b690,_0x4ccdeb,_0x43a225){return _0x28bc81(_0x3ad9d5-0x1c9,_0x23b690-0x17a,_0x4ccdeb- -_0x51c083._0xd3eee,_0x3ad9d5);}_0x13cccb[_0x327c6e(0x44c,_0x3416ad._0x13d40b,_0x3416ad._0x4e557f,_0x3416ad._0x4e32ac)][_0x284f18(_0x3416ad._0x558587,_0x3416ad._0x59ba34,_0x3416ad._0x55b512,0x437)]=0x0,_0x13cccb[_0x284f18(_0x3416ad._0x2643cd,0x49e,0x422,0x269)]['test'](_0x214997)&&emitChunk(_0x1aeb32,_0x3c7290,_0x214997,_0x1175d2);}function createBashTool(_0x514699={}){const _0xd2a129={_0x34523d:0x4c8,_0x474c74:0x473,_0xce5740:0x4fd,_0x1711df:0x363,_0x52089b:0x5a1,_0x195ec3:0x36e,_0x154b29:0x275,_0x2b15de:0x205,_0x4188c0:0x1ca,_0x2f988a:0x388,_0x95a9f2:0x79f,_0x5d66aa:0x686,_0x3a3edc:0x591,_0x5025d0:0x4f4,_0x4bdb9f:0xde,_0x2df50f:0x172,_0x2322ac:0x6,_0x34532b:0x132,_0x3a59d1:0x455,_0x294ebe:0x348,_0x5f2ad1:0x72c,_0xf3fed7:0x3fc,_0x4a98e4:0x273,_0x48a03d:0x244,_0x5306e1:0x41c,_0x54a06f:0x314,_0x223a20:0x2f2,_0x34ee51:0x16f,_0x49f055:0x3c5,_0x322006:0x5a2,_0x1c1775:0xfa,_0x15eaa9:0x2c6,_0x3a26b4:0x6d0,_0x4b1396:0x5ee,_0x44549f:0x5a2,_0x3cfd5c:0x5b6},_0x1fe39f={_0x586a1a:0x49b,_0xda070c:0x532,_0x749f3e:0x37f,_0x2fe29f:0x2bb,_0x144c82:0x46a,_0x4e1e9d:0x43d,_0x23c7b6:0x3c1,_0x6426d0:0x21,_0x19f6a3:0x111,_0x17dc5b:0x3e3,_0x40b141:0x2b1,_0x4dc79e:0x161,_0x5c3d8c:0xdc,_0x3e3fa8:0x382,_0x4c5cc8:0x247,_0x426291:0x35c,_0x2e3e7f:0x2cb,_0x158981:0x3b4,_0x33af4f:0x55a,_0x4076e5:0x298,_0x23c975:0x318,_0x8f63fe:0x4cc,_0x460cc7:0x541,_0x4a5ca4:0x33a,_0x2d7308:0x418,_0x27b6bf:0x9,_0x48568d:0x45,_0x1b2705:0x3,_0x368c9c:0x268,_0x5649f1:0x165,_0xea3d9d:0x24,_0x4edbff:0x75,_0x31dd72:0x27d,_0x23274a:0x9a,_0x4807d7:0x6c,_0x3ccaba:0xed,_0x147f8a:0x479,_0x1e0309:0x1f4,_0x4fe16e:0x1ca,_0x1748dc:0x2c2,_0x4e5d30:0x170,_0x2f70a9:0x1bc,_0x4912bf:0x3bd,_0x1f4a71:0x2f6,_0x2bd355:0x3b5,_0x53f206:0xe5,_0x3cfe54:0x130,_0x596eee:0x353,_0x437954:0x3b0,_0x2c802f:0x3a3,_0x5ddc96:0x498,_0x2a6b8f:0x1b5,_0x207e21:0x2d8,_0xb35914:0x655,_0x45adbd:0x466,_0x46d591:0x4b6,_0x394962:0x29a,_0x1dd076:0x258,_0xcc462f:0x39e,_0x487389:0x565,_0x526d85:0x2d7,_0x52cf37:0x60d,_0x29f3f7:0x3ce,_0x1badf6:0x228,_0x56a2c5:0x61e,_0x57af61:0x441,_0x1ff4e9:0x63,_0x24a1a3:0x33b,_0x4c65c7:0x433,_0x4377d6:0x27b,_0xeb602a:0x2,_0x1e369e:0xbc,_0x1ea954:0x12c,_0x502f5f:0x2a6,_0x3e21b8:0x8c,_0x197c78:0x17,_0x1e243b:0x20,_0x4d14a5:0x4fc,_0x75fcc6:0x466,_0x2a1549:0x16c,_0x20b73c:0x11,_0x284de7:0xe4,_0x2c23bc:0x191,_0x1ded7e:0x27,_0x28431d:0x137,_0xde0320:0x4ff,_0x7fe053:0x5ad,_0x3fdfb8:0x3cd,_0x563e10:0x297,_0x1606dc:0x30c,_0x5d3b15:0x263,_0x100310:0x9f,_0x178cf5:0x37b,_0x1de525:0x158,_0x42c66d:0x293,_0x5c7f47:0x504,_0x290cfe:0x2e1,_0x559cf0:0x168,_0x5527e9:0x17c,_0x3755ec:0x53f,_0x1bbd0b:0x398,_0x2cd45c:0x521,_0x5813d2:0x474,_0x2c1f0e:0x370,_0x138d18:0x482,_0x264129:0x660,_0x2ece3b:0x5e1,_0xe3b8dc:0x3c0,_0x6986a5:0x3f7,_0x3260af:0xae,_0x4f3aa6:0x28b,_0x21ef92:0x267,_0x3925ac:0xde,_0x1cb88c:0x24b,_0x5c7c74:0x4d8,_0x5b02f5:0x6a2,_0x1a36a2:0x443,_0x152809:0x605,_0x5377aa:0x1fe,_0x254cc6:0x550,_0x42a117:0x410,_0x260971:0x2a7,_0x391c22:0x372,_0x12375e:0xd6,_0x24ae93:0x29f,_0x14124e:0x1b4,_0x2b19be:0x370,_0x4ea716:0x2af,_0x2ee713:0x54,_0x1465bf:0x79,_0x542505:0x402,_0x5ad2aa:0x4b2,_0x206080:0x2d},_0x560792={_0x542636:0x4f9,_0x49027f:0x5be},_0x29ef9e={_0x3dfd1f:0x189},_0x43d1f3={_0x24b8a0:0x1a7},_0xb86566=_0x4b8ae0[_0x44c91d(0x480,_0xd2a129._0x34523d,_0xd2a129._0x474c74,0x2d8)](_0x514699['defaultCwd']??process[_0x32d096(0x610,_0xd2a129._0xce5740,_0xd2a129._0x1711df,_0xd2a129._0x52089b)]()),_0x1a5076=_0x514699[_0x32d096(_0xd2a129._0x195ec3,_0xd2a129._0x154b29,_0xd2a129._0x2b15de,0xd4)]??[],_0x34ce05=_0x514699[_0x32d096(0x2a9,_0xd2a129._0x4188c0,_0xd2a129._0x2f988a,0x248)]??DEFAULT_TIMEOUT_MS,_0x20effb=_0x514699[_0x44c91d(0x818,0x695,_0xd2a129._0x95a9f2,_0xd2a129._0x5d66aa)]??!![],_0xae02e8=_0x514699[_0x44c91d(0x47e,_0xd2a129._0x3a3edc,0x4d0,_0xd2a129._0x5025d0)]??'Bash';function _0x44c91d(_0x44afd1,_0x531169,_0x5835b2,_0x4aa4cf){return _0x5b2413(_0x44afd1-0x47,_0x531169-_0x43d1f3._0x24b8a0,_0x4aa4cf- -0x321,_0x531169);}const _0x2c9b02=_0x514699[_0x32d096(_0xd2a129._0x4bdb9f,_0xd2a129._0x2df50f,0xb5,-_0xd2a129._0x2322ac)]??[],_0x211e60=_0x514699['scrubEnvPrefixes']??[];function _0x32d096(_0x24c26e,_0x214eac,_0x32c121,_0x487c9d){return _0x5b2413(_0x24c26e-0x3a,_0x214eac-_0x29ef9e._0x3dfd1f,_0x214eac- -0x4a8,_0x487c9d);}const _0x844a43=_0x514699[_0x44c91d(0x539,_0xd2a129._0x34532b,_0xd2a129._0x3a59d1,_0xd2a129._0x294ebe)];return defineTool({'name':_0xae02e8,'permissionClass':'always-confirm','description':_0x514699[_0x44c91d(0x3ed,_0xd2a129._0x5f2ad1,_0xd2a129._0xf3fed7,0x580)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':_0x32d096(0x178,0x15c,_0xd2a129._0x4a98e4,0x12e),'properties':{'command':{'type':_0x32d096(0x299,0x18d,0x25c,0xec)},'description':{'type':_0x44c91d(_0xd2a129._0x48a03d,0x418,0x2d3,0x314),'description':_0x44c91d(0xb7,0x431,0x99,0x2b9)},'cwd':{'type':_0x44c91d(_0xd2a129._0xce5740,0x2cb,_0xd2a129._0x5306e1,_0xd2a129._0x54a06f)},'timeoutMs':{'type':_0x32d096(_0xd2a129._0x223a20,0x317,_0xd2a129._0x34ee51,0x224)},'ignoreOutput':{'type':_0x44c91d(0x4fe,0x690,_0xd2a129._0x49f055,_0xd2a129._0x322006)},'outputRegex':{'type':'string','description':_0x44c91d(0x15d,0x2e4,_0xd2a129._0x1c1775,_0xd2a129._0x15eaa9)},'runInBackground':{'type':_0x44c91d(0x46c,_0xd2a129._0x3a26b4,_0xd2a129._0x4b1396,_0xd2a129._0x44549f)}},'required':['command',_0x44c91d(0x6dc,0x642,_0xd2a129._0x3cfd5c,0x580)]},async *'execute'(_0x3eb2b3,_0x150e22){const _0x150190={_0x3ed01d:0x51c,_0x5354c8:0x703,_0x2f9b0c:0x433,_0x6a5838:0x4c4,_0x1fc20f:0x3ad,_0x2d5265:0x2d5,_0x507828:0x4ab,_0xb304bf:0x360},_0x44eaa8={_0x3c4e2c:0x23d},_0x1030f8={_0x13a9ee:0x385,_0x40adc5:0x52a,_0x13a01a:0x4a9,_0x43bd96:0x32c},_0x1d73ad={_0x20ecc3:0x521,_0x15d544:0x48},_0x46eed5={_0x1d8abd:0xd5,_0x7fe78f:0x101,_0x1cd703:0x139,_0x1dd2c6:0x2da,_0x3a2d35:0xde},_0x29a4b8={_0x515f7d:0x7c8,_0x38d315:0x438},_0x4dd799={_0x5714bc:0x39,_0x3d57da:0x194},_0x6e9e6={_0x235cac:0xa12,_0x175c7c:0xa76},_0x1f2aaa=_0x3eb2b3[_0x2cea86(_0x1fe39f._0x586a1a,_0x1fe39f._0xda070c,0x3cd,_0x1fe39f._0x749f3e)]??_0x34ce05;if(!Number[_0x2cea86(_0x1fe39f._0x2fe29f,_0x1fe39f._0x144c82,_0x1fe39f._0x4e1e9d,_0x1fe39f._0x23c7b6)](_0x1f2aaa)||_0x1f2aaa<0x1)throw new ToolExecutionError(_0x2cea86(_0x1fe39f._0x6426d0,_0x1fe39f._0x19f6a3,_0x1fe39f._0x17dc5b,0x1d5),{'command':_0x3eb2b3['command']});throwIfAborted(_0x150e22[_0x49cfd6(_0x1fe39f._0x40b141,0x165,0x16c,_0x1fe39f._0x4dc79e)]);const _0x50539c=_0x3eb2b3[_0x2cea86(_0x1fe39f._0x5c3d8c,-0x79,_0x1fe39f._0x3e3fa8,0x162)]??![],_0x42eb36=resolveBashExecutionTarget(_0x3eb2b3,{'defaultCwd':_0xb86566,'allowedDirs':_0x1a5076,'shellPath':_0x514699[_0x2cea86(_0x1fe39f._0x4c5cc8,_0x1fe39f._0x426291,_0x1fe39f._0x2e3e7f,0x228)]}),{cwd:_0x42b221,shellPath:_0x52fe81}=_0x42eb36,_0x1eae66=buildShellArgs(_0x3eb2b3[_0x2cea86(_0x1fe39f._0x158981,_0x1fe39f._0x33af4f,0x27e,0x466)],_0x52fe81),_0x5bd083=_0x16433e[_0x49cfd6(0x46,0x161,0x1d2,0x377)]()===_0x2cea86(0x2f5,0x358,_0x1fe39f._0x4076e5,_0x1fe39f._0x23c975);function _0x49cfd6(_0x3498d9,_0x402bd8,_0x5b578a,_0x3b29b3){return _0x32d096(_0x3498d9-0x166,_0x402bd8- -0x15f,_0x5b578a-0x35,_0x3498d9);}const _0x57de96=buildChildEnv(_0x514699[_0x49cfd6(-0xbb,0x66,0x285,0x16e)],_0x2c9b02,_0x211e60);if(_0x3eb2b3[_0x2cea86(_0x1fe39f._0x8f63fe,0x12c,_0x1fe39f._0x460cc7,_0x1fe39f._0x4a5ca4)]){if(!_0x844a43)throw new ToolExecutionError(_0x2cea86(_0x1fe39f._0x2d7308,0x3a2,0x3d7,0x37d),{'command':_0x3eb2b3['command']});throwIfAborted(_0x150e22['signal']),await _0x514699[_0x49cfd6(-0x8d,-_0x1fe39f._0x27b6bf,_0x1fe39f._0x48568d,-0x22c)]?.(_0x42eb36,_0x150e22[_0x49cfd6(0x173,0x1c0,_0x1fe39f._0x1b2705,_0x1fe39f._0x368c9c)],_0x150e22),throwIfAborted(_0x150e22[_0x49cfd6(0x49,_0x1fe39f._0x5649f1,0x33e,_0x1fe39f._0xea3d9d)]);const _0x3b15de=_0x844a43[_0x49cfd6(0x246,0xf0,0x2ae,_0x1fe39f._0x4edbff)]();let _0x2f8a01;try{_0x2f8a01=_0x56d76b(_0x52fe81,_0x1eae66,{'cwd':_0x42b221,'env':_0x57de96,'stdio':['ignore',_0x49cfd6(-0x20b,-0x9a,-0x1a8,-0x14e),_0x49cfd6(-_0x1fe39f._0x31dd72,-_0x1fe39f._0x23274a,_0x1fe39f._0x4807d7,_0x1fe39f._0x3ccaba)],'shell':![],'windowsHide':!![],'detached':!_0x5bd083});}catch(_0x21caa3){_0x844a43['release'](_0x3b15de);throw mapSpawnError(_0x21caa3,{'command':_0x3eb2b3['command'],'cwd':_0x42b221,'shellPath':_0x52fe81});}let _0x5d2531;try{_0x5d2531=_0x844a43['attach'](_0x3b15de,{'child':_0x2f8a01,'command':_0x3eb2b3['command'],'cwd':_0x42b221,'stripAnsi':_0x20effb,...!_0x5bd083&&_0x2f8a01['pid']!==void 0x0?{'processGroupId':_0x2f8a01[_0x2cea86(0x409,0x481,0x596,_0x1fe39f._0x147f8a)]}:{}});}catch(_0x2fbfeb){_0x844a43[_0x49cfd6(_0x1fe39f._0x1e0309,0x2d7,_0x1fe39f._0x4c5cc8,_0x1fe39f._0x4fe16e)](_0x3b15de),_0x2f8a01['once'](_0x49cfd6(_0x1fe39f._0x1748dc,_0x1fe39f._0x4e5d30,0xba,_0x1fe39f._0x2f70a9),()=>{});try{killProcessGroup(_0x2f8a01,_0x5bd083);}catch{}throw _0x2fbfeb;}return createToolOutput(_0x2cea86(0x1c6,_0x1fe39f._0x4912bf,_0x1fe39f._0x1f4a71,_0x1fe39f._0x2bd355)+_0x5d2531['shellId']+_0x49cfd6(-0x112,_0x1fe39f._0x53f206,-_0x1fe39f._0x3cfe54,0x30)+(_0x5d2531[_0x49cfd6(0x4b4,_0x1fe39f._0x596eee,_0x1fe39f._0x437954,0x1d0)]??'?')+_0x2cea86(_0x1fe39f._0x2c802f,0x671,0x66a,_0x1fe39f._0x5ddc96),{'shellId':_0x5d2531[_0x2cea86(_0x1fe39f._0x2a6b8f,0x3bc,0x397,_0x1fe39f._0x207e21)],'status':_0x5d2531['status'],'command':_0x5d2531[_0x2cea86(0x670,_0x1fe39f._0xb35914,0x50f,_0x1fe39f._0x45adbd)],'description':_0x3eb2b3[_0x49cfd6(_0x1fe39f._0x46d591,_0x1fe39f._0x394962,_0x1fe39f._0x1dd076,0x45b)],'cwd':_0x5d2531[_0x49cfd6(0x1b4,_0x1fe39f._0xcc462f,_0x1fe39f._0x487389,0x293)],'pid':_0x5d2531[_0x2cea86(_0x1fe39f._0x526d85,_0x1fe39f._0x52cf37,_0x1fe39f._0x29f3f7,0x479)]??null});}let _0x42a5d1,_0x1e8ebc;if(_0x3eb2b3['outputRegex']!==void 0x0)try{const _0x427633=new RegExp(_0x3eb2b3[_0x49cfd6(_0x1fe39f._0x1badf6,0x267,0x3b0,0x2ce)]);_0x42a5d1={'regex':_0x427633,'trailingChunks':[]},_0x1e8ebc={'regex':_0x427633,'trailingChunks':[]};}catch(_0x520a7b){throw new ToolExecutionError('Invalid\x20outputRegex:\x20'+(_0x520a7b instanceof Error?_0x520a7b[_0x2cea86(_0x1fe39f._0x56a2c5,_0x1fe39f._0x57af61,0x686,0x49c)]:String(_0x520a7b)),{'command':_0x3eb2b3['command'],'outputRegex':_0x3eb2b3['outputRegex']});}await _0x514699[_0x49cfd6(-0x150,-0x9,0x109,-_0x1fe39f._0x1ff4e9)]?.(_0x42eb36,_0x150e22['executionAuthorization'],_0x150e22),throwIfAborted(_0x150e22['signal']);let _0xeb4b94;try{_0xeb4b94=_0x56d76b(_0x52fe81,_0x1eae66,{'cwd':_0x42b221,'env':_0x57de96,'stdio':_0x50539c?[_0x2cea86(_0x1fe39f._0x24a1a3,0x23e,_0x1fe39f._0x4c65c7,0x27b),'ignore',_0x2cea86(0xa3,0x3ba,0x482,_0x1fe39f._0x4377d6)]:[_0x49cfd6(0x306,0x155,-_0x1fe39f._0xeb602a,0x2dd),_0x2cea86(_0x1fe39f._0x1e369e,_0x1fe39f._0x1ea954,_0x1fe39f._0x502f5f,_0x1fe39f._0x3e21b8),_0x2cea86(_0x1fe39f._0x197c78,_0x1fe39f._0x1e243b,0x3e,0x8c)],'shell':![],'windowsHide':!![],'detached':!_0x5bd083});}catch(_0x1150ad){throw mapSpawnError(_0x1150ad,{'command':_0x3eb2b3[_0x2cea86(0x4af,_0x1fe39f._0x4d14a5,0x309,_0x1fe39f._0x75fcc6)],'cwd':_0x42b221,'shellPath':_0x52fe81});}const _0x1c476e=[],_0x52a154=[],_0x169c30=new _0x2d4ce9(_0x49cfd6(-_0x1fe39f._0x2a1549,_0x1fe39f._0x20b73c,-0x34,-_0x1fe39f._0x284de7)),_0x2333eb=new _0x2d4ce9(_0x2cea86(_0x1fe39f._0x2c23bc,0x1f7,_0x1fe39f._0x1ded7e,_0x1fe39f._0x28431d));let _0x1044fc,_0xb9a51=![],_0x12e753;const _0x3c0690=()=>{if(!_0x1044fc)return;const _0x316131=_0x1044fc;_0x1044fc=void 0x0,_0x316131();},_0x4903f2=async()=>{if(_0x52a154['length']>0x0||_0xb9a51)return;await new Promise(_0x51ce87=>{_0x1044fc=_0x51ce87;});},_0x15df11=_0x1f6356=>{const _0x33050d={_0x4a3226:0x7c,_0x5cd07d:0x1b5};function _0x3f5a36(_0x5226de,_0x3e3087,_0x2a9b19,_0x16def9){return _0x2cea86(_0x5226de-_0x33050d._0x4a3226,_0x3e3087,_0x2a9b19-_0x33050d._0x5cd07d,_0x16def9-0x1af);}appendChunk(_0x1c476e,_0x52a154,_0x169c30[_0x3f5a36(_0x560792._0x542636,0x66a,0x54a,_0x560792._0x49027f)](_0x1f6356),_0x20effb,_0x3c0690,_0x42a5d1);},_0x31802b=_0x41b6e=>{function _0x5bcbc5(_0x420436,_0x26e96d,_0x13b9fc,_0xdd9b99){return _0x49cfd6(_0x13b9fc,_0xdd9b99-0x5af,_0x13b9fc-0x90,_0xdd9b99-0x89);}appendChunk(_0x1c476e,_0x52a154,_0x2333eb[_0x5bcbc5(_0x6e9e6._0x235cac,0xa27,_0x6e9e6._0x175c7c,0x898)](_0x41b6e),_0x20effb,_0x3c0690,_0x1e8ebc);};_0xeb4b94[_0x2cea86(0x22c,_0x1fe39f._0xde0320,_0x1fe39f._0x7fe053,_0x1fe39f._0x3fdfb8)]?.['on'](_0x2cea86(0x9b,_0x1fe39f._0x563e10,_0x1fe39f._0x1606dc,0x158),_0x15df11);function _0x2cea86(_0x1d9c50,_0x5c994f,_0x3d1449,_0x552486){return _0x32d096(_0x1d9c50-0xfa,_0x552486- -_0x4dd799._0x5714bc,_0x3d1449-_0x4dd799._0x3d57da,_0x5c994f);}_0xeb4b94['stderr']?.['on'](_0x2cea86(_0x1fe39f._0x5d3b15,_0x1fe39f._0x100310,_0x1fe39f._0x178cf5,_0x1fe39f._0x1de525),_0x31802b);let _0x47b9a8=![],_0x5e5e99;const _0x344d4f=addAbortListener(_0x150e22['signal'],()=>{const _0x42600b={_0x1bfe28:0x146,_0x7de467:0x359};function _0x43447e(_0x5033c0,_0x26a269,_0x2303f1,_0x48e384){return _0x2cea86(_0x5033c0-0x130,_0x2303f1,_0x2303f1-_0x42600b._0x1bfe28,_0x48e384-_0x42600b._0x7de467);}_0x12e753=toAbortError(_0x150e22[_0x43447e(_0x29a4b8._0x515f7d,_0x29a4b8._0x38d315,0x432,0x5e4)]['reason']),_0xb9a51=!![],_0x3c0690();try{killProcessGroup(_0xeb4b94,_0x5bd083);}catch{}});try{const _0x1ca763=new Promise((_0x1b778b,_0x32a033)=>{const _0x367e0d={_0x24da3e:0x70},_0x4c8b2d={_0xf28abe:0x11c},_0x7e296c={_0x2ffe69:0x4e4,_0x335459:0x41f},_0x3ff1f1=()=>{const _0x511eea={_0x49a58f:0x1ca};_0x5e5e99&&(clearTimeout(_0x5e5e99),_0x5e5e99=void 0x0);function _0x190513(_0xeb4940,_0x4e9c3a,_0x52eb7e,_0x50380a){return _0x8662(_0x4e9c3a- -_0x511eea._0x49a58f,_0x50380a);}function _0x3d0a4d(_0x3b0ec3,_0x133f6e,_0x5740ed,_0x3050c2){return _0x8662(_0x3b0ec3- -0x291,_0x5740ed);}_0xeb4b94[_0x3d0a4d(_0x46eed5._0x1d8abd,0x91,-_0x46eed5._0x7fe78f,0x169)](_0x3d0a4d(0x16f,_0x46eed5._0x1cd703,0x36,0x2c8),_0x4c21b8),_0xeb4b94[_0x3d0a4d(0xd5,-0xc6,-0x10d,_0x46eed5._0x1dd2c6)](_0x3d0a4d(_0x46eed5._0x3a2d35,-0x5,0x2d0,0x135),_0x229b4f);},_0x4c21b8=_0x3fe31e=>{_0xb9a51=!![],_0x3c0690(),_0x3ff1f1(),_0x32a033(_0x12e753??_0x3fe31e);};function _0x250cc0(_0x33c8f0,_0x54c01d,_0xc9e7f8,_0x42d88a){return _0x49cfd6(_0x54c01d,_0x33c8f0-_0x1d73ad._0x20ecc3,_0xc9e7f8-_0x1d73ad._0x15d544,_0x42d88a-0x178);}const _0x229b4f=(_0x5c02ca,_0x40a7df)=>{_0x47b9a8=!![],appendChunk(_0x1c476e,_0x52a154,_0x169c30['end'](),_0x20effb,_0x3c0690,_0x42a5d1),appendChunk(_0x1c476e,_0x52a154,_0x2333eb[_0x43a0c1(_0x7e296c._0x2ffe69,0x51d,0x4a1,_0x7e296c._0x335459)](),_0x20effb,_0x3c0690,_0x1e8ebc),flushOutputRegex(_0x1c476e,_0x52a154,_0x42a5d1,_0x3c0690);function _0x43a0c1(_0x3e3bad,_0x44b519,_0x5229a6,_0x2c114d){return _0x8662(_0x5229a6- -0xb5,_0x3e3bad);}flushOutputRegex(_0x1c476e,_0x52a154,_0x1e8ebc,_0x3c0690),_0xb9a51=!![],_0x3c0690(),_0x3ff1f1();if(_0x12e753){_0x32a033(_0x12e753);return;}_0x1b778b({'code':_0x5c02ca,'signal':_0x40a7df});};_0x5e5e99=setTimeout(()=>{_0xb9a51=!![];function _0x331bb3(_0x47729e,_0x3659d5,_0xb767ba,_0x3314be){return _0x8662(_0x47729e-_0x4c8b2d._0xf28abe,_0x3659d5);}_0x3c0690();function _0x268e64(_0x34f12f,_0xb74135,_0x34e417,_0x4b1dbb){return _0x8662(_0x34e417- -_0x367e0d._0x24da3e,_0xb74135);}_0x3ff1f1();try{killProcessGroup(_0xeb4b94,_0x5bd083);}catch{}_0x32a033(new ToolExecutionError(_0x331bb3(0x47f,0x336,_0x1030f8._0x13a9ee,_0x1030f8._0x40adc5)+_0x1f2aaa+_0x331bb3(_0x1030f8._0x13a01a,0x4ec,0x571,_0x1030f8._0x43bd96),{'command':_0x3eb2b3[_0x268e64(0x583,0x722,0x560,0x40d)],'cwd':_0x42b221,'shellPath':_0x52fe81,'timeoutMs':_0x1f2aaa,'timedOut':!![]}));},_0x1f2aaa),_0xeb4b94[_0x250cc0(_0x150190._0x3ed01d,0x5d5,0x620,_0x150190._0x5354c8)](_0x557c22(_0x150190._0x2f9b0c,_0x150190._0x6a5838,_0x150190._0x1fc20f,_0x150190._0x2d5265),_0x4c21b8);function _0x557c22(_0x17bedc,_0x2d6f65,_0x1bca4d,_0x33b5aa){return _0x49cfd6(_0x2d6f65,_0x1bca4d-_0x44eaa8._0x3c4e2c,_0x1bca4d-0x9d,_0x33b5aa-0xf4);}_0xeb4b94[_0x250cc0(_0x150190._0x3ed01d,0x42c,0x442,0x3c3)](_0x557c22(_0x150190._0x507828,0x205,0x31c,_0x150190._0xb304bf),_0x229b4f);});while(_0x52a154[_0x49cfd6(_0x1fe39f._0x42c66d,0x2e1,_0x1fe39f._0x5c7f47,0x461)]>0x0||!_0xb9a51){if(_0x52a154[_0x49cfd6(0x4bf,_0x1fe39f._0x290cfe,_0x1fe39f._0x559cf0,0x3c4)]===0x0){await _0x4903f2();continue;}const _0x1b5e12=_0x52a154[_0x2cea86(0x44d,_0x1fe39f._0x5527e9,_0x1fe39f._0x3755ec,_0x1fe39f._0x1bbd0b)]();_0x1b5e12!==void 0x0&&(yield _0x1b5e12);}const _0x35eb03=await _0x1ca763,_0x43d53f=_0x50539c?_0x2cea86(0x53a,0x4ea,0x26d,0x455)+(_0x35eb03[_0x2cea86(_0x1fe39f._0x2cd45c,_0x1fe39f._0x5813d2,0x325,0x457)]??0x0):_0x1c476e[_0x2cea86(0x44e,_0x1fe39f._0x2c1f0e,0x309,0x31b)](''),_0x53e20b={'command':_0x3eb2b3[_0x2cea86(_0x1fe39f._0x138d18,0x2fd,_0x1fe39f._0x264129,0x466)],'description':_0x3eb2b3[_0x2cea86(_0x1fe39f._0x2ece3b,0x521,0x1c7,_0x1fe39f._0xe3b8dc)],'cwd':_0x42b221,'exitCode':_0x35eb03['code']??0x0,'signal':_0x35eb03[_0x2cea86(_0x1fe39f._0x6986a5,0xb5,_0x1fe39f._0x3260af,_0x1fe39f._0x4f3aa6)],'ignoreOutput':_0x50539c,'outputRegex':_0x3eb2b3[_0x49cfd6(0x321,_0x1fe39f._0x21ef92,_0x1fe39f._0x3925ac,0x12c)]??null,'shellPath':_0x52fe81,'timeoutMs':_0x1f2aaa};if(_0x35eb03[_0x49cfd6(_0x1fe39f._0x1cb88c,0x331,_0x1fe39f._0x5c7c74,0x3c1)]!==0x0)throw new ToolExecutionError(_0x43d53f||_0x2cea86(_0x1fe39f._0x5b02f5,_0x1fe39f._0x1a36a2,_0x1fe39f._0x152809,0x491)+(_0x35eb03[_0x49cfd6(_0x1fe39f._0x5377aa,0x331,0x320,_0x1fe39f._0x254cc6)]??0x0),_0x53e20b);return createToolOutput(_0x43d53f,_0x53e20b);}catch(_0x3f26ab){while(_0x52a154['length']>0x0){const _0x359a12=_0x52a154['shift']();_0x359a12!==void 0x0&&(yield _0x359a12);}if(_0x3f26ab instanceof ToolExecutionError)throw _0x3f26ab;if(_0x12e753)throw _0x12e753;throw mapSpawnError(_0x3f26ab,{'command':_0x3eb2b3[_0x49cfd6(0x530,0x340,_0x1fe39f._0x42a117,0x140)],'cwd':_0x42b221,'shellPath':_0x52fe81});}finally{_0x5e5e99&&clearTimeout(_0x5e5e99);_0x344d4f(),_0xeb4b94[_0x49cfd6(_0x1fe39f._0x46d591,_0x1fe39f._0x260971,_0x1fe39f._0x391c22,0xc8)]?.[_0x49cfd6(-0xaf,_0x1fe39f._0x12375e,_0x1fe39f._0x24ae93,0x153)]('data',_0x15df11),_0xeb4b94[_0x2cea86(0x30b,_0x1fe39f._0x14124e,_0x1fe39f._0x2b19be,0x1b6)]?.[_0x2cea86(0x24c,0x274,_0x1fe39f._0x4ea716,0x1fc)](_0x2cea86(_0x1fe39f._0x2ee713,0x340,-_0x1fe39f._0x1465bf,0x158),_0x31802b);if(!_0x47b9a8&&_0xeb4b94[_0x2cea86(_0x1fe39f._0x542505,0x3c7,_0x1fe39f._0x5ad2aa,_0x1fe39f._0x147f8a)]&&!_0xeb4b94[_0x49cfd6(-0x1b7,_0x1fe39f._0x206080,0x6a,0x49)])try{killProcessGroup(_0xeb4b94,_0x5bd083);}catch{}}}});}function createShellExecTool(_0x107111={}){return createBashTool(_0x107111);}import{readdir as _0x30f500,readFile as _0xf377ae}from'fs/promises';import{extname as _0x2f5363,join as _0x58616f}from'path';import{open}from'fs/promises';import{dirname as _0x53f078,isAbsolute as _0x593af7,join as _0x46d1b9,relative as _0x144694,resolve as _0x157b07}from'path';import{readdir as _0x54e9c0,readFile as _0x344c7c}from'fs/promises';import{join as _0x29b58f,relative as _0x6e5b96,sep}from'path';import{delimiter}from'path';import{mkdir as _0x786c59,rm as _0x1c48f5,stat as _0xba2914,writeFile as _0x432d92}from'fs/promises';import{hostname}from'os';import{dirname as _0x21289c}from'path';import{unwatchFile,watchFile}from'fs';import{chmod as _0x448945,readFile as _0x29369e,rename as _0x2e3b6d,rm as _0x5a47a8,stat as _0x1324f3,writeFile as _0x266ba6}from'fs/promises';import{homedir as _0x4efd1a}from'os';import{dirname as _0x3bd447,isAbsolute as _0x51e55f,join as _0xe65ec4,resolve as _0x57366b}from'path';import{parse as _0x263e76,stringify as _0x46f194}from'yaml';import{randomUUID as _0x1668c0}from'crypto';import{cp,lstat,mkdir as _0x5767d6,readdir as _0x3aebdc,readFile as _0x39a0dc,rename as _0x96347a,rm as _0xd0b9ac,writeFile as _0x5d2795}from'fs/promises';import{homedir}from'os';import{join as _0x583c65}from'path';import{parse as _0x2c4c7a,stringify as _0x129d2b}from'yaml';import{z}from'zod';import{readdir as _0x5a0292,readFile as _0x36be4f}from'fs/promises';import{join as _0x376330}from'path';import{randomUUID as _0x115d25}from'crypto';import{mkdir as _0x53fb08,readdir as _0xf94c9b,readFile as _0x50ce0a,rename as _0x4ae14f,rm as _0x5ce67f,writeFile as _0x3d2956}from'fs/promises';import{homedir as _0x5bd8bc}from'os';import{basename as _0xe225c8,isAbsolute as _0x545c01,join as _0x7a9121,relative as _0x190aa2,resolve as _0x196ba6}from'path';import{parse as _0x3f579a,stringify as _0x3e5e38}from'yaml';import{delimiter as _0x133da7,resolve as _0x16cbb1}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400,AGENT_MODEL_SET_NAME_PATTERN=/^[A-Za-z0-9_-]+$/,PROTOTYPE_SENSITIVE_NAMES=new Set([...Object[_0x28bc81(0x234,0x54a,0x3cf,0x3ca)](Object[_0x28bc81(0x512,0x347,0x490,0x55f)]),_0x28bc81(0x654,0x604,0x490,0x3ea)]);function isValidAgentModelSetName(_0x3d5adb){const _0x415447={_0x407c09:0x353,_0x3904a7:0x265,_0x910bc3:0x39e},_0x38a68f={_0x50dc8e:0xa6},_0x397d02={_0x4864a5:0xdd};function _0x2c5bd1(_0x26b938,_0x22dcd8,_0x3ca142,_0x41699b){return _0x28bc81(_0x26b938-0xcc,_0x22dcd8-0xbc,_0x26b938-_0x397d02._0x4864a5,_0x41699b);}function _0x1e064b(_0x4a9b59,_0x3b0840,_0x87281a,_0x3f1c7f){return _0x28bc81(_0x4a9b59-0x1de,_0x3b0840-0x12d,_0x4a9b59- -_0x38a68f._0x50dc8e,_0x3b0840);}return AGENT_MODEL_SET_NAME_PATTERN[_0x2c5bd1(0x452,0x24f,_0x415447._0x407c09,0x3ac)](_0x3d5adb)&&!PROTOTYPE_SENSITIVE_NAMES[_0x1e064b(_0x415447._0x3904a7,0x43e,_0x415447._0x910bc3,0x48)](_0x3d5adb);}function parseProviderQualifiedModelSelector(_0x43c6f0){const _0x387de6={_0x4952a8:0x50d,_0x4fc7a4:0x39d,_0x58d56f:0xa8,_0x3e97ab:0x2c3,_0x492e81:0x288,_0x4a1475:0x53b,_0x3ca518:0x30e,_0x10c6ba:0x3bb,_0xbeb375:0x1c4,_0x33ff6a:0x25b,_0x244206:0x35b,_0x5f00a9:0x279,_0x22d502:0x390,_0x48c4a8:0x366},_0x226afa={_0x2c82f5:0x5f},_0x2a764c={_0x1bf967:0x4b9};if(_0x43c6f0!==_0x43c6f0[_0x4f8104(0x4c8,_0x387de6._0x4952a8,_0x387de6._0x4fc7a4,0x4b5)]())return void 0x0;const _0x682b7b=_0x43c6f0[_0x5dd22c(_0x387de6._0x58d56f,0x10d,0x148,_0x387de6._0x3e97ab)](':');if(_0x682b7b<=0x0||_0x682b7b===_0x43c6f0[_0x5dd22c(_0x387de6._0x492e81,_0x387de6._0x4a1475,0x42f,_0x387de6._0x3ca518)]-0x1)return void 0x0;function _0x5dd22c(_0xf724aa,_0x4675ad,_0x2ab79a,_0x17ac9b){return _0x5b2413(_0xf724aa-0x167,_0x4675ad-0x1d9,_0x2ab79a- -_0x2a764c._0x1bf967,_0xf724aa);}const _0xe25b5d=_0x43c6f0['slice'](0x0,_0x682b7b);function _0x4f8104(_0x42091d,_0xb14319,_0x36a406,_0x4e44cc){return _0x28bc81(_0x42091d-0x1b9,_0xb14319-_0x226afa._0x2c82f5,_0x36a406-0x85,_0x42091d);}const _0x1ba5f0=_0x43c6f0[_0x5dd22c(0x1c8,0x203,_0x387de6._0x10c6ba,0x1ef)](_0x682b7b+0x1);if(!/^[A-Za-z0-9_-]+$/[_0x5dd22c(0x212,_0x387de6._0xbeb375,_0x387de6._0x33ff6a,_0x387de6._0x244206)](_0xe25b5d)||PROTOTYPE_SENSITIVE_NAMES[_0x4f8104(_0x387de6._0x5f00a9,0x24e,_0x387de6._0x22d502,0x437)](_0xe25b5d)||_0x1ba5f0!==_0x1ba5f0[_0x4f8104(0x307,_0x387de6._0x48c4a8,0x39d,0x395)]()||/[\u0000-\u001F\u007F-\u009F]/u['test'](_0x1ba5f0))return void 0x0;return{'provider':_0xe25b5d,'model':_0x1ba5f0};}function tokenizeCommandArguments(_0x11e7ed){const _0xcf2a91={_0xb917b:0x45d,_0xc0a94:0x593,_0x1fe7e0:0x551,_0x1b553c:0x55f,_0x5b9ae6:0x3e6,_0x2a6168:0x23b,_0x66cd5b:0x1b4,_0x355334:0x318,_0x5f2a26:0x1ba,_0x1770e2:0x67,_0x58f420:0x23b,_0x310dd7:0x19,_0xf47ef7:0x3be,_0x12f912:0x33,_0x5f112a:0xa8},_0x46b112={_0xa516b5:0x22,_0x368f51:0xca,_0x4dc686:0x397},_0x37bb75={_0x5ca329:0x7c,_0x217532:0x30e};function _0x10587a(_0x568363,_0x3d341e,_0x34b78f,_0x11c27b){return _0x28bc81(_0x568363-0x165,_0x3d341e-_0x37bb75._0x5ca329,_0x11c27b- -_0x37bb75._0x217532,_0x34b78f);}const _0x2d4160=[];let _0x1e7ae9='',_0x28ca25=0x0;while(_0x28ca25<_0x11e7ed[_0x5db75e(_0xcf2a91._0xb917b,_0xcf2a91._0xc0a94,_0xcf2a91._0x1fe7e0,_0xcf2a91._0x1b553c)]){const _0x4e451d=_0x11e7ed[_0x28ca25];if(_0x4e451d==='\x5c'&&_0x28ca25+0x1<_0x11e7ed[_0x10587a(_0xcf2a91._0x5b9ae6,0x3e8,0xe4,_0xcf2a91._0x2a6168)])_0x1e7ae9+=_0x11e7ed[_0x28ca25+0x1],_0x28ca25+=0x2;else{if(_0x4e451d==='\x22'||_0x4e451d==='\x27'){const _0x1ea96e=_0x4e451d;_0x28ca25++;while(_0x28ca25<_0x11e7ed[_0x10587a(_0xcf2a91._0x66cd5b,0x28b,_0xcf2a91._0x355334,0x23b)]&&_0x11e7ed[_0x28ca25]!==_0x1ea96e){_0x11e7ed[_0x28ca25]==='\x5c'&&_0x28ca25+0x1<_0x11e7ed[_0x10587a(0x50,_0xcf2a91._0x5f2a26,_0xcf2a91._0x1770e2,_0xcf2a91._0x58f420)]?(_0x1e7ae9+=_0x11e7ed[_0x28ca25+0x1],_0x28ca25+=0x2):(_0x1e7ae9+=_0x11e7ed[_0x28ca25],_0x28ca25++);}_0x28ca25++;}else _0x4e451d!==void 0x0&&/\s/[_0x10587a(0x16d,-0x1b2,_0xcf2a91._0x310dd7,0x67)](_0x4e451d)?(_0x1e7ae9&&(_0x2d4160[_0x5db75e(0x4f9,0x355,_0xcf2a91._0xf47ef7,0x595)](_0x1e7ae9),_0x1e7ae9=''),_0x28ca25++):(_0x1e7ae9+=_0x4e451d,_0x28ca25++);}}function _0x5db75e(_0x4c1cf0,_0x156071,_0x55693c,_0x2e159d){return _0x5b2413(_0x4c1cf0-_0x46b112._0xa516b5,_0x156071-_0x46b112._0x368f51,_0x55693c- -_0x46b112._0x4dc686,_0x156071);}if(_0x1e7ae9)_0x2d4160[_0x10587a(-_0xcf2a91._0x12f912,0x22b,0x1b1,_0xcf2a91._0x5f112a)](_0x1e7ae9);return _0x2d4160;}function renderCommandInstructions(_0x3d9406){const _0x14f13e={_0x2b2eea:0x245,_0x5e8452:0xb23,_0x3d6ee0:0x936,_0x3dd2c4:0xb57,_0x80ba2f:0x976,_0x1a7dee:0x3f9,_0x513ec8:0x39a,_0x34a166:0x48f,_0x408acd:0x8b0,_0x5e2ac8:0x8af,_0x151b70:0xacd,_0x44a86e:0x726,_0x56acea:0x920,_0x1f5d21:0x93e,_0x427c20:0x9a1,_0x1bb569:0x766,_0x4227f7:0x939,_0x474793:0x511,_0x284636:0x5e4,_0x27b234:0x50b},_0x2eed7b={_0x1ca63f:0x27,_0x3680fe:0x21},_0x5d063b={_0x33a938:0x150,_0x60e710:0x4e},_0x2b04b1={_0x57dd33:0x62e};let _0x3580fa=_0x3d9406[_0x87458e(0x340,_0x14f13e._0x2b2eea,0x162,0x26d)],_0x4cca4d=![];const _0x4df485=tokenizeCommandArguments(_0x3d9406[_0x50a24e(_0x14f13e._0x5e8452,0xbf8,_0x14f13e._0x3d6ee0,0x9d6)]);_0x3580fa=_0x3580fa[_0x50a24e(_0x14f13e._0x3dd2c4,0x885,_0x14f13e._0x80ba2f,0x94c)](/\$ARGUMENTS\[(\d+)\]/g,(_0x5d9d45,_0x3a8d2a)=>{return _0x4cca4d=!![],_0x4df485[Number(_0x3a8d2a)]??'';}),_0x3580fa=_0x3580fa[_0x87458e(_0x14f13e._0x1a7dee,_0x14f13e._0x513ec8,_0x14f13e._0x34a166,0x5a5)](/\$ARGUMENTS\b/g,()=>{_0x4cca4d=!![];function _0x16aff3(_0x3f9580,_0x566602,_0x1ca3dd,_0xdd1cb0){return _0x50a24e(_0x3f9580-0x1c5,_0x566602-0x66,_0x3f9580,_0x566602- -0x551);}return _0x3d9406[_0x16aff3(_0x2b04b1._0x57dd33,0x485,0x647,0x59e)];});if(_0x3d9406[_0x50a24e(0x737,0x7aa,_0x14f13e._0x408acd,0x936)]&&_0x3d9406[_0x50a24e(0x82e,0x86e,_0x14f13e._0x5e2ac8,0x936)][_0x50a24e(0x84d,0xa91,_0x14f13e._0x151b70,0x93e)]>0x0)for(let _0xf7d33c=0x0;_0xf7d33c<_0x3d9406['argumentNames'][_0x50a24e(0x964,_0x14f13e._0x44a86e,_0x14f13e._0x56acea,_0x14f13e._0x1f5d21)];_0xf7d33c++){const _0x1208b7=_0x3d9406[_0x50a24e(_0x14f13e._0x427c20,0xa6a,_0x14f13e._0x1bb569,0x936)][_0xf7d33c];if(_0x1208b7){const _0x256c4c=new RegExp('\x5c$'+_0x1208b7+'\x5cb','g');_0x3580fa=_0x3580fa[_0x50a24e(_0x14f13e._0x4227f7,0x955,0xab8,0x94c)](_0x256c4c,()=>{return _0x4cca4d=!![],_0x4df485[_0xf7d33c]??'';});}}function _0x87458e(_0x44432f,_0x53a7fc,_0x4249f3,_0xdc7450){return _0x28bc81(_0x44432f-0x184,_0x53a7fc-_0x5d063b._0x33a938,_0xdc7450-_0x5d063b._0x60e710,_0x4249f3);}function _0x50a24e(_0x1d6bfd,_0x461e7a,_0x473d3f,_0x309e80){return _0x5b2413(_0x1d6bfd-_0x2eed7b._0x1ca63f,_0x461e7a-_0x2eed7b._0x3680fe,_0x309e80-0x56,_0x473d3f);}return _0x3580fa=_0x3580fa[_0x87458e(_0x14f13e._0x474793,_0x14f13e._0x284636,0x73c,0x5a5)](/\$(\d+)\b/g,(_0xf868e0,_0x384ffa)=>{return _0x4cca4d=!![],_0x4df485[Number(_0x384ffa)]??'';}),!_0x4cca4d&&_0x3d9406['argumentsText']['trim']()&&(_0x3580fa=_0x3580fa+_0x87458e(0x3fb,_0x14f13e._0x27b234,0x6ea,0x4ef)+_0x3d9406['argumentsText']),_0x3580fa;}var PROVIDER_API_KEY_ENVS=[{'env':_0x5b2413(0x9fc,0x939,0x7e2,0x701),'provider':_0x28bc81(0x532,0x389,0x311,0xf1)},{'env':_0x5b2413(0x770,0x831,0x8da,0x96b),'provider':_0x5b2413(0x778,0xa7e,0x963,0x802)},{'env':_0x28bc81(0x206,0x270,0x3f8,0x2a9),'provider':_0x28bc81(0x7a1,0x554,0x607,0x52b)},{'env':_0x5b2413(0x9d4,0x915,0x831,0x77b),'provider':'github'},{'env':_0x5b2413(0x3c7,0x643,0x57d,0x630),'provider':'grok'},{'env':'DEEPINFRA_API_KEY','provider':_0x28bc81(0x394,0x3b3,0x3d9,0x383)},{'env':'ZAI_API_KEY','provider':_0x5b2413(0xabf,0xa60,0x926,0xb28)},{'env':_0x28bc81(0x406,0x66f,0x4b5,0x5ad),'provider':_0x5b2413(0x7f5,0x69c,0x7dd,0x9bd)},{'env':_0x5b2413(0x95b,0xb07,0x8f7,0xaba),'provider':'minimax'},{'env':_0x5b2413(0x4c6,0x660,0x5fd,0x5af),'provider':'kimi'},{'env':_0x5b2413(0xa2d,0xb93,0x98b,0x8dd),'provider':_0x5b2413(0x6cf,0x7f9,0x851,0x8ff)},{'env':'DEEPSEEK_API_KEY','provider':_0x5b2413(0xa17,0x8ce,0x988,0xaec)},{'env':_0x5b2413(0x55b,0x6af,0x6af,0x8c7),'provider':_0x28bc81(0x406,0x41e,0x497,0x3df)}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS[_0x28bc81(0x7e7,0x640,0x5d1,0x4b6)](_0x56c957=>_0x56c957['env']),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,_0x28bc81(0x76,0x140,0x237,0x175),_0x5b2413(0x951,0x5c2,0x7b7,0x9bb),_0x5b2413(0x59b,0x893,0x70e,0x59f)],SHELL_SCRUBBED_ENV_KEYS=[...SCRUBBED_ENV_KEYS,_0x5b2413(0x62e,0x82a,0x7ca,0x81b),'ENV',_0x5b2413(0x853,0x9ba,0x98e,0xa95),_0x28bc81(0x1c4,0x4e5,0x39e,0x1f1),_0x28bc81(0x4ea,0x54d,0x395,0x3f5),_0x28bc81(0x2cf,0x3db,0x1ea,0x3c4)],PROTOTYPE_SENSITIVE_NAMES2=new Set([...Object[_0x28bc81(0x36d,0x468,0x3cf,0x2e7)](Object[_0x5b2413(0x9f9,0x959,0x82f,0x846)]),_0x5b2413(0x6ea,0x75f,0x82f,0x84b)]),PRODUCTION_FILE_EDIT_MODES=['exact',_0x5b2413(0x9d9,0x91f,0x859,0x90c),_0x5b2413(0x844,0x65c,0x646,0x692)];function prototypeSafeRecord(_0x165dcd){const _0xec0102={_0x564445:0x2d4,_0x577679:0x490,_0x52ac1d:0x1ba,_0x42cf8d:0x39d,_0x426f95:0x34d,_0xe018a3:0x59e},_0x45a2a7={_0xce7b19:0x121,_0x4ea8d4:0x34,_0x531c62:0x53,_0xd01c38:0x0,_0x212952:0x28c,_0x16e1c3:0x29,_0x126a01:0x111,_0x4564db:0x8,_0x48eb3c:0x123},_0x14e930={_0x360a9c:0x171,_0x3bd98e:0x10,_0x255207:0x33d},_0x279637={_0x2336d9:0x25,_0x2f679e:0x1a7};function _0xa5d0e8(_0x4d7739,_0x28dbad,_0x292c85,_0x8f616d){return _0x28bc81(_0x4d7739-_0x279637._0x2336d9,_0x28dbad-_0x279637._0x2f679e,_0x8f616d-0x215,_0x4d7739);}function _0x166040(_0x1c9c24,_0x43c492,_0xce4f1c,_0x3f381e){return _0x5b2413(_0x1c9c24-_0x14e930._0x360a9c,_0x43c492-_0x14e930._0x3bd98e,_0x1c9c24- -_0x14e930._0x255207,_0x43c492);}return z['preprocess'](_0x260e53=>{const _0x454704={_0x390de4:0x265};if(_0x260e53===null||typeof _0x260e53!==_0x25a826(-_0x45a2a7._0xce7b19,_0x45a2a7._0x4ea8d4,-_0x45a2a7._0x531c62,_0x45a2a7._0xd01c38)||Array[_0x25a826(-0xfd,-_0x45a2a7._0x212952,-0x74,-_0x45a2a7._0x16e1c3)](_0x260e53))return null;const _0x5c6c87=Object['getPrototypeOf'](_0x260e53);if(_0x5c6c87!==Object['prototype']&&_0x5c6c87!==null)return null;function _0x25a826(_0x17919a,_0x1f22ec,_0x53c40c,_0xe6023f){return _0x8662(_0x53c40c- -0x2e0,_0x17919a);}function _0x3bc5de(_0xbea843,_0x502eb2,_0x1e7ab7,_0x5dcd7b){return _0x8662(_0xbea843- -_0x454704._0x390de4,_0x1e7ab7);}return{'entries':Object[_0x25a826(0x1d1,_0x45a2a7._0x126a01,-_0x45a2a7._0x4564db,-_0x45a2a7._0x48eb3c)](_0x260e53)};},z[_0x166040(0x2c7,_0xec0102._0x564445,_0xec0102._0x577679,0x47c)]({'entries':z[_0x166040(0x35c,_0xec0102._0x52ac1d,_0xec0102._0x42cf8d,_0xec0102._0x426f95)](z[_0xa5d0e8(0x81b,0x8fb,0x5fd,0x806)]([z['string'](),_0x165dcd]))}))[_0x166040(0x4ea,0x67f,0x2cf,_0xec0102._0xe018a3)](({entries:_0x51e32c})=>Object['fromEntries'](_0x51e32c));}var chatModelAuthSchemeSchema=z[_0x5b2413(0x726,0x568,0x6b4,0x75a)](['bearer',_0x28bc81(0x255,0x16b,0x284,0x14b)]),apiKeyAuthSchema=z['object']({'type':z[_0x5b2413(0x82b,0xae8,0x918,0x8bd)]('apiKey'),'apiKey':z[_0x28bc81(0x1f5,0x427,0x296,0x247)](),'authScheme':chatModelAuthSchemeSchema['optional']()})[_0x5b2413(0x860,0x803,0x87e,0xa1b)](),oauthAuthSchema=z['object']({'type':z[_0x5b2413(0x736,0xa08,0x918,0x739)]('oauth'),'access':z[_0x5b2413(0x53d,0x6e4,0x635,0x6fa)](),'refresh':z[_0x28bc81(0x22a,0x1fc,0x296,0x3b5)](),'expires':z[_0x28bc81(0x311,0x56e,0x420,0x456)]()['optional'](),'authScheme':chatModelAuthSchemeSchema[_0x5b2413(0x9aa,0x88d,0x915,0xb08)]()})['passthrough'](),finiteNonNegative=z[_0x5b2413(0x651,0x991,0x7bf,0x914)]()[_0x28bc81(0x2a9,0x13b,0x2a2,0x328)]()[_0x28bc81(0x484,0x331,0x4bc,0x69c)](),chatGptAuthSchema=z[_0x28bc81(0x28b,0x24b,0x265,0x1ac)]({'type':z[_0x28bc81(0x6f0,0x684,0x579,0x41e)]('chatgpt'),'access':z['string']()[_0x28bc81(0x415,0x2d3,0x340,0x3a7)](0x1),'refresh':z['string']()[_0x28bc81(0x24d,0x25d,0x340,0x18a)](0x1),'idToken':z['string']()[_0x5b2413(0x7c4,0x72c,0x6df,0x776)](0x1),'accountId':z[_0x5b2413(0x826,0x44a,0x635,0x4f2)]()[_0x28bc81(0x195,0x4c7,0x340,0x4a7)](0x1),'expires':finiteNonNegative,'earliestRefreshAt':finiteNonNegative[_0x28bc81(0x734,0x6a6,0x576,0x5bd)]()})[_0x28bc81(0x609,0x522,0x4df,0x612)](),authMethodSchema=z[_0x28bc81(0x56d,0x63c,0x5b0,0x65a)]([apiKeyAuthSchema,oauthAuthSchema,chatGptAuthSchema]),reasoningEffortSchema=z[_0x5b2413(0x8bb,0x845,0x6b4,0x68f)]([_0x5b2413(0x646,0x3fe,0x593,0x72d),_0x28bc81(0x4dc,0x21f,0x2ea,0x1c2),_0x28bc81(0x195,0x32e,0x3a1,0x45e),_0x28bc81(-0x44,0x1f2,0x1dd,0x80),'xhigh',_0x28bc81(0x264,0x346,0x467,0x31d)]),reasoningOptionSchema=z[_0x28bc81(0x62,0xae,0x265,0xb2)]({'id':z[_0x28bc81(0x21e,0xc0,0x296,0x278)]()[_0x28bc81(0x35d,0x390,0x318,0x4a0)]()[_0x28bc81(0x3ba,0x4b6,0x340,0x55b)](0x1),'description':z[_0x28bc81(0x8f,0x3ee,0x296,0x33b)]()[_0x28bc81(0x68b,0x46a,0x576,0x57c)](),'mode':z['enum'](['adaptive',_0x5b2413(0x739,0x66c,0x624,0x652)])['optional'](),'effort':reasoningEffortSchema[_0x5b2413(0x7d1,0x7d0,0x915,0xb27)](),'budgetTokens':z[_0x28bc81(0x5ba,0x303,0x420,0x279)]()['int']()['min'](0x400)[_0x5b2413(0x8c3,0xa41,0x915,0xb22)]()})[_0x5b2413(0x717,0x714,0x6d0,0x8ee)]((_0x5b7885,_0x516065)=>{const _0x58dc70={_0x1bfa86:0x6e8,_0x42f1a5:0x68a,_0x54f59f:0x5b2,_0x44f875:0x487,_0xcd54c5:0x3ec,_0x1a2240:0x6d7,_0x210a58:0x571,_0xf2871e:0x765,_0x260685:0x4f9,_0x55b221:0x611,_0x854e43:0x4ec,_0x2be419:0x89,_0x5264be:0x74,_0x3a8aca:0x6f0,_0x4124ce:0x4c2,_0x28ca8f:0x3c3,_0x1ea02d:0x545,_0x12a6af:0x550,_0x315043:0x4dd,_0x4ce24f:0x28e,_0x38b104:0x3a3,_0x404d68:0x419,_0x117e08:0x478,_0x195570:0x4fa,_0x2abab3:0x31c,_0xd0dbf0:0x210,_0x59fa01:0x5aa,_0x5a6c42:0x361,_0x2a8268:0x371,_0x553911:0x2f1,_0x1031b6:0x533,_0x3fa807:0x69e,_0x6ee31a:0x542,_0x5a2d4c:0x64f,_0x4528d2:0x553,_0x5953f3:0x4ba,_0x5627a0:0x193,_0x33bd76:0x350},_0x373f90={_0x442b83:0xc,_0x2a7cf7:0x1b5},_0x7d7e3={_0x5622b3:0x8a,_0x30ed4d:0x49c},_0x252f06=_0x5b7885['id']['toLowerCase']();(_0x252f06==='off'||_0x252f06===_0x348d34(0x4ed,0x4b4,0x203,0x3cb)||_0x252f06===_0x348d34(0x550,0x81c,0x7d1,_0x58dc70._0x1bfa86))&&_0x516065[_0x348d34(0x561,_0x58dc70._0x42f1a5,_0x58dc70._0x54f59f,0x69e)]({'code':'custom','path':['id'],'message':'Reasoning\x20option\x20\x22'+_0x252f06+_0xc08046(0x47b,_0x58dc70._0x44f875,_0x58dc70._0xcd54c5,0x324)});if(_0x5b7885[_0x348d34(_0x58dc70._0x1a2240,0x6ba,0x734,0x6c6)]==='manual'){_0x5b7885[_0x348d34(0x4fe,_0x58dc70._0x210a58,0x869,0x68a)]===void 0x0&&_0x516065['addIssue']({'code':_0x348d34(0x81a,0x42c,0x6db,0x603),'path':[_0x348d34(_0x58dc70._0xf2871e,0x5d4,0x732,0x68a)],'message':_0x348d34(0x5d0,_0x58dc70._0x260685,_0x58dc70._0x55b221,_0x58dc70._0x854e43)});_0x5b7885[_0xc08046(-_0x58dc70._0x2be419,-_0x58dc70._0x5264be,-0xd6,0xdc)]!==void 0x0&&_0x516065[_0x348d34(_0x58dc70._0x3a8aca,0x6a1,0x7ea,0x69e)]({'code':'custom','path':[_0x348d34(0x3b8,_0x58dc70._0x4124ce,0x213,_0x58dc70._0x28ca8f)],'message':_0x348d34(0x6a4,0x451,_0x58dc70._0x1ea02d,0x530)});return;}function _0xc08046(_0x390dac,_0x42dbf8,_0x4cac6c,_0xf965db){return _0x5b2413(_0x390dac-_0x7d7e3._0x5622b3,_0x42dbf8-0x14,_0xf965db- -_0x7d7e3._0x30ed4d,_0x4cac6c);}_0x5b7885[_0xc08046(_0x58dc70._0x12a6af,_0x58dc70._0x315043,_0x58dc70._0x4ce24f,_0x58dc70._0x38b104)]!==void 0x0&&_0x516065[_0xc08046(0x591,_0x58dc70._0x404d68,_0x58dc70._0x117e08,0x3b7)]({'code':_0xc08046(0x304,_0x58dc70._0x195570,0x14d,_0x58dc70._0x2abab3),'path':[_0xc08046(0x573,_0x58dc70._0xd0dbf0,_0x58dc70._0x59fa01,0x3a3)],'message':_0xc08046(_0x58dc70._0x5a6c42,_0x58dc70._0x2a8268,_0x58dc70._0x553911,0x43a)});function _0x348d34(_0x4fdac2,_0x2ad1db,_0x797583,_0x20571c){return _0x5b2413(_0x4fdac2-_0x373f90._0x442b83,_0x2ad1db-0x38,_0x20571c- -_0x373f90._0x2a7cf7,_0x797583);}_0x5b7885['mode']===void 0x0&&_0x5b7885['effort']===void 0x0&&_0x516065[_0x348d34(0x65b,0x858,_0x58dc70._0x1031b6,_0x58dc70._0x3fa807)]({'code':_0x348d34(0x75c,_0x58dc70._0x6ee31a,_0x58dc70._0x5a2d4c,0x603),'path':['effort'],'message':_0xc08046(_0x58dc70._0x4528d2,_0x58dc70._0x5953f3,_0x58dc70._0x5627a0,_0x58dc70._0x33bd76)});});function validateReasoningOptionIds(_0x2dd39c,_0x1d0c9c){const _0x1bfc17={_0x2621e2:0x397,_0x43115d:0x41d,_0x1d7ed9:0x562,_0x57e1dd:0xc5,_0x469399:0x1df,_0x191f32:0x50c,_0x1fc990:0x205,_0x8c210b:0x3e1,_0x246af6:0x257,_0xe15d66:0x2ed,_0x489126:0x177,_0x48e9ff:0x182,_0x3123a8:0x2a2},_0x826148={_0x112629:0x1d9,_0x29206b:0x12c},_0x2f39ad=new Set();function _0x46b559(_0x358298,_0x3ad366,_0xefe72f,_0x3a8d88){return _0x5b2413(_0x358298-0x16e,_0x3ad366-0x1f4,_0x358298- -0x6ab,_0xefe72f);}function _0x1ea8b8(_0x3a5db8,_0x559c24,_0x3b9a81,_0x4f8483){return _0x28bc81(_0x3a5db8-0x164,_0x559c24-_0x826148._0x112629,_0x3b9a81- -_0x826148._0x29206b,_0x559c24);}for(let _0x31c567=0x0;_0x31c567<_0x2dd39c[_0x1ea8b8(0x56d,_0x1bfc17._0x2621e2,_0x1bfc17._0x43115d,_0x1bfc17._0x1d7ed9)];_0x31c567+=0x1){const _0x2b993f=_0x2dd39c[_0x31c567]?.['id']['toLowerCase']();if(!_0x2b993f)continue;if(_0x2f39ad[_0x1ea8b8(_0x1bfc17._0x57e1dd,-0x3c,_0x1bfc17._0x469399,0x21c)](_0x2b993f)){_0x1d0c9c[_0x1ea8b8(_0x1bfc17._0x191f32,_0x1bfc17._0x1fc990,0x388,_0x1bfc17._0x8c210b)]({'code':_0x1ea8b8(0x293,_0x1bfc17._0x246af6,_0x1bfc17._0xe15d66,0x161),'path':[_0x46b559(_0x1bfc17._0x489126,0x366,-0x34,0x166),_0x31c567,'id'],'message':_0x1ea8b8(_0x1bfc17._0x48e9ff,_0x1bfc17._0x3123a8,0x33c,0x3e1)+_0x2b993f+'\x22'});continue;}_0x2f39ad['add'](_0x2b993f);}}var providerReasoningConfigSchema=z[_0x5b2413(0x412,0x76f,0x604,0x513)]({'options':z[_0x5b2413(0x6ed,0x507,0x699,0x876)](reasoningOptionSchema)})['superRefine']((_0x2b90db,_0x287f9d)=>{validateReasoningOptionIds(_0x2b90db['options'],_0x287f9d);}),modelReasoningConfigSchema=z[_0x5b2413(0x76f,0x61c,0x604,0x41f)]({'defaultOption':z['string']()[_0x28bc81(0x135,0x511,0x318,0x367)]()['min'](0x1)[_0x5b2413(0xa68,0xa7c,0x915,0x766)](),'canDisable':z[_0x28bc81(0x39c,0x39f,0x524,0x695)]()[_0x28bc81(0x534,0x366,0x576,0x6eb)](),'options':z[_0x28bc81(0x4b5,0x3c9,0x2fa,0x1a1)](reasoningOptionSchema)})[_0x28bc81(0x42f,0x4c6,0x331,0x14d)]((_0x5c91f6,_0x36192c)=>{const _0x20593f={_0x5a16c6:0x59e,_0x1fff46:0x499,_0x1632e0:0x177,_0x5df764:0x16a,_0x457a92:0x322,_0x5840cc:0x193,_0x202ccb:0x462,_0x176883:0x459,_0x2358e5:0x403,_0x17a404:0x7ba,_0x479735:0x2a8,_0x2448ff:0x35f,_0x4ae52a:0x482,_0x1035cd:0xdf,_0x17eef1:0x2be,_0x315328:0x280,_0x43a886:0x55,_0x388058:0x3d7,_0x11fb0b:0x5dd,_0x58e2ee:0x4ff,_0x318256:0x506,_0x385c0c:0x223,_0x243e96:0x5f7,_0x1e8669:0x4d0,_0x47aa1a:0x1b1,_0x4cfa3a:0x511,_0x3d5c73:0x5d0,_0x14bdb0:0x38b},_0x572833={_0x3ad66d:0x6b,_0x238312:0xb8,_0x200f01:0x5ab},_0x3eb0b0={_0x172e01:0x172};validateReasoningOptionIds(_0x5c91f6[_0x367c6c(0x535,_0x20593f._0x5a16c6,_0x20593f._0x1fff46,0x3fe)],_0x36192c);function _0x367c6c(_0x145e3b,_0x61effd,_0x2a8040,_0x2a5fc0){return _0x5b2413(_0x145e3b-_0x3eb0b0._0x172e01,_0x61effd-0x1d9,_0x61effd- -0x284,_0x2a8040);}function _0x2c2b80(_0x32b827,_0x5350e0,_0xaf095a,_0x4484c5){return _0x5b2413(_0x32b827-_0x572833._0x3ad66d,_0x5350e0-_0x572833._0x238312,_0x32b827- -_0x572833._0x200f01,_0x4484c5);}const _0x2a832e=_0x5c91f6[_0x2c2b80(0x1ea,0x1f8,0x169,_0x20593f._0x1632e0)]?.[_0x2c2b80(_0x20593f._0x5df764,_0x20593f._0x457a92,_0x20593f._0x5840cc,0x345)]();if(_0x2a832e===void 0x0)return;if(_0x2a832e===_0x367c6c(_0x20593f._0x202ccb,_0x20593f._0x176883,0x4dd,_0x20593f._0x2358e5)){_0x5c91f6[_0x367c6c(_0x20593f._0x17a404,0x5e7,0x3c5,0x68a)]!==!![]&&_0x36192c[_0x2c2b80(_0x20593f._0x479735,_0x20593f._0x2448ff,_0x20593f._0x2448ff,_0x20593f._0x4ae52a)]({'code':_0x2c2b80(0x20d,_0x20593f._0x1035cd,_0x20593f._0x17eef1,_0x20593f._0x315328),'path':[_0x2c2b80(0x1ea,-0x1f,0xd2,_0x20593f._0x43a886)],'message':_0x367c6c(0x5f6,_0x20593f._0x388058,0x283,0x213)});return;}!_0x5c91f6[_0x367c6c(_0x20593f._0x11fb0b,0x59e,0x3eb,_0x20593f._0x58e2ee)][_0x367c6c(0x71c,0x62e,_0x20593f._0x318256,0x554)](_0x5acc38=>_0x5acc38['id'][_0x367c6c(0x4a6,0x491,0x5ef,0x280)]()===_0x2a832e)&&_0x36192c['addIssue']({'code':_0x2c2b80(0x20d,0x3b1,0x67,_0x20593f._0x385c0c),'path':[_0x367c6c(_0x20593f._0x243e96,0x511,_0x20593f._0x1e8669,0x5b7)],'message':_0x2c2b80(0x115,_0x20593f._0x47aa1a,0xd6,-0x57)+_0x5c91f6[_0x367c6c(0x66a,_0x20593f._0x4cfa3a,0x5ae,_0x20593f._0x3d5c73)]+_0x367c6c(_0x20593f._0x14bdb0,0x580,0x56d,0x416)});}),modelDefinitionSchema=z['object']({'id':z[_0x5b2413(0x64b,0x700,0x635,0x71a)](),'name':z[_0x28bc81(0x46c,0xfd,0x296,0x31c)]()['optional'](),'reasoning':modelReasoningConfigSchema[_0x28bc81(0x4ca,0x53c,0x576,0x622)]()})[_0x5b2413(0x693,0x838,0x87e,0x8f6)](),modelConfigSchema=z['union']([z['literal'](![]),z['literal'](!![]),z[_0x28bc81(0x2df,0x88,0x296,0x224)](),z['array'](z['string']()),z['array'](modelDefinitionSchema)]),chatModelSurfaceSchema=z['enum']([_0x28bc81(0x5d4,0x72c,0x56c,0x6c5),'openai-chat-completions',_0x5b2413(0x84f,0x8ca,0x7ab,0x78b),_0x28bc81(0x348,0x2ea,0x2c0,0x37d)]),providerNameSchema=z['string']()[_0x5b2413(0x55a,0x788,0x6df,0x716)](0x1,'Provider\x20name\x20cannot\x20be\x20empty')[_0x28bc81(-0xc,0x3aa,0x1f8,0x194)](_0x30906d=>!_0x30906d[_0x5b2413(0x58b,0x591,0x760,0x77d)](':'),_0x5b2413(0xad6,0x75b,0x8c5,0x825)),providerConfigSchema=z['object']({'apiKey':z[_0x28bc81(0x162,0x3cb,0x296,0xd9)]()['optional'](),'token':z[_0x5b2413(0x7ab,0x7ba,0x635,0x510)]()[_0x5b2413(0x7b0,0xaf8,0x915,0x99f)](),'defaultModel':z[_0x5b2413(0x737,0x855,0x635,0x5da)]()[_0x28bc81(0x5dc,0x726,0x576,0x4f5)](),'smallModel':z[_0x28bc81(0x44a,0x162,0x296,0x175)]()[_0x5b2413(0x6f4,0xb19,0x915,0x7f6)](),'currentAuth':z[_0x28bc81(0x155,0x3eb,0x296,0x108)]()[_0x28bc81(0x35e,0x6a0,0x576,0x580)](),'auth':z[_0x5b2413(0x508,0x554,0x699,0x698)](authMethodSchema)[_0x28bc81(0x6cd,0x400,0x576,0x436)](),'surface':chatModelSurfaceSchema[_0x28bc81(0x634,0x713,0x576,0x776)](),'providerId':providerNameSchema[_0x28bc81(0x753,0x76f,0x576,0x65f)](),'baseUrl':z[_0x5b2413(0x80a,0x6f5,0x635,0x439)]()[_0x28bc81(0x60b,0x48a,0x576,0x497)](),'models':modelConfigSchema[_0x28bc81(0x5f0,0x431,0x576,0x6e5)](),'customHeaders':z[_0x5b2413(0x78b,0x5a7,0x58f,0x781)](z[_0x5b2413(0x76a,0x438,0x635,0x454)](),z[_0x28bc81(0x2e9,0x2dc,0x296,0x46f)]())['optional'](),'reasoning':providerReasoningConfigSchema[_0x5b2413(0x9df,0x8fa,0x915,0x903)]()})[_0x5b2413(0xa71,0x86a,0x87e,0x8df)](),mcpServerConfigSchema=z[_0x28bc81(0x2f8,0xe8,0x265,0x291)]({'command':z[_0x5b2413(0x509,0x826,0x635,0x41f)]()[_0x5b2413(0x931,0x746,0x915,0xa18)](),'args':z[_0x5b2413(0x4aa,0x50d,0x699,0x63e)](z[_0x5b2413(0x42a,0x4f4,0x635,0x6da)]())['optional'](),'env':z[_0x28bc81(0x11a,0x185,0x1f0,0x2e1)](z[_0x28bc81(0x395,0x427,0x296,0x191)](),z['string']())[_0x28bc81(0x473,0x595,0x576,0x53f)](),'transport':z[_0x5b2413(0x801,0x84f,0x6b4,0x8cc)]([_0x5b2413(0x6ba,0x401,0x573,0x469),_0x28bc81(0x46c,0x327,0x4eb,0x53d)])['optional'](),'url':z[_0x28bc81(0x14d,0x35f,0x296,0x1c3)]()[_0x28bc81(0x370,0x5a2,0x576,0x3b5)](),'headers':z[_0x5b2413(0x458,0x6ae,0x58f,0x52e)](z[_0x28bc81(0x15d,0x348,0x296,0x282)](),z[_0x28bc81(0x2bf,0x362,0x296,0x122)]())[_0x28bc81(0x37e,0x5dd,0x576,0x3f3)](),'prefix':z[_0x5b2413(0x62b,0x716,0x635,0x41d)]()['optional'](),'timeoutMs':z[_0x28bc81(0x3c8,0x4f3,0x420,0x4b6)]()[_0x5b2413(0xa27,0x7ff,0x915,0x94f)](),'enabled':z[_0x5b2413(0x933,0x8ab,0x8c3,0x9dd)]()[_0x5b2413(0x835,0xa2d,0x915,0xa20)](),'auth':z[_0x5b2413(0x4f9,0x69f,0x604,0x4fe)]({'type':z[_0x5b2413(0x6e6,0x50f,0x6b4,0x879)]([_0x5b2413(0x8f2,0x7be,0x9ac,0x9e5),_0x28bc81(0x20c,0x1c4,0x3cb,0x296),'oauth']),'token':z['string']()[_0x5b2413(0x925,0xaa2,0x915,0x746)](),'oauth':z[_0x5b2413(0x736,0x48c,0x604,0x448)]({'clientId':z[_0x5b2413(0x5e3,0x588,0x635,0x494)]()[_0x5b2413(0x779,0xaf9,0x915,0x9fb)](),'clientMetadataUrl':z['string']()[_0x28bc81(0x430,0x696,0x576,0x542)](),'authorizationServer':z['string']()[_0x5b2413(0x87c,0x9e2,0x915,0x74f)](),'scopes':z[_0x28bc81(0x457,0x511,0x2fa,0x277)](z['string']())['optional'](),'tokenStorageKey':z[_0x28bc81(0x3c7,0x417,0x296,0xeb)]()[_0x28bc81(0x371,0x5e9,0x576,0x68c)]()})['passthrough']()[_0x28bc81(0x620,0x636,0x576,0x480)]()})['passthrough']()[_0x28bc81(0x57f,0x74d,0x576,0x6a7)]()})[_0x5b2413(0x964,0x8af,0x87e,0xa82)](),mcpToolPermissionClassSchema=z[_0x28bc81(0x18f,0x162,0x315,0x164)](['read','write',_0x5b2413(0x9fc,0x8da,0x8f5,0xa65)]),mcpSettingsSchema=z[_0x5b2413(0x463,0x47c,0x604,0x711)]({'servers':prototypeSafeRecord(mcpServerConfigSchema)[_0x5b2413(0x8c2,0xa0b,0x915,0x7f8)](),'allowedTools':prototypeSafeRecord(prototypeSafeRecord(z['boolean']()))[_0x28bc81(0x487,0x3e3,0x576,0x585)](),'toolPermissions':prototypeSafeRecord(prototypeSafeRecord(mcpToolPermissionClassSchema))[_0x28bc81(0x73e,0x6e4,0x576,0x747)](),'defaultTimeoutMs':z['number']()[_0x5b2413(0x8e9,0xad8,0x915,0xa4a)]()})[_0x28bc81(0x34a,0x2dd,0x4df,0x451)](),skillsSettingsSchema=z[_0x5b2413(0x592,0x6ea,0x604,0x3e3)]({'enabled':z[_0x5b2413(0x958,0xa0e,0x8c3,0xa8b)]()[_0x5b2413(0x86f,0x92a,0x915,0x9be)](),'includeDefaults':z[_0x5b2413(0x97f,0x760,0x8c3,0x980)]()[_0x28bc81(0x6ee,0x47b,0x576,0x655)](),'directories':z['array'](z['string']())[_0x5b2413(0xa5d,0x73d,0x915,0x97b)](),'exclude':z[_0x28bc81(0x2c7,0x12e,0x2fa,0x498)](z[_0x28bc81(0xa8,0x4b2,0x296,0x7b)]())['optional']()})[_0x28bc81(0x453,0x561,0x4df,0x506)](),commandsSettingsSchema=z[_0x5b2413(0x523,0x579,0x604,0x637)]({'enabled':z[_0x28bc81(0x397,0x4ef,0x524,0x54d)]()[_0x28bc81(0x415,0x3de,0x576,0x5ae)](),'directories':z[_0x28bc81(0x348,0x17b,0x2fa,0x2d2)](z['string']())[_0x5b2413(0x733,0x7f0,0x915,0x858)]()})[_0x28bc81(0x64b,0x40b,0x4df,0x471)](),agentsSettingsSchema=z[_0x28bc81(0x423,0x148,0x265,0xec)]({'enabled':z[_0x28bc81(0x732,0x704,0x524,0x4e8)]()[_0x5b2413(0x877,0x942,0x915,0x87d)](),'includeDefaults':z['boolean']()['optional'](),'directories':z[_0x5b2413(0x84c,0x4c6,0x699,0x7cb)](z[_0x28bc81(0x31f,0x289,0x296,0x223)]())[_0x5b2413(0xae4,0x9e3,0x915,0x916)](),'maxConcurrency':z[_0x5b2413(0x85c,0x6a1,0x7bf,0x630)]()[_0x28bc81(0x364,0x206,0x2a2,0x3e1)]()[_0x5b2413(0x5de,0x3b7,0x5a5,0x5fe)]()[_0x28bc81(0x369,0x356,0x4b9,0x40f)]()[_0x28bc81(0x5fd,0x705,0x576,0x50c)]()})[_0x28bc81(0x372,0x5aa,0x4df,0x516)](),uiThemeSettingsSchema=z[_0x5b2413(0x567,0x69d,0x604,0x77c)]({'mode':z[_0x28bc81(0x373,0x169,0x315,0x2f1)](['auto',_0x5b2413(0x7c3,0x8b2,0x7f5,0x94f),_0x28bc81(0x6a9,0x4d8,0x522,0x3fe)])[_0x28bc81(0x64b,0x43f,0x576,0x3bd)](),'colorLevel':z[_0x28bc81(0x4e1,0x1da,0x315,0x2dc)](['auto',_0x28bc81(0x53f,0x62b,0x60d,0x511),_0x5b2413(0x75c,0x754,0x88d,0x822),'ansi256',_0x28bc81(0x501,0x5f7,0x507,0x672)])[_0x5b2413(0x853,0x74e,0x915,0x8fc)](),'backgrounds':z[_0x5b2413(0x6a0,0x6e3,0x6b4,0x81f)]([_0x5b2413(0x8a2,0x7db,0x705,0x55a),'on',_0x5b2413(0x551,0x577,0x6dd,0x6ed)])[_0x28bc81(0x678,0x500,0x576,0x538)](),'messageStyle':z[_0x5b2413(0x4cf,0x4ac,0x6b4,0x75f)]([_0x5b2413(0x63f,0x6f6,0x5d3,0x6e2),_0x5b2413(0xa4b,0x72a,0x87c,0x6e7)])[_0x5b2413(0x890,0x806,0x915,0x851)]()})[_0x28bc81(0x686,0x685,0x4df,0x558)](),statuslineSegmentSchema=z['enum']([_0x28bc81(0x3dc,0x556,0x5e6,0x7f0),_0x5b2413(0x94f,0x7c8,0x88b,0xa2a),_0x28bc81(0x236,0x2cc,0x2ae,0x16d),_0x5b2413(0x8aa,0xb43,0x98d,0xb93),'tokens',_0x28bc81(-0x2b,0x167,0x1f5,0x185),_0x28bc81(0x20b,0x1bd,0x30d,0x433),_0x28bc81(0x40f,0x400,0x50d,0x327),'tools',_0x28bc81(0x260,0x472,0x3f4,0x5f9),_0x28bc81(0x318,0x139,0x27f,0x394),_0x5b2413(0x927,0x670,0x870,0x6de),_0x28bc81(0x748,0x500,0x5c0,0x69b),_0x5b2413(0x6e3,0x6ef,0x587,0x7a7),'rss']),statuslineItemSchema=z[_0x5b2413(0x79a,0xb0e,0x94f,0xaf3)]([statuslineSegmentSchema,z[_0x28bc81(0x610,0x418,0x579,0x5fa)]('|')]),statuslineRowSchema=z[_0x28bc81(0x193,0x124,0x2fa,0x474)](statuslineItemSchema),statuslineConfigSchema=z[_0x28bc81(0x2b8,0x35b,0x265,0x16a)]({'rows':z[_0x28bc81(0x718,0x5fb,0x5f1,0x6b8)]([statuslineRowSchema,statuslineRowSchema])[_0x5b2413(0xae6,0xa85,0x915,0xa2c)]()})['passthrough'](),memoryExtractionSettingsSchema=z[_0x5b2413(0x79f,0x4b0,0x604,0x7ae)]({'enabled':z[_0x28bc81(0x5e7,0x65a,0x524,0x5a3)]()['optional'](),'provider':z[_0x28bc81(0xc6,0x3cb,0x296,0x247)]()[_0x28bc81(0x2e4,0x12b,0x340,0x146)](0x1)[_0x5b2413(0x9e7,0xab0,0x915,0x886)](),'model':z['string']()[_0x28bc81(0x485,0x125,0x340,0x19c)](0x1)[_0x28bc81(0x415,0x3cc,0x576,0x688)](),'minUserMessages':z['number']()[_0x28bc81(0x1ca,0x385,0x206,0x14b)]()[_0x5b2413(0x786,0x517,0x6df,0x8b2)](0x1)[_0x28bc81(0x36a,0x673,0x576,0x4a5)](),'structuredOutput':z[_0x28bc81(0x56e,0x330,0x524,0x4b8)]()[_0x28bc81(0x489,0x718,0x576,0x5da)](),'maxSeedTokens':z[_0x28bc81(0x638,0x53d,0x420,0x26e)]()[_0x5b2413(0x728,0x617,0x5a5,0x636)]()[_0x28bc81(0x17c,0x32a,0x340,0x4c5)](0x1)[_0x5b2413(0x919,0xb09,0x915,0x7f6)](),'trimToolOutputs':z['boolean']()[_0x28bc81(0x42f,0x747,0x576,0x69b)]()})[_0x5b2413(0x886,0x951,0x962,0xaff)](),memoryInjectionSettingsSchema=z[_0x28bc81(0x178,0x12c,0x265,0x310)]({'tokenBudget':z[_0x28bc81(0x468,0x377,0x420,0x405)]()['int']()['min'](0x80)[_0x28bc81(0x404,0x3d4,0x467,0x268)](0x2000)['optional'](),'rankByUsage':z[_0x5b2413(0x8f0,0x9e4,0x8c3,0x958)]()['optional']()})[_0x28bc81(0x4ed,0x7e0,0x5c3,0x609)](),memoryConsolidateSettingsSchema=z[_0x5b2413(0x480,0x4b5,0x604,0x826)]({'enabled':z[_0x5b2413(0x88b,0x9e3,0x8c3,0x951)]()['optional'](),'provider':z['string']()[_0x5b2413(0x792,0x8d8,0x6df,0x595)](0x1)[_0x5b2413(0x95d,0x7e1,0x915,0x83c)](),'model':z[_0x5b2413(0x4df,0x457,0x635,0x679)]()['min'](0x1)[_0x28bc81(0x5af,0x62b,0x576,0x3e1)](),'maxExtractsPerRun':z[_0x5b2413(0x7b5,0x963,0x7bf,0x852)]()[_0x5b2413(0x746,0x6a8,0x5a5,0x68e)]()[_0x5b2413(0x602,0x80d,0x6df,0x762)](0x1)['optional'](),'maxUnusedDays':z[_0x5b2413(0x6a8,0x77e,0x7bf,0x5d9)]()[_0x5b2413(0x655,0x699,0x5a5,0x575)]()['min'](0x1)[_0x28bc81(0x745,0x4c5,0x576,0x373)](),'requireReview':z[_0x28bc81(0x65b,0x3a4,0x524,0x5ac)]()[_0x28bc81(0x4a7,0x4c4,0x576,0x437)](),'writeSkills':z[_0x5b2413(0x925,0xaca,0x8c3,0x961)]()[_0x5b2413(0x821,0xa2f,0x915,0x8ea)](),'readSourceTranscripts':z[_0x5b2413(0x98d,0x6ac,0x8c3,0x6f6)]()[_0x5b2413(0x8a7,0x74a,0x915,0x9c1)](),'maxTranscriptReadsPerRun':z[_0x28bc81(0x542,0x5f1,0x420,0x54c)]()['int']()[_0x28bc81(0x446,0x215,0x340,0x15b)](0x0)['optional']()})['strict'](),memorySettingsSchema=z[_0x5b2413(0x42c,0x750,0x604,0x6f2)]({'enabled':z['boolean']()['optional'](),'extraction':memoryExtractionSettingsSchema[_0x5b2413(0x8c1,0x717,0x915,0x6fa)](),'consolidate':memoryConsolidateSettingsSchema[_0x28bc81(0x39a,0x6a0,0x576,0x504)](),'injection':memoryInjectionSettingsSchema[_0x28bc81(0x6a4,0x3b4,0x576,0x75e)]()})[_0x5b2413(0xa0f,0x9c2,0x962,0x822)]();function _0x5b2413(_0x2dafb5,_0x2539af,_0x524694,_0x4b613a){return _0x8662(_0x524694-0x377,_0x4b613a);}var recentModelSchema=z[_0x28bc81(0x117,0x157,0x265,0x121)]({'provider':z[_0x5b2413(0x5e6,0x7f2,0x635,0x454)](),'model':z[_0x28bc81(0xa1,0x370,0x296,0x79)](),'usedAt':z[_0x28bc81(0x60f,0x31b,0x420,0x52a)]()})['passthrough'](),lspServerEntrySchema=z[_0x5b2413(0x6b2,0x7fc,0x604,0x4bc)]({'disabled':z['boolean']()[_0x5b2413(0xae4,0x847,0x915,0xa35)](),'command':z[_0x28bc81(0x4a6,0x187,0x296,0x3c9)]()[_0x28bc81(0x554,0x45d,0x576,0x5f9)](),'args':z[_0x28bc81(0x512,0x109,0x2fa,0x160)](z[_0x28bc81(0x3d5,0x3fb,0x296,0x145)]())[_0x5b2413(0xaa8,0x983,0x915,0x92f)](),'rootMarkers':z[_0x5b2413(0x773,0x708,0x699,0x84a)](z[_0x28bc81(0x111,0x378,0x296,0x115)]())[_0x5b2413(0x7b3,0x90f,0x915,0xb1b)]()})[_0x28bc81(0x697,0x2c5,0x4df,0x430)](),lspConfigSchema=z[_0x28bc81(0x29a,0x2fd,0x265,0x20b)]({'enabled':z[_0x5b2413(0xa80,0x856,0x8c3,0x708)]()[_0x28bc81(0x5e1,0x6ce,0x576,0x78b)](),'servers':z['record'](z[_0x5b2413(0x585,0x7cc,0x635,0x84c)](),lspServerEntrySchema)['optional']()})[_0x28bc81(0x6f6,0x2c2,0x4df,0x614)](),serverEndpointSchema=z[_0x28bc81(0x383,0xd3,0x265,0x449)]({'url':z[_0x5b2413(0x4af,0x650,0x635,0x48f)](),'token':z['string']()[_0x5b2413(0x87c,0xa98,0x915,0x8fb)]()})[_0x5b2413(0x6f4,0x91b,0x87e,0x771)](),commandHookConfigSchema=z['object']({'type':z[_0x28bc81(0x4d3,0x6e2,0x579,0x78f)](_0x5b2413(0x979,0x9f5,0x947,0x956)),'command':z[_0x28bc81(0x236,0x431,0x296,0x18c)](),'timeout':z[_0x28bc81(0x3ce,0x2cf,0x420,0x244)]()['optional']()}),hookMatcherGroupSchema=z[_0x28bc81(0xa1,0x120,0x265,0xcd)]({'matcher':z[_0x28bc81(0x2d2,0x10d,0x296,0x1d2)]()[_0x5b2413(0x858,0x89e,0x915,0x851)](),'hooks':z[_0x28bc81(0x189,0x2a2,0x2fa,0x517)](commandHookConfigSchema)}),hooksConfigSchema=z[_0x5b2413(0x3f6,0x526,0x604,0x59c)]({'PreToolUse':z['array'](hookMatcherGroupSchema)[_0x28bc81(0x476,0x41c,0x576,0x497)](),'PostToolUse':z[_0x5b2413(0x792,0x6b3,0x699,0x626)](hookMatcherGroupSchema)['optional'](),'UserPromptSubmit':z[_0x28bc81(0x1e5,0x107,0x2fa,0x4fa)](hookMatcherGroupSchema)[_0x28bc81(0x56a,0x3dc,0x576,0x4dd)](),'Stop':z[_0x5b2413(0x5a2,0x524,0x699,0x7db)](hookMatcherGroupSchema)[_0x5b2413(0x961,0xb34,0x915,0xa14)](),'Notification':z[_0x5b2413(0x5ef,0x78d,0x699,0x4b6)](hookMatcherGroupSchema)['optional'](),'ToolApprovalRequest':z['array'](hookMatcherGroupSchema)[_0x28bc81(0x45c,0x52d,0x576,0x70d)](),'SessionStart':z['array'](hookMatcherGroupSchema)[_0x5b2413(0xa40,0x9a1,0x915,0x833)](),'SessionEnd':z['array'](hookMatcherGroupSchema)['optional']()}),agentModelSetNameSchema=z[_0x28bc81(0x3a8,0x219,0x296,0xd6)]()[_0x5b2413(0x5c2,0x6a1,0x597,0x769)](isValidAgentModelSetName,_0x5b2413(0x85c,0x9ef,0x8e9,0x951)),agentModelSelectorSchema=z[_0x28bc81(0x284,0x239,0x296,0x173)]()['refine'](_0xe2f346=>parseProviderQualifiedModelSelector(_0xe2f346)!==void 0x0,'Expected\x20a\x20canonical\x20provider-qualified\x20model\x20selector'),agentModelSetSchema=z['object']({'fast':agentModelSelectorSchema[_0x28bc81(0x3a3,0x747,0x576,0x44d)](),'balanced':agentModelSelectorSchema[_0x28bc81(0x373,0x3ce,0x576,0x468)](),'powerful':agentModelSelectorSchema[_0x5b2413(0x997,0x84a,0x915,0xa9c)]()})[_0x28bc81(0x531,0x6d8,0x5c3,0x615)]()['refine'](_0x58269b=>Object[_0x5b2413(0x797,0x586,0x616,0x4c7)](_0x58269b)[_0x5b2413(0x717,0xa18,0x8e8,0x925)]>0x0,_0x5b2413(0x6be,0x8c6,0x8c9,0x6ff)),agentModelSetsSchema=prototypeSafeRecord(agentModelSetSchema)['superRefine']((_0x14e130,_0x22011c)=>{const _0x382f9c={_0x5d3fe3:0x2a4,_0x1033d1:0x2cc,_0x43bd4f:0x229,_0x35bc73:0x2f9,_0xe3460c:0x4e1,_0x467ed8:0x383,_0x114966:0x58b,_0x131875:0x2ec,_0x774c18:0x35e,_0x27b845:0x25a},_0x11d5e9={_0x2732d8:0xfe},_0x5c70d0={_0x303b9f:0x96,_0x5822fa:0x372};function _0x11fd27(_0x10c67f,_0x32154f,_0x10157e,_0x40073d){return _0x5b2413(_0x10c67f-0x19d,_0x32154f-_0x5c70d0._0x303b9f,_0x10c67f- -_0x5c70d0._0x5822fa,_0x32154f);}function _0x2865f2(_0x1d66b6,_0x3bc74f,_0xec2540,_0x548b9c){return _0x5b2413(_0x1d66b6-0x42,_0x3bc74f-_0x11d5e9._0x2732d8,_0x1d66b6- -0x5fd,_0x3bc74f);}for(const _0x43b303 of Object[_0x11fd27(_0x382f9c._0x5d3fe3,0x2c9,_0x382f9c._0x1033d1,0x342)](_0x14e130)){!agentModelSetNameSchema[_0x11fd27(0x3ca,0x5e0,_0x382f9c._0x43bd4f,0x2b4)](_0x43b303)[_0x11fd27(0x4a7,0x584,_0x382f9c._0x35bc73,0x5d3)]&&_0x22011c[_0x11fd27(_0x382f9c._0xe3460c,0x566,0x35c,0x471)]({'code':_0x11fd27(0x446,_0x382f9c._0x467ed8,0x622,_0x382f9c._0x114966),'path':[_0x43b303],'message':_0x2865f2(_0x382f9c._0x131875,0x1e6,_0x382f9c._0x774c18,_0x382f9c._0x27b845)});}}),bashPolicyRuleSchema=z['object']({'id':z[_0x28bc81(0x3a6,0x128,0x296,0x4ae)]()[_0x5b2413(0x5fe,0x827,0x6b7,0x722)]()[_0x28bc81(0x4c1,0x14a,0x340,0x20f)](0x1)[_0x28bc81(0x444,0x41d,0x467,0x606)](0x80),'action':z[_0x5b2413(0x716,0x6e3,0x6b4,0x7af)](['allow',_0x5b2413(0x901,0x739,0x7b6,0x5f3)]),'cwd':z['enum']([_0x5b2413(0x938,0x844,0x8bd,0x6cb),'any-allowed'])[_0x5b2413(0x8e3,0x950,0x915,0x749)](),'commands':z[_0x5b2413(0x561,0x6ac,0x699,0x5a8)](z[_0x5b2413(0x80c,0x5ff,0x635,0x7cd)]()[_0x5b2413(0x7f3,0x81d,0x6df,0x610)](0x1))[_0x5b2413(0x5fa,0x8b1,0x6df,0x8f7)](0x1)})['strict'](),bashPolicyConfigSchema=z[_0x5b2413(0x4d1,0x4e6,0x604,0x5c1)]({'default':z[_0x28bc81(0x42a,0x4a2,0x579,0x52e)](_0x28bc81(0xaa,0x1fa,0x205,0x16d))[_0x5b2413(0x923,0x9d4,0x915,0xa7b)](),'rules':z[_0x28bc81(0x464,0x3e8,0x2fa,0x262)](bashPolicyRuleSchema)[_0x28bc81(0x678,0x67c,0x467,0x350)](0x3e8)})[_0x5b2413(0x90f,0x956,0x962,0xa46)](),fileEditSettingsSchema=z[_0x5b2413(0x570,0x59c,0x604,0x4c0)]({'mode':z['enum'](PRODUCTION_FILE_EDIT_MODES)[_0x5b2413(0xa37,0x954,0x915,0x90b)]()})[_0x28bc81(0x3bd,0x7b8,0x5c3,0x538)](),toolsSettingsSchema=z[_0x28bc81(0x4b,0x344,0x265,0xee)]({'fileEdit':fileEditSettingsSchema[_0x28bc81(0x6c4,0x4d6,0x576,0x3fa)]()})['passthrough'](),cliConfigSchema=z[_0x28bc81(0x13a,0x1c6,0x265,0xa4)]({'activeProvider':providerNameSchema[_0x28bc81(0x582,0x50b,0x576,0x47a)](),'activeModel':z[_0x5b2413(0x71d,0x4da,0x635,0x7f8)]()['optional'](),'agentModelSets':agentModelSetsSchema['optional'](),'activeAgentModelSet':agentModelSetNameSchema[_0x28bc81(0x58a,0x755,0x576,0x415)](),'apiKey':z[_0x28bc81(0x359,0x100,0x296,0x370)]()['optional'](),'providers':z[_0x28bc81(0x58,0x207,0x1f0,0x43)](providerNameSchema,providerConfigSchema)[_0x5b2413(0x7e8,0x83c,0x915,0x75c)](),'mcp':mcpSettingsSchema['optional'](),'skills':skillsSettingsSchema['optional'](),'agents':agentsSettingsSchema[_0x28bc81(0x631,0x627,0x576,0x5ee)](),'commands':commandsSettingsSchema['optional'](),'skillsEnabled':z[_0x28bc81(-0x2a,0x71,0x1f0,0x9e)](z['string'](),z['boolean']())[_0x28bc81(0x50a,0x559,0x576,0x39c)](),'allowedDirs':z['array'](z[_0x5b2413(0x6a3,0x62c,0x635,0x523)]())[_0x28bc81(0x5de,0x769,0x576,0x6e6)](),'mcpEnabled':prototypeSafeRecord(z[_0x28bc81(0x5a9,0x737,0x524,0x445)]())[_0x28bc81(0x6a0,0x6ac,0x576,0x533)](),'commandsEnabled':z[_0x5b2413(0x488,0x67f,0x58f,0x683)](z[_0x5b2413(0x761,0x4dc,0x635,0x7c2)](),z[_0x5b2413(0x6cb,0x8ca,0x8c3,0xa68)]())[_0x28bc81(0x5b9,0x59a,0x576,0x41e)](),'memory':memorySettingsSchema[_0x28bc81(0x40e,0x769,0x576,0x6af)](),'session':z['object']({'memPersist':z[_0x28bc81(0x698,0x71c,0x524,0x3e3)]()[_0x5b2413(0x732,0x8a5,0x915,0xb12)](),'persistEventLog':z['boolean']()[_0x5b2413(0x816,0x81e,0x915,0xac3)](),'persistHttpLog':z['boolean']()[_0x5b2413(0xa97,0x9ac,0x915,0xaca)]()})['passthrough']()[_0x28bc81(0x56b,0x603,0x576,0x517)](),'requireToolApproval':z[_0x28bc81(0x307,0x6b1,0x524,0x6ad)]()[_0x5b2413(0x767,0x6fa,0x915,0xa74)](),'thinking':z['object']({'selections':z[_0x5b2413(0x666,0x6a2,0x58f,0x3ad)](z[_0x28bc81(0x230,0x134,0x296,0x4ad)](),z[_0x28bc81(0x9d,0xef,0x296,0x2cf)]())[_0x28bc81(0x503,0x592,0x576,0x6bf)]()})['optional'](),'streamingChunks':z[_0x28bc81(0x668,0x465,0x524,0x434)]()['optional'](),'agentsEnabled':z[_0x5b2413(0x704,0x3fd,0x58f,0x516)](z[_0x28bc81(0x20a,0x2b8,0x296,0x27c)](),z[_0x28bc81(0x4e2,0x515,0x524,0x5d2)]())[_0x5b2413(0x834,0xae3,0x915,0x975)](),'recentModels':z[_0x5b2413(0x60a,0x81c,0x699,0x623)](recentModelSchema)[_0x5b2413(0x6f7,0x7a6,0x915,0x89f)](),'lsp':lspConfigSchema[_0x5b2413(0x9c6,0xb30,0x915,0x798)](),'servers':z[_0x28bc81(0x2f,0x33a,0x1f0,0x318)](z['string'](),serverEndpointSchema)[_0x5b2413(0xacb,0x8e0,0x915,0x9f6)](),'ui':z['object']({'theme':uiThemeSettingsSchema['optional'](),'statusline':statuslineConfigSchema[_0x5b2413(0x86c,0x92f,0x915,0x854)]()})[_0x5b2413(0x8cf,0xa17,0x87e,0x97a)]()[_0x28bc81(0x598,0x662,0x576,0x58c)](),'tools':toolsSettingsSchema[_0x5b2413(0xae7,0x71c,0x915,0x899)](),'hooks':hooksConfigSchema[_0x5b2413(0x7dd,0xaac,0x915,0x7ae)](),'bashPolicy':z[_0x5b2413(0x688,0x64c,0x711,0x86b)]()['optional']()})[_0x28bc81(0x4e0,0x2bd,0x4df,0x61b)](),workspaceOverlaySchema=z['object']({'root':z['string']()[_0x5b2413(0x854,0x9aa,0x915,0xa71)](),'allowedDirs':z[_0x28bc81(0x245,0x403,0x2fa,0x11a)](z[_0x28bc81(0x3a2,0xc1,0x296,0x277)]())[_0x5b2413(0x935,0xb29,0x915,0x9cf)](),'activeProvider':providerNameSchema['optional'](),'activeModel':z['string']()[_0x28bc81(0x585,0x6df,0x576,0x49a)](),'activeAgentModelSet':agentModelSetNameSchema[_0x28bc81(0x5d0,0x5e0,0x576,0x60e)](),'mcp':mcpSettingsSchema[_0x28bc81(0x5c3,0x712,0x576,0x752)](),'skills':skillsSettingsSchema[_0x28bc81(0x37d,0x6f9,0x576,0x702)](),'agents':agentsSettingsSchema[_0x5b2413(0x8be,0x969,0x915,0x9c4)](),'commands':commandsSettingsSchema[_0x28bc81(0x78a,0x355,0x576,0x508)](),'hooks':hooksConfigSchema[_0x28bc81(0x5fc,0x573,0x576,0x35d)](),'memory':memorySettingsSchema[_0x28bc81(0x5e9,0x43a,0x576,0x78b)](),'mcpEnabled':prototypeSafeRecord(z[_0x28bc81(0x4b7,0x6e2,0x524,0x601)]())['optional'](),'skillsEnabled':z[_0x28bc81(0x2e,0x16d,0x1f0,0x3c8)](z[_0x28bc81(0x2e7,0x139,0x296,0x371)](),z[_0x28bc81(0x31e,0x406,0x524,0x423)]())['optional'](),'agentsEnabled':z[_0x5b2413(0x4b1,0x603,0x58f,0x47b)](z[_0x28bc81(0x427,0x1d0,0x296,0x223)](),z['boolean']())[_0x28bc81(0x61e,0x557,0x576,0x63c)](),'commandsEnabled':z[_0x28bc81(0x25d,0x138,0x1f0,0x6)](z[_0x28bc81(0x2a6,0x100,0x296,0x16b)](),z[_0x5b2413(0x830,0x841,0x8c3,0x724)]())[_0x5b2413(0xa45,0x777,0x915,0xa4d)](),'bashPolicy':z[_0x28bc81(0x2b5,0x549,0x372,0x164)]()[_0x28bc81(0x70b,0x3be,0x576,0x5ab)](),'tools':toolsSettingsSchema['optional']()})['passthrough'](),PROTOTYPE_SENSITIVE_NAMES3=new Set([...Object[_0x5b2413(0x693,0x63e,0x76e,0x88b)](Object[_0x28bc81(0x613,0x444,0x490,0x423)]),'prototype']);function buildDescription2(_0x2d1991){const _0x335918={_0xc91e74:0x669,_0x17aace:0x78b,_0x23af0c:0x88d,_0x398717:0x5f5,_0x5c4407:0x4d0,_0x5b7850:0x696,_0x368b23:0x514,_0x23ead5:0x81e,_0x1f3ae1:0x678,_0x25e909:0x7f6,_0x362223:0x826,_0x312db9:0x79f,_0xed7e69:0x84d,_0x22511c:0x7d8,_0x56ad5f:0x73a,_0x96fcc0:0x875,_0x37973c:0x69f,_0x46c24d:0x4ec},_0x4f4588={_0x1b1ec8:0x1c7,_0x4e0f8c:0x242},_0x1aa12a={_0x5e2a0a:0x6d,_0x83cbfa:0xce,_0x190ecd:0x3f9};if(_0x2d1991[_0x421785(_0x335918._0xc91e74,_0x335918._0x17aace,0x8ca,_0x335918._0x23af0c)]===0x0)return[_0x421785(_0x335918._0x398717,_0x335918._0x5c4407,0x600,0x650),_0x583f5f(_0x335918._0x5b7850,0x421,_0x335918._0x368b23,0x505),_0x421785(_0x335918._0x23ead5,_0x335918._0x1f3ae1,_0x335918._0x25e909,0x55a)][_0x421785(_0x335918._0x362223,0x69f,_0x335918._0x312db9,_0x335918._0xed7e69)]('\x0a');function _0x583f5f(_0x5dfd54,_0x330eae,_0x1072d6,_0x2b1a62){return _0x5b2413(_0x5dfd54-_0x1aa12a._0x5e2a0a,_0x330eae-_0x1aa12a._0x83cbfa,_0x1072d6- -_0x1aa12a._0x190ecd,_0x330eae);}const _0x2d1fba=[_0x421785(0x670,0x4d0,0x658,0x48a),_0x421785(0x635,0x7b0,_0x335918._0x22511c,_0x335918._0x56ad5f),'Available\x20commands:',..._0x2d1991[_0x421785(_0x335918._0x96fcc0,0x813,0x62b,0x842)](_0xe8cb7e=>_0xe8cb7e[_0x583f5f(0xf5,0xa0,0x1c9,0x316)]?'-\x20'+_0xe8cb7e[_0x583f5f(0x2e7,0x26a,0x41c,0x40d)]+'\x20'+_0xe8cb7e[_0x583f5f(0x315,0x38b,0x1c9,0x138)]+':\x20'+_0xe8cb7e[_0x583f5f(0x2a4,0x33e,0x4a8,0x2d3)]:'-\x20'+_0xe8cb7e[_0x421785(0x80e,0x6b8,0x6d9,0x501)]+':\x20'+_0xe8cb7e['description'])];function _0x421785(_0x40b1d4,_0x1318e7,_0x153153,_0x160756){return _0x28bc81(_0x40b1d4-_0x4f4588._0x1b1ec8,_0x1318e7-0x16f,_0x1318e7-_0x4f4588._0x4e0f8c,_0x153153);}return _0x2d1fba[_0x421785(0x51a,_0x335918._0x37973c,0x4e5,_0x335918._0x46c24d)]('\x0a');}function createInvokeCommandTool(_0x25cd65){const _0x52b9b5={_0x34c2ca:0x1a7,_0x5abed9:0xe5,_0x5211d9:0x578,_0x2bb2d1:0x5b2,_0xa8d0c:0x557,_0x24418f:0x699,_0x358c0d:0x36c,_0x3b2556:0x2ea,_0x50d5e6:0x3cb,_0x1725fc:0x25d,_0x22ad63:0x399,_0x44a7a6:0x555,_0x1cb1fd:0x59e,_0x4665de:0xf1,_0x249217:0xf,_0x32531f:0x1b0,_0x152264:0x50b,_0x2a2cc8:0x6f5,_0x3acf5a:0x5cf},_0x50e159={_0x43d5d9:0x57d,_0x135083:0x58d,_0x1e806c:0x38d,_0x3f392d:0x210,_0x1857da:0x123,_0xc1ac48:0xbf,_0x244189:0x206,_0x37fab2:0x403,_0x4aabb5:0x383,_0xf789ed:0x207,_0x5b34b9:0x446,_0x49ac74:0x14,_0x1aba3d:0x55,_0x66ca05:0x61,_0x50fd5c:0x22,_0x546cd8:0x9b,_0x2dbf34:0x4a5,_0x30ff6b:0x138,_0x346483:0x464,_0x58d8cd:0x679,_0x223c66:0x80b,_0x18d030:0x44,_0x1e4784:0x33e,_0x3e77a1:0x2f8,_0xb78070:0x184},_0x3406e9={_0x526c1e:0x1e1},_0x14cefc={_0x56ca04:0x4c,_0x5463ef:0x410},_0x5ccf92={_0x1399e3:0x85,_0x1e3d3a:0x698};function _0x4e5d1a(_0x15da76,_0x34bfca,_0x5f81c0,_0x512505){return _0x5b2413(_0x15da76-0x5,_0x34bfca-0x84,_0x512505- -0x66,_0x34bfca);}function _0x4a14a2(_0x48b5b8,_0xb858d2,_0x507f60,_0x3e9412){return _0x5b2413(_0x48b5b8-0x147,_0xb858d2-_0x5ccf92._0x1399e3,_0x3e9412- -_0x5ccf92._0x1e3d3a,_0xb858d2);}const _0x1806cc=new Map(_0x25cd65[_0x4a14a2(-_0x52b9b5._0x34c2ca,0x20a,_0x52b9b5._0x5abed9,0x67)][_0x4a14a2(0x450,0x261,0x2fc,0x2d8)](_0x14b0cc=>[_0x14b0cc['id'],_0x14b0cc])),_0x4eda96=buildDescription2(_0x25cd65[_0x4e5d1a(_0x52b9b5._0x5211d9,_0x52b9b5._0x2bb2d1,_0x52b9b5._0xa8d0c,_0x52b9b5._0x24418f)]);return defineTool({'name':_0x4a14a2(_0x52b9b5._0x358c0d,_0x52b9b5._0x3b2556,0x421,0x2c6),'permissionClass':_0x4a14a2(0x62,_0x52b9b5._0x50d5e6,0x372,_0x52b9b5._0x1725fc),'description':_0x4eda96,'inputSchema':{'type':_0x4e5d1a(_0x52b9b5._0x2bb2d1,_0x52b9b5._0x22ad63,_0x52b9b5._0x44a7a6,_0x52b9b5._0x1cb1fd),'properties':{'name':{'type':_0x4a14a2(_0x52b9b5._0x4665de,_0x52b9b5._0x249217,-_0x52b9b5._0x32531f,-0x63)},'args':{'type':_0x4e5d1a(_0x52b9b5._0x152264,_0x52b9b5._0x2a2cc8,0x704,_0x52b9b5._0x3acf5a)}},'required':['name']},async *'execute'(_0x11fc06){const _0x11793a=_0x1806cc['get'](_0x11fc06[_0xcebf36(_0x50e159._0x43d5d9,_0x50e159._0x135083,0x468,_0x50e159._0x1e806c)]);function _0xcebf36(_0xea5f70,_0x6221b7,_0xe7728c,_0x3c8379){return _0x4a14a2(_0xea5f70-_0x14cefc._0x56ca04,_0xea5f70,_0xe7728c-0x14a,_0x6221b7-_0x14cefc._0x5463ef);}if(!_0x11793a){const _0x486e7a=Array[_0x511744(-_0x50e159._0x3f392d,0x28,-_0x50e159._0x1857da,-_0x50e159._0xc1ac48)](_0x1806cc['keys']())['join'](',\x20');throw new ToolExecutionError(_0xcebf36(_0x50e159._0x244189,_0x50e159._0x37fab2,_0x50e159._0x4aabb5,_0x50e159._0xf789ed)+_0x11fc06[_0xcebf36(0x67b,_0x50e159._0x135083,0x3ca,_0x50e159._0x5b34b9)]+'\x27\x20not\x20found.\x20Available\x20commands:\x20'+_0x486e7a,{'name':_0x11fc06[_0x511744(-_0x50e159._0x49ac74,_0x50e159._0x1aba3d,_0x50e159._0x66ca05,0x1af)]});}const _0x5381ea=await _0x25cd65[_0x511744(_0x50e159._0x50fd5c,0xd6,_0x50e159._0x546cd8,-0x3e)](_0x11793a),_0x2e6bf8=_0x11fc06[_0xcebf36(0x377,_0x50e159._0x2dbf34,0x487,0x685)]??'',_0x4986f0=renderCommandInstructions({'instructions':_0x5381ea[_0xcebf36(0x156,0x336,_0x50e159._0x30ff6b,0x273)],'argumentsText':_0x2e6bf8,'argumentNames':_0x5381ea[_0xcebf36(_0x50e159._0x346483,_0x50e159._0x58d8cd,_0x50e159._0x223c66,0x47d)]});yield createToolOutput(_0x4986f0,{'id':_0x5381ea['id'],'name':_0x5381ea[_0x511744(0x251,-_0x50e159._0x18d030,_0x50e159._0x1e4784,0x1af)],'path':_0x11793a[_0x511744(0x57,_0x50e159._0x3e77a1,0x359,_0x50e159._0xb78070)]['path']});function _0x511744(_0xdb963e,_0x5e1eae,_0x2469ba,_0x260b49){return _0x4e5d1a(_0xdb963e-_0x3406e9._0x526c1e,_0x5e1eae,_0x2469ba-0x96,_0x260b49- -0x600);}return void 0x0;}});}function createKillShellTool(_0x3b4560){const _0x120695={_0x34900d:0x35,_0x5906d7:0x73,_0x3d0ba7:0x2c9,_0x43e6d8:0x7,_0x238e26:0x21,_0x25a33a:0x163,_0x5193c8:0x1d9,_0x19a349:0x2a1,_0x395588:0x1d4,_0x2a447d:0x39},_0x311d94={_0x2a0c95:0x6aa,_0x458141:0x664,_0x586954:0x865,_0x1b2cb9:0x7ec,_0x31ee97:0x811,_0x30c80b:0x82e,_0x2b127a:0x8a2,_0x458efa:0x6ba,_0x40159e:0x935,_0x5a9144:0x74e,_0x516c68:0x451,_0x556d24:0x5f5,_0x4dd976:0x85c,_0x141a61:0x8ad,_0x524fe5:0x6d5,_0x4b09e2:0x731,_0x1f1dd4:0x6ca,_0x4ff804:0x679,_0x3d8659:0x6e9,_0x332627:0x8d3,_0x5456f1:0xa31,_0x41051c:0xad6,_0x13e78e:0x6d0,_0x3e57ab:0x74f,_0xb8c29e:0x90a,_0x10b5f7:0x875,_0x214777:0x7e1,_0x111e44:0x6d6,_0x3dd8d3:0x9a1,_0xa0db50:0x749,_0x572a2d:0xa1e,_0x3cca90:0x6df,_0x21c40f:0x971,_0x466ef5:0x823,_0x5e5e9a:0x8fb,_0x52dee8:0x6a3,_0x505896:0x49e,_0x4125ed:0x6a0,_0x46e3cc:0x75f,_0x5e69b2:0x8b7,_0x24652a:0x6ce},_0x13b84b={_0x474bd4:0x19e};function _0x3bb3db(_0x440488,_0x5cf64d,_0xbafd76,_0x19e03d){return _0x28bc81(_0x440488-0x40,_0x5cf64d-0x179,_0xbafd76-0x4b,_0x5cf64d);}function _0x2f2320(_0x37080b,_0xa47640,_0x5c1a21,_0x39dcf7){return _0x5b2413(_0x37080b-0x193,_0xa47640-_0x13b84b._0x474bd4,_0x5c1a21- -0x5e5,_0x39dcf7);}const {registry:_0x571c3f}=_0x3b4560;return defineTool({'name':_0x2f2320(_0x120695._0x34900d,-_0x120695._0x5906d7,0x127,_0x120695._0x3d0ba7),'permissionClass':'always-confirm','description':_0x2f2320(0x1dd,_0x120695._0x43e6d8,_0x120695._0x238e26,-0xb7),'inputSchema':{'type':_0x2f2320(0xd,-_0x120695._0x25a33a,0x1f,0x8b),'properties':{'shellId':{'type':_0x2f2320(0x239,_0x120695._0x5193c8,0x50,-0x4f)}},'required':[_0x2f2320(_0x120695._0x19a349,0x391,_0x120695._0x395588,-_0x120695._0x2a447d)]},async *'execute'(_0x5a4ca7){const _0x5c5066={_0x43f69e:0x3be},_0x4e42b6={_0x1db943:0x4b,_0x542f31:0x3ac,_0x2b28e1:0x1c2},_0x5056b1=await _0x571c3f[_0x1f784c(_0x311d94._0x2a0c95,_0x311d94._0x458141,_0x311d94._0x586954,_0x311d94._0x1b2cb9)](_0x5a4ca7[_0x1f784c(0x632,0x68b,_0x311d94._0x31ee97,0x9a8)]);function _0x1f784c(_0xefd8e,_0x42600d,_0x1f5e5a,_0x1382c8){return _0x3bb3db(_0xefd8e-_0x4e42b6._0x1db943,_0xefd8e,_0x1f5e5a-_0x4e42b6._0x542f31,_0x1382c8-_0x4e42b6._0x2b28e1);}function _0x2edb57(_0x5ef80e,_0x1f7801,_0x680438,_0x51fe8c){return _0x3bb3db(_0x5ef80e-0x17b,_0x680438,_0x5ef80e-_0x5c5066._0x43f69e,_0x51fe8c-0xf6);}const _0x139baa={'shellId':_0x5056b1[_0x1f784c(_0x311d94._0x30c80b,0x80c,_0x311d94._0x31ee97,_0x311d94._0x2b127a)],'outcome':_0x5056b1[_0x2edb57(0x7bd,_0x311d94._0x458efa,_0x311d94._0x40159e,0x846)],'status':_0x5056b1[_0x1f784c(_0x311d94._0x5a9144,_0x311d94._0x516c68,_0x311d94._0x556d24,0x4d4)],'exitCode':_0x5056b1[_0x1f784c(_0x311d94._0x4dd976,0xab3,_0x311d94._0x141a61,0x89c)],'signal':_0x5056b1['signal'],'error':_0x5056b1[_0x1f784c(0x7a6,0x715,0x7cf,_0x311d94._0x524fe5)],'gracefulRequested':_0x5056b1[_0x1f784c(_0x311d94._0x4b09e2,_0x311d94._0x1f1dd4,_0x311d94._0x4ff804,_0x311d94._0x3d8659)],'forceRequested':_0x5056b1[_0x2edb57(_0x311d94._0x332627,_0x311d94._0x5456f1,0xa6b,_0x311d94._0x41051c)]};if(_0x5056b1['outcome']===_0x1f784c(0x888,0x8c8,0x85a,0x989))throw new ToolExecutionError(_0x2edb57(0x890,_0x311d94._0x13e78e,_0x311d94._0x3e57ab,0x877)+_0x5a4ca7[_0x1f784c(_0x311d94._0xb8c29e,_0x311d94._0x10b5f7,0x811,0x922)]+':\x20'+(_0x5056b1[_0x2edb57(_0x311d94._0x214777,0x5e1,_0x311d94._0x111e44,_0x311d94._0x3dd8d3)]??_0x2edb57(0x87e,_0x311d94._0xa0db50,_0x311d94._0x572a2d,_0x311d94._0x3cca90)),_0x139baa);const _0x644e33=_0x5056b1['outcome']===_0x1f784c(0x928,0x702,0x77d,0x85e)?_0x1f784c(0xaad,0xb7e,_0x311d94._0x21c40f,0xa6e)+_0x5a4ca7[_0x2edb57(_0x311d94._0x466ef5,_0x311d94._0x5e5e9a,0x900,0x61d)]+_0x1f784c(0x65f,_0x311d94._0x52dee8,0x7fc,0x72b)+_0x5056b1[_0x2edb57(0x607,_0x311d94._0x505896,_0x311d94._0x4125ed,0x445)]+'.':_0x2edb57(0x90d,0x725,0x971,_0x311d94._0x46e3cc)+_0x5a4ca7[_0x1f784c(0x943,_0x311d94._0x5e69b2,_0x311d94._0x31ee97,_0x311d94._0x24652a)]+'.';return createToolOutput(_0x644e33,_0x139baa);}});}import _0x568fbe from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x171965=>{const {lookup:_0x19ca09}=await import('dns/promises');return _0x19ca09(_0x171965,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x516393){const _0x411fdb={_0x40ad09:0x723,_0x4d3919:0x60a,_0xda3fc9:0x712,_0x24e343:0x5dc},_0x4a1b55={_0x428812:0x1cc,_0x751daa:0x1c5},_0x373f93={_0x36fdba:0xa5,_0x46af9e:0x168,_0x46aa11:0x78},_0x2bbe85=_0x516393['split']('.');function _0x10ea2d(_0xc99692,_0x23bc9c,_0x21b128,_0x211569){return _0x28bc81(_0xc99692-_0x373f93._0x36fdba,_0x23bc9c-_0x373f93._0x46af9e,_0x211569-_0x373f93._0x46aa11,_0x21b128);}if(_0x2bbe85[_0x4c1a1a(0x556,_0x411fdb._0x40ad09,_0x411fdb._0x4d3919,_0x411fdb._0xda3fc9)]!==0x4)return null;let _0x2c2cc7=0x0;function _0x4c1a1a(_0x1cb064,_0x35f78a,_0x425de4,_0xa4f264){return _0x5b2413(_0x1cb064-0x1eb,_0x35f78a-_0x4a1b55._0x428812,_0x35f78a- -_0x4a1b55._0x751daa,_0x1cb064);}for(const _0x3009ee of _0x2bbe85){if(!/^\d{1,3}$/[_0x4c1a1a(0x3dd,0x54f,_0x411fdb._0x24e343,0x473)](_0x3009ee))return null;const _0x22fa03=Number(_0x3009ee);if(_0x22fa03>0xff)return null;_0x2c2cc7=_0x2c2cc7*0x100+_0x22fa03;}return _0x2c2cc7>>>0x0;}function isBlockedIpv4(_0x3dae4f){const _0x137c69={_0x94b094:0x3cd,_0x1aef31:0x2a2,_0x463ca0:0x46a,_0x1bf64b:0x28f,_0x42020c:0x3b4,_0x19c99c:0x34c,_0x52b0bb:0x2de,_0x38f3d8:0x3e7,_0x51bc7f:0x3e0,_0x40eccf:0x4b7,_0x3e91f7:0x2e9,_0x1c592b:0x2cc,_0x4dae34:0x54b,_0x449241:0x25e,_0x33775e:0x41f,_0x8bb135:0x1db},_0x17f9bf={_0x41ab06:0xa6,_0x2c24ab:0x9},_0x87d8e0={_0x38f069:0x1f4,_0x2c66e9:0x1d6},_0x212a42=ipv4ToInt(_0x3dae4f);if(_0x212a42===null)return!![];const _0x3ee3d7=(_0x4295f7,_0x3bd6bd)=>{const _0x3158d0=ipv4ToInt(_0x4295f7);if(_0x3158d0===null)return![];const _0x257e68=_0x3bd6bd===0x0?0x0:0xffffffff<<0x20-_0x3bd6bd>>>0x0;return(_0x212a42&_0x257e68)===(_0x3158d0&_0x257e68);};function _0x33f1f3(_0x5d05e2,_0x5eb696,_0x52a066,_0x31363f){return _0x28bc81(_0x5d05e2-_0x87d8e0._0x38f069,_0x5eb696-0xc2,_0x5d05e2- -_0x87d8e0._0x2c66e9,_0x5eb696);}function _0x2fe913(_0x1bb971,_0x2818c1,_0xb1427c,_0x3c3ccd){return _0x28bc81(_0x1bb971-_0x17f9bf._0x41ab06,_0x2818c1-_0x17f9bf._0x2c24ab,_0x1bb971- -0x6e,_0x3c3ccd);}return _0x3ee3d7('0.0.0.0',0x8)||_0x3ee3d7(_0x2fe913(_0x137c69._0x94b094,_0x137c69._0x1aef31,_0x137c69._0x463ca0,0x32e),0x8)||_0x3ee3d7(_0x33f1f3(0x352,0x1b5,0x139,0x3fb),0xa)||_0x3ee3d7(_0x33f1f3(0x44,0xd9,0x1a0,-0x72),0x8)||_0x3ee3d7(_0x2fe913(_0x137c69._0x1bf64b,_0x137c69._0x42020c,0x1a7,0x1f9),0x10)||_0x3ee3d7(_0x33f1f3(0x2b4,_0x137c69._0x19c99c,_0x137c69._0x52b0bb,_0x137c69._0x38f3d8),0xc)||_0x3ee3d7(_0x2fe913(_0x137c69._0x51bc7f,0x345,_0x137c69._0x40eccf,0x202),0x18)||_0x3ee3d7(_0x33f1f3(0x436,_0x137c69._0x3e91f7,_0x137c69._0x1c592b,_0x137c69._0x4dae34),0x10)||_0x3ee3d7('198.18.0.0',0xf)||_0x3ee3d7(_0x2fe913(_0x137c69._0x449241,_0x137c69._0x33775e,0x157,0x381),0x4)||_0x3ee3d7(_0x2fe913(0x2fe,0x51a,_0x137c69._0x8bb135,0x3e1),0x4);}function expandIpv6(_0x2b0fc1){const _0x1e1986={_0x1bc042:0x5b5,_0x5d982e:0x51f,_0x299153:0x33d,_0x29c4f9:0x4d7,_0x2113de:0x732,_0x3c1ae4:0x559,_0x58ae76:0x713,_0x1f03fa:0x4fd,_0x575331:0x6fe,_0x1c0440:0x860,_0x45b5ff:0x5cd,_0x52d14e:0x4bf,_0x46cedf:0x431,_0x2b880d:0x3bb,_0xb048ee:0x454,_0x12d85e:0x643,_0xd4545b:0x450,_0x500ba3:0x72b,_0x3430ab:0x90b,_0xf32beb:0x4e1,_0x1319b2:0x330,_0x51caed:0x462},_0x175342={_0x4f14db:0x1ea},_0xb28f2b={_0x1af53c:0x43,_0x16eb8e:0x7d};let _0x4cc0d0=_0x2b0fc1,_0x13edea;const _0x59f22b=_0x4cc0d0[_0xe20648(_0x1e1986._0x1bc042,0x5b4,_0x1e1986._0x5d982e,_0x1e1986._0x299153)](':');function _0x13d72c(_0x3313ae,_0x4119fa,_0x4caeb0,_0x24bd61){return _0x28bc81(_0x3313ae-_0xb28f2b._0x1af53c,_0x4119fa-_0xb28f2b._0x16eb8e,_0x3313ae-0x38b,_0x4caeb0);}_0x4cc0d0[_0xe20648(_0x1e1986._0x29c4f9,_0x1e1986._0x2113de,_0x1e1986._0x3c1ae4,0x3a2)](_0x59f22b+0x1)[_0x13d72c(0x74c,_0x1e1986._0x58ae76,0x907,0x6ed)]('.')&&(_0x13edea=_0x4cc0d0[_0xe20648(_0x1e1986._0x1f03fa,0x4b2,0x559,_0x1e1986._0x575331)](_0x59f22b+0x1),_0x4cc0d0=_0x4cc0d0[_0x13d72c(_0x1e1986._0x1c0440,0x674,0x86f,0x853)](0x0,_0x59f22b+0x1));const _0x46af24=_0x4cc0d0[_0xe20648(0x6d5,0x315,0x4c9,0x46b)]('::');if(_0x46af24['length']>0x2)return null;const _0x59fa7c=_0x5e093f=>_0x5e093f['split'](':')[_0xe20648(0x647,0x53b,0x509,0x2e8)](_0x55966a=>_0x55966a[_0xe20648(0x61a,0x520,0x5cd,0x76a)]>0x0)[_0x13d72c(0x95c,0xabe,0x8b4,0xa9d)](_0x55326d=>Number['parseInt'](_0x55326d,0x10)),_0x42fe3a=_0x46af24[0x0]?_0x59fa7c(_0x46af24[0x0]):[],_0x46a040=_0x46af24[_0xe20648(0x5d6,0x4a9,_0x1e1986._0x45b5ff,0x50b)]===0x2&&_0x46af24[0x1]?_0x59fa7c(_0x46af24[0x1]):[],_0x142f80=[];if(_0x13edea){const _0x2b1360=ipv4ToInt(_0x13edea);if(_0x2b1360===null)return null;_0x142f80[_0xe20648(_0x1e1986._0x52d14e,_0x1e1986._0x46cedf,0x43a,_0x1e1986._0x2b880d)](_0x2b1360>>>0x10&0xffff,_0x2b1360&0xffff);}const _0x16f633=[..._0x46a040,..._0x142f80],_0x31cdd0=0x8-_0x42fe3a[_0xe20648(0x77e,_0x1e1986._0xb048ee,0x5cd,0x63c)]-_0x16f633[_0xe20648(0x4b0,_0x1e1986._0x12d85e,_0x1e1986._0x45b5ff,_0x1e1986._0xd4545b)];if(_0x46af24[_0x13d72c(0x8d4,_0x1e1986._0x500ba3,_0x1e1986._0x3430ab,0x72e)]===0x1)return _0x42fe3a['length']+_0x16f633[_0xe20648(_0x1e1986._0xf32beb,0x58c,0x5cd,0x52d)]===0x8?[..._0x42fe3a,..._0x16f633]:null;if(_0x31cdd0<0x0)return null;function _0xe20648(_0x461ae2,_0x4da973,_0x393fa1,_0x35f5fa){return _0x5b2413(_0x461ae2-_0x175342._0x4f14db,_0x4da973-0x9,_0x393fa1- -0x31b,_0x461ae2);}return[..._0x42fe3a,...new Array(_0x31cdd0)[_0xe20648(0x319,_0x1e1986._0x1319b2,0x459,_0x1e1986._0x51caed)](0x0),..._0x16f633];}function isBlockedIpv6(_0x36ae13){const _0x4a4a45={_0x19b202:0x2b5,_0x24f42c:0x417,_0x464f36:0x546,_0x2c29d3:0x33e,_0x33944f:0x781,_0x5e983e:0x680,_0x13530f:0x821,_0x2bf48d:0x832},_0x951c18={_0x4ab66d:0xef},_0x3e2dfc={_0x48bf56:0x18d};function _0x52de3b(_0x5293e4,_0x10d821,_0x3031a8,_0x216360){return _0x28bc81(_0x5293e4-0x130,_0x10d821-_0x3e2dfc._0x48bf56,_0x3031a8- -0x197,_0x10d821);}const _0x509d94=expandIpv6(_0x36ae13);if(!_0x509d94||_0x509d94[_0x38aacf(0x97b,0x743,0x8e8,0x88c)](_0x5ce550=>Number[_0x38aacf(0x6d8,0x778,0x72a,0x734)](_0x5ce550)))return!![];const _0x23d514=_0x509d94['slice'](0x0,0x7)[_0x52de3b(0xf3,_0x4a4a45._0x19b202,0x2b5,0x3e4)](_0x14bd2d=>_0x14bd2d===0x0);if(_0x23d514&&(_0x509d94[0x7]===0x0||_0x509d94[0x7]===0x1))return!![];if(_0x509d94[_0x52de3b(_0x4a4a45._0x24f42c,_0x4a4a45._0x464f36,_0x4a4a45._0x2c29d3,0x2a4)](0x0,0x5)[_0x38aacf(_0x4a4a45._0x33944f,_0x4a4a45._0x5e983e,_0x4a4a45._0x13530f,0xa2d)](_0x1e8b03=>_0x1e8b03===0x0)&&(_0x509d94[0x5]===0xffff||_0x509d94[0x5]===0x0)){const _0x2de7cb=(_0x509d94[0x6]<<0x10|_0x509d94[0x7])>>>0x0,_0x1a015a=[_0x2de7cb>>>0x18&0xff,_0x2de7cb>>>0x10&0xff,_0x2de7cb>>>0x8&0xff,_0x2de7cb&0xff][_0x38aacf(0x6fc,0xa55,_0x4a4a45._0x2bf48d,0x8a6)]('.');return isBlockedIpv4(_0x1a015a);}const _0x73454=_0x509d94[0x0];if((_0x73454&0xff00)===0xfc00||(_0x73454&0xfe00)===0xfc00)return!![];function _0x38aacf(_0x2ae589,_0x4214c5,_0x216215,_0x1efea1){return _0x5b2413(_0x2ae589-_0x951c18._0x4ab66d,_0x4214c5-0x1c1,_0x216215-0x36,_0x4214c5);}if((_0x73454&0xffc0)===0xfe80)return!![];if((_0x73454&0xff00)===0xff00)return!![];return![];}function isBlockedAddress(_0x5aa90c){const _0x1c7367=isIP(_0x5aa90c);if(_0x1c7367===0x4)return isBlockedIpv4(_0x5aa90c);if(_0x1c7367===0x6)return isBlockedIpv6(_0x5aa90c);return!![];}async function assertPublicUrl(_0x267ff3,_0x1522a1={}){const _0x3c65b6={_0x1596d3:0x1d,_0x24a310:0x1d6,_0x240746:0x76b,_0x5c388b:0x71f,_0x230b51:0xf1,_0x1e4321:0x3e9,_0x53e104:0x88d,_0x26173b:0x32b,_0x267bd0:0x5e6,_0x23a72b:0x551,_0x1f0e4f:0x5ae,_0x552012:0xd3,_0x554092:0xc4,_0x3cfde5:0x395,_0x40a440:0x5c3,_0x5da613:0x644,_0x46e259:0x9b,_0xefb23d:0x5c,_0x40acf1:0x4b5,_0x40ff09:0x29a,_0x2b3d93:0x3d2,_0x4de64f:0x4e0,_0x21b673:0x3b8,_0x26a803:0x382,_0x39cf07:0x2d7,_0x9a832f:0x245,_0xe0c10d:0x556,_0x37f0ab:0x41e,_0x12ff67:0x3e0,_0x53e6fd:0x7a9,_0x190b00:0x79a,_0xa4cdad:0x69a},_0x18d592={_0x53efe7:0x7c,_0xd04b7f:0x1d8,_0x38322f:0x284},_0x557bbf={_0x244eb8:0x112,_0x2e9224:0x508};let _0x4b96a8;try{_0x4b96a8=new URL(_0x267ff3);}catch{throw new ToolExecutionError('Invalid\x20URL\x20parameter',{'url':_0x267ff3});}if(_0x4b96a8[_0x1733db(-_0x3c65b6._0x1596d3,0x253,0x2b1,_0x3c65b6._0x24a310)]!==_0x3ea7c9(_0x3c65b6._0x240746,_0x3c65b6._0x5c388b,0x628,0x70d)&&_0x4b96a8[_0x1733db(_0x3c65b6._0x230b51,0x41,_0x3c65b6._0x1e4321,0x1d6)]!==_0x3ea7c9(0x451,0x40e,0x4bd,0x5fb))throw new ToolExecutionError('Only\x20http://\x20and\x20https://\x20URLs\x20are\x20supported',{'url':_0x267ff3});if(_0x4b96a8[_0x3ea7c9(0x7b1,_0x3c65b6._0x53e104,0x99a,0x818)]||_0x4b96a8[_0x1733db(_0x3c65b6._0x26173b,_0x3c65b6._0x267bd0,0x5ae,0x406)])throw new ToolExecutionError(_0x3ea7c9(0x6a7,0x4cd,0x71b,_0x3c65b6._0x23a72b),{'url':_0x4b96a8[_0x3ea7c9(0x5c3,0x6ed,0x66f,_0x3c65b6._0x1f0e4f)]+'//'+_0x4b96a8[_0x1733db(0x297,0x9e,-_0x3c65b6._0x552012,_0x3c65b6._0x554092)]+_0x4b96a8['pathname']});const _0x15cd28=_0x4b96a8[_0x3ea7c9(0x545,0x3ea,0x392,_0x3c65b6._0x3cfde5)]['replace'](/^\[|\]$/g,''),_0x52adcd=_0x4b96a8[_0x3ea7c9(_0x3c65b6._0x40a440,0x7d5,_0x3c65b6._0x5da613,0x43e)]+'//'+_0x4b96a8[_0x1733db(0x50,-_0x3c65b6._0x46e259,-_0x3c65b6._0xefb23d,0xc4)]+_0x4b96a8[_0x3ea7c9(_0x3c65b6._0x40acf1,0x4e1,0x297,_0x3c65b6._0x40ff09)];if(isIP(_0x15cd28)){if(isBlockedAddress(_0x15cd28))throw new ToolExecutionError(_0x1733db(_0x3c65b6._0x2b3d93,0x39d,_0x3c65b6._0x4de64f,_0x3c65b6._0x21b673),{'url':_0x52adcd});return _0x4b96a8;}function _0x1733db(_0x9568ca,_0x318263,_0x235d4d,_0x5c2927){return _0x5b2413(_0x9568ca-0xdc,_0x318263-_0x557bbf._0x244eb8,_0x5c2927- -_0x557bbf._0x2e9224,_0x9568ca);}const _0x271773=_0x1522a1[_0x1733db(0x317,0x271,0x4fe,0x459)]??defaultLookup;let _0x5d5ca9;try{_0x5d5ca9=await _0x271773(_0x15cd28);}catch{throw new ToolExecutionError(_0x1733db(0x54a,_0x3c65b6._0x26a803,_0x3c65b6._0x39cf07,0x3bc),{'url':_0x52adcd});}function _0x3ea7c9(_0x1a7393,_0x2210d6,_0x74fb53,_0x2b3284){return _0x28bc81(_0x1a7393-_0x18d592._0x53efe7,_0x2210d6-_0x18d592._0xd04b7f,_0x1a7393-_0x18d592._0x38322f,_0x2210d6);}if(_0x5d5ca9[_0x1733db(_0x3c65b6._0x9a832f,_0x3c65b6._0xe0c10d,_0x3c65b6._0x37f0ab,_0x3c65b6._0x12ff67)]===0x0)throw new ToolExecutionError(_0x3ea7c9(_0x3c65b6._0x53e6fd,_0x3c65b6._0x190b00,0x912,_0x3c65b6._0xa4cdad),{'url':_0x52adcd});for(const {address:_0x1cc6f7}of _0x5d5ca9){if(isBlockedAddress(_0x1cc6f7))throw new ToolExecutionError(_0x1733db(0x336,0xe8,-0x6e,0x156),{'url':_0x52adcd});}return _0x4b96a8;}async function safeFetch(_0x8e3b65,_0x1130aa={},_0x3ab9a6={}){const _0x1d11c3={_0x59b7f9:0x441,_0x367c27:0x43a,_0x544941:0x131,_0x43e27f:0x17,_0x256b25:0x3a,_0x9631f0:0x10f,_0xa17662:0x1e4,_0x40a726:0x35,_0x496152:0xc9,_0x4ad7ed:0x123,_0x17ca1b:0x14e,_0x5ac668:0x14f,_0x3614a7:0x237,_0x292b41:0x3b,_0x1ede28:0x1fe,_0x31a8e8:0x531,_0x2bef5f:0x56b,_0x66f25f:0x44a},_0x30a81d={_0x591c95:0xe,_0x1e1db7:0x1bc},_0x1c447={_0x21390c:0x0},_0x82dc54=_0x3ab9a6[_0x57106e(_0x1d11c3._0x59b7f9,_0x1d11c3._0x367c27,0x2ec,0x37f)]??fetch;function _0x57106e(_0x6a5725,_0x2cdb2f,_0x5e5327,_0x44dc3a){return _0x28bc81(_0x6a5725-0x5e,_0x2cdb2f-_0x1c447._0x21390c,_0x2cdb2f-0x1cb,_0x44dc3a);}const _0xd6b0d8=_0x3ab9a6[_0xece971(-_0x1d11c3._0x544941,_0x1d11c3._0x43e27f,-_0x1d11c3._0x256b25,-0x1fc)]??DEFAULT_MAX_REDIRECTS;function _0xece971(_0x36c1ec,_0x90aa8,_0x3a1a6e,_0x294d78){return _0x28bc81(_0x36c1ec-_0x30a81d._0x591c95,_0x90aa8-0x1b9,_0x90aa8- -_0x30a81d._0x1e1db7,_0x36c1ec);}let _0x43e4e4=_0x8e3b65;for(let _0x300903=0x0;;_0x300903+=0x1){const _0xe85b68=await assertPublicUrl(_0x43e4e4,_0x3ab9a6),_0x373c31=await _0x82dc54(_0xe85b68[_0xece971(_0x1d11c3._0x9631f0,_0x1d11c3._0xa17662,-0x16,_0x1d11c3._0x40a726)](),{..._0x1130aa,'redirect':_0xece971(-0x56,_0x1d11c3._0x496152,0x2c,-_0x1d11c3._0x4ad7ed)}),_0x1396d2=_0x373c31['headers']['get'](_0xece971(0x193,0x32e,_0x1d11c3._0x17ca1b,0x423));if(!REDIRECT_STATUSES[_0xece971(0x173,_0x1d11c3._0x5ac668,_0x1d11c3._0x3614a7,_0x1d11c3._0x292b41)](_0x373c31[_0x57106e(0x4e5,0x3c9,0x38e,0x37c)])||!_0x1396d2)return _0x373c31;if(_0x300903>=_0xd6b0d8)throw new ToolExecutionError(_0xece971(0xf5,_0x1d11c3._0x1ede28,0x2f1,0x229),{'url':_0xe85b68[_0x57106e(_0x1d11c3._0x31a8e8,_0x1d11c3._0x2bef5f,0x6a1,0x60c)]()});_0x43e4e4=new URL(_0x1396d2,_0xe85b68)[_0x57106e(0x70a,0x56b,0x714,_0x1d11c3._0x66f25f)]();}}var USER_AGENT=_0x5b2413(0x7e4,0x85a,0x695,0x875),DEFAULT_TIMEOUT_MS2=0xea60;function createTimeoutSignal(_0x2fd469,_0x49cfd5){const _0x20e379={_0x5ef7cb:0x701,_0x512ecf:0x698,_0x149666:0x54a,_0x12c80f:0x6db,_0x45ab70:0x5db,_0x1611e2:0x5be,_0x5f327c:0x77e,_0x486daf:0x7b3,_0x3cda43:0x68c,_0x16be06:0x5b1},_0x366670={_0x20d3d6:0x14e},_0x3c2f5a={_0xfd88cd:0xc6,_0x1958fa:0x255},_0x1d6229=new AbortController();function _0x19a688(_0x20780f,_0x9bd962,_0x2e420e,_0x221d91){return _0x5b2413(_0x20780f-_0x3c2f5a._0xfd88cd,_0x9bd962-0xbb,_0x221d91- -_0x3c2f5a._0x1958fa,_0x20780f);}const _0x5cd4a1=setTimeout(()=>_0x1d6229[_0x19a688(0x7f1,0x7b6,0x5e7,0x628)](new Error('Fetch\x20timed\x20out')),_0x49cfd5),_0x386981=()=>_0x1d6229[_0x4acab0(0x701,0x764,0x78d,0x76a)](_0x2fd469[_0x4acab0(0x6db,0x72b,0x549,0x50a)]);_0x2fd469['aborted']?_0x1d6229[_0x4acab0(_0x20e379._0x5ef7cb,0x505,_0x20e379._0x512ecf,_0x20e379._0x149666)](_0x2fd469[_0x4acab0(_0x20e379._0x12c80f,0x8d8,0x89c,0x5a7)]):_0x2fd469[_0x4acab0(_0x20e379._0x45ab70,0x428,0x6a4,_0x20e379._0x1611e2)](_0x4acab0(0x701,0x630,_0x20e379._0x5f327c,_0x20e379._0x486daf),_0x386981,{'once':!![]});function _0x4acab0(_0x4a100d,_0x18ce02,_0x546ce4,_0x7d7425){return _0x5b2413(_0x4a100d-0xdd,_0x18ce02-_0x366670._0x20d3d6,_0x4a100d- -0x17c,_0x546ce4);}return{'signal':_0x1d6229[_0x19a688(_0x20e379._0x3cda43,0x59f,_0x20e379._0x16be06,0x517)],'cleanup':()=>{clearTimeout(_0x5cd4a1),_0x2fd469['removeEventListener']('abort',_0x386981);}};}function createWebFetchTool(_0x67f65e={}){const _0x257732={_0x2e0ac0:0x8c4,_0x34da50:0x67b,_0x5e370c:0x46a,_0x34882c:0x79b,_0xf0972:0x98a,_0x2db7f1:0x89b,_0x3eab49:0x852,_0x18ec44:0x493,_0x1ccf7f:0x4de,_0x4e4ca5:0x51d,_0x5a3234:0x823,_0x4fc6ed:0x8bc,_0xdf46a1:0x652,_0x113d43:0x7a2,_0x335e1f:0x797,_0x2196de:0x6d8,_0x3cf012:0x530,_0x1677ce:0x64a,_0x3dd32f:0x57c,_0x156438:0x602,_0x50f8a0:0x542,_0x471574:0x380,_0x5372dc:0x4d3,_0x3279fc:0x354,_0x5b8fc0:0x343,_0x45cd5e:0x536,_0xce7bb7:0x7c2,_0x2fa92d:0x659,_0x4aee1e:0x71a,_0x1af6f5:0x5a0,_0x3e2c3e:0x74f,_0x43c787:0x808,_0x3a4637:0x839,_0x5bf2d2:0x82a,_0xae47e0:0x7a4,_0x3f2dba:0x7f6,_0x5ca3e3:0x48e,_0x57dbba:0x461,_0x39d9fa:0x431,_0x104c46:0x577,_0x5c494a:0x44a},_0x495ec8={_0x1e2c17:0x6fa,_0xd3af8f:0x553,_0x3d55b8:0x5c4,_0x1a1176:0x54d,_0x476d57:0x685,_0x16827d:0x5b0,_0x36e8cf:0x710,_0x3be4f4:0x58f,_0x594033:0x5d8,_0x421e28:0x575,_0x2fd23d:0x855,_0x39fc5c:0x63b,_0x465564:0x765,_0x4a723b:0x628,_0x5a2f96:0x73b,_0x2721c7:0x618,_0xf7accb:0x4a3,_0x59399d:0x786,_0xea9bb0:0x7a0,_0x5e23f2:0x997,_0x177e8c:0x6b7,_0x4aae97:0x5a2,_0x24a318:0x819,_0x242ea5:0x70b,_0x572180:0x6c4,_0x4a895c:0x467,_0xdedf75:0x5e5,_0x1cf25f:0x7b7,_0x2aace9:0x6d5,_0x281b19:0x4f6,_0x9f07f8:0x48b,_0xca233d:0x2c6,_0x6bdb10:0x2d2,_0x3040be:0x59d,_0x3d708d:0x9d8,_0x208717:0x88a,_0x592317:0x412,_0x4275d4:0x271,_0x3848f3:0x4f7,_0x4755c1:0x664,_0x2cb598:0x787},_0x161b16={_0x47137f:0x15f,_0x50305e:0x98},_0x2770a4={_0x116e6a:0xd6,_0x1a2085:0xdf,_0x3123d8:0xe},_0x2d1c11={_0x5d891b:0x34},_0x12e66d=_0x67f65e[_0x5b40bc(_0x257732._0x2e0ac0,0x78f,0x620,0x807)]??_0x17a58e(_0x257732._0x34da50,0x5cb,_0x257732._0x5e370c,0x4dc);function _0x17a58e(_0x4ffa9e,_0xe6849c,_0x2568eb,_0xc460ec){return _0x5b2413(_0x4ffa9e-_0x2d1c11._0x5d891b,_0xe6849c-0x15b,_0xc460ec- -0x444,_0xe6849c);}const _0x4264dc=_0x67f65e[_0x5b40bc(_0x257732._0x34882c,_0x257732._0xf0972,_0x257732._0x2db7f1,_0x257732._0x3eab49)]??DEFAULT_TIMEOUT_MS2;function _0x5b40bc(_0x248d9d,_0x283a52,_0x9aef0c,_0x121bc1){return _0x5b2413(_0x248d9d-_0x2770a4._0x116e6a,_0x283a52-_0x2770a4._0x1a2085,_0x121bc1- -_0x2770a4._0x3123d8,_0x9aef0c);}const _0x478119=_0x67f65e[_0x17a58e(_0x257732._0x18ec44,0x2fe,_0x257732._0x1ccf7f,_0x257732._0x4e4ca5)],_0x588da2=new _0x568fbe({'headingStyle':_0x5b40bc(0x9b6,0x6a0,0x62f,0x84f),'codeBlockStyle':_0x5b40bc(_0x257732._0x5a3234,_0x257732._0x4fc6ed,_0x257732._0xdf46a1,_0x257732._0x113d43),'bulletListMarker':'-'});return _0x588da2[_0x5b40bc(_0x257732._0x335e1f,_0x257732._0x2196de,0x5aa,0x728)](['script','style',_0x5b40bc(_0x257732._0x3cf012,_0x257732._0x1677ce,0x715,_0x257732._0x3dd32f),_0x17a58e(_0x257732._0x156438,_0x257732._0x50f8a0,_0x257732._0x471574,_0x257732._0x5372dc),_0x17a58e(_0x257732._0x3279fc,0x191,_0x257732._0x5b8fc0,0x23b),_0x5b40bc(_0x257732._0x45cd5e,_0x257732._0xce7bb7,_0x257732._0x2fa92d,_0x257732._0x4aee1e),_0x5b40bc(_0x257732._0x1af6f5,_0x257732._0x3e2c3e,0x76d,0x6ba),_0x5b40bc(_0x257732._0x43c787,_0x257732._0x3a4637,0x701,_0x257732._0x5bf2d2)]),defineTool({'name':_0x12e66d,'permissionClass':'read','description':'Fetch\x20web\x20page\x20content\x20and\x20convert\x20to\x20Markdown\x20format','inputSchema':{'type':_0x5b40bc(_0x257732._0xae47e0,0x46f,_0x257732._0x3f2dba,0x5f6),'properties':{'description':{'type':'string'},'url':{'type':_0x5b40bc(_0x257732._0x5ca3e3,0x41a,_0x257732._0x57dbba,0x627)}},'required':[_0x17a58e(_0x257732._0x39d9fa,_0x257732._0x104c46,0x533,_0x257732._0x5c494a)]},async *'execute'(_0x36b3b4,_0x147ec2){const _0x54d7c1={_0x501741:0x9f},_0x35d0f2=(await assertPublicUrl(_0x36b3b4[_0x26ce9c(_0x495ec8._0x1e2c17,_0x495ec8._0xd3af8f,0x8c8,0x85f)],{'lookup':_0x478119}))[_0x26ce9c(0x5ab,_0x495ec8._0x3d55b8,_0x495ec8._0x1a1176,_0x495ec8._0x476d57)]();function _0x26ce9c(_0x190055,_0x36174b,_0x179b5b,_0x462487){return _0x5b40bc(_0x190055-_0x161b16._0x47137f,_0x36174b-_0x161b16._0x50305e,_0x36174b,_0x190055- -0x186);}if(_0x147ec2[_0x13ae69(0x752,0x6bf,0x76e,0x841)]['aborted'])throw new ToolExecutionError(_0x26ce9c(_0x495ec8._0x16827d,_0x495ec8._0x36e8cf,0x4ab,_0x495ec8._0x3be4f4),{'url':_0x35d0f2});const _0x505e4c=createTimeoutSignal(_0x147ec2[_0x26ce9c(_0x495ec8._0x594033,0x628,_0x495ec8._0x421e28,0x673)],_0x4264dc);let _0x342454='',_0x44ccc5=0x0,_0x3d7885;try{const _0x4c418a=await safeFetch(_0x35d0f2,{'headers':{'User-Agent':USER_AGENT},'signal':_0x505e4c['signal']},{'lookup':_0x478119});if(!_0x4c418a['ok'])throw new ToolExecutionError(_0x13ae69(0x6d0,_0x495ec8._0x2fd23d,_0x495ec8._0x39fc5c,0x665)+_0x4c418a['status']+'\x20'+_0x4c418a[_0x13ae69(_0x495ec8._0x465564,_0x495ec8._0x4a723b,_0x495ec8._0x5a2f96,0x536)],{'url':_0x35d0f2,'statusCode':_0x4c418a['status']});_0x342454=_0x4c418a[_0x26ce9c(_0x495ec8._0x2721c7,_0x495ec8._0xf7accb,_0x495ec8._0x59399d,_0x495ec8._0xea9bb0)][_0x26ce9c(0x79c,0x740,_0x495ec8._0x5e23f2,_0x495ec8._0x177e8c)]('content-type')??'',_0x44ccc5=_0x4c418a[_0x13ae69(0x4ca,0x4f0,0x601,0x5a1)],_0x3d7885=await _0x4c418a[_0x26ce9c(0x631,_0x495ec8._0x4aae97,0x5a0,_0x495ec8._0x24a318)]();}catch(_0x6f4341){if(_0x6f4341 instanceof ToolExecutionError)throw _0x6f4341;const _0x3cfbe6=_0x6f4341 instanceof Error?_0x6f4341['message']:String(_0x6f4341);throw new ToolExecutionError(_0x3cfbe6,{'url':_0x35d0f2});}finally{_0x505e4c[_0x26ce9c(_0x495ec8._0x242ea5,_0x495ec8._0x572180,0x690,0x520)]();}const _0x486108=new Date()[_0x13ae69(_0x495ec8._0x4a895c,0x528,_0x495ec8._0xdedf75,0x42b)]();let _0x549ac2,_0x53674c;function _0x13ae69(_0x199b81,_0x5b0e53,_0x5aef11,_0x183bfb){return _0x5b40bc(_0x199b81-0xa,_0x5b0e53-0x14c,_0x5aef11,_0x5b0e53- -_0x54d7c1._0x501741);}if(_0x342454['includes']('application/json'))_0x549ac2=_0x13ae69(_0x495ec8._0x1cf25f,_0x495ec8._0x2aace9,_0x495ec8._0x281b19,0x76a)+_0x3d7885+_0x26ce9c(_0x495ec8._0x9f07f8,_0x495ec8._0xca233d,0x43c,_0x495ec8._0x6bdb10),_0x53674c='json';else _0x342454[_0x26ce9c(0x5cc,0x536,0x720,_0x495ec8._0x3040be)](_0x13ae69(_0x495ec8._0x3d708d,0x899,_0x495ec8._0x208717,0x908))?(_0x549ac2=_0x588da2[_0x26ce9c(_0x495ec8._0x592317,0x2e1,0x287,_0x495ec8._0x4275d4)](_0x3d7885),_0x53674c=_0x26ce9c(0x5fc,0x3ed,0x44b,_0x495ec8._0x3848f3)):(_0x549ac2=_0x3d7885,_0x53674c=_0x13ae69(0x850,0x718,_0x495ec8._0x4755c1,_0x495ec8._0x2cb598));return yield createToolOutput(_0x549ac2,{'url':_0x35d0f2,'contentType':_0x342454,'statusCode':_0x44ccc5,'format':_0x53674c,'size':_0x3d7885['length'],'fetchedAt':_0x486108}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2=_0x28bc81(0x308,0x1e7,0x23d,0x319);function normalizeUrl(_0x5cce13){const _0x3091e6={_0x3bf171:0xb0,_0x20c0bf:0x48,_0x2606f5:0x124,_0x1596d8:0x74,_0x27b077:0x1c,_0x368848:0x481,_0x45e72c:0x3b3,_0x23b84b:0x2e1,_0x28bb85:0x18a,_0x270cfc:0x341,_0x72ccb:0x661,_0x3d0240:0x51e,_0x5a0b0c:0x5f8,_0x3b4d18:0x41d,_0x19e8d9:0x334,_0x4ca65a:0x2e2,_0x2ef36c:0xaa,_0x6c6865:0x23,_0x1a5ef7:0x3a9},_0x276efa={_0x23232b:0xfe,_0x163e84:0x372};function _0xacd2b(_0x83bac1,_0x57e21f,_0x3fa8d4,_0x59fd49){return _0x5b2413(_0x83bac1-0x96,_0x57e21f-0x3c,_0x57e21f- -0x47d,_0x59fd49);}function _0x53daa9(_0x2235d1,_0x2f06d3,_0x4188c6,_0x16c79c){return _0x28bc81(_0x2235d1-_0x276efa._0x23232b,_0x2f06d3-0xe4,_0x2f06d3- -_0x276efa._0x163e84,_0x2235d1);}try{const _0x2a83b0=new URL(_0x5cce13);for(const _0x354459 of[_0x53daa9(-0x16e,-0x143,-0x91,_0x3091e6._0x3bf171),_0x53daa9(_0x3091e6._0x20c0bf,-0x14,-_0x3091e6._0x2606f5,-0x1e9),'utm_campaign','utm_term',_0x53daa9(-0x1f4,-_0x3091e6._0x1596d8,_0x3091e6._0x27b077,-0xd3),_0xacd2b(0x2dc,_0x3091e6._0x368848,_0x3091e6._0x45e72c,0x4e2),_0xacd2b(_0x3091e6._0x23b84b,_0x3091e6._0x28bb85,0x265,_0x3091e6._0x270cfc),_0xacd2b(_0x3091e6._0x72ccb,_0x3091e6._0x3d0240,_0x3091e6._0x5a0b0c,0x56b),_0xacd2b(_0x3091e6._0x3b4d18,_0x3091e6._0x19e8d9,_0x3091e6._0x4ca65a,0x12d)]){_0x2a83b0[_0x53daa9(_0x3091e6._0x2ef36c,-_0x3091e6._0x6c6865,-0x1e9,0x38)][_0x53daa9(_0x3091e6._0x1a5ef7,0x194,0x1b5,0x268)](_0x354459);}return _0x2a83b0['toString']();}catch{return _0x5cce13;}}function cseDateRestrict(_0x3a4a67){const _0x57bfc2={_0x3b9cc0:0x560,_0x3f8861:0x4d0},_0x484805={_0xe820c5:0x1af,_0x25d776:0x77,_0xb8b89b:0x231},_0x3dd8cb={_0x51d5a8:0x11e,_0x49220d:0x101};function _0x222a9f(_0x274f72,_0xb25ba5,_0x7fc50c,_0x1f26e7){return _0x28bc81(_0x274f72-_0x3dd8cb._0x51d5a8,_0xb25ba5-_0x3dd8cb._0x49220d,_0x7fc50c-0x289,_0xb25ba5);}function _0x39fabc(_0x196668,_0x4cd35a,_0x321ef8,_0x18dab9){return _0x28bc81(_0x196668-_0x484805._0xe820c5,_0x4cd35a-_0x484805._0x25d776,_0x321ef8-_0x484805._0xb8b89b,_0x196668);}if(_0x3a4a67<=0x0)return void 0x0;if(_0x3a4a67<=0x1e)return'd'+Math['max'](0x1,Math['floor'](_0x3a4a67));if(_0x3a4a67<=0x16d)return'm'+Math[_0x39fabc(_0x57bfc2._0x3b9cc0,0x6fa,0x5cb,_0x57bfc2._0x3f8861)](_0x3a4a67/0x1e);return'y'+Math[_0x222a9f(0x70b,0x5d8,0x623,0x417)](_0x3a4a67/0x16d);}function addSiteFilters(_0x3f723d,_0x283931){const _0x7eb723={_0x30d7c9:0x4f3,_0x52fa19:0x1e4,_0x3ef36a:0x4b8,_0x57bb26:0x380,_0x1f47dd:0x646,_0x41817b:0x3c2},_0x4d1ba2={_0x57cc47:0x56},_0x4a41ba={_0x2648b3:0x2bc};if(_0x283931[_0x421318(0x512,0x3d6,0x705,_0x7eb723._0x30d7c9)]===0x0)return _0x3f723d[_0x3e122d(0x421,0x3fb,0x3cf,_0x7eb723._0x52fa19)]();function _0x3e122d(_0x554fb5,_0x2d6a0e,_0x310d55,_0x93819f){return _0x5b2413(_0x554fb5-0x1e2,_0x2d6a0e-0x187,_0x2d6a0e- -_0x4a41ba._0x2648b3,_0x310d55);}function _0x421318(_0x387619,_0x2d0ba3,_0xf5a948,_0x378b0b){return _0x28bc81(_0x387619-0x16f,_0x2d0ba3-0x13a,_0x378b0b- -_0x4d1ba2._0x57cc47,_0x2d0ba3);}return(_0x3f723d+'\x20('+_0x283931['map'](_0x32c9ce=>'site:'+_0x32c9ce)[_0x421318(_0x7eb723._0x3ef36a,0x460,_0x7eb723._0x57bb26,0x407)](_0x421318(_0x7eb723._0x1f47dd,_0x7eb723._0x41817b,0x604,0x46f))+')')['trim']();}function normalizeType(_0x51406a){const _0x449a55={_0x3d229c:0x347,_0x3d4cf6:0x48c,_0xcf4061:0x36d,_0x5d6f51:0x157},_0x46bcb6={_0x4c14b3:0x235},_0x7ef5c0={_0x4e8530:0x50,_0x217d86:0x28b};function _0x13b71b(_0x38ed1c,_0x42b734,_0x4e0e03,_0x1550d5){return _0x28bc81(_0x38ed1c-_0x7ef5c0._0x4e8530,_0x42b734-0x174,_0x1550d5- -_0x7ef5c0._0x217d86,_0x38ed1c);}function _0x21f4f5(_0x3cbd38,_0x5dc228,_0x302f70,_0x734fed){return _0x5b2413(_0x3cbd38-0x162,_0x5dc228-0x1bb,_0x734fed- -_0x46bcb6._0x4c14b3,_0x5dc228);}return _0x51406a===_0x21f4f5(_0x449a55._0x3d229c,0x3ee,0x3f2,_0x449a55._0x3d4cf6)?'images':_0x13b71b(0x104,0x288,_0x449a55._0xcf4061,_0x449a55._0x5d6f51);}async function fetchJson(_0x408d9d,_0x15e0d2,_0x517b1b){const _0x430c14={_0x22b49a:0x4eb,_0x500e7e:0x203,_0x490d58:0x3f5,_0x110a7c:0x3df,_0x1a2521:0x5e1,_0x2be7fd:0x459,_0x1f6fb6:0x4ae,_0x5ca52c:0x35c,_0x69daef:0x2d9,_0xee9627:0x3cf,_0x3c924c:0x2a7,_0x86abe:0x420,_0x434df9:0x593,_0x415dff:0x695,_0x1ebf3c:0x558,_0x246e57:0x53d,_0xee3e69:0x2a1,_0x36b2f3:0x355,_0x1ead43:0x358,_0xd3a32:0x7f2,_0x17a4ff:0x728,_0x141043:0x5ef,_0x283d62:0x156,_0x49f31a:0x7f,_0x9c9a4c:0x3ba,_0x16af87:0x319,_0xb8e17d:0x5d5,_0xf84f53:0x1ff,_0x98302c:0x377,_0x1f2ece:0x2e8,_0x4441bf:0x1dc,_0x360eb7:0x24e},_0x421b09={_0x205c22:0x173,_0x110e7f:0x1e4},_0x22861e={_0x5e980a:0x9e,_0xbd616e:0x4d6};function _0x1dee53(_0x46607d,_0x124cf8,_0x1bf1b7,_0x570dc0){return _0x5b2413(_0x46607d-_0x22861e._0x5e980a,_0x124cf8-0x25,_0x46607d- -_0x22861e._0xbd616e,_0x1bf1b7);}const _0x30dec0=await fetch(_0x408d9d,{'headers':{'User-Agent':USER_AGENT2,'Accept':_0x29aa95(_0x430c14._0x22b49a,_0x430c14._0x500e7e,_0x430c14._0x490d58,0x509),..._0x517b1b?.['headers']},'signal':_0x15e0d2,..._0x517b1b});if(!_0x30dec0['ok']){let _0x3a371c,_0x309c3d;try{_0x3a371c=await _0x30dec0[_0x29aa95(0x647,_0x430c14._0x110a7c,_0x430c14._0x1a2521,_0x430c14._0x2be7fd)]();const _0x5cca81=JSON[_0x1dee53(_0x430c14._0x1f6fb6,0x3c6,_0x430c14._0x5ca52c,0x6b2)](_0x3a371c),_0x3ec91f=typeof _0x5cca81[_0x1dee53(_0x430c14._0x69daef,_0x430c14._0xee9627,0x35a,0x2b9)]===_0x29aa95(_0x430c14._0x3c924c,0x581,_0x430c14._0x86abe,0x421)?_0x5cca81['detail'][_0x29aa95(0x483,0x394,_0x430c14._0x434df9,_0x430c14._0x415dff)]:void 0x0;_0x309c3d=_0x5cca81['error']?.[_0x1dee53(0x4a7,0x47f,_0x430c14._0x1ebf3c,_0x430c14._0x246e57)]??_0x5cca81[_0x1dee53(_0x430c14._0xee3e69,0x400,_0x430c14._0x36b2f3,0x2f0)]?.[_0x1dee53(_0x430c14._0x1ead43,0x343,0x41b,0x1ce)]?.[0x0]?.[_0x29aa95(_0x430c14._0xd3a32,0x5ff,0x799,_0x430c14._0x17a4ff)]??_0x3ec91f;}catch{}const _0x2970d0=_0x309c3d?_0x29aa95(0x58c,0x829,0x71e,_0x430c14._0x141043)+_0x30dec0[_0x1dee53(0xc7,-_0x430c14._0x283d62,_0x430c14._0x49f31a,0x13a)]+':\x20'+_0x309c3d:_0x1dee53(0x42c,_0x430c14._0x9c9a4c,_0x430c14._0x16af87,0x56e)+_0x30dec0[_0x29aa95(0x3d9,0x43c,0x3b9,_0x430c14._0xb8e17d)]+'\x20'+_0x30dec0[_0x1dee53(_0x430c14._0xf84f53,_0x430c14._0x98302c,0x365,_0x430c14._0x1f2ece)];throw new ToolExecutionError(_0x2970d0,{'statusCode':_0x30dec0['status'],..._0x3a371c?{'body':_0x3a371c}:{}});}function _0x29aa95(_0x9128a6,_0x2fc6ff,_0x566209,_0x549197){return _0x5b2413(_0x9128a6-0x1cb,_0x2fc6ff-_0x421b09._0x205c22,_0x566209- -_0x421b09._0x110e7f,_0x549197);}return await _0x30dec0[_0x1dee53(_0x430c14._0x4441bf,0xe9,_0x430c14._0x360eb7,0xc8)]();}async function hydrateResults(_0x4dbc9d,_0x4aaea0,_0x27b639,_0x1606ae){const _0x3033fa={_0x47c33b:0x7d6,_0x3eff63:0x662,_0x148a14:0xa02,_0x45f40a:0x6e7,_0x2e81ca:0xa19,_0x54cd6c:0x23d},_0x39efb2={_0x3c18be:0x143},_0x458df2={_0x1bfb10:0x84d,_0x563f50:0x6cc,_0x2bd702:0x8d9,_0xeeba4a:0x5c6,_0x627cdc:0x1d3,_0x14011e:0x240,_0x3f6342:0x188,_0x28a05b:0x11d,_0x1c3204:0xa4,_0x355b9b:0x282,_0xc331f3:0x27d,_0x13fcdc:0x61b,_0x3a569b:0x621,_0x55a01b:0x75a,_0x4fc197:0x5be,_0x17959c:0x438,_0x46d7fa:0x6ef,_0x2397c5:0xd8,_0x71c87f:0x3b6,_0x3f4b3c:0x4c8,_0x457286:0x44a,_0x1f7f51:0x4e7,_0x456e38:0x59d,_0x5c5192:0x14a,_0x23a346:0x2fc,_0x5ec4b2:0x329,_0x123cb9:0x3bc,_0x5d663e:0x579,_0x4f0114:0x777,_0x64bb20:0x55c,_0x2405c8:0x79,_0x4a60da:0x93,_0x5c5d2c:0x134,_0x2469c5:0x777,_0x571bef:0x646,_0x19e8ea:0x3c3,_0x2df86e:0x728,_0x8c17dc:0x6f3,_0x29b662:0x7e5,_0xdcaa71:0x657,_0x18e86c:0x58c,_0x519deb:0x17c,_0x457af7:0x3f,_0xc2ff9d:0x7aa,_0x1eebac:0x35d,_0x57f718:0x140,_0x3044cf:0x4b,_0x5c8013:0x4a2,_0x292deb:0x6de,_0x43332b:0x958,_0x13adea:0x502,_0x298079:0x37b},_0x311e92={_0x13bbd0:0x4b},_0x527214=await Promise['all'](_0x4dbc9d[_0x34b874(0x730,_0x3033fa._0x47c33b,0x8dd,0x659)](0x0,0xa)[_0x34b874(0x82c,0xa36,_0x3033fa._0x3eff63,_0x3033fa._0x148a14)](async _0x2b9a6d=>{const _0x202b45={_0x31b7b2:0x541,_0x4e43e5:0x153};function _0x526ffa(_0x467c35,_0x480a4a,_0x309d9c,_0x5193ec){return _0x34b874(_0x467c35- -_0x202b45._0x31b7b2,_0x480a4a-0x1aa,_0x480a4a,_0x5193ec-_0x202b45._0x4e43e5);}function _0x4203a7(_0x39e005,_0x11f285,_0x284ac4,_0x1920ba){return _0x34b874(_0x39e005-_0x311e92._0x13bbd0,_0x11f285-0x14b,_0x11f285,_0x1920ba-0x9e);}try{const _0xfd915=await safeFetch(_0x2b9a6d['url'],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x4aaea0,'Accept':_0x4203a7(_0x458df2._0x1bfb10,0x863,0x734,0x94a)},'signal':_0x27b639},{'lookup':_0x1606ae});if(!_0xfd915['ok'])return _0x2b9a6d;const _0x407ee6=await _0xfd915[_0x4203a7(_0x458df2._0x563f50,0x4f0,0x740,_0x458df2._0x2bd702)](),_0x7402d0=load(_0x407ee6),_0x372e6f=_0x7402d0(_0x4203a7(0x621,0x4c7,0x81b,_0x458df2._0xeeba4a))[_0x526ffa(0x29,_0x458df2._0x627cdc,_0x458df2._0x14011e,-_0x458df2._0x3f6342)](_0x526ffa(0x1e8,_0x458df2._0x28a05b,0x105,0x396))||_0x7402d0(_0x526ffa(-_0x458df2._0x1c3204,-0xdc,-_0x458df2._0x355b9b,-_0x458df2._0xc331f3))['first']()[_0x4203a7(_0x458df2._0x563f50,_0x458df2._0x13fcdc,_0x458df2._0x3a569b,_0x458df2._0x55a01b)]()[_0x4203a7(_0x458df2._0x4fc197,_0x458df2._0x17959c,0x64e,_0x458df2._0x46d7fa)](),_0x2f14f5=_0x7402d0(_0x526ffa(-0xfa,_0x458df2._0x2397c5,-0xd7,-0x286))['attr'](_0x526ffa(0x1e8,0x3e2,0x96,_0x458df2._0x71c87f))||_0x7402d0(_0x4203a7(_0x458df2._0x3f4b3c,_0x458df2._0x457286,_0x458df2._0x1f7f51,0x511))['attr'](_0x4203a7(0x774,0x828,_0x458df2._0x456e38,0x934))||_0x2b9a6d[_0x526ffa(_0x458df2._0x5c5192,0x187,_0x458df2._0x23a346,_0x458df2._0x5ec4b2)],_0x2727bb=_0x7402d0('meta[property=\x27article:published_time\x27]')[_0x4203a7(0x5b5,_0x458df2._0x123cb9,0x53e,_0x458df2._0x5d663e)](_0x4203a7(0x774,_0x458df2._0x4f0114,0x808,_0x458df2._0x64bb20))||_0x7402d0(_0x526ffa(_0x458df2._0x2405c8,-_0x458df2._0x4a60da,_0x458df2._0x5c5d2c,0x292))[_0x4203a7(0x5b5,_0x458df2._0x2469c5,_0x458df2._0x571bef,_0x458df2._0x19e8ea)](_0x4203a7(_0x458df2._0x2df86e,_0x458df2._0x8c17dc,_0x458df2._0x29b662,0x7c0))||_0x2b9a6d[_0x4203a7(0x52e,0x6c0,_0x458df2._0xdcaa71,_0x458df2._0x18e86c)],_0x357eba=_0x7402d0(_0x526ffa(_0x458df2._0x519deb,0x12d,0x27,_0x458df2._0x457af7))[_0x4203a7(0x5b5,_0x458df2._0xc2ff9d,0x634,0x5f5)](_0x526ffa(0x16f,_0x458df2._0x1eebac,_0x458df2._0x57f718,_0x458df2._0x3044cf));return{..._0x2b9a6d,'title':_0x372e6f||_0x2b9a6d[_0x4203a7(0x4e8,0x462,0x61a,_0x458df2._0x5c8013)],'snippet':_0x2f14f5,'url':_0x357eba?normalizeUrl(new URL(_0x357eba,_0x2b9a6d[_0x4203a7(0x795,0x927,_0x458df2._0x292deb,_0x458df2._0x43332b)])[_0x4203a7(_0x458df2._0x571bef,0x70e,0x533,_0x458df2._0x13adea)]()):_0x2b9a6d[_0x526ffa(0x209,0xd2,0x2b7,_0x458df2._0x298079)],'publishedAt':_0x2727bb};}catch{return _0x2b9a6d;}})),_0x29b8d3=new Map(_0x4dbc9d['slice'](0x0,0xa)[_0x34b874(0x82c,0x8cd,_0x3033fa._0x45f40a,_0x3033fa._0x2e81ca)]((_0x483b73,_0x2901d2)=>[_0x483b73[_0x34fbfd(0x225,0x23a,0x334,0x92)],_0x527214[_0x2901d2]]));function _0x34b874(_0x21f39b,_0x5a802a,_0xfd8035,_0xd1704f){return _0x28bc81(_0x21f39b-0x160,_0x5a802a-0x1d,_0x21f39b-0x25b,_0xfd8035);}function _0x34fbfd(_0x23500d,_0x3cefd4,_0xe75dca,_0x1d8789){return _0x5b2413(_0x23500d-0x1c1,_0x3cefd4-_0x39efb2._0x3c18be,_0x23500d- -0x669,_0x1d8789);}return _0x4dbc9d[_0x34fbfd(0x307,0x394,_0x3033fa._0x54cd6c,0x1ec)](_0x49906b=>_0x29b8d3[_0x34b874(0x7ec,0x90c,0x756,0x88a)](_0x49906b[_0x34fbfd(0x225,0xfe,0x2b6,0x15)])??_0x49906b);}function formatResults(_0x30ae97){const _0x4ee1ba={_0x27312e:0x160,_0x4fa33e:0x54,_0xdc4b40:0x215,_0x8d849:0x690,_0x22200d:0x4a9,_0x3f97a2:0x107,_0x3611f3:0x2dd},_0x13518e={_0xa835de:0x49f,_0x4d4d2d:0x38e,_0x556bd2:0x40e,_0x1b54e0:0x1ec,_0x4cb22c:0x172,_0x243304:0x2e2,_0x440bbb:0x4b5,_0x5ca8c9:0x38d,_0x5cd78a:0x647,_0x2f8f86:0x488,_0x339b80:0x484,_0x385afc:0x208,_0x2be143:0x5ed,_0x115819:0x50f},_0xa15fc1={_0x1d29a5:0x1eb,_0x448526:0x150,_0x218d77:0x164},_0x40b6ab={_0x226b15:0xd5,_0x55248d:0xfc};function _0x42a74b(_0x29bceb,_0x575f47,_0xf6a257,_0x4c6138){return _0x5b2413(_0x29bceb-_0x40b6ab._0x226b15,_0x575f47-_0x40b6ab._0x55248d,_0x4c6138- -0x6d3,_0xf6a257);}function _0x3ac0ae(_0x402baa,_0x4edf0c,_0xc71391,_0x53a07a){return _0x28bc81(_0x402baa-_0xa15fc1._0x1d29a5,_0x4edf0c-_0xa15fc1._0x448526,_0x53a07a-_0xa15fc1._0x218d77,_0xc71391);}if(_0x30ae97[_0x42a74b(0x72,_0x4ee1ba._0x27312e,_0x4ee1ba._0x4fa33e,_0x4ee1ba._0xdc4b40)]===0x0)return _0x3ac0ae(_0x4ee1ba._0x8d849,0x441,0x624,_0x4ee1ba._0x22200d);return _0x30ae97[_0x3ac0ae(0x6d9,0x876,0x6c0,0x735)](_0x4894b4=>{const _0xbe8e7c={_0x2cf81b:0x3ae},_0x3ad216={_0x12482c:0x14e,_0x5b4add:0x110},_0x1a0a2e=[_0x4894b4[_0x123a00(0x2e1,0x319,0x62c,_0x13518e._0xa835de)][_0x4bc910(0x210,_0x13518e._0x4d4d2d,_0x13518e._0x556bd2,0x305)]+'.\x20'+_0x4894b4[_0x123a00(0x89,_0x13518e._0x1b54e0,_0x13518e._0x4cb22c,0x296)],_0x4894b4[_0x123a00(0x479,0x5ee,0x41c,0x543)]];if(_0x4894b4[_0x123a00(0x633,0x61b,0x2aa,0x484)])_0x1a0a2e[_0x4bc910(_0x13518e._0x243304,0x430,_0x13518e._0x440bbb,0x47e)](_0x4894b4[_0x123a00(_0x13518e._0x5ca8c9,_0x13518e._0x5cd78a,_0x13518e._0x2f8f86,_0x13518e._0x339b80)]);function _0x123a00(_0x3c1414,_0x401f94,_0x12ee42,_0x45076c){return _0x3ac0ae(_0x3c1414-_0x3ad216._0x12482c,_0x401f94-0xfc,_0x12ee42,_0x45076c- -_0x3ad216._0x5b4add);}if(_0x4894b4[_0x123a00(_0x13518e._0x385afc,0x3b2,0x1ec,0x2dc)])_0x1a0a2e[_0x123a00(_0x13518e._0x2be143,0x5c7,0x567,0x40a)]('Published:\x20'+_0x4894b4[_0x123a00(0x172,0x1b4,0x4c0,0x2dc)]);function _0x4bc910(_0x1d9fb4,_0x4c8cf5,_0x1b41cf,_0x2e4142){return _0x42a74b(_0x1d9fb4-0x50,_0x4c8cf5-0x1ec,_0x1b41cf,_0x4c8cf5-_0xbe8e7c._0x2cf81b);}return _0x1a0a2e[_0x4bc910(0x522,0x4d7,_0x13518e._0x115819,0x51e)]('\x0a');})[_0x42a74b(-0x77,_0x4ee1ba._0x3f97a2,_0x4ee1ba._0x3611f3,0x129)]('\x0a\x0a');}async function searchOllama(_0x396433,_0xce393e,_0x1a3e28){const _0x1dd7f6={_0x1b8967:0x76,_0x3adea1:0xe3,_0x13b698:0x8a,_0x30fd09:0x367,_0x1c53ed:0x9f,_0xf477cc:0x30a,_0xf67c59:0x759,_0x536a91:0x756,_0x5f20dc:0x822,_0x2e0d93:0x672,_0x16d51d:0x9a5,_0xecca5b:0x9e6,_0x26069c:0x70e,_0x5a47a7:0x77b,_0x3b655b:0x57c,_0x4f11b6:0x7ec,_0x17219b:0x65,_0xc665c0:0x438,_0x2cbe5a:0x1b9,_0x40cb2e:0x145,_0x26629e:0x151,_0x3ee1a5:0x21a},_0x5dba27={_0x5506eb:0x7e0,_0xaa9947:0x7a9,_0x299bbf:0x669,_0xee1e31:0x49c,_0x25c390:0x5c4},_0x2c7962={_0x4a4323:0x163,_0x295d4e:0x11f,_0x4a46e4:0x681},_0x1c1c5d={_0xb89af0:0x129},_0x379cca={_0x533671:0x16a,_0x5e24b0:0xe7},_0x5db664={_0x1aea61:0x390},_0x55b6c3=Math['max'](0x1,Math['min'](0xa,_0xce393e[_0x1163d7(0x206,_0x1dd7f6._0x1b8967,_0x1dd7f6._0x3adea1,-_0x1dd7f6._0x13b698)])),_0x15ff66=addSiteFilters(_0xce393e['query'],_0xce393e[_0x1163d7(-_0x1dd7f6._0x30fd09,-_0x1dd7f6._0x1c53ed,-0x160,-_0x1dd7f6._0xf477cc)]),_0x35f634=await fetchJson('https://ollama.com/api/web_search',_0x1a3e28,{'method':_0x3c8841(_0x1dd7f6._0xf67c59,0x811,_0x1dd7f6._0x536a91,_0x1dd7f6._0x5f20dc),'headers':{'Authorization':_0x3c8841(_0x1dd7f6._0x2e0d93,_0x1dd7f6._0x16d51d,0x829,_0x1dd7f6._0xecca5b)+_0x396433[_0x3c8841(0x898,_0x1dd7f6._0x26069c,_0x1dd7f6._0x5a47a7,_0x1dd7f6._0x3b655b)]},'body':JSON[_0x3c8841(0x9a2,0x6eb,_0x1dd7f6._0x4f11b6,0x8c7)]({'query':_0x15ff66,'max_results':_0x55b6c3})});function _0x1163d7(_0x361115,_0x1a1b22,_0x26a6c1,_0x246e17){return _0x28bc81(_0x361115-0x85,_0x1a1b22-0x1d7,_0x26a6c1- -_0x5db664._0x1aea61,_0x246e17);}const _0x2629f1=_0x35f634[_0x1163d7(-_0x1dd7f6._0x17219b,-0x14,-0xc7,-0x2af)]??[];function _0x3c8841(_0x6e28bf,_0x4f60a3,_0x5badae,_0x21ee1a){return _0x5b2413(_0x6e28bf-0xf,_0x4f60a3-_0x379cca._0x533671,_0x5badae- -_0x379cca._0x5e24b0,_0x4f60a3);}const _0x799b9c=_0x2629f1[_0x1163d7(0xb0,0x1bb,0x241,_0x1dd7f6._0xc665c0)]((_0x1b1094,_0x193d3d)=>{const _0x5dee3e=_0x1b1094[_0xb0ccdd(0x73f,_0x5dba27._0x5506eb,_0x5dba27._0xaa9947,_0x5dba27._0x299bbf)]||'';function _0x259044(_0x1329f8,_0x3712b3,_0x59fc0d,_0x167a3e){return _0x1163d7(_0x1329f8-0x4,_0x3712b3-_0x1c1c5d._0xb89af0,_0x1329f8-0x5ff,_0x59fc0d);}function _0xb0ccdd(_0x27a311,_0x2f7c8d,_0x828e21,_0x2c7238){return _0x1163d7(_0x27a311-_0x2c7962._0x4a4323,_0x2f7c8d-_0x2c7962._0x295d4e,_0x2f7c8d-_0x2c7962._0x4a46e4,_0x828e21);}let _0xf97a56;try{_0xf97a56=new URL(_0x5dee3e)[_0x259044(_0x5dba27._0xee1e31,0x4b0,0x677,0x338)];}catch{_0xf97a56=null;}return{'title':_0x1b1094['title']||_0xb0ccdd(_0x5dba27._0x25c390,0x6b0,0x67d,0x8cd),'url':normalizeUrl(_0x5dee3e),'snippet':_0x1b1094[_0x259044(0x73d,0x5ce,0x886,0x53e)]??null,'displayUrl':_0xf97a56,'favicon':null,'publishedAt':null,'source':{'engine':'ollama','rank':_0x193d3d+0x1}};});return{'items':_0x799b9c[_0x1163d7(_0x1dd7f6._0x2cbe5a,0x6a,_0x1dd7f6._0x40cb2e,0xf)](0x0,_0x55b6c3),'engine':_0x1163d7(_0x1dd7f6._0x26629e,0x259,_0x1dd7f6._0x3ee1a5,0x2b5)};}async function searchTavily(_0xf0228c,_0x20e188,_0x27c24b){const _0x3406b={_0x156e9b:0x44a,_0x3a962f:0x267,_0x6f687:0x590,_0x39c147:0x87b,_0x576a93:0x743,_0x35c13d:0x726,_0x34a037:0x598,_0xc3766d:0x90,_0xcf3712:0x4ce,_0x251b65:0x356,_0x20bccc:0x4c1,_0x43a38e:0x77c,_0xd17a10:0x896,_0x423f34:0x84f,_0x13558a:0x767,_0xb0af4:0x633,_0x5ecc77:0x608,_0x1a89ae:0x9fb,_0x5bb20e:0x2ea,_0x51840f:0x213,_0x1aaff2:0x324,_0x43640c:0x1aa,_0x41c704:0x372,_0x430579:0x6b5,_0x54f215:0x5ee,_0x470cb0:0x3d1,_0x523781:0x751,_0x589872:0x33d,_0x4e2a7d:0x4b8,_0x5b6af6:0x59b},_0x1e0043={_0x2db162:0x4cc,_0x1f9314:0x2e3,_0x3a5ff1:0x1b6,_0x4d3d21:0x5,_0x2b5c41:0x10f,_0x33a42e:0x388,_0x1bdb37:0x440},_0x45453e={_0x4fa310:0x18c},_0x647a3d={_0x5e9fa2:0x12d},_0x1284b0=Math[_0x415f6f(0x4a9,_0x3406b._0x156e9b,_0x3406b._0x3a962f,_0x3406b._0x6f687)](0x1,Math[_0x3590f7(_0x3406b._0x39c147,_0x3406b._0x576a93,_0x3406b._0x35c13d,0x8f1)](0x14,_0x20e188['count']));function _0x3590f7(_0x3f89d2,_0x4fbb41,_0x509c43,_0x27b27b){return _0x5b2413(_0x3f89d2-_0x647a3d._0x5e9fa2,_0x4fbb41-0x80,_0x4fbb41-0x64,_0x509c43);}const _0x2db3e4={'query':_0x20e188['query'],'max_results':_0x1284b0,'search_depth':_0xf0228c[_0x3590f7(_0x3406b._0x34a037,0x628,0x530,0x58c)]??_0x415f6f(_0x3406b._0xc3766d,0x1c2,0x1b4,0x34f),'topic':_0xf0228c[_0x415f6f(_0x3406b._0xcf3712,_0x3406b._0x251b65,_0x3406b._0x20bccc,0x50c)]??_0x3590f7(_0x3406b._0x43a38e,0x6a6,_0x3406b._0xd17a10,_0x3406b._0x423f34)};function _0x415f6f(_0xb90f1b,_0x5f6463,_0x4bfaa0,_0x308845){return _0x5b2413(_0xb90f1b-0xcd,_0x5f6463-_0x45453e._0x4fa310,_0x5f6463- -0x3bc,_0x4bfaa0);}if(_0x20e188[_0x3590f7(_0x3406b._0x13558a,_0x3406b._0xb0af4,_0x3406b._0x5ecc77,0x5a0)]['length']>0x0)_0x2db3e4[_0x3590f7(0xa9f,0x9f6,_0x3406b._0x1a89ae,0x82f)]=_0x20e188[_0x415f6f(_0x3406b._0x5bb20e,_0x3406b._0x51840f,_0x3406b._0x1aaff2,0x2b8)];const _0x71e37=await fetchJson('https://api.tavily.com/search',_0x27c24b,{'method':'POST','headers':{'Authorization':_0x415f6f(0x5cd,0x554,0x479,0x60c)+_0xf0228c['tavilyApiKey'],'Content-Type':_0x415f6f(_0x3406b._0x43640c,0x21d,_0x3406b._0x41c704,0x3de)},'body':JSON['stringify'](_0x2db3e4)}),_0x407510=_0x71e37[_0x3590f7(0x5a6,0x6cc,_0x3406b._0x430579,0x72b)]??[],_0x39f026=_0x407510[_0x415f6f(_0x3406b._0x54f215,0x5b4,_0x3406b._0x470cb0,_0x3406b._0x523781)]((_0x135061,_0x6af19f)=>{const _0x4ddf8f={_0x5c6c77:0xb4,_0x2d85bc:0x1ef,_0x2032f8:0xd9},_0x42fe1b=_0x135061[_0x607e11(_0x1e0043._0x2db162,_0x1e0043._0x1f9314,0x3ca,_0x1e0043._0x3a5ff1)]||'';function _0x2489f1(_0x589bde,_0x501a11,_0x194905,_0x553d6b){return _0x3590f7(_0x589bde-0x115,_0x553d6b- -0x517,_0x501a11,_0x553d6b-0x13);}let _0x29c52b;function _0x607e11(_0x253a26,_0x501d62,_0x3c9af1,_0x1c2fb9){return _0x415f6f(_0x253a26-_0x4ddf8f._0x5c6c77,_0x501d62- -_0x4ddf8f._0x2d85bc,_0x1c2fb9,_0x1c2fb9-_0x4ddf8f._0x2032f8);}try{_0x29c52b=new URL(_0x42fe1b)['host'];}catch{_0x29c52b=null;}return{'title':_0x135061[_0x607e11(0x1cd,0x36,-0x1b2,-_0x1e0043._0x4d3d21)]||_0x2489f1(_0x1e0043._0x2b5c41,0x3ac,0x2af,0x2ab),'url':normalizeUrl(_0x42fe1b),'snippet':_0x135061[_0x607e11(0x279,0x2c2,0x17d,0x2a1)]??null,'displayUrl':_0x29c52b,'favicon':null,'publishedAt':null,'source':{'engine':_0x2489f1(0x2f9,_0x1e0043._0x33a42e,0x5b2,_0x1e0043._0x1bdb37),'rank':_0x6af19f+0x1}};});return{'items':_0x39f026[_0x415f6f(_0x3406b._0x589872,_0x3406b._0x4e2a7d,_0x3406b._0x5b6af6,0x2e2)](0x0,_0x1284b0),'engine':'tavily'};}async function searchGoogleCse(_0x36ad63,_0x212cca,_0x1d3b50){const _0x36f20f={_0x4ea3f5:0x63,_0x447d1a:0x1cc,_0x459304:0x2a6,_0x509073:0x1a0,_0x3f2267:0x24d,_0x4f4eb8:0x8a,_0x443458:0x40b,_0x58d110:0x173,_0x496acc:0x77,_0x26b035:0x19f,_0x5c25b7:0x71,_0x3f28b7:0x126,_0x3c8b39:0x1f5,_0x438a8e:0x132,_0x445dee:0x20e,_0x364ba7:0x221,_0x282468:0x14e,_0x230fac:0x91,_0x29395f:0x214,_0x3a9f82:0x1d9,_0xfe0357:0x48,_0x4420d9:0x234,_0x3b0818:0xc1,_0x5095df:0x41e,_0x2ccc33:0x26f,_0x5a0744:0xa7,_0x18046a:0x26d,_0x9d3822:0x14,_0x52c049:0x2cb,_0x1b3eef:0x4c,_0x61a194:0x46,_0x154deb:0x89,_0x5c3c89:0x3c1,_0x255fe9:0x245,_0x162b63:0x126,_0x3593d6:0x1dc,_0x121db6:0x239,_0x37d80f:0x457,_0x16a5bc:0x373,_0x274579:0x2a5,_0x336644:0x167,_0x58b699:0x8,_0x5ebd17:0x15a,_0xdf417:0xc1,_0x26ab65:0x326,_0x55bde7:0x1a9,_0x16aef6:0x2a,_0xa34296:0x1a9,_0x44a7cb:0x122,_0x4a8f4d:0x1b0,_0xc44606:0x369,_0x5589e7:0x21e,_0x56fe63:0x3c8,_0x4e08b8:0x2e1,_0x3c89c9:0x3b,_0x510e0a:0x9e,_0x34bc9d:0x175,_0x22e759:0xb9,_0x53da54:0x1f,_0x424c4b:0x1d,_0x40877d:0x64,_0x5a0f81:0x3a2,_0x414fa3:0x2d8,_0x599979:0x270,_0x4881e0:0xdb,_0xac9ca5:0x15e,_0x47a1a5:0xa6,_0x1b634a:0x211,_0x575069:0xbb,_0x34c3d8:0x133,_0x506c24:0x233,_0x4b4734:0x3a,_0x242d51:0x132,_0x44ef70:0x129,_0x4d4d31:0x228,_0x25579c:0x177,_0x24c365:0x2c4,_0x483e6b:0x11f,_0x4e19fb:0xa0,_0x5f1689:0x2fa,_0x511866:0x538,_0x4bf1d2:0x1c1,_0x511dcc:0x3e1,_0x229c39:0x2bb,_0x1f00c6:0x2ae,_0x379275:0x14b,_0x1636b7:0x490,_0x337d88:0x340,_0x344587:0x109,_0x247bfd:0x4c,_0xfe2299:0xaa,_0x10a93f:0x2,_0x132071:0x237,_0x40eb1f:0x13f,_0x446f4d:0x1b2,_0x285209:0x425,_0xec7dfe:0x4,_0x5cdbd0:0x91,_0x24dbd6:0x21d,_0x45eda0:0x18d,_0x388350:0x17f,_0x109fea:0xf7,_0x463cee:0x107,_0x519be2:0x1f1,_0x536e0d:0x12c,_0x3cdbcb:0x70,_0x54df75:0xdd,_0x16e274:0x3f8,_0x197cde:0x320,_0x43506b:0x333,_0x11de75:0x321,_0x53b200:0x15c,_0x157a0e:0x476,_0x46f0c7:0x242,_0x24abd9:0x1b4,_0x351774:0x1fe},_0x2d4359={_0x37cd41:0x28e},_0x2e8498={_0x11077e:0x229},_0x336f47=Math[_0x233655(_0x36f20f._0x4ea3f5,_0x36f20f._0x447d1a,0x2d,0x1d9)](0x1,Math['min'](0x32,_0x212cca[_0x127798(0x24a,0x448,0x442,_0x36f20f._0x459304)]));if(_0x212cca['offset']+_0x336f47>0x64)throw new ToolExecutionError(_0x127798(0x1fc,_0x36f20f._0x509073,_0x36f20f._0x3f2267,_0x36f20f._0x4f4eb8),{'offset':_0x212cca[_0x233655(0x1fb,0x44e,0x2c8,0x308)],'count':_0x336f47,'maxResults':0x64});function _0x127798(_0x2803aa,_0x586d6f,_0x313dae,_0x3023a0){return _0x28bc81(_0x2803aa-0x91,_0x586d6f-0x46,_0x2803aa- -_0x2e8498._0x11077e,_0x313dae);}const _0x211d60=cseDateRestrict(_0x212cca[_0x233655(_0x36f20f._0x443458,_0x36f20f._0x58d110,0x35c,0x2fa)]),_0x1b7394=addSiteFilters(_0x212cca[_0x233655(-0x70,0x226,_0x36f20f._0x496acc,_0x36f20f._0x26b035)],_0x212cca[_0x233655(-0x26c,0xc4,0x1bf,-0x5e)]);let _0x5bbdb1=0x0;function _0x233655(_0x27274b,_0x101d5f,_0x10f73a,_0x513baf){return _0x28bc81(_0x27274b-0x197,_0x101d5f-0xcb,_0x513baf- -_0x2d4359._0x37cd41,_0x10f73a);}let _0x40bcb7=_0x212cca['offset']+0x1;const _0x19966d=[];while(_0x5bbdb1<_0x336f47){const _0x4b6318=Math[_0x233655(0x2b3,-0x38,_0x36f20f._0x5c25b7,0xb2)](0xa,_0x336f47-_0x5bbdb1),_0x4a6aab=new URL('https://www.googleapis.com/customsearch/v1');_0x4a6aab[_0x127798(_0x36f20f._0x3f28b7,_0x36f20f._0x3c8b39,-0x78,_0x36f20f._0x438a8e)][_0x127798(_0x36f20f._0x445dee,0x148,_0x36f20f._0x364ba7,0x34e)](_0x233655(0x7d,-0x1c7,-_0x36f20f._0x282468,-_0x36f20f._0x230fac),_0x36ad63[_0x233655(-_0x36f20f._0x29395f,-0x1f,_0x36f20f._0x3a9f82,-_0x36f20f._0xfe0357)]),_0x4a6aab[_0x233655(_0x36f20f._0x4420d9,-0xe4,0x232,_0x36f20f._0x3b0818)]['set']('cx',_0x36ad63['googleCseCx']),_0x4a6aab['searchParams'][_0x127798(_0x36f20f._0x445dee,_0x36f20f._0x5095df,_0x36f20f._0x2ccc33,_0x36f20f._0x5a0744)]('q',_0x1b7394),_0x4a6aab[_0x127798(_0x36f20f._0x3f28b7,_0x36f20f._0x18046a,-_0x36f20f._0x9d3822,0x1d4)][_0x233655(_0x36f20f._0x52c049,_0x36f20f._0x1b3eef,_0x36f20f._0x61a194,0x1a9)](_0x233655(0x190,_0x36f20f._0x154deb,_0x36f20f._0x5c3c89,_0x36f20f._0x255fe9),String(_0x4b6318)),_0x4a6aab[_0x127798(_0x36f20f._0x162b63,0x1cb,-0x7,-0x90)]['set'](_0x233655(0x34c,0x249,0x28c,0x321),String(_0x40bcb7)),_0x4a6aab['searchParams'][_0x127798(0x20e,0x293,_0x36f20f._0x3593d6,0x302)](_0x233655(_0x36f20f._0x121db6,_0x36f20f._0x37d80f,0x291,0x305),_0x212cca[_0x127798(0x36a,_0x36f20f._0x16a5bc,0x2e6,_0x36f20f._0x274579)]?_0x127798(_0x36f20f._0x336644,0x43,0x2fe,0x164):_0x233655(0x277,0x1de,-_0x36f20f._0x58b699,0xb0));_0x212cca['lang']&&(_0x4a6aab[_0x233655(0x18,0x1b7,-_0x36f20f._0x5ebd17,_0x36f20f._0xdf417)][_0x233655(_0x36f20f._0x26ab65,0x302,0x49,_0x36f20f._0x55bde7)]('hl',_0x212cca[_0x127798(_0x36f20f._0x16aef6,_0x36f20f._0xa34296,-_0x36f20f._0x44a7cb,0x58)]),_0x4a6aab[_0x233655(0x13a,-0x2f,0xad,_0x36f20f._0x3b0818)][_0x127798(0x20e,_0x36f20f._0x4a8f4d,0x429,0x85)]('lr',_0x127798(_0x36f20f._0xc44606,_0x36f20f._0x5589e7,_0x36f20f._0x56fe63,_0x36f20f._0x4e08b8)+_0x212cca[_0x233655(-0x171,0x11a,-0x92,-_0x36f20f._0x3c89c9)]));if(_0x212cca[_0x233655(_0x36f20f._0x510e0a,-_0x36f20f._0x34bc9d,0x263,0x64)])_0x4a6aab[_0x127798(0x126,0x335,0x2f8,-_0x36f20f._0x22e759)]['set']('gl',_0x212cca[_0x233655(_0x36f20f._0x53da54,-_0x36f20f._0x424c4b,-0x17b,_0x36f20f._0x40877d)][_0x127798(_0x36f20f._0x5a0f81,0x19e,0x26b,_0x36f20f._0x414fa3)]());if(_0x212cca[_0x127798(0x10e,_0x36f20f._0x599979,-_0x36f20f._0x4881e0,_0x36f20f._0xac9ca5)]===_0x233655(-_0x36f20f._0x47a1a5,_0x36f20f._0x1b634a,-_0x36f20f._0x575069,0x94))_0x4a6aab['searchParams'][_0x127798(0x20e,_0x36f20f._0x34c3d8,0x255,0x271)]('searchType','image');if(_0x211d60)_0x4a6aab[_0x233655(0x28a,_0x36f20f._0x506c24,_0x36f20f._0x4b4734,0xc1)][_0x127798(0x20e,_0x36f20f._0x242d51,_0x36f20f._0x44ef70,0x16a)](_0x127798(_0x36f20f._0x4d4d31,0x47,0x74,0x35b),_0x211d60);const _0x353dbd=await fetchJson(_0x4a6aab[_0x127798(_0x36f20f._0x25579c,_0x36f20f._0x24c365,0xd5,0xc2)](),_0x1d3b50),_0x13e27a=_0x353dbd[_0x127798(0x11f,_0x36f20f._0x483e6b,-_0x36f20f._0x4e19fb,-0x96)]??[];if(_0x13e27a[_0x127798(0x320,_0x36f20f._0x5f1689,0x47b,_0x36f20f._0x511866)]===0x0)break;const _0x444997=_0x5bbdb1;for(let _0x339d71=0x0;_0x339d71<_0x13e27a[_0x233655(_0x36f20f._0x4bf1d2,_0x36f20f._0x511dcc,_0x36f20f._0x364ba7,_0x36f20f._0x229c39)];_0x339d71++){const _0x1fb386=_0x13e27a[_0x339d71];if(!_0x1fb386)continue;const _0x1cb4dc=_0x1fb386[_0x127798(0x22e,0x139,0x310,_0x36f20f._0x52c049)]||_0x1fb386[_0x127798(_0x36f20f._0x1f00c6,_0x36f20f._0x379275,_0x36f20f._0x1636b7,_0x36f20f._0x337d88)]?.['contextLink']||'',_0x270b54=_0x1fb386[_0x233655(-_0x36f20f._0x58d110,-_0x36f20f._0x4d4d31,_0x36f20f._0x344587,-_0x36f20f._0x247bfd)]||_0x1fb386['image']?.[_0x233655(_0x36f20f._0xfe2299,-0x24f,_0x36f20f._0x10a93f,-0x4c)]||_0x233655(_0x36f20f._0x132071,-0xb5,0x308,0x131),_0x5d7f2a=_0x1fb386['snippet']||_0x1fb386[_0x127798(_0x36f20f._0x40eb1f,-0x8d,0x0,0x286)]?.['replace'](/<[^>]+>/g,''),_0x163aec=_0x1fb386[_0x233655(_0x36f20f._0x446f4d,_0x36f20f._0x285209,0x114,0x277)]?.['metatags']?.[0x0]??{};let _0x294863;try{_0x294863=new URL(_0x1cb4dc)[_0x127798(_0x36f20f._0xec7dfe,_0x36f20f._0x5cdbd0,-0x8,-_0x36f20f._0x24dbd6)];}catch{_0x294863=null;}_0x19966d[_0x127798(_0x36f20f._0x45eda0,_0x36f20f._0x388350,_0x36f20f._0x109fea,0x335)]({'title':_0x270b54,'url':normalizeUrl(_0x1cb4dc),'snippet':_0x5d7f2a??null,'displayUrl':_0x294863,'favicon':null,'publishedAt':_0x163aec[_0x127798(_0x36f20f._0x4bf1d2,_0x36f20f._0x40877d,0x36c,_0x36f20f._0x463cee)]||_0x163aec[_0x233655(_0x36f20f._0x519be2,_0x36f20f._0x536e0d,-_0x36f20f._0x3cdbcb,_0x36f20f._0x54df75)]||null,'source':{'engine':_0x127798(0x3c4,_0x36f20f._0x16e274,0x545,0x521),'rank':_0x444997+_0x339d71+0x1}});}_0x5bbdb1+=_0x13e27a[_0x127798(_0x36f20f._0x197cde,0x273,_0x36f20f._0x43506b,0x4ad)],_0x40bcb7+=_0x13e27a[_0x127798(0x320,_0x36f20f._0x11de75,0x26b,_0x36f20f._0x53b200)];if(_0x13e27a[_0x127798(0x320,_0x36f20f._0x157a0e,_0x36f20f._0x46f0c7,0x289)]<_0x4b6318)break;}return _0x19966d[_0x233655(_0x36f20f._0x24abd9,0x2d7,_0x36f20f._0x351774,0x247)](0x0,_0x336f47);}function isGoogleCseEngine(_0x3af45f){const _0x46a81c={_0x266034:0x120,_0x1098f4:0x1af,_0x5eddf1:0x1a9},_0x59d744={_0x37459a:0xac,_0x1a1fa4:0x2d,_0x41e235:0x43c};function _0x466878(_0x3244df,_0x52f6c5,_0x5bde82,_0x35e39b){return _0x5b2413(_0x3244df-_0x59d744._0x37459a,_0x52f6c5-_0x59d744._0x1a1fa4,_0x35e39b- -_0x59d744._0x41e235,_0x52f6c5);}return _0x466878(_0x46a81c._0x266034,0x45,_0x46a81c._0x1098f4,_0x46a81c._0x5eddf1)in _0x3af45f;}function isOllamaEngine(_0x181d4c){const _0x5ea647={_0x3b727a:0x58},_0x2d40c1={_0x2d1edf:0x1c9};function _0x782776(_0x20f449,_0x16b37c,_0x22bbf2,_0x4f9c67){return _0x28bc81(_0x20f449-_0x2d40c1._0x2d1edf,_0x16b37c-0x12,_0x22bbf2- -0x27f,_0x20f449);}return _0x782776(0x16e,_0x5ea647._0x3b727a,0x244,0xe8)in _0x181d4c;}function isTavilyEngine(_0x5b8d9e){const _0x4f7e48={_0x2e61de:0x541};function _0x45f125(_0xf70a40,_0x34834e,_0x3b0cf,_0x2bd35e){return _0x5b2413(_0xf70a40-0x100,_0x34834e-0x9c,_0x2bd35e- -0x3e4,_0x34834e);}return _0x45f125(0x552,0x721,_0x4f7e48._0x2e61de,0x518)in _0x5b8d9e;}function createWebSearchTool(_0x59d78d){const _0x22aced={_0x24a7f5:0x9c5,_0x142f03:0x81d,_0x1f59a8:0x413,_0x974103:0x485,_0x1a6054:0x4e7,_0x3c5515:0x8b0,_0x4e463a:0x6ef,_0x2a2680:0x26b,_0x32d731:0x505,_0x3dd6b6:0x6ce,_0x312502:0x46e,_0x498eba:0x32f,_0x2fb1e7:0x513,_0x4a5aae:0x602,_0x295697:0x4ba,_0x3ebdc2:0x44,_0x471f5c:0x191,_0x165ae7:0x56d,_0x4b3592:0x699,_0x27764d:0x5a6,_0x46bd34:0x23d,_0x33ead1:0x35f,_0x28a51f:0x2ff,_0x1a8c48:0x42e,_0x406871:0x1d9,_0x15d560:0x363,_0x107721:0x5ff,_0x508e91:0x62f,_0x518d5e:0x50f,_0x57d54a:0x7a3,_0x4b0bff:0x79d,_0x11eca0:0x89b,_0x18f68f:0x2d8,_0x5c2829:0x79d,_0x51da21:0x7b7},_0x48de8a={_0x37a341:0x675,_0x49fe07:0x828,_0x338112:0x687,_0x56ebe1:0x712,_0x509459:0x74f,_0x174c1b:0x807,_0xef70d5:0x69e,_0x52a8f9:0x328,_0x137cef:0x53e,_0x19b833:0x597,_0x221092:0x745,_0x1c1559:0x406,_0x179547:0x5fd,_0x1e8976:0x789,_0x2b29be:0x783,_0x9f0d0e:0x630,_0x3fde17:0x150,_0x2e5a03:0x3cb,_0x44e21e:0x6ac,_0x5be2f7:0x620,_0x527bf7:0x829,_0x378212:0x7df,_0x127966:0x53b,_0x529cf0:0x2df,_0x307ce7:0x6f5,_0x5db688:0x781,_0x124ffe:0x768,_0x6584fb:0x650,_0x2f4127:0x7ca,_0x21576e:0x9ba,_0x2201bd:0x79a,_0x3c75f0:0x6d8,_0x1dde2f:0x511,_0x75deb1:0x392,_0x44de55:0x4cf,_0x4ce6b1:0x2ef,_0x153e1b:0x3be,_0x1c89c5:0x747,_0x22699c:0x916,_0xb8335e:0x343,_0x453851:0x4bb,_0x1831ca:0x58e,_0x2e5e7b:0x49b,_0x3a817e:0x92c,_0x449999:0x79a,_0x4e73d4:0x7be,_0x20ddcf:0xad6,_0x10f0d2:0x99e,_0x65bdb0:0x5fd,_0x28f6a1:0xa81,_0x1a8de6:0x975,_0x493c0f:0xb5e,_0x583bea:0x8a6,_0x5572c1:0x955,_0x59fe09:0x937,_0x29823f:0x955,_0x45a047:0x722,_0xbd4846:0x1fb,_0x548176:0x82e,_0x68683b:0x6bf,_0x497054:0x29a,_0x28f204:0x870,_0xa321ae:0x6bf,_0x14d01d:0x79b,_0x42562e:0x8fb},_0x49df83={_0x3dbe6e:0xbd},_0x47b6e9={_0x1ee9b5:0xdd};function _0x2b80c3(_0x2cbe07,_0x772a81,_0x3f70d0,_0xaaf166){return _0x5b2413(_0x2cbe07-_0x47b6e9._0x1ee9b5,_0x772a81-0x193,_0x3f70d0- -0x126,_0x2cbe07);}function _0x290c2d(_0x503de4,_0x8dd66f,_0x39b0fe,_0x465844){return _0x28bc81(_0x503de4-0xba,_0x8dd66f-0x143,_0x503de4- -_0x49df83._0x3dbe6e,_0x8dd66f);}if(!_0x59d78d['engines']||_0x59d78d['engines'][_0x2b80c3(_0x22aced._0x24a7f5,_0x22aced._0x142f03,0x7c2,0x84c)]===0x0)throw new Error(_0x290c2d(0x430,_0x22aced._0x1f59a8,0x3e0,_0x22aced._0x974103));const _0x3797e2=_0x59d78d[_0x2b80c3(_0x22aced._0x1a6054,_0x22aced._0x3c5515,_0x22aced._0x4e463a,0x4e6)]??_0x290c2d(0x155,_0x22aced._0x2a2680,-0x75,0x1f9),_0x328cf4=_0x59d78d[_0x290c2d(_0x22aced._0x32d731,_0x22aced._0x3dd6b6,_0x22aced._0x312502,0x639)];return defineTool({'name':_0x3797e2,'permissionClass':'read','description':_0x290c2d(0x48b,_0x22aced._0x498eba,_0x22aced._0x2fb1e7,_0x22aced._0x4a5aae),'inputSchema':{'type':_0x2b80c3(_0x22aced._0x295697,0x502,0x4de,0x3fd),'properties':{'description':{'type':'string'},'query':{'type':_0x290c2d(0x1d9,-_0x22aced._0x3ebdc2,0x3a1,_0x22aced._0x471f5c)},'count':{'type':_0x290c2d(0x363,0x458,_0x22aced._0x165ae7,0x2d2)},'offset':{'type':_0x2b80c3(0x8b9,0x7ff,_0x22aced._0x4b3592,_0x22aced._0x27764d)},'domains':{'type':_0x290c2d(_0x22aced._0x46bd34,_0x22aced._0x33ead1,_0x22aced._0x28a51f,_0x22aced._0x1a8c48),'items':{'type':_0x290c2d(_0x22aced._0x406871,0x148,0x30d,0xdc)}},'recencyDays':{'type':_0x290c2d(_0x22aced._0x15d560,0x327,0x578,0x238)},'lang':{'type':_0x2b80c3(0x66d,0x4b7,0x50f,_0x22aced._0x107721)},'region':{'type':_0x2b80c3(0x341,_0x22aced._0x508e91,_0x22aced._0x518d5e,0x359)},'safe':{'type':_0x2b80c3(_0x22aced._0x57d54a,0x68e,_0x22aced._0x4b0bff,_0x22aced._0x11eca0)},'type':{'type':_0x290c2d(0x1d9,0x373,_0x22aced._0x18f68f,_0x22aced._0x406871)},'hydrateMeta':{'type':_0x2b80c3(0x6bc,0x8f0,_0x22aced._0x5c2829,_0x22aced._0x51da21)}},'required':['query']},async *'execute'(_0x34b218,_0x254773){const _0x22e35c={_0x50e8e:0x590,_0x448508:0x4e8,_0x561faf:0x42e,_0x500169:0x212,_0x1516e5:0x7,_0x113e2f:0xbd,_0x37b396:0x10b},_0xa18fae={_0xc500ec:0x1b7,_0x2975c5:0x1d7},_0x404452={_0x58a815:0x106},_0x526b0e=_0x34b218['query']['trim']();if(!_0x526b0e)throw new ToolExecutionError('Missing\x20required\x20parameter:\x20query');const _0x3bee53={'query':_0x526b0e,'count':Math['max'](0x1,Math[_0x1e4cf5(_0x48de8a._0x37a341,0x64e,_0x48de8a._0x49fe07,0x70d)](0x32,Math[_0x1e4cf5(_0x48de8a._0x338112,_0x48de8a._0x56ebe1,_0x48de8a._0x509459,0x701)](_0x34b218['count']??0xa))),'offset':Math[_0x1e4cf5(0x96e,_0x48de8a._0x174c1b,_0x48de8a._0xef70d5,0x834)](0x0,Math[_0x47956c(0x38f,0x2dc,0x2aa,_0x48de8a._0x52a8f9)](_0x34b218[_0x47956c(0x5d7,_0x48de8a._0x137cef,_0x48de8a._0x19b833,_0x48de8a._0x221092)]??0x0)),'domains':_0x34b218[_0x1e4cf5(0x5e3,_0x48de8a._0x1c1559,0x5ce,_0x48de8a._0x179547)]??[],'recencyDays':Math[_0x1e4cf5(_0x48de8a._0x1e8976,_0x48de8a._0x2b29be,_0x48de8a._0x9f0d0e,0x834)](0x0,Math[_0x47956c(0x250,0x2dc,0x1ec,_0x48de8a._0x3fde17)](_0x34b218[_0x47956c(0x311,0x530,_0x48de8a._0x2e5a03,0x4ee)]??0x0)),'lang':_0x34b218[_0x1e4cf5(0x658,0x841,_0x48de8a._0x44e21e,_0x48de8a._0x5be2f7)]??'en','region':_0x34b218[_0x1e4cf5(_0x48de8a._0x527bf7,_0x48de8a._0x378212,0x80e,0x6bf)]??'','safe':_0x34b218[_0x47956c(0x6a5,_0x48de8a._0x127966,0x69f,0x5f4)]??!![],'type':normalizeType(_0x34b218[_0x47956c(0x136,_0x48de8a._0x529cf0,0x47e,0x304)]),'hydrateMeta':_0x34b218[_0x1e4cf5(0x809,0x8b1,0x5eb,_0x48de8a._0x307ce7)]??![]};let _0x2ed8db=[],_0x43e339='unknown';for(const _0x21787c of _0x59d78d[_0x1e4cf5(0x826,_0x48de8a._0x5db688,0x6a1,_0x48de8a._0x124ffe)]){try{if(isGoogleCseEngine(_0x21787c))_0x2ed8db=await searchGoogleCse(_0x21787c,_0x3bee53,_0x254773[_0x1e4cf5(0x876,_0x48de8a._0x6584fb,0x95e,0x79a)]),_0x43e339=_0x1e4cf5(0xbd8,_0x48de8a._0x2f4127,0xb3c,_0x48de8a._0x21576e);else{if(isOllamaEngine(_0x21787c)){const _0x46fc8a=await searchOllama(_0x21787c,_0x3bee53,_0x254773[_0x1e4cf5(0x824,_0x48de8a._0x2201bd,0x820,_0x48de8a._0x2201bd)]);_0x2ed8db=_0x46fc8a[_0x1e4cf5(_0x48de8a._0x3c75f0,0x8d6,_0x48de8a._0x1dde2f,0x715)],_0x43e339=_0x46fc8a[_0x47956c(0x359,0x32f,0x50c,_0x48de8a._0x75deb1)];}else{if(isTavilyEngine(_0x21787c)){const _0x5eb2de=await searchTavily(_0x21787c,_0x3bee53,_0x254773[_0x47956c(_0x48de8a._0x44de55,0x375,_0x48de8a._0x4ce6b1,_0x48de8a._0x153e1b)]);_0x2ed8db=_0x5eb2de['items'],_0x43e339=_0x5eb2de['engine'];}}}if(_0x2ed8db[_0x1e4cf5(0xb28,0x762,_0x48de8a._0x1c89c5,_0x48de8a._0x22699c)]>0x0)break;}catch(_0xa8c5b6){if(_0x21787c===_0x59d78d[_0x47956c(0x3ec,_0x48de8a._0xb8335e,_0x48de8a._0x453851,0x26d)][_0x59d78d[_0x1e4cf5(0x5e8,0x947,0x86b,_0x48de8a._0x124ffe)]['length']-0x1])throw _0xa8c5b6;}}_0x3bee53['hydrateMeta']&&_0x2ed8db[_0x47956c(0x3b7,0x4f1,_0x48de8a._0x1831ca,_0x48de8a._0x2e5e7b)]>0x0&&(_0x2ed8db=await hydrateResults(_0x2ed8db,_0x3bee53['lang'],_0x254773[_0x1e4cf5(0x8ff,0x73c,_0x48de8a._0x3a817e,_0x48de8a._0x449999)],_0x328cf4));function _0x1e4cf5(_0xfeb7e,_0x1aea7b,_0x4f332b,_0x153ac5){return _0x290c2d(_0x153ac5-0x48a,_0xfeb7e,_0x4f332b-0x1f2,_0x153ac5-_0x404452._0x58a815);}function _0x47956c(_0x41771d,_0x212324,_0x246fdd,_0x4cd7f3){return _0x2b80c3(_0x4cd7f3,_0x212324-_0xa18fae._0xc500ec,_0x212324- -0x2d1,_0x4cd7f3-_0xa18fae._0x2975c5);}const _0x486a2d=new Set();_0x2ed8db=_0x2ed8db['filter'](_0x3e0fbd=>{const _0x1361e2={_0x16f7d8:0x52d},_0x57ec1e={_0x5106e2:0xa5,_0x25fd7c:0x30,_0x392c2d:0xdc},_0x5de5ba=_0x3e0fbd[_0x42ea1c(0x24e,0x57e,0x184,0x38f)][_0x59590b(0x851,0x667,0x82f,_0x22e35c._0x50e8e)]();function _0x59590b(_0x12db80,_0x398e64,_0x3a1f27,_0x1e721d){return _0x1e4cf5(_0x1e721d,_0x398e64-_0x57ec1e._0x5106e2,_0x3a1f27-_0x57ec1e._0x25fd7c,_0x398e64- -_0x57ec1e._0x392c2d);}function _0x42ea1c(_0x467977,_0x1d5a7b,_0x5ce99c,_0x3c3c74){return _0x1e4cf5(_0x1d5a7b,_0x1d5a7b-0x54,_0x5ce99c-0x198,_0x3c3c74- -_0x1361e2._0x16f7d8);}if(!_0x5de5ba||_0x486a2d[_0x59590b(_0x22e35c._0x448508,0x5fc,0x78e,_0x22e35c._0x561faf)](_0x5de5ba))return![];return _0x486a2d[_0x42ea1c(_0x22e35c._0x500169,_0x22e35c._0x1516e5,_0x22e35c._0x113e2f,_0x22e35c._0x37b396)](_0x5de5ba),!![];}),_0x2ed8db=_0x2ed8db[_0x1e4cf5(0xa58,_0x48de8a._0x4e73d4,_0x48de8a._0x20ddcf,_0x48de8a._0x10f0d2)]((_0x59a7aa,_0x178060)=>({..._0x59a7aa,'source':{..._0x59a7aa[_0x1e4cf5(0x8fa,0x737,0xa23,0x818)],'rank':_0x178060+0x1}}));const _0xa53491={};if(_0x3bee53[_0x1e4cf5(0x4c7,0x480,0x47e,_0x48de8a._0x65bdb0)][_0x1e4cf5(_0x48de8a._0x28f6a1,0x8da,_0x48de8a._0x1a8de6,0x916)]>0x0)_0xa53491[_0x1e4cf5(0x59e,0x579,0x587,_0x48de8a._0x65bdb0)]=_0x3bee53[_0x1e4cf5(_0x48de8a._0x6584fb,0x7e3,0x51a,0x5fd)];if(_0x3bee53['recencyDays']>0x0)_0xa53491[_0x1e4cf5(0xa88,_0x48de8a._0x493c0f,_0x48de8a._0x583bea,_0x48de8a._0x5572c1)]=_0x3bee53[_0x1e4cf5(_0x48de8a._0x59fe09,0x982,0x7fb,_0x48de8a._0x29823f)];if(_0x3bee53['lang']!=='en')_0xa53491[_0x1e4cf5(0x437,_0x48de8a._0x45a047,0x590,0x620)]=_0x3bee53[_0x47956c(0x1ba,_0x48de8a._0xbd4846,0x2b,-0x11)];if(_0x3bee53[_0x1e4cf5(_0x48de8a._0x548176,0x6ef,0x4bb,_0x48de8a._0x68683b)])_0xa53491[_0x47956c(0x138,_0x48de8a._0x497054,0x3ca,0xd7)]=_0x3bee53[_0x1e4cf5(0x6cc,0x5d6,_0x48de8a._0x28f204,_0x48de8a._0xa321ae)];return yield createToolOutput(formatResults(_0x2ed8db),{'engine':_0x43e339,'count':_0x2ed8db['length'],'items':_0x2ed8db,'query':_0x3bee53['query'],...Object['keys'](_0xa53491)[_0x1e4cf5(0x877,0x712,0x70e,_0x48de8a._0x22699c)]>0x0?{'appliedFilters':_0xa53491}:{},'offset':_0x3bee53['offset'],'totalRequested':_0x3bee53[_0x1e4cf5(_0x48de8a._0x14d01d,0x638,0x9ab,0x840)],'hydrated':_0x3bee53[_0x1e4cf5(0x7e6,0x8b2,_0x48de8a._0x42562e,0x6f5)]}),void 0x0;}});}export{BackgroundProcessCleanupError,BackgroundProcessRegistry,DelegatedResolutionError,FILE_OBSERVATION_LIMITS,FileMutationCoordinator,FileObservationStore,GREP_DEFAULT_LIMIT,GREP_MAX_PATTERN_LENGTH,GREP_MAX_SNIPPET_LENGTH,MAX_ANCHORED_CONTENT_BYTES,MAX_ANCHORED_OPERATIONS,MAX_ANCHORED_PREVIEW_BYTES,MODEL_TIERS,ToolExecutionError,ToolRegistry,assertWorkspaceFile,boundedGrepSnippet,buildMcpHttpHeaders,connectMcpServer,createAnchoredFileError,createAskUserTool,createAssignTaskTool,createBashOutputTool,createBashTool,createDelegateToAgentTool,createDelegationTools,createFileEditTool,createFileNewTool,createFileReadTool,createGlobTool,createGrepTool,createInternalToolRuntime,createInvokeCommandTool,createKillShellTool,createLoadSkillTool,createLsTool,createLspService,createLspTool,createMcpConnectionGeneration,createMcpOAuthProvider,createMcpTimeoutSource,createMcpTool,createMcpToolName,createMockToolRuntime,createNormalizedFileSnapshot,createShellExecTool,createTodoWriteTool,createToolOutput,createUpdateTopicTool,createViewFileTool,createWebFetchTool,createWebSearchTool,defineTool,deriveFinalToolOutput,executeAnchoredFileEdit,extractOwnedMcpSafeError,filepath,files,formatAnchoredFileRead,hashlineFileEditInputSchema,isProbablyBinary,isTerminalStatus,isWithinDisplayColumns,normalizeToolOutputValue,prepareAnchoredFileEditApproval,prepareCanonicalFileEdit,projectMcpTools,redactMcpDiagnostic,replaceFirstExact,resolveAllowedPath,resolveBashExecutionTarget,resolveCanonicalAllowedFile,resolveDelegatedAgentOptions,resolveMcpTimeoutMs,resolveToolPermissionClass,resolveWorkspacePath,search,searchRegex,serializeNormalizedFile,sha256Bytes,structuredFileEditInputSchema,toMcpSafeError,toNuvinToolSchema,truncateToolOutput,validateGrepPattern,validateToolInput};