@nuvin/agent-core 0.3.0-rc.5 → 0.3.0-rc.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/VERSION +2 -2
- package/dist/agent/index.js +1 -1
- package/dist/chunk-D5IVWJHX.js +1 -1
- package/dist/chunk-EQGBU73Q.js +1 -1
- package/dist/chunk-FFIZ6TKW.js +1 -1
- package/dist/chunk-GAZGO6N7.js +1 -1
- package/dist/chunk-IUZALP6K.js +1 -1
- package/dist/chunk-LIE76IJA.js +1 -1
- package/dist/chunk-NJFOEZ6V.js +1 -1
- package/dist/chunk-X7VAACWY.js +1 -1
- package/dist/chunk-YNOIG4FD.js +1 -1
- package/dist/formats/index.js +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/isolate/index.js +1 -1
- package/dist/models/index.js +1 -1
- package/dist/models/model-pricing-products.d.ts +1 -1
- package/dist/shared/index.js +1 -1
- package/dist/shared/types.d.ts +9 -0
- package/dist/tools/index.js +1 -1
- package/package.json +2 -2
package/dist/tools/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x492f00,_0x4960f4){const _0x6cb919={_0x5f2723:0x3ea,_0x594ab7:0x48a,_0x27afb1:0x36c,_0x52a437:0x7aa,_0x270867:0x711,_0x4a21eb:0x76f,_0x4484f8:0x2f8,_0x2e62ae:0x76c,_0x244a8b:0x5bd,_0x5751fc:0x24a,_0xaff7ad:0x5a},_0x305e83={_0x277bb3:0x2cc};function _0x41b480(_0x38315f,_0x5be6be,_0x474b81,_0x3fbbe6){return _0x7d60(_0x5be6be- -0x30,_0x3fbbe6);}function _0x459606(_0x1d9af7,_0x90d052,_0x2e899a,_0x5ae100){return _0x7d60(_0x1d9af7-_0x305e83._0x277bb3,_0x2e899a);}const _0x534839=_0x492f00();while(!![]){try{const _0x2a3b6d=parseInt(_0x41b480(_0x6cb919._0x5f2723,0x57f,0x69c,_0x6cb919._0x594ab7))/0x1+parseInt(_0x459606(0x4f2,0x4d0,0x58f,0x686))/0x2*(parseInt(_0x41b480(_0x6cb919._0x27afb1,0x349,0x560,0x3e9))/0x3)+-parseInt(_0x459606(_0x6cb919._0x52a437,_0x6cb919._0x270867,0x5f7,_0x6cb919._0x4a21eb))/0x4+parseInt(_0x41b480(0x257,_0x6cb919._0x4484f8,0x268,0x278))/0x5+-parseInt(_0x41b480(_0x6cb919._0x2e62ae,_0x6cb919._0x244a8b,0x559,0x5a0))/0x6+-parseInt(_0x41b480(0x126,_0x6cb919._0x5751fc,0x438,_0x6cb919._0xaff7ad))/0x7+parseInt(_0x459606(0x6c6,0x53f,0x826,0x4c8))/0x8;if(_0x2a3b6d===_0x4960f4)break;else _0x534839['push'](_0x534839['shift']());}catch(_0x6913c0){_0x534839['push'](_0x534839['shift']());}}}(_0x111c,0x694c6));import{Agent,ToolExecutionError,ToolRegistry,closeBoundNestedToolExecution,commitBoundToolExecutionTerminalState,createInternalToolRuntime,createToolOutput,defineTool,deriveFinalToolOutput,drainBoundNestedToolPersistence,normalizeToolOutputValue,resolveToolPermissionClass,validateToolInput}from'../chunk-NJFOEZ6V.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{IsolateLimitError,IsolationUnavailableError,classifyIsolateError,loadIsolatedVm}from'../chunk-EQGBU73Q.js';import{fileURLToPath}from'url';import{readFile}from'fs/promises';import{pathToFileURL}from'url';import{createMessageConnection,StreamMessageReader,StreamMessageWriter}from'vscode-jsonrpc/node.js';import _0x5b222c from'path';var EXTENSION_TO_LANGUAGE={'.ts':_0x4eedea(0x27a,0x41b,0x227,0x2b0),'.tsx':_0x4eedea(0x114,0x371,0x459,0x430),'.js':_0x4eedea(0x2b0,0x17e,0x4d,0x304),'.jsx':'javascriptreact','.mjs':_0xa5377c(0x170,0x20a,0x150,0x374),'.cjs':'javascript','.mts':'typescript','.cts':_0xa5377c(0x55a,0x7a9,0x434,0x611),'.json':_0x4eedea(0x13e,0x6,-0x1da,-0x1c2),'.jsonc':_0xa5377c(0x37b,0x5bb,0x662,0x4fe)};function getLanguageId(_0x374323){const _0x13d08e={_0x241608:0x1,_0x189ac6:0x26c,_0xcbabbd:0x12c};function _0x5c608c(_0x51db40,_0x2af034,_0x2b5ea9,_0x55f8da){return _0xa5377c(_0x2af034,_0x2af034-0xb2,_0x2b5ea9-0x10,_0x55f8da- -0x143);}function _0x378460(_0x184d55,_0x3a5b20,_0x4c160f,_0x1ff8b0){return _0xa5377c(_0x184d55,_0x3a5b20-0x31,_0x4c160f-0x91,_0x3a5b20-0x3a7);}return EXTENSION_TO_LANGUAGE[_0x5b222c[_0x5c608c(-_0x13d08e._0x241608,0x15a,_0x13d08e._0x189ac6,0x13e)](_0x374323)[_0x5c608c(0x56c,_0x13d08e._0xcbabbd,0x2fa,0x387)]()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8,DEFAULT_LSP_REQUEST_TIMEOUT_MS=0x7530;function uriForPath(_0x5c1bf2){const _0x7ccd69={_0x203990:0x9c7},_0x3775b4={_0x2b845a:0x134};function _0x35f1b7(_0x43daa2,_0xf61794,_0x18345a,_0x848539){return _0xa5377c(_0x848539,_0xf61794-_0x3775b4._0x2b845a,_0x18345a-0x38,_0x43daa2-0x379);}return pathToFileURL(_0x5c1bf2)[_0x35f1b7(_0x7ccd69._0x203990,0xadf,0x8bb,0xa78)]();}function textDocumentPosition(_0x313024){const _0x1dd8ab={_0xd7f7d1:0x4aa,_0x4959dc:0x6b1,_0x217187:0x888,_0x46d885:0x771,_0x118654:0x77c,_0x3c6565:0x6e1,_0x27a428:0x8aa,_0xad3ea3:0xa22},_0x2cfcaa={_0x5a4190:0x16f,_0x847401:0x295},_0x52ba02={_0x27549:0x19,_0x466bb8:0x1a0};function _0x16a6b3(_0x177928,_0x5a04ad,_0x582578,_0x78038){return _0x4eedea(_0x177928-_0x52ba02._0x27549,_0x78038-0x58f,_0x5a04ad,_0x78038-_0x52ba02._0x466bb8);}function _0x4dc71b(_0x112833,_0x34d529,_0x47abc0,_0x16360f){return _0xa5377c(_0x112833,_0x34d529-0x1a4,_0x47abc0-_0x2cfcaa._0x5a4190,_0x47abc0-_0x2cfcaa._0x847401);}return{'textDocument':{'uri':uriForPath(_0x313024[_0x4dc71b(_0x1dd8ab._0xd7f7d1,0x79d,0x5bc,_0x1dd8ab._0x4959dc)])},'position':{'line':_0x313024[_0x16a6b3(_0x1dd8ab._0x217187,_0x1dd8ab._0x46d885,0x574,_0x1dd8ab._0x118654)],'character':_0x313024[_0x4dc71b(0x677,_0x1dd8ab._0x3c6565,_0x1dd8ab._0x27a428,_0x1dd8ab._0xad3ea3)]}};}function normalizeLocations(_0x1c4fc1){if(!_0x1c4fc1)return[];return Array['isArray'](_0x1c4fc1)?_0x1c4fc1:[_0x1c4fc1];}function _0x111c(){const _0x168ef2=['Dg9mB3DLCKnHC2u','vw5HyMXLihrVihjLywqG','qwjVCNrfCNjVCG','ugfJA2fNzxm','D3jPDgvFzMfPBgvKoIbgywLSzwqGDg8GD3jPDguG','igj5DgvZ','CMLWz3jLCcbYzxr1CM5LzcbHig1HBgzVCM1Lzcbku09oig1HDgnOihjLy29Yza','yxnZAwDU','zM9Yy2u','Cg9ZDf93CML0zv9KCMLMDdOG','zgnZ','BgLTAxrZ','DgfZAW','C3jJl2fNzw50l2fNzw50lNrZ','ywrK','qMfJA2DYB3vUzcbLEgvJDxrPB24GAxmGBM90igf2ywLSywjSzsbPBIb0AgLZignVBNrLEhqU','Bwf4q2HHCNmGBxvZDcbIzsbIzxr3zwvUideGyw5KideWndG1nZy','BwnWlwrPC2nVDMvYEs1MywLSzwq','uhjVz3jHBuzPBgvZ','rMfPBgvKihrVihrLCM1PBMf0zsa','C2fMzq','C2vHCMnOvhLWzq','ignOyxjHy3rLCNm','ChjVy2vZCW','sgfZAgXPBMuGCgf0y2GGDgv4DcbTDxn0ig5VDcbJB250ywLUignHCNjPywDLihjLDhvYBNmU','CMvSzwfZzufNzw50uMvZB3vYy2vZ','igLZig5VigXVBMDLCIbHDMfPBgfIBguGka','z2XVyG','Ahr0Chm6lY9VBgXHBweUy29Tl2fWAs93zwjFC2vHCMnO','Bgv4AwnHBfbHDgG','ChjVDg9JB2W','CMvNzxG','ywjVCNrLza','ChjVCgvYDgLLCW','C3jJl2fNzw50l2fNzw50lNrLC3qUDhm','ChjVz3jHBsbYzxn1BhqGBxvZDcbIzsbHihn0CMLJDcbku09oihzHBhvL','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','ls1ZDgrPBW','Dgv4DerVy3vTzw50l3bYzxbHCMvdywXSsgLLCMfYy2H5','C2vSzwn0Aw9UuMfUz2u','zgvSzwDHDgvKlxj1BI0','vgHLigzPBguGywXYzwfKEsbTyxrJAgvZihrOzsbPBNrLBMrLzcbYzxn1Bhq7ig5VihDYAxrLihDHCYbTywrLlIbszs1YzwfKihDPDgGGrMLSzvjLywqGyMvMB3jLihjLDhj5Aw5NlG','C2vSzwn0B3i','mtKYlJaUmc4W','ywX3yxLZlwnVBMzPCM0','ChjVz3jHBsb0B29SigjYAwrNzsbYzwnLAxzLzcbHBIbPBNzHBgLKihjLCxvLC3q','vg9KB3mGAgf2zsbIzwvUig1VzgLMAwvKihn1y2nLC3nMDwXSEs4Gq29UDgLUDwuGD2L0AcbJDxjYzw50ihrHC2TZigLMigfWCgXPy2fIBguUcGO8C3LZDgvTlxjLBwLUzgvYpGPzB3vYihrVzg8GBgLZDcbOyxmGy2HHBMDLzc4Gre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlIbmyxrLC3qGy29UDgvUDhm6cG','CMvXDwvZDgvKtw9KzwXuAwvY','igLZigfTyMLNDw91CYbMB3iG','Bg93','lMPZB25J','C3vIyxjYyxK','ANnVBMm','xqPgAwXLihDYAxr0zw4GyxqG','oIaIDg9WAwmIig11C3qGyMuGBwf4idmWignOyxjHy3rLCNmSigDVDca','qwDLBNqGCNvUia','zgfYAW','C25PChbLDa','ig11C3qGyMuGysbku09oihzHBhvL','CNvUrxHJBhvZAxzL','C2HPzNq','CMvMAw5L','CMvZzxroB0nOyw5Nzq','yMLVBwuUANnVBG','oIbPBNzHBgLKihn0yxr1CW','ywrKsxnZDwu','yMLYDgH0Aw1L','ru5pru5u','qxqGBgvHC3qGB25LigfUy2HVCMvKig9WzxjHDgLVBIbPCYbYzxf1AxjLzc4','Dgv4Dc9ODg1S','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','B2zM','AxneAxjLy3rVCNK','Cg9ZDf93CML0zv9KCMLMDa','CMvNAxn0zxjby3rPDMvbz2vUDa','mJi2mtaYogDZDhvqua','B3bLCMf0Aw9U','AxnbCNjHEq','y2fSBgjHy2TvCMW','z2v0uhjVDg90ExbLt2y','zxHLy3v0Aw9UlwvYCM9Y','B3DUs2v5CW','yw5ZAte2','uhjVz3jHBsbUzxn0zwqGDg9VBcbLEgvJDxrPB24GAxmGDw5HDMfPBgfIBgu','sw52B2TLq29TBwfUza','DxrMltG','AwDUB3jLt3v0Chv0','lu5Vtg9NBW','Dgv4DerVy3vTzw50l2rPzenSB3nL','ls0T','BwnWxW','ugf0y2GGy29UDgfPBNmGBM8GB3bLCMf0Aw9UCY4','zgLZCgXHEwvKtgLUzxm','yMfJA2DYB3vUza','B3bLBKzPBgvZ','CNnZ','uMvHC29UAw5NigrLzMf1BhqGiG','DgLTzw91DfnPz25HBa','qvbjx0Tfwq','zxHPDgvK','qw5JAg9YzwqGCMvWBgfJzs9KzwXLDguGC291CMnLihjHBMDLCYbVDMvYBgfWlG','BwnWlxrVB2WTzxjYB3i','l2jPBI9IyxnO','txvZDcbWCM92AwrLideTmtaGCxvLC3rPB25Z','ihrVB2WGzgLZy292zxj5igzHAwXLza','C3vWzxjszwzPBMu','Dg9WAwm','DhnZzxj2zxiUANm','DhLWzq','AgfZq2XPzw50CW','tNv2Aw4','zxzPy3q','igj5DgvZicHVCMLNAw5HBdOG','Bwf4q2HHCNm','yw55lwfSBg93zwq','igfUy2HVCMvKig9WzxjHDgLVBNmGyxjLigfSBg93zwqGCgvYigvKAxqU','BwLUAw1HBa','AhLKCMf0zu1LDge','zw51BwvYywjSzq','uMvMDxnPBMCGDg8GzMv0y2GGysbOB3n0ihrOyxqGCMvZB2X2zxmGDg8GysbUB24TChvIBgLJigfKzhjLC3m','C3rHDhvZ','ugf0AcbUB3qGzM91BMq6ia','uKLgrG','Dw5PB24','y2XPzw50x3nLy3jLDf9WB3n0','BwnWlxnKAY1JBgLLBNqTzxjYB3i','vxnLCIbYzxnWB25ZzxmGCMvJzwL2zwq6ia','DxrMoa','zxzLCNK','tunqihrVB2WG','B25LCNjVCG','Aw1WBgvTzw50yxrPB24','igrPzcbUB3qGBwf0y2GGDgHLigLUDgvUzgvKignVBNrLBNqGywz0zxiGD3jPDgLUzY4','zw50CNK','BM9Uzq','tw96AwXSys81lJaGke1Hy2LUDg9ZAdSGsw50zwWGtwfJie9tifGGmtbFmtvFnYKGqxbWBgvxzwjlAxqVntm3lJm2ie51DMLUqM90lZeUma','D2fPDezVCLrLCM1PBMfS','Aw5qCM9NCMvZCW','z3jHy2vMDwW','Dg9Rzw5Z','ChjVz3jHBsbLEgvJDxrPB24GzMfPBgvK','zxf1ywXZ','zNjVBq','lNrZ','zgvSzxrLq291BNq','rgvSzwDHDgvZigeGDgfZAYb0BYbHBM90AgvYigfNzw50igLUihrOzsbIywnRz3jVDw5KlIbGzgvZy3jPChrPB25GigLZigeGC2HVCNqGvuKGBgfIzwW7igb0yxnRycbPCYb0AguGy29TCgXLDguGAw5ZDhj1y3rPB24GC2vUDcb0BYb0AguGywDLBNqU','Aw5PDgLHBgL6zwq','C2LNBMfS','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','AxncB3HLzfbYAw1PDgL2zq','C3rKB3v0','B3v0Chv0','yxv0BW','wKfjx0fqsv9lrvK','CgfNzw1HCa','B3bLBMnVzguTz28','q291BgqGBM90ihjLC29SDMuGAg9ZDa','DhLWzxnJCMLWDhjLywn0','Aw5JBhvKzv9KB21HAw5Z','Aw5JB21PBMDdywXSCW','ChjVz3jHBs1PBNzHBgLKlxjLC3vSDa','u2HVCNqGDxnLCI1MywnPBMCGC3vTBwfYEsb1C2vKig9UBhKGzM9YigrPC3bSyxKU','B2jZzxj2zwrmAw5LCW','D3jPDgu','DxrTx21LzgL1Bq','D29YA3nWywnLu3LTyM9S','y2XPzw50CW','CMfUAW','C2XPy2u','C3rKzxjYtM9YBwfSAxPLCG','AgLNAa','x19UDxzPBLbYB2DYyw1dywXSyMfJAW','y2fUB25Py2fSugf0Aa','C3rYAwn0','y2XPzw50','u2HLBgWGBM90igzVDw5KoIa','lIbuAguGD3jPDguGzgLKig5VDcbSyw5KoYbYzs1YzwfKihrOzsbMAwXLihDPDgGGrMLSzvjLywqGyw5KihjLDhj5lG','zgLZy292zxj5u3rHDgu','ls1NBg9Ipq','igj5DgvZlcbLEgnLzwrPBMCGDgHLia','CgLK','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','uMvHzcb0AguGBMv4DcbYyw5Nzsb3AxrOigXPBMvtDgfYDdOG','Bwf4','BwvZC2fNzq','t1bftKnprevFqvbjx0Tfwq','Dg9KB3ncEvnLC3nPB24','lMPZB24','zM9Yy2vszxf1zxn0zwq','CgfJA2fNzxm','Bg9VA3vW','AxntEw1IB2XPy0XPBMS','CgfJA2fNzu5HBwu','zgf0zxrPBwu','z2XVyMfS','zMLUAxrL','CMvZB2X2zwrnB2rLBeLKzw50Axr5','yxj0AwnSztPWDwjSAxnOzwrFDgLTzq','DgvYBwLUywXqCM9TAxnL','CgXHDgzVCM0','zgvMyxvSDa','u3rVChmGDgHLigfJDgL2zsbVCIbXDwv1zwqGDhvYBIbMB3iGB25LigjHy2TNCM91BMqGC3vIywDLBNqGD2L0Ag91DcbJBg9ZAw5NigL0CYbYzxn1BwfIBguGy29UDMvYC2f0Aw9UlG','u3rVCefNzw50','C3vIywDLBNqTBM90lwzVDw5K','B3v0z29PBMDdywXSCW','Dg9VBcbLCNjVCG','zM9VDgvY','r0Lusfvcx1rps0vo','zxjYB3jZ','twfUDwfSihjLyxnVBMLUzYbYzxf1AxjLCYbIDwrNzxruB2TLBNm','l3vZCI9IAw4VyMfZAa','tM8GBg9JyxrPB25ZigzVDw5K','CxvLCNK','l2jPBI9ZAa','C2LNBMfSlxjLAMvJDgvK','ig1PEgvZieXgigfUzcbduKXgigXPBMuGzw5KAw5NCY4','C2nYDwjfBNzlzxLZ','ihn0B3bWAw5NlG','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','CMvJzw5JEq','mc4WlJa','igj5DguTAwrLBNrPy2fSlG','BMfTzq','D2HLCMuGCMC','zgLHz25VC3rPy3m','CM91BMq','B3zLCMXHChbPBMDFB3bLCMf0Aw9UCW','B3b0Aw9UywW','y2HTB2q','yNjVA2vU','Cgf0Ag5HBwu','CNvU','Aw1Hz2vZ','uhjVz3jHBuzPBgvZkhG4nIK','ywXSB3DLzfrVB2XZ','vMfSAwrHDgvKia','qxbWBgLLzca','ig11C3qGBM90igjLigeGyNvPBhqTAw4GB2jQzwn0','y3jLyxrLzef0','Dg9KB3m','yxv0Ag9YzwrezxrHAwW','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','C2nYDwjfBNzqCMvMAxHLCW','u0Lhvevstq','lMPWzW','C291CMnLrw5K','CMvJB3jKtM9dAgfUz2u','oIb0B2rVigL0zw0GAxmGCMvXDwLYzwq','qMfJA2DYB3vUzcbWCM9JzxnZigLZigfSCMvHzhKGyxr0ywnOzwq','qxnZAwDUvgfZAW','Bwf0y2HdB3vUDa','CMvWBgfJzq','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','ihjLCxvPCMvZie9bDxrOignVBM5Ly3rPB24GB3b0Aw9UCW','yNL0zuXLBMD0Aa','zw50CMLLCW','rgLHz25VC3rPyW','Cgf0y2G','Dg9VBhmVy2fSBa','CgXHAw50zxH0','rwrPDcbHifvurI04ihrLEhqGzMLSzsb1C2LUzYbZBMfWC2HVDc1HBMnOB3jLzcbSAw5Lig9WzxjHDgLVBNmUienHBgWGrMLSzvjLywqGzMLYC3qGDg8GB2j0ywLUihrOzsbJDxjYzw50ifTWyxrOi1rbr10GAgvHzgvYigfUzcbooIbSAw5Lig51BwjLCNm7igv2zxj5igvKAxqGCMvXDwLYzxmGDgHHDcb0ywCUifjLDxnLihrOzsbMCMvZAcaJvefhihjLDhvYBMvKigj5igeGC3vJy2vZC2z1BcbLzgL0igzVCIb0AguGBMv4DcbLzgL0ig9UihrOzsbZyw1LigzPBguSigfUzcbYzs1YzwfKig9UBhKGD2HLBIb5B3uGBMvLzcb1BNnLzw4GBgLUzsbUDw1IzxjZig9YigeGDgfNigLZihjLAMvJDgvKlIbmAw5Lig51BwjLCNmGAw4GB3bLCMf0Aw9UCYbYzwzLCIb0BYb0AguGtJOGCM93CYbMCM9TihLVDxiGBw9ZDcbYzwnLBNqGCMvHzc4','Dw5KzwzPBMvK','Ag9TzwrPCG','AxnnyxbjDgvYyxrVCG','Dgv4Da','y2fSBfrVB2W','C3rKzxjY','Aw5Zzxj0','lNbUzW','zgv0ywLS','y3jLyxrLq29UDgv4Da','y29Kzq','rMLSzu5LDW','CNvUBMLUzW','yxbWBhK','AgvHzgvYCW','AxnszwDfEha','oIbLEhbLy3rLzcbHihbVC2L0AxzLig51BwjLCG','BgfUzW','C3r5Bgu','AxndB250zxH0','Dgv4DerVy3vTzw50l2LTCgXLBwvUDgf0Aw9U','Dw5NCM91CgvK','Cgf0DgvYBG','ndC1mdq0rM9bv2f4','BNvT','igfUy2HVCMvKig1VzguGCMvXDwLYzxmGAw5Qzwn0zwqGB3v0Chv0qNvKz2v0qNL0zxmU','Dw1HC2S','ChjVz3jHBsb0B29SigjYAwrNzsbYzwnLAxzLzcbHBIbPBNzHBgLKihrVB2WGCMvZCg9UC2u','C3rYAw5NAwz5','DhjHAwXPBMDdAhvUA3m','D29YA3nWywnL','ihrVzg8GAxrLBxmGAgf2zsbIzwvUignVBxbSzxrLzcbZDwnJzxnZzNvSBhKHcGO8C3LZDgvTlxjLBwLUzgvYpGPbBgWGDg9KBYbPDgvTCYbHCMuGBM93ignVBxbSzxrLzc4Grg8GBM90ignHBgWGvg9KB1DYAxrLigfNywLUlIbjzIb0AguGChjVDMLUzYb0zxn0ig9Yigj1AwXKigfSCMvHzhKGCgfZC2vKlcbZDg9WlGPdB21WBgv0zwqGBgLZDdOk','vg90ywWGyxv0Ag9YzwqGCMvWBgfJzw1LBNqGy29UDgvUDcbTDxn0igjLigf0ig1VC3qG','y2f0y2G','zMfPBgvK','BxmU','vg9Vig1HBNKGCMvKAxjLy3rZ','u2vHCMnOigzVCIbHihjLz2v4ihbHDhrLCM4GAw4GD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3j5igzPBguGy29UDgvUDhmU','ru5w','uhjVz3jHBuLZB2XHDgvfCNjVCG','zgvWCW','rxjYB3i','yMLVBwu','CgfJA2fNzs1SB2nRlMPZB24','AxnoyxrPDMvfCNjVCG','z29uB0rLzMLUAxrPB24','u25HChnOB3qGDgfNia','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','tfnqia','lM10CW','CMvUzgvYu3LZDgvTuhjVBxb0','CxvLDwvKlwfZlxn0zwvYAw5N','ywrKrxzLBNrmAxn0zw5LCG','zMvUy2vK','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','DgLTzvTKyxrLDgLTzv0','u25HChnOB3qGzM9Yia','vgvYBwLUywWGB3v0Chv0ig5VCM1HBgL6zxiGAgfZigvUzgvK','AxntywzLsw50zwDLCG','DhnJ','tM8GC3vJAcbMAwXLoIaN','AxnxzwfRu2v0','q29Tu3bLyW','ChjVz3jHBs1YDw50Aw1LlxvUyxzHAwXHyMXL','ig11C3qGBM90igjLigeGuhjVEhK','C3rKAw8','DhLWzxnJCMLWDa','ktSGDxnLigv4ywn0ihjLCgXHy2vTzw50icHgAwXLrwrPDcb3AxrOig9SzfrLEhqVBMv3vgv4DcKGAw5ZDgvHzc4','zw52','A2LSBfjLCxvLC3rLza','y2HHCMfJDgvY','C3vKBW','uhjVz3jHBsb0B29SignHDgfSB2CGy29UDgfPBNmGzhvWBgLJyxrLig5HBwu6ia','DgfNig11C3qGyMuGzxHHy3rSEsaXmIb1ChbLCMnHC2uGAgv4ignOyxjHy3rLCNm7igDVDcaN','yNvUlMXVy2S','ig9WzxjHDgLVBNmGkgrYEsbYDw47ig5VihDYAxrLks4','CMLWz3jLCcbMywLSzwq6ia','zxHPDa','zMfZDa','DMvYAwz5rxHLy3v0Aw9U','C3rYDwn0DxjLza','q29TCgXLDguSihnLBgyTy29UDgfPBMvKigLUC3rYDwn0Aw9UCYbZzw50ihzLCMjHDgLTihrVihrOzsbKzwXLz2f0zwqGywDLBNqUieLUy2X1zguGCMvSzxzHBNqGy29UDgv4DcWGC2nVCguSignVBNn0CMfPBNrZlcbHBMqGzxHWzwn0zwqGB3v0Chv0lG','C3rHDhvZvgv4Da','CMvUyw1L','Aw5Zzxj0ihbVC2L0Aw9Uig11C3qGyMuGj2jLzM9YzsCGB3iGj2fMDgvYjY4','oda3odGYCffOq0De','CMCUzxHL','B3bLBMfPlxjLC3bVBNnLCW','Dw5ZzwvUx2XPBMvZ','u2TPBgWGjW','yMfJA2DYB3vUzc1ZDgfYDc1Jyw5JzwXSzwq','B3jPz2LUvg9VBenHBgXjza','yM9T','Dg9VBfjLC3vSDhm','phn5C3rLBs1Yzw1PBMrLCJ4','AxnjBNrLz2vY','rw1WDhKGzMLSzxmGAgf2zsbUBYbVyNnLCNzHyMXLigXPBMuGyw5JAg9YCZSGyw5JAg9YzwqGzwrPDhmGCMvXDwLYzsbHDcbSzwfZDcbVBMuGBgLUzs4','u3rVCdOGmYbJB25Zzwn1DgL2zsbPzgvUDgLJywWGBM8TB3aGzwrPDhmGzM9YihrOAxmGCgf0AcbHBMqGCgf5Bg9Hzc4GuMuTCMvHzcb3AxrOiezPBgvszwfKigjLzM9YzsbYzxrYEwLUzY4','BgLZDfrVB2XZ','D29YA3nWywnLl3n5BwjVBa','rMv0y2GGDgLTzwqGB3v0','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','zg9TywLUCW','DhjHBNnMB3jT','oIbTDxn0igHHDMuGmI00ig9WDgLVBNm','Bwf4uMvKAxjLy3rZ','sw52ywXPzcbYzwDLEdOG','B3rOzxi','C2vZC2LVBKLK','C2vUze1LC3nHz2u','zMLUza','C3rHCNrZv2L0Aa','yMvNAw5qCM9NCMfTvhjHy2u','z29uB0LTCgXLBwvUDgf0Aw9U','uNvUigeGsMf2yvnJCMLWDcbWCM9NCMfTigLUigfUigLZB2XHDgvKigvUDMLYB25Tzw50lIbuAguGy29KzsbPCYb0AguGyM9KEsbVzIbHBIbHC3LUy2HYB25VDxmGzNvUy3rPB24UievHy2GGy2fSBgfIBguGDg9VBcbPCYbLEhbVC2vKigfZigfUigfZEw5Jig1LDgHVzcbVBIb0AguGDg9VBhmGB2jQzwn0ihrOyxqGCMv0DxjUCYbPDhmGB3v0Chv0igfZigeGC3rYAw5NlcbLlMCUigf3ywL0ihrVB2XZlKzPBgvszwfKkhSGCgf0AdOGiNnYyY9PBMrLEc50CYiGFsKUie5HBwvZihDPDgGGC3bHy2vZig9YihnWzwnPywWGy2HHCMfJDgvYCYb1C2uGyNjHy2TLDcbHy2nLC3mSiguUzY4GDg9VBhnBiLnVBwuGvg9VBcjDkhT9ks4Gsw5WDxrZig11C3qGyMuGC3rYAwn0iePtt04GB2jQzwn0CY4','ywjZ','rwrPDcbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmGyNKGCMvWBgfJAw5NihrOzsbMAxjZDcbLEgfJDcb0zxH0ihnLz21LBNqU','ig11C3qGyMuGysbWBgfPBIbku09oigfYCMf5','CM9VDfbPza','yxjNDw1LBNroyw1LCW','Aw5Zzxj0lMXPBMu','CMvSyxrPDMu','tgLUzsa','rMv0y2GGywjVCNrLzcbIEsb1C2vY','zgf0zvjLC3rYAwn0','DgvYBwLUyxrPB24','BwvTB3j5','Dg9tDhjPBMC','oYbJB25ZDhj1y3qGD2L0AcbVyNnLCNzHDgLVBNmSig11Dgf0Aw9UCYWGyw5Kig91Dhb1Dej1zgDLDej5DgvZlG','BgLUAW','zxHLyW','BwnWlwnVBM5Ly3qTzMfPBgvK','ihjLCxvPCMvZigf1DgHLBNrPy2f0Aw9U','igzHAwXLzcb0BYbJB25Uzwn0','lMn0CW','ksbB','BhnWlxbYB3H5','ChjVz3jHBsbPC29SyxrLigv4y2vLzgvKigL0CYbYzxnVDxjJzsbSAw1PDa','ig11C3qGBM90ignVBNrHAw4GC3LTyM9SigTLExm','C3rYAw5N','AxnuExbLzefYCMf5','zw9S','BgL0zxjHBa','tgLUzsbUDw1IzxjZig11C3qGyMuGCg9ZAxrPDMuGC2fMzsbPBNrLz2vYCZSGz290ia','sgLUDa','ig1Z','AxngAw5PDgu','ChjVz3jHBsbLEgvJDxrPB24GD2fZigfIB3j0zwq','v29YA2LUzYbKAxjLy3rVCNKGBM90igzVDw5KoIa','vvjmCYbTDxn0ig5VDcbPBMnSDwrLihvZzxjUyw1LCYbVCIbWyxnZD29Yzhm','A2LSBa','C2H1DgrVD25tDgfYDgvK','B2XKrw5KtgLUzq','yMfZAwm','y2HHDe1VzgvS','lMDPzG','z3jHy2vMDwXszxf1zxn0zwq','C2vUza','v2vIrMv0y2G','AgfUzgXL','CMvNAw9U','Bwf4qNL0zxm','rwrPDcbHifvurI04ihrLEhqGzMLSzsb1C2LUzYbHihnUyxbZAg90lwfUy2HVCMvKieHHC2HSAw5LihbHDgnOlIbdywXSiezPBgvszwfKigzPCNn0ihrVig9IDgfPBIb0AguGy3vYCMvUDcbBCgf0AcnuquDDigHLywrLCIbHBMqGtJOGBgLUzsbUDw1IzxjZoYbLDMvYEsbLzgL0ihjLCxvPCMvZihrOyxqGDgfNlcbHBMqGywXSigXPBMuGBNvTyMvYCYbIzwXVDYbYzwzLCIb0BYb0AguGtJOGCM93CYbMCM9TihLVDxiGBw9ZDcbYzwnLBNqGCMvHzc4GuMv1C2uGDgHLigzYzxnOicnuquCGCMv0DxjUzwqGyNKGysbZDwnJzxnZzNvSigvKAxqGzM9YihrOzsbUzxH0igvKAxqGB24GDgHLihnHBwuGzMLSztSGCMuTCMvHzcbVBMX5ihDOzw4GEw91ig5LzwqGDw5ZzwvUigXPBMuGBNvTyMvYCYbVCIbHihrHzYbPCYbYzwPLy3rLzc4kvgHLihbHDgnOihn0CMLUzYbPCYbVBMuGw3bHDgGJvefhxsbOzwfKzxiGCM93igzVBgXVD2vKigj5ig9UzsbVCIbTB3jLignVBw1HBMrZlcbLywnOigfWCgXPzwqGywDHAw5ZDcb0AguGB3jPz2LUywWGC25HChnOB3q6cI0GufvuifnuqvjulJ1ftKq6ihjLCgXHy2vZigXPBMvZifnuqvjuihrOCM91z2GGru5eicHPBMnSDxnPDMuPihDPDgGGDgHLihbHEwXVywqGCM93CYb0Agf0igzVBgXVDZSGzwfJAcbWyxLSB2fKihjVDYbZDgfYDhmGD2L0AcaRicHHigjHCMuGkYbPCYbHigjSyw5RigXPBMuPlGOTifbvvca8tJOGAw5Zzxj0CYb0AguGCgf5Bg9HzcbYB3DZigjLzM9YzsbSAw5Lie4Uifbvvca+tJOGAw5Zzxj0CYb0AgvTigfMDgvYigXPBMuGtI4klsbdvvqGu1rbuLqUpuvorcbKzwXLDgvZigXPBMvZifnuqvjuihrOCM91z2GGru5eicHPBMnSDxnPDMuPlGPfEgfTCgXLicHYzxbSywnLigXPBMuGmIWGDgHLBIbPBNnLCNqGywz0zxiGBgLUzsa5ktOkw3nYyY9HChaUDhmJn0yYmue5m0m1rdeWxqPqvvqGmI49mJOkk2nVBNn0ihjLC3vSDca9ignHBgn1Bgf0zsHPBNb1DcK7cLbvvca+otOkk3jLDhvYBIbYzxn1Bhq7cLvZzsbmrIbSAw5LigvUzgLUz3mGB25SEsaOBM8Gy2fYCMLHz2uGCMv0DxjUCYKUief0ig1VC3qGmtaWig9WzxjHDgLVBNmGyw5Kidi1nIblAuiGB2yGCgf0y2GGDgv4DcbWzxiGy2fSBc4','rvnsq0G','C3LZDgvTuhjVBxb0','DxbKyxrL','qgjPB21LANmVyMLVBwu','twfUDwfSihjLyxnVBMLUzYbJyw5UB3qGC2v0igvMzM9YDa','zw5K','C2nYAxb0','y29UDgvUDa','Dg90ywXeCM9WCgvK','Dgf2AwX5','yMLUzfnLC3nPB24','yNvUlMXVy2TI','yNL0zxm','D2HPy2GGCMC','zNvSzMLSBgvK','zMLUAxnO','vw5RBM93BIb0B29SoIa','igj5DgvZks4','yw50AhjVCgLJlw1LC3nHz2vZ','BMv3u3rHCNrmAw5L','C3rKzxjYrgvJB2rLCG','zMLSzvbHDgG','lMPWzwC','CgfYC2u','BhnWu2vYDMLJzq','uMvMzxjLBMnL','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2ienOCM9Tzs8XmJmUmc4WlJaGu2fMyxjPlZuZnY4ZnIboDxzPBKjVDc8XlJa','DgfZA2TPBgWGzxHPDgvKihDPDgGGy29Kzsa','AxnqCM9TAxnL','C2L6zq','ls1MAwXLCW','lI4U','Ag9ZDa','C2v0vg9KB3m','qMfJA2DYB3vUzcbWCM9JzxnZihn0yxj0ihDHCYbJyw5JzwXSzwqU','ChjVz3jHBsb0CMfJzsbWzxjZAxn0zw5JzsbMywLSzwq','C2fMzvbHCNnL','Aw5PDgLHBgL6yxrPB24','zw5HyMXLza','B25szwrPCMvJDa','BxrPBwu','vxnLCI1MywnPBMCGChvYCg9ZztOGD2HHDcb0AguGy29TBwfUzcbKB2vZigfUzcb0AguGz29HBcbPDcbHzhzHBMnLCYWGzs5NlIaNuNvUigf1DgGGDgvZDhmGDg8GDMvYAwz5ihrOzsbYzwzYzxnOigzPEcCU','id0GBwfPBJSkFsKOktSk','y29UBMvJDgLVBG','zNjLzxPL','qxnRig9UzsbVCIbTB3jLig11BhrPCgXLlwnOB2LJzsbXDwvZDgLVBNmGD2HLBIbWCMvMzxjLBMnLCYWGyw1IAwD1Axr5lcbVCIbHigrLy2LZAw9UigjSB2nRCYbWCM9NCMvZCY4GrxzLCNKGCxvLC3rPB24GC3vWCg9YDhmGiK90AgvYiI4Gu2v0ig11BhrPu2vSzwn0ihrVigfSBg93ig11BhrPCgXLigfUC3DLCNmUifb1Dcb0AguGCMvJB21Tzw5KzwqGB3b0Aw9UigzPCNn0igfUzcbZDwzMAxGGAxrZigXHyMvSihDPDgGGiIHszwnVBw1LBMrLzcKIlG','B3bLBG','lMPZ','iIb0BYbZzw5KigfKzgL0Aw9UywWGAw5ZDhj1y3rPB25Zig9YihjLC3vTzsbPDcbHzNrLCIbPDcbZDg9WCY4GvgHLihn1yMfNzw50ihDPBgWGC2vUzcbHig1LC3nHz2uGD2HLBIbPDcbMAw5PC2HLCYb0AgLZihr1CM4UcJWVC3LZDgvTlxjLBwLUzgvYpG','ywDLBNrnB2rLBfnLDa','ChjLCgfYzunHBgXiAwvYyxjJAhK','CMvZDwX0','zwrPDa','ChjVz3jHBs1YzxnVDxjJzs1SAw1PDa','Dg9VBhm','zgvSzxrLlMvUzeXPBMu','igzHAwXLzc4','zgvMAw5PDgLVBG','C2vHCMnOugfYyw1Z','BgfZDeLUzgv4t2y','CMvNAxn0zxjby3rPDMvsDw4','BNvTyMvY','Cg5WBs1SB2nRlNLHBwW','EwfYBI5SB2nR','CMfUz2u','Dw5RBM93BL9ZBMfWC2HVDa','qMfJA2DYB3vUzcbWCM9JzxnZignVDwXKig5VDcbIzsbZDgfYDgvKlG','BgfUz18','A2v5yMLUzgLUz3m','zNjVBuvUDhjPzxm','u0Lhs0Lmta','uefusa','AxnlzxLpyMPLy3q','ANnVBG','DMfSDwvZ','sw52ywXPzcbZDhj1y3r1CMvKiezPBgvfzgL0igLUChv0oIa','vw5ZDxbWB3j0zwqGsgfZAgXPBMuGCM93oIa','zMLUzfjLzMvYzw5Jzxm','Aw5WDxrty2HLBwe','ig11C3qGyMuGB2jZzxj2zwqGyNKGrMLSzvjLywqGyMvMB3jLigL0ignHBIbIzsb1C2vKigfZigfUigvKAxqGyw5JAg9YlG','rMLSzvjLywq','zgvSzxrLihjHBMDLifS','CMvWBgfJzsbLBMrmAw5L','B3bLBNjVDxrLCG','CMvHzezPBgu','DMvYC2LVBNncEvbHDgG','rMLSzuvKAxq','Dg9Rzw4','ig11C3qGyMuGysbWB3nPDgL2zsbZywzLigLUDgvNzxi7igDVDca','zgvJB2rL','EMfP','yMfZzty0','yM9VBgvHBG','B3b0Aw9UCW','vg9KB1DYAxrL','Aw52ywXPzc1Yzxn1Bhq','DgvYBwLUyxrPB25szxn1Bhq','ChjVz3jHBsbPC29SyxrLignVDwXKig5VDcbIzsbJCMvHDgvK','Dg9Rzw5tDg9YywDLs2v5','lMjPBG','yMfZAa','xsbPCYbWyxn0ihrOzsbLBMqGB2yGDgHLia','AxntzxrjDgvYyxrVCG','Aw52ywXPzf90B2rVx3bYAw9YAxr5','r09pr0Xfx0ntrv9dwa','uMvHC29UAw5NigrLzMf1BhqGiM9MzIiGCMvXDwLYzxmGy2fUrgLZywjSztOGDhj1zq','zM9Yy2uTDgvYBwLUyxrPB24TzMfPBgvK','BM9Fy2HHBMDLoIb0AguGCMvXDwvZDgvKigvKAxqGD291BgqGBgvHDMuG','C3rHDgu','yxnPzgu','vhLWzvnJCMLWDcbmyw5NDwfNzsbtzxj2zxi','igLZihbHC3qGDgHLigvUzcbVzIb0AguG','BwLUAw1HEa','tM8Gtunqie9bDxrOignVzguGDMvYAwzPzxiGC2f2zwq','y2fSBeLK','mtaUmc4WlJa','CM9VDa','zxHPDenVzgu','zw51Bq','zg9JCY9WBgfUCY8Ymdi2lta0lte2lw1Vy2STywDLBNqTBg9VCc1PBxbSzw1LBNrHDgLVBI5Tza','CMvSzwfZzuj5DgvZ','AwrSzq','CNvUswq','C2H1DgrVD24','qMvHCMvYia','Aw52ywXPzf90B2rVCW','yw5ZD2vYCW','BwfYA2rVD24','Bwf4ugf0Ahm','C3rVCefNzw50','zxH0zw5ZAw9UCW','ChjVz3jHBsbPC29SyxrPB24GAxmGDw5HDMfPBgfIBgu','CMvSzwfZzq','igj5DgvZlG','Ahr0CdO','ChjVz3jHBsb0B29SigjYAwrNzsbYzwnLAxzLzcbHBIbPBNzHBgLKihrVB2WGBMfTzq','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDhm','Aw52ywXPzf90B2rVx2LK','BgLUzvrLEhq','rMLSzsbPCYbLBxb0EtSGyw5JAg9YzwqGzwrPDhmGCMvXDwLYzsbHBIbVyNnLCNzLzcbSAw5LlG','BgLUzv9UDw1Izxi','yxjYyxK','Bwf4u25HChnOB3rcExrLCW','s2LSBfnOzwXS','C3vIywDLBNqTyNvZEq','C3LTBgLUAW','zhj5uNvU','rMLSzsbHChbLyxjZihrVigjLigjPBMfYEtOG','y3nP','oIaIBxvSDgLtzwXLy3qIig11C3qGyMuGysbIB29SzwfU','yMLVBwuUANnVBMm','ig9WzxjHDgLVBNmGyxjLigfSBg93zwqGCgvYihbHDgnOlG','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','D2LUmZi','lMXVzW','Dg90ywXcExrLCW','Aw52ywXPzcbku09oihn5BNrHEa','zgvSAxzLCMvK','Axnhzw5LCMf0B3jpyMPLy3q','CgXHAw4','oIbPzcbYzxf1AxjLza','AxnfCNjVCG','tuLnrtOG','BwnWlxrYyw5ZCg9YDc1LCNjVCG','yMfJA2DYB3vUzenVBNrYB2XSzxi','B25oB3rPzMLJyxrPB24','B2XSyw1H','Aw5Zzxj0igXPBMuG','q29TBwfUzcaN','Cg9W','mJuXmZHMyw9IuMC','Dgv4DerVy3vTzw50l2HVDMvY','igfMDgvYihDYAxrPBMCGka','Dg9ju09tDhjPBMC','iIbPCYbUB3qGysbKzwnSyxjLzcbVChrPB24','CgfYzw50u2vZC2LVBKLK','Aw5ZCgvJDa','C2vTyxbOB3jL','CMvKDwnL','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','C2HLBgXjza','Bg9HzenVBw1HBMq','ChjVy2vZCY1LCNjVCG','Axnoyu4','tg9HzfnRAwXS','rNvSBcbVDxrWDxqGC2f2zwqGDg86ia','qMfZAe91Dhb1Da','zw5KtgLUzq','ie9sia','igj5DgvZks4GtM8GC2vZC2LVBIbKAxjLy3rVCNKGyxzHAwXHyMXLigzVCIbMAwXLig9MzMXVywqUcJWVC3LZDgvTlxjLBwLUzgvYpG','z2L0AhvI','r09pr0Xfx0ntrv9lrvK','BhmGlwXH','ywz0zxi','y29TBwfUzfbYzxzPzxC','y3jSzG','rM91BMqG','ihrVB2WGzgLZy292zxj5ihrPBwvKig91Da','Cg9ZAxrPDMu','BgLUzxm','zw5NAw5L','z2v0u3rHDhm','BwnWlxrVB2WTy2fSBc1MywLSzwq','sgfZAgXPBMuGCgf0y2GGDgv4DcbTDxn0igjLigf0ig1VC3qG','ywXSB3DLzerPCNm','mty5lJi1nc4WlJa','zxH0BMfTzq','AxnbyNnVBhv0zq','txvSDgLWBguGAw5Zzxj0Aw9UCYb0yxjNzxqGDgHLihnHBwuGBgLUzsbNyxaU','yxnRvxnLCG','Dgv4DerVy3vTzw50l3b1yMXPC2HeAwfNBM9ZDgLJCW','Aw52ywXPzf9WyxrJAa','y29ZDa','Dg9VBc1VDxrWDxqTB2zMBg9Hza','ls1WCMvMAxG','zgvSzxrLlNn0yxj0tgLUzq','CMvMzxjLBMnLCW','D3jPDgvFzMfPBgvK','rwrPDcbHChbSAwvKihn1y2nLC3nMDwXSEs4','BgLUzu51BwjLCNm','cGPoBYb0B29SigrLzMLUAxrPB25ZigfYzsbJywXSywjSzs4','Aw5WDxq','zMLUywXSEq','Bwf4Aw11Bq','yxr0CG','qMfJA2DYB3vUzcbZDwjHz2vUDcbYzxf1zxn0igzHAwXLzcaO','Dg9VBe5HBwvZ','ChjVz3jHBsbLEgvJDxrPB24GzxHJzwvKzwqGAxrZihrPBwuGBgLTAxq','o1TExg5DkJ8','ig11C3qGyMuGyw4Gzw51BwvYywjSzsbku09oigrHDgeGChjVCgvYDhK','DgLTzw91DfnVDxjJzq','zMLSzvzLCNnPB25Z','qw4GAw5Zzxj0Aw9UihrHCMDLDhmGysbNyxaGC3rYAwn0BhKGAw5ZAwrLigeGCMvWBgfJzwqGB3iGzgvSzxrLzcbYyw5Nzs4','C2HLBgXqyxrO','B2XKu3rHCNrmAw5L','igzVCIbHBIbHBMnOB3jLzcbZBMfWC2HVDcaO','C3bHD24','CMvQzwn0zwq','igLZia','lNrTCc4','yMvMB3jL','lMPZEa','BgLUzsbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCG','u0HfteW','Cgf0DgvYBIbPCYbYzxf1AxjLza','vg9KBYa','AwzYyw1L','yMfZzw5HBwu','icHWAwqG','ig1VzguGCMvXDwLYzxmGAw5Qzwn0zwqG','igLZig5VDcb2ywXPzcbvveyToc4','yxr4','Bxv0yxrPB25Z','Bw9KzwXuAwvY','mZqYmJa5me5bDxruqq','CMvTB3zLrxzLBNrmAxn0zw5LCG','C3rHCNq','Bwf4rw50CMLLCYbTDxn0igjLigjLDhDLzw4GmsbHBMqGnJq','y29Uy2f0','BMv4De9MzNnLDa','y2fUrgLZywjSzq','C3bHD25PBMC','oIbPBNzHBgLKihbYAw9YAxr5','tM8GCMvZDwX0CYbMB3vUzc4','lu5VuhjVzMLSzq','tM8GtfnqihnLCNzLCIbHDMfPBgfIBguGzM9YigzPBgu6ia','ChjVz3jHBs1PBNzHBgLKlxnVDxjJzq','B2XKtgLUzunVDw50','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','zxjYB3jnzxnZywDL','C3vIywDLBNqTDw5HDMfPBgfIBgu','C2HHmJu2','Aw52ywXPzf90B2rVx2nVBNrLBNq','Dg9VBe5HBwu','u3rVCcbYzwfKAw5Nigf0ihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','xsbTDxn0igjLigeGsLnptIbKyxrHihbYB3bLCNr5','yw5JAg9YzwqTANnVBG','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDgvZDc50CW','zg5Zl3bYB21PC2vZ','Aw52ywXPzf9XDwvZDgLVBNm','AM9PBG','yMXVy2TZ','AgfZ','Cg9ZAxrPB24','Cg9ZAxG','y29UzMLN','DxjP','BM93','zMX1C2G','zMLSztOVlW','u3rHCNrLzcbIywnRz3jVDw5KihbYB2nLC3mG','ChjVz3jHBs1LEgvJDxrPB24TzxjYB3i','tg9HzcbHihnRAwXSigj5ig5HBwuGDg8Gz2v0igrLDgfPBgvKihrHC2SGAw5ZDhj1y3rPB25ZlIboBYbZA2LSBhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','qMfJA2DYB3vUzejHC2HtDgfYDevYCM9Y','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','BxvSDgLtzwXLy3q','u3rYAwn0sNnVBLzHBgLKyxrPB25fCNjVCG','zgvLChnLzwS','BM9dAgfUz2vdB3vUDgvYCW','DhjPBq','Dg9vChbLCKnHC2u','C3vIywDLBNqTy29YCNvWDa','lNDLyNa','y29TBwfUza','u3rHCNqGCMvHzgLUzYbMCM9TihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','y21KlMv4zq','ChvZAa','t1bftKfjx0fqsv9lrvK','zMXVB3i','Bg9JywXLq29TCgfYzq','BwfW','Aw5ZDgfSBa','ywXS','Aw1Hz2u','BMf2','B2zMC2v0','CxvLC3rPB25Z','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','CxvLDwvK','C3rHDa','CxvLC3rPB24T','mtKYlJe2oc4WlJa','ls1OAwrKzw4','ChjVDg90ExbL','DxrMoej5DgvZ','uMvMDxnPBMCGDg8GzMv0y2GGysbUB24TChvIBgLJigfKzhjLC3m','C2v2zxjPDhK','ig5VDYbYzxnVBhzLCYb0BYbHigrPzMzLCMvUDcb0yxjNzxqGDgHHBIb0AguGyxbWCM92zwqGzwrPDdSGCMuTCMvHzcb3AxrOiezPBgvszwfKigzPCNn0lG','CgLWzq','jYbUB3qGzM91BMqUief2ywLSywjSzsbJB21Tyw5KCZOG','vMLLD0zPBgu','cGPbDMfPBgfIBguGDg9VBcbKzwzPBML0Aw9UCZOk','t25SEsbODhrWoI8VigfUzcbODhrWCZOVlYbvuKXZigfYzsbZDxbWB3j0zwq','yxv0Aa','suqGB2yGDgHLigfNzw50ihrVigLUDM9RzsWGy2HVC2vUigzYB20GDgHLigf2ywLSywjSzsbZCgvJAwfSAxn0igfNzw50CY4','DgvYBwLUyxrPB24TzMfPBgvK','CMvZB2X2zq','ihDOAwXLihrOzsbLzgL0ihDHCYbWzw5KAw5NicG','ChjVz3jHBsbPC29SyxrLihjLDhvYBMvKigfUigLUDMfSAwqGCMvZCg9UC2u','C291CMnL','uhjVDMLKzxiGBMfTzsbJyw5UB3qGy29UDgfPBIaNoIC','ChjVz3jHBsbZB3vYy2uGAxmGAw52ywXPza','Aw5ZDhj1y3rPB25Z','Aw52ywXPzf90B2rVx2L0zw0','zg9JCY9WBgfUCY8Ymdi2lta0lte2lxb1yMXPyY10B29SCY1HCgKTAw1WBgvTzw50yxrPB24UBwq','lGO8C3LZDgvTlxjLBwLUzgvYpGPuAgLZihn1yMfNzw50ihj1BNmGAw4GDgHLigjHy2TNCM91BMqUienVBNrPBNvLihDPDgGGB3rOzxiGD29YAYbPBNn0zwfKig9MihDHAxrPBMCUifvZzsbtzw5KtwvZC2fNzsb3AxrOihj1BKLKici','Bw9Kzq','CMvMCMvZAf90B2TLBG','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','ChjVz3jHBs1PC29SyxrPB24TDw5HDMfPBgfIBgu','C3jJl3nOyxjLzc90ExbLCY50CW','u2vUze1LC3nHz2uG','x19UDxzPBLbYB2DYyw1uB29StMfTzxm','CMvXDwLYzwq','BgLTAxq','AwDUB3jL','zw5KC1DPDgG','A2LSBgvK','zMXHDe1HCa','zgLYzwn0B3j5','B3bLBMfP','tunqihnLCNzLCIa','y2HHDgDWDa','Cg93zxjMDwW','Aw50zwDLCG','vgHLihDYAxrLigXHBMrLzcWGyNv0ihrOzsbYzwfKlwjHy2SGzgLKig5VDcbTyxrJAcb0AguGAw50zw5KzwqGyNL0zxmGB3iGCgvYBwLZC2LVBNmUie5VihjVBgXIywnRihDHCYbWzxjMB3jTzwq7ihjLlxjLywqGD2L0AcbgAwXLuMvHzcb0BYbJB25MAxjTihrOzsbJDxjYzw50ihn0yxrLlG','y291BNq','C2v0DgXL','r0LgodDH','BgLUzvn0yxj0','sw52ywXPzcb0Aw1LB3v0txm6igv4CgvJDgvKigeGCg9ZAxrPDMuGBNvTyMvY','zMLSzq','ufvuihjLCxvPCMvZigf0igXLyxn0ig9UzsbWyxLSB2fKihjVDY4','Dg9VBcbYzxf1zxn0','yxbWzw5KrgvJB2rLza','zw5NAw5LCW','CMvZDwX0CW','rMLSzsb3CML0DgvUigf0ia','yxbPs2v5','ChjVz3jHBsbYzxnWB25Zzq','CMvJB3jK','jYbUB3qGzM91BMqUief2ywLSywjSzsbZA2LSBhm6ia','ksbMB3iG','B3v0Chv0uMvNzxG','qxzHAwXHyMXLihnRAwXSCYaOC2TPBgXFBMfTztOGzgvZy3jPChrPB24PoG','z3jHy2vMDwWTDgvYBwLUyxrPB24TzMfPBgvK','Bwf0y2G','DhjHBNnMB3jTCW','yxjNCW','Bwv0yvTWCM9Wzxj0Et0Nyxj0AwnSztPWDwjSAxnOzwrFDgLTzsDD','vw5ZywzLig9Yig1PC3nPBMCGv2LUzg93CYbYB290ihbPza','Axntzxq','B2XKvgv4DcbUB3qGzM91BMqGAw4GzMLSzs4GtwfRzsbZDxjLigL0ig1HDgnOzxmGzxHHy3rSEsbPBMnSDwrPBMCGD2HPDgvZCgfJzs4Gu2vHCMnOAw5NigzVCJOGiG','DgvZDa','uMvHzcbHifvurI04ihrLEhqGzMLSzsbHCYbHihnUyxbZAg90lwfUy2HVCMvKifTWyxrOi3rHz10GAgvHzgvYihbSDxmGtJP0zxH0ihjVD3mUifrOzsb0ywCGAwrLBNrPzMLLCYb0AguGD2HVBguGzMLSzsWGC28GCMvHzcbVBMX5ihrOzsbSAw5LCYb5B3uGBMvLzcb3AxrOigXPBMvtDgfYDc9SAw5Lrw5KiokaLcb0AguGDgfNihn0yxLZihzHBgLKigzVCIbHihjHBMDLihjLywqUievTChr5igzPBgvZigHHDMuGBM8GzwrPDgfIBguGBgLUzs4GtwL4zwqGteyVq1jmrIWGtLvmlcbHBMqGAw52ywXPzcbvveyTocbHCMuGCMvQzwn0zwq7ihvZzsbLEgfJDcbgAwXLrwrPDcbPBNn0zwfKlG','CxvLC3rPB24','AxnbCMD1BwvUDhnpyMPLy3q','Dg9VBcbYzxnWB25Zzq','Aw50zxjUywXmAwzLy3LJBgu','oYb1C2uGzxHHy3qGCMvWBgfJzw1LBNqGkezPBgvfzgL0ihDPDgGGB2XKvgv4Dc9UzxDuzxH0ksbPBNn0zwfKlG','DxjS','AxnxzwfRtwfW','z3jVAW','Dgv4DerVy3vTzw50l2rLzMLUAxrPB24','yxv0Ag9YAxPHDgLVBL9JB2rL','u2L6ztOG','mJi0lJaUmc4W','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','CgfJA2fNzs5QC29U','Agv4','ls1QC29U','zxHHy3q','zgvMyxvSDe9WDgLVBG','zgLNzxn0','CMvZB2X2zvrLCM1PBMfS','y29TCgLSzvnJCMLWDa','z29Vz2XLq3nLs2v5','EwvZ','l3vZCI9SB2nHBc9IAw4VCMC','q29UDgv4DcbKB2vZig5VDcbZDxbWB3j0ihvZzxiGCxvLC3rPB25Z','yxnJAwK','Bwv0yvTUyw1LpsDKzxnJCMLWDgLVBIDD','ChjVz3jHBs10CMfJzs1LCNjVCG','uxvLC3rPB24G','ihrPBwvKig91DcbHzNrLCIa','ChjVz3jHBs10Aw1LB3v0','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','mteZndK1nxPpqMTvsW','BM90Awz5','vg9VBcbVDxrWDxqGD2fZihrYDw5JyxrLzcbHDca','sw52ywXPzcbvuKWGCgfYyw1LDgvY','Dg9VBenHBgW','Aw5Zzxj0ignVBNrLBNqGBxvZDcbIzsbHihn0CMLUzY4','BgLUzuvUza','DhjHBNnWB3j0','ig11C3qGyMuGysbKzw5Zzsbku09oigfYCMf5ihDPDgHVDxqGzxH0CMeGA2v5CW','ignVBM5Ly3rPB24GDgLTzwqGB3v0','zgf0yq','AhrTBfnUAxbWzxq','z29Vz2XLlwnZzq','CMvWBgfJzsbZDgfYDeXPBMuGBxvZDcbUB3qGzxHJzwvKigvUzeXPBMuU','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbLzgL0ignOyw5NzxmGyw5KihDOEsdIGjqGDgHLigDVywWGAxqGywr2yw5JzxmUifnOB3DUihrVihrOzsb1C2vYigjLzM9Yzsb0AguGy2HHBMDLigLZigfWCgXPzwqUiejLihnWzwnPzMLJlcbLlMCUicDgAxGGDgHLihrVA2vUlxjLzNjLC2GGCMfJzsbPBIb0AguGyxv0AcbJBgLLBNqNihjHDgHLCIb0AgfUicDLzgL0igzPBguNlG','zxjYB3i','Aw52ywXPzf9Yyw5Nzq','ig1HDgnO','tunqifnesYbJBgLLBNqGCMvWB3j0zwqGysbYzwnVDMvYywjSzsbLCNjVCG','CgfZC3rOCM91z2G','yM91BMrLza','AMf2yxnJCMLWDa','Axnnyxa','oIbIB3rOicjSywjLBciGyw5KicjKzxnJCMLWDgLVBIiGyxjLihjLCxvPCMvK','Aw50','zw5JB2rL','lcbpChrPB24G','uhjVz3jHBq','zg9JDw1LBNrtEw1IB2W','r2XVyG','C3rHBgvFC25HChnOB3q','CMvXDwvZDfrLCM1PBMf0Aw9U','BwnWlwf1DgGTCMvXDwLYzwq','sfruuca','uMLWz3jLCc5ZzwfYy2GGywnJzxb0CYbLAxrOzxiGzMLSzsbVCIbMAwXLCYWGBM90igjVDgG','BNv2Aw4','igzVCIbHBIbHBMnOB3jLzcbLzgL0icG','y29TCgXLDgvK','C3rKB3v0rgvJB2rLCG','BhnW','t1bftLjpvvrfuL9bueLFs0vz','qwDLBNqGBw9KzwWGC2v0ig11C3qGBM90igjLigvTChr5','sw5ZCgvJDcbHifborYWGsLbfrYWGv2vIucWGB3iGr0LgigLTywDLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlIbvC2uGrMLSzvjLywqGzM9YihrLEhqU','ig11C3qGBM90ignVBNrHAw4GysbJEwnSzq','l3bPza','uhjVDMLKzxiGBMfTzsbJyw5UB3qGyMuGzw1WDhK','yNvKz2v0vg9Rzw5ZihjLCxvPCMvZig1HBNvHBcbTB2rL','CMvXDwLYzwrmAw5LCW','u3rHCNrLzcbHz2vUDcbYDw4G','lMnTza','Dg90ywW','rM9SBg93lxvWigLUC3rYDwn0Aw9UihnLBNqGDMvYyMf0Aw0GDg8GDgHLigrLBgvNyxrLzcbJB252zxjZyxrPB24U','zMX1C2HLza','tg9HzgvKigzYB206ia','y2HPBgq','A2v5CW','B25JBg9Zzq','ywz0zxjuzxH0','BM9Kzv9TB2r1BgvZ','ywn0AxzL','y29UzMLYBwvK','qxnRvxnLCLrVB2W','t3b0Aw9UywWGBw9KzwWGy2fWywjPBgL0EsbVDMvYCMLKzs4Gq2HVB3nLihrOzsbSzwfZDcbJyxbHyMXLihrPzxiGywrLCxvHDguGzM9YihrOzsb0yxnRoIbGzMfZDgaG4OcuigjVDw5KzwqGBg9VA3vWlcbZzwfYy2GSihn1Bw1HCML6yxrPB24Sig9YihnPBxbSzsbSB3CTCMLZAYb3B3jRoYbGyMfSyw5JzwrGiokaLcbUB3jTywWGAw1WBgvTzw50yxrPB24SihjLDMLLDYWGzgvIDwDNAw5NlcbVCIbTDwX0As1ZDgvWihDVCMS7igbWB3DLCMz1BgaG4OcuigfTyMLNDw91CYWGAgLNAc1YAxnRlcbJCM9ZCY1JDxr0Aw5NlcbVCIb1BNvZDwfSBhKGzgLMzMLJDwX0ihjLyxnVBMLUzY4GvgLLCIbZzwXLy3rPB24GzxHWCMvZC2vZihrHC2SGCMvXDwLYzw1LBNrZig9UBhKSig5VDcbWCM92AwrLCIWGChjPy2uSig9Yigf2ywLSywjPBgL0Es4Gt21PDcbGBw9KzwXuAwvYycb3AgvUig5VigrLBgLIzxjHDguGB3zLCNjPzguGAxmGBMvLzgvKlG','D2LUzg93CW','CMvWBgfJzs5LBMrmAw5L','BMv3vgv4Da','CMvHC29U','zgLYBMfTzq','Dg9VBa','y29UBMvJDa','BMv3rw5KtgLUzq','C2vYDMvYtMfTzq','ks4GvxnLiejHC2HpDxrWDxqGDg8GCMvHzcbPDhmGB3v0Chv0igfUzcblAwXSu2HLBgWGDg8GC3rVCcbPDc4','ywjVCNq','l3vZCI9IAw4VC2G','uhjVz3jHBsbJyw5UB3qGyMuGAw5JBhvKzwqGAw4GAxrZig93BIb0B29SignHDgfSB2C','mtK4lJe4lJaUma','uMLWz3jLCc5ZzwfYy2GGzxHWBgLJAxqGzMLSzxmGBxvZDcbIzsbHyNnVBhv0ztOGjW','Dw5RBM93BL9ZBMfWC2HVDdOGvw5HyMXLihrVihjLywqG','zxHPDcbJB2rLia','C2LNBMfSqwrHChrLCG','mJrWzxrszxa','rNvSBcbYDw4GsuqGCMv0DxjUzwqGyNKGqxnZAwDUvgfZAY4','DMvYAwzPzxi','C3rHCNrmAw5L','yxbWzw5K','C25HChnOB3q','revfufnfruTFqvbjx0Tfwq','CgfYC2vjBNq','u2TPBgXZihbYB3zPzguGC3bLy2LHBgL6zwqGA25VD2XLzgDLigfUzcbZDgvWlwj5lxn0zxaGz3vPzgfUy2uU','ls1MB2XSB3C','mJqWlJaUmc4W','y2f1C2u','revfueLorLjbx0fqsv9lrvK','vw5RBM93BIbHBMnOB3jLzcbVCgvYyxrPB24GjW','tM8Gy29TBwfUzhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','rxHLy3v0zxmGysbZAgvSBcbJB21Tyw5K','y2XVC2u','y2XPzw50sw5MB3jTyxrPB24','Cgf0Aa','qMLVBwuGtgfUz3vHz2uGu2vYDMvY','qMfJA2DYB3vUzcbTzxnZywDLigfJy2vWDgvKoIa','qxqGBw9ZDca','yMfSyw5Jzwq','ignVBxbSzxrLzc4','Dw5RBM93BG','C2TPBgXZ','CNvUsw5cywnRz3jVDw5K','ienHDxnLoIa','ugf0y2GGBxvZDcbIzwDPBIb3AxrOigeGw1bbveGJvefhxsbOzwfKzxiU','Aw5JBhvKzxm','C3rKB3v0tM9YBwfSAxPLCG','y2XLyw51Ca','Aw5FChjVz3jLC3m','BMv3tgLUzunVDw50','y29KzvbVAw50qxq','y2fWywjPBgL0AwvZ','oIaICxvLC3rPB24IigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','sxnVBgf0zq','zxjYB3jdB2rL','ANnJB25MAwCUANnVBG','Dg9VBc1LCNjVCG','C3bSAwnL','Dhj1zwnVBg9Y','y2vPBa','yxjNDw1LBNrZvgv4Da','zxHLy3v0Aw9Uu2nVCgu','DgLTzw91De1Z','CMvJzw5JEurHExm','iIbPCYbYzxnLCNzLza','ChjVz3jHBsbYzxn1Bhq','zgvSAw1PDgvY','BgLUzq','l29WDc9OB21LyNjLDY9IAw4VCMC','zwzMB3j0','igj5DgvZlcbLEgnLzwrPBMCGDgHLig9IC2vYDMf0Aw9Ulxn0B3jLigjVDw5Kig9Mia','q0rqqvri','DgHLBG','CM91DgLUzW','C3rHBgvFC25HChnOB3q6iezPBguG','rMLSzsa','yMLUza','ihjLCxvPCMvZihvYBcbMB3iGAhr0Ccb0CMfUC3bVCNq','zMLSzxm','zgvSzxrL','ignOyw5NzwqGB24GzgLZAZSGCMuTCMvHzcb3AxrOiezPBgvszwfKigfUzcbYzxrYEsb3AxrOihrOzsbMCMvZAcb0ywCU','BwnWlwnSB3nLlwzHAwXLza','qMfZAa','ig11C3qGyMuGysbMAw5PDguGsLnptIbUDw1Izxi','igj5DgvZoYb1C2uGzxHHy3qGCMvWBgfJzw1LBNqGkezPBgvfzgL0ihDPDgGGB2XKvgv4Dc9UzxDuzxH0ksbPBNn0zwfKlG','D2fYBG','ywDLBNrjza','AgvHzgvY','BgfIzwW','yNL0zxncEurPz2vZDa','v2fYBMLUzW','pc9ZExn0zw0TCMvTAw5Kzxi+','B25uzxjTAw5HBevYCM9Y','CMfUzg9T','C2vHCMnOrgvWDgG','Dhj1BMm','B25Jzq','lunVBw1HBMq','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','ignSB3nLihrPBwvKig91Da','AxrLBxm','yw1IAwD1B3vZx3nUyxbZAg90x3rHzW','uMuTCMvHzcb0AguGCMvXDwLYzwqGBgLUzxmGD2L0AcbgAwXLuMvHzcbHBMqGCMv0CNKGD2L0Acb0AguGzNjLC2GGDgfNlG','vw50AxrSzwq','BM9UBMvNyxrPDMu','zMLSDgvY','B2jZzxj2yxrPB25Z','DgHPBMTPBMC','qMfJA2DYB3vUzcbZDwjHz2vUDcbYzxf1zxn0igzHAwXLzc4','DMfSDwu','te9dquXbufbeqvrb','y29UDgv4DeXPBMvZ','ugf0AcbPCYbUB3qGysbMAwXLoIa','cIGOksa9pIb7cIaGiNvZzsbZDhjPy3qIoWOGignVBNn0ihnVDxjJzsa9igDSB2jHBfrOAxmU','BwfUDwfS','Ahr0Chm6lY9HCgKUDgf2AwX5lMnVBs9ZzwfYy2G','Ag92zxi','ywDLBNrZ','zxHLy3v0Aw9Uqxv0Ag9YAxPHDgLVBG','Ahr0Chm6lY93D3CUz29Vz2XLyxbPCY5JB20Vy3vZDg9TC2vHCMnOl3yX','B3nJ','z2v0t3DUuhjVCgvYDhLoyw1LCW','yMvHCMvY','C3LTyM9S','thnW','u2vUze1LC3nHz2u','DgfPBhm','ig11C3qGyMuGysbku09oig9IAMvJDa','BNbT','C29YDa','zxzPy3rmzwfZDfjLy2vUDgX5vxnLzfbHDgG','lwXPBMuGC25HChnOB3qU','CgvYBwLZC2LVBKnSyxnZ','tfnqihnLCNzLCIbWCM9JzxnZig11C3qGzxHWB3nLihn0zg91DcbHBMqGC3rKAw4GC3rYzwfTCW','w1jfrefdvevexq','Cgf0DgvYBIbTDxn0igjLigf0ig1VC3qG','Dw5ZzwvUx2XPBMvZoIb0AguGCMvXDwLYzwqGBgLUzxmGBxvZDcbIzsbVyNnLCNzLzcbIEsbgAwXLuMvHzcbIzwzVCMuGDgHLEsbJyw4GyMuGDxnLzcbHCYbLzgL0igfUy2HVCNmU','ChjVz3jHBs1HyM9YDgvK','DgL0Bgu','D2fPDezVCKrPywDUB3n0AwnZ','AgfZAgXPBMu','DgvYBwLUyxrPB25xAw5KB3DnCW','Aw1Hz2uVz2LM','y29KzvzLCMLMAwvY','AxngAwXL','nJuZotKXmMz5C0PVvG','rxHWzwn0zwqGysbJyw5VBMLJywWGChjVDMLKzxiTCxvHBgLMAwvKig1VzgvSihnLBgvJDg9Y','zxnJyxbL','vxnLiezPBgvszwfKihDPDgGGBgLUzvn0yxj0l2XPBMvfBMqGDg8GAw5ZCgvJDcbZCgvJAwzPyYbZzwn0Aw9UCYbVzIb0AguGzNvSBcbVDxrWDxqU','C3rVCMfNzurPCG','ig11C3qGBM90igjLigvTChr5lG','Dg9VBenHBgXjza','y29UDgvUDhm','CMLWz3jLCa','zgvUBY5QC29UyW','zMLSzunVDw50','Bwf0y2HLCW','zgLZy292zxi','igLZihvUA25VD24GzM9Yia','CM93CW','Bw9KzwXjzgvUDgL0Eq','mc4WlJaUma','C3rHCNrLza','C3vIywDLBNqTy2XVC2LUzW','AxneyxrHvMLLDW','AxneAxnWB3nLza','CgvUzgLUzW','CMvXDwvZDa','CMvHze9UBhLiAw50','B2f1DgG','B3v0Chv0qNvKz2v0qNL0zxm','DgfN','ywnXDwLYzuj5DgvZ','y29UDgv4Da','ignVBNrHAw5Zie5vtcbIExrLCY4','C3bSAxq','Aw1Hz2uVCg5N','ChvIBgLZAgvKqxq','B2jQzwn0','C29Tzq','D29YA3nWywnLu3LTyM9SihjLCxvPCMvZigeGBM9UlwvTChr5ihf1zxj5','zgvMyxvSDen3za','C2vYDMvYswq','DgvYBwLUywW','C2L0ztO','B3v0y29Tzq','BgvUz3rO','uMvHC29UAw5Nig9WDgLVBIbYzxf1AxjLCYbTB2rLig9YigvMzM9YDa','ywnXDwLYzq','l2jPBI9YzW','C2vUzfjLCxvLC3q','oYbYzs1YzwfKihrOzsbMAwXLihDPDgGGrMLSzvjLywqGzMLYC3qU','y3DK','Bwv0yxrHz3m','uNvUigeGBM9UlwLUDgvYywn0AxzLihnOzwXSignVBw1HBMqGD2L0Acb0Aw1LB3v0ihbYB3rLy3rPB24Gyw5KignHChr1CMuGC3rKB3v0l3n0zgvYCI4GvxnLiezPBgvszwfKigzVCIbMAwXLignVBNrLBNrZlIbvC2uGB3v0Chv0uMvNzxGGzM9YigzVy3vZzwqGzM9YzwDYB3vUzcbVDxrWDxqSigLNBM9Yzu91Dhb1Dcb3AgvUig9UBhKGDgHLigv4AxqGC3rHDhvZig1HDhrLCNmSigfUzcbYDw5jBKjHy2TNCM91BMqGzM9YihnLCNzLCNmGB3iGD2f0y2HLCNm7igzVBgXVDYbIywnRz3jVDw5Kihj1BNmGD2L0AcbcyxnOt3v0Chv0ig9YieTPBgXtAgvSBc4GuhjVDMLKzsbHignVBMnPC2uGDxnLCI1MywnPBMCGChvYCg9ZzsbPBIbKzxnJCMLWDgLVBI4GrgvMyxvSDcb0Aw1LB3v0oIa','BxrPBwvnCW','Aw5KzxHpzG','BgfUz3vHz2u','Dgv4DerVy3vTzw50l2rPze9Wzw4','zgLZCg9Zzq','B3bLCMf0Aw9UCW','D2fPDa','y2HHCMfJDgvYig11C3qGyMuGysbWB3nPDgL2zsbPBNrLz2vY','C3rHBgvFC25HChnOB3q6ifvUywjSzsb0BYbYzwfKia','z2vUzxjHBa','yw5UB3rHDgLVBNm','Bwf4rw50CMLLCW','BgLMzwn5y2XL','Dhj1BMnHDgvK','y2XPzw50twv0ywrHDgfvCMW','A2v5','tM8GAg92zxiGAw5MB3jTyxrPB24','y2fUB25Py2fS','Dg90ywXqCM9KDwnLza','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','A2LUza','Bwv0yq','Aw1Hz2uVD2vICa','Dg91y2HqyxrO','BM9Fy2HHBMDL','C3jJl21VzgvSCY9TB2nRlw1VzgvSlNrZ','zgvZy3jPChrPB24','y2HHCKnVzgvbDa','CMvQzwn0','C3rVChbPBMC','C2v0','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','oWOGigrLBgv0zsbNBg9IywXuAgLZlG','tM8GC3LTyM9SCYbMB3vUza','z2fW','ihrVB2WGy2fSBcb0Aw1LzcbVDxq','vxnLihrOAxmGD2HLBIbHihrHC2SGBwf0y2HLCYbHBIbHDMfPBgfIBguGC2TPBgWGzgvZy3jPChrPB24U','yw50AhjVCgLJ','C2vZC2LVBG','ywXYzwfKEs10zxjTAw5HBa','Bg9JyxrPB24','DgfNrM9YrgLNzxn0','C2vYDMvY','C3rKAw4','Aw5JBhvKzq','z2v0vg9KB3m','DhjPBuvUza','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrZ','zgvSzxrLihn0yxj0tgLUzsbTDxn0ig5VDcbLEgnLzwqGzw5KtgLUzs4','z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y','y2XLyxi','t3b0Aw9UywWGC2HVCNqGzgLZCgXHEsbUyw1LigzVCIb0AgLZigrLBgvNyxrLzcbYDw4UifvZzwqGB25SEsbMB3iGzgLZCgXHEsbHBMqGBM90ihnLBNqGDg8GDgHLigfNzw50lG','y29UDgv4DeXPBMS','BwnFzwLK','BgLUzu51Bq','v2vIu2vHCMnO','zxHLy3v0zu5LC3rLzfrVB2W','yxjNDw1LBNrZ','zMLUywXnzxnZywDL','D3jPDgvgAwXL','ls1NBg9I','vg9KBYbPDgvTCYbTDxn0igHHDMuGDw5PCxvLieLeCW','yxbWBgLJyxrPB24VANnVBG','C3rHBgvFC25HChnOB3q6ihrOzsbMAwXLignOyw5NzwqGC2LUy2uGC25HChnOB3qG','yNvKz2v0vg9Rzw5Z','ChjVz3jHBsb0B29SignHBgWGywrTAxnZAw9UigLZignSB3nLza','BwnWlxjLCxvLC3qTDgLTzw91Da','y29TBwfUzhm','C3bSAwnLsw5KzxG','B2XKvgv4Da','r0XpqKLhtK9srq','AxndCNLWDg9lzxK','ChjLChjVy2vZCW','qMfJA2DYB3vUzcbZDwjHz2vUDca','ue9tva','zMLYC3q','qxv0Ag9YAxPHDgLVBG','lNrZEa','ChjPB3jPDhK','CMvWBgfJzs5ZDgfYDeXPBMu','oWOGignVBNn0iefZEw5JrNvUy3rPB24GpsbpyMPLy3qUz2v0uhjVDg90ExbLt2yOyxn5BMmGzNvUy3rPB24GkcKGE30PlMnVBNn0CNvJDg9YoWOGignVBNn0ig1HAw4GpsbUzxCGqxn5BMngDw5JDgLVBIGIDg9VBhmIlcaNiNvZzsbZDhjPy3qIo1XUjYaRihnVDxjJzsK7cIaGt2jQzwn0lMrLzMLUzvbYB3bLCNr5kg1HAw4SicjUyw1LiIWGEYb2ywX1ztOGiM1HAw4Iih0PoWOGigDSB2jHBfrOAxmU','C2vUze5VDgLMAwnHDgLVBG','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','y2HHBMDL','yxjNDw1LBNriAw50','ChjVy2vZC0DYB3vWswq','zNvUy3rPB24','wefjx0fqsv9lrvK','BwLU','AxnqCM94Eq','DhvWBgu','CMvHza','zgLHz25VC3rPy3ngB3jgAwXL','C291CMnLu3rHCNq','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','z2v0','Ahr0Ca','BgLI','yxr0ywnO','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','y3vZDg9T','ChjVz3jHBsb0B29SigjYAwrNzsbPBMzYyxn0CNvJDhvYzsbMywLSzwq','iYmGu2TPBgW6ia'];_0x111c=function(){return _0x168ef2;};return _0x111c();}async function withLspTimeout(_0x1823b4,_0x7e99c6,_0x1ffbf2){const _0x4ed167={_0x2f5f8a:0x613,_0x4c39b9:0x73e,_0x3d57c7:0x698,_0x4fecd0:0x8bd},_0x3eddf6={_0x118915:0xef};if(!Number[_0x385eb2(0x42b,0x58a,_0x4ed167._0x2f5f8a,0x4f8)](_0x7e99c6)||_0x7e99c6<0x1)throw new Error('Invalid\x20LSP\x20timeout\x20for\x20'+_0x1ffbf2+_0x4a2430(_0x4ed167._0x4c39b9,_0x4ed167._0x3d57c7,_0x4ed167._0x4fecd0,0x689));function _0x4a2430(_0xfc873c,_0x55b31f,_0x46562c,_0xa02a11){return _0x4eedea(_0xfc873c-0x180,_0xa02a11-0x2a0,_0x55b31f,_0xa02a11-_0x3eddf6._0x118915);}let _0x3afb17;function _0x385eb2(_0x3fd65b,_0x4d695e,_0xc1ae1f,_0x5c662c){return _0x4eedea(_0x3fd65b-0x185,_0x4d695e-0x11f,_0x3fd65b,_0x5c662c-0x5f);}try{return await Promise['race']([_0x1823b4,new Promise((_0x1723ce,_0x423615)=>{const _0x40246c={_0x734b0b:0x7a2,_0x18182a:0xf6,_0x52fe10:0x346,_0x2c2486:0x52c,_0x27c676:0x4d4,_0x27cb7b:0x574},_0x3eb3d9={_0x2ffaf8:0x2e3};_0x3afb17=setTimeout(()=>{function _0x1616ca(_0x18fb70,_0x2db0a4,_0x1c4ca4,_0x54816){return _0x7d60(_0x18fb70- -_0x3eb3d9._0x2ffaf8,_0x1c4ca4);}function _0xd2d841(_0x353e7a,_0x50fc62,_0x5ca1be,_0xc76116){return _0x7d60(_0x353e7a-0x13d,_0x50fc62);}_0x423615(new Error(_0xd2d841(0x705,0x60e,_0x40246c._0x734b0b,0x7ff)+_0x1ffbf2+_0x1616ca(0x42,0x153,_0x40246c._0x18182a,0x120)+_0x7e99c6+_0x1616ca(_0x40246c._0x52fe10,_0x40246c._0x2c2486,_0x40246c._0x27c676,_0x40246c._0x27cb7b)));},_0x7e99c6);})]);}finally{if(_0x3afb17!==void 0x0)clearTimeout(_0x3afb17);}}async function createLspClient(_0x272536){const _0x1f9794={_0x3313bb:0x4e0,_0x5acfcb:0x55b,_0x2595a9:0x5f0,_0x4b6eb1:0x3ce,_0x191aa2:0x44d,_0x4c9e35:0x4fa,_0x78d411:0x79b,_0x2d56df:0x6c0,_0x54228b:0x39c,_0x3cd098:0x6a6,_0x43fb21:0x491,_0xdcca63:0x33f,_0x1d2943:0x456,_0x3ab7c8:0x4a6,_0x205915:0xdb,_0x39e636:0x151,_0x441714:0x92,_0x497edc:0x172,_0x69a2e0:0x6f,_0x2fb2a5:0x25c,_0x15ffdc:0x575,_0x2cde63:0x5ff,_0x4d0476:0x7a4,_0x151499:0x2b1,_0x16638e:0x1d1,_0x5331a6:0x131,_0x526031:0x2a8,_0x5799a9:0x453,_0x23023b:0x421,_0x6593c5:0x30a,_0x3ff5cb:0x3ba,_0x2b15ac:0x36b,_0xfef37c:0x11d,_0x20022c:0x25e,_0x503dc1:0x411,_0x181c62:0x4ba,_0x16726f:0x41b,_0x1d2e0b:0x6d3,_0x5acf9b:0x420,_0x4c7673:0x4e8,_0x44897d:0x513,_0x1e99c8:0x550,_0x39c008:0x79e,_0x2dac70:0x8e3,_0x30a1f7:0x6e6,_0x500b09:0x3ff,_0x8be300:0x5dd,_0x51b877:0x5c1,_0x1e3d82:0x329,_0x3b052a:0x190,_0x3d360d:0x250,_0x1bd539:0x4bc,_0x2dfeb3:0x47b},_0x10dddd={_0x4248d0:0x2e7,_0x163abc:0x3bd,_0x482623:0x8cc,_0x15bff2:0x707,_0x32e077:0x47e,_0x5c4355:0x9c1,_0x4e68e8:0x4b7,_0x5e84d2:0x613,_0x11f7ef:0x683},_0x449b29={_0x371a6b:0x174},_0x44c0ad={_0x321979:0x10e},_0x5d7792={_0x4c16b9:0x4b,_0x59d633:0xd1,_0x1a454d:0x1c5,_0x405bb9:0x27e,_0x5b931a:0x163},_0x3bb1ed={_0x440201:0x3f7,_0x268843:0x1fd},_0xf5ab8b={_0x290f8a:0xc9,_0x24ec94:0x148},_0x89d4e6={_0x13634f:0x245,_0x2e77a5:0x653},_0x26e9fa={_0x6fd84f:0x1d},_0x2606c1={_0x534857:0x113,_0x140da0:0x279},_0x42b0b9={_0x1c56ae:0x1ef},_0x24dfc1={_0x2af021:0x5d8,_0x522643:0x62e},_0x2e0141={_0x4aa60b:0x5e},_0x4b8d11={_0x48f0c5:0x7fc,_0x182b2c:0x49c,_0x1acbf9:0x62f},_0x7bfa42={_0x399974:0x8f},_0x3973b8={_0x2384b4:0x546,_0x3ce694:0x457,_0x1522d2:0x263,_0x364a81:0x311},_0xd16d10={_0x15246a:0x5d,_0x3c8e2f:0x15b},_0x53f4b9={_0x1671a4:0x19,_0x1acfaf:0x92},_0x212642={_0x4b1f5f:0x5d3,_0x365f35:0x489},_0x251d1e={_0x4fcc07:0x4e7,_0x24ff90:0x54e,_0x266849:0x660,_0x4556f4:0x517},_0x55c261={_0x196f4d:0x20c,_0x4db977:0x6d5,_0x154467:0x5b4},_0x1faf6a={_0x319a05:0x791,_0x45cfc1:0x5a8,_0x1f7038:0x8d5,_0x4af8ee:0x97d,_0x76b241:0x7d0,_0x4a43f3:0x3c1,_0x8e12d0:0x4c5,_0x3f7ce8:0x721,_0x2a7330:0x624,_0x5f3512:0x828,_0x467e28:0x62c},_0x17b048={_0x2ff514:0x16b},_0x7a89b9={_0x45d4af:0x38},_0x14b265={_0x34592c:0x1b1,_0x503013:0x199,_0x1d0277:0x81},_0x36617e={_0x2e4d1e:0x334,_0x3f5ed7:0x394,_0x24d3d5:0x33d,_0x567509:0x18e,_0x4874ae:0x5dc,_0x43f1e2:0x4fc,_0x59a78e:0x8,_0x5e30b8:0xb1,_0x4cf8e5:0x564,_0x151a7a:0x651,_0x435e56:0x676,_0x2824d2:0x429},_0x5db309={_0x2a07f6:0x1a3,_0x3ff6d9:0x11d},_0x7e3322={_0x32a007:0x65e,_0x1933ab:0x40e,_0x357c47:0x3a5},_0x390af9={_0x56814c:0x9b,_0x30fdfb:0x19f},_0x2a8a21=_0x272536[_0x32df68(_0x1f9794._0x3313bb,_0x1f9794._0x5acfcb,0x342,0x5ee)][_0x32df68(_0x1f9794._0x2595a9,_0x1f9794._0x4b6eb1,0x544,0x44f)][_0x32df68(0x483,_0x1f9794._0x191aa2,0x242,_0x1f9794._0x4c9e35)];function _0x32df68(_0x44d8cc,_0xa50e28,_0x4bcb94,_0x3efc15){return _0x4eedea(_0x44d8cc-_0x390af9._0x56814c,_0xa50e28-0xe3,_0x3efc15,_0x3efc15-_0x390af9._0x30fdfb);}const _0x541291=_0x272536[_0x3fce9b(0x61c,0x886,0x6ef,_0x1f9794._0x78d411)][_0x3fce9b(_0x1f9794._0x2d56df,_0x1f9794._0x54228b,0x562,0x5ff)][_0x3fce9b(_0x1f9794._0x3cd098,0x2d1,0x50f,_0x1f9794._0x43fb21)];if(!_0x2a8a21||!_0x541291)throw new Error(_0x3fce9b(_0x1f9794._0xdcca63,_0x1f9794._0x1d2943,_0x1f9794._0x3ab7c8,0x47a));const _0x543dba=_0x272536['requestTimeoutMs']??DEFAULT_LSP_REQUEST_TIMEOUT_MS,_0x4caa9c=createMessageConnection(new StreamMessageReader(_0x2a8a21),new StreamMessageWriter(_0x541291)),_0x17d5a4=new Map(),_0x123683=new Map();let _0x263656=![];const _0x50497a=async(_0x593cdb,_0x3537a5)=>{const _0x2de957={_0x32e44c:0x50,_0x558fd7:0x65};function _0x1a017b(_0x2074b1,_0x3a4ecc,_0x1e37af,_0x56141d){return _0x3fce9b(_0x3a4ecc,_0x3a4ecc-_0x2de957._0x32e44c,_0x56141d- -0x92,_0x56141d-_0x2de957._0x558fd7);}return withLspTimeout(_0x4caa9c[_0x1a017b(_0x7e3322._0x32a007,_0x7e3322._0x1933ab,_0x7e3322._0x357c47,0x44d)](_0x593cdb,_0x3537a5),_0x543dba,_0x593cdb);};_0x4caa9c[_0x32df68(_0x1f9794._0x205915,0x145,_0x1f9794._0x39e636,-0x94)](_0x32df68(_0x1f9794._0x441714,_0x1f9794._0x497edc,-_0x1f9794._0x69a2e0,_0x1f9794._0x2fb2a5),_0x9f903e=>{const _0x1a8878={_0x410ba9:0x17e,_0x5c1f95:0x31,_0xaa0828:0xb7};_0x17d5a4[_0x4dc0cd(_0x36617e._0x2e4d1e,_0x36617e._0x3f5ed7,_0x36617e._0x24d3d5,0x121)](_0x9f903e[_0x4dc0cd(0x38,-0xcd,_0x36617e._0x567509,0x358)],_0x9f903e[_0x9b2969(0x5e8,0x483,0x83c,0x5e4)]);const _0x5eadbe=_0x123683[_0x9b2969(0x531,0x46e,_0x36617e._0x4874ae,_0x36617e._0x43f1e2)](_0x9f903e[_0x4dc0cd(_0x36617e._0x59a78e,0x3eb,0x18e,_0x36617e._0x5e30b8)]);if(!_0x5eadbe)return;function _0x9b2969(_0x2a4690,_0xaac5d6,_0x21c8e1,_0x34044d){return _0x32df68(_0x2a4690-_0x5db309._0x2a07f6,_0x34044d-0x14d,_0x21c8e1-_0x5db309._0x3ff6d9,_0x21c8e1);}_0x123683[_0x9b2969(_0x36617e._0x4cf8e5,_0x36617e._0x151a7a,_0x36617e._0x435e56,_0x36617e._0x2824d2)](_0x9f903e['uri']);function _0x4dc0cd(_0x378b08,_0x1d26ce,_0x4cee86,_0x283bf0){return _0x32df68(_0x378b08-_0x1a8878._0x410ba9,_0x4cee86- -_0x1a8878._0x5c1f95,_0x4cee86-_0x1a8878._0xaa0828,_0x283bf0);}for(const _0x2c2284 of _0x5eadbe)_0x2c2284();}),_0x4caa9c['listen']();function _0x3fce9b(_0x36b4e3,_0x28cdf2,_0x1113f4,_0x3cfd54){return _0xa5377c(_0x36b4e3,_0x28cdf2-_0x14b265._0x34592c,_0x1113f4-_0x14b265._0x503013,_0x1113f4-_0x14b265._0x1d0277);}let _0x289aa2;try{_0x289aa2=await _0x50497a('initialize',{'processId':process[_0x3fce9b(_0x1f9794._0x15ffdc,0x44a,_0x1f9794._0x2cde63,_0x1f9794._0x4d0476)],'rootUri':uriForPath(_0x272536[_0x3fce9b(_0x1f9794._0x151499,_0x1f9794._0x16638e,0x2a8,_0x1f9794._0x5331a6)]),'workspaceFolders':[{'uri':uriForPath(_0x272536[_0x3fce9b(0xa4,0x494,_0x1f9794._0x526031,0x17b)]),'name':_0x272536[_0x32df68(_0x1f9794._0x5799a9,0x37a,0x535,_0x1f9794._0x23023b)]['id']}],'initializationOptions':_0x272536[_0x32df68(_0x1f9794._0x6593c5,0x55b,_0x1f9794._0x3ff5cb,_0x1f9794._0x2b15ac)][_0x32df68(0x2f3,0xc5,-_0x1f9794._0xfef37c,_0x1f9794._0x20022c)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':[_0x32df68(0x28f,0x11f,0x2c5,0x214),_0x32df68(_0x1f9794._0x503dc1,_0x1f9794._0x181c62,_0x1f9794._0x16726f,0x690)]},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});}catch(_0x1c930d){_0x4caa9c[_0x3fce9b(_0x1f9794._0x1d2e0b,_0x1f9794._0x5acf9b,_0x1f9794._0x4c7673,_0x1f9794._0x44897d)](),_0x272536[_0x32df68(_0x1f9794._0x1e99c8,_0x1f9794._0x5acfcb,0x3e7,0x4cf)][_0x3fce9b(0x488,0x490,0x562,_0x1f9794._0x39c008)][_0x3fce9b(0x71e,_0x1f9794._0x2dac70,_0x1f9794._0x30a1f7,0x728)]();throw _0x1c930d;}_0x4caa9c['sendNotification'](_0x3fce9b(_0x1f9794._0x500b09,0x51f,_0x1f9794._0x8be300,_0x1f9794._0x51b877),{});const _0x49a44f={'serverId':_0x272536[_0x32df68(_0x1f9794._0x1e3d82,0x37a,0x40b,_0x1f9794._0x3b052a)]['id'],'root':_0x272536[_0x3fce9b(_0x1f9794._0x3d360d,0x487,_0x1f9794._0x526031,_0x1f9794._0x1bd539)],'connection':_0x4caa9c,'diagnostics':_0x17d5a4,'capabilities':_0x289aa2[_0x32df68(0x4f7,0x2c0,0x7e,_0x1f9794._0x2dfeb3)]??{},'notify':{async 'open'({path:_0x57ef11}){function _0x496e17(_0xc2f0d9,_0x1f7005,_0x2e19a5,_0x552a3c){return _0x32df68(_0xc2f0d9-0x23,_0x552a3c-0x172,_0x2e19a5-_0x7a89b9._0x45d4af,_0x1f7005);}function _0xe30bbf(_0x397704,_0x328e01,_0x191d31,_0xc1643b){return _0x3fce9b(_0x191d31,_0x328e01-0x137,_0xc1643b-0x29b,_0xc1643b-_0x17b048._0x2ff514);}const _0x4256b7=await readFile(_0x57ef11,_0x496e17(0x56d,0x434,_0x1faf6a._0x319a05,_0x1faf6a._0x45cfc1));_0x4caa9c[_0xe30bbf(_0x1faf6a._0x1f7038,0x728,_0x1faf6a._0x4af8ee,_0x1faf6a._0x76b241)](_0x496e17(0x65b,_0x1faf6a._0x4a43f3,0x5d5,_0x1faf6a._0x8e12d0),{'textDocument':{'uri':uriForPath(_0x57ef11),'languageId':getLanguageId(_0x57ef11)??_0x496e17(_0x1faf6a._0x3f7ce8,_0x1faf6a._0x2a7330,_0x1faf6a._0x5f3512,_0x1faf6a._0x467e28),'version':0x1,'text':_0x4256b7}});},async 'change'({path:_0x35add3,version:_0x16b3df}){const _0x8eb21c={_0x3cd68f:0x32},_0x4390c4=await readFile(_0x35add3,_0x5020a4(0x37d,0x368,_0x55c261._0x196f4d,0x247));function _0x5020a4(_0x28c551,_0x293895,_0x5b8e60,_0x47f56a){return _0x3fce9b(_0x28c551,_0x293895-_0x8eb21c._0x3cd68f,_0x293895- -0x262,_0x47f56a-0xf0);}function _0x40ae62(_0x2daf7e,_0x10218f,_0x20dc65,_0x34f88a){return _0x3fce9b(_0x34f88a,_0x10218f-0x25,_0x10218f-0x7f,_0x34f88a-0x3c);}_0x4caa9c[_0x40ae62(_0x55c261._0x4db977,_0x55c261._0x154467,0x697,0x52d)]('textDocument/didChange',{'textDocument':{'uri':uriForPath(_0x35add3),'version':_0x16b3df},'contentChanges':[{'text':_0x4390c4}]});},async 'close'({path:_0x1f2461}){const _0xb92713={_0x48bf91:0x169,_0x40f641:0x251,_0x541b6d:0x1ef};function _0x274a10(_0x22a3b9,_0x271a16,_0x279fc5,_0x2a2efe){return _0x32df68(_0x22a3b9-_0xb92713._0x48bf91,_0x271a16-_0xb92713._0x40f641,_0x279fc5-_0xb92713._0x541b6d,_0x279fc5);}function _0x51d219(_0x16bb1a,_0x9561ca,_0x8d05ff,_0x3204ce){return _0x3fce9b(_0x8d05ff,_0x9561ca-0x11f,_0x16bb1a- -0x4e,_0x3204ce-0x141);}_0x4caa9c[_0x51d219(_0x251d1e._0x4fcc07,0x59d,0x4a5,_0x251d1e._0x24ff90)](_0x274a10(0x6db,_0x251d1e._0x266849,_0x251d1e._0x4556f4,0x5cf),{'textDocument':{'uri':uriForPath(_0x1f2461)}});}},'request':{async 'definition'(_0x2702f7){const _0x2070ac={_0x3d6cce:0x1f0,_0x535ebb:0x39f,_0xdb7f37:0x7b};function _0x26500c(_0x404b27,_0x4c098a,_0x1cc2e4,_0x23c2d7){return _0x32df68(_0x404b27-_0x2070ac._0x3d6cce,_0x404b27-_0x2070ac._0x535ebb,_0x1cc2e4-_0x2070ac._0xdb7f37,_0x23c2d7);}return normalizeLocations(await _0x50497a(_0x26500c(_0x212642._0x4b1f5f,0x3ef,0x460,_0x212642._0x365f35),textDocumentPosition(_0x2702f7)));},async 'references'(_0x83ead2){function _0x3d53c4(_0x2561ee,_0x177b91,_0x5d1e62,_0x32136d){return _0x3fce9b(_0x177b91,_0x177b91-_0x53f4b9._0x1671a4,_0x5d1e62- -0x49c,_0x32136d-_0x53f4b9._0x1acfaf);}return normalizeLocations(await _0x50497a(_0x3d53c4(_0xd16d10._0x15246a,-0x23c,-_0xd16d10._0x3c8e2f,0x26),{...textDocumentPosition(_0x83ead2),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0x155f2d){function _0x2d0a50(_0x132d4e,_0x4042ae,_0x54d758,_0x3bddbe){return _0x3fce9b(_0x54d758,_0x4042ae-0x115,_0x4042ae-0x178,_0x3bddbe-0x46);}return await _0x50497a(_0x2d0a50(_0x3973b8._0x2384b4,_0x3973b8._0x3ce694,_0x3973b8._0x1522d2,_0x3973b8._0x364a81),textDocumentPosition(_0x155f2d))??null;},async 'documentSymbol'(_0xdd32ba){const _0x22a35e={_0x3d079b:0x1f1,_0x15464f:0x2c7};function _0xa81b6f(_0x3e3575,_0x1666fc,_0x1d03ac,_0x40662b){return _0x3fce9b(_0x40662b,_0x1666fc-_0x22a35e._0x3d079b,_0x1d03ac- -_0x22a35e._0x15464f,_0x40662b-0x18a);}return await _0x50497a(_0xa81b6f(-0x4,0x7b,0x1bc,0x145),{'textDocument':{'uri':uriForPath(_0xdd32ba)}})??[];},async 'workspaceSymbol'(_0x5bbff6){function _0x4e5ff9(_0x54cd6c,_0x362241,_0x221dff,_0x42f0f7){return _0x32df68(_0x54cd6c-0x4c,_0x362241-_0x7bfa42._0x399974,_0x221dff-0x74,_0x54cd6c);}return await _0x50497a(_0x4e5ff9(_0x4b8d11._0x48f0c5,0x5ae,_0x4b8d11._0x182b2c,_0x4b8d11._0x1acbf9),{'query':_0x5bbff6})??[];},async 'implementation'(_0x2a4680){function _0x4c88d1(_0x4460b7,_0x1ad286,_0x11488a,_0x4297b7){return _0x3fce9b(_0x11488a,_0x1ad286-0xc5,_0x4297b7- -_0x2e0141._0x4aa60b,_0x4297b7-0x157);}return normalizeLocations(await _0x50497a(_0x4c88d1(_0x24dfc1._0x2af021,_0x24dfc1._0x522643,0x434,0x606),textDocumentPosition(_0x2a4680)));},async 'prepareCallHierarchy'(_0x3113a2){function _0x4b9001(_0xc64432,_0x47a6ec,_0x3f86b5,_0x11abcf){return _0x32df68(_0xc64432-0x160,_0x47a6ec- -0x2e8,_0x3f86b5-_0x42b0b9._0x1c56ae,_0x3f86b5);}return await _0x50497a(_0x4b9001(-_0x2606c1._0x534857,0xf5,_0x2606c1._0x140da0,-0x68),textDocumentPosition(_0x3113a2))??[];},async 'incomingCalls'(_0x419b3b){function _0x491d7b(_0x4da041,_0x2d2be2,_0x57cfed,_0x4d8ea3){return _0x3fce9b(_0x4da041,_0x2d2be2-_0x26e9fa._0x6fd84f,_0x4d8ea3-0xed,_0x4d8ea3-0x27);}return await _0x50497a(_0x491d7b(_0x89d4e6._0x13634f,_0x89d4e6._0x2e77a5,0x1f4,0x42d),{'item':_0x419b3b})??[];},async 'outgoingCalls'(_0x5246a7){return await _0x50497a('callHierarchy/outgoingCalls',{'item':_0x5246a7})??[];}},'waitForDiagnostics'({path:_0x96d488,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x28870f={_0xa253af:0x295},_0x29ca34=uriForPath(_0x96d488);function _0x305fb8(_0x172bd9,_0x4cbdcc,_0x5039c8,_0x4ad1fb){return _0x32df68(_0x172bd9-_0xf5ab8b._0x290f8a,_0x4cbdcc- -_0xf5ab8b._0x24ec94,_0x5039c8-0x87,_0x4ad1fb);}if(_0x17d5a4[_0x305fb8(_0x5d7792._0x4c16b9,0x73,_0x5d7792._0x59d633,_0x5d7792._0x1a454d)](_0x29ca34))return Promise[_0x305fb8(_0x5d7792._0x405bb9,0xa9,-0x13e,-_0x5d7792._0x5b931a)]();function _0xffb8e1(_0x51bd52,_0x220768,_0x40d078,_0x7c131d){return _0x3fce9b(_0x7c131d,_0x220768-0xeb,_0x220768-_0x28870f._0xa253af,_0x7c131d-0x14d);}return new Promise(_0x4795e9=>{const _0x540526={_0x2bec7f:0x5ec,_0x3357a9:0x5b0,_0x474286:0x892,_0x4fa142:0x777,_0x3245e7:0x795,_0x176342:0x69f,_0x2b871b:0x6a4,_0x4838fa:0x243,_0x181767:0x5a4},_0x3919cd={_0x31961c:0x69};function _0x2c6b6a(_0x5133bf,_0x22ba25,_0x53e528,_0x5ae699){return _0xffb8e1(_0x5133bf-0x145,_0x5133bf- -0x3fc,_0x53e528-_0x3919cd._0x31961c,_0x53e528);}const _0x261842=setTimeout(()=>{const _0x4c57c7={_0x108e8d:0x2ec};function _0x29198e(_0x416782,_0x2f6ad8,_0xb0ac94,_0x1600cc){return _0x7d60(_0x1600cc-_0x4c57c7._0x108e8d,_0x2f6ad8);}const _0x15df91=_0x123683[_0x29198e(_0x540526._0x2bec7f,_0x540526._0x3357a9,_0x540526._0x474286,_0x540526._0x4fa142)](_0x29ca34);function _0x3ff829(_0x5d04ea,_0x325cd6,_0x2bfb38,_0x346860){return _0x7d60(_0x2bfb38- -0x72,_0x346860);}_0x15df91?.[_0x29198e(0x7ab,_0x540526._0x3245e7,_0x540526._0x176342,_0x540526._0x2b871b)](_0x246550);if(_0x15df91?.[_0x29198e(0x241,_0x540526._0x4838fa,0x48c,0x485)]===0x0)_0x123683[_0x29198e(0x812,_0x540526._0x181767,0x4c3,0x6a4)](_0x29ca34);_0x4795e9();},timeoutMs),_0x246550=()=>{clearTimeout(_0x261842),_0x4795e9();},_0x557b45=_0x123683[_0x2c6b6a(0x3dc,0x3fe,_0x3bb1ed._0x440201,_0x3bb1ed._0x268843)](_0x29ca34)??new Set();function _0x222793(_0x126d20,_0x3019cf,_0x4821a6,_0x2e0c8b){return _0x305fb8(_0x126d20-0x5a,_0x4821a6-0x89,_0x4821a6-0x10b,_0x3019cf);}_0x557b45['add'](_0x246550),_0x123683[_0x2c6b6a(0x39b,0x39a,0x358,0x42b)](_0x29ca34,_0x557b45);});},async 'shutdown'(){function _0x1729fd(_0x42d62b,_0x35c690,_0x3eb05f,_0x147a41){return _0x3fce9b(_0x35c690,_0x35c690-0xd3,_0x147a41-_0x44c0ad._0x321979,_0x147a41-0x98);}function _0x1acc7f(_0x2d4d80,_0xbebac4,_0x32463f,_0x7f9ec){return _0x32df68(_0x2d4d80-0x8d,_0xbebac4- -0x9b,_0x32463f-_0x449b29._0x371a6b,_0x2d4d80);}if(_0x263656)return;_0x263656=!![];try{await _0x50497a(_0x1729fd(0x473,_0x10dddd._0x4248d0,0x5ed,_0x10dddd._0x163abc),null),_0x4caa9c['sendNotification'](_0x1729fd(0x80b,_0x10dddd._0x482623,_0x10dddd._0x15bff2,0x7ab));}catch{}finally{_0x4caa9c[_0x1729fd(0x545,_0x10dddd._0x32e077,0x453,0x5f6)](),_0x272536[_0x1729fd(0x6d3,_0x10dddd._0x5c4355,0x884,0x7fd)]['process'][_0x1acc7f(0x5a4,_0x10dddd._0x4e68e8,_0x10dddd._0x5e84d2,_0x10dddd._0x11f7ef)]();}}};return _0x49a44f;}import{spawn as _0x575639}from'child_process';import{access as _0x347e7}from'fs/promises';import _0xf88cf2 from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';function _0x7d60(_0x523afb,_0x493a7f){_0x523afb=_0x523afb-0x180;const _0x111ccd=_0x111c();let _0x7d6057=_0x111ccd[_0x523afb];if(_0x7d60['guDufb']===undefined){var _0x115489=function(_0x214ffd){const _0x14c75a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5b222c='',_0x575639='';for(let _0x347e7=0x0,_0xf88cf2,_0x5be2c1,_0x5d6a05=0x0;_0x5be2c1=_0x214ffd['charAt'](_0x5d6a05++);~_0x5be2c1&&(_0xf88cf2=_0x347e7%0x4?_0xf88cf2*0x40+_0x5be2c1:_0x5be2c1,_0x347e7++%0x4)?_0x5b222c+=String['fromCharCode'](0xff&_0xf88cf2>>(-0x2*_0x347e7&0x6)):0x0){_0x5be2c1=_0x14c75a['indexOf'](_0x5be2c1);}for(let _0x120b01=0x0,_0x3069b7=_0x5b222c['length'];_0x120b01<_0x3069b7;_0x120b01++){_0x575639+='%'+('00'+_0x5b222c['charCodeAt'](_0x120b01)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x575639);};_0x7d60['ragPVL']=_0x115489,_0x7d60['QaJjqk']={},_0x7d60['guDufb']=!![];}const _0x553d21=_0x111ccd[0x0],_0x15543b=_0x523afb+_0x553d21,_0x3a2140=_0x7d60['QaJjqk'][_0x15543b];return!_0x3a2140?(_0x7d6057=_0x7d60['ragPVL'](_0x7d6057),_0x7d60['QaJjqk'][_0x15543b]=_0x7d6057):_0x7d6057=_0x3a2140,_0x7d6057;}import _0x5be2c1 from'os';import _0x5d6a05 from'path';import _0x120b01 from'which';var installPromises=new Map();function sanitizePackageName(_0x534025){const _0x588a0e={_0x26821c:0xfa,_0xfcc773:0x2be,_0x456527:0x46d,_0x2017f4:0x452},_0x52ebbc={_0x2b211e:0x1d1,_0x13d545:0xd0,_0x5bda9f:0xf},_0x12895f={_0x2533e0:0x109,_0x166156:0x307};function _0x424d97(_0x212ccb,_0x1b1c71,_0x127404,_0x34e6e1){return _0xa5377c(_0x212ccb,_0x1b1c71-0x1e4,_0x127404-_0x12895f._0x2533e0,_0x127404- -_0x12895f._0x166156);}function _0x136125(_0x1064d5,_0x2c49ca,_0x27f5d8,_0x310bb8){return _0x4eedea(_0x1064d5-_0x52ebbc._0x2b211e,_0x310bb8-_0x52ebbc._0x13d545,_0x27f5d8,_0x310bb8-_0x52ebbc._0x5bda9f);}return _0x534025[_0x424d97(_0x588a0e._0x26821c,0x48e,_0x588a0e._0xfcc773,_0x588a0e._0x456527)](/^@/,'')[_0x424d97(_0x588a0e._0x2017f4,0x190,0x2be,0xf6)](/[/]/g,'__');}function binaryNameForPlatform(_0x18dcd5){const _0x339157={_0x4b690c:0x7e5,_0xba57b1:0x579,_0x235bdd:0x448,_0x14e835:0x302,_0x3d6873:0x30a,_0x584a8f:0x4c7,_0x19d23f:0x43b},_0x48b395={_0xd9ac1a:0x227,_0x236373:0x95},_0x2f78aa={_0x2517e4:0x2a1,_0x109abe:0x146};function _0x329a3c(_0x254a69,_0x11a1e9,_0x7d16a8,_0x519dc){return _0x4eedea(_0x254a69-0x8b,_0x519dc-_0x2f78aa._0x2517e4,_0x254a69,_0x519dc-_0x2f78aa._0x109abe);}function _0x5aa6be(_0x262010,_0x467976,_0x5a755e,_0x11987b){return _0x4eedea(_0x262010-0x1b1,_0x11987b- -_0x48b395._0xd9ac1a,_0x5a755e,_0x11987b-_0x48b395._0x236373);}return process[_0x329a3c(_0x339157._0x4b690c,_0x339157._0xba57b1,_0x339157._0x235bdd,0x63c)]==='win32'?_0x18dcd5+_0x329a3c(_0x339157._0x14e835,_0x339157._0x3d6873,_0x339157._0x584a8f,_0x339157._0x19d23f):_0x18dcd5;}async function exists(_0x10b57b){try{return await access(_0x10b57b),!![];}catch{return![];}}function runNpmInstall(_0x1ff1c8,_0x49d5ec,_0x495b6b){const _0x2e5462={_0x33124b:0x135,_0x314dba:0xc7,_0x45ef94:0x9c,_0x5a15fe:0x69,_0x2ecc87:0x11b,_0x33d251:0xa9,_0x361838:0x16f,_0x295d9a:0xe9,_0x49c168:0x391,_0x22f324:0x363},_0x3a7002={_0x5b2a20:0x2b4};return new Promise(_0x5f4572=>{function _0x2ff8b2(_0x84bcf6,_0x5d065b,_0x25275b,_0x4f2304){return _0x7d60(_0x84bcf6- -_0x3a7002._0x5b2a20,_0x5d065b);}function _0x2a7a2d(_0xe44472,_0x423ce3,_0x3756b5,_0x3dd441){return _0x7d60(_0xe44472- -0x1c8,_0x3756b5);}const _0x4fa9db=spawn(_0x2ff8b2(_0x2e5462._0x33124b,_0x2e5462._0x314dba,_0x2e5462._0x45ef94,_0x2e5462._0x5a15fe),[_0x2a7a2d(0xec,0x2e8,0x268,-0x10b),_0x2a7a2d(0x8a,-0x142,_0x2e5462._0x2ecc87,-_0x2e5462._0x33d251),_0x1ff1c8,_0x49d5ec],{'env':_0x495b6b,'stdio':'ignore'});_0x4fa9db['on'](_0x2a7a2d(_0x2e5462._0x361838,-_0x2e5462._0x295d9a,_0x2e5462._0x49c168,_0x2e5462._0x22f324),()=>_0x5f4572(![])),_0x4fa9db['on']('close',_0x42c735=>_0x5f4572(_0x42c735===0x0));});}function shouldDisableLspDownload(_0x3e26d1=process[_0x4eedea(0x515,0x41d,0x1c5,0x5bf)]){const _0x1922ca={_0x359c86:0x5ed,_0x4bf7bf:0x42d},_0x35e0d6={_0x4f794c:0x4e4,_0x3fa066:0x16e};function _0x2d1a87(_0x223a4c,_0x2a4446,_0x16ea9b,_0x5d3249){return _0x4eedea(_0x223a4c-0x74,_0x2a4446-_0x35e0d6._0x4f794c,_0x5d3249,_0x5d3249-_0x35e0d6._0x3fa066);}const _0xda67aa=_0x3e26d1['NUVIN_DISABLE_LSP_DOWNLOAD']?.['toLowerCase']();return _0xda67aa==='true'||_0xda67aa==='1'||_0xda67aa===_0x2d1a87(0x759,0x643,_0x1922ca._0x359c86,_0x1922ca._0x4bf7bf)||_0xda67aa==='on';}function getLspPackageDir(_0x49dccf){const _0x331bb5={_0x53cb13:0x7d,_0x55a210:0x2e2,_0x4a9a1e:0x269,_0x3a9111:0x155,_0x3c8d2d:0xe8,_0xa59fe5:0x188,_0x4320b5:0x220,_0x10c139:0x292,_0xe006ea:0x159},_0x39d37d={_0xdc3b85:0x1e7,_0x49b7a2:0xae},_0xcae63={_0x5d9612:0x66,_0x42009e:0x356};function _0x26040a(_0x44e243,_0x4615ef,_0x359c3c,_0x542672){return _0xa5377c(_0x359c3c,_0x4615ef-_0xcae63._0x5d9612,_0x359c3c-0xb6,_0x4615ef-_0xcae63._0x42009e);}function _0x28ddcd(_0x4021ee,_0x3030ef,_0x5c3545,_0xea0fb8){return _0x4eedea(_0x4021ee-_0x39d37d._0xdc3b85,_0x4021ee- -0x171,_0xea0fb8,_0xea0fb8-_0x39d37d._0x49b7a2);}return _0x5d6a05[_0x28ddcd(-0x9b,_0x331bb5._0x53cb13,-_0x331bb5._0x55a210,0x131)](_0x5be2c1[_0x28ddcd(_0x331bb5._0x4a9a1e,0xc,0x339,_0x331bb5._0x3a9111)](),'.nuvin-code',_0x28ddcd(0x1f,_0x331bb5._0x3c8d2d,-_0x331bb5._0xa59fe5,0x1ca),_0x28ddcd(_0x331bb5._0x4320b5,0x17a,_0x331bb5._0x10c139,_0x331bb5._0xe006ea),sanitizePackageName(_0x49dccf));}function getLspBinDir(_0x58b70a){const _0x480765={_0x313c34:0x231,_0x4512c0:0x181,_0x1f3442:0x2e,_0x4e5300:0x69,_0x525193:0x1db,_0x480514:0xc4,_0x4c5965:0x6b,_0x3af18a:0x1c},_0x338b49={_0x15f683:0x15b},_0x6cf42d={_0x17246d:0xf7};function _0x42fff7(_0x2961ee,_0x5dd5e7,_0x527274,_0x217552){return _0xa5377c(_0x527274,_0x5dd5e7-_0x6cf42d._0x17246d,_0x527274-0x44,_0x2961ee- -0x1d9);}function _0x25b7c7(_0x36fc0f,_0x2c5f45,_0x588fef,_0x1711f2){return _0x4eedea(_0x36fc0f-0xd9,_0x36fc0f-_0x338b49._0x15f683,_0x1711f2,_0x1711f2-0x56);}return _0x5d6a05[_0x25b7c7(_0x480765._0x313c34,0x3db,_0x480765._0x4512c0,_0x480765._0x1f3442)](getLspPackageDir(_0x58b70a),_0x42fff7(0x1c0,_0x480765._0x4e5300,_0x480765._0x525193,_0x480765._0x480514),_0x25b7c7(0x17b,-_0x480765._0x4c5965,_0x480765._0x3af18a,0x220));}async function findPackageBinary(_0x46ed69,_0x1601b6){const _0x239d50={_0x2fc172:0x30b,_0x4a1e40:0x1f3,_0x4d12b6:0x58,_0x2cd0ee:0x73,_0x17f72e:0xa0,_0x5c36d7:0xe5,_0x4945da:0x29b,_0x10da17:0xab,_0x5e1750:0x2f9},_0x129af1={_0x3bcf90:0x15a};function _0x367e57(_0x17d611,_0x7efed9,_0x59f72a,_0x563001){return _0xa5377c(_0x17d611,_0x7efed9-0x11a,_0x59f72a-0x184,_0x7efed9- -0x107);}let _0x2dc498=_0x5d6a05[_0x367e57(_0x239d50._0x2fc172,0x1fd,0x277,_0x239d50._0x4a1e40)](_0x1601b6);const _0x4d53d7=binaryNameForPlatform(_0x46ed69);function _0x4ad16d(_0x5e84f0,_0x462888,_0x31c114,_0x263b6a){return _0x4eedea(_0x5e84f0-0x16a,_0x462888- -0xcb,_0x31c114,_0x263b6a-_0x129af1._0x3bcf90);}while(!![]){const _0x33900e=_0x5d6a05[_0x367e57(0xb6,0x1c5,-0x1f,_0x239d50._0x4d12b6)](_0x2dc498,_0x367e57(0x3fc,0x292,_0x239d50._0x2cd0ee,_0x239d50._0x17f72e),'.bin',_0x4d53d7);if(await exists(_0x33900e))return _0x33900e;const _0x4549ae=_0x5d6a05[_0x367e57(_0x239d50._0x5c36d7,_0x239d50._0x4945da,_0x239d50._0x10da17,_0x239d50._0x5e1750)](_0x2dc498);if(_0x4549ae===_0x2dc498)return void 0x0;_0x2dc498=_0x4549ae;}}async function findPathBinary(_0x1cb757,_0x5a5f9a){const _0x1d50c9={_0x5d0774:0x1fd,_0x36697d:0x291,_0x25e2eb:0x40c,_0x25bb2f:0x340,_0x9a3f37:0x2ac,_0x426195:0xc2,_0x381943:0x35},_0x23a484={_0xb06df2:0x20a},_0x907427={_0x405e9c:0x1f9,_0x4ddc38:0x33};function _0x13b32d(_0x295467,_0x1565a9,_0x51d3a5,_0x144d1a){return _0x4eedea(_0x295467-0x156,_0x51d3a5-_0x907427._0x405e9c,_0x295467,_0x144d1a-_0x907427._0x4ddc38);}const _0x18f0c5=getLspBinDir(_0x5a5f9a),_0x3fa72f=[_0x18f0c5,process['env'][_0x13b32d(0x150,0x1ae,_0x1d50c9._0x5d0774,_0x1d50c9._0x36697d)]][_0x13b32d(0x5c0,0x461,_0x1d50c9._0x25e2eb,_0x1d50c9._0x25bb2f)](Boolean)[_0x18f057(_0x1d50c9._0x9a3f37,_0x1d50c9._0x426195,0xa8,-_0x1d50c9._0x381943)](_0x5d6a05[_0x18f057(0x37e,0x1d8,-0x82,0x27f)]);function _0x18f057(_0x329d33,_0x138d70,_0x3d4027,_0x4e9912){return _0xa5377c(_0x4e9912,_0x138d70-0x106,_0x3d4027-0x11a,_0x138d70- -_0x23a484._0xb06df2);}try{return await _0x120b01(_0x1cb757,{'path':_0x3fa72f});}catch{return void 0x0;}}async function resolvePackageBinary(_0x3c2b09){const _0x61f00a={_0x374731:0xa3a,_0x3f4a24:0x895,_0x325537:0x533,_0x2a6250:0x65f,_0x17e4f3:0x660,_0xc97665:0x581,_0x7c4ff:0x635,_0x321d2f:0x3aa,_0x23a345:0x624,_0x2bd9c2:0x684,_0x4b8f0e:0x497,_0x25f728:0x51f,_0x595d2a:0x582},_0x4d80d7={_0x4c4dcb:0x9b8,_0x3db7d5:0x96d,_0x4fd77a:0x799,_0x4c62fa:0x456},_0x52bf23={_0x161109:0x1f1,_0x3c2c29:0x12b,_0x4784d9:0x302},_0x5d2dd5={_0xe40513:0x128},_0x2ed8f8={_0x3788a6:0xb7,_0x372a61:0x501},_0x20bcb8=_0x3c2b09['binaryName']??_0x3c2b09[_0x5a2b54(_0x61f00a._0x374731,_0x61f00a._0x3f4a24,0x9de,0x7f7)],_0x27927d=await findPackageBinary(_0x20bcb8,_0x3c2b09['startDir']);if(_0x27927d)return _0x27927d;const _0x20c2a6=await findPathBinary(_0x20bcb8,_0x3c2b09[_0x5ed51f(_0x61f00a._0x325537,_0x61f00a._0x2a6250,_0x61f00a._0x17e4f3,0x497)]);if(_0x20c2a6)return _0x20c2a6;function _0x5a2b54(_0x3f7f5f,_0x5c4c1d,_0x4fb1d6,_0x2c3fe4){return _0x4eedea(_0x3f7f5f-_0x2ed8f8._0x3788a6,_0x5c4c1d-_0x2ed8f8._0x372a61,_0x4fb1d6,_0x2c3fe4-0x163);}const _0x2607d3=_0x3c2b09[_0x5ed51f(_0x61f00a._0xc97665,0x51e,_0x61f00a._0x7c4ff,0x520)]??process['env'];if(shouldDisableLspDownload(_0x2607d3))return void 0x0;function _0x5ed51f(_0xc4aec4,_0x53e416,_0x4f4394,_0x27599b){return _0x4eedea(_0xc4aec4-_0x5d2dd5._0xe40513,_0x27599b-0x103,_0x53e416,_0x27599b-0x14d);}const _0x3baab6=getLspPackageDir(_0x3c2b09[_0x5ed51f(_0x61f00a._0x321d2f,_0x61f00a._0x23a345,_0x61f00a._0x2bd9c2,_0x61f00a._0x4b8f0e)]),_0x50a653=_0x3c2b09['packageName']+':'+_0x20bcb8;let _0x66cbae=installPromises[_0x5ed51f(_0x61f00a._0x25f728,0x1d2,_0x61f00a._0x595d2a,0x3cf)](_0x50a653);!_0x66cbae&&(_0x66cbae=((async()=>{const _0x34b1ee={_0x39562f:0x4};await mkdir(_0x3baab6,{'recursive':!![]});const _0x445f31=await runNpmInstall(_0x3baab6,_0x3c2b09[_0x5c1a0a(0x926,_0x4d80d7._0x4c4dcb,_0x4d80d7._0x3db7d5,_0x4d80d7._0x4fd77a)],_0x2607d3);if(!_0x445f31)return void 0x0;const _0x31a021=_0x5d6a05[_0x29c010(0x2bb,0x14a,0x156,_0x4d80d7._0x4c62fa)](getLspBinDir(_0x3c2b09['packageName']),binaryNameForPlatform(_0x20bcb8));function _0x5c1a0a(_0x39eeb5,_0x3d134d,_0x37add4,_0x31dc5b){return _0x5ed51f(_0x39eeb5-_0x52bf23._0x161109,_0x37add4,_0x37add4-_0x52bf23._0x3c2c29,_0x31dc5b-_0x52bf23._0x4784d9);}function _0x29c010(_0x276262,_0x9d20f7,_0x113c2b,_0x4ff389){return _0x5a2b54(_0x276262-_0x34b1ee._0x39562f,_0x276262- -0x31c,_0x9d20f7,_0x4ff389-0xfb);}return await exists(_0x31a021)?_0x31a021:void 0x0;})()),installPromises['set'](_0x50a653,_0x66cbae));try{return await _0x66cbae;}catch{return void 0x0;}finally{installPromises['delete'](_0x50a653);}}var TYPESCRIPT_EXTENSIONS=[_0x4eedea(0x5b6,0x363,0x40b,0x4fc),_0x4eedea(0xc4,0x2ba,0x1ba,0x29e),_0x4eedea(-0x216,-0x14,-0x77,-0x242),_0x4eedea(0x10e,0xae,-0xe9,0x14f),'.mjs','.cjs',_0x4eedea(0x38f,0x40a,0x545,0x5b1),_0xa5377c(0x68b,0x405,0x44f,0x655)],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,_0xa5377c(0x446,0x603,0x45a,0x585),_0x4eedea(0x4ee,0x306,0x300,0x489)],TYPESCRIPT_ROOT_MARKERS=[_0x4eedea(0x3f1,0x404,0x4ec,0x59d),'bun.lockb','bun.lock',_0x4eedea(-0x25f,-0x5,0x22e,-0x12c),_0x4eedea(-0xb4,-0x4,-0xa2,-0x260),'tsconfig.json',_0x4eedea(0x39c,0x1e1,0x206,0x354),_0xa5377c(0x443,0x2f9,0x591,0x34c)],BIOME_ROOT_MARKERS=[_0x4eedea(0x332,0x313,0x4ea,0x27b),_0xa5377c(0x240,0x73,0x293,0x249),_0xa5377c(0x79c,0x7c1,0x5af,0x5fa),_0xa5377c(0x33e,0x322,0x4,0x1be),_0x4eedea(0x51e,0x423,0x1e8,0x47d),'pnpm-lock.yaml',_0x4eedea(0x1a7,-0x4,0xb5,0x46),'package.json'];async function exists2(_0x5d3d95){try{return await _0x347e7(_0x5d3d95),!![];}catch{return![];}}async function findUp(_0x513206,_0x1232eb){const _0x2cc63e={_0x301e11:0x1e,_0x39e581:0x5,_0x675c33:0x44,_0x59ba7b:0xf5,_0x4c9b9f:0x69,_0x1c0ac8:0x1cb,_0x44eac4:0x26},_0x1f72a4={_0x327fa4:0x1bf},_0x35a5e2={_0x147ffc:0x13b};let _0x13f5d8=_0xf88cf2[_0x37a5f1(-0xa3,-0x17,0x19,0xa1)](_0x513206);const _0x595ad0=_0xf88cf2[_0x2b2f88(_0x2cc63e._0x301e11,-0xad,_0x2cc63e._0x39e581,_0x2cc63e._0x675c33)](_0x13f5d8);function _0x37a5f1(_0x5d9935,_0x1a7592,_0x2099f1,_0x197173){return _0xa5377c(_0x1a7592,_0x1a7592-_0x35a5e2._0x147ffc,_0x2099f1-0x187,_0x197173- -0x263);}function _0x2b2f88(_0x44deb6,_0x3510cc,_0x3fffa9,_0x366260){return _0xa5377c(_0x44deb6,_0x3510cc-_0x1f72a4._0x327fa4,_0x3fffa9-0x1af,_0x366260- -0x23d);}if(_0x595ad0)_0x13f5d8=_0xf88cf2['dirname'](_0x13f5d8);while(!![]){for(const _0xcfebc1 of _0x1232eb){if(await exists2(_0xf88cf2[_0x37a5f1(-_0x2cc63e._0x59ba7b,0x1a2,0x12a,_0x2cc63e._0x4c9b9f)](_0x13f5d8,_0xcfebc1)))return _0x13f5d8;}const _0x4be08a=_0xf88cf2[_0x2b2f88(_0x2cc63e._0x1c0ac8,0x1a9,-_0x2cc63e._0x44eac4,0x165)](_0x13f5d8);if(_0x4be08a===_0x13f5d8)return void 0x0;_0x13f5d8=_0x4be08a;}}async function hasDenoRoot(_0x5daf98){const _0x718720={_0x176ad8:0x28d,_0x5cc653:0x9b8},_0x34aa2f={_0x312822:0x4b,_0x3981f8:0x550},_0x35cd10={_0x978dbf:0x4b};function _0x41b2fc(_0x47d727,_0x4a714a,_0x4951f7,_0x514930){return _0x4eedea(_0x47d727-_0x35cd10._0x978dbf,_0x47d727-0x149,_0x514930,_0x514930-0x90);}function _0x5f4055(_0x4a4e01,_0x1c2b02,_0x2452a4,_0x5aab0f){return _0x4eedea(_0x4a4e01-_0x34aa2f._0x312822,_0x5aab0f-_0x34aa2f._0x3981f8,_0x2452a4,_0x5aab0f-0x11a);}return await exists2(_0xf88cf2[_0x41b2fc(0x21f,_0x718720._0x176ad8,0xd7,0x24a)](_0x5daf98,'deno.json'))||await exists2(_0xf88cf2['join'](_0x5daf98,_0x5f4055(0x810,_0x718720._0x5cc653,0x537,0x794)));}async function resolveTsserverPath(_0x2231bf){const _0x28a622={_0x33515e:0x5a,_0x5be5bd:0x189,_0x29a1b1:0x22,_0x509081:0x1c9,_0x99e990:0x571,_0x277bb6:0x49d,_0x588d73:0x191,_0xe4672f:0x302,_0x58228c:0x5a6,_0x44997f:0x87,_0x2705d7:0x1b7,_0x5d1083:0x559,_0x22fba2:0x5c7,_0x4a27c1:0x5de,_0x4fef62:0x4aa,_0x428e05:0x13d,_0x1384d1:0xf8,_0x2bdf7e:0x62e,_0x37cd3c:0x832,_0x45f03b:0x4b5,_0x178e96:0x121,_0x5a1f93:0x22,_0x3658f2:0x199,_0x3fa4b4:0x1bb,_0x4643f9:0x31c,_0x2d3512:0x635,_0x39759e:0x4e8,_0x328bf1:0x446,_0x22ec63:0x63f,_0x2f019c:0x559,_0xb096d3:0x673},_0x2f25f5={_0x20426e:0x2aa},_0x127485={_0x15e05a:0x17a,_0x13b76d:0x21a,_0x3e38b5:0xf};function _0x46294a(_0x183d7b,_0x2beae6,_0x1ffbee,_0x5da001){return _0x4eedea(_0x183d7b-_0x127485._0x15e05a,_0x183d7b-_0x127485._0x13b76d,_0x5da001,_0x5da001-_0x127485._0x3e38b5);}let _0x54ac78=_0xf88cf2[_0x11b8d7(0x11d,_0x28a622._0x33515e,0x207,-_0x28a622._0x5be5bd)](_0x2231bf);while(!![]){const _0x2997ee=_0xf88cf2[_0x11b8d7(-0xe9,_0x28a622._0x29a1b1,_0x28a622._0x509081,0x47)](_0x54ac78,_0x46294a(0x3bd,_0x28a622._0x99e990,_0x28a622._0x277bb6,_0x28a622._0x588d73),_0x11b8d7(0x21a,0x367,_0x28a622._0xe4672f,_0x28a622._0x58228c),_0x11b8d7(0x1a5,0x21a,_0x28a622._0x44997f,_0x28a622._0x2705d7),_0x46294a(_0x28a622._0x5d1083,_0x28a622._0x22fba2,_0x28a622._0x4a27c1,_0x28a622._0x4fef62));if(await exists2(_0x2997ee))return _0x2997ee;const _0x1b81c8=_0xf88cf2[_0x11b8d7(-_0x28a622._0x428e05,_0x28a622._0x1384d1,-0x76,0x324)](_0x54ac78);if(_0x1b81c8===_0x54ac78)break;_0x54ac78=_0x1b81c8;}const _0x3d3d09=getLspPackageDir('typescript');function _0x11b8d7(_0x277cab,_0x57ccbc,_0x321227,_0x1116b8){return _0xa5377c(_0x1116b8,_0x57ccbc-0x11d,_0x321227-0x153,_0x57ccbc- -_0x2f25f5._0x20426e);}const _0x440c58=await resolvePackageBinary({'packageName':'typescript','binaryName':_0x46294a(_0x28a622._0x2bdf7e,0x515,_0x28a622._0x37cd3c,_0x28a622._0x45f03b),'startDir':_0x2231bf});if(!_0x440c58)return void 0x0;const _0x28881b=_0xf88cf2[_0x11b8d7(-_0x28a622._0x178e96,_0x28a622._0x5a1f93,-_0x28a622._0x3658f2,-_0x28a622._0x3fa4b4)](_0x3d3d09,_0x11b8d7(-0x85,0xef,0x3d,_0x28a622._0x4643f9),_0x46294a(_0x28a622._0x2d3512,0x80e,0x5b1,0x5d8),_0x46294a(_0x28a622._0x39759e,0x68c,_0x28a622._0x328bf1,_0x28a622._0x22ec63),_0x46294a(_0x28a622._0x2f019c,0x3ea,0x373,_0x28a622._0xb096d3));return await exists2(_0x28881b)?_0x28881b:void 0x0;}var TypeScriptServer={'id':_0xa5377c(0x859,0x811,0x698,0x611),'name':_0xa5377c(0x46a,0x409,0x92,0x221),'extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x59aa1e){const _0x12f9c1=await findUp(_0x59aa1e,TYPESCRIPT_ROOT_MARKERS);if(!_0x12f9c1)return void 0x0;return await hasDenoRoot(_0x12f9c1)?void 0x0:_0x12f9c1;},async 'spawn'(_0x5204a2){const _0x2d1482={_0x4092d9:0x30e,_0x436ba4:0x126,_0x43d119:0x4d,_0x2312ab:0x25d,_0x4212d5:0x36e},_0x58dbd2={_0x492410:0x27e},_0xe2e30a={_0x45f8d8:0x15d,_0x53167b:0xef},_0x3a8fbc=await resolveTsserverPath(_0x5204a2);if(!_0x3a8fbc)return void 0x0;const _0x404c4b=await resolvePackageBinary({'packageName':_0x536ef0(0x4b,_0x2d1482._0x4092d9,0x25d,_0x2d1482._0x436ba4),'binaryName':_0x536ef0(_0x2d1482._0x43d119,0x45d,_0x2d1482._0x2312ab,_0x2d1482._0x4212d5),'startDir':_0x5204a2});if(!_0x404c4b)return void 0x0;function _0x536ef0(_0x3e8f2d,_0x513c00,_0x17ae61,_0x5437e6){return _0xa5377c(_0x513c00,_0x513c00-_0xe2e30a._0x45f8d8,_0x17ae61-_0xe2e30a._0x53167b,_0x17ae61- -0x322);}function _0x5255c5(_0x37a4c0,_0x30f6e8,_0x1baa99,_0xa62c75){return _0x4eedea(_0x37a4c0-0x78,_0x30f6e8-_0x58dbd2._0x492410,_0x37a4c0,_0xa62c75-0x94);}return{'process':_0x575639(_0x404c4b,['--stdio'],{'cwd':_0x5204a2,'stdio':'pipe'}),'initialization':{'tsserver':{'path':_0x3a8fbc}}};}},BiomeServer={'id':_0x4eedea(0x55b,0x403,0x511,0x4ae),'name':_0x4eedea(0x134,0x1cd,0x5a,0x306),'extensions':BIOME_EXTENSIONS,async 'root'(_0x508278){return findUp(_0x508278,BIOME_ROOT_MARKERS);},async 'spawn'(_0x1ccf91){const _0x4227bd={_0x4895b7:0x9ef,_0xf3cea3:0x74c,_0x3dd465:0x588,_0x3469cc:0x58f,_0x233d2c:0x642,_0x27d952:0x58c,_0x1308f3:0x3e1,_0x4bb6ea:0x439},_0x58a9e9={_0x1cdf0d:0x349},_0x409d8e={_0x8831e3:0x171};function _0x3b49b2(_0x12980b,_0x35230e,_0xb39877,_0x27a88a){return _0xa5377c(_0x35230e,_0x35230e-0x70,_0xb39877-0x112,_0xb39877- -_0x409d8e._0x8831e3);}const _0x175252=await findPackageBinary('biome',_0x1ccf91)??await resolvePackageBinary({'packageName':_0xef7d5(0x7c8,0x607,0x64c,_0x4227bd._0x4895b7),'binaryName':_0xef7d5(_0x4227bd._0xf3cea3,0x923,0x69c,_0x4227bd._0x3dd465),'startDir':_0x1ccf91});function _0xef7d5(_0x2aee7d,_0x231e72,_0x5b2c6e,_0x3427e9){return _0x4eedea(_0x2aee7d-0xec,_0x2aee7d-_0x58a9e9._0x1cdf0d,_0x5b2c6e,_0x3427e9-0x5a);}if(!_0x175252)return void 0x0;return{'process':_0x575639(_0x175252,[_0x3b49b2(0x4c0,_0x4227bd._0x3469cc,0x4e6,0x601),_0xef7d5(_0x4227bd._0x233d2c,_0x4227bd._0x27d952,0x636,0x4aa)],{'cwd':_0x1ccf91,'stdio':_0xef7d5(0x44f,_0x4227bd._0x1308f3,0x4ee,_0x4227bd._0x4bb6ea)})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x22c5c4){const _0x39e213={_0x4b0148:0x45e,_0x4fe15a:0x243,_0x276c03:0x13e,_0x1cf8c4:0x1c6},_0x4a7a4a={_0x2ab2dc:0x1ea,_0x42b7da:0x16e,_0x167b49:0x2cb},_0x370406={_0x165e61:0x142,_0x4a0e95:0x181};function _0x757eb1(_0x40f933,_0x4ca875,_0x5ed115,_0x3dab06){return _0x4eedea(_0x40f933-_0x370406._0x165e61,_0x5ed115-_0x370406._0x4a0e95,_0x3dab06,_0x3dab06-0xc4);}function _0x3f99c5(_0x4eb02c,_0x50f76e,_0x1e32bb,_0x37ffec){return _0xa5377c(_0x37ffec,_0x50f76e-_0x4a7a4a._0x2ab2dc,_0x1e32bb-_0x4a7a4a._0x42b7da,_0x50f76e- -_0x4a7a4a._0x167b49);}const _0x515eec=_0xf88cf2['extname'](_0x22c5c4)[_0x3f99c5(0x215,0x1ff,_0x39e213._0x4b0148,0x227)]();return BUILTIN_LSP_SERVERS[_0x3f99c5(_0x39e213._0x4fe15a,_0x39e213._0x276c03,_0x39e213._0x1cf8c4,-0x10a)](_0x40fd50=>_0x40fd50[_0x757eb1(-0x77,0x398,0x1c0,0x110)][_0x757eb1(0x3c5,0x50c,0x358,0x473)](_0x515eec));}function stateKey(_0x16a65a,_0xf79321){return _0xf79321+':'+_0x16a65a['id'];}function diagnosticsKeyToPath(_0x460372){const _0x3df0fd={_0x28fd39:0x69e,_0x7f7ed0:0x478,_0x27ba2f:0x34a,_0x3ad373:0x335},_0x44d549={_0x27c6e6:0x87},_0x49cf1d={_0x2c5461:0x2e};function _0x3c3c12(_0x16e107,_0x442a16,_0x4c49f3,_0x48e4d6){return _0xa5377c(_0x442a16,_0x442a16-0x1b7,_0x4c49f3-_0x49cf1d._0x2c5461,_0x4c49f3-0xfb);}if(!_0x460372[_0x1b1bae(0x6fc,0x67f,0x5e0,_0x3df0fd._0x28fd39)](_0x1b1bae(_0x3df0fd._0x7f7ed0,_0x3df0fd._0x27ba2f,0x532,_0x3df0fd._0x3ad373)))return _0x460372;function _0x1b1bae(_0x49e2ef,_0x4577ec,_0x10931a,_0x47de5d){return _0x4eedea(_0x49e2ef-0x180,_0x47de5d-0x256,_0x4577ec,_0x47de5d-_0x44d549._0x27c6e6);}return fileURLToPath(_0x460372);}function nextFileVersion(_0x3e9dca,_0x3068e6){const _0x4bcc01={_0x107f9c:0xa2c,_0x1fbd50:0x81a,_0x181523:0x536,_0x572dfa:0x5de,_0x1cbbfa:0x3f4,_0x26247a:0x566,_0x6d3311:0x76b,_0x44cf67:0x811},_0x1cc191={_0x42a4f8:0x9e},_0x15a0eb={_0x42aee:0x39f};function _0x4dbceb(_0xdee7ff,_0x67b9b0,_0x4e19c1,_0x3eaf14){return _0xa5377c(_0x3eaf14,_0x67b9b0-0x1cf,_0x4e19c1-0x91,_0x4e19c1-_0x15a0eb._0x42aee);}const _0x495724=(_0x3e9dca['fileVersions'][_0x4dbceb(_0x4bcc01._0x107f9c,_0x4bcc01._0x1fbd50,0x861,0x8fd)](_0x3068e6)??0x1)+0x1;function _0x398fbf(_0x54474d,_0x239e2f,_0x412898,_0x3332b6){return _0xa5377c(_0x3332b6,_0x239e2f-0xb2,_0x412898-_0x1cc191._0x42a4f8,_0x239e2f-0x344);}return _0x3e9dca[_0x398fbf(_0x4bcc01._0x181523,_0x4bcc01._0x572dfa,_0x4bcc01._0x1cbbfa,_0x4bcc01._0x26247a)][_0x4dbceb(_0x4bcc01._0x6d3311,0x820,0x820,_0x4bcc01._0x44cf67)](_0x3068e6,_0x495724),_0x495724;}async function collectClientResults(_0x5d51ee){const _0x34e7e1={_0x2ac1d4:0x566,_0x267430:0x587,_0x1cd543:0x688},_0x13e535={_0x4742e7:0xdd,_0x4d703d:0x473};function _0x541a2d(_0x19f851,_0x23598f,_0x45775c,_0x2c6a9e){return _0x4eedea(_0x19f851-0x8b,_0x45775c-0x3c9,_0x2c6a9e,_0x2c6a9e-0x34);}function _0x2f9eaa(_0x54d109,_0x5381f0,_0x1c9c6f,_0x5c7446){return _0x4eedea(_0x54d109-_0x13e535._0x4742e7,_0x54d109-_0x13e535._0x4d703d,_0x5381f0,_0x5c7446-0x1ca);}const _0x30d57d=await Promise['allSettled'](_0x5d51ee);return _0x30d57d[_0x541a2d(_0x34e7e1._0x2ac1d4,_0x34e7e1._0x267430,0x4ed,_0x34e7e1._0x1cd543)](_0x4a41b5=>_0x4a41b5[_0x2f9eaa(0x7bf,0x9af,0x9ec,0xa06)]===_0x2f9eaa(0x43e,0x4c8,0x231,0x4bf)?_0x4a41b5['value']:[]);}function createLspService(_0x3c15f1={}){const _0x277761={_0x388227:0x61e,_0x404c91:0x7fc},_0x4fdcf1={_0x5ce3e8:0x426,_0x21fc25:0x55c,_0x30b339:0x5b0,_0x2acb58:0x2c4,_0x1d5e4c:0x6c,_0xe20501:0x1a7,_0x2587ab:0x1d6,_0x5eb58d:0x255,_0x542ac9:0x17b,_0x1e0eaa:0x196,_0x4f0e68:0x5a,_0x967a9a:0x1bf,_0x1e351d:0x255,_0x1053ce:0x9f,_0x144379:0x146,_0x54691a:0x20f},_0x3527f2={_0x56aa69:0x19d,_0x19c09a:0x307},_0x2aede4={_0xa2a3fc:0x5a0,_0x50f9c8:0x77b},_0x3632aa={_0x5ca8db:0x53},_0x451797={_0xd707b7:0x731,_0x41145c:0x71e,_0x77c88f:0x4ae,_0x34a0d3:0x24e,_0x596741:0x462},_0x3dfa36={_0x93335e:0x96,_0x230ebf:0x423},_0x5c826f={_0x5f1459:0x12d,_0x4ff1f9:0x1db},_0x5169c3={_0x2e4363:0xac,_0xf70634:0x320},_0x577ffc={_0x3f5272:0x9f,_0x14839b:0x260,_0x25556d:0x31b},_0x41de1b={_0x3dc6b8:0x179,_0x1f07d4:0x1c6},_0x31340c={_0x1ae314:0x1e8,_0x572f41:0x30},_0x2288b0={_0x1c1e82:0x387,_0x51c7db:0x1d0,_0x593f31:0x238},_0x2f6c06={_0x409532:0x23c},_0x1cfa46={_0x56e119:0x3f5,_0x45c983:0x4d5},_0x527111={_0x294f47:0xe5,_0xf08437:0x1b,_0x3d0ac9:0x601},_0x40ee96={_0x54ed3:0x260},_0xb94054={_0x33d7a5:0x1a6,_0x313063:0x38e,_0x21fbed:0x549,_0x1c925c:0x557,_0x5cbbdf:0x51b,_0x4cebb3:0x23e},_0x5ea7f4={_0x32fa36:0x8d0,_0x37b99b:0x627,_0x203d11:0x46a},_0x3152a0={_0xc1e2a0:0x122,_0xc9d371:0x1cf,_0x3ab05b:0x619},_0x495c68={_0x4b2e58:0x2fe},_0x14ff24={_0x5c8bfe:0x53,_0x481063:0x21,_0x2ff2a6:0x2ee},_0x4eb2c4={_0x21aa09:0x60f,_0x1e71da:0x705},_0x3ed838={_0x5a8cf0:0xd2,_0x14566a:0x3f},_0xe8ec47={_0x451c2f:0x31b,_0x58ffb5:0x3bf,_0x56ae37:0x238,_0x28f2fa:0x2ed},_0x44e14b={_0xaf470:0x2c0,_0x2fd35e:0x3d3,_0x132883:0x220,_0x283b31:0x3ca,_0x48acd8:0x66,_0x1a05c5:0x244,_0x2551f1:0x1ee,_0xaef5f2:0x3ab,_0x1c742f:0x22b,_0x10ad73:0xf8,_0x2e09f7:0x27c,_0x5425b4:0x5b8,_0x17f640:0x49d,_0x10a0f2:0x1b7,_0x47387d:0x10b,_0x1dc2de:0x6e,_0xb91525:0x1fc,_0x5f2761:0x308,_0x7bc4a3:0x164,_0x5403e4:0x249,_0x2b242f:0x477,_0x3c64d2:0x27d},_0x1c80b7={_0x5c7cea:0x1cd,_0x48e2ac:0x3c3},_0x5314f4={_0x42a7de:0x3ea,_0x57f3c4:0x2aa,_0x889a45:0x3c1,_0x1a27eb:0x68f,_0x4e9007:0x5db,_0x3dc18b:0x958,_0xed3203:0x992,_0x350fbc:0x8a1,_0x5a82eb:0x92a,_0x2d584f:0x937,_0x266580:0x308,_0x533eb7:0x38a},_0x1444ba={_0x32dfb6:0x974,_0x221fd6:0x747,_0x2f3cd6:0x5d2,_0x46e03d:0x39e,_0x171ab1:0x27a,_0x1baaa2:0x6a3,_0x2cc656:0xa7,_0x48ca31:0x7f9,_0x34c81c:0x7b8,_0x3387fe:0x98d,_0x393c0d:0x64c},_0x3d1db5={_0x1aeb03:0x82,_0x464c4f:0x625},_0x31ae56={_0x513685:0x119},_0x3f2958={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x4a7e6b=()=>_0x3c15f1[_0x3e5194(-0x141,0x123,-0x1fc,-0x115)]!==![];async function _0x44760b(_0x1041c3,_0x1d76cb){const _0x30751f={_0x5cffcf:0x1c5,_0x494579:0x682,_0x508e9b:0x683,_0x5d4644:0x532,_0x13fbae:0x540,_0x4bd77e:0x611,_0x5ea0ac:0x643,_0x304b66:0x42f,_0x3bae3f:0x648,_0x19cc7a:0x106,_0x174cf7:0x284,_0x14f316:0x18b,_0x3a26c6:0x2ab,_0x414786:0x318,_0x43de13:0x36e,_0x3658a2:0x29d,_0x899c5f:0x1f6,_0x406fb0:0x15f,_0x43945a:0x2d0,_0x3fd385:0x5ab,_0x4660ad:0x7f3,_0x226361:0x36c,_0x50101b:0x507,_0x5e0545:0x4c2},_0x2d0065=stateKey(_0x1041c3,_0x1d76cb),_0x2e913f=_0x3f2958['clients'][_0x315ebd(_0x1444ba._0x32dfb6,0xace,_0x1444ba._0x221fd6,0x9b1)](_0x4f6d89=>_0x4f6d89['serverId']===_0x1041c3['id']&&_0x4f6d89[_0x15f49a(-0x74,0x16,0xd1,-0x2f)]===_0x1d76cb);if(_0x2e913f)return _0x2e913f;if(_0x3f2958[_0x15f49a(_0x1444ba._0x2f3cd6,_0x1444ba._0x46e03d,_0x1444ba._0x171ab1,0x5df)][_0x315ebd(0x605,_0x1444ba._0x1baaa2,0x82e,0x57f)](_0x2d0065))return void 0x0;const _0xd9ff8b=_0x3f2958[_0x15f49a(0x279,_0x1444ba._0x2cc656,-0x1f,-0x2a)][_0x315ebd(_0x1444ba._0x48ca31,0x7cc,0xa3a,0x7fe)](_0x2d0065);if(_0xd9ff8b)return _0xd9ff8b;function _0x15f49a(_0x1d4410,_0x2000b0,_0x5e47fc,_0x3ea6d6){return _0x3e5194(_0x1d4410-_0x31ae56._0x513685,_0x5e47fc,_0x5e47fc-0x1ac,_0x2000b0-0xdd);}function _0x315ebd(_0x4724e6,_0x12f416,_0x94d47e,_0x568c1d){return _0x3e5194(_0x4724e6-0x1de,_0x12f416,_0x94d47e-_0x3d1db5._0x1aeb03,_0x4724e6-_0x3d1db5._0x464c4f);}const _0x128e26=((async()=>{const _0x39f679={_0x37f8ec:0xae,_0x2e5503:0x6b},_0x1f55f9={_0x58a774:0xb9,_0x496438:0x10e};function _0x2ef256(_0x2dafc5,_0x1cac16,_0x4ed686,_0x51428a){return _0x15f49a(_0x2dafc5-_0x1f55f9._0x58a774,_0x1cac16-0x2e4,_0x51428a,_0x51428a-_0x1f55f9._0x496438);}function _0x3c7590(_0x153068,_0x289b4a,_0x1d7023,_0x4d8256){return _0x15f49a(_0x153068-_0x39f679._0x37f8ec,_0x289b4a- -0x1a8,_0x153068,_0x4d8256-_0x39f679._0x2e5503);}try{const _0x569374=await _0x1041c3[_0x2ef256(0x2de,0x372,0x3d3,_0x30751f._0x5cffcf)](_0x1d76cb);if(!_0x569374)return _0x3f2958[_0x2ef256(0x81b,_0x30751f._0x494579,0x64f,_0x30751f._0x508e9b)][_0x2ef256(_0x30751f._0x5d4644,0x5ab,0x61f,_0x30751f._0x13fbae)](_0x2d0065),void 0x0;const _0x33e2b7=await createLspClient({'server':_0x1041c3,'root':_0x1d76cb,'handle':_0x569374}),_0x1a820c=_0x3f2958[_0x2ef256(_0x30751f._0x4bd77e,_0x30751f._0x5ea0ac,_0x30751f._0x304b66,_0x30751f._0x3bae3f)][_0x3c7590(_0x30751f._0x19cc7a,_0x30751f._0x174cf7,0x2c4,0x250)](_0x5215dd=>_0x5215dd[_0x3c7590(-0x97,0x9d,0x1ed,0xb7)]===_0x1041c3['id']&&_0x5215dd[_0x2ef256(0x313,0x2fa,0x198,0x11b)]===_0x1d76cb);if(_0x1a820c)return await _0x33e2b7[_0x3c7590(-0x1e8,-_0x30751f._0x14f316,-_0x30751f._0x3a26c6,-_0x30751f._0x414786)](),_0x1a820c;return _0x3f2958[_0x3c7590(_0x30751f._0x43de13,0x1b7,_0x30751f._0x3658a2,0xc1)]['push'](_0x33e2b7),_0x33e2b7;}catch{return _0x3f2958[_0x3c7590(0x3d1,_0x30751f._0x899c5f,_0x30751f._0x406fb0,_0x30751f._0x43945a)][_0x2ef256(0x4af,_0x30751f._0x3fd385,0x55f,_0x30751f._0x4660ad)](_0x2d0065),void 0x0;}finally{_0x3f2958[_0x2ef256(0x338,0x38b,0x55d,_0x30751f._0x226361)][_0x2ef256(_0x30751f._0x50101b,_0x30751f._0x5e0545,0x53b,0x531)](_0x2d0065);}})());return _0x3f2958['spawning'][_0x315ebd(_0x1444ba._0x34c81c,_0x1444ba._0x3387fe,_0x1444ba._0x393c0d,0x8fe)](_0x2d0065,_0x128e26),_0x128e26;}async function _0x309a76(_0x4381db,_0x547d74){const _0x4dfed8={_0x100baa:0x3a,_0x40f154:0x19b};function _0x2a8055(_0x1cc930,_0x25dbc8,_0x55f8be,_0x46526c){return _0x3e5194(_0x1cc930-0x51,_0x55f8be,_0x55f8be-0x70,_0x25dbc8-0x4b2);}function _0x23a869(_0x246e16,_0x3dc39e,_0x46c73b,_0x3e3dfb){return _0x3e5194(_0x246e16-_0x4dfed8._0x100baa,_0x3dc39e,_0x46c73b-_0x4dfed8._0x40f154,_0x246e16-0x4b1);}if(!_0x4a7e6b())return[];const _0x3481d0=[];for(const _0x126702 of getServersForFile(_0x4381db)){const _0x2aa9ba=await _0x126702[_0x23a869(_0x5314f4._0x42a7de,0x3e0,_0x5314f4._0x57f3c4,_0x5314f4._0x889a45)](_0x4381db);if(!_0x2aa9ba)continue;const _0x18c4ab=stateKey(_0x126702,_0x2aa9ba);if(_0x3f2958['broken'][_0x2a8055(_0x5314f4._0x1a27eb,0x492,0x35d,_0x5314f4._0x4e9007)](_0x18c4ab))continue;const _0x5da8ad=_0x3f2958[_0x23a869(0x733,_0x5314f4._0x3dc18b,_0x5314f4._0xed3203,_0x5314f4._0x350fbc)][_0x23a869(0x800,_0x5314f4._0x5a82eb,0x693,_0x5314f4._0x2d584f)](_0x4bcb58=>_0x4bcb58[_0x23a869(0x619,0x555,0x82f,0x81a)]===_0x126702['id']&&_0x4bcb58[_0x23a869(0x3ea,0x591,0x1ce,0x539)]===_0x2aa9ba);if(_0x5da8ad){_0x3481d0[_0x23a869(0x4a9,0x2f1,_0x5314f4._0x266580,_0x5314f4._0x533eb7)](_0x5da8ad);continue;}if(!_0x547d74)continue;const _0x510691=await _0x44760b(_0x126702,_0x2aa9ba);if(_0x510691)_0x3481d0['push'](_0x510691);}return _0x3481d0;}async function _0x449182(_0x58f398,_0x48b29d=![]){const _0x4735dd={_0x2c45a4:0x100,_0x132362:0xd3},_0x26474f={_0x2e9319:0x1dc,_0x3e3f65:0xce,_0xf6ccf2:0xd8};function _0xfda772(_0x2d503e,_0x5b3703,_0x4404e9,_0x1d88f7){return _0x3e5194(_0x2d503e-_0x26474f._0x2e9319,_0x1d88f7,_0x4404e9-_0x26474f._0x3e3f65,_0x4404e9- -_0x26474f._0xf6ccf2);}function _0xc685ad(_0x20d1b0,_0x1c8f1f,_0x221c29,_0x774925){return _0x3e5194(_0x20d1b0-_0x1c80b7._0x5c7cea,_0x1c8f1f,_0x221c29-0x3a,_0x20d1b0-_0x1c80b7._0x48e2ac);}const _0x28ff95=await _0x309a76(_0x58f398,!![]);await Promise[_0xfda772(-0x1a,-_0xe8ec47._0x451c2f,-0xda,-0x1d3)](_0x28ff95[_0xc685ad(_0xe8ec47._0x58ffb5,_0xe8ec47._0x56ae37,_0xe8ec47._0x28f2fa,0x241)](async _0xc79dcd=>{const _0x482002={_0x4ab3c3:0x107,_0x4b87ea:0x15e};!_0x3f2958[_0x56e16a(_0x44e14b._0xaf470,_0x44e14b._0x2fd35e,_0x44e14b._0x132883,_0x44e14b._0x283b31)][_0x56e16a(_0x44e14b._0x48acd8,_0x44e14b._0x1a05c5,0x10e,-0x4)](_0xc79dcd[_0x56e16a(_0x44e14b._0x2551f1,_0x44e14b._0xaef5f2,0x31b,0x1f4)]+':'+_0xc79dcd[_0x16c30b(_0x44e14b._0x1c742f,-0x17,0x23a,0x1fc)]+':'+_0x58f398)&&(await _0xc79dcd[_0x56e16a(_0x44e14b._0x10ad73,0x1f5,-0xd6,0x2e8)][_0x16c30b(-0x20,_0x44e14b._0x2e09f7,-0x87,0x1b6)]({'path':_0x58f398}),_0x3f2958[_0x16c30b(_0x44e14b._0x5425b4,0x67e,0x4f2,0x4fd)][_0x56e16a(0x270,0x143,_0x44e14b._0x17f640,_0x44e14b._0x10a0f2)](_0xc79dcd['serverId']+':'+_0xc79dcd[_0x16c30b(_0x44e14b._0x47387d,0x1c8,_0x44e14b._0x1dc2de,_0x44e14b._0xb91525)]+':'+_0x58f398));await _0xc79dcd[_0x16c30b(0x208,_0x44e14b._0x5f2761,_0x44e14b._0x7bc4a3,0x335)][_0x56e16a(0x24e,0x2f3,0x4a0,_0x44e14b._0x5403e4)]({'path':_0x58f398,'version':nextFileVersion(_0x3f2958,_0x58f398)});function _0x16c30b(_0x2f424b,_0x2d2712,_0x5f0036,_0x1e40f2){return _0xc685ad(_0x1e40f2- -_0x4735dd._0x2c45a4,_0x2d2712,_0x5f0036-_0x4735dd._0x132362,_0x1e40f2-0x27);}function _0x56e16a(_0x3c4b98,_0x6204f0,_0x48a54c,_0x2802a9){return _0xfda772(_0x3c4b98-0x63,_0x6204f0-_0x482002._0x4ab3c3,_0x3c4b98-_0x482002._0x4b87ea,_0x48a54c);}if(_0x48b29d)await _0xc79dcd[_0x16c30b(0x506,_0x44e14b._0x2b242f,_0x44e14b._0x3c64d2,0x400)]({'path':_0x58f398});}));}async function _0x51320e(_0x261c89){await _0x449182(_0x261c89[_0x19908c(0x457,0x44a,0x444,0x2f6)],![]);function _0x19908c(_0x2874cc,_0x502892,_0x466751,_0x5f1d43){return _0x3e5194(_0x2874cc-_0x3ed838._0x5a8cf0,_0x5f1d43,_0x466751-_0x3ed838._0x14566a,_0x502892-0x411);}return _0x309a76(_0x261c89['file'],![]);}async function _0x2fffbf(_0x29dc02){const _0x1f037f={_0x2a0563:0x86,_0xc9b084:0x613},_0x1a150c={_0xca5449:0x1e7,_0x4dac01:0x18c};function _0x1dda8a(_0x1a5a7e,_0x4d863c,_0x22d36b,_0x9e427a){return _0x3e5194(_0x1a5a7e-_0x1a150c._0xca5449,_0x4d863c,_0x22d36b-_0x1a150c._0x4dac01,_0x1a5a7e-0x4a4);}const _0x184b49=await _0x51320e(_0x29dc02);function _0x157043(_0x13e293,_0xabbcbb,_0x1bad2a,_0xcefcc7){return _0x3e5194(_0x13e293-0x10c,_0x1bad2a,_0x1bad2a-_0x1f037f._0x2a0563,_0xabbcbb-_0x1f037f._0xc9b084);}return collectClientResults(_0x184b49[_0x157043(0x640,_0x4eb2c4._0x21aa09,0x740,_0x4eb2c4._0x1e71da)](_0x35f4ff=>_0x35f4ff['request'][_0x157043(0x313,0x50a,0x399,0x72c)](_0x29dc02)));}function _0x3e5194(_0x5e4cd0,_0x3db8f6,_0x139636,_0x5dc724){return _0xa5377c(_0x3db8f6,_0x3db8f6-_0x14ff24._0x5c8bfe,_0x139636-_0x14ff24._0x481063,_0x5dc724- -_0x14ff24._0x2ff2a6);}return{'isEnabled':_0x4a7e6b,async 'hasClients'(_0x38ac65){function _0x2b5d4e(_0x50795e,_0x2d93db,_0x357f68,_0x148b25){return _0x3e5194(_0x50795e-0x14e,_0x50795e,_0x357f68-0x13a,_0x148b25-_0x495c68._0x4b2e58);}function _0x5e5d64(_0xcc6275,_0x48fbbd,_0x3c6a1b,_0xcae61c){return _0x3e5194(_0xcc6275-_0x3152a0._0xc1e2a0,_0x48fbbd,_0x3c6a1b-_0x3152a0._0xc9d371,_0xcc6275-_0x3152a0._0x3ab05b);}return(await _0x309a76(_0x38ac65,![]))[_0x5e5d64(0x785,_0x5ea7f4._0x32fa36,_0x5ea7f4._0x37b99b,0x74d)]>0x0||getServersForFile(_0x38ac65)[_0x2b5d4e(0x28f,0x4cf,0x382,_0x5ea7f4._0x203d11)]>0x0;},'touchFile':_0x449182,async 'diagnostics'(){const _0x5a09a3={_0x3bc4d6:0x110};function _0x1e038a(_0x170211,_0x21e6d0,_0x42a6d4,_0x5802c7){return _0x3e5194(_0x170211-0x50,_0x42a6d4,_0x42a6d4-0xb8,_0x5802c7-0x670);}function _0x35aaa8(_0x28ca04,_0x1febf3,_0xfe32bd,_0x443108){return _0x3e5194(_0x28ca04-_0x5a09a3._0x3bc4d6,_0x28ca04,_0xfe32bd-0x19,_0x1febf3-0x10c);}const _0x1f4dad={};for(const _0x536579 of _0x3f2958[_0x35aaa8(_0xb94054._0x33d7a5,_0xb94054._0x313063,_0xb94054._0x21fbed,0x199)]){for(const [_0x54345b,_0x3845bb]of _0x536579[_0x35aaa8(_0xb94054._0x1c925c,0x3c8,_0xb94054._0x5cbbdf,_0xb94054._0x4cebb3)]){_0x1f4dad[diagnosticsKeyToPath(_0x54345b)]=_0x3845bb;}}return _0x1f4dad;},async 'diagnosticsForFile'(_0x413f43){const _0x4648eb={_0x22376c:0xa6,_0x164101:0xaa,_0x1e416b:0x40d};await _0x449182(_0x413f43,!![]);const _0x141a1e=[];for(const _0x296e94 of await _0x309a76(_0x413f43,![])){for(const [_0x140037,_0x438b68]of _0x296e94['diagnostics']){if(diagnosticsKeyToPath(_0x140037)===_0x413f43)_0x141a1e[_0x55e9ff(_0x40ee96._0x54ed3,0x383,0x56b,0x405)](..._0x438b68);}}function _0x55e9ff(_0x18b263,_0x2d9268,_0x5250d5,_0x521c9a){return _0x3e5194(_0x18b263-_0x4648eb._0x22376c,_0x5250d5,_0x5250d5-_0x4648eb._0x164101,_0x521c9a-_0x4648eb._0x1e416b);}return _0x141a1e;},async 'definition'(_0x58f7b2){const _0x4543ee={_0x52d1d0:0x1ca,_0x451a84:0x162};function _0x407b9a(_0x413175,_0x2df5a1,_0x3a7904,_0x5864af){return _0x3e5194(_0x413175-_0x527111._0x294f47,_0x3a7904,_0x3a7904-_0x527111._0xf08437,_0x2df5a1-_0x527111._0x3d0ac9);}function _0x4ee9d7(_0x47d40c,_0x1ac66d,_0x4d3a47,_0x4b002d){return _0x3e5194(_0x47d40c-_0x4543ee._0x52d1d0,_0x1ac66d,_0x4d3a47-_0x4543ee._0x451a84,_0x4d3a47-0x4b8);}return collectClientResults((await _0x51320e(_0x58f7b2))[_0x407b9a(_0x1cfa46._0x56e119,0x5fd,0x73f,_0x1cfa46._0x45c983)](_0xe1e3dc=>_0xe1e3dc[_0x407b9a(0x9b4,0x75a,0x59a,0x589)]['definition'](_0x58f7b2)));},async 'references'(_0x2ed201){const _0x1d1f4a={_0x2568b4:0xf0,_0x338a8f:0x136,_0x5f4714:0xd4};function _0x173242(_0x275b94,_0x3ca74e,_0x50207a,_0x1d4ef6){return _0x3e5194(_0x275b94-0x5b,_0x3ca74e,_0x50207a-0xd1,_0x1d4ef6-_0x2f6c06._0x409532);}function _0xda337(_0x13ff15,_0x40c86c,_0x26e6c4,_0x3173d3){return _0x3e5194(_0x13ff15-_0x1d1f4a._0x2568b4,_0x40c86c,_0x26e6c4-_0x1d1f4a._0x338a8f,_0x26e6c4-_0x1d1f4a._0x5f4714);}return collectClientResults((await _0x51320e(_0x2ed201))[_0x173242(_0x2288b0._0x1c1e82,0x36,_0x2288b0._0x51c7db,_0x2288b0._0x593f31)](_0x1a1423=>_0x1a1423[_0xda337(0xd5,0x3d6,0x22d,0x39a)][_0xda337(0x250,0x145,0x71,-0x10a)](_0x2ed201)));},async 'hover'(_0xd20eac){const _0x50cb8d=await Promise['allSettled']((await _0x51320e(_0xd20eac))[_0x4076b5(0x27a,_0x577ffc._0x3f5272,_0x577ffc._0x14839b,0x2eb)](_0x204cea=>_0x204cea['request'][_0x4076b5(0x305,0x47b,0x58c,0x415)](_0xd20eac)));function _0x4076b5(_0x748a1f,_0x107da7,_0x298152,_0x50c5c3){return _0x3e5194(_0x748a1f-_0x31340c._0x1ae314,_0x107da7,_0x298152-_0x31340c._0x572f41,_0x50c5c3-0x2ef);}function _0x3f11e0(_0x3a1353,_0x40bda3,_0x55de68,_0x21f5cd){return _0x3e5194(_0x3a1353-_0x41de1b._0x3dc6b8,_0x3a1353,_0x55de68-_0x41de1b._0x1f07d4,_0x21f5cd-0x320);}return _0x50cb8d[_0x4076b5(0x2f8,0x52d,0x3ce,_0x577ffc._0x25556d)](_0x4ede68=>_0x4ede68[_0x4076b5(0x690,0x745,0x595,0x543)]===_0x3f11e0(-0x2b,0x54,0x338,0x1f3)&&_0x4ede68[_0x4076b5(0x4ba,0x518,0x25b,0x40e)]?[_0x4ede68[_0x4076b5(0x40c,0x5e0,0x5f9,0x40e)]]:[]);},async 'documentSymbol'(_0x3e9f3f){const _0x334d06={_0x137cc6:0x5e},_0x3b214e={_0x2f809c:0x148};await _0x449182(_0x3e9f3f,![]);function _0x279b21(_0xae2947,_0x27efa8,_0x11edc7,_0x35f5a7){return _0x3e5194(_0xae2947-0x8e,_0x11edc7,_0x11edc7-_0x3b214e._0x2f809c,_0x35f5a7- -0x126);}function _0x162642(_0x8df423,_0x2a496b,_0x388818,_0x2228d4){return _0x3e5194(_0x8df423-0x10d,_0x8df423,_0x388818-_0x334d06._0x137cc6,_0x388818-0x5fa);}return collectClientResults((await _0x309a76(_0x3e9f3f,![]))[_0x279b21(0xc,_0x5169c3._0x2e4363,-_0x5169c3._0xf70634,-0x12a)](_0x20ad1f=>_0x20ad1f[_0x162642(0x8d6,0x76c,0x753,0x8c4)][_0x162642(0x886,0x775,0x687,0x5e7)](_0x3e9f3f)));},async 'workspaceSymbol'(_0x33ba92){function _0xccf78e(_0x26a47e,_0xed8da3,_0x31c727,_0x54197c){return _0x3e5194(_0x26a47e-_0x5c826f._0x5f1459,_0x31c727,_0x31c727-0x86,_0x26a47e-_0x5c826f._0x4ff1f9);}function _0x266f52(_0x28eab5,_0x181511,_0x14302c,_0x4417f1){return _0x3e5194(_0x28eab5-_0x3dfa36._0x93335e,_0x28eab5,_0x14302c-0x6c,_0x14302c-_0x3dfa36._0x230ebf);}return collectClientResults(_0x3f2958[_0x266f52(_0x451797._0xd707b7,_0x451797._0x41145c,0x6a5,_0x451797._0x77c88f)][_0x266f52(_0x451797._0x34a0d3,0x59f,0x41f,_0x451797._0x596741)](_0x44cf55=>_0x44cf55['request'][_0x266f52(0x473,0x4de,0x6a4,0x6fb)](_0x33ba92)));},async 'implementation'(_0x48a926){const _0x185c7b={_0x2b446a:0xf3};function _0x1f7cab(_0x335921,_0x5d2884,_0x118593,_0x31c857){return _0x3e5194(_0x335921-0x132,_0x335921,_0x118593-_0x3632aa._0x5ca8db,_0x5d2884-0x5b5);}function _0xf99df8(_0x5ad20a,_0x41a5e6,_0x34b50c,_0xb7d7b3){return _0x3e5194(_0x5ad20a-0xf8,_0xb7d7b3,_0x34b50c-_0x185c7b._0x2b446a,_0x34b50c-0x3b5);}return collectClientResults((await _0x51320e(_0x48a926))[_0x1f7cab(_0x2aede4._0xa2a3fc,0x5b1,0x412,_0x2aede4._0x50f9c8)](_0x569c94=>_0x569c94[_0xf99df8(0x583,0x367,0x50e,0x30c)][_0xf99df8(0x644,0x5a0,0x614,0x543)](_0x48a926)));},async 'prepareCallHierarchy'(_0x3df64f){return _0x2fffbf(_0x3df64f);},async 'incomingCalls'(_0x2550af){const _0x27149a=await _0x2fffbf(_0x2550af),_0x198d7d=await _0x51320e(_0x2550af);function _0xd8da48(_0x116b80,_0x3a627f,_0x3ca3b2,_0x5ccc91){return _0x3e5194(_0x116b80-0x149,_0x3ca3b2,_0x3ca3b2-0x1f2,_0x116b80-0x2e0);}return collectClientResults(_0x198d7d[_0xd8da48(0x30c,0x24f,0x14a,0x308)](_0x9b06a5=>_0x27149a['map'](_0x9cc9f8=>_0x9b06a5['request']['incomingCalls'](_0x9cc9f8))));},async 'outgoingCalls'(_0x3a7a40){function _0xe67937(_0x4578c6,_0x4b0207,_0x1a987d,_0x1f70e0){return _0x3e5194(_0x4578c6-0xdb,_0x4578c6,_0x1a987d-0x47,_0x1a987d-0x7b);}const _0x123897=await _0x2fffbf(_0x3a7a40),_0x319cb6=await _0x51320e(_0x3a7a40);function _0x3e432(_0x15dcc2,_0x33cf65,_0x6b5ce9,_0x44ca56){return _0x3e5194(_0x15dcc2-_0x3527f2._0x56aa69,_0x15dcc2,_0x6b5ce9-0x5e,_0x6b5ce9-_0x3527f2._0x19c09a);}return collectClientResults(_0x319cb6['flatMap'](_0x510a66=>_0x123897[_0x3e432(0x4f1,0x310,0x303,0x3de)](_0x32b30c=>_0x510a66['request'][_0x3e432(0x4e2,0x537,0x5af,0x7e1)](_0x32b30c))));},async 'shutdown'(){const _0x34b4d0={_0x2c6c08:0x177,_0x37d690:0x73},_0x30f609={_0x3cb722:0x5e};if(_0x3f2958[_0x4343f3(0x5cc,0x430,_0x4fdcf1._0x5ce3e8,0x4e0)])return;_0x3f2958[_0x4343f3(_0x4fdcf1._0x21fc25,0x332,0x426,_0x4fdcf1._0x30b339)]=!![];function _0x4343f3(_0x2554e5,_0x14aa49,_0x202877,_0x5b7ec9){return _0x3e5194(_0x2554e5-_0x30f609._0x3cb722,_0x2554e5,_0x202877-0x55,_0x202877-0xae);}await Promise['allSettled'](_0x3f2958['clients']['map'](_0x57c2ee=>_0x57c2ee[_0x4343f3(0x1a3,0x175,-0x12,-0x219)]())),_0x3f2958[_0x3bef39(_0x4fdcf1._0x2acb58,0x1dd,_0x4fdcf1._0x1d5e4c,_0x4fdcf1._0xe20501)]=[],_0x3f2958['spawning'][_0x4343f3(0x151,_0x4fdcf1._0x2587ab,_0x4fdcf1._0x5eb58d,0x42)](),_0x3f2958[_0x3bef39(_0x4fdcf1._0x542ac9,0x21c,0x1c,0xbf)]['clear']();function _0x3bef39(_0x6bfc76,_0x1c57ae,_0x516b1b,_0xca8731){return _0x3e5194(_0x6bfc76-_0x34b4d0._0x2c6c08,_0xca8731,_0x516b1b-_0x34b4d0._0x37d690,_0x1c57ae- -0xa5);}_0x3f2958[_0x4343f3(_0x4fdcf1._0x1e0eaa,-0x16e,_0x4fdcf1._0x4f0e68,-_0x4fdcf1._0x967a9a)][_0x4343f3(0x2fb,0x43e,_0x4fdcf1._0x1e351d,_0x4fdcf1._0x1053ce)](),_0x3f2958['openFiles'][_0x4343f3(_0x4fdcf1._0x144379,0x412,0x255,_0x4fdcf1._0x54691a)]();},'status'(){const _0x49eed7={_0x4d26ce:0x1b3,_0x473535:0x4a8};function _0x212f4c(_0x25675f,_0x52a416,_0x249066,_0x15862b){return _0x3e5194(_0x25675f-_0x49eed7._0x4d26ce,_0x249066,_0x249066-0x8b,_0x25675f-_0x49eed7._0x473535);}return{'connectedClients':_0x3f2958['clients'][_0x212f4c(0x614,_0x277761._0x388227,_0x277761._0x404c91,0x4f5)]};}};}function getCommand(_0x402940){const _0x2cb165={_0x4cef8e:0xc8,_0x589922:0x102,_0x2f255c:0xfc,_0x4d720d:0x41d,_0x5077f5:0x463,_0x56ecc9:0x400,_0x280923:0x1cf},_0x3c5493={_0x40e18f:0x11c,_0x1cbb0c:0x3df},_0x5832dc={_0x5985d2:0x123,_0x3cbdf8:0x99,_0x5efd18:0x18d};function _0x442dc3(_0x2334b2,_0x110508,_0x2dcb7f,_0x4f0cf4){return _0xa5377c(_0x110508,_0x110508-_0x5832dc._0x5985d2,_0x2dcb7f-_0x5832dc._0x3cbdf8,_0x2dcb7f-_0x5832dc._0x5efd18);}function _0x5c4508(_0xdbc8c0,_0x2ff4eb,_0x14d8a2,_0x290e67){return _0xa5377c(_0xdbc8c0,_0x2ff4eb-0x17e,_0x14d8a2-_0x3c5493._0x40e18f,_0x290e67- -_0x3c5493._0x1cbb0c);}if(_0x402940&&typeof _0x402940==='object'&&!Array['isArray'](_0x402940)&&typeof _0x402940[_0x5c4508(-0xd8,_0x2cb165._0x4cef8e,_0x2cb165._0x589922,-_0x2cb165._0x2f255c)]==='string')return _0x402940[_0x442dc3(0x26c,_0x2cb165._0x4d720d,0x470,0x531)];return _0x442dc3(0x291,_0x2cb165._0x5077f5,_0x2cb165._0x56ecc9,_0x2cb165._0x280923);}var MOCK_WORKSPACE_LISTING=['docs/plans/2026-04-16-agent-loop-core-design.md',_0x4eedea(-0x128,0x34,-0xf,-0xd9),_0x4eedea(0x12f,0x116,0x106,0x129),_0x4eedea(0x23c,0x156,0x3b3,0x365),_0x4eedea(0x4b5,0x2e1,0x380,0x4f5),'src/formats/message-format.ts','src/examples/demo.ts',_0x4eedea(0x4fd,0x2d0,0x3de,0x1d8),_0x4eedea(0xc9,0x286,0x3f7,0x4be),'src/tools/core/mock-tool-runtime.ts',_0xa5377c(0x129,0x430,0x35a,0x23b),_0x4eedea(0x1b1,0x29c,0x109,0x170),_0xa5377c(0x12d,0x23c,0x264,0x312),_0xa5377c(0x625,0x3f9,0x35c,0x4ec),'src/models/anthropic-model.ts',_0xa5377c(0x3de,0x1a7,0x3e7,0x2c9),_0x4eedea(0x3b8,0x168,0x16f,0x26)]['join']('\x0a'),SHELL_EXEC_TOOL={'name':'Bash','description':_0x4eedea(0x1d6,0x1c9,0x39d,0x32c),'input_schema':{'type':_0x4eedea(0x177,0x25c,0x105,0x3),'properties':{'command':{'type':_0x4eedea(0x394,0x464,0x678,0x557)}},'required':[_0xa5377c(0x4b7,0x353,0x25e,0x2e3)]}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x5521e2){return{'output':_0x5521e2,'structured':{'value':_0x5521e2}};}function createUnknownToolResult(_0x44f521){const _0x165ada={_0x26bab1:0x623,_0x4c8c01:0x58d,_0x4ed5f0:0x4d7,_0x1eaaf0:0x137,_0x11c02e:0x11,_0x3b0342:0x2b8,_0x20f510:0x3d4},_0x27f855={_0x9e7bd1:0x2b5},_0x273b57={_0x2bc075:0x22,_0x55f7d6:0x4b};function _0x490f18(_0x8a7265,_0x262e19,_0x5afbc8,_0x1188e4){return _0x4eedea(_0x8a7265-0x82,_0x1188e4-_0x273b57._0x2bc075,_0x8a7265,_0x1188e4-_0x273b57._0x55f7d6);}function _0x2d510a(_0x479147,_0x248c9c,_0x1f5bda,_0x176833){return _0xa5377c(_0x176833,_0x248c9c-0xef,_0x1f5bda-0x109,_0x248c9c-_0x27f855._0x9e7bd1);}return{'callId':_0x44f521['id'],'toolName':_0x44f521['name'],'status':_0x2d510a(0x427,_0x165ada._0x26bab1,_0x165ada._0x4c8c01,_0x165ada._0x4ed5f0),'output':_0x490f18(0xda,-0x251,-_0x165ada._0x1eaaf0,-_0x165ada._0x11c02e)+_0x44f521[_0x490f18(_0x165ada._0x3b0342,0x368,0x47e,_0x165ada._0x20f510)],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x371798,_0x1b861f){return{'callId':_0x371798['id'],'toolName':_0x371798['name'],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x371798['input']),'exitCode':0x0},'chunks':[_0x1b861f],'meta':createMeta()};}function createMockToolRuntime(){const _0x2296f8={_0x27c9e1:0x597,_0x18e0f5:0x4c0,_0x4bbac9:0x222},_0x45f336={_0x366021:0x20b},_0x692f8c={_0x38f85a:0x919,_0x2fba05:0x594},_0x5ad111={_0x41b977:0x227},_0x55ac9b=async(_0x21eb61,_0xa8e29f)=>{function _0x4baf5f(_0x562b8b,_0x2b0790,_0x46cbca,_0x1f89d9){return _0x7d60(_0x2b0790- -_0x5ad111._0x41b977,_0x46cbca);}if(_0x21eb61[_0x1e3412(0x7c7,_0x692f8c._0x38f85a,0x770,0x74a)]!==_0x1e3412(0x6a7,0x468,0x587,_0x692f8c._0x2fba05))return createUnknownToolResult(_0x21eb61);const _0x312f58=createOutputChunk(MOCK_WORKSPACE_LISTING);function _0x1e3412(_0x4bb185,_0xf6697b,_0x2a1646,_0x53958a){return _0x7d60(_0x53958a-0x1d9,_0xf6697b);}return createSuccessToolResult(_0x21eb61,_0x312f58);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x9887f,_0x12e71e){const _0x5b20d5={_0x1e5dc5:0x31a};function _0x54d98c(_0x4226fc,_0x1dda22,_0x5c581d,_0x1723c1){return _0x7d60(_0x1723c1- -_0x5b20d5._0x1e5dc5,_0x5c581d);}function _0x160261(_0x4d7824,_0x4288f6,_0x3e6a64,_0x1b1cd1){return _0x7d60(_0x3e6a64-_0x45f336._0x366021,_0x4d7824);}return await Promise[_0x160261(0x694,_0x2296f8._0x27c9e1,_0x2296f8._0x18e0f5,0x666)](_0x9887f[_0x54d98c(-_0x2296f8._0x4bbac9,0x91,0x13a,-0x67)](async _0x21ab62=>{return await _0x55ac9b(_0x21ab62,_0x12e71e);}));},async 'execute'(_0x2fe171,_0x5c6cf9){return await _0x55ac9b(_0x2fe171,_0x5c6cf9);}};}import{randomUUID}from'crypto';var MODEL_TIERS=[_0xa5377c(0x420,0x5c0,0x4e3,0x61d),_0xa5377c(0x1f8,0x200,0x365,0x3c6),_0x4eedea(0xee,0x129,0x269,0x2ae)],DelegatedResolutionError=class extends Error{[_0xa5377c(0x2e0,0x474,0x4b0,0x4f9)];['agentModelSet'];[_0xa5377c(0x5e0,0x531,0x40f,0x4f4)];constructor(_0x3ffff5,_0x46cef9,_0x5ec98e){const _0x34c133={_0x7072d9:0x690,_0x4e1861:0x38a,_0x5039b4:0x7c1,_0x4fa2e7:0x2d5,_0x18c744:0x439,_0x33572f:0x6d6,_0x51d4c1:0x59,_0x2d23f3:0x38,_0x1b50de:0xd7,_0x3055be:0x12b,_0x50a179:0x32f,_0x5f590a:0x4b0},_0x4534a9={_0x5cad52:0x1b2},_0x1b3eb3={_0x1c5847:0x1a1,_0x1f2543:0x13d};super(_0x3ffff5,_0x5ec98e),this[_0x33212c(_0x34c133._0x7072d9,_0x34c133._0x4e1861,_0x34c133._0x5039b4,0x564)]='DelegatedResolutionError';function _0x3b27cd(_0x2f9cad,_0x2b535f,_0x2d0bd8,_0x50a17b){return _0x4eedea(_0x2f9cad-_0x1b3eb3._0x1c5847,_0x50a17b-_0x1b3eb3._0x1f2543,_0x2f9cad,_0x50a17b-0x60);}function _0x33212c(_0x3468b5,_0x2d2d7e,_0x16fcb4,_0x37f8b6){return _0x4eedea(_0x3468b5-0x29,_0x37f8b6-_0x4534a9._0x5cad52,_0x2d2d7e,_0x37f8b6-0x16f);}this[_0x3b27cd(0x4e2,0x3bc,0x68d,0x440)]=_0x46cef9[_0x33212c(_0x34c133._0x4fa2e7,_0x34c133._0x18c744,_0x34c133._0x33572f,0x4b5)],this['agentModelSet']=_0x46cef9[_0x3b27cd(_0x34c133._0x51d4c1,_0x34c133._0x2d23f3,-_0x34c133._0x1b50de,_0x34c133._0x3055be)],this[_0x33212c(0x64d,_0x34c133._0x50a179,0x6ac,_0x34c133._0x5f590a)]=_0x46cef9['selector'];}},RFC4122_UUID=/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i,DELEGATED_RUN_PREFIX='delegated-run-';function isValidDelegatedRunId(_0x4933fd){const _0x2d6de0={_0x1bdd68:0x54f,_0x291b8b:0x611,_0x37c17b:0x755,_0x46c8ae:0x3cf,_0x3f7e84:0x18f,_0x393625:0x3eb,_0x517ce2:0x467,_0x16f217:0x37d,_0x53cf10:0x420,_0x176571:0x2ac,_0x524a4b:0x245,_0x291f1b:0x1b2,_0x342161:0x4c6},_0x49fbfa={_0x16d178:0xdd,_0x340b2b:0x123,_0x4d6334:0x1ae},_0x5dfbd2={_0x1146e9:0xc,_0x2d9ee9:0x1ad,_0x49a34c:0x10b};function _0x250192(_0x193b44,_0x3fac2e,_0x427dde,_0x2679dc){return _0xa5377c(_0x2679dc,_0x3fac2e-_0x5dfbd2._0x1146e9,_0x427dde-_0x5dfbd2._0x2d9ee9,_0x193b44- -_0x5dfbd2._0x49a34c);}function _0x14f562(_0x4adda1,_0x20a0d3,_0x470845,_0x234675){return _0xa5377c(_0x234675,_0x20a0d3-_0x49fbfa._0x16d178,_0x470845-_0x49fbfa._0x340b2b,_0x4adda1- -_0x49fbfa._0x4d6334);}return typeof _0x4933fd===_0x250192(_0x2d6de0._0x1bdd68,_0x2d6de0._0x291b8b,0x3df,_0x2d6de0._0x37c17b)&&_0x4933fd[_0x250192(0x533,0x55a,0x4ea,_0x2d6de0._0x46c8ae)](DELEGATED_RUN_PREFIX)&&RFC4122_UUID[_0x14f562(_0x2d6de0._0x3f7e84,0x391,_0x2d6de0._0x393625,0x12f)](_0x4933fd[_0x250192(_0x2d6de0._0x517ce2,_0x2d6de0._0x16f217,0x21d,_0x2d6de0._0x53cf10)](DELEGATED_RUN_PREFIX[_0x14f562(_0x2d6de0._0x176571,_0x2d6de0._0x524a4b,_0x2d6de0._0x291f1b,_0x2d6de0._0x342161)]));}function createDelegatedRunId(){const _0x102984={_0x3ab695:0x65d},_0x60be1e={_0x3f4b9d:0x161,_0x54b4c3:0x143};function _0x340567(_0xa4140a,_0x290862,_0x4b6311,_0x2197ea){return _0x4eedea(_0xa4140a-_0x60be1e._0x3f4b9d,_0x2197ea-_0x60be1e._0x54b4c3,_0x4b6311,_0x2197ea-0xc9);}return _0x340567(_0x102984._0x3ab695,0x316,0x5e7,0x43f)+randomUUID();}function rethrowDelegatedError(_0x3f7ca9){throw _0x3f7ca9;}async function resolveDelegatedAgentOptions(_0x4f7555,_0x131702){const _0x4a19a8={_0x57a57f:0x7c9,_0x1e0ad1:0x64b,_0x359629:0x921,_0x3038f0:0x762,_0x13b8b6:0x578},_0x43ce0c={_0x2f6a01:0x310},_0x34a5d4={_0x38656d:0x170,_0x395b22:0x1ce},_0x3a4c27=typeof _0x4f7555===_0x3c1bbe(0x9af,_0x4a19a8._0x57a57f,_0x4a19a8._0x1e0ad1,0x6b5)?await _0x4f7555(_0x131702):_0x4f7555;function _0x2438df(_0x16f040,_0x86bf7b,_0x11658a,_0x47ab1d){return _0xa5377c(_0x47ab1d,_0x86bf7b-0x1dc,_0x11658a-_0x34a5d4._0x38656d,_0x16f040-_0x34a5d4._0x395b22);}function _0x3c1bbe(_0xaa522b,_0x30a9e3,_0x543fe5,_0x57b45f){return _0xa5377c(_0x57b45f,_0x30a9e3-0xa7,_0x543fe5-0x26,_0x30a9e3-_0x43ce0c._0x2f6a01);}return typeof _0x3a4c27===_0x3c1bbe(_0x4a19a8._0x359629,_0x4a19a8._0x3038f0,_0x4a19a8._0x13b8b6,0x76e)&&_0x3a4c27!==null&&Object['hasOwn'](_0x3a4c27,_0x3c1bbe(0x4c9,0x520,0x325,0x2f5))?_0x3a4c27:{'options':_0x3a4c27};}function awaitWithAbort(_0x1f49bd,_0x1cad1d){const _0x48f228={_0x685b63:0x333,_0x376b3c:0x3d1},_0x2fd5e1={_0x23b75b:0xbb,_0x4aea1d:0x1fa};return throwIfAborted(_0x1cad1d),new Promise((_0xad2611,_0x223e0c)=>{let _0x3fefca=![];const _0x52f94e=addAbortListener(_0x1cad1d,()=>{function _0x5cf254(_0x235763,_0x5d6918,_0x22c99c,_0xb4cd24){return _0x7d60(_0xb4cd24- -0x3b9,_0x235763);}if(_0x3fefca)return;_0x3fefca=!![],_0x223e0c(toAbortError(_0x1cad1d[_0x5cf254(0x1c4,-_0x2fd5e1._0x23b75b,_0x2fd5e1._0x4aea1d,-0x4f)]));});function _0x2e4be4(_0x1743e5,_0x405bc3,_0x54a19f,_0x57fdb2){return _0x7d60(_0x57fdb2-0x55,_0x54a19f);}_0x1f49bd[_0x2e4be4(0x4f9,_0x48f228._0x685b63,_0x48f228._0x376b3c,0x406)](_0x1229bc=>{if(_0x3fefca)return;_0x3fefca=!![],_0x52f94e(),_0xad2611(_0x1229bc);},_0x3d4ade=>{if(_0x3fefca)return;_0x3fefca=!![],_0x52f94e(),_0x223e0c(_0x3d4ade);});});}function getDelegatedAgentDefinition(_0x2729ae,_0x125521){const _0x213f98={_0x46c024:0x12c},_0x27b56c={_0x3d12bc:0x17d};function _0x1a5c20(_0x19106f,_0xf2cd39,_0x2129e8,_0x2e6909){return _0x4eedea(_0x19106f-0x13c,_0x2e6909- -0xf3,_0x2129e8,_0x2e6909-_0x27b56c._0x3d12bc);}return _0x2729ae[_0x1a5c20(-0xe6,-0x24,0x2d0,_0x213f98._0x46c024)]?.[_0x125521];}function createRoutingSummary(_0x43fe72){const _0x401a19={_0x22b96d:0x3ae,_0x403301:0x9b,_0x4a3e3e:0x22a,_0x3f29fd:0x236,_0x379dff:0x280,_0xb3d7d:0x3a5,_0x375be3:0x461,_0x396da9:0x2d8,_0x2a571d:0x1d3,_0x38ebbb:0x29e},_0x1a0098={_0x59417c:0x13e,_0x2ad74f:0x52},_0x3c10e8={_0x1a8861:0xe7,_0x55a978:0x18};function _0x3bfa75(_0xcae3b9,_0x1ddd2c,_0x634d86,_0x2a9ff1){return _0x4eedea(_0xcae3b9-_0x3c10e8._0x1a8861,_0x2a9ff1-0xab,_0xcae3b9,_0x2a9ff1-_0x3c10e8._0x55a978);}if(_0x43fe72[_0x3bfa75(0x286,0x457,0x272,_0x401a19._0x22b96d)]===void 0x0)return{};function _0x566257(_0x48c444,_0x42f4b8,_0x1c612c,_0x44fe6a){return _0xa5377c(_0x1c612c,_0x42f4b8-0x71,_0x1c612c-_0x1a0098._0x59417c,_0x42f4b8-_0x1a0098._0x2ad74f);}const _0x313c4c=_0x43fe72[_0x3bfa75(_0x401a19._0x403301,0x1aa,0xb1,0x29e)]?.[_0x566257(0x103,0x236,0x2aa,_0x401a19._0x4a3e3e)]??_0x43fe72[_0x566257(0x82,_0x401a19._0x3f29fd,_0x401a19._0x379dff,0x22e)];return{'requestedModelTier':_0x43fe72[_0x3bfa75(_0x401a19._0xb3d7d,0x39d,0x39b,0x3ae)],..._0x313c4c===void 0x0?{}:{'agentModelSet':_0x313c4c},..._0x43fe72['routing']?.[_0x3bfa75(0x666,_0x401a19._0x375be3,_0x401a19._0x396da9,0x443)]===void 0x0?{}:{'resolvedModelIdentity':_0x43fe72[_0x3bfa75(_0x401a19._0x2a571d,0x2dd,0xd3,_0x401a19._0x38ebbb)]['resolvedModelIdentity']}};}function createStructuredWithRoutingSummary(_0x4fabab,_0x1993ea){const _0x411baf={_0x5ced3e:0xe4,_0x28dd39:0x2d7,_0x8c4fd7:0x4f,_0x211a1b:0x3e,_0x5faa8c:0x471,_0x2746fa:0x6b1,_0x16ac99:0x7b3},_0x302aef={_0x14faad:0x19f,_0xf36b65:0xb4},_0x51a161={..._0x4fabab};function _0x35d12e(_0x45ba59,_0x117416,_0x5a397d,_0x5c9ce4){return _0xa5377c(_0x5c9ce4,_0x117416-0x141,_0x5a397d-0x1a1,_0x117416-0x123);}delete _0x51a161[_0x236384(0x176,_0x411baf._0x5ced3e,_0x411baf._0x28dd39,0x21f)];function _0x236384(_0x321bb5,_0x2c860e,_0x252af5,_0xb31b23){return _0xa5377c(_0xb31b23,_0x2c860e-_0x302aef._0x14faad,_0x252af5-_0x302aef._0xf36b65,_0x252af5- -0x222);}return delete _0x51a161[_0x236384(-0xdb,-_0x411baf._0x8c4fd7,-_0x411baf._0x211a1b,0x39)],delete _0x51a161[_0x35d12e(_0x411baf._0x5faa8c,_0x411baf._0x2746fa,_0x411baf._0x16ac99,0x550)],{..._0x51a161,...createRoutingSummary(_0x1993ea)};}function createRunSummary(_0x4b3a93){const _0x54147={_0x2d3d10:0x7d,_0x34589a:0xfd,_0x4a7867:0x236,_0x2a119d:0x1d9,_0x36b3c4:0x236,_0x510695:0x1ad,_0x199170:0x3a9,_0xc85698:0x1ab,_0x1073d4:0x310,_0x4afc36:0x1a3,_0x3ea1be:0x1bd,_0x14c51e:0x39,_0x167353:0x44b,_0x35863f:0x33d,_0x4ffa2b:0x4a2,_0x1cb1ab:0x8a,_0x5d7367:0xc,_0x37e87b:0x222,_0x590d3f:0x240,_0x917be5:0x144,_0xb3fc39:0x2c,_0x1f0d22:0x21f,_0x39ae86:0x3ea,_0x154c90:0x2ee,_0xbc5a4d:0x3ea,_0x397b6d:0x21f,_0x478ea8:0x365,_0x2efec9:0x315},_0x535b65={_0x101fc9:0x16d,_0x1bbc50:0x20f};function _0xb892da(_0xe9071c,_0x84166,_0x1f5269,_0x15f68f){return _0x4eedea(_0xe9071c-0x0,_0x15f68f-0x6e,_0x84166,_0x15f68f-0x147);}function _0x1f6669(_0x18fc01,_0x4fc23e,_0x1741a4,_0x2e74c8){return _0x4eedea(_0x18fc01-_0x535b65._0x101fc9,_0x4fc23e- -_0x535b65._0x1bbc50,_0x1741a4,_0x2e74c8-0x5a);}return{'runId':_0x4b3a93[_0x1f6669(-_0x54147._0x2d3d10,-0x1d8,-0x112,-0x31b)],'agentId':_0x4b3a93['agentId'],..._0x4b3a93[_0x1f6669(_0x54147._0x34589a,_0x54147._0x4a7867,0x113,_0x54147._0x2a119d)]!==void 0x0?{'sessionId':_0x4b3a93[_0x1f6669(0x3cf,_0x54147._0x36b3c4,_0x54147._0x510695,_0x54147._0x199170)]}:{},'status':_0x4b3a93[_0xb892da(0x282,_0x54147._0xc85698,_0x54147._0x1073d4,0x3ba)],'parentSessionId':_0x4b3a93[_0x1f6669(-0x357,-_0x54147._0x4afc36,-_0x54147._0x3ea1be,-_0x54147._0x14c51e)],..._0x4b3a93[_0xb892da(_0x54147._0x167353,0x618,_0x54147._0x35863f,_0x54147._0x4ffa2b)]!==void 0x0?{'originToolCallId':_0x4b3a93[_0x1f6669(0x30a,0x225,_0x54147._0x1cb1ab,0x1d8)]}:{},...createRoutingSummary(_0x4b3a93),..._0x4b3a93[_0xb892da(_0x54147._0x5d7367,_0x54147._0x37e87b,_0x54147._0x590d3f,0x139)]!==void 0x0?{'errorMessage':_0x4b3a93[_0x1f6669(-0x199,-_0x54147._0x917be5,-0x136,-_0x54147._0xb3fc39)]}:{},..._0x4b3a93[_0x1f6669(-0x186,-_0x54147._0x1f0d22,-0x219,-_0x54147._0x39ae86)]?.[_0xb892da(_0x54147._0x154c90,_0x54147._0xbc5a4d,0x147,0x315)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0x4b3a93[_0x1f6669(-0x1e4,-_0x54147._0x397b6d,-0x2e,-_0x54147._0x478ea8)][_0xb892da(0x264,0x1ba,0x103,_0x54147._0x2efec9)])}:{}};}function createRunSummaryOutput(_0x5817b2,_0x241bb8){const _0x1a2462={_0x5cda55:0x1cf,_0x3eaea5:0x329},_0x514477={_0x2eae8e:0xc6,_0x491cd3:0x43,_0x4628d4:0x331};function _0x207f0c(_0x11b7f0,_0x3f1019,_0x3ea02f,_0x1c6c50){return _0xa5377c(_0x3ea02f,_0x3f1019-_0x514477._0x2eae8e,_0x3ea02f-_0x514477._0x491cd3,_0x1c6c50- -_0x514477._0x4628d4);}const _0x1a45f5=createRunSummary(_0x5817b2),_0x35d21f=_0x1a45f5['finalMessageText'];return createToolOutput(typeof _0x35d21f===_0x207f0c(_0x1a2462._0x5cda55,_0x1a2462._0x5cda55,0x3e0,_0x1a2462._0x3eaea5)&&_0x35d21f['length']>0x0?_0x35d21f:_0x241bb8,_0x1a45f5);}function getRunTerminalErrorMessage(_0x12997c){const _0x465702={_0x1848ca:0x338,_0x271ecd:0x82,_0x4a78e7:0x2b5,_0x5b82fc:0x4fd,_0x3ea65e:0x5ae,_0x55cf9a:0x7cf,_0x2fa788:0x6b5,_0x4d6f50:0x629,_0x1d6247:0x5e7,_0x50fddd:0x516,_0x487ebb:0x32a,_0x441e53:0x1b5,_0xe841fc:0x493,_0xbc2237:0x278,_0xf56f:0x4bb,_0x5c5014:0x3dc,_0x58ccb0:0x61a,_0xb3d63d:0x212,_0x2914fc:0x715,_0x23feeb:0x4e3,_0x5e458c:0x49a},_0x4db8f2={_0xeafda9:0x24,_0x404452:0x7e},_0x3253ea={_0x688d4a:0x59},_0x573e51=_0x12997c?.[_0x497afb(_0x465702._0x1848ca,0x1a1,-_0x465702._0x271ecd,_0x465702._0x4a78e7)][_0x497afb(_0x465702._0x5b82fc,_0x465702._0x3ea65e,0x7eb,_0x465702._0x55cf9a)]['at'](-0x1);function _0x5c4fa9(_0x207d50,_0x3a01a4,_0x41616e,_0x33ccde){return _0x4eedea(_0x207d50-0xc9,_0x3a01a4-0x1b2,_0x41616e,_0x33ccde-_0x3253ea._0x688d4a);}function _0x497afb(_0x520b9,_0x1d7ea7,_0x48a583,_0x5554fa){return _0xa5377c(_0x48a583,_0x1d7ea7-0x1e7,_0x48a583-_0x4db8f2._0xeafda9,_0x1d7ea7- -_0x4db8f2._0x404452);}if(_0x573e51?.[_0x5c4fa9(_0x465702._0x2fa788,0x4fe,_0x465702._0x4d6f50,_0x465702._0x1d6247)]===_0x5c4fa9(_0x465702._0x50fddd,_0x465702._0x487ebb,0x137,_0x465702._0x441e53)&&_0x573e51[_0x497afb(0x43c,0x4e3,_0x465702._0xe841fc,0x3b5)][_0x497afb(0x36b,0x261,0x72,_0x465702._0xbc2237)]()[_0x497afb(_0x465702._0xf56f,_0x465702._0x5c5014,_0x465702._0x58ccb0,_0x465702._0xb3d63d)]>0x0)return _0x573e51[_0x497afb(_0x465702._0x2914fc,_0x465702._0x23feeb,_0x465702._0x5e458c,0x3cc)];return void 0x0;}function formatAbortedRunMessage(_0x1a3e69,_0x609fa7){const _0x9ef48f={_0x5d5380:0x6b6,_0x1ead27:0x424,_0x1633fe:0x211,_0x51c2cb:0x21d,_0x3da7b4:0x5ff,_0x1a928b:0x243,_0x313442:0x376},_0x55aa58={_0x93bb22:0x12d,_0x523201:0x1fe},_0x3fbc06={_0x3cf858:0x1e9,_0x244bf9:0x16f},_0x5db834=_0x99b3d0(_0x9ef48f._0x5d5380,0x457,_0x9ef48f._0x1ead27,0x4d8)+_0x1a3e69+'\x20was\x20aborted.';if(!_0x609fa7||_0x609fa7[_0x99b3d0(_0x9ef48f._0x1633fe,0x3ba,0x4b1,0x2b6)]()[_0x99b3d0(0x23e,_0x9ef48f._0x51c2cb,0x2a9,0x431)]===0x0||_0x609fa7===_0x5db834)return _0x5db834;function _0x99b3d0(_0x4b164d,_0x1deb19,_0x777b19,_0x2195a9){return _0x4eedea(_0x4b164d-_0x3fbc06._0x3cf858,_0x2195a9-0x1cd,_0x777b19,_0x2195a9-_0x3fbc06._0x244bf9);}function _0x469761(_0x144d55,_0xe238d5,_0x153ccf,_0x5e9d13){return _0xa5377c(_0x144d55,_0xe238d5-0x17f,_0x153ccf-_0x55aa58._0x93bb22,_0xe238d5-_0x55aa58._0x523201);}return _0x5db834+_0x99b3d0(_0x9ef48f._0x3da7b4,_0x9ef48f._0x1a928b,_0x9ef48f._0x313442,0x3a2)+_0x609fa7;}function createSynchronousAssignTaskTool(_0x442299){const _0x78aed5={_0xf73a1b:0x3cc,_0x5480b3:0x5,_0x5d2398:0x3ff,_0x114078:0x4e1,_0x560d9c:0xa7,_0x5898c1:0x127,_0x3a0d8f:0x120,_0x2c1835:0x77c,_0x508f13:0x4c2,_0x2b2eab:0x6ad,_0x417d98:0x23b,_0x28eb4e:0xe7,_0x52fb3c:0xfd,_0x5bd280:0x4fc,_0xc091de:0x188,_0x109356:0x4be,_0xa7f43:0x31c,_0x22596a:0x54f,_0x3b15f7:0x6ad,_0x302640:0x5bf,_0x1e572a:0x3f0,_0x26b6de:0x3ec,_0xed90b5:0x619,_0x5a7548:0x4d0,_0x2e58d4:0xb3,_0x2f3bf3:0x42f},_0x2aa973={_0x267333:0x2d4,_0x2c7359:0x4c2,_0x53768e:0x4b1,_0x24637a:0x45d,_0x50caa3:0x395,_0x53df55:0x479,_0x2e4e1e:0x45d,_0x314d74:0x54e,_0x14410b:0x4e2,_0x4f588a:0x5a5,_0x39a188:0x3d6,_0x571127:0x6a2,_0x4517bc:0x4d3,_0x2f5b7c:0x79f,_0x25800b:0x26e,_0x304f0d:0x4ae,_0x67752c:0x1ee,_0xe932d9:0x395,_0x4dcb61:0x38c,_0x201349:0x438,_0x542b13:0x4bb,_0x58be4b:0x331,_0x370946:0x3b0,_0x141650:0x2cb,_0x1a8c0d:0x438,_0x5e7f73:0x3ce,_0x76ca78:0xf8,_0x161cbb:0x2a1,_0x27bb37:0x3ba,_0x73ba14:0x5e8,_0xc704f1:0x5b2,_0x57de3d:0x1fa,_0x2515e4:0x1b8,_0xc6663b:0x347,_0x202f6b:0x271,_0x278c0d:0x243,_0x1567f7:0x22,_0x4554e1:0x142,_0x3a9961:0x96,_0x373819:0x50a,_0x2dcb03:0x47c,_0x2e0463:0x55f,_0x4b79cd:0x40d,_0x315c70:0x651,_0x10d04c:0x6cd,_0x865c93:0x67d,_0x1a4a2e:0x599,_0x4790f7:0x83,_0x5acd3f:0xc2,_0x15cf20:0x38,_0x2282bb:0x495,_0x1a0f1:0x493,_0x441b9e:0x555,_0x85f901:0x478,_0x16b45f:0x5c7,_0x2e0e75:0x6b8,_0x59fe55:0x400,_0x461081:0x57b,_0x173302:0x438,_0x73c746:0x72b,_0x599677:0x354,_0x4f3225:0x39,_0x5211f6:0x405,_0x5251f2:0x2e2,_0x333405:0x3f9,_0x57b751:0x312,_0x350ef1:0x47d,_0x496446:0x74f,_0x3ae5e0:0x5c4,_0x9574e3:0x4f5,_0x5901fa:0x4e4,_0x37eddc:0x4a0,_0xcb3905:0x245,_0x4256b9:0x294,_0x59a356:0x20f,_0x27b06a:0x3cd,_0x454fe2:0x5fc,_0x44ca04:0x527,_0x4ff200:0x568,_0x278ff5:0x59c,_0x1ac7a9:0x4d0,_0x4b016e:0x294,_0x3f8440:0x183,_0x978861:0x42e,_0x512d4c:0x581,_0x443601:0x619,_0x52cf23:0x4bb,_0x37f802:0x30a,_0x400c11:0x2ee,_0x1bb85f:0x711,_0x5a5412:0x6c0,_0x14a74f:0x408,_0x217acc:0x448,_0xfdebf3:0x596,_0x3b2dc0:0x54f,_0x6f661:0x2f0,_0x352caf:0x54f,_0xac42ed:0x431,_0x519ca1:0x670,_0x4d47b9:0x56b,_0x3089e3:0x686,_0x3d419f:0x89c,_0x19d888:0x6db,_0x3010a0:0x11c,_0x3d40ba:0x24b,_0x498d2e:0x2d,_0x4708d6:0x2ef,_0x1db939:0xaf,_0x515f14:0x789,_0x396997:0x6c3,_0x3e68e9:0x102,_0x35ce03:0x65,_0x46f322:0x9e,_0x5716be:0x142,_0x25cd97:0x55b,_0x5bf508:0x51e,_0x7b3551:0x297,_0x4b8e30:0x452,_0x438123:0x311,_0x38f4a6:0x59b,_0x1f489e:0x5ef,_0x4c510d:0x4e0,_0x21f582:0x758,_0x7388c6:0x270,_0x517f16:0x32c,_0x279ca2:0x294,_0x3a690a:0x238,_0xa11fc3:0x448,_0x1e7625:0x512,_0x17e5ca:0x668,_0x524e19:0x655,_0x25113a:0x2fd,_0x4a9ada:0x2bd,_0x544ac3:0x141,_0xb3f2ae:0x149,_0x2ea408:0x6d1,_0x5e3432:0x86e,_0x5c79fa:0x521,_0x263bfb:0x633,_0x5ce865:0x9d,_0x38707d:0x6e,_0x3e74ea:0xfe,_0x373eb9:0x441,_0x4ccb59:0xfb},_0x4c7eb9={_0x58df6d:0x2e5,_0x437924:0x358,_0x396547:0x3b9},_0x59454c={_0x2f05c4:0x22,_0x44bc50:0x115},_0x31ce0b={_0x23de8c:0xdd,_0x156dd7:0x1b6},_0x4b356c={_0x3cc570:0xb2};function _0x5c95b7(_0x25ec2b,_0x17dec8,_0x4a0de4,_0x57e12d){return _0xa5377c(_0x57e12d,_0x17dec8-0x197,_0x4a0de4-_0x4b356c._0x3cc570,_0x25ec2b- -0x25b);}function _0x446e92(_0x350d4b,_0x348324,_0x5b1fd1,_0x480d2b){return _0xa5377c(_0x5b1fd1,_0x348324-_0x31ce0b._0x23de8c,_0x5b1fd1-_0x31ce0b._0x156dd7,_0x480d2b-0x53);}return defineTool({'name':_0x446e92(0x816,0x449,_0x78aed5._0xf73a1b,0x616),'permissionClass':_0x5c95b7(0x29b,0x30c,0x2cd,0x3f9),'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':_0x5c95b7(0x1f7,_0x78aed5._0x5480b3,-0x2b,0x1e7),'properties':{'agentId':{'type':_0x5c95b7(_0x78aed5._0x5d2398,0x3ac,_0x78aed5._0x114078,0x52b),'description':_0x5c95b7(_0x78aed5._0x560d9c,_0x78aed5._0x5898c1,-0x53,_0x78aed5._0x3a0d8f)},'description':{'type':_0x5c95b7(0x3ff,0x2cb,0x497,0x523),'description':'Short\x20user-facing\x20summary\x20of\x20the\x20delegated\x20work.\x20Used\x20only\x20for\x20display\x20and\x20not\x20sent\x20to\x20the\x20agent.'},'nickname':{'type':_0x446e92(0x870,_0x78aed5._0x2c1835,_0x78aed5._0x508f13,_0x78aed5._0x2b2eab),'description':_0x5c95b7(_0x78aed5._0x417d98,_0x78aed5._0x28eb4e,0x1a7,_0x78aed5._0x52fb3c)},'task':{'type':_0x446e92(0x70c,_0x78aed5._0x5bd280,0x7cc,0x6ad),'description':_0x5c95b7(0x3c5,_0x78aed5._0xc091de,_0x78aed5._0x109356,_0x78aed5._0xa7f43)},'modelTier':{'type':_0x446e92(0x44e,0x825,_0x78aed5._0x22596a,_0x78aed5._0x3b15f7),'enum':[...MODEL_TIERS],'description':_0x446e92(0x32a,0x526,_0x78aed5._0x302640,_0x78aed5._0x1e572a)}},'required':[_0x5c95b7(0x19b,0x230,0x2d5,0x51),_0x446e92(0x39f,_0x78aed5._0x26b6de,_0x78aed5._0xed90b5,_0x78aed5._0x5a7548),_0x5c95b7(0x27b,_0x78aed5._0x2e58d4,0x387,_0x78aed5._0x2f3bf3)]},async *'execute'(_0x5d7d82,_0x28f929){const _0x423ff2={_0x35a697:0x90,_0x31e227:0x1dc,_0x1de039:0xf5},_0x470a75=createDelegatedRunId(),_0x3aa8ee=new AbortController(),_0x37bd3e=_0x5d7d82[_0x536431(-0x3e,_0x2aa973._0x267333,0x110,0x20e)],_0x4f0088={'agentId':_0x5d7d82['agentId'],'parentSessionId':_0x28f929['sessionId'],'runId':_0x470a75,'signal':_0x3aa8ee[_0x536431(_0x2aa973._0x2c7359,0x426,0x67f,0x4bb)],'toolCallPath':[..._0x28f929['executionScope']['toolCallPath']],..._0x28f929[_0x536431(_0x2aa973._0x53768e,0x5f2,0x387,0x395)]!==void 0x0?{'toolCallId':_0x28f929[_0x536431(_0x2aa973._0x24637a,0x472,0x5f4,_0x2aa973._0x50caa3)]}:{},..._0x37bd3e===void 0x0?{}:{'modelTier':_0x37bd3e}},_0x42f8e5=getDelegatedAgentDefinition(_0x442299,_0x5d7d82[_0xc33445(0x45d,0x35e,_0x2aa973._0x53df55,0x27a)]);function _0x536431(_0x4644f6,_0x34b67d,_0x43bebe,_0x1ab9d9){return _0x446e92(_0x4644f6-_0x423ff2._0x35a697,_0x34b67d-_0x423ff2._0x31e227,_0x34b67d,_0x1ab9d9- -_0x423ff2._0x1de039);}function _0xc33445(_0x43c076,_0x1b2a4a,_0x5953a2,_0x1e3893){return _0x446e92(_0x43c076-_0x59454c._0x2f05c4,_0x1b2a4a-_0x59454c._0x44bc50,_0x1e3893,_0x43c076-0x14);}if(!_0x42f8e5)throw new ToolExecutionError(_0x536431(0x26d,0x373,0x603,0x3d4)+_0x5d7d82['agentId'],{'agentId':_0x5d7d82[_0xc33445(_0x2aa973._0x2e4e1e,_0x2aa973._0x314d74,0x5b8,0x6ad)],..._0x37bd3e===void 0x0?{}:{'requestedModelTier':_0x37bd3e}});let _0x29b5f1={'runId':_0x470a75,'agentId':_0x5d7d82[_0xc33445(0x45d,_0x2aa973._0x14410b,_0x2aa973._0x4f588a,_0x2aa973._0x39a188)],'status':'running','parentSessionId':_0x28f929[_0xc33445(_0x2aa973._0x571127,_0x2aa973._0x4517bc,_0x2aa973._0x2f5b7c,0x4ad)],..._0x28f929[_0x536431(_0x2aa973._0x25800b,0x154,0x481,0x395)]!==void 0x0?{'originToolCallId':_0x28f929[_0x536431(_0x2aa973._0x304f0d,0x488,_0x2aa973._0x67752c,_0x2aa973._0xe932d9)]}:{},..._0x37bd3e===void 0x0?{}:{'requestedModelTier':_0x37bd3e}};const _0x447fce=addAbortListener(_0x28f929[_0x536431(_0x2aa973._0x4dcb61,_0x2aa973._0x201349,0x4ff,_0x2aa973._0x542b13)],()=>{const _0x280b8f={_0x3c7058:0x1e5,_0x33eaaf:0x17d},_0x1f4046={_0x5b4e11:0xc8,_0x224a0c:0x96};function _0x54d4d3(_0x17f38c,_0x50130c,_0x14837d,_0x581334){return _0xc33445(_0x50130c- -0x3c6,_0x50130c-_0x1f4046._0x5b4e11,_0x14837d-_0x1f4046._0x224a0c,_0x17f38c);}function _0x534956(_0x26eb9e,_0x445515,_0x5d59b9,_0x5efe2d){return _0xc33445(_0x445515- -_0x280b8f._0x3c7058,_0x445515-0x23,_0x5d59b9-_0x280b8f._0x33eaaf,_0x5efe2d);}_0x3aa8ee[_0x534956(_0x4c7eb9._0x58df6d,0x22a,0x3ba,_0x4c7eb9._0x437924)](_0x28f929['signal'][_0x534956(0x1a5,0x223,_0x4c7eb9._0x396547,0x236)]);});let _0x4707cb,_0x3e9987,_0x3c953f,_0x313b23,_0x24ba2f=![],_0x1fa388,_0x5e613c,_0x550eff=![];const _0x5c0284=_0x442299[_0x536431(_0x2aa973._0x58be4b,_0x2aa973._0x370946,0x5b4,0x3cd)];try{_0x442299[_0xc33445(_0x2aa973._0x141650,_0x2aa973._0x1a8c0d,0x3f7,_0x2aa973._0x5e7f73)]!==void 0x0&&(_0x4707cb=await _0x442299[_0x536431(0x2da,-0x9b,_0x2aa973._0x76ca78,0x1c2)][_0x536431(0x360,_0x2aa973._0x161cbb,0x49e,_0x2aa973._0x27bb37)](_0x3aa8ee['signal']));throwIfAborted(_0x3aa8ee[_0xc33445(0x5c4,_0x2aa973._0x73ba14,_0x2aa973._0xc704f1,0x438)]);const _0x13e522=await awaitWithAbort(resolveDelegatedAgentOptions(_0x42f8e5,_0x4f0088),_0x3aa8ee['signal']);_0x29b5f1={..._0x29b5f1,..._0x37bd3e===void 0x0||_0x13e522['routing']?.['agentModelSet']===void 0x0?{}:{'agentModelSet':_0x13e522[_0x536431(_0x2aa973._0x57de3d,_0x2aa973._0x2515e4,0x26c,_0x2aa973._0xc6663b)][_0x536431(_0x2aa973._0x202f6b,_0x2aa973._0x278c0d,_0x2aa973._0x1567f7,_0x2aa973._0x4554e1)]}};const _0x3cb5e2=_0x13e522[_0xc33445(0x277,0x3d1,0x2cc,_0x2aa973._0x3a9961)];throwIfAborted(_0x3aa8ee[_0x536431(0x58c,0x6cd,_0x2aa973._0x373819,0x4bb)]);const _0x3c072a=_0x442299['renderSystemPrompt']!==void 0x0&&_0x3cb5e2['systemPrompt']!==void 0x0?{..._0x3cb5e2,'systemPrompt':_0x442299[_0x536431(_0x2aa973._0x2dcb03,0x4f5,0x627,_0x2aa973._0x2e0463)](_0x3cb5e2[_0x536431(0x7e0,_0x2aa973._0x4b79cd,0x3eb,0x5d1)])}:_0x3cb5e2;throwIfAborted(_0x3aa8ee[_0x536431(0x4c0,0x65e,0x281,0x4bb)]);const _0x36900a=new Agent(_0x3c072a);_0x29b5f1={..._0x29b5f1,'sessionId':_0x36900a[_0x536431(_0x2aa973._0x315c70,_0x2aa973._0x10d04c,_0x2aa973._0x865c93,_0x2aa973._0x1a4a2e)],..._0x37bd3e===void 0x0?{}:{'routing':{'requestedModelTier':_0x37bd3e,..._0x29b5f1[_0xc33445(0x24b,0x1a6,_0x2aa973._0x4790f7,0x22a)]===void 0x0?{}:{'agentModelSet':_0x29b5f1[_0x536431(-_0x2aa973._0x5acd3f,-_0x2aa973._0x15cf20,0x9b,0x142)]},'resolvedModelIdentity':_0x36900a[_0x536431(0x5ed,_0x2aa973._0x2282bb,_0x2aa973._0x1a0f1,_0x2aa973._0x441b9e)][_0x536431(0x6fe,_0x2aa973._0x85f901,0x566,_0x2aa973._0x16b45f)][_0xc33445(0x4a7,_0x2aa973._0x2e0e75,_0x2aa973._0x59fe55,0x612)]}}},_0x3e9987=_0x442299[_0xc33445(_0x2aa973._0x461081,_0x2aa973._0x173302,0x6f9,_0x2aa973._0x73c746)]?.(_0x36900a,_0x4f0088);const _0x1b77bd=new Promise(_0x24fa45=>{_0x313b23=_0x24fa45;});_0x3c953f=_0x442299[_0x536431(_0x2aa973._0x599677,_0x2aa973._0x4f3225,-0x64,0x14d)]?.({'runId':_0x470a75,'abortController':_0x3aa8ee,'completion':_0x1b77bd});_0x5c0284!==void 0x0&&(await _0x5c0284[_0x536431(0x118,0x21c,_0x2aa973._0x5211f6,0x211)](_0x36900a,_0x4f0088),_0x24ba2f=!![]);yield createToolOutput(_0xc33445(0x3f6,0x255,0x1a1,_0x2aa973._0x5251f2)+_0x29b5f1[_0xc33445(0x294,0x342,_0x2aa973._0x333405,_0x2aa973._0x57b751)]+'.',createRunSummary(_0x29b5f1)),throwIfAborted(_0x3aa8ee[_0xc33445(0x5c4,0x4ad,0x421,_0x2aa973._0x350ef1)]);const _0x3c7f34=await _0x36900a[_0x536431(_0x2aa973._0x496446,0x68b,0x465,0x5ca)](_0x5d7d82['task'],{'streaming':!![],'signal':_0x3aa8ee[_0xc33445(_0x2aa973._0x3ae5e0,_0x2aa973._0x9574e3,0x7a2,0x3e8)]});_0x29b5f1={..._0x29b5f1,'status':_0x3c7f34['status'],'result':_0x3c7f34};if(_0x3c7f34[_0x536431(0x4ac,_0x2aa973._0x5901fa,0x587,_0x2aa973._0x37eddc)]!==_0x536431(0x485,0x4d2,_0x2aa973._0xcb3905,_0x2aa973._0x5251f2)){const _0x2d6a10=getRunTerminalErrorMessage(_0x3c7f34),_0x509ef6=formatAbortedRunMessage(_0x29b5f1[_0xc33445(_0x2aa973._0x4256b9,0x476,_0x2aa973._0x59a356,_0x2aa973._0x27b06a)],_0x2d6a10);_0x29b5f1={..._0x29b5f1,'status':_0x536431(_0x2aa973._0x454fe2,0x316,_0x2aa973._0x44ca04,0x448),'errorMessage':_0x509ef6},_0x1fa388={'status':'aborted','errorMessage':_0x509ef6};throw new ToolExecutionError(_0x509ef6,{...createRunSummary(_0x29b5f1),'aborted':!![],'errorMessage':_0x509ef6});}return _0x1fa388={'status':'completed'},createRunSummaryOutput(_0x29b5f1,_0xc33445(_0x2aa973._0x4ff200,0x6c1,_0x2aa973._0x278ff5,_0x2aa973._0x1ac7a9)+_0x29b5f1[_0xc33445(_0x2aa973._0x4b016e,_0x2aa973._0x53df55,0x3dc,_0x2aa973._0x3f8440)]+_0xc33445(_0x2aa973._0x978861,0x370,0x4aa,0x276));}catch(_0x1a64b8){_0x5e613c=_0x1a64b8,_0x550eff=!![];if(_0x1a64b8 instanceof ToolExecutionError){if(_0x1fa388===void 0x0){if(isAbortError(_0x1a64b8)||_0x3aa8ee[_0x536431(_0x2aa973._0x512d4c,0x456,_0x2aa973._0x443601,_0x2aa973._0x52cf23)][_0x536431(_0x2aa973._0x37f802,_0x2aa973._0x400c11,0x43a,0x448)]||_0x28f929[_0xc33445(0x5c4,_0x2aa973._0x1bb85f,0x583,_0x2aa973._0x5a5412)][_0x536431(0x552,0x4d6,_0x2aa973._0x14a74f,_0x2aa973._0x217acc)])_0x1fa388={'status':'aborted'};else{const _0x34e4cf=_0x1a64b8['message'];_0x29b5f1={..._0x29b5f1,'status':_0x536431(_0x2aa973._0xfdebf3,0x555,0x790,_0x2aa973._0x3b2dc0),'errorMessage':_0x34e4cf},_0x1fa388={'status':_0x536431(0x6c5,_0x2aa973._0x6f661,0x365,_0x2aa973._0x352caf),'errorMessage':_0x34e4cf};}}if(_0x37bd3e===void 0x0)throw _0x1a64b8;throw new ToolExecutionError(_0x1a64b8[_0xc33445(0x5e9,_0x2aa973._0xac42ed,_0x2aa973._0x519ca1,_0x2aa973._0x4d47b9)],createStructuredWithRoutingSummary(_0x1a64b8[_0xc33445(_0x2aa973._0x3089e3,_0x2aa973._0x3d419f,0x75f,_0x2aa973._0x19d888)],_0x29b5f1));}if(_0x1a64b8 instanceof DelegatedResolutionError){const _0x161fef={..._0x29b5f1};delete _0x161fef[_0x536431(0x4e3,0x308,_0x2aa973._0x3010a0,_0x2aa973._0xc6663b)],delete _0x161fef[_0xc33445(_0x2aa973._0x3d40ba,_0x2aa973._0x498d2e,_0x2aa973._0x4708d6,_0x2aa973._0x1db939)],_0x29b5f1={..._0x161fef,'status':_0xc33445(0x658,_0x2aa973._0x515f14,0x437,_0x2aa973._0x396997),'errorMessage':_0x1a64b8['message'],..._0x37bd3e===void 0x0||_0x1a64b8[_0x536431(0x398,0x230,-_0x2aa973._0x3e68e9,0x142)]===void 0x0?{}:{'agentModelSet':_0x1a64b8[_0x536431(-_0x2aa973._0x35ce03,-_0x2aa973._0x46f322,0x303,_0x2aa973._0x5716be)]}};throw new ToolExecutionError(_0x1a64b8['message'],{...createRunSummary(_0x29b5f1),..._0x37bd3e===void 0x0||_0x1a64b8[_0xc33445(_0x2aa973._0x25cd97,0x37d,_0x2aa973._0x5bf508,0x4bd)]===void 0x0?{}:{'selector':_0x1a64b8[_0x536431(0x35c,_0x2aa973._0x7b3551,0x695,_0x2aa973._0x4b8e30)]},'errorMessage':_0x1a64b8[_0x536431(_0x2aa973._0x438123,_0x2aa973._0x38f4a6,_0x2aa973._0x1f489e,_0x2aa973._0x4c510d)]});}if(isAbortError(_0x1a64b8)||_0x3aa8ee[_0xc33445(0x5c4,0x619,0x652,_0x2aa973._0x21f582)][_0x536431(0x1ff,0x3cc,_0x2aa973._0x7388c6,0x448)]||_0x28f929['signal'][_0x536431(0x321,0x240,0x2d6,0x448)]){const _0x159716=getRunTerminalErrorMessage(_0x29b5f1['result'])??(_0x1a64b8 instanceof Error?_0x1a64b8[_0x536431(0x69a,_0x2aa973._0x517f16,0x310,0x4e0)]:String(_0x1a64b8)),_0x1b8f49=formatAbortedRunMessage(_0x29b5f1[_0xc33445(_0x2aa973._0x279ca2,0x1e4,0x32c,0x2c2)],_0x159716);_0x29b5f1={..._0x29b5f1,'status':_0x536431(0x2c0,_0x2aa973._0x3a690a,0x4ed,_0x2aa973._0xa11fc3),'errorMessage':_0x1b8f49},_0x1fa388={'status':_0x536431(0x33d,_0x2aa973._0x1e7625,0x48a,0x448),'errorMessage':_0x1b8f49};throw new ToolExecutionError(_0x1b8f49,{...createRunSummary(_0x29b5f1),'aborted':!![],'errorMessage':_0x1b8f49});}const _0x34a252=getRunTerminalErrorMessage(_0x29b5f1['result'])??(_0x1a64b8 instanceof Error?_0x1a64b8[_0x536431(_0x2aa973._0x17e5ca,_0x2aa973._0x524e19,_0x2aa973._0x25113a,_0x2aa973._0x4c510d)]:String(_0x1a64b8))??'Agent\x20run\x20'+_0x29b5f1[_0x536431(0x3ce,_0x2aa973._0x4a9ada,0x375,0x18b)]+_0x536431(_0x2aa973._0x544ac3,0x146,0x1dc,_0x2aa973._0xb3f2ae);_0x29b5f1={..._0x29b5f1,'status':'failed','errorMessage':_0x34a252},_0x1fa388={'status':_0xc33445(0x658,_0x2aa973._0x2ea408,0x6aa,_0x2aa973._0x5e3432),'errorMessage':_0x34a252};throw new ToolExecutionError(_0x34a252,{...createRunSummary(_0x29b5f1),'errorMessage':_0x34a252});}finally{let _0x4a7baf,_0x1500ee;const _0x225873=_0x4f5173=>{if(_0x4f5173===void 0x0)return;try{_0x4f5173();}catch(_0x5147d1){_0x1500ee??=_0x5147d1 instanceof Error?_0x5147d1:new Error(String(_0x5147d1));}};if(_0x24ba2f&&_0x5c0284!==void 0x0){const _0x18800d=_0x1fa388??{'status':_0x536431(_0x2aa973._0x5c79fa,0x496,_0x2aa973._0x263bfb,0x448)};try{await _0x5c0284[_0x536431(-_0x2aa973._0x5ce865,-_0x2aa973._0x38707d,_0x2aa973._0x3e74ea,0x120)](_0x4f0088,_0x18800d);}catch(_0x17b0df){_0x4a7baf=_0x17b0df instanceof Error?_0x17b0df:new Error(String(_0x17b0df));}}_0x225873(_0x442299[_0x536431(_0x2aa973._0x4c510d,0x25c,0x21c,_0x2aa973._0x373eb9)]===void 0x0?void 0x0:()=>_0x442299['releaseAgentResources']?.(_0x4f0088)),_0x225873(_0x313b23),_0x225873(_0x3c953f),_0x225873(_0x3e9987),_0x225873(_0x4707cb),_0x225873(_0x447fce),_0x4a7baf!==void 0x0&&(_0x550eff&&(_0x4a7baf[_0x536431(_0x2aa973._0x4ccb59,0x507,0x3e2,0x319)]=_0x5e613c),rethrowDelegatedError(_0x4a7baf)),_0x1500ee!==void 0x0&&rethrowDelegatedError(_0x1500ee);}}});}function isBackgroundDelegationFailureCode(_0x3a60d2){const _0x9bb663={_0x373c61:0x834,_0x21a01f:0x8a9,_0x434cf6:0xe6,_0x2da5ec:0x5e,_0x43f672:0xe5,_0x17ddfe:0x1a9,_0x40b3cf:0x16b,_0xad15fd:0xa1,_0x1cfb60:0x585,_0x10898c:0x4e2,_0x2e21db:0x597,_0x19b457:0x78,_0x35037b:0x2b1},_0x5d1adb={_0x5447a0:0x495},_0x13c085={_0x3f9a5c:0x98,_0x30c12c:0x198};function _0x959b67(_0x17f284,_0xcd5131,_0x3c9692,_0x1ab4f5){return _0xa5377c(_0xcd5131,_0xcd5131-_0x13c085._0x3f9a5c,_0x3c9692-_0x13c085._0x30c12c,_0x1ab4f5- -0x192);}function _0x4da96b(_0x1c94d6,_0xee7de2,_0x3c2313,_0x5a2caa){return _0x4eedea(_0x1c94d6-0xf,_0xee7de2-_0x5d1adb._0x5447a0,_0x5a2caa,_0x5a2caa-0xc0);}return _0x3a60d2===_0x4da96b(0x805,_0x9bb663._0x373c61,0x60c,_0x9bb663._0x21a01f)||_0x3a60d2===_0x959b67(_0x9bb663._0x434cf6,_0x9bb663._0x2da5ec,_0x9bb663._0x43f672,0x14f)||_0x3a60d2===_0x959b67(_0x9bb663._0x17ddfe,_0x9bb663._0x40b3cf,_0x9bb663._0xad15fd,0x130)||_0x3a60d2===_0x4da96b(_0x9bb663._0x1cfb60,_0x9bb663._0x10898c,_0x9bb663._0x2e21db,0x520)||_0x3a60d2===_0x959b67(0x135,_0x9bb663._0x19b457,0x2c2,_0x9bb663._0x35037b);}function genericBackgroundFailure(){const _0x436185={_0x47cdfc:0x898},_0xb68a34={_0x452afd:0xd7};function _0x4cdf07(_0x3230b3,_0x3c18a9,_0x2c793c,_0x4f9b49){return _0x4eedea(_0x3230b3-0x13,_0x4f9b49-0x52e,_0x3230b3,_0x4f9b49-_0xb68a34._0x452afd);}throw new ToolExecutionError(_0x4cdf07(0x765,0x7ec,_0x436185._0x47cdfc,0x744),{});}function stableBackgroundFailure(_0x202785,_0x536aba){const _0x4d9e47={_0x4c6fc6:0x29b,_0x57f90a:0x518},_0x233f5a={_0x5dd344:0x66},_0x5c1601={_0x2ebb99:0xcb};function _0x2d6b1d(_0x5c0a30,_0x52b40e,_0x19431e,_0x227160){return _0x4eedea(_0x5c0a30-0x1b6,_0x227160-0x1ea,_0x5c0a30,_0x227160-_0x5c1601._0x2ebb99);}function _0x383834(_0x541052,_0x4a57dd,_0x8d062c,_0x1c3422){return _0x4eedea(_0x541052-_0x233f5a._0x5dd344,_0x8d062c-0x3a4,_0x4a57dd,_0x1c3422-0xe3);}const _0x1fb674=_0x383834(_0x4d9e47._0x4c6fc6,0x5d3,0x442,_0x4d9e47._0x57f90a)+_0x202785+_0x2d6b1d(0x1da,0x3bd,0x3cd,0x326)+_0x536aba+'.';throw new ToolExecutionError(_0x1fb674,{'background':!![],'code':_0x202785,'runId':_0x536aba});}function rejectedAssignmentOutput(_0x48459b){const _0x246560={_0x44d226:0x797,_0x28e9cf:0x767,_0x597773:0x573},_0x1a4855={_0x2cd436:0x18a},_0x529180={_0x5282ff:0x3b4};function _0x3c44aa(_0x5f3aa1,_0x39a26f,_0x187de6,_0x54f6d4){return _0x4eedea(_0x5f3aa1-0x11e,_0x39a26f-_0x529180._0x5282ff,_0x5f3aa1,_0x54f6d4-0x10d);}if(!isBackgroundDelegationFailureCode(_0x48459b[_0x3c44aa(0x8a4,_0x246560._0x44d226,0x7c9,0x86c)])||!isValidDelegatedRunId(_0x48459b['runId']))return genericBackgroundFailure();function _0x588a34(_0x203e66,_0x3bd773,_0x5736e9,_0x1cd20d){return _0x4eedea(_0x203e66-0x1af,_0x5736e9-_0x1a4855._0x2cd436,_0x1cd20d,_0x1cd20d-0xc5);}return stableBackgroundFailure(_0x48459b[_0x588a34(_0x246560._0x28e9cf,0x693,0x56d,_0x246560._0x597773)],_0x48459b['runId']);}function rejectedMessageOutput(_0x201947,_0x1cb3ba){const _0x225788={_0x1c3039:0x6eb,_0xc7cbf8:0x470,_0x542e1b:0x70c},_0x340f3c={_0x129e81:0x161,_0x448c53:0x377},_0x52f426={_0x1da56c:0x45,_0x4575d0:0xd9};function _0x4120b5(_0x51ad03,_0x581ef5,_0x1520d3,_0x4a2f31){return _0xa5377c(_0x1520d3,_0x581ef5-_0x52f426._0x1da56c,_0x1520d3-_0x52f426._0x4575d0,_0x51ad03-0x243);}function _0x41140d(_0x228355,_0x32243b,_0x36f78f,_0x408c7f){return _0xa5377c(_0x228355,_0x32243b-0x1e7,_0x36f78f-_0x340f3c._0x129e81,_0x36f78f-_0x340f3c._0x448c53);}if(!isBackgroundDelegationFailureCode(_0x201947[_0x4120b5(0x81c,0x741,_0x225788._0x1c3039,0x869)])||_0x201947['runId']!==void 0x0&&_0x201947[_0x4120b5(_0x225788._0xc7cbf8,0x639,0x247,0x38e)]!==_0x1cb3ba)return genericBackgroundFailure();return stableBackgroundFailure(_0x201947[_0x41140d(_0x225788._0x542e1b,0xadd,0x950,0x86d)],_0x1cb3ba);}function acceptedAssignmentOutput(_0x588ba6,_0x3a6c00){const _0x494066={_0x3d5533:0x3c2,_0x15425c:0x213,_0x201e9a:0x199,_0x2c572f:0x92,_0x5dff79:0x739,_0x4ece73:0x935,_0xcbb744:0x516,_0x27570f:0x68c,_0x17234a:0x32e,_0x1a3a94:0x3e4,_0x55ba25:0xc7,_0x229c41:0x524,_0x342347:0x5df,_0x330852:0x334,_0x5692e5:0x5b5,_0x5e154b:0x49e,_0x30a7e0:0x664,_0x500d0c:0x260,_0x580259:0xde,_0x482926:0xe7,_0x7d41fd:0xa0,_0x1d76c1:0x4da,_0x1dec71:0x41e,_0x43339e:0x19b,_0x140230:0x15e,_0x260d69:0x11b,_0x4e079f:0x92},_0x381abd={_0x51bd07:0x69},_0x26e850={_0x53972f:0x86,_0x577fbf:0x2f7};function _0x469540(_0x41a593,_0x3f3006,_0x26d7fd,_0x1c4d1d){return _0xa5377c(_0x26d7fd,_0x3f3006-0x173,_0x26d7fd-_0x26e850._0x53972f,_0x41a593-_0x26e850._0x577fbf);}if(!isValidDelegatedRunId(_0x588ba6[_0x469540(0x524,0x4a6,_0x494066._0x3d5533,0x628)])||_0x588ba6[_0x421001(0x82,0x3b8,0x282,0x269)]!==_0x3a6c00||_0x588ba6[_0x421001(_0x494066._0x15425c,_0x494066._0x201e9a,0x160,_0x494066._0x2c572f)]!==_0x469540(_0x494066._0x5dff79,0x6d7,_0x494066._0x4ece73,0x550)&&_0x588ba6[_0x469540(_0x494066._0xcbb744,0x407,0x39b,_0x494066._0x27570f)]!=='queued')return genericBackgroundFailure();const _0x5c7d01=_0x421001(_0x494066._0x17234a,_0x494066._0x1a3a94,_0x494066._0x55ba25,0x31f)+_0x588ba6[_0x469540(_0x494066._0x229c41,_0x494066._0x342347,_0x494066._0x330852,_0x494066._0x5692e5)]+'\x20'+_0x588ba6['state']+_0x469540(0x604,_0x494066._0x5e154b,0x3c1,_0x494066._0x30a7e0)+_0x588ba6[_0x421001(_0x494066._0x500d0c,-_0x494066._0x580259,_0x494066._0x482926,_0x494066._0x7d41fd)]+_0x469540(_0x494066._0x1d76c1,0x6c1,0x6ad,_0x494066._0x1dec71);function _0x421001(_0x3ce501,_0x5746ef,_0x572ee0,_0x43887e){return _0x4eedea(_0x3ce501-0x49,_0x43887e-_0x381abd._0x51bd07,_0x3ce501,_0x43887e-0x1bc);}return createToolOutput(_0x5c7d01,{'background':!![],'runId':_0x588ba6[_0x421001(-_0x494066._0x43339e,_0x494066._0x140230,-0x10e,_0x494066._0x7d41fd)],'agentId':_0x3a6c00,'state':_0x588ba6[_0x421001(-0xd6,-_0x494066._0x260d69,0xf6,_0x494066._0x4e079f)]});}function acceptedMessageOutput(_0x32e9f7,_0x18892f){const _0x58d07b={_0x3aab32:0x442,_0xfa748c:0x531,_0x2aa6cd:0x4ad,_0x283409:0x67e,_0x54ef44:0x495,_0x1276de:0x4cc,_0x68c10d:0x1c9,_0x177da0:0x280,_0x114c60:0x2da,_0x30ff59:0x4d1,_0x2f6882:0x38c,_0x220189:0x4e1,_0x34ac41:0x1ea,_0x34a838:0x230,_0x15b6ae:0x14d,_0x180644:0x1d6,_0x5890f1:0x128,_0x39f239:0x469,_0x237849:0x12d,_0x505154:0x446,_0x3f01c0:0x587,_0x4aec43:0x3d1,_0x805d0e:0x2cc,_0x4a17f9:0x44f,_0x4c66e6:0x50,_0xd4c6c4:0x12e,_0x336f0d:0x201,_0x5ece62:0x56c,_0x354ee6:0x495,_0x3126b1:0x27e},_0x2653b9={_0x4bd0fe:0xc6,_0x21f18a:0xa6},_0x1fd19f={_0x17a9b6:0x16c};if(_0x32e9f7['runId']!==_0x18892f||typeof _0x32e9f7[_0x3720f7(_0x58d07b._0x3aab32,_0x58d07b._0xfa748c,0x691,0x495)]!=='string'||_0x32e9f7[_0x3720f7(_0x58d07b._0x2aa6cd,0x59f,_0x58d07b._0x283409,_0x58d07b._0x54ef44)]['trim']()[_0x3720f7(0x2f2,_0x58d07b._0x1276de,0x45d,0x4f9)]===0x0||_0x32e9f7[_0xf2c429(-_0x58d07b._0x68c10d,-0x422,-_0x58d07b._0x177da0,-_0x58d07b._0x114c60)]!==_0x3720f7(_0x58d07b._0x30ff59,_0x58d07b._0x2f6882,0x3ae,_0x58d07b._0x220189)&&_0x32e9f7[_0x3720f7(_0x58d07b._0x34ac41,0x347,0x1f6,0x2be)]!==_0xf2c429(-0xf6,-_0x58d07b._0x34a838,-_0x58d07b._0x15b6ae,-_0x58d07b._0x180644)&&_0x32e9f7[_0x3720f7(_0x58d07b._0x5890f1,_0x58d07b._0x39f239,_0x58d07b._0x237849,0x2be)]!==_0x3720f7(_0x58d07b._0x505154,0x444,_0x58d07b._0x3f01c0,0x6a1))return genericBackgroundFailure();const _0x33db99={'background':!![],'runId':_0x32e9f7[_0x3720f7(_0x58d07b._0x4aec43,0xec,0x331,_0x58d07b._0x805d0e)],'agentId':_0x32e9f7[_0x3720f7(0x6a5,0x52e,_0x58d07b._0x4a17f9,_0x58d07b._0x54ef44)],'state':_0x32e9f7[_0xf2c429(-0x1c9,-0x3ee,-_0x58d07b._0x4c66e6,-_0x58d07b._0xd4c6c4)]};function _0xf2c429(_0x3b6d57,_0x346ada,_0x502e29,_0x4d7ec2){return _0xa5377c(_0x4d7ec2,_0x346ada-_0x1fd19f._0x17a9b6,_0x502e29-0xdd,_0x3b6d57- -0x3e8);}const _0x36d487=JSON['stringify']({'runId':_0x32e9f7[_0xf2c429(-0x1bb,-_0x58d07b._0x336f0d,-0x3bb,-0x224)],'agentId':_0x32e9f7[_0x3720f7(_0x58d07b._0x5ece62,0x391,0x395,_0x58d07b._0x354ee6)],'state':_0x32e9f7[_0x3720f7(0x463,_0x58d07b._0x3126b1,0x137,0x2be)]});function _0x3720f7(_0x301f87,_0xb85219,_0x15a1d3,_0x2071ea){return _0xa5377c(_0xb85219,_0xb85219-_0x2653b9._0x4bd0fe,_0x15a1d3-_0x2653b9._0x21f18a,_0x2071ea-0x9f);}return createToolOutput(_0xf2c429(-0x24,-0x24f,-0x1ea,0x213)+_0x36d487+'.',_0x33db99);}function acceptedStopOutput(_0x43262c,_0x2601b7){const _0x21c36b={_0x2630da:0x327,_0x274084:0x49b,_0x4ba8e1:0x554,_0x51eefa:0x4a8,_0xd36ed9:0x3d9,_0x3e584b:0x2a0,_0x47a329:0x554,_0x19c430:0x2bb,_0xc12225:0x639,_0x260b0d:0x319,_0x3913b8:0x53b,_0x52c89f:0x205,_0x19b8e1:0x1b6,_0xd89890:0x326,_0x57f30c:0x19a,_0x1198d2:0x2fa,_0x3817af:0x7f,_0x52cd45:0x3e,_0x11987c:0x7b,_0x5e9659:0x2fa,_0x59c2ab:0x50e,_0x7b8606:0x69d,_0xccf61b:0x806,_0x13f747:0x327,_0x1f91fc:0x53e,_0x43a4b6:0x119,_0xb50a3e:0x5ab,_0x3ef4d8:0x54a},_0x46b14f={_0x33dd55:0x143},_0x1824f7={_0x3beffe:0x30};function _0x2b5a38(_0x156a44,_0x56a89d,_0x258ed2,_0x4fef83){return _0xa5377c(_0x56a89d,_0x56a89d-_0x1824f7._0x3beffe,_0x258ed2-0x13d,_0x156a44-0xfa);}if(_0x43262c[_0x2b5a38(_0x21c36b._0x2630da,_0x21c36b._0x274084,0x145,0x56b)]!==_0x2601b7||typeof _0x43262c['agentId']!==_0x4ddcb2(0x636,_0x21c36b._0x4ba8e1,0x5be,_0x21c36b._0x51eefa)||_0x43262c[_0x4ddcb2(0x48d,0x20c,0x5e,0x244)][_0x2b5a38(_0x21c36b._0xd36ed9,0x57b,_0x21c36b._0x3e584b,0x524)]()[_0x2b5a38(_0x21c36b._0x47a329,0x763,0x5fa,0x6e1)]===0x0||_0x43262c[_0x4ddcb2(0xb3,-0xe,-0x81,0x6d)]!==_0x4ddcb2(0x204,0x77,0x194,0x7a)&&_0x43262c[_0x4ddcb2(0x8a,_0x21c36b._0x19c430,0x19b,0x6d)]!==_0x2b5a38(0x57a,_0x21c36b._0xc12225,0x645,0x4c6))return genericBackgroundFailure();const _0xee7a3b=_0x43262c[_0x2b5a38(_0x21c36b._0x260b0d,_0x21c36b._0x3913b8,_0x21c36b._0x52c89f,_0x21c36b._0x19b8e1)]===_0x2b5a38(_0x21c36b._0xd89890,0x580,0x291,0x395)?_0x4ddcb2(0xcb,_0x21c36b._0x57f30c,0x1f4,_0x21c36b._0x1198d2)+_0x43262c[_0x4ddcb2(-_0x21c36b._0x3817af,0x2b8,_0x21c36b._0x52cd45,_0x21c36b._0x11987c)]+'\x20is\x20already\x20idle.':_0x4ddcb2(0x270,0x45d,0x2ad,_0x21c36b._0x5e9659)+_0x43262c[_0x2b5a38(0x327,0x303,_0x21c36b._0x59c2ab,0x496)]+_0x2b5a38(_0x21c36b._0x7b8606,_0x21c36b._0xccf61b,0x6f0,0x6c3);function _0x4ddcb2(_0x131e1c,_0x247b77,_0x1a581c,_0x54ed5c){return _0x4eedea(_0x131e1c-0x10c,_0x54ed5c-0x44,_0x247b77,_0x54ed5c-_0x46b14f._0x33dd55);}return createToolOutput(_0xee7a3b,{'background':!![],'runId':_0x43262c[_0x2b5a38(_0x21c36b._0x13f747,0x2f4,_0x21c36b._0x1f91fc,_0x21c36b._0x43a4b6)],'agentId':_0x43262c[_0x2b5a38(0x4f0,_0x21c36b._0xb50a3e,_0x21c36b._0x3ef4d8,0x6dc)],'state':_0x43262c['state']});}async function invokeBackgroundCapability(_0x23e0a5){try{return await _0x23e0a5();}catch{return genericBackgroundFailure();}}function createBackgroundAssignTaskTool(_0x3b7b1b,_0x2a7696){const _0x67be83={_0x3538a8:0x859,_0x1cf6e7:0x71b,_0x8c51ce:0x984,_0x419faf:0x778,_0x2b7fff:0x7ff,_0x2fbe64:0x7f2,_0x43223f:0x7dd,_0x2e6718:0x438,_0x586c35:0x6a6},_0x1491e4={_0x55d0a0:0x1a1,_0x409bac:0x37,_0x473743:0xd2,_0x4ffedc:0x682,_0x49076d:0x1d,_0xb76820:0x1a1,_0x5391c8:0xa6,_0x34c8e3:0x215},_0x2700ac={_0x4bc287:0x2b4},_0x2e95fe={_0x3916e7:0x1b8,_0x37090b:0x4d7},_0xcf1792={_0x33055e:0x19b},_0xcb497={_0x47f676:0x282};function _0x1c0e9c(_0x3aa302,_0x131bcd,_0x3fa234,_0x2db811){return _0xa5377c(_0x3fa234,_0x131bcd-0x84,_0x3fa234-0x3b,_0x2db811-_0xcb497._0x47f676);}const _0x4163cb=createSynchronousAssignTaskTool(_0x3b7b1b);function _0x24b490(_0x43aa54,_0x147e5c,_0x12d573,_0x36e8eb){return _0xa5377c(_0x43aa54,_0x147e5c-0x1a9,_0x12d573-_0xcf1792._0x33055e,_0x12d573-0x2ff);}return defineTool({'name':_0x4163cb[_0x24b490(0x965,0xaf6,0x8a7,_0x67be83._0x3538a8)],'permissionClass':_0x1c0e9c(0x5c2,_0x67be83._0x1cf6e7,_0x67be83._0x8c51ce,_0x67be83._0x419faf),'description':_0x1c0e9c(_0x67be83._0x2b7fff,0x6c5,_0x67be83._0x2fbe64,_0x67be83._0x43223f),'inputSchema':_0x4163cb[_0x1c0e9c(_0x67be83._0x2e6718,_0x67be83._0x586c35,0x3eb,0x483)],async *'execute'(_0x13d9e3,_0x4bf6b4){const _0x325a38=getDelegatedAgentDefinition(_0x3b7b1b,_0x13d9e3[_0x338174(-0xa7,_0x1491e4._0x55d0a0,-_0x1491e4._0x409bac,0xb9)]);if(!_0x325a38)return genericBackgroundFailure();if(_0x4bf6b4[_0x338174(0x18c,0x1e2,_0x1491e4._0x473743,0x2b0)]===void 0x0)return genericBackgroundFailure();const _0x5d5154=await invokeBackgroundCapability(()=>_0x2a7696[_0x338174(0x437,0x27c,0x14a,0x32d)]({'agentId':_0x13d9e3[_0x338174(0x348,0x1a1,0x61,0x305)],'task':_0x13d9e3[_0x2b92df(0x661,0x54b,0x3c1,0x521)],'senderAgentId':_0x4bf6b4[_0x338174(0x353,0x188,-0xd7,0x185)][_0x338174(-0x79,0x1a1,0x31f,0x3c6)],'parentSessionId':_0x4bf6b4[_0x2b92df(0x8d6,0x6fd,0x816,0x686)],'parentToolCallId':_0x4bf6b4[_0x338174(0x212,0x1e2,0xc5,0x368)],..._0x13d9e3[_0x338174(0x262,0x5b,0xa0,-0xee)]===void 0x0?{}:{'requestedModelTier':_0x13d9e3[_0x2b92df(0x2f7,0x3c8,0x1d0,0x2fb)]}}));function _0x338174(_0x506d3e,_0x5dd696,_0x5520f0,_0x3c717f){return _0x1c0e9c(_0x506d3e-_0x2e95fe._0x3916e7,_0x5dd696-0x5f,_0x3c717f,_0x5dd696- -_0x2e95fe._0x37090b);}function _0x2b92df(_0x38fea4,_0x55da35,_0x7bd06,_0x4e5ca8){return _0x24b490(_0x55da35,_0x55da35-0x7,_0x4e5ca8- -_0x2700ac._0x4bc287,_0x4e5ca8-0xc2);}if(_0x5d5154[_0x2b92df(0x538,_0x1491e4._0x4ffedc,0x3ce,0x4c2)]==='rejected')return rejectedAssignmentOutput(_0x5d5154);return acceptedAssignmentOutput(_0x5d5154,_0x13d9e3[_0x338174(_0x1491e4._0x49076d,_0x1491e4._0xb76820,_0x1491e4._0x5391c8,_0x1491e4._0x34c8e3)]);}});}function createAssignTaskTool(_0xb13ae){const _0x1483f6={_0x3a4f76:0x7d5,_0x14f234:0x7eb,_0x430fd5:0x73a,_0x1c8254:0x63e},_0x69d8c7={_0x13f0e9:0x12d};function _0x155662(_0x2d64aa,_0xc25cbe,_0x4d4e47,_0x400f85){return _0xa5377c(_0x2d64aa,_0xc25cbe-0x25,_0x4d4e47-_0x69d8c7._0x13f0e9,_0x400f85-0x117);}return _0xb13ae[_0x155662(_0x1483f6._0x3a4f76,_0x1483f6._0x14f234,_0x1483f6._0x430fd5,_0x1483f6._0x1c8254)]===void 0x0?createSynchronousAssignTaskTool(_0xb13ae):createBackgroundAssignTaskTool(_0xb13ae,_0xb13ae['background']);}function createSendMessageTool(_0x570d60){const _0x6384da={_0x5d6a77:0x3f0,_0x10395d:0x24a,_0x5b5289:0x30c,_0x4effa7:0x453,_0xd1d19e:0x869,_0xeadf26:0x658,_0xcbcb54:0x8ae,_0x18944a:0x860,_0x403afb:0x245,_0x2a4aa3:0x5e9,_0x57ae28:0x749,_0x4f5613:0x6ec,_0x10f139:0x6d1,_0x6da156:0x598,_0x183447:0x13e,_0x53e795:0x94f,_0x7ed9ac:0x7be},_0x172018={_0x238c7e:0x915,_0xe8f442:0xa2c,_0x475bf0:0x7fa,_0x34726c:0x54b,_0x37c1ca:0x68b,_0x1b950e:0x586,_0x20cd71:0x851,_0x313b0c:0x667,_0x2a4865:0x75d,_0x53c2ac:0x829,_0x24afcf:0x668,_0x48b415:0x615,_0x5cba31:0x5f9,_0x57e7e1:0x30e,_0x597140:0x4a7},_0x37b365={_0x5a746f:0xf7},_0x4bd538={_0x465f9f:0x2f2,_0x125e13:0x183,_0x18ad5f:0x74},_0x5eced5={_0xe61b50:0x1a},_0x492292={_0x3165ee:0x167,_0x2d981f:0x206};function _0x4ccece(_0x4ffd3d,_0x209215,_0x4b37fc,_0x21adbb){return _0xa5377c(_0x209215,_0x209215-_0x492292._0x3165ee,_0x4b37fc-0x19d,_0x21adbb-_0x492292._0x2d981f);}function _0x29d64b(_0x4fa179,_0x24097a,_0x4f3c5b,_0x545717){return _0xa5377c(_0x4f3c5b,_0x24097a-_0x5eced5._0xe61b50,_0x4f3c5b-0x149,_0x4fa179- -0x2ac);}return defineTool({'name':_0x4ccece(_0x6384da._0x5d6a77,0x444,0x7db,0x623),'permissionClass':_0x29d64b(_0x6384da._0x10395d,0x306,_0x6384da._0x5b5289,_0x6384da._0x4effa7),'description':'Sends\x20a\x20message\x20to\x20an\x20existing\x20background\x20subagent\x20conversation.\x20`description`\x20is\x20a\x20short\x20UI\x20label;\x20`message`\x20is\x20sent\x20verbatim.','inputSchema':{'type':_0x4ccece(0x751,0x5ce,_0x6384da._0xd1d19e,_0x6384da._0xeadf26),'properties':{'runId':{'type':_0x4ccece(0x7fc,_0x6384da._0xcbcb54,0x9d7,_0x6384da._0x18944a),'description':_0x29d64b(0x105,0x125,_0x6384da._0x403afb,0xfc)},'description':{'type':'string','description':_0x4ccece(0x5f2,_0x6384da._0x2a4aa3,_0x6384da._0x57ae28,0x771)},'message':{'type':'string','description':_0x4ccece(_0x6384da._0x4f5613,0x56a,_0x6384da._0x10f139,_0x6384da._0x6da156)}},'required':[_0x29d64b(-0x7f,0x183,-0x10f,0x93),_0x29d64b(0x1d1,0x8b,_0x6384da._0x183447,0x313),_0x4ccece(_0x6384da._0x53e795,_0x6384da._0x7ed9ac,0x952,0x788)],'additionalProperties':![]},async *'execute'(_0x4fb498,_0x8417ef){for(const [_0x1a121c,_0x5aded6]of Object[_0x2e1948(_0x172018._0x238c7e,_0x172018._0xe8f442,0x71a,_0x172018._0x475bf0)](_0x4fb498)){if(_0x5aded6['trim']()[_0x2e1948(_0x172018._0x34726c,0x6dc,0x4d3,_0x172018._0x37c1ca)]===0x0)throw new ToolExecutionError(_0x2e1948(0x60f,0x372,0x777,0x544)+_0x1a121c+_0x2e1948(_0x172018._0x1b950e,_0x172018._0x20cd71,0x765,_0x172018._0x313b0c));}if(!isValidDelegatedRunId(_0x4fb498['runId']))return genericBackgroundFailure();if(_0x8417ef[_0x2e1948(0x8bd,_0x172018._0x2a4865,_0x172018._0x53c2ac,_0x172018._0x24afcf)]===void 0x0)return genericBackgroundFailure();const _0x1b144f=await invokeBackgroundCapability(()=>_0x570d60[_0x2e1948(0x801,0x8b5,0x765,0x86d)]({'runId':_0x4fb498['runId'],'message':_0x4fb498[_0x389d2c(0x41d,0x71e,0x641,0x5c8)],'senderAgentId':_0x8417ef[_0x389d2c(0x254,0x5c2,0x211,0x423)]['agentId'],'parentSessionId':_0x8417ef[_0x389d2c(0x432,0x4f1,0x7be,0x681)],'triggerToolCallId':_0x8417ef[_0x2e1948(0x539,0x8c0,0x755,0x668)]}));function _0x389d2c(_0x398fd2,_0x43c6f9,_0x5b7207,_0x2a6a83){return _0x29d64b(_0x2a6a83-_0x4bd538._0x465f9f,_0x43c6f9-_0x4bd538._0x125e13,_0x398fd2,_0x2a6a83-_0x4bd538._0x18ad5f);}function _0x2e1948(_0x4bd34f,_0x239709,_0x418dd6,_0x5df2ed){return _0x4ccece(_0x4bd34f-_0x37b365._0x5a746f,_0x418dd6,_0x418dd6-0x1b3,_0x5df2ed-0x2b);}if(_0x1b144f[_0x2e1948(0x798,_0x172018._0x48b415,0x8e1,0x6a8)]===_0x2e1948(0x40d,0x5d1,_0x172018._0x5cba31,0x4d1))return rejectedMessageOutput(_0x1b144f,_0x4fb498['runId']);return acceptedMessageOutput(_0x1b144f,_0x4fb498[_0x389d2c(_0x172018._0x57e7e1,0x367,_0x172018._0x597140,0x273)]);}});}function createStopAgentTool(_0x191045){const _0x321086={_0x4130e6:0x407,_0x3f0c67:0x22e,_0x41e9b2:0x110,_0x2a2279:0x2cb,_0xbbc9da:0x4d5,_0x1ad0b5:0x277,_0x56cef7:0x1d4,_0x18bd38:0x24f,_0x236164:0x835,_0x5ee663:0x83e,_0x394b30:0xbd,_0x4491ab:0x9b,_0x1bba59:0x123},_0x1e1a95={_0x437556:0x338,_0x1daccd:0x1fc,_0x18f5eb:0x258,_0x2c033f:0x2f,_0x5808a3:0x143},_0x4a4271={_0x557db7:0x13e,_0x4481a5:0x42c},_0xbff6={_0x560b37:0x45b,_0x3ab1fd:0x14d},_0xbb7c29={_0x5904be:0x172};function _0x3d8987(_0x110f8f,_0x417633,_0x135821,_0x1e696b){return _0x4eedea(_0x110f8f-_0xbb7c29._0x5904be,_0x417633- -0xd2,_0x1e696b,_0x1e696b-0xbd);}function _0x48606b(_0x306035,_0x109aa8,_0x2c2f4a,_0x187478){return _0xa5377c(_0x109aa8,_0x109aa8-0xda,_0x2c2f4a-0xc3,_0x2c2f4a-0x5f);}return defineTool({'name':_0x3d8987(0x4de,0x2cc,0x2af,0x12d),'permissionClass':_0x3d8987(_0x321086._0x4130e6,_0x321086._0x3f0c67,_0x321086._0x41e9b2,0x42b),'description':_0x3d8987(0x1dc,_0x321086._0x2a2279,_0x321086._0xbbc9da,0xe9),'inputSchema':{'type':_0x3d8987(_0x321086._0x1ad0b5,0x18a,_0x321086._0x56cef7,_0x321086._0x18bd38),'properties':{'runId':{'type':_0x48606b(_0x321086._0x236164,_0x321086._0x5ee663,0x6b9,0x4c4),'description':'Full\x20background\x20subagent\x20run\x20ID\x20returned\x20by\x20AssignTask.'}},'required':[_0x3d8987(_0x321086._0x394b30,-_0x321086._0x4491ab,-0x2e9,-_0x321086._0x1bba59)],'additionalProperties':![]},async *'execute'(_0x1ddf92,_0x41e9f0){if(!isValidDelegatedRunId(_0x1ddf92['runId']))return genericBackgroundFailure();function _0x3ff4d9(_0x1d71d6,_0x128803,_0x3b3c02,_0x2cee7c){return _0x48606b(_0x1d71d6-0x15f,_0x1d71d6,_0x2cee7c- -_0xbff6._0x560b37,_0x2cee7c-_0xbff6._0x3ab1fd);}const _0x11e67d=await invokeBackgroundCapability(()=>_0x191045[_0x3ff4d9(-0x146,-0xa2,-0x2c,-0x1c8)]({'runId':_0x1ddf92[_0x26e758(-0x190,-0x1a0,-0x227,-0x3c5)],'parentSessionId':_0x41e9f0[_0x3ff4d9(0x194,0x27d,0x19e,0x23f)]}));if(_0x11e67d['kind']===_0x3ff4d9(-0x365,-_0x1e1a95._0x437556,-_0x1e1a95._0x1daccd,-0x15c))return rejectedMessageOutput(_0x11e67d,_0x1ddf92['runId']);function _0x26e758(_0x42e0e3,_0x2cc2a9,_0x490be9,_0x21f4ef){return _0x48606b(_0x42e0e3-_0x4a4271._0x557db7,_0x21f4ef,_0x2cc2a9- -_0x4a4271._0x4481a5,_0x21f4ef-0xb7);}return acceptedStopOutput(_0x11e67d,_0x1ddf92[_0x3ff4d9(-_0x1e1a95._0x18f5eb,_0x1e1a95._0x2c033f,-_0x1e1a95._0x5808a3,-0x1cf)]);}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x1030ed){const _0x566e53={_0x44ff37:0x70b,_0x41f6b8:0xaca,_0x51d31e:0x8c0,_0x560f0f:0xa70,_0x41c27a:0x700},_0x4c9acf={_0x94fa01:0x10e,_0x1b176c:0x58f,_0x46912a:0x96},_0x2fcdb6={_0xcd2643:0x1c4},_0xc26890=createAssignTaskTool(_0x1030ed);function _0x1e593a(_0x292f34,_0x4cc29a,_0x41825c,_0x5eb0ee){return _0xa5377c(_0x5eb0ee,_0x4cc29a-_0x2fcdb6._0xcd2643,_0x41825c-0x97,_0x41825c-0x21e);}function _0x24ca32(_0x57da68,_0x1a3358,_0x4ac1a7,_0x594ea8){return _0x4eedea(_0x57da68-_0x4c9acf._0x94fa01,_0x57da68-_0x4c9acf._0x1b176c,_0x4ac1a7,_0x594ea8-_0x4c9acf._0x46912a);}return _0x1030ed[_0x24ca32(0x8c0,_0x566e53._0x44ff37,0x750,_0x566e53._0x41f6b8)]===void 0x0?[_0xc26890]:[_0xc26890,createSendMessageTool(_0x1030ed['background']),createStopAgentTool(_0x1030ed[_0x24ca32(_0x566e53._0x51d31e,_0x566e53._0x560f0f,_0x566e53._0x41c27a,0x78f)])];}import{mkdir as _0x3069b7,writeFile}from'fs/promises';import*as _0x464c46 from'path';function sanitizeFileName(_0x4a08b9){return _0x4a08b9['replace'](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x2581d7,_0x1c30d8){const _0x1e39d9={_0x4ece96:0x437,_0x9c9dc3:0x26c,_0x264c8e:0x899,_0x5eb186:0x878,_0x7df568:0x8e8,_0x7c1267:0x666,_0x42577a:0x900,_0x1d313b:0x810,_0x330c72:0x110,_0x165597:0x4af,_0x26addd:0x7e1,_0x4a3c9f:0x883,_0x5354c4:0xa22,_0x208907:0xad1,_0x435c7b:0x88f,_0xd3d5fc:0xc0,_0x85dee8:0x2a4,_0x497819:0x1a1,_0x2549b9:0x1c2,_0x70d7b4:0x82,_0xa6860:0x66f,_0x3f4919:0x4c8,_0x850a50:0x6b3,_0x366edc:0x13b,_0x52e564:0xf,_0x48c14e:0x55,_0x492bc4:0x64d,_0x53a234:0x1e6,_0x544752:0x54a,_0x2418aa:0x84a,_0x5eccfc:0x158,_0x1e4152:0x790,_0x444817:0x717,_0x4a2aa0:0x3d9,_0x5c8d64:0x353,_0x4ba9cf:0x549,_0x2a0389:0x3df,_0x20de83:0x377,_0x330c54:0x43f,_0x1b7efa:0xa0,_0x57b64f:0xab,_0x2b24d9:0x25,_0x30f812:0x5e6,_0x1bfce6:0x3b4,_0x1cfbf1:0x452,_0x34a6af:0x5a4,_0x4884d4:0x5e4,_0x5d90f8:0x8ca,_0x376adf:0x596,_0x50a927:0x8f9,_0x4a2894:0x69b,_0x3dfa2e:0x8e,_0x56fba0:0x13e,_0x24e62b:0x81,_0x41d6b0:0xcd,_0x37b570:0x107,_0x458977:0x74},_0x3f06f9={_0xfd2500:0x17b,_0x2d20ad:0x7f},{maxBytes:_0x17c956,sessionDir:_0x37b03a}=_0x1c30d8;if(!_0x2581d7['output']||Buffer[_0x366892(_0x1e39d9._0x4ece96,_0x1e39d9._0x9c9dc3,0x312,0x123)](_0x2581d7[_0x37b785(0x676,_0x1e39d9._0x264c8e,_0x1e39d9._0x5eb186,0x8b6)],_0x37b785(_0x1e39d9._0x7df568,0x881,0x74d,_0x1e39d9._0x7c1267))<=_0x17c956)return _0x2581d7;const _0x29658d=Buffer[_0x37b785(0x6fe,_0x1e39d9._0x42577a,0x80b,_0x1e39d9._0x1d313b)](_0x2581d7[_0x366892(_0x1e39d9._0x330c72,_0x1e39d9._0x165597,0x2ab,0x4c3)],_0x37b785(0x72f,0x881,_0x1e39d9._0x26addd,_0x1e39d9._0x4a3c9f));if(!_0x37b03a){const _0x44d5c0=_0x2581d7[_0x37b785(0xa22,_0x1e39d9._0x264c8e,0x68a,_0x1e39d9._0x5354c4)][_0x37b785(_0x1e39d9._0x208907,0x8aa,0x716,_0x1e39d9._0x435c7b)](0x0,_0x17c956);return{..._0x2581d7,'output':_0x44d5c0+('\x0a\x0a<system-reminder>\x0aTool\x20output\x20was\x20truncated\x20at\x20'+_0x17c956+_0x366892(0x28,_0x1e39d9._0xd3d5fc,0x284,0x1c1)+_0x29658d+_0x37b785(0x4b2,0x5a8,0x3ca,0x57a)),'meta':{..._0x2581d7[_0x366892(_0x1e39d9._0x85dee8,_0x1e39d9._0x497819,_0x1e39d9._0x2549b9,-_0x1e39d9._0x70d7b4)],'truncated':!![],'originalBytes':_0x29658d,'transforms':[..._0x2581d7['meta'][_0x37b785(0x88c,_0x1e39d9._0xa6860,0x498,0x82e)],_0x37b785(_0x1e39d9._0x3f4919,0x5c0,0x4f2,_0x1e39d9._0x850a50)]}};}const _0x153204=_0x2581d7[_0x366892(-0x235,_0x1e39d9._0x366edc,_0x1e39d9._0x52e564,-_0x1e39d9._0x48c14e)]+'_'+sanitizeFileName(_0x2581d7[_0x37b785(_0x1e39d9._0x492bc4,0x55d,0x758,0x740)])+_0x366892(0x6f,_0x1e39d9._0x53a234,-0x69,0x41);function _0x366892(_0x59f32a,_0x5b3315,_0x48cd8a,_0x388125){return _0x4eedea(_0x59f32a-0x18d,_0x48cd8a- -0xc0,_0x388125,_0x388125-0xb1);}const _0x16a93b=_0x464c46[_0x37b785(_0x1e39d9._0x544752,0x604,_0x1e39d9._0x2418aa,0x4ea)](_0x37b03a,_0x153204);await _0x3069b7(_0x37b03a,{'recursive':!![]}),await writeFile(_0x16a93b,_0x2581d7[_0x366892(0x457,0x401,0x2ab,_0x1e39d9._0x5eccfc)],'utf8');function _0x37b785(_0x5eefbc,_0x3276cf,_0x3ffc9f,_0xdd626e){return _0xa5377c(_0x5eefbc,_0x3276cf-_0x3f06f9._0xfd2500,_0x3ffc9f-_0x3f06f9._0x2d20ad,_0x3276cf-0x338);}let _0x5dde82=_0x2581d7[_0x37b785(0xa1e,0x899,0x7ef,0x87b)][_0x37b785(0x7b7,0x8aa,_0x1e39d9._0x1e4152,0x980)](0x0,_0x17c956);const _0x2495d9=_0x5dde82[_0x37b785(0x52b,0x526,_0x1e39d9._0x444817,_0x1e39d9._0x4a2aa0)]('\x0a');_0x2495d9>_0x17c956*0.5&&(_0x5dde82=_0x5dde82[_0x366892(0x1e9,_0x1e39d9._0x5c8d64,0x2bc,0xd3)](0x0,_0x2495d9));const _0x53d97c=['',_0x366892(_0x1e39d9._0x4ba9cf,_0x1e39d9._0x2a0389,_0x1e39d9._0x20de83,_0x1e39d9._0x330c54),_0x366892(-0x17b,_0x1e39d9._0x1b7efa,_0x1e39d9._0x57b64f,_0x1e39d9._0x2b24d9)+_0x17c956+'\x20bytes\x20(total:\x20'+_0x29658d+_0x37b785(_0x1e39d9._0x30f812,0x4fc,_0x1e39d9._0x1bfce6,_0x1e39d9._0x1cfbf1),_0x37b785(0x614,_0x1e39d9._0x34a6af,0x451,0x482)+_0x16a93b,_0x37b785(_0x1e39d9._0x4884d4,0x76c,_0x1e39d9._0x5d90f8,0x687),_0x37b785(0x6a4,0x733,0x52b,_0x1e39d9._0x376adf)]['join']('\x0a');return{..._0x2581d7,'output':_0x5dde82+_0x53d97c,'meta':{..._0x2581d7['meta'],'truncated':!![],'originalBytes':_0x29658d,'transforms':[..._0x2581d7[_0x37b785(0x9fc,0x7b0,_0x1e39d9._0x50a927,_0x1e39d9._0x4a2894)][_0x366892(_0x1e39d9._0x3dfa2e,-_0x1e39d9._0x56fba0,_0x1e39d9._0x24e62b,-_0x1e39d9._0x41d6b0)],_0x366892(_0x1e39d9._0x37b570,-_0x1e39d9._0x458977,-0x2e,-0x1f7)]}};}import{readFile as _0x20a190,stat as _0xef8f2f}from'fs/promises';function createAnchoredFileError(_0x26affc,_0x4adfe3,_0x489e11){return new ToolExecutionError(_0x4adfe3,{'error':_0x26affc,..._0x489e11});}import{createHash}from'crypto';function sha256Bytes(_0x23f70c){const _0x1bb853={_0x3de1bb:0x739,_0x204805:0x60a,_0x39112d:0x3ce,_0x2b5002:0x9bb,_0x4700ad:0xb5a,_0x40ae08:0x97b,_0x3ea0fa:0x531,_0x13f852:0x782,_0x137d46:0x6b6},_0x3dab15={_0x20cf61:0x1dd},_0x416102={_0x3e279b:0x1c5};function _0x163e4f(_0x368356,_0x36f952,_0x289e2a,_0x3d98c7){return _0x4eedea(_0x368356-_0x416102._0x3e279b,_0x36f952-0x53d,_0x289e2a,_0x3d98c7-0xff);}function _0x2eb531(_0x2b7ffa,_0x44d774,_0x556289,_0x55174e){return _0x4eedea(_0x2b7ffa-0x1,_0x55174e-0x55f,_0x556289,_0x55174e-_0x3dab15._0x20cf61);}return createHash(_0x163e4f(_0x1bb853._0x3de1bb,_0x1bb853._0x204805,0x763,_0x1bb853._0x39112d))[_0x163e4f(0xb30,_0x1bb853._0x2b5002,_0x1bb853._0x4700ad,_0x1bb853._0x40ae08)](_0x23f70c)['digest'](_0x2eb531(_0x1bb853._0x3ea0fa,_0x1bb853._0x13f852,0x7dc,_0x1bb853._0x137d46));}function countLines(_0x1d3459){const _0x3c39b6={_0x86b7dd:0x6a2,_0x151ddc:0x7e2,_0x30918a:0x66c,_0x43ad5c:0x5e2,_0x4a8591:0x78e,_0x5c6cb9:0x819,_0x34b7be:0x677,_0x441e43:0x7c1},_0x3afbe4={_0x1d2e6f:0x413,_0x599da0:0x186},_0x41a10d={_0x41f2d9:0x253},_0x37cc7b=_0x1d3459[_0x369578(0xa37,_0x3c39b6._0x86b7dd,_0x3c39b6._0x151ddc,0x684)](/\n$/,'');function _0x16b493(_0x4808ca,_0x5e5e5d,_0x131994,_0x15eee6){return _0xa5377c(_0x5e5e5d,_0x5e5e5d-0x1f1,_0x131994-0x15f,_0x4808ca- -_0x41a10d._0x41f2d9);}function _0x369578(_0x286f45,_0x566c7e,_0x5b7319,_0x54a949){return _0x4eedea(_0x286f45-0xd4,_0x5b7319-_0x3afbe4._0x1d2e6f,_0x566c7e,_0x54a949-_0x3afbe4._0x599da0);}return _0x37cc7b['length']===0x0?0x0:_0x37cc7b[_0x369578(0x736,0x636,_0x3c39b6._0x30918a,_0x3c39b6._0x43ad5c)]('\x0a')[_0x369578(_0x3c39b6._0x4a8591,_0x3c39b6._0x5c6cb9,_0x3c39b6._0x34b7be,_0x3c39b6._0x441e43)];}function replaceFirstExact(_0x521a6a,_0x51620b,_0x389329){const _0x225ae6={_0x2a8970:0x7d8,_0x432970:0x7a8,_0x2221e6:0xa1e,_0x2467c6:0x9d5,_0x4ce7bf:0x898,_0x2dcad7:0x8b6,_0x4fe4eb:0x5a3,_0x21bf4d:0x5c5,_0x256799:0x60b,_0x4a700b:0x6c4,_0x66e207:0xaa6,_0x8a2a79:0x660,_0x1f08b4:0x4b7,_0x3645a2:0x7ab,_0x295db6:0x839,_0x5d095a:0x5a3,_0x3d3062:0x6fa},_0x23d3ce={_0x3fd1ed:0xca,_0x20b7de:0x33f,_0x4c1a5c:0x2c},_0x44c1be={_0x2085bc:0x18f,_0x836bc5:0x1b3,_0x191143:0x344};function _0x19b20b(_0x31ece4,_0x4d6693,_0x5d72b7,_0x647be3){return _0xa5377c(_0x4d6693,_0x4d6693-_0x44c1be._0x2085bc,_0x5d72b7-_0x44c1be._0x836bc5,_0x647be3-_0x44c1be._0x191143);}const _0x3c66bd=_0x521a6a[_0x19b20b(0x563,0x5cb,_0x225ae6._0x2a8970,_0x225ae6._0x432970)](_0x51620b);if(_0x3c66bd===-0x1)return void 0x0;const _0x3d40ec=_0x521a6a[_0x19b20b(_0x225ae6._0x2221e6,_0x225ae6._0x2467c6,_0x225ae6._0x4ce7bf,_0x225ae6._0x2dcad7)](0x0,_0x3c66bd)['split']('\x0a')[_0x4f85d5(_0x225ae6._0x4fe4eb,_0x225ae6._0x21bf4d,_0x225ae6._0x256799,0x639)],_0x35c9ce=countLines(_0x51620b),_0x9ac97e=countLines(_0x389329);function _0x4f85d5(_0x4713a3,_0x388c52,_0x280e67,_0x428409){return _0x4eedea(_0x4713a3-_0x23d3ce._0x3fd1ed,_0x4713a3-_0x23d3ce._0x20b7de,_0x280e67,_0x428409-_0x23d3ce._0x4c1a5c);}return{'before':_0x521a6a,'after':_0x521a6a[_0x19b20b(_0x225ae6._0x4a700b,_0x225ae6._0x66e207,_0x225ae6._0x8a2a79,_0x225ae6._0x2dcad7)](0x0,_0x3c66bd)+_0x389329+_0x521a6a[_0x4f85d5(0x6bb,_0x225ae6._0x1f08b4,_0x225ae6._0x3645a2,_0x225ae6._0x295db6)](_0x3c66bd+_0x51620b[_0x4f85d5(_0x225ae6._0x5d095a,0x4cc,_0x225ae6._0x3d3062,0x78f)]),'lineNumbers':{'oldStartLine':_0x3d40ec,'oldEndLine':_0x3d40ec+_0x35c9ce-0x1,'newStartLine':_0x3d40ec,'newEndLine':_0x3d40ec+_0x9ac97e-0x1,'oldLineCount':_0x35c9ce,'newLineCount':_0x9ac97e}};}var MAX_OPERATIONS=0x64;function requireValidAnchorLine(_0x24556c){const _0x5051e8={_0x23bc23:0x48,_0xb5f8dc:0x3fc,_0x2f6c9d:0x453},_0x1213f1={_0x36f403:0xad,_0x22d799:0x1a7},_0x319de1={_0x1cbef3:0x134,_0x528eab:0x1ce};function _0x1e8809(_0x1a2fae,_0x139107,_0x5c939c,_0x3dd412){return _0x4eedea(_0x1a2fae-_0x319de1._0x1cbef3,_0x139107- -_0x319de1._0x528eab,_0x5c939c,_0x3dd412-0xa7);}function _0xd43664(_0x2e9ef8,_0x8ced50,_0x1edbf8,_0x4467f9){return _0x4eedea(_0x2e9ef8-_0x1213f1._0x36f403,_0x4467f9-_0x1213f1._0x22d799,_0x1edbf8,_0x4467f9-0x144);}if(!Number[_0x1e8809(_0x5051e8._0x23bc23,0x245,_0x5051e8._0xb5f8dc,0x13e)](_0x24556c)||_0x24556c<0x1)throw createAnchoredFileError(_0xd43664(0x3fc,0x19d,_0x5051e8._0x2f6c9d,0x320),_0xd43664(0x4e7,0x56b,0x624,0x60f)+String(_0x24556c)+'.');}function rangeLines(_0x408047,_0x1b25aa){const _0xe92dc8={_0x550df7:0x5f,_0x5ae25e:0x159,_0x3e17fd:0x5c},_0x29fc16={_0x46658c:0x69};function _0x294e73(_0xaba222,_0x3dfd5b,_0x34cdcd,_0x484f2e){return _0x4eedea(_0xaba222-0x15e,_0x3dfd5b-_0x29fc16._0x46658c,_0x484f2e,_0x484f2e-0xe2);}const _0x471aae=[];for(let _0x5d2699=_0x408047;_0x5d2699<=_0x1b25aa;_0x5d2699+=0x1){_0x471aae[_0x294e73(_0xe92dc8._0x550df7,_0xe92dc8._0x5ae25e,0x24c,_0xe92dc8._0x3e17fd)](_0x5d2699);}return _0x471aae;}function normalizeContent(_0x2bbde9){const _0x3326f1={_0x34870a:0x531,_0x51fb4c:0x1f4,_0x24aebe:0x24d,_0xff8554:0x3c},_0x49cad5={_0x150ffc:0x163,_0x18c2bf:0xe},_0x59e3ff={_0xc9232d:0x182,_0x1fe22d:0x2a9};function _0x13403c(_0xdcdeb8,_0x886128,_0x15801e,_0x2bf1c1){return _0xa5377c(_0x2bf1c1,_0x886128-_0x59e3ff._0xc9232d,_0x15801e-0xa3,_0xdcdeb8- -_0x59e3ff._0x1fe22d);}function _0x2cb7dd(_0x4ae9fd,_0x4dece9,_0x1e413a,_0x1605d0){return _0xa5377c(_0x4dece9,_0x4dece9-_0x49cad5._0x150ffc,_0x1e413a-_0x49cad5._0x18c2bf,_0x1e413a-0x14f);}return _0x2bbde9[_0x13403c(0x31c,_0x3326f1._0x34870a,_0x3326f1._0x51fb4c,0x3a7)](/\r\n/g,'\x0a')[_0x13403c(0x1a6,_0x3326f1._0x24aebe,0x120,_0x3326f1._0xff8554)]('\x0a');}function planOperations(_0x4e00d2,_0x4b7f47){const _0x301ac0={_0x3b4351:0x252,_0x41cc43:0x1c7,_0x2907b3:0x37b,_0x297347:0x314,_0x5bc205:0x1dc,_0x3bd610:0x232,_0x52c753:0x55,_0x1ddea1:0x420,_0x4b7df1:0x35e,_0x470ebc:0x4f8,_0x40463e:0x15d,_0x40be73:0x64,_0x430a65:0x49f,_0x11bfef:0x1e1,_0x1554b3:0x49c,_0x2de818:0x56b,_0x561e5f:0x1cd,_0x4c334c:0x11},_0xef413d={_0x1884ca:0x6a2,_0x40e784:0x622,_0x3f5586:0x797,_0x90cf44:0x3c3,_0x31ca8d:0x552,_0x1ad97f:0x497,_0x3aada3:0x392,_0x49a63d:0x6c,_0x40b2e0:0x120,_0xea2e7e:0x442,_0x3831c4:0x6c,_0x39cf45:0x29b,_0x2842de:0x106,_0x2942ac:0x27d,_0x4c53dd:0x16d,_0x4fb7c5:0x16d,_0x2aebf9:0x16,_0x127f3e:0x9a,_0x353fe1:0x399,_0x38e1a6:0x37a,_0x596641:0xeb,_0x384b0c:0x5c,_0x5bd87b:0x258,_0x1cab74:0x152,_0x47c40d:0x757,_0x47dd9f:0x3ff,_0x200814:0x1b8,_0x4eb4b6:0x48,_0xfd6a7a:0x11a,_0x423023:0x34,_0x1e3511:0x5e4,_0x4c8518:0x6d1,_0x4ec353:0x7d8,_0xfecd1a:0x717,_0x2ebb59:0x2d5,_0xbea232:0x2f0,_0x30dd64:0x196,_0x372923:0x119,_0x978823:0x2fd,_0x149006:0x1b1,_0x16c3b8:0x11b,_0x1357f4:0x4bf,_0x5871df:0x332,_0x1122ec:0x128,_0x1fea5c:0x7b,_0x1d55bf:0x91,_0x3b6e67:0x1ed,_0x4b850c:0x157,_0x3a3551:0x12f,_0x363b1f:0x5e6,_0x37abc0:0x6f3,_0x2bc107:0x59f,_0xd3d080:0x2e,_0x36bff1:0x99,_0x5b4339:0x1d9,_0x39457d:0x78,_0x51bda6:0xfb,_0x288c1b:0x499,_0x4b8fc8:0x566,_0x266176:0x5f,_0x27644e:0x1fe,_0x25f8db:0x78,_0x5a8fe5:0x4d1,_0x10365a:0x3b0,_0x5b2c74:0x52f,_0x1c518c:0x56a,_0x1f5c4d:0x97,_0x288a9b:0xa9,_0x3f6fea:0x3c,_0x21924d:0x3fb,_0x329a83:0x14d,_0x2ec663:0x295,_0x5a6703:0x37f,_0x3bb714:0x440,_0x50cfcf:0x240,_0x15fbc1:0x90,_0x51ec7f:0x40,_0x328ba3:0x23c,_0x5d7774:0x4d0,_0x18ab4d:0x412,_0x24d934:0x3ad,_0x2e88dc:0x4ef,_0x5a99c1:0x67,_0x4b839f:0x256,_0x1db5cd:0xa1,_0x110427:0x194,_0x4cc775:0xcd,_0x216a35:0x19f,_0xb7ccff:0x380,_0x5c8ad4:0x563,_0x2c5436:0x72f,_0xba37bf:0x6d8,_0x5dbc47:0x202,_0x3ec699:0x2c6,_0x18d35a:0x458,_0x2ee5b1:0x6ca,_0x24c8d7:0x47b,_0x272ab8:0x54f,_0x23133a:0xf,_0x11d750:0x347,_0x4b8ce2:0x3f,_0x475408:0x200,_0x54fcfd:0x4d7,_0x5e4f17:0x1a8,_0x4bd308:0x58,_0x54bf5f:0x45,_0x5d2f7f:0x1e1,_0x43644b:0x9d,_0x5e3941:0x20,_0x4073fb:0x38,_0x2a344a:0x209,_0x2d4e61:0xcb,_0x31f478:0x229,_0x4eff5c:0x2c6,_0xbda408:0x149,_0x2b2c60:0x4b,_0x50ea0c:0x3b9,_0x4c4eeb:0x4e5,_0x2dd7f1:0x4ef,_0x281ad0:0x5f8,_0x1253a0:0x55f,_0x484a1e:0x6e1,_0x20d27f:0x4c0,_0x23e037:0x538,_0x3a2312:0x6bd,_0x4c0c5b:0x6e1,_0x49ad0a:0x72,_0x18465f:0x195,_0x54f77b:0x2a,_0x35e772:0x4ef,_0xe3c35c:0x40a,_0x52fd2d:0x6ba,_0xe16d1e:0x233,_0x505f98:0x1c5},_0x41ccde={_0x5d2109:0x132,_0x3a74d8:0x11d},_0x59b153={_0x3b8915:0x141,_0x4312bd:0x154};if(_0x4b7f47['length']===0x0)throw createAnchoredFileError(_0x33b90b(_0x301ac0._0x3b4351,0x288,_0x301ac0._0x41cc43,0x3e2),_0x3f8174(_0x301ac0._0x2907b3,0x35b,0x34d,0x4a0));function _0x3f8174(_0x3ee417,_0x55f314,_0x3f06d7,_0x35b882){return _0xa5377c(_0x35b882,_0x55f314-_0x59b153._0x3b8915,_0x3f06d7-_0x59b153._0x4312bd,_0x3ee417- -0x193);}if(_0x4b7f47[_0x3f8174(0x2c7,0x16e,_0x301ac0._0x297347,0x110)]>MAX_OPERATIONS)throw createAnchoredFileError(_0x3f8174(_0x301ac0._0x5bc205,0x278,0x311,0x32e),_0x3f8174(_0x301ac0._0x3bd610,0x133,0x29d,_0x301ac0._0x52c753)+MAX_OPERATIONS+_0x33b90b(_0x301ac0._0x1ddea1,_0x301ac0._0x4b7df1,_0x301ac0._0x470ebc,0x3a2));function _0x33b90b(_0x560001,_0x39e5e6,_0x909e73,_0x5b3c4e){return _0xa5377c(_0x5b3c4e,_0x39e5e6-_0x41ccde._0x5d2109,_0x909e73-0x7f,_0x560001- -_0x41ccde._0x3a74d8);}if(_0x4e00d2[_0x33b90b(_0x301ac0._0x40463e,0x34e,-_0x301ac0._0x40be73,0x5b)][_0x33b90b(0x33d,0x441,_0x301ac0._0x430a65,0x429)]===0x0)throw createAnchoredFileError(_0x33b90b(0x252,_0x301ac0._0x11bfef,0x395,0x305),_0x3f8174(_0x301ac0._0x1554b3,0x6d6,_0x301ac0._0x2de818,0x27e));return _0x4b7f47[_0x33b90b(_0x301ac0._0x561e5f,0x14c,0x335,-_0x301ac0._0x4c334c)](_0x44b4b4=>{const _0x3ebce4={_0x43ec2d:0xe5,_0x48fa7b:0x27,_0x53b6eb:0xab},_0xd6e9ea={_0x338edd:0x29f};function _0x30204b(_0x5c8664,_0x421d7b,_0x2cc2cc,_0x48786b){return _0x3f8174(_0x2cc2cc-_0xd6e9ea._0x338edd,_0x421d7b-0x161,_0x2cc2cc-0x82,_0x421d7b);}function _0x35a065(_0x52de77,_0x113edc,_0x10775c,_0x4c48ee){return _0x33b90b(_0x113edc- -_0x3ebce4._0x43ec2d,_0x113edc-_0x3ebce4._0x48fa7b,_0x10775c-_0x3ebce4._0x53b6eb,_0x4c48ee);}switch(_0x44b4b4[_0x30204b(0x783,_0xef413d._0x1884ca,_0xef413d._0x40e784,_0xef413d._0x3f5586)]){case _0x35a065(0x5c6,_0xef413d._0x90cf44,0x521,_0xef413d._0x31ca8d):{requireValidAnchorLine(_0x44b4b4[_0x30204b(0x66d,_0xef413d._0x1ad97f,0x4bf,_0xef413d._0x3aada3)]),requireValidAnchorLine(_0x44b4b4[_0x35a065(0x77,_0xef413d._0x49a63d,-0xd8,-_0xef413d._0x40b2e0)]);if(_0x44b4b4[_0x30204b(0x678,_0xef413d._0xea2e7e,0x4bf,0x31a)]>_0x44b4b4[_0x35a065(0x72,_0xef413d._0x3831c4,_0xef413d._0x39cf45,-_0xef413d._0x2842de)])throw createAnchoredFileError(_0x30204b(0x327,_0xef413d._0x2942ac,0x47b,0x4f2),'replace\x20startLine\x20must\x20not\x20exceed\x20endLine.');if(typeof _0x44b4b4['content']!=='string')throw createAnchoredFileError(_0x35a065(0x44,_0xef413d._0x4c53dd,0x2e2,-0xbe),'replace\x20content\x20must\x20be\x20a\x20string.');if(_0x44b4b4['endLine']>_0x4e00d2['lines']['length'])throw createAnchoredFileError(_0x35a065(0x125,_0xef413d._0x4fb7c5,-_0xef413d._0x2aebf9,-_0xef413d._0x127f3e),'replace\x20range\x20['+_0x44b4b4['startLine']+',\x20'+_0x44b4b4[_0x30204b(_0xef413d._0x353fe1,0x131,_0xef413d._0x38e1a6,0x1c5)]+_0x30204b(_0xef413d._0x596641,0x164,0x324,0x460)+_0x4e00d2['lines'][_0x35a065(_0xef413d._0x384b0c,_0xef413d._0x5bd87b,_0xef413d._0x1cab74,0x312)]+_0x30204b(_0xef413d._0x47c40d,0x786,0x52f,_0xef413d._0x47dd9f));const _0x5c5245=normalizeContent(_0x44b4b4[_0x35a065(-_0xef413d._0x200814,-_0xef413d._0x4eb4b6,-_0xef413d._0xfd6a7a,_0xef413d._0x423023)]);return{'kind':'replace','canonical':{'operation':_0x30204b(0x68e,_0xef413d._0x1e3511,_0xef413d._0x4c8518,_0xef413d._0x4ec353),'startLine':_0x44b4b4[_0x30204b(_0xef413d._0xfecd1a,0x541,0x4bf,0x469)],'endLine':_0x44b4b4[_0x30204b(_0xef413d._0x2ebb59,0x484,0x37a,_0xef413d._0xbea232)],'content':_0x5c5245[_0x35a065(_0xef413d._0x30dd64,0xca,-_0xef413d._0x372923,-0xa)]('\x0a')},'spliceIndex':_0x44b4b4['startLine']-0x1,'deleteCount':_0x44b4b4[_0x30204b(0x57a,0x59e,0x37a,0x1e9)]-_0x44b4b4[_0x30204b(_0xef413d._0x978823,0x455,0x4bf,0x4ad)]+0x1,'rows':_0x5c5245,'sourceStart':_0x44b4b4[_0x35a065(0x372,_0xef413d._0x149006,_0xef413d._0x16c3b8,0x3fd)],'sourceEnd':_0x44b4b4['endLine'],'requiredLines':rangeLines(_0x44b4b4[_0x30204b(0x689,0x4b4,_0xef413d._0x1357f4,_0xef413d._0x5871df)],_0x44b4b4[_0x35a065(-_0xef413d._0x1122ec,0x6c,-_0xef413d._0x1fea5c,-_0xef413d._0x1d55bf)])};}case _0x35a065(-0x36,_0xef413d._0x3b6e67,_0xef413d._0x4b850c,0x358):{requireValidAnchorLine(_0x44b4b4['startLine']),requireValidAnchorLine(_0x44b4b4[_0x35a065(-0x85,0x6c,-_0xef413d._0x3a3551,-0xcf)]);if(_0x44b4b4['startLine']>_0x44b4b4['endLine'])throw createAnchoredFileError('invalid_range',_0x30204b(_0xef413d._0x363b1f,_0xef413d._0x37abc0,_0xef413d._0x2bc107,0x561));if(_0x44b4b4[_0x35a065(_0xef413d._0xd3d080,_0xef413d._0x49a63d,-_0xef413d._0x36bff1,-0x140)]>_0x4e00d2[_0x35a065(-_0xef413d._0x5b4339,_0xef413d._0x39457d,-_0xef413d._0x51bda6,0x53)][_0x30204b(_0xef413d._0x288c1b,0x3e5,_0xef413d._0x4b8fc8,0x34a)])throw createAnchoredFileError('invalid_range',_0x35a065(_0xef413d._0x266176,0x2,-0x104,-0xc9)+_0x44b4b4['startLine']+',\x20'+_0x44b4b4[_0x30204b(0x11e,0x4a5,0x37a,_0xef413d._0x27644e)]+']\x20is\x20past\x20the\x20end\x20of\x20the\x20'+_0x4e00d2[_0x35a065(0xb4,_0xef413d._0x25f8db,_0xef413d._0x2842de,-0x60)][_0x30204b(0x6e3,0x52f,_0xef413d._0x4b8fc8,0x43c)]+_0x30204b(_0xef413d._0x5a8fe5,_0xef413d._0x10365a,_0xef413d._0x5b2c74,_0xef413d._0x1c518c));return{'kind':_0x30204b(0x3ee,0x651,0x4fb,0x71c),'canonical':{'operation':_0x35a065(0x3e7,_0xef413d._0x3b6e67,_0xef413d._0x1f5c4d,_0xef413d._0x288a9b),'startLine':_0x44b4b4['startLine'],'endLine':_0x44b4b4[_0x35a065(0x2c1,_0xef413d._0x3831c4,-0x143,-_0xef413d._0x3f6fea)]},'spliceIndex':_0x44b4b4[_0x35a065(_0xef413d._0x21924d,0x1b1,0x148,0x18a)]-0x1,'deleteCount':_0x44b4b4[_0x30204b(0x1e7,_0xef413d._0x329a83,0x37a,0x2d7)]-_0x44b4b4[_0x30204b(_0xef413d._0x2ec663,_0xef413d._0x5a6703,0x4bf,0x63f)]+0x1,'rows':[],'sourceStart':_0x44b4b4['startLine'],'sourceEnd':_0x44b4b4[_0x30204b(_0xef413d._0x3bb714,_0xef413d._0x50cfcf,_0xef413d._0x38e1a6,0x14c)],'requiredLines':rangeLines(_0x44b4b4['startLine'],_0x44b4b4[_0x35a065(-_0xef413d._0x15fbc1,0x6c,_0xef413d._0x51ec7f,_0xef413d._0x328ba3)])};}case _0x30204b(0x705,0x8d6,0x6e1,_0xef413d._0x5d7774):{requireValidAnchorLine(_0x44b4b4[_0x30204b(_0xef413d._0x18ab4d,_0xef413d._0x24d934,_0xef413d._0x2e88dc,0x34f)]);if(_0x44b4b4[_0x35a065(0x56,0xcd,0x22d,-_0xef413d._0x5a99c1)]!==_0x35a065(_0xef413d._0x4b839f,_0xef413d._0x1db5cd,0x279,0x189)&&_0x44b4b4[_0x35a065(_0xef413d._0x110427,_0xef413d._0x4cc775,-0x2e,-0x66)]!==_0x30204b(_0xef413d._0x216a35,0x189,_0xef413d._0xb7ccff,0x4d4))throw createAnchoredFileError('invalid_range',_0x30204b(0x4f5,_0xef413d._0x5c8ad4,_0xef413d._0x2c5436,_0xef413d._0xba37bf));if(typeof _0x44b4b4[_0x30204b(0x1c6,_0xef413d._0x5dbc47,_0xef413d._0x3ec699,0x1f5)]!==_0x35a065(0x255,_0xef413d._0x18d35a,0x27e,0x61b))throw createAnchoredFileError(_0x30204b(0x2a9,_0xef413d._0x2ee5b1,_0xef413d._0x24c8d7,_0xef413d._0x272ab8),_0x35a065(0x255,0x162,_0xef413d._0x23133a,_0xef413d._0x11d750));if(_0x44b4b4['line']>_0x4e00d2[_0x35a065(0xd2,_0xef413d._0x25f8db,-0x158,-_0xef413d._0x4b8ce2)][_0x35a065(0x2c7,0x258,0x24e,_0xef413d._0x475408)])throw createAnchoredFileError(_0x30204b(0x27e,_0xef413d._0x54fcfd,0x47b,0x386),_0x35a065(_0xef413d._0x5e4f17,_0xef413d._0x4bd308,0x24a,-_0xef413d._0x54bf5f)+_0x44b4b4[_0x35a065(0x30d,_0xef413d._0x5d2f7f,0x377,0x379)]+_0x35a065(-_0xef413d._0x43644b,_0xef413d._0x5e3941,_0xef413d._0x4073fb,0x1a6)+_0x4e00d2['lines']['length']+_0x35a065(_0xef413d._0x2a344a,0x221,_0xef413d._0x2d4e61,0x2fd));const _0x20b318=normalizeContent(_0x44b4b4[_0x30204b(_0xef413d._0x31f478,0x39d,_0xef413d._0x4eff5c,0x20f)]),_0x4fb019=_0x44b4b4[_0x35a065(_0xef413d._0xbda408,0xcd,0x2eb,_0xef413d._0x2b2c60)]===_0x35a065(-0x116,0xa1,-0x1,-0xe4)?_0x44b4b4['line']-0x1:_0x44b4b4[_0x30204b(_0xef413d._0x50ea0c,_0xef413d._0x4c4eeb,_0xef413d._0x2dd7f1,0x4c3)];return{'kind':_0x30204b(_0xef413d._0x281ad0,_0xef413d._0x1253a0,_0xef413d._0x484a1e,_0xef413d._0x20d27f),'canonical':{'operation':_0x30204b(_0xef413d._0x23e037,_0xef413d._0x3a2312,_0xef413d._0x4c0c5b,0x840),'position':_0x44b4b4[_0x30204b(0x42f,0x1cf,0x3db,0x1fe)],'line':_0x44b4b4[_0x35a065(-_0xef413d._0x49ad0a,0x1e1,_0xef413d._0x18465f,-_0xef413d._0x54f77b)],'content':_0x20b318['join']('\x0a')},'spliceIndex':_0x4fb019,'deleteCount':0x0,'rows':_0x20b318,'gap':_0x4fb019,'requiredLines':[_0x44b4b4[_0x30204b(0x6d6,0x38e,_0xef413d._0x35e772,0x4da)]]};}default:{const _0x46945b=_0x44b4b4;throw createAnchoredFileError(_0x30204b(_0xef413d._0xe3c35c,_0xef413d._0x52fd2d,0x47b,_0xef413d._0xe16d1e),_0x35a065(0x3b2,0x1bb,_0xef413d._0x505f98,0x143)+String(_0x46945b['operation'])+'\x27.');}}});}function assertNoOverlaps(_0x4dacd8){const _0x1362bd={_0x53bdd4:0x7bf,_0x44116f:0x599,_0x113ff1:0x1c,_0x561986:0x18d,_0x117ac9:0x1d0,_0x3fe250:0x234,_0x7039b1:0x10c,_0x5ddced:0x9fd,_0x8565a3:0x7a6,_0x2a3f49:0x579,_0x21a7e:0x7a1,_0x171f4c:0x8ad,_0x545b92:0x51c,_0x432d4e:0x2ae,_0x5b849e:0xd7,_0x276c6d:0x89f,_0x311c2c:0x99e,_0x422e82:0xa6e,_0x581809:0x16a,_0x49e736:0x1b5,_0x4d946f:0x2be,_0x24f2fc:0x7bb,_0x49b4de:0xa4,_0x2ebadd:0x892,_0x161405:0x6f0,_0x48e622:0x6d,_0xc9633d:0x195,_0x36bddc:0x304,_0x96dce6:0x63,_0x1288af:0x822,_0x217b94:0x591,_0x563ecb:0x739,_0x33f0c3:0x180,_0x162934:0x665},_0x32b102={_0x1248e7:0x1ee,_0x181f4f:0x1c1},_0xa0cc81={_0x4d0bbd:0x115,_0x392538:0xfa,_0x4c5caf:0x6c};function _0x3ab53a(_0x5971cb,_0x4bd3c0,_0x21c272,_0x54446){return _0x4eedea(_0x5971cb-_0xa0cc81._0x4d0bbd,_0x5971cb- -_0xa0cc81._0x392538,_0x21c272,_0x54446-_0xa0cc81._0x4c5caf);}const _0x167a13=_0x4dacd8[_0x4530c4(_0x1362bd._0x53bdd4,0x6ef,0x795,_0x1362bd._0x44116f)](_0x3689e0=>_0x3689e0[_0x3ab53a(0x187,0x163,0x2b7,0x2cb)]===_0x4530c4(0xac6,0x8ab,0x9da,0x814)||_0x3689e0[_0x4530c4(0x8b8,0x75d,0x7cb,0x653)]===_0x3ab53a(0xff,0x109,0x97,-0x51));function _0x4530c4(_0x453490,_0x6ac6ac,_0xb79a26,_0x39e755){return _0xa5377c(_0x453490,_0x6ac6ac-_0x32b102._0x1248e7,_0xb79a26-_0x32b102._0x181f4f,_0x6ac6ac-0x2e6);}const _0x18c0e3=_0x4dacd8['filter'](_0x595ed0=>_0x595ed0[_0x3ab53a(0x187,0x165,0x3a8,-0x8e)]==='insert');for(let _0x5337ae=0x0;_0x5337ae<_0x167a13[_0x3ab53a(0x16a,0xf7,0x2fe,0x281)];_0x5337ae+=0x1){for(let _0xb16fe2=_0x5337ae+0x1;_0xb16fe2<_0x167a13[_0x3ab53a(0x16a,-_0x1362bd._0x113ff1,0x1e0,0xe1)];_0xb16fe2+=0x1){const _0x2864c5=_0x167a13[_0x5337ae],_0x5db20a=_0x167a13[_0xb16fe2];if(Math[_0x3ab53a(0x291,0x376,0x138,_0x1362bd._0x561986)](_0x2864c5[_0x3ab53a(_0x1362bd._0x117ac9,_0x1362bd._0x3fe250,0x1b,_0x1362bd._0x7039b1)],_0x5db20a[_0x4530c4(_0x1362bd._0x5ddced,_0x1362bd._0x8565a3,_0x1362bd._0x2a3f49,0x764)])<=Math[_0x4530c4(0x5a9,_0x1362bd._0x21a7e,_0x1362bd._0x171f4c,0x7e2)](_0x2864c5['sourceEnd'],_0x5db20a[_0x3ab53a(0x2cf,0x468,_0x1362bd._0x545b92,0x33e)]))throw createAnchoredFileError(_0x3ab53a(0x2bc,_0x1362bd._0x432d4e,0xf5,_0x1362bd._0x5b849e),_0x4530c4(_0x1362bd._0x276c6d,0x814,_0x1362bd._0x311c2c,_0x1362bd._0x422e82));}}for(let _0xa202a9=0x0;_0xa202a9<_0x18c0e3[_0x3ab53a(_0x1362bd._0x581809,_0x1362bd._0x49e736,0x1d1,_0x1362bd._0x4d946f)];_0xa202a9+=0x1){for(let _0x44bf3a=_0xa202a9+0x1;_0x44bf3a<_0x18c0e3[_0x4530c4(_0x1362bd._0x24f2fc,0x740,0x665,0x7cd)];_0x44bf3a+=0x1){if(_0x18c0e3[_0xa202a9][_0x3ab53a(0x195,-_0x1362bd._0x49b4de,0x27b,0xe6)]===_0x18c0e3[_0x44bf3a]['gap'])throw createAnchoredFileError(_0x4530c4(0x924,_0x1362bd._0x2ebadd,_0x1362bd._0x161405,0x75d),_0x3ab53a(-_0x1362bd._0x48e622,0x1a6,-0x184,0x1ac));}}for(const _0x3aebf8 of _0x18c0e3){for(const _0x179ad7 of _0x167a13){if(_0x3aebf8[_0x3ab53a(_0x1362bd._0xc9633d,0x3b7,_0x1362bd._0x36bddc,_0x1362bd._0x96dce6)]>=_0x179ad7[_0x4530c4(_0x1362bd._0x1288af,0x7a6,_0x1362bd._0x217b94,_0x1362bd._0x563ecb)]&&_0x3aebf8[_0x3ab53a(_0x1362bd._0xc9633d,0x199,0x17d,_0x1362bd._0x33f0c3)]<=_0x179ad7[_0x4530c4(0x8d8,0x8a5,0x9d4,_0x1362bd._0x162934)]-0x1)throw createAnchoredFileError(_0x3ab53a(0x2bc,0x82,0x4a2,0xac),_0x3ab53a(-0x55,0x12a,-0x11a,_0x1362bd._0xc9633d));}}}function assertLinesObserved(_0x211271,_0x2cb2c2){const _0x2256f3={_0x5ce9d5:0x6b5,_0x55221f:0x4aa,_0x38030f:0x47e,_0x5bb1a0:0x3af,_0x54fe8f:0xbba,_0x3de820:0x970,_0x23d672:0xbb2,_0x1933e7:0x59,_0x706993:0x144,_0x9999d8:0x16b},_0x4fddab={_0x13c9ae:0xf6,_0x442b59:0x12a,_0xc452d:0x1a9},_0x4bc326={_0x3a7a37:0x51d,_0x45ce76:0x16d},_0x5276a6=new Set();for(const _0x411480 of _0x211271){for(const _0x135e28 of _0x411480[_0x419848(0x6bf,0x7a3,_0x2256f3._0x5ce9d5,0x597)]){_0x5276a6['add'](_0x135e28);}}function _0x419848(_0x4b6fcb,_0x13d63c,_0x145e12,_0x5b6745){return _0x4eedea(_0x4b6fcb-0x170,_0x145e12-_0x4bc326._0x3a7a37,_0x13d63c,_0x5b6745-_0x4bc326._0x45ce76);}const _0x24d6e9=[..._0x5276a6]['sort']((_0x5e6e47,_0x209452)=>_0x5e6e47-_0x209452);for(const _0x1c49b2 of _0x24d6e9){if(!_0x2cb2c2[_0x419848(0x818,_0x2256f3._0x55221f,0x5f5,0x663)](_0x1c49b2))throw createAnchoredFileError(_0x569cfa(_0x2256f3._0x38030f,0x6c3,0x639,_0x2256f3._0x5bb1a0),_0x419848(0x8a9,_0x2256f3._0x54fe8f,_0x2256f3._0x3de820,_0x2256f3._0x23d672)+_0x1c49b2+_0x569cfa(_0x2256f3._0x1933e7,-_0x2256f3._0x706993,_0x2256f3._0x9999d8,-0xf9),{'requiredLines':_0x24d6e9});}function _0x569cfa(_0x248ee9,_0x4cb8bb,_0x57394e,_0x8ec7a9){return _0xa5377c(_0x8ec7a9,_0x4cb8bb-_0x4fddab._0x13c9ae,_0x57394e-_0x4fddab._0x442b59,_0x248ee9- -_0x4fddab._0xc452d);}return _0x24d6e9;}function applyOperations(_0x104828,_0x51913a){const _0x23b6d7={_0x49332d:0xa4,_0x24dd95:0x2c7,_0x38daea:0x5b4,_0x4c67f0:0x758,_0x26b79c:0x700,_0xe9ecc0:0x2e5,_0x35f743:0x37c,_0x3a2dcc:0x77a,_0x2670cd:0x64b},_0x3a1110={_0x54afba:0x98,_0x54f24b:0x1b6},_0xfe59b5={_0x442e3f:0x1e0,_0xd5db50:0x59,_0x8ac5a8:0x14c,_0xdbe3a0:0x987,_0x5e0bce:0x776,_0x2937b3:0x768,_0x1a1fe0:0x687,_0xb4e923:0x4fc,_0x245e11:0x738,_0x17bc45:0x700,_0x32277b:0x8ad,_0x4befca:0x4d8},_0x244a49={_0x266803:0x575,_0x5e8a06:0x13f},_0x396161=[..._0x104828[_0x539e19(0x120,0x2ba,0x34a,-_0x23b6d7._0x49332d)]];function _0x237871(_0x4a2b4c,_0x4b98ea,_0x5a4525,_0xbe7bbe){return _0x4eedea(_0x4a2b4c-0x1e4,_0xbe7bbe-_0x244a49._0x266803,_0x4b98ea,_0xbe7bbe-_0x244a49._0x5e8a06);}const _0x7de232=[..._0x51913a][_0x539e19(_0x23b6d7._0x24dd95,0x3e8,0x446,0x1ff)]((_0x14aa33,_0x6cd5be)=>{const _0x582fef={_0x5b8621:0x1b0,_0x22905f:0x174};function _0x555028(_0x4e7310,_0x7beb7d,_0x4d8460,_0x71b312){return _0x539e19(_0x4d8460-0x41b,_0x7beb7d-0x126,_0x4d8460-0x2,_0x71b312);}if(_0x14aa33[_0x3489ae(-0x38,0x12f,_0xfe59b5._0x442e3f,0xeb)]!==_0x6cd5be[_0x3489ae(-_0xfe59b5._0xd5db50,-0x79,-_0xfe59b5._0x8ac5a8,0xeb)])return _0x6cd5be[_0x555028(_0xfe59b5._0xdbe3a0,_0xfe59b5._0x5e0bce,_0xfe59b5._0x2937b3,_0xfe59b5._0x1a1fe0)]-_0x14aa33['spliceIndex'];const _0x3e545e=_0x14aa33[_0x555028(0x4f1,_0xfe59b5._0xb4e923,_0xfe59b5._0x245e11,_0xfe59b5._0x17bc45)]==='insert';function _0x3489ae(_0x359600,_0x981aa2,_0x4d88a7,_0x263450){return _0x237871(_0x359600-_0x582fef._0x5b8621,_0x981aa2,_0x4d88a7-_0x582fef._0x22905f,_0x263450- -0x73b);}const _0x5c1ef6=_0x6cd5be[_0x555028(_0xfe59b5._0x32277b,_0xfe59b5._0x4befca,0x738,0x5a9)]==='insert';if(_0x3e545e!==_0x5c1ef6)return _0x3e545e?0x1:-0x1;return 0x0;});function _0x539e19(_0x2060ea,_0x5e5f5b,_0x2c6938,_0x6456d){return _0x4eedea(_0x2060ea-_0x3a1110._0x54afba,_0x2060ea-0x9c,_0x6456d,_0x6456d-_0x3a1110._0x54f24b);}for(const _0x57a9d5 of _0x7de232){_0x396161[_0x237871(_0x23b6d7._0x38daea,0x6ca,0x5ae,_0x23b6d7._0x4c67f0)](_0x57a9d5['spliceIndex'],_0x57a9d5[_0x237871(_0x23b6d7._0x26b79c,0x83b,0x694,0x8d9)],..._0x57a9d5[_0x539e19(_0x23b6d7._0xe9ecc0,0x253,0x411,0x508)]);}if(_0x396161[_0x539e19(0x300,0x51b,0x45d,_0x23b6d7._0x35f743)]===0x0)return'';const _0x31c888=_0x396161[_0x237871(0x826,0x551,_0x23b6d7._0x3a2dcc,_0x23b6d7._0x2670cd)]('\x0a');return _0x104828['finalNewline']?_0x31c888+'\x0a':_0x31c888;}function operationRowDelta(_0x454121){const _0x354227={_0xc96db5:0x3db,_0x5d11a0:0x3f7,_0x5b4f42:0x44d,_0x5c9259:0x6b2,_0x573f29:0x3bb},_0x6a44b3={_0x4a3400:0xde,_0x31e0d4:0x19,_0x54d2aa:0x3b},_0x315ac8={_0x349197:0x1e6,_0x1235ee:0x26};function _0x22efba(_0xfe7375,_0x3115f1,_0x588fb1,_0x193be1){return _0xa5377c(_0x3115f1,_0x3115f1-_0x315ac8._0x349197,_0x588fb1-0x1eb,_0x193be1- -_0x315ac8._0x1235ee);}function _0x3871e9(_0x2dfc91,_0x3fe9f2,_0xb1a6bc,_0x5e2b9b){return _0x4eedea(_0x2dfc91-_0x6a44b3._0x4a3400,_0x5e2b9b-_0x6a44b3._0x31e0d4,_0x3fe9f2,_0x5e2b9b-_0x6a44b3._0x54d2aa);}return _0x454121['rows'][_0x3871e9(_0x354227._0xc96db5,0x150,_0x354227._0x5d11a0,0x27d)]-_0x454121[_0x22efba(_0x354227._0x5b4f42,_0x354227._0x5c9259,_0x354227._0x573f29,0x534)];}function finalFileOrder(_0xfe8a48){const _0x1160b4={_0x2a64fb:0x3e3,_0x18a7d7:0x354,_0x4b1aaa:0x449,_0x4ba9d3:0x68a,_0x34c4e9:0x5fe,_0x1dafa1:0x819,_0x513de8:0x9fd,_0x461fd:0x745,_0x212bfd:0x5f5,_0x12019a:0x8c4,_0x55d77b:0xaf0,_0x484517:0x9d8},_0x3f8207={_0x34760f:0x735,_0x3c7a7b:0x171},_0x1d75e4={_0x1e4c06:0x100};function _0x4e16bf(_0x58cafb,_0x188420,_0x56bfc3,_0x4579a5){return _0xa5377c(_0x56bfc3,_0x188420-_0x1d75e4._0x1e4c06,_0x56bfc3-0x18,_0x58cafb- -0x3c3);}return[..._0xfe8a48][_0x4e16bf(0x5e,-0x21,-0x132,-0x7)]((_0x53deac,_0x5c0992)=>{const _0x38fd52={_0x38bd40:0x365};function _0x1eb7f1(_0x38f481,_0x18ab8b,_0x3bd763,_0x225104){return _0x4e16bf(_0x3bd763-_0x3f8207._0x34760f,_0x18ab8b-_0x3f8207._0x3c7a7b,_0x38f481,_0x225104-0x6a);}if(_0x53deac['spliceIndex']!==_0x5c0992[_0x2aa548(_0x1160b4._0x2a64fb,_0x1160b4._0x18a7d7,_0x1160b4._0x4b1aaa,_0x1160b4._0x4ba9d3)])return _0x53deac[_0x1eb7f1(0x95d,_0x1160b4._0x34c4e9,_0x1160b4._0x1dafa1,_0x1160b4._0x513de8)]-_0x5c0992['spliceIndex'];function _0x2aa548(_0x77ebe3,_0x1b016,_0x27c641,_0x235e9f){return _0x4e16bf(_0x27c641-_0x38fd52._0x38bd40,_0x1b016-0xe6,_0x77ebe3,_0x235e9f-0xe6);}const _0x2f84af=_0x53deac[_0x1eb7f1(_0x1160b4._0x461fd,_0x1160b4._0x212bfd,0x7e9,0x62c)]===_0x1eb7f1(_0x1160b4._0x12019a,_0x1160b4._0x55d77b,0x947,_0x1160b4._0x484517),_0x34135a=_0x5c0992[_0x1eb7f1(0x68d,0x84f,0x7e9,0x983)]==='insert';if(_0x2f84af!==_0x34135a)return _0x2f84af?-0x1:0x1;return 0x0;});}function computeFinalFileNewSideLines(_0x161f84){const _0x3328c5={_0x35937b:0x737,_0x45719c:0x821,_0x28223e:0x893,_0x1f3e1a:0x637,_0x5650fb:0x744,_0x23e445:0xb62,_0x4eef4d:0x254,_0x17240c:0x49e,_0x5aa522:0xd3,_0x1d2812:0x679,_0x1fd461:0x69d,_0x4168ba:0x68c,_0x2c4aaf:0x64d,_0x310eb2:0x650,_0x4b0d23:0x81e,_0x5d2863:0xa5a,_0x10dfcc:0x981,_0x479bf9:0x8a6,_0x304500:0x777,_0x47d5ca:0x982,_0x1d11f0:0x298,_0x4e1310:0xac,_0x3c881d:0x794,_0x5049fe:0x257,_0x2dba54:0x1e9,_0x148d40:0x30e,_0x26e59f:0x1cf,_0x3ab2bf:0x38e,_0x1b24f0:0x135,_0x250c33:0x804,_0x24ffb6:0x7c5,_0x2eb901:0x833},_0x54eb7d={_0x3deb19:0x65},_0x1288ee={_0x576600:0x5a0,_0x2521a3:0x8};function _0x433aa3(_0x463ac5,_0x5a3169,_0x1a5ce8,_0x4dedaa){return _0x4eedea(_0x463ac5-0xa9,_0x463ac5-_0x1288ee._0x576600,_0x1a5ce8,_0x4dedaa-_0x1288ee._0x2521a3);}const _0x510377=new Array(_0x161f84[_0x433aa3(0x804,_0x3328c5._0x35937b,0x5a4,0x85e)]);function _0x54ed94(_0x3d135a,_0x218fd1,_0xdd3c9a,_0x25ec2e){return _0xa5377c(_0x218fd1,_0x218fd1-0x27,_0xdd3c9a-_0x54eb7d._0x3deb19,_0x3d135a- -0x220);}let _0x57751a=0x0;for(const _0x5ccac0 of finalFileOrder(_0x161f84)){const _0x516c1e=_0x5ccac0[_0x433aa3(_0x3328c5._0x45719c,0x681,_0x3328c5._0x28223e,_0x3328c5._0x1f3e1a)]===_0x433aa3(0x97f,0xa63,_0x3328c5._0x5650fb,_0x3328c5._0x23e445)?_0x5ccac0[_0x54ed94(_0x3328c5._0x4eef4d,_0x3328c5._0x17240c,_0x3328c5._0x5aa522,0x12c)][_0x433aa3(_0x3328c5._0x1d2812,0x544,_0x3328c5._0x1fd461,_0x3328c5._0x4168ba)]===_0x433aa3(_0x3328c5._0x2c4aaf,0x82e,_0x3328c5._0x310eb2,0x72b)?_0x5ccac0[_0x433aa3(_0x3328c5._0x4b0d23,_0x3328c5._0x5d2863,_0x3328c5._0x10dfcc,_0x3328c5._0x479bf9)]['line']:_0x5ccac0[_0x433aa3(_0x3328c5._0x4b0d23,0x868,_0x3328c5._0x304500,_0x3328c5._0x47d5ca)][_0x54ed94(0x1c3,_0x3328c5._0x1d11f0,0x73,_0x3328c5._0x4e1310)]+0x1:_0x5ccac0[_0x433aa3(0x86a,0x7ac,_0x3328c5._0x3c881d,0x6ff)],_0x9a8881=_0x516c1e+_0x57751a,_0x4e124a=_0x5ccac0[_0x54ed94(_0x3328c5._0x5049fe,0x2f0,_0x3328c5._0x2dba54,_0x3328c5._0x148d40)]===_0x54ed94(_0x3328c5._0x26e59f,_0x3328c5._0x3ab2bf,_0x3328c5._0x1b24f0,0x41b)?0x0:_0x5ccac0['rows'][_0x433aa3(_0x3328c5._0x250c33,0x6f6,_0x3328c5._0x24ffb6,_0x3328c5._0x2eb901)];_0x510377[_0x161f84['indexOf'](_0x5ccac0)]={'newStartLine':_0x9a8881,'newEndLine':_0x9a8881+_0x4e124a-0x1},_0x57751a+=operationRowDelta(_0x5ccac0);}return _0x510377;}function buildBlock(_0x37d487,_0x59abe5,_0x2005ea,_0x4aab14){const _0x16e393={_0x39014b:0x1f4,_0x128c89:0x2f3,_0x3d13e9:0x6c6,_0x3d829d:0x17c,_0x48797d:0x2e8,_0x5d43a8:0x2c5,_0xdd526b:0x360,_0x299ec2:0x2d9,_0x3be334:0x12c,_0x1d7d2f:0x3a0,_0xc24332:0x19d,_0x5bb2a3:0x388,_0x236594:0x3e7,_0xd5b66f:0x4dc,_0x4822b0:0x6aa,_0x1f2f42:0x2a2,_0x3bdd6f:0x574,_0x1b0cdb:0x350,_0x3dce7c:0x33c,_0x4ab2e4:0x510,_0x4e4ba2:0x35c,_0x47664b:0x412,_0x3ab947:0x40b,_0xc1d680:0x3e3,_0x2fb779:0x3ae,_0x597fed:0x5c8,_0x14d3dd:0x2b3,_0x52ea32:0xe9,_0x4f93ff:0x148,_0x40bfca:0x25f,_0xa19047:0x1e9,_0x1a00aa:0x243},_0x3e8c64={_0x2c1231:0x0};function _0xf9e0e0(_0x48aade,_0x5c02a3,_0x1ec5b2,_0x3249b1){return _0x4eedea(_0x48aade-0xe8,_0x5c02a3-0x72,_0x3249b1,_0x3249b1-0x100);}if(_0x59abe5[_0xf9e0e0(_0x16e393._0x39014b,_0x16e393._0x128c89,0x2ee,0x418)]==='insert'){const {line:_0x45c898,position:_0xfc8455}=_0x59abe5[_0x54139a(0x490,0x4e7,0x35a,_0x16e393._0x3d13e9)],_0x5ec061=_0xfc8455===_0x54139a(0x2bf,0x347,0x387,0x27a)?_0x45c898:_0x45c898+0x1;return{'oldText':'','newText':_0x59abe5[_0xf9e0e0(_0x16e393._0x3d829d,0x2bb,0x413,0x3bf)][_0x54139a(_0x16e393._0x48797d,0x270,_0x16e393._0x5d43a8,0x34a)]('\x0a'),'lineNumbers':{'oldStartLine':_0x5ec061,'oldEndLine':_0x5ec061-0x1,'newStartLine':_0x2005ea,'newEndLine':_0x4aab14,'oldLineCount':0x0,'newLineCount':_0x59abe5[_0xf9e0e0(_0x16e393._0xdd526b,0x2bb,0x7c,_0x16e393._0x299ec2)][_0xf9e0e0(_0x16e393._0x3be334,0x2d6,0x274,_0x16e393._0x1d7d2f)]}};}const _0x4ddba3=_0x37d487['lines'][_0xf9e0e0(_0x16e393._0xc24332,0x3ee,_0x16e393._0x5bb2a3,_0x16e393._0x236594)](_0x59abe5[_0x54139a(_0x16e393._0xd5b66f,0x321,_0x16e393._0x4822b0,0x6f4)]-0x1,_0x59abe5[_0xf9e0e0(0x2f9,0x43b,_0x16e393._0x1f2f42,_0x16e393._0x3bdd6f)])[_0x54139a(_0x16e393._0x48797d,_0x16e393._0x1b0cdb,0x47b,0xc9)]('\x0a');function _0x54139a(_0x24ab39,_0x191930,_0x19c0a8,_0x75239e){return _0xa5377c(_0x191930,_0x191930-0x44,_0x19c0a8-_0x3e8c64._0x2c1231,_0x24ab39-0x1c);}const _0x153d70=_0x59abe5['sourceEnd']-_0x59abe5[_0xf9e0e0(0x1bb,_0x16e393._0x3dce7c,_0x16e393._0x4ab2e4,0x463)]+0x1;if(_0x59abe5[_0x54139a(0x493,_0x16e393._0x4e4ba2,0x4da,_0x16e393._0x47664b)]===_0x54139a(_0x16e393._0x3ab947,_0x16e393._0xc1d680,_0x16e393._0x2fb779,_0x16e393._0x597fed))return{'oldText':_0x4ddba3,'newText':'','lineNumbers':{'oldStartLine':_0x59abe5[_0xf9e0e0(_0x16e393._0x14d3dd,0x33c,0x4fb,_0x16e393._0x52ea32)],'oldEndLine':_0x59abe5['sourceEnd'],'newStartLine':_0x2005ea,'newEndLine':_0x2005ea-0x1,'oldLineCount':_0x153d70,'newLineCount':0x0}};return{'oldText':_0x4ddba3,'newText':_0x59abe5['rows'][_0xf9e0e0(-0x76,_0x16e393._0x4f93ff,-0x1f,-0xb3)]('\x0a'),'lineNumbers':{'oldStartLine':_0x59abe5[_0xf9e0e0(_0x16e393._0x40bfca,0x33c,0x504,0x4e5)],'oldEndLine':_0x59abe5[_0xf9e0e0(0x5aa,0x43b,0x3e9,0x43d)],'newStartLine':_0x2005ea,'newEndLine':_0x4aab14,'oldLineCount':_0x153d70,'newLineCount':_0x59abe5[_0xf9e0e0(0x4eb,0x2bb,_0x16e393._0xa19047,_0x16e393._0x1a00aa)][_0x54139a(0x476,0x5e2,0x273,0x564)]}};}function stableStringify(_0x4f192a){const _0x57b606={_0x2cd6cf:0x19e,_0x2f3afb:0x37c,_0x2c612d:0x395,_0x10a905:0x3df,_0x5fe125:0x147,_0x8f755e:0x10d,_0x15cbd6:0x152,_0x1aa59:0x294,_0x212d5a:0x3d8,_0x4a5cd4:0x10b,_0x320048:0x131,_0x38c525:0x425,_0x2ed481:0x387},_0x57de39={_0x342bcb:0x14c};function _0x1af0bf(_0x1b04e4,_0xb89a1e,_0x4188cd,_0x1b49ea){return _0xa5377c(_0x1b04e4,_0xb89a1e-0x18b,_0x4188cd-0x3,_0x4188cd- -0x49);}if(Array[_0x3d27e0(0x3f8,_0x57b606._0x2cd6cf,0x20e,0x2eb)](_0x4f192a))return'['+_0x4f192a[_0x1af0bf(_0x57b606._0x2f3afb,_0x57b606._0x2c612d,0x2a1,_0x57b606._0x10a905)](stableStringify)[_0x3d27e0(_0x57b606._0x5fe125,_0x57b606._0x8f755e,-0x3d,_0x57b606._0x15cbd6)](',')+']';function _0x3d27e0(_0x2fe8e1,_0x5d9b74,_0x1d2c29,_0x1f000d){return _0x4eedea(_0x2fe8e1-0x11f,_0x1d2c29- -0x113,_0x1f000d,_0x1f000d-_0x57de39._0x342bcb);}if(_0x4f192a!==null&&typeof _0x4f192a===_0x3d27e0(-0xd,_0x57b606._0x1aa59,0x149,0x20a)){const _0x774fb3=_0x4f192a;return'{'+Object['keys'](_0x774fb3)[_0x1af0bf(0x28d,0x264,_0x57b606._0x212d5a,0x3e7)]()[_0x1af0bf(0x4be,_0x57b606._0x4a5cd4,0x2a1,_0x57b606._0x320048)](_0x275652=>JSON[_0x3d27e0(0x41e,0x19a,0x2e2,0x4aa)](_0x275652)+':'+stableStringify(_0x774fb3[_0x275652]))['join'](',')+'}';}return JSON[_0x3d27e0(0x1a0,_0x57b606._0x38c525,0x2e2,_0x57b606._0x2ed481)](_0x4f192a);}function prepareCanonicalFileEdit(_0xa3febd,_0x4034a1,_0x2a639f){const _0x261e63={_0x261bc1:0x78a,_0x1bfbe9:0x26d},_0x54b5f4={_0x4dda7a:0x1a6,_0x128768:0xf9,_0x138a00:0x109},_0x52d1c9={_0x418f72:0x17e,_0x1ecb96:0x2ea},_0x36482c=planOperations(_0xa3febd,_0x2a639f);assertNoOverlaps(_0x36482c);const _0x444e1b=assertLinesObserved(_0x36482c,_0x4034a1),_0x44d228=applyOperations(_0xa3febd,_0x36482c);if(_0x44d228===_0xa3febd[_0x3ea9e3(0x4c3,0x6c6,0x4b4,_0x261e63._0x261bc1)])throw createAnchoredFileError(_0x5c4fb7(0x372,0x3f5,0x191,_0x261e63._0x1bfbe9),'The\x20anchored\x20operations\x20would\x20leave\x20the\x20file\x20byte-identical.');function _0x3ea9e3(_0xc48da5,_0x4cb7d7,_0x2713be,_0x169f17){return _0x4eedea(_0xc48da5-_0x52d1c9._0x418f72,_0x4cb7d7-_0x52d1c9._0x1ecb96,_0x2713be,_0x169f17-0x154);}const _0x40ec5c=_0x36482c['map'](_0x3589a1=>_0x3589a1[_0x5c4fb7(0x36b,0x3d8,0x44e,0x45a)]),_0x58f8d3=computeFinalFileNewSideLines(_0x36482c);function _0x5c4fb7(_0x526567,_0x248f03,_0x18cbea,_0x255f55){return _0xa5377c(_0x255f55,_0x248f03-_0x54b5f4._0x4dda7a,_0x18cbea-_0x54b5f4._0x128768,_0x526567- -_0x54b5f4._0x138a00);}return{'afterText':_0x44d228,'operations':_0x40ec5c,'blocks':_0x36482c['map']((_0x314af1,_0x342264)=>{const {newStartLine:_0x3b06d8,newEndLine:_0x2db016}=_0x58f8d3[_0x342264];return buildBlock(_0xa3febd,_0x314af1,_0x3b06d8,_0x2db016);}),'requiredLines':_0x444e1b,'payloadDigest':sha256Bytes(stableStringify(_0x40ec5c))};}import _0x12d126 from'string-width';var EMPTY_FILE_MESSAGE=_0x4eedea(-0x211,0x48,0x26f,-0xb3);function clampLine(_0x1be18c,_0x43eaeb){const _0x327f54={_0x179411:0x401,_0x37b105:0x27e,_0x4e34dc:0x16e,_0x13eb66:0xbf,_0x3b0734:0x627,_0x5ed4fa:0x7c4,_0x298fc8:0x9b4},_0x98fdd1={_0x1a242b:0xd5,_0xebb899:0xa9,_0x3795db:0x413},_0x138051={_0x446444:0x79};function _0xde6057(_0x5c4b1d,_0x3c8b76,_0x1467ef,_0x152411){return _0x4eedea(_0x5c4b1d-0x181,_0x1467ef-0x4ff,_0x5c4b1d,_0x152411-_0x138051._0x446444);}if(!Number[_0x1b0d49(0x24e,0x300,_0x327f54._0x179411,_0x327f54._0x37b105)](_0x1be18c))return 0x1;function _0x1b0d49(_0x3c29d4,_0x86997d,_0x18f5e7,_0x3ab184){return _0xa5377c(_0x18f5e7,_0x86997d-_0x98fdd1._0x1a242b,_0x18f5e7-_0x98fdd1._0xebb899,_0x3c29d4- -_0x98fdd1._0x3795db);}return Math[_0x1b0d49(_0x327f54._0x4e34dc,0x2a6,-0x7e,_0x327f54._0x13eb66)](0x1,Math[_0xde6057(0x77f,_0x327f54._0x3b0734,_0x327f54._0x5ed4fa,_0x327f54._0x298fc8)](Math['trunc'](_0x1be18c),_0x43eaeb));}function formatAnchoredFileRead(_0x15a43e){const _0x432dd0={_0x490cd2:0x3e6,_0x1f85cf:0x46c,_0x150049:0x527,_0x653fc0:0x505,_0x10a3f2:0x41b,_0x23dba4:0x484,_0x235cca:0x3e3,_0x54b691:0x2f4,_0x302e16:0x35c,_0x48385a:0x4e1,_0x3820e7:0x2bd,_0x36bd17:0x26a,_0x1d7791:0x410,_0x13fe81:0x1b6,_0x216af5:0x3e7,_0xe10b5e:0x40c,_0x1174c1:0x4e3,_0x7bbd86:0x62c,_0x6bbaf3:0x5af,_0x3e60e6:0x4fe,_0x24a328:0x325,_0xc31158:0x2af,_0x3a33ef:0x4e3,_0x480e07:0x7f8,_0x51e9c3:0x4e1,_0x2c478d:0x2f3,_0x2472d4:0x518,_0x21d524:0x392,_0x4e76cf:0x1e4,_0x3ad05d:0x5d5,_0x7dcdc1:0x219,_0x46264a:0x27e,_0xc060d7:0x57e,_0x189367:0x377,_0x2eed2d:0x51c,_0x4ab80e:0x40b},_0x1d397a={_0x2525b2:0xd1,_0x359a69:0x16a,_0x1b063b:0x68},_0x5c4048={_0x119c24:0x15c,_0xaefa36:0x2a1},{displayPath:_0x560db0,snapshot:_0x2661ef,maxBytes:_0x2b55e9}=_0x15a43e,_0x5c13b6=_0x2661ef[_0x5a8731(_0x432dd0._0x490cd2,_0x432dd0._0x1f85cf,0x31d,0x212)][_0x4b884c(_0x432dd0._0x150049,_0x432dd0._0x653fc0,_0x432dd0._0x10a3f2,0x6bd)],_0x4a333d='['+_0x560db0+'#'+_0x2661ef[_0x5a8731(_0x432dd0._0x23dba4,0x50b,0x5eb,_0x432dd0._0x235cca)]+']\x0a';function _0x4b884c(_0x636f53,_0x4e0da6,_0x3aa0c8,_0x53927){return _0x4eedea(_0x636f53-_0x5c4048._0x119c24,_0x4e0da6-_0x5c4048._0xaefa36,_0x53927,_0x53927-0x1b4);}function _0x5a8731(_0x1c3d39,_0x129176,_0x1336e7,_0x5ea894){return _0xa5377c(_0x129176,_0x129176-_0x1d397a._0x2525b2,_0x1336e7-_0x1d397a._0x359a69,_0x5ea894- -_0x1d397a._0x1b063b);}const _0x5522bf=Buffer['byteLength'](_0x4a333d,_0x5a8731(_0x432dd0._0x54b691,0x595,_0x432dd0._0x302e16,_0x432dd0._0x48385a));if(_0x5c13b6===0x0){const _0x9643a5=''+_0x4a333d+EMPTY_FILE_MESSAGE+'\x0a';return{'output':_0x9643a5,'displayedLines':[],'truncated':![]};}const _0xbff92a=clampLine(_0x15a43e[_0x5a8731(0x367,0x1de,0x4fc,_0x432dd0._0x3820e7)]??0x1,_0x5c13b6),_0x341e1d=clampLine(_0x15a43e[_0x4b884c(_0x432dd0._0x36bd17,_0x432dd0._0x1d7791,_0x432dd0._0x13fe81,_0x432dd0._0x216af5)]??_0x5c13b6,_0x5c13b6),_0xa88e6a=Math[_0x5a8731(0x51d,0x410,_0x432dd0._0xe10b5e,0x453)](_0xbff92a,_0x341e1d),_0x9710=Math[_0x4b884c(_0x432dd0._0x1174c1,_0x432dd0._0x7bbd86,0x795,_0x432dd0._0x6bbaf3)](_0xbff92a,_0x341e1d),_0x46ad14=[],_0x43d353=[];let _0x3eb17f=_0x5522bf;for(let _0x4a39c3=_0xa88e6a;_0x4a39c3<=_0x9710;_0x4a39c3+=0x1){const _0x426887=_0x4a39c3+':'+_0x2661ef[_0x4b884c(_0x432dd0._0x3e60e6,_0x432dd0._0x24a328,_0x432dd0._0xc31158,_0x432dd0._0x3a33ef)][_0x4a39c3-0x1]+'\x0a',_0x428c5e=Buffer[_0x4b884c(0x76e,0x673,0x7bc,_0x432dd0._0x480e07)](_0x426887,'utf8'),_0xe7d9=_0x4a39c3+0x1,_0x47ec7d=Buffer['byteLength']('Read\x20the\x20next\x20range\x20with\x20lineStart:\x20'+_0xe7d9+'.\x0a',_0x5a8731(0x3b1,0x328,0x46e,_0x432dd0._0x51e9c3));if(_0x3eb17f+_0x428c5e+_0x47ec7d>_0x2b55e9){const _0x1372c6=_0x5a8731(_0x432dd0._0x2c478d,0x668,0x3e6,_0x432dd0._0x2472d4)+_0x4a39c3+'.\x0a';return{'output':''+_0x4a333d+_0x46ad14[_0x4b884c(_0x432dd0._0x21d524,0x377,_0x432dd0._0x4e76cf,0x4e2)]('')+_0x1372c6,'displayedLines':_0x43d353,'lineStart':_0xa88e6a,'lineEnd':_0x43d353[_0x43d353[_0x4b884c(0x352,0x505,0x326,_0x432dd0._0x3ad05d)]-0x1],'truncated':!![],'nextLineStart':_0x4a39c3};}_0x46ad14[_0x5a8731(0x2d7,_0x432dd0._0x7dcdc1,0x7b,_0x432dd0._0x46264a)](_0x426887),_0x43d353['push'](_0x4a39c3),_0x3eb17f+=_0x428c5e;}return{'output':''+_0x4a333d+_0x46ad14[_0x4b884c(_0x432dd0._0xc060d7,_0x432dd0._0x189367,_0x432dd0._0x2eed2d,_0x432dd0._0x4ab80e)](''),'displayedLines':_0x43d353,'lineStart':_0xa88e6a,'lineEnd':_0x9710,'truncated':![]};}function isWithinDisplayColumns(_0x3e24b2,_0x515430){return _0x12d126(_0x3e24b2)<=_0x515430;}import{randomUUID as _0x557039}from'crypto';import{chmod,rename,rm,writeFile as _0xc61dee}from'fs/promises';import*as _0xcee4cf from'path';var defaultFileSystem={'writeFile':_0xc61dee,'chmod':chmod,'rename':rename,'rm':rm};async function atomicReplaceFile(_0x655068,_0x213ead,_0x157b32,_0x239ead){const _0x574139={_0x4ab0a3:0x2e9,_0x398c0c:0x245,_0x1dfa13:0x494,_0xe6e2d6:0x476,_0x33129a:0x565,_0x2dabf9:0x449,_0x30eefe:0x338,_0x3d0342:0x2e4,_0x149faa:0x5e3,_0x214764:0x559,_0x194c7d:0x45b,_0x1e0880:0x814,_0x272e11:0x802,_0x15a475:0x6b8},_0x4048a8={_0x2bbdb4:0x1a1,_0x531f23:0xca},_0xda9a82={_0x3978c6:0x1f2},_0x3e52dc=_0x239ead??defaultFileSystem,_0x4e3b6b=_0xcee4cf[_0xb782f4(0x594,0x65c,0x733,0x60e)](_0x655068);function _0xb782f4(_0x446887,_0x58c842,_0x5d35e4,_0x51545a){return _0xa5377c(_0x5d35e4,_0x58c842-0x1e8,_0x5d35e4-0x1cb,_0x446887-_0xda9a82._0x3978c6);}function _0x1cf124(_0x582182,_0x41a8d0,_0x37e047,_0x3bee4e){return _0x4eedea(_0x582182-0x1f0,_0x41a8d0-_0x4048a8._0x2bbdb4,_0x37e047,_0x3bee4e-_0x4048a8._0x531f23);}const _0x593f9b=_0xcee4cf[_0x1cf124(_0x574139._0x4ab0a3,0x277,_0x574139._0x398c0c,0x19b)](_0x4e3b6b,_0xb782f4(_0x574139._0x1dfa13,0x305,_0x574139._0xe6e2d6,0x5fd)+_0xcee4cf['basename'](_0x655068)+'.'+_0x557039()),_0x418fa6=_0x157b32&0xfff;try{await _0x3e52dc[_0x1cf124(_0x574139._0x33129a,_0x574139._0x2dabf9,_0x574139._0x30eefe,_0x574139._0x3d0342)](_0x593f9b,_0x213ead,{'mode':_0x418fa6}),await _0x3e52dc[_0x1cf124(_0x574139._0x149faa,_0x574139._0x214764,_0x574139._0x194c7d,0x684)](_0x593f9b,_0x418fa6),await _0x3e52dc[_0xb782f4(_0x574139._0x1e0880,_0x574139._0x272e11,_0x574139._0x15a475,0x65c)](_0x593f9b,_0x655068);}finally{await _0x3e52dc['rm'](_0x593f9b,{'force':!![]});}}var utf8Decoder=new TextDecoder(_0xa5377c(0x49a,0x737,0x591,0x51f),{'fatal':!![],'ignoreBOM':!![]});function exactReplacementGuidance(_0x3b76a0,_0x5a5293){const _0x56b020={_0x5e3482:0x57,_0xefc86:0x1a,_0x3395e6:0x2f8},_0x7af221={_0x29906b:0xb7,_0x2e4ea9:0x1af};function _0x4a5564(_0xc3dcd0,_0x9746fd,_0xb766ac,_0x1fad56){return _0x4eedea(_0xc3dcd0-_0x7af221._0x29906b,_0xb766ac-0xfb,_0x9746fd,_0x1fad56-_0x7af221._0x2e4ea9);}throw createAnchoredFileError('unknown_snapshot',_0x5a5293+'\x20'+_0x3b76a0+_0x4a5564(_0x56b020._0x5e3482,_0x56b020._0xefc86,0x248,_0x56b020._0x3395e6),{'path':_0x3b76a0});}function createNormalizedFileSnapshot(_0x4811b8,_0x4b5b51,_0x26d45b){const _0x564a70={_0x2305e5:0x21f,_0x3b409c:0x334,_0x3949a0:0x143,_0x587577:0x1bc,_0x1c90b6:0x7e,_0x40a70a:0x19e,_0x396238:0x12b,_0x1cd6a2:0x384,_0x272abe:0x24f,_0x1314b5:0x17f,_0x5802d2:0x13a,_0x1070bb:0x223,_0x4d9b24:0x2d3,_0x181af6:0x730,_0x28789d:0x47,_0x5c6a34:0x501,_0x478582:0x5cd,_0x4d7a35:0x220,_0xf0c97b:0xa6,_0x83603d:0x10d,_0x309620:0x58f,_0xe9e2bc:0x31a,_0x20cec0:0xc7,_0x2768a3:0x567,_0x294ace:0x32c,_0x96ef94:0x504,_0x4581a8:0x47a,_0x51af75:0x20f,_0x4cd940:0xa9},_0x21da18={_0x1a62b5:0xae,_0x265b67:0x1de},_0x1506e5={_0x296fec:0xf9,_0x13df87:0xa0,_0x57e2b9:0x22f};Buffer['from'](_0x4b5b51)['includes'](0x0)&&exactReplacementGuidance(_0x4811b8,'File\x20'+_0x4811b8+_0x1df976(0x109,_0x564a70._0x2305e5,0x2fc,_0x564a70._0x3b409c));let _0x46bd51;function _0x1df976(_0x22ce7e,_0x24309a,_0x353b7e,_0x55b9f1){return _0xa5377c(_0x353b7e,_0x24309a-_0x1506e5._0x296fec,_0x353b7e-_0x1506e5._0x13df87,_0x24309a- -_0x1506e5._0x57e2b9);}try{_0x46bd51=utf8Decoder[_0x1df976(_0x564a70._0x3949a0,-0x23,-0x123,0xaf)](_0x4b5b51);}catch{exactReplacementGuidance(_0x4811b8,_0x1df976(0x32b,_0x564a70._0x587577,0x23a,0x3fd)+_0x4811b8+_0x1df976(-0x176,_0x564a70._0x1c90b6,_0x564a70._0x40a70a,-_0x564a70._0x396238));}const _0x5e37cd=_0x46bd51[_0x1df976(_0x564a70._0x1cd6a2,_0x564a70._0x272abe,0x8f,_0x564a70._0x1314b5)](0x0)===0xfeff;if(_0x5e37cd)_0x46bd51=_0x46bd51['slice'](0x1);const _0x349351=_0x46bd51[_0x1df976(_0x564a70._0x5802d2,0x19e,_0x564a70._0x1070bb,_0x564a70._0x4d9b24)]('\x0d\x0a'),_0x4110d5=/(?<!\r)\n/['test'](_0x46bd51);_0x349351&&_0x4110d5&&exactReplacementGuidance(_0x4811b8,'File\x20'+_0x4811b8+_0x238527(_0x564a70._0x181af6,0x5ea,0x4dd,0x402));const _0x1ab53f=_0x349351?_0x1df976(-0xed,_0x564a70._0x28789d,-0xe7,-0x205):'lf',_0x29cd10=_0x349351?_0x46bd51[_0x238527(0x664,0x4b6,_0x564a70._0x5c6a34,_0x564a70._0x478582)](/\r\n/g,'\x0a'):_0x46bd51;function _0x238527(_0x5f3537,_0x168903,_0x1148df,_0x59d254){return _0xa5377c(_0x5f3537,_0x168903-_0x21da18._0x1a62b5,_0x1148df-_0x21da18._0x265b67,_0x1148df- -0xc4);}const _0x23825d=_0x29cd10[_0x1df976(0x162,0xe9,-0x10e,0x29a)]('\x0a'),_0x51c7a3=_0x29cd10===''?[]:_0x29cd10[_0x1df976(0x222,_0x564a70._0x4d7a35,0x43,_0x564a70._0xf0c97b)]('\x0a')['slice'](0x0,_0x23825d?-0x1:void 0x0),_0x3894ad=sha256Bytes(_0x29cd10),_0x173a10=_0x3894ad[_0x1df976(0x1e9,0x343,_0x564a70._0x83603d,_0x564a70._0x309620)](0x0,0xc)[_0x238527(_0x564a70._0xe9e2bc,0x44d,0x21c,_0x564a70._0x20cec0)]();return{'canonicalPath':_0x4811b8,'text':_0x29cd10,'lines':_0x51c7a3,'finalNewline':_0x23825d,'bom':_0x5e37cd,'eol':_0x1ab53f,'digest':_0x3894ad,'tag':_0x173a10,'utf8Bytes':Buffer[_0x238527(_0x564a70._0x2768a3,_0x564a70._0x294ace,_0x564a70._0x96ef94,0x512)](_0x29cd10,_0x238527(0x3d7,0x370,0x485,_0x564a70._0x4581a8)),'recordedAt':_0x26d45b??Date[_0x238527(0x3ef,0x1b3,_0x564a70._0x51af75,_0x564a70._0x4cd940)]()};}function serializeNormalizedFile(_0x5a2c67,_0x182cae){const _0xf9f472={_0x41a5eb:0x38d,_0x49d532:0x4a0,_0x50febb:0x319,_0x474dad:0x123,_0x3e1e34:0x1a,_0x2ec95f:0x11,_0x1a4b82:0x62,_0x368f38:0x271,_0x327bed:0x41a,_0x2adbe6:0x2ed,_0x1d8b9d:0x341,_0x5b6e07:0x280,_0x279ec4:0x2c0,_0x4a371d:0x30b,_0x4758c9:0x353,_0x116082:0x8e,_0x593c19:0x185,_0x2c47cb:0x20e,_0x552af7:0x1af},_0x4f16f5={_0x261c01:0x1df,_0x1588fd:0x197},_0x23149c=_0x182cae[_0x57ed85(_0xf9f472._0x41a5eb,_0xf9f472._0x49d532,_0xf9f472._0x50febb,0x418)]===_0x4c97bc(_0xf9f472._0x474dad,_0xf9f472._0x3e1e34,_0xf9f472._0x2ec95f,-_0xf9f472._0x1a4b82)?_0x5a2c67[_0x4c97bc(0x4ed,_0xf9f472._0x368f38,_0xf9f472._0x327bed,_0xf9f472._0x2adbe6)](/\n/g,'\x0d\x0a'):_0x5a2c67;function _0x4c97bc(_0x445c06,_0x5acfaa,_0x3d4a64,_0x2a5367){return _0x4eedea(_0x445c06-_0x4f16f5._0x261c01,_0x2a5367- -0xe2,_0x3d4a64,_0x2a5367-_0x4f16f5._0x1588fd);}const _0x131be3=Buffer[_0x4c97bc(0x153,0x3af,_0xf9f472._0x1d8b9d,_0xf9f472._0x5b6e07)](_0x23149c,'utf8');function _0x57ed85(_0x344863,_0x5c805c,_0x20b7e5,_0x5db4a6){return _0x4eedea(_0x344863-0x1de,_0x20b7e5- -0x14d,_0x344863,_0x5db4a6-0x1b);}return _0x182cae[_0x4c97bc(_0xf9f472._0x279ec4,0x287,_0xf9f472._0x4a371d,_0xf9f472._0x4758c9)]?Buffer[_0x57ed85(-0x192,-0x63,-_0xf9f472._0x116082,-_0xf9f472._0x593c19)]([Buffer[_0x4c97bc(_0xf9f472._0x2c47cb,0x1c4,_0xf9f472._0x552af7,_0xf9f472._0x5b6e07)]([0xef,0xbb,0xbf]),_0x131be3]):_0x131be3;}var MAX_ANCHORED_OPERATIONS=0x64,MAX_ANCHORED_CONTENT_BYTES=0x100*0x400,textEncoder=new TextEncoder();function utf8Bytes(_0x3200d7){const _0x1546dc={_0x20319d:0x344,_0x369c40:0x215,_0x405e68:0x11b,_0x715cbd:0x2b7},_0x580745={_0x13baee:0x1e0},_0x1f3a7a={_0x5062ad:0x18d};function _0x1e9520(_0x47f89d,_0x118d5a,_0x4ea2c6,_0x5e6c4d){return _0x4eedea(_0x47f89d-0x13f,_0x118d5a-0x93,_0x47f89d,_0x5e6c4d-_0x1f3a7a._0x5062ad);}function _0x2870a1(_0x14d6d5,_0x149c77,_0x584af3,_0x2e5e50){return _0xa5377c(_0x149c77,_0x149c77-0x173,_0x584af3-0x35,_0x2e5e50- -_0x580745._0x13baee);}return textEncoder[_0x1e9520(_0x1546dc._0x20319d,_0x1546dc._0x369c40,_0x1546dc._0x405e68,0x1d5)](_0x3200d7)[_0x2870a1(0x15c,_0x1546dc._0x715cbd,0x3e8,0x27a)];}var TAG_PATTERN=/^[0-9A-F]{12}$/,replaceOperationSchema={'type':'object','properties':{'operation':{'type':_0x4eedea(0x4c3,0x464,0x5b6,0x3bc),'enum':['replace']},'startLine':{'type':'number'},'endLine':{'type':'number'},'content':{'type':'string'}},'required':[_0xa5377c(0x596,0x404,0x451,0x516),_0xa5377c(0x273,0x2a4,0x1bd,0x3b3),_0x4eedea(0x219,0x78,0x3,-0x129),_0xa5377c(0x20a,-0x6c,0x33,0x1ba)],'additionalProperties':![]},deleteOperationSchema={'type':'object','properties':{'operation':{'type':'string','enum':[_0xa5377c(0x4c8,0x5c1,0x4c1,0x3ef)]},'startLine':{'type':_0x4eedea(-0x255,-0x6,0x148,0x24b)},'endLine':{'type':_0xa5377c(0x40a,0x40d,0x1bb,0x1f0)}},'required':['operation',_0x4eedea(0x80,0x1bd,0x98,0x49),'endLine'],'additionalProperties':![]},insertOperationSchema={'type':_0x4eedea(0x430,0x25c,0x428,0x3e6),'properties':{'operation':{'type':'string','enum':['insert']},'position':{'type':_0x4eedea(0x30a,0x464,0x465,0x573),'enum':[_0x4eedea(-0x13a,0xad,-0xad,-0xd4),_0xa5377c(0xf0,0x448,0x2f4,0x274)]},'line':{'type':'number'},'content':{'type':_0xa5377c(0x723,0x69b,0x7de,0x65a)}},'required':[_0x4eedea(0x390,0x320,0xf6,0x2ab),_0x4eedea(-0x134,0xd9,-0x175,-0xc9),_0xa5377c(0x5ff,0x458,0x3cf,0x3e3),_0x4eedea(0x19a,-0x3c,-0xef,0xd2)],'additionalProperties':![]},structuredFileEditInputSchema={'type':_0x4eedea(0x220,0x25c,0x11,0xb5),'properties':{'filePath':{'type':'string'},'tag':{'type':_0x4eedea(0x627,0x464,0x65e,0x4ad)},'description':{'type':_0x4eedea(0x625,0x464,0x362,0x23a)},'operations':{'type':_0x4eedea(0x21d,0x4a,0x2a0,0x109),'items':{'anyOf':[replaceOperationSchema,deleteOperationSchema,insertOperationSchema]}},'dryRun':{'type':_0xa5377c(0x14b,0x20,0x25b,0x20f)}},'required':[_0x4eedea(-0x3d,-0x2e,0x1ca,0x22b),'tag',_0x4eedea(0x176,0x272,0x38c,0x195)],'additionalProperties':![]};function requireValidLineNumber(_0x5b6f37,_0x8311e0){const _0x185226={_0x1bf4fa:0x828,_0xa7c478:0x740,_0x26436d:0x34d,_0xa1051e:0x295,_0x5e1703:0x4f1,_0x8cca71:0x44b,_0x31e91a:0x422},_0x592f63={_0xa5028f:0x62,_0x5bf348:0xc},_0x3ef8ac={_0x5b6982:0xe2,_0x12c7b8:0x42};function _0x1af2a6(_0xf4a023,_0x25ea47,_0x4ddb9a,_0x30beca){return _0x4eedea(_0xf4a023-0x39,_0x25ea47-_0x3ef8ac._0x5b6982,_0xf4a023,_0x30beca-_0x3ef8ac._0x12c7b8);}function _0x301c11(_0x408588,_0x107d11,_0x230de0,_0xd75dbd){return _0xa5377c(_0x230de0,_0x107d11-_0x592f63._0xa5028f,_0x230de0-_0x592f63._0x5bf348,_0x107d11-0x21f);}if(!Number[_0x301c11(0x758,_0x185226._0x1bf4fa,0x62d,_0x185226._0xa7c478)](_0x5b6f37)||_0x5b6f37<0x1)throw createAnchoredFileError(_0x301c11(_0x185226._0x26436d,0x4a5,_0x185226._0xa1051e,0x56c),_0x8311e0+_0x301c11(_0x185226._0x5e1703,0x42a,_0x185226._0x8cca71,_0x185226._0x31e91a)+String(_0x5b6f37)+'.');}function parseStructuredFileEditInput(_0x52f456){const _0x9ca04c={_0xceea6c:0x34,_0x29722e:0x84c,_0x1f413d:0x975,_0x593c85:0x9b9,_0x5396d0:0x51,_0x5be377:0x33f,_0x98d8e0:0x56,_0xce3aa7:0x1d4,_0x2a0438:0x131,_0x14bfaa:0x18c,_0xf5a451:0x367,_0x3ab6a3:0x9e,_0x1576a5:0x6fa,_0x7abda5:0x6f9,_0x395c0c:0x956,_0x55a3d7:0x12b,_0x568aa1:0x8a,_0x269f0f:0x7c,_0x3802cb:0x8b7,_0xb9e6d9:0x94e,_0x52becc:0x737,_0x5304b1:0x3be,_0x48d8c8:0x213,_0x355532:0x533,_0xceaeeb:0x389,_0x1ef89f:0x686,_0x283b9e:0xe8,_0x2d63e1:0x28,_0x1f0514:0x610,_0x15b70f:0x70f,_0x3e7ed5:0x7a7,_0x20a976:0x72e,_0x98a3d8:0x39,_0xd1ddd2:0xbd,_0x23048d:0x56,_0x1310e4:0x42,_0xf330c9:0xfc,_0x3d254d:0x117,_0x237281:0x79d,_0x54f607:0x6f3,_0x29b1c3:0x110,_0x81c122:0xe8,_0x38dbff:0x18c,_0x23d695:0xd6,_0xc59760:0x3df,_0x19e66e:0x386,_0x2a73d7:0x33,_0x198ae1:0x4e,_0x1a4848:0x1b3,_0x3f3973:0x21f,_0x33d7ba:0x5f,_0x320319:0x6e3,_0xe1151a:0x61c,_0x247dc8:0x8e6,_0x228b0b:0x5c8,_0x2973c7:0x72f,_0x974667:0x5c,_0xb41e35:0x5bb,_0xb07cba:0x39d,_0x192dea:0x7e0,_0x44a212:0x1dd,_0x3cac97:0x74,_0x5bb700:0x35b,_0x27ad67:0x7,_0x1eb491:0x3e7,_0x4ff92b:0x86e,_0x2a1f1f:0x156,_0x4d6faa:0x308,_0x5632b1:0x665,_0x2949f5:0x497,_0x1d412d:0x710,_0x5e844f:0x3a8,_0x3966b8:0x23,_0x37b812:0x90,_0x486fca:0x1e9,_0x5d4a92:0x122,_0x2ff1a7:0x5f,_0x8374bb:0x11a,_0x17a638:0xe8,_0x263d7b:0x4c2,_0xd035c9:0x1a4,_0x286ccb:0x43d,_0x2774ab:0x3cc,_0x1aaf6:0x259,_0x1e9c84:0x15,_0x114c32:0x69,_0xb5fc39:0x2a3,_0x3b6334:0x1d,_0x3c7c13:0x1da,_0x192da6:0x38,_0x859322:0x72,_0x43382b:0x23,_0xa84fe:0x120,_0x2b301e:0x126,_0x172056:0x1ab,_0xf543ab:0x90a,_0x2f377f:0xa43,_0x2724e9:0x7d9,_0x3b55a0:0x2f,_0xcbf343:0x78,_0x120907:0x217,_0x4b6bae:0x235,_0x4008dd:0x213,_0x234902:0x13e,_0x598146:0x258,_0x11a8b8:0x37a,_0x40807c:0x9d9,_0x212ea5:0x1da,_0x1ffbb4:0xc6,_0x21b047:0x463,_0x537c56:0x79c,_0x31bda1:0x7d,_0x1c6ebd:0x218,_0x58e810:0x74d,_0x46e6f4:0x4de,_0x5dad90:0x552,_0x241a88:0x3e6,_0x43b07a:0x57a,_0x3ba186:0x3bc,_0x28df39:0x6b,_0x4ef028:0x1bc,_0x3484ff:0x2d,_0xd5dd5f:0x76},_0x12dd72={_0x5db41b:0x1ad,_0x53129b:0x21c},_0x1c1cc2={_0x419037:0x166},_0x24af20=_0x52f456;if(_0x24af20!==null&&typeof _0x24af20===_0x44a51a(0x40,-_0x9ca04c._0xceea6c,-0xd2,0x290)&&!Array[_0x221213(_0x9ca04c._0x29722e,_0x9ca04c._0x1f413d,_0x9ca04c._0x593c85,0x76d)](_0x24af20)&&Array[_0x44a51a(0x105,_0x9ca04c._0x5396d0,0x17a,_0x9ca04c._0x5be377)](_0x24af20[_0x44a51a(_0x9ca04c._0x98d8e0,_0x9ca04c._0xce3aa7,0x25b,-_0x9ca04c._0x2a0438)])&&_0x24af20[_0x221213(0x79d,0x636,0x882,0x73c)]['length']>MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError(_0x44a51a(-_0x9ca04c._0x14bfaa,-0x210,-_0x9ca04c._0xf5a451,_0x9ca04c._0x3ab6a3),_0x221213(_0x9ca04c._0x1576a5,0x7fc,_0x9ca04c._0x7abda5,_0x9ca04c._0x395c0c)+MAX_ANCHORED_OPERATIONS+_0x44a51a(_0x9ca04c._0x55a3d7,-_0x9ca04c._0x568aa1,_0x9ca04c._0x269f0f,0x358));let _0x197074;try{_0x197074=validateToolInput(_0x52f456,structuredFileEditInputSchema);}catch(_0xa51aa5){const _0xe7dc1b=_0xa51aa5 instanceof Error?_0xa51aa5[_0x221213(_0x9ca04c._0x3802cb,_0x9ca04c._0xb9e6d9,_0x9ca04c._0x52becc,0x90a)]:String(_0xa51aa5);throw createAnchoredFileError(_0x44a51a(-_0x9ca04c._0x14bfaa,-0x5a,-_0x9ca04c._0x5304b1,-_0x9ca04c._0x48d8c8),_0x221213(_0x9ca04c._0x355532,_0x9ca04c._0xceaeeb,_0x9ca04c._0x1ef89f,0x323)+_0xe7dc1b);}if(!TAG_PATTERN[_0x44a51a(-0xd5,-0x2,-_0x9ca04c._0x283b9e,_0x9ca04c._0x2d63e1)](_0x197074[_0x221213(0x780,0x6be,_0x9ca04c._0x1f0514,0x929)]))throw createAnchoredFileError(_0x221213(0x5bb,_0x9ca04c._0x15b70f,_0x9ca04c._0x3e7ed5,0x3ca),_0x221213(0x94d,_0x9ca04c._0x20a976,0xba7,0x769)+_0x197074[_0x44a51a(_0x9ca04c._0x98a3d8,_0x9ca04c._0xd1ddd2,0x4b,0x23c)]+'\x27.');function _0x221213(_0x8fa6c,_0x29f131,_0x19c79d,_0x38cef8){return _0xa5377c(_0x29f131,_0x29f131-_0x1c1cc2._0x419037,_0x19c79d-0x162,_0x8fa6c-0x335);}if(_0x197074[_0x44a51a(_0x9ca04c._0x23048d,-0x137,0x14d,-0xf0)][_0x44a51a(0x48,-_0x9ca04c._0x1310e4,-0x1ff,0x22b)]===0x0)throw createAnchoredFileError('invalid_patch',_0x44a51a(_0x9ca04c._0xf330c9,-_0x9ca04c._0x3d254d,-0x133,0x11e));if(_0x197074[_0x221213(_0x9ca04c._0x237281,0x603,0x778,_0x9ca04c._0x54f607)][_0x44a51a(0x48,_0x9ca04c._0x29b1c3,-_0x9ca04c._0x81c122,-0x19a)]>MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError(_0x44a51a(-_0x9ca04c._0x38dbff,-_0x9ca04c._0x23d695,-_0x9ca04c._0xc59760,-_0x9ca04c._0x19e66e),_0x44a51a(-0x4d,-0x1d0,-_0x9ca04c._0x2a73d7,-0x149)+MAX_ANCHORED_OPERATIONS+_0x44a51a(0x12b,0x13a,-_0x9ca04c._0x198ae1,0x32c));let _0x415acd=0x0;const _0x2889b3=[];for(const _0xb23536 of _0x197074['operations']){switch(_0xb23536['operation']){case _0x44a51a(_0x9ca04c._0x1a4848,0xcb,_0x9ca04c._0x3f3973,0x33d):{requireValidLineNumber(_0xb23536[_0x44a51a(-_0x9ca04c._0x33d7ba,-0x11d,-0xc1,0x1e8)],_0x221213(0x7e7,0x8b8,_0x9ca04c._0x320319,0x9ef)),requireValidLineNumber(_0xb23536[_0x221213(0x5a3,0x72f,_0x9ca04c._0xe1151a,0x61c)],_0x221213(0x6d4,_0x9ca04c._0x247dc8,_0x9ca04c._0x228b0b,_0x9ca04c._0x2973c7));if(_0xb23536['startLine']>_0xb23536[_0x44a51a(-0x1a4,-0x350,0xa3,-_0x9ca04c._0x974667)])throw createAnchoredFileError(_0x221213(_0x9ca04c._0xb41e35,_0x9ca04c._0xb07cba,_0x9ca04c._0x192dea,0x56a),'replace\x20startLine\x20must\x20not\x20exceed\x20endLine.');_0x415acd+=utf8Bytes(_0xb23536['content']);if(_0x415acd>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError('invalid_patch',_0x44a51a(_0x9ca04c._0x44a212,_0x9ca04c._0x3cac97,_0x9ca04c._0x5bb700,_0x9ca04c._0x27ad67)+MAX_ANCHORED_CONTENT_BYTES+'\x20bytes.');_0x2889b3[_0x221213(0x61b,0x5a8,_0x9ca04c._0x1eb491,_0x9ca04c._0x4ff92b)]({'operation':_0x44a51a(0x1b3,_0x9ca04c._0x2a1f1f,_0x9ca04c._0x4d6faa,0x28b),'startLine':_0xb23536[_0x221213(0x6e8,_0x9ca04c._0x5632b1,0x7bc,_0x9ca04c._0x2949f5)],'endLine':_0xb23536['endLine'],'content':_0xb23536[_0x221213(0x4ef,0x2aa,_0x9ca04c._0x1d412d,_0x9ca04c._0x5e844f)]});break;}case _0x44a51a(-_0x9ca04c._0x3966b8,_0x9ca04c._0x37b812,_0x9ca04c._0x486fca,_0x9ca04c._0x5d4a92):{requireValidLineNumber(_0xb23536[_0x44a51a(-_0x9ca04c._0x2ff1a7,-0xf3,_0x9ca04c._0x8374bb,-_0x9ca04c._0x17a638)],_0x221213(0x5bf,_0x9ca04c._0x263d7b,0x489,0x753)),requireValidLineNumber(_0xb23536[_0x44a51a(-_0x9ca04c._0xd035c9,-0x124,-0x388,0x29)],_0x221213(0x51f,_0x9ca04c._0x286ccb,_0x9ca04c._0x2774ab,0x77a));if(_0xb23536[_0x44a51a(-0x5f,-_0x9ca04c._0x1aaf6,-_0x9ca04c._0x1e9c84,_0x9ca04c._0x114c32)]>_0xb23536[_0x44a51a(-0x1a4,-_0x9ca04c._0xb5fc39,_0x9ca04c._0x3b6334,-0xae)])throw createAnchoredFileError(_0x44a51a(-_0x9ca04c._0x14bfaa,-_0x9ca04c._0x3c7c13,_0x9ca04c._0x192da6,-0xa8),_0x44a51a(0x81,-0x17e,0x7a,_0x9ca04c._0x859322));_0x2889b3['push']({'operation':_0x44a51a(-_0x9ca04c._0x43382b,0x103,_0x9ca04c._0xa84fe,-_0x9ca04c._0x2b301e),'startLine':_0xb23536[_0x44a51a(-_0x9ca04c._0x33d7ba,_0x9ca04c._0x172056,-0x1b,-0x261)],'endLine':_0xb23536['endLine']});break;}case _0x221213(_0x9ca04c._0xf543ab,0x8f0,_0x9ca04c._0x2f377f,_0x9ca04c._0x2724e9):{requireValidLineNumber(_0xb23536[_0x44a51a(-_0x9ca04c._0x3b55a0,-_0x9ca04c._0xcbf343,-0x1c4,_0x9ca04c._0x120907)],_0x44a51a(_0x9ca04c._0x4b6bae,_0x9ca04c._0x4008dd,0xf3,_0x9ca04c._0x234902)),_0x415acd+=utf8Bytes(_0xb23536[_0x44a51a(-_0x9ca04c._0x598146,-0x36a,-_0x9ca04c._0x11a8b8,-0xa0)]);if(_0x415acd>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError('invalid_patch',_0x221213(0x924,0x968,_0x9ca04c._0x40807c,0x8c8)+MAX_ANCHORED_CONTENT_BYTES+_0x44a51a(-_0x9ca04c._0x212ea5,-0x199,-0x38d,-_0x9ca04c._0x1ffbb4));_0x2889b3[_0x221213(0x61b,_0x9ca04c._0x21b047,0x5cc,_0x9ca04c._0x537c56)]({'operation':_0x44a51a(0x1c3,-_0x9ca04c._0x31bda1,_0x9ca04c._0x1c6ebd,0xf),'position':_0xb23536[_0x221213(0x604,_0x9ca04c._0x58e810,_0x9ca04c._0x46e6f4,_0x9ca04c._0x5dad90)],'line':_0xb23536['line'],'content':_0xb23536['content']});break;}}}function _0x44a51a(_0x37edef,_0x346320,_0x30d98c,_0x4f4524){return _0x4eedea(_0x37edef-_0x12dd72._0x5db41b,_0x37edef- -_0x12dd72._0x53129b,_0x30d98c,_0x4f4524-0x49);}return{'filePath':_0x197074[_0x221213(0x4fd,0x41e,_0x9ca04c._0x241a88,0x604)],'tag':_0x197074[_0x221213(0x780,0x5bb,0x572,0x95b)],'operations':_0x2889b3,'dryRun':_0x197074[_0x221213(_0x9ca04c._0x43b07a,0x548,0x454,_0x9ca04c._0x3ba186)]??![],..._0x197074['description']!==void 0x0?{'description':_0x197074[_0x44a51a(_0x9ca04c._0x28df39,_0x9ca04c._0x4ef028,_0x9ca04c._0x3484ff,-_0x9ca04c._0xd5dd5f)]}:{}};}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(_0x3348c8){const _0x61a504={_0x2b3ee3:0x3f5,_0x249c37:0x632,_0xbd91f3:0x63c},_0x1374e4={_0x1cbb7f:0x117,_0x5b225f:0x7d};function _0x325ecc(_0x12093d,_0x1a1ede,_0x4dbdd5,_0x5bd6ca){return _0xa5377c(_0x5bd6ca,_0x1a1ede-0xae,_0x4dbdd5-_0x1374e4._0x1cbb7f,_0x1a1ede-_0x1374e4._0x5b225f);}return textEncoder2[_0x325ecc(0x49c,_0x61a504._0x2b3ee3,_0x61a504._0x249c37,_0x61a504._0xbd91f3)](_0x3348c8)['length'];}function preview(_0x57311a){const _0x5c069a={_0x5de0c2:0x4bd,_0x1cffc5:0x524,_0x8b58db:0x458,_0x3c78ae:0x5,_0x3ca54b:0x24e,_0x4dc79a:0x3e8},_0x8d2b78={_0x53a2cc:0x272},_0x379f68={_0x24bed6:0x96};function _0x2b095b(_0x5891a5,_0x5a354b,_0x4ec8e5,_0x5507c4){return _0xa5377c(_0x4ec8e5,_0x5a354b-0x161,_0x4ec8e5-0x3a,_0x5891a5- -_0x379f68._0x24bed6);}function _0x479a9e(_0x5a6548,_0x4c614c,_0x2fff9e,_0x5716a7){return _0x4eedea(_0x5a6548-0x131,_0x4c614c-_0x8d2b78._0x53a2cc,_0x5a6548,_0x5716a7-0x67);}return _0x57311a[_0x479a9e(0x30c,0x4d6,0x708,_0x5c069a._0x5de0c2)]>0x3c?_0x57311a[_0x2b095b(0x4dc,0x5b3,_0x5c069a._0x1cffc5,_0x5c069a._0x8b58db)](0x0,0x3c)+_0x479a9e(_0x5c069a._0x3c78ae,_0x5c069a._0x3ca54b,0x2e6,_0x5c069a._0x4dc79a):_0x57311a;}var hashlineFileEditInputSchema={'type':_0x4eedea(0x172,0x25c,0x259,0x102),'properties':{'patch':{'type':_0x4eedea(0x3b0,0x464,0x48e,0x2c5)},'description':{'type':'string'},'dryRun':{'type':'boolean'}},'required':[_0xa5377c(0x5ba,0x3a9,0x702,0x5cb)],'additionalProperties':![]};function requireLineNumber(_0x28e6fa,_0x1fdfc4){const _0x39a0d2={_0x44ded3:0x60c,_0x3a2748:0x5a4,_0x574bb8:0x508,_0x4d3cfc:0x334,_0x528436:0x4d4,_0x40d324:0x3eb,_0x3646a5:0xe6,_0xee5035:0x205,_0x2685e1:0x208,_0x3d463a:0x3a8},_0x2296a6={_0x5658e7:0xea,_0x422012:0x2a4,_0x3113f8:0x1b2},_0x4b058d={_0xe28a19:0x121};function _0x2facb8(_0x60c4c8,_0x253d67,_0x5ca05a,_0x40f00f){return _0x4eedea(_0x60c4c8-0x1a8,_0x5ca05a-0x1f3,_0x40f00f,_0x40f00f-_0x4b058d._0xe28a19);}if(_0x28e6fa[_0x437535(_0x39a0d2._0x44ded3,_0x39a0d2._0x3a2748,_0x39a0d2._0x574bb8,0x327)]>0x10)throw createAnchoredFileError(_0x437535(0x4ea,0x19d,_0x39a0d2._0x4d3cfc,0x14e),_0x1fdfc4+'\x20exceeds\x20the\x20safe-integer\x20range.');const _0x149d55=Number(_0x28e6fa);if(!Number[_0x2facb8(0x748,_0x39a0d2._0x528436,0x606,0x653)](_0x149d55)||_0x149d55<0x1)throw createAnchoredFileError(_0x437535(_0x39a0d2._0x40d324,_0x39a0d2._0x3646a5,_0x39a0d2._0x4d3cfc,0x3f4),_0x1fdfc4+_0x2facb8(_0x39a0d2._0xee5035,0x3,_0x39a0d2._0x2685e1,_0x39a0d2._0x3d463a)+_0x28e6fa+'.');function _0x437535(_0x4d671b,_0x1c62c0,_0x6eedc1,_0x299e29){return _0x4eedea(_0x4d671b-_0x2296a6._0x5658e7,_0x6eedc1-_0x2296a6._0x422012,_0x1c62c0,_0x299e29-_0x2296a6._0x3113f8);}return _0x149d55;}function parseHashlineFileEditInput(_0x3bfbf6){const _0x2ae1fe={_0x2334e6:0x53d,_0x211ffe:0x60b,_0x4e4287:0x673,_0x28e250:0x61a,_0x368cc9:0x3ef,_0xb9a5ef:0x602,_0x377088:0x5a6,_0x5c8908:0x1a4,_0xca56a3:0x904,_0x11dac6:0x866,_0x1906b5:0x84f,_0x5e360c:0x7d3,_0x3c3cec:0x9a2,_0x223c6d:0xa3c,_0x45f995:0x7e3,_0x30c268:0x7de,_0x49c0a7:0xa12,_0x170f7b:0x47f,_0x55ee24:0x555,_0x21f9b:0x4a9,_0x59165c:0x409,_0x39698:0x29b,_0x295bee:0x4e8,_0x463984:0x289,_0x550d86:0x229,_0x583682:0x1a,_0x3b9321:0x3cd,_0x527ace:0x3e4,_0xb9528f:0x4e8,_0x42bb7c:0x1f,_0x3e0aa8:0x17e,_0x5ceed8:0x9c,_0x13e02f:0x83b,_0x33681d:0x60a,_0x4c87dd:0x769,_0xb4fe47:0x2ed,_0x90b6c4:0x203,_0x1b7804:0x626,_0x3ed89d:0x40d,_0x4d09ba:0x713,_0x17d2a1:0xa7a,_0x2f53a3:0x959,_0x5a8a05:0xa2f,_0x5b47ea:0x6a5,_0x40797d:0x48d,_0x2348b8:0x512,_0x4c2dcc:0x60a,_0x45f734:0x80f,_0x5c4b43:0x773,_0x52c61f:0x5b9,_0x1d83d8:0x416,_0x17e6fe:0x583,_0x5c7289:0xa3,_0x277e82:0x21f,_0x3e1c53:0x3bc},_0x2439c6={_0x4dda99:0x119,_0x1e607e:0x8d,_0x3089a2:0x150},_0x1605d1={_0x336db5:0x572,_0x5b6a20:0x672,_0x56bf35:0x7a0,_0x3c64e5:0x760,_0x21ae3b:0x616,_0x174a45:0x557,_0x360b56:0x89e,_0x1ed759:0x885,_0x306ff0:0x91f,_0x1b2dcc:0x81d,_0x1af03a:0x734},_0x3d253f={_0x69349b:0x57a,_0x4db3f9:0xbd},_0xf72b8a={_0x4e28d0:0x563,_0x4460a9:0x4a6,_0x4a5461:0x3ce,_0x5cf985:0x441,_0x46d0f3:0x645,_0x3af2a3:0x307,_0x57dbe2:0x269,_0x51f441:0x1b1};let _0x1a104f;try{_0x1a104f=validateToolInput(_0x3bfbf6,hashlineFileEditInputSchema);}catch(_0x7670c6){const _0x351d37=_0x7670c6 instanceof Error?_0x7670c6['message']:String(_0x7670c6);throw createAnchoredFileError('invalid_patch','Invalid\x20Hashline\x20FileEdit\x20input:\x20'+_0x351d37);}const {patch:_0x15138f}=_0x1a104f;if(utf8Bytes2(_0x15138f)>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError(_0x3dd2ca(_0x2ae1fe._0x2334e6,_0x2ae1fe._0x211ffe,0x60a,_0x2ae1fe._0x4e4287),_0x3dd2ca(_0x2ae1fe._0x28e250,_0x2ae1fe._0x368cc9,_0x2ae1fe._0xb9a5ef,_0x2ae1fe._0x377088)+MAX_ANCHORED_CONTENT_BYTES+_0x5155f0(0x5e,0x2c9,_0x2ae1fe._0x5c8908,0xcf));if(_0x15138f['includes']('\x0d'))throw createAnchoredFileError('invalid_patch',_0x3dd2ca(_0x2ae1fe._0xca56a3,0x9f4,_0x2ae1fe._0x11dac6,_0x2ae1fe._0x1906b5));const _0x327bba=_0x15138f[_0x3dd2ca(0x6cf,0x98f,_0x2ae1fe._0x5e360c,_0x2ae1fe._0x3c3cec)]('\x0a'),_0x26e341=[],_0x1402d6=_0x1a8b43=>{const _0x30d99b={_0x28bed2:0x46,_0x3acc1a:0x33,_0xe35b44:0x34};function _0x1e293d(_0x449983,_0xe5dd9e,_0x53338c,_0x8fc125){return _0x5155f0(_0x449983-_0x30d99b._0x28bed2,_0x449983,_0x53338c-_0x30d99b._0x3acc1a,_0x53338c-_0x30d99b._0xe35b44);}function _0x5abd99(_0x2df085,_0x10b95c,_0x31305c,_0xab2ff){return _0x3dd2ca(_0x2df085-0x50,_0xab2ff,_0x2df085- -0x16a,_0xab2ff-0xce);}if(_0x26e341[_0x1e293d(_0xf72b8a._0x4e28d0,_0xf72b8a._0x4460a9,0x325,0x530)]>=MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError(_0x5abd99(0x4a0,_0xf72b8a._0x4a5461,0x4c8,_0xf72b8a._0x5cf985),_0x5abd99(0x5df,_0xf72b8a._0x46d0f3,0x392,0x6db)+MAX_ANCHORED_OPERATIONS+_0x5abd99(0x464,_0xf72b8a._0x3af2a3,0x595,_0xf72b8a._0x57dbe2));_0x26e341[_0x1e293d(0x18f,0x97,_0xf72b8a._0x51f441,0x3e1)](_0x1a8b43);};let _0x163d20,_0x5a032f,_0x2d9c72=![],_0x5c163a=![],_0x527a40,_0x459317,_0x546fe0=0x0,_0x4df61f=0x0,_0x144ca3=[];function _0x3dd2ca(_0x36e729,_0x3511af,_0x515741,_0xb24074){return _0x4eedea(_0x36e729-0x1e7,_0x515741-_0x3d253f._0x69349b,_0x3511af,_0xb24074-_0x3d253f._0x4db3f9);}const _0x223cd7=()=>{const _0x3d2171={_0x3839ad:0x151},_0x354a44={_0x12fd3f:0xb8};if(!_0x5c163a)return;if(_0x144ca3['length']===0x0)throw createAnchoredFileError(_0x52d950(0x5d0,_0x1605d1._0x336db5,0x628,0x575),_0x52d950(_0x1605d1._0x5b6a20,_0x1605d1._0x56bf35,_0x1605d1._0x3c64e5,0x456));const _0xed8df8=_0x144ca3[_0x52d950(_0x1605d1._0x21ae3b,0x73c,_0x1605d1._0x174a45,0x566)]('\x0a');function _0x52d950(_0x21eba8,_0x49ff3c,_0x2fde93,_0x30d4a1){return _0x3dd2ca(_0x21eba8-_0x354a44._0x12fd3f,_0x49ff3c,_0x21eba8- -0x3a,_0x30d4a1-0x15b);}function _0x1a5e23(_0x42f031,_0x226ee9,_0x422f00,_0x2ce3c9){return _0x5155f0(_0x42f031-_0x3d2171._0x3839ad,_0x2ce3c9,_0x422f00-0x6,_0x42f031-0x197);}_0x527a40===_0x52d950(0x90f,_0x1605d1._0x360b56,0x6ff,0x8fe)?_0x1402d6({'operation':_0x52d950(0x90f,0xa76,_0x1605d1._0x1ed759,0x84b),'startLine':_0x546fe0,'endLine':_0x4df61f,'content':_0xed8df8}):_0x1402d6({'operation':_0x52d950(_0x1605d1._0x306ff0,0x765,_0x1605d1._0x1b2dcc,_0x1605d1._0x1af03a),'position':_0x459317,'line':_0x546fe0,'content':_0xed8df8}),_0x5c163a=![],_0x144ca3=[];};for(const _0xa8a057 of _0x327bba){if(_0xa8a057[_0x3dd2ca(_0x2ae1fe._0x223c6d,_0x2ae1fe._0x45f995,_0x2ae1fe._0x30c268,_0x2ae1fe._0x49c0a7)]===0x0)continue;if(_0x5c163a&&_0xa8a057['startsWith']('+')){_0x144ca3[_0x3dd2ca(_0x2ae1fe._0x170f7b,0x6cc,0x66a,0x4f1)](_0xa8a057[_0x5155f0(0x4a1,_0x2ae1fe._0x55ee24,_0x2ae1fe._0x21f9b,_0x2ae1fe._0x59165c)](0x1));continue;}_0x223cd7();if(!_0x2d9c72){const _0x56a392=HEADER[_0x5155f0(0x3d3,_0x2ae1fe._0x39698,0x6d0,_0x2ae1fe._0x295bee)](_0xa8a057);if(_0x56a392===null)throw createAnchoredFileError('invalid_patch',_0x5155f0(_0x2ae1fe._0x463984,_0x2ae1fe._0x550d86,_0x2ae1fe._0x583682,0x263));_0x163d20=_0x56a392[0x1],_0x5a032f=_0x56a392[0x2],_0x2d9c72=!![];continue;}const _0xa74f8=REPLACE[_0x5155f0(0x2fb,_0x2ae1fe._0x3b9321,_0x2ae1fe._0x527ace,_0x2ae1fe._0xb9528f)](_0xa8a057);if(_0xa74f8!==null){const _0x269cf2=requireLineNumber(_0xa74f8[0x1],'replace\x20startLine'),_0x4248b1=requireLineNumber(_0xa74f8[0x2],_0x5155f0(-_0x2ae1fe._0x42bb7c,_0x2ae1fe._0x3e0aa8,0x2c,_0x2ae1fe._0x5ceed8));if(_0x269cf2>_0x4248b1)throw createAnchoredFileError(_0x3dd2ca(_0x2ae1fe._0x13e02f,0x71c,_0x2ae1fe._0x33681d,_0x2ae1fe._0x4c87dd),_0x5155f0(0x1d7,_0x2ae1fe._0xb4fe47,0x420,_0x2ae1fe._0x90b6c4));_0x5c163a=!![],_0x527a40=_0x5155f0(_0x2ae1fe._0x1b7804,0x311,0x308,0x45c),_0x546fe0=_0x269cf2,_0x4df61f=_0x4248b1,_0x144ca3=[];continue;}const _0x431ceb=INSERT[_0x5155f0(0x460,_0x2ae1fe._0x3ed89d,_0x2ae1fe._0x4d09ba,_0x2ae1fe._0x295bee)](_0xa8a057);if(_0x431ceb!==null){const _0x1d2b4c=requireLineNumber(_0x431ceb[0x2],'insert\x20line');_0x5c163a=!![],_0x527a40=_0x3dd2ca(0x7f0,_0x2ae1fe._0x17d2a1,_0x2ae1fe._0x2f53a3,_0x2ae1fe._0x5a8a05),_0x459317=_0x431ceb[0x1]==='<'?'before':_0x3dd2ca(0x423,0x5b5,0x5f8,0x7a3),_0x546fe0=_0x1d2b4c,_0x144ca3=[];continue;}const _0x583f94=DELETE[_0x5155f0(_0x2ae1fe._0x5b47ea,_0x2ae1fe._0x40797d,_0x2ae1fe._0x2348b8,0x4e8)](_0xa8a057);if(_0x583f94!==null){const _0x2f1b88=requireLineNumber(_0x583f94[0x1],'delete\x20startLine'),_0xc32fe8=requireLineNumber(_0x583f94[0x2],'delete\x20endLine');if(_0x2f1b88>_0xc32fe8)throw createAnchoredFileError(_0x3dd2ca(0x5fc,0x781,_0x2ae1fe._0x4c2dcc,0x44d),'delete\x20startLine\x20must\x20not\x20exceed\x20endLine.');_0x1402d6({'operation':_0x3dd2ca(_0x2ae1fe._0x45f734,0x66f,_0x2ae1fe._0x5c4b43,0x70d),'startLine':_0x2f1b88,'endLine':_0xc32fe8});continue;}throw createAnchoredFileError(_0x3dd2ca(_0x2ae1fe._0x52c61f,0x5a2,0x60a,0x858),_0x3dd2ca(0x36d,_0x2ae1fe._0x1d83d8,_0x2ae1fe._0x17e6fe,0x3ee)+preview(_0xa8a057));}_0x223cd7();if(!_0x2d9c72)throw createAnchoredFileError('invalid_patch','Patch\x20must\x20begin\x20with\x20a\x20[PATH#TAG]\x20header.');function _0x5155f0(_0xb579cf,_0x54c668,_0x3af3f,_0xfaab2e){return _0x4eedea(_0xb579cf-_0x2439c6._0x4dda99,_0xfaab2e-_0x2439c6._0x1e607e,_0x54c668,_0xfaab2e-_0x2439c6._0x3089a2);}if(_0x26e341['length']===0x0)throw createAnchoredFileError(_0x5155f0(-_0x2ae1fe._0x5c7289,0x8d,0x2b5,0x11d),_0x5155f0(0x51e,_0x2ae1fe._0x277e82,0x2cf,_0x2ae1fe._0x3e1c53));return{'filePath':_0x163d20,'tag':_0x5a032f,'operations':_0x26e341,'dryRun':_0x1a104f['dryRun']??![],..._0x1a104f['description']!==void 0x0?{'description':_0x1a104f['description']}:{}};}import{realpath,stat}from'fs/promises';import*as _0xd4773f from'path';function isPathInside(_0x1a1c8b,_0x2f9e95){const _0x1d5a0e={_0x49a198:0x437,_0x4849ac:0x27b,_0xd034de:0x3c8,_0x26de3a:0x41c,_0x2a3e50:0x5bf},_0x5d9e15={_0x232588:0xbc},_0x35efaa={_0x320500:0xdc,_0x4b0e18:0xf,_0x4a7d50:0x89},_0x267010=_0xd4773f[_0x5a6c33(_0x1d5a0e._0x49a198,0x3bd,0x1ca,_0x1d5a0e._0x4849ac)](_0x1a1c8b),_0x351377=_0xd4773f[_0x5a6c33(0x5e9,_0x1d5a0e._0xd034de,_0x1d5a0e._0x26de3a,_0x1d5a0e._0x2a3e50)](_0x267010,_0x2f9e95);function _0x5a6c33(_0x445513,_0x3b48df,_0x4a89ae,_0x406a85){return _0xa5377c(_0x4a89ae,_0x3b48df-_0x35efaa._0x320500,_0x4a89ae-_0x35efaa._0x4b0e18,_0x406a85- -_0x35efaa._0x4a7d50);}function _0x3cf58e(_0x32af2f,_0x116300,_0x1b1dae,_0x81bfab){return _0x4eedea(_0x32af2f-0x1c4,_0x32af2f-_0x5d9e15._0x232588,_0x116300,_0x81bfab-0x15a);}return _0x351377===''||!_0x351377['startsWith']('..')&&!_0xd4773f['isAbsolute'](_0x351377);}function resolveWorkspacePath(_0x57c3dc,_0x138451){return resolveAllowedPath(_0x57c3dc,[],_0x138451);}function resolveAllowedPath(_0x58f7f5,_0x484d08,_0x27f3c2){const _0x1dcf4e={_0x535664:0x703,_0x235ac4:0x615,_0x2031f4:0x47c,_0x8739a0:0x5fb,_0xbcc2ff:0x833},_0x3caff8={_0x1a258a:0x1e1},_0x2b7855={_0x4ad6d3:0x58c,_0x4b6f1a:0x1ac},_0x4ff2cb=_0xd4773f[_0x20b4de(0x445,_0x1dcf4e._0x535664,_0x1dcf4e._0x235ac4,0x499)](_0x58f7f5),_0x394ef1=_0xd4773f['resolve'](_0x4ff2cb,_0x27f3c2),_0x31213b=[_0x4ff2cb,..._0x484d08[_0x20b4de(0x5e3,_0x1dcf4e._0x2031f4,_0x1dcf4e._0x8739a0,0x55b)](_0x548f63=>_0xd4773f[_0x20b4de(0x620,0x556,0x615,0x7f1)](_0x548f63))];function _0x484097(_0x1dd72b,_0x1ec8e1,_0x2795fc,_0x425eb2){return _0x4eedea(_0x1dd72b-0xd7,_0x1dd72b-_0x2b7855._0x4ad6d3,_0x2795fc,_0x425eb2-_0x2b7855._0x4b6f1a);}function _0x20b4de(_0x16ddda,_0x4ceb4a,_0x31cb38,_0xcbe997){return _0x4eedea(_0x16ddda-0xb1,_0x31cb38-0x507,_0xcbe997,_0xcbe997-_0x3caff8._0x1a258a);}if(_0x31213b['some'](_0x559dd6=>isPathInside(_0x559dd6,_0x394ef1)))return _0x394ef1;throw new ToolExecutionError(_0x20b4de(_0x1dcf4e._0x8739a0,_0x1dcf4e._0xbcc2ff,0x65c,0x7e4)+_0x27f3c2,{'path':_0x27f3c2,'rootDir':_0x4ff2cb,'allowedDirs':_0x31213b});}async function resolveCanonicalAllowedFile(_0x553f8b,_0x561843,_0x40fdaa){const _0x3fcc7d={_0x44cae4:0x65d,_0x37c19b:0x74a,_0x4a6094:0x7a7},_0x46ddc7={_0x9c5cf9:0x56d},_0x56ab19=resolveAllowedPath(_0x553f8b,_0x561843,_0x40fdaa);function _0x512cf6(_0x39317e,_0x3ebc6c,_0x22786e,_0x202fc0){return _0x4eedea(_0x39317e-0x56,_0x3ebc6c-_0x46ddc7._0x9c5cf9,_0x39317e,_0x202fc0-0x58);}const _0x53d434=await realpath(_0x56ab19),_0x58dbe5=[];function _0xc296f0(_0x39fc1d,_0x45c231,_0xe1234b,_0xcf8553){return _0xa5377c(_0x45c231,_0x45c231-0x91,_0xe1234b-0x116,_0xe1234b-0x244);}for(const _0x1ad83b of[_0x553f8b,..._0x561843]){try{_0x58dbe5[_0x512cf6(0x8ac,_0x3fcc7d._0x44cae4,_0x3fcc7d._0x37c19b,0x842)](await realpath(_0x1ad83b));}catch{}}if(!_0x58dbe5['some'](_0x419899=>isPathInside(_0x419899,_0x53d434)))throw new ToolExecutionError('Path\x20is\x20outside\x20allowed\x20directories:\x20'+_0x40fdaa,{'path':_0x40fdaa,'lexicalPath':_0x56ab19,'canonicalPath':_0x53d434,'allowedDirs':_0x58dbe5});const _0x23d852=await stat(_0x53d434);if(!_0x23d852[_0x512cf6(0x635,_0x3fcc7d._0x4a6094,0x602,0x89b)]())throw new ToolExecutionError('Path\x20is\x20not\x20a\x20file:\x20'+_0x40fdaa,{'path':_0x40fdaa,'lexicalPath':_0x56ab19,'canonicalPath':_0x53d434});return{'authoredPath':_0x40fdaa,'lexicalPath':_0x56ab19,'canonicalPath':_0x53d434};}async function assertWorkspaceFile(_0x23eb8c){const _0x71656=await stat(_0x23eb8c);if(!_0x71656['isFile']())throw new ToolExecutionError('Path\x20is\x20not\x20a\x20file:\x20'+_0x23eb8c,{'path':_0x23eb8c});}function isProbablyBinary(_0x254ecf){return _0x254ecf['includes'](0x0);}var MAX_ANCHORED_PREVIEW_BYTES=0x100*0x400,defaultFileSystem2={'readFile':_0x44a226=>_0x20a190(_0x44a226),'stat':_0x589dcd=>_0xef8f2f(_0x589dcd),'atomicWrite':(_0x39b5c2,_0x4a2235,_0x27b2b9)=>atomicReplaceFile(_0x39b5c2,_0x4a2235,_0x27b2b9)};function parseAnchoredInput(_0x2f86a9,_0x1a1c8f){const _0xfe27a3={_0x8ea0ca:0x59a,_0x3fc410:0x3a1,_0x18c451:0x4b8},_0x50fea2={_0x5da48e:0x119,_0x36e6af:0x1a3};if(_0x2f86a9===_0x4ff19e(_0xfe27a3._0x8ea0ca,_0xfe27a3._0x3fc410,_0xfe27a3._0x18c451,0x53e))return parseHashlineFileEditInput(_0x1a1c8f);function _0x4ff19e(_0x1d3353,_0x12d39b,_0x371e65,_0x25b3b9){return _0x4eedea(_0x1d3353-_0x50fea2._0x5da48e,_0x25b3b9-0x308,_0x371e65,_0x25b3b9-_0x50fea2._0x36e6af);}return parseStructuredFileEditInput(_0x1a1c8f);}function stableStringify2(_0x51bc81){const _0x171a46={_0x2d3213:0x11d,_0x24409e:0x39,_0x4b0c79:0x3c4,_0x136fa8:0x5d6,_0x674c17:0x4af,_0x1e8c62:0x2fc,_0x39e235:0x4b5,_0x2eadec:0x480,_0x3013c9:0x5c8,_0x4cb37e:0x37c,_0x16eb49:0x1b7,_0x1d3925:0x5f1,_0x60fffd:0x4cb},_0x53a502={_0x4636df:0x51,_0x336cfc:0x68,_0x4bb62a:0xea},_0x25b03d={_0x179c0e:0x3e6};if(Array[_0x391180(-_0x171a46._0x2d3213,0x131,0x175,-_0x171a46._0x24409e)](_0x51bc81))return'['+_0x51bc81[_0x1bfc80(_0x171a46._0x4b0c79,_0x171a46._0x136fa8,0x511,0x3d4)](stableStringify2)[_0x1bfc80(_0x171a46._0x674c17,0x518,0x4c7,0x3b6)](',')+']';if(_0x51bc81!==null&&typeof _0x51bc81==='object'){const _0x1ba897=_0x51bc81;return'{'+Object[_0x1bfc80(_0x171a46._0x1e8c62,_0x171a46._0x39e235,0x5c6,_0x171a46._0x2eadec)](_0x1ba897)[_0x1bfc80(0x463,0x68c,_0x171a46._0x3013c9,0x50b)]()[_0x1bfc80(_0x171a46._0x4cb37e,_0x171a46._0x16eb49,0x290,0x3d4)](_0x562594=>JSON[_0x391180(0x3d,0x205,0x134,0x460)](_0x562594)+':'+stableStringify2(_0x1ba897[_0x562594]))[_0x1bfc80(_0x171a46._0x1d3925,_0x171a46._0x60fffd,0x280,0x3b6)](',')+'}';}function _0x391180(_0x569e33,_0x2586e1,_0x54e54e,_0x5ae6ad){return _0xa5377c(_0x569e33,_0x2586e1-0x71,_0x54e54e-0xe1,_0x2586e1- -_0x25b03d._0x179c0e);}function _0x1bfc80(_0xfdda7c,_0x23c448,_0x38e44b,_0x2571c9){return _0xa5377c(_0xfdda7c,_0x23c448-_0x53a502._0x4636df,_0x38e44b-_0x53a502._0x336cfc,_0x2571c9-_0x53a502._0x4bb62a);}return JSON['stringify'](_0x51bc81);}function normalizeOperationContent(_0x94a482){const _0x34740f={_0x2012f8:0x9d,_0x264fd8:0x531,_0x452f79:0x273,_0x42a747:0x319,_0x487c99:0x39a,_0x511486:0x335},_0x285e5c={_0x478ae0:0x20f},_0x1da141={_0x448d47:0x14c,_0x446f2d:0xaa};function _0x1b1ce7(_0x1c5dd0,_0x546cca,_0x376bf5,_0x580e66){return _0x4eedea(_0x1c5dd0-0xfc,_0x376bf5- -_0x1da141._0x448d47,_0x580e66,_0x580e66-_0x1da141._0x446f2d);}function _0x358694(_0x5eaab6,_0x1eab56,_0x12adf3,_0x1915a1){return _0x4eedea(_0x5eaab6-0x117,_0x1915a1-_0x285e5c._0x478ae0,_0x1eab56,_0x1915a1-0x165);}if(_0x94a482['operation']===_0x1b1ce7(0x141,_0x34740f._0x2012f8,0x283,0x9c)||_0x94a482[_0x358694(0x6e3,_0x34740f._0x264fd8,0x567,0x52f)]===_0x1b1ce7(0x209,0x3e7,0x293,0x323))return{..._0x94a482,'content':_0x94a482[_0x358694(_0x34740f._0x452f79,_0x34740f._0x42a747,-0x73,0x1d3)][_0x1b1ce7(_0x34740f._0x487c99,0x30e,0x283,_0x34740f._0x511486)](/\r\n/g,'\x0a')};return _0x94a482;}function computePayloadDigest(_0x7080fb){return sha256Bytes(stableStringify2(_0x7080fb['map'](normalizeOperationContent)));}function collectRequiredLines(_0x51ec0f){const _0x21bf49={_0x5f2d9a:0x37c,_0x5286ba:0x5bb,_0x193130:0x47e,_0x2f61ce:0xa2e,_0x2d2a08:0x3d5,_0xcff511:0x123,_0x1e082d:0x444,_0x4a4c49:0x57d,_0x36d9fb:0x6c5},_0x3fac20={_0xa1e05d:0x1ac,_0x26e036:0xa5},_0x33e27e={_0x18064b:0x109,_0x7ec1d1:0x1bf},_0x204d9c=new Set();for(const _0x1629b4 of _0x51ec0f){if(_0x1629b4[_0x2f492a(_0x21bf49._0x5f2d9a,_0x21bf49._0x5286ba,0x3f9,_0x21bf49._0x193130)]===_0x5e3b4e(0x7ea,_0x21bf49._0x2f61ce,0x7fc,0x6ac))_0x204d9c['add'](_0x1629b4[_0x5e3b4e(_0x21bf49._0x2d2a08,0x771,0x60a,0x7d6)]);else for(let _0x5002c4=_0x1629b4['startLine'];_0x5002c4<=_0x1629b4[_0x2f492a(_0x21bf49._0xcff511,0x313,0x47c,0x4cb)];_0x5002c4+=0x1){_0x204d9c[_0x2f492a(_0x21bf49._0x1e082d,_0x21bf49._0x4a4c49,0x61f,_0x21bf49._0x36d9fb)](_0x5002c4);}}function _0x5e3b4e(_0x549f20,_0x208373,_0x44713e,_0x2c2dbd){return _0xa5377c(_0x549f20,_0x208373-_0x33e27e._0x18064b,_0x44713e-_0x33e27e._0x7ec1d1,_0x44713e-0x227);}function _0x2f492a(_0x5b9e57,_0x9bc04,_0x566aa1,_0x5c965e){return _0xa5377c(_0x5b9e57,_0x9bc04-_0x3fac20._0xa1e05d,_0x566aa1-0x199,_0x9bc04-_0x3fac20._0x26e036);}return[..._0x204d9c]['sort']((_0x3991ff,_0x463435)=>_0x3991ff-_0x463435);}async function resolveEditTarget(_0x1993ca,_0x56f501,_0x43b6bd){const _0xcc347a={_0x2f21ad:0x5b1,_0x35b23a:0x43f,_0x31f279:0x3ad,_0x51e50b:0x437,_0x121e47:0x42b,_0x9b50c3:0x617,_0x3d1d6f:0x7e8,_0xf0c02:0x60a},_0x3c732f={_0x2a5382:0x8},_0x33d128={_0x1b8adf:0x1d9,_0x35238e:0xa8};function _0x1a2684(_0x488f61,_0x3b6479,_0x958387,_0x59e312){return _0xa5377c(_0x488f61,_0x3b6479-0x5,_0x958387-_0x33d128._0x1b8adf,_0x958387-_0x33d128._0x35238e);}function _0x2efad3(_0x2c43c8,_0x5e8cf1,_0x5efeb8,_0xc27f0d){return _0xa5377c(_0x2c43c8,_0x5e8cf1-0x4d,_0x5efeb8-0x1ee,_0x5efeb8- -_0x3c732f._0x2a5382);}try{return await resolveCanonicalAllowedFile(_0x1993ca,_0x56f501,_0x43b6bd);}catch(_0x219f13){if(_0x219f13 instanceof ToolExecutionError)throw _0x219f13;const _0x15c4c4=_0x219f13 instanceof Error?_0x219f13['message']:String(_0x219f13);throw createAnchoredFileError('unknown_snapshot',_0x1a2684(_0xcc347a._0x2f21ad,_0xcc347a._0x35b23a,0x455,_0xcc347a._0x31f279)+_0x43b6bd+_0x1a2684(_0xcc347a._0x51e50b,0x395,_0xcc347a._0x121e47,_0xcc347a._0x9b50c3)+_0x15c4c4+_0x2efad3(0x45b,_0xcc347a._0x3d1d6f,_0xcc347a._0xf0c02,0x7ab),{'path':_0x43b6bd});}}async function readLiveSnapshot(_0x5e2f4e,_0x5d92f0){const _0x350878={_0x153677:0x3b0,_0x1650d3:0x75b,_0x42a5f1:0x6a2,_0x412703:0x5b6,_0xd84232:0x547,_0x29dae9:0x322,_0xf0dd22:0x2a1,_0xe09c0b:0x2cd,_0x3626d6:0x1ee,_0x4d60d8:0x4c9,_0x26a897:0x2d2,_0xaec454:0x646},_0x41da7c={_0x648f84:0x1e4,_0x1e9cfd:0x34};function _0x4531b4(_0x4e9271,_0x4a618f,_0x5057d9,_0x5a8f3d){return _0xa5377c(_0x4e9271,_0x4a618f-0xc2,_0x5057d9-0x162,_0x5a8f3d-0x12e);}let _0x3baa57;function _0x38147d(_0x35b047,_0xa5cb3a,_0xcf3388,_0x2bee5f){return _0xa5377c(_0xcf3388,_0xa5cb3a-_0x41da7c._0x648f84,_0xcf3388-0x2f,_0x2bee5f-_0x41da7c._0x1e9cfd);}try{_0x3baa57=await _0x20a190(_0x5e2f4e);}catch(_0x18e29b){const _0x44ff82=_0x18e29b instanceof Error?_0x18e29b[_0x38147d(_0x350878._0x153677,_0x350878._0x1650d3,_0x350878._0x42a5f1,_0x350878._0x412703)]:String(_0x18e29b);throw createAnchoredFileError(_0x4531b4(0x544,0x396,_0x350878._0xd84232,_0x350878._0x29dae9),_0x38147d(_0x350878._0xf0dd22,0x1ab,_0x350878._0xe09c0b,0x3e1)+_0x5d92f0+_0x38147d(_0x350878._0x3626d6,_0x350878._0x4d60d8,0x2ff,_0x350878._0x26a897)+_0x44ff82+_0x38147d(0x640,0x6cf,0x48d,_0x350878._0xaec454),{'path':_0x5d92f0});}return createNormalizedFileSnapshot(_0x5e2f4e,_0x3baa57);}function staleSnapshotMessageText(_0x20e117,_0x42962f){const _0x74e0f5={_0xaf97db:0x7d9,_0x4d2567:0x702,_0x41501b:0x816,_0x3f9ad6:0x758,_0x9512b6:0x5b4},_0x553a0e={_0x4c0892:0x14,_0xcb7f6b:0x238};function _0x62a325(_0x22af28,_0x2ee163,_0x364e52,_0xcfbf24){return _0x4eedea(_0x22af28-0x172,_0x364e52-0x4a6,_0x2ee163,_0xcfbf24-0x3e);}function _0x49677a(_0x2d8b2f,_0x33a4ed,_0x1fd09c,_0x524d5f){return _0x4eedea(_0x2d8b2f-_0x553a0e._0x4c0892,_0x1fd09c-_0x553a0e._0xcb7f6b,_0x33a4ed,_0x524d5f-0x16d);}return{'reasonLine':_0x62a325(_0x74e0f5._0xaf97db,_0x74e0f5._0x4d2567,0x752,0x765)+_0x42962f+'\x20was\x20read.','guidance':'File\x20'+_0x20e117+_0x62a325(_0x74e0f5._0x41501b,_0x74e0f5._0x3f9ad6,0x6a0,_0x74e0f5._0x9512b6)};}function unseenLinesMessageText(){const _0x59facb={_0x144638:0xa9,_0x2bf8a7:0x4fd,_0x92b4c8:0x50b},_0x1a637e={_0x366512:0xcf};function _0x7c714e(_0x22af42,_0xd6339b,_0x107940,_0x48cc57){return _0x4eedea(_0x22af42-0x1ec,_0xd6339b-0xa1,_0x48cc57,_0x48cc57-0x1d4);}function _0x79d328(_0x50bb8d,_0x1841db,_0x10b09d,_0x2c86b8){return _0x4eedea(_0x50bb8d-_0x1a637e._0x366512,_0x1841db- -0x1d8,_0x50bb8d,_0x2c86b8-0x181);}return{'reasonLine':_0x7c714e(0x47f,0x2d3,0x1a8,_0x59facb._0x144638),'guidance':_0x7c714e(0x424,0x2b1,_0x59facb._0x2bf8a7,_0x59facb._0x92b4c8)};}function noChangeMessageText(_0x1495c7,_0x16b0b5){const _0x35c2ff={_0x295d19:0xe4,_0x556075:0x257,_0x404a45:0x3c2,_0x2392aa:0x889,_0xfe1b33:0x712},_0x8a2d6f={_0x1bbefa:0x1ef,_0x3cf841:0x302},_0x13c1fa=_0x16b0b5>=0x3;function _0x3192f9(_0x1be78a,_0x2363da,_0x580468,_0x26c8cb){return _0x4eedea(_0x1be78a-0xa8,_0x2363da-0x5a5,_0x26c8cb,_0x26c8cb-0x1d5);}function _0x430562(_0x165cac,_0x306486,_0x3db240,_0x8d2588){return _0xa5377c(_0x306486,_0x306486-_0x8a2d6f._0x1bbefa,_0x3db240-0x5c,_0x165cac- -_0x8a2d6f._0x3cf841);}return{'reasonLine':_0x430562(-_0x35c2ff._0x295d19,-_0x35c2ff._0x556075,-0x174,0x172)+_0x1495c7+_0x430562(0x2a5,0x9c,0xb0,_0x35c2ff._0x404a45),'guidance':_0x13c1fa?_0x3192f9(0x89a,0x9df,0xa3f,0xb2c):_0x3192f9(_0x35c2ff._0x2392aa,0x8a2,_0x35c2ff._0xfe1b33,0x975)};}function buildRecoveryContext(_0x39596e,_0x38dfc9,_0x15616b,_0x2cc954,_0x5980f7,_0x5a547f){const _0x32f9a7={_0x474498:0x5ff,_0x11101b:0x6e8,_0x3fe2f5:0x4be,_0x1cc31e:0x6f6,_0x59cfb5:0x6f6,_0x2ef251:0x582,_0x3d2adf:0x764,_0x375b87:0x64e,_0x1846c6:0x5fc,_0xe9ef69:0x41a,_0x4fae4b:0x681,_0x199e2e:0x28b,_0x4706f7:0x243,_0x2e5d7c:0x184,_0x8e9e68:0x175,_0xde998f:0x7f,_0x5c62ad:0x111,_0x1680b2:0x1c4,_0x3cacd1:0x1ae,_0x1867a4:0x5af,_0x2c5bdf:0x665,_0x226f12:0x69e,_0x1d7dfb:0x71b,_0x484d0e:0x7d1,_0x62455e:0x52,_0x5da5d5:0x960,_0x325e5d:0x942,_0x333195:0x7db,_0x3129c0:0x8a0,_0x5dec58:0x73c,_0x2cedd8:0x64f,_0x20fa38:0x834,_0x4591fb:0x6e3},_0x5c29a7={_0x312bcf:0xc8,_0x238dbd:0x131},_0x56ef4d={_0x165aea:0xb6,_0x35b89d:0x19c},_0x137d69='['+_0x39596e+'#'+_0x38dfc9[_0x4c2823(_0x32f9a7._0x474498,_0x32f9a7._0x11101b,_0x32f9a7._0x3fe2f5,_0x32f9a7._0x1cc31e)]+']',_0x44b008={'tag':_0x38dfc9[_0x4c2823(0x731,0x6d6,0x889,_0x32f9a7._0x59cfb5)],'digest':_0x38dfc9[_0x4c2823(_0x32f9a7._0x2ef251,_0x32f9a7._0x3d2adf,_0x32f9a7._0x375b87,_0x32f9a7._0x1846c6)],'contextLines':[],'output':_0x5980f7+'\x0a'+_0x137d69+'\x0a'+_0x5a547f},_0x16f792=_0x38dfc9[_0x4c2823(0x422,_0x32f9a7._0xe9ef69,_0x32f9a7._0x4fae4b,0x525)]['length'],_0x31c799=[...new Set(_0x15616b['filter'](_0x3d9672=>Number[_0x4c2823(0x7fc,0xafe,0x92e,0x8b4)](_0x3d9672)&&_0x3d9672>=0x1&&_0x3d9672<=_0x16f792))][_0x7e1e69(_0x32f9a7._0x199e2e,_0x32f9a7._0x4706f7,_0x32f9a7._0x2e5d7c,_0x32f9a7._0x8e9e68)]((_0x3fd3e2,_0xa48bc1)=>_0x3fd3e2-_0xa48bc1);function _0x7e1e69(_0x46386d,_0x409dac,_0x22256b,_0x533da8){return _0x4eedea(_0x46386d-0xc3,_0x533da8- -_0x56ef4d._0x165aea,_0x22256b,_0x533da8-_0x56ef4d._0x35b89d);}function _0x4c2823(_0x456e6e,_0x18b9d6,_0x4f7a22,_0xfc8cd5){return _0x4eedea(_0x456e6e-_0x5c29a7._0x312bcf,_0xfc8cd5-0x4a1,_0x18b9d6,_0xfc8cd5-_0x5c29a7._0x238dbd);}if(_0x31c799[_0x7e1e69(_0x32f9a7._0xde998f,0x2a5,0x86,0x1ae)]===0x0)return _0x44b008;const _0x5c5365=_0x31c799[_0x31c799['length']-0x1]-_0x31c799[0x0]+0x1;if(_0x5c5365>0x14)return _0x44b008;for(const _0x507b29 of _0x31c799){if(!isWithinDisplayColumns(_0x38dfc9[_0x7e1e69(_0x32f9a7._0x5c62ad,0xfb,_0x32f9a7._0x1680b2,-0x32)][_0x507b29-0x1],0x200))return _0x44b008;}const _0x2c03f2=formatAnchoredFileRead({'displayPath':_0x39596e,'snapshot':_0x38dfc9,'lineStart':_0x31c799[0x0],'lineEnd':_0x31c799[_0x31c799[_0x7e1e69(0x302,0x27e,0xff,_0x32f9a7._0x3cacd1)]-0x1],'maxBytes':_0x2cc954});if(_0x2c03f2[_0x4c2823(_0x32f9a7._0x1867a4,_0x32f9a7._0x2c5bdf,_0x32f9a7._0x226f12,_0x32f9a7._0x1d7dfb)]||_0x2c03f2[_0x4c2823(0x898,0x71c,0x8d4,_0x32f9a7._0x484d0e)][_0x7e1e69(0x2b4,0x27c,-_0x32f9a7._0x62455e,0x1ae)]===0x0)return _0x44b008;const _0x1bc07f=_0x5980f7+'\x0a'+_0x2c03f2[_0x4c2823(_0x32f9a7._0x5da5d5,_0x32f9a7._0x325e5d,0x618,0x80c)][_0x4c2823(0x639,_0x32f9a7._0x333195,_0x32f9a7._0x3129c0,_0x32f9a7._0x5dec58)]()+'\x0a'+_0x5a547f;if(Buffer[_0x4c2823(_0x32f9a7._0x2cedd8,_0x32f9a7._0x20fa38,_0x32f9a7._0x4591fb,0x873)](_0x1bc07f,'utf8')>_0x2cc954)return _0x44b008;return{'tag':_0x38dfc9['tag'],'digest':_0x38dfc9['digest'],'contextLines':[..._0x2c03f2[_0x4c2823(0x85c,0x66f,0x622,0x7d1)]],'output':_0x1bc07f};}function assertPreviewWithinBounds(_0x54c6ab,_0x1edc6e,_0x175f75){const _0x1a9e03={_0x307ba8:0x23d,_0x47d0a0:0x4a6,_0x290e4b:0x630,_0x54041e:0x49f,_0x543398:0x37c,_0xe06519:0x602},_0x2e2619={_0x1e71d1:0x1c4,_0x449c52:0x2c1},_0x5f491d={_0x305b7c:0x1a1};function _0x4ef635(_0x4c35bd,_0x2383d1,_0x3678d6,_0x5420cc){return _0x4eedea(_0x4c35bd-0x18e,_0x5420cc-0x18a,_0x3678d6,_0x5420cc-_0x5f491d._0x305b7c);}const _0x10d7cd=_0x54c6ab[_0x4ef635(0x194,0xda,_0x1a9e03._0x307ba8,0x1f9)]((_0x5cec7d,_0x267b99)=>_0x5cec7d+Buffer[_0x4ef635(0x618,0x3f7,0x637,0x55c)](_0x267b99[_0x4ef635(0x2a0,0x68b,0x33f,0x43c)],'utf8')+Buffer[_0x250701(0x754,0x787,0x889,0xa14)](_0x267b99[_0x250701(0x895,0x6e5,0x661,0x686)],'utf8'),0x0);function _0x250701(_0x48cd0f,_0x4562e3,_0xaa4018,_0x17817f){return _0xa5377c(_0x17817f,_0x4562e3-0x2,_0xaa4018-_0x2e2619._0x1e71d1,_0xaa4018-_0x2e2619._0x449c52);}if(_0x10d7cd>MAX_ANCHORED_PREVIEW_BYTES)throw createAnchoredFileError(_0x250701(_0x1a9e03._0x47d0a0,0x436,_0x1a9e03._0x290e4b,_0x1a9e03._0x54041e),'invalid_range:\x20the\x20edit\x27s\x20source-derived\x20preview\x20text\x20is\x20'+_0x10d7cd+_0x4ef635(_0x1a9e03._0x543398,_0x1a9e03._0xe06519,0x2dd,0x511)+MAX_ANCHORED_PREVIEW_BYTES+'-byte\x20bound;\x20narrow\x20the\x20edit\x20range\x20and\x20retry.',{'path':_0x175f75,'canonicalPath':_0x1edc6e,'previewBytes':_0x10d7cd});}function buildPreview(_0x20fc34,_0x195251,_0x5de39a,_0x396d27,_0x2e256d){const _0x2257cd={_0x3c1ee1:0xa1,_0x4f26e5:0x374,_0x1d50e7:0x271,_0x42bd2c:0x465,_0x4b7b84:0x60,_0x4eec55:0x135,_0x1b9780:0x70,_0x24ca37:0x49,_0x1680c3:0x12d,_0x273edd:0x272,_0x170c15:0x13c,_0x4bd339:0x363},_0x2b1faf={_0x387b16:0x6e,_0x5c5cdd:0x1ce},_0x5a1e08={_0x5ed8e4:0x97,_0x17308e:0xe8};function _0x519499(_0x301499,_0x1cc9d7,_0x6f171b,_0x2450d7){return _0x4eedea(_0x301499-_0x5a1e08._0x5ed8e4,_0x6f171b- -0x112,_0x1cc9d7,_0x2450d7-_0x5a1e08._0x17308e);}function _0x39c05c(_0x322755,_0x422c49,_0x381c1a,_0x57963c){return _0x4eedea(_0x322755-0xdd,_0x422c49-_0x2b1faf._0x387b16,_0x57963c,_0x57963c-_0x2b1faf._0x5c5cdd);}return{'mode':_0x20fc34,'filePath':_0x195251[_0x519499(_0x2257cd._0x3c1ee1,-_0x2257cd._0x4f26e5,-0x140,-_0x2257cd._0x1d50e7)],'canonicalPath':_0x5de39a[_0x39c05c(0x30d,0x3ee,_0x2257cd._0x42bd2c,0x576)],'tag':_0x195251[_0x519499(0x1d,_0x2257cd._0x4b7b84,0x143,0x2ab)],'digest':_0x396d27[_0x519499(-_0x2257cd._0x4eec55,-_0x2257cd._0x1b9780,0xad,0x27d)][_0x519499(-0xb7,0x67,_0x2257cd._0x24ca37,_0x2257cd._0x1680c3)],'operationCount':_0x2e256d['operations'][_0x39c05c(_0x2257cd._0x273edd,0x2d2,_0x2257cd._0x170c15,0x1fb)],'operations':_0x2e256d[_0x39c05c(0x402,0x2e0,0x4d8,_0x2257cd._0x4bd339)],'blocks':_0x2e256d['blocks']};}function buildResultText(_0x40bb58,_0x397d0f,_0x101039,_0xd333c0,_0x38dd84){const _0x4da201={_0x3577f4:0x642,_0x205dad:0x7cf,_0x3a8118:0x447,_0x198e36:0x2c6,_0x4cb672:0x79a,_0x50a834:0x5fe,_0x1df815:0x926,_0x30f93b:0x8d1,_0x1d82a0:0x17d,_0x365145:0x2a,_0x53d848:0x5da,_0x2fc48c:0x874},_0x531c89={_0x305fb2:0x188,_0x4a0a78:0x5e},_0x5ccba1='['+_0x40bb58+'#'+_0x397d0f[_0x298536(_0x4da201._0x3577f4,0x839,_0x4da201._0x205dad,0x9d8)]+']\x0a'+_0x38dd84+'\x0a';function _0x51d98a(_0x234754,_0x1272b1,_0x386ef7,_0x25832c){return _0xa5377c(_0x234754,_0x1272b1-0x155,_0x386ef7-0x6b,_0x1272b1- -0x2bc);}let _0x368f9c=Buffer[_0x51d98a(_0x4da201._0x3a8118,0x30c,_0x4da201._0x198e36,0x14a)](_0x5ccba1,'utf8');const _0x41869e=[],_0x204f7e=[];for(const _0x333699 of _0x101039){const _0x16a1b=_0x333699+':'+(_0x397d0f[_0x298536(0x5ee,_0x4da201._0x4cb672,_0x4da201._0x50a834,0x7b1)][_0x333699-0x1]??'')+'\x0a',_0x32045d=Buffer[_0x298536(_0x4da201._0x1df815,_0x4da201._0x30f93b,0x94c,0x9a4)](_0x16a1b,'utf8');if(_0x368f9c+_0x32045d>_0xd333c0)break;_0x41869e[_0x51d98a(-_0x4da201._0x1d82a0,_0x4da201._0x365145,0xb6,-0x87)](_0x16a1b),_0x204f7e[_0x298536(0x4a1,0x42a,0x66a,_0x4da201._0x53d848)](_0x333699),_0x368f9c+=_0x32045d;}function _0x298536(_0x109ca9,_0xff5a7a,_0x15d280,_0x157a56){return _0xa5377c(_0xff5a7a,_0xff5a7a-_0x531c89._0x305fb2,_0x15d280-_0x531c89._0x4a0a78,_0x15d280-0x384);}return{'output':''+_0x5ccba1+_0x41869e[_0x298536(0x72e,0x4be,0x650,_0x4da201._0x2fc48c)](''),'observedLines':_0x204f7e};}function selectChangedContextLines(_0x434aad,_0x5078c0,_0x1cfe66){const _0x42f2a9={_0x5e8ac9:0x25,_0x2bb73b:0x138,_0xb9f758:0xce,_0x4d2a01:0x193,_0x10da05:0x33,_0x205c81:0x396,_0x5487ab:0x111,_0x52a52e:0x167,_0x146a68:0x241,_0x2ec6bd:0x1c1,_0x5f1a89:0x21c,_0x2497a6:0x444,_0x1e7da0:0x23f,_0xdf82b9:0x96,_0x64b40f:0x376,_0x37ebed:0x309,_0x1782a8:0x2e,_0x25697b:0xdf,_0x410ae9:0xd0,_0x56b19a:0x312,_0x15403f:0x9b,_0x1d4ea0:0x20a,_0x5838b4:0x1e9,_0x337b46:0xbc,_0x5da649:0x30e,_0x398165:0x461,_0x4616cb:0x2ac,_0x3dd8c1:0x16c,_0x62f52b:0x29e,_0x4b2f73:0x23f,_0x14792e:0x177,_0x2cd8b0:0x4,_0x5ec2a0:0x1cb,_0x3a7bd4:0x4d,_0x1be2f7:0xf2,_0x2752ec:0x9a,_0x251cf2:0x3f,_0x576073:0x2ae,_0x36b151:0x6e,_0x51615e:0xb3,_0x1c2611:0x371,_0x37a07b:0x1a2,_0x133457:0x4,_0x2f28f7:0x14d,_0x36f312:0xc8,_0x3a4fc1:0xeb,_0x9750fd:0x214,_0x4190c1:0x1e0},_0x419729={_0x2094ce:0xa3,_0x3572e4:0xfe},_0xf5932c={_0x40c92f:0x163};function _0x1e4a47(_0x436048,_0x40ed64,_0x47d3d8,_0x4491a1){return _0x4eedea(_0x436048-0x13c,_0x436048- -_0xf5932c._0x40c92f,_0x47d3d8,_0x4491a1-0x187);}function _0x338b9d(_0x55e302,_0x1da129,_0x5e76de,_0x230f88){return _0x4eedea(_0x55e302-0xf4,_0x1da129- -_0x419729._0x2094ce,_0x230f88,_0x230f88-_0x419729._0x3572e4);}const _0x5d9ff0=new Set();for(const _0xea3aa8 of _0x434aad){const _0x571e8e=_0xea3aa8[_0x338b9d(-0x1a9,-0xb,-0xc8,0x166)];if(_0x1cfe66===_0x338b9d(0x48,-_0x42f2a9._0x5e8ac9,-0x25,0xf0)){if(_0x571e8e[_0x338b9d(0x125,_0x42f2a9._0x2bb73b,_0x42f2a9._0xb9f758,0x116)]>0x0)for(let _0x1a8852=_0x571e8e[_0x1e4a47(-_0x42f2a9._0x4d2a01,_0x42f2a9._0x10da05,-_0x42f2a9._0x205c81,-0x2b)];_0x1a8852<=_0x571e8e[_0x338b9d(-_0x42f2a9._0x5487ab,0x10c,0x37,0xa4)]&&_0x1a8852<=_0x5078c0[_0x1e4a47(-0xdf,-_0x42f2a9._0x52a52e,-_0x42f2a9._0x146a68,-0x24c)][_0x338b9d(0x1e0,_0x42f2a9._0x2ec6bd,_0x42f2a9._0x5f1a89,0x192)];_0x1a8852+=0x1){_0x5d9ff0[_0x338b9d(_0x42f2a9._0x2497a6,_0x42f2a9._0x1e7da0,0x151,0x3e2)](_0x1a8852);}else _0x571e8e[_0x1e4a47(-0x193,-_0x42f2a9._0xdf82b9,-0x278,-_0x42f2a9._0x64b40f)]>=0x1&&_0x571e8e[_0x1e4a47(-0x193,-_0x42f2a9._0x37ebed,-0x1a4,-_0x42f2a9._0x1782a8)]<=_0x5078c0[_0x1e4a47(-_0x42f2a9._0x25697b,-0x1b8,0x4d,-0x6d)][_0x1e4a47(0x101,0x146,_0x42f2a9._0x410ae9,0x24b)]&&_0x5d9ff0['add'](_0x571e8e[_0x1e4a47(-_0x42f2a9._0x4d2a01,-0x3b0,-0x355,-_0x42f2a9._0x56b19a)]);}else{if(_0x571e8e[_0x1e4a47(-_0x42f2a9._0x15403f,-_0x42f2a9._0x1d4ea0,-_0x42f2a9._0x5838b4,-0xad)]>0x0)for(let _0x555194=_0x571e8e[_0x1e4a47(-_0x42f2a9._0x337b46,0x11c,-0x15e,-0x263)];_0x555194<=_0x571e8e[_0x1e4a47(_0x42f2a9._0x5da649,_0x42f2a9._0x398165,_0x42f2a9._0x4616cb,0x4cf)]&&_0x555194<=_0x5078c0[_0x1e4a47(-0xdf,-0x25b,_0x42f2a9._0x3dd8c1,-_0x42f2a9._0x62f52b)][_0x1e4a47(0x101,0x89,0x144,0x88)];_0x555194+=0x1){_0x5d9ff0[_0x338b9d(0x476,0x23f,_0x42f2a9._0x4b2f73,0x1bd)](_0x555194);}else _0x571e8e[_0x338b9d(_0x42f2a9._0x14792e,_0x42f2a9._0x2cd8b0,_0x42f2a9._0x5ec2a0,-_0x42f2a9._0x3a7bd4)]>=0x1&&_0x571e8e[_0x338b9d(0x182,0x4,-_0x42f2a9._0x1be2f7,-_0x42f2a9._0x2752ec)]<=_0x5078c0[_0x1e4a47(-0xdf,_0x42f2a9._0x251cf2,-_0x42f2a9._0x576073,-0x285)][_0x1e4a47(0x101,_0x42f2a9._0x36b151,0x204,0x1eb)]&&_0x5d9ff0[_0x1e4a47(0x17f,0x28a,_0x42f2a9._0x51615e,_0x42f2a9._0x1c2611)](_0x571e8e[_0x338b9d(_0x42f2a9._0x37a07b,_0x42f2a9._0x133457,-0x254,_0x42f2a9._0x2f28f7)]);}}return[..._0x5d9ff0][_0x1e4a47(_0x42f2a9._0x36f312,_0x42f2a9._0x3a4fc1,_0x42f2a9._0x9750fd,_0x42f2a9._0x4190c1)]((_0x4b8d91,_0x1536f9)=>_0x4b8d91-_0x1536f9)['slice'](0x0,0x14);}function throwStaleSnapshot(_0x488f88,_0x5838fe,_0x179e13,_0x2addf9){const _0xe350eb={_0x304209:0x5e7,_0x246fc4:0x4f3,_0x16a00e:0x5a2,_0x2ca211:0x24a,_0x6c7382:0x316,_0x4c0fca:0x21d,_0x4844cb:0xca,_0x128c0b:0x2da,_0x6c0d6:0xce,_0xd7369e:0x4ab,_0x2073d9:0xd2,_0x461c96:0x233},_0x2e9c08={_0x532656:0x460},_0x351d78={_0x126893:0x8};function _0x14e7f7(_0x575de8,_0x24193f,_0x10ae2b,_0x4d81db){return _0xa5377c(_0x10ae2b,_0x24193f-0x15,_0x10ae2b-_0x351d78._0x126893,_0x24193f- -0x135);}function _0x1bc371(_0xec14ef,_0x24849d,_0x256730,_0x16d6cd){return _0x4eedea(_0xec14ef-0x1a1,_0xec14ef-_0x2e9c08._0x532656,_0x24849d,_0x16d6cd-0x8);}throw createAnchoredFileError(_0x1bc371(_0xe350eb._0x304209,0x716,0x3b8,0x4f9),_0x2addf9[_0x14e7f7(_0xe350eb._0x246fc4,0x42c,_0xe350eb._0x16a00e,0x377)],{'path':_0x488f88,'canonicalPath':_0x5838fe,'tag':_0x179e13[_0x14e7f7(_0xe350eb._0x2ca211,_0xe350eb._0x6c7382,0x10f,_0xe350eb._0x4c0fca)],'digest':_0x179e13[_0x1bc371(0x5bb,0x5ed,0x5ef,0x3b1)],..._0x2addf9[_0x14e7f7(_0xe350eb._0x4844cb,_0xe350eb._0x128c0b,_0xe350eb._0x6c0d6,0x8b)]['length']>0x0?{'contextLines':[..._0x2addf9[_0x14e7f7(_0xe350eb._0xd7369e,_0xe350eb._0x128c0b,_0xe350eb._0x2073d9,_0xe350eb._0x461c96)]]}:{}});}function throwUnseenLines(_0x1233d2,_0x2e8cd2,_0x18a45e,_0x1b6ef9,_0x44cc72){const _0x16f740={_0x740e71:0x76b,_0x3531c3:0xb98,_0x19ec7f:0x6da,_0x2aba4e:0x8e8,_0x2c62d5:0x852,_0x2dbbda:0x704,_0x369cd0:0x946,_0x3df4ce:0x7d2,_0x41c81c:0x286,_0x377a19:0x365,_0x15e353:0x6c6,_0x443213:0x796},_0x199635={_0x3d8641:0x176},_0x5dea61={_0xfb00ef:0x1ce,_0x36c91a:0x18c};function _0x102671(_0x576480,_0x1cc066,_0x28392a,_0x15e2bd){return _0x4eedea(_0x576480-_0x5dea61._0xfb00ef,_0x15e2bd-0x57d,_0x576480,_0x15e2bd-_0x5dea61._0x36c91a);}function _0xdbd225(_0x41d4fc,_0x482059,_0x3d9277,_0x5208d7){return _0x4eedea(_0x41d4fc-_0x199635._0x3d8641,_0x5208d7-0x20f,_0x482059,_0x5208d7-0xe8);}throw createAnchoredFileError(_0x102671(0x8a8,_0x16f740._0x740e71,_0x16f740._0x3531c3,0x9ae),_0x44cc72[_0x102671(0xa92,_0x16f740._0x19ec7f,0x818,_0x16f740._0x2aba4e)],{'path':_0x1233d2,'canonicalPath':_0x2e8cd2,'tag':_0x18a45e[_0x102671(_0x16f740._0x2c62d5,_0x16f740._0x2dbbda,_0x16f740._0x369cd0,0x7d2)],'digest':_0x18a45e[_0x102671(0x4b6,_0x16f740._0x3df4ce,0x643,0x6d8)],'requiredLines':[..._0x1b6ef9],..._0x44cc72[_0xdbd225(0x2ae,_0x16f740._0x41c81c,_0x16f740._0x377a19,0x428)]['length']>0x0?{'contextLines':[..._0x44cc72[_0x102671(0x5d4,0x7e3,_0x16f740._0x15e353,_0x16f740._0x443213)]]}:{}});}function throwNoChange(_0x56305c,_0x1f46a7,_0x2a17a5,_0x109f89,_0x27abc7){const _0xdf2ba4={_0x45e916:0x3cf,_0x4f185c:0x6a9,_0x13cccc:0x7aa,_0x39435:0x9e2,_0x44077a:0x357,_0x79197:0x592,_0x5d3b36:0x470,_0x16deaf:0x5f6},_0xbcefe3={_0x4c0068:0x17f,_0x1887f3:0xe6},_0x26db62={_0x42952d:0x11f};function _0x2fdd51(_0x480123,_0x202861,_0x111bdb,_0x190d81){return _0x4eedea(_0x480123-_0x26db62._0x42952d,_0x111bdb-0x555,_0x480123,_0x190d81-0x8d);}function _0x3dee30(_0x18008f,_0x3b4322,_0x112d02,_0x57b73f){return _0xa5377c(_0x57b73f,_0x3b4322-_0xbcefe3._0x4c0068,_0x112d02-_0xbcefe3._0x1887f3,_0x18008f-0x82);}throw createAnchoredFileError('no_change',_0x109f89[_0x3dee30(0x5e3,0x39c,0x787,_0xdf2ba4._0x45e916)],{'path':_0x56305c,'canonicalPath':_0x1f46a7,'tag':_0x2a17a5[_0x2fdd51(0x72b,_0xdf2ba4._0x4f185c,_0xdf2ba4._0x13cccc,_0xdf2ba4._0x39435)],'digest':_0x2a17a5[_0x2fdd51(0x768,0x905,0x6b0,0x556)],'attemptCount':_0x27abc7,..._0x109f89[_0x3dee30(0x491,_0xdf2ba4._0x44077a,0x55a,0x35d)][_0x3dee30(0x4dc,_0xdf2ba4._0x79197,_0xdf2ba4._0x5d3b36,0x3ee)]>0x0?{'contextLines':[..._0x109f89[_0x3dee30(0x491,0x6c4,0x4e6,_0xdf2ba4._0x16deaf)]]}:{}});}async function prepareAnchoredFileEditApproval(_0x9a9012,_0x579857,_0x1b1de9,_0x3e9a1e){const _0x503fd4={_0x18b408:0x4f1,_0x48beed:0x627,_0x24c86f:0x261,_0x3015bd:0xf2,_0x5dc74d:0x246,_0x1493d7:0x33,_0x4b541a:0x475,_0x7d9040:0x28e,_0x5b50a5:0x6f1,_0x137a04:0x5d3,_0x34a66c:0x7f2,_0x3e03e4:0x88c,_0x13386c:0x66b,_0x1a3d85:0x761,_0x3e93b2:0x352,_0x1d3174:0x757,_0x49b798:0x649,_0x5e4c39:0x5ee,_0xfeb444:0x8e3,_0x5df948:0x242,_0xd21b7a:0x667,_0x47afe4:0x1aa,_0x1f4f29:0x267,_0x42a501:0x21,_0x56ac1d:0x5ab,_0x24685c:0x780,_0x1b2e59:0x37a,_0x127ee6:0x2b4,_0x16bad8:0x3d1,_0x5f06f0:0x634,_0x209c19:0x480,_0x500bbb:0x430,_0x4a7cdf:0x444,_0x333736:0x3c4,_0x2e27fd:0x558,_0x30efac:0x5fc,_0xaedb54:0x74a,_0x1882f2:0x64b,_0x17e541:0x8f2,_0x40dd89:0x882,_0x483ca3:0x6d0,_0x97c07c:0x6b2,_0x3d2518:0x7b4,_0xd45f15:0x78c,_0x4fbebe:0x720,_0x4eeba2:0xb8c,_0x5c4259:0x4bf,_0xe06f26:0x77e,_0x3e0e33:0x370,_0x41fb43:0x136,_0x14ea4c:0x38a,_0x52077a:0x44a,_0x1cdf33:0x312,_0x314f08:0x4b0,_0x31137e:0x3bd,_0x45018b:0x544,_0x130c82:0x4e6,_0x42fd74:0x4de,_0x4e5874:0x88c,_0x1a3b1a:0x45d,_0x2ab1da:0x5ca,_0x451a28:0x25b,_0x24faeb:0x486,_0x97d20f:0x6a3,_0x4b6d9f:0x574,_0x5ba53b:0x5d7,_0x3d7679:0x2e8,_0x580a52:0x642,_0x521829:0x247,_0x3565a7:0x175,_0x584718:0x386,_0x7970f3:0x738,_0x54da3c:0x2af,_0x40e703:0x24f,_0x46f6a5:0x4da},_0x30ccfa={_0x4c5692:0x144},_0x2acf54=parseAnchoredInput(_0x9a9012,_0x579857),_0x4bd63d=await resolveEditTarget(_0x3e9a1e[_0x213257(0x437,_0x503fd4._0x18b408,_0x503fd4._0x48beed,0x491)],_0x3e9a1e[_0x213257(_0x503fd4._0x24c86f,0x409,0x328,_0x503fd4._0x3015bd)],_0x2acf54[_0x213257(0x1aa,_0x503fd4._0x5dc74d,0xad,_0x503fd4._0x1493d7)]),{observations:_0x4fd9f5}=_0x3e9a1e;_0x4fd9f5[_0x2ceff8(0x5b1,_0x503fd4._0x4b541a,_0x503fd4._0x7d9040,0x4d3)](_0x1b1de9);const _0x1bce5a=_0x4fd9f5[_0x2ceff8(_0x503fd4._0x5b50a5,0x7a6,_0x503fd4._0x137a04,0x61a)](_0x4bd63d[_0x2ceff8(0x80e,0x961,_0x503fd4._0x34a66c,_0x503fd4._0x3e03e4)],_0x2acf54[_0x2ceff8(0x67f,0x89f,_0x503fd4._0x13386c,_0x503fd4._0x1a3d85)]),_0x54c1c7=await readLiveSnapshot(_0x4bd63d[_0x213257(0x558,0x570,_0x503fd4._0x3e93b2,_0x503fd4._0x1d3174)],_0x2acf54[_0x2ceff8(0x503,0x5d3,_0x503fd4._0x49b798,0x4de)]),_0x5124b9=computePayloadDigest(_0x2acf54[_0x2ceff8(_0x503fd4._0x5e4c39,0x855,_0x503fd4._0xfeb444,0x77e)]);if(_0x54c1c7[_0x213257(0x333,0x38d,_0x503fd4._0x5df948,0x15c)]!==_0x1bce5a['snapshot'][_0x2ceff8(0x612,0x5f8,0x6e3,_0x503fd4._0xd21b7a)]){const {reasonLine:_0x3b8f96,guidance:_0x14ce78}=staleSnapshotMessageText(_0x2acf54[_0x213257(_0x503fd4._0x47afe4,0x299,_0x503fd4._0x1f4f29,-_0x503fd4._0x42a501)],_0x2acf54[_0x2ceff8(0x50a,_0x503fd4._0x56ac1d,_0x503fd4._0x24685c,0x761)]),_0x15316e=buildRecoveryContext(_0x2acf54[_0x2ceff8(0x60f,_0x503fd4._0x1b2e59,0x6ec,0x4de)],_0x54c1c7,collectRequiredLines(_0x2acf54[_0x213257(0x44a,0x1f8,_0x503fd4._0x127ee6,_0x503fd4._0x16bad8)]),_0x3e9a1e['outputBudgetBytes'],_0x3b8f96,_0x14ce78);_0x4fd9f5[_0x2ceff8(_0x503fd4._0x5f06f0,_0x503fd4._0x209c19,0x49d,0x646)](_0x54c1c7,_0x15316e[_0x213257(0x3f1,0x62b,0x4cf,_0x503fd4._0x500bbb)]),throwStaleSnapshot(_0x2acf54[_0x2ceff8(_0x503fd4._0x4a7cdf,0x44e,_0x503fd4._0x333736,0x4de)],_0x4bd63d[_0x213257(_0x503fd4._0x2e27fd,_0x503fd4._0x30efac,_0x503fd4._0xaedb54,_0x503fd4._0x1882f2)],_0x54c1c7,_0x15316e);}let _0x540576;try{_0x540576=prepareCanonicalFileEdit(_0x1bce5a['snapshot'],_0x1bce5a[_0x2ceff8(0x848,_0x503fd4._0x17e541,0x6bc,_0x503fd4._0x40dd89)],_0x2acf54[_0x2ceff8(_0x503fd4._0x483ca3,0x749,0x5d7,0x77e)]);}catch(_0x1f00fe){if(_0x1f00fe instanceof ToolExecutionError&&_0x1f00fe['structured'][_0x2ceff8(_0x503fd4._0x97c07c,_0x503fd4._0x3d2518,_0x503fd4._0xd45f15,0x684)]===_0x2ceff8(0x7bb,_0x503fd4._0x4fbebe,_0x503fd4._0x4eeba2,0x93d)){const _0x2af7b7=_0x1f00fe[_0x213257(0x601,0x4cb,_0x503fd4._0x5c4259,_0x503fd4._0xe06f26)][_0x213257(_0x503fd4._0x3e0e33,_0x503fd4._0x41fb43,0x431,_0x503fd4._0x14ea4c)]??collectRequiredLines(_0x2acf54[_0x213257(_0x503fd4._0x52077a,0x2d0,0x278,0x4ba)]),{reasonLine:_0x35dc37,guidance:_0x5a3874}=unseenLinesMessageText(),_0xafe5c8=buildRecoveryContext(_0x2acf54['filePath'],_0x54c1c7,_0x2af7b7,_0x3e9a1e['outputBudgetBytes'],_0x35dc37,_0x5a3874);_0x4fd9f5[_0x213257(_0x503fd4._0x1cdf33,_0x503fd4._0x314f08,0x475,_0x503fd4._0x500bbb)](_0x54c1c7,_0xafe5c8[_0x213257(0x3f1,0x37a,_0x503fd4._0x31137e,0x5f1)]),throwUnseenLines(_0x2acf54[_0x2ceff8(0x690,_0x503fd4._0x45018b,_0x503fd4._0x130c82,_0x503fd4._0x42fd74)],_0x4bd63d[_0x2ceff8(0x705,0xac8,0x7c2,_0x503fd4._0x4e5874)],_0x54c1c7,_0x2af7b7,_0xafe5c8);}if(_0x1f00fe instanceof ToolExecutionError&&_0x1f00fe['structured'][_0x2ceff8(0x5a1,0x714,0x511,0x684)]===_0x213257(_0x503fd4._0x1a3b1a,_0x503fd4._0x2ab1da,_0x503fd4._0x451a28,_0x503fd4._0x24faeb)){const _0x24888d=_0x4fd9f5[_0x213257(0x5a2,_0x503fd4._0x97d20f,0x370,_0x503fd4._0x4b6d9f)](_0x4bd63d[_0x2ceff8(0x6e2,0xa1c,0xa51,0x88c)],_0x5124b9),{reasonLine:_0x39adcd,guidance:_0x279e9e}=noChangeMessageText(_0x2acf54[_0x2ceff8(0x36b,0x429,_0x503fd4._0x5ba53b,_0x503fd4._0x42fd74)],_0x24888d),_0x21c14a=buildRecoveryContext(_0x2acf54[_0x2ceff8(_0x503fd4._0x3d7679,0x684,_0x503fd4._0x580a52,0x4de)],_0x54c1c7,collectRequiredLines(_0x2acf54[_0x213257(0x44a,0x3d1,_0x503fd4._0x521829,0x3b7)]),_0x3e9a1e['outputBudgetBytes'],_0x39adcd,_0x279e9e);_0x4fd9f5[_0x213257(0x312,0xe2,_0x503fd4._0x3565a7,0x467)](_0x54c1c7,_0x21c14a[_0x213257(0x3f1,_0x503fd4._0x584718,0x5c6,0x364)]),throwNoChange(_0x2acf54['filePath'],_0x4bd63d[_0x213257(0x558,0x76f,0x367,_0x503fd4._0x7970f3)],_0x54c1c7,_0x21c14a,_0x24888d);}throw _0x1f00fe;}assertPreviewWithinBounds(_0x540576[_0x213257(_0x503fd4._0x54da3c,0x71,0x258,_0x503fd4._0x40e703)],_0x4bd63d['canonicalPath'],_0x2acf54[_0x2ceff8(0x41f,_0x503fd4._0x46f6a5,0x6b2,0x4de)]);function _0x213257(_0x2adc5c,_0x119e0c,_0x56874c,_0x1fc5f3){return _0x4eedea(_0x2adc5c-0x16e,_0x2adc5c-0x1d8,_0x56874c,_0x1fc5f3-0x11f);}function _0x2ceff8(_0x7d6466,_0x31b706,_0x234222,_0x219306){return _0x4eedea(_0x7d6466-0x17,_0x219306-0x50c,_0x7d6466,_0x219306-_0x30ccfa._0x4c5692);}return buildPreview(_0x9a9012,_0x2acf54,_0x4bd63d,_0x1bce5a,_0x540576);}async function reResolveUnderLock(_0x2f1d7a,_0x5a938a,_0x2eb0be,_0x1d8727){const _0x198f97={_0x56624b:0x502,_0x3839e9:0x30f,_0x5b0e93:0x36f,_0x4d523b:0x4d8,_0x4ac126:0x36a,_0x1edcd0:0x3c4,_0x39016f:0x378,_0x1296b7:0x82,_0x5725c4:0x65a,_0x5a8fb7:0x18b,_0x2c8902:0x2fd,_0xb46e6e:0x2f6,_0x497d17:0x39b,_0x16d2ff:0x330,_0x485128:0xd6},_0x4e0d5f={_0x16b69a:0x80},_0x211602={_0x4e30af:0x1bd,_0x169203:0x35e,_0x7ea98f:0x1b3};function _0x3e93e7(_0x514849,_0x3dd85f,_0x5c1386,_0x30a0cf){return _0x4eedea(_0x514849-_0x211602._0x4e30af,_0x514849-_0x211602._0x169203,_0x30a0cf,_0x30a0cf-_0x211602._0x7ea98f);}let _0x2a8dba;try{_0x2a8dba=await resolveCanonicalAllowedFile(_0x2f1d7a,_0x5a938a,_0x2eb0be['filePath']);}catch(_0x16dbda){if(_0x16dbda instanceof ToolExecutionError)throw _0x16dbda;const _0x2de4c9=_0x16dbda instanceof Error?_0x16dbda[_0x57b94a(0x40e,_0x198f97._0x56624b,0x466,0x632)]:String(_0x16dbda);throw createAnchoredFileError(_0x3e93e7(0x4e5,_0x198f97._0x3839e9,_0x198f97._0x5b0e93,_0x198f97._0x4d523b),_0x57b94a(0x1a2,_0x198f97._0x4ac126,_0x198f97._0x1edcd0,0x528)+_0x2eb0be[_0x57b94a(_0x198f97._0x39016f,0x148,-0x75,-_0x198f97._0x1296b7)]+_0x3e93e7(0x64c,0x73a,0x86d,_0x198f97._0x5725c4)+_0x2de4c9+');\x20re-read\x20with\x20FileRead\x20first.',{'path':_0x2eb0be['filePath']});}if(_0x2a8dba['canonicalPath']!==_0x1d8727)throw createAnchoredFileError(_0x57b94a(_0x198f97._0x5a8fb7,_0x198f97._0x2c8902,0x43c,_0x198f97._0xb46e6e),_0x3e93e7(0x552,0x706,0x711,_0x198f97._0x497d17)+_0x2eb0be[_0x3e93e7(_0x198f97._0x16d2ff,0x127,0x3de,_0x198f97._0x485128)]+_0x57b94a(0x232,0x27b,0x36e,0x4c7),{'path':_0x2eb0be[_0x3e93e7(0x330,0x1f1,0x1a7,0x21c)],'canonicalPath':_0x2a8dba['canonicalPath']});function _0x57b94a(_0x1478fb,_0x2d203f,_0x5c6199,_0x31c256){return _0xa5377c(_0x31c256,_0x2d203f-0x1dc,_0x5c6199-0x177,_0x2d203f- -_0x4e0d5f._0x16b69a);}return _0x2a8dba;}async function executeAnchoredFileEdit(_0xa5ee1e,_0x2456a9,_0x27728d,_0x21e8e2,_0x427190=defaultFileSystem2){const _0x19b4a2={_0xe5fee5:0x492,_0x342c55:0x540,_0x673121:0x197,_0x416f20:0x7b,_0x390d4f:0x193,_0x25e8b0:0x101,_0x45c2a5:0x70c,_0x459fb4:0x3d3,_0xf4db9a:0x3b2},_0x1a5ff1={_0xceda37:0x9f,_0x5ba15a:0xd6,_0x213412:0x211,_0x4c8981:0x2cb,_0x2d1ee3:0x5ea,_0x2bcfc3:0x8da,_0x1a93ed:0x8f2,_0x2a906e:0x842,_0x17587a:0x703,_0x2ef604:0x169,_0x319ba1:0x3c1,_0x1e846e:0x281,_0xefee7e:0x2b5,_0x95af8e:0x77e,_0x530649:0x39b,_0x14fc8c:0x3f6,_0x2d6149:0x366,_0x5ece37:0x3dc,_0x3e1916:0x72d,_0x1b8b2e:0x70a,_0x5db815:0x341,_0x2708b6:0x2db,_0xe7de36:0x84,_0x2ceec5:0x27a,_0x5df307:0x5f0,_0x4ef892:0x42b,_0x1abfe7:0x3ca,_0x57fa89:0x126,_0x12c64b:0x1a0,_0x433065:0x5cf,_0x5cc04e:0x7f9,_0x42e419:0x7fd,_0x26b9bb:0x440,_0x478e00:0x5e5,_0x5f0215:0x531,_0x152f73:0x815,_0x21dbff:0x878,_0x49cff9:0x654,_0x53a18e:0x68c,_0x41b258:0x216,_0x2031a7:0x376,_0x27c4e6:0x2aa,_0x2710:0xc3,_0x127968:0x8e2,_0x5765a9:0x9d9,_0x4bbdaa:0x254,_0x22298e:0xaa,_0x36fbcb:0x1bd,_0x962333:0xa4,_0x5bab6e:0x56,_0x5d2663:0x19f,_0x243dad:0x126,_0x4c1173:0x92,_0x1f6508:0x85,_0x16e717:0x23e,_0x2c78d0:0xce,_0x14fec8:0xe3,_0x217553:0x156,_0x375f84:0x7c7,_0xe0e1fe:0x5e3,_0x4358dd:0x60d,_0x4f38de:0x8ce,_0x16318e:0x4be,_0x3cc93d:0x1e7,_0x46ebef:0xe,_0x10ebff:0x44c,_0x394ea2:0x34b,_0x5b706c:0x1bd,_0x33fd67:0x119,_0x29dd8a:0x17c,_0x33809c:0x4d,_0x44cdcd:0x10b,_0x206daf:0x16,_0x3e270b:0x85,_0x3e926f:0x4ae,_0x48d9b1:0x62b,_0x40c4d9:0x45f,_0x2daf36:0x318,_0x3801e8:0x293,_0x1beace:0x934,_0x4626de:0x5cc,_0x4648ae:0x9a,_0x4ca018:0x467,_0x339c1f:0x6c2,_0x28d73b:0x5d0,_0x55c80:0x51e,_0x553bc6:0x71f,_0x4282f9:0x243,_0x59b9b2:0x83,_0x41885b:0x8c,_0x2f0962:0x637,_0x18cc30:0x230,_0x268c84:0x198,_0xb45cf6:0x191,_0x514469:0x26b,_0x64ec5:0x66,_0x5e97c1:0x219,_0x222c39:0x34c,_0x86a5fc:0x542,_0x1b5165:0x3c3,_0x49553b:0x6e9,_0x5c0a9f:0x573,_0x1ea597:0x222,_0x291d33:0x43a,_0x1f322c:0x4e3,_0x37ddbf:0x839,_0x2ab8a0:0x71,_0x35f80b:0x133,_0x55258a:0x23a,_0x5726fa:0x440,_0x5a75fe:0x4d9,_0x5bd646:0xd3,_0x317655:0xe3,_0x22dd59:0x58b,_0x55f59f:0x3c0,_0x265f8b:0x526,_0x32d131:0x4a6,_0x3b3b12:0x280,_0x7c0077:0x9af,_0x1d0d78:0x761,_0x5414c2:0x112,_0x3bfebc:0x47b,_0x40e566:0x17,_0x3419bf:0x268,_0xdc258a:0x213,_0x4800ac:0x32f,_0x7144b:0x4fe,_0x2c6873:0xde,_0x2859eb:0x4b6,_0x59a8b9:0x5ad,_0xabf6d2:0x837,_0x5b3faa:0x313,_0x403f25:0x3ee,_0x28fa86:0x417,_0x361bd9:0x5c0,_0x1f19b1:0x813,_0x20ba02:0x77f,_0x5e8068:0x444,_0x36382d:0x48e,_0x1a51c6:0x278,_0x47d3b3:0x10a,_0x2d621f:0x41,_0xc60d6:0x202,_0x5305b8:0x37,_0x206464:0x5c,_0x1b1b2c:0xad,_0x55cbc5:0xbe,_0x38ad12:0x5b5,_0x38edef:0x803,_0x1d6946:0x19b,_0x5c533c:0x5d,_0xe9795:0x800,_0x5c3b6f:0x7af,_0x2e59ce:0x467,_0x59641a:0x35a,_0x5beebb:0x368,_0xce9620:0x2cb,_0x176bb9:0x43,_0x4b10d5:0x248,_0x191d6e:0x2af,_0xf2f284:0x46e,_0x47c9c1:0x6ae,_0x3f33f5:0x4c2,_0x44c68c:0x8c4,_0x5ed6ad:0x6f9,_0x374347:0x63f,_0x5d5b45:0x507,_0x15e8dc:0x2a,_0x4cc77d:0x87,_0x2a2dfb:0x1fd,_0x572305:0xca,_0x47af67:0x18d,_0x3d6b54:0x855,_0x2df69f:0x833,_0x1486cc:0x897,_0x30c53e:0x1b0,_0x355d47:0xee,_0x4e8399:0x50d,_0x5acc98:0x2b1,_0x183599:0x2cb,_0x10f8d4:0x654,_0x57ef94:0x5eb,_0x5d5fb:0x4ed,_0xde993c:0x5f0,_0x4ae6ac:0x733,_0x57ed4a:0x3cf,_0x3d4a48:0x7e3,_0x275377:0x66c,_0x1ef33c:0x808,_0x2d0d45:0x6ea,_0x2cbe85:0x50b,_0x282baf:0x69f,_0x2e3e2e:0x1b6,_0x3c3e01:0xa9,_0x1c22ef:0x9ba},_0x8b6756={_0x5f1790:0x11b},_0x3c26ce={_0x321c98:0x62,_0x28a312:0x10c};function _0x88f3e2(_0x5915d4,_0x4b3da5,_0xae8fb9,_0x4aed72){return _0x4eedea(_0x5915d4-0x1a8,_0x5915d4-_0x3c26ce._0x321c98,_0x4b3da5,_0x4aed72-_0x3c26ce._0x28a312);}const _0x4823ae=parseAnchoredInput(_0xa5ee1e,_0x2456a9),_0x3e129b=await resolveEditTarget(_0x21e8e2[_0x481114(0x424,_0x19b4a2._0xe5fee5,_0x19b4a2._0x342c55,0x443)],_0x21e8e2['allowedDirs'],_0x4823ae[_0x481114(_0x19b4a2._0x673121,-_0x19b4a2._0x416f20,_0x19b4a2._0x390d4f,_0x19b4a2._0x25e8b0)]);function _0x481114(_0x78e10e,_0x13ec5a,_0x4b8c90,_0x28bd59){return _0x4eedea(_0x78e10e-0x11,_0x78e10e-0x1c5,_0x28bd59,_0x28bd59-_0x8b6756._0x5f1790);}return _0x21e8e2['mutations'][_0x88f3e2(0x371,0x149,0x4d3,_0x19b4a2._0x342c55)](_0x3e129b[_0x481114(0x545,_0x19b4a2._0x45c2a5,_0x19b4a2._0x459fb4,0x745)],_0x27728d[_0x481114(0x52c,0x637,_0x19b4a2._0xf4db9a,0x355)],async()=>{const _0x4cde50={_0x56fb80:0x2d0,_0x5acd2f:0x1d1},_0x25dc4b={_0x5b6d51:0x27a,_0x5c6752:0x1c3,_0x542db1:0x167},_0x4aaad2=await reResolveUnderLock(_0x21e8e2[_0x15f968(0x294,0x133,0x1aa,_0x1a5ff1._0xceda37)],_0x21e8e2['allowedDirs'],_0x4823ae,_0x3e129b[_0x15f968(_0x1a5ff1._0x5ba15a,_0x1a5ff1._0x213412,_0x1a5ff1._0x4c8981,0x327)]),{observations:_0x1c1b17}=_0x21e8e2;_0x1c1b17[_0x3fb419(0x45c,_0x1a5ff1._0x2d1ee3,0x244,0x49d)](_0x27728d[_0x3fb419(_0x1a5ff1._0x2bcfc3,_0x1a5ff1._0x1a93ed,_0x1a5ff1._0x2a906e,_0x1a5ff1._0x17587a)]);const _0x322687=_0x1c1b17['resolve'](_0x4aaad2['canonicalPath'],_0x4823ae[_0x15f968(0x1c3,0x241,0x1a0,_0x1a5ff1._0x2ef604)]);let _0x326f5f,_0x2cbf0e;try{[_0x326f5f,_0x2cbf0e]=await Promise['all']([_0x427190[_0x3fb419(0x4a6,_0x1a5ff1._0x319ba1,_0x1a5ff1._0x1e846e,_0x1a5ff1._0xefee7e)](_0x4aaad2['canonicalPath']),_0x427190[_0x3fb419(0x592,_0x1a5ff1._0x95af8e,_0x1a5ff1._0x530649,_0x1a5ff1._0x14fc8c)](_0x4aaad2[_0x15f968(0x3e6,_0x1a5ff1._0x2d6149,_0x1a5ff1._0x4c8981,0x160)])]);}catch(_0x232946){const _0x4c3058=_0x232946 instanceof Error?_0x232946['message']:String(_0x232946);throw createAnchoredFileError(_0x3fb419(0x61c,_0x1a5ff1._0x5ece37,_0x1a5ff1._0x3e1916,0x7e3),_0x3fb419(_0x1a5ff1._0x1b8b2e,0x717,0x82b,0x6dc)+_0x4823ae[_0x3fb419(0x467,_0x1a5ff1._0x5db815,_0x1a5ff1._0x2708b6,0x32e)]+_0x15f968(-0x13d,0x23c,0x5a,_0x1a5ff1._0xe7de36)+_0x4c3058+');\x20re-read\x20with\x20FileRead\x20first.',{'path':_0x4823ae[_0x3fb419(0x467,0x695,_0x1a5ff1._0x2ceec5,0x4eb)]});}const _0xd91199=createNormalizedFileSnapshot(_0x4aaad2['canonicalPath'],_0x326f5f);if(_0xd91199[_0x3fb419(_0x1a5ff1._0x5df307,0x792,_0x1a5ff1._0x4ef892,_0x1a5ff1._0x1abfe7)]!==_0x322687['snapshot']['digest']){const {reasonLine:_0x24c8d8,guidance:_0x2c949}=staleSnapshotMessageText(_0x4823ae[_0x15f968(-0x12b,0x55,-0xe3,-0xa8)],_0x4823ae[_0x15f968(0x24,_0x1a5ff1._0x57fa89,_0x1a5ff1._0x12c64b,0x43)]),_0x26ba06=buildRecoveryContext(_0x4823ae['filePath'],_0xd91199,collectRequiredLines(_0x4823ae['operations']),_0x21e8e2['outputBudgetBytes'],_0x24c8d8,_0x2c949);_0x1c1b17[_0x3fb419(_0x1a5ff1._0x433065,_0x1a5ff1._0x5cc04e,0x599,_0x1a5ff1._0x42e419)](_0xd91199,_0x26ba06[_0x3fb419(0x6ae,0x888,0x495,0x890)]),throwStaleSnapshot(_0x4823ae[_0x3fb419(0x467,_0x1a5ff1._0x26b9bb,_0x1a5ff1._0x478e00,_0x1a5ff1._0x5f0215)],_0x4aaad2[_0x3fb419(_0x1a5ff1._0x152f73,_0x1a5ff1._0x21dbff,0x866,0x984)],_0xd91199,_0x26ba06);}let _0x62bb7e;function _0x15f968(_0x37ab2f,_0x36be50,_0x2e8381,_0x40aec0){return _0x481114(_0x2e8381- -_0x25dc4b._0x5b6d51,_0x36be50-_0x25dc4b._0x5c6752,_0x2e8381-_0x25dc4b._0x542db1,_0x37ab2f);}try{_0x62bb7e=prepareCanonicalFileEdit(_0x322687[_0x3fb419(_0x1a5ff1._0x49cff9,0x55c,_0x1a5ff1._0x53a18e,0x455)],_0x322687[_0x15f968(_0x1a5ff1._0x41b258,0x233,0x2c1,0x16c)],_0x4823ae[_0x15f968(0x401,_0x1a5ff1._0x2031a7,0x1bd,_0x1a5ff1._0x1abfe7)]);}catch(_0x5b74a8){if(_0x5b74a8 instanceof ToolExecutionError&&_0x5b74a8['structured'][_0x15f968(-0x42,_0x1a5ff1._0x27c4e6,_0x1a5ff1._0x2710,0x32)]===_0x3fb419(0x8c6,0x995,_0x1a5ff1._0x127968,_0x1a5ff1._0x5765a9)){const _0x388d2b=_0x5b74a8[_0x15f968(0x5b4,0x276,0x374,0x138)][_0x15f968(_0x1a5ff1._0x4bbdaa,-0x147,0xe3,0x159)]??collectRequiredLines(_0x4823ae[_0x15f968(0x415,_0x1a5ff1._0x22298e,_0x1a5ff1._0x36fbcb,0xc9)]),{reasonLine:_0x457776,guidance:_0x98d143}=unseenLinesMessageText(),_0x32474e=buildRecoveryContext(_0x4823ae['filePath'],_0xd91199,_0x388d2b,_0x21e8e2[_0x15f968(-_0x1a5ff1._0x962333,_0x1a5ff1._0x5bab6e,_0x1a5ff1._0x5d2663,_0x1a5ff1._0x243dad)],_0x457776,_0x98d143);_0x1c1b17[_0x15f968(-0x1a,-_0x1a5ff1._0x4c1173,_0x1a5ff1._0x1f6508,_0x1a5ff1._0x16e717)](_0xd91199,_0x32474e['contextLines']),throwUnseenLines(_0x4823ae[_0x15f968(-0x1b2,-_0x1a5ff1._0x2c78d0,-_0x1a5ff1._0x14fec8,-_0x1a5ff1._0x217553)],_0x4aaad2[_0x3fb419(0x815,_0x1a5ff1._0x375f84,_0x1a5ff1._0xe0e1fe,0x736)],_0xd91199,_0x388d2b,_0x32474e);}if(_0x5b74a8 instanceof ToolExecutionError&&_0x5b74a8['structured'][_0x3fb419(_0x1a5ff1._0x4358dd,0x82c,0x4b3,0x60c)]===_0x3fb419(0x71a,_0x1a5ff1._0x4f38de,_0x1a5ff1._0x16318e,0x595)){const {reasonLine:_0x6de10b,guidance:_0x4f464d}=noChangeMessageText(_0x4823ae[_0x15f968(-_0x1a5ff1._0x3cc93d,-_0x1a5ff1._0x46ebef,-0xe3,0x118)],0x1),_0x49294d=buildRecoveryContext(_0x4823ae[_0x3fb419(0x467,_0x1a5ff1._0x10ebff,0x412,0x4d2)],_0xd91199,collectRequiredLines(_0x4823ae[_0x15f968(_0x1a5ff1._0x394ea2,0x7d,_0x1a5ff1._0x5b706c,_0x1a5ff1._0x33fd67)]),_0x21e8e2[_0x15f968(_0x1a5ff1._0x29dd8a,-_0x1a5ff1._0x33809c,0x19f,0x20b)],_0x6de10b,_0x4f464d);_0x1c1b17[_0x15f968(_0x1a5ff1._0x44cdcd,_0x1a5ff1._0x206daf,_0x1a5ff1._0x3e270b,0x265)](_0xd91199,_0x49294d[_0x3fb419(0x6ae,_0x1a5ff1._0x3e926f,_0x1a5ff1._0x48d9b1,_0x1a5ff1._0x40c4d9)]),throwNoChange(_0x4823ae[_0x3fb419(0x467,_0x1a5ff1._0x2daf36,0x3c0,_0x1a5ff1._0x3801e8)],_0x4aaad2[_0x3fb419(_0x1a5ff1._0x152f73,_0x1a5ff1._0x1beace,_0x1a5ff1._0x4626de,0x5bd)],_0xd91199,_0x49294d,0x1);}throw _0x5b74a8;}assertPreviewWithinBounds(_0x62bb7e[_0x15f968(0x276,_0x1a5ff1._0x4648ae,0x22,0x158)],_0x4aaad2['canonicalPath'],_0x4823ae[_0x3fb419(_0x1a5ff1._0x4ca018,0x4e6,_0x1a5ff1._0x339c1f,_0x1a5ff1._0x28d73b)]);const _0x34889f=_0x62bb7e[_0x3fb419(0x707,_0x1a5ff1._0x55c80,_0x1a5ff1._0x553bc6,0x913)][_0x15f968(_0x1a5ff1._0x4282f9,-_0x1a5ff1._0x59b9b2,0x1af,-_0x1a5ff1._0x41885b)],_0x3b9fdf=serializeNormalizedFile(_0x62bb7e[_0x3fb419(_0x1a5ff1._0x2f0962,0x752,0x505,0x46d)],{'bom':_0xd91199[_0x15f968(_0x1a5ff1._0x18cc30,0x399,0x380,_0x1a5ff1._0x268c84)],'eol':_0xd91199[_0x15f968(0x4a9,_0x1a5ff1._0xb45cf6,0x3b1,0x2a7)]}),_0x2cf935=_0x2cbf0e['mode'];if(_0x4823ae[_0x15f968(-_0x1a5ff1._0x514469,0x1a2,-_0x1a5ff1._0x64ec5,-0x153)]){const _0x51848d=buildResultText(_0x4823ae[_0x3fb419(0x467,0x478,0x412,_0x1a5ff1._0x5e97c1)],_0xd91199,selectChangedContextLines(_0x62bb7e[_0x3fb419(0x56c,0x4e3,0x338,_0x1a5ff1._0x222c39)],_0xd91199,_0x3fb419(_0x1a5ff1._0x86a5fc,0x3ab,0x704,_0x1a5ff1._0x1b5165)),_0x21e8e2[_0x3fb419(_0x1a5ff1._0x49553b,_0x1a5ff1._0x5c0a9f,_0x1a5ff1._0x1b8b2e,0x83c)],_0x15f968(_0x1a5ff1._0x1ea597,_0x1a5ff1._0x291d33,0x30a,0x49a)+_0x34889f+_0x15f968(0x132,0x540,0x36f,_0x1a5ff1._0x1f322c));_0x1c1b17[_0x3fb419(0x5cf,_0x1a5ff1._0x17587a,_0x1a5ff1._0x26b9bb,0x55b)](_0xd91199,_0x51848d['observedLines']);const _0xcde898={'preview':buildPreview(_0xa5ee1e,_0x4823ae,_0x4aaad2,_0x322687,_0x62bb7e),'beforeDigest':_0x322687['snapshot'][_0x3fb419(_0x1a5ff1._0x5df307,0x6e9,0x445,0x449)],'afterDigest':_0xd91199['digest'],'beforeTag':_0x4823ae[_0x3fb419(0x6ea,_0x1a5ff1._0x37ddbf,0x50f,0x587)],'afterTag':_0xd91199['tag'],'bytesWritten':0x0,'dryRun':!![],'operationCount':_0x34889f,'tokenClassification':_0x15f968(_0x1a5ff1._0x2ab8a0,-0x1b1,-0xc4,_0x1a5ff1._0x59b9b2)};return createToolOutput(_0x51848d['output'],_0xcde898);}try{await _0x427190['atomicWrite'](_0x4aaad2[_0x3fb419(0x815,0x96b,0x7c0,0x81e)],_0x3b9fdf,_0x2cf935);}catch(_0x2988f4){const _0x162e38=_0x2988f4 instanceof Error?_0x2988f4[_0x15f968(0x526,0x493,0x2d7,_0x1a5ff1._0x35f80b)]:String(_0x2988f4);throw createAnchoredFileError(_0x15f968(-0x166,_0x1a5ff1._0x55258a,-0x1f,-0x15),_0x15f968(0x97,0xfc,0x223,_0x1a5ff1._0x5726fa)+_0x4823ae['filePath']+':\x20'+_0x162e38+_0x15f968(0x291,_0x1a5ff1._0x5a75fe,0x2cf,0x202),{'path':_0x4823ae[_0x15f968(-0x13d,-_0x1a5ff1._0x5bd646,-_0x1a5ff1._0x317655,0xb)],'canonicalPath':_0x4aaad2[_0x3fb419(0x815,0x96c,0x8ea,0x9e4)]});}let _0x58c3cb,_0x49ece4;try{[_0x58c3cb,_0x49ece4]=await Promise[_0x3fb419(_0x1a5ff1._0x22dd59,_0x1a5ff1._0x55f59f,0x6cb,_0x1a5ff1._0x265f8b)]([_0x427190[_0x3fb419(0x4a6,_0x1a5ff1._0x32d131,_0x1a5ff1._0x3b3b12,0x3da)](_0x4aaad2[_0x3fb419(_0x1a5ff1._0x152f73,_0x1a5ff1._0x7c0077,_0x1a5ff1._0x1d0d78,0x8bd)]),_0x427190[_0x15f968(-_0x1a5ff1._0x5414c2,-0x132,0x48,0x24c)](_0x4aaad2[_0x15f968(_0x1a5ff1._0x3bfebc,0x36a,_0x1a5ff1._0x4c8981,0x153)])]);}catch(_0x8a9417){const _0x2c280b=_0x8a9417 instanceof Error?_0x8a9417['message']:String(_0x8a9417);throw createAnchoredFileError(_0x15f968(0x3fb,_0x1a5ff1._0x40e566,_0x1a5ff1._0x3419bf,0x311),'post_write_drift:\x20Failed\x20to\x20verify\x20'+_0x4823ae[_0x15f968(-0x183,-_0x1a5ff1._0xdc258a,-0xe3,-_0x1a5ff1._0x4800ac)]+_0x3fb419(_0x1a5ff1._0x7144b,0x490,0x4f2,0x3a5)+_0x2c280b+');\x20no\x20rollback\x20was\x20performed.\x20Re-read\x20with\x20FileRead\x20first.',{'path':_0x4823ae[_0x15f968(-0x1dd,-_0x1a5ff1._0x2c6873,-_0x1a5ff1._0x14fec8,0x136)],'canonicalPath':_0x4aaad2['canonicalPath']});}if(!_0x58c3cb[_0x15f968(_0x1a5ff1._0x2859eb,0x65,0x2ac,0x172)](_0x3b9fdf)||(_0x49ece4[_0x3fb419(_0x1a5ff1._0x59a8b9,0x571,0x53d,0x4d0)]&0x1ff)!==(_0x2cf935&0x1ff)){const _0x1e6ada=_0x3fb419(0x772,0x6ba,0x7a6,_0x1a5ff1._0xabf6d2)+_0x4823ae[_0x3fb419(_0x1a5ff1._0x4ca018,0x3de,_0x1a5ff1._0x5b3faa,0x582)]+_0x15f968(0x4d3,_0x1a5ff1._0x403f25,0x2a3,_0x1a5ff1._0x28fa86),_0x274108=_0x3fb419(_0x1a5ff1._0x361bd9,_0x1a5ff1._0x1f19b1,0x412,_0x1a5ff1._0x20ba02);let _0x30d89a;try{_0x30d89a=createNormalizedFileSnapshot(_0x4aaad2[_0x15f968(_0x1a5ff1._0x5e8068,_0x1a5ff1._0x36382d,0x2cb,_0x1a5ff1._0x1a51c6)],_0x58c3cb);}catch{_0x30d89a=void 0x0;}let _0x1439b6;_0x30d89a!==void 0x0?(_0x1439b6=buildRecoveryContext(_0x4823ae[_0x15f968(-_0x1a5ff1._0x47d3b3,-0x1b2,-0xe3,-0x297)],_0x30d89a,selectChangedContextLines(_0x62bb7e['blocks'],_0x30d89a,_0x15f968(_0x1a5ff1._0x2d621f,_0x1a5ff1._0xc60d6,-_0x1a5ff1._0x5305b8,0x208)),_0x21e8e2[_0x15f968(0x1a1,0x199,0x19f,-_0x1a5ff1._0x206464)],_0x1e6ada,_0x274108),_0x1c1b17[_0x15f968(-_0x1a5ff1._0x1b1b2c,0x120,0x85,-_0x1a5ff1._0x55cbc5)](_0x30d89a,_0x1439b6[_0x3fb419(0x6ae,0x6fd,_0x1a5ff1._0x38ad12,_0x1a5ff1._0x38edef)])):_0x1439b6={'tag':'','digest':'','contextLines':[],'output':_0x1e6ada+'\x0a'+_0x274108};throw createAnchoredFileError(_0x15f968(_0x1a5ff1._0x1d6946,_0x1a5ff1._0x5c533c,0x268,0x4a7),_0x1439b6[_0x3fb419(_0x1a5ff1._0xe9795,_0x1a5ff1._0x5c3b6f,0x946,0x9bf)],{'path':_0x4823ae[_0x3fb419(_0x1a5ff1._0x2e59ce,0x43d,_0x1a5ff1._0x1a51c6,_0x1a5ff1._0x59641a)],'canonicalPath':_0x4aaad2[_0x15f968(0x3f3,_0x1a5ff1._0x5beebb,_0x1a5ff1._0xce9620,0xbc)],..._0x30d89a!==void 0x0?{'tag':_0x30d89a[_0x15f968(_0x1a5ff1._0x176bb9,_0x1a5ff1._0x4b10d5,0x1a0,_0x1a5ff1._0x191d6e)],'digest':_0x30d89a[_0x3fb419(0x5f0,_0x1a5ff1._0xf2f284,0x653,0x5ec)]}:{},..._0x1439b6[_0x3fb419(_0x1a5ff1._0x47c9c1,0x4b0,_0x1a5ff1._0x3f33f5,_0x1a5ff1._0x44c68c)][_0x3fb419(_0x1a5ff1._0x5ed6ad,0x5e5,_0x1a5ff1._0x374347,_0x1a5ff1._0x5d5b45)]>0x0?{'contextLines':[..._0x1439b6[_0x15f968(-_0x1a5ff1._0x15e8dc,0x9,0x164,0x21a)]]}:{}});}const _0x5240ee=createNormalizedFileSnapshot(_0x4aaad2['canonicalPath'],_0x58c3cb);function _0x3fb419(_0x55111f,_0x58a566,_0x551935,_0x4ec06b){return _0x481114(_0x55111f-_0x4cde50._0x56fb80,_0x58a566-0x171,_0x551935-_0x4cde50._0x5acd2f,_0x4ec06b);}const _0x35203f=buildResultText(_0x4823ae[_0x15f968(_0x1a5ff1._0x4cc77d,0x38,-0xe3,-_0x1a5ff1._0x2a2dfb)],_0x5240ee,selectChangedContextLines(_0x62bb7e['blocks'],_0x5240ee,_0x15f968(_0x1a5ff1._0x572305,-_0x1a5ff1._0x47af67,-_0x1a5ff1._0x5305b8,-0x94)),_0x21e8e2[_0x15f968(0x12,0x4c,_0x1a5ff1._0x5d2663,_0x1a5ff1._0x394ea2)],_0x3fb419(_0x1a5ff1._0x3d6b54,0x844,_0x1a5ff1._0x2df69f,_0x1a5ff1._0x1486cc)+_0x34889f+'\x20operations.');_0x1c1b17['record'](_0x5240ee,_0x35203f['observedLines']),_0x1c1b17[_0x15f968(_0x1a5ff1._0x30c53e,_0x1a5ff1._0x355d47,0x25d,0x3cb)](_0x4aaad2[_0x15f968(_0x1a5ff1._0x4e8399,_0x1a5ff1._0x5acc98,_0x1a5ff1._0x183599,0x244)]);const _0x44d9f4={'preview':buildPreview(_0xa5ee1e,_0x4823ae,_0x4aaad2,_0x322687,_0x62bb7e),'beforeDigest':_0x322687[_0x3fb419(_0x1a5ff1._0x10f8d4,0x809,_0x1a5ff1._0x57ef94,_0x1a5ff1._0x5d5fb)][_0x3fb419(_0x1a5ff1._0xde993c,_0x1a5ff1._0x4ae6ac,_0x1a5ff1._0x57ed4a,_0x1a5ff1._0x3d4a48)],'afterDigest':_0x5240ee[_0x3fb419(0x5f0,_0x1a5ff1._0x275377,_0x1a5ff1._0x1ef33c,0x57e)],'beforeTag':_0x4823ae[_0x3fb419(_0x1a5ff1._0x2d0d45,_0x1a5ff1._0x2cbe85,0x696,_0x1a5ff1._0x282baf)],'afterTag':_0x5240ee[_0x15f968(_0x1a5ff1._0x2e3e2e,_0x1a5ff1._0x394ea2,_0x1a5ff1._0x12c64b,_0x1a5ff1._0x3c3e01)],'bytesWritten':_0x3b9fdf['length'],'dryRun':![],'operationCount':_0x34889f,'tokenClassification':_0x3fb419(0x486,0x49f,_0x1a5ff1._0x5d5b45,0x63b)};return createToolOutput(_0x35203f[_0x3fb419(0x800,0x80d,0x753,_0x1a5ff1._0x1c22ef)],_0x44d9f4);});}import{readFile as _0x5e23a1,stat as _0x1d25a1}from'fs/promises';import*as _0x2dd4bd from'path';function detectEol(_0x5b6c28){const _0x43b21c={_0x11622a:0x63b,_0x147757:0x3e4,_0x650ecd:0x22c,_0x3e032c:0x612,_0x34aaf9:0x40c,_0x5b0641:0x283,_0xf47072:0x4f0,_0x2b60ec:0x574},_0x4536e0={_0x5d74b4:0xd8,_0x71a119:0x19e},_0x2bce72={_0x19cbcd:0x4c,_0x1a01e1:0x44};function _0x305cd0(_0x256307,_0x17dbaa,_0xcf7e71,_0x3f3269){return _0x4eedea(_0x256307-0x2a,_0x3f3269- -_0x2bce72._0x19cbcd,_0x256307,_0x3f3269-_0x2bce72._0x1a01e1);}function _0x74eb40(_0x18e8d5,_0x21a7ed,_0x1d6aae,_0x1422ea){return _0xa5377c(_0x18e8d5,_0x21a7ed-_0x4536e0._0x5d74b4,_0x1d6aae-_0x4536e0._0x71a119,_0x21a7ed-0x2fe);}return/\r\n/[_0x74eb40(0x7b6,_0x43b21c._0x11622a,0x40d,_0x43b21c._0x147757)](_0x5b6c28[_0x305cd0(_0x43b21c._0x650ecd,_0x43b21c._0x3e032c,0x558,_0x43b21c._0x34aaf9)](_0x305cd0(0x3c1,_0x43b21c._0x5b0641,0xc5,0x307)))?_0x74eb40(_0x43b21c._0xf47072,_0x43b21c._0x2b60ec,0x5ec,0x376):'lf';}function normalizeToLf(_0x540a75){const _0x5a2e34={_0x2485d6:0x926,_0x6116cd:0x8cf,_0xd5c009:0x7a3},_0x2745e9={_0x42c83c:0x53};function _0x20996f(_0x3baf79,_0x392360,_0x4270eb,_0x376351){return _0xa5377c(_0x4270eb,_0x392360-0x17c,_0x4270eb-_0x2745e9._0x42c83c,_0x392360-0x1cf);}return _0x540a75[_0x20996f(_0x5a2e34._0x2485d6,0x794,_0x5a2e34._0x6116cd,_0x5a2e34._0xd5c009)](/\r\n/g,'\x0a');}function convertEol(_0x5b7d1b,_0x320b67){const _0x204e5c={_0x14d535:0x481,_0x3c280d:0x314,_0x257341:0x23e,_0x4ae679:0x663,_0x3d9627:0x688},_0x15cad2={_0x101e3:0x17d},_0x56ddec={_0x4c86ba:0x193};function _0x260c78(_0x395648,_0x38d03b,_0x10a858,_0x220680){return _0xa5377c(_0x38d03b,_0x38d03b-_0x56ddec._0x4c86ba,_0x10a858-0x1b9,_0x395648-0x1b5);}function _0x51b6bb(_0x157c47,_0x2ee3e2,_0x2086d8,_0x27bcd5){return _0x4eedea(_0x157c47-0xa2,_0x2086d8-0x294,_0x157c47,_0x27bcd5-_0x15cad2._0x101e3);}return _0x320b67===_0x51b6bb(_0x204e5c._0x14d535,0x332,_0x204e5c._0x3c280d,_0x204e5c._0x257341)?_0x5b7d1b[_0x51b6bb(0x4ab,0x6f5,_0x204e5c._0x4ae679,_0x204e5c._0x3d9627)](/\n/g,'\x0d\x0a'):_0x5b7d1b;}function resolveAnchoredEditTarget(_0x21af08,_0x5e5c3f,_0xfaebad,_0x1939d1){const _0x339287={_0x1d6fd1:0x519,_0x36a02a:0x3a9,_0x467504:0x42c,_0x369f8a:0x61d,_0x4665f4:0x85f,_0x5e1571:0x5ed,_0x593601:0x4f2,_0x59ef21:0x447,_0x57794d:0x6d8,_0x287c97:0x658,_0x5819a1:0x675,_0x11b2c9:0x52f,_0x4b894f:0x2c6,_0x24e71b:0x3ee,_0x3c5619:0x2dc,_0xb172a7:0x5d4,_0x4cee18:0x791},_0x24b83b={_0x59e0f7:0x1e5},_0x530708={_0x10a36f:0x135};function _0x1c512d(_0x67a2f4,_0x54a167,_0x4fc59e,_0x519198){return _0xa5377c(_0x54a167,_0x54a167-_0x530708._0x10a36f,_0x4fc59e-0x9d,_0x67a2f4-0x2ce);}const _0x2fc972=_0x21af08[_0x52e7d3(_0x339287._0x1d6fd1,_0x339287._0x36a02a,0x450,_0x339287._0x467504)]??_0x1c512d(_0x339287._0x369f8a,_0x339287._0x4665f4,_0x339287._0x5e1571,_0x339287._0x593601);if(_0x2fc972==='exact')return void 0x0;const _0x5575d3=_0x21af08['observations'],_0x29972c=_0x21af08[_0x52e7d3(_0x339287._0x59ef21,0x2d0,0x3f1,0x3be)];function _0x52e7d3(_0x2fbedd,_0x1c2ba9,_0x484f5a,_0x288529){return _0xa5377c(_0x288529,_0x1c2ba9-_0x24b83b._0x59e0f7,_0x484f5a-0x1f3,_0x484f5a-0x142);}const _0x3de06b=_0x21af08['outputBudgetBytes'];if(_0x5575d3===void 0x0||_0x29972c===void 0x0||_0x3de06b===void 0x0){const _0x4be089=[_0x5575d3===void 0x0?_0x1c512d(_0x339287._0x57794d,_0x339287._0x287c97,0x8f2,_0x339287._0x5819a1):void 0x0,_0x29972c===void 0x0?'mutations':void 0x0,_0x3de06b===void 0x0?'outputBudgetBytes':void 0x0][_0x52e7d3(_0x339287._0x11b2c9,0x6bf,0x54b,0x42d)](_0x360587=>_0x360587!==void 0x0)['join'](',\x20');throw new Error(_0x5e5c3f+'\x20'+_0x2fc972+_0x52e7d3(_0x339287._0x4b894f,0x46e,_0x339287._0x24e71b,_0x339287._0x3c5619)+_0x4be089+_0x52e7d3(0x754,_0x339287._0xb172a7,_0x339287._0x4cee18,0x84c));}return{'mode':_0x2fc972,'environment':{'defaultCwd':_0xfaebad,'allowedDirs':_0x1939d1,'observations':_0x5575d3,'mutations':_0x29972c,'outputBudgetBytes':_0x3de06b}};}function createFileEditTool(_0x1ec044={}){const _0x2d3386={_0x55d757:0x7b9,_0x347c3d:0xdb,_0xe1d878:0x87,_0x3c0369:0x1a5,_0xde14fd:0x94e,_0x282b6a:0x683,_0x57b53d:0x61c,_0x44b12d:0x7e8,_0x2e905b:0x945,_0x57d3af:0x92c,_0x28533e:0x7da,_0x4232ef:0x722,_0x402fc8:0x713,_0x222bbc:0x90a,_0x3ce0f4:0x8cb,_0x3915ba:0xa94,_0x2d0c17:0xa7b,_0x5858c7:0x7f,_0x377e69:0xff,_0x107ef5:0x471,_0xc1a32d:0xa20,_0x5933c7:0xa6e,_0x238e7a:0xaa6,_0x18f910:0xfe,_0x229146:0x1fa,_0x30dec1:0x296,_0x4ab740:0x4d0,_0x52120f:0x412,_0x2d051c:0x2ad,_0x325b3b:0xeb,_0x3707f6:0x3dd,_0x25ad7b:0xb24,_0x404e06:0xbce,_0x31624c:0x201,_0x202306:0x9f7,_0x451e5a:0xa61,_0x24b231:0x41a,_0x46e0d0:0x463,_0x38df93:0xd,_0xd2b50f:0x22,_0x1bf3e2:0x62},_0x36ef32={_0x3d3190:0x78a,_0x61e70e:0x5f8,_0x3ff03d:0x53a,_0x1d21f8:0x3ca,_0x18fb6f:0x4f0,_0x4004d8:0x4a4,_0x193172:0x574,_0x4f96a8:0x2bd,_0x22de30:0x33e,_0x453498:0x132,_0x16f954:0x3c9,_0x209ee6:0x5aa,_0x21145a:0x745,_0x3c2a59:0x6e2,_0x1142a2:0x363,_0x4f73da:0x6c,_0x86e572:0x1d4,_0x438d1d:0x1aa,_0x1f2c16:0x1b7,_0x3f3d73:0x500,_0x114bf1:0x5b3,_0x293675:0x478,_0x7d667c:0x54b,_0x1df253:0x3d6,_0xf81138:0x395,_0x3ae7d0:0x5da,_0x363c4c:0x401,_0x40a71d:0x45e,_0xd12691:0x3d9,_0x199182:0x775,_0xa251b3:0x3dd,_0x1c5918:0x5ab,_0x384778:0x47d,_0xaed996:0x2be,_0x42e7b9:0x318,_0x257606:0xdf,_0x37cdbc:0x386,_0x24aba4:0x4f0,_0x2d5cf8:0x4cb,_0x130b8b:0x43b,_0x24881a:0x3f0,_0x3547aa:0x47,_0x539730:0x35,_0x27e528:0x52b,_0x39fa29:0x676,_0x2d63bc:0x2f5,_0x250cc1:0x3de,_0xeb9205:0x4de,_0x3422b1:0x422},_0x433024={_0x333743:0x158,_0x1b043e:0x152},_0x567ce0={_0x38854a:0x1b8},_0x4cb6f7=_0x2dd4bd[_0x229c60(0x6a1,0x5e6,0x771,_0x2d3386._0x55d757)](_0x1ec044[_0x41c65c(0xa8,-_0x2d3386._0x347c3d,_0x2d3386._0xe1d878,-_0x2d3386._0x3c0369)]??process[_0x229c60(0x7fd,_0x2d3386._0xde14fd,_0x2d3386._0x282b6a,0x609)]()),_0x2d439=_0x1ec044[_0x229c60(_0x2d3386._0x57b53d,0x46f,0x3e4,_0x2d3386._0x44b12d)]??[],_0x22f93e=_0x1ec044[_0x229c60(_0x2d3386._0x2e905b,_0x2d3386._0x57d3af,_0x2d3386._0x28533e,_0x2d3386._0x4232ef)]??_0x229c60(0x5a6,0x726,0x73d,_0x2d3386._0x402fc8),_0x25083c=resolveAnchoredEditTarget(_0x1ec044,_0x22f93e,_0x4cb6f7,_0x2d439);function _0x229c60(_0x25f022,_0xdda19,_0x211ace,_0x545256){return _0x4eedea(_0x25f022-_0x567ce0._0x38854a,_0x25f022-0x593,_0x211ace,_0x545256-0xa6);}function _0x41c65c(_0x16b5ff,_0x5573b0,_0x44fb43,_0x31a350){return _0x4eedea(_0x16b5ff-_0x433024._0x333743,_0x16b5ff- -0x1b7,_0x31a350,_0x31a350-_0x433024._0x1b043e);}if(_0x25083c!==void 0x0){const {mode:_0x5eeb13,environment:_0x2ae59b}=_0x25083c;return defineTool({'name':_0x22f93e,'permissionClass':_0x229c60(_0x2d3386._0x222bbc,_0x2d3386._0x3ce0f4,_0x2d3386._0x3915ba,_0x2d3386._0x2d0c17),'description':_0x5eeb13===_0x41c65c(_0x2d3386._0x5858c7,0x14f,0x3c,_0x2d3386._0x377e69)?_0x41c65c(0x2c4,0x309,0x421,_0x2d3386._0x107ef5):_0x229c60(0x96b,_0x2d3386._0xc1a32d,_0x2d3386._0x5933c7,_0x2d3386._0x238e7a),'inputSchema':_0x5eeb13==='hashline'?hashlineFileEditInputSchema:structuredFileEditInputSchema,async *'execute'(_0xfcd49c,_0x4cd303){return yield await executeAnchoredFileEdit(_0x5eeb13,_0xfcd49c,_0x4cd303,_0x2ae59b),void 0x0;}});}return defineTool({'name':_0x22f93e,'permissionClass':_0x41c65c(0x1c0,_0x2d3386._0x18f910,_0x2d3386._0x229146,0x1dd),'description':_0x41c65c(_0x2d3386._0x30dec1,0x4e3,_0x2d3386._0x4ab740,_0x2d3386._0x52120f),'inputSchema':{'type':'object','properties':{'filePath':{'type':_0x41c65c(_0x2d3386._0x2d051c,0x23f,_0x2d3386._0x325b3b,_0x2d3386._0x3707f6)},'description':{'type':_0x229c60(0x9f7,_0x2d3386._0x25ad7b,_0x2d3386._0x404e06,0xa52),'description':_0x41c65c(-0x40,0xfb,-_0x2d3386._0x31624c,0x17b)},'oldText':{'type':_0x229c60(_0x2d3386._0x202306,0xc12,0x7ee,_0x2d3386._0x451e5a)},'newText':{'type':_0x41c65c(0x2ad,_0x2d3386._0x24b231,_0x2d3386._0x46e0d0,0x2f5)},'dryRun':{'type':'boolean'}},'required':['filePath','oldText',_0x41c65c(-_0x2d3386._0x38df93,-_0x2d3386._0xd2b50f,-0x127,_0x2d3386._0x1bf3e2)]},async *'execute'(_0x1accb1){const _0x2f096c={_0x1ebadb:0x24d,_0x1278b1:0x166},_0x58097b=resolveAllowedPath(_0x4cb6f7,_0x2d439,_0x1accb1['filePath']);await assertWorkspaceFile(_0x58097b);const _0x818645=await _0x1d25a1(_0x58097b),_0x34c09c=await _0x5e23a1(_0x58097b),_0x499683=detectEol(_0x34c09c),_0x4b752e=normalizeToLf(_0x34c09c['toString']('utf8'));function _0x40c696(_0x4b37a1,_0x5c250f,_0x598d2f,_0x55ab7f){return _0x229c60(_0x5c250f- -_0x2f096c._0x1ebadb,_0x5c250f-_0x2f096c._0x1278b1,_0x55ab7f,_0x55ab7f-0xb1);}const _0x3f3acc=normalizeToLf(_0x1accb1[_0x40c696(_0x36ef32._0x3d3190,_0x36ef32._0x61e70e,_0x36ef32._0x3ff03d,0x60c)]),_0x1f822d=normalizeToLf(_0x1accb1[_0x40c696(_0x36ef32._0x1d21f8,_0x36ef32._0x18fb6f,_0x36ef32._0x4004d8,0x533)]),_0x5566d8=replaceFirstExact(_0x4b752e,_0x3f3acc,_0x1f822d);function _0x4fcf09(_0x5e858f,_0xacd28d,_0x37ed32,_0x52384c){return _0x229c60(_0x37ed32- -0x39b,_0xacd28d-0x127,_0xacd28d,_0x52384c-0x107);}if(_0x5566d8===void 0x0){const _0x2c9bca=_0x3f3acc[_0x4fcf09(0x660,0x709,_0x36ef32._0x193172,0x516)](0x0,0x64)['replace'](/\n/g,'\x5cn');throw new ToolExecutionError(_0x4fcf09(0x16f,_0x36ef32._0x4f96a8,_0x36ef32._0x22de30,_0x36ef32._0x453498)+_0x2c9bca+(_0x3f3acc[_0x40c696(_0x36ef32._0x16f954,_0x36ef32._0x209ee6,_0x36ef32._0x21145a,_0x36ef32._0x3c2a59)]>0x64?_0x4fcf09(_0x36ef32._0x1142a2,-_0x36ef32._0x4f73da,_0x36ef32._0x86e572,_0x36ef32._0x438d1d):'')+'\x22',{'filePath':_0x1accb1[_0x4fcf09(0x75,_0x36ef32._0x1f2c16,0x1ca,-0x47)]});}const _0x3e2a7d=convertEol(_0x5566d8[_0x40c696(_0x36ef32._0x3f3d73,0x3c4,_0x36ef32._0x114bf1,0x5cc)],_0x499683),_0x47fe3a=Buffer[_0x4fcf09(_0x36ef32._0x293675,0x3e4,0x55a,0x3c2)](_0x3e2a7d,_0x4fcf09(0x311,0x3e4,_0x36ef32._0x7d667c,0x761)),_0x59aee2=sha256Bytes(_0x34c09c),_0x7ac309=sha256Bytes(_0x47fe3a),_0x4f5f68=_0x59aee2===_0x7ac309,_0x58fdf7=_0x1accb1[_0x40c696(_0x36ef32._0x1df253,_0x36ef32._0xf81138,0x279,_0x36ef32._0x3ae7d0)]??![];return!_0x58fdf7&&!_0x4f5f68&&await atomicReplaceFile(_0x58097b,_0x47fe3a,_0x818645[_0x40c696(_0x36ef32._0x363c4c,_0x36ef32._0x40a71d,_0x36ef32._0xd12691,0x652)]),yield createToolOutput(_0x4f5f68?_0x40c696(_0x36ef32._0x199182,0x605,0x4a9,0x621):_0x58fdf7?'Validated\x20(dry\x20run:\x20no\x20write).':_0x40c696(0x2fd,_0x36ef32._0xa251b3,_0x36ef32._0x1c5918,_0x36ef32._0x384778),{'filePath':_0x1accb1[_0x40c696(_0x36ef32._0xaed996,_0x36ef32._0x42e7b9,0x47f,_0x36ef32._0x257606)],'resolvedPath':_0x58097b,'created':_0x818645[_0x4fcf09(_0x36ef32._0x37cdbc,_0x36ef32._0x24aba4,0x50e,_0x36ef32._0x2d5cf8)][_0x4fcf09(0x372,0x42a,0x262,_0x36ef32._0x130b8b)](),'modified':_0x818645[_0x40c696(0x473,0x32b,_0x36ef32._0x24881a,0x24b)][_0x4fcf09(_0x36ef32._0x3547aa,0x1ef,0x262,_0x36ef32._0x539730)](),'size':_0x818645['size'],'eol':_0x499683,'oldTextLength':_0x3f3acc[_0x4fcf09(0x5d1,_0x36ef32._0x27e528,0x45c,0x5f5)],'newTextLength':_0x1f822d[_0x4fcf09(0x2c7,_0x36ef32._0x39fa29,0x45c,0x2c2)],'bytesWritten':_0x4f5f68||_0x58fdf7?0x0:_0x47fe3a['length'],'beforeSha':_0x59aee2,'afterSha':_0x7ac309,'dryRun':_0x58fdf7,'noChange':_0x4f5f68,'lineNumbers':_0x5566d8[_0x40c696(_0x36ef32._0x2d63bc,_0x36ef32._0x250cc1,_0x36ef32._0xeb9205,_0x36ef32._0x3422b1)]}),void 0x0;}});}var FileMutationCoordinator=class{[_0x4eedea(0x90,0x228,0x349,0xe3)]=new Map();async[_0xa5377c(0x310,0x53c,0x55f,0x505)](_0x27b5c9,_0x51ec38,_0x4a64cc){const _0x2980c2={_0x545043:0x654,_0x387df2:0x5f2,_0x1cd61a:0x6f8,_0x4ead35:0x584,_0x197255:0x602,_0x548735:0x32b,_0x5956ee:0x362,_0x43ff6c:0x186,_0x151e4b:0x40f,_0x1ea786:0x659,_0x40da26:0x24f,_0x3e2b1a:0x56c,_0x55875e:0x405,_0x4d97a4:0x1b1},_0x1b7b72={_0x6e992b:0x413,_0x576f77:0x235,_0x4147ff:0xeb,_0x1b686f:0x162,_0x4f4bc4:0x4b},_0x4ff7f8={_0x3663a5:0x8a,_0x18f262:0x22},_0x32cbfd={_0xb7f778:0x1ba,_0xf7e8e0:0x236};throwIfAborted(_0x51ec38);const _0x4ac3fe=this[_0x35546f(0x69f,_0x2980c2._0x545043,0x53b,_0x2980c2._0x387df2)][_0x35546f(0x835,_0x2980c2._0x1cd61a,_0x2980c2._0x4ead35,_0x2980c2._0x197255)](_0x27b5c9)??Promise[_0x9f226d(_0x2980c2._0x548735,_0x2980c2._0x5956ee,_0x2980c2._0x43ff6c,0x307)](),_0x376ad6=_0x4ac3fe['then'](async()=>{return throwIfAborted(_0x51ec38),_0x4a64cc();});function _0x35546f(_0xf8e309,_0x2430c2,_0x546414,_0x588f46){return _0xa5377c(_0x546414,_0x2430c2-_0x32cbfd._0xb7f778,_0x546414-0x57,_0x2430c2-_0x32cbfd._0xf7e8e0);}const _0x16a465=_0x376ad6[_0x9f226d(_0x2980c2._0x151e4b,0x35a,_0x2980c2._0x1ea786,_0x2980c2._0x40da26)](()=>void 0x0,()=>void 0x0);function _0x9f226d(_0xbc4fe7,_0x3e3a0e,_0x86445a,_0xed1422){return _0xa5377c(_0x86445a,_0x3e3a0e-_0x4ff7f8._0x3663a5,_0x86445a-_0x4ff7f8._0x18f262,_0xbc4fe7-0x27);}return this[_0x9f226d(0x445,0x299,0x27e,_0x2980c2._0x3e2b1a)]['set'](_0x27b5c9,_0x16a465),void _0x16a465[_0x9f226d(0x2b8,0x318,_0x2980c2._0x55875e,_0x2980c2._0x4d97a4)](()=>{const _0x250611={_0x57908e:0x18d,_0x157d26:0x45};function _0x5b518b(_0x4093af,_0x3bd838,_0x57a2bb,_0x1624a5){return _0x35546f(_0x4093af-0x97,_0x1624a5- -_0x250611._0x57908e,_0x3bd838,_0x1624a5-_0x250611._0x157d26);}function _0x56cd67(_0xfe40a8,_0x4a972f,_0x10ca08,_0x19c925){return _0x9f226d(_0x10ca08- -0x2b4,_0x4a972f-0xc4,_0x4a972f,_0x19c925-0x118);}this['tails'][_0x56cd67(_0x1b7b72._0x6e992b,0x3a6,_0x1b7b72._0x576f77,0x46)](_0x27b5c9)===_0x16a465&&this[_0x5b518b(0x53a,0x2b1,0x5bb,0x4c7)][_0x56cd67(-_0x1b7b72._0x4147ff,0x1e0,_0x1b7b72._0x1b686f,-_0x1b7b72._0x4f4bc4)](_0x27b5c9);}),_0x376ad6;}};import{mkdir as _0x40eebb,stat as _0x44f421}from'fs/promises';import*as _0x3882b4 from'path';function createFileNewTool(_0x463e73={}){const _0x552566={_0x595fa3:0x203,_0x386af0:0x7d,_0x273082:0x38c,_0x43f9b1:0x2ba,_0x4a260d:0x4a9,_0x48516b:0x15f,_0xe04aab:0x320,_0x2cec82:0x388,_0x2968e5:0x5e7,_0x2d6691:0x31b,_0x304e2d:0x2a2,_0x5ec707:0x3a0,_0x3393a6:0x710,_0xa63d7b:0x559,_0x5e4861:0x326,_0x1a44e8:0x51f,_0x3c995a:0x239},_0x63f83c={_0x152c83:0x2eb,_0x3e02db:0x1dd,_0x15dab3:0x96,_0x292afa:0x2d3,_0xda441f:0x14a,_0x36f862:0x26c,_0xe3271e:0x559,_0x28cf43:0x797,_0x13a23b:0x6a9,_0x12ff4c:0x13e,_0x1fc2e8:0x3d,_0x2c4a9d:0xde,_0x412a5e:0x127,_0x20e796:0xf1,_0x570e6e:0x1cf,_0x4f49d2:0x2a3,_0x2db2b3:0x583,_0x1dd747:0x6e2,_0x25f676:0x10d,_0xd9fd69:0x166,_0x2fd744:0xcd,_0x26b13f:0x1b0,_0x29b6f8:0x124,_0x30f453:0x1a2,_0x49af79:0x1e6,_0x577510:0x57,_0x573a6b:0x2c8,_0x2c8a00:0xf1,_0x346ce3:0x37b,_0x10ccf5:0x2b3,_0xf1c318:0x20f,_0x3353a3:0xc9,_0x3a7862:0xe2,_0x65b454:0x41,_0xafcaeb:0x263,_0x232e42:0x347,_0x2ef4c0:0x58,_0x115eaf:0x15e,_0x2ab6f9:0x1ae},_0x2266d1={_0x43c898:0x1bc},_0x42b201={_0x3a06f2:0x305,_0x31a467:0x1d6},_0x1838da={_0x5d0b93:0x1de,_0x371c85:0x1bf},_0x5145d2={_0x492504:0xab,_0x266a4a:0x451};function _0x5aa37a(_0x4563e9,_0x421680,_0x32db4a,_0x2e1027){return _0x4eedea(_0x4563e9-_0x5145d2._0x492504,_0x421680-_0x5145d2._0x266a4a,_0x32db4a,_0x2e1027-0x168);}const _0x9ef31f=_0x3882b4['resolve'](_0x463e73[_0x271978(_0x552566._0x595fa3,_0x552566._0x386af0,_0x552566._0x273082,0x17a)]??process[_0x271978(0x20e,0x2e,0x318,-0x45)]()),_0x5b4b6e=_0x463e73[_0x5aa37a(0x625,0x4da,_0x552566._0x43f9b1,_0x552566._0x4a260d)]??[];function _0x271978(_0x2e935b,_0xe658ca,_0x4d4baa,_0x348865){return _0xa5377c(_0xe658ca,_0xe658ca-_0x1838da._0x5d0b93,_0x4d4baa-_0x1838da._0x371c85,_0x2e935b- -0x252);}const _0x1b78e4=_0x463e73[_0x271978(0x356,_0x552566._0x48516b,0x300,_0x552566._0xe04aab)]??_0x271978(_0x552566._0x2cec82,0x1cd,0x56a,_0x552566._0x2968e5),{observations:_0x5b4807,anchored:anchored=![]}=_0x463e73;return defineTool({'name':_0x1b78e4,'permissionClass':_0x271978(_0x552566._0x2d6691,0x51c,_0x552566._0x304e2d,_0x552566._0x5ec707),'description':'Create\x20or\x20overwrite\x20a\x20UTF-8\x20text\x20file\x20in\x20the\x20workspace\x20or\x20allowed\x20directories.','inputSchema':{'type':_0x5aa37a(0x707,0x6ad,_0x552566._0x3393a6,_0x552566._0xa63d7b),'properties':{'filePath':{'type':_0x271978(0x408,_0x552566._0x5e4861,0x3e4,_0x552566._0x1a44e8)},'content':{'type':'string'}},'required':['filePath',_0x271978(-0x98,0xa8,0x10c,-_0x552566._0x3c995a)]},async *'execute'(_0x312c62,_0x465ab5){const _0x1e0bcb=resolveAllowedPath(_0x9ef31f,_0x5b4b6e,_0x312c62[_0x18ff35(_0x63f83c._0x152c83,0x11e,0x1c1,0xbc)]);function _0x18ff35(_0x4a419d,_0x42f332,_0x1327fb,_0x3e3af0){return _0x5aa37a(_0x4a419d-0x74,_0x42f332- -_0x42b201._0x3a06f2,_0x3e3af0,_0x3e3af0-_0x42b201._0x31a467);}const _0x3aaa15=await _0x44f421(_0x1e0bcb)['catch'](()=>void 0x0);function _0xf6030e(_0xc8b9e1,_0x5a6635,_0x492e87,_0x34d963){return _0x271978(_0x34d963- -_0x2266d1._0x43c898,_0x492e87,_0x492e87-0x1f0,_0x34d963-0x3e);}const _0x5daa9a=_0x3aaa15!==void 0x0,_0x122d5f=Buffer[_0xf6030e(_0x63f83c._0x3e02db,_0x63f83c._0x15dab3,_0x63f83c._0x292afa,_0x63f83c._0xda441f)](_0x312c62[_0xf6030e(-0x392,-0x62,-0x1d5,-0x254)],_0x18ff35(_0x63f83c._0x36f862,0x49f,0x430,_0x63f83c._0xe3271e)),_0xdfada0=_0x3aaa15!==void 0x0?_0x3aaa15['mode']&0xfff:0x1b6&~process[_0x18ff35(_0x63f83c._0x28cf43,0x53f,_0x63f83c._0x13a23b,0x750)]();let _0x5b784a;anchored&&_0x5b4807!==void 0x0&&(_0x5b784a=createNormalizedFileSnapshot(_0x1e0bcb,_0x122d5f)[_0xf6030e(0x64,-0xfe,-_0x63f83c._0x12ff4c,_0x63f83c._0x1fc2e8)]);await _0x40eebb(_0x3882b4[_0x18ff35(0x527,0x2f8,_0x63f83c._0x2c4a9d,0x486)](_0x1e0bcb),{'recursive':!![]}),await atomicReplaceFile(_0x1e0bcb,_0x122d5f,_0xdfada0);if(_0x5b784a!==void 0x0&&_0x5b4807!==void 0x0){const _0x36f3a5=await resolveCanonicalAllowedFile(_0x9ef31f,_0x5b4b6e,_0x312c62[_0xf6030e(-0x8e,-0x42a,-_0x63f83c._0x412a5e,-0x246)]),_0x4f3448=createNormalizedFileSnapshot(_0x36f3a5['canonicalPath'],_0x122d5f);_0x5b4807[_0x18ff35(_0x63f83c._0x20e796,0x113,_0x63f83c._0x570e6e,_0x63f83c._0x4f49d2)](_0x465ab5[_0x18ff35(_0x63f83c._0x2db2b3,0x591,_0x63f83c._0x1dd747,0x62e)]),_0x5b4807[_0x18ff35(0x196,0x286,0x226,_0x63f83c._0x25f676)](_0x4f3448,_0x4f3448[_0x18ff35(0x387,0x1d0,_0x63f83c._0xd9fd69,0x3b7)][_0xf6030e(-0x289,_0x63f83c._0x2fd744,-_0x63f83c._0x26b13f,-_0x63f83c._0x29b6f8)]((_0x2a80df,_0x1fe6b1)=>_0x1fe6b1+0x1));}return yield createToolOutput(_0x5b784a===void 0x0?_0x18ff35(0x1e3,0x283,0x142,_0x63f83c._0x30f453)+_0x312c62['filePath']+'.':'['+_0x312c62['filePath']+'#'+_0x5b784a+_0xf6030e(_0x63f83c._0x49af79,-_0x63f83c._0x577510,_0x63f83c._0x573a6b,_0x63f83c._0x2c8a00)+_0x312c62['filePath']+'.',{'filePath':_0x312c62[_0x18ff35(0x15a,0x11e,_0x63f83c._0x346ce3,_0x63f83c._0x10ccf5)],'resolvedPath':_0x1e0bcb,'bytes':_0x122d5f['length'],'lines':_0x312c62[_0x18ff35(0x14,0x110,0x7e,-0x70)][_0xf6030e(-_0x63f83c._0xf1c318,-_0x63f83c._0x3353a3,_0x63f83c._0x3a7862,_0x63f83c._0x65b454)](/\r?\n/)[_0x18ff35(_0x63f83c._0xafcaeb,0x3b0,_0x63f83c._0x232e42,0x2b4)],'created':new Date()[_0xf6030e(-_0x63f83c._0x2ef4c0,-_0x63f83c._0x115eaf,-0x20a,-_0x63f83c._0x2ab6f9)](),'overwritten':_0x5daa9a,..._0x5b784a===void 0x0?{}:{'tag':_0x5b784a}}),void 0x0;}});}var FILE_OBSERVATION_LIMITS={'maxPaths':0x1e,'maxVersionsPerPath':0x4,'maxSnapshotBytes':0x40*0x400*0x400},FileObservationStore=class{[_0x4eedea(0x2d3,0x2df,0x319,0x4f8)];[_0x4eedea(0x2b5,0x296,0x173,0x487)];[_0xa5377c(0x6cc,0x59c,0x61b,0x63b)];[_0x4eedea(-0xa5,0x12,-0xc4,0xb8)]=new Map();[_0x4eedea(0x5e2,0x3af,0x3ab,0x165)]=[];['totalBytes']=0x0;[_0xa5377c(0x2e8,0x584,0x543,0x3f9)]=new Map();[_0xa5377c(0x2b3,0xef,0x248,0x2de)]=new Map();constructor(_0x31c5ef={}){const _0x4719c8={_0x4a596e:0x4af,_0x212dd8:0x4a5,_0x2f2125:0x2aa,_0x18fd0f:0xc5,_0x513293:0x459,_0x10e2f6:0x338},_0xa5d483={_0x2c9460:0x5a},_0x3cd6b8={_0x4237fb:0x4,_0x5e619a:0xe};function _0xbb188e(_0x7776b2,_0x3481e2,_0x419267,_0x3c01ac){return _0x4eedea(_0x7776b2-_0x3cd6b8._0x4237fb,_0x3481e2- -_0x3cd6b8._0x5e619a,_0x7776b2,_0x3c01ac-0x15f);}this[_0x43a741(0x3cc,_0x4719c8._0x4a596e,0x46a,0x494)]={...FILE_OBSERVATION_LIMITS,..._0x31c5ef[_0xbb188e(_0x4719c8._0x212dd8,0x2d1,_0x4719c8._0x2f2125,0xc0)]};function _0x43a741(_0x2376da,_0x438707,_0x206894,_0x23a5f1){return _0x4eedea(_0x2376da-_0xa5d483._0x2c9460,_0x23a5f1-0x1b5,_0x438707,_0x23a5f1-0x1d0);}this[_0xbb188e(_0x4719c8._0x18fd0f,0x288,0x301,0x215)]=_0x31c5ef[_0xbb188e(0x41e,0x288,_0x4719c8._0x513293,_0x4719c8._0x10e2f6)];}[_0x4eedea(-0x13b,-0x39,-0x30,0x176)](_0x20a9b9){const _0x47c7b7={_0x2fcade:0x7b4,_0x20d822:0x59b,_0x10d03b:0x71d,_0x1e1b87:0x6be,_0x2e9b7e:0x6a7},_0x22ebd9={_0x42c553:0x106},_0x4ce3a8={_0x5bd8a2:0x46,_0x24756e:0x279};function _0x3acfc3(_0x509f92,_0x4acf1f,_0x44e11d,_0x5db28e){return _0x4eedea(_0x509f92-_0x4ce3a8._0x5bd8a2,_0x509f92-_0x4ce3a8._0x24756e,_0x44e11d,_0x5db28e-0x1d5);}if(this['sessionId']===_0x20a9b9)return;this[_0x4c4409(_0x47c7b7._0x2fcade,_0x47c7b7._0x20d822,_0x47c7b7._0x10d03b,0x71e)]();function _0x4c4409(_0x15f91f,_0x57a70d,_0x22d887,_0x46ca3f){return _0xa5377c(_0x15f91f,_0x57a70d-0x196,_0x22d887-0x184,_0x57a70d-_0x22ebd9._0x42c553);}this[_0x3acfc3(_0x47c7b7._0x1e1b87,_0x47c7b7._0x2e9b7e,0x871,0x65a)]=_0x20a9b9;}['record'](_0x2ddecf,_0x5bf5dc){const _0x3298dc={_0x2bcb51:0x621,_0x5039dc:0x3a3,_0x35499f:0x13d,_0x408b6f:0x9c,_0x5ec98a:0x92,_0x2bd10f:0x4a6,_0x42c46a:0x1fd,_0xc8b816:0x196,_0x42758c:0xd6,_0x239b3d:0xd8,_0x316720:0x24e,_0x35d8a0:0x2fa,_0x843b72:0x212,_0x49e642:0xe9,_0x21ef33:0x293,_0x573c67:0x789,_0x338c47:0x445,_0x5e69be:0xb2,_0x4ee51a:0x7b,_0x3f462d:0x245,_0x26c146:0x363,_0x4c4954:0x2c4,_0x30f252:0x295,_0x29cb09:0x2b1,_0x58fa39:0x35b,_0x50b7d2:0x718,_0x147a47:0x3d0,_0x762f4c:0x47e,_0x2d4fde:0x560,_0x5bed34:0x731,_0x3e07f0:0x6db,_0x1b2208:0x6d6,_0x1c3708:0x5aa,_0x3450c6:0x733,_0x4f0e8d:0x18d,_0x251c36:0x439,_0x1ed455:0x497,_0x2fde29:0x2b3,_0x215d96:0x26d,_0x2246f6:0x94,_0x2c80f5:0x1ba,_0x119ac1:0x494,_0x3eba10:0x350,_0x34fc69:0x132,_0x163782:0x28a,_0x50f0bd:0x258,_0x714e23:0x42f,_0x30b762:0x55d,_0xa38d43:0x14d,_0x1d1967:0x364,_0x222886:0x6d9,_0x309690:0x38a,_0x57d8ff:0x22c,_0x566282:0xe1,_0x26fcc6:0x2b,_0x3a02e9:0x57c,_0x3fc433:0x5a9},_0x89b88a={_0x332d3a:0x2d},_0x1abf20={_0x2098c5:0x181};if(_0x2ddecf['utf8Bytes']>this[_0x51c77c(_0x3298dc._0x2bcb51,_0x3298dc._0x5039dc,0x743,0x55d)][_0x2188fa(-0xb4,-0x8a,-0x138,-0x142)])throw createAnchoredFileError(_0x51c77c(_0x3298dc._0x35499f,_0x3298dc._0x408b6f,0x20,0x27c),_0x2188fa(_0x3298dc._0x5ec98a,0x1bd,0x28e,_0x3298dc._0x2bd10f)+_0x2ddecf[_0x2188fa(-0xa,0x3c4,_0x3298dc._0x42c46a,_0x3298dc._0xc8b816)]+_0x2188fa(0x132,-_0x3298dc._0x42758c,-_0x3298dc._0x239b3d,-_0x3298dc._0x316720)+_0x2ddecf[_0x51c77c(0x40f,_0x3298dc._0x35d8a0,_0x3298dc._0x843b72,0x380)]+_0x2188fa(-_0x3298dc._0x49e642,0x233,0x6d,_0x3298dc._0x21ef33)+this[_0x51c77c(_0x3298dc._0x573c67,0x746,0x6da,0x55d)][_0x51c77c(_0x3298dc._0x338c47,0x1af,_0x3298dc._0x5e69be,0x2c9)]+_0x2188fa(0x1cd,0x3,_0x3298dc._0x4ee51a,_0x3298dc._0x3f462d),{'path':_0x2ddecf[_0x2188fa(_0x3298dc._0x26c146,0x11a,0x1fd,0x3c4)],'size':_0x2ddecf['utf8Bytes']});const _0x3f31f7=this['tagForDigest']?this['tagForDigest'](_0x2ddecf['digest']):_0x2ddecf[_0x2188fa(_0x3298dc._0x4c4954,_0x3298dc._0x30f252,0xd2,_0x3298dc._0x29cb09)],_0x461256=this[_0x51c77c(0x404,0x15b,_0x3298dc._0x58fa39,0x290)][_0x51c77c(0x633,0x51f,_0x3298dc._0x50b7d2,0x54a)](_0x2ddecf['canonicalPath']),_0xf5d65b=_0x461256?.['find'](_0x2901f4=>_0x2901f4[_0x51c77c(0x474,0x352,0x4f9,0x43d)][_0x2188fa(-0x104,0x11a,-0x28,0x106)]===_0x2ddecf[_0x51c77c(0x336,0x35a,0x48e,0x3d9)]);let _0x545031;if(_0xf5d65b){for(const _0x2d9aab of _0x5bf5dc)_0xf5d65b['observedLines'][_0x51c77c(0x54c,_0x3298dc._0x147a47,_0x3298dc._0x762f4c,_0x3298dc._0x2d4fde)](_0x2d9aab);_0x545031=_0xf5d65b;}else{_0x545031={'snapshot':_0x2ddecf,'tag':_0x3f31f7,'observedLines':new Set(_0x5bf5dc)};if(!_0x461256)this['versionsByPath']['set'](_0x2ddecf[_0x51c77c(_0x3298dc._0x5bed34,_0x3298dc._0x3e07f0,_0x3298dc._0x1b2208,0x5fe)],[_0x545031]);else{if(_0x461256[_0x51c77c(_0x3298dc._0x1c3708,_0x3298dc._0x3450c6,0x6c0,0x4e2)]>=this['limits']['maxVersionsPerPath']){const _0x1dbca6=_0x461256[_0x2188fa(0x1b7,0x3a,_0x3298dc._0x4f0e8d,0x18a)]();if(_0x1dbca6)this[_0x51c77c(_0x3298dc._0x251c36,0x219,_0x3298dc._0x1ed455,_0x3298dc._0x2fde29)](_0x1dbca6[_0x2188fa(_0x3298dc._0x215d96,-0x1b7,0x3c,-_0x3298dc._0x2246f6)]['digest']);}_0x461256[_0x51c77c(_0x3298dc._0x2c80f5,0x5c6,_0x3298dc._0x119ac1,0x36e)](_0x545031);}this['acquireBytes'](_0x2ddecf[_0x2188fa(0x1a2,0x20,-0x28,-0x1dc)],_0x2ddecf['utf8Bytes']);}function _0x51c77c(_0x12cf7c,_0x425f9b,_0x590f1a,_0x183de3){return _0x4eedea(_0x12cf7c-0x11c,_0x183de3-0x27e,_0x590f1a,_0x183de3-_0x1abf20._0x2098c5);}this['touchPath'](_0x2ddecf['canonicalPath']);while(this[_0x51c77c(_0x3298dc._0x3eba10,_0x3298dc._0x34fc69,0x45a,0x290)][_0x51c77c(_0x3298dc._0x163782,0x17f,0x2ce,_0x3298dc._0x50f0bd)]>this[_0x51c77c(0x32c,_0x3298dc._0x714e23,0x7b3,_0x3298dc._0x30b762)][_0x2188fa(-0x1a,-0x31d,-0x146,-_0x3298dc._0xa38d43)]){this['evictLeastRecentlyUsedPath']();}function _0x2188fa(_0x212517,_0x27c5cd,_0x2315b1,_0x5bb1af){return _0x4eedea(_0x212517-0xbe,_0x2315b1- -0x183,_0x27c5cd,_0x5bb1af-_0x89b88a._0x332d3a);}while(this[_0x2188fa(0x82,-0x70,-0x12b,-_0x3298dc._0x1d1967)]>this[_0x51c77c(_0x3298dc._0x222886,0x5f9,0x65c,0x55d)]['maxSnapshotBytes']&&this[_0x2188fa(_0x3298dc._0x5039dc,_0x3298dc._0x309690,_0x3298dc._0x57d8ff,0x3a)][_0x2188fa(0x1be,0x165,_0x3298dc._0x566282,-0x8f)]>0x1){this['evictLeastRecentlyUsedPath']();}return{'snapshot':_0x545031[_0x2188fa(_0x3298dc._0x26fcc6,0x20f,0x3c,-0x11)],'observedLines':new Set(_0x545031[_0x51c77c(_0x3298dc._0x3a02e9,0x71e,_0x3298dc._0x3fc433,0x5f4)])};}[_0xa5377c(0x1a5,0x138,0x2b7,0x304)](_0x3ec3d0,_0x234096){const _0x10af0b={_0x48356b:0x29c,_0x292868:0x23f,_0x22e9da:0x317,_0x2c5dca:0x477,_0x2c5602:0x45,_0x3eefc8:0x1f5,_0x1d285d:0x301,_0x4d98d4:0x388,_0x1cc110:0x3ac,_0x3a1273:0x249,_0x2ed798:0x1d0,_0x4a2446:0x11a,_0x50ef63:0x3b1,_0x3a274f:0x197,_0x19a589:0xb6,_0x5c7889:0x34,_0x518618:0x246,_0x27e5a8:0xf,_0x1e3c51:0x37b,_0x52c956:0x1a8,_0x259351:0x16c},_0x120a9b={_0x15bce7:0x1c6,_0x13331a:0x9f,_0x2b5470:0x3c4},_0x2266b7={_0x41e636:0x61,_0x544250:0xae},_0x2d12b7=this['versionsByPath'][_0x3a03d1(_0x10af0b._0x48356b,0xfe,-0x94,-0x92)](_0x3ec3d0);if(!_0x2d12b7)throw createAnchoredFileError('unknown_snapshot','Snapshot\x20tag\x20'+_0x234096+_0x3602d6(_0x10af0b._0x292868,_0x10af0b._0x22e9da,0x390,_0x10af0b._0x2c5dca)+_0x3ec3d0+';\x20re-read\x20the\x20file\x20with\x20FileRead\x20first.',{'path':_0x3ec3d0,'tag':_0x234096});const _0x5149f5=_0x2d12b7[_0x3a03d1(0x26a,_0x10af0b._0x2c5602,0x1fe,-_0x10af0b._0x3eefc8)](_0x40c7e0=>_0x40c7e0['tag']===_0x234096);if(_0x5149f5[_0x3602d6(_0x10af0b._0x1d285d,_0x10af0b._0x4d98d4,_0x10af0b._0x1cc110,0x419)]===0x0)throw createAnchoredFileError(_0x3a03d1(-_0x10af0b._0x3a1273,-_0x10af0b._0x2ed798,-_0x10af0b._0x4a2446,0x3b),_0x3a03d1(0x10c,0x239,0x32e,-0x9)+_0x234096+_0x3a03d1(0x23b,0x7a,0x297,0xd)+_0x3ec3d0+_0x3602d6(0x28b,0x330,_0x10af0b._0x50ef63,0x17e),{'path':_0x3ec3d0,'tag':_0x234096});function _0x3602d6(_0x3fd620,_0x4e88b1,_0x182656,_0x520df7){return _0xa5377c(_0x520df7,_0x4e88b1-_0x2266b7._0x41e636,_0x182656-0x1ec,_0x182656- -_0x2266b7._0x544250);}if(_0x5149f5['length']>0x1)throw createAnchoredFileError(_0x3a03d1(0x1d8,0x41,-0xe2,_0x10af0b._0x3a274f),'Snapshot\x20tag\x20'+_0x234096+_0x3a03d1(0x22a,0x136,0x377,0x138)+_0x3ec3d0+';\x20re-read\x20the\x20file\x20with\x20FileRead\x20first.',{'path':_0x3ec3d0,'tag':_0x234096});function _0x3a03d1(_0x3c6b90,_0x538a02,_0x1f6e71,_0x29e561){return _0xa5377c(_0x29e561,_0x538a02-_0x120a9b._0x15bce7,_0x1f6e71-_0x120a9b._0x13331a,_0x538a02- -_0x120a9b._0x2b5470);}return this[_0x3a03d1(0x1a3,_0x10af0b._0x19a589,_0x10af0b._0x5c7889,_0x10af0b._0x518618)](_0x3ec3d0),{'snapshot':_0x5149f5[0x0][_0x3a03d1(-0x80,-_0x10af0b._0x27e5a8,-0x60,0x89)],'observedLines':new Set(_0x5149f5[0x0][_0x3a03d1(_0x10af0b._0x1e3c51,_0x10af0b._0x52c956,-0x3f,_0x10af0b._0x259351)])};}['recordNoChange'](_0x10f81f,_0x20525b){const _0x5aa50b={_0x85e12d:0x1ef,_0x39ca73:0x291,_0xd4c621:0x149,_0x7c77c9:0x2e8,_0x190289:0x3b9},_0x1bcfcc={_0x55d0b1:0x35,_0x4ba34f:0x1c},_0x259d5c={_0x4540c1:0xb9};function _0x16016a(_0x387afc,_0x4497c8,_0x1ef16e,_0x5eb89e){return _0x4eedea(_0x387afc-0x1a,_0x1ef16e-0x61,_0x5eb89e,_0x5eb89e-_0x259d5c._0x4540c1);}const _0x40d260=_0x10f81f+'\x00'+_0x20525b;function _0x35bb73(_0x3cbbe7,_0x2343fd,_0x38d348,_0x3a8d19){return _0x4eedea(_0x3cbbe7-_0x1bcfcc._0x55d0b1,_0x2343fd-_0x1bcfcc._0x4ba34f,_0x38d348,_0x3a8d19-0x2b);}const _0x234539=(this[_0x16016a(_0x5aa50b._0x85e12d,_0x5aa50b._0x39ca73,_0x5aa50b._0xd4c621,0x2bf)][_0x35bb73(0x1b9,_0x5aa50b._0x7c77c9,0xf1,_0x5aa50b._0x190289)](_0x40d260)??0x0)+0x1;return this['noChangeCounters'][_0x35bb73(0x2df,0x2a7,0xec,0xe3)](_0x40d260,_0x234539),_0x234539;}[_0x4eedea(0x405,0x312,0x3bc,0x122)](_0x5da046){const _0x3dc325={_0x261fd8:0x1c,_0x389334:0x146,_0x1c69d5:0x7f},_0x185372={_0x1c5fdd:0x55,_0xa3b1b2:0xcc,_0x32216d:0x149};function _0x247430(_0x481f04,_0xc48cef,_0xe30335,_0x209ab8){return _0xa5377c(_0xe30335,_0xc48cef-0x15b,_0xe30335-0x9d,_0xc48cef- -0x19d);}const _0x5b5da6=_0x5da046+'\x00';function _0x16379f(_0xdb7cf3,_0x387124,_0x4e004a,_0x1cba80){return _0x4eedea(_0xdb7cf3-_0x185372._0x1c5fdd,_0xdb7cf3- -_0x185372._0xa3b1b2,_0x1cba80,_0x1cba80-_0x185372._0x32216d);}for(const _0x26b222 of[...this[_0x16379f(_0x3dc325._0x261fd8,-0x114,0xcd,0x253)][_0x247430(0xae,0x1f9,0x157,_0x3dc325._0x389334)]()]){if(_0x26b222['startsWith'](_0x5b5da6))this['noChangeCounters'][_0x16379f(0x12d,-0xb0,0x1f2,_0x3dc325._0x1c69d5)](_0x26b222);}}['clear'](){const _0x4e2988={_0x24b114:0xca,_0x1a71ee:0xc4,_0x2b0285:0xff,_0x2087b3:0x23d,_0x5e51ee:0x1d4,_0x2fa6fa:0x389,_0x433dd0:0x6a,_0x499eef:0x23,_0x521bd0:0x781,_0x42fa1d:0x68,_0xa3bc5b:0xc4,_0x147bba:0x124,_0x52abbd:0x28b,_0x352487:0x2ff},_0x1e7db7={_0x25e8fb:0x6e},_0x472623={_0x524cc5:0x3d1};this['versionsByPath'][_0x4064f5(-_0x4e2988._0x24b114,_0x4e2988._0x1a71ee,-_0x4e2988._0x2b0285,-0x17d)]();function _0x4064f5(_0x9695f9,_0x24c045,_0x1f9e7b,_0x324075){return _0xa5377c(_0x324075,_0x24c045-0x74,_0x1f9e7b-0x119,_0x24c045- -_0x472623._0x524cc5);}this[_0x4064f5(_0x4e2988._0x2087b3,_0x4e2988._0x5e51ee,0x20b,_0x4e2988._0x2fa6fa)]=[],this[_0x4064f5(-_0x4e2988._0x433dd0,-0x183,-0x2d,_0x4e2988._0x499eef)]=0x0;function _0xae2953(_0x13d5fb,_0x345634,_0x47b378,_0xd77d9b){return _0xa5377c(_0xd77d9b,_0x345634-0x141,_0x47b378-_0x1e7db7._0x25e8fb,_0x47b378-0x224);}this[_0xae2953(_0x4e2988._0x521bd0,0x45a,0x61d,0x62c)][_0x4064f5(_0x4e2988._0x42fa1d,_0x4e2988._0xa3bc5b,_0x4e2988._0x147bba,0x1fa)](),this[_0x4064f5(-_0x4e2988._0x52abbd,-0xf3,-_0x4e2988._0x352487,0x7b)]['clear']();}[_0xa5377c(0x282,0x32b,0x52d,0x47a)](_0x39e464){const _0x1e4893={_0x1a8844:0x6ee,_0x4d794e:0x7ec,_0x1cfa25:0x5a2,_0x254206:0x6ab,_0x118371:0x647,_0x35d5a4:0xa46,_0x38c4be:0xa9d,_0x40b145:0x879},_0x29207b={_0x543306:0x188,_0x494cb4:0x190},_0x11a203=this[_0xb4be7f(_0x1e4893._0x1a8844,0x7c0,_0x1e4893._0x4d794e,_0x1e4893._0x1cfa25)][_0xb4be7f(0x60c,0x80c,_0x1e4893._0x254206,0x7df)](_0x39e464);function _0xb4be7f(_0x42cac3,_0x19d709,_0xae2867,_0x260973){return _0xa5377c(_0x42cac3,_0x19d709-_0x29207b._0x543306,_0xae2867-_0x29207b._0x494cb4,_0xae2867-0x247);}function _0x1f9c18(_0x1e176c,_0x67288f,_0x1afc25,_0x4e6aa8){return _0x4eedea(_0x1e176c-0xf1,_0x4e6aa8-0x4ca,_0x67288f,_0x4e6aa8-0x1e7);}if(_0x11a203!==-0x1)this[_0x1f9c18(0x686,_0x1e4893._0x118371,0x7b3,0x879)][_0xb4be7f(0x87e,0x464,0x620,0x840)](_0x11a203,0x1);this[_0x1f9c18(0x893,_0x1e4893._0x35d5a4,_0x1e4893._0x38c4be,_0x1e4893._0x40b145)]['push'](_0x39e464);}[_0x4eedea(0x1d4,0x22c,0x33f,0x32e)](){const _0x15cce2={_0x2e3a81:0x800,_0x2502e0:0x997,_0x461249:0x9d7,_0x5c7983:0x8c3,_0x4277cb:0x5e9,_0x1dc775:0x669,_0x4325ef:0x4ee,_0x506297:0x58c,_0x5e99c1:0x793,_0x2e0bcb:0x70d,_0x115585:0x352,_0x3689ae:0x309,_0xdc7ec8:0x217,_0x8a3c56:0x4d6,_0x1b5057:0x613,_0x4f0be4:0x36b},_0x1e976e={_0x1cd083:0x514,_0x28e389:0x4b},_0xd7c7b0={_0x88fd61:0x127},_0x12cb54=this[_0x37ffa4(_0x15cce2._0x2e3a81,_0x15cce2._0x2502e0,_0x15cce2._0x461249,_0x15cce2._0x5c7983)]['shift']();if(_0x12cb54===void 0x0)return;const _0xb3524e=this[_0x3e2a7f(0x32f,0x302,0x1ef,0x292)][_0x3e2a7f(_0x15cce2._0x4277cb,0x676,0x667,_0x15cce2._0x1dc775)](_0x12cb54);function _0x3e2a7f(_0xfd77e5,_0x24d349,_0x5e60f8,_0x2e51ec){return _0xa5377c(_0x2e51ec,_0x24d349-0xcd,_0x5e60f8-0x1d7,_0xfd77e5-_0xd7c7b0._0x88fd61);}function _0x37ffa4(_0x5da92f,_0x2c8845,_0x2e1826,_0x188776){return _0x4eedea(_0x5da92f-0x125,_0x188776-_0x1e976e._0x1cd083,_0x5da92f,_0x188776-_0x1e976e._0x28e389);}this[_0x37ffa4(0x5aa,0x437,_0x15cce2._0x4325ef,0x526)][_0x37ffa4(_0x15cce2._0x506297,_0x15cce2._0x5e99c1,0x4b8,_0x15cce2._0x2e0bcb)](_0x12cb54);if(_0xb3524e){for(const _0x9b5319 of _0xb3524e)this[_0x3e2a7f(_0x15cce2._0x115585,_0x15cce2._0x3689ae,0x334,_0x15cce2._0xdc7ec8)](_0x9b5319[_0x37ffa4(0x623,_0x15cce2._0x8a3c56,_0x15cce2._0x1b5057,0x6d3)][_0x3e2a7f(0x478,_0x15cce2._0x4f0be4,0x385,0x606)]);}}[_0x4eedea(0x8b,0x256,0xd1,0x346)](_0x2dacfd,_0x1580bc){const _0x575d7f={_0x4588a1:0x1de,_0x175b91:0x11d},_0xa22f9e={_0x47d9f9:0x3d,_0x4b1d82:0x194};function _0x1d8ac7(_0x51b68c,_0x299480,_0x4ed6ca,_0x1dd54a){return _0xa5377c(_0x4ed6ca,_0x299480-_0xa22f9e._0x47d9f9,_0x4ed6ca-_0xa22f9e._0x4b1d82,_0x51b68c- -0xf0);}!this['bytesByDigest'][_0x1d8ac7(_0x575d7f._0x4588a1,0x1b0,_0x575d7f._0x175b91,0x1c2)](_0x2dacfd)&&(this['bytesByDigest']['set'](_0x2dacfd,_0x1580bc),this['totalBytes']+=_0x1580bc);}['releaseBytes'](_0x276216){const _0x3b9c7c={_0xcd7789:0x313,_0x1f937d:0x121,_0x47a9f7:0x1d2,_0x3b6d7d:0x94,_0x5e30e4:0x4cf,_0x1cb2b6:0x257,_0x3e75ce:0x2f1,_0x443765:0x352,_0x57ecdc:0x297,_0x1a9cd2:0x231,_0x15a16e:0x1bf,_0x33948a:0x360,_0x7c3aad:0x5b4,_0x350699:0x652,_0x1b5bd1:0x3f5},_0x18be67={_0x2ddc42:0x100,_0x2f3c7f:0xaf},_0x3bbcc0={_0x455a2c:0x4d,_0x57d985:0x1c7};if(!this[_0x525c81(_0x3b9c7c._0xcd7789,_0x3b9c7c._0x1f937d,0x297,_0x3b9c7c._0x47a9f7)][_0x525c81(0xf3,0x130,0x16c,-_0x3b9c7c._0x3b6d7d)](_0x276216))return;function _0x525c81(_0x37fba2,_0x4f4f0b,_0x4cbe41,_0x50ae87){return _0x4eedea(_0x37fba2-_0x3bbcc0._0x455a2c,_0x4cbe41-0x94,_0x4f4f0b,_0x50ae87-_0x3bbcc0._0x57d985);}function _0x2d6bf0(_0x295e53,_0x2684d9,_0x24c3d6,_0x4928a5){return _0xa5377c(_0x24c3d6,_0x2684d9-_0x18be67._0x2ddc42,_0x24c3d6-_0x18be67._0x2f3c7f,_0x295e53-0x259);}const _0x4e1d87=[...this['versionsByPath']['values']()][_0x525c81(_0x3b9c7c._0x5e30e4,_0x3b9c7c._0x1cb2b6,_0x3b9c7c._0x3e75ce,0x17d)](_0x35d6b6=>_0x35d6b6['some'](_0x1f2a11=>_0x1f2a11[_0x525c81(0x2dc,0x408,0x253,0x139)][_0x525c81(0x3a8,0x2c7,0x1ef,0x411)]===_0x276216));!_0x4e1d87&&(this[_0x2d6bf0(0x4a7,0x46b,0x6ba,0x3ef)]-=this[_0x525c81(0x3a6,_0x3b9c7c._0x443765,_0x3b9c7c._0x57ecdc,0x221)][_0x525c81(_0x3b9c7c._0x1a9cd2,_0x3b9c7c._0x15a16e,_0x3b9c7c._0x33948a,_0x3b9c7c._0x7c3aad)](_0x276216)??0x0,this[_0x2d6bf0(_0x3b9c7c._0x350699,0x3f2,0x41a,_0x3b9c7c._0x1b5bd1)]['delete'](_0x276216));}};import{readFile as _0x2e9676,stat as _0x258030}from'fs/promises';import*as _0x5ecacb from'path';function stripUtfBom(_0x130694){const _0x1360a8={_0x15d3a6:0xd1,_0x4307d9:0x18d};function _0x23d36e(_0x3d9574,_0x14fc9f,_0x1d4753,_0x4508a7){return _0x4eedea(_0x3d9574-_0x1360a8._0x15d3a6,_0x14fc9f-_0x1360a8._0x4307d9,_0x4508a7,_0x4508a7-0x184);}return _0x130694[_0x23d36e(0x29d,0x415,0x4bb,0x5e0)](0x0)===0xfeff?_0x130694['slice'](0x1):_0x130694;}function clampLine2(_0x6059e0,_0x428d8b){const _0x154fc2={_0x1cabf3:0x62d,_0xed8c71:0x2e8},_0x51e0d2={_0x518b2f:0x188,_0x4638f2:0x9,_0x25d461:0x147};if(!Number[_0x1c4696(0x51a,_0x154fc2._0x1cabf3,0x365,_0x154fc2._0xed8c71)](_0x6059e0))return 0x1;function _0x1c4696(_0x282bbe,_0x273470,_0x161b62,_0x240299){return _0xa5377c(_0x161b62,_0x273470-_0x51e0d2._0x518b2f,_0x161b62-_0x51e0d2._0x4638f2,_0x282bbe- -_0x51e0d2._0x25d461);}return Math['max'](0x1,Math['min'](Math['trunc'](_0x6059e0),_0x428d8b));}function resolveAnchoredTarget(_0x1023d1){const _0x2802e0={_0x363db1:0x3e,_0x10a9ad:0x56,_0x35854b:0x1e,_0x27a357:0x4c,_0x2dbcdb:0xb7,_0xd6d21a:0x2f1,_0x20fdd7:0x231,_0x5ce722:0x309,_0x2604c1:0x25c,_0x5f252d:0x99,_0x2b03c2:0x1fa,_0xacfb62:0x34f,_0x4e259e:0x1d7,_0xbf63ed:0x171,_0x240d39:0x139,_0x504b58:0xfe},_0x4b0c92={_0xbc42d1:0x14a},_0x435879={_0x3ae019:0xa3};function _0x6f16fc(_0xc1003c,_0x390997,_0x1ba505,_0x57f4a5){return _0x4eedea(_0xc1003c-0xad,_0xc1003c- -_0x435879._0x3ae019,_0x390997,_0x57f4a5-0x57);}function _0x3dd796(_0x4660a7,_0x226876,_0x5ebf5e,_0x26ece0){return _0xa5377c(_0x226876,_0x226876-_0x4b0c92._0xbc42d1,_0x5ebf5e-0x1d1,_0x4660a7- -0x34c);}const _0x287e7d=_0x1023d1[_0x3dd796(-_0x2802e0._0x363db1,0x14f,-0x82,_0x2802e0._0x10a9ad)]??_0x3dd796(0x3,_0x2802e0._0x35854b,-_0x2802e0._0x27a357,0x141);if(_0x287e7d===_0x6f16fc(0xb6,_0x2802e0._0x2dbcdb,_0x2802e0._0xd6d21a,0x2de))return void 0x0;if(_0x1023d1[_0x6f16fc(0x171,-0xe1,0x210,_0x2802e0._0x20fdd7)]===void 0x0)throw new Error((_0x1023d1[_0x3dd796(0x25c,0xce,_0x2802e0._0x5ce722,0x181)]??'FileRead')+'\x20anchored\x20mode\x20requires\x20injected\x20observations.');if(_0x1023d1['outputBudgetBytes']===void 0x0)throw new Error((_0x1023d1[_0x3dd796(_0x2802e0._0x2604c1,0x35,_0x2802e0._0x5f252d,_0x2802e0._0x2b03c2)]??'FileRead')+_0x6f16fc(_0x2802e0._0xacfb62,0x384,_0x2802e0._0x4e259e,0x585));return{'mode':_0x287e7d,'observations':_0x1023d1[_0x6f16fc(_0x2802e0._0xbf63ed,_0x2802e0._0x240d39,0x3bb,0x25)],'outputBudgetBytes':_0x1023d1[_0x3dd796(_0x2802e0._0x504b58,-0x135,0xb7,-0xf5)]};}function isErrnoException(_0x41908a){const _0xe71bf5={_0x2ab8bc:0x40d,_0x3ec8a0:0x311,_0x17418e:0x2c2,_0x13e456:0x392,_0x131357:0x5b9},_0x5989dc={_0x417212:0x1bc,_0x1dae5d:0xd2,_0x2510aa:0xb3},_0x571d32={_0x19e617:0x1a2,_0x361ff5:0xa6};function _0x9d1669(_0x1f5d59,_0x43205d,_0x7a0526,_0x5b6804){return _0xa5377c(_0x5b6804,_0x43205d-0xee,_0x7a0526-_0x571d32._0x19e617,_0x1f5d59-_0x571d32._0x361ff5);}function _0x2a2cff(_0x208efd,_0x186186,_0x18eb7b,_0xbbb11d){return _0x4eedea(_0x208efd-_0x5989dc._0x417212,_0x186186- -_0x5989dc._0x1dae5d,_0xbbb11d,_0xbbb11d-_0x5989dc._0x2510aa);}return _0x41908a instanceof Error&&'code'in _0x41908a&&typeof _0x41908a[_0x2a2cff(_0xe71bf5._0x2ab8bc,_0xe71bf5._0x3ec8a0,0xfc,_0xe71bf5._0x17418e)]===_0x2a2cff(0x183,_0xe71bf5._0x13e456,0x27d,_0xe71bf5._0x131357);}function wrapAnchoredFsError(_0x40ed6e,_0x287ef4){const _0x224b36={_0xe64ae9:0x1c1,_0xbd297e:0x408,_0x4c6988:0x3fb,_0x2e69a2:0x1db,_0x8a39db:0x2f5,_0x526a2a:0x22d,_0x46bef9:0x6ec,_0x557674:0x317,_0x3ffbd0:0x215,_0xb2f5a6:0x354},_0x1b19eb={_0x2a6a7b:0x1ad};if(_0x40ed6e instanceof ToolExecutionError)throw _0x40ed6e;function _0x4d4c48(_0x83d7d0,_0x127683,_0x3df2d2,_0x105b98){return _0x4eedea(_0x83d7d0-_0x1b19eb._0x2a6a7b,_0x83d7d0- -0xe6,_0x127683,_0x105b98-0xc);}function _0x2ad35c(_0x7128ff,_0x446a52,_0x2a91b1,_0x504d3e){return _0x4eedea(_0x7128ff-0x132,_0x7128ff-0x133,_0x504d3e,_0x504d3e-0x1e0);}if(!isErrnoException(_0x40ed6e))throw _0x40ed6e;throw createAnchoredFileError(_0x2ad35c(0x131,0x1c9,0x182,_0x224b36._0xe64ae9),_0x2ad35c(_0x224b36._0xbd297e,0x5fe,_0x224b36._0x4c6988,0x65e)+_0x287ef4+_0x2ad35c(_0x224b36._0x2e69a2,_0x224b36._0x8a39db,0xd9,_0x224b36._0x526a2a)+_0x40ed6e[_0x2ad35c(0x4bf,_0x224b36._0x46bef9,_0x224b36._0x557674,0x607)]+_0x4d4c48(0x336,_0x224b36._0x3ffbd0,_0x224b36._0xb2f5a6,0x102),{'path':_0x287ef4});}async function executeAnchoredRead(_0x4c73b1,_0x8dab5,_0x345693,_0x318026,_0x4b77ea,_0x295477,_0x229140){const _0x23eb1c={_0x546759:0x581,_0x2bfb6f:0x47d,_0x16905b:0x43a,_0x36bccb:0x332,_0x4a2b20:0x4ae,_0xb294da:0x475,_0x52f580:0x4a8,_0x1fe84e:0x294,_0x524c44:0x3d8,_0x3615e5:0x655,_0x5e3eab:0x598,_0x32b6e9:0x605,_0x57047d:0x61a,_0x506612:0x665,_0x22c9e0:0x394,_0x16d7d7:0x1f1},_0x5008f6={_0x2924e3:0x1d4,_0x2d5214:0xa8},_0x5d8ec1={_0x38a3e3:0x13c};let _0x5a9e6a;try{_0x5a9e6a=await resolveCanonicalAllowedFile(_0x8dab5,_0x345693,_0x318026);}catch(_0x440f41){wrapAnchoredFsError(_0x440f41,_0x318026);}function _0x13709b(_0x8523de,_0x56514b,_0x320edf,_0x112177){return _0xa5377c(_0x8523de,_0x56514b-_0x5d8ec1._0x38a3e3,_0x320edf-0x164,_0x320edf-0xa4);}let _0x4ee51c;try{_0x4ee51c=await _0x2e9676(_0x5a9e6a['canonicalPath']);}catch(_0x2c71ce){wrapAnchoredFsError(_0x2c71ce,_0x318026);}const _0x13541f=createNormalizedFileSnapshot(_0x5a9e6a[_0x13709b(0x4ec,_0x23eb1c._0x546759,0x61a,0x723)],_0x4ee51c);_0x4c73b1[_0x13709b(0x5cc,_0x23eb1c._0x2bfb6f,0x4ae,0x6cd)]['bindSession'](_0x229140);function _0x4186d2(_0x1bb2d5,_0x74a219,_0x237453,_0x3d66d5){return _0xa5377c(_0x3d66d5,_0x74a219-_0x5008f6._0x2924e3,_0x237453-0x113,_0x237453-_0x5008f6._0x2d5214);}const _0x4019f=formatAnchoredFileRead({'displayPath':_0x318026,'snapshot':_0x13541f,'lineStart':_0x4b77ea,'lineEnd':_0x295477,'maxBytes':_0x4c73b1[_0x13709b(0x5a7,0x510,0x4ee,_0x23eb1c._0x16905b)]});return _0x4c73b1[_0x13709b(0x475,_0x23eb1c._0x36bccb,_0x23eb1c._0x4a2b20,_0x23eb1c._0xb294da)][_0x4186d2(_0x23eb1c._0x52f580,_0x23eb1c._0x1fe84e,_0x23eb1c._0x524c44,0x321)](_0x13541f,_0x4019f['displayedLines']),createToolOutput(_0x4019f[_0x13709b(_0x23eb1c._0x3615e5,_0x23eb1c._0x5e3eab,_0x23eb1c._0x32b6e9,0x852)],{'mode':_0x4c73b1['mode'],'path':_0x318026,'resolvedPath':_0x5a9e6a[_0x4186d2(0x63a,0x6d5,0x58f,0x473)],'canonicalPath':_0x5a9e6a[_0x13709b(0x5f0,0x3c6,_0x23eb1c._0x57047d,0x5c8)],'tag':_0x13541f[_0x4186d2(0x66d,_0x23eb1c._0x506612,0x4f3,0x697)],'digest':_0x13541f[_0x4186d2(_0x23eb1c._0x22c9e0,0x33f,0x3f9,_0x23eb1c._0x16d7d7)],'displayedLines':[..._0x4019f['displayedLines']],'truncated':_0x4019f[_0x13709b(0x2fe,0x5a0,0x514,0x6b3)],..._0x4019f['nextLineStart']!==void 0x0?{'nextLineStart':_0x4019f['nextLineStart']}:{}});}function createFileReadTool(_0x34d2a2={}){const _0x593a75={_0x2c42b5:0x818,_0x2fb9d6:0x4a9,_0x534156:0x573,_0x4326fb:0x35,_0x289869:0x221,_0x165528:0x6bf,_0x22a4cc:0x4cd,_0x526a21:0x6fb,_0x2e9946:0x29d,_0x214155:0x55d,_0xdaaa06:0x434,_0x2188b4:0x236,_0x55241e:0x1a5,_0x4c9ab6:0xd9,_0x2e2323:0xf9,_0x4f3549:0x206,_0x47debe:0x7a,_0x1acb1a:0xa4},_0x41e1cc={_0x200308:0x4a3,_0x26cb8f:0x831,_0x3fb0de:0x610,_0x1b8bc6:0x72b,_0x45c7e9:0x666,_0x334102:0x53a,_0x17ba1b:0x31b,_0x30c396:0x5b4,_0x1895f5:0x610,_0x26f7a0:0x6dc,_0x41c477:0x867,_0x954df6:0x8fd,_0x4cbe0b:0x43d,_0x924780:0x69d,_0x297d26:0x39c,_0x5eaa7e:0x237,_0x3ff740:0x395,_0x3b9815:0x61a,_0x5f0a87:0x108,_0x2c6ea2:0x15b,_0x4973fe:0x13e,_0x52e0fe:0x1e6,_0xbe0538:0x23f,_0xabc095:0x390,_0x128f5e:0x1d2,_0x198e9b:0x442,_0x970d91:0x573,_0x48c678:0x5cd,_0x37b3c2:0x617,_0x4ee16d:0x5b3,_0x425327:0x751,_0x43450c:0x365,_0x3aee66:0x4de,_0x4c1d1b:0x5f0,_0x19a13c:0x61f,_0x2a9887:0x7c0,_0x188c92:0x758,_0x3d7de3:0x4e,_0x2c8298:0x12f,_0x38fbb3:0x3ac,_0x4b911a:0x52f,_0xf0869e:0x365,_0x37222f:0x2dd,_0x7caf31:0x1e2,_0x464a51:0x24a,_0x4e2bc7:0x656,_0x4e723:0x64b,_0x292e4f:0x52f,_0x360da5:0x3fe},_0x3c6286={_0x18c1c5:0x5,_0x31e147:0x2c,_0x1f76b3:0x2c8},_0x3296df={_0x773445:0x13d},_0x573d55={_0x4873ed:0x1c7,_0x5a99b0:0xf7};function _0x53bcef(_0x2c0e44,_0x35560f,_0x558624,_0x505eaf){return _0x4eedea(_0x2c0e44-0x1e4,_0x505eaf- -_0x573d55._0x4873ed,_0x2c0e44,_0x505eaf-_0x573d55._0x5a99b0);}const _0x46e42f=_0x5ecacb['resolve'](_0x34d2a2[_0x53bcef(0x83,0xc0,0x1c8,0x98)]??process[_0xe354f8(0x88b,0x5e5,_0x593a75._0x2c42b5,0x69d)]()),_0x1e23f1=_0x34d2a2[_0xe354f8(_0x593a75._0x2fb9d6,0x312,_0x593a75._0x534156,0x4bc)]??[];function _0xe354f8(_0x2143e1,_0x9f7fe2,_0x57959c,_0x1eb1ef){return _0xa5377c(_0x57959c,_0x9f7fe2-_0x3296df._0x773445,_0x57959c-0x13c,_0x1eb1ef-0x23d);}const _0x627424=_0x34d2a2['name']??_0x53bcef(-_0x593a75._0x4326fb,-0xc,-_0x593a75._0x289869,-0x1ba),_0x269541=resolveAnchoredTarget(_0x34d2a2);return defineTool({'name':_0x627424,'permissionClass':_0xe354f8(_0x593a75._0x165528,_0x593a75._0x22a4cc,0x7db,_0x593a75._0x526a21),'description':_0x269541===void 0x0?'Read\x20files\x20from\x20workspace.\x20Optionally\x20specify\x20line\x20ranges\x20(lineStart,\x20lineEnd).':_0x53bcef(0x74,0x54,0xfa,-0x7f),'inputSchema':{'type':_0x53bcef(0xa3,0x20b,0x18e,0x95),'properties':{'path':{'type':_0x53bcef(0x48d,0xeb,0x284,_0x593a75._0x2e9946)},'lineStart':{'type':_0xe354f8(_0x593a75._0x214155,0x2dd,_0x593a75._0xdaaa06,0x42d),'description':_0x53bcef(-_0x593a75._0x2188b4,-_0x593a75._0x55241e,0xe6,-_0x593a75._0x4c9ab6)},'lineEnd':{'type':'number','description':_0x53bcef(-_0x593a75._0x2e2323,-_0x593a75._0x4f3549,-_0x593a75._0x47debe,-0xf7)}},'required':[_0x53bcef(-0x137,-0x239,_0x593a75._0x1acb1a,0x5)]},async *'execute'(_0x57c0f2,_0x1ab034){const _0x22276a={_0x42bff5:0x60b};function _0x15f02a(_0x479572,_0x2a5a35,_0x4c2c48,_0x5d50e5){return _0x53bcef(_0x479572,_0x2a5a35-_0x3c6286._0x18c1c5,_0x4c2c48-_0x3c6286._0x31e147,_0x4c2c48-_0x3c6286._0x1f76b3);}function _0x2eb0f8(_0x1bc8b9,_0x450b0e,_0x198712,_0x34570e){return _0x53bcef(_0x1bc8b9,_0x450b0e-0x93,_0x198712-0xab,_0x198712-_0x22276a._0x42bff5);}const _0xc731bb=resolveAllowedPath(_0x46e42f,_0x1e23f1,_0x57c0f2[_0x2eb0f8(_0x41e1cc._0x200308,_0x41e1cc._0x26cb8f,_0x41e1cc._0x3fb0de,_0x41e1cc._0x1b8bc6)]);if(_0x269541===void 0x0){await assertWorkspaceFile(_0xc731bb);const _0x48ad59=await _0x258030(_0xc731bb),_0x4537b7=await _0x2e9676(_0xc731bb);if(isProbablyBinary(_0x4537b7))throw new ToolExecutionError(_0x2eb0f8(_0x41e1cc._0x45c7e9,_0x41e1cc._0x334102,0x494,_0x41e1cc._0x17ba1b)+_0x57c0f2[_0x2eb0f8(0x5a2,_0x41e1cc._0x30c396,_0x41e1cc._0x1895f5,_0x41e1cc._0x26f7a0)],{'path':_0x57c0f2['path']});let _0x3d3c45=_0x4537b7['toString']('utf8');const _0x4c4cfd=_0x3d3c45[_0x2eb0f8(0x749,_0x41e1cc._0x41c477,0x6cc,_0x41e1cc._0x954df6)](0x0)===0xfeff;_0x3d3c45=stripUtfBom(_0x3d3c45);const _0x559541=_0x3d3c45[_0x2eb0f8(0x6ed,_0x41e1cc._0x4cbe0b,_0x41e1cc._0x924780,0x447)](/\r?\n/),_0x40c9b9={'path':_0x57c0f2[_0x15f02a(0x2e2,_0x41e1cc._0x297d26,0x2cd,_0x41e1cc._0x5eaa7e)],'resolvedPath':_0xc731bb,'created':_0x48ad59[_0x15f02a(0x654,0x1ea,0x417,_0x41e1cc._0x3ff740)][_0x2eb0f8(0x501,0x6a4,0x4ae,_0x41e1cc._0x3b9815)](),'modified':_0x48ad59['mtime'][_0x15f02a(-0x46,_0x41e1cc._0x5f0a87,0x16b,0x2c9)](),'size':_0x48ad59[_0x15f02a(-_0x41e1cc._0x2c6ea2,_0x41e1cc._0x4973fe,0xdb,0xa4)],'encoding':'utf8','bomStripped':_0x4c4cfd,'truncated':![],'totalLines':_0x559541[_0x15f02a(0x4d0,_0x41e1cc._0x52e0fe,0x365,_0x41e1cc._0xbe0538)]};if(_0x57c0f2['lineStart']!==void 0x0||_0x57c0f2[_0x15f02a(0x39,_0x41e1cc._0xabc095,0x270,_0x41e1cc._0x128f5e)]!==void 0x0){const _0x410272=clampLine2(_0x57c0f2[_0x2eb0f8(_0x41e1cc._0x198e9b,0x4a9,_0x41e1cc._0x970d91,0x58d)]??0x1,_0x559541['length']),_0x58e7ca=clampLine2(_0x57c0f2[_0x2eb0f8(_0x41e1cc._0x48c678,_0x41e1cc._0x37b3c2,_0x41e1cc._0x4ee16d,_0x41e1cc._0x425327)]??_0x559541[_0x15f02a(0x583,0x549,_0x41e1cc._0x43450c,0x19d)],_0x559541['length']),_0x5dfed4=Math[_0x15f02a(0x589,0x537,0x3c6,_0x41e1cc._0x3aee66)](_0x410272,_0x58e7ca),_0x220854=Math['max'](_0x410272,_0x58e7ca),_0x4057f7=_0x559541[_0x2eb0f8(_0x41e1cc._0x4c1d1b,_0x41e1cc._0x19a13c,_0x41e1cc._0x2a9887,_0x41e1cc._0x188c92)](_0x5dfed4-0x1,_0x220854)[_0x15f02a(-_0x41e1cc._0x3d7de3,_0x41e1cc._0x2c8298,0x1f5,_0x41e1cc._0x38fbb3)]((_0x27c9d4,_0x4c5506)=>_0x5dfed4+_0x4c5506+'|'+_0x27c9d4)['join']('\x0a');return yield createToolOutput(_0x4057f7,{..._0x40c9b9,'lineRange':{'lineStart':_0x5dfed4,'lineEnd':_0x220854,'linesTotal':_0x559541[_0x15f02a(_0x41e1cc._0x4b911a,0x2a8,_0x41e1cc._0xf0869e,_0x41e1cc._0x37222f)]}}),void 0x0;}return yield createToolOutput(_0x3d3c45,_0x40c9b9),void 0x0;}return yield await executeAnchoredRead(_0x269541,_0x46e42f,_0x1e23f1,_0x57c0f2[_0x15f02a(_0x41e1cc._0x7caf31,_0x41e1cc._0x464a51,0x2cd,0x521)],_0x57c0f2[_0x2eb0f8(_0x41e1cc._0x4e2bc7,_0x41e1cc._0x4e723,0x573,_0x41e1cc._0x292e4f)],_0x57c0f2[_0x2eb0f8(0x66e,0x7ff,0x5b3,0x512)],_0x1ab034[_0x15f02a(_0x41e1cc._0x360da5,0x4bc,0x546,0x32d)]),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 _0x31b803}from'crypto';import{mkdir as _0x74bab9,readFile as _0x49f681,writeFile as _0x564ec5}from'fs/promises';import{join as _0x88e268}from'path';function sanitizeStorageKey(_0x30a813){const _0x1ea052={_0x55661d:0x4f1,_0x4ad685:0x4e7},_0x58bf2a={_0x52d79d:0xab,_0x21d3be:0x12},_0x162209={_0x2a7907:0x120,_0x2c3489:0xde};function _0x4c7781(_0x583268,_0x160594,_0x48a5ea,_0x50c752){return _0xa5377c(_0x160594,_0x160594-0xfa,_0x48a5ea-_0x162209._0x2a7907,_0x50c752- -_0x162209._0x2c3489);}function _0x3ab575(_0x3a250a,_0x2e3201,_0x4772ad,_0x5f5596){return _0xa5377c(_0x5f5596,_0x2e3201-_0x58bf2a._0x52d79d,_0x4772ad-_0x58bf2a._0x21d3be,_0x4772ad-0x158);}return _0x30a813[_0x4c7781(0x634,_0x1ea052._0x55661d,0x447,_0x1ea052._0x4ad685)](/[^a-zA-Z0-9_]+/g,'_')['replace'](/^_+|_+$/g,'')||_0x3ab575(0x3d5,0x4a8,0x5e5,0x48c);}function storagePath(_0x129f70){const _0xd9e198={_0x4ee523:0x54c,_0x3179f9:0x53d,_0x477e12:0x316,_0x4dacdd:0x378,_0x3a3466:0x490,_0x2ae061:0x2c7,_0x1ea38b:0x615,_0x283653:0x3b3,_0x20b676:0x1bf},_0x313cf2={_0x459826:0x6b},_0x28f47a={_0x3cab41:0xcf,_0x92f4d2:0x27b},_0x492903=sanitizeStorageKey(_0x129f70[_0x720d5a(_0xd9e198._0x4ee523,_0xd9e198._0x3179f9,_0xd9e198._0x477e12,_0xd9e198._0x4dacdd)]['oauth']?.[_0x720d5a(_0xd9e198._0x3a3466,_0xd9e198._0x2ae061,0x2af,_0xd9e198._0x1ea38b)]??_0x129f70['serverName']);function _0x720d5a(_0x34ca77,_0x15b132,_0x457912,_0x553135){return _0xa5377c(_0x553135,_0x15b132-_0x28f47a._0x3cab41,_0x457912-0x1a3,_0x34ca77-_0x28f47a._0x92f4d2);}function _0x323a86(_0x1264a0,_0x5385da,_0x9c9ec,_0x35d5cd){return _0x4eedea(_0x1264a0-_0x313cf2._0x459826,_0x5385da- -0x80,_0x9c9ec,_0x35d5cd-0x157);}return _0x88e268(_0x129f70[_0x323a86(_0xd9e198._0x283653,_0xd9e198._0x20b676,0x30a,0x21a)],_0x492903+'.json');}async function readStore(_0x31176a){const _0x17339d={_0x1356ff:0x2e5,_0x3767d1:0x4ea,_0x15b3e2:0x88b,_0x538948:0x900,_0x37de7d:0x785,_0x1b39cb:0x922},_0x4ac753={_0x290986:0xd3,_0x454b84:0xf1},_0xb74ea5={_0x2671a2:0xba,_0x45caf3:0x1d2};function _0xff9355(_0x597e5f,_0x3a59d1,_0x46b9e1,_0x5b959d){return _0x4eedea(_0x597e5f-_0xb74ea5._0x2671a2,_0x5b959d-0x3a2,_0x597e5f,_0x5b959d-_0xb74ea5._0x45caf3);}function _0x4e16ff(_0x48d314,_0x52249e,_0x503783,_0x2b2799){return _0xa5377c(_0x2b2799,_0x52249e-_0x4ac753._0x290986,_0x503783-_0x4ac753._0x454b84,_0x48d314-0x2ba);}try{return JSON[_0xff9355(0x38c,_0x17339d._0x1356ff,_0x17339d._0x3767d1,0x376)](await _0x49f681(_0x31176a,_0x4e16ff(0x803,0x645,0x60f,_0x17339d._0x15b3e2)));}catch(_0x4f96a9){if(_0x4f96a9 instanceof Error&&_0xff9355(0x699,_0x17339d._0x538948,0x62b,_0x17339d._0x37de7d)in _0x4f96a9&&_0x4f96a9[_0xff9355(0x9e2,_0x17339d._0x1b39cb,0x895,0x785)]==='ENOENT')return{};throw _0x4f96a9;}}async function writeStore(_0x4c9cbd,_0x413606){const _0x4f83b2={_0x15b14b:0x79b,_0x3d9198:0x67d,_0x5e25a4:0x784},_0x3b97b0={_0x45dfe3:0x120,_0x2d804b:0x431,_0x2bcdd8:0x10d};function _0x5c0d9d(_0x20a2ea,_0x2c228f,_0x2ded10,_0x5c61a2){return _0x4eedea(_0x20a2ea-_0x3b97b0._0x45dfe3,_0x5c61a2-_0x3b97b0._0x2d804b,_0x2c228f,_0x5c61a2-_0x3b97b0._0x2bcdd8);}await _0x74bab9(_0x88e268(_0x4c9cbd,'..'),{'recursive':!![]});function _0x5f4bc5(_0x55997a,_0x5c3e88,_0x3ed5f2,_0x1576ad){return _0xa5377c(_0x55997a,_0x5c3e88-0x17,_0x3ed5f2-0x105,_0x3ed5f2-0x26);}await _0x564ec5(_0x4c9cbd,JSON[_0x5f4bc5(_0x4f83b2._0x15b14b,_0x4f83b2._0x3d9198,0x611,0x3d4)](_0x413606,null,0x2),_0x5c0d9d(0x753,0x546,0x9be,_0x4f83b2._0x5e25a4));}async function updateStore(_0x28f825,_0x755baf){const _0x49687c=await readStore(_0x28f825);_0x755baf(_0x49687c),await writeStore(_0x28f825,_0x49687c);}function createMcpOAuthProvider(_0x57fd58){const _0x2acfc0={_0x5ca04d:0x5b2,_0x415397:0x617,_0x43b451:0x72a,_0x48c775:0x786,_0x13ef12:0x8f5,_0xcf1cb1:0x200,_0x438b5e:0x277,_0x25a100:0x2bb,_0x1d96b6:0x46c,_0x35619f:0x4d0,_0x14f354:0x28c,_0x46fd9e:0x1cf,_0x22b10c:0x2c3,_0x5cd6b5:0x3e4,_0x4f076f:0x216,_0x2b2560:0x11a,_0x89e050:0x8ba,_0x445549:0xa00,_0x547d05:0x778,_0x23f589:0x250,_0x406b00:0x72a,_0x1cd955:0x827,_0x44676e:0x44e},_0x1505a2={_0x5d6333:0x44e},_0x262db6={_0x592f9a:0x2f6},_0x587f50={_0x3e7c23:0x6a7,_0x926e50:0x5fc,_0x4b26c5:0x4bf,_0x477156:0xf3,_0x58c2ab:0x346,_0x57ad95:0x1e,_0xa43a29:0x245,_0x4d1cdd:0x1e,_0x3c2844:0x114,_0x54e5dc:0x6d8,_0x2939ce:0x45c,_0x216708:0x287,_0x7dd9ab:0x1af,_0x1a9e0d:0x4b,_0x4113b3:0x1e,_0x344deb:0xe4,_0x3fbfcf:0x10e,_0x26f972:0x272,_0x44c257:0x119,_0x57c76b:0x376,_0x1c4c31:0x5c,_0x3090ca:0x269,_0x2e08ad:0x400,_0x27f0f7:0x2,_0x88b409:0xad,_0x5c4963:0x564,_0x122c61:0x57e},_0x315ec7={_0x4e9ce7:0x4c,_0x5b16a5:0x23e,_0x317823:0x1e,_0x277c52:0x5c8,_0x1c0c30:0x535},_0x1f906e={_0x5dd87e:0x6c4},_0x2c1fba={_0x427494:0x1c2},_0x31a6dd={_0x41d178:0x448,_0xe3a2b5:0x1eb},_0x4f6ba2={_0x152e2a:0xc6},_0x4e213e={_0x2f4294:0x49d},_0x3b7658={_0x328556:0xa,_0x23e56b:0xb7,_0x11b25e:0x19e,_0x350d55:0x257},_0x18c7b2={_0x307ca6:0x3a5,_0x213b1c:0xd6},_0x20ca46={_0x5306a6:0xa6};function _0x1aa86f(_0x10e06a,_0x3b2a82,_0x12dfed,_0x43c631){return _0xa5377c(_0x43c631,_0x3b2a82-0x8,_0x12dfed-0x19b,_0x10e06a-0x2e1);}function _0x320721(_0x3ef6eb,_0x346a86,_0x44bc17,_0x1b09c8){return _0xa5377c(_0x44bc17,_0x346a86-_0x20ca46._0x5306a6,_0x44bc17-0x114,_0x3ef6eb- -0xcc);}const _0x476e4c=storagePath(_0x57fd58),_0x29951a=_0x57fd58[_0x1aa86f(_0x2acfc0._0x5ca04d,_0x2acfc0._0x415397,0x62a,0x794)][_0x1aa86f(_0x2acfc0._0x43b451,0x5bb,_0x2acfc0._0x48c775,_0x2acfc0._0x13ef12)]?.['scopes']?.[_0x320721(_0x2acfc0._0xcf1cb1,0x35e,_0x2acfc0._0x438b5e,_0x2acfc0._0x25a100)]('\x20'),_0x1d602a={'client_name':_0x320721(_0x2acfc0._0x1d96b6,_0x2acfc0._0x35619f,0x5be,_0x2acfc0._0x14f354),'redirect_uris':[_0x57fd58['callbackUrl']],'grant_types':[_0x320721(0x27c,_0x2acfc0._0x46fd9e,_0x2acfc0._0x22b10c,_0x2acfc0._0x5cd6b5),_0x320721(0x243,0x204,_0x2acfc0._0x4f076f,_0x2acfc0._0x2b2560)],'response_types':[_0x1aa86f(_0x2acfc0._0x89e050,0xaa5,_0x2acfc0._0x445549,_0x2acfc0._0x547d05)],'token_endpoint_auth_method':_0x320721(0x47a,_0x2acfc0._0x23f589,0x313,0x416),..._0x29951a?{'scope':_0x29951a}:{}};return{'clientMetadataUrl':_0x57fd58['config'][_0x1aa86f(_0x2acfc0._0x406b00,_0x2acfc0._0x1cd955,0x5bb,0x4de)]?.[_0x320721(0x3a5,_0x2acfc0._0x44676e,0x158,0x1a4)],get 'redirectUrl'(){return _0x57fd58['callbackUrl'];},get 'clientMetadata'(){return _0x1d602a;},async 'state'(){const _0x31495e={_0x21c146:0x696,_0x32450f:0xff},_0x5acae6=await readStore(_0x476e4c);if(_0x5acae6[_0x44f2dd(0x4f8,0x2cd,_0x4e213e._0x2f4294,0x3e1)])return _0x5acae6['state'];function _0x44f2dd(_0xd28e18,_0x59ca3a,_0x361e1d,_0x1aad95){return _0x320721(_0xd28e18-_0x18c7b2._0x307ca6,_0x59ca3a-0xec,_0x361e1d,_0x1aad95-_0x18c7b2._0x213b1c);}const _0x3014ea=_0x31b803();return await updateStore(_0x476e4c,_0x2f3d94=>{function _0xa853f9(_0x5a0125,_0x209887,_0x2c797e,_0x599584){return _0x44f2dd(_0x2c797e- -_0x31495e._0x21c146,_0x209887-_0x31495e._0x32450f,_0x599584,_0x599584-0x1b);}_0x2f3d94[_0xa853f9(_0x3b7658._0x328556,-_0x3b7658._0x23e56b,-_0x3b7658._0x11b25e,-_0x3b7658._0x350d55)]=_0x3014ea;}),_0x3014ea;},async 'clientInformation'(){return(await readStore(_0x476e4c))['clientInformation'];},async 'saveClientInformation'(_0x17c144){const _0x24e210={_0x3dfa15:0x2c4};await updateStore(_0x476e4c,_0x25b4f2=>{function _0x4f57dc(_0x13f8e4,_0x19847c,_0x26de0d,_0x16e886){return _0x7d60(_0x16e886- -_0x24e210._0x3dfa15,_0x13f8e4);}_0x25b4f2[_0x4f57dc(-0x59,-0x8d,-0x175,_0x4f6ba2._0x152e2a)]=_0x17c144;});},async 'tokens'(){return(await readStore(_0x476e4c))['tokens'];},async 'saveTokens'(_0x57b9aa){const _0x4c27af={_0x101c43:0x77c,_0x181e1e:0x615,_0x335e2b:0x8c1},_0x10b25e={_0x559375:0x1cc};await updateStore(_0x476e4c,_0x5b24aa=>{function _0x3e1171(_0x4c524e,_0x20b9a2,_0x341d95,_0x10c66f){return _0x7d60(_0x341d95-_0x10b25e._0x559375,_0x4c524e);}_0x5b24aa[_0x3e1171(_0x4c27af._0x101c43,_0x4c27af._0x181e1e,0x6ea,_0x4c27af._0x335e2b)]=_0x57b9aa;});},async 'redirectToAuthorization'(_0x5884c2){await _0x57fd58['onRedirect'](_0x5884c2);},async 'saveCodeVerifier'(_0x113e28){await updateStore(_0x476e4c,_0x268af5=>{function _0x6e3da8(_0x4d95b0,_0x1a272c,_0x4fba39,_0x1fcc5b){return _0x7d60(_0x4d95b0-0x50,_0x1fcc5b);}_0x268af5[_0x6e3da8(_0x31a6dd._0x41d178,_0x31a6dd._0xe3a2b5,0x250,0x21b)]=_0x113e28;});},async 'codeVerifier'(){const _0x20ac5b=(await readStore(_0x476e4c))[_0x248c68(_0x315ec7._0x4e9ce7,_0x315ec7._0x5b16a5,-0x18,_0x315ec7._0x317823)];if(!_0x20ac5b)throw new Error(_0x36afda(0x431,_0x315ec7._0x277c52,_0x315ec7._0x1c0c30,0x570));function _0x36afda(_0x137d97,_0x4beeaa,_0x257973,_0x81eb60){return _0x320721(_0x4beeaa-0x470,_0x4beeaa-0x9a,_0x257973,_0x81eb60-_0x2c1fba._0x427494);}function _0x248c68(_0x15d50f,_0x283f75,_0x409fea,_0xca2518){return _0x1aa86f(_0x15d50f- -_0x1f906e._0x5dd87e,_0x283f75-0x165,_0x409fea-0x96,_0x409fea);}return _0x20ac5b;},async 'invalidateCredentials'(_0x21fa4f){await updateStore(_0x476e4c,_0x1ce3c3=>{const _0x47c402={_0x2274d5:0x297};(_0x21fa4f===_0x1cf353(-0x22,0x35b,0xfb,0x233)||_0x21fa4f===_0x1cf353(0x433,_0x587f50._0x3e7c23,_0x587f50._0x926e50,_0x587f50._0x4b26c5))&&(_0x1ce3c3[_0x86ae39(0x13c,_0x587f50._0x477156,_0x587f50._0x58c2ab,_0x587f50._0x57ad95)]=void 0x0);(_0x21fa4f===_0x86ae39(_0x587f50._0xa43a29,_0x587f50._0x4d1cdd,-_0x587f50._0x3c2844,0x163)||_0x21fa4f===_0x1cf353(_0x587f50._0x54e5dc,0x668,_0x587f50._0x2939ce,0x49c))&&(_0x1ce3c3[_0x86ae39(0x2db,_0x587f50._0x216708,_0x587f50._0x7dd9ab,0x16a)]=void 0x0);(_0x21fa4f===_0x86ae39(_0x587f50._0x1a9e0d,_0x587f50._0x4113b3,0x104,0x1d7)||_0x21fa4f===_0x86ae39(0x11e,_0x587f50._0x344deb,0x26c,-_0x587f50._0x3fbfcf))&&(_0x1ce3c3[_0x1cf353(_0x587f50._0x26f972,_0x587f50._0x44c257,0x460,_0x587f50._0x57c76b)]=void 0x0,_0x1ce3c3[_0x86ae39(-_0x587f50._0x1c4c31,-0xaf,-0x1fb,-_0x587f50._0x3090ca)]=void 0x0);function _0x1cf353(_0x27b1bd,_0x2e6a42,_0x3f1774,_0x15c879){return _0x7d60(_0x15c879- -0x82,_0x3f1774);}function _0x86ae39(_0x54d5de,_0x2ec88f,_0x4b3248,_0x3885e2){return _0x7d60(_0x2ec88f- -_0x47c402._0x2274d5,_0x54d5de);}(_0x21fa4f===_0x1cf353(_0x587f50._0x2e08ad,_0x587f50._0x27f0f7,_0x587f50._0x88b409,0x233)||_0x21fa4f==='discovery')&&(_0x1ce3c3[_0x1cf353(_0x587f50._0x5c4963,_0x587f50._0x122c61,0x2d2,0x4c2)]=void 0x0);});},async 'saveDiscoveryState'(_0x46dadf){await updateStore(_0x476e4c,_0x29a3f7=>{const _0x4c864e={_0x4b66f5:0x369};function _0x2b3f91(_0x3bfb00,_0xb51a73,_0x3d8973,_0x4550c6){return _0x7d60(_0x3bfb00- -_0x4c864e._0x4b66f5,_0xb51a73);}_0x29a3f7[_0x2b3f91(0x1db,_0x262db6._0x592f9a,0x206,0x11e)]=_0x46dadf;});},async 'discoveryState'(){const _0x34e910={_0x554a85:0x22};function _0x53a113(_0x460535,_0x45fb82,_0x184b78,_0x44bcad){return _0x320721(_0x460535-0x1ed,_0x45fb82-_0x34e910._0x554a85,_0x184b78,_0x44bcad-0x1c3);}return(await readStore(_0x476e4c))[_0x53a113(0x69c,0x8db,_0x1505a2._0x5d6333,0x647)];}};}import{UnauthorizedError}from'@modelcontextprotocol/sdk/client/auth.js';import{ErrorCode,McpError}from'@modelcontextprotocol/sdk/types.js';var failureByOperation={'close':{'code':_0x4eedea(0x119,0x1fb,0x21d,0x1d3),'message':_0x2b84b2=>_0x4eedea(0xb6,0x127,0x322,-0xc9)+_0x2b84b2+'\x20failed\x20to\x20close'},'connect':{'code':_0xa5377c(0x72c,0x630,0x41e,0x652),'message':_0x128f8c=>_0x4eedea(0xdb,0x127,-0xb,0x218)+_0x128f8c+_0xa5377c(0x801,0x894,0x511,0x654)},'discover':{'code':_0xa5377c(0x55f,0x57e,0x6e7,0x4db),'message':_0x3267ab=>_0xa5377c(0x326,0x3d5,0x1c6,0x31d)+_0x3267ab+_0x4eedea(0x287,0x33c,0xe5,0x1b8)},'toolCall':{'code':_0xa5377c(0x94,0x3c0,0xe1,0x27d),'message':_0x4a15af=>'MCP\x20server\x20'+_0x4a15af+'\x20tool\x20call\x20failed'}},timeoutMessageByOperation={'close':_0x21ba07=>_0x4eedea(-0xe1,0x127,-0x69,-0x7c)+_0x21ba07+_0x4eedea(0x21d,0x20d,0x3bb,0x32),'connect':_0x6db548=>_0x4eedea(0x296,0x127,0x1e7,0x89)+_0x6db548+_0xa5377c(0x19a,0x311,0x3e7,0x368),'discover':_0x58a596=>_0xa5377c(0x1c6,0x3a1,0x430,0x31d)+_0x58a596+_0x4eedea(-0x101,0x82,-0x6b,0x1df),'toolCall':_0x32ac8e=>_0xa5377c(0x3d4,0x1e5,0x198,0x31d)+_0x32ac8e+_0x4eedea(0x24f,0x290,0x3cf,0x193)};function toMcpSafeError(_0x435ad1){const _0x1935c6={_0x16e640:0x173,_0x47c99f:0x24f,_0x437201:0xd,_0x4a247c:0xce,_0x99bb01:0x12c,_0x1a4186:0x60,_0x341a6e:0xb0,_0x35ef88:0x1e5,_0x173fea:0x2b,_0x23b46e:0x7ec,_0x4b56d2:0x98e,_0x40c9c5:0xa2b,_0x583227:0x56f,_0x2fe38a:0x507,_0x34016e:0x708,_0x44433c:0x1fb,_0x13ac94:0x3a4,_0xf5be62:0x123,_0x3dbd82:0x1ab,_0x1d2810:0x345,_0x4e8e8e:0x378,_0x1ce24d:0x30b,_0x10c57f:0x798,_0x419659:0x551,_0x39a862:0x6c1,_0x385bba:0x207},_0x289d90={_0x2e4007:0x37b},_0xcba002={_0x39870c:0x38f,_0x499e11:0x14a};function _0x28c126(_0x5af929,_0x1b5349,_0x4800c5,_0x33985f){return _0x4eedea(_0x5af929-0x115,_0x1b5349-_0xcba002._0x39870c,_0x33985f,_0x33985f-_0xcba002._0x499e11);}if(_0x435ad1[_0x5f541d(_0x1935c6._0x16e640,-_0x1935c6._0x47c99f,0x9c,-_0x1935c6._0x437201)]instanceof UnauthorizedError)return Object['freeze']({'code':_0x5f541d(-_0x1935c6._0x4a247c,-_0x1935c6._0x99bb01,0x92,0x4),'message':'MCP\x20server\x20'+_0x435ad1[_0x5f541d(_0x1935c6._0x1a4186,_0x1935c6._0x341a6e,-_0x1935c6._0x35ef88,_0x1935c6._0x173fea)]+_0x28c126(0x964,_0x1935c6._0x23b46e,_0x1935c6._0x4b56d2,_0x1935c6._0x40c9c5)});if(_0x435ad1[_0x28c126(_0x1935c6._0x583227,_0x1935c6._0x2fe38a,_0x1935c6._0x34016e,0x308)]instanceof McpError&&_0x435ad1[_0x5f541d(0xcf,0x1de,_0x1935c6._0x44433c,-0xd)][_0x5f541d(_0x1935c6._0x13ac94,_0x1935c6._0xf5be62,_0x1935c6._0x3dbd82,0x25e)]===ErrorCode['RequestTimeout'])return Object[_0x28c126(_0x1935c6._0x1d2810,_0x1935c6._0x4e8e8e,_0x1935c6._0x1ce24d,0x121)]({'code':_0x28c126(_0x1935c6._0x10c57f,0x63e,0x7a4,_0x1935c6._0x419659),'message':timeoutMessageByOperation[_0x435ad1[_0x5f541d(0x7f,0xb0,0x7a,0x19b)]](_0x435ad1['serverName'])});function _0x5f541d(_0x368b87,_0x378f16,_0x1f6639,_0x3d1552){return _0xa5377c(_0x378f16,_0x378f16-0xf7,_0x1f6639-0x38,_0x3d1552- -_0x289d90._0x2e4007);}const _0x48841d=failureByOperation[_0x435ad1[_0x28c126(_0x1935c6._0x39a862,0x6af,0x548,0x662)]];return Object['freeze']({'code':_0x48841d['code'],'message':_0x48841d[_0x5f541d(0x77,0x44f,0xb8,_0x1935c6._0x385bba)](_0x435ad1['serverName'])});}function _0x4eedea(_0x3fd063,_0x551eee,_0x4f662c,_0x402f9c){return _0x7d60(_0x551eee- -0x1bf,_0x4f662c);}function redactMcpDiagnostic(_0x577acf,_0x48c74b){const _0x36c7bd={_0x332d0f:0x430,_0x4b6e7a:0x412,_0x10be0e:0x425,_0x58b7d9:0x57c,_0x345b7a:0x3fb,_0x1f2dbd:0x3b9,_0x132320:0x69b,_0x348217:0x2db,_0x1701cd:0x608,_0x38c8cf:0x5f5,_0x49aa09:0x305,_0x3e875b:0x3a9,_0x578808:0x476,_0x13a367:0x465,_0x393197:0x5c1,_0x2bf9c6:0x67c,_0x3022c0:0x829,_0x53c25c:0x3f2,_0x409bec:0x554},_0x2c2335={_0x3324cf:0x176,_0x3ebe2b:0x1c},_0x1153bc={_0x191922:0xd5},_0x37f3b8=[...new Set(_0x48c74b[_0x2ffce7(_0x36c7bd._0x332d0f,_0x36c7bd._0x4b6e7a,_0x36c7bd._0x10be0e,_0x36c7bd._0x58b7d9)](_0x352ebb=>_0x352ebb[_0x4f4f2d(0x47f,0x521,0x567,0x56a)]>0x0))][_0x2ffce7(_0x36c7bd._0x345b7a,_0x36c7bd._0x1f2dbd,0x43d,_0x36c7bd._0x132320)]((_0x3bebf7,_0x4c7149)=>_0x4c7149['length']-_0x3bebf7[_0x2ffce7(0x348,0x30b,0x476,0x24c)]);if(_0x577acf[_0x4f4f2d(0x47f,_0x36c7bd._0x348217,_0x36c7bd._0x1701cd,_0x36c7bd._0x38c8cf)]===0x0||_0x37f3b8['length']===0x0)return _0x577acf;let _0x576694='',_0x119b90=0x0;function _0x4f4f2d(_0xb12155,_0x4a5255,_0x23493a,_0x17cbbb){return _0x4eedea(_0xb12155-_0x1153bc._0x191922,_0xb12155-0x21b,_0x23493a,_0x17cbbb-0x1c6);}function _0x2ffce7(_0x771221,_0x2e004c,_0x55aeb1,_0x35b215){return _0xa5377c(_0x771221,_0x2e004c-_0x2c2335._0x3324cf,_0x55aeb1-0x1bb,_0x55aeb1-_0x2c2335._0x3ebe2b);}while(_0x119b90<_0x577acf[_0x2ffce7(_0x36c7bd._0x49aa09,_0x36c7bd._0x3e875b,_0x36c7bd._0x578808,_0x36c7bd._0x13a367)]){const _0x55ca8b=_0x37f3b8[_0x4f4f2d(0x662,_0x36c7bd._0x393197,_0x36c7bd._0x2bf9c6,_0x36c7bd._0x3022c0)](_0x143175=>_0x577acf['startsWith'](_0x143175,_0x119b90));_0x55ca8b?(_0x576694+=_0x2ffce7(0x653,0x230,0x442,_0x36c7bd._0x53c25c),_0x119b90+=_0x55ca8b[_0x4f4f2d(0x47f,0x265,_0x36c7bd._0x409bec,0x48b)]):(_0x576694+=_0x577acf[_0x119b90],_0x119b90+=0x1);}return _0x576694;}var ownedMcpSafeErrors=new WeakMap();function isWeakMapKey(_0x3ba1c6){const _0x3f3068={_0x51b23a:0x296,_0x332201:0x399},_0x20ff45={_0x222438:0x2c3},_0x48fc96={_0x31e90a:0x1a0};function _0x36bc88(_0x2ffec3,_0xc96b36,_0x4a45d1,_0x338f91){return _0xa5377c(_0x4a45d1,_0xc96b36-_0x48fc96._0x31e90a,_0x4a45d1-0x6,_0x338f91- -0x373);}function _0x10c0c1(_0x3c9f59,_0x45249d,_0x12c0ae,_0x2d2f68){return _0xa5377c(_0x3c9f59,_0x45249d-0x8c,_0x12c0ae-0x97,_0x2d2f68- -_0x20ff45._0x222438);}return typeof _0x3ba1c6===_0x36bc88(-0x114,_0x3f3068._0x51b23a,0xf6,0xdf)&&_0x3ba1c6!==null||typeof _0x3ba1c6===_0x36bc88(_0x3f3068._0x332201,0x81,0x2ad,0x146);}function createOwnedMcpSafeError(_0x27e554){const _0x39ab32={_0x5e5f44:0x1d8,_0x29ac3e:0x39b,_0x1b2224:0x44c,_0x55a1d4:0x3d2,_0x1f76a0:0x2e2,_0x2a9fc2:0x67},_0x14cc2b={_0x430a05:0xb0,_0x35fb59:0x101,_0x4fccc1:0x136},_0x4bc2bb={_0x5d7ade:0x5,_0x4b60be:0x1b7};function _0x4a92a1(_0xfa249c,_0x122184,_0x332c2e,_0x2f94fd){return _0xa5377c(_0xfa249c,_0x122184-_0x4bc2bb._0x5d7ade,_0x332c2e-_0x4bc2bb._0x4b60be,_0x2f94fd- -0x308);}const _0xe1902b=toMcpSafeError(_0x27e554);function _0x505e04(_0x507fc8,_0x4b7c1e,_0xee11e4,_0x1bbcd2){return _0xa5377c(_0x1bbcd2,_0x4b7c1e-_0x14cc2b._0x430a05,_0xee11e4-_0x14cc2b._0x35fb59,_0x4b7c1e- -_0x14cc2b._0x4fccc1);}const _0x1f36a7=Object[_0x505e04(_0x39ab32._0x5e5f44,0xa9,0xbf,0x262)]({'code':_0xe1902b['code'],'message':_0xe1902b[_0x505e04(_0x39ab32._0x29ac3e,_0x39ab32._0x1b2224,_0x39ab32._0x55a1d4,_0x39ab32._0x1f76a0)]});return ownedMcpSafeErrors[_0x4a92a1(-0x8f,_0x39ab32._0x2a9fc2,0x331,0x179)](_0xe1902b,_0x1f36a7),_0xe1902b;}function extractOwnedMcpSafeError(_0x4b6aa9){const _0x5896b2={_0xedc648:0x4a5,_0x5e6c60:0x412,_0xa169a5:0x638,_0x16074f:0x187,_0x1f1324:0x87a,_0xf76dfc:0x7c0,_0x4e3bf5:0x823,_0x889f16:0x53b,_0x32386d:0x44d},_0x55b38f={_0x3608ba:0xd6,_0x4546fb:0x58},_0x3ddf0c={_0x4038fc:0xa2};if(!isWeakMapKey(_0x4b6aa9))return void 0x0;const _0x1b73b5=ownedMcpSafeErrors[_0x2cbc4(_0x5896b2._0xedc648,_0x5896b2._0x5e6c60,0x46a,_0x5896b2._0xa169a5)](_0x4b6aa9);function _0x168316(_0x1f3bf0,_0x4ea5f9,_0x1331d9,_0x1c8bcb){return _0xa5377c(_0x1331d9,_0x4ea5f9-_0x3ddf0c._0x4038fc,_0x1331d9-0x1a1,_0x1f3bf0-0x2a1);}if(!_0x1b73b5)return void 0x0;function _0x2cbc4(_0x1fcd54,_0x2beb5f,_0x2f728c,_0x35533){return _0xa5377c(_0x2beb5f,_0x2beb5f-_0x55b38f._0x3608ba,_0x2f728c-0x95,_0x2f728c- -_0x55b38f._0x4546fb);}const _0xee78c6=Object[_0x2cbc4(0xd8,0x24a,_0x5896b2._0x16074f,0x15e)]({'code':_0x1b73b5[_0x168316(_0x5896b2._0x1f1324,0xa12,_0x5896b2._0xf76dfc,0x897)],'message':_0x1b73b5[_0x168316(_0x5896b2._0x4e3bf5,0x77b,0x8a0,0x68e)]});return ownedMcpSafeErrors[_0x2cbc4(_0x5896b2._0x889f16,0x2c6,0x429,_0x5896b2._0x32386d)](_0xee78c6,_0x1b73b5),_0xee78c6;}function ownValue(_0x3d5739,_0x47e300){return _0x3d5739&&Object['hasOwn'](_0x3d5739,_0x47e300)?_0x3d5739[_0x47e300]:void 0x0;}function isToolPermissionClass(_0x40931f){const _0x116f8b={_0x2c8e76:0x78a,_0x499e18:0x6b5,_0x365392:0x463},_0x3463d7={_0x3f263a:0x62,_0x268798:0x13c,_0x21cd79:0x1bf},_0x194dcd={_0x4bdbfa:0x154,_0x655b92:0x131};function _0x4bda71(_0x2d644d,_0x1b8b2a,_0x406942,_0x4f1a89){return _0xa5377c(_0x1b8b2a,_0x1b8b2a-_0x194dcd._0x4bdbfa,_0x406942-0xb1,_0x4f1a89-_0x194dcd._0x655b92);}function _0x335179(_0x5872bb,_0x11f0fb,_0x26511d,_0x36a453){return _0xa5377c(_0x36a453,_0x11f0fb-_0x3463d7._0x3f263a,_0x26511d-_0x3463d7._0x268798,_0x11f0fb-_0x3463d7._0x21cd79);}return _0x40931f==='read'||_0x40931f===_0x335179(0x92f,0x72c,0x5cc,_0x116f8b._0x2c8e76)||_0x40931f===_0x335179(0x6eb,_0x116f8b._0x499e18,_0x116f8b._0x365392,0x854);}function suggestedPermissionClass(_0x1fe172){const _0x5fd046={_0x11309f:0x866,_0x43fea5:0x649,_0x2e63b3:0x905,_0x358bc0:0x794},_0x417637={_0x6c04c7:0x542,_0x1e293f:0x100},_0x3c751b={_0x4391b1:0x61};function _0x2dc3a9(_0x156a12,_0x1cc4a4,_0x218154,_0x293d72){return _0xa5377c(_0x218154,_0x1cc4a4-_0x3c751b._0x4391b1,_0x218154-0x42,_0x293d72-0x26f);}const _0x255124=_0x1fe172[_0x2dc3a9(_0x5fd046._0x11309f,0x6d6,_0x5fd046._0x43fea5,0x6dc)]?.[_0x6e659(_0x5fd046._0x2e63b3,0x66c,0x7ca,_0x5fd046._0x358bc0)];function _0x6e659(_0x514656,_0x21764b,_0x4127e9,_0x34692f){return _0x4eedea(_0x514656-0x91,_0x34692f-_0x417637._0x6c04c7,_0x21764b,_0x34692f-_0x417637._0x1e293f);}if(_0x255124===!![])return'read';if(_0x255124===![])return'write';return void 0x0;}function isJsonValue(_0x10647c){const _0x562257={_0x1c5a5f:0x1b8,_0x2cb2df:0x4ae,_0x5cc535:0xeb,_0x564db5:0x400,_0x49fe3e:0x35,_0x3518b2:0x3a3,_0x5aa789:0x33e,_0x5ff6ae:0x6,_0x2b5054:0x120,_0x2e6544:0x2a4,_0x1f60fe:0x13f,_0x360085:0x342,_0x48321b:0x26b,_0x265f6c:0x421,_0x55ce5a:0x921,_0xcdb0c0:0x66c},_0x3f184b={_0x30982b:0x215,_0x12ffbd:0xf6},_0x476601={_0x5c7de9:0xba,_0x15da1d:0x41a,_0x1fc626:0x48};if(_0x10647c===null||typeof _0x10647c===_0x59bd3c(_0x562257._0x1c5a5f,_0x562257._0x2cb2df,0x19d,0x24f)||typeof _0x10647c===_0x59bd3c(-_0x562257._0x5cc535,-0x46d,-_0x562257._0x564db5,-0x21b)||typeof _0x10647c===_0x59bd3c(-_0x562257._0x49fe3e,-_0x562257._0x3518b2,-_0x562257._0x5aa789,-0x1fc))return!![];function _0x5c8c7f(_0x1a1820,_0x385445,_0xf00ebe,_0x1f3d13){return _0x4eedea(_0x1a1820-_0x476601._0x5c7de9,_0x1f3d13-_0x476601._0x15da1d,_0x1a1820,_0x1f3d13-_0x476601._0x1fc626);}if(Array[_0x59bd3c(0x330,-0xc4,_0x562257._0x5ff6ae,0x10c)](_0x10647c))return _0x10647c[_0x59bd3c(_0x562257._0x2b5054,_0x562257._0x2e6544,0x7c,_0x562257._0x1f60fe)](isJsonValue);if(!isObject(_0x10647c))return![];function _0x59bd3c(_0x303f59,_0xb60b3c,_0x30f041,_0x37ab0d){return _0x4eedea(_0x303f59-0x5,_0x37ab0d- -_0x3f184b._0x30982b,_0xb60b3c,_0x37ab0d-_0x3f184b._0x12ffbd);}return Object[_0x5c8c7f(0x5bf,_0x562257._0x360085,_0x562257._0x48321b,_0x562257._0x265f6c)](_0x10647c)[_0x5c8c7f(0x6bf,_0x562257._0x55ce5a,_0x562257._0xcdb0c0,0x76e)](isJsonValue);}function projectMcpTools(_0x91e137){const _0x8b9886={_0x23573d:0x4fd,_0x2eeebf:0x419,_0x577934:0x600,_0x1379d8:0x40d,_0x53856e:0x2ed,_0x300417:0x2af,_0x24698:0x748,_0x481747:0x935,_0x251bae:0x8e8,_0x41d499:0x61d,_0x3de1b1:0x764,_0x4ce831:0x522,_0x3fc953:0x3a1,_0x481525:0x453,_0x1b96cb:0x4ab,_0x5933a0:0x754,_0x33c47d:0x7c3,_0x242dd3:0x73e,_0x1bf9bc:0x5c0,_0x596a6b:0x204,_0x21e3f0:0x57f,_0x5d3a63:0x5cb,_0x18dad6:0x63b,_0xcb4dfe:0x60f,_0x2973e8:0x3be},_0x54172a={_0x277e96:0x134},_0x55d368={_0x4a7f04:0x3d},_0x3e883c=[],_0x135c37=[];function _0x226a84(_0x50948c,_0x587ae5,_0x25ca81,_0x15319){return _0x4eedea(_0x50948c-0xa2,_0x50948c-0x1fd,_0x587ae5,_0x15319-_0x55d368._0x4a7f04);}for(const _0x495edc of _0x91e137['descriptors']){const _0x59d667=ownValue(_0x91e137['toolPermissions'],_0x495edc['name']),_0xbc032b=isToolPermissionClass(_0x59d667)?_0x59d667:void 0x0,_0x550299=_0xbc032b??_0x226a84(_0x8b9886._0x23573d,_0x8b9886._0x2eeebf,_0x8b9886._0x577934,_0x8b9886._0x1379d8),_0x1c8d6b=suggestedPermissionClass(_0x495edc);_0x135c37[_0x226a84(_0x8b9886._0x53856e,0x2a1,0x525,_0x8b9886._0x300417)]({'name':_0x495edc[_0x1de32e(_0x8b9886._0x24698,0x517,_0x8b9886._0x481747,_0x8b9886._0x251bae)],..._0x495edc['description']!==void 0x0?{'description':_0x495edc[_0x1de32e(_0x8b9886._0x41d499,_0x8b9886._0x3de1b1,_0x8b9886._0x4ce831,0x573)]}:{},...isJsonValue(_0x495edc['inputSchema'])?{'inputSchema':_0x495edc[_0x1de32e(_0x8b9886._0x3fc953,_0x8b9886._0x481525,0x21c,_0x8b9886._0x1b96cb)]}:{},'permissionClass':_0x550299,'permissionConfigured':_0xbc032b!==void 0x0,..._0x1c8d6b!==void 0x0?{'suggestedPermissionClass':_0x1c8d6b}:{}});if(ownValue(_0x91e137[_0x1de32e(_0x8b9886._0x5933a0,_0x8b9886._0x33c47d,_0x8b9886._0x242dd3,0x71f)],_0x495edc[_0x1de32e(0x748,0x741,0x7d3,0x7a9)])===![])continue;_0x3e883c['push'](createMcpTool({'serverName':_0x91e137['prefix']??_0x91e137[_0x226a84(0x3ad,0x30d,_0x8b9886._0x1bf9bc,_0x8b9886._0x596a6b)],'tool':_0x495edc,'client':_0x91e137[_0x226a84(_0x8b9886._0x21e3f0,_0x8b9886._0x5d3a63,_0x8b9886._0x18dad6,0x3dc)],'permissionClass':_0x550299,'internalLifecycle':_0x91e137[_0x1de32e(_0x8b9886._0xcb4dfe,0x826,0x5e0,_0x8b9886._0x2973e8)]}));}function _0x1de32e(_0x523615,_0x4c71dd,_0x1a422e,_0x58840f){return _0x4eedea(_0x523615-0x111,_0x523615-0x396,_0x58840f,_0x58840f-_0x54172a._0x277e96);}return{'tools':_0x3e883c,'descriptors':_0x135c37};}function createMcpToolName(_0x201d29,_0x4656a4){const _0x631baf={_0x5341ab:0x755,_0x1a3d71:0x7c1,_0x4ef27c:0x917},_0x5c5e71={_0x5055cf:0x55d,_0xe2c892:0x1a},_0x1dcb88={_0x572d8f:0x37f},_0xb18241=_0x58d362=>_0x58d362['replace'](/[^a-zA-Z0-9_]+/g,'_')[_0x982c12(0x8e0,0xb41,0x92c,0x90d)](/^_+|_+$/g,'');function _0x5026fc(_0x8f28b7,_0x3b93b0,_0xaedfd9,_0x1d8fea){return _0xa5377c(_0x1d8fea,_0x3b93b0-0x6e,_0xaedfd9-0x1bb,_0xaedfd9-_0x1dcb88._0x572d8f);}function _0x982c12(_0x46c1c4,_0xbd3652,_0x173fe7,_0x5c1410){return _0x4eedea(_0x46c1c4-0x16c,_0x173fe7-_0x5c5e71._0x5055cf,_0x5c1410,_0x5c1410-_0x5c5e71._0xe2c892);}return _0x982c12(_0x631baf._0x5341ab,_0x631baf._0x1a3d71,0x88b,_0x631baf._0x4ef27c)+_0xb18241(_0x201d29)+'_'+_0xb18241(_0x4656a4);}function isObject(_0x1cfda1){return typeof _0x1cfda1==='object'&&_0x1cfda1!==null&&!Array['isArray'](_0x1cfda1);}function toSupportedSchema(_0x3ede16){const _0x1ab983={_0x1e20a1:0x815,_0x11a8b0:0x59e,_0x99d106:0x852,_0xfca3c4:0x828,_0x566906:0xa2e,_0x2f3f10:0x7b6,_0x128c74:0x348,_0x3d5a20:0x796,_0x239c71:0x786,_0x354fc0:0x558,_0xe12400:0x54c,_0x841c7a:0x43b,_0x54fab6:0x680,_0x132a74:0x640,_0x308141:0x6a1,_0x373abe:0x7a8,_0x299356:0x762,_0x121551:0x96c,_0x41cb7f:0x7b2,_0x3829c8:0x630,_0x335821:0x7f6},_0x193fc7={_0x585ab9:0x3a4},_0x4e0f25={_0x8209ab:0x1f2,_0x4e34d2:0x18b};if(!isObject(_0x3ede16))return void 0x0;function _0x879051(_0x471b55,_0x5649ff,_0x4c4de4,_0x549368){return _0x4eedea(_0x471b55-_0x4e0f25._0x8209ab,_0x471b55-0x422,_0x549368,_0x549368-_0x4e0f25._0x4e34d2);}function _0x190724(_0x3fe530,_0xcb87be,_0x2280ea,_0x253667){return _0xa5377c(_0x3fe530,_0xcb87be-0xc8,_0x2280ea-0x1a1,_0x253667-_0x193fc7._0x585ab9);}if(_0x3ede16[_0x879051(0x762,_0x1ab983._0x1e20a1,0x791,_0x1ab983._0x11a8b0)]==='string')return{'type':_0x879051(0x886,_0x1ab983._0x99d106,0x9cb,0xa3a)};if(_0x3ede16[_0x190724(_0x1ab983._0xfca3c4,_0x1ab983._0x566906,0x83c,0x8da)]===_0x190724(_0x1ab983._0x2f3f10,_0x1ab983._0x128c74,0x54d,0x594)||_0x3ede16['type']===_0x879051(0x54c,0x329,0x787,_0x1ab983._0x3d5a20))return{'type':'number'};if(_0x3ede16[_0x190724(0x7fc,_0x1ab983._0x239c71,0x788,0x8da)]===_0x190724(_0x1ab983._0x354fc0,_0x1ab983._0xe12400,0x56b,0x5b3))return{'type':_0x879051(_0x1ab983._0x841c7a,0x623,0x66c,0x39a)};if(_0x3ede16[_0x190724(0x78d,_0x1ab983._0x54fab6,0x87e,0x8da)]==='array')return{'type':_0x190724(_0x1ab983._0x132a74,0x56b,0x4c7,0x5e4),'items':toSupportedSchema(_0x3ede16[_0x190724(_0x1ab983._0x239c71,_0x1ab983._0x308141,0x549,_0x1ab983._0x373abe)])??{'type':'string'}};if(_0x3ede16[_0x879051(_0x1ab983._0x299356,0x82e,_0x1ab983._0x121551,0x6f0)]===_0x190724(_0x1ab983._0x41cb7f,0x907,_0x1ab983._0x3829c8,_0x1ab983._0x335821))return toNuvinToolSchema(_0x3ede16);return void 0x0;}function toNuvinToolSchema(_0x2485f8){const _0x1d3a92={_0x475ab7:0xd5,_0x2320f0:0x10a,_0x2650b2:0x92f,_0x192758:0x53f,_0x5bbfa1:0x394,_0x43db51:0x599,_0x50b9ab:0x4ec,_0x1c4968:0x8a9,_0x56383e:0xa9c,_0xc36f9:0x243,_0x234add:0x2a0,_0xb6e149:0x1be,_0x38c743:0x2bc,_0x5bdba0:0x31e,_0x593528:0x2b2,_0x29c52b:0x303,_0x21570f:0x680,_0x2a4f57:0xc0,_0x3a1f55:0x2fb},_0xdd6b99={_0x33017:0x5b,_0x293f7c:0x157},_0x19b669={_0x1272ef:0x51d,_0x1bf097:0x14c};function _0x39c206(_0x2a3b5f,_0x1cb824,_0x3a52cd,_0x1b9814){return _0x4eedea(_0x2a3b5f-0x15b,_0x2a3b5f-_0x19b669._0x1272ef,_0x3a52cd,_0x1b9814-_0x19b669._0x1bf097);}if(!isObject(_0x2485f8)||_0x2485f8['type']!==_0x591a71(_0x1d3a92._0x475ab7,_0x1d3a92._0x2320f0,0xc5,0x2fb))return{'type':_0x39c206(0x779,_0x1d3a92._0x2650b2,0x632,_0x1d3a92._0x192758),'properties':{}};function _0x591a71(_0x4dc139,_0x422bdf,_0x1de119,_0x4b6de2){return _0xa5377c(_0x422bdf,_0x422bdf-_0xdd6b99._0x33017,_0x1de119-0xc6,_0x4b6de2- -_0xdd6b99._0x293f7c);}const _0x4f3c7e={},_0x117589=isObject(_0x2485f8[_0x591a71(_0x1d3a92._0x5bbfa1,0x179,_0x1d3a92._0x43db51,_0x1d3a92._0x5bbfa1)])?_0x2485f8[_0x591a71(_0x1d3a92._0x50b9ab,0x1d7,0x2b1,0x394)]:{};for(const [_0x435354,_0x1a3a68]of Object['entries'](_0x117589)){const _0x420435=toSupportedSchema(_0x1a3a68);if(_0x420435)_0x4f3c7e[_0x435354]=_0x420435;}const _0x314053=Array[_0x39c206(0x83e,_0x1d3a92._0x1c4968,_0x1d3a92._0x56383e,0x866)](_0x2485f8['required'])?_0x2485f8[_0x591a71(_0x1d3a92._0xc36f9,0x13f,_0x1d3a92._0x234add,_0x1d3a92._0xb6e149)][_0x591a71(_0x1d3a92._0x38c743,_0x1d3a92._0x5bdba0,0x1bd,_0x1d3a92._0x593528)](_0x4755e1=>typeof _0x4755e1==='string'):void 0x0;return _0x314053?.[_0x591a71(0x1e2,0x1c2,0x487,_0x1d3a92._0x29c52b)]?{'type':_0x39c206(0x779,0x9c8,_0x1d3a92._0x21570f,0x5c5),'properties':_0x4f3c7e,'required':_0x314053}:{'type':_0x591a71(0x4c6,_0x1d3a92._0x2a4f57,0x1e6,_0x1d3a92._0x3a1f55),'properties':_0x4f3c7e};}function isJsonObject(_0x5a3dcd){const _0x4f3af6={_0x23bfd4:0x6be,_0x53c6a5:0x521,_0x5719ad:0x5b9,_0x27a6c6:0x500},_0x52fa50={_0x334444:0x1ec};function _0x385f82(_0x50f133,_0x16b435,_0x131d91,_0x185b02){return _0xa5377c(_0x50f133,_0x16b435-0x1d5,_0x131d91-_0x52fa50._0x334444,_0x16b435-0x3d);}function _0x41ce5b(_0xac3d24,_0x24b9ad,_0x13b69a,_0x41f0dd){return _0x4eedea(_0xac3d24-0x1c9,_0x13b69a-0x298,_0xac3d24,_0x41f0dd-0x17d);}return typeof _0x5a3dcd===_0x41ce5b(0x60b,0x2bd,0x4f4,_0x4f3af6._0x23bfd4)&&_0x5a3dcd!==null&&!Array[_0x41ce5b(_0x4f3af6._0x53c6a5,0x45c,_0x4f3af6._0x5719ad,_0x4f3af6._0x27a6c6)](_0x5a3dcd);}function formatMcpContent(_0x1274dc){const _0x13f884={_0x3b2d37:0x2bb,_0x7ab792:0x72,_0x2db9d3:0x101,_0x18a7b1:0x177,_0x579549:0x24a,_0x1f620a:0x6d3,_0x45f2ac:0x15e,_0x1cc46a:0x246,_0x5cee22:0x5,_0x186bf0:0x12e,_0x40f94a:0x294,_0x1a0d19:0x310,_0x565964:0x1e7},_0x565b3e={_0x3532ad:0x20,_0x447c63:0x37c},_0x21babb={_0xde9696:0x7fd,_0x36cdd7:0x7ce,_0x15dd7d:0x67e,_0x1f9d3f:0x451,_0x4ee96e:0x27c,_0x1cd97f:0x4fa,_0x7bb42:0x4b2,_0x3f2106:0x2c1},_0x44058d={_0x4ad67c:0x2d0,_0x28a0f8:0x19d},_0x58491a={_0x5edd72:0x20e,_0x469344:0x13f};function _0x40ae76(_0x1516f8,_0x13446c,_0x55da0e,_0x4aa24f){return _0x4eedea(_0x1516f8-0x31,_0x4aa24f- -_0x58491a._0x5edd72,_0x55da0e,_0x4aa24f-_0x58491a._0x469344);}const _0x51c16d=Array[_0x40ae76(0x1e7,_0x13f884._0x3b2d37,_0x13f884._0x7ab792,0x113)](_0x1274dc[_0x40ae76(-_0x13f884._0x2db9d3,-_0x13f884._0x18a7b1,-0x467,-_0x13f884._0x579549)])?_0x1274dc[_0x350534(_0x13f884._0x1f620a,0x536,0x54b,0x4a9)]:[],_0x1aa3bc=_0x51c16d[_0x40ae76(-_0x13f884._0x45f2ac,-0x28b,0x10e,-0x11a)](_0xb486f=>{const _0x490012={_0x2f4ef6:0x115};function _0xff3a50(_0x24034b,_0x3148b0,_0xf32699,_0x20dda1){return _0x40ae76(_0x24034b-_0x490012._0x2f4ef6,_0x3148b0-0x7d,_0x24034b,_0x3148b0-0x283);}if(!isObject(_0xb486f))return'';if(_0xb486f['type']===_0x46ab08(_0x21babb._0xde9696,_0x21babb._0x36cdd7,0x6fe,_0x21babb._0x15dd7d)&&typeof _0xb486f[_0xff3a50(0x4e3,_0x21babb._0x1f9d3f,_0x21babb._0x4ee96e,0x2ae)]==='string')return _0xb486f[_0xff3a50(_0x21babb._0x1cd97f,0x451,0x542,_0x21babb._0x7bb42)];function _0x46ab08(_0x43762f,_0x4a9bf4,_0x27ee23,_0x4825ab){return _0x350534(_0x43762f-0xa0,_0x4825ab- -_0x44058d._0x4ad67c,_0x27ee23-_0x44058d._0x28a0f8,_0x27ee23);}return JSON[_0xff3a50(_0x21babb._0x3f2106,0x46a,0x603,0x460)](_0xb486f);})[_0x40ae76(-0x211,_0x13f884._0x1cc46a,-0x33,_0x13f884._0x5cee22)](_0x20a9df=>_0x20a9df[_0x40ae76(-0x1de,0x9,-0xca,0x56)]>0x0)['join']('\x0a');function _0x350534(_0x8b3a55,_0x39f99f,_0x3edb39,_0x3b06d4){return _0xa5377c(_0x3b06d4,_0x39f99f-_0x565b3e._0x3532ad,_0x3edb39-0xc2,_0x39f99f-_0x565b3e._0x447c63);}if(_0x1aa3bc[_0x40ae76(-0xe5,0x21e,-_0x13f884._0x186bf0,0x56)]>0x0)return _0x1aa3bc;return JSON[_0x40ae76(0x400,_0x13f884._0x40f94a,_0x13f884._0x1a0d19,_0x13f884._0x565964)](_0x1274dc,null,0x2);}function createMcpTool(_0x2c75fb){const _0x38695e={_0xf9eb68:0x602,_0x224ada:0x40a,_0x5616b2:0x521,_0x4d58c8:0x26d,_0x4f650a:0x5c2,_0x47ecf1:0x1a3,_0x3c23b8:0x495,_0x244843:0x3a9,_0x8e17fc:0x9f,_0x279485:0x260,_0x18b2a9:0x171,_0x3c159d:0x1ba,_0x10a3d0:0x60f,_0x1826a6:0x63c,_0x5d269d:0x6ec,_0x394d49:0xa3,_0xc2d4d2:0x6e,_0x24a17a:0x4c9,_0x4484bb:0x4b6,_0x4ceefa:0x3b0,_0x4ff96d:0xed,_0x416dde:0x23b,_0x4b182e:0x1c},_0x402fce={_0x33a326:0x884,_0x4c518a:0x6f5,_0x528ac9:0x67c,_0x5405df:0x6f2,_0x3d40f3:0x655,_0x26bf05:0xa6,_0x1c91f8:0xe,_0xfe66cf:0x31,_0x214be5:0x303,_0x3e48e0:0x1e1,_0xba28f8:0x16a,_0x534f4d:0xaf,_0x551acd:0xf,_0x59e5bf:0x43,_0x67d7a5:0x284,_0x66f7f0:0x6e1,_0x57a83b:0x359},_0x3db8fe={_0x4746cd:0xbb,_0x48e087:0x1eb},_0x4b0b23={_0x473065:0x5a},_0x430d35={_0x2c7499:0xd4},_0x20b200=createMcpToolName(_0x2c75fb[_0x4863a4(0x662,0x40d,0x3aa,_0x38695e._0xf9eb68)],_0x2c75fb[_0x4863a4(0x65c,_0x38695e._0x224ada,_0x38695e._0x5616b2,_0x38695e._0x4d58c8)][_0x3c60ca(0x195,0x3d6,_0x38695e._0x4f650a,0x38b)]);function _0x3c60ca(_0x52513b,_0xcef859,_0x51cf16,_0x35dbce){return _0xa5377c(_0x51cf16,_0xcef859-_0x430d35._0x2c7499,_0x51cf16-0x8b,_0x35dbce- -0x21d);}function _0x4863a4(_0x4de214,_0x586b1d,_0x56302b,_0x5c0a83){return _0xa5377c(_0x5c0a83,_0x586b1d-0xf4,_0x56302b-_0x4b0b23._0x473065,_0x586b1d-0x67);}return defineTool({'name':_0x20b200,'permissionClass':_0x2c75fb[_0x3c60ca(0x1cb,0x348,_0x38695e._0x47ecf1,0x207)],..._0x2c75fb[_0x4863a4(_0x38695e._0x3c23b8,_0x38695e._0x244843,0x1c7,0x40b)]!==void 0x0?{'internalLifecycle':_0x2c75fb['internalLifecycle']}:{},'description':_0x2c75fb['tool'][_0x3c60ca(0xab,_0x38695e._0x8e17fc,0x3b7,_0x38695e._0x279485)]??_0x3c60ca(_0x38695e._0x18b2a9,_0x38695e._0x3c159d,0x148,0x32e)+_0x2c75fb['tool'][_0x4863a4(0x3b5,_0x38695e._0x10a3d0,_0x38695e._0x1826a6,_0x38695e._0x5d269d)]+'\x20from\x20'+_0x2c75fb[_0x3c60ca(_0x38695e._0x394d49,_0x38695e._0xc2d4d2,0x22f,0x189)],'inputSchema':toNuvinToolSchema(_0x2c75fb[_0x4863a4(_0x38695e._0x24a17a,0x40a,_0x38695e._0x4484bb,_0x38695e._0x4ceefa)][_0x3c60ca(-_0x38695e._0x4ff96d,-0x243,-_0x38695e._0x416dde,-_0x38695e._0x4b182e)]),async *'execute'(_0x56af64){const _0x57f92b={_0x3b6a38:0x185,_0x4be530:0x3fb,_0x3ae2d8:0x1a2};function _0x532e32(_0x262725,_0x5783a3,_0x531fed,_0x4e9f7e){return _0x4863a4(_0x262725-0x1df,_0x531fed-_0x3db8fe._0x4746cd,_0x531fed-_0x3db8fe._0x48e087,_0x262725);}let _0xfe8dfb;try{_0xfe8dfb=await _0x2c75fb[_0x532e32(0x810,0x5a8,0x69a,0x513)][_0x532e32(0x751,_0x402fce._0x33a326,_0x402fce._0x4c518a,_0x402fce._0x528ac9)]({'name':_0x2c75fb[_0x532e32(_0x402fce._0x5405df,0x517,0x4c5,_0x402fce._0x3d40f3)]['name'],'arguments':isJsonObject(_0x56af64)?_0x56af64:{}});}catch(_0x2b7ed5){throw extractOwnedMcpSafeError(_0x2b7ed5)??toMcpSafeError({'serverName':_0x2c75fb[_0x532e32(0x728,0x2f7,0x4c8,0x53b)],'operation':_0x588e90(-_0x402fce._0x26bf05,-0x2f,-_0x402fce._0x1c91f8,-_0x402fce._0xfe66cf),'error':_0x2b7ed5});}if(_0xfe8dfb[_0x588e90(-0x30e,-_0x402fce._0x214be5,-_0x402fce._0x3e48e0,-0x140)])throw new ToolExecutionError(formatMcpContent(_0xfe8dfb),{'code':_0x588e90(_0x402fce._0xba28f8,-_0x402fce._0x534f4d,_0x402fce._0x551acd,0x19b),'serverName':_0x2c75fb['serverName'],'toolName':_0x2c75fb['tool'][_0x588e90(_0x402fce._0x59e5bf,_0x402fce._0x67d7a5,0x3cb,0x214)]});function _0x588e90(_0x59183b,_0xebf1dd,_0x3fc6e3,_0x2ecca6){return _0x4863a4(_0x59183b-_0x57f92b._0x3b6a38,_0x2ecca6- -_0x57f92b._0x4be530,_0x3fc6e3-_0x57f92b._0x3ae2d8,_0x3fc6e3);}return yield createToolOutput(formatMcpContent(_0xfe8dfb),{'serverName':_0x2c75fb['serverName'],'toolName':_0x2c75fb[_0x532e32(_0x402fce._0x66f7f0,_0x402fce._0x57a83b,0x4c5,0x28d)][_0x532e32(0x7ee,0x84b,0x6ca,0x519)],'result':_0xfe8dfb}),void 0x0;}});}var DEFAULT_MCP_TIMEOUT_MS=0xea60;function createMcpTimeoutSource(_0x4cdc94){let _0x335b68=_0x4cdc94;return{'get'(){return _0x335b68;},'set'(_0x27698d){_0x335b68=_0x27698d;}};}function resolveMcpTimeoutMs(_0x18d5e2,_0xd019ab){const _0x4b7902={_0x3e22df:0xca,_0x241372:0x21,_0x5a9e30:0xd0},_0x4b7bd6={_0x3b3108:0x31};function _0x2ec480(_0x44f93a,_0x5dbab5,_0x12ba2b,_0x3013f5){return _0xa5377c(_0x3013f5,_0x5dbab5-_0x4b7bd6._0x3b3108,_0x12ba2b-0x10a,_0x44f93a- -0x302);}return _0x18d5e2[_0x2ec480(0xdc,-_0x4b7902._0x3e22df,_0x4b7902._0x241372,-_0x4b7902._0x5a9e30)]??_0xd019ab??DEFAULT_MCP_TIMEOUT_MS;}function mapOwnedMcpBoundaryError(_0x6f8f34,_0x297f71){return(_0x297f71?extractOwnedMcpSafeError(_0x6f8f34['error']):void 0x0)??createOwnedMcpSafeError(_0x6f8f34);}function createMcpGenerationLifecycle(_0xa55fe4){const _0x42c994={_0x2a52a8:0x69a,_0x2cdf84:0x77e,_0x596a71:0x9c3};let _0x7a4f70=0x0,_0x394f09=![],_0x590a22=![],_0x3a69be,_0x2bb452,_0x39d9b2;const _0x4e8c76=()=>{const _0x3cda47={_0x5e1b8c:0x3cd},_0x277dc7={_0x80b8a1:0x29a};function _0x35d5bd(_0x4438fb,_0x4b77ae,_0x1a7eae,_0x5cc8b3){return _0x7d60(_0x5cc8b3- -_0x277dc7._0x80b8a1,_0x4b77ae);}function _0x2337e1(_0x359eff,_0x550d2c,_0x5812d1,_0xa8329){return _0x7d60(_0x550d2c-_0x3cda47._0x5e1b8c,_0x5812d1);}if(!_0x394f09||_0x7a4f70!==0x0||_0x590a22)return;_0x590a22=!![],void Promise[_0x2337e1(0x76c,_0x42c994._0x2a52a8,0x4ca,0x798)]()[_0x2337e1(0x55d,_0x42c994._0x2cdf84,0x683,0x96f)](_0xa55fe4)[_0x2337e1(_0x42c994._0x596a71,0x77e,0x805,0x5ee)](_0x2bb452,_0x39d9b2);};return{'acquire'(){if(_0x394f09)throw new Error('Cannot\x20acquire\x20a\x20retired\x20MCP\x20connection\x20generation');_0x7a4f70+=0x1;let _0x5e7d4f=![];return()=>{if(_0x5e7d4f)return;_0x5e7d4f=!![],_0x7a4f70-=0x1,_0x4e8c76();};},'retire'(){return!_0x3a69be&&(_0x3a69be=new Promise((_0x59e95d,_0x382457)=>{_0x2bb452=_0x59e95d,_0x39d9b2=_0x382457;})),_0x394f09=!![],_0x4e8c76(),_0x3a69be;}};}function buildMcpHttpHeaders(_0x2daf1c){const _0x58278e={_0x2c5d91:0x3c9,_0x1c2609:0x195,_0x1ffa15:0x357,_0x5515ae:0x184,_0x23f947:0x7b,_0x48c56e:0x577,_0x39718f:0x791,_0x2ce36d:0x75a,_0xddfa66:0x60c,_0x558e9f:0x7e,_0x227d48:0x178,_0x39237d:0x57,_0x16d7ec:0x45e,_0x8c9c11:0x31c,_0x2fc1cb:0x5c7,_0x34917d:0x488,_0x885b2f:0x198,_0x1329d9:0x6f0},_0x38b0e7={_0x44c83f:0x17a,_0x537478:0x1e5},_0x31d6af={_0x125e87:0x18c},_0x2f54f1={..._0x2daf1c[_0x3043fd(_0x58278e._0x2c5d91,0x4dc,_0x58278e._0x1c2609,_0x58278e._0x1ffa15)]??{}};_0x2daf1c[_0x3043fd(_0x58278e._0x5515ae,0x26,0x10,_0x58278e._0x23f947)]?.['type']===_0x238d5f(_0x58278e._0x48c56e,0x4e3,_0x58278e._0x39718f,0x730)&&_0x2daf1c[_0x3043fd(0x7d,-0x42,-0x1a,0x7b)][_0x3043fd(-0x1e,-0x224,0x25,-0x7c)]&&_0x2f54f1[_0x238d5f(0x60c,_0x58278e._0x2ce36d,0x634,0x460)]===void 0x0&&(_0x2f54f1[_0x238d5f(_0x58278e._0xddfa66,0x653,0x84d,0x49e)]=_0x3043fd(_0x58278e._0x558e9f,-0x296,-_0x58278e._0x227d48,-_0x58278e._0x39237d)+_0x2daf1c[_0x238d5f(_0x58278e._0x16d7ec,_0x58278e._0x8c9c11,_0x58278e._0x2fc1cb,_0x58278e._0x34917d)][_0x3043fd(-_0x58278e._0x885b2f,0x123,0xea,-0x7c)]);function _0x3043fd(_0x55efc8,_0xe0a88a,_0x14034f,_0x393026){return _0xa5377c(_0xe0a88a,_0xe0a88a-_0x31d6af._0x125e87,_0x14034f-0x187,_0x393026- -0x286);}function _0x238d5f(_0x1392f6,_0x347c56,_0x11d6dd,_0x200932){return _0xa5377c(_0x200932,_0x347c56-_0x38b0e7._0x44c83f,_0x11d6dd-_0x38b0e7._0x537478,_0x1392f6-0x15d);}return Object[_0x238d5f(0x4f3,0x705,0x48d,_0x58278e._0x1329d9)](_0x2f54f1)['length']>0x0?_0x2f54f1:void 0x0;}async function connectMcpServer(_0x27dd20,_0x17a9d7,_0x2f7a4c){const _0x225585={_0x12821a:0xaa,_0x390e60:0x125,_0x22af59:0x46b,_0x2f9c98:0x20a,_0x2b249b:0x27c,_0x18bb18:0x2ce,_0x9e812f:0x99,_0x2fa957:0x176,_0x3f46ee:0x1d5,_0x1d5a27:0xca,_0x23ee1f:0x256,_0x3cbe6c:0x3c,_0x5dd9d8:0x33,_0x25119f:0x33e,_0xd82848:0x10,_0x509aa9:0x138,_0x312085:0xd,_0x24fdf4:0x2f,_0x459ddb:0x316,_0x236d83:0x177,_0x42584d:0xb6,_0x266453:0x9a,_0x34dd8e:0xb9,_0x49356d:0x118,_0x2ee839:0x3ce,_0x190010:0x1f1,_0x5f2ad:0x77,_0x1e84f1:0x33b,_0x48c745:0x160,_0x291388:0xda,_0x3d92aa:0x3f,_0x42a1d0:0xf4,_0x36c0d8:0x166,_0x326b28:0x1ec,_0x1854cf:0x10f,_0x4588ef:0xd5,_0x2b5636:0x140,_0x30c737:0x29d,_0x12257d:0x15e,_0x147022:0x38e,_0x56f8c7:0x198,_0x2d83de:0x230,_0x3dde4d:0x187,_0x379fe0:0x12a,_0x27fbf5:0xf3,_0x2e97a4:0x2d4,_0x4aa0bd:0x1ca,_0x3d2f82:0x160,_0x115baa:0x6d,_0x384f32:0x1c4,_0xb5a9b2:0x12,_0x31c71d:0x6,_0x18b7e7:0x187,_0x4ccd33:0x22d,_0x201d4a:0x7b,_0x15ff6d:0x123},_0x29cf04={_0x27d8cb:0x298,_0x23818b:0x30e,_0x1bb9ab:0x20e},_0x56e8aa={_0x163509:0x258,_0xa4e896:0x389},_0xabc6ba={_0x2af3a1:0x490,_0x2184ae:0x146},_0x2e47ee={_0x34e835:0x4f,_0x45d9f4:0xf3},_0x458d70={_0x7d8d03:0x707,_0x12f01a:0x936,_0x37e13a:0x70,_0x215f53:0x119,_0x547dfc:0xe1,_0xadf29c:0xe6},_0x476435={_0x55ce8d:0xe1},_0x4442c9={_0x10b48b:0x5c4,_0x74c3e4:0x68f,_0xfe830e:0x661,_0x590a9d:0x439,_0x2b9e4a:0x43c,_0x422438:0x532},_0x3b1a47={_0x48febb:0x18,_0x4aa9d4:0xb7,_0x1038ad:0x32a},_0x766b0d={_0x51601e:0x1b6,_0xed49f7:0x1e0},_0x59c298={_0x3dcd6f:0xdc,_0x413be8:0x287},_0x13f06a=new Client({'name':_0x4a8cc5(0x236,_0x225585._0x12821a,_0x225585._0x390e60,0x58),'version':_0x4a8cc5(0x265,_0x225585._0x22af59,_0x225585._0x2f9c98,_0x225585._0x2b249b)}),_0x5f5ca5=_0x2f7a4c?.[_0x4a8cc5(0x6b,-_0x225585._0x18bb18,_0x225585._0x9e812f,-0x91)]??createMcpTimeoutSource(DEFAULT_MCP_TIMEOUT_MS),_0x3d56e0=new Set();let _0x4712d8,_0x25ce2a=![];const _0x2888ec=()=>{const _0x471190={_0x529166:0x73,_0x2265cc:0x1cd};if(_0x25ce2a||_0x4712d8)return;_0x4712d8={'code':_0x587cd2(-_0x59c298._0x3dcd6f,0xf9,_0x59c298._0x413be8,0x20e),'cause':new Error('MCP\x20transport\x20closed\x20unexpectedly')};function _0x587cd2(_0x547479,_0x3806ce,_0x250a68,_0x340bfe){return _0x4a8cc5(_0x250a68,_0x3806ce-_0x471190._0x529166,_0x250a68-0xb0,_0x3806ce-_0x471190._0x2265cc);}for(const _0x2bc778 of _0x3d56e0){try{_0x2bc778(_0x4712d8);}catch{}}};function _0xf38af9(_0x4d9d56,_0x18f4c3,_0x465eaf,_0x21992a){return _0x4eedea(_0x4d9d56-_0x766b0d._0x51601e,_0x18f4c3- -_0x766b0d._0xed49f7,_0x4d9d56,_0x21992a-0x144);}function _0x4a8cc5(_0x3f441d,_0x28b62a,_0x2e7c7d,_0x3ed050){return _0xa5377c(_0x3f441d,_0x28b62a-_0x3b1a47._0x48febb,_0x2e7c7d-_0x3b1a47._0x4aa9d4,_0x3ed050- -_0x3b1a47._0x1038ad);}_0x13f06a[_0xf38af9(-0xe3,_0x225585._0x2fa957,0x269,0x60)]=()=>{const _0x210840={_0x12e928:0x6ef,_0x3c13a9:0x12e,_0x1bab9d:0x27};function _0x1819a2(_0x368095,_0x4a0f3b,_0x10c9d7,_0x19f756){return _0xf38af9(_0x10c9d7,_0x368095-0x6c6,_0x10c9d7-0x104,_0x19f756-0x1b4);}function _0xec8424(_0x4ffc9a,_0x47b628,_0x27ce8f,_0x2c7593){return _0xf38af9(_0x2c7593,_0x47b628-_0x210840._0x12e928,_0x27ce8f-_0x210840._0x3c13a9,_0x2c7593-_0x210840._0x1bab9d);}console[_0x1819a2(0x6e5,0x4da,_0x4442c9._0x10b48b,_0x4442c9._0x74c3e4)](_0x1819a2(_0x4442c9._0xfe830e,_0x4442c9._0x590a9d,_0x4442c9._0x2b9e4a,_0x4442c9._0x422438),{'server':_0x27dd20,'code':_0x1819a2(0x837,0x9cf,0x884,0x662)});},_0x13f06a[_0xf38af9(-0xc9,-0x3f,-0x218,-_0x225585._0x3f46ee)]=_0x2888ec;try{if(_0x17a9d7[_0x4a8cc5(-0x6d,-_0x225585._0x1d5a27,_0x225585._0x23ee1f,_0x225585._0x3cbe6c)]===_0xf38af9(_0x225585._0x5dd9d8,0xed,_0x225585._0x25119f,0x2da)||_0x17a9d7['url']){if(!_0x17a9d7['url'])throw new Error(_0x4a8cc5(_0x225585._0xd82848,0x146,_0x225585._0x509aa9,-_0x225585._0x312085)+_0x27dd20+_0x4a8cc5(0x1ce,-0x80,-_0x225585._0x24fdf4,0xc3));if(_0x17a9d7['auth']?.[_0x4a8cc5(_0x225585._0x459ddb,_0x225585._0x236d83,0x25f,0x20c)]==='oauth'&&!_0x2f7a4c?.[_0x4a8cc5(0x28e,0x193,_0x225585._0x42584d,0x11f)])throw new Error(_0xf38af9(-_0x225585._0x266453,-_0x225585._0x34dd8e,-_0x225585._0x49356d,-0x34)+_0x27dd20+_0xf38af9(_0x225585._0x2ee839,_0x225585._0x190010,0x2df,0x3e9));const _0x3c8661=buildMcpHttpHeaders(_0x17a9d7),_0x91283f=_0x17a9d7[_0xf38af9(-0x24a,-0xd5,-0xdc,-_0x225585._0x5f2ad)]?.[_0xf38af9(_0x225585._0x1e84f1,_0x225585._0x48c745,-_0x225585._0x291388,-_0x225585._0x3d92aa)]===_0x4a8cc5(-_0x225585._0x42a1d0,0x1d4,_0x225585._0x36c0d8,0x11f)&&_0x2f7a4c?.['oauth']?createMcpOAuthProvider({'serverName':_0x27dd20,'callbackUrl':_0x2f7a4c[_0xf38af9(0x210,0x73,-_0x225585._0x326b28,0x233)][_0x4a8cc5(0x35a,-0x24,0xe9,0x1ee)],'storageDir':_0x2f7a4c['oauth'][_0x4a8cc5(0x21c,-0xbc,-_0x225585._0x1854cf,0x10b)],'config':_0x17a9d7[_0xf38af9(-0x4d,-_0x225585._0x4588ef,-0x301,_0x225585._0x2b5636)],'onRedirect':_0xa55edd=>_0x2f7a4c[_0x4a8cc5(0x9a,0x174,0x66,0x11f)]?.[_0x4a8cc5(-0x1e1,0xa1,-0x1c3,-0x150)](_0x27dd20,_0xa55edd)}):void 0x0,_0x4e9fdf=new StreamableHTTPClientTransport(new URL(_0x17a9d7['url']),{'authProvider':_0x91283f,'requestInit':_0x3c8661?{'headers':_0x3c8661}:void 0x0});await _0x13f06a['connect'](_0x4e9fdf,{'timeout':_0x5f5ca5[_0x4a8cc5(_0x225585._0x30c737,_0x225585._0x12257d,_0x225585._0x147022,_0x225585._0x56f8c7)](),..._0x2f7a4c?.[_0xf38af9(_0x225585._0x2d83de,_0x225585._0x3dde4d,0x36e,0x1ce)]!==void 0x0?{'signal':_0x2f7a4c[_0xf38af9(_0x225585._0x379fe0,_0x225585._0x3dde4d,0x182,0x1fc)]}:{}});}else{if(!_0x17a9d7[_0xf38af9(-0x201,-_0x225585._0x27fbf5,0x15d,-0x9f)])throw new Error(_0xf38af9(0x19f,-0xb9,-_0x225585._0x2e97a4,-0x1bc)+_0x27dd20+'\x20requires\x20command\x20for\x20stdio\x20transport');const _0x5f904c=new StdioClientTransport({'command':_0x17a9d7['command'],'args':_0x17a9d7[_0x4a8cc5(_0x225585._0x4aa0bd,_0x225585._0x3d2f82,0x9,0xe)]??[],'env':_0x17a9d7[_0xf38af9(_0x225585._0x115baa,0x23d,0x21b,_0x225585._0x384f32)],'stderr':_0x4a8cc5(-0xc9,0xbc,-0x251,-0x2e)});await _0x13f06a['connect'](_0x5f904c,{'timeout':_0x5f5ca5[_0x4a8cc5(_0x225585._0xb5a9b2,0x28d,_0x225585._0xd82848,0x198)](),..._0x2f7a4c?.[_0xf38af9(_0x225585._0x31c71d,_0x225585._0x18b7e7,0x1a6,_0x225585._0x4ccd33)]!==void 0x0?{'signal':_0x2f7a4c['signal']}:{}});}}catch(_0x3adbef){throw createOwnedMcpSafeError({'serverName':_0x27dd20,'operation':_0xf38af9(-0x26e,-0x32,-_0x225585._0x201d4a,-_0x225585._0x15ff6d),'error':_0x3adbef});}return{async 'listTools'(_0x596249){const _0x3706dd=_0x596249?.[_0x599958(_0x458d70._0x7d8d03,0x862,0x8cc,0x9c3)]??_0x2f7a4c?.['signal'];function _0x558f05(_0xdf7936,_0x543c6b,_0x90014b,_0x49cde5){return _0x4a8cc5(_0x49cde5,_0x543c6b-_0x476435._0x55ce8d,_0x90014b-0x2d,_0x543c6b-0x6);}function _0x599958(_0x58c638,_0x122322,_0xfe4ada,_0xf187ba){return _0x4a8cc5(_0x58c638,_0x122322-0xbb,_0xfe4ada-0x125,_0x122322-0x62f);}try{return await _0x13f06a[_0x599958(0xadd,_0x458d70._0x12f01a,0xb6b,0xac8)](void 0x0,{'timeout':_0x5f5ca5['get'](),..._0x3706dd!==void 0x0?{'signal':_0x3706dd}:{}});}catch(_0x2125c1){throw createOwnedMcpSafeError({'serverName':_0x27dd20,'operation':_0x558f05(_0x458d70._0x37e13a,_0x458d70._0x215f53,_0x458d70._0x547dfc,-_0x458d70._0xadf29c),'error':_0x2125c1});}},'onTerminalError'(_0x57584b){const _0x5de2cd={_0x107315:0x221,_0xa9e439:0xca};function _0x45f4f0(_0x180f7a,_0x36f5d7,_0x106f5b,_0x4ce060){return _0x4a8cc5(_0x106f5b,_0x36f5d7-0x10c,_0x106f5b-_0x2e47ee._0x34e835,_0x36f5d7- -_0x2e47ee._0x45d9f4);}_0x3d56e0['add'](_0x57584b);const _0x42f631=_0x4712d8;return _0x42f631&&queueMicrotask(()=>{const _0x2dea90={_0x84ffdd:0x1cd};function _0x25dcb4(_0x4e1ab2,_0x475114,_0x1c8603,_0x41b491){return _0x7d60(_0x1c8603- -_0x2dea90._0x84ffdd,_0x41b491);}if(_0x3d56e0[_0x25dcb4(_0x5de2cd._0x107315,-0x177,_0x5de2cd._0xa9e439,0x1ef)](_0x57584b))_0x57584b(_0x42f631);}),()=>_0x3d56e0[_0x45f4f0(-0x111,-0x2e,0xdb,0x29)](_0x57584b);},async 'callTool'(_0x2014f1){const _0x4e49b5={_0x529338:0x29d,_0x544e45:0x19c};function _0x1e534e(_0xbbabef,_0x1c823d,_0x4a12b2,_0x22687c){return _0xf38af9(_0x4a12b2,_0x22687c-_0xabc6ba._0x2af3a1,_0x4a12b2-0x189,_0x22687c-_0xabc6ba._0x2184ae);}function _0x204a88(_0x40c49,_0x2c4bce,_0x514ce2,_0x1587c7){return _0xf38af9(_0x40c49,_0x1587c7-_0x4e49b5._0x529338,_0x514ce2-0x33,_0x1587c7-_0x4e49b5._0x544e45);}try{return await _0x13f06a[_0x204a88(0x336,_0x56e8aa._0x163509,0x54e,0x30e)]({'method':_0x204a88(0x3ad,0x246,0x560,0x493),'params':_0x2014f1},CallToolResultSchema,{'timeout':_0x5f5ca5[_0x204a88(0x228,0x414,0x48e,_0x56e8aa._0xa4e896)]()});}catch(_0x2e9a6c){throw createOwnedMcpSafeError({'serverName':_0x27dd20,'operation':'toolCall','error':_0x2e9a6c});}},async 'close'(){const _0x23fd1c={_0x19a7fa:0x18,_0x3decab:0x48};_0x25ce2a=!![];function _0x284cbb(_0x2ea0b4,_0x11d7cf,_0x495504,_0x175a6b){return _0xf38af9(_0x175a6b,_0x495504-0x148,_0x495504-0x1d9,_0x175a6b-0x1bc);}_0x13f06a['onerror']=void 0x0,_0x13f06a[_0x284cbb(0x1db,-0x123,0x109,_0x29cf04._0x27d8cb)]=void 0x0,_0x3d56e0[_0x284cbb(0x42d,_0x29cf04._0x23818b,0x207,_0x29cf04._0x1bb9ab)]();function _0x4b41fb(_0x14c683,_0x5397cf,_0x3eb7eb,_0x39fc39){return _0xf38af9(_0x39fc39,_0x14c683-_0x23fd1c._0x19a7fa,_0x3eb7eb-_0x23fd1c._0x3decab,_0x39fc39-0xf);}try{await _0x13f06a['close']();}catch(_0x24ff45){throw createOwnedMcpSafeError({'serverName':_0x27dd20,'operation':'close','error':_0x24ff45});}}};}async function createMcpConnectionGeneration(_0x2108dc){const _0x39a9c7={_0x4a12a4:0x5b7,_0x21cff0:0x4f0,_0x36b924:0x7e0,_0x7868d9:0x38b,_0x11632e:0x7f9,_0xe73200:0x54,_0x1aaa89:0xc1,_0x5e383e:0x22d,_0x3cb811:0x51d,_0x249ec9:0x18f,_0xa58d22:0x2be,_0x458cae:0x453,_0x330129:0x3cd,_0x458164:0x770,_0x9a8ca4:0x8cc,_0x41e340:0x6a4,_0x16f0fe:0x57e,_0x254ef4:0x2d4,_0x5ee0a6:0x605,_0x34af76:0x29a,_0x5c4d1e:0x1dc,_0x3644af:0x2f6,_0x938784:0x235,_0x5e76be:0x5b9,_0x28fc47:0x66f,_0x1d46a4:0x638,_0x40d52e:0x60f,_0x144c72:0x658,_0x4265c1:0x47b,_0x42f4dc:0x7de,_0x2e24a0:0x8d1,_0x48c2cd:0x850,_0xc2a51f:0x54f,_0x564a4b:0x374,_0x249bb4:0x328,_0x21bf79:0x1bc,_0x15bac7:0x472},_0x567415={_0x1147c8:0x1cc,_0x3e204e:0x28f},_0xc3caed={_0x2e1a78:0x173},_0x1304c6={_0x311ab2:0x3dd,_0x563556:0x24c,_0x563d81:0x563},_0x2d7264={_0x1dc06b:0x1f6,_0x1a22cc:0xad},_0xe5613f={_0x544f85:0x1e7},_0x91ef28={_0x3cdff1:0x29a,_0x187881:0x17b,_0xaf3f04:0x2d9,_0x2248d0:0xda,_0x32b123:0xad,_0x4ba4cb:0x7c0,_0x40496e:0x6ac},_0x50179d={_0x177cdc:0x136,_0x3c63f0:0x55,_0x496684:0x14d},_0x4174f4={_0x5f2c19:0x102,_0x17992b:0x9d},_0x2d189d={_0x3ee5fc:0x1f2},_0xc7fbd5={_0x5933a9:0x7d,_0x78bf87:0x409,_0x357b4f:0xaf},_0x54703d=_0x2108dc[_0xd8cf68(_0x39a9c7._0x4a12a4,0x524,_0x39a9c7._0x21cff0,_0x39a9c7._0x36b924)]??connectMcpServer;function _0xd8cf68(_0x399441,_0x37a0f6,_0x15a3b3,_0x15fbe4){return _0x4eedea(_0x399441-_0xc7fbd5._0x5933a9,_0x399441-_0xc7fbd5._0x78bf87,_0x37a0f6,_0x15fbe4-_0xc7fbd5._0x357b4f);}const _0x1fca40=_0x2108dc[_0xd8cf68(0x5b7,_0x39a9c7._0x7868d9,0x537,_0x39a9c7._0x11632e)]===void 0x0,_0x30112c={..._0x2108dc[_0x18c388(_0x39a9c7._0xe73200,_0x39a9c7._0x1aaa89,0x203,_0x39a9c7._0x5e383e)],'timeoutSource':_0x2108dc[_0x18c388(_0x39a9c7._0x3cb811,_0x39a9c7._0x249ec9,_0x39a9c7._0xa58d22,_0x39a9c7._0x458cae)],..._0x2108dc[_0x18c388(0x4e7,_0x39a9c7._0x330129,0x582,0x629)]!==void 0x0?{'signal':_0x2108dc[_0xd8cf68(_0x39a9c7._0x458164,_0x39a9c7._0x9a8ca4,_0x39a9c7._0x41e340,_0x39a9c7._0x16f0fe)]}:{}};let _0x5a7113;try{_0x5a7113=await _0x54703d(_0x2108dc[_0x18c388(_0x39a9c7._0x254ef4,_0x39a9c7._0x5ee0a6,0x3cb,0x5f9)],_0x2108dc[_0x18c388(_0x39a9c7._0x34af76,_0x39a9c7._0x5c4d1e,_0x39a9c7._0x3644af,_0x39a9c7._0x938784)],_0x30112c);}catch(_0x137f09){throw mapOwnedMcpBoundaryError({'serverName':_0x2108dc[_0xd8cf68(_0x39a9c7._0x5e76be,0x6c0,0x385,0x73a)],'operation':_0xd8cf68(0x5b7,_0x39a9c7._0x28fc47,0x6e3,_0x39a9c7._0x1d46a4),'error':_0x137f09},_0x1fca40);}const _0x16b189=new Set();let _0x3c7127;const _0x1fc8ca=_0x5a7113[_0xd8cf68(_0x39a9c7._0x40d52e,_0x39a9c7._0x144c72,0x3f7,_0x39a9c7._0x4265c1)]?.(_0x2aa124=>{if(_0x3c7127)return;_0x3c7127=_0x2aa124;for(const _0xb00301 of _0x16b189)_0xb00301(_0x2aa124);});let _0x1a5cc6=![];const _0x2ee323=()=>{const _0x5d54d7={_0x1faec2:0x37,_0x194d55:0x3b0,_0x2a5674:0x114};function _0xc48789(_0x550719,_0x563ddd,_0x492fa8,_0x4ba3ab){return _0x18c388(_0x563ddd,_0x563ddd-_0x5d54d7._0x1faec2,_0x4ba3ab- -_0x5d54d7._0x194d55,_0x4ba3ab-_0x5d54d7._0x2a5674);}if(_0x1a5cc6)return;_0x1a5cc6=!![],_0x16b189[_0xc48789(_0x2d189d._0x3ee5fc,-0x59,0x46,0x10a)](),_0x1fc8ca?.();};let _0x48696d;try{_0x48696d=await _0x5a7113[_0xd8cf68(0x844,_0x39a9c7._0x42f4dc,0x69c,_0x39a9c7._0x2e24a0)](_0x2108dc[_0xd8cf68(0x770,0x66f,0x7cb,_0x39a9c7._0x48c2cd)]!==void 0x0?{'signal':_0x2108dc[_0xd8cf68(0x770,_0x39a9c7._0xc2a51f,0x882,0x982)]}:void 0x0);}catch(_0x3a9e16){const _0x286d9e=mapOwnedMcpBoundaryError({'serverName':_0x2108dc['serverName'],'operation':_0x18c388(0x5bb,0x44f,0x462,_0x39a9c7._0x564a4b),'error':_0x3a9e16},_0x1fca40);_0x2ee323();try{await _0x5a7113[_0x18c388(_0x39a9c7._0x249bb4,_0x39a9c7._0x21bf79,0x3e5,_0x39a9c7._0x15bac7)]();}catch{}throw _0x286d9e;}const _0x153697=[..._0x48696d['tools']],_0x18a91d={async 'callTool'(_0x5e5f38){function _0x217e24(_0x3d1622,_0x1fbe97,_0x186418,_0x91ad57){return _0xd8cf68(_0x91ad57- -0x50d,_0x1fbe97,_0x186418-_0x4174f4._0x5f2c19,_0x91ad57-_0x4174f4._0x17992b);}function _0x4ec273(_0x360291,_0x39a5f2,_0x463201,_0x4fcf74){return _0xd8cf68(_0x4fcf74-_0x50179d._0x177cdc,_0x360291,_0x463201-_0x50179d._0x3c63f0,_0x4fcf74-_0x50179d._0x496684);}try{return await _0x5a7113[_0x217e24(0x24f,_0x91ef28._0x3cdff1,_0x91ef28._0x187881,_0x91ef28._0xaf3f04)](_0x5e5f38);}catch(_0x3b3c8c){throw mapOwnedMcpBoundaryError({'serverName':_0x2108dc[_0x217e24(-_0x91ef28._0x2248d0,0x29b,_0x91ef28._0x32b123,0xac)],'operation':_0x4ec273(_0x91ef28._0x4ba4cb,0x894,0x55f,_0x91ef28._0x40496e),'error':_0x3b3c8c},_0x1fca40);}}};function _0x18c388(_0x2bcbec,_0x488887,_0x25905b,_0x8f84e7){return _0x4eedea(_0x2bcbec-0x13e,_0x25905b-0x21b,_0x2bcbec,_0x8f84e7-_0xe5613f._0x544f85);}const _0x137420=createMcpGenerationLifecycle(async()=>{function _0x50696b(_0x30f25a,_0x50cd17,_0x585e66,_0x32517f){return _0xd8cf68(_0x30f25a- -0x52c,_0x32517f,_0x585e66-0x13e,_0x32517f-0x188);}_0x2ee323();function _0x552b00(_0x1397b3,_0x33c1d0,_0x398d57,_0x3d94fd){return _0xd8cf68(_0x33c1d0- -_0x2d7264._0x1dc06b,_0x398d57,_0x398d57-_0x2d7264._0x1a22cc,_0x3d94fd-0x1ba);}try{await _0x5a7113[_0x552b00(0x52c,_0x1304c6._0x311ab2,_0x1304c6._0x563556,_0x1304c6._0x563d81)]();}catch(_0x1ee0df){throw mapOwnedMcpBoundaryError({'serverName':_0x2108dc[_0x552b00(0x37c,0x3c3,0x5a9,0x220)],'operation':_0x50696b(0xa7,0x101,0x1fb,-0x14d),'error':_0x1ee0df},_0x1fca40);}});return{'client':_0x5a7113,'descriptors':_0x153697,'lifecycle':_0x137420,'projectTools'(_0x37756f){return projectMcpTools({..._0x37756f,'descriptors':_0x153697,'client':_0x18a91d,'lifecycle':_0x137420});},'onTerminalError'(_0x50626f){const _0x9357f1={_0x2f624f:0x51f,_0x1f2249:0x6b,_0x2b990b:0x45};function _0x482e53(_0x10bf4a,_0x5ddabd,_0x4f6ad5,_0x49b94a){return _0xd8cf68(_0x10bf4a- -_0x9357f1._0x2f624f,_0x49b94a,_0x4f6ad5-_0x9357f1._0x1f2249,_0x49b94a-_0x9357f1._0x2b990b);}function _0x2ce995(_0x3017b7,_0xa68c30,_0x11c6ff,_0x38027e){return _0x18c388(_0xa68c30,_0xa68c30-0x4e,_0x38027e-0x109,_0x38027e-_0xc3caed._0x2e1a78);}if(_0x1a5cc6)return()=>{};_0x16b189[_0x482e53(_0x567415._0x1147c8,0x201,_0x567415._0x3e204e,-0x2)](_0x50626f);const _0x593c37=_0x3c7127;return _0x593c37&&queueMicrotask(()=>{if(_0x16b189['has'](_0x50626f))_0x50626f(_0x593c37);}),()=>_0x16b189[_0x482e53(0xe3,0x259,0x31f,0x11f)](_0x50626f);},'retire'(){return _0x2ee323(),_0x137420['retire']();}};}import{randomUUID as _0x589f74}from'crypto';import{types as _0x352d04}from'util';var StrictJsonValidationError=class extends Error{constructor(_0x404229){const _0x44efa1={_0xb9ac39:0x550,_0x46ca9e:0x53c,_0x52fd84:0x6eb,_0x4a96fe:0x827,_0x3afab5:0x36a},_0x19c3b8={_0x9cc3b3:0x1ab,_0x35ade0:0xc7};super(_0x404229);function _0x4658f6(_0x5d54be,_0x24a8fb,_0x4883c3,_0x1353f8){return _0xa5377c(_0x5d54be,_0x24a8fb-0x1b2,_0x4883c3-_0x19c3b8._0x9cc3b3,_0x24a8fb- -_0x19c3b8._0x35ade0);}function _0x15fae2(_0x43baf7,_0x49aba5,_0x9ec9cb,_0x2a836c){return _0x4eedea(_0x43baf7-0x155,_0x9ec9cb-0x339,_0x2a836c,_0x2a836c-0x16e);}this[_0x15fae2(_0x44efa1._0xb9ac39,_0x44efa1._0x46ca9e,_0x44efa1._0x52fd84,_0x44efa1._0x4a96fe)]=_0x15fae2(0x551,_0x44efa1._0x3afab5,0x41f,0x4eb);}};function assertStrictJsonValue(_0x5dc1e8,_0x2e9c73=_0xa5377c(0x1f0,0x406,0x58a,0x40d)){validateStrictJson(_0x5dc1e8,_0x2e9c73,new Set());}function assertStrictJsonObject(_0x2106e8,_0x46291c='value'){const _0x325332={_0x46340e:0x3ac,_0x351183:0x344,_0x5f535d:0x6db,_0x525f4b:0x670,_0x13eb16:0x77b,_0x18505b:0x492},_0x5638e0={_0x1d179f:0x1da,_0x3b39cc:0x58},_0x125d1e={_0x56c537:0x1d9,_0x1757b7:0xbb};assertStrictJsonValue(_0x2106e8,_0x46291c);function _0x4eb877(_0x4eb232,_0x1e24fa,_0x49eaac,_0x29091f){return _0xa5377c(_0x49eaac,_0x1e24fa-_0x125d1e._0x56c537,_0x49eaac-_0x125d1e._0x1757b7,_0x4eb232- -0x16b);}function _0x5d5ffa(_0x4fdbde,_0x3c227e,_0x274ff6,_0x24f4e9){return _0xa5377c(_0x274ff6,_0x3c227e-_0x5638e0._0x1d179f,_0x274ff6-_0x5638e0._0x3b39cc,_0x4fdbde-0x289);}if(Array[_0x4eb877(_0x325332._0x46340e,0x2f1,0x4fb,_0x325332._0x351183)](_0x2106e8)||_0x2106e8===null||typeof _0x2106e8!==_0x5d5ffa(_0x325332._0x5f535d,_0x325332._0x525f4b,_0x325332._0x13eb16,0x52d))throw new StrictJsonValidationError(_0x46291c+_0x5d5ffa(0x6a8,0x5f5,0x44a,_0x325332._0x18505b));}function parseStrictJsonValue(_0xf502c9,_0x57f342=_0xa5377c(0x3a7,0x340,0x1f2,0x40d)){const _0x2225c1=parseJson(_0xf502c9,_0x57f342);return assertStrictJsonValue(_0x2225c1,_0x57f342),_0x2225c1;}function parseStrictJsonObject(_0x185804,_0x3ab274=_0x4eedea(-0x2f,0x217,0x2f3,0x385)){const _0x5dfca0=parseJson(_0x185804,_0x3ab274);return assertStrictJsonObject(_0x5dfca0,_0x3ab274),_0x5dfca0;}function parseJson(_0x346b5d,_0x58f7c5){const _0x49659e={_0x952918:0x5ef,_0x11bfa3:0x3dc,_0x37b31a:0x583},_0xc14991={_0x13d323:0x164},_0x33ca9a={_0x4d1ef2:0x11c,_0x471458:0x52a};function _0x46e130(_0x3da2ff,_0x5833d9,_0xc954c0,_0x308389){return _0x4eedea(_0x3da2ff-_0x33ca9a._0x4d1ef2,_0x308389-_0x33ca9a._0x471458,_0x5833d9,_0x308389-0x1c);}function _0x535e0a(_0x35a300,_0x32261b,_0x41c033,_0x5bdf90){return _0x4eedea(_0x35a300-0xc2,_0x32261b-0x4dd,_0x5bdf90,_0x5bdf90-_0xc14991._0x13d323);}try{return JSON['parse'](_0x346b5d);}catch(_0x53e274){const _0x1cd035=_0x53e274 instanceof Error?_0x53e274[_0x535e0a(0x9ca,0x869,0x721,0x846)]:_0x46e130(_0x49659e._0x952918,0x3c9,_0x49659e._0x11bfa3,_0x49659e._0x37b31a);throw new StrictJsonValidationError(_0x58f7c5+'\x20must\x20be\x20valid\x20JSON:\x20'+_0x1cd035);}}function validateStrictJson(_0x12576d,_0x7c881d,_0x4f1b4e){const _0x425d37={_0x191a7b:0x80a,_0x535a35:0x830,_0x682968:0x3bf,_0x3171b0:0x195,_0x5e3438:0x2cd,_0x14b4ba:0x404,_0x5e3a07:0x5d5,_0x2c5910:0x5a3,_0x326e45:0x701,_0x4469d5:0x670,_0x33d6b4:0x8de,_0x455366:0x6b4,_0x2497a3:0x9ea,_0x393df0:0x996,_0x238e66:0x961,_0x1d618d:0x93e,_0x4e41bb:0x74a,_0x58f1ac:0x363,_0x1bf62f:0x53a,_0x31243c:0x469,_0x3b70c5:0x56f,_0x307462:0x59f},_0x3d3764={_0x1cf554:0x131,_0x744b53:0x57d,_0x420347:0x33};function _0x5ed73a(_0x59feaa,_0xa39bb0,_0x433e3e,_0x31244a){return _0x4eedea(_0x59feaa-_0x3d3764._0x1cf554,_0x31244a-_0x3d3764._0x744b53,_0xa39bb0,_0x31244a-_0x3d3764._0x420347);}if(_0x12576d===null||typeof _0x12576d===_0x1773cd(0x6a5,0x860,_0x425d37._0x191a7b,_0x425d37._0x535a35)||typeof _0x12576d===_0x1773cd(0x19c,0x614,_0x425d37._0x682968,0x3de))return;if(typeof _0x12576d===_0x1773cd(_0x425d37._0x3171b0,0x431,0x3a0,_0x425d37._0x5e3438)){if(Number['isFinite'](_0x12576d))return;throw new StrictJsonValidationError(_0x7c881d+_0x1773cd(_0x425d37._0x14b4ba,_0x425d37._0x5e3a07,_0x425d37._0x2c5910,0x694));}if(typeof _0x12576d!==_0x1773cd(0x6e5,_0x425d37._0x326e45,0x602,0x6d7))throw new StrictJsonValidationError(_0x7c881d+_0x1773cd(_0x425d37._0x4469d5,_0x425d37._0x33d6b4,_0x425d37._0x455366,0x666));function _0x1773cd(_0x2ac71f,_0x235dfb,_0x1f34ec,_0x3fb677){return _0xa5377c(_0x3fb677,_0x235dfb-0x1e3,_0x1f34ec-0x1e8,_0x1f34ec-0x1b0);}if(_0x352d04[_0x1773cd(0x7fd,0x4fb,0x66c,0x8a1)](_0x12576d))throw new StrictJsonValidationError(_0x7c881d+_0x5ed73a(_0x425d37._0x2497a3,0xabd,0x8ad,_0x425d37._0x393df0));if(hasBuiltInExoticBrand(_0x12576d))throw new StrictJsonValidationError(_0x7c881d+_0x5ed73a(0x856,0xb2c,_0x425d37._0x238e66,_0x425d37._0x1d618d));if(_0x4f1b4e[_0x5ed73a(_0x425d37._0x4e41bb,0x4cd,0x842,0x655)](_0x12576d))throw new StrictJsonValidationError(_0x7c881d+_0x1773cd(_0x425d37._0x58f1ac,0x39a,_0x425d37._0x1bf62f,_0x425d37._0x31243c));_0x4f1b4e['add'](_0x12576d);try{Array[_0x1773cd(0x846,_0x425d37._0x3b70c5,0x6c7,0x917)](_0x12576d)?validateArray(_0x12576d,_0x7c881d,_0x4f1b4e):validateObject(_0x12576d,_0x7c881d,_0x4f1b4e);}finally{_0x4f1b4e[_0x1773cd(0x376,0x384,_0x425d37._0x307462,0x613)](_0x12576d);}}var platformBrandChecks=[createPlatformBrandCheck(typeof URL===_0xa5377c(0x501,0x3b8,0x7d5,0x5cf)?void 0x0:URL,['href']),createPlatformBrandCheck(typeof URLSearchParams==='undefined'?void 0x0:URLSearchParams,[_0xa5377c(-0x17,0x1aa,0x376,0x1d0),_0xa5377c(0x729,0x760,0x6b6,0x64e)]),createPlatformBrandCheck(typeof AbortController==='undefined'?void 0x0:AbortController,[_0xa5377c(0x361,0x433,0x4bb,0x55d)])][_0xa5377c(0x2d5,0x302,0x27e,0x409)](_0x50c2b0=>_0x50c2b0!==void 0x0);function createPlatformBrandCheck(_0x2f7564,_0x581487){const _0x4af6bc={_0x3b8aec:0x613,_0x4f3c1e:0x784,_0x3cd70b:0x637,_0x3f1811:0x662,_0x163c4d:0x5ce,_0x3e1288:0x504,_0x1dd8dc:0x5c2,_0x24496b:0x778,_0x1276a7:0x847,_0x4a226f:0x4d2,_0x4af025:0x5ba,_0x38e8eb:0x6d8,_0x29f163:0x7c0,_0x3ba959:0x558,_0x3bed45:0x8b5,_0x1b026a:0x75f,_0xcb24d1:0x7f1,_0x128470:0x8a2,_0x35b42a:0x694,_0x2a1a30:0x851,_0x981f4a:0x749,_0x2ddc85:0x71b,_0xa4a14f:0x6d8,_0x4b2b94:0x721,_0x56ca14:0x754},_0x629bf1={_0x3e6012:0x74a,_0x365378:0x511},_0x1a877d={_0x27e015:0x18c};if(typeof _0x2f7564!==_0x34157a(_0x4af6bc._0x3b8aec,0x574,_0x4af6bc._0x4f3c1e,0x65b))return void 0x0;function _0x278830(_0x57e23a,_0x5f481b,_0x1a8b59,_0xb938ee){return _0xa5377c(_0x1a8b59,_0x5f481b-0x100,_0x1a8b59-0x59,_0xb938ee-0x287);}const _0x168f55=Object[_0x278830(_0x4af6bc._0x3cd70b,_0x4af6bc._0x3f1811,_0x4af6bc._0x163c4d,0x71b)](_0x2f7564,_0x34157a(0x597,_0x4af6bc._0x3e1288,_0x4af6bc._0x1dd8dc,0x555));function _0x34157a(_0x826d60,_0x122d2e,_0x2e8b38,_0x55cea5){return _0xa5377c(_0x122d2e,_0x122d2e-0x16a,_0x2e8b38-_0x1a877d._0x27e015,_0x2e8b38-0x2cb);}if(!_0x168f55||!('value'in _0x168f55)||typeof _0x168f55[_0x34157a(_0x4af6bc._0x24496b,0x5a8,0x6d8,0x7a3)]!==_0x278830(0x513,0x860,_0x4af6bc._0x1276a7,0x6d9)||_0x168f55[_0x34157a(_0x4af6bc._0x4a226f,_0x4af6bc._0x4af025,_0x4af6bc._0x38e8eb,_0x4af6bc._0x29f163)]===null)return void 0x0;for(const _0xad2814 of _0x581487){const _0x54257d=Object[_0x34157a(_0x4af6bc._0x3ba959,_0x4af6bc._0x3bed45,_0x4af6bc._0x1b026a,_0x4af6bc._0xcb24d1)](_0x168f55[_0x278830(0x52e,0x438,_0x4af6bc._0x128470,_0x4af6bc._0x35b42a)],_0xad2814),_0x198c99=_0x54257d?.[_0x278830(0x879,0x510,_0x4af6bc._0x2a1a30,_0x4af6bc._0x981f4a)]??_0x54257d?.[_0x34157a(_0x4af6bc._0x2ddc85,0x66e,_0x4af6bc._0xa4a14f,_0x4af6bc._0x4b2b94)];if(typeof _0x198c99!==_0x34157a(0x9d9,_0x4af6bc._0x56ca14,_0x4af6bc._0x4f3c1e,0x9b5))continue;return _0x11220c=>{const _0x20142a={_0x2272c0:0x63};function _0x9ec157(_0xd363c7,_0x4d9157,_0x4f3e80,_0x3ef59a){return _0x278830(_0xd363c7-0x95,_0x4d9157-_0x20142a._0x2272c0,_0xd363c7,_0x3ef59a- -0x116);}try{return Reflect[_0x9ec157(_0x629bf1._0x3e6012,_0x629bf1._0x365378,0x808,0x74d)](_0x198c99,_0x11220c,[]),!![];}catch{return![];}};}return void 0x0;}function hasBuiltInExoticBrand(_0x556c69){const _0x205315={_0x44e2c1:0x31,_0x4c6260:0x7c,_0x3db8bc:0x704,_0x3b44ba:0x309,_0x154c11:0x139,_0x70a796:0xf,_0x3a4bc7:0x6d,_0xb6b95:0x120,_0x1c38f1:0x21,_0x6f0eba:0x1c4,_0x3893fb:0x106,_0x51a760:0x219,_0x325893:0x4,_0x108763:0x1fe,_0x51ff3a:0x260,_0x1544b2:0x358,_0x155ca5:0x2bd,_0x427e09:0x236,_0x17a7db:0xce,_0x3d95de:0x331,_0x1da416:0xb9,_0x22bb90:0x5a7,_0x34c11e:0x12f,_0x2786d9:0x36,_0x2121cd:0x16e,_0x37680a:0x48,_0x1dacae:0x118,_0x3dcb04:0x1e2,_0x242d83:0x761,_0x1b6263:0x56e,_0x481ecc:0x235,_0x5712f1:0x2c,_0x3724e1:0x3e9,_0x28638f:0x729,_0x4f8ff9:0x423,_0x2d7375:0x5d5,_0x4e6316:0x339,_0x71345e:0x41c},_0x24ea25={_0x19ad2a:0x10e},_0x6a3edd={_0x57ad38:0xb1,_0x489028:0x15f};function _0x723f60(_0xa00d1f,_0x3fcc78,_0x59ff01,_0x324329){return _0xa5377c(_0x59ff01,_0x3fcc78-_0x6a3edd._0x57ad38,_0x59ff01-_0x6a3edd._0x489028,_0x324329- -0x37);}function _0x280078(_0x3425f5,_0x27a02f,_0x4869c8,_0xb7794){return _0x4eedea(_0x3425f5-0x1ed,_0x4869c8- -0x17b,_0xb7794,_0xb7794-_0x24ea25._0x19ad2a);}return _0x352d04['isAnyArrayBuffer'](_0x556c69)||_0x352d04[_0x280078(-0x1a1,0x34,-_0x205315._0x44e2c1,-_0x205315._0x4c6260)](_0x556c69)||_0x352d04[_0x723f60(_0x205315._0x3db8bc,0x520,0x30a,0x528)](_0x556c69)||_0x352d04[_0x280078(_0x205315._0x3b44ba,0x33b,_0x205315._0x154c11,0x341)](_0x556c69)||_0x352d04[_0x280078(-0x36,_0x205315._0x70a796,0xd3,-0x13d)](_0x556c69)||_0x352d04['isDate'](_0x556c69)||_0x352d04['isExternal'](_0x556c69)||_0x352d04[_0x280078(0xba,_0x205315._0x3a4bc7,-_0x205315._0xb6b95,-0x2f4)](_0x556c69)||_0x352d04[_0x723f60(_0x205315._0x1c38f1,0xca,0x48,_0x205315._0x6f0eba)](_0x556c69)||_0x352d04[_0x280078(-_0x205315._0x3893fb,_0x205315._0x51a760,_0x205315._0x325893,-_0x205315._0x108763)](_0x556c69)||_0x352d04[_0x280078(0x464,0x21c,_0x205315._0x51ff3a,_0x205315._0x1544b2)](_0x556c69)||_0x352d04['isModuleNamespaceObject'](_0x556c69)||_0x352d04[_0x280078(_0x205315._0x155ca5,0x37b,0x28a,_0x205315._0x427e09)](_0x556c69)||_0x352d04[_0x723f60(_0x205315._0x17a7db,_0x205315._0x3d95de,-_0x205315._0x1da416,0x198)](_0x556c69)||_0x352d04[_0x723f60(0x7e6,0x465,0x3ad,_0x205315._0x22bb90)](_0x556c69)||_0x352d04[_0x280078(_0x205315._0x34c11e,-0xb3,-_0x205315._0x2786d9,-0x30)](_0x556c69)||_0x352d04[_0x723f60(_0x205315._0x2121cd,-_0x205315._0x37680a,_0x205315._0x1dacae,_0x205315._0x3dcb04)](_0x556c69)||_0x352d04[_0x723f60(_0x205315._0x242d83,_0x205315._0x1b6263,0x845,0x624)](_0x556c69)||_0x352d04[_0x280078(-_0x205315._0x481ecc,0x1bf,-_0x205315._0x5712f1,0x1a9)](_0x556c69)||_0x352d04[_0x723f60(_0x205315._0x3724e1,_0x205315._0x28638f,_0x205315._0x4f8ff9,_0x205315._0x2d7375)](_0x556c69)||platformBrandChecks[_0x723f60(_0x205315._0x4e6316,0x2ed,0x49a,_0x205315._0x71345e)](_0x46de17=>_0x46de17(_0x556c69));}function validateArray(_0x1f5619,_0x7752b1,_0x2db37f){const _0x7b968c={_0x29d03a:0x588,_0x14a405:0x422,_0x250215:0x333,_0x4a2bf5:0x30c,_0x1113e5:0x401,_0x44eed6:0x4b5,_0x1f3e49:0x208,_0x4cd70e:0x2ff,_0xf9a2c1:0x274,_0x9e1d80:0x2f8,_0x44ed8c:0x2f4,_0x1c7faf:0x109,_0x37e45c:0x226,_0x4abc1a:0xb5,_0x2ca57c:0x1c5,_0x35a9a9:0x276,_0x112352:0x1d0,_0x2163c9:0x3c9,_0x51818d:0x2ae,_0x252c01:0x2f0,_0x5e8037:0x27c,_0x346daf:0x298,_0x3c6a1c:0x35a,_0x38cc9e:0x144,_0xc70d2a:0x13},_0x5924a3={_0x20f863:0x4b,_0x2084a4:0x14c,_0x1bbbde:0x1e6},_0xb39bd8={_0x96fcdd:0x1c9,_0x4077e7:0x178};function _0x55b32f(_0x5023a2,_0x269632,_0x1f0d51,_0x3c17bb){return _0xa5377c(_0x5023a2,_0x269632-_0xb39bd8._0x96fcdd,_0x1f0d51-_0xb39bd8._0x4077e7,_0x3c17bb- -0x234);}if(Object[_0x1b61ee(_0x7b968c._0x29d03a,_0x7b968c._0x14a405,0xef,_0x7b968c._0x250215)](_0x1f5619)!==Array[_0x1b61ee(_0x7b968c._0x4a2bf5,0x19d,0x2a9,0x111)])throw new StrictJsonValidationError(_0x7752b1+_0x55b32f(0x63a,0x48e,0x4d6,0x410));function _0x1b61ee(_0x20c953,_0x38c9f3,_0x50bcfb,_0x376ba1){return _0xa5377c(_0x50bcfb,_0x38c9f3-_0x5924a3._0x20f863,_0x50bcfb-_0x5924a3._0x2084a4,_0x376ba1- -_0x5924a3._0x1bbbde);}const _0x1094a5=Reflect[_0x1b61ee(0x211,0x53c,_0x7b968c._0x1113e5,0x335)](_0x1f5619);if(_0x1094a5[_0x1b61ee(_0x7b968c._0x44eed6,_0x7b968c._0x1f3e49,_0x7b968c._0x4cd70e,_0x7b968c._0xf9a2c1)]!==_0x1f5619[_0x55b32f(_0x7b968c._0x9e1d80,_0x7b968c._0x44ed8c,_0x7b968c._0x1c7faf,_0x7b968c._0x37e45c)]+0x1||_0x1094a5['some'](_0xb62ac7=>typeof _0xb62ac7!==_0x1b61ee(0x2ba,0x60c,0x50f,0x474)))throw new StrictJsonValidationError(_0x7752b1+_0x1b61ee(-_0x7b968c._0x4abc1a,0x217,-0x99,0x181));for(let _0x188ff2=0x0;_0x188ff2<_0x1f5619[_0x1b61ee(_0x7b968c._0x2ca57c,_0x7b968c._0x35a9a9,0x10a,0x274)];_0x188ff2+=0x1){const _0x5c970f=Object[_0x1b61ee(_0x7b968c._0x112352,0x381,_0x7b968c._0x2163c9,_0x7b968c._0x51818d)](_0x1f5619,String(_0x188ff2));if(!_0x5c970f||!(_0x55b32f(0x2d9,0x37e,0x30b,0x1d9)in _0x5c970f)||!_0x5c970f[_0x1b61ee(_0x7b968c._0x252c01,_0x7b968c._0x5e8037,_0x7b968c._0x346daf,_0x7b968c._0x3c6a1c)])throw new StrictJsonValidationError(_0x7752b1+'['+_0x188ff2+_0x1b61ee(_0x7b968c._0x38cc9e,-_0x7b968c._0xc70d2a,0x2ef,0xe1));validateStrictJson(_0x5c970f[_0x1b61ee(0xca,0xe0,0x3cb,0x227)],_0x7752b1+'['+_0x188ff2+']',_0x2db37f);}}function validateObject(_0x575246,_0x2f862c,_0x326c28){const _0x34fbcf={_0x157ea3:0x2b1,_0x3ea636:0x480,_0x50925b:0x4c3,_0x575dde:0x17,_0x5d099d:0x3bc,_0x2f4595:0x25e,_0x6d1f0c:0x6a8,_0x3a74db:0x315,_0x1526dd:0x382,_0x3c07fc:0x5b8,_0x2d9dfd:0x702,_0x4e334e:0x63f,_0xb5a00b:0x3f4,_0x5721ae:0x5d7,_0x4862be:0x4f5,_0x519fc2:0x3e1},_0x2cdb45={_0x551b8e:0x1b7},_0x4c7011={_0x3eec21:0xd7};function _0x107d4a(_0x190d14,_0x1d3d7e,_0x55a4b9,_0x30adbc){return _0xa5377c(_0x30adbc,_0x1d3d7e-_0x4c7011._0x3eec21,_0x55a4b9-0x60,_0x55a4b9- -0x99);}function _0x2afdb8(_0x26007e,_0x28209d,_0x2d1fcd,_0x7538b7){return _0x4eedea(_0x26007e-0x3c,_0x2d1fcd-0x268,_0x7538b7,_0x7538b7-_0x2cdb45._0x551b8e);}const _0x5e3751=Object[_0x107d4a(_0x34fbcf._0x157ea3,0x319,_0x34fbcf._0x3ea636,_0x34fbcf._0x50925b)](_0x575246);if(_0x5e3751!==Object[_0x107d4a(_0x34fbcf._0x575dde,_0x34fbcf._0x5d099d,_0x34fbcf._0x2f4595,0x417)]&&_0x5e3751!==null)throw new StrictJsonValidationError(_0x2f862c+'\x20must\x20be\x20a\x20plain\x20JSON\x20object');for(const _0x41452e of Reflect[_0x107d4a(_0x34fbcf._0x6d1f0c,_0x34fbcf._0x3a74db,0x482,0x223)](_0x575246)){if(typeof _0x41452e===_0x107d4a(0x1d1,0x472,_0x34fbcf._0x1526dd,0x524))throw new StrictJsonValidationError(_0x2f862c+_0x107d4a(_0x34fbcf._0x3c07fc,_0x34fbcf._0x2d9dfd,0x5c0,_0x34fbcf._0x4e334e));const _0x5e25ad=Object[_0x107d4a(_0x34fbcf._0xb5a00b,0x2c4,0x3fb,_0x34fbcf._0x5721ae)](_0x575246,_0x41452e);if(!_0x5e25ad||!('value'in _0x5e25ad)||!_0x5e25ad['enumerable'])throw new StrictJsonValidationError(_0x2f862c+'.'+_0x41452e+_0x2afdb8(_0x34fbcf._0x4862be,_0x34fbcf._0x519fc2,0x30a,0x204));validateStrictJson(_0x5e25ad['value'],_0x2f862c+'.'+_0x41452e,_0x326c28);}}var ProgramIsolateError=class extends Error{[_0x4eedea(0x2bc,0x3e3,0x3b4,0x579)];[_0xa5377c(0x602,0x6ed,0x732,0x5ba)];constructor(_0x370284,_0x27cfcf,_0x5a23d9){const _0x128c31={_0x465e4e:0x677,_0x4a5c91:0x6ee,_0x1e9e36:0x8a2,_0x2c35e5:0x92a,_0x4a0cf1:0x858,_0x383b75:0x7dc,_0x525b6a:0x5e5},_0xd76e3={_0x5cb8d8:0xc,_0x10cf8f:0x222},_0x543953={_0x4293dc:0x1d,_0x241644:0x1e2};super(_0x27cfcf),this['name']=_0x45eb1e(0x9d7,0x818,0x7d1,_0x128c31._0x465e4e);function _0x4fd25d(_0x4c06f3,_0x8fd98b,_0x309c69,_0x287920){return _0xa5377c(_0x8fd98b,_0x8fd98b-_0x543953._0x4293dc,_0x309c69-_0x543953._0x241644,_0x287920-0x351);}function _0x45eb1e(_0x330b36,_0x2602c5,_0x2a8658,_0x43915a){return _0xa5377c(_0x330b36,_0x2602c5-0x9,_0x2a8658-_0xd76e3._0x5cb8d8,_0x2602c5-_0xd76e3._0x10cf8f);}this[_0x4fd25d(_0x128c31._0x4a5c91,0xa41,_0x128c31._0x1e9e36,_0x128c31._0x2c35e5)]=_0x370284,this[_0x45eb1e(_0x128c31._0x4a0cf1,_0x128c31._0x383b75,_0x128c31._0x525b6a,0xa2f)]=_0x5a23d9?.[_0x45eb1e(0x6cb,0x7dc,0x9cb,0x89c)]===!![];}},PROGRAM_SOURCE_GLOBAL='__nuvinProgramSource',PROGRAM_MAIN_GLOBAL='__nuvinProgramMain',PROGRAM_CALLBACK_GLOBAL=_0xa5377c(0x76e,0x330,0x685,0x575),PROGRAM_TOOL_NAMES_GLOBAL=_0xa5377c(0x4d1,0x3bf,0x147,0x314),MAX_COPIED_ERROR_BYTES=0x200,PROGRAM_COMPILER_SOURCE=_0xa5377c(0x4c3,0x630,0x25b,0x411)+PROGRAM_SOURCE_GLOBAL+_0xa5377c(0x3cc,0x4fb,0x681,0x483)+PROGRAM_SOURCE_GLOBAL+_0xa5377c(0x2ab,0x461,0x625,0x4b3)+PROGRAM_MAIN_GLOBAL+_0xa5377c(0x196,0x3b,0x17f,0x1dd),PROGRAM_RUNNER_SOURCE='\x0a(async\x20()\x20=>\x20{\x0a\x20\x20\x22use\x20strict\x22;\x0a\x0a\x20\x20const\x20main\x20=\x20globalThis.__nuvinProgramMain;\x0a\x20\x20const\x20callHostReference\x20=\x20globalThis.__nuvinProgramCallback;\x0a\x20\x20const\x20toolNamesText\x20=\x20globalThis.__nuvinProgramToolNames;\x0a\x20\x20delete\x20globalThis.__nuvinProgramMain;\x0a\x20\x20delete\x20globalThis.__nuvinProgramCallback;\x0a\x20\x20delete\x20globalThis.__nuvinProgramToolNames;\x0a\x0a\x20\x20const\x20arrayIsArray\x20=\x20Array.isArray;\x0a\x20\x20const\x20arrayPrototype\x20=\x20Array.prototype;\x0a\x20\x20const\x20defineProperty\x20=\x20Object.defineProperty;\x0a\x20\x20const\x20errorPrototype\x20=\x20Error.prototype;\x0a\x20\x20const\x20freeze\x20=\x20Object.freeze;\x0a\x20\x20const\x20getOwnPropertyDescriptor\x20=\x20Object.getOwnPropertyDescriptor;\x0a\x20\x20const\x20getPrototypeOf\x20=\x20Object.getPrototypeOf;\x0a\x20\x20const\x20jsonParse\x20=\x20JSON.parse;\x0a\x20\x20const\x20jsonStringify\x20=\x20JSON.stringify;\x0a\x20\x20const\x20numberIsFinite\x20=\x20Number.isFinite;\x0a\x20\x20const\x20ObjectConstructor\x20=\x20Object;\x0a\x20\x20const\x20objectPrototype\x20=\x20Object.prototype;\x0a\x20\x20const\x20ownKeys\x20=\x20Reflect.ownKeys;\x0a\x20\x20const\x20PromiseConstructor\x20=\x20Promise;\x0a\x20\x20const\x20promiseThen\x20=\x20Promise.prototype.then;\x0a\x20\x20const\x20reflectApply\x20=\x20Reflect.apply;\x0a\x20\x20const\x20callHostApply\x20=\x20callHostReference.apply;\x0a\x20\x20const\x20SetConstructor\x20=\x20Set;\x0a\x20\x20const\x20setAdd\x20=\x20Set.prototype.add;\x0a\x20\x20const\x20setDelete\x20=\x20Set.prototype.delete;\x0a\x20\x20const\x20setHas\x20=\x20Set.prototype.has;\x0a\x20\x20const\x20stringCharCodeAt\x20=\x20String.prototype.charCodeAt;\x0a\x20\x20const\x20stringSlice\x20=\x20String.prototype.slice;\x0a\x20\x20const\x20weakMapGet\x20=\x20WeakMap.prototype.get;\x0a\x20\x20const\x20weakMapSet\x20=\x20WeakMap.prototype.set;\x0a\x0a\x20\x20//\x20The\x20runner\x20must\x20remain\x20self-contained\x20inside\x20the\x20isolate,\x20so\x20these\x20checks\x0a\x20\x20//\x20intentionally\x20mirror\x20the\x20host\x20validator\x20rather\x20than\x20importing\x20host\x20code.\x0a\x20\x20//\x20Focused\x20parity\x20tests\x20cover\x20both\x20accepted\x20graphs\x20and\x20rejected\x20built-in\x20brands.\x0a\x20\x20const\x20arrayBufferIsView\x20=\x20ArrayBuffer.isView;\x0a\x20\x20const\x20arrayBufferByteLengthGetter\x20=\x20getOwnPropertyDescriptor(\x0a\x20\x20\x20\x20ArrayBuffer.prototype,\x0a\x20\x20\x20\x20\x22byteLength\x22,\x0a\x20\x20).get;\x0a\x20\x20const\x20booleanValueOf\x20=\x20Boolean.prototype.valueOf;\x0a\x20\x20const\x20dateGetTime\x20=\x20Date.prototype.getTime;\x0a\x20\x20const\x20mapSizeGetter\x20=\x20getOwnPropertyDescriptor(Map.prototype,\x20\x22size\x22).get;\x0a\x20\x20const\x20numberValueOf\x20=\x20Number.prototype.valueOf;\x0a\x20\x20const\x20regexpSourceGetter\x20=\x20getOwnPropertyDescriptor(RegExp.prototype,\x20\x22source\x22).get;\x0a\x20\x20const\x20setSizeGetter\x20=\x20getOwnPropertyDescriptor(Set.prototype,\x20\x22size\x22).get;\x0a\x20\x20const\x20stringValueOf\x20=\x20String.prototype.valueOf;\x0a\x20\x20const\x20symbolValueOf\x20=\x20Symbol.prototype.valueOf;\x0a\x20\x20const\x20weakMapHas\x20=\x20WeakMap.prototype.has;\x0a\x20\x20const\x20weakSetHas\x20=\x20WeakSet.prototype.has;\x0a\x20\x20const\x20brandProbe\x20=\x20{};\x0a\x20\x20const\x20builtInBrandChecks\x20=\x20[\x0a\x20\x20\x20\x20[mapSizeGetter,\x20[]],\x0a\x20\x20\x20\x20[setSizeGetter,\x20[]],\x0a\x20\x20\x20\x20[weakMapHas,\x20[brandProbe]],\x0a\x20\x20\x20\x20[weakSetHas,\x20[brandProbe]],\x0a\x20\x20\x20\x20[arrayBufferByteLengthGetter,\x20[]],\x0a\x20\x20\x20\x20[dateGetTime,\x20[]],\x0a\x20\x20\x20\x20[regexpSourceGetter,\x20[]],\x0a\x20\x20\x20\x20[booleanValueOf,\x20[]],\x0a\x20\x20\x20\x20[numberValueOf,\x20[]],\x0a\x20\x20\x20\x20[stringValueOf,\x20[]],\x0a\x20\x20\x20\x20[symbolValueOf,\x20[]],\x0a\x20\x20];\x0a\x20\x20const\x20toolErrorDetails\x20=\x20new\x20WeakMap();\x0a\x20\x20//\x20Count\x20admission\x20before\x20Reference.apply\x20so\x20runner\x20completion\x20never\x20depends\x20on\x0a\x20\x20//\x20when\x20isolated-vm\x20enters\x20the\x20host\x20callback.\x0a\x20\x20let\x20callsOpen\x20=\x20true;\x0a\x20\x20let\x20startedCallCount\x20=\x200;\x0a\x20\x20let\x20settledCallCount\x20=\x200;\x0a\x20\x20let\x20resolveAdmittedCallsSettled;\x0a\x20\x20const\x20admittedCallsSettled\x20=\x20new\x20PromiseConstructor((resolve)\x20=>\x20{\x0a\x20\x20\x20\x20resolveAdmittedCallsSettled\x20=\x20resolve;\x0a\x20\x20});\x0a\x0a\x20\x20class\x20StrictJsonValidationError\x20extends\x20Error\x20{}\x0a\x0a\x20\x20function\x20copyBoundedErrorText(value)\x20{\x0a\x20\x20\x20\x20let\x20result\x20=\x20\x22\x22;\x0a\x20\x20\x20\x20let\x20byteLength\x20=\x200;\x0a\x20\x20\x20\x20for\x20(let\x20index\x20=\x200;\x20index\x20<\x20value.length;\x20)\x20{\x0a\x20\x20\x20\x20\x20\x20const\x20firstCodeUnit\x20=\x20reflectApply(stringCharCodeAt,\x20value,\x20[index]);\x0a\x20\x20\x20\x20\x20\x20const\x20secondCodeUnit\x20=\x0a\x20\x20\x20\x20\x20\x20\x20\x20firstCodeUnit\x20>=\x200xd800\x20&&\x20firstCodeUnit\x20<=\x200xdbff\x20&&\x20index\x20+\x201\x20<\x20value.length\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20?\x20reflectApply(stringCharCodeAt,\x20value,\x20[index\x20+\x201])\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:\x200;\x0a\x20\x20\x20\x20\x20\x20const\x20codeUnitLength\x20=\x0a\x20\x20\x20\x20\x20\x20\x20\x20firstCodeUnit\x20>=\x200xd800\x20&&\x0a\x20\x20\x20\x20\x20\x20\x20\x20firstCodeUnit\x20<=\x200xdbff\x20&&\x0a\x20\x20\x20\x20\x20\x20\x20\x20secondCodeUnit\x20>=\x200xdc00\x20&&\x0a\x20\x20\x20\x20\x20\x20\x20\x20secondCodeUnit\x20<=\x200xdfff\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20?\x202\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:\x201;\x0a\x20\x20\x20\x20\x20\x20const\x20isControl\x20=\x0a\x20\x20\x20\x20\x20\x20\x20\x20firstCodeUnit\x20<=\x200x1f\x20||\x20(firstCodeUnit\x20>=\x200x7f\x20&&\x20firstCodeUnit\x20<=\x200x9f);\x0a\x20\x20\x20\x20\x20\x20const\x20character\x20=\x20isControl\x0a\x20\x20\x20\x20\x20\x20\x20\x20?\x20\x22\x20\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20:\x20reflectApply(stringSlice,\x20value,\x20[index,\x20index\x20+\x20codeUnitLength]);\x0a\x20\x20\x20\x20\x20\x20const\x20characterBytes\x20=\x20isControl\x0a\x20\x20\x20\x20\x20\x20\x20\x20?\x201\x0a\x20\x20\x20\x20\x20\x20\x20\x20:\x20codeUnitLength\x20===\x202\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20?\x204\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:\x20firstCodeUnit\x20<=\x200x7f\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20?\x201\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:\x20firstCodeUnit\x20<=\x200x7ff\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20?\x202\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:\x203;\x0a\x20\x20\x20\x20\x20\x20if\x20(byteLength\x20+\x20characterBytes\x20>\x20512)\x20break;\x0a\x20\x20\x20\x20\x20\x20result\x20+=\x20character;\x0a\x20\x20\x20\x20\x20\x20byteLength\x20+=\x20characterBytes;\x0a\x20\x20\x20\x20\x20\x20index\x20+=\x20codeUnitLength;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20return\x20result;\x0a\x20\x20}\x0a\x0a\x20\x20class\x20ToolCallError\x20extends\x20Error\x20{\x0a\x20\x20\x20\x20constructor(message,\x20toolName,\x20output)\x20{\x0a\x20\x20\x20\x20\x20\x20const\x20copiedMessage\x20=\x0a\x20\x20\x20\x20\x20\x20\x20\x20typeof\x20message\x20===\x20\x22string\x22\x20?\x20copyBoundedErrorText(message)\x20:\x20\x22tool\x20call\x20failed\x22;\x0a\x20\x20\x20\x20\x20\x20const\x20copiedToolName\x20=\x0a\x20\x20\x20\x20\x20\x20\x20\x20typeof\x20toolName\x20===\x20\x22string\x22\x20?\x20copyBoundedErrorText(toolName)\x20:\x20\x22unknown\x22;\x0a\x20\x20\x20\x20\x20\x20const\x20copiedOutput\x20=\x0a\x20\x20\x20\x20\x20\x20\x20\x20typeof\x20output\x20===\x20\x22string\x22\x20?\x20copyBoundedErrorText(output)\x20:\x20undefined;\x0a\x20\x20\x20\x20\x20\x20super(copiedMessage);\x0a\x20\x20\x20\x20\x20\x20defineProperty(this,\x20\x22name\x22,\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20value:\x20\x22ToolCallError\x22,\x0a\x20\x20\x20\x20\x20\x20\x20\x20writable:\x20false,\x0a\x20\x20\x20\x20\x20\x20\x20\x20enumerable:\x20true,\x0a\x20\x20\x20\x20\x20\x20\x20\x20configurable:\x20false,\x0a\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20\x20\x20defineProperty(this,\x20\x22toolName\x22,\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20value:\x20copiedToolName,\x0a\x20\x20\x20\x20\x20\x20\x20\x20writable:\x20false,\x0a\x20\x20\x20\x20\x20\x20\x20\x20enumerable:\x20true,\x0a\x20\x20\x20\x20\x20\x20\x20\x20configurable:\x20false,\x0a\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20\x20\x20if\x20(copiedOutput\x20!==\x20undefined)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20defineProperty(this,\x20\x22output\x22,\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20value:\x20copiedOutput,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20writable:\x20false,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20enumerable:\x20true,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20configurable:\x20false,\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20delete\x20this.stack;\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a\x0a\x20\x20function\x20createToolCallError(message,\x20toolName,\x20output)\x20{\x0a\x20\x20\x20\x20const\x20copiedMessage\x20=\x20copyBoundedErrorText(message);\x0a\x20\x20\x20\x20const\x20copiedToolName\x20=\x20copyBoundedErrorText(toolName);\x0a\x20\x20\x20\x20const\x20copiedOutput\x20=\x20output\x20===\x20undefined\x20?\x20undefined\x20:\x20copyBoundedErrorText(output);\x0a\x20\x20\x20\x20const\x20error\x20=\x20new\x20ToolCallError(copiedMessage,\x20copiedToolName,\x20copiedOutput);\x0a\x20\x20\x20\x20reflectApply(weakMapSet,\x20toolErrorDetails,\x20[\x0a\x20\x20\x20\x20\x20\x20error,\x0a\x20\x20\x20\x20\x20\x20freeze({\x20message:\x20copiedMessage,\x20toolName:\x20copiedToolName,\x20output:\x20copiedOutput\x20}),\x0a\x20\x20\x20\x20]);\x0a\x20\x20\x20\x20return\x20error;\x0a\x20\x20}\x0a\x0a\x20\x20function\x20hasBuiltInExoticBrand(value)\x20{\x0a\x20\x20\x20\x20if\x20(arrayBufferIsView(value))\x20return\x20true;\x0a\x20\x20\x20\x20for\x20(let\x20index\x20=\x200;\x20index\x20<\x20builtInBrandChecks.length;\x20index\x20+=\x201)\x20{\x0a\x20\x20\x20\x20\x20\x20const\x20brandCheck\x20=\x20builtInBrandChecks[index][0];\x0a\x20\x20\x20\x20\x20\x20const\x20args\x20=\x20builtInBrandChecks[index][1];\x0a\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20reflectApply(brandCheck,\x20value,\x20args);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20true;\x0a\x20\x20\x20\x20\x20\x20}\x20catch\x20{}\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20return\x20false;\x0a\x20\x20}\x0a\x0a\x20\x20function\x20validateStrictJson(value,\x20label,\x20ancestors)\x20{\x0a\x20\x20\x20\x20if\x20(value\x20===\x20null\x20||\x20typeof\x20value\x20===\x20\x22string\x22\x20||\x20typeof\x20value\x20===\x20\x22boolean\x22)\x20return;\x0a\x20\x20\x20\x20if\x20(typeof\x20value\x20===\x20\x22number\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20if\x20(numberIsFinite(value))\x20return;\x0a\x20\x20\x20\x20\x20\x20throw\x20new\x20StrictJsonValidationError(label\x20+\x20\x22\x20must\x20be\x20a\x20finite\x20JSON\x20number\x22);\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20if\x20(typeof\x20value\x20!==\x20\x22object\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20throw\x20new\x20StrictJsonValidationError(label\x20+\x20\x22\x20must\x20be\x20a\x20JSON\x20value\x22);\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20const\x20valueIsArray\x20=\x20arrayIsArray(value);\x0a\x20\x20\x20\x20//\x20Keep\x20this\x20behavior\x20aligned\x20with\x20the\x20host\x20validator\x20in\x20strict-json.ts.\x20The\x0a\x20\x20\x20\x20//\x20host\x20additionally\x20rejects\x20Proxy\x20values\x20with\x20node:util.types\x20before\x20any\x0a\x20\x20\x20\x20//\x20reflection;\x20here\x20Proxy\x20is\x20poisoned\x20before\x20main\x20runs\x20and\x20no\x20host\x20objects\x0a\x20\x20\x20\x20//\x20cross\x20into\x20authored\x20code\x20by\x20reference.\x0a\x20\x20\x20\x20if\x20(!valueIsArray\x20&&\x20hasBuiltInExoticBrand(value))\x20{\x0a\x20\x20\x20\x20\x20\x20throw\x20new\x20StrictJsonValidationError(label\x20+\x20\x22\x20must\x20not\x20be\x20a\x20built-in\x20object\x22);\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20if\x20(reflectApply(setHas,\x20ancestors,\x20[value]))\x20{\x0a\x20\x20\x20\x20\x20\x20throw\x20new\x20StrictJsonValidationError(label\x20+\x20\x22\x20must\x20not\x20contain\x20a\x20cycle\x22);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20reflectApply(setAdd,\x20ancestors,\x20[value]);\x0a\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20if\x20(valueIsArray)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(getPrototypeOf(value)\x20!==\x20arrayPrototype)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20throw\x20new\x20StrictJsonValidationError(label\x20+\x20\x22\x20must\x20be\x20a\x20plain\x20JSON\x20array\x22);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20keys\x20=\x20ownKeys(value);\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(keys.length\x20!==\x20value.length\x20+\x201)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20throw\x20new\x20StrictJsonValidationError(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20label\x20+\x20\x22\x20must\x20be\x20a\x20dense\x20JSON\x20array\x20without\x20extra\x20keys\x22,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20(let\x20keyIndex\x20=\x200;\x20keyIndex\x20<\x20keys.length;\x20keyIndex\x20+=\x201)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(typeof\x20keys[keyIndex]\x20!==\x20\x22string\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20throw\x20new\x20StrictJsonValidationError(label\x20+\x20\x22\x20must\x20not\x20contain\x20symbol\x20keys\x22);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20(let\x20index\x20=\x200;\x20index\x20<\x20value.length;\x20index\x20+=\x201)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20descriptor\x20=\x20getOwnPropertyDescriptor(value,\x20String(index));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(!descriptor\x20||\x20!(\x22value\x22\x20in\x20descriptor)\x20||\x20!descriptor.enumerable)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20throw\x20new\x20StrictJsonValidationError(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20label\x20+\x20\x22[\x22\x20+\x20index\x20+\x20\x22]\x20must\x20be\x20a\x20JSON\x20data\x20property\x22,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20validateStrictJson(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20descriptor.value,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20label\x20+\x20\x22[\x22\x20+\x20index\x20+\x20\x22]\x22,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ancestors,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20return;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20prototype\x20=\x20getPrototypeOf(value);\x0a\x20\x20\x20\x20\x20\x20if\x20(prototype\x20!==\x20objectPrototype\x20&&\x20prototype\x20!==\x20null)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20throw\x20new\x20StrictJsonValidationError(label\x20+\x20\x22\x20must\x20be\x20a\x20plain\x20JSON\x20object\x22);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20const\x20keys\x20=\x20ownKeys(value);\x0a\x20\x20\x20\x20\x20\x20for\x20(let\x20index\x20=\x200;\x20index\x20<\x20keys.length;\x20index\x20+=\x201)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20key\x20=\x20keys[index];\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(typeof\x20key\x20===\x20\x22symbol\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20throw\x20new\x20StrictJsonValidationError(label\x20+\x20\x22\x20must\x20not\x20contain\x20symbol\x20keys\x22);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20descriptor\x20=\x20getOwnPropertyDescriptor(value,\x20key);\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(!descriptor\x20||\x20!(\x22value\x22\x20in\x20descriptor)\x20||\x20!descriptor.enumerable)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20throw\x20new\x20StrictJsonValidationError(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20label\x20+\x20\x22.\x22\x20+\x20key\x20+\x20\x22\x20must\x20be\x20an\x20enumerable\x20JSON\x20data\x20property\x22,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20validateStrictJson(descriptor.value,\x20label\x20+\x20\x22.\x22\x20+\x20key,\x20ancestors);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x20finally\x20{\x0a\x20\x20\x20\x20\x20\x20reflectApply(setDelete,\x20ancestors,\x20[value]);\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a\x0a\x20\x20function\x20assertStrictJsonValue(value,\x20label)\x20{\x0a\x20\x20\x20\x20validateStrictJson(value,\x20label,\x20new\x20SetConstructor());\x0a\x20\x20}\x0a\x0a\x20\x20function\x20assertStrictJsonObject(value,\x20label)\x20{\x0a\x20\x20\x20\x20assertStrictJsonValue(value,\x20label);\x0a\x20\x20\x20\x20if\x20(arrayIsArray(value)\x20||\x20value\x20===\x20null\x20||\x20typeof\x20value\x20!==\x20\x22object\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20throw\x20new\x20StrictJsonValidationError(label\x20+\x20\x22\x20must\x20be\x20a\x20JSON\x20object\x22);\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a\x0a\x20\x20function\x20poisonProperty(target,\x20name)\x20{\x0a\x20\x20\x20\x20defineProperty(target,\x20name,\x20{\x0a\x20\x20\x20\x20\x20\x20value:\x20undefined,\x0a\x20\x20\x20\x20\x20\x20writable:\x20false,\x0a\x20\x20\x20\x20\x20\x20enumerable:\x20false,\x0a\x20\x20\x20\x20\x20\x20configurable:\x20false,\x0a\x20\x20\x20\x20});\x0a\x20\x20}\x0a\x0a\x20\x20function\x20poisonGlobal(name)\x20{\x0a\x20\x20\x20\x20poisonProperty(globalThis,\x20name);\x0a\x20\x20}\x0a\x0a\x20\x20const\x20functionPrototypes\x20=\x20[\x0a\x20\x20\x20\x20getPrototypeOf(function\x20()\x20{}),\x0a\x20\x20\x20\x20getPrototypeOf(async\x20function\x20()\x20{}),\x0a\x20\x20\x20\x20getPrototypeOf(function*\x20()\x20{}),\x0a\x20\x20\x20\x20getPrototypeOf(async\x20function*\x20()\x20{}),\x0a\x20\x20];\x0a\x20\x20for\x20(let\x20index\x20=\x200;\x20index\x20<\x20functionPrototypes.length;\x20index\x20+=\x201)\x20{\x0a\x20\x20\x20\x20defineProperty(functionPrototypes[index],\x20\x22constructor\x22,\x20{\x0a\x20\x20\x20\x20\x20\x20value:\x20undefined,\x0a\x20\x20\x20\x20\x20\x20writable:\x20false,\x0a\x20\x20\x20\x20\x20\x20configurable:\x20false,\x0a\x20\x20\x20\x20});\x0a\x20\x20}\x0a\x0a\x20\x20//\x20Embedded\x20validation\x20does\x20not\x20depend\x20on\x20an\x20exhaustive\x20list\x20of\x20brands.\x0a\x20\x20//\x20Directly\x20constructed\x20exotics\x20retain\x20a\x20non-JSON\x20prototype.\x20Authored\x20code\x0a\x20\x20//\x20receives\x20an\x20Object\x20facade\x20whose\x20public\x20prototype\x20is\x20a\x20frozen\x20decoy,\x20while\x0a\x20\x20//\x20the\x20accepted\x20intrinsic\x20Object\x20prototype\x20and\x20its\x20constructor\x20stay\x20private.\x0a\x20\x20//\x20Prototype\x20inspection/mutation\x20and\x20alternate-newTarget\x20paths\x20are\x20removed\x20so\x0a\x20\x20//\x20writable\x20generator\x20prototypes\x20cannot\x20select\x20the\x20accepted\x20prototype.\x0a\x20\x20function\x20SafeObject(value)\x20{\x0a\x20\x20\x20\x20return\x20value\x20===\x20null\x20||\x20value\x20===\x20undefined\x0a\x20\x20\x20\x20\x20\x20?\x20{}\x0a\x20\x20\x20\x20\x20\x20:\x20reflectApply(ObjectConstructor,\x20undefined,\x20[value]);\x0a\x20\x20}\x0a\x20\x20const\x20safeObjectPrototype\x20=\x20SafeObject.prototype;\x0a\x20\x20const\x20objectStaticKeys\x20=\x20ownKeys(ObjectConstructor);\x0a\x20\x20for\x20(let\x20index\x20=\x200;\x20index\x20<\x20objectStaticKeys.length;\x20index\x20+=\x201)\x20{\x0a\x20\x20\x20\x20const\x20key\x20=\x20objectStaticKeys[index];\x0a\x20\x20\x20\x20if\x20(\x0a\x20\x20\x20\x20\x20\x20key\x20===\x20\x22length\x22\x20||\x0a\x20\x20\x20\x20\x20\x20key\x20===\x20\x22name\x22\x20||\x0a\x20\x20\x20\x20\x20\x20key\x20===\x20\x22prototype\x22\x20||\x0a\x20\x20\x20\x20\x20\x20key\x20===\x20\x22getPrototypeOf\x22\x20||\x0a\x20\x20\x20\x20\x20\x20key\x20===\x20\x22setPrototypeOf\x22\x0a\x20\x20\x20\x20)\x20{\x0a\x20\x20\x20\x20\x20\x20continue;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20const\x20descriptor\x20=\x20getOwnPropertyDescriptor(ObjectConstructor,\x20key);\x0a\x20\x20\x20\x20if\x20(descriptor)\x20defineProperty(SafeObject,\x20key,\x20descriptor);\x0a\x20\x20}\x0a\x20\x20defineProperty(SafeObject,\x20\x22name\x22,\x20{\x20value:\x20\x22Object\x22,\x20configurable:\x20true\x20});\x0a\x20\x20poisonProperty(SafeObject,\x20\x22getPrototypeOf\x22);\x0a\x20\x20poisonProperty(SafeObject,\x20\x22setPrototypeOf\x22);\x0a\x20\x20poisonProperty(ObjectConstructor,\x20\x22getPrototypeOf\x22);\x0a\x20\x20poisonProperty(ObjectConstructor,\x20\x22setPrototypeOf\x22);\x0a\x20\x20poisonProperty(Reflect,\x20\x22getPrototypeOf\x22);\x0a\x20\x20poisonProperty(Reflect,\x20\x22setPrototypeOf\x22);\x0a\x20\x20poisonProperty(Reflect,\x20\x22construct\x22);\x0a\x20\x20poisonProperty(objectPrototype,\x20\x22constructor\x22);\x0a\x20\x20poisonProperty(objectPrototype,\x20\x22__proto__\x22);\x0a\x0a\x20\x20freeze(objectPrototype);\x0a\x20\x20freeze(arrayPrototype);\x0a\x20\x20freeze(safeObjectPrototype);\x0a\x20\x20freeze(SafeObject);\x0a\x20\x20defineProperty(globalThis,\x20\x22Object\x22,\x20{\x0a\x20\x20\x20\x20value:\x20SafeObject,\x0a\x20\x20\x20\x20writable:\x20false,\x0a\x20\x20\x20\x20enumerable:\x20false,\x0a\x20\x20\x20\x20configurable:\x20false,\x0a\x20\x20});\x0a\x20\x20freeze(StrictJsonValidationError.prototype);\x0a\x20\x20freeze(StrictJsonValidationError);\x0a\x20\x20freeze(ToolCallError.prototype);\x0a\x20\x20freeze(ToolCallError);\x0a\x20\x20freeze(errorPrototype);\x0a\x0a\x20\x20const\x20forbiddenGlobals\x20=\x20[\x0a\x20\x20\x20\x20\x22process\x22,\x0a\x20\x20\x20\x20\x22require\x22,\x0a\x20\x20\x20\x20\x22module\x22,\x0a\x20\x20\x20\x20\x22Buffer\x22,\x0a\x20\x20\x20\x20\x22fetch\x22,\x0a\x20\x20\x20\x20\x22setTimeout\x22,\x0a\x20\x20\x20\x20\x22clearTimeout\x22,\x0a\x20\x20\x20\x20\x22setInterval\x22,\x0a\x20\x20\x20\x20\x22clearInterval\x22,\x0a\x20\x20\x20\x20\x22setImmediate\x22,\x0a\x20\x20\x20\x20\x22clearImmediate\x22,\x0a\x20\x20\x20\x20\x22queueMicrotask\x22,\x0a\x20\x20\x20\x20\x22requestAnimationFrame\x22,\x0a\x20\x20\x20\x20\x22cancelAnimationFrame\x22,\x0a\x20\x20\x20\x20\x22console\x22,\x0a\x20\x20\x20\x20\x22Date\x22,\x0a\x20\x20\x20\x20\x22performance\x22,\x0a\x20\x20\x20\x20\x22crypto\x22,\x0a\x20\x20\x20\x20\x22Intl\x22,\x0a\x20\x20\x20\x20\x22Temporal\x22,\x0a\x20\x20\x20\x20\x22eval\x22,\x0a\x20\x20\x20\x20\x22Function\x22,\x0a\x20\x20\x20\x20\x22Proxy\x22,\x0a\x20\x20\x20\x20\x22WebAssembly\x22,\x0a\x20\x20\x20\x20\x22SharedArrayBuffer\x22,\x0a\x20\x20\x20\x20\x22Atomics\x22,\x0a\x20\x20\x20\x20\x22WeakRef\x22,\x0a\x20\x20\x20\x20\x22FinalizationRegistry\x22,\x0a\x20\x20];\x0a\x20\x20for\x20(let\x20index\x20=\x200;\x20index\x20<\x20forbiddenGlobals.length;\x20index\x20+=\x201)\x20{\x0a\x20\x20\x20\x20poisonGlobal(forbiddenGlobals[index]);\x0a\x20\x20}\x0a\x20\x20defineProperty(Math,\x20\x22random\x22,\x20{\x0a\x20\x20\x20\x20value:\x20undefined,\x0a\x20\x20\x20\x20writable:\x20false,\x0a\x20\x20\x20\x20configurable:\x20false,\x0a\x20\x20});\x0a\x0a\x20\x20async\x20function\x20performToolCall(requestText)\x20{\x0a\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20const\x20responseText\x20=\x20await\x20reflectApply(callHostApply,\x20callHostReference,\x20[\x0a\x20\x20\x20\x20\x20\x20\x20\x20undefined,\x0a\x20\x20\x20\x20\x20\x20\x20\x20[requestText],\x0a\x20\x20\x20\x20\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20arguments:\x20{\x20copy:\x20true\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20result:\x20{\x20copy:\x20true,\x20promise:\x20true\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20},\x0a\x20\x20\x20\x20\x20\x20]);\x0a\x20\x20\x20\x20\x20\x20if\x20(typeof\x20responseText\x20!==\x20\x22string\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20throw\x20new\x20Error(\x22tool\x20bridge\x20returned\x20an\x20invalid\x20response\x22);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20const\x20response\x20=\x20jsonParse(responseText);\x0a\x20\x20\x20\x20\x20\x20assertStrictJsonObject(response,\x20\x22tool\x20response\x22);\x0a\x20\x20\x20\x20\x20\x20if\x20(response.ok\x20===\x20true\x20&&\x20typeof\x20response.output\x20===\x20\x22string\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20response.output;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20if\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20response.ok\x20===\x20false\x20&&\x0a\x20\x20\x20\x20\x20\x20\x20\x20typeof\x20response.message\x20===\x20\x22string\x22\x20&&\x0a\x20\x20\x20\x20\x20\x20\x20\x20typeof\x20response.toolName\x20===\x20\x22string\x22\x20&&\x0a\x20\x20\x20\x20\x20\x20\x20\x20(response.output\x20===\x20undefined\x20||\x20typeof\x20response.output\x20===\x20\x22string\x22)\x0a\x20\x20\x20\x20\x20\x20)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20throw\x20createToolCallError(response.message,\x20response.toolName,\x20response.output);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20throw\x20new\x20Error(\x22tool\x20bridge\x20returned\x20an\x20invalid\x20response\x22);\x0a\x20\x20\x20\x20}\x20finally\x20{\x0a\x20\x20\x20\x20\x20\x20settledCallCount\x20+=\x201;\x0a\x20\x20\x20\x20\x20\x20if\x20(!callsOpen\x20&&\x20settledCallCount\x20===\x20startedCallCount)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20resolveAdmittedCallsSettled();\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a\x0a\x20\x20function\x20call(name,\x20input)\x20{\x0a\x20\x20\x20\x20const\x20promise\x20=\x20new\x20PromiseConstructor((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20let\x20requestText;\x0a\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(!callsOpen)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20throw\x20new\x20Error(\x22program\x20tool\x20calls\x20are\x20closed\x22);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(typeof\x20name\x20!==\x20\x22string\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20throw\x20new\x20StrictJsonValidationError(\x22tool\x20name\x20must\x20be\x20a\x20string\x22);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20assertStrictJsonObject(input,\x20\x22tool\x20input\x22);\x0a\x20\x20\x20\x20\x20\x20\x20\x20requestText\x20=\x20jsonStringify({\x20name,\x20input\x20});\x0a\x20\x20\x20\x20\x20\x20}\x20catch\x20(error)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20reject(error);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20startedCallCount\x20+=\x201;\x0a\x20\x20\x20\x20\x20\x20const\x20operation\x20=\x20performToolCall(requestText);\x0a\x20\x20\x20\x20\x20\x20reflectApply(promiseThen,\x20operation,\x20[resolve,\x20reject]);\x0a\x20\x20\x20\x20});\x0a\x20\x20\x20\x20//\x20Keep\x20a\x20detached\x20root\x20rejection\x20from\x20becoming\x20an\x20isolate\x20task-level\x0a\x20\x20\x20\x20//\x20unhandled\x20rejection\x20without\x20changing\x20what\x20authored\x20consumers\x20observe.\x0a\x20\x20\x20\x20reflectApply(promiseThen,\x20promise,\x20[undefined,\x20()\x20=>\x20undefined]);\x0a\x20\x20\x20\x20return\x20promise;\x0a\x20\x20}\x0a\x0a\x20\x20//\x20Authored\x20surface:\x20one\x20frozen\x20async\x20method\x20per\x20captured\x20tool\x20name,\x0a\x20\x20//\x20tools.<name>(input).\x20Own\x20properties\x20via\x20defineProperty\x20keep\x20exotic\x0a\x20\x20//\x20names\x20(spaces,\x20\x22call\x22,\x20\x22__proto__\x22)\x20callable\x20through\x20dot\x20or\x20bracket\x0a\x20\x20//\x20access\x20without\x20touching\x20the\x20hardened\x20prototype.\x20A\x20misspelled\x20name\x20is\x0a\x20\x20//\x20simply\x20undefined\x20and\x20fails\x20as\x20an\x20authored\x20execution\x20error.\x0a\x20\x20const\x20tools\x20=\x20{};\x0a\x20\x20if\x20(typeof\x20toolNamesText\x20===\x20\x22string\x22)\x20{\x0a\x20\x20\x20\x20const\x20parsedToolNames\x20=\x20jsonParse(toolNamesText);\x0a\x20\x20\x20\x20if\x20(arrayIsArray(parsedToolNames))\x20{\x0a\x20\x20\x20\x20\x20\x20for\x20(let\x20index\x20=\x200;\x20index\x20<\x20parsedToolNames.length;\x20index\x20+=\x201)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20toolName\x20=\x20parsedToolNames[index];\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(typeof\x20toolName\x20!==\x20\x22string\x22)\x20continue;\x0a\x20\x20\x20\x20\x20\x20\x20\x20defineProperty(tools,\x20toolName,\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20value:\x20(input)\x20=>\x20call(toolName,\x20input),\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20writable:\x20false,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20enumerable:\x20true,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20configurable:\x20false,\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a\x20\x20freeze(tools);\x0a\x20\x20let\x20mainFailed\x20=\x20false;\x0a\x20\x20let\x20mainFailure;\x0a\x20\x20let\x20result;\x0a\x20\x20try\x20{\x0a\x20\x20\x20\x20result\x20=\x20await\x20main(tools);\x0a\x20\x20}\x20catch\x20(error)\x20{\x0a\x20\x20\x20\x20mainFailed\x20=\x20true;\x0a\x20\x20\x20\x20mainFailure\x20=\x20error;\x0a\x20\x20}\x0a\x0a\x20\x20//\x20Close\x20synchronously\x20at\x20main\x20settlement.\x20Later\x20microtasks\x20can\x20only\x20receive\x20a\x0a\x20\x20//\x20local\x20rejection\x20and\x20cannot\x20dispatch\x20through\x20the\x20captured\x20host\x20reference.\x0a\x20\x20callsOpen\x20=\x20false;\x0a\x20\x20if\x20(settledCallCount\x20===\x20startedCallCount)\x20{\x0a\x20\x20\x20\x20resolveAdmittedCallsSettled();\x0a\x20\x20}\x0a\x0a\x20\x20//\x20A\x20failed\x20main\x20must\x20reach\x20the\x20host\x20before\x20an\x20admitted\x20sibling\x20settles\x20so\x20the\x0a\x20\x20//\x20host\x20can\x20close\x20bound\x20execution\x20and\x20signal\x20it.\x20Fulfilled\x20main\x20still\x20drains\x0a\x20\x20//\x20every\x20admitted\x20call\x20under\x20the\x20main-chain-only\x20completion\x20contract.\x0a\x20\x20if\x20(mainFailed)\x20{\x0a\x20\x20\x20\x20const\x20details\x20=\x0a\x20\x20\x20\x20\x20\x20mainFailure\x20!==\x20null\x20&&\x0a\x20\x20\x20\x20\x20\x20(typeof\x20mainFailure\x20===\x20\x22object\x22\x20||\x20typeof\x20mainFailure\x20===\x20\x22function\x22)\x0a\x20\x20\x20\x20\x20\x20\x20\x20?\x20reflectApply(weakMapGet,\x20toolErrorDetails,\x20[mainFailure])\x0a\x20\x20\x20\x20\x20\x20\x20\x20:\x20undefined;\x0a\x20\x20\x20\x20if\x20(\x0a\x20\x20\x20\x20\x20\x20details\x20!==\x20undefined\x20&&\x0a\x20\x20\x20\x20\x20\x20typeof\x20details.message\x20===\x20\x22string\x22\x20&&\x0a\x20\x20\x20\x20\x20\x20typeof\x20details.toolName\x20===\x20\x22string\x22\x20&&\x0a\x20\x20\x20\x20\x20\x20(details.output\x20===\x20undefined\x20||\x20typeof\x20details.output\x20===\x20\x22string\x22)\x0a\x20\x20\x20\x20)\x20{\x0a\x20\x20\x20\x20\x20\x20const\x20failure\x20=\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20status:\x20\x22tool-error\x22,\x0a\x20\x20\x20\x20\x20\x20\x20\x20message:\x20copyBoundedErrorText(details.message),\x0a\x20\x20\x20\x20\x20\x20\x20\x20toolName:\x20copyBoundedErrorText(details.toolName),\x0a\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20if\x20(details.output\x20!==\x20undefined)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20failure.output\x20=\x20copyBoundedErrorText(details.output);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20return\x20jsonStringify(failure);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20let\x20message\x20=\x20\x22program\x20execution\x20failed\x22;\x0a\x20\x20\x20\x20if\x20(\x0a\x20\x20\x20\x20\x20\x20mainFailure\x20!==\x20null\x20&&\x0a\x20\x20\x20\x20\x20\x20(typeof\x20mainFailure\x20===\x20\x22object\x22\x20||\x20typeof\x20mainFailure\x20===\x20\x22function\x22)\x0a\x20\x20\x20\x20)\x20{\x0a\x20\x20\x20\x20\x20\x20const\x20descriptor\x20=\x20getOwnPropertyDescriptor(mainFailure,\x20\x22message\x22);\x0a\x20\x20\x20\x20\x20\x20if\x20(descriptor\x20&&\x20\x22value\x22\x20in\x20descriptor\x20&&\x20typeof\x20descriptor.value\x20===\x20\x22string\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20message\x20=\x20descriptor.value;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20return\x20jsonStringify({\x20status:\x20\x22execution-error\x22,\x20message\x20});\x0a\x20\x20}\x0a\x0a\x20\x20await\x20admittedCallsSettled;\x0a\x0a\x20\x20try\x20{\x0a\x20\x20\x20\x20assertStrictJsonValue(result,\x20\x22program\x20result\x22);\x0a\x20\x20\x20\x20return\x20jsonStringify({\x20status:\x20\x22ok\x22,\x20result:\x20jsonStringify(result)\x20});\x0a\x20\x20}\x20catch\x20{\x0a\x20\x20\x20\x20return\x20jsonStringify({\x20status:\x20\x22invalid-result\x22\x20});\x0a\x20\x20}\x0a})()\x0a';async function runProgramIsolate(_0x1968e5){const _0x4d3945={_0x26ac42:0x217,_0x1ef5da:0x269,_0x5a0d15:0x9d3,_0x494d8e:0x14,_0x26b6f4:0xb70,_0x20cd18:0x986,_0x4fa2d4:0x9d4,_0x13cabb:0x7,_0x20eb1f:0x78,_0x1af5af:0x29c,_0x5d0877:0x146,_0x83cffc:0xa36,_0x4c0f64:0x90d,_0x4b8ba9:0x70c,_0x106877:0x859,_0x598e57:0x5fa,_0x4906d3:0x818,_0x264783:0xa2f,_0x53d536:0xa61,_0x206900:0x916,_0x323b7b:0x132,_0x53e663:0x1bb,_0x5c7d34:0x6,_0x4697a9:0x278,_0x33d579:0x6d6,_0x43f6ec:0x5ef,_0xbb063a:0x42f,_0x4f15ec:0x1bb,_0x54d9d4:0x60,_0x3595ea:0xb3,_0x26f27d:0x27f,_0x2bfbe0:0x8ba,_0x583ea0:0x2ea,_0x3cf7b8:0x127,_0x4410bb:0x849,_0xf4a821:0x919,_0x46384c:0x9c6,_0x3b495f:0x67c,_0x590dc6:0x5c3,_0x29e5d5:0x756,_0x31e330:0x6f,_0x554282:0x6d8,_0x2b2dd4:0x5eb,_0x560c42:0x606,_0x2d17f0:0x9e,_0x46429a:0x104,_0x4bac9c:0x47,_0x37892d:0x4fa,_0x4ad5a8:0x38f,_0x123fe8:0x232,_0x281b05:0x8df,_0x4d1bd3:0x939,_0x753647:0x4ff,_0x51a454:0x757,_0x1fcc30:0x8c1,_0x5085db:0x99,_0x25fe23:0x209,_0x19fb5a:0xc4,_0x721158:0x3ce,_0x310eab:0x72c,_0x34341a:0x1e9,_0x55a911:0x2fe,_0x2fab0a:0xcc,_0x57c442:0x2f,_0x3c1e0b:0xbb,_0x52d4ec:0x228,_0x122da1:0x959,_0x195ed3:0x859,_0x300ddd:0x76e,_0x37dd43:0x7c,_0x4f77d7:0x13c,_0x498aac:0x117,_0x58cfe0:0x4e,_0x328d64:0x13d,_0x132745:0x7b4,_0x314ef9:0x676},_0x36a476={_0xe327b6:0x687,_0x3d2ce4:0x30d,_0x36551b:0x472,_0xad3126:0x5cf,_0x1c830e:0x498,_0x31470c:0x96d,_0x19ef8c:0x982,_0x322acc:0x829,_0x34c205:0x703,_0x4d1b36:0x8fb,_0x5d7f8b:0x1b7,_0x5f5be5:0x138},_0x596456={_0x5aaf1d:0xd8},_0x597335={_0xa7267:0x481,_0x3c907f:0x43e,_0x5127f6:0x207,_0x2984a7:0x1b6,_0x292598:0x1b},_0x597f0d={_0x5152f3:0x32e};let _0x217dc4;try{_0x217dc4=loadIsolatedVm();}catch(_0x503323){if(_0x503323 instanceof IsolationUnavailableError)throw new ProgramIsolateError(_0x588db5(_0x4d3945._0x26ac42,0x114,-_0x4d3945._0x1ef5da,-0x49),_0x503323[_0x166c24(0xa4b,0x8b0,0x6e1,_0x4d3945._0x5a0d15)]);throw _0x503323;}let _0x4cbc88;try{_0x4cbc88=new _0x217dc4[(_0x588db5(0x63,-0x52,_0x4d3945._0x494d8e,0x7b))]({'memoryLimit':0x80});}catch(_0x3684ee){if(isIsolateLimitError(_0x3684ee))throw new ProgramIsolateError('program-resource-limit',_0x166c24(_0x4d3945._0x26b6f4,_0x4d3945._0x20cd18,0xb3b,_0x4d3945._0x4fa2d4));throw new ProgramIsolateError(_0x588db5(-0xe,-_0x4d3945._0x13cabb,_0x4d3945._0x20eb1f,-0x83),_0x588db5(-_0x4d3945._0x1af5af,-0x2c4,-0x105,-_0x4d3945._0x5d0877));}function _0x166c24(_0x12f960,_0x33d375,_0x545217,_0x92ebd2){return _0xa5377c(_0x545217,_0x33d375-0x7d,_0x545217-0x16e,_0x33d375-_0x597f0d._0x5152f3);}let _0x1957d8=![];function _0x588db5(_0x15b209,_0x239b0d,_0x39d26e,_0x3d0627){return _0x4eedea(_0x15b209-0x1ad,_0x3d0627- -0x164,_0x39d26e,_0x3d0627-0xfb);}let _0x5c2da3=![],_0x2a53ff=![],_0x16da37,_0x193427;const _0x17cd80=()=>{const _0x9b512a={_0x2b046d:0x184,_0x23b362:0xe1},_0x5d73b7={_0x53b90d:0x6c,_0x27a00b:0x2d6};function _0x64d1bb(_0x56bfa6,_0x14e6d2,_0x2ea794,_0x5275f2){return _0x588db5(_0x56bfa6-0x3b,_0x14e6d2-_0x5d73b7._0x53b90d,_0x56bfa6,_0x14e6d2-_0x5d73b7._0x27a00b);}if(_0x1957d8)return;_0x1957d8=!![];function _0x2fa28f(_0x1e02bf,_0x45fcef,_0x39078a,_0x48eaca){return _0x588db5(_0x1e02bf-_0x9b512a._0x2b046d,_0x45fcef-_0x9b512a._0x23b362,_0x48eaca,_0x1e02bf-0xfa);}if(!_0x4cbc88[_0x64d1bb(0x3df,0x3c1,_0x597335._0xa7267,_0x597335._0x3c907f)])_0x4cbc88[_0x2fa28f(_0x597335._0x5127f6,_0x597335._0x2984a7,_0x597335._0x292598,0x21e)]();},_0x3e48aa=()=>{_0x5c2da3=!![],_0x17cd80();},_0x2b97bc=_0x1968e5[_0x166c24(0x646,0x859,0x9f0,_0x4d3945._0x83cffc)]===void 0x0?setTimeout(_0x3e48aa,_0x1968e5[_0x166c24(_0x4d3945._0x4c0f64,_0x4d3945._0x4b8ba9,0x525,0x966)]):void 0x0;_0x1968e5[_0x166c24(0x8f0,_0x4d3945._0x106877,0x7ea,0x6f2)]?.[_0x166c24(_0x4d3945._0x598e57,_0x4d3945._0x4906d3,0x69e,_0x4d3945._0x264783)]?_0x3e48aa():_0x1968e5[_0x166c24(_0x4d3945._0x53d536,_0x4d3945._0x106877,_0x4d3945._0x206900,0x9b2)]?.[_0x588db5(_0x4d3945._0x323b7b,0x1ff,_0x4d3945._0x53e663,0x2a9)](_0x588db5(-0x11b,_0x4d3945._0x5c7d34,_0x4d3945._0x4697a9,0x4e),_0x3e48aa,{'once':!![]});const _0x1c9933=()=>{_0x2a53ff=!![],_0x17cd80();};_0x1968e5['signal']['aborted']?_0x1c9933():_0x1968e5['signal']['addEventListener'](_0x166c24(0x618,_0x4d3945._0x33d579,0x8f2,_0x4d3945._0x43f6ec),_0x1c9933,{'once':!![]});try{const _0x47b940=await _0x4cbc88[_0x588db5(_0x4d3945._0xbb063a,_0x4d3945._0x4f15ec,_0x4d3945._0x54d9d4,0x27e)]();await _0x47b940['global'][_0x588db5(-0xed,_0x4d3945._0x3595ea,-0x137,0x127)](PROGRAM_SOURCE_GLOBAL,_0x1968e5[_0x588db5(0x481,0x97,0x431,_0x4d3945._0x26f27d)]),await _0x47b940[_0x166c24(0x67d,_0x4d3945._0x2bfbe0,0x9e5,0x6dc)][_0x588db5(-0x7e,_0x4d3945._0x583ea0,0xc,_0x4d3945._0x3cf7b8)](PROGRAM_TOOL_NAMES_GLOBAL,JSON[_0x166c24(_0x4d3945._0x4410bb,_0x4d3945._0xf4a821,0x96d,_0x4d3945._0x46384c)](_0x1968e5[_0x166c24(_0x4d3945._0x3b495f,_0x4d3945._0x590dc6,_0x4d3945._0x29e5d5,0x813)]??[]));const _0x374cad=await _0x4cbc88[_0x588db5(-_0x4d3945._0x4f15ec,0x6d,_0x4d3945._0x31e330,-0x7)](PROGRAM_COMPILER_SOURCE);try{await _0x374cad['run'](_0x47b940);}catch(_0x136842){if(_0x136842 instanceof SyntaxError)throw new ProgramIsolateError(_0x166c24(_0x4d3945._0x554282,_0x4d3945._0x2b2dd4,0x69d,_0x4d3945._0x560c42),_0x588db5(_0x4d3945._0x2d17f0,_0x4d3945._0x46429a,_0x4d3945._0x4bac9c,-0x51));if(_0x2a53ff||_0x5c2da3||isIsolateLimitError(_0x136842))throw _0x136842;throw new ProgramIsolateError('program-invalid-source',_0x166c24(0x67e,0x637,_0x4d3945._0x560c42,0x68c));}_0x193427=new _0x217dc4[(_0x166c24(0x412,_0x4d3945._0x37892d,0x6fb,0x365))](async _0x7d47a=>{const _0xb722c3={_0x3517b1:0x80,_0x451bed:0x1f9};function _0x11c523(_0x400102,_0x4e501a,_0x483174,_0x34cbbb){return _0x588db5(_0x400102-_0xb722c3._0x3517b1,_0x4e501a-0x8c,_0x34cbbb,_0x483174-_0xb722c3._0x451bed);}function _0x114f4c(_0x5910a8,_0x5853b4,_0x541587,_0x5dfccb){return _0x166c24(_0x5910a8-0xe8,_0x541587-0x7b,_0x5853b4,_0x5dfccb-_0x596456._0x5aaf1d);}try{return await callToolFromSerializedRequest(_0x7d47a,_0x1968e5[_0x11c523(_0x36a476._0xe327b6,_0x36a476._0x3d2ce4,_0x36a476._0x36551b,_0x36a476._0xad3126)]);}catch(_0x20ff35){_0x16da37=_0x20ff35 instanceof ProgramIsolateError&&(_0x20ff35[_0x11c523(0x45a,0x5d3,0x478,_0x36a476._0x1c830e)]===_0x114f4c(0x8af,0x778,0x9b7,0x914)||_0x20ff35[_0x114f4c(_0x36a476._0x31470c,0x863,_0x36a476._0x19ef8c,0x75a)]===_0x114f4c(0x871,_0x36a476._0x322acc,_0x36a476._0x34c205,_0x36a476._0x4d1b36))?_0x20ff35:new ProgramIsolateError('program-execution-error',_0x11c523(0x42b,_0x36a476._0x5d7f8b,0x367,_0x36a476._0x5f5be5)),_0x17cd80();throw new Error('program\x20tool\x20bridge\x20infrastructure\x20failed');}}),await _0x47b940[_0x588db5(0x141,_0x4d3945._0x4ad5a8,0x23b,_0x4d3945._0x123fe8)]['set'](PROGRAM_CALLBACK_GLOBAL,_0x193427);const _0x176b76=await _0x4cbc88['compileScript'](PROGRAM_RUNNER_SOURCE),_0x58009b=await _0x176b76[_0x166c24(0x72b,_0x4d3945._0x281b05,_0x4d3945._0x4d1bd3,0x998)](_0x47b940,{'promise':!![],'copy':!![]});if(_0x16da37)throw _0x16da37;return parseProgramResult(_0x58009b);}catch(_0x364e6f){if(_0x2a53ff)throw new ProgramIsolateError(_0x166c24(_0x4d3945._0x753647,_0x4d3945._0x51a454,0x633,_0x4d3945._0x1fcc30),'program\x20execution\x20was\x20aborted');if(_0x5c2da3)throw new ProgramIsolateError(_0x588db5(_0x4d3945._0x5085db,-0xf1,0x122,0x3),_0x588db5(-_0x4d3945._0x25fe23,-0x79,0x7b,-_0x4d3945._0x19fb5a));if(!(_0x364e6f instanceof ProgramIsolateError)&&isIsolateLimitError(_0x364e6f))throw new ProgramIsolateError(_0x166c24(0x6c4,0x516,_0x4d3945._0x721158,_0x4d3945._0x310eab),_0x588db5(0x176,_0x4d3945._0x34341a,0x273,_0x4d3945._0x55a911));if(_0x16da37)throw _0x16da37;if(_0x364e6f instanceof ProgramIsolateError)throw _0x364e6f;throw new ProgramIsolateError(_0x588db5(-_0x4d3945._0x2fab0a,-_0x4d3945._0x57c442,0xd8,-0x83),_0x364e6f instanceof Error?_0x364e6f[_0x588db5(0x19b,_0x4d3945._0x3c1e0b,0x2c0,_0x4d3945._0x52d4ec)]:'program\x20execution\x20failed');}finally{if(_0x2b97bc!==void 0x0)clearTimeout(_0x2b97bc);_0x1968e5[_0x166c24(_0x4d3945._0x122da1,_0x4d3945._0x195ed3,_0x4d3945._0x300ddd,0x9be)]?.[_0x588db5(-_0x4d3945._0x37dd43,0x167,0x15a,-0xa8)](_0x588db5(_0x4d3945._0x4f77d7,_0x4d3945._0x498aac,-0x95,_0x4d3945._0x58cfe0),_0x3e48aa),_0x1968e5['signal'][_0x588db5(_0x4d3945._0x4bac9c,-0xdb,_0x4d3945._0x328d64,-0xa8)](_0x166c24(0x595,0x6d6,0x477,0x80f),_0x1c9933),_0x193427?.[_0x166c24(_0x4d3945._0x132745,0x565,0x36e,_0x4d3945._0x314ef9)](),_0x17cd80();}}async function callToolFromSerializedRequest(_0x13a51a,_0x220f5e){const _0x541fcb={_0x43e4e8:0x86b,_0x1dd1ac:0x9a1,_0x370341:0x8e2,_0x25fff8:0x42c,_0x5f3148:0x4d8,_0x40c580:0x460,_0x4f42b1:0x2ce,_0x529589:0x66d,_0x32f50c:0x558,_0x450c58:0x475,_0x574ad1:0x460,_0x1007e0:0x23b,_0x5db13b:0x135,_0x5b776a:0x674,_0x1c4f9d:0x6ed,_0x4efb4a:0x4a1,_0x90cda5:0x4ad,_0x110924:0x4ca,_0x5d612b:0x606,_0x2ce799:0x6fa,_0x45a37b:0x5c9,_0x5043c7:0x732,_0x557a66:0x840,_0x1ba980:0x7e9,_0x299c44:0x7a3,_0x33cace:0x7f5,_0xfee88f:0x615,_0x2a35e8:0x471,_0x19bf75:0x6a0,_0x465b52:0x67d,_0x218e0a:0x5e4,_0x56c094:0x401,_0x242279:0x6a9,_0x3daf73:0xa81,_0x1a83be:0x886,_0x44c53e:0xa14,_0x277852:0x8c6,_0x37776d:0x8e2,_0x505cf0:0x6d9,_0x2124c3:0x79c,_0x396a0a:0x71a,_0x161831:0x57f,_0x51c5a2:0x5fc},_0x3544a3={_0x22e49a:0x289,_0x4397e1:0xf};if(typeof _0x13a51a!==_0x27e0ec(_0x541fcb._0x43e4e8,0x8e1,_0x541fcb._0x1dd1ac,_0x541fcb._0x370341))throw new Error('program\x20tool\x20bridge\x20received\x20a\x20non-string\x20request');const _0x2d3531=parseStrictJsonObject(_0x13a51a,_0x27e0ec(0x3a5,_0x541fcb._0x25fff8,_0x541fcb._0x5f3148,0x5b1)),_0x2ce496=Object['keys'](_0x2d3531);if(_0x2ce496['length']!==0x2||!_0x2ce496[_0x16c663(0x5e6,0x61e,_0x541fcb._0x40c580,_0x541fcb._0x4f42b1)](_0x16c663(0x50e,_0x541fcb._0x529589,0x63b,_0x541fcb._0x32f50c))||!_0x2ce496[_0x16c663(_0x541fcb._0x450c58,0x428,_0x541fcb._0x574ad1,_0x541fcb._0x1007e0)](_0x16c663(0x490,0x2d1,0x323,_0x541fcb._0x5db13b)))throw new Error(_0x27e0ec(0x82d,0x783,0x65a,0x77f));function _0x27e0ec(_0x3faa20,_0x2e014d,_0x266923,_0x268257){return _0x4eedea(_0x3faa20-0x78,_0x268257-0x47e,_0x3faa20,_0x268257-0x12d);}const {name:_0x48fbbf,input:_0xf4794b}=_0x2d3531;if(typeof _0x48fbbf!==_0x16c663(_0x541fcb._0x5b776a,0x72e,_0x541fcb._0x1c4f9d,_0x541fcb._0x4efb4a))throw new Error(_0x16c663(0xb4,_0x541fcb._0x90cda5,0x2cd,0x276));function _0x16c663(_0x1c7e58,_0x1bb0c4,_0x14a666,_0x49fd9e){return _0x4eedea(_0x1c7e58-0x146,_0x14a666-_0x3544a3._0x22e49a,_0x49fd9e,_0x49fd9e-_0x3544a3._0x4397e1);}assertStrictJsonObject(_0xf4794b,'tool\x20input');const _0x2586af=await _0x220f5e(_0x48fbbf,_0xf4794b);assertStrictJsonObject(_0x2586af,_0x27e0ec(_0x541fcb._0x110924,_0x541fcb._0x5d612b,_0x541fcb._0x2ce799,_0x541fcb._0x45a37b));if(_0x2586af['ok']===!![]&&typeof _0x2586af[_0x27e0ec(_0x541fcb._0x5043c7,_0x541fcb._0x557a66,0x619,_0x541fcb._0x1ba980)]===_0x27e0ec(_0x541fcb._0x299c44,_0x541fcb._0x33cace,0x8b1,0x8e2))return JSON[_0x16c663(0x616,_0x541fcb._0xfee88f,0x67e,_0x541fcb._0x2a35e8)]({'ok':!![],'output':_0x2586af[_0x27e0ec(0x82a,_0x541fcb._0x19bf75,0x962,0x7e9)]});if(_0x2586af['ok']!==![])throw new Error(_0x16c663(0x4d6,0x86e,_0x541fcb._0x465b52,0x87e));const _0x40eda6=_0x2586af[_0x16c663(_0x541fcb._0x218e0a,0x5eb,_0x541fcb._0x56c094,0x435)];assertStrictJsonObject(_0x40eda6,_0x16c663(0x6d0,0x617,0x62a,0x44a));const {message:_0x169e52,toolName:_0x247aa4,output:_0x3f1bc9}=_0x40eda6;if(typeof _0x169e52!==_0x27e0ec(_0x541fcb._0x242279,_0x541fcb._0x3daf73,0xac3,0x8e2)||typeof _0x247aa4!==_0x27e0ec(_0x541fcb._0x1a83be,_0x541fcb._0x44c53e,_0x541fcb._0x277852,_0x541fcb._0x37776d)||_0x3f1bc9!==void 0x0&&typeof _0x3f1bc9!==_0x16c663(_0x541fcb._0x505cf0,_0x541fcb._0x2124c3,0x6ed,0x8b2))throw new Error('program\x20tool\x20bridge\x20received\x20an\x20invalid\x20tool\x20error');return JSON[_0x16c663(_0x541fcb._0x396a0a,_0x541fcb._0x161831,0x67e,_0x541fcb._0x51c5a2)]({'ok':![],'message':copyBoundedErrorText(_0x169e52),'toolName':copyBoundedErrorText(_0x247aa4),..._0x3f1bc9===void 0x0?{}:{'output':copyBoundedErrorText(_0x3f1bc9)}});}function parseProgramResult(_0x4fcfa9){const _0x2d3397={_0xc22cce:0x7b0,_0x39c876:0x4a3,_0x43421c:0x151,_0x1df76f:0x25c,_0x2cc1f5:0x53e,_0x2a3f94:0x556,_0x58b095:0x4cb,_0x1d3883:0x89,_0x51cd2d:0x692,_0x17911e:0x471,_0x45e9b9:0x21e,_0x47516f:0x4a,_0xd3ca38:0x97,_0x1613e6:0x41e,_0x3f570d:0x1b7,_0x5cd816:0x207,_0x44fa3d:0x5ba,_0x2d6ee6:0x713,_0x32ac5c:0x3b0,_0x316320:0x663,_0x3fa25b:0x684,_0x3ffb6e:0x4cd,_0x579d4c:0x3f6,_0x4b0576:0x536,_0x3bd535:0x242,_0x352f22:0x721,_0x45ac0a:0x3b8,_0x398996:0x497,_0x14b4a4:0x390,_0x3d5863:0x462,_0x122486:0x3b5,_0x3d46dc:0x678,_0x442a00:0x578,_0x30e092:0x700,_0x21ed5f:0x3b2,_0x46ce67:0x302,_0x3821bc:0xfc,_0x19e285:0x26c,_0x428b6a:0x57a,_0x2076c8:0x498,_0x4d89b3:0x177,_0x4f8755:0x1fa,_0x2f62f1:0x3c9,_0xc13104:0x34e,_0x43846a:0x71f,_0x53c4d5:0x29a,_0x18fde0:0x14a,_0x52272:0x141,_0x281cc8:0x33e,_0x3d65e4:0x579,_0x1ea152:0x2cc},_0x125f13={_0xd8b835:0xf0},_0x1e184c={_0x11136e:0x16};function _0x496887(_0x1cdb89,_0x5eebf4,_0x4a37f1,_0x4083eb){return _0xa5377c(_0x1cdb89,_0x5eebf4-0x150,_0x4a37f1-_0x1e184c._0x11136e,_0x4a37f1- -0x18d);}if(typeof _0x4fcfa9!==_0x2621bf(0x692,_0x2d3397._0xc22cce,0x5fd,_0x2d3397._0x39c876))throw new ProgramIsolateError('program-execution-error','program\x20isolate\x20returned\x20an\x20invalid\x20response');const _0x15d590=parseStrictJsonObject(_0x4fcfa9,_0x496887(_0x2d3397._0x43421c,0x61,0x1a2,_0x2d3397._0x1df76f));if(_0x15d590[_0x2621bf(0x57a,_0x2d3397._0x2cc1f5,_0x2d3397._0x2a3f94,_0x2d3397._0x58b095)]==='ok'&&typeof _0x15d590[_0x496887(_0x2d3397._0x1d3883,0x2b,0x59,0x1f8)]===_0x2621bf(_0x2d3397._0x51cd2d,0x6d7,0x661,_0x2d3397._0x17911e))return parseStrictJsonValue(_0x15d590[_0x2621bf(_0x2d3397._0x45e9b9,_0x2d3397._0x47516f,_0x2d3397._0xd3ca38,0x221)],_0x2621bf(0x419,0x4c5,_0x2d3397._0x1613e6,0x2da));function _0x2621bf(_0x15bc26,_0x2f66ca,_0x46cea4,_0x27c14a){return _0xa5377c(_0x46cea4,_0x2f66ca-_0x125f13._0xd8b835,_0x46cea4-0x15c,_0x15bc26-0x38);}if(_0x15d590['status']===_0x2621bf(0x410,_0x2d3397._0x3f570d,_0x2d3397._0x5cd816,0x5d3)&&typeof _0x15d590[_0x2621bf(_0x2d3397._0x44fa3d,_0x2d3397._0x2d6ee6,0x6d2,_0x2d3397._0x32ac5c)]===_0x496887(_0x2d3397._0x316320,0x63a,0x4cd,0x44a)){const _0x555f0f=typeof _0x15d590['toolName']===_0x496887(_0x2d3397._0x3fa25b,0x2c9,_0x2d3397._0x3ffb6e,0x5e9)&&_0x15d590['toolName'][_0x496887(0x311,_0x2d3397._0x579d4c,0x2cd,0x299)]>0x0?_0x15d590[_0x2621bf(0x2fd,_0x2d3397._0x4b0576,0xff,_0x2d3397._0x3bd535)]:void 0x0,_0x2caa0b=_0x555f0f===void 0x0?_0x15d590[_0x2621bf(0x5ba,_0x2d3397._0x352f22,_0x2d3397._0x45ac0a,0x4a4)]:_0x15d590[_0x2621bf(0x5ba,0x688,_0x2d3397._0x398996,0x591)]+'\x20('+_0x555f0f+')';throw new ProgramIsolateError('program-tool-error',_0x2caa0b,{'authoredDetail':!![]});}if(_0x15d590[_0x496887(_0x2d3397._0x14b4a4,_0x2d3397._0x3d5863,_0x2d3397._0x122486,0x2a3)]===_0x2621bf(0x552,0x57e,0x639,0x38f)&&typeof _0x15d590[_0x2621bf(_0x2d3397._0x44fa3d,_0x2d3397._0x3d46dc,0x44d,_0x2d3397._0x442a00)]===_0x496887(_0x2d3397._0x30e092,0x27c,0x4cd,_0x2d3397._0x21ed5f))throw new ProgramIsolateError(_0x496887(_0x2d3397._0x46ce67,0x2b6,0x14a,_0x2d3397._0x3821bc),_0x15d590[_0x496887(_0x2d3397._0x19e285,0x56d,0x3f5,0x438)],{'authoredDetail':!![]});if(_0x15d590[_0x2621bf(_0x2d3397._0x428b6a,0x735,_0x2d3397._0x2076c8,0x6f2)]===_0x496887(0x11a,_0x2d3397._0x4d89b3,0x85,_0x2d3397._0x4f8755))throw new ProgramIsolateError(_0x496887(_0x2d3397._0x2f62f1,0x18c,0x3dd,_0x2d3397._0xc13104),_0x2621bf(0x525,0x6ed,0x438,_0x2d3397._0x43846a));throw new ProgramIsolateError(_0x496887(-0xeb,_0x2d3397._0x53c4d5,_0x2d3397._0x18fde0,_0x2d3397._0x52272),_0x2621bf(_0x2d3397._0x281cc8,0x39a,_0x2d3397._0x3d65e4,_0x2d3397._0x1ea152));}function copyBoundedErrorText(_0x24dc03){const _0x265c0e={_0x2d8f3c:0x48e,_0x2b7b9c:0x611,_0x43250b:0x6c6,_0x36f4a4:0x6c8,_0x557808:0x481},_0x5807b0={_0x2b8fb5:0x11b},_0x4c9ee2={_0x56ab6c:0x2b2};let _0x22c45a='',_0x2d837c=0x0;function _0x13ae63(_0x5c9004,_0x434b5e,_0x2d1a03,_0x1eecd3){return _0x4eedea(_0x5c9004-0xee,_0x5c9004-_0x4c9ee2._0x56ab6c,_0x2d1a03,_0x1eecd3-0x64);}for(const _0x157d65 of _0x24dc03){const _0x52db9f=_0x157d65[_0x13ae63(_0x265c0e._0x2d8f3c,0x47a,_0x265c0e._0x2b7b9c,0x2bc)](0x0),_0x1ef417=_0x52db9f!==void 0x0&&(_0x52db9f<=0x1f||_0x52db9f>=0x7f&&_0x52db9f<=0x9f)?'\x20':_0x157d65,_0xde80f0=Buffer[_0x13ae63(0x684,_0x265c0e._0x43250b,_0x265c0e._0x36f4a4,0x6f6)](_0x1ef417,_0x5ae390(0x46e,0x34f,0x375,_0x265c0e._0x557808));if(_0x2d837c+_0xde80f0>MAX_COPIED_ERROR_BYTES)break;_0x22c45a+=_0x1ef417,_0x2d837c+=_0xde80f0;}function _0x5ae390(_0x3eac8b,_0x208981,_0x2a6e8b,_0x209ea8){return _0x4eedea(_0x3eac8b-0x175,_0x3eac8b-_0x5807b0._0x2b8fb5,_0x2a6e8b,_0x209ea8-0xc1);}return _0x22c45a;}function isIsolateLimitError(_0x341891){return _0x341891 instanceof IsolateLimitError||classifyIsolateError(_0x341891)!==void 0x0;}var DEFAULT_TIMEOUT_MS=0x36ee80,MAX_TIMEOUT_MS=0x7fffffff;function createProgram(_0x592c23){const _0x2e7fe4={_0x5b7d6e:0x3ce,_0x4986d3:0x316,_0x163607:0x1ff,_0x418065:0x3c,_0x1c9178:0x9f,_0x4b6ad1:0x430,_0x1e50f7:0x97,_0x2886f:0x79,_0x528572:0x14d,_0x5db8a6:0x355,_0x1c4d73:0x503,_0x4ff328:0x3b5,_0x29e238:0x4da,_0x57f3aa:0x2d4},_0x4b5adb={_0x4997f9:0x5ac,_0x31917c:0x50b,_0x3a4870:0x5f6},_0x448553={_0xbafb25:0x2f,_0x12e0e3:0xc8},_0x17510a=validateTimeoutMs(_0x592c23[_0x450444(_0x2e7fe4._0x5b7d6e,0x1fd,_0x2e7fe4._0x4986d3,_0x2e7fe4._0x163607)]),_0x57305d=[..._0x592c23[_0x201272(-_0x2e7fe4._0x418065,-0x11c,-0x69,-_0x2e7fe4._0x1c9178)]];function _0x450444(_0x3cbc60,_0x3d7e33,_0x32af16,_0x4e09a7){return _0xa5377c(_0x3d7e33,_0x3d7e33-0x181,_0x32af16-_0x448553._0xbafb25,_0x32af16- -_0x448553._0x12e0e3);}function _0x201272(_0x276db7,_0x6bd5ab,_0x47a572,_0x13023d){return _0x4eedea(_0x276db7-0x116,_0x6bd5ab- -0x10f,_0x13023d,_0x13023d-0x1f);}const _0x2ce493=validateCatalog(_0x57305d);return defineTool({'name':_0x450444(_0x2e7fe4._0x4b6ad1,0x2e0,0x2b2,0x3ea),'description':renderProgramDescription(_0x2ce493[_0x450444(-0xdd,_0x2e7fe4._0x1e50f7,0x135,_0x2e7fe4._0x2886f)]()),'permissionClass':'read','inputSchema':{'type':_0x201272(0x22,_0x2e7fe4._0x528572,0x1a4,0xd3),'properties':{'description':{'type':_0x201272(0x2bf,_0x2e7fe4._0x5db8a6,0x13a,_0x2e7fe4._0x1c4d73)},'code':{'type':'string'}},'required':[_0x450444(0x2e6,0x4b6,_0x2e7fe4._0x4ff328,0x1df),_0x201272(_0x2e7fe4._0x29e238,_0x2e7fe4._0x57f3aa,0x2f8,0x38e)],'additionalProperties':![]},async *'execute'(_0x146de1,_0x44159e){const _0x16ca43={_0x4c2c49:0x1b9,_0x5c69bf:0x6,_0x52c02a:0x1a3};function _0x4bb3ee(_0x5c491d,_0x2dd8e4,_0x4eb38c,_0xcdd650){return _0x450444(_0x5c491d-_0x16ca43._0x4c2c49,_0x4eb38c,_0x2dd8e4- -_0x16ca43._0x5c69bf,_0xcdd650-_0x16ca43._0x52c02a);}return yield*[],await executeProgram(_0x146de1[_0x4bb3ee(_0x4b5adb._0x4997f9,_0x4b5adb._0x31917c,0x381,_0x4b5adb._0x3a4870)],_0x17510a,_0x2ce493,_0x44159e);}});}var MAX_PARENT_ERROR_MESSAGE_BYTES=0x200,PROGRAM_PARENT_ERROR_MESSAGES={'program-isolation-unavailable':_0xa5377c(0x492,0x1d8,0x41,0x236),'program-runtime-unavailable':'program\x20nested\x20tool\x20execution\x20is\x20unavailable','program-trace-error':_0xa5377c(0x7d,0x3a4,0x3d8,0x1d6),'program-invalid-source':_0xa5377c(0x14e,0x39f,0x11e,0x309),'program-timeout':_0xa5377c(0x3b0,0x20d,0x3c4,0x296),'program-invalid-result':'program\x20result\x20must\x20be\x20a\x20strict\x20JSON\x20value','program-tool-error':'program\x20nested\x20tool\x20execution\x20failed','program-execution-error':_0x4eedea(0x163,0x360,0x1d5,0x17b),'program-resource-limit':_0x4eedea(0x462,0x462,0x63f,0x661),'program-aborted':_0x4eedea(0x314,0x46c,0x58a,0x3ae)};function programParentErrorMessage(_0x18ed38){return sanitizeAndBoundParentErrorMessage(PROGRAM_PARENT_ERROR_MESSAGES[_0x18ed38]);}function sanitizeAndBoundParentErrorMessage(_0x45ae5b){const _0x5bf524={_0x4cf8ca:0x221},_0xe4150e={_0x16346b:0xef},_0x5f2562={_0x31b275:0x17a,_0x403def:0x78};let _0x29869a='',_0x3ea4f3=0x0;for(const _0x1cd5dd of _0x45ae5b){const _0x37be09=_0x1cd5dd[_0x767c77(0x241,0x31b,0x35a,0x1c8)](0x0),_0x16e64e=_0x37be09!==void 0x0&&(_0x37be09<=0x1f||_0x37be09>=0x7f&&_0x37be09<=0x9f)?'\x20':_0x1cd5dd,_0x4ade69=Buffer['byteLength'](_0x16e64e,_0x18b898(0xaf,0x1cb,0x307,_0x5bf524._0x4cf8ca));if(_0x3ea4f3+_0x4ade69>MAX_PARENT_ERROR_MESSAGE_BYTES)break;_0x29869a+=_0x16e64e,_0x3ea4f3+=_0x4ade69;}function _0x767c77(_0x464979,_0x12af3e,_0x156bd3,_0xeef1e2){return _0xa5377c(_0x12af3e,_0x12af3e-_0x5f2562._0x31b275,_0x156bd3-0x1b5,_0x156bd3- -_0x5f2562._0x403def);}function _0x18b898(_0x52d4e,_0x3f8f8e,_0x31f2ba,_0x5f409a){return _0x4eedea(_0x52d4e-0x1a,_0x31f2ba- -0x4c,_0x3f8f8e,_0x5f409a-_0xe4150e._0x16346b);}return _0x29869a;}function classifiedProgramErrorMessage(_0x29546a){const _0x2a0fc1={_0x543ce6:0x313,_0x13ff16:0x3ab,_0x2d83bd:0x381,_0x11f69f:0x701,_0x5bbc27:0x4a8,_0x5c176e:0x50d,_0x2be09e:0x45e,_0x4036e9:0x390},_0x89f595={_0x457009:0x1d9,_0x4e2038:0x2c6},_0x133c15={_0x56afaf:0x68,_0x7804a7:0xa9,_0x28365e:0xca},_0x304f6a=programParentErrorMessage(_0x29546a[_0x5ca838(0x123,_0x2a0fc1._0x543ce6,0x11c,_0x2a0fc1._0x13ff16)]);function _0x1f20eb(_0x5a301f,_0x13979d,_0x233e3e,_0x2414ce){return _0xa5377c(_0x13979d,_0x13979d-_0x133c15._0x56afaf,_0x233e3e-_0x133c15._0x7804a7,_0x2414ce- -_0x133c15._0x28365e);}if(_0x29546a[_0x5ca838(0x322,0x311,_0x2a0fc1._0x2d83bd,0x185)]===void 0x0)return _0x304f6a;const _0x3c94cf=sanitizeAndBoundParentErrorMessage(_0x29546a[_0x1f20eb(_0x2a0fc1._0x11f69f,_0x2a0fc1._0x5bbc27,0x56a,_0x2a0fc1._0x5c176e)]);if(_0x3c94cf[_0x1f20eb(0x270,0x359,_0x2a0fc1._0x2be09e,_0x2a0fc1._0x4036e9)]===0x0||_0x3c94cf===_0x304f6a)return _0x304f6a;function _0x5ca838(_0x5b034c,_0x229cbd,_0x2c8527,_0x54a237){return _0xa5377c(_0x5b034c,_0x229cbd-_0x89f595._0x457009,_0x2c8527-0xf3,_0x229cbd- -_0x89f595._0x4e2038);}return sanitizeAndBoundParentErrorMessage(_0x304f6a+':\x20'+_0x3c94cf);}async function executeProgram(_0x5d26ba,_0x43e1ba,_0x28364e,_0x522c54){const _0x42b757={_0x15e0be:0x189,_0x34c30e:0x58,_0x3e242f:0x213,_0x32ba77:0x2ee,_0x3a81ab:0x457,_0x43fd12:0x2e0,_0x128321:0x24,_0x1c6c4f:0x1a8,_0x3f7943:0x1b,_0x238ca0:0x3eb,_0x496ee7:0x24e,_0x28a78d:0x419,_0x4f0aeb:0x315,_0x3ede24:0x26c,_0x4ec7ad:0x4f5,_0x16a4d4:0x28a,_0x24266c:0x19d,_0x5084cf:0xd3,_0x3bafa4:0x5b,_0x54aa87:0x272,_0x1e1416:0x4ca,_0x4f36dc:0x4ed,_0x3f1f73:0x252,_0x1a151f:0x1f,_0x4b80f5:0x1a,_0x48ddf7:0x17,_0x5ed24e:0x76,_0x105c80:0x3c5,_0x5af43a:0x2ef,_0x21fd86:0x45,_0x467375:0x250,_0x213f27:0x140,_0x17b3fd:0x35b,_0x35fd3c:0x17e,_0x4f4ed1:0x26d,_0x5aa4ef:0x4ca,_0x44b4ef:0x760,_0x276975:0x43d,_0xd79f53:0x135,_0xadc6f:0x171,_0x30eb22:0x6ef,_0x4ba27a:0x444,_0x16aa2b:0x93,_0x4d80f1:0x12f,_0x5cf936:0x1a0,_0x124424:0x2be,_0x8511ef:0x2e,_0x2c41b9:0xb9,_0x36c3b5:0xb2,_0x1bf6af:0x224,_0x23b53a:0xec,_0x5ae838:0x1a8,_0x5779b2:0x310,_0x438d7a:0x3d5},_0x3b4146={_0x3dee08:0x584,_0x271609:0x686,_0x3ff495:0x77b,_0x2aed06:0x8f5,_0x4388b2:0x5ef,_0x374a9c:0x7c0,_0x4a338a:0x5e2,_0x2f5950:0x66e,_0x23c6af:0x621,_0x41ac69:0x6e3,_0x4a7041:0x799,_0x438aab:0x6d5,_0x975449:0x7f0,_0x4bc3c2:0x772,_0x3968bb:0x63b,_0x3771b3:0x6b7,_0x16209c:0x3da,_0x127142:0x65b},_0x44566a={_0x37be90:0x2ca,_0x543909:0x16c},_0x45a728={_0x1c80a3:0x26a},_0x1ed3c8={_0x113a82:0x1e4},_0x29c7ab={_0x526b36:0x51d,_0xe447ad:0x6a4,_0x59e57a:0x281},_0x6915c8={_0x254562:0x1b4,_0x5456d0:0x14a},_0x3f1a06={_0xc73593:0xa9},_0x5a1019={_0x5c7233:0x55,_0x3d6c52:0x241,_0x478093:0x5dd},_0x37d1b4={_0x1150e0:0x22,_0x1bbea2:0xbf,_0x282a1a:0x12c},_0x564769={_0x41a2c9:0x6f8,_0x23ca98:0xa5},_0x40c328={_0x2ecd72:0x813},_0x24e48e={_0x5ef03e:0x561,_0x19267d:0x76},_0x23645b={_0x26ee8c:0xe4,_0xb1043a:0x1bf},_0x498b79=new AbortController();function _0x5d4ea0(_0x4f5eef,_0x81838b,_0x16ce25,_0x4b608d){return _0x4eedea(_0x4f5eef-_0x23645b._0x26ee8c,_0x81838b- -_0x23645b._0xb1043a,_0x4f5eef,_0x4b608d-0xdb);}const _0x21a5b4=new ProgramIsolateError('program-timeout',programParentErrorMessage(_0x5d4ea0(-_0x42b757._0x15e0be,-_0x42b757._0x34c30e,-0xca,-_0x42b757._0x3e242f))),_0x26392b=new Set();let _0xcd668f,_0x5e3299=0x0,_0x1551b9=!![],_0x102545=![],_0xdfc7e4=![],_0x3e71fc=![],_0x263acc=![];const _0x5b4e86=_0x11ceba=>{_0x1551b9=![];function _0x59a5b6(_0xf8698,_0x1ba6bb,_0x3d79e9,_0x25ca27){return _0x5d4ea0(_0x1ba6bb,_0x3d79e9-_0x24e48e._0x5ef03e,_0x3d79e9-_0x24e48e._0x19267d,_0x25ca27-0x98);}closeBoundNestedToolExecution(_0x522c54[_0x59a5b6(0x50d,_0x40c328._0x2ecd72,0x647,0x7d5)],_0x11ceba);},_0xe307ae=()=>{if(_0xdfc7e4)return;_0xdfc7e4=!![];function _0x27d7a7(_0x3eae20,_0x3f7c1b,_0x469121,_0x1aab76){return _0x5d4ea0(_0x3f7c1b,_0x469121-_0x564769._0x41a2c9,_0x469121-_0x564769._0x23ca98,_0x1aab76-0x6e);}_0x1551b9=![];function _0x401eab(_0x34d709,_0x15e0b7,_0x383e46,_0x11d480){return _0x5d4ea0(_0x383e46,_0x11d480-_0x37d1b4._0x1150e0,_0x383e46-_0x37d1b4._0x1bbea2,_0x11d480-_0x37d1b4._0x282a1a);}_0x498b79[_0x401eab(-_0x5a1019._0x5c7233,-0x14b,-_0x5a1019._0x3d6c52,0x15)](_0x21a5b4),closeBoundNestedToolExecution(_0x522c54[_0x27d7a7(0xa22,_0x5a1019._0x478093,0x7de,0x9c6)],_0x21a5b4);},_0x381aa4=()=>{if(_0x263acc)return;_0x263acc=!![],commitBoundToolExecutionTerminalState(_0x522c54['executeNestedTool']);},_0x17aee3=setTimeout(_0xe307ae,_0x43e1ba),_0x33445f=()=>{function _0x56ac2c(_0x410378,_0x4e402f,_0x4fc374,_0x135582){return _0x5d4ea0(_0x410378,_0x4fc374-0x319,_0x4fc374-_0x3f1a06._0xc73593,_0x135582-0x88);}function _0x40731f(_0xbe2b4f,_0x283c82,_0x3b56d9,_0x5b5ca5){return _0x5d4ea0(_0x5b5ca5,_0x3b56d9-0x4a8,_0x3b56d9-_0x6915c8._0x254562,_0x5b5ca5-_0x6915c8._0x5456d0);}_0x5b4e86(_0x522c54[_0x56ac2c(0x65a,_0x29c7ab._0x526b36,0x4c1,_0x29c7ab._0xe447ad)][_0x56ac2c(_0x29c7ab._0x59e57a,0xd3,0x305,0x562)]);};function _0x422a0b(_0x5c8a27,_0x5f20a4,_0x46af29,_0x435f94){return _0x4eedea(_0x5c8a27-0x110,_0x5f20a4-0x163,_0x5c8a27,_0x435f94-_0x1ed3c8._0x113a82);}_0x522c54['signal'][_0x422a0b(_0x42b757._0x32ba77,_0x42b757._0x3a81ab,_0x42b757._0x43fd12,0x581)]?_0x33445f():_0x522c54[_0x5d4ea0(_0x42b757._0x128321,_0x42b757._0x1c6c4f,0xfb,_0x42b757._0x3f7943)][_0x5d4ea0(_0x42b757._0x238ca0,_0x42b757._0x496ee7,_0x42b757._0x28a78d,0x28e)](_0x422a0b(0x24f,_0x42b757._0x4f0aeb,_0x42b757._0x3ede24,0x447),_0x33445f,{'once':!![]});const _0x11df88=async()=>{function _0x319acb(_0x10f643,_0x2f029c,_0x1c6b26,_0x1ceb60){return _0x5d4ea0(_0x10f643,_0x1c6b26-0x537,_0x1c6b26-0x4b,_0x1ceb60-0x65);}while(_0x26392b[_0x319acb(_0x45a728._0x1c80a3,0x1d3,0x352,0x426)]>0x0){await Promise['allSettled']([..._0x26392b]);}},_0x382005=async()=>{try{return await drainBoundNestedToolPersistence(_0x522c54['executeNestedTool']),![];}catch{return!![];}},_0x3bf571=(_0x2fd62b,_0x4fdca2)=>{const _0x1bd611={_0x54099c:0x40},_0x1f4c5b={_0x164167:0x6d7,_0x39f11e:0x9a0,_0x5133:0xaf8,_0xf2358:0xabe,_0x57196f:0x8bf,_0x20f274:0x6a8,_0x26d4d5:0x1c8,_0x203265:0xbf6,_0x444b2b:0x9d7,_0x1a7120:0x8de,_0x5a8152:0x33e},_0x500d8d={_0x6321d9:0x132},_0x2598a0={_0x314731:0x1f6};if(!_0x1551b9)return Promise[_0x1561bf(0x756,0x97c,0x986,0x7c3)](new ProgramIsolateError(_0x1561bf(0x631,0x6c5,_0x3b4146._0x3dee08,_0x3b4146._0x271609),_0x1561bf(_0x3b4146._0x3ff495,_0x3b4146._0x2aed06,_0x3b4146._0x4388b2,_0x3b4146._0x374a9c)));const _0x32541d=_0x522c54['executeNestedTool'];if(!_0x32541d)return Promise[_0xa085cc(_0x3b4146._0x4a338a,0x3e3,_0x3b4146._0x2f5950,0x3ae)](new ProgramIsolateError('program-runtime-unavailable',_0x1561bf(0x7f4,0x95e,_0x3b4146._0x23c6af,_0x3b4146._0x41ac69)));const _0x26aa91={'requestedName':_0x2fd62b,'tool':_0x28364e[_0x1561bf(_0x3b4146._0x4a7041,_0x3b4146._0x438aab,_0x3b4146._0x975449,_0x3b4146._0x4bc3c2)](_0x2fd62b),'toolCall':{'type':'tool_use','id':'program-tool-'+_0x589f74(),'name':_0x2fd62b,'input':_0x4fdca2},'sequence':++_0x5e3299,..._0xcd668f===void 0x0?{}:{'trace':_0xcd668f}};function _0xa085cc(_0x507984,_0x1aadeb,_0x32bfce,_0x3e8d82){return _0x422a0b(_0x32bfce,_0x507984-_0x2598a0._0x314731,_0x32bfce-0x1eb,_0x3e8d82-0x1da);}const _0x2066e2=((async()=>{const _0x2d41e3={_0x1e7361:0x16b,_0x499581:0x156};let _0x392d82;try{_0x392d82=await _0x32541d(_0x26aa91);}catch(_0x775ea2){(_0x1551b9||!isAbortError(_0x775ea2))&&(_0x102545=!![]);throw new ProgramIsolateError(_0x4e5629(0x4ad,0x544,0x5c4,_0x1f4c5b._0x164167),'program\x20nested\x20execution\x20infrastructure\x20failed');}function _0x669ed5(_0x3313fa,_0x519389,_0x3f6f79,_0xf9fa5f){return _0xa085cc(_0x3f6f79- -_0x500d8d._0x6321d9,_0x519389-0x6b,_0x519389,_0xf9fa5f-0xf6);}function _0x4e5629(_0x37dcc9,_0x52cbb6,_0x29f41a,_0xa6944d){return _0xa085cc(_0xa6944d-0x21a,_0x52cbb6-_0x2d41e3._0x1e7361,_0x29f41a,_0xa6944d-_0x2d41e3._0x499581);}if(_0x392d82[_0x4e5629(_0x1f4c5b._0x39f11e,_0x1f4c5b._0x5133,_0x1f4c5b._0xf2358,_0x1f4c5b._0x57196f)]==='ok')return{'ok':!![],'output':_0x392d82[_0x669ed5(_0x1f4c5b._0x20f274,0x6dc,0x592,0x76a)]};const _0xb14a4e=_0x392d82['structured'][_0x669ed5(0x1dc,_0x1f4c5b._0x26d4d5,0x39f,0x53b)];return{'ok':![],'error':{'message':typeof _0xb14a4e===_0x4e5629(_0x1f4c5b._0x203265,0xa04,0x94c,_0x1f4c5b._0x444b2b)?_0xb14a4e:_0x392d82[_0x4e5629(0x8ef,0x741,0x7e0,_0x1f4c5b._0x1a7120)],'toolName':_0x392d82['toolName'],'output':_0x392d82[_0x669ed5(_0x1f4c5b._0x5a8152,0x5f9,0x592,0x687)]}};})());function _0x1561bf(_0x1f6c00,_0x93adc6,_0x4f2bf8,_0xbe6145){return _0x5d4ea0(_0xbe6145,_0x1f6c00-0x68c,_0x4f2bf8-0x122,_0xbe6145-0xde);}_0x26392b[_0xa085cc(_0x3b4146._0x3968bb,0x4e7,0x3e3,_0x3b4146._0x3771b3)](_0x2066e2);const _0x3f6d04=()=>{function _0x3bd52a(_0x1764d7,_0xd67aee,_0x359108,_0x3f010d){return _0xa085cc(_0xd67aee- -0x3e6,_0xd67aee-0x9f,_0x3f010d,_0x3f010d-_0x1bd611._0x54099c);}_0x26392b[_0x3bd52a(_0x44566a._0x37be90,_0x44566a._0x543909,0xf5,0x2f9)](_0x2066e2);};return void _0x2066e2[_0xa085cc(0x54b,0x56c,_0x3b4146._0x16209c,_0x3b4146._0x127142)](_0x3f6d04,_0x3f6d04),_0x2066e2;};try{if(_0x522c54[_0x422a0b(0x4d8,0x5ac,0x7ae,_0x42b757._0x4ec7ad)])try{_0xcd668f=await _0x522c54[_0x5d4ea0(0xd8,_0x42b757._0x16a4d4,_0x42b757._0x24266c,_0x42b757._0x5084cf)]();}catch{throw new ProgramIsolateError('program-trace-error',programParentErrorMessage(_0x5d4ea0(0x1ce,-_0x42b757._0x3bafa4,0x157,-0xf3)));}throwForTerminalSignal(_0x522c54['signal'],_0xdfc7e4);const _0x100621=await runProgramIsolate({'code':_0x5d26ba,'timeoutMs':_0x43e1ba,'signal':_0x522c54[_0x422a0b(0x52b,0x4ca,_0x42b757._0x54aa87,0x47d)],'timeoutSignal':_0x498b79[_0x422a0b(0x514,_0x42b757._0x1e1416,_0x42b757._0x4f36dc,0x71a)],'toolNames':[..._0x28364e[_0x5d4ea0(-_0x42b757._0x3f1f73,-_0x42b757._0x1a151f,-0x227,-_0x42b757._0x4b80f5)]()],'callTool':_0x3bf571});_0x1551b9=![],await _0x11df88();if(await _0x382005())throw new ProgramIsolateError('program-trace-error',programParentErrorMessage('program-trace-error'));throwForTerminalSignal(_0x522c54[_0x5d4ea0(-_0x42b757._0x48ddf7,_0x42b757._0x1c6c4f,-_0x42b757._0x5ed24e,0x153)],_0xdfc7e4),clearTimeout(_0x17aee3),_0x381aa4();if(_0xcd668f){_0x3e71fc=!![];try{await _0xcd668f[_0x422a0b(0x1ea,0x12f,0x1b1,0x191)](_0x422a0b(_0x42b757._0x105c80,0x2f1,_0x42b757._0x5af43a,0x32d));}catch{throw new ProgramIsolateError(_0x5d4ea0(0x102,-0x5b,-_0x42b757._0x21fd86,-_0x42b757._0x467375),programParentErrorMessage(_0x422a0b(_0x42b757._0x213f27,0x2c7,_0x42b757._0x17b3fd,_0x42b757._0x35fd3c)));}}return _0x100621;}catch(_0x5d7f77){_0x5b4e86(_0x5d7f77),await _0x11df88();const _0x2025a3=await _0x382005();let _0x56ea74=classifyProgramError(_0x5d7f77,_0x522c54[_0x422a0b(_0x42b757._0x4f4ed1,_0x42b757._0x5aa4ef,0x318,0x368)],_0xdfc7e4,_0x263acc);(_0x102545||_0x2025a3)&&!retainsPrecedenceOverTraceFailure(_0x56ea74[_0x422a0b(0x548,0x546,_0x42b757._0x44b4ef,0x6d6)])&&(_0x56ea74={'code':_0x422a0b(_0x42b757._0x276975,0x2c7,0x210,0x513)});_0x381aa4();if(_0xcd668f&&!_0x3e71fc){_0x3e71fc=!![];const _0x391ddb=_0x56ea74['code']===_0x5d4ea0(-0x1d1,0x74,0x23c,0x1d7)?_0x5d4ea0(-0x8f,_0x42b757._0xd79f53,_0x42b757._0xadc6f,0x1d0):_0x422a0b(0x3f6,0x55e,_0x42b757._0x30eb22,_0x42b757._0x4ba27a);try{await _0xcd668f[_0x422a0b(_0x42b757._0x16aa2b,_0x42b757._0x4d80f1,_0x42b757._0x5cf936,_0x42b757._0x124424)](_0x391ddb,classifiedProgramErrorMessage(_0x56ea74));}catch{const _0x890fa2={'code':_0x5d4ea0(0xbd,-0x5b,_0x42b757._0x8511ef,_0x42b757._0x2c41b9)};!retainsPrecedenceOverTraceFailure(_0x56ea74[_0x5d4ea0(_0x42b757._0x36c3b5,_0x42b757._0x1bf6af,-0x38,_0x42b757._0x23b53a)])&&(_0x56ea74=_0x890fa2);}}throw createProgramToolError(_0x56ea74);}finally{_0x1551b9=![],clearTimeout(_0x17aee3),_0x522c54[_0x5d4ea0(0x23,_0x42b757._0x5ae838,_0x42b757._0x5779b2,0x18b)][_0x422a0b(0x1ef,0x21f,0x252,_0x42b757._0x438d7a)]('abort',_0x33445f);}}function throwForTerminalSignal(_0x3b6c7d,_0x285931){const _0x30cfe4={_0x3f30f9:0x19b,_0x26fdaf:0x41,_0x4e0c80:0xdc,_0x3422a8:0x8b,_0x12ad55:0xe2},_0x1f1cbb={_0x158ca5:0x3e8},_0x60fb9d={_0x4f2e82:0xcd,_0x59e0bb:0x11b,_0x40206b:0x142};function _0x186acd(_0x2a6d3e,_0x10e64e,_0x29403f,_0x13d861){return _0x4eedea(_0x2a6d3e-_0x60fb9d._0x4f2e82,_0x10e64e- -_0x60fb9d._0x59e0bb,_0x2a6d3e,_0x13d861-_0x60fb9d._0x40206b);}function _0xd6d8c7(_0x5326a8,_0x5b1fb1,_0x2dca78,_0x2edb8c){return _0xa5377c(_0x2dca78,_0x5b1fb1-0x1a9,_0x2dca78-0x74,_0x2edb8c- -_0x1f1cbb._0x158ca5);}if(_0x3b6c7d[_0x186acd(0x37a,0x1d9,0x3bd,0x2de)])throw new ProgramIsolateError(_0x186acd(0x5c,0x118,_0x30cfe4._0x3f30f9,-0x62),programParentErrorMessage(_0xd6d8c7(0x1f8,0x145,0x227,_0x30cfe4._0x26fdaf)));if(_0x285931)throw new ProgramIsolateError(_0xd6d8c7(0x1c8,0x14a,_0x30cfe4._0x4e0c80,-_0x30cfe4._0x3422a8),programParentErrorMessage(_0xd6d8c7(_0x30cfe4._0x12ad55,0x2b,0x14a,-0x8b)));}function classifyProgramError(_0x557ff4,_0x4254c1,_0x429767,_0x2d08e3){const _0x17f65c={_0x17adf6:0x388,_0x1fb799:0x390,_0x5649f4:0x5de,_0x174439:0x7cc,_0x3a1261:0x721,_0x2d2535:0x4fa,_0x4c6a30:0x451,_0x46f1f3:0x6ae,_0x32cf3c:0x4fd,_0x22dda9:0x3c7,_0x5ac99f:0x3cb},_0x489024={_0x4d8a3f:0x1d5},_0x443f4e={_0x4fb42f:0x9d,_0x549c41:0x10f};function _0x36b5e0(_0x3627d0,_0x279d36,_0xe5bae3,_0x59bb5b){return _0xa5377c(_0x279d36,_0x279d36-_0x443f4e._0x4fb42f,_0xe5bae3-_0x443f4e._0x549c41,_0xe5bae3-0x2f8);}if(!_0x2d08e3&&_0x4254c1[_0x3b4e06(_0x17f65c._0x17adf6,0x3ae,_0x17f65c._0x1fb799,_0x17f65c._0x5649f4)])return{'code':_0x36b5e0(0x648,_0x17f65c._0x174439,_0x17f65c._0x3a1261,0x84a)};if(!_0x2d08e3&&_0x429767)return{'code':_0x3b4e06(0x558,0x3a6,_0x17f65c._0x2d2535,_0x17f65c._0x4c6a30)};function _0x3b4e06(_0x43f7e6,_0x121f17,_0x125077,_0x3fb7dd){return _0x4eedea(_0x43f7e6-_0x489024._0x4d8a3f,_0x3fb7dd-0x2ea,_0x121f17,_0x3fb7dd-0xc3);}if(_0x557ff4 instanceof ProgramIsolateError)return{'code':_0x557ff4['code'],..._0x557ff4[_0x3b4e06(0x5d3,0x85b,0x573,_0x17f65c._0x46f1f3)]&&_0x557ff4['message']['length']>0x0?{'detail':_0x557ff4['message']}:{}};return{'code':_0x3b4e06(_0x17f65c._0x32cf3c,0x1ef,_0x17f65c._0x22dda9,_0x17f65c._0x5ac99f)};}function retainsPrecedenceOverTraceFailure(_0x4360bb){const _0x20be45={_0x2fb346:0x5fe,_0x5cdc2f:0x77,_0x14e81f:0x74,_0x3dc459:0x2d,_0x29e6f0:0x3bd,_0x2ff5ae:0x538,_0x7cd31:0x5ad,_0x42ccf0:0x291},_0x129e95={_0x105048:0x1a1,_0x155145:0x2e9},_0x21769c={_0x5ead3b:0x7f,_0x5abbde:0x1d5};function _0x2c9afb(_0x4228dd,_0x478b42,_0x2d8dae,_0x4ee0f3){return _0xa5377c(_0x2d8dae,_0x478b42-_0x21769c._0x5ead3b,_0x2d8dae-0x1da,_0x4228dd-_0x21769c._0x5abbde);}function _0x5a1400(_0x1011a3,_0x12c038,_0x1f5d50,_0x5a3e1f){return _0xa5377c(_0x1f5d50,_0x12c038-_0x129e95._0x105048,_0x1f5d50-0x1bc,_0x12c038- -_0x129e95._0x155145);}return _0x4360bb===_0x2c9afb(_0x20be45._0x2fb346,0x758,0x6e4,0x42b)||_0x4360bb===_0x5a1400(_0x20be45._0x5cdc2f,_0x20be45._0x14e81f,0x268,-_0x20be45._0x3dc459)||_0x4360bb===_0x2c9afb(_0x20be45._0x29e6f0,_0x20be45._0x2ff5ae,_0x20be45._0x7cd31,_0x20be45._0x42ccf0);}function createProgramToolError(_0x4a9652){const _0x548667={_0x496d72:0x8a4,_0x58f414:0x788,_0x32f009:0x809,_0x5e3a86:0x8d0,_0x31b28c:0x8e5,_0x4b0b76:0x6c1,_0x105487:0xa4a,_0xa41560:0x5c6,_0x486167:0x731},_0x3610b9={_0x319094:0x4c1,_0x2efe1f:0x6f};function _0x5b2a51(_0x49eaaf,_0x21b4b5,_0x174af8,_0x152239){return _0x4eedea(_0x49eaaf-0x4e,_0x49eaaf-_0x3610b9._0x319094,_0x21b4b5,_0x152239-_0x3610b9._0x2efe1f);}const _0x1879aa=new ToolExecutionError(classifiedProgramErrorMessage(_0x4a9652),{'error':_0x4a9652['code'],..._0x4a9652[_0x5b2a51(_0x548667._0x496d72,_0x548667._0x58f414,0x9b4,_0x548667._0x32f009)]===_0x5b2a51(0x6f4,_0x548667._0x5e3a86,0x6dd,_0x548667._0x31b28c)?{'aborted':!![]}:{}});_0x4a9652['code']==='program-aborted'&&(_0x1879aa[_0x1bb9e9(_0x548667._0x4b0b76,0x80d,_0x548667._0x105487,_0x548667._0xa41560)]=_0x1bb9e9(0x7ea,_0x548667._0x486167,0x508,0x91f));function _0x1bb9e9(_0x4fa5f0,_0x1490b2,_0x17c3de,_0xd524d8){return _0xa5377c(_0x4fa5f0,_0x1490b2-0x1e1,_0x17c3de-0x86,_0x1490b2-0x265);}return _0x1879aa;}function validateTimeoutMs(_0x1e23a4){const _0x14cb16={_0x1ce0d0:0x84f,_0x1e6c71:0x94d,_0x12c310:0x99a},_0x2f7bc7={_0x538212:0x11f},_0x489c67=_0x1e23a4??DEFAULT_TIMEOUT_MS;function _0x431e61(_0x1f21e5,_0x1e904b,_0x2cc5c8,_0x277656){return _0x4eedea(_0x1f21e5-_0x2f7bc7._0x538212,_0x1f21e5-0x43c,_0x2cc5c8,_0x277656-0x8d);}if(!Number[_0x431e61(_0x14cb16._0x1ce0d0,_0x14cb16._0x1e6c71,_0x14cb16._0x12c310,0x652)](_0x489c67)||_0x489c67<=0x0||_0x489c67>MAX_TIMEOUT_MS)throw new RangeError('Program\x20timeoutMs\x20must\x20be\x20a\x20positive\x20safe\x20integer\x20at\x20most\x202147483647');return _0x489c67;}function validateCatalog(_0x217ebf){const _0x2b1b31={_0x42ee51:0x69e,_0x2caa2b:0x3ff,_0x5e84f4:0x820,_0x440862:0x7ea,_0x475ad0:0x65a,_0x56a20a:0xa0c,_0x16e5b9:0x7cc},_0x7473aa={_0x4dafa1:0x16a},_0x34e9b3={_0x4bc20b:0x119},_0x572e51=new Map();function _0x598be5(_0xdf3e9c,_0x4e8dc8,_0x36420d,_0xe7e6a8){return _0xa5377c(_0x4e8dc8,_0x4e8dc8-0x3b,_0x36420d-_0x34e9b3._0x4bc20b,_0xe7e6a8-0x34b);}for(const _0x5ef0ea of _0x217ebf){if(_0x5ef0ea[_0x20a276(0x6d1,0x645,0x5d0,0x75d)]==='Program')throw new Error(_0x20a276(0x5b8,_0x2b1b31._0x42ee51,0x35b,0x55f));if(_0x572e51[_0x598be5(_0x2b1b31._0x2caa2b,0x40e,_0x2b1b31._0x5e84f4,0x619)](_0x5ef0ea['name']))throw new Error(_0x20a276(0x97b,0x79f,0x720,0x7cc)+_0x5ef0ea['name']);_0x572e51[_0x598be5(_0x2b1b31._0x440862,_0x2b1b31._0x475ad0,_0x2b1b31._0x56a20a,_0x2b1b31._0x16e5b9)](_0x5ef0ea['name'],_0x5ef0ea);}function _0x20a276(_0x5cd5e9,_0x58dd90,_0x52b1d5,_0x38665f){return _0x4eedea(_0x5cd5e9-0x1c6,_0x38665f-0x3ab,_0x5cd5e9,_0x38665f-_0x7473aa._0x4dafa1);}return _0x572e51;}function renderProgramDescription(_0x5c5f47){const _0x567b71={_0x2333b6:0x802,_0xf3a2ba:0x74b,_0x4718c9:0x43f,_0x9638c8:0x49a,_0x6a374d:0x503,_0x406bac:0x486},_0x3ec02a={_0x2c7bab:0xed,_0x528873:0x237},_0x15b434={_0x493e7e:0x3a6,_0x4edf0a:0x1cc};function _0x4327e4(_0x22b923,_0xb8052f,_0x3dcdd4,_0x9edd6e){return _0x4eedea(_0x22b923-0x166,_0xb8052f-_0x15b434._0x493e7e,_0x3dcdd4,_0x9edd6e-_0x15b434._0x4edf0a);}const _0x7242a4=[..._0x5c5f47],_0x56bd7b=_0x1c948a(_0x567b71._0x2333b6,_0x567b71._0xf3a2ba,0x878,0x622),_0x416fee='Prefer\x20Program\x20when\x20work\x20is\x20multi-step\x20and\x20intermediate\x20results\x20only\x20feed\x20the\x20next\x20call:\x20loops,\x20sequential\x20dependencies,\x20filtering\x20or\x20aggregating\x20large\x20outputs,\x20or\x20parallel\x20independent\x20calls\x20via\x20Promise.all.\x20Only\x20the\x20final\x20value\x20enters\x20the\x20conversation,\x20keeping\x20intermediates\x20out\x20of\x20context.\x20Prefer\x20direct\x20tool\x20calls\x20for\x20a\x20single\x20simple\x20call,\x20an\x20uncertain\x20step\x20sequence,\x20or\x20when\x20intermediate\x20results\x20need\x20explicit\x20review.';if(_0x7242a4['length']===0x0)return _0x56bd7b+_0x4327e4(0x247,_0x567b71._0x4718c9,0x4cf,0x4f6);function _0x1c948a(_0x52b353,_0x15d8e4,_0x985eb6,_0x4cf013){return _0xa5377c(_0x15d8e4,_0x15d8e4-0x9f,_0x985eb6-_0x3ec02a._0x2c7bab,_0x985eb6-_0x3ec02a._0x528873);}const _0xe5e8b2=_0x7242a4[_0x4327e4(0x271,_0x567b71._0x9638c8,0x5d2,0x562)](_0x4adee5=>'-\x20'+_0x4adee5[_0x4327e4(0x7a8,0x758,0x53a,0x5da)])[_0x1c948a(0x638,0x6d0,_0x567b71._0x6a374d,_0x567b71._0x406bac)]('\x0a');return _0x56bd7b+'\x0a\x0a'+_0x416fee+_0x1c948a(0x485,0x5f4,0x536,0x30d)+_0xe5e8b2;}import{stat as _0x399163}from'fs/promises';import*as _0x990613 from'path';import{execSync,spawn as _0x1438c9}from'child_process';import{existsSync}from'fs';import{stat as _0x32f279}from'fs/promises';import*as _0x105a08 from'os';import*as _0xd1fcf8 from'path';import{rgPath as _0x425732}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x714e81={_0x3d6212:0x2be,_0xe55a1:0x496,_0xbfa0e6:0x661,_0x258071:0x33c,_0x217476:0x505,_0x357071:0x7b0,_0x4fb136:0x534,_0x1fb468:0x2b3,_0x395e14:0x461,_0x4de5f9:0x447,_0x26202f:0x59b,_0x2a5c89:0x78e,_0x3b610e:0x750,_0x429889:0x355,_0x5cafd6:0x689,_0x1506ec:0x459,_0x51e3f1:0x3fc,_0x5b18d8:0x9b,_0x3da5f8:0x287,_0x36cd0a:0x100,_0xb1a5af:0x519,_0x174372:0x57f,_0x493901:0x6aa,_0x37f921:0x472,_0x279684:0x26d,_0xc80c9b:0x41a,_0x21af5f:0x254,_0x3f6cd3:0x316,_0x245a41:0x2ef,_0x36c5a6:0x324,_0x1fccca:0x18a,_0xce2b11:0x4b,_0x29833e:0x6f9,_0xc0e9ba:0x554,_0x47acda:0x617,_0x566c73:0x6a0,_0x5461de:0x248,_0x3b5597:0x4b9,_0x11b269:0x177,_0xbafa55:0x37d,_0x265cde:0x29f,_0x2078c7:0x55,_0x15793e:0x371,_0x15d2b8:0x11,_0x17b1db:0x81,_0x2f249f:0x14e,_0x3aacf3:0xbb},_0x235a82={_0x1c2937:0x15b},_0x41b0c3={_0x432f62:0x144,_0x164410:0x72,_0x29f589:0xf7},_0x22a7be=_0x105a08[_0x5e0ba6(0x5fe,0x1c0,0x3c5,_0x714e81._0x3d6212)]()==='win32',_0x155ead=_0x22a7be?[_0xd1fcf8['join'](process['env'][_0x48d574(_0x714e81._0xe55a1,_0x714e81._0xbfa0e6,_0x714e81._0x258071,_0x714e81._0x217476)]||'','Microsoft','WinGet',_0x48d574(_0x714e81._0x357071,0x63f,0x711,0x5c4)),_0xd1fcf8[_0x48d574(_0x714e81._0x4fb136,_0x714e81._0x1fb468,0x52d,0x3c3)](process[_0x5e0ba6(_0x714e81._0x395e14,0x582,_0x714e81._0x4de5f9,_0x714e81._0x26202f)][_0x48d574(_0x714e81._0x2a5c89,_0x714e81._0x3b610e,0x6db,0x5d3)]||'',_0x48d574(_0x714e81._0x429889,_0x714e81._0x5cafd6,0x496,0x530),_0x5e0ba6(0x68b,0x2cf,_0x714e81._0x1506ec,_0x714e81._0x51e3f1)),_0xd1fcf8[_0x5e0ba6(-_0x714e81._0x5b18d8,_0x714e81._0x3da5f8,_0x714e81._0x36cd0a,0x349)](process[_0x48d574(0x4b0,0x5cb,_0x714e81._0xb1a5af,0x70a)][_0x48d574(0x88f,0x483,_0x714e81._0x174372,_0x714e81._0x493901)]||'',_0x5e0ba6(_0x714e81._0x37f921,0x19c,_0x714e81._0x279684,_0x714e81._0xc80c9b),_0x5e0ba6(0x320,0x26a,0x459,_0x714e81._0x21af5f))]:[_0x5e0ba6(_0x714e81._0x3f6cd3,_0x714e81._0x245a41,0x218,0x70),_0x5e0ba6(-0xa9,_0x714e81._0x36c5a6,_0x714e81._0x1fccca,-_0x714e81._0xce2b11),'/usr/bin/rg',_0x48d574(0x4a0,_0x714e81._0x29833e,0x41d,_0x714e81._0xc0e9ba)];for(const _0x189744 of _0x155ead){if(existsSync(_0x189744))return _0x189744;}function _0x48d574(_0x1e31f7,_0x4f6725,_0xd710d7,_0x373650){return _0xa5377c(_0xd710d7,_0x4f6725-_0x41b0c3._0x432f62,_0xd710d7-_0x41b0c3._0x164410,_0x373650-_0x41b0c3._0x29f589);}try{const _0x5ca15b=_0x22a7be?_0x48d574(0x5fe,_0x714e81._0x47acda,0x699,_0x714e81._0x566c73):_0x48d574(_0x714e81._0x5461de,0x366,_0x714e81._0x3b5597,0x2b7),_0x4b4f0f=execSync(_0x5ca15b,{'encoding':_0x5e0ba6(0x351,_0x714e81._0x11b269,_0x714e81._0xbafa55,_0x714e81._0x265cde),'stdio':[_0x5e0ba6(0xf3,_0x714e81._0x2078c7,0x130,0x159),_0x48d574(_0x714e81._0x15793e,0x29d,0x468,0x3f3),_0x5e0ba6(-_0x714e81._0x15d2b8,0x1e8,0x14b,_0x714e81._0x17b1db)]})[_0x5e0ba6(_0x714e81._0x2f249f,_0x714e81._0x3aacf3,0x113,0x25c)]()['split'](/\r?\n/)[0x0];if(_0x4b4f0f&&existsSync(_0x4b4f0f))return _0x4b4f0f;}catch{return null;}function _0x5e0ba6(_0x2aedcd,_0x339e5f,_0x4e56ff,_0x2e0159){return _0x4eedea(_0x2aedcd-_0x235a82._0x1c2937,_0x4e56ff-0x2a,_0x339e5f,_0x2e0159-0x42);}return null;}async function filepath(){const _0x24802c={_0x300400:0x77e},_0x569d1e={_0x5ebb96:0x14};if(cachedRgPath)return cachedRgPath;if(_0x425732&&existsSync(_0x425732))return cachedRgPath=_0x425732,_0x425732;function _0x4a2148(_0x34a7c3,_0x19ee80,_0x47f00d,_0x2a4089){return _0x4eedea(_0x34a7c3-0x1eb,_0x19ee80-0x11d,_0x47f00d,_0x2a4089-_0x569d1e._0x5ebb96);}const _0x84416f=findSystemRipgrep();if(!_0x84416f)throw new Error(_0x4a2148(_0x24802c._0x300400,0x52c,0x6cd,0x484));return cachedRgPath=_0x84416f,_0x84416f;}async function*files(_0x4613a2){const _0xb967c0={_0xb8700d:0x432,_0x5d33d8:0x711,_0x1a6d83:0x8bd,_0x3c0f5b:0x33a,_0x3d91b9:0x3b9,_0x38f179:0x338,_0x352da2:0x170,_0xeee01d:0x378,_0x5ccc13:0xff,_0x5d5226:0x4e,_0x2cd7ae:0xb3,_0x119840:0x1e1,_0x1ea8bc:0x11e,_0x3c60d9:0x32a,_0x22e01e:0x55,_0x3a76a9:0x505,_0x4c7291:0x5ef,_0x477af8:0x69d,_0x2035f3:0x5bd,_0x2a096c:0x685,_0x109b8a:0x62b,_0x4e1e8e:0x674,_0x1cb240:0x124,_0x27d8fd:0xf1,_0x11c48a:0x1a3,_0x2e1b80:0x41d,_0x2bce33:0x509,_0xcaa6a7:0x7ca,_0x38322e:0x7a4,_0x43d5c7:0x7c8,_0x4cc719:0x5b5,_0xf45ab9:0x49b,_0x2145b9:0xb,_0x17d6aa:0x2e,_0x4a75b7:0x27,_0x10b410:0x107,_0x2901ec:0x256,_0x2f6bce:0x282,_0x1fbce4:0x13e,_0x4c0a6e:0x267,_0x3c4c84:0x352,_0x261395:0x417,_0x36f64f:0x400,_0x3f333b:0x1e4},_0x2d5873={_0x424f87:0xbc},_0x205716={_0x49e782:0x5a,_0x430fe2:0x15d},_0x325834=await filepath(),_0x48a2c8=await _0x32f279(_0x4613a2[_0x2806cb(0x288,0x336,0x1df,_0xb967c0._0xb8700d)])[_0x523ad6(0x957,_0xb967c0._0x5d33d8,0x7ea,_0xb967c0._0x1a6d83)](()=>null);function _0x2806cb(_0x38e7da,_0x354fa6,_0x50b77d,_0x351510){return _0xa5377c(_0x351510,_0x354fa6-_0x205716._0x49e782,_0x50b77d-_0x205716._0x430fe2,_0x38e7da- -0x1d8);}if(!_0x48a2c8?.[_0x2806cb(_0xb967c0._0x3c0f5b,0x4c7,_0xb967c0._0x3d91b9,0x576)]())throw Object['assign'](new Error(_0x2806cb(_0xb967c0._0x38f179,0x143,_0xb967c0._0x352da2,_0xb967c0._0xeee01d)+_0x4613a2['cwd']+'\x27'),{'code':_0x523ad6(0x828,0x62e,0x576,0x416)});const _0x13dd08=[_0x2806cb(-0x7,_0xb967c0._0x5ccc13,-_0xb967c0._0x5d5226,_0xb967c0._0x2cd7ae),_0x2806cb(_0xb967c0._0x119840,0xd7,0x9e,0x7b),_0x2806cb(_0xb967c0._0x1ea8bc,_0xb967c0._0x3c60d9,_0xb967c0._0x22e01e,0x233),'--glob=!.git/*'];function _0x523ad6(_0x2419bb,_0x5f5dc2,_0x4b2d1b,_0x53e3ba){return _0xa5377c(_0x2419bb,_0x5f5dc2-0x49,_0x4b2d1b-_0x2d5873._0x424f87,_0x5f5dc2-0x121);}for(const _0x47097d of _0x4613a2['glob']??[]){_0x13dd08[_0x523ad6(0x2a5,0x407,_0xb967c0._0x3a76a9,_0xb967c0._0x4c7291)](_0x523ad6(0x468,_0xb967c0._0x477af8,0x8eb,0x675)+_0x47097d);}const _0x4ae9a6=_0x1438c9(_0x325834,_0x13dd08,{'cwd':_0x4613a2[_0x523ad6(0x3e1,0x581,_0xb967c0._0x2035f3,_0xb967c0._0x2a096c)],'stdio':[_0x523ad6(_0xb967c0._0x109b8a,0x438,0x4b3,_0xb967c0._0x4e1e8e),_0x2806cb(_0xb967c0._0x1cb240,-_0xb967c0._0x27d8fd,0x1bb,_0xb967c0._0x11c48a),_0x523ad6(0x5de,_0xb967c0._0x2e1b80,0x3c5,_0xb967c0._0x2bce33)]});let _0x5dfef2='';for await(const _0x238e26 of _0x4ae9a6[_0x523ad6(0x473,0x681,_0xb967c0._0xcaa6a7,_0xb967c0._0x38322e)]??[]){_0x5dfef2+=_0x238e26[_0x523ad6(0x7a4,0x76f,0x74f,0x51b)]();const _0x184b2c=_0x5dfef2[_0x523ad6(_0xb967c0._0x43d5c7,0x570,_0xb967c0._0x4cc719,_0xb967c0._0xf45ab9)](/\r?\n/);_0x5dfef2=_0x184b2c[_0x2806cb(0x84,-_0xb967c0._0x2145b9,_0xb967c0._0x17d6aa,-_0xb967c0._0x4a75b7)]()??'';for(const _0x5b9bb2 of _0x184b2c){if(_0x5b9bb2['length']>0x0)yield _0x5b9bb2;}}_0x5dfef2[_0x2806cb(_0xb967c0._0x10b410,0x17a,_0xb967c0._0x2901ec,0x18b)]()[_0x2806cb(_0xb967c0._0x2f6bce,_0xb967c0._0x1fbce4,_0xb967c0._0x4c0a6e,_0xb967c0._0x3c4c84)]>0x0&&(yield _0x5dfef2[_0x523ad6(_0xb967c0._0x261395,_0xb967c0._0x36f64f,_0xb967c0._0x3f333b,0x365)]());}function objectValue(_0x50375f){const _0x8666fd={_0x325d47:0x12a,_0x37b3df:0x21f},_0x37da3e={_0x694062:0x8e};function _0x206c60(_0x572f9a,_0x475bf4,_0x42b71b,_0x391cef){return _0x4eedea(_0x572f9a-0x12b,_0x42b71b- -0x3d,_0x475bf4,_0x391cef-_0x37da3e._0x694062);}return typeof _0x50375f===_0x206c60(_0x8666fd._0x325d47,0x230,_0x8666fd._0x37b3df,0x36e)&&_0x50375f!==null?_0x50375f:void 0x0;}function decodeRipgrepText(_0x24c5f5){const _0x1586fb={_0x5afcaf:0x9cb,_0x35439e:0x7ad,_0x5d6c88:0x6a4,_0x52cc98:0x61c,_0x34fa2c:0xa4a,_0x54a6b9:0x35b,_0x18b8af:0x561,_0x5c7fe3:0x39a,_0x1416a7:0x862,_0x5de6ad:0x56a},_0x1f6432={_0x43d4cf:0x143,_0x55457a:0x4a},_0x488eb0={_0x3e1cb1:0x70,_0x426811:0x3d1,_0x6eb6a5:0xeb};function _0x165db(_0x35e65d,_0x555f38,_0xe6f52d,_0x21bc00){return _0x4eedea(_0x35e65d-_0x488eb0._0x3e1cb1,_0x21bc00-_0x488eb0._0x426811,_0x35e65d,_0x21bc00-_0x488eb0._0x6eb6a5);}const _0x3011da=objectValue(_0x24c5f5);if(typeof _0x3011da?.[_0x165db(0x997,0x68a,_0x1586fb._0x5afcaf,_0x1586fb._0x35439e)]===_0x431577(0x5e4,0x7c8,0x524,_0x1586fb._0x5d6c88))return _0x3011da[_0x431577(0x424,0x7dd,0x7e5,_0x1586fb._0x52cc98)];function _0x431577(_0x451af1,_0x1ed0e2,_0x139866,_0xce23ff){return _0xa5377c(_0x1ed0e2,_0x1ed0e2-0x8f,_0x139866-_0x1f6432._0x43d4cf,_0xce23ff-_0x1f6432._0x55457a);}if(typeof _0x3011da?.['bytes']===_0x165db(0x705,0x637,_0x1586fb._0x34fa2c,0x835))return Buffer['from'](_0x3011da[_0x165db(0x31b,_0x1586fb._0x54a6b9,_0x1586fb._0x18b8af,_0x1586fb._0x5c7fe3)],'base64')['toString'](_0x165db(_0x1586fb._0x1416a7,_0x1586fb._0x5de6ad,0x8c6,0x724));return void 0x0;}function parseMatchLine(_0x1434a7,_0x2c2a2c){const _0x3852c9={_0x22b757:0x74c,_0x153046:0x744,_0x179498:0x5b5,_0x45ad8d:0x85f,_0x16d263:0x1fb,_0x50e0d1:0x59b,_0x3b649c:0x57d,_0x2f6caf:0x6a5,_0xbb8cef:0x774,_0xe3b241:0x68b,_0x39911b:0x360,_0x18810a:0x4d6,_0x13dcb3:0x577,_0x4fb25f:0x6ac,_0x96537f:0x79a,_0x39bc20:0x753,_0x1dcac7:0x529,_0x501100:0x3b4,_0xabc1cb:0x2e3,_0x4a5e52:0x5da,_0x2e0cb9:0x3ba,_0x100bd2:0x478,_0x57d17c:0x5cc,_0x3e657a:0x542,_0x5de55a:0x662,_0x1d1046:0x9c4},_0x238ede={_0x50e892:0x2ea};function _0xf45430(_0x3f16d4,_0x14b5ff,_0x135f43,_0x5a54cd){return _0xa5377c(_0x135f43,_0x14b5ff-0x1dd,_0x135f43-0x111,_0x14b5ff-_0x238ede._0x50e892);}if(_0x1434a7[_0xf45430(_0x3852c9._0x22b757,_0x3852c9._0x153046,_0x3852c9._0x179498,_0x3852c9._0x45ad8d)]===0x0)return null;const _0x22279e=objectValue(JSON[_0x4cb044(0x472,0x363,_0x3852c9._0x16d263,0x408)](_0x1434a7));if(_0x22279e?.['type']!==_0xf45430(_0x3852c9._0x50e0d1,0x620,0x3dc,_0x3852c9._0x3b649c)&&_0x22279e?.[_0x4cb044(0x91c,0x5a4,_0x3852c9._0x2f6caf,_0x3852c9._0xbb8cef)]!==_0x4cb044(0x8c8,0x46d,0x4a1,_0x3852c9._0xe3b241))return null;const _0x3c48af=objectValue(_0x22279e[_0x4cb044(_0x3852c9._0x39911b,_0x3852c9._0x18810a,0x5b3,0x5a7)]);function _0x4cb044(_0x22a320,_0xdd4926,_0x30fc89,_0x37cc9b){return _0xa5377c(_0x30fc89,_0xdd4926-0x1b8,_0x30fc89-0xcc,_0x37cc9b-0x23e);}const _0x104d80=decodeRipgrepText(_0x3c48af?.[_0xf45430(_0x3852c9._0x13dcb3,_0x3852c9._0x4fb25f,_0x3852c9._0x96537f,0x683)]),_0x508add=decodeRipgrepText(_0x3c48af?.[_0xf45430(0x763,0x564,0x671,_0x3852c9._0x39bc20)]),_0x59bbcd=_0x3c48af?.[_0xf45430(0x347,_0x3852c9._0x1dcac7,_0x3852c9._0x501100,_0x3852c9._0xabc1cb)];if(_0x104d80===void 0x0||_0x508add===void 0x0||typeof _0x59bbcd!=='number')throw new Error(_0xf45430(0x79f,0x7ba,0x9d3,_0x3852c9._0x4a5e52));return{'filePath':_0xd1fcf8[_0x4cb044(0x5ac,0x69d,_0x3852c9._0x2e0cb9,0x4c0)](_0x104d80)?_0x104d80:_0xd1fcf8[_0x4cb044(0x759,_0x3852c9._0x100bd2,_0x3852c9._0x57d17c,_0x3852c9._0x3e657a)](_0x2c2a2c,_0x104d80),'lineNum':_0x59bbcd,'lineText':_0x508add['replace'](/\r?\n$/,''),..._0x22279e[_0xf45430(_0x3852c9._0x5de55a,0x820,_0x3852c9._0x1d1046,0xa2a)]==='context'?{'isContext':!![]}:{}};}async function search(_0x3b2034){const _0x1c92cc={_0x5dfcac:0x216,_0x57b1ad:0x263,_0x3b48d5:0x17e,_0x1758fa:0x170,_0x472b5b:0x1f6,_0x3635d4:0x3ca,_0x5d4bf9:0x2a1,_0x3fba44:0x19c,_0x3e9093:0x8b,_0x28cbb7:0x1bc,_0x4d42b5:0x1f3,_0x1e0a12:0x2a5,_0x2b5c8e:0x529,_0xcd4983:0x47c,_0x523bfa:0x4c0,_0x1b7e56:0x402,_0x496c51:0x31a,_0x41363f:0x41,_0x3b44a2:0x70,_0x517752:0x1cb,_0x1f04ee:0x330,_0x10a360:0x1a8,_0x286907:0x671,_0x20e312:0x279,_0x5f246b:0x4c2,_0x4e61d7:0x503,_0x1b086f:0x3a9,_0x3bf750:0x55c,_0x2d5c4e:0x605,_0x301a51:0x5ab,_0x37c92e:0x387,_0xdbeaec:0x362,_0x29aaa3:0x531,_0x59d665:0x149,_0x1b14d3:0x20b,_0x735841:0x4e8,_0x16836b:0x3b7,_0x73c75d:0x4c7,_0x21f42d:0x3a3,_0x50752a:0x258,_0xe0c501:0x57d,_0x4cc30c:0x1d1,_0x14e703:0x26e,_0x123ae1:0x658,_0x3ade89:0x3da,_0x5f2077:0x3ed,_0x12af40:0x417,_0x6472e8:0x26f,_0x5d5a04:0xeb,_0x3ad6f3:0x34b,_0x11d482:0x390,_0x41eb4f:0x257,_0x4eb493:0x35a,_0x5dfca5:0x238,_0x3cbec1:0x270,_0x4f1a99:0x41f,_0x3a514f:0x2eb,_0x2eb97a:0x592,_0x3d3d3f:0x4ef,_0x367497:0x23e,_0x2eb045:0x22f,_0x15dadc:0x47c,_0x3f605c:0x30a,_0x441995:0x58,_0x4dde99:0x2c4},_0x239089={_0x3bc676:0x791,_0x34fc58:0x83b,_0x197f39:0x66f,_0x14bb6b:0x648,_0xca2cf7:0x827,_0x413481:0x55e,_0x5f0334:0x647,_0x2383bb:0x49f,_0x50531a:0x63f,_0xe5c577:0x4be,_0x9d1663:0x686,_0x42c4f9:0x498,_0x3987e1:0x2f7,_0x1d204c:0x905,_0xdd22f3:0xb37,_0x3d4403:0x6f1,_0x1a68e6:0x7a7},_0x1889f8={_0x2d6eb9:0x4bc},_0x4c3211={_0x2f992d:0x82b,_0x36aac6:0x6a6,_0x28a07c:0x678,_0x2eb5a2:0x5f0,_0x49cb95:0x689,_0x55aa73:0x677,_0x508043:0x9bf,_0x51cdc8:0x80b,_0x1e8b98:0x662,_0x546833:0x5dd,_0x37e72d:0x228,_0xc457c6:0x45b,_0x302908:0x359,_0x4b7361:0x5b8,_0x3aa6c6:0x465,_0x1a0a80:0x5e8,_0x5cfeeb:0x589,_0x22f701:0x379,_0x3af076:0x5ce,_0x24e964:0x858,_0x3dce51:0x7aa,_0x451dca:0x62a,_0x29f1a0:0x255,_0x432940:0x441,_0x33eebc:0x34f,_0x46f716:0x339,_0x4cf02d:0x465},_0x407600={_0x53ccb2:0x1e4,_0x35251f:0x18b},_0x5b6a5b={_0x2c4886:0xb7};function _0x2c94ab(_0x4f6854,_0x43ff57,_0x359f72,_0x199fbe){return _0xa5377c(_0x199fbe,_0x43ff57-0xb9,_0x359f72-0x1c7,_0x43ff57- -_0x5b6a5b._0x2c4886);}if(_0x3b2034[_0x6b53e(0x2ff,0x62,_0x1c92cc._0x5dfcac,0x19c)]!==void 0x0&&_0x3b2034[_0x6b53e(0x492,0x278,0x385,_0x1c92cc._0x57b1ad)]!==void 0x0)throw new Error(_0x6b53e(0x70,_0x1c92cc._0x3b48d5,_0x1c92cc._0x1758fa,_0x1c92cc._0x472b5b));if(_0x3b2034[_0x6b53e(_0x1c92cc._0x3635d4,0x3da,_0x1c92cc._0x5d4bf9,_0x1c92cc._0x3fba44)]){const _0x2e48ab=await _0x32f279(_0x3b2034[_0x6b53e(-_0x1c92cc._0x3e9093,0x39d,0x72,0x19c)])['catch'](()=>null);if(!_0x2e48ab?.[_0x6b53e(_0x1c92cc._0x28cbb7,0x165,_0x1c92cc._0x4d42b5,_0x1c92cc._0x1e0a12)]())throw Object[_0x6b53e(_0x1c92cc._0x2b5c8e,_0x1c92cc._0xcd4983,0x2f3,0x346)](new Error('No\x20such\x20file:\x20\x27'+_0x3b2034[_0x2c94ab(_0x1c92cc._0x523bfa,0x270,0x181,_0x1c92cc._0x1b7e56)]+'\x27'),{'code':_0x6b53e(0x3c1,_0x1c92cc._0x496c51,0x389,0x382)});}else{if(_0x3b2034['files']!==void 0x0)for(const _0x24a21f of _0x3b2034[_0x6b53e(_0x1c92cc._0x41363f,_0x1c92cc._0x3b44a2,0x1e8,_0x1c92cc._0x57b1ad)]){if(!_0xd1fcf8[_0x2c94ab(0x187,_0x1c92cc._0x517752,0x135,0x116)](_0x24a21f))throw new Error(_0x2c94ab(_0x1c92cc._0x1f04ee,0x2f5,_0x1c92cc._0x10a360,0x22e)+_0x24a21f+'\x27');const _0xc2baa1=await _0x32f279(_0x24a21f)[_0x6b53e(0x402,0x307,_0x1c92cc._0x286907,0x465)](()=>null);if(!_0xc2baa1?.[_0x6b53e(0x468,_0x1c92cc._0x20e312,0xc0,_0x1c92cc._0x1e0a12)]())throw Object['assign'](new Error(_0x6b53e(0x65f,_0x1c92cc._0x5f246b,_0x1c92cc._0x4e61d7,0x480)+_0x24a21f+'\x27'),{'code':_0x6b53e(0x3b2,0x1f1,0x26b,0x382)});}else{const _0x2fc22d=await _0x32f279(_0x3b2034[_0x2c94ab(0x275,_0x1c92cc._0x1b086f,_0x1c92cc._0x3bf750,_0x1c92cc._0x2d5c4e)])['catch'](()=>null);if(!_0x2fc22d?.[_0x6b53e(0x33d,0x5b3,_0x1c92cc._0x301a51,_0x1c92cc._0x37c92e)]())throw Object[_0x2c94ab(0x42f,0x41a,0x1da,_0x1c92cc._0xdbeaec)](new Error(_0x6b53e(_0x1c92cc._0x29aaa3,_0x1c92cc._0x59d665,_0x1c92cc._0x1b14d3,0x385)+_0x3b2034[_0x2c94ab(_0x1c92cc._0x735841,0x3a9,_0x1c92cc._0x16836b,0x1fd)]+'\x27'),{'code':'ENOENT'});}}if(_0x3b2034[_0x2c94ab(_0x1c92cc._0x73c75d,0x337,0x3fe,0x3d5)]?.[_0x2c94ab(0x4dc,_0x1c92cc._0x21f42d,_0x1c92cc._0x50752a,_0x1c92cc._0xe0c501)]===0x0)return[];const _0x1a955a=await filepath(),_0x431cac=[_0x2c94ab(_0x1c92cc._0x4cc30c,0x297,_0x1c92cc._0x14e703,0x153),'--regexp',_0x3b2034[_0x6b53e(_0x1c92cc._0x123ae1,_0x1c92cc._0x3ade89,_0x1c92cc._0x5f2077,0x45a)]],_0x3b1493=typeof _0x3b2034[_0x2c94ab(0x510,0x396,_0x1c92cc._0x12af40,_0x1c92cc._0x6472e8)]==='number'&&_0x3b2034['context']>0x0;_0x3b1493&&_0x431cac[_0x6b53e(-_0x1c92cc._0x5d5a04,_0x1c92cc._0x3ad6f3,0x5f,0x15b)]('-C',String(_0x3b2034[_0x6b53e(0x460,_0x1c92cc._0x11d482,0x4f6,0x2c2)]));_0x3b2034[_0x6b53e(_0x1c92cc._0x41eb4f,0x1be,0x4ff,_0x1c92cc._0x4eb493)]&&!_0x3b2034[_0x2c94ab(_0x1c92cc._0x5dfca5,_0x1c92cc._0x3cbec1,0x2ed,_0x1c92cc._0x4f1a99)]&&_0x3b2034[_0x6b53e(0x209,_0x1c92cc._0x3a514f,0x270,0x263)]===void 0x0&&_0x431cac['push'](_0x2c94ab(0x5f2,0x3e8,0x1ba,0x51e),_0x3b2034[_0x2c94ab(_0x1c92cc._0x2eb97a,0x42e,0x530,0x1e2)]);_0x3b2034[_0x2c94ab(_0x1c92cc._0x3d3d3f,0x337,0x43a,0x15d)]!==void 0x0?_0x431cac[_0x2c94ab(_0x1c92cc._0x367497,_0x1c92cc._0x2eb045,0x10f,_0x1c92cc._0x15dadc)](..._0x3b2034[_0x6b53e(0x45a,_0x1c92cc._0x3f605c,0x4b8,0x263)]):_0x431cac[_0x6b53e(0xa6,_0x1c92cc._0x441995,-0xab,0x15b)](_0x3b2034[_0x2c94ab(_0x1c92cc._0x4dde99,_0x1c92cc._0x3cbec1,0xa7,0x37)]??_0x3b2034['cwd']);function _0x6b53e(_0x190400,_0x347f91,_0xd51091,_0x77778){return _0xa5377c(_0x347f91,_0x347f91-_0x407600._0x53ccb2,_0xd51091-0x36,_0x77778- -_0x407600._0x35251f);}return await new Promise((_0x22e7a9,_0xa8a052)=>{const _0x80abf9={_0x4cf579:0x187,_0x4a1a10:0x24},_0x4aa0a3=_0x1438c9(_0x1a955a,_0x431cac,{'cwd':_0x3b2034[_0xb85ce2(_0x239089._0x3bc676,_0x239089._0x34fc58,0x8e7,_0x239089._0x197f39)],'stdio':[_0xb85ce2(_0x239089._0x14bb6b,_0x239089._0xca2cf7,0x62d,_0x239089._0x413481),'pipe',_0x8e8a1d(_0x239089._0x5f0334,_0x239089._0x2383bb,0x42b,0x52d)]});let _0x3c6ea8='',_0x3e216e='';_0x4aa0a3[_0x8e8a1d(_0x239089._0x50531a,0x7ed,0x68f,_0x239089._0xe5c577)]?.['on'](_0x8e8a1d(0x420,_0x239089._0x9d1663,_0x239089._0x42c4f9,_0x239089._0x3987e1),_0x282e56=>{_0x3c6ea8+=_0x282e56['toString']();});function _0x8e8a1d(_0x3a96e5,_0x4cbaf4,_0x410a27,_0x344e57){return _0x6b53e(_0x3a96e5-_0x80abf9._0x4cf579,_0x4cbaf4,_0x410a27-_0x80abf9._0x4a1a10,_0x410a27-0x2ba);}_0x4aa0a3[_0xb85ce2(_0x239089._0x1d204c,0xaf0,0xa25,_0x239089._0xdd22f3)]?.['on']('data',_0x35ce89=>{_0x3e216e+=_0x35ce89['toString']();}),_0x4aa0a3['on'](_0xb85ce2(_0x239089._0x3d4403,_0x239089._0x1a68e6,0x8e8,0x67d),_0x4b5a98=>{const _0x5f3327={_0xc921d1:0x5a7,_0xced479:0x72c,_0x2bf264:0x6bd,_0x1274d8:0x764};if(_0x4b5a98===0x1&&_0x3c6ea8===''){_0x22e7a9([]);return;}if(_0x4b5a98!==0x0&&_0x4b5a98!==0x1){_0xa8a052(new Error(_0x3aa6a7(_0x4c3211._0x2f992d,0xa92,0x844,_0x4c3211._0x36aac6)+_0x3e216e));return;}const _0x2ccdf3=[];try{for(const _0x1f9ced of _0x3c6ea8[_0x3aa6a7(0x551,0x547,_0x4c3211._0x28a07c,0x701)](/\r?\n/)){const _0xf25164=parseMatchLine(_0x1f9ced,_0x3b2034[_0x3aa6a7(0x4ee,_0x4c3211._0x2eb5a2,_0x4c3211._0x49cb95,_0x4c3211._0x55aa73)]);if(_0xf25164)_0x2ccdf3['push'](_0xf25164);}}catch(_0x1dd0d3){_0xa8a052(_0x1dd0d3);return;}const _0x427229=_0x3b2034['limit']??0x64,_0x194c89=Number[_0x3aa6a7(0x7dc,_0x4c3211._0x508043,0x88a,0x69a)](_0x427229)?Math[_0x108b73(_0x4c3211._0x51cdc8,_0x4c3211._0x1e8b98,_0x4c3211._0x546833,0x477)](0x0,Math[_0x108b73(_0x4c3211._0x37e72d,0x567,_0x4c3211._0xc457c6,_0x4c3211._0x302908)](_0x427229)):0x64;function _0x3aa6a7(_0x2838ee,_0x42906f,_0x245cc9,_0x43e7b8){return _0xb85ce2(_0x245cc9- -0x108,_0x42906f,_0x245cc9-0x2a,_0x43e7b8-0x15f);}function _0x108b73(_0x19f431,_0x547e64,_0x5c67db,_0x473124){return _0xb85ce2(_0x5c67db- -0x2d5,_0x19f431,_0x5c67db-0xe,_0x473124-0x14e);}const _0x38526d=_0x2ccdf3[_0x108b73(_0x4c3211._0x4b7361,0x4d9,_0x4c3211._0x3aa6c6,0x418)](_0x160c65=>!_0x160c65[_0x3aa6a7(0xa3b,0x5b9,0x80b,0x863)]);if(_0x38526d[_0x108b73(_0x4c3211._0x1a0a80,0x637,0x4b6,_0x4c3211._0x5cfeeb)]<=_0x194c89){_0x22e7a9(_0x2ccdf3);return;}const _0xe16512=_0x38526d[_0x108b73(_0x4c3211._0x22f701,0x7a8,_0x4c3211._0x3af076,0x3f0)](0x0,_0x194c89),_0x154368=new Set(_0xe16512),_0x5b705d=_0x3b1493?Math[_0x3aa6a7(_0x4c3211._0x24e964,0x65d,_0x4c3211._0x3dce51,_0x4c3211._0x451dca)](0x0,Math[_0x108b73(_0x4c3211._0x29f1a0,0x406,_0x4c3211._0xc457c6,_0x4c3211._0x432940)](_0x3b2034[_0x108b73(0x4bc,0x3f5,0x4a9,_0x4c3211._0x33eebc)]??0x0)):0x0;_0x22e7a9(_0x2ccdf3[_0x108b73(_0x4c3211._0x46f716,0x6ba,_0x4c3211._0x4cf02d,0x3aa)](_0x3e6854=>{const _0x3a835c={_0xfc4da1:0x123,_0x42c5b4:0xb0,_0x52ac57:0xb7},_0x17179d={_0x3f2895:0x10d,_0x336e56:0x1d8};if(!_0x3e6854['isContext'])return _0x154368[_0xb3c5eb(_0x5f3327._0xc921d1,0x679,0x5be,0x749)](_0x3e6854);function _0xc5c73f(_0x27eaab,_0x1c9b1c,_0x3cb8d1,_0x46ef3){return _0x3aa6a7(_0x27eaab-0x1b2,_0x27eaab,_0x1c9b1c-_0x17179d._0x3f2895,_0x46ef3-_0x17179d._0x336e56);}function _0xb3c5eb(_0xf209d,_0x4629a2,_0x2912da,_0x4bbb5d){return _0x3aa6a7(_0xf209d-_0x3a835c._0xfc4da1,_0x4bbb5d,_0xf209d-_0x3a835c._0x42c5b4,_0x4bbb5d-_0x3a835c._0x52ac57);}return _0xe16512[_0xb3c5eb(_0x5f3327._0xced479,0x83b,_0x5f3327._0x2bf264,_0x5f3327._0x1274d8)](_0x2de8d1=>_0x2de8d1[_0xc5c73f(0x3f7,0x4fe,0x6cc,0x523)]===_0x3e6854[_0xb3c5eb(0x4a1,0x2d7,0x4c2,0x6da)]&&Math[_0xc5c73f(0x927,0x978,0x783,0x9a4)](_0x2de8d1[_0xb3c5eb(0x772,0x64e,0x9c0,0x665)]-_0x3e6854[_0xb3c5eb(0x772,0x5fd,0x6eb,0x583)])<=_0x5b705d);}));});function _0xb85ce2(_0x1b57c8,_0x32dea4,_0x104fbf,_0x2a8311){return _0x6b53e(_0x1b57c8-0x78,_0x32dea4,_0x104fbf-0x153,_0x1b57c8-_0x1889f8._0x2d6eb9);}_0x4aa0a3['on']('error',_0xa8a052);});}function createGlobTool(_0x4a3bcf={}){const _0x23d240={_0x2b7f06:0x12b,_0x55b532:0x140,_0x28e6d0:0xc9,_0x1daf07:0x2e,_0x118032:0xb,_0x461951:0x68,_0x313955:0x72c,_0x554454:0x59a,_0x8cd856:0x1a6,_0x191ab0:0x136,_0x43d89d:0x16e,_0x5105b2:0x568,_0x2b204c:0x5e2,_0x9bd2a0:0x874,_0xd6bc1f:0x72b,_0x32931c:0x663,_0x146660:0x648,_0x17761:0x4cd,_0x2e00ea:0x183,_0x1538f3:0x92,_0x48ee77:0x65,_0x159555:0x263,_0x56c6cd:0x26d,_0x43e705:0xa1,_0x305423:0x242,_0x1a4940:0x26d,_0x265c5c:0x6d4,_0x7f1fe0:0x4c7},_0xa9d285={_0x2b6449:0x80d,_0x5183b2:0x813,_0x4d0c50:0x719,_0x4dfe2f:0x55e,_0x4fb1e0:0x32c,_0xddbc6b:0x254,_0x582df8:0x286,_0x26eb7e:0x2c3,_0xb81e01:0x198,_0x3e6f71:0x4,_0x4f8c00:0x23c,_0x5d41aa:0xb7,_0x42a80f:0x7f,_0x3d590b:0x1f5,_0x2d8259:0x173,_0x414ff5:0xc7,_0x11c324:0x26f,_0x539c4f:0x169,_0x4e5e9d:0x22b,_0x486b03:0x332,_0xc4f90d:0x21e,_0x1d8cdb:0x255,_0x4bff20:0x3ed,_0x4f33b2:0x4dc,_0x5392c8:0x30f,_0x31e7b1:0x38f,_0x2f7882:0x1d2,_0x1e9504:0xd0,_0x1aa221:0x4e4,_0x6dc9df:0x446,_0x50d7d1:0x482,_0x122943:0x5fa,_0x4d962d:0x825,_0x2128ae:0x2e1,_0x25ed4d:0x3b2,_0x3198cf:0x462,_0x3f531c:0xf4,_0x4dde01:0x4bf,_0x2f01e2:0x5fa,_0x4d2979:0x772,_0x5f29dc:0x56a},_0x407a97={_0x1c94c9:0xa2,_0x5e8823:0x4c2,_0x5cead0:0x1e1},_0x239f69=_0x990613[_0x4f52c0(-_0x23d240._0x2b7f06,-0x16f,-_0x23d240._0x55b532,-0xe9)](_0x4a3bcf[_0x4f52c0(_0x23d240._0x28e6d0,_0x23d240._0x1daf07,-_0x23d240._0x118032,_0x23d240._0x461951)]??process[_0x25fc74(0x879,0x6dd,_0x23d240._0x313955,_0x23d240._0x554454)]());function _0x25fc74(_0x4156bb,_0x1af30d,_0x421f0a,_0x5da43b){return _0x4eedea(_0x4156bb-_0x407a97._0x1c94c9,_0x421f0a-_0x407a97._0x5e8823,_0x4156bb,_0x5da43b-_0x407a97._0x5cead0);}function _0x4f52c0(_0x367739,_0x22ffbd,_0x12091b,_0x1bf181){return _0x4eedea(_0x367739-0x146,_0x1bf181- -0x1f7,_0x367739,_0x1bf181-0x3c);}const _0x417191=_0x4a3bcf[_0x4f52c0(0xcd,-_0x23d240._0x8cd856,-_0x23d240._0x191ab0,-_0x23d240._0x43d89d)]??[],_0x33fa7e=_0x4a3bcf[_0x25fc74(0x4eb,_0x23d240._0x5105b2,_0x23d240._0x2b204c,0x395)]??0x64,_0x401331=_0x4a3bcf[_0x25fc74(0xa95,0xa26,_0x23d240._0x9bd2a0,_0x23d240._0xd6bc1f)]??_0x25fc74(_0x23d240._0x32931c,0x84f,_0x23d240._0x146660,_0x23d240._0x17761);return defineTool({'name':_0x401331,'permissionClass':_0x4f52c0(-_0x23d240._0x2e00ea,-0x7d,-_0x23d240._0x1538f3,0xd1),'description':'Find\x20workspace\x20or\x20allowed\x20directory\x20files\x20matching\x20a\x20glob\x20pattern.','inputSchema':{'type':_0x4f52c0(-0x20,0x103,-0x15d,_0x23d240._0x48ee77),'properties':{'pattern':{'type':_0x4f52c0(_0x23d240._0x159555,0x353,0x30d,_0x23d240._0x56c6cd)},'path':{'type':_0x4f52c0(_0x23d240._0x43e705,_0x23d240._0x305423,0x35c,_0x23d240._0x1a4940)},'limit':{'type':_0x25fc74(_0x23d240._0x265c5c,0x4ce,0x4bc,_0x23d240._0x7f1fe0)}},'required':['pattern']},async *'execute'(_0xb570cf){const _0x4182ba={_0x545399:0x2b7,_0x98b3cd:0xd3},_0x366b5a={_0x70e515:0x51b};if(_0xb570cf[_0x42981a(0x5fa,_0xa9d285._0x2b6449,_0xa9d285._0x5183b2,_0xa9d285._0x4d0c50)]['trim']()[_0x42981a(0x46f,0x559,0x52e,_0xa9d285._0x4dfe2f)]===0x0)throw new ToolExecutionError('pattern\x20is\x20required',{});const _0x36f361=resolveAllowedPath(_0x239f69,_0x417191,_0xb570cf[_0x44ca75(0x173,0x355,_0xa9d285._0x4fb1e0,0x3c3)]??'.'),_0x36bbb1=await _0x399163(_0x36f361)[_0x44ca75(0x3a1,0x5c5,_0xa9d285._0xddbc6b,_0xa9d285._0x582df8)](()=>null);if(!_0x36bbb1?.[_0x44ca75(_0xa9d285._0x26eb7e,_0xa9d285._0xb81e01,0x110,0x1fd)]())throw new ToolExecutionError(_0x44ca75(-_0xa9d285._0x3e6f71,-0x1d3,_0xa9d285._0x4f8c00,_0xa9d285._0x5d41aa)+(_0xb570cf[_0x44ca75(0x173,_0xa9d285._0x42a80f,0x38a,_0xa9d285._0x3d590b)]??'.'),{'path':_0xb570cf[_0x44ca75(_0xa9d285._0x2d8259,-0xe1,0x1c8,0x189)]??'.'});const _0xcb8fb2=_0xb570cf[_0x44ca75(_0xa9d285._0x414ff5,_0xa9d285._0x11c324,-_0xa9d285._0x539c4f,_0xa9d285._0x4e5e9d)]??_0x33fa7e,_0x131c10=Math[_0x44ca75(_0xa9d285._0x486b03,0x4bb,_0xa9d285._0xc4f90d,_0xa9d285._0x1d8cdb)](0x1,Math[_0x42981a(0x414,0x557,0x211,0x61e)](_0xcb8fb2)),_0x3ebe4e=[];let _0x5f00c3=![];for await(const _0x413d3d of files({'cwd':_0x36f361,'glob':[_0xb570cf[_0x42981a(0x5fa,0x767,_0xa9d285._0x4bff20,_0xa9d285._0x4f33b2)]]})){if(_0x3ebe4e['length']>=_0x131c10){_0x5f00c3=!![];break;}const _0x40607c=await _0x399163(_0x990613['join'](_0x36f361,_0x413d3d))[_0x42981a(0x605,0x5b8,0x7ab,0x563)](()=>null);_0x3ebe4e[_0x42981a(0x2fb,_0xa9d285._0x5392c8,0x172,0x44a)]({'path':_0x413d3d,'mtime':_0x40607c?.[_0x44ca75(0x214,_0xa9d285._0x31e7b1,0x2a8,0x22b)]??0x0});}function _0x44ca75(_0x416430,_0x28b994,_0x719a39,_0x58bcc9){return _0x25fc74(_0x28b994,_0x28b994-0x10e,_0x416430- -_0x366b5a._0x70e515,_0x58bcc9-0xe2);}function _0x42981a(_0x4de23f,_0x49d9c0,_0x3a02ff,_0x505de5){return _0x25fc74(_0x505de5,_0x49d9c0-0xdf,_0x4de23f- -_0x4182ba._0x545399,_0x505de5-_0x4182ba._0x98b3cd);}_0x3ebe4e[_0x44ca75(_0xa9d285._0x2f7882,0x273,0x1df,_0xa9d285._0x1e9504)]((_0x14abdf,_0x56bbea)=>_0x56bbea[_0x44ca75(-0x74,-0x213,-0x2a9,-0x29d)]-_0x14abdf['mtime']);const _0x307d09=_0x3ebe4e[_0x42981a(0x2ff,0x49f,0x17b,_0xa9d285._0x1aa221)](_0x54fd47=>_0x54fd47[_0x42981a(0x3d7,0x3fd,0x51c,0x52d)]),_0x18e9ef=_0x307d09[_0x42981a(0x46f,_0xa9d285._0x6dc9df,_0xa9d285._0x50d7d1,0x688)]===0x0?'No\x20files\x20found\x20matching\x20pattern:\x20'+_0xb570cf[_0x42981a(_0xa9d285._0x122943,_0xa9d285._0x4d962d,0x560,0x724)]:''+_0x307d09[_0x42981a(_0xa9d285._0x2128ae,_0xa9d285._0x25ed4d,_0xa9d285._0x3198cf,_0xa9d285._0x3f531c)]('\x0a')+(_0x5f00c3?_0x42981a(0x2ef,_0xa9d285._0x4dde01,0x183,0x49c):'');return yield createToolOutput(_0x18e9ef,{'pattern':_0xb570cf[_0x42981a(_0xa9d285._0x2f01e2,0x696,0x851,_0xa9d285._0x4d2979)],'searchPath':_0x990613[_0x44ca75(0x3f9,0x545,0x389,_0xa9d285._0x5f29dc)](_0x239f69,_0x36f361)||'.','matches':_0x307d09,'count':_0x307d09['length'],'truncated':_0x5f00c3}),void 0x0;}});}var GREP_DEFAULT_LIMIT=0x64,GREP_MAX_PATTERN_LENGTH=0x400,GREP_MAX_SNIPPET_LENGTH=0x7d0;function validateGrepPattern(_0x2ff681){const _0x346cc6={_0x2912cd:0x184,_0xfb6328:0x1c3,_0x57256f:0x285,_0x188419:0x29e,_0x4e8a03:0xad,_0x56682d:0x15c,_0x468981:0x490,_0x101847:0x352,_0xe66b35:0x5be,_0x5915fe:0x2f6,_0x1ce075:0x4c1},_0x1e32cf={_0x364d75:0xd0,_0x400fdd:0x15f},_0x44acab={_0x53ad93:0x15e};function _0x463950(_0x25deb3,_0x1e8723,_0x516301,_0x2a075f){return _0x4eedea(_0x25deb3-0x15f,_0x516301- -_0x44acab._0x53ad93,_0x1e8723,_0x2a075f-0x9a);}if(_0x2ff681[_0x311d96(_0x346cc6._0x2912cd,_0x346cc6._0xfb6328,0x368,0x30f)]()[_0x311d96(_0x346cc6._0x57256f,_0x346cc6._0x188419,0x4f1,0x48a)]===0x0)throw new Error(_0x463950(0x41,0x15f,-_0x346cc6._0x4e8a03,-_0x346cc6._0x56682d));function _0x311d96(_0x5e8a8a,_0xf5e01d,_0x292f42,_0x3dab98){return _0xa5377c(_0xf5e01d,_0xf5e01d-_0x1e32cf._0x364d75,_0x292f42-_0x1e32cf._0x400fdd,_0x3dab98-0x30);}if(_0x2ff681[_0x311d96(_0x346cc6._0x468981,_0x346cc6._0x101847,0x40e,0x48a)]>GREP_MAX_PATTERN_LENGTH)throw new Error(_0x311d96(0x3ad,0x2b1,0x4a8,0x457)+GREP_MAX_PATTERN_LENGTH+_0x311d96(_0x346cc6._0xe66b35,_0x346cc6._0x5915fe,_0x346cc6._0x1ce075,0x510));}function boundedGrepSnippet(_0x1e415f){const _0x425a34={_0x1af0b1:0x1ba},_0x6b5433={_0x32b68f:0x1de};function _0x5e6f08(_0x4338d2,_0x2b40d7,_0x11cc49,_0x4b2457){return _0x4eedea(_0x4338d2-0x17d,_0x4b2457-_0x6b5433._0x32b68f,_0x11cc49,_0x4b2457-0x1a3);}return _0x1e415f['length']>GREP_MAX_SNIPPET_LENGTH?_0x1e415f['slice'](0x0,GREP_MAX_SNIPPET_LENGTH)+_0x5e6f08(0x104,0x7c,0x1db,_0x425a34._0x1af0b1):_0x1e415f;}async function searchRegex(_0x555996){const _0x23f790={_0x8b04da:0x752,_0x10bd0e:0x774,_0x5ae5bc:0x61e,_0x436a7c:0x5fe,_0x2145f0:0x7fc,_0x2a0f3a:0x6ce,_0x568aa4:0x647,_0x460818:0x7bd,_0x1e9032:0x79b,_0xef05ff:0x88e,_0x14aa44:0x60a,_0x5a345d:0x78d,_0x13305d:0x751,_0x2df9e6:0x7d0,_0x4a83b5:0x630,_0x33969c:0x536,_0x19e51a:0x7d9,_0x247ad6:0x65d,_0x21f640:0x720,_0x474dab:0x7ad,_0x11e861:0x70b,_0x292171:0x785,_0x495094:0x619,_0x106519:0x63a,_0x364fd2:0x66a,_0x257746:0x4c2,_0x5b1baf:0x7b0,_0x11e454:0x46c,_0x3c115e:0x4ef,_0x55bfb5:0x549,_0x1bbb19:0x60f,_0xd8f418:0x68f,_0x5ba400:0x51c,_0x568a3a:0x42d,_0x5b7ca2:0x5be},_0xf648ca={_0x2d5823:0x406},_0x2d2b2a={_0x158a7e:0x871,_0x11ac59:0x8ea},_0x3d956f={_0x153faf:0x56,_0x1089b7:0x10c},_0x2fc37e={_0x3fff9e:0xed};validateGrepPattern(_0x555996['pattern']);const _0x552417=_0x555996[_0x59ada9(0x526,0x5c1,0x6bb,_0x23f790._0x8b04da)]??GREP_DEFAULT_LIMIT;function _0x44f1da(_0x52d095,_0x1e15a8,_0x37a2b7,_0x3f683e){return _0x4eedea(_0x52d095-_0x2fc37e._0x3fff9e,_0x37a2b7-0x309,_0x3f683e,_0x3f683e-0x111);}const _0x25a539=Number[_0x44f1da(0x745,0x5c8,_0x23f790._0x10bd0e,_0x23f790._0x5ae5bc)](_0x552417)?Math['max'](0x1,Math[_0x44f1da(0x2db,0x360,0x512,0x33e)](_0x552417)):GREP_DEFAULT_LIMIT;if(_0x555996[_0x59ada9(_0x23f790._0x436a7c,0x76f,_0x23f790._0x2145f0,_0x23f790._0x2a0f3a)]?.[_0x59ada9(0x66a,0x536,_0x23f790._0x568aa4,_0x23f790._0x460818)]===0x0)return{'matches':[],'matchCount':0x0,'fileCount':0x0,'truncated':![]};const _0x33fa10=await search({'cwd':_0x555996['cwd'],'pattern':_0x555996[_0x59ada9(0x7f5,_0x23f790._0x1e9032,0x625,_0x23f790._0xef05ff)],..._0x555996[_0x44f1da(0x375,0x649,0x501,_0x23f790._0x14aa44)]===void 0x0?{}:{'files':_0x555996[_0x59ada9(_0x23f790._0x436a7c,_0x23f790._0x5a345d,_0x23f790._0x13305d,_0x23f790._0x2df9e6)]},..._0x555996[_0x59ada9(0x6f5,_0x23f790._0x4a83b5,_0x23f790._0x33969c,_0x23f790._0x19e51a)]===void 0x0?{}:{'glob':_0x555996[_0x59ada9(0x6f5,0x602,0x619,0x633)]},..._0x555996[_0x59ada9(_0x23f790._0x247ad6,_0x23f790._0x21f640,_0x23f790._0x474dab,0x72d)]===void 0x0?{}:{'context':_0x555996[_0x59ada9(_0x23f790._0x247ad6,_0x23f790._0x11e861,0x42d,_0x23f790._0x292171)]},'limit':_0x25a539+0x1}),_0x3af19c=_0x33fa10[_0x59ada9(_0x23f790._0x495094,_0x23f790._0x106519,0x3c4,0x48c)](_0x331643=>!_0x331643[_0x44f1da(0x871,0x933,0x6f5,0x931)]),_0x4a85dc=_0x3af19c[_0x59ada9(_0x23f790._0x364fd2,0x7dc,_0x23f790._0x257746,_0x23f790._0x5b1baf)]>_0x25a539,_0x20b5c1=_0x3af19c[_0x44f1da(_0x23f790._0x11e454,_0x23f790._0x3c115e,0x685,_0x23f790._0x55bfb5)](0x0,_0x25a539),_0x337c0e=new Set(_0x20b5c1),_0x24c66d=Math['max'](0x0,Math[_0x59ada9(_0x23f790._0x1bbb19,_0x23f790._0xd8f418,0x3d9,0x5f0)](_0x555996[_0x44f1da(0x6aa,0x55b,0x560,0x351)]??0x0)),_0x188895=_0x4a85dc?_0x33fa10[_0x44f1da(0x3bc,0x317,_0x23f790._0x5ba400,_0x23f790._0x568a3a)](_0x468e1c=>{const _0x10d272={_0x38e79c:0x154,_0x411c58:0xa0};if(!_0x468e1c[_0x112a32(0xa91,_0x2d2b2a._0x158a7e,_0x2d2b2a._0x11ac59,0xa0f)])return _0x337c0e['has'](_0x468e1c);function _0x112a32(_0x4f92e8,_0x981dda,_0x1c3c79,_0x3e5a43){return _0x44f1da(_0x4f92e8-_0x3d956f._0x153faf,_0x981dda-_0x3d956f._0x1089b7,_0x1c3c79-0x1f5,_0x3e5a43);}function _0x285c74(_0x184f73,_0x2ea6ad,_0x2ffc24,_0x4ef4e8){return _0x59ada9(_0x4ef4e8-_0x10d272._0x38e79c,_0x2ea6ad-0x143,_0x2ffc24-_0x10d272._0x411c58,_0x2ea6ad);}return _0x20b5c1['some'](_0x4144e2=>_0x4144e2[_0x285c74(0x311,0x68a,0x2e5,0x52c)]===_0x468e1c[_0x285c74(0x54a,0x59a,0x318,0x52c)]&&Math[_0x285c74(0xb25,0x767,0xa74,0x9a6)](_0x4144e2['lineNum']-_0x468e1c[_0x112a32(0x770,0x6e5,0x7a1,0x955)])<=_0x24c66d);}):_0x33fa10;function _0x59ada9(_0x51bc1e,_0x97ca97,_0x1d74f5,_0x4c82bb){return _0x4eedea(_0x51bc1e-0x8b,_0x51bc1e-_0xf648ca._0x2d5823,_0x4c82bb,_0x4c82bb-0x1ca);}return{'matches':_0x188895,'matchCount':_0x20b5c1['length'],'fileCount':new Set(_0x188895[_0x59ada9(0x4fa,0x2b9,_0x23f790._0x5b7ca2,0x70a)](_0x582f94=>_0x582f94[_0x44f1da(0x2e3,0x499,0x2db,0x137)]))[_0x59ada9(0x3e0,0x5c6,0x5f5,0x5fc)],'truncated':_0x4a85dc};}import{stat as _0x5c52fd}from'fs/promises';import*as _0x1652d2 from'path';function createGrepTool(_0x1a83b4={}){const _0x32b86d={_0x370e7b:0x5bd,_0x1d0f70:0x4d1,_0x27fb80:0x5cc,_0x3a81a1:0x59d,_0x305f51:0x4b5,_0x112c1e:0x7c4,_0x3b73b8:0x1a9,_0x262f8f:0x227,_0x17ccb8:0x40b,_0x563a15:0x90c,_0x23cc88:0x868,_0x3da701:0x581,_0x3fadae:0x6f0,_0x2cfcea:0x3d9,_0x59f31d:0x85f,_0x2ad923:0x73c,_0x238bb1:0x144,_0x582117:0x928,_0x11723d:0x548,_0x22c4d2:0x7a2,_0x433d85:0x9fa,_0x459788:0x9f7,_0x3828e5:0x7a2,_0x289a5c:0x338,_0x1d8f72:0x682,_0x311f92:0x4f6,_0x3542cd:0x352},_0x17950e={_0x1c777e:0x362,_0x29e4af:0x3dd,_0x2a6846:0x4b8,_0x522501:0xda,_0x59c58e:0x191,_0x304bc3:0x24,_0x4e6643:0xe3,_0x4a535a:0x44,_0x16c6fd:0x274,_0x4d11ce:0x194,_0x25df24:0x2c9,_0x2f32e4:0x115,_0x2ca79b:0x325,_0x371128:0xec,_0x240289:0xfe,_0x5697cf:0x126,_0x581117:0xa2,_0x4fc61c:0x11f,_0x104c4d:0x111,_0x103010:0x321,_0x50ad22:0x334,_0xf1930d:0x419,_0x2717a6:0x93,_0x3e8e96:0xde,_0xeeae87:0x1a0,_0x550c07:0x169,_0x560967:0xbb,_0x2c005c:0xb1,_0x296062:0x61,_0x3c1242:0x125,_0x21cd5a:0x141,_0x4714b7:0x346,_0x37b862:0xfc,_0x47723a:0x1be,_0x531e16:0xcb,_0x339406:0x19f,_0x3a1daa:0x3a1,_0x171cce:0x75,_0x57cc61:0x28d,_0x4ef0c3:0x494,_0x4049cf:0x2a,_0x83b1bd:0x1a7,_0x4a265b:0xd8,_0x1ef097:0x63,_0x1da8a8:0x2a0,_0x12151f:0x4d,_0x1aab2c:0x7,_0x4b20b7:0x4b6,_0x50afb3:0x555,_0x4db816:0x20d,_0x347c48:0x221,_0x2594c4:0x330,_0x21c6d2:0x343,_0x4a2aea:0x1d5,_0x1808db:0x50a,_0x57e864:0x353,_0x1181b7:0xc,_0x284019:0x127,_0x530281:0x276,_0x1e586c:0xb5,_0x461bf8:0x341,_0x419dca:0x27a,_0xd3c0fd:0xe8,_0x167a40:0x48c,_0x3c3990:0x1a,_0x580975:0x202,_0x2bff4f:0x118,_0x23e397:0x9c,_0x35a2de:0x4bc,_0x1869d8:0x41d,_0x2a449d:0x178,_0x2c8a82:0x187,_0x5a482c:0x53,_0x4eec52:0x75,_0x4e78af:0x32b,_0x3aa996:0x216,_0x4e037f:0x1ed,_0x14d6d1:0x446,_0x2c5b65:0x16,_0x1f087a:0x328,_0x5ec83e:0x1b8,_0x288ccb:0x2b5,_0x4e943b:0x26c,_0x4d57d1:0x1d4,_0x1b1dec:0x18a,_0x153ced:0x34e,_0x3354cb:0x1d6,_0x263631:0x20c,_0x3cc63d:0x2b8,_0x5f299b:0x50,_0x5ef40c:0x5c,_0x126d74:0xf1},_0x566856={_0x54a7cf:0x3cb},_0x55cabd={_0x3eecd2:0x183,_0x39162b:0xc4},_0x296f7b={_0x473d48:0xef};function _0x55d832(_0x5514f2,_0x41c174,_0x258fe8,_0x536d7b){return _0xa5377c(_0x536d7b,_0x41c174-0x91,_0x258fe8-0x16e,_0x41c174- -_0x296f7b._0x473d48);}const _0x362441=_0x1652d2[_0xf267fd(0x459,_0x32b86d._0x370e7b,0x4d4,0x44c)](_0x1a83b4[_0xf267fd(_0x32b86d._0x1d0f70,_0x32b86d._0x27fb80,0x623,_0x32b86d._0x3a81a1)]??process[_0xf267fd(_0x32b86d._0x305f51,_0x32b86d._0x112c1e,0x59a,0x5a8)]()),_0x5dae19=_0x1a83b4[_0x55d832(_0x32b86d._0x3b73b8,0x190,0x359,0x3b4)]??[],_0x1c5c37=_0x1a83b4[_0x55d832(0xc1,_0x32b86d._0x262f8f,0xf8,_0x32b86d._0x17ccb8)]??GREP_DEFAULT_LIMIT;function _0xf267fd(_0x106585,_0x17818a,_0x31a6b2,_0x541196){return _0xa5377c(_0x31a6b2,_0x17818a-_0x55cabd._0x3eecd2,_0x31a6b2-_0x55cabd._0x39162b,_0x541196-0x148);}const _0x1e0bfb=_0x1a83b4[_0xf267fd(_0x32b86d._0x563a15,_0x32b86d._0x23cc88,_0x32b86d._0x3da701,_0x32b86d._0x3fadae)]??'Grep';return defineTool({'name':_0x1e0bfb,'permissionClass':_0xf267fd(0x7f6,0x3d5,_0x32b86d._0x2cfcea,0x606),'description':_0xf267fd(0x878,_0x32b86d._0x59f31d,0x640,_0x32b86d._0x2ad923),'inputSchema':{'type':_0x55d832(0x176,0x363,0x188,_0x32b86d._0x238bb1),'properties':{'pattern':{'type':_0xf267fd(0x9c8,_0x32b86d._0x582117,0x5ec,0x7a2)},'path':{'type':_0xf267fd(0x798,0x57d,_0x32b86d._0x11723d,_0x32b86d._0x22c4d2)},'include':{'type':_0xf267fd(_0x32b86d._0x433d85,_0x32b86d._0x459788,0x892,_0x32b86d._0x3828e5)},'limit':{'type':_0xf267fd(0x4bc,0x496,0x4ed,_0x32b86d._0x289a5c)},'context':{'type':'number'}},'required':[_0x55d832(_0x32b86d._0x1d8f72,_0x32b86d._0x311f92,_0x32b86d._0x3542cd,0x362)]},async *'execute'(_0x11ee14){try{validateGrepPattern(_0x11ee14[_0x1ba2c1(_0x17950e._0x1c777e,_0x17950e._0x29e4af,_0x17950e._0x2a6846,0x137)]);}catch(_0x5f1a4e){throw new ToolExecutionError(_0x5f1a4e[_0x46e442(0x2be,0x3d3,_0x17950e._0x522501,_0x17950e._0x59c58e)],{});}const _0x14ab59=resolveAllowedPath(_0x362441,_0x5dae19,_0x11ee14[_0x46e442(0xfe,-_0x17950e._0x304bc3,0x1c,_0x17950e._0x4e6643)]??'.'),_0x539553=await _0x5c52fd(_0x14ab59)['catch'](()=>null);function _0x46e442(_0x3dfdc0,_0x55b20f,_0x1ae5c5,_0x205f2c){return _0x55d832(_0x3dfdc0-0x149,_0x3dfdc0- -0x1d5,_0x1ae5c5-0x8d,_0x55b20f);}const _0x46ff38=_0x539553?.[_0x46e442(0x16c,_0x17950e._0x4a535a,_0x17950e._0x16c6fd,_0x17950e._0x4d11ce)]()??![],_0x1aa64f=_0x539553?.[_0x1ba2c1(0x28f,0x195,_0x17950e._0x25df24,0x397)]()??![];if(!_0x46ff38&&!_0x1aa64f)throw new ToolExecutionError(_0x46e442(0x27f,0x161,_0x17950e._0x2f32e4,0x183)+(_0x11ee14[_0x1ba2c1(0x13f,_0x17950e._0x2ca79b,_0x17950e._0x371128,0x359)]??'.'),{'path':_0x11ee14[_0x46e442(_0x17950e._0x240289,-_0x17950e._0x5697cf,_0x17950e._0x581117,0x2dc)]??'.'});function _0x1ba2c1(_0x2776ed,_0xf99811,_0xbb1cdf,_0x3310cc){return _0xf267fd(_0x2776ed-0x18e,_0xf99811-0x11c,_0xf99811,_0x2776ed- -_0x566856._0x54a7cf);}const _0x5693f1=await searchRegex({'cwd':_0x1aa64f?_0x14ab59:_0x1652d2[_0x1ba2c1(_0x17950e._0x4fc61c,0x35f,0x197,-_0x17950e._0x104c4d)](_0x14ab59),'pattern':_0x11ee14[_0x46e442(_0x17950e._0x103010,_0x17950e._0x50ad22,0x540,_0x17950e._0xf1930d)],'glob':_0x1aa64f?_0x11ee14['include']:void 0x0,'limit':_0x11ee14[_0x1ba2c1(_0x17950e._0x2717a6,-0x2f,-_0x17950e._0x3e8e96,0x7)]??_0x1c5c37,'files':_0x46ff38?[_0x14ab59]:void 0x0,'context':_0x11ee14['context']}),{matches:_0x383ea2}=_0x5693f1,_0x4a8d6e=new Map();for(const _0x391e81 of _0x383ea2){if(!_0x4a8d6e['has'](_0x391e81[_0x1ba2c1(-0xbb,_0x17950e._0xeeae87,-_0x17950e._0x550c07,-0xb9)])){const _0x4c207b=await _0x5c52fd(_0x391e81[_0x1ba2c1(-_0x17950e._0x560967,_0x17950e._0x2c005c,-_0x17950e._0x296062,-_0x17950e._0x3c1242)])[_0x1ba2c1(0x36d,0x288,_0x17950e._0x21cd5a,_0x17950e._0x4714b7)](()=>null);_0x4a8d6e['set'](_0x391e81[_0x46e442(-_0x17950e._0x37b862,-_0x17950e._0x47723a,_0x17950e._0x531e16,-0xd9)],{'matches':[],'mtime':_0x4c207b?.[_0x46e442(_0x17950e._0x339406,0xf8,_0x17950e._0x3a1daa,_0x17950e._0x171cce)]??0x0});}_0x4a8d6e[_0x1ba2c1(0x23f,0x345,_0x17950e._0x57cc61,_0x17950e._0x4ef0c3)](_0x391e81[_0x46e442(-0xfc,_0x17950e._0x4049cf,-_0x17950e._0x83b1bd,-_0x17950e._0x4a265b)])?.['matches'][_0x1ba2c1(_0x17950e._0x1ef097,_0x17950e._0x1da8a8,-_0x17950e._0x12151f,_0x17950e._0x1aab2c)](_0x391e81);}const _0x1f7f67=[..._0x4a8d6e[_0x46e442(0x305,0xac,_0x17950e._0x4b20b7,_0x17950e._0x50afb3)]()][_0x1ba2c1(0x19e,0x1fd,_0x17950e._0x4db816,0x3f9)]((_0x34379f,_0x15b100)=>_0x15b100[0x1][_0x46e442(-0xe9,-0x1d9,-0x158,-0x82)]-_0x34379f[0x1][_0x1ba2c1(-0xa8,0x54,-0x1cd,-0x26e)]),_0x1146c7=_0x46ff38?_0x1652d2[_0x46e442(0xde,0x333,_0x17950e._0x347c48,_0x17950e._0x2594c4)](_0x14ab59):_0x14ab59;let _0x2f87b4='';if(_0x383ea2['length']===0x0)_0x2f87b4=_0x1ba2c1(_0x17950e._0x21c6d2,_0x17950e._0x4a2aea,_0x17950e._0x1808db,0x301)+_0x11ee14[_0x46e442(0x321,_0x17950e._0x57e864,0x20c,0x144)];else{_0x2f87b4=_0x1ba2c1(-_0x17950e._0x1181b7,-0xaf,-0xf,-0x22e)+_0x5693f1[_0x46e442(0x300,_0x17950e._0x284019,0x2c6,0x2f9)]+_0x46e442(0xac,_0x17950e._0x530281,_0x17950e._0x1e586c,-0x54)+(_0x5693f1[_0x1ba2c1(_0x17950e._0x461bf8,_0x17950e._0x419dca,_0x17950e._0xd3c0fd,_0x17950e._0x167a40)]===0x1?'':'es')+'\x0a';for(const [_0x53bbf9,_0x222534]of _0x1f7f67){const _0x1ce39a=_0x46ff38?_0x1652d2[_0x46e442(-_0x17950e._0x3c3990,-_0x17950e._0x580975,-_0x17950e._0x2bff4f,_0x17950e._0x23e397)](_0x53bbf9):_0x1652d2[_0x1ba2c1(0x3c5,_0x17950e._0x35a2de,0x27c,_0x17950e._0x1869d8)](_0x1146c7,_0x53bbf9);_0x2f87b4+='\x0a'+_0x1ce39a+':\x0a';for(const _0xd0f414 of _0x222534[_0x46e442(_0x17950e._0x2a449d,0x2df,_0x17950e._0x2c8a82,0xa1)]){const _0x5f0575=boundedGrepSnippet(_0xd0f414[_0x1ba2c1(-0x46,-_0x17950e._0x5a482c,_0x17950e._0x4eec52,0xfe)]),_0x3b6b29=_0xd0f414['isContext']?'\x20\x20':'>\x20';_0x2f87b4+=_0x3b6b29+_0x1ba2c1(0x3c6,0x562,0x497,_0x17950e._0x4e78af)+_0xd0f414[_0x1ba2c1(_0x17950e._0x3aa996,0x23d,0x156,-0x20)]+':\x20'+_0x5f0575+'\x0a';}}_0x5693f1[_0x1ba2c1(_0x17950e._0x4e037f,_0x17950e._0x14d6d1,0x335,0x1ea)]&&(_0x2f87b4+=_0x46e442(_0x17950e._0x2c5b65,0x7a,-0xd3,-0x11c));}const _0x501e1d={'searchPath':_0x1652d2['relative'](_0x362441,_0x14ab59)||'.','pattern':_0x11ee14['pattern'],'matchCount':_0x5693f1[_0x1ba2c1(0x341,0x396,_0x17950e._0x1f087a,0x4ae)],'fileCount':_0x5693f1[_0x1ba2c1(_0x17950e._0x5ec83e,_0x17950e._0x288ccb,0x2e6,_0x17950e._0x4e943b)],'truncated':_0x5693f1[_0x46e442(0x1ac,0x8e,0x1f6,_0x17950e._0x4d57d1)]};return _0x1aa64f&&_0x11ee14['include']!==void 0x0&&(_0x501e1d[_0x46e442(0x1cb,_0x17950e._0x1b1dec,_0x17950e._0x153ced,_0x17950e._0x3354cb)]=_0x11ee14[_0x1ba2c1(_0x17950e._0x263631,_0x17950e._0x3cc63d,-_0x17950e._0x5f299b,0x2b1)]),yield createToolOutput(_0x2f87b4[_0x1ba2c1(_0x17950e._0x5ef40c,0xc4,_0x17950e._0x126d74,-_0x17950e._0x531e16)](),_0x501e1d),void 0x0;}});}import{readdir,readFile as _0x192db6,stat as _0xc93680}from'fs/promises';import*as _0x2242ee from'path';import*as _0x165bec from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0x489175,_0x297e40){const _0x5ea556={_0x538c01:0x82d,_0x3c9e8e:0x81c,_0x538ccf:0x4e7,_0x43240f:0x74b,_0x1c31e4:0x794,_0x5a7e0e:0x623},_0x276e28={_0x3d0074:0x193},_0x54899a={_0x18cc74:0x1e3,_0x150b8c:0x114};function _0x1482b6(_0x62412c,_0x3e415e,_0x2c9b95,_0xd67c4f){return _0xa5377c(_0x2c9b95,_0x3e415e-0x16d,_0x2c9b95-_0x54899a._0x18cc74,_0x62412c-_0x54899a._0x150b8c);}function _0x35ced4(_0x16525c,_0x38f7fc,_0x5ee571,_0x53a86a){return _0xa5377c(_0x53a86a,_0x38f7fc-_0x276e28._0x3d0074,_0x5ee571-0x16f,_0x5ee571-0x317);}if(_0x297e40>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;const _0x4ccbd3=await _0x192db6(_0x489175)['catch'](()=>null);if(!_0x4ccbd3||isProbablyBinary(_0x4ccbd3))return void 0x0;return _0x4ccbd3[_0x35ced4(_0x5ea556._0x538c01,0x80e,0x965,_0x5ea556._0x3c9e8e)](_0x1482b6(0x65d,_0x5ea556._0x538ccf,0x71f,0x48f))['split'](/\r?\n/)[_0x35ced4(_0x5ea556._0x43240f,_0x5ea556._0x1c31e4,0x771,_0x5ea556._0x5a7e0e)];}function createLsTool(_0x14d9b5={}){const _0x19ef79={_0x5b7b6b:0x569,_0x1eb95f:0x47d,_0x41f50b:0x448,_0x26bf6d:0x589,_0xf2dba2:0x6ec,_0x49f35a:0x60b,_0x44cb89:0x6af,_0xce99db:0x606,_0x3c7a77:0x602,_0x53b1b3:0x340,_0x371cab:0x1b,_0x1bf930:0x42f,_0x40e2f9:0x37a,_0x440bcb:0x74b,_0x35ee03:0x35b,_0x284fba:0x15f,_0x3a99bb:0x2ec,_0x309b03:0x32e,_0x540cde:0x57,_0x502875:0x177,_0x5be53b:0x247,_0x9dd0b1:0x13c},_0xddf03={_0xa2af1f:0x6c4,_0x143cd0:0x866,_0x4ffedd:0x8f2,_0x3ea88a:0x61e,_0x4fdc13:0x136,_0x3afb63:0xdf,_0x47aa02:0x815,_0x246b37:0x759,_0x15d74f:0x874,_0xb84f67:0x9b7,_0x56402b:0xa1c,_0x49a795:0x113,_0x294244:0xa10,_0x1bb1e0:0x77e,_0x63e4c8:0x300,_0x267d12:0x64e,_0x40a6d7:0x732,_0x2138dc:0x9e6,_0x220658:0x6eb,_0x546549:0x3d0,_0x187734:0x4d2,_0x1b8771:0x2a4,_0x39afb9:0x403,_0x2af1ed:0x495,_0x24f7a5:0x42d,_0x4642f6:0x3fb,_0x517a57:0x55d,_0x169e96:0x50,_0xa2f411:0x132,_0x2fe3a1:0x43,_0x8b489:0x2a1,_0x2859c2:0x1a,_0x48c9ae:0xaf,_0x412be4:0x54,_0x3342f3:0x325,_0x3546cb:0x343,_0x56413a:0xa0f,_0x33de6e:0x8ed,_0x21f3f4:0x72c,_0x1041e1:0x905},_0x56c6b2={_0x4f9669:0x1a4,_0x5b8ae2:0x1d5,_0x1bd914:0x1be},_0x371d59={_0x248046:0x186,_0x22e785:0x1e4},_0x1be140={_0x22a0fc:0x1f3,_0x53cd45:0x32c},_0x460d38=_0x2242ee[_0x50a75b(_0x19ef79._0x5b7b6b,_0x19ef79._0x1eb95f,_0x19ef79._0x41f50b,0x1f6)](_0x14d9b5['defaultCwd']??process['cwd']()),_0x2cb528=_0x14d9b5['allowedDirs']??[];function _0x57339b(_0x1bddbc,_0x47bf45,_0x2aa3a0,_0x1967a1){return _0xa5377c(_0x47bf45,_0x47bf45-0x9c,_0x2aa3a0-_0x1be140._0x22a0fc,_0x1967a1- -_0x1be140._0x53cd45);}const _0x5b997d=_0x14d9b5[_0x50a75b(0x71b,_0x19ef79._0x26bf6d,_0x19ef79._0xf2dba2,_0x19ef79._0x49f35a)]??'Ls';function _0x50a75b(_0x4f202b,_0x572c75,_0x57a711,_0x2eb3e5){return _0x4eedea(_0x4f202b-_0x371d59._0x248046,_0x57a711-0x33a,_0x2eb3e5,_0x2eb3e5-_0x371d59._0x22e785);}return defineTool({'name':_0x5b997d,'permissionClass':_0x50a75b(_0x19ef79._0x44cb89,_0x19ef79._0xce99db,_0x19ef79._0x3c7a77,0x496),'description':_0x57339b(_0x19ef79._0x53b1b3,_0x19ef79._0x371cab,_0x19ef79._0x1bf930,0x278),'inputSchema':{'type':_0x50a75b(_0x19ef79._0x40e2f9,_0x19ef79._0x440bcb,0x596,_0x19ef79._0x35ee03),'properties':{'path':{'type':_0x57339b(_0x19ef79._0x284fba,_0x19ef79._0x3a99bb,0x25d,_0x19ef79._0x309b03)},'limit':{'type':_0x57339b(-_0x19ef79._0x540cde,-_0x19ef79._0x502875,-_0x19ef79._0x5be53b,-_0x19ef79._0x9dd0b1)}}},async *'execute'(_0x44e09c){const _0x3c926d={_0x5911ed:0x33,_0x2e212b:0x37b},_0x20e207=_0x44e09c[_0xe08cc7(0x533,_0xddf03._0xa2af1f,0x69a,0x4d7)]??'.',_0x4c44cd=resolveAllowedPath(_0x460d38,_0x2cb528,_0x20e207),_0x30cecd=await _0xc93680(_0x4c44cd)[_0xe08cc7(_0xddf03._0x143cd0,_0xddf03._0x4ffedd,0x8a6,0x936)](()=>null);if(!_0x30cecd?.[_0xe08cc7(0x8ef,0x814,0x616,_0xddf03._0x3ea88a)]())throw new ToolExecutionError('Directory\x20not\x20found:\x20'+_0x20e207,{'path':_0x20e207});const _0x335fc6=_0x44e09c[_0x2dcde2(-_0xddf03._0x4fdc13,0x8d,_0xddf03._0x3afb63,-0x7f)]??0x3e8,_0x5b7a4=Math[_0xe08cc7(_0xddf03._0x47aa02,0x7bd,0x57d,0x9c1)](Math['max'](Math[_0xe08cc7(0x574,0x701,0x86d,_0xddf03._0x246b37)](_0x335fc6),0x1),0x2710),_0x1f4da7=await readdir(_0x4c44cd),_0x4b87f7=[];function _0xe08cc7(_0x115ca4,_0x2ca614,_0x36c52d,_0x4a5c1f){return _0x50a75b(_0x115ca4-_0x56c6b2._0x4f9669,_0x2ca614-_0x56c6b2._0x5b8ae2,_0x2ca614-_0x56c6b2._0x1bd914,_0x4a5c1f);}for(const _0x28f47e of _0x1f4da7[_0xe08cc7(0x753,_0xddf03._0x15d74f,_0xddf03._0xb84f67,_0xddf03._0x56402b)](0x0,_0x5b7a4)){const _0x47c672=_0x2242ee[_0x2dcde2(0x13a,0x25e,0x95,-_0xddf03._0x49a795)](_0x4c44cd,_0x28f47e),_0x1398a3=await _0xc93680(_0x47c672)[_0xe08cc7(0x791,0x8f2,_0xddf03._0x294244,_0xddf03._0x1bb1e0)](()=>null);if(!_0x1398a3)continue;let _0x5b8816=_0x2dcde2(0x462,_0xddf03._0x63e4c8,0x403,0x63b);if(_0x1398a3[_0xe08cc7(_0xddf03._0x267d12,_0xddf03._0x40a6d7,0x4f2,0x4ee)]())_0x5b8816='file';else{if(_0x1398a3['isDirectory']())_0x5b8816='directory';else{if(_0x1398a3[_0xe08cc7(_0xddf03._0x2138dc,0x88b,0x79a,_0xddf03._0x220658)]())_0x5b8816=_0x2dcde2(0x3d,0x1f1,0xd,0x1b3);}}const _0x340f2d={'name':_0x28f47e,'type':_0x5b8816,'size':_0x1398a3[_0xe08cc7(_0xddf03._0x546549,_0xddf03._0x187734,0x714,0x471)],'mtime':_0x1398a3[_0x2dcde2(_0xddf03._0x1b8771,0x271,0x22c,_0xddf03._0x39afb9)],'mode':_0x1398a3[_0xe08cc7(0x47c,0x610,_0xddf03._0x2af1ed,_0xddf03._0x24f7a5)]},_0x444588=_0x5b8816===_0xe08cc7(_0xddf03._0x4642f6,0x629,0x59d,_0xddf03._0x517a57)?await countTextLines(_0x47c672,_0x1398a3[_0x2dcde2(_0xddf03._0x169e96,-0xc8,-0x67,0x1b)]):void 0x0;if(_0x444588!==void 0x0)_0x340f2d[_0x2dcde2(-0x18b,-_0xddf03._0xa2f411,_0xddf03._0x2fe3a1,0x211)]=_0x444588;_0x4b87f7[_0x2dcde2(_0xddf03._0x8b489,_0xddf03._0x2859c2,_0xddf03._0x48c9ae,-_0xddf03._0x412be4)](_0x340f2d);}function _0x2dcde2(_0xd13d13,_0x3cb935,_0x43d938,_0x44b00c){return _0x50a75b(_0xd13d13-_0x3c926d._0x5911ed,_0x3cb935-0x1e6,_0x43d938- -_0x3c926d._0x2e212b,_0xd13d13);}_0x4b87f7['sort']((_0x80a8f4,_0x2d5967)=>_0x80a8f4[_0xe08cc7(0x88e,0x8aa,0x8c4,0x847)][_0x2dcde2(0x10b,-0x15e,0xb2,-0x124)](_0x2d5967[_0x2dcde2(0x16e,0x3c7,0x371,0x290)]));const _0xcc740f={'path':_0x20e207,'total':_0x4b87f7[_0x2dcde2(0x102,_0xddf03._0x3342f3,0x223,_0xddf03._0x3546cb)],'truncated':_0x1f4da7['length']>_0x5b7a4,'entries':_0x4b87f7};return yield createToolOutput(_0x165bec[_0xe08cc7(_0xddf03._0x56413a,_0xddf03._0x33de6e,_0xddf03._0x21f3f4,_0xddf03._0x1041e1)](_0xcc740f,{'indent':0x2,'lineWidth':0x0})['trimEnd'](),{'path':_0x20e207,'total':_0x4b87f7['length'],'truncated':_0x1f4da7['length']>_0x5b7a4,'limit':_0x5b7a4,'entries':_0x4b87f7}),void 0x0;}});}import{readFile as _0xe4f1c1,stat as _0x1a60dd}from'fs/promises';import*as _0x50a731 from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set(['auto',_0xa5377c(0x4dc,0x744,0x3d7,0x574),_0x4eedea(0x55f,0x305,0x399,0x3d9),'original']),PNG_SIGNATURE=Buffer[_0xa5377c(0x3d9,0x446,0x65e,0x558)]([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x58788c,_0x3a00d0){const _0x2c4d7b={_0x5e3f75:0x270,_0xe42469:0x440,_0x97edd:0x84,_0x51e913:0x15b,_0x3c7423:0x28a,_0xbdb038:0xdd,_0x2be70e:0x476,_0x54c6ef:0x1fe,_0x176a08:0xfc,_0x2af01c:0x194,_0x206cc1:0x139,_0xa7bdce:0x61,_0x2d57a6:0xa6,_0x40df31:0x2f5,_0x45d7e:0x2f2,_0x82fdad:0x1d2,_0x32c446:0x59,_0xd9d728:0x10d,_0x422fed:0x135,_0x4e2957:0x4cb,_0x29f4fe:0x260,_0x39630d:0x3f5,_0x135cb6:0x3d6,_0x10d453:0x192,_0x2b0b34:0x8e,_0x44ef28:0xfb,_0x26625d:0xe1,_0x21b17d:0x304,_0x49e071:0x215,_0x1c14be:0x151,_0x14a673:0x2e3,_0x2c8802:0x3f8,_0x33f8b6:0x3d8,_0x542cdb:0x475,_0x498372:0x285,_0x54a9ca:0x474,_0xcd03a2:0x12f,_0x36ecef:0xc2,_0x530eb4:0x1f4,_0x2c8139:0x20d,_0x26af08:0x2b3,_0x1504cb:0x460,_0xe7bb33:0x426,_0x4bdc0f:0x284},_0x4669e5={_0xcfb587:0x85,_0x52556c:0x1c6},_0x5e3887={_0x42a83b:0x3b};if(_0x58788c[_0x299245(_0x2c4d7b._0x5e3f75,0x1fe,_0x2c4d7b._0xe42469,0x267)](0x0,0x8)[_0x299245(_0x2c4d7b._0x97edd,0x258,_0x2c4d7b._0x51e913,0x490)](PNG_SIGNATURE))return _0x11e580(_0x2c4d7b._0x3c7423,_0x2c4d7b._0xbdb038,0x3ba,_0x2c4d7b._0x2be70e);function _0x299245(_0x1b7a8f,_0x574e31,_0x24845c,_0x41113e){return _0x4eedea(_0x1b7a8f-_0x5e3887._0x42a83b,_0x574e31- -0x109,_0x24845c,_0x41113e-0x84);}if(_0x58788c[0x0]===0xff&&_0x58788c[0x1]===0xd8&&_0x58788c[0x2]===0xff)return'image/jpeg';const _0x6c734c=_0x58788c[_0x299245(0x265,_0x2c4d7b._0x54c6ef,_0x2c4d7b._0x176a08,0x377)](0x0,0x6)['toString'](_0x299245(0x103,0x59,_0x2c4d7b._0x2af01c,0xda));if(_0x6c734c===_0x11e580(0x15e,_0x2c4d7b._0x206cc1,0x14e,_0x2c4d7b._0xa7bdce)||_0x6c734c==='GIF89a')return _0x299245(0x2bd,0x12f,0xc3,-_0x2c4d7b._0x2d57a6);if(_0x58788c[_0x11e580(0x337,0x366,_0x2c4d7b._0x40df31,_0x2c4d7b._0x45d7e)](0x0,0x4)['toString'](_0x299245(-_0x2c4d7b._0x82fdad,_0x2c4d7b._0x32c446,_0x2c4d7b._0xd9d728,_0x2c4d7b._0x422fed))===_0x11e580(0x37e,0x15a,_0x2c4d7b._0x4e2957,0x501)&&_0x58788c[_0x11e580(0x337,_0x2c4d7b._0x29f4fe,_0x2c4d7b._0x39630d,_0x2c4d7b._0x135cb6)](0x8,0xc)[_0x11e580(0x488,0x396,0x484,0x6da)](_0x11e580(_0x2c4d7b._0x10d453,-_0x2c4d7b._0x2b0b34,0x2d3,0xba))==='WEBP')return _0x299245(_0x2c4d7b._0x44ef28,0x17a,-0x1c,0x25c);const _0x3cb6ee=_0x50a731[_0x11e580(0xbb,-0x25,-0xcc,_0x2c4d7b._0x26625d)](_0x3a00d0)[_0x11e580(_0x2c4d7b._0x21b17d,0x3d1,0x16a,0x202)]();if(_0x3cb6ee==='.png')return _0x299245(_0x2c4d7b._0x49e071,_0x2c4d7b._0x1c14be,0x171,_0x2c4d7b._0x14a673);if(_0x3cb6ee===_0x11e580(_0x2c4d7b._0x2c8802,0x5cd,_0x2c4d7b._0x33f8b6,_0x2c4d7b._0x542cdb)||_0x3cb6ee==='.jpeg')return'image/jpeg';if(_0x3cb6ee===_0x299245(0x1f4,0x36b,_0x2c4d7b._0x498372,_0x2c4d7b._0x54a9ca))return _0x299245(0x172,_0x2c4d7b._0xcd03a2,_0x2c4d7b._0x36ecef,_0x2c4d7b._0x530eb4);function _0x11e580(_0x2e1d62,_0x3c1d6f,_0x585835,_0x3ce65a){return _0xa5377c(_0x3ce65a,_0x3c1d6f-_0x4669e5._0xcfb587,_0x585835-0x12f,_0x2e1d62- -_0x4669e5._0x52556c);}if(_0x3cb6ee===_0x299245(-_0x2c4d7b._0x2c8139,-0x1d,0x16c,0x1f4))return _0x11e580(_0x2c4d7b._0x26af08,_0x2c4d7b._0x1504cb,_0x2c4d7b._0xe7bb33,_0x2c4d7b._0x4bdc0f);return void 0x0;}function normalizeDetail(_0x1788d7){const _0x433a06={_0x4d5972:0x3f1,_0x441e50:0x61a,_0x5da628:0x538,_0x3f3676:0x943,_0x3da49a:0x3ea,_0x290438:0x640,_0x5d58fb:0x9f1,_0x250891:0x7b7},_0x48b9dc={_0x498e4d:0xa,_0x2725a6:0x1cb},_0x877624={_0xca6233:0x125,_0x53c53f:0x149};if(_0x1788d7===void 0x0)return void 0x0;function _0x25eb11(_0x449f53,_0x35f791,_0x505c5a,_0x10f430){return _0x4eedea(_0x449f53-_0x877624._0xca6233,_0x505c5a-0x44f,_0x449f53,_0x10f430-_0x877624._0x53c53f);}const _0x2e23a2=_0x1788d7[_0x25eb11(_0x433a06._0x4d5972,_0x433a06._0x441e50,_0x433a06._0x5da628,0x2e1)]()[_0x3f4650(0x633,_0x433a06._0x3f3676,0xa77,0x83c)]();if(!SUPPORTED_DETAILS[_0x3f4650(0x51d,0x5ed,_0x433a06._0x3da49a,_0x433a06._0x290438)](_0x2e23a2))throw new ToolExecutionError(_0x25eb11(0x728,_0x433a06._0x5d58fb,_0x433a06._0x250891,0x567)+_0x1788d7,{'detail':_0x1788d7});function _0x3f4650(_0x3795c7,_0x392b3b,_0x461153,_0x1f4a44){return _0x4eedea(_0x3795c7-_0x48b9dc._0x498e4d,_0x1f4a44-0x568,_0x461153,_0x1f4a44-_0x48b9dc._0x2725a6);}return _0x2e23a2;}function createViewFileTool(_0x2b0d0d={}){const _0xdff242={_0x516617:0xba,_0x2e3f91:0x3b5,_0x56d9d7:0x287,_0xfcf5ad:0x59a,_0x576cf6:0x552,_0xa1c492:0x64a,_0x2343a2:0x25e,_0x51eaff:0x3a0,_0x23523b:0x1ea,_0x4a46cc:0x3cc,_0x2696d4:0x581,_0x5d9e40:0x6d5,_0x378bc1:0x5dd},_0x5f2c3b={_0x5a8bbe:0x46d,_0x506efd:0x514,_0xed8b80:0x46d,_0x5ca7d5:0x688,_0x1c006e:0x53f,_0x443ea9:0xd4,_0x101a83:0x2bb,_0x140813:0x120,_0x2bc9b1:0x526,_0x12f5e8:0x4f9,_0x47db3f:0x61e,_0x2dd5a7:0x274,_0x536e10:0x1c6,_0x4d0ceb:0x521,_0x5caf6f:0x523,_0x5752e0:0x6c1,_0x31c3a1:0x843,_0x32b175:0x4a7,_0x3dfc68:0x3cd,_0x562d13:0x7c4,_0x1eecab:0x3cb,_0x587273:0x50d,_0x3659c1:0x13b,_0x37bdf7:0x1a1,_0x3bc9ab:0x443,_0x435150:0x456,_0x377002:0x377,_0x548fd4:0x181,_0x2b57d0:0x1dc,_0x42e0a3:0x2f9,_0x5aecf2:0xdc,_0x177b92:0x762,_0x1f5828:0x739,_0x551f58:0x614,_0x408802:0x484,_0x4a1c91:0x34a,_0x1f1f55:0x67d,_0x3229c6:0x7ec,_0xee224d:0x30b,_0x34a719:0x221,_0x2ab014:0x28f},_0x3dfeb8={_0xf456cb:0x12c},_0x454420={_0x295511:0x178,_0x23d11c:0x179,_0x36c1d1:0x72},_0x5d466c={_0x3006b4:0x21,_0xbf1321:0xa2},_0x1216c7=_0x50a731[_0xedcd47(_0xdff242._0x516617,0xbd,_0xdff242._0x2e3f91,_0xdff242._0x56d9d7)](_0x2b0d0d[_0x457711(0x4fc,_0xdff242._0xfcf5ad,0x4f7,_0xdff242._0x576cf6)]??process['cwd']());function _0x457711(_0x13a646,_0x342ff1,_0x3976de,_0x531efc){return _0xa5377c(_0x342ff1,_0x342ff1-0x10e,_0x3976de-_0x5d466c._0x3006b4,_0x3976de-_0x5d466c._0xbf1321);}const _0x573a40=_0x2b0d0d['allowedDirs']??[],_0x19d732=_0x2b0d0d[_0x457711(0x5d9,0x817,0x712,0x507)]??DEFAULT_MAX_BYTES;function _0xedcd47(_0x4c37da,_0x5f06ce,_0x3370b4,_0x3bd7f5){return _0x4eedea(_0x4c37da-_0x454420._0x295511,_0x3bd7f5-_0x454420._0x23d11c,_0x3370b4,_0x3bd7f5-_0x454420._0x36c1d1);}const _0x40f525=_0x2b0d0d[_0x457711(0x77d,0x782,_0xdff242._0xa1c492,0x604)]??_0x457711(_0xdff242._0x2343a2,0x3f1,_0xdff242._0x51eaff,0x197);return defineTool({'name':_0x40f525,'permissionClass':_0x457711(0x32a,0x729,0x560,0x723),'description':_0x457711(_0xdff242._0x23523b,_0xdff242._0x4a46cc,0x42b,0x3b6),'inputSchema':{'type':_0xedcd47(_0xdff242._0x2696d4,0x634,0x42a,0x3d5),'properties':{'path':{'type':'string'},'detail':{'type':_0xedcd47(0x699,0x381,_0xdff242._0x5d9e40,_0xdff242._0x378bc1)}},'required':[_0xedcd47(_0xdff242._0x2343a2,0x242,0x3e4,0x345)]},async *'execute'(_0x4617cb){const _0x4e23c4=resolveAllowedPath(_0x1216c7,_0x573a40,_0x4617cb[_0x40830c(_0x5f2c3b._0x5a8bbe,_0x5f2c3b._0x506efd,0x3fb,0x628)]);await assertWorkspaceFile(_0x4e23c4);const _0x177d78=await _0x1a60dd(_0x4e23c4);if(_0x177d78['size']>_0x19d732)throw new ToolExecutionError('Image\x20file\x20is\x20too\x20large:\x20'+_0x4617cb['path'],{'path':_0x4617cb[_0x40830c(_0x5f2c3b._0xed8b80,0x487,_0x5f2c3b._0x5ca7d5,_0x5f2c3b._0x1c006e)],'maxBytes':_0x19d732,'size':_0x177d78[_0x5c9c7c(_0x5f2c3b._0x443ea9,_0x5f2c3b._0x101a83,_0x5f2c3b._0x140813,0xd2)]});const _0x4d63f1=await _0xe4f1c1(_0x4e23c4),_0x1897f1=detectImageMediaType(_0x4d63f1,_0x4e23c4);function _0x5c9c7c(_0x4751f6,_0x43308e,_0x1c872b,_0xa2eb51){return _0xedcd47(_0x4751f6-_0x3dfeb8._0xf456cb,_0x43308e-0xa0,_0x1c872b,_0x43308e-0x168);}if(!_0x1897f1)throw new ToolExecutionError('Unsupported\x20image\x20file:\x20'+_0x4617cb[_0x40830c(0x46d,_0x5f2c3b._0x2bc9b1,_0x5f2c3b._0x12f5e8,0x5bb)],{'path':_0x4617cb[_0x5c9c7c(0x2d8,0x4ad,_0x5f2c3b._0x47db3f,0x39d)],'supported':[_0x5c9c7c(0x5bc,0x755,0x8d8,0x6cc),_0x40830c(_0x5f2c3b._0x2dd5a7,0xf1,_0x5f2c3b._0x536e10,0x3f0),_0x5c9c7c(_0x5f2c3b._0x4d0ceb,0x6a9,0x8da,_0x5f2c3b._0x5caf6f),_0x5c9c7c(0x789,_0x5f2c3b._0x5752e0,_0x5f2c3b._0x31c3a1,_0x5f2c3b._0x32b175),_0x5c9c7c(0x1d0,_0x5f2c3b._0x3dfc68,0x1f1,0x5a4)]});const _0x2ae957=normalizeDetail(_0x4617cb[_0x40830c(0x682,0x44e,0x7c7,_0x5f2c3b._0x562d13)]),_0x505c9d=['Viewed\x20image\x20file:\x20'+_0x4617cb[_0x40830c(0x46d,_0x5f2c3b._0x5752e0,_0x5f2c3b._0x1eecab,0x4aa)],_0x5c9c7c(0x388,0x340,_0x5f2c3b._0x587273,_0x5f2c3b._0x3659c1)+_0x1897f1,_0x40830c(0x3f4,_0x5f2c3b._0x37bdf7,0x445,0x5aa)+_0x177d78['size']+_0x40830c(0x57a,_0x5f2c3b._0x3bc9ab,0x462,_0x5f2c3b._0x435150)]['concat'](_0x2ae957?['Detail:\x20'+_0x2ae957]:[])[_0x40830c(_0x5f2c3b._0x377002,_0x5f2c3b._0x548fd4,0x29d,_0x5f2c3b._0x2b57d0)]('\x0a');function _0x40830c(_0x56bf9e,_0x11f595,_0x451d7a,_0x544fc5){return _0x457711(_0x56bf9e-0x29,_0x544fc5,_0x56bf9e-0x9,_0x544fc5-0x184);}const _0xfb223a=[{'type':'image','source':{'type':_0x5c9c7c(0x22e,_0x5f2c3b._0x42e0a3,_0x5f2c3b._0x5aecf2,0x344),'media_type':_0x1897f1,'data':_0x4d63f1[_0x5c9c7c(_0x5f2c3b._0x177b92,_0x5f2c3b._0x1f5828,_0x5f2c3b._0x551f58,0x54d)](_0x5c9c7c(0x54f,_0x5f2c3b._0x42e0a3,_0x5f2c3b._0x408802,_0x5f2c3b._0x4a1c91))}},{'type':_0x40830c(_0x5f2c3b._0x1f1f55,0x842,0x653,0x5df),'text':_0x505c9d}];return yield createToolOutput(_0x505c9d,{'path':_0x4617cb['path'],'resolvedPath':_0x4e23c4,'created':_0x177d78[_0x40830c(0x5b7,0x703,_0x5f2c3b._0x3229c6,0x708)][_0x40830c(_0x5f2c3b._0xee224d,_0x5f2c3b._0x34a719,0x2f9,0x2bd)](),'modified':_0x177d78[_0x40830c(0x286,0x4af,0x100,_0x5f2c3b._0x2ab014)]['toISOString'](),'size':_0x177d78['size'],'mimeType':_0x1897f1,'encoding':'base64',..._0x2ae957?{'detail':_0x2ae957}:{}},_0xfb223a),void 0x0;}});}function createQuestionId(){const _0x20ab4b={_0x164818:0x6c,_0x288e0d:0x1e4,_0x5b9b37:0x175,_0x3583f2:0x2a4,_0x540391:0x35,_0x2131ac:0xa2,_0x42dc2a:0x1b7,_0x4dd8b0:0x2b9,_0x1433a2:0x5f},_0x4ccb20={_0x2dd9ef:0x1c5},_0x3825f9={_0xf4621:0x171,_0x2a9880:0xe5};function _0x57686b(_0x2364e4,_0x292e1f,_0x295663,_0x3991b7){return _0xa5377c(_0x292e1f,_0x292e1f-_0x3825f9._0xf4621,_0x295663-_0x3825f9._0x2a9880,_0x2364e4- -0x288);}function _0x39b57a(_0x8f7738,_0x426a95,_0x489be0,_0x3c2383){return _0x4eedea(_0x8f7738-0x121,_0x426a95- -_0x4ccb20._0x2dd9ef,_0x489be0,_0x3c2383-0x82);}return _0x57686b(_0x20ab4b._0x164818,_0x20ab4b._0x288e0d,0x6,-0x52)+Date['now']()+'-'+Math[_0x57686b(_0x20ab4b._0x5b9b37,_0x20ab4b._0x3583f2,0x2b9,-_0x20ab4b._0x540391)]()['toString'](0x24)[_0x39b57a(-_0x20ab4b._0x2131ac,_0x20ab4b._0x42dc2a,_0x20ab4b._0x4dd8b0,-_0x20ab4b._0x1433a2)](0x2,0x9);}function validateInput(_0x5bd301){const _0x8e2dc8={_0x3423ea:0x521,_0x1cc542:0x19d,_0x5235ba:0x1d1,_0x4dc98c:0x3df,_0x3a5b96:0x35a,_0x31476e:0x432,_0x2ea6fa:0x5d,_0x1ab060:0x120,_0x3ddd50:0x264,_0x188d01:0x44b,_0x38b2b1:0x598,_0x9fd6d0:0x1ac,_0x4d0f4f:0x75,_0xc565a3:0x373,_0x27bb5b:0x12f,_0x328773:0x3d0,_0x3e71ec:0x38c,_0x5050d5:0x28a,_0x3e2788:0x4f,_0x53dcb3:0x283,_0x1e17a3:0x2fe,_0x3c6315:0x2b9,_0x255e10:0x16f,_0x1c5f8d:0x4fa,_0x4dd466:0x39,_0x18631b:0x3b8,_0x29208e:0x5a,_0x14ea64:0x3bc,_0x5e925e:0x582,_0x4918f8:0x5e,_0x504ec1:0x20e,_0x18eac9:0x2e0,_0x11ab32:0x3ee,_0x58f7eb:0x26d,_0x1e45d8:0x3d5,_0x363726:0x3c3,_0x255690:0x96,_0x1b8597:0x18b,_0x2666b7:0x36d,_0x3fe355:0x330,_0x2feed9:0x7d,_0x31388d:0x28a,_0x161164:0xf1,_0x3d562b:0x2e8,_0x530781:0x3e6,_0x14052b:0x71,_0x224cc9:0x12b,_0x4b578a:0x1d5,_0x25a40f:0xbc,_0xafb274:0x82,_0x3f1eff:0x150,_0x3cc346:0x675,_0x273c2c:0x6b1,_0x2288ad:0x467,_0x1e297e:0x1b7,_0x86fa16:0x128,_0xb7617e:0x19b,_0x3a6f48:0x40,_0x4c35b5:0x203,_0x40d6cb:0x28a,_0x483ea9:0x404,_0x724b2c:0x21c,_0x2fab8f:0x228,_0x5aa627:0x35e,_0x18702b:0x315,_0x17fc2d:0x31b,_0x2833bb:0x1a,_0x4025e1:0x32a,_0x20f979:0x210,_0x48c9c3:0x9b,_0x2cf72e:0x9e,_0x4e4c8a:0x3f5,_0x1f199b:0x1a6,_0x58aaba:0xf0,_0x517b78:0x13b,_0x34d90b:0x8a,_0x2c5731:0x78},_0x2b5764={_0x3b3043:0x1ed,_0x7d907e:0x11f},_0x271bd9={_0x2bd0fb:0xcb};function _0x5b3a45(_0x7232e9,_0x268f07,_0x43e585,_0x5336cd){return _0xa5377c(_0x7232e9,_0x268f07-_0x271bd9._0x2bd0fb,_0x43e585-0x2f,_0x5336cd- -0x1d0);}if(!Array[_0x384392(0x3f8,_0x8e2dc8._0x3423ea,_0x8e2dc8._0x1cc542,0x3c8)](_0x5bd301['questions'])||_0x5bd301[_0x384392(_0x8e2dc8._0x5235ba,_0x8e2dc8._0x4dc98c,0x404,_0x8e2dc8._0x3a5b96)][_0x384392(0x33b,0x4be,0x325,_0x8e2dc8._0x31476e)]<0x1||_0x5bd301[_0x5b3a45(_0x8e2dc8._0x2ea6fa,0x11e,0x288,_0x8e2dc8._0x1ab060)][_0x384392(0x33b,0x23e,_0x8e2dc8._0x3ddd50,0x334)]>0xa)throw new ToolExecutionError(_0x384392(0x412,_0x8e2dc8._0x188d01,_0x8e2dc8._0x38b2b1,0x57a),{'error':_0x384392(_0x8e2dc8._0x9fd6d0,_0x8e2dc8._0x4d0f4f,_0x8e2dc8._0xc565a3,_0x8e2dc8._0x27bb5b)});function _0x384392(_0x29d5de,_0x21102c,_0x4c9544,_0x5eef0b){return _0xa5377c(_0x4c9544,_0x21102c-0xcb,_0x4c9544-_0x2b5764._0x3b3043,_0x29d5de- -_0x2b5764._0x7d907e);}for(let _0x287d59=0x0;_0x287d59<_0x5bd301['questions'][_0x5b3a45(0x36a,_0x8e2dc8._0x328773,_0x8e2dc8._0x3e71ec,_0x8e2dc8._0x5050d5)];_0x287d59+=0x1){const _0x23d39c=_0x5bd301[_0x384392(0x1d1,0x304,_0x8e2dc8._0x3e2788,_0x8e2dc8._0x53dcb3)][_0x287d59];if(!_0x23d39c[_0x5b3a45(0xb5,_0x8e2dc8._0x1e17a3,_0x8e2dc8._0x3c6315,_0x8e2dc8._0x255e10)]||typeof _0x23d39c['question']!==_0x384392(0x53b,0x70c,_0x8e2dc8._0x1c5f8d,0x73d))throw new ToolExecutionError(_0x384392(0x23c,_0x8e2dc8._0x4dd466,0x6b,0xdd)+(_0x287d59+0x1)+_0x384392(0x2b5,_0x8e2dc8._0x18631b,_0x8e2dc8._0x29208e,_0x8e2dc8._0x14ea64));if(!_0x23d39c[_0x5b3a45(0x162,_0x8e2dc8._0x5e925e,0x269,0x364)]||typeof _0x23d39c['topic']!=='string')throw new ToolExecutionError(_0x5b3a45(-_0x8e2dc8._0x4918f8,0xf4,0x6d,0x18b)+(_0x287d59+0x1)+':\x20\x22topic\x22\x20field\x20is\x20required\x20and\x20must\x20be\x20a\x20string');if(_0x23d39c[_0x384392(0x415,_0x8e2dc8._0x504ec1,_0x8e2dc8._0x18eac9,0x554)][_0x5b3a45(_0x8e2dc8._0x11ab32,_0x8e2dc8._0x58f7eb,_0x8e2dc8._0x1e45d8,0x28a)]>0x1e)throw new ToolExecutionError(_0x5b3a45(0x11e,_0x8e2dc8._0x363726,-_0x8e2dc8._0x255690,_0x8e2dc8._0x1b8597)+(_0x287d59+0x1)+_0x5b3a45(0x21c,_0x8e2dc8._0x2666b7,0x4d8,_0x8e2dc8._0x3fe355)+_0x23d39c['topic'][_0x5b3a45(_0x8e2dc8._0x2feed9,0x1d0,0x8e,_0x8e2dc8._0x31388d)]);if(!Array['isArray'](_0x23d39c['options'])||_0x23d39c[_0x384392(_0x8e2dc8._0x161164,-0xa5,-0x162,_0x8e2dc8._0x3d562b)][_0x5b3a45(0x28f,0x24a,_0x8e2dc8._0x530781,0x28a)]<0x2||_0x23d39c[_0x5b3a45(-_0x8e2dc8._0x14052b,0x13e,_0x8e2dc8._0x224cc9,0x40)][_0x5b3a45(0x404,_0x8e2dc8._0x4b578a,_0x8e2dc8._0x25a40f,0x28a)]>0x4)throw new ToolExecutionError(_0x5b3a45(_0x8e2dc8._0xafb274,_0x8e2dc8._0x3f1eff,0x1c7,_0x8e2dc8._0x1b8597)+(_0x287d59+0x1)+_0x5b3a45(_0x8e2dc8._0x3cc346,_0x8e2dc8._0x273c2c,0x2bc,_0x8e2dc8._0x2288ad));for(let _0xf9cd2=0x0;_0xf9cd2<_0x23d39c[_0x5b3a45(_0x8e2dc8._0x1e297e,-_0x8e2dc8._0x86fa16,_0x8e2dc8._0xb7617e,_0x8e2dc8._0x3a6f48)][_0x5b3a45(0x46c,0xda,_0x8e2dc8._0x4c35b5,_0x8e2dc8._0x40d6cb)];_0xf9cd2+=0x1){const _0xe6ae89=_0x23d39c['options'][_0xf9cd2];if(!_0xe6ae89[_0x5b3a45(_0x8e2dc8._0x483ea9,_0x8e2dc8._0x724b2c,0x22d,_0x8e2dc8._0x2fab8f)]||!_0xe6ae89[_0x384392(_0x8e2dc8._0x5aa627,_0x8e2dc8._0x18702b,0x407,_0x8e2dc8._0x17fc2d)])throw new ToolExecutionError(_0x5b3a45(-_0x8e2dc8._0x2833bb,_0x8e2dc8._0x4025e1,-0xd3,0x18b)+(_0x287d59+0x1)+_0x5b3a45(0xb1,_0x8e2dc8._0x20f979,_0x8e2dc8._0x48c9c3,0x1a9)+(_0xf9cd2+0x1)+_0x5b3a45(0x198,_0x8e2dc8._0x2cf72e,_0x8e2dc8._0x4e4c8a,_0x8e2dc8._0x1f199b));}if(typeof _0x23d39c['multiSelect']!==_0x384392(_0x8e2dc8._0x58aaba,-_0x8e2dc8._0x517b78,0x4,0xd5))throw new ToolExecutionError(_0x5b3a45(-_0x8e2dc8._0x34d90b,0x224,0x8c,_0x8e2dc8._0x1b8597)+(_0x287d59+0x1)+_0x5b3a45(0x43,-0x180,0x258,_0x8e2dc8._0x2c5731));}}function buildQuestions(_0x5834b4){const _0x17baf9={_0x50e9cc:0x578,_0xfa8bf2:0x5a8},_0x19847e={_0x5937f3:0x158},_0x1ed48f={_0x3f37b9:0x1ba,_0x203b04:0x1ff};function _0x3019d9(_0x5635de,_0x3f3491,_0x25847a,_0x502e44){return _0xa5377c(_0x25847a,_0x3f3491-0x1a8,_0x25847a-_0x1ed48f._0x3f37b9,_0x5635de-_0x1ed48f._0x203b04);}function _0x18fb63(_0x1b6d63,_0x53d816,_0x3ef361,_0x4b0c82){return _0x4eedea(_0x1b6d63-0xd1,_0x1b6d63-_0x19847e._0x5937f3,_0x3ef361,_0x4b0c82-0xee);}return _0x5834b4['questions'][_0x3019d9(0x4e9,0x4f8,_0x17baf9._0x50e9cc,_0x17baf9._0xfa8bf2)]((_0x2a8577,_0x45ade4)=>({'id':'q'+_0x45ade4,'question':_0x2a8577[_0x18fb63(0x2a1,0x1b6,0x3ed,0x191)],'topic':_0x2a8577['topic'],'options':_0x2a8577['options'],'multiSelect':_0x2a8577[_0x18fb63(0x23d,0x193,0x45,0x4c)]}));}function createResult(_0x37b19f,_0x4300cf,_0x362a4d){const _0x1b9a63={_0x5b6cd9:0x32f,_0x296c6f:0x10f,_0x16e32a:0x456,_0x259829:0x3d2},_0x48a85a={_0x32ae6e:0x1a0,_0x4cc9b8:0x449,_0x340165:0x12e},_0x1bdb90={_0x145489:0xfd};function _0x2d82c6(_0x3179fd,_0x49aeea,_0x327657,_0x48caa5){return _0x4eedea(_0x3179fd-_0x1bdb90._0x145489,_0x49aeea- -0x23,_0x3179fd,_0x48caa5-0x66);}const _0x5cabd4={'questionId':_0x37b19f,'questionCount':_0x4300cf,'answers':_0x362a4d};function _0x269638(_0x56b12a,_0x364ef8,_0x1e9b38,_0x15ac9f){return _0x4eedea(_0x56b12a-_0x48a85a._0x32ae6e,_0x56b12a-_0x48a85a._0x4cc9b8,_0x15ac9f,_0x15ac9f-_0x48a85a._0x340165);}return createToolOutput(_0x2d82c6(0x177,_0x1b9a63._0x5b6cd9,_0x1b9a63._0x296c6f,0x165)+JSON[_0x2d82c6(_0x1b9a63._0x16e32a,_0x1b9a63._0x259829,0x406,0x186)](_0x362a4d,null,0x2),_0x5cabd4);}function createAskUserTool(){const _0xa25160={_0x345688:0x39d,_0x27da7b:0x17a,_0x52527d:0x40,_0x24b84e:0x502,_0x42c2d0:0x369,_0xa89191:0x481,_0x498eea:0xed,_0x408cb1:0x64e,_0x27410b:0xa8,_0x14247a:0x1e,_0x24b773:0x8d,_0x34fe50:0x302,_0x3bf8da:0x230,_0x568f6d:0x38e,_0x5a1554:0x472,_0x119313:0x3af,_0x32e0dc:0x224,_0x2ce903:0x607,_0x538d45:0x3d6,_0x2699f5:0x438,_0x676c23:0x287,_0x1b4c91:0x28,_0x156170:0x429,_0x59b7f3:0x249,_0x502691:0x813,_0x50b600:0x13,_0x5e8563:0xeb,_0x5a7d1c:0x738,_0x26f0d0:0x1b5,_0x9b65c8:0x145,_0x3bcf9f:0x71e,_0x25c23b:0x791,_0x38a539:0x580,_0x34f7a8:0x4df,_0x41cbd5:0x575},_0x470935={_0x2ea234:0x779,_0x25e314:0x414,_0x429261:0x50e,_0x170de7:0x41c,_0x2e7e9d:0x333,_0x410cc9:0x51c,_0x2fa0ed:0x555,_0x33b8f4:0x630,_0x388ad1:0x1ec,_0x40cc97:0x221,_0x110213:0x419,_0x16c95a:0x241,_0x5bb2d9:0x3b2},_0x2d4cf1={_0x5de5a2:0x1ae,_0x4becad:0x501},_0x9404f0={_0x1e2ce2:0x2c,_0x42d312:0x140};function _0x540c05(_0x6c5762,_0x9c2f95,_0x36b861,_0x3da5a1){return _0x4eedea(_0x6c5762-0x5e,_0x9c2f95- -_0x9404f0._0x1e2ce2,_0x36b861,_0x3da5a1-_0x9404f0._0x42d312);}function _0x3b3880(_0x1a4382,_0x4bcd10,_0x1531a5,_0x3bb8de){return _0x4eedea(_0x1a4382-_0x2d4cf1._0x5de5a2,_0x1a4382-_0x2d4cf1._0x4becad,_0x4bcd10,_0x3bb8de-0x2a);}return defineTool({'name':_0x540c05(_0xa25160._0x345688,_0xa25160._0x27da7b,-0x26,_0xa25160._0x52527d),'permissionClass':'read','description':_0x3b3880(0x4eb,0x687,_0xa25160._0x24b84e,0x3e9),'inputSchema':{'type':_0x540c05(_0xa25160._0x42c2d0,0x230,_0xa25160._0xa89191,_0xa25160._0x498eea),'properties':{'questions':{'type':'array','items':{'type':'object','properties':{'question':{'type':_0x540c05(_0xa25160._0x408cb1,0x438,0x56e,0x579)},'topic':{'type':'string'},'options':{'type':_0x540c05(_0xa25160._0x27410b,_0xa25160._0x14247a,_0xa25160._0x24b773,-0x232),'items':{'type':_0x540c05(_0xa25160._0x34fe50,_0xa25160._0x3bf8da,_0xa25160._0x568f6d,_0xa25160._0x5a1554),'properties':{'label':{'type':_0x540c05(_0xa25160._0x119313,0x438,_0xa25160._0x32e0dc,_0xa25160._0x2ce903)},'description':{'type':_0x540c05(_0xa25160._0x538d45,_0xa25160._0x2699f5,0x58a,_0xa25160._0x676c23)}},'required':[_0x540c05(_0xa25160._0x1b4c91,0x1d6,_0xa25160._0x156170,_0xa25160._0x59b7f3),_0x3b3880(0x788,0x89e,_0xa25160._0x502691,0x7a7)]}},'multiSelect':{'type':_0x540c05(0x108,-_0xa25160._0x50b600,-0x108,_0xa25160._0x5e8563)}},'required':['question',_0x3b3880(0x83f,0xa20,_0xa25160._0x5a7d1c,0x943),_0x540c05(-_0xa25160._0x26f0d0,-0x12,-_0xa25160._0x9b65c8,-0x10),_0x3b3880(0x5e6,_0xa25160._0x3bcf9f,0x79a,0x4b7)]}},'answers':{'type':_0x3b3880(0x75d,_0xa25160._0x25c23b,0x7b0,0x682),'properties':{}}},'required':[_0x3b3880(0x5fb,_0xa25160._0x38a539,_0xa25160._0x34f7a8,_0xa25160._0x41cbd5)]},async *'execute'(_0x5e0def,_0x5a8145){const _0x5426ed={_0x206faa:0x227,_0x132b0a:0x11d},_0x30be33={_0x10ab80:0xc5},_0x172b48=_0x5e0def;validateInput(_0x172b48);const _0x5e2e64=_0x5a8145[_0x206299(_0x470935._0x2ea234,0x51b,0x384,0x617)]??createQuestionId();if(_0x172b48[_0x206299(0xe2,0x315,_0x470935._0x25e314,0x2ca)]&&Object['keys'](_0x172b48['answers'])[_0x388e52(_0x470935._0x429261,_0x470935._0x170de7,_0x470935._0x2e7e9d,_0x470935._0x410cc9)]>0x0)return createResult(_0x5e2e64,_0x172b48['questions']['length'],_0x172b48['answers']);if(!_0x5a8145[_0x388e52(0x3fa,0x373,_0x470935._0x2fa0ed,0x346)])throw new ToolExecutionError(_0x388e52(_0x470935._0x33b8f4,_0x470935._0x388ad1,_0x470935._0x40cc97,_0x470935._0x110213));function _0x388e52(_0x5019b8,_0x23e862,_0x5cebc1,_0x3bbaa9){return _0x3b3880(_0x3bbaa9- -0x249,_0x5cebc1,_0x5cebc1-_0x30be33._0x10ab80,_0x3bbaa9-0x59);}function _0x206299(_0x5c7de8,_0x286455,_0x3a1905,_0x366608){return _0x3b3880(_0x286455- -_0x5426ed._0x206faa,_0x3a1905,_0x3a1905-_0x5426ed._0x132b0a,_0x366608-0x131);}const _0xab2217=buildQuestions(_0x172b48),_0x1c8e7a=await _0x5a8145['askUser']({'questionId':_0x5e2e64,'questions':_0xab2217});yield createResult(_0x5e2e64,_0x172b48[_0x388e52(0x24e,0x1da,_0x470935._0x16c95a,_0x470935._0x5bb2d9)]['length'],_0x1c8e7a);}});}import{stat as _0x381dd1}from'fs/promises';import _0x44fc82 from'path';import{fileURLToPath as _0x5af641}from'url';function awaitWithAbort2(_0x5deb40,_0x3a7825){const _0x283510={_0x41b92a:0x3cc,_0x44c1c2:0x302,_0x28c499:0x1a8,_0x163c5e:0x11,_0x4bae82:0x6f,_0x3de81e:0x2ab},_0x1b1431={_0x427c10:0xd7,_0x42871e:0x251,_0x3d8045:0x68,_0x2ca715:0x77c,_0x1c857b:0x839},_0x36d7e1={_0x5fe9d1:0xbd},_0x319d82={_0xc2b12f:0xb0,_0x4549c6:0x34},_0x1707a4={_0x5cc93c:0x21a,_0x1bad01:0xde};if(!_0x3a7825)return _0x5deb40;if(_0x3a7825[_0x201854(0x209,_0x283510._0x41b92a,_0x283510._0x44c1c2,_0x283510._0x28c499)])return Promise[_0x20cd41(_0x283510._0x163c5e,0x79,0x11c,_0x283510._0x4bae82)](toAbortError(_0x3a7825[_0x201854(0xc0,-0x62,_0x283510._0x3de81e,0x1ef)]));function _0x20cd41(_0x5e7e12,_0x1806ba,_0x9346a,_0x1f5ec3){return _0x4eedea(_0x5e7e12-0x1d5,_0x1f5ec3- -_0x1707a4._0x5cc93c,_0x5e7e12,_0x1f5ec3-_0x1707a4._0x1bad01);}function _0x201854(_0x54fc31,_0x54fbb1,_0x4c868a,_0x2b47e2){return _0x4eedea(_0x54fc31-_0x319d82._0xc2b12f,_0x54fc31- -0xeb,_0x4c868a,_0x2b47e2-_0x319d82._0x4549c6);}return new Promise((_0x19e450,_0x7ae397)=>{const _0x3c54e7={_0x5d2b2f:0x74},_0x5bc35e={_0x50bc33:0x263,_0x3f3733:0x4b9};function _0x1bdf72(_0x5beeda,_0x50027b,_0x511c6b,_0x19ac99){return _0x20cd41(_0x50027b,_0x50027b-_0x36d7e1._0x5fe9d1,_0x511c6b-0x63,_0x511c6b-0x0);}const _0x4cfa9b=()=>{function _0x27edae(_0xae7162,_0x3789ba,_0x11fa77,_0x4430bf){return _0x7d60(_0x3789ba-0x14f,_0x4430bf);}_0x2c058f(),_0x7ae397(toAbortError(_0x3a7825[_0x27edae(_0x5bc35e._0x50bc33,_0x5bc35e._0x3f3733,0x388,0x2e4)]));},_0x2c058f=()=>_0x3a7825['removeEventListener'](_0x1bdf72(-0x2a5,0xd,-0x68,-0x111),_0x4cfa9b);function _0x13ede2(_0x37b1d1,_0x51706f,_0x392e6e,_0x166371){return _0x201854(_0x51706f-0x675,_0x51706f-0x1bb,_0x392e6e,_0x166371-_0x3c54e7._0x5d2b2f);}_0x3a7825[_0x1bdf72(_0x1b1431._0x427c10,_0x1b1431._0x42871e,0x1f3,0x1c4)](_0x1bdf72(0x169,-0x191,-_0x1b1431._0x3d8045,0x158),_0x4cfa9b,{'once':!![]}),_0x5deb40[_0x13ede2(0x549,_0x1b1431._0x2ca715,0x609,_0x1b1431._0x1c857b)](_0x2e24fc=>{_0x2c058f(),_0x19e450(_0x2e24fc);},_0x28bdba=>{_0x2c058f(),_0x7ae397(_0x28bdba);});});}function severityName(_0x539dd6){const _0x31d095={_0xad271b:0x115,_0x4bb437:0x3f3,_0x23fb24:0x342,_0x469154:0xf7,_0x48dd05:0x132,_0x3ea876:0x1c1,_0x56956c:0x1d0,_0x91f508:0x44c,_0x303c9a:0x1c7,_0x502cf3:0x498},_0x5669d5={_0x4c6938:0x15a},_0x11cc77={_0x109123:0x1cc};function _0x23a5bc(_0x53ade8,_0x7604af,_0x36433e,_0x4bd7ec){return _0xa5377c(_0x36433e,_0x7604af-_0x11cc77._0x109123,_0x36433e-0x1f4,_0x7604af- -0x303);}function _0x3a52b1(_0x367764,_0x2ec0c3,_0x5447ae,_0x5a30aa){return _0x4eedea(_0x367764-_0x5669d5._0x4c6938,_0x5a30aa- -0x19f,_0x2ec0c3,_0x5a30aa-0xa6);}switch(_0x539dd6){case 0x1:return _0x23a5bc(0x11e,0x2f5,_0x31d095._0xad271b,_0x31d095._0x4bb437);case 0x2:return _0x23a5bc(_0x31d095._0x23fb24,_0x31d095._0x469154,-_0x31d095._0x48dd05,_0x31d095._0x3ea876);case 0x3:return'Information';case 0x4:return _0x3a52b1(0x4c4,_0x31d095._0x56956c,_0x31d095._0x91f508,0x2ca);default:return _0x23a5bc(_0x31d095._0x303c9a,0x2c7,_0x31d095._0x502cf3,0x1aa);}}function formatSingleHover(_0x16d771){const _0x1bfe38={_0x4f5c96:0x3e1,_0xd33097:0x1e4,_0x507d0a:0x14e,_0x1e73ff:0x3f2,_0x2ce570:0x3e,_0x8cda51:0x138,_0x4c5407:0x1b5,_0x346d5b:0xe8,_0x357190:0x110,_0x3eb8d8:0x101,_0x13dae8:0x3a1,_0x3b6079:0x35,_0x40fac1:0x327,_0xb017e3:0x45e,_0x298080:0x211,_0x3e6520:0x86,_0x350f3b:0x13,_0x27adcf:0x1b9,_0x2ec807:0xa6,_0x1c7637:0x105},_0x39ad08={_0xddd9fd:0xf7,_0xd8842d:0x254},_0x1a3ea6={_0x3edc36:0x1a},_0x207be1=_0x16d771[_0x19ccd1(_0x1bfe38._0x4f5c96,0x3e4,_0x1bfe38._0xd33097,_0x1bfe38._0x507d0a)];function _0x44ce58(_0x102c91,_0x5cb256,_0xd7d08d,_0x2c1c82){return _0x4eedea(_0x102c91-_0x1a3ea6._0x3edc36,_0x102c91- -0x171,_0x5cb256,_0x2c1c82-0x1e3);}if(typeof _0x207be1==='string')return _0x207be1;function _0x19ccd1(_0x176deb,_0x148402,_0x121f90,_0x47bd48){return _0xa5377c(_0x148402,_0x148402-0x1ca,_0x121f90-_0x39ad08._0xddd9fd,_0x121f90- -_0x39ad08._0xd8842d);}if(Array[_0x19ccd1(0x3d3,0x140,0x2c3,_0x1bfe38._0x1e73ff)](_0x207be1))return _0x207be1[_0x19ccd1(0x114,0x66,0x96,0x299)](_0x27b782=>typeof _0x27b782==='string'?_0x27b782:_0x27b782['value'])[_0x19ccd1(-_0x1bfe38._0x2ce570,_0x1bfe38._0x8cda51,_0x1bfe38._0x4c5407,0x96)](Boolean)[_0x44ce58(-0x9b,0xce,-_0x1bfe38._0x346d5b,-0x24f)]('\x0a\x0a');if(_0x44ce58(_0x1bfe38._0x357190,0x294,-0x40,_0x1bfe38._0x3eb8d8)in _0x207be1)return _0x207be1['value'];return _0x207be1[_0x19ccd1(0xb3,_0x1bfe38._0x13dae8,0x211,-_0x1bfe38._0x3b6079)]?'```'+_0x207be1[_0x19ccd1(_0x1bfe38._0x40fac1,_0x1bfe38._0xb017e3,_0x1bfe38._0x298080,_0x1bfe38._0x3e6520)]+'\x0a'+_0x207be1[_0x19ccd1(0x3a6,-_0x1bfe38._0x350f3b,_0x1bfe38._0x27adcf,0x40f)]+'\x0a```':_0x207be1[_0x44ce58(_0x1bfe38._0x2ec807,-0x6e,_0x1bfe38._0x1c7637,-0x127)];}function formatHover(_0x2a7776){const _0x4841b1={_0x150219:0x696,_0x35c529:0x7c,_0x4b278c:0x20a,_0x1fdff0:0x5b0,_0x38202a:0x3b9},_0x564e7a={_0x300292:0x1a0,_0x1bac8f:0x1d7,_0xb34573:0x39},_0x37d13e={_0x37ecc8:0x54};if(_0x2a7776[_0x22231f(0x720,_0x4841b1._0x150219,0x8c6,0x659)]===0x0)return _0xab9f1d(-_0x4841b1._0x35c529,0xa6,_0x4841b1._0x4b278c,0xcc);function _0x22231f(_0x175acf,_0x484e43,_0x43077c,_0x4d3b24){return _0xa5377c(_0x43077c,_0x484e43-_0x37d13e._0x37ecc8,_0x43077c-0x1ab,_0x175acf-0x2c6);}function _0xab9f1d(_0x225d8d,_0x1f4272,_0x1972c2,_0x2a0f15){return _0x4eedea(_0x225d8d-_0x564e7a._0x300292,_0x1f4272- -_0x564e7a._0x1bac8f,_0x1972c2,_0x2a0f15-_0x564e7a._0xb34573);}return _0x2a7776[_0x22231f(_0x4841b1._0x1fdff0,0x756,_0x4841b1._0x38202a,0x5b4)](formatSingleHover)['join']('\x0a\x0a---\x0a\x0a');}function locationPath(_0x4ea447){const _0x46fb3f={_0x4cd695:0x389,_0x3dc022:0x4b3,_0x54dd70:0x3d0},_0xa2cbe={_0x3c3667:0x18f,_0x1cbc6a:0x78,_0x33de0a:0x1de};function _0x5826e8(_0x4d9f64,_0x4ad76f,_0x19b557,_0x2492f8){return _0xa5377c(_0x19b557,_0x4ad76f-_0xa2cbe._0x3c3667,_0x19b557-_0xa2cbe._0x1cbc6a,_0x4ad76f-_0xa2cbe._0x33de0a);}if(!_0x4ea447['startsWith'](_0x5826e8(_0x46fb3f._0x4cd695,_0x46fb3f._0x3dc022,_0x46fb3f._0x54dd70,0x6fd)))return _0x4ea447;return _0x5af641(_0x4ea447);}function formatLocations(_0x1e36fa){const _0x8307ed={_0x7b1443:0x83f,_0x585051:0x2fa,_0x305802:0x612,_0x228252:0x51c,_0x39e8df:0x3d7,_0x31e17d:0x48f,_0x48fb5b:0x757},_0x3920bb={_0x2c46a1:0x5dc,_0x20c669:0x548,_0x5096a7:0x516,_0x2138d6:0x867,_0x27dd4e:0x8aa},_0x2fa6e4={_0x3b6af5:0x2d},_0xa62a4a={_0x43b408:0x1c6};function _0x4ecabf(_0x453bbe,_0x173dfd,_0x493dd4,_0x6b5fab){return _0xa5377c(_0x493dd4,_0x173dfd-0x180,_0x493dd4-0x41,_0x6b5fab- -_0xa62a4a._0x43b408);}function _0x7fb82f(_0x34feb0,_0x4b9bba,_0x41a056,_0x19fb17){return _0xa5377c(_0x41a056,_0x4b9bba-0xbd,_0x41a056-0x42,_0x34feb0-0x298);}if(_0x1e36fa[_0x7fb82f(0x6f2,0x863,_0x8307ed._0x7b1443,0x5dd)]===0x0)return _0x4ecabf(_0x8307ed._0x585051,_0x8307ed._0x305802,_0x8307ed._0x228252,_0x8307ed._0x39e8df);return _0x1e36fa['map'](_0x427f0e=>{const _0x5648d6=_0x427f0e['range'][_0x2fd471(0x6ca,0x31b,_0x3920bb._0x2c46a1,_0x3920bb._0x20c669)];function _0x2fd471(_0x210327,_0x463581,_0x10bece,_0x1d06a5){return _0x7fb82f(_0x1d06a5- -0x3,_0x463581-0xa5,_0x463581,_0x1d06a5-0xeb);}function _0xf29e9c(_0x4b7d81,_0x336ad4,_0xeeadeb,_0x2ed063){return _0x4ecabf(_0x4b7d81-_0x2fa6e4._0x3b6af5,_0x336ad4-0x140,_0x2ed063,_0x4b7d81-0x27e);}return locationPath(_0x427f0e['uri'])+':'+(_0x5648d6[_0xf29e9c(0x49b,0x354,0x543,_0x3920bb._0x5096a7)]+0x1)+':'+(_0x5648d6[_0x2fd471(0x6de,0x9b8,_0x3920bb._0x2138d6,_0x3920bb._0x27dd4e)]+0x1);})[_0x7fb82f(0x564,0x5c9,_0x8307ed._0x31e17d,_0x8307ed._0x48fb5b)]('\x0a');}function isDocumentSymbol(_0x9ea04b){const _0x42a1e7={_0x10bdea:0x43c,_0x120c68:0x24f,_0x668908:0x82b,_0x6c2add:0x6e8,_0x135a18:0x628},_0x1ca2b6={_0x225a53:0x82,_0x3ce0ec:0x7c},_0x5ec2db={_0x5a6807:0x19c};function _0x5a31f0(_0x3a6e87,_0x120f93,_0x2b83c4,_0xe8b47d){return _0xa5377c(_0x120f93,_0x120f93-0x98,_0x2b83c4-_0x5ec2db._0x5a6807,_0x2b83c4-0x137);}function _0x53de97(_0x4df24d,_0x37158a,_0x4892b9,_0x227f68){return _0x4eedea(_0x4df24d-_0x1ca2b6._0x225a53,_0x4df24d-0xe6,_0x227f68,_0x227f68-_0x1ca2b6._0x3ce0ec);}return _0x5a31f0(0x2ee,_0x42a1e7._0x10bdea,0x32a,_0x42a1e7._0x120c68)in _0x9ea04b&&_0x5a31f0(_0x42a1e7._0x668908,_0x42a1e7._0x6c2add,_0x42a1e7._0x135a18,0x5b4)in _0x9ea04b;}function formatSymbols(_0x501889){const _0x201eb4={_0x54971a:0x62b,_0x116925:0x54b,_0x5c3895:0x5cf,_0x3baca0:0x3a6,_0x288bfb:0x417},_0x260a22={_0x3a3cc7:0x640,_0x527562:0x52f,_0x4db8d4:0x831,_0x5061b4:0x752,_0x39341c:0x70e,_0x4a2f97:0x399,_0x324b07:0x30c,_0x3371a5:0x36b,_0x9ebe8f:0x671,_0x304951:0x486,_0x442f95:0x2ab,_0x4bd3de:0x4e5,_0x31090b:0x2ed,_0x5f3c6b:0x4b1,_0x5c9347:0x76d,_0x4dbf1c:0x813,_0x1481ba:0x6ac,_0x5ef171:0x784,_0xd0c20f:0x48d,_0x48d6f9:0x611,_0x3a14bd:0x880,_0x1a7b78:0x675,_0x47601d:0x42e,_0x5de6f8:0x332,_0x219884:0x382,_0x377919:0x49b,_0x16d45e:0x5d1,_0x29864d:0x543,_0x20e9c1:0x305,_0x42db4b:0x4bf,_0x1efa08:0x367,_0x15da85:0x3ca,_0x29bd81:0x36b,_0x348ed7:0x154,_0x2aa063:0x85e,_0x3b8113:0x7f7,_0x3b69d2:0x993,_0x57e9c0:0x813},_0x2210df={_0x27cca1:0x1d1},_0x509cba={_0x1c038b:0x9d,_0x34774d:0x165},_0x4dd530={_0x4a50ea:0xc9,_0x89681f:0x223},_0x47eee8={_0x181ea4:0x341,_0x707d0a:0x1dc};function _0x406948(_0x105567,_0x4e322a,_0x137549,_0x2f682d){return _0x4eedea(_0x105567-0xdc,_0x2f682d-_0x47eee8._0x181ea4,_0x4e322a,_0x2f682d-_0x47eee8._0x707d0a);}function _0x531478(_0x353c63,_0xbcb9e,_0x4d7311,_0x5bd08e){return _0x4eedea(_0x353c63-_0x4dd530._0x4a50ea,_0xbcb9e-_0x4dd530._0x89681f,_0x5bd08e,_0x5bd08e-0x176);}if(_0x501889[_0x406948(0x61f,_0x201eb4._0x54971a,0x600,0x5a5)]===0x0)return _0x406948(_0x201eb4._0x116925,0x767,0x5c0,_0x201eb4._0x5c3895);return _0x501889['map'](_0x2c0d4f=>{function _0x401c00(_0x5c4a1c,_0x14f76b,_0x3a3cf7,_0x25a409){return _0x406948(_0x5c4a1c-_0x509cba._0x1c038b,_0x14f76b,_0x3a3cf7-_0x509cba._0x34774d,_0x3a3cf7- -0x93);}function _0x1ce78c(_0x15e714,_0xeebe2d,_0x12113a,_0x3fe403){return _0x531478(_0x15e714-0x108,_0x3fe403-_0x2210df._0x27cca1,_0x12113a-0x5c,_0x15e714);}if(isDocumentSymbol(_0x2c0d4f))return _0x2c0d4f[_0x401c00(0x5a4,0x624,0x660,0x7c4)]+'\x20('+_0x2c0d4f[_0x401c00(0x510,_0x260a22._0x3a3cc7,_0x260a22._0x527562,0x6a1)]+_0x401c00(_0x260a22._0x4db8d4,_0x260a22._0x5061b4,_0x260a22._0x39341c,0x94e)+(_0x2c0d4f[_0x401c00(0x389,0x1d9,0x2ab,0x61)][_0x401c00(_0x260a22._0x4a2f97,_0x260a22._0x324b07,_0x260a22._0x3371a5,0x287)][_0x401c00(0x42f,_0x260a22._0x9ebe8f,0x49b,_0x260a22._0x304951)]+0x1)+':'+(_0x2c0d4f[_0x401c00(0x422,0xae,_0x260a22._0x442f95,0x15e)][_0x1ce78c(0x60e,_0x260a22._0x4bd3de,_0x260a22._0x31090b,_0x260a22._0x5f3c6b)][_0x1ce78c(0x878,0x5f8,_0x260a22._0x5c9347,_0x260a22._0x4dbf1c)]+0x1)+']';return _0x2c0d4f[_0x1ce78c(_0x260a22._0x1481ba,0x8f1,_0x260a22._0x5ef171,0x7a6)]+'\x20('+_0x2c0d4f[_0x1ce78c(_0x260a22._0xd0c20f,_0x260a22._0x48d6f9,_0x260a22._0x3a14bd,_0x260a22._0x1a7b78)]+')\x20'+locationPath(_0x2c0d4f['location'][_0x401c00(0x590,0x1be,0x38a,0x200)])+':'+(_0x2c0d4f[_0x1ce78c(_0x260a22._0x47601d,0x530,0x815,0x689)]['range'][_0x1ce78c(0x4a3,_0x260a22._0x5de6f8,0x691,0x4b1)][_0x401c00(_0x260a22._0x219884,0x636,_0x260a22._0x377919,0x5b2)]+0x1)+':'+(_0x2c0d4f[_0x401c00(_0x260a22._0x16d45e,0x31c,_0x260a22._0x29864d,_0x260a22._0x20e9c1)][_0x1ce78c(0x1a7,_0x260a22._0x42db4b,0x352,0x3f1)][_0x401c00(_0x260a22._0x1efa08,_0x260a22._0x15da85,_0x260a22._0x29bd81,_0x260a22._0x348ed7)][_0x1ce78c(_0x260a22._0x2aa063,_0x260a22._0x3b8113,_0x260a22._0x3b69d2,_0x260a22._0x57e9c0)]+0x1);})[_0x406948(0x5ae,_0x201eb4._0x3baca0,0x5c2,_0x201eb4._0x288bfb)]('\x0a');}function formatDiagnostics(_0x5a46af){const _0x1b9221={_0x3ff994:0x8ae,_0x25854e:0x6c6,_0x6c216d:0x5a8,_0x985b17:0x7a3,_0x1664db:0x87f,_0x32f089:0x3b4,_0x3977e2:0x38c},_0x213715={_0x1be264:0x47f,_0x203744:0x39b,_0x26d7b5:0x290,_0x261c5e:0x364,_0x4c0466:0x8fc,_0x2e6910:0x7e1},_0x384411={_0x44c94f:0xb0,_0x52915f:0xfb},_0x56fb43={_0x19b677:0x19a},_0x1b9e76={_0x313a33:0x60};function _0x11f4f2(_0x2f9dcd,_0x5873fe,_0x1a1691,_0x142e84){return _0x4eedea(_0x2f9dcd-0x1d6,_0x2f9dcd-0x539,_0x5873fe,_0x142e84-_0x1b9e76._0x313a33);}function _0x32175d(_0x2463da,_0x2e6d18,_0x56b70e,_0x2e7cd6){return _0x4eedea(_0x2463da-0x83,_0x56b70e-0x475,_0x2e7cd6,_0x2e7cd6-_0x56fb43._0x19b677);}if(_0x5a46af[_0x11f4f2(0x79d,_0x1b9221._0x3ff994,_0x1b9221._0x25854e,0x941)]===0x0)return'No\x20diagnostics';return _0x5a46af[_0x11f4f2(0x62d,_0x1b9221._0x6c216d,_0x1b9221._0x985b17,_0x1b9221._0x1664db)](_0x4a76e2=>{const _0x262ab2={_0x1f3b6d:0x1cc};function _0x2ffacf(_0x26ad6c,_0xcbe806,_0x5bb1bb,_0x426e78){return _0x32175d(_0x26ad6c-0x136,_0xcbe806-_0x262ab2._0x1f3b6d,_0x5bb1bb- -0x17e,_0x26ad6c);}function _0xe062ec(_0x42439c,_0x661a4e,_0x554430,_0x154328){return _0x32175d(_0x42439c-_0x384411._0x44c94f,_0x661a4e-0x1eb,_0x554430-_0x384411._0x52915f,_0x154328);}const _0x1c8349=_0x4a76e2[_0xe062ec(0x3ef,0x598,0x56d,_0x213715._0x1be264)][_0x2ffacf(_0x213715._0x203744,_0x213715._0x26d7b5,0x3b4,0x268)];return severityName(_0x4a76e2[_0x2ffacf(0x2d1,0x362,0x3fb,0x1b3)])+'\x20['+(_0x1c8349[_0x2ffacf(0x4fb,_0x213715._0x261c5e,0x4e4,0x580)]+0x1)+':'+(_0x1c8349['character']+0x1)+']\x20'+_0x4a76e2[_0xe062ec(0x965,0x971,_0x213715._0x4c0466,_0x213715._0x2e6910)];})[_0x32175d(_0x1b9221._0x32f089,_0x1b9221._0x3977e2,0x54b,0x472)]('\x0a');}function formatIncomingCalls(_0x3349d3){const _0x564840={_0x2c42cb:0x225,_0x5aa1a2:0x8e,_0x4f4274:0x70,_0x55606d:0x86,_0x19c44f:0x20},_0x4549d7={_0xa02ba9:0x42,_0x553766:0x14e};function _0x2de34b(_0x161f90,_0x3cfe79,_0x268211,_0x2f951e){return _0x4eedea(_0x161f90-0x17a,_0x3cfe79- -0x1be,_0x2f951e,_0x2f951e-0x88);}function _0x62f020(_0x4b2069,_0x42361b,_0x4c9739,_0x5bad4a){return _0x4eedea(_0x4b2069-_0x4549d7._0xa02ba9,_0x5bad4a- -0xf6,_0x4b2069,_0x5bad4a-_0x4549d7._0x553766);}if(_0x3349d3[_0x62f020(-0x75,0x64,0x20b,0x16e)]===0x0)return _0x62f020(-_0x564840._0x2c42cb,_0x564840._0x5aa1a2,_0x564840._0x4f4274,-_0x564840._0x55606d);return _0x3349d3['map'](_0x5f0380=>_0x5f0380[_0x62f020(0x41,0x4b6,0x26c,0x26c)][_0x62f020(0x30b,0xba,0x2a8,0x2bc)])[_0x62f020(-0x57,-0x27b,-0x1dd,-_0x564840._0x19c44f)]('\x0a');}function formatOutgoingCalls(_0x160ffa){const _0x2816cd={_0x554610:0xc0,_0x10c158:0x19a,_0x513c22:0x41,_0x5d3475:0xbf},_0x200994={_0x1993a6:0xa0},_0x3c2b24={_0x35dc0b:0x124,_0x73d1e5:0xe1};if(_0x160ffa[_0x339c37(_0x2816cd._0x554610,0x8a,_0x2816cd._0x10c158,_0x2816cd._0x513c22)]===0x0)return'No\x20call\x20hierarchy\x20results';function _0x872e65(_0x43519e,_0xa93952,_0x45d987,_0xfaa2e6){return _0x4eedea(_0x43519e-_0x3c2b24._0x35dc0b,_0xfaa2e6-0x1e0,_0x45d987,_0xfaa2e6-_0x3c2b24._0x73d1e5);}function _0x339c37(_0xca9e47,_0x50e48b,_0x13f359,_0x519b80){return _0x4eedea(_0xca9e47-0x2b,_0x519b80- -0x223,_0x13f359,_0x519b80-_0x200994._0x1993a6);}return _0x160ffa['map'](_0x419624=>_0x419624['to']['name'])[_0x872e65(0x6e,0x35c,_0x2816cd._0x5d3475,0x2b6)]('\x0a');}function toStructured(_0x5ead08){const _0x269ff0={_0x482bff:0x24f,_0x57928d:0x1fa},_0x4d6cc6={_0x4bdc0d:0x1a6,_0x48f7f7:0x90};function _0x318cb8(_0x2bb478,_0x27e484,_0x5cc103,_0x17d8e4){return _0x4eedea(_0x2bb478-0x1b0,_0x2bb478- -_0x4d6cc6._0x4bdc0d,_0x17d8e4,_0x17d8e4-_0x4d6cc6._0x48f7f7);}return JSON['parse'](JSON[_0x318cb8(_0x269ff0._0x482bff,0x31b,0x1c3,_0x269ff0._0x57928d)](_0x5ead08));}async function assertFile(_0x477115){const _0x5d9b66={_0x3b3680:0x462,_0x20cdf7:0x64d,_0xf15e5b:0x720,_0x4c6f1e:0x5d2},_0x459bfa={_0x2d04f7:0x16c,_0x12df4d:0x1f4,_0x3e51ff:0x2e8},_0x3fb38d={_0x38cdac:0x1c2,_0x4ff4bc:0x92};function _0x4fda54(_0x2fe003,_0x5712f3,_0x3e343a,_0x4949e5){return _0x4eedea(_0x2fe003-_0x3fb38d._0x38cdac,_0x5712f3-0x228,_0x3e343a,_0x4949e5-_0x3fb38d._0x4ff4bc);}const _0x5c2a87=await _0x381dd1(_0x477115);function _0x5d1b1e(_0x5449cd,_0x36919d,_0xda7dd,_0x362fe7){return _0xa5377c(_0x5449cd,_0x36919d-_0x459bfa._0x2d04f7,_0xda7dd-_0x459bfa._0x12df4d,_0x36919d-_0x459bfa._0x3e51ff);}if(!_0x5c2a87[_0x4fda54(0x4cc,_0x5d9b66._0x3b3680,0x315,_0x5d9b66._0x20cdf7)]())throw new ToolExecutionError(_0x5d1b1e(0x579,0x6f8,_0x5d9b66._0xf15e5b,_0x5d9b66._0x4c6f1e)+_0x477115,{'path':_0x477115});}function validatePosition(_0xd4d8cb,_0x46dfe0){const _0x29148e={_0x386678:0x30e,_0x2cbad1:0x2ac,_0x302c29:0x7b,_0x398cc4:0x2a2,_0x15c60e:0x76f,_0x357726:0x6aa,_0x19857b:0x6c1,_0x446490:0x725},_0x40cdd6={_0x3aaeb3:0x175};if(!Number[_0xddde9(_0x29148e._0x386678,0x2ad,_0x29148e._0x2cbad1,0x3c0)](_0xd4d8cb)||_0xd4d8cb<0x1)throw new ToolExecutionError(_0xddde9(-_0x29148e._0x302c29,-0x118,-0x4b,-_0x29148e._0x398cc4),{'line':_0xd4d8cb});function _0xddde9(_0x26e4d4,_0x4b6888,_0x476816,_0x31f1f2){return _0xa5377c(_0x476816,_0x4b6888-0x35,_0x476816-0xd5,_0x26e4d4- -0x320);}function _0x405704(_0x2fd68f,_0x220225,_0x4ee300,_0x7032e3){return _0x4eedea(_0x2fd68f-0x18d,_0x220225-0x272,_0x4ee300,_0x7032e3-_0x40cdd6._0x3aaeb3);}if(!Number[_0x405704(_0x29148e._0x15c60e,_0x29148e._0x357726,0x73f,0x748)](_0x46dfe0)||_0x46dfe0<0x1)throw new ToolExecutionError(_0x405704(0x537,0x4e6,_0x29148e._0x19857b,_0x29148e._0x446490),{'character':_0x46dfe0});}function createLspTool(_0x2f2ce6={}){const _0x388fcd={_0x234ca7:0x2cf,_0x367c09:0x316,_0x5b10d0:0x7fa,_0x34e22f:0x33e,_0x466be8:0x370,_0x2fa3a3:0x464,_0x2903bd:0x737,_0x363e0d:0x7a0,_0x595932:0x772,_0x130ddc:0x5d4,_0x313d34:0x42e,_0x587552:0x644,_0x4eaf0e:0x26e,_0x20544d:0x248,_0x54018a:0xa5,_0x3a4f6a:0x2f5,_0x206d48:0x59c,_0x3e93b3:0x339,_0x122ddc:0x4e9,_0xfcd918:0x3d6,_0x100174:0x5ba,_0x585087:0x2b,_0x1aea1a:0x3f8,_0x13da07:0x62f,_0x4192de:0x301,_0x45c096:0x5de,_0x3f33ec:0x73d,_0x32c2de:0x63d,_0x538df1:0x743,_0x4a3809:0x749,_0x2d7357:0x460,_0x35f8aa:0x354,_0x5e82e1:0x315,_0x2fc507:0x42b,_0x42d034:0x89a,_0x70867:0x65f,_0x24a397:0x65d},_0x1a29d4={_0x17871d:0x7ee,_0x546f6c:0xa1d,_0x522473:0x6c2,_0x49b394:0xa3b,_0x554ce1:0x841,_0x6023c0:0x6c9,_0x34ddf6:0x789,_0x1b57a7:0x70e,_0x45f85c:0x7d9,_0x1cd6f9:0x940,_0x92b5c5:0xb79,_0x42c4d5:0x8bb,_0x215245:0xa9c,_0x495857:0x747,_0x489af5:0x7c4,_0x1c0907:0x77f,_0x5b2967:0x6f9,_0x42fdcf:0x664,_0x17fe11:0x67f,_0x408da8:0x533,_0x3da959:0x8fd,_0x5b5593:0x9f4,_0x593032:0x93e,_0x8a62e0:0x942,_0x4a2711:0x568,_0x24a778:0x758,_0x207d55:0x3c8,_0x35b185:0x8d7,_0x589005:0x6df,_0x23519d:0x888,_0x3ba3af:0x6fa,_0x53489f:0xa72,_0x3e7158:0x39e,_0xe9eb46:0x5e7,_0x460b11:0x5d5,_0x26e942:0x339,_0x431f24:0x4bd,_0x329eb0:0x316,_0x464d99:0x88c,_0x3bf965:0x773,_0x3313e3:0x57d,_0x57282d:0x757,_0x1b8c1e:0x940,_0x2b403e:0xabc,_0x323933:0x755,_0x45a6f6:0x73f,_0x5f20bd:0x79b,_0x42d3c0:0x5ae,_0x423d1c:0x685,_0x5bdf3c:0x556,_0xb6dee6:0x7f8,_0x13d5dd:0xaa2,_0x4abcaf:0xa23,_0x2d6efa:0x7ea,_0x65df2e:0x856,_0x4010de:0xa36,_0x491547:0x8c9,_0x2d14b5:0xa02,_0xb9d263:0x58c,_0x3d8c78:0x5cb,_0x1aa22d:0xa58,_0x4709af:0xa3c,_0x3c4c52:0x6c2,_0x14f32a:0x52b,_0x3ae270:0x3a4,_0x50fe2f:0x59b,_0x3a5a3d:0x48a,_0x43d0d7:0x6ec,_0x510646:0x96b,_0x4b9733:0x993,_0x6e800:0x92c,_0x42bb61:0x857,_0x2f4d9f:0x6a6,_0xe2356c:0x89f,_0x221dfd:0x4f9,_0x5c5568:0x71b,_0x7142e9:0x5de,_0x32318e:0x8fd,_0x419d29:0x7ff,_0x32f0e8:0xa05,_0x5194f8:0x909,_0x5a31b6:0xaad,_0x1d64a9:0x7d3,_0x2d1f4f:0x714},_0xab92c6={_0x300420:0x1ac,_0x272ecf:0x6d},_0x14fc7a={_0x407ec4:0x89,_0x1365a9:0x72,_0xca1ab9:0x358},_0x2c805a={_0x42fb4:0x1cf},_0x41adc3=_0x44fc82['resolve'](_0x2f2ce6['defaultCwd']??process[_0x1e1892(_0x388fcd._0x234ca7,0x1ab,_0x388fcd._0x367c09,0x3da)]()),_0x3d5038=_0x2f2ce6['allowedDirs']??[],_0x28f0ac=_0x2f2ce6[_0xd95a67(0x526,0x4e6,_0x388fcd._0x5b10d0,0x5f0)]??_0xd95a67(_0x388fcd._0x34e22f,0x2b1,_0x388fcd._0x466be8,_0x388fcd._0x2fa3a3);function _0xd95a67(_0x28c26f,_0x3293d6,_0x4ab33c,_0x335513){return _0x4eedea(_0x28c26f-0x150,_0x335513-0x23e,_0x28c26f,_0x335513-_0x2c805a._0x42fb4);}function _0x1e1892(_0x28f141,_0x54134f,_0x22dca7,_0x87c9db){return _0xa5377c(_0x54134f,_0x54134f-0x4a,_0x22dca7-0x56,_0x87c9db- -0x86);}return defineTool({'name':_0x28f0ac,'permissionClass':'read','description':'Query\x20Language\x20Server\x20Protocol\x20code\x20intelligence\x20for\x20workspace\x20files:\x20definitions,\x20references,\x20hover,\x20symbols,\x20call\x20hierarchy,\x20and\x20diagnostics.','inputSchema':{'type':'object','properties':{'operation':{'type':_0x1e1892(_0x388fcd._0x2903bd,_0x388fcd._0x363e0d,_0x388fcd._0x595932,_0x388fcd._0x130ddc),'enum':[_0xd95a67(0x682,_0x388fcd._0x313d34,0x429,_0x388fcd._0x587552),_0xd95a67(0x374,_0x388fcd._0x4eaf0e,0x10e,_0x388fcd._0x20544d),_0xd95a67(0x2ed,0x298,0x3cb,0x45c),_0x1e1892(0x421,_0x388fcd._0x54018a,0x33d,_0x388fcd._0x3a4f6a),_0x1e1892(_0x388fcd._0x206d48,_0x388fcd._0x3e93b3,0x6c9,_0x388fcd._0x122ddc),_0x1e1892(_0x388fcd._0xfcd918,0x5c7,0x653,_0x388fcd._0x100174),_0xd95a67(-_0x388fcd._0x585087,0x272,0x285,0x22d),_0x1e1892(_0x388fcd._0x1aea1a,_0x388fcd._0x13da07,_0x388fcd._0x4192de,0x4e3),_0xd95a67(0x531,0x627,0x6f2,_0x388fcd._0x45c096),_0xd95a67(0x40d,_0x388fcd._0x3f33ec,_0x388fcd._0x32c2de,0x5f2)]},'filePath':{'type':_0x1e1892(0x6f1,_0x388fcd._0x538df1,_0x388fcd._0x4a3809,_0x388fcd._0x130ddc)},'line':{'type':_0xd95a67(_0x388fcd._0x2d7357,0x3d3,0x8f,0x238)},'character':{'type':_0xd95a67(_0x388fcd._0x35f8aa,0x23c,0x9b,0x238)},'query':{'type':'string'}},'required':['operation','filePath',_0xd95a67(0x646,0x49a,_0x388fcd._0x5e82e1,_0x388fcd._0x2fc507),_0xd95a67(0x800,_0x388fcd._0x42d034,_0x388fcd._0x70867,_0x388fcd._0x24a397)]},async *'execute'(_0x2f657b,_0x357d18){const _0x24a625=_0x2f2ce6[_0x125e0b(0x349,0x4f6,0x5f3,0x715)];function _0x338531(_0x314a44,_0x24864b,_0x2e9d8b,_0x426c32){return _0xd95a67(_0x24864b,_0x24864b-_0x14fc7a._0x407ec4,_0x2e9d8b-_0x14fc7a._0x1365a9,_0x314a44-_0x14fc7a._0xca1ab9);}if(!_0x24a625)throw new ToolExecutionError(_0x338531(0x88e,_0x1a29d4._0x17871d,_0x1a29d4._0x546f6c,_0x1a29d4._0x522473));if(!_0x24a625['isEnabled']())throw new ToolExecutionError('LSP\x20service\x20is\x20disabled');const _0x32ad9b=_0x2f657b[_0x125e0b(_0x1a29d4._0x49b394,_0x1a29d4._0x554ce1,_0x1a29d4._0x6023c0,0xa3c)];validatePosition(_0x2f657b[_0x125e0b(_0x1a29d4._0x34ddf6,_0x1a29d4._0x1b57a7,0x748,_0x1a29d4._0x45f85c)],_0x2f657b[_0x125e0b(0xad1,_0x1a29d4._0x1cd6f9,_0x1a29d4._0x92b5c5,0xa38)]);if(_0x32ad9b===_0x338531(0x90f,_0x1a29d4._0x42c4d5,0x90a,_0x1a29d4._0x215245)){if(!_0x2f657b['query']?.[_0x338531(0x67f,0x74c,0x62b,_0x1a29d4._0x495857)]())throw new ToolExecutionError(_0x125e0b(_0x1a29d4._0x489af5,_0x1a29d4._0x1c0907,0x705,_0x1a29d4._0x5b2967));const _0x53a84e=await awaitWithAbort2(_0x24a625[_0x125e0b(0x9e7,0x89a,_0x1a29d4._0x42fdcf,0x8a0)](_0x2f657b['query'][_0x338531(_0x1a29d4._0x17fe11,0x5cc,0x59c,_0x1a29d4._0x408da8)]()),_0x357d18[_0x338531(_0x1a29d4._0x3da959,_0x1a29d4._0x5b5593,0xae5,0x7b1)]);return yield createToolOutput(formatSymbols(_0x53a84e),{'operation':_0x32ad9b,'query':_0x2f657b[_0x338531(_0x1a29d4._0x593032,0x9ba,_0x1a29d4._0x8a62e0,0x722)],'symbols':_0x53a84e}),void 0x0;}const _0x1a59e7=resolveAllowedPath(_0x41adc3,_0x3d5038,_0x2f657b[_0x338531(_0x1a29d4._0x4a2711,_0x1a29d4._0x24a778,0x360,_0x1a29d4._0x207d55)]);await assertFile(_0x1a59e7);if(!await awaitWithAbort2(_0x24a625[_0x338531(_0x1a29d4._0x35b185,0xa00,0xa39,0x8a1)](_0x1a59e7),_0x357d18[_0x125e0b(_0x1a29d4._0x589005,_0x1a29d4._0x23519d,_0x1a29d4._0x3ba3af,_0x1a29d4._0x53489f)]))throw new ToolExecutionError(_0x125e0b(_0x1a29d4._0x3e7158,_0x1a29d4._0xe9eb46,_0x1a29d4._0x460b11,0x3bb)+_0x2f657b[_0x338531(_0x1a29d4._0x4a2711,_0x1a29d4._0x26e942,_0x1a29d4._0x431f24,_0x1a29d4._0x329eb0)],{'filePath':_0x2f657b['filePath']});function _0x125e0b(_0x14e8d2,_0x529a66,_0xf8b05e,_0x3132ff){return _0x1e1892(_0x14e8d2-_0xab92c6._0x300420,_0xf8b05e,_0xf8b05e-_0xab92c6._0x272ecf,_0x529a66-0x3b1);}await awaitWithAbort2(_0x24a625['touchFile'](_0x1a59e7,!![]),_0x357d18[_0x125e0b(0xae5,_0x1a29d4._0x23519d,0x6b2,_0x1a29d4._0x464d99)]);const _0x55092c={'file':_0x1a59e7,'line':_0x2f657b[_0x125e0b(_0x1a29d4._0x3bf965,0x70e,0x945,_0x1a29d4._0x3313e3)]-0x1,'character':_0x2f657b[_0x125e0b(_0x1a29d4._0x57282d,_0x1a29d4._0x1b8c1e,_0x1a29d4._0x5b2967,_0x1a29d4._0x2b403e)]-0x1};switch(_0x32ad9b){case _0x125e0b(_0x1a29d4._0x323933,_0x1a29d4._0x45a6f6,0x59c,_0x1a29d4._0x5f20bd):{const _0x5ca11f=await awaitWithAbort2(_0x24a625[_0x125e0b(_0x1a29d4._0x42d3c0,0x73f,_0x1a29d4._0x423d1c,_0x1a29d4._0x5bdf3c)](_0x55092c),_0x357d18[_0x125e0b(0x819,0x888,0x900,0x87a)]);return yield createToolOutput(formatHover(_0x5ca11f),{'operation':_0x32ad9b,'filePath':_0x1a59e7,'hover':_0x5ca11f}),void 0x0;}case _0x125e0b(_0x1a29d4._0xb6dee6,0x8d5,0x83c,_0x1a29d4._0x13d5dd):{const _0x1d5f30=await awaitWithAbort2(_0x24a625[_0x125e0b(_0x1a29d4._0x4abcaf,_0x1a29d4._0x2d6efa,_0x1a29d4._0x65df2e,_0x1a29d4._0x4010de)](_0x1a59e7),_0x357d18['signal']);return yield createToolOutput(formatDiagnostics(_0x1d5f30),{'operation':_0x32ad9b,'filePath':_0x1a59e7,'diagnostics':_0x1d5f30}),void 0x0;}case _0x338531(0x99c,0xb3c,_0x1a29d4._0x491547,_0x1a29d4._0x2d14b5):{const _0x2e425c=await awaitWithAbort2(_0x24a625[_0x338531(_0x1a29d4._0xb9d263,0x689,_0x1a29d4._0x3d8c78,0x5df)](_0x55092c),_0x357d18[_0x125e0b(_0x1a29d4._0x1aa22d,0x888,_0x1a29d4._0x4709af,_0x1a29d4._0x3c4c52)]);return yield createToolOutput(formatLocations(_0x2e425c),{'operation':_0x32ad9b,'filePath':_0x1a59e7,'locations':_0x2e425c}),void 0x0;}case _0x125e0b(0x511,_0x1a29d4._0x14f32a,0x781,_0x1a29d4._0x3ae270):{const _0x229e0d=await awaitWithAbort2(_0x24a625[_0x338531(0x62b,_0x1a29d4._0x50fe2f,_0x1a29d4._0x3a5a3d,0x662)](_0x55092c),_0x357d18[_0x338531(0x8fd,0x70b,0xb50,_0x1a29d4._0x43d0d7)]);return yield createToolOutput(formatLocations(_0x229e0d),{'operation':_0x32ad9b,'filePath':_0x1a59e7,'locations':_0x229e0d}),void 0x0;}case _0x125e0b(0xaa7,_0x1a29d4._0x510646,0xafe,_0x1a29d4._0x4b9733):{const _0x1698dd=await awaitWithAbort2(_0x24a625[_0x338531(0x8ed,0x739,0xa27,0x710)](_0x55092c),_0x357d18[_0x338531(_0x1a29d4._0x3da959,_0x1a29d4._0x6e800,_0x1a29d4._0x13d5dd,_0x1a29d4._0x42bb61)]);return yield createToolOutput(formatLocations(_0x1698dd),{'operation':_0x32ad9b,'filePath':_0x1a59e7,'locations':_0x1698dd}),void 0x0;}case _0x125e0b(0x448,_0x1a29d4._0x2f4d9f,_0x1a29d4._0xe2356c,_0x1a29d4._0x221dfd):{const _0x105712=await awaitWithAbort2(_0x24a625[_0x338531(_0x1a29d4._0x5c5568,_0x1a29d4._0x7142e9,0x939,0x7fb)](_0x1a59e7),_0x357d18[_0x338531(_0x1a29d4._0x32318e,_0x1a29d4._0x419d29,_0x1a29d4._0x32f0e8,0x7f2)]);return yield createToolOutput(formatSymbols(_0x105712),{'operation':_0x32ad9b,'filePath':_0x1a59e7,'symbols':_0x105712}),void 0x0;}case _0x338531(0x585,0x429,0x430,0x7c0):{const _0x48a7a4=await awaitWithAbort2(_0x24a625[_0x125e0b(0x5b5,0x510,0x530,0x568)](_0x55092c),_0x357d18[_0x125e0b(0x792,_0x1a29d4._0x23519d,0x811,0xa72)]);return yield createToolOutput(formatSymbols(_0x48a7a4),{'operation':_0x32ad9b,'filePath':_0x1a59e7,'symbols':toStructured(_0x48a7a4)}),void 0x0;}case _0x338531(0x909,0x881,0x891,0x6e3):{const _0x41b2e7=await awaitWithAbort2(_0x24a625[_0x338531(_0x1a29d4._0x5194f8,0x9bd,_0x1a29d4._0x5a31b6,_0x1a29d4._0x1d64a9)](_0x55092c),_0x357d18[_0x338531(0x8fd,0xb0c,_0x1a29d4._0x2d1f4f,_0x1a29d4._0x24a778)]);return yield createToolOutput(formatIncomingCalls(_0x41b2e7),{'operation':_0x32ad9b,'filePath':_0x1a59e7,'calls':toStructured(_0x41b2e7)}),void 0x0;}case'outgoingCalls':{const _0x303fc0=await awaitWithAbort2(_0x24a625['outgoingCalls'](_0x55092c),_0x357d18['signal']);return yield createToolOutput(formatOutgoingCalls(_0x303fc0),{'operation':_0x32ad9b,'filePath':_0x1a59e7,'calls':toStructured(_0x303fc0)}),void 0x0;}}}});}import*as _0x906f98 from'path';function buildDescription(_0x2d7a36){const _0x181ff7={_0x5c43d4:0x148,_0x3856f7:0xa,_0x4026a2:0x170,_0x1b3710:0x1d6,_0x2b2093:0xec},_0x18415d={_0x5a85dd:0xdc,_0x2d1d57:0x190};if(_0x2d7a36['length']===0x0)return _0x54eaf4(_0x181ff7._0x5c43d4,0x129,0x33a,-0x5a);const _0x47298e=['Load\x20a\x20skill\x20to\x20get\x20detailed\x20instructions\x20for\x20a\x20specific\x20task.',_0x48698a(-_0x181ff7._0x3856f7,0x33,0x142,_0x181ff7._0x4026a2),_0x48698a(0x419,0xf7,0x12c,0x23f),_0x48698a(-0xcd,_0x181ff7._0x1b3710,0x1d5,_0x181ff7._0x2b2093),..._0x2d7a36['map'](_0x2ce267=>'-\x20'+_0x2ce267[_0x54eaf4(0x418,0x392,0x658,0x5bf)]+':\x20'+_0x2ce267[_0x48698a(0xd5,0x15c,0x288,0x235)])];function _0x48698a(_0x4a6056,_0x3edf42,_0x583657,_0x58d0f7){return _0x4eedea(_0x4a6056-0x69,_0x58d0f7- -0x52,_0x583657,_0x58d0f7-0x127);}function _0x54eaf4(_0x1b48ad,_0x13108e,_0x221e78,_0x527816){return _0xa5377c(_0x13108e,_0x13108e-_0x18415d._0x5a85dd,_0x221e78-0x1b5,_0x1b48ad- -_0x18415d._0x2d1d57);}return _0x47298e['join']('\x0a');}function createLoadSkillTool(_0x2441c2){const _0x2b286e={_0x39af1c:0x561,_0x2d976a:0x575,_0x2f2149:0x45b,_0x4ff4c4:0x3ff,_0x13ad0f:0x556,_0x5a6efa:0x221,_0x1adacd:0x1a4,_0x31e9c1:0x20,_0x555d1e:0x7bb,_0x2102e0:0x98b},_0x57de62={_0x1c8262:0xf1,_0x12605e:0x1ea,_0x461ce8:0x220,_0x457b0d:0x2f,_0xb01186:0x222,_0x5784bb:0x27b,_0x4a98ef:0xb4,_0x3be45e:0x4cb,_0xe0e061:0xa3,_0x4de7ef:0x1b1,_0x27e87a:0x43,_0x116d76:0x1ee,_0x21b4ed:0x553,_0x179839:0x469,_0x4be601:0x5e3,_0x123d6f:0x399,_0x34b9fe:0x1f1,_0x4f14b0:0x610,_0x5f0fae:0x48d,_0x252a81:0x49a,_0x3a0aad:0x296,_0x2abcfe:0x287,_0x427ebf:0x1ca,_0x15a605:0x35a,_0xbed416:0x21c,_0xbd9215:0x1de,_0x2dd3a2:0x5b2,_0xdf36ef:0x3ae,_0x91a9dd:0x499,_0x4cdcd0:0x230,_0x1db556:0x1c0,_0x35569b:0x2b4,_0x159532:0x17,_0x35096e:0x34e,_0x14b546:0x1ef,_0x1f8243:0x2b5,_0x2bc027:0x2d2,_0xdc8622:0x11a,_0x1f59ce:0x34,_0x236fb3:0x1ec,_0x1acb7d:0xba,_0x3fc4d2:0x23,_0x42161d:0x339},_0x2d28b3={_0x5714fb:0x42,_0xfbe5c8:0xbc,_0x48bb4d:0x1f0},_0x29de18={_0x523575:0xd6,_0x3eb0ad:0x124},_0x53f4a8=new Map(_0x2441c2['skills']['map'](_0x42a415=>[_0x42a415[_0x16bfc8(0x798,0x7c9,0x8b4,0x60c)],_0x42a415])),_0x5af786=buildDescription(_0x2441c2[_0x16bfc8(0x5b9,_0x2b286e._0x39af1c,0x6b4,_0x2b286e._0x2d976a)]);function _0x42335d(_0x56182d,_0x858b5f,_0x24929f,_0xcb5d6e){return _0x4eedea(_0x56182d-_0x29de18._0x523575,_0x24929f- -_0x29de18._0x3eb0ad,_0x56182d,_0xcb5d6e-0x103);}function _0x16bfc8(_0x5ab13e,_0x3c45e1,_0x72af26,_0x511891){return _0xa5377c(_0x72af26,_0x3c45e1-_0x2d28b3._0x5714fb,_0x72af26-_0x2d28b3._0xfbe5c8,_0x5ab13e-_0x2d28b3._0x48bb4d);}return defineTool({'name':_0x16bfc8(_0x2b286e._0x2f2149,_0x2b286e._0x4ff4c4,_0x2b286e._0x13ad0f,0x4b0),'permissionClass':_0x42335d(_0x2b286e._0x5a6efa,0x2fd,_0x2b286e._0x1adacd,-_0x2b286e._0x31e9c1),'description':_0x5af786,'inputSchema':{'type':_0x16bfc8(0x642,0x7c4,0x578,0x635),'properties':{'name':{'type':_0x16bfc8(0x84a,_0x2b286e._0x555d1e,_0x2b286e._0x2102e0,0x75d)}},'required':['name']},async *'execute'(_0x497de7){const _0x27b54e={_0x54c18e:0x45,_0x4c8cf6:0x5a},_0x1de307=_0x53f4a8[_0x22da1c(0x29a,_0x57de62._0x1c8262,_0x57de62._0x12605e,_0x57de62._0x461ce8)](_0x497de7[_0x22da1c(0x424,0x1d7,0x2d2,-_0x57de62._0x457b0d)]);if(!_0x1de307){const _0x31ab95=Array['from'](_0x53f4a8[_0x3f610a(_0x57de62._0xb01186,_0x57de62._0x5784bb,_0x57de62._0x4a98ef,_0x57de62._0x3be45e)]())[_0x3f610a(_0x57de62._0xe0e061,_0x57de62._0x4de7ef,-_0x57de62._0x27e87a,_0x57de62._0x116d76)](',\x20');throw new ToolExecutionError(_0x3f610a(_0x57de62._0x21b4ed,0x50d,_0x57de62._0x179839,_0x57de62._0x4be601)+_0x497de7[_0x3f610a(0x3ca,0x48d,0x39e,_0x57de62._0x123d6f)]+_0x22da1c(-_0x57de62._0x34b9fe,-0xa0,-0x1ff,0x46)+_0x31ab95,{'name':_0x497de7[_0x3f610a(_0x57de62._0x4f14b0,_0x57de62._0x5f0fae,_0x57de62._0x252a81,_0x57de62._0x3a0aad)]});}const _0x1ad42a=await _0x2441c2['loadSkill'](_0x1de307),_0x4a0ecf=_0x1de307['source'][_0x3f610a(0x214,0x200,0x218,0x149)]??_0x906f98[_0x3f610a(0x57,_0x57de62._0x2abcfe,_0x57de62._0x427ebf,_0x57de62._0x15a605)](_0x1de307[_0x3f610a(_0x57de62._0x34b9fe,0x1ec,_0x57de62._0xbed416,0x26e)][_0x3f610a(0x2ac,0x2a7,_0x57de62._0xbd9215,0x370)]);function _0x3f610a(_0x1c1cfd,_0x12e8f3,_0x27a53d,_0x1e5167){return _0x16bfc8(_0x12e8f3- -0x30b,_0x12e8f3-0x16a,_0x1c1cfd,_0x1e5167-0x63);}function _0x22da1c(_0x334630,_0x16e7e0,_0x6f28c6,_0x590d31){return _0x42335d(_0x334630,_0x16e7e0-_0x27b54e._0x54c18e,_0x16e7e0- -0xb7,_0x590d31-_0x27b54e._0x4c8cf6);}const _0x270041=[_0x3f610a(_0x57de62._0x2dd3a2,_0x57de62._0xdf36ef,_0x57de62._0x91a9dd,_0x57de62._0x4cdcd0)+_0x1ad42a[_0x22da1c(_0x57de62._0x1db556,0x1d7,_0x57de62._0x35569b,-_0x57de62._0x159532)],'',_0x1ad42a[_0x3f610a(_0x57de62._0x35096e,_0x57de62._0x14b546,0x317,_0x57de62._0x1f8243)],'',_0x22da1c(_0x57de62._0x2bc027,0x152,_0x57de62._0xdc8622,-_0x57de62._0x1f59ce),_0x3f610a(0x49b,0x279,0x13c,0x4a6)+_0x1de307[_0x3f610a(0x357,_0x57de62._0x236fb3,_0x57de62._0x1acb7d,0x276)][_0x22da1c(0x1d3,-0xf,-0x1f8,0x14b)],'Base\x20directory:\x20'+_0x4a0ecf][_0x22da1c(-0x11a,-0x105,-0x2e8,0x99)]('\x0a');return yield createToolOutput(_0x270041,{'id':_0x1ad42a['id'],'name':_0x1ad42a['name'],'path':_0x1de307[_0x3f610a(-_0x57de62._0x3fc4d2,0x1ec,0x2a1,_0x57de62._0x42161d)]['path'],'baseDirectory':_0x4a0ecf}),void 0x0;}});}var TODO_STATUSES=new Set([_0x4eedea(0x451,0x250,0x2ac,0x35f),_0x4eedea(0x29a,0x1da,-0x81,0x150),'completed']),TODO_PRIORITIES=new Set(['high','medium',_0xa5377c(0x5c9,0x5ce,0x487,0x4fb)]);function isTodoStatus(_0xa9311){const _0x1ae398={_0x5061bd:0x274,_0x372309:0x35b,_0x2d2435:0x3ea,_0x1197d6:0x453},_0x4382bd={_0x22163f:0x1a,_0x2fc6dc:0x19d},_0x3dddb8={_0x45bed1:0xe0,_0x1888b6:0x109,_0x110ddb:0x75};function _0x14e3f4(_0x5e5c27,_0x5c6ce0,_0x146702,_0x5d5de2){return _0x4eedea(_0x5e5c27-_0x3dddb8._0x45bed1,_0x5d5de2- -_0x3dddb8._0x1888b6,_0x146702,_0x5d5de2-_0x3dddb8._0x110ddb);}function _0xba6001(_0x1fa682,_0x5d0c6b,_0x4bdc84,_0x595c96){return _0xa5377c(_0x5d0c6b,_0x5d0c6b-0x11a,_0x4bdc84-_0x4382bd._0x22163f,_0x4bdc84-_0x4382bd._0x2fc6dc);}return typeof _0xa9311===_0x14e3f4(0x32b,_0x1ae398._0x5061bd,0x4a6,_0x1ae398._0x372309)&&TODO_STATUSES[_0xba6001(_0x1ae398._0x2d2435,0x351,0x46b,_0x1ae398._0x1197d6)](_0xa9311);}function isTodoPriority(_0x114d16){const _0x593a06={_0x2a1888:0x417,_0x4507c5:0xe9,_0x475a57:0x39e,_0x86cc31:0x74},_0x591e7b={_0x399171:0xa},_0x5d3800={_0x249ba8:0x112,_0x610b4e:0x6};function _0x527fae(_0xe4ee13,_0x5f3205,_0x396f8b,_0x2e95b7){return _0xa5377c(_0xe4ee13,_0x5f3205-_0x5d3800._0x249ba8,_0x396f8b-0x19,_0x396f8b-_0x5d3800._0x610b4e);}function _0x3dec10(_0x2d476b,_0xd2d037,_0x4f9968,_0x674270){return _0x4eedea(_0x2d476b-0x114,_0x674270-0x381,_0x2d476b,_0x674270-_0x591e7b._0x399171);}return typeof _0x114d16===_0x527fae(0x6ae,0x871,0x660,_0x593a06._0x2a1888)&&TODO_PRIORITIES[_0x527fae(_0x593a06._0x4507c5,_0x593a06._0x475a57,0x2d4,_0x593a06._0x86cc31)](_0x114d16);}var TodoStore=class{[_0x4eedea(0x332,0x38e,0x3b2,0x3d6)]=new Map();[_0xa5377c(0x6a5,0x538,0x283,0x490)](_0x3e6b09){const _0x46fcca={_0x5a8f31:0x87b,_0x4a2746:0x61e},_0x8cbc92={_0x3204b0:0x24d},_0x12a3eb={_0x301b58:0x78,_0xcb3ed1:0x453,_0x32bc49:0x5e};function _0x164d4c(_0x4aa9f7,_0x446e73,_0x37d06b,_0x1d4725){return _0x4eedea(_0x4aa9f7-_0x12a3eb._0x301b58,_0x37d06b-_0x12a3eb._0xcb3ed1,_0x4aa9f7,_0x1d4725-_0x12a3eb._0x32bc49);}function _0x472d86(_0x55ea6f,_0x6644d,_0x4afb94,_0x3abe50){return _0xa5377c(_0x4afb94,_0x6644d-0x1e3,_0x4afb94-0x16c,_0x3abe50- -_0x8cbc92._0x3204b0);}return this[_0x164d4c(_0x46fcca._0x5a8f31,0x84a,0x7e1,0x79f)][_0x164d4c(_0x46fcca._0x4a2746,0x4f8,0x71f,0x90c)](_0x3e6b09)??[];}['setTodos'](_0x43812f,_0x2fc205){const _0x1f826d={_0x4a47b0:0x234,_0x211664:0x2d3};function _0x256566(_0x4c9974,_0x5f0165,_0x653a3b,_0xaa70c4){return _0xa5377c(_0xaa70c4,_0x5f0165-0x1a5,_0x653a3b-0x139,_0x5f0165- -0x3e2);}this[_0x256566(_0x1f826d._0x4a47b0,0x1a2,-0x9,_0x1f826d._0x211664)]['set'](_0x43812f,_0x2fc205);}[_0x4eedea(0x49,0x86,0x23c,0x1ed)](_0x3e5d42){const _0x400b32={_0x429943:0x71c,_0x49a026:0x57c,_0x319d0a:0x61b,_0x3f10cc:0x7c3,_0x183cc8:0x49f,_0x1a045f:0x872,_0x23a04e:0x462,_0x54b28f:0x6b7,_0x41c1f3:0x5b9,_0x5adea6:0x734,_0x241545:0x30b,_0x16b2f7:0x3ea,_0x36cdf3:0x3cd},_0x37b902={_0x19179d:0x119},_0x337030={_0x2885df:0xd3,_0x126695:0x66};function _0x5bc865(_0x2b1ae7,_0x4cc15f,_0x50b44f,_0x4b0ee1){return _0xa5377c(_0x4cc15f,_0x4cc15f-_0x337030._0x2885df,_0x50b44f-0x84,_0x50b44f-_0x337030._0x126695);}function _0x388a32(_0x30e0e4,_0x2fbce4,_0xb3aadb,_0x3c4606){return _0x4eedea(_0x30e0e4-0x182,_0x2fbce4-0x489,_0x30e0e4,_0x3c4606-_0x37b902._0x19179d);}const _0x2bb8d0=this['getTodos'](_0x3e5d42),_0x313ea7={'total':_0x2bb8d0[_0x388a32(0x60b,0x6ed,0x7e4,0x900)],'pending':0x0,'inProgress':0x0,'completed':0x0};for(const _0x68b40e of _0x2bb8d0){if(_0x68b40e['status']===_0x388a32(_0x400b32._0x429943,0x6d9,_0x400b32._0x49a026,_0x400b32._0x319d0a))_0x313ea7[_0x388a32(_0x400b32._0x3f10cc,0x6d9,0x4fc,_0x400b32._0x183cc8)]+=0x1;else{if(_0x68b40e[_0x388a32(0x94d,0x7d5,0x635,0x780)]===_0x388a32(0x84d,0x663,_0x400b32._0x1a045f,_0x400b32._0x23a04e))_0x313ea7[_0x5bc865(_0x400b32._0x54b28f,0x418,_0x400b32._0x41c1f3,_0x400b32._0x5adea6)]+=0x1;else _0x313ea7[_0x5bc865(_0x400b32._0x241545,0x3ba,_0x400b32._0x16b2f7,_0x400b32._0x36cdf3)]+=0x1;}}return _0x313ea7;}};function validateTodos(_0x4d6e7c){const _0x456943={_0x152372:0x835,_0x22a3a8:0x75b,_0x3c533f:0x7cf,_0x5797f1:0x671,_0x2fa1a9:0x91f,_0x5e636a:0x496,_0x30c7d8:0x70c,_0x166332:0xa4f,_0x1d7b0a:0xb51,_0xd856fc:0x4dc,_0x5c18ee:0x57c,_0x3942f8:0x332,_0x35fe27:0x181,_0x4739f:0x89a,_0x3818c2:0x56f,_0x32ab86:0x395,_0x202ba3:0x366,_0x2ece7c:0x2e1,_0x5cffb9:0xb36,_0x1aa825:0xb99,_0x4ab687:0x493,_0x55514a:0x5c2,_0x1613a8:0x61d,_0x1cb54b:0x7fe,_0x2206e7:0x396,_0x4493af:0x64c,_0x247fe9:0x410,_0x4de9a1:0x633,_0x3bde97:0x4a2,_0xbb796:0x49d,_0xa6afc:0x52f,_0x12ed0c:0x45e,_0x8771cd:0x369,_0x372ce4:0x590,_0x56afdf:0x14b,_0x2fbf18:0x7d7,_0x425b92:0x9d1,_0x1723a2:0x93e,_0x2aabb1:0x77a,_0x1698e8:0x639,_0x4bbf44:0x61e,_0x22853b:0x7cb,_0x9b7162:0x594,_0x6c03b1:0x5fd,_0x3e863e:0x61d,_0x4d3d07:0x5c5,_0x5c6d87:0x343,_0xc7bff:0x269,_0x2717b4:0x2a4,_0x3be737:0xe4,_0x165fee:0x660,_0x161e01:0x543,_0x2f5553:0x382,_0x407194:0x555,_0x848495:0x10f,_0x4fc3e5:0x69f,_0x2a1489:0x52a},_0x34b8e3={_0x47d907:0x280},_0x2f0572={_0x479dde:0x56b};if(!Array['isArray'](_0x4d6e7c[_0x203a58(0x8e6,0x92e,_0x456943._0x152372,0x8c6)])||_0x4d6e7c['todos'][_0x203a58(_0x456943._0x22a3a8,_0x456943._0x3c533f,_0x456943._0x5797f1,_0x456943._0x2fa1a9)]===0x0)throw new ToolExecutionError('Parameter\x20\x22todos\x22\x20must\x20be\x20a\x20non-empty\x20array',{'error':_0x203a58(_0x456943._0x5e636a,0x5a5,0x64d,_0x456943._0x30c7d8)});for(let _0x3ff03b=0x0;_0x3ff03b<_0x4d6e7c['todos']['length'];_0x3ff03b+=0x1){const _0x3145d0=_0x4d6e7c[_0x203a58(0x7b3,0x92e,_0x456943._0x166332,_0x456943._0x1d7b0a)][_0x3ff03b];if(!_0x3145d0||typeof _0x3145d0!==_0x5a7c0e(_0x456943._0xd856fc,0x44e,_0x456943._0x5c18ee,0x6ce))throw new ToolExecutionError(_0x5a7c0e(_0x456943._0x3942f8,_0x456943._0x35fe27,0x421,0x352)+(_0x3ff03b+0x1)+_0x5a7c0e(0x64b,_0x456943._0x4739f,0x81d,_0x456943._0x3818c2),{'error':_0x5a7c0e(_0x456943._0x32ab86,_0x456943._0x202ba3,_0x456943._0x2ece7c,0x4ca)});if(typeof _0x3145d0['id']!==_0x203a58(0xbeb,0x9cf,_0x456943._0x5cffb9,_0x456943._0x1aa825)||_0x3145d0['id'][_0x203a58(_0x456943._0x4ab687,0x654,_0x456943._0x55514a,0x4c6)]()['length']===0x0)throw new ToolExecutionError(_0x203a58(0x44c,_0x456943._0x1613a8,0x5ac,_0x456943._0x1cb54b)+(_0x3ff03b+0x1)+_0x203a58(_0x456943._0x2206e7,0x5c8,0x566,_0x456943._0x4493af),{'error':_0x203a58(_0x456943._0x247fe9,0x5b1,0x364,_0x456943._0x4de9a1)});if(typeof _0x3145d0[_0x5a7c0e(0x244,_0x456943._0x3bde97,0x112,0x369)]!=='string'||_0x3145d0[_0x203a58(_0x456943._0xbb796,_0x456943._0xa6afc,_0x456943._0x12ed0c,0x678)][_0x5a7c0e(_0x456943._0x8771cd,_0x456943._0x372ce4,0x567,_0x456943._0x56afdf)]()[_0x203a58(_0x456943._0x2fbf18,0x7cf,_0x456943._0x425b92,_0x456943._0x1723a2)]===0x0)throw new ToolExecutionError(_0x203a58(_0x456943._0x2aabb1,0x61d,0x442,0x4c7)+(_0x3ff03b+0x1)+':\x20content\x20required',{'error':_0x203a58(0x62b,_0x456943._0x1698e8,_0x456943._0x4bbf44,_0x456943._0x22853b)});if(!isTodoStatus(_0x3145d0['status']))throw new ToolExecutionError('Todo\x20'+(_0x3ff03b+0x1)+_0x5a7c0e(_0x456943._0x9b7162,0x668,0x5ed,_0x456943._0x6c03b1),{'error':'invalid_todo_status'});if(!isTodoPriority(_0x3145d0[_0x203a58(0x69a,0x826,0x7b3,0x806)]))throw new ToolExecutionError(_0x203a58(0x658,_0x456943._0x3e863e,0x441,_0x456943._0x4d3d07)+(_0x3ff03b+0x1)+_0x5a7c0e(_0x456943._0x5c6d87,0x2b6,0x1bd,_0x456943._0xc7bff),{'error':_0x5a7c0e(_0x456943._0x2717b4,_0x456943._0x3be737,0x18f,0x6f)});}function _0x203a58(_0x2eb755,_0xaec92a,_0x1d5fc8,_0x2bdec5){return _0x4eedea(_0x2eb755-0x1f4,_0xaec92a-_0x2f0572._0x479dde,_0x2bdec5,_0x2bdec5-0x174);}const _0x9a3288=_0x4d6e7c[_0x5a7c0e(0x643,_0x456943._0x165fee,_0x456943._0x161e01,0x60d)][_0x5a7c0e(0x374,_0x456943._0x2f5553,0x300,_0x456943._0x407194)](_0x4374c1=>_0x4374c1['id']);function _0x5a7c0e(_0x521e8c,_0x48eddb,_0x13e61e,_0x459277){return _0x4eedea(_0x521e8c-0xf0,_0x521e8c-_0x34b8e3._0x47d907,_0x459277,_0x459277-0x15);}if(new Set(_0x9a3288)[_0x5a7c0e(0x25a,_0x456943._0x848495,0x474,0x3cc)]!==_0x9a3288[_0x5a7c0e(0x4e4,0x72f,_0x456943._0x4fc3e5,0x4a4)])throw new ToolExecutionError(_0x5a7c0e(_0x456943._0x2a1489,0x6b1,0x4b6,0x407),{'error':'duplicate_todo_ids'});}function createStatsProgress(_0x3bd62a){const _0x37b3b8={_0x5895d7:0x6ed,_0x4a7788:0x7da},_0x34010f={_0x310bcd:0x1bc},_0x49b1f3={_0x43a0c2:0xc4,_0x2b91fe:0x74,_0x282d68:0x124};function _0x10e51a(_0x102848,_0x439659,_0x349813,_0x59eb47){return _0xa5377c(_0x439659,_0x439659-_0x49b1f3._0x43a0c2,_0x349813-_0x49b1f3._0x2b91fe,_0x349813-_0x49b1f3._0x282d68);}function _0x5b12ab(_0x41d0b8,_0x44b254,_0x185c00,_0x29595e){return _0xa5377c(_0x185c00,_0x44b254-_0x34010f._0x310bcd,_0x185c00-0x4f,_0x41d0b8-0x195);}return _0x3bd62a[_0x5b12ab(0x526,_0x37b3b8._0x5895d7,0x54e,0x53e)]>0x0?Math[_0x5b12ab(0x740,0x5a7,0x8fa,_0x37b3b8._0x4a7788)](_0x3bd62a['completed']/_0x3bd62a['total']*0x64)+'%':'0%';}function createReminderItems(_0x53c234){const _0x34f3c0={_0xc48b7:0x1e9,_0x673be9:0x94},_0x2f55c6={_0x56bb84:0xf5,_0x302a36:0x163},_0x465667={_0x40bd6f:0x1c4};function _0x4cf0aa(_0x43f947,_0x21df98,_0x46571d,_0x4720fd){return _0xa5377c(_0x21df98,_0x21df98-0x7e,_0x46571d-0x1c5,_0x46571d-_0x465667._0x40bd6f);}function _0x4d7ef9(_0x5bc7cc,_0x1f6637,_0xfaf169,_0x808cd3){return _0x4eedea(_0x5bc7cc-0xdf,_0x1f6637-_0x2f55c6._0x56bb84,_0xfaf169,_0x808cd3-_0x2f55c6._0x302a36);}return _0x53c234[_0x4d7ef9(0x3ca,_0x34f3c0._0xc48b7,0x1d9,_0x34f3c0._0x673be9)](_0x4281ae=>({'content':_0x4281ae[_0x4cf0aa(0x302,0x313,0x37e,0x4e3)],'status':_0x4281ae[_0x4d7ef9(0x5ae,0x441,0x332,0x65c)],'id':_0x4281ae['id']}));}function createStructuredResult(_0x59256b,_0x229a8c,_0x5eccc,_0x127afa){const _0x54a9dd={_0x1e936d:0x6da,_0x3c9718:0x700},_0x33207e={_0x5d4cb0:0xf2,_0x4c9fa3:0x49c,_0x5a9d40:0xd7};function _0x44020a(_0x1ee845,_0x19d5b5,_0x5008d,_0x3d577e){return _0x4eedea(_0x1ee845-_0x33207e._0x5d4cb0,_0x3d577e-_0x33207e._0x4c9fa3,_0x19d5b5,_0x3d577e-_0x33207e._0x5a9d40);}function _0x5b814b(_0x4a1a0a,_0x2c952a,_0x222eed,_0x11a54d){return _0xa5377c(_0x4a1a0a,_0x2c952a-0xa4,_0x222eed-0x104,_0x11a54d- -0x32);}return{'allCompleted':_0x127afa,'items':_0x229a8c['map'](_0x4a0bcb=>({'id':_0x4a0bcb['id'],'content':_0x4a0bcb[_0x44020a(0x312,0x2b4,0x66b,0x460)],'status':_0x4a0bcb[_0x44020a(0x5df,0x6b2,0x60f,0x7e8)],'priority':_0x4a0bcb[_0x5b814b(0x37f,0x62f,0x2da,0x47f)],'createdAt':_0x4a0bcb['createdAt']})),'progress':createStatsProgress(_0x5eccc),'recentChanges':!![],'sessionId':_0x59256b,'stats':_0x5eccc,'todosWritten':_0x229a8c[_0x44020a(_0x54a9dd._0x1e936d,0x75e,0x524,_0x54a9dd._0x3c9718)]};}function createOutputText(_0x251fab,_0x46a0df){const _0x1cef7c={_0x29e3d3:0x98b,_0x2425c1:0x5e0,_0x406c2b:0x4a5,_0x6c045f:0x5da,_0x44dbdb:0x83c,_0x4f0961:0xa3a,_0x5854c3:0x84c,_0x99a556:0x839},_0x3c249b={_0x3365d3:0x444,_0x442c47:0x136},_0x197330=JSON[_0x5c3e90(0x750,0x5a4,_0x1cef7c._0x29e3d3,_0x1cef7c._0x2425c1)](createReminderItems(_0x251fab));if(_0x46a0df)return'All\x20'+_0x251fab[_0x5c3e90(0x5bf,_0x1cef7c._0x406c2b,0x4d6,_0x1cef7c._0x6c045f)]+_0x315e46(_0x1cef7c._0x44dbdb,_0x1cef7c._0x4f0961,0x7a0,0xa80)+_0x197330+_0x315e46(0x84c,0xa62,0x6a7,0xa4b);function _0x315e46(_0x2acecd,_0xd21b3b,_0x30fc3d,_0x38fe3f){return _0x4eedea(_0x2acecd-0x1f3,_0x2acecd-_0x3c249b._0x3365d3,_0x30fc3d,_0x38fe3f-_0x3c249b._0x442c47);}function _0x5c3e90(_0xae9896,_0xf36813,_0x26b07d,_0x41d5d1){return _0xa5377c(_0xf36813,_0xf36813-0x19b,_0x26b07d-0x4a,_0xae9896-0x165);}return _0x315e46(0x746,0x59a,0x86a,0x7d8)+_0x197330+_0x315e46(_0x1cef7c._0x5854c3,0x9ed,_0x1cef7c._0x99a556,0x95f);}function createTodoWriteTool(_0x19e0b1=new TodoStore()){const _0x556039={_0x216afd:0x4f9,_0x2b5502:0x704,_0x39566e:0x28f,_0x227f5a:0x4c0,_0x34d192:0x19c,_0x2e9d81:0x3d4,_0x3b5d89:0x2e3,_0x3d803b:0x42b,_0x517439:0x4f5,_0x42edb1:0x47a,_0x45f2fd:0x7f4,_0x5c6d45:0x8df,_0x3328bc:0x371,_0x5e931d:0x5b8,_0x15a71e:0x5c1,_0x45cb2a:0x81f,_0x4f9984:0x9f4,_0x259d46:0x6f7,_0x48b38c:0x6cc,_0x55afdf:0x84d},_0x55bba6={_0x99b221:0x5fe,_0x576137:0x556,_0x4e9d77:0x7c4,_0x4b2779:0x447,_0x5d9970:0x321,_0x3293c6:0x175,_0x543eb5:0x57c,_0x5dfd61:0x775,_0x37ec62:0x421,_0xbf371a:0x1a9,_0x10a21a:0x23f,_0x340dcd:0x39f,_0x5b4dc4:0x2fa,_0x1e976a:0x47f,_0x41e4b4:0x42c},_0x5e6f42={_0x2eea60:0x2b8,_0x5bc319:0x19b},_0x3c758c={_0x37ceb2:0x1d,_0x1455d1:0x77},_0x321da9={_0x10267a:0x67};function _0x981ec0(_0x5c2733,_0x5eb5f1,_0x2dd9d6,_0x20b1fb){return _0x4eedea(_0x5c2733-0x65,_0x5c2733- -0x39,_0x2dd9d6,_0x20b1fb-_0x321da9._0x10267a);}function _0x36b0fa(_0x227dc9,_0x1b3096,_0x5c30c8,_0x1a5b34){return _0xa5377c(_0x227dc9,_0x1b3096-_0x3c758c._0x37ceb2,_0x5c30c8-_0x3c758c._0x1455d1,_0x1b3096-0x2ca);}return defineTool({'name':_0x36b0fa(_0x556039._0x216afd,0x4db,0x640,_0x556039._0x2b5502),'permissionClass':_0x981ec0(_0x556039._0x39566e,0x2f,_0x556039._0x227f5a,_0x556039._0x34d192),'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':'object','properties':{'todos':{'type':'array','items':{'type':_0x981ec0(0x223,_0x556039._0x2e9d81,-0x23,_0x556039._0x3b5d89),'properties':{'content':{'type':'string'},'status':{'type':_0x981ec0(_0x556039._0x3d803b,0x32e,_0x556039._0x517439,_0x556039._0x42edb1)},'priority':{'type':_0x36b0fa(_0x556039._0x45f2fd,0x924,0x91e,_0x556039._0x5c6d45)},'id':{'type':_0x981ec0(0x42b,_0x556039._0x3328bc,_0x556039._0x5e931d,0x572)},'createdAt':{'type':'string'}},'required':[_0x36b0fa(_0x556039._0x15a71e,0x484,0x4d3,0x4a5),_0x36b0fa(_0x556039._0x45cb2a,0x80c,0x657,_0x556039._0x4f9984),_0x36b0fa(_0x556039._0x259d46,0x77b,_0x556039._0x48b38c,_0x556039._0x55afdf),'id']}}},'required':[_0x981ec0(0x38a,0x1c3,0x1f9,0x530)]},async *'execute'(_0x308f6e,_0x28a956){const _0x431a98={_0x335d3c:0x103},_0x10cdc6=_0x308f6e;validateTodos(_0x10cdc6);function _0x64f37(_0x48b1ee,_0x1e29d4,_0x1390f8,_0x2e667e){return _0x981ec0(_0x2e667e-_0x5e6f42._0x2eea60,_0x1e29d4-0x13c,_0x1e29d4,_0x2e667e-_0x5e6f42._0x5bc319);}const _0x3f0742=_0x28a956[_0x4364d4(_0x55bba6._0x99b221,0x82c,_0x55bba6._0x576137,0x5a0)]||_0x64f37(_0x55bba6._0x4e9d77,_0x55bba6._0x576137,_0x55bba6._0x4b2779,0x61b),_0x462c68=new Date()[_0x4364d4(0x223,_0x55bba6._0x5d9970,0x30f,_0x55bba6._0x3293c6)](),_0x3ad722=_0x10cdc6[_0x4364d4(_0x55bba6._0x543eb5,0x4d4,_0x55bba6._0x5dfd61,_0x55bba6._0x37ec62)][_0x64f37(0x122,0x20e,_0x55bba6._0xbf371a,0x373)](_0x397526=>({'id':_0x397526['id'],'content':_0x397526['content'],'status':_0x397526[_0x4364d4(0x505,0x3dd,0x5d4,0x667)],'priority':_0x397526[_0x4364d4(0x474,0x672,0x5c1,0x496)],'sessionId':_0x3f0742,'createdAt':_0x397526[_0x4364d4(0x57b,0x45c,0x3d3,0x774)]||_0x462c68,'updatedAt':_0x462c68}));_0x19e0b1[_0x4364d4(0x197,-0x78,0x107,0x37f)](_0x3f0742,_0x3ad722);const _0x5256de=_0x19e0b1[_0x4364d4(_0x55bba6._0x10a21a,0x122,_0x55bba6._0x340dcd,_0x55bba6._0x5b4dc4)](_0x3f0742),_0x566dd4=_0x3ad722[_0x64f37(0x4e8,0x2e2,0x2b7,0x4e3)]>0x0&&_0x3ad722[_0x64f37(_0x55bba6._0x1e976a,_0x55bba6._0x41e4b4,0x7e6,0x5d3)](_0x1c4d07=>_0x1c4d07[_0x64f37(0x547,0x70a,0x5cb,0x5cb)]===_0x64f37(0x310,0x615,0x5ff,0x40d));function _0x4364d4(_0x1ecef2,_0x2d611a,_0x1acea8,_0xe3c2e){return _0x981ec0(_0x1ecef2-0x1f2,_0x2d611a-0x3,_0x2d611a,_0xe3c2e-_0x431a98._0x335d3c);}return createToolOutput(createOutputText(_0x3ad722,_0x566dd4),createStructuredResult(_0x3f0742,_0x3ad722,_0x5256de,_0x566dd4));}});}var BackgroundBashStartError=class extends Error{constructor(_0x5cb529){const _0x1cd8cc={_0x4782c8:0x370,_0x3ba1cf:0x4df,_0x26a38e:0x1b2,_0x282342:0x155,_0x10e2ec:0x8f,_0x5cd3a8:0x2a7,_0x414ef7:0x355,_0x5c139f:0x5b7,_0x1bdcec:0x239,_0x24e520:0x3d8},_0x5e2f22={_0x3553d7:0x26,_0x309685:0x1bb,_0x407d8a:0x147},_0xd68038={_0x2a71f7:0x163,_0x5e793e:0x156};super(_0x5cb529===_0x21fa2c(0x589,0x7cd,_0x1cd8cc._0x4782c8,_0x1cd8cc._0x3ba1cf)?_0x4c94ca(-_0x1cd8cc._0x26a38e,-0x3ab,-0x1dc,0x33):_0x21fa2c(_0x1cd8cc._0x282342,_0x1cd8cc._0x10e2ec,_0x1cd8cc._0x5cd3a8,-0x5b));function _0x21fa2c(_0x147fb4,_0x5ec929,_0x47edf7,_0x3efc4c){return _0x4eedea(_0x147fb4-_0xd68038._0x2a71f7,_0x147fb4-_0xd68038._0x5e793e,_0x5ec929,_0x3efc4c-0x18a);}function _0x4c94ca(_0xe61060,_0x37c6f5,_0x3ec221,_0x5b133c){return _0x4eedea(_0xe61060-_0x5e2f22._0x3553d7,_0x3ec221- -_0x5e2f22._0x309685,_0x5b133c,_0x5b133c-_0x5e2f22._0x407d8a);}this[_0x21fa2c(0x539,_0x1cd8cc._0x414ef7,0x4cd,_0x1cd8cc._0x5c139f)]=_0x5cb529,this['name']=_0x21fa2c(_0x1cd8cc._0x1bdcec,_0x1cd8cc._0x24e520,0xeb,0x2f9);}};import{StringDecoder}from'string_decoder';import{spawn as _0x4e91d1}from'child_process';function errorMessage(_0x1f8d3e){const _0x317481={_0x3069fd:0x487,_0x3cc47d:0x3a0},_0x4b3763={_0x583fea:0x81,_0x3e79ca:0x184,_0x51b8a7:0x125};function _0x408cf2(_0x4a4313,_0x633a86,_0x498830,_0x41814d){return _0xa5377c(_0x498830,_0x633a86-_0x4b3763._0x583fea,_0x498830-_0x4b3763._0x3e79ca,_0x4a4313- -_0x4b3763._0x51b8a7);}return _0x1f8d3e instanceof Error?_0x1f8d3e[_0x408cf2(0x45d,_0x317481._0x3069fd,_0x317481._0x3cc47d,0x615)]:String(_0x1f8d3e);}function isNotFound(_0x250a49){const _0xc4d42e={_0xf56475:0x421,_0x227f10:0x54c,_0x97536f:0x376,_0x306a46:0x3c9,_0x2bf407:0x348},_0xb30c33={_0x3eaef5:0x10a},_0x1777ec={_0x47cdd0:0x33};function _0x225b37(_0x4701e0,_0x1a2079,_0x1a5851,_0x216026){return _0xa5377c(_0x1a5851,_0x1a2079-0x138,_0x1a5851-_0x1777ec._0x47cdd0,_0x4701e0- -0x1b8);}function _0x5610c6(_0x578406,_0x4428a5,_0x2463d5,_0x1991ee){return _0x4eedea(_0x578406-_0xb30c33._0x3eaef5,_0x2463d5- -0x134,_0x578406,_0x1991ee-0x8e);}return typeof _0x250a49==='object'&&_0x250a49!==null&&'code'in _0x250a49&&_0x250a49[_0x225b37(_0xc4d42e._0xf56475,_0xc4d42e._0x227f10,_0xc4d42e._0x97536f,0x492)]===_0x5610c6(0x279,_0xc4d42e._0x306a46,_0xc4d42e._0x2bf407,0x135);}function isSafeProcessId(_0x24dede){const _0x2a6e28={_0x4cd9e9:0x61d,_0xcffba6:0x49a,_0x3057b4:0x41b},_0x3f0d03={_0xa9f52a:0x31,_0x52af9e:0x175};function _0x247b23(_0x552c92,_0x4e903f,_0x604a23,_0x296f4a){return _0xa5377c(_0x604a23,_0x4e903f-_0x3f0d03._0xa9f52a,_0x604a23-0x10d,_0x552c92- -_0x3f0d03._0x52af9e);}return _0x24dede!==void 0x0&&Number[_0x247b23(0x494,_0x2a6e28._0x4cd9e9,_0x2a6e28._0xcffba6,_0x2a6e28._0x3057b4)](_0x24dede)&&_0x24dede>0x1;}function createProcessTreeSignalAdapter(_0x5ba061={}){const _0x4ae22b={_0x1a8287:0x5e3,_0x3472f0:0x4de,_0x10996e:0x642,_0x3f40dc:0x44e,_0x19975a:0x2c0,_0x4b0ab9:0x693,_0x2bddd1:0x261,_0x5b1a3d:0x3c9},_0x33611d={_0x1eee18:0x3b6,_0x372368:0x239,_0x167368:0x66d,_0x3298f5:0x531,_0x5053da:0x428,_0x1fc5bd:0x534,_0xe9ea11:0x5eb,_0x53e3b4:0x516,_0x35e2e6:0x6a8,_0x495534:0x417,_0x35572b:0x44,_0x180338:0xdc,_0x4c8b5b:0x7c7,_0x15c3fb:0x7b2,_0x1416d2:0x3b6,_0x20a5fe:0x58e},_0x465eb7={_0x185047:0x66,_0x250a9f:0x13f},_0x2ec535={_0x46d982:0x185},_0x580b87={_0xa4e474:0x126,_0x1975fd:0xcf,_0x4e59cb:0xb3},_0x6aa05d={_0x4c81ba:0x87},_0x50cbee=_0x5ba061[_0x272904(0x6ff,0x35e,_0x4ae22b._0x1a8287,_0x4ae22b._0x3472f0)]??process[_0x272904(0x340,_0x4ae22b._0x10996e,0x53f,0x4de)],_0x3323b2=_0x5ba061[_0x4da710(_0x4ae22b._0x3f40dc,_0x4ae22b._0x19975a,_0x4ae22b._0x4b0ab9,0x47d)]??process['kill'][_0x4da710(0x1d5,0x3ae,_0x4ae22b._0x2bddd1,_0x4ae22b._0x5b1a3d)](process),_0x3afe77=_0x5ba061['spawn']??_0x4e91d1;function _0x4da710(_0x2e2cad,_0x19a7ca,_0x3868ae,_0x43b382){return _0x4eedea(_0x2e2cad-_0x6aa05d._0x4c81ba,_0x2e2cad- -0x21,_0x3868ae,_0x43b382-0x11c);}function _0x272904(_0x48d061,_0x413730,_0xf3de32,_0x240f65){return _0xa5377c(_0xf3de32,_0x413730-_0x580b87._0xa4e474,_0xf3de32-_0x580b87._0x1975fd,_0x240f65- -_0x580b87._0x4e59cb);}return{async 'signal'(_0x235ef9,_0x549ade){const _0x50b1f1={_0x3e22d8:0x7a1,_0x166bdb:0x73f,_0x1aa897:0x25,_0x609f74:0x3f5,_0x19d2ed:0x259,_0x5d2988:0x49a,_0x5d9f9c:0x394,_0x540aa1:0x533,_0x43275b:0x627,_0x472d5a:0x407,_0xa5ed5:0x2cb,_0x17057c:0x19a,_0x4c0570:0x54b,_0xee52f1:0x302},_0x28c1bb={_0x1ee5bb:0x4c3};if(_0x50cbee!==_0x1d50c0(0x2c8,0x43c,_0x33611d._0x1eee18,_0x33611d._0x372368)){if(!isSafeProcessId(_0x235ef9['processGroupId']))return{'outcome':_0x1d50c0(_0x33611d._0x167368,_0x33611d._0x3298f5,_0x33611d._0x5053da,0x4a6),'error':'Unsafe\x20or\x20missing\x20POSIX\x20process\x20group\x20id'};try{return _0x3323b2(-_0x235ef9[_0x1d50c0(_0x33611d._0x1fc5bd,_0x33611d._0xe9ea11,0x789,0x43b)],_0x549ade===_0x1d50c0(0x5d0,0x462,0x44b,0x393)?_0x1d50c0(0x639,_0x33611d._0x53e3b4,_0x33611d._0x35e2e6,_0x33611d._0x495534):_0x127d98(0x34,0x9f,_0x33611d._0x35572b,-0xd5)),{'outcome':_0x127d98(0x8b,-_0x33611d._0x180338,-0x125,0x171)};}catch(_0x1eb708){return isNotFound(_0x1eb708)?{'outcome':'not-found','error':errorMessage(_0x1eb708)}:{'outcome':'failed','error':errorMessage(_0x1eb708)};}}function _0x127d98(_0x513573,_0x2281f5,_0x135e93,_0x12786a){return _0x272904(_0x513573-0x2b,_0x2281f5-_0x2ec535._0x46d982,_0x2281f5,_0x513573- -0x112);}function _0x1d50c0(_0x78c6d8,_0x22875c,_0x253c62,_0x528caa){return _0x4da710(_0x78c6d8-0x293,_0x22875c-_0x465eb7._0x185047,_0x528caa,_0x528caa-_0x465eb7._0x250a9f);}if(!isSafeProcessId(_0x235ef9[_0x1d50c0(0x6c1,_0x33611d._0x4c8b5b,_0x33611d._0x15c3fb,0x4e5)]))return{'outcome':'failed','error':_0x1d50c0(_0x33611d._0x1416d2,0x556,_0x33611d._0x20a5fe,0x2bf)};return new Promise(_0x1ca14d=>{const _0x301def={_0x3b42cc:0x58a,_0x51045c:0x5f1,_0x26d170:0x80b,_0x14aee2:0x42d,_0x241cf5:0x584,_0x20dd22:0x577},_0x13ea9e={_0x1a4b9b:0x20},_0x42f44c={_0x37b482:0x88},_0x314f1c={_0x537173:0x22f,_0x3e8f4f:0x1df};function _0x36dabc(_0x19c888,_0x315138,_0x33785d,_0x52c0ed){return _0x1d50c0(_0x19c888- -_0x314f1c._0x537173,_0x315138-_0x314f1c._0x3e8f4f,_0x33785d-0x1ba,_0x33785d);}let _0x5eff00=![];const _0x80ae5c=_0x412a41=>{if(_0x5eff00)return;_0x5eff00=!![],_0x1ca14d(_0x412a41);};let _0x23b6ed;try{const _0x5a0318=['/PID',String(_0x235ef9[_0x363285(_0x50b1f1._0x3e22d8,0x797,0x587,_0x50b1f1._0x166bdb)]),'/T'];if(_0x549ade==='force')_0x5a0318[_0x36dabc(0x133,0x54,-_0x50b1f1._0x1aa897,-0x108)]('/F');_0x23b6ed=_0x3afe77('taskkill',_0x5a0318,{'stdio':_0x363285(_0x50b1f1._0x609f74,0x319,_0x50b1f1._0x19d2ed,_0x50b1f1._0x5d2988),'windowsHide':!![]});}catch(_0x4efab9){_0x80ae5c({'outcome':_0x363285(0x78d,_0x50b1f1._0x5d9f9c,_0x50b1f1._0x540aa1,_0x50b1f1._0x43275b),'error':errorMessage(_0x4efab9)});return;}_0x23b6ed[_0x36dabc(0x24d,_0x50b1f1._0x472d5a,0x3d1,_0x50b1f1._0xa5ed5)]('error',_0x1fa96c=>{const _0x49e92e={_0x4a552f:0x70,_0xb11070:0x90};function _0x7bbc5(_0x50cbd3,_0x111008,_0x48c6da,_0x4fee35){return _0x363285(_0x50cbd3,_0x111008-0xd9,_0x111008- -_0x49e92e._0x4a552f,_0x4fee35-_0x49e92e._0xb11070);}_0x80ae5c(isNotFound(_0x1fa96c)?{'outcome':'not-found','error':errorMessage(_0x1fa96c)}:{'outcome':_0x7bbc5(0x308,_0x28c1bb._0x1ee5bb,0x289,0x2f1),'error':errorMessage(_0x1fa96c)});});function _0x363285(_0x5e0a6d,_0x38c932,_0x18631d,_0x9e020d){return _0x1d50c0(_0x18631d- -0x13a,_0x38c932-0xd1,_0x18631d-_0x42f44c._0x37b482,_0x5e0a6d);}_0x23b6ed[_0x363285(0x12e,0x408,0x342,0x10c)](_0x363285(_0x50b1f1._0x17057c,_0x50b1f1._0x4c0570,_0x50b1f1._0xee52f1,0x1c6),_0x965beb=>{function _0x518975(_0x37e9c8,_0x189a2b,_0x5e619e,_0xeaa7a0){return _0x36dabc(_0x189a2b-0x332,_0x189a2b-_0x13ea9e._0x1a4b9b,_0x37e9c8,_0xeaa7a0-0x1d0);}function _0x33c9e5(_0x514e57,_0x48d30d,_0x2f3bba,_0x4bf91d){return _0x36dabc(_0x514e57- -0x15d,_0x48d30d-0x1eb,_0x48d30d,_0x4bf91d-0xd8);}_0x80ae5c(_0x965beb===0x0?{'outcome':'delivered'}:{'outcome':_0x518975(_0x301def._0x3b42cc,0x770,_0x301def._0x51045c,_0x301def._0x26d170),'error':_0x518975(_0x301def._0x14aee2,0x34d,_0x301def._0x241cf5,_0x301def._0x20dd22)+String(_0x965beb)});});});}};}var ESC='\x1b',BEL='\x07',MAX_PROGRESS_LINE_CHARS=0x100000;function isDiscardedTextControl(_0x38c6b3){const _0x352df6=_0x38c6b3['codePointAt'](0x0)??0x0;return _0x352df6<0x20&&_0x38c6b3!=='\x09'||_0x352df6>=0x7f&&_0x352df6<=0x9f||_0x352df6===0xa0||_0x352df6>=0x200b&&_0x352df6<=0x200f||_0x352df6>=0x2060&&_0x352df6<=0x2069||_0x352df6===0x23ce||_0x352df6===0x2424;}function createTerminalOutputNormalizer(){const _0x288d12={_0x103a9b:0x420},_0x48cc2c={_0x472a67:0x3dd,_0x3bb9a5:0x202},_0x58b41d={_0x3aac64:0x569,_0x387589:0x7b5,_0x41f0f9:0x6bb,_0x7cc742:0x556,_0x4f8eed:0x762,_0x531e29:0x622,_0x54321d:0x53b,_0x527b8c:0x5c5,_0x293afc:0x7e2,_0x452882:0x4bf,_0x4fb56f:0x5eb,_0x19fa74:0x6a9,_0x47fdd0:0x7f9,_0x14b813:0x478,_0x560095:0x763,_0x5c1917:0x4ef,_0x122123:0x8f7,_0x59aed4:0x961,_0xc77f2:0x822,_0xc05e88:0xa5c,_0x564bcc:0x66c,_0x1f189e:0x681,_0x35f72e:0x760,_0x49533f:0x558,_0x288680:0x5ef,_0x7dca8c:0x683,_0x375e95:0x5a6,_0x235273:0x53c,_0x6e9180:0x4ac},_0x100654={_0x135b73:0x561},_0x4c6f0b={_0x2fb91e:0x682,_0x5294c2:0x6e2},_0x569c4e={_0x1a4e41:0x535,_0x6eda05:0xc7,_0x2d3248:0x133,_0x121970:0x146,_0x42da91:0x8b,_0x4e5989:0x1a9,_0x3f0a0f:0x65},_0x3b8000={_0x5910f9:0x10b,_0x17367f:0xf2},_0x9698={_0x4614b4:0x11b};let _0x4c9899=_0x27eb25(0x35b,_0x288d12._0x103a9b,0x21f,0x2c1),_0xe7adc3=![],_0x22f088=![],_0x528773=[],_0x5db0f3=0x0,_0x28985c=![];function _0x27eb25(_0x2addba,_0x12147c,_0x4e4fe2,_0x3cdbb8){return _0x4eedea(_0x2addba-0x18c,_0x3cdbb8- -_0x9698._0x4614b4,_0x4e4fe2,_0x3cdbb8-0x48);}const _0x40ec03=()=>{_0x528773=[],_0x5db0f3=0x0;},_0x4de7b2=_0x3a3e6a=>{const _0x29d0fd={_0x15f532:0x52};_0x528773[_0x9a2a3(0x281,0x402,0x25d,_0x569c4e._0x1a4e41)](_0x3a3e6a);function _0x17d232(_0x424a8f,_0x3d7c0c,_0x5ad481,_0x5f5e08){return _0x27eb25(_0x424a8f-0x1d2,_0x3d7c0c-_0x29d0fd._0x15f532,_0x5ad481,_0x424a8f- -0x82);}function _0x9a2a3(_0x16d620,_0x4eb355,_0xcf9ece,_0x3e517e){return _0x27eb25(_0x16d620-_0x3b8000._0x5910f9,_0x4eb355-_0x3b8000._0x17367f,_0x3e517e,_0x4eb355-0x42d);}_0x5db0f3+=_0x3a3e6a[_0x17d232(_0x569c4e._0x6eda05,_0x569c4e._0x2d3248,0x286,_0x569c4e._0x121970)];while(_0x5db0f3>MAX_PROGRESS_LINE_CHARS){const _0x2ef388=_0x528773['shift']();if(_0x2ef388===void 0x0)break;_0x5db0f3-=_0x2ef388[_0x17d232(_0x569c4e._0x6eda05,-_0x569c4e._0x42da91,_0x569c4e._0x4e5989,_0x569c4e._0x3f0a0f)];}},_0x55d78f=_0x2a890f=>{const _0x4013dc={_0x3dc811:0x5a7};function _0x293a8e(_0x29949f,_0x246407,_0x1d23be,_0x544178){return _0x27eb25(_0x29949f-0x12c,_0x246407-0x11c,_0x29949f,_0x246407-_0x4013dc._0x3dc811);}const _0x5b204a=_0x528773[_0x293a8e(_0x4c6f0b._0x2fb91e,0x562,0x3c0,_0x4c6f0b._0x5294c2)]('')+(_0x2a890f?'\x0a':'');return _0x40ec03(),_0x5b204a;},_0x2590ce=_0x8c1d90=>{function _0x334968(_0x4a12d3,_0x3f7740,_0x4cbf9a,_0x1cb3fe){return _0x27eb25(_0x4a12d3-0x175,_0x3f7740-0x6d,_0x3f7740,_0x4cbf9a-_0x100654._0x135b73);}function _0x4c39f5(_0x5cb3ea,_0x4d9d87,_0x5cbdad,_0x29f145){return _0x27eb25(_0x5cb3ea-0xb7,_0x4d9d87-0x1a9,_0x5cbdad,_0x4d9d87-0x4be);}if(_0x28985c)throw new Error(_0x4c39f5(_0x58b41d._0x3aac64,_0x58b41d._0x387589,_0x58b41d._0x41f0f9,_0x58b41d._0x7cc742));let _0x4aa5f8='';for(const _0x2f2e8d of _0x8c1d90){if(_0x4c9899===_0x4c39f5(0x263,0x3f4,0x1f0,0x1c7)){const _0xc9481a=_0x2f2e8d[_0x334968(0x7de,_0x58b41d._0x4f8eed,_0x58b41d._0x531e29,_0x58b41d._0x54321d)](0x0)??0x0;if(_0xc9481a>=0x40&&_0xc9481a<=0x7e)_0x4c9899='text';continue;}if(_0x4c9899===_0x4c39f5(0x814,_0x58b41d._0x527b8c,_0x58b41d._0x293afc,_0x58b41d._0x452882)||_0x4c9899==='dcs'){if(_0xe7adc3){_0x2f2e8d==='\x5c'?(_0x4c9899=_0x4c39f5(_0x58b41d._0x4fb56f,0x77f,_0x58b41d._0x19fa74,_0x58b41d._0x47fdd0),_0xe7adc3=![]):_0xe7adc3=_0x2f2e8d===ESC;continue;}if(_0x2f2e8d===ESC)_0xe7adc3=!![];else _0x4c9899===_0x334968(_0x58b41d._0x14b813,_0x58b41d._0x560095,0x668,_0x58b41d._0x5c1917)&&_0x2f2e8d===BEL&&(_0x4c9899=_0x334968(_0x58b41d._0x122123,_0x58b41d._0x59aed4,_0x58b41d._0xc77f2,_0x58b41d._0xc05e88));continue;}if(_0x4c9899==='escape'){if(_0x2f2e8d==='[')_0x4c9899='csi';else{if(_0x2f2e8d===']')_0x4c9899='osc',_0xe7adc3=![];else _0x2f2e8d==='P'||_0x2f2e8d==='_'||_0x2f2e8d==='^'?(_0x4c9899=_0x4c39f5(_0x58b41d._0x564bcc,_0x58b41d._0x1f189e,0x499,_0x58b41d._0x35f72e),_0xe7adc3=![]):_0x4c9899=_0x4c39f5(_0x58b41d._0x49533f,0x77f,0x5fd,0x809);}continue;}if(_0x22f088){_0x22f088=![];if(_0x2f2e8d==='\x0a'){_0x4aa5f8+=_0x55d78f(!![]);continue;}_0x40ec03();}if(_0x2f2e8d===ESC)_0x4c9899=_0x334968(0x5a3,_0x58b41d._0x288680,_0x58b41d._0x7dca8c,_0x58b41d._0x375e95);else{if(_0x2f2e8d==='\x0d')_0x22f088=!![];else{if(_0x2f2e8d==='\x0a')_0x4aa5f8+=_0x55d78f(!![]);else{if(_0x2f2e8d==='\x08'){const _0x561b50=_0x528773[_0x334968(0x669,_0x58b41d._0x235273,_0x58b41d._0x6e9180,0x569)]();if(_0x561b50!==void 0x0)_0x5db0f3-=_0x561b50['length'];}else!isDiscardedTextControl(_0x2f2e8d)&&_0x4de7b2(_0x2f2e8d);}}}}return _0x4aa5f8;};return{'write':_0x2590ce,'end'(){const _0x4b9cd2={_0x56290c:0xc8,_0xe6ef5e:0xbf};if(_0x28985c)return'';_0x28985c=!![],_0x22f088=![],_0x4c9899=_0x5e8043(_0x48cc2c._0x472a67,0xa7,_0x48cc2c._0x3bb9a5,0x208),_0xe7adc3=![];function _0x5e8043(_0x2b0bff,_0x5c230a,_0x3ee5fd,_0x45a25c){return _0x27eb25(_0x2b0bff-_0x4b9cd2._0x56290c,_0x5c230a-0x7e,_0x5c230a,_0x3ee5fd- -_0x4b9cd2._0xe6ef5e);}return _0x55d78f(![]);}};}var MAX_CHARS=0x100000,MAX_ENTRIES=0x40,TERMINATION_WINDOW_MS=0x7d0;function terminal(_0x173608){const _0x53839a={_0x492c15:0x2aa,_0x25365b:0x406,_0x5c4755:0x22c,_0x24d990:0x9e,_0x57e189:0x1df,_0x2f2d03:0x185},_0x384046={_0x184bff:0x3};function _0xc58298(_0x17a097,_0x2c2d2a,_0x10baf6,_0x4d53c1){return _0xa5377c(_0x17a097,_0x2c2d2a-0x16a,_0x10baf6-0x1ef,_0x10baf6-0x14a);}function _0x2c069c(_0x10fd17,_0x1df7dd,_0x5ebf1f,_0x2f38c3){return _0xa5377c(_0x2f38c3,_0x1df7dd-0x3f,_0x5ebf1f-_0x384046._0x184bff,_0x5ebf1f- -0xf2);}return _0x173608===_0x2c069c(_0x53839a._0x492c15,0x585,0x43b,_0x53839a._0x25365b)||_0x173608===_0x2c069c(_0x53839a._0x5c4755,0x33,0x227,_0x53839a._0x24d990)||_0x173608===_0x2c069c(_0x53839a._0x57e189,_0x53839a._0x2f2d03,0x27c,0x36);}function stableErrorCode(_0x1b45ca,_0x4bbf09){const _0x1b882e={_0x1c5395:0x31c,_0x555e11:0x226,_0x3d11f9:0x206,_0x4a8fde:0x79,_0x1572c9:0x50,_0x462b42:0x19f},_0x2f6171={_0x58a463:0x1be,_0x49bb78:0x3d3},_0x364c8f={_0x2b8f20:0x1b2,_0x3320d6:0xdf,_0x48c174:0x1e2};function _0x1068bd(_0x440541,_0x2704c3,_0x3d3f0f,_0x128a27){return _0xa5377c(_0x2704c3,_0x2704c3-_0x364c8f._0x2b8f20,_0x3d3f0f-_0x364c8f._0x3320d6,_0x128a27-_0x364c8f._0x48c174);}function _0x45a76e(_0x100f98,_0x464310,_0x3eb702,_0x761e4a){return _0xa5377c(_0x3eb702,_0x464310-_0x2f6171._0x58a463,_0x3eb702-0x1cf,_0x761e4a- -_0x2f6171._0x49bb78);}if(typeof _0x1b45ca===_0x45a76e(0x1b3,-0x11e,0x3f,0x7f)&&_0x1b45ca!==null&&'code'in _0x1b45ca&&typeof _0x1b45ca['code']==='string')return _0x1b45ca[_0x45a76e(_0x1b882e._0x1c5395,_0x1b882e._0x555e11,0x1e0,_0x1b882e._0x3d11f9)][_0x45a76e(0x3c9,-_0x1b882e._0x4a8fde,_0x1b882e._0x1572c9,_0x1b882e._0x462b42)](0x0,0x40);return _0x4bbf09;}async function safeSignal(_0x18b6d9,_0xda46a6,_0x49eef3){const _0x15fcc9={_0x2258c2:0x503,_0x19f4d4:0x7a6,_0x1be431:0x4db,_0x45d660:0x2b7,_0x310ea2:0x2be,_0x388887:0x37f},_0x123c7f={_0x3142a4:0x163},_0x259600={_0x5bae27:0x25,_0xfa0a4a:0x5b};function _0x3c9958(_0x1831e7,_0x3d39c2,_0x2e29d9,_0x1c9d23){return _0x4eedea(_0x1831e7-_0x259600._0x5bae27,_0x2e29d9-0x1e0,_0x3d39c2,_0x1c9d23-_0x259600._0xfa0a4a);}function _0x1b2317(_0x50236c,_0x1b2e65,_0x4b6689,_0x17b417){return _0x4eedea(_0x50236c-_0x123c7f._0x3142a4,_0x17b417- -0x144,_0x1b2e65,_0x17b417-0x63);}try{return await _0x18b6d9[_0x3c9958(_0x15fcc9._0x2258c2,_0x15fcc9._0x19f4d4,0x547,_0x15fcc9._0x1be431)](_0xda46a6,_0x49eef3);}catch{return{'outcome':_0x1b2317(0x270,0x25a,0x3c7,_0x15fcc9._0x45d660),'error':_0x1b2317(_0x15fcc9._0x310ea2,_0x15fcc9._0x388887,0x11c,0x266)};}}var BackgroundBashProcessStore=class{[_0x4eedea(0x30e,0x3d3,0x3ec,0x2bf)]=new Map();[_0x4eedea(0xfb,0x345,0x199,0xe6)];[_0x4eedea(0x19e,0x278,0x12a,0x302)];[_0x4eedea(0x2dd,0x39b,0x54c,0x21e)];[_0x4eedea(0x405,0x1b9,0xda,0x28f)];[_0x4eedea(0x198,0x237,-0x12,0xb)];constructor(_0x5b018c={}){const _0x4e0d14={_0x3c5337:0x96b,_0x27593d:0x812,_0x48669e:0x6c5,_0x2b4267:0x706,_0x12c807:0xbe4,_0x72da46:0x913,_0x481543:0x6ed,_0x387aa7:0x728,_0x4120d4:0x44c,_0x114c87:0x262,_0x250e20:0x1dc,_0x240717:0xa0e,_0x1c21e3:0x784,_0x27a959:0x330,_0xa3da01:0x20,_0x365508:0x1f1,_0x418886:0x333,_0x5d6976:0x635,_0x37c7d0:0xa41,_0x13a870:0x8e1,_0x214bc2:0xb12,_0x4917d4:0x920,_0x782cdb:0x8a5,_0x4c7809:0x99d,_0x19be0a:0x73e,_0x29397e:0xa48,_0x198542:0x932,_0x32861d:0x7bc,_0xa39c77:0x9ed},_0x53ffef={_0x4812ce:0x4b,_0x56fb61:0x2f,_0x423c38:0x38f},_0x35a317={_0x2ec7c9:0x47,_0x129cd8:0xd4};this[_0x1f66c0(0x833,_0x4e0d14._0x3c5337,0x8ca,0x919)]=_0x5b018c[_0x30235a(0x182,0x262,0x15,0x164)]??MAX_CHARS;function _0x30235a(_0x1df127,_0x4cb3a7,_0x5eadbb,_0x2e5494){return _0x4eedea(_0x1df127-_0x35a317._0x2ec7c9,_0x4cb3a7- -0xe3,_0x5eadbb,_0x2e5494-_0x35a317._0x129cd8);}this[_0x1f66c0(0x7dd,_0x4e0d14._0x27593d,0x7fd,0x703)]=_0x5b018c[_0x1f66c0(_0x4e0d14._0x48669e,0x706,0x7fd,_0x4e0d14._0x2b4267)]??MAX_ENTRIES;if(!Number[_0x1f66c0(_0x4e0d14._0x12c807,0xbe8,0x998,0xbbd)](this[_0x1f66c0(_0x4e0d14._0x72da46,_0x4e0d14._0x481543,0x8ca,_0x4e0d14._0x387aa7)])||this[_0x1f66c0(0x775,0x91c,0x8ca,0xad7)]<0x1||this[_0x30235a(_0x4e0d14._0x4120d4,_0x4e0d14._0x114c87,_0x4e0d14._0x250e20,0x2e1)]>MAX_CHARS)throw new RangeError(_0x1f66c0(_0x4e0d14._0x240717,0x787,0x869,_0x4e0d14._0x1c21e3));if(!Number[_0x30235a(0x1b5,_0x4e0d14._0x27a959,0x431,0x318)](this[_0x30235a(_0x4e0d14._0xa3da01,0x195,0x15c,0x1fb)])||this[_0x30235a(_0x4e0d14._0x365508,0x195,0xc5,_0x4e0d14._0x418886)]<0x1||this[_0x1f66c0(_0x4e0d14._0x5d6976,_0x4e0d14._0x37c7d0,0x7fd,0x7c7)]>MAX_ENTRIES)throw new RangeError(_0x1f66c0(0x802,0x425,0x643,0x81a));this[_0x1f66c0(_0x4e0d14._0x13a870,0xaa4,0x920,_0x4e0d14._0x214bc2)]=_0x5b018c[_0x1f66c0(0x87a,0xabe,_0x4e0d14._0x4917d4,0x720)]??process[_0x1f66c0(0x77c,0x76a,0x920,0x7bb)];function _0x1f66c0(_0x2c02cb,_0x3f1964,_0x20fc54,_0x2a2c58){return _0xa5377c(_0x2a2c58,_0x3f1964-_0x53ffef._0x4812ce,_0x20fc54-_0x53ffef._0x56fb61,_0x20fc54-_0x53ffef._0x423c38);}this[_0x1f66c0(0x85c,_0x4e0d14._0x782cdb,0x73e,0x75e)]=_0x5b018c[_0x1f66c0(0x62b,_0x4e0d14._0x4c7809,_0x4e0d14._0x19be0a,0x8f9)]??createProcessTreeSignalAdapter({'platform':this[_0x1f66c0(0xa8b,_0x4e0d14._0x29397e,_0x4e0d14._0x4917d4,0x8bd)]}),this[_0x1f66c0(_0x4e0d14._0x198542,0x717,0x7bc,0x9d0)]=_0x5b018c[_0x1f66c0(0x60c,0x7d1,_0x4e0d14._0x32861d,_0x4e0d14._0xa39c77)]??TERMINATION_WINDOW_MS;}[_0x4eedea(0x2ae,0x2cf,0x299,0x42f)](_0xc6a8b8,_0x213d33){const _0x36a04e={_0x10b7a6:0x447,_0xa5f36d:0x34,_0x4dd35f:0x12b,_0x1bbaf6:0x12c,_0x49434f:0x1e3,_0x1be2e3:0x8a,_0x31a722:0x1b8,_0x3dcbe4:0x7b,_0x420f5e:0xbd,_0x2a7df4:0x4,_0x3020a7:0x212,_0xb257f3:0xaa,_0xf148b:0x75,_0x28437b:0xed,_0x1b0a63:0x206,_0x4ac1fc:0x187,_0x13b8d3:0x26e,_0x622ce5:0x385,_0x392b12:0xb1,_0x84bc80:0x4e,_0x3f6293:0x153,_0x11e4f5:0x3a,_0x1857ae:0x3f,_0x35657c:0x2af,_0x3cb9ca:0x1df,_0x53e341:0x14c,_0x2b1699:0x13f,_0x5a5a6e:0x4a,_0x5ef9b3:0xa9,_0x457872:0x569,_0x55d27d:0x292,_0x22ef67:0x220,_0x3d219a:0x16,_0x20ef77:0x6a,_0x16cab0:0x166,_0x3be6c4:0x16d,_0x1a4a95:0x327,_0x2feafe:0x25,_0x32b209:0x32b,_0x2dbf44:0x146,_0x146007:0xa8,_0x250413:0x166,_0x5f21a4:0x110,_0x490a48:0x13f,_0x32f264:0x44,_0x262bb8:0x184,_0x5303a8:0x7a,_0x55c415:0x292,_0x457b64:0xd4,_0x56a5ff:0x1d2,_0x203224:0x1c1,_0x746f3f:0xcf,_0x5244a5:0xc1,_0xcc415e:0x27e,_0x303327:0x202,_0x1935a5:0x174,_0x23fc4b:0x6c,_0x2e2328:0xe0},_0x2a22fd={_0x51e351:0x2d5,_0x54c642:0x296,_0x31ca1d:0x405,_0x2fbe69:0x47d,_0x5a75c9:0x78b},_0x2fda28={_0x495a03:0x690,_0x47ca8a:0xbd},_0x3ffa62={_0x5d89a5:0x316,_0x39e5b7:0x3a8,_0x1e723e:0x403,_0x379bae:0x512,_0x5ba425:0x1b9,_0x4662da:0x11,_0x20ea07:0x5aa,_0x2a9282:0x66c,_0x2d35ef:0x471,_0x225a34:0x2af,_0x45da17:0x51,_0x503ccf:0x4b7,_0x210698:0x1f3,_0x2a4f6b:0x4c3,_0x3a131a:0x59b,_0x222068:0x37,_0x22df7e:0x342},_0x2a2ee4={_0x94f728:0xc3,_0xf9cca7:0x1e4};if(this[_0x4b08a0(0x1a4,0x32f,_0x36a04e._0x10b7a6,0x11c)][_0x4b08a0(0x85,_0x36a04e._0xa5f36d,_0x36a04e._0x4dd35f,-0xb9)](_0xc6a8b8))throw new ToolExecutionError(_0x4b08a0(0x48a,0x328,0x2fc,0x1ae),{'workId':_0xc6a8b8});let _0x14314c;const _0x1a2bc1=new Promise(_0x19d909=>{_0x14314c=_0x19d909;}),_0x332c93={'workId':_0xc6a8b8,'child':_0x213d33['child'],'description':_0x213d33[_0x4b08a0(_0x36a04e._0x1bbaf6,_0x36a04e._0x49434f,-0x7a,0x59)],'commandPreview':_0x213d33[_0x4b08a0(_0x36a04e._0x1be2e3,-0x25,_0x36a04e._0x31a722,-0x244)],'cwd':_0x213d33[_0x4b08a0(_0x36a04e._0x3dcbe4,0x1c6,0x178,0x423)],'pid':typeof _0x213d33[_0x42de8d(-0x75,-_0x36a04e._0x420f5e,_0x36a04e._0x2a7df4,0x1dc)][_0x4b08a0(_0x36a04e._0x3020a7,0x2e4,0x417,0x1ef)]===_0x4b08a0(-0xbd,-_0x36a04e._0xb257f3,0xa3,-0x96)?_0x213d33[_0x42de8d(-_0x36a04e._0xf148b,-0x287,_0x36a04e._0x28437b,-0x122)][_0x42de8d(0x174,_0x36a04e._0x1b0a63,0x37b,0x34f)]:null,'processGroupId':this[_0x42de8d(_0x36a04e._0x4ac1fc,_0x36a04e._0x13b8d3,_0x36a04e._0x622ce5,0x397)]===_0x4b08a0(_0x36a04e._0x392b12,-_0x36a04e._0x84bc80,-0x291,0x209)?void 0x0:_0x213d33[_0x42de8d(-0x75,_0x36a04e._0x3f6293,_0x36a04e._0x11e4f5,-0xdf)]['pid'],'stripAnsi':_0x213d33['stripAnsi'],'status':_0x42de8d(0x1d1,-_0x36a04e._0x1857ae,0x32e,0xd2),'exitCode':null,'signal':null,'gracefulRequested':![],'forceRequested':![],'killRequested':![],'terminal':![],'output':'','totalProduced':0x0,'totalDropped':0x0,'stdoutDecoder':new StringDecoder(_0x4b08a0(0x192,_0x36a04e._0x35657c,_0x36a04e._0x3cb9ca,_0x36a04e._0x53e341)),'stderrDecoder':new StringDecoder(_0x42de8d(_0x36a04e._0x2b1699,_0x36a04e._0x5a5a6e,0x2a,-_0x36a04e._0x5ef9b3)),'stdoutNormalizer':createTerminalOutputNormalizer(),'stderrNormalizer':createTerminalOutputNormalizer(),'flushed':![],'terminalPromise':_0x1a2bc1,'resolveTerminal':_0x14314c};function _0x4b08a0(_0x4001a6,_0x3929d5,_0x5c1ff6,_0x49e491){return _0xa5377c(_0x49e491,_0x3929d5-_0x2a2ee4._0x94f728,_0x5c1ff6-_0x2a2ee4._0xf9cca7,_0x3929d5- -0x29a);}this[_0x4b08a0(0x2db,0x32f,_0x36a04e._0x457872,_0x36a04e._0x55d27d)][_0x4b08a0(0x3c7,0x1e7,_0x36a04e._0x22ef67,0x366)](_0xc6a8b8,_0x332c93);const _0x9173ff=(_0x5479b,_0x506450)=>{const _0x2c4d5b={_0x1e0d79:0x185},_0x50b233={_0x1956b3:0x13a,_0x6ef9a8:0x190};if(_0x332c93['terminal'])return;_0x332c93['exitCode']=_0x5479b;function _0x5b7ef1(_0xe8e18f,_0xa920ce,_0x3c52b3,_0x1efcd9){return _0x4b08a0(_0xe8e18f-_0x50b233._0x1956b3,_0xe8e18f-0x230,_0x3c52b3-_0x50b233._0x6ef9a8,_0x1efcd9);}_0x332c93[_0x212945(_0x3ffa62._0x5d89a5,0x508,_0x3ffa62._0x39e5b7,_0x3ffa62._0x1e723e)]=_0x506450,_0x332c93[_0x5b7ef1(0x32b,0x15c,_0x3ffa62._0x379bae,0x3be)]=null;function _0x212945(_0x3d489c,_0x2e261b,_0x6c278e,_0x3ee839){return _0x42de8d(_0x6c278e-0x255,_0x2e261b-_0x2c4d5b._0x1e0d79,_0x3d489c,_0x3ee839-0x67);}if(_0x332c93['status']!==_0x212945(0x12c,0x31b,_0x3ffa62._0x5ba425,-_0x3ffa62._0x4662da))_0x332c93['status']=_0x332c93[_0x5b7ef1(_0x3ffa62._0x20ea07,_0x3ffa62._0x2a9282,_0x3ffa62._0x2d35ef,0x532)]?_0x5b7ef1(_0x3ffa62._0x225a34,_0x3ffa62._0x45da17,_0x3ffa62._0x503ccf,_0x3ffa62._0x210698):_0x5b7ef1(_0x3ffa62._0x2a4f6b,0x590,0x674,_0x3ffa62._0x3a131a);this[_0x212945(0x267,_0x3ffa62._0x222068,0x16e,_0x3ffa62._0x22df7e)](_0x332c93);};function _0x42de8d(_0x366451,_0x2c006d,_0x56c981,_0x30440d){return _0xa5377c(_0x56c981,_0x2c006d-0xed,_0x56c981-0x1aa,_0x366451- -0x40a);}try{_0x213d33[_0x4b08a0(-_0x36a04e._0x3d219a,0xfb,0x22e,0x17)][_0x4b08a0(-_0x36a04e._0x20ef77,_0x36a04e._0x16cab0,_0x36a04e._0x3be6c4,_0x36a04e._0x1a4a95)]('close',_0x9173ff);}catch{_0x213d33[_0x4b08a0(_0x36a04e._0x2feafe,0xfb,_0x36a04e._0x32b209,0x118)]['on'](_0x42de8d(-0x4a,0xea,-0x97,-0x106),_0x9173ff);}const _0x5dcb2c=_0x45d370=>{const _0xb59869={_0x166ce9:0x1ea};if(_0x332c93['terminal'])return;function _0x153dbb(_0x1c629d,_0x178d47,_0x25cfb7,_0x207144){return _0x42de8d(_0x178d47-_0x2fda28._0x495a03,_0x178d47-0x1b3,_0x25cfb7,_0x207144-_0x2fda28._0x47ca8a);}_0x332c93[_0x3f1c06(_0x2a22fd._0x51e351,_0x2a22fd._0x54c642,_0x2a22fd._0x31ca1d,0x49a)]=stableErrorCode(_0x45d370,'process-error');function _0x3f1c06(_0x55e0e1,_0x422e63,_0x4456ed,_0x2058b1){return _0x42de8d(_0x4456ed-0x439,_0x422e63-0x76,_0x2058b1,_0x2058b1-_0xb59869._0x166ce9);}_0x332c93['status']=_0x153dbb(_0x2a22fd._0x2fbe69,0x5f4,_0x2a22fd._0x5a75c9,0x3cc);};try{_0x213d33[_0x42de8d(-_0x36a04e._0xf148b,-_0x36a04e._0x2dbf44,-0xa,-0x19a)][_0x4b08a0(-_0x36a04e._0x146007,_0x36a04e._0x250413,0x39,_0x36a04e._0x5f21a4)](_0x4b08a0(_0x36a04e._0x490a48,0xd4,-0x13c,_0x36a04e._0x32f264),_0x5dcb2c);}catch{_0x213d33[_0x42de8d(-0x75,-_0x36a04e._0x262bb8,-0x34,-_0x36a04e._0x5303a8)]['on'](_0x4b08a0(_0x36a04e._0x55c415,_0x36a04e._0x457b64,_0x36a04e._0x56a5ff,0x135),_0x5dcb2c);}return _0x213d33['child']['stdout']?.['on'](_0x4b08a0(_0x36a04e._0x203224,_0x36a04e._0x746f3f,_0x36a04e._0x5244a5,_0x36a04e._0xcc415e),_0x4ff2b5=>this[_0x4b08a0(0x259,0x90,0x12a,-0xd2)](_0x332c93,_0x332c93[_0x4b08a0(0x335,0xeb,0x317,-0x75)],_0x332c93[_0x4b08a0(-0x4d,0x134,-0x97,0x2b6)],_0x4ff2b5)),_0x213d33['child'][_0x42de8d(0x1ca,0x17d,_0x36a04e._0x303327,0x193)]?.['on']('data',_0x2a26c4=>this[_0x42de8d(-0xe0,-0x1f,-0xbf,-0x1ea)](_0x332c93,_0x332c93[_0x4b08a0(-0xb6,-0xd3,0xf7,-0x242)],_0x332c93['stderrNormalizer'],_0x2a26c4)),this['evict'](),{'pid':_0x332c93[_0x42de8d(_0x36a04e._0x1935a5,-_0x36a04e._0x23fc4b,0x1b6,_0x36a04e._0x2e2328)]};}[_0x4eedea(0x19b,0x35c,0x36c,0x41d)](_0x5c57ff){const _0x16b59a={_0xcbeb56:0x52f,_0x437045:0x768,_0xb6ba52:0x904},_0x4b3a0e={_0x5787d4:0x15d,_0x3aab2f:0x40f};function _0x149368(_0x2cb2a3,_0x1620b4,_0x25dd15,_0x54a724){return _0x4eedea(_0x2cb2a3-_0x4b3a0e._0x5787d4,_0x25dd15-_0x4b3a0e._0x3aab2f,_0x54a724,_0x54a724-0x192);}return this[_0x149368(0x7aa,_0x16b59a._0xcbeb56,_0x16b59a._0x437045,_0x16b59a._0xb6ba52)](_0x5c57ff)['terminalPromise'];}[_0xa5377c(0x41c,0x19d,0x3cf,0x263)](_0x43ef48,_0x1123aa){const _0x5b624b={_0x41daed:0x87b,_0x444976:0xa59,_0x554f88:0x603,_0x1ddbf3:0x303,_0x189000:0x2b5,_0x39c22b:0x1a7,_0x3d1446:0x248,_0x2a9250:0x2dc,_0x478361:0xab,_0x2c79a6:0x2f6,_0x5cf975:0x55e,_0x7cc40b:0x4e7,_0x5a904c:0x620,_0x54298a:0x9c0,_0x3418db:0x7a1,_0x2942e7:0x5aa,_0x17f11a:0x92,_0xe8b60c:0x9ab,_0x1a255c:0x7e7,_0x54a267:0x4f5,_0x492bcf:0x106,_0x5ea88b:0x30a,_0x3a18ab:0x89e,_0x51d461:0x9b5,_0xe9bb7c:0x8ce,_0x1a9b1b:0x28b,_0x160e39:0x3e7,_0x1667f1:0x85,_0x30c664:0x252,_0x5daa1e:0x13f,_0x317d8a:0x117,_0x1918cd:0x19b,_0x282803:0x447,_0x5a1e01:0x327,_0x2f5ffc:0x86e,_0x471690:0x89c,_0x3b3a52:0x983,_0x38ced6:0x7a4,_0x6ee9f1:0x127,_0x4ad9c9:0x1e5,_0x56d002:0x215,_0x4993bd:0x237,_0x4beb10:0x2ce,_0x3e76ac:0x275,_0x1a130b:0xa8d,_0x44dfb1:0x89a,_0x4a97c2:0x77c,_0x5320fc:0x4a8},_0x20432c={_0xf9fadc:0x110,_0x293c73:0x6e,_0x2995ab:0x257},_0x2dc155=this[_0x3c66de(0x731,0x9e2,_0x5b624b._0x41daed,_0x5b624b._0x444976)](_0x43ef48);function _0x20ceaf(_0x35144e,_0x3e2f58,_0x2c4cd2,_0x236595){return _0xa5377c(_0x2c4cd2,_0x3e2f58-_0x20432c._0xf9fadc,_0x2c4cd2-_0x20432c._0x293c73,_0x236595- -_0x20432c._0x2995ab);}if(!Number[_0x20ceaf(_0x5b624b._0x554f88,_0x5b624b._0x1ddbf3,0x44d,0x3b2)](_0x1123aa[_0x20ceaf(_0x5b624b._0x189000,0x1c8,0x2db,0xbf)])||_0x1123aa[_0x20ceaf(0x1c7,_0x5b624b._0x39c22b,_0x5b624b._0x3d1446,0xbf)]<0x1||_0x1123aa[_0x20ceaf(_0x5b624b._0x2a9250,_0x5b624b._0x478361,_0x5b624b._0x2c79a6,0xbf)]>MAX_CHARS)throw new RangeError('limit\x20must\x20be\x20within\x20retained\x20output\x20bounds');const _0x45bdf0=_0x2dc155[_0x3c66de(_0x5b624b._0x5cf975,0x66f,_0x5b624b._0x7cc40b,_0x5b624b._0x5a904c)],_0x58da8=_0x2dc155[_0x3c66de(0x8e6,_0x5b624b._0x54298a,_0x5b624b._0x3418db,_0x5b624b._0x2942e7)],_0x19e2bf=_0x1123aa[_0x20ceaf(0x134,-0x1,-_0x5b624b._0x17f11a,0x98)]??_0x45bdf0,_0x1ddf67=Math[_0x3c66de(_0x5b624b._0xe8b60c,0x90f,_0x5b624b._0x1a255c,0x867)](_0x58da8,Math['max'](_0x45bdf0,_0x19e2bf)),_0x543105=_0x2dc155[_0x20ceaf(_0x5b624b._0x54a267,_0x5b624b._0x492bcf,0x369,_0x5b624b._0x5ea88b)][_0x3c66de(0xa31,0x898,_0x5b624b._0x3a18ab,_0x5b624b._0x51d461)](_0x1ddf67-_0x45bdf0);function _0x3c66de(_0x2c3d41,_0x114dfe,_0x4f2709,_0x3783d6){return _0xa5377c(_0x114dfe,_0x114dfe-0x18a,_0x4f2709-0x105,_0x4f2709-0x32c);}const _0x3476ad=_0x543105[_0x3c66de(0x678,0xa2c,0x89e,_0x5b624b._0xe9bb7c)](0x0,_0x1123aa['limit']);return{'description':_0x2dc155[_0x20ceaf(_0x5b624b._0x1a9b1b,_0x5b624b._0x160e39,0x44,0x226)],'commandPreview':_0x2dc155[_0x20ceaf(_0x5b624b._0x1667f1,_0x5b624b._0x30c664,-_0x5b624b._0x5daa1e,0x1e)],'cwd':_0x2dc155[_0x20ceaf(0x33e,_0x5b624b._0x317d8a,_0x5b624b._0x1918cd,0x209)],'pid':_0x2dc155[_0x20ceaf(0x34c,_0x5b624b._0x282803,0x2dc,_0x5b624b._0x5a1e01)],'status':_0x2dc155[_0x3c66de(0x9a4,0x8b3,_0x5b624b._0x2f5ffc,_0x5b624b._0x471690)],'offset':_0x1ddf67,'nextOffset':_0x1ddf67+_0x3476ad[_0x3c66de(_0x5b624b._0x3b3a52,_0x5b624b._0x38ced6,0x786,0x5c2)],'endOffset':_0x58da8,'output':_0x3476ad,'exitCode':_0x2dc155[_0x20ceaf(_0x5b624b._0x6ee9f1,-_0x5b624b._0x4ad9c9,-_0x5b624b._0x56d002,-0x2f)],'signal':_0x2dc155[_0x20ceaf(_0x5b624b._0x4993bd,0x301,_0x5b624b._0x4beb10,0x306)],'truncated':_0x2dc155['totalDropped']>0x0,'totalDropped':_0x2dc155[_0x3c66de(0x5c3,0x3ca,0x4e7,0x6c2)],'gracefulRequested':_0x2dc155[_0x20ceaf(_0x5b624b._0x3e76ac,0x3c6,0x3e4,0x414)],'forceRequested':_0x2dc155[_0x3c66de(_0x5b624b._0x1a130b,_0x5b624b._0x44dfb1,0x8b2,0x98e)],..._0x2dc155['errorCode']===void 0x0?{}:{'errorCode':_0x2dc155[_0x3c66de(0x7a4,_0x5b624b._0x4a97c2,0x702,_0x5b624b._0x5320fc)]}};}['terminate'](_0x1bf9d8,_0xd7935f=this[_0x4eedea(0x367,0x1b9,0x319,0x143)],_0x248f6d=![]){const _0x56dd89={_0x171ae3:0x543,_0x31e606:0x3c8,_0x2cba45:0x757,_0x4a9aab:0x78e,_0x33298c:0x78a,_0xa8eac5:0x787,_0x306ffc:0x384,_0x367ef2:0x6a0,_0x193566:0x683,_0x59c250:0x8d3,_0x5d9f09:0x9fb,_0x50fdb2:0x961,_0x536db3:0x584,_0x1a4497:0x467,_0x4bb5ae:0x7c5,_0x53510d:0x745,_0x37235f:0x58f,_0x5ec643:0x24d,_0x1e40e7:0x477,_0x3059f0:0x50f,_0x544aae:0x38a,_0x103303:0x9dd,_0x4c33ac:0x787},_0x340c6f={_0x29f915:0x30e,_0x54d5f3:0x22c,_0xb5f92e:0x2ce},_0x4e947f={_0x41a2bd:0x1b2,_0x496469:0x587},_0x1e7d19={_0x21e24c:0x59},_0x42f708=this['entry'](_0x1bf9d8);if(_0x42f708[_0x141594(_0x56dd89._0x171ae3,_0x56dd89._0x31e606,0x478,0x550)])return Promise[_0x519b6e(0x695,0x4da,0x5f0,0x4fb)](this[_0x519b6e(0x5a4,_0x56dd89._0x2cba45,_0x56dd89._0x4a9aab,_0x56dd89._0x33298c)](_0x42f708,_0x141594(_0x56dd89._0xa8eac5,0x5df,_0x56dd89._0x306ffc,0x583)));function _0x141594(_0x217ec2,_0x3549aa,_0x59dbbe,_0x55af4a){return _0xa5377c(_0x3549aa,_0x3549aa-_0x1e7d19._0x21e24c,_0x59dbbe-0x99,_0x55af4a-0xf9);}function _0x519b6e(_0x401416,_0x583b7f,_0x948483,_0x203d2f){return _0x4eedea(_0x401416-_0x4e947f._0x41a2bd,_0x401416-_0x4e947f._0x496469,_0x948483,_0x203d2f-0x95);}if(_0x42f708[_0x141594(0x548,_0x56dd89._0x367ef2,_0x56dd89._0x193566,0x745)]!==void 0x0)return _0x42f708['termination'];if(_0x42f708[_0x519b6e(_0x56dd89._0x59c250,0x747,_0x56dd89._0x5d9f09,_0x56dd89._0x50fdb2)]!==_0x141594(0x34c,_0x56dd89._0x536db3,0x2ef,_0x56dd89._0x1a4497))_0x42f708[_0x519b6e(0x8d3,0x840,0x99b,0x894)]='terminating';return _0x42f708['killRequested']=!![],_0x42f708[_0x141594(0x577,_0x56dd89._0x4bb5ae,0x6d0,_0x56dd89._0x53510d)]=this[_0x141594(_0x56dd89._0x37235f,0x23a,_0x56dd89._0x5ec643,_0x56dd89._0x1e40e7)](_0x42f708,_0xd7935f,_0x248f6d)[_0x141594(0x56c,0x1da,_0x56dd89._0x3059f0,_0x56dd89._0x544aae)](()=>{const _0x229a15={_0xa7b03b:0x1e2,_0x7a12fb:0x477};function _0x2516b0(_0x202cda,_0x1233f2,_0xf95531,_0x460549){return _0x141594(_0x202cda-0xf0,_0x202cda,_0xf95531-_0x229a15._0xa7b03b,_0x460549- -_0x229a15._0x7a12fb);}_0x42f708[_0x2516b0(_0x340c6f._0x29f915,0x414,_0x340c6f._0x54d5f3,_0x340c6f._0xb5f92e)]=void 0x0;}),_0x42f708[_0x519b6e(_0x56dd89._0x103303,0xaa3,_0x56dd89._0x4c33ac,0xac2)];}[_0x4eedea(-0x194,0x41,-0x181,-0xa0)](_0x470b7b){const _0x71a7dd={_0x1160ff:0x780,_0x27e232:0x772},_0x445a9d={_0x4948ef:0xf2,_0x43ec55:0x14};function _0x393350(_0x136e75,_0x1c28ff,_0x473d94,_0x177a93){return _0x4eedea(_0x136e75-_0x445a9d._0x4948ef,_0x1c28ff-0x579,_0x177a93,_0x177a93-_0x445a9d._0x43ec55);}this['entries'][_0x393350(_0x71a7dd._0x1160ff,_0x71a7dd._0x27e232,0x63b,0x8f4)](_0x470b7b);}async[_0xa5377c(0x481,0x2c2,0x536,0x37e)](_0x514e04,_0x358c00,_0x4b7fa4){const _0xfadb82={_0x339758:0x424,_0x4dbbd0:0x4bf,_0x4df03b:0x5ff,_0x20219d:0x3e7,_0x57624b:0x55b,_0x23a0e1:0x253,_0x39b417:0x23e,_0x5e7ffc:0xb3,_0x4765ed:0x72a,_0x2369a7:0x5f8,_0x20b030:0x493,_0x3a58c7:0x3f7,_0x10d7bf:0x1ed,_0x4ea57a:0x33c,_0x16ec25:0x3e1,_0x2a8391:0x405,_0x34fead:0x154,_0x218924:0x3a2,_0x5dfb2f:0x1b7,_0x4c4bb9:0x2d9,_0x52ddbc:0x26f,_0x4ceded:0x204,_0x1d26b2:0x616,_0x387f98:0x775,_0x3b011a:0x5f8,_0x3f5997:0xb,_0x2ca3e3:0x44c,_0x1d49a2:0x113,_0x12cdd0:0x224,_0x2138ea:0x684,_0x4122fc:0x195,_0x3e22aa:0x16e,_0x475af1:0x2fc,_0x1f877f:0x741,_0x3828a0:0x4cf},_0x41a2c1={_0x2ad059:0x1c0},_0x686a91={_0x4deaed:0x206},_0x31d7c9={'rootPid':_0x514e04['pid']??void 0x0,'processGroupId':_0x514e04[_0x2e27f8(_0xfadb82._0x339758,0x40a,0x686,_0xfadb82._0x4dbbd0)]};_0x514e04[_0x2e27f8(0x5de,_0xfadb82._0x4df03b,0x460,0x672)]=!![];const _0xc546b=await safeSignal(_0x358c00,_0x31d7c9,_0x2e27f8(0x2fc,0x754,_0xfadb82._0x20219d,_0xfadb82._0x57624b));if(_0xc546b[_0x1cc5b1(_0xfadb82._0x23a0e1,0x53,_0xfadb82._0x39b417,_0xfadb82._0x5e7ffc)]===_0x2e27f8(0x427,0x587,_0xfadb82._0x4765ed,_0xfadb82._0x2369a7)&&!_0x4b7fa4)return this[_0x2e27f8(0x80c,_0xfadb82._0x20b030,0x5fb,_0xfadb82._0x2369a7)](_0x514e04,_0x2e27f8(0x10a,_0xfadb82._0x3a58c7,_0xfadb82._0x10d7bf,_0xfadb82._0x4ea57a));if(await this['wait'](_0x514e04))return this[_0x2e27f8(_0xfadb82._0x16ec25,_0xfadb82._0x2a8391,_0xfadb82._0x34fead,_0xfadb82._0x218924)](_0x514e04);_0x514e04[_0x1cc5b1(0x380,0x582,_0xfadb82._0x5dfb2f,_0xfadb82._0x4c4bb9)]=!![];function _0x1cc5b1(_0x166a3b,_0x325891,_0x2c82bb,_0x1c6cb5){return _0xa5377c(_0x325891,_0x325891-0x17f,_0x2c82bb-0x1a,_0x166a3b- -_0x686a91._0x4deaed);}function _0x2e27f8(_0x584c05,_0x2da6ca,_0x585940,_0x2d11c1){return _0x4eedea(_0x584c05-0x18c,_0x2d11c1-0x1fd,_0x584c05,_0x2d11c1-_0x41a2c1._0x2ad059);}const _0x4ae1e9=await safeSignal(_0x358c00,_0x31d7c9,_0x1cc5b1(0x2cc,0x99,0x137,0x431));if(_0x4ae1e9[_0x2e27f8(0x654,0x488,0x349,0x460)]===_0x1cc5b1(0x3eb,_0xfadb82._0x52ddbc,0x557,_0xfadb82._0x4ceded))return this[_0x2e27f8(_0xfadb82._0x1d26b2,_0xfadb82._0x387f98,0x7fa,_0xfadb82._0x3b011a)](_0x514e04,_0x2e27f8(_0xfadb82._0x3f5997,_0xfadb82._0x2ca3e3,_0xfadb82._0x1d49a2,_0xfadb82._0x12cdd0));if(await this[_0x2e27f8(0x473,_0xfadb82._0x2138ea,0x42b,0x470)](_0x514e04))return this[_0x1cc5b1(_0xfadb82._0x4122fc,_0xfadb82._0x3e22aa,-0x8e,_0xfadb82._0x475af1)](_0x514e04);return this[_0x2e27f8(_0xfadb82._0x1f877f,0x53b,_0xfadb82._0x3828a0,0x5f8)](_0x514e04,'termination-timeout');}[_0xa5377c(0x478,0x3a4,0x29c,0x39b)](_0x32a8d9){const _0x5075d={_0x7fdc34:0x8ba,_0x11797e:0x5a7,_0x23b696:0x4c6,_0x4ab266:0x4ad,_0x2ca453:0x903,_0x2553e8:0x4d1,_0x2a20c3:0x219,_0xcf27d:0x3a,_0x53d35b:0x33f,_0x3857cd:0x2ef,_0x4429f4:0x1c3,_0x5dd106:0x3d7,_0x2373fb:0x350},_0x55fe96={_0x41cda3:0x175,_0x49a990:0x50};function _0x4a80ab(_0x46d2c2,_0x3b43f7,_0x4d80ae,_0x223920){return _0xa5377c(_0x46d2c2,_0x3b43f7-0x148,_0x4d80ae-_0x55fe96._0x41cda3,_0x3b43f7- -_0x55fe96._0x49a990);}function _0x51170b(_0x10fd43,_0x35a9c0,_0xd541ce,_0x376406){return _0xa5377c(_0xd541ce,_0x35a9c0-0x2e,_0xd541ce-0x59,_0x10fd43-0x11a);}return _0x32a8d9[_0x51170b(0x65c,0x67c,_0x5075d._0x7fdc34,_0x5075d._0x11797e)]===_0x51170b(0x488,_0x5075d._0x23b696,0x511,_0x5075d._0x4ab266)?this[_0x51170b(0x70b,_0x5075d._0x2ca453,_0x5075d._0x2553e8,0x82e)](_0x32a8d9,_0x32a8d9['errorCode']??_0x4a80ab(0x109,_0x5075d._0x2a20c3,-_0x5075d._0xcf27d,_0x5075d._0x53d35b)):this[_0x4a80ab(_0x5075d._0x3857cd,_0x5075d._0x4429f4,_0x5075d._0x5dd106,0x2b4)](_0x32a8d9,_0x51170b(0x433,0x2ae,_0x5075d._0x2373fb,0x640));}[_0xa5377c(0x4e4,0x7c5,0x439,0x5f1)](_0x43c717,_0x667a9f){const _0x1195ad={_0x44be82:0x552,_0x4583ad:0x468,_0xd45309:0xc8,_0x35109e:0x173,_0x65189:0x38f,_0x470dc3:0x1d9,_0x1a13ed:0x418,_0x482907:0x76d,_0x314a88:0x639,_0x22237d:0x77e},_0x2cacba={_0x3bd4e2:0x1f3,_0x16d43f:0x112},_0x19f4b9={_0x5d8ea5:0xa,_0x466118:0x47,_0x2161e4:0x17c};function _0xe59b24(_0x4e2dcc,_0x4862d0,_0x11cf91,_0x184759){return _0xa5377c(_0x4e2dcc,_0x4862d0-_0x19f4b9._0x5d8ea5,_0x11cf91-_0x19f4b9._0x466118,_0x4862d0-_0x19f4b9._0x2161e4);}function _0xc53c0e(_0x398511,_0x16173d,_0x3149b7,_0x596f61){return _0x4eedea(_0x398511-_0x2cacba._0x3bd4e2,_0x398511- -0x135,_0x3149b7,_0x596f61-_0x2cacba._0x16d43f);}return _0x43c717[_0xe59b24(0x320,_0x1195ad._0x44be82,0x498,0x39b)]=_0x667a9f[_0xc53c0e(0x247,_0x1195ad._0x4583ad,_0x1195ad._0xd45309,_0x1195ad._0x35109e)](0x0,0x40),this[_0xe59b24(0x5c9,_0x1195ad._0x65189,_0x1195ad._0x470dc3,_0x1195ad._0x1a13ed)](_0x43c717,_0xe59b24(0x8dc,_0x1195ad._0x482907,_0x1195ad._0x314a88,_0x1195ad._0x22237d));}[_0x4eedea(-0x190,0x1d,-0xe6,0x111)](_0x354141,_0x3a2e41){const _0x206544={_0x237c80:0xa69,_0x2f4373:0x890,_0xc9ff7f:0x465,_0x558b12:0x439,_0x205f65:0x860,_0x1a7584:0x709,_0x3130c9:0x98c,_0x954122:0x4a1,_0x329ba1:0xc0,_0x49594a:0x156,_0x132d65:0xac8,_0x2eb5f8:0x6df,_0x35c918:0x849},_0x41b5d7={_0x11b6cd:0x22,_0x50977a:0x2c3},_0x53a9d6={_0x3210d1:0x1d2};function _0x14de18(_0x2d526a,_0x5a3d8e,_0x77c274,_0x22437f){return _0xa5377c(_0x77c274,_0x5a3d8e-0x6e,_0x77c274-_0x53a9d6._0x3210d1,_0x2d526a- -0x316);}function _0x399187(_0x295abd,_0x1bff37,_0x22b590,_0x1c13d4){return _0xa5377c(_0x1bff37,_0x1bff37-0x1ef,_0x22b590-_0x41b5d7._0x11b6cd,_0x1c13d4-_0x41b5d7._0x50977a);}return{'shellId':_0x354141['workId'],'outcome':_0x3a2e41,'status':_0x354141['status']===_0x399187(_0x206544._0x237c80,0x801,_0x206544._0x2f4373,0x89e)?'terminating':_0x354141[_0x14de18(0x22c,_0x206544._0xc9ff7f,0x2d7,_0x206544._0x558b12)],'exitCode':_0x354141[_0x14de18(-0xee,-0x32a,-0x14e,-0x178)],'signal':_0x354141[_0x399187(_0x206544._0x205f65,_0x206544._0x1a7584,_0x206544._0x3130c9,0x820)],..._0x354141[_0x399187(0x45d,_0x206544._0x954122,0x5c0,0x699)]===void 0x0?{}:{'errorCode':_0x354141[_0x14de18(_0x206544._0x329ba1,0x24d,_0x206544._0x49594a,-0x15d)]},'gracefulRequested':_0x354141[_0x399187(_0x206544._0x132d65,0x856,0x70e,0x92e)],'forceRequested':_0x354141[_0x399187(0x9f7,0x945,_0x206544._0x2eb5f8,_0x206544._0x35c918)]};}async[_0x4eedea(0x35,0x273,0x22e,0xf6)](_0x1667ef){const _0x27fcca={_0x227267:0x44a,_0x18ce50:0x455,_0x55c583:0x6ea,_0x3e8063:0x9f8,_0x31c9c3:0x298},_0x223b98={_0x54bd6a:0x2ae};if(_0x1667ef['terminal'])return!![];return new Promise(_0x5bbc33=>{const _0x3c8334={_0x471566:0x44};function _0x1637fb(_0x2f9935,_0x1390b7,_0x195c44,_0x103106){return _0x7d60(_0x1390b7- -_0x3c8334._0x471566,_0x195c44);}function _0x1de082(_0x301ddd,_0x2cc524,_0x5a0071,_0x5b265d){return _0x7d60(_0x301ddd-_0x223b98._0x54bd6a,_0x5b265d);}const _0xaeec72=setTimeout(()=>_0x5bbc33(![]),this[_0x1637fb(0x5df,0x3b2,_0x27fcca._0x227267,_0x27fcca._0x18ce50)]);void _0x1667ef[_0x1de082(0x807,_0x27fcca._0x55c583,0x72b,_0x27fcca._0x3e8063)][_0x1637fb(0x256,0x36d,_0x27fcca._0x31c9c3,0x1f5)](()=>{clearTimeout(_0xaeec72),_0x5bbc33(!![]);});});}[_0xa5377c(0x186,0x554,0x546,0x323)](_0x283cf3){const _0x3007d9={_0x5470b4:0x6ae,_0x5ed8ef:0x533,_0x3851f9:0x434,_0xf50f97:0x361,_0x5093f6:0x55f,_0x71123e:0x5a9,_0x892c19:0x771,_0x5bf471:0x59b,_0x5e2f0e:0x458,_0x658a78:0x692,_0x30c72a:0x34b,_0x21e44d:0x412,_0x504a8d:0x456,_0x57daa2:0x26f,_0x1797a6:0x412,_0x328f3a:0x260,_0x3402d6:0x648,_0x5aa182:0x711,_0x18105e:0x815,_0x33b37b:0x7c8,_0x391b66:0x661,_0x526af5:0x62d,_0x52f7a7:0x4ac,_0x3a0134:0x516,_0x39eb4a:0x76f,_0x1005f8:0x76a},_0x5598a2={_0x5b87b9:0x97,_0x3976f9:0x1d3,_0x1b1be9:0x16},_0x4bd46a={_0x4e0380:0x60,_0x52b321:0x257};this['flush'](_0x283cf3);function _0x70a939(_0x48369b,_0x34f39d,_0x4b7a48,_0x25bb51){return _0xa5377c(_0x4b7a48,_0x34f39d-0x78,_0x4b7a48-_0x4bd46a._0x4e0380,_0x48369b-_0x4bd46a._0x52b321);}if(_0x283cf3[_0x70a939(_0x3007d9._0x5470b4,0x8a2,_0x3007d9._0x5ed8ef,0x5c8)])return;function _0x439d87(_0x2e38d1,_0x729d40,_0x202b23,_0x485258){return _0x4eedea(_0x2e38d1-_0x5598a2._0x5b87b9,_0x2e38d1-_0x5598a2._0x3976f9,_0x202b23,_0x485258-_0x5598a2._0x1b1be9);}_0x283cf3[_0x439d87(_0x3007d9._0x3851f9,0x4f1,_0x3007d9._0xf50f97,_0x3007d9._0x5093f6)]=!![],_0x283cf3[_0x70a939(_0x3007d9._0x71123e,0x3c3,_0x3007d9._0x892c19,_0x3007d9._0x5bf471)]({'status':terminal(_0x283cf3[_0x439d87(0x51f,0x659,0x4cf,_0x3007d9._0x5e2f0e)])?_0x283cf3[_0x439d87(0x51f,0x4dc,_0x3007d9._0x658a78,0x513)]:_0x439d87(_0x3007d9._0x30c72a,0x44e,0x50e,0x16f),'exitCode':_0x283cf3['exitCode'],'signal':_0x283cf3['signal'],'truncated':_0x283cf3[_0x70a939(_0x3007d9._0x21e44d,_0x3007d9._0x504a8d,_0x3007d9._0x57daa2,0x4a8)]>0x0,'totalDropped':_0x283cf3[_0x70a939(_0x3007d9._0x1797a6,0x233,0x533,_0x3007d9._0x328f3a)],'gracefulRequested':_0x283cf3[_0x439d87(_0x3007d9._0x3402d6,0x685,_0x3007d9._0x5aa182,_0x3007d9._0x18105e)],'forceRequested':_0x283cf3[_0x70a939(0x7dd,0x9be,_0x3007d9._0x33b37b,_0x3007d9._0x391b66)],..._0x283cf3['errorCode']===void 0x0?{}:{'errorCode':_0x283cf3[_0x70a939(_0x3007d9._0x526af5,_0x3007d9._0x52f7a7,0x816,0x80b)]}}),this[_0x439d87(_0x3007d9._0x3a0134,_0x3007d9._0x39eb4a,_0x3007d9._0x1005f8,0x338)]();}[_0xa5377c(0x1f7,0x491,0x1d3,0x32a)](_0x55281e,_0x33f64e,_0x354476,_0x515949){const _0x37d310={_0x2d8aaf:0x6f6,_0x5b4d2e:0x902,_0x189fa1:0x663,_0x38caff:0x749},_0x564bb1={_0x5851d9:0x14f},_0x4a2017={_0x2be8d1:0xa1,_0x55c980:0x20,_0x614253:0x197};function _0x533a7d(_0x2b189f,_0x2aee00,_0xf33ef,_0x2eaca5){return _0x4eedea(_0x2b189f-_0x4a2017._0x2be8d1,_0x2aee00-_0x4a2017._0x55c980,_0x2b189f,_0x2eaca5-_0x4a2017._0x614253);}const _0x3f95fa=_0x33f64e[_0x2fb61e(_0x37d310._0x2d8aaf,0x820,0x7ba,_0x37d310._0x5b4d2e)](_0x515949);function _0x2fb61e(_0xe26578,_0x3f4276,_0x34e9c6,_0x1239c7){return _0xa5377c(_0x34e9c6,_0x3f4276-_0x564bb1._0x5851d9,_0x34e9c6-0x2,_0x1239c7-0x395);}this[_0x2fb61e(0x511,_0x37d310._0x189fa1,0x4fe,_0x37d310._0x38caff)](_0x55281e,_0x55281e['stripAnsi']?_0x354476['write'](_0x3f95fa):_0x3f95fa);}[_0x4eedea(-0xc6,0xde,-0x7d,0x231)](_0x3f20ff){const _0x4e7eee={_0x551157:0x4cd,_0x1b5acf:0x618,_0x44b5a9:0x4a0,_0x89c093:0x33d,_0x551f21:0x28c,_0x43a214:0x214,_0x5c14b8:0x32f,_0x3b211c:0x102,_0x4505ce:0x23a,_0x21bd3d:0x290,_0xc08e72:0x76b,_0x39410:0x712,_0x253cea:0x32c,_0xcfa3c7:0x47b,_0x3cd506:0x9c2,_0x4b72d6:0x6ae,_0x589afc:0x6bc,_0x260ae9:0x7fd},_0x4a87f5={_0x48f2a9:0x17a,_0x2d7861:0x47b},_0x46d807={_0x2a7035:0x1a0};function _0x328194(_0x414386,_0x3a77a7,_0x5a5f45,_0x8e46bd){return _0x4eedea(_0x414386-0x18f,_0x3a77a7-_0x46d807._0x2a7035,_0x8e46bd,_0x8e46bd-0x17e);}if(_0x3f20ff[_0x1e9bfa(_0x4e7eee._0x551157,_0x4e7eee._0x1b5acf,0x70f,0x801)])return;_0x3f20ff[_0x328194(_0x4e7eee._0x44b5a9,_0x4e7eee._0x89c093,_0x4e7eee._0x551f21,_0x4e7eee._0x43a214)]=!![];const _0x296533=_0x3f20ff[_0x328194(0x151,_0x4e7eee._0x5c14b8,0x4c3,0x14f)][_0x328194(0x1de,0x162,0xe6,_0x4e7eee._0x3b211c)](),_0x405463=_0x3f20ff[_0x1e9bfa(0x62b,0x44c,_0x4e7eee._0x4505ce,_0x4e7eee._0x21bd3d)]['end']();function _0x1e9bfa(_0x4e5acc,_0x3d43f7,_0x4b2828,_0x4c15d8){return _0x4eedea(_0x4e5acc-_0x4a87f5._0x48f2a9,_0x3d43f7-_0x4a87f5._0x2d7861,_0x4e5acc,_0x4c15d8-0x12b);}this['append'](_0x3f20ff,_0x3f20ff['stripAnsi']?_0x3f20ff['stdoutNormalizer'][_0x328194(0x3f8,0x517,_0x4e7eee._0xc08e72,_0x4e7eee._0x39410)](_0x296533)+_0x3f20ff['stdoutNormalizer'][_0x1e9bfa(_0x4e7eee._0x253cea,0x43d,_0x4e7eee._0xcfa3c7,0x26f)]():_0x296533),this['append'](_0x3f20ff,_0x3f20ff['stripAnsi']?_0x3f20ff[_0x1e9bfa(_0x4e7eee._0x3cd506,0x7f8,0x82f,0x93d)][_0x1e9bfa(0x8d4,0x7f2,_0x4e7eee._0x4b72d6,0x5cb)](_0x405463)+_0x3f20ff[_0x1e9bfa(_0x4e7eee._0x589afc,0x7f8,_0x4e7eee._0x260ae9,0x9f2)]['end']():_0x405463);}[_0x4eedea(0x297,0x1be,0x51,-0x41)](_0x3597ff,_0x14961a){const _0x2763bc={_0x2a783a:0x4d0,_0xcf808e:0x32d,_0x5a8950:0x145,_0x59bdbb:0x483,_0x10cac7:0x5f0,_0x5be595:0x73f,_0x4c0d8a:0x41e,_0x307da4:0x468,_0x52c0d1:0x40e,_0x55ca84:0x56f,_0x55499b:0x4e5,_0x2995e5:0x363,_0x3c00da:0x241,_0x21c64f:0x11,_0x148154:0x18d,_0x230287:0x226,_0x24361a:0x299,_0x592624:0x25c,_0x25bbe1:0x347},_0x4221df={_0x348b58:0x147,_0x2b1117:0x1aa},_0x1164d6={_0x23eadf:0x7c};function _0x59c328(_0x46ee87,_0x1fcbec,_0x496ab8,_0x3996a1){return _0x4eedea(_0x46ee87-_0x1164d6._0x23eadf,_0x46ee87-0x204,_0x496ab8,_0x3996a1-0x156);}function _0x511118(_0x5c8dd4,_0x5a76f3,_0x1af29f,_0x169b13){return _0x4eedea(_0x5c8dd4-_0x4221df._0x348b58,_0x5c8dd4- -0x12a,_0x169b13,_0x169b13-_0x4221df._0x2b1117);}if(_0x14961a[_0x59c328(0x468,0x497,_0x2763bc._0x2a783a,0x5a5)]===0x0)return;_0x3597ff[_0x511118(0x241,_0x2763bc._0xcf808e,0x35a,_0x2763bc._0x5a8950)]+=_0x14961a,_0x3597ff[_0x59c328(_0x2763bc._0x59bdbb,_0x2763bc._0x10cac7,0x5f5,0x402)]+=_0x14961a['length'];if(_0x3597ff[_0x59c328(0x56f,_0x2763bc._0x5be595,_0x2763bc._0x4c0d8a,0x6be)][_0x59c328(_0x2763bc._0x307da4,0x6a5,_0x2763bc._0x52c0d1,0x371)]>this['maxChars']){const _0x42b07d=_0x3597ff[_0x59c328(_0x2763bc._0x55ca84,0x4d8,_0x2763bc._0x55499b,0x4fd)]['length']-this['maxChars'];_0x3597ff[_0x59c328(_0x2763bc._0x55ca84,0x4d4,0x731,_0x2763bc._0x2995e5)]=_0x3597ff[_0x511118(_0x2763bc._0x3c00da,0x2b4,_0x2763bc._0x21c64f,_0x2763bc._0x148154)][_0x511118(0x252,_0x2763bc._0x230287,_0x2763bc._0x24361a,0xc0)](_0x42b07d),_0x3597ff[_0x511118(-0x165,-_0x2763bc._0x592624,-0x364,-_0x2763bc._0x25bbe1)]+=_0x42b07d;}}[_0x4eedea(0x511,0x343,0x55f,0x14a)](){const _0x43ebcc={_0x195df2:0xf0,_0x17599c:0xf9,_0x27dd90:0x1ef,_0x5b7f8:0x2fc,_0x28335a:0x1a5,_0x276c7a:0x300,_0xbb517:0x374,_0x5220e0:0x1af,_0x9e3d17:0x4aa,_0xac4563:0x154,_0x3808fb:0x1da,_0x11cec0:0x21d,_0x13da21:0x3ea,_0x3cc1d9:0x331,_0x4d0649:0x3ec,_0x383e14:0x1d7},_0x33ec12={_0x40df41:0x1be,_0x2d3581:0x3},_0x393cb7={_0x1a566b:0x1ac,_0x45180c:0x2c9};function _0x5e8154(_0x1bf650,_0x4bc4ca,_0x435846,_0x1d051f){return _0xa5377c(_0x4bc4ca,_0x4bc4ca-_0x393cb7._0x1a566b,_0x435846-0xcc,_0x1bf650- -_0x393cb7._0x45180c);}function _0x472e71(_0x1386d4,_0x42c4f1,_0x186010,_0x2105bd){return _0xa5377c(_0x1386d4,_0x42c4f1-0x10c,_0x186010-_0x33ec12._0x40df41,_0x186010- -_0x33ec12._0x2d3581);}while(this[_0x5e8154(0x300,0x2b4,0x407,_0x43ebcc._0x195df2)][_0x5e8154(-_0x43ebcc._0x17599c,-0x281,-_0x43ebcc._0x27dd90,-_0x43ebcc._0x5b7f8)]>this[_0x5e8154(_0x43ebcc._0x28335a,0x1c4,0x2dd,-0x37)]){const _0x4514cc=[...this[_0x5e8154(_0x43ebcc._0x276c7a,0x1e7,0xe4,0x307)]['values']()][_0x5e8154(_0x43ebcc._0xbb517,0x261,_0x43ebcc._0x5220e0,_0x43ebcc._0x9e3d17)](_0x1fd045=>_0x1fd045[_0x5e8154(0x18e,0x9f,0x222,0x36b)]);if(!_0x4514cc)return;this[_0x5e8154(0x300,_0x43ebcc._0xac4563,_0x43ebcc._0x3808fb,_0x43ebcc._0x11cec0)][_0x472e71(_0x43ebcc._0x13da21,_0x43ebcc._0x3cc1d9,_0x43ebcc._0x4d0649,_0x43ebcc._0x383e14)](_0x4514cc['workId']);}}[_0xa5377c(0x52d,0x355,0x344,0x54f)](_0x46484b){const _0x372754={_0x3330ec:0x5ff,_0x8638d:0x95d,_0x4c4b44:0x85b,_0x252728:0x6d4,_0x3e53c6:0x5e0,_0x1fdfe1:0x675,_0x152639:0x754,_0x4e9f4f:0x326},_0x5be3e6={_0x248fea:0x14a,_0x77a02:0x292},_0x4d802e={_0x58ef2c:0x1c6,_0x4da747:0x19f};function _0x11d7e8(_0x482836,_0xf865e6,_0x3f57b1,_0x4f981d){return _0xa5377c(_0x482836,_0xf865e6-_0x4d802e._0x58ef2c,_0x3f57b1-0x10b,_0x4f981d- -_0x4d802e._0x4da747);}const _0x1ec6cb=this[_0x495e47(_0x372754._0x3330ec,0x7d2,_0x372754._0x8638d,_0x372754._0x4c4b44)][_0x495e47(_0x372754._0x252728,_0x372754._0x3e53c6,_0x372754._0x1fdfe1,_0x372754._0x152639)](_0x46484b);if(!_0x1ec6cb)throw new ToolExecutionError(_0x11d7e8(0x52e,_0x372754._0x4e9f4f,0x23e,0x495)+_0x46484b,{'shellId':_0x46484b});function _0x495e47(_0x1bcbea,_0x1a3dcc,_0x925dd,_0x186cdf){return _0xa5377c(_0x925dd,_0x1a3dcc-_0x5be3e6._0x248fea,_0x925dd-0xed,_0x186cdf-_0x5be3e6._0x77a02);}return _0x1ec6cb;}};function filterBackgroundBashOutput(_0x5e6e51){const _0x575af2={_0x4807d8:0x61d,_0x1c2453:0x58b,_0x2e0f25:0x866,_0x2d6be8:0x74d,_0x43c49f:0x669,_0x1b7c82:0x45f,_0x39d201:0x666,_0x13611e:0x549,_0x1a95b7:0x6a8,_0x5398a6:0x562,_0x531e13:0x5ed,_0x47ba9e:0x494,_0x168ebb:0x688,_0x5440fd:0x699,_0x39cede:0x530,_0x4c63d0:0x78d,_0x525c5f:0x3f3,_0x2fdfa8:0x4f6,_0x45d1c2:0x1ef,_0x197759:0x5d2,_0x2b4ff4:0x581,_0x21a0e4:0x3f2,_0x1ad500:0x52d},_0x7296e8={_0x27608f:0x1d9,_0x1a9064:0x45a,_0x2f4de5:0x1cf},_0x590958={_0x189ed4:0x18,_0x5cd16f:0x127};if(_0x5e6e51[_0x2d5d88(0x610,_0x575af2._0x4807d8,0x692,_0x575af2._0x1c2453)]===void 0x0)return{'output':_0x5e6e51['output'],'nextOffset':_0x5e6e51['nextOffset']};function _0x2d5d88(_0x1a8645,_0x3fe6a1,_0x31c446,_0xf2849d){return _0xa5377c(_0x31c446,_0x3fe6a1-_0x590958._0x189ed4,_0x31c446-0x12,_0x1a8645-_0x590958._0x5cd16f);}const _0x58cfd4=new RegExp(_0x5e6e51[_0x41ec1f(_0x575af2._0x2e0f25,0x52a,_0x575af2._0x2d6be8,0x7e1)]),_0x19302f=_0x5e6e51[_0x2d5d88(_0x575af2._0x43c49f,_0x575af2._0x1b7c82,0x447,0x439)]===_0x41ec1f(0x807,0x9af,0x83f,_0x575af2._0x39d201)?_0x5e6e51['output'][_0x2d5d88(0x699,_0x575af2._0x13611e,0x6d4,0x603)](0x0,Math[_0x2d5d88(_0x575af2._0x1a95b7,_0x575af2._0x5398a6,0x606,_0x575af2._0x531e13)](0x0,_0x5e6e51[_0x2d5d88(0x688,0x710,0x5bd,_0x575af2._0x47ba9e)]['lastIndexOf']('\x0a')+0x1)):_0x5e6e51[_0x2d5d88(_0x575af2._0x168ebb,0x739,_0x575af2._0x5440fd,0x6d6)],_0xd1fa4f=_0x19302f[_0x2d5d88(0x576,0x786,0x46d,0x5fe)]('\x0a')[_0x2d5d88(_0x575af2._0x39cede,0x414,_0x575af2._0x4c63d0,0x381)](_0x104a89=>_0x58cfd4[_0x2d5d88(0x464,0x2a1,0x4c2,0x5e5)](_0x104a89))[_0x2d5d88(_0x575af2._0x525c5f,_0x575af2._0x2fdfa8,0x3f3,0x440)]('\x0a');function _0x41ec1f(_0x1a2ff4,_0x5c97ab,_0x1f151e,_0x292fbf){return _0x4eedea(_0x1a2ff4-_0x7296e8._0x27608f,_0x1f151e-_0x7296e8._0x1a9064,_0x1a2ff4,_0x292fbf-_0x7296e8._0x2f4de5);}return{'output':_0xd1fa4f,'nextOffset':_0x5e6e51[_0x2d5d88(0x416,_0x575af2._0x45d1c2,_0x575af2._0x197759,0x625)]+_0x19302f[_0x2d5d88(_0x575af2._0x2b4ff4,_0x575af2._0x21a0e4,0x6f0,_0x575af2._0x1ad500)]};}function createBashOutputTool(_0x5cf9e9){const _0x3f7f13={_0x566f6e:0x78c,_0x59dcd0:0x7e6,_0x4c220a:0x1a1,_0x5c8991:0x2a5,_0x5946a4:0x5bd,_0xe23f19:0x794,_0x264e6d:0x16c,_0x3f69ff:0x15b,_0x1a5d67:0x143,_0x49ac1a:0x1de},_0x395a2c={_0x59776b:0x402,_0x70252b:0x3f3,_0x49fe1e:0x5f6,_0x4b2c54:0x7ad,_0x4a45f7:0x50b,_0x49fad1:0x543,_0x3fa3b5:0x35e,_0x9f2ee4:0x55e,_0x4a8c8d:0x6f6,_0x450682:0xa2,_0x163bd3:0x29c,_0x11c321:0x344,_0x3a9496:0x482,_0x11ce6b:0x3a2,_0x2ae23b:0x2e2,_0x57b66f:0x399,_0x381ccc:0x246,_0x586ddf:0x3c0,_0x3d1388:0x191,_0x596500:0x1fb,_0x51525b:0x32a,_0x1a4c1a:0x7f0,_0x1b91c2:0x84c,_0x58f231:0xa7d,_0x2ec862:0x940,_0x471c38:0xaba,_0x2b084d:0x56e,_0x58744a:0x3bf,_0x179f53:0x3cd,_0x596fca:0x245,_0xe5cdc7:0x424,_0x43e3b0:0x682,_0x395a93:0x599,_0x25d19a:0x5bd,_0x3764af:0x1ac,_0x46c967:0x69,_0x2ad17c:0x8d9,_0x2fd4fe:0x7e9,_0x2b0107:0x9dd,_0x5310ba:0x882,_0x31035a:0x927},_0x109ad0={_0xac7b1e:0x1c5,_0x1f9b27:0x3aa},_0x2f700e={_0x1117da:0xc9};function _0xde63ca(_0x51e529,_0x2e6f7c,_0x33e4d9,_0x179df1){return _0x4eedea(_0x51e529-0xd6,_0x2e6f7c-0x59a,_0x51e529,_0x179df1-_0x2f700e._0x1117da);}function _0x518b70(_0x5423bc,_0x30d33b,_0x4e14a2,_0x40195f){return _0xa5377c(_0x40195f,_0x30d33b-0x2a,_0x4e14a2-_0x109ad0._0xac7b1e,_0x30d33b- -_0x109ad0._0x1f9b27);}return defineTool({'name':_0xde63ca(0x70f,0x611,_0x3f7f13._0x566f6e,_0x3f7f13._0x59dcd0),'permissionClass':'always-confirm','description':'Read\x20retained\x20output\x20from\x20a\x20background\x20process\x20started\x20with\x20Bash(runInBackground:true).\x20Pass\x20nextOffset\x20on\x20later\x20reads;\x20optionally\x20filter\x20complete\x20lines\x20by\x20a\x20regex.','inputSchema':{'type':_0x518b70(0x2d9,0xa8,_0x3f7f13._0x4c220a,0x296),'properties':{'shellId':{'type':_0x518b70(0x4cf,0x2b0,_0x3f7f13._0x5c8991,0x3da)},'offset':{'type':_0xde63ca(_0x3f7f13._0x5946a4,0x594,_0x3f7f13._0xe23f19,0x356)},'regex':{'type':_0x518b70(_0x3f7f13._0x264e6d,0x2b0,_0x3f7f13._0x3f69ff,0x217)}},'required':[_0x518b70(-0x34d,-_0x3f7f13._0x1a5d67,-_0x3f7f13._0x49ac1a,0xe7)]},async *'execute'(_0x140c50){const _0x369835={_0xfd6b4a:0x1eb,_0x4d9d9e:0x1e4};function _0xae285b(_0x3a3101,_0xbb7f13,_0x2355bc,_0x250188){return _0x518b70(_0x3a3101-0x13d,_0x2355bc-_0x369835._0xfd6b4a,_0x2355bc-_0x369835._0x4d9d9e,_0x250188);}function _0x52787d(_0x28ab44,_0x22bb6c,_0x1d5680,_0x5723ed){return _0x518b70(_0x28ab44-0x71,_0x1d5680-0x6b1,_0x1d5680-0x14d,_0x5723ed);}if(_0x140c50[_0x52787d(_0x395a2c._0x59776b,_0x395a2c._0x70252b,_0x395a2c._0x49fe1e,0x483)]!==void 0x0&&(!Number[_0x52787d(0x6eb,_0x395a2c._0x4b2c54,0x910,0xb3b)](_0x140c50['offset'])||_0x140c50[_0x52787d(_0x395a2c._0x4a45f7,_0x395a2c._0x49fad1,0x5f6,0x664)]<0x0))throw new ToolExecutionError('Invalid\x20offset:\x20expected\x20a\x20non-negative\x20safe\x20integer',{'shellId':_0x140c50['shellId']});const _0xba7a41=await _0x5cf9e9[_0x52787d(0x537,_0x395a2c._0x3fa3b5,_0x395a2c._0x9f2ee4,_0x395a2c._0x4a8c8d)][_0xae285b(0x308,0x549,0x2ff,_0x395a2c._0x450682)]({'shellId':_0x140c50['shellId'],..._0x140c50['offset']===void 0x0?{}:{'offset':_0x140c50[_0xae285b(_0x395a2c._0x163bd3,_0x395a2c._0x11c321,0x130,0x93)]}});let _0xcf43b8;try{_0xcf43b8=filterBackgroundBashOutput({'output':_0xba7a41[_0xae285b(_0x395a2c._0x3a9496,0x366,_0x395a2c._0x11ce6b,_0x395a2c._0x2ae23b)],'offset':_0xba7a41['offset'],'nextOffset':_0xba7a41[_0x52787d(0x648,_0x395a2c._0x57b66f,0x5bd,0x79a)],'status':_0xba7a41[_0xae285b(_0x395a2c._0x381ccc,_0x395a2c._0x586ddf,0x383,_0x395a2c._0x3d1388)],..._0x140c50[_0xae285b(_0x395a2c._0x596500,0x340,_0x395a2c._0x51525b,0x4fc)]===void 0x0?{}:{'regex':_0x140c50[_0x52787d(0xa23,0x7d1,_0x395a2c._0x1a4c1a,_0x395a2c._0x1b91c2)]}});}catch(_0x26bd33){throw new ToolExecutionError(_0x52787d(_0x395a2c._0x58f231,0x9f3,_0x395a2c._0x2ec862,_0x395a2c._0x471c38)+(_0x26bd33 instanceof Error?_0x26bd33['message']:String(_0x26bd33)),{'shellId':_0x140c50[_0x52787d(0x72d,0x401,_0x395a2c._0x2b084d,_0x395a2c._0x58744a)],..._0x140c50[_0xae285b(_0x395a2c._0x179f53,_0x395a2c._0x596fca,_0x395a2c._0x51525b,_0x395a2c._0xe5cdc7)]===void 0x0?{}:{'regex':_0x140c50['regex']}});}return createToolOutput(_0xcf43b8['output'],{'shellId':_0xba7a41['shellId'],'nextOffset':_0xcf43b8[_0x52787d(_0x395a2c._0x43e3b0,_0x395a2c._0x395a93,_0x395a2c._0x25d19a,0x80c)],'status':_0xba7a41[_0xae285b(0x170,0x41e,0x383,0x32f)],'exitCode':_0xba7a41[_0xae285b(-_0x395a2c._0x3764af,-0x1c8,_0x395a2c._0x46c967,0x2f)],'signal':_0xba7a41[_0x52787d(_0x395a2c._0x2ad17c,_0x395a2c._0x2fd4fe,0x864,_0x395a2c._0x2b0107)],'truncated':_0xba7a41[_0x52787d(_0x395a2c._0x5310ba,_0x395a2c._0x31035a,0x777,0x962)]});}});}import{spawn as _0x28169e}from'child_process';import{realpathSync,statSync}from'fs';import*as _0x2a71a7 from'os';import*as _0x24187c from'path';import{StringDecoder as _0x1a3a9e}from'string_decoder';import{spawn as _0x5ecef2}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException2(_0x28d7c9){return _0x28d7c9 instanceof Error;}function resolveCarriageReturns(_0x58bc52){const _0x53ff88={_0x1c7359:0x5ff,_0x23838d:0x462,_0x25b432:0x24d,_0x3dd657:0x488},_0x1ad868={_0x4ea4c6:0x740},_0x2390b2={_0x917227:0x609},_0x2d5690={_0x5ed117:0xa2},_0x2bc12b={_0x24fab6:0x15b,_0x513162:0x36e};function _0x41a75a(_0x4c13bc,_0x4f6752,_0x4f74a1,_0x3d878d){return _0x4eedea(_0x4c13bc-_0x2bc12b._0x24fab6,_0x4f6752-_0x2bc12b._0x513162,_0x3d878d,_0x3d878d-0x6b);}function _0x158a49(_0x3e6811,_0x263a9d,_0x3f3392,_0x37ed42){return _0x4eedea(_0x3e6811-0xc5,_0x3e6811- -_0x2d5690._0x5ed117,_0x3f3392,_0x37ed42-0x123);}return _0x58bc52[_0x41a75a(0x3af,0x5c7,0x7f4,_0x53ff88._0x1c7359)]('\x0a')[_0x41a75a(0x2c4,_0x53ff88._0x23838d,_0x53ff88._0x25b432,_0x53ff88._0x3dd657)](_0x5c5fd6=>{function _0xdcd5eb(_0x538570,_0x366bb0,_0x34b6a7,_0x56acaf){return _0x158a49(_0x34b6a7-_0x2390b2._0x917227,_0x366bb0-0x1da,_0x366bb0,_0x56acaf-0x165);}if(!_0x5c5fd6['includes']('\x0d'))return _0x5c5fd6;const _0xbd164b=_0x5c5fd6[_0xdcd5eb(0x76b,0x94a,0x7c0,_0x1ad868._0x4ea4c6)]('\x0d');return _0xbd164b[_0xbd164b['length']-0x1]??'';})[_0x158a49(0x34,-0x174,0x14f,0x27a)]('\x0a');}function resolveBackspaces(_0x574efb){const _0x22bf14={_0x1f9809:0x11,_0x14cf6b:0x333,_0x30bfab:0x78f,_0x3f4e0e:0x634},_0x199445={_0x2684d6:0x2,_0x11ba19:0x3b5},_0x10840b={_0x3425c4:0x45e,_0x454cf9:0x15f},_0x42943e=[];function _0x5c9e4f(_0x141c9e,_0x1660e0,_0x579a4b,_0x17c9b8){return _0x4eedea(_0x141c9e-0x18,_0x1660e0-_0x10840b._0x3425c4,_0x17c9b8,_0x17c9b8-_0x10840b._0x454cf9);}function _0x13b8c4(_0x5afe2c,_0x1fd5be,_0xdfa0a1,_0x49520b){return _0xa5377c(_0x49520b,_0x1fd5be-0x158,_0xdfa0a1-_0x199445._0x2684d6,_0xdfa0a1- -_0x199445._0x11ba19);}for(const _0x134f91 of Array[_0x13b8c4(0x129,0x1f6,0x1a3,-_0x22bf14._0x1f9809)](_0x574efb)){_0x134f91==='\x08'?_0x42943e[_0x13b8c4(-0x2a1,-0x2d2,-0x159,-_0x22bf14._0x14cf6b)]():_0x42943e[_0x5c9e4f(_0x22bf14._0x30bfab,0x54e,0x4ee,_0x22bf14._0x3f4e0e)](_0x134f91);}return _0x42943e['join']('');}function stripAnsiAndControls(_0x97f628){const _0x3596d9={_0x118812:0x460,_0x3c2d54:0x337,_0x1049b3:0x2ec,_0xfa875:0x493,_0xcfed11:0x337,_0x568f1f:0x1e9,_0x1ef1ce:0x188,_0x37490a:0x3f3,_0x207baa:0x367},_0x5c4486={_0x1558f9:0x11a},_0x38f010={_0x1755a1:0x5c};_0x97f628=resolveCarriageReturns(_0x97f628),_0x97f628=resolveBackspaces(_0x97f628),_0x97f628=stripVTControlCharacters(_0x97f628);function _0x5f1f28(_0x3074b3,_0x11f1cf,_0x5f203c,_0x9e937b){return _0x4eedea(_0x3074b3-0xec,_0x11f1cf- -0x98,_0x5f203c,_0x9e937b-_0x38f010._0x1755a1);}function _0x3a2121(_0x26ce45,_0x4427e4,_0x3d26f8,_0x5945de){return _0x4eedea(_0x26ce45-_0x5c4486._0x1558f9,_0x4427e4-0x43e,_0x5945de,_0x5945de-0xac);}const _0x466b7f='\x1b',_0x44ca06='\x07';return _0x97f628=_0x97f628['replace'](new RegExp(';[^'+_0x44ca06+'\x5cn]*?'+_0x44ca06,'g'),''),_0x97f628=_0x97f628[_0x5f1f28(_0x3596d9._0x118812,_0x3596d9._0x3c2d54,_0x3596d9._0x1049b3,0x1d6)](new RegExp(_0x3a2121(_0x3596d9._0xfa875,0x4df,0x6cb,0x466)+_0x466b7f+'\x5c\x5c','g'),''),_0x97f628=_0x97f628['replace'](new RegExp(_0x44ca06,'g'),''),_0x97f628=_0x97f628[_0x5f1f28(0x52d,_0x3596d9._0xcfed11,0x451,_0x3596d9._0x568f1f)](new RegExp(_0x466b7f+'[P_^][\x5cs\x5cS]*?'+_0x466b7f+'\x5c\x5c','g'),''),_0x97f628=_0x97f628[_0x5f1f28(0x460,0x337,0x1e9,_0x3596d9._0x1ef1ce)](new RegExp(_0x466b7f+'[=>7-8()]','g'),''),_0x97f628=_0x97f628['replace'](/[\u0080-\u009F]/g,''),_0x97f628=_0x97f628['replace'](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x97f628=_0x97f628[_0x5f1f28(_0x3596d9._0x37490a,_0x3596d9._0x3c2d54,0x38a,_0x3596d9._0x207baa)](/[\u23CE\u2424]/g,''),_0x97f628;}function killProcessGroup(_0x20275d,_0xbd4c95,_0x2dd0d1='SIGKILL'){const _0x5d14e0={_0x1facb0:0x3cb,_0xf83224:0x596,_0x4da47e:0x5e6,_0x56cbb9:0x596,_0x1642d3:0x816,_0x1c4055:0x7ca,_0x17d30d:0x261,_0x16b52b:0x46f,_0xa7746:0x9d4,_0x35defd:0x6aa,_0x4f8d3c:0x48f,_0xb6c720:0x8c8,_0xd8e36:0x6cd,_0x2e20b1:0x491},_0x551b76={_0x1a23f6:0x67,_0x3ff669:0x15c},_0x3a5313={_0x7dadf4:0x8e,_0x3e2cea:0x68};if(!_0x20275d[_0x5d485b(0x644,0x5e6,_0x5d14e0._0x1facb0,0x4d2)])return;function _0x5d485b(_0x205b15,_0x3008d8,_0x5d4cef,_0x39560a){return _0xa5377c(_0x5d4cef,_0x3008d8-_0x3a5313._0x7dadf4,_0x5d4cef-0x1,_0x3008d8-_0x3a5313._0x3e2cea);}if(_0xbd4c95)try{_0x5ecef2('taskkill',[_0x5d485b(0x57a,0x3f3,0x2a9,_0x5d14e0._0xf83224),_0x20275d[_0x5d485b(0x527,_0x5d14e0._0x4da47e,_0x5d14e0._0x56cbb9,0x4d2)][_0x23b836(_0x5d14e0._0x1642d3,0x9d4,0xa5c,_0x5d14e0._0x1c4055)](),'/T','/F'],{'stdio':_0x5d485b(_0x5d14e0._0x17d30d,0x37f,0x17c,_0x5d14e0._0x16b52b)});return;}catch{_0x20275d[_0x23b836(0x82d,0x6cc,_0x5d14e0._0xa7746,_0x5d14e0._0x35defd)](_0x2dd0d1);return;}function _0x23b836(_0x4c8cd9,_0x50ce7e,_0x1b33d0,_0x550052){return _0x4eedea(_0x4c8cd9-_0x551b76._0x1a23f6,_0x4c8cd9-0x3be,_0x550052,_0x550052-_0x551b76._0x3ff669);}try{process[_0x5d485b(_0x5d14e0._0x4f8d3c,0x6cd,_0x5d14e0._0xb6c720,0x8a2)](-_0x20275d['pid'],_0x2dd0d1);}catch{_0x20275d[_0x5d485b(0x564,_0x5d14e0._0xd8e36,_0x5d14e0._0x2e20b1,0x89a)](_0x2dd0d1);}}var DEFAULT_TIMEOUT_MS2=0x7530,DEFAULT_DESCRIPTION=_0x4eedea(0x2e6,0x26c,0x421,0x47)+DEFAULT_TIMEOUT_MS2+_0x4eedea(0x347,0x3fc,0x2d9,0x3b2);function buildChildEnv(_0x381dbf,_0x8bf50,_0x3f0796){const _0xbb9562={_0x449076:0x6b3,_0x1d90b4:0x594,_0x30ddd2:0x631,_0x3e3f1b:0x64d,_0x3601ac:0x1f2,_0x5e8418:0x18a,_0x1d8120:0x38a,_0x4cec4b:0x23e,_0x578e72:0x1f9,_0xbccb6b:0x479,_0x376cf8:0x662,_0x5835b5:0x61b,_0x498704:0x4d,_0x5664ec:0x488,_0x167ad6:0x436,_0x4e0e35:0x1d9,_0x308626:0x595,_0x46d1d4:0x529,_0xbb9f6:0x45b},_0x508be6={_0x3fed58:0x6e},_0x874b0e={_0x2968f0:0x12,_0xfc0a80:0x296,_0x11fecf:0x167};function _0x582786(_0x4c901b,_0x17fcda,_0x3eef2f,_0x5cecdd){return _0x4eedea(_0x4c901b-_0x874b0e._0x2968f0,_0x4c901b-_0x874b0e._0xfc0a80,_0x17fcda,_0x5cecdd-_0x874b0e._0x11fecf);}function _0x5d45ca(_0x1e8201,_0x4f589c,_0x3ad62d,_0x521292){return _0x4eedea(_0x1e8201-0xbf,_0x3ad62d- -0x8b,_0x1e8201,_0x521292-_0x508be6._0x3fed58);}const _0x9f193c={...process[_0x582786(_0xbb9562._0x449076,_0xbb9562._0x1d90b4,0x7fa,0x772)],..._0x381dbf??{}};if(_0x2a71a7[_0x582786(_0xbb9562._0x30ddd2,0x796,0x742,_0xbb9562._0x3e3f1b)]()===_0x5d45ca(-_0xbb9562._0x3601ac,-0x292,-0x35,_0xbb9562._0x5e8418)){const _0x53db81=new Set(_0x8bf50[_0x582786(_0xbb9562._0x1d8120,0x411,_0xbb9562._0x4cec4b,_0xbb9562._0x578e72)](_0x23421e=>_0x23421e[_0x5d45ca(0x28c,0x393,0x249,-0x7)]()));for(const _0x14f617 of Object[_0x582786(0x436,_0xbb9562._0xbccb6b,_0xbb9562._0x376cf8,_0xbb9562._0x5835b5)](_0x9f193c)){if(_0x53db81[_0x5d45ca(0x183,-0x143,_0xbb9562._0x498704,0x172)](_0x14f617['toLowerCase']()))delete _0x9f193c[_0x14f617];}}else{for(const _0x513eb3 of _0x8bf50)delete _0x9f193c[_0x513eb3];if(_0x3f0796[_0x582786(0x4fa,0x383,0x55c,_0xbb9562._0x5664ec)]>0x0)for(const _0x594013 of Object[_0x582786(_0xbb9562._0x167ad6,0x54e,_0xbb9562._0x4e0e35,_0xbb9562._0x308626)](_0x9f193c)){_0x3f0796[_0x582786(0x4f3,0x67b,_0xbb9562._0x46d1d4,_0xbb9562._0xbb9f6)](_0x5bdf6a=>_0x594013['startsWith'](_0x5bdf6a))&&delete _0x9f193c[_0x594013];}}return _0x9f193c;}function mapSpawnError(_0x550d20,_0x131b08){const _0x561d1c={_0x49fe73:0x51a,_0x466bc3:0x5c9,_0x2da825:0x3af,_0x41a6de:0x3bb,_0x370629:0x57f,_0x15dd95:0x523,_0x27535a:0x722,_0x35bdcd:0x246,_0xebb6c5:0x73,_0x38a0b6:0x5e4,_0xac7b37:0x6b9},_0x2c0e3f={_0x15d0eb:0x156},_0x168737={_0x501e69:0x1f3,_0x5796f3:0x114,_0x5e06a7:0x56};function _0x9ac3f0(_0x14877c,_0x114573,_0x13d9d2,_0x1da971){return _0xa5377c(_0x13d9d2,_0x114573-_0x168737._0x501e69,_0x13d9d2-_0x168737._0x5796f3,_0x114573- -_0x168737._0x5e06a7);}if(isErrnoException2(_0x550d20)&&_0x550d20[_0x41f99c(0x46e,0x694,_0x561d1c._0x49fe73,0x448)]===_0x9ac3f0(_0x561d1c._0x466bc3,0x4b7,_0x561d1c._0x2da825,_0x561d1c._0x41a6de))return new ToolExecutionError(_0x9ac3f0(_0x561d1c._0x370629,_0x561d1c._0x15dd95,0x67d,_0x561d1c._0x27535a)+_0x131b08[_0x9ac3f0(0x287,_0x561d1c._0x35bdcd,_0x561d1c._0xebb6c5,0x146)],_0x131b08);function _0x41f99c(_0x1144c5,_0xaa4d03,_0x22b3fd,_0x5192e7){return _0x4eedea(_0x1144c5-_0x2c0e3f._0x15d0eb,_0x22b3fd-0x137,_0x5192e7,_0x5192e7-0x103);}return new ToolExecutionError(_0x550d20 instanceof Error?_0x550d20[_0x9ac3f0(0x767,0x52c,_0x561d1c._0x38a0b6,_0x561d1c._0xac7b37)]:String(_0x550d20),_0x131b08);}function shellExists(_0x584752){try{const _0x155096=statSync(_0x584752);return _0x155096['isFile']()&&(_0x155096['mode']&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x4aacfa){const _0x21b476={_0x241970:0x8e3,_0x277b69:0x4f3,_0x3e6a73:0x246,_0x5d1aad:0x423,_0x2ba8d4:0x274,_0x242896:0x188,_0x5dbdbc:0x26e,_0x2b057b:0xcb,_0x2e47e1:0x702,_0x5c402e:0x6fb,_0x440643:0x190,_0x5c3b3d:0x383,_0x11340e:0x267,_0x343ccc:0x767,_0x33335f:0x68a,_0x41f868:0x88a,_0x5d73ea:0x574,_0x1f9152:0x471,_0x42eb9e:0x417,_0xaa8b6b:0x754},_0x352932={_0x56cbe4:0x3c1},_0x4750a4={_0x105631:0x1a9,_0x17412b:0x1f1};function _0xee6619(_0xb8dc4a,_0x2f045b,_0x4f38ac,_0x1c1030){return _0x4eedea(_0xb8dc4a-0x162,_0x2f045b- -_0x4750a4._0x105631,_0x4f38ac,_0x1c1030-_0x4750a4._0x17412b);}if(_0x4aacfa)return _0x4aacfa;if(_0x2a71a7[_0x57e1f7(0x75c,0x90d,0x71b,_0x21b476._0x241970)]()===_0x57e1f7(0x417,0x577,_0x21b476._0x277b69,_0x21b476._0x3e6a73))return process[_0xee6619(_0x21b476._0x5d1aad,_0x21b476._0x2ba8d4,_0x21b476._0x242896,0x25f)][_0xee6619(0x228,_0x21b476._0x5dbdbc,_0x21b476._0x2b057b,0x132)]||_0x57e1f7(0x4b0,_0x21b476._0x2e47e1,0x6d7,0x425);const _0x2001a9=[_0x57e1f7(_0x21b476._0x5c402e,0x91a,0x6e2,0x540),_0xee6619(_0x21b476._0x440643,0x200,_0x21b476._0x5c3b3d,_0x21b476._0x11340e),_0x57e1f7(_0x21b476._0x343ccc,_0x21b476._0x33335f,0x754,_0x21b476._0x41f868),_0x57e1f7(_0x21b476._0x5d73ea,0x437,0x38c,0x4d5)];for(const _0x4a8cd9 of _0x2001a9){if(shellExists(_0x4a8cd9))return _0x4a8cd9;}const _0x37048c=process['env'][_0x57e1f7(_0x21b476._0x1f9152,_0x21b476._0x42eb9e,0x51e,0x313)];if(_0x37048c&&shellExists(_0x37048c))return _0x37048c;function _0x57e1f7(_0x496988,_0x5a8fcc,_0x4357ec,_0x1a969e){return _0x4eedea(_0x496988-0x71,_0x496988-_0x352932._0x56cbe4,_0x4357ec,_0x1a969e-0x7);}return _0x57e1f7(0x6fb,0x6ce,0x728,_0x21b476._0xaa8b6b);}function buildShellArgs(_0x48f34a,_0x26a93d){const _0xf58846={_0x504a00:0x42b,_0x197d17:0x632,_0x506a71:0x42d,_0x2acb51:0x1d0,_0x2b9a7a:0x419,_0xdb0165:0x888,_0xb6969e:0x9fc,_0x895b25:0x829,_0x4b068d:0x5d8,_0xd6228d:0x369,_0x2677c6:0x4dd,_0x491479:0x453},_0x25cdc3={_0x1debfe:0x7b,_0x52f8f2:0x367},_0x1fa3f7={_0x346cf8:0x1e0,_0x30347a:0xdc};function _0x47e8e7(_0x358616,_0x3b09df,_0x355644,_0x58fe8c){return _0xa5377c(_0x358616,_0x3b09df-_0x1fa3f7._0x346cf8,_0x355644-0x77,_0x355644-_0x1fa3f7._0x30347a);}if(_0x2a71a7[_0x47e8e7(_0xf58846._0x504a00,0x4bb,0x66d,_0xf58846._0x197d17)]()===_0x47e8e7(_0xf58846._0x506a71,0x35e,0x328,_0xf58846._0x2acb51)){const _0x45a325=/cmd(\.exe)?$/i[_0x47e8e7(0x3ae,0x338,_0xf58846._0x2b9a7a,0x557)](_0x26a93d);return _0x45a325?['/d','/s','/c',_0x48f34a]:[_0x3bcfec(0x92a,_0xf58846._0xdb0165,0x8ec,_0xf58846._0xb6969e),_0x3bcfec(0x727,0x622,_0xf58846._0x895b25,0x826),_0x47e8e7(_0xf58846._0x4b068d,_0xf58846._0xd6228d,_0xf58846._0x2677c6,_0xf58846._0x491479),_0x48f34a];}function _0x3bcfec(_0x2d783e,_0xba385c,_0x18208d,_0x23f6f7){return _0xa5377c(_0x2d783e,_0xba385c-_0x25cdc3._0x1debfe,_0x18208d-0x18,_0xba385c-_0x25cdc3._0x52f8f2);}return['-c',_0x48f34a];}function resolveWorkingDirectory(_0x159416,_0x2a799a,_0x284844){const _0x2c23d9={_0xc441fe:0x35d,_0x55f82d:0x170,_0x3fd6e2:0x3ca},_0x3b1698={_0x434e6d:0x230,_0x17dd01:0x136},_0x16a8a1={_0x59f14e:0x10a,_0x284191:0x113,_0x7cd30b:0x10a},_0x37f6ae={_0x2f7374:0x102};function _0x4cf90a(_0x349312,_0x12ba60,_0x3cc065,_0x44f66a){return _0x4eedea(_0x349312-0x174,_0x3cc065- -0x108,_0x349312,_0x44f66a-_0x37f6ae._0x2f7374);}function _0x49bf7c(_0x43d036,_0x5bf0ca,_0x56da2d,_0x51abda){return _0xa5377c(_0x43d036,_0x5bf0ca-_0x16a8a1._0x59f14e,_0x56da2d-_0x16a8a1._0x284191,_0x56da2d- -_0x16a8a1._0x7cd30b);}const _0x53f167=resolveAllowedPath(_0x2a799a,_0x284844,_0x159416??'.');try{const _0x597bb6=statSync(_0x53f167);if(!_0x597bb6['isDirectory']())throw new ToolExecutionError('Working\x20directory\x20is\x20not\x20a\x20directory:\x20'+_0x53f167,{'cwd':_0x53f167});const _0xa30a82=realpathSync(_0x53f167),_0x1879a4=realpathSync(_0x2a799a),_0x456ca2=_0x284844[_0x49bf7c(_0x2c23d9._0xc441fe,_0x2c23d9._0x55f82d,0x1e0,_0x2c23d9._0x3fd6e2)](_0x235dd1=>{const _0x18d402={_0xf7d838:0x174,_0xbe5808:0xc4};function _0x180c23(_0x23acb7,_0x147e76,_0x321bde,_0xe67cf8){return _0x49bf7c(_0x147e76,_0x147e76-_0x18d402._0xf7d838,_0x321bde- -_0x18d402._0xbe5808,_0xe67cf8-0x1b0);}try{return realpathSync(_0x24187c[_0x180c23(0x12e,_0x3b1698._0x434e6d,_0x3b1698._0x17dd01,0xe7)](_0x235dd1));}catch{return _0x24187c['resolve'](_0x235dd1);}});return resolveAllowedPath(_0x1879a4,_0x456ca2,_0xa30a82);}catch(_0x19b211){if(_0x19b211 instanceof ToolExecutionError)throw _0x19b211;throw new ToolExecutionError(_0x4cf90a(0x3af,0x56f,0x365,0x494)+_0x53f167,{'cwd':_0x53f167});}}function resolveBashExecutionTarget(_0x240263,_0x1f7cbd={}){const _0xf7d440={_0x156f7e:0x1e6,_0x4c9315:0xca,_0x559a62:0xe6,_0x4826ad:0x4c,_0x312295:0x17e,_0x1c2dd:0x8c,_0x36e1c0:0xb9,_0x13a662:0x79,_0xeb4560:0x487,_0x5c5380:0x87,_0x5daea7:0x130,_0x51dc83:0x101,_0x7f98c7:0x2ac,_0x2c5195:0x49f,_0x5a9cf6:0x3c9},_0x45770c={_0x88ca3:0x18b,_0x3c761f:0x36f},_0x4559ea={_0x953e01:0x167};function _0x30a71e(_0x4c2bc6,_0x3abdb4,_0x4d5dc6,_0x32bd55){return _0xa5377c(_0x3abdb4,_0x3abdb4-_0x4559ea._0x953e01,_0x4d5dc6-0x50,_0x4c2bc6- -0x11e);}function _0x171d3c(_0x49dd89,_0x12e872,_0x315539,_0x147405){return _0xa5377c(_0x147405,_0x12e872-0x18d,_0x315539-_0x45770c._0x88ca3,_0x12e872- -_0x45770c._0x3c761f);}const _0x976af5=_0x24187c[_0x30a71e(_0xf7d440._0x156f7e,0x16e,0x13e,0xb7)](_0x1f7cbd[_0x171d3c(_0xf7d440._0x4c9315,_0xf7d440._0x559a62,0x339,-_0xf7d440._0x4826ad)]??process['cwd']()),_0xdaff06=resolveDefaultShell(_0x1f7cbd[_0x30a71e(_0xf7d440._0x312295,-0x8e,0x2bd,0x262)]);return{'command':_0x240263[_0x171d3c(0x78,-_0xf7d440._0x1c2dd,-_0xf7d440._0x36e1c0,-_0xf7d440._0x13a662)],'cwd':resolveWorkingDirectory(_0x240263[_0x30a71e(0x342,0x387,0x551,_0xf7d440._0xeb4560)],_0x976af5,_0x1f7cbd[_0x171d3c(_0xf7d440._0x5c5380,-0xf0,-_0xf7d440._0x5daea7,_0xf7d440._0x51dc83)]??[]),'shellPath':_0xdaff06,'dialect':resolveShellDialect(_0xdaff06),'background':_0x240263[_0x30a71e(_0xf7d440._0x7f98c7,_0xf7d440._0x2c5195,0xfc,_0xf7d440._0x5a9cf6)]??![]};}function resolveShellDialect(_0x7c5d69){const _0x3d6c96={_0xf31688:0x7a5,_0x5c5078:0x689,_0x4b6470:0x34c,_0x186a0d:0x58b,_0x619b8b:0x139,_0x1bc983:0x4f4,_0x5cae5d:0x2dd,_0x79b047:0x4df,_0x22fb0e:0x2a4,_0x495106:0x353,_0x258d2b:0x58b,_0x270be6:0x16d,_0x3b0706:0x48,_0x314990:0x116,_0x532e67:0x421,_0x5cdd15:0x2ca,_0x161d08:0x210,_0x4feba7:0x24},_0x220bf9={_0x37e81f:0x149,_0x24424e:0x197,_0x2d0604:0x384},_0x5db2e7={_0x4d33b6:0x90,_0x2a1d43:0x6};function _0x228af4(_0xdffa0d,_0x5930f2,_0x1e4c3a,_0x4d14e8){return _0xa5377c(_0xdffa0d,_0x5930f2-_0x5db2e7._0x4d33b6,_0x1e4c3a-0x151,_0x4d14e8- -_0x5db2e7._0x2a1d43);}if(_0x2a71a7[_0x228af4(_0x3d6c96._0xf31688,_0x3d6c96._0x5c5078,_0x3d6c96._0x4b6470,_0x3d6c96._0x186a0d)]()==='win32')return _0x228af4(0x449,_0x3d6c96._0x619b8b,0x5e9,0x398);const _0x8a46cb=_0x24187c[_0x228af4(_0x3d6c96._0x1bc983,_0x3d6c96._0x5cae5d,_0x3d6c96._0x79b047,_0x3d6c96._0x22fb0e)](_0x7c5d69)[_0x228af4(0x606,_0x3d6c96._0x495106,_0x3d6c96._0x258d2b,0x4c4)]();function _0x2e2474(_0x58d172,_0x3b1a0a,_0x3e782d,_0x1196be){return _0xa5377c(_0x58d172,_0x3b1a0a-_0x220bf9._0x37e81f,_0x3e782d-_0x220bf9._0x24424e,_0x3e782d- -_0x220bf9._0x2d0604);}if(_0x8a46cb===_0x2e2474(-0x107,-0x33c,-_0x3d6c96._0x270be6,-_0x3d6c96._0x3b0706))return'bash';if(_0x8a46cb==='sh'||_0x8a46cb==='dash')return _0x228af4(_0x3d6c96._0x314990,_0x3d6c96._0x532e67,0x331,_0x3d6c96._0x5cdd15);return _0x2e2474(-_0x3d6c96._0x161d08,_0x3d6c96._0x4feba7,0x44,-0xee);}function emitChunk(_0x53c746,_0x4016c2,_0x5ccc3c,_0x16b207){const _0x81ba1e={_0x1c373b:0x147},_0x3cc22c={_0x435aaf:0x1be};_0x53c746[_0x1349c8(0x128,0x5f,0x20d,_0x81ba1e._0x1c373b)](_0x5ccc3c);function _0x1349c8(_0x4ab182,_0x100c2d,_0x3a4475,_0x1aee39){return _0xa5377c(_0x100c2d,_0x100c2d-0x80,_0x3a4475-0x155,_0x4ab182- -_0x3cc22c._0x435aaf);}_0x4016c2['push'](_0x5ccc3c),_0x16b207();}function appendChunk(_0x9068f4,_0x4575ee,_0x195cb6,_0x1a0003,_0x25ebfd,_0x3c21ed){const _0x4e3fb8={_0x99ebd3:0x35b,_0x24188f:0x1b1,_0x4bccbc:0x142,_0x2e9442:0x461,_0x4efa85:0x54d,_0x20b051:0x5f7,_0x273c1b:0x344,_0x5f0636:0x46e,_0x30fbeb:0x4a5,_0x1f2d39:0x153,_0x15f5b:0x2a0,_0x2228cc:0x2db,_0x4b4c6e:0x56e,_0x128c09:0x361,_0x33bf49:0x3dc,_0x3cb79c:0x1b2,_0x15eea0:0x2c1,_0x5eb239:0x761},_0x471e6e={_0x57c703:0x7,_0xe3ef8:0x6e},_0x4dd3cd={_0xa60e03:0x1a0,_0x168e5d:0x85},_0x3ee190=_0x1a0003?stripAnsiAndControls(_0x195cb6):_0x195cb6;if(_0x3ee190[_0x2c1bd5(_0x4e3fb8._0x99ebd3,0x1b2,_0x4e3fb8._0x24188f,0x397)]===0x0)return;if(!_0x3c21ed){emitChunk(_0x9068f4,_0x4575ee,_0x3ee190,_0x25ebfd);return;}function _0x258a09(_0x5084ad,_0x1e8c83,_0x591f98,_0xbd2b36){return _0xa5377c(_0xbd2b36,_0x1e8c83-0x7,_0x591f98-_0x4dd3cd._0xa60e03,_0x591f98-_0x4dd3cd._0x168e5d);}function _0x2c1bd5(_0x7ee8cd,_0x12257b,_0x117e70,_0x5d768d){return _0x4eedea(_0x7ee8cd-_0x471e6e._0x57c703,_0x12257b- -0xb2,_0x117e70,_0x5d768d-_0x471e6e._0xe3ef8);}let _0x370600=0x0,_0x1b9032=_0x3ee190['indexOf']('\x0a');while(_0x1b9032>=0x0){_0x3c21ed[_0x2c1bd5(_0x4e3fb8._0x4bccbc,0x344,_0x4e3fb8._0x2e9442,0x47a)]['push'](_0x3ee190[_0x258a09(_0x4e3fb8._0x4efa85,0x551,_0x4e3fb8._0x20b051,0x4a6)](_0x370600,_0x1b9032));const _0x110233=_0x3c21ed[_0x2c1bd5(0x49e,_0x4e3fb8._0x273c1b,_0x4e3fb8._0x5f0636,_0x4e3fb8._0x30fbeb)][_0x258a09(_0x4e3fb8._0x1f2d39,_0x4e3fb8._0x15f5b,0x351,_0x4e3fb8._0x2228cc)]('');_0x3c21ed['trailingChunks']['length']=0x0,_0x3c21ed[_0x258a09(0x76f,0x630,_0x4e3fb8._0x4b4c6e,_0x4e3fb8._0x128c09)]['test'](_0x110233)&&emitChunk(_0x9068f4,_0x4575ee,_0x110233+'\x0a',_0x25ebfd),_0x370600=_0x1b9032+0x1,_0x1b9032=_0x3ee190[_0x2c1bd5(-0x79,0x1bc,0xba,0x2a6)]('\x0a',_0x370600);}_0x370600<_0x3ee190[_0x2c1bd5(_0x4e3fb8._0x33bf49,_0x4e3fb8._0x3cb79c,_0x4e3fb8._0x15eea0,-0x7e)]&&_0x3c21ed[_0x258a09(_0x4e3fb8._0x5eb239,0x5b8,0x671,0x4a4)]['push'](_0x3ee190[_0x2c1bd5(0x51d,0x2ca,0x3ed,0x512)](_0x370600));}function flushOutputRegex(_0x5ccc95,_0x580de5,_0x4eaedd,_0x260b44){const _0x46a4de={_0x28e60b:0x778,_0x2aa59a:0x965,_0x1b8f47:0x7e5,_0x1075db:0x812,_0x310ac9:0x4a0,_0x137a7e:0x3ff,_0x464341:0x238,_0x569a3a:0x611,_0x5cbbce:0x4c9,_0xfb8ee3:0x4ee},_0x5dd64e={_0x4eff60:0x99},_0x485fe7={_0x43b4b1:0x34,_0x52c2e0:0xf3};if(!_0x4eaedd||_0x4eaedd[_0x4a00b4(_0x46a4de._0x28e60b,_0x46a4de._0x2aa59a,0x8ed,_0x46a4de._0x1b8f47)][_0x4a00b4(0x5e6,0x5cd,0x50d,_0x46a4de._0x1075db)]===0x0)return;const _0x2c846d=_0x4eaedd['trailingChunks']['join']('');function _0x2b294a(_0x12ae68,_0x18f23e,_0x50561f,_0x38fc44){return _0x4eedea(_0x12ae68-_0x485fe7._0x43b4b1,_0x50561f-0x1e5,_0x12ae68,_0x38fc44-_0x485fe7._0x52c2e0);}_0x4eaedd[_0x2b294a(_0x46a4de._0x310ac9,0x816,0x5db,_0x46a4de._0x137a7e)][_0x2b294a(_0x46a4de._0x464341,_0x46a4de._0x569a3a,0x449,0x49a)]=0x0;function _0x4a00b4(_0x3be13c,_0x1a4526,_0x4b0272,_0x3f6f4b){return _0x4eedea(_0x3be13c-0x83,_0x3be13c-0x382,_0x1a4526,_0x3f6f4b-_0x5dd64e._0x4eff60);}_0x4eaedd['regex'][_0x4a00b4(_0x46a4de._0x5cbbce,0x2b1,_0x46a4de._0xfb8ee3,0x636)](_0x2c846d)&&emitChunk(_0x5ccc95,_0x580de5,_0x2c846d,_0x260b44);}function createBashTool(_0x4857e4={}){const _0x10fd77={_0x5947d8:0x29f,_0x2ce2e5:0x43a,_0x46b7cb:0x2c2,_0x3bc776:0x1b7,_0xed2e94:0x1cb,_0x1669b2:0x408,_0x1176fc:0x58f,_0x14ecd0:0x3b5,_0x3c3a8e:0x935,_0x41bc5d:0xa3c,_0x4fbefb:0x82e,_0x50dd7c:0x7b5,_0x4af5c1:0x77d,_0x207c66:0x78a,_0xb8dbf1:0x8cb,_0xb8a508:0x9af,_0x34d4e3:0x992,_0x30c1f3:0x348,_0x58cd09:0x514,_0x50475c:0x528,_0x113c8f:0x4a3,_0x23a889:0x1e2,_0x3dc47a:0x1b1,_0x3975ab:0xe4,_0x28941f:0x16e,_0x1e1abc:0x1c8,_0x4d1722:0xd3,_0x33663f:0x10e,_0x2d7c75:0x7c5,_0x18bf6c:0xa0d},_0x130766={_0x49981:0x3d1,_0x1cc4a7:0x75a,_0x28cdd7:0x4a3,_0x4aec04:0x648,_0x2ade1b:0x656,_0x3547c2:0x4cb,_0x47ef4f:0x3ca,_0x19daf7:0x555,_0xa511a5:0x619,_0x41b0f6:0x3fa,_0x518d61:0x3fb,_0x59a535:0x58a,_0x21c2e5:0x68a,_0x29f1cb:0x6f,_0x1b7c12:0x1ae,_0x5b84b7:0x848,_0x2be739:0x4be,_0x188084:0x641,_0x488f81:0x5af,_0x812dd3:0x7c9,_0x1153e4:0x62b,_0x2efd2f:0x178,_0x46c911:0x13e,_0x19deab:0x249,_0x1d983c:0x23e,_0x487c7d:0x26b,_0x1469f8:0x3f6,_0xa4f16:0x3cf,_0x5b481c:0x502,_0x133363:0x173,_0x5bf3af:0x360,_0x4a3772:0x3b7,_0x125904:0x3ce,_0x3ff430:0x546,_0x7b7dc7:0x2f5,_0x4f3299:0x42,_0x2743a4:0x2c1,_0x4bdc1c:0x365,_0x739a87:0x6ef,_0x24c4a4:0x677,_0x11f109:0x401,_0xa73835:0x281,_0x276ec0:0x4d0,_0x269479:0x19,_0x40211b:0x231,_0x3ed51d:0x14f,_0x45876c:0x281,_0x43e038:0x454,_0x12d4c6:0x653,_0x56633c:0x50f,_0x4ae44a:0x15a,_0x51e6fe:0x316,_0x9fa7c0:0x2bb,_0x23f1de:0x345,_0x1d50ad:0x362,_0xcff0:0x52f,_0x28a86f:0x3f5,_0x52dde8:0x617,_0x18bc3a:0x531,_0x10f0d0:0x439,_0x3398ca:0x86f,_0x240ebe:0x24f,_0x1c8200:0x462,_0x5aadda:0x593,_0x2ec1d3:0x323,_0x511b04:0x50a,_0x2e18c6:0x668,_0x590d14:0x508,_0x44eb65:0x258,_0x314fc6:0x2fc,_0x19475f:0x527,_0x366784:0x4cf,_0x2c1b58:0x39c,_0x8ef40:0x576,_0x498456:0x5e1,_0x53a9a7:0x6a2,_0x5dd3fd:0x2d9,_0x33107f:0x4ab,_0x15e501:0x1d5,_0x1a3677:0x3e8,_0x35ccf0:0x671,_0xc30f3f:0x2f4,_0x516539:0x6ae,_0x38e6a6:0x675,_0x10614c:0x7e3,_0x56ed2d:0x62e,_0x5519da:0x255,_0x4eda82:0x4ba,_0x3f9112:0x628,_0x200ca5:0x4cc,_0x6b159a:0x267},_0x424ab9={_0x2d3780:0x66e,_0x53a5c7:0x671,_0xdcbc05:0x897,_0x137840:0x72f,_0x30dd38:0x5be,_0xcf1980:0x3d5,_0x57d2f9:0x527,_0x2471b5:0x3f2},_0x108185={_0x572ab5:0x1a2,_0x341e69:0x10a},_0x1df299={_0x116b4b:0x1fb},_0x9969b0=_0x24187c['resolve'](_0x4857e4[_0x3e3bf7(-0x1ac,_0x10fd77._0x5947d8,0x1c3,0x64)]??process['cwd']()),_0x23babd=_0x4857e4[_0x4c5c3c(0x4c6,0x4f0,0x5b7,_0x10fd77._0x2ce2e5)]??[],_0xd67d54=_0x4857e4['defaultTimeoutMs']??DEFAULT_TIMEOUT_MS2,_0x515fbe=_0x4857e4['stripAnsi']??!![],_0x36fbad=_0x4857e4[_0x3e3bf7(0x2d9,_0x10fd77._0x46b7cb,0x75,_0x10fd77._0x3bc776)]??'Bash';function _0x3e3bf7(_0x1aec07,_0x3330b3,_0x1cac07,_0x2b0622){return _0x4eedea(_0x1aec07-0x10e,_0x2b0622- -_0x1df299._0x116b4b,_0x1aec07,_0x2b0622-0xa9);}function _0x4c5c3c(_0x389acb,_0x5c0459,_0x5a7c8f,_0x4e0ee1){return _0x4eedea(_0x389acb-_0x108185._0x572ab5,_0x5a7c8f-0x52e,_0x5c0459,_0x4e0ee1-_0x108185._0x341e69);}const _0x3afb0b=_0x4857e4[_0x3e3bf7(-0x56,0x3ac,-0x1,0x1b1)]??[],_0x17d430=_0x4857e4[_0x3e3bf7(0x1b2,0x3ba,0x184,_0x10fd77._0xed2e94)]??[],_0x2fdb3f=_0x4857e4[_0x4c5c3c(_0x10fd77._0x1669b2,0x5d3,_0x10fd77._0x1176fc,_0x10fd77._0x14ecd0)];return defineTool({'name':_0x36fbad,'permissionClass':_0x4c5c3c(_0x10fd77._0x3c3a8e,_0x10fd77._0x41bc5d,_0x10fd77._0x4fbefb,0x628),'description':_0x4857e4[_0x4c5c3c(0x89e,0xa0e,_0x10fd77._0x50dd7c,0x5d5)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':_0x4c5c3c(_0x10fd77._0x4af5c1,0x814,_0x10fd77._0x207c66,_0x10fd77._0xb8dbf1),'properties':{'command':{'type':_0x4c5c3c(0x9a4,_0x10fd77._0xb8a508,_0x10fd77._0x34d4e3,0x86e)},'description':{'type':'string','description':_0x4c5c3c(0x5cd,_0x10fd77._0x30c1f3,_0x10fd77._0x58cd09,0x38f)},'cwd':{'type':'string'},'timeoutMs':{'type':_0x4c5c3c(0x6df,0x74a,_0x10fd77._0x50475c,_0x10fd77._0x113c8f)},'ignoreOutput':{'type':_0x3e3bf7(-0x8c,-0x2df,-0x1a9,-_0x10fd77._0x23a889)},'outputRegex':{'type':_0x4c5c3c(0x9f9,0xb0c,0x992,0x90f),'description':'For\x20foreground\x20runs,\x20return\x20only\x20complete\x20stdout/stderr\x20lines\x20matching\x20this\x20regex;\x20exit\x20status\x20is\x20unchanged.'},'runInBackground':{'type':_0x3e3bf7(-_0x10fd77._0x3dc47a,-_0x10fd77._0x3975ab,-0x105,-_0x10fd77._0x23a889)}},'required':[_0x3e3bf7(-_0x10fd77._0x28941f,-_0x10fd77._0x1e1abc,-_0x10fd77._0x4d1722,-_0x10fd77._0x33663f),_0x4c5c3c(0x9c2,_0x10fd77._0x2d7c75,0x7b5,_0x10fd77._0x18bf6c)]},async *'execute'(_0x4ed642,_0x1cff2d){const _0x483669={_0x54d029:0x2cd,_0x3bc2f3:0x1fc,_0x4b3139:0x9,_0x175ea1:0x10f,_0x45496f:0x1bb,_0x269614:0xc,_0x234687:0x46a,_0x10afc3:0x37,_0xdafd0a:0x10c},_0x4b860f={_0x2a2730:0xee,_0x242fb1:0x144},_0xe05f9d={_0x9a82a4:0x323,_0x1c9ee2:0x3f3},_0x24cca0={_0x2f1c07:0x1c2},_0x1d6f23={_0xe489db:0x2e,_0x1bd793:0x23f,_0xf2514e:0x13d};function _0x461891(_0x4eabec,_0x2b4bc6,_0x1e19d3,_0x17f9c2){return _0x4c5c3c(_0x4eabec-_0x1d6f23._0xe489db,_0x1e19d3,_0x17f9c2- -_0x1d6f23._0x1bd793,_0x17f9c2-_0x1d6f23._0xf2514e);}const _0x51c3c4=_0x4ed642[_0x365d86(_0x130766._0x49981,0x4ae,0x186,0x32c)]??_0xd67d54;if(!Number[_0x461891(0x84c,0x64a,0x972,_0x130766._0x1cc4a7)](_0x51c3c4)||_0x51c3c4<0x1)throw new ToolExecutionError(_0x365d86(0x407,0x1b3,0x2ac,0x274),{'command':_0x4ed642['command']});throwIfAborted(_0x1cff2d[_0x461891(_0x130766._0x28cdd7,_0x130766._0x4aec04,0x507,_0x130766._0x2ade1b)]);const _0x298c2f=_0x4ed642[_0x461891(_0x130766._0x3547c2,_0x130766._0x47ef4f,_0x130766._0x19daf7,_0x130766._0xa511a5)]??![],_0x390a22=resolveBashExecutionTarget(_0x4ed642,{'defaultCwd':_0x9969b0,'allowedDirs':_0x23babd,'shellPath':_0x4857e4[_0x461891(_0x130766._0x41b0f6,0x54b,_0x130766._0x518d61,0x395)]}),{cwd:_0x4a6fb9,shellPath:_0x2e78aa}=_0x390a22,_0x7ac1eb=buildShellArgs(_0x4ed642['command'],_0x2e78aa),_0x548e4c=_0x2a71a7[_0x461891(0x458,_0x130766._0x59a535,0x456,_0x130766._0x21c2e5)]()===_0x365d86(_0x130766._0x29f1cb,-0xa8,_0x130766._0x1b7c12,0x19a),_0x1a0229=buildChildEnv(_0x4857e4[_0x461891(_0x130766._0x5b84b7,_0x130766._0x2be739,_0x130766._0x188084,0x70c)],_0x3afb0b,_0x17d430);if(_0x4ed642[_0x461891(0x31e,_0x130766._0x488f81,0x677,0x4c3)]){if(!_0x2fdb3f)throw new ToolExecutionError(_0x461891(0x546,_0x130766._0x812dd3,_0x130766._0x1153e4,0x5d2),{'command':_0x4ed642['command']});let _0x1c0e2d;try{_0x1c0e2d=await _0x2fdb3f[_0x365d86(_0x130766._0x2efd2f,_0x130766._0x46c911,_0x130766._0x19deab,0x201)]({'command':_0x4ed642[_0x461891(0x5f6,_0x130766._0x1d983c,0x440,0x3dc)],'description':_0x4ed642['description'],'cwd':_0x4a6fb9,'stripAnsi':_0x515fbe,'prepare':async()=>{const _0x206a45={_0x31c805:0x18};throwIfAborted(_0x1cff2d[_0x1b8e6c(0x50c,0x879,_0x424ab9._0x2d3780,_0x424ab9._0x53a5c7)]),await _0x4857e4[_0x1b8e6c(_0x424ab9._0xdcbc05,0x7fd,_0x424ab9._0x137840,_0x424ab9._0x30dd38)]?.(_0x390a22,_0x1cff2d[_0x1b8e6c(_0x424ab9._0xcf1980,0x491,_0x424ab9._0x57d2f9,_0x424ab9._0x2471b5)],_0x1cff2d);function _0x494242(_0x5ded40,_0x2773bf,_0x304bb9,_0x28e307){return _0x365d86(_0x5ded40-0x1d6,_0x2773bf-0xdf,_0x2773bf,_0x304bb9- -0x212);}function _0x1b8e6c(_0x2e0c34,_0x2508e0,_0x1bb0c8,_0x48d806){return _0x461891(_0x2e0c34-0xfa,_0x2508e0-0xaf,_0x48d806,_0x1bb0c8-_0x206a45._0x31c805);}throwIfAborted(_0x1cff2d['signal']);},'spawn':()=>_0x28169e(_0x2e78aa,_0x7ac1eb,{'cwd':_0x4a6fb9,'env':_0x1a0229,'stdio':['ignore',_0x461891(0x602,0x647,0x3ee,0x3f5),_0x461891(0x5db,0x54c,0x476,0x3f5)],'shell':![],'windowsHide':!![],'detached':!_0x548e4c})});}catch(_0x3bce49){const _0x39958e=_0x3bce49 instanceof BackgroundBashStartError?_0x3bce49:new BackgroundBashStartError('background-start-failed');throw new ToolExecutionError(_0x39958e['message'],{'command':_0x4ed642['command'],'errorCode':_0x39958e['code']});}return createToolOutput(_0x461891(_0x130766._0x487c7d,0x1f1,_0x130766._0x1469f8,_0x130766._0xa4f16)+_0x1c0e2d[_0x461891(_0x130766._0x5b481c,0x302,_0x130766._0x133363,_0x130766._0x5bf3af)]+_0x461891(0x480,0x15c,_0x130766._0x4a3772,0x3a4)+(_0x1c0e2d['pid']??'?')+_0x365d86(_0x130766._0x125904,_0x130766._0x3ff430,0x1d8,_0x130766._0x7b7dc7),{'shellId':_0x1c0e2d[_0x365d86(-_0x130766._0x4f3299,_0x130766._0x2743a4,_0x130766._0x4bdc1c,0x1b5)],'status':_0x1c0e2d[_0x461891(0x55b,_0x130766._0x739a87,0x880,0x63b)],'command':_0x4ed642['command'],'description':_0x4ed642['description'],'cwd':_0x4a6fb9,'pid':_0x1c0e2d[_0x461891(0x689,0x7be,0x6f9,_0x130766._0x24c4a4)]});}let _0x54ef90,_0x53be30;if(_0x4ed642['outputRegex']!==void 0x0)try{const _0x3cfc31=new RegExp(_0x4ed642[_0x365d86(0x1ab,_0x130766._0x11f109,0x40f,_0x130766._0xa73835)]);_0x54ef90={'regex':_0x3cfc31,'trailingChunks':[]},_0x53be30={'regex':_0x3cfc31,'trailingChunks':[]};}catch(_0x3dacd7){throw new ToolExecutionError('Invalid\x20outputRegex:\x20'+(_0x3dacd7 instanceof Error?_0x3dacd7[_0x365d86(0x3a3,0x70e,0x52a,_0x130766._0x276ec0)]:String(_0x3dacd7)),{'command':_0x4ed642[_0x365d86(_0x130766._0x269479,0x2c0,0x32e,_0x130766._0x40211b)],'outputRegex':_0x4ed642[_0x365d86(0x364,0x265,_0x130766._0x3ed51d,_0x130766._0x45876c)]});}await _0x4857e4['verifyExecution']?.(_0x390a22,_0x1cff2d[_0x461891(_0x130766._0x43e038,0x65e,_0x130766._0x12d4c6,_0x130766._0x56633c)],_0x1cff2d),throwIfAborted(_0x1cff2d['signal']);let _0x23bd22;function _0x365d86(_0x45a033,_0x17fbad,_0x3bdddd,_0x1b70c1){return _0x3e3bf7(_0x3bdddd,_0x17fbad-_0x24cca0._0x2f1c07,_0x3bdddd-0x9b,_0x1b70c1-0x33f);}try{_0x23bd22=_0x28169e(_0x2e78aa,_0x7ac1eb,{'cwd':_0x4a6fb9,'env':_0x1a0229,'stdio':_0x298c2f?[_0x365d86(_0x130766._0x4ae44a,0x121,_0x130766._0x51e6fe,0x265),'ignore',_0x461891(0x1f0,_0x130766._0x9fa7c0,_0x130766._0x23f1de,0x410)]:[_0x365d86(0x1f,_0x130766._0x1d50ad,0x3a1,0x265),_0x461891(0x475,_0x130766._0xcff0,0x247,_0x130766._0x28a86f),'pipe'],'shell':![],'windowsHide':!![],'detached':!_0x548e4c});}catch(_0x45aa17){throw mapSpawnError(_0x45aa17,{'command':_0x4ed642['command'],'cwd':_0x4a6fb9,'shellPath':_0x2e78aa});}const _0x1db44f=[],_0x1576b1=[],_0xf67eb0=new _0x1a3a9e(_0x365d86(_0x130766._0x52dde8,_0x130766._0x18bc3a,_0x130766._0x10f0d0,0x497)),_0x55bc72=new _0x1a3a9e('utf8');let _0xdeef6d,_0x2863e4=![],_0xd63fec;const _0x5d2132=()=>{if(!_0xdeef6d)return;const _0x4d5b3e=_0xdeef6d;_0xdeef6d=void 0x0,_0x4d5b3e();},_0x131c12=async()=>{const _0x12d1d7={_0x62d353:0x19c,_0x28028e:0x193};if(_0x1576b1[_0x490855(_0xe05f9d._0x9a82a4,0x489,0x1e9,_0xe05f9d._0x1c9ee2)]>0x0||_0x2863e4)return;function _0x490855(_0x1d2904,_0x233a89,_0x59e7e8,_0x541a07){return _0x365d86(_0x1d2904-_0x12d1d7._0x62d353,_0x233a89-_0x12d1d7._0x28028e,_0x1d2904,_0x541a07-0x4b);}await new Promise(_0x3ec397=>{_0xdeef6d=_0x3ec397;});},_0x2cad1d=_0x542912=>{appendChunk(_0x1db44f,_0x1576b1,_0xf67eb0['write'](_0x542912),_0x515fbe,_0x5d2132,_0x54ef90);},_0x18a22c=_0x57113a=>{appendChunk(_0x1db44f,_0x1576b1,_0x55bc72['write'](_0x57113a),_0x515fbe,_0x5d2132,_0x53be30);};_0x23bd22[_0x461891(_0x130766._0x3398ca,0x4ac,0x5b9,0x659)]?.['on'](_0x461891(_0x130766._0x240ebe,0x45d,0x2f1,_0x130766._0x1c8200),_0x2cad1d),_0x23bd22[_0x365d86(_0x130766._0x5aadda,0x31c,_0x130766._0x2ec1d3,0x522)]?.['on']('data',_0x18a22c);let _0x5307b0=![],_0x29aff2;const _0x37c660=addAbortListener(_0x1cff2d[_0x461891(_0x130766._0x511b04,0x754,0x4e2,0x656)],()=>{_0xd63fec=toAbortError(_0x1cff2d[_0x2fb734(0xb40,0xac2,0x8f7,0x6de)]['reason']),_0x2863e4=!![];function _0x2fb734(_0x4987f5,_0x285e04,_0x3f0582,_0x26beb6){return _0x365d86(_0x4987f5-_0x4b860f._0x2a2730,_0x285e04-_0x4b860f._0x242fb1,_0x4987f5,_0x3f0582-0x44c);}_0x5d2132();try{killProcessGroup(_0x23bd22,_0x548e4c);}catch{}});try{const _0x182444=new Promise((_0x1118b8,_0x14e305)=>{const _0x38bfdd={_0x3579f7:0x10},_0x5570df={_0x46e8f3:0x255,_0x40513f:0x1be,_0x13fd3f:0x407,_0x198812:0x5d9,_0x402e9e:0xd6,_0x3dc14f:0x367},_0x48c21f={_0x209d28:0x215,_0x4d3947:0x466,_0x282726:0x181},_0x4a262d={_0xf0241b:0xeb,_0x5bbf95:0x145,_0x526ce5:0x475},_0x529aef={_0x1b39cc:0x298},_0x310f6f=()=>{_0x29aff2&&(clearTimeout(_0x29aff2),_0x29aff2=void 0x0);function _0x186c49(_0x5cf1ac,_0x169274,_0x52c19f,_0x14407d){return _0x7d60(_0x14407d- -_0x529aef._0x1b39cc,_0x52c19f);}function _0x7755ce(_0x4ffd1c,_0x245cb3,_0x596f55,_0x26e818){return _0x7d60(_0x26e818- -0x65,_0x245cb3);}_0x23bd22[_0x186c49(0x421,0x3d5,_0x4a262d._0xf0241b,0x242)](_0x186c49(_0x4a262d._0x5bbf95,0x16c,0x97,0x9f),_0x2f1917),_0x23bd22[_0x7755ce(0x3f4,0x4e7,0x630,_0x4a262d._0x526ce5)]('close',_0xa4e745);},_0x2f1917=_0x4163c0=>{_0x2863e4=!![],_0x5d2132(),_0x310f6f(),_0x14e305(_0xd63fec??_0x4163c0);},_0xa4e745=(_0x4502de,_0x370136)=>{function _0x34aa14(_0x5f2684,_0x1757ef,_0x367d12,_0x52e0e4){return _0x7d60(_0x52e0e4-0x2e5,_0x367d12);}_0x5307b0=!![],appendChunk(_0x1db44f,_0x1576b1,_0xf67eb0[_0x34aa14(_0x48c21f._0x209d28,0x62a,0x3df,_0x48c21f._0x4d3947)](),_0x515fbe,_0x5d2132,_0x54ef90),appendChunk(_0x1db44f,_0x1576b1,_0x55bc72[_0x4a4033(0x120,_0x48c21f._0x282726,0x4eb,0x355)](),_0x515fbe,_0x5d2132,_0x53be30),flushOutputRegex(_0x1db44f,_0x1576b1,_0x54ef90,_0x5d2132),flushOutputRegex(_0x1db44f,_0x1576b1,_0x53be30,_0x5d2132);function _0x4a4033(_0x5a43dd,_0x2cd8a2,_0x3f46c8,_0x5a713a){return _0x7d60(_0x5a713a-0x1d4,_0x3f46c8);}_0x2863e4=!![],_0x5d2132(),_0x310f6f();if(_0xd63fec){_0x14e305(_0xd63fec);return;}_0x1118b8({'code':_0x4502de,'signal':_0x370136});};_0x29aff2=setTimeout(()=>{_0x2863e4=!![];function _0x32197b(_0x1e99b7,_0x520101,_0x31fe60,_0x1a1c53){return _0x7d60(_0x520101-0x4a,_0x1a1c53);}_0x5d2132(),_0x310f6f();function _0x21a3f8(_0x2ee021,_0x1b113d,_0x26324c,_0x5147e3){return _0x7d60(_0x1b113d- -0x222,_0x26324c);}try{killProcessGroup(_0x23bd22,_0x548e4c);}catch{}_0x14e305(new ToolExecutionError(_0x21a3f8(_0x5570df._0x46e8f3,0x98,0xe,-_0x5570df._0x40513f)+_0x51c3c4+_0x21a3f8(0x231,_0x5570df._0x13fd3f,0x2c6,_0x5570df._0x198812),{'command':_0x4ed642[_0x32197b(_0x5570df._0x402e9e,0x2f6,_0x5570df._0x3dc14f,0x1b6)],'cwd':_0x4a6fb9,'shellPath':_0x2e78aa,'timeoutMs':_0x51c3c4,'timedOut':!![]}));},_0x51c3c4);function _0x6c8067(_0x41f4b0,_0x1ba3d2,_0x114a1a,_0x463a98){return _0x461891(_0x41f4b0-_0x38bfdd._0x3579f7,_0x1ba3d2-0x3d,_0x114a1a,_0x41f4b0- -0x26b);}_0x23bd22[_0x444b7b(0x7e,0x2f4,0x1bb,_0x483669._0x54d029)](_0x6c8067(_0x483669._0x3bc2f3,0x19c,_0x483669._0x4b3139,_0x483669._0x175ea1),_0x2f1917);function _0x444b7b(_0x5e7ad0,_0x2a0417,_0x389bb9,_0x316848){return _0x365d86(_0x5e7ad0-0xc7,_0x2a0417-0x1bd,_0x5e7ad0,_0x389bb9- -0x193);}_0x23bd22[_0x444b7b(0x359,0xd,_0x483669._0x45496f,_0x483669._0x269614)](_0x6c8067(0x24e,_0x483669._0x234687,_0x483669._0x10afc3,_0x483669._0xdafd0a),_0xa4e745);});while(_0x1576b1['length']>0x0||!_0x2863e4){if(_0x1576b1[_0x461891(0x348,0x655,_0x130766._0x2e18c6,0x553)]===0x0){await _0x131c12();continue;}const _0x1dd9cb=_0x1576b1['shift']();_0x1dd9cb!==void 0x0&&(yield _0x1dd9cb);}const _0x39a73f=await _0x182444,_0x49aa14=_0x298c2f?_0x365d86(_0x130766._0x590d14,0x40b,_0x130766._0x44eb65,_0x130766._0x314fc6)+(_0x39a73f[_0x365d86(0x657,0x6a9,0x4b5,_0x130766._0x19475f)]??0x0):_0x1db44f['join'](''),_0x206982={'command':_0x4ed642[_0x461891(_0x130766._0x366784,0x58f,0x31e,0x3dc)],'description':_0x4ed642[_0x461891(0x3f6,_0x130766._0x2c1b58,0x6cc,_0x130766._0x8ef40)],'cwd':_0x4a6fb9,'exitCode':_0x39a73f[_0x461891(0x884,_0x130766._0x498456,0x51f,0x6d2)]??0x0,'signal':_0x39a73f[_0x365d86(_0x130766._0x53a9a7,0x68d,_0x130766._0x5dd3fd,_0x130766._0x33107f)],'ignoreOutput':_0x298c2f,'outputRegex':_0x4ed642[_0x461891(0x438,_0x130766._0x15e501,_0x130766._0x1a3677,0x42c)]??null,'shellPath':_0x2e78aa,'timeoutMs':_0x51c3c4};if(_0x39a73f['code']!==0x0)throw new ToolExecutionError(_0x49aa14||'Command\x20exited\x20with\x20code\x20'+(_0x39a73f[_0x365d86(0x556,_0x130766._0x35ccf0,0x5ae,_0x130766._0x19475f)]??0x0),_0x206982);return createToolOutput(_0x49aa14,_0x206982);}catch(_0x58680f){while(_0x1576b1[_0x461891(_0x130766._0xc30f3f,0x5fa,0x551,0x553)]>0x0){const _0x522255=_0x1576b1['shift']();_0x522255!==void 0x0&&(yield _0x522255);}if(_0x58680f instanceof ToolExecutionError)throw _0x58680f;if(_0xd63fec)throw _0xd63fec;throw mapSpawnError(_0x58680f,{'command':_0x4ed642['command'],'cwd':_0x4a6fb9,'shellPath':_0x2e78aa});}finally{_0x29aff2&&clearTimeout(_0x29aff2);_0x37c660(),_0x23bd22[_0x461891(_0x130766._0x516539,_0x130766._0x38e6a6,_0x130766._0x10614c,0x659)]?.['off'](_0x461891(_0x130766._0x56ed2d,0x548,0x39e,_0x130766._0x1c8200),_0x2cad1d),_0x23bd22['stderr']?.[_0x365d86(0x49d,0x5a1,0x4b7,0x45f)](_0x461891(0x543,_0x130766._0x5519da,0x2f1,0x462),_0x18a22c);if(!_0x5307b0&&_0x23bd22[_0x365d86(0x28f,_0x130766._0x4eda82,_0x130766._0x3f9112,_0x130766._0x200ca5)]&&!_0x23bd22[_0x365d86(0x8b,0x3b9,0x32,_0x130766._0x6b159a)])try{killProcessGroup(_0x23bd22,_0x548e4c);}catch{}}}});}function createShellExecTool(_0x3dd8={}){return createBashTool(_0x3dd8);}import{readdir as _0x432513,readFile as _0x350e6c}from'fs/promises';import{extname as _0x9d422c,join as _0x200b5a}from'path';import{open}from'fs/promises';import{dirname as _0x1399e9,isAbsolute as _0x3379d6,join as _0x544b5c,relative as _0x4a4035,resolve as _0x52822d}from'path';import{readdir as _0x44786e,readFile as _0x249e36}from'fs/promises';import{join as _0x5810eb,relative as _0x19932f,sep}from'path';import{delimiter}from'path';import{mkdir as _0x19f007,rm as _0x2a16e4,stat as _0x23ad75,writeFile as _0x5ec383}from'fs/promises';import{hostname}from'os';import{dirname as _0x2f3c9a}from'path';import{unwatchFile,watchFile}from'fs';import{chmod as _0x89c853,readFile as _0x573fe0,rename as _0x5ce82d,rm as _0x186ff0,stat as _0x26675f,writeFile as _0x21612f}from'fs/promises';import{homedir as _0x353475}from'os';import{dirname as _0x14a622,isAbsolute as _0x2600c6,join as _0x5911e3,resolve as _0xd172af}from'path';import{parse as _0x2b904f,stringify as _0x11295d}from'yaml';import{randomUUID as _0x263b4e}from'crypto';import{cp,lstat,mkdir as _0x226355,readdir as _0x6f9a6,readFile as _0xf97a1b,rename as _0x4deddf,rm as _0x45c6d0,writeFile as _0x480e67}from'fs/promises';import{homedir}from'os';import{join as _0x321f62}from'path';import{parse as _0x4700ce,stringify as _0x5b876e}from'yaml';import{z}from'zod';import{readdir as _0x334e14,readFile as _0x72a047}from'fs/promises';import{join as _0x5da620}from'path';import{randomUUID as _0x1ed0d1}from'crypto';import{mkdir as _0x26e47b,readdir as _0x4e5f2a,readFile as _0x32a4bf,rename as _0x5f5509,rm as _0x3870d8,writeFile as _0x47f035}from'fs/promises';import{homedir as _0x331c86}from'os';import{basename as _0x3af396,isAbsolute as _0x39b7cb,join as _0x55b607,relative as _0x247c19,resolve as _0x2dbd3c}from'path';import{parse as _0x51251a,stringify as _0x5cde3c}from'yaml';import{delimiter as _0x4ab028,resolve as _0x5ed3b5}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400,AGENT_MODEL_SET_NAME_PATTERN=/^[A-Za-z0-9_-]+$/,PROTOTYPE_SENSITIVE_NAMES=new Set([...Object[_0xa5377c(0x245,0x4bc,0x303,0x419)](Object['prototype']),'prototype']);function isValidAgentModelSetName(_0x259346){const _0x57b96f={_0xbad2a2:0x47f},_0x1fcaa9={_0x1c1c4b:0x7e};function _0x4037f2(_0x164638,_0x3091f4,_0x3c152c,_0x1f7d8e){return _0xa5377c(_0x164638,_0x3091f4-0x32,_0x3c152c-0x1c7,_0x1f7d8e- -0xe);}function _0x579edc(_0x4cbdb2,_0x136b23,_0x548eb1,_0x269fa1){return _0x4eedea(_0x4cbdb2-_0x1fcaa9._0x1c1c4b,_0x548eb1-0x168,_0x4cbdb2,_0x269fa1-0x184);}return AGENT_MODEL_SET_NAME_PATTERN[_0x4037f2(0x386,0x104,_0x57b96f._0xbad2a2,0x32f)](_0x259346)&&!PROTOTYPE_SENSITIVE_NAMES[_0x579edc(0x24b,0x2a9,0x240,0x489)](_0x259346);}function parseProviderQualifiedModelSelector(_0x15920f){const _0x5a0030={_0x5f4baf:0x243,_0x1cd3af:0x1b,_0x7ebf44:0x531,_0xc50a46:0x4b1,_0x48e2fb:0x367,_0x204837:0x21b,_0x581dfa:0x3d2,_0x1f3757:0x18a,_0x1639f5:0x1bd,_0x720377:0x3d4,_0x20c72c:0x115},_0x45bcee={_0x11fae1:0x127},_0x215522={_0x239287:0xfe};function _0x1ae319(_0x13bc52,_0xb9e409,_0x2bfc42,_0x585293){return _0x4eedea(_0x13bc52-_0x215522._0x239287,_0x13bc52-0xd4,_0xb9e409,_0x585293-0x7a);}if(_0x15920f!==_0x15920f['trim']())return void 0x0;const _0x45a324=_0x15920f[_0xdc601e(0x277,_0x5a0030._0x5f4baf,0x1c2,_0x5a0030._0x1cd3af)](':');if(_0x45a324<=0x0||_0x45a324===_0x15920f['length']-0x1)return void 0x0;const _0x2e5855=_0x15920f[_0x1ae319(0x450,_0x5a0030._0x7ebf44,0x21e,0x652)](0x0,_0x45a324);function _0xdc601e(_0x4d251f,_0x2400cc,_0x44a4d2,_0x4e9e4f){return _0xa5377c(_0x4d251f,_0x2400cc-_0x45bcee._0x11fae1,_0x44a4d2-0xe1,_0x44a4d2- -0x2a2);}const _0x31e977=_0x15920f[_0xdc601e(_0x5a0030._0xc50a46,0x492,0x2d0,_0x5a0030._0x48e2fb)](_0x45a324+0x1);if(!/^[A-Za-z0-9_-]+$/[_0x1ae319(_0x5a0030._0x204837,0x364,0x382,_0x5a0030._0x581dfa)](_0x2e5855)||PROTOTYPE_SENSITIVE_NAMES[_0x1ae319(0x1ac,0x2d1,_0x5a0030._0x1f3757,0x35e)](_0x2e5855)||_0x31e977!==_0x31e977[_0x1ae319(_0x5a0030._0x1639f5,_0x5a0030._0x720377,_0x5a0030._0x20c72c,0x190)]()||/[\u0000-\u001F\u007F-\u009F]/u['test'](_0x31e977))return void 0x0;return{'provider':_0x2e5855,'model':_0x31e977};}function tokenizeCommandArguments(_0x353c71){const _0x3fcb23={_0x3de43d:0x3e9,_0x1ae3c6:0x430,_0x1aede4:0x67c,_0x38cbf2:0x534,_0x366674:0x5dd,_0x1a1dee:0x53f,_0x4533e0:0x79c,_0x1af95f:0x334,_0x3b095c:0x4e2,_0x433fe9:0x2f5,_0x43554e:0x386,_0x1bd63d:0x463,_0x1d987d:0x4c3,_0x27f256:0x49a,_0x45f7c5:0x264},_0x36ad33={_0x2bf1fc:0x4b,_0x25654d:0x185,_0x41eefd:0x1c5},_0x286e6f={_0xa49f15:0x3aa,_0x1eff67:0x12b},_0x2982ce=[];function _0xc84e5d(_0x42d040,_0x5a9da9,_0x8b2f57,_0x17a672){return _0x4eedea(_0x42d040-0x30,_0x5a9da9-_0x286e6f._0xa49f15,_0x17a672,_0x17a672-_0x286e6f._0x1eff67);}function _0x5461a4(_0x234271,_0x3a6956,_0x9151ff,_0x55fe93){return _0x4eedea(_0x234271-_0x36ad33._0x2bf1fc,_0x9151ff-_0x36ad33._0x25654d,_0x234271,_0x55fe93-_0x36ad33._0x41eefd);}let _0x395090='',_0x1ae6d5=0x0;while(_0x1ae6d5<_0x353c71[_0x5461a4(0x4e2,0x5ee,_0x3fcb23._0x3de43d,0x463)]){const _0x210fbb=_0x353c71[_0x1ae6d5];if(_0x210fbb==='\x5c'&&_0x1ae6d5+0x1<_0x353c71[_0xc84e5d(0x4a1,0x60e,_0x3fcb23._0x1ae3c6,0x6f5)])_0x395090+=_0x353c71[_0x1ae6d5+0x1],_0x1ae6d5+=0x2;else{if(_0x210fbb==='\x22'||_0x210fbb==='\x27'){const _0x4c9f5d=_0x210fbb;_0x1ae6d5++;while(_0x1ae6d5<_0x353c71[_0xc84e5d(0x554,0x60e,_0x3fcb23._0x1aede4,_0x3fcb23._0x38cbf2)]&&_0x353c71[_0x1ae6d5]!==_0x4c9f5d){_0x353c71[_0x1ae6d5]==='\x5c'&&_0x1ae6d5+0x1<_0x353c71[_0xc84e5d(_0x3fcb23._0x366674,0x60e,_0x3fcb23._0x1a1dee,_0x3fcb23._0x4533e0)]?(_0x395090+=_0x353c71[_0x1ae6d5+0x1],_0x1ae6d5+=0x2):(_0x395090+=_0x353c71[_0x1ae6d5],_0x1ae6d5++);}_0x1ae6d5++;}else _0x210fbb!==void 0x0&&/\s/[_0x5461a4(_0x3fcb23._0x1af95f,_0x3fcb23._0x3b095c,0x2cc,_0x3fcb23._0x433fe9)](_0x210fbb)?(_0x395090&&(_0x2982ce[_0xc84e5d(_0x3fcb23._0x43554e,0x49a,_0x3fcb23._0x1bd63d,_0x3fcb23._0x1d987d)](_0x395090),_0x395090=''),_0x1ae6d5++):(_0x395090+=_0x210fbb,_0x1ae6d5++);}}if(_0x395090)_0x2982ce[_0xc84e5d(0x6b7,_0x3fcb23._0x27f256,0x55d,_0x3fcb23._0x45f7c5)](_0x395090);return _0x2982ce;}function renderCommandInstructions(_0x56c6af){const _0x221d67={_0x5cb688:0x5e0,_0x156a79:0x319,_0x14b2c9:0x1b2,_0x3075ca:0x2fc,_0xd22dae:0x95e,_0x21cf32:0x91c,_0x553f72:0xad7,_0x407505:0x534,_0x25a78b:0x138,_0x387d27:0x3c6,_0x42425d:0x764,_0x3a8cc2:0x4e6,_0x2c0243:0xadd,_0x2eca88:0x89b,_0x5748e1:0x39e,_0x419855:0xbc,_0x81f910:0x217,_0x2054dd:0x582,_0x3578ec:0x813,_0x5420ea:0x908,_0x236145:0x608},_0x4b4da6={_0x10c316:0xe9,_0x5dae9d:0xfb,_0x282a1f:0x10},_0x55b715={_0x54895c:0x304,_0x470d6f:0x146,_0x37b058:0x2dc,_0xa03442:0x2a3},_0x4b5d44={_0x1ea8ef:0x7b,_0x88a065:0x5};let _0x43f929=_0x56c6af[_0x54186d(0x62e,_0x221d67._0x5cb688,0x7cd,0x6e4)],_0x366aec=![];const _0x7f2a97=tokenizeCommandArguments(_0x56c6af[_0x3d152d(_0x221d67._0x156a79,0x2e1,0x35b,_0x221d67._0x14b2c9)]);_0x43f929=_0x43f929[_0x3d152d(0x6e0,0x4ca,_0x221d67._0x3075ca,0x2dd)](/\$ARGUMENTS\[(\d+)\]/g,(_0x47f212,_0x2edd24)=>{return _0x366aec=!![],_0x7f2a97[Number(_0x2edd24)]??'';}),_0x43f929=_0x43f929['replace'](/\$ARGUMENTS\b/g,()=>{_0x366aec=!![];function _0x2cdaa5(_0x6be458,_0x50d13f,_0x415909,_0xf5fb15){return _0x3d152d(_0x6be458-_0x4b5d44._0x1ea8ef,_0x415909- -_0x4b5d44._0x88a065,_0x50d13f,_0xf5fb15-0x94);}return _0x56c6af[_0x2cdaa5(_0x55b715._0x54895c,_0x55b715._0x470d6f,_0x55b715._0x37b058,_0x55b715._0xa03442)];});if(_0x56c6af[_0x54186d(_0x221d67._0xd22dae,_0x221d67._0x21cf32,_0x221d67._0x553f72,0xaab)]&&_0x56c6af[_0x3d152d(0x476,0x54b,0x4b4,_0x221d67._0x407505)][_0x3d152d(_0x221d67._0x25a78b,0x35f,0x138,0x482)]>0x0)for(let _0x2633e7=0x0;_0x2633e7<_0x56c6af[_0x3d152d(_0x221d67._0x387d27,0x54b,_0x221d67._0x42425d,_0x221d67._0x3a8cc2)]['length'];_0x2633e7++){const _0x382c85=_0x56c6af[_0x54186d(_0x221d67._0x2c0243,_0x221d67._0x21cf32,0xa08,0x830)][_0x2633e7];if(_0x382c85){const _0x4146ca=new RegExp('\x5c$'+_0x382c85+'\x5cb','g');_0x43f929=_0x43f929[_0x54186d(0xa71,_0x221d67._0x2eca88,0xa40,0x97e)](_0x4146ca,()=>{return _0x366aec=!![],_0x7f2a97[_0x2633e7]??'';});}}function _0x54186d(_0x1beb36,_0x335b56,_0x58d535,_0x328971){return _0xa5377c(_0x1beb36,_0x335b56-0x103,_0x58d535-0xe0,_0x335b56-0x2d6);}function _0x3d152d(_0x5e838d,_0x4f3194,_0x4961e1,_0x2671f6){return _0x4eedea(_0x5e838d-_0x4b4da6._0x10c316,_0x4f3194-_0x4b4da6._0x5dae9d,_0x4961e1,_0x2671f6-_0x4b4da6._0x282a1f);}return _0x43f929=_0x43f929[_0x3d152d(0x3a3,0x4ca,_0x221d67._0x5748e1,0x2b8)](/\$(\d+)\b/g,(_0x190fae,_0x47c214)=>{return _0x366aec=!![],_0x7f2a97[Number(_0x47c214)]??'';}),!_0x366aec&&_0x56c6af[_0x3d152d(_0x221d67._0x419855,0x2e1,_0x221d67._0x81f910,0x1ca)][_0x54186d(_0x221d67._0x2054dd,0x5b5,0x3ca,_0x221d67._0x3578ec)]()&&(_0x43f929=_0x43f929+'\x0a\x0aARGUMENTS:\x20'+_0x56c6af[_0x54186d(0x7ff,0x6b2,_0x221d67._0x5420ea,_0x221d67._0x236145)]),_0x43f929;}var PROVIDER_API_KEY_ENVS=[{'env':_0x4eedea(0x297,0x191,0x21e,0x355),'provider':_0xa5377c(0x1c9,0x2e8,0x2f1,0x206)},{'env':'ANTHROPIC_API_KEY','provider':_0xa5377c(0x29f,0x3ba,0x630,0x488)},{'env':'GITHUB_ACCESS_TOKEN','provider':_0xa5377c(0x2f4,0x2d0,0x43,0x271)},{'env':_0xa5377c(0x77a,0x4e5,0x672,0x599),'provider':'github'},{'env':_0xa5377c(0x4e4,0x530,0x58a,0x4ba),'provider':_0x4eedea(0x2d3,0x150,-0x24,-0x81)},{'env':_0x4eedea(0x128,0x1c6,0x91,0x53),'provider':'deepinfra'},{'env':_0xa5377c(0x429,0x6b9,0x606,0x563),'provider':_0xa5377c(0xdd,0x24d,0x330,0x20d)},{'env':'MOONSHOT_API_KEY','provider':'moonshot'},{'env':'MINIMAX_API_KEY','provider':_0xa5377c(0x281,0x3b9,0x33c,0x223)},{'env':'KIMI_API_KEY','provider':'kimi'},{'env':_0x4eedea(-0x5b,0xf1,-0x5f,0x2d8),'provider':_0xa5377c(0x2da,0x259,0x3e5,0x31c)},{'env':_0xa5377c(0x42f,0x456,0x23e,0x3b6),'provider':_0x4eedea(0x280,0xe7,0xec,0x1d3)},{'env':_0x4eedea(0x4e1,0x38d,0x595,0x261),'provider':_0xa5377c(0x4cf,0x771,0x66b,0x565)}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS['map'](_0x26f542=>_0x26f542[_0x4eedea(0x457,0x41d,0x5a0,0x633)]),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,_0xa5377c(0x657,0x487,0x78b,0x52c),_0x4eedea(0x66,0x7c,0x243,0x16d),_0x4eedea(-0x45,0x25,0x162,0x22b)],SHELL_SCRUBBED_ENV_KEYS=[...SCRUBBED_ENV_KEYS,'BASH_ENV',_0xa5377c(0x43c,0x7fd,0x6dc,0x5f5),'SHELLOPTS','BASHOPTS',_0x4eedea(0x3ad,0x1f1,0x202,0x13b),_0xa5377c(0x5e3,0x6a9,0x541,0x4a9)],PROTOTYPE_SENSITIVE_NAMES2=new Set([...Object[_0x4eedea(0x26b,0x223,0x34c,0x143)](Object['prototype']),_0xa5377c(0x4b8,0xba,0x317,0x2f7)]),OUTPUT_DENSITY_MODES=[_0x4eedea(0x640,0x3ee,0x2f5,0x3fa),_0xa5377c(0x1df,0x3d7,0x3a5,0x292),_0x4eedea(0x1bb,0x17d,-0x41,0x1d4)],PRODUCTION_FILE_EDIT_MODES=[_0x4eedea(0x387,0x159,0x34a,0x10b),_0x4eedea(0x6c,0xd2,-0x98,0x324),_0xa5377c(0x262,0x373,0x670,0x42c)];function prototypeSafeRecord(_0x584b68){const _0x1399cd={_0x5e9e99:0x30c,_0x409eb0:0x306,_0x2eeaa3:0x232,_0x2529df:0xda,_0x537561:0x2ca,_0x4e8761:0x4b1,_0x10c957:0x308,_0x144fd8:0x531,_0x49dc6d:0x6f4,_0x37258f:0x4a6,_0x4571e4:0x4d0},_0x52d7d5={_0x389550:0x671,_0x2dabbc:0x500,_0x4a85a9:0x105,_0x1ef6c6:0xbb,_0x115be1:0x756,_0x2b5caf:0x60f},_0x4ec0db={_0x5866e0:0x5d},_0x5168ce={_0x79315:0x121,_0x358d9a:0x1f0};function _0x21525d(_0x1537fc,_0x258b83,_0x26aba7,_0x4b6bbc){return _0x4eedea(_0x1537fc-_0x5168ce._0x79315,_0x4b6bbc-0x90,_0x1537fc,_0x4b6bbc-_0x5168ce._0x358d9a);}function _0x27b018(_0x4eddc5,_0x1177e7,_0x1b6179,_0x362637){return _0x4eedea(_0x4eddc5-0x76,_0x362637-0x1ea,_0x1177e7,_0x362637-_0x4ec0db._0x5866e0);}return z[_0x27b018(0x30e,_0x1399cd._0x5e9e99,0x47c,0x49f)](_0x5296b8=>{const _0x2b01cf={_0x16369f:0x1e6};function _0x581d0f(_0x14591b,_0x1764f8,_0x384038,_0x2bbab3){return _0x27b018(_0x14591b-0xdc,_0x2bbab3,_0x384038-0x1a2,_0x1764f8- -_0x2b01cf._0x16369f);}function _0x1789b4(_0x1f63bf,_0x51ef6d,_0x23907b,_0x1e7027){return _0x27b018(_0x1f63bf-0x13c,_0x1e7027,_0x23907b-0x114,_0x51ef6d-0xcb);}if(_0x5296b8===null||typeof _0x5296b8!==_0x581d0f(0x356,0x260,0x2be,0x1e4)||Array[_0x1789b4(_0x52d7d5._0x389550,0x5d6,_0x52d7d5._0x2dabbc,0x70c)](_0x5296b8))return null;const _0x149e81=Object['getPrototypeOf'](_0x5296b8);if(_0x149e81!==Object[_0x581d0f(0x46,_0x52d7d5._0x4a85a9,-0x7,_0x52d7d5._0x1ef6c6)]&&_0x149e81!==null)return null;return{'entries':Object[_0x1789b4(0x87b,0x688,_0x52d7d5._0x115be1,_0x52d7d5._0x2b5caf)](_0x5296b8)};},z['object']({'entries':z[_0x21525d(_0x1399cd._0x409eb0,_0x1399cd._0x2eeaa3,0x211,_0x1399cd._0x2529df)](z[_0x27b018(_0x1399cd._0x537561,0x4c0,0x58a,_0x1399cd._0x4e8761)]([z[_0x21525d(0x346,0x69b,_0x1399cd._0x10c957,0x4f4)](),_0x584b68]))}))[_0x21525d(_0x1399cd._0x144fd8,_0x1399cd._0x49dc6d,_0x1399cd._0x37258f,_0x1399cd._0x4571e4)](({entries:_0x5741bf})=>Object[_0x21525d(-0x28,0x8a,0x189,0x92)](_0x5741bf));}var chatModelAuthSchemeSchema=z[_0x4eedea(-0x128,0x33,0x24e,-0x2f)]([_0x4eedea(0x469,0x224,0x1df,0x3d5),'x-api-key']),apiKeyAuthSchema=z[_0x4eedea(0x337,0x25c,0x313,0x3ca)]({'type':z['literal'](_0xa5377c(0x4ad,0x2ea,0x1f1,0x32e)),'apiKey':z[_0xa5377c(0x579,0x87d,0x660,0x65a)](),'authScheme':chatModelAuthSchemeSchema[_0xa5377c(0x3a2,0x4bc,0x71d,0x5ad)]()})[_0xa5377c(0x29d,0x56e,0x14f,0x372)](),oauthAuthSchema=z[_0x4eedea(0x31d,0x25c,0x4b0,0x53)]({'type':z[_0xa5377c(0x55b,0x663,0x79b,0x65d)](_0x4eedea(0x307,0x253,0x4b2,0x127)),'access':z[_0x4eedea(0x2c5,0x464,0x367,0x51e)](),'refresh':z[_0xa5377c(0x748,0x84f,0x6c5,0x65a)](),'expires':z['number']()['optional'](),'authScheme':chatModelAuthSchemeSchema[_0x4eedea(0x570,0x3b7,0x422,0x2e8)]()})[_0x4eedea(0x27a,0x17c,0xc,-0xb0)](),finiteNonNegative=z[_0xa5377c(0x419,0x121,0x40c,0x1f0)]()[_0xa5377c(0x652,0x53f,0x415,0x58d)]()[_0x4eedea(0x156,0x212,0x398,-0x23)](),chatGptAuthSchema=z[_0x4eedea(0x56,0x25c,0x4b2,0x48f)]({'type':z[_0xa5377c(0x874,0x60a,0x5ca,0x65d)](_0xa5377c(0x27a,0x538,0x39c,0x31e)),'access':z[_0xa5377c(0x5d1,0x7c8,0x644,0x65a)]()[_0x4eedea(0x3bc,0x2c5,0x3a2,0x98)](0x1),'refresh':z[_0x4eedea(0x480,0x464,0x315,0x4d2)]()[_0x4eedea(0x1f3,0x2c5,0x14f,0x15d)](0x1),'idToken':z['string']()[_0xa5377c(0x693,0x5c2,0x48d,0x4bb)](0x1),'accountId':z[_0x4eedea(0x4df,0x464,0x204,0x5f4)]()['min'](0x1),'expires':finiteNonNegative,'earliestRefreshAt':finiteNonNegative['optional']()})[_0xa5377c(0x31d,0x257,0x453,0x372)](),authMethodSchema=z[_0x4eedea(0x3b2,0x34f,0x277,0x51c)]([apiKeyAuthSchema,oauthAuthSchema,chatGptAuthSchema]),reasoningEffortSchema=z['enum']([_0xa5377c(0x72a,0x30e,0x694,0x53e),_0x4eedea(0x1d3,0x305,0x33f,0x327),'medium','high','xhigh',_0xa5377c(0x50b,0x435,0x3b4,0x581)]),reasoningOptionSchema=z[_0xa5377c(0x40e,0x547,0x44f,0x452)]({'id':z['string']()[_0x4eedea(0x109,0xe9,0x321,0xc)]()['min'](0x1),'description':z[_0x4eedea(0x3d9,0x464,0x56b,0x6b1)]()[_0xa5377c(0x7fa,0x65c,0x768,0x5ad)](),'mode':z[_0xa5377c(0xb1,0x1b9,0x5f,0x229)](['adaptive',_0xa5377c(0x3d1,0x297,0x508,0x412)])[_0xa5377c(0x534,0x69a,0x64f,0x5ad)](),'effort':reasoningEffortSchema['optional'](),'budgetTokens':z[_0x4eedea(-0x5,-0x6,-0xed,0x14e)]()['int']()[_0xa5377c(0x278,0x3d8,0x47f,0x4bb)](0x400)[_0xa5377c(0x3f6,0x70a,0x3cb,0x5ad)]()})['superRefine']((_0x4d28fe,_0x11f631)=>{const _0x2615a1={_0x414eb8:0x7cf,_0x358098:0x590,_0x2a31c8:0x29e,_0x3329b8:0x65,_0xa01120:0x613,_0x54d78a:0x554,_0x24f648:0xc8,_0x42bc1d:0x1e9,_0x386a27:0xec,_0xf66e3b:0x27a,_0x156d31:0x385,_0x32c506:0x30e,_0x51d50f:0x2e2,_0x3e07af:0x56e,_0x30a93f:0x90f,_0x5a959e:0x667,_0x43829e:0x7e3,_0x1be11d:0x1bc,_0x29e05e:0x3c7,_0x90ce7b:0x339,_0x4f40a9:0x420,_0x2721de:0x491,_0x230109:0x179,_0x20f701:0x29e,_0x499f24:0x292,_0x258443:0x2e6,_0x29c895:0x20e,_0x319416:0x72,_0x1f3e3e:0x14d,_0x1d0ef1:0x7a8,_0x2d6e15:0x679,_0x350f69:0x2e2,_0x5a18c6:0xb4,_0x16d623:0x689,_0x2ff914:0xa08,_0x34e501:0x7c5,_0x282c9e:0x692,_0x46f8e4:0x6db,_0x5b5ab0:0x69c,_0x5a088c:0x231,_0x2e4542:0x4a4,_0x31fbca:0x4c7,_0x3c8888:0x71e},_0x1ba6d0={_0x5a036f:0xf2,_0x41e638:0xe};function _0x2217a7(_0x4cac52,_0xb88e4,_0xf43bf6,_0x5501ce){return _0x4eedea(_0x4cac52-0xf3,_0xb88e4- -0x33,_0xf43bf6,_0x5501ce-0x102);}const _0x262e40=_0x4d28fe['id'][_0x5c9993(_0x2615a1._0x414eb8,0xa26,_0x2615a1._0x358098,0x5cd)]();(_0x262e40==='off'||_0x262e40==='default'||_0x262e40==='ultra')&&_0x11f631['addIssue']({'code':_0x2217a7(0x41b,_0x2615a1._0x2a31c8,0x30d,0x211),'path':['id'],'message':'Reasoning\x20option\x20\x22'+_0x262e40+_0x2217a7(0xd1,0x1b7,_0x2615a1._0x3329b8,0x10e)});function _0x5c9993(_0x5df8cc,_0x3ab09e,_0xd1d466,_0x1d1faa){return _0xa5377c(_0xd1d466,_0x3ab09e-_0x1ba6d0._0x5a036f,_0xd1d466-_0x1ba6d0._0x41e638,_0x5df8cc-0x305);}if(_0x4d28fe[_0x5c9993(_0x2615a1._0xa01120,_0x2615a1._0x54d78a,0x3ea,0x3e5)]===_0x2217a7(_0x2615a1._0x24f648,_0x2615a1._0x42bc1d,_0x2615a1._0x386a27,0x33f)){_0x4d28fe[_0x2217a7(0x2b4,_0x2615a1._0xf66e3b,0x4ae,_0x2615a1._0x156d31)]===void 0x0&&_0x11f631[_0x2217a7(_0x2615a1._0x32c506,_0x2615a1._0x51d50f,0x127,0x1b6)]({'code':'custom','path':[_0x5c9993(0x7a8,_0x2615a1._0x3e07af,0x9d2,0x9fa)],'message':_0x5c9993(0x8a0,_0x2615a1._0x30a93f,_0x2615a1._0x5a959e,_0x2615a1._0x43829e)});_0x4d28fe[_0x2217a7(0x36f,_0x2615a1._0x1be11d,_0x2615a1._0x29e05e,_0x2615a1._0x90ce7b)]!==void 0x0&&_0x11f631[_0x2217a7(_0x2615a1._0x4f40a9,_0x2615a1._0x51d50f,0x164,_0x2615a1._0x2721de)]({'code':_0x2217a7(_0x2615a1._0x230109,_0x2615a1._0x20f701,0x308,_0x2615a1._0x499f24),'path':[_0x2217a7(-0x3a,_0x2615a1._0x1be11d,_0x2615a1._0x258443,_0x2615a1._0x29c895)],'message':_0x2217a7(-0x30,-_0x2615a1._0x319416,_0x2615a1._0x1f3e3e,0x35)});return;}_0x4d28fe[_0x5c9993(_0x2615a1._0x1d0ef1,0x776,_0x2615a1._0x2d6e15,0x94c)]!==void 0x0&&_0x11f631[_0x2217a7(0x4d5,_0x2615a1._0x350f69,_0x2615a1._0x5a18c6,0x4d7)]({'code':_0x5c9993(0x7cc,0x713,0x74b,0x6a2),'path':[_0x5c9993(0x7a8,_0x2615a1._0x16d623,_0x2615a1._0x2ff914,_0x2615a1._0x34e501)],'message':_0x5c9993(_0x2615a1._0x282c9e,0x4a3,0x6c8,0x8eb)}),_0x4d28fe[_0x5c9993(_0x2615a1._0xa01120,0x667,_0x2615a1._0x46f8e4,_0x2615a1._0x5b5ab0)]===void 0x0&&_0x4d28fe['effort']===void 0x0&&_0x11f631['addIssue']({'code':_0x2217a7(_0x2615a1._0x5a088c,0x29e,_0x2615a1._0x2e4542,_0x2615a1._0x31fbca),'path':['effort'],'message':_0x5c9993(0x760,0x928,0x6c4,_0x2615a1._0x3c8888)});});function validateReasoningOptionIds(_0x4028c8,_0x444af2){const _0xf170f4={_0x40de16:0x3ba,_0x2f793e:0x1a6,_0x23d99f:0x25c,_0x3b759b:0x322,_0x5da055:0x3ae,_0x2f8131:0x188,_0x13dc01:0xac,_0x11dad0:0x330,_0x2d9b4d:0x22d,_0x1e9506:0x288},_0x30b4d6={_0x428b0c:0x76},_0x4a03b7={_0x1347fa:0x4e,_0x71d01e:0x2a};function _0x10188d(_0x328ad1,_0x3dc81d,_0x10ca07,_0x8547a3){return _0x4eedea(_0x328ad1-0x16f,_0x3dc81d-_0x4a03b7._0x1347fa,_0x328ad1,_0x8547a3-_0x4a03b7._0x71d01e);}function _0x40165f(_0x68bb91,_0x5a98ac,_0xad803d,_0x57abce){return _0x4eedea(_0x68bb91-_0x30b4d6._0x428b0c,_0x68bb91-0x27c,_0x57abce,_0x57abce-0x158);}const _0x10e2b8=new Set();for(let _0xe923d0=0x0;_0xe923d0<_0x4028c8[_0x10188d(_0xf170f4._0x40de16,0x2b2,0x3dc,_0xf170f4._0x2f793e)];_0xe923d0+=0x1){const _0x3eb84f=_0x4028c8[_0xe923d0]?.['id'][_0x10188d(_0xf170f4._0x23d99f,_0xf170f4._0x3b759b,_0xf170f4._0x5da055,0x500)]();if(!_0x3eb84f)continue;if(_0x10e2b8['has'](_0x3eb84f)){_0x444af2['addIssue']({'code':'custom','path':[_0x10188d(-_0xf170f4._0x2f8131,0x68,_0xf170f4._0x13dc01,-0x84),_0xe923d0,'id'],'message':'Duplicate\x20reasoning\x20option\x20\x22'+_0x3eb84f+'\x22'});continue;}_0x10e2b8[_0x10188d(0x1a6,_0xf170f4._0x11dad0,_0xf170f4._0x2d9b4d,_0xf170f4._0x1e9506)](_0x3eb84f);}}var providerReasoningConfigSchema=z[_0xa5377c(0x66b,0x36f,0x40e,0x452)]({'options':z[_0xa5377c(0x39b,0xf6,0x3fe,0x240)](reasoningOptionSchema)})['superRefine']((_0x561c68,_0x535f17)=>{const _0x52a2f3={_0x3cca07:0xcc},_0x522a12={_0xe03a89:0x73,_0x458148:0x20f,_0x4ef811:0x131};function _0x39779b(_0x245b32,_0x5e6a3e,_0x13bced,_0x19759c){return _0x4eedea(_0x245b32-_0x522a12._0xe03a89,_0x19759c-_0x522a12._0x458148,_0x5e6a3e,_0x19759c-_0x522a12._0x4ef811);}validateReasoningOptionIds(_0x561c68[_0x39779b(0x112,0xf9,_0x52a2f3._0x3cca07,0x229)],_0x535f17);}),modelReasoningConfigSchema=z[_0xa5377c(0x21a,0x3a0,0x46e,0x452)]({'defaultOption':z[_0x4eedea(0x47b,0x464,0x5a5,0x432)]()[_0x4eedea(-0x1c,0xe9,-0xa5,0x50)]()[_0xa5377c(0x50a,0x6c2,0x2b7,0x4bb)](0x1)['optional'](),'canDisable':z[_0xa5377c(0x2cf,0x92,0x469,0x20f)]()[_0x4eedea(0x365,0x3b7,0x30a,0x259)](),'options':z[_0xa5377c(0x11,0x2f0,0x38,0x240)](reasoningOptionSchema)})[_0xa5377c(0x36a,0x2da,0x740,0x533)]((_0xe5e27c,_0xacddc0)=>{const _0x5c1196={_0x59706f:0x2a6,_0x2e5fbc:0x18a,_0xc3e2e8:0x1af,_0x45c92e:0x248,_0x2cc9a1:0x195,_0x99fd47:0x47d,_0x2a0720:0x696,_0x1c8c83:0x9b0,_0x102934:0x685,_0x2b5704:0x728,_0x285352:0x254,_0x4b9718:0x114,_0x527b9c:0x1f2,_0x2be055:0x31f,_0x5a0ecc:0x576,_0x258f9b:0x260,_0x2e8ff8:0x4d4,_0x538824:0x3bf,_0x4148a7:0x13f,_0x4b012d:0x450,_0x1f9c46:0x613,_0x461587:0x778,_0xf928cb:0x518,_0x18e01c:0x57f,_0x251fb7:0x3f5,_0xc172da:0x248,_0x30d4a8:0x288,_0x2e03c9:0x4af,_0x30b1de:0x4ca,_0x1b53d3:0x366},_0x19dc5c={_0x2eadb1:0x444,_0x17b900:0xc5};validateReasoningOptionIds(_0xe5e27c['options'],_0xacddc0);function _0x38a37b(_0x570cb5,_0x197219,_0x46258f,_0x1c6b8c){return _0x4eedea(_0x570cb5-0x62,_0x197219-_0x19dc5c._0x2eadb1,_0x46258f,_0x1c6b8c-_0x19dc5c._0x17b900);}const _0x4cfab0=_0xe5e27c[_0x1b5713(_0x5c1196._0x59706f,_0x5c1196._0x2e5fbc,_0x5c1196._0xc3e2e8,_0x5c1196._0x45c92e)]?.[_0x1b5713(_0x5c1196._0x2cc9a1,0x499,_0x5c1196._0x99fd47,0x3c2)]();if(_0x4cfab0===void 0x0)return;if(_0x4cfab0===_0x38a37b(_0x5c1196._0x2a0720,0x75f,_0x5c1196._0x1c8c83,0x97a)){_0xe5e27c[_0x38a37b(_0x5c1196._0x102934,0x505,_0x5c1196._0x2b5704,0x732)]!==!![]&&_0xacddc0['addIssue']({'code':_0x1b5713(0x4e9,0x3f6,0x21d,0x3bf),'path':[_0x1b5713(0x367,_0x5c1196._0x285352,0x391,0x248)],'message':_0x1b5713(0x1ae,0x183,-0xb9,_0x5c1196._0x4b9718)});return;}function _0x1b5713(_0x2816e7,_0x40bd4b,_0x87c2d5,_0x51eb00){return _0x4eedea(_0x2816e7-0x1df,_0x51eb00-0xee,_0x87c2d5,_0x51eb00-0x19b);}!_0xe5e27c[_0x1b5713(0x63,_0x5c1196._0x527b9c,_0x5c1196._0x2be055,0x108)]['some'](_0xb19bd8=>_0xb19bd8['id']['toLowerCase']()===_0x4cfab0)&&_0xacddc0[_0x38a37b(_0x5c1196._0x5a0ecc,0x759,0x8e3,0x74a)]({'code':_0x1b5713(_0x5c1196._0x258f9b,0x30f,_0x5c1196._0x2e8ff8,_0x5c1196._0x538824),'path':[_0x1b5713(_0x5c1196._0x4148a7,_0x5c1196._0x4b012d,0xd8,_0x5c1196._0x45c92e)],'message':_0x38a37b(_0x5c1196._0x1f9c46,_0x5c1196._0x461587,_0x5c1196._0xf928cb,_0x5c1196._0x18e01c)+_0xe5e27c[_0x1b5713(0x81,0x4a4,_0x5c1196._0x251fb7,_0x5c1196._0xc172da)]+_0x38a37b(_0x5c1196._0x30d4a8,_0x5c1196._0x2e03c9,_0x5c1196._0x30b1de,_0x5c1196._0x1b53d3)});}),modelDefinitionSchema=z[_0x4eedea(0x48e,0x25c,0x22a,0x2d6)]({'id':z[_0x4eedea(0x285,0x464,0x633,0x324)](),'name':z[_0xa5377c(0x7a8,0x80d,0x86c,0x65a)]()[_0x4eedea(0x593,0x3b7,0x283,0x38d)](),'reasoning':modelReasoningConfigSchema['optional']()})[_0xa5377c(0x48f,0x462,0x442,0x372)](),modelConfigSchema=z['union']([z[_0xa5377c(0x46b,0x508,0x657,0x65d)](![]),z[_0x4eedea(0x4fc,0x467,0x21e,0x41b)](!![]),z[_0xa5377c(0x7a6,0x62a,0x652,0x65a)](),z[_0x4eedea(0xa5,0x4a,-0x1e9,-0x166)](z[_0x4eedea(0x5a4,0x464,0x5ed,0x476)]()),z[_0xa5377c(0x313,0x385,0x30c,0x240)](modelDefinitionSchema)]),chatModelSurfaceSchema=z[_0x4eedea(0xd,0x33,-0x40,-0xa)]([_0xa5377c(0x4,0x342,0x13f,0x1c5),'openai-chat-completions',_0x4eedea(0x30c,0x430,0x344,0x447),'openai-responses-ws']),providerNameSchema=z[_0x4eedea(0x4d2,0x464,0x4ca,0x31e)]()[_0xa5377c(0x279,0x42e,0x51e,0x4bb)](0x1,_0xa5377c(0x535,0x482,0x1a3,0x38c))[_0x4eedea(0xbb,0x311,0x3f9,0x4b5)](_0x3ebbd9=>!_0x3ebbd9[_0xa5377c(0x270,0x431,0x464,0x3cd)](':'),_0xa5377c(0x1c8,0x46f,0x230,0x308)),providerConfigSchema=z[_0xa5377c(0x38c,0x2e0,0x4f6,0x452)]({'apiKey':z['string']()[_0xa5377c(0x4e7,0x69a,0x3d6,0x5ad)](),'token':z['string']()['optional'](),'defaultModel':z['string']()[_0xa5377c(0x625,0x6ec,0x360,0x5ad)](),'smallModel':z[_0x4eedea(0x478,0x464,0x252,0x57f)]()[_0xa5377c(0x468,0x39c,0x3be,0x5ad)](),'currentAuth':z['string']()[_0x4eedea(0x4b3,0x3b7,0x34c,0x25f)](),'auth':z['array'](authMethodSchema)[_0x4eedea(0x5c3,0x3b7,0x2ca,0x601)](),'surface':chatModelSurfaceSchema['optional'](),'providerId':providerNameSchema[_0x4eedea(0x232,0x3b7,0x45d,0x167)](),'baseUrl':z[_0xa5377c(0x601,0x89c,0x81d,0x65a)]()[_0x4eedea(0x236,0x3b7,0x1f5,0x3fa)](),'models':modelConfigSchema[_0x4eedea(0x5e5,0x3b7,0x295,0x542)](),'customHeaders':z[_0x4eedea(0x376,0x13a,-0x7f,0x2cd)](z['string'](),z['string']())[_0xa5377c(0x750,0x538,0x6a2,0x5ad)](),'reasoning':providerReasoningConfigSchema[_0x4eedea(0x27f,0x3b7,0x2de,0x3f5)]()})['passthrough'](),mcpServerConfigSchema=z[_0x4eedea(0x2e6,0x25c,0x39e,0x40)]({'command':z['string']()[_0x4eedea(0x3d0,0x3b7,0x5a0,0x4d0)](),'args':z[_0xa5377c(0x285,0x384,0x197,0x240)](z[_0x4eedea(0x64e,0x464,0x30f,0x292)]())[_0xa5377c(0x464,0x5f5,0x6bc,0x5ad)](),'env':z['record'](z[_0x4eedea(0x55a,0x464,0x231,0x228)](),z['string']())[_0xa5377c(0x5fa,0x6cd,0x541,0x5ad)](),'transport':z['enum']([_0xa5377c(0x48b,0x6a5,0x512,0x610),_0x4eedea(0x2d0,0x2cd,0x2a7,0x1f1)])[_0x4eedea(0x501,0x3b7,0x430,0x4cf)](),'url':z[_0xa5377c(0x46e,0x737,0x866,0x65a)]()[_0x4eedea(0x425,0x3b7,0x4ef,0x248)](),'headers':z[_0x4eedea(0x2d7,0x13a,-0xe8,-0xd6)](z[_0xa5377c(0x77d,0x5f0,0x85d,0x65a)](),z['string']())[_0x4eedea(0x5a9,0x3b7,0x388,0x15d)](),'prefix':z[_0xa5377c(0x47d,0x44c,0x44e,0x65a)]()[_0xa5377c(0x79c,0x7c0,0x7ea,0x5ad)](),'timeoutMs':z[_0xa5377c(0x411,0x31d,0x8,0x1f0)]()[_0xa5377c(0x635,0x553,0x589,0x5ad)](),'enabled':z[_0xa5377c(-0x4b,0x125,0x110,0x20f)]()[_0xa5377c(0x6bc,0x6ba,0x7f1,0x5ad)](),'auth':z[_0x4eedea(0x189,0x25c,0x5c,0x346)]({'type':z['enum']([_0x4eedea(0x567,0x35a,0x4b5,0x13b),_0xa5377c(0x2c5,0x536,0x21f,0x41a),_0xa5377c(0x2a2,0x465,0x274,0x449)]),'token':z[_0xa5377c(0x68a,0x666,0x76b,0x65a)]()[_0x4eedea(0x4ad,0x3b7,0x44a,0x326)](),'oauth':z[_0x4eedea(0x163,0x25c,0x445,0x160)]({'clientId':z[_0xa5377c(0x484,0x56a,0x460,0x65a)]()[_0x4eedea(0x232,0x3b7,0x519,0x356)](),'clientMetadataUrl':z['string']()[_0x4eedea(0x267,0x3b7,0x49a,0x1ad)](),'authorizationServer':z[_0xa5377c(0x79d,0x619,0x430,0x65a)]()['optional'](),'scopes':z['array'](z['string']())[_0xa5377c(0x6b2,0x34e,0x40b,0x5ad)](),'tokenStorageKey':z[_0x4eedea(0x5f3,0x464,0x42a,0x308)]()[_0xa5377c(0x410,0x436,0x77a,0x5ad)]()})[_0x4eedea(0x1b3,0x17c,-0x86,-0x2e)]()[_0x4eedea(0x47f,0x3b7,0x366,0x170)]()})[_0x4eedea(0x140,0x17c,0x2a1,-0x46)]()['optional']()})[_0x4eedea(0x1d,0x17c,0x22d,0x35)](),mcpToolPermissionClassSchema=z[_0xa5377c(0xdd,0x351,0x12c,0x229)]([_0x4eedea(0x495,0x2c8,0x405,0x157),_0x4eedea(0x36b,0x377,0x1b8,0x481),_0xa5377c(0x2f3,0x754,0x4cb,0x4f6)]),mcpSettingsSchema=z[_0xa5377c(0x4d3,0x535,0x4e0,0x452)]({'servers':prototypeSafeRecord(mcpServerConfigSchema)['optional'](),'allowedTools':prototypeSafeRecord(prototypeSafeRecord(z[_0x4eedea(0x8c,0x19,-0x19b,-0x170)]()))[_0xa5377c(0x4af,0x602,0x735,0x5ad)](),'toolPermissions':prototypeSafeRecord(prototypeSafeRecord(mcpToolPermissionClassSchema))[_0xa5377c(0x6d3,0x7c6,0x36a,0x5ad)](),'defaultTimeoutMs':z[_0xa5377c(0x1ad,0x214,-0x5e,0x1f0)]()[_0xa5377c(0x69a,0x80b,0x47b,0x5ad)]()})[_0xa5377c(0x4fe,0x515,0x523,0x372)](),skillsSettingsSchema=z[_0xa5377c(0x32c,0x3c8,0x4ad,0x452)]({'enabled':z[_0x4eedea(0xe1,0x19,-0xe8,0xc9)]()['optional'](),'includeDefaults':z[_0x4eedea(0x88,0x19,-0xf0,-0x141)]()['optional'](),'directories':z[_0xa5377c(0x37d,0x4d,0x115,0x240)](z['string']())[_0xa5377c(0x362,0x5a0,0x3ca,0x5ad)](),'exclude':z[_0xa5377c(0x2f4,0x48,0x43,0x240)](z[_0x4eedea(0x4a9,0x464,0x510,0x249)]())[_0x4eedea(0x60b,0x3b7,0x39a,0x186)]()})['passthrough'](),commandsSettingsSchema=z['object']({'enabled':z[_0xa5377c(0xa4,0x46d,-0x8,0x20f)]()[_0xa5377c(0x45f,0x7ab,0x512,0x5ad)](),'directories':z[_0xa5377c(0x4f,0x446,-0x13,0x240)](z[_0xa5377c(0x6ef,0x578,0x605,0x65a)]())[_0x4eedea(0x54b,0x3b7,0x3c7,0x5fd)]()})[_0xa5377c(0x460,0x4ce,0x151,0x372)](),agentsSettingsSchema=z[_0xa5377c(0x4dc,0x3a1,0x5f1,0x452)]({'enabled':z[_0x4eedea(-0x1cb,0x19,-0x225,0x132)]()['optional'](),'includeDefaults':z[_0xa5377c(0xf2,0x284,0x8c,0x20f)]()['optional'](),'directories':z['array'](z[_0xa5377c(0x5cf,0x882,0x5e2,0x65a)]())[_0xa5377c(0x5f1,0x3dc,0x5ee,0x5ad)](),'maxConcurrency':z['number']()['finite']()[_0x4eedea(0xa4,0x181,0x26,0x1c8)]()[_0x4eedea(-0xf,0x83,0x13e,-0x15a)]()['optional']()})[_0x4eedea(0x19a,0x17c,-0xf,0x3bf)](),uiThemeSettingsSchema=z[_0x4eedea(0x293,0x25c,0x76,0x46b)]({'mode':z['enum']([_0x4eedea(0x51a,0x36c,0x1ef,0x387),_0x4eedea(0x193,0x30c,0x2d3,0x4a4),'light'])['optional'](),'colorLevel':z[_0xa5377c(0x411,0x10f,0x1c0,0x229)](['auto',_0xa5377c(0x710,0x5f9,0x3a4,0x550),_0xa5377c(0x372,0x60e,0x354,0x51c),'ansi256',_0xa5377c(0x2f1,0x415,0x5ad,0x3da)])['optional'](),'backgrounds':z[_0x4eedea(-0xea,0x33,-0x10a,0x3c)]([_0x4eedea(0x214,0x36c,0x40b,0x112),'on',_0x4eedea(0x454,0x31b,0xe3,0x378)])['optional'](),'messageStyle':z['enum']([_0xa5377c(0x347,0x1e5,0x22c,0x252),'boxed'])[_0xa5377c(0x576,0x524,0x356,0x5ad)]()})['passthrough'](),statuslineSegmentSchema=z[_0x4eedea(0xfd,0x33,0x1ba,0x123)](['model',_0x4eedea(0x7c,0x293,0xca,0xab),_0x4eedea(0xad,0x215,0x3cc,0x1e9),_0xa5377c(0x629,0x4c5,0x446,0x616),_0xa5377c(0x585,0x740,0x5d4,0x555),'context','cached','requests','tools',_0x4eedea(0xcd,0x91,-0x8f,-0x164),_0x4eedea(0x36d,0x190,0x22b,0x100),'gitBranch',_0xa5377c(0xdf,0x222,0x448,0x1f7),_0x4eedea(0x64e,0x457,0x46a,0x2d9),_0x4eedea(0x2d5,0x333,0x410,0x454)]),statuslineItemSchema=z['union']([statuslineSegmentSchema,z[_0xa5377c(0x784,0x8bc,0x52d,0x65d)]('|')]),statuslineRowSchema=z[_0x4eedea(-0x8,0x4a,0x1ab,-0x1f0)](statuslineItemSchema),statuslineConfigSchema=z[_0x4eedea(0x4a5,0x25c,0x22f,0x4ac)]({'rows':z['tuple']([statuslineRowSchema,statuslineRowSchema])[_0x4eedea(0x196,0x3b7,0x341,0x492)]()})[_0xa5377c(0x382,0x3c8,0x4db,0x372)](),memoryExtractionSettingsSchema=z[_0xa5377c(0x370,0x26b,0x635,0x452)]({'enabled':z[_0x4eedea(0x4b,0x19,0x1e,-0x208)]()[_0x4eedea(0x5ed,0x3b7,0x584,0x450)](),'provider':z[_0x4eedea(0x28f,0x464,0x675,0x349)]()[_0xa5377c(0x643,0x5d9,0x468,0x4bb)](0x1)['optional'](),'model':z[_0xa5377c(0x497,0x43d,0x5a7,0x65a)]()[_0x4eedea(0xe8,0x2c5,0x2ee,0x51b)](0x1)[_0xa5377c(0x490,0x3b5,0x4a4,0x5ad)](),'minUserMessages':z[_0xa5377c(0x429,0x3cb,0xc8,0x1f0)]()['int']()[_0x4eedea(0x437,0x2c5,0x71,0x32b)](0x1)[_0xa5377c(0x4b6,0x7b2,0x79f,0x5ad)](),'structuredOutput':z[_0x4eedea(-0x1d1,0x19,0x129,0x217)]()[_0x4eedea(0x38f,0x3b7,0x391,0x1f4)](),'maxSeedTokens':z[_0xa5377c(0x269,0x29b,0xc2,0x1f0)]()[_0x4eedea(0x370,0x181,-0x83,0x19b)]()[_0xa5377c(0x47d,0x552,0x46d,0x4bb)](0x1)[_0xa5377c(0x44c,0x58d,0x4e9,0x5ad)](),'trimToolOutputs':z[_0x4eedea(0xfe,0x19,-0xab,-0x208)]()[_0xa5377c(0x647,0x602,0x4f6,0x5ad)]()})[_0x4eedea(0x15a,0x381,0x148,0x292)](),memoryInjectionSettingsSchema=z[_0xa5377c(0x498,0x4c1,0x456,0x452)]({'tokenBudget':z['number']()[_0x4eedea(0x297,0x181,0x169,0x1b0)]()[_0xa5377c(0x2cb,0x461,0x5e3,0x4bb)](0x80)[_0xa5377c(0x64b,0x79b,0x4d1,0x581)](0x2000)[_0x4eedea(0x295,0x3b7,0x576,0x4ed)](),'rankByUsage':z[_0x4eedea(0x198,0x19,0x150,-0x205)]()['optional']()})['strict'](),memoryConsolidateSettingsSchema=z[_0x4eedea(0x34c,0x25c,0x3f7,0x4b5)]({'enabled':z[_0x4eedea(0x12f,0x19,0x1a4,0x276)]()[_0xa5377c(0x384,0x64d,0x68b,0x5ad)](),'provider':z['string']()[_0x4eedea(0x342,0x2c5,0x2ff,0xf5)](0x1)[_0x4eedea(0x4a8,0x3b7,0x1d3,0x502)](),'model':z[_0xa5377c(0x7d0,0x474,0x5fc,0x65a)]()[_0xa5377c(0x633,0x475,0x30f,0x4bb)](0x1)[_0xa5377c(0x56a,0x5f5,0x7d7,0x5ad)](),'maxExtractsPerRun':z[_0xa5377c(0x154,0x3ff,0x3c,0x1f0)]()['int']()[_0x4eedea(0x285,0x2c5,0x1e9,0x44c)](0x1)[_0x4eedea(0x57a,0x3b7,0x186,0x422)](),'maxUnusedDays':z[_0xa5377c(0x21b,0x2f,0x2a1,0x1f0)]()[_0x4eedea(0x14e,0x181,0x35d,-0xd8)]()[_0xa5377c(0x572,0x668,0x5d6,0x4bb)](0x1)[_0x4eedea(0x190,0x3b7,0x1bd,0x29f)](),'requireReview':z[_0x4eedea(0x224,0x19,-0x75,0x1ce)]()[_0xa5377c(0x5f3,0x73a,0x6ef,0x5ad)](),'writeSkills':z['boolean']()[_0xa5377c(0x503,0x522,0x6da,0x5ad)](),'readSourceTranscripts':z[_0xa5377c(0x1c7,0x372,0x45a,0x20f)]()[_0x4eedea(0x22d,0x3b7,0x514,0x2e5)](),'maxTranscriptReadsPerRun':z['number']()[_0xa5377c(0x58e,0x133,0x359,0x377)]()[_0xa5377c(0x5ec,0x59f,0x3d2,0x4bb)](0x0)[_0x4eedea(0x47c,0x3b7,0x30b,0x506)]()})[_0xa5377c(0x601,0x6a2,0x4f7,0x577)](),memorySettingsSchema=z['object']({'enabled':z[_0xa5377c(-0x3a,0x40a,0x42e,0x20f)]()[_0x4eedea(0x2ed,0x3b7,0x528,0x391)](),'extraction':memoryExtractionSettingsSchema[_0x4eedea(0x3fe,0x3b7,0x5f7,0x1ae)](),'consolidate':memoryConsolidateSettingsSchema[_0xa5377c(0x4e9,0x445,0x4fb,0x5ad)](),'injection':memoryInjectionSettingsSchema[_0x4eedea(0x19e,0x3b7,0x607,0x3cb)]()})['strict'](),recentModelSchema=z[_0x4eedea(0xcb,0x25c,0x226,0x195)]({'provider':z[_0xa5377c(0x66d,0x4c6,0x86c,0x65a)](),'model':z[_0xa5377c(0x800,0x859,0x788,0x65a)](),'usedAt':z[_0x4eedea(-0x1f2,-0x6,0x1a,-0x218)]()})[_0x4eedea(0x359,0x17c,-0x23,-0x4b)](),lspServerEntrySchema=z[_0xa5377c(0x611,0x60d,0x234,0x452)]({'disabled':z[_0x4eedea(0x251,0x19,0xbb,0x1f6)]()[_0xa5377c(0x71a,0x4b5,0x7c9,0x5ad)](),'command':z[_0xa5377c(0x560,0x6d6,0x4f7,0x65a)]()[_0x4eedea(0x4fc,0x3b7,0x606,0x4fa)](),'args':z['array'](z['string']())[_0xa5377c(0x505,0x7f6,0x470,0x5ad)](),'rootMarkers':z[_0xa5377c(0x19a,0x27e,0x2bb,0x240)](z[_0xa5377c(0x653,0x4b9,0x714,0x65a)]())['optional']()})[_0xa5377c(0x1ea,0x2f6,0x22e,0x372)](),lspConfigSchema=z[_0xa5377c(0x399,0x388,0x363,0x452)]({'enabled':z[_0xa5377c(0x25a,0x43c,0x349,0x20f)]()[_0x4eedea(0x2ba,0x3b7,0x510,0x5c6)](),'servers':z['record'](z[_0x4eedea(0x350,0x464,0x579,0x4f1)](),lspServerEntrySchema)['optional']()})[_0xa5377c(0x566,0x394,0x34d,0x372)](),serverEndpointSchema=z[_0xa5377c(0x4af,0x244,0x685,0x452)]({'url':z[_0xa5377c(0x68c,0x724,0x8ad,0x65a)](),'token':z[_0xa5377c(0x704,0x484,0x49d,0x65a)]()[_0x4eedea(0x1d9,0x3b7,0x599,0x382)]()})[_0x4eedea(-0x6,0x17c,0x1a5,-0x92)](),commandHookConfigSchema=z[_0x4eedea(0x32f,0x25c,0x201,0x2ac)]({'type':z[_0xa5377c(0x63b,0x6da,0x785,0x65d)](_0x4eedea(0x1f4,0xed,0x255,0x263)),'command':z['string'](),'timeout':z['number']()['optional']()}),hookMatcherGroupSchema=z[_0xa5377c(0x67c,0x4cb,0x5ac,0x452)]({'matcher':z[_0x4eedea(0x354,0x464,0x335,0x340)]()[_0xa5377c(0x703,0x64b,0x430,0x5ad)](),'hooks':z[_0xa5377c(0x347,0x52,0x150,0x240)](commandHookConfigSchema)}),hooksConfigSchema=z[_0x4eedea(0x307,0x25c,0x3ab,0x2fd)]({'PreToolUse':z[_0x4eedea(0x258,0x4a,0x29c,0x194)](hookMatcherGroupSchema)['optional'](),'PostToolUse':z[_0x4eedea(0x1fe,0x4a,-0xb1,0x291)](hookMatcherGroupSchema)[_0xa5377c(0x6c1,0x5a2,0x798,0x5ad)](),'UserPromptSubmit':z['array'](hookMatcherGroupSchema)[_0x4eedea(0x240,0x3b7,0x1bb,0x181)](),'Stop':z[_0x4eedea(0x2,0x4a,0xab,0x274)](hookMatcherGroupSchema)['optional'](),'Notification':z[_0xa5377c(0x26e,0x1b,0x49,0x240)](hookMatcherGroupSchema)[_0x4eedea(0x16a,0x3b7,0x5b8,0x398)](),'ToolApprovalRequest':z[_0xa5377c(0x2d0,0x34e,0x13b,0x240)](hookMatcherGroupSchema)['optional'](),'SessionStart':z[_0x4eedea(0x1a0,0x4a,-0x163,0x127)](hookMatcherGroupSchema)[_0x4eedea(0x36c,0x3b7,0x537,0x3d8)](),'SessionEnd':z[_0xa5377c(0x4f,0x212,0x20,0x240)](hookMatcherGroupSchema)[_0xa5377c(0x684,0x4d7,0x3ea,0x5ad)]()}),agentModelSetNameSchema=z[_0xa5377c(0x47f,0x71d,0x3fe,0x65a)]()[_0xa5377c(0x61c,0x5c1,0x56b,0x507)](isValidAgentModelSetName,'Invalid\x20agent\x20model\x20set\x20name'),agentModelSelectorSchema=z[_0xa5377c(0x4d6,0x6e9,0x7e0,0x65a)]()[_0xa5377c(0x344,0x580,0x32f,0x507)](_0x245949=>parseProviderQualifiedModelSelector(_0x245949)!==void 0x0,_0xa5377c(0x1d6,0x299,0x641,0x432)),agentModelSetSchema=z[_0x4eedea(0x2dd,0x25c,0x472,0x63)]({'fast':agentModelSelectorSchema[_0xa5377c(0x688,0x425,0x420,0x5ad)](),'balanced':agentModelSelectorSchema[_0x4eedea(0x50b,0x3b7,0x530,0x46c)](),'powerful':agentModelSelectorSchema[_0xa5377c(0x7c2,0x3a0,0x3be,0x5ad)]()})[_0xa5377c(0x3eb,0x507,0x506,0x577)]()[_0xa5377c(0x6e8,0x6d9,0x67c,0x507)](_0x37ca72=>Object[_0xa5377c(0x15f,0x176,0x34c,0x396)](_0x37ca72)['length']>0x0,_0x4eedea(0x1bb,0x192,0x247,-0x44)),agentModelSetsSchema=prototypeSafeRecord(agentModelSetSchema)[_0xa5377c(0x452,0x590,0x423,0x533)]((_0x4734fb,_0x3fa695)=>{const _0x106870={_0x2e7361:0x205,_0x248633:0x144,_0x50d97e:0x52,_0x45aeb4:0x702,_0x1f4b3e:0x5a1,_0x146b11:0x4be,_0x55ea67:0x6e9,_0x275a00:0x467},_0x415968={_0x2a4efe:0x3a7};function _0x3a13a9(_0x769b42,_0x4ed09e,_0x1c765b,_0x4159a8){return _0x4eedea(_0x769b42-0x124,_0x4ed09e-0x1ed,_0x1c765b,_0x4159a8-0x12f);}function _0x560626(_0x15cf6a,_0x489608,_0x251a81,_0x48b433){return _0xa5377c(_0x48b433,_0x489608-0x32,_0x251a81-0x122,_0x489608- -_0x415968._0x2a4efe);}for(const _0x3a023d of Object[_0x560626(-_0x106870._0x2e7361,-0x11,0x96,_0x106870._0x248633)](_0x4734fb)){!agentModelSetNameSchema[_0x560626(-_0x106870._0x50d97e,-0x1d0,-0x39c,-0x3a7)](_0x3a023d)['success']&&_0x3fa695[_0x3a13a9(_0x106870._0x45aeb4,0x502,0x4bd,_0x106870._0x1f4b3e)]({'code':_0x3a13a9(0x2a8,_0x106870._0x146b11,_0x106870._0x55ea67,_0x106870._0x275a00),'path':[_0x3a023d],'message':'Invalid\x20agent\x20model\x20set\x20name'});}}),bashPolicyRuleSchema=z[_0xa5377c(0x5b5,0x5b3,0x51e,0x452)]({'id':z[_0x4eedea(0x2b3,0x464,0x28e,0x21e)]()[_0x4eedea(0x33e,0xe9,0x1e6,0x58)]()['min'](0x1)[_0xa5377c(0x597,0x554,0x6f9,0x581)](0x80),'action':z[_0xa5377c(0x1d5,0x1f6,0x129,0x229)](['allow','deny']),'cwd':z[_0xa5377c(0x33e,0x1f8,0x69,0x229)]([_0x4eedea(0x2a0,0x3f7,0x3bb,0x48c),_0x4eedea(0x22f,0x346,0x1f0,0x1b3)])[_0x4eedea(0x514,0x3b7,0x1cf,0x19b)](),'commands':z[_0x4eedea(0x42,0x4a,-0x1d0,0x7c)](z[_0x4eedea(0x554,0x464,0x62b,0x3d8)]()[_0x4eedea(0x2c8,0x2c5,0x2cc,0xbe)](0x1))[_0xa5377c(0x551,0x263,0x3e0,0x4bb)](0x1)})[_0xa5377c(0x4c9,0x62e,0x6a4,0x577)](),bashPolicyConfigSchema=z[_0x4eedea(0x15d,0x25c,0x3a6,0x4bb)]({'default':z[_0xa5377c(0x829,0x62a,0x793,0x65d)]('ask')[_0xa5377c(0x3ff,0x523,0x484,0x5ad)](),'rules':z['array'](bashPolicyRuleSchema)[_0xa5377c(0x752,0x3ec,0x3b6,0x581)](0x3e8)})['strict'](),fileEditSettingsSchema=z[_0xa5377c(0x560,0x576,0x2bc,0x452)]({'mode':z[_0xa5377c(0x38f,0x2fa,0x287,0x229)](PRODUCTION_FILE_EDIT_MODES)[_0x4eedea(0x331,0x3b7,0x1ce,0x233)]()})[_0xa5377c(0x5cd,0x43a,0x47c,0x577)](),toolsSettingsSchema=z[_0xa5377c(0x219,0x380,0x291,0x452)]({'fileEdit':fileEditSettingsSchema[_0xa5377c(0x5ed,0x57e,0x371,0x5ad)]()})['passthrough'](),cliConfigSchema=z[_0xa5377c(0x4f2,0x40b,0x4dc,0x452)]({'activeProvider':providerNameSchema[_0x4eedea(0x3b0,0x3b7,0x1e4,0x214)](),'activeModel':z[_0xa5377c(0x7bd,0x7a8,0x847,0x65a)]()[_0x4eedea(0x46a,0x3b7,0x266,0x3bc)](),'agentModelSets':agentModelSetsSchema['optional'](),'activeAgentModelSet':agentModelSetNameSchema[_0xa5377c(0x593,0x70e,0x5d4,0x5ad)](),'apiKey':z[_0xa5377c(0x569,0x5e8,0x68d,0x65a)]()[_0x4eedea(0x2f8,0x3b7,0x1e4,0x1f3)](),'providers':z[_0x4eedea(0x297,0x13a,0x197,-0xaa)](providerNameSchema,providerConfigSchema)['optional'](),'mcp':mcpSettingsSchema[_0xa5377c(0x5ec,0x7b5,0x448,0x5ad)](),'skills':skillsSettingsSchema[_0xa5377c(0x5f1,0x80c,0x617,0x5ad)](),'agents':agentsSettingsSchema[_0x4eedea(0x60b,0x3b7,0x2fe,0x5d1)](),'commands':commandsSettingsSchema['optional'](),'skillsEnabled':z[_0xa5377c(0x109,0x4c0,0xed,0x330)](z['string'](),z[_0xa5377c(0x15a,0x2bb,0x12f,0x20f)]())[_0x4eedea(0x562,0x3b7,0x42e,0x364)](),'allowedDirs':z[_0xa5377c(0x123,0x1d8,0x17d,0x240)](z[_0xa5377c(0x48e,0x530,0x540,0x65a)]())[_0xa5377c(0x58b,0x493,0x445,0x5ad)](),'mcpEnabled':prototypeSafeRecord(z[_0x4eedea(-0xc0,0x19,0x131,-0x82)]())['optional'](),'commandsEnabled':z[_0xa5377c(0x33d,0x172,0x3e3,0x330)](z['string'](),z[_0xa5377c(0xab,0x3dc,0x166,0x20f)]())[_0xa5377c(0x72b,0x578,0x497,0x5ad)](),'memory':memorySettingsSchema[_0xa5377c(0x75f,0x3f1,0x7be,0x5ad)](),'session':z['object']({'memPersist':z[_0xa5377c(0x15c,0x400,0x90,0x20f)]()[_0xa5377c(0x484,0x413,0x3ba,0x5ad)](),'persistEventLog':z[_0xa5377c(0x137,-0xe,0x2c9,0x20f)]()['optional'](),'persistHttpLog':z[_0x4eedea(-0x104,0x19,0x1dc,-0xa6)]()[_0xa5377c(0x576,0x662,0x4d2,0x5ad)]()})['passthrough']()[_0x4eedea(0x35e,0x3b7,0x2df,0x556)](),'requireToolApproval':z['boolean']()[_0xa5377c(0x521,0x430,0x50d,0x5ad)](),'thinking':z[_0xa5377c(0x604,0x3ad,0x470,0x452)]({'selections':z[_0x4eedea(0x99,0x13a,0x22a,0x0)](z[_0x4eedea(0x4bc,0x464,0x372,0x648)](),z[_0x4eedea(0x554,0x464,0x205,0x68e)]())[_0xa5377c(0x5b5,0x656,0x62d,0x5ad)]()})[_0xa5377c(0x74f,0x422,0x60d,0x5ad)](),'streamingChunks':z['boolean']()[_0x4eedea(0x454,0x3b7,0x53a,0x523)](),'agentsEnabled':z[_0xa5377c(0x25f,0x28e,0x344,0x330)](z[_0x4eedea(0x429,0x464,0x4a5,0x4dd)](),z[_0xa5377c(0x334,0x92,0x3ef,0x20f)]())[_0x4eedea(0x1f5,0x3b7,0x5af,0x5f4)](),'recentModels':z[_0x4eedea(0x256,0x4a,0x8a,0x22b)](recentModelSchema)['optional'](),'lsp':lspConfigSchema[_0xa5377c(0x5ff,0x39d,0x464,0x5ad)](),'servers':z[_0x4eedea(0x208,0x13a,0x260,0x2e7)](z[_0x4eedea(0x593,0x464,0x5a5,0x45b)](),serverEndpointSchema)[_0x4eedea(0x538,0x3b7,0x4d4,0x1ba)](),'ui':z['object']({'outputDensity':z[_0x4eedea(-0x1df,0x33,-0x1a8,-0x43)](OUTPUT_DENSITY_MODES)['optional'](),'theme':uiThemeSettingsSchema[_0xa5377c(0x50b,0x734,0x3e8,0x5ad)](),'statusline':statuslineConfigSchema[_0xa5377c(0x45e,0x5e7,0x6e3,0x5ad)]()})[_0xa5377c(0x48d,0x33a,0x5ce,0x372)]()[_0x4eedea(0x2aa,0x3b7,0x276,0x3f7)](),'tools':toolsSettingsSchema[_0xa5377c(0x48d,0x7a4,0x3cf,0x5ad)](),'hooks':hooksConfigSchema[_0xa5377c(0x746,0x3c6,0x552,0x5ad)](),'bashPolicy':z['unknown']()[_0xa5377c(0x6ad,0x584,0x692,0x5ad)]()})[_0x4eedea(0x4f,0x17c,0x36a,-0x27)](),workspaceOverlaySchema=z[_0xa5377c(0x257,0x301,0x57f,0x452)]({'root':z[_0x4eedea(0x2a1,0x464,0x47f,0x3e5)]()[_0xa5377c(0x683,0x535,0x487,0x5ad)](),'allowedDirs':z[_0x4eedea(0x3a,0x4a,0xeb,0x141)](z[_0xa5377c(0x62d,0x5e0,0x46d,0x65a)]())[_0x4eedea(0x495,0x3b7,0x302,0x1d0)](),'activeProvider':providerNameSchema[_0xa5377c(0x3e5,0x3ae,0x462,0x5ad)](),'activeModel':z[_0x4eedea(0x578,0x464,0x4f1,0x445)]()['optional'](),'activeAgentModelSet':agentModelSetNameSchema[_0x4eedea(0x41e,0x3b7,0x51b,0x30f)](),'mcp':mcpSettingsSchema[_0xa5377c(0x6f1,0x4ef,0x6fb,0x5ad)](),'skills':skillsSettingsSchema['optional'](),'agents':agentsSettingsSchema[_0xa5377c(0x6ef,0x746,0x7f9,0x5ad)](),'commands':commandsSettingsSchema[_0xa5377c(0x493,0x727,0x353,0x5ad)](),'hooks':hooksConfigSchema['optional'](),'memory':memorySettingsSchema[_0xa5377c(0x62b,0x40c,0x5f9,0x5ad)](),'mcpEnabled':prototypeSafeRecord(z[_0x4eedea(-0x87,0x19,0x74,-0x188)]())[_0x4eedea(0x5ac,0x3b7,0x45a,0x15b)](),'skillsEnabled':z['record'](z[_0x4eedea(0x64a,0x464,0x614,0x577)](),z[_0x4eedea(-0x15a,0x19,-0x9c,-0x201)]())[_0x4eedea(0x365,0x3b7,0x21d,0x32b)](),'agentsEnabled':z[_0xa5377c(0x36d,0x3ea,0xee,0x330)](z[_0x4eedea(0x650,0x464,0x4c8,0x3c3)](),z[_0x4eedea(-0x1fb,0x19,0x1c8,0x275)]())[_0x4eedea(0x2e3,0x3b7,0x21a,0x4de)](),'commandsEnabled':z[_0xa5377c(0x493,0x4da,0x3a1,0x330)](z['string'](),z['boolean']())[_0x4eedea(0x2da,0x3b7,0x575,0x44a)](),'bashPolicy':z['unknown']()[_0xa5377c(0x515,0x661,0x6ab,0x5ad)](),'tools':toolsSettingsSchema['optional']()})[_0xa5377c(0x583,0x336,0x115,0x372)](),PROTOTYPE_SENSITIVE_NAMES3=new Set([...Object[_0x4eedea(0x22d,0x223,0xd2,0x96)](Object[_0x4eedea(0x11c,0x101,0x199,0x14)]),_0x4eedea(0x261,0x101,-0x18,0x123)]);function buildDescription2(_0x5a95e8){const _0x13382b={_0x31ba39:0x69d,_0x373274:0x602,_0x3feba7:0x7fe,_0x96fff0:0x8c8,_0x3f40cd:0x769,_0x512590:0x315,_0x37877e:0x12c,_0x2fa01d:0x50f,_0x4ca5cb:0x560},_0x1f9c3e={_0x4f474c:0xc4,_0x63c143:0x206},_0x50ea72={_0xd46413:0x1e1};if(_0x5a95e8[_0x10ca4b(_0x13382b._0x31ba39,_0x13382b._0x373274,0x58e,0x83b)]===0x0)return[_0x10ca4b(_0x13382b._0x3feba7,0x85f,_0x13382b._0x96fff0,0x857),'Use\x20this\x20when\x20the\x20user\x27s\x20request\x20matches\x20an\x20available\x20command\x20description,\x20even\x20if\x20the\x20user\x20did\x20not\x20type\x20the\x20slash\x20command\x20explicitly.',_0x508c54(-0x38,0xc9,0x17f,-0x3e)][_0x10ca4b(0x50f,_0x13382b._0x3f40cd,0x3ad,0x769)]('\x0a');function _0x10ca4b(_0x2258df,_0x329bcc,_0x1b65e9,_0x366c9d){return _0xa5377c(_0x1b65e9,_0x329bcc-_0x50ea72._0xd46413,_0x1b65e9-0xef,_0x2258df-0x243);}const _0x2db690=['Invoke\x20a\x20custom\x20command\x20by\x20rendering\x20its\x20reusable\x20workflow\x20instructions.',_0x508c54(_0x13382b._0x512590,-_0x13382b._0x37877e,0x1fc,0xc5),'Available\x20commands:',..._0x5a95e8['map'](_0x38c0bf=>_0x38c0bf[_0x508c54(-0xda,0x27f,-0xf8,0xbb)]?'-\x20'+_0x38c0bf[_0x10ca4b(0x7eb,0x83c,0x7f9,0x9bf)]+'\x20'+_0x38c0bf[_0x508c54(0x19a,0x191,0x239,0xbb)]+':\x20'+_0x38c0bf[_0x508c54(-0x14d,-0x3,0x20,0x81)]:'-\x20'+_0x38c0bf['name']+':\x20'+_0x38c0bf[_0x508c54(0x20b,-0x142,-0x1b6,0x81)])];function _0x508c54(_0x37ea1a,_0x3833ae,_0xc6b05f,_0x3e57d6){return _0x4eedea(_0x37ea1a-_0x1f9c3e._0x4f474c,_0x3e57d6- -_0x1f9c3e._0x63c143,_0x37ea1a,_0x3e57d6-0x95);}return _0x2db690[_0x10ca4b(_0x13382b._0x2fa01d,0x419,_0x13382b._0x4ca5cb,0x610)]('\x0a');}function createInvokeCommandTool(_0x17fe3e){const _0x14b203={_0x2a2a1e:0x6c8,_0x572f5b:0x760,_0x52a0ad:0x60e,_0x1e026d:0x50c,_0x5aee53:0x403,_0x402b0d:0x8f1,_0x29bbc5:0x73e,_0x36a093:0xa99,_0x4ceea0:0x855,_0xde477:0x75f,_0x43c56e:0x794,_0x469bcc:0x9a0,_0x3a3232:0x8b0,_0x36b643:0xa75,_0x4830af:0x7b5,_0x387f51:0x649,_0x1d50f9:0x9f6},_0x2bc722={_0xe69a40:0x4eb,_0x2e13e1:0x3cc,_0x5c3c4c:0x36a,_0x34a14d:0x49,_0x389ccd:0x110,_0x4653f8:0x48c,_0x1a24a0:0x1c5,_0x3c63c9:0x2e2,_0x205938:0x2b1,_0x431048:0x3ba,_0x23fa28:0x5e,_0x822823:0x9e,_0x3307e2:0x1d,_0x18dd0c:0x72,_0x4524ce:0x15a,_0x3fb558:0x4d2,_0x332337:0x430,_0x323592:0x6a4,_0x1cb27c:0x277,_0x23f213:0x2e2,_0x450f3f:0x216,_0x58297f:0x26e,_0x1c8554:0x41,_0x254f4a:0xb6,_0xfbc690:0x507,_0x165f6b:0x61c,_0x1d60d9:0x4ef},_0xb3d793={_0x5e15d4:0xbb,_0x50f59d:0x80,_0x4df18d:0x301},_0x4c58e6={_0x5d0a15:0xde},_0x4f495c={_0x5bdf7c:0x52d},_0x1594a0=new Map(_0x17fe3e[_0x278d60(0x846,_0x14b203._0x2a2a1e,_0x14b203._0x572f5b,0x639)][_0x278d60(_0x14b203._0x52a0ad,_0x14b203._0x1e026d,_0x14b203._0x5aee53,0x4d8)](_0x5a4c1b=>[_0x5a4c1b['id'],_0x5a4c1b])),_0x408007=buildDescription2(_0x17fe3e[_0x278d60(_0x14b203._0x402b0d,0x6c8,0x89f,_0x14b203._0x29bbc5)]);function _0x17c280(_0x15dc08,_0x5c45d5,_0x380766,_0xf14d67){return _0x4eedea(_0x15dc08-0x91,_0xf14d67-_0x4f495c._0x5bdf7c,_0x380766,_0xf14d67-0x6b);}function _0x278d60(_0x5cd358,_0xe6305b,_0x364f55,_0x5cb28d){return _0x4eedea(_0x5cd358-_0x4c58e6._0x5d0a15,_0xe6305b-0x418,_0x5cb28d,_0x5cb28d-0x42);}return defineTool({'name':_0x17c280(0x835,_0x14b203._0x36a093,0x9bd,_0x14b203._0x4ceea0),'permissionClass':_0x278d60(_0x14b203._0xde477,0x718,0x6a6,_0x14b203._0x43c56e),'description':_0x408007,'inputSchema':{'type':'object','properties':{'name':{'type':_0x278d60(0x640,0x87c,_0x14b203._0x469bcc,_0x14b203._0x3a3232)},'args':{'type':_0x278d60(_0x14b203._0x36b643,0x87c,_0x14b203._0x4830af,0x68d)}},'required':[_0x278d60(_0x14b203._0x387f51,0x7ca,_0x14b203._0x1d50f9,0x89b)]},async *'execute'(_0x183566){const _0x2a2942=_0x1594a0[_0x3a1984(0x1fc,-0x12,0x1a,0x3ad)](_0x183566[_0x1d5c24(0x5de,0x826,_0x2bc722._0xe69a40,0x581)]);if(!_0x2a2942){const _0x20430a=Array[_0x1d5c24(0x58e,0x702,0x70a,0x5dc)](_0x1594a0[_0x1d5c24(_0x2bc722._0x2e13e1,0x455,0x1cd,0x352)]())[_0x1d5c24(0x302,0x316,_0x2bc722._0x5c3c4c,0x4c0)](',\x20');throw new ToolExecutionError(_0x3a1984(-0x6b,_0x2bc722._0x34a14d,0x9f,-_0x2bc722._0x389ccd)+_0x183566['name']+_0x1d5c24(0x333,0x2e7,_0x2bc722._0x4653f8,_0x2bc722._0x1a24a0)+_0x20430a,{'name':_0x183566[_0x3a1984(_0x2bc722._0x3c63c9,0x46a,_0x2bc722._0x205938,_0x2bc722._0x431048)]});}const _0x516f12=await _0x17fe3e[_0x3a1984(-_0x2bc722._0x23fa28,-_0x2bc722._0x822823,-0x11e,_0x2bc722._0x3307e2)](_0x2a2942),_0x42c4ff=_0x183566[_0x3a1984(_0x2bc722._0x18dd0c,_0x2bc722._0x4524ce,0x106,0x69)]??'',_0x47acb2=renderCommandInstructions({'instructions':_0x516f12['instructions'],'argumentsText':_0x42c4ff,'argumentNames':_0x516f12[_0x1d5c24(_0x2bc722._0x3fb558,_0x2bc722._0x332337,_0x2bc722._0x323592,_0x2bc722._0x1cb27c)]});yield createToolOutput(_0x47acb2,{'id':_0x516f12['id'],'name':_0x516f12[_0x3a1984(_0x2bc722._0x23f213,0xab,_0x2bc722._0x450f3f,_0x2bc722._0x58297f)],'path':_0x2a2942[_0x3a1984(_0x2bc722._0x1c8554,-_0x2bc722._0x254f4a,0x25c,-0xa6)][_0x1d5c24(0x3f8,_0x2bc722._0xfbc690,_0x2bc722._0x165f6b,_0x2bc722._0x1d60d9)]});function _0x1d5c24(_0x2cf582,_0x1f5096,_0x43f3d0,_0x2da3aa){return _0x17c280(_0x2cf582-_0xb3d793._0x5e15d4,_0x1f5096-_0xb3d793._0x50f59d,_0x1f5096,_0x2cf582- -_0xb3d793._0x4df18d);}function _0x3a1984(_0x823dd8,_0x34c3c8,_0x326514,_0x1af614){return _0x278d60(_0x823dd8-0x142,_0x823dd8- -0x4e8,_0x326514-0xa6,_0x1af614);}return void 0x0;}});}function createKillShellTool(_0x5113ed){const _0x1e3935={_0x264a21:0x1d1,_0x2c1a70:0x74,_0xdb7a06:0x3e1,_0x1e6728:0x677,_0xab2428:0x29a},_0x4469aa={_0x24cd79:0x5ef,_0x292490:0x67e,_0x1cfa9e:0x6fd,_0x96d72b:0x8ab,_0x359245:0x2cb,_0x4d8883:0xe2,_0x170109:0x9f1,_0x9c5a4c:0xaef,_0x104113:0x9eb,_0xf5d6b6:0x9d4,_0x29bf18:0x4b7,_0x490c3a:0x567,_0x16e6dc:0x792,_0x4e244c:0x453,_0x6946f0:0x34c,_0x3dab4c:0x55d,_0x10e693:0x482,_0x3da7d3:0x279,_0x3db2bb:0xad4,_0x46dcfb:0x8ab},_0x38f605={_0x54e183:0x34c,_0x35c95b:0x1c9};function _0x4b814c(_0x1ccf18,_0x355148,_0x4e0de5,_0xbcd099){return _0x4eedea(_0x1ccf18-0x53,_0x355148-0x213,_0xbcd099,_0xbcd099-0x18a);}function _0x54fac2(_0x57ff24,_0xcd3e78,_0x42540f,_0x4a06e9){return _0x4eedea(_0x57ff24-0x124,_0xcd3e78-0x185,_0x4a06e9,_0x4a06e9-0x151);}return defineTool({'name':_0x54fac2(0xf9,_0x1e3935._0x264a21,_0x1e3935._0x2c1a70,0x25d),'permissionClass':'always-confirm','description':'Terminate\x20a\x20background\x20process\x20started\x20with\x20Bash(runInBackground:true),\x20identified\x20by\x20its\x20shellId.','inputSchema':{'type':_0x54fac2(0x604,_0x1e3935._0xdb7a06,0x2bb,0x437),'properties':{'shellId':{'type':_0x4b814c(0x5d0,_0x1e3935._0x1e6728,0x776,0x722)}},'required':[_0x4b814c(_0x1e3935._0xab2428,0x284,0x212,0xb5)]},async *'execute'(_0x435923){const _0x575f9f={_0x1e074e:0x1e2,_0x47f5e0:0xa7};function _0xa19a8f(_0x124cd5,_0x55e043,_0x4c1f14,_0x38fc75){return _0x4b814c(_0x124cd5-0x76,_0x38fc75-_0x38f605._0x54e183,_0x4c1f14-_0x38f605._0x35c95b,_0x124cd5);}const _0x27c5e4=await _0x5113ed[_0xa19a8f(0x5bd,_0x4469aa._0x24cd79,_0x4469aa._0x292490,0x5c0)]['kill'](_0x435923['shellId']),_0x2404ba={'shellId':_0x27c5e4['shellId'],'outcome':_0x27c5e4['outcome'],'status':_0x27c5e4[_0xa19a8f(0x748,_0x4469aa._0x1cfa9e,0x81e,_0x4469aa._0x96d72b)],'exitCode':_0x27c5e4[_0x3b99b0(0x19e,_0x4469aa._0x359245,_0x4469aa._0x4d8883,0x329)],'signal':_0x27c5e4['signal'],..._0x27c5e4['errorCode']===void 0x0?{}:{'errorCode':_0x27c5e4['errorCode']},'gracefulRequested':_0x27c5e4[_0xa19a8f(_0x4469aa._0x170109,_0x4469aa._0x9c5a4c,_0x4469aa._0x104113,_0x4469aa._0xf5d6b6)],'forceRequested':_0x27c5e4['forceRequested']};function _0x3b99b0(_0x20a5c8,_0x5a3b4c,_0x729ea9,_0x35c041){return _0x4b814c(_0x20a5c8-_0x575f9f._0x1e074e,_0x20a5c8- -_0x575f9f._0x47f5e0,_0x729ea9-0x1,_0x35c041);}if(_0x27c5e4[_0x3b99b0(0x3cf,0x321,_0x4469aa._0x29bf18,0x318)]===_0x3b99b0(_0x4469aa._0x490c3a,0x532,_0x4469aa._0x16e6dc,0x712))throw new ToolExecutionError(_0x3b99b0(_0x4469aa._0x4e244c,0x2b3,0x4e3,0x423)+_0x435923['shellId']+':\x20'+(_0x27c5e4[_0x3b99b0(_0x4469aa._0x6946f0,0x36e,_0x4469aa._0x3dab4c,_0x4469aa._0x10e693)]??_0x3b99b0(_0x4469aa._0x3da7d3,0x14a,0x45c,0x332)),_0x2404ba);return createToolOutput(_0x27c5e4[_0xa19a8f(0x790,0x7ef,0x5a3,0x7c2)]==='already-terminal'?'Process\x20'+_0x435923['shellId']+'\x20was\x20already\x20'+_0x27c5e4[_0xa19a8f(0x9d6,0x93a,_0x4469aa._0x3db2bb,_0x4469aa._0x46dcfb)]+'.':'Killed\x20'+_0x435923['shellId']+'.',_0x2404ba);}});}import _0x2cbfa4 from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x41287c=>{const _0x21671c={_0x4bb3cc:0x68,_0x581ae2:0x2fb},_0x188bcc={_0x310962:0x1b6},{lookup:_0x4b6d0e}=await import(_0x4aad21(-0x256,-0xf3,_0x21671c._0x4bb3cc,-_0x21671c._0x581ae2));function _0x4aad21(_0x587f07,_0x30ba36,_0x56e847,_0x1150b7){return _0x4eedea(_0x587f07-_0x188bcc._0x310962,_0x30ba36- -0x1c7,_0x587f07,_0x1150b7-0x74);}return _0x4b6d0e(_0x41287c,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x3154ae){const _0x47e9f6={_0x5c5eec:0x4e8,_0x4df36e:0x62b,_0x342dd4:0x2c6,_0x248b0b:0x425,_0x2b3461:0x3c5},_0x4e9c30={_0x469f0c:0x1bf,_0xd962f6:0x1b9,_0x4969b6:0x2f},_0x3fd693={_0x44e8b6:0xb1},_0x59b92a=_0x3154ae[_0x163385(_0x47e9f6._0x5c5eec,0x41c,_0x47e9f6._0x4df36e,_0x47e9f6._0x342dd4)]('.');if(_0x59b92a[_0x163385(0x4f3,0x55f,_0x47e9f6._0x248b0b,_0x47e9f6._0x2b3461)]!==0x4)return null;function _0x163385(_0x144439,_0x7b597f,_0x201c0e,_0x59eb61){return _0x4eedea(_0x144439-0xb6,_0x144439-0x28f,_0x59eb61,_0x59eb61-_0x3fd693._0x44e8b6);}function _0x6a07d7(_0x2ed754,_0x1fdecb,_0x27104f,_0xd41884){return _0xa5377c(_0x1fdecb,_0x1fdecb-_0x4e9c30._0x469f0c,_0x27104f-_0x4e9c30._0xd962f6,_0x27104f- -_0x4e9c30._0x4969b6);}let _0x495367=0x0;for(const _0x192f9f of _0x59b92a){if(!/^\d{1,3}$/['test'](_0x192f9f))return null;const _0x4ea4e4=Number(_0x192f9f);if(_0x4ea4e4>0xff)return null;_0x495367=_0x495367*0x100+_0x4ea4e4;}return _0x495367>>>0x0;}function isBlockedIpv4(_0x32f406){const _0x2fb764={_0x4cdab0:0x2c3,_0x5e072b:0x17f,_0x5819cf:0x27f,_0x12f366:0x52,_0x377a01:0x29e,_0x29205a:0x102,_0x479d3f:0x129,_0x5a34a2:0x9d,_0x267710:0xbe,_0x5314ba:0xa,_0x38acb3:0x133,_0x417a8e:0x354,_0x7d7e47:0xe2,_0x47168d:0xd2,_0x5dc6bd:0x31b,_0xe74c3f:0x177,_0x481732:0x12d,_0x556bbc:0xce,_0x14d19a:0x373},_0x2b20f1={_0x5a8d7b:0x158,_0x4ffe5c:0x1a2},_0x12a042={_0x1255a4:0x82,_0x11913f:0x1c7};function _0x50b522(_0x35fc37,_0x26f888,_0x784612,_0x4a997e){return _0x4eedea(_0x35fc37-0x8e,_0x35fc37- -_0x12a042._0x1255a4,_0x4a997e,_0x4a997e-_0x12a042._0x11913f);}function _0x14fec2(_0x3dbb27,_0x4a85fc,_0x37df7b,_0x53fde4){return _0xa5377c(_0x4a85fc,_0x4a85fc-_0x2b20f1._0x5a8d7b,_0x37df7b-_0x2b20f1._0x4ffe5c,_0x53fde4- -0x1c2);}const _0x47e7d6=ipv4ToInt(_0x32f406);if(_0x47e7d6===null)return!![];const _0x2104fc=(_0x19bf4e,_0x441ec0)=>{const _0x310e7d=ipv4ToInt(_0x19bf4e);if(_0x310e7d===null)return![];const _0x49714b=_0x441ec0===0x0?0x0:0xffffffff<<0x20-_0x441ec0>>>0x0;return(_0x47e7d6&_0x49714b)===(_0x310e7d&_0x49714b);};return _0x2104fc(_0x14fec2(_0x2fb764._0x4cdab0,0x17c,_0x2fb764._0x5e072b,_0x2fb764._0x5819cf),0x8)||_0x2104fc(_0x50b522(-_0x2fb764._0x12f366,-_0x2fb764._0x377a01,0x94,_0x2fb764._0x29205a),0x8)||_0x2104fc('100.64.0.0',0xa)||_0x2104fc('127.0.0.0',0x8)||_0x2104fc(_0x14fec2(0x277,_0x2fb764._0x479d3f,_0x2fb764._0x5a34a2,_0x2fb764._0x267710),0x10)||_0x2104fc('172.16.0.0',0xc)||_0x2104fc(_0x50b522(0x27d,0x21f,0x34b,0x3e7),0x18)||_0x2104fc(_0x14fec2(-0x78,-_0x2fb764._0x5314ba,0x1f7,_0x2fb764._0x38acb3),0x10)||_0x2104fc(_0x14fec2(0x171,_0x2fb764._0x417a8e,_0x2fb764._0x7d7e47,0x1e9),0xf)||_0x2104fc(_0x50b522(_0x2fb764._0x47168d,_0x2fb764._0x5dc6bd,-_0x2fb764._0xe74c3f,_0x2fb764._0x481732),0x4)||_0x2104fc(_0x50b522(0x142,0xfc,-_0x2fb764._0x556bbc,_0x2fb764._0x14d19a),0x4);}function expandIpv6(_0x352c2a){const _0x1c93fe={_0x18202a:0x30,_0x478576:0xf5,_0x3276dd:0x155,_0x1fd443:0x479,_0x5745ab:0x36e,_0x545a7f:0x252,_0x2f65da:0x2d4,_0x2d82d1:0x15a,_0x49052a:0x8fe,_0x23861e:0x6b1,_0x3a1f2b:0x9e3,_0x321403:0x361,_0x13950d:0x36,_0x31bc1b:0x507,_0x2a3389:0x58d,_0x5474fb:0x5dc,_0x53e2db:0x7e6},_0x5a920f={_0x57e21b:0xf9};let _0x448ca6=_0x352c2a,_0x476a87;function _0xf1e09e(_0x24a61c,_0x440f30,_0x3ae520,_0x938f36){return _0xa5377c(_0x24a61c,_0x440f30-0x1a9,_0x3ae520-0xa,_0x3ae520- -_0x5a920f._0x57e21b);}const _0x1c3262=_0x448ca6[_0xf1e09e(-0x137,_0x1c93fe._0x18202a,_0x1c93fe._0x478576,_0x1c93fe._0x3276dd)](':');_0x448ca6[_0xf1e09e(0x4e4,0x428,_0x1c93fe._0x1fd443,_0x1c93fe._0x5745ab)](_0x1c3262+0x1)[_0xf1e09e(0x4d5,_0x1c93fe._0x545a7f,_0x1c93fe._0x2f65da,_0x1c93fe._0x2d82d1)]('.')&&(_0x476a87=_0x448ca6[_0x380105(0x8d5,0x70b,_0x1c93fe._0x49052a,_0x1c93fe._0x23861e)](_0x1c3262+0x1),_0x448ca6=_0x448ca6[_0x380105(0x776,_0x1c93fe._0x3a1f2b,0x8fe,0x759)](0x0,_0x1c3262+0x1));const _0x566467=_0x448ca6['split']('::');if(_0x566467['length']>0x2)return null;const _0x358aa4=_0x14c277=>_0x14c277[_0x380105(0xa30,0x5db,0x7db,0x835)](':')[_0xf1e09e(0x507,0x10a,0x310,0x2f2)](_0x5dd962=>_0x5dd962[_0xf1e09e(0x3f2,0x1c3,0x361,0x31f)]>0x0)[_0xf1e09e(0x255,0x1d0,0x1f1,0x262)](_0x3cd074=>Number[_0xf1e09e(0xf8,0x484,0x2be,0x96)](_0x3cd074,0x10)),_0xb3dd7a=_0x566467[0x0]?_0x358aa4(_0x566467[0x0]):[],_0x466a79=_0x566467[_0xf1e09e(0x20e,0x1a0,_0x1c93fe._0x321403,0x3bb)]===0x2&&_0x566467[0x1]?_0x358aa4(_0x566467[0x1]):[],_0x53599c=[];if(_0x476a87){const _0x2a88d6=ipv4ToInt(_0x476a87);if(_0x2a88d6===null)return null;_0x53599c[_0xf1e09e(0x377,0x2d2,0x1ed,-_0x1c93fe._0x13950d)](_0x2a88d6>>>0x10&0xffff,_0x2a88d6&0xffff);}const _0x324bf1=[..._0x466a79,..._0x53599c],_0x58bb28=0x8-_0xb3dd7a['length']-_0x324bf1[_0xf1e09e(0x1fd,_0x1c93fe._0x31bc1b,0x361,_0x1c93fe._0x2a3389)];if(_0x566467[_0x380105(_0x1c93fe._0x5474fb,0x9ed,_0x1c93fe._0x53e2db,0x6c8)]===0x1)return _0xb3dd7a['length']+_0x324bf1['length']===0x8?[..._0xb3dd7a,..._0x324bf1]:null;function _0x380105(_0x2da9de,_0x1b04d2,_0x368af7,_0x2291b5){return _0x4eedea(_0x2da9de-0x1a3,_0x368af7-0x582,_0x2291b5,_0x2291b5-0x15b);}if(_0x58bb28<0x0)return null;return[..._0xb3dd7a,...new Array(_0x58bb28)['fill'](0x0),..._0x324bf1];}function isBlockedIpv6(_0x16a824){const _0x17545e={_0x31a5d1:0xc6,_0x384507:0x39f,_0x3ed93b:0x38e,_0x3a7fd8:0x1ac,_0x59d125:0x19c,_0x1594db:0x366,_0x2fae69:0x796},_0x4c8d4d={_0x4b53ca:0x96},_0x588f19={_0x56d46f:0x124,_0x4ad4e1:0x340},_0x193503=expandIpv6(_0x16a824);if(!_0x193503||_0x193503[_0x25fdbb(0x26f,_0x17545e._0x31a5d1,_0x17545e._0x384507,0x3d4)](_0x48d2ff=>Number[_0x3accdb(0x40d,0x510,0x5aa,0x56d)](_0x48d2ff)))return!![];const _0x35fcac=_0x193503[_0x25fdbb(_0x17545e._0x3ed93b,_0x17545e._0x3a7fd8,0x3be,_0x17545e._0x59d125)](0x0,0x7)[_0x25fdbb(_0x17545e._0x1594db,0x311,0x19f,0x50e)](_0x2f7a6e=>_0x2f7a6e===0x0);if(_0x35fcac&&(_0x193503[0x7]===0x0||_0x193503[0x7]===0x1))return!![];if(_0x193503['slice'](0x0,0x5)['every'](_0xce3a04=>_0xce3a04===0x0)&&(_0x193503[0x5]===0xffff||_0x193503[0x5]===0x0)){const _0x1d2dd9=(_0x193503[0x6]<<0x10|_0x193503[0x7])>>>0x0,_0x5b486e=[_0x1d2dd9>>>0x18&0xff,_0x1d2dd9>>>0x10&0xff,_0x1d2dd9>>>0x8&0xff,_0x1d2dd9&0xff][_0x3accdb(0x66d,0x74c,0x60c,_0x17545e._0x2fae69)]('.');return isBlockedIpv4(_0x5b486e);}const _0x2195ea=_0x193503[0x0];if((_0x2195ea&0xff00)===0xfc00||(_0x2195ea&0xfe00)===0xfc00)return!![];function _0x3accdb(_0x2e4051,_0x52d6c3,_0x1f13ec,_0x42883b){return _0xa5377c(_0x52d6c3,_0x52d6c3-0x107,_0x1f13ec-_0x588f19._0x56d46f,_0x1f13ec-_0x588f19._0x4ad4e1);}function _0x25fdbb(_0x470175,_0x20579e,_0x22572c,_0x912645){return _0xa5377c(_0x912645,_0x20579e-_0x4c8d4d._0x4b53ca,_0x22572c-0x17e,_0x470175- -0x1e4);}if((_0x2195ea&0xffc0)===0xfe80)return!![];if((_0x2195ea&0xff00)===0xff00)return!![];return![];}function isBlockedAddress(_0x4957df){const _0x58c4a7=isIP(_0x4957df);if(_0x58c4a7===0x4)return isBlockedIpv4(_0x4957df);if(_0x58c4a7===0x6)return isBlockedIpv6(_0x4957df);return!![];}async function assertPublicUrl(_0x2ec775,_0x3b96ed={}){const _0x4656f1={_0x2f573d:0x4cb,_0x520f60:0x5e2,_0x59349a:0x342,_0xd81f7c:0x249,_0x25d6df:0x10f,_0x2cba1c:0x129,_0x105e87:0x3b,_0x3818a9:0x1ad,_0x5f2e4e:0x61,_0x4bf7cf:0x9ce,_0x209a7c:0x42d,_0x119d93:0x4cb,_0x3c383d:0x674,_0x469cc9:0x106,_0x3836ad:0x423,_0x2a5042:0x719,_0x38894a:0x5b6,_0x70acd9:0x619,_0x29aecc:0x39d,_0x5ef423:0x137,_0x32f485:0x311,_0x527595:0x4ed,_0x6da93d:0xbf,_0x3dc608:0x27d,_0x278bf5:0x3ba,_0x360d22:0x8ba,_0x18e2bd:0x4fd,_0x53de28:0x775},_0x37372b={_0xde4984:0x35f,_0x1658c6:0xc1},_0x517c14={_0x37ae3e:0xa9,_0x43a5c3:0x9c};function _0x26b14a(_0x403153,_0x23871e,_0x1aa2d2,_0x50771d){return _0x4eedea(_0x403153-0x9e,_0x50771d- -_0x517c14._0x37ae3e,_0x23871e,_0x50771d-_0x517c14._0x43a5c3);}let _0x1c25dc;try{_0x1c25dc=new URL(_0x2ec775);}catch{throw new ToolExecutionError(_0x36ff78(_0x4656f1._0x2f573d,0x4c2,0x30e,_0x4656f1._0x520f60),{'url':_0x2ec775});}function _0x36ff78(_0x5c32e6,_0x2c7aef,_0x11acf5,_0xe44db8){return _0x4eedea(_0x5c32e6-0xf,_0x5c32e6-_0x37372b._0xde4984,_0xe44db8,_0xe44db8-_0x37372b._0x1658c6);}if(_0x1c25dc[_0x26b14a(_0x4656f1._0x59349a,0x16c,0x2bb,_0x4656f1._0xd81f7c)]!==_0x26b14a(-_0x4656f1._0x25d6df,_0x4656f1._0x2cba1c,-0x52,-0x66)&&_0x1c25dc[_0x26b14a(_0x4656f1._0x105e87,0x402,0x453,0x249)]!=='https:')throw new ToolExecutionError(_0x26b14a(_0x4656f1._0x3818a9,-0x137,0x14,_0x4656f1._0x5f2e4e),{'url':_0x2ec775});if(_0x1c25dc['username']||_0x1c25dc['password'])throw new ToolExecutionError(_0x36ff78(0x7cd,0x749,_0x4656f1._0x4bf7cf,0x61b),{'url':_0x1c25dc[_0x36ff78(0x651,_0x4656f1._0x209a7c,_0x4656f1._0x119d93,_0x4656f1._0x3c383d)]+'//'+_0x1c25dc[_0x36ff78(0x33c,_0x4656f1._0x469cc9,_0x4656f1._0x3836ad,0x2a0)]+_0x1c25dc[_0x36ff78(_0x4656f1._0x2a5042,_0x4656f1._0x38894a,_0x4656f1._0x70acd9,0x629)]});const _0x1885f6=_0x1c25dc['hostname']['replace'](/^\[|\]$/g,''),_0x56cafe=_0x1c25dc['protocol']+'//'+_0x1c25dc['host']+_0x1c25dc[_0x26b14a(0x127,_0x4656f1._0x29aecc,_0x4656f1._0x5ef423,_0x4656f1._0x32f485)];if(isIP(_0x1885f6)){if(isBlockedAddress(_0x1885f6))throw new ToolExecutionError(_0x26b14a(0x286,0x1da,0x28e,0x5a),{'url':_0x56cafe});return _0x1c25dc;}const _0x14f9e5=_0x3b96ed['lookup']??defaultLookup;let _0x1e24a2;try{_0x1e24a2=await _0x14f9e5(_0x1885f6);}catch{throw new ToolExecutionError(_0x26b14a(0x3ec,0x15d,_0x4656f1._0x527595,0x2c7),{'url':_0x56cafe});}if(_0x1e24a2[_0x26b14a(_0x4656f1._0x6da93d,_0x4656f1._0x3dc608,_0x4656f1._0x278bf5,0x1bb)]===0x0)throw new ToolExecutionError(_0x36ff78(0x6cf,_0x4656f1._0x360d22,_0x4656f1._0x18e2bd,_0x4656f1._0x53de28),{'url':_0x56cafe});for(const {address:_0x27c8a4}of _0x1e24a2){if(isBlockedAddress(_0x27c8a4))throw new ToolExecutionError(_0x36ff78(0x6aa,0x620,0x7b3,0x640),{'url':_0x56cafe});}return _0x1c25dc;}async function safeFetch(_0x11a8ec,_0x14e077={},_0x2d150c={}){const _0xcf734c={_0x16877a:0x866,_0x48ac88:0x770,_0x30bf82:0x5da,_0x59633a:0x3f7,_0x1c3e68:0x710,_0x38637b:0x612,_0x2999e5:0x7c6,_0x2ade36:0x362,_0x1889e9:0x6a2,_0x445c6f:0x1ab,_0x37a3bf:0x672,_0xaf349f:0x765,_0x17ffda:0x515,_0xd68ceb:0x788,_0x5b02e7:0x763,_0x12df9f:0x5c1,_0x3ddf0a:0x763},_0x1a139f={_0x1be5e9:0xdb,_0x526b8e:0x326},_0x58269d={_0x48143f:0x102};function _0x448270(_0x8b46fc,_0x13b4e8,_0x2f2334,_0x72fbec){return _0x4eedea(_0x8b46fc-_0x58269d._0x48143f,_0x72fbec-0x30b,_0x13b4e8,_0x72fbec-0x2d);}function _0x5b3fb4(_0x294186,_0x27de78,_0x364ec8,_0x234c6a){return _0x4eedea(_0x294186-_0x1a139f._0x1be5e9,_0x294186-_0x1a139f._0x526b8e,_0x234c6a,_0x234c6a-0x107);}const _0x3e4c38=_0x2d150c['fetchImpl']??fetch,_0x4a2b35=_0x2d150c[_0x448270(0x7f0,_0xcf734c._0x16877a,0x76b,0x74d)]??DEFAULT_MAX_REDIRECTS;let _0x186449=_0x11a8ec;for(let _0x36c427=0x0;;_0x36c427+=0x1){const _0x222e47=await assertPublicUrl(_0x186449,_0x2d150c),_0x36bd34=await _0x3e4c38(_0x222e47[_0x448270(0x69f,_0xcf734c._0x48ac88,0x956,0x763)](),{..._0x14e077,'redirect':_0x448270(_0xcf734c._0x30bf82,_0xcf734c._0x59633a,_0xcf734c._0x1c3e68,0x527)}),_0x3e43d6=_0x36bd34[_0x5b3fb4(0x70d,_0xcf734c._0x38637b,0x6f8,0x5b4)]['get'](_0x448270(_0xcf734c._0x2999e5,_0xcf734c._0x2ade36,_0xcf734c._0x1889e9,0x5a0));if(!REDIRECT_STATUSES[_0x5b3fb4(0x3fe,_0xcf734c._0x445c6f,0x2f0,0x2e5)](_0x36bd34[_0x5b3fb4(_0xcf734c._0x37a3bf,_0xcf734c._0xaf349f,_0xcf734c._0x17ffda,0x592)])||!_0x3e43d6)return _0x36bd34;if(_0x36c427>=_0x4a2b35)throw new ToolExecutionError(_0x5b3fb4(0x723,_0xcf734c._0xd68ceb,0x8be,0x7d4),{'url':_0x222e47[_0x448270(0x923,0x988,0x995,_0xcf734c._0x5b02e7)]()});_0x186449=new URL(_0x3e43d6,_0x222e47)[_0x448270(0x7e5,_0xcf734c._0x12df9f,0x680,_0xcf734c._0x3ddf0a)]();}}var USER_AGENT=_0xa5377c(0x3ab,0x346,0x72d,0x551);function _0xa5377c(_0x2917d4,_0x4c51b1,_0x18a17c,_0x2cafe5){return _0x7d60(_0x2cafe5-0x37,_0x2917d4);}var DEFAULT_TIMEOUT_MS3=0xea60;function createTimeoutSignal(_0x360fce,_0x5dbacf){const _0x51534a={_0x589d3c:0x6e8,_0x25baa3:0x626,_0x346d2e:0x85d,_0x1f8b7e:0x50d,_0x556f19:0xa1a,_0x38e1a3:0xa15,_0xf8b5fc:0x7db,_0x2dde0d:0x822},_0x54494c={_0x6c5633:0x3da,_0x372bde:0x31c},_0x2f946e={_0x2b00ab:0xee,_0xa35b4a:0x13f},_0x5f594e={_0x276209:0x474};function _0x5314e5(_0x457b1f,_0x31b9b2,_0x3d979b,_0x1ef1e7){return _0x4eedea(_0x457b1f-0x173,_0x31b9b2-_0x5f594e._0x276209,_0x457b1f,_0x1ef1e7-0xc1);}const _0x3aae58=new AbortController(),_0x3a0584=setTimeout(()=>_0x3aae58[_0x5314e5(0x6e6,0x626,0x70b,0x57f)](new Error(_0x5314e5(0xaa1,0x8b1,0x6cf,0x7ba))),_0x5dbacf);function _0x3d8620(_0x53248e,_0x30d79b,_0x126076,_0x3b93d8){return _0xa5377c(_0x126076,_0x30d79b-_0x2f946e._0x2b00ab,_0x126076-0x10d,_0x3b93d8-_0x2f946e._0xa35b4a);}const _0x2c3a99=()=>_0x3aae58[_0x5314e5(0x500,0x626,0x655,0x7c6)](_0x360fce[_0x5314e5(0x50d,0x61f,0x733,0x4b9)]);return _0x360fce['aborted']?_0x3aae58[_0x5314e5(_0x51534a._0x589d3c,_0x51534a._0x25baa3,_0x51534a._0x346d2e,_0x51534a._0x1f8b7e)](_0x360fce['reason']):_0x360fce[_0x5314e5(0x8ac,0x881,0x83c,_0x51534a._0x556f19)]('abort',_0x2c3a99,{'once':!![]}),{'signal':_0x3aae58[_0x5314e5(_0x51534a._0x38e1a3,_0x51534a._0xf8b5fc,_0x51534a._0x2dde0d,0x74f)],'cleanup':()=>{function _0x98f93f(_0x5233fd,_0x10e224,_0x165dbe,_0x359433){return _0x3d8620(_0x5233fd-0x14,_0x10e224-0x3f,_0x5233fd,_0x165dbe- -0xf1);}clearTimeout(_0x3a0584),_0x360fce[_0x98f93f(0x1cd,_0x54494c._0x6c5633,0x300,_0x54494c._0x372bde)]('abort',_0x2c3a99);}};}function createWebFetchTool(_0x4b8922={}){const _0x4e0c47={_0x135c20:0x985,_0x38f0c9:0x6f6,_0x3d721b:0xa18,_0x2aee12:0x8d1,_0x58551b:0x8f6,_0x56f50e:0x7cb,_0x1c9839:0x7bc,_0x4e95cd:0x561,_0x3f0cff:0x1e5,_0x48ce7c:0x799,_0xaab94e:0x6b3,_0x2f7e04:0x699,_0x430242:0x6a2,_0x20ace1:0x317,_0x237d62:0x893,_0x2fed36:0x6d1,_0x1edad6:0x7db,_0x238a30:0x446,_0x44574a:0x5ef,_0x230dbf:0x54d,_0x4ad298:0x60a,_0x59a108:0x4a2,_0x3a0982:0xae7,_0x353657:0x89d,_0x1181ae:0x89d,_0x374e6f:0x5c3,_0xad490a:0x42a},_0x6c795a={_0x23e9cf:0x6f4,_0x33cd61:0x90d,_0x13a276:0x7e6,_0x2fc566:0x857,_0xfd7e23:0x89a,_0xd3379b:0xa43,_0x1316d5:0xa32,_0x252094:0x79c,_0x5e185e:0xc4d,_0x299a5f:0xab5,_0x1d9956:0x747,_0x3da00f:0x730,_0x485033:0x64d,_0x79f41b:0x922,_0x1db081:0x8f2,_0x1fa0bf:0x8b3,_0x226dc0:0xac3,_0x2af9e0:0xb20,_0x336e12:0x9d1,_0x531466:0xb67,_0x1b6fb7:0xad0,_0x32e404:0x804,_0x45d3b8:0x872,_0x44def6:0x855,_0x4ece15:0x85e,_0xdbf556:0x7ea,_0x53cac4:0x85a,_0x2e4f6a:0x8ee,_0x2461c1:0x9c2,_0x714c8b:0x985,_0x2950e4:0x932,_0x777632:0x80c,_0x34c1a0:0xb04,_0x1fcd61:0x6cb,_0x119151:0x610,_0x95df78:0x63f,_0x1791af:0x692,_0x4c4228:0x5ab,_0x26a7de:0x6da,_0xbd84:0x6e9,_0x33f982:0x6e9,_0x4dafbd:0x5ac,_0x398959:0x75e,_0x4873be:0x77d,_0x1561bd:0x9cf,_0x482439:0x64e,_0x526d94:0x709,_0x451ff2:0x715,_0x40b10c:0x54e,_0x2a36b6:0x67a,_0xb19b00:0x80a,_0x21dd90:0x691,_0x44867b:0x778},_0x1cf983={_0x30ccbf:0x2e,_0xaa4968:0x16d},_0x5c91e6={_0x401d3b:0x81,_0x353bfb:0x439},_0x2d7c1f={_0x3b80e4:0x3ae,_0x23a2a9:0x17e},_0x48284c=_0x4b8922[_0x57b794(0x760,0x57f,0x5df,0x804)]??_0x5278d8(0x9ba,_0x4e0c47._0x135c20,_0x4e0c47._0x38f0c9,0x8b0),_0xa8cf32=_0x4b8922[_0x57b794(0x596,0x674,0x5af,0x7d0)]??DEFAULT_TIMEOUT_MS3,_0x427a91=_0x4b8922[_0x5278d8(_0x4e0c47._0x3d721b,_0x4e0c47._0x2aee12,_0x4e0c47._0x58551b,_0x4e0c47._0x56f50e)];function _0x57b794(_0x23dad8,_0x7ea493,_0x2d6663,_0x1a56b1){return _0x4eedea(_0x23dad8-0x4e,_0x23dad8-_0x2d7c1f._0x3b80e4,_0x1a56b1,_0x1a56b1-_0x2d7c1f._0x23a2a9);}const _0xf3e712=new _0x2cbfa4({'headingStyle':_0x5278d8(0x4f3,0x705,0x2ab,0x4f1),'codeBlockStyle':_0x57b794(_0x4e0c47._0x1c9839,_0x4e0c47._0x4e95cd,0x73b,0x7ce),'bulletListMarker':'-'});function _0x5278d8(_0x4e8835,_0x441312,_0x4ce01b,_0x5b96ca){return _0x4eedea(_0x4e8835-_0x5c91e6._0x401d3b,_0x5b96ca-_0x5c91e6._0x353bfb,_0x4e8835,_0x5b96ca-0xe0);}return _0xf3e712['remove']([_0x5278d8(0x3b7,_0x4e0c47._0x3f0cff,0x4c7,0x3fc),_0x57b794(_0x4e0c47._0x48ce7c,0x9cb,0x6e4,_0x4e0c47._0xaab94e),'noscript',_0x5278d8(0x5a8,0x6ad,_0x4e0c47._0x2f7e04,0x4ec),_0x5278d8(0x5aa,_0x4e0c47._0x430242,_0x4e0c47._0x20ace1,0x531),_0x5278d8(0x9e8,_0x4e0c47._0x237d62,_0x4e0c47._0x2fed36,_0x4e0c47._0x1edad6),_0x57b794(0x5af,0x67f,_0x4e0c47._0x238a30,_0x4e0c47._0x44574a),_0x5278d8(0x3fa,0x4e9,_0x4e0c47._0x230dbf,0x463)]),defineTool({'name':_0x48284c,'permissionClass':'read','description':'Fetch\x20web\x20page\x20content\x20and\x20convert\x20to\x20Markdown\x20format','inputSchema':{'type':_0x57b794(_0x4e0c47._0x4ad298,_0x4e0c47._0x59a108,0x3fe,0x4f1),'properties':{'description':{'type':_0x5278d8(_0x4e0c47._0x3a0982,0xa4d,0xafc,_0x4e0c47._0x353657)},'url':{'type':_0x5278d8(0x6c0,0x95f,0x99d,_0x4e0c47._0x1181ae)}},'required':[_0x5278d8(_0x4e0c47._0x374e6f,_0x4e0c47._0xad490a,0x68a,0x587)]},async *'execute'(_0x251320,_0x43d022){const _0x444668={_0x49c2f8:0x164,_0x3de384:0x93,_0x37f4f7:0x90},_0xc69206=(await assertPublicUrl(_0x251320[_0x40f008(_0x6c795a._0x23e9cf,0x5b7,0x569,0x879)],{'lookup':_0x427a91}))['toString']();if(_0x43d022[_0x40f008(_0x6c795a._0x33cd61,_0x6c795a._0x13a276,0x9c1,_0x6c795a._0x2fc566)][_0x40f008(_0x6c795a._0xfd7e23,_0x6c795a._0xd3379b,_0x6c795a._0x1316d5,_0x6c795a._0x252094)])throw new ToolExecutionError(_0x40f008(0x9fa,0x7ec,_0x6c795a._0x5e185e,0xc3a),{'url':_0xc69206});const _0x162f12=createTimeoutSignal(_0x43d022[_0xcbf57a(_0x6c795a._0x299a5f,0x879,0x6a4,_0x6c795a._0x1d9956)],_0xa8cf32);let _0x4ac81e='',_0x4115dc=0x0,_0x1f1f71;function _0xcbf57a(_0x5a811a,_0x20dd80,_0xd70708,_0x1c97f9){return _0x57b794(_0x20dd80-_0x444668._0x49c2f8,_0x20dd80-_0x444668._0x3de384,_0xd70708-_0x444668._0x37f4f7,_0x1c97f9);}try{const _0x149e9a=await safeFetch(_0xc69206,{'headers':{'User-Agent':USER_AGENT},'signal':_0x162f12['signal']},{'lookup':_0x427a91});if(!_0x149e9a['ok'])throw new ToolExecutionError(_0x40f008(_0x6c795a._0x3da00f,_0x6c795a._0x485033,0x72e,_0x6c795a._0x79f41b)+_0x149e9a[_0x40f008(_0x6c795a._0x1db081,_0x6c795a._0x1fa0bf,_0x6c795a._0x226dc0,_0x6c795a._0x2af9e0)]+'\x20'+_0x149e9a[_0x40f008(_0x6c795a._0x336e12,_0x6c795a._0x531466,0xbcc,0x950)],{'url':_0xc69206,'statusCode':_0x149e9a[_0x40f008(_0x6c795a._0x1db081,_0x6c795a._0x1b6fb7,0x799,_0x6c795a._0x32e404)]});_0x4ac81e=_0x149e9a[_0xcbf57a(0xac2,0x8f9,0xae7,0x896)][_0x40f008(_0x6c795a._0x45d3b8,0x9f8,0x7c3,0x9b7)]('content-type')??'',_0x4115dc=_0x149e9a[_0xcbf57a(_0x6c795a._0x44def6,_0x6c795a._0x4ece15,_0x6c795a._0xdbf556,_0x6c795a._0x53cac4)],_0x1f1f71=await _0x149e9a[_0xcbf57a(0x8e8,_0x6c795a._0x2e4f6a,_0x6c795a._0x2461c1,_0x6c795a._0x714c8b)]();}catch(_0x508228){if(_0x508228 instanceof ToolExecutionError)throw _0x508228;const _0x3e5348=_0x508228 instanceof Error?_0x508228[_0x40f008(_0x6c795a._0x2950e4,_0x6c795a._0x777632,0x968,_0x6c795a._0x34c1a0)]:String(_0x508228);throw new ToolExecutionError(_0x3e5348,{'url':_0xc69206});}finally{_0x162f12[_0xcbf57a(0x59e,0x6eb,_0x6c795a._0x1fcd61,0x7a5)]();}function _0x40f008(_0x227f8f,_0x286982,_0x1a1dc1,_0x512473){return _0x5278d8(_0x1a1dc1,_0x286982-0x1bb,_0x1a1dc1-_0x1cf983._0x30ccbf,_0x227f8f-_0x1cf983._0xaa4968);}const _0x353351=new Date()[_0x40f008(_0x6c795a._0x119151,_0x6c795a._0x95df78,_0x6c795a._0x1791af,_0x6c795a._0x4c4228)]();let _0x232f20,_0x2b4a17;if(_0x4ac81e[_0xcbf57a(_0x6c795a._0x26a7de,_0x6c795a._0xbd84,0x82f,0x943)](_0xcbf57a(0x5d7,0x7bd,_0x6c795a._0x33f982,0x8f1)))_0x232f20='```json\x0a'+_0x1f1f71+'\x0a```',_0x2b4a17=_0x40f008(_0x6c795a._0x4dafbd,0x522,0x4b3,_0x6c795a._0x398959);else _0x4ac81e[_0x40f008(_0x6c795a._0x4873be,_0x6c795a._0x1561bd,0x75e,_0x6c795a._0x482439)](_0xcbf57a(_0x6c795a._0x526d94,0x82b,_0x6c795a._0x451ff2,0xa1b))?(_0x232f20=_0xf3e712['turndown'](_0x1f1f71),_0x2b4a17=_0xcbf57a(0x3d3,_0x6c795a._0x40b10c,0x792,_0x6c795a._0x2a36b6)):(_0x232f20=_0x1f1f71,_0x2b4a17=_0xcbf57a(0x907,_0x6c795a._0x2e4f6a,0x78c,0x93a));return yield createToolOutput(_0x232f20,{'url':_0xc69206,'contentType':_0x4ac81e,'statusCode':_0x4115dc,'format':_0x2b4a17,'size':_0x1f1f71[_0x40f008(_0x6c795a._0xb19b00,_0x6c795a._0x21dd90,0x81f,_0x6c795a._0x44867b)],'fetchedAt':_0x353351}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2=_0xa5377c(0x382,0x3d9,-0x3f,0x1cd);function normalizeUrl(_0x501a9a){const _0x13b273={_0x4ad036:0x660,_0x47faa6:0x80c,_0x2dbab1:0x700,_0xcc97b:0x64c,_0x347811:0x6b0,_0x327f18:0x903},_0x9d9add={_0x577e7d:0x12b,_0x2c383b:0x221,_0xcfb971:0x8e},_0xaa5fa2={_0x16df8b:0xfe,_0x5c9129:0x226};function _0x3bb8a4(_0x27edaf,_0xc567f6,_0x112c01,_0x1a1c1c){return _0xa5377c(_0xc567f6,_0xc567f6-0x167,_0x112c01-_0xaa5fa2._0x16df8b,_0x112c01-_0xaa5fa2._0x5c9129);}function _0x487c14(_0x4b7515,_0x258d21,_0xaa7ea8,_0x5d6af2){return _0x4eedea(_0x4b7515-_0x9d9add._0x577e7d,_0x4b7515-_0x9d9add._0x2c383b,_0x5d6af2,_0x5d6af2-_0x9d9add._0xcfb971);}try{const _0x48b97c=new URL(_0x501a9a);for(const _0x514eb9 of['utm_source',_0x3bb8a4(0x6ab,_0x13b273._0x4ad036,0x794,0x681),'utm_campaign','utm_term','utm_content','gclid','fbclid','mc_cid',_0x3bb8a4(_0x13b273._0x47faa6,0x73c,0x6be,_0x13b273._0x2dbab1)]){_0x48b97c[_0x3bb8a4(0x2ac,_0x13b273._0xcc97b,0x413,0x31f)]['delete'](_0x514eb9);}return _0x48b97c[_0x3bb8a4(_0x13b273._0x347811,_0x13b273._0x327f18,0x874,0x8fc)]();}catch{return _0x501a9a;}}function cseDateRestrict(_0x31041f){const _0x42d5b9={_0xd01716:0x4f8,_0x2be307:0x70d,_0x3ef0fc:0x67b,_0x944d75:0x780,_0x344ec0:0x5a1,_0x162505:0x636,_0x2d7612:0x532,_0x41ef5b:0x322},_0x3e0e53={_0x5f042d:0x106};if(_0x31041f<=0x0)return void 0x0;function _0x1eb742(_0x524d64,_0x36f37b,_0x114a99,_0x250dae){return _0xa5377c(_0x524d64,_0x36f37b-0x1e1,_0x114a99-_0x3e0e53._0x5f042d,_0x114a99-0x3a5);}if(_0x31041f<=0x1e)return'd'+Math['max'](0x1,Math[_0x1eb742(_0x42d5b9._0xd01716,_0x42d5b9._0x2be307,0x68d,0x55d)](_0x31041f));if(_0x31041f<=0x16d)return'm'+Math[_0x1eb742(_0x42d5b9._0x3ef0fc,0x5d4,_0x42d5b9._0x944d75,_0x42d5b9._0x344ec0)](_0x31041f/0x1e);function _0x3765a5(_0x9ffa24,_0x5a0fba,_0x4868ea,_0x108d80){return _0x4eedea(_0x9ffa24-0x185,_0x5a0fba-0x34d,_0x9ffa24,_0x108d80-0x45);}return'y'+Math[_0x3765a5(_0x42d5b9._0x162505,_0x42d5b9._0x2d7612,_0x42d5b9._0x41ef5b,0x34f)](_0x31041f/0x16d);}function addSiteFilters(_0x38d7f2,_0x541d89){const _0x397e83={_0x3759cd:0x50c,_0x537c0a:0x605,_0x2600f3:0x208,_0x209b23:0x1ce,_0x51c507:0x408,_0x1d6470:0x604,_0x141d42:0x2df,_0x4264cf:0x5f9,_0x1a68ee:0x12a,_0x321071:0xb5,_0x402cdf:0x16d},_0x5cb545={_0x315712:0x324},_0xa241ce={_0x486e72:0xa1,_0x25ae92:0x314};if(_0x541d89[_0x347d9e(0x578,0x4af,_0x397e83._0x3759cd,_0x397e83._0x537c0a)]===0x0)return _0x38d7f2[_0x1976dd(-0x172,-_0x397e83._0x2600f3,-0x45,_0x397e83._0x209b23)]();function _0x347d9e(_0x4a5e4d,_0x4e2f54,_0x2e58f1,_0x594efe){return _0x4eedea(_0x4a5e4d-_0xa241ce._0x486e72,_0x4a5e4d-_0xa241ce._0x25ae92,_0x2e58f1,_0x594efe-0x69);}function _0x1976dd(_0x1a6f6d,_0x21d859,_0x5611b7,_0x33f1c3){return _0xa5377c(_0x21d859,_0x21d859-0x149,_0x5611b7-0x155,_0x5611b7- -_0x5cb545._0x315712);}return(_0x38d7f2+'\x20('+_0x541d89[_0x347d9e(_0x397e83._0x51c507,0x2fe,_0x397e83._0x1d6470,0x377)](_0x1cc15a=>_0x347d9e(0x576,0x3a9,0x422,0x688)+_0x1cc15a)[_0x347d9e(0x3ea,_0x397e83._0x141d42,_0x397e83._0x4264cf,0x5b5)](_0x1976dd(-_0x397e83._0x1a68ee,-0x198,-_0x397e83._0x321071,_0x397e83._0x402cdf))+')')['trim']();}function normalizeType(_0x3961ed){const _0x5ee57b={_0x1a3150:0x553,_0x45d0af:0x581,_0xf20249:0x6a9},_0xaa9584={_0x58bb7e:0x1cf},_0x137bf6={_0x38ccbb:0x163};function _0x17d7b0(_0x3fb4e1,_0x516299,_0x3fc87b,_0x2d58ce){return _0xa5377c(_0x3fc87b,_0x516299-0x7a,_0x3fc87b-_0x137bf6._0x38ccbb,_0x516299- -0x31);}function _0x1c87fe(_0x5ed6b8,_0x89dc67,_0x279587,_0x3f5227){return _0x4eedea(_0x5ed6b8-0x134,_0x5ed6b8- -0x1c6,_0x89dc67,_0x3f5227-_0xaa9584._0x58bb7e);}return _0x3961ed===_0x17d7b0(0x38e,0x581,0x475,0x469)?_0x17d7b0(_0x5ee57b._0x1a3150,_0x5ee57b._0x45d0af,_0x5ee57b._0xf20249,0x3a2):'web';}async function fetchJson(_0xdbd48d,_0x4600de,_0x360aac){const _0x28ceb6={_0x1ea22b:0x614,_0x3c8039:0x2c2,_0x1b1637:0x8d6,_0x4a7f9b:0x75d,_0x496a79:0x763,_0x381c6f:0x8a0,_0x441db3:0x637,_0x1681f6:0x3fc,_0x40978f:0x83a,_0x6bfbec:0x637,_0x4db806:0x6f5,_0x4d9bf4:0x637,_0x390620:0x705,_0xdd6a6:0x2a7,_0x488a73:0x394,_0x4efc41:0x362,_0x192f78:0x649,_0xb2290e:0x86f,_0x1bf3ce:0x585,_0x11b282:0x9a8,_0x4bf19d:0x7e9,_0x4bc089:0x80b,_0x223b64:0x6c4,_0x16bde7:0x754,_0x57f20:0x346},_0xdd9391={_0x22c068:0xf5,_0x1b11b4:0x6e,_0x23300c:0x2c9},_0xee2ec8=await fetch(_0xdbd48d,{'headers':{'User-Agent':USER_AGENT2,'Accept':'application/json',..._0x360aac?.[_0x18e824(0x4bc,_0x28ceb6._0x1ea22b,0x2a0,0x677)]},'signal':_0x4600de,..._0x360aac});function _0x1e4321(_0x5aa735,_0x2a7d62,_0x2cb334,_0x3d6231){return _0xa5377c(_0x3d6231,_0x2a7d62-_0xdd9391._0x22c068,_0x2cb334-_0xdd9391._0x1b11b4,_0x5aa735-_0xdd9391._0x23300c);}if(!_0xee2ec8['ok']){let _0x579b5b,_0x1b5b00;try{_0x579b5b=await _0xee2ec8[_0x18e824(0x4b1,_0x28ceb6._0x3c8039,0x666,0x50c)]();const _0x28ba7a=JSON['parse'](_0x579b5b),_0x5a4a20=typeof _0x28ba7a['detail']===_0x1e4321(0x71b,_0x28ceb6._0x1b1637,_0x28ceb6._0x4a7f9b,_0x28ceb6._0x496a79)?_0x28ba7a[_0x1e4321(_0x28ceb6._0x381c6f,0x6f3,0x9b2,0x849)][_0x1e4321(_0x28ceb6._0x441db3,_0x28ceb6._0x1681f6,_0x28ceb6._0x40978f,0x44f)]:void 0x0;_0x1b5b00=_0x28ba7a[_0x1e4321(_0x28ceb6._0x6bfbec,_0x28ceb6._0x4db806,0x65c,0x60d)]?.['message']??_0x28ba7a[_0x1e4321(_0x28ceb6._0x4d9bf4,_0x28ceb6._0x390620,0x497,0x67e)]?.[_0x18e824(0x479,0x62e,0x4c8,0x309)]?.[0x0]?.[_0x18e824(0x461,_0x28ceb6._0xdd6a6,_0x28ceb6._0x488a73,_0x28ceb6._0x4efc41)]??_0x5a4a20;}catch{}const _0x5c8eee=_0x1b5b00?_0x1e4321(_0x28ceb6._0x192f78,_0x28ceb6._0xb2290e,0x70a,_0x28ceb6._0x1bf3ce)+_0xee2ec8['status']+':\x20'+_0x1b5b00:'HTTP\x20'+_0xee2ec8[_0x1e4321(0x80b,_0x28ceb6._0x11b282,_0x28ceb6._0x4bf19d,0x807)]+'\x20'+_0xee2ec8['statusText'];throw new ToolExecutionError(_0x5c8eee,{'statusCode':_0xee2ec8[_0x1e4321(_0x28ceb6._0x4bc089,_0x28ceb6._0x223b64,0x885,_0x28ceb6._0x16bde7)],..._0x579b5b?{'body':_0x579b5b}:{}});}function _0x18e824(_0xa0599,_0x16cbf8,_0x547a04,_0x3e5763){return _0x4eedea(_0xa0599-0x1a5,_0xa0599-0xd5,_0x16cbf8,_0x3e5763-0xbb);}return await _0xee2ec8[_0x1e4321(0x4c5,0x518,0x2e0,_0x28ceb6._0x57f20)]();}async function hydrateResults(_0x4405bd,_0x4fa81c,_0x19da8e,_0x3b1ce2){const _0x398918={_0x3285d0:0x352,_0x50f7ba:0x528,_0x4f2de3:0x419,_0x2d486b:0x4f4,_0x5b3085:0x38c,_0x41c624:0x77c},_0x490250={_0x34075e:0xb0,_0x11cba8:0x20a},_0x20c769={_0x5389f1:0x155,_0x1847dd:0x1ac,_0x3aea05:0x1d7},_0x29db99={_0x340ef7:0x2c9,_0x190fc1:0x494,_0x59c4e2:0x547,_0x440e8a:0x557,_0x530166:0x5e9,_0x4b6775:0x781,_0x30018b:0x529,_0x55ecbd:0x13f,_0x4a0d94:0x248,_0x2e0f67:0x2f5,_0x4c81a6:0x21f,_0x30ac5c:0x412,_0xd3db3d:0x425,_0x1002d8:0x1cf,_0x24e4fd:0x1e6,_0x346be0:0xbf,_0x358955:0x456,_0x39de11:0x1e8,_0x292ef9:0x36c,_0x96008:0x5aa,_0x6ae03a:0x4a8,_0x3db2e7:0x4be,_0xa5e799:0x228,_0x21c127:0x218,_0x2f18e6:0x338,_0x493b96:0x11f,_0x346239:0x51c,_0x5049c3:0x7b5,_0x158182:0x447,_0x13df56:0x48b,_0x4dcab9:0x33a,_0x18eb6d:0x526,_0x20fcce:0x332,_0x197cc0:0x204,_0x122e48:0x5b7,_0xc7af4:0x6f9,_0x28a5a7:0x6f5,_0x19d539:0x606,_0x4b30fe:0x40a},_0x161785=await Promise['all'](_0x4405bd[_0x5d3325(0x6f8,_0x398918._0x3285d0,_0x398918._0x50f7ba,0x602)](0x0,0xa)[_0x537a29(0x6e8,_0x398918._0x4f2de3,_0x398918._0x2d486b,_0x398918._0x5b3085)](async _0x1a8a61=>{const _0x427b60={_0x4609dc:0x38},_0x594bae={_0x5f3a75:0x285};function _0x16bc7f(_0x439738,_0x3d37e5,_0x1438ed,_0x421fec){return _0x537a29(_0x439738-0xf,_0x1438ed,_0x439738- -_0x594bae._0x5f3a75,_0x421fec-0xc6);}function _0x45eb86(_0x1269c8,_0x166d02,_0x46624,_0x3dcc8a){return _0x537a29(_0x1269c8-_0x427b60._0x4609dc,_0x3dcc8a,_0x166d02- -0x163,_0x3dcc8a-0xbd);}try{const _0x531c8a=await safeFetch(_0x1a8a61[_0x16bc7f(_0x29db99._0x340ef7,0x14e,0x333,0x241)],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x4fa81c,'Accept':_0x16bc7f(_0x29db99._0x190fc1,0x541,_0x29db99._0x59c4e2,0x47f)},'signal':_0x19da8e},{'lookup':_0x3b1ce2});if(!_0x531c8a['ok'])return _0x1a8a61;const _0x257c6f=await _0x531c8a[_0x16bc7f(_0x29db99._0x440e8a,_0x29db99._0x530166,0x707,0x520)](),_0x52342c=load(_0x257c6f),_0x4cf0ba=_0x52342c(_0x45eb86(_0x29db99._0x4b6775,_0x29db99._0x30018b,0x6d7,0x372))['attr'](_0x16bc7f(_0x29db99._0x55ecbd,_0x29db99._0x4a0d94,0x343,0x338))||_0x52342c(_0x16bc7f(0x3af,_0x29db99._0x2e0f67,_0x29db99._0x4c81a6,_0x29db99._0x30ac5c))[_0x45eb86(0x6f2,0x555,0x6d9,_0x29db99._0xd3db3d)]()['text']()['trim'](),_0x801ce1=_0x52342c(_0x45eb86(_0x29db99._0x1002d8,0x400,0x34a,0x4f3))[_0x16bc7f(0x218,0x205,_0x29db99._0x24e4fd,_0x29db99._0x346be0)](_0x45eb86(0x31e,0x261,0xf9,_0x29db99._0x358955))||_0x52342c('meta[property=\x27og:description\x27]')['attr'](_0x45eb86(0x18e,0x261,0x110,_0x29db99._0x39de11))||_0x1a8a61[_0x45eb86(_0x29db99._0x292ef9,_0x29db99._0x96008,_0x29db99._0x6ae03a,0x376)],_0x262089=_0x52342c(_0x45eb86(_0x29db99._0x3db2e7,0x3e0,0x369,_0x29db99._0xa5e799))[_0x16bc7f(_0x29db99._0x21c127,0x3fa,0x37d,0xcd)](_0x45eb86(_0x29db99._0x2f18e6,0x261,_0x29db99._0x493b96,0x291))||_0x52342c(_0x16bc7f(0x58b,_0x29db99._0x346239,_0x29db99._0x5049c3,_0x29db99._0x158182))[_0x45eb86(_0x29db99._0x13df56,_0x29db99._0x4dcab9,0x1fc,0x12a)](_0x45eb86(_0x29db99._0x18eb6d,0x632,0x613,0x5c7))||_0x1a8a61[_0x16bc7f(0x3d6,0x569,0x2e2,_0x29db99._0x20fcce)],_0x3e2850=_0x52342c('link[rel=\x27canonical\x27]')[_0x45eb86(_0x29db99._0x6ae03a,_0x29db99._0x4dcab9,0x307,_0x29db99._0x197cc0)]('href');return{..._0x1a8a61,'title':_0x4cf0ba||_0x1a8a61['title'],'snippet':_0x801ce1,'url':_0x3e2850?normalizeUrl(new URL(_0x3e2850,_0x1a8a61[_0x45eb86(0x2ad,0x3eb,_0x29db99._0x122e48,0x42b)])[_0x45eb86(_0x29db99._0xc7af4,_0x29db99._0x28a5a7,0x6f7,0x6a2)]()):_0x1a8a61[_0x45eb86(0x446,0x3eb,_0x29db99._0x19d539,_0x29db99._0x4b30fe)],'publishedAt':_0x262089};}catch{return _0x1a8a61;}}));function _0x5d3325(_0x23e3a1,_0x47c229,_0x5616ec,_0x515078){return _0x4eedea(_0x23e3a1-_0x20c769._0x5389f1,_0x5616ec-_0x20c769._0x1847dd,_0x47c229,_0x515078-_0x20c769._0x3aea05);}const _0x1b62d7=new Map(_0x4405bd[_0x537a29(0x9a5,0x894,_0x398918._0x41c624,0x76b)](0x0,0xa)['map']((_0x4b7d5d,_0x1e77b8)=>[_0x4b7d5d[_0x5d3325(0x290,0x4d0,0x2fa,0x2a7)],_0x161785[_0x1e77b8]]));function _0x537a29(_0x454d15,_0x26db46,_0x402e37,_0x8aa5da){return _0xa5377c(_0x26db46,_0x26db46-_0x490250._0x34075e,_0x402e37-0x99,_0x402e37-_0x490250._0x11cba8);}return _0x4405bd['map'](_0x3f54b4=>_0x1b62d7[_0x537a29(0x5f7,0x81f,0x6cc,0x6ec)](_0x3f54b4[_0x537a29(0x5d4,0x57a,0x54e,0x4a1)])??_0x3f54b4);}function formatResults(_0x3477c4){const _0x55f611={_0x40557a:0x313,_0x273e5a:0x50e,_0x48aa03:0x173,_0x317f71:0x385,_0x48aaac:0x9f,_0xf95ee:0x185},_0x471439={_0xd4c77c:0x4c5,_0x4a0e03:0x5a2,_0x29e025:0x35d,_0x604eab:0x84a,_0x101f68:0x54f,_0x1b347c:0x615,_0x1430d9:0x502,_0x26335b:0x4ed,_0xed672:0x4e0,_0x210e83:0x75e,_0x230509:0x48a,_0x38205c:0x354},_0x349a43={_0x4c5d8d:0xe2,_0x39c0a9:0xe6,_0x4d01ce:0x18a},_0x1a3585={_0x7d4b58:0x1e6,_0x4ee315:0x3a9},_0xe951a4={_0x5a2746:0x48,_0x3a93d9:0xaf};function _0x5b081b(_0x10bff9,_0x1ac85a,_0x46fc37,_0x1f8bd6){return _0x4eedea(_0x10bff9-_0xe951a4._0x5a2746,_0x10bff9-_0xe951a4._0x3a93d9,_0x1ac85a,_0x1f8bd6-0x1e7);}if(_0x3477c4[_0x5b081b(_0x55f611._0x40557a,0x361,_0x55f611._0x273e5a,0x4f1)]===0x0)return _0x5b081b(_0x55f611._0x48aa03,_0x55f611._0x317f71,0x1b6,_0x55f611._0x48aaac);function _0x264792(_0x2c7dcb,_0x58a008,_0x457282,_0x1f920b){return _0xa5377c(_0x1f920b,_0x58a008-_0x1a3585._0x7d4b58,_0x457282-0xc6,_0x58a008- -_0x1a3585._0x4ee315);}return _0x3477c4['map'](_0x40b945=>{function _0x63a7a1(_0x422e8c,_0x1d226e,_0x5ba2b9,_0x53943f){return _0x264792(_0x422e8c-0x124,_0x422e8c-0x567,_0x5ba2b9-0xe,_0x5ba2b9);}const _0xc055bd=[_0x40b945[_0x63a7a1(_0x471439._0xd4c77c,0x718,_0x471439._0x4a0e03,_0x471439._0x29e025)][_0x63a7a1(0x72f,_0x471439._0x604eab,0x824,_0x471439._0x101f68)]+'.\x20'+_0x40b945[_0x63a7a1(0x5e8,_0x471439._0x1b347c,0x3bd,0x778)],_0x40b945[_0x63a7a1(_0x471439._0x1430d9,0x315,_0x471439._0x26335b,0x431)]];if(_0x40b945['snippet'])_0xc055bd['push'](_0x40b945['snippet']);if(_0x40b945[_0x4a39c4(0x2bd,0x8c,0x228,0x34a)])_0xc055bd['push']('Published:\x20'+_0x40b945[_0x63a7a1(0x60f,0x3c7,_0x471439._0xed672,_0x471439._0x210e83)]);function _0x4a39c4(_0x55620c,_0x3f45f6,_0xc7bcf9,_0x33858e){return _0x5b081b(_0xc7bcf9- -_0x349a43._0x4c5d8d,_0x3f45f6,_0xc7bcf9-_0x349a43._0x39c0a9,_0x33858e-_0x349a43._0x4d01ce);}return _0xc055bd[_0x63a7a1(_0x471439._0x230509,0x6d1,0x503,_0x471439._0x38205c)]('\x0a');})[_0x5b081b(_0x55f611._0xf95ee,-0x69,-0x99,0x285)]('\x0a\x0a');}async function searchOllama(_0x54a761,_0x455ffc,_0x4a67ce){const _0x531d03={_0x5c072e:0x48b,_0x1bf3b1:0x91,_0x5968c0:0x184,_0x2beab3:0x2c2,_0xfcf7f4:0x1ea,_0x581bf3:0x359,_0xc15e8e:0x1ac,_0x59fa33:0x6f,_0x2737fe:0x661,_0x246e61:0x4ef,_0x5a3287:0x6a7,_0x6f85c:0x1ea,_0x260448:0x1ce,_0x16f4e8:0x76f,_0x228298:0x66f,_0x380650:0x832,_0xf7fa70:0x519,_0x41061b:0x613},_0xcdc429={_0x2a9198:0x3da,_0x47e3a7:0x3a0,_0x5877f7:0x497,_0x51d07a:0x45d,_0x12b240:0x6ee,_0x40d698:0x6b4,_0x4e5445:0x5ca,_0x1bf2ed:0x66d,_0x4978c0:0x27b,_0x24f505:0x26a,_0x1069bc:0x162},_0x594a6f={_0x333589:0x1a},_0x244d25={_0xfef3c4:0x2af,_0x1b4fa6:0x146},_0x43ba78={_0x449f17:0x2a},_0x10a554={_0x173cad:0x1e8,_0x4cc8d4:0x2dc},_0x518b57=Math[_0x417b2d(_0x531d03._0x5c072e,0x2a5,0x422,0x46c)](0x1,Math['min'](0xa,_0x455ffc[_0x417b2d(_0x531d03._0x1bf3b1,0x46,0x21c,_0x531d03._0x5968c0)])),_0x57db74=addSiteFilters(_0x455ffc[_0x417b2d(0x39a,_0x531d03._0x2beab3,0x46c,_0x531d03._0xfcf7f4)],_0x455ffc[_0x417b2d(0x561,_0x531d03._0x581bf3,0x3e5,0x4c2)]),_0x4416f1=await fetchJson(_0x417b2d(0x0,0x20a,0x18a,0x33c),_0x4a67ce,{'method':_0x417b2d(0x2e3,0x1d1,_0x531d03._0xc15e8e,_0x531d03._0x59fa33),'headers':{'Authorization':_0x34a449(0x5a5,_0x531d03._0x2737fe,_0x531d03._0x246e61,_0x531d03._0x5a3287)+_0x54a761['apiKey']},'body':JSON[_0x417b2d(_0x531d03._0x6f85c,0x30f,0x385,_0x531d03._0x260448)]({'query':_0x57db74,'max_results':_0x518b57})});function _0x417b2d(_0xd2e262,_0x1fc1f,_0x50481f,_0x51ceb0){return _0xa5377c(_0xd2e262,_0x1fc1f-_0x10a554._0x173cad,_0x50481f-0xff,_0x1fc1f- -_0x10a554._0x4cc8d4);}const _0x585eb0=_0x4416f1['results']??[];function _0x34a449(_0x4776f0,_0x1c7091,_0x198654,_0x4c7510){return _0x4eedea(_0x4776f0-0x10,_0x198654-0x4b6,_0x4776f0,_0x4c7510-_0x43ba78._0x449f17);}const _0x1ede24=_0x585eb0[_0x34a449(0x355,0x74c,0x5aa,0x54b)]((_0x46adbe,_0x1636a2)=>{const _0x5a06ee=_0x46adbe[_0x2903cf(0x355,_0xcdc429._0x2a9198,0x239,0x538)]||'';function _0x2903cf(_0x1a7297,_0xd7df57,_0x3c0e86,_0x20d3ac){return _0x34a449(_0xd7df57,_0xd7df57-0xe5,_0x1a7297- -_0x244d25._0xfef3c4,_0x20d3ac-_0x244d25._0x1b4fa6);}function _0x5418b6(_0x102d46,_0x403175,_0x271c29,_0x130742){return _0x417b2d(_0x130742,_0x271c29-0x566,_0x271c29-_0x594a6f._0x333589,_0x130742-0x4e);}let _0x15f252;try{_0x15f252=new URL(_0x5a06ee)[_0x5418b6(_0xcdc429._0x47e3a7,_0xcdc429._0x5877f7,_0xcdc429._0x51d07a,0x2ab)];}catch{_0x15f252=null;}return{'title':_0x46adbe[_0x5418b6(_0xcdc429._0x12b240,0x5c6,_0xcdc429._0x40d698,_0xcdc429._0x4e5445)]||_0x2903cf(0x418,_0xcdc429._0x1bf2ed,_0xcdc429._0x4978c0,0x4b2),'url':normalizeUrl(_0x5a06ee),'snippet':_0x46adbe['content']??null,'displayUrl':_0x15f252,'favicon':null,'publishedAt':null,'source':{'engine':_0x2903cf(_0xcdc429._0x24f505,_0xcdc429._0x1069bc,0x3b4,0x19b),'rank':_0x1636a2+0x1}};});return{'items':_0x1ede24[_0x34a449(_0x531d03._0x16f4e8,_0x531d03._0x228298,_0x531d03._0x380650,0x911)](0x0,_0x518b57),'engine':_0x34a449(0x70c,0x2ba,_0x531d03._0xf7fa70,_0x531d03._0x41061b)};}async function searchTavily(_0x40e1b2,_0x2bd049,_0x355eed){const _0x582c11={_0x484a54:0x2cd,_0x4e7ae5:0x3bd,_0x11b7b2:0x60,_0x9d8240:0x507,_0x266535:0x49b,_0x67e9a9:0x634,_0x213707:0x420,_0xf15d4e:0xd0,_0x1c5a52:0x3b9,_0x2f0c6f:0x42c,_0x1da8d4:0x24b,_0x5f1c34:0x3f7,_0x3bf968:0x204,_0xc8917f:0x3a8,_0x299a43:0x630,_0x486d58:0x3de,_0x500535:0x1c0,_0x884111:0x81d,_0x4d44fc:0x410,_0x58dada:0x648,_0x3de760:0x3e5,_0x15dc51:0x4b7,_0x2cf123:0x514,_0xa73de0:0x3a9,_0x1e50b8:0x655,_0x201692:0x30a,_0x216c20:0x38c,_0x244736:0x29b,_0x3386c5:0x210,_0x170ad9:0x1b9,_0x1b0181:0x1dc,_0x124184:0x151,_0x14b407:0x16e,_0xcffccf:0x259,_0x1c832f:0x65d,_0x1ab247:0x2b4,_0x2ff7ba:0x481,_0xb725b6:0xd3,_0x432df8:0x12b,_0x3703ba:0x251,_0xe524d2:0x170,_0x156e33:0x2e,_0x45ab27:0x195,_0x58683d:0xb0,_0x3c9ea8:0x161,_0x4c739a:0x1b1},_0x2c4bf7={_0x26bec2:0x124,_0x4cd674:0x89,_0x1a6d8d:0x171,_0x1d810b:0x1d7,_0x18dad8:0x53,_0x4a5659:0xb9,_0x5221ce:0x11b,_0x20c667:0x160,_0x57c77d:0x2d,_0x25a786:0x12e,_0x245a95:0x2c1,_0xa03628:0x6c,_0x3f9b2d:0x220,_0x21be30:0x11d,_0x35050c:0x2f},_0x51f504={_0x27f63d:0x67,_0x4c9f4b:0x23},_0x3eaebb={_0x1c1fff:0x84,_0x238d88:0x2b9},_0x50d6dc={_0x3de64a:0x7d,_0x3cc843:0x39a},_0x2c0f0b={_0x41c478:0x124};function _0xce4371(_0x545569,_0x293eed,_0x2d3b9f,_0x2b0eb2){return _0x4eedea(_0x545569-_0x2c0f0b._0x41c478,_0x2d3b9f-0x1d6,_0x2b0eb2,_0x2b0eb2-0xf9);}function _0x1f7091(_0x51baa3,_0x3cf462,_0xf24f2d,_0x2d4a28){return _0xa5377c(_0xf24f2d,_0x3cf462-_0x50d6dc._0x3de64a,_0xf24f2d-0x57,_0x2d4a28- -_0x50d6dc._0x3cc843);}const _0x159bb3=Math[_0x1f7091(_0x582c11._0x484a54,_0x582c11._0x4e7ae5,_0x582c11._0x11b7b2,0x1e7)](0x1,Math[_0xce4371(0x31b,_0x582c11._0x9d8240,_0x582c11._0x266535,_0x582c11._0x67e9a9)](0x14,_0x2bd049[_0xce4371(_0x582c11._0x213707,_0x582c11._0xf15d4e,0x302,_0x582c11._0x1c5a52)])),_0x5750f7={'query':_0x2bd049[_0x1f7091(_0x582c11._0x2f0c6f,_0x582c11._0x1da8d4,_0x582c11._0x5f1c34,_0x582c11._0x3bf968)],'max_results':_0x159bb3,'search_depth':_0x40e1b2[_0xce4371(_0x582c11._0xc8917f,_0x582c11._0x299a43,_0x582c11._0x486d58,_0x582c11._0x500535)]??_0xce4371(_0x582c11._0x884111,_0x582c11._0x4d44fc,_0x582c11._0x58dada,0x443),'topic':_0x40e1b2[_0xce4371(_0x582c11._0x3de760,_0x582c11._0x15dc51,_0x582c11._0x2cf123,_0x582c11._0xa73de0)]??_0xce4371(_0x582c11._0x1e50b8,_0x582c11._0x201692,0x44c,0x30f)};if(_0x2bd049[_0x1f7091(_0x582c11._0x216c20,0xfd,0xd7,_0x582c11._0x244736)][_0x1f7091(0x6a,_0x582c11._0x3386c5,-0x39,0xc0)]>0x0)_0x5750f7[_0xce4371(0x3e1,0x3d1,0x548,0x70d)]=_0x2bd049[_0x1f7091(0x212,_0x582c11._0x170ad9,_0x582c11._0x1b0181,0x29b)];const _0x1264d8=await fetchJson(_0x1f7091(-_0x582c11._0x124184,_0x582c11._0x14b407,0x269,0x79),_0x355eed,{'method':'POST','headers':{'Authorization':_0x1f7091(-0x27e,-_0x582c11._0xcffccf,-0x2ba,-0x16b)+_0x40e1b2['tavilyApiKey'],'Content-Type':_0xce4371(_0x582c11._0x1c832f,_0x582c11._0x1ab247,_0x582c11._0x2ff7ba,0x3a4)},'body':JSON[_0x1f7091(0xf8,_0x582c11._0xb725b6,_0x582c11._0x432df8,_0x582c11._0x3703ba)](_0x5750f7)}),_0x37bcfc=_0x1264d8[_0x1f7091(-_0x582c11._0xe524d2,-_0x582c11._0x156e33,0x8a,-0x6e)]??[],_0x5c0ceb=_0x37bcfc[_0x1f7091(-0x309,0x5b,_0x582c11._0x45ab27,-_0x582c11._0x58683d)]((_0x469dfc,_0x2e31f2)=>{function _0x51e4a7(_0x463cbe,_0x22a233,_0x437b74,_0x23384d){return _0xce4371(_0x463cbe-_0x3eaebb._0x1c1fff,_0x22a233-0x2f,_0x437b74- -_0x3eaebb._0x238d88,_0x463cbe);}const _0x56a9ef=_0x469dfc[_0x51e4a7(_0x2c4bf7._0x26bec2,-_0x2c4bf7._0x4cd674,0x6b,_0x2c4bf7._0x1a6d8d)]||'';let _0x21d5b8;function _0x6d0ae2(_0x245401,_0x43af89,_0x21b39d,_0xa149ff){return _0xce4371(_0x245401-_0x51f504._0x27f63d,_0x43af89-_0x51f504._0x4c9f4b,_0x43af89- -0x206,_0x21b39d);}try{_0x21d5b8=new URL(_0x56a9ef)[_0x6d0ae2(_0x2c4bf7._0x1d810b,-_0x2c4bf7._0x18dad8,_0x2c4bf7._0x4a5659,-_0x2c4bf7._0x5221ce)];}catch{_0x21d5b8=null;}return{'title':_0x469dfc[_0x51e4a7(_0x2c4bf7._0x20c667,0x2a3,0x151,_0x2c4bf7._0x57c77d)]||_0x51e4a7(0x317,0x327,_0x2c4bf7._0x25a786,_0x2c4bf7._0x245a95),'url':normalizeUrl(_0x56a9ef),'snippet':_0x469dfc[_0x6d0ae2(-0x15a,-_0x2c4bf7._0xa03628,-0x188,0x1ce)]??null,'displayUrl':_0x21d5b8,'favicon':null,'publishedAt':null,'source':{'engine':_0x51e4a7(-0x91,-_0x2c4bf7._0x3f9b2d,-_0x2c4bf7._0x21be30,_0x2c4bf7._0x35050c),'rank':_0x2e31f2+0x1}};});return{'items':_0x5c0ceb[_0x1f7091(-0x21,0x10a,0x21c,0x1d8)](0x0,_0x159bb3),'engine':_0xce4371(_0x582c11._0x3c9ea8,0x1f3,0x19c,_0x582c11._0x4c739a)};}async function searchGoogleCse(_0x2a8631,_0x4dd778,_0x382f3c){const _0x2d4a74={_0x587534:0x5a2,_0x238b2f:0x35d,_0xb15796:0x4db,_0xa325d2:0x34b,_0x912262:0x510,_0x3e923a:0x329,_0x4d163d:0x563,_0x5e4a6c:0x2f4,_0x4d28a4:0x655,_0x28bfd9:0x62c,_0x43a9bc:0x56c,_0x2de435:0x676,_0x10cc66:0x7bb,_0x1c844d:0xb30,_0xeb01a3:0x8db,_0xf4d8c4:0x9b0,_0x3d321b:0xb4b,_0x32b368:0x589,_0x4961a8:0x773,_0x13f433:0x4d9,_0x5ce69b:0x4a8,_0x8bcdd0:0x4f5,_0x3cf0c7:0x719,_0x137406:0x754,_0x745f39:0x60e,_0x3e3818:0x574,_0x51414d:0x52a,_0x47180b:0x942,_0x3f53de:0x828,_0x4c9fff:0x6b8,_0x24f22d:0x675,_0x4eaf7d:0x7af,_0xca2e15:0x583,_0x382fde:0x1b8,_0x32bb65:0x3a4,_0xa8ce61:0x67c,_0xdbe300:0x484,_0xf7c9b0:0x8f0,_0x2532d1:0x7be,_0x3e5d99:0x664,_0x55e84e:0x134,_0x294662:0x434,_0x63040f:0x227,_0x3ea8cd:0x6db,_0xb3f423:0x36a,_0x44b643:0x41c,_0x2f4a7e:0xb1f,_0xac5216:0x924,_0x492c26:0x4ea,_0x1763b2:0x1a1,_0x37de51:0x2ed,_0x616af4:0x575,_0x2b0d47:0x466,_0x3d0829:0x50e,_0x332f75:0x518,_0x4b204f:0x602,_0x238614:0x22c,_0x17bbf8:0x2c7,_0x12b876:0x6e4,_0xad8c4a:0x462,_0x42194a:0x5bf,_0x3fb223:0x5b3,_0x38e274:0xa5e,_0x53777b:0x91d,_0x3eee41:0x2d8,_0x1d499d:0x384,_0x5e47fa:0x733,_0x238a46:0x8ca,_0x2e631e:0x7b3,_0x23aaa0:0xaf2,_0xa5393c:0x30c,_0x4652ae:0x6ce,_0x360209:0x391,_0x17a5da:0x4bb,_0x53e2b6:0x61d,_0x4f5529:0x560,_0x2e46e6:0x508,_0xb32ab4:0x4cb,_0x55b908:0x31a,_0x76c958:0x637,_0x5895e1:0x9bb,_0x55abb1:0x873,_0x5a85b8:0x8d7,_0x203dbe:0x726,_0x247893:0x1cf,_0x59f4ff:0x16c,_0x4c18be:0x331,_0x3e9468:0x66e,_0x1b3cef:0x397,_0x3da13b:0x5b8,_0x304d56:0x5c0,_0x75b6d5:0x4d0,_0x42d1f6:0x5f8,_0x1bb702:0x857,_0x4662a4:0x797,_0x3592d0:0x675,_0x3b511b:0x586,_0x48520c:0xb31,_0x2f0981:0x5f7,_0x28bb1b:0x792,_0x1f900d:0x62a,_0x556daa:0x4be,_0x426f4d:0x503,_0x33e266:0x4d1,_0x26bba8:0x73f,_0xa6d253:0x6bb,_0x228b43:0x5ea,_0x4eac92:0x351,_0x4b1eeb:0x327,_0x48e081:0x840,_0x57ce3a:0x7aa,_0x55b73c:0x580,_0x2b2951:0x432,_0x40d2f4:0x75d,_0x4a340c:0x67e,_0x538480:0x49b,_0x57e2b8:0x460,_0x2fe769:0x20d,_0x23f72c:0x5c9,_0x4c7931:0x6a8,_0x2193dc:0x8bc,_0x108169:0x4ba,_0x1b7c0b:0x494,_0x4d6ab9:0x7d7,_0x2e5aac:0x797,_0x132bdc:0x66b,_0xf0b361:0x8af},_0x28cc1c={_0x2ea1e1:0xe5,_0xddc822:0x533,_0x5bbd38:0x9d},_0x22e81c={_0x254c5d:0xb1,_0x190716:0x16f},_0x35d1e2=Math['max'](0x1,Math['min'](0x32,_0x4dd778[_0x5f4e68(_0x2d4a74._0x587534,_0x2d4a74._0x238b2f,_0x2d4a74._0xb15796,0x35c)]));if(_0x4dd778[_0x5f4e68(_0x2d4a74._0xa325d2,0x535,_0x2d4a74._0x912262,_0x2d4a74._0x3e923a)]+_0x35d1e2>0x64)throw new ToolExecutionError(_0x5f4e68(_0x2d4a74._0x4d163d,0x5a3,_0x2d4a74._0x5e4a6c,0x34a),{'offset':_0x4dd778[_0x6f9f1d(0x4d8,_0x2d4a74._0x4d28a4,_0x2d4a74._0x28bfd9,_0x2d4a74._0x43a9bc)],'count':_0x35d1e2,'maxResults':0x64});function _0x5f4e68(_0x396904,_0x51a3fe,_0x1236c9,_0xf3e4d7){return _0x4eedea(_0x396904-_0x22e81c._0x254c5d,_0xf3e4d7-0x230,_0x396904,_0xf3e4d7-_0x22e81c._0x190716);}const _0x5d954a=cseDateRestrict(_0x4dd778[_0x5f4e68(0x469,0x465,_0x2d4a74._0x2de435,0x419)]),_0x5cbc2e=addSiteFilters(_0x4dd778[_0x6f9f1d(_0x2d4a74._0x10cc66,_0x2d4a74._0x1c844d,_0x2d4a74._0xeb01a3,0x84e)],_0x4dd778[_0x6f9f1d(0x819,_0x2d4a74._0xf4d8c4,0x972,_0x2d4a74._0x3d321b)]);let _0x521637=0x0,_0x4cfdec=_0x4dd778[_0x6f9f1d(_0x2d4a74._0x32b368,_0x2d4a74._0x4961a8,_0x2d4a74._0x28bfd9,0x54f)]+0x1;const _0x2cfd47=[];while(_0x521637<_0x35d1e2){const _0x127ae1=Math[_0x5f4e68(0x415,_0x2d4a74._0x13f433,_0x2d4a74._0x5ce69b,_0x2d4a74._0x8bcdd0)](0xa,_0x35d1e2-_0x521637),_0x111bd4=new URL(_0x6f9f1d(0x654,_0x2d4a74._0x3cf0c7,_0x2d4a74._0x137406,_0x2d4a74._0x745f39));_0x111bd4[_0x6f9f1d(_0x2d4a74._0x3e3818,0x50a,_0x2d4a74._0x51414d,0x32c)][_0x6f9f1d(_0x2d4a74._0x47180b,_0x2d4a74._0x3f53de,0x7be,_0x2d4a74._0x4c9fff)](_0x6f9f1d(0x8d7,_0x2d4a74._0x24f22d,_0x2d4a74._0x4eaf7d,0x58e),_0x2a8631[_0x6f9f1d(0x811,0x4c3,0x691,_0x2d4a74._0xca2e15)]),_0x111bd4[_0x5f4e68(_0x2d4a74._0x382fde,0x6,_0x2d4a74._0x32bb65,0x227)][_0x5f4e68(0x5d4,0x4e8,_0x2d4a74._0xa8ce61,0x4bb)]('cx',_0x2a8631['googleCseCx']),_0x111bd4[_0x6f9f1d(_0x2d4a74._0xdbe300,0x432,0x52a,0x499)][_0x6f9f1d(0x9d9,_0x2d4a74._0xf7c9b0,_0x2d4a74._0x2532d1,_0x2d4a74._0x3e5d99)]('q',_0x5cbc2e),_0x111bd4[_0x5f4e68(0x449,_0x2d4a74._0x55e84e,_0x2d4a74._0x294662,_0x2d4a74._0x63040f)][_0x5f4e68(_0x2d4a74._0x3ea8cd,_0x2d4a74._0xb3f423,_0x2d4a74._0x44b643,0x4bb)](_0x6f9f1d(0x8c6,_0x2d4a74._0x2f4a7e,_0x2d4a74._0xac5216,0xb7d),String(_0x127ae1)),_0x111bd4[_0x5f4e68(0x16c,0x65,0x3b7,0x227)]['set'](_0x5f4e68(_0x2d4a74._0x492c26,0x44b,_0x2d4a74._0x1763b2,_0x2d4a74._0x37de51),String(_0x4cfdec)),_0x111bd4['searchParams'][_0x5f4e68(_0x2d4a74._0x616af4,0x708,0x6cb,0x4bb)](_0x5f4e68(0x394,0x55b,0x73a,0x518),_0x4dd778[_0x5f4e68(0x71b,_0x2d4a74._0x2b0d47,_0x2d4a74._0x3d0829,_0x2d4a74._0x332f75)]?_0x5f4e68(_0x2d4a74._0x4b204f,_0x2d4a74._0x238614,_0x2d4a74._0x17bbf8,0x3d4):'off');_0x4dd778[_0x5f4e68(_0x2d4a74._0x12b876,_0x2d4a74._0xad8c4a,0x532,0x61a)]&&(_0x111bd4['searchParams'][_0x6f9f1d(_0x2d4a74._0x42194a,0x9cd,0x7be,_0x2d4a74._0x3fb223)]('hl',_0x4dd778[_0x6f9f1d(_0x2d4a74._0x38e274,0x733,_0x2d4a74._0x53777b,0x6c8)]),_0x111bd4[_0x5f4e68(0x241,_0x2d4a74._0x3eee41,_0x2d4a74._0x1d499d,0x227)][_0x6f9f1d(0x7e3,_0x2d4a74._0x5e47fa,0x7be,_0x2d4a74._0x238a46)]('lr',_0x6f9f1d(0x453,0x689,0x533,0x541)+_0x4dd778[_0x6f9f1d(0x954,_0x2d4a74._0x2e631e,_0x2d4a74._0x53777b,_0x2d4a74._0x23aaa0)]));if(_0x4dd778[_0x6f9f1d(0x766,0x8ca,0x9ac,0x7c9)])_0x111bd4[_0x5f4e68(0x133,_0x2d4a74._0xa5393c,0x411,0x227)][_0x5f4e68(_0x2d4a74._0x4652ae,_0x2d4a74._0x360209,0x546,_0x2d4a74._0x17a5da)]('gl',_0x4dd778[_0x5f4e68(_0x2d4a74._0x53e2b6,_0x2d4a74._0x4f5529,_0x2d4a74._0x2e46e6,0x6a9)][_0x5f4e68(0x3bd,0x466,_0x2d4a74._0xb32ab4,_0x2d4a74._0x55b908)]());if(_0x4dd778[_0x6f9f1d(_0x2d4a74._0x76c958,_0x2d4a74._0x5895e1,_0x2d4a74._0x55abb1,_0x2d4a74._0x5a85b8)]===_0x5f4e68(0x81a,_0x2d4a74._0x203dbe,0x74e,0x5ec))_0x111bd4[_0x5f4e68(0x164,_0x2d4a74._0x247893,_0x2d4a74._0x59f4ff,0x227)][_0x5f4e68(0x355,_0x2d4a74._0x4c18be,0x333,0x4bb)](_0x5f4e68(_0x2d4a74._0x3e9468,0x391,_0x2d4a74._0x1b3cef,0x519),_0x6f9f1d(0x43a,0x744,0x62a,0x73f));if(_0x5d954a)_0x111bd4['searchParams']['set'](_0x5f4e68(_0x2d4a74._0x3da13b,_0x2d4a74._0x304d56,_0x2d4a74._0x75b6d5,0x685),_0x5d954a);const _0x3259d8=await fetchJson(_0x111bd4['toString'](),_0x382f3c),_0x4358ae=_0x3259d8[_0x6f9f1d(0x7cc,_0x2d4a74._0x42d1f6,0x741,0x4ff)]??[];if(_0x4358ae[_0x6f9f1d(0x7af,_0x2d4a74._0x1bb702,_0x2d4a74._0x4662a4,_0x2d4a74._0x3592d0)]===0x0)break;const _0x20aac1=_0x521637;for(let _0x313339=0x0;_0x313339<_0x4358ae[_0x5f4e68(0x380,0x2f4,_0x2d4a74._0x3b511b,0x494)];_0x313339++){const _0x166fe0=_0x4358ae[_0x313339];if(!_0x166fe0)continue;const _0x45f749=_0x166fe0[_0x6f9f1d(0x931,_0x2d4a74._0x48520c,0x98d,0xbe9)]||_0x166fe0[_0x6f9f1d(_0x2d4a74._0x2f0981,_0x2d4a74._0x28bb1b,_0x2d4a74._0x1f900d,_0x2d4a74._0x556daa)]?.[_0x5f4e68(0x2fd,0x686,_0x2d4a74._0x426f4d,_0x2d4a74._0x33e266)]||'',_0xa3b350=_0x166fe0[_0x6f9f1d(_0x2d4a74._0x26bba8,_0x2d4a74._0xa6d253,0x767,_0x2d4a74._0x228b43)]||_0x166fe0[_0x5f4e68(0x356,0x38f,_0x2d4a74._0x4eac92,_0x2d4a74._0x4b1eeb)]?.['title']||'Untitled',_0x1cca3b=_0x166fe0[_0x6f9f1d(0x75e,0xa31,_0x2d4a74._0x48e081,_0x2d4a74._0x57ce3a)]||_0x166fe0[_0x5f4e68(0x4a1,_0x2d4a74._0x55b73c,_0x2d4a74._0x2b2951,0x3a4)]?.['replace'](/<[^>]+>/g,''),_0x16422d=_0x166fe0[_0x6f9f1d(_0x2d4a74._0x40d2f4,_0x2d4a74._0x4a340c,0x8a1,0x947)]?.[_0x5f4e68(0x598,0x467,0x3c1,_0x2d4a74._0x538480)]?.[0x0]??{};let _0x4911f5;try{_0x4911f5=new URL(_0x45f749)[_0x5f4e68(0x39e,0x185,_0x2d4a74._0x57e2b8,_0x2d4a74._0x2fe769)];}catch{_0x4911f5=null;}_0x2cfd47['push']({'title':_0xa3b350,'url':normalizeUrl(_0x45f749),'snippet':_0x1cca3b??null,'displayUrl':_0x4911f5,'favicon':null,'publishedAt':_0x16422d[_0x5f4e68(0x5ff,0x714,0x827,_0x2d4a74._0x23f72c)]||_0x16422d['og:updated_time']||null,'source':{'engine':_0x6f9f1d(0x71a,0x586,_0x2d4a74._0x4c7931,_0x2d4a74._0x2193dc),'rank':_0x20aac1+_0x313339+0x1}});}_0x521637+=_0x4358ae[_0x5f4e68(0x545,0x610,_0x2d4a74._0x108169,_0x2d4a74._0x1b7c0b)],_0x4cfdec+=_0x4358ae[_0x6f9f1d(0x902,_0x2d4a74._0x4d6ab9,_0x2d4a74._0x2e5aac,0x92f)];if(_0x4358ae['length']<_0x127ae1)break;}function _0x6f9f1d(_0x197afa,_0x16bd18,_0x28d103,_0x870345){return _0x4eedea(_0x197afa-_0x28cc1c._0x2ea1e1,_0x28d103-_0x28cc1c._0xddc822,_0x16bd18,_0x870345-_0x28cc1c._0x5bbd38);}return _0x2cfd47[_0x6f9f1d(_0x2d4a74._0x132bdc,0x9fd,_0x2d4a74._0xf0b361,0x68d)](0x0,_0x35d1e2);}function isGoogleCseEngine(_0x4f8373){const _0x812849={_0x5c65c4:0x54b,_0x22b07d:0x66e},_0x46a12a={_0x4000ef:0x10c};function _0x55b8fa(_0x3c23dd,_0x32b030,_0x1be1be,_0x1c9da4){return _0xa5377c(_0x1be1be,_0x32b030-_0x46a12a._0x4000ef,_0x1be1be-0x172,_0x3c23dd-0x1f7);}return _0x55b8fa(_0x812849._0x5c65c4,0x75c,0x73a,_0x812849._0x22b07d)in _0x4f8373;}function isOllamaEngine(_0x114f7c){const _0x151ebc={_0x55edd3:0x3db,_0x187566:0x46d};function _0x305eff(_0x2b84b9,_0x5d1c5e,_0x323c95,_0x10ae2f){return _0xa5377c(_0x323c95,_0x5d1c5e-0x40,_0x323c95-0x18e,_0x5d1c5e-0x4f);}return _0x305eff(_0x151ebc._0x55edd3,0x37d,_0x151ebc._0x187566,0x15b)in _0x114f7c;}function isTavilyEngine(_0x2e7d3c){return'tavilyApiKey'in _0x2e7d3c;}function createWebSearchTool(_0x4e97ce){const _0x254fed={_0x4edd57:0x57,_0x1af831:0x1fe,_0x1a19cf:0x2e2,_0x2e7327:0x493,_0x9ad967:0x5c8,_0xd2a542:0x565,_0xa4f010:0xe0,_0x434a25:0x12d,_0x1eb9d5:0x272,_0x9ea0b:0x3ad,_0x2f95f0:0x59b,_0x21b5b0:0x9,_0x38d4d9:0xd1,_0x42c71f:0x1b8,_0xfa435b:0x101,_0x39d154:0x1e0,_0xde47a2:0x312,_0x6e4806:0x503,_0x5d54ce:0x29a,_0x4bef1c:0x2cd,_0x5844d2:0x175,_0x5e7c7e:0x248,_0x2ec171:0x2d8,_0x2c4a27:0x106,_0xac8561:0x4da,_0xbd8404:0xdd,_0x2e8df4:0x372,_0x4b1be1:0x2ec,_0x3d45f6:0x419},_0x5769cb={_0x1199c2:0x1c9,_0x2b3fa6:0x20,_0x518550:0x4c,_0x25bfed:0x321,_0x17a730:0x328,_0x3ebc3d:0x3f9,_0x32b0ec:0x3f4,_0x37a684:0x23,_0x4d26fd:0x2e9,_0x5cbb33:0x48a,_0xfa6ae0:0x336,_0x2d17f3:0x36e,_0x393297:0x599,_0x36ef2b:0x7ac,_0x152b30:0x4e8,_0x523892:0x616,_0x5686aa:0x127,_0x563f4b:0x237,_0x1632b2:0x2b5,_0x55f2df:0x4ae,_0x1c2148:0x4af,_0x38263d:0x34a,_0x95a25c:0x49d,_0x5ef0e9:0x388,_0x48962c:0x6c,_0x1751e7:0x29a,_0x5b90fb:0x25e,_0x2e1acc:0x410,_0x1c496d:0x3d8,_0x2d0fc0:0x46e,_0x3b2a8:0x1ea,_0x162b36:0x2f1,_0x246be0:0x16a,_0x2970cf:0x373,_0x24acdc:0x305,_0x519405:0x46f,_0x7b0ace:0x38e,_0x4436f8:0x1cc,_0x548197:0x2c,_0x13e744:0x290,_0x1d1263:0x329,_0x5925a3:0x13a,_0x4ee3d4:0x47a,_0x2d6446:0x3c9,_0x46a2fd:0x583,_0x542eb3:0x555,_0x545892:0x762,_0x5f793e:0x52b,_0x23d9cb:0x15f,_0x43e102:0x156,_0x22b9a4:0x1bf,_0x41b6f1:0x678,_0x5408dd:0x2e1,_0x548507:0x3fe,_0x24a422:0x539,_0x59718c:0x5c5,_0x2ddf02:0x748,_0x1e0cdc:0x42d,_0x74bcd1:0x680,_0x35527a:0x62b,_0x10974b:0x3dd,_0x38aaf4:0x544,_0x46deb4:0x2ae,_0x442976:0x5f3,_0x48e309:0x367,_0x25c365:0x33f,_0x3f75d9:0x34f,_0x2f9bfe:0x440,_0x558f9d:0x240,_0xcef248:0xa6},_0x1a3f6a={_0x34bfc0:0x2f1},_0x27ba10={_0x1d04a6:0x214,_0xd03f5d:0x4d0,_0x355f4d:0x3d0,_0x3ebef8:0x8b3,_0x1d1949:0x831,_0x973f:0x84d,_0x648966:0x60d,_0xed385a:0x635,_0x2e8b70:0x7bc,_0x149a99:0x83f},_0x43dea3={_0x405c71:0x18c},_0x2584b0={_0xd993c8:0x2d3};if(!_0x4e97ce[_0x2e4114(-_0x254fed._0x4edd57,-0x205,-0x84,_0x254fed._0x1af831)]||_0x4e97ce[_0x320f2f(_0x254fed._0x1a19cf,0x408,_0x254fed._0x2e7327,_0x254fed._0x9ad967)][_0x320f2f(0x3c8,0x537,_0x254fed._0xd2a542,0x383)]===0x0)throw new Error('WebSearch\x20requires\x20at\x20least\x20one\x20search\x20engine\x20configured');const _0x5b5926=_0x4e97ce[_0x2e4114(0x226,0x403,_0x254fed._0xa4f010,0xd2)]??_0x320f2f(0x416,0x577,0x3d7,0x354);function _0x320f2f(_0xd4d931,_0x443894,_0x3bb800,_0x355c52){return _0x4eedea(_0xd4d931-0x14b,_0x443894-_0x2584b0._0xd993c8,_0x355c52,_0x355c52-0x63);}const _0x54ddf9=_0x4e97ce[_0x2e4114(0x206,0x43e,_0x254fed._0x434a25,_0x254fed._0x1eb9d5)];function _0x2e4114(_0x397ded,_0x537c95,_0x2c690d,_0x3d0932){return _0x4eedea(_0x397ded-0x2d,_0x397ded- -_0x43dea3._0x405c71,_0x537c95,_0x3d0932-0xb1);}return defineTool({'name':_0x5b5926,'permissionClass':_0x320f2f(_0x254fed._0x9ea0b,_0x254fed._0x2f95f0,0x761,0x3a8),'description':'Search\x20the\x20web\x20and\x20return\x20ranked\x20results.','inputSchema':{'type':_0x2e4114(0xd0,-_0x254fed._0x21b5b0,-0x172,_0x254fed._0x38d4d9),'properties':{'description':{'type':_0x2e4114(0x2d8,_0x254fed._0x42c71f,0x11a,_0x254fed._0xfa435b)},'query':{'type':'string'},'count':{'type':_0x2e4114(-0x192,-_0x254fed._0x39d154,-_0x254fed._0xde47a2,-0x236)},'offset':{'type':_0x320f2f(0x496,0x2cd,_0x254fed._0x6e4806,_0x254fed._0x5d54ce)},'domains':{'type':'array','items':{'type':'string'}},'recencyDays':{'type':_0x320f2f(0x126,_0x254fed._0x4bef1c,_0x254fed._0x5844d2,_0x254fed._0x5e7c7e)},'lang':{'type':_0x2e4114(_0x254fed._0x2ec171,_0x254fed._0x2c4a27,0x4d8,0x365)},'region':{'type':_0x2e4114(0x2d8,_0x254fed._0xac8561,0x36a,_0x254fed._0xbd8404)},'safe':{'type':_0x320f2f(0x350,0x2ec,0x127,_0x254fed._0x2e8df4)},'type':{'type':'string'},'hydrateMeta':{'type':_0x320f2f(0x2cc,_0x254fed._0x4b1be1,0x1ed,0x245)}},'required':[_0x2e4114(0x21c,0x11e,_0x254fed._0x3d45f6,0x33e)]},async *'execute'(_0x16f340,_0x1e7fce){const _0x5ba78a={_0x3670c6:0x14c},_0x1affc8={_0x2a7de7:0x14d,_0x5c67dd:0x1da},_0x6a1d01=_0x16f340[_0x123640(0x50d,0x367,0x399,0x705)][_0x58f367(-_0x5769cb._0x1199c2,0xdc,-_0x5769cb._0x2b3fa6,-_0x5769cb._0x518550)]();if(!_0x6a1d01)throw new ToolExecutionError('Missing\x20required\x20parameter:\x20query');const _0x16bf84={'query':_0x6a1d01,'count':Math['max'](0x1,Math[_0x123640(0x42a,_0x5769cb._0x25bfed,_0x5769cb._0x17a730,0x2e2)](0x32,Math[_0x123640(0x36e,_0x5769cb._0x3ebc3d,0x41a,_0x5769cb._0x32b0ec)](_0x16f340[_0x58f367(-0x21e,-0x9e,_0x5769cb._0x37a684,-0x1bf)]??0xa))),'offset':Math[_0x58f367(0x213,_0x5769cb._0x4d26fd,0x282,0x27b)](0x0,Math['trunc'](_0x16f340['offset']??0x0)),'domains':_0x16f340[_0x58f367(_0x5769cb._0x5cbb33,0x45c,_0x5769cb._0xfa6ae0,0x51a)]??[],'recencyDays':Math['max'](0x0,Math[_0x123640(_0x5769cb._0x2d17f3,0x1aa,0x413,_0x5769cb._0x393297)](_0x16f340['recencyDays']??0x0)),'lang':_0x16f340['lang']??'en','region':_0x16f340[_0x123640(0x5de,_0x5769cb._0x36ef2b,_0x5769cb._0x152b30,_0x5769cb._0x523892)]??'','safe':_0x16f340['safe']??!![],'type':normalizeType(_0x16f340[_0x58f367(0x179,_0x5769cb._0x5686aa,_0x5769cb._0x563f4b,_0x5769cb._0x1632b2)]),'hydrateMeta':_0x16f340[_0x123640(_0x5769cb._0x55f2df,0x6dc,0x3f7,0x700)]??![]};let _0x4ea623=[],_0x1661d3=_0x123640(0x337,_0x5769cb._0x1c2148,_0x5769cb._0x38263d,0x45e);for(const _0xb2939a of _0x4e97ce['engines']){try{if(isGoogleCseEngine(_0xb2939a))_0x4ea623=await searchGoogleCse(_0xb2939a,_0x16bf84,_0x1e7fce[_0x58f367(0x1c6,_0x5769cb._0x95a25c,0x25e,_0x5769cb._0x5ef0e9)]),_0x1661d3=_0x58f367(0x145,-0x149,_0x5769cb._0x48962c,_0x5769cb._0x1751e7);else{if(isOllamaEngine(_0xb2939a)){const _0x32001a=await searchOllama(_0xb2939a,_0x16bf84,_0x1e7fce[_0x58f367(0x294,0x1c8,_0x5769cb._0x5b90fb,_0x5769cb._0x2e1acc)]);_0x4ea623=_0x32001a[_0x123640(0x373,_0x5769cb._0x1c496d,_0x5769cb._0x2d0fc0,0x47b)],_0x1661d3=_0x32001a[_0x123640(_0x5769cb._0x3b2a8,_0x5769cb._0x162b36,_0x5769cb._0x246be0,0xdb)];}else{if(isTavilyEngine(_0xb2939a)){const _0x43d39f=await searchTavily(_0xb2939a,_0x16bf84,_0x1e7fce['signal']);_0x4ea623=_0x43d39f[_0x123640(_0x5769cb._0x2970cf,0x2f1,_0x5769cb._0x24acdc,_0x5769cb._0x519405)],_0x1661d3=_0x43d39f['engine'];}}}if(_0x4ea623['length']>0x0)break;}catch(_0x38960b){if(_0xb2939a===_0x4e97ce[_0x123640(_0x5769cb._0x1751e7,0x2c0,_0x5769cb._0x7b0ace,0xb0)][_0x4e97ce[_0x58f367(_0x5769cb._0x4436f8,-0xc4,_0x5769cb._0x548197,0x151)]['length']-0x1])throw _0x38960b;}}_0x16bf84['hydrateMeta']&&_0x4ea623[_0x58f367(_0x5769cb._0x13e744,0xef,0x15b,0x5e)]>0x0&&(_0x4ea623=await hydrateResults(_0x4ea623,_0x16bf84['lang'],_0x1e7fce['signal'],_0x54ddf9));const _0x186aab=new Set();_0x4ea623=_0x4ea623[_0x58f367(0x225,0x22e,0x10a,_0x5769cb._0x1d1263)](_0x33af25=>{const _0x2925ac={_0x34a241:0x1a9,_0x210337:0x332,_0x4cac39:0x111},_0x3cf59e=_0x33af25[_0x4f9864(_0x27ba10._0x1d04a6,_0x27ba10._0xd03f5d,0x377,_0x27ba10._0x355f4d)][_0x2cf11e(0x5d8,_0x27ba10._0x3ebef8,0x800,_0x27ba10._0x1d1949)]();function _0x2cf11e(_0x48da96,_0x1b8b8f,_0x38a7b7,_0x16e741){return _0x58f367(_0x48da96-_0x1affc8._0x2a7de7,_0x48da96,_0x16e741-0x666,_0x16e741-_0x1affc8._0x5c67dd);}function _0x4f9864(_0xf84fb2,_0x4f2193,_0x5e6e25,_0x596ea2){return _0x58f367(_0xf84fb2-_0x2925ac._0x34a241,_0x4f2193,_0x5e6e25-_0x2925ac._0x210337,_0x596ea2-_0x2925ac._0x4cac39);}if(!_0x3cf59e||_0x186aab[_0x2cf11e(_0x27ba10._0x973f,0x7b7,_0x27ba10._0x648966,_0x27ba10._0xed385a)](_0x3cf59e))return![];return _0x186aab[_0x2cf11e(0x929,_0x27ba10._0x2e8b70,0x6c3,_0x27ba10._0x149a99)](_0x3cf59e),!![];}),_0x4ea623=_0x4ea623[_0x123640(0x259,0xd1,0x492,_0x5769cb._0x5925a3)]((_0x26ebb5,_0x161ecb)=>({..._0x26ebb5,'source':{..._0x26ebb5[_0x123640(0x276,0x2c5,0x3d3,0x406)],'rank':_0x161ecb+0x1}}));const _0x3ba5a3={};if(_0x16bf84[_0x58f367(_0x5769cb._0x4ee3d4,0x220,_0x5769cb._0xfa6ae0,0x21e)][_0x123640(_0x5769cb._0x2d6446,_0x5769cb._0x46a2fd,_0x5769cb._0x542eb3,0x42e)]>0x0)_0x3ba5a3[_0x123640(0x5a4,_0x5769cb._0x545892,_0x5769cb._0x2d0fc0,_0x5769cb._0x5f793e)]=_0x16bf84['domains'];if(_0x16bf84[_0x123640(0x34e,_0x5769cb._0x23d9cb,_0x5769cb._0x43e102,_0x5769cb._0x22b9a4)]>0x0)_0x3ba5a3['recencyDays']=_0x16bf84[_0x123640(0x34e,0x4af,0x224,0x154)];function _0x123640(_0x388e79,_0x5b900e,_0x42020a,_0x697cde){return _0x2e4114(_0x388e79-_0x1a3f6a._0x34bfc0,_0x42020a,_0x42020a-0x1f1,_0x697cde-0x10a);}if(_0x16bf84[_0x123640(0x54f,0x306,_0x5769cb._0x55f2df,_0x5769cb._0x41b6f1)]!=='en')_0x3ba5a3[_0x58f367(0x275,0x39f,_0x5769cb._0x5408dd,0x38b)]=_0x16bf84[_0x58f367(0x1bf,_0x5769cb._0x548507,0x2e1,_0x5769cb._0x24a422)];if(_0x16bf84[_0x123640(0x5de,0x6e8,0x586,0x49e)])_0x3ba5a3[_0x123640(0x5de,_0x5769cb._0x59718c,0x775,_0x5769cb._0x2ddf02)]=_0x16bf84['region'];yield createToolOutput(formatResults(_0x4ea623),{'engine':_0x1661d3,'count':_0x4ea623['length'],'items':_0x4ea623,'query':_0x16bf84[_0x123640(0x50d,_0x5769cb._0x1e0cdc,_0x5769cb._0x74bcd1,_0x5769cb._0x35527a)],...Object[_0x123640(0x305,0x486,_0x5769cb._0x10974b,0x27a)](_0x3ba5a3)[_0x123640(0x3c9,_0x5769cb._0x38aaf4,_0x5769cb._0x46deb4,_0x5769cb._0x442976)]>0x0?{'appliedFilters':_0x3ba5a3}:{},'offset':_0x16bf84['offset'],'totalRequested':_0x16bf84[_0x123640(0x291,_0x5769cb._0x48e309,0x203,_0x5769cb._0x25c365)],'hydrated':_0x16bf84[_0x58f367(_0x5769cb._0x3f75d9,_0x5769cb._0x2f9bfe,_0x5769cb._0x558f9d,_0x5769cb._0xcef248)]});function _0x58f367(_0xb81a2,_0x265496,_0x3d8bd2,_0x4156ba){return _0x320f2f(_0xb81a2-_0x5ba78a._0x3670c6,_0x3d8bd2- -0x3dc,_0x3d8bd2-0x5a,_0x265496);}return void 0x0;}});}export{BackgroundBashProcessStore,BackgroundBashStartError,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,closeBoundNestedToolExecution,commitBoundToolExecutionTerminalState,connectMcpServer,createAnchoredFileError,createAskUserTool,createAssignTaskTool,createBashOutputTool,createBashTool,createDelegateToAgentTool,createDelegatedRunId,createDelegationTools,createFileEditTool,createFileNewTool,createFileReadTool,createGlobTool,createGrepTool,createInternalToolRuntime,createInvokeCommandTool,createKillShellTool,createLoadSkillTool,createLsTool,createLspService,createLspTool,createMcpConnectionGeneration,createMcpOAuthProvider,createMcpTimeoutSource,createMcpTool,createMcpToolName,createMockToolRuntime,createNormalizedFileSnapshot,createProcessTreeSignalAdapter,createProgram,createSendMessageTool,createShellExecTool,createStopAgentTool,createTodoWriteTool,createToolOutput,createViewFileTool,createWebFetchTool,createWebSearchTool,defineTool,deriveFinalToolOutput,drainBoundNestedToolPersistence,executeAnchoredFileEdit,extractOwnedMcpSafeError,filepath,files,filterBackgroundBashOutput,formatAnchoredFileRead,hashlineFileEditInputSchema,isProbablyBinary,isValidDelegatedRunId,isWithinDisplayColumns,normalizeToolOutputValue,prepareAnchoredFileEditApproval,prepareCanonicalFileEdit,projectMcpTools,redactMcpDiagnostic,replaceFirstExact,resolveAllowedPath,resolveBashExecutionTarget,resolveCanonicalAllowedFile,resolveDelegatedAgentOptions,resolveMcpTimeoutMs,resolveToolPermissionClass,resolveWorkspacePath,search,searchRegex,serializeNormalizedFile,sha256Bytes,structuredFileEditInputSchema,toMcpSafeError,toNuvinToolSchema,truncateToolOutput,validateGrepPattern,validateToolInput};
|
|
1
|
+
(function(_0x2ba259,_0x18f65b){const _0x31c549={_0x1f3dc5:0x88f,_0x44fb61:0x61c,_0x287ed1:0x7a4,_0x4dd72a:0x7c9,_0x6595e2:0x19f,_0x4319f2:0x254,_0x4acdca:0x796,_0x4f90f9:0x58d,_0x4a01a3:0x75e,_0x5667f1:0x90d,_0x11def1:0x973,_0x20e50b:0x7e8,_0x2d6039:0x8ae,_0x43f876:0x8c8,_0x59e889:0x75c,_0x19afad:0x96e,_0x4de3d3:0x898,_0x7070b9:0x509,_0x2d9d39:0x788,_0x408f2b:0x57c},_0x27711b={_0x1d11d8:0x32f},_0x4d3816=_0x2ba259();function _0x22bdde(_0x5467af,_0x14c41f,_0x398de9,_0x4280af){return _0x1b0d(_0x14c41f-0xc1,_0x398de9);}function _0x55aa06(_0x4ab4d7,_0x49f6b5,_0x204d38,_0xb5eb38){return _0x1b0d(_0xb5eb38-_0x27711b._0x1d11d8,_0x4ab4d7);}while(!![]){try{const _0x2f0ee1=parseInt(_0x55aa06(0x7c7,_0x31c549._0x1f3dc5,0x66f,0x788))/0x1*(parseInt(_0x55aa06(_0x31c549._0x44fb61,0x940,_0x31c549._0x287ed1,_0x31c549._0x4dd72a))/0x2)+parseInt(_0x22bdde(_0x31c549._0x6595e2,_0x31c549._0x4319f2,0x198,0x237))/0x3+parseInt(_0x55aa06(0x7a0,_0x31c549._0x4acdca,0x6bd,_0x31c549._0x4f90f9))/0x4+-parseInt(_0x55aa06(_0x31c549._0x4a01a3,_0x31c549._0x5667f1,_0x31c549._0x11def1,0x913))/0x5*(-parseInt(_0x55aa06(0x8cc,0xa5a,_0x31c549._0x20e50b,_0x31c549._0x2d6039))/0x6)+-parseInt(_0x55aa06(0x831,0xab3,0xb03,0x93b))/0x7*(parseInt(_0x55aa06(0x6a5,_0x31c549._0x43f876,0x76c,_0x31c549._0x59e889))/0x8)+parseInt(_0x55aa06(0x4cb,_0x31c549._0x19afad,_0x31c549._0x4de3d3,0x71e))/0x9*(parseInt(_0x55aa06(0x6e5,0x6ef,0x483,_0x31c549._0x7070b9))/0xa)+-parseInt(_0x55aa06(0x5d9,_0x31c549._0x2d9d39,0x33d,_0x31c549._0x408f2b))/0xb;if(_0x2f0ee1===_0x18f65b)break;else _0x4d3816['push'](_0x4d3816['shift']());}catch(_0x5bc0af){_0x4d3816['push'](_0x4d3816['shift']());}}}(_0x873b,0x48589));import{Agent,ToolExecutionError,ToolRegistry,closeBoundNestedToolExecution,commitBoundToolExecutionTerminalState,createInternalToolRuntime,createToolOutput,defineTool,deriveFinalToolOutput,drainBoundNestedToolPersistence,normalizeToolOutputValue,resolveToolPermissionClass,validateToolInput}from'../chunk-NJFOEZ6V.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{IsolateLimitError,IsolationUnavailableError,classifyIsolateError,loadIsolatedVm}from'../chunk-EQGBU73Q.js';import{fileURLToPath}from'url';import{readFile}from'fs/promises';import{pathToFileURL}from'url';import{createMessageConnection,StreamMessageReader,StreamMessageWriter}from'vscode-jsonrpc/node.js';import _0x59773b from'path';var EXTENSION_TO_LANGUAGE={'.ts':_0x1957f6(0xa,0xbd,0x341,0x234),'.tsx':_0x39a391(0x95e,0x7b3,0x91c,0x77d),'.js':'javascript','.jsx':'javascriptreact','.mjs':_0x1957f6(0x255,0x3e9,0x534,0x385),'.cjs':'javascript','.mts':_0x1957f6(0x3aa,0x45,0x38a,0x234),'.cts':_0x39a391(0x73c,0x853,0x739,0x6aa),'.json':_0x39a391(0x740,0xb12,0x936,0x7cd),'.jsonc':_0x39a391(0x921,0x8b4,0x8b7,0x65c)};function getLanguageId(_0x36e879){const _0x55b5bd={_0x2ab062:0x5cd,_0x3c2d95:0x698,_0x53b463:0x4c6},_0x588ab4={_0x32dd59:0xc};function _0x3e92cf(_0x204b64,_0x4d8a6a,_0x396f2e,_0xb74ded){return _0x1957f6(_0x204b64-0x108,_0x4d8a6a-_0x588ab4._0x32dd59,_0x396f2e,_0x204b64-0x1e4);}return EXTENSION_TO_LANGUAGE[_0x59773b['extname'](_0x36e879)[_0x3e92cf(_0x55b5bd._0x2ab062,_0x55b5bd._0x3c2d95,0x78d,_0x55b5bd._0x53b463)]()];}var DEFAULT_DIAGNOSTICS_TIMEOUT_MS=0x3e8,DEFAULT_LSP_REQUEST_TIMEOUT_MS=0x7530;function uriForPath(_0x232dd8){const _0x34bf1b={_0x1565e1:0x6b2,_0x296ba6:0x5bc},_0x51e3ef={_0x36974f:0x7d};function _0x20aeaa(_0x4ff0eb,_0x43aa19,_0x41b8e4,_0x3cc6cf){return _0x1957f6(_0x4ff0eb-_0x51e3ef._0x36974f,_0x43aa19-0x135,_0x43aa19,_0x3cc6cf-0x222);}return pathToFileURL(_0x232dd8)[_0x20aeaa(0x4ed,_0x34bf1b._0x1565e1,_0x34bf1b._0x296ba6,0x584)]();}function textDocumentPosition(_0xf728fb){const _0x30cd0d={_0x5bc43f:0x376,_0x2b0252:0x566,_0x7736ad:0x795},_0x204b50={_0x680964:0x197,_0x1a9cb7:0x1e8},_0x4638be={_0x2495c4:0x173};function _0x5df64c(_0x2e7d3e,_0x2cbf4b,_0x215dde,_0x377927){return _0x39a391(_0x2e7d3e-0x1bd,_0x2cbf4b-0x132,_0x2cbf4b- -_0x4638be._0x2495c4,_0x2e7d3e);}function _0x783d69(_0x2e4dad,_0x4c0521,_0x49871a,_0x17cc49){return _0x39a391(_0x2e4dad-_0x204b50._0x680964,_0x4c0521-_0x204b50._0x1a9cb7,_0x2e4dad- -0x4f5,_0x4c0521);}return{'textDocument':{'uri':uriForPath(_0xf728fb[_0x783d69(_0x30cd0d._0x5bc43f,0x175,_0x30cd0d._0x2b0252,0x278)])},'position':{'line':_0xf728fb[_0x5df64c(0x2f5,0x545,_0x30cd0d._0x7736ad,0x55f)],'character':_0xf728fb['character']}};}function normalizeLocations(_0x565bca){const _0x223ca9={_0x233a58:0x500},_0x4e9812={_0x2fec0e:0x186,_0x577e25:0xa,_0x30ae45:0x36e};function _0x5820e4(_0x29e242,_0x2c0094,_0x492593,_0x3c7454){return _0x39a391(_0x29e242-_0x4e9812._0x2fec0e,_0x2c0094-_0x4e9812._0x577e25,_0x2c0094- -_0x4e9812._0x30ae45,_0x29e242);}if(!_0x565bca)return[];return Array[_0x5820e4(0x4d7,0x4bb,0x291,_0x223ca9._0x233a58)](_0x565bca)?_0x565bca:[_0x565bca];}async function withLspTimeout(_0x49dc91,_0x551925,_0x107abb){const _0x5d9e73={_0x503f39:0x49f,_0x1bbfb4:0x5cf,_0x12f7f3:0x7bd,_0x495299:0x4c2,_0x35e8ea:0x3e7,_0x314fe2:0x2a8,_0x3265f9:0x462},_0x11085a={_0x248abf:0x31c,_0x48442d:0x5e4,_0x1f00ed:0x441,_0x388928:0x2e6,_0x213497:0x739},_0x1f2770={_0x15d382:0xe1},_0x565656={_0x5be164:0x1d8,_0x39669f:0x3a0};if(!Number[_0x3bdd90(_0x5d9e73._0x503f39,0x2a6,0x2e3,0x310)](_0x551925)||_0x551925<0x1)throw new Error(_0x27822e(_0x5d9e73._0x1bbfb4,0x6b6,0x7c5,_0x5d9e73._0x12f7f3)+_0x107abb+_0x27822e(_0x5d9e73._0x495299,_0x5d9e73._0x35e8ea,_0x5d9e73._0x314fe2,_0x5d9e73._0x3265f9));function _0x27822e(_0x4ea107,_0xbf9bfd,_0xc7a1e8,_0x348822){return _0x1957f6(_0x4ea107-_0x565656._0x5be164,_0xbf9bfd-0x2,_0xbf9bfd,_0x4ea107-_0x565656._0x39669f);}function _0x3bdd90(_0x2c4c05,_0x338673,_0x417267,_0x373119){return _0x39a391(_0x2c4c05-_0x1f2770._0x15d382,_0x338673-0x7f,_0x417267- -0x5bf,_0x2c4c05);}let _0x2b3e38;try{return await Promise['race']([_0x49dc91,new Promise((_0x5dc555,_0x2bdec9)=>{_0x2b3e38=setTimeout(()=>{const _0x2a85ab={_0x1c4f97:0x189};function _0x129c32(_0x24c35e,_0x24c764,_0x3d1c6e,_0x437676){return _0x1b0d(_0x24c764-0x24f,_0x437676);}function _0x5e5f99(_0xfa8748,_0x5bcad6,_0x9491f9,_0x5dfaea){return _0x1b0d(_0xfa8748- -_0x2a85ab._0x1c4f97,_0x5bcad6);}_0x2bdec9(new Error(_0x5e5f99(0x46d,_0x11085a._0x248abf,_0x11085a._0x48442d,0x63f)+_0x107abb+_0x129c32(_0x11085a._0x1f00ed,0x411,_0x11085a._0x388928,0x4d6)+_0x551925+_0x129c32(0x96d,0x78f,0x7ee,_0x11085a._0x213497)));},_0x551925);})]);}finally{if(_0x2b3e38!==void 0x0)clearTimeout(_0x2b3e38);}}async function createLspClient(_0x9c7383){const _0x5d8086={_0x29c4c3:0x471,_0x245312:0x2bb,_0x1378e0:0x4b9,_0x1599b2:0x532,_0x13fc56:0x18c,_0xd4cfa:0x10,_0x18de36:0x192,_0x208ad7:0x3c4,_0x453edb:0x1ec,_0x27703d:0x77e,_0x4a3833:0x7a0,_0x46c418:0x89a,_0x5255f0:0x908,_0x3b2e2a:0x6d9,_0x3d40d1:0x6ba,_0x242dd:0x453,_0x5638b9:0x666,_0x5f53eb:0x1e1,_0x559058:0x254,_0x2a9e91:0x21d,_0x52ce0a:0x471,_0x261289:0x5e9,_0x4f2418:0x593,_0x429885:0x187,_0x312d1b:0x25,_0x434397:0x9d,_0x5e00ab:0x444,_0x5c95d4:0x5e5,_0x4d4fa6:0x373,_0x4bdb6e:0x6f4,_0x22c2e1:0x3a0,_0x596b36:0x573,_0x57fd7b:0x3e2},_0x656af={_0x34295f:0x640,_0xf33b4d:0x47c,_0x198397:0x1ea,_0xa96e00:0x298,_0x4f6c73:0x101,_0x1aa032:0x19,_0x175e61:0x8f,_0x3bca69:0x25b,_0x2fa6bc:0x6b6,_0x2940ec:0x5d4,_0xeda50c:0x490},_0x13cc3e={_0x43c532:0x6d},_0x83f2ab={_0x563bc7:0x29,_0x2b1b4e:0xf8,_0x341026:0xd7,_0x18f6e7:0x1f3,_0x1b4937:0x63,_0x147257:0x8d},_0x532c5c={_0x17e9a8:0x4e8,_0x4a417e:0x1a0,_0x29d318:0x16f},_0x510849={_0x1dddfb:0x1e8},_0xeff7f3={_0x5acb38:0x477,_0x174f09:0x69d},_0xb45bde={_0x166662:0x99,_0x1ede3d:0x1b4,_0x32e6e4:0x3d},_0x24094e={_0x744358:0x1f3,_0x38ebfe:0x2e7},_0x4b79c6={_0x5f3f9f:0x1d3},_0x2eee0f={_0x3b74d3:0x61f,_0xdf185f:0x473},_0x353c5d={_0x1811b1:0x304,_0x1b0e57:0x1d3},_0xb94d69={_0x189a2c:0x3e1,_0x3e9deb:0x4fd},_0x484505={_0x1b7642:0x6e,_0x43d5d2:0x1f8,_0x2a819d:0x187,_0x553fe2:0x96},_0x21a137={_0x649325:0x552,_0x21083f:0x7ea},_0x33ce90={_0x4db84a:0x509,_0x24d72a:0x6b5,_0xe5e28b:0x71e,_0x33505a:0x833,_0x12c5ab:0x507,_0x9db0a9:0x4dc,_0x4c781f:0x718,_0x44637e:0x55b},_0x16c075={_0x34bc5d:0x19c,_0x5e4343:0x1c9,_0x28c9ba:0xaf},_0x5dbb87={_0x2a178f:0x70b},_0x5db4d5={_0x2e8b5e:0x21,_0x24cd11:0x1ac};function _0x4908ef(_0x444617,_0x520bc8,_0x3cdb90,_0x94ec0b){return _0x1957f6(_0x444617-0x47,_0x520bc8-0x7d,_0x444617,_0x520bc8-0x3df);}const _0x223bf7=_0x9c7383[_0x4908ef(0x5e3,_0x5d8086._0x29c4c3,_0x5d8086._0x245312,_0x5d8086._0x1378e0)][_0x361e6b(0x4f1,0x36d,_0x5d8086._0x1599b2,_0x5d8086._0x13fc56)][_0x361e6b(_0x5d8086._0xd4cfa,0x194,_0x5d8086._0x18de36,_0x5d8086._0x208ad7)],_0x136b8d=_0x9c7383[_0x361e6b(_0x5d8086._0x453edb,0x23e,0x2bc,0x27e)][_0x4908ef(_0x5d8086._0x27703d,0x5a0,_0x5d8086._0x4a3833,0x65d)]['stdin'];if(!_0x223bf7||!_0x136b8d)throw new Error('LSP\x20server\x20process\x20must\x20expose\x20stdout\x20and\x20stdin\x20streams');const _0x4dea54=_0x9c7383[_0x4908ef(_0x5d8086._0x46c418,0x718,_0x5d8086._0x5255f0,0x4fe)]??DEFAULT_LSP_REQUEST_TIMEOUT_MS,_0x20a264=createMessageConnection(new StreamMessageReader(_0x223bf7),new StreamMessageWriter(_0x136b8d)),_0x4e4807=new Map();function _0x361e6b(_0x210050,_0x369977,_0x2d5dac,_0x54172f){return _0x1957f6(_0x210050-_0x5db4d5._0x2e8b5e,_0x369977-0xc7,_0x210050,_0x369977-_0x5db4d5._0x24cd11);}const _0x501723=new Map();let _0x4b8587=![];const _0x5b4551=async(_0x364132,_0x5f3123)=>{function _0x46a4af(_0x926758,_0x38fb48,_0x294e09,_0x14faa4){return _0x4908ef(_0x926758,_0x14faa4-0xe9,_0x294e09-0xe0,_0x14faa4-0x1d4);}return withLspTimeout(_0x20a264[_0x46a4af(0x92c,0x7bc,0x790,_0x5dbb87._0x2a178f)](_0x364132,_0x5f3123),_0x4dea54,_0x364132);};_0x20a264[_0x4908ef(_0x5d8086._0x3b2e2a,_0x5d8086._0x3d40d1,0x496,0x559)](_0x361e6b(0x65a,_0x5d8086._0x242dd,0x5e0,_0x5d8086._0x5638b9),_0x158086=>{_0x4e4807[_0x3c715f(0x686,_0x33ce90._0x4db84a,0x4e1,_0x33ce90._0x24d72a)](_0x158086[_0x3c715f(0x611,0x465,_0x33ce90._0xe5e28b,_0x33ce90._0x33505a)],_0x158086[_0x3c715f(_0x33ce90._0x12c5ab,_0x33ce90._0x9db0a9,_0x33ce90._0x4c781f,0x62d)]);const _0x523b7b=_0x501723[_0x3c715f(0x3d7,0x400,0x5d9,0x5db)](_0x158086['uri']);if(!_0x523b7b)return;_0x501723[_0x52fa68(0x434,0x4db,_0x33ce90._0x44637e,0x617)](_0x158086['uri']);function _0x3c715f(_0xb894ed,_0x102a4b,_0x518ed5,_0x25435b){return _0x4908ef(_0x102a4b,_0xb894ed- -0x181,_0x518ed5-0x85,_0x25435b-0x10a);}function _0x52fa68(_0x31627f,_0x8846ba,_0x100a02,_0x127ae1){return _0x361e6b(_0x31627f,_0x127ae1-_0x16c075._0x34bc5d,_0x100a02-_0x16c075._0x5e4343,_0x127ae1-_0x16c075._0x28c9ba);}for(const _0xc616b8 of _0x523b7b)_0xc616b8();}),_0x20a264['listen']();let _0x318551;try{_0x318551=await _0x5b4551(_0x361e6b(0x1c0,_0x5d8086._0x5f53eb,0x2d8,_0x5d8086._0x559058),{'processId':process['pid'],'rootUri':uriForPath(_0x9c7383['root']),'workspaceFolders':[{'uri':uriForPath(_0x9c7383['root']),'name':_0x9c7383[_0x361e6b(_0x5d8086._0x2a9e91,0x425,0x2c2,0x581)]['id']}],'initializationOptions':_0x9c7383[_0x4908ef(0x6a4,_0x5d8086._0x52ce0a,_0x5d8086._0x261289,_0x5d8086._0x4f2418)][_0x361e6b(_0x5d8086._0x429885,0x23f,_0x5d8086._0x312d1b,0x29a)]??{},'capabilities':{'textDocument':{'callHierarchy':{'dynamicRegistration':![]},'definition':{'dynamicRegistration':![]},'hover':{'dynamicRegistration':![],'contentFormat':[_0x361e6b(0x89,0x260,0x14c,_0x5d8086._0x434397),_0x361e6b(0x2df,0x3d6,0x5b7,0x3c8)]},'implementation':{'dynamicRegistration':![]},'references':{'dynamicRegistration':![]},'synchronization':{'didSave':!![],'dynamicRegistration':![],'willSave':![]}},'workspace':{'symbol':{'dynamicRegistration':![]},'workspaceFolders':!![]}}});}catch(_0x241716){_0x20a264[_0x4908ef(_0x5d8086._0x5e00ab,_0x5d8086._0x5c95d4,0x810,0x3b3)](),_0x9c7383[_0x4908ef(0x680,_0x5d8086._0x29c4c3,0x5a9,_0x5d8086._0x4d4fa6)]['process'][_0x4908ef(0x55c,_0x5d8086._0x4bdb6e,0x94e,0x513)]();throw _0x241716;}_0x20a264['sendNotification'](_0x361e6b(0x47e,_0x5d8086._0x22c2e1,0x3bd,_0x5d8086._0x596b36),{});const _0x19890b={'serverId':_0x9c7383['server']['id'],'root':_0x9c7383['root'],'connection':_0x20a264,'diagnostics':_0x4e4807,'capabilities':_0x318551[_0x361e6b(0x605,_0x5d8086._0x57fd7b,0x53e,0x23b)]??{},'notify':{async 'open'({path:_0x1734fb}){const _0xd4df16=await readFile(_0x1734fb,'utf8');_0x20a264['sendNotification']('textDocument/didOpen',{'textDocument':{'uri':uriForPath(_0x1734fb),'languageId':getLanguageId(_0x1734fb)??'plaintext','version':0x1,'text':_0xd4df16}});},async 'change'({path:_0x2a2abc,version:_0x5e30e3}){const _0x2379b6={_0x55829c:0x276},_0xbd0bc2=await readFile(_0x2a2abc,'utf8');function _0xb4bb5(_0x5d6199,_0x4c5a6a,_0x357426,_0x1ce2ed){return _0x361e6b(_0x357426,_0x5d6199-_0x2379b6._0x55829c,_0x357426-0xea,_0x1ce2ed-0x1b6);}_0x20a264['sendNotification'](_0xb4bb5(0x773,_0x21a137._0x649325,_0x21a137._0x21083f,0x7ee),{'textDocument':{'uri':uriForPath(_0x2a2abc),'version':_0x5e30e3},'contentChanges':[{'text':_0xbd0bc2}]});},async 'close'({path:_0x486f55}){const _0x57afd1={_0x2bedc5:0xfe,_0x27afbf:0x7f,_0x184862:0x18b},_0x4988ad={_0x2c3ee6:0x1cd};function _0x57fc6a(_0x67c609,_0x1afa71,_0x5e6fe7,_0x5150db){return _0x4908ef(_0x5150db,_0x1afa71- -0x5af,_0x5e6fe7-0xec,_0x5150db-_0x4988ad._0x2c3ee6);}function _0x1e5a25(_0x598eac,_0x11ed53,_0x468fe6,_0x40645a){return _0x361e6b(_0x598eac,_0x40645a-_0x57afd1._0x2bedc5,_0x468fe6-_0x57afd1._0x27afbf,_0x40645a-_0x57afd1._0x184862);}_0x20a264[_0x57fc6a(-0x1fb,-0x4e,-_0x484505._0x1b7642,-_0x484505._0x43d5d2)](_0x57fc6a(-0x41,0x166,_0x484505._0x2a819d,-_0x484505._0x553fe2),{'textDocument':{'uri':uriForPath(_0x486f55)}});}},'request':{async 'definition'(_0x348284){return normalizeLocations(await _0x5b4551('textDocument/definition',textDocumentPosition(_0x348284)));},async 'references'(_0x1c8ed9){function _0x2e27da(_0x3ff338,_0x393d1d,_0x148577,_0x893dca){return _0x361e6b(_0x148577,_0x893dca-0x1c2,_0x148577-0xbb,_0x893dca-0xd8);}return normalizeLocations(await _0x5b4551(_0x2e27da(_0xb94d69._0x189a2c,_0xb94d69._0x3e9deb,0x525,0x4a1),{...textDocumentPosition(_0x1c8ed9),'context':{'includeDeclaration':!![]}}));},async 'hover'(_0xbdddc1){const _0x37b56={_0x477f92:0x239,_0x38d615:0xde,_0x55b552:0x136};function _0x7be70d(_0x3bb0d6,_0x14e355,_0x290146,_0x5987e9){return _0x361e6b(_0x14e355,_0x3bb0d6-_0x37b56._0x477f92,_0x290146-_0x37b56._0x38d615,_0x5987e9-_0x37b56._0x55b552);}return await _0x5b4551(_0x7be70d(0x77c,0x705,0x8c8,0x7eb),textDocumentPosition(_0xbdddc1))??null;},async 'documentSymbol'(_0x6a9d40){function _0x110912(_0x5b9ff2,_0x2ce787,_0x44037d,_0x16ce83){return _0x4908ef(_0x2ce787,_0x16ce83- -_0x353c5d._0x1811b1,_0x44037d-0x2f,_0x16ce83-_0x353c5d._0x1b0e57);}return await _0x5b4551(_0x110912(0x230,0x576,_0x2eee0f._0x3b74d3,_0x2eee0f._0xdf185f),{'textDocument':{'uri':uriForPath(_0x6a9d40)}})??[];},async 'workspaceSymbol'(_0x1d1968){return await _0x5b4551('workspace/symbol',{'query':_0x1d1968})??[];},async 'implementation'(_0x5bb819){function _0x43f0fc(_0x295457,_0xb3a36b,_0x3027b2,_0xa2766f){return _0x361e6b(_0xa2766f,_0x3027b2- -0x19c,_0x3027b2-0x121,_0xa2766f-_0x4b79c6._0x5f3f9f);}return normalizeLocations(await _0x5b4551(_0x43f0fc(0x286,_0x24094e._0x744358,_0x24094e._0x38ebfe,0x3dd),textDocumentPosition(_0x5bb819)));},async 'prepareCallHierarchy'(_0x524a97){function _0xec6655(_0x43cfc2,_0x27a59b,_0x255811,_0x517050){return _0x4908ef(_0x27a59b,_0x43cfc2- -0x3cb,_0x255811-0x1f0,_0x517050-0x175);}return await _0x5b4551(_0xec6655(_0xb45bde._0x166662,_0xb45bde._0x1ede3d,-_0xb45bde._0x32e6e4,-0x196),textDocumentPosition(_0x524a97))??[];},async 'incomingCalls'(_0x111d3d){function _0x2b1946(_0x163e4b,_0x4ea321,_0x1bd36a,_0x281241){return _0x4908ef(_0x1bd36a,_0x163e4b- -0x143,_0x1bd36a-0x14f,_0x281241-0x1d5);}return await _0x5b4551(_0x2b1946(0x6b1,_0xeff7f3._0x5acb38,_0xeff7f3._0x174f09,0x5b9),{'item':_0x111d3d})??[];},async 'outgoingCalls'(_0x1c2bd0){return await _0x5b4551('callHierarchy/outgoingCalls',{'item':_0x1c2bd0})??[];}},'waitForDiagnostics'({path:_0x58f823,timeoutMs:timeoutMs=DEFAULT_DIAGNOSTICS_TIMEOUT_MS}){const _0x3ee2ad={_0x468c58:0x81d,_0x3673b3:0x8b8,_0x4ad37b:0x73e,_0x1a317d:0x6e8},_0x42daa9={_0x235815:0x3c9},_0x4fe25f={_0x37f785:0x25,_0xada078:0x1b5,_0x510571:0x1f1,_0x4cf23a:0x4f8,_0x67d75f:0x420,_0x3e7102:0x365},_0x3d38ee=uriForPath(_0x58f823);function _0x1ec5b3(_0x120144,_0x54006c,_0x4fa367,_0x4314d8){return _0x361e6b(_0x54006c,_0x4314d8- -0x8d,_0x4fa367-_0x510849._0x1dddfb,_0x4314d8-0x19d);}if(_0x4e4807[_0x1ec5b3(_0x83f2ab._0x563bc7,_0x83f2ab._0x2b1b4e,0x318,_0x83f2ab._0x341026)](_0x3d38ee))return Promise[_0x12ecf4(_0x83f2ab._0x18f6e7,-_0x83f2ab._0x1b4937,0x16d,-_0x83f2ab._0x147257)]();function _0x12ecf4(_0x17ecaa,_0x2eec28,_0xeac686,_0x542409){return _0x4908ef(_0x2eec28,_0xeac686- -_0x532c5c._0x17e9a8,_0xeac686-_0x532c5c._0x4a417e,_0x542409-_0x532c5c._0x29d318);}return new Promise(_0x576b37=>{const _0x140041={_0x520b56:0x52},_0x26da58=setTimeout(()=>{const _0x565b9d={_0x36eddf:0x18e},_0x17d94f=_0x501723[_0x2346a9(-0x71,_0x4fe25f._0x37f785,0x367,_0x4fe25f._0xada078)](_0x3d38ee);_0x17d94f?.[_0x2346a9(_0x4fe25f._0x510571,0x227,_0x4fe25f._0x4cf23a,0x30b)](_0x5d9af2);if(_0x17d94f?.[_0x5918cc(0x52a,0x354,_0x4fe25f._0x67d75f,0x423)]===0x0)_0x501723[_0x5918cc(0x2db,0x42e,0x4eb,_0x4fe25f._0x3e7102)](_0x3d38ee);function _0x2346a9(_0x4177,_0x2b0743,_0x2e0200,_0xa60126){return _0x1b0d(_0xa60126- -_0x565b9d._0x36eddf,_0x2e0200);}function _0x5918cc(_0x527f14,_0x3ed91f,_0x35a0f1,_0x411895){return _0x1b0d(_0x35a0f1-_0x140041._0x520b56,_0x3ed91f);}_0x576b37();},timeoutMs),_0x5d9af2=()=>{clearTimeout(_0x26da58),_0x576b37();},_0x4edc62=_0x501723['get'](_0x3d38ee)??new Set();function _0x2cadbe(_0x363385,_0x568d74,_0x415efd,_0x5a4b06){return _0x12ecf4(_0x363385-0x77,_0x415efd,_0x5a4b06-_0x42daa9._0x235815,_0x5a4b06-0x1ac);}_0x4edc62['add'](_0x5d9af2),_0x501723[_0x2cadbe(_0x3ee2ad._0x468c58,_0x3ee2ad._0x3673b3,_0x3ee2ad._0x4ad37b,_0x3ee2ad._0x1a317d)](_0x3d38ee,_0x4edc62);});},async 'shutdown'(){const _0x5316a0={_0x4bd29e:0xa4,_0x3e3797:0x168};function _0x1be2c9(_0x52cd7d,_0x125bd1,_0x3f698e,_0x3d256e){return _0x4908ef(_0x3d256e,_0x3f698e- -0x460,_0x3f698e-0xea,_0x3d256e-_0x13cc3e._0x43c532);}if(_0x4b8587)return;_0x4b8587=!![];function _0x1bc42d(_0x4e71cd,_0x296eb7,_0x29264b,_0xc3f32f){return _0x4908ef(_0x29264b,_0x4e71cd-0x34,_0x29264b-_0x5316a0._0x4bd29e,_0xc3f32f-_0x5316a0._0x3e3797);}try{await _0x5b4551(_0x1bc42d(_0x656af._0x34295f,0x76c,_0x656af._0xf33b4d,0x3f4),null),_0x20a264[_0x1be2c9(_0x656af._0x198397,0x2e,0x101,_0x656af._0xa96e00)](_0x1be2c9(_0x656af._0x4f6c73,_0x656af._0x1aa032,_0x656af._0x175e61,_0x656af._0x3bca69));}catch{}finally{_0x20a264[_0x1bc42d(0x619,0x52a,0x7a6,_0x656af._0x2fa6bc)](),_0x9c7383[_0x1bc42d(0x4a5,_0x656af._0x2940ec,0x4c3,_0x656af._0xeda50c)]['process']['kill']();}}};return _0x19890b;}import{spawn as _0x1dedf5}from'child_process';import{access as _0x985f21}from'fs/promises';import _0x45c174 from'path';import{spawn}from'child_process';import{access,mkdir}from'fs/promises';import _0x26ff7c from'os';import _0x5643ad from'path';import _0x210085 from'which';var installPromises=new Map();function sanitizePackageName(_0x3ae0b0){const _0x15ffff={_0x46bb30:0x612,_0xb3b8c3:0x777,_0x235615:0x56c,_0x520fa9:0x617,_0x36de45:0x14e,_0x4888af:0x36b,_0x412df0:0x5a8},_0x3f8e76={_0x29be87:0xe5},_0x58132e={_0x13b654:0x127};function _0x2e791a(_0x84a541,_0x27e9b0,_0x589177,_0x4a1266){return _0x1957f6(_0x84a541-_0x58132e._0x13b654,_0x27e9b0-0x13a,_0x27e9b0,_0x589177-0x2e6);}function _0xe128b8(_0x676598,_0x3a8353,_0x5a6ffb,_0x5f107d){return _0x1957f6(_0x676598-0xb8,_0x3a8353-0x160,_0x3a8353,_0x5a6ffb-_0x3f8e76._0x29be87);}return _0x3ae0b0[_0x2e791a(_0x15ffff._0x46bb30,_0x15ffff._0xb3b8c3,_0x15ffff._0x235615,_0x15ffff._0x520fa9)](/^@/,'')[_0xe128b8(0x18a,_0x15ffff._0x36de45,_0x15ffff._0x4888af,_0x15ffff._0x412df0)](/[/]/g,'__');}function binaryNameForPlatform(_0x4fbb57){const _0x4be031={_0x3d021e:0x15a,_0x2a7630:0x3ab},_0x1a3ae4={_0x46ceb8:0x16d,_0x4cc648:0x1e5};function _0x2d1649(_0x317f85,_0x149502,_0x35b438,_0x2ed878){return _0x1957f6(_0x317f85-_0x1a3ae4._0x46ceb8,_0x149502-0x123,_0x317f85,_0x149502- -_0x1a3ae4._0x4cc648);}return process['platform']==='win32'?_0x4fbb57+_0x2d1649(0x2f5,0x210,_0x4be031._0x3d021e,_0x4be031._0x2a7630):_0x4fbb57;}async function exists(_0x3cbfab){try{return await access(_0x3cbfab),!![];}catch{return![];}}function runNpmInstall(_0x355a3d,_0x91d440,_0x445dae){const _0x1b2669={_0x1bfa32:0x6e6,_0x251baa:0x4b3,_0x141bf5:0x4e5,_0x26eeb1:0x6dc,_0x3e5f7d:0x6cc,_0x1f32de:0x6e3,_0x36c31f:0x756},_0x28db13={_0x349675:0x1c7};return new Promise(_0x57c5f9=>{function _0x25c586(_0x3a7205,_0x48acf9,_0x53834e,_0x400927){return _0x1b0d(_0x48acf9-0x286,_0x53834e);}const _0x1874f9=spawn(_0x29afb0(0x8c5,_0x1b2669._0x1bfa32,_0x1b2669._0x251baa,0x6c9),[_0x25c586(0x484,_0x1b2669._0x141bf5,0x384,0x6a9),_0x25c586(_0x1b2669._0x26eeb1,_0x1b2669._0x3e5f7d,_0x1b2669._0x1f32de,0x4e9),_0x355a3d,_0x91d440],{'env':_0x445dae,'stdio':'ignore'});_0x1874f9['on'](_0x29afb0(0x660,0x5ff,0x415,0x765),()=>_0x57c5f9(![]));function _0x29afb0(_0x4f6f05,_0xbba5b0,_0x1c1778,_0x2e9301){return _0x1b0d(_0xbba5b0-_0x28db13._0x349675,_0x2e9301);}_0x1874f9['on'](_0x29afb0(0x5b6,_0x1b2669._0x36c31f,0x908,0x94d),_0xcb13fb=>_0x57c5f9(_0xcb13fb===0x0));});}function shouldDisableLspDownload(_0x58eebc=process[_0x39a391(0x659,0x40e,0x5ab,0x712)]){const _0xd40547={_0x531092:0x5ab,_0x529b93:0x714,_0x4a6692:0x75b,_0x3e4e0d:0x17e,_0x1ce0c8:0x60},_0x2bda1c={_0x9783ab:0x170,_0x1f7f2c:0x36f},_0x419737={_0x2a21ae:0x1a3,_0xd06a45:0x192},_0x36a407=_0x58eebc[_0x701738(_0xd40547._0x531092,0x523,0x6ae,0x69f)]?.[_0x19e08f(0x758,_0xd40547._0x529b93,_0xd40547._0x4a6692,0x76b)]();function _0x701738(_0xaca7f5,_0xf322ee,_0x2da95b,_0x36a0ee){return _0x1957f6(_0xaca7f5-_0x419737._0x2a21ae,_0xf322ee-_0x419737._0xd06a45,_0xaca7f5,_0xf322ee-0x10d);}function _0x19e08f(_0x1ad49d,_0x24c11d,_0x17e928,_0x3df67b){return _0x1957f6(_0x1ad49d-_0x2bda1c._0x9783ab,_0x24c11d-0x57,_0x3df67b,_0x1ad49d-_0x2bda1c._0x1f7f2c);}return _0x36a407===_0x701738(0x266,_0xd40547._0x3e4e0d,0x1b6,-_0xd40547._0x1ce0c8)||_0x36a407==='1'||_0x36a407==='yes'||_0x36a407==='on';}function getLspPackageDir(_0x5ef69d){const _0x3aaeb2={_0x59068a:0xbb,_0x2e1ab3:0x138,_0x192043:0x26f,_0x550f4d:0x115,_0x24531c:0x2d7,_0x29ac57:0x119,_0x394fdf:0x20,_0x13cd83:0x6d,_0x2dc55b:0x2b7,_0x148831:0x3d},_0x22df6a={_0x4133ba:0x1b0,_0x345e82:0x105},_0x1fc444={_0x184c72:0x68c};function _0x358911(_0x21d955,_0x967efd,_0x4b80b7,_0xc85a58){return _0x39a391(_0x21d955-0xf3,_0x967efd-0x5,_0x967efd- -_0x1fc444._0x184c72,_0x21d955);}function _0x31a922(_0x3b0a15,_0x485cb6,_0xd97d30,_0x12a8ba){return _0x1957f6(_0x3b0a15-_0x22df6a._0x4133ba,_0x485cb6-0x43,_0x485cb6,_0x12a8ba- -_0x22df6a._0x345e82);}return _0x5643ad[_0x31a922(0x92,-_0x3aaeb2._0x59068a,0x186,0x7)](_0x26ff7c[_0x358911(0x2a0,0x1f8,_0x3aaeb2._0x2e1ab3,_0x3aaeb2._0x192043)](),_0x31a922(0x430,_0x3aaeb2._0x550f4d,_0x3aaeb2._0x24531c,0x360),_0x358911(_0x3aaeb2._0x29ac57,0x9b,_0x3aaeb2._0x394fdf,0x3c),_0x358911(0x7d,-_0x3aaeb2._0x13cd83,-_0x3aaeb2._0x2dc55b,-_0x3aaeb2._0x148831),sanitizePackageName(_0x5ef69d));}function getLspBinDir(_0x1b3163){const _0x19cac5={_0x33ac49:0x4b3};function _0x16f232(_0x2cf02a,_0x2019c5,_0x1ceff0,_0x145a44){return _0x39a391(_0x2cf02a-0x14b,_0x2019c5-0x192,_0x2cf02a- -0x12a,_0x1ceff0);}return _0x5643ad['join'](getLspPackageDir(_0x1b3163),_0x16f232(0x4b6,0x557,_0x19cac5._0x33ac49,0x381),'.bin');}async function findPackageBinary(_0x1446ec,_0x12a8ef){const _0x55aea1={_0x1ec014:0x49f,_0x39fe48:0x180,_0x21afdc:0x1b4,_0x2311aa:0x5c,_0x31c6e4:0x112},_0x5e2429={_0x1fa197:0x187},_0x32f974={_0x36f832:0x1eb};function _0x27e676(_0x46fd23,_0x24d4d1,_0x4fe19d,_0x51208d){return _0x39a391(_0x46fd23-0xc9,_0x24d4d1-0x1e,_0x46fd23- -_0x32f974._0x36f832,_0x4fe19d);}let _0xc9078c=_0x5643ad[_0x27e676(0x590,0x4af,0x381,_0x55aea1._0x1ec014)](_0x12a8ef);function _0xad9ad5(_0x30a348,_0x48e656,_0x135330,_0x453153){return _0x39a391(_0x30a348-0xca,_0x48e656-_0x5e2429._0x1fa197,_0x135330- -0x584,_0x453153);}const _0x57aaa4=binaryNameForPlatform(_0x1446ec);while(!![]){const _0x1ce9b0=_0x5643ad[_0xad9ad5(-0x1c0,-0x66,0x8d,_0x55aea1._0x39fe48)](_0xc9078c,_0xad9ad5(0xe7,_0x55aea1._0x21afdc,_0x55aea1._0x2311aa,-_0x55aea1._0x31c6e4),'.bin',_0x57aaa4);if(await exists(_0x1ce9b0))return _0x1ce9b0;const _0x3f8ba9=_0x5643ad['dirname'](_0xc9078c);if(_0x3f8ba9===_0xc9078c)return void 0x0;_0xc9078c=_0x3f8ba9;}}async function findPathBinary(_0x17984d,_0xe981de){const _0x5217ad={_0x4f2174:0x3b,_0x5c9d4a:0x196,_0x4e5931:0x3c8,_0x42daf8:0x1b,_0x358119:0x442,_0x28512f:0x217,_0xf9ed9b:0x8e,_0x42392d:0x234,_0x54211f:0x2ea},_0xc4f3d2={_0x592a49:0xbc,_0x4676fc:0x2cb},_0x5e8082={_0x32354c:0xee,_0xf11643:0x1aa,_0x10d468:0x111};function _0x540752(_0x354bd6,_0x46a9ff,_0x501279,_0x56d1d1){return _0x1957f6(_0x354bd6-_0x5e8082._0x32354c,_0x46a9ff-_0x5e8082._0xf11643,_0x354bd6,_0x46a9ff- -_0x5e8082._0x10d468);}const _0x271210=getLspBinDir(_0xe981de),_0x2e7cc4=[_0x271210,process[_0x540752(_0x5217ad._0x4f2174,-0x6b,-_0x5217ad._0x5c9d4a,0x19f)][_0x540752(_0x5217ad._0x4e5931,0x23c,-_0x5217ad._0x42daf8,0x476)]]['filter'](Boolean)[_0x4b1553(_0x5217ad._0x358119,_0x5217ad._0x28512f,0x3f0,0x3d7)](_0x5643ad[_0x4b1553(_0x5217ad._0xf9ed9b,0x4c5,_0x5217ad._0x42392d,_0x5217ad._0x54211f)]);function _0x4b1553(_0x1867af,_0xc0dedd,_0x57e592,_0x26ed0c){return _0x1957f6(_0x1867af-0x184,_0xc0dedd-_0xc4f3d2._0x592a49,_0x1867af,_0x26ed0c-_0xc4f3d2._0x4676fc);}try{return await _0x210085(_0x17984d,{'path':_0x2e7cc4});}catch{return void 0x0;}}async function resolvePackageBinary(_0x13823c){const _0x4aad02={_0x4d4473:0x45,_0x217882:0x25e,_0x35d0ca:0x1fc,_0x4abbfb:0x4d1,_0x42dab0:0x4f1,_0x44ec32:0xcf,_0x1bda6b:0x147,_0x5d5ab8:0x4ca,_0x1668b6:0x707,_0xbb8776:0x1cf,_0x70f26:0x196,_0x1480df:0x165,_0x52d04b:0x218,_0x11adf4:0x533,_0x3281e2:0x4ad,_0x451ddd:0x6a1},_0x56b511={_0xef0735:0xf5,_0x13ca5b:0x1bf,_0x159552:0x144,_0x209714:0x1eb,_0x5b4c42:0x37d,_0x3007c4:0x12d},_0x2101de={_0xa6ca6f:0x133},_0x5d14a8=_0x13823c['binaryName']??_0x13823c[_0x1fb9b0(_0x4aad02._0x4d4473,_0x4aad02._0x217882,0x196,_0x4aad02._0x35d0ca)],_0x48eba4=await findPackageBinary(_0x5d14a8,_0x13823c['startDir']);if(_0x48eba4)return _0x48eba4;const _0x298d49=await findPathBinary(_0x5d14a8,_0x13823c[_0x47723e(_0x4aad02._0x4abbfb,0x533,0x320,0x4c7)]);function _0x47723e(_0x4ab2bb,_0x491698,_0x35ae91,_0x328edc){return _0x39a391(_0x4ab2bb-0x110,_0x491698-0x1c9,_0x328edc- -_0x2101de._0xa6ca6f,_0x491698);}if(_0x298d49)return _0x298d49;const _0x42bec5=_0x13823c[_0x47723e(0x5a3,0x3d8,_0x4aad02._0x42dab0,0x478)]??process[_0x1fb9b0(-0x8a,-_0x4aad02._0x44ec32,_0x4aad02._0x1bda6b,0x2c)];if(shouldDisableLspDownload(_0x42bec5))return void 0x0;const _0x476a18=getLspPackageDir(_0x13823c[_0x47723e(_0x4aad02._0x5d5ab8,0x509,_0x4aad02._0x1668b6,0x4c7)]),_0x3cb3d5=_0x13823c[_0x1fb9b0(_0x4aad02._0xbb8776,-0x3d,_0x4aad02._0x70f26,_0x4aad02._0x1480df)]+':'+_0x5d14a8;let _0x36db38=installPromises[_0x1fb9b0(_0x4aad02._0x52d04b,0xbc,0x21a,0x17f)](_0x3cb3d5);function _0x1fb9b0(_0x1bc778,_0x503604,_0x2018b,_0xf56222){return _0x39a391(_0x1bc778-0x142,_0x503604-0x10e,_0x2018b- -0x464,_0xf56222);}!_0x36db38&&(_0x36db38=((async()=>{const _0x5521af={_0x38f80f:0x127,_0x2c14f1:0x5a1};await mkdir(_0x476a18,{'recursive':!![]});const _0x363902=await runNpmInstall(_0x476a18,_0x13823c['packageName'],_0x42bec5);if(!_0x363902)return void 0x0;const _0x52c4d7=_0x5643ad[_0x160e1f(0x2bf,_0x56b511._0xef0735,_0x56b511._0x13ca5b,_0x56b511._0x159552)](getLspBinDir(_0x13823c[_0x160e1f(0x362,_0x56b511._0x209714,_0x56b511._0x5b4c42,_0x56b511._0x3007c4)]),binaryNameForPlatform(_0x5d14a8));function _0x160e1f(_0x12bc3d,_0xaf3d87,_0x268554,_0x51b510){return _0x1fb9b0(_0x12bc3d-0x5,_0xaf3d87-0x19f,_0x51b510- -0x69,_0x268554);}function _0x3645e3(_0x1dac87,_0x31b506,_0x2e5124,_0x5d826d){return _0x47723e(_0x1dac87-_0x5521af._0x38f80f,_0x5d826d,_0x2e5124-0x6b,_0x2e5124- -_0x5521af._0x2c14f1);}return await exists(_0x52c4d7)?_0x52c4d7:void 0x0;})()),installPromises['set'](_0x3cb3d5,_0x36db38));try{return await _0x36db38;}catch{return void 0x0;}finally{installPromises[_0x47723e(_0x4aad02._0x11adf4,0x7f8,_0x4aad02._0x3281e2,_0x4aad02._0x451ddd)](_0x3cb3d5);}}var TYPESCRIPT_EXTENSIONS=[_0x39a391(0x51b,0x5a2,0x4f6,0x381),'.tsx',_0x1957f6(0x269,0x4fb,0x158,0x3ac),_0x1957f6(-0x10d,0xcd,0x17d,0x10a),'.mjs',_0x1957f6(0x1e6,0xd3,0x104,0x23f),_0x39a391(0x81c,0x94c,0x824,0x9dc),_0x1957f6(0x3d7,0x54,-0x1e,0x18b)],BIOME_EXTENSIONS=[...TYPESCRIPT_EXTENSIONS,_0x1957f6(0x16e,0x25c,0x175,0x30d),_0x1957f6(0x317,0x3a8,0x5f2,0x412)],TYPESCRIPT_ROOT_MARKERS=['package-lock.json',_0x1957f6(0x10f,-0xfb,0x15,0xa4),_0x39a391(0x7e2,0x681,0x67f,0x5fd),_0x39a391(0x3ca,0x47b,0x4c3,0x52d),_0x1957f6(0x94,0x1fa,0x423,0x29a),_0x39a391(0x796,0x8d2,0x77c,0x7ff),_0x39a391(0x562,0x9d4,0x783,0x8e4),_0x39a391(0x4e7,0x68c,0x55d,0x454)],BIOME_ROOT_MARKERS=[_0x1957f6(0x200,0x296,0x3e3,0x345),_0x39a391(0x9fb,0xb86,0x930,0xb01),_0x1957f6(0xf8,0x4d,0xb9,0x1f0),_0x1957f6(0x1dd,-0x132,0x2b7,0xa4),'bun.lock',_0x1957f6(-0x74,-0xcc,-0x57,-0x42),_0x39a391(0x59b,0x978,0x79f,0x68f),_0x39a391(0x589,0x65c,0x55d,0x35b)];async function exists2(_0x32391b){try{return await _0x985f21(_0x32391b),!![];}catch{return![];}}async function findUp(_0x3ac096,_0x2224e7){const _0x54880b={_0x2a1466:0x76a,_0x154ab0:0x4a3,_0x1dd73d:0x2f8,_0x6acd19:0x447,_0x3739a3:0x5dd,_0x323e5b:0x1ec,_0x2a8d11:0x4af,_0x3b19c8:0x289,_0x39620d:0x82,_0x250dc6:0x569},_0x173258={_0x39af7f:0x1f3,_0xc9405:0x10e,_0x290285:0x48e},_0x254d55={_0x41e7b2:0x58f};let _0x32d9f4=_0x45c174[_0x3ba118(0x704,0x8c4,0x7a2,_0x54880b._0x2a1466)](_0x3ac096);function _0x22b756(_0x9c5f20,_0x5df381,_0x4c45a4,_0x47cbea){return _0x39a391(_0x9c5f20-0x8e,_0x5df381-0x92,_0x47cbea- -_0x254d55._0x41e7b2,_0x5df381);}const _0x1cfcde=_0x45c174[_0x3ba118(_0x54880b._0x154ab0,0x418,_0x54880b._0x1dd73d,0x40c)](_0x32d9f4);if(_0x1cfcde)_0x32d9f4=_0x45c174[_0x3ba118(_0x54880b._0x6acd19,_0x54880b._0x3739a3,_0x54880b._0x323e5b,_0x54880b._0x2a8d11)](_0x32d9f4);function _0x3ba118(_0x248f6c,_0x26eb82,_0x50fe0b,_0x24b7eb){return _0x1957f6(_0x248f6c-_0x173258._0x39af7f,_0x26eb82-_0x173258._0xc9405,_0x24b7eb,_0x248f6c-_0x173258._0x290285);}while(!![]){for(const _0x31f12c of _0x2224e7){if(await exists2(_0x45c174[_0x22b756(-0x9d,0x6c,_0x54880b._0x3b19c8,_0x54880b._0x39620d)](_0x32d9f4,_0x31f12c)))return _0x32d9f4;}const _0x370802=_0x45c174[_0x3ba118(0x447,_0x54880b._0x250dc6,0x1f1,0x467)](_0x32d9f4);if(_0x370802===_0x32d9f4)return void 0x0;_0x32d9f4=_0x370802;}}async function hasDenoRoot(_0x24b011){const _0x18682b={_0x1f2e70:0x5a4,_0x5c0b4d:0x352,_0x71b06c:0x68d,_0x19b79c:0x593,_0x2bf552:0x4cb,_0x33d2a5:0x413,_0x1a666c:0x523,_0x11bc9f:0x515},_0x50c0bb={_0x8f50ec:0x12a,_0xf547bf:0x417},_0x2af196={_0x5adb1d:0x1b7};function _0x215205(_0x417209,_0x2fe8bd,_0x2e46c8,_0x30261b){return _0x39a391(_0x417209-0xae,_0x2fe8bd-_0x2af196._0x5adb1d,_0x2e46c8- -0x2bf,_0x2fe8bd);}function _0x5a0de0(_0x247ee6,_0x2249c6,_0x118532,_0x3e6b7c){return _0x1957f6(_0x247ee6-_0x50c0bb._0x8f50ec,_0x2249c6-0x1d8,_0x118532,_0x247ee6-_0x50c0bb._0xf547bf);}return await exists2(_0x45c174[_0x215205(_0x18682b._0x1f2e70,0x287,_0x18682b._0x5c0b4d,0x5a1)](_0x24b011,_0x215205(_0x18682b._0x71b06c,_0x18682b._0x19b79c,_0x18682b._0x2bf552,_0x18682b._0x33d2a5)))||await exists2(_0x45c174[_0x5a0de0(_0x18682b._0x1a666c,0x4a5,0x647,_0x18682b._0x11bc9f)](_0x24b011,'deno.jsonc'));}async function resolveTsserverPath(_0x4d3674){const _0x40faac={_0x23882e:0x237,_0x1b1a13:0x4eb,_0x1559ad:0x41d,_0x3a5c2b:0xa1,_0x498666:0x168,_0x32084a:0x2f4,_0x24326b:0x249,_0x920f:0x47,_0x5ed8ba:0x2d,_0xd8752e:0x3ab,_0x1e31c2:0x1da,_0x4c5878:0x144,_0x4b7add:0x11a,_0x1e06c4:0x421,_0x1e7c84:0x3e1,_0x269b16:0x538,_0x2c24ef:0x103,_0x381319:0x4eb,_0x34907e:0x41c,_0x373ca5:0x4aa,_0x38374b:0x356,_0x2b3941:0x15,_0x5704e7:0x8fd,_0xbc933b:0x135,_0x429295:0x10c},_0x4b7be4={_0x1d6301:0x2f,_0x5b5b0b:0xb1},_0x556200={_0x10c98b:0xf5};let _0x1599ca=_0x45c174[_0x36f0ce(_0x40faac._0x23882e,0x1d7,0x317,0xe3)](_0x4d3674);while(!![]){const _0x374107=_0x45c174['join'](_0x1599ca,_0x108fbd(_0x40faac._0x1b1a13,0x374,_0x40faac._0x1559ad,0x735),_0x36f0ce(0x77,0x237,-0x150,_0x40faac._0x3a5c2b),_0x36f0ce(0x7a,_0x40faac._0x498666,0x38e,0x2a7),_0x36f0ce(_0x40faac._0x32084a,_0x40faac._0x24326b,-_0x40faac._0x920f,0x10c));if(await exists2(_0x374107))return _0x374107;const _0x187013=_0x45c174[_0x36f0ce(-0x2ec,-_0x40faac._0x5ed8ba,-_0x40faac._0xd8752e,-_0x40faac._0x1e31c2)](_0x1599ca);if(_0x187013===_0x1599ca)break;_0x1599ca=_0x187013;}const _0x481a34=getLspPackageDir('typescript'),_0x3fbc01=await resolvePackageBinary({'packageName':_0x36f0ce(-_0x40faac._0x4c5878,-0xbc,_0x40faac._0x4b7add,_0x40faac._0x3a5c2b),'binaryName':_0x108fbd(0x4b0,_0x40faac._0x1e06c4,_0x40faac._0x1e7c84,_0x40faac._0x269b16),'startDir':_0x4d3674});function _0x108fbd(_0x2ee217,_0x4dc863,_0x278d3a,_0x4a8093){return _0x39a391(_0x2ee217-0x18d,_0x4dc863-0x1f2,_0x2ee217- -_0x556200._0x10c98b,_0x4a8093);}function _0x36f0ce(_0x4d5d59,_0x3a83a3,_0x6f2a1d,_0x4a6bc5){return _0x39a391(_0x4d5d59-_0x4b7be4._0x1d6301,_0x3a83a3-_0x4b7be4._0x5b5b0b,_0x4a6bc5- -0x698,_0x6f2a1d);}if(!_0x3fbc01)return void 0x0;const _0x1e4759=_0x45c174[_0x36f0ce(0x77,-_0x40faac._0x2c24ef,-0x247,-0x87)](_0x481a34,_0x108fbd(_0x40faac._0x381319,_0x40faac._0x34907e,_0x40faac._0x373ca5,_0x40faac._0x38374b),_0x36f0ce(_0x40faac._0x2b3941,-0x51,0x2fd,0xa1),_0x108fbd(0x84a,0x617,0x620,_0x40faac._0x5704e7),_0x36f0ce(-_0x40faac._0xbc933b,0x1fa,0x16b,_0x40faac._0x429295));return await exists2(_0x1e4759)?_0x1e4759:void 0x0;}var TypeScriptServer={'id':_0x39a391(0x5fc,0x5fc,0x739,0x532),'name':'TypeScript\x20Language\x20Server','extensions':TYPESCRIPT_EXTENSIONS,async 'root'(_0x15404d){const _0x59975f=await findUp(_0x15404d,TYPESCRIPT_ROOT_MARKERS);if(!_0x59975f)return void 0x0;return await hasDenoRoot(_0x59975f)?void 0x0:_0x59975f;},async 'spawn'(_0x5ee308){const _0x5187e9={_0x150ded:0x70b,_0x1bd637:0x75f,_0x54393b:0x74b,_0x2202db:0x7fe,_0x984de2:0x145,_0x1e84e1:0x121,_0x11a6e5:0x136,_0x43d731:0xb5c},_0x3c3f0b={_0x194989:0x161,_0xbb71be:0x14c,_0x5bd56f:0x143},_0x39d4e9={_0x1042e9:0xc6,_0x62efa2:0x7d},_0x3e2ca4=await resolveTsserverPath(_0x5ee308);if(!_0x3e2ca4)return void 0x0;function _0x36bbdf(_0x1462bc,_0x18e5a9,_0x357a42,_0x343a4c){return _0x39a391(_0x1462bc-0xb6,_0x18e5a9-_0x39d4e9._0x1042e9,_0x357a42-_0x39d4e9._0x62efa2,_0x18e5a9);}const _0x2ac9d1=await resolvePackageBinary({'packageName':_0x36bbdf(_0x5187e9._0x150ded,_0x5187e9._0x1bd637,_0x5187e9._0x54393b,_0x5187e9._0x2202db),'binaryName':_0x4bb93c(_0x5187e9._0x984de2,_0x5187e9._0x1e84e1,0x24f,0x86),'startDir':_0x5ee308});if(!_0x2ac9d1)return void 0x0;function _0x4bb93c(_0x30eab6,_0x4e5335,_0xb53093,_0x4f8135){return _0x1957f6(_0x30eab6-_0x3c3f0b._0x194989,_0x4e5335-_0x3c3f0b._0xbb71be,_0xb53093,_0x4f8135- -_0x3c3f0b._0x5bd56f);}return{'process':_0x1dedf5(_0x2ac9d1,[_0x4bb93c(-_0x5187e9._0x11a6e5,0x168,0x17,0x77)],{'cwd':_0x5ee308,'stdio':_0x36bbdf(0x74e,_0x5187e9._0x43d731,0x90b,0x992)}),'initialization':{'tsserver':{'path':_0x3e2ca4}}};}},BiomeServer={'id':_0x1957f6(-0xbd,0x266,0x54,0x15e),'name':_0x1957f6(0xf8,0x564,0x338,0x344),'extensions':BIOME_EXTENSIONS,async 'root'(_0x52d377){return findUp(_0x52d377,BIOME_ROOT_MARKERS);},async 'spawn'(_0x1aec8a){const _0x4cdc49={_0x1edc72:0x4e9,_0x172477:0x3d1,_0x2a8b83:0x282,_0x32bf47:0x220,_0x2c4c27:0x5d7,_0x20619b:0x7f9},_0x5a3843={_0x218223:0x181,_0x4267a6:0xac},_0x552955={_0x1928b9:0x1d,_0x40a488:0x90};function _0x3d4bff(_0x460c1f,_0x51c320,_0x1a7006,_0x1549be){return _0x39a391(_0x460c1f-_0x552955._0x1928b9,_0x51c320-_0x552955._0x40a488,_0x1a7006- -0x373,_0x51c320);}function _0x273f12(_0x2e5be3,_0x4f74b0,_0x469cf2,_0x2dc888){return _0x39a391(_0x2e5be3-0x154,_0x4f74b0-_0x5a3843._0x218223,_0x469cf2-_0x5a3843._0x4267a6,_0x4f74b0);}const _0x5a76ea=await findPackageBinary(_0x273f12(_0x4cdc49._0x1edc72,0x90e,0x70f,0x801),_0x1aec8a)??await resolvePackageBinary({'packageName':_0x3d4bff(_0x4cdc49._0x172477,0x445,_0x4cdc49._0x2a8b83,_0x4cdc49._0x32bf47),'binaryName':_0x273f12(0x64f,_0x4cdc49._0x2c4c27,0x70f,_0x4cdc49._0x20619b),'startDir':_0x1aec8a});if(!_0x5a76ea)return void 0x0;return{'process':_0x1dedf5(_0x5a76ea,['lsp-proxy','--stdio'],{'cwd':_0x1aec8a,'stdio':'pipe'})};}},BUILTIN_LSP_SERVERS=[TypeScriptServer,BiomeServer];function getServersForFile(_0x362030){const _0x3a88ed={_0x61f95d:0x2ec,_0x25b475:0x6f8,_0x225971:0x59a,_0x332450:0x7aa,_0x176022:0x3e2},_0x7380a2={_0xd0ed48:0x1c5,_0x239302:0x176,_0x41f335:0x422},_0x37b0ce={_0x4e3373:0xe5,_0x21dff0:0x2d7},_0x526509=_0x45c174[_0x444ac8(0x2ce,_0x3a88ed._0x61f95d,0x177,0x37d)](_0x362030)[_0x444ac8(_0x3a88ed._0x25b475,0x6c0,_0x3a88ed._0x225971,_0x3a88ed._0x332450)]();function _0x444ac8(_0x23f837,_0x19b9e0,_0x49829a,_0x4372f6){return _0x1957f6(_0x23f837-0xe0,_0x19b9e0-_0x37b0ce._0x4e3373,_0x4372f6,_0x19b9e0-_0x37b0ce._0x21dff0);}function _0x4bdce4(_0x1c448c,_0x41a742,_0x401113,_0x13bc79){return _0x1957f6(_0x1c448c-_0x7380a2._0xd0ed48,_0x41a742-_0x7380a2._0x239302,_0x1c448c,_0x41a742-_0x7380a2._0x41f335);}return BUILTIN_LSP_SERVERS[_0x444ac8(_0x3a88ed._0x176022,0x5ba,0x58a,0x7a9)](_0x239b13=>_0x239b13[_0x444ac8(0x622,0x419,0x526,0x39c)][_0x444ac8(0x4ec,0x4eb,0x670,0x2f5)](_0x526509));}function stateKey(_0x5b23b9,_0x4ad410){return _0x4ad410+':'+_0x5b23b9['id'];}function diagnosticsKeyToPath(_0x15a4f2){const _0xb2db5d={_0x1971e6:0x49e,_0x4ecc61:0x4bf,_0x396e10:0x4d5,_0x1df1a2:0x43d,_0x41a352:0x602},_0x57037e={_0x4fca4b:0x103},_0x5ae79b={_0x67a027:0x6b,_0x231778:0x1a8,_0x5ad38f:0x193};if(!_0x15a4f2[_0xa19462(_0xb2db5d._0x1971e6,_0xb2db5d._0x4ecc61,_0xb2db5d._0x396e10,0x34f)](_0xa19462(_0xb2db5d._0x1df1a2,0x6cb,0x4b0,_0xb2db5d._0x41a352)))return _0x15a4f2;function _0x114510(_0x3f6f49,_0x1510d4,_0x51cef1,_0x5b35b9){return _0x1957f6(_0x3f6f49-_0x5ae79b._0x67a027,_0x1510d4-_0x5ae79b._0x231778,_0x1510d4,_0x51cef1- -_0x5ae79b._0x5ad38f);}function _0xa19462(_0x3923cf,_0x55955a,_0x43b942,_0x5a3f53){return _0x39a391(_0x3923cf-_0x57037e._0x4fca4b,_0x55955a-0x1ce,_0x43b942- -0x34a,_0x55955a);}return fileURLToPath(_0x15a4f2);}function nextFileVersion(_0x5e67d,_0x19987a){const _0x38db0b={_0x28d183:0x5ca,_0xee1155:0x430,_0x1ee88f:0x642,_0x3f1a1a:0x33c,_0x22aa97:0x367,_0x33dd88:0x42a},_0x4c0cbd={_0x32c5b0:0x1e4,_0x6c249f:0x5f},_0x233666={_0x3ebe16:0x69,_0x46429d:0xa2},_0x45cc27=(_0x5e67d[_0x53a799(_0x38db0b._0x28d183,_0x38db0b._0xee1155,0x1d9,0x5d5)][_0x53a799(_0x38db0b._0x1ee88f,0x52e,_0x38db0b._0x3f1a1a,0x73f)](_0x19987a)??0x1)+0x1;function _0x9e7d28(_0x4e439b,_0x3001f8,_0x1c4ab2,_0x4bb7d5){return _0x39a391(_0x4e439b-0x1a4,_0x3001f8-_0x233666._0x3ebe16,_0x3001f8- -_0x233666._0x46429d,_0x4e439b);}_0x5e67d[_0x53a799(_0x38db0b._0x22aa97,_0x38db0b._0xee1155,0x309,_0x38db0b._0x33dd88)]['set'](_0x19987a,_0x45cc27);function _0x53a799(_0xb7a61d,_0x11674e,_0x2914cb,_0x14e6cc){return _0x1957f6(_0xb7a61d-_0x4c0cbd._0x32c5b0,_0x11674e-_0x4c0cbd._0x6c249f,_0x2914cb,_0x11674e-0x3b5);}return _0x45cc27;}async function collectClientResults(_0x4bee9e){const _0x581517={_0x5bd3cb:0x84,_0x35685f:0xb2,_0x31707f:0x142,_0x42969c:0x3f4,_0x5abac4:0x622,_0x79d77c:0x5ba},_0xf0396c={_0x4ffce6:0x163},_0x246a93={_0xdcb9ca:0x75};function _0x449f02(_0x3c2ed6,_0xf5723b,_0x5e637a,_0x4dc2f8){return _0x1957f6(_0x3c2ed6-0x2,_0xf5723b-_0x246a93._0xdcb9ca,_0x4dc2f8,_0xf5723b-0x1c2);}function _0x39a5a2(_0x441322,_0xbe673f,_0x12b7bc,_0xe9c510){return _0x1957f6(_0x441322-0x93,_0xbe673f-_0xf0396c._0x4ffce6,_0xe9c510,_0x12b7bc-0x138);}const _0x5c7b76=await Promise[_0x39a5a2(_0x581517._0x5bd3cb,-_0x581517._0x35685f,_0x581517._0x31707f,0x3e)](_0x4bee9e);return _0x5c7b76[_0x39a5a2(_0x581517._0x42969c,_0x581517._0x5abac4,0x4ec,_0x581517._0x79d77c)](_0x15505e=>_0x15505e['status']===_0x39a5a2(0x22b,0x1b6,0x3d0,0x582)?_0x15505e['value']:[]);}function createLspService(_0x8883d0={}){const _0x4686c3={_0x1a8551:0x73f,_0x59416d:0x719,_0x48a416:0x4bb,_0x54832c:0x58d},_0x116d03={_0x4f9808:0x8d,_0x1b8e2d:0x179,_0x3c828c:0x19d},_0x42303b={_0x53769f:0x60a,_0x174158:0x5b0,_0x3a3301:0x368,_0x41679e:0x36c,_0x34e67e:0x325,_0x3c6bd8:0x850,_0x6ce494:0x6cf,_0x3eeed9:0x555,_0x1e3663:0x6f6,_0x2cd3ab:0x1fc,_0x358771:0x4b,_0x4f18a7:0x598,_0x5578d7:0x462},_0x187d5c={_0xc6e9a6:0x2b6,_0x535c26:0xa8},_0x4d0880={_0x432bd7:0x274,_0x3fc5c2:0x26b,_0x1488fc:0x24c},_0x1e3d32={_0x126141:0xf6,_0x1b2842:0x1f},_0x3d44a9={_0x537490:0xdf,_0x2b9dc5:0x406,_0x48cc2c:0x28f,_0x93399b:0x257,_0x1b02a8:0x185},_0x56a50c={_0xec846a:0x7d},_0x2def8b={_0x1c3d81:0x26e,_0x34be55:0x423,_0x46bc0f:0x563,_0x195d6d:0x73b,_0x36d277:0x67c},_0x2d7649={_0x41289d:0x286,_0x2b5df3:0x1a1,_0x71c303:0xd6},_0x292445={_0x4f250c:0x1a,_0x25640e:0x1f1,_0x3c7ccc:0x171},_0x1fa759={_0x154a69:0x236,_0x3fc5a0:0x75},_0x3b234a={_0x2601d3:0x2f2,_0x5951a7:0x1a4,_0x515a24:0xa5,_0x4f5800:0x19b},_0x1333e2={_0x543d94:0x1c4,_0x135c01:0x1e0,_0x36e957:0x334,_0x1a6397:0x27d,_0x1d4380:0x177},_0x19126f={_0x20d830:0x405,_0x36a581:0x163},_0x3136c3={_0x40c442:0x5e3,_0x2662fa:0x853},_0x1c0231={_0x54918c:0x2af,_0x5763e5:0x32e,_0x4ea408:0x23e,_0x558455:0x1e6},_0x16c383={_0x142185:0x1d2},_0x35a77f={_0x43c039:0x25e,_0x3d155b:0x30e},_0xa30a5e={_0x5b1caf:0x3d3,_0x5b3030:0x1a8},_0x251da1={_0xde2669:0x3d0},_0x488b14={_0x495f64:0x16d,_0x12e41e:0x189,_0x18baa8:0x28},_0x5d2f37={_0x116e94:0xa7d,_0x420bdd:0x8e7,_0x4e49fd:0x7d6},_0x45eb0d={_0x5d1f7a:0x37a,_0x3be652:0x90,_0x58b806:0x433,_0x4a67df:0x23e,_0x58176b:0x283,_0x49327a:0xb0,_0x37dd71:0x25,_0x42f039:0x170,_0x44111a:0x7e,_0x1b61f7:0x3a3,_0x31e771:0x196,_0x47c5cc:0x6e,_0x5d6597:0x8,_0x3d9c99:0x13c,_0xc8d54b:0x261,_0x3a6d4f:0x33d,_0xa7df1f:0x1ac,_0x591650:0x2df,_0x42ba7e:0x17f,_0x5aabbe:0x2ba},_0x49ffaf={_0x1c8851:0x101},_0x1707c6={_0x572438:0x4d6,_0x158c18:0x414,_0x15bcb2:0x4a2,_0x584fa2:0x4fa,_0x4e8ba5:0x2db,_0x5b303c:0x65e,_0x589362:0x82e,_0x14a51f:0x755,_0x50736f:0xf4,_0x58b158:0x51a,_0x9dbfd9:0x4be,_0x32c03c:0x6d0},_0x5e1840={_0x4a48bd:0x6e7,_0x18a854:0x7bb,_0x4cd242:0x688,_0x5e1260:0x3e1,_0x22e1d8:0x4a4,_0x5ce4e7:0x30c,_0x17d549:0x3ad,_0x49da5c:0x2cf,_0x20d32e:0x696,_0x110306:0x56e,_0x154666:0x685,_0x9f170:0x6c6,_0x14a39d:0x7b1,_0x525f26:0x94a,_0x13ea8f:0x9d7},_0x26831e={_0xc7b86a:0x80,_0x302e32:0x157,_0x4df616:0xb9,_0x4eac6b:0x61b,_0x17bf8b:0x87,_0x5b47a2:0x454,_0x227206:0x4d9,_0x1277ff:0x4a1,_0x28f221:0x5d5,_0x55975a:0x766,_0x50abfa:0x602,_0x18883d:0x4f4,_0x7c2e:0x70a,_0x570641:0x593,_0x250a9c:0x2d7},_0x2fe8ac={_0x403166:0x2f4,_0x3f81aa:0x85},_0x206026={'clients':[],'spawning':new Map(),'broken':new Set(),'fileVersions':new Map(),'openFiles':new Set(),'shutdownStarted':![]},_0x21f7ae=()=>_0x8883d0[_0x2dc9b4(0x494,0x2f5,0x2db,0x65f)]!==![];async function _0x4b2039(_0x45f0a4,_0xa787cd){const _0x450427={_0x55bf58:0x40,_0x2795a4:0x439,_0x3d99f5:0x90};function _0x1ced68(_0x3c5bd,_0x1d29e4,_0x1f5464,_0xa2b7d9){return _0x2dc9b4(_0x1d29e4-_0x2fe8ac._0x403166,_0x1d29e4-0x9d,_0x1f5464,_0xa2b7d9-_0x2fe8ac._0x3f81aa);}function _0x3170cf(_0x3dd87c,_0x433d81,_0x3e3167,_0x16f76d){return _0x2dc9b4(_0x433d81-0x288,_0x433d81-0x110,_0x3dd87c,_0x16f76d-0x1af);}const _0x2a695d=stateKey(_0x45f0a4,_0xa787cd),_0x51dab5=_0x206026[_0x3170cf(_0x5e1840._0x4a48bd,_0x5e1840._0x18a854,0x870,_0x5e1840._0x4cd242)][_0x3170cf(0x184,0x346,_0x5e1840._0x5e1260,0x174)](_0x18cfbe=>_0x18cfbe[_0x3170cf(0x5f1,0x6c1,0x611,0x8f5)]===_0x45f0a4['id']&&_0x18cfbe['root']===_0xa787cd);if(_0x51dab5)return _0x51dab5;if(_0x206026[_0x1ced68(0x501,_0x5e1840._0x22e1d8,0x398,0x336)][_0x1ced68(_0x5e1840._0x5ce4e7,_0x5e1840._0x17d549,_0x5e1840._0x49da5c,0x4a8)](_0x2a695d))return void 0x0;const _0x580b8f=_0x206026['spawning'][_0x1ced68(_0x5e1840._0x20d32e,_0x5e1840._0x110306,0x42a,0x3f8)](_0x2a695d);if(_0x580b8f)return _0x580b8f;const _0x5d36aa=((async()=>{const _0x3100bd={_0x2c789c:0x20c};function _0x4380f9(_0x463443,_0x2274f1,_0x918ee2,_0x5a7c6c){return _0x1ced68(_0x463443-0x157,_0x5a7c6c- -_0x3100bd._0x2c789c,_0x918ee2,_0x5a7c6c-0xbd);}function _0x4fee2e(_0x69c2d9,_0x19dafe,_0x25582b,_0x396634){return _0x1ced68(_0x69c2d9-_0x450427._0x55bf58,_0x69c2d9- -_0x450427._0x2795a4,_0x396634,_0x396634-_0x450427._0x3d99f5);}try{const _0x2bfdc2=await _0x45f0a4['spawn'](_0xa787cd);if(!_0x2bfdc2)return _0x206026[_0x4fee2e(0x6b,-_0x26831e._0xc7b86a,_0x26831e._0x302e32,-_0x26831e._0x4df616)]['add'](_0x2a695d),void 0x0;const _0x577155=await createLspClient({'server':_0x45f0a4,'root':_0xa787cd,'handle':_0x2bfdc2}),_0x3876db=_0x206026[_0x4380f9(0x511,0x426,0x539,_0x26831e._0x4eac6b)][_0x4fee2e(-_0x26831e._0x17bf8b,-0x23f,0x8,-0xe9)](_0x345150=>_0x345150[_0x4380f9(0x2c6,0x3a8,0x5cf,0x521)]===_0x45f0a4['id']&&_0x345150[_0x4380f9(0x4bb,0x508,0x390,0x2da)]===_0xa787cd);if(_0x3876db)return await _0x577155[_0x4380f9(0x434,0x293,0x574,0x416)](),_0x3876db;return _0x206026[_0x4380f9(_0x26831e._0x5b47a2,_0x26831e._0x227206,_0x26831e._0x1277ff,_0x26831e._0x4eac6b)][_0x4380f9(_0x26831e._0x28f221,0x813,_0x26831e._0x55975a,_0x26831e._0x50abfa)](_0x577155),_0x577155;}catch{return _0x206026['broken'][_0x4380f9(_0x26831e._0x18883d,0x684,0x360,0x50a)](_0x2a695d),void 0x0;}finally{_0x206026[_0x4380f9(0x3e5,_0x26831e._0x7c2e,0x376,_0x26831e._0x570641)][_0x4fee2e(0x28b,0x2fc,0x4cb,_0x26831e._0x250a9c)](_0x2a695d);}})());return _0x206026[_0x3170cf(_0x5e1840._0x154666,0x733,0x688,_0x5e1840._0x9f170)][_0x3170cf(0x919,_0x5e1840._0x14a39d,_0x5e1840._0x525f26,_0x5e1840._0x13ea8f)](_0x2a695d,_0x5d36aa),_0x5d36aa;}async function _0x514f5c(_0x1d4b6f,_0x1789f2){const _0x414463={_0x4e6dff:0x192,_0x4a6d70:0x173};if(!_0x21f7ae())return[];function _0x746d80(_0x542aeb,_0xab04f,_0x3086f9,_0x4275d4){return _0x2dc9b4(_0xab04f-_0x414463._0x4e6dff,_0xab04f-_0x414463._0x4a6d70,_0x3086f9,_0x4275d4-0x1e0);}const _0x24c769=[];for(const _0x3dfff4 of getServersForFile(_0x1d4b6f)){const _0x5cd5d5=await _0x3dfff4[_0x306a27(0x2d3,0x21c,_0x1707c6._0x572438,_0x1707c6._0x158c18)](_0x1d4b6f);if(!_0x5cd5d5)continue;const _0x5a5a35=stateKey(_0x3dfff4,_0x5cd5d5);if(_0x206026['broken'][_0x306a27(_0x1707c6._0x15bcb2,0xc4,_0x1707c6._0x584fa2,_0x1707c6._0x4e8ba5)](_0x5a5a35))continue;const _0xd54c7a=_0x206026[_0x306a27(0x545,_0x1707c6._0x5b303c,_0x1707c6._0x589362,_0x1707c6._0x14a51f)][_0x306a27(_0x1707c6._0x50736f,_0x1707c6._0x58b158,0x517,0x2e0)](_0xb1405=>_0xb1405[_0x306a27(0x6a7,0x6ba,0x8b4,0x65b)]===_0x3dfff4['id']&&_0xb1405['root']===_0x5cd5d5);if(_0xd54c7a){_0x24c769[_0x746d80(_0x1707c6._0x9dbfd9,0x6ac,0x576,_0x1707c6._0x32c03c)](_0xd54c7a);continue;}if(!_0x1789f2)continue;const _0x203c58=await _0x4b2039(_0x3dfff4,_0x5cd5d5);if(_0x203c58)_0x24c769['push'](_0x203c58);}function _0x306a27(_0x1eba9,_0xd1a57f,_0x1c1e37,_0x2c7fff){return _0x2dc9b4(_0x2c7fff-0x222,_0xd1a57f-0x195,_0xd1a57f,_0x2c7fff-0xaf);}return _0x24c769;}function _0x2dc9b4(_0x467782,_0x55d3b7,_0x3eda3e,_0x5811cb){return _0x1957f6(_0x467782-0x8a,_0x55d3b7-0x131,_0x3eda3e,_0x467782-_0x49ffaf._0x1c8851);}async function _0x5a5855(_0x1947f4,_0x37504a=![]){const _0x1adc51={_0x243003:0x43e,_0x3208ff:0x164},_0x36875e=await _0x514f5c(_0x1947f4,!![]);function _0x3ac7c2(_0x1d4af7,_0x5bd877,_0x35a735,_0x1ab5e8){return _0x2dc9b4(_0x5bd877-_0x1adc51._0x243003,_0x5bd877-0x12c,_0x35a735,_0x1ab5e8-_0x1adc51._0x3208ff);}await Promise[_0x3ac7c2(_0x5d2f37._0x116e94,_0x5d2f37._0x420bdd,_0x5d2f37._0x4e49fd,0x88d)](_0x36875e['map'](async _0x582ef7=>{const _0x18ba46={_0x86f56d:0x32,_0xd4848:0x639};function _0x48c1f3(_0x2c7147,_0x499a9f,_0x1e1a3c,_0x43e9ac){return _0x3ac7c2(_0x2c7147-0xac,_0x499a9f- -0x60b,_0x1e1a3c,_0x43e9ac-0xd6);}!_0x206026['openFiles'][_0x1e0168(-_0x45eb0d._0x5d1f7a,-0x142,-_0x45eb0d._0x3be652,-0x49)](_0x582ef7[_0x1e0168(_0x45eb0d._0x58b806,_0x45eb0d._0x4a67df,0x145,_0x45eb0d._0x58176b)]+':'+_0x582ef7[_0x48c1f3(-_0x45eb0d._0x49327a,_0x45eb0d._0x37dd71,-_0x45eb0d._0x42f039,-_0x45eb0d._0x44111a)]+':'+_0x1947f4)&&(await _0x582ef7[_0x48c1f3(_0x45eb0d._0x1b61f7,0x17f,0x1b0,_0x45eb0d._0x31e771)]['open']({'path':_0x1947f4}),_0x206026[_0x1e0168(-0x158,-_0x45eb0d._0x47c5cc,_0x45eb0d._0x5d6597,-_0x45eb0d._0x3d9c99)][_0x48c1f3(_0x45eb0d._0xc8d54b,0x255,_0x45eb0d._0x3a6d4f,_0x45eb0d._0xa7df1f)](_0x582ef7[_0x1e0168(_0x45eb0d._0x591650,_0x45eb0d._0x4a67df,0x18d,0x1)]+':'+_0x582ef7['root']+':'+_0x1947f4));function _0x1e0168(_0x1cc234,_0x13786d,_0x307e9f,_0x2595d1){return _0x3ac7c2(_0x1cc234-_0x18ba46._0x86f56d,_0x13786d- -_0x18ba46._0xd4848,_0x307e9f,_0x2595d1-0xd);}await _0x582ef7[_0x48c1f3(0x1d3,_0x45eb0d._0x42ba7e,0x39f,_0x45eb0d._0x37dd71)][_0x48c1f3(-0x11,-0x108,-_0x45eb0d._0x5aabbe,0x66)]({'path':_0x1947f4,'version':nextFileVersion(_0x206026,_0x1947f4)});if(_0x37504a)await _0x582ef7['waitForDiagnostics']({'path':_0x1947f4});}));}async function _0x4ee2c0(_0x11db70){await _0x5a5855(_0x11db70[_0x4d3d71(0x2dc,0x2fa,_0x251da1._0xde2669,0x2ab)],![]);function _0x4d3d71(_0x3a6423,_0x53f478,_0x4a3e37,_0x2de41c){return _0x2dc9b4(_0x53f478- -_0x488b14._0x495f64,_0x53f478-_0x488b14._0x12e41e,_0x3a6423,_0x2de41c-_0x488b14._0x18baa8);}return _0x514f5c(_0x11db70['file'],![]);}async function _0x4de375(_0x3f325e){const _0x1a1a6d={_0x63aa51:0xf2,_0x3a0608:0x2b,_0x42a896:0xb8},_0x491425=await _0x4ee2c0(_0x3f325e);function _0x310b84(_0xc31378,_0x30cbe6,_0x2dad7f,_0x53c1c4){return _0x2dc9b4(_0x30cbe6-_0xa30a5e._0x5b1caf,_0x30cbe6-_0xa30a5e._0x5b3030,_0xc31378,_0x53c1c4-0x1ca);}function _0x5aa30c(_0x5c7eaf,_0x1a1dba,_0x4a1f32,_0x525c37){return _0x2dc9b4(_0x4a1f32-_0x1a1a6d._0x63aa51,_0x1a1dba-_0x1a1a6d._0x3a0608,_0x1a1dba,_0x525c37-_0x1a1a6d._0x42a896);}return collectClientResults(_0x491425[_0x5aa30c(_0x35a77f._0x43c039,0x30e,_0x35a77f._0x3d155b,0xf4)](_0x5d9322=>_0x5d9322[_0x5aa30c(0x737,0x35b,0x4e5,0x61e)][_0x310b84(0x55c,0x6cd,0x8f4,0x701)](_0x3f325e)));}return{'isEnabled':_0x21f7ae,async 'hasClients'(_0x122d17){function _0x328431(_0x524ab8,_0x5c8635,_0x355b57,_0x532a7b){return _0x2dc9b4(_0x5c8635- -_0x16c383._0x142185,_0x5c8635-0x179,_0x532a7b,_0x532a7b-0x115);}return(await _0x514f5c(_0x122d17,![]))['length']>0x0||getServersForFile(_0x122d17)[_0x328431(_0x1c0231._0x54918c,_0x1c0231._0x5763e5,_0x1c0231._0x4ea408,_0x1c0231._0x558455)]>0x0;},'touchFile':_0x5a5855,async 'diagnostics'(){const _0x3abc0d={_0x2be825:0x12a,_0x519d2b:0x1a},_0x438340={};for(const _0x477c10 of _0x206026['clients']){for(const [_0x2f0381,_0x4bac6a]of _0x477c10[_0x16fdbc(0x8bc,_0x3136c3._0x40c442,0x6b2,_0x3136c3._0x2662fa)]){_0x438340[diagnosticsKeyToPath(_0x2f0381)]=_0x4bac6a;}}function _0x16fdbc(_0x198d1c,_0x579a0f,_0x3ef9eb,_0x1147e3){return _0x2dc9b4(_0x3ef9eb-0x308,_0x579a0f-_0x3abc0d._0x2be825,_0x579a0f,_0x1147e3-_0x3abc0d._0x519d2b);}return _0x438340;},async 'diagnosticsForFile'(_0x39c9a4){const _0x5a8f9e={_0x5c8470:0x1e6,_0x31acea:0xe5};function _0x46b838(_0x11c6a6,_0x2784c8,_0x230332,_0x330911){return _0x2dc9b4(_0x11c6a6- -_0x5a8f9e._0x5c8470,_0x2784c8-_0x5a8f9e._0x31acea,_0x330911,_0x330911-0x27);}await _0x5a5855(_0x39c9a4,!![]);function _0x567bad(_0x303b5d,_0x40645d,_0x4aba21,_0x326c26){return _0x2dc9b4(_0x40645d-_0x19126f._0x20d830,_0x40645d-0x5b,_0x303b5d,_0x326c26-_0x19126f._0x36a581);}const _0x4035f4=[];for(const _0x1ff7e0 of await _0x514f5c(_0x39c9a4,![])){for(const [_0x15da53,_0x1748ab]of _0x1ff7e0[_0x46b838(_0x1333e2._0x543d94,0x22a,0x7e,_0x1333e2._0x135c01)]){if(diagnosticsKeyToPath(_0x15da53)===_0x39c9a4)_0x4035f4[_0x46b838(_0x1333e2._0x36e957,0x570,_0x1333e2._0x1a6397,_0x1333e2._0x1d4380)](..._0x1748ab);}}return _0x4035f4;},async 'definition'(_0x1b6302){const _0x459211={_0x225d0a:0x166},_0x2e88a9={_0x1c86f3:0x18a};function _0x7bca69(_0x3f27cb,_0x14c96,_0x5225cb,_0xdc807c){return _0x2dc9b4(_0x5225cb- -0x177,_0x14c96-0x27,_0x3f27cb,_0xdc807c-_0x2e88a9._0x1c86f3);}function _0x31386b(_0x2a76a5,_0x38390f,_0x5ebd23,_0x37c210){return _0x2dc9b4(_0x2a76a5- -0x169,_0x38390f-_0x459211._0x225d0a,_0x38390f,_0x37c210-0xa5);}return collectClientResults((await _0x4ee2c0(_0x1b6302))[_0x7bca69(_0x3b234a._0x2601d3,_0x3b234a._0x5951a7,_0x3b234a._0x515a24,-_0x3b234a._0x4f5800)](_0x23eade=>_0x23eade['request'][_0x7bca69(0x517,0x2fe,0x2cb,0x480)](_0x1b6302)));},async 'references'(_0x333c6a){const _0x1bf51d={_0x96cb30:0x85,_0x31fb13:0x192};function _0x43fc28(_0x44143a,_0xfaa085,_0x4ab667,_0x310645){return _0x2dc9b4(_0x310645-0xa4,_0xfaa085-_0x1bf51d._0x96cb30,_0x4ab667,_0x310645-_0x1bf51d._0x31fb13);}function _0x5df7af(_0x21abe0,_0xccbacb,_0x2ad2cf,_0x4f0d90){return _0x2dc9b4(_0x21abe0- -_0x1fa759._0x154a69,_0xccbacb-0x18d,_0x2ad2cf,_0x4f0d90-_0x1fa759._0x3fc5a0);}return collectClientResults((await _0x4ee2c0(_0x333c6a))[_0x5df7af(-_0x292445._0x4f250c,_0x292445._0x25640e,-0x21f,_0x292445._0x3c7ccc)](_0x5a376f=>_0x5a376f[_0x5df7af(0x1bd,0xea,0xed,0x52)][_0x43fc28(0x3da,0x6de,0x71c,0x547)](_0x333c6a)));},async 'hover'(_0xf7b1a5){const _0x2fc9ea=await Promise['allSettled']((await _0x4ee2c0(_0xf7b1a5))[_0x10bc1d(_0x2def8b._0x1c3d81,0x4a2,0x5ec,_0x2def8b._0x34be55)](_0x25c8f0=>_0x25c8f0['request'][_0x10bc1d(0x6ac,0x490,0x3ad,0x4a0)](_0xf7b1a5)));function _0xaa3e10(_0x2baad8,_0x43dcbf,_0x313c67,_0xec2887){return _0x2dc9b4(_0x313c67-0x2bd,_0x43dcbf-0x160,_0x2baad8,_0xec2887-0x14);}function _0x10bc1d(_0x40b132,_0xe08696,_0x3dabd7,_0x471d8c){return _0x2dc9b4(_0xe08696-_0x2d7649._0x41289d,_0xe08696-_0x2d7649._0x2b5df3,_0x471d8c,_0x471d8c-_0x2d7649._0x71c303);}return _0x2fc9ea[_0x10bc1d(_0x2def8b._0x46bc0f,_0x2def8b._0x195d6d,0x614,_0x2def8b._0x36d277)](_0xb65ec7=>_0xb65ec7[_0xaa3e10(0x621,0x93d,0x821,0x9a1)]===_0x10bc1d(0x5d9,0x61f,0x781,0x79e)&&_0xb65ec7[_0x10bc1d(0x896,0x7e3,0x8ba,0x5a4)]?[_0xb65ec7[_0xaa3e10(0x7dd,0xa4c,0x81a,0x8d5)]]:[]);},async 'documentSymbol'(_0x26e1cf){function _0x35dc01(_0x1a634f,_0x35c9f9,_0x3e54a2,_0x43f59a){return _0x2dc9b4(_0x3e54a2-0x2b3,_0x35c9f9-_0x56a50c._0xec846a,_0x43f59a,_0x43f59a-0x37);}return await _0x5a5855(_0x26e1cf,![]),collectClientResults((await _0x514f5c(_0x26e1cf,![]))['map'](_0x551b1d=>_0x551b1d[_0x35dc01(0x6a9,0x751,0x6a6,0x7c8)]['documentSymbol'](_0x26e1cf)));},async 'workspaceSymbol'(_0x15d12f){const _0x4b0017={_0x384bf2:0x2a4,_0x2a14f4:0xae},_0x40e563={_0x16094a:0x3b};function _0x511e63(_0x2ebd74,_0xfff1d5,_0x413864,_0x1b611f){return _0x2dc9b4(_0xfff1d5-_0x40e563._0x16094a,_0xfff1d5-0xec,_0x413864,_0x1b611f-0xb2);}function _0xd34c3(_0xd6f6cc,_0x3017f4,_0x12eb57,_0x2a0fa6){return _0x2dc9b4(_0x2a0fa6- -_0x4b0017._0x384bf2,_0x3017f4-0x1f,_0x3017f4,_0x2a0fa6-_0x4b0017._0x2a14f4);}return collectClientResults(_0x206026[_0xd34c3(0x4b6,_0x3d44a9._0x537490,_0x3d44a9._0x2b9dc5,_0x3d44a9._0x48cc2c)][_0x511e63(0x47a,_0x3d44a9._0x93399b,0x279,_0x3d44a9._0x1b02a8)](_0x4206ff=>_0x4206ff['request'][_0xd34c3(-0x1e4,-0x23a,-0x214,-0x64)](_0x15d12f)));},async 'implementation'(_0x5e1704){const _0x20c9ba={_0x1d5e6b:0x193};function _0x19e958(_0x3abde3,_0x402428,_0xa6d05d,_0x42aa43){return _0x2dc9b4(_0x42aa43-_0x1e3d32._0x126141,_0x402428-0x117,_0xa6d05d,_0x42aa43-_0x1e3d32._0x1b2842);}function _0xcbe784(_0xf24400,_0x4c1fd9,_0x1fa36a,_0x4664fd){return _0x2dc9b4(_0x4664fd- -0x221,_0x4c1fd9-_0x20c9ba._0x1d5e6b,_0x4c1fd9,_0x4664fd-0xdf);}return collectClientResults((await _0x4ee2c0(_0x5e1704))[_0x19e958(0x2e6,0xd9,0x165,0x312)](_0x330320=>_0x330320[_0x19e958(0x410,0x5d2,0x64b,0x4e9)]['implementation'](_0x5e1704)));},async 'prepareCallHierarchy'(_0x4d31e2){return _0x4de375(_0x4d31e2);},async 'incomingCalls'(_0x5417a6){const _0x3a7e14={_0x3fefe9:0x12},_0x4e3db2={_0x3cb925:0xdd,_0x518b46:0x7a,_0x1ee181:0x1cc},_0x452a43=await _0x4de375(_0x5417a6);function _0x42ff63(_0x57879a,_0x589f6c,_0xf1e761,_0x53897a){return _0x2dc9b4(_0xf1e761-_0x4e3db2._0x3cb925,_0x589f6c-_0x4e3db2._0x518b46,_0x57879a,_0x53897a-_0x4e3db2._0x1ee181);}const _0x54bbc9=await _0x4ee2c0(_0x5417a6);function _0x11f915(_0x35dede,_0x3be6e6,_0x4324bd,_0x4d649c){return _0x2dc9b4(_0x35dede- -0x241,_0x3be6e6-_0x3a7e14._0x3fefe9,_0x4d649c,_0x4d649c-0x1ed);}return collectClientResults(_0x54bbc9[_0x11f915(_0x4d0880._0x432bd7,_0x4d0880._0x3fc5c2,0x119,_0x4d0880._0x1488fc)](_0x41255c=>_0x452a43['map'](_0x4fb80d=>_0x41255c[_0x11f915(0x1b2,0x2eb,0x170,0x7f)][_0x11f915(0xe7,0x60,0x2ce,0x10d)](_0x4fb80d))));},async 'outgoingCalls'(_0x3c0f6c){function _0x2ffaca(_0x428be9,_0x557543,_0xb1cabc,_0x32afa2){return _0x2dc9b4(_0x428be9-0x350,_0x557543-0x111,_0x557543,_0x32afa2-0x9);}const _0x5c804a=await _0x4de375(_0x3c0f6c),_0x5f173f=await _0x4ee2c0(_0x3c0f6c);function _0x2d4b48(_0x4c1fad,_0x34c673,_0x284fdd,_0xaccbe7){return _0x2dc9b4(_0xaccbe7- -_0x187d5c._0xc6e9a6,_0x34c673-_0x187d5c._0x535c26,_0x4c1fad,_0xaccbe7-0x45);}return collectClientResults(_0x5f173f['flatMap'](_0x57fac4=>_0x5c804a[_0x2d4b48(0x45,0x3e,-0x298,-0x9a)](_0x4fcd6b=>_0x57fac4[_0x2ffaca(0x743,0x569,0x5a7,0x575)][_0x2d4b48(-0x1c0,0x11c,0x110,-0x5d)](_0x4fcd6b))));},async 'shutdown'(){const _0x438466={_0x15f25a:0x3a5,_0x178f76:0x193,_0x44d73e:0xdb},_0x5a00b6={_0x5c3765:0x1c7,_0x37ead6:0x1af};if(_0x206026['shutdownStarted'])return;function _0x2db40a(_0x3ef9bb,_0x1ade68,_0x2d28c3,_0x5e7cc2){return _0x2dc9b4(_0x1ade68- -_0x5a00b6._0x5c3765,_0x1ade68-_0x5a00b6._0x37ead6,_0x2d28c3,_0x5e7cc2-0x21);}_0x206026['shutdownStarted']=!![],await Promise[_0x376b21(0x4b0,0x630,_0x42303b._0x53769f,_0x42303b._0x174158)](_0x206026['clients']['map'](_0xc2a01f=>_0xc2a01f['shutdown']()));function _0x376b21(_0x2e67e0,_0x5603dd,_0x39981c,_0x5755b6){return _0x2dc9b4(_0x2e67e0-_0x438466._0x15f25a,_0x5603dd-_0x438466._0x178f76,_0x5755b6,_0x5755b6-_0x438466._0x44d73e);}_0x206026[_0x2db40a(_0x42303b._0x3a3301,_0x42303b._0x41679e,0x4f3,_0x42303b._0x34e67e)]=[],_0x206026[_0x376b21(_0x42303b._0x3c6bd8,0x6fd,_0x42303b._0x6ce494,0x736)]['clear'](),_0x206026[_0x376b21(_0x42303b._0x3eeed9,_0x42303b._0x1e3663,0x5d2,0x428)]['clear'](),_0x206026[_0x2db40a(_0x42303b._0x2cd3ab,-_0x42303b._0x358771,-0xbb,-0x51)][_0x376b21(0x646,_0x42303b._0x4f18a7,_0x42303b._0x5578d7,0x4e2)](),_0x206026[_0x376b21(0x532,0x5da,0x4c6,0x67f)]['clear']();},'status'(){const _0x76ac48={_0x4c5e96:0x65};function _0x55e47d(_0x3cd94e,_0x3918c2,_0x1c89c0,_0x455b25){return _0x2dc9b4(_0x3918c2-0x1a4,_0x3918c2-0x1ea,_0x3cd94e,_0x455b25-_0x76ac48._0x4c5e96);}function _0xfb461f(_0x29ff9a,_0x460912,_0x3ecd7c,_0x2b88ba){return _0x2dc9b4(_0x2b88ba-_0x116d03._0x4f9808,_0x460912-_0x116d03._0x1b8e2d,_0x3ecd7c,_0x2b88ba-_0x116d03._0x3c828c);}return{'connectedClients':_0x206026[_0x55e47d(_0x4686c3._0x1a8551,0x6d7,_0x4686c3._0x59416d,0x7e6)][_0xfb461f(_0x4686c3._0x48a416,0x36c,0x676,_0x4686c3._0x54832c)]};}};}function getCommand(_0x5eb22e){const _0x3072b5={_0x658e2a:0x7e,_0x5e86b2:0x178,_0xb53e8f:0x363,_0x14d526:0x67,_0x23564b:0x28e,_0x6d2e03:0xdb,_0x34fd20:0x272,_0x1a7b55:0x67,_0x40214a:0x26a},_0x2340d9={_0xa46e67:0x11f},_0x37a700={_0x1eb1cf:0x1a9,_0x1e4473:0x80};if(_0x5eb22e&&typeof _0x5eb22e===_0x360c54(-0x80,_0x3072b5._0x658e2a,0x6,-_0x3072b5._0x5e86b2)&&!Array[_0x360c54(_0x3072b5._0xb53e8f,0x170,-0xcf,0x128)](_0x5eb22e)&&typeof _0x5eb22e[_0x360c54(0x242,_0x3072b5._0x14d526,_0x3072b5._0x23564b,0x7e)]===_0x360c54(-0x4d,0x4c,-_0x3072b5._0x6d2e03,_0x3072b5._0x34fd20))return _0x5eb22e[_0x360c54(-0x75,_0x3072b5._0x1a7b55,-0x11d,0x195)];function _0x1099a6(_0x2cabfc,_0x1e5bcc,_0x4c4f94,_0x27245d){return _0x1957f6(_0x2cabfc-0x11,_0x1e5bcc-_0x37a700._0x1eb1cf,_0x4c4f94,_0x1e5bcc-_0x37a700._0x1e4473);}function _0x360c54(_0x1a36ad,_0x3894c9,_0x3d79c5,_0x4d38db){return _0x39a391(_0x1a36ad-_0x2340d9._0xa46e67,_0x3894c9-0x14a,_0x3894c9- -0x6b9,_0x3d79c5);}return _0x1099a6(0x4fb,0x46a,0x2d8,_0x3072b5._0x40214a);}var MOCK_WORKSPACE_LISTING=[_0x39a391(0x75f,0x4fb,0x568,0x420),_0x39a391(0x966,0xb39,0x95b,0x998),'docs/plans/2026-04-16-public-tools-api-implementation.md',_0x1957f6(-0x100,0xec,-0x144,0x58),_0x1957f6(0x17f,0xb1,-0x26b,-0x1c),_0x39a391(0x8ce,0x5bb,0x6d2,0x84b),_0x39a391(0x739,0x6ce,0x68c,0x8aa),_0x1957f6(0x49f,0x5fa,0x5bb,0x3f3),_0x1957f6(0x3fd,0x335,0x298,0x2f8),'src/tools/core/mock-tool-runtime.ts','src/formats/provider-adapters.ts',_0x39a391(0x569,0x5ef,0x500,0x686),_0x1957f6(0x506,0x196,0x51c,0x2e9),_0x1957f6(-0x1e4,-0x177,-0x5,-0xb),_0x39a391(0x78b,0x99d,0x7c0,0xa17),_0x39a391(0x6b5,0x7a2,0x80a,0x6a1),_0x39a391(0x6ac,0x6e7,0x645,0x6ae)][_0x1957f6(0x95,0x2a8,-0x146,0x10c)]('\x0a'),SHELL_EXEC_TOOL={'name':'Bash','description':_0x39a391(0xa42,0x687,0x80b,0x632),'input_schema':{'type':'object','properties':{'command':{'type':_0x39a391(0x87b,0x90b,0x705,0x6b2)}},'required':[_0x39a391(0x655,0x5fc,0x720,0x79a)]}};function createMeta(){return{'transforms':[]};}function createOutputChunk(_0x5f1a9f){return{'output':_0x5f1a9f,'structured':{'value':_0x5f1a9f}};}function createUnknownToolResult(_0x595e68){const _0x11d23e={_0x593b72:0x142,_0x9b07f0:0x9a,_0x5dbc48:0xae,_0x4da5de:0xeb,_0x29421f:0x150,_0x54e1a5:0xd2,_0x26625b:0xca},_0x88a838={_0x3cdeb7:0x71f};function _0x369d57(_0x43aa35,_0x2dad69,_0x962f03,_0x24adf1){return _0x39a391(_0x43aa35-0xee,_0x2dad69-0x1c6,_0x2dad69- -_0x88a838._0x3cdeb7,_0x24adf1);}function _0x3f3652(_0x291a70,_0x18ca77,_0x2d0c21,_0x11e711){return _0x39a391(_0x291a70-0x1ec,_0x18ca77-0x33,_0x18ca77- -0x631,_0x291a70);}return{'callId':_0x595e68['id'],'toolName':_0x595e68['name'],'status':_0x3f3652(0x11c,_0x11d23e._0x593b72,-0xca,_0x11d23e._0x9b07f0),'output':_0x369d57(_0x11d23e._0x5dbc48,-_0x11d23e._0x4da5de,-0x2d0,-0x31a)+_0x595e68[_0x369d57(-_0x11d23e._0x29421f,-_0x11d23e._0x54e1a5,_0x11d23e._0x26625b,-0x277)],'structured':{'exitCode':0x1},'chunks':[],'meta':createMeta()};}function createSuccessToolResult(_0x1d428c,_0x35d281){const _0x4a3072={_0x4dfe7f:0x32c,_0xe8dd8b:0x1de,_0x20017c:0x1d4,_0x49b1e6:0x263,_0x14aa53:0x78},_0x12d669={_0x1506d2:0xc0,_0x10c65a:0x1ec},_0x2aa2d6={_0x4f3f11:0x123};function _0x28fd9e(_0x330ee3,_0x302103,_0x5c941f,_0x322667){return _0x39a391(_0x330ee3-0x1da,_0x302103-_0x2aa2d6._0x4f3f11,_0x330ee3- -0x531,_0x302103);}function _0x3d54d0(_0x380b4f,_0x15c8f5,_0x27be31,_0x17e427){return _0x39a391(_0x380b4f-_0x12d669._0x1506d2,_0x15c8f5-_0x12d669._0x10c65a,_0x380b4f- -0x321,_0x17e427);}return{'callId':_0x1d428c['id'],'toolName':_0x1d428c[_0x3d54d0(_0x4a3072._0x4dfe7f,_0x4a3072._0xe8dd8b,_0x4a3072._0x20017c,0x29d)],'status':'ok','output':MOCK_WORKSPACE_LISTING,'structured':{'command':getCommand(_0x1d428c[_0x28fd9e(0x160,0x2ab,_0x4a3072._0x49b1e6,_0x4a3072._0x14aa53)]),'exitCode':0x0},'chunks':[_0x35d281],'meta':createMeta()};}function createMockToolRuntime(){const _0x233077={_0x1452af:0x70b,_0x1bea65:0x6e2,_0xcf5de:0x54a,_0x15a200:0x532,_0x1b35a7:0x39f,_0x351d30:0x2e9},_0x44a646={_0x35679b:0xba},_0x470b8a={_0x41f0c5:0x199},_0x2e2a1e={_0x25e081:0x588,_0x15505c:0x3cc,_0x3f3745:0x492,_0x278db4:0x555,_0x2ac5f4:0x3a5},_0x369af2=async(_0x43e05f,_0x11ce0d)=>{const _0x5a1800={_0x11979f:0x180};function _0x930ae(_0x16313e,_0xc9470,_0x16298b,_0x49f26d){return _0x1b0d(_0x49f26d- -0x95,_0x16298b);}if(_0x43e05f[_0x5405f2(_0x2e2a1e._0x25e081,_0x2e2a1e._0x15505c,0x65f,_0x2e2a1e._0x3f3745)]!==_0x930ae(0x2eb,0x50c,_0x2e2a1e._0x278db4,_0x2e2a1e._0x2ac5f4))return createUnknownToolResult(_0x43e05f);const _0x311bbb=createOutputChunk(MOCK_WORKSPACE_LISTING);function _0x5405f2(_0x31050e,_0x3480ec,_0x37f61c,_0x53b8a3){return _0x1b0d(_0x53b8a3-_0x5a1800._0x11979f,_0x37f61c);}return createSuccessToolResult(_0x43e05f,_0x311bbb);};return{'listToolSchemas'(){return[SHELL_EXEC_TOOL];},'setTools'(){return void 0x0;},async 'executeCalls'(_0x10aff2,_0x31b64e){function _0x194a12(_0x1171b7,_0x459214,_0x5ac67c,_0xf0aaee){return _0x1b0d(_0x1171b7-_0x470b8a._0x41f0c5,_0x459214);}function _0x2b7c4f(_0x3c204c,_0x3f6278,_0x3be398,_0x5233ea){return _0x1b0d(_0x3be398-_0x44a646._0x35679b,_0x3f6278);}return await Promise[_0x194a12(_0x233077._0x1452af,0x866,_0x233077._0x1bea65,_0x233077._0xcf5de)](_0x10aff2[_0x2b7c4f(_0x233077._0x15a200,0x31d,_0x233077._0x1b35a7,_0x233077._0x351d30)](async _0x5a3685=>{return await _0x369af2(_0x5a3685,_0x31b64e);}));},async 'execute'(_0x4d9bc0,_0xe8890e){return await _0x369af2(_0x4d9bc0,_0xe8890e);}};}import{randomUUID}from'crypto';var MODEL_TIERS=['fast',_0x39a391(0x643,0x6ab,0x798,0x68c),'powerful'],DelegatedResolutionError=class extends Error{[_0x1957f6(0x207,0x368,0x1c4,0x322)];[_0x39a391(0x703,0x5d4,0x590,0x763)];[_0x1957f6(0x25b,-0xcb,0x15,0x12d)];constructor(_0x3300f6,_0x4edc60,_0x3e4537){const _0x4c7919={_0x4f80ee:0xf8,_0x2d764a:0x17f,_0x2939e2:0x316,_0x18539b:0xd5,_0x386b24:0x1d9,_0x3a4fb8:0x5bc,_0x17f6e1:0x437,_0x1f73eb:0x30c,_0x580e55:0x419},_0x4be139={_0x43f86e:0x1c5,_0x35de44:0x30a},_0x222a4f={_0x2fe922:0xf0,_0x1f2e27:0x37};super(_0x3300f6,_0x3e4537),this[_0x220d8a(0xad,0x2ea,_0x4c7919._0x4f80ee,_0x4c7919._0x2d764a)]='DelegatedResolutionError';function _0x220d8a(_0x31b034,_0x2f46e6,_0x44ce5c,_0x29d9a4){return _0x1957f6(_0x31b034-0x1af,_0x2f46e6-_0x222a4f._0x2fe922,_0x44ce5c,_0x29d9a4-_0x222a4f._0x1f2e27);}this['requestedModelTier']=_0x4edc60['requestedModelTier'];function _0x1c87f3(_0x369cc0,_0x461b46,_0x107f51,_0x4bc594){return _0x1957f6(_0x369cc0-0xbf,_0x461b46-_0x4be139._0x43f86e,_0x107f51,_0x461b46-_0x4be139._0x35de44);}this[_0x1c87f3(_0x4c7919._0x2939e2,0x395,0x192,0x2d4)]=_0x4edc60[_0x220d8a(_0x4c7919._0x18539b,0x31d,_0x4c7919._0x386b24,0xc2)],this[_0x1c87f3(_0x4c7919._0x3a4fb8,0x437,0x2fe,0x5f5)]=_0x4edc60[_0x1c87f3(0x2f2,_0x4c7919._0x17f6e1,_0x4c7919._0x1f73eb,_0x4c7919._0x580e55)];}},RFC4122_UUID=/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i,DELEGATED_RUN_PREFIX=_0x1957f6(0x137,0x363,0x51b,0x38d);function _0x873b(){const _0x5b6105=['tunqihrVB2WG','C3bHD25PBMC','zw5NAw5LCW','lMPZ','vw5ZywzLig9Yig1PC3nPBMCGv2LUzg93CYbYB290ihbPza','ChjVz3jHBsbUzxn0zwqGDg9VBcbLEgvJDxrPB24GzMfPBgvK','y29UBMvJDa','DxrTx2nHBxbHAwDU','yMfZAwm','ANnVBMm','DxjP','zMXHDe1HCa','nKDVB2Xtuq','ChjVy2vZC0DYB3vWswq','z2XVyMfS','C2LNBMfS','C25PChbLDa','AhrTBfnUAxbWzxq','u0HfteW','C2XPy2u','zgvSzxrLlNn0yxj0tgLUzq','Cgf0DgvYBIbTDxn0igjLigf0ig1VC3qG','BM9UBMvNyxrPDMu','ugf0y2GGBxvZDcbIzwDPBIb3AxrOigeGw1bbveGJvefhxsbOzwfKzxiU','igj5DguTAwrLBNrPy2fSlG','q3jLyxrLig9Yig92zxj3CML0zsbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmU','CM91DgLUzW','zgvMyxvSDen3za','y2XVC2u','q291BgqGBM90ihjLC29SDMuGAg9ZDa','Aw5FChjVz3jLC3m','C2HPzNq','C3vKBW','yMLYDgH0Aw1L','Aw52ywXPzf90B2rVx3n0yxr1CW','BwfUDwfS','Dw5ZzwvUx2XPBMvZ','rMLSzvjLywq','ChjPB3jPDhK','yMLUza','A2v5CW','Aw5Zzxj0','jYbUB3qGzM91BMqUief2ywLSywjSzsbZA2LSBhm6ia','tM8GCMvZDwX0CYbMB3vUzc4','qxnRig9UzsbVCIbTB3jLig11BhrPCgXLlwnOB2LJzsbXDwvZDgLVBNmGD2HLBIbWCMvMzxjLBMnLCYWGyw1IAwD1Axr5lcbVCIbHigrLy2LZAw9UigjSB2nRCYbWCM9NCMvZCY4GrxzLCNKGCxvLC3rPB24GC3vWCg9YDhmGiK90AgvYiI4Gu2v0ig11BhrPu2vSzwn0ihrVigfSBg93ig11BhrPCgXLigfUC3DLCNmUifb1Dcb0AguGCMvJB21Tzw5KzwqGB3b0Aw9UigzPCNn0igfUzcbZDwzMAxGGAxrZigXHyMvSihDPDgGGiIHszwnVBw1LBMrLzcKIlG','Bwf4vMvYC2LVBNnqzxjqyxrO','CMvWBgfJzsbZDgfYDeXPBMuGBxvZDcbUB3qGzxHJzwvKigvUzeXPBMuU','C2v2zxjPDhK','z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y','u3rYAwn0sNnVBLzHBgLKyxrPB25fCNjVCG','yxbWBhK','Dhj1BMm','Bg9VA3vW','Dgv4Da','ihDHCYbYzwfKlG','C3rKzxjY','Cg9ZDf93CML0zv9KCMLMDdOGrMfPBgvKihrVihzLCMLMEsa','C3rHDa','CgvUzgLUzW','CNvUsw5cywnRz3jVDw5K','ChjVz3jHBs1YDw50Aw1LlxvUyxzHAwXHyMXL','y3jLyxrLq29UDgv4Da','igj5DgvZ','ChjVz3jHBs10B29Slq','Dg9mB3DLCKnHC2u','BhmGlwXH','z29Vz2XLq3nLs2v5','ig11C3qGBM90ignVBNrHAw4GC3LTyM9SigTLExm','y29KzvzLCMLMAwvY','u25HChnOB3qGDgfNia','CMvNAw9U','qMfJA2DYB3vUzcbWCM9JzxnZigLZigfSCMvHzhKGyxr0ywnOzwq','igj5DgvZicH0B3rHBdOG','Dgv4Dc9ODg1S','C3jJl2fNzw50l2v4DgvUC2LVBI1YzwDPC3rYEs50CW','yw5JAg9YzwqTANnVBG','lMnTza','y29UzMLN','lu5Vtg9NBW','yw50AhjVCgLJlw1LC3nHz2vZ','lwXPBMuGC25HChnOB3qU','mtaUmc4WlJa','BM93','C2vUza','ig11C3qGBM90igjLigeGyNvPBhqTAw4GB2jQzwn0','ChjVz3jHBs1HyM9YDgvK','BgvUz3rO','Aw5Zzxj0ignVBNrLBNqGBxvZDcbIzsbHihn0CMLUzY4','CNvUrxHJBhvZAxzL','DxrTx3rLCM0','vw5HyMXLihrVihjLywqG','Axntzxq','B3v0Chv0uMvNzxG','t3b0Aw9UywWGC2HVCNqGzgLZCgXHEsbUyw1LigzVCIb0AgLZigrLBgvNyxrLzcbYDw4UifvZzwqGB25SEsbMB3iGzgLZCgXHEsbHBMqGBM90ihnLBNqGDg8GDgHLigfNzw50lG','zw50CMLLCW','x19UDxzPBLbYB2DYyw1nywLU','A2LSBfjLCxvLC3rLza','yw5UB3rHDgLVBNm','BgLNAhq','ienHDxnLoIa','BM90lwzVDw5K','q29TBwfUzcaN','tg9HzgvKigzYB206ia','y2XPzw50twv0ywrHDgfvCMW','B3rOzxi','lMPZB25J','C3rKAw8','ihrVB2WGzgLZy292zxj5ihrPBwvKig91Da','y2fSBeHPzxjHCMnOEs9PBMnVBwLUz0nHBgXZ','tLvwsu5FreLtqujmrv9mu1bFre9xtKXpquq','DhLWzxnJCMLWDhjLywn0','zgvZy3jPChrVCNm','ChvZAa','mtC3mZq3nxroA3n1rG','ugf0AcbPCYbUB3qGysbMAwXLoIa','Dg9VBcbYzxf1zxn0','C2nYDwjfBNzqCMvMAxHLCW','sw52ywXPzcb0Aw1LB3v0txm6igv4CgvJDgvKigeGCg9ZAxrPDMuGBNvTyMvY','Bwf4q2HHCNm','Aw5KzxHpzG','mc4WlJaUma','u2vUze1LC3nHz2u','Bg93','ChjVz3jHBsbLEgvJDxrPB24GD2fZigfIB3j0zwq','ChjVDg9JB2W','wZ0+nY04kcLD','zNvUy3rPB24','C2v0','qwXSia','zgf0zxrPBwu','yMLVBwuUANnVBMm','tfnqia','uhjVz3jHBuLZB2XHDgvfCNjVCG','ChjVz3jHBsbPC29SyxrLigv4y2vLzgvKigL0CYbYzxnVDxjJzsbSAw1PDa','Cgf0DgvYBIbPCYbYzxf1AxjLza','zgvUEq','ANnVBG','y2XPzw50CW','CxvLDwvK','Aw1Hz2uVANbLzW','DhjHBNnWB3j0','CMvJB3jKtM9dAgfUz2u','ChjVz3jHBs1PC29SyxrPB24TDw5HDMfPBgfIBgu','Dg91y2HqyxrO','ChjVz3jHBsbYzxn1BhqGBxvZDcbIzsbHihn0CMLJDcbku09oihzHBhvL','BgLI','l3bPza','igfMDgvYihDYAxrPBMCGka','Dw5RBM93BG','BMv3tgLUzunVDw50','yM9VBgvHBG','DgvYBwLUyxrPB24TzMfPBgvK','CxvLC3rPB24','ntCYnJC3CK9nAMHS','Dg9VBenHBgXqyxrO','ywn0AxzL','ChjVz3jHBsb0B29SigjYAwrNzsbYzwnLAxzLzcbHBIbPBNzHBgLKihrVB2WGCMvZCg9UC2u','D2LUzg93CW','Cgf0DgvYBG','cGPoBYb0B29SigrLzMLUAxrPB25ZigfYzsbJywXSywjSzs4','ywrKsxnZDwu','yxrVBwLJv3jPDgu','ChjVz3jHBsbLEgvJDxrPB24GzxHJzwvKzwqGAxrZihrPBwuGBgLTAxq','BgLUzu51BwjLCNm','qxzHAwXHyMXLihnRAwXSCYaOC2TPBgXFBMfTztOGzgvZy3jPChrPB24PoG','yw1IAwD1B3vZx3nUyxbZAg90x3rHzW','vMLLD0zPBgu','Aw52ywXPzc1Yzxn1Bhq','C2nYAxb0','zgf0yq','mc4WlJa','zxHLy3v0Aw9Uu2nVCgu','ksbMB3iG','zg9JCY9WBgfUCY8Ymdi2lta0lte2lw1Vy2STywDLBNqTBg9VCc1PBxbSzw1LBNrHDgLVBI5Tza','r0LgodLH','AxnfBMfIBgvK','C2v0vg9KB3m','Aw5WDxrty2HLBwe','q29UDgv4DcbKB2vZig5VDcbZDxbWB3j0ihvZzxiGCxvLC3rPB25Z','DMfSDwu','ie9sia','ywDLBNrjza','Dg9VBe5HBwvZ','AxnoyxrPDMvfCNjVCG','zgLZCgXHEwvKtgLUzxm','BwvZC2fNzq','C3rHDhvZ','ig11C3qGyMuGysbku09oig9IAMvJDa','lM51DMLUlwnVzgu','z3jHy2vMDwXszxf1zxn0zwq','BwnWlwnSB3nLlwzHAwXLza','rM9YigzVCMvNCM91BMqGCNvUCYWGCMv0DxjUig9UBhKGy29TCgXLDguGC3rKB3v0l3n0zgvYCIbSAw5LCYbTyxrJAgLUzYb0AgLZihjLz2v4oYbLEgL0ihn0yxr1CYbPCYb1BMnOyw5NzwqU','zgvSzxrLihn0yxj0tgLUzsbTDxn0ig5VDcbLEgnLzwqGzw5KtgLUzs4','B3bLCMf0Aw9UCW','BgLUzvrLEhq','zxzPy3rmzwfZDfjLy2vUDgX5vxnLzfbHDgG','ChjVz3jHBsbUzxn0zwqGzxHLy3v0Aw9UigLUzNjHC3rYDwn0DxjLigzHAwXLza','z29Vz2XLlwnZzq','lMPWzwC','ywjZ','AgfZ','zgLYBMfTzq','mtKYlJaUmc4W','z2v0vg9KB3m','C2fMzvbHCNnL','zMLUza','Cg5WBs1SB2nRlNLHBwW','ue9tva','mJi0lJaUmc4W','yxv0Ag9YAxPHDgLVBL9JB2rL','C2vHCMnOrgvWDgG','C3rHDgu','y2HHBMDL','ugf0AcbUB3qGzM91BMq6ia','cMbGya','u2vUze1LC3nHz2uG','BMf2','nZCXodiYs2zgwNHU','Bwf0y2G','Dw5RBM93BL9ZBMfWC2HVDdOGvw5HyMXLihrVihjLywqG','CMvJzw5JEq','ChjVz3jHBs1PBNzHBgLKlxjLC3vSDa','zxHPDenVzgu','rgLYzwn0B3j5ig5VDcbMB3vUzdOG','qsbJB25JAxnLigv4CgXHBMf0Aw9Uig9MihDOyxqGDgHPCYbLzgL0ignOyw5NzxmGyw5KihDOEsdIGjqGDgHLigDVywWGAxqGywr2yw5JzxmUifnOB3DUihrVihrOzsb1C2vYigjLzM9Yzsb0AguGy2HHBMDLigLZigfWCgXPzwqUiejLihnWzwnPzMLJlcbLlMCUicDgAxGGDgHLihrVA2vUlxjLzNjLC2GGCMfJzsbPBIb0AguGyxv0AcbJBgLLBNqNihjHDgHLCIb0AgfUicDLzgL0igzPBguNlG','uhjVDMLKzxiGBMfTzsbJyw5UB3qGyMuGzw1WDhK','CNvUswq','Dg90ywXeCM9WCgvK','r0LgodDH','D2LUmZi','t3b0Aw9UywWGBw9KzwWGy2fWywjPBgL0EsbVDMvYCMLKzs4Gq2HVB3nLihrOzsbSzwfZDcbJyxbHyMXLihrPzxiGywrLCxvHDguGzM9YihrOzsb0yxnRoIbGzMfZDgaG4OcuigjVDw5KzwqGBg9VA3vWlcbZzwfYy2GSihn1Bw1HCML6yxrPB24Sig9YihnPBxbSzsbSB3CTCMLZAYb3B3jRoYbGyMfSyw5JzwrGiokaLcbUB3jTywWGAw1WBgvTzw50yxrPB24SihjLDMLLDYWGzgvIDwDNAw5NlcbVCIbTDwX0As1ZDgvWihDVCMS7igbWB3DLCMz1BgaG4OcuigfTyMLNDw91CYWGAgLNAc1YAxnRlcbJCM9ZCY1JDxr0Aw5NlcbVCIb1BNvZDwfSBhKGzgLMzMLJDwX0ihjLyxnVBMLUzY4GvgLLCIbZzwXLy3rPB24GzxHWCMvZC2vZihrHC2SGCMvXDwLYzw1LBNrZig9UBhKSig5VDcbWCM92AwrLCIWGChjPy2uSig9Yigf2ywLSywjPBgL0Es4Gt21PDcbGBw9KzwXuAwvYycb3AgvUig5VigrLBgLIzxjHDguGB3zLCNjPzguGAxmGBMvLzgvKlG','y29ZDa','q29TBwfUzcbLEgL0zwqGD2L0AcbJB2rLia','tM8GC3vJAcbMAwXLoIaN','DgvZDa','zNjLzxPL','CMfUzg9T','Aw5JBhvKzq','qwjVCNrfCNjVCG','uhjVz3jHBq','C3rHBgvFC25HChnOB3q6ifvUywjSzsb0BYbYzwfKia','CMvSyxrPDMu','Aw52ywXPzf9Yyw5Nzq','B3DUs2v5CW','C3jJl2fNzw50l2fNzw50lNrZ','mtK4lJe4lJaUma','ignOyw5NzwqGB24GzgLZAZSGCMuTCMvHzcb3AxrOiezPBgvszwfKigfUzcbYzxrYEsb3AxrOihrOzsbMCMvZAcb0ywCU','DMvYAwzPzxi','C3rKB3v0','CgfYzw50u2vZC2LVBKLK','uhjVz3jHBsbUzxn0zwqGDg9VBcbLEgvJDxrPB24GAxmGDw5HDMfPBgfIBgu','AxnqCM9TAxnL','zMv0y2HjBxbS','ChjVz3jHBs1PBNzHBgLKlxnVDxjJzq','sw5ZCgvJDcbHifborYWGsLbfrYWGv2vIucWGB3iGr0LgigLTywDLigzYB20GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlIbvC2uGrMLSzvjLywqGzM9YihrLEhqU','wefjx0fqsv9lrvK','oWOGignVBNn0iefZEw5JrNvUy3rPB24GpsbpyMPLy3qUz2v0uhjVDg90ExbLt2yOyxn5BMmGzNvUy3rPB24GkcKGE30PlMnVBNn0CNvJDg9YoWOGignVBNn0ig1HAw4GpsbUzxCGqxn5BMngDw5JDgLVBIGIDg9VBhmIlcaNiNvZzsbZDhjPy3qIo1XUjYaRihnVDxjJzsK7cIaGt2jQzwn0lMrLzMLUzvbYB3bLCNr5kg1HAw4SicjUyw1LiIWGEYb2ywX1ztOGiM1HAw4Iih0PoWOGigDSB2jHBfrOAxmU','lNrZ','tgLUzsa','ihrVzg8GAxrLBxmGAgf2zsbIzwvUignVBxbSzxrLzcbZDwnJzxnZzNvSBhKHcGO8C3LZDgvTlxjLBwLUzgvYpGPbBgWGDg9KBYbPDgvTCYbHCMuGBM93ignVBxbSzxrLzc4Grg8GBM90ignHBgWGvg9KB1DYAxrLigfNywLUlIbjzIb0AguGChjVDMLUzYb0zxn0ig9Yigj1AwXKigfSCMvHzhKGCgfZC2vKlcbZDg9WlGPdB21WBgv0zwqGBgLZDdOk','DwX0CMe','C3jJl2fNzw50l2fNzw50lNrLC3qUDhm','zw5K','ChjVz3jHBs1LEgvJDxrPB24TzxjYB3i','ihrPBwvKig91DcbHzNrLCIa','DgfZA2TPBgW','rMLSzsa','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrZ','ls0T','v0vcua','Bwv0yvTWCM9Wzxj0Et0NB2C6DgL0BguNxq','Dg9VBe5HBwu','u3rHCNrLzcbHz2vUDcbYDw4G','zxHLy3v0zu5LC3rLzfrVB2W','BwnWlxnKAY1JBgLLBNqTzxjYB3i','Bwv0yxrHz3m','vg9KB3mGAgf2zsbIzwvUig1VzgLMAwvKihn1y2nLC3nMDwXSEs4Gq29UDgLUDwuGD2L0AcbJDxjYzw50ihrHC2TZigLMigfWCgXPy2fIBguUcGO8C3LZDgvTlxjLBwLUzgvYpGPzB3vYihrVzg8GBgLZDcbOyxmGy2HHBMDLzc4Gre8GtK9uig1LBNrPB24GDgHPCYbLEhbSAwnPDgX5ihrVihrOzsb1C2vYlIbmyxrLC3qGy29UDgvUDhm6cG','ugf0AcbPCYbVDxrZAwrLigfSBg93zwqGzgLYzwn0B3jPzxm6ia','tM8Gy2HHBMDLCYaOy29UDgvUDcbPzgvUDgLJywWPlG','oWOGigrLBgv0zsbNBg9IywXuAgLZlG','CMvQzwn0','q29TCgXLDguSihnLBgyTy29UDgfPBMvKigLUC3rYDwn0Aw9UCYbZzw50ihzLCMjHDgLTihrVihrOzsbKzwXLz2f0zwqGywDLBNqUieLUy2X1zguGCMvSzxzHBNqGy29UDgv4DcWGC2nVCguSignVBNn0CMfPBNrZlcbHBMqGzxHWzwn0zwqGB3v0Chv0lG','ywXSu2v0DgXLza','yM94zwq','zMLUzfjLzMvYzw5Jzxm','rM91BMqG','DgLTzw91DfnPz25HBa','tM8GyMfJA2DYB3vUzcbWCM9JzxnZihDPDgGGAwqG','mtm0mgHTte50rW','CM93CW','CMvXDwLYzwrmAw5LCW','igLZihvUA25VD24GzM9Yia','C3LZDgvTuhjVBxb0','zxH0BMfTzq','zMLUywXnzxnZywDL','rwrPDcbHifvurI04ihrLEhqGzMLSzsb1C2LUzYbHihnUyxbZAg90lwfUy2HVCMvKieHHC2HSAw5LihbHDgnOlIbdywXSiezPBgvszwfKigzPCNn0ihrVig9IDgfPBIb0AguGy3vYCMvUDcbBCgf0AcnuquDDigHLywrLCIbHBMqGtJOGBgLUzsbUDw1IzxjZoYbLDMvYEsbLzgL0ihjLCxvPCMvZihrOyxqGDgfNlcbHBMqGywXSigXPBMuGBNvTyMvYCYbIzwXVDYbYzwzLCIb0BYb0AguGtJOGCM93CYbMCM9TihLVDxiGBw9ZDcbYzwnLBNqGCMvHzc4GuMv1C2uGDgHLigzYzxnOicnuquCGCMv0DxjUzwqGyNKGysbZDwnJzxnZzNvSigvKAxqGzM9YihrOzsbUzxH0igvKAxqGB24GDgHLihnHBwuGzMLSztSGCMuTCMvHzcbVBMX5ihDOzw4GEw91ig5LzwqGDw5ZzwvUigXPBMuGBNvTyMvYCYbVCIbHihrHzYbPCYbYzwPLy3rLzc4kvgHLihbHDgnOihn0CMLUzYbPCYbVBMuGw3bHDgGJvefhxsbOzwfKzxiGCM93igzVBgXVD2vKigj5ig9UzsbVCIbTB3jLignVBw1HBMrZlcbLywnOigfWCgXPzwqGywDHAw5ZDcb0AguGB3jPz2LUywWGC25HChnOB3q6cI0GufvuifnuqvjulJ1ftKq6ihjLCgXHy2vZigXPBMvZifnuqvjuihrOCM91z2GGru5eicHPBMnSDxnPDMuPihDPDgGGDgHLihbHEwXVywqGCM93CYb0Agf0igzVBgXVDZSGzwfJAcbWyxLSB2fKihjVDYbZDgfYDhmGD2L0AcaRicHHigjHCMuGkYbPCYbHigjSyw5RigXPBMuPlGOTifbvvca8tJOGAw5Zzxj0CYb0AguGCgf5Bg9HzcbYB3DZigjLzM9YzsbSAw5Lie4Uifbvvca+tJOGAw5Zzxj0CYb0AgvTigfMDgvYigXPBMuGtI4klsbdvvqGu1rbuLqUpuvorcbKzwXLDgvZigXPBMvZifnuqvjuihrOCM91z2GGru5eicHPBMnSDxnPDMuPlGPfEgfTCgXLicHYzxbSywnLigXPBMuGmIWGDgHLBIbPBNnLCNqGywz0zxiGBgLUzsa5ktOkw3nYyY9HChaUDhmJn0yYmue5m0m1rdeWxqPqvvqGmI49mJOkk2nVBNn0ihjLC3vSDca9ignHBgn1Bgf0zsHPBNb1DcK7cLbvvca+otOkk3jLDhvYBIbYzxn1Bhq7cLvZzsbmrIbSAw5LigvUzgLUz3mGB25SEsaOBM8Gy2fYCMLHz2uGCMv0DxjUCYKUief0ig1VC3qGmtaWig9WzxjHDgLVBNmGyw5Kidi1nIblAuiGB2yGCgf0y2GGDgv4DcbWzxiGy2fSBc4','B2f1DgG','CMvZDwX0','y29TCgLSzvnJCMLWDa','ugf0y2GGy29UDgfPBNmGBM8GB3bLCMf0Aw9UCY4','cIGOksa9pIb7cIaGiNvZzsbZDhjPy3qIoWOGignVBNn0ihnVDxjJzsa9igDSB2jHBfrOAxmU','Aw50zxjUywXmAwzLy3LJBgu','yxbWzw5KrgvJB2rLza','zgvSAw1PDgvY','Bwf4ugf0Ahm','zgvJB2rL','yM91BMrLza','BxmU','Cgf0Aa','C3rYAxbbBNnP','Aw1Hz2u','DgL0Bgu','Bwv0yvTUyw1LpsDKzxnJCMLWDgLVBIDD','y29UDgvUDa','BgLUzuvUza','C2vHCMnOvhLWzq','C3rHBgvFC25HChnOB3q','cIHszxn1BhrZigfYzsb0CNvUy2f0zwqUienVBNnPzgvYihvZAw5NigeGBw9YzsbZCgvJAwzPyYbWyxrOig9YihbHDhrLCM4Ukq','y29TCgXLDgvK','zNjVBuvUDhjPzxm','Dg9Rzw4','C3rYAw5NAwz5','C3vIywDLBNqTy29YCNvWDa','tu9ptLnit1rFqvbjx0Tfwq','C3rKB3v0rgvJB2rLCG','Aw5PDgLHBgL6zq','vxnLCIbYzxnWB25ZzxmGCMvJzwL2zwq6ia','oIbPBNzHBgLKihn0yxr1CW','yMfZzty0','CgvYBwLZC2LVBKnSyxnZ','sw52B2TLq29TBwfUza','u0Lhs0Lmta','BMv4De9MzNnLDa','uMLWz3jLCc5ZzwfYy2GGywnJzxb0CYbLAxrOzxiGzMLSzsbVCIbMAwXLCYWGBM90igjVDgG','B3b0Aw9UywW','AxnfEhrLCM5HBa','ChjVz3jHBsb0B29SigjYAwrNzsbYzwnLAxzLzcbHig5VBI1ZDhjPBMCGCMvXDwvZDa','B2XSyw1H','zMX1C2G','zxjYB3jdB2rL','l3vZCI9IAw4VyMfZAa','Bw9Kzq','DgfNig11C3qGyMuGzxHHy3rSEsaXmIb1ChbLCMnHC2uGAgv4ignOyxjHy3rLCNm7igDVDcaN','cGOTls0kcG','u2TPBgXZihbYB3zPzguGC3bLy2LHBgL6zwqGA25VD2XLzgDLigfUzcbZDgvWlwj5lxn0zxaGz3vPzgfUy2uU','revfueLorLjbx0fqsv9lrvK','D2fPDa','zgvZy3jPChrPB24','B25Jzq','rwrPDcbHifvurI04ihrLEhqGzMLSzsb1C2LUzYbZBMfWC2HVDc1HBMnOB3jLzcbSAw5Lig9WzxjHDgLVBNmUienHBgWGrMLSzvjLywqGzMLYC3qGDg8GB2j0ywLUihrOzsbJDxjYzw50ifTWyxrOi1rbr10GAgvHzgvYigfUzcbooIbSAw5Lig51BwjLCNm7igv2zxj5igvKAxqGCMvXDwLYzxmGDgHHDcb0ywCUifjLDxnLihrOzsbMCMvZAcaJvefhihjLDhvYBMvKigj5igeGC3vJy2vZC2z1BcbLzgL0igzVCIb0AguGBMv4DcbLzgL0ig9UihrOzsbZyw1LigzPBguSigfUzcbYzs1YzwfKig9UBhKGD2HLBIb5B3uGBMvLzcb1BNnLzw4GBgLUzsbUDw1IzxjZig9YigeGDgfNigLZihjLAMvJDgvKlIbmAw5Lig51BwjLCNmGAw4GB3bLCMf0Aw9UCYbYzwzLCIb0BYb0AguGtJOGCM93CYbMCM9TihLVDxiGBw9ZDcbYzwnLBNqGCMvHzc4','CMvMCMvZAf90B2TLBG','ig11C3qGBM90igjLigvTChr5lG','BMv3u3rHCNrmAw5L','DMvYC2LVBNncEvbHDgG','BwnWxW','tM8Gtunqie9bDxrOignVzguGDMvYAwzPzxiGC2f2zwq','DxjS','tgLZDcbMAwXLCYbHBMqGzgLYzwn0B3jPzxmGAw4GDgHLihDVCMTZCgfJzsbVCIbHBgXVD2vKigrPCMvJDg9YAwvZlG','BgfZDeLUzgv4t2y','B3bLBMfPlwnVzgv4','CgfJA2fNzs5QC29U','D3jPDgu','C3rHCNrLza','D2HLCMuGCMC','Dg9VBc1VDxrWDxqTB2zMBg9Hza','CgfZC3rOCM91z2G','CMvZzxroB0nOyw5Nzq','y3nP','C3rKzxjYrgvJB2rLCG','oIaICxvLC3rPB24IigzPzwXKigLZihjLCxvPCMvKigfUzcbTDxn0igjLigeGC3rYAw5N','D3jPDgvgAwXL','zg9JCY9WBgfUCY8Ymdi2lta0lte2lwfNzw50lwXVB3aTy29Yzs1KzxnPz24UBwq','Ahr0Chm6','lI4U','zMLSBa','zgLZy292zxj5','ChjVz3jHBsb0B29SigjYAwrNzsbYzwnLAxzLzcbHBIbPBNzHBgLKihrVB2WGBMfTzq','BM9Uzq','DgvYBwLUyxrPB25xAw5KB3DnCW','Dhj1zwnVBg9Y','sw52ywXPzcbYzwDLEdOG','twfUDwfSihjLyxnVBMLUzYbJyw5UB3qGC2v0igvMzM9YDa','vMfSAwrHDgvKicHKCNKGCNvUoIbUBYb3CML0zsKU','Bg9HzfnRAwXS','zhj5uNvU','Dhj1zq','y2HHCMfJDgvY','CxvLDwvKlwfZlxn0zwvYAw5N','uMLWz3jLCc5ZzwfYy2GGzxHWBgLJAxqGzMLSzxmGBxvZDcbIzsbHyNnVBhv0ztOGjW','zMjJBgLK','y2fSBfrVB2W','w1jfrefdvevexq','rw1WDhKGzMLSzxmGAgf2zsbUBYbVyNnLCNzHyMXLigXPBMuGyw5JAg9YCZSGyw5JAg9YzwqGzwrPDhmGCMvXDwLYzsbHDcbSzwfZDcbVBMuGBgLUzs4','igzHAwXLzcb0BYbJBg9Zzq','BgLUAW','zMLSzvzLCNnPB25Z','CM91BMq','BMv3vgv4Da','CMvHza','rvnsq0G','zMvUy2vK','v2vIu2vHCMnO','ywz0zxjuzxH0','mtaZmZmYmtnMC014twe','A2LUza','Dgv4DerVy3vTzw50l3bYzxbHCMvdywXSsgLLCMfYy2H5','oYbJB25ZDhj1y3qGD2L0AcbVyNnLCNzHDgLVBNmSig11Dgf0Aw9UCYWGyw5Kig91Dhb1Dej1zgDLDej5DgvZlG','Dg9WAwm','yNL0zuXLBMD0Aa','u0Lhvevstq','qwDLBNqGCNvUia','ywDLBNrnB2rLBfnLDa','B3bLBKzPBgvZ','qxqGBw9ZDca','Cg9ZDf93CML0zv9KCMLMDa','AxnnB2r1Bgvoyw1LC3bHy2vpyMPLy3q','CNvUBMLUzW','qu5usfjpueLdx0fqsv9lrvK','AgfUzgXL','Aw5PDgLHBgL6yxrPB24','mJu5mZa0tgrRu0fQ','Aw5ZDgfSBa','Dg9Rzw5tDg9YywDLs2v5','Ahr0Ca','phn5C3rLBs1Yzw1PBMrLCJ4','id0GBwfPBJSkFsKOktSk','twLJCM9ZB2z0','CMCUzxHL','C2vZC2LVBKLK','Dg9VBa','ignSB3nLihrPBwvKig91Da','ihjLCxvPCMvZigf1DgHLBNrPy2f0Aw9U','DhnJ','yxjYyxK','wKfjx0fqsv9lrvK','CgfYC2u','yNvUlMXVy2TI','AxneAxjLy3rVCNK','zw52','Bw9KzwXjzgvUDgL0Eq','BgLUzxm','Aw5ZDhj1y3rPB25Z','zgvMyxvSDfrPBwvVDxrnCW','Axnnyxa','DhjPBq','y29Uy2f0','CMvJB3jK','yNjVA2vU','z2L0AhvI','u0HfteXpufrt','BgLTAxrZ','B3nJ','BwfYA2rVD24','Aw52ywXPzf90B2rVx2LK','y2fUB25Py2fSugf0Aa','Bg9JyxrPB24','lu5VuhjVzMLSzq','C2LNBMfSqwrHChrLCG','vxnLihrOAxmGD2HLBIb0AguGDxnLCIDZihjLCxvLC3qGBwf0y2HLCYbHBIbHDMfPBgfIBguGy29TBwfUzcbKzxnJCMLWDgLVBIWGzxzLBIbPzIb0AguGDxnLCIbKAwqGBM90ihr5CguGDgHLihnSyxnOignVBw1HBMqGzxHWBgLJAxrSEs4','Bwf4q2HHCNmGBxvZDcbIzsbIzxr3zwvUideGyw5KideWndG1nZy','Cgf0Ag5HBwu','ChjVz3jHBsbZB3vYy2uGAxmGAw52ywXPza','CMvQzwn0zwq','ChjVz3jHBs10CMfJzs1LCNjVCG','BwnWlxrVB2WTy2fSBc1MywLSzwq','zw5KC1DPDgG','BgLZDfrVB2XZ','ChjVDg90ExbL','ChvIBgLZAgvKqxq','AgvHzgvYCW','y2fJAgvK','uMvMzxjLBMnL','sw52B2TLigeGy3vZDg9TignVBw1HBMqGyNKGCMvUzgvYAw5NigL0CYbYzxvZywjSzsb3B3jRzMXVDYbPBNn0CNvJDgLVBNmU','tg9HzcbHihnRAwXSigj5ig5HBwuGDg8Gz2v0igrLDgfPBgvKihrHC2SGAw5ZDhj1y3rPB25ZlIboBYbZA2LSBhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','Bw9KzwXuAwvY','Dhj1BMnHDgvK','DhjPBuvUza','ChjVz3jHBsbLEgvJDxrPB24GzMfPBgvK','DhjHAwXPBMDdAhvUA3m','CM9VDfbPza','ChjVz3jHBsb0B29SignHBgWGywrTAxnZAw9UigLZignSB3nLza','Bxv0yxrPB25Z','Dg9VBenHBgXjza','rNvSBcbVDxrWDxqGC2f2zwqGDg86ia','igzVCIbHBIbHBMnOB3jLzcbZBMfWC2HVDcaO','zw5KtgLUzq','r09pr0Xfx0ntrv9dwa','B2XKvgv4Da','EgHPz2G','Dw5NCM91CgvK','igLZig5VDcb2ywXPzcbvveyToc4','BM9Kzv9TB2r1BgvZ','uMuTCMvHzcb0AguGCMvXDwLYzwqGBgLUzxmGD2L0AcbgAwXLuMvHzcbHBMqGCMv0CNKGD2L0Acb0AguGzNjLC2GGDgfNlG','Aw1Hz2uVCg5N','B3zLCMXHChbPBMDFB3bLCMf0Aw9UCW','igj5DgvZlG','x19UDxzPBLbYB2DYyw1dywXSyMfJAW','ChjVCgvYDgLLCW','ywXSB3C','Dg9VBfjLC3vSDhm','xsbPCYbWyxn0ihrOzsbLBMqGB2yGDgHLia','y29Kzq','zw5JB2rL','zMLUAxnO','rMLSzuvKAxq','zw50CNK','AgfZAgXPBMu','Dg9VBhmVy2fSBa','CMvKDwnL','zgLNzxn0','lMXVzW','ignVBNrHAw5Zie5vtcbIExrLCY4','qgjPB21LANmVyMLVBwu','CM9VDa','C2vZC2LVBG','vg9KBYbPDgvTCYbTDxn0igHHDMuGDw5PCxvLieLeCW','revfufnfruTFqvbjx0Tfwq','CgfJA2fNzu5HBwu','AxneAxnWB3nLza','vxnLihrOAxmGD2HLBIbHihrHC2SGBwf0y2HLCYbHBIbHDMfPBgfIBguGC2TPBgWGzgvZy3jPChrPB24U','rMLUzcb3B3jRC3bHy2uGB3iGywXSB3DLzcbKAxjLy3rVCNKGzMLSzxmGBwf0y2HPBMCGysbNBg9IihbHDhrLCM4U','vw5RBM93BIbKzwXLz2f0zwqGywDLBNq6ia','ywX3yxLZlwnVBMzPCM0','C29Tzq','lunVBw1HBMq','zgvSzxrLq291BNq','B3bLBMfPlxjLC3bVBNnLCY13CW','C3rKzxjYtM9YBwfSAxPLCG','Aw50','AxnxzwfRtwfW','CMvZB2X2zvrLCM1PBMfS','ChjVz3jHBsb0B29SigjYAwrNzsbYzwnLAxzLzcbHBIbPBNzHBgLKihrVB2WGzxjYB3i','BNvT','Axnhzw5LCMf0B3jpyMPLy3q','o1TE','ufvuihjLCxvPCMvZigf0igXLyxn0ig9UzsbWyxLSB2fKihjVDY4','DgfZAW','Ag92zxi','lMPZEa','C2vUze1LC3nHz2u','AM9PBG','igLZig5VigXVBMDLCIbHDMfPBgfIBguGka','uNvUigeGBM9UlwLUDgvYywn0AxzLihnOzwXSignVBw1HBMqGD2L0Acb0Aw1LB3v0ihbYB3rLy3rPB24Gyw5KignHChr1CMuGC3rKB3v0l3n0zgvYCI4GvxnLiezPBgvszwfKigzVCIbMAwXLignVBNrLBNrZlIbvC2uGB3v0Chv0uMvNzxGGzM9YigzVy3vZzwqGzM9YzwDYB3vUzcbVDxrWDxqSigLNBM9Yzu91Dhb1Dcb3AgvUig9UBhKGDgHLigv4AxqGC3rHDhvZig1HDhrLCNmSigfUzcbYDw5jBKjHy2TNCM91BMqGzM9YihnLCNzLCNmGB3iGD2f0y2HLCNm7igzVBgXVDYbIywnRz3jVDw5Kihj1BNmGD2L0AcbcyxnOt3v0Chv0ig9YieTPBgXtAgvSBc4GuhjVDMLKzsbHignVBMnPC2uGDxnLCI1MywnPBMCGChvYCg9ZzsbPBIbKzxnJCMLWDgLVBI4GrgvMyxvSDcb0Aw1LB3v0oIa','AgfZt3DU','zxHPDa','BgLTAxq','ywjVCNrLza','mty5lJi1nc4WlJa','l2jPBI9IyxnO','Dg9KB3m','C29YDa','BgfIzwW','y29TBwfUzhm','ig9WzxjHDgLVBNmGkgrYEsbYDw47ig5VihDYAxrLks4','CgfJA2fNzxm','BwfW','B25JBg9Zzq','AxntzxrjDgvYyxrVCG','xg5DkJ8','vw5ZywzLig9Yig1PC3nPBMCGue9tsvGGChjVy2vZCYbNCM91CcbPza','qMfJA2DYB3vUzcbTzxnZywDLigfJy2vWDgvKoIa','y29UzMLYBwvK','oIbLEhbLy3rLzcbHihbVC2L0AxzLig51BwjLCG','u2TPBgWGjW','yw5ZD2vYCW','CNnZ','C2vYDMvYtMfTzq','zgvWCW','zxf1ywXZ','rxHWzwn0zwqGysbJyw5VBMLJywWGChjVDMLKzxiTCxvHBgLMAwvKig1VzgvSihnLBgvJDg9Y','ig11C3qGBM90igjLigeGuhjVEhK','qMfJA2DYB3vUzcbZDwjHz2vUDca','sxnVBgf0zq','C2vSzwn0B3i','uhjVz3jHBuzPBgvZ','vw5RBM93BIb0B29SoIa','yMvHCMvY','Ahr0Chm6lY93D3CUz29Vz2XLyxbPCY5JB20Vy3vZDg9TC2vHCMnOl3yX','vgHLigfUy2HVCMvKig9WzxjHDgLVBNmGD291BgqGBgvHDMuGDgHLigzPBguGyNL0zs1PzgvUDgLJywWU','Dgv4DerVy3vTzw50l3jLzMvYzw5Jzxm','BM9dAgfUz2vdB3vUDgvYCW','yw5ZAti1nG','C291CMnL','BxvSDgLtzwXLy3q','tM8Gy29TBwfUzhmGyxjLign1CNjLBNrSEsbHDMfPBgfIBguU','AgLNAa','B3bLBMnVzguTz28','qKftse9qvfm','zgLZy292zxi','ktSGDxnLigv4ywn0ihjLCgXHy2vTzw50icHgAwXLrwrPDcb3AxrOig9SzfrLEhqVBMv3vgv4DcKGAw5ZDgvHzc4','zgvSzxrLigvUzeXPBMu','D29YA3nWywnLu3LTyM9S','C3jJl2fNzw50l3r1CM4Tzw5NAw5LlNrLC3qUDhm','ksbB','zxH0zw5ZAw9UCW','u2vHCMnOihrOzsb3zwiGyw5KihjLDhvYBIbYyw5RzwqGCMvZDwX0CY4','Aw52ywXPzcbku09oihn5BNrHEa','B2jZzxj2zwrmAw5LCW','rNvSBcbYDw4GsuqGCMv0DxjUzwqGyNKGqxnZAwDUvgfZAY4','Aw5ZCgvJDa','BMfTzq','CMvHze9UBhLiAw50','q29TBwfUzcb0Aw1LzcbVDxqGywz0zxiG','txvSDgLWBguGAw5Zzxj0Aw9UCYb0yxjNzxqGDgHLihnHBwuGBgLUzsbNyxaU','B3v0Chv0qNvKz2v0qNL0zxm','l3vZCI9IAw4VC2G','BgLTAxqGBxvZDcbIzsb3AxrOAw4GCMv0ywLUzwqGB3v0Chv0igjVDw5KCW','C3rYDwn0DxjLza','B2jZzxj2yxrPB25Z','z2v0uhjVDg90ExbLt2y','B2XKu3rHCNrmAw5L','lNbUzW','rwrPDcbHChbSAwvKihn1y2nLC3nMDwXSEs4','q2fUBM90igfJCxvPCMuGysbYzxrPCMvKie1ducbJB25Uzwn0Aw9UigDLBMvYyxrPB24','yw50AhjVCgLJ','zxHLyW','B3v0z29PBMDdywXSCW','Aw1Hz2vZ','zg9JDw1LBNrtEw1IB2W','Bwv0yq','l29WDc9OB21LyNjLDY9IAw4VCMC','CMvZB2X2zwrnB2rLBeLKzw50Axr5','yMLVBwu','yNL0zxm','BwLUAw1HBa','Dg9Rzw5Z','zgLHz25VC3rPy3ngB3jgAwXL','C2fMzq','B25LCNjVCG','BxrPBwu','rhvWBgLJyxrLihjLyxnVBMLUzYbVChrPB24GiG','tM8GBwf0y2HLCYbMB3vUzcbMB3iGCgf0DgvYBJOG','rM9SBg93lxvWigLUC3rYDwn0Aw9UihnLBNqGDMvYyMf0Aw0GDg8GDgHLigrLBgvNyxrLzcbJB252zxjZyxrPB24U','txvZDcbWCM92AwrLideTmtaGCxvLC3rPB25Z','B2XKrw5KtgLUzq','CMvWBgfJzsbZDgfYDeXPBMu','lGO8l3n5C3rLBs1Yzw1PBMrLCJ4','tM8GC3vJAcbMAwXLig9YigrPCMvJDg9YEtOGjW','igLZia','C3bSAwnLsw5KzxG','sw52ywXPzcbZDhj1y3r1CMvKiezPBgvfzgL0igLUChv0oIa','zMXVB3i','B3v0y29Tzq','sw1Hz2uGzMLSzsbPCYb0B28GBgfYz2u6ia','Ahr0Chm6lY9HCgKUDgf2AwX5lMnVBs9ZzwfYy2G','qMvHCMvYia','Aw5Zzxj0igXPBMu','y29UDgv4DeXPBMvZ','tgLUzsbUDw1IzxjZig11C3qGyMuGCg9ZAxrPDMuGC2fMzsbPBNrLz2vYCZSGz290ia','z2v0','yNvUlMXVy2S','oIaIBxvSDgLtzwXLy3qIig11C3qGyMuGysbIB29SzwfU','ChjVz3jHBsb0B29SigjYAwrNzsbYzwnLAxzLzcbHBIbPBNzHBgLKihjLCxvLC3q','CMvHC29U','ywz0zxi','Dw5KzwzPBMvK','zgvSAxzLCMvK','q0rqqvri','C2vUze5VDgLMAwnHDgLVBG','Dg9VBhm','C3rHCNq','zMLSzxm','CMvWBgfJzsbLBMrmAw5L','C3jJl2v4yw1WBgvZl2rLBw8UDhm','C25HChnOB3q','DgfN','yM9T','lMn0CW','Aw5WDxq','ig11C3qGyMuGysbku09oihzHBhvL','uhjLzMvYifbYB2DYyw0GD2HLBIb3B3jRigLZig11BhrPlxn0zxaGyw5KigLUDgvYBwvKAwf0zsbYzxn1BhrZig9UBhKGzMvLzcb0AguGBMv4DcbJywXSoIbSB29WCYWGC2vXDwvUDgLHBcbKzxbLBMrLBMnPzxmSigzPBhrLCMLUzYbVCIbHz2DYzwDHDgLUzYbSyxjNzsbVDxrWDxrZlcbVCIbWyxjHBgXLBcbPBMrLCgvUzgvUDcbJywXSCYb2AweGuhjVBwLZzs5HBgWUie9UBhKGDgHLigzPBMfSihzHBhvLigvUDgvYCYb0AguGy29UDMvYC2f0Aw9UlcbRzwvWAw5NigLUDgvYBwvKAwf0zxmGB3v0ig9MignVBNrLEhqUifbYzwzLCIbKAxjLy3qGDg9VBcbJywXSCYbMB3iGysbZAw5NBguGC2LTCgXLignHBgWSigfUihvUy2vYDgfPBIbZDgvWihnLCxvLBMnLlcbVCIb3AgvUigLUDgvYBwvKAwf0zsbYzxn1BhrZig5LzwqGzxHWBgLJAxqGCMv2Awv3lG','igzVCIbHBIbHBMnOB3jLzcbLzgL0icG','AxngAwXL','B2XKvgv4DcbUB3qGzM91BMqGAw4GzMLSzs4GtwfRzsbZDxjLigL0ig1HDgnOzxmGzxHHy3rSEsbPBMnSDwrPBMCGD2HPDgvZCgfJzs4Gu2vHCMnOAw5NigzVCJOGiG','z29Vz2XLq3nLq3G','B2zM','BgLUzvn0yxj0','vvjmCYbTDxn0ig5VDcbPBMnSDwrLihvZzxjUyw1LCYbVCIbWyxnZD29Yzhm','DgfNrM9YrgLNzxn0','cGPbuKDvtuvovfm6ia','sw5MB3jTyxrPB24','sw52ywXPzcbVzMzZzxq6igv4CgvJDgvKigeGBM9Ulw5Lz2f0AxzLihnHzMuGAw50zwDLCG','qMfJA2DYB3vUzcbLEgvJDxrPB24GAxmGBM90igf2ywLSywjSzsbPBIb0AgLZignVBNrLEhqU','BhnWu2vYDMLJzq','D29YA3nWywnLu3LTyM9SihjLCxvPCMvZigeGBM9UlwvTChr5ihf1zxj5','BgfUz3vHz2u','BNv2Aw4','vg90ywWGyxv0Ag9YzwqGCMvWBgfJzw1LBNqGy29UDgvUDcbTDxn0igjLigf0ig1VC3qG','y2XLyxi','zhvWBgLJyxrLx3rVzg9FAwrZ','z2v0u3rHDhm','u25HChnOB3qGzM9Yia','Bwf0y2HdB3vUDa','uhvIBgLZAgvKoIa','Dgf2AwX5qxbPs2v5','mti3lJaUmc4W','D2fYBG','ChjVz3jHBsbUzxn0zwqGDg9VBcbLEgvJDxrPB24GAxmGDw5HDMfPBgfIBgu','ls1NBg9I','y2XPzw50','uhjVz3jHBsbJyw5UB3qGyMuGAw5JBhvKzwqGAw4GAxrZig93BIb0B29SignHDgfSB2C','CMvTB3zLrxzLBNrmAxn0zw5LCG','ywnXDwLYzq','uMvHzcbMAwXLCYbMCM9TihDVCMTZCgfJzs4Gt3b0Aw9UywXSEsbZCgvJAwz5igXPBMuGCMfUz2vZicHSAw5Lu3rHCNqSigXPBMvfBMqPlG','Dw1HC2S','Cg9ZAxrPB24','oIbPzcbYzxf1AxjLza','BgLUzq','ig1VzguGCMvXDwLYzxmGAw5Qzwn0zwqG','Ahr0Chm6lY9VBgXHBweUy29Tl2fWAs93zwjFC2vHCMnO','ignVBM5Ly3rPB24GDgLTzwqGB3v0','yxbWBgLJyxrPB24VANnVBG','C291CMnLu3rHCNq','Aw52ywXPzf90B2rVx2nVBNrLBNq','ls1ZDgrPBW','DgvYBwLUywW','DxrMoej5DgvZ','vgvYBwLUywWGB3v0Chv0ig5VCM1HBgL6zxiGAgfZigvUzgvK','C2TPBgXZ','yxbWzw5K','uxvLC3rPB24G','ChjVy2vZCW','AxncB3HLzfbYAw1PDgL2zq','zxjYB3jnzxnZywDL','u2vUzhmGysbTzxnZywDLihrVigfUigv4Axn0Aw5NigjHy2TNCM91BMqGC3vIywDLBNqGy29UDMvYC2f0Aw9UlIbGzgvZy3jPChrPB25GigLZigeGC2HVCNqGvuKGBgfIzwW7igbTzxnZywDLycbPCYbZzw50ihzLCMjHDgLTlG','ygbGANnVBGO','ywXSB3DLzfrVB2XZ','zgvMyxvSDa','vg9KB1DYAxrL','DhLWzxnJCMLWDc1Syw5NDwfNzs1Zzxj2zxi','Dg9VBcbPBNb1Da','Bw9KzwW','igj5DgvZks4','C3jJl2zVCM1HDhmVBwvZC2fNzs1MB3jTyxqUDhm','CNvU','DhLWzq','AhLKCMf0zu1LDge','zxzPy3q','ChjVz3jHBs10Aw1LB3v0','AxneyxrHvMLLDW','qMfJA2DYB3vUzcbZDwjHz2vUDcbYzxf1zxn0igzHAwXLzc4','DgvYBwLUyxrPB25szxn1Bhq','Aw1Hz2uVD2vICa','yxjNDw1LBNrZvgv4Da','vMLLD2vKigLTywDLigzPBgu6ia','AxnjBNrLz2vY','y2HTB2q','yxr0ywnO','AxnqCM94Eq','Dg90ywXcExrLCW','ig11C3qGyMuGyw4Gzw51BwvYywjSzsbku09oigrHDgeGChjVCgvYDhK','y29UDgv4DeXPBMS','CMfUz2u','Dw5RBM93BL9ZBMfWC2HVDa','CgXHAw4','B3v0Chv0','CMvWBgfJzsbJB250zw50ig11C3qGyMuGysbZDhjPBMCU','z2fW','tM8GzMLSzxmGzM91BMqGBwf0y2HPBMCGCgf0DgvYBJOG','BgLUzsbTDxn0igjLigeGCg9ZAxrPDMuGAw50zwDLCG','ChjLChjVy2vZCW','ywrKrxzLBNrmAxn0zw5LCG','y3jLyxrLzef0','yxj0AwnSztPWDwjSAxnOzwrFDgLTzq','u3rVCcbYzwfKAw5Nigf0ihrOAxmGBgLUzsbUDw1IzxiGkdeTyMfZzwqP','Dg9KB3ncEvnLC3nPB24','r0XpqKLhtK9srq','ls1NBg9Ipq','CgfJA2fNzs1SB2nRlMPZB24','CgfNzw1HCa','ig11C3qGyMuGysbWBgfPBIbku09oigfYCMf5','DxrTx21LzgL1Bq','Aw5PDgLHBgL6zwq','yNvKz2v0vg9Rzw5ZihjLCxvPCMvZig1HBNvHBcbTB2rL','yxr0CG','v2fYBMLUzW','ywXYzwfKEs10zxjTAw5HBa','ChjLCgfYzunHBgXiAwvYyxjJAhK','C3bSAxq','z29uB0rLzMLUAxrPB24','C2L0ztO','zw5NAw5L','rxjYB3i','t25SEsbODhrWoI8VigfUzcbODhrWCZOVlYbvuKXZigfYzsbZDxbWB3j0zwq','C3rYAw5N','iIbPCYbYzxnLCNzLza','B3jPz2LUywW','DhjHBNnMB3jT','C2L6zq','ls1NBg9IpseUz2L0lYO','zgLZCg9Zzq','C2HLBgXjza','Aw52ywXPzf90B2rVx3bYAw9YAxr5','AxnbyNnVBhv0zq','Bwf0y2HLCW','Dg9VBfbLCM1PC3nPB25Z','zw51BwvYywjSzq','y3jSzG','ig11C3qGyMuGysbWBgfPBIbku09oig9IAMvJDa','qw4GAw5Zzxj0Aw9UihrHCMDLDhmGysbNyxaGC3rYAwn0BhKGAw5ZAwrLigeGCMvWBgfJzwqGB3iGzgvSzxrLzcbYyw5Nzs4','z2XVyG','zgvSzxrLihjHBMDLifS','BwnWlwrPC2nVDMvYEs1MywLSzwq','t1bftLjpvvrfuL9bueLFs0vz','Aw5JBhvKzxm','zgvLChnLzwS','DxrMoa','tunqifnesYbJBgLLBNqGCMvWB3j0zwqGysbYzwnVDMvYywjSzsbLCNjVCG','B2XKtgLUzunVDw50','igzYB20G','Dg9vChbLCKnHC2u','y29TBwfUza','r29Vz2XLientrsbZDxbWB3j0CYbHDcbTB3n0ihrOzsbMAxjZDcaXmdaGCMvZDwX0CW','tunqihnLCNzLCIa','Dg90ywW','AxnbBNLbCNjHEuj1zMzLCG','AxnnyxbjDgvYyxrVCG','v2vIrMv0y2G','BhnW','qw5JAg9YzwqGCMvWBgfJzs9KzwXLDguGC291CMnLihjHBMDLCYbVDMvYBgfWlG','Ag9ZDa','mtC1ndfcELHmDK4','tw96AwXSys81lJaGkfDPBMrVD3mGtLqGmtaUmdSGv2LUnJq7ihG2ncKGqxbWBgvxzwjlAxqVntm3lJm2ienOCM9Tzs8XmJmUmc4WlJaGu2fMyxjPlZuZnY4ZnIboDxzPBKjVDc8XlJa','Aw5JB21PBMDdywXSCW','ig1HDgnO','igfUy2HVCMvKig9WzxjHDgLVBNmGyxjLigfSBg93zwqGCgvYigvKAxqU','CgXHAw50zxH0','ig11C3qGyMuGysbWB3nPDgL2zsbZywzLigLUDgvNzxi7igDVDca','suqGB2yGDgHLigfNzw50ihrVigLUDM9RzsWGy2HVC2vUigzYB20GDgHLigf2ywLSywjSzsbZCgvJAwfSAxn0igfNzw50CY4','C2H1DgrVD24','yxnJAwK','sw52ywXPzcbmu1aGDgLTzw91DcbMB3iG','ywnXDwLYzuj5DgvZ','z3jHy2vMDwW','B2jQzwn0','uMvHC29UAw5NigrLzMf1BhqGiG','DhLWzxnJCMLWDa','Ag9ZDg5HBwu','y2fWywjPBgL0AwvZ','Bwf4Aw11Bq','u2HVCNqGDxnLCI1MywnPBMCGC3vTBwfYEsb1C2vKig9UBhKGzM9YigrPC3bSyxKU','ChjVz3jHBsb0CMfJzsbWzxjZAxn0zw5JzsbMywLSzwq','Aw1Hz2uVz2LM','Ec1HCgKTA2v5','qvbjx0Tfwq','Axnoyu4','sw52ywXPzcbVDxrWDxrszwDLEdOG','lMnQCW','B3bLBMfP','Cg9ZDf93CML0zv9KCMLMDdOG','C3bSAwnL','C2vUzfjLCxvLC3q','oYbYzs1YzwfKihrOzsbMAwXLihDPDgGGrMLSzvjLywqGzMLYC3qU','tM8GzgLHz25VC3rPy3m','rwrPDcbHifvurI04ihrLEhqGzMLSzsbPBIb0AguGD29YA3nWywnLig9YigfSBg93zwqGzgLYzwn0B3jPzxmGyNKGCMvWBgfJAw5NihrOzsbMAxjZDcbLEgfJDcb0zxH0ihnLz21LBNqU','AwDUB3jL','ihjLCxvPCMvZie9bDxrOignVBM5Ly3rPB24GB3b0Aw9UCW','qxqGBgvHC3qGB25LigfUy2HVCMvKig9WzxjHDgLVBIbPCYbYzxf1AxjLzc4','zMfPBgvK','BM90Awz5','C2HLBgXqyxrO','y2fUB25Py2fS','Bwf4','s2LSBgvKia','z29uB0LTCgXLBwvUDgf0Aw9U','ru5w','D3jPDgvFzMfPBgvK','ChjVz3jHBsb0B29SigjYAwrNzsbPBMzYyxn0CNvJDhvYzsbMywLSzwq','tunqihrYyw5ZCg9YDcbJBg9ZzwqGDw5LEhbLy3rLzgX5','ktSGCMuTCMvHzcb3AxrOiezPBgvszwfKigzPCNn0lG','BwLU','l3vZCI9SB2nHBc9IAw4VCMC','B3bLCMf0Aw9U','vxnLiezPBgvszwfKihDPDgGGBgLUzvn0yxj0l2XPBMvfBMqGDg8GAw5ZCgvJDcbZCgvJAwzPyYbZzwn0Aw9UCYbVzIb0AguGzNvSBcbVDxrWDxqU','yxjNCW','v2vIu2vHCMnOihjLCxvPCMvZigf0igXLyxn0ig9UzsbZzwfYy2GGzw5NAw5LignVBMzPz3vYzwq','CMvMAw5L','yMLUzfnLC3nPB24','DhjHBNnMB3jTCW','iYmGu2TPBgW6ia','CMvJzw5JEurHExm','Bwv0yvTWCM9Wzxj0Et0Nyxj0AwnSztPWDwjSAxnOzwrFDgLTzsDD','y29UBMvJDgLVBG','oePtDK94uG','u3rHCNrLzcbIywnRz3jVDw5KihbYB2nLC3mG','BM9Fy2HHBMDLoIb0AguGCMvXDwvZDgvKigvKAxqGD291BgqGBgvHDMuG','Bwf4u25HChnOB3rcExrLCW','CMvNAxn0zxjby3rPDMvsDw4','CMLWz3jLCcbYzxr1CM5LzcbHig1HBgzVCM1Lzcbku09oig1HDgnOihjLy29Yza','ywDLBNrZ','DhvWBgu','yxv0BW','AxndB250zxH0','ks4GvxnLiejHC2HpDxrWDxqGDg8GCMvHzcbPDhmGB3v0Chv0igfUzcblAwXSu2HLBgWGDg8GC3rVCcbPDc4','zxjYB3i','s0Lnsv9bueLFs0vz','qMfZAa','thnW','rMLSzsbHChbLyxjZihrVigjLigjPBMfYEtOG','zxnJyxbL','Aw5Zzxj0lMXPBMu','zgv0ywLS','CMvZB2X2zq','DhnJB25MAwCUANnVBG','iIbPCYbUB3qGysbKzwnSyxjLzcbVChrPB24','C2vYDMvY','twLZC2LUzYbYzxf1AxjLzcbWyxjHBwv0zxi6ihf1zxj5','vw5ZDxbWB3j0zwqGAw1Hz2uGzMLSztOG','ls1WCMvMAxG','vgvYBwLUyxrLigeGyMfJA2DYB3vUzcbWCM9JzxnZihn0yxj0zwqGD2L0AcbcyxnOkhj1BKLUqMfJA2DYB3vUzdP0CNvLksWGAwrLBNrPzMLLzcbIEsbPDhmGC2HLBgXjzc4','ANnJB25MAwCUANnVBG','AwrSzq','Aw5Zzxj0igXPBMuG','qMfJA2DYB3vUzcbWCM9JzxnZihn0yxj0ihDHCYbJyw5JzwXSzwqU','DgvYBwLUywXqCM9TAxnL','zM9VDgvY','BgL0zxjHBa','zgvUBY5QC29U','CMvWBgfJzq','C2v0DgXL','yxnRvxnLCG','ygbG','CMvUyw1L','Aw1WBgvTzw50yxrPB24','C3vIywDLBNqTy2XVC2LUzW','igrPzcbUB3qGBwf0y2GGDgHLigLUDgvUzgvKignVBNrLBNqGywz0zxiGD3jPDgLUzY4','y3DK','mtCZCfjhsuLs','y29KzxG','zxHHy3q','zgnZ','yMfSyw5Jzwq','vw50AxrSzwq','EMfP','y29TBwfUzfbYzxzPzxC','CMvWBgfJzs5ZDgfYDeXPBMu','zNvSzMLSBgvK','u2HLBgWGBM90igzVDw5KoIa','EwfYBI5SB2nR','s2LSBfnOzwXS','DMfSDwvZ','AxnfCNjVCG','CMvHzezPBgu','DhnZzxj2zxiUANm','zxHLy3v0Aw9UlwvYCM9Y','r2XVyG','uMvHzcb0AguGBMv4DcbYyw5Nzsb3AxrOigXPBMvtDgfYDdOG','Dg9VBf91C2u','C2vHCMnOugfYyw1Z','yxv0Ag9YzwrezxrHAwW','C3rYAwn0','Dgv4DerVy3vTzw50l3b1yMXPC2HeAwfNBM9ZDgLJCW','zxjYB3jZ','zgLHz25VC3rPy3m','Aw52ywXPzf9WyxrJAa','qxnRvxnLCLrVB2W','ywXSB3DLzerPCNm','qMfZAe91Dhb1Da','ihrVB2WGy2fSBcbMywLSzwq','yMvNAw5qCM9NCMfTvhjHy2u','CMvUzgvYu3LZDgvTuhjVBxb0','tM8Gy2fSBcbOAwvYyxjJAhKGCMvZDwX0CW','y2fSBgjHy2TvCMW','AxnszwDfEha','y2XPzw50x3nLy3jLDf9WB3n0','l2jPBI9YzW','rMv0y2GGywjVCNrLzcbIEsb1C2vY','CMvZDwX0CW','Dg9VBcbYzxnWB25Zzq','ig11C3qGyMuGB2jZzxj2zwqGyNKGrMLSzvjLywqGyMvMB3jLigL0ignHBIbIzsb1C2vKigfZigfUigvKAxqGyw5JAg9YlG','Bw9VBNnOB3q','C3jJl21VzgvSCY9HBNrOCM9WAwmTBw9KzwWUDhm','zMLUywXnzxnZywDLvgv4Da','tfnqihnLCNzPy2uGAxmGzgLZywjSzwq','yMfJA2DYB3vUzenVBNrYB2XSzxi','BgfUzW','Dg9VBc1LCNjVCG','zMX1C2HLza','zNjVBq','yxr4','DgvYBwLUyxrPBMC','oIbJB250zw50ihjLCxvPCMvK','lMPWzW','pc9ZExn0zw0TCMvTAw5Kzxi+','Bwf4rw50CMLLCYbTDxn0igjLigjLDhDLzw4GmsbHBMqGnJq','zw9S','xsbTDxn0igjLigeGsLnptIbKyxrHihbYB3bLCNr5','yxnZAwDU','vxnLCI1MywnPBMCGChvYCg9ZztOGD2HHDcb0AguGy29TBwfUzcbKB2vZigfUzcb0AguGz29HBcbPDcbHzhzHBMnLCYWGzs5NlIaNuNvUigf1DgGGDgvZDhmGDg8GDMvYAwz5ihrOzsbYzwzYzxnOigzPEcCU','A2LSBgvK','C3vJy2vZCW','zgvSzxrL','ndm4ohzNvLfLva','sgfZAgXPBMuGCgf0y2GGDgv4DcbTDxn0ig5VDcbJB250ywLUignHCNjPywDLihjLDhvYBNmU','tNv2Aw4','o1TExg5DkJ8','v29YA2LUzYbKAxjLy3rVCNKGBM90igzVDw5KoIa','yNL0zxncEurPz2vZDa','BM9Fy2HHBMDL','Dgv4DerVy3vTzw50l2LTCgXLBwvUDgf0Aw9U','B3jPz2LUvg9VBenHBgXjza','ChjVz3jHBsbPC29SyxrLihjLDhvYBMvKigfUigLUDMfSAwqGCMvZCg9UC2u','zw51Bq','B25oB3rPzMLJyxrPB24','qxv0Ag9YAxPHDgLVBG','yxnPzgu','C3rKB3v0tM9YBwfSAxPLCG','B3bLBMfPlwnOyxqTy29TCgXLDgLVBNm','yMXVy2TZ','rgv0ywLSoIa','y29UDgv4Da','zMLSDgvY','y2f0y2G','Dg9VBenHBgW','uMvMDxnPBMCGDg8GzMv0y2GGysbUB24TChvIBgLJigfKzhjLC3m','ls1MB2XSB3C','CMvSzwfZzuj5DgvZ','C3jJl3nOyxjLzc90ExbLCY50CW','DhvYBMrVD24','uMvHC29UAw5Nig9WDgLVBIbYzxf1AxjLCYbTB2rLig9YigvMzM9YDa','DgvYBwLUyxrPB24','y2HPBgq','y29KzvbVAw50qxq','vgHLigzPBguGywXYzwfKEsbTyxrJAgvZihrOzsbPBNrLBMrLzcbYzxn1Bhq7ig5VihDYAxrLihDHCYbTywrLlIbszs1YzwfKihDPDgGGrMLSzvjLywqGyMvMB3jLihjLDhj5Aw5NlG','lMDPzG','vg9Vig1HBNKGCMvKAxjLy3rZ','CMvXDwvZDa','CMvSzwfZzufNzw50uMvZB3vYy2vZ','AxnuExbLzefYCMf5','zMLSztOVlW','BxrPBwvnCW','BwvKAxvT','C3jJl21VzgvSCY9TB2nRlw1VzgvSlNrZ','DgLTzvTKyxrLDgLTzv0','BwnFzwLK','BNvTyMvY','Bg9JywXLq29TCgfYzq','CMvSzwfZzq','vg9KBYa','AxntywzLsw50zwDLCG','rMfPBgvKihrVihrLCM1PBMf0zsa','zxHPDgvK','B25szwrPCMvJDa','u2HVCNqGDxnLCI1MywnPBMCGC3vTBwfYEsbVzIb0AguGzgvSzwDHDgvKihDVCMSUifvZzwqGB25SEsbMB3iGzgLZCgXHEsbHBMqGBM90ihnLBNqGDg8GDgHLigfNzw50lG','yMfZzw5HBwu','C3jJl2zVCM1HDhmVChjVDMLKzxiTywrHChrLCNmUDgvZDc50CW','rxHLy3v0zxmGysbZAgvSBcbJB21Tyw5K','ywjVCNq','yxbPs2v5','CgXHDgzVCM0','zM9Yy2uTDgvYBwLUyxrPB24TzMfPBgvK','ihjLCxvPCMvZignVBw1HBMqGzM9Yihn0zgLVihrYyw5ZCg9YDa','qMfJA2DYB3vUzcbWCM9JzxnZignVDwXKig5VDcbIzsbZDgfYDgvKlG','lMPZB24','CMLWz3jLCcbLEgvJDxrHyMXLig5VDcbMB3vUzc4Gsw5ZDgfSBcbYzYb0BYb1C2uGr2XVyIbHBMqGr3jLCcb0B29SCY4','BwnWlxjLCxvLC3qTDgLTzw91Da','DgLTzw91De1Z','Dg9ju09tDhjPBMC','mJqWlJaUmc4W','zg9TywLUCW','y3vZDg9T','A2LSBa','C2nVCgvZ','yxv0Aa','BMv4DeXPBMvtDgfYDa','ru5pru5u','C3rHCNrZv2L0Aa','v29YA2LUzYbKAxjLy3rVCNKGAxmGBM90igeGzgLYzwn0B3j5oIa','DgLTzw91DfnVDxjJzq','w1bFxL1BxhnCu10QpW','x19UDxzPBLbYB2DYyw1uB29StMfTzxm','lM10CW','DMvYAwz5rxHLy3v0Aw9U','ywrK','CMvXDwvZDgvKtw9KzwXuAwvY','sw52ywXPzcbHz2vUDcbTB2rLBcbZzxqGBMfTzq','AxnbCNjHEq','Aw52ywXPzf90B2rVx2L0zw0','ihrVB2WGzgLZy292zxj5igzHAwXLza','D29YA0LK','ihDHCYbHyM9YDgvKlG','zgLYzwn0B3j5','z3jVAW','ywrHChrPDMu','qwDLBNqGBw9KzwWGC2v0ig11C3qGBM90igjLigvTChr5','AgfZq2XPzw50CW','Cgf0y2G','BgLUzu51Bq','ChjVy2vZCY1LCNjVCG','zgLZy292zxj5u3rHDgu','Bwf4rw50CMLLCW','uhjVz3jHBsb0B29SignHDgfSB2CGy29UDgfPBNmGzhvWBgLJyxrLig5HBwu6ia','A2LTAq','yNvKz2v0vg9Rzw5Z','Dgv4DerVy3vTzw50l2rPzenSB3nL','zgvSzxrLihn0yxj0tgLUzq','C2vYDMvYswq','CMvXDwvZDfrPBwvVDxrnCW','DgvYBwLUyxrL','Dw5PB24','C3vIyxjYyxK','C3rHBgvFC25HChnOB3q6iezPBguG','C3rHCNrmAw5L','CxvLC3rPB25Z','Aw5JBhvKzv9KB21HAw5Z','zgvMAw5PDgLVBG','CMvNzxG','CgLK','qMLVBwuGtgfUz3vHz2uGu2vYDMvY','yMLVBwuUANnVBG','y291BNq','Cg9ZAxG','CMLWz3jLCa','igLZigfTyMLNDw91CYbMB3iG','cGO8C3LZDgvTlxjLBwLUzgvYpGPuB29Sig91Dhb1Dcb3yxmGDhj1BMnHDgvKigf0ia','CMvTB3zL','zM9Yy2vszxf1zxn0zwq','uefusa','AxrLBxm','iIb0BYbZzw5KigfKzgL0Aw9UywWGAw5ZDhj1y3rPB25Zig9YihjLC3vTzsbPDcbHzNrLCIbPDcbZDg9WCY4GvgHLihn1yMfNzw50ihDPBgWGC2vUzcbHig1LC3nHz2uGD2HLBIbPDcbMAw5PC2HLCYb0AgLZihr1CM4UcJWVC3LZDgvTlxjLBwLUzgvYpG','uhjVz3jHBuzPBgvZkhG4nIK','Dgv4DerVy3vTzw50l2rPzenOyw5Nzq','DgfPBhm','tfnqihnLCNzPy2uGAxmGBM90igf2ywLSywjSzq','r0Lusfvcx1rps0vo','BNbT','B3b0Aw9UCW','ls1MAwXLCW','BgfUz18','u3rVCefNzw50','C291CMnLrw5K','lNrTCc4','BwnWlwnVBM5Ly3qTzMfPBgvK','yxjNDw1LBNroyw1LCW','y2HHCKnVzgvbDa','oIaIDg9WAwmIig11C3qGyMuGBwf4idmWignOyxjHy3rLCNmSigDVDca','twfUDwfSihjLyxnVBMLUzYbYzxf1AxjLCYbIDwrNzxruB2TLBNm','lwj5DguGyM91BMq7ig5HCNjVDYb0AguGzwrPDcbYyw5NzsbHBMqGCMv0CNKU','Dg9tDhjPBMC','zgvMyxvSDe9WDgLVBG','CMvXDwvZDfrLCM1PBMf0Aw9U','ig11C3qGyMuGysbKzw5Zzsbku09oigfYCMf5ihDPDgHVDxqGzxH0CMeGA2v5CW','zMLSzq','CxvLCNK','DxrTx2nVBNrLBNq','AhjLzG','CMvNAxn0zxjby3rPDMvbz2vUDa','y2fSBeLK','uMvHzcbYzxrHAw5LzcbVDxrWDxqGzNjVBsbHigjHy2TNCM91BMqGChjVy2vZCYbZDgfYDgvKihDPDgGGqMfZAcHYDw5jBKjHy2TNCM91BMq6Dhj1zsKUifbHC3mGBMv4De9MzNnLDcbVBIbSyxrLCIbYzwfKCZSGB3b0Aw9UywXSEsbMAwX0zxiGy29TCgXLDguGBgLUzxmGyNKGysbYzwDLEc4','igzHAwXLzcb0BYbJB25Uzwn0','tM8GtfnqihnLCNzLCIbHDMfPBgfIBguGzM9YigzPBgu6ia','yxjNDw1LBNriAw50','ChjVz3jHBsbPC29SyxrLignVDwXKig5VDcbIzsbJCMvHDgvK','lNDLyNa','zM9Yy2u','C2HHmJu2','y2vPBa','Aw52ywXPzf9XDwvZDgLVBNm','ig1Z','AxneyxrL','zxHPDcbJB2rLia','AgvHzgvY','DxnLCM5HBwu','yMvMB3jL','BgLUzv9UDw1Izxi','z2v0t3DUuhjVCgvYDhLoyw1LCW','yMfZAa','Ag9TzwrPCG','zxzLCNK','ls1YzwDLEha','vw5ZDxbWB3j0zwqGAw1Hz2uGzgv0ywLSigXLDMvSoIa','Cg9ZAxrPDMu','C3rHDhvZvgv4Da','AMf2yxnJCMLWDa','C3vWzxjszwzPBMu','D2fPDezVCLrLCM1PBMfS','r3jLCa','CgLWzq','ignVBxbSzxrLzc4','lGO8C3LZDgvTlxjLBwLUzgvYpGPuAgLZihn1yMfNzw50ihj1BNmGAw4GDgHLigjHy2TNCM91BMqUienVBNrPBNvLihDPDgGGB3rOzxiGD29YAYbPBNn0zwfKig9MihDHAxrPBMCUifvZzsbtzw5KtwvZC2fNzsb3AxrOihj1BKLKici','oYb1C2uGzxHHy3qGCMvWBgfJzw1LBNqGkezPBgvfzgL0ihDPDgGGB2XKvgv4Dc9UzxDuzxH0ksbPBNn0zwfKlG','zgvSzwDHDgvKlxj1BI0','DgHLBG','yMfJA2DYB3vUza','D2vI','C3vIywDLBNqTDw5HDMfPBgfIBgu','t1bftKnprevFqvbjx0Tfwq','zw5HyMXLza','C3vIywDLBNqTBM90lwzVDw5K','BwvTB3j5','rMLSzsb3CML0DgvUigf0ia','Dgv4DerVy3vTzw50l2HVDMvY','Dgv4DerVy3vTzw50l2rVy3vTzw50u3LTyM9S','C3r5Bgu','zgf0zvjLC3rYAwn0','ChjVz3jHBs1YzxnVDxjJzs1SAw1PDa','igj5DgvZoYb1C2uGzxHHy3qGCMvWBgfJzw1LBNqGkezPBgvfzgL0ihDPDgGGB2XKvgv4Dc9UzxDuzxH0ksbPBNn0zwfKlG','AxngAw5PDgu','oIbPBNzHBgLKihbYAw9YAxr5','Cg9W','y2XPzw50sw5MB3jTyxrPB24','B2zMC2v0','CMvMzxjLBMnLCW','y2fUrgLZywjSzq','zMLSzvbHDgG','zwzMB3j0','Bwv0yvTWCM9Wzxj0Et0NB2C6zgvZy3jPChrPB24Nxq','sfruuca','ywXS'];_0x873b=function(){return _0x5b6105;};return _0x873b();}function isValidDelegatedRunId(_0x4fa123){const _0x2477fd={_0x4842df:0x522,_0x148e1e:0x4de,_0xb3f04:0x447,_0x39b3a8:0x983,_0x574132:0x7fa,_0xedc269:0x7cb,_0x7b34f7:0x3dc,_0x51490a:0x57e,_0x455c9b:0x69a,_0x3022c7:0x59b},_0x557e24={_0x25ed4d:0xed,_0x4b981b:0x2de};function _0x30b53d(_0x2249a8,_0x3d67cd,_0x39370d,_0x551532){return _0x1957f6(_0x2249a8-0x44,_0x3d67cd-_0x557e24._0x25ed4d,_0x39370d,_0x3d67cd-_0x557e24._0x4b981b);}function _0x5d3e01(_0x50f7f,_0x42fed6,_0x1b7bc0,_0xc246b8){return _0x39a391(_0x50f7f-0x1a5,_0x42fed6-0x11c,_0xc246b8-0x9f,_0x50f7f);}return typeof _0x4fa123===_0x30b53d(_0x2477fd._0x4842df,_0x2477fd._0x148e1e,0x6b2,_0x2477fd._0xb3f04)&&_0x4fa123[_0x5d3e01(_0x2477fd._0x39b3a8,_0x2477fd._0x574132,_0x2477fd._0xedc269,0x8be)](DELEGATED_RUN_PREFIX)&&RFC4122_UUID[_0x5d3e01(0x49d,_0x2477fd._0x7b34f7,0x67b,_0x2477fd._0x51490a)](_0x4fa123[_0x30b53d(0x4eb,_0x2477fd._0x455c9b,_0x2477fd._0x3022c7,0x733)](DELEGATED_RUN_PREFIX['length']));}function createDelegatedRunId(){const _0x17deb5={_0x3e8be5:0x36d},_0x43adf6={_0x2c1778:0x139};function _0x53f1e9(_0x263004,_0x2d9502,_0x5987b8,_0x215d23){return _0x1957f6(_0x263004-0x29,_0x2d9502-_0x43adf6._0x2c1778,_0x5987b8,_0x215d23- -0x20);}return _0x53f1e9(0x251,0x17c,0x25c,_0x17deb5._0x3e8be5)+randomUUID();}function rethrowDelegatedError(_0x1846fd){throw _0x1846fd;}async function resolveDelegatedAgentOptions(_0x2267bf,_0x109e43){const _0xdfbf93={_0x34a2e5:0x480,_0x47aff8:0x2d3,_0x6d58a1:0x30a,_0x57d67a:0x1c,_0xcd3d08:0x9c,_0x167143:0x591,_0x54feac:0x37d,_0xeb71ad:0x1dd},_0x2c4ec7={_0x5ad39c:0x1c4,_0x606ee1:0x1b5},_0x1e77e7={_0x589914:0x52,_0x23653d:0x4fa};function _0x33ba6b(_0x45cdb7,_0x2a37ca,_0x17df27,_0x34c562){return _0x39a391(_0x45cdb7-0x8b,_0x2a37ca-_0x1e77e7._0x589914,_0x2a37ca- -_0x1e77e7._0x23653d,_0x17df27);}function _0x16b006(_0x5cd678,_0x49e8bf,_0x4f1f08,_0x5216f7){return _0x39a391(_0x5cd678-_0x2c4ec7._0x5ad39c,_0x49e8bf-_0x2c4ec7._0x606ee1,_0x4f1f08- -0x4ac,_0x5cd678);}const _0x489a85=typeof _0x2267bf===_0x16b006(0x49b,0x695,_0xdfbf93._0x34a2e5,0x597)?await _0x2267bf(_0x109e43):_0x2267bf;return typeof _0x489a85===_0x16b006(_0xdfbf93._0x47aff8,_0xdfbf93._0x6d58a1,0x28b,0x238)&&_0x489a85!==null&&Object[_0x33ba6b(-0xba,0x11a,-_0xdfbf93._0x57d67a,-_0xdfbf93._0xcd3d08)](_0x489a85,_0x33ba6b(_0xdfbf93._0x167143,0x361,_0xdfbf93._0x54feac,_0xdfbf93._0xeb71ad))?_0x489a85:{'options':_0x489a85};}function awaitWithAbort(_0x588cd6,_0x2a1ef6){const _0x191751={_0x6e469c:0x2ea,_0x4f1c60:0x3c1,_0x31c2ef:0x445};return throwIfAborted(_0x2a1ef6),new Promise((_0x12baaf,_0x79a703)=>{const _0x40891a={_0x2faa65:0x26b};let _0x2afab9=![];const _0xd59e75=addAbortListener(_0x2a1ef6,()=>{const _0x150164={_0x22aca3:0x336};if(_0x2afab9)return;_0x2afab9=!![];function _0x34698b(_0x29f743,_0x363ca3,_0x4f92b8,_0x2cd875){return _0x1b0d(_0x2cd875-_0x150164._0x22aca3,_0x4f92b8);}_0x79a703(toAbortError(_0x2a1ef6[_0x34698b(0x52f,0x673,0x881,0x67d)]));});function _0x1d48c7(_0xc5a14,_0x95b20,_0x44de20,_0xeac7be){return _0x1b0d(_0x44de20- -_0x40891a._0x2faa65,_0xc5a14);}_0x588cd6[_0x1d48c7(_0x191751._0x6e469c,_0x191751._0x4f1c60,0x2ed,_0x191751._0x31c2ef)](_0x1f5949=>{if(_0x2afab9)return;_0x2afab9=!![],_0xd59e75(),_0x12baaf(_0x1f5949);},_0x1674da=>{if(_0x2afab9)return;_0x2afab9=!![],_0xd59e75(),_0x79a703(_0x1674da);});});}function getDelegatedAgentDefinition(_0x5bf6df,_0xbecfb3){const _0x57a56b={_0x2975fd:0x782,_0x3f1075:0x797},_0x1268d2={_0xe5b58f:0x14};function _0xd8c399(_0x4327e0,_0x47300c,_0x366bd5,_0x511050){return _0x39a391(_0x4327e0-0xb8,_0x47300c-0x157,_0x47300c-_0x1268d2._0xe5b58f,_0x511050);}return _0x5bf6df[_0xd8c399(0x81a,_0x57a56b._0x2975fd,_0x57a56b._0x3f1075,0x53b)]?.[_0xbecfb3];}function createRoutingSummary(_0x4dd08d){const _0x506ff0={_0x30dfa2:0x44d,_0x19f46d:0x54e,_0x1fb389:0x9c,_0x3cb9f4:0x193,_0x57b42c:0x4e6,_0x330929:0x50b,_0x51c4d6:0x260,_0x79efec:0x1fa,_0x2dc73f:0x9a,_0x511e5:0x301,_0x5aa7da:0x366,_0x3de056:0xcd},_0x850f83={_0x56fa35:0xa1},_0x1cda46={_0x65ac6e:0x172,_0x2760ab:0x9d};function _0x3e9338(_0x318a8c,_0x259b0a,_0x40949f,_0x4007f8){return _0x1957f6(_0x318a8c-_0x1cda46._0x65ac6e,_0x259b0a-0x32,_0x318a8c,_0x259b0a-_0x1cda46._0x2760ab);}if(_0x4dd08d[_0x1cce77(0x335,0x224,_0x506ff0._0x30dfa2,_0x506ff0._0x19f46d)]===void 0x0)return{};const _0x319c39=_0x4dd08d['routing']?.['agentModelSet']??_0x4dd08d[_0x1cce77(-_0x506ff0._0x1fb389,0xa2,0x1b6,_0x506ff0._0x3cb9f4)];function _0x1cce77(_0x250104,_0x497c74,_0x4690e1,_0x243c26){return _0x39a391(_0x250104-_0x850f83._0x56fa35,_0x497c74-0x89,_0x4690e1- -0x3da,_0x250104);}return{'requestedModelTier':_0x4dd08d[_0x1cce77(0x1fb,0x24d,0x44d,0x5de)],..._0x319c39===void 0x0?{}:{'agentModelSet':_0x319c39},..._0x4dd08d[_0x1cce77(0x696,_0x506ff0._0x57b42c,0x4ee,_0x506ff0._0x330929)]?.[_0x3e9338(_0x506ff0._0x51c4d6,_0x506ff0._0x79efec,_0x506ff0._0x2dc73f,_0x506ff0._0x511e5)]===void 0x0?{}:{'resolvedModelIdentity':_0x4dd08d['routing'][_0x1cce77(_0x506ff0._0x5aa7da,0x372,0x288,_0x506ff0._0x3de056)]}};}function createStructuredWithRoutingSummary(_0x499c37,_0x3ccc42){const _0x507e61={_0x54b095:0x514,_0x52ac8c:0x446,_0x4e6628:0x464,_0xe94584:0x30b,_0x3bc037:0x2c6,_0x400ea6:0x493,_0x1abce7:0x419},_0x69bbac={_0x19386b:0x125},_0x4747ab={_0x16e89c:0xf2,_0x47e39a:0x67},_0x110562={..._0x499c37};delete _0x110562[_0x355fd0(_0x507e61._0x54b095,_0x507e61._0x52ac8c,0x658,0x663)],delete _0x110562[_0x1344da(-0x48,0x329,0x20f,_0x507e61._0x4e6628)],delete _0x110562[_0x355fd0(_0x507e61._0xe94584,_0x507e61._0x3bc037,_0x507e61._0x400ea6,_0x507e61._0x1abce7)];function _0x1344da(_0x38ea47,_0x3b816a,_0x4ececd,_0xfeb7e){return _0x39a391(_0x38ea47-_0x4747ab._0x16e89c,_0x3b816a-_0x4747ab._0x47e39a,_0x4ececd- -0x381,_0x3b816a);}function _0x355fd0(_0x24032e,_0x2f60a2,_0x4c89ba,_0xe09ad7){return _0x39a391(_0x24032e-0x1d2,_0x2f60a2-_0x69bbac._0x19386b,_0x4c89ba- -0x1cf,_0x2f60a2);}return{..._0x110562,...createRoutingSummary(_0x3ccc42)};}function createRunSummary(_0xb03af4){const _0x56d8a0={_0x39d032:0x91b,_0x3dcf9e:0x944,_0x13de02:0x94d,_0x97cd09:0x154,_0x569173:0x777,_0x32f596:0x58b,_0x5cd610:0x58e,_0x4c357a:0x6eb,_0x5365f8:0xa1,_0x4d7123:0x70d,_0x1976d6:0x597,_0x23d6f0:0x390,_0x40717e:0x52b,_0x40bdac:0x4f9,_0x551bab:0x38d,_0x485177:0x519,_0x23a421:0x48e,_0x5c84a6:0x6b2,_0x139df6:0x407,_0xe2f3fa:0x344,_0x150215:0x57c,_0x3eac72:0x505},_0x2f2684={_0x23739d:0x16};function _0x59153c(_0x1db016,_0x183af2,_0x425d1c,_0x3a6879){return _0x39a391(_0x1db016-0x1d2,_0x183af2-0x58,_0x1db016- -0x44d,_0x3a6879);}function _0x3fac60(_0x472950,_0x8751f3,_0x6ab92f,_0xf7aae8){return _0x39a391(_0x472950-0xb4,_0x8751f3-0x23,_0xf7aae8- -_0x2f2684._0x23739d,_0x6ab92f);}return{'runId':_0xb03af4[_0x59153c(0x8a,0xf5,0x1be,-0xc1)],'agentId':_0xb03af4[_0x3fac60(_0x56d8a0._0x39d032,_0x56d8a0._0x3dcf9e,0x7c4,_0x56d8a0._0x13de02)],..._0xb03af4[_0x59153c(_0x56d8a0._0x97cd09,0x20b,0x130,0x44)]!==void 0x0?{'sessionId':_0xb03af4[_0x3fac60(0x36e,_0x56d8a0._0x569173,0x42f,_0x56d8a0._0x32f596)]}:{},'status':_0xb03af4[_0x59153c(0x51b,_0x56d8a0._0x5cd610,_0x56d8a0._0x4c357a,0x4bc)],'parentSessionId':_0xb03af4[_0x59153c(_0x56d8a0._0x5365f8,-0x155,0x1b0,-0xb1)],..._0xb03af4[_0x3fac60(_0x56d8a0._0x4d7123,_0x56d8a0._0x1976d6,0x9a0,0x7c7)]!==void 0x0?{'originToolCallId':_0xb03af4[_0x59153c(_0x56d8a0._0x23d6f0,_0x56d8a0._0x40717e,_0x56d8a0._0x40bdac,_0x56d8a0._0x551bab)]}:{},...createRoutingSummary(_0xb03af4),..._0xb03af4[_0x3fac60(_0x56d8a0._0x485177,0x810,_0x56d8a0._0x23a421,_0x56d8a0._0x5c84a6)]!==void 0x0?{'errorMessage':_0xb03af4['errorMessage']}:{},..._0xb03af4[_0x3fac60(0x316,_0x56d8a0._0x139df6,0x618,0x508)]?.[_0x3fac60(_0x56d8a0._0xe2f3fa,_0x56d8a0._0x150215,0x382,_0x56d8a0._0x3eac72)]!==void 0x0?{'finalMessageText':getTextFromMessage(_0xb03af4['result']['finalMessage'])}:{}};}function createRunSummaryOutput(_0x24de24,_0x296bc6){const _0x1a6f8f={_0x305eae:0x71c,_0x132ce5:0x401,_0x2e8c8b:0x3dc,_0x609206:0x223,_0x2d73d8:0x603,_0x4697fa:0x76e},_0x176159={_0x4b4f37:0x190,_0x350249:0x102,_0x2770e5:0x460},_0x27bbb1={_0x203fb2:0x24,_0x237b59:0x4e2},_0x3609a8=createRunSummary(_0x24de24);function _0xd96887(_0x3c9b52,_0x4b7e1a,_0x64cac9,_0x1263e3){return _0x39a391(_0x3c9b52-0x1c9,_0x4b7e1a-_0x27bbb1._0x203fb2,_0x1263e3- -_0x27bbb1._0x237b59,_0x64cac9);}const _0x320837=_0x3609a8[_0x1ec898(0x594,0x8a9,_0x1a6f8f._0x305eae,0x736)];function _0x1ec898(_0xaf1b2f,_0x4ed596,_0x6c8071,_0x30585a){return _0x1957f6(_0xaf1b2f-_0x176159._0x4b4f37,_0x4ed596-_0x176159._0x350249,_0xaf1b2f,_0x6c8071-_0x176159._0x2770e5);}return createToolOutput(typeof _0x320837===_0xd96887(0x387,_0x1a6f8f._0x132ce5,_0x1a6f8f._0x2e8c8b,_0x1a6f8f._0x609206)&&_0x320837[_0x1ec898(_0x1a6f8f._0x2d73d8,0x88f,0x85f,_0x1a6f8f._0x4697fa)]>0x0?_0x320837:_0x296bc6,_0x3609a8);}function getRunTerminalErrorMessage(_0x907487){const _0x3e48c1={_0x3e10b7:0x1e0,_0x344f98:0x153,_0x41657f:0x49b,_0x5e2bf5:0x42e,_0x232f9b:0x41f,_0x172401:0x7,_0x5c3772:0x192,_0x31b05f:0x40,_0x3c28c3:0x20a,_0x113e8e:0x2e9,_0x5d137e:0x2db,_0x257c64:0x25d,_0x48a059:0x602,_0x1b6670:0x3e4,_0x5a6272:0x371,_0x3a4912:0xfe,_0x3a9033:0x1e5,_0x3141ef:0x40,_0x4099e9:0x16a},_0x4394e8={_0x59ad1a:0xd7,_0x49b48c:0x97,_0x4b3903:0x354};function _0x586828(_0xd519ca,_0xc6b3e8,_0x1b8fdd,_0xaa3e38){return _0x39a391(_0xd519ca-_0x4394e8._0x59ad1a,_0xc6b3e8-_0x4394e8._0x49b48c,_0xaa3e38- -_0x4394e8._0x4b3903,_0xd519ca);}const _0x3e8c74=_0x907487?.[_0x4d1a58(-0x13c,-0x243,-_0x3e48c1._0x3e10b7,-0x2ff)][_0x586828(0x237,_0x3e48c1._0x344f98,_0x3e48c1._0x41657f,0x294)]['at'](-0x1);if(_0x3e8c74?.[_0x586828(0x56b,_0x3e48c1._0x5e2bf5,0x74e,0x614)]===_0x586828(0x1d6,0x1dd,0x51c,_0x3e48c1._0x232f9b)&&_0x3e8c74[_0x4d1a58(_0x3e48c1._0x172401,_0x3e48c1._0x5c3772,_0x3e48c1._0x31b05f,-0x1e)][_0x586828(_0x3e48c1._0x3c28c3,_0x3e48c1._0x113e8e,_0x3e48c1._0x5d137e,_0x3e48c1._0x257c64)]()[_0x586828(_0x3e48c1._0x48a059,_0x3e48c1._0x1b6670,_0x3e48c1._0x5a6272,0x5b0)]>0x0)return _0x3e8c74[_0x4d1a58(_0x3e48c1._0x3a4912,-_0x3e48c1._0x3a9033,_0x3e48c1._0x3141ef,-_0x3e48c1._0x4099e9)];function _0x4d1a58(_0x411306,_0x3e7a35,_0x3dfc48,_0x473335){return _0x39a391(_0x411306-0x19f,_0x3e7a35-0x13,_0x3dfc48- -0x6a8,_0x411306);}return void 0x0;}function formatAbortedRunMessage(_0xc228db,_0xc1805f){const _0x24bfc7={_0x5e80f5:0x113,_0x10cce9:0x22d,_0x436e11:0x277,_0x53d49b:0x1e8,_0x559b82:0x174,_0x43af67:0x2e9,_0x5e0b15:0x22f,_0x42e438:0x35b,_0xb134a4:0x132,_0x8d5f18:0x396},_0x328c0e={_0x372374:0x5b6},_0x528ec3={_0x417be3:0xf};function _0x5bc7b1(_0x16fc1d,_0x2e1868,_0x4f0684,_0x299a25){return _0x39a391(_0x16fc1d-0x1bb,_0x2e1868-_0x528ec3._0x417be3,_0x16fc1d- -0x6a2,_0x2e1868);}const _0x59abb2=_0x5bc7b1(-_0x24bfc7._0x5e80f5,-0x173,-_0x24bfc7._0x10cce9,-0x284)+_0xc228db+_0x2766b0(_0x24bfc7._0x436e11,0x8c,_0x24bfc7._0x53d49b,0x2a7);function _0x2766b0(_0x3291c8,_0x34d4fc,_0x42be2c,_0xb47ed2){return _0x39a391(_0x3291c8-0x157,_0x34d4fc-0x17f,_0x3291c8- -_0x328c0e._0x372374,_0x42be2c);}if(!_0xc1805f||_0xc1805f['trim']()[_0x5bc7b1(0x262,_0x24bfc7._0x559b82,_0x24bfc7._0x43af67,_0x24bfc7._0x5e0b15)]===0x0||_0xc1805f===_0x59abb2)return _0x59abb2;return _0x59abb2+_0x2766b0(_0x24bfc7._0x42e438,_0x24bfc7._0xb134a4,_0x24bfc7._0x8d5f18,0x122)+_0xc1805f;}function createSynchronousAssignTaskTool(_0x59bdcb){const _0xe412df={_0x339c81:0x417,_0x238662:0x6a6,_0x5aac71:0x57c,_0x355293:0x5cc,_0x595005:0x7e5,_0x5618cb:0x5f8,_0x29495c:0x7b6,_0xee0170:0x3fb,_0x18ae01:0x637,_0x15cecc:0x3e9,_0x8bf87d:0x73a,_0x35d3c4:0x7d2,_0xb6c45b:0x6e6,_0x2318b7:0x94f,_0x505438:0x440,_0x34f6a8:0x643,_0x406414:0x40d,_0x5bdc40:0x58f,_0x14f99b:0x5e4,_0x369e7e:0x545,_0x3e8af0:0x895,_0x2c60cf:0x87f,_0x3e9a93:0x389,_0x50338c:0x2d7},_0x78335c={_0x4ae2a0:0x297,_0x5bdf0c:0x25b,_0x2b54b1:0x4aa,_0x5505e7:0x124,_0x1cb747:0x2e9,_0x5667c0:0x556,_0x14ffaf:0x30d,_0x48a95f:0x4c2,_0x491717:0x4e0,_0xb0f33:0x2fc,_0x5bb920:0x4f6,_0x1abed4:0x659,_0x26cf24:0x493,_0x2fd78c:0x826,_0x5f4c0e:0x2f4,_0x5b56b4:0x317,_0x55d7c9:0x4c7,_0x4f65a4:0x4ea,_0x49fec4:0x2c9,_0x3a2d59:0x2cd,_0x55b402:0x506,_0x32f605:0x19b,_0x4526eb:0x1f7,_0x521eef:0x2cd,_0x26de3b:0x2f2,_0x8a1223:0x7f,_0x4e346d:0x3e4,_0x1d03fd:0x5e2,_0x3403d6:0x5b3,_0x3c5f4b:0x3d8,_0x465c4a:0x5be,_0x1deb1e:0x351,_0x5d985f:0x73c,_0x1cac26:0x551,_0x300ecc:0x35b,_0x2a02af:0x108,_0x2aff0b:0x271,_0xe1f8a0:0x2a7,_0xe91597:0x298,_0x336648:0x20f,_0x5c7af4:0xf5,_0x449ffa:0x47,_0x20efc2:0x169,_0x121f03:0x133,_0x18b375:0x60,_0x41f564:0xbc,_0x15bff0:0x265,_0x40738d:0x427,_0x5a44fc:0x104,_0x56bf9c:0x2a2,_0x2f9691:0xec,_0x367e14:0x3c7,_0x40ca65:0x11,_0xa1dfa4:0x174,_0x593166:0x1bb,_0x1da082:0x7f,_0x2b4e91:0x21,_0x49efba:0x1fb,_0x3c0214:0x2b1,_0x1042c6:0x452,_0x41d2dd:0x10c,_0x5e10d5:0x318,_0x19ea2f:0x30f,_0xd766f:0x259,_0xf9bea3:0x2b0,_0x2305cb:0xf8,_0xa26944:0x3f,_0x3632dc:0x179,_0x5bfe95:0x23a,_0x2ecb8e:0x4df,_0x542f5d:0x691,_0x280c05:0x664,_0x32283d:0x8a4,_0x49339f:0x12c,_0x6a70dd:0x31c,_0x2ace31:0x14,_0x4cf3e3:0x30d,_0x301c9e:0x253,_0x2d990a:0x35,_0x5d1b63:0xde,_0x19b404:0x5,_0x1d6194:0x285,_0x225468:0x255,_0x298eda:0x39c,_0x22dc44:0x28d,_0x4cd616:0x585,_0x27dc9e:0x341,_0x284d8f:0x485,_0x4a0581:0x7df,_0x45062a:0x476,_0x4af81a:0x76,_0x506103:0x35,_0x41193f:0x212,_0x4278cd:0x6e5,_0x1d8502:0x566,_0x4cc626:0x1e3,_0x1eb8f5:0x2ae,_0x4f111c:0x103,_0x1d996b:0x31b,_0xc39f11:0x77,_0xbfcf21:0x211,_0x931085:0x9f,_0x223e72:0x8,_0x3f7044:0x157,_0x4c6028:0x474,_0x3918b5:0x27c,_0xff25cc:0x3d1,_0x467ffc:0x393,_0x3414e7:0x3ff,_0x3ce0d0:0x88,_0x18b777:0xa9,_0x4ed1fa:0x42c,_0x370c38:0x1e2,_0x1ff6a5:0x1c5,_0x1e4a2b:0x271,_0x1b1e7e:0x556,_0xb8adac:0x38e,_0x3ebc95:0x6ff,_0x403455:0x20b,_0x2b2ed3:0x8a,_0x368ace:0x30d,_0x50d538:0x28c,_0x374da1:0xe1,_0x470d73:0x3a4,_0x50ac54:0x1bc,_0x4d8c2c:0x175,_0x285680:0x7,_0x4d75ce:0x103,_0x454974:0x32e,_0x544ccb:0x78,_0xb7313a:0x48f,_0x246af3:0x182,_0x5b8315:0x2e2,_0x257bdc:0x34f,_0x3e7ce7:0x307},_0x54a47f={_0x21994f:0xec,_0x4c0acc:0x1d1},_0x295778={_0x4a44e7:0x513,_0x42f597:0x105},_0x5083b1={_0x2cec0f:0xf,_0x861778:0x66},_0x4a4254={_0x551e83:0x3cc};function _0x5580d5(_0x58ffaf,_0x5efe92,_0x4e71a3,_0xe0f1b8){return _0x1957f6(_0x58ffaf-0xe0,_0x5efe92-0x1a6,_0xe0f1b8,_0x5efe92-_0x4a4254._0x551e83);}function _0x2f6929(_0x5b55da,_0x5f31f1,_0x24a6e3,_0x5168eb){return _0x1957f6(_0x5b55da-_0x5083b1._0x2cec0f,_0x5f31f1-_0x5083b1._0x861778,_0x24a6e3,_0x5b55da-0x437);}return defineTool({'name':'AssignTask','permissionClass':_0x2f6929(0x531,_0xe412df._0x339c81,_0xe412df._0x238662,_0xe412df._0x5aac71),'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':_0x5580d5(0x6d7,_0xe412df._0x355293,0x49c,0x486),'description':_0x5580d5(_0xe412df._0x595005,_0xe412df._0x5618cb,_0xe412df._0x29495c,_0xe412df._0xee0170)},'description':{'type':_0x2f6929(_0xe412df._0x18ae01,0x7b8,0x5ca,_0xe412df._0x15cecc),'description':_0x2f6929(_0xe412df._0x8bf87d,0x5e1,0x66b,0x574)},'nickname':{'type':'string','description':_0x5580d5(0x638,_0xe412df._0x35d3c4,_0xe412df._0xb6c45b,_0xe412df._0x2318b7)},'task':{'type':'string','description':_0x2f6929(_0xe412df._0x505438,_0xe412df._0x34f6a8,0x1f2,0x697)},'modelTier':{'type':'string','enum':[...MODEL_TIERS],'description':_0x2f6929(_0xe412df._0x406414,_0xe412df._0x5bdc40,_0xe412df._0x14f99b,_0xe412df._0x369e7e)}},'required':[_0x2f6929(_0xe412df._0x3e8af0,_0xe412df._0x2c60cf,0x79d,0x7b7),_0x5580d5(0x5b4,_0xe412df._0x339c81,_0xe412df._0x3e9a93,_0xe412df._0x50338c),'task']},async *'execute'(_0x21d883,_0x3cf35e){const _0x4a7e05={_0x36dc29:0x1f7,_0x127670:0xbc,_0x4663dd:0x234},_0x58b6be=createDelegatedRunId(),_0x24ccb8=new AbortController(),_0x1d3700=_0x21d883['modelTier'],_0x58c9f0={'agentId':_0x21d883[_0x1fccac(0x659,0x891,0x84d,0x446)],'parentSessionId':_0x3cf35e[_0x1fccac(_0x78335c._0x4ae2a0,0x3b0,_0x78335c._0x5bdf0c,_0x78335c._0x2b54b1)],'runId':_0x58b6be,'signal':_0x24ccb8[_0x29b3bc(_0x78335c._0x5505e7,0x271,0x77,_0x78335c._0x1cb747)],'toolCallPath':[..._0x3cf35e[_0x29b3bc(_0x78335c._0x5667c0,_0x78335c._0x14ffaf,_0x78335c._0x48a95f,0x1d0)][_0x29b3bc(_0x78335c._0x491717,_0x78335c._0xb0f33,_0x78335c._0x5bb920,0x2c9)]],..._0x3cf35e['toolCallId']!==void 0x0?{'toolCallId':_0x3cf35e['toolCallId']}:{},..._0x1d3700===void 0x0?{}:{'modelTier':_0x1d3700}},_0x1284e5=getDelegatedAgentDefinition(_0x59bdcb,_0x21d883[_0x1fccac(_0x78335c._0x1abed4,0x57a,_0x78335c._0x26cf24,_0x78335c._0x2fd78c)]);if(!_0x1284e5)throw new ToolExecutionError(_0x1fccac(_0x78335c._0x5f4c0e,0x23b,0x540,0x1ea)+_0x21d883[_0x29b3bc(0x2e8,_0x78335c._0x5b56b4,0x4e8,0x41b)],{'agentId':_0x21d883[_0x1fccac(0x659,0x7e5,0x783,0x4be)],..._0x1d3700===void 0x0?{}:{'requestedModelTier':_0x1d3700}});let _0x5e31e8={'runId':_0x58b6be,'agentId':_0x21d883[_0x1fccac(0x659,0x429,0x6ea,0x7a7)],'status':_0x1fccac(0x28b,0x1d1,0x39f,_0x78335c._0x55d7c9),'parentSessionId':_0x3cf35e[_0x1fccac(_0x78335c._0x4ae2a0,_0x78335c._0x4f65a4,0x2f3,_0x78335c._0x49fec4)],..._0x3cf35e[_0x1fccac(_0x78335c._0x3a2d59,_0x78335c._0x55b402,_0x78335c._0x32f605,_0x78335c._0x4526eb)]!==void 0x0?{'originToolCallId':_0x3cf35e[_0x1fccac(_0x78335c._0x521eef,_0x78335c._0x26de3b,0x1df,0x19e)]}:{},..._0x1d3700===void 0x0?{}:{'requestedModelTier':_0x1d3700}};const _0x854664=addAbortListener(_0x3cf35e[_0x29b3bc(_0x78335c._0x8a1223,0x271,_0x78335c._0x4e346d,0x298)],()=>{const _0x2b46f1={_0x1278f5:0x160};function _0xe5546e(_0x1ef04a,_0x1a505d,_0x3df35b,_0x17848b){return _0x1fccac(_0x3df35b- -0x37f,_0x1a505d-0x118,_0x1ef04a,_0x17848b-_0x2b46f1._0x1278f5);}_0x24ccb8['abort'](_0x3cf35e[_0xe5546e(_0x4a7e05._0x36dc29,_0x4a7e05._0x127670,_0x4a7e05._0x4663dd,0x326)]['reason']);});function _0x29b3bc(_0x187818,_0x29abb1,_0x1cef8b,_0x507700){return _0x5580d5(_0x187818-0x44,_0x29abb1- -_0x295778._0x4a44e7,_0x1cef8b-_0x295778._0x42f597,_0x507700);}let _0x96a5d1,_0x9edebe,_0x91641,_0x1d275a,_0x216cb5=![],_0x12ff50,_0x10e300;function _0x1fccac(_0xc9382c,_0x52c0ea,_0x50857d,_0x4fc53b){return _0x5580d5(_0xc9382c-_0x54a47f._0x21994f,_0xc9382c- -_0x54a47f._0x4c0acc,_0x50857d-0xb,_0x50857d);}let _0x5fa354=![];const _0x5f2224=_0x59bdcb['lifecycle'];try{_0x59bdcb['semaphore']!==void 0x0&&(_0x96a5d1=await _0x59bdcb['semaphore'][_0x1fccac(0x3a9,0x1a5,0x20b,_0x78335c._0x1d03fd)](_0x24ccb8['signal']));throwIfAborted(_0x24ccb8['signal']);const _0x701de3=await awaitWithAbort(resolveDelegatedAgentOptions(_0x1284e5,_0x58c9f0),_0x24ccb8[_0x1fccac(_0x78335c._0x3403d6,_0x78335c._0x3c5f4b,0x436,0x679)]);_0x5e31e8={..._0x5e31e8,..._0x1d3700===void 0x0||_0x701de3[_0x1fccac(_0x78335c._0x465c4a,0x368,0x422,0x5e5)]?.[_0x1fccac(0x286,_0x78335c._0x1deb1e,0x441,0xd4)]===void 0x0?{}:{'agentModelSet':_0x701de3[_0x1fccac(_0x78335c._0x465c4a,_0x78335c._0x5d985f,0x740,0x651)][_0x29b3bc(0x119,-0xbc,-0x75,-0x109)]}};const _0x1c3073=_0x701de3[_0x1fccac(_0x78335c._0x1cac26,0x3a3,0x3ec,_0x78335c._0x300ecc)];throwIfAborted(_0x24ccb8[_0x29b3bc(_0x78335c._0x2a02af,_0x78335c._0x2aff0b,_0x78335c._0xe1f8a0,_0x78335c._0xe91597)]);const _0x7528b4=_0x59bdcb['renderSystemPrompt']!==void 0x0&&_0x1c3073[_0x1fccac(_0x78335c._0x336648,0x202,_0x78335c._0x5c7af4,-_0x78335c._0x449ffa)]!==void 0x0?{..._0x1c3073,'systemPrompt':_0x59bdcb[_0x29b3bc(0x7b,_0x78335c._0x20efc2,0x83,0x110)](_0x1c3073[_0x29b3bc(-0x45,-_0x78335c._0x121f03,0xaf,0x2)])}:_0x1c3073;throwIfAborted(_0x24ccb8['signal']);const _0x13f07b=new Agent(_0x7528b4);_0x5e31e8={..._0x5e31e8,'sessionId':_0x13f07b['sessionId'],..._0x1d3700===void 0x0?{}:{'routing':{'requestedModelTier':_0x1d3700,..._0x5e31e8[_0x29b3bc(_0x78335c._0x18b375,-_0x78335c._0x41f564,-_0x78335c._0x15bff0,0xff)]===void 0x0?{}:{'agentModelSet':_0x5e31e8[_0x1fccac(0x286,0x3d6,0x85,_0x78335c._0x40738d)]},'resolvedModelIdentity':_0x13f07b[_0x29b3bc(-0x5f,-0x20,-0x216,-_0x78335c._0x5a44fc)]['chatModel'][_0x1fccac(_0x78335c._0x56bf9c,_0x78335c._0x56bf9c,_0x78335c._0x2f9691,_0x78335c._0x367e14)]}}},_0x9edebe=_0x59bdcb[_0x29b3bc(0x22e,0x223,_0x78335c._0x40ca65,_0x78335c._0xa1dfa4)]?.(_0x13f07b,_0x58c9f0);const _0x866c99=new Promise(_0x17444c=>{_0x1d275a=_0x17444c;});_0x91641=_0x59bdcb[_0x29b3bc(0x2ce,0x120,_0x78335c._0x593166,-_0x78335c._0x1da082)]?.({'runId':_0x58b6be,'abortController':_0x24ccb8,'completion':_0x866c99});_0x5f2224!==void 0x0&&(await _0x5f2224[_0x29b3bc(-0x12a,0x3d,-_0x78335c._0x2b4e91,0x3c)](_0x13f07b,_0x58c9f0),_0x216cb5=!![]);yield createToolOutput(_0x1fccac(_0x78335c._0x49efba,_0x78335c._0x3c0214,0xab,_0x78335c._0x1042c6)+_0x5e31e8[_0x29b3bc(-_0x78335c._0x41d2dd,-0x175,-0x18e,-0x18e)]+'.',createRunSummary(_0x5e31e8)),throwIfAborted(_0x24ccb8[_0x29b3bc(0x272,0x271,_0x78335c._0x5e10d5,0x1da)]);const _0x1797b1=await _0x13f07b[_0x29b3bc(_0x78335c._0x19ea2f,0x2b5,_0x78335c._0xd766f,_0x78335c._0xf9bea3)](_0x21d883[_0x29b3bc(-_0x78335c._0x2305cb,-_0x78335c._0xa26944,-_0x78335c._0x3632dc,-_0x78335c._0x5bfe95)],{'streaming':!![],'signal':_0x24ccb8[_0x1fccac(_0x78335c._0x3403d6,0x6e3,_0x78335c._0x2ecb8e,_0x78335c._0x542f5d)]});_0x5e31e8={..._0x5e31e8,'status':_0x1797b1[_0x1fccac(0x65e,_0x78335c._0x280c05,_0x78335c._0x32283d,0x472)],'result':_0x1797b1};if(_0x1797b1[_0x29b3bc(_0x78335c._0x49339f,_0x78335c._0x6a70dd,0x3a9,0x1b2)]!=='completed'){const _0x59f81c=getRunTerminalErrorMessage(_0x1797b1),_0xb7eb97=formatAbortedRunMessage(_0x5e31e8[_0x29b3bc(_0x78335c._0x2ace31,-0x175,-0x12c,-0x136)],_0x59f81c);_0x5e31e8={..._0x5e31e8,'status':_0x1fccac(_0x78335c._0x4cf3e3,0x10e,0x35f,0xb0),'errorMessage':_0xb7eb97},_0x12ff50={'status':_0x29b3bc(-_0x78335c._0x301c9e,-_0x78335c._0x2d990a,_0x78335c._0x5d1b63,-_0x78335c._0x19b404),'errorMessage':_0xb7eb97};throw new ToolExecutionError(_0xb7eb97,{...createRunSummary(_0x5e31e8),'aborted':!![],'errorMessage':_0xb7eb97});}return _0x12ff50={'status':'completed'},createRunSummaryOutput(_0x5e31e8,_0x1fccac(_0x78335c._0x1d6194,0x390,_0x78335c._0x225468,0x3ce)+_0x5e31e8[_0x29b3bc(-0x1f,-0x175,-_0x78335c._0x298eda,-_0x78335c._0x22dc44)]+_0x1fccac(_0x78335c._0x4cd616,_0x78335c._0x27dc9e,_0x78335c._0x284d8f,_0x78335c._0x4a0581));}catch(_0x1f1bb7){_0x10e300=_0x1f1bb7,_0x5fa354=!![];if(_0x1f1bb7 instanceof ToolExecutionError){if(_0x12ff50===void 0x0){if(isAbortError(_0x1f1bb7)||_0x24ccb8[_0x1fccac(0x5b3,_0x78335c._0x45062a,0x745,0x555)][_0x29b3bc(_0x78335c._0x4af81a,-_0x78335c._0x506103,0x54,_0x78335c._0x41193f)]||_0x3cf35e[_0x1fccac(_0x78335c._0x3403d6,_0x78335c._0x4278cd,0x5fa,0x55a)][_0x1fccac(_0x78335c._0x14ffaf,0x3f8,_0x78335c._0x1d8502,_0x78335c._0x4cc626)])_0x12ff50={'status':_0x29b3bc(-0x21f,-_0x78335c._0x506103,0xc4,0x81)};else{const _0x1a3866=_0x1f1bb7[_0x1fccac(0x65d,0x8ad,0x724,0x88a)];_0x5e31e8={..._0x5e31e8,'status':_0x29b3bc(_0x78335c._0x1eb8f5,_0x78335c._0x4f111c,_0x78335c._0x1d996b,-_0x78335c._0xc39f11),'errorMessage':_0x1a3866},_0x12ff50={'status':'failed','errorMessage':_0x1a3866};}}if(_0x1d3700===void 0x0)throw _0x1f1bb7;throw new ToolExecutionError(_0x1f1bb7[_0x29b3bc(_0x78335c._0xe1f8a0,0x31b,_0x78335c._0xbfcf21,0x506)],createStructuredWithRoutingSummary(_0x1f1bb7[_0x29b3bc(_0x78335c._0x931085,_0x78335c._0x223e72,_0x78335c._0x3f7044,-0x21)],_0x5e31e8));}if(_0x1f1bb7 instanceof DelegatedResolutionError){const _0xb7360e={..._0x5e31e8};delete _0xb7360e[_0x29b3bc(_0x78335c._0x4c6028,_0x78335c._0x3918b5,_0x78335c._0xff25cc,_0x78335c._0x467ffc)],delete _0xb7360e['agentModelSet'],_0x5e31e8={..._0xb7360e,'status':_0x29b3bc(0x1d5,0x103,0x1fa,0xf4),'errorMessage':_0x1f1bb7[_0x1fccac(0x65d,0x736,0x59a,0x610)],..._0x1d3700===void 0x0||_0x1f1bb7['agentModelSet']===void 0x0?{}:{'agentModelSet':_0x1f1bb7[_0x1fccac(0x286,0x399,0x471,_0x78335c._0x5c7af4)]}};throw new ToolExecutionError(_0x1f1bb7[_0x29b3bc(0x31a,0x31b,_0x78335c._0x3414e7,0x472)],{...createRunSummary(_0x5e31e8),..._0x1d3700===void 0x0||_0x1f1bb7['selector']===void 0x0?{}:{'selector':_0x1f1bb7['selector']},'errorMessage':_0x1f1bb7['message']});}if(isAbortError(_0x1f1bb7)||_0x24ccb8[_0x29b3bc(_0x78335c._0x3ce0d0,0x271,0xe4,_0x78335c._0x18b777)][_0x1fccac(_0x78335c._0x4cf3e3,_0x78335c._0x4ed1fa,0x13a,_0x78335c._0x370c38)]||_0x3cf35e[_0x29b3bc(_0x78335c._0x1ff6a5,_0x78335c._0x1e4a2b,0x4b2,0xa8)][_0x1fccac(0x30d,_0x78335c._0x1b1e7e,0x438,_0x78335c._0xb8adac)]){const _0x34ab32=getRunTerminalErrorMessage(_0x5e31e8['result'])??(_0x1f1bb7 instanceof Error?_0x1f1bb7[_0x1fccac(0x65d,_0x78335c._0x3ebc95,0x585,0x783)]:String(_0x1f1bb7)),_0x59a391=formatAbortedRunMessage(_0x5e31e8[_0x29b3bc(-0x168,-0x175,-_0x78335c._0x403455,-_0x78335c._0x2b2ed3)],_0x34ab32);_0x5e31e8={..._0x5e31e8,'status':_0x1fccac(_0x78335c._0x368ace,0x48b,0x421,0xd9),'errorMessage':_0x59a391},_0x12ff50={'status':_0x29b3bc(0x145,-_0x78335c._0x506103,0x131,-0x1af),'errorMessage':_0x59a391};throw new ToolExecutionError(_0x59a391,{...createRunSummary(_0x5e31e8),'aborted':!![],'errorMessage':_0x59a391});}const _0x5c3c6e=getRunTerminalErrorMessage(_0x5e31e8[_0x1fccac(0x214,_0x78335c._0x50d538,_0x78335c._0x374da1,_0x78335c._0x470d73)])??(_0x1f1bb7 instanceof Error?_0x1f1bb7['message']:String(_0x1f1bb7))??'Agent\x20run\x20'+_0x5e31e8[_0x29b3bc(-_0x78335c._0x50ac54,-_0x78335c._0x4d8c2c,-0x309,_0x78335c._0x285680)]+'\x20failed.';_0x5e31e8={..._0x5e31e8,'status':_0x29b3bc(-_0x78335c._0x2b2ed3,_0x78335c._0x4d75ce,_0x78335c._0x454974,0x1ca),'errorMessage':_0x5c3c6e},_0x12ff50={'status':_0x29b3bc(0x7a,0x103,0x1f1,-_0x78335c._0x544ccb),'errorMessage':_0x5c3c6e};throw new ToolExecutionError(_0x5c3c6e,{...createRunSummary(_0x5e31e8),'errorMessage':_0x5c3c6e});}finally{let _0x651ca4,_0x491fac;const _0x3e7f55=_0x159e19=>{if(_0x159e19===void 0x0)return;try{_0x159e19();}catch(_0x348d88){_0x491fac??=_0x348d88 instanceof Error?_0x348d88:new Error(String(_0x348d88));}};if(_0x216cb5&&_0x5f2224!==void 0x0){const _0x146143=_0x12ff50??{'status':_0x1fccac(0x30d,_0x78335c._0xb7313a,0x1d4,_0x78335c._0x246af3)};try{await _0x5f2224[_0x1fccac(_0x78335c._0x5b8315,_0x78335c._0x257bdc,0x37e,_0x78335c._0x3e7ce7)](_0x58c9f0,_0x146143);}catch(_0x1ce255){_0x651ca4=_0x1ce255 instanceof Error?_0x1ce255:new Error(String(_0x1ce255));}}_0x3e7f55(_0x59bdcb['releaseAgentResources']===void 0x0?void 0x0:()=>_0x59bdcb[_0x1fccac(0x4ee,0x567,0x2de,0x654)]?.(_0x58c9f0)),_0x3e7f55(_0x1d275a),_0x3e7f55(_0x91641),_0x3e7f55(_0x9edebe),_0x3e7f55(_0x96a5d1),_0x3e7f55(_0x854664),_0x651ca4!==void 0x0&&(_0x5fa354&&(_0x651ca4['cause']=_0x10e300),rethrowDelegatedError(_0x651ca4)),_0x491fac!==void 0x0&&rethrowDelegatedError(_0x491fac);}}});}function isBackgroundDelegationFailureCode(_0x17120b){const _0x3d68ee={_0xeae5e9:0x33b,_0x1494bb:0x4c7,_0x16fe8:0x27a,_0x1fc484:0x27c,_0x21700e:0x9d,_0x5e4a6f:0x2b4,_0x274722:0x1ee,_0x14ad51:0x21a},_0x2bcbe={_0x132c89:0x133},_0xa89794={_0x2c72da:0x18,_0x142b33:0x1a3};function _0x5e4366(_0x452704,_0x4c120c,_0x3b3984,_0x1a8646){return _0x1957f6(_0x452704-_0xa89794._0x2c72da,_0x4c120c-0xab,_0x3b3984,_0x452704- -_0xa89794._0x142b33);}function _0x3adbeb(_0x6bead7,_0x202a13,_0x50f438,_0x559fa2){return _0x1957f6(_0x6bead7-0x142,_0x202a13-0xe2,_0x6bead7,_0x50f438-_0x2bcbe._0x132c89);}return _0x17120b===_0x3adbeb(_0x3d68ee._0xeae5e9,0x2cc,_0x3d68ee._0x1494bb,_0x3d68ee._0x16fe8)||_0x17120b===_0x5e4366(-0x171,-_0x3d68ee._0x1fc484,-_0x3d68ee._0x21700e,-_0x3d68ee._0x5e4a6f)||_0x17120b===_0x5e4366(_0x3d68ee._0x274722,0x416,_0x3d68ee._0x14ad51,0x287)||_0x17120b==='subagent-busy'||_0x17120b===_0x3adbeb(0x43a,0x2d6,0x3bf,0x33e);}function genericBackgroundFailure(){const _0x336ddb={_0x35e15c:0x1f6,_0x54fddc:0x41f,_0x20fab6:0x236},_0x5047b2={_0x47b486:0x1f4,_0x33f961:0x2c};function _0x217e0f(_0x47e8fc,_0x3ceb47,_0x12133d,_0x4d6e6b){return _0x1957f6(_0x47e8fc-_0x5047b2._0x47b486,_0x3ceb47-_0x5047b2._0x33f961,_0x47e8fc,_0x4d6e6b-0x62);}throw new ToolExecutionError(_0x217e0f(_0x336ddb._0x35e15c,0x420,_0x336ddb._0x54fddc,_0x336ddb._0x20fab6),{});}function stableBackgroundFailure(_0x27936f,_0x13410e){const _0x554624={_0x170a4a:0xaf,_0x1f40dd:0x174};function _0x44dfc5(_0x5cca01,_0x370d85,_0x59e86f,_0x1f31f9){return _0x39a391(_0x5cca01-_0x554624._0x170a4a,_0x370d85-_0x554624._0x1f40dd,_0x5cca01- -0x32,_0x59e86f);}const _0x46d0e0='Background\x20subagent\x20request\x20failed\x20('+_0x27936f+_0x44dfc5(0x928,0x979,0x90d,0xaf8)+_0x13410e+'.';throw new ToolExecutionError(_0x46d0e0,{'background':!![],'code':_0x27936f,'runId':_0x13410e});}function rejectedAssignmentOutput(_0x3641a6){const _0x5a6ba2={_0x3235fd:0x4dd,_0x19ab65:0x480,_0x495f2a:0x12,_0x2e21a5:0xd1,_0x2cbc80:0x527,_0x152359:0x282,_0x271c1e:0xe0,_0x21ac2b:0x16f},_0x25f1f8={_0x506769:0x247},_0x501ce4={_0x4255d2:0x70,_0x3dffd3:0x368};function _0x66a915(_0x22b31e,_0x2f535b,_0x23a70b,_0x48effc){return _0x39a391(_0x22b31e-_0x501ce4._0x4255d2,_0x2f535b-0x60,_0x48effc- -_0x501ce4._0x3dffd3,_0x23a70b);}function _0x2d9bc7(_0x27d35e,_0x55f695,_0x1a7920,_0x18320a){return _0x1957f6(_0x27d35e-0x11f,_0x55f695-0x163,_0x18320a,_0x27d35e-_0x25f1f8._0x506769);}if(!isBackgroundDelegationFailureCode(_0x3641a6[_0x66a915(0x433,_0x5a6ba2._0x3235fd,_0x5a6ba2._0x19ab65,0x282)])||!isValidDelegatedRunId(_0x3641a6[_0x2d9bc7(0x219,_0x5a6ba2._0x495f2a,_0x5a6ba2._0x2e21a5,0x261)]))return genericBackgroundFailure();return stableBackgroundFailure(_0x3641a6[_0x2d9bc7(0x32c,_0x5a6ba2._0x2cbc80,0x4ce,_0x5a6ba2._0x152359)],_0x3641a6[_0x66a915(0x93,_0x5a6ba2._0x271c1e,0xa4,_0x5a6ba2._0x21ac2b)]);}function rejectedMessageOutput(_0xb93867,_0x55afc8){const _0x22b237={_0x1b9b95:0x2a,_0x17c193:0x7a5},_0xc2cb38={_0x472ff8:0x35};function _0x3fe7e5(_0x3a06ab,_0x30cbc1,_0x27f24e,_0x32a60d){return _0x1957f6(_0x3a06ab-_0xc2cb38._0x472ff8,_0x30cbc1-0x6,_0x27f24e,_0x32a60d-0xe9);}function _0x311f83(_0x19c7cc,_0x469bb2,_0x1f65de,_0x2016a1){return _0x1957f6(_0x19c7cc-0x119,_0x469bb2-0x30,_0x469bb2,_0x2016a1-0x54e);}if(!isBackgroundDelegationFailureCode(_0xb93867[_0x3fe7e5(-0x46,0x2f4,_0x22b237._0x1b9b95,0x1ce)])||_0xb93867['runId']!==void 0x0&&_0xb93867['runId']!==_0x55afc8)return genericBackgroundFailure();return stableBackgroundFailure(_0xb93867[_0x311f83(0x84e,_0x22b237._0x17c193,0x7bf,0x633)],_0x55afc8);}function acceptedAssignmentOutput(_0xd16376,_0x3e54d3){const _0x4a5fa4={_0x2cde2b:0x21,_0x40f587:0x625,_0x549dc4:0x64f,_0x9bd9ba:0x594,_0x510327:0x1b2,_0x891559:0x292,_0x18f51b:0x274,_0x4fcad6:0xe,_0x46a338:0xae,_0x3d9ff6:0x2be,_0x10bc0e:0x18a,_0xdb2e8d:0x1a9,_0x31a80e:0x6e4,_0x504e91:0x6fa,_0x3dbb4f:0x2e8,_0x31ff8f:0x4a1,_0x268fa9:0x44b,_0x59c78b:0x27e},_0x56864b={_0x50d502:0xa6},_0x516c86={_0x105629:0x144};function _0x2e2f15(_0xa5fc98,_0x2b70d7,_0x59463d,_0x5d6705){return _0x1957f6(_0xa5fc98-_0x516c86._0x105629,_0x2b70d7-0x1b9,_0x5d6705,_0x2b70d7- -0x175);}function _0x18b27a(_0x99decd,_0x3359de,_0x5bbea9,_0x136529){return _0x1957f6(_0x99decd-_0x56864b._0x50d502,_0x3359de-0x13a,_0x3359de,_0x99decd-0x1c7);}if(!isValidDelegatedRunId(_0xd16376[_0x2e2f15(0xae,-0x1a3,-0x361,_0x4a5fa4._0x2cde2b)])||_0xd16376[_0x18b27a(_0x4a5fa4._0x40f587,_0x4a5fa4._0x549dc4,_0x4a5fa4._0x9bd9ba,0x496)]!==_0x3e54d3||_0xd16376[_0x2e2f15(-0x2ce,-_0x4a5fa4._0x510327,-_0x4a5fa4._0x891559,-_0x4a5fa4._0x18f51b)]!==_0x2e2f15(-_0x4a5fa4._0x4fcad6,-0x11b,-0x111,-0x211)&&_0xd16376['state']!==_0x2e2f15(_0x4a5fa4._0x46a338,_0x4a5fa4._0x3d9ff6,0x301,0x484))return genericBackgroundFailure();const _0x4c53bf='Background\x20subagent\x20'+_0xd16376['runId']+'\x20'+_0xd16376[_0x18b27a(_0x4a5fa4._0x10bc0e,0x3db,0x34a,_0x4a5fa4._0xdb2e8d)]+_0x18b27a(0x552,_0x4a5fa4._0x31a80e,0x505,_0x4a5fa4._0x504e91)+_0xd16376[_0x18b27a(0x199,0x2e4,0x395,_0x4a5fa4._0x3dbb4f)]+_0x18b27a(0x516,0x324,_0x4a5fa4._0x31ff8f,_0x4a5fa4._0x268fa9);return createToolOutput(_0x4c53bf,{'background':!![],'runId':_0xd16376['runId'],'agentId':_0x3e54d3,'state':_0xd16376[_0x2e2f15(-0x1a4,-0x1b2,-0x121,-_0x4a5fa4._0x59c78b)]});}function acceptedMessageOutput(_0x5b12bb,_0x451c47){const _0xce6ca={_0x39b763:0x384,_0x4c5cb5:0x383,_0x357701:0x93e,_0x3be788:0x307,_0x3b4427:0x306,_0x3b04c0:0x599,_0x3c8dcc:0x545,_0x23ed12:0x48,_0x5df1ce:0x12c,_0x1ffa11:0x629,_0x118ed3:0x73b,_0x5ec426:0x454,_0x1484ca:0x99d,_0x266715:0xb2c,_0x1054b3:0x610,_0x4c8dc6:0x502,_0x88ccd6:0x6e8,_0x5be59f:0x5de,_0x4fbac0:0x70a,_0x539707:0x52c,_0x20c9c5:0x4be,_0x8a501:0x719,_0x4445c0:0x799,_0x45174c:0x5c7,_0x439321:0xd3,_0x5ddc70:0x12c,_0x176a00:0xd6},_0x47e453={_0x93c226:0x169},_0x51d981={_0x1f2685:0x182,_0x4e4e1a:0x7d};function _0x53b1be(_0x217e93,_0x476dc7,_0x3a7a63,_0x28aab0){return _0x39a391(_0x217e93-_0x51d981._0x1f2685,_0x476dc7-_0x51d981._0x4e4e1a,_0x476dc7-0x3a,_0x3a7a63);}if(_0x5b12bb[_0x1f8f6e(_0xce6ca._0x39b763,_0xce6ca._0x4c5cb5,-0x38,0x13b)]!==_0x451c47||typeof _0x5b12bb[_0x1f8f6e(0x514,0x4d7,0x773,0x5c7)]!=='string'||_0x5b12bb['agentId']['trim']()[_0x53b1be(0x987,_0xce6ca._0x357701,0x8b7,0x8b7)]===0x0||_0x5b12bb[_0x53b1be(_0xce6ca._0x3be788,0x502,_0xce6ca._0x3b4427,0x31f)]!==_0x53b1be(0x608,_0xce6ca._0x3b04c0,_0xce6ca._0x3c8dcc,0x5fe)&&_0x5b12bb[_0x1f8f6e(0xb0,-0x3b,_0xce6ca._0x23ed12,_0xce6ca._0x5df1ce)]!==_0x1f8f6e(0x6c1,0x56f,0x34f,0x59c)&&_0x5b12bb['state']!==_0x53b1be(0x5e1,0x5b2,0x5b1,_0xce6ca._0x1ffa11))return genericBackgroundFailure();const _0x32627a={'background':!![],'runId':_0x5b12bb[_0x53b1be(_0xce6ca._0x118ed3,0x511,_0xce6ca._0x5ec426,0x558)],'agentId':_0x5b12bb[_0x53b1be(0xa5e,_0xce6ca._0x1484ca,0x96e,_0xce6ca._0x266715)],'state':_0x5b12bb[_0x53b1be(_0xce6ca._0x1054b3,_0xce6ca._0x4c8dc6,0x61f,_0xce6ca._0x88ccd6)]},_0x2b67e7=JSON[_0x53b1be(0x364,0x570,_0xce6ca._0x5be59f,_0xce6ca._0x4fbac0)]({'runId':_0x5b12bb[_0x53b1be(0x733,0x511,_0xce6ca._0x539707,0x71d)],'agentId':_0x5b12bb[_0x1f8f6e(_0xce6ca._0x20c9c5,_0xce6ca._0x8a501,_0xce6ca._0x4445c0,_0xce6ca._0x45174c)],'state':_0x5b12bb[_0x1f8f6e(-_0xce6ca._0x439321,0x212,0xff,_0xce6ca._0x5ddc70)]});function _0x1f8f6e(_0x9549eb,_0x5133c3,_0x1c3a0f,_0x20654a){return _0x1957f6(_0x9549eb-0x1cf,_0x5133c3-0x57,_0x1c3a0f,_0x20654a-_0x47e453._0x93c226);}return createToolOutput(_0x1f8f6e(0x1d6,_0xce6ca._0x176a00,0x20e,0x289)+_0x2b67e7+'.',_0x32627a);}function acceptedStopOutput(_0x478f77,_0x41f31c){const _0x53e1aa={_0x270209:0x10d,_0x491d6c:0x26a,_0x228e03:0x434,_0x49444c:0x278,_0x53988a:0x613,_0x2fc370:0x3e0,_0x53f173:0x50f,_0x2451e9:0x1a4,_0x232582:0x164,_0x8841e4:0x2cf,_0x1b25bd:0x13c,_0x526e36:0x226,_0x559176:0x290,_0x5d46df:0x1b0,_0x5457d8:0x564,_0x49d92f:0x33f,_0x518ef4:0xeb,_0x24a66c:0x2d6,_0xa59e29:0x329,_0x426b7c:0x1d7,_0x5989dc:0x1e8},_0x4c5291={_0x325689:0x2f1};if(_0x478f77[_0x4623be(-0x48,0x1e6,_0x53e1aa._0x270209,0x18d)]!==_0x41f31c||typeof _0x478f77[_0x2e3bad(0x31d,0x2f7,0x334,0x38c)]!==_0x4623be(_0x53e1aa._0x491d6c,0x414,_0x53e1aa._0x228e03,_0x53e1aa._0x49444c)||_0x478f77['agentId']['trim']()[_0x4623be(0x668,_0x53e1aa._0x53988a,_0x53e1aa._0x2fc370,_0x53e1aa._0x53f173)]===0x0||_0x478f77[_0x2e3bad(-0x2b,-0x1a4,-0x26b,-0x325)]!=='idle'&&_0x478f77['state']!=='stopping')return genericBackgroundFailure();function _0x4623be(_0x2add1a,_0x389da0,_0x3f32d6,_0x48b616){return _0x39a391(_0x2add1a-0x1e4,_0x389da0-0xd1,_0x389da0- -_0x4c5291._0x325689,_0x48b616);}function _0x2e3bad(_0x38ca4e,_0x2412b8,_0x441889,_0x11354d){return _0x1957f6(_0x38ca4e-0x6d,_0x2412b8-0x169,_0x441889,_0x2412b8- -0x167);}const _0x51dea7=_0x478f77[_0x2e3bad(0x70,-_0x53e1aa._0x2451e9,-_0x53e1aa._0x232582,-_0x53e1aa._0x8841e4)]===_0x2e3bad(_0x53e1aa._0x1b25bd,0x118,_0x53e1aa._0x526e36,_0x53e1aa._0x559176)?_0x2e3bad(-0x49,-0x3c,-0x196,-0x1c9)+_0x478f77[_0x4623be(0x1dc,0x1e6,0x10f,_0x53e1aa._0x5d46df)]+'\x20is\x20already\x20idle.':_0x4623be(_0x53e1aa._0x5457d8,_0x53e1aa._0x49d92f,0x304,0x3e3)+_0x478f77[_0x2e3bad(-0x148,-0x195,-_0x53e1aa._0x518ef4,-_0x53e1aa._0x24a66c)]+'\x20stopping.';return createToolOutput(_0x51dea7,{'background':!![],'runId':_0x478f77['runId'],'agentId':_0x478f77['agentId'],'state':_0x478f77[_0x4623be(_0x53e1aa._0xa59e29,_0x53e1aa._0x426b7c,_0x53e1aa._0x5989dc,0x2ec)]});}async function invokeBackgroundCapability(_0x19b2af){try{return await _0x19b2af();}catch{return genericBackgroundFailure();}}function createBackgroundAssignTaskTool(_0x24adea,_0x297050){const _0x4a221d={_0x3e1872:0x8ca,_0x17f82d:0x63a,_0x316258:0x639,_0x1a13a6:0x73a,_0x55a930:0x285,_0xc8017a:0x23e,_0x3c9ce2:0x2ac},_0x679704={_0x31e434:0x419,_0x3d5cf6:0x448,_0x368be4:0x53c,_0x1c96d4:0x50a},_0x1a28dd={_0x1cc655:0x39,_0x1364d6:0xf},_0x46ea0f={_0x441a09:0x54b,_0x498872:0x16b},_0x4567ca={_0x4613f2:0x46,_0x17b6b0:0xf9,_0x2051ee:0x53f},_0x5b4d6e={_0x39ce2d:0x39,_0x512aa9:0x15d};function _0x320cac(_0x4f6cbb,_0x15d696,_0x351c22,_0x1b4e1e){return _0x39a391(_0x4f6cbb-_0x5b4d6e._0x39ce2d,_0x15d696-_0x5b4d6e._0x512aa9,_0x4f6cbb- -0x6da,_0x15d696);}const _0x2dec19=createSynchronousAssignTaskTool(_0x24adea);function _0x4833c6(_0xe96c5,_0x459ec2,_0x3b0676,_0x194ac2){return _0x1957f6(_0xe96c5-_0x4567ca._0x4613f2,_0x459ec2-_0x4567ca._0x17b6b0,_0x194ac2,_0x3b0676-_0x4567ca._0x2051ee);}return defineTool({'name':_0x2dec19[_0x4833c6(0x8be,_0x4a221d._0x3e1872,0x687,0x630)],'permissionClass':_0x4833c6(_0x4a221d._0x17f82d,0x629,_0x4a221d._0x316258,_0x4a221d._0x1a13a6),'description':'Delegates\x20a\x20task\x20to\x20another\x20agent\x20in\x20the\x20background.\x20`description`\x20is\x20a\x20short\x20UI\x20label;\x20`task`\x20is\x20the\x20complete\x20instruction\x20sent\x20to\x20the\x20agent.','inputSchema':_0x2dec19[_0x320cac(_0x4a221d._0x55a930,_0x4a221d._0xc8017a,0x27a,_0x4a221d._0x3c9ce2)],async *'execute'(_0x32284a,_0x4c1fd3){function _0x53cc02(_0x3c42db,_0x2bfb44,_0x4a86e2,_0x320529){return _0x320cac(_0x2bfb44-_0x46ea0f._0x441a09,_0x320529,_0x4a86e2-0x100,_0x320529-_0x46ea0f._0x498872);}const _0x5aa3b7=getDelegatedAgentDefinition(_0x24adea,_0x32284a['agentId']);function _0x377e3b(_0x2dbdee,_0x3239ba,_0x163601,_0x414da2){return _0x320cac(_0x2dbdee-0x315,_0x414da2,_0x163601-_0x1a28dd._0x1cc655,_0x414da2-_0x1a28dd._0x1364d6);}if(!_0x5aa3b7)return genericBackgroundFailure();if(_0x4c1fd3[_0x53cc02(_0x679704._0x31e434,_0x679704._0x3d5cf6,0x415,0x671)]===void 0x0)return genericBackgroundFailure();const _0x8b0432=await invokeBackgroundCapability(()=>_0x297050['assign']({'agentId':_0x32284a[_0x377e3b(0x59e,0x423,0x78f,0x451)],'task':_0x32284a[_0x53cc02(0x2d1,0x47e,0x509,0x3dd)],'senderAgentId':_0x4c1fd3[_0x53cc02(0x92f,0x7ca,0x60c,0x7b2)][_0x53cc02(0x668,0x7d4,0x8fc,0x67b)],'parentSessionId':_0x4c1fd3[_0x377e3b(0x1dc,0x268,0x125,0x33c)],'parentToolCallId':_0x4c1fd3[_0x53cc02(0x5e4,0x448,0x326,0x544)],..._0x32284a[_0x53cc02(0x249,0x440,0x2f0,0x64b)]===void 0x0?{}:{'requestedModelTier':_0x32284a[_0x377e3b(0x20a,0x76,-0x1c,0xdc)]}}));if(_0x8b0432['kind']===_0x53cc02(_0x679704._0x368be4,0x434,_0x679704._0x1c96d4,0x62c))return rejectedAssignmentOutput(_0x8b0432);return acceptedAssignmentOutput(_0x8b0432,_0x32284a['agentId']);}});}function createAssignTaskTool(_0x46d8cb){const _0x5013ff={_0x2b27ed:0x503,_0x1be5fe:0x769,_0x2e6142:0x3da},_0x5ee0c6={_0x3d002b:0x11b};function _0x5c48ce(_0x2e9095,_0x152d8f,_0x3f59bc,_0x25c6b3){return _0x1957f6(_0x2e9095-_0x5ee0c6._0x3d002b,_0x152d8f-0xd,_0x152d8f,_0x2e9095-0x1d6);}return _0x46d8cb[_0x5c48ce(0x565,_0x5013ff._0x2b27ed,_0x5013ff._0x1be5fe,_0x5013ff._0x2e6142)]===void 0x0?createSynchronousAssignTaskTool(_0x46d8cb):createBackgroundAssignTaskTool(_0x46d8cb,_0x46d8cb['background']);}function createSendMessageTool(_0x2f70ab){const _0xc7aaf8={_0x4aa8d5:0xa0c,_0x1e3041:0x7d5,_0x3c175c:0x504,_0x3256d4:0x577,_0x4da3c9:0x5a3,_0x43f917:0x566,_0x2d9859:0x56b,_0x413569:0x5b4,_0x1f7fe3:0x3fc,_0x8d74c8:0x5b3,_0x15ba90:0x775,_0x57efc2:0xdd,_0xa6f955:0x5b3,_0x21f81e:0x1d1,_0x2c347a:0xf5,_0x4d73b0:0x61,_0x60a179:0x182,_0x23a3d4:0x1c5,_0x299d4c:0x171,_0x36c6de:0x439,_0x15460b:0x4a5,_0x42f5fa:0x25a,_0x543e13:0x6cc,_0x3eab5e:0x745,_0x2cb50e:0x815},_0x44ce83={_0x311620:0x177,_0x171e8c:0x5b,_0x41c2fd:0x161,_0x39269f:0x232,_0xed0c9d:0x38f,_0x406090:0x255,_0x4e8cee:0x377,_0x49dbdf:0x41,_0x4681fd:0x136,_0x44e69c:0xea,_0x2de78c:0x17a,_0x74b2f:0x360,_0xdb2211:0x25d,_0x132e7c:0x167,_0x21f86c:0x158,_0x57fd69:0x1a2,_0x41b6d0:0x67,_0x2d090e:0x1b3,_0x2007da:0x29a,_0x40d3ed:0x2d2,_0x4e9b63:0xe,_0x4d23d2:0x135,_0x5bff90:0x104,_0x12f062:0x46,_0x9f5468:0x167},_0x2d3113={_0x1abc37:0x8e},_0x5ea78d={_0x49453f:0x79},_0x50de7b={_0x51a938:0x19a};function _0x2a49d1(_0x3d29b0,_0x2c994f,_0x2258f6,_0x5c7ad9){return _0x1957f6(_0x3d29b0-_0x50de7b._0x51a938,_0x2c994f-0xe3,_0x3d29b0,_0x5c7ad9- -0x143);}function _0x4c1855(_0x51f9c7,_0x2fc355,_0x4d5cda,_0x2d0c5d){return _0x39a391(_0x51f9c7-0x3c,_0x2fc355-_0x5ea78d._0x49453f,_0x4d5cda- -0x152,_0x2d0c5d);}return defineTool({'name':_0x4c1855(_0xc7aaf8._0x4aa8d5,0x703,_0xc7aaf8._0x1e3041,0x6ff),'permissionClass':'always-confirm','description':_0x4c1855(0x714,_0xc7aaf8._0x3c175c,_0xc7aaf8._0x3256d4,_0xc7aaf8._0x4da3c9),'inputSchema':{'type':_0x4c1855(_0xc7aaf8._0x43f917,0x58a,0x5e5,_0xc7aaf8._0x2d9859),'properties':{'runId':{'type':_0x4c1855(_0xc7aaf8._0x413569,_0xc7aaf8._0x1f7fe3,_0xc7aaf8._0x8d74c8,_0xc7aaf8._0x15ba90),'description':_0x2a49d1(0x163,_0xc7aaf8._0x57efc2,0x251,0x3)},'description':{'type':_0x4c1855(0x3eb,0x5b9,_0xc7aaf8._0xa6f955,0x77e),'description':_0x2a49d1(0x9e,-0x160,_0xc7aaf8._0x21f81e,_0xc7aaf8._0x2c347a)},'message':{'type':'string','description':_0x2a49d1(-0x1f7,0xce,-_0xc7aaf8._0x4d73b0,0x25)}},'required':[_0x2a49d1(0x5c,-_0xc7aaf8._0x60a179,-_0xc7aaf8._0x23a3d4,-_0xc7aaf8._0x299d4c),_0x4c1855(_0xc7aaf8._0x36c6de,_0xc7aaf8._0x15460b,0x3fe,_0xc7aaf8._0x42f5fa),_0x4c1855(_0xc7aaf8._0x543e13,_0xc7aaf8._0x3eab5e,_0xc7aaf8._0x2cb50e,0x79c)],'additionalProperties':![]},async *'execute'(_0x144abb,_0x309343){const _0x1b5514={_0x5d900b:0xed,_0x1bed06:0x167};for(const [_0x10d691,_0x1bff0f]of Object['entries'](_0x144abb)){if(_0x1bff0f[_0x539675(_0x44ce83._0x311620,0xd6,-_0x44ce83._0x171e8c,-_0x44ce83._0x41c2fd)]()[_0x3633f6(_0x44ce83._0x39269f,_0x44ce83._0xed0c9d,0x2c6,_0x44ce83._0x406090)]===0x0)throw new ToolExecutionError(_0x539675(-_0x44ce83._0x4e8cee,0x2a,-0x140,_0x44ce83._0x49dbdf)+_0x10d691+_0x3633f6(_0x44ce83._0x4681fd,-0x22d,-_0x44ce83._0x44e69c,-_0x44ce83._0x2de78c));}if(!isValidDelegatedRunId(_0x144abb[_0x3633f6(-_0x44ce83._0x74b2f,-_0x44ce83._0xdb2211,-_0x44ce83._0x132e7c,-0x99)]))return genericBackgroundFailure();function _0x539675(_0x1e7cb2,_0x5e3747,_0x119bb6,_0x126063){return _0x2a49d1(_0x126063,_0x5e3747-_0x2d3113._0x1abc37,_0x119bb6-0x49,_0x119bb6-0x3c);}if(_0x309343[_0x3633f6(_0x44ce83._0x21f86c,-_0x44ce83._0x57fd69,-_0x44ce83._0x41b6d0,-_0x44ce83._0x2d090e)]===void 0x0)return genericBackgroundFailure();const _0x487800=await invokeBackgroundCapability(()=>_0x2f70ab[_0x539675(0x135,-0x14a,0x4,0x1fa)]({'runId':_0x144abb['runId'],'message':_0x144abb[_0x539675(0x585,0x118,0x35b,0x2b8)],'senderAgentId':_0x309343[_0x539675(0x428,0x420,0x34d,0x3e4)]['agentId'],'parentSessionId':_0x309343[_0x3633f6(-0x167,0x128,-0x9d,-0x1ab)],'triggerToolCallId':_0x309343[_0x3633f6(-0x123,0x1ca,-0x67,0x5c)]}));if(_0x487800[_0x3633f6(-0x14a,0x131,-0xb5,-_0x44ce83._0x2007da)]===_0x3633f6(0xed,0x15,-0x7b,-_0x44ce83._0x40d3ed))return rejectedMessageOutput(_0x487800,_0x144abb[_0x539675(-_0x44ce83._0x4e8cee,-_0x44ce83._0x4e9b63,-_0x44ce83._0x4d23d2,-_0x44ce83._0x5bff90)]);function _0x3633f6(_0x3e124a,_0x662f27,_0x308346,_0x29b270){return _0x4c1855(_0x3e124a-_0x1b5514._0x5d900b,_0x662f27-_0x1b5514._0x1bed06,_0x308346- -0x4ec,_0x29b270);}return acceptedMessageOutput(_0x487800,_0x144abb[_0x3633f6(-0x338,-_0x44ce83._0x12f062,-_0x44ce83._0x9f5468,-0x22b)]);}});}function createStopAgentTool(_0x32bb68){const _0x35e3e5={_0x2248bc:0x2ef,_0x314c08:0x17d,_0x459945:0x1eb,_0x1fb08d:0xba,_0x2a86a0:0x2c7,_0x39457c:0x76,_0x23e4a3:0x37a,_0x123a46:0x2f1,_0x295cb3:0x1ff,_0x1c93d8:0x2bf,_0x43a338:0x1bb,_0x3ddc95:0x91},_0x1c60ff={_0xae02a9:0x91,_0x296025:0x5ef,_0x3db203:0x5e6,_0xbed431:0x7e7,_0x425295:0x53d,_0x3de287:0x706,_0x2bc2d4:0x537,_0xbfb3fb:0x14f,_0x59ba7d:0x91},_0x5df7fc={_0x41011f:0xfc,_0x4c69b5:0x446};function _0x2360ed(_0xc96cc2,_0x35cd35,_0x21db7c,_0x108858){return _0x39a391(_0xc96cc2-0x11d,_0x35cd35-_0x5df7fc._0x41011f,_0x108858- -_0x5df7fc._0x4c69b5,_0x21db7c);}function _0x206eb2(_0x2d0565,_0x374ba2,_0x29afac,_0x1ba626){return _0x39a391(_0x2d0565-0x110,_0x374ba2-0x36,_0x29afac- -0x673,_0x374ba2);}return defineTool({'name':_0x206eb2(_0x35e3e5._0x2248bc,_0x35e3e5._0x314c08,_0x35e3e5._0x459945,_0x35e3e5._0x1fb08d),'permissionClass':_0x206eb2(-_0x35e3e5._0x2a86a0,0xa8,-0x74,-_0x35e3e5._0x39457c),'description':'Stops\x20the\x20active\x20or\x20queued\x20turn\x20for\x20one\x20background\x20subagent\x20without\x20closing\x20its\x20resumable\x20conversation.','inputSchema':{'type':_0x2360ed(0x375,0x1f4,_0x35e3e5._0x23e4a3,_0x35e3e5._0x123a46),'properties':{'runId':{'type':_0x2360ed(0x3d1,0x4b8,_0x35e3e5._0x295cb3,_0x35e3e5._0x1c93d8),'description':'Full\x20background\x20subagent\x20run\x20ID\x20returned\x20by\x20AssignTask.'}},'required':[_0x2360ed(-0xd8,_0x35e3e5._0x43a338,-0x153,_0x35e3e5._0x3ddc95)],'additionalProperties':![]},async *'execute'(_0x26bc85,_0x17ef24){const _0x2ca94a={_0x302966:0x7c,_0x293d17:0x10b},_0x208ae4={_0x337e64:0x6d9,_0x9dcb3e:0x26};if(!isValidDelegatedRunId(_0x26bc85[_0x1c87ad(-0x192,-0x15a,-0xc3,-_0x1c60ff._0xae02a9)]))return genericBackgroundFailure();const _0x265950=await invokeBackgroundCapability(()=>_0x32bb68['stopAgent']({'runId':_0x26bc85[_0x1c87ad(-0xfd,-0xf1,0x7e,-0x91)],'parentSessionId':_0x17ef24[_0x1c87ad(-0x59,-0x110,0x58,0x39)]}));function _0x45f90a(_0x1787b9,_0x1142bf,_0x1f4590,_0x13e7c2){return _0x206eb2(_0x1787b9-0xf2,_0x1142bf,_0x1787b9-_0x208ae4._0x337e64,_0x13e7c2-_0x208ae4._0x9dcb3e);}if(_0x265950[_0x45f90a(_0x1c60ff._0x296025,0x692,_0x1c60ff._0x3db203,_0x1c60ff._0xbed431)]==='rejected')return rejectedMessageOutput(_0x265950,_0x26bc85[_0x45f90a(_0x1c60ff._0x425295,0x2f6,_0x1c60ff._0x3de287,_0x1c60ff._0x2bc2d4)]);function _0x1c87ad(_0x19c017,_0x9084bd,_0xd0bdf8,_0x585b50){return _0x206eb2(_0x19c017-_0x2ca94a._0x302966,_0x19c017,_0x585b50-_0x2ca94a._0x293d17,_0x585b50-0xa0);}return acceptedStopOutput(_0x265950,_0x26bc85[_0x1c87ad(0x159,-_0x1c60ff._0xbfb3fb,-0x155,-_0x1c60ff._0x59ba7d)]);}});}var createDelegateToAgentTool=createAssignTaskTool;function createDelegationTools(_0x89c9ef){const _0x43c241={_0x4568be:0x1c2,_0x2d99b8:0x18a,_0x1280bd:0x139,_0x574a8e:0x357},_0x202e09={_0x1ece7e:0xae},_0x5af8ec={_0x574d7d:0xcd};function _0x54b811(_0x2c3fc0,_0x2b8dfc,_0x58bf36,_0x176c17){return _0x1957f6(_0x2c3fc0-0x1c6,_0x2b8dfc-0xb3,_0x2c3fc0,_0x2b8dfc- -_0x5af8ec._0x574d7d);}function _0x2d7761(_0x3090f8,_0x458763,_0x3c2282,_0x573d4a){return _0x39a391(_0x3090f8-_0x202e09._0x1ece7e,_0x458763-0x1bf,_0x3c2282- -0x20f,_0x573d4a);}const _0x244f40=createAssignTaskTool(_0x89c9ef);return _0x89c9ef[_0x54b811(_0x43c241._0x4568be,0x2c2,0x8c,_0x43c241._0x2d99b8)]===void 0x0?[_0x244f40]:[_0x244f40,createSendMessageTool(_0x89c9ef['background']),createStopAgentTool(_0x89c9ef[_0x54b811(_0x43c241._0x1280bd,0x2c2,_0x43c241._0x574a8e,0x429)])];}import{mkdir as _0x5c9e34,writeFile}from'fs/promises';import*as _0x497592 from'path';function sanitizeFileName(_0x33cec7){const _0x3aa25f={_0x2e7042:0x9b8,_0x192091:0x76e,_0x483db8:0x7e0},_0x50e3a3={_0x2cdff7:0x127,_0x5277de:0x27};function _0x2e8c9b(_0x3c8eb6,_0x17c27e,_0x20bd4e,_0x48e01b){return _0x39a391(_0x3c8eb6-_0x50e3a3._0x2cdff7,_0x17c27e-_0x50e3a3._0x5277de,_0x48e01b-0x55,_0x3c8eb6);}return _0x33cec7[_0x2e8c9b(_0x3aa25f._0x2e7042,_0x3aa25f._0x192091,0x83a,_0x3aa25f._0x483db8)](/[^a-zA-Z0-9\-_]/g,'_');}async function truncateToolOutput(_0x12ded1,_0x22d00f){const _0x4bcc7b={_0x21b7a0:0x541,_0x4f21e2:0x5f6,_0x3b31d7:0x22c,_0x323699:0x110,_0x5234a0:0x31b,_0x5d5b87:0x387,_0x1a5981:0x37d,_0x303ed4:0x176,_0x462f44:0x5c1,_0x2999c3:0x39b,_0x4b9a0d:0x58b,_0x4e0d16:0x40f,_0x3f6103:0x4ab,_0x2afb69:0x1fd,_0x9bb672:0x402,_0x5ec0b4:0x218,_0x55ab44:0x239,_0x2d7aea:0x3df,_0x32bf15:0x50f,_0xc189fa:0x2d5,_0x1b5dde:0x3de,_0x2b8b86:0x528,_0x5af2e6:0x4ce,_0x2c0289:0x36b,_0x4635d4:0x88,_0x5679bd:0x5c3,_0x199f33:0x4a3,_0x1f6de8:0x722,_0x234b2a:0x57c,_0x17d890:0x5dd,_0x53eadf:0x755,_0x4de3e6:0x36a,_0x178054:0x23c,_0x1dc9b3:0x3f8,_0x258f7a:0x595,_0x1c066f:0x4e2,_0xa59a06:0x4b9,_0x5bdb89:0x69e,_0x33c6ec:0x54b,_0x14ef79:0x277,_0x1b9dba:0x1c4,_0x21eaa8:0x49e,_0x24ecff:0x443,_0x2781a5:0x5db,_0xd87a53:0x5dc,_0x433e74:0x69f,_0x1025ff:0x3d8,_0x5ae216:0x552,_0x37e3f6:0x6b6,_0x57291e:0x470,_0x523d57:0x43c},_0x3ff1d4={_0xc11dbf:0xd9,_0x5006e7:0x3e0},{maxBytes:_0x2fd351,sessionDir:_0x4fc807}=_0x22d00f;if(!_0x12ded1['output']||Buffer['byteLength'](_0x12ded1[_0x78dd2c(0x387,_0x4bcc7b._0x21b7a0,0x328,0x1d6)],_0x5010c2(0x413,_0x4bcc7b._0x4f21e2,0x421,0x7a2))<=_0x2fd351)return _0x12ded1;function _0x5010c2(_0x29ff62,_0x54610b,_0x11402f,_0x3bba40){return _0x1957f6(_0x29ff62-0x3d,_0x54610b-_0x3ff1d4._0xc11dbf,_0x3bba40,_0x54610b-_0x3ff1d4._0x5006e7);}function _0x78dd2c(_0x2e1cd5,_0x47c551,_0x37f410,_0x465f14){return _0x1957f6(_0x2e1cd5-0x36,_0x47c551-0xd0,_0x47c551,_0x2e1cd5-0x1a4);}const _0x42bdb6=Buffer[_0x78dd2c(_0x4bcc7b._0x3b31d7,0x480,_0x4bcc7b._0x323699,_0x4bcc7b._0x5234a0)](_0x12ded1[_0x78dd2c(_0x4bcc7b._0x5d5b87,0x427,_0x4bcc7b._0x1a5981,_0x4bcc7b._0x303ed4)],'utf8');if(!_0x4fc807){const _0x24de97=_0x12ded1['output']['slice'](0x0,_0x2fd351);return{..._0x12ded1,'output':_0x24de97+(_0x78dd2c(0x4ee,_0x4bcc7b._0x462f44,_0x4bcc7b._0x2999c3,0x62b)+_0x2fd351+'\x20bytes\x20(original:\x20'+_0x42bdb6+'\x20bytes).\x20No\x20session\x20directory\x20available\x20for\x20file\x20offload.\x0a</system-reminder>'),'meta':{..._0x12ded1[_0x5010c2(_0x4bcc7b._0x4b9a0d,0x53b,_0x4bcc7b._0x4e0d16,_0x4bcc7b._0x3f6103)],'truncated':!![],'originalBytes':_0x42bdb6,'transforms':[..._0x12ded1[_0x78dd2c(0x2ff,0x18a,0x274,_0x4bcc7b._0x2afb69)][_0x78dd2c(_0x4bcc7b._0x9bb672,0x4b6,0x3b0,0x58a)],_0x5010c2(_0x4bcc7b._0x5ec0b4,0x43c,0x283,0x5a3)]}};}const _0x33ee51=_0x12ded1[_0x5010c2(_0x4bcc7b._0x55ab44,_0x4bcc7b._0x2d7aea,0x5c0,0x62e)]+'_'+sanitizeFileName(_0x12ded1[_0x78dd2c(_0x4bcc7b._0x32bf15,_0x4bcc7b._0xc189fa,0x41e,_0x4bcc7b._0x1b5dde)])+_0x5010c2(_0x4bcc7b._0x2b8b86,_0x4bcc7b._0x5af2e6,0x324,0x4c8),_0x2a17c6=_0x497592[_0x78dd2c(0x2b0,_0x4bcc7b._0x2c0289,_0x4bcc7b._0x4635d4,0x2a3)](_0x4fc807,_0x33ee51);await _0x5c9e34(_0x4fc807,{'recursive':!![]}),await writeFile(_0x2a17c6,_0x12ded1[_0x5010c2(0x7dd,_0x4bcc7b._0x5679bd,_0x4bcc7b._0x199f33,_0x4bcc7b._0x1f6de8)],'utf8');let _0x1874a9=_0x12ded1[_0x78dd2c(0x387,_0x4bcc7b._0x234b2a,_0x4bcc7b._0x17d890,0x509)][_0x5010c2(_0x4bcc7b._0x53eadf,0x79c,0x5c0,0x749)](0x0,_0x2fd351);const _0xfff25=_0x1874a9['lastIndexOf']('\x0a');_0xfff25>_0x2fd351*0.5&&(_0x1874a9=_0x1874a9[_0x78dd2c(0x560,0x4c0,_0x4bcc7b._0x4de3e6,0x611)](0x0,_0xfff25));const _0x44a9cb=['',_0x78dd2c(_0x4bcc7b._0x178054,_0x4bcc7b._0x1dc9b3,0x125,0xb5),'Tool\x20output\x20was\x20truncated\x20at\x20'+_0x2fd351+_0x78dd2c(_0x4bcc7b._0x258f7a,0x574,_0x4bcc7b._0x1c066f,_0x4bcc7b._0xa59a06)+_0x42bdb6+_0x5010c2(_0x4bcc7b._0x5bdb89,0x5ac,0x6b4,_0x4bcc7b._0x33c6ec),_0x78dd2c(_0x4bcc7b._0x14ef79,_0x4bcc7b._0x1b9dba,0x26f,_0x4bcc7b._0x21eaa8)+_0x2a17c6,_0x5010c2(0x41f,0x639,0x721,_0x4bcc7b._0x24ecff),_0x78dd2c(0x46b,_0x4bcc7b._0x2781a5,_0x4bcc7b._0xd87a53,0x61e)][_0x5010c2(_0x4bcc7b._0x433e74,0x4ec,_0x4bcc7b._0x1025ff,0x3cf)]('\x0a');return{..._0x12ded1,'output':_0x1874a9+_0x44a9cb,'meta':{..._0x12ded1[_0x5010c2(0x495,0x53b,_0x4bcc7b._0x5ae216,_0x4bcc7b._0x37e3f6)],'truncated':!![],'originalBytes':_0x42bdb6,'transforms':[..._0x12ded1['meta'][_0x78dd2c(0x402,_0x4bcc7b._0x57291e,0x499,0x650)],_0x5010c2(0x2b0,_0x4bcc7b._0x523d57,0x696,0x47f)]}};}import{readFile as _0x2fb393,stat as _0x2638cd}from'fs/promises';function createAnchoredFileError(_0x3c50cc,_0x393625,_0x52910d){return new ToolExecutionError(_0x393625,{'error':_0x3c50cc,..._0x52910d});}import{createHash}from'crypto';function _0x1b0d(_0x1f5b41,_0x344ada){_0x1f5b41=_0x1f5b41-0x17f;const _0x873b40=_0x873b();let _0x1b0de7=_0x873b40[_0x1f5b41];if(_0x1b0d['ILeZOP']===undefined){var _0x38bf2c=function(_0x308a82){const _0x2274bb='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x59773b='',_0x1dedf5='';for(let _0x985f21=0x0,_0x45c174,_0x26ff7c,_0x5643ad=0x0;_0x26ff7c=_0x308a82['charAt'](_0x5643ad++);~_0x26ff7c&&(_0x45c174=_0x985f21%0x4?_0x45c174*0x40+_0x26ff7c:_0x26ff7c,_0x985f21++%0x4)?_0x59773b+=String['fromCharCode'](0xff&_0x45c174>>(-0x2*_0x985f21&0x6)):0x0){_0x26ff7c=_0x2274bb['indexOf'](_0x26ff7c);}for(let _0x210085=0x0,_0x5c9e34=_0x59773b['length'];_0x210085<_0x5c9e34;_0x210085++){_0x1dedf5+='%'+('00'+_0x59773b['charCodeAt'](_0x210085)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1dedf5);};_0x1b0d['uZYYkE']=_0x38bf2c,_0x1b0d['hJajsm']={},_0x1b0d['ILeZOP']=!![];}const _0x248b14=_0x873b40[0x0],_0x5de4c7=_0x1f5b41+_0x248b14,_0x46720e=_0x1b0d['hJajsm'][_0x5de4c7];return!_0x46720e?(_0x1b0de7=_0x1b0d['uZYYkE'](_0x1b0de7),_0x1b0d['hJajsm'][_0x5de4c7]=_0x1b0de7):_0x1b0de7=_0x46720e,_0x1b0de7;}function sha256Bytes(_0x4f114a){const _0x271295={_0x57165b:0xdd};function _0x198ddb(_0x216628,_0x27fd5e,_0x18ee82,_0x5999da){return _0x1957f6(_0x216628-0x1d0,_0x27fd5e-0x1ce,_0x18ee82,_0x27fd5e-_0x271295._0x57165b);}return createHash(_0x198ddb(0x326,0x450,0x4a6,0x2cf))['update'](_0x4f114a)['digest']('hex');}function countLines(_0x2692ae){const _0x348fe6={_0x522501:0x3ff,_0x339bb1:0x2f0,_0x3042aa:0x460,_0x2d2355:0x5,_0x56b6d7:0x24b,_0x21ebb1:0x37d,_0x64574f:0x237,_0xcdd42a:0xb8},_0x1c2f37={_0xce2b08:0x82,_0x58f164:0x505},_0x859473={_0xc06a1b:0x6cd};function _0x3e50c2(_0x610bb2,_0x19b057,_0xf229d0,_0x520835){return _0x39a391(_0x610bb2-0x162,_0x19b057-0x133,_0x19b057- -_0x859473._0xc06a1b,_0x610bb2);}const _0xde9f31=_0x2692ae['replace'](/\n$/,'');function _0x4f6a73(_0x459bc5,_0x52d4f6,_0x400154,_0x3258aa){return _0x39a391(_0x459bc5-_0x1c2f37._0xce2b08,_0x52d4f6-0xfe,_0x52d4f6- -_0x1c2f37._0x58f164,_0x459bc5);}return _0xde9f31[_0x4f6a73(0x39d,_0x348fe6._0x522501,_0x348fe6._0x339bb1,_0x348fe6._0x3042aa)]===0x0?0x0:_0xde9f31[_0x4f6a73(-_0x348fe6._0x2d2355,0x1fa,_0x348fe6._0x56b6d7,0x213)]('\x0a')[_0x3e50c2(_0x348fe6._0x21ebb1,_0x348fe6._0x64574f,_0x348fe6._0xcdd42a,0x405)];}function replaceFirstExact(_0x1f865b,_0x199d86,_0x187241){const _0x403356={_0x599823:0x5f8,_0x108c8e:0x3e0,_0x413a99:0x6f9,_0x33e947:0x584,_0x42e9e8:0x537,_0xdb2d5e:0x2fa,_0x1ca6aa:0x3e9,_0x229028:0x74a,_0xcb7c4d:0x6f9,_0x4819a8:0x83b},_0x4a5c88={_0x169fd1:0x103,_0x3a20be:0x60,_0x5ca2b4:0x33d};function _0x5baa43(_0x30ee7a,_0x412b5e,_0x1e0b97,_0xd2388e){return _0x1957f6(_0x30ee7a-_0x4a5c88._0x169fd1,_0x412b5e-_0x4a5c88._0x3a20be,_0xd2388e,_0x30ee7a-_0x4a5c88._0x5ca2b4);}const _0x3ca61d=_0x1f865b[_0x74c738(_0x403356._0x599823,0x199,_0x403356._0x108c8e,0x3b7)](_0x199d86);if(_0x3ca61d===-0x1)return void 0x0;const _0x1509f3=_0x1f865b[_0x5baa43(_0x403356._0x413a99,0x770,_0x403356._0x33e947,0x858)](0x0,_0x3ca61d)[_0x5baa43(_0x403356._0x42e9e8,_0x403356._0xdb2d5e,0x5f3,_0x403356._0x1ca6aa)]('\x0a')['length'],_0x265fe0=countLines(_0x199d86),_0x2583f7=countLines(_0x187241);function _0x74c738(_0x4ef0b3,_0x26a079,_0x480181,_0x141985){return _0x39a391(_0x4ef0b3-0x39,_0x26a079-0x12d,_0x480181- -0x545,_0x141985);}return{'before':_0x1f865b,'after':_0x1f865b[_0x5baa43(_0x403356._0x413a99,0x5bd,_0x403356._0x229028,0x849)](0x0,_0x3ca61d)+_0x187241+_0x1f865b[_0x5baa43(_0x403356._0xcb7c4d,_0x403356._0x4819a8,0x7f2,0x7f8)](_0x3ca61d+_0x199d86['length']),'lineNumbers':{'oldStartLine':_0x1509f3,'oldEndLine':_0x1509f3+_0x265fe0-0x1,'newStartLine':_0x1509f3,'newEndLine':_0x1509f3+_0x2583f7-0x1,'oldLineCount':_0x265fe0,'newLineCount':_0x2583f7}};}var MAX_OPERATIONS=0x64;function requireValidAnchorLine(_0x261db0){const _0x13f1d3={_0x334fd9:0x32f,_0x45a6ff:0x181,_0x5c6abc:0x14c},_0x360823={_0x22bb2d:0x1e7},_0x3751bd={_0xeea830:0x8,_0x3b3d85:0x4d};function _0x28f587(_0x53b4ec,_0x1ced62,_0xc3ba2d,_0x108443){return _0x39a391(_0x53b4ec-_0x3751bd._0xeea830,_0x1ced62-_0x3751bd._0x3b3d85,_0x53b4ec- -0x449,_0x108443);}function _0x510e88(_0x3fffbc,_0x3a43ce,_0x2537ef,_0x15e0a9){return _0x39a391(_0x3fffbc-_0x360823._0x22bb2d,_0x3a43ce-0xf0,_0x2537ef- -0x3d3,_0x15e0a9);}if(!Number[_0x510e88(0x2ff,_0x13f1d3._0x334fd9,0x431,0x378)](_0x261db0)||_0x261db0<0x1)throw createAnchoredFileError('invalid_range',_0x510e88(0x105,_0x13f1d3._0x45a6ff,0x2aa,_0x13f1d3._0x5c6abc)+String(_0x261db0)+'.');}function rangeLines(_0x1223fe,_0x301f5a){const _0x343187=[];for(let _0x3ad68e=_0x1223fe;_0x3ad68e<=_0x301f5a;_0x3ad68e+=0x1){_0x343187['push'](_0x3ad68e);}return _0x343187;}function normalizeContent(_0x5e01c2){const _0x129fe9={_0x1f8600:0x18c};function _0x470c73(_0xf2cc43,_0x39ad9f,_0x7f6edd,_0x5d7b76){return _0x39a391(_0xf2cc43-_0x129fe9._0x1f8600,_0x39ad9f-0x14b,_0x39ad9f- -0x643,_0x7f6edd);}return _0x5e01c2[_0x470c73(0x12d,0x148,0x11b,0x229)](/\r\n/g,'\x0a')['split']('\x0a');}function planOperations(_0x41f070,_0x180d8d){const _0x4592fa={_0x7d2aa3:0x7d6,_0x3126d3:0x39c,_0x6021c0:0x7d6,_0x1032b9:0x8d3,_0x4a3da1:0x5d7,_0x402590:0x39c,_0x415e60:0x6b9,_0x30883f:0x82f,_0xe2d31b:0x7ab,_0x36467b:0x449,_0x4760a8:0x4d5},_0x28e461={_0xf1bfa5:0x785,_0x25ca2f:0x5c8,_0xb1bfee:0x135,_0x5dcd13:0x42d,_0x2384e1:0x915,_0x3a6c9a:0xfa,_0x56249e:0x17c,_0x5b01b9:0x575,_0x420ad3:0x2f9,_0x5ca655:0x559,_0x47bc8a:0x9cf,_0x3bf791:0x914,_0x4cfef6:0x904,_0x3b10df:0xad6,_0x32d26e:0x596,_0x5bb369:0x556,_0x4a136e:0x3e9,_0x2a4c69:0x35,_0x53338b:0x3f2,_0x315d3c:0x84b,_0x417e17:0x530,_0x6d5f75:0x506,_0xe19f25:0x50f,_0x5aea89:0x644,_0x3d275e:0x6b1,_0xd805a:0x86b,_0x7daffc:0x122,_0x323fd0:0x5f5,_0x2e4013:0x529,_0x5159fb:0x7eb,_0x254f98:0x347,_0x9cfd5a:0x446,_0x1a0e68:0x603,_0x224c3e:0x502,_0x3c3455:0x2d3,_0x399281:0x9be,_0x5065b9:0x38b,_0x3acfeb:0x49b,_0x50ff85:0x571,_0x31b6b9:0x53c,_0x4b5449:0x81b,_0x27a4b5:0x403,_0x243b84:0x95c,_0x506eac:0x86b,_0x783e9c:0xa1f,_0x70a0eb:0x779,_0x544dea:0x7e0,_0x558cd3:0x197,_0x33a680:0xa11,_0x480dc0:0x830,_0x57fc2d:0x455,_0x5e1be7:0x54e,_0x1040b2:0x8cf,_0x245daa:0xa71,_0x4def3e:0x4be,_0x5b8ee2:0x584,_0x799982:0x5d5,_0x55913b:0x6a5,_0x37c72c:0x73e,_0x1e069a:0x692,_0x1def9d:0x3b2,_0x559ea8:0x2a9,_0x27136b:0x131,_0x5c9740:0x5f6,_0x62de29:0x7c1,_0x55b310:0x991,_0xd8a379:0x19e,_0x312783:0x6a1,_0x3e028a:0x66c,_0x3833a9:0x86b,_0x1821a2:0x833,_0x26174e:0x7ff,_0x877b47:0x187,_0x3f408c:0x349,_0x11583d:0xc6,_0x44c02e:0x122,_0x120456:0x3ea,_0xeec3f0:0x448,_0x483a48:0x525,_0x353993:0x602,_0x2b5b95:0x445,_0x47ee50:0xb34,_0x3143cc:0x919,_0x3b3346:0xf1,_0x4c62dd:0x772,_0x15b988:0x814,_0x29bdc3:0x6de,_0x13ba3e:0x683,_0x3dfa80:0x1cf,_0x28d50c:0x1cb,_0x53dd27:0x6ce,_0x489f0d:0xf0,_0x606562:0x144,_0x330ddf:0x88,_0x422467:0x780,_0x2cdbf2:0x72d,_0x3f2738:0x797,_0x537d0e:0x3d8,_0x523957:0x50f,_0x522721:0x3d5,_0x84fe4f:0x44d,_0x447be1:0xd1,_0x4140c5:0x3b,_0x4b6f19:0x4f,_0x1eb0f8:0xf5,_0x12317d:0x92c,_0x52bb78:0x56,_0x23e5c8:0x209,_0x4c7bf1:0x2f,_0x95f91:0x964,_0x548de6:0x3ec,_0x4e9ba0:0x40e,_0x24da5b:0x57a,_0xd5379e:0x6d4,_0x409c03:0xa70,_0x59ae12:0x926,_0x598f9c:0x8df,_0x5d8ed9:0x64f,_0x880626:0x68f,_0x116450:0x7e6,_0x4dff25:0x890,_0x5e5418:0x4fe,_0x98ca43:0x952,_0x2bd1a4:0x8ff,_0x294b70:0xb4c,_0x166ed4:0x3a3,_0x1e242e:0x41f,_0x4ed5e9:0x52,_0x5a01b0:0x2ef,_0x2bd414:0x175,_0x13ea9c:0x387,_0x21ab34:0x200,_0x2dae7f:0x768,_0x397cf8:0x5c5,_0x8bce1f:0x50f},_0x201f40={_0x2f7e94:0xfd,_0x564ab0:0x443},_0x5d1398={_0x582a53:0x130,_0x44b487:0x173},_0x475fc4={_0x1a0937:0x1c4},_0x5764c2={_0x85b795:0x7};if(_0x180d8d[_0x250bb3(_0x4592fa._0x7d2aa3,0x88f,0x979,0x997)]===0x0)throw createAnchoredFileError(_0x163b3d(0x506,0x158,0x145,_0x4592fa._0x3126d3),'At\x20least\x20one\x20anchored\x20operation\x20is\x20required.');function _0x250bb3(_0x273dde,_0x1760c0,_0x3ae2bb,_0x220416){return _0x39a391(_0x273dde-0x5a,_0x1760c0-_0x5764c2._0x85b795,_0x1760c0- -0x75,_0x3ae2bb);}function _0x163b3d(_0x24e484,_0x348e0c,_0x59f168,_0x42fbf7){return _0x39a391(_0x24e484-_0x475fc4._0x1a0937,_0x348e0c-0x165,_0x42fbf7- -0x14b,_0x348e0c);}if(_0x180d8d[_0x163b3d(_0x4592fa._0x6021c0,_0x4592fa._0x1032b9,_0x4592fa._0x4a3da1,0x7b9)]>MAX_OPERATIONS)throw createAnchoredFileError(_0x163b3d(0x343,0x491,0x263,_0x4592fa._0x402590),_0x250bb3(0x5cd,0x51d,0x356,0x66b)+MAX_OPERATIONS+_0x250bb3(0x4bc,_0x4592fa._0x415e60,_0x4592fa._0x30883f,_0x4592fa._0xe2d31b));if(_0x41f070['lines']['length']===0x0)throw createAnchoredFileError('invalid_range',_0x163b3d(0x4e3,0x45d,0x564,0x432));return _0x180d8d[_0x163b3d(0x449,_0x4592fa._0x36467b,0x703,_0x4592fa._0x4760a8)](_0x8c3c5b=>{function _0x43efb3(_0x24149e,_0x4f8fbc,_0x34d50b,_0x42cfae){return _0x163b3d(_0x24149e-_0x5d1398._0x582a53,_0x42cfae,_0x34d50b-0x175,_0x34d50b-_0x5d1398._0x44b487);}function _0x3631d7(_0x4241d8,_0x5c2013,_0x177399,_0x34ce7c){return _0x250bb3(_0x4241d8-_0x201f40._0x2f7e94,_0x34ce7c- -_0x201f40._0x564ab0,_0x5c2013,_0x34ce7c-0x1e9);}switch(_0x8c3c5b[_0x43efb3(0x6b3,0x576,_0x28e461._0xf1bfa5,_0x28e461._0x25ca2f)]){case _0x3631d7(_0x28e461._0xb1bfee,_0x28e461._0x5dcd13,0x111,0x2d3):{requireValidAnchorLine(_0x8c3c5b[_0x43efb3(0x71b,0x6e4,0x86b,_0x28e461._0x2384e1)]),requireValidAnchorLine(_0x8c3c5b['endLine']);if(_0x8c3c5b['startLine']>_0x8c3c5b[_0x3631d7(-_0x28e461._0x3a6c9a,_0x28e461._0x56249e,-0x125,0x122)])throw createAnchoredFileError(_0x43efb3(_0x28e461._0x5b01b9,_0x28e461._0x420ad3,0x50f,_0x28e461._0x5ca655),_0x43efb3(_0x28e461._0x47bc8a,_0x28e461._0x3bf791,_0x28e461._0x4cfef6,_0x28e461._0x3b10df));if(typeof _0x8c3c5b[_0x43efb3(_0x28e461._0x32d26e,0x343,_0x28e461._0x5bb369,_0x28e461._0x4a136e)]!==_0x3631d7(0x3a7,0x3c8,_0x28e461._0x2a4c69,0x24d))throw createAnchoredFileError('invalid_range',_0x3631d7(0xf5,0x269,_0x28e461._0x53338b,0x231));if(_0x8c3c5b[_0x43efb3(0x40a,_0x28e461._0x315d3c,0x602,0x859)]>_0x41f070['lines'][_0x3631d7(0x308,_0x28e461._0x417e17,_0x28e461._0x6d5f75,0x44c)])throw createAnchoredFileError(_0x43efb3(0x5b6,0x718,_0x28e461._0xe19f25,_0x28e461._0x5aea89),'replace\x20range\x20['+_0x8c3c5b[_0x43efb3(0x97b,_0x28e461._0x3d275e,_0x28e461._0xd805a,0xa6a)]+',\x20'+_0x8c3c5b[_0x3631d7(0x174,-0x25,0x28e,_0x28e461._0x7daffc)]+']\x20is\x20past\x20the\x20end\x20of\x20the\x20'+_0x41f070[_0x43efb3(_0x28e461._0x323fd0,_0x28e461._0x2e4013,0x5d5,_0x28e461._0x5159fb)]['length']+_0x3631d7(0x29a,0x461,_0x28e461._0x254f98,_0x28e461._0x9cfd5a));const _0x3ba05a=normalizeContent(_0x8c3c5b[_0x43efb3(0x48a,0x6b3,0x556,_0x28e461._0x1a0e68)]);return{'kind':_0x3631d7(_0x28e461._0x224c3e,0x44a,0x175,_0x28e461._0x3c3455),'canonical':{'operation':_0x43efb3(0x5a8,_0x28e461._0x399281,0x7b3,0x570),'startLine':_0x8c3c5b[_0x3631d7(0x153,0x5e0,0x3d1,_0x28e461._0x5065b9)],'endLine':_0x8c3c5b[_0x43efb3(_0x28e461._0x3acfeb,_0x28e461._0x50ff85,0x602,_0x28e461._0x31b6b9)],'content':_0x3ba05a[_0x43efb3(0x71e,_0x28e461._0x4b5449,0x639,_0x28e461._0x27a4b5)]('\x0a')},'spliceIndex':_0x8c3c5b[_0x43efb3(_0x28e461._0x243b84,0xabe,_0x28e461._0x506eac,0xa03)]-0x1,'deleteCount':_0x8c3c5b['endLine']-_0x8c3c5b[_0x43efb3(0x893,_0x28e461._0x783e9c,_0x28e461._0xd805a,_0x28e461._0x70a0eb)]+0x1,'rows':_0x3ba05a,'sourceStart':_0x8c3c5b[_0x43efb3(0x9aa,0x7a9,_0x28e461._0xd805a,_0x28e461._0x544dea)],'sourceEnd':_0x8c3c5b[_0x3631d7(0x38,-0x88,_0x28e461._0x558cd3,0x122)],'requiredLines':rangeLines(_0x8c3c5b[_0x43efb3(0x854,_0x28e461._0x33a680,_0x28e461._0x506eac,_0x28e461._0x480dc0)],_0x8c3c5b['endLine'])};}case'delete':{requireValidAnchorLine(_0x8c3c5b['startLine']),requireValidAnchorLine(_0x8c3c5b[_0x43efb3(_0x28e461._0x57fc2d,_0x28e461._0x5e1be7,0x602,0x44d)]);if(_0x8c3c5b[_0x43efb3(_0x28e461._0x1040b2,0x6e5,0x86b,_0x28e461._0x245daa)]>_0x8c3c5b['endLine'])throw createAnchoredFileError(_0x43efb3(0x3f9,0x718,0x50f,_0x28e461._0x4def3e),'delete\x20startLine\x20must\x20not\x20exceed\x20endLine.');if(_0x8c3c5b['endLine']>_0x41f070[_0x43efb3(0x63e,_0x28e461._0x5b8ee2,_0x28e461._0x799982,0x6d1)]['length'])throw createAnchoredFileError('invalid_range',_0x43efb3(0x7df,_0x28e461._0x55913b,_0x28e461._0x37c72c,_0x28e461._0x1e069a)+_0x8c3c5b['startLine']+',\x20'+_0x8c3c5b[_0x43efb3(_0x28e461._0x1def9d,0x4b9,0x602,0x7d4)]+_0x3631d7(_0x28e461._0x559ea8,0x229,0x1,_0x28e461._0x27136b)+_0x41f070[_0x43efb3(0x7ea,_0x28e461._0x5c9740,0x5d5,_0x28e461._0x62de29)][_0x43efb3(0x7d7,0x8fa,0x92c,0x989)]+_0x43efb3(0x796,0xa14,0x926,0x7b4));return{'kind':'delete','canonical':{'operation':_0x43efb3(_0x28e461._0x55b310,0x761,0x7fc,0x9ee),'startLine':_0x8c3c5b[_0x3631d7(0x1ef,0x32d,_0x28e461._0xd8a379,0x38b)],'endLine':_0x8c3c5b[_0x43efb3(0x833,0x5b3,0x602,_0x28e461._0x312783)]},'spliceIndex':_0x8c3c5b[_0x43efb3(0xa96,_0x28e461._0x3e028a,_0x28e461._0x3833a9,0x78d)]-0x1,'deleteCount':_0x8c3c5b[_0x43efb3(0x7e3,_0x28e461._0x1821a2,0x602,_0x28e461._0x26174e)]-_0x8c3c5b[_0x3631d7(0x4fa,0x246,0x42f,0x38b)]+0x1,'rows':[],'sourceStart':_0x8c3c5b['startLine'],'sourceEnd':_0x8c3c5b[_0x3631d7(_0x28e461._0x877b47,_0x28e461._0x3f408c,_0x28e461._0x11583d,_0x28e461._0x44c02e)],'requiredLines':rangeLines(_0x8c3c5b[_0x3631d7(0x329,_0x28e461._0x120456,_0x28e461._0xeec3f0,0x38b)],_0x8c3c5b[_0x43efb3(_0x28e461._0x483a48,0x5b4,_0x28e461._0x353993,_0x28e461._0x2b5b95)])};}case _0x43efb3(0x6d7,_0x28e461._0x47ee50,0x8ff,_0x28e461._0x3143cc):{requireValidAnchorLine(_0x8c3c5b[_0x3631d7(_0x28e461._0x3b3346,0x2b7,0x1d8,0x200)]);if(_0x8c3c5b[_0x43efb3(_0x28e461._0x4c62dd,_0x28e461._0x15b988,_0x28e461._0x29bdc3,_0x28e461._0x13ba3e)]!==_0x3631d7(0x3e4,0x19e,0x334,0x3c8)&&_0x8c3c5b['position']!==_0x3631d7(0x3dd,-0x28,_0x28e461._0x3dfa80,_0x28e461._0x28d50c))throw createAnchoredFileError(_0x43efb3(0x60c,0x5dd,_0x28e461._0xe19f25,_0x28e461._0x53dd27),'insert\x20position\x20must\x20be\x20\x27before\x27\x20or\x20\x27after\x27.');if(typeof _0x8c3c5b[_0x3631d7(_0x28e461._0x489f0d,_0x28e461._0x606562,-_0x28e461._0x330ddf,0x76)]!==_0x43efb3(0x68f,_0x28e461._0x422467,_0x28e461._0x2cdbf2,_0x28e461._0x3f2738))throw createAnchoredFileError(_0x43efb3(_0x28e461._0x537d0e,0x417,_0x28e461._0x523957,0x536),_0x3631d7(0x277,0x31c,_0x28e461._0x522721,_0x28e461._0x84fe4f));if(_0x8c3c5b['line']>_0x41f070[_0x3631d7(-_0x28e461._0x447be1,_0x28e461._0x4140c5,-_0x28e461._0x4b6f19,_0x28e461._0x1eb0f8)][_0x43efb3(0x960,0x840,_0x28e461._0x12317d,0x80d)])throw createAnchoredFileError(_0x3631d7(_0x28e461._0x52bb78,-0x1b2,_0x28e461._0x23e5c8,_0x28e461._0x4c7bf1),_0x43efb3(_0x28e461._0x95f91,0x56a,0x7ad,0x763)+_0x8c3c5b[_0x3631d7(_0x28e461._0x548de6,0x86,_0x28e461._0x4e9ba0,0x200)]+'\x20is\x20past\x20the\x20end\x20of\x20the\x20'+_0x41f070[_0x43efb3(0x3d7,_0x28e461._0x24da5b,0x5d5,_0x28e461._0xd5379e)]['length']+_0x43efb3(_0x28e461._0x409c03,0x82b,_0x28e461._0x59ae12,0x9bc));const _0x436c85=normalizeContent(_0x8c3c5b['content']),_0x28a9ef=_0x8c3c5b[_0x43efb3(0x721,0x506,0x6de,_0x28e461._0x598f9c)]===_0x43efb3(_0x28e461._0x5d8ed9,_0x28e461._0x880626,0x8a8,0x69e)?_0x8c3c5b[_0x43efb3(_0x28e461._0x116450,_0x28e461._0x4dff25,0x6e0,_0x28e461._0x5e5418)]-0x1:_0x8c3c5b['line'];return{'kind':_0x43efb3(_0x28e461._0x98ca43,0x7ec,_0x28e461._0x2bd1a4,_0x28e461._0x294b70),'canonical':{'operation':_0x3631d7(0x57e,_0x28e461._0x166ed4,0x2ee,_0x28e461._0x1e242e),'position':_0x8c3c5b[_0x3631d7(0x1ea,_0x28e461._0x4c7bf1,_0x28e461._0x4ed5e9,0x1fe)],'line':_0x8c3c5b[_0x3631d7(_0x28e461._0x5a01b0,_0x28e461._0x2bd414,_0x28e461._0x13ea9c,_0x28e461._0x21ab34)],'content':_0x436c85['join']('\x0a')},'spliceIndex':_0x28a9ef,'deleteCount':0x0,'rows':_0x436c85,'gap':_0x28a9ef,'requiredLines':[_0x8c3c5b['line']]};}default:{const _0x4992cb=_0x8c3c5b;throw createAnchoredFileError(_0x43efb3(_0x28e461._0x2dae7f,_0x28e461._0x397cf8,_0x28e461._0x8bce1f,0x450),'Unknown\x20anchored\x20operation\x20\x27'+String(_0x4992cb['operation'])+'\x27.');}}});}function assertNoOverlaps(_0x28519e){const _0x23fbd1={_0x5884ec:0x74d,_0x9c3f01:0x7b1,_0x244848:0x6bf,_0x8be56f:0x7f5,_0x48fdc5:0x68b,_0x3814f9:0x59c,_0x2d074e:0x58e,_0x26afa7:0x4dc,_0x1644ad:0x47c,_0xd354c9:0x329,_0x304e06:0x506,_0x6f9bd3:0x670,_0x30829a:0x5a4,_0x5e54b3:0x5c1,_0x2d1dbc:0xa2,_0x49f662:0x34d,_0x368ae9:0x6c8,_0x1042df:0x8d1,_0x985f99:0x42c,_0x33c934:0x5cf,_0x3ad772:0x3ff,_0x304b92:0x138,_0x1bce72:0x143,_0xe9ad9a:0x335,_0x25cef3:0x694,_0x16b8ed:0x3a,_0x48648e:0x61b,_0x2f397e:0x603,_0x5d14ca:0x1f0,_0x18f131:0x236,_0x304872:0x140,_0x1df49b:0x6b,_0x1b7926:0x2c4,_0x1d3863:0x137,_0x282737:0x105,_0x465586:0x6a8,_0x36532a:0x784,_0x5c4d2a:0x55d},_0x7362c3={_0x57f7db:0xfa,_0x102632:0x5e5},_0x275038=_0x28519e['filter'](_0x24caeb=>_0x24caeb['kind']===_0x13a04b(0xef,-0x9d,0x1a6,0x18e)||_0x24caeb['kind']===_0x2f544d(0x61d,0x7e1,0x43a,0x55b)),_0x5a1e20=_0x28519e['filter'](_0xf3cb07=>_0xf3cb07[_0x13a04b(0x25,-0x13c,-0x5c,0xf6)]===_0x2f544d(0x720,0x664,0x80a,0x7a5));for(let _0x40cce5=0x0;_0x40cce5<_0x275038[_0x2f544d(_0x23fbd1._0x5884ec,_0x23fbd1._0x9c3f01,0x7ea,_0x23fbd1._0x244848)];_0x40cce5+=0x1){for(let _0x4501ce=_0x40cce5+0x1;_0x4501ce<_0x275038[_0x2f544d(0x74d,0x586,_0x23fbd1._0x8be56f,_0x23fbd1._0x48fdc5)];_0x4501ce+=0x1){const _0x467a59=_0x275038[_0x40cce5],_0xb05328=_0x275038[_0x4501ce];if(Math[_0x2f544d(_0x23fbd1._0x3814f9,_0x23fbd1._0x2d074e,0x725,0x375)](_0x467a59[_0x2f544d(0x506,_0x23fbd1._0x26afa7,_0x23fbd1._0x1644ad,_0x23fbd1._0xd354c9)],_0xb05328[_0x2f544d(_0x23fbd1._0x304e06,0x732,0x75b,_0x23fbd1._0x6f9bd3)])<=Math[_0x2f544d(_0x23fbd1._0x30829a,0x5ad,_0x23fbd1._0x5e54b3,0x43d)](_0x467a59[_0x13a04b(0x2e8,_0x23fbd1._0x2d1dbc,0x27a,_0x23fbd1._0x49f662)],_0xb05328[_0x2f544d(0x6a8,_0x23fbd1._0x368ae9,0x777,_0x23fbd1._0x1042df)]))throw createAnchoredFileError(_0x2f544d(_0x23fbd1._0x985f99,_0x23fbd1._0x33c934,0x5f9,_0x23fbd1._0x3ad772),_0x13a04b(_0x23fbd1._0x304b92,0xa0,_0x23fbd1._0x1bce72,_0x23fbd1._0xe9ad9a));}}for(let _0x44f0d9=0x0;_0x44f0d9<_0x5a1e20[_0x2f544d(_0x23fbd1._0x5884ec,0x79e,_0x23fbd1._0x25cef3,0x5b3)];_0x44f0d9+=0x1){for(let _0x419acf=_0x44f0d9+0x1;_0x419acf<_0x5a1e20['length'];_0x419acf+=0x1){if(_0x5a1e20[_0x44f0d9][_0x13a04b(-0xf2,0x309,0x105,-_0x23fbd1._0x16b8ed)]===_0x5a1e20[_0x419acf][_0x2f544d(0x533,_0x23fbd1._0x48648e,_0x23fbd1._0x2f397e,0x59e)])throw createAnchoredFileError(_0x13a04b(-0x69,-0x14d,-0x2,_0x23fbd1._0x5d14ca),_0x13a04b(_0x23fbd1._0x18f131,-_0x23fbd1._0x304872,_0x23fbd1._0x1df49b,0x162));}}function _0x13a04b(_0x38173c,_0x394dad,_0x1bf6a2,_0x4f5909){return _0x39a391(_0x38173c-0x184,_0x394dad-_0x7362c3._0x57f7db,_0x1bf6a2- -_0x7362c3._0x102632,_0x4f5909);}function _0x2f544d(_0x934b54,_0x3d1971,_0x1dacd8,_0x22d5a9){return _0x39a391(_0x934b54-0xb,_0x3d1971-0x1e4,_0x934b54- -0x1b7,_0x22d5a9);}for(const _0x52d4e of _0x5a1e20){for(const _0x2017a3 of _0x275038){if(_0x52d4e['gap']>=_0x2017a3[_0x13a04b(_0x23fbd1._0x1b7926,-0x158,0xd8,0x329)]&&_0x52d4e[_0x13a04b(-0x22,-_0x23fbd1._0x1d3863,_0x23fbd1._0x282737,_0x23fbd1._0x304b92)]<=_0x2017a3[_0x2f544d(_0x23fbd1._0x465586,0x638,_0x23fbd1._0x36532a,0x63d)]-0x1)throw createAnchoredFileError('overlapping_operations',_0x2f544d(_0x23fbd1._0x5c4d2a,0x651,0x31c,0x44e));}}}function assertLinesObserved(_0x44db6c,_0x1021a2){const _0x494568={_0x289255:0x1c2,_0x412354:0x399,_0xbad1ab:0x3c4,_0x4e8cef:0x33e,_0x2a1969:0x1c7,_0x45b0b9:0x134,_0x3938d8:0x5b1,_0x5bbac2:0x35c},_0x4c0d20={_0xdec16b:0x598},_0x36d25c={_0x3ae26b:0xbb};function _0xeeb54e(_0x168b45,_0x94dd85,_0x5c75c8,_0x5293f3){return _0x1957f6(_0x168b45-0x161,_0x94dd85-_0x36d25c._0x3ae26b,_0x5c75c8,_0x5293f3-0xa3);}const _0x31dc94=new Set();for(const _0xf6be2e of _0x44db6c){for(const _0x5ae3b5 of _0xf6be2e['requiredLines']){_0x31dc94[_0xeeb54e(_0x494568._0x289255,0x574,_0x494568._0x412354,_0x494568._0xbad1ab)](_0x5ae3b5);}}const _0x3d32e7=[..._0x31dc94][_0xeeb54e(_0x494568._0x4e8cef,0x1db,_0x494568._0x2a1969,0x1b9)]((_0x875cc8,_0x383358)=>_0x875cc8-_0x383358);for(const _0xa64d5e of _0x3d32e7){if(!_0x1021a2[_0xeeb54e(-0x190,0x246,-0x105,0x5b)](_0xa64d5e))throw createAnchoredFileError('unseen_lines','Line\x20'+_0xa64d5e+_0xeeb54e(_0x494568._0x45b0b9,_0x494568._0x3938d8,0x3fc,_0x494568._0x5bbac2),{'requiredLines':_0x3d32e7});}function _0x2c38be(_0xbb504a,_0x1f2c7c,_0x454ef6,_0x3bb57f){return _0x39a391(_0xbb504a-0xb1,_0x1f2c7c-0x137,_0x454ef6- -_0x4c0d20._0xdec16b,_0xbb504a);}return _0x3d32e7;}function applyOperations(_0x378382,_0x16bb7c){const _0x587dee={_0x858afa:0x3e6,_0x25061b:0x2b5,_0x416a26:0x5a4,_0x1db23c:0x699,_0x578960:0x430,_0x2c0c3f:0x417,_0x5acf2d:0x299,_0x2ce326:0x3a5,_0x271625:0x128,_0x16fb02:0x22a,_0x1a8eeb:0x61,_0x5ba185:0x516,_0x5d5700:0x61f,_0x4cbbc9:0x3b4},_0x1113d7={_0x5b4494:0xea,_0x3a0c46:0x193,_0x3a1773:0x137,_0x5d6b9b:0x91,_0x360375:0x1cf,_0x40acb6:0x1b8,_0x3a6b70:0x16d,_0x50e0af:0x211,_0x26650e:0x51b,_0x36c9ba:0x31b},_0x1af88b={_0x9ff522:0x16,_0x8f2933:0xc,_0x44e9d4:0x2a8};function _0x7f1344(_0x4385f4,_0x54a5cd,_0xb66d72,_0x56ee8d){return _0x1957f6(_0x4385f4-_0x1af88b._0x9ff522,_0x54a5cd-_0x1af88b._0x8f2933,_0x4385f4,_0x56ee8d-_0x1af88b._0x44e9d4);}function _0x549b6a(_0x422e4b,_0x341d64,_0x310ece,_0x1de670){return _0x39a391(_0x422e4b-0x191,_0x341d64-0x140,_0x422e4b- -0x3ee,_0x310ece);}const _0x5dfd1a=[..._0x378382[_0x549b6a(0x1bf,0x30d,-0x7a,_0x587dee._0x858afa)]],_0x15f8b0=[..._0x16bb7c][_0x7f1344(0x360,_0x587dee._0x25061b,0x29a,0x3be)]((_0x467b58,_0x4b7cfe)=>{const _0x499bbe={_0x2ad4a8:0xf7},_0x25dbfd={_0x5b7ac0:0xb5};if(_0x467b58[_0x19705f(0x16a,0x23e,0xea,-0x15e)]!==_0x4b7cfe[_0x19705f(0x2e7,0x273,_0x1113d7._0x5b4494,_0x1113d7._0x3a0c46)])return _0x4b7cfe['spliceIndex']-_0x467b58['spliceIndex'];const _0x5b9c11=_0x467b58[_0x19705f(_0x1113d7._0x3a1773,_0x1113d7._0x5d6b9b,-0x1,-_0x1113d7._0x360375)]==='insert';function _0xe0a56b(_0xd5250a,_0x829335,_0x2e9c74,_0xa2fa97){return _0x549b6a(_0xa2fa97-0x258,_0x829335-_0x25dbfd._0x5b7ac0,_0xd5250a,_0xa2fa97-0xcd);}function _0x19705f(_0x2276a8,_0x16bc76,_0x242032,_0x5657cd){return _0x549b6a(_0x242032- -0x19c,_0x16bc76-0x14b,_0x2276a8,_0x5657cd-_0x499bbe._0x2ad4a8);}const _0x34f194=_0x4b7cfe[_0x19705f(_0x1113d7._0x40acb6,-_0x1113d7._0x3a6b70,-0x1,-_0x1113d7._0x50e0af)]===_0x19705f(0x289,_0x1113d7._0x26650e,0x34d,_0x1113d7._0x36c9ba);if(_0x5b9c11!==_0x34f194)return _0x5b9c11?0x1:-0x1;return 0x0;});for(const _0x30c057 of _0x15f8b0){_0x5dfd1a[_0x7f1344(_0x587dee._0x416a26,_0x587dee._0x1db23c,_0x587dee._0x578960,0x4ea)](_0x30c057[_0x7f1344(0x306,0x356,0x441,_0x587dee._0x2c0c3f)],_0x30c057[_0x7f1344(0x205,_0x587dee._0x5acf2d,0x29e,_0x587dee._0x2ce326)],..._0x30c057[_0x549b6a(_0x587dee._0x271625,_0x587dee._0x16fb02,0x128,-_0x587dee._0x1a8eeb)]);}if(_0x5dfd1a[_0x549b6a(_0x587dee._0x5ba185,_0x587dee._0x5d5700,0x32f,0x385)]===0x0)return'';const _0x59e3aa=_0x5dfd1a[_0x7f1344(0x246,0x5af,0x354,_0x587dee._0x4cbbc9)]('\x0a');return _0x378382['finalNewline']?_0x59e3aa+'\x0a':_0x59e3aa;}function operationRowDelta(_0x34c494){const _0x1910db={_0x4215f5:0xe,_0x3c47e9:0x17b,_0x450f0b:0x1ac},_0x262d00={_0x2fb42c:0x4,_0x51d4bb:0x48},_0xbbb0dc={_0x5d7d30:0x1a4};function _0x474f75(_0x2dea2e,_0x1ead4e,_0x589c80,_0x32654d){return _0x1957f6(_0x2dea2e-0x1b4,_0x1ead4e-_0xbbb0dc._0x5d7d30,_0x2dea2e,_0x589c80- -_0xbbb0dc._0x5d7d30);}function _0x9bf52c(_0x4e97af,_0x40bfc3,_0x2cb836,_0x2c932d){return _0x39a391(_0x4e97af-_0x262d00._0x2fb42c,_0x40bfc3-0x155,_0x2cb836- -_0x262d00._0x51d4bb,_0x40bfc3);}return _0x34c494[_0x474f75(_0x1910db._0x4215f5,-0x19b,-0x193,-0x3c3)]['length']-_0x34c494[_0x474f75(_0x1910db._0x3c47e9,-_0x1910db._0x450f0b,-0xa7,-0x26b)];}function finalFileOrder(_0x51195b){const _0x3ef2ea={_0x39a411:0x238},_0x40bfdc={_0x107761:0x2a,_0x346183:0x11c,_0x4a54e1:0x1c6,_0x561031:0x2a,_0x5563d4:0x24a,_0xca6bc:0x26,_0x36d574:0x27c,_0x2b48ea:0x26a,_0x1c71fb:0x37b,_0x5c3763:0x9a,_0x114d5d:0x1b6,_0x3861e9:0x6cb,_0x7a556a:0x652},_0x501248={_0x1b803c:0x2bb,_0x614af3:0x18e},_0x181347={_0xbaca6a:0x11b,_0x359fed:0x1a8,_0x12efbd:0x122};function _0x2fad88(_0x6dc5b8,_0xe444f4,_0x36a159,_0x4d8347){return _0x1957f6(_0x6dc5b8-_0x181347._0xbaca6a,_0xe444f4-_0x181347._0x359fed,_0x6dc5b8,_0xe444f4-_0x181347._0x12efbd);}return[..._0x51195b][_0x2fad88(0x230,_0x3ef2ea._0x39a411,0xa4,0x401)]((_0x3d04a1,_0x2fe47a)=>{const _0x525134={_0x49f67e:0x27,_0x19922b:0x34};function _0x511cba(_0x5571b7,_0x590d2f,_0xbfc117,_0x3a4973){return _0x2fad88(_0xbfc117,_0x590d2f- -_0x525134._0x49f67e,_0xbfc117-_0x525134._0x19922b,_0x3a4973-0x43);}if(_0x3d04a1[_0x1a6fe9(-_0x40bfdc._0x107761,-_0x40bfdc._0x346183,-_0x40bfdc._0x4a54e1,0x7)]!==_0x2fe47a['spliceIndex'])return _0x3d04a1[_0x1a6fe9(-_0x40bfdc._0x561031,-_0x40bfdc._0x5563d4,-_0x40bfdc._0xca6bc,-_0x40bfdc._0x36d574)]-_0x2fe47a[_0x511cba(0x253,_0x40bfdc._0x2b48ea,0x3c8,_0x40bfdc._0x1c71fb)];const _0xa1b3e6=_0x3d04a1[_0x511cba(-_0x40bfdc._0x5c3763,0x17f,_0x40bfdc._0x114d5d,0x23d)]===_0x511cba(0x2e4,0x4cd,_0x40bfdc._0x3861e9,_0x40bfdc._0x7a556a),_0x438193=_0x2fe47a['kind']==='insert';if(_0xa1b3e6!==_0x438193)return _0xa1b3e6?-0x1:0x1;function _0x1a6fe9(_0x1cdce3,_0x466e24,_0x206227,_0x56bca1){return _0x2fad88(_0x466e24,_0x1cdce3- -_0x501248._0x1b803c,_0x206227-0x179,_0x56bca1-_0x501248._0x614af3);}return 0x0;});}function computeFinalFileNewSideLines(_0x575e6b){const _0x222695={_0x592f8c:0x1d2,_0x4dca8f:0x2fa,_0x2b9c62:0x3b5,_0x49c8c6:0xe9,_0x4e27c3:0x356,_0x28cd9e:0x357,_0x536034:0x28e,_0x137811:0x10d,_0x38ed79:0x322,_0x14fbb6:0x3bc,_0x155c0c:0x249,_0x8357b1:0x2d1,_0x223152:0x4b6,_0xe9cc42:0x48,_0x7e9b91:0x64,_0x3c4505:0x10a,_0x409ef7:0x1ca,_0x44e629:0x212},_0x39fcf0={_0x27fb9b:0x4c4},_0x39cb71={_0x417082:0xd1,_0x239ccb:0x60a},_0x562d4c=new Array(_0x575e6b[_0x2c3f10(_0x222695._0x592f8c,_0x222695._0x4dca8f,_0x222695._0x2b9c62,0x15b)]);let _0x294ff7=0x0;for(const _0x4f3277 of finalFileOrder(_0x575e6b)){const _0x4a06c8=_0x4f3277[_0x2c3f10(-_0x222695._0x49c8c6,-0x81,0x35,0x103)]===_0x1d6c7e(0x413,0x316,_0x222695._0x4e27c3,_0x222695._0x28cd9e)?_0x4f3277[_0x1d6c7e(_0x222695._0x536034,0x55,_0x222695._0x137811,_0x222695._0x38ed79)]['position']===_0x1d6c7e(_0x222695._0x14fbb6,0x2dc,_0x222695._0x155c0c,0x49a)?_0x4f3277[_0x1d6c7e(0x28e,0x1f1,_0x222695._0x8357b1,_0x222695._0x223152)]['line']:_0x4f3277[_0x2c3f10(0x29e,0x148,_0x222695._0xe9cc42,-_0x222695._0x7e9b91)]['line']+0x1:_0x4f3277['sourceStart'],_0x5e3a75=_0x4a06c8+_0x294ff7,_0xf061e9=_0x4f3277[_0x1d6c7e(0xc5,0x252,0x2ca,_0x222695._0x3c4505)]===_0x2c3f10(0x196,_0x222695._0x409ef7,-0x5b,-0x5e)?0x0:_0x4f3277['rows']['length'];_0x562d4c[_0x575e6b[_0x1d6c7e(0x461,0x350,_0x222695._0x44e629,0x59d)](_0x4f3277)]={'newStartLine':_0x5e3a75,'newEndLine':_0x5e3a75+_0xf061e9-0x1},_0x294ff7+=operationRowDelta(_0x4f3277);}function _0x2c3f10(_0x2f4dce,_0x499f2a,_0x7c14d,_0xbb0a61){return _0x39a391(_0x2f4dce-_0x39cb71._0x417082,_0x499f2a-0xf5,_0x499f2a- -_0x39cb71._0x239ccb,_0xbb0a61);}function _0x1d6c7e(_0x24a5fe,_0x37809a,_0x2402e4,_0x5378d8){return _0x39a391(_0x24a5fe-0x177,_0x37809a-0x14a,_0x24a5fe- -_0x39fcf0._0x27fb9b,_0x2402e4);}return _0x562d4c;}function _0x39a391(_0x4373cb,_0x2ff8e0,_0x4d77a8,_0xe22d19){return _0x1b0d(_0x4d77a8-0x33b,_0xe22d19);}function buildBlock(_0x21a0c2,_0x13362e,_0x503a51,_0x3242d9){const _0x5a884e={_0x5bb116:0x63,_0x3ee682:0x7e3,_0xa56760:0x348,_0x535543:0x265,_0x5a228a:0xd9,_0x16776a:0x227,_0x571c6b:0x58a,_0x5e7cb6:0x76e,_0x41d1d9:0x632,_0xeac983:0x3cc,_0x49fe50:0x45f,_0x2c9b2d:0x543,_0xf5de06:0x408,_0x3ea30b:0x43,_0x268ee9:0xf0,_0x46d397:0x685,_0x2ede30:0x731,_0x1df45a:0x1d7,_0x444bec:0x327,_0x5918ac:0x406,_0x852186:0x2e5,_0x37ab7f:0x185,_0xeb44ca:0x3f,_0x3c4c23:0x19f,_0x3d0033:0x243,_0x227ba2:0x29c,_0x589111:0x193,_0x24b863:0x8bb,_0x53fbab:0x101,_0x527606:0x411,_0x58ec66:0x1ce,_0x113ff6:0x422},_0x209142={_0x1ed2df:0x18,_0x32e7dd:0x183,_0x58a3cf:0x74},_0x76ba86={_0xe0a676:0x13a};if(_0x13362e[_0xc1becb(-_0x5a884e._0x5bb116,0x51,0xbf,0x13)]===_0x4b7486(0x94b,0xba5,0x6ef,_0x5a884e._0x3ee682)){const {line:_0x5566d2,position:_0x54310d}=_0x13362e['canonical'],_0x82ac75=_0x54310d===_0xc1becb(0xf9,_0x5a884e._0xa56760,0x14e,_0x5a884e._0x535543)?_0x5566d2:_0x5566d2+0x1;return{'oldText':'','newText':_0x13362e['rows'][_0xc1becb(0x232,_0x5a884e._0x5a228a,0x2fc,_0x5a884e._0x16776a)]('\x0a'),'lineNumbers':{'oldStartLine':_0x82ac75,'oldEndLine':_0x82ac75-0x1,'newStartLine':_0x503a51,'newEndLine':_0x3242d9,'oldLineCount':0x0,'newLineCount':_0x13362e[_0x4b7486(_0x5a884e._0x571c6b,_0x5a884e._0x5e7cb6,0x412,_0x5a884e._0x41d1d9)][_0xc1becb(0x5a2,_0x5a884e._0xeac983,0x25c,0x5e5)]}};}function _0xc1becb(_0x29698c,_0xbb4911,_0x2bdb90,_0x80b79e){return _0x39a391(_0x29698c-0xb4,_0xbb4911-_0x76ba86._0xe0a676,_0xbb4911- -0x538,_0x2bdb90);}const _0x1147ff=_0x21a0c2[_0x4b7486(0x621,_0x5a884e._0x49fe50,_0x5a884e._0x2c9b2d,_0x5a884e._0xf5de06)][_0xc1becb(0x39c,0x389,0x30c,0x461)](_0x13362e[_0xc1becb(-_0x5a884e._0x3ea30b,0x185,0x2c5,_0x5a884e._0x268ee9)]-0x1,_0x13362e['sourceEnd'])[_0x4b7486(_0x5a884e._0x46d397,0x803,0x760,_0x5a884e._0x2ede30)]('\x0a'),_0x5d0529=_0x13362e[_0xc1becb(_0x5a884e._0x1df45a,_0x5a884e._0x444bec,_0x5a884e._0x5918ac,_0x5a884e._0x852186)]-_0x13362e[_0xc1becb(-0x35,_0x5a884e._0x37ab7f,0x8e,_0x5a884e._0xeb44ca)]+0x1;if(_0x13362e[_0xc1becb(-_0x5a884e._0x3c4c23,0x51,_0x5a884e._0x3d0033,0x19c)]===_0xc1becb(0x293,_0x5a884e._0x227ba2,_0x5a884e._0x589111,0x6a))return{'oldText':_0x1147ff,'newText':'','lineNumbers':{'oldStartLine':_0x13362e[_0x4b7486(0x731,_0x5a884e._0x24b863,0x8d8,0x500)],'oldEndLine':_0x13362e['sourceEnd'],'newStartLine':_0x503a51,'newEndLine':_0x503a51-0x1,'oldLineCount':_0x5d0529,'newLineCount':0x0}};function _0x4b7486(_0x6ef0e,_0x532f70,_0x4cb762,_0x62e9fa){return _0x39a391(_0x6ef0e-_0x209142._0x1ed2df,_0x532f70-_0x209142._0x32e7dd,_0x6ef0e-_0x209142._0x58a3cf,_0x4cb762);}return{'oldText':_0x1147ff,'newText':_0x13362e[_0xc1becb(-0xb5,-0x22,-0x229,-_0x5a884e._0x53fbab)]['join']('\x0a'),'lineNumbers':{'oldStartLine':_0x13362e['sourceStart'],'oldEndLine':_0x13362e['sourceEnd'],'newStartLine':_0x503a51,'newEndLine':_0x3242d9,'oldLineCount':_0x5d0529,'newLineCount':_0x13362e['rows'][_0xc1becb(_0x5a884e._0x527606,_0x5a884e._0xeac983,_0x5a884e._0x58ec66,_0x5a884e._0x113ff6)]}};}function stableStringify(_0x5d530d){const _0x3a6e57={_0x21fc41:0x41a,_0x5721a0:0x7f0,_0x560cbf:0x5a3,_0xd59f9f:0x96f,_0x2e4853:0xa4a,_0x4ae08d:0x2af,_0x108f60:0x39a,_0x1c8b57:0x2bc},_0xa1ad86={_0x9afbaa:0x60},_0x115930={_0xe1abb7:0xac,_0x2405b8:0x30,_0x5292ab:0x445};function _0x50df61(_0x5701fb,_0x5bcee4,_0x5c5586,_0x44f9c8){return _0x1957f6(_0x5701fb-_0x115930._0xe1abb7,_0x5bcee4-_0x115930._0x2405b8,_0x5c5586,_0x5bcee4-_0x115930._0x5292ab);}if(Array[_0x1dbe37(_0x3a6e57._0x21fc41,_0x3a6e57._0x5721a0,0x42a,_0x3a6e57._0x560cbf)](_0x5d530d))return'['+_0x5d530d['map'](stableStringify)['join'](',')+']';function _0x1dbe37(_0x35f249,_0x1320c7,_0x33dee7,_0x4aa3fe){return _0x39a391(_0x35f249-_0xa1ad86._0x9afbaa,_0x1320c7-0x143,_0x4aa3fe- -0x286,_0x35f249);}if(_0x5d530d!==null&&typeof _0x5d530d==='object'){const _0xb895b0=_0x5d530d;return'{'+Object[_0x50df61(_0x3a6e57._0xd59f9f,0x816,0x5d7,_0x3a6e57._0x2e4853)](_0xb895b0)['sort']()[_0x1dbe37(0x3f7,0x259,_0x3a6e57._0x4ae08d,_0x3a6e57._0x108f60)](_0x134c5f=>JSON[_0x50df61(0x36e,0x476,0x371,0x328)](_0x134c5f)+':'+stableStringify(_0xb895b0[_0x134c5f]))[_0x1dbe37(0x162,0x1ae,_0x3a6e57._0x1c8b57,0x38b)](',')+'}';}return JSON['stringify'](_0x5d530d);}function prepareCanonicalFileEdit(_0x448990,_0x454dd6,_0x1da9ba){const _0x4b1a8c={_0x1bc5b0:0x34b,_0x2f22ff:0x155,_0x80b63:0x724,_0x22e960:0x70e},_0x546dac={_0x6ba9d:0x64},_0x95c993={_0x1c6e88:0x18d};function _0x4e68ba(_0x5ad83d,_0x303daa,_0x4d98a8,_0x35af0e){return _0x39a391(_0x5ad83d-_0x95c993._0x1c6e88,_0x303daa-0xd9,_0x4d98a8- -0x598,_0x303daa);}const _0x272409=planOperations(_0x448990,_0x1da9ba);function _0x583f07(_0x3f3917,_0x47eeaa,_0xd5397a,_0x21b729){return _0x1957f6(_0x3f3917-_0x546dac._0x6ba9d,_0x47eeaa-0x1d5,_0xd5397a,_0x3f3917-0x4e0);}assertNoOverlaps(_0x272409);const _0x2b624=assertLinesObserved(_0x272409,_0x454dd6),_0x296aae=applyOperations(_0x448990,_0x272409);if(_0x296aae===_0x448990[_0x4e68ba(0x3f1,0x329,_0x4b1a8c._0x1bc5b0,0x159)])throw createAnchoredFileError('no_change',_0x4e68ba(_0x4b1a8c._0x2f22ff,0x6f,0x9f,0xf4));const _0x14c1a2=_0x272409[_0x583f07(0x5fb,_0x4b1a8c._0x80b63,0x690,_0x4b1a8c._0x22e960)](_0x309d7e=>_0x309d7e[_0x583f07(0x72d,0x7ce,0x8a4,0x8df)]),_0xe62bef=computeFinalFileNewSideLines(_0x272409);return{'afterText':_0x296aae,'operations':_0x14c1a2,'blocks':_0x272409['map']((_0x13ccec,_0x46300b)=>{const {newStartLine:_0x3ce997,newEndLine:_0x572c15}=_0xe62bef[_0x46300b];return buildBlock(_0x448990,_0x13ccec,_0x3ce997,_0x572c15);}),'requiredLines':_0x2b624,'payloadDigest':sha256Bytes(stableStringify(_0x14c1a2))};}import _0x1e7ec4 from'string-width';var EMPTY_FILE_MESSAGE='File\x20is\x20empty;\x20anchored\x20edits\x20require\x20an\x20observed\x20line.';function clampLine(_0x1cf683,_0x13f4cd){const _0x508ab1={_0x4f22b9:0x3fc,_0x5a5678:0xb4,_0x1eaaa2:0x2b5,_0x4f3374:0x2c6,_0x1eb099:0x1fe,_0x197037:0x22c},_0x1c12b9={_0x36c8b2:0xd7},_0x178899={_0x51c4fd:0xb8,_0x3d5c4b:0x1d1,_0x55816e:0x5f};if(!Number[_0x4a2ef0(0x597,0x630,0x2db,_0x508ab1._0x4f22b9)](_0x1cf683))return 0x1;function _0x4a2ef0(_0x5deba9,_0x573748,_0x3eb4f7,_0x18d8bc){return _0x1957f6(_0x5deba9-_0x178899._0x51c4fd,_0x573748-_0x178899._0x3d5c4b,_0x3eb4f7,_0x18d8bc-_0x178899._0x55816e);}function _0x40acab(_0x5a33dd,_0x2342f9,_0x726341,_0x174a48){return _0x1957f6(_0x5a33dd-0x181,_0x2342f9-0x1c8,_0x726341,_0x2342f9- -_0x1c12b9._0x36c8b2);}return Math['max'](0x1,Math[_0x4a2ef0(0xe8,_0x508ab1._0x5a5678,0x133,_0x508ab1._0x1eaaa2)](Math[_0x4a2ef0(_0x508ab1._0x4f3374,_0x508ab1._0x1eb099,_0x508ab1._0x197037,0x43b)](_0x1cf683),_0x13f4cd));}function formatAnchoredFileRead(_0x15bcc2){const _0x1e5f84={_0x437225:0x7e,_0x1bb81d:0x58a,_0x2a1bb3:0x5f8,_0x2741aa:0x191,_0x493349:0x479,_0x1b2c28:0x256,_0x22f8ac:0x34e,_0x2e0178:0x167,_0x40301c:0x385,_0x204212:0xa2,_0x18849d:0x1c5,_0x4a2287:0x233,_0x238abd:0x515,_0x2b6d95:0x353,_0x43ebe7:0x2a4,_0x3f7986:0x428,_0x4956cb:0x567,_0x40d552:0x15e,_0x43ab72:0x1fc,_0x1415bf:0x3d6,_0x2e2631:0x3df,_0x3ee541:0x20f,_0x10254c:0x249,_0x2c38e1:0x456,_0xadf88c:0x31c,_0xba3c51:0x53c,_0x26d241:0x3ed,_0x3518c5:0x3d3,_0x5dcbb1:0x469,_0x351d78:0x734,_0x3d90f3:0x556},_0x8de945={_0x5b6488:0x130,_0x2bc875:0xc2},_0x54c7df={_0x5885a5:0x3c8},{displayPath:_0x472d3a,snapshot:_0x5adbb6,maxBytes:_0x575ab4}=_0x15bcc2,_0xda232d=_0x5adbb6[_0x4ade58(0x1cc,-_0x1e5f84._0x437225,0x285,0x3d1)][_0x5653bb(_0x1e5f84._0x1bb81d,0x507,0x53c,_0x1e5f84._0x2a1bb3)];function _0x5653bb(_0x4abd4f,_0x1c76a6,_0x533f34,_0x6321fd){return _0x39a391(_0x4abd4f-0x11c,_0x1c76a6-0xc,_0x533f34- -_0x54c7df._0x5885a5,_0x6321fd);}const _0x1c9e3b='['+_0x472d3a+'#'+_0x5adbb6[_0x5653bb(_0x1e5f84._0x2741aa,0x22b,0x2c6,0xfc)]+']\x0a',_0x487228=Buffer['byteLength'](_0x1c9e3b,_0x4ade58(0x33a,_0x1e5f84._0x493349,0x3f9,0x595));if(_0xda232d===0x0){const _0xd7cd8=''+_0x1c9e3b+EMPTY_FILE_MESSAGE+'\x0a';return{'output':_0xd7cd8,'displayedLines':[],'truncated':![]};}const _0x48f894=clampLine(_0x15bcc2[_0x4ade58(0x2b8,0x39f,_0x1e5f84._0x1b2c28,_0x1e5f84._0x22f8ac)]??0x1,_0xda232d),_0x176c03=clampLine(_0x15bcc2[_0x5653bb(0x175,0x18d,_0x1e5f84._0x2e0178,_0x1e5f84._0x40301c)]??_0xda232d,_0xda232d),_0x3918b2=Math['min'](_0x48f894,_0x176c03),_0x1ba765=Math['max'](_0x48f894,_0x176c03),_0x24cb97=[];function _0x4ade58(_0x473837,_0x20b109,_0x3d54b0,_0x52f52a){return _0x39a391(_0x473837-_0x8de945._0x5b6488,_0x20b109-_0x8de945._0x2bc875,_0x473837- -0x3e1,_0x3d54b0);}const _0x565519=[];let _0x16203c=_0x487228;for(let _0x1bc573=_0x3918b2;_0x1bc573<=_0x1ba765;_0x1bc573+=0x1){const _0x1b39fb=_0x1bc573+':'+_0x5adbb6['lines'][_0x1bc573-0x1]+'\x0a',_0x47f30d=Buffer[_0x5653bb(0x1b5,_0x1e5f84._0x204212,_0x1e5f84._0x18849d,_0x1e5f84._0x4a2287)](_0x1b39fb,_0x5653bb(0x1f5,_0x1e5f84._0x238abd,_0x1e5f84._0x2b6d95,0x39b)),_0x2b1d53=_0x1bc573+0x1,_0x2b437e=Buffer[_0x4ade58(0x1ac,0x3e0,_0x1e5f84._0x43ebe7,-0x20)](_0x4ade58(0x3c6,_0x1e5f84._0x3f7986,_0x1e5f84._0x4956cb,0x25e)+_0x2b1d53+'.\x0a',_0x5653bb(_0x1e5f84._0x40d552,_0x1e5f84._0x43ab72,0x353,_0x1e5f84._0x1415bf));if(_0x16203c+_0x47f30d+_0x2b437e>_0x575ab4){const _0x176504=_0x5653bb(0x451,0x182,_0x1e5f84._0x2e2631,0x315)+_0x1bc573+'.\x0a';return{'output':''+_0x1c9e3b+_0x24cb97[_0x5653bb(_0x1e5f84._0x3ee541,0x107,_0x1e5f84._0x10254c,_0x1e5f84._0x2c38e1)]('')+_0x176504,'displayedLines':_0x565519,'lineStart':_0x3918b2,'lineEnd':_0x565519[_0x565519[_0x5653bb(_0x1e5f84._0xadf88c,0x5e1,_0x1e5f84._0xba3c51,_0x1e5f84._0x26d241)]-0x1],'truncated':!![],'nextLineStart':_0x1bc573};}_0x24cb97[_0x5653bb(0x403,0x357,0x556,_0x1e5f84._0x3518c5)](_0x1b39fb),_0x565519[_0x5653bb(_0x1e5f84._0x5dcbb1,_0x1e5f84._0x351d78,_0x1e5f84._0x3d90f3,0x74b)](_0x1bc573),_0x16203c+=_0x47f30d;}return{'output':''+_0x1c9e3b+_0x24cb97[_0x5653bb(0x483,0x428,_0x1e5f84._0x10254c,0x396)](''),'displayedLines':_0x565519,'lineStart':_0x3918b2,'lineEnd':_0x1ba765,'truncated':![]};}function isWithinDisplayColumns(_0x2cc2a3,_0x6b9045){return _0x1e7ec4(_0x2cc2a3)<=_0x6b9045;}import{randomUUID as _0x44dcc5}from'crypto';import{chmod,rename,rm,writeFile as _0x2ffbb9}from'fs/promises';import*as _0x4a0840 from'path';var defaultFileSystem={'writeFile':_0x2ffbb9,'chmod':chmod,'rename':rename,'rm':rm};async function atomicReplaceFile(_0x25bf0e,_0x5e0770,_0xfe1ef2,_0x15c6ad){const _0x1a4642={_0x3887b4:0x30d,_0x3f7007:0x60d,_0x1a99ba:0x5d9,_0x29563f:0x706,_0x3cb9af:0x75b,_0xdbb742:0x9dc,_0x2097b5:0x544,_0x3ef13b:0x6f7,_0x50ea69:0x81d,_0x1dd299:0x7a7},_0x4069cb={_0x10ca8c:0x16c,_0x413e90:0x18},_0x190b8b={_0x867b24:0x9f,_0xa8d5fc:0x1c1},_0x1a32bf=_0x15c6ad??defaultFileSystem,_0x23c2d6=_0x4a0840[_0x417b4d(_0x1a4642._0x3887b4,_0x1a4642._0x3f7007,_0x1a4642._0x1a99ba,0x48a)](_0x25bf0e),_0x2344d0=_0x4a0840[_0x417b4d(_0x1a4642._0x29563f,0x56a,0x453,0x5dd)](_0x23c2d6,_0x417b4d(_0x1a4642._0x3cb9af,0xa6f,0x9eb,0x82c)+_0x4a0840[_0x417b4d(_0x1a4642._0xdbb742,0x973,0x57c,0x7d5)](_0x25bf0e)+'.'+_0x44dcc5()),_0x12e1ae=_0xfe1ef2&0xfff;function _0x417b4d(_0x121411,_0x2c8852,_0x33d717,_0x2ceb48){return _0x39a391(_0x121411-_0x190b8b._0x867b24,_0x2c8852-_0x190b8b._0xa8d5fc,_0x2ceb48- -0x34,_0x33d717);}function _0x8089d0(_0x52fa90,_0x597939,_0x58a210,_0x1f4380){return _0x39a391(_0x52fa90-_0x4069cb._0x10ca8c,_0x597939-0x11d,_0x1f4380-_0x4069cb._0x413e90,_0x597939);}try{await _0x1a32bf[_0x8089d0(0x612,_0x1a4642._0x2097b5,0x5da,0x57f)](_0x2344d0,_0x5e0770,{'mode':_0x12e1ae}),await _0x1a32bf[_0x8089d0(0x734,0x4c9,0x5b6,_0x1a4642._0x3ef13b)](_0x2344d0,_0x12e1ae),await _0x1a32bf[_0x8089d0(0x890,0x651,_0x1a4642._0x50ea69,_0x1a4642._0x1dd299)](_0x2344d0,_0x25bf0e);}finally{await _0x1a32bf['rm'](_0x2344d0,{'force':!![]});}}var utf8Decoder=new TextDecoder('utf-8',{'fatal':!![],'ignoreBOM':!![]});function exactReplacementGuidance(_0x357e0e,_0x429357){const _0x5cb95a={_0x5d20a4:0x475,_0x5b3bd7:0x37f},_0x4b15bb={_0x3ab992:0x17b};function _0x29087b(_0x56359d,_0xe332f7,_0xb39eee,_0x35540b){return _0x1957f6(_0x56359d-_0x4b15bb._0x3ab992,_0xe332f7-0xfe,_0xb39eee,_0x35540b- -0xd);}throw createAnchoredFileError('unknown_snapshot',_0x429357+'\x20'+_0x357e0e+_0x29087b(_0x5cb95a._0x5d20a4,0x568,0x140,_0x5cb95a._0x5b3bd7),{'path':_0x357e0e});}function createNormalizedFileSnapshot(_0x23c750,_0x31130a,_0x4e21a2){const _0x37ece1={_0x2046cb:0x4c2,_0x1c5336:0x7d3,_0x16ab88:0x7b4,_0xd2e356:0x174,_0x54ced1:0x43f,_0x505891:0x540,_0x5ca008:0x472,_0x21840e:0x6f1,_0x149ac4:0x52b,_0x578099:0x563,_0x476b34:0x2bf,_0x55360e:0x26f,_0x290477:0x4cc,_0x9fd1b3:0x6ff,_0x1ca443:0x8a0,_0x1c49a2:0x7ff,_0x1c4720:0x1f9,_0x5a24e4:0x512,_0x23eb10:0x243,_0x372509:0x404,_0x1fb2cc:0x4cf,_0x2b5cf6:0xa10,_0x101bcc:0x7bf,_0x1b09c5:0x17b,_0x5149ca:0xca,_0x288e10:0x1ad,_0x5554ec:0xf8,_0x1a7eea:0x3b7,_0x3886c9:0xa9},_0x5d989b={_0x1c30b9:0xb4},_0x18d30f={_0x26ea4d:0x60,_0x4e34c3:0x9f};Buffer[_0x44b8aa(_0x37ece1._0x2046cb,0x713,_0x37ece1._0x1c5336,_0x37ece1._0x16ab88)](_0x31130a)['includes'](0x0)&&exactReplacementGuidance(_0x23c750,_0x240589(0x1a8,-0xa5,-0x2eb,_0x37ece1._0xd2e356)+_0x23c750+_0x44b8aa(_0x37ece1._0x54ced1,_0x37ece1._0x505891,0x6de,0x488));let _0x2350c9;try{_0x2350c9=utf8Decoder[_0x44b8aa(0x345,_0x37ece1._0x5ca008,0x580,0x500)](_0x31130a);}catch{exactReplacementGuidance(_0x23c750,'File\x20'+_0x23c750+_0x44b8aa(_0x37ece1._0x21840e,_0x37ece1._0x149ac4,0x2d6,_0x37ece1._0x578099));}const _0x273e77=_0x2350c9[_0x240589(0x504,_0x37ece1._0x476b34,_0x37ece1._0x55360e,_0x37ece1._0x290477)](0x0)===0xfeff;if(_0x273e77)_0x2350c9=_0x2350c9[_0x44b8aa(0x838,0x80d,_0x37ece1._0x9fd1b3,_0x37ece1._0x1ca443)](0x1);function _0x240589(_0x3c4d0b,_0xd55ab8,_0x17b0f0,_0x4525af){return _0x1957f6(_0x3c4d0b-_0x18d30f._0x26ea4d,_0xd55ab8-0x1e4,_0x3c4d0b,_0xd55ab8- -_0x18d30f._0x4e34c3);}const _0x3cbb21=_0x2350c9[_0x44b8aa(0x4d2,0x665,0x678,_0x37ece1._0x1c49a2)]('\x0d\x0a'),_0x120b0a=/(?<!\r)\n/['test'](_0x2350c9);_0x3cbb21&&_0x120b0a&&exactReplacementGuidance(_0x23c750,'File\x20'+_0x23c750+'\x20mixes\x20LF\x20and\x20CRLF\x20line\x20endings.');const _0x45c9a2=_0x3cbb21?'crlf':'lf',_0x55d825=_0x3cbb21?_0x2350c9[_0x240589(0x1e0,0x1e7,0x118,_0x37ece1._0x1c4720)](/\r\n/g,'\x0a'):_0x2350c9,_0x363779=_0x55d825[_0x44b8aa(0x3c4,_0x37ece1._0x5a24e4,0x716,0x3b4)]('\x0a'),_0x5e225f=_0x55d825===''?[]:_0x55d825['split']('\x0a')[_0x240589(_0x37ece1._0x23eb10,0x31d,_0x37ece1._0x372509,_0x37ece1._0x1fb2cc)](0x0,_0x363779?-0x1:void 0x0),_0x371094=sha256Bytes(_0x55d825),_0x5eb4cc=_0x371094[_0x44b8aa(_0x37ece1._0x2b5cf6,0x80d,0x639,_0x37ece1._0x101bcc)](0x0,0xc)[_0x240589(0x111,_0x37ece1._0x1b09c5,0x67,-_0x37ece1._0x5149ca)]();function _0x44b8aa(_0x463e22,_0x3a5c4f,_0x3f7513,_0x30bc09){return _0x39a391(_0x463e22-0x134,_0x3a5c4f-0xf1,_0x3a5c4f- -_0x5d989b._0x1c30b9,_0x30bc09);}return{'canonicalPath':_0x23c750,'text':_0x55d825,'lines':_0x5e225f,'finalNewline':_0x363779,'bom':_0x273e77,'eol':_0x45c9a2,'digest':_0x371094,'tag':_0x5eb4cc,'utf8Bytes':Buffer[_0x240589(-0x18d,-0x17,_0x37ece1._0x288e10,-_0x37ece1._0x5554ec)](_0x55d825,_0x240589(_0x37ece1._0x1a7eea,0x177,_0x37ece1._0x3886c9,0x132)),'recordedAt':_0x4e21a2??Date[_0x240589(0x286,0x35c,0x19d,0x38d)]()};}function serializeNormalizedFile(_0x3a940d,_0x3b64e4){const _0x502a43={_0x490710:0x319,_0x49a32b:0xf3,_0x10d902:0x83,_0x9ee976:0x70,_0x4ae608:0x19d,_0xafb66e:0x20b,_0x3eef33:0x40,_0x207cff:0x1da,_0x53c80c:0xa5,_0x421e0a:0x3ae,_0x1a1e58:0x56b},_0x36d7a9={_0x1bf6a3:0xf},_0x4a58d8={_0x513209:0x3c9};function _0x290c20(_0xa54229,_0x10f6e4,_0x58b024,_0x47bd69){return _0x39a391(_0xa54229-0x115,_0x10f6e4-0x175,_0xa54229- -_0x4a58d8._0x513209,_0x10f6e4);}function _0xa8066f(_0x50f03c,_0x46ddb5,_0x163cd4,_0xff06a){return _0x39a391(_0x50f03c-_0x36d7a9._0x1bf6a3,_0x46ddb5-0x17f,_0x46ddb5- -0x6db,_0xff06a);}const _0x3d6138=_0x3b64e4[_0xa8066f(_0x502a43._0x490710,_0x502a43._0x49a32b,-_0x502a43._0x10d902,_0x502a43._0x9ee976)]==='crlf'?_0x3a940d[_0xa8066f(-_0x502a43._0x4ae608,0xb0,0x1c1,_0x502a43._0xafb66e)](/\n/g,'\x0d\x0a'):_0x3a940d,_0x201cab=Buffer[_0xa8066f(0x2a1,0xec,0x227,0x333)](_0x3d6138,_0xa8066f(-0x1,_0x502a43._0x3eef33,-0x1d3,-0x19f));return _0x3b64e4[_0xa8066f(-_0x502a43._0x207cff,-0x4c,0xcf,-0xf4)]?Buffer[_0x290c20(0x1e9,_0x502a43._0x53c80c,0x406,_0x502a43._0x421e0a)]([Buffer[_0x290c20(0x3fe,_0x502a43._0x1a1e58,0x27d,0x274)]([0xef,0xbb,0xbf]),_0x201cab]):_0x201cab;}var MAX_ANCHORED_OPERATIONS=0x64,MAX_ANCHORED_CONTENT_BYTES=0x100*0x400,textEncoder=new TextEncoder();function utf8Bytes(_0x7522de){const _0x182393={_0x145017:0x904},_0x19851d={_0x2d36d3:0x65};function _0xaa137c(_0x20c97a,_0x12be75,_0x9de822,_0xaf53bc){return _0x39a391(_0x20c97a-0x1e8,_0x12be75-0x1a9,_0x20c97a- -_0x19851d._0x2d36d3,_0xaf53bc);}return textEncoder['encode'](_0x7522de)[_0xaa137c(0x89f,0x9b3,_0x182393._0x145017,0xaa4)];}var TAG_PATTERN=/^[0-9A-F]{12}$/,replaceOperationSchema={'type':'object','properties':{'operation':{'type':_0x39a391(0x650,0x7db,0x705,0x556),'enum':['replace']},'startLine':{'type':_0x1957f6(0x48e,0x10c,0xa1,0x2fb)},'endLine':{'type':_0x39a391(0x65b,0x6ec,0x800,0x5a6)},'content':{'type':'string'}},'required':[_0x1957f6(0xe6,0xbf,0x164,0x258),'startLine',_0x39a391(0x4c2,0x443,0x5da,0x598),'content'],'additionalProperties':![]},deleteOperationSchema={'type':'object','properties':{'operation':{'type':'string','enum':[_0x39a391(0xa24,0x5af,0x7d4,0x7ee)]},'startLine':{'type':_0x39a391(0x769,0x8f9,0x800,0x7a9)},'endLine':{'type':'number'}},'required':[_0x39a391(0x8cd,0x889,0x75d,0x7a8),_0x39a391(0x9e5,0x7e3,0x843,0x96a),_0x39a391(0x656,0x5b6,0x5da,0x381)],'additionalProperties':![]},insertOperationSchema={'type':'object','properties':{'operation':{'type':_0x39a391(0x697,0x8d1,0x705,0x5bb),'enum':[_0x1957f6(0x1e2,0x386,0x3f0,0x3d2)]},'position':{'type':'string','enum':[_0x1957f6(0x262,0x4f9,0x4f5,0x37b),_0x39a391(0x8a0,0x76c,0x683,0x527)]},'line':{'type':_0x1957f6(0x2fc,0xa2,0x156,0x2fb)},'content':{'type':_0x39a391(0x8e8,0x86c,0x705,0x64d)}},'required':['operation',_0x1957f6(0x21a,0x184,0x238,0x1b1),_0x39a391(0x5f9,0x58c,0x6b8,0x5a9),_0x1957f6(-0x5,-0x194,0x206,0x29)],'additionalProperties':![]},structuredFileEditInputSchema={'type':_0x39a391(0x7fa,0x934,0x737,0x6d7),'properties':{'filePath':{'type':_0x1957f6(0xc8,0x260,0x235,0x200)},'tag':{'type':_0x1957f6(0x311,0x6b,0xc2,0x200)},'description':{'type':'string'},'operations':{'type':_0x39a391(0x471,0x58d,0x5a6,0x4b2),'items':{'anyOf':[replaceOperationSchema,deleteOperationSchema,insertOperationSchema]}},'dryRun':{'type':_0x1957f6(0x24e,0x41f,0x60d,0x43f)}},'required':[_0x39a391(0xa88,0x86e,0x8a9,0xa02),_0x39a391(0x8be,0x7c0,0x68e,0x5fe),_0x1957f6(0x681,0x282,0x5ec,0x46a)],'additionalProperties':![]};function requireValidLineNumber(_0x4ebbba,_0x123058){const _0x34ad6c={_0x2920da:0x502,_0x54ab0e:0x2be,_0x3cedc0:0x4ad,_0x322e9c:0x3ba,_0x2b91cb:0x3dd,_0x4af711:0x776},_0x4a372d={_0x570489:0x74},_0xb326a1={_0x29a74e:0x302};function _0x284dba(_0x3c2261,_0x2f4b58,_0x413fb6,_0x1e084d){return _0x39a391(_0x3c2261-0x118,_0x2f4b58-0xfd,_0x3c2261- -_0xb326a1._0x29a74e,_0x1e084d);}function _0x338020(_0x4add0c,_0x2d77ff,_0x2b2c7b,_0x281828){return _0x39a391(_0x4add0c-0x153,_0x2d77ff-_0x4a372d._0x570489,_0x4add0c- -0xe9,_0x2b2c7b);}if(!Number[_0x284dba(_0x34ad6c._0x2920da,_0x34ad6c._0x54ab0e,0x32a,0x5a4)](_0x4ebbba)||_0x4ebbba<0x1)throw createAnchoredFileError(_0x284dba(_0x34ad6c._0x3cedc0,_0x34ad6c._0x322e9c,0x675,_0x34ad6c._0x2b91cb),_0x123058+_0x338020(0x647,0x64a,_0x34ad6c._0x4af711,0x42d)+String(_0x4ebbba)+'.');}function parseStructuredFileEditInput(_0x2cc33b){const _0x9aa8cf={_0x27c485:0x469,_0x45c1c6:0x769,_0x13c2bb:0x585,_0x1396ee:0x677,_0x3a7174:0x2a4,_0x19a1ec:0x57b,_0x57e555:0x419,_0x107600:0x440,_0x28eafa:0x6ec,_0x16bba4:0x5fd,_0x3c74ee:0xa1,_0x43ef50:0xa5,_0x2829c1:0x4fe,_0x36157a:0x25c,_0x33b37f:0x36d,_0x5f0268:0x3e9,_0x697d4:0x32d,_0x45295b:0x505,_0x28cd65:0xca,_0x4c81d3:0x2c4,_0xef36e7:0x60,_0x5ca816:0x1a3,_0x465116:0x2a0,_0x503d6c:0x3fa,_0x32e507:0x8d1,_0xa04d3b:0x31e,_0x2be4ed:0x1be,_0x442270:0x3e0,_0x3e57f1:0x1c8,_0x55e4e2:0x38e,_0x17afa4:0x5b9,_0x5955d3:0x484,_0x4ba247:0x6a0,_0x4978cd:0x688,_0x4d4b4e:0x3c1,_0x561aa5:0x5ab,_0x4f558e:0x2ed,_0x4fad75:0x309,_0x205592:0x6b4,_0x35fa0e:0x47f,_0x409c25:0x691,_0x1715e6:0x3cc,_0x4cc914:0x2b1,_0x241bc7:0x22a,_0x42209e:0x428,_0x1c19d9:0x8ca,_0x3d553b:0x131,_0x4da545:0x1f4,_0xfb4901:0x7ba,_0x16439f:0x549,_0x541356:0x33e,_0x1b1678:0x1fc,_0x59ce3c:0x748,_0x5ff15c:0x5fe,_0x19c2ab:0x5c1,_0x1772b1:0x4f2,_0x5c73a7:0x7c5,_0x198013:0x6b4,_0x14d918:0x76c,_0x2917c3:0x4ff,_0x4e3090:0x6eb,_0x239b88:0x61b,_0x496cc5:0x4f5,_0xa28864:0x358,_0x4ee8b0:0x1a2,_0x4e07de:0x55,_0x46fe98:0x198,_0x4e3682:0x428,_0x592eb5:0x7d8,_0x1ca1f8:0x88b,_0x4903fe:0x4b6,_0x558b00:0x710,_0x522d42:0x435,_0x285bac:0x4a5,_0x2218ad:0x691,_0x58e972:0x4cd,_0x4145fd:0x4e5,_0x1ef0a5:0x2c0,_0x4b90d3:0x583,_0x5e4926:0x376,_0x15e7f3:0x50b,_0x3fc8f1:0x2e9,_0x27e66a:0x1cd,_0x3e7f47:0x67,_0x312ccf:0x4a4,_0x31e319:0x499,_0x501300:0x41d,_0x3eb778:0x4f2,_0x130c0d:0x401,_0x4b8ff0:0x3ec,_0x49d5f2:0x2cb,_0x161479:0x645,_0x45882e:0x531,_0x420706:0x1cd,_0x2dbe8b:0x37c,_0x282d36:0x885,_0x31fb71:0x7e5,_0x5ce2bb:0x7},_0x45435f={_0x4971e2:0x71},_0x3432d8={_0x382b7c:0x1c4,_0x3e3ada:0xae},_0x2aa591=_0x2cc33b;if(_0x2aa591!==null&&typeof _0x2aa591===_0x4f370b(_0x9aa8cf._0x27c485,0x5ec,_0x9aa8cf._0x45c1c6,_0x9aa8cf._0x13c2bb)&&!Array[_0x4f370b(0x512,0x696,0x830,0x677)](_0x2aa591)&&Array[_0x4f370b(0x63b,0x831,0x824,_0x9aa8cf._0x1396ee)](_0x2aa591['operations'])&&_0x2aa591['operations'][_0x3775ba(_0x9aa8cf._0x3a7174,0x659,_0x9aa8cf._0x19a1ec,_0x9aa8cf._0x57e555)]>MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError(_0x4f370b(0x839,_0x9aa8cf._0x107600,_0x9aa8cf._0x28eafa,_0x9aa8cf._0x16bba4),_0x3775ba(-0xf,_0x9aa8cf._0x3c74ee,-_0x9aa8cf._0x43ef50,0xa7)+MAX_ANCHORED_OPERATIONS+'\x20anchored\x20operations\x20are\x20allowed\x20per\x20edit.');let _0x2eef3f;try{_0x2eef3f=validateToolInput(_0x2cc33b,structuredFileEditInputSchema);}catch(_0x5c9207){const _0x35fd91=_0x5c9207 instanceof Error?_0x5c9207['message']:String(_0x5c9207);throw createAnchoredFileError(_0x4f370b(_0x9aa8cf._0x2829c1,0x4dc,0x5b0,0x5fd),_0x3775ba(0x39a,_0x9aa8cf._0x36157a,-0x4e,0x18a)+_0x35fd91);}if(!TAG_PATTERN[_0x4f370b(_0x9aa8cf._0x33b37f,0x2bc,_0x9aa8cf._0x5f0268,_0x9aa8cf._0x697d4)](_0x2eef3f[_0x4f370b(0x656,0x4fb,0x345,0x4dc)]))throw createAnchoredFileError(_0x3775ba(_0x9aa8cf._0x45295b,_0x9aa8cf._0x28cd65,0x86,_0x9aa8cf._0x4c81d3),_0x3775ba(0x5e,0x7f,-0x124,_0x9aa8cf._0xef36e7)+_0x2eef3f[_0x3775ba(-0x6e,-0x96,0x32c,_0x9aa8cf._0x5ca816)]+'\x27.');if(_0x2eef3f['operations'][_0x4f370b(0x90d,0x91a,0x6f6,0x752)]===0x0)throw createAnchoredFileError(_0x3775ba(0x30c,0xce,_0x9aa8cf._0x465116,_0x9aa8cf._0x4c81d3),_0x3775ba(_0x9aa8cf._0x503d6c,0xbb,0x4be,0x263));function _0x3775ba(_0x18828d,_0xf158d8,_0x43a699,_0x27dbd3){return _0x39a391(_0x18828d-_0x3432d8._0x382b7c,_0xf158d8-_0x3432d8._0x3e3ada,_0x27dbd3- -0x4eb,_0x43a699);}function _0x4f370b(_0x460c14,_0x2ecaca,_0x26f9e7,_0x58ef71){return _0x39a391(_0x460c14-_0x45435f._0x4971e2,_0x2ecaca-0x123,_0x58ef71- -0x1b2,_0x460c14);}if(_0x2eef3f['operations'][_0x4f370b(0x936,0x7c3,_0x9aa8cf._0x32e507,0x752)]>MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError(_0x4f370b(0x5eb,0x570,0x715,_0x9aa8cf._0x16bba4),_0x4f370b(_0x9aa8cf._0xa04d3b,0x3e3,_0x9aa8cf._0x2be4ed,_0x9aa8cf._0x442270)+MAX_ANCHORED_OPERATIONS+_0x3775ba(_0x9aa8cf._0x3e57f1,0x478,_0x9aa8cf._0x55e4e2,0x243));let _0x6af65f=0x0;const _0x53f307=[];for(const _0x44ea1c of _0x2eef3f[_0x3775ba(0x4de,0x634,_0x9aa8cf._0x17afa4,_0x9aa8cf._0x5955d3)]){switch(_0x44ea1c[_0x4f370b(_0x9aa8cf._0x4ba247,_0x9aa8cf._0x4978cd,_0x9aa8cf._0x4d4b4e,_0x9aa8cf._0x561aa5)]){case _0x3775ba(_0x9aa8cf._0x4f558e,0x35c,_0x9aa8cf._0x4fad75,_0x9aa8cf._0x465116):{requireValidLineNumber(_0x44ea1c[_0x4f370b(0x54f,_0x9aa8cf._0x205592,_0x9aa8cf._0x35fa0e,_0x9aa8cf._0x409c25)],_0x3775ba(0x242,_0x9aa8cf._0x1715e6,0xfe,_0x9aa8cf._0x4cc914)),requireValidLineNumber(_0x44ea1c[_0x4f370b(0x358,0x667,_0x9aa8cf._0x241bc7,_0x9aa8cf._0x42209e)],'replace.endLine');if(_0x44ea1c[_0x4f370b(0x846,0x8c6,_0x9aa8cf._0x1c19d9,0x691)]>_0x44ea1c[_0x3775ba(_0x9aa8cf._0x3d553b,0x32f,_0x9aa8cf._0x4da545,0xef)])throw createAnchoredFileError(_0x4f370b(0x6dd,_0x9aa8cf._0xfb4901,_0x9aa8cf._0x16439f,0x5fd),_0x4f370b(0x752,0x860,0x63a,0x72a));_0x6af65f+=utf8Bytes(_0x44ea1c['content']);if(_0x6af65f>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError(_0x3775ba(0x267,_0x9aa8cf._0x541356,_0x9aa8cf._0x1b1678,0x2c4),_0x4f370b(_0x9aa8cf._0x59ce3c,_0x9aa8cf._0x5ff15c,_0x9aa8cf._0x19c2ab,_0x9aa8cf._0x1772b1)+MAX_ANCHORED_CONTENT_BYTES+'\x20bytes.');_0x53f307[_0x4f370b(_0x9aa8cf._0x5c73a7,0x6ea,_0x9aa8cf._0x198013,_0x9aa8cf._0x14d918)]({'operation':_0x4f370b(_0x9aa8cf._0x2917c3,_0x9aa8cf._0x4e3090,_0x9aa8cf._0x239b88,0x5d9),'startLine':_0x44ea1c[_0x3775ba(0x4f4,_0x9aa8cf._0x496cc5,0x12e,_0x9aa8cf._0xa28864)],'endLine':_0x44ea1c[_0x4f370b(0x460,0x281,0x509,0x428)],'content':_0x44ea1c[_0x3775ba(-0x3d,-_0x9aa8cf._0x4ee8b0,-_0x9aa8cf._0x4e07de,0x43)]});break;}case'delete':{requireValidLineNumber(_0x44ea1c[_0x3775ba(_0x9aa8cf._0x46fe98,0x3f3,_0x9aa8cf._0x4e3682,_0x9aa8cf._0xa28864)],_0x4f370b(_0x9aa8cf._0x592eb5,_0x9aa8cf._0x1ca1f8,_0x9aa8cf._0x4903fe,_0x9aa8cf._0x558b00)),requireValidLineNumber(_0x44ea1c['endLine'],'delete.endLine');if(_0x44ea1c[_0x4f370b(_0x9aa8cf._0x522d42,0x8c4,_0x9aa8cf._0x285bac,_0x9aa8cf._0x2218ad)]>_0x44ea1c['endLine'])throw createAnchoredFileError(_0x4f370b(_0x9aa8cf._0x58e972,_0x9aa8cf._0x4145fd,_0x9aa8cf._0x4903fe,0x5fd),_0x3775ba(_0x9aa8cf._0x1ef0a5,_0x9aa8cf._0x4b90d3,_0x9aa8cf._0x5e4926,0x483));_0x53f307['push']({'operation':_0x3775ba(0x2a8,0x2e6,_0x9aa8cf._0x15e7f3,_0x9aa8cf._0x3fc8f1),'startLine':_0x44ea1c['startLine'],'endLine':_0x44ea1c['endLine']});break;}case'insert':{requireValidLineNumber(_0x44ea1c[_0x3775ba(0x359,-0x8,0x344,_0x9aa8cf._0x27e66a)],_0x3775ba(0x2e9,_0x9aa8cf._0x3e7f47,0x495,0x28e)),_0x6af65f+=utf8Bytes(_0x44ea1c[_0x4f370b(0x53e,_0x9aa8cf._0x312ccf,0x302,0x37c)]);if(_0x6af65f>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError(_0x3775ba(0x1fc,0xe7,0x3c2,0x2c4),_0x4f370b(_0x9aa8cf._0x31e319,_0x9aa8cf._0x501300,0x683,_0x9aa8cf._0x3eb778)+MAX_ANCHORED_CONTENT_BYTES+'\x20bytes.');_0x53f307['push']({'operation':_0x3775ba(0x4a4,0x4d6,_0x9aa8cf._0x130c0d,_0x9aa8cf._0x4b8ff0),'position':_0x44ea1c[_0x4f370b(_0x9aa8cf._0x49d5f2,_0x9aa8cf._0x161479,_0x9aa8cf._0x45882e,0x504)],'line':_0x44ea1c[_0x3775ba(0x327,0x231,0x289,_0x9aa8cf._0x420706)],'content':_0x44ea1c[_0x4f370b(0x140,0x400,0x37e,_0x9aa8cf._0x2dbe8b)]});break;}}}return{'filePath':_0x2eef3f[_0x4f370b(_0x9aa8cf._0x282d36,_0x9aa8cf._0x1ca1f8,_0x9aa8cf._0x31fb71,0x6f7)],'tag':_0x2eef3f['tag'],'operations':_0x53f307,'dryRun':_0x2eef3f['dryRun']??![],..._0x2eef3f['description']!==void 0x0?{'description':_0x2eef3f[_0x3775ba(-0x133,0x1eb,-_0x9aa8cf._0x5ce2bb,0x65)]}:{}};}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(_0x4c626e){const _0x54e5d1={_0x5d36b0:0x23f,_0x2b08dd:0x305,_0x576eca:0xdc},_0x1adec6={_0x43a0f3:0x1cb,_0xfadc16:0xf7,_0x34f059:0x297},_0x531c80={_0x1aa4b0:0x13d,_0x439cf9:0x146,_0x2ced1b:0x1c0};function _0x2ea295(_0xb9d453,_0x1143fa,_0x4546ab,_0x575a92){return _0x1957f6(_0xb9d453-_0x531c80._0x1aa4b0,_0x1143fa-_0x531c80._0x439cf9,_0x575a92,_0xb9d453- -_0x531c80._0x2ced1b);}function _0x5f5cc5(_0x176471,_0x4faacd,_0x3a4400,_0x524c42){return _0x1957f6(_0x176471-_0x1adec6._0x43a0f3,_0x4faacd-_0x1adec6._0xfadc16,_0x4faacd,_0x176471-_0x1adec6._0x34f059);}return textEncoder2[_0x5f5cc5(0x37d,0x171,0x393,0x1d3)](_0x4c626e)[_0x2ea295(_0x54e5d1._0x5d36b0,_0x54e5d1._0x2b08dd,_0x54e5d1._0x576eca,0xc2)];}function preview(_0x302ab3){const _0x457c1a={_0x5e8060:0x70c,_0x3ac421:0x610,_0x318225:0x4a4,_0x1e170c:0x71a,_0x4f50e9:0x5ab,_0x3e509d:0x4a4},_0x2d1398={_0x245632:0xfd,_0xa7eaac:0x1f8},_0x2ddee0={_0x1f76e6:0x9c,_0x70772f:0x5ac};function _0x8cd826(_0xe34234,_0x3e008c,_0x341d65,_0x25cacf){return _0x1957f6(_0xe34234-0x170,_0x3e008c-_0x2ddee0._0x1f76e6,_0xe34234,_0x341d65-_0x2ddee0._0x70772f);}function _0x58fd32(_0x4a5f38,_0x145cd6,_0x263169,_0x342b65){return _0x39a391(_0x4a5f38-_0x2d1398._0x245632,_0x145cd6-0x157,_0x342b65- -_0x2d1398._0xa7eaac,_0x4a5f38);}return _0x302ab3[_0x58fd32(0x4e0,0x4ea,0x8d9,_0x457c1a._0x5e8060)]>0x3c?_0x302ab3[_0x58fd32(_0x457c1a._0x3ac421,_0x457c1a._0x318225,_0x457c1a._0x1e170c,0x6c9)](0x0,0x3c)+_0x58fd32(_0x457c1a._0x4f50e9,_0x457c1a._0x3e509d,0x284,0x372):_0x302ab3;}var hashlineFileEditInputSchema={'type':_0x1957f6(0x375,0x29c,0x44b,0x232),'properties':{'patch':{'type':'string'},'description':{'type':_0x1957f6(-0x4c,0x75,0x2d4,0x200)},'dryRun':{'type':'boolean'}},'required':[_0x1957f6(0x3ad,0x383,0x431,0x32e)],'additionalProperties':![]};function requireLineNumber(_0x253d88,_0x70023){const _0x5eaeb6={_0xd4d59:0x312,_0x3edf80:0x25e,_0x1120d4:0x193,_0x221466:0x219,_0x1bebc3:0xd7,_0x3d6e9d:0xd3,_0x2903fb:0x4a,_0x278f4d:0x18a,_0x9c7310:0x3a4};if(_0x253d88[_0x48d0a8(0x257,0x1c5,0x22c,_0x5eaeb6._0xd4d59)]>0x10)throw createAnchoredFileError('invalid_patch',_0x70023+'\x20exceeds\x20the\x20safe-integer\x20range.');const _0x5b0670=Number(_0x253d88);function _0x195bc7(_0x206c68,_0x4a318a,_0x5b3f97,_0xa91510){return _0x39a391(_0x206c68-0x94,_0x4a318a-0x160,_0x4a318a- -0x5a6,_0x206c68);}if(!Number[_0x195bc7(0xec,_0x5eaeb6._0x3edf80,_0x5eaeb6._0x1120d4,0xcb)](_0x5b0670)||_0x5b0670<0x1)throw createAnchoredFileError(_0x48d0a8(_0x5eaeb6._0x221466,-0x60,_0x5eaeb6._0x1bebc3,-_0x5eaeb6._0x3d6e9d),_0x70023+_0x195bc7(-_0x5eaeb6._0x2903fb,_0x5eaeb6._0x278f4d,0xcd,_0x5eaeb6._0x9c7310)+_0x253d88+'.');function _0x48d0a8(_0x57db00,_0x5c0e6a,_0x165ace,_0xa02148){return _0x1957f6(_0x57db00-0x11e,_0x5c0e6a-0x135,_0xa02148,_0x165ace- -0x1d3);}return _0x5b0670;}function parseHashlineFileEditInput(_0x568f9f){const _0x5eeb64={_0x2a7b2f:0x1de,_0x275557:0x400,_0x4997de:0x418,_0x422ac:0x514,_0xf99bcc:0x38,_0x5eda29:0x1c9,_0x6706f5:0x10b,_0x5410e4:0x106,_0x4a8ae7:0x6bc,_0x46f79a:0x547,_0xf239c:0x51e,_0x29cb63:0x4c5,_0x59066e:0x464,_0x5d94db:0x332,_0x2b7d3a:0x35b,_0x5ab1aa:0x1bc,_0x635c7e:0xf2,_0x1d514c:0x239,_0x4941d5:0x34,_0x3388c2:0x68,_0x587b00:0x19,_0x41f884:0xc6,_0x38419a:0x32e,_0x574b71:0x220,_0x4d47ce:0x10b,_0x42095a:0x206,_0x536c9d:0x2f,_0x5d6ea2:0xe7,_0x16c418:0x28a,_0x2523f4:0x101,_0x20b865:0x189,_0x2d8d4d:0x130,_0x4b9f9b:0x430,_0x297cde:0x14,_0x20cd94:0x3e1,_0x3a0ddc:0x12d,_0x3e77c6:0x1b4,_0x100777:0x50,_0x1c50e7:0x198,_0x50ceec:0x196,_0x2dea82:0x178,_0x254e22:0x61,_0x55a90f:0x61c,_0x20b4e7:0x2ca,_0x2f71ce:0x359,_0x93b79e:0x4ae,_0x3eb91b:0x9e,_0x4ccdfe:0x1e4,_0x32e8ab:0x221,_0x3213fa:0x40,_0x83fcad:0x17d,_0x48d072:0x260,_0x3cbddd:0x21f,_0x26c2dc:0x14c,_0x577b4a:0xc1},_0x53fb04={_0x5c403a:0x7a8,_0x1e6480:0x13f,_0x1e021a:0x115,_0x165c96:0x516,_0x37c542:0x521,_0x18681f:0x204,_0x4a4974:0x1e9,_0x42ce19:0x690,_0x2e8ae8:0x5b7},_0x2af7e9={_0x2c69c5:0x34,_0x13f795:0x301},_0x5acd5={_0x4a177c:0x867,_0xe585ce:0x85d,_0xdee0f3:0x5c1,_0x1363d1:0x59f,_0x14c620:0x63b,_0x125c54:0x85a,_0x4dd715:0x891,_0x381932:0x958},_0x54603a={_0x56afe9:0x155},_0x2f5128={_0x2616dc:0xd3,_0x4d2087:0x9b};let _0x54ceed;try{_0x54ceed=validateToolInput(_0x568f9f,hashlineFileEditInputSchema);}catch(_0x47772b){const _0x242ecd=_0x47772b instanceof Error?_0x47772b[_0x3ea8f9(0x283,0x1eb,0xda,0x2c3)]:String(_0x47772b);throw createAnchoredFileError(_0x4f7408(0x697,0x4ae,0x550,0x299),'Invalid\x20Hashline\x20FileEdit\x20input:\x20'+_0x242ecd);}const {patch:_0x21b65a}=_0x54ceed;if(utf8Bytes2(_0x21b65a)>MAX_ANCHORED_CONTENT_BYTES)throw createAnchoredFileError(_0x4f7408(0x3d5,0x4ae,0x27d,0x656),'Hashline\x20patch\x20text\x20must\x20be\x20at\x20most\x20'+MAX_ANCHORED_CONTENT_BYTES+_0x4f7408(_0x5eeb64._0x2a7b2f,0x2e3,0x145,_0x5eeb64._0x275557));if(_0x21b65a[_0x4f7408(0x52f,_0x5eeb64._0x4997de,0x536,_0x5eeb64._0x422ac)]('\x0d'))throw createAnchoredFileError(_0x3ea8f9(_0x5eeb64._0xf99bcc,_0x5eeb64._0x5eda29,0x78,_0x5eeb64._0x6706f5),_0x4f7408(0x614,0x4d5,0x6b3,0x322));const _0x3c496e=_0x21b65a[_0x3ea8f9(-_0x5eeb64._0x5410e4,0x19,0x171,0x5b)]('\x0a');function _0x3ea8f9(_0x5db657,_0x2e795b,_0x22df69,_0x18e58d){return _0x1957f6(_0x5db657-_0x2f5128._0x2616dc,_0x2e795b-_0x2f5128._0x4d2087,_0x2e795b,_0x18e58d- -0x19f);}const _0x1c080b=[],_0x5778c7=_0x269838=>{const _0x4e3e9b={_0xa1b137:0x110};function _0x1984d0(_0xe6c749,_0x4b326d,_0x5ec586,_0xbcd274){return _0x4f7408(_0xe6c749-0x1c5,_0xbcd274-0x33b,_0x5ec586-_0x54603a._0x56afe9,_0x4b326d);}function _0x3360db(_0x5c0f82,_0x54f1bc,_0x3bf372,_0x38434e){return _0x3ea8f9(_0x5c0f82-0xb8,_0x54f1bc,_0x3bf372-_0x4e3e9b._0xa1b137,_0x38434e-0x550);}if(_0x1c080b[_0x1984d0(_0x5acd5._0x4a177c,0x9c2,0x86e,0x93e)]>=MAX_ANCHORED_OPERATIONS)throw createAnchoredFileError(_0x1984d0(_0x5acd5._0xe585ce,_0x5acd5._0xdee0f3,_0x5acd5._0x1363d1,0x7e9),_0x3360db(0x5ba,_0x5acd5._0x14c620,0x675,0x43e)+MAX_ANCHORED_OPERATIONS+'\x20operations\x20are\x20allowed\x20per\x20patch.');_0x1c080b[_0x1984d0(_0x5acd5._0x125c54,0xa2d,_0x5acd5._0x4dd715,_0x5acd5._0x381932)](_0x269838);};let _0x4e6478,_0x162aa1,_0x53e7ab=![],_0x3710c4=![],_0x5224ff,_0xc73875,_0x41f223=0x0,_0x4bfb06=0x0;function _0x4f7408(_0x2727b8,_0x3a2e1f,_0x30536a,_0x2edd3d){return _0x39a391(_0x2727b8-0x16e,_0x3a2e1f-_0x2af7e9._0x2c69c5,_0x3a2e1f- -_0x2af7e9._0x13f795,_0x2edd3d);}let _0x57e4fb=[];const _0x5951c5=()=>{const _0xcb03e6={_0xaff585:0x13e,_0x5a852e:0x206,_0x5db8de:0x84};if(!_0x3710c4)return;function _0x47a274(_0x1bf518,_0xc7f017,_0x2bebe5,_0x3e45ea){return _0x4f7408(_0x1bf518-_0xcb03e6._0xaff585,_0x1bf518-_0xcb03e6._0x5a852e,_0x2bebe5-_0xcb03e6._0x5db8de,_0x3e45ea);}if(_0x57e4fb[_0x47a274(0x809,0x8ed,_0x53fb04._0x5c403a,0xa2f)]===0x0)throw createAnchoredFileError(_0xbd45cc(_0x53fb04._0x1e6480,0x28f,-0xb,-0x3),_0xbd45cc(-0x64,0x1d0,_0x53fb04._0x1e021a,-0x1af));function _0xbd45cc(_0x1667fc,_0xe119ae,_0x4c3a25,_0x16dfad){return _0x4f7408(_0x1667fc-0x1c6,_0x1667fc- -0x36f,_0x4c3a25-0xfa,_0xe119ae);}const _0x4c0d05=_0x57e4fb[_0x47a274(_0x53fb04._0x165c96,_0x53fb04._0x37c542,0x2ff,0x454)]('\x0a');_0x5224ff===_0xbd45cc(0x11b,_0x53fb04._0x18681f,0x30f,_0x53fb04._0x4a4974)?_0x5778c7({'operation':_0x47a274(_0x53fb04._0x42ce19,_0x53fb04._0x2e8ae8,0x792,0x44f),'startLine':_0x41f223,'endLine':_0x4bfb06,'content':_0x4c0d05}):_0x5778c7({'operation':'insert','position':_0xc73875,'line':_0x41f223,'content':_0x4c0d05}),_0x3710c4=![],_0x57e4fb=[];};for(const _0x2e2530 of _0x3c496e){if(_0x2e2530[_0x4f7408(_0x5eeb64._0x4a8ae7,0x603,0x617,_0x5eeb64._0x46f79a)]===0x0)continue;if(_0x3710c4&&_0x2e2530[_0x4f7408(0x700,_0x5eeb64._0xf239c,0x691,_0x5eeb64._0x29cb63)]('+')){_0x57e4fb['push'](_0x2e2530[_0x3ea8f9(0x9b,_0x5eeb64._0x59066e,_0x5eeb64._0x5d94db,0x21d)](0x1));continue;}_0x5951c5();if(!_0x53e7ab){const _0x53115a=HEADER['exec'](_0x2e2530);if(_0x53115a===null)throw createAnchoredFileError('invalid_patch','Patch\x20must\x20begin\x20with\x20a\x20[PATH#TAG]\x20header.');_0x4e6478=_0x53115a[0x1],_0x162aa1=_0x53115a[0x2],_0x53e7ab=!![];continue;}const _0xa1f290=REPLACE[_0x4f7408(0x10b,_0x5eeb64._0x2b7d3a,_0x5eeb64._0x5ab1aa,0x52e)](_0x2e2530);if(_0xa1f290!==null){const _0x41d476=requireLineNumber(_0xa1f290[0x1],_0x3ea8f9(0x125,-_0x5eeb64._0x635c7e,-_0x5eeb64._0x1d514c,-_0x5eeb64._0x4941d5)),_0x1a179f=requireLineNumber(_0xa1f290[0x2],_0x3ea8f9(0x152,-_0x5eeb64._0x3388c2,0x235,-_0x5eeb64._0x587b00));if(_0x41d476>_0x1a179f)throw createAnchoredFileError(_0x3ea8f9(-_0x5eeb64._0x41f884,_0x5eeb64._0x38419a,_0x5eeb64._0x574b71,_0x5eeb64._0x4d47ce),_0x3ea8f9(0x1cf,0x2b6,0x17b,0x238));_0x3710c4=!![],_0x5224ff=_0x3ea8f9(0x268,_0x5eeb64._0x42095a,_0x5eeb64._0x536c9d,_0x5eeb64._0x5d6ea2),_0x41f223=_0x41d476,_0x4bfb06=_0x1a179f,_0x57e4fb=[];continue;}const _0x426ce3=INSERT[_0x3ea8f9(-0x22c,-_0x5eeb64._0x16c418,-_0x5eeb64._0x2523f4,-0x48)](_0x2e2530);if(_0x426ce3!==null){const _0x48a5c4=requireLineNumber(_0x426ce3[0x2],_0x3ea8f9(-_0x5eeb64._0x20b865,-0x3,_0x5eeb64._0x2d8d4d,-0x29));_0x3710c4=!![],_0x5224ff=_0x3ea8f9(_0x5eeb64._0x4b9f9b,-_0x5eeb64._0x297cde,_0x5eeb64._0x2523f4,0x233),_0xc73875=_0x426ce3[0x1]==='<'?_0x4f7408(0x666,0x57f,_0x5eeb64._0x20cd94,0x66b):'after',_0x41f223=_0x48a5c4,_0x57e4fb=[];continue;}const _0x172216=DELETE[_0x3ea8f9(-0x15d,_0x5eeb64._0x3a0ddc,0x197,-0x48)](_0x2e2530);if(_0x172216!==null){const _0xca5f0d=requireLineNumber(_0x172216[0x1],_0x3ea8f9(_0x5eeb64._0x3e77c6,_0x5eeb64._0x100777,0x1d8,_0x5eeb64._0x1c50e7)),_0x7992fd=requireLineNumber(_0x172216[0x2],_0x3ea8f9(-_0x5eeb64._0x50ceec,-_0x5eeb64._0x2dea82,0xfa,-_0x5eeb64._0x254e22));if(_0xca5f0d>_0x7992fd)throw createAnchoredFileError(_0x4f7408(_0x5eeb64._0x55a90f,0x4ae,0x26a,0x3bf),_0x3ea8f9(0x11f,0x2fb,0xa8,_0x5eeb64._0x20b4e7));_0x5778c7({'operation':'delete','startLine':_0xca5f0d,'endLine':_0x7992fd});continue;}throw createAnchoredFileError(_0x4f7408(_0x5eeb64._0x2f71ce,_0x5eeb64._0x93b79e,0x2d5,0x298),'Unsupported\x20Hashline\x20row:\x20'+preview(_0x2e2530));}_0x5951c5();if(!_0x53e7ab)throw createAnchoredFileError(_0x3ea8f9(-0x74,-_0x5eeb64._0x3eb91b,0x2b4,_0x5eeb64._0x4d47ce),_0x3ea8f9(0x3d,_0x5eeb64._0x4ccdfe,0x5e,_0x5eeb64._0x32e8ab));if(_0x1c080b[_0x3ea8f9(_0x5eeb64._0x3213fa,0x1cb,_0x5eeb64._0x83fcad,_0x5eeb64._0x48d072)]===0x0)throw createAnchoredFileError('invalid_patch',_0x4f7408(_0x5eeb64._0x42095a,_0x5eeb64._0x3cbddd,_0x5eeb64._0x26c2dc,0xf4));return{'filePath':_0x4e6478,'tag':_0x162aa1,'operations':_0x1c080b,'dryRun':_0x54ceed['dryRun']??![],..._0x54ceed[_0x3ea8f9(-0x2ae,-0x2f9,-_0x5eeb64._0x577b4a,-0x154)]!==void 0x0?{'description':_0x54ceed['description']}:{}};}import{realpath,stat}from'fs/promises';import*as _0x2f8a85 from'path';function isPathInside(_0x107209,_0x1ac671){const _0x492e68={_0x440d92:0x47,_0x37490c:0x540,_0x1eee7a:0x467},_0x14cacf={_0x27d54d:0x73};function _0x4f50d0(_0x69909e,_0x44032e,_0x5d9e67,_0x3b3f50){return _0x1957f6(_0x69909e-0x187,_0x44032e-0x117,_0x3b3f50,_0x69909e-0x226);}const _0x3a5421=_0x2f8a85['resolve'](_0x107209),_0x530181=_0x2f8a85[_0x4f50d0(0x207,-_0x492e68._0x440d92,0x33e,-0x16)](_0x3a5421,_0x1ac671);function _0x37b580(_0x4b139c,_0x540ae4,_0x5b530e,_0x44cde8){return _0x1957f6(_0x4b139c-0x78,_0x540ae4-0xf4,_0x4b139c,_0x540ae4- -_0x14cacf._0x27d54d);}return _0x530181===''||!_0x530181[_0x4f50d0(_0x492e68._0x37490c,_0x492e68._0x1eee7a,0x364,0x6e4)]('..')&&!_0x2f8a85[_0x37b580(0x3b9,0x196,0x303,-0x28)](_0x530181);}function resolveWorkspacePath(_0x4aac11,_0x5c8f4a){return resolveAllowedPath(_0x4aac11,[],_0x5c8f4a);}function resolveAllowedPath(_0x23fc5c,_0x2be396,_0x27eb67){const _0x1366c9={_0x501131:0x503,_0x3fa714:0x61d,_0xde9611:0x4ee,_0x5dac14:0x3f8,_0x16968a:0x5b6,_0x927cc5:0x3f7},_0x59c7f0={_0x226ffb:0x16a,_0x6337e0:0xf8,_0x57eb01:0x112},_0x4c02a6={_0x5dd203:0x1a0},_0xbae7d=_0x2f8a85[_0x537ca1(0x45e,_0x1366c9._0x501131,0x4b2,0x352)](_0x23fc5c);function _0x537ca1(_0x1d713a,_0x2ab723,_0x17156f,_0x389654){return _0x39a391(_0x1d713a-0x1df,_0x2ab723-_0x4c02a6._0x5dd203,_0x1d713a- -0x31d,_0x2ab723);}const _0x2c964d=_0x2f8a85[_0x537ca1(0x45e,_0x1366c9._0x3fa714,0x374,0x608)](_0xbae7d,_0x27eb67),_0x1dc9f2=[_0xbae7d,..._0x2be396['map'](_0x469f1a=>_0x2f8a85['resolve'](_0x469f1a))];function _0x5cd440(_0x3d43db,_0x45f925,_0x4fb826,_0x381d43){return _0x39a391(_0x3d43db-_0x59c7f0._0x226ffb,_0x45f925-_0x59c7f0._0x6337e0,_0x45f925- -_0x59c7f0._0x57eb01,_0x381d43);}if(_0x1dc9f2[_0x5cd440(0x2ec,_0x1366c9._0xde9611,0x2b5,0x35e)](_0x371397=>isPathInside(_0x371397,_0x2c964d)))return _0x2c964d;throw new ToolExecutionError(_0x5cd440(0x426,_0x1366c9._0x5dac14,_0x1366c9._0x16968a,_0x1366c9._0x927cc5)+_0x27eb67,{'path':_0x27eb67,'rootDir':_0xbae7d,'allowedDirs':_0x1dc9f2});}async function resolveCanonicalAllowedFile(_0x4def00,_0x5d5844,_0x49ec6f){const _0x7af9d5={_0x7f0b76:0x6f3,_0x59f04f:0x6f0,_0x423801:0x56e,_0x237da2:0x387,_0x285ff7:0x734,_0x1881ad:0x7a2,_0x26edf9:0x5be,_0x115b84:0x707,_0x171554:0x849,_0x25f4f7:0x85e},_0x502523={_0x2c046a:0xd2,_0x2e5f4a:0x1a9,_0x42dec3:0xd7},_0x89acbc={_0x2bf953:0x62},_0x1852fb=resolveAllowedPath(_0x4def00,_0x5d5844,_0x49ec6f),_0x55ce18=await realpath(_0x1852fb);function _0x2bf3a7(_0x481d81,_0x142d4f,_0x7229e0,_0x375e61){return _0x1957f6(_0x481d81-_0x89acbc._0x2bf953,_0x142d4f-0x5d,_0x481d81,_0x142d4f-0x473);}const _0x1003f6=[];for(const _0x236ee0 of[_0x4def00,..._0x5d5844]){try{_0x1003f6[_0x2bf3a7(_0x7af9d5._0x7f0b76,0x88c,0x83e,0x898)](await realpath(_0x236ee0));}catch{}}function _0x318b2a(_0x384bf5,_0x5db6f6,_0x3327ce,_0x257df2){return _0x39a391(_0x384bf5-_0x502523._0x2c046a,_0x5db6f6-_0x502523._0x2e5f4a,_0x3327ce- -_0x502523._0x42dec3,_0x384bf5);}if(!_0x1003f6[_0x2bf3a7(_0x7af9d5._0x59f04f,_0x7af9d5._0x423801,_0x7af9d5._0x237da2,0x6cd)](_0x8f37dc=>isPathInside(_0x8f37dc,_0x55ce18)))throw new ToolExecutionError('Path\x20is\x20outside\x20allowed\x20directories:\x20'+_0x49ec6f,{'path':_0x49ec6f,'lexicalPath':_0x1852fb,'canonicalPath':_0x55ce18,'allowedDirs':_0x1003f6});const _0x20d59c=await stat(_0x55ce18);if(!_0x20d59c[_0x318b2a(_0x7af9d5._0x285ff7,_0x7af9d5._0x1881ad,_0x7af9d5._0x26edf9,_0x7af9d5._0x115b84)]())throw new ToolExecutionError(_0x318b2a(0x721,0x64a,_0x7af9d5._0x171554,_0x7af9d5._0x25f4f7)+_0x49ec6f,{'path':_0x49ec6f,'lexicalPath':_0x1852fb,'canonicalPath':_0x55ce18});return{'authoredPath':_0x49ec6f,'lexicalPath':_0x1852fb,'canonicalPath':_0x55ce18};}async function assertWorkspaceFile(_0x5a5680){const _0x3219f7={_0x476a7a:0x420,_0x3536d0:0x68c,_0x5ddfd4:0x591,_0xf2151c:0x3b1},_0x30a9c9={_0x17eb67:0x5e,_0x1d4db1:0x131,_0x2b0102:0x56f},_0x6243af={_0x3eb1d4:0x2b6};function _0x41dc24(_0x51b456,_0x3c8611,_0x41c5c2,_0x42ccd9){return _0x1957f6(_0x51b456-0x9d,_0x3c8611-0x16,_0x41c5c2,_0x42ccd9-_0x6243af._0x3eb1d4);}const _0x54c4d8=await stat(_0x5a5680);function _0x3ea4a2(_0x1f64ef,_0x3667b7,_0x5352d5,_0x197f2f){return _0x39a391(_0x1f64ef-_0x30a9c9._0x17eb67,_0x3667b7-_0x30a9c9._0x1d4db1,_0x5352d5- -_0x30a9c9._0x2b0102,_0x197f2f);}if(!_0x54c4d8[_0x41dc24(_0x3219f7._0x476a7a,_0x3219f7._0x3536d0,_0x3219f7._0x5ddfd4,0x446)]())throw new ToolExecutionError(_0x3ea4a2(0x3b4,0x57a,_0x3219f7._0xf2151c,0x276)+_0x5a5680,{'path':_0x5a5680});}function isProbablyBinary(_0x285d5a){const _0x24eb15={_0x53cc8d:0x6e,_0x2e2160:0x2c0},_0x38cfc2={_0x403aa8:0x9f};function _0x4cb890(_0xa8a5c4,_0x296583,_0x38caed,_0x3d8b43){return _0x39a391(_0xa8a5c4-_0x38cfc2._0x403aa8,_0x296583-0x89,_0xa8a5c4- -0x508,_0x38caed);}return _0x285d5a[_0x4cb890(0x211,0x36a,_0x24eb15._0x53cc8d,_0x24eb15._0x2e2160)](0x0);}var MAX_ANCHORED_PREVIEW_BYTES=0x100*0x400,defaultFileSystem2={'readFile':_0x41de6a=>_0x2fb393(_0x41de6a),'stat':_0xd3efc5=>_0x2638cd(_0xd3efc5),'atomicWrite':(_0x520919,_0x9b5eac,_0x5cc670)=>atomicReplaceFile(_0x520919,_0x9b5eac,_0x5cc670)};function parseAnchoredInput(_0x336b06,_0x142aca){const _0x4b45cb={_0x154abb:0x25e,_0x1db595:0x2aa},_0x30a753={_0x446ab3:0x4d,_0x50023e:0x345};function _0x14b6f8(_0x1a127c,_0x2c70a4,_0x1bee8f,_0xc88c1b){return _0x39a391(_0x1a127c-_0x30a753._0x446ab3,_0x2c70a4-0x69,_0xc88c1b- -_0x30a753._0x50023e,_0x2c70a4);}if(_0x336b06===_0x14b6f8(0x1a3,0x4ff,_0x4b45cb._0x154abb,_0x4b45cb._0x1db595))return parseHashlineFileEditInput(_0x142aca);return parseStructuredFileEditInput(_0x142aca);}function stableStringify2(_0xb9f109){const _0x35f236={_0x12d683:0x1c0,_0x132b7d:0x32d,_0x53b636:0x10,_0x387e4b:0x168,_0x726f6:0x5e6,_0x308247:0x57,_0x14d493:0x1ca,_0x148754:0x42,_0x524f99:0xe3,_0x5c9bfb:0xec,_0x3b93cb:0x1bf,_0x14673e:0x142,_0x4cdb44:0x1c8};if(Array['isArray'](_0xb9f109))return'['+_0xb9f109['map'](stableStringify2)[_0x1f29dc(-0x76,0x30d,0x39c,_0x35f236._0x12d683)](',')+']';function _0x19ef45(_0x9b8952,_0x3db6fa,_0x390709,_0x4261be){return _0x1957f6(_0x9b8952-0xd6,_0x3db6fa-0x112,_0x4261be,_0x3db6fa- -0x20);}if(_0xb9f109!==null&&typeof _0xb9f109===_0x19ef45(_0x35f236._0x132b7d,0x212,0x172,-_0x35f236._0x53b636)){const _0x5bdb94=_0xb9f109;return'{'+Object[_0x19ef45(_0x35f236._0x387e4b,0x3b1,0x285,_0x35f236._0x726f6)](_0x5bdb94)[_0x1f29dc(_0x35f236._0x308247,0x2a4,0x33f,_0x35f236._0x14d493)]()[_0x19ef45(-0x2d,0xfb,-_0x35f236._0x148754,0x1)](_0x3ef0f1=>JSON[_0x19ef45(-0x56,0x11,0xc4,0x9f)](_0x3ef0f1)+':'+stableStringify2(_0x5bdb94[_0x3ef0f1]))[_0x19ef45(-_0x35f236._0x524f99,_0x35f236._0x5c9bfb,_0x35f236._0x3b93cb,_0x35f236._0x14673e)](',')+'}';}function _0x1f29dc(_0x344b52,_0x1500b9,_0x1e84a9,_0x484928){return _0x39a391(_0x344b52-0x172,_0x1500b9-0x166,_0x484928- -0x451,_0x1500b9);}return JSON[_0x1f29dc(_0x35f236._0x4cdb44,0x303,0xb3,0xe5)](_0xb9f109);}function normalizeOperationContent(_0x204e7e){const _0x59f879={_0x54db0b:0x26c,_0x13f715:0x77e,_0x229ead:0x4d1,_0x241d49:0x468,_0x1948c1:0x1b5,_0x190524:0x4e4,_0x6a9759:0xd9,_0x55b3a8:0x3ff,_0x4a897e:0x4e3},_0x413586={_0x331de4:0x1e6,_0x4f0be3:0x14},_0x598c97={_0x28c34a:0xd,_0x5ec8ad:0xf2,_0xaebb:0x24f};function _0x299a46(_0x32a0ae,_0x23b85a,_0x2212b7,_0x2ef1af){return _0x39a391(_0x32a0ae-_0x598c97._0x28c34a,_0x23b85a-_0x598c97._0x5ec8ad,_0x2ef1af- -_0x598c97._0xaebb,_0x23b85a);}function _0x18e7e0(_0x2b1aad,_0x423dc7,_0x3c35c7,_0x417fc5){return _0x1957f6(_0x2b1aad-_0x413586._0x331de4,_0x423dc7-0x179,_0x417fc5,_0x2b1aad-_0x413586._0x4f0be3);}if(_0x204e7e[_0x18e7e0(_0x59f879._0x54db0b,0x3b5,_0x59f879._0x54db0b,0xc5)]===_0x299a46(_0x59f879._0x13f715,0x579,_0x59f879._0x229ead,0x53c)||_0x204e7e[_0x18e7e0(0x26c,_0x59f879._0x241d49,_0x59f879._0x1948c1,0x190)]==='insert')return{..._0x204e7e,'content':_0x204e7e[_0x299a46(_0x59f879._0x190524,_0x59f879._0x6a9759,_0x59f879._0x55b3a8,0x2df)][_0x18e7e0(0x29a,0x3a9,_0x59f879._0x4a897e,0x1e9)](/\r\n/g,'\x0a')};return _0x204e7e;}function computePayloadDigest(_0x19bc63){const _0x2d0297={_0x2a503a:0x153,_0x1559bd:0x76,_0x37d901:0xe7};function _0x5c8e6(_0x34a0a1,_0x5e18e6,_0x388c5a,_0x6bc582){return _0x1957f6(_0x34a0a1-0x1af,_0x5e18e6-0x148,_0x6bc582,_0x388c5a- -0xa5);}return sha256Bytes(stableStringify2(_0x19bc63[_0x5c8e6(-_0x2d0297._0x2a503a,-0x72,_0x2d0297._0x1559bd,_0x2d0297._0x37d901)](normalizeOperationContent)));}function collectRequiredLines(_0x273c96){const _0x569c7a={_0x1c7b86:0xb3,_0x1182b7:0x41d,_0x44df5d:0x565,_0x4ccbe3:0x71c,_0x51d327:0x75b,_0x40519f:0x26e,_0xfe6a59:0x392,_0x1d82b2:0x515,_0x1d6706:0x224,_0x227e3b:0x313,_0x5afa53:0x27b,_0x634cf6:0x4a},_0x43d741={_0x965d94:0x1a0,_0x3ab283:0x161,_0x5340e2:0x2bf},_0x3defa5=new Set();function _0x1369f9(_0x9d1433,_0x1fd2c6,_0x1118da,_0x15d609){return _0x1957f6(_0x9d1433-0x53,_0x1fd2c6-0x1e6,_0x15d609,_0x1118da-0x71);}for(const _0xe97cab of _0x273c96){if(_0xe97cab[_0x1369f9(0x4f0,_0x569c7a._0x1c7b86,0x2c9,_0x569c7a._0x1182b7)]===_0x10aae0(_0x569c7a._0x44df5d,0x691,_0x569c7a._0x4ccbe3,_0x569c7a._0x51d327))_0x3defa5[_0x1369f9(0x356,_0x569c7a._0x40519f,_0x569c7a._0xfe6a59,_0x569c7a._0x1d82b2)](_0xe97cab[_0x1369f9(0x14c,0x44,_0x569c7a._0x1d6706,0x444)]);else for(let _0x5dc829=_0xe97cab[_0x10aae0(0x3d3,0x5fd,0x636,0x6c7)];_0x5dc829<=_0xe97cab[_0x1369f9(0x366,0x2c2,0x146,_0x569c7a._0x227e3b)];_0x5dc829+=0x1){_0x3defa5['add'](_0x5dc829);}}function _0x10aae0(_0x517aef,_0x3e4d52,_0x556ad5,_0x1c93c7){return _0x1957f6(_0x517aef-_0x43d741._0x965d94,_0x3e4d52-_0x43d741._0x3ab283,_0x1c93c7,_0x3e4d52-_0x43d741._0x5340e2);}return[..._0x3defa5][_0x1369f9(_0x569c7a._0x5afa53,0x317,0x187,-_0x569c7a._0x634cf6)]((_0x375017,_0x4601f3)=>_0x375017-_0x4601f3);}async function resolveEditTarget(_0x452a9d,_0x5be173,_0x3d76f9){const _0x4a4d6b={_0x17f5b3:0x64,_0x310c73:0x93,_0x2a9a3a:0x228,_0x2b7b18:0x15e,_0x410d34:0x2b2,_0xe6e0c3:0x72c,_0x2efe0e:0x4e7,_0x13640d:0x66e},_0x1d238a={_0x11eb59:0x51c},_0xb92f32={_0x102193:0x99};function _0x4d7407(_0x1878ed,_0x238b40,_0x27706f,_0x23bb51){return _0x1957f6(_0x1878ed-0xfe,_0x238b40-0x1f0,_0x27706f,_0x1878ed-_0xb92f32._0x102193);}function _0x24e687(_0x2d8e9c,_0x4b5163,_0x19e5ce,_0x5eb994){return _0x1957f6(_0x2d8e9c-0xdf,_0x4b5163-0x1ec,_0x5eb994,_0x19e5ce-_0x1d238a._0x11eb59);}try{return await resolveCanonicalAllowedFile(_0x452a9d,_0x5be173,_0x3d76f9);}catch(_0x104028){if(_0x104028 instanceof ToolExecutionError)throw _0x104028;const _0x367d06=_0x104028 instanceof Error?_0x104028['message']:String(_0x104028);throw createAnchoredFileError('unknown_snapshot',_0x4d7407(_0x4a4d6b._0x17f5b3,_0x4a4d6b._0x310c73,-0x1a8,0xf5)+_0x3d76f9+_0x4d7407(_0x4a4d6b._0x2a9a3a,_0x4a4d6b._0x2b7b18,_0x4a4d6b._0x410d34,0x32d)+_0x367d06+_0x24e687(_0x4a4d6b._0xe6e0c3,_0x4a4d6b._0x2efe0e,0x659,_0x4a4d6b._0x13640d),{'path':_0x3d76f9});}}async function readLiveSnapshot(_0x53ae31,_0x5192a3){const _0x326f71={_0x1a5b7a:0x945,_0x43d7d0:0xb2c,_0x28942d:0x139,_0x6df840:0x2ce,_0x397343:0xe9,_0x19a18f:0x81f,_0x370326:0x7c3},_0x12e627={_0x57dde5:0x16b,_0xd7eff6:0x397},_0x4cddfa={_0x3578c8:0x9c,_0x47df7c:0x1e5,_0x2fc223:0x6d};function _0x52af87(_0x31f53d,_0x1278f6,_0x4fea4c,_0x5c81f2){return _0x39a391(_0x31f53d-_0x4cddfa._0x3578c8,_0x1278f6-_0x4cddfa._0x47df7c,_0x4fea4c- -_0x4cddfa._0x2fc223,_0x31f53d);}let _0x309f0e;function _0x1d43ab(_0x5d73c8,_0x5150d7,_0x4a7d3a,_0x41634d){return _0x39a391(_0x5d73c8-_0x12e627._0x57dde5,_0x5150d7-0x18a,_0x5d73c8- -_0x12e627._0xd7eff6,_0x4a7d3a);}try{_0x309f0e=await _0x2fb393(_0x53ae31);}catch(_0x5e2f32){const _0x1e9f00=_0x5e2f32 instanceof Error?_0x5e2f32[_0x52af87(0xabc,_0x326f71._0x1a5b7a,0x8fa,_0x326f71._0x43d7d0)]:String(_0x5e2f32);throw createAnchoredFileError('unknown_snapshot',_0x1d43ab(_0x326f71._0x28942d,-0x13,_0x326f71._0x6df840,-_0x326f71._0x397343)+_0x5192a3+'\x20for\x20an\x20anchored\x20snapshot\x20('+_0x1e9f00+_0x52af87(_0x326f71._0x19a18f,0x4ba,0x5d5,_0x326f71._0x370326),{'path':_0x5192a3});}return createNormalizedFileSnapshot(_0x53ae31,_0x309f0e);}function staleSnapshotMessageText(_0x3da152,_0x4bc461){const _0x2418b3={_0x12c310:0x765,_0x4a3f56:0x52e,_0x6b3f5d:0x491,_0x472e64:0x3be,_0x1d4c3a:0x4ae},_0x36b405={_0x565e0a:0xd3,_0x39de64:0x1a2},_0x507eaa={_0x280730:0x1ae,_0x2513cc:0x2b7};function _0x597b11(_0x2546af,_0x5bebe2,_0x5f288c,_0x1fce7b){return _0x1957f6(_0x2546af-0x7b,_0x5bebe2-_0x507eaa._0x280730,_0x5bebe2,_0x2546af-_0x507eaa._0x2513cc);}function _0x1b28c9(_0x2cb5c4,_0x80669a,_0xb54b40,_0x317e06){return _0x39a391(_0x2cb5c4-0x149,_0x80669a-_0x36b405._0x565e0a,_0x317e06- -_0x36b405._0x39de64,_0x80669a);}return{'reasonLine':'stale_snapshot:\x20the\x20file\x20changed\x20since\x20snapshot\x20'+_0x4bc461+_0x1b28c9(0x8a7,_0x2418b3._0x12c310,_0x2418b3._0x4a3f56,0x742),'guidance':_0x1b28c9(0x312,_0x2418b3._0x6b3f5d,0x45f,0x35d)+_0x3da152+_0x1b28c9(_0x2418b3._0x472e64,_0x2418b3._0x1d4c3a,0x2d6,0x349)};}function unseenLinesMessageText(){const _0x576fe5={_0x899264:0x5b6,_0xc296f9:0x3b4},_0x439c00={_0x3d8885:0x1ef,_0x173f82:0x22d};function _0x49e57d(_0x293485,_0x368312,_0x192b96,_0x2e84a8){return _0x39a391(_0x293485-_0x439c00._0x3d8885,_0x368312-0x141,_0x2e84a8- -_0x439c00._0x173f82,_0x192b96);}return{'reasonLine':'unseen_lines:\x20the\x20required\x20lines\x20must\x20be\x20observed\x20by\x20FileRead\x20before\x20they\x20can\x20be\x20used\x20as\x20edit\x20anchors.','guidance':_0x49e57d(0x4fb,_0x576fe5._0x899264,0x2fb,_0x576fe5._0xc296f9)};}function noChangeMessageText(_0x227cb5,_0x1f1199){const _0x333718={_0x4c7e39:0x5f2,_0x442cbf:0x870,_0x33b372:0x564,_0x13c4f6:0x609,_0xfdb84e:0x92a,_0x28e3ad:0x841,_0x424935:0x800,_0xbf0550:0x933},_0x399d7d={_0x10a14f:0x165,_0x369597:0x95},_0x4b7b74={_0x445d0c:0x52};function _0x3d1602(_0x30c876,_0x513242,_0x51d022,_0x1ca77d){return _0x39a391(_0x30c876-_0x4b7b74._0x445d0c,_0x513242-0x9a,_0x1ca77d- -0xb6,_0x51d022);}function _0x300ec5(_0x53a587,_0xd0d330,_0x11de15,_0x51f545){return _0x39a391(_0x53a587-_0x399d7d._0x10a14f,_0xd0d330-0x135,_0x11de15- -_0x399d7d._0x369597,_0x53a587);}const _0x445472=_0x1f1199>=0x3;return{'reasonLine':_0x300ec5(_0x333718._0x4c7e39,_0x333718._0x442cbf,0x6d5,_0x333718._0x33b372)+_0x227cb5+_0x300ec5(_0x333718._0x13c4f6,_0x333718._0xfdb84e,0x831,_0x333718._0x28e3ad),'guidance':_0x445472?'Stop:\x203\x20consecutive\x20identical\x20no-op\x20edits\x20for\x20this\x20path\x20and\x20payload.\x20Re-read\x20with\x20FileRead\x20before\x20retrying.':_0x300ec5(_0x333718._0x424935,0x86f,0x75f,_0x333718._0xbf0550)};}function buildRecoveryContext(_0x13cdbb,_0x5d4222,_0x3d01af,_0x1ab611,_0x399486,_0x935991){const _0x64fd8b={_0x5749aa:0xca,_0x19cde3:0x28a,_0x4463ad:0x3c9,_0x48b934:0x36b,_0x1560d2:0x2cf,_0x56049c:0x1ff,_0x430bb3:0x383,_0x5adb53:0x158,_0x379a53:0x343,_0x3d1949:0x3ed,_0x1e5fd7:0x68b,_0x4476ee:0x4c5,_0x59dd6a:0xa4,_0x18ecdf:0x2f8,_0x4f80e5:0x71e,_0x413a65:0x5e1,_0x4a1a2a:0x6c6,_0x233e47:0x52b,_0x54b66a:0x4df,_0x458ec0:0x4c1,_0x27516c:0x9,_0x37ecf9:0x29f,_0x299d51:0x2ee,_0x110458:0x5e,_0x452e92:0x202,_0x5ef095:0x78,_0x367be8:0xaf,_0x5787d8:0x1d,_0x2b20f9:0x23b,_0x5a0709:0x8a,_0x204fc2:0x36,_0x1a9400:0x178,_0x56adc9:0x449,_0x3f535b:0x3f8,_0x211992:0x1a6,_0x30caa9:0x137,_0x332deb:0x36b,_0x53f0d9:0x459,_0x2add7d:0x261},_0x260b88={_0x22fa11:0x323},_0x1e2927='['+_0x13cdbb+'#'+_0x5d4222[_0x93e812(-_0x64fd8b._0x5749aa,-0x11,0x22,-0x77)]+']',_0x55731c={'tag':_0x5d4222[_0x374fa4(_0x64fd8b._0x19cde3,0x4c5,_0x64fd8b._0x4463ad,_0x64fd8b._0x48b934)],'digest':_0x5d4222[_0x374fa4(0x50c,0x41e,0x406,_0x64fd8b._0x1560d2)],'contextLines':[],'output':_0x399486+'\x0a'+_0x1e2927+'\x0a'+_0x935991},_0x407b03=_0x5d4222[_0x93e812(-0x38a,-_0x64fd8b._0x56049c,-_0x64fd8b._0x430bb3,-_0x64fd8b._0x5adb53)][_0x93e812(_0x64fd8b._0x379a53,_0x64fd8b._0x3d1949,0xc7,0x1ff)];function _0x374fa4(_0x47c698,_0xea2929,_0x3952c9,_0x5c51b8){return _0x39a391(_0x47c698-0x1da,_0xea2929-0x13a,_0x5c51b8- -_0x260b88._0x22fa11,_0xea2929);}const _0x35be1e=[...new Set(_0x3d01af[_0x374fa4(0x6ef,0x518,_0x64fd8b._0x1e5fd7,_0x64fd8b._0x4476ee)](_0x705204=>Number[_0x93e812(0x181,0x1d,0x25f,0xff)](_0x705204)&&_0x705204>=0x1&&_0x705204<=_0x407b03))][_0x374fa4(0x24c,_0x64fd8b._0x59dd6a,0x493,_0x64fd8b._0x18ecdf)]((_0x34271f,_0x360394)=>_0x34271f-_0x360394);if(_0x35be1e[_0x374fa4(0x73f,0x73b,_0x64fd8b._0x4f80e5,_0x64fd8b._0x413a65)]===0x0)return _0x55731c;const _0x1e16f1=_0x35be1e[_0x35be1e[_0x374fa4(_0x64fd8b._0x4a1a2a,0x3a9,_0x64fd8b._0x233e47,0x5e1)]-0x1]-_0x35be1e[0x0]+0x1;if(_0x1e16f1>0x14)return _0x55731c;for(const _0x5d0eba of _0x35be1e){if(!isWithinDisplayColumns(_0x5d4222[_0x374fa4(0x227,_0x64fd8b._0x54b66a,_0x64fd8b._0x458ec0,0x28a)][_0x5d0eba-0x1],0x200))return _0x55731c;}const _0x929ef=formatAnchoredFileRead({'displayPath':_0x13cdbb,'snapshot':_0x5d4222,'lineStart':_0x35be1e[0x0],'lineEnd':_0x35be1e[_0x35be1e[_0x93e812(_0x64fd8b._0x27516c,_0x64fd8b._0x37ecf9,_0x64fd8b._0x299d51,0x1ff)]-0x1],'maxBytes':_0x1ab611});if(_0x929ef['truncated']||_0x929ef['displayedLines'][_0x93e812(0x2dd,_0x64fd8b._0x110458,0x25c,0x1ff)]===0x0)return _0x55731c;function _0x93e812(_0x52d41f,_0x3646d9,_0x55f6a8,_0xae4d65){return _0x1957f6(_0x52d41f-0xe9,_0x3646d9-0x4f,_0x55f6a8,_0xae4d65- -0x200);}const _0xb366f8=_0x399486+'\x0a'+_0x929ef[_0x93e812(_0x64fd8b._0x452e92,_0x64fd8b._0x5ef095,_0x64fd8b._0x367be8,-_0x64fd8b._0x5787d8)][_0x93e812(_0x64fd8b._0x367be8,-_0x64fd8b._0x2b20f9,-0x241,-0x134)]()+'\x0a'+_0x935991;if(Buffer[_0x93e812(-_0x64fd8b._0x5a0709,-0x39,_0x64fd8b._0x204fc2,-_0x64fd8b._0x1a9400)](_0xb366f8,_0x374fa4(_0x64fd8b._0x56adc9,0x4b1,0x3d0,_0x64fd8b._0x3f535b))>_0x1ab611)return _0x55731c;return{'tag':_0x5d4222[_0x374fa4(_0x64fd8b._0x211992,_0x64fd8b._0x30caa9,0x1cf,_0x64fd8b._0x332deb)],'digest':_0x5d4222['digest'],'contextLines':[..._0x929ef[_0x93e812(0xfa,0x413,_0x64fd8b._0x53f0d9,_0x64fd8b._0x2add7d)]],'output':_0xb366f8};}function assertPreviewWithinBounds(_0x24291a,_0x178fdd,_0x5eb69d){const _0xe34d94={_0x2a49e3:0x1e5,_0x42f82f:0x3eb,_0x1a70f7:0x29c,_0xd22766:0x3fa,_0x20ecf7:0x5b6},_0x7a0bd6={_0x162497:0x1dc};function _0xfcef41(_0x4b33e8,_0x4049e6,_0x4afbc1,_0x1c30fa){return _0x1957f6(_0x4b33e8-_0x7a0bd6._0x162497,_0x4049e6-0x67,_0x4b33e8,_0x4049e6-0x8f);}function _0x533a71(_0x3e94d7,_0x28df06,_0x3287ec,_0x527290){return _0x1957f6(_0x3e94d7-0x19c,_0x28df06-0xa5,_0x3287ec,_0x28df06-0x2ff);}const _0x427442=_0x24291a[_0x533a71(_0xe34d94._0x2a49e3,_0xe34d94._0x42f82f,_0xe34d94._0x1a70f7,_0xe34d94._0xd22766)]((_0x8ee50e,_0x9b84d5)=>_0x8ee50e+Buffer['byteLength'](_0x9b84d5[_0xfcef41(0x1e8,0x166,0x5f,0x38d)],'utf8')+Buffer[_0x533a71(0x315,0x387,0x28b,0x5bf)](_0x9b84d5['newText'],'utf8'),0x0);if(_0x427442>MAX_ANCHORED_PREVIEW_BYTES)throw createAnchoredFileError('invalid_range','invalid_range:\x20the\x20edit\x27s\x20source-derived\x20preview\x20text\x20is\x20'+_0x427442+'\x20bytes,\x20exceeding\x20the\x20'+MAX_ANCHORED_PREVIEW_BYTES+_0xfcef41(0x326,0x3f0,0x574,_0xe34d94._0x20ecf7),{'path':_0x5eb69d,'canonicalPath':_0x178fdd,'previewBytes':_0x427442});}function buildPreview(_0x51f090,_0x6d2e0b,_0x583d9b,_0x552555,_0x28c3b5){const _0x5e3ac1={_0x3dc739:0x257,_0x560eee:0x2df,_0x2eb3b7:0x444,_0x281881:0xf6,_0x284152:0x4c1,_0x549f5d:0x65f,_0x5ea204:0x31a,_0x155003:0x408,_0x2f7e69:0x3cd,_0x11832e:0x425,_0x35b236:0x4d3,_0x1e31ea:0x337},_0x54a847={_0x205b51:0x38,_0xcdb4bb:0x72},_0x44e39d={_0x336ead:0x142,_0xbfa1af:0xef};function _0x571ffb(_0x7cbe61,_0x317939,_0x4e8a06,_0x4fc03f){return _0x39a391(_0x7cbe61-_0x44e39d._0x336ead,_0x317939-_0x44e39d._0xbfa1af,_0x7cbe61- -0x4ae,_0x4fc03f);}function _0x145198(_0x5e2712,_0xc508b5,_0x4f0f60,_0x49f485){return _0x39a391(_0x5e2712-_0x54a847._0x205b51,_0xc508b5-_0x54a847._0xcdb4bb,_0x5e2712- -0x4fc,_0xc508b5);}return{'mode':_0x51f090,'filePath':_0x6d2e0b[_0x571ffb(0x3fb,_0x5e3ac1._0x3dc739,_0x5e3ac1._0x560eee,_0x5e3ac1._0x2eb3b7)],'canonicalPath':_0x583d9b['canonicalPath'],'tag':_0x6d2e0b['tag'],'digest':_0x552555['snapshot'][_0x145198(_0x5e3ac1._0x281881,0x31f,0x31b,0x1c2)],'operationCount':_0x28c3b5[_0x571ffb(_0x5e3ac1._0x284152,_0x5e3ac1._0x549f5d,0x455,_0x5e3ac1._0x5ea204)][_0x145198(_0x5e3ac1._0x155003,_0x5e3ac1._0x2f7e69,0x5fd,_0x5e3ac1._0x11832e)],'operations':_0x28c3b5[_0x571ffb(_0x5e3ac1._0x284152,_0x5e3ac1._0x35b236,0x2af,0x600)],'blocks':_0x28c3b5[_0x571ffb(_0x5e3ac1._0x1e31ea,0x3bd,0x2a5,0x361)]};}function buildResultText(_0x191fe,_0x1810d1,_0x2c7326,_0x56b498,_0x4079a2){const _0x27c223={_0x3ed2f2:0x6d5,_0x218aa9:0x608,_0x487c1f:0x5e6,_0x41be0e:0x24,_0x12dd22:0x1c1,_0x30f622:0x5d4,_0x438be1:0x629,_0x5acd74:0x2a8,_0x5b0856:0x2d4,_0xc46538:0x297,_0x545029:0x159,_0x500556:0x39,_0x3ccad5:0x8c,_0x325480:0x238,_0x4f0280:0x847,_0x382110:0x490,_0x483d00:0x68d},_0x4fe8ce={_0x35b260:0x1f0,_0xdcbda1:0x1d0,_0x3ad0c7:0x581},_0x123d72='['+_0x191fe+'#'+_0x1810d1['tag']+']\x0a'+_0x4079a2+'\x0a';let _0xfce8bf=Buffer[_0x290f28(_0x27c223._0x3ed2f2,_0x27c223._0x218aa9,_0x27c223._0x487c1f,0x609)](_0x123d72,_0x1b02ff(_0x27c223._0x41be0e,0xb3,_0x27c223._0x12dd22,0x35));function _0x290f28(_0x3d2ba9,_0xe89a6d,_0x1c2959,_0x347d58){return _0x1957f6(_0x3d2ba9-_0x4fe8ce._0x35b260,_0xe89a6d-_0x4fe8ce._0xdcbda1,_0x1c2959,_0x347d58-_0x4fe8ce._0x3ad0c7);}const _0xe7d3e=[],_0x259f26=[];for(const _0x1e50ac of _0x2c7326){const _0x21e326=_0x1e50ac+':'+(_0x1810d1[_0x290f28(_0x27c223._0x30f622,0x6cb,0x481,_0x27c223._0x438be1)][_0x1e50ac-0x1]??'')+'\x0a',_0x15756c=Buffer[_0x1b02ff(-_0x27c223._0x5acd74,-_0x27c223._0x5b0856,-_0x27c223._0xc46538,-_0x27c223._0x545029)](_0x21e326,_0x1b02ff(_0x27c223._0x500556,_0x27c223._0x3ccad5,0x26f,0x35));if(_0xfce8bf+_0x15756c>_0x56b498)break;_0xe7d3e[_0x290f28(0xaa0,0xb7c,0x8cf,0x99a)](_0x21e326),_0x259f26[_0x1b02ff(0x354,0x383,0x47d,_0x27c223._0x325480)](_0x1e50ac),_0xfce8bf+=_0x15756c;}function _0x1b02ff(_0x2a8d7e,_0x14698c,_0x175d5c,_0x613ac9){return _0x39a391(_0x2a8d7e-0x1ed,_0x14698c-0x156,_0x613ac9- -0x6e6,_0x14698c);}return{'output':''+_0x123d72+_0xe7d3e[_0x290f28(_0x27c223._0x4f0280,_0x27c223._0x382110,0x88b,_0x27c223._0x483d00)](''),'observedLines':_0x259f26};}function selectChangedContextLines(_0x1ff1b7,_0x3df2e2,_0x5a5029){const _0x2d5a02={_0xff906e:0x150,_0x151587:0x2d9,_0x2222ea:0x4,_0x4bcee2:0x8e,_0x25477b:0x192,_0x138c32:0x15f,_0x6a06bc:0x171,_0x519d29:0x293,_0x2f0b59:0x2f,_0x43cfef:0x384,_0x7da7b2:0x36e,_0x108580:0x254,_0x4c2f0b:0x1fc,_0x161632:0xef,_0x132c69:0x1bc,_0x388507:0x182,_0x5ac5c1:0x5,_0x924469:0x32e,_0x35cd6c:0x3d,_0x30a0c1:0x176,_0x52aff1:0x160,_0x125223:0x6d,_0x44741c:0x126,_0x125fcc:0xa2,_0x6c3e89:0x23f,_0x5719dd:0x103,_0x52461c:0xae,_0x5e61bf:0x381,_0x2e6166:0x1f3,_0x400f56:0x1e,_0x2e14df:0xf0,_0x3a1bf9:0x65,_0xbfd1e5:0xba,_0x34b3c0:0x96,_0x2fde4d:0x2ff,_0x5dd3cf:0xa8,_0x47fde5:0x230,_0x3731f9:0x254,_0x2d6837:0x51,_0x34af34:0x320,_0xf09b27:0xa0,_0xaea1d0:0x1b2,_0x3d5787:0x13f,_0x2bca74:0x233,_0x4804d6:0x143,_0x5cd1f4:0x2b3,_0x14891e:0x229},_0x2d328e={_0x2e9700:0x136},_0x3a9a6c={_0x4f84e5:0x9e};function _0x1168d3(_0x3a8647,_0x59cad2,_0x4cc9c9,_0x905376){return _0x39a391(_0x3a8647-_0x3a9a6c._0x4f84e5,_0x59cad2-0x14c,_0x59cad2- -0x6b0,_0x3a8647);}const _0x2b4607=new Set();for(const _0x4b7d1c of _0x1ff1b7){const _0x34f851=_0x4b7d1c[_0x427470(0x138,0x240,_0x2d5a02._0xff906e,_0x2d5a02._0x151587)];if(_0x5a5029===_0x427470(-_0x2d5a02._0x2222ea,-_0x2d5a02._0x4bcee2,_0x2d5a02._0x25477b,-_0x2d5a02._0x138c32)){if(_0x34f851[_0x1168d3(_0x2d5a02._0x6a06bc,_0x2d5a02._0x519d29,0x136,0x234)]>0x0)for(let _0x270bc1=_0x34f851['newStartLine'];_0x270bc1<=_0x34f851['newEndLine']&&_0x270bc1<=_0x3df2e2[_0x427470(_0x2d5a02._0x2f0b59,-0x164,-0xb0,-_0x2d5a02._0x43cfef)][_0x1168d3(_0x2d5a02._0x7da7b2,_0x2d5a02._0x108580,0x42d,_0x2d5a02._0x4c2f0b)];_0x270bc1+=0x1){_0x2b4607['add'](_0x270bc1);}else _0x34f851[_0x427470(-_0x2d5a02._0x161632,-_0x2d5a02._0x132c69,-0x29,-0x5a)]>=0x1&&_0x34f851[_0x1168d3(-0x2ba,-0x15b,-0x38d,-0x242)]<=_0x3df2e2[_0x427470(-_0x2d5a02._0x388507,-0x164,-0x394,-0x30)][_0x1168d3(-_0x2d5a02._0x5ac5c1,_0x2d5a02._0x108580,_0x2d5a02._0x924469,_0x2d5a02._0x35cd6c)]&&_0x2b4607[_0x1168d3(0x2b5,_0x2d5a02._0x30a0c1,0x25e,0x32a)](_0x34f851['newStartLine']);}else{if(_0x34f851[_0x1168d3(-_0x2d5a02._0x52aff1,_0x2d5a02._0x125223,-0x140,0x1df)]>0x0)for(let _0x41ae57=_0x34f851['oldStartLine'];_0x41ae57<=_0x34f851[_0x427470(-_0x2d5a02._0x44741c,-_0x2d5a02._0x125fcc,-0x297,-0x159)]&&_0x41ae57<=_0x3df2e2[_0x1168d3(-_0x2d5a02._0x6c3e89,-_0x2d5a02._0x5719dd,-_0x2d5a02._0x52461c,-0xfc)][_0x427470(_0x2d5a02._0x5e61bf,_0x2d5a02._0x2e6166,-_0x2d5a02._0x400f56,0x409)];_0x41ae57+=0x1){_0x2b4607['add'](_0x41ae57);}else _0x34f851[_0x427470(_0x2d5a02._0x2e14df,-0xba,-0x2b2,0xac)]>=0x1&&_0x34f851[_0x427470(_0x2d5a02._0x3a1bf9,-_0x2d5a02._0xbfd1e5,-_0x2d5a02._0x34b3c0,-_0x2d5a02._0x2fde4d)]<=_0x3df2e2[_0x1168d3(-_0x2d5a02._0x5dd3cf,-0x103,-0x1c6,-_0x2d5a02._0x47fde5)][_0x1168d3(0x2ac,_0x2d5a02._0x3731f9,_0x2d5a02._0x2d6837,_0x2d5a02._0x34af34)]&&_0x2b4607[_0x427470(0x125,0x115,_0x2d5a02._0xf09b27,_0x2d5a02._0xaea1d0)](_0x34f851[_0x427470(_0x2d5a02._0x3d5787,-_0x2d5a02._0xbfd1e5,-_0x2d5a02._0x2bca74,-0x1)]);}}function _0x427470(_0x1e3d8a,_0xacbdcc,_0x4908b5,_0x182aa3){return _0x1957f6(_0x1e3d8a-0x16c,_0xacbdcc-_0x2d328e._0x2e9700,_0x4908b5,_0xacbdcc- -0x20c);}return[..._0x2b4607][_0x427470(_0x2d5a02._0x4804d6,-0xf6,0x14f,-0x81)]((_0x46665b,_0x1c9795)=>_0x46665b-_0x1c9795)[_0x427470(_0x2d5a02._0x5cd1f4,0x1b0,_0x2d5a02._0x14891e,0x1f7)](0x0,0x14);}function throwStaleSnapshot(_0x683835,_0x24b5f9,_0x49af6a,_0x4c6656){const _0x3a8268={_0x4772ec:0x1c9,_0x7358d3:0xc2,_0x4fdf74:0x28c,_0x518440:0x209,_0x1b234a:0x380,_0x2d06ce:0x3d4,_0x524b8c:0x56f,_0x272200:0x326,_0x30b6f8:0x12b,_0x532de3:0xc1,_0x4f6087:0x314,_0xbb6dbe:0x1d9,_0x540982:0x231,_0x2f784e:0x197},_0x2b4044={_0x3e98d8:0xb9,_0x17de24:0x19d};function _0xeddabe(_0x1bfbf8,_0x2b88cc,_0x2995ad,_0x3cd35a){return _0x1957f6(_0x1bfbf8-0xfe,_0x2b88cc-_0x2b4044._0x3e98d8,_0x2b88cc,_0x1bfbf8-_0x2b4044._0x17de24);}function _0x13a3d5(_0x312686,_0x349bbd,_0x166d6b,_0x4fd77c){return _0x1957f6(_0x312686-0x1d7,_0x349bbd-0x10a,_0x4fd77c,_0x349bbd-0x227);}throw createAnchoredFileError(_0xeddabe(_0x3a8268._0x4772ec,_0x3a8268._0x7358d3,_0x3a8268._0x4fdf74,_0x3a8268._0x518440),_0x4c6656[_0xeddabe(_0x3a8268._0x1b234a,_0x3a8268._0x2d06ce,0x2b3,_0x3a8268._0x524b8c)],{'path':_0x683835,'canonicalPath':_0x24b5f9,'tag':_0x49af6a[_0xeddabe(_0x3a8268._0x272200,0x191,0x3ee,_0x3a8268._0x30b6f8)],'digest':_0x49af6a[_0x13a3d5(_0x3a8268._0x532de3,_0x3a8268._0x4f6087,_0x3a8268._0xbb6dbe,0x4f4)],..._0x4c6656[_0xeddabe(0x314,0x37f,0x14f,_0x3a8268._0x540982)]['length']>0x0?{'contextLines':[..._0x4c6656[_0xeddabe(0x314,_0x3a8268._0x2f784e,0x4f2,0x268)]]}:{}});}function throwUnseenLines(_0x465be1,_0x4f6fb0,_0x2686f9,_0x1acefc,_0x23ccc4){const _0x30630f={_0x2f36a9:0x788,_0x50a604:0x723,_0x43fffc:0x23d,_0x4910d9:0x29d,_0x5b6c2d:0x505,_0x54bfdd:0x60,_0x410219:0xc4,_0x29fb53:0x50e,_0x3c93c7:0x70e,_0x2a6ad:0x6e3},_0x4b3d44={_0x175f1d:0x19,_0xda7057:0xca,_0x562182:0x3bb},_0x5d693a={_0x10ea91:0x16b,_0x268a93:0x45,_0x19f06b:0xd};function _0x389d3f(_0x577e1a,_0x54d589,_0x4ec692,_0x3cce9f){return _0x1957f6(_0x577e1a-_0x5d693a._0x10ea91,_0x54d589-_0x5d693a._0x268a93,_0x4ec692,_0x577e1a- -_0x5d693a._0x19f06b);}function _0x4893fa(_0x54035d,_0xfa975a,_0x48d202,_0x14dd31){return _0x1957f6(_0x54035d-_0x4b3d44._0x175f1d,_0xfa975a-_0x4b3d44._0xda7057,_0x14dd31,_0x54035d-_0x4b3d44._0x562182);}throw createAnchoredFileError(_0x4893fa(_0x30630f._0x2f36a9,0x99b,0x8ca,_0x30630f._0x50a604),_0x23ccc4[_0x389d3f(0x1d6,_0x30630f._0x43fffc,0x17c,_0x30630f._0x4910d9)],{'path':_0x465be1,'canonicalPath':_0x4f6fb0,'tag':_0x2686f9[_0x4893fa(0x544,_0x30630f._0x5b6c2d,0x5cf,0x47b)],'digest':_0x2686f9[_0x389d3f(0xe0,0x311,_0x30630f._0x54bfdd,-_0x30630f._0x410219)],'requiredLines':[..._0x1acefc],..._0x23ccc4['contextLines']['length']>0x0?{'contextLines':[..._0x23ccc4[_0x4893fa(0x532,_0x30630f._0x29fb53,_0x30630f._0x3c93c7,_0x30630f._0x2a6ad)]]}:{}});}function throwNoChange(_0x4c22d8,_0xef8af1,_0x120dca,_0x38605d,_0x4b5ab9){const _0x2fd04b={_0x2cc766:0x71b,_0x4a85b4:0x6cb,_0x77ccb9:0x62c,_0x20f472:0x876,_0x1caf4c:0x625,_0xd4cc1d:0x772,_0x30013a:0x44b,_0x36f1c9:0x45c,_0x1a8c0f:0x67c,_0x162593:0x906},_0x5567b2={_0x1d678f:0x2e5},_0x227eb0={_0x10215d:0xc5,_0x555997:0x25};function _0x5e92a8(_0x566362,_0x4863b2,_0x2288d9,_0x14f1ee){return _0x1957f6(_0x566362-_0x227eb0._0x10215d,_0x4863b2-_0x227eb0._0x555997,_0x566362,_0x2288d9-0x538);}function _0xb621fb(_0x57ee91,_0x31794e,_0x4d5b27,_0x19b556){return _0x1957f6(_0x57ee91-0x18,_0x31794e-0x1c6,_0x57ee91,_0x31794e-_0x5567b2._0x1d678f);}throw createAnchoredFileError('no_change',_0x38605d[_0x5e92a8(0x8de,0x594,_0x2fd04b._0x2cc766,_0x2fd04b._0x4a85b4)],{'path':_0x4c22d8,'canonicalPath':_0xef8af1,'tag':_0x120dca[_0xb621fb(0x26c,0x46e,_0x2fd04b._0x77ccb9,0x2a8)],'digest':_0x120dca[_0x5e92a8(0x548,_0x2fd04b._0x20f472,_0x2fd04b._0x1caf4c,_0x2fd04b._0xd4cc1d)],'attemptCount':_0x4b5ab9,..._0x38605d[_0xb621fb(_0x2fd04b._0x30013a,_0x2fd04b._0x36f1c9,0x373,_0x2fd04b._0x1a8c0f)][_0x5e92a8(_0x2fd04b._0x162593,0x809,0x937,0x9d5)]>0x0?{'contextLines':[..._0x38605d['contextLines']]}:{}});}async function prepareAnchoredFileEditApproval(_0x444543,_0x1812f1,_0x38bb0c,_0x14fab7){const _0xb396d8={_0x56f683:0x33d,_0x4a1c28:0x25f,_0x257aad:0x5fd,_0x396d73:0x40b,_0x390090:0x23d,_0x1b68fc:0xb3,_0x2a5699:0xed,_0x4d6d6c:0x373,_0x43dae4:0x11d,_0x17cafa:0x2b9,_0x5a8215:0x653,_0x16a86b:0x381,_0x3d5e6d:0x4b7,_0xb70940:0x5d3,_0x52a3a0:0x4d1,_0x35a253:0x3e1,_0x21a01e:0x31f,_0x3a965f:0x2f,_0xdba591:0xa5,_0x244a08:0x4ca,_0x5be1d1:0x67e,_0x55087a:0x45c,_0x34c0bf:0x444,_0x27ea20:0x53a,_0x4d75c1:0x610,_0x4ddef5:0x590,_0x3ec1cb:0x392,_0x2b520a:0x381,_0x5be85d:0x1,_0x185812:0x1de,_0x49563f:0x236,_0x218dfa:0x4ca,_0x3ba0e0:0x6a4,_0x75e135:0x339,_0x2ccd09:0x2ae,_0x5d163b:0x89,_0x3afeec:0x75,_0x488d80:0x314,_0x3599ca:0x477,_0x4d6db9:0x1b6,_0x452639:0x1d7,_0x490814:0x141,_0x4fe80c:0x335,_0x45d305:0x580,_0x313ef5:0x5d8,_0x5a8840:0x552,_0x543de5:0x2b5,_0x158ef1:0x46e,_0x1d7f49:0x275,_0x1b2833:0x37c,_0x558d98:0x181,_0xce4e78:0x472,_0x3e8a49:0x4bd,_0x4863ed:0x303,_0x358b25:0x3b,_0xdf27cc:0x2c0,_0x26da09:0x11d,_0xf52207:0x2d,_0x1e0a40:0x39f,_0x52c2ac:0x18a,_0x8afdec:0x1b3,_0x2dc328:0x3c3,_0x322272:0x1d4,_0x314abb:0x22,_0x2a8128:0x17,_0x88ebc8:0x287,_0x43cc0c:0x2f4,_0x463a32:0x5e,_0x4d2d2c:0x3a6,_0x1723e4:0x3dc},_0x29461e={_0x2bc7df:0x127},_0x7eaf66={_0x152b86:0xba,_0x2b8083:0x1b5},_0xd4c276=parseAnchoredInput(_0x444543,_0x1812f1);function _0x2f3e25(_0x945354,_0x2114e9,_0x53d1d0,_0x3dc3b0){return _0x1957f6(_0x945354-_0x7eaf66._0x152b86,_0x2114e9-_0x7eaf66._0x2b8083,_0x2114e9,_0x53d1d0-0x67);}const _0x4da05e=await resolveEditTarget(_0x14fab7['defaultCwd'],_0x14fab7[_0x1928cb(0x3d2,0x2d6,_0xb396d8._0x56f683,0x620)],_0xd4c276[_0x2f3e25(_0xb396d8._0x4a1c28,_0xb396d8._0x257aad,_0xb396d8._0x396d73,_0xb396d8._0x390090)]),{observations:_0x29fa42}=_0x14fab7;_0x29fa42['bindSession'](_0x38bb0c);const _0x5a512a=_0x29fa42['resolve'](_0x4da05e['canonicalPath'],_0xd4c276[_0x1928cb(0x2af,_0xb396d8._0x1b68fc,0xbe,0xec)]);function _0x1928cb(_0x1da568,_0x201c01,_0x20d436,_0x23f1c2){return _0x1957f6(_0x1da568-_0x29461e._0x2bc7df,_0x201c01-0xcc,_0x201c01,_0x1da568-0x126);}const _0x1247c2=await readLiveSnapshot(_0x4da05e[_0x2f3e25(-_0xb396d8._0x2a5699,_0xb396d8._0x4d6d6c,_0xb396d8._0x43dae4,_0xb396d8._0x17cafa)],_0xd4c276[_0x1928cb(0x4ca,0x350,_0xb396d8._0x5a8215,_0xb396d8._0x16a86b)]),_0x403392=computePayloadDigest(_0xd4c276[_0x2f3e25(_0xb396d8._0x3d5e6d,_0xb396d8._0xb70940,_0xb396d8._0x52a3a0,0x485)]);if(_0x1247c2[_0x1928cb(0x213,_0xb396d8._0x35a253,_0xb396d8._0x21a01e,0x7f)]!==_0x5a512a[_0x1928cb(0x2ae,0x422,0x249,0x20f)][_0x1928cb(0x213,_0xb396d8._0x3a965f,0x1a8,_0xb396d8._0xdba591)]){const {reasonLine:_0x1871e1,guidance:_0x552924}=staleSnapshotMessageText(_0xd4c276[_0x1928cb(_0xb396d8._0x244a08,_0xb396d8._0x5be1d1,0x5b2,_0xb396d8._0x55087a)],_0xd4c276[_0x2f3e25(_0xb396d8._0x34c0bf,0x7c,0x1f0,0x23b)]),_0x43f5e0=buildRecoveryContext(_0xd4c276[_0x1928cb(0x4ca,0x2ab,_0xb396d8._0x27ea20,_0xb396d8._0x4d75c1)],_0x1247c2,collectRequiredLines(_0xd4c276[_0x1928cb(_0xb396d8._0x4ddef5,0x5f2,0x7ea,_0xb396d8._0x3ec1cb)]),_0x14fab7[_0x1928cb(0x272,0x43c,0x33a,0x29f)],_0x1871e1,_0x552924);_0x29fa42['record'](_0x1247c2,_0x43f5e0[_0x2f3e25(_0xb396d8._0x2b520a,-_0xb396d8._0x5be85d,_0xb396d8._0x185812,_0xb396d8._0x49563f)]),throwStaleSnapshot(_0xd4c276[_0x1928cb(_0xb396d8._0x218dfa,_0xb396d8._0x3ba0e0,0x715,_0xb396d8._0x75e135)],_0x4da05e['canonicalPath'],_0x1247c2,_0x43f5e0);}let _0x2b1758;try{_0x2b1758=prepareCanonicalFileEdit(_0x5a512a[_0x1928cb(_0xb396d8._0x2ccd09,0x20d,0x4df,0x4d2)],_0x5a512a[_0x2f3e25(_0xb396d8._0x5d163b,_0xb396d8._0x3afeec,0x1ac,0x3c5)],_0xd4c276[_0x2f3e25(_0xb396d8._0x488d80,_0xb396d8._0x3599ca,0x4d1,0x2f0)]);}catch(_0x3088cc){if(_0x3088cc instanceof ToolExecutionError&&_0x3088cc[_0x2f3e25(0x251,0x1e0,_0xb396d8._0x4d6db9,0x14a)][_0x2f3e25(0x1ed,_0xb396d8._0x452639,0x2d5,0x3fd)]==='unseen_lines'){const _0x49a652=_0x3088cc['structured'][_0x2f3e25(-0x1aa,-_0xb396d8._0x490814,0x79,0xd0)]??collectRequiredLines(_0xd4c276[_0x2f3e25(_0xb396d8._0x4fe80c,_0xb396d8._0x45d305,0x4d1,_0xb396d8._0x313ef5)]),{reasonLine:_0x56e487,guidance:_0x1e8ac7}=unseenLinesMessageText(),_0x24474e=buildRecoveryContext(_0xd4c276[_0x2f3e25(_0xb396d8._0x5a8840,_0xb396d8._0x543de5,_0xb396d8._0x396d73,0x1fb)],_0x1247c2,_0x49a652,_0x14fab7[_0x1928cb(0x272,_0xb396d8._0x158ef1,0x234,0x463)],_0x56e487,_0x1e8ac7);_0x29fa42['record'](_0x1247c2,_0x24474e[_0x2f3e25(0x14c,0x341,_0xb396d8._0x185812,-0x16)]),throwUnseenLines(_0xd4c276['filePath'],_0x4da05e['canonicalPath'],_0x1247c2,_0x49a652,_0x24474e);}if(_0x3088cc instanceof ToolExecutionError&&_0x3088cc[_0x1928cb(_0xb396d8._0x1d7f49,_0xb396d8._0x1b2833,0x18e,_0xb396d8._0x558d98)]['error']===_0x1928cb(0x3fc,_0xb396d8._0xce4e78,0x5fc,_0xb396d8._0x3e8a49)){const _0x542499=_0x29fa42[_0x1928cb(0x55c,0x3e0,_0xb396d8._0x4863ed,0x377)](_0x4da05e[_0x2f3e25(-_0xb396d8._0x358b25,_0xb396d8._0xdf27cc,_0xb396d8._0x26da09,_0xb396d8._0xf52207)],_0x403392),{reasonLine:_0x3904a6,guidance:_0x3fded6}=noChangeMessageText(_0xd4c276['filePath'],_0x542499),_0x3823f9=buildRecoveryContext(_0xd4c276['filePath'],_0x1247c2,collectRequiredLines(_0xd4c276['operations']),_0x14fab7[_0x2f3e25(_0xb396d8._0x1e0a40,_0xb396d8._0x52c2ac,_0xb396d8._0x8afdec,_0xb396d8._0x2dc328)],_0x3904a6,_0x3fded6);_0x29fa42[_0x1928cb(_0xb396d8._0x322272,0x174,-_0xb396d8._0x314abb,_0xb396d8._0x2a8128)](_0x1247c2,_0x3823f9['contextLines']),throwNoChange(_0xd4c276[_0x1928cb(0x4ca,0x58c,_0xb396d8._0x88ebc8,_0xb396d8._0x43cc0c)],_0x4da05e[_0x1928cb(0x1dc,-0x5,_0xb396d8._0x463a32,0x1da)],_0x1247c2,_0x3823f9,_0x542499);}throw _0x3088cc;}return assertPreviewWithinBounds(_0x2b1758[_0x2f3e25(_0xb396d8._0x4d2d2c,_0xb396d8._0x1723e4,0x347,0x27b)],_0x4da05e['canonicalPath'],_0xd4c276['filePath']),buildPreview(_0x444543,_0xd4c276,_0x4da05e,_0x5a512a,_0x2b1758);}async function reResolveUnderLock(_0x1dad45,_0x179902,_0xe96f67,_0x170867){const _0x5f4bc={_0x56b9db:0xafe,_0x561906:0xb26,_0x58809d:0x552,_0x136104:0x5cc,_0x4669f2:0xaad,_0x8330f2:0x91a,_0x5b47e3:0x683,_0x43a850:0x558,_0x49d051:0x5ac,_0x126aa0:0x2e7,_0x3a952f:0x1fb,_0x437090:0x4c6,_0x3f71ac:0x494,_0x588b24:0x330,_0xdc27d2:0x3f7,_0x3ea1e0:0x44,_0x3cc377:0x1fa,_0x3ce37a:0xa20,_0x3cea7e:0xa9e,_0x4cf824:0x234,_0x1b36c3:0x6},_0x188c90={_0x4907d0:0xa1,_0x25488c:0xfb,_0x5cb027:0xf0},_0x2caf57={_0x451756:0xa7,_0x195faa:0x11e};function _0x36ab3b(_0xff2a32,_0x3692f4,_0x124ac0,_0x2b0b58){return _0x1957f6(_0xff2a32-_0x2caf57._0x451756,_0x3692f4-_0x2caf57._0x195faa,_0x124ac0,_0xff2a32-0x576);}function _0xcf3ba5(_0xc17604,_0x1a7dca,_0x2624d8,_0x3a0ba6){return _0x1957f6(_0xc17604-_0x188c90._0x4907d0,_0x1a7dca-_0x188c90._0x25488c,_0x3a0ba6,_0xc17604-_0x188c90._0x5cb027);}let _0x11f826;try{_0x11f826=await resolveCanonicalAllowedFile(_0x1dad45,_0x179902,_0xe96f67[_0x36ab3b(0x91a,_0x5f4bc._0x56b9db,_0x5f4bc._0x561906,0x6ed)]);}catch(_0x8658dd){if(_0x8658dd instanceof ToolExecutionError)throw _0x8658dd;const _0x16cb10=_0x8658dd instanceof Error?_0x8658dd[_0xcf3ba5(_0x5f4bc._0x58809d,_0x5f4bc._0x136104,0x764,0x45c)]:String(_0x8658dd);throw createAnchoredFileError('stale_snapshot',_0x36ab3b(0x8b3,0x77e,0x69c,_0x5f4bc._0x4669f2)+_0xe96f67[_0x36ab3b(_0x5f4bc._0x8330f2,0xb54,0x6da,0xb30)]+_0x36ab3b(_0x5f4bc._0x5b47e3,0x538,_0x5f4bc._0x43a850,_0x5f4bc._0x49d051)+_0x16cb10+_0xcf3ba5(0x345,_0x5f4bc._0x126aa0,_0x5f4bc._0x3a952f,_0x5f4bc._0x437090),{'path':_0xe96f67[_0xcf3ba5(_0x5f4bc._0x3f71ac,_0x5f4bc._0x588b24,0x43c,_0x5f4bc._0xdc27d2)]});}if(_0x11f826['canonicalPath']!==_0x170867)throw createAnchoredFileError(_0xcf3ba5(0x11c,-_0x5f4bc._0x3ea1e0,_0x5f4bc._0x3cc377,-0x102),'stale_snapshot:\x20File\x20'+_0xe96f67[_0x36ab3b(_0x5f4bc._0x8330f2,0x93e,0x925,0x784)]+'\x20now\x20resolves\x20to\x20a\x20different\x20target\x20than\x20the\x20approved\x20edit;\x20re-read\x20with\x20FileRead\x20first.',{'path':_0xe96f67[_0x36ab3b(0x91a,0x7bf,_0x5f4bc._0x3ce37a,_0x5f4bc._0x3cea7e)],'canonicalPath':_0x11f826[_0xcf3ba5(0x1a6,0x21f,_0x5f4bc._0x4cf824,-_0x5f4bc._0x1b36c3)]});return _0x11f826;}async function executeAnchoredFileEdit(_0x4401a1,_0x47b539,_0x443683,_0x21adb4,_0x4b4811=defaultFileSystem2){const _0xd48dc9={_0x4ba89e:0x699,_0x592da5:0x702,_0x51eaa9:0x8ae,_0x18add3:0x61d,_0x1f5110:0x3a6,_0x146657:0x47a,_0x48526b:0x438,_0x30dde8:0x570,_0xf47021:0xac4,_0x27eed9:0xad0,_0xee1bc7:0x913,_0x43b967:0x158,_0x3d5dff:0x268,_0x23f8df:0x5c5,_0x4782e2:0xa9a,_0x2fd59e:0x8ca},_0x1787e6={_0x1996c5:0x4d,_0x161b0d:0x1dd,_0x288316:0x22f,_0x1dfbdb:0x11c,_0x322eee:0xc5,_0x4cd896:0x76,_0x297a50:0x68,_0x21d27b:0xb7,_0x463561:0x11f,_0x57250b:0xf7,_0x5c80ae:0x37d,_0x225b3d:0x51a,_0x262e71:0x26c,_0x306450:0x2bc,_0x27457d:0x64e,_0xbd65d1:0xdf,_0x389116:0x90,_0xb5ca9c:0x131,_0x2969da:0x76d,_0x254067:0x7be,_0x1e83fa:0x40d,_0x36531a:0x6f0,_0xde75d3:0x563,_0x26fcf9:0xd0,_0x4c8835:0xf5,_0x50cfe4:0x129,_0x1b6fc9:0x131,_0x12be9e:0x337,_0x4919f1:0x159,_0x1b8688:0x52c,_0x51a821:0x35b,_0x30bd93:0x10d,_0x5af9f7:0x5aa,_0x3ea238:0x3e1,_0x32bee2:0x343,_0x1bd1a7:0x3fa,_0x1d5ae9:0x1c5,_0x3dfe5c:0x174,_0x9ff12a:0x87c,_0x15e336:0x2b7,_0x561b9a:0x4df,_0x3f1f7e:0x355,_0x26e346:0x2c8,_0x4c2b27:0x434,_0x26da0b:0x491,_0x138a72:0x291,_0x16027c:0x340,_0x12720f:0x2b9,_0x1574e1:0x283,_0x1bad87:0x68b,_0x179056:0x140,_0x14a5a0:0x517,_0x2ab85a:0x35e,_0x3acbd0:0x396,_0x3f509d:0x3a,_0x1eb6b1:0x496,_0x8c6dad:0x41e,_0x486157:0x4a0,_0x49087d:0x6a5,_0x2c9ca7:0xe2,_0x17d362:0x249,_0x3ac666:0x1bf,_0x95b62b:0x87,_0x317b9a:0x701,_0x37cb6d:0x4c8,_0x494c41:0x622,_0x71613:0x77d,_0x432a06:0x498,_0x4a95d5:0x4bb,_0x55b0a1:0x406,_0x429f84:0xf0,_0x573661:0x1d3,_0x4070b9:0x47,_0x38c358:0x18c,_0x3241a3:0x1d,_0x2525d4:0x2db,_0x5a1ae9:0x6d6,_0x226c5d:0x22b,_0x44587c:0x244,_0x2861e0:0x60a,_0x202b61:0xa8,_0x3484ae:0x1e,_0x2a9321:0x33,_0x3e3adf:0x4e7,_0x1848e9:0x391,_0x438ac3:0x36c,_0xec2e:0x4a5,_0x16fdb9:0x5c5,_0x23439d:0x29d,_0x47ab80:0x1bd,_0x4b3d92:0x138,_0x598fda:0x25,_0x175f90:0x319,_0x32ec8b:0x2e5,_0x275cf2:0x10,_0x6c6749:0x263,_0x19b85d:0x17a,_0xdd8e81:0xa,_0x4fa3db:0x57b,_0x4fec74:0x439,_0x595d31:0x41a,_0x2327cc:0x5ed,_0x1b7dec:0x52f,_0x5049db:0x400,_0x3f72a2:0x35d,_0xa78931:0x5ce,_0x1078ec:0x6f0,_0x1025ab:0x637,_0x5bd84e:0x402,_0x368fc2:0x755,_0x2c9807:0x4dd,_0x165a50:0x5ea,_0xf62f28:0x5c6,_0x46d785:0x151,_0xdbbcc3:0x1fb,_0x3ae248:0x624,_0x2000ac:0x26c,_0x2ef941:0x354,_0x1f2d40:0x2a1,_0x33c797:0x359,_0x4e853c:0x6f0,_0xd87ef5:0x432,_0x17d039:0x7a2,_0x56d545:0x8b6,_0x969a84:0x2bb,_0x4c8a0b:0x150,_0x4de49e:0x7aa,_0x5798e1:0x708,_0x363099:0x5b6,_0x3c8f32:0x46a,_0x3baae5:0x4b1,_0x4411f2:0x1e3,_0x2b0d8b:0xc4,_0x534433:0x62c,_0x3809fd:0x441,_0xde48a6:0x124,_0x40c57d:0x69,_0x22a097:0x413,_0x5b7469:0x3fa,_0x3c9367:0x63a,_0x3aef63:0x106,_0x5b1d2d:0x1b3,_0x5905dd:0x70,_0x390cda:0x1d0,_0x5bb0f2:0xc9,_0x2e2751:0x7b7,_0x50f26d:0x4d5,_0x24288d:0x504,_0x4ca929:0x22e,_0xd693d9:0x285,_0x1d6370:0x320,_0xedae9c:0x625,_0x3fe06c:0x6,_0x2a9e2e:0x28f,_0x2ce55b:0x218,_0x4a6cd9:0x4c3,_0x19e494:0x1bd,_0x278564:0x791,_0x251d69:0x62c,_0x1161be:0x7a9,_0x4936c1:0xc6,_0x5956ad:0x5d,_0xe08dfc:0x222,_0x447e7b:0xcb,_0x4bfbc7:0xae,_0x302228:0x289,_0x22f413:0x139,_0x3e9b58:0x94,_0x39c6cc:0x1dd,_0x815615:0xa2,_0x1bbe17:0x365,_0x41cc29:0xb6,_0x46ba41:0x189,_0x502103:0x310,_0x4ead6d:0x4d4,_0x426af3:0x439,_0x56e2b6:0xd7,_0x542076:0xd5,_0x183ec8:0x449,_0x5a42bf:0x11d,_0x312889:0x1d5,_0x5996ab:0x4},_0x557caf={_0x7eb666:0x4bc},_0x25550e={_0x175196:0x1d8,_0x2309d5:0x1b,_0x4884ce:0x1c6},_0x2d098f={_0x1f4163:0x30,_0x1b3f1f:0x78,_0x48c732:0x230},_0x22184b={_0x45dcf2:0x100};function _0x49a27c(_0x46d44c,_0x117032,_0x483c81,_0x514d9b){return _0x39a391(_0x46d44c-0x15,_0x117032-_0x22184b._0x45dcf2,_0x514d9b-0xd,_0x117032);}function _0x4fea8f(_0x4386aa,_0x485ba5,_0x678702,_0x203a86){return _0x39a391(_0x4386aa-_0x2d098f._0x1f4163,_0x485ba5-_0x2d098f._0x1b3f1f,_0x4386aa- -_0x2d098f._0x48c732,_0x678702);}const _0x4555b0=parseAnchoredInput(_0x4401a1,_0x47b539),_0x30bdcb=await resolveEditTarget(_0x21adb4[_0x4fea8f(_0xd48dc9._0x4ba89e,0x852,_0xd48dc9._0x592da5,_0xd48dc9._0x51eaa9)],_0x21adb4['allowedDirs'],_0x4555b0[_0x4fea8f(0x679,_0xd48dc9._0x18add3,0x5cb,0x743)]);return _0x21adb4[_0x4fea8f(_0xd48dc9._0x1f5110,_0xd48dc9._0x146657,_0xd48dc9._0x48526b,_0xd48dc9._0x30dde8)][_0x49a27c(_0xd48dc9._0xf47021,_0xd48dc9._0x27eed9,0xb3a,_0xd48dc9._0xee1bc7)](_0x30bdcb[_0x4fea8f(0x38b,_0xd48dc9._0x43b967,_0xd48dc9._0x3d5dff,_0xd48dc9._0x23f8df)],_0x443683[_0x49a27c(0x71c,0xa6d,_0xd48dc9._0x4782e2,_0xd48dc9._0x2fd59e)],async()=>{const _0x3261e0=await reResolveUnderLock(_0x21adb4[_0x3f969b(0x2e7,-_0x1787e6._0x1996c5,0xc1,_0x1787e6._0x161b0d)],_0x21adb4[_0x3f969b(_0x1787e6._0x288316,-_0x1787e6._0x1dfbdb,-0x190,_0x1787e6._0x322eee)],_0x4555b0,_0x30bdcb['canonicalPath']),{observations:_0x2d9efa}=_0x21adb4;_0x2d9efa[_0x3f969b(0x83,-0xaa,0xad,_0x1787e6._0x4cd896)](_0x443683['sessionId']);const _0x21d763=_0x2d9efa[_0x3f969b(0x23a,-_0x1787e6._0x297a50,-0xd1,0x8f)](_0x3261e0[_0x3f969b(-_0x1787e6._0x21d27b,_0x1787e6._0x463561,-0xc4,-0x131)],_0x4555b0[_0x3f969b(-0x272,0xc9,-_0x1787e6._0x57250b,-0x5e)]);let _0x1142cb,_0xa8df6a;try{[_0x1142cb,_0xa8df6a]=await Promise[_0x3f969b(0x2a5,_0x1787e6._0x5c80ae,-0xa,0x1c1)]([_0x4b4811[_0x1a5898(0x7aa,_0x1787e6._0x225b3d,0x5ea,0x3e9)](_0x3261e0[_0x3f969b(-0x2d3,-_0x1787e6._0x262e71,-_0x1787e6._0x306450,-0x131)]),_0x4b4811[_0x1a5898(0x86f,0x7b3,0x72e,_0x1787e6._0x27457d)](_0x3261e0[_0x3f969b(-_0x1787e6._0xbd65d1,_0x1787e6._0x389116,-0x2b8,-_0x1787e6._0xb5ca9c)])]);}catch(_0x540c11){const _0x468618=_0x540c11 instanceof Error?_0x540c11[_0x1a5898(0x7f5,_0x1787e6._0x2969da,0x7ae,_0x1787e6._0x254067)]:String(_0x540c11);throw createAnchoredFileError('stale_snapshot',_0x1a5898(0x309,_0x1787e6._0x1e83fa,0x32c,0x437)+_0x4555b0[_0x1a5898(0x584,0x89e,_0x1787e6._0x36531a,_0x1787e6._0xde75d3)]+'\x20while\x20the\x20edit\x20was\x20pending\x20('+_0x468618+_0x3f969b(0x158,-_0x1787e6._0x26fcf9,-0x5e,0x6e),{'path':_0x4555b0['filePath']});}const _0x394c06=createNormalizedFileSnapshot(_0x3261e0[_0x3f969b(-_0x1787e6._0x4c8835,-0xd8,-_0x1787e6._0x50cfe4,-_0x1787e6._0x1b6fc9)],_0x1142cb);if(_0x394c06[_0x3f969b(-0x24d,-_0x1787e6._0x12be9e,_0x1787e6._0x4919f1,-0xfa)]!==_0x21d763[_0x1a5898(_0x1787e6._0x1b8688,_0x1787e6._0x51a821,0x4d4,0x36d)][_0x3f969b(-0x65,0x160,-0x143,-0xfa)]){const {reasonLine:_0x484e24,guidance:_0x5c1573}=staleSnapshotMessageText(_0x4555b0[_0x3f969b(-0x33,0xca,_0x1787e6._0x30bd93,0x1bd)],_0x4555b0['tag']),_0x1d1f4d=buildRecoveryContext(_0x4555b0['filePath'],_0x394c06,collectRequiredLines(_0x4555b0[_0x1a5898(0x7f6,0x9c8,0x7b6,_0x1787e6._0x5af9f7)]),_0x21adb4['outputBudgetBytes'],_0x484e24,_0x5c1573);_0x2d9efa[_0x1a5898(_0x1787e6._0x3ea238,_0x1787e6._0x32bee2,_0x1787e6._0x1bd1a7,_0x1787e6._0x1d5ae9)](_0x394c06,_0x1d1f4d[_0x3f969b(-0x1f7,_0x1787e6._0x3dfe5c,0x186,-0x70)]),throwStaleSnapshot(_0x4555b0[_0x1a5898(_0x1787e6._0x9ff12a,0x881,0x6f0,0x79a)],_0x3261e0[_0x1a5898(_0x1787e6._0x15e336,_0x1787e6._0x561b9a,0x402,_0x1787e6._0x3f1f7e)],_0x394c06,_0x1d1f4d);}let _0x10c952;try{_0x10c952=prepareCanonicalFileEdit(_0x21d763['snapshot'],_0x21d763[_0x1a5898(_0x1787e6._0x26e346,_0x1787e6._0x4c2b27,_0x1787e6._0x26da0b,_0x1787e6._0x138a72)],_0x4555b0[_0x3f969b(_0x1787e6._0x16027c,_0x1787e6._0x12720f,0x447,_0x1787e6._0x1574e1)]);}catch(_0x17fe96){if(_0x17fe96 instanceof ToolExecutionError&&_0x17fe96['structured'][_0x1a5898(0x52c,0x4fd,0x5ba,_0x1787e6._0x1bad87)]==='unseen_lines'){const _0x22a657=_0x17fe96['structured'][_0x1a5898(_0x1787e6._0x179056,_0x1787e6._0x14a5a0,_0x1787e6._0x2ab85a,0x42d)]??collectRequiredLines(_0x4555b0['operations']),{reasonLine:_0x5725ab,guidance:_0x210ba4}=unseenLinesMessageText(),_0x5bfd8c=buildRecoveryContext(_0x4555b0[_0x3f969b(_0x1787e6._0x3acbd0,-_0x1787e6._0x3f509d,0x30b,0x1bd)],_0x394c06,_0x22a657,_0x21adb4['outputBudgetBytes'],_0x5725ab,_0x210ba4);_0x2d9efa[_0x1a5898(0x3c0,_0x1787e6._0x1eb6b1,_0x1787e6._0x1bd1a7,0x42a)](_0x394c06,_0x5bfd8c[_0x1a5898(_0x1787e6._0x8c6dad,_0x1787e6._0x486157,0x4c3,_0x1787e6._0x49087d)]),throwUnseenLines(_0x4555b0['filePath'],_0x3261e0['canonicalPath'],_0x394c06,_0x22a657,_0x5bfd8c);}if(_0x17fe96 instanceof ToolExecutionError&&_0x17fe96[_0x3f969b(-0x1c9,_0x1787e6._0x2c9ca7,-_0x1787e6._0x17d362,-0x98)][_0x3f969b(-0x1ba,-_0x1787e6._0x3ac666,-_0x1787e6._0x21d27b,_0x1787e6._0x95b62b)]===_0x1a5898(_0x1787e6._0x317b9a,_0x1787e6._0x37cb6d,_0x1787e6._0x494c41,_0x1787e6._0x71613)){const {reasonLine:_0xdc9d62,guidance:_0x116621}=noChangeMessageText(_0x4555b0['filePath'],0x1),_0x3eddd7=buildRecoveryContext(_0x4555b0['filePath'],_0x394c06,collectRequiredLines(_0x4555b0[_0x3f969b(0x3e9,0x339,0x23a,0x283)]),_0x21adb4[_0x1a5898(0x594,0x618,_0x1787e6._0x432a06,_0x1787e6._0x4a95d5)],_0xdc9d62,_0x116621);_0x2d9efa[_0x1a5898(0x330,_0x1787e6._0x55b0a1,_0x1787e6._0x1bd1a7,0x23c)](_0x394c06,_0x3eddd7[_0x3f969b(0x10b,0x1a9,_0x1787e6._0x429f84,-0x70)]),throwNoChange(_0x4555b0['filePath'],_0x3261e0[_0x3f969b(-_0x1787e6._0x573661,-_0x1787e6._0x4070b9,-_0x1787e6._0x38c358,-_0x1787e6._0x1b6fc9)],_0x394c06,_0x3eddd7,0x1);}throw _0x17fe96;}assertPreviewWithinBounds(_0x10c952[_0x3f969b(0x176,0x44,-_0x1787e6._0x3241a3,0xf9)],_0x3261e0[_0x3f969b(-0x202,-_0x1787e6._0x2525d4,-0x2a7,-0x131)],_0x4555b0[_0x1a5898(_0x1787e6._0x5a1ae9,0x92a,_0x1787e6._0x36531a,0x5cf)]);const _0x1f39a0=_0x10c952['operations'][_0x3f969b(0x20a,_0x1787e6._0x226c5d,_0x1787e6._0x44587c,0x218)];function _0x1a5898(_0x5edccb,_0x144494,_0x59a28e,_0x41995f){return _0x49a27c(_0x5edccb-_0x25550e._0x175196,_0x144494,_0x59a28e-_0x25550e._0x2309d5,_0x59a28e- -_0x25550e._0x4884ce);}const _0x3e4fce=serializeNormalizedFile(_0x10c952[_0x1a5898(0x32a,0x34e,0x3ce,_0x1787e6._0x2861e0)],{'bom':_0x394c06[_0x3f969b(-0x11c,-_0x1787e6._0x202b61,0xa9,-0x5d)],'eol':_0x394c06[_0x3f969b(_0x1787e6._0x3484ae,_0x1787e6._0x2a9321,0x313,_0x1787e6._0x2c9ca7)]}),_0x27d0a0=_0xa8df6a[_0x1a5898(0x521,_0x1787e6._0x3e3adf,_0x1787e6._0x1848e9,_0x1787e6._0x438ac3)];if(_0x4555b0[_0x1a5898(_0x1787e6._0xec2e,0x23e,0x3bc,_0x1787e6._0x16fdb9)]){const _0x4d6ba6=buildResultText(_0x4555b0[_0x3f969b(0x7a,_0x1787e6._0x23439d,0x21,_0x1787e6._0x47ab80)],_0x394c06,selectChangedContextLines(_0x10c952['blocks'],_0x394c06,'before'),_0x21adb4[_0x3f969b(-_0x1787e6._0x4b3d92,0x141,-_0x1787e6._0x598fda,-0x9b)],'Validated\x20'+_0x1f39a0+_0x3f969b(-_0x1787e6._0x175f90,-_0x1787e6._0x32ec8b,-_0x1787e6._0x275cf2,-0xce));_0x2d9efa['record'](_0x394c06,_0x4d6ba6[_0x3f969b(0x7f,-0x2a5,-_0x1787e6._0x6c6749,-0xa2)]);const _0x376d6d={'preview':buildPreview(_0x4401a1,_0x4555b0,_0x3261e0,_0x21d763,_0x10c952),'beforeDigest':_0x21d763[_0x3f969b(-0xaf,-_0x1787e6._0x19b85d,_0x1787e6._0xdd8e81,-0x5f)][_0x1a5898(_0x1787e6._0x4fa3db,0x4ef,_0x1787e6._0x4fec74,0x26f)],'afterDigest':_0x394c06['digest'],'beforeTag':_0x4555b0[_0x1a5898(0x294,0x68a,0x4d5,_0x1787e6._0x595d31)],'afterTag':_0x394c06['tag'],'bytesWritten':0x0,'dryRun':!![],'operationCount':_0x1f39a0,'tokenClassification':'edit'};return createToolOutput(_0x4d6ba6[_0x1a5898(0x590,_0x1787e6._0x2327cc,_0x1787e6._0x1b7dec,_0x1787e6._0x5049db)],_0x376d6d);}try{await _0x4b4811[_0x1a5898(0x765,0x7c5,0x796,0x95a)](_0x3261e0['canonicalPath'],_0x3e4fce,_0x27d0a0);}catch(_0x5e9ae6){const _0x35d01f=_0x5e9ae6 instanceof Error?_0x5e9ae6['message']:String(_0x5e9ae6);throw createAnchoredFileError(_0x1a5898(0x720,_0x1787e6._0x3f72a2,0x59e,0x6f9),'write_failed:\x20Failed\x20to\x20write\x20'+_0x4555b0['filePath']+':\x20'+_0x35d01f+'.\x20The\x20write\x20did\x20not\x20land;\x20re-read\x20the\x20file\x20with\x20FileRead\x20and\x20retry.',{'path':_0x4555b0[_0x1a5898(0x944,_0x1787e6._0xa78931,_0x1787e6._0x1078ec,_0x1787e6._0x1025ab)],'canonicalPath':_0x3261e0[_0x1a5898(0x2cc,0x407,_0x1787e6._0x5bd84e,0x1b9)]});}let _0x5f0500,_0x146361;try{[_0x5f0500,_0x146361]=await Promise[_0x1a5898(_0x1787e6._0x368fc2,0x5a2,0x6f4,_0x1787e6._0x2c9807)]([_0x4b4811[_0x1a5898(0x5a5,0x3ea,_0x1787e6._0x165a50,_0x1787e6._0xf62f28)](_0x3261e0['canonicalPath']),_0x4b4811[_0x3f969b(0x1b6,-0xf,_0x1787e6._0x46d785,_0x1787e6._0xdbbcc3)](_0x3261e0[_0x1a5898(0x43b,_0x1787e6._0x3ae248,0x402,0x1e3)])]);}catch(_0x512507){const _0x603a1d=_0x512507 instanceof Error?_0x512507['message']:String(_0x512507);throw createAnchoredFileError(_0x3f969b(-_0x1787e6._0x2000ac,0xdb,-_0x1787e6._0x2ef941,-_0x1787e6._0x4919f1),_0x3f969b(_0x1787e6._0x1f2d40,-0x17,_0x1787e6._0x33c797,0x1fa)+_0x4555b0[_0x1a5898(0x506,0x4be,_0x1787e6._0x4e853c,0x882)]+_0x3f969b(_0x1787e6._0xd87ef5,0x314,0x59,0x255)+_0x603a1d+');\x20no\x20rollback\x20was\x20performed.\x20Re-read\x20with\x20FileRead\x20first.',{'path':_0x4555b0[_0x1a5898(_0x1787e6._0x17d039,_0x1787e6._0x56d545,_0x1787e6._0x4e853c,0x69e)],'canonicalPath':_0x3261e0['canonicalPath']});}if(!_0x5f0500[_0x1a5898(0x311,0x335,0x474,0x531)](_0x3e4fce)||(_0x146361[_0x1a5898(_0x1787e6._0x969a84,0x2aa,0x391,_0x1787e6._0x4c8a0b)]&0x1ff)!==(_0x27d0a0&0x1ff)){const _0x1511ff=_0x1a5898(_0x1787e6._0x4de49e,_0x1787e6._0x5798e1,0x58d,0x649)+_0x4555b0[_0x1a5898(0x635,_0x1787e6._0x363099,0x6f0,0x6a2)]+_0x1a5898(_0x1787e6._0x3c8f32,_0x1787e6._0x2969da,0x5d9,_0x1787e6._0x3baae5),_0x217326='The\x20write\x20landed,\x20but\x20the\x20read-back\x20did\x20not\x20match\x20the\x20intended\x20bytes\x20or\x20permissions.\x20No\x20rollback\x20was\x20performed;\x20re-read\x20with\x20FileRead\x20to\x20confirm\x20the\x20current\x20state.';let _0x31b9bb;try{_0x31b9bb=createNormalizedFileSnapshot(_0x3261e0[_0x3f969b(-_0x1787e6._0x4411f2,-0x14c,_0x1787e6._0x2b0d8b,-0x131)],_0x5f0500);}catch{_0x31b9bb=void 0x0;}let _0x370bf9;_0x31b9bb!==void 0x0?(_0x370bf9=buildRecoveryContext(_0x4555b0['filePath'],_0x31b9bb,selectChangedContextLines(_0x10c952[_0x1a5898(0x4df,0x6f1,_0x1787e6._0x534433,_0x1787e6._0x3809fd)],_0x31b9bb,_0x3f969b(-_0x1787e6._0x179056,-0x69,-_0x1787e6._0xde48a6,-_0x1787e6._0x40c57d)),_0x21adb4['outputBudgetBytes'],_0x1511ff,_0x217326),_0x2d9efa[_0x1a5898(0x1f1,_0x1787e6._0x22a097,_0x1787e6._0x5b7469,_0x1787e6._0x3c9367)](_0x31b9bb,_0x370bf9[_0x3f969b(-0x2ca,-_0x1787e6._0x3aef63,_0x1787e6._0x5b1d2d,-_0x1787e6._0x5905dd)])):_0x370bf9={'tag':'','digest':'','contextLines':[],'output':_0x1511ff+'\x0a'+_0x217326};throw createAnchoredFileError('post_write_drift',_0x370bf9[_0x3f969b(-_0x1787e6._0x390cda,0x120,-_0x1787e6._0x5bb0f2,-0x4)],{'path':_0x4555b0[_0x1a5898(0x8df,_0x1787e6._0x2e2751,0x6f0,0x779)],'canonicalPath':_0x3261e0[_0x1a5898(0x4c1,0x37f,_0x1787e6._0x5bd84e,0x4d5)],..._0x31b9bb!==void 0x0?{'tag':_0x31b9bb[_0x1a5898(0x702,0x6e9,_0x1787e6._0x50f26d,_0x1787e6._0x24288d)],'digest':_0x31b9bb[_0x3f969b(-_0x1787e6._0x4ca929,_0x1787e6._0xb5ca9c,-_0x1787e6._0xd693d9,-0xfa)]}:{},..._0x370bf9[_0x1a5898(0x65f,_0x1787e6._0x1d6370,0x4c3,_0x1787e6._0xedae9c)][_0x3f969b(_0x1787e6._0x3fe06c,0x104,_0x1787e6._0x2a9e2e,_0x1787e6._0x2ce55b)]>0x0?{'contextLines':[..._0x370bf9[_0x1a5898(0x5c5,0x60e,_0x1787e6._0x4a6cd9,0x5c6)]]}:{}});}const _0x415395=createNormalizedFileSnapshot(_0x3261e0['canonicalPath'],_0x5f0500),_0x547d7b=buildResultText(_0x4555b0[_0x3f969b(0x17d,0x24b,0x2e1,_0x1787e6._0x19e494)],_0x415395,selectChangedContextLines(_0x10c952[_0x1a5898(0x427,_0x1787e6._0x278564,_0x1787e6._0x251d69,_0x1787e6._0x1161be)],_0x415395,_0x3f969b(0xf5,-_0x1787e6._0x4936c1,_0x1787e6._0x5956ad,-0x69)),_0x21adb4[_0x3f969b(0x1ba,-0x7d,-_0x1787e6._0xe08dfc,-0x9b)],'Applied\x20'+_0x1f39a0+'\x20operations.');_0x2d9efa[_0x3f969b(-_0x1787e6._0x447e7b,-_0x1787e6._0x4bfbc7,-_0x1787e6._0x302228,-_0x1787e6._0x22f413)](_0x415395,_0x547d7b[_0x3f969b(-_0x1787e6._0x3e9b58,0x1b9,-_0x1787e6._0x39c6cc,-_0x1787e6._0x815615)]);function _0x3f969b(_0x15aaee,_0xb7865f,_0x223f72,_0x2eec0e){return _0x4fea8f(_0x2eec0e- -_0x557caf._0x7eb666,_0xb7865f-0xf6,_0x223f72,_0x2eec0e-0xae);}_0x2d9efa[_0x3f969b(-_0x1787e6._0x1bbe17,_0x1787e6._0x41cc29,0x80,-_0x1787e6._0x46ba41)](_0x3261e0['canonicalPath']);const _0x112ce6={'preview':buildPreview(_0x4401a1,_0x4555b0,_0x3261e0,_0x21d763,_0x10c952),'beforeDigest':_0x21d763[_0x1a5898(0x354,_0x1787e6._0x502103,_0x1787e6._0x4ead6d,0x6c9)]['digest'],'afterDigest':_0x415395[_0x1a5898(_0x1787e6._0x12be9e,0x658,_0x1787e6._0x426af3,0x1e1)],'beforeTag':_0x4555b0['tag'],'afterTag':_0x415395[_0x3f969b(-_0x1787e6._0x56e2b6,_0x1787e6._0x542076,-0x70,-0x5e)],'bytesWritten':_0x3e4fce[_0x3f969b(0x390,_0x1787e6._0x183ec8,_0x1787e6._0x5a42bf,0x218)],'dryRun':![],'operationCount':_0x1f39a0,'tokenClassification':'edit'};return createToolOutput(_0x547d7b[_0x3f969b(0x131,0x19c,_0x1787e6._0x312889,-_0x1787e6._0x5996ab)],_0x112ce6);});}import{readFile as _0xef514d,stat as _0x1cd922}from'fs/promises';import*as _0x4ab264 from'path';function detectEol(_0x310c7c){const _0x283850={_0xc9095e:0x781,_0x37e60f:0x8ec,_0x512c0f:0x285,_0x2c0775:0x350,_0x1b5ecc:0xfe,_0xc7cdbf:0x304},_0x39ddeb={_0x4b71f9:0x9f,_0x55a3d0:0x5ed},_0x5bcd53={_0x2b8bae:0x17c,_0x11e5c5:0x85,_0x3a796b:0x51};function _0x51fb18(_0x2d1323,_0x442ff7,_0x20a9f0,_0x1b2471){return _0x39a391(_0x2d1323-_0x5bcd53._0x2b8bae,_0x442ff7-_0x5bcd53._0x11e5c5,_0x1b2471-_0x5bcd53._0x3a796b,_0x2d1323);}function _0x3a6314(_0x2478af,_0x34d797,_0x4e9832,_0x36a895){return _0x39a391(_0x2478af-0x16f,_0x34d797-_0x39ddeb._0x4b71f9,_0x4e9832- -_0x39ddeb._0x55a3d0,_0x36a895);}return/\r\n/[_0x51fb18(0x398,_0x283850._0xc9095e,0x5a2,0x530)](_0x310c7c[_0x51fb18(0x99d,0x874,_0x283850._0x37e60f,0x8b8)](_0x3a6314(-0x52,0xc0,0x12e,_0x283850._0x512c0f)))?_0x3a6314(_0x283850._0x2c0775,-_0x283850._0x1b5ecc,0x125,_0x283850._0xc7cdbf):'lf';}function normalizeToLf(_0x51011e){const _0x2e08fa={_0x5d3522:0x6b1},_0x3ab114={_0x509aaa:0x91,_0x3ac2d3:0xbc};function _0x3f7889(_0x36f673,_0x183759,_0x8514c4,_0x10ea0c){return _0x39a391(_0x36f673-_0x3ab114._0x509aaa,_0x183759-_0x3ab114._0x3ac2d3,_0x10ea0c- -0x29b,_0x36f673);}return _0x51011e[_0x3f7889(0x663,0x2d3,_0x2e08fa._0x5d3522,0x4f0)](/\r\n/g,'\x0a');}function convertEol(_0x44037c,_0x2ba310){const _0x171f54={_0x42b2d9:0x89c,_0xfbba46:0x757,_0x215e98:0x7ad,_0x5d6542:0x20b,_0x423195:0x3b6,_0x56081b:0x28e},_0x12848f={_0x394054:0x3d5};function _0x5c3852(_0x202ab3,_0x1ee482,_0x3d185a,_0x4e1cf6){return _0x39a391(_0x202ab3-0x6d,_0x1ee482-0xe9,_0x1ee482- -_0x12848f._0x394054,_0x4e1cf6);}function _0x6b137f(_0x9071f,_0x795e1f,_0x15b923,_0x5eb08d){return _0x1957f6(_0x9071f-0x1ce,_0x795e1f-0x157,_0x795e1f,_0x5eb08d-0x5a0);}return _0x2ba310===_0x6b137f(_0x171f54._0x42b2d9,_0x171f54._0xfbba46,0x7f5,_0x171f54._0x215e98)?_0x44037c[_0x5c3852(_0x171f54._0x5d6542,_0x171f54._0x423195,0x462,_0x171f54._0x56081b)](/\n/g,'\x0d\x0a'):_0x44037c;}function resolveAnchoredEditTarget(_0x4ed551,_0xb1d699,_0x27f713,_0x1c5a90){const _0x41e83a={_0x55cd2e:0xa0c,_0x530e86:0x93c,_0x39b249:0x8ff,_0x52bc59:0x70a,_0x2c5e46:0x6ad,_0x1fdf9d:0x4e0,_0x40a763:0x6d9,_0xdfcded:0x5b7,_0x365841:0x608,_0x4afb1f:0x40f,_0xd465d1:0x62e,_0x1a02a9:0x5cd,_0x5a047a:0x3f0,_0x2c04f5:0x50e,_0x3d87e0:0x49a,_0xab4bfe:0xa52,_0x41a1fd:0x6ce,_0x14836a:0x669,_0x351594:0x5a5,_0x213ee1:0x711,_0x1444bf:0x5e0,_0x4e6a9c:0x5e3,_0x28ae75:0x83d},_0xfafcfe={_0x63b8dd:0xb,_0x4a81ef:0x55d},_0x28bc66={_0x55e222:0xa9};function _0x1b5925(_0x33a10e,_0x2ce82d,_0x177511,_0x6bbc26){return _0x1957f6(_0x33a10e-0xa5,_0x2ce82d-_0x28bc66._0x55e222,_0x6bbc26,_0x33a10e-0x2a4);}const _0x5ef24c=_0x4ed551['mode']??'exact';if(_0x5ef24c===_0x5a98cd(_0x41e83a._0x55cd2e,0x7ee,_0x41e83a._0x530e86,_0x41e83a._0x39b249))return void 0x0;const _0x27b853=_0x4ed551[_0x5a98cd(_0x41e83a._0x52bc59,_0x41e83a._0x2c5e46,0x74a,_0x41e83a._0x1fdf9d)],_0x3804e7=_0x4ed551[_0x5a98cd(0x5b0,0x62e,_0x41e83a._0x40a763,_0x41e83a._0xdfcded)],_0xbfdf3f=_0x4ed551['outputBudgetBytes'];if(_0x27b853===void 0x0||_0x3804e7===void 0x0||_0xbfdf3f===void 0x0){const _0x24b0aa=[_0x27b853===void 0x0?_0x5a98cd(_0x41e83a._0x365841,_0x41e83a._0x2c5e46,0x5e9,0x81b):void 0x0,_0x3804e7===void 0x0?_0x5a98cd(_0x41e83a._0x4afb1f,_0x41e83a._0xd465d1,_0x41e83a._0x1a02a9,0x60d):void 0x0,_0xbfdf3f===void 0x0?_0x1b5925(_0x41e83a._0x5a047a,_0x41e83a._0x2c04f5,0x4a5,_0x41e83a._0x3d87e0):void 0x0][_0x5a98cd(0x9ba,0x840,_0x41e83a._0xab4bfe,0x951)](_0x343da8=>_0x343da8!==void 0x0)[_0x5a98cd(_0x41e83a._0x41a1fd,_0x41e83a._0x14836a,0x4b4,0x556)](',\x20');throw new Error(_0xb1d699+'\x20'+_0x5ef24c+_0x5a98cd(_0x41e83a._0x351594,_0x41e83a._0x213ee1,_0x41e83a._0x1444bf,0x861)+_0x24b0aa+_0x5a98cd(0x651,_0x41e83a._0x4e6a9c,_0x41e83a._0x28ae75,0x778));}function _0x5a98cd(_0x171d8e,_0x1364b6,_0x105405,_0xb9b590){return _0x1957f6(_0x171d8e-0xaa,_0x1364b6-_0xfafcfe._0x63b8dd,_0x105405,_0x1364b6-_0xfafcfe._0x4a81ef);}return{'mode':_0x5ef24c,'environment':{'defaultCwd':_0x27f713,'allowedDirs':_0x1c5a90,'observations':_0x27b853,'mutations':_0x3804e7,'outputBudgetBytes':_0xbfdf3f}};}function createFileEditTool(_0x4b01c5={}){const _0x25a845={_0x57c376:0x60b,_0x405e37:0x44e,_0x4db567:0x6a1,_0x40e77d:0x5b9,_0x160ecd:0x318,_0x2e68a3:0x252,_0xfa62c0:0x336,_0x18deb2:0x391,_0x523915:0x32a,_0x17b525:0x1b9,_0x193811:0x553,_0x54c384:0xe1,_0x9182dc:0x301,_0x143a63:0x172,_0x3816af:0x83,_0x25fdff:0x258,_0x3a052f:0x174,_0xa1a32b:0x15,_0x5d371c:0x86,_0x21a591:0x274,_0xf12511:0xff,_0x4647e7:0x46d,_0xa5be0:0x46,_0x40b830:0x2d0,_0x495b8a:0x504,_0x50a0df:0x66,_0x5f4738:0x6b,_0x26a05d:0x40f,_0x1af258:0x14c,_0xb14ffc:0x189,_0x1aa0d5:0x5e2,_0x3f131f:0x733,_0x15b7d8:0x5f8,_0x90e704:0x61c,_0x39c148:0x778,_0x436656:0x161,_0x511b0b:0x263,_0x16fbdd:0x5b},_0x2813b3={_0x486d6b:0x6a4,_0x3e855c:0x79e,_0x457d01:0x74f,_0x172166:0x2d9,_0x14f4a1:0x27f,_0xe9273:0x14d,_0x191e5d:0x184,_0x7874e6:0x87,_0x51f78f:0xbe,_0x14c703:0x45,_0x46d1f3:0x53,_0x777aa8:0x8c,_0x41a746:0xd0,_0x336d5b:0xa,_0x13ce05:0xff,_0x44bebd:0x133,_0x252f15:0x240,_0x2717ab:0x5ea,_0xd1ac2f:0x572,_0x53d12d:0x6da,_0x313245:0x674,_0x361225:0x639,_0x4051ae:0x7cf,_0x368776:0x590,_0x52a90f:0x1cc,_0x238e1e:0x38,_0xcf4cf5:0x2d2,_0x13e95b:0x1ca,_0x2fe561:0xdd,_0x519965:0x8c,_0x1e96be:0x76a,_0x330c76:0x5f6,_0x18d293:0x534,_0x30634d:0x661,_0x315ab1:0x530,_0xf8c40c:0x71f,_0x1595cc:0x75a,_0x2f64af:0x5b6,_0x4e4c20:0x672,_0x3bb786:0x7cd,_0x377704:0x271,_0x20ada2:0x4a,_0x273e96:0x172,_0x581a12:0x2d8,_0x1bae98:0x5bf,_0x32b9a2:0x54a,_0x2069f1:0x7b0,_0x11d46c:0x7a3,_0x42a8ae:0x8be,_0x175fd5:0x1f3,_0x56de95:0x505,_0x19a279:0x1eb},_0x4bae77={_0x7540c8:0x483},_0x5ee9c8={_0x368675:0x196,_0x217b14:0x87,_0x2f8b95:0x47b},_0x287dbb={_0x9afbe4:0x10e,_0x593d1b:0x34c},_0x4208a9=_0x4ab264[_0x3a759d(0x65b,_0x25a845._0x57c376,0x4c1,0x42f)](_0x4b01c5[_0x41e27d(_0x25a845._0x405e37,_0x25a845._0x4db567,_0x25a845._0x40e77d,0x37b)]??process[_0x41e27d(_0x25a845._0x160ecd,_0x25a845._0x2e68a3,0x26e,0x55d)]()),_0x1eaed4=_0x4b01c5[_0x41e27d(_0x25a845._0xfa62c0,_0x25a845._0x18deb2,_0x25a845._0x523915,_0x25a845._0x17b525)]??[],_0x493c28=_0x4b01c5[_0x3a759d(0x53b,_0x25a845._0x193811,_0x25a845._0x54c384,_0x25a845._0x9182dc)]??_0x41e27d(_0x25a845._0x143a63,-0x1,0x1f,0x280);function _0x3a759d(_0x3eaccd,_0x45254a,_0x1d336c,_0xe2977c){return _0x39a391(_0x3eaccd-0xe5,_0x45254a-_0x287dbb._0x9afbe4,_0xe2977c- -_0x287dbb._0x593d1b,_0x3eaccd);}function _0x41e27d(_0x3daadd,_0x3409f7,_0x125099,_0x39c155){return _0x39a391(_0x3daadd-_0x5ee9c8._0x368675,_0x3409f7-_0x5ee9c8._0x217b14,_0x3daadd- -_0x5ee9c8._0x2f8b95,_0x39c155);}const _0x4024d7=resolveAnchoredEditTarget(_0x4b01c5,_0x493c28,_0x4208a9,_0x1eaed4);if(_0x4024d7!==void 0x0){const {mode:_0x4bb341,environment:_0xb89170}=_0x4024d7;return defineTool({'name':_0x493c28,'permissionClass':_0x3a759d(0x3e5,_0x25a845._0x3816af,_0x25a845._0x25fdff,0x212),'description':_0x4bb341===_0x41e27d(_0x25a845._0x3a052f,0x127,-_0x25a845._0xa1a32b,0x201)?_0x41e27d(0xa1,-0x190,0x11d,-0xb4):_0x41e27d(0xd7,-_0x25a845._0x5d371c,_0x25a845._0x21a591,_0x25a845._0xf12511),'inputSchema':_0x4bb341==='hashline'?hashlineFileEditInputSchema:structuredFileEditInputSchema,async *'execute'(_0x3d92ca,_0x44f5d7){return yield await executeAnchoredFileEdit(_0x4bb341,_0x3d92ca,_0x44f5d7,_0xb89170),void 0x0;}});}return defineTool({'name':_0x493c28,'permissionClass':_0x3a759d(_0x25a845._0x4647e7,_0x25a845._0xa5be0,0x332,0x212),'description':_0x41e27d(_0x25a845._0x40b830,0x43e,0x49a,_0x25a845._0x495b8a),'inputSchema':{'type':'object','properties':{'filePath':{'type':_0x41e27d(0x28a,_0x25a845._0x50a0df,_0x25a845._0x5f4738,_0x25a845._0x26a05d)},'description':{'type':'string','description':_0x3a759d(0x327,-0x2d,_0x25a845._0x1af258,_0x25a845._0xb14ffc)},'oldText':{'type':'string'},'newText':{'type':'string'},'dryRun':{'type':_0x3a759d(_0x25a845._0x1aa0d5,_0x25a845._0x3f131f,0x515,_0x25a845._0x15b7d8)}},'required':[_0x3a759d(_0x25a845._0x90e704,_0x25a845._0x39c148,0x794,0x55d),_0x41e27d(_0x25a845._0x436656,0x72,_0x25a845._0x511b0b,0xa2),_0x41e27d(0x107,_0x25a845._0x16fbdd,0x17e,0x299)]},async *'execute'(_0x55d41e){const _0x3eb97e={_0x478b63:0x11c},_0x55fd81=resolveAllowedPath(_0x4208a9,_0x1eaed4,_0x55d41e[_0x264d79(_0x2813b3._0x486d6b,_0x2813b3._0x3e855c,0x8b1,_0x2813b3._0x457d01)]);await assertWorkspaceFile(_0x55fd81);const _0x2ac0af=await _0x1cd922(_0x55fd81);function _0xa7423e(_0x5be549,_0xf89c81,_0x1d11a8,_0x513258){return _0x41e27d(_0x513258- -_0x3eb97e._0x478b63,_0xf89c81-0x41,_0x1d11a8-0xcc,_0x5be549);}const _0x4a2c59=await _0xef514d(_0x55fd81),_0x4276f3=detectEol(_0x4a2c59),_0x45f3ff=normalizeToLf(_0x4a2c59['toString'](_0xa7423e(_0x2813b3._0x172166,_0x2813b3._0x14f4a1,_0x2813b3._0xe9273,_0x2813b3._0x191e5d))),_0xa51d43=normalizeToLf(_0x55d41e[_0xa7423e(_0x2813b3._0x7874e6,-_0x2813b3._0x51f78f,-0x12a,_0x2813b3._0x14c703)]),_0x3cbeab=normalizeToLf(_0x55d41e[_0xa7423e(0xea,-_0x2813b3._0x46d1f3,_0x2813b3._0x777aa8,-0x15)]),_0x4ea33e=replaceFirstExact(_0x45f3ff,_0xa51d43,_0x3cbeab);if(_0x4ea33e===void 0x0){const _0x4aeedb=_0xa51d43['slice'](0x0,0x64)['replace'](/\n/g,'\x5cn');throw new ToolExecutionError(_0xa7423e(_0x2813b3._0x41a746,-_0x2813b3._0x336d5b,0x201,_0x2813b3._0x13ce05)+_0x4aeedb+(_0xa51d43[_0xa7423e(_0x2813b3._0x44bebd,0x4cd,_0x2813b3._0x252f15,0x36d)]>0x64?_0x264d79(_0x2813b3._0x2717ab,0x621,_0x2813b3._0xd1ac2f,0x6d0):'')+'\x22',{'filePath':_0x55d41e['filePath']});}const _0x327a18=convertEol(_0x4ea33e[_0x264d79(_0x2813b3._0x53d12d,_0x2813b3._0x313245,0x68b,0x839)],_0x4276f3),_0x199647=Buffer[_0x264d79(0x785,_0x2813b3._0x361225,_0x2813b3._0x4051ae,_0x2813b3._0x368776)](_0x327a18,_0xa7423e(_0x2813b3._0x52a90f,_0x2813b3._0x238e1e,_0x2813b3._0xcf4cf5,0x184)),_0x4e257f=sha256Bytes(_0x4a2c59),_0x1576cb=sha256Bytes(_0x199647);function _0x264d79(_0x43d202,_0x5748e8,_0x2475cc,_0x203898){return _0x41e27d(_0x2475cc-_0x4bae77._0x7540c8,_0x5748e8-0x1e3,_0x2475cc-0x71,_0x43d202);}const _0x428609=_0x4e257f===_0x1576cb,_0x381b51=_0x55d41e[_0xa7423e(-0x157,-_0x2813b3._0x13e95b,_0x2813b3._0x2fe561,-0x22)]??![];return!_0x381b51&&!_0x428609&&await atomicReplaceFile(_0x55fd81,_0x199647,_0x2ac0af['mode']),yield createToolOutput(_0x428609?_0xa7423e(-0x2d4,-0x23d,0x72,-_0x2813b3._0x519965):_0x381b51?_0x264d79(_0x2813b3._0x1e96be,0x76b,0x57b,_0x2813b3._0x330c76):_0x264d79(0x47d,_0x2813b3._0x18d293,_0x2813b3._0x30634d,_0x2813b3._0x315ab1),{'filePath':_0x55d41e['filePath'],'resolvedPath':_0x55fd81,'created':_0x2ac0af[_0x264d79(_0x2813b3._0xf8c40c,_0x2813b3._0x1595cc,0x8d7,0x93d)]['toISOString'](),'modified':_0x2ac0af[_0x264d79(_0x2813b3._0x2f64af,0x896,_0x2813b3._0x4e4c20,_0x2813b3._0x3bb786)]['toISOString'](),'size':_0x2ac0af[_0xa7423e(_0x2813b3._0x377704,_0x2813b3._0x20ada2,-0x5f,_0x2813b3._0x273e96)],'eol':_0x4276f3,'oldTextLength':_0xa51d43[_0xa7423e(_0x2813b3._0x581a12,0x38f,0x2cd,0x36d)],'newTextLength':_0x3cbeab[_0xa7423e(_0x2813b3._0x1bae98,0x410,_0x2813b3._0x32b9a2,0x36d)],'bytesWritten':_0x428609||_0x381b51?0x0:_0x199647[_0x264d79(_0x2813b3._0x2069f1,_0x2813b3._0x11d46c,0x90c,_0x2813b3._0x42a8ae)],'beforeSha':_0x4e257f,'afterSha':_0x1576cb,'dryRun':_0x381b51,'noChange':_0x428609,'lineNumbers':_0x4ea33e[_0xa7423e(_0x2813b3._0x175fd5,_0x2813b3._0x56de95,_0x2813b3._0x19a279,0x3ba)]}),void 0x0;}});}var FileMutationCoordinator=class{['tails']=new Map();async[_0x39a391(0xa94,0x7e8,0x906,0xab3)](_0x5abd3a,_0x37564b,_0x5754c2){const _0x1cd1f9={_0x47bd6c:0x253,_0x1fa2a6:0x1da,_0x144ef5:0xf1,_0xadc8da:0x39b,_0x2b1503:0x28f,_0xe496e5:0x1a1,_0x552460:0x777,_0x243b42:0x175,_0x1384bb:0x1b7,_0xd5155b:0x253,_0x2fac7f:0x1ec,_0x4b6ea1:0x20a,_0xfa3e03:0x329,_0x4d09d0:0x47c},_0x55e50b={_0x10b791:0x282,_0x2bb01a:0x5,_0x26742f:0x1d8,_0x153789:0x17b,_0x1a7351:0x134,_0x59fc3c:0x69,_0x29077a:0x414,_0x150509:0x5d,_0x31f569:0x20c,_0x5442d0:0x1f4,_0x190255:0x155},_0x4a1b89={_0xa3a74e:0x2d,_0x27f04b:0x133,_0x58cd7c:0x53a},_0x28e5b5={_0x460c2d:0x18d,_0x310f46:0x11c},_0x24fc24={_0x5a537a:0x7e,_0x30dc62:0x1ec,_0x4225bb:0x604};throwIfAborted(_0x37564b);const _0x873bc3=this[_0x1e943f(0x325,0x3b5,_0x1cd1f9._0x47bd6c,0x140)][_0x1e943f(-_0x1cd1f9._0x1fa2a6,0x2ba,0x7a,_0x1cd1f9._0x144ef5)](_0x5abd3a)??Promise['resolve'](),_0x3d8dd6=_0x873bc3[_0x1e943f(_0x1cd1f9._0xadc8da,0xc8,_0x1cd1f9._0x2b1503,_0x1cd1f9._0xe496e5)](async()=>{return throwIfAborted(_0x37564b),_0x5754c2();}),_0x4a2ec5=_0x3d8dd6[_0x16659d(0x5ed,0x7cb,0x9ab,_0x1cd1f9._0x552460)](()=>void 0x0,()=>void 0x0);this[_0x1e943f(_0x1cd1f9._0x243b42,_0x1cd1f9._0x1384bb,_0x1cd1f9._0xd5155b,0x17)][_0x1e943f(_0x1cd1f9._0x2fac7f,_0x1cd1f9._0x4b6ea1,_0x1cd1f9._0xfa3e03,_0x1cd1f9._0x4d09d0)](_0x5abd3a,_0x4a2ec5);function _0x1e943f(_0x3fba5d,_0x232d9c,_0x5e4e42,_0x13485){return _0x39a391(_0x3fba5d-_0x24fc24._0x5a537a,_0x232d9c-_0x24fc24._0x30dc62,_0x5e4e42- -_0x24fc24._0x4225bb,_0x232d9c);}function _0x16659d(_0x45ab54,_0x16164f,_0x1a7c6d,_0x4c936e){return _0x39a391(_0x45ab54-_0x28e5b5._0x460c2d,_0x16164f-0x196,_0x4c936e- -_0x28e5b5._0x310f46,_0x1a7c6d);}return void _0x4a2ec5['finally'](()=>{const _0x19d6fd={_0x2e282f:0xfb,_0x4d9f21:0x19,_0x4525ae:0x563};function _0x4cc7a0(_0x1a30cc,_0xc1698,_0x56cafd,_0x3fc484){return _0x16659d(_0x1a30cc-_0x4a1b89._0xa3a74e,_0xc1698-_0x4a1b89._0x27f04b,_0x1a30cc,_0xc1698- -_0x4a1b89._0x58cd7c);}function _0x521975(_0x4cd5a3,_0xe7c26f,_0x958977,_0x1d7761){return _0x16659d(_0x4cd5a3-_0x19d6fd._0x2e282f,_0xe7c26f-_0x19d6fd._0x4d9f21,_0xe7c26f,_0x1d7761- -_0x19d6fd._0x4525ae);}this[_0x521975(_0x55e50b._0x10b791,_0x55e50b._0x2bb01a,-0x53,_0x55e50b._0x26742f)][_0x4cc7a0(_0x55e50b._0x153789,0x28,_0x55e50b._0x1a7351,0xe2)](_0x5abd3a)===_0x4a2ec5&&this[_0x4cc7a0(_0x55e50b._0x59fc3c,0x201,_0x55e50b._0x29077a,0x290)][_0x521975(-_0x55e50b._0x150509,_0x55e50b._0x31f569,_0x55e50b._0x5442d0,_0x55e50b._0x190255)](_0x5abd3a);}),_0x3d8dd6;}};import{mkdir as _0x38e6f5,stat as _0x1b97fb}from'fs/promises';import*as _0x425b06 from'path';function createFileNewTool(_0x1b7be4={}){const _0x3a17d3={_0x39a9cc:0x65b,_0x32fe58:0x50b,_0x595dce:0x38a,_0x2bbf8d:0x481,_0x505c80:0x561,_0x405dde:0x4d4,_0x360236:0x57f,_0x5986e2:0x5de,_0x3baff7:0xbc,_0x27b77c:0x292,_0x48622a:0x1a,_0x339a51:0x4b1,_0x48d3ff:0x893,_0x16cece:0x88f,_0x87342a:0x64a,_0x434f48:0x6dc,_0x5d1164:0x505,_0x5666e2:0x314,_0xa39dcd:0x54a,_0x382060:0x6f7,_0x59f650:0x287,_0x75cb58:0x12a},_0x188d54={_0x50a93e:0x585,_0x3ac1d8:0x473,_0x5dd44b:0x344,_0x80c42a:0x475,_0x918308:0x427,_0x3d1947:0x2ae,_0x15ec7d:0x385,_0x380fb0:0x195,_0x3a9cf7:0x37b,_0x1dfc1e:0x1a,_0x12d7b2:0xd2,_0x1364cc:0x20d,_0x4e3220:0xd,_0x47596e:0x2f1,_0x505b35:0xca,_0x2b7fcd:0x11e,_0x389a81:0x528,_0x2165b3:0x509,_0x38ebb6:0x47,_0x39ddd1:0x21b,_0x59daac:0x4b7,_0x17f284:0x2fd,_0x543548:0x3c2,_0x286092:0x251,_0x164211:0x201,_0x4b96be:0x392,_0x33f6bc:0x9a,_0x1435f1:0x17e,_0x32e4e2:0x47c,_0x23ddb9:0x2c3,_0x3aaf72:0x3c4,_0x344294:0x152,_0x37ca3c:0x452,_0x3a2316:0x38e,_0x3dce7f:0x17b,_0x55980d:0x68b,_0xd8f2ea:0x3cb,_0x2017d3:0x564,_0x28890b:0x442,_0x35f6f2:0x476},_0xe001e8={_0x5f91ec:0x232},_0x29c974={_0x25d876:0x62,_0x5bfcc2:0x578},_0x3c16cd=_0x425b06[_0x5f10f3(0x562,_0x3a17d3._0x39a9cc,0x549,_0x3a17d3._0x32fe58)](_0x1b7be4['defaultCwd']??process[_0x5f10f3(_0x3a17d3._0x595dce,_0x3a17d3._0x2bbf8d,_0x3a17d3._0x505c80,_0x3a17d3._0x405dde)]()),_0x31d657=_0x1b7be4[_0x5f10f3(0x437,0x4fd,_0x3a17d3._0x360236,_0x3a17d3._0x5986e2)]??[];function _0x2652e8(_0x1d9213,_0x5880a1,_0x2e1933,_0x2b3ac5){return _0x39a391(_0x1d9213-_0x29c974._0x25d876,_0x5880a1-0xfb,_0x2b3ac5- -_0x29c974._0x5bfcc2,_0x1d9213);}const _0x4f8ba3=_0x1b7be4[_0x2652e8(-0x158,_0x3a17d3._0x3baff7,_0x3a17d3._0x27b77c,0xd5)]??'FileNew',{observations:_0x531af8,anchored:anchored=![]}=_0x1b7be4;function _0x5f10f3(_0x2260a0,_0x2dd3bb,_0x147161,_0x17256b){return _0x39a391(_0x2260a0-0x1ce,_0x2dd3bb-0xda,_0x147161- -_0xe001e8._0x5f91ec,_0x2dd3bb);}return defineTool({'name':_0x4f8ba3,'permissionClass':_0x2652e8(-0x214,-0x67,0x232,-_0x3a17d3._0x48622a),'description':_0x5f10f3(_0x3a17d3._0x339a51,_0x3a17d3._0x48d3ff,0x695,_0x3a17d3._0x16cece),'inputSchema':{'type':_0x5f10f3(_0x3a17d3._0x87342a,_0x3a17d3._0x434f48,_0x3a17d3._0x5d1164,_0x3a17d3._0x5666e2),'properties':{'filePath':{'type':_0x5f10f3(_0x3a17d3._0xa39dcd,_0x3a17d3._0x382060,0x4d3,0x3a4)},'content':{'type':_0x2652e8(_0x3a17d3._0x59f650,0x1a,_0x3a17d3._0x75cb58,0x18d)}},'required':['filePath','content']},async *'execute'(_0x5abc50,_0x2b1bcb){const _0x366533={_0x57ef65:0xb9,_0x5502ea:0x1ee,_0x3e609b:0x1d8},_0x212d48=resolveAllowedPath(_0x3c16cd,_0x31d657,_0x5abc50['filePath']),_0x5999f0=await _0x1b97fb(_0x212d48)[_0x1108d8(_0x188d54._0x50a93e,0x2d6,_0x188d54._0x3ac1d8,0x449)](()=>void 0x0),_0x247b5e=_0x5999f0!==void 0x0,_0x22cc45=Buffer[_0x1108d8(_0x188d54._0x5dd44b,0x4e6,_0x188d54._0x80c42a,_0x188d54._0x918308)](_0x5abc50[_0x12438e(-_0x188d54._0x3d1947,0x53,-0x16d,-_0x188d54._0x15ec7d)],_0x1108d8(_0x188d54._0x380fb0,0x4c2,0x2bb,_0x188d54._0x3a9cf7)),_0x452347=_0x5999f0!==void 0x0?_0x5999f0['mode']&0xfff:0x1b6&~process[_0x12438e(0x1b4,0x12,_0x188d54._0x1dfc1e,-_0x188d54._0x12d7b2)]();function _0x12438e(_0x3c279b,_0x2a0f42,_0x20dfeb,_0x4cad8c){return _0x2652e8(_0x4cad8c,_0x2a0f42-0x8f,_0x20dfeb-0x35,_0x20dfeb- -0x123);}let _0xd33b1b;function _0x1108d8(_0x4ed423,_0xcab69d,_0x255904,_0x36a9eb){return _0x2652e8(_0x4ed423,_0xcab69d-_0x366533._0x57ef65,_0x255904-_0x366533._0x5502ea,_0x36a9eb-_0x366533._0x3e609b);}anchored&&_0x531af8!==void 0x0&&(_0xd33b1b=createNormalizedFileSnapshot(_0x212d48,_0x22cc45)[_0x12438e(_0x188d54._0x1364cc,0x16f,-_0x188d54._0x4e3220,0xbd)]);await _0x38e6f5(_0x425b06[_0x1108d8(_0x188d54._0x47596e,_0x188d54._0x505b35,-0x2f,_0x188d54._0x2b7fcd)](_0x212d48),{'recursive':!![]}),await atomicReplaceFile(_0x212d48,_0x22cc45,_0x452347);if(_0xd33b1b!==void 0x0&&_0x531af8!==void 0x0){const _0x39ad0d=await resolveCanonicalAllowedFile(_0x3c16cd,_0x31d657,_0x5abc50[_0x1108d8(0x5b4,_0x188d54._0x918308,_0x188d54._0x389a81,_0x188d54._0x2165b3)]),_0x5e4e46=createNormalizedFileSnapshot(_0x39ad0d[_0x1108d8(0x321,_0x188d54._0x38ebb6,0xd7,_0x188d54._0x39ddd1)],_0x22cc45);_0x531af8[_0x1108d8(_0x188d54._0x59daac,0x4b3,_0x188d54._0x17f284,_0x188d54._0x543548)](_0x2b1bcb[_0x1108d8(0x3b2,_0x188d54._0x286092,0x2c5,_0x188d54._0x164211)]),_0x531af8[_0x1108d8(_0x188d54._0x4b96be,_0x188d54._0x33f6bc,_0x188d54._0x1435f1,0x213)](_0x5e4e46,_0x5e4e46['lines']['map']((_0x593503,_0x2b5d28)=>_0x2b5d28+0x1));}return yield createToolOutput(_0xd33b1b===void 0x0?_0x1108d8(_0x188d54._0x32e4e2,_0x188d54._0x23ddb9,0x359,0x4fb)+_0x5abc50['filePath']+'.':'['+_0x5abc50[_0x12438e(0x17e,_0x188d54._0x3aaf72,0x20e,_0x188d54._0x344294)]+'#'+_0xd33b1b+']\x0aFile\x20written\x20at\x20'+_0x5abc50['filePath']+'.',{'filePath':_0x5abc50[_0x1108d8(0x65c,_0x188d54._0x37ca3c,0x6ab,_0x188d54._0x2165b3)],'resolvedPath':_0x212d48,'bytes':_0x22cc45['length'],'lines':_0x5abc50[_0x12438e(-_0x188d54._0x3a2316,-0xad,-0x16d,-0x303)][_0x12438e(-0x15,-_0x188d54._0x3dce7f,0x64,0x1e5)](/\r?\n/)[_0x1108d8(_0x188d54._0x55980d,0x34b,_0x188d54._0xd8f2ea,_0x188d54._0x2017d3)],'created':new Date()[_0x1108d8(_0x188d54._0x28890b,0x382,0x58f,_0x188d54._0x35f6f2)](),'overwritten':_0x247b5e,..._0xd33b1b===void 0x0?{}:{'tag':_0xd33b1b}}),void 0x0;}});}var FILE_OBSERVATION_LIMITS={'maxPaths':0x1e,'maxVersionsPerPath':0x4,'maxSnapshotBytes':0x40*0x400*0x400},FileObservationStore=class{[_0x1957f6(0x2b6,0x254,0x27e,0xb2)];['tagForDigest'];['sessionId'];[_0x39a391(0x4b1,0x71b,0x556,0x406)]=new Map();[_0x39a391(0x693,0x683,0x4d1,0x5e4)]=[];['totalBytes']=0x0;[_0x39a391(0x6f5,0x7ac,0x7da,0x8c3)]=new Map();[_0x1957f6(0xb5,0x1dd,0x2d6,0x134)]=new Map();constructor(_0x5f3dd4={}){const _0x4ac043={_0x3804ff:0xa5,_0x183b30:0x36e,_0x3428:0x181},_0x1548a5={_0x4d3544:0x1e8,_0x1f1e87:0xcf};this['limits']={...FILE_OBSERVATION_LIMITS,..._0x5f3dd4[_0x1fcdff(-_0x4ac043._0x3804ff,_0x4ac043._0x183b30,_0x4ac043._0x3428,0xc8)]};function _0x1fcdff(_0xea3bb6,_0x296e9a,_0x55b109,_0x2ead1c){return _0x1957f6(_0xea3bb6-_0x1548a5._0x4d3544,_0x296e9a-0x1e3,_0xea3bb6,_0x55b109-_0x1548a5._0x1f1e87);}this['tagForDigest']=_0x5f3dd4['tagForDigest'];}[_0x1957f6(0x222,0x404,0x2e7,0x25d)](_0x3818bb){const _0x8c1f03={_0x7c8ab4:0x307,_0x5042c7:0x588},_0x189ee1={_0x3373f3:0x97,_0x434242:0x6c2},_0x4a6d0c={_0x4e04d4:0x3a,_0x3f5574:0x36b};function _0x4b30a1(_0x52477b,_0x34c49a,_0x2eceb8,_0x1eb158){return _0x1957f6(_0x52477b-0x19d,_0x34c49a-_0x4a6d0c._0x4e04d4,_0x52477b,_0x2eceb8-_0x4a6d0c._0x3f5574);}function _0x1339f6(_0x21a1cb,_0x40fa47,_0x395e27,_0x2f4089){return _0x39a391(_0x21a1cb-_0x189ee1._0x3373f3,_0x40fa47-0x76,_0x2f4089- -_0x189ee1._0x434242,_0x40fa47);}if(this['sessionId']===_0x3818bb)return;this[_0x4b30a1(0x60f,0x500,0x50b,_0x8c1f03._0x7c8ab4)](),this[_0x4b30a1(0x319,0x2b2,0x407,_0x8c1f03._0x5042c7)]=_0x3818bb;}[_0x1957f6(-0x144,-0x12d,0x302,0xae)](_0x4a33d0,_0x4478ea){const _0xd40141={_0x413e82:0x816,_0x2b813b:0x650,_0x2043ef:0x559,_0x228bda:0x529,_0x26c9cb:0x500,_0x3f3efc:0x5b5,_0x401398:0x699,_0x4b310d:0x5f0,_0x415640:0x640,_0x5c901d:0x3ea,_0x25c2b0:0x849,_0x2eae0a:0x683,_0x3d9196:0xa35,_0x149a03:0x5af,_0x3d2254:0x643,_0x2c3d67:0x7a5,_0x27f471:0x6e7,_0x5bfc7d:0x55e,_0x317c3b:0x6c7,_0x37a359:0x5fb,_0x538f8b:0x6b7,_0x35891e:0x46a,_0x529d9d:0x3d9,_0x51934a:0x565,_0x5d69c4:0x584,_0x29eafd:0x5f4,_0x465863:0x3b4,_0x3e61d8:0x4a0,_0x164665:0x524,_0x58596a:0x8ac,_0x8a8843:0x744,_0x13409f:0xa1a,_0x3b4f62:0x55f,_0x2099a4:0x5c9,_0x555401:0x6d6,_0x2ff1d9:0x914,_0x198b78:0x875,_0x5a2296:0x635,_0x3fecae:0x5d4,_0x498e3c:0x614,_0x553b85:0x496,_0x134da0:0x646,_0x55dc1f:0x4d8,_0x504c3f:0x5ae,_0x58b227:0x8e5,_0x30163d:0x9ab,_0x55f094:0x58f,_0x132fe9:0x58c,_0x5b55cf:0x7fe,_0x36f439:0x55f,_0x1dc78c:0x6cd,_0x1157b6:0x329,_0x1bc2c3:0x5aa,_0x39c5d0:0x504,_0x4726ea:0x919,_0x32970b:0x85f,_0x3cdd0b:0xa62,_0x23bce6:0x71b,_0x3b5d3e:0x6cc,_0x387302:0x7e0,_0x5a0381:0x949,_0x3c3701:0x58d,_0x336f52:0x384,_0x28a0aa:0x713,_0x1588f3:0x4db,_0x31ea6c:0x4d3,_0xaa8662:0x350,_0x577e21:0x588,_0x3065b7:0x73d,_0x329521:0x734},_0x298dac={_0x4dd2e9:0x1e2,_0x5cf8b1:0x1a0,_0x4385d8:0x53e};if(_0x4a33d0[_0x1c5552(0x669,0x539,0x545,0x716)]>this['limits']['maxSnapshotBytes'])throw createAnchoredFileError(_0x1c5552(0x68e,_0xd40141._0x413e82,0x821,0x605),_0x1c5552(_0xd40141._0x2b813b,_0xd40141._0x2043ef,0x683,_0xd40141._0x228bda)+_0x4a33d0[_0x4359d4(0x5f4,0x5ef,_0xd40141._0x26c9cb,0x425)]+_0x1c5552(0x61b,0x567,0x76f,_0xd40141._0x3f3efc)+_0x4a33d0[_0x4359d4(0x6fa,_0xd40141._0x401398,0x639,0x800)]+'\x20bytes,\x20exceeding\x20the\x20observation-store\x20bound\x20of\x20'+this[_0x4359d4(_0xd40141._0x4b310d,0x3c7,_0xd40141._0x415640,_0xd40141._0x5c901d)]['maxSnapshotBytes']+_0x1c5552(_0xd40141._0x25c2b0,_0xd40141._0x2eae0a,_0xd40141._0x3d9196,0x9cc),{'path':_0x4a33d0['canonicalPath'],'size':_0x4a33d0[_0x1c5552(0x669,0x597,_0xd40141._0x149a03,0x4d2)]});function _0x1c5552(_0xfa8c2f,_0x3e1c45,_0x1d2bfe,_0x57736a){return _0x39a391(_0xfa8c2f-0x155,_0x3e1c45-0x172,_0xfa8c2f- -0x58,_0x57736a);}const _0x9a7a3=this[_0x1c5552(_0xd40141._0x3d2254,_0xd40141._0x2c3d67,0x4d5,0x6bb)]?this[_0x1c5552(_0xd40141._0x3d2254,_0xd40141._0x27f471,_0xd40141._0x5bfc7d,0x890)](_0x4a33d0['digest']):_0x4a33d0[_0x4359d4(_0xd40141._0x317c3b,0x68e,0x855,0x612)],_0x3a8215=this[_0x1c5552(0x4fe,_0xd40141._0x37a359,0x59a,0x3ff)][_0x4359d4(_0xd40141._0x538f8b,0x7dc,0x71e,0x861)](_0x4a33d0['canonicalPath']),_0x22ffa9=_0x3a8215?.[_0x1c5552(_0xd40141._0x35891e,0x513,_0xd40141._0x529d9d,_0xd40141._0x51934a)](_0x2a22bb=>_0x2a22bb[_0x1c5552(0x635,0x468,0x591,0x51e)][_0x1c5552(0x59a,0x608,0x4af,0x567)]===_0x4a33d0[_0x4359d4(0x62b,0x7eb,0x4ec,0x4eb)]);let _0x3cb887;function _0x4359d4(_0xde2dde,_0x239b85,_0x10819e,_0x170343){return _0x1957f6(_0xde2dde-_0x298dac._0x4dd2e9,_0x239b85-_0x298dac._0x5cf8b1,_0x239b85,_0xde2dde-_0x298dac._0x4385d8);}if(_0x22ffa9){for(const _0x8ce01b of _0x4478ea)_0x22ffa9[_0x4359d4(_0xd40141._0x2eae0a,_0xd40141._0x5d69c4,0x739,0x540)]['add'](_0x8ce01b);_0x3cb887=_0x22ffa9;}else{_0x3cb887={'snapshot':_0x4a33d0,'tag':_0x9a7a3,'observedLines':new Set(_0x4478ea)};if(!_0x3a8215)this['versionsByPath']['set'](_0x4a33d0[_0x4359d4(_0xd40141._0x29eafd,_0xd40141._0x465863,_0xd40141._0x3e61d8,_0xd40141._0x164665)],[_0x3cb887]);else{if(_0x3a8215[_0x1c5552(_0xd40141._0x58596a,0x783,_0xd40141._0x8a8843,_0xd40141._0x13409f)]>=this[_0x1c5552(_0xd40141._0x3b4f62,0x6fe,_0xd40141._0x2099a4,_0xd40141._0x555401)][_0x4359d4(_0xd40141._0x2ff1d9,0xa25,0x838,0x9df)]){const _0x5cdcf1=_0x3a8215[_0x1c5552(_0xd40141._0x198b78,0xa64,0x670,0x61f)]();if(_0x5cdcf1)this['releaseBytes'](_0x5cdcf1[_0x1c5552(_0xd40141._0x5a2296,0x56b,0x729,0x6b4)]['digest']);}_0x3a8215['push'](_0x3cb887);}this[_0x4359d4(0x76e,_0xd40141._0x3fecae,0x843,_0xd40141._0x498e3c)](_0x4a33d0[_0x4359d4(0x62b,0x719,_0xd40141._0x553b85,0x87e)],_0x4a33d0[_0x1c5552(0x669,_0xd40141._0x134da0,_0xd40141._0x55dc1f,_0xd40141._0x504c3f)]);}this[_0x1c5552(_0xd40141._0x58b227,_0xd40141._0x30163d,0x92f,0xa43)](_0x4a33d0['canonicalPath']);while(this[_0x4359d4(_0xd40141._0x55f094,0x6e9,0x616,_0xd40141._0x3e61d8)][_0x1c5552(0x6b1,_0xd40141._0x132fe9,_0xd40141._0x5b55cf,0x47c)]>this[_0x1c5552(_0xd40141._0x36f439,_0xd40141._0x1dc78c,_0xd40141._0x1157b6,0x50f)][_0x4359d4(0x55e,_0xd40141._0x1bc2c3,0x591,_0xd40141._0x39c5d0)]){this[_0x1c5552(_0xd40141._0x4726ea,_0xd40141._0x32970b,0x84b,_0xd40141._0x3cdd0b)]();}while(this[_0x4359d4(_0xd40141._0x23bce6,_0xd40141._0x3b5d3e,_0xd40141._0x387302,_0xd40141._0x5a0381)]>this[_0x1c5552(0x55f,0x690,_0xd40141._0x3c3701,_0xd40141._0x336f52)][_0x1c5552(_0xd40141._0x28a0aa,0x55b,_0xd40141._0x1588f3,0x54d)]&&this[_0x1c5552(0x479,_0xd40141._0x31ea6c,_0xd40141._0xaa8662,_0xd40141._0x577e21)][_0x4359d4(0x93d,0xb56,_0xd40141._0x3065b7,0xa48)]>0x1){this['evictLeastRecentlyUsedPath']();}return{'snapshot':_0x3cb887['snapshot'],'observedLines':new Set(_0x3cb887[_0x1c5552(0x5f2,0x647,_0xd40141._0x329521,0x5e6)])};}[_0x1957f6(0x30a,0x3ed,0x1b7,0x276)](_0xd164d0,_0x4862d1){const _0x2d766e={_0x26cc2e:0x38e,_0x2b66ef:0x244,_0x3820b5:0x17f,_0x13c17d:0x206,_0x494950:0x239,_0x590a27:0x2d6,_0x13460a:0x437,_0x255782:0x7c1,_0x518aa2:0x86f,_0x61ddf:0x811,_0x397453:0x98b,_0x2e9075:0x76d,_0x2523e2:0x768,_0x274fd5:0x97a,_0x1795ab:0xa6c,_0x2f2ccc:0x6e5,_0x1a21d7:0x733,_0xbeb234:0x7d0,_0x5458ab:0x858,_0x21e585:0xb05,_0x13a226:0x641,_0x3a4b27:0x832,_0x2b011e:0x694,_0x183b3c:0x8d5,_0x4d209f:0x399,_0x1d6b3c:0x23e,_0x2b84b4:0x153,_0x26c519:0x35f,_0x5b1414:0x3ff,_0x2f728a:0x338,_0x1c5c84:0x35c},_0x5f2f8f={_0x1e9cf9:0x140,_0x24d530:0x1da,_0x44affe:0x312},_0x471bb2={_0x124e8d:0x1e7,_0x400daf:0x58c};function _0x5318a2(_0x389c0d,_0x362ac7,_0x17674a,_0x14d7b9){return _0x1957f6(_0x389c0d-0x18,_0x362ac7-_0x471bb2._0x124e8d,_0x17674a,_0x362ac7-_0x471bb2._0x400daf);}const _0x15fef9=this[_0x3ea36e(0x2cf,_0x2d766e._0x26cc2e,_0x2d766e._0x2b66ef,0x2b3)][_0x3ea36e(0x38b,0x5bf,0x36c,0x45a)](_0xd164d0);if(!_0x15fef9)throw createAnchoredFileError(_0x3ea36e(0x38e,0x58c,0x3d4,0x26b),'Snapshot\x20tag\x20'+_0x4862d1+_0x3ea36e(0x30d,_0x2d766e._0x3820b5,_0x2d766e._0x13c17d,_0x2d766e._0x494950)+_0xd164d0+_0x3ea36e(_0x2d766e._0x590a27,0x3a6,_0x2d766e._0x13460a,0x593),{'path':_0xd164d0,'tag':_0x4862d1});const _0x3934f9=_0x15fef9[_0x5318a2(_0x2d766e._0x255782,_0x2d766e._0x518aa2,0x6ba,0x92d)](_0x5ab21d=>_0x5ab21d[_0x3ea36e(0x535,0x1a9,0x37c,0x2a5)]===_0x4862d1);if(_0x3934f9[_0x5318a2(_0x2d766e._0x61ddf,_0x2d766e._0x397453,0xa6f,0x956)]===0x0)throw createAnchoredFileError(_0x5318a2(0x872,_0x2d766e._0x2e9075,0x8a3,0x975),_0x5318a2(_0x2d766e._0x2523e2,_0x2d766e._0x274fd5,0x7c1,_0x2d766e._0x1795ab)+_0x4862d1+_0x5318a2(0x5f7,0x59f,0x390,_0x2d766e._0x2f2ccc)+_0xd164d0+_0x5318a2(_0x2d766e._0x1a21d7,_0x2d766e._0xbeb234,_0x2d766e._0x5458ab,0x612),{'path':_0xd164d0,'tag':_0x4862d1});if(_0x3934f9[_0x5318a2(0xab8,0x98b,0xb49,_0x2d766e._0x21e585)]>0x1)throw createAnchoredFileError(_0x3ea36e(0x807,0x5af,_0x2d766e._0x13a226,0x6ae),_0x3ea36e(_0x2d766e._0x3a4b27,0x3c3,0x5e1,0x6bf)+_0x4862d1+_0x5318a2(_0x2d766e._0x2b011e,_0x2d766e._0x183b3c,0x67f,0x969)+_0xd164d0+_0x3ea36e(0x4f8,0x242,_0x2d766e._0x13460a,0x34a),{'path':_0xd164d0,'tag':_0x4862d1});function _0x3ea36e(_0x16b07c,_0x1b101a,_0xcbb20f,_0x333a92){return _0x39a391(_0x16b07c-_0x5f2f8f._0x1e9cf9,_0x1b101a-_0x5f2f8f._0x24d530,_0xcbb20f- -_0x5f2f8f._0x44affe,_0x1b101a);}return this['touchPath'](_0xd164d0),{'snapshot':_0x3934f9[0x0][_0x3ea36e(_0x2d766e._0x4d209f,_0x2d766e._0x1d6b3c,0x37b,_0x2d766e._0x2b84b4)],'observedLines':new Set(_0x3934f9[0x0][_0x3ea36e(_0x2d766e._0x26c519,_0x2d766e._0x5b1414,_0x2d766e._0x2f728a,_0x2d766e._0x1c5c84)])};}[_0x39a391(0x920,0xa1c,0x93b,0x7bb)](_0x5d0723,_0x651623){const _0x5072ae={_0x5a7b6f:0x801,_0x2b851c:0x884,_0x2f2771:0x5d3,_0x27bde5:0x53f,_0x371010:0x78,_0x5a4b97:0x208,_0x595f04:0x1cc,_0x462424:0x765},_0x3031f7={_0x2df44f:0x16f,_0x57de08:0x73},_0x23ab8c={_0x2acdd1:0x12},_0x4c3b7f=_0x5d0723+'\x00'+_0x651623,_0x4481ba=(this[_0x203995(_0x5072ae._0x5a7b6f,0x64e,_0x5072ae._0x2b851c,_0x5072ae._0x2f2771)][_0x203995(0x711,0x693,0x87d,_0x5072ae._0x27bde5)](_0x4c3b7f)??0x0)+0x1;function _0x203995(_0x124d24,_0x380caf,_0x3498f2,_0x2e31a7){return _0x1957f6(_0x124d24-_0x23ab8c._0x2acdd1,_0x380caf-0x153,_0x3498f2,_0x380caf-0x51a);}this[_0x5e4c74(_0x5072ae._0x371010,_0x5072ae._0x5a4b97,0x29e,_0x5072ae._0x595f04)][_0x5e4c74(0x795,_0x5072ae._0x462424,0x592,0x702)](_0x4c3b7f,_0x4481ba);function _0x5e4c74(_0x1e874a,_0x99da29,_0x28690e,_0xa1cc59){return _0x1957f6(_0x1e874a-_0x3031f7._0x2df44f,_0x99da29-_0x3031f7._0x57de08,_0x1e874a,_0x28690e-0x16a);}return _0x4481ba;}[_0x1957f6(0xdd,0x24b,0x6c,0x5e)](_0x97cae){const _0x1890a0={_0x448132:0x8cc,_0x111003:0x8d3,_0x416d39:0x531,_0x5d7312:0x64a,_0x1051fb:0x48a,_0x5b069f:0x50a,_0x25f33f:0x4e6,_0x1c60fe:0x28f,_0x22e5f3:0x3a5},_0x410657={_0x301d1f:0x17b,_0xdf36e3:0x190},_0x17fc47={_0x480091:0x149,_0x122f39:0x96,_0x34b48d:0x502};function _0x554888(_0x150886,_0x92519c,_0x348475,_0x5bb66a){return _0x1957f6(_0x150886-_0x17fc47._0x480091,_0x92519c-_0x17fc47._0x122f39,_0x150886,_0x348475-_0x17fc47._0x34b48d);}const _0x265786=_0x97cae+'\x00';function _0x363229(_0x1df3a0,_0x308fd1,_0x49a638,_0x486a98){return _0x1957f6(_0x1df3a0-_0x410657._0x301d1f,_0x308fd1-_0x410657._0xdf36e3,_0x49a638,_0x1df3a0-0x217);}for(const _0x795ef5 of[...this['noChangeCounters'][_0x554888(0xa1a,_0x1890a0._0x448132,0x8d3,_0x1890a0._0x111003)]()]){if(_0x795ef5[_0x363229(_0x1890a0._0x416d39,_0x1890a0._0x5d7312,_0x1890a0._0x1051fb,0x4f2)](_0x265786))this[_0x363229(0x34b,_0x1890a0._0x5b069f,0x23e,0x224)][_0x363229(_0x1890a0._0x25f33f,_0x1890a0._0x1c60fe,0x50a,_0x1890a0._0x22e5f3)](_0x795ef5);}}[_0x39a391(0x44b,0x5f6,0x6a5,0x589)](){const _0x3141ec={_0x1399a7:0x13f,_0x11bbf0:0x284,_0x5463d7:0x259,_0x64ea11:0x2f7,_0x560ed5:0x19a,_0x565681:0x77,_0x5b041e:0x85,_0x1589dc:0x2cc,_0x4a2f31:0xcc,_0x86ede5:0xa4,_0x2f4f75:0x355,_0x175f4a:0x157,_0x4e7093:0xbf},_0x55f782={_0x48919a:0x82,_0x5d0bd6:0x41,_0x444e8c:0xb9};this[_0x5e11e3(_0x3141ec._0x1399a7,0x443,0x36c,_0x3141ec._0x11bbf0)][_0x4a5660(_0x3141ec._0x5463d7,_0x3141ec._0x64ea11,_0x3141ec._0x560ed5,_0x3141ec._0x565681)]();function _0x4a5660(_0x27f8a0,_0x387f85,_0x3f5963,_0x26d398){return _0x1957f6(_0x27f8a0-_0x55f782._0x48919a,_0x387f85-_0x55f782._0x5d0bd6,_0x387f85,_0x27f8a0-_0x55f782._0x444e8c);}this[_0x4a5660(_0x3141ec._0x5b041e,_0x3141ec._0x1589dc,-_0x3141ec._0x4a2f31,_0x3141ec._0x86ede5)]=[],this[_0x5e11e3(0x309,_0x3141ec._0x2f4f75,0x4f8,0x5bc)]=0x0;function _0x5e11e3(_0x525aee,_0x2a4781,_0x326fdd,_0x40b953){return _0x39a391(_0x525aee-0x5b,_0x2a4781-0x1f4,_0x326fdd- -0x1ea,_0x40b953);}this[_0x4a5660(0x38e,0x5c4,0x3f4,0x274)][_0x5e11e3(0x6c1,0x39b,0x4bb,0x35c)](),this['noChangeCounters'][_0x4a5660(_0x3141ec._0x5463d7,_0x3141ec._0x175f4a,0x316,_0x3141ec._0x4e7093)]();}[_0x1957f6(0x25f,0x367,0x689,0x438)](_0x403891){const _0x206389={_0x5e8686:0x975,_0x2c2177:0x7c0,_0x2346a4:0x4ef,_0xfac30d:0x4dc,_0x1ac8c3:0x75c,_0x5bc440:0x80c,_0x24ee63:0x38f,_0x14ccc1:0x36c,_0x529a06:0x585,_0x598220:0x7dc,_0x15fe40:0x9e7,_0x2448f9:0x978},_0x24c6a5={_0x958115:0xc7,_0x3ed876:0x32,_0x7f358f:0x165},_0x44c08d=this['recency'][_0x3ec5cb(0x7c6,_0x206389._0x5e8686,_0x206389._0x2c2177,0x58d)](_0x403891);function _0x362760(_0x1901c9,_0x234cdb,_0x3e1c2f,_0xd079e9){return _0x39a391(_0x1901c9-0x19e,_0x234cdb-0x85,_0x1901c9- -0x142,_0x234cdb);}if(_0x44c08d!==-0x1)this[_0x362760(0x38f,0x5af,_0x206389._0x2346a4,0x43a)][_0x362760(0x605,_0x206389._0xfac30d,_0x206389._0x1ac8c3,_0x206389._0x5bc440)](_0x44c08d,0x1);function _0x3ec5cb(_0x494b8d,_0x133718,_0x25feae,_0x4456bf){return _0x39a391(_0x494b8d-_0x24c6a5._0x958115,_0x133718-_0x24c6a5._0x3ed876,_0x25feae- -_0x24c6a5._0x7f358f,_0x4456bf);}this[_0x3ec5cb(_0x206389._0x24ee63,0x3e1,_0x206389._0x14ccc1,_0x206389._0x529a06)][_0x362760(_0x206389._0x598220,0x93c,_0x206389._0x15fe40,_0x206389._0x2448f9)](_0x403891);}[_0x39a391(0x779,0x7a4,0x971,0xa4b)](){const _0x214eb8={_0x38ff40:0x1ad,_0x1aa40e:0x213,_0x355602:0x9b,_0xb4cb21:0x32,_0x12b775:0x34b,_0x207b5a:0x35a,_0x430eae:0x466,_0x3512f6:0x1b3,_0x59953f:0x4c0,_0x3ea21d:0x359,_0x52545a:0xb9,_0x22ceac:0x1ee,_0x32e2ce:0x226,_0x550541:0x107},_0x529914={_0x1e5975:0x141},_0xc91ff6={_0x18b9c1:0x165};function _0x1f9001(_0x51691e,_0x329f7d,_0x1e6d11,_0x453346){return _0x39a391(_0x51691e-_0xc91ff6._0x18b9c1,_0x329f7d-0x18f,_0x51691e- -0x324,_0x1e6d11);}const _0x2502b0=this[_0x1f9001(_0x214eb8._0x38ff40,_0x214eb8._0x1aa40e,0x362,-_0x214eb8._0x355602)]['shift']();if(_0x2502b0===void 0x0)return;function _0x105af5(_0x33520f,_0x427788,_0x3867b1,_0x4b3bb8){return _0x39a391(_0x33520f-0x1d0,_0x427788-_0x529914._0x1e5975,_0x3867b1- -0x39a,_0x427788);}const _0x187d95=this[_0x105af5(0x226,-_0x214eb8._0xb4cb21,0x1bc,_0x214eb8._0x12b775)][_0x1f9001(_0x214eb8._0x207b5a,_0x214eb8._0x430eae,_0x214eb8._0x3512f6,_0x214eb8._0x59953f)](_0x2502b0);this['versionsByPath']['delete'](_0x2502b0);if(_0x187d95){for(const _0x224089 of _0x187d95)this['releaseBytes'](_0x224089[_0x105af5(_0x214eb8._0x3ea21d,_0x214eb8._0x52545a,0x2f3,0xf9)][_0x105af5(_0x214eb8._0x22ceac,_0x214eb8._0x32e2ce,0x258,_0x214eb8._0x550541)]);}}[_0x1957f6(0x53,0x2b0,0x99,0x230)](_0x4e066e,_0x5a73be){const _0x306e40={_0x794845:0x24f,_0x26aeff:0x42a,_0x599218:0x4a6,_0x1b6836:0x331,_0x2f9fb0:0x50e,_0x344f1c:0x156,_0x2ea9ed:0x223},_0x1ee17e={_0x21b062:0x1d2},_0x229a2b={_0x50858a:0x4a};function _0x27c624(_0x2bf9a0,_0x123b29,_0x2d27cb,_0x55adcc){return _0x1957f6(_0x2bf9a0-_0x229a2b._0x50858a,_0x123b29-0xcf,_0x2d27cb,_0x123b29- -0x86);}function _0x1c5841(_0x2061ea,_0x6ebae9,_0x10f598,_0x4acaaf){return _0x39a391(_0x2061ea-_0x1ee17e._0x21b062,_0x6ebae9-0x1aa,_0x10f598- -0x5fc,_0x2061ea);}!this[_0x27c624(0x39a,_0x306e40._0x794845,0x1fc,0x29b)]['has'](_0x4e066e)&&(this['bytesByDigest'][_0x1c5841(_0x306e40._0x26aeff,_0x306e40._0x599218,_0x306e40._0x1b6836,_0x306e40._0x2f9fb0)](_0x4e066e,_0x5a73be),this[_0x1c5841(-_0x306e40._0x344f1c,0x343,0xe6,_0x306e40._0x2ea9ed)]+=_0x5a73be);}[_0x1957f6(0x17a,0x3d7,0x258,0x2e8)](_0x27d9ef){const _0x30d53c={_0x5de8c0:0x26d,_0x581aed:0x3e7,_0x4ddb8e:0xa3,_0x54bfaa:0xe,_0x1840f7:0x3c5,_0xa2975e:0x130,_0x91c2ae:0x19e,_0x4e258b:0x207,_0x111add:0x391,_0x5db5d4:0x238,_0x25b824:0x2ff,_0x148d96:0x4d0,_0x2e8eb9:0x3b1,_0x589fec:0x236},_0x46cc18={_0x4a4449:0x13b},_0x2c3f39={_0x19ad8f:0x6d};function _0x109850(_0x1efbcb,_0x29d949,_0x2a462f,_0x55ff51){return _0x39a391(_0x1efbcb-_0x2c3f39._0x19ad8f,_0x29d949-0x136,_0x29d949- -0x560,_0x1efbcb);}if(!this[_0x521106(0x2ff,0x479,_0x30d53c._0x5de8c0,_0x30d53c._0x581aed)][_0x109850(-0x6,-_0x30d53c._0x4ddb8e,0x91,-0x2e7)](_0x27d9ef))return;const _0x4abdb3=[...this[_0x109850(0x117,-0xa,-0x53,-_0x30d53c._0x54bfaa)][_0x521106(0x2c6,_0x30d53c._0x1840f7,_0x30d53c._0xa2975e,_0x30d53c._0x91c2ae)]()]['some'](_0x48e4d6=>_0x48e4d6[_0x521106(0x125,-0xd4,0x184,0x36)](_0x517ac7=>_0x517ac7[_0x109850(0x2b0,0x12d,-0x37,-0x4c)][_0x109850(-0x131,0x92,0x11,0x295)]===_0x27d9ef));function _0x521106(_0x112de4,_0x2e681e,_0x5f1fa1,_0x4d1efb){return _0x39a391(_0x112de4-_0x46cc18._0x4a4449,_0x2e681e-0xc0,_0x112de4- -0x4db,_0x4d1efb);}!_0x4abdb3&&(this[_0x521106(_0x30d53c._0x4e258b,_0x30d53c._0x111add,-0x1c,0xde)]-=this[_0x521106(0x2ff,_0x30d53c._0x5db5d4,0x247,0x18c)]['get'](_0x27d9ef)??0x0,this[_0x521106(_0x30d53c._0x25b824,0x55c,0x2a5,_0x30d53c._0x148d96)][_0x521106(0x2f9,_0x30d53c._0x2e8eb9,0x47d,_0x30d53c._0x589fec)](_0x27d9ef));}};import{readFile as _0x1b04ea,stat as _0x8c50ea}from'fs/promises';import*as _0x4156b0 from'path';function stripUtfBom(_0x29b22d){const _0x19961d={_0x5acd28:0x78b,_0x7155bf:0x7bd,_0x37e619:0x380},_0x55732b={_0x42d30b:0x83,_0x1119a6:0x14f,_0x385242:0x3c};function _0x16411a(_0x58d571,_0x11469d,_0x4ab6e4,_0x18582f){return _0x39a391(_0x58d571-0x152,_0x11469d-0x19c,_0x11469d- -0x46,_0x4ab6e4);}function _0x2dcc9(_0x4e9b45,_0x4a4577,_0x1dcf60,_0x59a2b7){return _0x1957f6(_0x4e9b45-_0x55732b._0x42d30b,_0x4a4577-_0x55732b._0x1119a6,_0x4e9b45,_0x4a4577- -_0x55732b._0x385242);}return _0x29b22d[_0x16411a(0x894,0x81d,_0x19961d._0x5acd28,_0x19961d._0x7155bf)](0x0)===0xfeff?_0x29b22d[_0x2dcc9(0x483,_0x19961d._0x37e619,0x546,0x229)](0x1):_0x29b22d;}function clampLine2(_0xd43429,_0x47b9d3){const _0x576fa9={_0x1a46eb:0x662,_0x480bc7:0x669,_0x2c487b:0x420},_0x49bcf0={_0x458183:0x15f,_0x23f102:0x1c0},_0x27aa74={_0x54ba77:0x1b5,_0x3e838c:0x37c};if(!Number['isFinite'](_0xd43429))return 0x1;function _0x426e86(_0x45146a,_0x17a068,_0x3d8a9d,_0x26fbac){return _0x1957f6(_0x45146a-_0x27aa74._0x54ba77,_0x17a068-0x104,_0x45146a,_0x26fbac-_0x27aa74._0x3e838c);}function _0x42fb50(_0x201d58,_0x2ff796,_0x5412ea,_0x5e3587){return _0x39a391(_0x201d58-_0x49bcf0._0x458183,_0x2ff796-0xa3,_0x5412ea- -_0x49bcf0._0x23f102,_0x201d58);}return Math[_0x426e86(_0x576fa9._0x1a46eb,_0x576fa9._0x480bc7,_0x576fa9._0x2c487b,0x5ca)](0x1,Math['min'](Math[_0x42fb50(0x6bc,0x5f6,0x721,0x7f0)](_0xd43429),_0x47b9d3));}function resolveAnchoredTarget(_0x419692){const _0x290ee8={_0x26be80:0x3ba,_0x2ebc54:0x60f,_0x42e175:0x5a9,_0x2fe915:0x606,_0x1017b6:0x24,_0x134622:0x28a,_0x377d7b:0x15c,_0x381bbe:0x18c,_0xe48acd:0x204,_0x4856b2:0x1ff,_0x4e8dde:0x3f6,_0xa89ebc:0x2df,_0x335171:0x4c5,_0x2c7104:0x65d,_0x28b885:0x2e4,_0x2f4e82:0x83},_0x7a5848={_0x22a2d9:0x1e0,_0x171532:0x375},_0xf41aed=_0x419692[_0x8bf05d(_0x290ee8._0x26be80,_0x290ee8._0x2ebc54,0x18f,_0x290ee8._0x42e175)]??_0x8bf05d(_0x290ee8._0x2fe915,0x733,0x778,0x588);function _0x54340e(_0x1804f0,_0x57c68c,_0x55ec24,_0x560e43){return _0x1957f6(_0x1804f0-0xc1,_0x57c68c-0xab,_0x55ec24,_0x1804f0- -0x1cf);}if(_0xf41aed===_0x54340e(0xc2,0x1a1,-_0x290ee8._0x1017b6,0x1cb))return void 0x0;function _0x8bf05d(_0x390e06,_0xea9d9a,_0xc4d949,_0xae211d){return _0x1957f6(_0x390e06-_0x7a5848._0x22a2d9,_0xea9d9a-0x1a9,_0xea9d9a,_0x390e06-_0x7a5848._0x171532);}if(_0x419692[_0x54340e(-0x7f,-_0x290ee8._0x134622,0x121,_0x290ee8._0x377d7b)]===void 0x0)throw new Error((_0x419692['name']??'FileRead')+'\x20anchored\x20mode\x20requires\x20injected\x20observations.');if(_0x419692[_0x54340e(-0x83,0x108,-_0x290ee8._0x381bbe,0x22)]===void 0x0)throw new Error((_0x419692[_0x54340e(-0x87,-0x12b,-0x9d,-_0x290ee8._0xe48acd)]??_0x54340e(_0x290ee8._0x4856b2,_0x290ee8._0x4e8dde,_0x290ee8._0xa89ebc,0x25f))+'\x20anchored\x20mode\x20requires\x20injected\x20outputBudgetBytes.');return{'mode':_0xf41aed,'observations':_0x419692[_0x8bf05d(_0x290ee8._0x335171,_0x290ee8._0x2c7104,_0x290ee8._0x28b885,0x6f6)],'outputBudgetBytes':_0x419692[_0x54340e(-_0x290ee8._0x2f4e82,-0x1,0x52,-0x139)]};}function isErrnoException(_0x3b9f1e){const _0x2da8db={_0x5b88e8:0x1b6,_0x4e09c5:0x6b,_0x5a45a3:0x245};function _0x35a98f(_0x22c8ad,_0x183301,_0x3f947c,_0x169b94){return _0x39a391(_0x22c8ad-0x16d,_0x183301-0x13d,_0x169b94- -0x46d,_0x3f947c);}return _0x3b9f1e instanceof Error&&'code'in _0x3b9f1e&&typeof _0x3b9f1e['code']===_0x35a98f(_0x2da8db._0x5b88e8,_0x2da8db._0x4e09c5,_0x2da8db._0x5a45a3,0x298);}function wrapAnchoredFsError(_0xae2131,_0x3dfcaf){const _0x1967e6={_0x4e76dd:0x8cb,_0x44485e:0x17d,_0x26c44f:0x1be,_0x4aa5bf:0x137,_0x3d2ec3:0x8d,_0x2762e7:0xe7},_0xfaacb7={_0x470dcd:0x13c,_0x9bfd3b:0x19c,_0x4e1620:0x530},_0x101243={_0x872163:0x5ef};function _0x46c3af(_0x110e44,_0x4f1e1f,_0x3eadd1,_0x169203){return _0x39a391(_0x110e44-0x84,_0x4f1e1f-0x1d6,_0x110e44- -_0x101243._0x872163,_0x4f1e1f);}if(_0xae2131 instanceof ToolExecutionError)throw _0xae2131;if(!isErrnoException(_0xae2131))throw _0xae2131;function _0xfe4056(_0x277101,_0x42aab5,_0x20d77d,_0x194d0c){return _0x1957f6(_0x277101-_0xfaacb7._0x470dcd,_0x42aab5-_0xfaacb7._0x9bfd3b,_0x277101,_0x42aab5-_0xfaacb7._0x4e1620);}throw createAnchoredFileError(_0x46c3af(0xf7,-0x89,0x73,-0x17),_0xfe4056(_0x1967e6._0x4e76dd,0x933,0x95d,0x784)+_0x3dfcaf+_0x46c3af(-0x16,-0x74,_0x1967e6._0x44485e,-0x42)+_0xae2131[_0x46c3af(0x378,_0x1967e6._0x26c44f,0x2f1,_0x1967e6._0x4aa5bf)]+_0x46c3af(0x53,0x1fd,-_0x1967e6._0x3d2ec3,-_0x1967e6._0x2762e7),{'path':_0x3dfcaf});}async function executeAnchoredRead(_0x29afb2,_0xcfcda1,_0x5cf18c,_0x529f7c,_0x7bc3f2,_0x1dc3fb,_0x44c0b7){const _0x574bd1={_0x23c000:0x597,_0x26c3d7:0x643,_0x1c5daa:0x5b6,_0x223b1e:0x77b,_0x538973:0x2bb,_0x2d91da:0x53d,_0xba7efd:0x6db,_0x5f3d44:0x6de,_0x2dfef9:0x947,_0x4d365c:0x75d,_0x3df3da:0x507,_0x44fe0a:0x517,_0x3d8af6:0x547,_0x56446c:0x6e3,_0x4c0e46:0x544,_0x413dc5:0x30c,_0x1dc8a5:0x25a,_0x36ccdd:0x394,_0x373486:0x8ca,_0xcf0d5:0x9a8,_0x3d4eeb:0x695,_0x1a407d:0x844},_0x47d041={_0x29741f:0x34},_0x121e2b={_0x90f9ce:0x11f};let _0x47defb;try{_0x47defb=await resolveCanonicalAllowedFile(_0xcfcda1,_0x5cf18c,_0x529f7c);}catch(_0x43cbb0){wrapAnchoredFsError(_0x43cbb0,_0x529f7c);}function _0x791cbb(_0x24a3ba,_0x4f0284,_0x3ed93b,_0x19f24b){return _0x39a391(_0x24a3ba-0xbc,_0x4f0284-_0x121e2b._0x90f9ce,_0x3ed93b- -0x5,_0x24a3ba);}let _0x15c920;try{_0x15c920=await _0x1b04ea(_0x47defb[_0x43a511(0x25c,0x2a2,0x471,_0x574bd1._0x23c000)]);}catch(_0x1efa85){wrapAnchoredFsError(_0x1efa85,_0x529f7c);}function _0x43a511(_0x367b41,_0x22a077,_0x8d260d,_0x1ae4d4){return _0x1957f6(_0x367b41-_0x47d041._0x29741f,_0x22a077-0x49,_0x22a077,_0x8d260d-0x3bb);}const _0x11e094=createNormalizedFileSnapshot(_0x47defb[_0x791cbb(0x3ff,_0x574bd1._0x26c3d7,_0x574bd1._0x1c5daa,_0x574bd1._0x223b1e)],_0x15c920);_0x29afb2[_0x43a511(_0x574bd1._0x538973,_0x574bd1._0x2d91da,0x50b,_0x574bd1._0xba7efd)][_0x791cbb(_0x574bd1._0x5f3d44,_0x574bd1._0x2dfef9,_0x574bd1._0x4d365c,0x90b)](_0x44c0b7);const _0x56609f=formatAnchoredFileRead({'displayPath':_0x529f7c,'snapshot':_0x11e094,'lineStart':_0x7bc3f2,'lineEnd':_0x1dc3fb,'maxBytes':_0x29afb2[_0x43a511(0x33d,0x475,_0x574bd1._0x3df3da,_0x574bd1._0x44fe0a)]});return _0x29afb2['observations']['record'](_0x11e094,_0x56609f['displayedLines']),createToolOutput(_0x56609f[_0x791cbb(0x917,_0x574bd1._0x3d8af6,_0x574bd1._0x56446c,0x628)],{'mode':_0x29afb2['mode'],'path':_0x529f7c,'resolvedPath':_0x47defb['lexicalPath'],'canonicalPath':_0x47defb['canonicalPath'],'tag':_0x11e094[_0x43a511(0x435,0x643,_0x574bd1._0x4c0e46,_0x574bd1._0x413dc5)],'digest':_0x11e094[_0x43a511(_0x574bd1._0x1dc8a5,0x4a9,0x4a8,_0x574bd1._0x36ccdd)],'displayedLines':[..._0x56609f['displayedLines']],'truncated':_0x56609f['truncated'],..._0x56609f[_0x791cbb(0x85e,_0x574bd1._0x373486,0x818,_0x574bd1._0xcf0d5)]!==void 0x0?{'nextLineStart':_0x56609f[_0x791cbb(_0x574bd1._0x3d4eeb,_0x574bd1._0x1a407d,0x818,0x840)]}:{}});}function createFileReadTool(_0x5f5c96={}){const _0x1a720d={_0x29085b:0x79f,_0x3cab4b:0x75f,_0x252478:0x3a8,_0x338b1c:0x713,_0x5c3c8c:0x5a0,_0x5a70b1:0x755,_0x212039:0x6b4,_0x42fc8d:0x78e,_0xe4d3c7:0x777,_0x152b6c:0x7be,_0x5b74eb:0x9c2,_0x5d45d0:0x8bc,_0x46e0ad:0x3b1,_0x4017d7:0x567,_0x1a46e0:0x22c,_0x5488b6:0x276,_0x112fcb:0x40e,_0xdc89ed:0x2f4,_0x3253d0:0x3dc,_0x20f9b1:0x68d,_0xe751e6:0x9cc,_0xad3a3c:0x819,_0x2b3f35:0x5b4,_0x54d3f5:0x572},_0x3b2870={_0x3618df:0x1a8,_0x310536:0xb3,_0x466db5:0xb1,_0x12f6c9:0x1d0,_0x5789bd:0x57,_0x5e7e60:0x1e9,_0x5bbbf9:0x1e8,_0x48fb21:0x323,_0x12cb06:0x1c7,_0x5ce0e2:0x31d,_0x5581ac:0x31b,_0x54a49b:0x2c1,_0x393a12:0x126,_0x2311f9:0xf0,_0x584ae7:0x154,_0x554a13:0x200,_0x18d9fe:0x126,_0xfbe896:0x85,_0x5d732c:0xef,_0x1227ed:0x255,_0x200156:0x7e,_0x423fdd:0x2b,_0x1310ec:0x2db,_0x4cdf6c:0x28c,_0x457622:0xa4,_0xba568c:0x3fc,_0x2365c4:0x1c1,_0x1d0ca7:0x23e,_0x3c24aa:0x26,_0x10637e:0x6f,_0x18f82c:0x31a,_0x142144:0x3d1,_0x4cc7a9:0x214,_0x379d3f:0x10c,_0xcc9d9d:0x159,_0x274d86:0x7b,_0x458afe:0x650,_0x18c1cf:0x5ba,_0x3c5c3e:0x23d,_0x485981:0x6b,_0xff30be:0x97,_0xa8ee12:0x94,_0x280fb0:0x208,_0x441939:0x390,_0x4426cc:0x53,_0x3f6565:0x40,_0x30b708:0x10e,_0x54970e:0x150,_0x3895f7:0x75,_0x2f91a7:0xe9,_0x2bff2c:0x57},_0x29254f={_0x2d9770:0x1f0,_0x56809e:0x101,_0x232a10:0x18b},_0x80eaa4={_0x2d9da1:0x1dc},_0x13e91d={_0x876f4b:0x106},_0x4c9021=_0x4156b0[_0x1da8ac(0x773,0x975,_0x1a720d._0x29085b,_0x1a720d._0x3cab4b)](_0x5f5c96[_0x25fa03(_0x1a720d._0x252478,0x55d,_0x1a720d._0x338b1c,_0x1a720d._0x5c3c8c)]??process[_0x1da8ac(_0x1a720d._0x5a70b1,_0x1a720d._0x212039,_0x1a720d._0x42fc8d,_0x1a720d._0xe4d3c7)]()),_0x1d9da9=_0x5f5c96[_0x1da8ac(0x56f,_0x1a720d._0x152b6c,_0x1a720d._0x5b74eb,0x795)]??[],_0x57663b=_0x5f5c96['name']??_0x1da8ac(0xa2e,0x7fc,_0x1a720d._0x5d45d0,0x8b7);function _0x1da8ac(_0x1f7917,_0x21803e,_0x4e6e47,_0x455057){return _0x39a391(_0x1f7917-_0x13e91d._0x876f4b,_0x21803e-0x11b,_0x455057- -0x1c,_0x1f7917);}function _0x25fa03(_0x3d4759,_0x24d7e1,_0x6d13ee,_0x5548c8){return _0x1957f6(_0x3d4759-0x1c1,_0x24d7e1-0x1ef,_0x6d13ee,_0x5548c8-_0x80eaa4._0x2d9da1);}const _0x3965a4=resolveAnchoredTarget(_0x5f5c96);return defineTool({'name':_0x57663b,'permissionClass':_0x1da8ac(0x779,_0x1a720d._0x46e0ad,0x61c,_0x1a720d._0x4017d7),'description':_0x3965a4===void 0x0?_0x25fa03(0x1e1,_0x1a720d._0x1a46e0,_0x1a720d._0x5488b6,0x38b):'Read\x20a\x20UTF-8\x20text\x20file\x20as\x20a\x20snapshot-anchored\x20[path#tag]\x20header\x20plus\x20N:text\x20rows.\x20The\x20tag\x20identifies\x20the\x20whole\x20file,\x20so\x20read\x20only\x20the\x20lines\x20you\x20need\x20with\x20lineStart/lineEnd\x20—\x20the\x20tag\x20stays\x20valid\x20for\x20a\x20range\x20read.\x20Empty\x20files\x20have\x20no\x20editable\x20line.\x20Mixed\x20LF/CRLF,\x20NUL,\x20and\x20invalid\x20UTF-8\x20are\x20rejected;\x20use\x20exact\x20FileEdit\x20instead.','inputSchema':{'type':_0x25fa03(0x1fd,0x432,0x54a,_0x1a720d._0x112fcb),'properties':{'path':{'type':_0x25fa03(_0x1a720d._0xdc89ed,0x4a3,0x43a,_0x1a720d._0x3253d0)},'lineStart':{'type':_0x1da8ac(_0x1a720d._0x20f9b1,_0x1a720d._0xe751e6,_0x1a720d._0xad3a3c,0x7e4),'description':'Start\x20reading\x20from\x20this\x20line\x20number\x20(1-based)'},'lineEnd':{'type':'number','description':_0x1da8ac(_0x1a720d._0x2b3f35,0x6ea,_0x1a720d._0x54d3f5,0x6d5)}},'required':[_0x25fa03(0x213,0x30c,0x2d2,0x200)]},async *'execute'(_0x375a90,_0x26a121){const _0x5976fc={_0x43bb2f:0x32,_0x353540:0x3c7},_0x5b91f2=resolveAllowedPath(_0x4c9021,_0x1d9da9,_0x375a90[_0x52c66f(-_0x3b2870._0x3618df,-0x231,-0x1c7,-_0x3b2870._0x310536)]);function _0x52c66f(_0x438762,_0x25645c,_0x7633cf,_0x3786b1){return _0x25fa03(_0x438762-0x163,_0x25645c-_0x5976fc._0x43bb2f,_0x25645c,_0x7633cf- -_0x5976fc._0x353540);}if(_0x3965a4===void 0x0){await assertWorkspaceFile(_0x5b91f2);const _0x28a3da=await _0x8c50ea(_0x5b91f2),_0x1c14f0=await _0x1b04ea(_0x5b91f2);if(isProbablyBinary(_0x1c14f0))throw new ToolExecutionError(_0x1d7b97(_0x3b2870._0x466db5,0xab,0x3ad,0x2c3)+_0x375a90['path'],{'path':_0x375a90[_0x1d7b97(-_0x3b2870._0x12f6c9,0x15a,-0x175,0x75)]});let _0x26597a=_0x1c14f0['toString'](_0x1d7b97(_0x3b2870._0x5789bd,0xda,0x416,0x267));const _0x5d96eb=_0x26597a[_0x1d7b97(0x2e1,_0x3b2870._0x5e7e60,0x1d7,0x3af)](0x0)===0xfeff;_0x26597a=stripUtfBom(_0x26597a);const _0x41cc6b=_0x26597a[_0x1d7b97(0x1b5,_0x3b2870._0x5bbbf9,0x2cb,0x24b)](/\r?\n/),_0x2791a3={'path':_0x375a90[_0x52c66f(-_0x3b2870._0x48fb21,-0x1c1,-_0x3b2870._0x12cb06,-_0x3b2870._0x5ce0e2)],'resolvedPath':_0x5b91f2,'created':_0x28a3da[_0x1d7b97(_0x3b2870._0x5581ac,0x5ba,_0x3b2870._0x54a49b,0x41b)][_0x52c66f(0x2d1,0x56,_0x3b2870._0x393a12,_0x3b2870._0x2311f9)](),'modified':_0x28a3da[_0x52c66f(_0x3b2870._0x584ae7,-_0x3b2870._0x554a13,-0x86,0x136)][_0x52c66f(0x2d1,0x283,_0x3b2870._0x18d9fe,-0x5c)](),'size':_0x28a3da[_0x1d7b97(_0x3b2870._0xfbe896,0x22a,_0x3b2870._0x5d732c,_0x3b2870._0x1227ed)],'encoding':_0x52c66f(0x129,-_0x3b2870._0x200156,_0x3b2870._0x423fdd,-0x145),'bomStripped':_0x5d96eb,'truncated':![],'totalLines':_0x41cc6b[_0x1d7b97(_0x3b2870._0x1310ec,_0x3b2870._0x4cdf6c,0x5cb,0x450)]};if(_0x375a90[_0x52c66f(0x19c,0x156,-0x57,0x100)]!==void 0x0||_0x375a90[_0x52c66f(-_0x3b2870._0x457622,-_0x3b2870._0xba568c,-_0x3b2870._0x2365c4,-_0x3b2870._0x1d0ca7)]!==void 0x0){const _0x4af15b=clampLine2(_0x375a90[_0x52c66f(-_0x3b2870._0x3c24aa,-0x28b,-0x57,-_0x3b2870._0x10637e)]??0x1,_0x41cc6b[_0x52c66f(_0x3b2870._0x18f82c,_0x3b2870._0x142144,_0x3b2870._0x4cc7a9,0x416)]),_0x358d2f=clampLine2(_0x375a90[_0x1d7b97(_0x3b2870._0x379d3f,-_0x3b2870._0xcc9d9d,0x34,_0x3b2870._0x274d86)]??_0x41cc6b[_0x1d7b97(_0x3b2870._0x458afe,_0x3b2870._0x18c1cf,0x4ed,0x450)],_0x41cc6b['length']),_0x26e5a9=Math[_0x52c66f(0x1b1,_0x3b2870._0x3c5c3e,_0x3b2870._0x485981,-_0x3b2870._0xff30be)](_0x4af15b,_0x358d2f),_0x49dc78=Math[_0x52c66f(_0x3b2870._0x12cb06,-_0x3b2870._0xa8ee12,0x63,0x2b1)](_0x4af15b,_0x358d2f),_0x2cb7f1=_0x41cc6b[_0x52c66f(0x158,0x106,0x1d1,_0x3b2870._0x280fb0)](_0x26e5a9-0x1,_0x49dc78)['map']((_0x281ddf,_0x3eab59)=>_0x26e5a9+_0x3eab59+'|'+_0x281ddf)[_0x1d7b97(_0x3b2870._0x441939,_0x3b2870._0x4426cc,0x267,0x15d)]('\x0a');return yield createToolOutput(_0x2cb7f1,{..._0x2791a3,'lineRange':{'lineStart':_0x26e5a9,'lineEnd':_0x49dc78,'linesTotal':_0x41cc6b[_0x52c66f(0x221,-_0x3b2870._0x3f6565,0x214,0x40a)]}}),void 0x0;}return yield createToolOutput(_0x26597a,_0x2791a3),void 0x0;}function _0x1d7b97(_0x4f821f,_0x299fb8,_0x1223e7,_0x5442be){return _0x25fa03(_0x4f821f-_0x29254f._0x2d9770,_0x299fb8-_0x29254f._0x56809e,_0x299fb8,_0x5442be- -_0x29254f._0x232a10);}return yield await executeAnchoredRead(_0x3965a4,_0x4c9021,_0x1d9da9,_0x375a90[_0x1d7b97(-_0x3b2870._0x30b708,_0x3b2870._0x54970e,0x4d,_0x3b2870._0x3895f7)],_0x375a90[_0x1d7b97(0x162,0x324,0xb1,0x1e5)],_0x375a90[_0x52c66f(-0xc1,-0x11b,-0x1c1,-_0x3b2870._0x2f91a7)],_0x26a121[_0x52c66f(_0x3b2870._0x2bff2c,-0x11a,-0x14f,0x4f)]),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 _0x5d66d4}from'crypto';import{mkdir as _0x4df52f,readFile as _0x37e2ee,writeFile as _0x405d4b}from'fs/promises';import{join as _0x2b97c6}from'path';function sanitizeStorageKey(_0xb449e1){const _0x18b33e={_0x225f60:0x2c2,_0x3c957a:0x45b},_0x97d99={_0x4ae5b3:0xd0,_0x823210:0x14f,_0x2e0dc5:0x3c};function _0x37ffec(_0x464374,_0x2a134f,_0x41d701,_0x427865){return _0x1957f6(_0x464374-_0x97d99._0x4ae5b3,_0x2a134f-_0x97d99._0x823210,_0x427865,_0x464374-_0x97d99._0x2e0dc5);}return _0xb449e1['replace'](/[^a-zA-Z0-9_]+/g,'_')[_0x37ffec(_0x18b33e._0x225f60,0x287,_0x18b33e._0x3c957a,0xff)](/^_+|_+$/g,'')||'server';}function storagePath(_0x2126dd){const _0x1c1dc3={_0x4fbdcf:0x6fa,_0x252039:0x423,_0x1395b0:0x6e2,_0x1b55b6:0x570,_0x2f9fa9:0x274,_0x1c7306:0x190,_0x6316fe:0x26a,_0x36f450:0x2c0,_0x5f44cc:0x256,_0x4f52e1:0x5ad,_0x1aac32:0x3e8,_0x161f88:0x487},_0x4d4ae4={_0x383ffb:0xae,_0x121275:0x177,_0x4fa16c:0x17a};function _0x5d7e32(_0x7acbdd,_0x162cf5,_0x3a8abe,_0x2e2194){return _0x1957f6(_0x7acbdd-_0x4d4ae4._0x383ffb,_0x162cf5-_0x4d4ae4._0x121275,_0x3a8abe,_0x2e2194-_0x4d4ae4._0x4fa16c);}const _0x477253=sanitizeStorageKey(_0x2126dd[_0x5d7e32(_0x1c1dc3._0x4fbdcf,_0x1c1dc3._0x252039,_0x1c1dc3._0x1395b0,_0x1c1dc3._0x1b55b6)][_0x2129fa(0x3ff,0x3f9,0x242,_0x1c1dc3._0x2f9fa9)]?.[_0x2129fa(_0x1c1dc3._0x1c7306,_0x1c1dc3._0x6316fe,_0x1c1dc3._0x36f450,0x238)]??_0x2126dd[_0x5d7e32(_0x1c1dc3._0x5f44cc,0xc6,0x3fd,0x2a0)]);function _0x2129fa(_0x52eefd,_0x2c6ced,_0x38c0fc,_0x55d903){return _0x39a391(_0x52eefd-0x137,_0x2c6ced-0xf0,_0x38c0fc- -0x2db,_0x2c6ced);}return _0x2b97c6(_0x2126dd['storageDir'],_0x477253+_0x5d7e32(0x587,_0x1c1dc3._0x4f52e1,_0x1c1dc3._0x1aac32,_0x1c1dc3._0x161f88));}async function readStore(_0x24825e){const _0x28e455={_0x3cb3a2:0xec,_0x4c7c12:0x154,_0x79c387:0x2fd,_0x4d5574:0xf7,_0x3d0891:0x395,_0x33e597:0x369,_0xc4b105:0x209,_0xfb9e0f:0x264,_0x470ef5:0x36b,_0x193ae5:0x257,_0x2d1f5d:0x140,_0x442035:0x33f,_0x9e74da:0x449,_0x246bf7:0x68d},_0x20f771={_0x548732:0x130,_0x34e7e1:0x2ab},_0x2f3622={_0x4785bd:0x5c};function _0x2a87d6(_0x446f25,_0x19c411,_0x36e60d,_0x34384d){return _0x39a391(_0x446f25-0xa1,_0x19c411-_0x2f3622._0x4785bd,_0x446f25- -0x386,_0x19c411);}function _0x5d61c0(_0x37a6fe,_0x4d5a77,_0xbb460f,_0x2f34fe){return _0x39a391(_0x37a6fe-_0x20f771._0x548732,_0x4d5a77-0x1dd,_0xbb460f- -_0x20f771._0x34e7e1,_0x4d5a77);}try{return JSON[_0x5d61c0(_0x28e455._0x3cb3a2,_0x28e455._0x4c7c12,_0x28e455._0x79c387,_0x28e455._0x4d5574)](await _0x37e2ee(_0x24825e,_0x2a87d6(_0x28e455._0x3d0891,0x4a6,_0x28e455._0x33e597,_0x28e455._0xc4b105)));}catch(_0x1df9e2){if(_0x1df9e2 instanceof Error&&_0x2a87d6(_0x28e455._0xfb9e0f,0x3dd,_0x28e455._0x470ef5,_0x28e455._0x193ae5)in _0x1df9e2&&_0x1df9e2[_0x5d61c0(0x205,_0x28e455._0x2d1f5d,_0x28e455._0x442035,0x21d)]===_0x2a87d6(0x498,0x515,_0x28e455._0x9e74da,_0x28e455._0x246bf7))return{};throw _0x1df9e2;}}async function writeStore(_0x423a60,_0xf850c1){const _0x181348={_0x3ca66a:0x336,_0x3881b8:0x208,_0x345cc3:0x1c3,_0x1b59a9:0xde},_0x466473={_0x2ccd72:0xef},_0x1e4280={_0x40adad:0x78,_0x3fda95:0x96};function _0x484e8a(_0x182e05,_0x388e7a,_0x333b66,_0x2c71c0){return _0x39a391(_0x182e05-_0x1e4280._0x40adad,_0x388e7a-_0x1e4280._0x3fda95,_0x2c71c0- -0x63d,_0x182e05);}function _0x58e3c1(_0x4f43ec,_0x5ac21b,_0x5b6453,_0x225d65){return _0x1957f6(_0x4f43ec-_0x466473._0x2ccd72,_0x5ac21b-0x89,_0x5b6453,_0x4f43ec- -0x1fb);}await _0x4df52f(_0x2b97c6(_0x423a60,'..'),{'recursive':!![]}),await _0x405d4b(_0x423a60,JSON[_0x484e8a(-0x20a,-_0x181348._0x3ca66a,-_0x181348._0x3881b8,-0x107)](_0xf850c1,null,0x2),_0x484e8a(_0x181348._0x345cc3,0xd4,0x230,_0x181348._0x1b59a9));}async function updateStore(_0x5e13d5,_0x5a556e){const _0x954ccf=await readStore(_0x5e13d5);_0x5a556e(_0x954ccf),await writeStore(_0x5e13d5,_0x954ccf);}function createMcpOAuthProvider(_0x3ba7d3){const _0x2300b1={_0x41cd69:0x83f,_0x1e2dcd:0x87d,_0x236941:0x452,_0x3b77f2:0x6ab,_0x210304:0x683,_0x283a51:0x547,_0x4fe4c9:0x546,_0x3ac82b:0x6e2,_0x3dc66e:0x4d9,_0x3d3aff:0x5b5,_0x2750ec:0x295,_0x17a7b5:0x3fb,_0x393bb2:0x212,_0x5cce0c:0x20d,_0x15c984:0x183,_0x21773b:0x78,_0x5e3349:0x6ee,_0x2781c5:0x71c,_0x5ebc13:0x652,_0x3be0bd:0x4ad,_0x5eddf5:0x545},_0x37541f={_0x4a286d:0x1b6,_0x12f42f:0x2b0},_0x50002e={_0x63ecdc:0x16a,_0x1cc62d:0xa9,_0x5c678f:0x329},_0x2d6c94={_0x4b0048:0x10f,_0x4c0255:0x160,_0x436af1:0x4ca,_0x2aee82:0x325},_0x16502f={_0x2f0828:0x592,_0x1e298e:0x67d,_0x38aef6:0x64f,_0x2f4b9:0x4ac,_0x107596:0x595,_0x3f61b1:0x3b0,_0x382066:0x700,_0x35e7cd:0x5c1,_0x2b0f4c:0x1d1,_0x3c998e:0x30a,_0x1521a9:0x364,_0x2a4d36:0x15e,_0x4aa9d4:0x5d7,_0x384607:0x685,_0x2c0dbc:0x626,_0x18674c:0x50d,_0x194f6d:0x1ad,_0x34a36f:0x7e5,_0x181b50:0xa08},_0x2c3ce1={_0x15bd64:0x5e3,_0x5d49fa:0x30d},_0x355354={_0x300b84:0xd8},_0x247d95={_0x1e6e80:0x3da,_0x5f06bf:0x3a3},_0x4b2448={_0x3c093b:0x120,_0x331bdb:0x1d9},_0x54a4df={_0x291d87:0x496,_0x244ed9:0x343,_0x4f33ef:0x368},_0x4b7d42={_0x2deb11:0x574,_0x3c9630:0x4f9,_0x451e81:0x5a0},_0x3c4702={_0xa18b2d:0x763,_0x10678b:0x671},_0x3cbff8={_0x43c095:0x3be,_0x1af30d:0x1e4,_0x2989af:0x46e,_0x4c73fa:0x3b6,_0x1cee4f:0x26d,_0x20cda5:0xcd},_0x564607={_0x428945:0x3a4},_0x420af4=storagePath(_0x3ba7d3),_0x3822c8=_0x3ba7d3[_0x28a4f1(0x830,0x6bd,_0x2300b1._0x41cd69,_0x2300b1._0x1e2dcd)][_0x28a4f1(_0x2300b1._0x236941,0x29b,_0x2300b1._0x3b77f2,0x69e)]?.[_0x28a4f1(0x750,_0x2300b1._0x210304,_0x2300b1._0x283a51,0x871)]?.[_0x28a4f1(_0x2300b1._0x4fe4c9,_0x2300b1._0x3ac82b,_0x2300b1._0x3dc66e,0x6c2)]('\x20'),_0x5c6b99={'client_name':_0x2e8b7e(_0x2300b1._0x3d3aff,_0x2300b1._0x2750ec,0x407,0x24d),'redirect_uris':[_0x3ba7d3['callbackUrl']],'grant_types':[_0x28a4f1(_0x2300b1._0x17a7b5,_0x2300b1._0x393bb2,0x257,0x3b7),_0x2e8b7e(0x1bf,_0x2300b1._0x5cce0c,_0x2300b1._0x15c984,0x58)],'response_types':[_0x2e8b7e(_0x2300b1._0x21773b,-0x18,0x21a,0x228)],'token_endpoint_auth_method':_0x28a4f1(_0x2300b1._0x5e3349,_0x2300b1._0x2781c5,0x8ab,0x873),..._0x3822c8?{'scope':_0x3822c8}:{}};function _0x2e8b7e(_0x1479c6,_0x22f622,_0x1d291c,_0x3e9c8b){return _0x1957f6(_0x1479c6-0x164,_0x22f622-0x1e6,_0x3e9c8b,_0x1d291c-0x135);}function _0x28a4f1(_0x78b20f,_0xcf83e1,_0xb45bb9,_0x4c3ccb){return _0x1957f6(_0x78b20f-0x108,_0xcf83e1-0x1cc,_0x4c3ccb,_0x78b20f-0x43a);}return{'clientMetadataUrl':_0x3ba7d3[_0x28a4f1(0x830,0x8a4,0x830,0xa57)][_0x28a4f1(0x452,_0x2300b1._0x5ebc13,_0x2300b1._0x3be0bd,0x4d0)]?.[_0x2e8b7e(0x611,0x55d,_0x2300b1._0x5eddf5,0x391)],get 'redirectUrl'(){const _0x34aaaf={_0x2441a2:0x4d5};function _0xa45539(_0x553eaa,_0xd4c581,_0x393a00,_0x4c6d49){return _0x28a4f1(_0xd4c581- -_0x34aaaf._0x2441a2,_0xd4c581-0x1a1,_0x393a00-0x58,_0x553eaa);}return _0x3ba7d3[_0xa45539(0x76,0x217,_0x564607._0x428945,0x1d2)];},get 'clientMetadata'(){return _0x5c6b99;},async 'state'(){const _0x2d6f21={_0xd90875:0x175},_0x13846d={_0x423b53:0xa8},_0x1a594e=await readStore(_0x420af4);function _0x3a3c90(_0x414166,_0x25a43d,_0x3e738c,_0x17e5c3){return _0x2e8b7e(_0x414166-_0x13846d._0x423b53,_0x25a43d-0x91,_0x17e5c3-0x3f3,_0x3e738c);}if(_0x1a594e[_0x105682(_0x3cbff8._0x43c095,0x26d,_0x3cbff8._0x1af30d,_0x3cbff8._0x2989af)])return _0x1a594e[_0x105682(_0x3cbff8._0x4c73fa,_0x3cbff8._0x1cee4f,0x430,_0x3cbff8._0x20cda5)];const _0x459b1d=_0x5d66d4();function _0x105682(_0x2ae7e6,_0x58d7f9,_0x4a4392,_0x3c84ed){return _0x2e8b7e(_0x2ae7e6-0xf7,_0x58d7f9-0x19a,_0x58d7f9-_0x2d6f21._0xd90875,_0x4a4392);}return await updateStore(_0x420af4,_0x5b0338=>{_0x5b0338['state']=_0x459b1d;}),_0x459b1d;},async 'clientInformation'(){return(await readStore(_0x420af4))['clientInformation'];},async 'saveClientInformation'(_0x2b9d0d){await updateStore(_0x420af4,_0x1d9371=>{function _0x4545e3(_0x4fec6c,_0xd2b99f,_0x11bc6e,_0x32cd9b){return _0x1b0d(_0x32cd9b-0xe1,_0x11bc6e);}_0x1d9371[_0x4545e3(_0x3c4702._0xa18b2d,_0x3c4702._0x10678b,0x4e9,0x64b)]=_0x2b9d0d;});},async 'tokens'(){function _0x18bb8c(_0xa18fc7,_0x4f50eb,_0x55c835,_0x57322b){return _0x2e8b7e(_0xa18fc7-0xfc,_0x4f50eb-0x1d6,_0x55c835-0x145,_0xa18fc7);}return(await readStore(_0x420af4))[_0x18bb8c(_0x4b7d42._0x2deb11,_0x4b7d42._0x3c9630,0x3db,_0x4b7d42._0x451e81)];},async 'saveTokens'(_0x3584b3){const _0x36dbd7={_0x965ad7:0x3d};await updateStore(_0x420af4,_0x1ee4bb=>{function _0x2938e4(_0x117c6b,_0xa0ba84,_0x3c8a36,_0x42cc7f){return _0x1b0d(_0x42cc7f-_0x36dbd7._0x965ad7,_0xa0ba84);}_0x1ee4bb[_0x2938e4(_0x54a4df._0x291d87,0x557,_0x54a4df._0x244ed9,_0x54a4df._0x4f33ef)]=_0x3584b3;});},async 'redirectToAuthorization'(_0x18606d){function _0xb1b04b(_0x4d4f73,_0xe75874,_0x47a3e3,_0x26425f){return _0x28a4f1(_0x26425f- -0x331,_0xe75874-_0x4b2448._0x3c093b,_0x47a3e3-_0x4b2448._0x331bdb,_0xe75874);}await _0x3ba7d3[_0xb1b04b(_0x247d95._0x1e6e80,_0x247d95._0x5f06bf,0x318,0x40b)](_0x18606d);},async 'saveCodeVerifier'(_0xc01253){const _0x2693a6={_0x4c67f8:0xa5b,_0x387095:0x9a5};await updateStore(_0x420af4,_0x88d033=>{const _0x5cd7d3={_0x106982:0x27d};function _0x46ab42(_0x5f4b26,_0x306690,_0x491d52,_0x140617){return _0x1b0d(_0x5f4b26-_0x5cd7d3._0x106982,_0x491d52);}_0x88d033[_0x46ab42(0x834,_0x2693a6._0x4c67f8,_0x2693a6._0x387095,0x82f)]=_0xc01253;});},async 'codeVerifier'(){const _0xb070d2={_0x3adb2a:0x180,_0x17a43f:0x17e},_0x3c913f=(await readStore(_0x420af4))[_0x1f9e72(0x5d9,0x1ed,_0x2c3ce1._0x15bd64,0x3b7)];function _0x1f9e72(_0x3167ec,_0x1337dd,_0x15b5db,_0x55897a){return _0x2e8b7e(_0x3167ec-0x99,_0x1337dd-_0x355354._0x300b84,_0x55897a- -0x16b,_0x3167ec);}if(!_0x3c913f)throw new Error(_0x5235bd(0x178,0x237,_0x2c3ce1._0x5d49fa,0x49a));function _0x5235bd(_0xa68dd9,_0x1123f3,_0x2c44f4,_0xeddfed){return _0x28a4f1(_0x2c44f4- -_0xb070d2._0x3adb2a,_0x1123f3-_0xb070d2._0x17a43f,_0x2c44f4-0x45,_0x1123f3);}return _0x3c913f;},async 'invalidateCredentials'(_0x1e665f){const _0x20d13f={_0x4a1280:0x273};await updateStore(_0x420af4,_0x4ac66f=>{(_0x1e665f===_0x38ee68(_0x16502f._0x2f0828,_0x16502f._0x1e298e,_0x16502f._0x38aef6,0x5e8)||_0x1e665f==='client')&&(_0x4ac66f[_0x38ee68(0x58a,0x497,_0x16502f._0x2f4b9,_0x16502f._0x107596)]=void 0x0);(_0x1e665f==='all'||_0x1e665f===_0x5a48b4(0x59e,_0x16502f._0x3f61b1,_0x16502f._0x382066,0x4f1))&&(_0x4ac66f[_0x5a48b4(0x59e,_0x16502f._0x35e7cd,0x3ec,0x428)]=void 0x0);function _0x5a48b4(_0x2a03d5,_0x368709,_0x256354,_0x57258c){return _0x1b0d(_0x2a03d5-_0x20d13f._0x4a1280,_0x368709);}(_0x1e665f===_0x5a48b4(0x7e5,0x947,0x960,0x5b3)||_0x1e665f===_0x38ee68(_0x16502f._0x2b0f4c,_0x16502f._0x3c998e,_0x16502f._0x1521a9,_0x16502f._0x2a4d36))&&(_0x4ac66f[_0x38ee68(_0x16502f._0x4aa9d4,_0x16502f._0x384607,_0x16502f._0x2c0dbc,_0x16502f._0x18674c)]=void 0x0,_0x4ac66f[_0x38ee68(_0x16502f._0x194f6d,0xeb,0xa3,0x1e0)]=void 0x0);function _0x38ee68(_0x56db4b,_0x390dcd,_0x4073af,_0x2fc599){return _0x1b0d(_0x56db4b-0x20,_0x390dcd);}(_0x1e665f===_0x5a48b4(_0x16502f._0x34a36f,_0x16502f._0x181b50,0x9ae,0x69a)||_0x1e665f===_0x5a48b4(0x4a4,0x38e,0x61e,0x578))&&(_0x4ac66f['discoveryState']=void 0x0);});},async 'saveDiscoveryState'(_0x18044e){await updateStore(_0x420af4,_0x3106ee=>{function _0x53d096(_0x34e9aa,_0x25bf34,_0x2de756,_0x333874){return _0x1b0d(_0x333874- -0x1d6,_0x2de756);}_0x3106ee[_0x53d096(_0x2d6c94._0x4b0048,_0x2d6c94._0x4c0255,_0x2d6c94._0x436af1,_0x2d6c94._0x2aee82)]=_0x18044e;});},async 'discoveryState'(){function _0xe69438(_0x582056,_0x2f108d,_0x645012,_0x3c64a4){return _0x2e8b7e(_0x582056-_0x50002e._0x63ecdc,_0x2f108d-_0x50002e._0x1cc62d,_0x582056- -_0x50002e._0x5c678f,_0x2f108d);}return(await readStore(_0x420af4))[_0xe69438(0x13d,_0x37541f._0x4a286d,0x356,_0x37541f._0x12f42f)];}};}import{UnauthorizedError}from'@modelcontextprotocol/sdk/client/auth.js';import{ErrorCode,McpError}from'@modelcontextprotocol/sdk/types.js';var failureByOperation={'close':{'code':_0x1957f6(0x22c,0x369,0x568,0x467),'message':_0x3ea097=>_0x1957f6(0x13d,0x2a7,0x360,0x21d)+_0x3ea097+_0x1957f6(0x288,-0x1c7,0x15e,0x79)},'connect':{'code':_0x1957f6(0x34e,0x295,0x3e7,0x35c),'message':_0x1f1202=>_0x39a391(0x5a1,0x50f,0x722,0x8cc)+_0x1f1202+_0x39a391(0x7d9,0x628,0x872,0x6b1)},'discover':{'code':_0x39a391(0x703,0x8c0,0x717,0x4d4),'message':_0x1f6915=>_0x39a391(0x833,0x90c,0x722,0x713)+_0x1f6915+_0x1957f6(0x19c,0x29a,0x2c8,0x326)},'toolCall':{'code':_0x39a391(0x7c5,0x6ac,0x5c5,0x52f),'message':_0x867904=>'MCP\x20server\x20'+_0x867904+_0x1957f6(0x509,0x96,0x49c,0x2ae)}},timeoutMessageByOperation={'close':_0x4707a6=>_0x1957f6(0x49,0x205,0x160,0x21d)+_0x4707a6+_0x1957f6(0x12d,0x10,-0x41,0x9e),'connect':_0x1d5ca4=>_0x39a391(0x795,0x713,0x722,0x8bf)+_0x1d5ca4+_0x39a391(0x7d7,0x4ef,0x6bb,0x657),'discover':_0x49a25c=>_0x39a391(0x836,0x61a,0x722,0x662)+_0x49a25c+_0x1957f6(0x53b,0x4ab,0x55b,0x414),'toolCall':_0x39de30=>'MCP\x20server\x20'+_0x39de30+'\x20tool\x20call\x20timed\x20out'};function toMcpSafeError(_0x1f3aed){const _0x10ecfb={_0xe1717b:0x2,_0x5628a3:0x155,_0x2464be:0x2a9,_0x2b75c8:0x12d,_0x2bac94:0xed,_0x1d72d8:0xc1,_0x1b2bd6:0x107,_0x3a0d14:0xaf,_0x5ef386:0x1eb,_0x1a5470:0x62,_0x309b52:0x80,_0x2e7bfc:0x9c,_0x51af1c:0x302,_0x5edf21:0x220,_0x4b6a3f:0x3ce,_0x548a7e:0x14,_0x3b416e:0x239,_0xc3069e:0x44},_0x28fa6a={_0x5d16fe:0x11b,_0x12b57c:0x524},_0x2a1c0a={_0x88297c:0x155};function _0x3c7571(_0x11b522,_0x430571,_0x1c9b56,_0x5054b7){return _0x1957f6(_0x11b522-0x1df,_0x430571-_0x2a1c0a._0x88297c,_0x11b522,_0x1c9b56- -0x130);}if(_0x1f3aed['error']instanceof UnauthorizedError)return Object[_0x3c7571(-0x9a,_0x10ecfb._0xe1717b,-_0x10ecfb._0x5628a3,-_0x10ecfb._0x2464be)]({'code':'mcp-auth-required','message':_0x3c7571(0x224,_0x10ecfb._0x2b75c8,_0x10ecfb._0x2bac94,0x23d)+_0x1f3aed[_0x412279(0xd5,_0x10ecfb._0x1d72d8,_0x10ecfb._0x1b2bd6,-_0x10ecfb._0x3a0d14)]+_0x3c7571(-_0x10ecfb._0x5ef386,_0x10ecfb._0x1a5470,-0x91,-0x1c8)});function _0x412279(_0x45fe75,_0x4a082c,_0x5bf4c8,_0x33063b){return _0x39a391(_0x45fe75-0x1d1,_0x4a082c-_0x28fa6a._0x5d16fe,_0x5bf4c8- -_0x28fa6a._0x12b57c,_0x45fe75);}if(_0x1f3aed[_0x412279(_0x10ecfb._0x309b52,0x1f1,0x24f,0x420)]instanceof McpError&&_0x1f3aed['error']['code']===ErrorCode['RequestTimeout'])return Object[_0x3c7571(-_0x10ecfb._0x2e7bfc,-0x4f,-_0x10ecfb._0x5628a3,-_0x10ecfb._0x51af1c)]({'code':_0x412279(0x303,_0x10ecfb._0x5edf21,0x2f0,0x344),'message':timeoutMessageByOperation[_0x1f3aed['operation']](_0x1f3aed['serverName'])});const _0x532aef=failureByOperation[_0x1f3aed[_0x412279(_0x10ecfb._0x4b6a3f,_0x10ecfb._0x548a7e,_0x10ecfb._0x3b416e,0x354)]];return Object[_0x412279(-0x294,0x1d7,-_0x10ecfb._0xc3069e,-0x80)]({'code':_0x532aef['code'],'message':_0x532aef['message'](_0x1f3aed['serverName'])});}function redactMcpDiagnostic(_0x57290a,_0x3f9514){const _0xd8733b={_0x2d1da4:0x2ec,_0x43f28c:0x557,_0x42f55b:0x12d,_0x50b208:0x4d9,_0xfee923:0x604,_0x5a6c73:0x431,_0x358914:0x1e3,_0x552cc4:0x16f,_0x169aad:0x244,_0x4b95b2:0xb5},_0x2bd728={_0x222fd8:0x22,_0x49d99a:0x88},_0x46814c={_0x12652a:0x1e7};function _0x268a31(_0x59a6b6,_0x4ce331,_0x3d6532,_0x2d9faa){return _0x1957f6(_0x59a6b6-_0x46814c._0x12652a,_0x4ce331-0xb0,_0x4ce331,_0x2d9faa-0x32);}const _0x2763d2=[...new Set(_0x3f9514[_0x268a31(_0xd8733b._0x2d1da4,_0xd8733b._0x43f28c,_0xd8733b._0x42f55b,0x315)](_0x56bd50=>_0x56bd50['length']>0x0))]['sort']((_0x25a74e,_0xcc24f8)=>_0xcc24f8['length']-_0x25a74e['length']);function _0x236c2f(_0x204339,_0x48935d,_0x21c45d,_0xfe5a66){return _0x39a391(_0x204339-_0x2bd728._0x222fd8,_0x48935d-_0x2bd728._0x49d99a,_0x21c45d- -0x631,_0xfe5a66);}if(_0x57290a['length']===0x0||_0x2763d2[_0x268a31(_0xd8733b._0x50b208,0x2c8,_0xd8733b._0xfee923,_0xd8733b._0x5a6c73)]===0x0)return _0x57290a;let _0x2f3202='',_0x12701f=0x0;while(_0x12701f<_0x57290a['length']){const _0x469bd8=_0x2763d2[_0x236c2f(-_0xd8733b._0x358914,-0x2a6,-_0xd8733b._0x552cc4,-0x151)](_0x3478f6=>_0x57290a['startsWith'](_0x3478f6,_0x12701f));_0x469bd8?(_0x2f3202+=_0x236c2f(-_0xd8733b._0x169aad,-0x46,-_0xd8733b._0x4b95b2,-0x2f1),_0x12701f+=_0x469bd8['length']):(_0x2f3202+=_0x57290a[_0x12701f],_0x12701f+=0x1);}return _0x2f3202;}var ownedMcpSafeErrors=new WeakMap();function isWeakMapKey(_0x5599f7){return typeof _0x5599f7==='object'&&_0x5599f7!==null||typeof _0x5599f7==='function';}function createOwnedMcpSafeError(_0x509807){const _0x5d0569={_0x3644f5:0x110,_0x326fbf:0x18e,_0x46a05d:0x708,_0x253da5:0x8f3,_0x42340d:0x52f,_0x13f446:0x75f},_0x554cff={_0x34884f:0x2e,_0x3e1ec5:0x1c2,_0x270b80:0x53d},_0x6bd693={_0x33b88c:0xc4,_0x2679c0:0x12f},_0x356a40=toMcpSafeError(_0x509807);function _0x2441e3(_0x2a18d6,_0x3a1c72,_0x265066,_0x2fb9aa){return _0x1957f6(_0x2a18d6-_0x6bd693._0x33b88c,_0x3a1c72-_0x6bd693._0x2679c0,_0x3a1c72,_0x2fb9aa-0x337);}function _0xec0472(_0x4dfcac,_0x15e891,_0x5a6fd2,_0x4460b7){return _0x39a391(_0x4dfcac-_0x554cff._0x34884f,_0x15e891-_0x554cff._0x3e1ec5,_0x4460b7- -_0x554cff._0x270b80,_0x5a6fd2);}const _0x4c65b5=Object['freeze']({'code':_0x356a40[_0xec0472(-0x88,_0x5d0569._0x3644f5,-_0x5d0569._0x326fbf,0xad)],'message':_0x356a40[_0x2441e3(_0x5d0569._0x46a05d,0x950,0x873,0x799)]});return ownedMcpSafeErrors[_0x2441e3(0x5f5,_0x5d0569._0x253da5,_0x5d0569._0x42340d,_0x5d0569._0x13f446)](_0x356a40,_0x4c65b5),_0x356a40;}function extractOwnedMcpSafeError(_0x5b70d1){const _0x445879={_0x432ed9:0x3d7,_0x28af0f:0x273,_0xad2263:0x3dd,_0x553a62:0x3cd,_0x3b5c37:0x583,_0x5d8be4:0x710},_0x165d66={_0x39fd0c:0x34},_0x2a4346={_0x1d204b:0x1a3,_0x3d03a0:0x102};function _0x46e6f7(_0xf3b204,_0x271c9a,_0x521eb6,_0x2bd247){return _0x39a391(_0xf3b204-_0x2a4346._0x1d204b,_0x271c9a-_0x2a4346._0x3d03a0,_0xf3b204- -0x377,_0x2bd247);}if(!isWeakMapKey(_0x5b70d1))return void 0x0;const _0x48c7dc=ownedMcpSafeErrors[_0x513473(0x412,0x533,_0x445879._0x432ed9,0x461)](_0x5b70d1);if(!_0x48c7dc)return void 0x0;const _0x3aab77=Object['freeze']({'code':_0x48c7dc[_0x46e6f7(_0x445879._0x28af0f,_0x445879._0xad2263,_0x445879._0x553a62,0x2ec)],'message':_0x48c7dc['message']});ownedMcpSafeErrors[_0x513473(0x6a1,0x723,_0x445879._0x3b5c37,_0x445879._0x5d8be4)](_0x3aab77,_0x48c7dc);function _0x513473(_0x5e0769,_0x3c88fb,_0x486e0a,_0x5adad5){return _0x39a391(_0x5e0769-_0x165d66._0x39fd0c,_0x3c88fb-0x91,_0x5adad5- -0x21d,_0x5e0769);}return _0x3aab77;}function ownValue(_0x4f80a9,_0x876ab){const _0x1e5270={_0x4ffa6f:0x4c},_0x256c36={_0x2639ad:0x199};function _0x1a295a(_0x2b7335,_0x14d9da,_0x44e2b2,_0x2e3677){return _0x1957f6(_0x2b7335-0xe4,_0x14d9da-0x1d7,_0x2e3677,_0x14d9da- -_0x256c36._0x2639ad);}return _0x4f80a9&&Object[_0x1a295a(-0x2,-0x8a,_0x1e5270._0x4ffa6f,0x174)](_0x4f80a9,_0x876ab)?_0x4f80a9[_0x876ab]:void 0x0;}function isToolPermissionClass(_0x61a03a){const _0xca58a4={_0x4960aa:0x35,_0x26ad14:0x289,_0x530e15:0x4f,_0x51866f:0x10,_0xd01d83:0x11e,_0x1ef4d5:0x15f,_0x152fd0:0xe0},_0x1dce46={_0x372e73:0xca,_0x224587:0x49},_0x1ad9d4={_0xba7933:0x1f,_0x2fc981:0x5f9};function _0x4b271f(_0x46441c,_0x58b80e,_0x5651df,_0x41cf1e){return _0x39a391(_0x46441c-0x13c,_0x58b80e-_0x1ad9d4._0xba7933,_0x41cf1e- -_0x1ad9d4._0x2fc981,_0x5651df);}function _0x4f2fbd(_0x480a99,_0x30b502,_0x2836d2,_0x531675){return _0x1957f6(_0x480a99-_0x1dce46._0x372e73,_0x30b502-0x163,_0x2836d2,_0x480a99- -_0x1dce46._0x224587);}return _0x61a03a===_0x4f2fbd(_0xca58a4._0x4960aa,0x174,_0xca58a4._0x26ad14,-_0xca58a4._0x530e15)||_0x61a03a===_0x4f2fbd(_0xca58a4._0x51866f,0x107,_0xca58a4._0xd01d83,-_0xca58a4._0x1ef4d5)||_0x61a03a===_0x4b271f(-_0xca58a4._0x152fd0,0x124,-0x20c,0x6);}function suggestedPermissionClass(_0x4ef3a7){const _0x180b87={_0x2a73ee:0x7ed,_0x45bd66:0x66e,_0x4a106f:0x2bd},_0x4d2eca={_0x49c331:0x1c5,_0x24f305:0x144,_0x2ce3cd:0x80},_0x306116={_0x14b285:0x166,_0x3a7dab:0xa4,_0x32cadf:0x3e3},_0x7078a8=_0x4ef3a7[_0xe04e74(_0x180b87._0x2a73ee,0x70d,0x9db,0x981)]?.[_0xe04e74(0x52c,0x5ce,0x481,0x416)];function _0xe04e74(_0x19b21d,_0x38feec,_0xaaf9c,_0x4f54b0){return _0x1957f6(_0x19b21d-_0x306116._0x14b285,_0x38feec-_0x306116._0x3a7dab,_0xaaf9c,_0x19b21d-_0x306116._0x32cadf);}if(_0x7078a8===!![])return _0xe04e74(0x461,_0x180b87._0x45bd66,0x38d,_0x180b87._0x4a106f);if(_0x7078a8===![])return'write';function _0x1d8931(_0x36d168,_0x40dfab,_0x37916f,_0x43716b){return _0x1957f6(_0x36d168-_0x4d2eca._0x49c331,_0x40dfab-_0x4d2eca._0x24f305,_0x37916f,_0x36d168-_0x4d2eca._0x2ce3cd);}return void 0x0;}function isJsonValue(_0x3043de){const _0x4a375a={_0x77c7bd:0x66e,_0x4c27bc:0x582,_0x2dc1c2:0x62e,_0x1cac49:0x770,_0x3513d9:0x937,_0x3c9a90:0x729,_0x193160:0x85,_0x4a95c3:0x242,_0x156190:0x1ff,_0x212cc6:0x9f,_0x55e61a:0x2d},_0x1bc8b3={_0x37bd46:0x175,_0x45e8c4:0x25,_0x2eb35f:0x42e},_0x4ecbc9={_0x16565d:0x57,_0x538c1b:0xeb,_0x5eb97b:0x71b};if(_0x3043de===null||typeof _0x3043de===_0x3a3df8(0x5c9,_0x4a375a._0x77c7bd,_0x4a375a._0x4c27bc,_0x4a375a._0x2dc1c2)||typeof _0x3043de===_0x3a3df8(0x65d,_0x4a375a._0x1cac49,_0x4a375a._0x3513d9,_0x4a375a._0x3c9a90)||typeof _0x3043de==='boolean')return!![];function _0x3c786e(_0x33951d,_0x2e2dda,_0x49da50,_0x22d3cd){return _0x39a391(_0x33951d-_0x4ecbc9._0x16565d,_0x2e2dda-_0x4ecbc9._0x538c1b,_0x49da50- -_0x4ecbc9._0x5eb97b,_0x22d3cd);}function _0x3a3df8(_0x51e9d6,_0x94ecf6,_0x391093,_0x16ba6d){return _0x1957f6(_0x51e9d6-_0x1bc8b3._0x37bd46,_0x94ecf6-_0x1bc8b3._0x45e8c4,_0x391093,_0x16ba6d-_0x1bc8b3._0x2eb35f);}if(Array[_0x3c786e(-_0x4a375a._0x193160,_0x4a375a._0x4a95c3,0x10e,-0xfe)](_0x3043de))return _0x3043de['every'](isJsonValue);if(!isObject(_0x3043de))return![];return Object[_0x3c786e(_0x4a375a._0x156190,_0x4a375a._0x212cc6,0x86,-0xc3)](_0x3043de)[_0x3c786e(0x219,0x35f,0x16a,_0x4a375a._0x55e61a)](isJsonValue);}function projectMcpTools(_0x388688){const _0x5cf1ba={_0x58fdfe:0x7ea,_0x2b6f5d:0x746,_0x36bfcc:0x337,_0x32c1cb:0x647,_0xcdcd29:0x539,_0x17eb9d:0x4c8,_0x1a91f6:0x688,_0x547c99:0x47c,_0x14a3d2:0x238,_0x4a34d8:0x3af,_0x317485:0x623,_0x15b313:0x79c,_0x495923:0x58a,_0x32d406:0x327,_0x2bcc40:0x47a,_0xeaec1e:0x476,_0x133fde:0x657,_0x12e10c:0x9a1,_0x1a87be:0xa34,_0x58e60b:0x7dd,_0x39fa58:0x2d3,_0x31d7af:0x4ea,_0x1ae38b:0x6bc,_0x3d0ac3:0x381},_0x40da47={_0xd98818:0xa1,_0x241b1c:0x32e},_0x39c496={_0x39baed:0x1e3},_0x4d0e66=[],_0x492c4a=[];for(const _0x5e35df of _0x388688[_0x13559e(0x63f,0x76a,_0x5cf1ba._0x58fdfe,_0x5cf1ba._0x2b6f5d)]){const _0x48fd1e=ownValue(_0x388688[_0x13559e(_0x5cf1ba._0x36bfcc,_0x5cf1ba._0x32c1cb,0x3f4,_0x5cf1ba._0xcdcd29)],_0x5e35df['name']),_0x19abfe=isToolPermissionClass(_0x48fd1e)?_0x48fd1e:void 0x0,_0x27b1a6=_0x19abfe??_0x57c899(_0x5cf1ba._0x17eb9d,0x577,0x543,0x4be),_0x3f990d=suggestedPermissionClass(_0x5e35df);_0x492c4a['push']({'name':_0x5e35df[_0x13559e(_0x5cf1ba._0x1a91f6,_0x5cf1ba._0x547c99,0x359,0x476)],..._0x5e35df['description']!==void 0x0?{'description':_0x5e35df[_0x13559e(_0x5cf1ba._0x14a3d2,_0x5cf1ba._0x4a34d8,0x45d,0x379)]}:{},...isJsonValue(_0x5e35df[_0x57c899(0x820,_0x5cf1ba._0x317485,_0x5cf1ba._0x15b313,0x81e)])?{'inputSchema':_0x5e35df['inputSchema']}:{},'permissionClass':_0x27b1a6,'permissionConfigured':_0x19abfe!==void 0x0,..._0x3f990d!==void 0x0?{'suggestedPermissionClass':_0x3f990d}:{}});if(ownValue(_0x388688[_0x57c899(0x666,0x577,0x526,_0x5cf1ba._0x495923)],_0x5e35df[_0x13559e(_0x5cf1ba._0x32d406,_0x5cf1ba._0x2bcc40,0x4f2,_0x5cf1ba._0xeaec1e)])===![])continue;_0x4d0e66[_0x57c899(_0x5cf1ba._0x133fde,_0x5cf1ba._0x12e10c,_0x5cf1ba._0x1a87be,_0x5cf1ba._0x58e60b)](createMcpTool({'serverName':_0x388688['prefix']??_0x388688[_0x57c899(_0x5cf1ba._0x39fa58,0x47b,0x589,_0x5cf1ba._0x31d7af)],'tool':_0x5e35df,'client':_0x388688[_0x57c899(0x7c3,_0x5cf1ba._0x1ae38b,_0x5cf1ba._0x3d0ac3,0x56f)],'permissionClass':_0x27b1a6,'internalLifecycle':_0x388688['lifecycle']}));}function _0x57c899(_0x5d6196,_0x684eb2,_0x191353,_0x3290d1){return _0x1957f6(_0x5d6196-0x65,_0x684eb2-_0x39c496._0x39baed,_0x5d6196,_0x3290d1-0x3c4);}function _0x13559e(_0x19bb20,_0xe7120c,_0x111f37,_0x46d274){return _0x1957f6(_0x19bb20-_0x40da47._0xd98818,_0xe7120c-0x17,_0x111f37,_0x46d274-_0x40da47._0x241b1c);}return{'tools':_0x4d0e66,'descriptors':_0x492c4a};}function createMcpToolName(_0x55d09a,_0x3a277f){const _0x131c59={_0x2ab63b:0x491},_0x220ba5={_0x2d1dec:0xca,_0x16dafc:0x186},_0x19be49={_0x3754f8:0x4,_0x54b6a3:0x4f};function _0x2477a8(_0x417056,_0x496c21,_0x2484dd,_0x2a37f1){return _0x1957f6(_0x417056-_0x19be49._0x3754f8,_0x496c21-_0x19be49._0x54b6a3,_0x417056,_0x2484dd-0x5aa);}function _0x104ea3(_0x3a4ac4,_0x1aadec,_0x5e6662,_0x5668b2){return _0x1957f6(_0x3a4ac4-_0x220ba5._0x2d1dec,_0x1aadec-_0x220ba5._0x16dafc,_0x1aadec,_0x5e6662- -0x58);}const _0x28cc8a=_0x4dca08=>_0x4dca08[_0x104ea3(0x44a,0x419,0x22e,0x1d4)](/[^a-zA-Z0-9_]+/g,'_')[_0x104ea3(0x70,0x1a7,0x22e,0x45f)](/^_+|_+$/g,'');return _0x2477a8(0x6c7,0x68f,0x5fc,_0x131c59._0x2ab63b)+_0x28cc8a(_0x55d09a)+'_'+_0x28cc8a(_0x3a277f);}function isObject(_0x2684bd){const _0x5a9f9c={_0x42fecd:0x475,_0x51e0b1:0x2d5};function _0x1298ac(_0x3e7cd0,_0x5696fd,_0xa97627,_0x1751ec){return _0x39a391(_0x3e7cd0-0x53,_0x5696fd-0xdf,_0xa97627- -0x3b4,_0x1751ec);}return typeof _0x2684bd==='object'&&_0x2684bd!==null&&!Array[_0x1298ac(0x3e2,0x233,_0x5a9f9c._0x42fecd,_0x5a9f9c._0x51e0b1)](_0x2684bd);}function toSupportedSchema(_0x354814){const _0x5b74a9={_0x32e913:0x348,_0x2aca20:0x262,_0x5bd77a:0x293,_0x4850f1:0x212,_0x5dcea8:0x454,_0x56a9ec:0x45f,_0x217772:0x43e,_0x3f055b:0x38e,_0x4397f0:0x23f,_0x5df9e3:0x489,_0x56e4f9:0x3df,_0x3ec3d1:0x217,_0xbe1d4f:0x97c,_0x54bc7a:0x5f2,_0xdacb66:0x77e,_0x2c126e:0x83b,_0x4b3ee7:0x2ad,_0x1d5949:0x28d,_0x4d462d:0x6bc,_0x22edad:0x469,_0xc64517:0x6be,_0x11d91c:0x524,_0xf866c9:0x965,_0x36c3b7:0x943,_0x36fa68:0x8ae},_0x142e98={_0x53bf5a:0x196,_0x4599b5:0x1f2,_0x2e898b:0x483},_0x188851={_0x1ef3f3:0x169,_0x45acd7:0x45,_0x20a158:0x472};function _0x225c25(_0x4ac011,_0x2d9cb1,_0x25cb9c,_0x4a042c){return _0x39a391(_0x4ac011-_0x188851._0x1ef3f3,_0x2d9cb1-_0x188851._0x45acd7,_0x2d9cb1- -_0x188851._0x20a158,_0x4ac011);}if(!isObject(_0x354814))return void 0x0;function _0x40c539(_0x1faf6d,_0x348780,_0x3b6753,_0x30baab){return _0x1957f6(_0x1faf6d-_0x142e98._0x53bf5a,_0x348780-_0x142e98._0x4599b5,_0x348780,_0x30baab-_0x142e98._0x2e898b);}if(_0x354814[_0x225c25(_0x5b74a9._0x32e913,_0x5b74a9._0x2aca20,0x204,0x16e)]===_0x225c25(0x40e,_0x5b74a9._0x5bd77a,_0x5b74a9._0x4850f1,0x47f))return{'type':_0x40c539(0x460,0x5ae,_0x5b74a9._0x5dcea8,0x683)};if(_0x354814[_0x225c25(_0x5b74a9._0x56a9ec,0x262,0x3d2,0x18c)]===_0x225c25(_0x5b74a9._0x217772,_0x5b74a9._0x3f055b,_0x5b74a9._0x4397f0,_0x5b74a9._0x5df9e3)||_0x354814[_0x225c25(_0x5b74a9._0x56e4f9,_0x5b74a9._0x2aca20,0x30c,_0x5b74a9._0x3ec3d1)]==='integer')return{'type':_0x40c539(_0x5b74a9._0xbe1d4f,0x757,_0x5b74a9._0x54bc7a,_0x5b74a9._0xdacb66)};if(_0x354814[_0x40c539(0x510,_0x5b74a9._0x2c126e,0x72e,0x652)]===_0x40c539(0x90e,0x9ed,0xa21,0x8c2))return{'type':'boolean'};if(_0x354814[_0x225c25(_0x5b74a9._0x4b3ee7,_0x5b74a9._0x2aca20,_0x5b74a9._0x1d5949,0x493)]===_0x40c539(_0x5b74a9._0x4d462d,_0x5b74a9._0x22edad,_0x5b74a9._0xc64517,_0x5b74a9._0x11d91c))return{'type':'array','items':toSupportedSchema(_0x354814[_0x40c539(_0x5b74a9._0xf866c9,0x707,_0x5b74a9._0x36c3b7,0x7d1)])??{'type':'string'}};if(_0x354814['type']===_0x40c539(0x8dc,_0x5b74a9._0x36fa68,0x903,0x6b5))return toNuvinToolSchema(_0x354814);return void 0x0;}function toNuvinToolSchema(_0x3d9895){const _0x489ec4={_0xd744cc:0xe7,_0x5368e9:0x22b,_0x47f2d8:0x1d,_0x36315d:0x13b,_0x50bb0c:0x208,_0x4bbbd3:0xda,_0xacfe61:0x2c6,_0x24ce2d:0x363,_0x4b514b:0x50e,_0x5ad294:0x31b,_0x4bacf1:0xe6,_0x3fd15a:0x332,_0x534da5:0x59a,_0x11b454:0x8a,_0x458dd5:0x2bc,_0x4172cd:0x65},_0x3a930b={_0x3d041c:0xfe,_0xb2f504:0x50c},_0xba4999={_0x50dcaf:0x10c};function _0x54b70d(_0x411fa3,_0x45055e,_0x5630fd,_0x2ced9e){return _0x1957f6(_0x411fa3-0x141,_0x45055e-_0xba4999._0x50dcaf,_0x45055e,_0x2ced9e- -0xa4);}if(!isObject(_0x3d9895)||_0x3d9895['type']!==_0x22e922(0x317,_0x489ec4._0xd744cc,0xc8,_0x489ec4._0x5368e9))return{'type':_0x22e922(0x415,_0x489ec4._0x47f2d8,0x15c,0x22b),'properties':{}};const _0x384a2a={},_0x1cb903=isObject(_0x3d9895[_0x22e922(-0x77,-_0x489ec4._0x36315d,_0x489ec4._0x50bb0c,_0x489ec4._0x4bbbd3)])?_0x3d9895['properties']:{};for(const [_0x1720c0,_0x5810d4]of Object[_0x54b70d(_0x489ec4._0xacfe61,0x3db,0x432,_0x489ec4._0x24ce2d)](_0x1cb903)){const _0x2e0192=toSupportedSchema(_0x5810d4);if(_0x2e0192)_0x384a2a[_0x1720c0]=_0x2e0192;}const _0x26232f=Array[_0x22e922(_0x489ec4._0x4b514b,_0x489ec4._0x5ad294,0x3f3,0x31d)](_0x3d9895['required'])?_0x3d9895['required'][_0x22e922(0x280,0x33f,_0x489ec4._0x4bacf1,0x2dc)](_0xb542e6=>typeof _0xb542e6===_0x54b70d(-0xe4,0x57,0x121,0x15c)):void 0x0;function _0x22e922(_0x5082ca,_0x10b331,_0x23974e,_0x11a228){return _0x39a391(_0x5082ca-0x4a,_0x10b331-_0x3a930b._0x3d041c,_0x11a228- -_0x3a930b._0xb2f504,_0x23974e);}return _0x26232f?.[_0x22e922(_0x489ec4._0x3fd15a,0x381,_0x489ec4._0x534da5,0x3f8)]?{'type':'object','properties':_0x384a2a,'required':_0x26232f}:{'type':_0x54b70d(-_0x489ec4._0x11b454,_0x489ec4._0x458dd5,-_0x489ec4._0x4172cd,0x18e),'properties':_0x384a2a};}function isJsonObject(_0x182640){const _0x110f86={_0x561c34:0x9e3};function _0x55546f(_0x5de11c,_0x8a5a87,_0x40a874,_0x82fd3e){return _0x39a391(_0x5de11c-0x176,_0x8a5a87-0x1da,_0x5de11c- -0x5a,_0x8a5a87);}return typeof _0x182640==='object'&&_0x182640!==null&&!Array[_0x55546f(0x7cf,0x59c,_0x110f86._0x561c34,0x960)](_0x182640);}function formatMcpContent(_0x2345f3){const _0x3f6c49={_0x388389:0x3aa,_0x36d345:0x55,_0x225d96:0x209,_0x189bc2:0x9,_0x40c1b6:0x172,_0x48598d:0xaf,_0x441222:0x1da,_0x4a1714:0x64,_0x5e6cb0:0x30f,_0x4f6ca6:0x3f5,_0x5aecce:0xc7},_0x4975f7={_0xf60670:0x3b2,_0x3955ab:0x4e4,_0xa74caf:0x49b,_0x259748:0x46b,_0x230057:0x58d,_0xa9926f:0x363,_0x175e90:0x442,_0x55e55e:0x248,_0x348868:0x313,_0x3d5781:0x3c4},_0x3cdd1b={_0x2995ba:0x2c},_0x2d7ff6={_0x5b42e5:0x17c};function _0x2a6af8(_0x471c19,_0x47101e,_0x14d9c9,_0x224e55){return _0x1957f6(_0x471c19-0xcb,_0x47101e-_0x2d7ff6._0x5b42e5,_0x224e55,_0x471c19-0x86);}function _0x1ebc2f(_0x11449,_0x496e48,_0x5d981b,_0x45f5bd){return _0x1957f6(_0x11449-0x94,_0x496e48-0x3a,_0x5d981b,_0x11449-_0x3cdd1b._0x2995ba);}const _0x108299=Array[_0x2a6af8(_0x3f6c49._0x388389,0x58d,0x4e8,0x290)](_0x2345f3[_0x1ebc2f(_0x3f6c49._0x36d345,_0x3f6c49._0x225d96,_0x3f6c49._0x189bc2,-_0x3f6c49._0x40c1b6)])?_0x2345f3[_0x2a6af8(_0x3f6c49._0x48598d,0x236,-0x186,0x2d2)]:[],_0x165fab=_0x108299[_0x2a6af8(0x1a1,-0x19,_0x3f6c49._0x441222,-_0x3f6c49._0x4a1714)](_0x5c057f=>{const _0x7e12df={_0x31b333:0x12a},_0x10f262={_0x474222:0x80,_0x5d013d:0x79};function _0x5a9323(_0x532021,_0x2bd3e0,_0x425e4d,_0x198c86){return _0x2a6af8(_0x425e4d-_0x10f262._0x474222,_0x2bd3e0-_0x10f262._0x5d013d,_0x425e4d-0x2e,_0x2bd3e0);}function _0x4d4e3d(_0x2412bd,_0x44f73a,_0x3eb8e9,_0x32b5f6){return _0x1ebc2f(_0x44f73a- -0x1c2,_0x44f73a-_0x7e12df._0x31b333,_0x32b5f6,_0x32b5f6-0x17f);}if(!isObject(_0x5c057f))return'';if(_0x5c057f['type']===_0x5a9323(0x4a0,_0x4975f7._0xf60670,_0x4975f7._0x3955ab,_0x4975f7._0xa74caf)&&typeof _0x5c057f[_0x5a9323(_0x4975f7._0x259748,_0x4975f7._0x230057,0x4e4,_0x4975f7._0xa9926f)]==='string')return _0x5c057f[_0x4d4e3d(_0x4975f7._0x175e90,_0x4975f7._0x55e55e,_0x4975f7._0x348868,_0x4975f7._0x3d5781)];return JSON['stringify'](_0x5c057f);})[_0x1ebc2f(_0x3f6c49._0x5e6cb0,0x521,_0x3f6c49._0x4f6ca6,0x2a3)](_0x1e4804=>_0x1e4804[_0x2a6af8(0x485,0x6e1,0x2cd,0x429)]>0x0)[_0x1ebc2f(0x138,-0x6f,-0xb3,-_0x3f6c49._0x5aecce)]('\x0a');if(_0x165fab['length']>0x0)return _0x165fab;return JSON['stringify'](_0x2345f3,null,0x2);}function createMcpTool(_0x5105d0){const _0x3874df={_0x12988c:0x653,_0x28b0a6:0x65a,_0x3bc15e:0x1f4,_0x3bd868:0x3c2,_0x273c2c:0x35b,_0x1a8875:0x1ba,_0x21cd70:0x24c,_0x2c9be8:0x5a3,_0x2084eb:0x41f,_0x3da412:0x619,_0x3ba022:0x865,_0x61e16c:0x84f,_0x455e8c:0x157,_0x236723:0x14,_0x4fddbf:0x5bc,_0x1e946e:0x60d,_0x351b65:0x2b0,_0x5259a0:0x6c4,_0x5b0173:0x663,_0xa75835:0x504,_0x5704ed:0x30f,_0x41436b:0x592,_0x7c18f:0x339,_0x477dfb:0x2f5,_0x3ce24c:0x42f,_0x5bdee2:0x790,_0x381864:0x66d,_0x4d5143:0x581},_0x2787b3={_0x47b2db:0x13,_0x1dee96:0x17a,_0x196364:0xe,_0x519f37:0x7e,_0x3bbf9b:0x100,_0x112aed:0x1e7,_0x3839d5:0x18c,_0x4a4e5b:0x114,_0x2f87f2:0x251,_0x24e626:0x148,_0x55942d:0x161,_0xd325c1:0x109,_0x52809d:0x9f,_0x29f644:0x77,_0x52d7ec:0xf4,_0x31e6a5:0x185,_0x4bc137:0x8a,_0x19c043:0x230},_0xa33790={_0x15036c:0xec,_0x4c96cc:0x2e},_0x34e836={_0x541e1c:0x719,_0xea8fd1:0x1db},_0x2aba66={_0x472972:0x148,_0x1f129b:0x1d3,_0x312ae3:0x213},_0x4b1a7e={_0x3d0813:0xab},_0x24b4bc=createMcpToolName(_0x5105d0[_0x27cdaf(0x6a2,_0x3874df._0x12988c,_0x3874df._0x28b0a6,0x582)],_0x5105d0[_0x1bd564(0x33d,0x2b0,_0x3874df._0x3bc15e,_0x3874df._0x3bd868)][_0x1bd564(0x4da,_0x3874df._0x273c2c,_0x3874df._0x1a8875,0x293)]);function _0x27cdaf(_0x4fa8fe,_0x3026dc,_0x18f8dd,_0x16ecc6){return _0x39a391(_0x4fa8fe-0x30,_0x3026dc-_0x4b1a7e._0x3d0813,_0x4fa8fe-0x77,_0x3026dc);}function _0x1bd564(_0x1e469b,_0xefc8fd,_0x26fa09,_0x155cf6){return _0x1957f6(_0x1e469b-_0x2aba66._0x472972,_0xefc8fd-_0x2aba66._0x1f129b,_0x26fa09,_0xefc8fd-_0x2aba66._0x312ae3);}return defineTool({'name':_0x24b4bc,'permissionClass':_0x5105d0[_0x1bd564(0x3cc,_0x3874df._0x21cd70,0x476,0x61)],..._0x5105d0['internalLifecycle']!==void 0x0?{'internalLifecycle':_0x5105d0[_0x27cdaf(0x599,_0x3874df._0x2c9be8,_0x3874df._0x2084eb,0x356)]}:{},'description':_0x5105d0[_0x27cdaf(_0x3874df._0x3da412,0x4d9,_0x3874df._0x3ba022,_0x3874df._0x61e16c)][_0x1bd564(_0x3874df._0x455e8c,0x25e,_0x3874df._0x236723,0x282)]??_0x1bd564(0x7d3,_0x3874df._0x4fddbf,0x56c,_0x3874df._0x1e946e)+_0x5105d0[_0x1bd564(0x143,_0x3874df._0x351b65,0x462,0x399)][_0x27cdaf(_0x3874df._0x5259a0,0x728,0x46b,_0x3874df._0x5b0173)]+_0x1bd564(_0x3874df._0xa75835,0x42c,0x3e4,_0x3874df._0x5704ed)+_0x5105d0[_0x1bd564(_0x3874df._0x41436b,_0x3874df._0x7c18f,_0x3874df._0x477dfb,_0x3874df._0x3ce24c)],'inputSchema':toNuvinToolSchema(_0x5105d0[_0x27cdaf(0x619,_0x3874df._0x5bdee2,0x805,0x75b)][_0x1bd564(0x51c,_0x3874df._0x381864,_0x3874df._0x4d5143,0x70d)]),async *'execute'(_0x3af1b){let _0x32598e;function _0x120eb0(_0x373d2e,_0x3246db,_0x2321c9,_0x44dfc9){return _0x27cdaf(_0x44dfc9- -_0x34e836._0x541e1c,_0x3246db,_0x2321c9-_0x34e836._0xea8fd1,_0x44dfc9-0x3d);}try{_0x32598e=await _0x5105d0[_0x120eb0(-0x20a,_0x2787b3._0x47b2db,-_0x2787b3._0x1dee96,_0x2787b3._0x196364)]['callTool']({'name':_0x5105d0[_0x120eb0(0x74,_0x2787b3._0x519f37,-0x27,-_0x2787b3._0x3bbf9b)][_0x59f980(0x422,0x107,_0x2787b3._0x112aed,_0x2787b3._0x3839d5)],'arguments':isJsonObject(_0x3af1b)?_0x3af1b:{}});}catch(_0x1ba06a){throw extractOwnedMcpSafeError(_0x1ba06a)??toMcpSafeError({'serverName':_0x5105d0['serverName'],'operation':_0x120eb0(-0x82,-_0x2787b3._0x4a4e5b,_0x2787b3._0x2f87f2,_0x2787b3._0x24e626),'error':_0x1ba06a});}if(_0x32598e[_0x59f980(_0x2787b3._0x55942d,0x41d,0x33c,_0x2787b3._0xd325c1)])throw new ToolExecutionError(formatMcpContent(_0x32598e),{'code':'mcp-tool-error','serverName':_0x5105d0[_0x120eb0(-0x15d,_0x2787b3._0x52809d,-_0x2787b3._0x3839d5,-_0x2787b3._0x29f644)],'toolName':_0x5105d0['tool'][_0x120eb0(-_0x2787b3._0x52d7ec,-0x1f2,-_0x2787b3._0x31e6a5,-0x55)]});yield createToolOutput(formatMcpContent(_0x32598e),{'serverName':_0x5105d0[_0x120eb0(0x6a,-0x19d,-_0x2787b3._0x4bc137,-0x77)],'toolName':_0x5105d0['tool'][_0x120eb0(-0xbc,-_0x2787b3._0x19c043,-0x29,-0x55)],'result':_0x32598e});function _0x59f980(_0x1c3b00,_0x59e5a3,_0x124fe2,_0x3e3a08){return _0x27cdaf(_0x124fe2- -0x4dd,_0x1c3b00,_0x124fe2-_0xa33790._0x15036c,_0x3e3a08-_0xa33790._0x4c96cc);}return void 0x0;}});}var DEFAULT_MCP_TIMEOUT_MS=0xea60;function createMcpTimeoutSource(_0x33e073){let _0x17208b=_0x33e073;return{'get'(){return _0x17208b;},'set'(_0x9fcaa4){_0x17208b=_0x9fcaa4;}};}function resolveMcpTimeoutMs(_0x1eecab,_0x51f137){const _0x30c0ef={_0x351318:0x4f5},_0xd65cd7={_0x441879:0x21};function _0x4da1a4(_0x1c776c,_0x446cd2,_0x320ce7,_0x5f0d9a){return _0x1957f6(_0x1c776c-0x196,_0x446cd2-_0xd65cd7._0x441879,_0x5f0d9a,_0x446cd2-0x70);}return _0x1eecab[_0x4da1a4(0x175,0x380,_0x30c0ef._0x351318,0x438)]??_0x51f137??DEFAULT_MCP_TIMEOUT_MS;}function mapOwnedMcpBoundaryError(_0x5886da,_0x54a456){const _0x4fd278={_0x1045e6:0x6b7,_0x567bb9:0x6e8,_0x31025b:0x92b},_0xf52ac5={_0x18ef11:0x110,_0x1058c7:0x137};function _0x391bea(_0x58644c,_0xca9443,_0x5dd2fe,_0x45e360){return _0x39a391(_0x58644c-_0xf52ac5._0x18ef11,_0xca9443-_0xf52ac5._0x1058c7,_0x45e360- -0x5e,_0x5dd2fe);}return(_0x54a456?extractOwnedMcpSafeError(_0x5886da[_0x391bea(_0x4fd278._0x1045e6,_0x4fd278._0x567bb9,_0x4fd278._0x31025b,0x715)]):void 0x0)??createOwnedMcpSafeError(_0x5886da);}function createMcpGenerationLifecycle(_0x25bef6){const _0x47e3ba={_0x50e343:0xc7,_0x58fc74:0x2c9,_0x51948a:0x294,_0x3bfbab:0x2d9},_0x2f94b8={_0x2a4e91:0x46},_0x4ea7e6={_0x14b092:0x66d,_0x440045:0x74e,_0x203be7:0x979,_0x43efcf:0x894},_0x3ae93e={_0x17aec4:0x370};let _0x595c14=0x0,_0x2d140d=![],_0x4c53f4=![],_0x29f319,_0x211ab6,_0x2ab596;const _0x27f52b=()=>{const _0x310527={_0x3586aa:0x1f6};if(!_0x2d140d||_0x595c14!==0x0||_0x4c53f4)return;function _0x3baa6b(_0x44fb9c,_0x409ea7,_0x2894ed,_0x3b327d){return _0x1b0d(_0x44fb9c-_0x310527._0x3586aa,_0x2894ed);}function _0x135661(_0x43af74,_0xe899ae,_0x4484dd,_0x5e2a37){return _0x1b0d(_0x5e2a37- -_0x3ae93e._0x17aec4,_0x43af74);}_0x4c53f4=!![],void Promise[_0x3baa6b(0x636,0x715,_0x4ea7e6._0x14b092,0x445)]()[_0x3baa6b(_0x4ea7e6._0x440045,_0x4ea7e6._0x203be7,_0x4ea7e6._0x43efcf,0x50f)](_0x25bef6)['then'](_0x211ab6,_0x2ab596);};return{'acquire'(){if(_0x2d140d)throw new Error(_0x505657(_0x47e3ba._0x50e343,_0x47e3ba._0x58fc74,_0x47e3ba._0x51948a,_0x47e3ba._0x3bfbab));_0x595c14+=0x1;let _0x309265=![];function _0x505657(_0x2e7517,_0x26efcf,_0x437536,_0x4db685){return _0x1b0d(_0x4db685- -_0x2f94b8._0x2a4e91,_0x437536);}return()=>{if(_0x309265)return;_0x309265=!![],_0x595c14-=0x1,_0x27f52b();};},'retire'(){return!_0x29f319&&(_0x29f319=new Promise((_0x2dd0d0,_0x281543)=>{_0x211ab6=_0x2dd0d0,_0x2ab596=_0x281543;})),_0x2d140d=!![],_0x27f52b(),_0x29f319;}};}function buildMcpHttpHeaders(_0x4d9113){const _0x3c17d4={_0x1c4da8:0x604,_0x549b61:0x4c1,_0x44f160:0x72a,_0x56d6c6:0x478,_0x11258d:0x447,_0x3052c2:0x3ec,_0xa0436a:0x345,_0x489d7d:0x9e7,_0x15d292:0x8f1,_0x1c31a3:0x913,_0x4ed702:0x80a,_0x49c8d5:0x683,_0x2fb467:0x32f,_0x45ebed:0x720,_0x4446f1:0x7c6,_0x139e7b:0x43b,_0x341ab9:0x7a1,_0x53f429:0x8ae},_0xc2dd68={_0x226d0:0x1c3,_0x5021d6:0x1b},_0x21f4b6={_0xfa7b8d:0x12f},_0x407500={..._0x4d9113[_0x5a2543(_0x3c17d4._0x1c4da8,0x3ef,0x574,0x711)]??{}};function _0x5a2543(_0x332735,_0x2e2fb4,_0x58e00a,_0x5e061a){return _0x1957f6(_0x332735-_0x21f4b6._0xfa7b8d,_0x2e2fb4-0x9e,_0x5e061a,_0x58e00a-0x4af);}function _0x6be1b4(_0x56df13,_0x462366,_0xfa4af2,_0x15d9b6){return _0x39a391(_0x56df13-_0xc2dd68._0x226d0,_0x462366-_0xc2dd68._0x5021d6,_0x15d9b6- -0x1f0,_0xfa4af2);}return _0x4d9113[_0x6be1b4(0x3e0,_0x3c17d4._0x549b61,0x7a8,0x62c)]?.[_0x5a2543(_0x3c17d4._0x44f160,_0x3c17d4._0x56d6c6,0x67e,_0x3c17d4._0x11258d)]==='bearer'&&_0x4d9113['auth'][_0x6be1b4(0x160,_0x3c17d4._0x3052c2,0x3f5,_0x3c17d4._0xa0436a)]&&_0x407500[_0x5a2543(_0x3c17d4._0x489d7d,_0x3c17d4._0x15d292,0x78b,_0x3c17d4._0x1c31a3)]===void 0x0&&(_0x407500[_0x5a2543(_0x3c17d4._0x4ed702,0x5d8,0x78b,0x771)]=_0x6be1b4(_0x3c17d4._0x49c8d5,0x2c9,_0x3c17d4._0x2fb467,0x48a)+_0x4d9113[_0x5a2543(0x7b9,_0x3c17d4._0x45ebed,_0x3c17d4._0x4446f1,0x67b)][_0x6be1b4(0x461,0x56c,_0x3c17d4._0x139e7b,0x345)]),Object['keys'](_0x407500)[_0x5a2543(_0x3c17d4._0x341ab9,0x8d8,_0x3c17d4._0x53f429,0x6b7)]>0x0?_0x407500:void 0x0;}async function connectMcpServer(_0x487b6d,_0x2ae4db,_0x5224a7){const _0xd8716d={_0x3d2a67:0x757,_0x3ce317:0x70e,_0xc9460f:0x9c3,_0x1b96a7:0x9ec,_0x115011:0x7b2,_0xd650dc:0x653,_0x3d1133:0x9f5,_0x76cc3c:0x9a5,_0x1ac6b4:0xa56,_0x2aed49:0x6e9,_0x384c70:0x57a,_0x51e03d:0x643,_0x5dd273:0x5d6,_0x1dfeee:0x743,_0x6d39db:0x8b9,_0x381c2f:0x757,_0x1c684e:0x83d,_0x54d280:0x5c4,_0x707afe:0x789,_0xb3f9e0:0x519,_0x527343:0x53e,_0x44e96e:0x791,_0x1fbf9e:0x976,_0x17bbc5:0x630,_0x552711:0x5d4,_0x3676f4:0x544,_0x4a56ab:0x932,_0x46ebfb:0x76e,_0xacc4ec:0x798,_0x1c6fe6:0x35b,_0x4cff89:0x53e,_0x1d8b54:0x550,_0x801d90:0x626,_0x1b05ff:0x5d9,_0x36b478:0x44d,_0x73cefc:0x76f,_0x22cdb0:0x832,_0x4e5b1c:0x3e9,_0x54592d:0x6e2,_0x55af44:0x72f,_0x360308:0x8d5,_0x39d70c:0x6a7,_0x4acc31:0x6e9,_0x1dc08d:0x831,_0xde67d0:0x712,_0x255f4c:0x4e7,_0xb41020:0x7f3,_0x1005ce:0x762,_0x39f7fd:0x92f,_0x2a388f:0x649,_0x56a56f:0x83e,_0x2c279a:0x496,_0xb7c546:0x72f,_0x5e29de:0x656,_0x41e8fd:0x8d2,_0x376b41:0x898,_0x30660c:0x896,_0x22f9ed:0x894,_0x7a141e:0xb1e,_0x148303:0x7f7,_0x2cd6d9:0x8de,_0xb3fccd:0x875,_0x2510b4:0x856},_0x1a48be={_0x432d9c:0x154,_0x31cf32:0x5,_0x273e78:0x85,_0x3bce84:0x4cf,_0x473846:0x55e,_0x2d6381:0x630,_0x36950a:0x68f,_0x31d5fa:0x783},_0x1035ad={_0x2df691:0x1d3,_0x3b7f49:0x91,_0x20b7e8:0x168},_0x49c16f={_0x44a49c:0x184,_0x346696:0x31f,_0x42b9ed:0x2f8,_0x3f215e:0x2e,_0x3ced42:0x353,_0x26bb48:0x377,_0x3ec1f7:0x2d9,_0x1c9340:0x1d5},_0x16cae2={_0x1046aa:0x40,_0x52c0f6:0x2c6,_0x5a2668:0x6e},_0x343a8d={_0x388b92:0x5e5,_0x3d23fc:0x491,_0x3073a0:0x364,_0x20b291:0x22,_0x1d77cd:0x454},_0x3532b1={_0x1c4581:0x96,_0x1292ff:0x11e,_0x4bc3c8:0x258},_0x3240fb={_0x529e87:0x1a5},_0x87703f={_0x2c630c:0x196},_0x223acb={_0x1d1566:0x42,_0x48bd6d:0x1a2,_0xf11fa9:0x120,_0x2d12bc:0xc7,_0x3e92ec:0x634,_0x3e2dc0:0x491},_0x1ac0d9={_0x46c327:0x32,_0x29759a:0x97},_0x559290={_0x3afbc9:0x18e,_0x3712f6:0xe4},_0x3803b7={_0x29bf65:0x11b,_0x629a87:0x36,_0x2f51e5:0x1a6},_0x258aa3={_0x5097bc:0x1e,_0x3b5a92:0x744},_0x42bab1={_0x3ae9a1:0x117,_0x8dcd77:0x81,_0x3400eb:0x21};function _0x145b1f(_0x250581,_0x55de3f,_0x5df932,_0x38efc2){return _0x39a391(_0x250581-_0x42bab1._0x3ae9a1,_0x55de3f-_0x42bab1._0x8dcd77,_0x5df932-_0x42bab1._0x3400eb,_0x38efc2);}const _0x4b3c22=new Client({'name':_0x3589d3(_0xd8716d._0x3d2a67,0x8b1,_0xd8716d._0x3ce317,0x5ab),'version':_0x3589d3(0xab4,0x8b1,_0xd8716d._0xc9460f,_0xd8716d._0x1b96a7)}),_0x1fa0b0=_0x5224a7?.[_0x3589d3(0x675,0x9a7,0x88c,_0xd8716d._0x115011)]??createMcpTimeoutSource(DEFAULT_MCP_TIMEOUT_MS),_0x4e5f39=new Set();let _0x4fbe9c,_0x37f2c8=![];const _0x322e45=()=>{if(_0x37f2c8||_0x4fbe9c)return;_0x4fbe9c={'code':'mcp-transport-error','cause':new Error(_0x11b901(-_0x3803b7._0x29bf65,_0x3803b7._0x629a87,0x74,_0x3803b7._0x2f51e5))};function _0x11b901(_0x59dd3f,_0xc792cb,_0x51b53a,_0x41dbbf){return _0x145b1f(_0x59dd3f-0x6b,_0xc792cb-_0x258aa3._0x5097bc,_0xc792cb- -_0x258aa3._0x3b5a92,_0x51b53a);}for(const _0x44da27 of _0x4e5f39){try{_0x44da27(_0x4fbe9c);}catch{}}};_0x4b3c22[_0x145b1f(0x6b9,0x67a,0x68a,_0xd8716d._0xd650dc)]=()=>{function _0x4bc843(_0x38fd61,_0x338242,_0x296d36,_0x491ce1){return _0x145b1f(_0x38fd61-_0x559290._0x3afbc9,_0x338242-_0x559290._0x3712f6,_0x38fd61- -0x68c,_0x296d36);}function _0x335e92(_0x7593ba,_0xbb4ed0,_0xa6efb,_0xd550a6){return _0x145b1f(_0x7593ba-0x10c,_0xbb4ed0-_0x1ac0d9._0x46c327,_0xd550a6- -_0x1ac0d9._0x29759a,_0xa6efb);}console[_0x4bc843(_0x223acb._0x1d1566,-0x88,_0x223acb._0x48bd6d,-_0x223acb._0xf11fa9)](_0x4bc843(0xb1,0x30b,0x2d1,_0x223acb._0x2d12bc),{'server':_0x487b6d,'code':_0x335e92(0x3dc,_0x223acb._0x3e92ec,0x5a4,_0x223acb._0x3e2dc0)});},_0x4b3c22['onclose']=_0x322e45;try{if(_0x2ae4db[_0x3589d3(0x839,_0xd8716d._0x3d1133,_0xd8716d._0x76cc3c,_0xd8716d._0x1ac6b4)]===_0x3589d3(0x479,0x835,0x607,0x6cc)||_0x2ae4db['url']){if(!_0x2ae4db[_0x145b1f(0x5ee,_0xd8716d._0x2aed49,_0xd8716d._0x384c70,_0xd8716d._0x51e03d)])throw new Error(_0x145b1f(_0xd8716d._0x5dd273,0x7e9,_0xd8716d._0x1dfeee,_0xd8716d._0x6d39db)+_0x487b6d+'\x20requires\x20url\x20for\x20http\x20transport');if(_0x2ae4db[_0x145b1f(_0xd8716d._0x381c2f,0x8c8,_0xd8716d._0x1c684e,0x73f)]?.[_0x145b1f(_0xd8716d._0x54d280,0x4a2,0x6f5,_0xd8716d._0x707afe)]===_0x145b1f(_0xd8716d._0xb3f9e0,0x659,_0xd8716d._0x527343,_0xd8716d._0x44e96e)&&!_0x5224a7?.['oauth'])throw new Error(_0x3589d3(_0xd8716d._0x1fbf9e,_0xd8716d._0x17bbc5,0x78d,_0xd8716d._0x552711)+_0x487b6d+_0x145b1f(_0xd8716d._0x3676f4,_0xd8716d._0x4a56ab,_0xd8716d._0x46ebfb,_0xd8716d._0xacc4ec));const _0x4ae75f=buildMcpHttpHeaders(_0x2ae4db),_0x15a9ca=_0x2ae4db['auth']?.['type']===_0x145b1f(_0xd8716d._0x1c6fe6,0x6f5,_0xd8716d._0x4cff89,_0xd8716d._0x1d8b54)&&_0x5224a7?.[_0x3589d3(0x6e3,0x78a,0x588,_0xd8716d._0x801d90)]?createMcpOAuthProvider({'serverName':_0x487b6d,'callbackUrl':_0x5224a7[_0x145b1f(_0xd8716d._0x1b05ff,0x6c1,0x53e,_0xd8716d._0x36b478)][_0x3589d3(_0xd8716d._0x73cefc,0x5ce,0x822,_0xd8716d._0x22cdb0)],'storageDir':_0x5224a7[_0x3589d3(0x668,0x642,0x588,_0xd8716d._0x4e5b1c)]['storageDir'],'config':_0x2ae4db[_0x145b1f(_0xd8716d._0x54592d,0x751,_0xd8716d._0x1c684e,0x768)],'onRedirect':_0x2cb6ca=>_0x5224a7[_0x145b1f(0x681,0x343,0x53e,0x485)]?.['onRedirect'](_0x487b6d,_0x2cb6ca)}):void 0x0,_0xf521c2=new StreamableHTTPClientTransport(new URL(_0x2ae4db['url']),{'authProvider':_0x15a9ca,'requestInit':_0x4ae75f?{'headers':_0x4ae75f}:void 0x0});await _0x4b3c22[_0x145b1f(0xad0,_0xd8716d._0x55af44,_0xd8716d._0x360308,_0xd8716d._0x39d70c)](_0xf521c2,{'timeout':_0x1fa0b0[_0x3589d3(0x7ef,0x91d,_0xd8716d._0x4acc31,_0xd8716d._0x1dc08d)](),..._0x5224a7?.['signal']!==void 0x0?{'signal':_0x5224a7[_0x145b1f(0x772,_0xd8716d._0x3ce317,0x8de,0x88f)]}:{}});}else{if(!_0x2ae4db['command'])throw new Error(_0x145b1f(_0xd8716d._0xde67d0,_0xd8716d._0x255f4c,0x743,0x982)+_0x487b6d+_0x3589d3(0x65e,0x6ba,0x87b,0x966));const _0x46d90d=new StdioClientTransport({'command':_0x2ae4db[_0x3589d3(_0xd8716d._0xb41020,_0xd8716d._0x1005ce,0x78b,_0xd8716d._0x39f7fd)],'args':_0x2ae4db[_0x3589d3(0x712,_0xd8716d._0x2a388f,0x7ca,_0xd8716d._0x56a56f)]??[],'env':_0x2ae4db[_0x3589d3(_0xd8716d._0x2c279a,0x461,0x616,_0xd8716d._0xb7c546)],'stderr':_0x145b1f(_0xd8716d._0x5e29de,_0xd8716d._0x41e8fd,0x8af,0x857)});await _0x4b3c22['connect'](_0x46d90d,{'timeout':_0x1fa0b0[_0x3589d3(0x58c,0x628,_0xd8716d._0x2aed49,_0xd8716d._0x376b41)](),..._0x5224a7?.[_0x3589d3(0x959,_0xd8716d._0x30660c,0x928,_0xd8716d._0x22f9ed)]!==void 0x0?{'signal':_0x5224a7[_0x145b1f(_0xd8716d._0x7a141e,_0xd8716d._0x148303,_0xd8716d._0x2cd6d9,_0xd8716d._0xb3fccd)]}:{}});}}catch(_0x3a4214){throw createOwnedMcpSafeError({'serverName':_0x487b6d,'operation':_0x145b1f(0x6ed,_0xd8716d._0x2510b4,_0xd8716d._0x360308,0x903),'error':_0x3a4214});}function _0x3589d3(_0x2f9f98,_0x6213f0,_0xd9338b,_0x40df48){return _0x1957f6(_0x2f9f98-_0x87703f._0x2c630c,_0x6213f0-0x8a,_0x40df48,_0xd9338b-0x570);}return{async 'listTools'(_0x5d8171){const _0x2319f6=_0x5d8171?.[_0x1c7375(0x542,0x739,0x667,0x6d0)]??_0x5224a7?.[_0xc7994f(0x268,_0x343a8d._0x388b92,0x584,0x494)];function _0xc7994f(_0x83306f,_0x5afa3d,_0x27d2e4,_0x530077){return _0x145b1f(_0x83306f-_0x3240fb._0x529e87,_0x5afa3d-0xe2,_0x530077- -0x44a,_0x27d2e4);}function _0x1c7375(_0x36f2ef,_0x513c0b,_0x5c0fb9,_0xcae377){return _0x3589d3(_0x36f2ef-_0x3532b1._0x1c4581,_0x513c0b-_0x3532b1._0x1292ff,_0xcae377- -_0x3532b1._0x4bc3c8,_0x36f2ef);}try{return await _0x4b3c22[_0x1c7375(0x4a5,_0x343a8d._0x3d23fc,_0x343a8d._0x3073a0,0x3da)](void 0x0,{'timeout':_0x1fa0b0[_0xc7994f(_0x343a8d._0x20b291,0x276,0x2c,0x255)](),..._0x2319f6!==void 0x0?{'signal':_0x2319f6}:{}});}catch(_0x2f4c1b){throw createOwnedMcpSafeError({'serverName':_0x487b6d,'operation':_0x1c7375(0x528,0x359,0x31f,_0x343a8d._0x1d77cd),'error':_0x2f4c1b});}},'onTerminalError'(_0x3d6c63){const _0xbe5d66={_0x11f371:0xc9};_0x4e5f39['add'](_0x3d6c63);const _0x5d1b38=_0x4fbe9c;function _0x420864(_0x4a2ab1,_0x3094c0,_0x5bc5e6,_0x2ad567){return _0x145b1f(_0x4a2ab1-0x1e7,_0x3094c0-_0xbe5d66._0x11f371,_0x4a2ab1- -0x330,_0x5bc5e6);}return _0x5d1b38&&queueMicrotask(()=>{function _0xe93f10(_0x381341,_0x2771fd,_0x2df5b3,_0x5174ed){return _0x1b0d(_0x5174ed- -0x114,_0x2771fd);}if(_0x4e5f39[_0xe93f10(_0x16cae2._0x1046aa,_0x16cae2._0x52c0f6,0x1f6,_0x16cae2._0x5a2668)](_0x3d6c63))_0x3d6c63(_0x5d1b38);}),()=>_0x4e5f39[_0x420864(0x4c5,0x4bd,0x282,0x664)](_0x3d6c63);},async 'callTool'(_0x51c2cd){const _0x250684={_0x42fb44:0x6f,_0x93515f:0x3c,_0x4eee74:0x543};function _0x1d57b6(_0x4c0425,_0x1d7bca,_0x3f064e,_0x168aad){return _0x3589d3(_0x4c0425-0x1da,_0x1d7bca-0x21,_0x3f064e- -0xbd,_0x4c0425);}function _0x5b1de5(_0x4e9e00,_0x7122b6,_0x40dd4c,_0x2fa30d){return _0x3589d3(_0x4e9e00-_0x250684._0x42fb44,_0x7122b6-_0x250684._0x93515f,_0x40dd4c- -_0x250684._0x4eee74,_0x4e9e00);}try{return await _0x4b3c22[_0x5b1de5(_0x49c16f._0x44a49c,0x3ca,_0x49c16f._0x346696,_0x49c16f._0x42b9ed)]({'method':_0x5b1de5(0x190,0x29a,0x118,-_0x49c16f._0x3f215e),'params':_0x51c2cd},CallToolResultSchema,{'timeout':_0x1fa0b0[_0x5b1de5(0x346,_0x49c16f._0x3ced42,0x1a6,_0x49c16f._0x26bb48)]()});}catch(_0x1b859d){throw createOwnedMcpSafeError({'serverName':_0x487b6d,'operation':_0x5b1de5(_0x49c16f._0x3ec1f7,0x11a,0x312,_0x49c16f._0x1c9340),'error':_0x1b859d});}},async 'close'(){const _0x44c51c={_0x27264b:0x109,_0x597921:0x126};_0x37f2c8=!![],_0x4b3c22['onerror']=void 0x0;function _0x5dda53(_0x4e51ed,_0x4dee35,_0x1b38a6,_0x4f1bde){return _0x145b1f(_0x4e51ed-_0x1035ad._0x2df691,_0x4dee35-_0x1035ad._0x3b7f49,_0x1b38a6- -_0x1035ad._0x20b7e8,_0x4dee35);}function _0x551c88(_0x40f3ec,_0x5afa99,_0x22c6ee,_0x2d7b68){return _0x3589d3(_0x40f3ec-_0x44c51c._0x27264b,_0x5afa99-_0x44c51c._0x597921,_0x2d7b68- -0x711,_0x5afa99);}_0x4b3c22[_0x551c88(0x104,-_0x1a48be._0x432d9c,-_0x1a48be._0x31cf32,-_0x1a48be._0x273e78)]=void 0x0,_0x4e5f39[_0x5dda53(0x629,_0x1a48be._0x3bce84,_0x1a48be._0x473846,_0x1a48be._0x2d6381)]();try{await _0x4b3c22['close']();}catch(_0x155e76){throw createOwnedMcpSafeError({'serverName':_0x487b6d,'operation':_0x5dda53(0x93b,_0x1a48be._0x36950a,_0x1a48be._0x31d5fa,0x702),'error':_0x155e76});}}};}async function createMcpConnectionGeneration(_0x4c22fd){const _0x447f68={_0x14c296:0x6ed,_0x257587:0x6cf,_0x3e7f99:0x6a3,_0x277337:0x461,_0x29e4c0:0x5d7,_0x306f84:0x707,_0x42720f:0x45f,_0x36a42d:0x44a,_0x296736:0x723,_0x1583e2:0x8bb,_0x2454da:0x7f9,_0x13884b:0x833,_0x48205b:0x807,_0x3e00e5:0x807,_0x3a9377:0x64c,_0x34d5f2:0x575,_0x28120d:0x9ec,_0x5d13e4:0x21a,_0x164553:0x301,_0x150c86:0x484,_0x14597d:0x6e2,_0x54b85:0x7fe,_0x3a85f1:0x1bf,_0x52c874:0x436,_0x281d23:0x437,_0x29eeed:0x63c,_0x69ecef:0x4c2,_0x1705dc:0x5b1,_0x3ee958:0x54d,_0x57836a:0x4ba,_0x3bcae6:0x58b,_0xd1ad32:0x678,_0x1731f0:0x3ab,_0xc24c07:0x230},_0x2ede07={_0xa240b4:0x7b9,_0x242c35:0x840,_0x240fc5:0x7e2},_0x4bd189={_0x332f2d:0x111,_0x30164e:0x5bc},_0x5901fe={_0x4ce9b6:0xa2c,_0x55adf9:0x924,_0x5b14f6:0x9fe,_0x5e3137:0x924,_0x32e94f:0x718},_0x351cd5={_0x4b2182:0x140,_0x26013a:0x110},_0x32341a={_0x46ea62:0x279,_0x587ae5:0x1cc,_0x2386de:0x2ba,_0x4e9a59:0xdf,_0x1046df:0x36a,_0x357b68:0x502,_0x4523b0:0x426,_0x2d2317:0x233},_0xc314cb={_0x4fd8b0:0x6e0,_0x4373f9:0x4e1,_0x2620a3:0x59e},_0x25c6c6={_0x5ebcda:0x1c8},_0x368d8e={_0x243292:0x1a8},_0x23e033={_0xbd8020:0x4f,_0x5a2c3c:0xfc},_0x475168=_0x4c22fd[_0x10d97c(_0x447f68._0x14c296,_0x447f68._0x257587,0x7fe,_0x447f68._0x3e7f99)]??connectMcpServer;function _0x3dd0bd(_0x35ceca,_0x42bdc1,_0x2742eb,_0x4087fd){return _0x1957f6(_0x35ceca-_0x23e033._0xbd8020,_0x42bdc1-_0x23e033._0x5a2c3c,_0x4087fd,_0x42bdc1-0x228);}const _0x39811d=_0x4c22fd[_0x3dd0bd(_0x447f68._0x277337,_0x447f68._0x29e4c0,0x7f3,_0x447f68._0x306f84)]===void 0x0,_0x9c740a={..._0x4c22fd[_0x3dd0bd(_0x447f68._0x42720f,0x48a,0x25a,_0x447f68._0x36a42d)],'timeoutSource':_0x4c22fd[_0x10d97c(_0x447f68._0x296736,0x7af,0x76b,_0x447f68._0x1583e2)],..._0x4c22fd[_0x10d97c(_0x447f68._0x2454da,_0x447f68._0x13884b,_0x447f68._0x48205b,0x86d)]!==void 0x0?{'signal':_0x4c22fd[_0x10d97c(0x881,0x7a0,_0x447f68._0x3e00e5,0xa2e)]}:{}};let _0x2a02b7;try{_0x2a02b7=await _0x475168(_0x4c22fd[_0x10d97c(0x77f,_0x447f68._0x3a9377,_0x447f68._0x34d5f2,0x397)],_0x4c22fd[_0x10d97c(0x863,0x6b4,0x845,_0x447f68._0x28120d)],_0x9c740a);}catch(_0x4ea7a1){throw mapOwnedMcpBoundaryError({'serverName':_0x4c22fd[_0x3dd0bd(_0x447f68._0x5d13e4,0x34e,_0x447f68._0x164553,_0x447f68._0x150c86)],'operation':_0x10d97c(_0x447f68._0x14597d,0x9c6,_0x447f68._0x54b85,0x603),'error':_0x4ea7a1},_0x39811d);}const _0x17d277=new Set();let _0x4d45af;function _0x10d97c(_0x2530cc,_0x3177d7,_0x340121,_0x78806e){return _0x1957f6(_0x2530cc-_0x368d8e._0x243292,_0x3177d7-0x17,_0x3177d7,_0x340121-0x44f);}const _0x25c51e=_0x2a02b7['onTerminalError']?.(_0x36a1ad=>{if(_0x4d45af)return;_0x4d45af=_0x36a1ad;for(const _0x597c3a of _0x17d277)_0x597c3a(_0x36a1ad);});let _0x19a6db=![];const _0x5600ac=()=>{if(_0x19a6db)return;_0x19a6db=!![];function _0x3a5699(_0x992aa5,_0x1b0e5c,_0x488e56,_0x4a0a5e){return _0x10d97c(_0x992aa5-0x165,_0x4a0a5e,_0x1b0e5c- -0x10e,_0x4a0a5e-_0x25c6c6._0x5ebcda);}_0x17d277[_0x3a5699(_0xc314cb._0x4fd8b0,_0xc314cb._0x4373f9,_0xc314cb._0x2620a3,0x462)](),_0x25c51e?.();};let _0x5978e1;try{_0x5978e1=await _0x2a02b7[_0x3dd0bd(_0x447f68._0x3a85f1,0x2ea,0x48c,_0x447f68._0x52c874)](_0x4c22fd[_0x3dd0bd(_0x447f68._0x281d23,0x5e0,_0x447f68._0x29eeed,0x41b)]!==void 0x0?{'signal':_0x4c22fd[_0x3dd0bd(0x50d,0x5e0,_0x447f68._0x69ecef,_0x447f68._0x1705dc)]}:void 0x0);}catch(_0x22b1db){const _0x104281=mapOwnedMcpBoundaryError({'serverName':_0x4c22fd[_0x3dd0bd(0xf7,0x34e,_0x447f68._0x3ee958,0x1a6)],'operation':_0x10d97c(_0x447f68._0x57836a,0x619,_0x447f68._0x3bcae6,_0x447f68._0xd1ad32),'error':_0x22b1db},_0x39811d);_0x5600ac();try{await _0x2a02b7['close']();}catch{}throw _0x104281;}const _0xacd76=[..._0x5978e1[_0x3dd0bd(0x3da,_0x447f68._0x1731f0,_0x447f68._0xc24c07,0x163)]],_0x4ef265={async 'callTool'(_0x168f48){const _0x1c81fb={_0x297a41:0xe7},_0x580c18={_0xd944ac:0x10a};function _0x2a433c(_0xb756ea,_0x4d40a3,_0x52f061,_0x48e6e2){return _0x10d97c(_0xb756ea-0x1dc,_0x52f061,_0x48e6e2-0xa4,_0x48e6e2-_0x580c18._0xd944ac);}function _0x53f080(_0x161f2d,_0x3d2a26,_0x4c4d60,_0x5be2c7){return _0x3dd0bd(_0x161f2d-0xd8,_0x3d2a26- -_0x1c81fb._0x297a41,_0x4c4d60-0xd,_0x4c4d60);}try{return await _0x2a02b7[_0x53f080(0x245,0x1b7,_0x32341a._0x46ea62,_0x32341a._0x587ae5)](_0x168f48);}catch(_0x5ccf24){throw mapOwnedMcpBoundaryError({'serverName':_0x4c22fd[_0x53f080(_0x32341a._0x2386de,0x267,_0x32341a._0x4e9a59,_0x32341a._0x1046df)],'operation':_0x53f080(_0x32341a._0x357b68,_0x32341a._0x4523b0,0x446,_0x32341a._0x2d2317),'error':_0x5ccf24},_0x39811d);}}},_0x4b6f05=createMcpGenerationLifecycle(async()=>{const _0x5bd91d={_0x18bb2a:0xc};function _0x4310c6(_0x2f4800,_0x2340ce,_0xb61b,_0x533764){return _0x10d97c(_0x2f4800-_0x351cd5._0x4b2182,_0x533764,_0x2340ce-_0x351cd5._0x26013a,_0x533764-0x36);}function _0xb3e2fd(_0x11bc43,_0x37603a,_0x5a9ecf,_0x3f0d74){return _0x3dd0bd(_0x11bc43-_0x5bd91d._0x18bb2a,_0x5a9ecf- -0x374,_0x5a9ecf-0x151,_0x3f0d74);}_0x5600ac();try{await _0x2a02b7[_0x4310c6(_0x5901fe._0x4ce9b6,_0x5901fe._0x55adf9,_0x5901fe._0x5b14f6,0xb2d)]();}catch(_0xedb34d){throw mapOwnedMcpBoundaryError({'serverName':_0x4c22fd[_0xb3e2fd(-0x17f,0x8e,-0x26,-0x114)],'operation':_0x4310c6(0x7f0,_0x5901fe._0x5e3137,0x8e1,_0x5901fe._0x32e94f),'error':_0xedb34d},_0x39811d);}});return{'client':_0x2a02b7,'descriptors':_0xacd76,'lifecycle':_0x4b6f05,'projectTools'(_0x1725f0){return projectMcpTools({..._0x1725f0,'descriptors':_0xacd76,'client':_0x4ef265,'lifecycle':_0x4b6f05});},'onTerminalError'(_0x3a32f0){const _0x3b6bcf={_0x304436:0x72};if(_0x19a6db)return()=>{};_0x17d277[_0x1adec7(0x73a,_0x2ede07._0xa240b4,_0x2ede07._0x242c35,_0x2ede07._0x240fc5)](_0x3a32f0);const _0x5e0cc1=_0x4d45af;function _0x14ff5e(_0x138261,_0x1eecac,_0x3c1bfb,_0xff7b55){return _0x10d97c(_0x138261-_0x4bd189._0x332f2d,_0xff7b55,_0x3c1bfb- -_0x4bd189._0x30164e,_0xff7b55-0x123);}function _0x1adec7(_0x42415a,_0x12dcb6,_0x1804e1,_0x46d7db){return _0x10d97c(_0x42415a-0x1a4,_0x12dcb6,_0x46d7db-_0x3b6bcf._0x304436,_0x46d7db-0xb5);}return _0x5e0cc1&&queueMicrotask(()=>{if(_0x17d277['has'](_0x3a32f0))_0x3a32f0(_0x5e0cc1);}),()=>_0x17d277[_0x1adec7(0x82a,0x921,0x57e,0x790)](_0x3a32f0);},'retire'(){return _0x5600ac(),_0x4b6f05['retire']();}};}import{randomUUID as _0x2f9219}from'crypto';import{types as _0x3e3d17}from'util';var StrictJsonValidationError=class extends Error{constructor(_0x3d843c){const _0x4c7d71={_0xa9c58e:0xa2e,_0xf62dee:0x694,_0x29d786:0x752},_0xd2f3fb={_0x18fd78:0x8a};function _0x2beca7(_0x164423,_0x442e25,_0x1eb9db,_0x3d81fa){return _0x1957f6(_0x164423-0xa,_0x442e25-_0xd2f3fb._0x18fd78,_0x442e25,_0x3d81fa-0x4bc);}super(_0x3d843c),this['name']=_0x2beca7(_0x4c7d71._0xa9c58e,_0x4c7d71._0xf62dee,_0x4c7d71._0x29d786,0x896);}};function assertStrictJsonValue(_0x4f0b0b,_0x39c5e6=_0x1957f6(0x66a,0x682,0x249,0x45c)){validateStrictJson(_0x4f0b0b,_0x39c5e6,new Set());}function assertStrictJsonObject(_0x2d68b8,_0x4d42a6=_0x39a391(0x74d,0x755,0x961,0x7ea)){const _0x131487={_0x290489:0x3c9,_0x3174ac:0x47f,_0x46e06c:0x5e6,_0x6f8968:0x986,_0xa5a893:0x666,_0x5de0ab:0x818},_0x724263={_0x55e1d8:0x132};function _0x2d1b55(_0x2367d5,_0x53439b,_0x4ebbe2,_0x26301c){return _0x39a391(_0x2367d5-0x17f,_0x53439b-_0x724263._0x55e1d8,_0x26301c- -0x53,_0x2367d5);}function _0x21e3e6(_0x164832,_0x630111,_0x5a9ffd,_0x65e2c7){return _0x39a391(_0x164832-0x1c8,_0x630111-0xa2,_0x65e2c7- -0x151,_0x630111);}assertStrictJsonValue(_0x2d68b8,_0x4d42a6);if(Array['isArray'](_0x2d68b8)||_0x2d68b8===null||typeof _0x2d68b8!==_0x21e3e6(_0x131487._0x290489,_0x131487._0x3174ac,0x3c8,_0x131487._0x46e06c))throw new StrictJsonValidationError(_0x4d42a6+_0x21e3e6(_0x131487._0x6f8968,0x752,_0x131487._0xa5a893,_0x131487._0x5de0ab));}function parseStrictJsonValue(_0x1c51a5,_0x32fa85=_0x39a391(0x7a7,0x72b,0x961,0x754)){const _0x567613=parseJson(_0x1c51a5,_0x32fa85);return assertStrictJsonValue(_0x567613,_0x32fa85),_0x567613;}function parseStrictJsonObject(_0x321d54,_0x5c37a8=_0x39a391(0x78c,0x795,0x961,0x740)){const _0x4482f1=parseJson(_0x321d54,_0x5c37a8);return assertStrictJsonObject(_0x4482f1,_0x5c37a8),_0x4482f1;}function parseJson(_0x154f72,_0x30faac){const _0x21eb55={_0x859628:0x134,_0xfa75aa:0x10f,_0x3ec6bc:0x24b},_0x594744={_0xbb50e7:0x16b,_0xd54ec4:0x78};function _0x5c3d66(_0x2f72ae,_0x297acb,_0x4edc9c,_0x1f0f7d){return _0x39a391(_0x2f72ae-_0x594744._0xbb50e7,_0x297acb-_0x594744._0xd54ec4,_0x1f0f7d- -0x3c2,_0x297acb);}try{return JSON['parse'](_0x154f72);}catch(_0xac3919){const _0x388343=_0xac3919 instanceof Error?_0xac3919['message']:_0x5c3d66(_0x21eb55._0x859628,_0x21eb55._0xfa75aa,_0x21eb55._0x3ec6bc,0x287);throw new StrictJsonValidationError(_0x30faac+'\x20must\x20be\x20valid\x20JSON:\x20'+_0x388343);}}function validateStrictJson(_0x5bd903,_0x265219,_0x36dbcd){const _0x431155={_0x564363:0x13,_0x4668ec:0x6f,_0x213b09:0x336,_0x321f96:0x7ab,_0x2ff4e5:0x905,_0x59557e:0x5fa,_0x41db29:0x62,_0x255268:0xfd,_0x26aaba:0x859,_0x3777d7:0x684,_0x2af074:0xc,_0x3228a9:0x1fd,_0x132423:0xd9,_0x587111:0x20,_0x57db22:0x5da,_0x154645:0x66f,_0x139bf9:0x5f2,_0x1b7595:0x22d,_0x377ff9:0x218,_0x5e1ee9:0x325,_0x27bab0:0x7d1,_0x58b977:0x7e8,_0x58ff8f:0x67f,_0x28fad1:0x66,_0x1f79f8:0x2fb,_0x386085:0x77f,_0x4196d4:0x633,_0x3f9087:0x95d},_0x1611d6={_0x229eb0:0x101,_0x1cba7f:0x17a,_0x523355:0x4b0},_0x458300={_0x453403:0x191};if(_0x5bd903===null||typeof _0x5bd903===_0x316390(0x30,_0x431155._0x564363,-_0x431155._0x4668ec,-0x105)||typeof _0x5bd903===_0x316390(0x26f,0xf3,_0x431155._0x213b09,0xa4))return;function _0x316390(_0x1537c6,_0x1b295b,_0xda15da,_0x36cc8c){return _0x39a391(_0x1537c6-0x5,_0x1b295b-_0x458300._0x453403,_0x1537c6- -0x6d5,_0x1b295b);}if(typeof _0x5bd903===_0x21cb6e(_0x431155._0x321f96,_0x431155._0x2ff4e5,0x703,_0x431155._0x59557e)){if(Number['isFinite'](_0x5bd903))return;throw new StrictJsonValidationError(_0x265219+'\x20must\x20be\x20a\x20finite\x20JSON\x20number');}if(typeof _0x5bd903!==_0x316390(_0x431155._0x41db29,-0x17a,-0x38,_0x431155._0x255268))throw new StrictJsonValidationError(_0x265219+_0x21cb6e(0x63d,_0x431155._0x26aaba,0x42c,_0x431155._0x3777d7));if(_0x3e3d17[_0x316390(_0x431155._0x2af074,_0x431155._0x3228a9,-_0x431155._0x132423,-_0x431155._0x587111)](_0x5bd903))throw new StrictJsonValidationError(_0x265219+_0x21cb6e(_0x431155._0x57db22,0x566,_0x431155._0x154645,_0x431155._0x139bf9));if(hasBuiltInExoticBrand(_0x5bd903))throw new StrictJsonValidationError(_0x265219+_0x316390(_0x431155._0x1b7595,0x428,0x16f,0x228));function _0x21cb6e(_0x4383cb,_0x12d373,_0x4f85fb,_0x5a725e){return _0x1957f6(_0x4383cb-_0x1611d6._0x229eb0,_0x12d373-_0x1611d6._0x1cba7f,_0x5a725e,_0x4383cb-_0x1611d6._0x523355);}if(_0x36dbcd[_0x316390(-_0x431155._0x377ff9,-_0x431155._0x5e1ee9,-0x33,-0x26f)](_0x5bd903))throw new StrictJsonValidationError(_0x265219+'\x20must\x20not\x20contain\x20a\x20cycle');_0x36dbcd[_0x21cb6e(_0x431155._0x27bab0,0x98b,_0x431155._0x58b977,_0x431155._0x58ff8f)](_0x5bd903);try{Array[_0x316390(0x154,-_0x431155._0x28fad1,-0x32,_0x431155._0x1f79f8)](_0x5bd903)?validateArray(_0x5bd903,_0x265219,_0x36dbcd):validateObject(_0x5bd903,_0x265219,_0x36dbcd);}finally{_0x36dbcd[_0x21cb6e(_0x431155._0x386085,_0x431155._0x4196d4,_0x431155._0x3f9087,0x92b)](_0x5bd903);}}var platformBrandChecks=[createPlatformBrandCheck(typeof URL===_0x39a391(0x460,0x7e4,0x684,0x5c9)?void 0x0:URL,['href']),createPlatformBrandCheck(typeof URLSearchParams===_0x1957f6(0x137,0x3f,0x3d5,0x17f)?void 0x0:URLSearchParams,['size',_0x39a391(0x688,0x7bc,0x867,0x77f)]),createPlatformBrandCheck(typeof AbortController===_0x1957f6(0x379,0x162,-0x87,0x17f)?void 0x0:AbortController,[_0x1957f6(0x4ba,0x2f8,0x3b1,0x3b8)])]['filter'](_0x2c929c=>_0x2c929c!==void 0x0);function createPlatformBrandCheck(_0xb74eb5,_0x28538c){const _0x25c5ce={_0x1df9a2:0x33c,_0xa122a8:0x4db,_0x38a204:0x47b,_0x2e3f60:0x28,_0x124019:0xc4,_0x426b4a:0x575,_0x456104:0x371,_0x36a094:0x4ac,_0x4533b5:0x130,_0x1e3843:0x58d,_0x3d63f7:0x56b,_0x4d5265:0x6e1,_0x465e5e:0x350,_0x418472:0x3cd,_0xaafea7:0x3dc,_0x29ab88:0x41c,_0x343ca0:0x371,_0x2d5b56:0x23b,_0x4a1cd8:0x310,_0x65f281:0x4ba,_0x5c515f:0x64d,_0x5ad047:0x9b2,_0x19269b:0x768},_0x3b5ba0={_0x58db7a:0xa01,_0x86064a:0xaa3},_0x1c22d8={_0x36514f:0x20e};if(typeof _0xb74eb5!==_0x5b95ba(0xeb,_0x25c5ce._0x1df9a2,_0x25c5ce._0xa122a8,0x1bd))return void 0x0;function _0x41fcb4(_0x1fa685,_0x4df346,_0x19234a,_0x4e01af){return _0x1957f6(_0x1fa685-0x1a8,_0x4df346-0x151,_0x19234a,_0x4df346-0x341);}const _0x17b74e=Object[_0x5b95ba(0x1e8,0x2ee,_0x25c5ce._0x38a204,0x1cc)](_0xb74eb5,_0x5b95ba(0xdc,-_0x25c5ce._0x2e3f60,-0x1f9,-_0x25c5ce._0x124019));if(!_0x17b74e||!(_0x5b95ba(_0x25c5ce._0x426b4a,_0x25c5ce._0x456104,0x4f3,_0x25c5ce._0x36a094)in _0x17b74e)||typeof _0x17b74e[_0x5b95ba(0x260,0x371,_0x25c5ce._0x4533b5,_0x25c5ce._0x1e3843)]!==_0x41fcb4(_0x25c5ce._0x3d63f7,0x573,_0x25c5ce._0x4d5265,0x546)||_0x17b74e[_0x5b95ba(_0x25c5ce._0x465e5e,_0x25c5ce._0x456104,0x147,_0x25c5ce._0x418472)]===null)return void 0x0;function _0x5b95ba(_0x6b7150,_0x15b8e4,_0x30a71b,_0x249876){return _0x1957f6(_0x6b7150-0x122,_0x15b8e4-0x10c,_0x6b7150,_0x15b8e4- -0xeb);}for(const _0x256499 of _0x28538c){const _0x4c8264=Object[_0x5b95ba(0x240,0x2ee,0x500,_0x25c5ce._0xaafea7)](_0x17b74e[_0x5b95ba(_0x25c5ce._0x29ab88,_0x25c5ce._0x343ca0,_0x25c5ce._0x2d5b56,0x143)],_0x256499),_0x266d6c=_0x4c8264?.[_0x41fcb4(_0x25c5ce._0x4a1cd8,_0x25c5ce._0x65f281,0x42b,_0x25c5ce._0x5c515f)]??_0x4c8264?.['value'];if(typeof _0x266d6c!==_0x41fcb4(_0x25c5ce._0x5ad047,_0x25c5ce._0x19269b,0x72e,0x99e))continue;return _0x42f193=>{function _0x11a0d1(_0x4da96e,_0x42dc1d,_0x305cb6,_0x4147d8){return _0x41fcb4(_0x4da96e-0xe4,_0x305cb6-_0x1c22d8._0x36514f,_0x4147d8,_0x4147d8-0x9e);}try{return Reflect[_0x11a0d1(_0x3b5ba0._0x58db7a,0x8bb,0x92a,_0x3b5ba0._0x86064a)](_0x266d6c,_0x42f193,[]),!![];}catch{return![];}};}return void 0x0;}function hasBuiltInExoticBrand(_0x50ac3e){const _0x34d576={_0x4851ed:0x461,_0x40a2f3:0x366,_0x49978c:0x568,_0x1d9a5d:0x645,_0x23f9a9:0x14c,_0x11b2c4:0x4f,_0x4af783:0x546,_0x323793:0x28b,_0x3c1c20:0x2ed,_0x24e851:0x2ee,_0x5df54e:0x4a4,_0x22560a:0x16f,_0x405224:0x207,_0x4e0b41:0x1,_0x3198d4:0x485,_0x5e0464:0x25a,_0x1ea306:0x4f5,_0x19524c:0x5ea,_0x59e2f3:0x646,_0xa8c4d5:0x3ef,_0x1d9cb5:0x6de,_0x4710f7:0x35f,_0x57017f:0x31b,_0x45d361:0x39c,_0x4dd166:0x536,_0x3b7c14:0x68c,_0x38c761:0x2fc,_0x4e54db:0x238,_0x4f7dfe:0x13d,_0x1951aa:0x33d,_0x1c8045:0x449,_0x2e8183:0x1b4},_0x1df3de={_0x5504f6:0x13d},_0x14de08={_0x58a908:0x17,_0x4f1ac7:0x8e};function _0x53a1d7(_0x13820e,_0x43b940,_0x2781f0,_0x400fa1){return _0x1957f6(_0x13820e-0x1c4,_0x43b940-_0x14de08._0x58a908,_0x13820e,_0x400fa1- -_0x14de08._0x4f1ac7);}function _0x2988c9(_0x4cd73a,_0x23a7c8,_0x2d31e4,_0x7a3496){return _0x1957f6(_0x4cd73a-_0x1df3de._0x5504f6,_0x23a7c8-0x79,_0x2d31e4,_0x23a7c8-0x242);}return _0x3e3d17[_0x2988c9(0x433,_0x34d576._0x4851ed,0x666,0x4b3)](_0x50ac3e)||_0x3e3d17['isArgumentsObject'](_0x50ac3e)||_0x3e3d17[_0x2988c9(_0x34d576._0x40a2f3,0x404,0x638,0x353)](_0x50ac3e)||_0x3e3d17['isCryptoKey'](_0x50ac3e)||_0x3e3d17[_0x2988c9(0x5f4,0x415,0x62d,0x2c2)](_0x50ac3e)||_0x3e3d17[_0x2988c9(_0x34d576._0x49978c,0x5b9,_0x34d576._0x1d9a5d,0x73b)](_0x50ac3e)||_0x3e3d17[_0x53a1d7(0xbe,0x160,_0x34d576._0x23f9a9,-_0x34d576._0x11b2c4)](_0x50ac3e)||_0x3e3d17[_0x2988c9(_0x34d576._0x4af783,0x347,0x355,0x59b)](_0x50ac3e)||_0x3e3d17['isKeyObject'](_0x50ac3e)||_0x3e3d17[_0x2988c9(_0x34d576._0x323793,_0x34d576._0x3c1c20,_0x34d576._0x24e851,0x145)](_0x50ac3e)||_0x3e3d17[_0x2988c9(0x60e,0x462,_0x34d576._0x5df54e,0x298)](_0x50ac3e)||_0x3e3d17[_0x53a1d7(_0x34d576._0x22560a,0xc3,-_0x34d576._0x405224,_0x34d576._0x4e0b41)](_0x50ac3e)||_0x3e3d17[_0x53a1d7(_0x34d576._0x3198d4,0x2d2,_0x34d576._0x5e0464,0x3d2)](_0x50ac3e)||_0x3e3d17[_0x53a1d7(-0x4a,0x144,-0x14a,-0xa3)](_0x50ac3e)||_0x3e3d17[_0x2988c9(0x348,_0x34d576._0x1ea306,0x638,0x511)](_0x50ac3e)||_0x3e3d17[_0x2988c9(_0x34d576._0x19524c,_0x34d576._0x59e2f3,_0x34d576._0xa8c4d5,_0x34d576._0x1d9cb5)](_0x50ac3e)||_0x3e3d17[_0x2988c9(0x58b,_0x34d576._0x4710f7,0x556,_0x34d576._0x57017f)](_0x50ac3e)||_0x3e3d17[_0x2988c9(_0x34d576._0x45d361,_0x34d576._0x4dd166,_0x34d576._0x3b7c14,_0x34d576._0x38c761)](_0x50ac3e)||_0x3e3d17[_0x2988c9(_0x34d576._0x4e54db,0x343,0x3db,_0x34d576._0x4f7dfe)](_0x50ac3e)||_0x3e3d17['isWeakSet'](_0x50ac3e)||platformBrandChecks[_0x2988c9(0x17e,_0x34d576._0x1951aa,_0x34d576._0x1c8045,_0x34d576._0x2e8183)](_0x4b0db5=>_0x4b0db5(_0x50ac3e));}function validateArray(_0x11f653,_0x3eb983,_0x4e2e72){const _0x220079={_0x18e966:0x254,_0x125104:0x35e,_0x36fa06:0x2b3,_0x2de3d7:0x616,_0x27d6c1:0x5b5,_0x2d307a:0x7fe,_0x398817:0x6e4,_0x57bf96:0x74c,_0x161674:0x11f,_0x30b2e1:0x75f,_0x4b3a95:0x9f5,_0x591289:0x502,_0x36d3b5:0x6ab,_0x4d2c2b:0x687,_0x429586:0x5ed,_0x47a186:0x842,_0x34a4c0:0x7f8,_0xe56d67:0x857,_0x3f0a83:0x81c,_0x47ffe4:0x502,_0x5043c3:0x541,_0xb5fc0d:0x55f,_0x1151d1:0x5b4,_0x51bde7:0x69c,_0x1f4495:0x4c3,_0x286bd7:0x3ce},_0x462293={_0x281f7a:0x7a},_0xf8d79e={_0x3079ba:0x402};if(Object[_0x4991fb(_0x220079._0x18e966,_0x220079._0x125104,0x3f2,_0x220079._0x36fa06)](_0x11f653)!==Array[_0x33e5f8(0x62c,_0x220079._0x2de3d7,_0x220079._0x27d6c1,_0x220079._0x2d307a)])throw new StrictJsonValidationError(_0x3eb983+_0x33e5f8(0x924,0x6f0,_0x220079._0x398817,_0x220079._0x57bf96));const _0x3da19b=Reflect[_0x4991fb(0xe6,0x222,-0x160,-_0x220079._0x161674)](_0x11f653);function _0x4991fb(_0xc2d887,_0x47cca3,_0x5c3df7,_0x8af063){return _0x39a391(_0xc2d887-0x101,_0x47cca3-0x1a,_0xc2d887- -_0xf8d79e._0x3079ba,_0x8af063);}function _0x33e5f8(_0x74c546,_0x22ea2b,_0x47478a,_0x5b3d80){return _0x1957f6(_0x74c546-0x1d7,_0x22ea2b-_0x462293._0x281f7a,_0x22ea2b,_0x47478a-0x4f2);}if(_0x3da19b[_0x33e5f8(_0x220079._0x30b2e1,0x80f,0x8f1,_0x220079._0x4b3a95)]!==_0x11f653[_0x4991fb(_0x220079._0x591289,0x2c9,_0x220079._0x36d3b5,0x60e)]+0x1||_0x3da19b[_0x33e5f8(0x740,_0x220079._0x4d2c2b,_0x220079._0x429586,_0x220079._0x47a186)](_0xe820f9=>typeof _0xe820f9!==_0x33e5f8(0x501,0x813,0x6f2,0x5bf)))throw new StrictJsonValidationError(_0x3eb983+_0x33e5f8(_0x220079._0x34a4c0,0xa1e,_0x220079._0xe56d67,_0x220079._0x3f0a83));for(let _0x4b5c63=0x0;_0x4b5c63<_0x11f653[_0x4991fb(_0x220079._0x47ffe4,0x3b2,_0x220079._0x5043c3,0x625)];_0x4b5c63+=0x1){const _0x17ab49=Object['getOwnPropertyDescriptor'](_0x11f653,String(_0x4b5c63));if(!_0x17ab49||!(_0x4991fb(_0x220079._0xb5fc0d,_0x220079._0x1151d1,_0x220079._0x51bde7,0x5f2)in _0x17ab49)||!_0x17ab49[_0x4991fb(0x30f,0x435,_0x220079._0x1f4495,0x500)])throw new StrictJsonValidationError(_0x3eb983+'['+_0x4b5c63+_0x4991fb(0x3cd,0x3fa,_0x220079._0x286bd7,0x50a));validateStrictJson(_0x17ab49[_0x4991fb(0x55f,0x63b,0x33c,0x340)],_0x3eb983+'['+_0x4b5c63+']',_0x4e2e72);}}function validateObject(_0x2efc78,_0x371e76,_0x59b6a2){const _0x335c90={_0x24a1c8:0x45c,_0x3a677a:0x5ff,_0x133392:0x2d4,_0x48d880:0x52b,_0x342072:0x50f,_0x5bcd9f:0x689,_0x190da9:0x70e,_0x1c9dd7:0x83f,_0x2f1f29:0x66f,_0x32208a:0x507,_0x58b873:0x48f,_0x2cb249:0x28a,_0x36a08c:0x550,_0x162123:0x507,_0x537dd0:0x461,_0x8f8c15:0x4ec},_0x52f566={_0x5f5964:0xf3,_0x483f1b:0x301},_0x248fc3={_0x4fa6ee:0x144,_0x4644e7:0x283};function _0x6301d9(_0x411b31,_0xa28a86,_0x1c53fe,_0xa5f78){return _0x1957f6(_0x411b31-0x185,_0xa28a86-_0x248fc3._0x4fa6ee,_0x1c53fe,_0xa5f78-_0x248fc3._0x4644e7);}const _0x430961=Object[_0x57341a(_0x335c90._0x24a1c8,0x24a,_0x335c90._0x3a677a,0x452)](_0x2efc78);if(_0x430961!==Object['prototype']&&_0x430961!==null)throw new StrictJsonValidationError(_0x371e76+_0x57341a(_0x335c90._0x133392,_0x335c90._0x48d880,0x5ab,_0x335c90._0x342072));function _0x57341a(_0x339ea9,_0x6c8c1b,_0x29b92f,_0x420074){return _0x1957f6(_0x339ea9-0x169,_0x6c8c1b-_0x52f566._0x5f5964,_0x29b92f,_0x420074-_0x52f566._0x483f1b);}for(const _0x11caad of Reflect[_0x57341a(0x397,0xab,0x44a,0x2e4)](_0x2efc78)){if(typeof _0x11caad==='symbol')throw new StrictJsonValidationError(_0x371e76+_0x6301d9(_0x335c90._0x5bcd9f,_0x335c90._0x190da9,_0x335c90._0x1c9dd7,_0x335c90._0x2f1f29));const _0x2e609e=Object[_0x6301d9(0x51b,0x87a,0x732,0x65c)](_0x2efc78,_0x11caad);if(!_0x2e609e||!(_0x57341a(0x98c,0x65b,0x847,0x75d)in _0x2e609e)||!_0x2e609e[_0x6301d9(0x470,_0x335c90._0x32208a,0x2f9,_0x335c90._0x58b873)])throw new StrictJsonValidationError(_0x371e76+'.'+_0x11caad+_0x6301d9(_0x335c90._0x2cb249,_0x335c90._0x36a08c,_0x335c90._0x162123,_0x335c90._0x537dd0));validateStrictJson(_0x2e609e[_0x6301d9(_0x335c90._0x8f8c15,0x5f4,0x8d5,0x6df)],_0x371e76+'.'+_0x11caad,_0x59b6a2);}}var ProgramIsolateError=class extends Error{[_0x1957f6(-0xb9,0xa4,0x1db,0xe5)];[_0x39a391(0x89a,0x88c,0x7aa,0x976)];constructor(_0x4c3895,_0x2cb88e,_0x50df46){const _0x372e72={_0x32486e:0x13c,_0x4cf806:0x4ae,_0x5060a4:0x40f,_0x2bf031:0x448,_0x4e3b8f:0x1f4,_0x5bd453:0x295,_0x1ba346:0x36c,_0x1b3c08:0x4eb,_0xe7bfc4:0x3b4},_0x9f943b={_0x26fda2:0x11e},_0x4275a5={_0x574b84:0x179,_0x54ba34:0x22,_0x431d68:0x5dd};super(_0x2cb88e);function _0x64d1ec(_0x5b7697,_0x57ca41,_0x574a09,_0x503cfc){return _0x39a391(_0x5b7697-_0x4275a5._0x574b84,_0x57ca41-_0x4275a5._0x54ba34,_0x57ca41- -_0x4275a5._0x431d68,_0x5b7697);}this[_0x18cb71(_0x372e72._0x32486e,_0x372e72._0x4cf806,0x4af,0x257)]=_0x18cb71(0x6c6,0x3ac,_0x372e72._0x5060a4,0x53c),this[_0x18cb71(0xce,0x314,_0x372e72._0x2bf031,_0x372e72._0x4e3b8f)]=_0x4c3895;function _0x18cb71(_0xfa7a54,_0x2ba85a,_0x5bed22,_0x525eaa){return _0x1957f6(_0xfa7a54-_0x9f943b._0x26fda2,_0x2ba85a-0x102,_0x5bed22,_0x525eaa-0x10f);}this[_0x18cb71(_0x372e72._0x5bd453,_0x372e72._0x1ba346,_0x372e72._0x1b3c08,_0x372e72._0xe7bfc4)]=_0x50df46?.['authoredDetail']===!![];}},PROGRAM_SOURCE_GLOBAL='__nuvinProgramSource',PROGRAM_MAIN_GLOBAL=_0x1957f6(0x4ad,0x362,0x264,0x408),PROGRAM_CALLBACK_GLOBAL=_0x39a391(0x837,0x711,0x5e5,0x462),PROGRAM_TOOL_NAMES_GLOBAL=_0x39a391(0x61e,0x8cc,0x823,0x98d),MAX_COPIED_ERROR_BYTES=0x200,PROGRAM_COMPILER_SOURCE=_0x1957f6(0x150,-0x39,-0x150,0x1c)+PROGRAM_SOURCE_GLOBAL+_0x39a391(0x486,0x54a,0x50c,0x52b)+PROGRAM_SOURCE_GLOBAL+_0x39a391(0x736,0x4a3,0x4f5,0x332)+PROGRAM_MAIN_GLOBAL+_0x39a391(0x3a0,0x4f1,0x59e,0x58f),PROGRAM_RUNNER_SOURCE='\x0a(async\x20()\x20=>\x20{\x0a\x20\x20\x22use\x20strict\x22;\x0a\x0a\x20\x20const\x20main\x20=\x20globalThis.__nuvinProgramMain;\x0a\x20\x20const\x20callHostReference\x20=\x20globalThis.__nuvinProgramCallback;\x0a\x20\x20const\x20toolNamesText\x20=\x20globalThis.__nuvinProgramToolNames;\x0a\x20\x20delete\x20globalThis.__nuvinProgramMain;\x0a\x20\x20delete\x20globalThis.__nuvinProgramCallback;\x0a\x20\x20delete\x20globalThis.__nuvinProgramToolNames;\x0a\x0a\x20\x20const\x20arrayIsArray\x20=\x20Array.isArray;\x0a\x20\x20const\x20arrayPrototype\x20=\x20Array.prototype;\x0a\x20\x20const\x20defineProperty\x20=\x20Object.defineProperty;\x0a\x20\x20const\x20errorPrototype\x20=\x20Error.prototype;\x0a\x20\x20const\x20freeze\x20=\x20Object.freeze;\x0a\x20\x20const\x20getOwnPropertyDescriptor\x20=\x20Object.getOwnPropertyDescriptor;\x0a\x20\x20const\x20getPrototypeOf\x20=\x20Object.getPrototypeOf;\x0a\x20\x20const\x20jsonParse\x20=\x20JSON.parse;\x0a\x20\x20const\x20jsonStringify\x20=\x20JSON.stringify;\x0a\x20\x20const\x20numberIsFinite\x20=\x20Number.isFinite;\x0a\x20\x20const\x20ObjectConstructor\x20=\x20Object;\x0a\x20\x20const\x20objectPrototype\x20=\x20Object.prototype;\x0a\x20\x20const\x20ownKeys\x20=\x20Reflect.ownKeys;\x0a\x20\x20const\x20PromiseConstructor\x20=\x20Promise;\x0a\x20\x20const\x20promiseThen\x20=\x20Promise.prototype.then;\x0a\x20\x20const\x20reflectApply\x20=\x20Reflect.apply;\x0a\x20\x20const\x20callHostApply\x20=\x20callHostReference.apply;\x0a\x20\x20const\x20SetConstructor\x20=\x20Set;\x0a\x20\x20const\x20setAdd\x20=\x20Set.prototype.add;\x0a\x20\x20const\x20setDelete\x20=\x20Set.prototype.delete;\x0a\x20\x20const\x20setHas\x20=\x20Set.prototype.has;\x0a\x20\x20const\x20stringCharCodeAt\x20=\x20String.prototype.charCodeAt;\x0a\x20\x20const\x20stringSlice\x20=\x20String.prototype.slice;\x0a\x20\x20const\x20weakMapGet\x20=\x20WeakMap.prototype.get;\x0a\x20\x20const\x20weakMapSet\x20=\x20WeakMap.prototype.set;\x0a\x0a\x20\x20//\x20The\x20runner\x20must\x20remain\x20self-contained\x20inside\x20the\x20isolate,\x20so\x20these\x20checks\x0a\x20\x20//\x20intentionally\x20mirror\x20the\x20host\x20validator\x20rather\x20than\x20importing\x20host\x20code.\x0a\x20\x20//\x20Focused\x20parity\x20tests\x20cover\x20both\x20accepted\x20graphs\x20and\x20rejected\x20built-in\x20brands.\x0a\x20\x20const\x20arrayBufferIsView\x20=\x20ArrayBuffer.isView;\x0a\x20\x20const\x20arrayBufferByteLengthGetter\x20=\x20getOwnPropertyDescriptor(\x0a\x20\x20\x20\x20ArrayBuffer.prototype,\x0a\x20\x20\x20\x20\x22byteLength\x22,\x0a\x20\x20).get;\x0a\x20\x20const\x20booleanValueOf\x20=\x20Boolean.prototype.valueOf;\x0a\x20\x20const\x20dateGetTime\x20=\x20Date.prototype.getTime;\x0a\x20\x20const\x20mapSizeGetter\x20=\x20getOwnPropertyDescriptor(Map.prototype,\x20\x22size\x22).get;\x0a\x20\x20const\x20numberValueOf\x20=\x20Number.prototype.valueOf;\x0a\x20\x20const\x20regexpSourceGetter\x20=\x20getOwnPropertyDescriptor(RegExp.prototype,\x20\x22source\x22).get;\x0a\x20\x20const\x20setSizeGetter\x20=\x20getOwnPropertyDescriptor(Set.prototype,\x20\x22size\x22).get;\x0a\x20\x20const\x20stringValueOf\x20=\x20String.prototype.valueOf;\x0a\x20\x20const\x20symbolValueOf\x20=\x20Symbol.prototype.valueOf;\x0a\x20\x20const\x20weakMapHas\x20=\x20WeakMap.prototype.has;\x0a\x20\x20const\x20weakSetHas\x20=\x20WeakSet.prototype.has;\x0a\x20\x20const\x20brandProbe\x20=\x20{};\x0a\x20\x20const\x20builtInBrandChecks\x20=\x20[\x0a\x20\x20\x20\x20[mapSizeGetter,\x20[]],\x0a\x20\x20\x20\x20[setSizeGetter,\x20[]],\x0a\x20\x20\x20\x20[weakMapHas,\x20[brandProbe]],\x0a\x20\x20\x20\x20[weakSetHas,\x20[brandProbe]],\x0a\x20\x20\x20\x20[arrayBufferByteLengthGetter,\x20[]],\x0a\x20\x20\x20\x20[dateGetTime,\x20[]],\x0a\x20\x20\x20\x20[regexpSourceGetter,\x20[]],\x0a\x20\x20\x20\x20[booleanValueOf,\x20[]],\x0a\x20\x20\x20\x20[numberValueOf,\x20[]],\x0a\x20\x20\x20\x20[stringValueOf,\x20[]],\x0a\x20\x20\x20\x20[symbolValueOf,\x20[]],\x0a\x20\x20];\x0a\x20\x20const\x20toolErrorDetails\x20=\x20new\x20WeakMap();\x0a\x20\x20//\x20Count\x20admission\x20before\x20Reference.apply\x20so\x20runner\x20completion\x20never\x20depends\x20on\x0a\x20\x20//\x20when\x20isolated-vm\x20enters\x20the\x20host\x20callback.\x0a\x20\x20let\x20callsOpen\x20=\x20true;\x0a\x20\x20let\x20startedCallCount\x20=\x200;\x0a\x20\x20let\x20settledCallCount\x20=\x200;\x0a\x20\x20let\x20resolveAdmittedCallsSettled;\x0a\x20\x20const\x20admittedCallsSettled\x20=\x20new\x20PromiseConstructor((resolve)\x20=>\x20{\x0a\x20\x20\x20\x20resolveAdmittedCallsSettled\x20=\x20resolve;\x0a\x20\x20});\x0a\x0a\x20\x20class\x20StrictJsonValidationError\x20extends\x20Error\x20{}\x0a\x0a\x20\x20function\x20copyBoundedErrorText(value)\x20{\x0a\x20\x20\x20\x20let\x20result\x20=\x20\x22\x22;\x0a\x20\x20\x20\x20let\x20byteLength\x20=\x200;\x0a\x20\x20\x20\x20for\x20(let\x20index\x20=\x200;\x20index\x20<\x20value.length;\x20)\x20{\x0a\x20\x20\x20\x20\x20\x20const\x20firstCodeUnit\x20=\x20reflectApply(stringCharCodeAt,\x20value,\x20[index]);\x0a\x20\x20\x20\x20\x20\x20const\x20secondCodeUnit\x20=\x0a\x20\x20\x20\x20\x20\x20\x20\x20firstCodeUnit\x20>=\x200xd800\x20&&\x20firstCodeUnit\x20<=\x200xdbff\x20&&\x20index\x20+\x201\x20<\x20value.length\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20?\x20reflectApply(stringCharCodeAt,\x20value,\x20[index\x20+\x201])\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:\x200;\x0a\x20\x20\x20\x20\x20\x20const\x20codeUnitLength\x20=\x0a\x20\x20\x20\x20\x20\x20\x20\x20firstCodeUnit\x20>=\x200xd800\x20&&\x0a\x20\x20\x20\x20\x20\x20\x20\x20firstCodeUnit\x20<=\x200xdbff\x20&&\x0a\x20\x20\x20\x20\x20\x20\x20\x20secondCodeUnit\x20>=\x200xdc00\x20&&\x0a\x20\x20\x20\x20\x20\x20\x20\x20secondCodeUnit\x20<=\x200xdfff\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20?\x202\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:\x201;\x0a\x20\x20\x20\x20\x20\x20const\x20isControl\x20=\x0a\x20\x20\x20\x20\x20\x20\x20\x20firstCodeUnit\x20<=\x200x1f\x20||\x20(firstCodeUnit\x20>=\x200x7f\x20&&\x20firstCodeUnit\x20<=\x200x9f);\x0a\x20\x20\x20\x20\x20\x20const\x20character\x20=\x20isControl\x0a\x20\x20\x20\x20\x20\x20\x20\x20?\x20\x22\x20\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20:\x20reflectApply(stringSlice,\x20value,\x20[index,\x20index\x20+\x20codeUnitLength]);\x0a\x20\x20\x20\x20\x20\x20const\x20characterBytes\x20=\x20isControl\x0a\x20\x20\x20\x20\x20\x20\x20\x20?\x201\x0a\x20\x20\x20\x20\x20\x20\x20\x20:\x20codeUnitLength\x20===\x202\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20?\x204\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:\x20firstCodeUnit\x20<=\x200x7f\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20?\x201\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:\x20firstCodeUnit\x20<=\x200x7ff\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20?\x202\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:\x203;\x0a\x20\x20\x20\x20\x20\x20if\x20(byteLength\x20+\x20characterBytes\x20>\x20512)\x20break;\x0a\x20\x20\x20\x20\x20\x20result\x20+=\x20character;\x0a\x20\x20\x20\x20\x20\x20byteLength\x20+=\x20characterBytes;\x0a\x20\x20\x20\x20\x20\x20index\x20+=\x20codeUnitLength;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20return\x20result;\x0a\x20\x20}\x0a\x0a\x20\x20class\x20ToolCallError\x20extends\x20Error\x20{\x0a\x20\x20\x20\x20constructor(message,\x20toolName,\x20output)\x20{\x0a\x20\x20\x20\x20\x20\x20const\x20copiedMessage\x20=\x0a\x20\x20\x20\x20\x20\x20\x20\x20typeof\x20message\x20===\x20\x22string\x22\x20?\x20copyBoundedErrorText(message)\x20:\x20\x22tool\x20call\x20failed\x22;\x0a\x20\x20\x20\x20\x20\x20const\x20copiedToolName\x20=\x0a\x20\x20\x20\x20\x20\x20\x20\x20typeof\x20toolName\x20===\x20\x22string\x22\x20?\x20copyBoundedErrorText(toolName)\x20:\x20\x22unknown\x22;\x0a\x20\x20\x20\x20\x20\x20const\x20copiedOutput\x20=\x0a\x20\x20\x20\x20\x20\x20\x20\x20typeof\x20output\x20===\x20\x22string\x22\x20?\x20copyBoundedErrorText(output)\x20:\x20undefined;\x0a\x20\x20\x20\x20\x20\x20super(copiedMessage);\x0a\x20\x20\x20\x20\x20\x20defineProperty(this,\x20\x22name\x22,\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20value:\x20\x22ToolCallError\x22,\x0a\x20\x20\x20\x20\x20\x20\x20\x20writable:\x20false,\x0a\x20\x20\x20\x20\x20\x20\x20\x20enumerable:\x20true,\x0a\x20\x20\x20\x20\x20\x20\x20\x20configurable:\x20false,\x0a\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20\x20\x20defineProperty(this,\x20\x22toolName\x22,\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20value:\x20copiedToolName,\x0a\x20\x20\x20\x20\x20\x20\x20\x20writable:\x20false,\x0a\x20\x20\x20\x20\x20\x20\x20\x20enumerable:\x20true,\x0a\x20\x20\x20\x20\x20\x20\x20\x20configurable:\x20false,\x0a\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20\x20\x20if\x20(copiedOutput\x20!==\x20undefined)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20defineProperty(this,\x20\x22output\x22,\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20value:\x20copiedOutput,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20writable:\x20false,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20enumerable:\x20true,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20configurable:\x20false,\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20delete\x20this.stack;\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a\x0a\x20\x20function\x20createToolCallError(message,\x20toolName,\x20output)\x20{\x0a\x20\x20\x20\x20const\x20copiedMessage\x20=\x20copyBoundedErrorText(message);\x0a\x20\x20\x20\x20const\x20copiedToolName\x20=\x20copyBoundedErrorText(toolName);\x0a\x20\x20\x20\x20const\x20copiedOutput\x20=\x20output\x20===\x20undefined\x20?\x20undefined\x20:\x20copyBoundedErrorText(output);\x0a\x20\x20\x20\x20const\x20error\x20=\x20new\x20ToolCallError(copiedMessage,\x20copiedToolName,\x20copiedOutput);\x0a\x20\x20\x20\x20reflectApply(weakMapSet,\x20toolErrorDetails,\x20[\x0a\x20\x20\x20\x20\x20\x20error,\x0a\x20\x20\x20\x20\x20\x20freeze({\x20message:\x20copiedMessage,\x20toolName:\x20copiedToolName,\x20output:\x20copiedOutput\x20}),\x0a\x20\x20\x20\x20]);\x0a\x20\x20\x20\x20return\x20error;\x0a\x20\x20}\x0a\x0a\x20\x20function\x20hasBuiltInExoticBrand(value)\x20{\x0a\x20\x20\x20\x20if\x20(arrayBufferIsView(value))\x20return\x20true;\x0a\x20\x20\x20\x20for\x20(let\x20index\x20=\x200;\x20index\x20<\x20builtInBrandChecks.length;\x20index\x20+=\x201)\x20{\x0a\x20\x20\x20\x20\x20\x20const\x20brandCheck\x20=\x20builtInBrandChecks[index][0];\x0a\x20\x20\x20\x20\x20\x20const\x20args\x20=\x20builtInBrandChecks[index][1];\x0a\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20reflectApply(brandCheck,\x20value,\x20args);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20true;\x0a\x20\x20\x20\x20\x20\x20}\x20catch\x20{}\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20return\x20false;\x0a\x20\x20}\x0a\x0a\x20\x20function\x20validateStrictJson(value,\x20label,\x20ancestors)\x20{\x0a\x20\x20\x20\x20if\x20(value\x20===\x20null\x20||\x20typeof\x20value\x20===\x20\x22string\x22\x20||\x20typeof\x20value\x20===\x20\x22boolean\x22)\x20return;\x0a\x20\x20\x20\x20if\x20(typeof\x20value\x20===\x20\x22number\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20if\x20(numberIsFinite(value))\x20return;\x0a\x20\x20\x20\x20\x20\x20throw\x20new\x20StrictJsonValidationError(label\x20+\x20\x22\x20must\x20be\x20a\x20finite\x20JSON\x20number\x22);\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20if\x20(typeof\x20value\x20!==\x20\x22object\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20throw\x20new\x20StrictJsonValidationError(label\x20+\x20\x22\x20must\x20be\x20a\x20JSON\x20value\x22);\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20const\x20valueIsArray\x20=\x20arrayIsArray(value);\x0a\x20\x20\x20\x20//\x20Keep\x20this\x20behavior\x20aligned\x20with\x20the\x20host\x20validator\x20in\x20strict-json.ts.\x20The\x0a\x20\x20\x20\x20//\x20host\x20additionally\x20rejects\x20Proxy\x20values\x20with\x20node:util.types\x20before\x20any\x0a\x20\x20\x20\x20//\x20reflection;\x20here\x20Proxy\x20is\x20poisoned\x20before\x20main\x20runs\x20and\x20no\x20host\x20objects\x0a\x20\x20\x20\x20//\x20cross\x20into\x20authored\x20code\x20by\x20reference.\x0a\x20\x20\x20\x20if\x20(!valueIsArray\x20&&\x20hasBuiltInExoticBrand(value))\x20{\x0a\x20\x20\x20\x20\x20\x20throw\x20new\x20StrictJsonValidationError(label\x20+\x20\x22\x20must\x20not\x20be\x20a\x20built-in\x20object\x22);\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20if\x20(reflectApply(setHas,\x20ancestors,\x20[value]))\x20{\x0a\x20\x20\x20\x20\x20\x20throw\x20new\x20StrictJsonValidationError(label\x20+\x20\x22\x20must\x20not\x20contain\x20a\x20cycle\x22);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20reflectApply(setAdd,\x20ancestors,\x20[value]);\x0a\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20if\x20(valueIsArray)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(getPrototypeOf(value)\x20!==\x20arrayPrototype)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20throw\x20new\x20StrictJsonValidationError(label\x20+\x20\x22\x20must\x20be\x20a\x20plain\x20JSON\x20array\x22);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20keys\x20=\x20ownKeys(value);\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(keys.length\x20!==\x20value.length\x20+\x201)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20throw\x20new\x20StrictJsonValidationError(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20label\x20+\x20\x22\x20must\x20be\x20a\x20dense\x20JSON\x20array\x20without\x20extra\x20keys\x22,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20(let\x20keyIndex\x20=\x200;\x20keyIndex\x20<\x20keys.length;\x20keyIndex\x20+=\x201)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(typeof\x20keys[keyIndex]\x20!==\x20\x22string\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20throw\x20new\x20StrictJsonValidationError(label\x20+\x20\x22\x20must\x20not\x20contain\x20symbol\x20keys\x22);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20(let\x20index\x20=\x200;\x20index\x20<\x20value.length;\x20index\x20+=\x201)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20descriptor\x20=\x20getOwnPropertyDescriptor(value,\x20String(index));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(!descriptor\x20||\x20!(\x22value\x22\x20in\x20descriptor)\x20||\x20!descriptor.enumerable)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20throw\x20new\x20StrictJsonValidationError(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20label\x20+\x20\x22[\x22\x20+\x20index\x20+\x20\x22]\x20must\x20be\x20a\x20JSON\x20data\x20property\x22,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20validateStrictJson(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20descriptor.value,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20label\x20+\x20\x22[\x22\x20+\x20index\x20+\x20\x22]\x22,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ancestors,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20return;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20prototype\x20=\x20getPrototypeOf(value);\x0a\x20\x20\x20\x20\x20\x20if\x20(prototype\x20!==\x20objectPrototype\x20&&\x20prototype\x20!==\x20null)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20throw\x20new\x20StrictJsonValidationError(label\x20+\x20\x22\x20must\x20be\x20a\x20plain\x20JSON\x20object\x22);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20const\x20keys\x20=\x20ownKeys(value);\x0a\x20\x20\x20\x20\x20\x20for\x20(let\x20index\x20=\x200;\x20index\x20<\x20keys.length;\x20index\x20+=\x201)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20key\x20=\x20keys[index];\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(typeof\x20key\x20===\x20\x22symbol\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20throw\x20new\x20StrictJsonValidationError(label\x20+\x20\x22\x20must\x20not\x20contain\x20symbol\x20keys\x22);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20descriptor\x20=\x20getOwnPropertyDescriptor(value,\x20key);\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(!descriptor\x20||\x20!(\x22value\x22\x20in\x20descriptor)\x20||\x20!descriptor.enumerable)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20throw\x20new\x20StrictJsonValidationError(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20label\x20+\x20\x22.\x22\x20+\x20key\x20+\x20\x22\x20must\x20be\x20an\x20enumerable\x20JSON\x20data\x20property\x22,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20validateStrictJson(descriptor.value,\x20label\x20+\x20\x22.\x22\x20+\x20key,\x20ancestors);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x20finally\x20{\x0a\x20\x20\x20\x20\x20\x20reflectApply(setDelete,\x20ancestors,\x20[value]);\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a\x0a\x20\x20function\x20assertStrictJsonValue(value,\x20label)\x20{\x0a\x20\x20\x20\x20validateStrictJson(value,\x20label,\x20new\x20SetConstructor());\x0a\x20\x20}\x0a\x0a\x20\x20function\x20assertStrictJsonObject(value,\x20label)\x20{\x0a\x20\x20\x20\x20assertStrictJsonValue(value,\x20label);\x0a\x20\x20\x20\x20if\x20(arrayIsArray(value)\x20||\x20value\x20===\x20null\x20||\x20typeof\x20value\x20!==\x20\x22object\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20throw\x20new\x20StrictJsonValidationError(label\x20+\x20\x22\x20must\x20be\x20a\x20JSON\x20object\x22);\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a\x0a\x20\x20function\x20poisonProperty(target,\x20name)\x20{\x0a\x20\x20\x20\x20defineProperty(target,\x20name,\x20{\x0a\x20\x20\x20\x20\x20\x20value:\x20undefined,\x0a\x20\x20\x20\x20\x20\x20writable:\x20false,\x0a\x20\x20\x20\x20\x20\x20enumerable:\x20false,\x0a\x20\x20\x20\x20\x20\x20configurable:\x20false,\x0a\x20\x20\x20\x20});\x0a\x20\x20}\x0a\x0a\x20\x20function\x20poisonGlobal(name)\x20{\x0a\x20\x20\x20\x20poisonProperty(globalThis,\x20name);\x0a\x20\x20}\x0a\x0a\x20\x20const\x20functionPrototypes\x20=\x20[\x0a\x20\x20\x20\x20getPrototypeOf(function\x20()\x20{}),\x0a\x20\x20\x20\x20getPrototypeOf(async\x20function\x20()\x20{}),\x0a\x20\x20\x20\x20getPrototypeOf(function*\x20()\x20{}),\x0a\x20\x20\x20\x20getPrototypeOf(async\x20function*\x20()\x20{}),\x0a\x20\x20];\x0a\x20\x20for\x20(let\x20index\x20=\x200;\x20index\x20<\x20functionPrototypes.length;\x20index\x20+=\x201)\x20{\x0a\x20\x20\x20\x20defineProperty(functionPrototypes[index],\x20\x22constructor\x22,\x20{\x0a\x20\x20\x20\x20\x20\x20value:\x20undefined,\x0a\x20\x20\x20\x20\x20\x20writable:\x20false,\x0a\x20\x20\x20\x20\x20\x20configurable:\x20false,\x0a\x20\x20\x20\x20});\x0a\x20\x20}\x0a\x0a\x20\x20//\x20Embedded\x20validation\x20does\x20not\x20depend\x20on\x20an\x20exhaustive\x20list\x20of\x20brands.\x0a\x20\x20//\x20Directly\x20constructed\x20exotics\x20retain\x20a\x20non-JSON\x20prototype.\x20Authored\x20code\x0a\x20\x20//\x20receives\x20an\x20Object\x20facade\x20whose\x20public\x20prototype\x20is\x20a\x20frozen\x20decoy,\x20while\x0a\x20\x20//\x20the\x20accepted\x20intrinsic\x20Object\x20prototype\x20and\x20its\x20constructor\x20stay\x20private.\x0a\x20\x20//\x20Prototype\x20inspection/mutation\x20and\x20alternate-newTarget\x20paths\x20are\x20removed\x20so\x0a\x20\x20//\x20writable\x20generator\x20prototypes\x20cannot\x20select\x20the\x20accepted\x20prototype.\x0a\x20\x20function\x20SafeObject(value)\x20{\x0a\x20\x20\x20\x20return\x20value\x20===\x20null\x20||\x20value\x20===\x20undefined\x0a\x20\x20\x20\x20\x20\x20?\x20{}\x0a\x20\x20\x20\x20\x20\x20:\x20reflectApply(ObjectConstructor,\x20undefined,\x20[value]);\x0a\x20\x20}\x0a\x20\x20const\x20safeObjectPrototype\x20=\x20SafeObject.prototype;\x0a\x20\x20const\x20objectStaticKeys\x20=\x20ownKeys(ObjectConstructor);\x0a\x20\x20for\x20(let\x20index\x20=\x200;\x20index\x20<\x20objectStaticKeys.length;\x20index\x20+=\x201)\x20{\x0a\x20\x20\x20\x20const\x20key\x20=\x20objectStaticKeys[index];\x0a\x20\x20\x20\x20if\x20(\x0a\x20\x20\x20\x20\x20\x20key\x20===\x20\x22length\x22\x20||\x0a\x20\x20\x20\x20\x20\x20key\x20===\x20\x22name\x22\x20||\x0a\x20\x20\x20\x20\x20\x20key\x20===\x20\x22prototype\x22\x20||\x0a\x20\x20\x20\x20\x20\x20key\x20===\x20\x22getPrototypeOf\x22\x20||\x0a\x20\x20\x20\x20\x20\x20key\x20===\x20\x22setPrototypeOf\x22\x0a\x20\x20\x20\x20)\x20{\x0a\x20\x20\x20\x20\x20\x20continue;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20const\x20descriptor\x20=\x20getOwnPropertyDescriptor(ObjectConstructor,\x20key);\x0a\x20\x20\x20\x20if\x20(descriptor)\x20defineProperty(SafeObject,\x20key,\x20descriptor);\x0a\x20\x20}\x0a\x20\x20defineProperty(SafeObject,\x20\x22name\x22,\x20{\x20value:\x20\x22Object\x22,\x20configurable:\x20true\x20});\x0a\x20\x20poisonProperty(SafeObject,\x20\x22getPrototypeOf\x22);\x0a\x20\x20poisonProperty(SafeObject,\x20\x22setPrototypeOf\x22);\x0a\x20\x20poisonProperty(ObjectConstructor,\x20\x22getPrototypeOf\x22);\x0a\x20\x20poisonProperty(ObjectConstructor,\x20\x22setPrototypeOf\x22);\x0a\x20\x20poisonProperty(Reflect,\x20\x22getPrototypeOf\x22);\x0a\x20\x20poisonProperty(Reflect,\x20\x22setPrototypeOf\x22);\x0a\x20\x20poisonProperty(Reflect,\x20\x22construct\x22);\x0a\x20\x20poisonProperty(objectPrototype,\x20\x22constructor\x22);\x0a\x20\x20poisonProperty(objectPrototype,\x20\x22__proto__\x22);\x0a\x0a\x20\x20freeze(objectPrototype);\x0a\x20\x20freeze(arrayPrototype);\x0a\x20\x20freeze(safeObjectPrototype);\x0a\x20\x20freeze(SafeObject);\x0a\x20\x20defineProperty(globalThis,\x20\x22Object\x22,\x20{\x0a\x20\x20\x20\x20value:\x20SafeObject,\x0a\x20\x20\x20\x20writable:\x20false,\x0a\x20\x20\x20\x20enumerable:\x20false,\x0a\x20\x20\x20\x20configurable:\x20false,\x0a\x20\x20});\x0a\x20\x20freeze(StrictJsonValidationError.prototype);\x0a\x20\x20freeze(StrictJsonValidationError);\x0a\x20\x20freeze(ToolCallError.prototype);\x0a\x20\x20freeze(ToolCallError);\x0a\x20\x20freeze(errorPrototype);\x0a\x0a\x20\x20const\x20forbiddenGlobals\x20=\x20[\x0a\x20\x20\x20\x20\x22process\x22,\x0a\x20\x20\x20\x20\x22require\x22,\x0a\x20\x20\x20\x20\x22module\x22,\x0a\x20\x20\x20\x20\x22Buffer\x22,\x0a\x20\x20\x20\x20\x22fetch\x22,\x0a\x20\x20\x20\x20\x22setTimeout\x22,\x0a\x20\x20\x20\x20\x22clearTimeout\x22,\x0a\x20\x20\x20\x20\x22setInterval\x22,\x0a\x20\x20\x20\x20\x22clearInterval\x22,\x0a\x20\x20\x20\x20\x22setImmediate\x22,\x0a\x20\x20\x20\x20\x22clearImmediate\x22,\x0a\x20\x20\x20\x20\x22queueMicrotask\x22,\x0a\x20\x20\x20\x20\x22requestAnimationFrame\x22,\x0a\x20\x20\x20\x20\x22cancelAnimationFrame\x22,\x0a\x20\x20\x20\x20\x22console\x22,\x0a\x20\x20\x20\x20\x22Date\x22,\x0a\x20\x20\x20\x20\x22performance\x22,\x0a\x20\x20\x20\x20\x22crypto\x22,\x0a\x20\x20\x20\x20\x22Intl\x22,\x0a\x20\x20\x20\x20\x22Temporal\x22,\x0a\x20\x20\x20\x20\x22eval\x22,\x0a\x20\x20\x20\x20\x22Function\x22,\x0a\x20\x20\x20\x20\x22Proxy\x22,\x0a\x20\x20\x20\x20\x22WebAssembly\x22,\x0a\x20\x20\x20\x20\x22SharedArrayBuffer\x22,\x0a\x20\x20\x20\x20\x22Atomics\x22,\x0a\x20\x20\x20\x20\x22WeakRef\x22,\x0a\x20\x20\x20\x20\x22FinalizationRegistry\x22,\x0a\x20\x20];\x0a\x20\x20for\x20(let\x20index\x20=\x200;\x20index\x20<\x20forbiddenGlobals.length;\x20index\x20+=\x201)\x20{\x0a\x20\x20\x20\x20poisonGlobal(forbiddenGlobals[index]);\x0a\x20\x20}\x0a\x20\x20defineProperty(Math,\x20\x22random\x22,\x20{\x0a\x20\x20\x20\x20value:\x20undefined,\x0a\x20\x20\x20\x20writable:\x20false,\x0a\x20\x20\x20\x20configurable:\x20false,\x0a\x20\x20});\x0a\x0a\x20\x20async\x20function\x20performToolCall(requestText)\x20{\x0a\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20const\x20responseText\x20=\x20await\x20reflectApply(callHostApply,\x20callHostReference,\x20[\x0a\x20\x20\x20\x20\x20\x20\x20\x20undefined,\x0a\x20\x20\x20\x20\x20\x20\x20\x20[requestText],\x0a\x20\x20\x20\x20\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20arguments:\x20{\x20copy:\x20true\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20result:\x20{\x20copy:\x20true,\x20promise:\x20true\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20},\x0a\x20\x20\x20\x20\x20\x20]);\x0a\x20\x20\x20\x20\x20\x20if\x20(typeof\x20responseText\x20!==\x20\x22string\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20throw\x20new\x20Error(\x22tool\x20bridge\x20returned\x20an\x20invalid\x20response\x22);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20const\x20response\x20=\x20jsonParse(responseText);\x0a\x20\x20\x20\x20\x20\x20assertStrictJsonObject(response,\x20\x22tool\x20response\x22);\x0a\x20\x20\x20\x20\x20\x20if\x20(response.ok\x20===\x20true\x20&&\x20typeof\x20response.output\x20===\x20\x22string\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20response.output;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20if\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20response.ok\x20===\x20false\x20&&\x0a\x20\x20\x20\x20\x20\x20\x20\x20typeof\x20response.message\x20===\x20\x22string\x22\x20&&\x0a\x20\x20\x20\x20\x20\x20\x20\x20typeof\x20response.toolName\x20===\x20\x22string\x22\x20&&\x0a\x20\x20\x20\x20\x20\x20\x20\x20(response.output\x20===\x20undefined\x20||\x20typeof\x20response.output\x20===\x20\x22string\x22)\x0a\x20\x20\x20\x20\x20\x20)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20throw\x20createToolCallError(response.message,\x20response.toolName,\x20response.output);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20throw\x20new\x20Error(\x22tool\x20bridge\x20returned\x20an\x20invalid\x20response\x22);\x0a\x20\x20\x20\x20}\x20finally\x20{\x0a\x20\x20\x20\x20\x20\x20settledCallCount\x20+=\x201;\x0a\x20\x20\x20\x20\x20\x20if\x20(!callsOpen\x20&&\x20settledCallCount\x20===\x20startedCallCount)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20resolveAdmittedCallsSettled();\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a\x0a\x20\x20function\x20call(name,\x20input)\x20{\x0a\x20\x20\x20\x20const\x20promise\x20=\x20new\x20PromiseConstructor((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20let\x20requestText;\x0a\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(!callsOpen)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20throw\x20new\x20Error(\x22program\x20tool\x20calls\x20are\x20closed\x22);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(typeof\x20name\x20!==\x20\x22string\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20throw\x20new\x20StrictJsonValidationError(\x22tool\x20name\x20must\x20be\x20a\x20string\x22);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20assertStrictJsonObject(input,\x20\x22tool\x20input\x22);\x0a\x20\x20\x20\x20\x20\x20\x20\x20requestText\x20=\x20jsonStringify({\x20name,\x20input\x20});\x0a\x20\x20\x20\x20\x20\x20}\x20catch\x20(error)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20reject(error);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20startedCallCount\x20+=\x201;\x0a\x20\x20\x20\x20\x20\x20const\x20operation\x20=\x20performToolCall(requestText);\x0a\x20\x20\x20\x20\x20\x20reflectApply(promiseThen,\x20operation,\x20[resolve,\x20reject]);\x0a\x20\x20\x20\x20});\x0a\x20\x20\x20\x20//\x20Keep\x20a\x20detached\x20root\x20rejection\x20from\x20becoming\x20an\x20isolate\x20task-level\x0a\x20\x20\x20\x20//\x20unhandled\x20rejection\x20without\x20changing\x20what\x20authored\x20consumers\x20observe.\x0a\x20\x20\x20\x20reflectApply(promiseThen,\x20promise,\x20[undefined,\x20()\x20=>\x20undefined]);\x0a\x20\x20\x20\x20return\x20promise;\x0a\x20\x20}\x0a\x0a\x20\x20//\x20Authored\x20surface:\x20one\x20frozen\x20async\x20method\x20per\x20captured\x20tool\x20name,\x0a\x20\x20//\x20tools.<name>(input).\x20Own\x20properties\x20via\x20defineProperty\x20keep\x20exotic\x0a\x20\x20//\x20names\x20(spaces,\x20\x22call\x22,\x20\x22__proto__\x22)\x20callable\x20through\x20dot\x20or\x20bracket\x0a\x20\x20//\x20access\x20without\x20touching\x20the\x20hardened\x20prototype.\x20A\x20misspelled\x20name\x20is\x0a\x20\x20//\x20simply\x20undefined\x20and\x20fails\x20as\x20an\x20authored\x20execution\x20error.\x0a\x20\x20const\x20tools\x20=\x20{};\x0a\x20\x20if\x20(typeof\x20toolNamesText\x20===\x20\x22string\x22)\x20{\x0a\x20\x20\x20\x20const\x20parsedToolNames\x20=\x20jsonParse(toolNamesText);\x0a\x20\x20\x20\x20if\x20(arrayIsArray(parsedToolNames))\x20{\x0a\x20\x20\x20\x20\x20\x20for\x20(let\x20index\x20=\x200;\x20index\x20<\x20parsedToolNames.length;\x20index\x20+=\x201)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20toolName\x20=\x20parsedToolNames[index];\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(typeof\x20toolName\x20!==\x20\x22string\x22)\x20continue;\x0a\x20\x20\x20\x20\x20\x20\x20\x20defineProperty(tools,\x20toolName,\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20value:\x20(input)\x20=>\x20call(toolName,\x20input),\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20writable:\x20false,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20enumerable:\x20true,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20configurable:\x20false,\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a\x20\x20freeze(tools);\x0a\x20\x20let\x20mainFailed\x20=\x20false;\x0a\x20\x20let\x20mainFailure;\x0a\x20\x20let\x20result;\x0a\x20\x20try\x20{\x0a\x20\x20\x20\x20result\x20=\x20await\x20main(tools);\x0a\x20\x20}\x20catch\x20(error)\x20{\x0a\x20\x20\x20\x20mainFailed\x20=\x20true;\x0a\x20\x20\x20\x20mainFailure\x20=\x20error;\x0a\x20\x20}\x0a\x0a\x20\x20//\x20Close\x20synchronously\x20at\x20main\x20settlement.\x20Later\x20microtasks\x20can\x20only\x20receive\x20a\x0a\x20\x20//\x20local\x20rejection\x20and\x20cannot\x20dispatch\x20through\x20the\x20captured\x20host\x20reference.\x0a\x20\x20callsOpen\x20=\x20false;\x0a\x20\x20if\x20(settledCallCount\x20===\x20startedCallCount)\x20{\x0a\x20\x20\x20\x20resolveAdmittedCallsSettled();\x0a\x20\x20}\x0a\x0a\x20\x20//\x20A\x20failed\x20main\x20must\x20reach\x20the\x20host\x20before\x20an\x20admitted\x20sibling\x20settles\x20so\x20the\x0a\x20\x20//\x20host\x20can\x20close\x20bound\x20execution\x20and\x20signal\x20it.\x20Fulfilled\x20main\x20still\x20drains\x0a\x20\x20//\x20every\x20admitted\x20call\x20under\x20the\x20main-chain-only\x20completion\x20contract.\x0a\x20\x20if\x20(mainFailed)\x20{\x0a\x20\x20\x20\x20const\x20details\x20=\x0a\x20\x20\x20\x20\x20\x20mainFailure\x20!==\x20null\x20&&\x0a\x20\x20\x20\x20\x20\x20(typeof\x20mainFailure\x20===\x20\x22object\x22\x20||\x20typeof\x20mainFailure\x20===\x20\x22function\x22)\x0a\x20\x20\x20\x20\x20\x20\x20\x20?\x20reflectApply(weakMapGet,\x20toolErrorDetails,\x20[mainFailure])\x0a\x20\x20\x20\x20\x20\x20\x20\x20:\x20undefined;\x0a\x20\x20\x20\x20if\x20(\x0a\x20\x20\x20\x20\x20\x20details\x20!==\x20undefined\x20&&\x0a\x20\x20\x20\x20\x20\x20typeof\x20details.message\x20===\x20\x22string\x22\x20&&\x0a\x20\x20\x20\x20\x20\x20typeof\x20details.toolName\x20===\x20\x22string\x22\x20&&\x0a\x20\x20\x20\x20\x20\x20(details.output\x20===\x20undefined\x20||\x20typeof\x20details.output\x20===\x20\x22string\x22)\x0a\x20\x20\x20\x20)\x20{\x0a\x20\x20\x20\x20\x20\x20const\x20failure\x20=\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20status:\x20\x22tool-error\x22,\x0a\x20\x20\x20\x20\x20\x20\x20\x20message:\x20copyBoundedErrorText(details.message),\x0a\x20\x20\x20\x20\x20\x20\x20\x20toolName:\x20copyBoundedErrorText(details.toolName),\x0a\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20if\x20(details.output\x20!==\x20undefined)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20failure.output\x20=\x20copyBoundedErrorText(details.output);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20return\x20jsonStringify(failure);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20let\x20message\x20=\x20\x22program\x20execution\x20failed\x22;\x0a\x20\x20\x20\x20if\x20(\x0a\x20\x20\x20\x20\x20\x20mainFailure\x20!==\x20null\x20&&\x0a\x20\x20\x20\x20\x20\x20(typeof\x20mainFailure\x20===\x20\x22object\x22\x20||\x20typeof\x20mainFailure\x20===\x20\x22function\x22)\x0a\x20\x20\x20\x20)\x20{\x0a\x20\x20\x20\x20\x20\x20const\x20descriptor\x20=\x20getOwnPropertyDescriptor(mainFailure,\x20\x22message\x22);\x0a\x20\x20\x20\x20\x20\x20if\x20(descriptor\x20&&\x20\x22value\x22\x20in\x20descriptor\x20&&\x20typeof\x20descriptor.value\x20===\x20\x22string\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20message\x20=\x20descriptor.value;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20return\x20jsonStringify({\x20status:\x20\x22execution-error\x22,\x20message\x20});\x0a\x20\x20}\x0a\x0a\x20\x20await\x20admittedCallsSettled;\x0a\x0a\x20\x20try\x20{\x0a\x20\x20\x20\x20assertStrictJsonValue(result,\x20\x22program\x20result\x22);\x0a\x20\x20\x20\x20return\x20jsonStringify({\x20status:\x20\x22ok\x22,\x20result:\x20jsonStringify(result)\x20});\x0a\x20\x20}\x20catch\x20{\x0a\x20\x20\x20\x20return\x20jsonStringify({\x20status:\x20\x22invalid-result\x22\x20});\x0a\x20\x20}\x0a})()\x0a';async function runProgramIsolate(_0x162994){const _0x325d75={_0xe3f875:0x7f5,_0x4a2dcd:0x64f,_0x5ba6a2:0x6e5,_0x3acc82:0xb4c,_0x124930:0x451,_0x233c39:0x26b,_0xa0ff12:0x3d7,_0x14e357:0x89e,_0x391654:0x6b5,_0x310c0d:0x192,_0x351e3e:0x2a2,_0x3953dd:0x7ff,_0x422c01:0x76d,_0x31d3be:0x5b2,_0x213c4c:0x4a4,_0x1c954:0x2b9,_0xcc0621:0x489,_0x4554d5:0x257,_0x160e0d:0x343,_0x5f2de1:0x2b9,_0x27346a:0x68c,_0x251c5f:0x588,_0x42e8a4:0x4ca,_0x27c027:0x796,_0x527351:0x67a,_0x2656b9:0x587,_0xe63c25:0x77d,_0x146afa:0x4d7,_0x5ca16a:0x4a1,_0x32c026:0x5a1,_0x49a62a:0x5c5,_0x3d09a8:0x4a3,_0x36cb45:0x83f,_0x1605d6:0x778,_0x588be7:0x899,_0x34d117:0x875,_0x4e9e8a:0x6e6,_0x104cf6:0x7ee,_0x54f1fe:0x574,_0x402a0f:0x628,_0x24e456:0x6c5,_0x2fe1c1:0x6fe,_0x3491f1:0x6d3,_0x3a0489:0x4c0,_0x3b3074:0x673,_0xe3150a:0x692,_0x22fb41:0x65d,_0x14e176:0x50d,_0x18b549:0x4f9,_0x5ac8f6:0x8b8,_0x17f4ab:0x42e,_0x2f1d8c:0x298,_0x5d1c50:0x4d9,_0x2e6f7c:0x554,_0x31452e:0x368,_0x400d4f:0x5a,_0x1cae2e:0x34b,_0x1194b9:0x556,_0x38f59b:0x767,_0x266437:0x54d,_0x31569c:0x800,_0x33dbbe:0x489,_0x48f96d:0x506,_0x1e2555:0x2fe,_0x38b45f:0x2c5,_0x2dc690:0x88d,_0x240c5c:0x8c3,_0x24dc6e:0x930,_0x5ca448:0x826,_0x498a17:0x8da,_0x3bc808:0xaa9,_0x524ea0:0x915,_0x3e8776:0x82a,_0x4b86c0:0x744,_0x28f0f7:0x7d0,_0x568771:0x6bb,_0x7ab6db:0x70d,_0x565a03:0x52c,_0x202c9e:0x568,_0x488f1e:0x3fe,_0x33a69d:0x49d,_0xef6ea:0x63c,_0x1b230c:0x799,_0x26ad4e:0x677,_0x3d543a:0x7b3,_0x5dbf9b:0xa7a,_0x14625e:0x54e},_0x562c34={_0xf3b355:0x44c,_0x3cfdc9:0x455,_0x1a289f:0x4bb,_0x32413f:0x5f9,_0x3f2fd6:0x49f,_0x328449:0x67f,_0x52db1b:0x515,_0x3365f4:0x3cd,_0x492999:0x6ff,_0x24d697:0x6a9,_0x49e948:0x698,_0x5f5327:0x6fc},_0x1fa62e={_0x42a8cc:0x16a,_0x52ecf6:0x1ab},_0x17059a={_0x1a3128:0x96,_0x183560:0xa1,_0x42208c:0x29e},_0x44b597={_0x1eda86:0x61,_0x33081f:0x25a},_0x3fe9a1={_0x177172:0x1a0,_0x2d8fbd:0x1b2};let _0x4cee99;function _0x45485e(_0x1e91d7,_0x4ea4d1,_0x25a88f,_0x309027){return _0x1957f6(_0x1e91d7-_0x3fe9a1._0x177172,_0x4ea4d1-_0x3fe9a1._0x2d8fbd,_0x309027,_0x1e91d7-0x48f);}try{_0x4cee99=loadIsolatedVm();}catch(_0x9f8cda){if(_0x9f8cda instanceof IsolationUnavailableError)throw new ProgramIsolateError(_0x593bfd(0x81b,_0x325d75._0xe3f875,_0x325d75._0x4a2dcd,0x6e2),_0x9f8cda[_0x45485e(0x8f1,0x8da,_0x325d75._0x5ba6a2,_0x325d75._0x3acc82)]);throw _0x9f8cda;}let _0x45d7f4;try{_0x45d7f4=new _0x4cee99[(_0x593bfd(_0x325d75._0x124930,0x1af,_0x325d75._0x233c39,_0x325d75._0xa0ff12))]({'memoryLimit':0x80});}catch(_0x9f25c6){if(isIsolateLimitError(_0x9f25c6))throw new ProgramIsolateError('program-resource-limit',_0x593bfd(_0x325d75._0x14e357,_0x325d75._0x391654,0x520,0x6d9));throw new ProgramIsolateError(_0x593bfd(0x36d,0x2c0,_0x325d75._0x310c0d,_0x325d75._0x351e3e),_0x45485e(_0x325d75._0x3953dd,_0x325d75._0x422c01,_0x325d75._0x31d3be,0x9c6));}function _0x593bfd(_0x1260b9,_0x336921,_0x26900d,_0x4e3fe8){return _0x39a391(_0x1260b9-0x2b,_0x336921-_0x44b597._0x1eda86,_0x4e3fe8- -_0x44b597._0x33081f,_0x336921);}let _0x3c201a=![],_0x175d4a=![],_0x1d9bad=![],_0x2fadaa,_0x22accb;const _0x3947b1=()=>{const _0x1d538b={_0x3f3ce5:0x61a,_0xe770f8:0x6c,_0x3e78e3:0x148},_0x1d8e2f={_0x36d2f1:0x98,_0x83eb9:0xdd};if(_0x3c201a)return;function _0x49b313(_0x48bb4a,_0xf66720,_0xf357c1,_0xa020d8){return _0x593bfd(_0x48bb4a-_0x1d8e2f._0x36d2f1,_0xa020d8,_0xf357c1-_0x1d8e2f._0x83eb9,_0xf66720- -0x162);}_0x3c201a=!![];function _0x416aba(_0x375ac0,_0x1fe572,_0x3b1d68,_0x4cbb26){return _0x45485e(_0x375ac0- -_0x1d538b._0x3f3ce5,_0x1fe572-_0x1d538b._0xe770f8,_0x3b1d68-_0x1d538b._0x3e78e3,_0x4cbb26);}if(!_0x45d7f4[_0x416aba(-0x95,-_0x17059a._0x1a3128,-_0x17059a._0x183560,-0x284)])_0x45d7f4[_0x49b313(0x414,0x34f,_0x17059a._0x42208c,0x281)]();},_0x35bb91=()=>{_0x175d4a=!![],_0x3947b1();},_0x2a7aaa=_0x162994[_0x593bfd(0x487,_0x325d75._0x213c4c,0x67,_0x325d75._0x1c954)]===void 0x0?setTimeout(_0x35bb91,_0x162994['timeoutMs']):void 0x0;_0x162994[_0x45485e(0x49d,_0x325d75._0xcc0621,_0x325d75._0x4554d5,0x492)]?.['aborted']?_0x35bb91():_0x162994[_0x593bfd(0x328,_0x325d75._0x160e0d,0x2ed,_0x325d75._0x5f2de1)]?.[_0x593bfd(_0x325d75._0x27346a,_0x325d75._0x251c5f,_0x325d75._0x42e8a4,0x494)](_0x45485e(_0x325d75._0x27c027,_0x325d75._0x527351,_0x325d75._0x2656b9,_0x325d75._0xe63c25),_0x35bb91,{'once':!![]});const _0x558ee5=()=>{_0x1d9bad=!![],_0x3947b1();};_0x162994[_0x593bfd(_0x325d75._0x146afa,_0x325d75._0x5ca16a,0x5d8,0x663)][_0x45485e(_0x325d75._0x32c026,_0x325d75._0x49a62a,0x446,0x7ea)]?_0x558ee5():_0x162994[_0x593bfd(_0x325d75._0x3d09a8,_0x325d75._0x36cb45,_0x325d75._0x1605d6,0x663)][_0x45485e(0x678,_0x325d75._0x588be7,0x46c,0x4c1)]('abort',_0x558ee5,{'once':!![]});try{const _0xd41dde=await _0x45d7f4[_0x45485e(_0x325d75._0x34d117,_0x325d75._0x4e9e8a,0x6eb,_0x325d75._0x104cf6)]();await _0xd41dde['global']['set'](PROGRAM_SOURCE_GLOBAL,_0x162994[_0x45485e(_0x325d75._0x54f1fe,0x428,0x644,_0x325d75._0x402a0f)]),await _0xd41dde[_0x45485e(0x846,_0x325d75._0x24e456,0x645,0x6a6)][_0x593bfd(0x5f8,_0x325d75._0x2fe1c1,0x71d,_0x325d75._0x3491f1)](PROGRAM_TOOL_NAMES_GLOBAL,JSON[_0x45485e(_0x325d75._0x3a0489,0x4a1,0x486,_0x325d75._0x3b3074)](_0x162994[_0x45485e(0x8ee,0x7a2,0x91e,_0x325d75._0xe3150a)]??[]));const _0x381622=await _0x45d7f4['compileScript'](PROGRAM_COMPILER_SOURCE);try{await _0x381622[_0x45485e(_0x325d75._0x22fb41,_0x325d75._0x14e176,_0x325d75._0x18b549,_0x325d75._0x5ac8f6)](_0xd41dde);}catch(_0xa85f3e){if(_0xa85f3e instanceof SyntaxError)throw new ProgramIsolateError(_0x593bfd(0x4d2,_0x325d75._0x17f4ab,0x16d,_0x325d75._0x2f1d8c),_0x593bfd(0x505,_0x325d75._0x5d1c50,_0x325d75._0x2e6f7c,_0x325d75._0x31452e));if(_0x1d9bad||_0x175d4a||isIsolateLimitError(_0xa85f3e))throw _0xa85f3e;throw new ProgramIsolateError(_0x593bfd(_0x325d75._0x400d4f,0x346,0x41a,0x298),_0x593bfd(_0x325d75._0x1cae2e,0x58e,0x20d,_0x325d75._0x31452e));}_0x22accb=new _0x4cee99[(_0x45485e(_0x325d75._0x1194b9,_0x325d75._0x38f59b,_0x325d75._0x266437,_0x325d75._0x3491f1))](async _0x262b02=>{const _0x3b3f6c={_0x5be7a4:0x67};function _0x1b2697(_0xd77e7e,_0x5859ba,_0x28a931,_0x454810){return _0x593bfd(_0xd77e7e-0x17a,_0x28a931,_0x28a931-_0x1fa62e._0x42a8cc,_0x454810-_0x1fa62e._0x52ecf6);}function _0x36a174(_0x10ccfd,_0x8d8eb7,_0x3470af,_0x20d5cc){return _0x45485e(_0x10ccfd- -0xb9,_0x8d8eb7-0x41,_0x3470af-_0x3b3f6c._0x5be7a4,_0x8d8eb7);}try{return await callToolFromSerializedRequest(_0x262b02,_0x162994[_0x36a174(_0x562c34._0xf3b355,0x509,0x1f7,0x5b6)]);}catch(_0x2d6abc){_0x2fadaa=_0x2d6abc instanceof ProgramIsolateError&&(_0x2d6abc[_0x36a174(0x4bb,_0x562c34._0x3cfdc9,0x6e9,0x2bf)]===_0x36a174(0x7bb,0x814,0x9d1,0x85b)||_0x2d6abc[_0x36a174(_0x562c34._0x1a289f,_0x562c34._0x32413f,0x2ac,0x4d9)]===_0x1b2697(_0x562c34._0x3f2fd6,_0x562c34._0x328449,0x36c,_0x562c34._0x52db1b))?_0x2d6abc:new ProgramIsolateError(_0x36a174(_0x562c34._0x3365f4,0x60d,0x52d,0x23a),_0x1b2697(_0x562c34._0x492999,0x790,0x669,_0x562c34._0x24d697)),_0x3947b1();throw new Error(_0x1b2697(_0x562c34._0x49e948,0x72a,_0x562c34._0x5f5327,0x6a9));}}),await _0xd41dde['global'][_0x45485e(0x8b7,_0x325d75._0x31569c,0xa4d,0x856)](PROGRAM_CALLBACK_GLOBAL,_0x22accb);const _0x263a3b=await _0x45d7f4[_0x593bfd(_0x325d75._0x33dbbe,_0x325d75._0x48f96d,_0x325d75._0x1e2555,_0x325d75._0x38b45f)](PROGRAM_RUNNER_SOURCE),_0x44f4ef=await _0x263a3b[_0x45485e(0x65d,0x890,0x87a,0x650)](_0xd41dde,{'promise':!![],'copy':!![]});if(_0x2fadaa)throw _0x2fadaa;return parseProgramResult(_0x44f4ef);}catch(_0x24d62b){if(_0x1d9bad)throw new ProgramIsolateError(_0x45485e(_0x325d75._0x2dc690,_0x325d75._0x240c5c,_0x325d75._0x24dc6e,0xadb),_0x45485e(0x8b3,0xa3d,0x732,_0x325d75._0x5ca448));if(_0x175d4a)throw new ProgramIsolateError('program-timeout',_0x45485e(_0x325d75._0x498a17,_0x325d75._0x588be7,_0x325d75._0x3bc808,_0x325d75._0x524ea0));if(!(_0x24d62b instanceof ProgramIsolateError)&&isIsolateLimitError(_0x24d62b))throw new ProgramIsolateError(_0x45485e(_0x325d75._0x3e8776,_0x325d75._0x4b86c0,_0x325d75._0x28f0f7,0x6f4),'program\x20isolate\x20exceeded\x20its\x20resource\x20limit');if(_0x2fadaa)throw _0x2fadaa;if(_0x24d62b instanceof ProgramIsolateError)throw _0x24d62b;throw new ProgramIsolateError(_0x593bfd(0x4fb,0x93,0xd0,0x2a2),_0x24d62b instanceof Error?_0x24d62b[_0x593bfd(0x6d7,0x6c4,_0x325d75._0x568771,_0x325d75._0x7ab6db)]:_0x593bfd(_0x325d75._0x565a03,_0x325d75._0x202c9e,_0x325d75._0x488f1e,0x378));}finally{if(_0x2a7aaa!==void 0x0)clearTimeout(_0x2a7aaa);_0x162994[_0x45485e(_0x325d75._0x33a69d,0x2ae,0x6d0,0x4b1)]?.[_0x45485e(_0x325d75._0xef6ea,0x7d2,0x731,0x6a8)](_0x593bfd(_0x325d75._0x1b230c,0x75e,_0x325d75._0x26ad4e,_0x325d75._0x31d3be),_0x35bb91),_0x162994[_0x45485e(0x847,_0x325d75._0x3d543a,0x924,_0x325d75._0x5dbf9b)]['removeEventListener'](_0x593bfd(0x70d,_0x325d75._0x14625e,0x60d,0x5b2),_0x558ee5),_0x22accb?.['release'](),_0x3947b1();}}async function callToolFromSerializedRequest(_0x25ee5c,_0x2dfe47){const _0x11ed2a={_0x16cbbc:0x374,_0x222b37:0x45f,_0x215cab:0x2ff,_0x511766:0x1cb,_0x28db79:0x622,_0x2dd3fd:0x727,_0x788f2b:0x366,_0x3aebe0:0x283,_0x1db62e:0x164,_0xb517e6:0x10,_0x4b7408:0x7e,_0x1621fd:0x2a2,_0x25721f:0x23b,_0x54cbe5:0x3b8,_0x4d6956:0x4fb,_0xc08f03:0x2f5,_0x188a58:0x451,_0x22ccbd:0x11a,_0x36b74a:0x87,_0x3c3126:0x3c,_0x1dc8e5:0x208,_0x1b777d:0x45,_0x392fa2:0x150,_0x265708:0x69,_0x202797:0x80,_0x3e27fe:0x7f,_0x57cf2a:0xa1,_0x25ae03:0x198,_0x572066:0x31e,_0x8e1bee:0x4b,_0x1a4614:0x146,_0xd59107:0x1fd,_0x35bdee:0x6a9,_0x370c36:0x37c,_0x4f2cb9:0x4bf,_0x4e188f:0x1e3,_0x13bd19:0xe0,_0x42895f:0x276,_0x4fe215:0x150,_0x2594b4:0x380,_0x40ae95:0x417,_0x549bbc:0x492,_0x48d85e:0x3ba,_0x1dc1f7:0x32e,_0x427ff3:0x212,_0xe8ae58:0x354,_0x49e490:0x1c6,_0x1df180:0x3},_0x4bde6f={_0x1450ec:0x42,_0x4d8517:0x5b5};if(typeof _0x25ee5c!==_0x384c68(0x2ef,0x267,0x650,0x451))throw new Error(_0x384c68(_0x11ed2a._0x16cbbc,_0x11ed2a._0x222b37,_0x11ed2a._0x215cab,0x291));const _0x416372=parseStrictJsonObject(_0x25ee5c,_0x2268b6(0x589,_0x11ed2a._0x511766,0x36c,0x1c4)),_0x9e740c=Object[_0x384c68(0x705,0x65e,0x69b,_0x11ed2a._0x28db79)](_0x416372);function _0x2268b6(_0x1be564,_0x4bf5d0,_0x731349,_0x9edbf2){return _0x39a391(_0x1be564-0x19b,_0x4bf5d0-_0x4bde6f._0x1450ec,_0x731349- -_0x4bde6f._0x4d8517,_0x1be564);}if(_0x9e740c[_0x384c68(_0x11ed2a._0x2dd3fd,0x774,0x8a9,0x650)]!==0x2||!_0x9e740c[_0x2268b6(_0x11ed2a._0x788f2b,_0x11ed2a._0x3aebe0,_0x11ed2a._0x1db62e,0x3a6)](_0x2268b6(0x162,_0x11ed2a._0xb517e6,0x98,-0xb2))||!_0x9e740c[_0x2268b6(-_0x11ed2a._0x4b7408,_0x11ed2a._0x1621fd,0x164,0x9a)](_0x2268b6(_0x11ed2a._0x25721f,-0x8c,0xdc,0x232)))throw new Error(_0x384c68(_0x11ed2a._0x54cbe5,_0x11ed2a._0x4d6956,0x388,0x3cd));const {name:_0x73f6bf,input:_0x5a6043}=_0x416372;if(typeof _0x73f6bf!==_0x384c68(0x25f,_0x11ed2a._0xc08f03,0x4fc,_0x11ed2a._0x188a58))throw new Error(_0x384c68(0x44a,0x1fb,0x32b,0x2b9));assertStrictJsonObject(_0x5a6043,_0x2268b6(-0x117,0x19,_0x11ed2a._0x22ccbd,_0x11ed2a._0x36b74a));const _0x336575=await _0x2dfe47(_0x73f6bf,_0x5a6043);assertStrictJsonObject(_0x336575,_0x2268b6(0x2ea,-_0x11ed2a._0x3c3126,_0x11ed2a._0x1dc8e5,_0x11ed2a._0x1b777d));if(_0x336575['ok']===!![]&&typeof _0x336575['output']===_0x2268b6(0x20c,0xd3,_0x11ed2a._0x392fa2,_0x11ed2a._0x265708))return JSON[_0x2268b6(_0x11ed2a._0x202797,-0x1fc,-_0x11ed2a._0x3e27fe,-_0x11ed2a._0x57cf2a)]({'ok':!![],'output':_0x336575[_0x2268b6(_0x11ed2a._0x25ae03,_0x11ed2a._0x572066,0x133,-_0x11ed2a._0x8e1bee)]});if(_0x336575['ok']!==![])throw new Error(_0x2268b6(_0x11ed2a._0x1a4614,0x146,0x395,_0x11ed2a._0xd59107));const _0x3b625a=_0x336575[_0x384c68(_0x11ed2a._0x35bdee,0x302,_0x11ed2a._0x370c36,_0x11ed2a._0x4f2cb9)];function _0x384c68(_0x4b8287,_0x14ae3b,_0x23938c,_0x2816a4){return _0x39a391(_0x4b8287-0xf4,_0x14ae3b-0x93,_0x2816a4- -0x2b4,_0x23938c);}assertStrictJsonObject(_0x3b625a,'tool\x20error');const {message:_0x1f6489,toolName:_0x12da4f,output:_0x5000bf}=_0x3b625a;if(typeof _0x1f6489!==_0x2268b6(_0x11ed2a._0x4e188f,0x302,0x150,_0x11ed2a._0x13bd19)||typeof _0x12da4f!==_0x2268b6(-0x81,_0x11ed2a._0x42895f,_0x11ed2a._0x4fe215,_0x11ed2a._0x2594b4)||_0x5000bf!==void 0x0&&typeof _0x5000bf!==_0x384c68(_0x11ed2a._0x40ae95,_0x11ed2a._0x549bbc,_0x11ed2a._0x48d85e,_0x11ed2a._0x188a58))throw new Error(_0x384c68(_0x11ed2a._0x1dc1f7,0x497,_0x11ed2a._0x427ff3,_0x11ed2a._0xe8ae58));return JSON[_0x2268b6(-0x29c,_0x11ed2a._0x49e490,-_0x11ed2a._0x3e27fe,_0x11ed2a._0x1df180)]({'ok':![],'message':copyBoundedErrorText(_0x1f6489),'toolName':copyBoundedErrorText(_0x12da4f),..._0x5000bf===void 0x0?{}:{'output':copyBoundedErrorText(_0x5000bf)}});}function parseProgramResult(_0x50065d){const _0x5df51f={_0xff696a:0x7a1,_0x191d5c:0x816,_0x542231:0xdd,_0xd97cf0:0x274,_0x322e79:0x456,_0x32a593:0x293,_0x90e09c:0xac1,_0x1825d3:0xba6,_0x11e083:0x1ae,_0x12148f:0x236,_0x136e23:0x196,_0x69f768:0x139,_0x107c12:0xab9,_0xf501a4:0xa04,_0x2ae82e:0x6c2,_0x461f64:0x726,_0x1b1cca:0x861,_0x4b55c7:0x97b,_0x4c1335:0x17c,_0x403748:0x2df,_0x5c00c2:0x1d9,_0x1262b7:0x7a7,_0x16b9e4:0x396,_0x1578d5:0x25d,_0x143a8f:0x57c,_0x2e92bc:0x38b,_0x2d0d7d:0x6ab,_0x21c1a2:0x718,_0x5a1ccb:0x7ce,_0x2029a8:0x5df,_0x371f06:0x471,_0x51ff41:0x5e0,_0x187eef:0x3af,_0x31619a:0x542,_0x1af4df:0x41d,_0x5b58f3:0x5d7,_0x51bea2:0x720,_0x3b13b1:0x598,_0x119371:0x67a,_0x569301:0x5cd,_0x1a8994:0x14a,_0x225a07:0x95,_0x114465:0x381,_0x107303:0xb7f,_0x4521e5:0x997,_0x9e6f83:0x9da,_0x1a352f:0x9fe,_0x128fad:0x1ac,_0x49f131:0x456,_0x459d43:0x33f,_0x5075da:0x45f},_0x42c384={_0x597415:0x53,_0x46ea9d:0x9b},_0x51fcfb={_0x3aeb03:0x85,_0xf2df5a:0xb3,_0x116679:0x9c};if(typeof _0x50065d!==_0x78864f(0x8e0,0x834,_0x5df51f._0xff696a,_0x5df51f._0x191d5c))throw new ProgramIsolateError(_0x583893(0x174,0x225,-_0x5df51f._0x542231,_0x5df51f._0xd97cf0),_0x583893(_0x5df51f._0x322e79,0x3c0,_0x5df51f._0x32a593,0x312));const _0x38833f=parseStrictJsonObject(_0x50065d,'program\x20response');if(_0x38833f[_0x78864f(_0x5df51f._0x90e09c,0xa6d,0xa04,_0x5df51f._0x1825d3)]==='ok'&&typeof _0x38833f[_0x583893(0x196,_0x5df51f._0x11e083,_0x5df51f._0x12148f,-0xc1)]==='string')return parseStrictJsonValue(_0x38833f[_0x583893(_0x5df51f._0x136e23,0x2ae,0xb4,_0x5df51f._0x69f768)],'program\x20result');function _0x78864f(_0x2fc111,_0x5077d3,_0x1500f0,_0x5166b4){return _0x39a391(_0x2fc111-_0x51fcfb._0x3aeb03,_0x5077d3-_0x51fcfb._0xf2df5a,_0x1500f0-_0x51fcfb._0x116679,_0x2fc111);}if(_0x38833f[_0x78864f(_0x5df51f._0x107c12,0xb7a,_0x5df51f._0xf501a4,0xbfc)]===_0x78864f(_0x5df51f._0x2ae82e,_0x5df51f._0x461f64,_0x5df51f._0x1b1cca,_0x5df51f._0x4b55c7)&&typeof _0x38833f[_0x583893(0x5df,0x75a,0x538,0x48f)]==='string'){const _0x3976a3=typeof _0x38833f[_0x583893(_0x5df51f._0x4c1335,0x148,_0x5df51f._0x403748,_0x5df51f._0x5c00c2)]===_0x78864f(_0x5df51f._0x1262b7,0x593,_0x5df51f._0xff696a,0x76f)&&_0x38833f[_0x583893(0x17c,0x5,_0x5df51f._0x16b9e4,_0x5df51f._0x1578d5)][_0x583893(_0x5df51f._0x143a8f,_0x5df51f._0x2e92bc,_0x5df51f._0x2d0d7d,_0x5df51f._0x21c1a2)]>0x0?_0x38833f['toolName']:void 0x0,_0x5e22aa=_0x3976a3===void 0x0?_0x38833f[_0x583893(0x5df,0x48a,_0x5df51f._0x5a1ccb,0x547)]:_0x38833f[_0x583893(_0x5df51f._0x2029a8,0x6da,0x3f8,_0x5df51f._0x371f06)]+'\x20('+_0x3976a3+')';throw new ProgramIsolateError('program-tool-error',_0x5e22aa,{'authoredDetail':!![]});}if(_0x38833f[_0x583893(_0x5df51f._0x51ff41,_0x5df51f._0x187eef,_0x5df51f._0x31619a,0x551)]===_0x583893(_0x5df51f._0x1af4df,_0x5df51f._0x5b58f3,0x486,0x517)&&typeof _0x38833f['message']===_0x78864f(0x97e,0x64f,0x7a1,_0x5df51f._0x51bea2))throw new ProgramIsolateError(_0x78864f(0x74d,0x595,_0x5df51f._0x3b13b1,0x72f),_0x38833f[_0x583893(0x5df,0x41b,_0x5df51f._0x119371,0x680)],{'authoredDetail':!![]});if(_0x38833f['status']===_0x583893(_0x5df51f._0x569301,0x640,0x463,0x4f5))throw new ProgramIsolateError(_0x583893(_0x5df51f._0x1a8994,-_0x5df51f._0x225a07,_0x5df51f._0x114465,-0x2f),_0x78864f(_0x5df51f._0x107303,_0x5df51f._0x4521e5,_0x5df51f._0x9e6f83,_0x5df51f._0x1a352f));function _0x583893(_0x207142,_0xc447ef,_0x383d61,_0x6ce3b2){return _0x39a391(_0x207142-_0x42c384._0x597415,_0xc447ef-_0x42c384._0x46ea9d,_0x207142- -0x388,_0x383d61);}throw new ProgramIsolateError(_0x583893(0x174,0xf6,0x282,_0x5df51f._0x128fad),_0x583893(_0x5df51f._0x49f131,0x685,_0x5df51f._0x459d43,_0x5df51f._0x5075da));}function copyBoundedErrorText(_0xf05a28){const _0x25f168={_0x3a5676:0x3be,_0xad9179:0x1c1,_0xe95672:0x638,_0x5b5091:0x443,_0x20e247:0x105},_0x4962c9={_0x3b8a2c:0x616},_0x3a74d4={_0x4817e8:0x146,_0x33e382:0xf2};let _0x42ce1e='';function _0x1eb6a4(_0x295901,_0x2665a8,_0x5d6e30,_0x856fb0){return _0x39a391(_0x295901-_0x3a74d4._0x4817e8,_0x2665a8-_0x3a74d4._0x33e382,_0x5d6e30-0x6d,_0x295901);}let _0xcdd1fe=0x0;for(const _0x2118a7 of _0xf05a28){const _0x424c10=_0x2118a7[_0x2083b8(_0x25f168._0x3a5676,0x1dd,_0x25f168._0xad9179,0x107)](0x0),_0x403ccf=_0x424c10!==void 0x0&&(_0x424c10<=0x1f||_0x424c10>=0x7f&&_0x424c10<=0x9f)?'\x20':_0x2118a7,_0x1b9c61=Buffer[_0x1eb6a4(_0x25f168._0xe95672,_0x25f168._0x5b5091,0x5fa,0x637)](_0x403ccf,_0x2083b8(-0x83,_0x25f168._0x20e247,0x1a0,0x100));if(_0xcdd1fe+_0x1b9c61>MAX_COPIED_ERROR_BYTES)break;_0x42ce1e+=_0x403ccf,_0xcdd1fe+=_0x1b9c61;}function _0x2083b8(_0x550699,_0x2701d6,_0x2bcfb8,_0x40441d){return _0x39a391(_0x550699-0x1a6,_0x2701d6-0x1e9,_0x2701d6- -_0x4962c9._0x3b8a2c,_0x2bcfb8);}return _0x42ce1e;}function isIsolateLimitError(_0x49493f){return _0x49493f instanceof IsolateLimitError||classifyIsolateError(_0x49493f)!==void 0x0;}var DEFAULT_TIMEOUT_MS=0x36ee80,MAX_TIMEOUT_MS=0x7fffffff;function createProgram(_0x44da6d){const _0x2cadc3={_0x58ada7:0x1eb,_0x52b70c:0x536,_0x54f81d:0x26e,_0x43711c:0xd,_0x48912b:0x2c,_0x40d727:0x117,_0x5bb337:0x2a8,_0x9f9f16:0x11e,_0x34ea9a:0x1a9,_0x114c01:0x20c,_0x189d9e:0x16e,_0x411839:0x161},_0x73a4bf={_0x394745:0x3c1},_0x5b05d9={_0x236a96:0x18a,_0x2c7f8f:0x1ba},_0x596baa={_0x2701ec:0x146,_0x52d8c9:0xc},_0x2e4040={_0xe5f507:0x1b,_0x43f7c4:0x160,_0x2592d5:0x114},_0x66a402=validateTimeoutMs(_0x44da6d[_0x2c89b0(_0x2cadc3._0x58ada7,0x4a9,0x31c,_0x2cadc3._0x52b70c)]),_0x27c9cb=[..._0x44da6d[_0x2c89b0(-0xc1,0x287,0x18f,_0x2cadc3._0x54f81d)]];function _0x76467f(_0x43bb11,_0x199102,_0x4d8e19,_0x2d63e3){return _0x1957f6(_0x43bb11-_0x2e4040._0xe5f507,_0x199102-_0x2e4040._0x43f7c4,_0x199102,_0x4d8e19- -_0x2e4040._0x2592d5);}const _0x58bb9a=validateCatalog(_0x27c9cb);function _0x2c89b0(_0x20a063,_0x27d53d,_0x52a793,_0x1487cf){return _0x1957f6(_0x20a063-0x1e7,_0x27d53d-_0x596baa._0x2701ec,_0x1487cf,_0x52a793-_0x596baa._0x52d8c9);}return defineTool({'name':_0x2c89b0(0x1c3,-_0x2cadc3._0x43711c,-0x15,-_0x2cadc3._0x48912b),'description':renderProgramDescription(_0x58bb9a[_0x2c89b0(_0x2cadc3._0x40d727,0x36e,_0x2cadc3._0x5bb337,0x14f)]()),'permissionClass':'read','inputSchema':{'type':_0x76467f(-0xb,0xff,_0x2cadc3._0x9f9f16,0x21e),'properties':{'description':{'type':_0x2c89b0(_0x2cadc3._0x34ea9a,0x42e,_0x2cadc3._0x114c01,_0x2cadc3._0x189d9e)},'code':{'type':'string'}},'required':[_0x2c89b0(-0xe0,_0x2cadc3._0x411839,0x57,-0x62),'code'],'additionalProperties':![]},async *'execute'(_0x177dda,_0x3e1ad9){function _0x3216ca(_0x349fd6,_0x3c3cf1,_0x246a37,_0x1ea0a4){return _0x2c89b0(_0x349fd6-_0x5b05d9._0x236a96,_0x3c3cf1-0xcd,_0x349fd6-_0x5b05d9._0x2c7f8f,_0x1ea0a4);}return yield*[],await executeProgram(_0x177dda[_0x3216ca(0x2ab,_0x73a4bf._0x394745,0x1ec,0x1c7)],_0x66a402,_0x58bb9a,_0x3e1ad9);}});}var MAX_PARENT_ERROR_MESSAGE_BYTES=0x200,PROGRAM_PARENT_ERROR_MESSAGES={'program-isolation-unavailable':'program\x20isolation\x20is\x20unavailable','program-runtime-unavailable':_0x39a391(0x482,0x874,0x6ae,0x876),'program-trace-error':_0x1957f6(0x11d,0x31f,0x40d,0x239),'program-invalid-source':_0x1957f6(0x43,0x52,0x187,0xbd),'program-timeout':_0x39a391(0xade,0x9a8,0x950,0x977),'program-invalid-result':_0x39a391(0x7b9,0x995,0x93e,0xa46),'program-tool-error':_0x1957f6(0x4fa,0x396,0x496,0x3ae),'program-execution-error':'program\x20execution\x20failed','program-resource-limit':'program\x20isolate\x20exceeded\x20its\x20resource\x20limit','program-aborted':_0x1957f6(0x576,0x2bf,0x60c,0x424)};function programParentErrorMessage(_0x466fd){return sanitizeAndBoundParentErrorMessage(PROGRAM_PARENT_ERROR_MESSAGES[_0x466fd]);}function sanitizeAndBoundParentErrorMessage(_0x4042d5){const _0x13b682={_0x4c9d96:0x234,_0x49d4a7:0x440,_0x10e328:0x98,_0x19c65f:0xc9,_0x1b511d:0x13},_0x8b33ce={_0x2e148b:0x152},_0x52f289={_0x2f2351:0xd8};let _0x3e8a63='';function _0x216270(_0x480782,_0x240c24,_0x216f11,_0xd81005){return _0x1957f6(_0x480782-_0x52f289._0x2f2351,_0x240c24-0x1df,_0x240c24,_0x480782-0x10);}function _0x408928(_0x1f3623,_0x23cd05,_0xf86976,_0x1de7ec){return _0x1957f6(_0x1f3623-0x1e8,_0x23cd05-0xc4,_0x1f3623,_0x23cd05-_0x8b33ce._0x2e148b);}let _0x2c4b66=0x0;for(const _0x51082a of _0x4042d5){const _0xe791a0=_0x51082a[_0x408928(_0x13b682._0x4c9d96,_0x13b682._0x49d4a7,0x4ef,0x3c2)](0x0),_0x1d7d93=_0xe791a0!==void 0x0&&(_0xe791a0<=0x1f||_0xe791a0>=0x7f&&_0xe791a0<=0x9f)?'\x20':_0x51082a,_0x337ae0=Buffer[_0x216270(_0x13b682._0x10e328,-_0x13b682._0x19c65f,_0x13b682._0x1b511d,-0xf3)](_0x1d7d93,'utf8');if(_0x2c4b66+_0x337ae0>MAX_PARENT_ERROR_MESSAGE_BYTES)break;_0x3e8a63+=_0x1d7d93,_0x2c4b66+=_0x337ae0;}return _0x3e8a63;}function classifiedProgramErrorMessage(_0x27752c){const _0x2505b3={_0x23f33e:0x318,_0x2218b2:0x528,_0x53d65b:0x5a3,_0x1035b4:0x842,_0x8e83d2:0x60d},_0x174243={_0x42e93d:0x10,_0x41a53f:0x169,_0x60635b:0x443};function _0x3c0b23(_0x46bfe4,_0x16f0a3,_0x441777,_0x48458c){return _0x39a391(_0x46bfe4-0x1aa,_0x16f0a3-0xce,_0x16f0a3- -0x35,_0x48458c);}const _0x946559=programParentErrorMessage(_0x27752c[_0x2df4ad(_0x2505b3._0x23f33e,_0x2505b3._0x2218b2,0x502,_0x2505b3._0x53d65b)]);function _0x2df4ad(_0x21bea8,_0x43eaac,_0x43db84,_0x3e75c7){return _0x1957f6(_0x21bea8-_0x174243._0x42e93d,_0x43eaac-_0x174243._0x41a53f,_0x43db84,_0x43eaac-_0x174243._0x60635b);}if(_0x27752c['detail']===void 0x0)return _0x946559;const _0x5f236b=sanitizeAndBoundParentErrorMessage(_0x27752c['detail']);if(_0x5f236b[_0x2df4ad(0x7a9,_0x2505b3._0x1035b4,_0x2505b3._0x8e83d2,0x9a7)]===0x0||_0x5f236b===_0x946559)return _0x946559;return sanitizeAndBoundParentErrorMessage(_0x946559+':\x20'+_0x5f236b);}async function executeProgram(_0x2e1784,_0x291f7c,_0x14a38b,_0x2ad0d5){const _0x2185fe={_0x40aa53:0x4d4,_0x4a8cb6:0x214,_0x4ffed1:0x4d3,_0xa100f3:0x477,_0x15b056:0x2f8,_0x590f2e:0x3d1,_0x3ec587:0x135,_0x62f17a:0x38e,_0x11e8dc:0x36e,_0x23669d:0x1f3,_0x3d7c9:0x50,_0x246197:0x23,_0x55fa78:0x8b,_0x2eba6a:0x1c1,_0x2fbcff:0x42b,_0x473876:0x659,_0x343c4c:0x477,_0x165d82:0x297,_0x458ba3:0x4d3,_0x3a37b0:0x17e,_0x4cb5a5:0x20e,_0xbd6519:0x440,_0x5ed7b3:0xf4,_0x215b27:0x342,_0x5cd368:0x234,_0x5b557d:0x1c1,_0x8c0be3:0x5cf,_0xbc79a6:0x302,_0x1f6333:0x1a4,_0x7db835:0x2f3,_0x8fe2bd:0x375,_0x167a6c:0xf8,_0x20a9b1:0x51,_0x56ce06:0x1d1,_0xceefa0:0x309,_0x1e7c3e:0x416,_0x1fa8e2:0x1f9,_0x2b7286:0x3d8,_0x2ae398:0xb2,_0x11a855:0x432,_0x3bc1b9:0x588,_0x402177:0x55b},_0x2b87cf={_0xf6200b:0x147,_0x7a7f0b:0x118,_0x59d9cd:0xc4,_0x4f3e57:0x1bd,_0x5d1450:0x132,_0x135055:0x169,_0x4cc55e:0xd,_0x18af6f:0xc6,_0x1deb83:0x157,_0x31e8f3:0x4,_0x298054:0x17d,_0x36ec84:0x15,_0x289b8d:0x9a,_0x3f3a86:0x16c,_0x4e2e83:0x1c,_0x460774:0x3c7,_0x2f51b4:0x3bf,_0x4c7761:0x4f,_0x24994e:0x48,_0x12291e:0x399,_0x2e3058:0x394,_0x267ce1:0x2b7,_0x51bdfa:0x31c,_0x1049c7:0xef,_0x4cbe32:0x34f,_0x4f2227:0x375,_0x3f585f:0x2c2},_0x4c112f={_0x33471f:0x218,_0xe9093c:0x2c7,_0x4815db:0xeb,_0x1161d9:0x380,_0x21e00d:0x183,_0x490703:0x19c,_0x59ea23:0x42,_0x34d5a0:0x17f,_0x1bf318:0x238,_0x30d425:0x1b7,_0x4df18e:0x8c},_0x241be8={_0x4b2078:0x159,_0x494f97:0xee},_0x102c8e={_0x2cc6ce:0x1cf,_0x5ebae9:0xdc},_0x4f59a9={_0x3c89ca:0x1b,_0x34ccf1:0x20f,_0xcb0a8:0x23c},_0xefae9={_0x958ce3:0xbb,_0x4a48d6:0x73},_0x490198={_0x4b88bc:0x80e},_0xc4bd95={_0x769315:0x15c},_0x2e08a0={_0x415d52:0x9f,_0x17fb2f:0x102},_0x2a967e={_0xaec073:0xa9,_0x423079:0x138,_0x41284f:0xbf},_0x3a6918={_0x4724f2:0x464},_0x22a00c={_0x42b1f5:0x53a,_0x29b9da:0x59a,_0x190148:0x58f},_0x43ceb4={_0x5e0afa:0x487},_0x4cd695={_0xf09d35:0x436},_0x5795b0=new AbortController(),_0x4c4a30=new ProgramIsolateError(_0x48b99(0x410,_0x2185fe._0x40aa53,0x219,0x291),programParentErrorMessage('program-timeout')),_0x487e36=new Set();let _0x278bf1,_0x547dc9=0x0,_0x1e4dff=!![],_0x174e80=![],_0x5fe643=![],_0xef1270=![],_0x3b6190=![];const _0x582170=_0x4718f3=>{_0x1e4dff=![];function _0x41457e(_0x2abe8b,_0x351caf,_0x49d81b,_0x2a6344){return _0x48b99(_0x2abe8b-0x1e0,_0x351caf-0x14c,_0x49d81b,_0x2abe8b-_0x4cd695._0xf09d35);}closeBoundNestedToolExecution(_0x2ad0d5[_0x41457e(0x4f6,0x64a,_0x43ceb4._0x5e0afa,0x68d)],_0x4718f3);},_0x43d005=()=>{const _0x947c45={_0x4d9068:0x12f,_0x196aea:0x1c0};if(_0x5fe643)return;function _0x9ccb07(_0x53f4c4,_0x19ed8c,_0x2dcf43,_0x2e56ac){return _0x48b99(_0x53f4c4-_0x947c45._0x4d9068,_0x19ed8c-_0x947c45._0x196aea,_0x53f4c4,_0x2e56ac-0x1c9);}_0x5fe643=!![],_0x1e4dff=![],_0x5795b0[_0x9ccb07(_0x22a00c._0x42b1f5,0x748,_0x22a00c._0x29b9da,_0x22a00c._0x190148)](_0x4c4a30),closeBoundNestedToolExecution(_0x2ad0d5['executeNestedTool'],_0x4c4a30);},_0x2ceda8=()=>{const _0xa8859c={_0x4e6794:0xe4,_0xa921ac:0x2ac};function _0x3e671a(_0xefc814,_0x55be67,_0x1664c7,_0x4253f9){return _0x48b99(_0xefc814-_0xa8859c._0x4e6794,_0x55be67-0x2e,_0x1664c7,_0xefc814-_0xa8859c._0xa921ac);}if(_0x3b6190)return;_0x3b6190=!![],commitBoundToolExecutionTerminalState(_0x2ad0d5[_0x3e671a(0x36c,0x581,_0x3a6918._0x4724f2,0x17f)]);},_0x17ad2e=setTimeout(_0x43d005,_0x291f7c);function _0x48b99(_0x1a6e63,_0x4c7099,_0x341c70,_0x177a95){return _0x1957f6(_0x1a6e63-_0x2a967e._0xaec073,_0x4c7099-_0x2a967e._0x423079,_0x341c70,_0x177a95-_0x2a967e._0x41284f);}function _0x47d473(_0x42d859,_0xba2e26,_0x25180b,_0x212d6b){return _0x1957f6(_0x42d859-_0x2e08a0._0x415d52,_0xba2e26-0x1c0,_0xba2e26,_0x212d6b-_0x2e08a0._0x17fb2f);}const _0x39a844=()=>{function _0x22e6f9(_0x13197c,_0x480e48,_0x35a01f,_0x89ce91){return _0x48b99(_0x13197c-_0xc4bd95._0x769315,_0x480e48-0x5e,_0x480e48,_0x13197c-0x377);}_0x582170(_0x2ad0d5['signal'][_0x22e6f9(0x5b3,0x7bc,_0x490198._0x4b88bc,0x35c)]);};_0x2ad0d5['signal'][_0x47d473(0x39a,0x319,0x1ac,_0x2185fe._0x4a8cb6)]?_0x39a844():_0x2ad0d5[_0x48b99(_0x2185fe._0x4ffed1,0x611,0x26b,_0x2185fe._0xa100f3)][_0x48b99(0x108,_0x2185fe._0x15b056,0x366,0x2a8)](_0x47d473(_0x2185fe._0x590f2e,0x606,0x562,0x409),_0x39a844,{'once':!![]});const _0x5a3f7b=async()=>{const _0x538e0e={_0x547b2a:0x2b9};function _0x357158(_0x472f59,_0x5db704,_0x23afaa,_0x3b8772){return _0x48b99(_0x472f59-_0xefae9._0x958ce3,_0x5db704-_0xefae9._0x4a48d6,_0x472f59,_0x5db704- -0x130);}function _0x3aa820(_0x42a03d,_0x3fde01,_0x57164b,_0xc5532d){return _0x47d473(_0x42a03d-0xf4,_0x3fde01,_0x57164b-0x123,_0xc5532d- -_0x538e0e._0x547b2a);}while(_0x487e36[_0x357158(-_0x4f59a9._0x3c89ca,0x193,0x10b,_0x4f59a9._0x34ccf1)]>0x0){await Promise[_0x357158(-0xc1,-0x67,0x18a,-_0x4f59a9._0xcb0a8)]([..._0x487e36]);}},_0x43be18=async()=>{const _0x34b75d={_0x145176:0x1e2,_0x365719:0x75};function _0x2eac83(_0x5e49b2,_0x591128,_0x3ba21c,_0x550b3b){return _0x47d473(_0x5e49b2-_0x34b75d._0x145176,_0x550b3b,_0x3ba21c-_0x34b75d._0x365719,_0x5e49b2- -0x92);}try{return await drainBoundNestedToolPersistence(_0x2ad0d5[_0x2eac83(0x71,-0x127,_0x102c8e._0x2cc6ce,-_0x102c8e._0x5ebae9)]),![];}catch{return!![];}},_0xd6ee7f=(_0x1e9d6e,_0x596a68)=>{const _0xd3dc6e={_0x4ed6a3:0xa22},_0x24c7c5={_0x592ae2:0x2bd};if(!_0x1e4dff)return Promise[_0x4b66ce(_0x2b87cf._0xf6200b,-_0x2b87cf._0x7a7f0b,-0x7d,-_0x2b87cf._0x59d9cd)](new ProgramIsolateError(_0x4b66ce(-_0x2b87cf._0x4f3e57,_0x2b87cf._0x5d1450,-_0x2b87cf._0x135055,-_0x2b87cf._0x4cc55e),_0x4b66ce(-_0x2b87cf._0x18af6f,-0x133,-_0x2b87cf._0x1deb83,_0x2b87cf._0x31e8f3)));const _0x4a0e2f=_0x2ad0d5[_0x154ef2(-_0x2b87cf._0x298054,0x270,-0x65,_0x2b87cf._0x36ec84)];if(!_0x4a0e2f)return Promise[_0x154ef2(-0x17a,-_0x2b87cf._0x289b8d,_0x2b87cf._0x3f3a86,_0x2b87cf._0x4e2e83)](new ProgramIsolateError(_0x154ef2(0x4f0,_0x2b87cf._0x460774,_0x2b87cf._0x2f51b4,0x3f9),_0x154ef2(-0x67,-_0x2b87cf._0x4c7761,_0x2b87cf._0x24994e,-0x2)));function _0x154ef2(_0x1a174e,_0x1444a0,_0x50ff1a,_0xd72281){return _0x47d473(_0x1a174e-0x47,_0x1444a0,_0x50ff1a-_0x241be8._0x4b2078,_0xd72281- -_0x241be8._0x494f97);}function _0x4b66ce(_0x809b5,_0x54be34,_0x445f0c,_0x1de8dc){return _0x48b99(_0x809b5-0x135,_0x54be34-0x172,_0x809b5,_0x1de8dc- -0x18b);}const _0x9dab2b={'requestedName':_0x1e9d6e,'tool':_0x14a38b[_0x154ef2(_0x2b87cf._0x12291e,-0x18,0x1b7,0x18d)](_0x1e9d6e),'toolCall':{'type':_0x154ef2(0x2a2,_0x2b87cf._0x2e3058,0x72,_0x2b87cf._0x267ce1),'id':_0x4b66ce(0x3b9,_0x2b87cf._0x12291e,0x279,_0x2b87cf._0x51bdfa)+_0x2f9219(),'name':_0x1e9d6e,'input':_0x596a68},'sequence':++_0x547dc9,..._0x278bf1===void 0x0?{}:{'trace':_0x278bf1}},_0x28c0d2=((async()=>{let _0x5972a5;try{_0x5972a5=await _0x4a0e2f(_0x9dab2b);}catch(_0x38d64b){(_0x1e4dff||!isAbortError(_0x38d64b))&&(_0x174e80=!![]);throw new ProgramIsolateError(_0x49e850(0x2b0,0x3aa,0x315,0x4a5),_0x3af594(0x3a7,_0x4c112f._0x33471f,0x409,0x45a));}function _0x49e850(_0x3286a9,_0x279472,_0x258b26,_0x170b91){return _0x4b66ce(_0x258b26,_0x279472-0x1ef,_0x258b26-0x198,_0x3286a9-_0x24c7c5._0x592ae2);}if(_0x5972a5[_0x49e850(0x654,0x48c,0x581,0x76a)]==='ok')return{'ok':!![],'output':_0x5972a5['output']};function _0x3af594(_0x5e1ff3,_0x166103,_0xefe153,_0x13bd4c){return _0x154ef2(_0x5e1ff3-0x150,_0x5e1ff3,_0xefe153-0xb5,_0xefe153- -0x78);}const _0x441c29=_0x5972a5[_0x3af594(_0x4c112f._0xe9093c,0x283,_0x4c112f._0x4815db,0x41)]['error'];return{'ok':![],'error':{'message':typeof _0x441c29===_0x3af594(_0x4c112f._0x1161d9,_0x4c112f._0x21e00d,_0x4c112f._0x490703,-_0x4c112f._0x59ea23)?_0x441c29:_0x5972a5[_0x3af594(-0x79,0xdc,_0x4c112f._0x34d5a0,-0x92)],'toolName':_0x5972a5[_0x3af594(-_0x4c112f._0x1bf318,-_0x4c112f._0x30d425,-0x65,-_0x4c112f._0x4df18e)],'output':_0x5972a5['output']}};})());_0x487e36[_0x154ef2(_0x2b87cf._0x1049c7,0x45d,0x4aa,0x335)](_0x28c0d2);const _0x4f9906=()=>{const _0x486a34={_0x231199:0x585};function _0x488779(_0x3a354c,_0x54e5b2,_0x114d0a,_0x120006){return _0x154ef2(_0x3a354c-0x184,_0x114d0a,_0x114d0a-0xd3,_0x54e5b2-_0x486a34._0x231199);}_0x487e36[_0x488779(_0xd3dc6e._0x4ed6a3,0x868,0xaaf,0x7dc)](_0x28c0d2);};return void _0x28c0d2[_0x4b66ce(0x19c,_0x2b87cf._0x4cbe32,_0x2b87cf._0x4f2227,_0x2b87cf._0x3f585f)](_0x4f9906,_0x4f9906),_0x28c0d2;};try{if(_0x2ad0d5[_0x48b99(_0x2185fe._0x3ec587,_0x2185fe._0x62f17a,0x357,_0x2185fe._0x11e8dc)])try{_0x278bf1=await _0x2ad0d5['beginProgramTrace']();}catch{throw new ProgramIsolateError(_0x48b99(0x268,0x3b,_0x2185fe._0x23669d,0x17e),programParentErrorMessage(_0x47d473(_0x2185fe._0x3d7c9,-_0x2185fe._0x246197,_0x2185fe._0x55fa78,_0x2185fe._0x2eba6a)));}throwForTerminalSignal(_0x2ad0d5[_0x47d473(0x4f1,0x560,_0x2185fe._0x2fbcff,0x4ba)],_0x5fe643);const _0x497b97=await runProgramIsolate({'code':_0x2e1784,'timeoutMs':_0x291f7c,'signal':_0x2ad0d5[_0x48b99(0x27d,0x6a3,0x37c,0x477)],'timeoutSignal':_0x5795b0[_0x48b99(_0x2185fe._0x473876,0x4fc,0x300,_0x2185fe._0x343c4c)],'toolNames':[..._0x14a38b[_0x47d473(0x3fc,_0x2185fe._0x165d82,0x561,_0x2185fe._0x458ba3)]()],'callTool':_0xd6ee7f});_0x1e4dff=![],await _0x5a3f7b();if(await _0x43be18())throw new ProgramIsolateError(_0x48b99(0x1ab,0xa2,0x101,_0x2185fe._0x3a37b0),programParentErrorMessage('program-trace-error'));throwForTerminalSignal(_0x2ad0d5['signal'],_0x5fe643),clearTimeout(_0x17ad2e),_0x2ceda8();if(_0x278bf1){_0xef1270=!![];try{await _0x278bf1[_0x47d473(_0x2185fe._0x4cb5a5,0x3f,_0x2185fe._0xbd6519,0x1e9)](_0x47d473(-_0x2185fe._0x5ed7b3,0x265,-0xba,0x130));}catch{throw new ProgramIsolateError('program-trace-error',programParentErrorMessage(_0x47d473(_0x2185fe._0x215b27,_0x2185fe._0x5cd368,0x189,_0x2185fe._0x5b557d)));}}return _0x497b97;}catch(_0x2ca5b0){_0x582170(_0x2ca5b0),await _0x5a3f7b();const _0x2bccc2=await _0x43be18();let _0x2dc265=classifyProgramError(_0x2ca5b0,_0x2ad0d5[_0x48b99(0x5b4,0x4c9,_0x2185fe._0x8c0be3,0x477)],_0x5fe643,_0x3b6190);(_0x174e80||_0x2bccc2)&&!retainsPrecedenceOverTraceFailure(_0x2dc265[_0x48b99(0x118,-0x71,_0x2185fe._0xbc79a6,_0x2185fe._0x1f6333)])&&(_0x2dc265={'code':_0x47d473(0x166,0xca,_0x2185fe._0x7db835,0x1c1)});_0x2ceda8();if(_0x278bf1&&!_0xef1270){_0xef1270=!![];const _0x240d09=_0x2dc265[_0x48b99(0x3ce,_0x2185fe._0x8fe2bd,0x365,0x1a4)]===_0x48b99(0x3f9,0x3a3,0x41c,0x4bd)?_0x48b99(_0x2185fe._0x167a6c,-_0x2185fe._0x20a9b1,0xb0,_0x2185fe._0x56ce06):_0x48b99(0x398,0x431,0x48e,_0x2185fe._0xceefa0);try{await _0x278bf1[_0x47d473(_0x2185fe._0x1e7c3e,0x2c4,_0x2185fe._0x1fa8e2,0x1e9)](_0x240d09,classifiedProgramErrorMessage(_0x2dc265));}catch{const _0x31de0f={'code':'program-trace-error'};!retainsPrecedenceOverTraceFailure(_0x2dc265[_0x47d473(_0x2185fe._0x2b7286,0x1c6,_0x2185fe._0x2ae398,0x1e7)])&&(_0x2dc265=_0x31de0f);}}throw createProgramToolError(_0x2dc265);}finally{_0x1e4dff=![],clearTimeout(_0x17ad2e),_0x2ad0d5['signal'][_0x47d473(0x4ba,0x252,0xb9,0x2af)](_0x48b99(_0x2185fe._0x11a855,_0x2185fe._0x3bc1b9,_0x2185fe._0x402177,0x3c6),_0x39a844);}}function throwForTerminalSignal(_0x3baf57,_0x2580ef){const _0x35c07e={_0x1d37dd:0x12c,_0x537874:0x3b7,_0x363ff1:0x2e4,_0x357c38:0x376,_0x18f2ef:0x29a,_0x28b953:0x9b,_0x36df77:0xc9,_0xca8931:0x14a},_0x114c79={_0x710ff8:0xdd,_0x51fc27:0x126,_0x3ed5fd:0x473},_0x42f9aa={_0xcb0a6d:0xe1,_0x2cfa83:0x6f,_0x3aad1b:0x88};function _0x1ea696(_0x56f94d,_0xaa0a0b,_0x520d68,_0x15633c){return _0x1957f6(_0x56f94d-_0x42f9aa._0xcb0a6d,_0xaa0a0b-_0x42f9aa._0x2cfa83,_0x520d68,_0x15633c- -_0x42f9aa._0x3aad1b);}if(_0x3baf57['aborted'])throw new ProgramIsolateError(_0x1ea696(_0x35c07e._0x1d37dd,_0x35c07e._0x537874,_0x35c07e._0x363ff1,_0x35c07e._0x357c38),programParentErrorMessage('program-aborted'));function _0x31490f(_0x5cb761,_0x15076c,_0x5ab059,_0x58c90e){return _0x1957f6(_0x5cb761-_0x114c79._0x710ff8,_0x15076c-_0x114c79._0x51fc27,_0x58c90e,_0x15076c-_0x114c79._0x3ed5fd);}if(_0x2580ef)throw new ProgramIsolateError('program-timeout',programParentErrorMessage(_0x1ea696(_0x35c07e._0x18f2ef,-_0x35c07e._0x28b953,-_0x35c07e._0x36df77,_0x35c07e._0xca8931)));}function classifyProgramError(_0x3989d4,_0x39ed31,_0x67ba4d,_0x407f3b){const _0xd10fc4={_0x289818:0x400,_0x9f8890:0x208,_0xe68188:0x383,_0x2f4035:0x522,_0x2afe72:0x3cb,_0x5ca897:0x5f5,_0x5c2353:0x7bf,_0x911357:0x327,_0x21b9c6:0x3f3,_0x340dc7:0x193,_0x1925a9:0x26c,_0x4e4955:0x62b,_0x535d25:0xf3,_0x5d8284:0x2fb,_0x80d567:0x1ff},_0x48cfe0={_0x47375a:0xa6,_0x27733e:0x7f,_0x4f1a2d:0x1b5},_0xe6dde4={_0x1f0fd6:0x8b};function _0x4ff5ef(_0x16b2f2,_0x59c0d8,_0x3a1de2,_0x5676d6){return _0x1957f6(_0x16b2f2-_0xe6dde4._0x1f0fd6,_0x59c0d8-0x11b,_0x16b2f2,_0x5676d6- -0x1f6);}if(!_0x407f3b&&_0x39ed31['aborted'])return{'code':_0x4ff5ef(0x3e3,-0x3a,_0xd10fc4._0x289818,_0xd10fc4._0x9f8890)};if(!_0x407f3b&&_0x67ba4d)return{'code':_0x4b28b8(_0xd10fc4._0xe68188,0x6ca,_0xd10fc4._0x2f4035,0x5c5)};if(_0x3989d4 instanceof ProgramIsolateError)return{'code':_0x3989d4['code'],..._0x3989d4[_0x4b28b8(0x826,_0xd10fc4._0x2afe72,_0xd10fc4._0x5ca897,_0xd10fc4._0x5c2353)]&&_0x3989d4[_0x4ff5ef(_0xd10fc4._0x911357,_0xd10fc4._0x21b9c6,_0xd10fc4._0x340dc7,_0xd10fc4._0x1925a9)][_0x4b28b8(0x955,0x72e,0x74f,_0xd10fc4._0x4e4955)]>0x0?{'detail':_0x3989d4['message']}:{}};function _0x4b28b8(_0x4069c3,_0x2e1911,_0x291036,_0x536478){return _0x39a391(_0x4069c3-_0x48cfe0._0x47375a,_0x2e1911-_0x48cfe0._0x27733e,_0x291036- -_0x48cfe0._0x4f1a2d,_0x2e1911);}return{'code':_0x4ff5ef(-0x2d7,-_0xd10fc4._0x535d25,-_0xd10fc4._0x5d8284,-_0xd10fc4._0x80d567)};}function retainsPrecedenceOverTraceFailure(_0xe6aca3){const _0x3ecc76={_0x5b3265:0x1b0,_0x327520:0x205,_0x18ce8e:0x1d0,_0x439feb:0x47b,_0x29e64d:0x32a},_0x4c93a4={_0x1c33a1:0x1db,_0x577822:0x32e},_0x2d435f={_0x31b15d:0x2d};function _0x246080(_0x3b637a,_0x8d18e7,_0x4af0a1,_0x235b41){return _0x39a391(_0x3b637a-_0x2d435f._0x31b15d,_0x8d18e7-0x6c,_0x3b637a- -0x527,_0x8d18e7);}function _0x157ee3(_0x5c6f9c,_0x103824,_0x5429e9,_0x4e9764){return _0x39a391(_0x5c6f9c-_0x4c93a4._0x1c33a1,_0x103824-0xf,_0x4e9764- -_0x4c93a4._0x577822,_0x5429e9);}return _0xe6aca3===_0x157ee3(0x59d,0x53f,0x796,0x5d5)||_0xe6aca3===_0x246080(_0x3ecc76._0x5b3265,_0x3ecc76._0x327520,0xaf,_0x3ecc76._0x18ce8e)||_0xe6aca3===_0x157ee3(_0x3ecc76._0x439feb,_0x3ecc76._0x29e64d,0x4ab,0x572);}function createProgramToolError(_0x39bd26){const _0x2554a8={_0x5ce9d1:0xe8,_0x2fe0ea:0x98,_0x2a2813:0x5b,_0x466eae:0x209,_0x471ff2:0x13d,_0x55dee6:0x63,_0x506b28:0x221,_0x4a6a2d:0xcb,_0xe21409:0x27a,_0x24dfcc:0x217,_0x1fdfcc:0x401},_0x362ef5={_0xc70e1d:0xca,_0x464ef3:0x1d4,_0x1c5512:0x64d},_0x3f3b44={_0x30a004:0x12c},_0x1a4b71=new ToolExecutionError(classifiedProgramErrorMessage(_0x39bd26),{'error':_0x39bd26['code'],..._0x39bd26[_0x20d1cb(-0x25f,_0x2554a8._0x5ce9d1,-0x63,-_0x2554a8._0x2fe0ea)]===_0x53b675(_0x2554a8._0x2a2813,0x161,_0x2554a8._0x466eae,0xec)?{'aborted':!![]}:{}});function _0x53b675(_0x4ad3c3,_0x3343ff,_0x3d8353,_0x3d92c5){return _0x1957f6(_0x4ad3c3-_0x3f3b44._0x30a004,_0x3343ff-0x44,_0x3d92c5,_0x3d8353- -0x1f5);}_0x39bd26[_0x20d1cb(-0x16e,_0x2554a8._0x471ff2,-_0x2554a8._0x55dee6,-0x5)]==='program-aborted'&&(_0x1a4b71[_0x20d1cb(-0x214,_0x2554a8._0x506b28,0x0,_0x2554a8._0x4a6a2d)]=_0x53b675(-_0x2554a8._0xe21409,-0x7b,-_0x2554a8._0x24dfcc,-_0x2554a8._0x1fdfcc));function _0x20d1cb(_0x127b3a,_0x383638,_0x1a3a13,_0x412251){return _0x39a391(_0x127b3a-_0x362ef5._0xc70e1d,_0x383638-_0x362ef5._0x464ef3,_0x1a3a13- -_0x362ef5._0x1c5512,_0x383638);}return _0x1a4b71;}function validateTimeoutMs(_0x1eafc5){const _0x5b991d=_0x1eafc5??DEFAULT_TIMEOUT_MS;if(!Number['isSafeInteger'](_0x5b991d)||_0x5b991d<=0x0||_0x5b991d>MAX_TIMEOUT_MS)throw new RangeError('Program\x20timeoutMs\x20must\x20be\x20a\x20positive\x20safe\x20integer\x20at\x20most\x202147483647');return _0x5b991d;}function validateCatalog(_0x404367){const _0x4dbec3={_0x2ed3b5:0xe0,_0xf0f69b:0x2a3,_0x461224:0xde,_0x12acc0:0xbd,_0x844572:0x287,_0x3d4070:0xb2,_0xd98c92:0xfe,_0x20a974:0x137,_0x26047e:0x172,_0x305663:0x39a,_0x5927c7:0x392,_0x3a08a9:0x2a3,_0x2a7a01:0x114,_0x2a7e3d:0x3fb,_0x1b00eb:0x27c,_0x577cb1:0x398,_0x3d4df3:0x4fe,_0x1bc4b6:0x583,_0x102675:0x75b},_0x5185b0={_0x433fc0:0x1ad,_0x336d0d:0x5f4},_0x4b8264={_0x2aa0e1:0x99,_0xf2e1b3:0x3aa};function _0x1e1199(_0x3c8542,_0x560b1b,_0x90a6fd,_0x333d5d){return _0x39a391(_0x3c8542-0x14e,_0x560b1b-_0x4b8264._0x2aa0e1,_0x90a6fd- -_0x4b8264._0xf2e1b3,_0x333d5d);}function _0x519092(_0x52e9ac,_0x21b785,_0xb53782,_0x37b191){return _0x39a391(_0x52e9ac-_0x5185b0._0x433fc0,_0x21b785-0x6e,_0x21b785- -_0x5185b0._0x336d0d,_0x52e9ac);}const _0x125690=new Map();for(const _0x4178b4 of _0x404367){if(_0x4178b4['name']===_0x519092(_0x4dbec3._0x2ed3b5,-0x110,-0x23e,-_0x4dbec3._0xf0f69b))throw new Error(_0x519092(_0x4dbec3._0x461224,_0x4dbec3._0x12acc0,_0x4dbec3._0x844572,-_0x4dbec3._0x3d4070));if(_0x125690[_0x519092(-_0x4dbec3._0xd98c92,-_0x4dbec3._0x20a974,-_0x4dbec3._0x26047e,-0x223)](_0x4178b4[_0x1e1199(_0x4dbec3._0x305663,_0x4dbec3._0x5927c7,_0x4dbec3._0x3a08a9,_0x4dbec3._0x2a7a01)]))throw new Error(_0x519092(_0x4dbec3._0x2a7e3d,0x244,_0x4dbec3._0x1b00eb,-0xb)+_0x4178b4[_0x1e1199(0x2f4,_0x4dbec3._0x577cb1,0x2a3,0x2b2)]);_0x125690[_0x1e1199(0x63e,_0x4dbec3._0x3d4df3,_0x4dbec3._0x1bc4b6,_0x4dbec3._0x102675)](_0x4178b4['name'],_0x4178b4);}return _0x125690;}function renderProgramDescription(_0x399691){const _0x50923e={_0x11c956:0x8cf,_0x431d1c:0xb57,_0x5f1e96:0x851,_0x1a9942:0x95c,_0x2e95e2:0x5dc,_0xc21aaa:0x573},_0x4cff17={_0x2f54c9:0xc7,_0x317da9:0xb3,_0x331c18:0x16d},_0x3e7f67={_0x2531d0:0x108,_0xdcdc03:0x4d0},_0x559133=[..._0x399691];function _0x5b1b3b(_0x41ea10,_0x2bf761,_0xb8b123,_0x3f8e80){return _0x1957f6(_0x41ea10-_0x3e7f67._0x2531d0,_0x2bf761-0xcb,_0x41ea10,_0xb8b123-_0x3e7f67._0xdcdc03);}function _0x1d0775(_0x2a2414,_0x63ce93,_0x541da1,_0x397a0b){return _0x39a391(_0x2a2414-_0x4cff17._0x2f54c9,_0x63ce93-_0x4cff17._0x317da9,_0x63ce93- -_0x4cff17._0x331c18,_0x541da1);}const _0xe51f74='Run\x20a\x20JavaScript\x20program\x20in\x20an\x20isolated\x20environment.\x20The\x20code\x20is\x20the\x20body\x20of\x20an\x20asynchronous\x20function.\x20Each\x20callable\x20tool\x20is\x20exposed\x20as\x20an\x20async\x20method\x20on\x20the\x20tools\x20object\x20that\x20returns\x20its\x20output\x20as\x20a\x20string,\x20e.g.\x20await\x20tools.FileRead({\x20path:\x20\x22src/index.ts\x22\x20}).\x20Names\x20with\x20spaces\x20or\x20special\x20characters\x20use\x20bracket\x20access,\x20e.g.\x20tools[\x22Some\x20Tool\x22]({}).\x20Inputs\x20must\x20be\x20strict\x20JSON\x20objects.',_0x529744=_0x5b1b3b(0x46d,0x65a,0x65e,0x7d3);if(_0x559133[_0x5b1b3b(0x88e,0xaa3,_0x50923e._0x11c956,0xaad)]===0x0)return _0xe51f74+_0x5b1b3b(_0x50923e._0x431d1c,_0x50923e._0x5f1e96,0x918,_0x50923e._0x1a9942);const _0x5cae62=_0x559133['map'](_0x35ceec=>'-\x20'+_0x35ceec[_0x5b1b3b(0x432,0x497,0x618,0x4b4)])[_0x5b1b3b(0x746,0x6ec,_0x50923e._0x2e95e2,_0x50923e._0xc21aaa)]('\x0a');return _0xe51f74+'\x0a\x0a'+_0x529744+'\x0a\x0aAvailable\x20tool\x20definitions:\x0a'+_0x5cae62;}import{stat as _0x54f953}from'fs/promises';import*as _0x26fdc3 from'path';import{execSync,spawn as _0x368299}from'child_process';import{existsSync}from'fs';import{stat as _0x338db0}from'fs/promises';import*as _0x2c50a8 from'os';import*as _0x1e3049 from'path';import{rgPath as _0x4fbb74}from'@vscode/ripgrep';var cachedRgPath=null;function findSystemRipgrep(){const _0x3d22ea={_0x296211:0x516,_0x3d7938:0x4c4,_0xb65d55:0x5fd,_0x34ab52:0x2c9,_0x4b9434:0x2a7,_0x5a54c2:0x400,_0x2f7e4d:0x251,_0x426634:0x39a,_0x199cf1:0x393,_0x477073:0x458,_0x34762c:0x38e,_0x55f317:0x204,_0x46a512:0xee,_0x29c900:0x18b,_0x15ca9d:0x62f,_0x1732cd:0x390,_0x1009a2:0x2dd,_0x48b320:0xb5,_0x4eb2fd:0x197,_0x1973a1:0x425,_0x73e4e9:0x644,_0x3cb8c0:0x6f8,_0x8e23db:0x63c,_0xdb97f7:0x48c,_0xc8b261:0x38f,_0x539f2e:0x2f0,_0x509fd3:0x29f,_0x5ac4e3:0x26f,_0x5a0f10:0x136,_0x1a38b7:0x33e,_0x18f1c3:0x16d,_0x364403:0x34f,_0x3c7f99:0x3d1,_0x59abee:0x5bd,_0x1dff7d:0xdc,_0x4e2cc2:0xfd},_0x1c556a={_0x3e4df4:0x8c},_0x3637f1={_0x146f9c:0xe6,_0x15a4c2:0x2f4};function _0x3c56a3(_0x4317ad,_0x491b71,_0x5fda3d,_0x466504){return _0x1957f6(_0x4317ad-_0x3637f1._0x146f9c,_0x491b71-0xae,_0x491b71,_0x5fda3d-_0x3637f1._0x15a4c2);}function _0x49e9e4(_0x42869e,_0x1adea6,_0x27ef1a,_0x4fafdf){return _0x39a391(_0x42869e-0x13f,_0x1adea6-_0x1c556a._0x3e4df4,_0x42869e- -0x4bd,_0x4fafdf);}const _0x230c12=_0x2c50a8[_0x3c56a3(_0x3d22ea._0x296211,_0x3d22ea._0x3d7938,_0x3d22ea._0xb65d55,0x4c5)]()===_0x3c56a3(0xe1,0x3c1,_0x3d22ea._0x34ab52,_0x3d22ea._0x4b9434),_0x2f4856=_0x230c12?[_0x1e3049[_0x3c56a3(0x30b,0x410,_0x3d22ea._0x5a54c2,0x23a)](process[_0x3c56a3(_0x3d22ea._0x2f7e4d,0x5a5,_0x3d22ea._0x426634,0x321)]['LOCALAPPDATA']||'',_0x3c56a3(_0x3d22ea._0x199cf1,_0x3d22ea._0x477073,_0x3d22ea._0x34762c,_0x3d22ea._0x55f317),'WinGet','Packages'),_0x1e3049[_0x49e9e4(0x154,-0x2f,0x100,-0xb)](process[_0x49e9e4(_0x3d22ea._0x46a512,0x149,_0x3d22ea._0x29c900,-0x34)][_0x3c56a3(_0x3d22ea._0x15ca9d,0x4d0,0x422,0x510)]||'',_0x49e9e4(_0x3d22ea._0x1732cd,0x177,0x3b5,_0x3d22ea._0x1009a2),'rg.exe'),_0x1e3049[_0x49e9e4(0x154,_0x3d22ea._0x48b320,_0x3d22ea._0x4eb2fd,0x231)](process['env'][_0x3c56a3(_0x3d22ea._0x1973a1,0x693,_0x3d22ea._0x73e4e9,0x84f)]||'',_0x3c56a3(_0x3d22ea._0x3cb8c0,0x4bb,_0x3d22ea._0x8e23db,0x4c3),_0x3c56a3(_0x3d22ea._0xdb97f7,0x150,_0x3d22ea._0xc8b261,0x3da))]:[_0x3c56a3(0x3c5,0x67b,0x450,_0x3d22ea._0x539f2e),_0x49e9e4(_0x3d22ea._0x509fd3,_0x3d22ea._0x5ac4e3,0x468,0x222),'/usr/bin/rg',_0x49e9e4(0x2fd,_0x3d22ea._0x5a0f10,0x3a9,_0x3d22ea._0x1a38b7)];for(const _0x4cd76d of _0x2f4856){if(existsSync(_0x4cd76d))return _0x4cd76d;}try{const _0x3c613e=_0x230c12?_0x3c56a3(0x54d,_0x3d22ea._0x18f1c3,_0x3d22ea._0x364403,0x4d0):'which\x20rg',_0x267d60=execSync(_0x3c613e,{'encoding':'utf8','stdio':['pipe',_0x49e9e4(_0x3d22ea._0x3c7f99,_0x3d22ea._0x59abee,0x4aa,0x374),'ignore']})['trim']()[_0x49e9e4(0x242,_0x3d22ea._0x1dff7d,_0x3d22ea._0x4e2cc2,0x2a6)](/\r?\n/)[0x0];if(_0x267d60&&existsSync(_0x267d60))return _0x267d60;}catch{return null;}return null;}async function filepath(){const _0x2ddef7={_0x336424:0x4a7,_0x50c7e7:0x6e2},_0x1b90af={_0x42c92c:0x1cd,_0xb892ef:0x66};if(cachedRgPath)return cachedRgPath;function _0x538af2(_0x23f402,_0x4681e3,_0x12551a,_0x3e879b){return _0x39a391(_0x23f402-_0x1b90af._0x42c92c,_0x4681e3-_0x1b90af._0xb892ef,_0x4681e3- -0x160,_0x3e879b);}if(_0x4fbb74&&existsSync(_0x4fbb74))return cachedRgPath=_0x4fbb74,_0x4fbb74;const _0x359622=findSystemRipgrep();if(!_0x359622)throw new Error(_0x538af2(_0x2ddef7._0x336424,0x6b3,_0x2ddef7._0x50c7e7,0x732));return cachedRgPath=_0x359622,_0x359622;}async function*files(_0x2825b4){const _0x90e563={_0x4f3b69:0x3b9,_0xdec60c:0x240,_0x2f3d15:0x3c4,_0x425b16:0x403,_0x311507:0x2e0,_0x473562:0x27c,_0x3cee1d:0x2f8,_0x8b57c4:0xac,_0x453d4e:0x4de,_0x5c28aa:0x160,_0x5669b3:0x30f,_0x5a738f:0x3ed,_0x3f2172:0x71,_0x286e2d:0x7f,_0x37e935:0x552,_0x363bfd:0x36,_0x3b11b5:0x2e3,_0x2bdf82:0x23b,_0x5b4c1a:0xde,_0x3f2dc5:0x1b3,_0x57fa2f:0x11,_0x226e1b:0x1ce,_0xff39c2:0x23d,_0x3c3039:0x26c,_0x59ad0c:0x3dc,_0x5b11c1:0x28b,_0x3b63cc:0x25d,_0x1b38cc:0x219,_0x2aa66b:0x38a,_0x49a944:0x50,_0x43ae1c:0x2c,_0x124720:0xba,_0x284bc3:0x48d,_0x1793ec:0x1c,_0x1b9080:0x326,_0x50cc6d:0x44e,_0x267e93:0x132,_0x54e557:0x2f7,_0x47abef:0x337,_0x2f8e28:0x5df,_0x53ecc4:0x281,_0x35ef54:0x343},_0x5a11e2={_0x262ef6:0x1f2,_0x31f8ec:0x1c3},_0xb8139d={_0x1fe909:0x1b,_0x3d938d:0x12d,_0x3639cb:0x4c1},_0x14fc1a=await filepath(),_0x1b4d7b=await _0x338db0(_0x2825b4[_0x23f750(_0x90e563._0x4f3b69,_0x90e563._0xdec60c,0x2d2,_0x90e563._0x2f3d15)])[_0x23f750(_0x90e563._0x425b16,0x3b5,0x328,_0x90e563._0x311507)](()=>null);function _0x23f750(_0x3c6f2b,_0x3854fa,_0x20f289,_0x15efc9){return _0x39a391(_0x3c6f2b-_0xb8139d._0x1fe909,_0x3854fa-_0xb8139d._0x3d938d,_0x20f289- -_0xb8139d._0x3639cb,_0x3854fa);}if(!_0x1b4d7b?.[_0x23f750(_0x90e563._0x473562,_0x90e563._0x3cee1d,0xe9,_0x90e563._0x8b57c4)]())throw Object[_0x23f750(_0x90e563._0x453d4e,_0x90e563._0x5c28aa,_0x90e563._0x5669b3,_0x90e563._0x5a738f)](new Error(_0x457a86(-_0x90e563._0x3f2172,0x154,-_0x90e563._0x286e2d,-0x35)+_0x2825b4['cwd']+'\x27'),{'code':_0x23f750(_0x90e563._0x37e935,0x305,0x35d,0x2f3)});const _0x25cd25=[_0x457a86(0x179,-0x81,-0x2a,0x5c),_0x457a86(0x109,0xce,0x203,-_0x90e563._0x363bfd),'--hidden',_0x23f750(0x49b,0x2d6,0x249,_0x90e563._0x3b11b5)];for(const _0x2e7e54 of _0x2825b4['glob']??[]){_0x25cd25[_0x457a86(_0x90e563._0x2bdf82,0x38e,_0x90e563._0x5b4c1a,_0x90e563._0x3f2dc5)](_0x457a86(_0x90e563._0x57fa2f,-_0x90e563._0x226e1b,-0xe,0xee)+_0x2e7e54);}const _0x49e774=_0x368299(_0x14fc1a,_0x25cd25,{'cwd':_0x2825b4[_0x23f750(_0x90e563._0xff39c2,_0x90e563._0x3c3039,0x2d2,0x3ff)],'stdio':[_0x23f750(0x388,_0x90e563._0x59ad0c,_0x90e563._0x5b11c1,0x4ba),_0x457a86(0x1ab,_0x90e563._0x3b63cc,0x272,0x1e0),_0x457a86(0x1ab,_0x90e563._0x1b38cc,_0x90e563._0x2aa66b,-_0x90e563._0x49a944)]});let _0x1dd8e1='';function _0x457a86(_0x1ddc5c,_0x53f628,_0x25a0be,_0x579019){return _0x1957f6(_0x1ddc5c-_0x5a11e2._0x262ef6,_0x53f628-_0x5a11e2._0x31f8ec,_0x25a0be,_0x1ddc5c- -0x1de);}for await(const _0x4b5b90 of _0x49e774[_0x23f750(_0x90e563._0xdec60c,0xe,_0x90e563._0x43ae1c,_0x90e563._0x124720)]??[]){_0x1dd8e1+=_0x4b5b90[_0x23f750(0x173,_0x90e563._0x284bc3,0x3a6,0x4ee)]();const _0x3ad1e7=_0x1dd8e1[_0x457a86(_0x90e563._0x1793ec,-0x55,-0x5b,-0xa)](/\r?\n/);_0x1dd8e1=_0x3ad1e7[_0x23f750(0x5af,0x49c,0x3e3,_0x90e563._0x1b9080)]()??'';for(const _0x4d4645 of _0x3ad1e7){if(_0x4d4645[_0x23f750(0x545,_0x90e563._0x50cc6d,0x443,0x3ac)]>0x0)yield _0x4d4645;}}_0x1dd8e1[_0x457a86(-_0x90e563._0x267e93,0x100,-_0x90e563._0x54e557,-_0x90e563._0x47abef)]()[_0x23f750(_0x90e563._0x2f8e28,0x535,0x443,0x443)]>0x0&&(yield _0x1dd8e1[_0x23f750(_0x90e563._0x53ecc4,_0x90e563._0x35ef54,0xf0,0x2d)]());}function objectValue(_0x23badf){return typeof _0x23badf==='object'&&_0x23badf!==null?_0x23badf:void 0x0;}function decodeRipgrepText(_0x483b02){const _0x373503={_0x37b766:0x3c0,_0xb73033:0x2a1,_0x523be3:0x42,_0x4aef82:0x16e,_0x591887:0x1e2,_0x2c2268:0x20,_0x28a346:0x90,_0x970960:0x30,_0x3ca2cc:0x1cf,_0x1bdecb:0x1a9,_0x2bc23d:0x1a,_0x1ff849:0x1d,_0x19c22e:0x3c1,_0x319a5e:0x142},_0x363237={_0xff8d88:0x11d},_0x592872={_0x1fe78:0x1ce,_0x358f85:0x1e},_0x1f8d49=objectValue(_0x483b02);function _0x5002fb(_0x4148b5,_0x12ab7c,_0x1087d6,_0x4e0ccd){return _0x1957f6(_0x4148b5-_0x592872._0x1fe78,_0x12ab7c-0xd4,_0x4148b5,_0x12ab7c- -_0x592872._0x358f85);}function _0x75dee(_0x26b6e8,_0x20ad50,_0x4010dc,_0x453e39){return _0x1957f6(_0x26b6e8-0xe6,_0x20ad50-0x13,_0x453e39,_0x20ad50- -_0x363237._0xff8d88);}if(typeof _0x1f8d49?.['text']==='string')return _0x1f8d49[_0x5002fb(0x2d2,_0x373503._0x37b766,_0x373503._0xb73033,0x33e)];if(typeof _0x1f8d49?.[_0x75dee(0x219,_0x373503._0x523be3,-0x10b,-_0x373503._0x4aef82)]===_0x5002fb(0x24a,_0x373503._0x591887,-0x10,0x59))return Buffer[_0x75dee(0x130,0x1a5,_0x373503._0x2c2268,_0x373503._0x28a346)](_0x1f8d49[_0x75dee(-0x1bb,0x42,_0x373503._0x970960,-_0x373503._0x3ca2cc)],_0x5002fb(-_0x373503._0x1bdecb,_0x373503._0x2bc23d,0x240,_0x373503._0x1ff849))[_0x75dee(_0x373503._0x19c22e,0x245,_0x373503._0x319a5e,0x6a)]('utf8');return void 0x0;}function parseMatchLine(_0x8d64c,_0x240dbf){const _0x4d2333={_0x59848c:0x443,_0x1accf2:0x43a,_0x1b0c54:0x53e,_0x1bee62:0x3f9,_0x28fb10:0x525,_0x4f6431:0x323,_0x11779d:0x4e9,_0x7a3f9b:0x48,_0xc6fd09:0x37,_0x2d99a4:0x109,_0x4396f1:0x4eb,_0x2d7d2d:0x680,_0x5a010e:0x6fd,_0x5d5c5e:0x638,_0x128840:0x737,_0x1c6c2d:0x822,_0x25a3ae:0x83b,_0x57de72:0x39b,_0x4a8644:0x37a,_0x39d9fc:0x189,_0x15b934:0x658,_0x53002d:0x5e9,_0x515371:0x39c,_0x5e3cd9:0x55f,_0x5e4826:0x32c,_0x38a367:0x5dc,_0x453bb2:0x3ff,_0x45e084:0x760,_0x48e764:0x638,_0x57aff4:0x621,_0x3d3aa:0x6a8},_0x489d8a={_0x403635:0x1af},_0x140783={_0x3bfe5e:0x90,_0x3e924f:0x3c6};if(_0x8d64c[_0x1398e8(_0x4d2333._0x59848c,0x71d,_0x4d2333._0x1accf2,_0x4d2333._0x1b0c54)]===0x0)return null;const _0xd25ffd=objectValue(JSON[_0x2c903c(0x4bf,_0x4d2333._0x1bee62,0x5e5,0x57e)](_0x8d64c));function _0x1398e8(_0x137f68,_0x266aa7,_0x393621,_0x3442e6){return _0x39a391(_0x137f68-0x174,_0x266aa7-_0x140783._0x3bfe5e,_0x3442e6- -_0x140783._0x3e924f,_0x393621);}if(_0xd25ffd?.[_0x2c903c(0x5b8,_0x4d2333._0x28fb10,_0x4d2333._0x4f6431,_0x4d2333._0x11779d)]!==_0x1398e8(_0x4d2333._0x7a3f9b,-_0x4d2333._0xc6fd09,0x265,_0x4d2333._0x2d99a4)&&_0xd25ffd?.[_0x2c903c(_0x4d2333._0x4396f1,0x525,0x71c,_0x4d2333._0x2d7d2d)]!==_0x2c903c(_0x4d2333._0x5a010e,_0x4d2333._0x5d5c5e,_0x4d2333._0x128840,0x611))return null;const _0x73c573=objectValue(_0xd25ffd[_0x2c903c(0x745,0x7a8,_0x4d2333._0x1c6c2d,_0x4d2333._0x25a3ae)]),_0x13a439=decodeRipgrepText(_0x73c573?.[_0x2c903c(_0x4d2333._0x57de72,_0x4d2333._0x4a8644,0x444,_0x4d2333._0x39d9fc)]);function _0x2c903c(_0x8d594,_0x437b67,_0x27af81,_0x4cda2e){return _0x39a391(_0x8d594-0x11a,_0x437b67-0x18c,_0x437b67- -_0x489d8a._0x403635,_0x4cda2e);}const _0x39c261=decodeRipgrepText(_0x73c573?.['lines']),_0xe89ac1=_0x73c573?.[_0x2c903c(0x4b2,0x6d2,0x87c,_0x4d2333._0x15b934)];if(_0x13a439===void 0x0||_0x39c261===void 0x0||typeof _0xe89ac1!=='number')throw new Error(_0x1398e8(0x2b6,_0x4d2333._0x53002d,_0x4d2333._0x515371,0x3a7));return{'filePath':_0x1e3049[_0x2c903c(0x529,_0x4d2333._0x5e3cd9,0x717,0x6da)](_0x13a439)?_0x13a439:_0x1e3049[_0x1398e8(0x1e0,0x24f,_0x4d2333._0x5e4826,0x3b5)](_0x240dbf,_0x13a439),'lineNum':_0xe89ac1,'lineText':_0x39c261[_0x2c903c(0x617,_0x4d2333._0x38a367,_0x4d2333._0x453bb2,0x7e2)](/\r?\n$/,''),..._0xd25ffd['type']===_0x2c903c(_0x4d2333._0x45e084,_0x4d2333._0x48e764,_0x4d2333._0x57aff4,_0x4d2333._0x3d3aa)?{'isContext':!![]}:{}};}async function search(_0x1cc25a){const _0x3e4c8a={_0x5735ce:0x424,_0x314aea:0xaf,_0x14c8ce:0x250,_0x442601:0xcc,_0x226faa:0x321,_0x27742c:0x295,_0x1fc73a:0x3e8,_0x1c59da:0x3fd,_0xa607eb:0x37d,_0x43b74c:0x3af,_0xdb740b:0x52,_0x560932:0x25b,_0x2a0e4b:0x4c0,_0x20e2db:0x6e1,_0x566727:0x6dc,_0x18934e:0x523,_0x3a44d8:0x11b,_0x1d4c4f:0x2d7,_0x42a505:0x231,_0x17fffe:0x54a,_0x173687:0x571,_0x3cfb1b:0x30c,_0x12fec0:0x3dd,_0x30f245:0x3a2,_0x327c64:0x250,_0x441056:0x397,_0x53f8bc:0x461,_0x479ce2:0x2c7,_0x4f2679:0x2cc,_0x46c129:0x490,_0x4b51b7:0x686,_0x1860a0:0x608,_0x4720c7:0x519,_0x2275b4:0x321,_0x434832:0x396,_0x5f301e:0x201,_0x39696e:0x230,_0x5a2c83:0x2fd,_0x3e6fbe:0x408,_0x3f0673:0xf4,_0x4e110e:0x238,_0x2da321:0x4ad,_0x15092a:0x6ab,_0x53527f:0x571,_0x4f16e9:0xea,_0x18c183:0x2a6,_0x5b64f7:0x2a7,_0x4ddffe:0x6b3,_0x47e951:0x4ca,_0x48e74f:0x331,_0x43b8d2:0x8c0,_0x2006a5:0x7b2,_0x1b23d1:0x3ad,_0x5344d6:0x38a,_0x16b3f8:0x553,_0xe13711:0x5f3,_0x4a0b1b:0x568,_0x1e7680:0x714,_0x59580c:0x6ed,_0x353bac:0x53a,_0x32a12d:0x5f0,_0xc5dff9:0x30a,_0x2b826b:0x468,_0x28355f:0x505,_0x384b15:0x7c2,_0x377431:0x1fc,_0x5d5593:0x4e4,_0x58d7db:0x374,_0x120cb7:0x402,_0x18db68:0x23c,_0x35898e:0x431,_0x324923:0x423,_0x2a4394:0x359},_0x340a86={_0x15720a:0x22d,_0x37ab14:0x491,_0x281cdb:0x79f,_0x4c2a71:0x5ed,_0x2afedd:0x775,_0x4e7948:0x589,_0x5e2c53:0x218,_0x839403:0x257,_0x14eb35:0x82b,_0xb010cd:0x4cb,_0x251ffc:0x585,_0x1191ed:0x56e,_0x1b48bd:0x67f,_0x108768:0x52f,_0x3e235a:0x41f,_0x55b608:0x621,_0x4d9841:0x5c5,_0x13a35f:0x476},_0x1b2aa0={_0x1d2d4c:0x1d5,_0x1397ec:0x1aa,_0x5cb571:0x24,_0x5b0037:0x22a,_0xc7dc8b:0xcc,_0x225e78:0xb8,_0x2c21b9:0xad,_0x3eda3a:0x529,_0x16d68c:0x4e6,_0x7792c8:0x7c2,_0x259181:0x668,_0x530123:0x591,_0x34294d:0x15a,_0x2890d3:0x53,_0x5a505d:0x78,_0x3785fa:0x6ea,_0x125f1e:0x36,_0xd8be20:0x206,_0x50cbba:0x291,_0xcdde47:0x2bd,_0x79d50d:0x19f},_0x3a0170={_0x512511:0xcc,_0x457d04:0x168},_0x4f80d1={_0x264383:0x66e,_0x1b0391:0x87e},_0x23eeb0={_0x1f1c54:0x1de},_0x2a5a7e={_0x8bffa6:0x15b};if(_0x1cc25a['file']!==void 0x0&&_0x1cc25a[_0x19b6c6(_0x3e4c8a._0x5735ce,0xd0,_0x3e4c8a._0x314aea,_0x3e4c8a._0x14c8ce)]!==void 0x0)throw new Error(_0x630c50(_0x3e4c8a._0x442601,_0x3e4c8a._0x226faa,0x40a,_0x3e4c8a._0x27742c));if(_0x1cc25a[_0x630c50(0x45a,_0x3e4c8a._0x1fc73a,0x707,0x5be)]){const _0x1bc31a=await _0x338db0(_0x1cc25a['file'])[_0x19b6c6(0x45d,_0x3e4c8a._0x1c59da,_0x3e4c8a._0xa607eb,_0x3e4c8a._0x43b74c)](()=>null);if(!_0x1bc31a?.[_0x19b6c6(0x112,0x69,_0x3e4c8a._0xdb740b,_0x3e4c8a._0x560932)]())throw Object[_0x630c50(_0x3e4c8a._0x2a0e4b,_0x3e4c8a._0x20e2db,_0x3e4c8a._0x566727,_0x3e4c8a._0x18934e)](new Error(_0x630c50(_0x3e4c8a._0x3a44d8,0x1b2,_0x3e4c8a._0x1d4c4f,_0x3e4c8a._0x42a505)+_0x1cc25a[_0x630c50(0x7e0,0x50e,0x6c9,0x5be)]+'\x27'),{'code':_0x630c50(0x638,0x3ea,_0x3e4c8a._0x17fffe,_0x3e4c8a._0x173687)});}else{if(_0x1cc25a[_0x630c50(_0x3e4c8a._0x3cfb1b,0x3e6,0x3b1,_0x3e4c8a._0x12fec0)]!==void 0x0)for(const _0x13bfbc of _0x1cc25a[_0x19b6c6(0x12f,_0x3e4c8a._0x30f245,0x42f,_0x3e4c8a._0x327c64)]){if(!_0x1e3049[_0x630c50(_0x3e4c8a._0x441056,0x385,0x448,_0x3e4c8a._0x53f8bc)](_0x13bfbc))throw new Error(_0x630c50(_0x3e4c8a._0x479ce2,0x2aa,0x37c,_0x3e4c8a._0x4f2679)+_0x13bfbc+'\x27');const _0x5db83a=await _0x338db0(_0x13bfbc)['catch'](()=>null);if(!_0x5db83a?.[_0x19b6c6(0x436,_0x3e4c8a._0x46c129,0x177,0x25b)]())throw Object[_0x630c50(_0x3e4c8a._0x4b51b7,_0x3e4c8a._0x1860a0,0x3a4,0x523)](new Error('No\x20such\x20file:\x20\x27'+_0x13bfbc+'\x27'),{'code':'ENOENT'});}else{const _0x5d8e97=await _0x338db0(_0x1cc25a[_0x19b6c6(_0x3e4c8a._0x4720c7,0x2ee,_0x3e4c8a._0x2275b4,0x359)])['catch'](()=>null);if(!_0x5d8e97?.[_0x630c50(_0x3e4c8a._0x434832,_0x3e4c8a._0x5f301e,_0x3e4c8a._0x39696e,_0x3e4c8a._0x5a2c83)]())throw Object['assign'](new Error(_0x19b6c6(_0x3e4c8a._0x3e6fbe,0x44d,_0x3e4c8a._0x3f0673,_0x3e4c8a._0x4e110e)+_0x1cc25a['cwd']+'\x27'),{'code':_0x630c50(_0x3e4c8a._0x2da321,_0x3e4c8a._0x15092a,0x6a3,_0x3e4c8a._0x53527f)});}}if(_0x1cc25a[_0x19b6c6(_0x3e4c8a._0x4f16e9,_0x3e4c8a._0x18c183,_0x3e4c8a._0x5b64f7,_0x3e4c8a._0x14c8ce)]?.[_0x19b6c6(_0x3e4c8a._0x4ddffe,0x71a,0x4e0,_0x3e4c8a._0x47e951)]===0x0)return[];const _0x3e73ca=await filepath(),_0x2afce9=['--json',_0x19b6c6(_0x3e4c8a._0x48e74f,0x5b7,0x30d,0x44c),_0x1cc25a[_0x630c50(_0x3e4c8a._0x43b8d2,_0x3e4c8a._0x2006a5,0x6e6,0x69f)]],_0x56104b=typeof _0x1cc25a[_0x19b6c6(0x188,0x55e,0x300,_0x3e4c8a._0x1b23d1)]===_0x630c50(0x596,0x545,_0x3e4c8a._0x5344d6,_0x3e4c8a._0x16b3f8)&&_0x1cc25a[_0x19b6c6(_0x3e4c8a._0xe13711,0x5c1,_0x3e4c8a._0x4a0b1b,_0x3e4c8a._0x1b23d1)]>0x0;_0x56104b&&_0x2afce9[_0x19b6c6(_0x3e4c8a._0x1e7680,0x44c,0x298,0x4e4)]('-C',String(_0x1cc25a[_0x630c50(_0x3e4c8a._0x59580c,0x6dc,0x346,_0x3e4c8a._0x353bac)]));function _0x19b6c6(_0x1047aa,_0x356bdf,_0x107ddf,_0x2b62d8){return _0x1957f6(_0x1047aa-_0x2a5a7e._0x8bffa6,_0x356bdf-0x79,_0x1047aa,_0x2b62d8-0xcb);}_0x1cc25a[_0x630c50(_0x3e4c8a._0x32a12d,_0x3e4c8a._0xc5dff9,0x3d4,_0x3e4c8a._0x2b826b)]&&!_0x1cc25a[_0x630c50(_0x3e4c8a._0x28355f,0x800,_0x3e4c8a._0x384b15,0x5be)]&&_0x1cc25a[_0x630c50(0x455,_0x3e4c8a._0x377431,0x477,0x3dd)]===void 0x0&&_0x2afce9[_0x19b6c6(0x4f4,0x4b9,0x6ac,_0x3e4c8a._0x5d5593)](_0x630c50(0x385,0x311,_0x3e4c8a._0x58d7db,_0x3e4c8a._0x120cb7),_0x1cc25a['glob']);_0x1cc25a['files']!==void 0x0?_0x2afce9['push'](..._0x1cc25a['files']):_0x2afce9['push'](_0x1cc25a[_0x19b6c6(_0x3e4c8a._0x18db68,0x5ba,0x319,_0x3e4c8a._0x35898e)]??_0x1cc25a[_0x19b6c6(_0x3e4c8a._0x324923,0x39f,0x4a6,_0x3e4c8a._0x2a4394)]);function _0x630c50(_0x1558ee,_0x3060fa,_0x27e21d,_0x5313c0){return _0x39a391(_0x1558ee-0x1aa,_0x3060fa-_0x23eeb0._0x1f1c54,_0x5313c0- -0x2ad,_0x1558ee);}return await new Promise((_0x1d2a52,_0x49dd08)=>{const _0x1c3fb3={_0xb1f42f:0x12a},_0x555f9c={_0x18eae6:0xde},_0x2fbb56={_0x3cceda:0xdd},_0x1aba85=_0x368299(_0x3e73ca,_0x2afce9,{'cwd':_0x1cc25a['cwd'],'stdio':[_0x35f779(_0x340a86._0x15720a,_0x340a86._0x37ab14,0x50e,0x447),'pipe',_0x35f779(_0x340a86._0x281cdb,_0x340a86._0x4c2a71,_0x340a86._0x2afedd,_0x340a86._0x4e7948)]});let _0x1418c3='',_0x1d9c7d='';_0x1aba85[_0x5cc2ad(0x4f,_0x340a86._0x5e2c53,_0x340a86._0x839403,0x38c)]?.['on'](_0x5cc2ad(0x4e4,0x682,_0x340a86._0x14eb35,_0x340a86._0xb010cd),_0x10ddb9=>{const _0x41ddfa={_0x1a550f:0x126};function _0x41967c(_0x20d6a0,_0x1976ca,_0x42c55e,_0x38a2f6){return _0x5cc2ad(_0x20d6a0-_0x41ddfa._0x1a550f,_0x20d6a0-0x1f0,_0x1976ca,_0x38a2f6-0xe4);}_0x1418c3+=_0x10ddb9[_0x41967c(0x782,_0x4f80d1._0x264383,0x84c,_0x4f80d1._0x1b0391)]();});function _0x35f779(_0x19ca42,_0x220e51,_0xa40602,_0x3ee6cb){return _0x19b6c6(_0x220e51,_0x220e51-0x1e,_0xa40602-_0x2fbb56._0x3cceda,_0x3ee6cb-0x135);}_0x1aba85[_0x35f779(0x61a,0x7e3,_0x340a86._0x251ffc,0x5e0)]?.['on'](_0x35f779(_0x340a86._0x1191ed,_0x340a86._0x1b48bd,_0x340a86._0x108768,0x652),_0x5b21e5=>{_0x1d9c7d+=_0x5b21e5['toString']();});function _0x5cc2ad(_0x1320c3,_0x21c446,_0x8b143,_0x227fb1){return _0x630c50(_0x8b143,_0x21c446-_0x3a0170._0x512511,_0x8b143-_0x3a0170._0x457d04,_0x21c446- -0x28);}_0x1aba85['on'](_0x35f779(_0x340a86._0x3e235a,_0x340a86._0x55b608,0x7db,_0x340a86._0x4d9841),_0x441ab5=>{const _0x46c583={_0x22a275:0x9c,_0x63ff18:0x1ca},_0x26a412={_0x5850ef:0xcb,_0x119b08:0x179};if(_0x441ab5===0x1&&_0x1418c3===''){_0x1d2a52([]);return;}if(_0x441ab5!==0x0&&_0x441ab5!==0x1){_0x49dd08(new Error('ripgrep\x20failed:\x20'+_0x1d9c7d));return;}function _0x5415f8(_0x4fa1de,_0x49d0d8,_0x1badde,_0x216a5f){return _0x35f779(_0x4fa1de-0x121,_0x216a5f,_0x1badde-0xc9,_0x1badde- -0x3d6);}const _0x2f3601=[];try{for(const _0x5d34d8 of _0x1418c3[_0x5415f8(_0x1b2aa0._0x1d2d4c,_0x1b2aa0._0x1397ec,_0x1b2aa0._0x5cb571,_0x1b2aa0._0x5b0037)](/\r?\n/)){const _0x247296=parseMatchLine(_0x5d34d8,_0x1cc25a[_0x5415f8(-0x183,_0x1b2aa0._0xc7dc8b,_0x1b2aa0._0x225e78,_0x1b2aa0._0x2c21b9)]);if(_0x247296)_0x2f3601['push'](_0x247296);}}catch(_0x523a6a){_0x49dd08(_0x523a6a);return;}const _0x2bb447=_0x1cc25a[_0x5e4d1b(0x76c,0x55a,_0x1b2aa0._0x3eda3a,_0x1b2aa0._0x16d68c)]??0x64,_0x1fd5ae=Number[_0x5e4d1b(_0x1b2aa0._0x7792c8,_0x1b2aa0._0x259181,0x7b5,_0x1b2aa0._0x530123)](_0x2bb447)?Math[_0x5415f8(_0x1b2aa0._0x34294d,_0x1b2aa0._0x2890d3,_0x1b2aa0._0x5a505d,0x2ca)](0x0,Math[_0x5415f8(0x356,0x1,0x206,0xd7)](_0x2bb447)):0x64,_0x20d4d9=_0x2f3601['filter'](_0x385d6a=>!_0x385d6a[_0x5e4d1b(0x7ea,0x515,0x684,0x68e)]);if(_0x20d4d9['length']<=_0x1fd5ae){_0x1d2a52(_0x2f3601);return;}const _0x1acd1c=_0x20d4d9[_0x5e4d1b(_0x1b2aa0._0x3785fa,0x683,0x7d4,0x97e)](0x0,_0x1fd5ae),_0x1162e1=new Set(_0x1acd1c);function _0x5e4d1b(_0x1e57ee,_0x520974,_0x416d26,_0x5b10b1){return _0x5cc2ad(_0x1e57ee-_0x555f9c._0x18eae6,_0x416d26-0x1e8,_0x520974,_0x5b10b1-0x56);}const _0x1b3d49=_0x56104b?Math[_0x5415f8(-_0x1b2aa0._0x125f1e,0x115,_0x1b2aa0._0x5a505d,0x215)](0x0,Math[_0x5415f8(0x214,0x1ff,_0x1b2aa0._0xd8be20,0x33d)](_0x1cc25a['context']??0x0)):0x0;_0x1d2a52(_0x2f3601[_0x5415f8(_0x1b2aa0._0x50cbba,_0x1b2aa0._0xcdde47,0x10d,_0x1b2aa0._0x79d50d)](_0x3169b6=>{function _0xd0b807(_0x2151a7,_0x306289,_0x3db420,_0x5217eb){return _0x5e4d1b(_0x2151a7-_0x26a412._0x5850ef,_0x306289,_0x5217eb- -0x51d,_0x5217eb-_0x26a412._0x119b08);}if(!_0x3169b6[_0x3c555d(0x260,0x34a,0x401,0x161)])return _0x1162e1[_0x3c555d(-0x54,0x25,-_0x1c3fb3._0xb1f42f,0x173)](_0x3169b6);function _0x3c555d(_0x4d43cc,_0x1a49ce,_0x4961e2,_0x157132){return _0x5415f8(_0x4d43cc-_0x46c583._0x22a275,_0x1a49ce-0xbb,_0x4d43cc-_0x46c583._0x63ff18,_0x157132);}return _0x1acd1c['some'](_0x2f6095=>_0x2f6095[_0x3c555d(0x398,0x5a8,0x4b2,0x2e7)]===_0x3169b6[_0x3c555d(0x398,0x15c,0x180,0x49c)]&&Math[_0x3c555d(-0x55,-0xff,0xce,0x1b)](_0x2f6095[_0x3c555d(0x323,0x403,0x487,0x27a)]-_0x3169b6[_0xd0b807(0x59,0x11e,0x443,0x22a)])<=_0x1b3d49);}));}),_0x1aba85['on'](_0x35f779(_0x340a86._0x13a35f,0x5a6,0x501,0x46e),_0x49dd08);});}function createGlobTool(_0xa27bea={}){const _0x5b3c72={_0x462516:0x18d,_0x10a88e:0x262,_0x2a35c7:0x134,_0x215110:0x2e0,_0x50e139:0x411,_0x317bf0:0x512,_0x5286b4:0x1a5,_0x2954b0:0x294,_0x1e0e41:0x332,_0x5d3bc8:0x1e8,_0x476439:0x8,_0x3a57b3:0x189,_0x1bb4a4:0x21f,_0x114a35:0x6b,_0x55b238:0x47,_0x19c948:0x2fd,_0x3c3891:0x47e,_0x189187:0x4e1},_0x46ad03={_0x575bac:0x30a,_0x13ef08:0x1,_0x352fef:0x5c,_0x19870b:0x475,_0x5a94c0:0x58c,_0x1c32d5:0x66f,_0x48f9a8:0x876,_0xe1912c:0x84c,_0x4a7c79:0x75b,_0x5ec007:0x46f,_0x4903a1:0x60d,_0x2e5497:0x505,_0x2b7523:0x541,_0x2c5897:0x537,_0x43315a:0x1be,_0x4dbaf0:0x261,_0x1e2cfa:0x3a,_0x5079dd:0xcd,_0x3be3d5:0x78,_0x40eaef:0xb81,_0x4844e8:0x8f4,_0x1c43b0:0xbb,_0x1d987f:0x1b4,_0x9b513c:0xbd,_0x249d5c:0x696,_0x49f88d:0x826,_0x55e91c:0x310,_0x406a53:0x120,_0x419575:0x7ce,_0x163e49:0x67e,_0x5588ae:0x8d0,_0x23a280:0x692,_0x14933c:0x84a,_0x400d2d:0x683,_0x12b847:0xc2,_0x5bbe7b:0x229,_0x4fc69c:0x50c,_0x1ac359:0xac8,_0x589b71:0x95d,_0xeb07f6:0x66b,_0x3713dd:0x5a7,_0x1cddbb:0x7a4,_0x446339:0x1a9,_0x534440:0x9e,_0x5e213d:0x271},_0x2bb232={_0x3c3faf:0x140};function _0x57940f(_0x1d6d19,_0x302f2b,_0xc57b8a,_0x5397f4){return _0x39a391(_0x1d6d19-0x171,_0x302f2b-_0x2bb232._0x3c3faf,_0xc57b8a- -0x382,_0x302f2b);}const _0x4b7665=_0x26fdc3[_0x5b88d9(0x316,_0x5b3c72._0x462516,_0x5b3c72._0x10a88e,_0x5b3c72._0x2a35c7)](_0xa27bea['defaultCwd']??process[_0x57940f(_0x5b3c72._0x215110,0x47b,_0x5b3c72._0x50e139,0x5bb)]()),_0x1585c2=_0xa27bea[_0x57940f(_0x5b3c72._0x317bf0,0x56b,0x42f,0x650)]??[],_0x4c018d=_0xa27bea[_0x57940f(0x36e,_0x5b3c72._0x5286b4,_0x5b3c72._0x2954b0,_0x5b3c72._0x1e0e41)]??0x64,_0x9d7f06=_0xa27bea[_0x5b88d9(_0x5b3c72._0x5d3bc8,0x33e,_0x5b3c72._0x476439,0x243)]??_0x5b88d9(0x341,0x26f,_0x5b3c72._0x3a57b3,_0x5b3c72._0x1bb4a4);function _0x5b88d9(_0x1bdd04,_0x850111,_0x197769,_0x172561){return _0x1957f6(_0x1bdd04-0x119,_0x850111-0x125,_0x197769,_0x1bdd04-0xa0);}return defineTool({'name':_0x9d7f06,'permissionClass':_0x57940f(0x305,_0x5b3c72._0x114a35,0x201,-_0x5b3c72._0x55b238),'description':_0x57940f(0x431,0x122,0x27b,0x44),'inputSchema':{'type':'object','properties':{'pattern':{'type':'string'},'path':{'type':_0x5b88d9(0x2a0,0x380,0x1fa,_0x5b3c72._0x19c948)},'limit':{'type':_0x57940f(0x4c0,0x2f8,_0x5b3c72._0x3c3891,_0x5b3c72._0x189187)}},'required':['pattern']},async *'execute'(_0x6cfe48){const _0x3687c8={_0x274578:0x65};if(_0x6cfe48[_0x2178f0(_0x46ad03._0x575bac,0x1f5,0x255,0x271)]['trim']()[_0x2178f0(0x8f,-_0x46ad03._0x13ef08,_0x46ad03._0x352fef,0x229)]===0x0)throw new ToolExecutionError(_0x2ce13f(0xa70,0x8d7,0x997,0xbd2),{});const _0x5bb4c0=resolveAllowedPath(_0x4b7665,_0x1585c2,_0x6cfe48[_0x2ce13f(_0x46ad03._0x19870b,0x36e,_0x46ad03._0x5a94c0,_0x46ad03._0x1c32d5)]??'.'),_0x1bb0fa=await _0x54f953(_0x5bb4c0)[_0x2ce13f(_0x46ad03._0x48f9a8,0x6ae,_0x46ad03._0xe1912c,_0x46ad03._0x4a7c79)](()=>null);if(!_0x1bb0fa?.[_0x2ce13f(_0x46ad03._0x5ec007,0x4cf,_0x46ad03._0x4903a1,0x70d)]())throw new ToolExecutionError(_0x2ce13f(_0x46ad03._0x2e5497,_0x46ad03._0x2b7523,_0x46ad03._0x2c5897,_0x46ad03._0x2c5897)+(_0x6cfe48[_0x2178f0(-_0x46ad03._0x43315a,0x11,-0x205,-0x1b2)]??'.'),{'path':_0x6cfe48['path']??'.'});const _0x467822=_0x6cfe48[_0x2178f0(-_0x46ad03._0x4dbaf0,0x144,-0x217,-0xc5)]??_0x4c018d,_0x1feddf=Math[_0x2178f0(_0x46ad03._0x1e2cfa,_0x46ad03._0x5079dd,0x1bd,_0x46ad03._0x3be3d5)](0x1,Math[_0x2ce13f(_0x46ad03._0x40eaef,0xa5e,0x944,0x785)](_0x467822)),_0x2316ad=[];function _0x2ce13f(_0x2876b2,_0x236fd2,_0x5e61d3,_0x1f8573){return _0x57940f(_0x2876b2-0x59,_0x1f8573,_0x5e61d3-0x3e5,_0x1f8573-0x11b);}function _0x2178f0(_0x49e561,_0x5b8792,_0x261af7,_0x47fb6a){return _0x5b88d9(_0x47fb6a- -0x276,_0x5b8792-0x1e6,_0x49e561,_0x47fb6a-_0x3687c8._0x274578);}let _0x313bb1=![];for await(const _0x2d3577 of files({'cwd':_0x5bb4c0,'glob':[_0x6cfe48['pattern']]})){if(_0x2316ad[_0x2ce13f(_0x46ad03._0x4844e8,0x93c,0x967,0x84a)]>=_0x1feddf){_0x313bb1=!![];break;}const _0x135cad=await _0x54f953(_0x26fdc3[_0x2178f0(_0x46ad03._0x1c43b0,-_0x46ad03._0x1d987f,-_0x46ad03._0x9b513c,-0xca)](_0x5bb4c0,_0x2d3577))[_0x2ce13f(0x820,_0x46ad03._0x249d5c,0x84c,_0x46ad03._0x49f88d)](()=>null);_0x2316ad['push']({'path':_0x2d3577,'mtime':_0x135cad?.[_0x2178f0(0x62,-0x45,_0x46ad03._0x55e91c,_0x46ad03._0x406a53)]??0x0});}_0x2316ad[_0x2ce13f(0x57d,_0x46ad03._0x419575,_0x46ad03._0x163e49,_0x46ad03._0x5588ae)]((_0x25e0ac,_0x10ca53)=>_0x10ca53[_0x2ce13f(0x655,0x8ff,0x6cd,0x4ea)]-_0x25e0ac[_0x2ce13f(0x589,0x743,0x6cd,0x71d)]);const _0x135f6d=_0x2316ad[_0x2ce13f(_0x46ad03._0x23a280,_0x46ad03._0x14933c,_0x46ad03._0x400d2d,0x87b)](_0x1c5fd3=>_0x1c5fd3[_0x2178f0(-0x2ce,-0x29b,-0xe1,-0x1b2)]),_0x3b14ed=_0x135f6d[_0x2178f0(0x1ee,_0x46ad03._0x12b847,0xed,_0x46ad03._0x5bbe7b)]===0x0?_0x2ce13f(0x6a2,0x6c9,0x74e,_0x46ad03._0x4fc69c)+_0x6cfe48[_0x2ce13f(_0x46ad03._0x1ac359,0xa3e,0x9af,_0x46ad03._0x589b71)]:''+_0x135f6d[_0x2ce13f(_0x46ad03._0xeb07f6,_0x46ad03._0x3713dd,0x674,_0x46ad03._0x1cddbb)]('\x0a')+(_0x313bb1?_0x2178f0(-0x167,-0x2cc,-0x2d1,-_0x46ad03._0x446339):'');return yield createToolOutput(_0x3b14ed,{'pattern':_0x6cfe48[_0x2178f0(_0x46ad03._0x534440,0x357,0x1e8,_0x46ad03._0x5e213d)],'searchPath':_0x26fdc3[_0x2ce13f(0x569,0x6a5,0x549,0x773)](_0x4b7665,_0x5bb4c0)||'.','matches':_0x135f6d,'count':_0x135f6d['length'],'truncated':_0x313bb1}),void 0x0;}});}var GREP_DEFAULT_LIMIT=0x64,GREP_MAX_PATTERN_LENGTH=0x400,GREP_MAX_SNIPPET_LENGTH=0x7d0;function validateGrepPattern(_0x47fb4f){const _0x16889c={_0x25368b:0x69,_0x49fb19:0x284,_0x36bbf7:0x154,_0x5bc6e7:0x339,_0x53b567:0x481,_0x3c012a:0x2d4,_0x5a315f:0x4d7,_0x3a81f7:0x29f,_0x20ff99:0x440,_0x1924c0:0x680,_0x127f38:0x547},_0x7c440f={_0x1d8d15:0x45d},_0x1c29e0={_0x5306c9:0x10f};function _0x3db16b(_0x2392ec,_0x2742a5,_0x301eb1,_0x2e7774){return _0x1957f6(_0x2392ec-0x5b,_0x2742a5-_0x1c29e0._0x5306c9,_0x301eb1,_0x2392ec-0x109);}if(_0x47fb4f[_0x3f7e2e(_0x16889c._0x25368b,_0x16889c._0x49fb19,0xc8,_0x16889c._0x36bbf7)]()[_0x3db16b(0x508,_0x16889c._0x5bc6e7,0x66c,0x4e6)]===0x0)throw new Error(_0x3f7e2e(_0x16889c._0x53b567,_0x16889c._0x3c012a,0x35e,_0x16889c._0x5a315f));function _0x3f7e2e(_0x356595,_0x4b3f13,_0x3ed12,_0x3efec7){return _0x39a391(_0x356595-0x19f,_0x4b3f13-0x9a,_0x3efec7- -_0x7c440f._0x1d8d15,_0x4b3f13);}if(_0x47fb4f[_0x3f7e2e(0x46e,0x6a1,_0x16889c._0x3a81f7,0x4a7)]>GREP_MAX_PATTERN_LENGTH)throw new Error(_0x3f7e2e(_0x16889c._0x20ff99,_0x16889c._0x1924c0,_0x16889c._0x127f38,0x466)+GREP_MAX_PATTERN_LENGTH+'\x20characters');}function boundedGrepSnippet(_0x459fa6){const _0x1c4cd9={_0x235911:0x463,_0x4c43f4:0x209,_0x13442a:0x2a4,_0x5c6211:0x32f,_0x5c06a0:0xb3},_0x4c2c61={_0x57b1b9:0x4a1},_0x78acc5={_0x2741e9:0xa4,_0x48a5a6:0xf4,_0x311993:0x118};function _0x31e166(_0x24ce84,_0x29d059,_0x3fc6ee,_0x12ab46){return _0x1957f6(_0x24ce84-_0x78acc5._0x2741e9,_0x29d059-_0x78acc5._0x48a5a6,_0x29d059,_0x3fc6ee- -_0x78acc5._0x311993);}function _0x1e4364(_0x2e0f13,_0x38afea,_0x3bebfa,_0x1a5a28){return _0x39a391(_0x2e0f13-0x123,_0x38afea-0x5,_0x2e0f13- -_0x4c2c61._0x57b1b9,_0x1a5a28);}return _0x459fa6[_0x1e4364(_0x1c4cd9._0x235911,0x49c,0x6a6,0x692)]>GREP_MAX_SNIPPET_LENGTH?_0x459fa6[_0x31e166(_0x1c4cd9._0x4c43f4,0x20a,_0x1c4cd9._0x13442a,_0x1c4cd9._0x5c6211)](0x0,GREP_MAX_SNIPPET_LENGTH)+_0x31e166(-0x12a,-0x8c,-_0x1c4cd9._0x5c06a0,0x63):_0x459fa6;}async function searchRegex(_0x57986e){const _0x562cf1={_0x2a2888:0x6f1,_0x13b90f:0x9ff,_0x32caf1:0x7a8,_0x4fab05:0x53a,_0x22e9cb:0x460,_0x13298a:0x600,_0x146d22:0x3f9,_0x19afd6:0x5af,_0x1dc61c:0x95c,_0x57f56a:0x7bd,_0xb8f916:0x7f5,_0x3a7fe1:0x642,_0x6b8834:0x917,_0x5478e6:0x72e,_0x4fe067:0x67c,_0x2c1240:0x4e8,_0x50ebba:0x4e2,_0x402eec:0x796,_0x21cdf6:0x764,_0x557eef:0x571,_0x329e02:0x4dd,_0x554582:0x612,_0x52798d:0x56d,_0x2d5629:0x896,_0x1eb004:0x4ee,_0x3a9741:0x7bf,_0x2bf662:0x80f,_0x425ed0:0x448,_0x4c481f:0x640,_0x118300:0x896,_0x999e46:0x75c,_0x58cb06:0x670,_0x23189b:0x5af,_0x559c20:0x62d,_0x149173:0x707,_0x404d90:0x64a,_0x5e4a64:0x487,_0x3f63c0:0x7a8,_0x4df3ca:0x5a6,_0x503e0d:0x478},_0x22de96={_0x462fd6:0x406,_0x3770ab:0x4d2,_0x411b52:0x1a8,_0x2ae77b:0x3ba,_0x4b98fb:0x1ac,_0x38ed73:0x2ad,_0xfde968:0x361,_0x453b72:0x3b4},_0x2e1e28={_0x48dc45:0x13,_0xfa7adc:0x16d},_0x3bf8cc={_0x2a8c6f:0x1e5,_0x4434c6:0x35d},_0xa89dd7={_0x4ba235:0xcc};validateGrepPattern(_0x57986e[_0x3d6476(0x5d2,_0x562cf1._0x2a2888,_0x562cf1._0x13b90f,_0x562cf1._0x32caf1)]);const _0x24bea2=_0x57986e[_0x16734a(_0x562cf1._0x4fab05,_0x562cf1._0x22e9cb,0x48e,0x46e)]??GREP_DEFAULT_LIMIT,_0x345ee3=Number['isFinite'](_0x24bea2)?Math[_0x3d6476(_0x562cf1._0x13298a,_0x562cf1._0x146d22,0x515,_0x562cf1._0x19afd6)](0x1,Math[_0x3d6476(_0x562cf1._0x1dc61c,_0x562cf1._0x57f56a,_0x562cf1._0xb8f916,0x73d)](_0x24bea2)):GREP_DEFAULT_LIMIT;function _0x3d6476(_0x130d2d,_0x402fad,_0x21b7ed,_0x580f69){return _0x39a391(_0x130d2d-_0xa89dd7._0x4ba235,_0x402fad-0x13b,_0x580f69- -0x1a4,_0x130d2d);}if(_0x57986e[_0x16734a(0x2c1,0x5ef,_0x562cf1._0x3a7fe1,0x4e2)]?.[_0x16734a(0x637,_0x562cf1._0x6b8834,0x907,0x75c)]===0x0)return{'matches':[],'matchCount':0x0,'fileCount':0x0,'truncated':![]};const _0xe4c601=await search({'cwd':_0x57986e[_0x3d6476(0x3ab,_0x562cf1._0x5478e6,0x71f,0x5ef)],'pattern':_0x57986e[_0x16734a(_0x562cf1._0x4fe067,0x5a7,0x618,0x7a4)],..._0x57986e['files']===void 0x0?{}:{'files':_0x57986e[_0x16734a(0x4bb,0x5dc,_0x562cf1._0x2c1240,_0x562cf1._0x50ebba)]},..._0x57986e[_0x3d6476(_0x562cf1._0x402eec,_0x562cf1._0x21cdf6,0x333,_0x562cf1._0x557eef)]===void 0x0?{}:{'glob':_0x57986e[_0x16734a(0x7a9,_0x562cf1._0x329e02,_0x562cf1._0x554582,_0x562cf1._0x52798d)]},..._0x57986e['context']===void 0x0?{}:{'context':_0x57986e[_0x16734a(_0x562cf1._0x2d5629,_0x562cf1._0x1eb004,_0x562cf1._0x3a9741,0x63f)]},'limit':_0x345ee3+0x1});function _0x16734a(_0x15d309,_0x598ca8,_0x5d212f,_0x2df6cf){return _0x1957f6(_0x15d309-_0x3bf8cc._0x2a8c6f,_0x598ca8-0x116,_0x598ca8,_0x2df6cf-_0x3bf8cc._0x4434c6);}const _0x4e0dc5=_0xe4c601[_0x16734a(_0x562cf1._0x2bf662,0x4ba,_0x562cf1._0x425ed0,_0x562cf1._0x4c481f)](_0x472fc7=>!_0x472fc7[_0x16734a(0x821,0x5f8,0x680,0x5c9)]),_0x30bcb1=_0x4e0dc5[_0x16734a(_0x562cf1._0x118300,0x6da,0x808,_0x562cf1._0x999e46)]>_0x345ee3,_0x11ffde=_0x4e0dc5['slice'](0x0,_0x345ee3),_0x14fb42=new Set(_0x11ffde),_0x96d16a=Math[_0x3d6476(0x359,0x520,_0x562cf1._0x58cb06,_0x562cf1._0x23189b)](0x0,Math[_0x3d6476(_0x562cf1._0x559c20,0x5b1,_0x562cf1._0x149173,0x73d)](_0x57986e['context']??0x0)),_0x31b068=_0x30bcb1?_0xe4c601[_0x16734a(_0x562cf1._0x404d90,0x499,_0x562cf1._0x5e4a64,_0x562cf1._0x4c481f)](_0x272381=>{const _0x4e5493={_0x4b585c:0x10c,_0x47ba11:0xfb};function _0x23f3f1(_0x41d2e2,_0x30bc06,_0x19791c,_0x4e7314){return _0x3d6476(_0x41d2e2,_0x30bc06-0x161,_0x19791c-_0x2e1e28._0x48dc45,_0x4e7314- -_0x2e1e28._0xfa7adc);}if(!_0x272381[_0x1a236e(_0x22de96._0x462fd6,_0x22de96._0x3770ab,0x4c2,0x4a5)])return _0x14fb42[_0x23f3f1(_0x22de96._0x411b52,-0x59,_0x22de96._0x2ae77b,_0x22de96._0x4b98fb)](_0x272381);function _0x1a236e(_0xb9ab4,_0x127ffc,_0x17c46c,_0x18a885){return _0x3d6476(_0xb9ab4,_0x127ffc-_0x4e5493._0x4b585c,_0x17c46c-0x1f1,_0x127ffc- -_0x4e5493._0x47ba11);}return _0x11ffde[_0x1a236e(_0x22de96._0x38ed73,_0x22de96._0xfde968,0x558,_0x22de96._0x453b72)](_0x515ef5=>_0x515ef5['filePath']===_0x272381[_0x23f3f1(0x5c7,0x4d1,0x65f,0x598)]&&Math['abs'](_0x515ef5['lineNum']-_0x272381[_0x23f3f1(0x67b,0x62b,0x581,0x523)])<=_0x96d16a);}):_0xe4c601;return{'matches':_0x31b068,'matchCount':_0x11ffde[_0x3d6476(0x861,_0x562cf1._0x3f63c0,0x65d,0x760)],'fileCount':new Set(_0x31b068[_0x16734a(0x530,_0x562cf1._0x4df3ca,0x69e,_0x562cf1._0x503e0d)](_0x592665=>_0x592665['filePath']))['size'],'truncated':_0x30bcb1};}import{stat as _0x4cfde3}from'fs/promises';import*as _0x1cfeb5 from'path';function createGrepTool(_0x34ae89={}){const _0x5660a2={_0x56b518:0x55c,_0x1d6ce8:0x33b,_0x49e2fd:0x438,_0x2e32e3:0x6a9,_0x1544f4:0x288,_0x27c6b1:0x524,_0x1648a2:0x469,_0x16e1f2:0x471,_0x4e8836:0x54,_0xe22b1c:0x3be,_0x42f654:0x11e,_0x51f720:0x3f,_0x439996:0x590,_0x551c11:0x4f4,_0x41b208:0x398,_0x26499b:0x317,_0x2ec000:0xf3},_0x2e4392={_0x25866a:0xa41,_0x10483d:0x935,_0x8c049:0x950,_0x2ad47d:0x134,_0x192a72:0x124,_0x25799a:0x161,_0x749be0:0x6e,_0x57b6d8:0x6ab,_0x555eb2:0x45,_0x28d7c9:0x3bf,_0x1b2851:0x39d,_0x25155c:0x37f,_0x126858:0x3c9,_0x1f6b75:0x358,_0x1f6251:0x762,_0x13184b:0x29d,_0x5d82ca:0x4c6,_0x150127:0xf9,_0x172acd:0x20f,_0x32f12d:0xfc,_0x2d4079:0x7fd,_0x4a5cdc:0x94d,_0xcec5f:0x2a5,_0x1eb1ad:0x4a6,_0x39bbe3:0x814,_0x3e8827:0x867,_0x428b3e:0x892,_0x22464f:0x1b4,_0x4b9bc1:0xdf,_0x11154a:0x1a8,_0x46eca2:0xb3,_0x9577bc:0x2d0,_0x346b83:0xe4,_0x228172:0x636,_0x4b8477:0x817,_0x124704:0x97a,_0x4c8bb6:0x15b,_0xa4552b:0x317,_0xa69d0a:0x24c,_0x4d515d:0x14e,_0x1603d3:0x2d6,_0x64c290:0x9ba,_0x4e0cb5:0x946,_0x58bb06:0x4cb,_0x54dcae:0x2cf,_0x51a3b0:0x2e7,_0x1ecfdf:0x31,_0x30f272:0x19b,_0x5eee9c:0xf8,_0x1fafd5:0x19f,_0x23afb7:0xc3,_0x252f10:0xb9,_0x57ce2b:0x943,_0x52fce6:0x935,_0x1957ab:0x14b,_0x3c0e05:0x596,_0xf2d198:0x12f,_0x3b8568:0x5fe,_0x81e58a:0x79a,_0x2238a2:0x3a3,_0x43d109:0x177,_0x51d341:0xf7,_0x493047:0x2d,_0x5a5948:0xb2,_0x480d26:0x307,_0x4fcd9f:0xa6a,_0x386f78:0x959,_0x108a6e:0x75a,_0x8409a6:0x655,_0x49f5b4:0x338,_0x538b65:0x13b,_0x30156b:0x212,_0x5ed024:0x57f,_0x2ee292:0x489,_0x235605:0x812,_0x330407:0x692,_0x43cca1:0x4a1,_0x284bd7:0x5b9,_0x396f29:0x69b,_0x34fa84:0x359,_0x19fcfc:0x339,_0x5839ff:0x17b,_0x1f6fad:0x3f,_0xed2094:0x59e,_0x2d6a8b:0x23,_0xa06529:0x7a},_0x509a6a={_0x4e1137:0x68a,_0x1eae45:0x14d},_0x23c24f={_0x499507:0x18f},_0x4b8dce={_0x1154e4:0x6a1},_0x5c269d={_0x4f01e8:0xee,_0x508d11:0x1e8,_0x568a10:0x340},_0x5533dc=_0x1cfeb5['resolve'](_0x34ae89[_0x67cb4e(_0x5660a2._0x56b518,0x589,_0x5660a2._0x1d6ce8,_0x5660a2._0x49e2fd)]??process[_0x67cb4e(_0x5660a2._0x2e32e3,0x453,_0x5660a2._0x1544f4,_0x5660a2._0x27c6b1)]());function _0x67cb4e(_0x2be6e7,_0x4c37f8,_0x54fc5d,_0x5d1aa6){return _0x39a391(_0x2be6e7-_0x5c269d._0x4f01e8,_0x4c37f8-_0x5c269d._0x508d11,_0x4c37f8- -_0x5c269d._0x568a10,_0x54fc5d);}const _0x3c9955=_0x34ae89[_0x67cb4e(_0x5660a2._0x1648a2,_0x5660a2._0x16e1f2,0x6c2,0x2bc)]??[],_0x488aae=_0x34ae89['limit']??GREP_DEFAULT_LIMIT;function _0x590cf0(_0x3cfb10,_0x3376c8,_0xf6793c,_0x5d199c){return _0x39a391(_0x3cfb10-0x11,_0x3376c8-0x123,_0x3376c8- -_0x4b8dce._0x1154e4,_0x3cfb10);}const _0x1792b1=_0x34ae89[_0x590cf0(-0xe8,-_0x5660a2._0x4e8836,0x45,-0x1e7)]??_0x590cf0(0xee,0x1ec,_0x5660a2._0xe22b1c,-0x8);return defineTool({'name':_0x1792b1,'permissionClass':_0x590cf0(-0x278,-_0x5660a2._0x42f654,-0x41,-_0x5660a2._0x51f720),'description':'Search\x20for\x20a\x20regex\x20pattern\x20in\x20workspace\x20or\x20allowed\x20directory\x20file\x20contents.','inputSchema':{'type':_0x67cb4e(_0x5660a2._0x439996,0x3f7,_0x5660a2._0x551c11,0x517),'properties':{'pattern':{'type':_0x67cb4e(_0x5660a2._0x41b208,0x3c5,0x5d9,0x3ab)},'path':{'type':_0x67cb4e(0x1a1,0x3c5,0x35b,_0x5660a2._0x26499b)},'include':{'type':'string'},'limit':{'type':'number'},'context':{'type':'number'}},'required':[_0x590cf0(0x4d1,0x2ab,0x26a,_0x5660a2._0x2ec000)]},async *'execute'(_0x3e5a4c){try{validateGrepPattern(_0x3e5a4c[_0x29ba00(0xb6d,0x7fd,_0x2e4392._0x25866a,_0x2e4392._0x10483d)]);}catch(_0x1ab348){throw new ToolExecutionError(_0x1ab348[_0x29ba00(0x87a,0x734,0x71a,_0x2e4392._0x8c049)],{});}const _0x1b2c5e=resolveAllowedPath(_0x5533dc,_0x3c9955,_0x3e5a4c[_0x58459d(0x28,0xf4,-_0x2e4392._0x2ad47d,-0x248)]??'.'),_0x49b59a=await _0x4cfde3(_0x1b2c5e)['catch'](()=>null),_0x29890e=_0x49b59a?.[_0x58459d(_0x2e4392._0x192a72,-_0x2e4392._0x25799a,0x38,0x1a2)]()??![],_0x4cfd42=_0x49b59a?.[_0x58459d(0x158,_0x2e4392._0x749be0,-0xb3,-0x2b2)]()??![];if(!_0x29890e&&!_0x4cfd42)throw new ToolExecutionError(_0x29ba00(0x4c5,_0x2e4392._0x57b6d8,0x410,0x4b3)+(_0x3e5a4c[_0x58459d(-_0x2e4392._0x555eb2,-0x27a,-0x134,-0x1a0)]??'.'),{'path':_0x3e5a4c[_0x29ba00(_0x2e4392._0x28d7c9,_0x2e4392._0x1b2851,0x603,0x512)]??'.'});const _0xc2fc6=await searchRegex({'cwd':_0x4cfd42?_0x1b2c5e:_0x1cfeb5[_0x58459d(-_0x2e4392._0x25155c,-_0x2e4392._0x126858,-0x19f,-_0x2e4392._0x1f6b75)](_0x1b2c5e),'pattern':_0x3e5a4c[_0x29ba00(_0x2e4392._0x1f6251,0xb84,0xb8d,_0x2e4392._0x10483d)],'glob':_0x4cfd42?_0x3e5a4c[_0x29ba00(0x30a,_0x2e4392._0x13184b,_0x2e4392._0x5d82ca,0x4cb)]:void 0x0,'limit':_0x3e5a4c[_0x58459d(_0x2e4392._0x150127,_0x2e4392._0x172acd,-0x47,-_0x2e4392._0x32f12d)]??_0x488aae,'files':_0x29890e?[_0x1b2c5e]:void 0x0,'context':_0x3e5a4c[_0x29ba00(0x734,_0x2e4392._0x2d4079,_0x2e4392._0x4a5cdc,0x7d0)]}),{matches:_0x5c5ce3}=_0xc2fc6,_0x36000d=new Map();for(const _0x3387b4 of _0x5c5ce3){if(!_0x36000d[_0x29ba00(0x443,_0x2e4392._0xcec5f,0x568,_0x2e4392._0x1eb1ad)](_0x3387b4[_0x29ba00(_0x2e4392._0x39bbe3,0x7ba,_0x2e4392._0x3e8827,_0x2e4392._0x428b3e)])){const _0x2b9e94=await _0x4cfde3(_0x3387b4[_0x58459d(_0x2e4392._0x22464f,_0x2e4392._0x4b9bc1,0x24c,0x462)])['catch'](()=>null);_0x36000d[_0x58459d(_0x2e4392._0x11154a,_0x2e4392._0x46eca2,_0x2e4392._0x9577bc,_0x2e4392._0x346b83)](_0x3387b4['filePath'],{'matches':[],'mtime':_0x2b9e94?.[_0x29ba00(_0x2e4392._0x228172,_0x2e4392._0x4b8477,_0x2e4392._0x124704,0x7e4)]??0x0});}_0x36000d['get'](_0x3387b4[_0x58459d(_0x2e4392._0x4c8bb6,_0x2e4392._0xa4552b,_0x2e4392._0xa69d0a,_0x2e4392._0x4d515d)])?.[_0x58459d(0x189,_0x2e4392._0x1603d3,0xb2,0x1b1)][_0x29ba00(_0x2e4392._0x64c290,0x811,_0x2e4392._0x4e0cb5,0x907)](_0x3387b4);}const _0x2c18f0=[..._0x36000d[_0x58459d(_0x2e4392._0x58bb06,_0x2e4392._0x54dcae,0x2af,_0x2e4392._0x51a3b0)]()][_0x58459d(_0x2e4392._0x1ecfdf,-_0x2e4392._0x30f272,-0x42,-_0x2e4392._0x5eee9c)]((_0x4ec87f,_0xf8d197)=>_0xf8d197[0x1][_0x29ba00(0x6c8,0x663,0x4b0,0x653)]-_0x4ec87f[0x1][_0x29ba00(0x562,0x7ae,0x621,0x653)]),_0x159540=_0x29890e?_0x1cfeb5[_0x58459d(-0x142,-0x3d4,-_0x2e4392._0x1fafd5,-_0x2e4392._0x23afb7)](_0x1b2c5e):_0x1b2c5e;let _0x52ed8a='';if(_0x5c5ce3['length']===0x0)_0x52ed8a=_0x58459d(-0x21f,-0x6e,0xf,_0x2e4392._0x252f10)+_0x3e5a4c[_0x29ba00(0x9b6,_0x2e4392._0x57ce2b,0x7aa,_0x2e4392._0x52fce6)];else{_0x52ed8a=_0x58459d(0xa4,-0x1df,-_0x2e4392._0x1957ab,0x10f)+_0xc2fc6[_0x29ba00(_0x2e4392._0x3c0e05,0x6cd,0x5b0,0x692)]+_0x58459d(-0xb0,0x2b1,0xd0,_0x2e4392._0xf2d198)+(_0xc2fc6['matchCount']===0x1?'':'es')+'\x0a';for(const [_0x24792f,_0x3d0d28]of _0x2c18f0){const _0x56b4e7=_0x29890e?_0x1cfeb5[_0x29ba00(_0x2e4392._0x3b8568,0x994,_0x2e4392._0x81e58a,0x7f2)](_0x24792f):_0x1cfeb5[_0x58459d(-0x398,-_0x2e4392._0x2238a2,-_0x2e4392._0x43d109,-_0x2e4392._0x51d341)](_0x159540,_0x24792f);_0x52ed8a+='\x0a'+_0x56b4e7+':\x0a';for(const _0x5eb3ce of _0x3d0d28[_0x58459d(0x28c,_0x2e4392._0x493047,_0x2e4392._0x5a5948,_0x2e4392._0x480d26)]){const _0x420b0d=boundedGrepSnippet(_0x5eb3ce[_0x29ba00(0x7e4,_0x2e4392._0x4fcd9f,0x9f9,_0x2e4392._0x386f78)]),_0xb4a09f=_0x5eb3ce[_0x29ba00(0x979,0x55e,0x619,_0x2e4392._0x108a6e)]?'\x20\x20':'>\x20';_0x52ed8a+=_0xb4a09f+_0x29ba00(_0x2e4392._0x8409a6,0x411,0x555,0x4e0)+_0x5eb3ce['lineNum']+':\x20'+_0x420b0d+'\x0a';}}_0xc2fc6['truncated']&&(_0x52ed8a+='\x0a(Results\x20are\x20truncated.\x20Consider\x20using\x20a\x20more\x20specific\x20path\x20or\x20pattern.)');}function _0x58459d(_0x278b5a,_0x2f9c57,_0x30e464,_0x6e4287){return _0x590cf0(_0x2f9c57,_0x30e464-0x44,_0x30e464-_0x23c24f._0x499507,_0x6e4287-0x8e);}function _0x29ba00(_0x45b993,_0x536dd5,_0x547072,_0x5ea491){return _0x590cf0(_0x45b993,_0x5ea491-_0x509a6a._0x4e1137,_0x547072-_0x509a6a._0x1eae45,_0x5ea491-0x174);}const _0x29ad61={'searchPath':_0x1cfeb5[_0x58459d(-0x2a4,-0x84,-_0x2e4392._0x43d109,-_0x2e4392._0x49f5b4)](_0x5533dc,_0x1b2c5e)||'.','pattern':_0x3e5a4c[_0x58459d(0x39f,_0x2e4392._0x538b65,0x2ef,_0x2e4392._0x30156b)],'matchCount':_0xc2fc6[_0x29ba00(_0x2e4392._0x5ed024,_0x2e4392._0x2ee292,_0x2e4392._0x235605,_0x2e4392._0x330407)],'fileCount':_0xc2fc6['fileCount'],'truncated':_0xc2fc6[_0x29ba00(0x37d,_0x2e4392._0x43cca1,0x66a,_0x2e4392._0x284bd7)]};return _0x4cfd42&&_0x3e5a4c[_0x29ba00(_0x2e4392._0x396f29,0x458,_0x2e4392._0x34fa84,0x4cb)]!==void 0x0&&(_0x29ad61[_0x58459d(-_0x2e4392._0x19fcfc,-0x37a,-_0x2e4392._0x5839ff,_0x2e4392._0x1f6fad)]=_0x3e5a4c[_0x29ba00(0x613,_0x2e4392._0xed2094,0x716,0x4cb)]),yield createToolOutput(_0x52ed8a[_0x58459d(-0x2d,-_0x2e4392._0x2d6a8b,-0xac,_0x2e4392._0xa06529)](),_0x29ad61),void 0x0;}});}import{readdir,readFile as _0x54f091,stat as _0x5b20c1}from'fs/promises';import*as _0xc7b793 from'path';import*as _0xcb3c13 from'yaml';var MAX_LINE_COUNT_FILE_SIZE=0xa*0x400*0x400;async function countTextLines(_0xcfd5a0,_0x376a78){const _0x4fcc01={_0x5bccbd:0x35d,_0x1a8c55:0x42,_0x27b5ac:0x278,_0x4212fb:0x412,_0x29e5d2:0x3d7},_0x377814={_0x90919f:0xe0,_0x5d4fc7:0x1b8};if(_0x376a78>MAX_LINE_COUNT_FILE_SIZE)return void 0x0;const _0x58fdb3=await _0x54f091(_0xcfd5a0)['catch'](()=>null);function _0x47430f(_0x4b4d24,_0x484a7b,_0x3fee8d,_0x3d79ef){return _0x1957f6(_0x4b4d24-0x193,_0x484a7b-0x39,_0x4b4d24,_0x3d79ef- -0x28);}if(!_0x58fdb3||isProbablyBinary(_0x58fdb3))return void 0x0;function _0x46e0e3(_0x435d64,_0x25f3bd,_0xc6ca38,_0x12f383){return _0x1957f6(_0x435d64-_0x377814._0x90919f,_0x25f3bd-0x94,_0x12f383,_0x435d64- -_0x377814._0x5d4fc7);}return _0x58fdb3[_0x46e0e3(0x1aa,0x29f,0x238,0x295)](_0x47430f(0x28e,0x2d6,_0x4fcc01._0x5bccbd,0x1ee))[_0x46e0e3(_0x4fcc01._0x1a8c55,0x122,0x283,-0x30)](/\r?\n/)[_0x47430f(_0x4fcc01._0x27b5ac,0x480,_0x4fcc01._0x4212fb,_0x4fcc01._0x29e5d2)];}function createLsTool(_0x1990ca={}){const _0x5ad99a={_0x428a66:0x2bf,_0x6390ec:0x4bf,_0x37b1fd:0x2f5,_0x40725c:0x1ce,_0x45a548:0x18,_0x50a7ba:0x3b7,_0x131c93:0x466,_0x241940:0x17d,_0x2d3b27:0x56b,_0x44a92f:0x730,_0x68209a:0x481,_0x1ecfef:0x160},_0x44b184={_0xae06e6:0x423,_0x2d2b36:0x4b0,_0x544db1:0x28e,_0x49a2b9:0x100,_0x285c17:0x150,_0x35cc0f:0x3ea,_0x47514e:0x73,_0x401bf3:0x167,_0x378d89:0x58,_0x412a83:0x47,_0x307968:0x1b0,_0x531c62:0x130,_0x30d6f1:0x3cc,_0x34a836:0x16a,_0x3e3fa7:0x258,_0x44de01:0x1d0,_0x4452ad:0x2d8,_0x25bbb6:0x518,_0x2a475a:0x33f,_0x2901ce:0x246,_0x37083a:0x24e,_0x1f2a9b:0x26a,_0x50572c:0x5ad,_0x116512:0x4f9,_0x4c7ecc:0x35c,_0x4d0b7c:0x3b4,_0x340538:0x285,_0x5a7e63:0x238,_0x2fa61b:0x7,_0x239442:0x166,_0x47ba39:0x2a6,_0x7c609e:0x28b,_0xf4ae00:0x1a0,_0x4d878d:0x2aa,_0x43b109:0x4c2,_0x545453:0x381,_0x3b97aa:0x1f9,_0x25a646:0x463,_0x5668a9:0x291,_0x4c033c:0x166,_0x2f1709:0x162,_0x3f159c:0xc1,_0x34ac49:0x10f,_0x458a02:0x6ad,_0x5a7869:0x564,_0x3f21a8:0x18f,_0x56e5cd:0x155,_0x30618a:0x6d,_0x559b47:0x91,_0x57ee5d:0x259,_0x267168:0x56e,_0x49abfc:0x361,_0x2150a3:0x475},_0x52bd6b={_0xd7997c:0x16e,_0x3c4c0f:0xb9},_0x36038f={_0x3333c9:0x139},_0x2b7415={_0x50a1ca:0xa5,_0x393347:0x1ad,_0x2afff6:0x339};function _0x330939(_0x41872e,_0xd1ee92,_0x411fbd,_0x1c1f4b){return _0x1957f6(_0x41872e-_0x2b7415._0x50a1ca,_0xd1ee92-_0x2b7415._0x393347,_0x1c1f4b,_0x41872e-_0x2b7415._0x2afff6);}const _0x3cafb9=_0xc7b793[_0x4e56d7(0x2ee,_0x5ad99a._0x428a66,_0x5ad99a._0x6390ec,0x274)](_0x1990ca['defaultCwd']??process['cwd']()),_0x132869=_0x1990ca[_0x4e56d7(0x1cb,_0x5ad99a._0x37b1fd,0x40a,_0x5ad99a._0x40725c)]??[];function _0x4e56d7(_0x25d4c3,_0x584a7d,_0x4a7b0b,_0xa4d626){return _0x39a391(_0x25d4c3-_0x36038f._0x3333c9,_0x584a7d-0x63,_0x584a7d- -0x4bc,_0x25d4c3);}const _0x2466e4=_0x1990ca[_0x4e56d7(0x13b,0x191,0xdc,-_0x5ad99a._0x45a548)]??'Ls';return defineTool({'name':_0x2466e4,'permissionClass':_0x330939(_0x5ad99a._0x50a7ba,0x5b7,_0x5ad99a._0x131c93,0x5b3),'description':_0x4e56d7(-0xf0,0x9e,0x4c,-_0x5ad99a._0x241940),'inputSchema':{'type':_0x330939(_0x5ad99a._0x2d3b27,0x797,_0x5ad99a._0x44a92f,_0x5ad99a._0x68209a),'properties':{'path':{'type':_0x4e56d7(_0x5ad99a._0x1ecfef,0x249,0x330,0xfc)},'limit':{'type':'number'}}},async *'execute'(_0xdce5b4){const _0x1403b1={_0x1a7c81:0x3d7,_0x7732e5:0x14a},_0xf887a0=_0xdce5b4['path']??'.',_0x2416dd=resolveAllowedPath(_0x3cafb9,_0x132869,_0xf887a0),_0x1ef025=await _0x5b20c1(_0x2416dd)[_0x302309(_0x44b184._0xae06e6,_0x44b184._0x2d2b36,0x541,_0x44b184._0x544db1)](()=>null);if(!_0x1ef025?.[_0x49ce46(-0x7a,_0x44b184._0x49a2b9,0x7,_0x44b184._0x285c17)]())throw new ToolExecutionError(_0x302309(0x272,0x19b,_0x44b184._0x35cc0f,0x1c1)+_0xf887a0,{'path':_0xf887a0});const _0x2fcdfc=_0xdce5b4[_0x49ce46(-0x1ab,0xb5,_0x44b184._0x47514e,_0x44b184._0x401bf3)]??0x3e8,_0x5a6951=Math[_0x49ce46(_0x44b184._0x378d89,0x202,0x1b8,0x70)](Math[_0x49ce46(-_0x44b184._0x412a83,-0x69,_0x44b184._0x307968,_0x44b184._0x531c62)](Math[_0x302309(0x3f5,0x5a8,0x5dc,0x3c6)](_0x2fcdfc),0x1),0x2710);function _0x49ce46(_0x221324,_0x138fdc,_0x25aff8,_0x20d1d6){return _0x330939(_0x25aff8- -_0x1403b1._0x1a7c81,_0x138fdc-0xb5,_0x25aff8-_0x1403b1._0x7732e5,_0x20d1d6);}const _0x255f36=await readdir(_0x2416dd),_0x5d7c08=[];for(const _0x34e56f of _0x255f36[_0x49ce46(_0x44b184._0x30d6f1,_0x44b184._0x34a836,0x31e,_0x44b184._0x3e3fa7)](0x0,_0x5a6951)){const _0x2bd173=_0xc7b793[_0x302309(_0x44b184._0x44de01,_0x44b184._0x4452ad,_0x44b184._0x25bbb6,0x26d)](_0x2416dd,_0x34e56f),_0x3ebd23=await _0x5b20c1(_0x2bd173)[_0x49ce46(_0x44b184._0x2a475a,0x1be,_0x44b184._0x2901ce,_0x44b184._0x37083a)](()=>null);if(!_0x3ebd23)continue;let _0x444ce1=_0x49ce46(_0x44b184._0x1f2a9b,_0x44b184._0x50572c,0x373,0x452);if(_0x3ebd23[_0x302309(_0x44b184._0x116512,_0x44b184._0x4c7ecc,_0x44b184._0x4d0b7c,0x50f)]())_0x444ce1=_0x49ce46(0xd1,0x1f2,0x2c8,_0x44b184._0x340538);else{if(_0x3ebd23[_0x49ce46(-_0x44b184._0x5a7e63,0x62,_0x44b184._0x2fa61b,_0x44b184._0x239442)]())_0x444ce1=_0x49ce46(0x11c,_0x44b184._0x47ba39,_0x44b184._0x7c609e,_0x44b184._0xf4ae00);else{if(_0x3ebd23['isSymbolicLink']())_0x444ce1='symlink';}}const _0x3be76d={'name':_0x34e56f,'type':_0x444ce1,'size':_0x3ebd23[_0x49ce46(0x4c,0x1ef,0x166,0x293)],'mtime':_0x3ebd23[_0x302309(_0x44b184._0x4d878d,_0x44b184._0x43b109,_0x44b184._0x545453,0x5a5)],'mode':_0x3ebd23['mode']},_0x162c6f=_0x444ce1===_0x49ce46(_0x44b184._0x3b97aa,_0x44b184._0x25a646,0x2c8,0x114)?await countTextLines(_0x2bd173,_0x3ebd23[_0x49ce46(_0x44b184._0x5668a9,0x6a,_0x44b184._0x4c033c,_0x44b184._0x2f1709)]):void 0x0;if(_0x162c6f!==void 0x0)_0x3be76d[_0x302309(0x135,0x274,0x418,0x22c)]=_0x162c6f;_0x5d7c08['push'](_0x3be76d);}_0x5d7c08[_0x49ce46(-_0x44b184._0x3f159c,_0x44b184._0x34ac49,0x78,0xa7)]((_0x237a18,_0xa85830)=>_0x237a18[_0x302309(0x245,0x314,0x322,0x298)][_0x49ce46(0x2cc,0x463,0x25e,0x3d8)](_0xa85830[_0x302309(0x53e,0x314,0x4a4,0x4bd)]));const _0x44c05b={'path':_0xf887a0,'total':_0x5d7c08[_0x302309(_0x44b184._0x458a02,0x5cb,_0x44b184._0x5a7869,0x3bc)],'truncated':_0x255f36[_0x302309(0x4ed,0x5cb,0x7bd,0x4df)]>_0x5a6951,'entries':_0x5d7c08};function _0x302309(_0x1d15dd,_0x44dadc,_0x58294e,_0x1c444d){return _0x4e56d7(_0x1c444d,_0x44dadc-0x183,_0x58294e-_0x52bd6b._0xd7997c,_0x1c444d-_0x52bd6b._0x3c4c0f);}return yield createToolOutput(_0xcb3c13[_0x49ce46(_0x44b184._0x3f21a8,_0x44b184._0x56e5cd,-_0x44b184._0x30618a,0xbb)](_0x44c05b,{'indent':0x2,'lineWidth':0x0})[_0x49ce46(-_0x44b184._0x559b47,-0xab,0x2e,-0xf5)](),{'path':_0xf887a0,'total':_0x5d7c08['length'],'truncated':_0x255f36[_0x49ce46(_0x44b184._0x57ee5d,_0x44b184._0x267168,_0x44b184._0x49abfc,_0x44b184._0x2150a3)]>_0x5a6951,'limit':_0x5a6951,'entries':_0x5d7c08}),void 0x0;}});}import{readFile as _0x54c7b2,stat as _0x375a18}from'fs/promises';import*as _0x1bc02a from'path';var DEFAULT_MAX_BYTES=0xa*0x400*0x400,SUPPORTED_DETAILS=new Set([_0x39a391(0x93e,0x6fd,0x770,0x752),'high','low',_0x1957f6(0x41e,0x354,0x3dd,0x202)]),PNG_SIGNATURE=Buffer[_0x1957f6(0xc3,0x4e7,0x21f,0x2c2)]([0x89,0x50,0x4e,0x47,0xd,0xa,0x1a,0xa]);function detectImageMediaType(_0x26f936,_0x44a339){const _0x314aa8={_0x172b01:0x340,_0x2bc6e8:0x30d,_0x4b387c:0x110,_0x5947b7:0x6b,_0x9b4440:0xfd,_0x1d3c5b:0x4f,_0x13d7a5:0x438,_0x1290b5:0x576,_0x17ce56:0x340,_0x3cc06e:0x26e,_0xe36b3c:0x47b,_0xa828c5:0x432,_0x279891:0x241,_0x1975b6:0xb3,_0x2d926f:0x5d,_0x14af74:0x14d,_0x2d9ddd:0x486,_0x14f9da:0x3ec,_0x577ba6:0x529,_0x139534:0x366,_0x8f3d25:0x39c,_0x24a8fe:0x1cc,_0x22b2f0:0x366,_0x7bdcd6:0x571,_0x400a55:0xb2,_0x5a0c33:0x45,_0x5c2bdc:0x1b1,_0x22c349:0x124,_0x305e94:0x1da,_0x57e021:0x124,_0x4cfee1:0x330,_0xfe65ba:0x11e,_0x2256a6:0xe1,_0x13247f:0x6a,_0x18c5af:0x2ca,_0x23989e:0x134,_0x14fa4b:0x15d,_0xa43655:0x107,_0x375888:0x35a,_0x16119c:0x6c,_0x5dad82:0xa8,_0x46a96f:0x27f},_0x5ea0b4={_0x4b2dda:0xb8,_0x21690b:0x4},_0x39a955={_0x8290df:0x66,_0x54b0cc:0x626};if(_0x26f936[_0x12e75e(_0x314aa8._0x172b01,0x522,0x452,_0x314aa8._0x2bc6e8)](0x0,0x8)[_0x12e75e(0x12c,-_0x314aa8._0x4b387c,0x1bb,0x94)](PNG_SIGNATURE))return _0x12e75e(0xe1,_0x314aa8._0x5947b7,-_0x314aa8._0x9b4440,-_0x314aa8._0x1d3c5b);if(_0x26f936[0x0]===0xff&&_0x26f936[0x1]===0xd8&&_0x26f936[0x2]===0xff)return _0x12e75e(_0x314aa8._0x13d7a5,_0x314aa8._0x1290b5,0x55d,0x1fb);const _0x2d5361=_0x26f936[_0x12e75e(_0x314aa8._0x17ce56,_0x314aa8._0x3cc06e,_0x314aa8._0xe36b3c,0x2b5)](0x0,0x6)[_0x3c0c04(_0x314aa8._0xa828c5,0x12e,0x499,_0x314aa8._0x279891)]('ascii');if(_0x2d5361===_0x3c0c04(-_0x314aa8._0x1975b6,-0x387,-_0x314aa8._0x2d926f,-_0x314aa8._0x14af74)||_0x2d5361===_0x12e75e(0x45b,_0x314aa8._0x2d9ddd,_0x314aa8._0x14f9da,0x520))return'image/gif';if(_0x26f936[_0x12e75e(0x340,0x43a,_0x314aa8._0x577ba6,0x149)](0x0,0x4)[_0x12e75e(_0x314aa8._0x139534,0x520,_0x314aa8._0x8f3d25,_0x314aa8._0x24a8fe)]('ascii')==='RIFF'&&_0x26f936['subarray'](0x8,0xc)[_0x12e75e(_0x314aa8._0x22b2f0,_0x314aa8._0x7bdcd6,0x3c6,0x39d)](_0x3c0c04(0x82,_0x314aa8._0x400a55,_0x314aa8._0x5a0c33,0x10d))===_0x3c0c04(-0x37,-_0x314aa8._0x5c2bdc,-0x1dc,-_0x314aa8._0x22c349))return _0x12e75e(_0x314aa8._0x305e94,0x102,0xad,_0x314aa8._0x57e021);const _0xacd23f=_0x1bc02a[_0x3c0c04(-0x28f,-_0x314aa8._0x4cfee1,_0x314aa8._0xfe65ba,-0x10c)](_0x44a339)['toLowerCase']();if(_0xacd23f==='.png')return _0x12e75e(_0x314aa8._0x2256a6,-_0x314aa8._0x13247f,0x1ba,0x1b2);if(_0xacd23f===_0x12e75e(_0x314aa8._0x18c5af,_0x314aa8._0x23989e,_0x314aa8._0x14fa4b,_0x314aa8._0xa43655)||_0xacd23f===_0x3c0c04(-0x129,-_0x314aa8._0x375888,_0x314aa8._0x16119c,-0x16b))return _0x12e75e(_0x314aa8._0x13d7a5,0x4e4,0x419,0x2d6);function _0x3c0c04(_0x30aa2,_0xe5926,_0x430ed0,_0x1fe3e0){return _0x39a391(_0x30aa2-0xa2,_0xe5926-_0x39a955._0x8290df,_0x1fe3e0- -_0x39a955._0x54b0cc,_0x430ed0);}function _0x12e75e(_0x42c904,_0x402617,_0x3ae940,_0x3a7327){return _0x1957f6(_0x42c904-_0x5ea0b4._0x4b2dda,_0x402617-0xea,_0x3ae940,_0x42c904-_0x5ea0b4._0x21690b);}if(_0xacd23f==='.gif')return _0x3c0c04(0x191,-_0x314aa8._0x5dad82,-0x86,0x119);if(_0xacd23f==='.webp')return _0x3c0c04(0x225,0x4c,_0x314aa8._0x46a96f,0xb5);return void 0x0;}function normalizeDetail(_0x4065e5){const _0x284fa6={_0x1ea4d4:0x4df,_0x1e10f9:0xa0b,_0x536594:0x81c,_0x1f01f3:0x2bf},_0x35209c={_0x22aaa4:0x14a,_0x22706c:0x28,_0x2371b3:0x1ed},_0x433da7={_0x51a31d:0x157,_0x5373e9:0xd,_0x3a4a16:0x433};function _0x541cd9(_0xfe3a2d,_0x1d746c,_0x459b75,_0x9b7e22){return _0x1957f6(_0xfe3a2d-_0x433da7._0x51a31d,_0x1d746c-_0x433da7._0x5373e9,_0xfe3a2d,_0x9b7e22-_0x433da7._0x3a4a16);}if(_0x4065e5===void 0x0)return void 0x0;function _0x396a23(_0x587fc3,_0x3ac388,_0x3ad990,_0x4734d4){return _0x1957f6(_0x587fc3-_0x35209c._0x22aaa4,_0x3ac388-_0x35209c._0x22706c,_0x3ac388,_0x4734d4- -_0x35209c._0x2371b3);}const _0x42ff8c=_0x4065e5[_0x541cd9(0x47d,0x6b1,0x48a,_0x284fa6._0x1ea4d4)]()[_0x541cd9(0x6de,0x703,_0x284fa6._0x1e10f9,_0x284fa6._0x536594)]();if(!SUPPORTED_DETAILS['has'](_0x42ff8c))throw new ToolExecutionError(_0x396a23(_0x284fa6._0x1f01f3,0x85,0x9b,0x195)+_0x4065e5,{'detail':_0x4065e5});return _0x42ff8c;}function createViewFileTool(_0x432dd0={}){const _0x11d0af={_0x4a9b09:0x7e1,_0x281e34:0x6ca,_0x17c9d9:0x756,_0x1dfa6d:0x507,_0x3f2edc:0x263,_0x1dc4b6:0x816,_0x16131b:0x684,_0x3ad632:0x781,_0x2b658f:0x464,_0x86b9e7:0x628,_0x54d841:0x583,_0x12f5c4:0x479,_0x2d78a8:0x579,_0x19576d:0x429,_0x49bf26:0x22f,_0x3fa7e2:0x1d5,_0x38ade8:0x30f,_0x887454:0x504},_0x599d55={_0x1e4f61:0x4f0,_0x3fb4db:0x6a0,_0x3a55e7:0x5ea,_0x559d48:0x173,_0x64fc00:0x258,_0xccee32:0x1d3,_0x584d38:0x36a,_0xadf1c5:0x24,_0x8c18aa:0x197,_0x1febd3:0x204,_0x3c9fb0:0x7c,_0x9e24e9:0x613,_0x47b8cb:0xf1,_0x1049f1:0x5dc,_0x1a628c:0x57b,_0xd882d5:0x2a2,_0xc62620:0x35b,_0x719017:0x480,_0xcce66d:0x527,_0x106131:0x735,_0x437683:0x153,_0xe50f59:0x297,_0x31078c:0x38,_0x9ea8b9:0x65d,_0x596b35:0x717,_0x125973:0x176,_0x90f755:0x1d8,_0x1b1b0c:0x432,_0x4bfb14:0x18f,_0x3bda58:0x96,_0x2dbd3e:0x204,_0x22d253:0x2c6,_0x1c93c6:0x6d3,_0x56dc94:0x4f4,_0x4e234b:0x8d8,_0x5ad1a6:0x5cd,_0x2b4296:0x1a,_0x39f8dd:0xa1,_0x45f040:0x64e,_0x251c6e:0x403,_0x49f0d2:0x324,_0x2656da:0x1ea,_0x1ed0d0:0x14c,_0x1b09b4:0x40d,_0x333471:0x6b6,_0x4e6349:0x6ee,_0x45805c:0x618,_0x957416:0x5fd,_0x1e2592:0x3d9,_0x20e8c9:0x767,_0x404ed2:0x5fd,_0x5d164a:0x13f,_0x186121:0x42f},_0x5a809b={_0x38189b:0x117,_0x33ae71:0x530},_0x2dcfe2={_0x28c195:0xaa},_0x504312=_0x1bc02a[_0x53ac43(_0x11d0af._0x4a9b09,_0x11d0af._0x281e34,_0x11d0af._0x17c9d9,_0x11d0af._0x1dfa6d)](_0x432dd0[_0x53ac43(0xaca,0x7a7,0x8a4,0x65b)]??process[_0x4f9f26(0x336,0x2b0,_0x11d0af._0x3f2edc,0x43b)]()),_0x1239ce=_0x432dd0[_0x53ac43(_0x11d0af._0x1dc4b6,_0x11d0af._0x16131b,0x78c,0x9c3)]??[],_0x4ed973=_0x432dd0['maxBytes']??DEFAULT_MAX_BYTES,_0x6e84f6=_0x432dd0[_0x53ac43(_0x11d0af._0x3ad632,_0x11d0af._0x2b658f,_0x11d0af._0x86b9e7,_0x11d0af._0x54d841)]??_0x4f9f26(0x5bd,_0x11d0af._0x12f5c4,0x424,0x3e0);function _0x53ac43(_0x1398a6,_0x566447,_0x3f3d81,_0x3fb199){return _0x39a391(_0x1398a6-0x143,_0x566447-_0x2dcfe2._0x28c195,_0x3f3d81- -0x25,_0x566447);}function _0x4f9f26(_0x2999e1,_0x25c961,_0x5040b0,_0x718696){return _0x39a391(_0x2999e1-_0x5a809b._0x38189b,_0x25c961-0x196,_0x5040b0- -_0x5a809b._0x33ae71,_0x2999e1);}return defineTool({'name':_0x6e84f6,'permissionClass':_0x53ac43(0x40b,0x5a2,0x55e,0x32f),'description':_0x53ac43(0x657,_0x11d0af._0x2d78a8,0x4ce,_0x11d0af._0x19576d),'inputSchema':{'type':'object','properties':{'path':{'type':_0x4f9f26(0x33f,_0x11d0af._0x49bf26,_0x11d0af._0x3fa7e2,_0x11d0af._0x38ade8)},'detail':{'type':'string'}},'required':[_0x53ac43(0x2c1,0x671,_0x11d0af._0x887454,0x4ee)]},async *'execute'(_0x268232){const _0x5837e3={_0x427b59:0x15c},_0x52ec87=resolveAllowedPath(_0x504312,_0x1239ce,_0x268232[_0x365531(0x310,0x39a,0xca,0x365)]);await assertWorkspaceFile(_0x52ec87);const _0x468992=await _0x375a18(_0x52ec87);function _0x633710(_0x330f4e,_0x1270a1,_0xdc32e2,_0x5a899d){return _0x53ac43(_0x330f4e-_0x5837e3._0x427b59,_0x5a899d,_0x330f4e- -0x4e0,_0x5a899d-0x94);}if(_0x468992[_0x365531(_0x599d55._0x1e4f61,0x442,_0x599d55._0x3fb4db,_0x599d55._0x3a55e7)]>_0x4ed973)throw new ToolExecutionError(_0x633710(_0x599d55._0x559d48,_0x599d55._0x64fc00,-0xc3,0x23)+_0x268232[_0x365531(0x310,_0x599d55._0xccee32,_0x599d55._0x584d38,0x350)],{'path':_0x268232[_0x633710(_0x599d55._0xadf1c5,-0x8,0x130,_0x599d55._0x8c18aa)],'maxBytes':_0x4ed973,'size':_0x468992[_0x633710(_0x599d55._0x1febd3,_0x599d55._0x3c9fb0,0x236,0x48)]});function _0x365531(_0x322307,_0x30e86a,_0x19bbc4,_0x22e8b4){return _0x53ac43(_0x322307-0x10f,_0x19bbc4,_0x322307- -0x1f4,_0x22e8b4-0x118);}const _0x50a8fa=await _0x54c7b2(_0x52ec87),_0x2aec02=detectImageMediaType(_0x50a8fa,_0x52ec87);if(!_0x2aec02)throw new ToolExecutionError(_0x365531(0x567,0x70c,0x799,_0x599d55._0x9e24e9)+_0x268232['path'],{'path':_0x268232[_0x633710(0x24,-0x197,_0x599d55._0x47b8cb,0x0)],'supported':[_0x365531(_0x599d55._0x1049f1,_0x599d55._0x1a628c,0x424,0x584),_0x365531(_0x599d55._0xd882d5,_0x599d55._0xc62620,_0x599d55._0x719017,0x112),_0x365531(0x5b2,_0x599d55._0xcce66d,_0x599d55._0x106131,0x6da),_0x633710(_0x599d55._0x437683,_0x599d55._0xe50f59,_0x599d55._0x31078c,-0xb8),_0x365531(_0x599d55._0x9ea8b9,_0x599d55._0x596b35,0x7de,0x706)]});const _0x20f807=normalizeDetail(_0x268232[_0x633710(0x275,0x1c3,0x273,_0x599d55._0x125973)]),_0x5a04fd=[_0x633710(_0x599d55._0x90f755,_0x599d55._0x1b1b0c,0x367,-0x73)+_0x268232[_0x633710(0x24,0xfd,-_0x599d55._0x4bfb14,_0x599d55._0x3bda58)],'MIME:\x20'+_0x2aec02,'Size:\x20'+_0x468992[_0x633710(_0x599d55._0x2dbd3e,_0x599d55._0x22d253,0x7d,0x2c2)]+_0x365531(_0x599d55._0x1c93c6,_0x599d55._0x56dc94,_0x599d55._0x4e234b,0x8f9)][_0x633710(0xad,0x2fb,0x21d,-0x127)](_0x20f807?[_0x365531(_0x599d55._0x5ad1a6,0x3fc,0x6b7,0x810)+_0x20f807]:[])[_0x633710(0x10c,_0x599d55._0x2b4296,-_0x599d55._0x39f8dd,0xb)]('\x0a'),_0x4544fa=[{'type':'image','source':{'type':'base64','media_type':_0x2aec02,'data':_0x50a8fa[_0x365531(_0x599d55._0x45f040,0x790,_0x599d55._0x251c6e,0x5fe)](_0x365531(_0x599d55._0x49f0d2,_0x599d55._0x2656da,_0x599d55._0x1ed0d0,_0x599d55._0x1b09b4))}},{'type':'text','text':_0x5a04fd}];return yield createToolOutput(_0x5a04fd,{'path':_0x268232['path'],'resolvedPath':_0x52ec87,'created':_0x468992[_0x365531(_0x599d55._0x333471,_0x599d55._0x4e6349,0x4ae,_0x599d55._0x45805c)][_0x365531(_0x599d55._0x957416,0x3fd,_0x599d55._0x1e2592,_0x599d55._0x20e8c9)](),'modified':_0x468992['mtime'][_0x365531(_0x599d55._0x404ed2,0x6dc,0x4bf,0x701)](),'size':_0x468992[_0x633710(_0x599d55._0x2dbd3e,0x1e7,0xbe,_0x599d55._0x5d164a)],'mimeType':_0x2aec02,'encoding':_0x365531(_0x599d55._0x49f0d2,0x12d,_0x599d55._0x186121,0x236),..._0x20f807?{'detail':_0x20f807}:{}},_0x4544fa),void 0x0;}});}function createQuestionId(){const _0x15ff9f={_0x22cd96:0x34b,_0x5e4f61:0x338,_0x1218cc:0x348,_0x25ad0a:0x761,_0x3aadfb:0x4f9,_0x2e9068:0x8ac},_0x55bc90={_0x27cf91:0x133,_0x5ebb93:0x35c},_0x242302={_0x451df9:0x1dc,_0x4229a4:0x383};function _0x3782bc(_0x144de3,_0x541ac5,_0x452556,_0x1ec422){return _0x1957f6(_0x144de3-_0x242302._0x451df9,_0x541ac5-0x14a,_0x1ec422,_0x452556-_0x242302._0x4229a4);}function _0x54a1f3(_0xcb66da,_0x27870e,_0x1c0bc5,_0x56ad73){return _0x1957f6(_0xcb66da-_0x55bc90._0x27cf91,_0x27870e-0x1a2,_0x56ad73,_0x1c0bc5-_0x55bc90._0x5ebb93);}return'question-'+Date['now']()+'-'+Math[_0x54a1f3(_0x15ff9f._0x22cd96,0x363,_0x15ff9f._0x5e4f61,_0x15ff9f._0x1218cc)]()[_0x54a1f3(_0x15ff9f._0x25ad0a,0x7ff,0x6be,_0x15ff9f._0x3aadfb)](0x24)[_0x3782bc(0x769,0x613,0x73f,_0x15ff9f._0x2e9068)](0x2,0x9);}function validateInput(_0x3ca6d9){const _0xc15b0c={_0x59e754:0x5a2,_0x59a26a:0x76b,_0x2dcedb:0x962,_0x4ef815:0x7a7,_0x42b5de:0x50a,_0x4f00fa:0x51c,_0x52a8da:0x7a1,_0x10245f:0x599,_0x37aad8:0x9f8,_0x4d7a6f:0x965,_0x5a3035:0x81f,_0x5a7e5f:0x638,_0x76beb6:0x655,_0x1390ce:0x67e,_0x32c113:0x5a1,_0x885c17:0x4c9,_0x38878a:0x53f,_0x42b475:0x520,_0x2a80df:0x305,_0x23e59f:0x296,_0x1ddac0:0x4b1,_0x58bd86:0x646,_0x39c8d3:0x4b3,_0x31664c:0x499,_0x2a1cfd:0x447,_0x4a5c85:0x5ec,_0x3e7129:0x448,_0x98e182:0x628,_0x4fbbd2:0x86e,_0x19ef00:0x4c3,_0x223795:0x61d,_0x4b531f:0x631,_0x584e41:0x62a,_0x10b9d8:0x4c6,_0x394f2d:0x7bd,_0x50e76f:0x498,_0x49d563:0x61f,_0x4483ed:0x5a3,_0xcb5fc5:0x7e8,_0x8dfb61:0x4b4,_0x5ec130:0x548,_0x4800c4:0x48a,_0x44936a:0x543,_0x16065a:0x2ed,_0x575609:0x474,_0x3bab1a:0x576,_0x346856:0x314,_0x43386a:0x4f0,_0x457389:0x3b2,_0x191601:0x450,_0x85d924:0x469,_0x5861bf:0x563,_0x324554:0x6cf,_0x247465:0x619,_0x4da8a7:0x2aa,_0x6d8176:0x444,_0x3f9896:0x250},_0x983fb4={_0x53d127:0xa0};function _0xd8d90(_0x11e0a1,_0x15fde9,_0x3d744c,_0x4794c7){return _0x39a391(_0x11e0a1-_0x983fb4._0x53d127,_0x15fde9-0x37,_0x15fde9- -0x23c,_0x11e0a1);}if(!Array[_0x5806e3(0x750,_0xc15b0c._0x59e754,0x67c,0x70c)](_0x3ca6d9['questions'])||_0x3ca6d9['questions'][_0x5806e3(0x82b,0xa4b,0x88a,0x899)]<0x1||_0x3ca6d9[_0x5806e3(_0xc15b0c._0x59a26a,0x8c1,0x8db,_0xc15b0c._0x2dcedb)][_0xd8d90(0x6bf,0x6c8,_0xc15b0c._0x4ef815,_0xc15b0c._0x42b5de)]>0xa)throw new ToolExecutionError(_0xd8d90(0x3bf,0x432,0x62d,_0xc15b0c._0x4f00fa),{'error':_0x5806e3(_0xc15b0c._0x52a8da,_0xc15b0c._0x10245f,_0xc15b0c._0x37aad8,0x906)});function _0x5806e3(_0x3a948d,_0x18e5b3,_0xc1550b,_0x39d9a0){return _0x39a391(_0x3a948d-0x11e,_0x18e5b3-0xe9,_0x3a948d- -0xd9,_0x18e5b3);}for(let _0x4ffd12=0x0;_0x4ffd12<_0x3ca6d9[_0x5806e3(_0xc15b0c._0x59a26a,_0xc15b0c._0x4d7a6f,_0xc15b0c._0x5a3035,0x7f0)]['length'];_0x4ffd12+=0x1){const _0x536b01=_0x3ca6d9['questions'][_0x4ffd12];if(!_0x536b01[_0x5806e3(0x86d,_0xc15b0c._0x5a7e5f,_0xc15b0c._0x76beb6,0xa64)]||typeof _0x536b01[_0xd8d90(0x55b,0x70a,0x54a,_0xc15b0c._0x1390ce)]!==_0xd8d90(_0xc15b0c._0x32c113,_0xc15b0c._0x885c17,_0xc15b0c._0x38878a,_0xc15b0c._0x42b475))throw new ToolExecutionError(_0xd8d90(0x37f,0x489,0x409,0x3ce)+(_0x4ffd12+0x1)+_0x5806e3(0x48d,_0xc15b0c._0x2a80df,0x503,_0xc15b0c._0x23e59f));if(!_0x536b01['topic']||typeof _0x536b01['topic']!==_0xd8d90(0x45e,_0xc15b0c._0x885c17,_0xc15b0c._0x1ddac0,_0xc15b0c._0x58bd86))throw new ToolExecutionError(_0x5806e3(0x5ec,0x75e,0x803,0x4e4)+(_0x4ffd12+0x1)+':\x20\x22topic\x22\x20field\x20is\x20required\x20and\x20must\x20be\x20a\x20string');if(_0x536b01[_0x5806e3(_0xc15b0c._0x39c8d3,_0xc15b0c._0x31664c,0x66d,_0xc15b0c._0x2a1cfd)]['length']>0x1e)throw new ToolExecutionError(_0x5806e3(_0xc15b0c._0x4a5c85,_0xc15b0c._0x3e7129,0x673,0x6dd)+(_0x4ffd12+0x1)+_0xd8d90(0x68b,_0xc15b0c._0x98e182,0x5aa,_0xc15b0c._0x4fbbd2)+_0x536b01['topic']['length']);if(!Array[_0xd8d90(_0xc15b0c._0x19ef00,0x5ed,_0xc15b0c._0x223795,0x6b0)](_0x536b01[_0xd8d90(0x56c,0x61f,_0xc15b0c._0x4b531f,_0xc15b0c._0x584e41)])||_0x536b01[_0xd8d90(_0xc15b0c._0x10b9d8,0x61f,_0xc15b0c._0x394f2d,_0xc15b0c._0x50e76f)]['length']<0x2||_0x536b01[_0xd8d90(_0xc15b0c._0x50e76f,_0xc15b0c._0x49d563,_0xc15b0c._0x4483ed,_0xc15b0c._0xcb5fc5)][_0xd8d90(0x532,0x6c8,0x8c9,0x4a1)]>0x4)throw new ToolExecutionError(_0x5806e3(0x5ec,_0xc15b0c._0x8dfb61,0x66a,_0xc15b0c._0x5ec130)+(_0x4ffd12+0x1)+':\x20must\x20have\x202-4\x20options');for(let _0xf06b66=0x0;_0xf06b66<_0x536b01[_0xd8d90(0x5f2,_0xc15b0c._0x49d563,_0xc15b0c._0x4800c4,0x432)]['length'];_0xf06b66+=0x1){const _0xdb138c=_0x536b01[_0x5806e3(0x782,0x802,0x839,0x7c3)][_0xf06b66];if(!_0xdb138c[_0x5806e3(_0xc15b0c._0x44936a,_0xc15b0c._0x16065a,_0xc15b0c._0x575609,_0xc15b0c._0x3bab1a)]||!_0xdb138c[_0xd8d90(0x1cc,_0xc15b0c._0x346856,0x4a1,_0xc15b0c._0x43386a)])throw new ToolExecutionError(_0x5806e3(_0xc15b0c._0x4a5c85,_0xc15b0c._0x457389,_0xc15b0c._0x191601,_0xc15b0c._0x85d924)+(_0x4ffd12+0x1)+',\x20Option\x20'+(_0xf06b66+0x1)+':\x20both\x20\x22label\x22\x20and\x20\x22description\x22\x20are\x20required');}if(typeof _0x536b01[_0x5806e3(_0xc15b0c._0x5861bf,_0xc15b0c._0x324554,0x444,_0xc15b0c._0x247465)]!=='boolean')throw new ToolExecutionError('Question\x20'+(_0x4ffd12+0x1)+_0xd8d90(_0xc15b0c._0x4da8a7,_0xc15b0c._0x6d8176,_0xc15b0c._0x3f9896,0x22b));}}function buildQuestions(_0x11a31f){const _0x47d636={_0x3efd2a:0x59c,_0x2ce084:0x350,_0x18d415:0x791},_0x1e2e29={_0x3ba838:0xef,_0x11fade:0x25d},_0x1a71e7={_0x1f59e3:0x1f1,_0x3cbb32:0x163,_0xa64ac:0x19f};function _0xdc0178(_0x2c847b,_0x50517b,_0x3c98fa,_0x4f2744){return _0x39a391(_0x2c847b-_0x1a71e7._0x1f59e3,_0x50517b-_0x1a71e7._0x3cbb32,_0x2c847b- -_0x1a71e7._0xa64ac,_0x3c98fa);}function _0x165c65(_0x6a45e3,_0x257f1e,_0x641751,_0x245d47){return _0x1957f6(_0x6a45e3-0xf9,_0x257f1e-_0x1e2e29._0x3ba838,_0x257f1e,_0x6a45e3-_0x1e2e29._0x11fade);}return _0x11a31f[_0x165c65(_0x47d636._0x3efd2a,0x3fd,_0x47d636._0x2ce084,_0x47d636._0x18d415)]['map']((_0x3212a7,_0xdbe767)=>({'id':'q'+_0xdbe767,'question':_0x3212a7[_0xdc0178(0x7a7,0x5d0,0x87c,0x726)],'topic':_0x3212a7[_0xdc0178(0x3ed,0x5d0,0x29e,0x222)],'options':_0x3212a7[_0xdc0178(0x6bc,0x5ad,0x483,0x837)],'multiSelect':_0x3212a7[_0x165c65(0x394,0x421,0x2d7,0x392)]}));}function createResult(_0xe9f6a9,_0x3eb832,_0x3d5012){const _0x118d65={_0x569aa5:0x52,_0xd7f358:0x186,_0x57538a:0x18b,_0x1b09ce:0x1a},_0x2f89e0={_0x284fc2:0x1c8,_0x575e96:0x6c1};function _0x3f7e2a(_0x4c3640,_0x3aa1cf,_0x2edd3c,_0x476115){return _0x39a391(_0x4c3640-0x1f1,_0x3aa1cf-_0x2f89e0._0x284fc2,_0x2edd3c- -_0x2f89e0._0x575e96,_0x476115);}const _0x2cfafa={'questionId':_0xe9f6a9,'questionCount':_0x3eb832,'answers':_0x3d5012};function _0x1d8a76(_0x465f68,_0x10880d,_0x5bf5c8,_0x4ea74c){return _0x39a391(_0x465f68-0x42,_0x10880d-0xcc,_0x5bf5c8- -0xb9,_0x4ea74c);}return createToolOutput(_0x3f7e2a(_0x118d65._0x569aa5,0x1d,-_0x118d65._0xd7f358,0xbd)+JSON[_0x3f7e2a(-0x223,-0x14f,-_0x118d65._0x57538a,_0x118d65._0x1b09ce)](_0x3d5012,null,0x2),_0x2cfafa);}function createAskUserTool(){const _0x38f6fd={_0x397ccf:0x43a,_0x178167:0x3e2,_0xfe3678:0x205,_0x43d24b:0x366,_0x3212a2:0x515,_0x4b81ab:0x8cb,_0x16f66c:0x7c5,_0x3b03d9:0x58d,_0x800f02:0x58e,_0xa0fb1b:0x23f,_0x81921e:0x191,_0x51881b:0x371,_0x44d605:0x107,_0x4e3081:0xb5,_0x5cee93:0x2fd,_0x2953b3:0x6cc,_0x4a13fc:0x178,_0x9ff775:0x44c,_0x2c14b7:0x241,_0x297d60:0x422,_0x5851af:0x2cd,_0x3a7753:0x6aa,_0x1287ac:0x69d,_0x36da28:0xe,_0x3f2abf:0x603,_0xcf42dd:0x822,_0x29401d:0x7f6,_0x423858:0x6dc},_0x4a9c0d={_0x2bafbf:0x56a,_0x26a5bf:0x41b,_0x2fa300:0x4cd,_0x549f60:0x46d,_0x440888:0x289,_0x275110:0x8dc,_0x1d90a6:0x71a,_0x4ebdee:0x337,_0x8bb5a0:0x556,_0x4fa1f4:0x2d6,_0x4b9768:0x6fd,_0x19940f:0x467,_0x5e58c0:0x47a,_0x37f783:0x65e,_0x1c7901:0x527,_0x4813e9:0x24c,_0x227950:0x1aa,_0x1a0db3:0x966,_0x339c8b:0x858},_0x5edf3d={_0x5c9fbd:0x147,_0x10664e:0x3a4},_0x560534={_0x16db1a:0xb4,_0x506cb2:0x108,_0x169c89:0x4f8},_0x201ec2={_0x197978:0x39};function _0x45bc5b(_0x597483,_0x516e54,_0x2c2548,_0x1fa187){return _0x39a391(_0x597483-0x63,_0x516e54-0x177,_0x1fa187- -_0x201ec2._0x197978,_0x597483);}function _0x57afae(_0xd2e43,_0x468aa3,_0xb54ec1,_0x5a72d6){return _0x39a391(_0xd2e43-_0x560534._0x16db1a,_0x468aa3-_0x560534._0x506cb2,_0xd2e43- -_0x560534._0x169c89,_0x468aa3);}return defineTool({'name':_0x57afae(0x2b8,_0x38f6fd._0x397ccf,0x26f,0xd1),'permissionClass':'read','description':_0x57afae(_0x38f6fd._0x178167,_0x38f6fd._0xfe3678,0x611,_0x38f6fd._0x43d24b),'inputSchema':{'type':_0x45bc5b(0x503,_0x38f6fd._0x3212a2,_0x38f6fd._0x4b81ab,0x6fe),'properties':{'questions':{'type':_0x45bc5b(_0x38f6fd._0x16f66c,_0x38f6fd._0x3b03d9,_0x38f6fd._0x800f02,0x56d),'items':{'type':_0x57afae(_0x38f6fd._0xa0fb1b,0x245,0x23a,_0x38f6fd._0x81921e),'properties':{'question':{'type':'string'},'topic':{'type':_0x57afae(0x20d,0x47,_0x38f6fd._0x51881b,0x164)},'options':{'type':_0x57afae(0xae,-0x14,-0xd1,_0x38f6fd._0x44d605),'items':{'type':_0x57afae(0x23f,0x33f,_0x38f6fd._0x4e3081,0x425),'properties':{'label':{'type':_0x57afae(0x20d,_0x38f6fd._0x5cee93,-0xc,0x2be)},'description':{'type':_0x45bc5b(0x519,0x4b3,0x6c1,_0x38f6fd._0x2953b3)}},'required':['label',_0x57afae(0x58,0x1c9,-_0x38f6fd._0x4a13fc,0x299)]}},'multiSelect':{'type':_0x57afae(_0x38f6fd._0x9ff775,_0x38f6fd._0x2c14b7,_0x38f6fd._0x297d60,_0x38f6fd._0x5851af)}},'required':[_0x57afae(0x44e,_0x38f6fd._0x3a7753,_0x38f6fd._0x1287ac,0x306),_0x57afae(0x94,0x1c0,-_0x38f6fd._0x36da28,0x102),_0x45bc5b(_0x38f6fd._0x3f2abf,0xa56,0x6cf,_0x38f6fd._0xcf42dd),'multiSelect']}},'answers':{'type':_0x45bc5b(_0x38f6fd._0x29401d,_0x38f6fd._0x423858,0x8d7,0x6fe),'properties':{}}},'required':['questions']},async *'execute'(_0x1e2351,_0xaf91cb){function _0x39580a(_0x492361,_0x2b54a3,_0x12d997,_0x453738){return _0x57afae(_0x12d997-0x33c,_0x492361,_0x12d997-0x1e4,_0x453738-0xb0);}const _0x40b1c9=_0x1e2351;function _0x5446b2(_0x4b75e5,_0x2d2681,_0x1c373d,_0x328a1c){return _0x45bc5b(_0x2d2681,_0x2d2681-_0x5edf3d._0x5c9fbd,_0x1c373d-0x97,_0x328a1c- -_0x5edf3d._0x10664e);}validateInput(_0x40b1c9);const _0x5d290d=_0xaf91cb[_0x39580a(0x4c0,_0x4a9c0d._0x2bafbf,_0x4a9c0d._0x26a5bf,0x52d)]??createQuestionId();if(_0x40b1c9[_0x39580a(0x43a,_0x4a9c0d._0x2fa300,_0x4a9c0d._0x549f60,_0x4a9c0d._0x440888)]&&Object[_0x39580a(0x6a2,_0x4a9c0d._0x275110,_0x4a9c0d._0x1d90a6,0x89a)](_0x40b1c9[_0x39580a(0x696,0x42c,0x46d,_0x4a9c0d._0x4ebdee)])[_0x5446b2(_0x4a9c0d._0x8bb5a0,_0x4a9c0d._0x4fa1f4,_0x4a9c0d._0x4b9768,0x527)]>0x0)return createResult(_0x5d290d,_0x40b1c9[_0x5446b2(0x477,0x23a,0x5a2,_0x4a9c0d._0x19940f)][_0x5446b2(_0x4a9c0d._0x5e58c0,_0x4a9c0d._0x37f783,0x775,_0x4a9c0d._0x1c7901)],_0x40b1c9[_0x5446b2(0x37e,0x14f,0x3e0,_0x4a9c0d._0x4813e9)]);if(!_0xaf91cb[_0x39580a(0x70a,0x433,0x5d1,0x6ce)])throw new ToolExecutionError(_0x5446b2(0x64c,0x52c,0x35c,0x583));const _0x450ecd=buildQuestions(_0x40b1c9),_0x10d575=await _0xaf91cb[_0x5446b2(_0x4a9c0d._0x227950,0x40a,0x329,0x3b0)]({'questionId':_0x5d290d,'questions':_0x450ecd});yield createResult(_0x5d290d,_0x40b1c9['questions'][_0x39580a(_0x4a9c0d._0x1a0db3,_0x4a9c0d._0x339c8b,0x748,0x78d)],_0x10d575);}});}import{stat as _0x375f2c}from'fs/promises';import _0x4d00e3 from'path';import{fileURLToPath as _0x1ba26b}from'url';function awaitWithAbort2(_0x27b299,_0x51f182){const _0xa8ddfd={_0x1ebd75:0x60a,_0x444d4d:0x4ef,_0x58be58:0x389,_0x94e587:0x890,_0x208c93:0x6dd},_0x2738c8={_0x55f790:0x117,_0x1f4264:0xc8},_0x2f95d5={_0x231d8e:0xc8},_0x236655={_0x13a76a:0xe2,_0x2ec53f:0x1d6,_0x4c8b8e:0x1b7},_0x300fdc={_0x46343d:0x126,_0x469258:0x11d};if(!_0x51f182)return _0x27b299;if(_0x51f182['aborted'])return Promise['reject'](toAbortError(_0x51f182[_0x446e0a(0x565,0x5b5,0x702,0x76c)]));function _0x446e0a(_0x1c2205,_0x27036b,_0x35eea0,_0x3ff7f2){return _0x39a391(_0x1c2205-0x176,_0x27036b-_0x300fdc._0x46343d,_0x1c2205- -_0x300fdc._0x469258,_0x35eea0);}return new Promise((_0x4eb249,_0x2ab53e)=>{const _0x372f99={_0x43a9ee:0x397};function _0x43ea9a(_0x2c8faa,_0x2a75e3,_0xe56d07,_0x128c95){return _0x446e0a(_0xe56d07- -_0x236655._0x13a76a,_0x2a75e3-_0x236655._0x2ec53f,_0x2a75e3,_0x128c95-_0x236655._0x4c8b8e);}const _0x1b1406=()=>{_0x3f9400();function _0x7e16be(_0x4e7bd5,_0x47ac0d,_0x581379,_0x2c5ee8){return _0x1b0d(_0x4e7bd5- -_0x372f99._0x43a9ee,_0x581379);}_0x2ab53e(toAbortError(_0x51f182[_0x7e16be(-0x50,_0x2f95d5._0x231d8e,-0x19c,0x1dc)]));};function _0x47499e(_0x4b6e5e,_0x32df0b,_0x3799c0,_0x1267f2){return _0x446e0a(_0x32df0b-_0x2738c8._0x55f790,_0x32df0b-0x86,_0x4b6e5e,_0x1267f2-_0x2738c8._0x1f4264);}const _0x3f9400=()=>_0x51f182['removeEventListener']('abort',_0x1b1406);_0x51f182[_0x43ea9a(_0xa8ddfd._0x1ebd75,0x5fd,_0xa8ddfd._0x444d4d,_0xa8ddfd._0x58be58)]('abort',_0x1b1406,{'once':!![]}),_0x27b299[_0x43ea9a(_0xa8ddfd._0x94e587,_0xa8ddfd._0x208c93,0x694,0x43f)](_0x40eee2=>{_0x3f9400(),_0x4eb249(_0x40eee2);},_0x3d430c=>{_0x3f9400(),_0x2ab53e(_0x3d430c);});});}function severityName(_0x36ee36){const _0x3e44dc={_0x886829:0x6a8,_0x3ebe10:0x588,_0x4c6816:0x55f,_0x275cb7:0x69c},_0x36d296={_0x1917d0:0x1af,_0x272772:0x38},_0x43ca70={_0x237875:0x1a2};function _0xfa25a7(_0x283159,_0x43a5d7,_0x3e1dd7,_0x5aaed1){return _0x1957f6(_0x283159-0x104,_0x43a5d7-_0x43ca70._0x237875,_0x283159,_0x3e1dd7-0x38a);}function _0x2f159c(_0x5ecdab,_0x1562e8,_0x1ea668,_0x21c85f){return _0x39a391(_0x5ecdab-_0x36d296._0x1917d0,_0x1562e8-_0x36d296._0x272772,_0x1562e8- -0x288,_0x5ecdab);}switch(_0x36ee36){case 0x1:return _0xfa25a7(0x48c,_0x3e44dc._0x886829,_0x3e44dc._0x3ebe10,0x3c5);case 0x2:return _0xfa25a7(_0x3e44dc._0x4c6816,0x66c,0x581,0x629);case 0x3:return _0xfa25a7(0x3be,0x5f2,0x522,_0x3e44dc._0x275cb7);case 0x4:return'Hint';default:return'Diagnostic';}}function formatSingleHover(_0xc9d507){const _0x3b7e88={_0x31cb07:0x1b6,_0x332134:0x134,_0x267832:0x53,_0x286426:0x155,_0x53fb40:0x468,_0x1aab42:0x557,_0x12acc7:0x24e,_0x3ca4b5:0xf4,_0xa17a68:0x165,_0x1f2594:0xc0,_0x12db97:0x1f8,_0x5932c0:0xb2,_0x507e20:0x20f,_0x15c729:0x411,_0x580bbb:0x638,_0x438fb6:0x49f,_0x378966:0x6d0,_0x3676f:0x8c4,_0x45ea19:0x693},_0x4241e3={_0xded5d7:0x1e6},_0x5abc78={_0x362dbe:0x22,_0x4b96bd:0x673};function _0x46e9df(_0x51cbe0,_0x24840c,_0x4fe274,_0x101754){return _0x39a391(_0x51cbe0-0x84,_0x24840c-_0x5abc78._0x362dbe,_0x51cbe0- -_0x5abc78._0x4b96bd,_0x101754);}const _0x1c5ae9=_0xc9d507['contents'];if(typeof _0x1c5ae9==='string')return _0x1c5ae9;function _0x1d8c4f(_0x38a35a,_0xc9ec52,_0x10fbba,_0x4145d8){return _0x1957f6(_0x38a35a-0x1c7,_0xc9ec52-_0x4241e3._0xded5d7,_0xc9ec52,_0x10fbba-0x274);}if(Array[_0x46e9df(_0x3b7e88._0x31cb07,_0x3b7e88._0x332134,0x1dc,-0x15)](_0x1c5ae9))return _0x1c5ae9[_0x46e9df(-_0x3b7e88._0x267832,-0x283,-_0x3b7e88._0x286426,-0x16c)](_0x33cab5=>typeof _0x33cab5===_0x1d8c4f(0x54a,0x433,0x474,0x2e5)?_0x33cab5:_0x33cab5[_0x1d8c4f(0x7cf,0x5c8,0x6d0,0x822)])[_0x1d8c4f(0x3b6,_0x3b7e88._0x53fb40,_0x3b7e88._0x1aab42,0x425)](Boolean)['join']('\x0a\x0a');if(_0x46e9df(-0xea,-0x138,-_0x3b7e88._0x12acc7,_0x3b7e88._0x3ca4b5)in _0x1c5ae9)return _0x1c5ae9[_0x46e9df(0x2ee,_0x3b7e88._0xa17a68,0x371,_0x3b7e88._0x1f2594)];return _0x1c5ae9[_0x1d8c4f(_0x3b7e88._0x12db97,0x4b1,0x411,0x49f)]?_0x46e9df(0x11b,0x227,0x2e9,-_0x3b7e88._0x5932c0)+_0x1c5ae9[_0x1d8c4f(_0x3b7e88._0x507e20,0x607,_0x3b7e88._0x15c729,_0x3b7e88._0x580bbb)]+'\x0a'+_0x1c5ae9[_0x1d8c4f(0x515,_0x3b7e88._0x438fb6,_0x3b7e88._0x378966,0x5ed)]+'\x0a```':_0x1c5ae9[_0x1d8c4f(_0x3b7e88._0x3676f,_0x3b7e88._0x45ea19,_0x3b7e88._0x378966,0x624)];}function formatHover(_0x17d476){const _0x531add={_0x1eeedb:0x8c,_0x47147c:0xf3,_0x984471:0xc8,_0x1aba13:0x3d,_0xa230bc:0x272},_0x524577={_0x3d5afb:0xba,_0x3c4faf:0x1ff},_0x15b4a1={_0x3057d2:0x78,_0x5813e6:0x18e};function _0x5be912(_0x4b097c,_0x3eb2c5,_0x3cb4d0,_0x3c6300){return _0x1957f6(_0x4b097c-_0x15b4a1._0x3057d2,_0x3eb2c5-0x133,_0x3eb2c5,_0x3c6300-_0x15b4a1._0x5813e6);}if(_0x17d476['length']===0x0)return'No\x20hover\x20information';function _0x17dda6(_0x296bc4,_0x3bc344,_0x21f1c0,_0x1b5e98){return _0x1957f6(_0x296bc4-_0x524577._0x3d5afb,_0x3bc344-0x1f2,_0x1b5e98,_0x3bc344- -_0x524577._0x3c4faf);}return _0x17d476[_0x17dda6(-_0x531add._0x1eeedb,-0xe4,-0x199,-0x14b)](formatSingleHover)[_0x17dda6(-0x2cb,-_0x531add._0x47147c,_0x531add._0x984471,_0x531add._0x1aba13)](_0x5be912(0x29,0x2b4,_0x531add._0xa230bc,0x1d5));}function locationPath(_0x581b0f){const _0x1c34a2={_0x2ce291:0x78b,_0x518421:0x739,_0x515783:0x58b,_0x313239:0x700};if(!_0x581b0f[_0x3bae1b(0x75e,0x8e8,_0x1c34a2._0x2ce291,0x7ba)](_0x3bae1b(_0x1c34a2._0x518421,_0x1c34a2._0x515783,0x912,_0x1c34a2._0x313239)))return _0x581b0f;function _0x5a5bc7(_0x5a563a,_0x4ae8af,_0x2fa650,_0x45cb4b){return _0x1957f6(_0x5a563a-0x122,_0x4ae8af-0x1c6,_0x45cb4b,_0x5a563a-0x35a);}function _0x3bae1b(_0x58bfca,_0x2920ab,_0x418b19,_0x19a405){return _0x1957f6(_0x58bfca-0x6e,_0x2920ab-0x1ee,_0x418b19,_0x58bfca-0x444);}return _0x1ba26b(_0x581b0f);}function _0x1957f6(_0x45b0f5,_0x9e21bf,_0x3a09c9,_0x17fc28){return _0x1b0d(_0x17fc28- -0x1ca,_0x3a09c9);}function formatLocations(_0x3c0350){const _0x5f3913={_0x534d01:0x4df,_0x3c6eb5:0x2dd,_0x139db5:0x16},_0x40cc87={_0x59464e:0x6da,_0x3ca5b5:0x704,_0x3fc2b4:0x538,_0x4b50fe:0x544},_0x58c849={_0x104d4a:0x4b},_0x25cff4={_0x3906c3:0xd0};function _0x292605(_0x343783,_0x181a22,_0xa661c1,_0x19b2b9){return _0x1957f6(_0x343783-0x162,_0x181a22-_0x25cff4._0x3906c3,_0x19b2b9,_0xa661c1- -0x122);}function _0x4bd92e(_0x36d288,_0x2cde47,_0x27f967,_0x34350e){return _0x1957f6(_0x36d288-0x19e,_0x2cde47-0x80,_0x2cde47,_0x36d288-_0x58c849._0x104d4a);}if(_0x3c0350[_0x292605(_0x5f3913._0x534d01,0x26d,_0x5f3913._0x3c6eb5,0x20d)]===0x0)return'No\x20locations\x20found';return _0x3c0350[_0x4bd92e(0x166,-_0x5f3913._0x139db5,-0xd3,0x23)](_0x3d92ff=>{const _0x3206cb={_0x5bd6bf:0x2b,_0x3fb22a:0x129,_0x349e26:0x48e},_0x3c3ebf={_0x58415e:0x535,_0x565e67:0x142};function _0x59ca32(_0x223c56,_0xbb75ae,_0x155fb7,_0xe996b1){return _0x4bd92e(_0x155fb7-_0x3c3ebf._0x58415e,_0x223c56,_0x155fb7-_0x3c3ebf._0x565e67,_0xe996b1-0x1a5);}function _0x49c4c8(_0xa791eb,_0x27bf13,_0x3dd0d3,_0x3929d1){return _0x292605(_0xa791eb-_0x3206cb._0x5bd6bf,_0x27bf13-_0x3206cb._0x3fb22a,_0x3929d1-_0x3206cb._0x349e26,_0xa791eb);}const _0x4fdca9=_0x3d92ff['range'][_0x59ca32(0x6aa,_0x40cc87._0x59464e,_0x40cc87._0x3ca5b5,_0x40cc87._0x3fc2b4)];return locationPath(_0x3d92ff[_0x49c4c8(0x718,_0x40cc87._0x4b50fe,0x6e6,0x71f)])+':'+(_0x4fdca9['line']+0x1)+':'+(_0x4fdca9['character']+0x1);})['join']('\x0a');}function isDocumentSymbol(_0x14b99b){return'range'in _0x14b99b&&'selectionRange'in _0x14b99b;}function formatSymbols(_0x137a22){const _0x16f65a={_0x490bfe:0x2a4,_0x2e52db:0x316,_0x2a727c:0x32,_0x4c4ed2:0xe5,_0x59e6d4:0x2f9,_0x4b39dd:0x1cc,_0x49617e:0x140},_0x1e4612={_0x5f0c92:0x187,_0x30c684:0x229,_0x3816ec:0x2b7,_0x20fd16:0x1d5,_0x33c129:0x1f3,_0x58d263:0x3c2,_0x4fa2e5:0x1ee,_0x343b46:0x78a,_0xa5f233:0x592,_0x5945d3:0x40a,_0x51ebb5:0x2f3,_0x1a4f91:0x5fb,_0x49114b:0x788,_0xd6ef9a:0x14e,_0x375b59:0x1ea,_0x3cab46:0x2f3,_0xb3585b:0x46,_0xc0926c:0x38c,_0x131bef:0x1e1,_0x3a1957:0x6d7,_0x11cfc9:0x57b,_0x458f15:0x77a,_0x4816cd:0x613,_0x36faa0:0x3f6,_0x25e3c8:0x48d,_0x3c13a1:0x25a,_0x58f9e5:0x7fb,_0x14e490:0x45f,_0x4d6bf3:0x6c3,_0x50b238:0x7ba,_0x83d033:0x6e5,_0x83ef63:0x914,_0xf5a895:0x642,_0x3b0b7d:0x5ac,_0x567eef:0x1e7,_0x5d4b46:0x531,_0x314c53:0x34f,_0x2d959d:0x2b5,_0x6744c0:0x326,_0x9dd0ee:0x108,_0x3f0f16:0x2f3,_0x789dcf:0x7e3,_0x2ded99:0x7ae,_0x2aee35:0x5b1},_0x14ae34={_0x2dde22:0x115,_0x16935e:0xaf},_0x5f40ff={_0x3dbf0d:0xcf};function _0x3229f4(_0x19eec8,_0x2169e4,_0x48fdae,_0x290b3a){return _0x1957f6(_0x19eec8-0xeb,_0x2169e4-0x50,_0x19eec8,_0x48fdae-0xc0);}function _0x3621d7(_0x4f5657,_0x2a530c,_0x5deb88,_0x178515){return _0x1957f6(_0x4f5657-_0x5f40ff._0x3dbf0d,_0x2a530c-0x3c,_0x2a530c,_0x5deb88- -0xe9);}if(_0x137a22[_0x3621d7(_0x16f65a._0x490bfe,0x1ec,_0x16f65a._0x2e52db,0x496)]===0x0)return'No\x20symbols\x20found';return _0x137a22[_0x3621d7(0x215,-0xf7,_0x16f65a._0x2a727c,_0x16f65a._0x4c4ed2)](_0x254d3b=>{function _0x4a2fe1(_0x715a6e,_0x15e908,_0x4f2e84,_0xba6030){return _0x3229f4(_0x15e908,_0x15e908-_0x14ae34._0x2dde22,_0xba6030-_0x14ae34._0x16935e,_0xba6030-0x1ad);}if(isDocumentSymbol(_0x254d3b))return _0x254d3b[_0x4a2fe1(_0x1e4612._0x5f0c92,_0x1e4612._0x30c684,0x34c,_0x1e4612._0x3816ec)]+'\x20('+_0x254d3b[_0x4a2fe1(0x126,_0x1e4612._0x20fd16,0x126,_0x1e4612._0x33c129)]+_0x4a2fe1(0x4b0,_0x1e4612._0x58d263,_0x1e4612._0x4fa2e5,0x2b0)+(_0x254d3b[_0x39ac8d(0x76f,_0x1e4612._0x343b46,_0x1e4612._0xa5f233,0x5af)][_0x4a2fe1(0x27e,_0x1e4612._0x5945d3,0x328,_0x1e4612._0x51ebb5)][_0x39ac8d(0x742,_0x1e4612._0x1a4f91,_0x1e4612._0x49114b,0x77b)]+0x1)+':'+(_0x254d3b['range'][_0x4a2fe1(_0x1e4612._0xd6ef9a,_0x1e4612._0x375b59,0x3e3,_0x1e4612._0x3cab46)][_0x4a2fe1(-0x75,_0x1e4612._0xb3585b,_0x1e4612._0xc0926c,_0x1e4612._0x131bef)]+0x1)+']';function _0x39ac8d(_0x24d6a9,_0x1cdadb,_0x3987b4,_0x4dfee1){return _0x3229f4(_0x1cdadb,_0x1cdadb-0x48,_0x24d6a9-0x4cf,_0x4dfee1-0x101);}return _0x254d3b[_0x39ac8d(_0x1e4612._0x3a1957,_0x1e4612._0x11cfc9,_0x1e4612._0x458f15,0x8f4)]+'\x20('+_0x254d3b[_0x39ac8d(_0x1e4612._0x4816cd,_0x1e4612._0x36faa0,0x453,_0x1e4612._0x25e3c8)]+')\x20'+locationPath(_0x254d3b[_0x4a2fe1(0x3f6,0x1c4,_0x1e4612._0x3c13a1,0x226)][_0x39ac8d(0x942,0x8ef,0x8b3,_0x1e4612._0x58f9e5)])+':'+(_0x254d3b[_0x39ac8d(0x646,0x487,0x4cc,_0x1e4612._0x14e490)][_0x39ac8d(0x76f,0x6b1,0x661,_0x1e4612._0x4d6bf3)][_0x39ac8d(0x713,0x5e6,_0x1e4612._0x50b238,_0x1e4612._0x83d033)][_0x39ac8d(0x742,0x93b,_0x1e4612._0x83ef63,_0x1e4612._0xf5a895)]+0x1)+':'+(_0x254d3b['location'][_0x4a2fe1(_0x1e4612._0x3b0b7d,_0x1e4612._0x567eef,_0x1e4612._0x5d4b46,_0x1e4612._0x314c53)][_0x4a2fe1(_0x1e4612._0x2d959d,_0x1e4612._0x6744c0,_0x1e4612._0x9dd0ee,_0x1e4612._0x3f0f16)][_0x39ac8d(0x601,_0x1e4612._0x789dcf,_0x1e4612._0x2ded99,_0x1e4612._0x2aee35)]+0x1);})[_0x3229f4(0x3bc,_0x16f65a._0x59e6d4,_0x16f65a._0x4b39dd,_0x16f65a._0x49617e)]('\x0a');}function formatDiagnostics(_0x51df3c){const _0xfc1f26={_0x5b989e:0x59a,_0x202f91:0x6f9,_0x20eb8b:0x27e,_0x36fa59:0x282,_0x5eefb8:0x1f9,_0x55fe9a:0x154,_0x2fbcf5:0xa9,_0x4bedbc:0x40,_0x38aa1c:0x175},_0x4941d2={_0x11f3f6:0x7c0,_0x52c31a:0x6fe,_0x1c7258:0x505,_0x577361:0x64e,_0x46d75d:0x7a1,_0xa225e0:0x6e2,_0x4d805d:0x67d,_0x171661:0x55c,_0x4763eb:0x596,_0x57f599:0xb60,_0x21acfe:0x6e6},_0x5e687a={_0x88af4a:0x1dd},_0x2e1153={_0x398948:0x1e3,_0x564122:0x36a},_0xa2f458={_0x18704c:0x1a4,_0x4cf355:0x39};if(_0x51df3c[_0x26b665(0x3be,_0xfc1f26._0x5b989e,_0xfc1f26._0x202f91,0x385)]===0x0)return _0xff2668(0x1e5,_0xfc1f26._0x20eb8b,_0xfc1f26._0x36fa59,0x2b0);function _0xff2668(_0x28c985,_0x13a308,_0x2ab1cd,_0x139591){return _0x1957f6(_0x28c985-0x91,_0x13a308-_0xa2f458._0x18704c,_0x139591,_0x13a308-_0xa2f458._0x4cf355);}function _0x26b665(_0x4bbb98,_0x4784bf,_0x54632c,_0x4ef719){return _0x39a391(_0x4bbb98-0x8a,_0x4784bf-_0x2e1153._0x398948,_0x4784bf- -_0x2e1153._0x564122,_0x4bbb98);}return _0x51df3c[_0xff2668(_0xfc1f26._0x5eefb8,_0xfc1f26._0x55fe9a,_0xfc1f26._0x2fbcf5,_0xfc1f26._0x4bedbc)](_0x3792f6=>{const _0x3a8557={_0x437701:0x171,_0x331f8f:0x491};function _0x4a1b23(_0x1732a1,_0x32c1b7,_0x338816,_0x350b6c){return _0xff2668(_0x1732a1-_0x3a8557._0x437701,_0x338816-_0x3a8557._0x331f8f,_0x338816-0xc6,_0x350b6c);}const _0x5800f0=_0x3792f6[_0x4a1b23(_0x4941d2._0x11f3f6,_0x4941d2._0x52c31a,0x6aa,_0x4941d2._0x1c7258)][_0x4a1b23(0x5c1,0x87a,_0x4941d2._0x577361,_0x4941d2._0x46d75d)];function _0x5f2302(_0x7afd61,_0x18a843,_0x200462,_0x112c07){return _0xff2668(_0x7afd61-0x162,_0x200462-0x52b,_0x200462-_0x5e687a._0x88af4a,_0x18a843);}return severityName(_0x3792f6[_0x5f2302(0x924,0x8ea,0x93c,0x949)])+'\x20['+(_0x5800f0[_0x4a1b23(_0x4941d2._0xa225e0,0x4da,_0x4941d2._0x4d805d,0x73f)]+0x1)+':'+(_0x5800f0[_0x4a1b23(_0x4941d2._0x171661,_0x4941d2._0x4763eb,0x53c,0x5c0)]+0x1)+']\x20'+_0x3792f6[_0x4a1b23(_0x4941d2._0x57f599,0x748,0x92c,_0x4941d2._0x21acfe)];})[_0x26b665(0x394,0x2a7,_0xfc1f26._0x38aa1c,0x1ec)]('\x0a');}function formatIncomingCalls(_0x56a5f4){const _0x558fdb={_0x42c9d1:0x6c1,_0x4ae902:0xb2,_0x265280:0x125,_0x2a2f9c:0x115,_0x1fee68:0x288,_0x301097:0x33a},_0x2a9141={_0xec140b:0x158,_0x4972c1:0x19d},_0x4db369={_0x2e916b:0x18f,_0xf14809:0x159};function _0x1e7a19(_0x321ff0,_0x4a439e,_0x485471,_0x13e090){return _0x1957f6(_0x321ff0-_0x4db369._0x2e916b,_0x4a439e-_0x4db369._0xf14809,_0x485471,_0x321ff0-0x2c2);}function _0x11e65f(_0x282990,_0x9eec08,_0xa2567f,_0x37d6cb){return _0x1957f6(_0x282990-_0x2a9141._0xec140b,_0x9eec08-_0x2a9141._0x4972c1,_0x9eec08,_0x37d6cb- -0x19c);}if(_0x56a5f4[_0x1e7a19(_0x558fdb._0x42c9d1,0x492,0x638,0x4aa)]===0x0)return _0x11e65f(0x0,-_0x558fdb._0x4ae902,-_0x558fdb._0x265280,_0x558fdb._0x2a2f9c);return _0x56a5f4[_0x1e7a19(0x3dd,_0x558fdb._0x1fee68,0x239,_0x558fdb._0x301097)](_0x5bc999=>_0x5bc999[_0x11e65f(0x161,0x9d,-0x54,0x126)]['name'])['join']('\x0a');}function formatOutgoingCalls(_0x543751){const _0x4f710d={_0x3adbbd:0x71b,_0x575c62:0x805,_0x4e774b:0x6b0,_0xe34ed5:0x534,_0x35edf3:0x3da,_0x34079d:0x48f,_0x4ec13b:0x3f5,_0x4c9c03:0x6bf};function _0x11ba4e(_0x87b545,_0x505a86,_0x4fd67e,_0x271b5b){return _0x1957f6(_0x87b545-0x26,_0x505a86-0xc7,_0x87b545,_0x505a86-0x383);}function _0x28a94e(_0x5b62b3,_0x4bf7a6,_0x43c599,_0x4c7508){return _0x39a391(_0x5b62b3-0xda,_0x4bf7a6-0x7a,_0x5b62b3- -0x139,_0x4bf7a6);}if(_0x543751[_0x11ba4e(0x65c,0x782,0x88a,0x6f6)]===0x0)return _0x11ba4e(_0x4f710d._0x3adbbd,0x634,0x6b0,_0x4f710d._0x575c62);return _0x543751[_0x28a94e(0x4e7,_0x4f710d._0x4e774b,0x404,_0x4f710d._0xe34ed5)](_0x5592f1=>_0x5592f1['to']['name'])[_0x11ba4e(_0x4f710d._0x35edf3,_0x4f710d._0x34079d,_0x4f710d._0x4ec13b,_0x4f710d._0x4c9c03)]('\x0a');}function toStructured(_0x166ceb){const _0x28dd85={_0x45f24b:0x72,_0x17d615:0xab,_0x31f76b:0x164},_0x2ed874={_0x36334f:0x6a5};function _0x3125d4(_0xaf5f7b,_0x530f36,_0x1d9316,_0x159afa){return _0x39a391(_0xaf5f7b-0x63,_0x530f36-0x189,_0x1d9316- -_0x2ed874._0x36334f,_0x159afa);}return JSON[_0x3125d4(_0x28dd85._0x45f24b,-_0x28dd85._0x17d615,-0xfd,-_0x28dd85._0x31f76b)](JSON['stringify'](_0x166ceb));}async function assertFile(_0x20a5fa){const _0xc383f2=await _0x375f2c(_0x20a5fa);if(!_0xc383f2['isFile']())throw new ToolExecutionError('Path\x20is\x20not\x20a\x20file:\x20'+_0x20a5fa,{'path':_0x20a5fa});}function validatePosition(_0x393c63,_0x1dd8f3){const _0xb05aaf={_0x585481:0x161,_0x3cb805:0x232,_0x3e751d:0x49,_0x40dad6:0x1db,_0x50d5b5:0x1f5},_0x473885={_0x426aa6:0x1ac,_0x17b72e:0x12e,_0x5ef873:0x4e9},_0x4b82be={_0x5cd5b4:0x84};function _0x45d4df(_0x3ea7db,_0xfd0897,_0x1d7568,_0xcf3515){return _0x39a391(_0x3ea7db-_0x4b82be._0x5cd5b4,_0xfd0897-0x1bb,_0xcf3515- -0x641,_0xfd0897);}if(!Number['isInteger'](_0x393c63)||_0x393c63<0x1)throw new ToolExecutionError(_0x45d4df(-0x12,-_0xb05aaf._0x585481,_0xb05aaf._0x3cb805,0xab),{'line':_0x393c63});function _0x428876(_0x3b07ac,_0x472383,_0x36bdee,_0x39681c){return _0x39a391(_0x3b07ac-_0x473885._0x426aa6,_0x472383-_0x473885._0x17b72e,_0x36bdee- -_0x473885._0x5ef873,_0x39681c);}if(!Number[_0x428876(-_0xb05aaf._0x3e751d,_0xb05aaf._0x40dad6,_0xb05aaf._0x50d5b5,0x384)](_0x1dd8f3)||_0x1dd8f3<0x1)throw new ToolExecutionError('character\x20must\x20be\x20a\x20positive\x20integer',{'character':_0x1dd8f3});}function createLspTool(_0x182583={}){const _0x1164cd={_0x262d37:0x3dd,_0x2e7b17:0x40c,_0x595f4f:0x1b0,_0x20942e:0x26d,_0x278868:0x468,_0x128aa6:0x1fc,_0x5821fc:0x4b,_0x120eec:0x2cb,_0x4e0c9d:0x3b0,_0x555238:0x45f,_0x5dac5c:0x252,_0x11b64b:0x1d1,_0x41c730:0x137,_0x25ac1a:0xc9,_0x10406f:0x64,_0x2c0f94:0x287,_0x1afd95:0x378,_0x26d72b:0x23a,_0x21ade5:0x12a,_0x57df36:0x4c8,_0xec3fab:0x1f8,_0x9e1661:0x250,_0x4a1fc2:0x2d6,_0x31c6f7:0x26c,_0xc80751:0x405,_0x56abda:0x27a,_0x5bb429:0x170,_0x35ef8f:0x302,_0x45900c:0x1d1,_0x3f018b:0x83,_0x252bf3:0x2b8,_0x37165a:0x2cc,_0x5d7c75:0x514,_0x1115ee:0x259,_0x47bc29:0x22a,_0x2855e8:0x3db,_0x20a862:0x671,_0x4df47d:0x522,_0x17697a:0x2f9,_0x5cbd49:0x3b0,_0x261cbe:0x184,_0x55240d:0x311,_0x3d0875:0x274,_0x53dd9c:0x41},_0x21c3a2={_0x5d8fd7:0x30c,_0x15488d:0x18b,_0x22b59a:0x174,_0x31e35a:0x12f,_0x39e073:0x20e,_0x50aa46:0x263,_0x4a92e0:0x279,_0x108bfa:0x339,_0x22decb:0x3d5,_0x194410:0x50c,_0x2498cd:0x42e,_0x290836:0x287,_0x501a19:0xa2,_0x5a2b95:0x23f,_0x329e88:0x3,_0x3d3e2d:0x1a3,_0x429c9b:0x21,_0x1f0469:0x9d,_0x27d7dd:0x1cb,_0x4d62fa:0x133,_0xb51d21:0x2f0,_0x3318ba:0x2c5,_0x4341a2:0x529,_0x35d264:0x4aa,_0x2cc461:0x188,_0x46bf53:0xb9,_0x254c67:0x72,_0x28c0c9:0x197,_0x443e65:0x3bc,_0x35c8e3:0x49e,_0x14de32:0x4d7,_0x5c5063:0x529,_0x244bf4:0x2fc,_0xf29cb5:0x2f4,_0x3d0d58:0x192,_0x243785:0x3d0,_0x67791d:0x16d,_0x1439fe:0x41,_0x307925:0x80,_0x489a5f:0x27a,_0x161687:0x3e2,_0x6a3c1e:0x258,_0x5e1b60:0x39a,_0x57c28d:0x260,_0x4ba021:0x32f,_0x38abf7:0x15d,_0xf6cded:0x5b2,_0x2bd17f:0x162,_0x4a097b:0x2a5,_0x3284d4:0x13c,_0x3ccf79:0x30b,_0x50abcd:0x17d,_0x28c711:0x33e,_0x4f46e9:0x766,_0x433442:0x605,_0x328b08:0x5db,_0x57efff:0x728,_0x314a35:0x529,_0x267d9d:0x71,_0x14e2cf:0x1a4,_0x59fc70:0x2a7,_0x30363f:0x615,_0xbf1be0:0xb0,_0x2f2021:0xf3,_0x4118df:0x178,_0x1394d1:0x2d0,_0x24beaa:0x6a5,_0x46db1c:0x44f,_0x2fb8ee:0x36a,_0x3f00dd:0x490,_0x1e8f20:0x57c,_0x59f570:0x36a,_0x209df3:0x1d9,_0x8a7bb:0x67,_0x2d0182:0x199,_0x411388:0x268,_0x10cb04:0x48,_0x337d03:0x4e,_0x111a65:0xf7,_0x2f22bc:0x10f,_0x3d97dc:0x212,_0x4ff4ad:0x7a,_0x1eb95b:0x3d8,_0x289a4c:0x3df,_0x539582:0x315,_0x26d701:0x87,_0x3d7de3:0x61,_0x53e029:0x87,_0xe6990a:0xfe},_0x54a6b1={_0x130dea:0x35d,_0x4e37f5:0x88},_0x4f2d75={_0xf30e13:0x4b,_0x34906e:0x184,_0x579053:0x17e},_0x4a1a51={_0x245158:0xb7},_0x5b6c7b=_0x4d00e3['resolve'](_0x182583[_0x1ad83e(_0x1164cd._0x262d37,0x3c9,0x395,0x458)]??process[_0x350cec(0x29c,_0x1164cd._0x2e7b17,_0x1164cd._0x595f4f,0x31e)]()),_0x451f6a=_0x182583['allowedDirs']??[],_0x1a8c94=_0x182583[_0x350cec(0x4d1,0x2c6,0x45d,0x265)]??_0x350cec(0x5df,0x3ef,_0x1164cd._0x20942e,_0x1164cd._0x278868);function _0x1ad83e(_0x3a095b,_0x416a51,_0x2ba2d7,_0x1e94e5){return _0x39a391(_0x3a095b-_0x4a1a51._0x245158,_0x416a51-0x183,_0x2ba2d7- -0x534,_0x416a51);}function _0x350cec(_0x3b2ee3,_0x4e6f45,_0x53f8e2,_0x2b8653){return _0x1957f6(_0x3b2ee3-_0x4f2d75._0xf30e13,_0x4e6f45-_0x4f2d75._0x34906e,_0x3b2ee3,_0x4e6f45-_0x4f2d75._0x579053);}return defineTool({'name':_0x1a8c94,'permissionClass':_0x350cec(0x10e,_0x1164cd._0x128aa6,0x85,-_0x1164cd._0x5821fc),'description':'Query\x20Language\x20Server\x20Protocol\x20code\x20intelligence\x20for\x20workspace\x20files:\x20definitions,\x20references,\x20hover,\x20symbols,\x20call\x20hierarchy,\x20and\x20diagnostics.','inputSchema':{'type':_0x350cec(_0x1164cd._0x120eec,_0x1164cd._0x4e0c9d,_0x1164cd._0x555238,0x3ed),'properties':{'operation':{'type':_0x1ad83e(_0x1164cd._0x5dac5c,-0x2e,_0x1164cd._0x11b64b,_0x1164cd._0x41c730),'enum':['goToDefinition',_0x350cec(_0x1164cd._0x25ac1a,0x18a,-0xc1,0x86),_0x350cec(_0x1164cd._0x10406f,_0x1164cd._0x2c0f94,_0x1164cd._0x1afd95,0x43),_0x350cec(_0x1164cd._0x26d72b,0x2d8,_0x1164cd._0x21ade5,_0x1164cd._0x57df36),'workspaceSymbol','goToImplementation','prepareCallHierarchy',_0x1ad83e(-0x4a,0x440,_0x1164cd._0xec3fab,0x1ba),_0x350cec(_0x1164cd._0x9e1661,_0x1164cd._0x4a1fc2,_0x1164cd._0x31c6f7,_0x1164cd._0xc80751),_0x1ad83e(0x44a,0xb3,_0x1164cd._0x56abda,_0x1164cd._0x5bb429)]},'filePath':{'type':_0x1ad83e(-0xc,_0x1164cd._0x35ef8f,_0x1164cd._0x45900c,0x3c4)},'line':{'type':_0x1ad83e(_0x1164cd._0x3f018b,_0x1164cd._0x252bf3,_0x1164cd._0x37165a,0x4d3)},'character':{'type':_0x350cec(_0x1164cd._0x5d7c75,0x479,0x544,_0x1164cd._0x1115ee)},'query':{'type':_0x350cec(_0x1164cd._0x47bc29,0x37e,0x22a,_0x1164cd._0x2855e8)}},'required':['operation',_0x350cec(_0x1164cd._0x20a862,_0x1164cd._0x4df47d,0x3b7,0x30f),_0x1ad83e(_0x1164cd._0x17697a,_0x1164cd._0x5cbd49,_0x1164cd._0x261cbe,_0x1164cd._0x55240d),_0x350cec(_0x1164cd._0x3d0875,0x1f0,_0x1164cd._0x53dd9c,0x101)]},async *'execute'(_0x5c15e2,_0x2eb3e0){const _0x1d8fb1={_0xa7ed3c:0x1a7,_0x5abf88:0x69},_0x4ba2a8=_0x182583[_0x5c5c6b(0x4d2,0x13d,_0x21c3a2._0x5d8fd7,_0x21c3a2._0x15488d)];function _0x5c5c6b(_0x2278a1,_0xf91c43,_0x573a8f,_0x3e9e40){return _0x1ad83e(_0x2278a1-_0x1d8fb1._0xa7ed3c,_0x3e9e40,_0x573a8f-0x1a0,_0x3e9e40-_0x1d8fb1._0x5abf88);}if(!_0x4ba2a8)throw new ToolExecutionError(_0x4fba6d(_0x21c3a2._0x22b59a,_0x21c3a2._0x31e35a,_0x21c3a2._0x39e073,_0x21c3a2._0x50aa46));function _0x4fba6d(_0x2686c5,_0x1ef591,_0xdacbfc,_0x1441de){return _0x350cec(_0xdacbfc,_0x2686c5- -_0x54a6b1._0x130dea,_0xdacbfc-_0x54a6b1._0x4e37f5,_0x1441de-0x76);}if(!_0x4ba2a8[_0x4fba6d(_0x21c3a2._0x4a92e0,0x23b,_0x21c3a2._0x108bfa,0x90)]())throw new ToolExecutionError(_0x5c5c6b(_0x21c3a2._0x22decb,_0x21c3a2._0x194410,_0x21c3a2._0x2498cd,_0x21c3a2._0x290836));const _0x297fec=_0x5c15e2[_0x4fba6d(0x79,0xf1,-0x1d9,0xd7)];validatePosition(_0x5c15e2['line'],_0x5c15e2[_0x4fba6d(-0x16d,_0x21c3a2._0x501a19,0x71,-0x34c)]);if(_0x297fec==='workspaceSymbol'){if(!_0x5c15e2[_0x4fba6d(0x188,_0x21c3a2._0x5a2b95,-_0x21c3a2._0x329e88,-0x2)]?.[_0x4fba6d(-0x133,-0x187,-_0x21c3a2._0x3d3e2d,-_0x21c3a2._0x429c9b)]())throw new ToolExecutionError(_0x4fba6d(-0x43,-_0x21c3a2._0x1f0469,_0x21c3a2._0x27d7dd,-0x6));const _0x5b241d=await awaitWithAbort2(_0x4ba2a8['workspaceSymbol'](_0x5c15e2['query'][_0x4fba6d(-_0x21c3a2._0x4d62fa,-0x1de,-_0x21c3a2._0xb51d21,-_0x21c3a2._0x3318ba)]()),_0x2eb3e0[_0x5c5c6b(0x4bd,0x6c4,_0x21c3a2._0x4341a2,_0x21c3a2._0x35d264)]);return yield createToolOutput(formatSymbols(_0x5b241d),{'operation':_0x297fec,'query':_0x5c15e2[_0x4fba6d(_0x21c3a2._0x2cc461,-_0x21c3a2._0x46bf53,-_0x21c3a2._0x254c67,_0x21c3a2._0x28c0c9)],'symbols':_0x5b241d}),void 0x0;}const _0x466adf=resolveAllowedPath(_0x5b6c7b,_0x451f6a,_0x5c15e2['filePath']);await assertFile(_0x466adf);if(!await awaitWithAbort2(_0x4ba2a8[_0x5c5c6b(0x320,_0x21c3a2._0x443e65,_0x21c3a2._0x35c8e3,0x56e)](_0x466adf),_0x2eb3e0[_0x5c5c6b(_0x21c3a2._0x14de32,0x457,_0x21c3a2._0x5c5063,0x38f)]))throw new ToolExecutionError(_0x4fba6d(0x18f,_0x21c3a2._0x244bf4,_0x21c3a2._0xf29cb5,_0x21c3a2._0x3d0d58)+_0x5c15e2['filePath'],{'filePath':_0x5c15e2['filePath']});await awaitWithAbort2(_0x4ba2a8['touchFile'](_0x466adf,!![]),_0x2eb3e0[_0x5c5c6b(0x6ea,0x614,0x529,0x519)]);const _0x36c000={'file':_0x466adf,'line':_0x5c15e2[_0x5c5c6b(_0x21c3a2._0x243785,0x216,0x324,0x29e)]-0x1,'character':_0x5c15e2[_0x4fba6d(-_0x21c3a2._0x67791d,-0x10a,_0x21c3a2._0x1439fe,-0x33a)]-0x1};switch(_0x297fec){case'hover':{const _0x3f92e2=await awaitWithAbort2(_0x4ba2a8[_0x5c5c6b(0x424,_0x21c3a2._0x307925,_0x21c3a2._0x489a5f,0x33d)](_0x36c000),_0x2eb3e0[_0x4fba6d(0x1d9,_0x21c3a2._0x161687,_0x21c3a2._0x6a3c1e,0x5a)]);return yield createToolOutput(formatHover(_0x3f92e2),{'operation':_0x297fec,'filePath':_0x466adf,'hover':_0x3f92e2}),void 0x0;}case'diagnostics':{const _0x34f9a0=await awaitWithAbort2(_0x4ba2a8[_0x5c5c6b(0x2d9,_0x21c3a2._0x5e1b60,0x2d3,0x317)](_0x466adf),_0x2eb3e0[_0x4fba6d(0x1d9,_0x21c3a2._0x57c28d,_0x21c3a2._0x4ba021,0x2b2)]);return yield createToolOutput(formatDiagnostics(_0x34f9a0),{'operation':_0x297fec,'filePath':_0x466adf,'diagnostics':_0x34f9a0}),void 0x0;}case _0x5c5c6b(_0x21c3a2._0x38abf7,_0x21c3a2._0xf6cded,0x36c,0x569):{const _0x125c35=await awaitWithAbort2(_0x4ba2a8[_0x4fba6d(_0x21c3a2._0x2bd17f,_0x21c3a2._0x4a097b,0x17c,_0x21c3a2._0x3284d4)](_0x36c000),_0x2eb3e0['signal']);return yield createToolOutput(formatLocations(_0x125c35),{'operation':_0x297fec,'filePath':_0x466adf,'locations':_0x125c35}),void 0x0;}case _0x5c5c6b(0x385,_0x21c3a2._0x3ccf79,_0x21c3a2._0x50abcd,_0x21c3a2._0x28c711):{const _0x64f032=await awaitWithAbort2(_0x4ba2a8[_0x5c5c6b(_0x21c3a2._0x4f46e9,_0x21c3a2._0x433442,0x513,_0x21c3a2._0x328b08)](_0x36c000),_0x2eb3e0[_0x5c5c6b(0x6a5,_0x21c3a2._0x57efff,_0x21c3a2._0x314a35,0x587)]);return yield createToolOutput(formatLocations(_0x64f032),{'operation':_0x297fec,'filePath':_0x466adf,'locations':_0x64f032}),void 0x0;}case _0x4fba6d(_0x21c3a2._0x267d9d,-_0x21c3a2._0x14e2cf,-0x167,0xc2):{const _0x343129=await awaitWithAbort2(_0x4ba2a8[_0x4fba6d(0xac,-0xaf,_0x21c3a2._0x59fc70,0x263)](_0x36c000),_0x2eb3e0[_0x5c5c6b(0x461,0x5fb,0x529,_0x21c3a2._0x30363f)]);return yield createToolOutput(formatLocations(_0x343129),{'operation':_0x297fec,'filePath':_0x466adf,'locations':_0x343129}),void 0x0;}case _0x4fba6d(-0x85,-_0x21c3a2._0xbf1be0,-_0x21c3a2._0x2f2021,0xf6):{const _0x3d1c94=await awaitWithAbort2(_0x4ba2a8[_0x4fba6d(-0x85,_0x21c3a2._0x4118df,-0x21e,0xa6)](_0x466adf),_0x2eb3e0[_0x5c5c6b(_0x21c3a2._0x1394d1,_0x21c3a2._0x24beaa,_0x21c3a2._0x5c5063,_0x21c3a2._0x46db1c)]);return yield createToolOutput(formatSymbols(_0x3d1c94),{'operation':_0x297fec,'filePath':_0x466adf,'symbols':_0x3d1c94}),void 0x0;}case _0x5c5c6b(0x1cb,0x546,_0x21c3a2._0x2fb8ee,_0x21c3a2._0x3f00dd):{const _0x4b15c5=await awaitWithAbort2(_0x4ba2a8[_0x5c5c6b(0x412,_0x21c3a2._0x1e8f20,_0x21c3a2._0x59f570,0x345)](_0x36c000),_0x2eb3e0[_0x4fba6d(_0x21c3a2._0x209df3,-_0x21c3a2._0x8a7bb,_0x21c3a2._0x2d0182,_0x21c3a2._0x411388)]);return yield createToolOutput(formatSymbols(_0x4b15c5),{'operation':_0x297fec,'filePath':_0x466adf,'symbols':toStructured(_0x4b15c5)}),void 0x0;}case _0x4fba6d(_0x21c3a2._0x10cb04,-0x25,-_0x21c3a2._0x337d03,_0x21c3a2._0x111a65):{const _0x569c1e=await awaitWithAbort2(_0x4ba2a8[_0x4fba6d(0x48,_0x21c3a2._0x2f22bc,-_0x21c3a2._0x3d97dc,-_0x21c3a2._0x4ff4ad)](_0x36c000),_0x2eb3e0[_0x5c5c6b(_0x21c3a2._0x1eb95b,_0x21c3a2._0x289a4c,0x529,_0x21c3a2._0x539582)]);return yield createToolOutput(formatIncomingCalls(_0x569c1e),{'operation':_0x297fec,'filePath':_0x466adf,'calls':toStructured(_0x569c1e)}),void 0x0;}case _0x4fba6d(-_0x21c3a2._0x26d701,-0x164,_0x21c3a2._0x3d7de3,-0x1bf):{const _0x35b253=await awaitWithAbort2(_0x4ba2a8[_0x4fba6d(-_0x21c3a2._0x53e029,-_0x21c3a2._0xe6990a,0x13b,-0x98)](_0x36c000),_0x2eb3e0['signal']);return yield createToolOutput(formatOutgoingCalls(_0x35b253),{'operation':_0x297fec,'filePath':_0x466adf,'calls':toStructured(_0x35b253)}),void 0x0;}}}});}import*as _0xf4fa24 from'path';function buildDescription(_0x461f22){const _0x2f643f={_0x2075ee:0x47e,_0x51f964:0x4f5,_0x4315b0:0x639,_0x4f7fb9:0x1d1,_0x56d152:0x303,_0x4183c8:0x11d,_0x26b856:0x3f,_0x45708c:0x458,_0x137540:0x127,_0xfb7981:0x331,_0x1090b0:0xadf,_0x50ff67:0xa09,_0x173ba9:0x8ab,_0x12992f:0x6a7,_0x3e723a:0x42d,_0x5002c6:0x22a},_0x394dae={_0x9a0d1:0x92,_0x21c38a:0xbc,_0x26f5de:0x2cb};function _0x3d72cd(_0x1c038d,_0x417b4c,_0x5af18d,_0x452ea2){return _0x1957f6(_0x1c038d-0x25,_0x417b4c-0x6e,_0x452ea2,_0x5af18d-0x45e);}if(_0x461f22[_0x5ef116(_0x2f643f._0x2075ee,_0x2f643f._0x51f964,_0x2f643f._0x4315b0,0x760)]===0x0)return _0x5ef116(_0x2f643f._0x4f7fb9,0x45f,_0x2f643f._0x56d152,_0x2f643f._0x4183c8);function _0x5ef116(_0x581baf,_0x423d94,_0x5f56cc,_0x5cbef8){return _0x39a391(_0x581baf-_0x394dae._0x9a0d1,_0x423d94-_0x394dae._0x21c38a,_0x5f56cc- -_0x394dae._0x26f5de,_0x5cbef8);}const _0x12cccc=['Load\x20a\x20skill\x20to\x20get\x20detailed\x20instructions\x20for\x20a\x20specific\x20task.',_0x5ef116(0x49d,_0x2f643f._0x26b856,0x282,0x3e8),_0x5ef116(_0x2f643f._0x45708c,_0x2f643f._0x137540,_0x2f643f._0xfb7981,0x480),_0x3d72cd(_0x2f643f._0x1090b0,_0x2f643f._0x50ff67,_0x2f643f._0x173ba9,_0x2f643f._0x12992f),..._0x461f22['map'](_0x37e81b=>'-\x20'+_0x37e81b['name']+':\x20'+_0x37e81b['description'])];return _0x12cccc[_0x5ef116(0x2bf,_0x2f643f._0x3e723a,0x346,_0x2f643f._0x5002c6)]('\x0a');}function createLoadSkillTool(_0x169aae){const _0x5da203={_0x349183:0x102,_0x7b5c92:0x2f2,_0x36e002:0x40d,_0x81af2d:0x34a,_0x43dfaa:0x14b,_0x2cae07:0x390,_0x44cae2:0x544,_0x3730c1:0x55c,_0x1ebd0e:0x48f},_0x29344a={_0xbe77f1:0x4f8,_0x56cf79:0x63d,_0x2533be:0xa3,_0x4349a7:0x1f0,_0x38143d:0x16f,_0x552160:0xb1,_0x53e075:0x4c7,_0x3652c1:0x4fc,_0xa6af42:0x552,_0x3a1386:0x638,_0x241948:0x752,_0x55c5ef:0x8f4,_0x31fdc1:0x5af,_0x3de891:0x70c,_0x478acd:0x45c,_0x5ca901:0x42d,_0x520d2d:0x4b5,_0x396c06:0x1b6,_0x19432b:0x2bf,_0x43ac30:0x25e,_0x5dbb3a:0x21b,_0x17b761:0x10c,_0x68871a:0x234,_0x4b87ea:0x1ef,_0x1beb9e:0x1b0,_0x165c35:0x599,_0x28b6b6:0x516,_0x3c7744:0x53c,_0x5175d3:0x370,_0x53635a:0x8b2,_0x7e43bb:0x53d,_0x5cfedf:0x4,_0x393244:0x199,_0x59f1d8:0x133,_0xe7348a:0xc8,_0x4dbeeb:0x26c,_0x5d4e99:0x310,_0x164e1a:0xeb},_0x48317d={_0x244605:0x180},_0x5b06a5={_0x29b1de:0x1f,_0x1a0a0d:0x15b,_0xb8f7e0:0x312},_0x4cfb01={_0x45ace7:0x8d};function _0x24d709(_0x3644e9,_0x86d60b,_0x1e120f,_0x5432aa){return _0x39a391(_0x3644e9-0x18d,_0x86d60b-_0x4cfb01._0x45ace7,_0x5432aa- -0x379,_0x3644e9);}const _0x3e960b=new Map(_0x169aae['skills'][_0x24d709(0x4d1,_0x5da203._0x349183,0x394,0x2a7)](_0xca829f=>[_0xca829f[_0x283967(0x4b8,0x577,0x45a,0x4a2)],_0xca829f])),_0x4be24a=buildDescription(_0x169aae[_0x24d709(0x4ec,_0x5da203._0x7b5c92,_0x5da203._0x36e002,_0x5da203._0x81af2d)]);function _0x283967(_0x577db8,_0x4cadcb,_0x41a9cd,_0x75c63e){return _0x1957f6(_0x577db8-_0x5b06a5._0x29b1de,_0x4cadcb-_0x5b06a5._0x1a0a0d,_0x577db8,_0x41a9cd-_0x5b06a5._0xb8f7e0);}return defineTool({'name':'LoadSkill','permissionClass':_0x283967(_0x5da203._0x43dfaa,0x489,_0x5da203._0x2cae07,0x4c9),'description':_0x4be24a,'inputSchema':{'type':_0x283967(0x49b,0x3f2,_0x5da203._0x44cae2,0x45a),'properties':{'name':{'type':'string'}},'required':[_0x283967(_0x5da203._0x3730c1,0x4b1,0x45a,_0x5da203._0x1ebd0e)]},async *'execute'(_0x606cbc){const _0xb86c13={_0x370bca:0x1aa,_0x4b1169:0x6d};function _0x4fd91f(_0x3d69df,_0x167548,_0x3fc363,_0x2a8d9d){return _0x283967(_0x3fc363,_0x167548-_0xb86c13._0x370bca,_0x3d69df-_0xb86c13._0x4b1169,_0x2a8d9d-0xc9);}const _0x4c3579=_0x3e960b[_0x4fd91f(_0x29344a._0xbe77f1,_0x29344a._0x56cf79,0x41b,0x6c5)](_0x606cbc[_0x4fd91f(0x4c7,0x364,0x635,0x4cf)]);if(!_0x4c3579){const _0x6cb809=Array['from'](_0x3e960b['keys']())[_0x3adc6d(-0x183,0xe6,_0x29344a._0x2533be,-0xc8)](',\x20');throw new ToolExecutionError(_0x3adc6d(-_0x29344a._0x4349a7,-_0x29344a._0x38143d,0x96,-_0x29344a._0x552160)+_0x606cbc[_0x4fd91f(_0x29344a._0x53e075,_0x29344a._0x3652c1,_0x29344a._0xa6af42,_0x29344a._0x3a1386)]+_0x4fd91f(_0x29344a._0x241948,0x861,_0x29344a._0x55c5ef,_0x29344a._0x31fdc1)+_0x6cb809,{'name':_0x606cbc[_0x4fd91f(0x4c7,0x43f,0x700,_0x29344a._0x3de891)]});}function _0x3adc6d(_0x219248,_0xbb56a5,_0x496db3,_0x2cde73){return _0x24d709(_0x496db3,_0xbb56a5-0x14d,_0x496db3-_0x48317d._0x244605,_0x2cde73- -0x360);}const _0x359ef8=await _0x169aae[_0x4fd91f(0x3ee,_0x29344a._0x478acd,_0x29344a._0x5ca901,0x475)](_0x4c3579),_0x523725=_0x4c3579[_0x4fd91f(_0x29344a._0x520d2d,0x300,0x363,0x6d4)]['directory']??_0xf4fa24[_0x3adc6d(-_0x29344a._0x396c06,-_0x29344a._0x19432b,-_0x29344a._0x43ac30,-_0x29344a._0x5dbb3a)](_0x4c3579[_0x3adc6d(_0x29344a._0x17b761,-0x50,-0x18d,-0x9e)][_0x3adc6d(-0x348,-_0x29344a._0x68871a,-_0x29344a._0x4b87ea,-_0x29344a._0x1beb9e)]),_0x50fade=[_0x4fd91f(0x5de,0x7de,_0x29344a._0x165c35,0x488)+_0x359ef8[_0x4fd91f(0x4c7,_0x29344a._0x28b6b6,_0x29344a._0x3c7744,_0x29344a._0x5175d3)],'',_0x359ef8['instructions'],'',_0x4fd91f(0x37b,0x2c4,0x346,0x47b),_0x4fd91f(0x78e,0x911,_0x29344a._0x53635a,_0x29344a._0x7e43bb)+_0x4c3579[_0x3adc6d(_0x29344a._0x5cfedf,_0x29344a._0x393244,_0x29344a._0x59f1d8,-0x9e)][_0x3adc6d(-_0x29344a._0xe7348a,-_0x29344a._0x4dbeeb,-0x286,-0x1b0)],'Base\x20directory:\x20'+_0x523725][_0x3adc6d(-0x1e7,0xde,-0x201,-0xc8)]('\x0a');return yield createToolOutput(_0x50fade,{'id':_0x359ef8['id'],'name':_0x359ef8['name'],'path':_0x4c3579[_0x4fd91f(0x4b5,_0x29344a._0x5d4e99,0x362,0x648)][_0x3adc6d(-0xe4,-0x93,-_0x29344a._0x164e1a,-0x1b0)],'baseDirectory':_0x523725}),void 0x0;}});}var TODO_STATUSES=new Set([_0x1957f6(0x2d9,0x2ce,0x388,0x3e3),_0x1957f6(0x1a4,0x53d,0x268,0x3c7),_0x39a391(0x39e,0x607,0x533,0x6e5)]),TODO_PRIORITIES=new Set([_0x39a391(0x7dc,0x70f,0x63e,0x692),_0x39a391(0x876,0x8de,0x7fc,0x6c8),_0x1957f6(0x2c4,0x418,0x661,0x423)]);function isTodoStatus(_0x19d533){const _0x3b4252={_0x1ff83c:0x138,_0x2c5f29:0xed,_0x5df8f4:0x110,_0x2e1cfc:0x1cc},_0x752a75={_0x3e09f6:0x16d,_0x4b7745:0x6b},_0x2892cb={_0x278d27:0x5cd};function _0x8f1d5d(_0x584736,_0x4703ed,_0x58a020,_0x38a920){return _0x39a391(_0x584736-0x5e,_0x4703ed-0x6d,_0x584736- -_0x2892cb._0x278d27,_0x58a020);}function _0x37b809(_0x40b4d2,_0x967ee4,_0x720323,_0x221f6a){return _0x1957f6(_0x40b4d2-_0x752a75._0x3e09f6,_0x967ee4-_0x752a75._0x4b7745,_0x221f6a,_0x720323-0x326);}return typeof _0x19d533===_0x8f1d5d(_0x3b4252._0x1ff83c,0x71,-_0x3b4252._0x2c5f29,0x292)&&TODO_STATUSES[_0x8f1d5d(-_0x3b4252._0x5df8f4,-0x22,-_0x3b4252._0x2e1cfc,-0x18)](_0x19d533);}function isTodoPriority(_0x446a9d){const _0x485b52={_0x17ef47:0x3cf,_0x14dcb8:0x377,_0x4b3165:0x3e5,_0x811cb9:0x12f},_0x3c1616={_0x331318:0x135},_0x2ef003={_0x390827:0x182,_0x2223a8:0x177};function _0x66ce9e(_0x2bfa38,_0x249878,_0xc6dcd8,_0x151921){return _0x1957f6(_0x2bfa38-0x71,_0x249878-_0x2ef003._0x390827,_0x2bfa38,_0x249878-_0x2ef003._0x2223a8);}function _0xc0e2af(_0x425009,_0x492783,_0x2ce068,_0x44fa7f){return _0x39a391(_0x425009-0x13e,_0x492783-_0x3c1616._0x331318,_0x425009- -0x1dd,_0x44fa7f);}return typeof _0x446a9d===_0x66ce9e(_0x485b52._0x17ef47,_0x485b52._0x14dcb8,0x11a,_0x485b52._0x4b3165)&&TODO_PRIORITIES[_0x66ce9e(0x214,_0x485b52._0x811cb9,0x27b,0xf6)](_0x446a9d);}var TodoStore=class{[_0x1957f6(0x131,-0x15,0x210,0x1ed)]=new Map();[_0x1957f6(-0x94,-0x1b9,-0x214,-0x45)](_0x3d7c2b){const _0x936710={_0x49c1d3:0x336,_0x5196b3:0x46a,_0x4c858a:0xb7,_0xbc1e2c:0x199,_0x95a5c3:0x52,_0x328599:0xae},_0x4337fd={_0x3df3ae:0x1cb},_0x534dd8={_0x116504:0xf8,_0x37df47:0x180};function _0xd0d862(_0x5ea063,_0x3d742a,_0x441729,_0x393e96){return _0x1957f6(_0x5ea063-0x6e,_0x3d742a-_0x534dd8._0x116504,_0x441729,_0x393e96-_0x534dd8._0x37df47);}function _0x2d9773(_0x50ccda,_0x2af52c,_0x11e328,_0x325391){return _0x1957f6(_0x50ccda-0x165,_0x2af52c-0x20,_0x50ccda,_0x11e328- -_0x4337fd._0x3df3ae);}return this[_0xd0d862(_0x936710._0x49c1d3,_0x936710._0x5196b3,0x4c3,0x36d)][_0x2d9773(-_0x936710._0x4c858a,_0x936710._0xbc1e2c,-_0x936710._0x95a5c3,-_0x936710._0x328599)](_0x3d7c2b)??[];}[_0x1957f6(0x363,0x421,0x31f,0x459)](_0x884ca8,_0x324fd0){const _0x1850c4={_0x1e4127:0x991,_0x2888ed:0x79c},_0x174383={_0x7483a3:0x1b6,_0x58f7f8:0xdd,_0x181a21:0x374};function _0x13bd65(_0x4ea3a8,_0x6a82f4,_0x43b25c,_0x5b58e1){return _0x1957f6(_0x4ea3a8-_0x174383._0x7483a3,_0x6a82f4-_0x174383._0x58f7f8,_0x6a82f4,_0x43b25c-_0x174383._0x181a21);}this['todosBySession'][_0x13bd65(0x5dc,_0x1850c4._0x1e4127,_0x1850c4._0x2888ed,0x7ef)](_0x884ca8,_0x324fd0);}[_0x1957f6(0xb1,-0x60,0x119,0x1a2)](_0xffff7c){const _0x4b2dfb={_0x4d6309:0x20d,_0x3acca3:0xcf,_0x192ec2:0x295,_0x306456:0xc9,_0x3dc0a9:0x31d,_0x280052:0x21f,_0x1c3966:0x2bf,_0x55bccf:0x511,_0x37bb8e:0x1c4,_0x23d707:0x392},_0x319fe4={_0x4c5a1e:0x63},_0x351216={_0xb8745f:0xd9,_0x5d8a7a:0x60d},_0x1205c3=this['getTodos'](_0xffff7c),_0x3cb6a4={'total':_0x1205c3[_0x1eb954(_0x4b2dfb._0x4d6309,0x425,_0x4b2dfb._0x3acca3,0xe0)],'pending':0x0,'inProgress':0x0,'completed':0x0};function _0x2f8dad(_0xf30dd4,_0x537801,_0x98c38f,_0x5a0e77){return _0x39a391(_0xf30dd4-_0x351216._0xb8745f,_0x537801-0x112,_0x98c38f- -_0x351216._0x5d8a7a,_0x537801);}for(const _0xcdcf07 of _0x1205c3){if(_0xcdcf07[_0x2f8dad(0x1b6,0x1a0,0x35b,0x14b)]==='pending')_0x3cb6a4[_0x2f8dad(0x253,_0x4b2dfb._0x192ec2,0x2db,_0x4b2dfb._0x306456)]+=0x1;else{if(_0xcdcf07[_0x2f8dad(_0x4b2dfb._0x3dc0a9,0x50e,0x35b,_0x4b2dfb._0x280052)]===_0x2f8dad(0x3fc,0x2f1,_0x4b2dfb._0x1c3966,_0x4b2dfb._0x55bccf))_0x3cb6a4['inProgress']+=0x1;else _0x3cb6a4[_0x1eb954(-_0x4b2dfb._0x37bb8e,-0x33b,-0x1ab,-_0x4b2dfb._0x23d707)]+=0x1;}}function _0x1eb954(_0x326e63,_0x6e3927,_0x1f93e6,_0x4d3c2c){return _0x39a391(_0x326e63-_0x319fe4._0x4c5a1e,_0x6e3927-0x1e4,_0x326e63- -0x6f7,_0x6e3927);}return _0x3cb6a4;}};function validateTodos(_0xf18dc9){const _0x3c53a2={_0x1bba1a:0x389,_0x3d0217:0x5d2,_0x4448cf:0x3c1,_0x5c4e1f:0x407,_0x306436:0x259,_0x526ca6:0x1f2,_0x47e061:0x2f1,_0x5c426b:0x216,_0x298a67:0x5d7,_0x5932df:0x3cc,_0x59ecd2:0x60a,_0x3d7483:0x402,_0x3b818b:0x284,_0x1e6558:0x326,_0x56bef7:0x4ac,_0x869c4e:0x2b4,_0xee6de2:0x43,_0x18d105:0x4dc,_0x588ee8:0x67e,_0x149729:0x32e,_0x110f92:0x3db,_0x5c179e:0x2b0,_0x362e24:0x3f3,_0x5580c1:0x45e,_0x36020c:0x15b,_0x556348:0x442,_0x31eefa:0x477,_0x525d4d:0x39c,_0x1c810f:0xc8,_0x5f5518:0x189,_0x362dcd:0x3bf,_0x2b4463:0x246,_0x1f7d0f:0x736,_0x55612a:0x494,_0x38b5d7:0x3db,_0x552374:0x47c,_0x33a961:0x34c,_0x3ef6c8:0x4fb,_0x2c857b:0x5cd,_0x5c4886:0x4c4,_0x32e510:0x216,_0x51d162:0x29a,_0x30a6af:0x1be,_0xcfc69e:0x617,_0x26d5fe:0x4a8,_0x47c216:0x4ab,_0x19bd08:0x568,_0x1ca506:0x39f,_0x5470e7:0x4db,_0xd6e69c:0x5e7,_0x4ba2ee:0x3a4,_0x4e7753:0x1db,_0x3339d6:0x16c,_0x2f256a:0x612,_0x21cbcf:0x6e9,_0x375608:0x273,_0x3b5327:0x4d6},_0x2e12e9={_0x32a5f6:0x7a},_0x2eb772={_0xd4c714:0xa4,_0x5872e4:0x1cb,_0x3d13f4:0x428};if(!Array['isArray'](_0xf18dc9[_0x4e886c(_0x3c53a2._0x1bba1a,0x3c1,0x341,0x1fe)])||_0xf18dc9[_0x4e886c(_0x3c53a2._0x3d0217,_0x3c53a2._0x4448cf,_0x3c53a2._0x5c4e1f,0x26a)]['length']===0x0)throw new ToolExecutionError('Parameter\x20\x22todos\x22\x20must\x20be\x20a\x20non-empty\x20array',{'error':'invalid_todos'});function _0x32ec92(_0x1601cb,_0x262663,_0x59d383,_0x57b796){return _0x39a391(_0x1601cb-_0x2eb772._0xd4c714,_0x262663-_0x2eb772._0x5872e4,_0x262663- -_0x2eb772._0x3d13f4,_0x59d383);}for(let _0x1fa42b=0x0;_0x1fa42b<_0xf18dc9[_0x32ec92(_0x3c53a2._0x306436,_0x3c53a2._0x526ca6,_0x3c53a2._0x47e061,_0x3c53a2._0x5c426b)][_0x4e886c(0x898,0x6ab,0x727,_0x3c53a2._0x298a67)];_0x1fa42b+=0x1){const _0x4024e2=_0xf18dc9['todos'][_0x1fa42b];if(!_0x4024e2||typeof _0x4024e2!==_0x32ec92(_0x3c53a2._0x5932df,0x30f,0x3a5,0x3b9))throw new ToolExecutionError(_0x32ec92(0x3c0,0x3db,0x32d,_0x3c53a2._0x59ecd2)+(_0x1fa42b+0x1)+':\x20todo\x20item\x20is\x20required',{'error':_0x32ec92(0x429,_0x3c53a2._0x3d7483,0x272,_0x3c53a2._0x3b818b)});if(typeof _0x4024e2['id']!==_0x4e886c(_0x3c53a2._0x1e6558,_0x3c53a2._0x56bef7,0x442,_0x3c53a2._0x869c4e)||_0x4024e2['id'][_0x32ec92(0x319,0x189,0x7d,-_0x3c53a2._0xee6de2)]()[_0x32ec92(0x2a5,_0x3c53a2._0x18d105,0x36e,_0x3c53a2._0x588ee8)]===0x0)throw new ToolExecutionError(_0x32ec92(_0x3c53a2._0x149729,_0x3c53a2._0x110f92,0x2e4,_0x3c53a2._0x5c179e)+(_0x1fa42b+0x1)+_0x4e886c(_0x3c53a2._0x362e24,_0x3c53a2._0x5580c1,0x673,0x228),{'error':_0x32ec92(_0x3c53a2._0x36020c,0x192,0xdb,0x2f5)});if(typeof _0x4024e2['content']!==_0x32ec92(_0x3c53a2._0x556348,0x2dd,_0x3c53a2._0x31eefa,0x2f2)||_0x4024e2[_0x4e886c(0x36e,0x2d5,0xa7,_0x3c53a2._0x525d4d)][_0x32ec92(-_0x3c53a2._0x1c810f,_0x3c53a2._0x5f5518,_0x3c53a2._0x362dcd,_0x3c53a2._0x2b4463)]()[_0x4e886c(0x794,0x6ab,_0x3c53a2._0x1f7d0f,_0x3c53a2._0x55612a)]===0x0)throw new ToolExecutionError(_0x32ec92(0x581,_0x3c53a2._0x38b5d7,_0x3c53a2._0x552374,_0x3c53a2._0x33a961)+(_0x1fa42b+0x1)+_0x4e886c(0x41e,0x571,0x4e4,0x7c9),{'error':_0x4e886c(0x312,0x465,0x221,_0x3c53a2._0x3ef6c8)});if(!isTodoStatus(_0x4024e2[_0x32ec92(0x562,0x540,_0x3c53a2._0x2c857b,0x718)]))throw new ToolExecutionError(_0x32ec92(_0x3c53a2._0x5c4886,0x3db,_0x3c53a2._0x32e510,_0x3c53a2._0x51d162)+(_0x1fa42b+0x1)+_0x4e886c(_0x3c53a2._0x30a6af,0x2e3,0x2b7,0x41e),{'error':_0x32ec92(_0x3c53a2._0xcfc69e,_0x3c53a2._0x26d5fe,0x2c9,0x2df)});if(!isTodoPriority(_0x4024e2[_0x4e886c(_0x3c53a2._0x47c216,0x67b,0x4fd,0x44b)]))throw new ToolExecutionError(_0x4e886c(_0x3c53a2._0x19bd08,0x5aa,0x61f,_0x3c53a2._0x1ca506)+(_0x1fa42b+0x1)+_0x32ec92(_0x3c53a2._0x5470e7,0x47b,_0x3c53a2._0xd6e69c,_0x3c53a2._0x4ba2ee),{'error':_0x32ec92(0xf8,0x2e5,0x351,0xa2)});}const _0x38662f=_0xf18dc9[_0x4e886c(0x2ff,0x3c1,_0x3c53a2._0x4e7753,_0x3c53a2._0x3339d6)]['map'](_0x47aa29=>_0x47aa29['id']);function _0x4e886c(_0x378879,_0x4f5cda,_0x4d8a6c,_0x464f79){return _0x1957f6(_0x378879-0xad,_0x4f5cda-_0x2e12e9._0x32a5f6,_0x4d8a6c,_0x4f5cda-0x2ac);}if(new Set(_0x38662f)['size']!==_0x38662f[_0x32ec92(0x5d1,_0x3c53a2._0x18d105,_0x3c53a2._0x2f256a,_0x3c53a2._0x21cbcf)])throw new ToolExecutionError(_0x4e886c(_0x3c53a2._0x375608,0x39f,0x221,_0x3c53a2._0x3b5327),{'error':_0x32ec92(0x2ad,0x27e,0x51,0x164)});}function createStatsProgress(_0x2e5417){const _0x39d01a={_0x7b6a1b:0x1c6,_0x545840:0x1f8,_0x2acaf3:0x5a6,_0x375826:0x330,_0x4a52ae:0x465,_0x85d46c:0x43a,_0x152097:0x417,_0x40cc4a:0x30d,_0x4c24e2:0x225},_0x12d00e={_0x9db5e8:0x1d2},_0x57ae32={_0x3c3563:0x1a2};function _0x2b0634(_0x442483,_0x3dd522,_0x3a355b,_0x125a0b){return _0x39a391(_0x442483-_0x57ae32._0x3c3563,_0x3dd522-0xb0,_0x125a0b- -0x11c,_0x3a355b);}function _0x583e0f(_0x17bf6f,_0x4ff794,_0x1ee195,_0x10dc6f){return _0x39a391(_0x17bf6f-0x55,_0x4ff794-_0x12d00e._0x9db5e8,_0x1ee195- -0x52b,_0x10dc6f);}return _0x2e5417[_0x583e0f(0x85,_0x39d01a._0x7b6a1b,_0x39d01a._0x545840,0x77)]>0x0?Math[_0x2b0634(_0x39d01a._0x2acaf3,_0x39d01a._0x375826,0x43d,_0x39d01a._0x4a52ae)](_0x2e5417[_0x2b0634(0x635,_0x39d01a._0x85d46c,0x3aa,_0x39d01a._0x152097)]/_0x2e5417[_0x583e0f(_0x39d01a._0x40cc4a,_0x39d01a._0x4c24e2,0x1f8,0x19c)]*0x64)+'%':'0%';}function createReminderItems(_0x3e23a9){const _0x5b0a8d={_0x3a583a:0x158,_0x43b92e:0x249},_0xc40259={_0x35abd3:0x88,_0x50369f:0x2ad};function _0x123592(_0x3428f4,_0x5a6626,_0x260753,_0x8c828d){return _0x39a391(_0x3428f4-0x1de,_0x5a6626-_0xc40259._0x35abd3,_0x8c828d- -_0xc40259._0x50369f,_0x260753);}function _0x48481d(_0x4626b5,_0x43d48d,_0x4a8ab6,_0xbe09be){return _0x39a391(_0x4626b5-0xa4,_0x43d48d-0xc4,_0x4a8ab6- -0x2b8,_0x4626b5);}return _0x3e23a9[_0x48481d(0x4fa,_0x5b0a8d._0x3a583a,0x368,_0x5b0a8d._0x43b92e)](_0x468502=>({'content':_0x468502[_0x123592(0x122,0x39a,0x84,0x281)],'status':_0x468502[_0x123592(0x55e,0x49a,0x7ea,0x6bb)],'id':_0x468502['id']}));}function createStructuredResult(_0x363be5,_0x49f770,_0x46cee4,_0x7736fd){const _0x29b11b={_0x56e1c0:0x64f,_0xb279be:0x412,_0x9cca77:0x783,_0x5158da:0x5d3},_0x284fae={_0x3903b9:0x1e9,_0x209786:0x534},_0x7a3db8={_0x66638f:0x147,_0x52ccb6:0x1d4};function _0x42564e(_0x2b7e8e,_0x17428a,_0xd64478,_0x65175f){return _0x1957f6(_0x2b7e8e-_0x7a3db8._0x66638f,_0x17428a-0x175,_0xd64478,_0x17428a-_0x7a3db8._0x52ccb6);}function _0x133de8(_0x3a971,_0x3f40dd,_0x475fd9,_0x4c2099){return _0x1957f6(_0x3a971-0x53,_0x3f40dd-_0x284fae._0x3903b9,_0x4c2099,_0x3f40dd-_0x284fae._0x209786);}return{'allCompleted':_0x7736fd,'items':_0x49f770[_0x133de8(0x4ac,_0x29b11b._0x56e1c0,_0x29b11b._0xb279be,0x4fe)](_0x3030e4=>({'id':_0x3030e4['id'],'content':_0x3030e4[_0x42564e(0xcb,0x1fd,0x4f,0x146)],'status':_0x3030e4[_0x42564e(0x702,0x637,0x474,0x53c)],'priority':_0x3030e4['priority'],'createdAt':_0x3030e4['createdAt']})),'progress':createStatsProgress(_0x46cee4),'recentChanges':!![],'sessionId':_0x363be5,'stats':_0x46cee4,'todosWritten':_0x49f770[_0x42564e(_0x29b11b._0x9cca77,_0x29b11b._0x5158da,0x787,0x388)]};}function createOutputText(_0x2f369d,_0x33af7b){const _0xbaeba9={_0x49626f:0x88b,_0x536cd7:0x272,_0x363349:0x4e,_0x3a68e8:0x55b,_0x54b0ea:0x2aa,_0x5c9caf:0x283},_0x4f33f4={_0x38e9e8:0x1f3},_0x4c6f9c=JSON['stringify'](createReminderItems(_0x2f369d));if(_0x33af7b)return _0x41c1f0(_0xbaeba9._0x49626f,0x95c,0x682,0xa76)+_0x2f369d['length']+_0x3066e6(0x36d,_0xbaeba9._0x536cd7,0x18c,_0xbaeba9._0x363349)+_0x4c6f9c+_0x3066e6(_0xbaeba9._0x3a68e8,0x3eb,0x3e9,_0xbaeba9._0x54b0ea);function _0x41c1f0(_0x265224,_0x4661bd,_0x23e650,_0x476eef){return _0x1957f6(_0x265224-0x10b,_0x4661bd-0x1d8,_0x23e650,_0x265224-0x462);}function _0x3066e6(_0x4a190c,_0x279608,_0x171e12,_0x3f2a31){return _0x39a391(_0x4a190c-_0x4f33f4._0x38e9e8,_0x279608-0xa1,_0x279608- -0x286,_0x3f2a31);}return _0x3066e6(0x86,_0xbaeba9._0x5c9caf,0x1f2,_0xbaeba9._0x54b0ea)+_0x4c6f9c+'.\x0a</system-reminder>';}function createTodoWriteTool(_0x2cb359=new TodoStore()){const _0x59cb8f={_0x14e29a:0x903,_0x4f06c0:0x73f,_0x161839:0x544,_0x3058c0:0x6b8,_0x28c4db:0x18,_0x178604:0x155,_0x1223d5:0xa4,_0x35fef5:0x849,_0x421fbc:0x722,_0x591998:0x4b,_0x2bd729:0x687,_0x36d8da:0x6f0,_0x8ca6ec:0xc2,_0x499c74:0xde,_0x563363:0xdb,_0xb85ae:0x339,_0x4edb64:0xd9,_0x4d2bc3:0xeb,_0x1f118a:0x1a,_0x116c6a:0xa3,_0x1fa36d:0xf9,_0x1493fb:0x39a,_0x12b359:0x2a1,_0xdeb364:0x341,_0x69969f:0x861,_0x5e79a1:0xb16,_0x13faf5:0x8bf,_0x281637:0x826,_0x70fa84:0x7c8,_0x2ef5a5:0x5ad,_0x133933:0x605},_0x4c53d6={_0x2b9cd3:0x4e9,_0xf0ed8d:0x55f,_0x562f50:0x4fd,_0x582584:0x614,_0x347666:0x448,_0x5398b9:0x829,_0x458daf:0x1c3,_0x3c2717:0x21b,_0x557682:0xa6,_0x3fc5a8:0x7a5,_0x28cce1:0x66f,_0x1a4ff1:0x507,_0x2eba68:0x2c8,_0x6e4545:0x4c4,_0x946fba:0x5ef,_0x593dda:0x84c,_0x52c3cd:0x75d,_0x126f2f:0x7cd,_0x22bf74:0x900,_0xe8e093:0x92c},_0x3d3ba0={_0xe7512f:0xa6},_0x46557a={_0x338abc:0x42,_0xac65d7:0x7b},_0xc67ba={_0x197a09:0x164};function _0x504a6d(_0x4703de,_0x3575fd,_0x5ea1c7,_0x2d50b2){return _0x39a391(_0x4703de-0xfe,_0x3575fd-_0xc67ba._0x197a09,_0x2d50b2- -0x627,_0x5ea1c7);}function _0x1dcdf4(_0x28a995,_0x1f42df,_0x56a15c,_0x57a27b){return _0x39a391(_0x28a995-_0x46557a._0x338abc,_0x1f42df-_0x46557a._0xac65d7,_0x57a27b- -0x15,_0x28a995);}return defineTool({'name':_0x1dcdf4(_0x59cb8f._0x14e29a,_0x59cb8f._0x4f06c0,_0x59cb8f._0x161839,_0x59cb8f._0x3058c0),'permissionClass':_0x504a6d(_0x59cb8f._0x28c4db,-0x1be,_0x59cb8f._0x178604,-_0x59cb8f._0x1223d5),'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':'object','properties':{'todos':{'type':_0x1dcdf4(0x3dd,0x6f4,0x45c,0x591),'items':{'type':_0x1dcdf4(_0x59cb8f._0x35fef5,0x855,0x959,_0x59cb8f._0x421fbc),'properties':{'content':{'type':_0x504a6d(0xfb,-_0x59cb8f._0x591998,-0x138,0xde)},'status':{'type':_0x1dcdf4(0x4a8,_0x59cb8f._0x2bd729,0x74a,_0x59cb8f._0x36d8da)},'priority':{'type':_0x504a6d(0xf,0x8c,-_0x59cb8f._0x8ca6ec,_0x59cb8f._0x499c74)},'id':{'type':_0x504a6d(_0x59cb8f._0x563363,-0xb7,_0x59cb8f._0xb85ae,0xde)},'createdAt':{'type':_0x504a6d(-_0x59cb8f._0x4edb64,-0x79,_0x59cb8f._0x4d2bc3,0xde)}},'required':[_0x504a6d(-_0x59cb8f._0x1f118a,-0x220,-_0x59cb8f._0x116c6a,-_0x59cb8f._0x1fa36d),_0x504a6d(_0x59cb8f._0x1493fb,0x337,_0x59cb8f._0x12b359,_0x59cb8f._0xdeb364),_0x1dcdf4(0x9ca,_0x59cb8f._0x69969f,_0x59cb8f._0x5e79a1,_0x59cb8f._0x13faf5),'id']}}},'required':[_0x1dcdf4(_0x59cb8f._0x281637,_0x59cb8f._0x70fa84,_0x59cb8f._0x2ef5a5,_0x59cb8f._0x133933)]},async *'execute'(_0xb8a333,_0x47761a){function _0xe5c542(_0x4ce556,_0x423839,_0x240c03,_0x3bb7a1){return _0x504a6d(_0x4ce556-0x138,_0x423839-0x10,_0x423839,_0x4ce556-0x1d0);}const _0x1be613=_0xb8a333;function _0x86c53(_0x22af9d,_0x19065d,_0x5cda5c,_0x14d530){return _0x1dcdf4(_0x14d530,_0x19065d-0x9b,_0x5cda5c-_0x3d3ba0._0xe7512f,_0x22af9d- -0xa3);}validateTodos(_0x1be613);const _0x40d2d8=_0x47761a[_0x86c53(_0x4c53d6._0x2b9cd3,_0x4c53d6._0xf0ed8d,0x64f,_0x4c53d6._0x562f50)]||_0x86c53(_0x4c53d6._0x582584,0x619,0x77d,_0x4c53d6._0x347666),_0x79d40c=new Date()[_0x86c53(0x75e,_0x4c53d6._0x5398b9,0x8b1,0x604)](),_0x2c78e9=_0x1be613[_0xe5c542(_0x4c53d6._0x458daf,_0x4c53d6._0x3c2717,0x271,_0x4c53d6._0x557682)][_0x86c53(0x568,_0x4c53d6._0x3fc5a8,0x67c,_0x4c53d6._0x28cce1)](_0x2feb3a=>({'id':_0x2feb3a['id'],'content':_0x2feb3a[_0xe5c542(0xd7,0x9d,-0xf1,0x37)],'status':_0x2feb3a[_0x86c53(0x8b0,0x8f5,0xa4a,0x952)],'priority':_0x2feb3a[_0xe5c542(0x47d,0x63f,0x534,0x369)],'sessionId':_0x40d2d8,'createdAt':_0x2feb3a[_0xe5c542(0x298,0x332,0x12f,0x1db)]||_0x79d40c,'updatedAt':_0x79d40c}));_0x2cb359[_0xe5c542(_0x4c53d6._0x1a4ff1,0x5d0,_0x4c53d6._0x2eba68,_0x4c53d6._0x6e4545)](_0x40d2d8,_0x2c78e9);const _0x4cded6=_0x2cb359[_0x86c53(_0x4c53d6._0x946fba,0x446,0x746,0x595)](_0x40d2d8),_0x1c3b80=_0x2c78e9[_0x86c53(_0x4c53d6._0x593dda,_0x4c53d6._0x52c3cd,0x725,0x7c6)]>0x0&&_0x2c78e9[_0x86c53(_0x4c53d6._0x126f2f,_0x4c53d6._0x22bf74,_0x4c53d6._0xe8e093,0x975)](_0x1db692=>_0x1db692[_0xe5c542(0x511,0x42f,0x508,0x715)]===_0xe5c542(0xdc,0x2d7,0x258,0x199));return createToolOutput(createOutputText(_0x2c78e9,_0x1c3b80),createStructuredResult(_0x40d2d8,_0x2c78e9,_0x4cded6,_0x1c3b80));}});}var BackgroundBashStartError=class extends Error{constructor(_0x311e87){const _0x13ca72={_0x4c5313:0x54f,_0xadc557:0x3cd,_0x22d930:0x1ca,_0x4e41cb:0x346,_0x4ba62f:0x1df,_0x1f8cd8:0x1e0,_0x39103e:0x10a},_0x48c8dd={_0x24b5ff:0x97,_0x521e45:0xd1},_0x8e135b={_0x3b784f:0x26,_0x1036b7:0x12e};function _0x518cf5(_0x5c706c,_0xef96bd,_0x253106,_0x5398c8){return _0x39a391(_0x5c706c-_0x8e135b._0x3b784f,_0xef96bd-_0x8e135b._0x1036b7,_0xef96bd- -0x237,_0x5398c8);}function _0x484fb2(_0x3bd092,_0x2fa9b2,_0x58c167,_0x385d29){return _0x1957f6(_0x3bd092-_0x48c8dd._0x24b5ff,_0x2fa9b2-_0x48c8dd._0x521e45,_0x2fa9b2,_0x58c167- -0x142);}super(_0x311e87==='background-start-cancelled'?_0x518cf5(0x506,_0x13ca72._0x4c5313,_0x13ca72._0xadc557,0x41b):_0x484fb2(0x9,0x30e,_0x13ca72._0x22d930,_0x13ca72._0x4e41cb)),this[_0x484fb2(_0x13ca72._0x4ba62f,-_0x13ca72._0x1f8cd8,-0x5d,-_0x13ca72._0x39103e)]=_0x311e87,this['name']='BackgroundBashStartError';}};import{StringDecoder}from'string_decoder';import{spawn as _0x386c4b}from'child_process';function errorMessage(_0x5e8616){const _0x28bffe={_0x2762ef:0x59c,_0x42e0e2:0x657,_0x2424c1:0x515},_0x1b5c7d={_0x36e6d3:0x1e8,_0x4957f2:0x33f};function _0x47a5b2(_0x13df40,_0x502408,_0x4392cd,_0x11860b){return _0x39a391(_0x13df40-_0x1b5c7d._0x36e6d3,_0x502408-0x55,_0x4392cd- -_0x1b5c7d._0x4957f2,_0x502408);}return _0x5e8616 instanceof Error?_0x5e8616[_0x47a5b2(_0x28bffe._0x2762ef,_0x28bffe._0x42e0e2,0x628,_0x28bffe._0x2424c1)]:String(_0x5e8616);}function isNotFound(_0x48708a){const _0x517cca={_0x3c1034:0x23f,_0x23a2c1:0x270,_0x5bd1b7:0xf2,_0x564e03:0x30c,_0x37bfef:0x64,_0x592e08:0x8c,_0x3b8d7a:0x1b3},_0x1dffed={_0x531362:0x16d};function _0x2c93f6(_0x399961,_0x4eb7eb,_0x1c4b67,_0xddd2bc){return _0x39a391(_0x399961-0x82,_0x4eb7eb-0xb8,_0x1c4b67- -0x14d,_0xddd2bc);}function _0x10e373(_0xdc28ab,_0x27d645,_0x181d04,_0x726c12){return _0x39a391(_0xdc28ab-_0x1dffed._0x531362,_0x27d645-0x30,_0xdc28ab- -0x4f8,_0x27d645);}return typeof _0x48708a===_0x10e373(_0x517cca._0x3c1034,0x3d7,_0x517cca._0x23a2c1,0x3a2)&&_0x48708a!==null&&_0x10e373(_0x517cca._0x5bd1b7,0x324,_0x517cca._0x564e03,_0x517cca._0x37bfef)in _0x48708a&&_0x48708a['code']===_0x10e373(_0x517cca._0x592e08,0x23e,0x246,-_0x517cca._0x3b8d7a);}function isSafeProcessId(_0x595c01){const _0x2ead17={_0x4d0787:0x967,_0x18c29c:0x715,_0x76f654:0x620},_0x3c1044={_0x18a77b:0xcc,_0x5379a2:0xef};function _0x3867a5(_0x6dc774,_0x36a5f3,_0x2ff13c,_0x337369){return _0x39a391(_0x6dc774-0x42,_0x36a5f3-_0x3c1044._0x18a77b,_0x36a5f3- -_0x3c1044._0x5379a2,_0x337369);}return _0x595c01!==void 0x0&&Number[_0x3867a5(_0x2ead17._0x4d0787,_0x2ead17._0x18c29c,0x659,_0x2ead17._0x76f654)](_0x595c01)&&_0x595c01>0x1;}function createProcessTreeSignalAdapter(_0x447957={}){const _0xdfaeb7={_0x47ba8a:0x8c7,_0x1c8aa0:0x8bf,_0x2e6f45:0x8f5,_0x5242eb:0x62d,_0x358da2:0x963,_0x2e89b1:0x8d7,_0x19b26d:0xa22,_0x2842a0:0xa6f,_0x30040e:0x786},_0x3acae6={_0x2a451b:0x4f,_0x4d3f79:0x157,_0x263017:0x6ce,_0x36e539:0x611,_0x22d714:0x6bf,_0x296f6d:0x385,_0xf9a867:0x287,_0x133b79:0x3a4,_0x11b95c:0x271,_0x284947:0x3e2,_0x218c33:0x742,_0x1ec8fd:0x587,_0x256fdb:0x5a8,_0x251756:0x238,_0x4e6d74:0x3c2,_0x47e614:0x59f,_0x35cd17:0x716,_0x31a9fe:0x7b7,_0x13a48d:0x429,_0x1cc1fe:0x5ef,_0x415441:0x317,_0x253762:0x4d7,_0x4c3d57:0x6a5,_0x2a47ab:0x481},_0x21ac4f={_0x413355:0x246,_0x5c8792:0x531,_0x51c03a:0x267,_0x153c55:0x11e,_0xb6123f:0x3d3,_0x2b7a60:0x1f8,_0x55f896:0x420,_0x1ca161:0x14e,_0x265814:0x311,_0x3b4139:0x42d,_0x3cb15f:0x299},_0x2d9a5a={_0xc8f05e:0x188},_0x502007={_0x5c1d03:0x1ee,_0x2d597b:0x45},_0xf464f0={_0x2be001:0x83,_0xc462b1:0x107,_0x275051:0x5a3};function _0x447f79(_0x3ceae2,_0xf6ac4e,_0x3814db,_0x14464a){return _0x1957f6(_0x3ceae2-_0xf464f0._0x2be001,_0xf6ac4e-_0xf464f0._0xc462b1,_0x14464a,_0x3814db-_0xf464f0._0x275051);}const _0x5a8fe0=_0x447957[_0x338042(0x7c9,_0xdfaeb7._0x47ba8a,_0xdfaeb7._0x1c8aa0,_0xdfaeb7._0x2e6f45)]??process['platform'],_0x355860=_0x447957[_0x338042(0x7d5,_0xdfaeb7._0x5242eb,0x7c0,0x919)]??process[_0x338042(0x7d5,_0xdfaeb7._0x358da2,_0xdfaeb7._0x2e89b1,_0xdfaeb7._0x19b26d)][_0x447f79(0x8a3,_0xdfaeb7._0x2842a0,0x973,_0xdfaeb7._0x30040e)](process),_0x339b9a=_0x447957['spawn']??_0x386c4b;function _0x338042(_0x3dcabf,_0x364d4a,_0x2776e1,_0x29949a){return _0x39a391(_0x3dcabf-_0x502007._0x5c1d03,_0x364d4a-0x3d,_0x3dcabf- -_0x502007._0x2d597b,_0x2776e1);}return{async 'signal'(_0x4f5a0f,_0x413343){const _0x2ac6b0={_0x4d2b25:0xe2,_0x3ac80f:0x148},_0x3eb2f4={_0x422bec:0x8e};if(_0x5a8fe0!==_0x25c32c(-_0x3acae6._0x2a451b,0x110,_0x3acae6._0x4d3f79,0x84)){if(!isSafeProcessId(_0x4f5a0f[_0x225804(_0x3acae6._0x263017,_0x3acae6._0x36e539,_0x3acae6._0x22d714,0x870)]))return{'outcome':_0x25c32c(0x587,_0x3acae6._0x296f6d,_0x3acae6._0xf9a867,_0x3acae6._0x133b79),'error':_0x25c32c(0x14f,0x25a,_0x3acae6._0x11b95c,_0x3acae6._0x284947)};try{return _0x355860(-_0x4f5a0f[_0x25c32c(_0x3acae6._0x218c33,0x4f1,0x390,_0x3acae6._0x1ec8fd)],_0x413343===_0x225804(0x4f2,0x3c3,0x53a,0x426)?_0x225804(0x231,0x540,0x392,_0x3acae6._0x256fdb):_0x225804(0x203,_0x3acae6._0x251756,0x344,_0x3acae6._0x4e6d74)),{'outcome':_0x225804(0x2ba,0x51c,0x489,0x55d)};}catch(_0x1acb19){return isNotFound(_0x1acb19)?{'outcome':_0x225804(_0x3acae6._0x47e614,0x75d,_0x3acae6._0x35cd17,_0x3acae6._0x31a9fe),'error':errorMessage(_0x1acb19)}:{'outcome':'failed','error':errorMessage(_0x1acb19)};}}if(!isSafeProcessId(_0x4f5a0f[_0x225804(_0x3acae6._0x13a48d,0x3e5,0x3d8,_0x3acae6._0x1cc1fe)]))return{'outcome':_0x225804(_0x3acae6._0x415441,0x745,0x553,_0x3acae6._0x253762),'error':_0x225804(0x7d6,_0x3acae6._0x4c3d57,0x6b6,_0x3acae6._0x2a47ab)};function _0x225804(_0xd23a12,_0x507f09,_0x3a92aa,_0x193563){return _0x338042(_0x3a92aa- -0x1b7,_0x507f09-0x7f,_0x507f09,_0x193563-_0x3eb2f4._0x422bec);}function _0x25c32c(_0x302e33,_0x3e0c4b,_0xd029ae,_0x54ed7d){return _0x338042(_0x3e0c4b- -0x385,_0x3e0c4b-0x14a,_0xd029ae,_0x54ed7d-_0x2d9a5a._0xc8f05e);}return new Promise(_0x27481f=>{const _0x29b2d7={_0x46ca5e:0x296,_0x2003fb:0x198,_0x25e97b:0x37c,_0x488897:0x319,_0xc7bb8b:0x796,_0x587e90:0x6fc,_0x220101:0x72d},_0x1193a1={_0x590d85:0xfc,_0x176234:0x267,_0x57e3d4:0x2e};let _0x4d23f4=![];const _0x14013f=_0x49d7f9=>{if(_0x4d23f4)return;_0x4d23f4=!![],_0x27481f(_0x49d7f9);};function _0x565f66(_0x330066,_0x5028cf,_0x380339,_0x34abf0){return _0x25c32c(_0x330066-_0x1193a1._0x590d85,_0x34abf0- -_0x1193a1._0x176234,_0x5028cf,_0x34abf0-_0x1193a1._0x57e3d4);}function _0x16fa61(_0x28a8f5,_0x57d6b0,_0xad1eca,_0x5e1869){return _0x225804(_0x28a8f5-0x2a,_0x28a8f5,_0x57d6b0- -_0x2ac6b0._0x4d2b25,_0x5e1869-_0x2ac6b0._0x3ac80f);}let _0x155547;try{const _0x112c54=['/PID',String(_0x4f5a0f['rootPid']),'/T'];if(_0x413343===_0x565f66(0x400,0x474,0x4f,_0x21ac4f._0x413355))_0x112c54[_0x565f66(0x1bc,0x47c,_0x21ac4f._0x5c8792,0x2ed)]('/F');_0x155547=_0x339b9a('taskkill',_0x112c54,{'stdio':_0x565f66(-0x102,0x311,0x48,0x11b),'windowsHide':!![]});}catch(_0xf6e9c3){_0x14013f({'outcome':_0x565f66(-0xd8,_0x21ac4f._0x51c03a,0x7f,_0x21ac4f._0x153c55),'error':errorMessage(_0xf6e9c3)});return;}_0x155547[_0x16fa61(_0x21ac4f._0xb6123f,0x273,_0x21ac4f._0x2b7a60,0x14f)](_0x565f66(0xfe,0x193,0x377,0x142),_0x2dec97=>{const _0x51444c={_0xe28bf9:0x2bc},_0x33f311={_0x32f8c9:0x39e,_0x4d8bcf:0xd2};function _0x4e72ed(_0x1eae58,_0x23cc49,_0xb12223,_0x4e5880){return _0x16fa61(_0xb12223,_0x1eae58- -_0x33f311._0x32f8c9,_0xb12223-_0x33f311._0x4d8bcf,_0x4e5880-0xd9);}function _0x32acfa(_0x58f1e5,_0x3ee6e4,_0x103f10,_0x193af0){return _0x16fa61(_0x103f10,_0x193af0-_0x51444c._0xe28bf9,_0x103f10-0x7,_0x193af0-0x1bf);}_0x14013f(isNotFound(_0x2dec97)?{'outcome':_0x4e72ed(_0x29b2d7._0x46ca5e,_0x29b2d7._0x2003fb,_0x29b2d7._0x25e97b,_0x29b2d7._0x488897),'error':errorMessage(_0x2dec97)}:{'outcome':_0x32acfa(0x5e9,_0x29b2d7._0xc7bb8b,_0x29b2d7._0x587e90,_0x29b2d7._0x220101),'error':errorMessage(_0x2dec97)});}),_0x155547[_0x16fa61(_0x21ac4f._0x55f896,0x273,0x133,_0x21ac4f._0x1ca161)](_0x565f66(_0x21ac4f._0x265814,_0x21ac4f._0x1ca161,_0x21ac4f._0x3b4139,_0x21ac4f._0x3cb15f),_0x17dc2f=>{const _0x196107={_0x46fd55:0x14};function _0x29eb9d(_0x148568,_0x6f608a,_0x3393af,_0xa0b74b){return _0x565f66(_0x148568-0x151,_0x6f608a,_0x3393af-0xad,_0x3393af- -_0x196107._0x46fd55);}_0x14013f(_0x17dc2f===0x0?{'outcome':_0x29eb9d(0xfa,0x84,0x40,0x259)}:{'outcome':'failed','error':'taskkill\x20exited\x20with\x20code\x20'+String(_0x17dc2f)});});});}};}var ESC='\x1b',BEL='\x07',MAX_PROGRESS_LINE_CHARS=0x100000;function isDiscardedTextControl(_0x3a218d){const _0xce8934={_0x16e2bc:0x8f0,_0xe3429d:0x6f0,_0x3d125a:0x49b},_0xb2e8c0={_0x3563fb:0x102},_0x34d9b8=_0x3a218d[_0x543b4e(0x73f,_0xce8934._0x16e2bc,_0xce8934._0xe3429d,_0xce8934._0x3d125a)](0x0)??0x0;function _0x543b4e(_0xbb92c3,_0x5d4f5f,_0x251c73,_0x4b8fba){return _0x39a391(_0xbb92c3-0x31,_0x5d4f5f-_0xb2e8c0._0x3563fb,_0x251c73- -0x103,_0x5d4f5f);}return _0x34d9b8<0x20&&_0x3a218d!=='\x09'||_0x34d9b8>=0x7f&&_0x34d9b8<=0x9f||_0x34d9b8===0xa0||_0x34d9b8>=0x200b&&_0x34d9b8<=0x200f||_0x34d9b8>=0x2060&&_0x34d9b8<=0x2069||_0x34d9b8===0x23ce||_0x34d9b8===0x2424;}function createTerminalOutputNormalizer(){const _0x5ed672={_0x376770:0x1f4,_0x569533:0x128},_0x1319b9={_0x5eda96:0x3b4},_0x578482={_0x3c2cd5:0x26e,_0x4262ba:0x4cd,_0xf76cf1:0x84,_0x48d0e9:0x24f,_0x247243:0x18,_0x18f6b1:0x86d,_0xb0a148:0x823,_0x53ee37:0x70d,_0x286f11:0x949,_0x451281:0x6a6,_0x5abdd1:0x564,_0x1f0936:0x6e3,_0x24df99:0x5de,_0xe9f1b3:0x2e5,_0x32aa08:0x239,_0x2e4f94:0x302,_0x2e58ff:0x8d0,_0x2ec110:0x6aa,_0x2b3b88:0x31d,_0x279ca2:0x6c8,_0x30e8af:0x891,_0x206187:0x91e,_0x7bb0da:0x903,_0x2cd027:0x36c,_0x4fae96:0x762},_0x3e1546={_0x2492eb:0x44},_0x440e14={_0x2f2bc2:0x1d7,_0x27a29b:0x6b},_0x3186b0={_0x113cb5:0x8e4,_0x165e4a:0x873,_0x183635:0x6f8,_0x263d1f:0x64a,_0x4a95f1:0x83c,_0x288434:0x81b},_0x37a8fa={_0x31579f:0x2aa};let _0x2c1633='text',_0x1a1b11=![],_0x482f5f=![],_0x5d8d9d=[],_0x3b7c7b=0x0,_0x442f70=![];const _0x3ff708=()=>{_0x5d8d9d=[],_0x3b7c7b=0x0;},_0x5763cb=_0x503d5f=>{const _0x378ae2={_0x2ae239:0xb7};_0x5d8d9d['push'](_0x503d5f);function _0x5a7774(_0x183ae7,_0xe076e7,_0x10842f,_0x1df53e){return _0x1b0d(_0xe076e7- -_0x378ae2._0x2ae239,_0x1df53e);}_0x3b7c7b+=_0x503d5f[_0x9138e8(_0x3186b0._0x113cb5,_0x3186b0._0x165e4a,0x6f5,_0x3186b0._0x183635)];function _0x9138e8(_0x270bed,_0x1ac30f,_0x639775,_0x2a1caf){return _0x1b0d(_0x1ac30f-_0x37a8fa._0x31579f,_0x639775);}while(_0x3b7c7b>MAX_PROGRESS_LINE_CHARS){const _0x54f602=_0x5d8d9d[_0x9138e8(_0x3186b0._0x263d1f,_0x3186b0._0x4a95f1,0x6a3,_0x3186b0._0x288434)]();if(_0x54f602===void 0x0)break;_0x3b7c7b-=_0x54f602['length'];}},_0x267007=_0x2cb67b=>{const _0x3fdd8a=_0x5d8d9d[_0x5bf246(-0x5a,_0x440e14._0x2f2bc2,-_0x440e14._0x27a29b,-0x27a)]('')+(_0x2cb67b?'\x0a':'');function _0x5bf246(_0xac9e0f,_0x1ab304,_0x4752d7,_0x5b4c6d){return _0x1b0d(_0xac9e0f- -0x330,_0x1ab304);}return _0x3ff708(),_0x3fdd8a;},_0x1476c2=_0x525fa9=>{const _0x39ecbc={_0x28c628:0x3b5};function _0x3acaec(_0x4cb9d5,_0x1bc580,_0x2031d8,_0x565158){return _0x1b0d(_0x1bc580- -_0x3e1546._0x2492eb,_0x4cb9d5);}if(_0x442f70)throw new Error(_0x3acaec(_0x578482._0x3c2cd5,0x343,_0x578482._0x4262ba,0x365));function _0x15761f(_0x25a06a,_0x344584,_0x166c7f,_0xb9046){return _0x1b0d(_0x344584-_0x39ecbc._0x28c628,_0xb9046);}let _0x4aa2d3='';for(const _0x3d0e56 of _0x525fa9){if(_0x2c1633===_0x3acaec(_0x578482._0xf76cf1,0x1e5,_0x578482._0x48d0e9,_0x578482._0x247243)){const _0x5bca20=_0x3d0e56[_0x15761f(0x7ad,_0x578482._0x18f6b1,0x983,_0x578482._0xb0a148)](0x0)??0x0;if(_0x5bca20>=0x40&&_0x5bca20<=0x7e)_0x2c1633='text';continue;}if(_0x2c1633===_0x15761f(0x7f2,0x632,0x4cf,_0x578482._0x53ee37)||_0x2c1633===_0x15761f(_0x578482._0x286f11,0x811,_0x578482._0x451281,0x742)){if(_0x1a1b11){_0x3d0e56==='\x5c'?(_0x2c1633=_0x3acaec(0x60c,_0x578482._0x5abdd1,_0x578482._0x1f0936,0x31d),_0x1a1b11=![]):_0x1a1b11=_0x3d0e56===ESC;continue;}if(_0x3d0e56===ESC)_0x1a1b11=!![];else _0x2c1633==='osc'&&_0x3d0e56===BEL&&(_0x2c1633=_0x15761f(0x8e8,0x95d,0xac8,0x7c9));continue;}if(_0x2c1633==='escape'){if(_0x3d0e56==='[')_0x2c1633=_0x15761f(0x3f4,_0x578482._0x24df99,0x7c5,0x4bf);else{if(_0x3d0e56===']')_0x2c1633=_0x3acaec(_0x578482._0xe9f1b3,_0x578482._0x32aa08,_0x578482._0x2e4f94,0x40d),_0x1a1b11=![];else _0x3d0e56==='P'||_0x3d0e56==='_'||_0x3d0e56==='^'?(_0x2c1633=_0x15761f(_0x578482._0x2e58ff,0x811,_0x578482._0x2ec110,0x617),_0x1a1b11=![]):_0x2c1633=_0x3acaec(0x59b,_0x578482._0x5abdd1,_0x578482._0x2b3b88,_0x578482._0x279ca2);}continue;}if(_0x482f5f){_0x482f5f=![];if(_0x3d0e56==='\x0a'){_0x4aa2d3+=_0x267007(!![]);continue;}_0x3ff708();}if(_0x3d0e56===ESC)_0x2c1633=_0x15761f(0x825,0x7f2,_0x578482._0x30e8af,0xa14);else{if(_0x3d0e56==='\x0d')_0x482f5f=!![];else{if(_0x3d0e56==='\x0a')_0x4aa2d3+=_0x267007(!![]);else{if(_0x3d0e56==='\x08'){const _0xed0d6b=_0x5d8d9d[_0x15761f(0xb59,_0x578482._0x206187,0xa82,_0x578482._0x7bb0da)]();if(_0xed0d6b!==void 0x0)_0x3b7c7b-=_0xed0d6b[_0x3acaec(_0x578482._0x2cd027,0x585,0x65a,_0x578482._0x4fae96)];}else!isDiscardedTextControl(_0x3d0e56)&&_0x5763cb(_0x3d0e56);}}}}return _0x4aa2d3;};return{'write':_0x1476c2,'end'(){if(_0x442f70)return'';_0x442f70=!![],_0x482f5f=![],_0x2c1633=_0x2fe874(0x1d8,_0x5ed672._0x376770,_0x5ed672._0x569533,0x3e2);function _0x2fe874(_0x363276,_0x30d59f,_0x41a612,_0x5bb688){return _0x1b0d(_0x30d59f- -_0x1319b9._0x5eda96,_0x5bb688);}return _0x1a1b11=![],_0x267007(![]);}};}var MAX_CHARS=0x100000,MAX_ENTRIES=0x40,TERMINATION_WINDOW_MS=0x7d0;function terminal(_0x3a3f8c){const _0x3882b1={_0x1cc2af:0x36b,_0x43fd99:0x28b,_0x12b509:0x416,_0x40e8c5:0x5da,_0x574140:0x3a7,_0xc5e1f2:0x1a8,_0x8d2e33:0x49c,_0x13fd5a:0x383,_0x1841fe:0x374},_0x3867bb={_0x4bd86e:0x97},_0x575ea7={_0x57cb5a:0x1de,_0x5f3f84:0x3f0};function _0xb604fd(_0x4ae11b,_0x54f996,_0x1b23f0,_0x1fcdc8){return _0x39a391(_0x4ae11b-_0x575ea7._0x57cb5a,_0x54f996-0x3,_0x1b23f0- -_0x575ea7._0x5f3f84,_0x54f996);}function _0x5780be(_0xaa4c1,_0x4e46c1,_0x18e5fa,_0x43aee8){return _0x1957f6(_0xaa4c1-_0x3867bb._0x4bd86e,_0x4e46c1-0x91,_0x18e5fa,_0x43aee8- -0x153);}return _0x3a3f8c===_0xb604fd(_0x3882b1._0x1cc2af,_0x3882b1._0x43fd99,_0x3882b1._0x12b509,_0x3882b1._0x40e8c5)||_0x3a3f8c===_0x5780be(0x324,0x2c3,_0x3882b1._0x574140,0x17a)||_0x3a3f8c===_0xb604fd(_0x3882b1._0xc5e1f2,_0x3882b1._0x8d2e33,_0x3882b1._0x13fd5a,_0x3882b1._0x1841fe);}function stableErrorCode(_0x7ab54b,_0x53dd07){const _0x305c27={_0x42c337:0x106,_0x3dc661:0x18,_0x22db0c:0x120,_0x595a1a:0x20d,_0x23d839:0x85,_0x20b99:0x1b7,_0x201e06:0x9f,_0x46c451:0x1ca},_0xba95c0={_0xded90d:0x94,_0x47644f:0x70a};function _0x3f7b25(_0x18fa4e,_0x205f9b,_0x4d0545,_0x27e9ab){return _0x39a391(_0x18fa4e-0x1b9,_0x205f9b-0xb,_0x4d0545- -0x21c,_0x18fa4e);}if(typeof _0x7ab54b===_0x388e1a(-_0x305c27._0x42c337,0x2d,0x5,-0xb6)&&_0x7ab54b!==null&&_0x388e1a(-0x49,-0x120,-0x36c,-0x197)in _0x7ab54b&&typeof _0x7ab54b['code']==='string')return _0x7ab54b[_0x388e1a(_0x305c27._0x3dc661,-_0x305c27._0x22db0c,0x12,-_0x305c27._0x595a1a)][_0x388e1a(-_0x305c27._0x23d839,_0x305c27._0x20b99,-_0x305c27._0x201e06,_0x305c27._0x46c451)](0x0,0x40);function _0x388e1a(_0x3ec750,_0x5117bd,_0x33bf47,_0xea79da){return _0x39a391(_0x3ec750-0x126,_0x5117bd-_0xba95c0._0xded90d,_0x5117bd- -_0xba95c0._0x47644f,_0x3ec750);}return _0x53dd07;}async function safeSignal(_0x284b39,_0x3e591f,_0x39b7b4){const _0x499192={_0x5ec0c7:0x627,_0x40e1f9:0x695,_0x1dec25:0x60c},_0x584065={_0x2b1f03:0xa7,_0x3bb33e:0x143},_0x2bac39={_0x1bfc4d:0x1a};function _0x33a34b(_0x128113,_0x178c15,_0x5c07ed,_0x4a874e){return _0x39a391(_0x128113-_0x2bac39._0x1bfc4d,_0x178c15-0x1b0,_0x128113-0x34,_0x4a874e);}function _0x1ea4c2(_0x350f39,_0x77c804,_0x3a7d6d,_0x4e3795){return _0x39a391(_0x350f39-0x53,_0x77c804-_0x584065._0x2b1f03,_0x3a7d6d- -_0x584065._0x3bb33e,_0x77c804);}try{return await _0x284b39[_0x1ea4c2(_0x499192._0x5ec0c7,_0x499192._0x40e1f9,0x77a,0x7c4)](_0x3e591f,_0x39b7b4);}catch{return{'outcome':_0x1ea4c2(0x406,0x845,_0x499192._0x1dec25,0x84a),'error':'signal-rejected'};}}var BackgroundBashProcessStore=class{[_0x39a391(0x914,0xadb,0x90c,0xb68)]=new Map();['maxChars'];['maxEntries'];[_0x39a391(0x79c,0x68a,0x80e,0x78f)];[_0x1957f6(-0x183,0xaf,0xcd,0xb9)];[_0x39a391(0x631,0x4a4,0x56f,0x581)];constructor(_0x5867da={}){const _0x163be1={_0xf097c3:0x690,_0x1d6b53:0xa62,_0x579a53:0x764,_0x401514:0x939,_0x48e89e:0x487,_0x3b9cdf:0x6e0,_0x5a624f:0x6af,_0x48b226:0x61f,_0x1ea4b5:0x77d,_0x27766d:0x57d,_0x16305f:0x5d5,_0x2dd69a:0x67c,_0x46888b:0x436,_0x1da137:0x6a8,_0x34e843:0x86c,_0x4ee8d1:0x73f,_0x1db37d:0x82c,_0x198335:0x645,_0x23078c:0x592,_0x153c7b:0x415,_0x428f3f:0x649,_0x5c918f:0x780,_0x4fc753:0x9fe,_0x3e2bd0:0x823,_0x164df9:0x686,_0x3a593e:0x8bd,_0x37e489:0x8f9,_0x553f47:0x822,_0x1c84ec:0x500,_0x432205:0x8b3,_0x1cb35a:0x722,_0x1e13ce:0x3e7,_0x537dd6:0x3b4,_0x38b972:0x45a,_0x4e0820:0x45f,_0x1efa4a:0x526,_0x307d1e:0x2a4},_0x2e0797={_0x388f22:0x23,_0x1f5155:0x37d},_0x2a18e5={_0x5627bd:0x13};function _0x85041d(_0x2f4f97,_0x693607,_0x2a1d30,_0x336a87){return _0x1957f6(_0x2f4f97-0x3,_0x693607-_0x2a18e5._0x5627bd,_0x2f4f97,_0x336a87-0x51a);}this[_0x389b75(0x79c,_0x163be1._0xf097c3,0x96a,0x6fd)]=_0x5867da[_0x85041d(_0x163be1._0x1d6b53,_0x163be1._0x579a53,0xb0a,_0x163be1._0x401514)]??MAX_CHARS;function _0x389b75(_0x6c6dcf,_0x5eff30,_0x4bea5b,_0x59471b){return _0x1957f6(_0x6c6dcf-_0x2e0797._0x388f22,_0x5eff30-0x198,_0x4bea5b,_0x6c6dcf-_0x2e0797._0x1f5155);}this[_0x389b75(0x6af,0x6c0,_0x163be1._0x48e89e,_0x163be1._0x3b9cdf)]=_0x5867da[_0x389b75(_0x163be1._0x5a624f,_0x163be1._0x48b226,0x6db,_0x163be1._0x1ea4b5)]??MAX_ENTRIES;if(!Number['isSafeInteger'](this['maxChars'])||this['maxChars']<0x1||this['maxChars']>MAX_CHARS)throw new RangeError(_0x85041d(_0x163be1._0x27766d,0x5bc,0x5aa,_0x163be1._0x16305f));if(!Number[_0x389b75(_0x163be1._0x2dd69a,_0x163be1._0x46888b,_0x163be1._0x1da137,0x773)](this[_0x389b75(_0x163be1._0x5a624f,_0x163be1._0x34e843,0x666,0x730)])||this['maxEntries']<0x1||this[_0x85041d(_0x163be1._0x4ee8d1,0x82c,_0x163be1._0x1db37d,0x84c)]>MAX_ENTRIES)throw new RangeError(_0x389b75(_0x163be1._0x198335,_0x163be1._0x23078c,0x816,_0x163be1._0x153c7b));this[_0x85041d(_0x163be1._0x428f3f,_0x163be1._0x5c918f,_0x163be1._0x4fc753,_0x163be1._0x3e2bd0)]=_0x5867da[_0x389b75(_0x163be1._0x164df9,0x89a,0x7c8,_0x163be1._0x3a593e)]??process[_0x85041d(0x967,_0x163be1._0x37e489,0x69c,0x823)],this[_0x85041d(_0x163be1._0x553f47,_0x163be1._0x1c84ec,0x6fb,0x5d3)]=_0x5867da['signalAdapter']??createProcessTreeSignalAdapter({'platform':this[_0x389b75(0x686,_0x163be1._0x432205,_0x163be1._0x1cb35a,0x564)]}),this[_0x389b75(_0x163be1._0x1e13ce,_0x163be1._0x537dd6,_0x163be1._0x38b972,_0x163be1._0x4e0820)]=_0x5867da[_0x389b75(0x3e7,0x4e5,_0x163be1._0x1efa4a,_0x163be1._0x307d1e)]??TERMINATION_WINDOW_MS;}[_0x39a391(0x7c6,0x908,0x6e0,0x4b2)](_0x430e91,_0x718363){const _0x24ada6={_0x5dd94e:0x5be,_0xf52391:0x1a0,_0x47fcf7:0x28,_0x1f3f5a:0x59d,_0x19c799:0x417,_0x2dac31:0x637,_0xa4794:0x44b,_0x53f64a:0x617,_0x5dcf90:0x552,_0x4cb086:0x4bd,_0x47291b:0x511,_0x47e7ec:0x3fc,_0x379ec6:0x5d9,_0x4c2c41:0x709,_0x450118:0x1b,_0x4ca6e3:0x44,_0x359720:0x1d8,_0x440d70:0xac,_0x553935:0x12f,_0xff6c59:0x5d5,_0x3161b5:0x6a8,_0x22d4fc:0x632,_0x37e69a:0x5e3,_0x2388ed:0x324,_0x42f60a:0x530,_0x2fa306:0x3d5,_0x2a12fe:0x28c,_0x2b2f17:0x5ea,_0x439693:0x411,_0x58c6b3:0x3e5,_0x2ef068:0x4bb,_0x1ea348:0x4f3,_0x255df2:0x5c,_0x10c772:0x265,_0x496322:0x7c,_0x141fb4:0x129,_0x3f7176:0x27e,_0x51d9d2:0x4c0,_0xcb09bd:0x6cb,_0x54441d:0x1b6,_0x43acfb:0xd7,_0x4ef526:0x462,_0x56c201:0x27a,_0x3a6b1f:0x2ac,_0x1a9921:0x5ae,_0x4b7b4d:0x809,_0x18bd24:0x5f5,_0xbb67f1:0x415,_0x5c8ba1:0x620,_0x523c88:0x560,_0x30a0f4:0x3c6,_0x3d2e8b:0x4fb},_0x12b68a={_0x305bbb:0x220,_0x8c6f6e:0x283,_0xc46bcd:0xa8,_0x44e8da:0xc8,_0x4c4e34:0x4dd,_0x456ed7:0x3f8,_0xf4763c:0x496,_0x49b1c2:0x6c9,_0x15a75e:0x459,_0x2e656f:0x296,_0xfacf7c:0x379},_0x5c8e11={_0x2d9def:0xdf,_0x22a56a:0x123},_0x5d89c8={_0x4db615:0x578,_0x34f2cb:0x61b,_0x30d429:0x72b,_0x367395:0x4e4,_0x248972:0x637,_0xa03343:0x53e,_0x5696cf:0x39e,_0x1ff1d3:0x1fd,_0x43886b:0x43a,_0x232ec1:0x27f,_0x52426c:0x373,_0x2f0e9f:0x34d,_0x2d6b9a:0x319,_0x42f75d:0xa82,_0x1fd8c9:0x675,_0x4c2d64:0x83d,_0x360c8e:0x5,_0x13d180:0x58},_0x26e132={_0x184a1f:0x560,_0x4c2fd5:0x79,_0x190c39:0x89};if(this['entries'][_0x3fc1a5(0x186,0x37,0x25,0x204)](_0x430e91))throw new ToolExecutionError(_0x3fc1a5(_0x24ada6._0x5dd94e,0x5e1,0x4d6,0x560),{'workId':_0x430e91});let _0x28b221;const _0x28e0ac=new Promise(_0x17821e=>{_0x28b221=_0x17821e;}),_0x1cd751={'workId':_0x430e91,'child':_0x718363['child'],'description':_0x718363[_0x11bb6b(0x5b,_0x24ada6._0xf52391,0x188,_0x24ada6._0x47fcf7)],'commandPreview':_0x718363[_0x3fc1a5(0x464,0x3ff,_0x24ada6._0x1f3f5a,_0x24ada6._0x19c799)],'cwd':_0x718363['cwd'],'pid':typeof _0x718363[_0x3fc1a5(0x4bb,_0x24ada6._0x2dac31,_0x24ada6._0xa4794,_0x24ada6._0x53f64a)]['pid']===_0x3fc1a5(0x4c9,_0x24ada6._0x5dcf90,0x690,0x633)?_0x718363[_0x11bb6b(0x2fd,0x33d,_0x24ada6._0x4cb086,0x2af)][_0x3fc1a5(_0x24ada6._0x47291b,_0x24ada6._0x47e7ec,_0x24ada6._0x379ec6,_0x24ada6._0x4c2c41)]:null,'processGroupId':this['platform']===_0x11bb6b(-_0x24ada6._0x450118,-_0x24ada6._0x4ca6e3,-_0x24ada6._0x359720,-0xcc)?void 0x0:_0x718363[_0x11bb6b(0x2fd,0x132,0x4a0,0x4db)][_0x11bb6b(0x353,0x410,0x51a,0x104)],'stripAnsi':_0x718363[_0x11bb6b(0x35,0x80,_0x24ada6._0x440d70,-_0x24ada6._0x553935)],'status':'running','exitCode':null,'signal':null,'gracefulRequested':![],'forceRequested':![],'killRequested':![],'terminal':![],'output':'','totalProduced':0x0,'totalDropped':0x0,'stdoutDecoder':new StringDecoder('utf8'),'stderrDecoder':new StringDecoder('utf8'),'stdoutNormalizer':createTerminalOutputNormalizer(),'stderrNormalizer':createTerminalOutputNormalizer(),'flushed':![],'terminalPromise':_0x28e0ac,'resolveTerminal':_0x28b221};this[_0x3fc1a5(_0x24ada6._0xff6c59,0x581,_0x24ada6._0x3161b5,0x386)][_0x3fc1a5(0x5f6,_0x24ada6._0x22d4fc,0x62c,_0x24ada6._0x37e69a)](_0x430e91,_0x1cd751);const _0x386292=(_0x1e5a79,_0x10c7d2)=>{if(_0x1cd751[_0x1b9649(0x632,_0x5d89c8._0x4db615,_0x5d89c8._0x34f2cb,_0x5d89c8._0x30d429)])return;_0x1cd751[_0x1b9649(_0x5d89c8._0x367395,_0x5d89c8._0x248972,0x5e7,_0x5d89c8._0xa03343)]=_0x1e5a79;function _0x1b9649(_0x1eb254,_0x410dd9,_0x2539c3,_0x246791){return _0x11bb6b(_0x246791-_0x26e132._0x184a1f,_0x410dd9-_0x26e132._0x4c2fd5,_0x2539c3-_0x26e132._0x190c39,_0x410dd9);}_0x1cd751['signal']=_0x10c7d2;function _0x17ce98(_0xf83e48,_0x1a181d,_0x3a1330,_0x4b376c){return _0x11bb6b(_0x3a1330- -0x100,_0x1a181d-0xd,_0x3a1330-0x16,_0xf83e48);}_0x1cd751[_0x17ce98(0x19c,_0x5d89c8._0x5696cf,_0x5d89c8._0x1ff1d3,_0x5d89c8._0x43886b)]=null;if(_0x1cd751[_0x17ce98(0x1a3,_0x5d89c8._0x232ec1,_0x5d89c8._0x52426c,0x35d)]!=='error')_0x1cd751[_0x1b9649(0x80b,0xb21,0x84d,0x9d3)]=_0x1cd751[_0x17ce98(0x37f,_0x5d89c8._0x2f0e9f,_0x5d89c8._0x2d6b9a,0x15c)]?_0x1b9649(_0x5d89c8._0x42f75d,0x8b3,_0x5d89c8._0x1fd8c9,_0x5d89c8._0x4c2d64):_0x17ce98(-_0x5d89c8._0x360c8e,0x244,0x211,0x3dc);this[_0x17ce98(0x12a,0x214,0x197,_0x5d89c8._0x13d180)](_0x1cd751);};function _0x3fc1a5(_0x1119eb,_0x207109,_0xc587bc,_0x1c8195){return _0x1957f6(_0x1119eb-_0x5c8e11._0x2d9def,_0x207109-_0x5c8e11._0x22a56a,_0x1c8195,_0x1119eb-0x1ce);}try{_0x718363[_0x3fc1a5(0x4bb,_0x24ada6._0x2388ed,0x389,_0x24ada6._0x42f60a)]['once'](_0x11bb6b(_0x24ada6._0x2fa306,0x20b,_0x24ada6._0x2a12fe,_0x24ada6._0x2b2f17),_0x386292);}catch{_0x718363[_0x11bb6b(0x2fd,_0x24ada6._0x439693,_0x24ada6._0x58c6b3,0x217)]['on']('close',_0x386292);}const _0x27f42e=_0x3f1a3a=>{const _0x370b9c={_0x5e7dc2:0x106},_0x475264={_0x340251:0x1d};function _0x7512e0(_0x305b1b,_0x3c89e9,_0x38c503,_0x1c60b9){return _0x3fc1a5(_0x3c89e9-_0x475264._0x340251,_0x3c89e9-0xf3,_0x38c503-0xb1,_0x38c503);}function _0x17601d(_0x57def9,_0x189a57,_0x230a16,_0x3acb16){return _0x3fc1a5(_0x189a57- -_0x370b9c._0x5e7dc2,_0x189a57-0x101,_0x230a16-0x4a,_0x3acb16);}if(_0x1cd751[_0x17601d(_0x12b68a._0x305bbb,_0x12b68a._0x8c6f6e,0x4a6,0x376)])return;_0x1cd751[_0x17601d(0x306,0x10b,_0x12b68a._0xc46bcd,_0x12b68a._0x44e8da)]=stableErrorCode(_0x3f1a3a,_0x17601d(_0x12b68a._0x4c4e34,_0x12b68a._0x456ed7,0x214,0x4ba)),_0x1cd751[_0x7512e0(_0x12b68a._0xf4763c,0x64e,_0x12b68a._0x49b1c2,0x874)]=_0x7512e0(0x60f,_0x12b68a._0x15a75e,_0x12b68a._0x2e656f,_0x12b68a._0xfacf7c);};try{_0x718363[_0x3fc1a5(_0x24ada6._0x2ef068,_0x24ada6._0x1ea348,0x2a0,0x3e1)][_0x11bb6b(_0x24ada6._0x255df2,-0xa5,0x3b,_0x24ada6._0x10c772)](_0x11bb6b(0x27e,0x23a,_0x24ada6._0x496322,_0x24ada6._0x141fb4),_0x27f42e);}catch{_0x718363[_0x3fc1a5(0x4bb,0x3bd,0x6dc,0x6fa)]['on'](_0x11bb6b(_0x24ada6._0x3f7176,0x90,_0x24ada6._0x51d9d2,0x369),_0x27f42e);}_0x718363[_0x3fc1a5(0x4bb,0x692,_0x24ada6._0xcb09bd,0x705)][_0x3fc1a5(_0x24ada6._0x54441d,_0x24ada6._0x43acfb,-0xa6,0x103)]?.['on'](_0x11bb6b(_0x24ada6._0x4ef526,0x3ef,0x448,_0x24ada6._0x56c201),_0x247e89=>this[_0x3fc1a5(0x1ec,0x1a5,-0x59,0x143)](_0x1cd751,_0x1cd751[_0x3fc1a5(0x202,0x24e,0xae,0x252)],_0x1cd751[_0x3fc1a5(0x4ac,0x28f,0x2d5,0x6c4)],_0x247e89)),_0x718363[_0x11bb6b(0x2fd,0x1a4,_0x24ada6._0x3a6b1f,0x34b)][_0x3fc1a5(_0x24ada6._0x1a9921,_0x24ada6._0x4b7b4d,_0x24ada6._0x18bd24,_0x24ada6._0xbb67f1)]?.['on'](_0x3fc1a5(_0x24ada6._0x5c8ba1,_0x24ada6._0x42f60a,0x762,_0x24ada6._0x523c88),_0x2ba570=>this[_0x11bb6b(0x2e,0x159,0x117,-0x38)](_0x1cd751,_0x1cd751[_0x11bb6b(0x70,-0x55,0xf7,0x25f)],_0x1cd751[_0x11bb6b(0x10f,0x29e,0x7d,-0x11c)],_0x2ba570)),this['evict']();function _0x11bb6b(_0xb8fd30,_0xba8e29,_0x2710de,_0x4154e0){return _0x1957f6(_0xb8fd30-0x39,_0xba8e29-0xf2,_0x4154e0,_0xb8fd30-0x10);}return{'pid':_0x1cd751[_0x3fc1a5(0x511,0x610,_0x24ada6._0x30a0f4,_0x24ada6._0x3d2e8b)]};}[_0x39a391(0x743,0x9dd,0x88c,0xab4)](_0x47ec10){const _0xe3f759={_0x302740:0x69f,_0x373f0a:0x72a,_0x21f5cd:0x608,_0x2badd1:0x615,_0xcd39fb:0x7a1},_0x1faa0c={_0x4bb96a:0xfb},_0x2403a9={_0x567522:0xad,_0x21835d:0x1a};function _0x29f529(_0x13a18c,_0x391624,_0x282f88,_0x2557af){return _0x39a391(_0x13a18c-0xdb,_0x391624-_0x2403a9._0x567522,_0x2557af-_0x2403a9._0x21835d,_0x391624);}function _0x28f732(_0x21c24d,_0xc7cc5a,_0x67db7,_0x316466){return _0x1957f6(_0x21c24d-0x166,_0xc7cc5a-0x1d,_0x316466,_0x21c24d- -_0x1faa0c._0x4bb96a);}return this[_0x29f529(0x781,_0xe3f759._0x302740,_0xe3f759._0x373f0a,_0xe3f759._0x21f5cd)](_0x47ec10)[_0x29f529(_0xe3f759._0x2badd1,0x7f0,0x60e,_0xe3f759._0xcd39fb)];}[_0x1957f6(0x101,0x47,0x21a,0x147)](_0x3fe429,_0x41f738){const _0x146240={_0x5169a7:0x161,_0x36d349:0x552,_0x5c5360:0x668,_0x104e42:0x4b6,_0x34235e:0x3f3,_0x50e302:0x4d8,_0x56922a:0x348,_0x395604:0x380,_0x18d6f0:0x7de,_0x5bf925:0x6a5,_0x1da40c:0x5af,_0x285d74:0x348,_0x2ea16c:0x644,_0x42c374:0x23e,_0x475a36:0x64e,_0x3db399:0x5c9,_0x4473a8:0x56b,_0x348c25:0x646,_0x387fc5:0x658,_0x132d5b:0x550,_0xe4be9f:0x6d3,_0x5d16a3:0x7b7,_0x4d522c:0x81b,_0x5f3374:0x967,_0x37d92d:0x855,_0x58761a:0x8d5,_0x52b4cb:0x94a,_0xe374a:0x494,_0x2546b4:0x386,_0x3611fc:0x132,_0x4b1545:0x1ab,_0x97c2eb:0x5ab,_0x4e070c:0x6f0,_0x5271ed:0x451,_0x1d3d3d:0x50e,_0x777bda:0x38b,_0x1dfcc0:0x59d,_0x2af5e2:0x704,_0x1e0dfb:0x676,_0x3df496:0x236,_0x10c943:0x470},_0x522917={_0x82fe5b:0x79,_0x568041:0x18d,_0x1ab405:0x312},_0x102213={_0x56143d:0x14d},_0x38a4c1=this[_0x582b4a(0x2dc,_0x146240._0x5169a7,0x3f9,0x495)](_0x3fe429);function _0x4a2bb8(_0x5a86c2,_0x3daa97,_0xfc4755,_0x4f807f){return _0x39a391(_0x5a86c2-0x88,_0x3daa97-0xb7,_0x3daa97- -_0x102213._0x56143d,_0xfc4755);}if(!Number[_0x582b4a(0x4f2,0x2cb,0x661,0x471)](_0x41f738[_0x582b4a(0x304,0x3aa,_0x146240._0x36d349,0x2bd)])||_0x41f738['limit']<0x1||_0x41f738[_0x4a2bb8(0x589,0x4c9,_0x146240._0x5c5360,_0x146240._0x104e42)]>MAX_CHARS)throw new RangeError(_0x4a2bb8(_0x146240._0x34235e,0x506,0x323,_0x146240._0x50e302));const _0x181a4b=_0x38a4c1[_0x4a2bb8(0x4fd,0x38b,0x2c9,_0x146240._0x56922a)],_0x592a2f=_0x38a4c1['totalProduced'],_0x402a27=_0x41f738['offset']??_0x181a4b,_0x5e18a8=Math[_0x582b4a(0x449,_0x146240._0x395604,0x38e,0x3e2)](_0x592a2f,Math['max'](_0x181a4b,_0x402a27));function _0x582b4a(_0x19fcb5,_0x3710aa,_0x4a50b6,_0x46d09d){return _0x39a391(_0x19fcb5-_0x522917._0x82fe5b,_0x3710aa-_0x522917._0x568041,_0x19fcb5- -_0x522917._0x1ab405,_0x46d09d);}const _0xa49501=_0x38a4c1[_0x4a2bb8(_0x146240._0x18d6f0,0x59b,0x706,_0x146240._0x5bf925)][_0x582b4a(_0x146240._0x1da40c,0x7bd,0x52b,0x6c3)](_0x5e18a8-_0x181a4b),_0x4e0d3e=_0xa49501['slice'](0x0,_0x41f738[_0x4a2bb8(_0x146240._0x285d74,0x4c9,_0x146240._0x2ea16c,0x3de)]);return{'description':_0x38a4c1[_0x582b4a(_0x146240._0x42c374,0xb4,0x37e,0x214)],'commandPreview':_0x38a4c1[_0x4a2bb8(0x53d,_0x146240._0x475a36,0x53f,_0x146240._0x3db399)],'cwd':_0x38a4c1[_0x4a2bb8(_0x146240._0x4473a8,_0x146240._0x348c25,_0x146240._0x387fc5,_0x146240._0x132d5b)],'pid':_0x38a4c1[_0x4a2bb8(_0x146240._0xe4be9f,0x6fb,_0x146240._0x5d16a3,0x66e)],'status':_0x38a4c1[_0x4a2bb8(0x765,_0x146240._0x4d522c,_0x146240._0x5f3374,_0x146240._0x37d92d)],'offset':_0x5e18a8,'nextOffset':_0x5e18a8+_0x4e0d3e[_0x4a2bb8(_0x146240._0x58761a,_0x146240._0x5d16a3,_0x146240._0x52b4cb,0x756)],'endOffset':_0x592a2f,'output':_0x4e0d3e,'exitCode':_0x38a4c1[_0x4a2bb8(_0x146240._0xe374a,_0x146240._0x2546b4,_0x146240._0x3611fc,_0x146240._0x4b1545)],'signal':_0x38a4c1[_0x582b4a(_0x146240._0x97c2eb,_0x146240._0x4e070c,0x6a5,_0x146240._0x5271ed)],'truncated':_0x38a4c1[_0x4a2bb8(_0x146240._0x1d3d3d,_0x146240._0x777bda,0x3b2,_0x146240._0x1dfcc0)]>0x0,'totalDropped':_0x38a4c1['totalDropped'],'gracefulRequested':_0x38a4c1['gracefulRequested'],'forceRequested':_0x38a4c1[_0x4a2bb8(0x78e,_0x146240._0x2af5e2,_0x146240._0x1e0dfb,_0x146240._0x348c25)],..._0x38a4c1[_0x582b4a(_0x146240._0x3df496,0x17f,0x31e,0x221)]===void 0x0?{}:{'errorCode':_0x38a4c1[_0x582b4a(0x236,0x158,_0x146240._0x10c943,0x483)]}};}[_0x1957f6(0x3c9,0x539,0x2d9,0x33a)](_0x5a6944,_0x261635=this[_0x1957f6(0x4a,0x1de,0x215,0xb9)],_0xc1157e=![]){const _0x2dfe71={_0x58410c:0x227,_0x140fdd:0x209,_0x4876b2:0x2a8,_0x49dcce:0x242,_0x33c0b9:0x114,_0x32de64:0x11e,_0x43ba8b:0x56,_0x3f751f:0x15e,_0x4693fd:0x35,_0x28f751:0x441,_0x1db3db:0x10c,_0x46c5eb:0x484,_0x43d14f:0x329,_0x2f659e:0x3da,_0x36a6bb:0x30d,_0x4535f5:0x3d9,_0x3a8386:0x3c2,_0xe50b58:0x385,_0x572e57:0x4b3},_0x2c6776={_0x122f75:0x12b,_0xaf2467:0x4e4},_0x358d92={_0x358cb1:0x32c},_0x52f0ce={_0x924f0a:0xb6,_0x33423f:0x162},_0x4b9fe2=this[_0x5bcfa4(0x10a,-0x3b,_0x2dfe71._0x58410c,_0x2dfe71._0x140fdd)](_0x5a6944);if(_0x4b9fe2['terminal'])return Promise[_0x3c1e27(_0x2dfe71._0x4876b2,_0x2dfe71._0x49dcce,_0x2dfe71._0x33c0b9,_0x2dfe71._0x32de64)](this[_0x5bcfa4(0x1f6,_0x2dfe71._0x43ba8b,0x173,_0x2dfe71._0x3f751f)](_0x4b9fe2,_0x5bcfa4(0x219,-_0x2dfe71._0x4693fd,0x223,0x3d1)));function _0x3c1e27(_0x34e9cc,_0x1ab5e7,_0x464a7e,_0x640fbb){return _0x1957f6(_0x34e9cc-0xe7,_0x1ab5e7-_0x52f0ce._0x924f0a,_0x34e9cc,_0x464a7e- -_0x52f0ce._0x33423f);}if(_0x4b9fe2[_0x3c1e27(0x263,0x65,0x18a,0x2cd)]!==void 0x0)return _0x4b9fe2['termination'];if(_0x4b9fe2[_0x5bcfa4(0x484,0x6ab,_0x2dfe71._0x28f751,0x41c)]!==_0x3c1e27(0x218,0x1f3,_0x2dfe71._0x1db3db,0x2bf))_0x4b9fe2[_0x5bcfa4(_0x2dfe71._0x46c5eb,_0x2dfe71._0x43d14f,0x332,_0x2dfe71._0x2f659e)]='terminating';_0x4b9fe2['killRequested']=!![],_0x4b9fe2[_0x5bcfa4(_0x2dfe71._0x36a6bb,_0x2dfe71._0x4535f5,0x325,_0x2dfe71._0x3a8386)]=this[_0x5bcfa4(_0x2dfe71._0xe50b58,0x4db,0x351,_0x2dfe71._0x572e57)](_0x4b9fe2,_0x261635,_0xc1157e)['finally'](()=>{const _0x1f2a8f={_0x87242f:0x6e};function _0x4c9bc4(_0x493b68,_0x106a35,_0x2b571c,_0x34c4fe){return _0x3c1e27(_0x493b68,_0x106a35-_0x1f2a8f._0x87242f,_0x2b571c-0x233,_0x34c4fe-0x1d);}_0x4b9fe2[_0x4c9bc4(_0x358d92._0x358cb1,0x441,0x3bd,0x44d)]=void 0x0;});function _0x5bcfa4(_0x5a96fa,_0x1e35a3,_0xed89b8,_0x13d0f8){return _0x39a391(_0x5a96fa-_0x2c6776._0x122f75,_0x1e35a3-0xd5,_0x5a96fa- -_0x2c6776._0xaf2467,_0xed89b8);}return _0x4b9fe2[_0x5bcfa4(_0x2dfe71._0x36a6bb,0x3e1,0x2b4,0x2a3)];}[_0x1957f6(0x54c,0x2b2,0x391,0x2fd)](_0x2146fd){const _0x17173a={_0x21e42d:0xda,_0x5e8732:0xb7},_0x4ff9d9={_0x5cc986:0x106};function _0x3f4f8d(_0x31eb09,_0x2ea46e,_0x3d14e6,_0x34d0ca){return _0x1957f6(_0x31eb09-_0x4ff9d9._0x5cc986,_0x2ea46e-0x1df,_0x3d14e6,_0x31eb09-0x2);}this['entries'][_0x3f4f8d(0x2d1,_0x17173a._0x21e42d,_0x17173a._0x5e8732,0x29c)](_0x2146fd);}async[_0x1957f6(0x2a4,0x2e7,0x18c,0x364)](_0x2527dc,_0x3802b5,_0x1bae88){const _0x4383a1={_0x564faa:0x5ba,_0x250cfb:0x8bf,_0x5d2deb:0x895,_0xbadeae:0x5a9,_0x431b2c:0x3c9,_0x2d857c:0x5d1,_0x4aebc0:0x390,_0x3be4ba:0x3fb,_0x222b5b:0x2a4,_0x4faab5:0x254,_0x5455b0:0x199,_0x2f47bf:0x4f4,_0x3ba6b3:0x68f,_0x534058:0x561,_0x5eb55a:0x736,_0x145649:0x779,_0x347d1b:0x71e,_0x52afb8:0x492,_0x2a389c:0x403,_0x4ab215:0x568,_0x5494d7:0x3d9,_0x422aee:0x59b},_0x3348dd={_0x10f374:0x1e1,_0x462873:0xe2,_0x3f5635:0x3b6},_0x5db01d={_0x5c547a:0x1f0,_0x34cae4:0x3ac},_0x5b94c0={'rootPid':_0x2527dc[_0xa808bb(_0x4383a1._0x564faa,0x4bb,_0x4383a1._0x250cfb,0x6ef)]??void 0x0,'processGroupId':_0x2527dc[_0xa808bb(0x878,0x5b3,_0x4383a1._0x5d2deb,0x762)]};_0x2527dc[_0x325c78(0x35a,0x7b7,0x5b5,0x430)]=!![];const _0x5046d5=await safeSignal(_0x3802b5,_0x5b94c0,_0xa808bb(_0x4383a1._0xbadeae,_0x4383a1._0x431b2c,_0x4383a1._0x2d857c,0x5dd));if(_0x5046d5['outcome']===_0x325c78(_0x4383a1._0x4aebc0,_0x4383a1._0x3be4ba,0x399,0x5e0)&&!_0x1bae88)return this[_0x325c78(_0x4383a1._0x222b5b,0x5dd,0x399,0x5b7)](_0x2527dc,'graceful-termination-failed');function _0xa808bb(_0x3dd2eb,_0x1d0879,_0x40865a,_0x4b8d1d){return _0x1957f6(_0x3dd2eb-0xb0,_0x1d0879-_0x5db01d._0x5c547a,_0x1d0879,_0x4b8d1d-_0x5db01d._0x34cae4);}if(await this[_0x325c78(_0x4383a1._0x4faab5,0x2f0,_0x4383a1._0x5455b0,0x107)](_0x2527dc))return this['confirmed'](_0x2527dc);function _0x325c78(_0x1c42ec,_0x5976f5,_0x3ff9ec,_0x37439a){return _0x39a391(_0x1c42ec-_0x3348dd._0x10f374,_0x5976f5-_0x3348dd._0x462873,_0x3ff9ec- -_0x3348dd._0x3f5635,_0x37439a);}_0x2527dc[_0x325c78(_0x4383a1._0x2f47bf,_0x4383a1._0x3ba6b3,0x49b,_0x4383a1._0x534058)]=!![];const _0x276a96=await safeSignal(_0x3802b5,_0x5b94c0,_0xa808bb(0x8f4,_0x4383a1._0x5eb55a,_0x4383a1._0x145649,_0x4383a1._0x347d1b));if(_0x276a96[_0xa808bb(0x417,0x464,0x55e,0x51e)]==='failed')return this['failed'](_0x2527dc,_0xa808bb(0x498,0x4b9,_0x4383a1._0x52afb8,0x6b6));if(await this[_0xa808bb(0x459,_0x4383a1._0x2a389c,_0x4383a1._0x4ab215,0x3f6)](_0x2527dc))return this['confirmed'](_0x2527dc);return this[_0x325c78(_0x4383a1._0x5494d7,_0x4383a1._0x422aee,0x399,0x4df)](_0x2527dc,'termination-timeout');}[_0x1957f6(0xfa,0xa9,-0x7c,0x121)](_0x558dd2){const _0x4631bd={_0x47b514:0x9e4,_0x566780:0xb19,_0xe236fc:0x833,_0xc15264:0x667,_0x350f8c:0x759,_0x3517fb:0x75e,_0x4f167f:0x5c4,_0x17b591:0x524,_0x27a332:0x41e,_0x17e367:0x49d},_0x1a304b={_0x2be9c3:0xb3,_0x54efb9:0x7c},_0x311b60={_0x23a9e5:0x1e2};function _0x3b1b8c(_0x515327,_0x23e3ad,_0xa8c6e6,_0x3a3405){return _0x39a391(_0x515327-_0x311b60._0x23a9e5,_0x23e3ad-0x7d,_0x3a3405- -0x10c,_0x23e3ad);}function _0x28d27b(_0x4c0451,_0xb32717,_0x4c70c3,_0x42fef1){return _0x39a391(_0x4c0451-0x8d,_0xb32717-_0x1a304b._0x2be9c3,_0x4c0451-_0x1a304b._0x54efb9,_0xb32717);}return _0x558dd2[_0x28d27b(_0x4631bd._0x47b514,_0x4631bd._0x566780,0x973,0xb3d)]===_0x3b1b8c(0x78f,_0x4631bd._0xe236fc,0x5a1,_0x4631bd._0xc15264)?this[_0x28d27b(0x7cb,_0x4631bd._0x350f8c,0x596,_0x4631bd._0x3517fb)](_0x558dd2,_0x558dd2[_0x28d27b(_0x4631bd._0x4f167f,0x406,_0x4631bd._0x17b591,_0x4631bd._0x27a332)]??'process-error'):this[_0x3b1b8c(0x61d,0x512,_0x4631bd._0x17e367,0x5ce)](_0x558dd2,'killed');}['failed'](_0x4f34aa,_0x565c46){const _0x3b50e4={_0x2066c1:0x56f,_0x3798e0:0x47e,_0x502fc0:0x23b,_0x467dc2:0x1df,_0x40a73a:0xbf,_0x1a7ba5:0x4ef,_0x152995:0x40f,_0x4e8ce2:0x71f},_0x3c7565={_0x4eef00:0x41},_0xe3617f={_0x13a660:0x17f,_0x1075ac:0x49f};function _0x21b784(_0x3e5ca6,_0x532541,_0x3f5c87,_0x4c9bed){return _0x39a391(_0x3e5ca6-_0xe3617f._0x13a660,_0x532541-0x131,_0x532541- -_0xe3617f._0x1075ac,_0x3e5ca6);}function _0x6d5309(_0x5151f2,_0x20c89a,_0x199c89,_0x1a14d0){return _0x1957f6(_0x5151f2-_0x3c7565._0x4eef00,_0x20c89a-0x1bc,_0x20c89a,_0x5151f2-0x2a5);}return _0x4f34aa['errorCode']=_0x565c46[_0x21b784(0x1e6,0x422,0x5fc,_0x3b50e4._0x2066c1)](0x0,0x40),this[_0x21b784(_0x3b50e4._0x3798e0,_0x3b50e4._0x502fc0,_0x3b50e4._0x467dc2,_0x3b50e4._0x40a73a)](_0x4f34aa,_0x6d5309(_0x3b50e4._0x1a7ba5,_0x3b50e4._0x152995,_0x3b50e4._0x4e8ce2,0x520));}['terminationResult'](_0x1b84e8,_0x1acf97){const _0x5a46d5={_0x4a5132:0x1cd,_0x582e23:0x369,_0x11fa59:0x5af,_0x7e0c90:0x556,_0x17f269:0x4ea,_0x3dac2a:0x3b6,_0x1836d4:0x279,_0x366c77:0x590,_0x847f1b:0x5f7,_0x48a811:0x4c7,_0x2cab97:0x587,_0x3184c0:0x4cc,_0xdfe33f:0x35f,_0x29a79b:0x3ad},_0x27ba0e={_0xcaf2d9:0x175,_0x3cb343:0x1b6,_0x52d83e:0x192},_0x4d3028={_0x57c355:0x10b,_0x555928:0x61};function _0x563d1d(_0x42724d,_0xbd316f,_0x3245ae,_0x3e0fe8){return _0x1957f6(_0x42724d-0x112,_0xbd316f-_0x4d3028._0x57c355,_0xbd316f,_0x3e0fe8-_0x4d3028._0x555928);}function _0x326dd8(_0x3c7eaa,_0xbd8042,_0x2339dd,_0x54f188){return _0x39a391(_0x3c7eaa-_0x27ba0e._0xcaf2d9,_0xbd8042-_0x27ba0e._0x3cb343,_0x3c7eaa- -_0x27ba0e._0x52d83e,_0x2339dd);}return{'shellId':_0x1b84e8[_0x563d1d(0x14b,0x2e0,_0x5a46d5._0x4a5132,0x388)],'outcome':_0x1acf97,'status':_0x1b84e8[_0x563d1d(0x268,0x4a6,_0x5a46d5._0x582e23,0x4c4)]===_0x326dd8(0x403,_0x5a46d5._0x11fa59,0x2a7,0x3fd)?_0x563d1d(_0x5a46d5._0x7e0c90,_0x5a46d5._0x17f269,0x100,0x325):_0x1b84e8['status'],'exitCode':_0x1b84e8['exitCode'],'signal':_0x1b84e8[_0x326dd8(0x72b,0x4da,0x7e1,0x8fd)],..._0x1b84e8[_0x326dd8(_0x5a46d5._0x3dac2a,0x434,_0x5a46d5._0x1836d4,0x163)]===void 0x0?{}:{'errorCode':_0x1b84e8['errorCode']},'gracefulRequested':_0x1b84e8[_0x563d1d(_0x5a46d5._0x366c77,0x2e1,_0x5a46d5._0x847f1b,_0x5a46d5._0x48a811)],'forceRequested':_0x1b84e8[_0x563d1d(_0x5a46d5._0x2cab97,_0x5a46d5._0x3184c0,_0x5a46d5._0xdfe33f,_0x5a46d5._0x29a79b)]};}async['wait'](_0x49f9e8){const _0x4464ca={_0x4741bc:0x54a,_0x2d36c1:0x5b0,_0x12b9f7:0x73,_0x23d564:0x189,_0x269296:0x239};if(_0x49f9e8['terminal'])return!![];return new Promise(_0x233e6a=>{const _0x1d06fc={_0x3e756f:0x3d9};function _0x56ccf4(_0xfb564a,_0x13e4b9,_0x39ee89,_0x5bbf21){return _0x1b0d(_0xfb564a- -_0x1d06fc._0x3e756f,_0x39ee89);}function _0x1d5f20(_0x28419f,_0x3c7be4,_0xe69fe4,_0x50861f){return _0x1b0d(_0x3c7be4-0x2d2,_0x28419f);}const _0x5c0107=setTimeout(()=>_0x233e6a(![]),this[_0x1d5f20(0x642,0x506,_0x4464ca._0x4741bc,_0x4464ca._0x2d36c1)]);void _0x49f9e8[_0x56ccf4(_0x4464ca._0x12b9f7,_0x4464ca._0x23d564,_0x4464ca._0x269296,0x22f)]['then'](()=>{clearTimeout(_0x5c0107),_0x233e6a(!![]);});});}[_0x39a391(0x679,0x887,0x78c,0x665)](_0x243b1f){const _0x552f58={_0x4f1c10:0x33f,_0x4793ea:0x123,_0x4c2168:0x485,_0x88700a:0x5e7,_0x434f6c:0x7bb,_0x34abd2:0x685,_0x40a788:0x5e7,_0x503503:0x418,_0x2a86d4:0xd9,_0x2603bb:0x563,_0x56a5c7:0x634,_0x5f4598:0x684,_0x5cfd20:0x4a7,_0x1c0f59:0x303,_0x53aa6e:0x3ff,_0x57bfcb:0x7e1,_0x58e526:0x8de,_0x10bb99:0x8b2,_0xc29faf:0x892,_0x2f4d71:0x8a2,_0x5e2a84:0x3b,_0x17ba2c:0x20c,_0x245f56:0x208,_0x4d8e36:0x175,_0x2621d4:0x61,_0x206cb3:0x20c},_0x3e9247={_0xf3fbab:0x16f,_0x318bf6:0xd1};function _0x2b4e8e(_0x125177,_0x50d52b,_0x49bff3,_0xd0ed00){return _0x39a391(_0x125177-_0x3e9247._0xf3fbab,_0x50d52b-_0x3e9247._0x318bf6,_0x49bff3- -0x33c,_0x50d52b);}this[_0x2b4e8e(0x1d3,_0x552f58._0x4f1c10,0x20b,_0x552f58._0x4793ea)](_0x243b1f);function _0xb03e1b(_0x5c1a11,_0x4db64c,_0x1317a5,_0x268e6a){return _0x39a391(_0x5c1a11-0xcc,_0x4db64c-0x134,_0x268e6a- -0xd9,_0x4db64c);}if(_0x243b1f[_0xb03e1b(_0x552f58._0x4c2168,0x716,0x462,_0x552f58._0x88700a)])return;_0x243b1f[_0xb03e1b(_0x552f58._0x434f6c,_0x552f58._0x34abd2,0x486,_0x552f58._0x40a788)]=!![],_0x243b1f[_0x2b4e8e(0x39b,_0x552f58._0x503503,0x2cb,_0x552f58._0x2a86d4)]({'status':terminal(_0x243b1f[_0x2b4e8e(0x492,_0x552f58._0x2603bb,0x62c,_0x552f58._0x56a5c7)])?_0x243b1f['status']:_0xb03e1b(0x5c4,_0x552f58._0x5f4598,0x832,0x69a),'exitCode':_0x243b1f['exitCode'],'signal':_0x243b1f[_0xb03e1b(0x879,0x5f0,0x61d,0x7e4)],'truncated':_0x243b1f[_0xb03e1b(_0x552f58._0x5cfd20,_0x552f58._0x1c0f59,0x1e5,_0x552f58._0x53aa6e)]>0x0,'totalDropped':_0x243b1f['totalDropped'],'gracefulRequested':_0x243b1f[_0xb03e1b(_0x552f58._0x57bfcb,_0x552f58._0x58e526,_0x552f58._0x10bb99,_0x552f58._0xc29faf)],'forceRequested':_0x243b1f[_0xb03e1b(0x731,_0x552f58._0x2f4d71,0x6c2,0x778)],..._0x243b1f[_0x2b4e8e(_0x552f58._0x5e2a84,-0x4,_0x552f58._0x17ba2c,_0x552f58._0x245f56)]===void 0x0?{}:{'errorCode':_0x243b1f[_0x2b4e8e(_0x552f58._0x4d8e36,_0x552f58._0x2621d4,_0x552f58._0x206cb3,0x11e)]}}),this[_0x2b4e8e(0x20a,0x5d9,0x39a,0x249)]();}['appendDecoded'](_0x255fa9,_0x5973ee,_0x1ff279,_0x522f41){const _0x54e7ff={_0x2e17b3:0x424,_0x3816d9:0x2f,_0x45b853:0x64,_0x13bc05:0x33e,_0x4075e4:0x4e3,_0x3d6c66:0x18c,_0xe08430:0x4d6,_0x5c941e:0x1d8,_0x8cea2d:0x41},_0x55115f={_0x455c38:0xe3,_0x2c3973:0x17f},_0x4efbd2={_0xf9e790:0x8f,_0x2b9250:0x130,_0x3bf914:0x2dc},_0x3ef356=_0x5973ee[_0x12b767(0x1d8,_0x54e7ff._0x2e17b3,_0x54e7ff._0x3816d9,-_0x54e7ff._0x45b853)](_0x522f41);function _0x3a997a(_0x379834,_0x5ec2b9,_0x3cc0a3,_0x267091){return _0x1957f6(_0x379834-_0x4efbd2._0xf9e790,_0x5ec2b9-_0x4efbd2._0x2b9250,_0x379834,_0x5ec2b9-_0x4efbd2._0x3bf914);}function _0x12b767(_0xbc7de3,_0x437f38,_0x328eb6,_0x5c6049){return _0x1957f6(_0xbc7de3-0x12a,_0x437f38-_0x55115f._0x455c38,_0x328eb6,_0xbc7de3-_0x55115f._0x2c3973);}this[_0x12b767(_0x54e7ff._0x13bc05,_0x54e7ff._0x4075e4,_0x54e7ff._0x3d6c66,_0x54e7ff._0xe08430)](_0x255fa9,_0x255fa9['stripAnsi']?_0x1ff279[_0x12b767(_0x54e7ff._0x5c941e,0x31d,0x113,-_0x54e7ff._0x8cea2d)](_0x3ef356):_0x3ef356);}[_0x39a391(0x42a,0x792,0x547,0x4bd)](_0x5d60dc){const _0x343a1c={_0x5dfe93:0x120,_0x4363f3:0x2da,_0x46f66d:0x13a,_0x5c8004:0x13f,_0x3b71d8:0x15d,_0x1dbf4d:0x1ab,_0x472fb1:0x37a,_0x421701:0x63,_0x4f1bfa:0x5a2,_0x17ec78:0x595,_0x5cd4fb:0x1e,_0xd9abae:0x1f7,_0x251626:0x42a,_0x3c2cf8:0x4f9,_0x2d3e24:0xa4,_0x285db9:0xdb,_0x590156:0x97,_0x3556cb:0x385,_0x2381f6:0x291,_0x5469b2:0x13d,_0x2268b7:0xc2,_0x8a7875:0x79f,_0x2082a9:0x53e,_0x432f58:0x1e,_0x3e8c8d:0x219,_0x2a5bbb:0x6ab,_0x162eeb:0x857,_0x492967:0x8f0,_0x21c435:0xa2,_0x2a15ec:0xdc,_0x1c476b:0x3e9},_0x4e2deb={_0x14ad8d:0x4c,_0x2d7bca:0x6a6},_0x3bc218={_0x226195:0x112,_0x135c36:0x1b2,_0x24099a:0xa7};if(_0x5d60dc[_0x203242(_0x343a1c._0x5dfe93,_0x343a1c._0x4363f3,_0x343a1c._0x46f66d,_0x343a1c._0x5c8004)])return;function _0x45cca0(_0x1a3ba3,_0x2daedb,_0x1fd831,_0x1a8d16){return _0x39a391(_0x1a3ba3-_0x3bc218._0x226195,_0x2daedb-_0x3bc218._0x135c36,_0x1a3ba3-_0x3bc218._0x24099a,_0x2daedb);}function _0x203242(_0x10796b,_0x17a3c0,_0x38eb53,_0x3813cc){return _0x39a391(_0x10796b-_0x4e2deb._0x14ad8d,_0x17a3c0-0xce,_0x10796b- -_0x4e2deb._0x2d7bca,_0x3813cc);}_0x5d60dc[_0x203242(_0x343a1c._0x5dfe93,0x93,-0x3,_0x343a1c._0x3b71d8)]=!![];const _0x3fa341=_0x5d60dc['stdoutDecoder'][_0x203242(-_0x343a1c._0x1dbf4d,-_0x343a1c._0x472fb1,-0x346,_0x343a1c._0x421701)](),_0x59182f=_0x5d60dc['stderrDecoder'][_0x45cca0(_0x343a1c._0x4f1bfa,0x77c,_0x343a1c._0x17ec78,0x7bc)]();this[_0x203242(_0x343a1c._0x5cd4fb,-0x1a4,_0x343a1c._0xd9abae,0x9a)](_0x5d60dc,_0x5d60dc[_0x45cca0(0x5d1,0x399,_0x343a1c._0x251626,_0x343a1c._0x3c2cf8)]?_0x5d60dc[_0x203242(0x13d,0x23a,_0x343a1c._0x2d3e24,_0x343a1c._0x285db9)][_0x203242(-0x148,_0x343a1c._0x590156,-_0x343a1c._0x3556cb,-_0x343a1c._0x2381f6)](_0x3fa341)+_0x5d60dc[_0x203242(_0x343a1c._0x5469b2,0x2a5,-0xba,_0x343a1c._0x2268b7)][_0x45cca0(0x5a2,_0x343a1c._0x8a7875,0x63c,_0x343a1c._0x2082a9)]():_0x3fa341),this[_0x203242(_0x343a1c._0x432f58,-0x1de,_0x343a1c._0x3e8c8d,-0x13e)](_0x5d60dc,_0x5d60dc['stripAnsi']?_0x5d60dc[_0x45cca0(_0x343a1c._0x2a5bbb,0x638,_0x343a1c._0x162eeb,_0x343a1c._0x492967)]['write'](_0x59182f)+_0x5d60dc[_0x203242(-_0x343a1c._0x21c435,0xb6,-0x147,_0x343a1c._0x2a15ec)][_0x203242(-0x1ab,-_0x343a1c._0x1c476b,-0x27b,-0xf0)]():_0x59182f);}['append'](_0x121923,_0x1104ae){const _0x3a537e={_0x369a17:0x7fa,_0x5427fc:0x33d,_0x5f4526:0x338,_0x48e616:0x459,_0x5a66bd:0x383,_0x21c5f0:0x2fa,_0x444b41:0x361,_0x4f83d9:0x81a,_0x1ad1ab:0x9ee,_0x5be538:0x23d,_0x5be9c0:0x47d,_0x57cc69:0x9e6,_0x3281dc:0x6d7,_0x571d83:0x976,_0x259236:0x467,_0x591a60:0x8c8,_0x42f10e:0x96b,_0x5a77b3:0x122,_0x193b77:0xbe,_0x1373b9:0x26},_0x376b62={_0x2ea8f6:0x11e},_0x267297={_0x4a46a2:0x1ce};if(_0x1104ae[_0x26d5a8(_0x3a537e._0x369a17,0x8f9,0x8a3,0x781)]===0x0)return;_0x121923[_0x17180a(0x1d,0x27e,0x23d,_0x3a537e._0x5427fc)]+=_0x1104ae;function _0x17180a(_0x280d92,_0x1b34f5,_0x1aae0c,_0x1fcc00){return _0x39a391(_0x280d92-0x3a,_0x1b34f5-_0x267297._0x4a46a2,_0x1aae0c- -0x4ab,_0x280d92);}function _0x26d5a8(_0xded167,_0x4f4b84,_0x401952,_0xff5242){return _0x1957f6(_0xded167-_0x376b62._0x2ea8f6,_0x4f4b84-0x1f3,_0xff5242,_0xded167-0x3fb);}_0x121923['totalProduced']+=_0x1104ae[_0x17180a(_0x3a537e._0x5f4526,0x20d,_0x3a537e._0x48e616,0x3da)];if(_0x121923[_0x17180a(_0x3a537e._0x5a66bd,0xf0,0x23d,0x166)][_0x17180a(_0x3a537e._0x21c5f0,_0x3a537e._0x444b41,_0x3a537e._0x48e616,0x371)]>this[_0x26d5a8(_0x3a537e._0x4f83d9,0x937,0x7b9,_0x3a537e._0x1ad1ab)]){const _0x21b7a1=_0x121923[_0x17180a(0x1b4,0x444,_0x3a537e._0x5be538,_0x3a537e._0x5be9c0)][_0x26d5a8(0x7fa,0x75f,_0x3a537e._0x57cc69,_0x3a537e._0x3281dc)]-this[_0x26d5a8(0x81a,_0x3a537e._0x571d83,0x8c9,0xa02)];_0x121923['output']=_0x121923[_0x26d5a8(0x5de,_0x3a537e._0x259236,0x5f1,0x70c)][_0x26d5a8(0x7b7,0x8fe,_0x3a537e._0x591a60,_0x3a537e._0x42f10e)](_0x21b7a1),_0x121923[_0x17180a(_0x3a537e._0x5a77b3,-_0x3a537e._0x193b77,0x2d,_0x3a537e._0x1373b9)]+=_0x21b7a1;}}[_0x1957f6(0x382,0x2e1,0x34,0x1d1)](){const _0x12f3ec={_0x3603f5:0x2f8,_0x19890f:0x385,_0x5a2450:0x624,_0x37a8fd:0x116,_0x592554:0x2fa,_0x222823:0x21a,_0x5c68af:0x24d,_0x41cbfc:0x4b9,_0x4246fe:0x129},_0x502861={_0x1cda0b:0x82},_0x4b55eb={_0x262542:0x208};function _0x49970c(_0x32ddc7,_0x4ec852,_0x53957f,_0x114888){return _0x1957f6(_0x32ddc7-0x16e,_0x4ec852-0x10b,_0x53957f,_0x32ddc7-_0x4b55eb._0x262542);}function _0x11a219(_0xcce7e6,_0x191d1e,_0x24f54f,_0x32570c){return _0x1957f6(_0xcce7e6-0xab,_0x191d1e-0xc1,_0x24f54f,_0x32570c- -_0x502861._0x1cda0b);}while(this[_0x11a219(0x225,0x430,_0x12f3ec._0x3603f5,_0x12f3ec._0x19890f)]['size']>this['maxEntries']){const _0x1b7766=[...this[_0x49970c(0x60f,0x3fc,_0x12f3ec._0x5a2450,0x7a5)][_0x11a219(_0x12f3ec._0x37a8fd,0xb3,_0x12f3ec._0x592554,_0x12f3ec._0x222823)]()]['find'](_0x187bf6=>_0x187bf6[_0x49970c(0x3c3,0x2b0,0x4ae,0x3e5)]);if(!_0x1b7766)return;this['entries'][_0x11a219(0x14e,0x1d7,0x100,_0x12f3ec._0x5c68af)](_0x1b7766[_0x11a219(_0x12f3ec._0x41cbfc,0x420,_0x12f3ec._0x4246fe,0x2a5)]);}}[_0x39a391(0x7c4,0x7af,0x5ee,0x838)](_0x1df2e3){const _0x1dc1ac={_0x50b450:0x44,_0x3d87bd:0x1eb},_0x4f40ce={_0x327449:0x6e,_0x5108f2:0x17a,_0x215b0f:0x329},_0x4e927b=this['entries']['get'](_0x1df2e3);if(!_0x4e927b)throw new ToolExecutionError(_0x4107d4(_0x1dc1ac._0x50b450,0x21f,0x17e,_0x1dc1ac._0x3d87bd)+_0x1df2e3,{'shellId':_0x1df2e3});function _0x4107d4(_0x2b70b5,_0x16870f,_0xe70ed,_0x234d67){return _0x39a391(_0x2b70b5-_0x4f40ce._0x327449,_0x16870f-_0x4f40ce._0x5108f2,_0x234d67- -_0x4f40ce._0x215b0f,_0x2b70b5);}return _0x4e927b;}};function filterBackgroundBashOutput(_0x1d5b72){const _0x208cba={_0x1b6959:0x475,_0x4eee64:0x22e,_0x1f6e58:0xe4,_0x3a57c5:0x4a8,_0x219cb7:0x5b7,_0xf49429:0x474,_0x297587:0x7ee,_0x384319:0x90d,_0x3f8e42:0x2ac,_0x1f95aa:0x3fd,_0x680453:0x303,_0x2812b3:0x98f,_0x5556d2:0x711,_0x25243f:0x294,_0xc12b46:0x3e5,_0x4788fb:0x631,_0x2a36ea:0x68e,_0x15c9bc:0x725,_0x423815:0x2c9,_0x56ab63:0x3bb,_0x57394f:0x55e,_0x94c246:0x456,_0xd06c9a:0x6ad,_0x12f167:0x793,_0x5bdc68:0x364,_0x4fae63:0x5d6,_0x4386a3:0x556,_0x4fd009:0x720,_0x2f847f:0x710,_0x4760a4:0x85b,_0x51c3e5:0x7dc,_0x1e0510:0x614},_0x5cc499={_0x121358:0x542},_0x2eedaf={_0x409464:0xf9,_0x4585cb:0xc4,_0x229b1d:0x292};if(_0x1d5b72['regex']===void 0x0)return{'output':_0x1d5b72[_0xa06465(_0x208cba._0x1b6959,_0x208cba._0x4eee64,0x6a7,0x456)],'nextOffset':_0x1d5b72[_0xa06465(_0x208cba._0x1f6e58,0x402,_0x208cba._0x3a57c5,0x2af)]};const _0x91c04f=new RegExp(_0x1d5b72[_0xa06465(_0x208cba._0x219cb7,_0x208cba._0xf49429,0x35c,0x5b5)]),_0x3ecef7=_0x1d5b72[_0xa06465(_0x208cba._0x297587,_0x208cba._0x384319,0x625,0x6d6)]===_0xa06465(_0x208cba._0x3f8e42,_0x208cba._0x1f95aa,0x4a2,_0x208cba._0x680453)?_0x1d5b72['output'][_0x335909(_0x208cba._0x2812b3,_0x208cba._0x5556d2,0x70f,0x8fe)](0x0,Math[_0xa06465(_0x208cba._0x25243f,_0x208cba._0xc12b46,0x57c,0x4c1)](0x0,_0x1d5b72[_0x335909(_0x208cba._0x4788fb,0x78f,_0x208cba._0x2a36ea,_0x208cba._0x15c9bc)][_0xa06465(0x3c3,0x369,0x2a3,_0x208cba._0x423815)]('\x0a')+0x1)):_0x1d5b72[_0xa06465(0x29d,_0x208cba._0x56ab63,_0x208cba._0x57394f,_0x208cba._0x94c246)];function _0xa06465(_0x3bc288,_0x34950f,_0x33d8cb,_0x36b85d){return _0x39a391(_0x3bc288-_0x2eedaf._0x409464,_0x34950f-_0x2eedaf._0x4585cb,_0x36b85d- -_0x2eedaf._0x229b1d,_0x34950f);}const _0x1e80fe=_0x3ecef7[_0x335909(_0x208cba._0xd06c9a,0x69f,_0x208cba._0x12f167,0x73c)]('\x0a')[_0xa06465(_0x208cba._0x5bdc68,0x6bb,_0x208cba._0x4fae63,_0x208cba._0x4386a3)](_0x42b220=>_0x91c04f[_0xa06465(0x2e4,0x2b0,0x2f8,0x24d)](_0x42b220))[_0x335909(_0x208cba._0x4fd009,_0x208cba._0x2f847f,_0x208cba._0x4760a4,0x64e)]('\x0a');function _0x335909(_0x4286d3,_0x2b82e4,_0x36bdbe,_0x5d3482){return _0x1957f6(_0x4286d3-0x14,_0x2b82e4-0x99,_0x4286d3,_0x5d3482-_0x5cc499._0x121358);}return{'output':_0x1e80fe,'nextOffset':_0x1d5b72[_0xa06465(_0x208cba._0x51c3e5,_0x208cba._0xd06c9a,0x73c,_0x208cba._0x1e0510)]+_0x3ecef7['length']};}function createBashOutputTool(_0x2aa049){const _0x3d9b26={_0x1d8a7c:0x1a3,_0x543f1b:0x438,_0x1cda1f:0x35a,_0xe0eaf5:0x306,_0x8029c8:0x2ea,_0x14bb4e:0x136,_0x439e86:0x56a,_0xb32369:0x408,_0xeb615b:0x5aa,_0x4f5d19:0x446,_0x497376:0x51a,_0x5cd456:0x221,_0x547592:0x400},_0x474700={_0x243ee0:0x6d8,_0x32618f:0x68c,_0x214d1d:0x8cd,_0x541223:0x41a,_0x490049:0x636,_0x198b0a:0x4e6,_0x14815f:0x23d,_0x26d45c:0x6b7,_0x275147:0x55c,_0x201c15:0x681,_0x6ed037:0x2e,_0x4a0f1f:0x1ad,_0x179ea0:0x13d,_0x4206b1:0x164,_0x461e29:0x34e,_0x456f46:0xf7,_0x40c33f:0x267,_0x3ac706:0x190,_0x3d22eb:0x280,_0x59661b:0x574,_0x42b042:0x3b5,_0x5b790a:0x4db,_0x5d3726:0x488,_0x103975:0x6d8,_0xfa13c6:0x4f0,_0x400d05:0x895,_0x309a0e:0x3b9,_0x1d40ce:0x132,_0x1cd79f:0xf,_0x24820c:0x92,_0x58658b:0x1da,_0x58dea4:0x22d,_0x1296ae:0x2e4,_0x1a92fe:0x65a,_0x3a7445:0x79a,_0x56f6f1:0x15b,_0x205875:0xa2,_0x31bf0d:0x8e,_0x36fc38:0x839,_0x37e0c0:0x5da,_0x398838:0x40,_0x94acd7:0x17b,_0x50f832:0x252,_0x52c8e1:0x153,_0x587e9b:0x4e0,_0x4da62f:0x62c,_0xcfb8bb:0xff,_0x4e68b8:0x99,_0x45f3cb:0x222,_0x3c882a:0x54,_0x7d7b9c:0x5d8,_0x517156:0x402,_0x2849a9:0x622},_0x4f322e={_0x500c64:0x10,_0x213d92:0x28a},_0x2a159d={_0x3ea1d6:0xb2},_0x1d434b={_0x14385d:0x12},_0x802ce9={_0x1c0bf4:0x30c};function _0x556dd8(_0x2844fb,_0x4c0036,_0x1257a2,_0x3157ee){return _0x39a391(_0x2844fb-0xc3,_0x4c0036-0x184,_0x3157ee- -_0x802ce9._0x1c0bf4,_0x2844fb);}function _0x41fc68(_0x2af465,_0x40c6e1,_0x31ed8a,_0x59edfe){return _0x1957f6(_0x2af465-0x157,_0x40c6e1-_0x1d434b._0x14385d,_0x59edfe,_0x31ed8a-0xad);}return defineTool({'name':_0x41fc68(_0x3d9b26._0x1d8a7c,_0x3d9b26._0x543f1b,_0x3d9b26._0x1cda1f,_0x3d9b26._0xe0eaf5),'permissionClass':_0x556dd8(_0x3d9b26._0x8029c8,_0x3d9b26._0x14bb4e,0x28c,0x2f3),'description':_0x41fc68(0x62b,_0x3d9b26._0x439e86,0x419,0x606),'inputSchema':{'type':_0x556dd8(_0x3d9b26._0xb32369,_0x3d9b26._0xeb615b,_0x3d9b26._0x4f5d19,0x42b),'properties':{'shellId':{'type':_0x556dd8(0x1ad,0x53f,_0x3d9b26._0x497376,0x3f9)},'offset':{'type':'number'},'regex':{'type':'string'}},'required':[_0x556dd8(0x452,_0x3d9b26._0x5cd456,0x288,_0x3d9b26._0x547592)]},async *'execute'(_0x4f4d7a){if(_0x4f4d7a[_0x2e6c69(0x764,_0x474700._0x243ee0,_0x474700._0x32618f,_0x474700._0x214d1d)]!==void 0x0&&(!Number[_0x2e6c69(_0x474700._0x541223,_0x474700._0x490049,0x487,_0x474700._0x198b0a)](_0x4f4d7a[_0x55cbb5(0x1da,0x296,0x23d,_0x474700._0x14815f)])||_0x4f4d7a[_0x2e6c69(_0x474700._0x26d45c,0x6d8,_0x474700._0x275147,_0x474700._0x201c15)]<0x0))throw new ToolExecutionError(_0x55cbb5(-_0x474700._0x6ed037,_0x474700._0x4a0f1f,_0x474700._0x179ea0,-_0x474700._0x4206b1),{'shellId':_0x4f4d7a[_0x2e6c69(_0x474700._0x461e29,0x53e,0x5e5,0x492)]});const _0x1a7322=await _0x2aa049[_0x55cbb5(_0x474700._0x456f46,_0x474700._0x40c33f,_0x474700._0x3ac706,_0x474700._0x3d22eb)][_0x2e6c69(_0x474700._0x59661b,_0x474700._0x42b042,0x2e7,0x51f)]({'shellId':_0x4f4d7a[_0x2e6c69(_0x474700._0x5b790a,0x53e,_0x474700._0x5d3726,0x50b)],..._0x4f4d7a[_0x2e6c69(0x7cb,_0x474700._0x103975,_0x474700._0xfa13c6,_0x474700._0x400d05)]===void 0x0?{}:{'offset':_0x4f4d7a[_0x55cbb5(0x1da,_0x474700._0x309a0e,-0xb,_0x474700._0x1d40ce)]}});let _0x4b0c1e;function _0x55cbb5(_0x402d13,_0x33096a,_0x477b11,_0x24bc0e){return _0x556dd8(_0x477b11,_0x33096a-0x1d2,_0x477b11-_0x2a159d._0x3ea1d6,_0x402d13- -0x3c0);}try{_0x4b0c1e=filterBackgroundBashOutput({'output':_0x1a7322[_0x55cbb5(0x1c,_0x474700._0x1cd79f,_0x474700._0x24820c,0x58)],'offset':_0x1a7322[_0x55cbb5(_0x474700._0x58658b,_0x474700._0x58dea4,0x27f,0x33c)],'nextOffset':_0x1a7322[_0x55cbb5(-0x18b,-0x2,-0x12d,-_0x474700._0x1296ae)],'status':_0x1a7322[_0x2e6c69(_0x474700._0x1a92fe,_0x474700._0x3a7445,0x8f9,0x6d3)],..._0x4f4d7a['regex']===void 0x0?{}:{'regex':_0x4f4d7a['regex']}});}catch(_0x526626){throw new ToolExecutionError(_0x55cbb5(-_0x474700._0x56f6f1,_0x474700._0x205875,-0x19d,-_0x474700._0x31bf0d)+(_0x526626 instanceof Error?_0x526626[_0x2e6c69(0x7e1,0x799,_0x474700._0x36fc38,_0x474700._0x37e0c0)]:String(_0x526626)),{'shellId':_0x4f4d7a[_0x55cbb5(_0x474700._0x398838,0x179,0x154,0xbf)],..._0x4f4d7a[_0x55cbb5(_0x474700._0x94acd7,_0x474700._0x50f832,_0x474700._0x52c8e1,0x9c)]===void 0x0?{}:{'regex':_0x4f4d7a[_0x2e6c69(_0x474700._0x587e9b,0x679,0x4c7,_0x474700._0x4da62f)]}});}function _0x2e6c69(_0x341beb,_0x17e98c,_0x4b360b,_0xb4e665){return _0x41fc68(_0x341beb-0x12,_0x17e98c-_0x4f322e._0x500c64,_0x17e98c-_0x4f322e._0x213d92,_0x4b360b);}return createToolOutput(_0x4b0c1e[_0x55cbb5(0x1c,-0x95,-_0x474700._0xcfb8bb,-0x1c1)],{'shellId':_0x1a7322[_0x55cbb5(0x40,0x54,-_0x474700._0x4e68b8,-0x1d)],'nextOffset':_0x4b0c1e[_0x55cbb5(-0x18b,-0x40,-_0x474700._0x45f3cb,_0x474700._0x3c882a)],'status':_0x1a7322['status'],'exitCode':_0x1a7322['exitCode'],'signal':_0x1a7322[_0x2e6c69(_0x474700._0x7d7b9c,0x6ef,0x5ff,0x623)],'truncated':_0x1a7322[_0x2e6c69(0x37a,_0x474700._0x517156,_0x474700._0x2849a9,0x303)]});}});}import{spawn as _0x5a1d1c}from'child_process';import{realpathSync,statSync}from'fs';import*as _0x238397 from'os';import*as _0x4593bf from'path';import{StringDecoder as _0x144cf8}from'string_decoder';import{spawn as _0x598461}from'child_process';import{stripVTControlCharacters}from'util';function isErrnoException2(_0x242a82){return _0x242a82 instanceof Error;}function resolveCarriageReturns(_0x50c2b0){const _0x1f9b83={_0x4d1b2b:0x385,_0x2e5da7:0x24d,_0x1c212d:0x6,_0x3d3d96:0x2eb,_0x1aa9df:0x3bb,_0x2514e0:0x23e,_0x203903:0x22d},_0x333799={_0x13a085:0x103,_0x585252:0x2d,_0x49b5bc:0xb8,_0x36f7c6:0x1cd,_0x4e08f9:0x55b,_0x53d37c:0x3cd},_0x4a9045={_0x216981:0x4a},_0x57e0cd={_0x120d07:0x1eb,_0x38554b:0x79};function _0x186df2(_0x9ffc4b,_0x4f74d3,_0x25e521,_0x491a8a){return _0x1957f6(_0x9ffc4b-0x4a,_0x4f74d3-_0x57e0cd._0x120d07,_0x9ffc4b,_0x4f74d3-_0x57e0cd._0x38554b);}function _0x411b95(_0x9cd13f,_0x17d6f6,_0x5c7d04,_0x411b40){return _0x1957f6(_0x9cd13f-_0x4a9045._0x216981,_0x17d6f6-0x19a,_0x5c7d04,_0x17d6f6-0x132);}return _0x50c2b0['split']('\x0a')[_0x411b95(_0x1f9b83._0x4d1b2b,_0x1f9b83._0x2e5da7,-_0x1f9b83._0x1c212d,_0x1f9b83._0x3d3d96)](_0x23817c=>{const _0x562def={_0x2b8c12:0x5d,_0x5699f4:0x19a,_0x471632:0x147},_0x606ffc={_0x97f4a0:0x1a4,_0x446ab8:0x164};function _0x275c47(_0x477b35,_0x294999,_0x3c96f4,_0x1873f2){return _0x411b95(_0x477b35-_0x606ffc._0x97f4a0,_0x1873f2- -_0x606ffc._0x446ab8,_0x3c96f4,_0x1873f2-0x198);}if(!_0x23817c[_0x7971b0(0x1ac,0x4,_0x333799._0x13a085,-_0x333799._0x585252)]('\x0d'))return _0x23817c;const _0x4eae84=_0x23817c[_0x7971b0(0x192,-_0x333799._0x49b5bc,-0x21,-0x82)]('\x0d');function _0x7971b0(_0x43cd4e,_0x3c4caa,_0x21518d,_0x2fc478){return _0x411b95(_0x43cd4e-_0x562def._0x2b8c12,_0x43cd4e- -_0x562def._0x5699f4,_0x3c4caa,_0x2fc478-_0x562def._0x471632);}return _0x4eae84[_0x4eae84[_0x275c47(_0x333799._0x36f7c6,0x5e4,_0x333799._0x4e08f9,_0x333799._0x53d37c)]-0x1]??'';})[_0x411b95(_0x1f9b83._0x1aa9df,_0x1f9b83._0x2514e0,_0x1f9b83._0x203903,0x3f8)]('\x0a');}function resolveBackspaces(_0x42b08b){const _0x17373b={_0x930af3:0x5b7,_0x23e8fe:0x67e,_0x191776:0x754,_0x1bf9b2:0x821,_0x36b5da:0x4b5,_0x381def:0x24b,_0x5937f5:0x4c7},_0x597cdb={_0x2042cb:0x12a,_0x376164:0x1c5,_0x16488c:0x435},_0x4448a9={_0x49001e:0x33b};function _0x3670f6(_0x336c78,_0x2c18ed,_0x140fc4,_0x6ba348){return _0x1957f6(_0x336c78-0x111,_0x2c18ed-0xf8,_0x336c78,_0x140fc4-_0x4448a9._0x49001e);}const _0x5b9665=[];function _0x532aa4(_0x100183,_0xbcc2c,_0x1d2d31,_0x47edef){return _0x39a391(_0x100183-_0x597cdb._0x2042cb,_0xbcc2c-_0x597cdb._0x376164,_0xbcc2c- -_0x597cdb._0x16488c,_0x100183);}for(const _0x4d1f5f of Array['from'](_0x42b08b)){_0x4d1f5f==='\x08'?_0x5b9665['pop']():_0x5b9665[_0x3670f6(_0x17373b._0x930af3,_0x17373b._0x23e8fe,_0x17373b._0x191776,_0x17373b._0x1bf9b2)](_0x4d1f5f);}return _0x5b9665[_0x3670f6(_0x17373b._0x36b5da,_0x17373b._0x381def,0x447,_0x17373b._0x5937f5)]('');}function stripAnsiAndControls(_0x708c00){const _0x5e0d88={_0x42a3eb:0x6d,_0x1fa71b:0x3c9,_0x4c08b5:0x1ef,_0x564d34:0x8,_0x5cfda1:0x59d,_0x59965c:0x634,_0xe3149c:0x864,_0x11e111:0x755,_0x4a11c5:0x4e3,_0x36bb4e:0x59d,_0x161dda:0x3f0,_0x45ba0a:0x504,_0x2bfcf9:0x1a2,_0x3b5988:0x196,_0x589f0a:0x3e,_0x2fa128:0x1a2,_0x42a255:0x2ed,_0x256ac7:0x38},_0x234f1b={_0x325c52:0x139};_0x708c00=resolveCarriageReturns(_0x708c00),_0x708c00=resolveBackspaces(_0x708c00),_0x708c00=stripVTControlCharacters(_0x708c00);function _0x4ef9cf(_0x4239ac,_0xd39e1d,_0x55517f,_0xeda2ea){return _0x39a391(_0x4239ac-0x51,_0xd39e1d-0x144,_0x4239ac- -0x1ee,_0xd39e1d);}const _0x56308c='\x1b',_0x8223be='\x07';_0x708c00=_0x708c00[_0x403df8(0x1a2,-0xd,0x127,0xf5)](new RegExp(_0x403df8(0x22,-_0x5e0d88._0x42a3eb,-0xe1,0x22b)+_0x8223be+_0x4ef9cf(0x435,0x3a9,0x57e,_0x5e0d88._0x1fa71b)+_0x8223be,'g'),''),_0x708c00=_0x708c00['replace'](new RegExp(_0x403df8(_0x5e0d88._0x4c08b5,0x399,-_0x5e0d88._0x564d34,0x372)+_0x56308c+'\x5c\x5c','g'),''),_0x708c00=_0x708c00['replace'](new RegExp(_0x8223be,'g'),''),_0x708c00=_0x708c00[_0x4ef9cf(_0x5e0d88._0x5cfda1,0x610,0x481,0x7c8)](new RegExp(_0x56308c+_0x4ef9cf(_0x5e0d88._0x59965c,_0x5e0d88._0xe3149c,_0x5e0d88._0x11e111,0x76a)+_0x56308c+'\x5c\x5c','g'),''),_0x708c00=_0x708c00[_0x403df8(0x1a2,0x2c6,0x383,0x251)](new RegExp(_0x56308c+_0x403df8(0x342,_0x5e0d88._0x4a11c5,0x288,0x483),'g'),''),_0x708c00=_0x708c00[_0x4ef9cf(_0x5e0d88._0x36bb4e,0x7c4,_0x5e0d88._0x161dda,_0x5e0d88._0x45ba0a)](/[\u0080-\u009F]/g,'');function _0x403df8(_0x43fcf6,_0x1ca07a,_0x479176,_0x1415cc){return _0x39a391(_0x43fcf6-0x1f0,_0x1ca07a-_0x234f1b._0x325c52,_0x43fcf6- -0x5e9,_0x479176);}return _0x708c00=_0x708c00[_0x403df8(_0x5e0d88._0x2bfcf9,_0x5e0d88._0x3b5988,0x280,_0x5e0d88._0x589f0a)](/[\u200B-\u200F\u2060-\u2069\u00A0]/g,''),_0x708c00=_0x708c00[_0x403df8(_0x5e0d88._0x2fa128,_0x5e0d88._0x42a255,_0x5e0d88._0x256ac7,0x1b2)](/[\u23CE\u2424]/g,''),_0x708c00;}function killProcessGroup(_0x2b430d,_0x358344,_0x1d1d6b=_0x1957f6(-0x217,-0xca,0x1ae,0x3b)){const _0x3e5c97={_0x13ca60:0x204,_0x52e63f:0x3d5,_0x441270:0x3be,_0x466b02:0x1a6,_0x3f80a2:0x2b,_0x21cf0a:0x5ac,_0x501fe5:0x134,_0x32ff51:0x32,_0x4ab52e:0x281,_0x14e4a4:0x3b8,_0x25dfb8:0x15a,_0x3939fb:0x1d6,_0x329970:0x2db,_0x1e618c:0x6db,_0x20a50a:0x6b1,_0x3cc7a1:0x698},_0x205d19={_0x1de9e5:0x3d,_0x5b846a:0x13f},_0x54fd16={_0x27be97:0x44,_0x388a19:0x171};if(!_0x2b430d[_0x27fcae(0x186,_0x3e5c97._0x13ca60,_0x3e5c97._0x52e63f,_0x3e5c97._0x441270)])return;if(_0x358344)try{_0x598461(_0x517929(0x3b9,_0x3e5c97._0x466b02,_0x3e5c97._0x3f80a2,0x16a),[_0x517929(0x7e7,0x6a4,0x4e9,_0x3e5c97._0x21cf0a),_0x2b430d[_0x27fcae(_0x3e5c97._0x501fe5,_0x3e5c97._0x13ca60,_0x3e5c97._0x32ff51,_0x3e5c97._0x4ab52e)]['toString'](),'/T','/F'],{'stdio':_0x517929(0x17a,0x48d,0x579,_0x3e5c97._0x14e4a4)});return;}catch{_0x2b430d[_0x27fcae(_0x3e5c97._0x25dfb8,_0x3e5c97._0x3939fb,-0x70,_0x3e5c97._0x329970)](_0x1d1d6b);return;}function _0x517929(_0x4b9d88,_0x49070d,_0x190f52,_0x2359ff){return _0x1957f6(_0x4b9d88-0x112,_0x49070d-_0x54fd16._0x27be97,_0x190f52,_0x2359ff-_0x54fd16._0x388a19);}function _0x27fcae(_0x321542,_0x54aa52,_0x4b39a9,_0x5bfa4f){return _0x1957f6(_0x321542-0x1b6,_0x54aa52-_0x205d19._0x1de9e5,_0x321542,_0x54aa52- -_0x205d19._0x5b846a);}try{process['kill'](-_0x2b430d[_0x517929(0x5e9,0x477,_0x3e5c97._0x1e618c,0x4b4)],_0x1d1d6b);}catch{_0x2b430d[_0x517929(0x4a8,_0x3e5c97._0x20a50a,_0x3e5c97._0x3cc7a1,0x486)](_0x1d1d6b);}}var DEFAULT_TIMEOUT_MS2=0x7530,DEFAULT_DESCRIPTION=_0x39a391(0x4ba,0x715,0x613,0x53f)+DEFAULT_TIMEOUT_MS2+_0x1957f6(-0xff,-0x51,0xef,0x23);function buildChildEnv(_0x2cefe0,_0x3f941e,_0xf0adf2){const _0x356058={_0x3380e4:0x610,_0x6a12d1:0x3cc,_0x2fc055:0x58f,_0xb8d818:0x4ca,_0x20e1d9:0x507,_0x419499:0x44e,_0x9f1ea7:0x57e,_0x1b68c9:0x429,_0xfca7ae:0x71f,_0x1c7e07:0x568,_0x12b210:0x681,_0x204f2a:0x2eb,_0x40c896:0x2a3,_0x45ad6f:0x250,_0x66bd85:0x5c9,_0x12bcd4:0x136,_0x27f8da:0x337},_0x5af48e={_0x177fb5:0x6d,_0x355c25:0x2c9},_0x3a8d0d={_0x486f89:0x1d2},_0x1ae5cf={...process[_0x2d8613(0x3d9,_0x356058._0x3380e4,_0x356058._0x6a12d1,_0x356058._0x2fc055)],..._0x2cefe0??{}};if(_0x238397[_0x2d8613(0x63c,_0x356058._0xb8d818,0x65e,_0x356058._0x20e1d9)]()===_0x4bd77a(0x414,-0x10,0x211,0x1c8)){const _0x49c4fe=new Set(_0x3f941e[_0x2d8613(_0x356058._0x419499,_0x356058._0x9f1ea7,0x556,_0x356058._0x1b68c9)](_0x31a7f0=>_0x31a7f0[_0x2d8613(0x71c,0x668,0x686,0x554)]()));for(const _0x560a2d of Object[_0x2d8613(0x704,_0x356058._0xfca7ae,_0x356058._0x1c7e07,_0x356058._0x12b210)](_0x1ae5cf)){if(_0x49c4fe[_0x2d8613(_0x356058._0x204f2a,_0x356058._0x40c896,0x53c,_0x356058._0x45ad6f)](_0x560a2d['toLowerCase']()))delete _0x1ae5cf[_0x560a2d];}}else{for(const _0xf93172 of _0x3f941e)delete _0x1ae5cf[_0xf93172];if(_0xf0adf2[_0x2d8613(0x732,0x5d7,0x8d7,0x78f)]>0x0)for(const _0x1fdd05 of Object[_0x4bd77a(_0x356058._0x66bd85,0x441,0x60d,0x430)](_0x1ae5cf)){_0xf0adf2[_0x4bd77a(_0x356058._0x12bcd4,0x241,_0x356058._0x27f8da,0x371)](_0x5ae0e1=>_0x1fdd05[_0x2d8613(0x64d,0x818,0x40c,0x46d)](_0x5ae0e1))&&delete _0x1ae5cf[_0x1fdd05];}}function _0x2d8613(_0x4bb7c8,_0x4a3ee5,_0x1e0c26,_0x54c69d){return _0x39a391(_0x4bb7c8-0x1b8,_0x4a3ee5-0x149,_0x4bb7c8- -_0x3a8d0d._0x486f89,_0x4a3ee5);}function _0x4bd77a(_0x56f38f,_0x4f3a2b,_0x36dca5,_0x14aab8){return _0x39a391(_0x56f38f-0xea,_0x4f3a2b-_0x5af48e._0x177fb5,_0x36dca5- -_0x5af48e._0x355c25,_0x14aab8);}return _0x1ae5cf;}function mapSpawnError(_0x2f8842,_0x2b173a){const _0x1de41c={_0x22f23e:0x5f,_0x5b003d:0x2b,_0x32b906:0x499},_0x6033={_0x2d91a5:0x58b},_0x5a792b={_0x15fc42:0x1bb};if(isErrnoException2(_0x2f8842)&&_0x2f8842[_0x5e1586(_0x1de41c._0x22f23e,0x16,0x26f,-0x6c)]==='ENOENT')return new ToolExecutionError(_0x5e1586(0x213,0x8a,0x1ee,-_0x1de41c._0x5b003d)+_0x2b173a[_0xc4864b(0x596,_0x1de41c._0x32b906,0x75d,0x504)],_0x2b173a);function _0xc4864b(_0x3da9a3,_0x58a5d8,_0x5b4b38,_0x1e4c7c){return _0x39a391(_0x3da9a3-_0x5a792b._0x15fc42,_0x58a5d8-0x18d,_0x3da9a3- -0x1bb,_0x5b4b38);}function _0x5e1586(_0xe18f9e,_0x3eded8,_0x103ae2,_0x6dd509){return _0x39a391(_0xe18f9e-0x11b,_0x3eded8-0x5d,_0xe18f9e- -_0x6033._0x2d91a5,_0x6dd509);}return new ToolExecutionError(_0x2f8842 instanceof Error?_0x2f8842['message']:String(_0x2f8842),_0x2b173a);}function shellExists(_0x4d4454){function _0x53b92f(_0x142713,_0x1df908,_0x38cfde,_0xff1cd8){return _0x39a391(_0x142713-0xf6,_0x1df908-0xab,_0xff1cd8- -0x38c,_0x142713);}try{const _0x33e0e1=statSync(_0x4d4454);return _0x33e0e1[_0x53b92f(0x252,0x2cb,0x523,0x309)]()&&(_0x33e0e1['mode']&0x49)!==0x0;}catch{return![];}}function resolveDefaultShell(_0x1d0890){const _0xe0b57b={_0x337e69:0x130,_0x5a69d9:0x420,_0x2ab69f:0x7d6,_0x553dad:0x856,_0x2a5c0e:0x66a,_0x2b20b0:0x59a,_0x778d49:0x78d,_0x3f67f4:0x33f,_0x5326cd:0x7ee,_0x2fd20f:0x7ce,_0x54f1ec:0x87c,_0x5f2c77:0xaf0},_0x559e50={_0x1e28a7:0x5e,_0x36c681:0x556},_0x106163={_0x4535ef:0x61};if(_0x1d0890)return _0x1d0890;if(_0x238397['platform']()===_0x4baf19(_0xe0b57b._0x337e69,0x12b,-0x2ba,-0x8c))return process[_0x3c4d5b(0x5fc,_0xe0b57b._0x5a69d9,_0xe0b57b._0x2ab69f,_0xe0b57b._0x553dad)]['ComSpec']||'cmd.exe';const _0xd7c9c6=[_0x3c4d5b(_0xe0b57b._0x2a5c0e,0x4c7,0x6f4,0x779),'/bin/sh',_0x3c4d5b(_0xe0b57b._0x2b20b0,0x674,_0xe0b57b._0x778d49,_0xe0b57b._0x3f67f4),_0x3c4d5b(0x6a3,0x7c4,_0xe0b57b._0x5326cd,_0xe0b57b._0x2fd20f)];for(const _0x17d586 of _0xd7c9c6){if(shellExists(_0x17d586))return _0x17d586;}const _0x177519=process[_0x3c4d5b(0x5fc,0x3f3,0x4e3,0x416)][_0x3c4d5b(0x911,0x902,_0xe0b57b._0x54f1ec,_0xe0b57b._0x5f2c77)];function _0x4baf19(_0x9362e6,_0x45708b,_0x144315,_0x3d6c17){return _0x1957f6(_0x9362e6-0xcb,_0x45708b-0xce,_0x45708b,_0x3d6c17- -_0x106163._0x4535ef);}function _0x3c4d5b(_0x2c122d,_0x3620f3,_0x524f61,_0x5357cb){return _0x1957f6(_0x2c122d-0xe3,_0x3620f3-_0x559e50._0x1e28a7,_0x5357cb,_0x2c122d-_0x559e50._0x36c681);}if(_0x177519&&shellExists(_0x177519))return _0x177519;return'/bin/bash';}function buildShellArgs(_0x3c3ff1,_0x2d644b){const _0x15ad90={_0x414419:0x453,_0x32861e:0x313,_0x3d8c4e:0x3cd,_0x33d3f7:0x42a,_0x136220:0x24b,_0x5e509a:0x2b3,_0x27d2a6:0x120,_0x5b9006:0xd2,_0x20e47a:0x9e},_0x5f3593={_0x193976:0xb3,_0x277793:0x2a},_0x46b28a={_0x2e528c:0x76};function _0x5c466e(_0xa95ab8,_0x12d6be,_0x262ec0,_0x4af755){return _0x1957f6(_0xa95ab8-0x19f,_0x12d6be-_0x46b28a._0x2e528c,_0x12d6be,_0x4af755-0x247);}function _0x2cbf91(_0x5f06d4,_0x41a728,_0x5416bc,_0x2afcc7){return _0x1957f6(_0x5f06d4-0x11b,_0x41a728-_0x5f3593._0x193976,_0x2afcc7,_0x5416bc- -_0x5f3593._0x277793);}if(_0x238397['platform']()==='win32'){const _0x1db3ea=/cmd(\.exe)?$/i[_0x5c466e(0x363,0x186,0xff,0x221)](_0x2d644b);return _0x1db3ea?['/d','/s','/c',_0x3c3ff1]:[_0x2cbf91(_0x15ad90._0x414419,_0x15ad90._0x32861e,_0x15ad90._0x3d8c4e,_0x15ad90._0x33d3f7),_0x5c466e(0x27d,0x117,_0x15ad90._0x136220,0x2ff),_0x2cbf91(_0x15ad90._0x5e509a,_0x15ad90._0x27d2a6,_0x15ad90._0x5b9006,_0x15ad90._0x20e47a),_0x3c3ff1];}return['-c',_0x3c3ff1];}function resolveWorkingDirectory(_0x3862be,_0x4ba64c,_0x40cd56){const _0x1b1eef={_0x1ff8bc:0x645,_0x4c956b:0x6f4,_0x18d86b:0x50c,_0x26580f:0x4f4,_0xf72af2:0x5e8,_0x45e90c:0x5c9,_0x306767:0x47e,_0x412f2c:0x493},_0x3997c0={_0x46df3e:0x378,_0x3e673c:0x252,_0x43bb79:0x738},_0xb583ee={_0x24bd17:0x10a,_0x11673c:0x1ce},_0x5b2e7b={_0x135e36:0x12c},_0x2b4bd0={_0x6cd00d:0x18},_0x273ba7=resolveAllowedPath(_0x4ba64c,_0x40cd56,_0x3862be??'.');function _0x214c50(_0x17fce3,_0x3eb65b,_0x4ea00c,_0x48fefc){return _0x1957f6(_0x17fce3-_0x2b4bd0._0x6cd00d,_0x3eb65b-0x1ba,_0x48fefc,_0x4ea00c-0x1aa);}function _0x4b18cd(_0x5b4f19,_0x39fc74,_0x1bc7a4,_0x54ac1b){return _0x39a391(_0x5b4f19-0x7a,_0x39fc74-0x135,_0x39fc74- -_0x5b2e7b._0x135e36,_0x54ac1b);}try{const _0x3f89cd=statSync(_0x273ba7);if(!_0x3f89cd['isDirectory']())throw new ToolExecutionError(_0x4b18cd(_0x1b1eef._0x1ff8bc,_0x1b1eef._0x4c956b,0x67b,0x4ef)+_0x273ba7,{'cwd':_0x273ba7});const _0x92401b=realpathSync(_0x273ba7),_0x33a7cf=realpathSync(_0x4ba64c),_0x428aeb=_0x40cd56[_0x4b18cd(_0x1b1eef._0x18d86b,_0x1b1eef._0x26580f,0x405,_0x1b1eef._0xf72af2)](_0x33aa4a=>{const _0x53ac4e={_0x3b5045:0x3a,_0x2f510e:0x318};function _0x59a5f7(_0x9f8daf,_0x38a842,_0x412852,_0x1a926d){return _0x214c50(_0x9f8daf-0xf9,_0x38a842-_0x53ac4e._0x3b5045,_0x9f8daf-_0x53ac4e._0x2f510e,_0x38a842);}function _0x564603(_0x21cd5c,_0x2090e1,_0x404431,_0x25eada){return _0x214c50(_0x21cd5c-_0xb583ee._0x24bd17,_0x2090e1-0xf1,_0x25eada- -_0xb583ee._0x11673c,_0x404431);}try{return realpathSync(_0x4593bf[_0x564603(0x19a,0x1e6,_0x3997c0._0x46df3e,_0x3997c0._0x3e673c)](_0x33aa4a));}catch{return _0x4593bf[_0x59a5f7(_0x3997c0._0x43bb79,0x5c5,0x67b,0x7c3)](_0x33aa4a);}});return resolveAllowedPath(_0x33a7cf,_0x428aeb,_0x92401b);}catch(_0x54f60c){if(_0x54f60c instanceof ToolExecutionError)throw _0x54f60c;throw new ToolExecutionError(_0x214c50(_0x1b1eef._0x45e90c,0x412,_0x1b1eef._0x306767,_0x1b1eef._0x412f2c)+_0x273ba7,{'cwd':_0x273ba7});}}function resolveBashExecutionTarget(_0x34e6a7,_0x51455e={}){const _0x568995={_0x494cbd:0x63b,_0x358c50:0x4e7,_0x360805:0x1f6,_0x4d71f9:0x248,_0x19a917:0xe4,_0xad840b:0x32b,_0x438490:0x341,_0x18a6c2:0x352,_0x50d2ed:0x383,_0x147b9e:0x538},_0x305d9f={_0x1cecb9:0x10d,_0x220a80:0x49},_0x430af7={_0x10ad6f:0x10c};function _0x465bf4(_0x28985f,_0x38b121,_0x347977,_0x36d857){return _0x39a391(_0x28985f-_0x430af7._0x10ad6f,_0x38b121-0x8f,_0x347977- -0x410,_0x36d857);}function _0x2e262b(_0x5189d4,_0x5d322c,_0x161d09,_0x37c90a){return _0x39a391(_0x5189d4-_0x305d9f._0x1cecb9,_0x5d322c-_0x305d9f._0x220a80,_0x5d322c- -0x1d6,_0x5189d4);}const _0x8be312=_0x4593bf[_0x2e262b(0x5a3,0x5a5,_0x568995._0x494cbd,_0x568995._0x358c50)](_0x51455e['defaultCwd']??process[_0x465bf4(_0x568995._0x360805,0x553,0x383,_0x568995._0x4d71f9)]()),_0x63fa60=resolveDefaultShell(_0x51455e[_0x465bf4(_0x568995._0x19a917,_0x568995._0xad840b,_0x568995._0x438490,_0x568995._0x18a6c2)]);return{'command':_0x34e6a7['command'],'cwd':resolveWorkingDirectory(_0x34e6a7[_0x465bf4(0x50e,0x531,_0x568995._0x50d2ed,0x3a9)],_0x8be312,_0x51455e[_0x465bf4(0x56d,_0x568995._0x147b9e,0x3a1,0x3db)]??[]),'shellPath':_0x63fa60,'dialect':resolveShellDialect(_0x63fa60),'background':_0x34e6a7['runInBackground']??![]};}function resolveShellDialect(_0xfd4cb){const _0x4a71bd={_0x1a2dcf:0x25,_0x327a57:0x1ae,_0x1db39f:0x324,_0x3bd0fc:0x44b,_0x59258c:0x5ab,_0x20b4a6:0x4a2,_0x15e621:0x872,_0x325a62:0x420,_0x1d0796:0x8d5,_0x28c2f1:0x674,_0x2ea0b3:0x23b,_0x425276:0x238,_0x48937b:0x5df,_0x224e64:0x87a,_0x4f6337:0x2a4,_0x46ef93:0x4f4,_0x45400b:0x4c7},_0x34e0b4={_0xf1176b:0x118},_0x4e3c77={_0x27d2c8:0x78,_0x117c23:0x660};function _0x54a4b1(_0x5b5953,_0x26b0b2,_0x54269c,_0x83971a){return _0x39a391(_0x5b5953-_0x4e3c77._0x27d2c8,_0x26b0b2-0x7,_0x54269c- -_0x4e3c77._0x117c23,_0x26b0b2);}if(_0x238397[_0x54a4b1(-_0x4a71bd._0x1a2dcf,0x2a3,_0x4a71bd._0x327a57,0x2b4)]()===_0x849cfa(_0x4a71bd._0x1db39f,0x33c,_0x4a71bd._0x3bd0fc,0x389))return _0x849cfa(0x795,0x80e,_0x4a71bd._0x59258c,0x55f);function _0x849cfa(_0x4cc0cd,_0x17498b,_0x1e89cc,_0xdb6190){return _0x1957f6(_0x4cc0cd-0xeb,_0x17498b-_0x34e0b4._0xf1176b,_0x1e89cc,_0x4cc0cd-0x34f);}const _0xaa7539=_0x4593bf[_0x849cfa(0x653,_0x4a71bd._0x20b4a6,_0x4a71bd._0x15e621,_0x4a71bd._0x325a62)](_0xfd4cb)['toLowerCase']();if(_0xaa7539===_0x849cfa(0x6cd,_0x4a71bd._0x1d0796,_0x4a71bd._0x28c2f1,0x7e4))return _0x54a4b1(0xec,_0x4a71bd._0x2ea0b3,0x223,_0x4a71bd._0x425276);if(_0xaa7539==='sh'||_0xaa7539==='dash')return _0x849cfa(0x696,_0x4a71bd._0x48937b,_0x4a71bd._0x224e64,0x742);return _0x54a4b1(_0x4a71bd._0x4f6337,_0x4a71bd._0x46ef93,0x2e2,_0x4a71bd._0x45400b);}function emitChunk(_0xa02b9e,_0x42a528,_0x4af750,_0x43967a){const _0x1bc4a1={_0x28233:0x41,_0x54200c:0xb7},_0x49af81={_0xd2fd17:0xe7};function _0xa32a66(_0x1f3327,_0x43dd83,_0xb8b88c,_0x2777c9){return _0x1957f6(_0x1f3327-_0x49af81._0xd2fd17,_0x43dd83-0x9a,_0xb8b88c,_0x2777c9- -0x20f);}_0xa02b9e['push'](_0x4af750),_0x42a528[_0xa32a66(_0x1bc4a1._0x28233,0x173,_0x1bc4a1._0x54200c,0x20a)](_0x4af750),_0x43967a();}function appendChunk(_0x4ac1b0,_0x4728ec,_0x61de86,_0x5e174c,_0x168a52,_0x38d9e5){const _0x4e8f32={_0x351cad:0x7f6,_0x5a86df:0x68f,_0x23a5f8:0x47f,_0x36e417:0x16,_0x135aa5:0x399,_0x5f35e8:0x8f0,_0x3de311:0x819,_0x37128a:0xa53,_0x12177d:0x370,_0x1b4149:0x50c,_0x255137:0x355,_0x315e1b:0x2d5,_0x8d2555:0x479,_0x47b860:0x57e,_0xafac27:0x2f4,_0x4c36db:0x3da,_0x41b0c4:0x7ff,_0x1a150a:0x693,_0x3af31c:0x252,_0x3b6975:0x18d,_0x266921:0x2a9,_0x5df314:0x540,_0x4db94b:0x2f2},_0x5e3262={_0x60e8b3:0x174,_0xdf30b6:0x381},_0x4ca823={_0x202bc8:0x1,_0x45ab6a:0x400},_0x49ad53=_0x5e174c?stripAnsiAndControls(_0x61de86):_0x61de86;function _0x5cd637(_0xe0200f,_0x1a38b5,_0x117f95,_0x5d7bfb){return _0x1957f6(_0xe0200f-0x18b,_0x1a38b5-_0x4ca823._0x202bc8,_0x5d7bfb,_0x1a38b5-_0x4ca823._0x45ab6a);}if(_0x49ad53[_0x5cd637(0xa00,0x7ff,_0x4e8f32._0x351cad,0x8b3)]===0x0)return;if(!_0x38d9e5){emitChunk(_0x4ac1b0,_0x4728ec,_0x49ad53,_0x168a52);return;}let _0x3f658d=0x0,_0x32ae6b=_0x49ad53[_0x5cd637(0x771,0x820,_0x4e8f32._0x5a86df,0x734)]('\x0a');function _0x49a252(_0x692f3a,_0x404563,_0x3bd825,_0x3792cc){return _0x39a391(_0x692f3a-0x155,_0x404563-_0x5e3262._0x60e8b3,_0x692f3a- -_0x5e3262._0xdf30b6,_0x3bd825);}while(_0x32ae6b>=0x0){_0x38d9e5[_0x49a252(0x252,_0x4e8f32._0x23a5f8,_0x4e8f32._0x36e417,_0x4e8f32._0x135aa5)][_0x5cd637(_0x4e8f32._0x5f35e8,_0x4e8f32._0x3de311,0xa16,_0x4e8f32._0x37128a)](_0x49ad53['slice'](_0x3f658d,_0x32ae6b));const _0xd61c06=_0x38d9e5['trailingChunks'][_0x5cd637(_0x4e8f32._0x12177d,_0x4e8f32._0x1b4149,_0x4e8f32._0x255137,_0x4e8f32._0x315e1b)]('');_0x38d9e5[_0x49a252(0x252,_0x4e8f32._0x8d2555,0x150,0x2d)]['length']=0x0,_0x38d9e5[_0x5cd637(_0x4e8f32._0x47b860,0x742,0x590,0x76a)][_0x5cd637(_0x4e8f32._0xafac27,_0x4e8f32._0x4c36db,0x60d,0x559)](_0xd61c06)&&emitChunk(_0x4ac1b0,_0x4728ec,_0xd61c06+'\x0a',_0x168a52),_0x3f658d=_0x32ae6b+0x1,_0x32ae6b=_0x49ad53['indexOf']('\x0a',_0x3f658d);}_0x3f658d<_0x49ad53[_0x5cd637(0x664,_0x4e8f32._0x41b0c4,_0x4e8f32._0x1a150a,0x978)]&&_0x38d9e5[_0x49a252(_0x4e8f32._0x3af31c,_0x4e8f32._0x3b6975,_0x4e8f32._0x3b6975,_0x4e8f32._0x266921)]['push'](_0x49ad53[_0x49a252(_0x4e8f32._0x5df314,0x3d2,_0x4e8f32._0x4db94b,0x55b)](_0x3f658d));}function flushOutputRegex(_0x3f42db,_0x35a14a,_0x19273d,_0xa48e46){const _0x51b75a={_0x3e313b:0x433,_0x2ddd67:0x655,_0x2679c5:0x53f,_0x2e71a8:0x277,_0x562165:0x3e7,_0x5647c6:0x3f9,_0x3aac65:0x644,_0x1ba932:0x652,_0x47e29d:0x595,_0x578c92:0x27a,_0x36a2cc:0x44b},_0x4af712={_0x276615:0x94},_0x227a7e={_0xd4c2c2:0x3c,_0xd016cc:0x1bf,_0x1e5eb9:0x253};if(!_0x19273d||_0x19273d[_0x31ce43(_0x51b75a._0x3e313b,_0x51b75a._0x2ddd67,0x6a8,_0x51b75a._0x2679c5)]['length']===0x0)return;function _0x164675(_0x57bedf,_0x4670c5,_0xe03958,_0x27cdbc){return _0x1957f6(_0x57bedf-_0x227a7e._0xd4c2c2,_0x4670c5-_0x227a7e._0xd016cc,_0x4670c5,_0x27cdbc-_0x227a7e._0x1e5eb9);}const _0x1a3907=_0x19273d[_0x164675(_0x51b75a._0x2e71a8,0x1dd,_0x51b75a._0x562165,0x321)]['join']('');_0x19273d[_0x164675(0x463,_0x51b75a._0x5647c6,0x14d,0x321)][_0x164675(0x4cc,0x51b,_0x51b75a._0x3aac65,_0x51b75a._0x1ba932)]=0x0;function _0x31ce43(_0x1025b1,_0xd6be2e,_0x196c8f,_0x22f77b){return _0x39a391(_0x1025b1-0x8d,_0xd6be2e-0x140,_0x22f77b- -_0x4af712._0x276615,_0xd6be2e);}_0x19273d[_0x164675(0x76c,0x39f,0x33d,_0x51b75a._0x47e29d)][_0x31ce43(_0x51b75a._0x578c92,0x370,0x42b,_0x51b75a._0x36a2cc)](_0x1a3907)&&emitChunk(_0x3f42db,_0x35a14a,_0x1a3907,_0xa48e46);}function createBashTool(_0x55b6c0={}){const _0x327d2a={_0x10d50d:0x252,_0x591a1f:0x4ba,_0x5258ed:0x262,_0x46ac5b:0x270,_0x5d23eb:0x1c5,_0x1d3ac9:0x457,_0x496db8:0x4b9,_0xa1fd4f:0x3b2,_0x463c9f:0x1b9,_0x5718df:0x9a,_0x5a3faf:0x5c,_0x301f0e:0x166,_0x83f198:0x4d5,_0x5d5b4b:0x76e,_0x5f5db1:0x839,_0x1f815a:0x401,_0x40a5b1:0x2b9,_0x5ab320:0x2c8,_0x4e93e2:0x4d6,_0x42dea3:0x268,_0x39b079:0x309,_0x4c4815:0x44f,_0x42f763:0x24a,_0x1bff33:0x319,_0x278f9b:0x2b8,_0x196687:0x275,_0x45ec41:0x104,_0x9b963:0x4e9,_0x1533f3:0x2a3,_0xd13181:0x41d,_0x1e5637:0x309,_0x56efd0:0x2d2,_0x2870bd:0x685,_0x338422:0x620,_0x1438ff:0x4ea,_0xccda61:0x4b4,_0x10abb4:0x538,_0x430fa8:0x48b,_0x9ff4d1:0x385,_0x1df36b:0x268,_0x32be1a:0x9d,_0x359a45:0x15},_0x49225b={_0x3448e7:0x52b,_0x2d69f7:0x74d,_0x264de3:0x97a,_0x18705f:0x2df,_0x43388b:0x305,_0x317da0:0x436,_0x136201:0x7dd,_0xf59fa9:0x624,_0x10d92f:0x463,_0x23c568:0x7ec,_0x564df7:0x32f,_0x336f40:0x59e,_0x5e5578:0x112,_0x3bad80:0x3c0,_0x3e06c7:0x465,_0x39469e:0x764,_0x3d0225:0x8ac,_0x259b8e:0x1ed,_0x1a58b4:0x43a,_0x3e3ca2:0x3b5,_0x1a9b0e:0x393,_0x876695:0x282,_0x5ce3db:0x21d,_0x299aca:0x48a,_0x36fedd:0x436,_0x4f514d:0x66d,_0x5b0b5e:0x4c2,_0x4ca153:0x2f8,_0x41d43c:0x414,_0xe8ff15:0x224,_0x53b997:0x436,_0x10b8ce:0x5a9,_0x3855a9:0x6ac,_0x3007c9:0x519,_0x1f7bdb:0x4d7,_0x703952:0x6b9,_0xaf3f5d:0x797,_0x10f5ed:0x5cb,_0x276457:0x6c1,_0x4b0edb:0x841,_0x5e5fc2:0x4fb,_0x3b9c7d:0x49f,_0x14ad0e:0x4b2,_0x979b65:0x8b6,_0x28b301:0x66f,_0x618a57:0x707,_0x52040e:0x7c5,_0x149b18:0x91b,_0x26a840:0x2ae,_0x4c6cfb:0x462,_0x515d4c:0x603,_0x5c46e3:0x2be,_0x2e633f:0x2fe,_0x375271:0x3d9,_0x1370f2:0x35b,_0x187293:0x5a4,_0x181e68:0x7f7,_0x3294f:0x35d,_0x2db5c2:0x44c,_0x1e8341:0x24a,_0x3d7397:0x4fa,_0x42475c:0x4fc,_0x1774f2:0x4d2,_0x23fb01:0x496,_0x47d1ad:0x758,_0x41926b:0x66d,_0x3d2865:0x653,_0x5ac0b1:0x566,_0x36299f:0x8ab,_0x5b3d78:0x8b8,_0x264422:0x86a,_0xf598f3:0x6a5,_0xcc09c7:0x853,_0x544bd9:0x72a,_0x1acbd9:0x868,_0x4f025e:0x37f,_0x2a594c:0x300,_0x1333c5:0x30c,_0x1a5355:0x28f,_0x56a150:0x300,_0x383ec3:0x73c,_0x9fa098:0x79b,_0x548118:0x19f,_0x3a0cb0:0xb9,_0x132646:0x539,_0x316f24:0x529,_0x2d6931:0x606,_0x10b340:0x5e8,_0x4180de:0x311,_0x2f1c81:0xc,_0x15b3db:0x203,_0x2a0e15:0x202,_0x466fa7:0x3b7,_0x5ee83e:0x3ae,_0x28804b:0x663,_0x28ae30:0x9b6,_0xf3f889:0x727,_0x3fd8a8:0x615,_0x53713b:0x51d,_0x4572a4:0x55e,_0x15bf3d:0x475,_0x3afe3d:0x8ab},_0x19965b={_0x486241:0x4ac,_0x4325ed:0x5f0,_0x35fd70:0x5c9,_0x50de0d:0x420},_0x2c4d5d={_0x3ae363:0x2,_0x267f53:0x162},_0x248c21={_0x311268:0x5ad,_0x3f2e09:0x4f5},_0x32f185={_0x5a1423:0x98,_0x3d547a:0x21d},_0x29597e={_0x55c804:0x182,_0x59ca19:0x41,_0x4a863b:0x490},_0x45f0ef=_0x4593bf[_0x88dc1f(0x2eb,_0x327d2a._0x10d50d,_0x327d2a._0x591a1f,_0x327d2a._0x5258ed)](_0x55b6c0['defaultCwd']??process[_0x88dc1f(0x303,_0x327d2a._0x46ac5b,_0x327d2a._0x5d23eb,_0x327d2a._0x1d3ac9)]()),_0x4af008=_0x55b6c0['allowedDirs']??[],_0x169371=_0x55b6c0[_0x45b784(0x2c7,_0x327d2a._0x496db8,_0x327d2a._0xa1fd4f,_0x327d2a._0x463c9f)]??DEFAULT_TIMEOUT_MS2,_0x381d6e=_0x55b6c0[_0x88dc1f(_0x327d2a._0x5718df,-0x41,_0x327d2a._0x5a3faf,_0x327d2a._0x301f0e)]??!![],_0x1452e2=_0x55b6c0[_0x45b784(0x365,0x4f7,_0x327d2a._0x83f198,0x3fe)]??'Bash',_0x45b244=_0x55b6c0['scrubEnvKeys']??[];function _0x88dc1f(_0xfb7428,_0x2d1453,_0x50b13a,_0x57d334){return _0x39a391(_0xfb7428-_0x29597e._0x55c804,_0x2d1453-_0x29597e._0x59ca19,_0xfb7428- -_0x29597e._0x4a863b,_0x2d1453);}const _0x25b82f=_0x55b6c0[_0x45b784(0x63a,_0x327d2a._0x5d5b4b,_0x327d2a._0x5f5db1,0x445)]??[],_0x489763=_0x55b6c0[_0x88dc1f(0x333,0x1ac,_0x327d2a._0x1f815a,_0x327d2a._0x40a5b1)];function _0x45b784(_0x402035,_0x19a80a,_0x11acc2,_0xe1b679){return _0x1957f6(_0x402035-_0x32f185._0x5a1423,_0x19a80a-0x1ba,_0x11acc2,_0x402035-_0x32f185._0x3d547a);}return defineTool({'name':_0x1452e2,'permissionClass':_0x45b784(0x317,_0x327d2a._0x5ab320,0x253,_0x327d2a._0x4e93e2),'description':_0x55b6c0[_0x45b784(_0x327d2a._0x42dea3,0x423,_0x327d2a._0x39b079,0x9d)]??DEFAULT_DESCRIPTION,'inputSchema':{'type':_0x45b784(_0x327d2a._0x4c4815,_0x327d2a._0x42f763,_0x327d2a._0x1bff33,_0x327d2a._0x278f9b),'properties':{'command':{'type':_0x45b784(0x41d,0x24c,0x48f,0x40d)},'description':{'type':_0x88dc1f(_0x327d2a._0x196687,_0x327d2a._0x45ec41,0x422,0x419),'description':_0x45b784(_0x327d2a._0x9b963,_0x327d2a._0x1533f3,0x393,0x3d7)},'cwd':{'type':_0x45b784(_0x327d2a._0xd13181,0x61e,_0x327d2a._0x1e5637,_0x327d2a._0x56efd0)},'timeoutMs':{'type':'number'},'ignoreOutput':{'type':'boolean'},'outputRegex':{'type':_0x88dc1f(_0x327d2a._0x196687,0x3b2,0xd9,0x2d8),'description':_0x45b784(_0x327d2a._0x2870bd,_0x327d2a._0x338422,_0x327d2a._0x1438ff,0x78b)},'runInBackground':{'type':_0x88dc1f(_0x327d2a._0xccda61,_0x327d2a._0x10abb4,_0x327d2a._0x430fa8,_0x327d2a._0x9ff4d1)}},'required':['command',_0x45b784(_0x327d2a._0x1df36b,_0x327d2a._0x32be1a,0x373,_0x327d2a._0x359a45)]},async *'execute'(_0x124e50,_0x1dc47d){const _0xcfa553={_0x4cb35a:0x28c,_0x162896:0x96,_0x42b401:0x16d,_0x2009ba:0xaf},_0x2bebe0={_0x36598d:0x58c,_0x4fa0f5:0x225,_0x5a832e:0x52b,_0x31ba9c:0x5b},_0x1af93f={_0x52d2d1:0x309,_0x2c60ac:0x315,_0x4abae8:0x22b},_0xceb965={_0x5815a5:0x87b,_0x1fcf98:0x85c,_0x3f3b64:0x714},_0x18cce0={_0x4b6a35:0x3b8,_0x3096d2:0x3d9,_0x786b5f:0x68d},_0x126a91={_0x59459d:0x12c,_0x24fc88:0x181,_0x25c22b:0xc5},_0x125efd={_0x5a18d2:0x1f},_0x238f1e={_0x259722:0x10c,_0x2afe03:0x112},_0x42c771={_0x3a742d:0x27f},_0x2d3be6=_0x124e50[_0x3c43aa(0x645,0x687,_0x49225b._0x3448e7,0x67b)]??_0x169371;if(!Number[_0x51d4c0(0x7f1,0x60c,_0x49225b._0x2d69f7,_0x49225b._0x264de3)](_0x2d3be6)||_0x2d3be6<0x1)throw new ToolExecutionError(_0x3c43aa(0x647,0x66f,0x639,0x643),{'command':_0x124e50[_0x3c43aa(_0x49225b._0x18705f,_0x49225b._0x43388b,_0x49225b._0x317da0,0x4b2)]});throwIfAborted(_0x1dc47d[_0x51d4c0(0x80c,_0x49225b._0x136201,_0x49225b._0xf59fa9,0x8d7)]);const _0x597e21=_0x124e50['ignoreOutput']??![],_0x299d09=resolveBashExecutionTarget(_0x124e50,{'defaultCwd':_0x45f0ef,'allowedDirs':_0x4af008,'shellPath':_0x55b6c0[_0x51d4c0(0x6a0,_0x49225b._0x10d92f,0x53f,_0x49225b._0x23c568)]}),{cwd:_0x2ab37c,shellPath:_0x518ff1}=_0x299d09,_0x304b08=buildShellArgs(_0x124e50[_0x3c43aa(0x450,_0x49225b._0x564df7,_0x49225b._0x317da0,_0x49225b._0x336f40)],_0x518ff1),_0x35cc08=_0x238397['platform']()==='win32',_0x341fda=buildChildEnv(_0x55b6c0[_0x3c43aa(_0x49225b._0x5e5578,_0x49225b._0x3bad80,0x2c1,_0x49225b._0x3e06c7)],_0x45b244,_0x25b82f);if(_0x124e50[_0x51d4c0(0x838,_0x49225b._0x39469e,_0x49225b._0x3d0225,0x769)]){if(!_0x489763)throw new ToolExecutionError(_0x3c43aa(_0x49225b._0x259b8e,_0x49225b._0x1a58b4,_0x49225b._0x3e3ca2,_0x49225b._0x1a9b0e),{'command':_0x124e50[_0x3c43aa(_0x49225b._0x876695,_0x49225b._0x5ce3db,0x436,_0x49225b._0x299aca)]});let _0x4c0d63;try{_0x4c0d63=await _0x489763['start']({'command':_0x124e50[_0x3c43aa(0x2fe,0x579,_0x49225b._0x36fedd,_0x49225b._0x4f514d)],'description':_0x124e50[_0x51d4c0(0x49f,_0x49225b._0x5b0b5e,0x48b,0x68a)],'cwd':_0x2ab37c,'stripAnsi':_0x381d6e,'prepare':async()=>{function _0x367674(_0x2801be,_0x21a927,_0x388fd7,_0x17fc41){return _0x51d4c0(_0x17fc41- -_0x42c771._0x3a742d,_0x388fd7,_0x388fd7-0x49,_0x17fc41-0x1d5);}throwIfAborted(_0x1dc47d['signal']),await _0x55b6c0[_0x367674(_0x248c21._0x311268,0x586,0x2c7,_0x248c21._0x3f2e09)]?.(_0x299d09,_0x1dc47d['executionAuthorization'],_0x1dc47d),throwIfAborted(_0x1dc47d['signal']);},'spawn':()=>_0x5a1d1c(_0x518ff1,_0x304b08,{'cwd':_0x2ab37c,'env':_0x341fda,'stdio':[_0x51d4c0(0x69b,0x844,0x82e,0x675),_0x51d4c0(0x7dd,0x702,0x5ad,0x812),_0x3c43aa(0x388,0x6d3,0x5a4,0x6f9)],'shell':![],'windowsHide':!![],'detached':!_0x35cc08})});}catch(_0x58f24b){const _0x206727=_0x58f24b instanceof BackgroundBashStartError?_0x58f24b:new BackgroundBashStartError('background-start-failed');throw new ToolExecutionError(_0x206727[_0x51d4c0(0x8b6,0xafc,0x86e,0x8cd)],{'command':_0x124e50[_0x3c43aa(_0x49225b._0x4ca153,_0x49225b._0x41d43c,_0x49225b._0x36fedd,0x26a)],'errorCode':_0x206727[_0x3c43aa(_0x49225b._0xe8ff15,0x22f,0x300,_0x49225b._0x53b997)]});}return createToolOutput(_0x51d4c0(0x6b8,_0x49225b._0x10b8ce,0x818,_0x49225b._0x3855a9)+_0x4c0d63[_0x51d4c0(0x65b,_0x49225b._0x3007c9,_0x49225b._0x1f7bdb,_0x49225b._0x703952)]+'\x20(pid\x20'+(_0x4c0d63[_0x51d4c0(_0x49225b._0xaf3f5d,0x676,_0x49225b._0x10f5ed,0x53f)]??'?')+_0x51d4c0(_0x49225b._0x276457,_0x49225b._0x4b0edb,0x906,0x658),{'shellId':_0x4c0d63[_0x51d4c0(0x65b,_0x49225b._0x5e5fc2,0x744,0x7df)],'status':_0x4c0d63['status'],'command':_0x124e50[_0x51d4c0(0x66f,0x86b,0x67f,0x43c)],'description':_0x124e50[_0x51d4c0(_0x49225b._0x3b9c7d,0x2dd,0x608,0x50d)],'cwd':_0x2ab37c,'pid':_0x4c0d63['pid']});}let _0x52a340,_0x3f7428;if(_0x124e50[_0x3c43aa(0x3cd,0x6e5,0x620,0x532)]!==void 0x0)try{const _0x3882dc=new RegExp(_0x124e50[_0x3c43aa(0x7a2,_0x49225b._0x14ad0e,0x620,0x432)]);_0x52a340={'regex':_0x3882dc,'trailingChunks':[]},_0x3f7428={'regex':_0x3882dc,'trailingChunks':[]};}catch(_0x3e10be){throw new ToolExecutionError(_0x3c43aa(0x456,0x251,0x459,0x584)+(_0x3e10be instanceof Error?_0x3e10be[_0x51d4c0(_0x49225b._0x979b65,0x78f,0x98b,0xa73)]:String(_0x3e10be)),{'command':_0x124e50[_0x51d4c0(_0x49225b._0x28b301,_0x49225b._0x618a57,_0x49225b._0x52040e,0x5da)],'outputRegex':_0x124e50['outputRegex']});}function _0x3c43aa(_0x190552,_0x33d7df,_0x2b525a,_0x589370){return _0x45b784(_0x2b525a- -_0x2c4d5d._0x3ae363,_0x33d7df-0xfb,_0x33d7df,_0x589370-_0x2c4d5d._0x267f53);}await _0x55b6c0[_0x51d4c0(0x774,0x53b,_0x49225b._0x149b18,0x769)]?.(_0x299d09,_0x1dc47d['executionAuthorization'],_0x1dc47d),throwIfAborted(_0x1dc47d['signal']);let _0x2d6a7e;try{_0x2d6a7e=_0x5a1d1c(_0x518ff1,_0x304b08,{'cwd':_0x2ab37c,'env':_0x341fda,'stdio':_0x597e21?['ignore','ignore',_0x3c43aa(0x403,_0x49225b._0x26a840,_0x49225b._0x4c6cfb,_0x49225b._0x515d4c)]:[_0x3c43aa(_0x49225b._0x5c46e3,_0x49225b._0x2e633f,_0x49225b._0x4c6cfb,_0x49225b._0x375271),_0x3c43aa(0x585,_0x49225b._0x1370f2,_0x49225b._0x187293,0x386),_0x3c43aa(_0x49225b._0x181e68,_0x49225b._0x3294f,0x5a4,_0x49225b._0x2db5c2)],'shell':![],'windowsHide':!![],'detached':!_0x35cc08});}catch(_0x13853f){throw mapSpawnError(_0x13853f,{'command':_0x124e50[_0x3c43aa(0x20e,_0x49225b._0x1e8341,0x436,0x39e)],'cwd':_0x2ab37c,'shellPath':_0x518ff1});}function _0x51d4c0(_0x60278c,_0x2cec93,_0x3aaf5d,_0x3bdcea){return _0x88dc1f(_0x60278c-0x3df,_0x2cec93,_0x3aaf5d-_0x238f1e._0x259722,_0x3bdcea-_0x238f1e._0x2afe03);}const _0x21c36b=[],_0x23c7da=[],_0x453310=new _0x144cf8(_0x51d4c0(0x66a,0x713,_0x49225b._0x3d7397,0x5cd)),_0x5d198d=new _0x144cf8(_0x51d4c0(0x66a,_0x49225b._0x42475c,0x60e,_0x49225b._0x1774f2));let _0x38d7ef,_0x4c23de=![],_0x5f3fc0;const _0x5635b1=()=>{if(!_0x38d7ef)return;const _0xdba6ce=_0x38d7ef;_0x38d7ef=void 0x0,_0xdba6ce();},_0x16faaf=async()=>{if(_0x23c7da[_0x230ea4(_0x19965b._0x486241,_0x19965b._0x4325ed,_0x19965b._0x35fd70,_0x19965b._0x50de0d)]>0x0||_0x4c23de)return;function _0x230ea4(_0x5de2ad,_0x211cb9,_0x580e4a,_0x141e01){return _0x3c43aa(_0x5de2ad-_0x125efd._0x5a18d2,_0x580e4a,_0x5de2ad- -0x16e,_0x141e01-0x1df);}await new Promise(_0x40ad43=>{_0x38d7ef=_0x40ad43;});},_0x21759f=_0x1a03fa=>{const _0x2afe3d={_0x18bab6:0x22c};function _0x5d8d6d(_0xbf92b5,_0x49da2c,_0x4500b0,_0x3f944e){return _0x3c43aa(_0xbf92b5-0x83,_0x49da2c,_0x4500b0- -_0x2afe3d._0x18bab6,_0x3f944e-0x115);}appendChunk(_0x21c36b,_0x23c7da,_0x453310[_0x5d8d6d(-_0x126a91._0x59459d,_0x126a91._0x24fc88,0x48,-_0x126a91._0x25c22b)](_0x1a03fa),_0x381d6e,_0x5635b1,_0x52a340);},_0x4b0635=_0x42e853=>{const _0x4a4c65={_0x44c18c:0x66};function _0x189add(_0x111192,_0x124580,_0x842545,_0xa38d5a){return _0x51d4c0(_0x842545-0x67,_0xa38d5a,_0x842545-_0x4a4c65._0x44c18c,_0xa38d5a-0x19d);}appendChunk(_0x21c36b,_0x23c7da,_0x5d198d[_0x189add(_0x18cce0._0x4b6a35,_0x18cce0._0x3096d2,0x514,_0x18cce0._0x786b5f)](_0x42e853),_0x381d6e,_0x5635b1,_0x3f7428);};_0x2d6a7e['stdout']?.['on'](_0x3c43aa(_0x49225b._0x23fb01,_0x49225b._0x47d1ad,_0x49225b._0x41926b,_0x49225b._0x3d2865),_0x21759f),_0x2d6a7e[_0x3c43aa(_0x49225b._0x5ac0b1,0x856,0x5fb,0x46c)]?.['on'](_0x3c43aa(_0x49225b._0x36299f,_0x49225b._0x5b3d78,_0x49225b._0x4f514d,_0x49225b._0x264422),_0x4b0635);let _0x23cfaa=![],_0x2440e5;const _0x3365ed=addAbortListener(_0x1dc47d[_0x3c43aa(_0x49225b._0xf598f3,0x630,0x5d3,0x66b)],()=>{const _0x6bd9f0={_0x4e2168:0x1bd,_0x5814d1:0x2a8,_0x5b862c:0x184};_0x5f3fc0=toAbortError(_0x1dc47d[_0xbf7f1b(_0xceb965._0x5815a5,0x9d0,_0xceb965._0x1fcf98,_0xceb965._0x3f3b64)]['reason']),_0x4c23de=!![],_0x5635b1();function _0xbf7f1b(_0x1a3f68,_0xf8ec21,_0x41a48a,_0x75937d){return _0x3c43aa(_0x1a3f68-_0x6bd9f0._0x4e2168,_0x75937d,_0x1a3f68-_0x6bd9f0._0x5814d1,_0x75937d-_0x6bd9f0._0x5b862c);}try{killProcessGroup(_0x2d6a7e,_0x35cc08);}catch{}});try{const _0x219ab4=new Promise((_0x43ba51,_0x5c5edd)=>{const _0x2fb12d={_0xb93a6c:0x3f6,_0x337522:0x19a,_0x5c403b:0x9a},_0x287323={_0x508f6b:0x613},_0x41142f={_0x41460d:0x72f,_0x579424:0x964,_0x2a2157:0x4fd,_0x59f2ba:0x521,_0xd7e302:0xa10,_0x23bbe3:0x64a,_0x14e4e2:0x4bd},_0x27250a=()=>{function _0x1d62b3(_0x4ddeba,_0x378a6e,_0x8ed7eb,_0x59eb6b){return _0x1b0d(_0x4ddeba-0x3d2,_0x378a6e);}_0x2440e5&&(clearTimeout(_0x2440e5),_0x2440e5=void 0x0);_0x2d6a7e[_0x1d62b3(_0x41142f._0x41460d,_0x41142f._0x579424,_0x41142f._0x2a2157,_0x41142f._0x59f2ba)](_0x1d62b3(0x80a,0x5be,_0x41142f._0xd7e302,0x961),_0x3255a8);function _0x56c3ab(_0x4b04be,_0x2dde2d,_0x26dea4,_0x36747a){return _0x1b0d(_0x2dde2d- -0x2d,_0x26dea4);}_0x2d6a7e['off'](_0x56c3ab(_0x41142f._0x23bbe3,0x562,0x366,_0x41142f._0x14e4e2),_0x410f70);},_0x3255a8=_0x5f39e4=>{_0x4c23de=!![],_0x5635b1(),_0x27250a(),_0x5c5edd(_0x5f3fc0??_0x5f39e4);};function _0xba9f95(_0x673543,_0x4e3f99,_0x51aa90,_0x24f759){return _0x51d4c0(_0x24f759- -_0x287323._0x508f6b,_0x673543,_0x51aa90-0x16b,_0x24f759-0x1d0);}const _0x410f70=(_0x154364,_0x39f41a)=>{_0x23cfaa=!![],appendChunk(_0x21c36b,_0x23c7da,_0x453310[_0x56272b(0x277,_0x1af93f._0x52d2d1,_0x1af93f._0x2c60ac,_0x1af93f._0x4abae8)](),_0x381d6e,_0x5635b1,_0x52a340),appendChunk(_0x21c36b,_0x23c7da,_0x5d198d[_0x56272b(0x533,0x309,0x405,0x3db)](),_0x381d6e,_0x5635b1,_0x3f7428);function _0x3c6215(_0x51dede,_0x5c8c59,_0xb311e0,_0x2296aa){return _0x1b0d(_0x5c8c59-0x2cc,_0xb311e0);}flushOutputRegex(_0x21c36b,_0x23c7da,_0x52a340,_0x5635b1),flushOutputRegex(_0x21c36b,_0x23c7da,_0x3f7428,_0x5635b1);function _0x56272b(_0x3b6ba4,_0x85296e,_0x57a1f0,_0x302262){return _0x1b0d(_0x85296e-0x149,_0x302262);}_0x4c23de=!![],_0x5635b1(),_0x27250a();if(_0x5f3fc0){_0x5c5edd(_0x5f3fc0);return;}_0x43ba51({'code':_0x154364,'signal':_0x39f41a});};function _0x23efed(_0x250f53,_0x33d605,_0x474611,_0x43b663){return _0x51d4c0(_0x474611- -_0x2fb12d._0xb93a6c,_0x250f53,_0x474611-_0x2fb12d._0x337522,_0x43b663-_0x2fb12d._0x5c403b);}_0x2440e5=setTimeout(()=>{const _0x2087e4={_0x2cb7eb:0x126};_0x4c23de=!![];function _0x389d51(_0x36d274,_0x5161b1,_0x1d9b0d,_0x30c9a5){return _0x1b0d(_0x1d9b0d-_0x2087e4._0x2cb7eb,_0x5161b1);}function _0x244f5c(_0x4da794,_0x18db39,_0x35cd7d,_0x5c5cba){return _0x1b0d(_0x5c5cba- -0x185,_0x35cd7d);}_0x5635b1(),_0x27250a();try{killProcessGroup(_0x2d6a7e,_0x35cc08);}catch{}_0x5c5edd(new ToolExecutionError(_0x389d51(0x5d8,_0x2bebe0._0x36598d,0x43a,_0x2bebe0._0x4fa0f5)+_0x2d3be6+_0x389d51(_0x2bebe0._0x5a832e,0x870,0x666,0x73f),{'command':_0x124e50[_0x244f5c(0x130,_0x2bebe0._0x31ba9c,0x2a7,0x260)],'cwd':_0x2ab37c,'shellPath':_0x518ff1,'timeoutMs':_0x2d3be6,'timedOut':!![]}));},_0x2d3be6),_0x2d6a7e[_0xba9f95(-_0xcfa553._0x4cb35a,-0x11a,_0xcfa553._0x162896,-0x173)](_0xba9f95(-0x164,_0xcfa553._0x42b401,-0xfa,_0xcfa553._0x2009ba),_0x3255a8),_0x2d6a7e['once']('close',_0x410f70);});while(_0x23c7da['length']>0x0||!_0x4c23de){if(_0x23c7da[_0x51d4c0(_0x49225b._0xcc09c7,0x750,0x86a,_0x49225b._0x544bd9)]===0x0){await _0x16faaf();continue;}const _0x27b1c6=_0x23c7da[_0x3c43aa(0x6c9,0x571,0x5e3,0x6b2)]();_0x27b1c6!==void 0x0&&(yield _0x27b1c6);}const _0x59cfa5=await _0x219ab4,_0x544372=_0x597e21?_0x51d4c0(0x7cc,0x7a2,0x9f2,_0x49225b._0x1acbd9)+(_0x59cfa5[_0x3c43aa(0xdb,_0x49225b._0x4f025e,_0x49225b._0x2a594c,0x4d9)]??0x0):_0x21c36b['join'](''),_0x57800a={'command':_0x124e50['command'],'description':_0x124e50[_0x51d4c0(_0x49225b._0x3b9c7d,0x447,0x365,0x4c5)],'cwd':_0x2ab37c,'exitCode':_0x59cfa5[_0x3c43aa(_0x49225b._0x1333c5,_0x49225b._0x1a5355,_0x49225b._0x56a150,0x18d)]??0x0,'signal':_0x59cfa5['signal'],'ignoreOutput':_0x597e21,'outputRegex':_0x124e50[_0x51d4c0(0x859,_0x49225b._0x383ec3,_0x49225b._0x9fa098,0x85d)]??null,'shellPath':_0x518ff1,'timeoutMs':_0x2d3be6};if(_0x59cfa5[_0x3c43aa(0x21a,_0x49225b._0x548118,0x300,0x29e)]!==0x0)throw new ToolExecutionError(_0x544372||_0x3c43aa(_0x49225b._0x3a0cb0,0x18f,0x1f3,0x257)+(_0x59cfa5[_0x51d4c0(_0x49225b._0x132646,0x65a,_0x49225b._0x316f24,0x721)]??0x0),_0x57800a);return createToolOutput(_0x544372,_0x57800a);}catch(_0x118aaa){while(_0x23c7da['length']>0x0){const _0x4ae16e=_0x23c7da[_0x51d4c0(0x81c,0x5e0,_0x49225b._0x2d6931,_0x49225b._0x10b340)]();_0x4ae16e!==void 0x0&&(yield _0x4ae16e);}if(_0x118aaa instanceof ToolExecutionError)throw _0x118aaa;if(_0x5f3fc0)throw _0x5f3fc0;throw mapSpawnError(_0x118aaa,{'command':_0x124e50[_0x3c43aa(0x2d1,0x595,0x436,0x616)],'cwd':_0x2ab37c,'shellPath':_0x518ff1});}finally{_0x2440e5&&clearTimeout(_0x2440e5);_0x3365ed(),_0x2d6a7e[_0x3c43aa(_0x49225b._0x4180de,-_0x49225b._0x2f1c81,_0x49225b._0x15b3db,_0x49225b._0x2a0e15)]?.[_0x3c43aa(0x4ce,_0x49225b._0x466fa7,_0x49225b._0x5ee83e,0x3fa)](_0x51d4c0(0x8a6,0x85e,0xa7d,0xac1),_0x21759f),_0x2d6a7e[_0x51d4c0(0x834,_0x49225b._0x28804b,_0x49225b._0x28ae30,0x616)]?.[_0x3c43aa(0x392,0x4e5,_0x49225b._0x5ee83e,0x225)](_0x3c43aa(_0x49225b._0xf3f889,0x4ff,0x66d,0x80c),_0x4b0635);if(!_0x23cfaa&&_0x2d6a7e[_0x3c43aa(_0x49225b._0x3fd8a8,_0x49225b._0x53713b,_0x49225b._0x4572a4,_0x49225b._0x15bf3d)]&&!_0x2d6a7e[_0x51d4c0(0x721,0x6b3,_0x49225b._0x3afe3d,0x54e)])try{killProcessGroup(_0x2d6a7e,_0x35cc08);}catch{}}}});}function createShellExecTool(_0x3b568d={}){return createBashTool(_0x3b568d);}import{readdir as _0x3a42d0,readFile as _0x164265}from'fs/promises';import{extname as _0x227ac8,join as _0x35b976}from'path';import{open}from'fs/promises';import{dirname as _0x160571,isAbsolute as _0x5351d5,join as _0x35d2fb,relative as _0xd9330f,resolve as _0x84a6ad}from'path';import{readdir as _0x3e7dbd,readFile as _0x45ea4b}from'fs/promises';import{join as _0x5a34ab,relative as _0x2a44c2,sep}from'path';import{delimiter}from'path';import{mkdir as _0x285e28,rm as _0x1ece01,stat as _0x1fab83,writeFile as _0x279617}from'fs/promises';import{hostname}from'os';import{dirname as _0xa50f8b}from'path';import{unwatchFile,watchFile}from'fs';import{chmod as _0x351f2c,readFile as _0x2d35ac,rename as _0x2447ed,rm as _0x58acdd,stat as _0x407c28,writeFile as _0x525660}from'fs/promises';import{homedir as _0x527d46}from'os';import{dirname as _0x254002,isAbsolute as _0x4afae6,join as _0x4980e3,resolve as _0x3e37e3}from'path';import{parse as _0x2777f8,stringify as _0x559b72}from'yaml';import{randomUUID as _0x1da64d}from'crypto';import{cp,lstat,mkdir as _0x3bdce5,readdir as _0x2a72c7,readFile as _0x4b8ea7,rename as _0xa05edd,rm as _0x27dc09,writeFile as _0xc8de8c}from'fs/promises';import{homedir}from'os';import{join as _0x2c8c6a}from'path';import{parse as _0x223a0b,stringify as _0x3df36e}from'yaml';import{z}from'zod';import{readdir as _0x2ebfbb,readFile as _0x441631}from'fs/promises';import{join as _0x226e79}from'path';import{randomUUID as _0x54eff1}from'crypto';import{mkdir as _0x4a88fc,readdir as _0x21d8c4,readFile as _0x250863,rename as _0xf54566,rm as _0x385aac,writeFile as _0x59fb8f}from'fs/promises';import{homedir as _0xfa8bc1}from'os';import{basename as _0x150a7f,isAbsolute as _0x1b6a9f,join as _0x4d5ea9,relative as _0x59683f,resolve as _0x5671bd}from'path';import{parse as _0x1a9ae2,stringify as _0x3e52f3}from'yaml';import{delimiter as _0x2e8f10,resolve as _0x1e3300}from'path';var MAX_FRONTMATTER_BYTES=0x40*0x400,AGENT_MODEL_SET_NAME_PATTERN=/^[A-Za-z0-9_-]+$/,PROTOTYPE_SENSITIVE_NAMES=new Set([...Object[_0x1957f6(0x37e,0x229,0x3cb,0x37d)](Object[_0x39a391(0x823,0x3ef,0x5c8,0x6f8)]),_0x1957f6(-0x164,0x178,-0x125,0xc3)]);function isValidAgentModelSetName(_0x1e8e00){const _0x1e7ae4={_0x1143ce:0x2c3,_0x15c4c0:0x22d},_0x5dac53={_0x2c02a9:0x102};function _0x568f89(_0x307186,_0x2c4aac,_0x517e75,_0x3c40f8){return _0x39a391(_0x307186-0x27,_0x2c4aac-_0x5dac53._0x2c02a9,_0x2c4aac- -0x1fa,_0x307186);}return AGENT_MODEL_SET_NAME_PATTERN['test'](_0x1e8e00)&&!PROTOTYPE_SENSITIVE_NAMES[_0x568f89(0x3a0,_0x1e7ae4._0x1143ce,0x157,_0x1e7ae4._0x15c4c0)](_0x1e8e00);}function parseProviderQualifiedModelSelector(_0x4daa2c){const _0x7bae5f={_0x374dfe:0x99b,_0x5e6855:0x5fe,_0x36cffd:0x90d,_0x180e91:0x8ec,_0x571b40:0x781,_0x8041a2:0x746,_0x369e4e:0x5b5,_0x3d1b06:0x3b0,_0x543493:0x364,_0x51322c:0x54d,_0x6f1a86:0x3ba,_0x44ad2a:0x342,_0x5bdca4:0x2f7},_0x2d876d={_0x11ebad:0x111,_0x32774f:0x187,_0xeb220f:0x42c};if(_0x4daa2c!==_0x4daa2c['trim']())return void 0x0;const _0x1f2c72=_0x4daa2c[_0x2ac626(_0x7bae5f._0x374dfe,0x84c,_0x7bae5f._0x5e6855,_0x7bae5f._0x36cffd)](':');function _0x2ac626(_0xc6915c,_0x2261cd,_0x103eb1,_0x29ae66){return _0x1957f6(_0xc6915c-_0x2d876d._0x11ebad,_0x2261cd-_0x2d876d._0x32774f,_0x103eb1,_0x2261cd-_0x2d876d._0xeb220f);}if(_0x1f2c72<=0x0||_0x1f2c72===_0x4daa2c[_0x266b59(_0x7bae5f._0x180e91,0x59a,0x789,0x98c)]-0x1)return void 0x0;const _0x17a40f=_0x4daa2c['slice'](0x0,_0x1f2c72);function _0x266b59(_0x38fa37,_0x4cff79,_0x5429cf,_0x3d0010){return _0x1957f6(_0x38fa37-0x18,_0x4cff79-0x68,_0x38fa37,_0x5429cf-0x38a);}const _0xeb33e9=_0x4daa2c[_0x266b59(_0x7bae5f._0x571b40,0x697,_0x7bae5f._0x8041a2,_0x7bae5f._0x369e4e)](_0x1f2c72+0x1);if(!/^[A-Za-z0-9_-]+$/[_0x266b59(0x458,_0x7bae5f._0x3d1b06,_0x7bae5f._0x543493,_0x7bae5f._0x51322c)](_0x17a40f)||PROTOTYPE_SENSITIVE_NAMES[_0x266b59(_0x7bae5f._0x6f1a86,0x30c,_0x7bae5f._0x44ad2a,0x1b7)](_0x17a40f)||_0xeb33e9!==_0xeb33e9[_0x266b59(_0x7bae5f._0x5bdca4,0x5ad,0x436,0x2c0)]()||/[\u0000-\u001F\u007F-\u009F]/u[_0x2ac626(0x5be,0x406,0x37b,0x582)](_0xeb33e9))return void 0x0;return{'provider':_0x17a40f,'model':_0xeb33e9};}function tokenizeCommandArguments(_0x3c712b){const _0x504656={_0x7df61c:0xa5c,_0x3c222e:0xad6,_0x2b15b9:0x92d,_0x31a32b:0xa3a,_0x4b1023:0x725,_0x35d869:0x88a,_0x55dbc1:0x9d8,_0x24e7b8:0x947},_0x2a5cb5={_0x3087a6:0xf,_0x2c5339:0x362};function _0x5ff763(_0x42bff4,_0xb6bd39,_0x4ea0f9,_0x5e1cad){return _0x1957f6(_0x42bff4-0x124,_0xb6bd39-0x6b,_0xb6bd39,_0x5e1cad-0x52e);}const _0x342901=[];let _0x344945='';function _0x185130(_0x354621,_0x458318,_0x313969,_0x37d5b6){return _0x39a391(_0x354621-0x107,_0x458318-_0x2a5cb5._0x3087a6,_0x354621- -_0x2a5cb5._0x2c5339,_0x37d5b6);}let _0x5b351e=0x0;while(_0x5b351e<_0x3c712b[_0x5ff763(_0x504656._0x7df61c,_0x504656._0x3c222e,0x7e6,_0x504656._0x2b15b9)]){const _0x146671=_0x3c712b[_0x5b351e];if(_0x146671==='\x5c'&&_0x5b351e+0x1<_0x3c712b[_0x5ff763(0x7ed,0x891,0x6e2,0x92d)])_0x344945+=_0x3c712b[_0x5b351e+0x1],_0x5b351e+=0x2;else{if(_0x146671==='\x22'||_0x146671==='\x27'){const _0x3825a1=_0x146671;_0x5b351e++;while(_0x5b351e<_0x3c712b['length']&&_0x3c712b[_0x5b351e]!==_0x3825a1){_0x3c712b[_0x5b351e]==='\x5c'&&_0x5b351e+0x1<_0x3c712b[_0x5ff763(0x7b6,_0x504656._0x31a32b,0x9cc,0x92d)]?(_0x344945+=_0x3c712b[_0x5b351e+0x1],_0x5b351e+=0x2):(_0x344945+=_0x3c712b[_0x5b351e],_0x5b351e++);}_0x5b351e++;}else _0x146671!==void 0x0&&/\s/['test'](_0x146671)?(_0x344945&&(_0x342901[_0x185130(0x5bc,_0x504656._0x4b1023,0x60c,0x637)](_0x344945),_0x344945=''),_0x5b351e++):(_0x344945+=_0x146671,_0x5b351e++);}}if(_0x344945)_0x342901[_0x5ff763(_0x504656._0x35d869,_0x504656._0x55dbc1,0x9fa,_0x504656._0x24e7b8)](_0x344945);return _0x342901;}function renderCommandInstructions(_0x49e9e8){const _0x4e37eb={_0x1a5aab:0x302,_0xd6041f:0x458,_0x30db95:0x67b,_0x1dc529:0x781,_0x244dc9:0x872,_0x22c413:0x78a,_0x46983a:0x6cc,_0x10f07e:0x91b,_0x5bbe55:0x68e,_0x2a3d9b:0x819,_0x32c58a:0x64d,_0x3963bf:0x619,_0x201cf0:0x99e,_0x51ac02:0x8b5,_0x2b3cd0:0x901,_0x3981c9:0x824,_0x43aae5:0x779,_0x3deaf1:0x57d,_0x4e9018:0x4b2,_0x349077:0x459,_0x182091:0x7ae,_0x186ec5:0x891},_0x1f5d8b={_0x232e52:0x160,_0x49cbc3:0x4f},_0x402966={_0x487b8b:0xde},_0x9f47c3={_0x1b8f44:0x1a7};let _0x301211=_0x49e9e8[_0x44e415(0x290,_0x4e37eb._0x1a5aab,_0x4e37eb._0xd6041f,_0x4e37eb._0x30db95)],_0x4bfbbf=![];const _0x31f172=tokenizeCommandArguments(_0x49e9e8['argumentsText']);_0x301211=_0x301211[_0xe37343(_0x4e37eb._0x1dc529,0x73c,0x78a,0x6d9)](/\$ARGUMENTS\[(\d+)\]/g,(_0x28d0f5,_0x24afc9)=>{return _0x4bfbbf=!![],_0x31f172[Number(_0x24afc9)]??'';}),_0x301211=_0x301211[_0x44e415(0x621,_0x4e37eb._0x244dc9,0x635,_0x4e37eb._0x22c413)](/\$ARGUMENTS\b/g,()=>{const _0x4de46d={_0x25313e:0x4e6,_0x24f7d7:0x1ce};_0x4bfbbf=!![];function _0x46077b(_0x2c0ffb,_0x347f26,_0x29a755,_0x53fad6){return _0xe37343(_0x347f26,_0x53fad6- -_0x4de46d._0x25313e,_0x29a755-0x9e,_0x53fad6-_0x4de46d._0x24f7d7);}return _0x49e9e8[_0x46077b(-0x5f,0x2d8,0x52,_0x9f47c3._0x1b8f44)];});if(_0x49e9e8[_0x44e415(_0x4e37eb._0x46983a,_0x4e37eb._0x10f07e,0x70c,0x807)]&&_0x49e9e8[_0x44e415(0x611,_0x4e37eb._0x5bbe55,0x70c,0x8dc)][_0xe37343(_0x4e37eb._0x2a3d9b,0x8b5,0x7f7,0x976)]>0x0)for(let _0x57f452=0x0;_0x57f452<_0x49e9e8[_0x44e415(0x511,_0x4e37eb._0x32c58a,0x70c,_0x4e37eb._0x3963bf)][_0xe37343(_0x4e37eb._0x201cf0,_0x4e37eb._0x51ac02,0x8df,_0x4e37eb._0x2b3cd0)];_0x57f452++){const _0x28f387=_0x49e9e8[_0x44e415(_0x4e37eb._0x3981c9,0x826,0x70c,_0x4e37eb._0x43aae5)][_0x57f452];if(_0x28f387){const _0x21ce65=new RegExp('\x5c$'+_0x28f387+'\x5cb','g');_0x301211=_0x301211[_0xe37343(0x88d,0x73c,_0x4e37eb._0x3deaf1,0x633)](_0x21ce65,()=>{return _0x4bfbbf=!![],_0x31f172[_0x57f452]??'';});}}_0x301211=_0x301211[_0x44e415(_0x4e37eb._0x4e9018,0x5a2,0x635,0x74a)](/\$(\d+)\b/g,(_0x16c322,_0x462752)=>{return _0x4bfbbf=!![],_0x31f172[Number(_0x462752)]??'';});!_0x4bfbbf&&_0x49e9e8[_0xe37343(0x542,0x68d,_0x4e37eb._0x349077,0x64f)]['trim']()&&(_0x301211=_0x301211+_0xe37343(_0x4e37eb._0x182091,_0x4e37eb._0x32c58a,0x466,_0x4e37eb._0x186ec5)+_0x49e9e8['argumentsText']);function _0x44e415(_0x29ce4b,_0x268264,_0x30d677,_0x54fff9){return _0x1957f6(_0x29ce4b-0x1c5,_0x268264-_0x402966._0x487b8b,_0x54fff9,_0x30d677-0x3af);}function _0xe37343(_0x5072f7,_0x4e436b,_0x3e95d9,_0x396e5f){return _0x39a391(_0x5072f7-_0x1f5d8b._0x232e52,_0x4e436b-0x52,_0x4e436b- -_0x1f5d8b._0x49cbc3,_0x5072f7);}return _0x301211;}var PROVIDER_API_KEY_ENVS=[{'env':_0x39a391(0x78b,0x7e5,0x718,0x61b),'provider':'openrouter'},{'env':_0x39a391(0x6b6,0x73f,0x596,0x7ab),'provider':_0x39a391(0x625,0x456,0x65b,0x501)},{'env':'GITHUB_ACCESS_TOKEN','provider':'github'},{'env':_0x1957f6(0x2e4,0x50e,0x52e,0x354),'provider':_0x1957f6(0xba,0x9e,0xc8,0xb0)},{'env':_0x39a391(0x4e2,0x715,0x4f4,0x34f),'provider':_0x39a391(0x9e9,0x703,0x82f,0x80b)},{'env':_0x39a391(0x620,0x5aa,0x54e,0x558),'provider':'deepinfra'},{'env':_0x39a391(0x61c,0x713,0x5a7,0x38f),'provider':_0x1957f6(0x23f,0x281,0xe0,0x295)},{'env':_0x1957f6(-0xaa,0xd7,-0x15e,0x33),'provider':_0x39a391(0x5b5,0x7ca,0x7bf,0x58d)},{'env':'MINIMAX_API_KEY','provider':'minimax'},{'env':_0x1957f6(0x32,0x254,0x197,0x26f),'provider':_0x39a391(0x715,0x72d,0x839,0x706)},{'env':'OPENAI_API_KEY','provider':_0x1957f6(0xc7,0x30f,0x3fa,0x240)},{'env':_0x39a391(0x751,0x744,0x5f9,0x4d1),'provider':_0x39a391(0x784,0x88f,0x71a,0x904)},{'env':_0x39a391(0x86f,0xa69,0x897,0x78b),'provider':_0x1957f6(0x133,-0x88,-0xd5,0x13a)}],PROVIDER_API_KEY_ENV_NAMES=PROVIDER_API_KEY_ENVS[_0x39a391(0x5a0,0x5b8,0x620,0x604)](_0xad6cc8=>_0xad6cc8['env']),SCRUBBED_ENV_KEYS=[...PROVIDER_API_KEY_ENV_NAMES,_0x1957f6(0xde,0x48d,0x64,0x23c),'GOOGLE_CSE_KEY',_0x39a391(0x63e,0x475,0x5db,0x44a)],SHELL_SCRUBBED_ENV_KEYS=[...SCRUBBED_ENV_KEYS,'BASH_ENV',_0x1957f6(0x36a,0x366,0x122,0x251),_0x1957f6(0x17,0x227,0x266,0xb1),_0x1957f6(-0xc4,-0xd1,0x9c,0x13b),_0x1957f6(0x126,0x157,-0x4c,0x181),_0x39a391(0x4d1,0x917,0x6f3,0x6cf)],LEGACY_KEY=_0x1957f6(0x241,-0x16,0x190,0x57),LEGACY_SELECTOR_PREFIX=LEGACY_KEY+':',PROTOTYPE_SENSITIVE_NAMES2=new Set([...Object[_0x39a391(0x71a,0x75b,0x882,0x809)](Object[_0x1957f6(0x250,-0x8a,0x1e8,0xc3)]),_0x1957f6(-0x144,0x287,-0x6d,0xc3)]),OUTPUT_DENSITY_MODES=[_0x39a391(0x77a,0x7e5,0x5de,0x576),_0x1957f6(0x3f6,0xa1,0x3f8,0x237),_0x1957f6(0x234,0x1e3,0x14c,0x22)],PRODUCTION_FILE_EDIT_MODES=['exact',_0x39a391(0x900,0xb1a,0x8f9,0x7a0),_0x39a391(0x79b,0x393,0x5ef,0x3d2)];function prototypeSafeRecord(_0x3272ee){const _0x5646c8={_0x3d7b1d:0x3fb,_0x5bd8cf:0x6a3,_0x1ead8c:0x357,_0x47d8a:0x4d4,_0x27725b:0x323,_0x391045:0x51e,_0x2d5e93:0x17c,_0xe6185f:0xcd,_0x19c8a0:0x436,_0x4db1a1:0x6b2,_0x348e0f:0x641,_0x1b3510:0x6d0,_0x2d1014:0x373},_0x48d3fd={_0x3e231f:0x825,_0x188ad7:0x5f6,_0x275ff0:0x2c3,_0x179fe7:0x418,_0x592543:0x384,_0x45cef9:0x2bd,_0x1e8938:0x38a,_0xfd43e8:0x955,_0x342a2d:0x6f6},_0x30115c={_0x4bb4e7:0x1c1},_0x5948d6={_0xb672f2:0x19c},_0x5d87ac={_0x39cc03:0x2ec};function _0x41be99(_0x86a7a,_0x40b6bf,_0x3d716a,_0x51baed){return _0x1957f6(_0x86a7a-0x17c,_0x40b6bf-0xb4,_0x3d716a,_0x51baed-_0x5d87ac._0x39cc03);}function _0x542b05(_0x220191,_0x3fccff,_0x4900b8,_0x1a06e8){return _0x1957f6(_0x220191-0xaf,_0x3fccff-_0x5948d6._0xb672f2,_0x4900b8,_0x220191-0xdb);}return z[_0x41be99(_0x5646c8._0x3d7b1d,_0x5646c8._0x5bd8cf,_0x5646c8._0x1ead8c,_0x5646c8._0x47d8a)](_0x1480d5=>{const _0x249c49={_0x48af8f:0x1e6,_0xfe8073:0x25};if(_0x1480d5===null||typeof _0x1480d5!=='object'||Array[_0xd47d07(0x98b,0x93e,0x758,_0x48d3fd._0x3e231f)](_0x1480d5))return null;function _0x42e272(_0x102571,_0x6e304,_0x109070,_0x53f09f){return _0x41be99(_0x102571-_0x249c49._0x48af8f,_0x6e304-0xe3,_0x109070,_0x53f09f- -_0x249c49._0xfe8073);}const _0x3f522c=Object[_0x42e272(0x3e0,_0x48d3fd._0x188ad7,_0x48d3fd._0x275ff0,_0x48d3fd._0x179fe7)](_0x1480d5);if(_0x3f522c!==Object[_0x42e272(_0x48d3fd._0x592543,0x5cb,_0x48d3fd._0x45cef9,_0x48d3fd._0x1e8938)]&&_0x3f522c!==null)return null;function _0xd47d07(_0x2825af,_0x3bbe55,_0x15a090,_0x4ef0ac){return _0x41be99(_0x2825af-_0x30115c._0x4bb4e7,_0x3bbe55-0x145,_0x2825af,_0x15a090-0x148);}return{'entries':Object[_0xd47d07(0x794,_0x48d3fd._0xfd43e8,0x83b,_0x48d3fd._0x342a2d)](_0x1480d5)};},z[_0x41be99(_0x5646c8._0x27725b,0x364,0x4e1,_0x5646c8._0x391045)]({'entries':z[_0x542b05(_0x5646c8._0x2d5e93,0x30c,_0x5646c8._0xe6185f,0x213)](z['tuple']([z[_0x41be99(_0x5646c8._0x19c8a0,_0x5646c8._0x4db1a1,_0x5646c8._0x348e0f,0x4ec)](),_0x3272ee]))}))[_0x41be99(_0x5646c8._0x1b3510,0x6fb,_0x5646c8._0x2d1014,0x4ef)](({entries:_0x500d8a})=>Object[_0x542b05(0x10a,-0xbd,0x280,-0xb0)](_0x500d8a));}var chatModelAuthSchemeSchema=z[_0x1957f6(0x48b,0x524,0x193,0x2da)]([_0x1957f6(0x13b,-0xb7,0x44,0x130),_0x39a391(0x888,0x7f0,0x740,0x6ba)]),apiKeyAuthSchema=z[_0x39a391(0x807,0x701,0x737,0x7bc)]({'type':z['literal'](_0x39a391(0x9df,0x8e9,0x80d,0x7f5)),'apiKey':z[_0x1957f6(0x1f1,0x395,0x212,0x200)](),'authScheme':chatModelAuthSchemeSchema[_0x39a391(0x712,0x724,0x543,0x4e7)]()})[_0x39a391(0x6a8,0x53d,0x562,0x3dc)](),oauthAuthSchema=z[_0x1957f6(0x95,0x105,0x330,0x232)]({'type':z[_0x1957f6(0x84,0x1ad,0x426,0x284)](_0x1957f6(0x2,-0x1c0,-0x4d,0x18)),'access':z[_0x39a391(0x7d6,0x65e,0x705,0x654)](),'refresh':z[_0x39a391(0x558,0x6a3,0x705,0x821)](),'expires':z['number']()[_0x39a391(0x646,0x488,0x543,0x527)](),'authScheme':chatModelAuthSchemeSchema[_0x1957f6(-0x118,-0x3,0x84,0x3e)]()})[_0x39a391(0x629,0x5fc,0x562,0x358)](),finiteNonNegative=z[_0x1957f6(0x2c1,0x1c4,0x4c0,0x2fb)]()['finite']()[_0x39a391(0xaae,0x692,0x8c4,0x983)](),codexAuthSchema=z[_0x39a391(0x78e,0x61a,0x737,0x52e)]({'type':z[_0x1957f6(0x43,0x1db,0xe0,0x284)](_0x1957f6(0x199,0x2ff,0x2df,0x290)),'access':z['string']()[_0x1957f6(0x17d,0x462,0x338,0x256)](0x1),'refresh':z[_0x1957f6(0x9b,-0x15,0x1b,0x200)]()['min'](0x1),'idToken':z[_0x39a391(0x7d4,0x560,0x705,0x517)]()[_0x39a391(0x7dc,0x511,0x75b,0x983)](0x1),'accountId':z[_0x1957f6(-0x57,0x44a,0x39,0x200)]()[_0x1957f6(0x2a3,0x280,0x25f,0x256)](0x1),'expires':finiteNonNegative,'earliestRefreshAt':finiteNonNegative[_0x39a391(0x740,0x793,0x543,0x43c)]()})['passthrough'](),authMethodSchema=z[_0x1957f6(0x11d,0x555,0xe9,0x33b)]([apiKeyAuthSchema,oauthAuthSchema,codexAuthSchema]),reasoningEffortSchema=z[_0x1957f6(0x1e6,0x228,0x1c5,0x2da)]([_0x39a391(0x87c,0x756,0x665,0x6da),_0x39a391(0x8cc,0x7bf,0x928,0xb7d),_0x39a391(0x80d,0x903,0x7fc,0xa07),_0x1957f6(-0x1b,0x10,-0x90,0x139),_0x1957f6(0x232,0x4c,-0x58,0xd8),_0x1957f6(0x2bb,0x494,0x1ca,0x24e)]),reasoningOptionSchema=z['object']({'id':z[_0x1957f6(0x146,0x1d1,0x1ea,0x200)]()[_0x39a391(0x583,0x61b,0x5b1,0x600)]()[_0x39a391(0x94c,0x949,0x75b,0x8d6)](0x1),'description':z['string']()[_0x1957f6(0x44,0x1de,-0x21,0x3e)](),'mode':z['enum']([_0x39a391(0x97c,0x7b5,0x830,0x8fe),_0x1957f6(0x200,0x54b,0x5a1,0x3cc)])[_0x1957f6(0x15f,0x202,0x56,0x3e)](),'effort':reasoningEffortSchema[_0x1957f6(0xa4,-0x11b,0xba,0x3e)](),'budgetTokens':z[_0x39a391(0x8fb,0x73e,0x800,0x8f1)]()[_0x39a391(0x49d,0x7de,0x605,0x795)]()['min'](0x400)[_0x1957f6(-0x189,0x1bc,-0x91,0x3e)]()})['superRefine']((_0x5bd9c3,_0x1a2c98)=>{const _0x4ba28d={_0xaaffb6:0x565,_0x34c42a:0x35b,_0x57fb26:0x126,_0x4ba4e:0x329,_0x2eb3b8:0x230,_0x4e33d8:0x2d0,_0x66e917:0x43a,_0x561cee:0x21b,_0xb76d05:0x313,_0x86841a:0x150,_0x58c6b2:0x2be,_0x371c55:0x21b,_0x1650ef:0x4a,_0x3e9ccd:0x11,_0x2fdfac:0x29b,_0x6facd9:0x28a,_0x19c934:0x5fa,_0x539183:0x643,_0x77dfc8:0x70c,_0x4e6a03:0x355,_0x4e3e52:0x28b,_0x4c88d6:0x3b6,_0x243c7a:0x348,_0x50fdf5:0x186,_0x350bdb:0x6c,_0x3a8526:0x44e,_0x23e370:0x26d,_0x58682c:0x21b,_0x23711c:0x2c3,_0x5590a9:0x55,_0x4925e5:0x8c,_0x502fad:0xfa,_0x3e45c0:0x562,_0xd7a37a:0x1fa,_0x1ac35b:0x307,_0x10fd3e:0x662,_0x5db877:0x3d0,_0xe89421:0x404,_0xecce33:0x4ac},_0x4beb8d={_0x5ce23b:0x1ee,_0x1b73f3:0x4f},_0x7bda07={_0x1d65e4:0x94,_0x3760e0:0x36,_0x19aa36:0x11a},_0x1ae484=_0x5bd9c3['id'][_0x39efb4(_0x4ba28d._0xaaffb6,0x502,_0x4ba28d._0x34c42a,0x552)]();(_0x1ae484==='off'||_0x1ae484==='default'||_0x1ae484===_0x445440(-_0x4ba28d._0x57fb26,-_0x4ba28d._0x4ba4e,0xe1,-0x16))&&_0x1a2c98[_0x445440(0x32f,0x513,0x1ce,0x4bf)]({'code':'custom','path':['id'],'message':'Reasoning\x20option\x20\x22'+_0x1ae484+_0x39efb4(0x2c5,0x31a,_0x4ba28d._0x2eb3b8,0xc2)});function _0x445440(_0x247d81,_0x3f496a,_0x1dca6b,_0x12c7f2){return _0x1957f6(_0x247d81-_0x7bda07._0x1d65e4,_0x3f496a-_0x7bda07._0x3760e0,_0x12c7f2,_0x247d81- -_0x7bda07._0x19aa36);}if(_0x5bd9c3[_0x39efb4(-0x20,0x15e,_0x4ba28d._0x4e33d8,0xf3)]===_0x39efb4(0x32b,0x4e5,_0x4ba28d._0x66e917,0x367)){_0x5bd9c3[_0x445440(_0x4ba28d._0x561cee,_0x4ba28d._0xb76d05,_0x4ba28d._0x86841a,0x12)]===void 0x0&&_0x1a2c98['addIssue']({'code':_0x39efb4(0x476,0x42d,0x3ac,_0x4ba28d._0x58c6b2),'path':[_0x445440(_0x4ba28d._0x371c55,_0x4ba28d._0x1650ef,-_0x4ba28d._0x3e9ccd,0x3f6)],'message':_0x39efb4(_0x4ba28d._0x2fdfac,0x479,0x4ea,_0x4ba28d._0x6facd9)});_0x5bd9c3[_0x39efb4(_0x4ba28d._0x19c934,0x4be,_0x4ba28d._0x539183,0x516)]!==void 0x0&&_0x1a2c98[_0x39efb4(0x453,0x562,_0x4ba28d._0x77dfc8,_0x4ba28d._0x4e6a03)]({'code':'custom','path':[_0x445440(_0x4ba28d._0x4e3e52,0xa6,_0x4ba28d._0x4c88d6,_0x4ba28d._0x243c7a)],'message':_0x39efb4(-0xbf,_0x4ba28d._0x50fdf5,0x204,_0x4ba28d._0x350bdb)});return;}function _0x39efb4(_0x3db699,_0x15e231,_0x3020c8,_0x5102e1){return _0x39a391(_0x3db699-_0x4beb8d._0x5ce23b,_0x15e231-_0x4beb8d._0x1b73f3,_0x15e231- -0x3ec,_0x3020c8);}_0x5bd9c3[_0x39efb4(0x3a8,_0x4ba28d._0x3a8526,_0x4ba28d._0x23e370,0x51e)]!==void 0x0&&_0x1a2c98[_0x39efb4(0x78a,0x562,0x779,0x476)]({'code':'custom','path':[_0x445440(_0x4ba28d._0x58682c,0x160,_0x4ba28d._0x23711c,_0x4ba28d._0x5590a9)],'message':_0x445440(0xdb,-_0x4ba28d._0x4925e5,0x75,0x1d5)}),_0x5bd9c3[_0x445440(-0xd5,-_0x4ba28d._0x502fad,0x6,-0x85)]===void 0x0&&_0x5bd9c3[_0x445440(_0x4ba28d._0x4e3e52,0x12a,0x106,0x107)]===void 0x0&&_0x1a2c98[_0x39efb4(0x411,_0x4ba28d._0x3e45c0,0x373,0x748)]({'code':_0x445440(_0x4ba28d._0xd7a37a,0xd,0xfa,_0x4ba28d._0x1ac35b),'path':[_0x39efb4(_0x4ba28d._0x19c934,0x4be,_0x4ba28d._0x10fd3e,_0x4ba28d._0x5db877)],'message':_0x39efb4(0x249,_0x4ba28d._0xe89421,0x40c,_0x4ba28d._0xecce33)});});function validateReasoningOptionIds(_0x35a0ec,_0xf39165){const _0xe9e47f={_0x11cb58:0x670,_0x39eaf7:0x685,_0x1ba4c2:0x3c,_0x487b09:0x71a,_0x5e0806:0x4d2,_0x53c71f:0x55d,_0xb4b4e0:0x4ee},_0x39bc4d={_0x35b139:0x134,_0x5d0506:0x23c},_0x2f8ff2={_0xe04fa0:0x183};function _0x1aeb62(_0x4add55,_0x5f3235,_0xaccfdb,_0x18de9e){return _0x39a391(_0x4add55-_0x2f8ff2._0xe04fa0,_0x5f3235-0x115,_0x5f3235- -0x720,_0x4add55);}const _0xfe9ca0=new Set();function _0x3b3608(_0x23fdb6,_0x547234,_0x41491b,_0x567d87){return _0x1957f6(_0x23fdb6-_0x39bc4d._0x35b139,_0x547234-0x51,_0x567d87,_0x41491b-_0x39bc4d._0x5d0506);}for(let _0x54871c=0x0;_0x54871c<_0x35a0ec[_0x3b3608(0x49b,0x75f,0x63b,0x5fa)];_0x54871c+=0x1){const _0x368386=_0x35a0ec[_0x54871c]?.['id']['toLowerCase']();if(!_0x368386)continue;if(_0xfe9ca0['has'](_0x368386)){_0xf39165[_0x3b3608(0x6af,_0xe9e47f._0x11cb58,_0xe9e47f._0x39eaf7,0x840)]({'code':'custom','path':['options',_0x54871c,'id'],'message':_0x1aeb62(-0x28a,-0xb5,_0xe9e47f._0x1ba4c2,-0x1f1)+_0x368386+'\x22'});continue;}_0xfe9ca0[_0x3b3608(_0xe9e47f._0x487b09,_0xe9e47f._0x5e0806,_0xe9e47f._0x53c71f,_0xe9e47f._0xb4b4e0)](_0x368386);}}var providerReasoningConfigSchema=z[_0x39a391(0x7fc,0x776,0x737,0x5df)]({'options':z[_0x1957f6(-0x13,-0x107,0x2b,0xa1)](reasoningOptionSchema)})['superRefine']((_0x3a15a3,_0x277784)=>{const _0x2696e5={_0x1e6dea:0x79a},_0x35f5bc={_0x35c920:0x10e,_0x6ae496:0x13e,_0x2aef60:0xc1};function _0x362889(_0x1d1250,_0x18e844,_0x96594e,_0x559139){return _0x39a391(_0x1d1250-_0x35f5bc._0x35c920,_0x18e844-_0x35f5bc._0x6ae496,_0x1d1250- -_0x35f5bc._0x2aef60,_0x559139);}validateReasoningOptionIds(_0x3a15a3[_0x362889(_0x2696e5._0x1e6dea,0x580,0x9e9,0x5d0)],_0x277784);}),modelReasoningConfigSchema=z[_0x1957f6(0xee,0x3b8,0x22,0x232)]({'defaultOption':z[_0x1957f6(0x18d,0x3e3,0xe3,0x200)]()[_0x1957f6(0x258,-0x58,0x2ec,0xac)]()[_0x39a391(0x51e,0x73a,0x75b,0x587)](0x1)[_0x1957f6(0x299,-0x55,0x7e,0x3e)](),'canDisable':z[_0x1957f6(0x322,0x2d8,0x1ee,0x43f)]()[_0x1957f6(-0x98,0x1f3,-0x49,0x3e)](),'options':z[_0x1957f6(0xae,0x135,-0xb7,0xa1)](reasoningOptionSchema)})[_0x1957f6(0x53b,0x5a5,0x38d,0x386)]((_0x22c1e6,_0x397c41)=>{const _0x5e94a9={_0x16ff9e:0x138,_0x3e680f:0x3ee,_0x2661f4:0x14c,_0x499bdd:0x329,_0x3fde7a:0x341,_0xf611e4:0x38a,_0x2e9b50:0x3fb,_0x5519dc:0x572,_0xa6697b:0x348,_0x26fc25:0x315,_0x37b410:0x122,_0x138cf9:0x55e,_0x4986db:0x14e,_0x302c0d:0x507,_0x2d1661:0x2e9,_0x36944a:0x2cd,_0x352bc9:0x1c3,_0x21df8c:0x3c,_0x1f975e:0x1ec,_0x35325b:0x291,_0x51ba79:0x48,_0x20a1f9:0x1c},_0x382e88={_0x224926:0x9d},_0x437266={_0x4343ac:0x4e};validateReasoningOptionIds(_0x22c1e6[_0x1ba023(0xc9,0x30f,_0x5e94a9._0x16ff9e,0x561)],_0x397c41);function _0x223845(_0xe46db3,_0x331fb1,_0xf40e55,_0xdfd5c2){return _0x1957f6(_0xe46db3-0xed,_0x331fb1-0x1ce,_0x331fb1,_0xe46db3- -_0x437266._0x4343ac);}function _0x1ba023(_0x4e2912,_0x220aa6,_0x5384a2,_0x4c6cb7){return _0x1957f6(_0x4e2912-_0x382e88._0x224926,_0x220aa6-0x1e2,_0x4c6cb7,_0x220aa6- -0x47);}const _0x2ba6f9=_0x22c1e6[_0x223845(0x315,0x4f1,0x3c7,0x486)]?.[_0x223845(0x39b,_0x5e94a9._0x3e680f,0x43e,0x3c9)]();if(_0x2ba6f9===void 0x0)return;if(_0x2ba6f9===_0x1ba023(0x2fe,_0x5e94a9._0x2661f4,-0xef,_0x5e94a9._0x499bdd)){_0x22c1e6[_0x223845(0x355,_0x5e94a9._0x3fde7a,0x4d3,_0x5e94a9._0xf611e4)]!==!![]&&_0x397c41[_0x223845(_0x5e94a9._0x2e9b50,_0x5e94a9._0x5519dc,0x4a3,_0x5e94a9._0xa6697b)]({'code':'custom','path':[_0x223845(_0x5e94a9._0x26fc25,_0x5e94a9._0x37b410,0x2bd,0x3da)],'message':'Reasoning\x20default\x20\x22off\x22\x20requires\x20canDisable:\x20true'});return;}!_0x22c1e6[_0x1ba023(_0x5e94a9._0x138cf9,0x30f,_0x5e94a9._0x4986db,_0x5e94a9._0x302c0d)]['some'](_0x47dedd=>_0x47dedd['id']['toLowerCase']()===_0x2ba6f9)&&_0x397c41[_0x1ba023(0x52d,0x402,0x3ee,0x1d4)]({'code':_0x1ba023(_0x5e94a9._0x2d1661,_0x5e94a9._0x36944a,_0x5e94a9._0x352bc9,0x92),'path':['defaultOption'],'message':_0x1ba023(-_0x5e94a9._0x21df8c,_0x5e94a9._0x1f975e,0x29a,_0x5e94a9._0x35325b)+_0x22c1e6['defaultOption']+_0x1ba023(0x147,0x231,_0x5e94a9._0x51ba79,-_0x5e94a9._0x20a1f9)});}),modelDefinitionSchema=z[_0x1957f6(0x164,0x13e,0x246,0x232)]({'id':z[_0x1957f6(-0xa,0x204,0xf7,0x200)](),'name':z[_0x1957f6(0x2df,0x44a,0x14,0x200)]()[_0x1957f6(0x1fb,-0x1ca,-0x21a,0x3e)](),'reasoning':modelReasoningConfigSchema[_0x39a391(0x439,0x780,0x543,0x53c)]()})['passthrough'](),modelConfigSchema=z[_0x39a391(0xa8a,0x63b,0x840,0x922)]([z[_0x1957f6(0x3f0,0x30d,0x28b,0x284)](![]),z[_0x1957f6(0x3ee,0x459,0x4aa,0x284)](!![]),z[_0x39a391(0x4ec,0x6aa,0x705,0x655)](),z['array'](z['string']()),z[_0x1957f6(0x264,0x211,0x2dd,0xa1)](modelDefinitionSchema)]),chatModelSurfaceSchema=z[_0x1957f6(0x33b,0x15f,0x309,0x2da)]([_0x1957f6(0x275,0x236,0x3a4,0x3f8),_0x39a391(0x5c4,0x8d7,0x7e4,0x787),'openai-responses',_0x39a391(0x642,0x427,0x603,0x636)]),providerNameSchema=z[_0x39a391(0x8d0,0x7e3,0x705,0x8cd)]()[_0x39a391(0x5a1,0x742,0x75b,0x61d)](0x1,_0x39a391(0x3dc,0x4cd,0x4d6,0x2d1))[_0x1957f6(0x32f,0x2c,0x21e,0x25c)](_0x45264f=>!_0x45264f[_0x1957f6(-0x39,0x1bd,0x459,0x214)](':'),'Provider\x20name\x20cannot\x20contain\x20\x27:\x27'),providerConfigSchema=z['object']({'apiKey':z[_0x39a391(0x8c3,0x649,0x705,0x549)]()[_0x39a391(0x393,0x3e8,0x543,0x6ab)](),'token':z[_0x1957f6(0x2bc,0x446,0x33d,0x200)]()[_0x1957f6(0xba,0x246,0x16e,0x3e)](),'defaultModel':z[_0x1957f6(0x1e3,0xa1,0x10e,0x200)]()[_0x39a391(0x482,0x4dc,0x543,0x314)](),'smallModel':z['string']()[_0x1957f6(-0x16b,0x264,0x56,0x3e)](),'currentAuth':z[_0x39a391(0x662,0x4e0,0x705,0x831)]()[_0x39a391(0x774,0x5f0,0x543,0x2f8)](),'auth':z[_0x1957f6(0x2a2,0x8c,-0x167,0xa1)](authMethodSchema)['optional'](),'surface':chatModelSurfaceSchema[_0x39a391(0x798,0x462,0x543,0x399)](),'providerId':providerNameSchema['optional'](),'baseUrl':z['string']()[_0x39a391(0x484,0x406,0x543,0x5d6)](),'models':modelConfigSchema['optional'](),'customHeaders':z[_0x39a391(0x54a,0x4f2,0x5b3,0x6be)](z[_0x1957f6(0xb5,0x324,0x3ef,0x200)](),z['string']())[_0x39a391(0x4c8,0x504,0x543,0x5aa)](),'reasoning':providerReasoningConfigSchema['optional']()})[_0x1957f6(0xb1,0x100,0x33,0x5d)](),mcpServerConfigSchema=z[_0x1957f6(0x125,-0x17,0x2e1,0x232)]({'command':z[_0x1957f6(0x8,0x262,0x123,0x200)]()[_0x39a391(0x41b,0x609,0x543,0x5db)](),'args':z[_0x39a391(0x650,0x4f6,0x5a6,0x5fe)](z['string']())[_0x1957f6(0x5a,-0x98,-0xce,0x3e)](),'env':z[_0x1957f6(0x22,-0x115,0x7a,0xae)](z[_0x39a391(0x85f,0x8cd,0x705,0x564)](),z[_0x39a391(0x68c,0x4ba,0x705,0x916)]())[_0x39a391(0x533,0x6c1,0x543,0x67e)](),'transport':z[_0x1957f6(0x21e,0x487,0x1f5,0x2da)]([_0x1957f6(0x3d3,0x561,0x579,0x413),_0x39a391(0x3ce,0x7f4,0x59c,0x746)])[_0x39a391(0x4ee,0x6f5,0x543,0x371)](),'url':z[_0x1957f6(0x449,0x2bd,0x389,0x200)]()[_0x1957f6(-0x89,0x96,-0x4d,0x3e)](),'headers':z[_0x1957f6(-0x87,0x246,0x93,0xae)](z[_0x1957f6(0x2ca,0x424,0xc7,0x200)](),z[_0x39a391(0x6b1,0x6ba,0x705,0x7aa)]())['optional'](),'prefix':z[_0x1957f6(0xb1,0x43d,0x132,0x200)]()[_0x39a391(0x638,0x2f3,0x543,0x402)](),'timeoutMs':z[_0x1957f6(0x10f,0x252,0x119,0x2fb)]()[_0x1957f6(-0x85,0x29,0x1bc,0x3e)](),'enabled':z[_0x39a391(0x9af,0x908,0x944,0x7de)]()[_0x1957f6(0x134,0x295,0xf1,0x3e)](),'auth':z[_0x39a391(0x6d2,0x8c8,0x737,0x6b5)]({'type':z['enum']([_0x1957f6(0x1b2,0x2b0,-0x3c,0x69),_0x1957f6(0x22,0x9,-0x36,0x130),_0x39a391(0x76a,0x5d9,0x51d,0x3f8)]),'token':z['string']()['optional'](),'oauth':z['object']({'clientId':z[_0x39a391(0x77c,0x4d7,0x705,0x4c3)]()[_0x1957f6(-0x121,0x121,0x20,0x3e)](),'clientMetadataUrl':z[_0x1957f6(0x43,0xa9,0x446,0x200)]()[_0x1957f6(-0x65,0x2,0x25a,0x3e)](),'authorizationServer':z[_0x39a391(0x866,0x6d8,0x705,0x8ab)]()[_0x1957f6(0x230,-0x13a,0xad,0x3e)](),'scopes':z[_0x1957f6(0x267,0xd0,0xa2,0xa1)](z[_0x39a391(0x954,0x645,0x705,0x79c)]())[_0x1957f6(-0x1b0,0x1f3,0x18d,0x3e)](),'tokenStorageKey':z[_0x39a391(0x4be,0x672,0x705,0x7a1)]()[_0x39a391(0x4e2,0x5da,0x543,0x472)]()})[_0x39a391(0x4f4,0x5a0,0x562,0x384)]()['optional']()})['passthrough']()[_0x1957f6(0x58,0x1aa,0xf9,0x3e)]()})[_0x39a391(0x4c3,0x709,0x562,0x5b5)](),mcpToolPermissionClassSchema=z[_0x39a391(0x7ac,0x88d,0x7df,0x704)]([_0x39a391(0x760,0x6b7,0x583,0x39b),_0x1957f6(0x188,-0x60,0xf3,0x59),'always-confirm']),mcpSettingsSchema=z[_0x1957f6(0x402,0x400,0xb4,0x232)]({'servers':prototypeSafeRecord(mcpServerConfigSchema)['optional'](),'allowedTools':prototypeSafeRecord(prototypeSafeRecord(z[_0x1957f6(0x539,0x2b6,0x351,0x43f)]()))[_0x1957f6(-0x110,0x16,0x9,0x3e)](),'toolPermissions':prototypeSafeRecord(prototypeSafeRecord(mcpToolPermissionClassSchema))[_0x39a391(0x535,0x5c5,0x543,0x75b)](),'defaultTimeoutMs':z[_0x1957f6(0x391,0xc2,0x4f7,0x2fb)]()[_0x39a391(0x797,0x78b,0x543,0x418)]()})[_0x1957f6(0x10c,0x8b,-0x36,0x5d)](),skillsSettingsSchema=z[_0x39a391(0x6e7,0x89d,0x737,0x5f8)]({'enabled':z[_0x39a391(0xb26,0xb17,0x944,0x777)]()['optional'](),'includeDefaults':z[_0x1957f6(0x30e,0x204,0x5b3,0x43f)]()[_0x39a391(0x748,0x754,0x543,0x684)](),'directories':z[_0x1957f6(-0x1b4,0xd9,0x1a2,0xa1)](z[_0x39a391(0x4da,0x927,0x705,0x50f)]())[_0x1957f6(0x41,0x8f,0x19d,0x3e)](),'exclude':z[_0x39a391(0x35b,0x7da,0x5a6,0x776)](z[_0x39a391(0x5ba,0x4c1,0x705,0x7ad)]())[_0x39a391(0x68b,0x5ea,0x543,0x748)]()})[_0x1957f6(0x297,0x226,0x1fa,0x5d)](),commandsSettingsSchema=z['object']({'enabled':z[_0x39a391(0x7d9,0x89c,0x944,0xb20)]()[_0x39a391(0x684,0x31b,0x543,0x3d4)](),'directories':z[_0x39a391(0x779,0x6a7,0x5a6,0x7c8)](z['string']())[_0x1957f6(-0xd1,0x263,0x1ee,0x3e)]()})['passthrough'](),agentsSettingsSchema=z[_0x39a391(0x5a7,0x5f1,0x737,0x5cc)]({'enabled':z[_0x39a391(0x92d,0xb09,0x944,0xb6a)]()['optional'](),'includeDefaults':z[_0x39a391(0x910,0x90c,0x944,0x981)]()[_0x39a391(0x3b2,0x68e,0x543,0x30a)](),'directories':z['array'](z['string']())['optional'](),'maxConcurrency':z['number']()['finite']()['int']()[_0x39a391(0xad4,0x8aa,0x888,0x75c)]()[_0x39a391(0x4d3,0x519,0x543,0x42e)]()})['passthrough'](),uiThemeSettingsSchema=z[_0x1957f6(0xd,0x454,-0x26,0x232)]({'mode':z['enum']([_0x39a391(0x72d,0x92b,0x770,0x56d),'dark',_0x1957f6(0x44e,0x442,0x4da,0x40b)])[_0x1957f6(0x129,0x90,0x104,0x3e)](),'colorLevel':z[_0x39a391(0x90c,0x867,0x7df,0x816)]([_0x1957f6(0x3a6,0x244,0x1c4,0x26b),_0x39a391(0x6b0,0x3e1,0x56e,0x7b8),'ansi16',_0x1957f6(0x173,-0x8,-0x30,0x135),_0x39a391(0x44c,0x502,0x570,0x350)])['optional'](),'backgrounds':z[_0x39a391(0x97e,0x66c,0x7df,0x648)]([_0x1957f6(0x2a,0x31a,0x258,0x26b),'on',_0x1957f6(0x395,0x3a7,0xf0,0x193)])[_0x39a391(0x48b,0x4f5,0x543,0x446)](),'messageStyle':z[_0x1957f6(0x394,0x1ec,0x17f,0x2da)]([_0x1957f6(-0x3b,0x8d,0x1c,0x1e2),_0x39a391(0x518,0x5bf,0x510,0x2f6)])[_0x39a391(0x632,0x36c,0x543,0x32c)]()})[_0x39a391(0x3c5,0x772,0x562,0x75c)](),statuslineSegmentSchema=z[_0x39a391(0x91c,0x818,0x7df,0x683)]([_0x39a391(0x4c1,0x7a9,0x6d0,0x6b6),_0x1957f6(0x145,0x27a,0x1cd,0xf2),'thinking',_0x39a391(0xa26,0x992,0x8ce,0xb16),_0x39a391(0x4c2,0x7a2,0x666,0x6a2),_0x39a391(0x785,0x79b,0x7e7,0x7e5),_0x39a391(0x56d,0x73b,0x5cb,0x43c),'requests',_0x1957f6(0x35d,-0x32,0x391,0x183),_0x1957f6(0x219,-0x204,-0xff,-0x29),_0x39a391(0x77c,0x958,0x727,0x839),'gitBranch','keybindings',_0x1957f6(0x2e5,0x1ef,0x289,0x395),_0x39a391(0x851,0x513,0x62a,0x4df)]),statuslineItemSchema=z[_0x1957f6(0x24e,0x11e,0x168,0x33b)]([statuslineSegmentSchema,z['literal']('|')]),statuslineRowSchema=z[_0x1957f6(0x2a1,0x158,0x1f0,0xa1)](statuslineItemSchema),statuslineConfigSchema=z[_0x39a391(0x54e,0x979,0x737,0x836)]({'rows':z[_0x39a391(0x72e,0x547,0x76f,0x866)]([statuslineRowSchema,statuslineRowSchema])['optional']()})[_0x1957f6(-0xd5,0x13f,-0x5c,0x5d)](),memoryExtractionSettingsSchema=z[_0x1957f6(0xed,0x439,0x2a2,0x232)]({'enabled':z[_0x1957f6(0x5e6,0x3cc,0x298,0x43f)]()[_0x39a391(0x337,0x463,0x543,0x492)](),'provider':z[_0x39a391(0x598,0x66e,0x705,0x6f3)]()[_0x1957f6(0x1f6,0x3a6,0x33,0x256)](0x1)['optional'](),'model':z[_0x1957f6(0x67,0x367,0x287,0x200)]()[_0x1957f6(0x2ba,0x7e,0x463,0x256)](0x1)[_0x39a391(0x406,0x706,0x543,0x620)](),'minUserMessages':z[_0x39a391(0x611,0x7ce,0x800,0x63d)]()[_0x1957f6(-0x80,0x200,-0xe9,0x100)]()[_0x1957f6(0x54,0x225,0x85,0x256)](0x1)[_0x1957f6(0x17,-0x184,0x9f,0x3e)](),'structuredOutput':z[_0x39a391(0x7a9,0x926,0x944,0xafc)]()['optional'](),'maxSeedTokens':z['number']()[_0x1957f6(0x163,0x335,0x254,0x100)]()['min'](0x1)[_0x1957f6(0x119,-0xfe,-0x4f,0x3e)](),'trimToolOutputs':z[_0x1957f6(0x5b1,0x31c,0x3e6,0x43f)]()[_0x1957f6(0x163,0xa5,-0xe7,0x3e)]()})[_0x1957f6(0x122,0x32f,0x208,0x2a6)](),memoryInjectionSettingsSchema=z['object']({'tokenBudget':z['number']()[_0x39a391(0x751,0x40e,0x605,0x446)]()['min'](0x80)[_0x1957f6(0x414,0x194,0x2cd,0x24e)](0x2000)[_0x39a391(0x68e,0x3bf,0x543,0x651)](),'rankByUsage':z[_0x1957f6(0x3e6,0x483,0x551,0x43f)]()[_0x1957f6(0x1b3,-0x1c2,0xe5,0x3e)]()})['strict'](),memoryConsolidateSettingsSchema=z[_0x1957f6(0x23c,0x173,0x314,0x232)]({'enabled':z['boolean']()[_0x1957f6(0xda,-0x8,0x69,0x3e)](),'provider':z[_0x1957f6(0x3fd,0x29,0x30d,0x200)]()[_0x1957f6(0x2cd,0xc0,0x310,0x256)](0x1)['optional'](),'model':z[_0x39a391(0x673,0x8f5,0x705,0x890)]()[_0x1957f6(0x2ca,0x392,0xee,0x256)](0x1)['optional'](),'maxExtractsPerRun':z[_0x39a391(0x994,0x8f9,0x800,0x854)]()[_0x1957f6(0x7f,-0x147,-0x5,0x100)]()['min'](0x1)['optional'](),'maxUnusedDays':z[_0x1957f6(0x4cb,0x3b8,0x50b,0x2fb)]()['int']()['min'](0x1)[_0x1957f6(0x231,0x1d5,-0x1d5,0x3e)](),'requireReview':z[_0x39a391(0x725,0x951,0x944,0x91c)]()[_0x39a391(0x4fd,0x42d,0x543,0x5ed)](),'writeSkills':z[_0x39a391(0x922,0x820,0x944,0xa82)]()[_0x39a391(0x587,0x4c2,0x543,0x57c)](),'readSourceTranscripts':z[_0x1957f6(0x2da,0x633,0x3ef,0x43f)]()[_0x39a391(0x3f4,0x530,0x543,0x31b)](),'maxTranscriptReadsPerRun':z[_0x39a391(0x94d,0x8cb,0x800,0x689)]()[_0x1957f6(0x335,-0xe1,-0xa4,0x100)]()[_0x39a391(0x6a2,0x6da,0x75b,0x581)](0x0)[_0x39a391(0x484,0x36e,0x543,0x32f)]()})[_0x1957f6(0x1ae,0x4a1,0x11c,0x2a6)](),memorySettingsSchema=z['object']({'enabled':z[_0x1957f6(0x637,0x63e,0x39f,0x43f)]()['optional'](),'extraction':memoryExtractionSettingsSchema[_0x1957f6(0x19a,0x25d,0x165,0x3e)](),'consolidate':memoryConsolidateSettingsSchema[_0x39a391(0x52d,0x3b4,0x543,0x3f5)](),'injection':memoryInjectionSettingsSchema['optional']()})[_0x39a391(0x5c2,0x770,0x7ab,0x798)](),recentModelSchema=z['object']({'provider':z['string'](),'model':z[_0x39a391(0x8f2,0x6f7,0x705,0x8e2)](),'usedAt':z[_0x39a391(0x7ea,0xa3a,0x800,0x6e9)]()})[_0x1957f6(-0x26,0x15d,-0x7,0x5d)](),lspServerEntrySchema=z[_0x1957f6(0x385,0x35c,0x1aa,0x232)]({'disabled':z[_0x1957f6(0x421,0x2fe,0x5d3,0x43f)]()['optional'](),'command':z[_0x39a391(0x695,0x507,0x705,0x87d)]()[_0x39a391(0x37b,0x2eb,0x543,0x5e7)](),'args':z[_0x1957f6(-0x150,0x189,0x2df,0xa1)](z[_0x1957f6(0x290,0x5a,0x163,0x200)]())['optional'](),'rootMarkers':z[_0x39a391(0x78a,0x4e5,0x5a6,0x721)](z[_0x1957f6(0x3ca,0x12,0x188,0x200)]())['optional']()})[_0x1957f6(0xa5,0x11d,0xc3,0x5d)](),lspConfigSchema=z[_0x39a391(0x511,0x53a,0x737,0x662)]({'enabled':z[_0x39a391(0xb5a,0x875,0x944,0x74d)]()[_0x39a391(0x4ca,0x491,0x543,0x672)](),'servers':z[_0x1957f6(0x2b7,-0x56,0x91,0xae)](z[_0x39a391(0x693,0x52f,0x705,0x79a)](),lspServerEntrySchema)[_0x39a391(0x6ba,0x633,0x543,0x40c)]()})[_0x39a391(0x523,0x681,0x562,0x45d)](),serverEndpointSchema=z['object']({'url':z['string'](),'token':z[_0x39a391(0x8e7,0x7c8,0x705,0x86b)]()[_0x1957f6(-0x63,-0x5e,0x32,0x3e)]()})[_0x1957f6(-0x98,-0x170,-0x19e,0x5d)](),commandHookConfigSchema=z[_0x1957f6(0x185,0x219,0x225,0x232)]({'type':z[_0x1957f6(0x278,0x160,0x452,0x284)](_0x39a391(0x8d1,0x5b5,0x720,0x579)),'command':z['string'](),'timeout':z[_0x39a391(0x998,0x9dd,0x800,0x93b)]()[_0x39a391(0x4a6,0x329,0x543,0x5a0)]()}),hookMatcherGroupSchema=z['object']({'matcher':z[_0x1957f6(0x374,0x2a6,0x34,0x200)]()['optional'](),'hooks':z[_0x1957f6(0x2c,0x28f,0x165,0xa1)](commandHookConfigSchema)}),hooksConfigSchema=z[_0x39a391(0x52c,0x8ad,0x737,0x971)]({'PreToolUse':z[_0x1957f6(-0x62,0x2d2,0x25f,0xa1)](hookMatcherGroupSchema)[_0x39a391(0x530,0x4b7,0x543,0x50d)](),'PostToolUse':z[_0x1957f6(-0x167,-0x13d,0x1c7,0xa1)](hookMatcherGroupSchema)[_0x1957f6(0x1c2,0x167,-0x132,0x3e)](),'UserPromptSubmit':z[_0x39a391(0x4d7,0x71d,0x5a6,0x712)](hookMatcherGroupSchema)['optional'](),'Stop':z['array'](hookMatcherGroupSchema)[_0x39a391(0x3e6,0x4f7,0x543,0x3e8)](),'Notification':z[_0x1957f6(0xc2,-0x11f,0xc7,0xa1)](hookMatcherGroupSchema)[_0x1957f6(-0x6,0x148,0x15c,0x3e)](),'ToolApprovalRequest':z[_0x39a391(0x5ca,0x486,0x5a6,0x3a2)](hookMatcherGroupSchema)[_0x39a391(0x6a1,0x3a6,0x543,0x6a6)](),'SessionStart':z['array'](hookMatcherGroupSchema)[_0x1957f6(-0x169,-0xa2,0x20b,0x3e)](),'SessionEnd':z[_0x39a391(0x5fa,0x643,0x5a6,0x54e)](hookMatcherGroupSchema)[_0x39a391(0x787,0x678,0x543,0x4b8)]()}),agentModelSetNameSchema=z['string']()[_0x39a391(0x505,0x7d3,0x761,0x98d)](isValidAgentModelSetName,_0x39a391(0x9a1,0x5f2,0x828,0x7a8)),agentModelSelectorSchema=z[_0x39a391(0x7b1,0x4b4,0x705,0x832)]()['refine'](_0x33a462=>parseProviderQualifiedModelSelector(_0x33a462)!==void 0x0,_0x1957f6(0x313,0x371,0x385,0x129)),agentModelSetSchema=z[_0x39a391(0x988,0x846,0x737,0x902)]({'fast':agentModelSelectorSchema[_0x39a391(0x2e7,0x484,0x543,0x568)](),'balanced':agentModelSelectorSchema['optional'](),'powerful':agentModelSelectorSchema['optional']()})[_0x39a391(0x8ce,0x9a2,0x7ab,0x670)]()[_0x39a391(0x5ad,0x95a,0x761,0x84b)](_0x150f46=>Object[_0x39a391(0x6de,0x7d9,0x8d6,0x704)](_0x150f46)[_0x39a391(0x9e5,0x8b4,0x904,0x98a)]>0x0,_0x39a391(0x90d,0x69f,0x831,0x8c4)),agentModelSetsSchema=prototypeSafeRecord(agentModelSetSchema)[_0x39a391(0x90a,0x813,0x88b,0x942)]((_0x492fb6,_0x5c3829)=>{const _0x17b820={_0x4fae02:0x5a2,_0x180e4a:0x64a,_0x2f8f09:0x576,_0x5d770a:0x57c,_0x2cf889:0x186,_0x331cc7:0xbe,_0x3737d2:0x391,_0x43ed29:0x2a3,_0x1c9b0a:0x4de,_0xff6ebb:0x430,_0x49cde9:0x6b1,_0x2d87de:0x538,_0x142302:0x2c0},_0x1821fd={_0x2fa0f2:0x33b},_0xaf9fd1={_0x45844e:0x5c};function _0x3f464c(_0x32221c,_0x45d345,_0x2ea5bb,_0x24f21b){return _0x1957f6(_0x32221c-0x14a,_0x45d345-_0xaf9fd1._0x45844e,_0x32221c,_0x2ea5bb-0x1a5);}function _0x4391fa(_0x55e7f5,_0x5a449b,_0x142bea,_0x291a5d){return _0x39a391(_0x55e7f5-0x9c,_0x5a449b-0x32,_0x55e7f5- -_0x1821fd._0x2fa0f2,_0x291a5d);}for(const _0xe45316 of Object[_0x3f464c(_0x17b820._0x4fae02,_0x17b820._0x180e4a,_0x17b820._0x2f8f09,_0x17b820._0x5d770a)](_0x492fb6)){!agentModelSetNameSchema[_0x4391fa(_0x17b820._0x2cf889,_0x17b820._0x331cc7,_0x17b820._0x3737d2,0x39c)](_0xe45316)[_0x4391fa(0x498,0x486,_0x17b820._0x43ed29,0x326)]&&_0x5c3829['addIssue']({'code':_0x4391fa(_0x17b820._0x1c9b0a,0x5a8,_0x17b820._0xff6ebb,_0x17b820._0x49cde9),'path':[_0xe45316],'message':_0x4391fa(0x4ed,_0x17b820._0x2d87de,0x3bd,_0x17b820._0x142302)});}}),bashPolicyRuleSchema=z[_0x1957f6(0x1ae,0x5d,0x440,0x232)]({'id':z[_0x39a391(0x784,0x53e,0x705,0x623)]()[_0x39a391(0x3c0,0x5d6,0x5b1,0x4b2)]()['min'](0x1)[_0x39a391(0x522,0x5cd,0x753,0x8ef)](0x80),'action':z[_0x39a391(0x885,0x9ce,0x7df,0x614)]([_0x1957f6(0x26e,0x198,0x44,0xe2),_0x39a391(0x9cb,0x928,0x935,0x737)]),'cwd':z[_0x1957f6(0x373,0x533,0x458,0x2da)](['workspace','any-allowed'])[_0x1957f6(-0x19c,0x1b7,-0xe4,0x3e)](),'commands':z['array'](z['string']()[_0x1957f6(0x201,0x63,0x23,0x256)](0x1))[_0x1957f6(0xfd,0x23a,0x1a5,0x256)](0x1)})[_0x1957f6(0xf9,0x16f,0x46d,0x2a6)](),bashPolicyConfigSchema=z[_0x1957f6(0x62,0x3de,0xe0,0x232)]({'default':z['literal']('ask')[_0x39a391(0x648,0x54c,0x543,0x653)](),'rules':z['array'](bashPolicyRuleSchema)['max'](0x3e8)})[_0x1957f6(0x23e,0x9c,0x74,0x2a6)](),fileEditSettingsSchema=z[_0x1957f6(0x31c,0x44,0x354,0x232)]({'mode':z[_0x39a391(0x701,0x980,0x7df,0x7bb)](PRODUCTION_FILE_EDIT_MODES)[_0x1957f6(-0xf1,-0xe6,-0xb1,0x3e)]()})['strict'](),toolsSettingsSchema=z[_0x1957f6(0x22,0x2e2,0x3a7,0x232)]({'fileEdit':fileEditSettingsSchema['optional']()})['passthrough'](),cliConfigSchema=z[_0x39a391(0x851,0x557,0x737,0x74e)]({'activeProvider':providerNameSchema[_0x39a391(0x758,0x477,0x543,0x54e)](),'activeModel':z[_0x39a391(0x5de,0x696,0x705,0x8a4)]()[_0x39a391(0x308,0x369,0x543,0x53c)](),'agentModelSets':agentModelSetsSchema['optional'](),'activeAgentModelSet':agentModelSetNameSchema[_0x39a391(0x567,0x4fc,0x543,0x678)](),'apiKey':z[_0x39a391(0x654,0x755,0x705,0x8e5)]()[_0x1957f6(-0x108,-0x11a,0x2e,0x3e)](),'providers':z[_0x39a391(0x76a,0x583,0x5b3,0x597)](providerNameSchema,providerConfigSchema)[_0x39a391(0x362,0x710,0x543,0x5dd)](),'mcp':mcpSettingsSchema['optional'](),'skills':skillsSettingsSchema[_0x39a391(0x413,0x563,0x543,0x641)](),'agents':agentsSettingsSchema[_0x39a391(0x4c8,0x46c,0x543,0x680)](),'commands':commandsSettingsSchema[_0x39a391(0x35a,0x55d,0x543,0x660)](),'skillsEnabled':z[_0x1957f6(-0xe9,-0x64,-0x1a2,0xae)](z[_0x39a391(0x728,0x6ef,0x705,0x4b2)](),z[_0x39a391(0xb2f,0x7af,0x944,0x795)]())[_0x1957f6(-0x59,0x1b,-0x3d,0x3e)](),'allowedDirs':z[_0x1957f6(0x257,0x198,-0x1ab,0xa1)](z['string']())['optional'](),'mcpEnabled':prototypeSafeRecord(z[_0x1957f6(0x485,0x517,0x4c1,0x43f)]())[_0x39a391(0x5d8,0x36d,0x543,0x510)](),'commandsEnabled':z[_0x1957f6(0xd,0x1ca,-0x13f,0xae)](z[_0x39a391(0x514,0x875,0x705,0x7b2)](),z[_0x39a391(0x93d,0x7a3,0x944,0x9bd)]())[_0x1957f6(0xc8,-0xf,-0x144,0x3e)](),'memory':memorySettingsSchema[_0x39a391(0x581,0x59b,0x543,0x6f7)](),'session':z[_0x39a391(0x54c,0x8b3,0x737,0x8a3)]({'memPersist':z['boolean']()[_0x39a391(0x50f,0x732,0x543,0x55c)](),'persistEventLog':z[_0x1957f6(0x61e,0x44a,0x541,0x43f)]()[_0x1957f6(0x10d,0x42,-0x197,0x3e)](),'persistHttpLog':z[_0x1957f6(0x688,0x33d,0x2ca,0x43f)]()[_0x39a391(0x3fb,0x38e,0x543,0x52f)]()})[_0x1957f6(0x271,-0x26,-0x1ea,0x5d)]()[_0x1957f6(0x1ab,-0x169,-0x1f1,0x3e)](),'requireToolApproval':z[_0x1957f6(0x449,0x47a,0x579,0x43f)]()[_0x39a391(0x40d,0x64e,0x543,0x469)](),'thinking':z[_0x1957f6(0x42e,0x111,0x220,0x232)]({'selections':z[_0x39a391(0x457,0x439,0x5b3,0x6f0)](z[_0x39a391(0x70f,0x4e8,0x705,0x926)](),z[_0x39a391(0x61f,0x742,0x705,0x6df)]())[_0x39a391(0x66b,0x635,0x543,0x355)]()})['optional'](),'streamingChunks':z[_0x1957f6(0x4d2,0x52a,0x2f6,0x43f)]()[_0x39a391(0x3f3,0x34b,0x543,0x783)](),'agentsEnabled':z[_0x39a391(0x419,0x5b1,0x5b3,0x433)](z['string'](),z['boolean']())[_0x1957f6(-0xe8,0x6f,-0x34,0x3e)](),'recentModels':z[_0x1957f6(0x27d,0x211,0x267,0xa1)](recentModelSchema)[_0x39a391(0x2ff,0x67f,0x543,0x4e0)](),'lsp':lspConfigSchema[_0x1957f6(-0x1af,0xd8,0x286,0x3e)](),'servers':z[_0x1957f6(-0x78,0x21d,0x2bc,0xae)](z['string'](),serverEndpointSchema)[_0x39a391(0x705,0x766,0x543,0x49f)](),'ui':z['object']({'outputDensity':z[_0x1957f6(0x141,0x2fa,0x205,0x2da)](OUTPUT_DENSITY_MODES)[_0x39a391(0x777,0x39d,0x543,0x435)](),'theme':uiThemeSettingsSchema[_0x1957f6(0x1b3,0x169,-0xa8,0x3e)](),'statusline':statuslineConfigSchema[_0x39a391(0x61b,0x615,0x543,0x774)]()})[_0x39a391(0x531,0x6f8,0x562,0x630)]()['optional'](),'tools':toolsSettingsSchema[_0x39a391(0x313,0x3e6,0x543,0x5ec)](),'hooks':hooksConfigSchema[_0x1957f6(-0x17,0x165,-0x1d9,0x3e)](),'bashPolicy':z[_0x39a391(0x701,0x9bd,0x942,0x7d8)]()[_0x1957f6(0x26b,0x20c,0x247,0x3e)]()})[_0x1957f6(0x22e,0x27a,0x12f,0x5d)](),workspaceOverlaySchema=z[_0x39a391(0x806,0x589,0x737,0x7a7)]({'root':z[_0x39a391(0x6cb,0x603,0x705,0x5f9)]()['optional'](),'allowedDirs':z['array'](z[_0x39a391(0x5e2,0x4ce,0x705,0x6e5)]())[_0x39a391(0x5a8,0x368,0x543,0x4af)](),'activeProvider':providerNameSchema[_0x39a391(0x5fa,0x590,0x543,0x3f5)](),'activeModel':z[_0x39a391(0x66f,0x856,0x705,0x947)]()[_0x1957f6(-0xd7,-0x14c,-0x19e,0x3e)](),'activeAgentModelSet':agentModelSetNameSchema[_0x1957f6(0x88,0x230,0x91,0x3e)](),'mcp':mcpSettingsSchema[_0x39a391(0x3ed,0x51f,0x543,0x447)](),'skills':skillsSettingsSchema[_0x1957f6(0xfd,0x13f,0x12f,0x3e)](),'agents':agentsSettingsSchema[_0x1957f6(0x29,0x278,-0x1cf,0x3e)](),'commands':commandsSettingsSchema['optional'](),'hooks':hooksConfigSchema[_0x1957f6(-0x1e1,0x16,0x18f,0x3e)](),'memory':memorySettingsSchema[_0x39a391(0x507,0x633,0x543,0x4af)](),'mcpEnabled':prototypeSafeRecord(z['boolean']())[_0x39a391(0x358,0x372,0x543,0x489)](),'skillsEnabled':z[_0x1957f6(-0x109,0x1d2,-0x141,0xae)](z['string'](),z[_0x39a391(0x963,0x745,0x944,0x847)]())[_0x1957f6(0x218,0x1c5,0x257,0x3e)](),'agentsEnabled':z[_0x39a391(0x5be,0x39b,0x5b3,0x6bb)](z['string'](),z['boolean']())[_0x39a391(0x4ca,0x5ec,0x543,0x577)](),'commandsEnabled':z[_0x1957f6(0x14f,-0xae,-0xdb,0xae)](z[_0x39a391(0x8e7,0x50b,0x705,0x57f)](),z[_0x1957f6(0x437,0x493,0x432,0x43f)]())[_0x1957f6(0x1a7,-0xd7,-0xac,0x3e)](),'bashPolicy':z[_0x1957f6(0x61f,0x4c6,0x3c2,0x43d)]()[_0x39a391(0x343,0x4d3,0x543,0x66e)](),'tools':toolsSettingsSchema[_0x39a391(0x503,0x6c3,0x543,0x73d)]()})[_0x39a391(0x752,0x4bd,0x562,0x72a)](),PROTOTYPE_SENSITIVE_NAMES3=new Set([...Object[_0x1957f6(0x1b8,0x45f,0x164,0x37d)](Object[_0x1957f6(-0x118,0x107,0x22f,0xc3)]),_0x39a391(0x585,0x4e5,0x5c8,0x7ce)]);function buildDescription2(_0x11eb6d){const _0x165a88={_0x5c1c4c:0x1fc,_0x214635:0x49,_0x574967:0x2fa,_0x58021d:0x2cb,_0x2d7ebf:0x4a9,_0x4fe757:0x673,_0x180e2b:0x61e,_0x43f1de:0x1df,_0x470465:0x36e},_0x39686b={_0x523491:0x74,_0x29da19:0x441},_0xfd444c={_0x307d6c:0x1e9,_0x4d1a20:0x1a8};function _0x1f0fb3(_0x1d77c9,_0x5b40df,_0x4ef355,_0x3e62a9){return _0x39a391(_0x1d77c9-_0xfd444c._0x307d6c,_0x5b40df-0xbe,_0x4ef355- -_0xfd444c._0x4d1a20,_0x1d77c9);}function _0xf231cc(_0xb20a3f,_0x250042,_0x482ece,_0x440b92){return _0x39a391(_0xb20a3f-_0x39686b._0x523491,_0x250042-0x166,_0xb20a3f- -_0x39686b._0x29da19,_0x440b92);}if(_0x11eb6d['length']===0x0)return['Invoke\x20a\x20custom\x20command\x20by\x20rendering\x20its\x20reusable\x20workflow\x20instructions.',_0x1f0fb3(0x21b,0x4ee,0x417,0x3bc),_0xf231cc(_0x165a88._0x5c1c4c,-_0x165a88._0x214635,_0x165a88._0x574967,_0x165a88._0x58021d)][_0x1f0fb3(0x5b9,0x5d0,0x469,0x522)]('\x0a');const _0x38b6ee=[_0xf231cc(0x18c,0x3e6,0x16a,0x215),_0x1f0fb3(_0x165a88._0x2d7ebf,_0x165a88._0x4fe757,0x417,_0x165a88._0x180e2b),'Available\x20commands:',..._0x11eb6d[_0xf231cc(_0x165a88._0x43f1de,0x268,0x17,_0x165a88._0x470465)](_0x36e92e=>_0x36e92e[_0x1f0fb3(0x509,0x894,0x6cc,0x87f)]?'-\x20'+_0x36e92e[_0xf231cc(0x20c,0x2b1,0x3ab,0x288)]+'\x20'+_0x36e92e[_0xf231cc(0x433,0x20d,0x47d,0x1e6)]+':\x20'+_0x36e92e[_0xf231cc(0x10f,0x1f6,0x34d,0x2da)]:'-\x20'+_0x36e92e[_0xf231cc(0x20c,0x298,0x351,0xcf)]+':\x20'+_0x36e92e[_0x1f0fb3(0x374,0x3b1,0x3a8,0x1af)])];return _0x38b6ee[_0xf231cc(0x1d0,0x22a,0x109,-0x61)]('\x0a');}function createInvokeCommandTool(_0x9ba4b6){const _0x52fce3={_0x358377:0x156,_0x1b0cb2:0x2c,_0x303576:0x4a,_0x20ad35:0x207,_0x4fb3b1:0x29,_0x4e87b5:0x20d,_0x1213b1:0x42,_0x1f50f5:0x1aa,_0xfa9e4:0x490,_0x221b9d:0x69b,_0x573658:0x73c,_0x3deb60:0x5b4,_0x21fb84:0x8db,_0x38f965:0x70a,_0x179cc7:0x4ca,_0x85a628:0x165,_0x3bfad0:0x249},_0x224de9={_0x47c2a1:0x44b,_0x44b3b0:0x2d0,_0x20ac6d:0x357,_0x1e33cc:0x258,_0x3747d3:0x594,_0x1ff8dc:0x73c,_0x48bcd8:0x377,_0x2648ef:0x6a3,_0x3ed2ac:0x591,_0x1ced54:0x294,_0x2fa610:0x662,_0x1c2b55:0x482,_0x3e05b7:0x6ba,_0x4a20cc:0x6e0,_0x243b28:0x50d,_0x2bab37:0x52e,_0x27f234:0x41a,_0x2a4994:0x628,_0x181e97:0x26e,_0x48a59f:0x61a,_0x6651e3:0x5a9,_0x3c3573:0x421,_0x1a358b:0x37c,_0x316d7f:0x4c4,_0x5436dd:0x1d5,_0x21dbf8:0x36f,_0x115f56:0x59e,_0xfdf1a3:0x41a,_0x17f80a:0x1f4,_0x56140e:0x5d0,_0x35fd94:0x25c,_0x1c255d:0x39a},_0x2a2a22={_0x16ddd7:0xad,_0x35e361:0x48},_0x5b2ec1={_0x14e89e:0x1c9,_0x1bc2f9:0x50a};function _0x1c9adf(_0x3ee441,_0x2ef6be,_0x2c6df5,_0x1ff80f){return _0x1957f6(_0x3ee441-0x197,_0x2ef6be-_0x5b2ec1._0x14e89e,_0x1ff80f,_0x3ee441-_0x5b2ec1._0x1bc2f9);}const _0x5e4803=new Map(_0x9ba4b6[_0x1c9adf(0x622,0x622,0x47a,0x834)][_0x51ea38(_0x52fce3._0x358377,0x2c,_0x52fce3._0x1b0cb2,-_0x52fce3._0x303576)](_0x2f971a=>[_0x2f971a['id'],_0x2f971a]));function _0x51ea38(_0x1e68d4,_0x4d7c59,_0x4993f5,_0x2f339c){return _0x1957f6(_0x1e68d4-0x4,_0x4d7c59-0x79,_0x2f339c,_0x4993f5- -0xef);}const _0x5b7968=buildDescription2(_0x9ba4b6[_0x51ea38(-_0x52fce3._0x20ad35,-0x6c,_0x52fce3._0x4fb3b1,-_0x52fce3._0x4e87b5)]);return defineTool({'name':_0x51ea38(-0x2b1,-_0x52fce3._0x1213b1,-0xb5,-_0x52fce3._0x1f50f5),'permissionClass':_0x1c9adf(0x604,0x5ff,_0x52fce3._0xfa9e4,_0x52fce3._0x221b9d),'description':_0x5b7968,'inputSchema':{'type':_0x1c9adf(_0x52fce3._0x573658,_0x52fce3._0x3deb60,0x540,_0x52fce3._0x21fb84),'properties':{'name':{'type':_0x1c9adf(_0x52fce3._0x38f965,0x73c,_0x52fce3._0x179cc7,0x6e0)},'args':{'type':_0x51ea38(_0x52fce3._0x85a628,_0x52fce3._0x3bfad0,0x111,0x243)}},'required':['name']},async *'execute'(_0x3cdb44){const _0x1027fa=_0x5e4803[_0x675eed(_0x224de9._0x47c2a1,0x5ab,0x48b,_0x224de9._0x44b3b0)](_0x3cdb44[_0x675eed(0x41a,_0x224de9._0x20ac6d,0x376,_0x224de9._0x1e33cc)]);function _0x4f45c0(_0x580606,_0x15809d,_0x573398,_0x50847b){return _0x51ea38(_0x580606-0xe1,_0x15809d-0xed,_0x573398-0x465,_0x15809d);}if(!_0x1027fa){const _0xe93ae8=Array[_0x675eed(_0x224de9._0x3747d3,_0x224de9._0x1ff8dc,_0x224de9._0x48bcd8,0x40c)](_0x5e4803[_0x675eed(_0x224de9._0x2648ef,0x729,0x846,_0x224de9._0x3ed2ac)]())[_0x4f45c0(_0x224de9._0x1ced54,_0x224de9._0x2fa610,_0x224de9._0x1c2b55,_0x224de9._0x3e05b7)](',\x20');throw new ToolExecutionError(_0x675eed(_0x224de9._0x4a20cc,_0x224de9._0x243b28,_0x224de9._0x2bab37,0x655)+_0x3cdb44[_0x675eed(_0x224de9._0x27f234,_0x224de9._0x2a4994,_0x224de9._0x181e97,_0x224de9._0x48a59f)]+'\x27\x20not\x20found.\x20Available\x20commands:\x20'+_0xe93ae8,{'name':_0x3cdb44[_0x4f45c0(_0x224de9._0x6651e3,_0x224de9._0x3c3573,0x4be,0x714)]});}const _0x56595d=await _0x9ba4b6['loadCommand'](_0x1027fa),_0x81c402=_0x3cdb44[_0x675eed(0x52c,_0x224de9._0x1a358b,_0x224de9._0x316d7f,0x303)]??'',_0x4142cc=renderCommandInstructions({'instructions':_0x56595d[_0x4f45c0(_0x224de9._0x5436dd,_0x224de9._0x21dbf8,0x41f,_0x224de9._0x115f56)],'argumentsText':_0x81c402,'argumentNames':_0x56595d['arguments']});yield createToolOutput(_0x4142cc,{'id':_0x56595d['id'],'name':_0x56595d[_0x675eed(_0x224de9._0xfdf1a3,0x584,_0x224de9._0x17f80a,0x20a)],'path':_0x1027fa['source'][_0x4f45c0(_0x224de9._0x56140e,_0x224de9._0x35fd94,_0x224de9._0x1c255d,0x4ce)]});function _0x675eed(_0x477e93,_0x58a8fd,_0x2c89a2,_0x2eccb8){return _0x1c9adf(_0x477e93- -0x238,_0x58a8fd-_0x2a2a22._0x16ddd7,_0x2c89a2-_0x2a2a22._0x35e361,_0x58a8fd);}return void 0x0;}});}function createKillShellTool(_0x291037){const _0x101892={_0x16c261:0x6d1,_0x111325:0x5ce,_0x3bc5c9:0x778,_0x5165a9:0x589,_0x5fa47:0x7e8,_0x26f565:0x9c0,_0x5e4f46:0x94e,_0x3f30ab:0x976,_0x4a685f:0x9ac,_0x35c517:0x79d},_0x946017={_0x44890b:0xdf,_0xdc0791:0x4bd,_0x3fdf50:0xa3,_0x44f3ca:0xb,_0x1c582e:0x11a,_0x474da4:0x374,_0x53d23c:0xd8,_0x5964dd:0x34a,_0x2db37f:0x1ee,_0x4ff83d:0x337,_0xd4c246:0x508,_0x19a3c1:0x536,_0x356366:0x13d,_0x1d98f1:0xbf,_0x1fc44c:0xc7,_0x2b3307:0x5f2,_0xa00abd:0x672,_0x4edaa:0x280,_0x35664e:0x2c5,_0x1b320e:0x211,_0x3fb2e7:0x184,_0x30c1d2:0x22d,_0x275c70:0x3ff,_0x28a50e:0x171,_0x43196e:0xee,_0x1c68a8:0x2f2,_0x498b60:0x213,_0xfc6ee6:0x14a,_0x4271ae:0x180,_0x5ccff6:0x4bc,_0x56e7cd:0x150,_0x3ac439:0x441,_0x5dc637:0x39d,_0x1f0a37:0x124,_0x242d96:0x274,_0x1a0fdc:0x5ad,_0x271729:0x6aa,_0x228dfd:0x4df,_0x42a523:0xb2,_0x48413a:0xb4,_0x378974:0x69,_0xc61af3:0x2d5},_0x13717c={_0x1d8adc:0xda,_0x521235:0xdb,_0x5668ad:0x596};function _0x2698a1(_0xaed96e,_0x56d1fc,_0x5616ad,_0x2f23e5){return _0x39a391(_0xaed96e-0x174,_0x56d1fc-0x189,_0x56d1fc-0x66,_0x2f23e5);}function _0x2aad74(_0x2e6436,_0x127052,_0x1ff35f,_0x4d73b4){return _0x1957f6(_0x2e6436-_0x13717c._0x1d8adc,_0x127052-_0x13717c._0x521235,_0x1ff35f,_0x4d73b4-_0x13717c._0x5668ad);}return defineTool({'name':_0x2698a1(0x6ef,0x806,_0x101892._0x16c261,_0x101892._0x111325),'permissionClass':_0x2aad74(_0x101892._0x3bc5c9,0x665,_0x101892._0x5165a9,0x690),'description':_0x2698a1(0x8d4,_0x101892._0x5fa47,0x787,0x5fb),'inputSchema':{'type':_0x2aad74(_0x101892._0x26f565,0x704,_0x101892._0x5e4f46,0x7c8),'properties':{'shellId':{'type':'string'}},'required':[_0x2aad74(_0x101892._0x3f30ab,0x631,_0x101892._0x4a685f,_0x101892._0x35c517)]},async *'execute'(_0x180108){const _0x211038={_0x273188:0x658,_0x423e9c:0x148},_0x303188={_0x9242d6:0x10},_0x141382=await _0x291037[_0x3c838f(_0x946017._0x44890b,_0x946017._0xdc0791,0xec,0x33a)]['kill'](_0x180108[_0x570ab3(0x41,-_0x946017._0x3fdf50,_0x946017._0x44f3ca,_0x946017._0x1c582e)]);function _0x3c838f(_0x122f76,_0x24b05f,_0x5706eb,_0x168c68){return _0x2aad74(_0x122f76-_0x303188._0x9242d6,_0x24b05f-0x1c2,_0x122f76,_0x168c68- -0x51a);}const _0xbc5070={'shellId':_0x141382[_0x3c838f(0x1a5,_0x946017._0x474da4,_0x946017._0x53d23c,0x283)],'outcome':_0x141382[_0x3c838f(0x41e,_0x946017._0x5964dd,0x39,_0x946017._0x2db37f)],'status':_0x141382[_0x3c838f(0x441,0x3a3,_0x946017._0x4ff83d,0x4df)],'exitCode':_0x141382['exitCode'],'signal':_0x141382[_0x3c838f(_0x946017._0xd4c246,0x40c,_0x946017._0x19a3c1,0x434)],..._0x141382[_0x3c838f(0x91,-_0x946017._0x356366,0x15a,_0x946017._0x1d98f1)]===void 0x0?{}:{'errorCode':_0x141382[_0x570ab3(-0x2ea,_0x946017._0x1fc44c,0x4c,-0xaa)]},'gracefulRequested':_0x141382[_0x3c838f(0x46a,_0x946017._0x2b3307,_0x946017._0xa00abd,0x4e2)],'forceRequested':_0x141382[_0x570ab3(_0x946017._0x4edaa,0x43b,_0x946017._0x35664e,0x25f)]};if(_0x141382[_0x570ab3(0x41,_0x946017._0x1b320e,-_0x946017._0x3fb2e7,0x85)]===_0x3c838f(_0x946017._0x30c1d2,_0x946017._0x275c70,_0x946017._0x28a50e,0x2c6))throw new ToolExecutionError(_0x570ab3(_0x946017._0x43196e,_0x946017._0x1c68a8,0x452,_0x946017._0x498b60)+_0x180108[_0x3c838f(0x221,_0x946017._0xfc6ee6,_0x946017._0x4271ae,0x283)]+':\x20'+(_0x141382['errorCode']??_0x3c838f(0x576,0x50a,0x56d,_0x946017._0x5ccff6)),_0xbc5070);function _0x570ab3(_0xce886b,_0x417314,_0x39be06,_0x30132f){return _0x2698a1(_0xce886b-0x1ca,_0x30132f- -_0x211038._0x273188,_0x39be06-_0x211038._0x423e9c,_0xce886b);}return createToolOutput(_0x141382[_0x3c838f(0x8a,_0x946017._0x56e7cd,0x306,0x1ee)]===_0x3c838f(_0x946017._0x3ac439,_0x946017._0x5dc637,_0x946017._0x1f0a37,_0x946017._0x242d96)?'Process\x20'+_0x180108['shellId']+'\x20was\x20already\x20'+_0x141382[_0x3c838f(_0x946017._0x1a0fdc,_0x946017._0x271729,0x481,_0x946017._0x228dfd)]+'.':_0x570ab3(_0x946017._0x42a523,-_0x946017._0x48413a,-0x2d,0x162)+_0x180108[_0x570ab3(-0xf1,-_0x946017._0x378974,_0x946017._0xc61af3,0x11a)]+'.',_0xbc5070);}});}import _0x1df257 from'turndown';import{isIP}from'net';var DEFAULT_MAX_REDIRECTS=0x8,REDIRECT_STATUSES=new Set([0x12d,0x12e,0x12f,0x133,0x134]),defaultLookup=async _0x17cfb8=>{const {lookup:_0x418abe}=await import('dns/promises');return _0x418abe(_0x17cfb8,{'all':!![],'verbatim':!![]});};function ipv4ToInt(_0x221bb8){const _0x3ed482={_0x52361f:0x1d3,_0x4c9c43:0x2a1,_0x1fc5de:0x7e,_0x176840:0x42e,_0x3a2dc6:0xcb,_0x50338e:0x26e,_0x340765:0xec,_0x3bd546:0x1ee},_0x2f1430={_0x4ce222:0x1f1},_0x1db14b={_0xac1cae:0x510},_0x44b6de=_0x221bb8[_0x6cc19(0x56,_0x3ed482._0x52361f,_0x3ed482._0x4c9c43,0x69)]('.');if(_0x44b6de[_0x6cc19(_0x3ed482._0x1fc5de,_0x3ed482._0x176840,_0x3ed482._0x3a2dc6,_0x3ed482._0x50338e)]!==0x4)return null;function _0x453249(_0x1aaa83,_0x250a04,_0x524269,_0x2883e2){return _0x39a391(_0x1aaa83-0x13f,_0x250a04-0x1a1,_0x2883e2- -_0x1db14b._0xac1cae,_0x250a04);}let _0x2dbc9b=0x0;function _0x6cc19(_0x6d4153,_0x2dfc59,_0x3424b2,_0x1f88d9){return _0x1957f6(_0x6d4153-0x1b4,_0x2dfc59-_0x2f1430._0x4ce222,_0x3424b2,_0x1f88d9- -0x191);}for(const _0x4f17d3 of _0x44b6de){if(!/^\d{1,3}$/[_0x453249(_0x3ed482._0x340765,-_0x3ed482._0x3bd546,-0x243,-0x31)](_0x4f17d3))return null;const _0x3e178a=Number(_0x4f17d3);if(_0x3e178a>0xff)return null;_0x2dbc9b=_0x2dbc9b*0x100+_0x3e178a;}return _0x2dbc9b>>>0x0;}function isBlockedIpv4(_0x5a36bb){const _0x4763e2={_0x1dba86:0x3fc,_0x1b8b1b:0x424,_0x533f9a:0x3c3,_0xfe75d4:0x3f7,_0x384365:0x3d6,_0x173253:0x39c,_0x263a23:0x303,_0x431da2:0xab,_0x255724:0x300,_0x17556f:0x5d,_0x511639:0x314,_0x2fade3:0x377,_0x32bb0a:0xc7,_0x5c3f59:0x15c,_0x1fd495:0x1b6,_0x27b025:0x88,_0x3116ec:0x1f5,_0x2a3818:0x31a,_0x48cacc:0x2bd,_0x506ecb:0x403,_0x48131b:0x2b4},_0x559f82={_0x3c6756:0x12b,_0x4d4aef:0x563},_0x26351f={_0x40ddab:0xf6,_0x3e91fa:0x13a,_0x4fb60a:0x1ab},_0x17d1a7=ipv4ToInt(_0x5a36bb);function _0x5c309c(_0x3df33d,_0x2e2e12,_0x4247d7,_0x38dc40){return _0x39a391(_0x3df33d-_0x26351f._0x40ddab,_0x2e2e12-_0x26351f._0x3e91fa,_0x3df33d- -_0x26351f._0x4fb60a,_0x2e2e12);}function _0x5450e4(_0x42ddb6,_0x55ea0c,_0x5be55e,_0x4e86f4){return _0x39a391(_0x42ddb6-_0x559f82._0x3c6756,_0x55ea0c-0x1e2,_0x5be55e- -_0x559f82._0x4d4aef,_0x42ddb6);}if(_0x17d1a7===null)return!![];const _0x2ad8da=(_0x20c536,_0x5dce7e)=>{const _0x1cc36f=ipv4ToInt(_0x20c536);if(_0x1cc36f===null)return![];const _0x4506bb=_0x5dce7e===0x0?0x0:0xffffffff<<0x20-_0x5dce7e>>>0x0;return(_0x17d1a7&_0x4506bb)===(_0x1cc36f&_0x4506bb);};return _0x2ad8da(_0x5450e4(_0x4763e2._0x1dba86,_0x4763e2._0x1b8b1b,_0x4763e2._0x533f9a,0x477),0x8)||_0x2ad8da(_0x5450e4(_0x4763e2._0xfe75d4,_0x4763e2._0x384365,_0x4763e2._0x173253,_0x4763e2._0x263a23),0x8)||_0x2ad8da('100.64.0.0',0xa)||_0x2ad8da(_0x5450e4(_0x4763e2._0x431da2,0x196,0x149,_0x4763e2._0x255724),0x8)||_0x2ad8da(_0x5450e4(0x0,-_0x4763e2._0x17556f,0xb5,0x12a),0x10)||_0x2ad8da('172.16.0.0',0xc)||_0x2ad8da(_0x5c309c(_0x4763e2._0x511639,_0x4763e2._0x2fade3,_0x4763e2._0x32bb0a,_0x4763e2._0x5c3f59),0x18)||_0x2ad8da('192.168.0.0',0x10)||_0x2ad8da(_0x5450e4(_0x4763e2._0x1fd495,-_0x4763e2._0x27b025,-0x79,-_0x4763e2._0x3116ec),0xf)||_0x2ad8da(_0x5c309c(_0x4763e2._0x2a3818,0x3ba,0x31c,_0x4763e2._0x48cacc),0x4)||_0x2ad8da(_0x5450e4(_0x4763e2._0x506ecb,0x3dc,_0x4763e2._0x48131b,0xb2),0x4);}function expandIpv6(_0x3fcf44){const _0x1b621a={_0x460784:0x62,_0x528547:0x334,_0x42d1d6:0x330,_0x501b36:0x330,_0x4c708e:0x56d,_0x35730d:0x4d8,_0x33cb56:0x651,_0x4da98d:0x5b7,_0x7fd613:0x470,_0x44a380:0x600,_0x2ba8:0x2f4,_0xaea95f:0x5f0,_0x31a448:0x4d6,_0x197a1e:0x58c,_0x2bcb7e:0x555,_0x3de46f:0x501,_0x1bdd9e:0x59d},_0x768a5d={_0x5ccb62:0x9b,_0x473c72:0x19e};let _0x5012f1=_0x3fcf44,_0x1c2dd0;const _0x3be7b7=_0x5012f1[_0x2347c(0x19f,0x172,_0x1b621a._0x460784,_0x1b621a._0x528547)](':');_0x5012f1['slice'](_0x3be7b7+0x1)[_0x2347c(0x1fe,_0x1b621a._0x42d1d6,_0x1b621a._0x501b36,_0x1b621a._0x4c708e)]('.')&&(_0x1c2dd0=_0x5012f1[_0x2347c(0x44c,_0x1b621a._0x35730d,0x60a,_0x1b621a._0x33cb56)](_0x3be7b7+0x1),_0x5012f1=_0x5012f1['slice'](0x0,_0x3be7b7+0x1));const _0x2049b9=_0x5012f1['split']('::');if(_0x2049b9['length']>0x2)return null;const _0x5974ce=_0x311eb7=>_0x311eb7[_0x2347c(0x560,0x316,0x324,0x416)](':')[_0x201c46(0x481,0x29c,0x452,0x526)](_0x12853a=>_0x12853a[_0x2347c(0x4fc,0x51b,0x48a,0x600)]>0x0)['map'](_0x2fa745=>Number['parseInt'](_0x2fa745,0x10)),_0x3c7bc0=_0x2049b9[0x0]?_0x5974ce(_0x2049b9[0x0]):[],_0x3585a6=_0x2049b9['length']===0x2&&_0x2049b9[0x1]?_0x5974ce(_0x2049b9[0x1]):[],_0x39ae78=[];if(_0x1c2dd0){const _0x451837=ipv4ToInt(_0x1c2dd0);if(_0x451837===null)return null;_0x39ae78[_0x201c46(_0x1b621a._0x4da98d,_0x1b621a._0x7fd613,0x589,0x497)](_0x451837>>>0x10&0xffff,_0x451837&0xffff);}function _0x2347c(_0x81a35e,_0x5164a8,_0x2ce1a1,_0x597622){return _0x1957f6(_0x81a35e-0x182,_0x5164a8-0x1ba,_0x597622,_0x5164a8-0x11c);}const _0x1a40a9=[..._0x3585a6,..._0x39ae78],_0x49e552=0x8-_0x3c7bc0['length']-_0x1a40a9[_0x2347c(_0x1b621a._0x44a380,0x51b,_0x1b621a._0x2ba8,_0x1b621a._0xaea95f)];if(_0x2049b9[_0x2347c(_0x1b621a._0x31a448,0x51b,_0x1b621a._0x197a1e,0x74d)]===0x1)return _0x3c7bc0[_0x2347c(_0x1b621a._0x2bcb7e,0x51b,_0x1b621a._0x3de46f,0x735)]+_0x1a40a9[_0x201c46(_0x1b621a._0x1bdd9e,0x5a5,0x768,0x7c2)]===0x8?[..._0x3c7bc0,..._0x1a40a9]:null;function _0x201c46(_0x32e83c,_0x36a031,_0x1942b2,_0x10988e){return _0x1957f6(_0x32e83c-0x91,_0x36a031-_0x768a5d._0x5ccb62,_0x10988e,_0x32e83c-_0x768a5d._0x473c72);}if(_0x49e552<0x0)return null;return[..._0x3c7bc0,...new Array(_0x49e552)[_0x2347c(0x24e,0x182,0x31b,0x6a)](0x0),..._0x1a40a9];}function isBlockedIpv6(_0x366f13){const _0x5a9369={_0x1b395a:0xea,_0x491c8f:0x37,_0x119ba7:0x56c,_0x28c6dc:0x3ab,_0x41de7b:0x36f,_0x32c53c:0x423},_0x4f409e={_0x15fb0b:0x72},_0x2ed3d9={_0x542a8e:0x12,_0x1a3122:0x61},_0x20998c=expandIpv6(_0x366f13);if(!_0x20998c||_0x20998c[_0x178c54(-0xe1,_0x5a9369._0x1b395a,0x32f,_0x5a9369._0x491c8f)](_0x2b6e53=>Number[_0x178c54(0x10d,0x22c,0x343,0x203)](_0x2b6e53)))return!![];const _0x5d8439=_0x20998c[_0x178c54(_0x5a9369._0x119ba7,_0x5a9369._0x28c6dc,0x47e,0x466)](0x0,0x7)['every'](_0x544995=>_0x544995===0x0);if(_0x5d8439&&(_0x20998c[0x7]===0x0||_0x20998c[0x7]===0x1))return!![];if(_0x20998c['slice'](0x0,0x5)[_0x178c54(0x236,_0x5a9369._0x41de7b,0x48a,_0x5a9369._0x32c53c)](_0x18ceb3=>_0x18ceb3===0x0)&&(_0x20998c[0x5]===0xffff||_0x20998c[0x5]===0x0)){const _0x7fef50=(_0x20998c[0x6]<<0x10|_0x20998c[0x7])>>>0x0,_0x2e6703=[_0x7fef50>>>0x18&0xff,_0x7fef50>>>0x10&0xff,_0x7fef50>>>0x8&0xff,_0x7fef50&0xff]['join']('.');return isBlockedIpv4(_0x2e6703);}function _0x178c54(_0x775536,_0x28562d,_0x4d7a7f,_0x40c5c4){return _0x39a391(_0x775536-_0x2ed3d9._0x542a8e,_0x28562d-_0x2ed3d9._0x1a3122,_0x28562d- -0x516,_0x775536);}const _0x28bf34=_0x20998c[0x0];if((_0x28bf34&0xff00)===0xfc00||(_0x28bf34&0xfe00)===0xfc00)return!![];if((_0x28bf34&0xffc0)===0xfe80)return!![];function _0x5add93(_0x3e5c7d,_0x5c04df,_0x316c9c,_0x178848){return _0x1957f6(_0x3e5c7d-0x175,_0x5c04df-_0x4f409e._0x15fb0b,_0x178848,_0x5c04df-0x244);}if((_0x28bf34&0xff00)===0xff00)return!![];return![];}function isBlockedAddress(_0x500351){const _0x10911e=isIP(_0x500351);if(_0x10911e===0x4)return isBlockedIpv4(_0x500351);if(_0x10911e===0x6)return isBlockedIpv6(_0x500351);return!![];}async function assertPublicUrl(_0x14c995,_0x3f3d4e={}){const _0x2efd94={_0x123694:0x942,_0x464a83:0x62,_0x567470:0x15e,_0x2c10cd:0x748,_0x553d73:0x237,_0xf22f65:0x474,_0x252474:0x4f6,_0x16e9f1:0x709,_0x208b9b:0x64e,_0x3d845c:0x125,_0x3fad9f:0x121,_0xde5871:0x83d,_0x3d4852:0x4c0,_0x202e6e:0x455,_0x26b0b1:0x94e,_0x426de5:0x7a9,_0x4a9196:0x7d2,_0xb07338:0x999,_0x76ddee:0x3c7,_0x24d0ce:0xe9,_0x4eb629:0x31e,_0x2bfe9e:0x506,_0x2d806e:0x51e,_0x17b3c8:0x630,_0x1afbdc:0x9b4,_0x4a73a8:0x85a,_0x457264:0x8cd,_0x291980:0x540,_0x15fbfd:0xaae,_0x2eb50e:0x93a,_0x15f20:0x6df},_0x3f151b={_0x181175:0x21,_0x2626bd:0x1bd,_0x8b1956:0x574},_0x3902d4={_0x5517ef:0x1ec,_0x648e99:0x40b};function _0x4f5f59(_0x1721ac,_0x33f491,_0x40dd9f,_0x1c4fd4){return _0x39a391(_0x1721ac-_0x3902d4._0x5517ef,_0x33f491-0x139,_0x40dd9f- -_0x3902d4._0x648e99,_0x33f491);}let _0x1cd8fb;function _0x52204(_0x6d9862,_0x51455f,_0x5a6106,_0x83f5bd){return _0x1957f6(_0x6d9862-_0x3f151b._0x181175,_0x51455f-_0x3f151b._0x2626bd,_0x6d9862,_0x51455f-_0x3f151b._0x8b1956);}try{_0x1cd8fb=new URL(_0x14c995);}catch{throw new ToolExecutionError('Invalid\x20URL\x20parameter',{'url':_0x14c995});}if(_0x1cd8fb['protocol']!=='http:'&&_0x1cd8fb[_0x52204(_0x2efd94._0x123694,0x999,0x92f,0x7e1)]!==_0x4f5f59(_0x2efd94._0x464a83,0x32a,_0x2efd94._0x567470,0x20d))throw new ToolExecutionError(_0x52204(0x7c7,0x773,0x597,_0x2efd94._0x2c10cd),{'url':_0x14c995});if(_0x1cd8fb[_0x4f5f59(_0x2efd94._0x553d73,0x3a2,_0x2efd94._0xf22f65,0x3b9)]||_0x1cd8fb['password'])throw new ToolExecutionError(_0x52204(_0x2efd94._0x252474,_0x2efd94._0x16e9f1,_0x2efd94._0x208b9b,0x746),{'url':_0x1cd8fb[_0x52204(0xb8b,0x999,0x87d,0x9eb)]+'//'+_0x1cd8fb[_0x4f5f59(_0x2efd94._0x3d845c,0x429,0x31e,_0x2efd94._0x3fad9f)]+_0x1cd8fb[_0x52204(_0x2efd94._0xde5871,0x630,_0x2efd94._0x3d4852,_0x2efd94._0x202e6e)]});const _0x2045c6=_0x1cd8fb[_0x52204(_0x2efd94._0x26b0b1,_0x2efd94._0x426de5,_0x2efd94._0x4a9196,0x6c5)]['replace'](/^\[|\]$/g,''),_0x1beb36=_0x1cd8fb[_0x52204(0x9ea,_0x2efd94._0xb07338,0xbbc,0x7d6)]+'//'+_0x1cd8fb[_0x4f5f59(_0x2efd94._0x76ddee,_0x2efd94._0x24d0ce,_0x2efd94._0x4eb629,_0x2efd94._0x2bfe9e)]+_0x1cd8fb[_0x52204(_0x2efd94._0x2d806e,_0x2efd94._0x17b3c8,0x54a,0x75f)];if(isIP(_0x2045c6)){if(isBlockedAddress(_0x2045c6))throw new ToolExecutionError(_0x52204(_0x2efd94._0x1afbdc,_0x2efd94._0x4a73a8,0x6f2,0xa6c),{'url':_0x1beb36});return _0x1cd8fb;}const _0xc66805=_0x3f3d4e[_0x52204(0x726,0x951,0x96c,0x8fa)]??defaultLookup;let _0x550f58;try{_0x550f58=await _0xc66805(_0x2045c6);}catch{throw new ToolExecutionError(_0x52204(0x720,0x93a,_0x2efd94._0x457264,0xa87),{'url':_0x1beb36});}if(_0x550f58[_0x4f5f59(0x2a1,_0x2efd94._0x291980,0x4f9,0x4f9)]===0x0)throw new ToolExecutionError(_0x52204(_0x2efd94._0x15fbfd,_0x2efd94._0x2eb50e,0x9b4,_0x2efd94._0x15f20),{'url':_0x1beb36});for(const {address:_0xd01a71}of _0x550f58){if(isBlockedAddress(_0xd01a71))throw new ToolExecutionError('Refusing\x20to\x20fetch\x20a\x20host\x20that\x20resolves\x20to\x20a\x20non-public\x20address',{'url':_0x1beb36});}return _0x1cd8fb;}async function safeFetch(_0x49108e,_0x55c8f2={},_0x4eeb15={}){const _0x7eccd9={_0x3a7f01:0xa9,_0x41cd5c:0x2,_0x33d64f:0x113,_0x254d45:0x549,_0xccf900:0x2de,_0xefd72c:0x3b8,_0x24de27:0xdd,_0x5a85e9:0x9e,_0x2144cb:0x163,_0x2f3058:0x303,_0xd32576:0x225,_0x2b1cf8:0x174,_0x22cf01:0x20d},_0x1a9c2c={_0x2a8acd:0x1c5},_0xb240dd=_0x4eeb15[_0x505460(-_0x7eccd9._0x3a7f01,-_0x7eccd9._0x41cd5c,-0x31,_0x7eccd9._0x33d64f)]??fetch;function _0x505460(_0x38b491,_0x1574c6,_0xc4da4d,_0x53f34f){return _0x39a391(_0x38b491-0x110,_0x1574c6-_0x1a9c2c._0x2a8acd,_0x1574c6- -0x4f3,_0xc4da4d);}function _0x290c64(_0x348857,_0x3ccf52,_0xd34244,_0x4377fe){return _0x1957f6(_0x348857-0xfa,_0x3ccf52-0xf4,_0x348857,_0x4377fe- -0x155);}const _0xcf8683=_0x4eeb15['maxRedirects']??DEFAULT_MAX_REDIRECTS;let _0x1a169a=_0x49108e;for(let _0x258545=0x0;;_0x258545+=0x1){const _0x386984=await assertPublicUrl(_0x1a169a,_0x4eeb15),_0x2b2c6f=await _0xb240dd(_0x386984[_0x505460(_0x7eccd9._0x254d45,0x374,0x34d,0x158)](),{..._0x55c8f2,'redirect':_0x505460(0x1ec,0x3de,0x474,0x254)}),_0xea5357=_0x2b2c6f[_0x290c64(0x3f,0x127,-0x145,-0x90)][_0x505460(0x3de,0x18b,_0x7eccd9._0xccf900,_0x7eccd9._0xefd72c)](_0x290c64(0x2e,_0x7eccd9._0x24de27,0x53,-_0x7eccd9._0x5a85e9));if(!REDIRECT_STATUSES[_0x505460(-0xfa,-0x36,_0x7eccd9._0x2144cb,-0x11d)](_0x2b2c6f['status'])||!_0xea5357)return _0x2b2c6f;if(_0x258545>=_0xcf8683)throw new ToolExecutionError(_0x505460(0x4ae,_0x7eccd9._0x2f3058,_0x7eccd9._0xd32576,_0x7eccd9._0x2b1cf8),{'url':_0x386984[_0x290c64(0x179,0x36c,0x253,_0x7eccd9._0x22cf01)]()});_0x1a169a=new URL(_0xea5357,_0x386984)['toString']();}}var USER_AGENT='Mozilla/5.0\x20(Macintosh;\x20Intel\x20Mac\x20OS\x20X\x2010_15_7)\x20AppleWebKit/537.36\x20NuvinBot/1.0',DEFAULT_TIMEOUT_MS3=0xea60;function createTimeoutSignal(_0x2d245c,_0x26dcf1){const _0x24c299={_0x5a1068:0xee,_0x50002c:0xaf,_0x43f8f0:0x28b,_0x426842:0x201,_0x5e1391:0x382,_0x5ca976:0x4ae,_0x22b790:0x510,_0x380d5c:0x329,_0x20ab96:0x6fe},_0x543b22={_0x8199e3:0x800,_0x32f813:0x628,_0x5d0c86:0x803,_0x46cdbc:0x9a8,_0x291541:0x782,_0x202899:0x781,_0x3e2a52:0x908},_0x2384d1={_0x4b7ec9:0x1ab,_0x36de41:0x94},_0x1aa9cb={_0x510f90:0x1da,_0x1f7d52:0x1d1},_0x296480=new AbortController(),_0x395625=setTimeout(()=>_0x296480[_0x52aff2(0x564,0x510,0x68f,0x56f)](new Error('Fetch\x20timed\x20out')),_0x26dcf1);function _0x9cf294(_0x46d0ab,_0x56846a,_0x3f01b7,_0x52049d){return _0x1957f6(_0x46d0ab-_0x1aa9cb._0x510f90,_0x56846a-_0x1aa9cb._0x1f7d52,_0x3f01b7,_0x52049d- -0x7c);}function _0x52aff2(_0x9a7a9e,_0x346900,_0x14210a,_0x393256){return _0x39a391(_0x9a7a9e-_0x2384d1._0x4b7ec9,_0x346900-_0x2384d1._0x36de41,_0x346900- -0x2fc,_0x393256);}const _0x213813=()=>_0x296480[_0x52aff2(0x581,0x510,0x6b3,0x38d)](_0x2d245c[_0x9cf294(-0xe6,0x135,0x2a0,0x101)]);return _0x2d245c[_0x9cf294(_0x24c299._0x5a1068,-_0x24c299._0x50002c,-0x158,0x96)]?_0x296480[_0x9cf294(0x492,0x3e5,0x7f,_0x24c299._0x43f8f0)](_0x2d245c[_0x52aff2(0x4ff,0x386,0x5d0,_0x24c299._0x426842)]):_0x2d245c[_0x52aff2(_0x24c299._0x5e1391,0x3f2,_0x24c299._0x5ca976,0x603)](_0x52aff2(0x63c,_0x24c299._0x22b790,_0x24c299._0x380d5c,_0x24c299._0x20ab96),_0x213813,{'once':!![]}),{'signal':_0x296480[_0x9cf294(0x530,0x136,0xf9,0x33c)],'cleanup':()=>{const _0x15ce8b={_0x6104ad:0x1cb,_0x3b2c2d:0x147,_0x449cbb:0x4f7},_0xf8f420={_0x2b76da:0xf,_0x1b6ea4:0x15f};function _0x4dd0c0(_0x5db15e,_0x542ec8,_0xe400f,_0x3c9e33){return _0x52aff2(_0x5db15e-_0xf8f420._0x2b76da,_0x3c9e33- -0x13a,_0xe400f-_0xf8f420._0x1b6ea4,_0xe400f);}function _0x413fe1(_0x342898,_0x20486d,_0x2bfb9e,_0xb894f5){return _0x9cf294(_0x342898-_0x15ce8b._0x6104ad,_0x20486d-_0x15ce8b._0x3b2c2d,_0xb894f5,_0x20486d-_0x15ce8b._0x449cbb);}clearTimeout(_0x395625),_0x2d245c[_0x413fe1(_0x543b22._0x8199e3,_0x543b22._0x32f813,_0x543b22._0x5d0c86,0x44b)](_0x413fe1(_0x543b22._0x46cdbc,_0x543b22._0x291541,_0x543b22._0x202899,_0x543b22._0x3e2a52),_0x213813);}};}function createWebFetchTool(_0x2c7b8f={}){const _0xfcc081={_0x3d2f82:0x56f,_0x55bfbe:0x4bc,_0xd224ae:0x430,_0x4f330a:0x2fd,_0x533627:0x51f,_0x36ec36:0x689,_0x37b228:0x4a7,_0x1daf6c:0x6ea,_0x3af728:0x868,_0x40c2a9:0x291,_0x1ff4c6:0x48e,_0x406ac3:0x6b3,_0x1122bc:0x97c,_0x419203:0x3a4,_0x518779:0x64d,_0x3a01c6:0x514,_0x12ba74:0x3ef,_0x300385:0x34e,_0x36a51f:0x6aa,_0x53bcbc:0x5d8,_0x47f21e:0x8f1,_0xded5af:0x7a0,_0x125144:0x4ec,_0x558801:0x47a,_0x5e1a73:0x620,_0xc4b6e8:0x679,_0x4c9ef4:0x30f},_0x4591b8={_0x3e526c:0x49,_0x32a11c:0xae,_0x4681dd:0x218,_0x2c4b3c:0xdf,_0x27d928:0x3e6,_0x3df6fb:0x105,_0x8757e5:0x23f,_0x42c02a:0x75,_0xddced4:0xb8,_0x1c32ff:0x2b8,_0x3e3507:0x1ef,_0x1ca830:0x40,_0x4b3d82:0x1df,_0x5b63e6:0x31b,_0x351054:0x435,_0x4d65d6:0x47a,_0x23d7a8:0x41e,_0x1b7962:0x151,_0x2b97e1:0x2ea,_0x2950e7:0xa5,_0x42562d:0x313,_0x31af17:0x28,_0x2439c6:0x247,_0x6b72e2:0x31,_0x545df9:0x146,_0x241a26:0x0,_0x2108bb:0x18d,_0x399a5f:0x3c6,_0x5f4516:0x521,_0x3fca37:0x60b,_0x258ced:0x47b,_0x123063:0x96,_0x26af5c:0x274,_0x21fd9a:0x3d8,_0x26fe44:0x250,_0x2fe9d4:0x210,_0xf94b6a:0x118,_0x3ca138:0x3e,_0x5b6213:0x26f,_0x532da9:0x2e6,_0x359d41:0x2da,_0x2f2913:0xd7,_0x42ee5c:0x1e1,_0x7c91e1:0x9b,_0x456617:0x113,_0x5be9a0:0x335,_0xa064b:0x18a,_0x2c4204:0x42b,_0x162b2e:0x203},_0x2d9325={_0x19f962:0x2f6},_0x1a25c7={_0x31fa2c:0x63,_0x2658b6:0x191,_0x561916:0x427},_0x299fb3=_0x2c7b8f[_0x584aed(0x33e,0x6e4,_0xfcc081._0x3d2f82,0x5c0)]??_0x233b61(0x21f,0x209,_0xfcc081._0x55bfbe,_0xfcc081._0xd224ae),_0xf4609=_0x2c7b8f[_0x233b61(0x470,_0xfcc081._0x4f330a,0x354,_0xfcc081._0x533627)]??DEFAULT_TIMEOUT_MS3,_0x359d89=_0x2c7b8f[_0x233b61(0x45d,0x5de,0x529,0x5ec)];function _0x584aed(_0x59f8ae,_0xc5b17f,_0x18a3bf,_0x1014f1){return _0x1957f6(_0x59f8ae-_0x1a25c7._0x31fa2c,_0xc5b17f-_0x1a25c7._0x2658b6,_0x59f8ae,_0x18a3bf-_0x1a25c7._0x561916);}function _0x233b61(_0x1f53a7,_0x30fb62,_0x77538f,_0x5030bc){return _0x39a391(_0x1f53a7-0xe2,_0x30fb62-0x129,_0x5030bc- -_0x2d9325._0x19f962,_0x30fb62);}const _0x1d2784=new _0x1df257({'headingStyle':_0x584aed(_0xfcc081._0x36ec36,_0xfcc081._0x37b228,_0xfcc081._0x1daf6c,_0xfcc081._0x3af728),'codeBlockStyle':_0x584aed(_0xfcc081._0x40c2a9,_0xfcc081._0x1ff4c6,0x4a7,0x490),'bulletListMarker':'-'});return _0x1d2784[_0x233b61(_0xfcc081._0x406ac3,0x512,0x6c1,0x55a)]([_0x584aed(0x693,0x87e,0x878,_0xfcc081._0x1122bc),_0x233b61(0x721,_0xfcc081._0x419203,_0xfcc081._0x518779,0x5a8),'noscript','iframe',_0x584aed(_0xfcc081._0x3a01c6,0x20e,_0xfcc081._0x12ba74,_0xfcc081._0x300385),_0x584aed(0x6bc,0x8a2,_0xfcc081._0x36a51f,_0xfcc081._0x53bcbc),_0x584aed(0x5e0,_0xfcc081._0x47f21e,_0xfcc081._0xded5af,0x650),_0x233b61(0x55b,0x3a7,0x5fb,_0xfcc081._0x125144)]),defineTool({'name':_0x299fb3,'permissionClass':_0x584aed(_0xfcc081._0x558801,0x399,0x4a5,0x655),'description':'Fetch\x20web\x20page\x20content\x20and\x20convert\x20to\x20Markdown\x20format','inputSchema':{'type':_0x233b61(_0xfcc081._0x5e1a73,_0xfcc081._0xc4b6e8,0x1e6,0x441),'properties':{'description':{'type':'string'},'url':{'type':'string'}},'required':[_0x233b61(0x329,0x39b,_0xfcc081._0x4c9ef4,0x263)]},async *'execute'(_0x2cf0c1,_0x4a45e5){const _0x148cb0={_0xe6d748:0x136,_0x407db1:0x388},_0x5eb9af=(await assertPublicUrl(_0x2cf0c1[_0xbbf800(-_0x4591b8._0x3e526c,0xd8,_0x4591b8._0x32a11c,-_0x4591b8._0x4681dd)],{'lookup':_0x359d89}))[_0xa37f4(0x175,_0x4591b8._0x2c4b3c,0x1e9,_0x4591b8._0x27d928)]();function _0xa37f4(_0x1794b9,_0x19d3b4,_0x1fe24b,_0x122603){return _0x233b61(_0x1794b9-_0x148cb0._0xe6d748,_0x122603,_0x1fe24b-0xbe,_0x1fe24b- -_0x148cb0._0x407db1);}if(_0x4a45e5[_0xa37f4(0x374,_0x4591b8._0x3df6fb,_0x4591b8._0x8757e5,0x1b7)][_0xbbf800(_0x4591b8._0x42c02a,_0x4591b8._0xddced4,0xb7,_0x4591b8._0x1c32ff)])throw new ToolExecutionError(_0xbbf800(0x219,_0x4591b8._0x3e3507,0x1a8,_0x4591b8._0x1ca830),{'url':_0x5eb9af});const _0x49c712=createTimeoutSignal(_0x4a45e5[_0xa37f4(0x369,_0x4591b8._0x4b3d82,0x23f,0x33a)],_0xf4609);let _0xf25742='',_0x5e7b93=0x0,_0x5bcee1;function _0xbbf800(_0x3454c9,_0x58d175,_0x485afa,_0x1efe5b){return _0x584aed(_0x1efe5b,_0x58d175-0xd0,_0x3454c9- -0x4c4,_0x1efe5b-0x26);}try{const _0x485743=await safeFetch(_0x5eb9af,{'headers':{'User-Agent':USER_AGENT},'signal':_0x49c712[_0xbbf800(_0x4591b8._0x5b63e6,_0x4591b8._0x351054,0x15b,_0x4591b8._0x4d65d6)]},{'lookup':_0x359d89});if(!_0x485743['ok'])throw new ToolExecutionError(_0xa37f4(0x3d7,_0x4591b8._0x23d7a8,0x22e,0x292)+_0x485743[_0xa37f4(_0x4591b8._0x1b7962,0x276,_0x4591b8._0x2b97e1,0x2a6)]+'\x20'+_0x485743[_0xa37f4(_0x4591b8._0x2950e7,_0x4591b8._0x42562d,0x20b,-0x3a)],{'url':_0x5eb9af,'statusCode':_0x485743['status']});_0xf25742=_0x485743[_0xbbf800(_0x4591b8._0x31af17,_0x4591b8._0x2439c6,-_0x4591b8._0x6b72e2,0x231)][_0xa37f4(-_0x4591b8._0x545df9,-0x12d,_0x4591b8._0x241a26,-_0x4591b8._0x2108bb)]('content-type')??'',_0x5e7b93=_0x485743[_0xbbf800(_0x4591b8._0x399a5f,0x3ed,_0x4591b8._0x5f4516,_0x4591b8._0x3fca37)],_0x5bcee1=await _0x485743[_0xbbf800(0x341,_0x4591b8._0x258ced,0x571,0x481)]();}catch(_0x2e7bd4){if(_0x2e7bd4 instanceof ToolExecutionError)throw _0x2e7bd4;const _0x170769=_0x2e7bd4 instanceof Error?_0x2e7bd4[_0xa37f4(_0x4591b8._0x123063,0x1e9,0x2e9,0x3a0)]:String(_0x2e7bd4);throw new ToolExecutionError(_0x170769,{'url':_0x5eb9af});}finally{_0x49c712['cleanup']();}const _0x94a026=new Date()[_0xbbf800(_0x4591b8._0x26af5c,_0x4591b8._0x21fd9a,_0x4591b8._0x26fe44,0x2b1)]();let _0x39e669,_0x159682;if(_0xf25742['includes'](_0xa37f4(-_0x4591b8._0x2fe9d4,-_0x4591b8._0xf94b6a,_0x4591b8._0x3ca138,_0x4591b8._0x5b6213)))_0x39e669=_0xbbf800(0x128,0x225,_0x4591b8._0x532da9,_0x4591b8._0x359d41)+_0x5bcee1+_0xbbf800(-_0x4591b8._0x2f2913,-0x13,-0x1df,-_0x4591b8._0x42ee5c),_0x159682='json';else _0xf25742[_0xa37f4(-0xce,0x14,_0x4591b8._0x7c91e1,-0xda)]('text/html')?(_0x39e669=_0x1d2784[_0xa37f4(_0x4591b8._0x456617,-0xc3,0x171,_0x4591b8._0x5be9a0)](_0x5bcee1),_0x159682=_0xbbf800(0x17,_0x4591b8._0xa064b,0x1bf,-0x111)):(_0x39e669=_0x5bcee1,_0x159682=_0xbbf800(0x341,0x114,_0x4591b8._0x2c4204,_0x4591b8._0x162b2e));return yield createToolOutput(_0x39e669,{'url':_0x5eb9af,'contentType':_0xf25742,'statusCode':_0x5e7b93,'format':_0x159682,'size':_0x5bcee1['length'],'fetchedAt':_0x94a026}),void 0x0;}});}import{load}from'cheerio';var USER_AGENT2=_0x39a391(0x4e7,0x6c4,0x72b,0x847);function normalizeUrl(_0x4fa6b6){const _0x5d8e2b={_0x1c365f:0x4c6,_0x5a7c29:0x44a,_0x49a74f:0x6f4,_0x32f362:0x58e,_0x55368b:0x501,_0x5d805e:0x63b,_0x2566a6:0x511,_0x12862e:0xa,_0x1788d3:0x57,_0x2f1b3e:0x31f,_0x2c6884:0x1da,_0x23d9ef:0x31b,_0x396072:0x58c,_0xf7a328:0x3e1,_0x1d86b1:0x635,_0xd78f33:0x5e8},_0x3a54b3={_0xad2a47:0xbc,_0x5b6b4b:0x2d3},_0x491699={_0xa63946:0x19f,_0x53d0ba:0xb7};function _0x26d680(_0x1adb58,_0x28cf10,_0x2a6365,_0x2fc47b){return _0x1957f6(_0x1adb58-_0x491699._0xa63946,_0x28cf10-_0x491699._0x53d0ba,_0x28cf10,_0x2fc47b- -0x120);}function _0x149230(_0x4135ac,_0x48aa0f,_0x38f6eb,_0x443881){return _0x1957f6(_0x4135ac-_0x3a54b3._0xad2a47,_0x48aa0f-0x14b,_0x443881,_0x48aa0f-_0x3a54b3._0x5b6b4b);}try{const _0x293474=new URL(_0x4fa6b6);for(const _0x43194d of['utm_source',_0x149230(0x547,_0x5d8e2b._0x1c365f,0x290,0x423),_0x149230(0x6a5,0x683,0x816,_0x5d8e2b._0x5a7c29),_0x149230(0x586,0x6d5,_0x5d8e2b._0x49a74f,_0x5d8e2b._0x32f362),_0x149230(_0x5d8e2b._0x55368b,_0x5d8e2b._0x5d805e,0x4e5,_0x5d8e2b._0x2566a6),'gclid',_0x26d680(-0x125,-_0x5d8e2b._0x12862e,_0x5d8e2b._0x1788d3,-0xab),'mc_cid',_0x26d680(0x93,_0x5d8e2b._0x2f1b3e,0x28,_0x5d8e2b._0x2c6884)]){_0x293474[_0x149230(_0x5d8e2b._0x23d9ef,0x577,0x490,_0x5d8e2b._0x396072)]['delete'](_0x43194d);}return _0x293474[_0x149230(_0x5d8e2b._0xf7a328,_0x5d8e2b._0x1d86b1,_0x5d8e2b._0xd78f33,0x6d4)]();}catch{return _0x4fa6b6;}}function cseDateRestrict(_0x288875){const _0x5883c8={_0x5dc611:0x21e,_0x5d4465:0x3f4,_0x15d18e:0x3fe,_0xb84428:0x317,_0x2b5fdf:0x3ba,_0x3b1ca8:0x1af,_0xffd73a:0x21b,_0x5399df:0x2ee},_0xd74cb6={_0x168c6d:0x1d0,_0x48e176:0x159},_0x1bf631={_0x1361fa:0x1a6};if(_0x288875<=0x0)return void 0x0;if(_0x288875<=0x1e)return'd'+Math[_0x5b0eed(0x1af,_0x5883c8._0x5dc611,_0x5883c8._0x5d4465,0x4cb)](0x1,Math[_0x5b0eed(0x146,_0x5883c8._0x15d18e,_0x5883c8._0xb84428,0x407)](_0x288875));function _0x5b0eed(_0x2ff93c,_0x57032f,_0xc6cf3e,_0x220246){return _0x1957f6(_0x2ff93c-0x70,_0x57032f-0x77,_0x2ff93c,_0xc6cf3e-_0x1bf631._0x1361fa);}if(_0x288875<=0x16d)return'm'+Math[_0x4096bf(_0x5883c8._0x2b5fdf,0x136,_0x5883c8._0x3b1ca8,_0x5883c8._0xffd73a)](_0x288875/0x1e);function _0x4096bf(_0x8d7cf,_0x3b2515,_0x284c06,_0x19095c){return _0x1957f6(_0x8d7cf-0x111,_0x3b2515-_0xd74cb6._0x168c6d,_0x8d7cf,_0x19095c- -_0xd74cb6._0x48e176);}return'y'+Math[_0x4096bf(0x25e,_0x5883c8._0x5399df,0x3cb,_0x5883c8._0xffd73a)](_0x288875/0x16d);}function addSiteFilters(_0x3d83eb,_0x400390){const _0x3026d1={_0x236df7:0x712,_0x5a314f:0x251,_0x18c166:0x363,_0x598fbc:0x487,_0x2d239e:0x37d,_0xea218e:0x0,_0x4dbaf3:0x27a},_0x180161={_0xc1062:0x19c},_0x2bb0e0={_0x6eb9d8:0x123,_0x3d5c91:0x3ff};function _0x397eea(_0x314bbc,_0x41eebc,_0x4969d6,_0x16d25a){return _0x39a391(_0x314bbc-0x4b,_0x41eebc-_0x2bb0e0._0x6eb9d8,_0x4969d6- -_0x2bb0e0._0x3d5c91,_0x41eebc);}function _0x57113d(_0x798f8a,_0x5248ed,_0x1a0f8e,_0x20bd80){return _0x1957f6(_0x798f8a-0xab,_0x5248ed-_0x180161._0xc1062,_0x1a0f8e,_0x5248ed- -0xfa);}if(_0x400390[_0x397eea(0x38e,_0x3026d1._0x236df7,0x505,0x401)]===0x0)return _0x3d83eb[_0x397eea(0x2d4,0x82,0x1b2,0x3c9)]();return(_0x3d83eb+'\x20('+_0x400390[_0x397eea(0x6c,_0x3026d1._0x5a314f,0x221,0x2d5)](_0x2e44a8=>_0x57113d(0x151,0x102,0x172,-0xd)+_0x2e44a8)['join'](_0x57113d(0x513,_0x3026d1._0x18c166,_0x3026d1._0x598fbc,0x418))+')')[_0x397eea(_0x3026d1._0x2d239e,_0x3026d1._0xea218e,0x1b2,_0x3026d1._0x4dbaf3)]();}function normalizeType(_0x1d6a57){const _0x3441af={_0x4a5ca7:0x5ad,_0x581321:0x637,_0x54e6c2:0x5ed,_0x39e819:0x52,_0x5da402:0x40f,_0x52b9f9:0x13a,_0xc2f333:0x204},_0x3eecef={_0x50180d:0x71,_0x4002ab:0x18c};function _0x237852(_0x4cd577,_0x2e364d,_0x1319ee,_0x2be51d){return _0x39a391(_0x4cd577-0x96,_0x2e364d-0x17f,_0x2e364d- -0x27,_0x4cd577);}function _0x538755(_0x47a149,_0x5a544c,_0x26c04c,_0xa53789){return _0x1957f6(_0x47a149-0x22,_0x5a544c-_0x3eecef._0x50180d,_0x26c04c,_0xa53789- -_0x3eecef._0x4002ab);}return _0x1d6a57===_0x237852(0x884,0x637,0x45f,0x6e4)?_0x237852(_0x3441af._0x4a5ca7,_0x3441af._0x581321,0x7a9,_0x3441af._0x54e6c2):_0x538755(_0x3441af._0x39e819,_0x3441af._0x5da402,_0x3441af._0x52b9f9,_0x3441af._0xc2f333);}async function fetchJson(_0x2fb81b,_0x32254d,_0x257ed6){const _0x30778b={_0x12e418:0x18b,_0x2c8a7c:0x13a,_0x1cfaed:0x5db,_0x286636:0x5c7,_0x1f3eaf:0x2a0,_0x18d0a9:0xc4,_0x2d3ae6:0x2e2,_0x3146ab:0x43f,_0x4ea031:0x6b3,_0x1597e6:0x62c,_0x1f37fa:0x108,_0x262abd:0x6c5,_0x2a384f:0x3d4,_0x22592e:0x3ff,_0x57d9bd:0x12a,_0x34602c:0x46b,_0x4b93ba:0x6b5,_0x16083d:0x59f,_0xe28575:0x2c3,_0x3a5547:0x137,_0x5d3d43:0x4e4,_0x141fa2:0x16c,_0x411da8:0x1a8,_0x115087:0x35c,_0x5cd71d:0x581,_0x380e12:0x482,_0x4a3610:0x735,_0x522552:0x369,_0x221b3e:0x264,_0x45ba92:0x2bf},_0x4f7936={_0x235bb0:0x8d,_0x50ba3c:0x123},_0x449c51={_0x53c6ce:0xba,_0x1ff576:0x1fd};function _0x2adeb1(_0x5e3077,_0x5772ff,_0x3d1827,_0x1ba0c3){return _0x1957f6(_0x5e3077-_0x449c51._0x53c6ce,_0x5772ff-0x139,_0x3d1827,_0x5e3077-_0x449c51._0x1ff576);}function _0x29f399(_0x356b64,_0x27e4e7,_0x53a794,_0x20afaa){return _0x1957f6(_0x356b64-_0x4f7936._0x235bb0,_0x27e4e7-_0x4f7936._0x50ba3c,_0x53a794,_0x27e4e7- -0x1ff);}const _0x5eca98=await fetch(_0x2fb81b,{'headers':{'User-Agent':USER_AGENT2,'Accept':'application/json',..._0x257ed6?.[_0x29f399(-_0x30778b._0x12e418,-_0x30778b._0x2c8a7c,0x6c,-0x1d6)]},'signal':_0x32254d,..._0x257ed6});if(!_0x5eca98['ok']){let _0x1024e3,_0xf3528a;try{_0x1024e3=await _0x5eca98[_0x2adeb1(_0x30778b._0x1cfaed,0x4a1,0x4aa,_0x30778b._0x286636)]();const _0x5936f7=JSON[_0x2adeb1(_0x30778b._0x1f3eaf,_0x30778b._0x18d0a9,_0x30778b._0x2d3ae6,0x5f)](_0x1024e3),_0x90a56=typeof _0x5936f7[_0x2adeb1(0x472,_0x30778b._0x3146ab,_0x30778b._0x4ea031,_0x30778b._0x1597e6)]===_0x29f399(-0x6,0x33,0x254,-0x21e)?_0x5936f7[_0x29f399(_0x30778b._0x1f37fa,0x76,-0x17e,0x19)]['error']:void 0x0;_0xf3528a=_0x5936f7[_0x2adeb1(0x46b,0x32f,_0x30778b._0x262abd,_0x30778b._0x2a384f)]?.[_0x29f399(_0x30778b._0x22592e,0x263,0x3cd,_0x30778b._0x57d9bd)]??_0x5936f7[_0x2adeb1(_0x30778b._0x34602c,_0x30778b._0x4b93ba,0x415,0x5cb)]?.[_0x2adeb1(0x4a5,_0x30778b._0x16083d,0x582,_0x30778b._0xe28575)]?.[0x0]?.[_0x29f399(_0x30778b._0x3a5547,0x263,0x3f,0xf5)]??_0x90a56;}catch{}const _0x3b33a3=_0xf3528a?_0x2adeb1(0x5a4,0x4f6,0x5d7,_0x30778b._0x5d3d43)+_0x5eca98['status']+':\x20'+_0xf3528a:_0x29f399(_0x30778b._0x141fa2,_0x30778b._0x411da8,0x1f4,_0x30778b._0x115087)+_0x5eca98['status']+'\x20'+_0x5eca98[_0x2adeb1(_0x30778b._0x5cd71d,_0x30778b._0x380e12,0x7c5,_0x30778b._0x4a3610)];throw new ToolExecutionError(_0x3b33a3,{'statusCode':_0x5eca98[_0x29f399(_0x30778b._0x522552,_0x30778b._0x221b3e,0x21b,_0x30778b._0x45ba92)],..._0x1024e3?{'body':_0x1024e3}:{}});}return await _0x5eca98['json']();}async function hydrateResults(_0x5eada2,_0x11d8f1,_0x586fb6,_0x53338e){const _0x37c484={_0x50546c:0x7ba,_0xaa9d33:0x94b,_0x1f80ec:0x54b,_0x4291d4:0x3f1,_0x537af6:0x68a,_0x44b98a:0x5ea},_0x1bcfec={_0x4fc553:0x191},_0x4b0ab3={_0x4ca146:0x1a5,_0x619348:0x126,_0x1eac92:0xd5},_0x5256a1={_0x3f8500:0x453,_0x3f6260:0xba,_0x1a3445:0x44c,_0x42ffe2:0x725,_0x168b6a:0x6fc,_0x2834a6:0x3bd,_0x27366d:0x240,_0x9c6415:0xe3,_0x4d5666:0x219,_0x44f591:0x938,_0x1ea1ca:0x54,_0x163131:0xcd,_0x492739:0x18f,_0x4ebf3f:0xe3,_0x563d13:0x234,_0x386954:0x1f0,_0x3bdb74:0x370,_0xc33114:0x155,_0x184488:0x3a0,_0x3f6a5e:0x158,_0x1d0dba:0x647,_0x374bcb:0xea,_0xcc444f:0xc8,_0x5ceb35:0x136,_0x1ea7bd:0x2a6,_0x23c0cb:0x49d,_0x28c3f2:0x68,_0x58d4db:0x2fa,_0x509324:0x20,_0x135164:0xea,_0x2e4025:0x640,_0x2165dc:0x803,_0x2c96df:0x45,_0x255b83:0xe4,_0x505691:0x272,_0x9c936a:0x564,_0x336daf:0xec,_0x213ad2:0x1d,_0x12299d:0x280,_0x5547e4:0xbd,_0x15e798:0x15f,_0x9e5903:0x34},_0x2a6b5d=await Promise[_0x34ca49(0xa0c,0x5a1,0x7d8,0x6db)](_0x5eada2[_0x490ab7(_0x37c484._0x50546c,_0x37c484._0xaa9d33,0x748,0x727)](0x0,0xa)[_0x34ca49(0x79f,0x6d8,_0x37c484._0x1f80ec,_0x37c484._0x4291d4)](async _0x421c86=>{function _0x125291(_0x5f4c31,_0x4fff38,_0x41b953,_0x25d99f){return _0x490ab7(_0x25d99f,_0x4fff38-0x126,_0x5f4c31- -0x49f,_0x25d99f-0x66);}function _0x537cc2(_0x3897e8,_0x4801c5,_0xe0c751,_0x4f6a5f){return _0x490ab7(_0xe0c751,_0x4801c5-0x11a,_0x3897e8- -0x45,_0x4f6a5f-0x4f);}try{const _0x108b73=await safeFetch(_0x421c86['url'],{'headers':{'User-Agent':USER_AGENT2,'Accept-Language':_0x11d8f1,'Accept':_0x125291(0x2df,_0x5256a1._0x3f8500,_0x5256a1._0x3f6260,_0x5256a1._0x1a3445)},'signal':_0x586fb6},{'lookup':_0x53338e});if(!_0x108b73['ok'])return _0x421c86;const _0x3e1772=await _0x108b73[_0x537cc2(_0x5256a1._0x42ffe2,0x976,0x621,_0x5256a1._0x168b6a)](),_0x383c33=load(_0x3e1772),_0x3683f8=_0x383c33(_0x537cc2(0x345,0x11b,_0x5256a1._0x2834a6,_0x5256a1._0x27366d))[_0x125291(_0x5256a1._0x9c6415,-0x2e,0x2ab,0x20a)]('content')||_0x383c33(_0x125291(-0xec,-0x1fc,-_0x5256a1._0x4d5666,-0x269))['first']()[_0x537cc2(0x725,0x72a,0x55d,_0x5256a1._0x44f591)]()[_0x125291(-0x67,_0x5256a1._0x1ea1ca,_0x5256a1._0x163131,0x18e)](),_0x29b084=_0x383c33(_0x537cc2(0x36f,0x1c6,_0x5256a1._0x492739,0x48f))[_0x125291(_0x5256a1._0x4ebf3f,_0x5256a1._0x563d13,_0x5256a1._0x386954,-0x4)](_0x537cc2(_0x5256a1._0x3bdb74,0x180,0x2b5,_0x5256a1._0xc33114))||_0x383c33(_0x125291(0x293,_0x5256a1._0x184488,_0x5256a1._0x3f6a5e,0x45c))[_0x537cc2(0x53d,0x418,0x2f1,_0x5256a1._0x1d0dba)](_0x125291(-_0x5256a1._0x374bcb,_0x5256a1._0xcc444f,-_0x5256a1._0x5ceb35,-0xe8))||_0x421c86[_0x125291(_0x5256a1._0x1ea7bd,0x2e1,_0x5256a1._0x23c0cb,0x211)],_0x157e5c=_0x383c33(_0x125291(0x14e,_0x5256a1._0x28c3f2,_0x5256a1._0x58d4db,0x12a))[_0x125291(0xe3,0x209,-_0x5256a1._0x509324,0x2de)](_0x125291(-_0x5256a1._0x135164,-0x33b,-0x2bf,0xc1))||_0x383c33(_0x537cc2(_0x5256a1._0x2e4025,_0x5256a1._0x2165dc,0x4c1,0x5bc))[_0x125291(_0x5256a1._0x9c6415,_0x5256a1._0x2c96df,0x256,-_0x5256a1._0x255b83)](_0x125291(0x317,_0x5256a1._0x505691,0x468,0x2fc))||_0x421c86[_0x537cc2(0x40b,0x37e,0x370,0x60d)],_0x17d712=_0x383c33('link[rel=\x27canonical\x27]')['attr'](_0x537cc2(0x6b0,_0x5256a1._0x9c936a,0x51b,0x660));return{..._0x421c86,'title':_0x3683f8||_0x421c86[_0x125291(-_0x5256a1._0x336daf,-0x150,_0x5256a1._0x213ad2,0x1d)],'snippet':_0x29b084,'url':_0x17d712?normalizeUrl(new URL(_0x17d712,_0x421c86[_0x125291(-0xbf,-_0x5256a1._0x12299d,_0x5256a1._0x5547e4,0x21)])['toString']()):_0x421c86[_0x125291(-0xbf,0x60,-_0x5256a1._0x15e798,-_0x5256a1._0x9e5903)],'publishedAt':_0x157e5c};}catch{return _0x421c86;}}));function _0x34ca49(_0x19446d,_0x2783c0,_0x4d8025,_0xd12ed4){return _0x39a391(_0x19446d-_0x4b0ab3._0x4ca146,_0x2783c0-_0x4b0ab3._0x619348,_0x4d8025- -_0x4b0ab3._0x1eac92,_0x19446d);}const _0x4077ec=new Map(_0x5eada2['slice'](0x0,0xa)['map']((_0x3d1912,_0xd427ba)=>[_0x3d1912[_0x490ab7(0x443,0x319,0x3e0,0x410)],_0x2a6b5d[_0xd427ba]]));function _0x490ab7(_0x2fb296,_0x5d781c,_0x4855df,_0x2cc3bd){return _0x1957f6(_0x2fb296-0xb3,_0x5d781c-_0x1bcfec._0x4fc553,_0x2fb296,_0x4855df-0x38c);}return _0x5eada2[_0x34ca49(_0x37c484._0x537af6,_0x37c484._0x44b98a,0x54b,0x45e)](_0xae1240=>_0x4077ec[_0x490ab7(0x570,0x42b,0x505,0x37d)](_0xae1240[_0x34ca49(0x677,0x414,0x484,0x66c)])??_0xae1240);}function formatResults(_0x45134a){const _0x1131b4={_0x272539:0x1d4,_0x1c88f3:0x49a,_0x411814:0x233,_0x5a4002:0x93,_0x472a14:0xcb,_0x3a69a7:0xba},_0x15bcb5={_0xfcd3d5:0x21d,_0x1b239f:0x1fc,_0x164f61:0x38b,_0x186080:0xc8,_0x495349:0x388,_0x1c7864:0x2da,_0xb6d5ef:0x27a,_0x4cc22e:0x6b1,_0x5d8129:0x5a7,_0xcef07f:0x675,_0x154386:0x34f,_0x5f5d19:0x660,_0x2ab6f:0x17e},_0x30c5ae={_0x4b3cb6:0x109,_0x412899:0x602},_0x433c5a={_0x8ede79:0x8,_0x45abef:0xc8};function _0x374d1c(_0x514494,_0x11ca3c,_0x2cc602,_0x28d7bc){return _0x39a391(_0x514494-0x1b,_0x11ca3c-0x1ae,_0x11ca3c- -0x555,_0x514494);}function _0x163ff0(_0x2fe93d,_0x1bead6,_0x1de801,_0x330b08){return _0x1957f6(_0x2fe93d-0x15f,_0x1bead6-0x32,_0x1de801,_0x1bead6- -0x218);}if(_0x45134a[_0x374d1c(_0x1131b4._0x272539,0x3af,0x317,0x523)]===0x0)return _0x374d1c(_0x1131b4._0x1c88f3,0x384,_0x1131b4._0x411814,0x544);return _0x45134a[_0x374d1c(-_0x1131b4._0x5a4002,_0x1131b4._0x472a14,-_0x1131b4._0x3a69a7,0x303)](_0x5a486e=>{const _0x2f364f=[_0x5a486e[_0x337c32(_0x15bcb5._0xfcd3d5,-_0x15bcb5._0x1b239f,0x18a,-0x9)]['rank']+'.\x20'+_0x5a486e[_0x39bce4(0x3b0,0x411,0x55b,_0x15bcb5._0x164f61)],_0x5a486e['url']];function _0x337c32(_0x7d5fb9,_0x4617cd,_0x518c88,_0x16b9f0){return _0x374d1c(_0x7d5fb9,_0x16b9f0- -0xef,_0x518c88-_0x433c5a._0x8ede79,_0x16b9f0-_0x433c5a._0x45abef);}function _0x39bce4(_0x3f088a,_0x216079,_0x119770,_0x48d217){return _0x163ff0(_0x3f088a-_0x30c5ae._0x4b3cb6,_0x216079-_0x30c5ae._0x412899,_0x3f088a,_0x48d217-0x103);}if(_0x5a486e[_0x337c32(0x234,0x3f,0x34a,0x27a)])_0x2f364f[_0x337c32(_0x15bcb5._0x186080,0x4aa,_0x15bcb5._0x495349,_0x15bcb5._0x1c7864)](_0x5a486e[_0x337c32(0xad,0x3ce,0x1ba,_0x15bcb5._0xb6d5ef)]);if(_0x5a486e[_0x39bce4(_0x15bcb5._0x4cc22e,0x4ae,0x6cc,0x4b3)])_0x2f364f['push'](_0x39bce4(_0x15bcb5._0x5d8129,0x58f,_0x15bcb5._0xcef07f,0x3d6)+_0x5a486e[_0x39bce4(_0x15bcb5._0x154386,0x4ae,0x4dd,_0x15bcb5._0x5f5d19)]);return _0x2f364f[_0x337c32(-0xd0,-0xd4,_0x15bcb5._0x2ab6f,-0x33)]('\x0a');})[_0x374d1c(0x227,0xbc,-0x89,0x216)]('\x0a\x0a');}async function searchOllama(_0x43320d,_0x49bbf6,_0x1546aa){const _0x42c720={_0x30c456:0x2d5,_0x549f59:0x37a,_0x4cb6c1:0x347,_0x24ddc3:0x250,_0x26e5e8:0x222,_0x17d64c:0x227,_0x5e9258:0xc0,_0x5129f2:0xc3,_0x59c0cd:0x15b,_0x43d341:0x22,_0x434736:0x96,_0x119482:0x1c6,_0x58f4c2:0x36b,_0x144648:0x1bf,_0x58d6ea:0x92,_0x206bb2:0x470,_0x45bb8b:0x31a,_0x3c9267:0x173,_0x206023:0x1e9,_0x3443e2:0x41f,_0x1a1138:0x34a,_0x4c7535:0x2da,_0x529a2b:0x13,_0x46ce4c:0xb0},_0x2dc829={_0x53641a:0x148,_0x30eaa6:0x2b7,_0x1524b9:0x477,_0x360c61:0x43,_0x118e6c:0x2a7,_0x345773:0x159,_0x3a9151:0x174},_0x37243d={_0x1daae6:0xf8},_0x2a904b={_0x4e0e80:0x51,_0x4b813c:0x13b},_0x5d2871={_0x1549fc:0x1b3};function _0x2103a0(_0x349ddf,_0x1cb50a,_0x112a9b,_0x3552c7){return _0x39a391(_0x349ddf-0x12c,_0x1cb50a-_0x5d2871._0x1549fc,_0x1cb50a- -0x4a2,_0x349ddf);}const _0x20520e=Math[_0x302b01(0x9,-0xe9,0x2e7,0x15d)](0x1,Math[_0x302b01(0x2aa,0x140,_0x42c720._0x30c456,0x165)](0xa,_0x49bbf6[_0x2103a0(_0x42c720._0x549f59,0x3a9,0x2bb,0x1b3)])),_0x457414=addSiteFilters(_0x49bbf6['query'],_0x49bbf6[_0x302b01(_0x42c720._0x4cb6c1,_0x42c720._0x24ddc3,0x271,_0x42c720._0x26e5e8)]);function _0x302b01(_0x1dea42,_0xa842d1,_0x17203d,_0x378ceb){return _0x1957f6(_0x1dea42-_0x2a904b._0x4e0e80,_0xa842d1-_0x2a904b._0x4b813c,_0x17203d,_0x378ceb- -0xf1);}const _0x3e33a2=await fetchJson(_0x302b01(_0x42c720._0x17d64c,-_0x42c720._0x5e9258,-_0x42c720._0x5129f2,0xc4),_0x1546aa,{'method':_0x2103a0(_0x42c720._0x59c0cd,_0x42c720._0x43d341,0x15e,_0x42c720._0x434736),'headers':{'Authorization':_0x302b01(0x17d,0xbd,_0x42c720._0x119482,0x84)+_0x43320d[_0x2103a0(0x414,_0x42c720._0x58f4c2,0x318,_0x42c720._0x144648)]},'body':JSON[_0x302b01(-0x2eb,-_0x42c720._0x58d6ea,-0x193,-_0x42c720._0x5e9258)]({'query':_0x457414,'max_results':_0x20520e})}),_0x245a19=_0x3e33a2[_0x2103a0(_0x42c720._0x206bb2,_0x42c720._0x45bb8b,0x17e,0xc2)]??[],_0x4df323=_0x245a19[_0x302b01(-0x1c7,_0x42c720._0x3c9267,-_0x42c720._0x206023,0x2a)]((_0x16d920,_0x65e063)=>{const _0x54b2d4={_0x366b7d:0x164},_0x3eda70=_0x16d920[_0x38c395(0x2ba,0x488,0x214,_0x2dc829._0x53641a)]||'';function _0x4cd291(_0x5a1051,_0x523f0a,_0xbbb89d,_0x560c53){return _0x302b01(_0x5a1051-0x1c9,_0x523f0a-_0x54b2d4._0x366b7d,_0x523f0a,_0xbbb89d-0x10b);}let _0x44553e;try{_0x44553e=new URL(_0x3eda70)[_0x4cd291(_0x2dc829._0x30eaa6,0x467,0x23e,_0x2dc829._0x1524b9)];}catch{_0x44553e=null;}function _0x38c395(_0x3ece96,_0x47fe00,_0xf2792a,_0x35d70c){return _0x302b01(_0x3ece96-_0x37243d._0x1daae6,_0x47fe00-0xce,_0x47fe00,_0x3ece96-0x357);}return{'title':_0x16d920['title']||'Untitled','url':normalizeUrl(_0x3eda70),'snippet':_0x16d920[_0x4cd291(0xae,-0x118,_0x2dc829._0x360c61,0x13c)]??null,'displayUrl':_0x44553e,'favicon':null,'publishedAt':null,'source':{'engine':_0x38c395(_0x2dc829._0x118e6c,_0x2dc829._0x345773,0x381,_0x2dc829._0x3a9151),'rank':_0x65e063+0x1}};});return{'items':_0x4df323[_0x2103a0(0x43e,_0x42c720._0x3443e2,_0x42c720._0x1a1138,_0x42c720._0x4c7535)](0x0,_0x20520e),'engine':_0x302b01(_0x42c720._0x529a2b,-0xf6,-0xc4,-_0x42c720._0x46ce4c)};}async function searchTavily(_0x31d160,_0x55ecf1,_0x5ee5ed){const _0x14b8e0={_0x315835:0x49d,_0x1e32be:0x589,_0x50c32f:0x6af,_0x27e6dd:0x644,_0x43fbbf:0x728,_0x5a4c8f:0x755,_0x55aea3:0x1b6,_0x42b4e5:0x536,_0x532266:0x5fa,_0x3774be:0x4c5,_0x3ef36a:0x475,_0x563164:0x6b1,_0x21810e:0x695,_0xb252d7:0xa02,_0x297783:0x7f5,_0x2593c2:0x816,_0x2a3437:0x722,_0x295a4d:0x2df,_0xc92bc7:0x20e,_0x4b55a3:0x100,_0x2d66c4:0x3a9,_0x114373:0x7de,_0x4e2764:0x354,_0x32ee94:0x898,_0x44ddb3:0x4b1,_0x110e14:0x6e8,_0x226a9c:0x7d6},_0x2a332c={_0x228836:0x46e,_0x272644:0x54d,_0x1c3a4c:0x303,_0x15d678:0x2df,_0x8c830e:0x276,_0x1cb82d:0x443,_0x14ace8:0x392},_0x925767={_0x2b301c:0x175,_0x39af26:0x2c},_0x7c802b={_0x167720:0xb7,_0x2d33d3:0x3ee};function _0x376864(_0x1d63de,_0x5606db,_0x310d16,_0x4a53ea){return _0x39a391(_0x1d63de-0xcf,_0x5606db-0x48,_0x310d16- -0x330,_0x5606db);}function _0x20f68f(_0x4908c1,_0x35a489,_0x245480,_0x5cea93){return _0x1957f6(_0x4908c1-_0x7c802b._0x167720,_0x35a489-0x2,_0x35a489,_0x245480-_0x7c802b._0x2d33d3);}const _0x44bd6b=Math[_0x20f68f(0x61c,0x75c,0x63c,_0x14b8e0._0x315835)](0x1,Math[_0x20f68f(_0x14b8e0._0x1e32be,_0x14b8e0._0x50c32f,_0x14b8e0._0x27e6dd,0x467)](0x14,_0x55ecf1[_0x20f68f(0x51b,0x542,0x734,_0x14b8e0._0x43fbbf)])),_0x43e6da={'query':_0x55ecf1[_0x20f68f(0x557,0x7bf,_0x14b8e0._0x5a4c8f,0x818)],'max_results':_0x44bd6b,'search_depth':_0x31d160[_0x20f68f(_0x14b8e0._0x55aea3,_0x14b8e0._0x42b4e5,0x3b0,_0x14b8e0._0x532266)]??_0x376864(0x713,0x78a,0x586,0x663),'topic':_0x31d160[_0x20f68f(_0x14b8e0._0x3774be,0x5c6,_0x14b8e0._0x3ef36a,_0x14b8e0._0x563164)]??'general'};if(_0x55ecf1[_0x20f68f(0x8b8,_0x14b8e0._0x21810e,0x701,0x872)][_0x20f68f(_0x14b8e0._0xb252d7,_0x14b8e0._0x297783,0x7ed,_0x14b8e0._0x2593c2)]>0x0)_0x43e6da[_0x376864(0x442,0x387,0x515,0x6e7)]=_0x55ecf1[_0x20f68f(_0x14b8e0._0x2a3437,0x8f4,0x701,0x748)];const _0x387353=await fetchJson(_0x376864(_0x14b8e0._0x295a4d,_0x14b8e0._0xc92bc7,0x349,_0x14b8e0._0x4b55a3),_0x5ee5ed,{'method':'POST','headers':{'Authorization':_0x20f68f(0x491,0x5dc,0x563,_0x14b8e0._0x2d66c4)+_0x31d160[_0x20f68f(_0x14b8e0._0x114373,0x672,0x594,0x4b2)],'Content-Type':'application/json'},'body':JSON[_0x20f68f(_0x14b8e0._0x4e2764,0x4e0,0x41f,0x57b)](_0x43e6da)}),_0xa3d9d8=_0x387353[_0x20f68f(_0x14b8e0._0x32ee94,0x6cf,0x6a5,0x8ab)]??[],_0x48a43a=_0xa3d9d8['map']((_0x35cf74,_0x4b4b85)=>{const _0x3b6a32={_0xf4e952:0x3a3,_0x521fd4:0x51};function _0x4b45a4(_0x84c060,_0x3c3342,_0x51ce45,_0x3c280c){return _0x20f68f(_0x84c060-_0x925767._0x2b301c,_0x51ce45,_0x3c3342-_0x925767._0x39af26,_0x3c280c-0x16d);}const _0x18e684=_0x35cf74[_0x4b45a4(0x3a7,_0x2a332c._0x228836,0x614,_0x2a332c._0x272644)]||'';function _0x4150b8(_0x599312,_0x382c0a,_0x394dff,_0x5182cd){return _0x20f68f(_0x599312-0xb,_0x599312,_0x394dff- -_0x3b6a32._0xf4e952,_0x5182cd-_0x3b6a32._0x521fd4);}let _0x4d44fc;try{_0x4d44fc=new URL(_0x18e684)[_0x4150b8(0x3c5,0x38a,0x26f,0x2df)];}catch{_0x4d44fc=null;}return{'title':_0x35cf74[_0x4b45a4(_0x2a332c._0x1c3a4c,0x441,0x51f,0x46d)]||_0x4150b8(0x2f6,0x216,_0x2a332c._0x15d678,_0x2a332c._0x8c830e),'url':normalizeUrl(_0x18e684),'snippet':_0x35cf74[_0x4b45a4(0x37d,_0x2a332c._0x1cb82d,0x4d5,_0x2a332c._0x14ace8)]??null,'displayUrl':_0x4d44fc,'favicon':null,'publishedAt':null,'source':{'engine':'tavily','rank':_0x4b4b85+0x1}};});return{'items':_0x48a43a[_0x376864(_0x14b8e0._0x44ddb3,_0x14b8e0._0x110e14,0x591,_0x14b8e0._0x226a9c)](0x0,_0x44bd6b),'engine':'tavily'};}async function searchGoogleCse(_0x187126,_0x328358,_0xb27b){const _0x59d6c5={_0x3513da:0x420,_0x4a71fa:0x3db,_0x1312fa:0x4a1,_0x109a58:0x393,_0xf4fbf9:0x3e5,_0x5b6270:0x267,_0xdc1d17:0x429,_0x3739d3:0x498,_0x2dadb4:0x6d2,_0x527289:0xae,_0x36d6c5:0x66e,_0x6ac522:0x429,_0x3a332f:0x214,_0x35cf66:0x204,_0x423d29:0x466,_0x1283c7:0x7b9,_0x57a989:0x502,_0x3ac393:0x414,_0x5cf53d:0x41b,_0x3b5e67:0x47b,_0x4afaac:0x4c9,_0x525b36:0x5ad,_0x486071:0x50b,_0x2c344c:0x309,_0x133719:0x182,_0x59f1d3:0x14f,_0x409457:0x1fb,_0x202df6:0x429,_0x2b5a03:0x63b,_0x589da0:0x49a,_0x4db773:0x762,_0x3d9df5:0x41b,_0x15c4bb:0x1f4,_0x299f69:0x207,_0x5e3043:0x75d,_0xb97419:0x310,_0x5cd091:0x362,_0x54c122:0x41b,_0x1081e7:0x1fa,_0x438529:0x55a,_0x4548c5:0x59f,_0x1d09ea:0x583,_0x369025:0x724,_0x497759:0x58d,_0x5389a1:0x245,_0x33a706:0xfb,_0x1dc6a0:0x2e8,_0x24e504:0x19c,_0x86a4d:0x29a,_0x1c16ad:0x354,_0x31a86f:0x586,_0x55a93f:0x777,_0x308a13:0x1e9,_0x4a56e3:0x524,_0xf6c324:0x21b,_0x41a1b0:0x621,_0x382d9c:0x409,_0x25a509:0x612,_0x904f73:0x1dd,_0x2f171f:0x3c0,_0x3a150a:0x566,_0x2f75ff:0x3e4,_0x3b6d45:0x3c1,_0x3d0eba:0x6db,_0x3c7feb:0x429,_0x13f296:0x540,_0x3fe407:0x59f,_0x516656:0x68c,_0x2119ea:0x4cd,_0x343575:0x566,_0x2b9fc6:0x1a2,_0x17d144:0x3bc,_0x4d7830:0x314,_0xe3ee36:0x1,_0x16b809:0x5d8,_0x406d2f:0x4e1,_0xdf694:0x77e,_0x3b67a0:0x39b,_0x5e28dc:0x511,_0x3f9f83:0x4ec,_0x42bb8d:0x4b7,_0x264ac1:0x2d1,_0x3a4167:0x4d9,_0x40fffa:0x4f4,_0x4e5422:0x2d4,_0x1b3106:0x576,_0xc34cab:0x43f,_0x4c8c1c:0x35e,_0x4b401a:0x3d0,_0x510a79:0x1f1,_0x1b5046:0x208,_0x12bf3d:0x228,_0x13a908:0x1ab,_0x145a74:0x87,_0x2823a1:0x364,_0x219fd1:0x3d1,_0x49124d:0xd,_0x4ccdc8:0x132,_0x3fa0b5:0x42,_0x1d23ba:0x53e,_0x2b8a14:0x376,_0x19dae4:0x505,_0x588f32:0x17a,_0x5efc53:0x37e,_0x1f662b:0x36b,_0x5cfecb:0x6e,_0x167a2e:0x563,_0x5098b9:0x13a,_0x3e31ac:0x27f,_0x6a895a:0x332,_0x108c2a:0x7bc,_0x27630f:0x584,_0x5d45df:0x535,_0x34225e:0x495,_0x1d1ed5:0x435,_0x10806b:0x63d,_0x50464d:0x41e},_0x3307fa={_0x1e04b9:0xe3,_0x513f44:0x143,_0x177797:0x38e},_0x5cc0b2={_0x3bc838:0x18d,_0x3e6f9a:0x380},_0x41c623=Math[_0x41d760(0x3c5,0x40c,0x235,0x225)](0x1,Math[_0x1eed97(_0x59d6c5._0x3513da,_0x59d6c5._0x4a71fa,_0x59d6c5._0x1312fa,0x592)](0x32,_0x328358[_0x41d760(0x4bd,0x586,0x364,0x532)]));function _0x1eed97(_0x46c3fe,_0x5250f1,_0x329335,_0x33dbc6){return _0x39a391(_0x46c3fe-0x1c1,_0x5250f1-_0x5cc0b2._0x3bc838,_0x5250f1- -_0x5cc0b2._0x3e6f9a,_0x33dbc6);}if(_0x328358['offset']+_0x41c623>0x64)throw new ToolExecutionError(_0x41d760(_0x59d6c5._0x109a58,0x20f,0x59f,0x2b6),{'offset':_0x328358['offset'],'count':_0x41c623,'maxResults':0x64});const _0x1a91ca=cseDateRestrict(_0x328358[_0x1eed97(0x5b7,_0x59d6c5._0xf4fbf9,_0x59d6c5._0x5b6270,_0x59d6c5._0xdc1d17)]),_0x4f6532=addSiteFilters(_0x328358['query'],_0x328358[_0x1eed97(0x541,_0x59d6c5._0x3739d3,0x302,_0x59d6c5._0x2dadb4)]);let _0x1eaf15=0x0,_0x1867f1=_0x328358['offset']+0x1;const _0x1c04cc=[];function _0x41d760(_0x2f892e,_0x48dfaa,_0x395af9,_0x3bfee5){return _0x39a391(_0x2f892e-_0x3307fa._0x1e04b9,_0x48dfaa-_0x3307fa._0x513f44,_0x2f892e- -_0x3307fa._0x177797,_0x48dfaa);}while(_0x1eaf15<_0x41c623){const _0x180b3a=Math['min'](0xa,_0x41c623-_0x1eaf15),_0x577a62=new URL(_0x1eed97(0x33b,0x2b6,_0x59d6c5._0x527289,0x4b4));_0x577a62[_0x1eed97(_0x59d6c5._0x36d6c5,_0x59d6c5._0x6ac522,_0x59d6c5._0x3a332f,_0x59d6c5._0x35cf66)][_0x41d760(0x59f,_0x59d6c5._0x423d29,_0x59d6c5._0x1283c7,0x5d6)]('key',_0x187126[_0x41d760(0x562,_0x59d6c5._0x57a989,0x6e3,_0x59d6c5._0x3ac393)]),_0x577a62[_0x41d760(_0x59d6c5._0x5cf53d,0x421,_0x59d6c5._0x3b5e67,0x26e)][_0x1eed97(_0x59d6c5._0x4afaac,_0x59d6c5._0x525b36,_0x59d6c5._0x486071,0x6b6)]('cx',_0x187126[_0x41d760(_0x59d6c5._0x2c344c,_0x59d6c5._0x133719,_0x59d6c5._0x59f1d3,_0x59d6c5._0x409457)]),_0x577a62[_0x1eed97(0x4d5,_0x59d6c5._0x202df6,0x427,_0x59d6c5._0x2b5a03)][_0x41d760(0x59f,0x7b2,_0x59d6c5._0x589da0,_0x59d6c5._0x4db773)]('q',_0x4f6532),_0x577a62[_0x41d760(_0x59d6c5._0x3d9df5,_0x59d6c5._0x15c4bb,0x267,_0x59d6c5._0x299f69)][_0x1eed97(0x40e,0x5ad,_0x59d6c5._0x5e3043,0x6d7)](_0x41d760(0x27b,0x365,_0x59d6c5._0xb97419,_0x59d6c5._0x5cd091),String(_0x180b3a)),_0x577a62[_0x41d760(_0x59d6c5._0x54c122,_0x59d6c5._0x1081e7,0x30f,_0x59d6c5._0x438529)][_0x41d760(_0x59d6c5._0x4548c5,_0x59d6c5._0x1d09ea,_0x59d6c5._0x369025,_0x59d6c5._0x497759)](_0x41d760(0x2fb,_0x59d6c5._0x5389a1,_0x59d6c5._0x33a706,0x2f9),String(_0x1867f1)),_0x577a62['searchParams'][_0x1eed97(0x561,_0x59d6c5._0x525b36,0x377,0x433)](_0x1eed97(0x321,_0x59d6c5._0x1dc6a0,0x417,_0x59d6c5._0x24e504),_0x328358[_0x1eed97(_0x59d6c5._0x86a4d,0x2e8,_0x59d6c5._0x1c16ad,0x53b)]?_0x41d760(0x5bb,_0x59d6c5._0x31a86f,_0x59d6c5._0x55a93f,0x5e5):_0x41d760(0x30a,_0x59d6c5._0x308a13,0x366,_0x59d6c5._0x589da0));_0x328358[_0x1eed97(0x367,0x444,_0x59d6c5._0x4a56e3,_0x59d6c5._0xf6c324)]&&(_0x577a62[_0x41d760(0x41b,_0x59d6c5._0x41a1b0,0x33f,_0x59d6c5._0x382d9c)][_0x1eed97(0x565,0x5ad,0x7d1,0x788)]('hl',_0x328358[_0x41d760(0x436,0x3df,0x48d,0x4ce)]),_0x577a62[_0x41d760(0x41b,_0x59d6c5._0x25a509,0x510,_0x59d6c5._0x904f73)][_0x41d760(0x59f,0x7e5,0x43e,0x45c)]('lr',_0x41d760(0x4cf,0x72c,0x2d1,0x706)+_0x328358[_0x41d760(0x436,0x2ed,_0x59d6c5._0x2f171f,0x1fb)]));if(_0x328358[_0x41d760(_0x59d6c5._0x3a150a,_0x59d6c5._0x2f75ff,_0x59d6c5._0x3b6d45,_0x59d6c5._0x3d0eba)])_0x577a62[_0x1eed97(0x63a,_0x59d6c5._0x3c7feb,0x20e,_0x59d6c5._0x13f296)][_0x41d760(_0x59d6c5._0x3fe407,_0x59d6c5._0x516656,0x6ca,_0x59d6c5._0x2119ea)]('gl',_0x328358[_0x41d760(_0x59d6c5._0x343575,0x6a1,0x4c2,0x3ba)]['toUpperCase']());if(_0x328358['type']==='images')_0x577a62['searchParams']['set'](_0x41d760(_0x59d6c5._0x2b9fc6,-0x1d,0x1ab,_0x59d6c5._0x17d144),_0x41d760(0x19d,_0x59d6c5._0x4d7830,-_0x59d6c5._0xe3ee36,-0x88));if(_0x1a91ca)_0x577a62[_0x1eed97(0x4d5,0x429,_0x59d6c5._0x16b809,0x482)][_0x41d760(0x59f,_0x59d6c5._0x406d2f,_0x59d6c5._0xdf694,_0x59d6c5._0x3b67a0)](_0x41d760(_0x59d6c5._0x5e28dc,_0x59d6c5._0x3f9f83,_0x59d6c5._0x42bb8d,_0x59d6c5._0x264ac1),_0x1a91ca);const _0x4fa24e=await fetchJson(_0x577a62[_0x41d760(_0x59d6c5._0x3a4167,_0x59d6c5._0x40fffa,0x565,0x5b5)](),_0xb27b),_0x5a5869=_0x4fa24e[_0x1eed97(0x726,0x4d3,_0x59d6c5._0x4e5422,0x6a1)]??[];if(_0x5a5869[_0x41d760(_0x59d6c5._0x1b3106,_0x59d6c5._0xc34cab,0x367,_0x59d6c5._0x4c8c1c)]===0x0)break;const _0x32db7b=_0x1eaf15;for(let _0x41e8a5=0x0;_0x41e8a5<_0x5a5869[_0x41d760(_0x59d6c5._0x1b3106,0x47a,0x3ea,_0x59d6c5._0x4b401a)];_0x41e8a5++){const _0xcc3992=_0x5a5869[_0x41e8a5];if(!_0xcc3992)continue;const _0x4a6082=_0xcc3992[_0x41d760(_0x59d6c5._0x510a79,0x179,0x3af,_0x59d6c5._0x1b5046)]||_0xcc3992[_0x1eed97(_0x59d6c5._0x12bf3d,_0x59d6c5._0x13a908,0x5e,-_0x59d6c5._0x145a74)]?.[_0x1eed97(0x342,_0x59d6c5._0x2823a1,0x528,_0x59d6c5._0x219fd1)]||'',_0x43b00a=_0xcc3992[_0x1eed97(-_0x59d6c5._0x49124d,0x1ac,0x199,_0x59d6c5._0x4ccdc8)]||_0xcc3992['image']?.[_0x41d760(0x19e,-_0x59d6c5._0x3fa0b5,0xb3,0x24e)]||'Untitled',_0x13da17=_0xcc3992['snippet']||_0xcc3992[_0x1eed97(_0x59d6c5._0x1d23ba,0x53f,0x50c,0x300)]?.['replace'](/<[^>]+>/g,''),_0x55fbc4=_0xcc3992[_0x1eed97(0x351,_0x59d6c5._0x2b8a14,0x2b1,_0x59d6c5._0x19dae4)]?.[_0x41d760(_0x59d6c5._0x588f32,_0x59d6c5._0x5efc53,_0x59d6c5._0x1f662b,-_0x59d6c5._0x5cfecb)]?.[0x0]??{};let _0x5b3764;try{_0x5b3764=new URL(_0x4a6082)['host'];}catch{_0x5b3764=null;}_0x1c04cc[_0x41d760(0x590,0x7d7,0x4b0,0x670)]({'title':_0x43b00a,'url':normalizeUrl(_0x4a6082),'snippet':_0x13da17??null,'displayUrl':_0x5b3764,'favicon':null,'publishedAt':_0x55fbc4[_0x1eed97(0x3f8,0x370,0x18a,_0x59d6c5._0x167a2e)]||_0x55fbc4['og:updated_time']||null,'source':{'engine':_0x1eed97(0x50,_0x59d6c5._0x5098b9,_0x59d6c5._0x3e31ac,_0x59d6c5._0x6a895a),'rank':_0x32db7b+_0x41e8a5+0x1}});}_0x1eaf15+=_0x5a5869[_0x1eed97(_0x59d6c5._0x108c2a,_0x59d6c5._0x27630f,_0x59d6c5._0x5d45df,0x697)],_0x1867f1+=_0x5a5869[_0x41d760(0x576,0x65f,_0x59d6c5._0x34225e,_0x59d6c5._0x1d1ed5)];if(_0x5a5869[_0x1eed97(_0x59d6c5._0x10806b,_0x59d6c5._0x27630f,_0x59d6c5._0x50464d,0x45c)]<_0x180b3a)break;}return _0x1c04cc['slice'](0x0,_0x41c623);}function isGoogleCseEngine(_0x3639ae){const _0x5b2e82={_0x111e32:0x68b,_0xec2b28:0x4d1};function _0x406d95(_0xb6191f,_0x22ade8,_0x4b753f,_0x3bbb54){return _0x1957f6(_0xb6191f-0x12c,_0x22ade8-0x125,_0x3bbb54,_0x4b753f-0x2a0);}return _0x406d95(0x717,0x8a4,_0x5b2e82._0x111e32,_0x5b2e82._0xec2b28)in _0x3639ae;}function isOllamaEngine(_0x1fcb80){const _0x3d178f={_0x47bec8:0x54c},_0x349510={_0x5de97c:0x186,_0x1f5ff8:0x3f};function _0x23c5c2(_0x350d4c,_0x448f52,_0x19148e,_0x4061b8){return _0x1957f6(_0x350d4c-_0x349510._0x5de97c,_0x448f52-_0x349510._0x1f5ff8,_0x4061b8,_0x448f52-0x1c6);}return _0x23c5c2(0x36a,0x4ce,_0x3d178f._0x47bec8,0x37f)in _0x1fcb80;}function isTavilyEngine(_0x13a1d0){return'tavilyApiKey'in _0x13a1d0;}function createWebSearchTool(_0x21855c){const _0x33304e={_0xa041f8:0x47d,_0x21f66f:0x854,_0x485d72:0x50a,_0x4e4ec8:0x416,_0x34ce1a:0x388,_0x4b972f:0x2f5,_0x58720f:0x3ed,_0x24bafb:0x651,_0x2fce46:0x5aa,_0x714e6:0x3b7,_0x566593:0x22c,_0x57a9e2:0x292,_0x4266b2:0x4a6,_0x24ed54:0x6e9,_0x268495:0x454,_0x369f0b:0x5aa,_0x149e6f:0x672,_0xf54b3b:0x431,_0x268258:0x466,_0x3e14f9:0x3a4,_0x556b66:0x241,_0x701ac3:0x493,_0xc616bb:0x4af,_0x1f57ab:0x4e1,_0x232a00:0x5c1,_0x3633d7:0x49f,_0x220778:0x924,_0x4ddddf:0x640,_0x13872f:0x474,_0x4d7dc0:0x34c,_0xa08619:0x6ee,_0x10c6f8:0x5b0},_0x2186ae={_0x4d076f:0x2cb,_0x36ad41:0x2a6,_0x4872a3:0x365,_0x2be9ef:0x555,_0x1b61ae:0x593,_0x43016e:0x8ac,_0x5ba80f:0x8ec,_0x25433a:0x7c5,_0x1b2b49:0x6e4,_0xefa482:0x6af,_0x4ff3fc:0x46d,_0x3ee19e:0x474,_0x41d278:0x7b8,_0x408632:0x810,_0x448a42:0x5ac,_0x56cbfa:0x439,_0x36ac34:0x532,_0x8a13e0:0x520,_0x907270:0x58d,_0x402b95:0x5aa,_0x1001ee:0x7bd,_0x3fa5d0:0x976,_0x5b392a:0x73d,_0x19b5c6:0x94b,_0x5e3498:0x82e,_0x211714:0x645,_0x327e88:0x73e,_0x47459c:0x3ef,_0x371547:0x1ea,_0x4d58c9:0x599,_0x452d5c:0xba4,_0x1a01e2:0x9ac,_0xcc9af0:0x1d4,_0xce4aeb:0x2e6,_0x1adcdb:0x22d,_0x5065c:0x2fd,_0xf30b73:0x700,_0x1a6450:0x466,_0x546a38:0xa20,_0x182fff:0x6ac,_0x90d13c:0x9c2,_0x5b7ff2:0x6cf,_0x1e6f6c:0x984,_0x1aab97:0x76c,_0x4ed138:0x770,_0x57f3b2:0xa0e,_0x22de99:0x96e,_0x4a5e85:0x34a,_0x1c62ea:0x2e5,_0x5e4a77:0x622,_0x18fbac:0x61b,_0xfbd9e5:0x692,_0x4fd6b4:0x712,_0x436869:0x82e,_0x23810c:0xb7b,_0x53a182:0x652,_0x360446:0x4e5,_0x1b2c0a:0x9cf,_0x1b9eb3:0x8f1,_0x1c5811:0xad6,_0x9d192c:0x882,_0x1b0cba:0x6d2,_0x4fc9e7:0x3ab,_0x51c27f:0x72e,_0x5ae3bb:0x47f,_0x3232b1:0x8c3,_0x48e1ff:0x65f,_0xf74efc:0x7cf,_0x9fa7d7:0x6c5,_0x3eb9b1:0x4de,_0x5c461c:0x440,_0x32ba48:0x53a,_0xeb9934:0x6a6,_0xb2db03:0xa12,_0x597114:0x60e,_0x6b7b4:0x44c,_0xff783b:0x651,_0x574a3a:0x61e,_0x183c46:0x745,_0x3c1e44:0x45c,_0x1d27a8:0x8d6,_0x3a40f3:0x43e,_0x23713d:0x7f5,_0x588661:0x767,_0x265388:0x8f9,_0x3b722b:0x910,_0x34b5ee:0x636,_0xf8528c:0x6ba,_0x39eb3c:0x7b3,_0x238a68:0x789,_0x2aa9ab:0x7d3},_0x190fda={_0x280926:0x507,_0x388e1b:0x411,_0x5cdb7d:0x17,_0x5a0849:0x13c,_0xb10c83:0x4a5},_0x261d8e={_0x4393e4:0x2f},_0x3ef972={_0x50b3d4:0xc8,_0x2733a1:0xed},_0x445d3e={_0x3baae7:0x169};function _0x50d335(_0x5dcaf2,_0x1b1f08,_0x590113,_0xee328a){return _0x39a391(_0x5dcaf2-_0x445d3e._0x3baae7,_0x1b1f08-0x65,_0x5dcaf2- -0x256,_0x590113);}function _0x5bdbb0(_0x13353e,_0x53fb92,_0x45bdd0,_0x2f47a1){return _0x39a391(_0x13353e-_0x3ef972._0x50b3d4,_0x53fb92-_0x3ef972._0x2733a1,_0x13353e- -0x291,_0x45bdd0);}if(!_0x21855c[_0x5bdbb0(0x61f,_0x33304e._0xa041f8,0x3d4,0x64b)]||_0x21855c[_0x5bdbb0(0x61f,_0x33304e._0x21f66f,0x4fe,0x624)]['length']===0x0)throw new Error(_0x50d335(_0x33304e._0x485d72,_0x33304e._0x4e4ec8,0x562,_0x33304e._0x34ce1a));const _0x51d306=_0x21855c['name']??_0x5bdbb0(_0x33304e._0x4b972f,0x249,_0x33304e._0x58720f,0xa7),_0x554a84=_0x21855c[_0x5bdbb0(_0x33304e._0x24bafb,0x73e,_0x33304e._0x2fce46,0x79a)];return defineTool({'name':_0x51d306,'permissionClass':'read','description':_0x5bdbb0(_0x33304e._0x714e6,_0x33304e._0x566593,0x55d,_0x33304e._0x57a9e2),'inputSchema':{'type':_0x5bdbb0(_0x33304e._0x4266b2,0x2a4,0x527,_0x33304e._0x24ed54),'properties':{'description':{'type':'string'},'query':{'type':_0x5bdbb0(0x474,0x497,0x2a6,0x222)},'count':{'type':_0x50d335(_0x33304e._0x2fce46,0x690,_0x33304e._0x268495,0x6c7)},'offset':{'type':_0x50d335(_0x33304e._0x369f0b,_0x33304e._0x149e6f,_0x33304e._0xf54b3b,_0x33304e._0x485d72)},'domains':{'type':_0x5bdbb0(0x315,0x31a,_0x33304e._0x268258,_0x33304e._0x3e14f9),'items':{'type':_0x5bdbb0(0x474,_0x33304e._0x556b66,_0x33304e._0x701ac3,0x4e7)}},'recencyDays':{'type':'number'},'lang':{'type':'string'},'region':{'type':_0x50d335(_0x33304e._0xc616bb,_0x33304e._0x1f57ab,0x2e0,_0x33304e._0x232a00)},'safe':{'type':_0x50d335(0x6ee,_0x33304e._0x3633d7,_0x33304e._0x220778,_0x33304e._0x4ddddf)},'type':{'type':_0x5bdbb0(_0x33304e._0x13872f,0x542,0x476,_0x33304e._0x4d7dc0)},'hydrateMeta':{'type':_0x50d335(_0x33304e._0xa08619,0x873,0x7c8,_0x33304e._0x10c6f8)}},'required':['query']},async *'execute'(_0x4900c6,_0x5f5c34){const _0x4c57ad={_0x43249a:0x63},_0x2a765d={_0x360816:0x19f,_0x122eb9:0x388},_0x6abcc={_0x4e8d60:0x2fb,_0x322ca5:0x1ec,_0x9619e6:0x56},_0x30f9cb=_0x4900c6['query'][_0x3ab5fe(_0x2186ae._0x4d076f,0xd4,_0x2186ae._0x36ad41,0x439)]();if(!_0x30f9cb)throw new ToolExecutionError(_0x3ab5fe(0x499,_0x2186ae._0x4872a3,0x6a3,_0x2186ae._0x2be9ef));const _0x3fd737={'query':_0x30f9cb,'count':Math['max'](0x1,Math[_0x4fe41f(_0x2186ae._0x1b61ae,_0x2186ae._0x43016e,_0x2186ae._0x5ba80f,_0x2186ae._0x25433a)](0x32,Math['trunc'](_0x4900c6[_0x4fe41f(0x8cf,_0x2186ae._0x1b2b49,_0x2186ae._0xefa482,0x8b5)]??0xa))),'offset':Math[_0x3ab5fe(_0x2186ae._0x4ff3fc,0x644,_0x2186ae._0x3ee19e,0x38f)](0x0,Math[_0x3ab5fe(0x5fb,_0x2186ae._0x41d278,_0x2186ae._0x408632,0x4ac)](_0x4900c6[_0x3ab5fe(0x5c0,0x6a5,_0x2186ae._0x448a42,_0x2186ae._0x56cbfa)]??0x0)),'domains':_0x4900c6[_0x3ab5fe(_0x2186ae._0x36ac34,0x525,0x525,_0x2186ae._0x8a13e0)]??[],'recencyDays':Math[_0x4fe41f(0x7d7,_0x2186ae._0x907270,_0x2186ae._0x402b95,_0x2186ae._0x1001ee)](0x0,Math[_0x4fe41f(_0x2186ae._0x3fa5d0,0x7af,_0x2186ae._0x5b392a,_0x2186ae._0x19b5c6)](_0x4900c6[_0x3ab5fe(0x47f,0x4ee,0x59a,0x56a)]??0x0)),'lang':_0x4900c6[_0x4fe41f(0x961,0x86d,0x9cd,_0x2186ae._0x5e3498)]??'en','region':_0x4900c6['region']??'','safe':_0x4900c6['safe']??!![],'type':normalizeType(_0x4900c6[_0x4fe41f(0x70a,_0x2186ae._0x211714,0x4e9,_0x2186ae._0x327e88)]),'hydrateMeta':_0x4900c6[_0x3ab5fe(_0x2186ae._0x47459c,_0x2186ae._0x371547,_0x2186ae._0x4d58c9,0x43b)]??![]};let _0x4b5e12=[],_0x24c863=_0x4fe41f(0x74f,_0x2186ae._0x452d5c,0x836,_0x2186ae._0x1a01e2);for(const _0x10e2cb of _0x21855c[_0x4fe41f(0x927,0x9d1,0x737,0x91a)]){try{if(isGoogleCseEngine(_0x10e2cb))_0x4b5e12=await searchGoogleCse(_0x10e2cb,_0x3fd737,_0x5f5c34['signal']),_0x24c863=_0x3ab5fe(_0x2186ae._0xcc9af0,_0x2186ae._0xce4aeb,_0x2186ae._0x1adcdb,_0x2186ae._0x5065c);else{if(isOllamaEngine(_0x10e2cb)){const _0xf1cba2=await searchOllama(_0x10e2cb,_0x3fd737,_0x5f5c34[_0x3ab5fe(0x5d7,0x430,_0x2186ae._0xf30b73,_0x2186ae._0x1a6450)]);_0x4b5e12=_0xf1cba2[_0x4fe41f(_0x2186ae._0x546a38,_0x2186ae._0x182fff,0x7d1,0x8bd)],_0x24c863=_0xf1cba2[_0x4fe41f(_0x2186ae._0x90d13c,_0x2186ae._0x5b7ff2,_0x2186ae._0x1e6f6c,_0x2186ae._0x1aab97)];}else{if(isTavilyEngine(_0x10e2cb)){const _0x1789e0=await searchTavily(_0x10e2cb,_0x3fd737,_0x5f5c34['signal']);_0x4b5e12=_0x1789e0[_0x3ab5fe(0x56d,0x735,0x63c,_0x2186ae._0x4ed138)],_0x24c863=_0x1789e0['engine'];}}}if(_0x4b5e12[_0x4fe41f(0x9d4,_0x2186ae._0x57f3b2,0x71c,_0x2186ae._0x22de99)]>0x0)break;}catch(_0x58a811){if(_0x10e2cb===_0x21855c['engines'][_0x21855c['engines']['length']-0x1])throw _0x58a811;}}_0x3fd737[_0x3ab5fe(0x3ef,0x36a,_0x2186ae._0x4a5e85,_0x2186ae._0x1c62ea)]&&_0x4b5e12[_0x3ab5fe(0x61e,_0x2186ae._0x5e4a77,0x681,_0x2186ae._0x18fbac)]>0x0&&(_0x4b5e12=await hydrateResults(_0x4b5e12,_0x3fd737[_0x4fe41f(_0x2186ae._0xfbd9e5,_0x2186ae._0x4fd6b4,0xa38,_0x2186ae._0x436869)],_0x5f5c34[_0x4fe41f(_0x2186ae._0x23810c,0x8ce,0x82d,0x927)],_0x554a84));const _0x2bc479=new Set();function _0x3ab5fe(_0x49a535,_0x388a13,_0x5ad24b,_0x3d6057){return _0x5bdbb0(_0x49a535- -0x55,_0x388a13-_0x261d8e._0x4393e4,_0x5ad24b,_0x3d6057-0x18f);}function _0x4fe41f(_0x4c276a,_0x2a615e,_0x1de1ab,_0x536e1e){return _0x5bdbb0(_0x536e1e-_0x6abcc._0x4e8d60,_0x2a615e-_0x6abcc._0x322ca5,_0x4c276a,_0x536e1e-_0x6abcc._0x9619e6);}_0x4b5e12=_0x4b5e12[_0x3ab5fe(0x502,_0x2186ae._0x182fff,_0x2186ae._0x53a182,_0x2186ae._0x360446)](_0x42a8c0=>{const _0x7c139a=_0x42a8c0['url'][_0x2416ef(_0x190fda._0x280926,0x575,0x5d0,_0x190fda._0x388e1b)]();if(!_0x7c139a||_0x2bc479[_0x1b6c3f(0x27c,_0x190fda._0x5cdb7d,_0x190fda._0x5a0849,-0x4e)](_0x7c139a))return![];function _0x2416ef(_0x58126f,_0x265886,_0x563daf,_0x2dda12){return _0x4fe41f(_0x2dda12,_0x265886-_0x2a765d._0x360816,_0x563daf-0x142,_0x563daf- -_0x2a765d._0x122eb9);}_0x2bc479[_0x1b6c3f(0x54a,0x3cd,_0x190fda._0xb10c83,0x6c6)](_0x7c139a);function _0x1b6c3f(_0x45f393,_0x16941a,_0x2dc4c8,_0x2b24c9){return _0x4fe41f(_0x45f393,_0x16941a-_0x4c57ad._0x43249a,_0x2dc4c8-0x158,_0x2dc4c8- -0x3eb);}return!![];}),_0x4b5e12=_0x4b5e12[_0x4fe41f(0x767,0x6be,0x4a3,0x68a)]((_0x571dbc,_0x41c273)=>({..._0x571dbc,'source':{..._0x571dbc['source'],'rank':_0x41c273+0x1}}));const _0x2e0bf8={};if(_0x3fd737[_0x4fe41f(0x95c,0x970,0x6b6,0x882)]['length']>0x0)_0x2e0bf8[_0x4fe41f(_0x2186ae._0x1b2c0a,_0x2186ae._0x1b9eb3,_0x2186ae._0x1c5811,_0x2186ae._0x9d192c)]=_0x3fd737[_0x3ab5fe(_0x2186ae._0x36ac34,_0x2186ae._0x1b0cba,_0x2186ae._0x4fc9e7,_0x2186ae._0x51c27f)];if(_0x3fd737[_0x3ab5fe(_0x2186ae._0x5ae3bb,0x2c1,0x5b3,0x2eb)]>0x0)_0x2e0bf8[_0x4fe41f(_0x2186ae._0x3232b1,_0x2186ae._0x48e1ff,0x722,_0x2186ae._0xf74efc)]=_0x3fd737[_0x4fe41f(_0x2186ae._0x9fa7d7,0x9c9,0x89a,0x7cf)];if(_0x3fd737[_0x3ab5fe(_0x2186ae._0x3eb9b1,_0x2186ae._0x5c461c,0x430,_0x2186ae._0x32ba48)]!=='en')_0x2e0bf8['lang']=_0x3fd737[_0x4fe41f(_0x2186ae._0xeb9934,_0x2186ae._0xb2db03,0x790,0x82e)];if(_0x3fd737[_0x3ab5fe(_0x2186ae._0x597114,0x557,_0x2186ae._0x6b7b4,_0x2186ae._0xff783b)])_0x2e0bf8['region']=_0x3fd737['region'];return yield createToolOutput(formatResults(_0x4b5e12),{'engine':_0x24c863,'count':_0x4b5e12[_0x3ab5fe(_0x2186ae._0x574a3a,0x596,_0x2186ae._0x183c46,_0x2186ae._0x3c1e44)],'items':_0x4b5e12,'query':_0x3fd737[_0x4fe41f(0x907,0xb2b,0x9e5,_0x2186ae._0x1d27a8)],...Object[_0x3ab5fe(0x5f0,0x4f7,_0x2186ae._0x3a40f3,0x691)](_0x2e0bf8)[_0x4fe41f(_0x2186ae._0x23713d,_0x2186ae._0x588661,_0x2186ae._0x265388,0x96e)]>0x0?{'appliedFilters':_0x2e0bf8}:{},'offset':_0x3fd737[_0x4fe41f(0x906,0x737,0x875,_0x2186ae._0x3b722b)],'totalRequested':_0x3fd737[_0x3ab5fe(0x565,_0x2186ae._0x34b5ee,_0x2186ae._0xf8528c,0x424)],'hydrated':_0x3fd737[_0x4fe41f(_0x2186ae._0x39eb3c,_0x2186ae._0x238a68,_0x2186ae._0x2aa9ab,0x73f)]}),void 0x0;}});}export{BackgroundBashProcessStore,BackgroundBashStartError,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,closeBoundNestedToolExecution,commitBoundToolExecutionTerminalState,connectMcpServer,createAnchoredFileError,createAskUserTool,createAssignTaskTool,createBashOutputTool,createBashTool,createDelegateToAgentTool,createDelegatedRunId,createDelegationTools,createFileEditTool,createFileNewTool,createFileReadTool,createGlobTool,createGrepTool,createInternalToolRuntime,createInvokeCommandTool,createKillShellTool,createLoadSkillTool,createLsTool,createLspService,createLspTool,createMcpConnectionGeneration,createMcpOAuthProvider,createMcpTimeoutSource,createMcpTool,createMcpToolName,createMockToolRuntime,createNormalizedFileSnapshot,createProcessTreeSignalAdapter,createProgram,createSendMessageTool,createShellExecTool,createStopAgentTool,createTodoWriteTool,createToolOutput,createViewFileTool,createWebFetchTool,createWebSearchTool,defineTool,deriveFinalToolOutput,drainBoundNestedToolPersistence,executeAnchoredFileEdit,extractOwnedMcpSafeError,filepath,files,filterBackgroundBashOutput,formatAnchoredFileRead,hashlineFileEditInputSchema,isProbablyBinary,isValidDelegatedRunId,isWithinDisplayColumns,normalizeToolOutputValue,prepareAnchoredFileEditApproval,prepareCanonicalFileEdit,projectMcpTools,redactMcpDiagnostic,replaceFirstExact,resolveAllowedPath,resolveBashExecutionTarget,resolveCanonicalAllowedFile,resolveDelegatedAgentOptions,resolveMcpTimeoutMs,resolveToolPermissionClass,resolveWorkspacePath,search,searchRegex,serializeNormalizedFile,sha256Bytes,structuredFileEditInputSchema,toMcpSafeError,toNuvinToolSchema,truncateToolOutput,validateGrepPattern,validateToolInput};
|