@myagentroam/node 0.9.11 → 0.9.13

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.
@@ -1,2 +1,2 @@
1
1
  /* mar-release-protected */
2
- function _0x401b(){const _0x2a0187=['z2v0','u0vtu0LptL9xqvrdsf9ot1rFrK9vtKq','C2vZC2LVBKLK','B3bLCMf0Aw9UCW','B3b0Aw9UCW','CMvMCMvZAefJDgL2Axr5','Bg9JywWTDgvZDc1Nzw5LCMf0Aw9U','zw1PDf9WywDL','BM93','zMLSDgvY','Aw5PDgLHBa','DgvZDa','D2f0y2Hjza','ndi5odKYwKj5tunq','zgvSzxrL','zw50CNK','zw1PDfbHz2u','zMfPBfnLC3nPB24','C291CMnL','zw1PDfnLC3nPB24','BgvHC2vZ','D2f0y2G','B2jQzwn0','C2vZC2LVBI53yxrJAc5YzwzYzxnOlMzHAwXLza','nZiWnNboDufIza','C2L6zq','tKfusvzfx1rsqu5tq1jjufrFvu5bvKfjtefcteu','C2XPy2u','D2f0y2GUzMfPBgvK','Bg9JywWTDgvZDa','mta3ode3nxnTqKTKsG','u0vtu0LptL9xqvrdsf9sruzsrvnix0zbsuXfra','mZu2nZmWnfztt3LtsG','BM9KzuLK','y29UDMvYz2vqywDL','zw1PDe9IC2vYDMvKugfNzq','u0vtu0LptL9jtLzbteLe','C3rVCa','Dw5Yzwy','vfvstG','zxHLy3v0zvvUD2f0y2G','mJa5oti4mZbRzfbVDve','u0vtu0LptL9xqvrdsf9ttKfqu0Hpvf9gquLmruq','x193B3jRC3bHy2vxyxrJAfnLC3nPB25iyxnO','BgvHC2vuAw1LCG','Bwf4','CMvTB3zLtgvHC2u','y2XLyxi','u0vtu0LptL9ot1rFrK9vtKq','C2vZC2LVBLnPz25HDhvYzq','ndCWntDTwLHUuei','C2vZC2LVBG','mtfeC2PZt20','CMvZB2X2zq','zMfPBhvYzxm','ywnJzxb0zwq','AgfZ','Aw5PDgLHBf9YzwzYzxnO','D29YA2jLBMnOq29UBMvJDgLVBKLK','C3rYAw5N','BwfUywDLzefJDgL2zq','DgLTzxi','ChjVAMvJDeLUAxrPywXqywDL','CMvHzfbHz2u','D2f0y2GUC2vZC2LVBI5ZBMfWC2HVDa','m2z1BMzpzq','D29YA3nWywnLswq','ChjLC2vUDf9ZzxnZAw9U','mZeXmhjSAw9kvW','CMvHzf9WywDL','zw1PDfDHDgnOrxzLBNq','Dw5PDa','zxHLy3v0zvDHDgnO','CgfNzq','C2vZC2LVBKHHC2G','C3vZCgvUzgvK','BgvUz3rO','Dw5RBM93BG','C3rYAw5NAwz5','y29UDMvYz2vFCgfNzq','ChjLC2vUDa','zxHWAxjLC0f0','D2f0y2HLCW','u2vZC2LVBIb3yxrJAcbZBMfWC2HVDcbMywLSzwqU','CMvMCMvZAfrPBwvY','C2vZC2LVBI53yxrJAc5PBML0AwfSlMzHAwXLza','u0vhtuvova','CMvSzwfZzvnLC3nPB25mzwfZzxm','B2jZzxj2zwrqywDL','CgvYzM9YBvjLzNjLC2G','CMvMCMvZAf9Hy3rPDML0Eq','zxH0zxjUywXtzxnZAw9Uswq','B3DUzxjlzxK','Bgf0zxn0tgvHC2vfEhbPCNK','CNvUBMvY','ChjVAMvJDf9ZBMfWC2HVDa','Aw5PDgLHBgL6zuXLyxnL','mty0otq1ngLpt0T2BG','Bw9Kzq','DhvYBNm','C25HChnOB3rtzxf1zw5Jzq','Bg9N','Bg9JywWTDgvZDc1UB2rL','CMvMCMvZAa','C2v0','yxv0Ag9YAxr5','y29Kzq','CMvUzxC','BM9KzuDLBMvYyxrPB24','mtHTDezprwK','DMfSDwvZ','u0vtu0LptL9xt1jlu1bbq0vFtuLttufuq0G','C2LNBMf0DxjL'];_0x401b=function(){return _0x2a0187;};return _0x401b();}const _0x205735=_0x4719;(function(_0x388f09,_0x9ed34c){const _0x145362=_0x4719,_0x5c5a2d=_0x388f09();while(!![]){try{const _0x30c063=parseInt(_0x145362(0x182))/(0x1*0x13e7+0x1ff8+-0x33de)+parseInt(_0x145362(0x140))/(0x13*0x199+-0x137*0x15+-0x4d6)+-parseInt(_0x145362(0x191))/(0x3b5*0x6+0x109d*-0x2+-0x1*-0xaff)*(parseInt(_0x145362(0x15d))/(-0x2f6*-0xd+-0xf3*-0x18+-0x3d42))+parseInt(_0x145362(0x194))/(-0x1a17*0x1+0x2*-0x533+0x2482)*(parseInt(_0x145362(0x168))/(-0x1247+0x1979+0x1cb*-0x4))+parseInt(_0x145362(0x16e))/(-0x1083+0xb53+0x537)+-parseInt(_0x145362(0x170))/(-0x1*0x14b6+0x26e+0x1250)*(-parseInt(_0x145362(0x14c))/(-0x2255+0x47*-0x23+-0x2c13*-0x1))+parseInt(_0x145362(0x179))/(0x2453*0x1+-0x77b*0x3+-0xdd8)*(-parseInt(_0x145362(0x184))/(-0x135a+-0x153e+0x65*0x67));if(_0x30c063===_0x9ed34c)break;else _0x5c5a2d['push'](_0x5c5a2d['shift']());}catch(_0x340c1b){_0x5c5a2d['push'](_0x5c5a2d['shift']());}}}(_0x401b,-0xad662+0x4*0x15df4+0xc5b3f));function _0x4719(_0x29b202,_0x558233){_0x29b202=_0x29b202-(0x2a*-0x47+0xb33+0x199);const _0x3d01e0=_0x401b();let _0x3a270d=_0x3d01e0[_0x29b202];if(_0x4719['goqUnD']===undefined){var _0x1cd392=function(_0x479871){const _0x4be4f3='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4f225c='',_0x50f0ce='';for(let _0x5702b7=0xe80+-0xe47+-0x39,_0x52b6b5,_0x2949c6,_0xcecd8d=-0x1*0x1df+-0x1*-0x200c+-0x19*0x135;_0x2949c6=_0x479871['charAt'](_0xcecd8d++);~_0x2949c6&&(_0x52b6b5=_0x5702b7%(0x1cd+-0x10e5+0xf1c)?_0x52b6b5*(-0x1*-0x9d+-0x129a+0x123d)+_0x2949c6:_0x2949c6,_0x5702b7++%(-0x238c+0x28e+0x2102))?_0x4f225c+=String['fromCharCode'](-0x1f96+0x207*0xf+0x22c&_0x52b6b5>>(-(0x1*0x100+-0xfa5+0xea7)*_0x5702b7&0x1c1a+-0xbfa+-0x101a)):0x27*-0xa1+-0x632+0x1eb9){_0x2949c6=_0x4be4f3['indexOf'](_0x2949c6);}for(let _0x12f115=-0x11c*0x11+0x18e5+-0x609,_0x5d3b75=_0x4f225c['length'];_0x12f115<_0x5d3b75;_0x12f115++){_0x50f0ce+='%'+('00'+_0x4f225c['charCodeAt'](_0x12f115)['toString'](-0x1*0xb7b+0x20f1+-0x1566))['slice'](-(-0x43*0x7f+-0xda9+0x2ee8));}return decodeURIComponent(_0x50f0ce);};_0x4719['FvqrzI']=_0x1cd392,_0x4719['PzoLbL']={},_0x4719['goqUnD']=!![];}const _0x3a207f=_0x3d01e0[0x1cca+-0x5*0x165+-0x15d1];_0x4719['barcfe']!==_0x3a207f&&(_0x4719['PzoLbL']={},_0x4719['barcfe']=_0x3a207f);const _0x2de2fb=_0x4719['PzoLbL'][_0x29b202];return _0x2de2fb===undefined?(_0x3a270d=_0x4719['FvqrzI'](_0x3a270d),_0x4719['PzoLbL'][_0x29b202]=_0x3a270d):_0x3a270d=_0x2de2fb,_0x3a270d;}import{isPlainRecord}from'../runner/codex/conversation-parser.js';import{safeErrorCode}from'../util/safe-error.js';const INTERVAL_MS=0x1*-0x3e9+-0x1df+-0x2*-0x6cc,TTL_MS=-0x1*-0xff85+-0x7b05+0x2b48,MAX_FAILURES=-0x603+-0x1*-0x9d+0x569,INITIAL_TURN_LIMIT=-0x1a*0x62+-0x238c+0x2d9e,EMITTED_TURN_LIMIT=-0x1f96+0x207*0xf+0x137;export class NativeSessionWatchService{[_0x205735(0x154)];[_0x205735(0x131)]=new Map();[_0x205735(0x164)]=new Map();[_0x205735(0x143)]=0x1*0x100+-0xfa5+0xea5;constructor(_0x173a2a){const _0x14ec99=_0x205735;this[_0x14ec99(0x154)]=_0x173a2a;}[_0x205735(0x153)](){const _0x12be8e=_0x205735;return{'session.watch':_0x301be2=>this[_0x12be8e(0x127)](isPlainRecord(_0x301be2)?_0x301be2:{}),'session.unwatch':_0x50fbc8=>this[_0x12be8e(0x178)](isPlainRecord(_0x50fbc8)?_0x50fbc8:{})};}async[_0x205735(0x127)](_0x7e2790){const _0xe1e6cc=_0x205735,_0x485148=this[_0xe1e6cc(0x154)][_0xe1e6cc(0x18e)];if(_0x7e2790[_0xe1e6cc(0x126)]===_0xe1e6cc(0x135)&&_0x485148===undefined)throw new Error(_0xe1e6cc(0x174));if(typeof _0x7e2790[_0xe1e6cc(0x152)]!==_0xe1e6cc(0x18b)||_0x7e2790[_0xe1e6cc(0x192)]!==undefined&&typeof _0x7e2790[_0xe1e6cc(0x192)]!==_0xe1e6cc(0x18b)||typeof _0x7e2790[_0xe1e6cc(0x15c)]!==_0xe1e6cc(0x18b)||typeof _0x7e2790[_0xe1e6cc(0x18a)]!==_0xe1e6cc(0x18b)||_0x7e2790[_0xe1e6cc(0x141)]!==_0xe1e6cc(0x15a)&&_0x7e2790[_0xe1e6cc(0x141)]!==_0xe1e6cc(0x14a)||_0x7e2790[_0xe1e6cc(0x126)]!==undefined&&_0x7e2790[_0xe1e6cc(0x126)]!==_0xe1e6cc(0x135))throw new Error(_0xe1e6cc(0x174));const _0x9cde9b=this[_0xe1e6cc(0x13b)](_0x7e2790);if(_0x7e2790[_0xe1e6cc(0x141)]===_0xe1e6cc(0x14a)){const _0x27c5c6=this[_0xe1e6cc(0x164)][_0xe1e6cc(0x150)](_0x9cde9b);if(_0x27c5c6===undefined||_0x27c5c6[_0xe1e6cc(0x15c)]!==_0x7e2790[_0xe1e6cc(0x15c)]||_0x27c5c6[_0xe1e6cc(0x152)]!==_0x7e2790[_0xe1e6cc(0x152)]||_0x7e2790[_0xe1e6cc(0x192)]!==undefined&&_0x27c5c6[_0xe1e6cc(0x192)]!==_0x7e2790[_0xe1e6cc(0x192)])throw new Error(_0xe1e6cc(0x151));if(_0x27c5c6[_0xe1e6cc(0x130)]<=Date[_0xe1e6cc(0x158)]()){this[_0xe1e6cc(0x17e)](_0x9cde9b);throw new Error(_0xe1e6cc(0x151));}_0x27c5c6[_0xe1e6cc(0x130)]=Date[_0xe1e6cc(0x158)]()+TTL_MS;const _0x24a454=this[_0xe1e6cc(0x131)][_0xe1e6cc(0x150)](_0x27c5c6[_0xe1e6cc(0x152)]);if(_0x24a454!==undefined)_0x24a454[_0xe1e6cc(0x130)]=this[_0xe1e6cc(0x13c)](_0x27c5c6[_0xe1e6cc(0x152)]);return clearTimeout(_0x27c5c6[_0xe1e6cc(0x18d)]),_0x27c5c6[_0xe1e6cc(0x18d)]=this[_0xe1e6cc(0x17c)](_0x9cde9b),this[_0xe1e6cc(0x187)](_0x27c5c6);}const _0x4861a8=this[_0xe1e6cc(0x164)][_0xe1e6cc(0x150)](_0x9cde9b),_0x5b9b7a=_0x7e2790[_0xe1e6cc(0x126)]===_0xe1e6cc(0x135)?_0xe1e6cc(0x135):_0xe1e6cc(0x177);if(_0x4861a8?.[_0xe1e6cc(0x15c)]===_0x7e2790[_0xe1e6cc(0x15c)]&&_0x4861a8[_0xe1e6cc(0x152)]===_0x7e2790[_0xe1e6cc(0x152)]&&(_0x7e2790[_0xe1e6cc(0x192)]===undefined||_0x4861a8[_0xe1e6cc(0x192)]===_0x7e2790[_0xe1e6cc(0x192)])&&_0x4861a8[_0xe1e6cc(0x126)]===_0x5b9b7a&&_0x4861a8[_0xe1e6cc(0x130)]>Date[_0xe1e6cc(0x158)]())return _0x4861a8[_0xe1e6cc(0x130)]=Date[_0xe1e6cc(0x158)]()+TTL_MS,clearTimeout(_0x4861a8[_0xe1e6cc(0x18d)]),_0x4861a8[_0xe1e6cc(0x18d)]=this[_0xe1e6cc(0x17c)](_0x9cde9b),this[_0xe1e6cc(0x187)](_0x4861a8);this[_0xe1e6cc(0x17e)](_0x9cde9b);const _0x14531e={'ownerKey':_0x9cde9b,'sessionHash':this[_0xe1e6cc(0x129)](_0x7e2790),'workbenchConnectionId':_0x7e2790[_0xe1e6cc(0x18a)],'watchId':_0x7e2790[_0xe1e6cc(0x15c)],'sessionId':_0x7e2790[_0xe1e6cc(0x152)],'unit':_0x5b9b7a,'nodeGeneration':this[_0xe1e6cc(0x154)][_0xe1e6cc(0x14b)]?.()??_0xe1e6cc(0x156),...typeof _0x7e2790[_0xe1e6cc(0x192)]===_0xe1e6cc(0x18b)?{'workspaceId':_0x7e2790[_0xe1e6cc(0x192)]}:{},'expiresAt':Date[_0xe1e6cc(0x158)]()+TTL_MS,'timer':undefined};_0x14531e[_0xe1e6cc(0x18d)]=this[_0xe1e6cc(0x17c)](_0x9cde9b),this[_0xe1e6cc(0x164)][_0xe1e6cc(0x147)](_0x9cde9b,_0x14531e);const _0x44ac06=this[_0xe1e6cc(0x131)][_0xe1e6cc(0x150)](_0x14531e[_0xe1e6cc(0x152)]);if(_0x44ac06!==undefined)_0x44ac06[_0xe1e6cc(0x130)]=this[_0xe1e6cc(0x13c)](_0x14531e[_0xe1e6cc(0x152)]);return void this[_0xe1e6cc(0x13f)](_0x14531e,_0x485148),this[_0xe1e6cc(0x187)](_0x14531e);}[_0x205735(0x178)](_0x40f82f){const _0x7b36f4=_0x205735;if(typeof _0x40f82f[_0x7b36f4(0x152)]!==_0x7b36f4(0x18b)||typeof _0x40f82f[_0x7b36f4(0x15c)]!==_0x7b36f4(0x18b)||typeof _0x40f82f[_0x7b36f4(0x18a)]!==_0x7b36f4(0x18b))throw new Error(_0x7b36f4(0x174));const _0x23218f=this[_0x7b36f4(0x13b)](_0x40f82f),_0x54b9ae=this[_0x7b36f4(0x164)][_0x7b36f4(0x150)](_0x23218f);if(_0x54b9ae?.[_0x7b36f4(0x15c)]===_0x40f82f[_0x7b36f4(0x15c)]&&_0x54b9ae[_0x7b36f4(0x152)]===_0x40f82f[_0x7b36f4(0x152)])this[_0x7b36f4(0x17e)](_0x23218f);return{'stopped':!![]};}[_0x205735(0x165)](_0x4e1d09){const _0x2bd023=_0x205735;if(this[_0x2bd023(0x154)][_0x2bd023(0x18c)](_0x4e1d09))return this[_0x2bd023(0x175)](_0x4e1d09['id']),undefined;const _0x2f52d1=this[_0x2bd023(0x131)][_0x2bd023(0x150)](_0x4e1d09['id']);if(_0x2f52d1!==undefined)return _0x2f52d1[_0x2bd023(0x130)]=Date[_0x2bd023(0x158)]()+TTL_MS,{'expiresAt':_0x2f52d1[_0x2bd023(0x130)]};const _0xa85df0={'expiresAt':Date[_0x2bd023(0x158)]()+TTL_MS,'refresh':undefined,'sessionSignature':undefined,'signature':undefined,'page':undefined,'observedPage':undefined,'authority':undefined,'failures':0x0,'timer':undefined};return _0xa85df0[_0x2bd023(0x18d)]=this[_0x2bd023(0x133)](_0x4e1d09['id']),this[_0x2bd023(0x131)][_0x2bd023(0x147)](_0x4e1d09['id'],_0xa85df0),{'expiresAt':_0xa85df0[_0x2bd023(0x130)]};}[_0x205735(0x14a)](_0x50614e){const _0x3899bb=_0x205735;if(this[_0x3899bb(0x154)][_0x3899bb(0x18c)](_0x50614e))return this[_0x3899bb(0x175)](_0x50614e['id']),undefined;const _0x2f2658=this[_0x3899bb(0x131)][_0x3899bb(0x150)](_0x50614e['id']);if(_0x2f2658===undefined||_0x2f2658[_0x3899bb(0x130)]<=Date[_0x3899bb(0x158)]())return this[_0x3899bb(0x175)](_0x50614e['id']),undefined;return _0x2f2658[_0x3899bb(0x130)]=Date[_0x3899bb(0x158)]()+TTL_MS,{'expiresAt':_0x2f2658[_0x3899bb(0x130)]};}[_0x205735(0x175)](_0x3bfef0){const _0x24b014=_0x205735,_0x1657de=this[_0x24b014(0x131)][_0x24b014(0x150)](_0x3bfef0);if(_0x1657de===undefined)return;clearTimeout(_0x1657de[_0x24b014(0x18d)]),this[_0x24b014(0x131)][_0x24b014(0x15e)](_0x3bfef0);}[_0x205735(0x17f)](){const _0x4ad9e1=_0x205735;for(const _0x359d24 of this[_0x4ad9e1(0x131)][_0x4ad9e1(0x14d)]())clearTimeout(_0x359d24[_0x4ad9e1(0x18d)]);this[_0x4ad9e1(0x131)][_0x4ad9e1(0x17f)]();for(const _0x596bb0 of this[_0x4ad9e1(0x164)][_0x4ad9e1(0x14d)]())clearTimeout(_0x596bb0[_0x4ad9e1(0x18d)]);this[_0x4ad9e1(0x164)][_0x4ad9e1(0x17f)]();}[_0x205735(0x188)](_0x71c6d6){const _0x561976=_0x205735;return this[_0x561976(0x131)][_0x561976(0x188)](_0x71c6d6);}[_0x205735(0x15f)](_0x180c43){const _0x336409=_0x205735;return this[_0x336409(0x131)][_0x336409(0x150)](_0x180c43);}get[_0x205735(0x169)](){const _0xd09a15=_0x205735;return this[_0xd09a15(0x131)][_0xd09a15(0x169)];}async[_0x205735(0x146)](_0x4e142d,_0x14fff8=0x1c1a+-0xbfa+-0x1016,_0x40161f=!![]){const _0xe450e1=_0x205735,_0x2bfc68=this[_0xe450e1(0x131)][_0xe450e1(0x150)](_0x4e142d);if(_0x2bfc68===undefined)return undefined;if(_0x2bfc68[_0xe450e1(0x146)]!==undefined)return _0x2bfc68[_0xe450e1(0x146)];if(_0x2bfc68[_0xe450e1(0x130)]<=Date[_0xe450e1(0x158)]())return this[_0xe450e1(0x175)](_0x4e142d),undefined;const _0x17c0aa=this[_0xe450e1(0x138)](_0x4e142d,_0x2bfc68,_0x14fff8,_0x40161f);_0x2bfc68[_0xe450e1(0x146)]=_0x17c0aa;try{return await _0x17c0aa;}finally{this[_0xe450e1(0x131)][_0xe450e1(0x150)](_0x4e142d)===_0x2bfc68&&(_0x2bfc68[_0xe450e1(0x146)]=undefined,clearTimeout(_0x2bfc68[_0xe450e1(0x18d)]),_0x2bfc68[_0xe450e1(0x18d)]=this[_0xe450e1(0x133)](_0x4e142d));}}async[_0x205735(0x138)](_0x4d5895,_0x3c1104,_0x319c19,_0x1a93a3){const _0xe413f3=_0x205735;let _0xa70b33=_0xe413f3(0x185),_0x12bd28;try{if(this[_0xe413f3(0x154)][_0xe413f3(0x12a)]?.(_0x4d5895)===!![])return _0x3c1104[_0xe413f3(0x128)];_0x12bd28=await this[_0xe413f3(0x154)][_0xe413f3(0x185)](_0x4d5895);if(_0x12bd28===undefined||_0x12bd28[_0xe413f3(0x13a)]===null||this[_0xe413f3(0x154)][_0xe413f3(0x18c)](_0x12bd28))return this[_0xe413f3(0x136)](_0x4d5895),undefined;_0xa70b33=_0xe413f3(0x139),await this[_0xe413f3(0x154)][_0xe413f3(0x155)](_0x12bd28);if(this[_0xe413f3(0x154)][_0xe413f3(0x12a)]?.(_0x4d5895)===!![])return _0x3c1104[_0xe413f3(0x128)];_0xa70b33=_0xe413f3(0x193);const _0xf4855c=this[_0xe413f3(0x154)][_0xe413f3(0x12f)](_0x12bd28),_0x3df3b2=JSON[_0xe413f3(0x12d)](_0xf4855c);_0x3df3b2!==_0x3c1104[_0xe413f3(0x181)]&&(_0x3c1104[_0xe413f3(0x181)]=_0x3df3b2,this[_0xe413f3(0x154)][_0xe413f3(0x163)](_0xf4855c));_0xa70b33=_0xe413f3(0x195);const _0x151c51=await this[_0xe413f3(0x154)][_0xe413f3(0x18f)](_0x12bd28,_0x319c19);_0x3c1104[_0xe413f3(0x186)]=0x27*-0xa1+-0x632+0x1eb9;const _0xb372e3=_0x151c51[_0xe413f3(0x142)][_0xe413f3(0x12b)]<=EMITTED_TURN_LIMIT?_0x151c51[_0xe413f3(0x142)]:_0x151c51[_0xe413f3(0x142)][_0xe413f3(0x16b)](-EMITTED_TURN_LIMIT),_0x1d6426={..._0x151c51,'turns':_0xb372e3};_0xa70b33=_0xe413f3(0x12e);const _0x4d8f2a=this[_0xe413f3(0x154)][_0xe413f3(0x172)](_0x3c1104[_0xe413f3(0x128)],_0x3c1104[_0xe413f3(0x137)],_0x1d6426,_0x3c1104[_0xe413f3(0x148)]),_0x247d32=_0x4d8f2a[_0xe413f3(0x128)],_0x46f824=_0x247d32[_0xe413f3(0x142)][_0xe413f3(0x12b)]<=EMITTED_TURN_LIMIT+(-0x11c*0x11+0x18e5+-0x608)?_0x247d32:{..._0x247d32,'turns':_0x247d32[_0xe413f3(0x142)][_0xe413f3(0x16b)](-(EMITTED_TURN_LIMIT+(-0x1*0xb7b+0x20f1+-0x1575)))};_0x3c1104[_0xe413f3(0x137)]=_0x1d6426,_0x3c1104[_0xe413f3(0x148)]=_0x4d8f2a[_0xe413f3(0x148)];const _0x338520=JSON[_0xe413f3(0x12d)]({'source':_0x46f824[_0xe413f3(0x162)],'turns':_0x46f824[_0xe413f3(0x142)]});if(_0x338520===_0x3c1104[_0xe413f3(0x14f)])return _0x46f824;_0x3c1104[_0xe413f3(0x14f)]=_0x338520,_0x3c1104[_0xe413f3(0x128)]=_0x46f824,_0xa70b33=_0xe413f3(0x157);if(_0x1a93a3)this[_0xe413f3(0x173)](_0x12bd28,_0x46f824);return _0x1a93a3?_0x46f824:_0x151c51;}catch(_0x12c18c){_0x3c1104[_0xe413f3(0x186)]+=-0x43*0x7f+-0xda9+0x2ee7,this[_0xe413f3(0x154)][_0xe413f3(0x144)]?.(_0xe413f3(0x167),{'nodeId':this[_0xe413f3(0x154)][_0xe413f3(0x171)]?.()??_0xe413f3(0x145),'sessionId':_0x4d5895,..._0x12bd28===undefined?{}:{'runner':_0x12bd28[_0xe413f3(0x13d)]},'stage':_0xa70b33,'errorCode':diagnosticErrorCode(_0x12c18c,_0xe413f3(0x16f)),'failureCount':_0x3c1104[_0xe413f3(0x186)],'terminal':_0x3c1104[_0xe413f3(0x186)]>=MAX_FAILURES});if(_0x3c1104[_0xe413f3(0x186)]>=MAX_FAILURES)this[_0xe413f3(0x161)](_0x4d5895);return undefined;}}[_0x205735(0x129)](_0x6dc629){const _0x24e8ae=_0x205735;return typeof _0x6dc629[_0x24e8ae(0x17b)]===_0x24e8ae(0x18b)?_0x6dc629[_0x24e8ae(0x17b)]:_0x24e8ae(0x16d);}[_0x205735(0x13b)](_0x5ada96){const _0x5b889f=_0x205735;return this[_0x5b889f(0x129)](_0x5ada96)+':'+_0x5ada96[_0x5b889f(0x18a)];}[_0x205735(0x187)](_0x21d6d6){const _0x2e4d69=_0x205735;return{'accepted':!![],'watchId':_0x21d6d6[_0x2e4d69(0x15c)],'nodeGeneration':_0x21d6d6[_0x2e4d69(0x14b)],'expiresAt':_0x21d6d6[_0x2e4d69(0x130)]};}async[_0x205735(0x13f)](_0x499cb2,_0x57d76c){const _0x52b511=_0x205735;let _0x2bf092=_0x52b511(0x185);try{const _0x306527=await this[_0x52b511(0x154)][_0x52b511(0x185)](_0x499cb2[_0x52b511(0x152)]);if(_0x306527===undefined||_0x306527[_0x52b511(0x13a)]===null)throw new Error(_0x52b511(0x180));if(_0x499cb2[_0x52b511(0x192)]!==undefined&&_0x306527[_0x52b511(0x192)]!==_0x499cb2[_0x52b511(0x192)])throw new Error(_0x52b511(0x14e));if(this[_0x52b511(0x164)][_0x52b511(0x150)](_0x499cb2[_0x52b511(0x13b)])!==_0x499cb2)return;_0x499cb2[_0x52b511(0x192)]=_0x306527[_0x52b511(0x192)],_0x2bf092=_0x52b511(0x189);const _0x520d6c=this[_0x52b511(0x165)](_0x306527),_0xb62b2=_0x520d6c===undefined?undefined:await this[_0x52b511(0x146)](_0x306527['id'],INITIAL_TURN_LIMIT,![]);if(_0xb62b2===undefined)throw new Error(_0x52b511(0x16a));_0x2bf092=_0x52b511(0x13e);const _0x2a44a4=_0x499cb2[_0x52b511(0x126)]===_0x52b511(0x135)?_0x57d76c(_0x306527,_0xb62b2,_0x52b511(0x135),0x1cca+-0x5*0x165+-0x15c7):_0xb62b2;if(this[_0x52b511(0x164)][_0x52b511(0x150)](_0x499cb2[_0x52b511(0x13b)])!==_0x499cb2)return;this[_0x52b511(0x154)][_0x52b511(0x196)]?.({'type':_0x52b511(0x190),'workbenchConnectionId':_0x499cb2[_0x52b511(0x18a)],'watchId':_0x499cb2[_0x52b511(0x15c)],'nodeGeneration':_0x499cb2[_0x52b511(0x14b)],'nodeId':this[_0x52b511(0x154)][_0x52b511(0x171)]?.()??_0x52b511(0x145),'workspaceId':_0x306527[_0x52b511(0x192)],'sessionId':_0x306527['id'],'revision':0x1,'snapshotSequence':++this[_0x52b511(0x143)],'expiresAt':_0x499cb2[_0x52b511(0x130)],'payload':_0x2a44a4});}catch(_0x184688){if(this[_0x52b511(0x164)][_0x52b511(0x150)](_0x499cb2[_0x52b511(0x13b)])!==_0x499cb2)return;const _0x1e9c56=diagnosticErrorCode(_0x184688,_0x52b511(0x17a));this[_0x52b511(0x154)][_0x52b511(0x144)]?.(_0x52b511(0x134),{'nodeId':this[_0x52b511(0x154)][_0x52b511(0x171)]?.()??_0x52b511(0x145),'sessionId':_0x499cb2[_0x52b511(0x152)],'workspaceId':_0x499cb2[_0x52b511(0x192)]??_0x52b511(0x12c),'workbenchConnectionId':_0x499cb2[_0x52b511(0x18a)],'watchId':_0x499cb2[_0x52b511(0x15c)],'stage':_0x2bf092,'errorCode':_0x1e9c56}),this[_0x52b511(0x154)][_0x52b511(0x196)]?.({'type':_0x52b511(0x16c),'workbenchConnectionId':_0x499cb2[_0x52b511(0x18a)],'watchType':_0x52b511(0x183),'watchId':_0x499cb2[_0x52b511(0x15c)],'nodeGeneration':_0x499cb2[_0x52b511(0x14b)],'nodeId':this[_0x52b511(0x154)][_0x52b511(0x171)]?.()??_0x52b511(0x145),'workspaceId':_0x499cb2[_0x52b511(0x192)]??_0x52b511(0x12c),'sessionId':_0x499cb2[_0x52b511(0x152)],'code':_0x1e9c56,'message':_0x52b511(0x132)}),this[_0x52b511(0x17e)](_0x499cb2[_0x52b511(0x13b)]);}}[_0x205735(0x17e)](_0x3849c7){const _0x26eb29=_0x205735,_0x5596b8=this[_0x26eb29(0x164)][_0x26eb29(0x150)](_0x3849c7);if(_0x5596b8===undefined)return;clearTimeout(_0x5596b8[_0x26eb29(0x18d)]),this[_0x26eb29(0x164)][_0x26eb29(0x15e)](_0x3849c7);const _0x261447=this[_0x26eb29(0x131)][_0x26eb29(0x150)](_0x5596b8[_0x26eb29(0x152)]),_0x74f10f=this[_0x26eb29(0x13c)](_0x5596b8[_0x26eb29(0x152)]);if(_0x74f10f===0x1*-0x4e9+0x1efd+-0x1*0x1a14)this[_0x26eb29(0x175)](_0x5596b8[_0x26eb29(0x152)]);else{if(_0x261447!==undefined)_0x261447[_0x26eb29(0x130)]=_0x74f10f;}}[_0x205735(0x173)](_0x484589,_0xc0729){const _0x1f228e=_0x205735,_0x376328=[...this[_0x1f228e(0x164)][_0x1f228e(0x14d)]()][_0x1f228e(0x159)](_0x2e05ae=>_0x2e05ae[_0x1f228e(0x152)]===_0x484589['id']);if(_0x376328[_0x1f228e(0x12b)]===-0x1396*-0x1+0x15c*0x11+-0x2ab2){this[_0x1f228e(0x154)][_0x1f228e(0x160)](_0x484589,_0xc0729);return;}for(const _0x563676 of _0x376328){const _0x52efb8=_0x563676[_0x1f228e(0x126)]===_0x1f228e(0x135)?this[_0x1f228e(0x154)][_0x1f228e(0x18e)]?.(_0x484589,_0xc0729,_0x1f228e(0x135),0x17*-0x13d+0x5a*-0x43+0x1*0x3413):_0xc0729;if(_0x52efb8===undefined)continue;this[_0x1f228e(0x154)][_0x1f228e(0x196)]?.({'type':_0x1f228e(0x190),'workbenchConnectionId':_0x563676[_0x1f228e(0x18a)],'watchId':_0x563676[_0x1f228e(0x15c)],'nodeGeneration':_0x563676[_0x1f228e(0x14b)],'nodeId':this[_0x1f228e(0x154)][_0x1f228e(0x171)]?.()??_0x1f228e(0x145),'workspaceId':_0x484589[_0x1f228e(0x192)],'sessionId':_0x484589['id'],'revision':0x1,'snapshotSequence':++this[_0x1f228e(0x143)],'expiresAt':_0x563676[_0x1f228e(0x130)],'payload':_0x52efb8});}}[_0x205735(0x161)](_0x36968d){const _0x5c50b5=_0x205735;for(const _0x52e049 of[...this[_0x5c50b5(0x164)][_0x5c50b5(0x14d)]()]){if(_0x52e049[_0x5c50b5(0x152)]!==_0x36968d)continue;this[_0x5c50b5(0x154)][_0x5c50b5(0x196)]?.({'type':_0x5c50b5(0x16c),'workbenchConnectionId':_0x52e049[_0x5c50b5(0x18a)],'watchType':_0x5c50b5(0x183),'watchId':_0x52e049[_0x5c50b5(0x15c)],'nodeGeneration':_0x52e049[_0x5c50b5(0x14b)],'nodeId':this[_0x5c50b5(0x154)][_0x5c50b5(0x171)]?.()??_0x5c50b5(0x145),'workspaceId':_0x52e049[_0x5c50b5(0x192)]??_0x5c50b5(0x12c),'sessionId':_0x36968d,'code':_0x5c50b5(0x16a),'message':_0x5c50b5(0x132)}),this[_0x5c50b5(0x17e)](_0x52e049[_0x5c50b5(0x13b)]);}this[_0x5c50b5(0x175)](_0x36968d);}[_0x205735(0x136)](_0x3c0368){const _0x2dd0d3=_0x205735;for(const _0x163153 of[...this[_0x2dd0d3(0x164)][_0x2dd0d3(0x14d)]()])if(_0x163153[_0x2dd0d3(0x152)]===_0x3c0368)this[_0x2dd0d3(0x17e)](_0x163153[_0x2dd0d3(0x13b)]);this[_0x2dd0d3(0x175)](_0x3c0368);}[_0x205735(0x17c)](_0x2d2154){const _0x8a1a5a=_0x205735,_0xe61202=setTimeout(()=>this[_0x8a1a5a(0x17e)](_0x2d2154),TTL_MS);return _0xe61202[_0x8a1a5a(0x176)](),_0xe61202;}[_0x205735(0x13c)](_0x3570bc){const _0x3fad64=_0x205735;let _0x5ea948=0x1d*0x69+0x31c+-0xf01;for(const _0xedd370 of this[_0x3fad64(0x164)][_0x3fad64(0x14d)]())if(_0xedd370[_0x3fad64(0x152)]===_0x3570bc)_0x5ea948=Math[_0x3fad64(0x17d)](_0x5ea948,_0xedd370[_0x3fad64(0x130)]);return _0x5ea948;}[_0x205735(0x133)](_0x3e6a7e){const _0x3aac4a=_0x205735,_0x357c54=setTimeout(()=>void this[_0x3aac4a(0x146)](_0x3e6a7e),INTERVAL_MS);return _0x357c54[_0x3aac4a(0x176)](),_0x357c54;}}function diagnosticErrorCode(_0xe2e7fd,_0x194127){const _0xe2ef0=_0x205735,_0x56e88f=safeErrorCode(_0xe2e7fd,'');if(_0x56e88f[_0xe2ef0(0x12b)]>0x1985+0x1*0x2496+-0x3e1b)return _0x56e88f;if(_0xe2e7fd!==null&&typeof _0xe2e7fd===_0xe2ef0(0x166)&&_0xe2ef0(0x149)in _0xe2e7fd&&typeof _0xe2e7fd[_0xe2ef0(0x149)]===_0xe2ef0(0x18b)&&/^[A-Z][A-Z0-9_]{0,127}$/[_0xe2ef0(0x15b)](_0xe2e7fd[_0xe2ef0(0x149)]))return _0xe2e7fd[_0xe2ef0(0x149)];return _0x194127;}
2
+ function _0x1e6d(){const _0x1ea490=['zMLSDgvY','CNvUBMvY','zxzLBNrszxzPC2LVBG','CgvUzgLUz0v2zw50CW','zxHWAxjLC0f0','CMvHzhK','Bg9JywWTDgvZDc1UB2rL','y29Kzq','zgvSzxrL','CMvMCMvZAefJDgL2Axr5','Bg9N','CgvYzM9YBvjLzNjLC2G','D29YA3nWywnLswq','Bwf4','C2vZC2LVBG','u0vtu0LptL9jtLzbteLe','C2LNBMf0DxjL','zxHLy3v0zvvUD2f0y2G','Bw9Kzq','u0vtu0LptL9xqvrdsf9ot1rFrK9vtKq','C3rYAw5NAwz5','mZCZr3HQCgv6','y29UDMvYz2vFCgfNzq','C3rHDhvZ','ChvZAa','Cgf5Bg9Hza','zw50CNK','CMvSzwfZzvnLC3nPB25mzwfZzxm','uLvotKLorW','C25HChnOB3rtzw50','B3b0Aw9UCW','zw1PDfbHz2u','C291CMnL','u0vtu0LptL9xt1jlu1bbq0vFtuLttufuq0G','C2v0','CMvHzf9WywDL','q0foq0vmteLorW','CMvHzfj1BNrPBwvqywDL','nJq4mZK1mvj4t2vSAG','D2f0y2G','B2jQzwn0','u0vtu0LptL9xqvrdsf9ttKfqu0Hpvf9gquLmruq','u0vtu0LptL9xqvrdsf9svu5usu1fx1noqvbtse9ux0zbsuXfra','CNvUDgLTzvjLywq','mtKWndeZmdHSDgntDK4','BgvHC2vuAw1LCG','zxHLy3v0zvDHDgnO','zw1PDfnUyxbZAg90vg9mzwfZzxm','zw1PDfjLywX0Aw1L','x193B3jRC3bHy2vxyxrJAfnLC3nPB25iyxnO','Aw5PDgLHBgL6zuXLyxnL','ChjLC2vUDa','ndi5m3zbBNnhAG','BgvHC2vZ','C2L6zq','tufoquDfrf9bq1rjvKu','y2f0zwDVCNK','DgLTzxi','CMvMCMvZAfrPBwvY','Aw5PDgLHBf9YzwzYzxnO','C3vZCgvUzgvK','BM9KzuLK','zw1PDfnUyxbZAg90','u0vtu0LptL9ot1rFrK9vtKq','u1rbuLrjtKC','CNvU','ChjVAMvJDf9ZBMfWC2HVDa','Bg9JywWTDgvZDc1Nzw5LCMf0Aw9U','Dw5PDa','CNvUDgLTzvbHz2u','C2vZC2LVBI53yxrJAc5PBML0AwfSlMzHAwXLza','ntbbDunWDfy','CMvTB3zLtgvHC2u','D2f0y2Hjza','zw1PDeXLyxnLrxzLBNq','BgvUz3rO','nJqYntK0wwvxvgXe','DhjHBNnPDgLVBKDLBMvYyxrPB24','zw1PDfnLC3nPB24','C2XPy2u','DgvZDa','u2vZC2LVBIb3yxrJAcbZBMfWC2HVDcbMywLSzwqU','CMvMCMvZAf9Hy3rPDML0Eq','mtmXnZeXmtb6vNP1AxO','seLtve9swq','ChjVAMvJDeLUAxrPywXqywDL','D29YA2jLBMnOq29UBMvJDgLVBKLK','B3bLCMf0Aw9UCW','AgfZ','zw1PDfDHDgnOrxzLBNq','tKfusvzfx1rsqu5tq1jjufrFvu5bvKfjtefcteu','B3DUzxjlzxK','y29UDMvYz2vqywDL','D2f0y2GUC2vZC2LVBI5ZBMfWC2HVDa','D2f0y2GUzMfPBgvK','C2vZC2LVBI53yxrJAc5YzwzYzxnOlMzHAwXLza','ogD5wNzcAa','CMvSzwfZzvbLBMrPBMDfDMvUDhm','CgfNzq','CMvUzxC','ywnJzxb0zwq','D2f0y2HLCW','BM93','zxH0zxjUywXtzxnZAw9Uswq','z2v0','zMfPBhvYzxm','y29UDMvYz2viAxn0B3j5','surmrq','y29TCg9Zzvj1BNrPBwvqywDL','DMfSDwvZ','ywn0AxzPDhK','D2f0y2GUC2vZC2LVBI5LDMvUDa','u0vhtuvova','q09ovKvsr0LorW','C2vZC2LVBI53yxrJAc5YDw50Aw1LlxnUyxbZAg90lMzHAwXLza','Bg9JywWTDgvZDa','CMvZB2X2zq','BM9KzuDLBMvYyxrPB24','C3rYAw5N','C2vZC2LVBKLK','C25HChnOB3rtzxf1zw5Jzq','CMvHzfbHz2u','Aw5PDgLHBa','CMvMCMvZAa','B2jZzxj2zwrqywDL','DhvYBNm','mZiXnZy2mKrIreLttG','CNvUDgLTzvjLDMLZAw9U','C2vZC2LVBKHHC2G','Bgf0zxn0tgvHC2vfEhbPCNK','mtmXnMjHrhHrra','Dw5RBM93BG','zw1PDf9WywDL','zw1PDe9IC2vYDMvKugfNzq','C2vXDwvUy2u','Dw5Yzwy','u0vtu0LptL9xqvrdsf9sruzsrvnix0zbsuXfra','zMfPBfnLC3nPB24','BwfUywDLzefJDgL2zq','yxv0Ag9YAxr5','ChjLC2vUDf9ZzxnZAw9U','C2vZC2LVBLnPz25HDhvYzq','ChvIBgLZAfj1BNrPBwvtBMfWC2HVDa','odC4zKXYy1nz','C3rVCa','y2XLyxi','vfvstG'];_0x1e6d=function(){return _0x1ea490;};return _0x1e6d();}const _0x41e195=_0x1b6d;(function(_0x400aa0,_0x554ee3){const _0x2fa522=_0x1b6d,_0x4fcb44=_0x400aa0();while(!![]){try{const _0x1d68db=parseInt(_0x2fa522(0x113))/(0x21f3+-0x1*0x48f+-0x1d63)*(-parseInt(_0x2fa522(0xfa))/(-0x91d+0x1579+0xba*-0x11))+parseInt(_0x2fa522(0x9f))/(0x22b5*-0x1+-0x1f3+0x53d*0x7)*(parseInt(_0x2fa522(0xed))/(0x1905+0x6*0xf1+-0x1ea7))+parseInt(_0x2fa522(0xb2))/(0x1*-0x204e+-0x24cb*0x1+0x451e)*(parseInt(_0x2fa522(0xb7))/(-0x191*-0x1+-0xca9+0xb1e))+parseInt(_0x2fa522(0xe9))/(0x32e+0xfb6*0x2+-0x1*0x2293)+-parseInt(_0x2fa522(0xcb))/(-0x1*0x269+0x1aa6+-0x1*0x1835)*(parseInt(_0x2fa522(0x91))/(-0x1*-0xbbd+0x6ab*-0x5+0x15a3*0x1))+parseInt(_0x2fa522(0xbe))/(-0x10f3+0x1ea6+-0xda9)+-parseInt(_0x2fa522(0x97))/(0x1a4*-0xf+0xdea+0xabd);if(_0x1d68db===_0x554ee3)break;else _0x4fcb44['push'](_0x4fcb44['shift']());}catch(_0x544c1d){_0x4fcb44['push'](_0x4fcb44['shift']());}}}(_0x1e6d,0x1*-0x3afc2+0x97a+0xe61c0));import{isPlainRecord}from'../runner/codex/conversation-parser.js';import{safeErrorCode}from'../util/safe-error.js';const INTERVAL_MS=0x90*0xd+0x858+-0x3ec*0x2,TTL_MS=-0x2c2+-0x2*0x6134+-0x174f2*-0x1,MAX_FAILURES=0x2552+0x362*0x4+-0x32d7*0x1,INITIAL_TURN_LIMIT=0xa92+0x1c4c+0x10*-0x26c,EMITTED_TURN_LIMIT=0x1bd4+0x260d+0x41d7*-0x1;function _0x1b6d(_0x842a1d,_0x2909b0){_0x842a1d=_0x842a1d-(0xe53+0x22d4+-0x30a2);const _0x2aa875=_0x1e6d();let _0x2523d6=_0x2aa875[_0x842a1d];if(_0x1b6d['KDejGN']===undefined){var _0x3bd639=function(_0x40625a){const _0x8f4673='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x535c1f='',_0x52ce37='';for(let _0x475588=-0x20a7+-0x77*-0x2+0x1*0x1fb9,_0x4628e7,_0x444cf0,_0x236bd0=0x1c8e+-0x1b8e*-0x1+-0x381c;_0x444cf0=_0x40625a['charAt'](_0x236bd0++);~_0x444cf0&&(_0x4628e7=_0x475588%(-0x5*0x452+-0xe4e*0x1+0x26*0xf2)?_0x4628e7*(0xb*-0x1b7+0x1b3d+0xa0*-0xd)+_0x444cf0:_0x444cf0,_0x475588++%(0x1*-0x1a5f+0xe11*-0x1+0x2874))?_0x535c1f+=String['fromCharCode'](0x49*-0x6f+0x24b0+-0x40a&_0x4628e7>>(-(0x125*-0x3+0xe2f+-0xabe)*_0x475588&-0x2375+-0x1668+0x39e3)):0x21cb*0x1+-0x113b+0x14*-0xd4){_0x444cf0=_0x8f4673['indexOf'](_0x444cf0);}for(let _0x1a4709=0x1c78+0x1bed+0x3865*-0x1,_0x2ab380=_0x535c1f['length'];_0x1a4709<_0x2ab380;_0x1a4709++){_0x52ce37+='%'+('00'+_0x535c1f['charCodeAt'](_0x1a4709)['toString'](-0x2054+0x1*0xeed+0x1177))['slice'](-(0x1cc9*0x1+0x84+-0x1d4b));}return decodeURIComponent(_0x52ce37);};_0x1b6d['JvaJRa']=_0x3bd639,_0x1b6d['wyetxp']={},_0x1b6d['KDejGN']=!![];}const _0x748efc=_0x2aa875[0x1932*-0x1+0x11bd+-0x17*-0x53];_0x1b6d['MTrSvo']!==_0x748efc&&(_0x1b6d['wyetxp']={},_0x1b6d['MTrSvo']=_0x748efc);const _0xb22d9b=_0x1b6d['wyetxp'][_0x842a1d];return _0xb22d9b===undefined?(_0x2523d6=_0x1b6d['JvaJRa'](_0x2523d6),_0x1b6d['wyetxp'][_0x842a1d]=_0x2523d6):_0x2523d6=_0xb22d9b,_0x2523d6;}export class NativeSessionWatchService{[_0x41e195(0x89)];[_0x41e195(0xd0)]=new Map();[_0x41e195(0xa0)]=new Map();[_0x41e195(0xe3)]=0xff3+-0x14ee+0x1a9*0x3;constructor(_0x1cc180){const _0x1ea921=_0x41e195;this[_0x1ea921(0x89)]=_0x1cc180;}[_0x41e195(0xc2)](){const _0x5bf267=_0x41e195;return{'session.watch':_0x33b994=>this[_0x5bf267(0x99)](isPlainRecord(_0x33b994)?_0x33b994:{}),'session.unwatch':_0x3608d8=>this[_0x5bf267(0x10f)](isPlainRecord(_0x3608d8)?_0x3608d8:{})};}async[_0x41e195(0x99)](_0x2969ab){const _0x37462a=_0x41e195,_0x850f28=this[_0x37462a(0x89)][_0x37462a(0xc0)];if(_0x2969ab[_0x37462a(0xaf)]===_0x37462a(0xdb)&&_0x850f28===undefined)throw new Error(_0x37462a(0x10d));if(typeof _0x2969ab[_0x37462a(0xe2)]!==_0x37462a(0xe1)||_0x2969ab[_0x37462a(0x10a)]!==undefined&&typeof _0x2969ab[_0x37462a(0x10a)]!==_0x37462a(0xe1)||typeof _0x2969ab[_0x37462a(0xb4)]!==_0x37462a(0xe1)||typeof _0x2969ab[_0x37462a(0xc1)]!==_0x37462a(0xe1)||_0x2969ab[_0x37462a(0x110)]!==_0x37462a(0xe5)&&_0x2969ab[_0x37462a(0x110)]!==_0x37462a(0xce)||_0x2969ab[_0x37462a(0xaf)]!==undefined&&_0x2969ab[_0x37462a(0xaf)]!==_0x37462a(0xdb))throw new Error(_0x37462a(0x10d));const _0x22deec=this[_0x37462a(0xc6)](_0x2969ab);if(_0x2969ab[_0x37462a(0x110)]===_0x37462a(0xce)){const _0x23c7ea=this[_0x37462a(0xa0)][_0x37462a(0xd3)](_0x22deec);if(_0x23c7ea===undefined||_0x23c7ea[_0x37462a(0xb4)]!==_0x2969ab[_0x37462a(0xb4)]||_0x23c7ea[_0x37462a(0xe2)]!==_0x2969ab[_0x37462a(0xe2)]||_0x2969ab[_0x37462a(0x10a)]!==undefined&&_0x23c7ea[_0x37462a(0x10a)]!==_0x2969ab[_0x37462a(0x10a)])throw new Error(_0x37462a(0x111));if(_0x23c7ea[_0x37462a(0x102)]<=Date[_0x37462a(0xd1)]()){this[_0x37462a(0xb3)](_0x22deec);throw new Error(_0x37462a(0x111));}_0x23c7ea[_0x37462a(0x102)]=Date[_0x37462a(0xd1)]()+TTL_MS;const _0x16b15f=this[_0x37462a(0xd0)][_0x37462a(0xd3)](_0x23c7ea[_0x37462a(0xe2)]);if(_0x16b15f!==undefined)_0x16b15f[_0x37462a(0x102)]=this[_0x37462a(0xec)](_0x23c7ea[_0x37462a(0xe2)]);return clearTimeout(_0x23c7ea[_0x37462a(0xa4)]),_0x23c7ea[_0x37462a(0xa4)]=this[_0x37462a(0x98)](_0x22deec),this[_0x37462a(0xcf)](_0x23c7ea);}const _0x4707e=this[_0x37462a(0xa0)][_0x37462a(0xd3)](_0x22deec),_0x380b21=_0x2969ab[_0x37462a(0xaf)]===_0x37462a(0xdb)?_0x37462a(0xdb):_0x37462a(0xfd);if(_0x4707e?.[_0x37462a(0xb4)]===_0x2969ab[_0x37462a(0xb4)]&&_0x4707e[_0x37462a(0xe2)]===_0x2969ab[_0x37462a(0xe2)]&&(_0x2969ab[_0x37462a(0x10a)]===undefined||_0x4707e[_0x37462a(0x10a)]===_0x2969ab[_0x37462a(0x10a)])&&_0x4707e[_0x37462a(0xaf)]===_0x380b21&&_0x4707e[_0x37462a(0x102)]>Date[_0x37462a(0xd1)]())return _0x4707e[_0x37462a(0x102)]=Date[_0x37462a(0xd1)]()+TTL_MS,clearTimeout(_0x4707e[_0x37462a(0xa4)]),_0x4707e[_0x37462a(0xa4)]=this[_0x37462a(0x98)](_0x22deec),this[_0x37462a(0xcf)](_0x4707e);this[_0x37462a(0xb3)](_0x22deec);const _0xcc8463={'ownerKey':_0x22deec,'sessionHash':this[_0x37462a(0xeb)](_0x2969ab),'workbenchConnectionId':_0x2969ab[_0x37462a(0xc1)],'watchId':_0x2969ab[_0x37462a(0xb4)],'sessionId':_0x2969ab[_0x37462a(0xe2)],'unit':_0x380b21,'nodeGeneration':this[_0x37462a(0x89)][_0x37462a(0xe0)]?.()??_0x37462a(0xae),...typeof _0x2969ab[_0x37462a(0x10a)]===_0x37462a(0xe1)?{'workspaceId':_0x2969ab[_0x37462a(0x10a)]}:{},'expiresAt':Date[_0x37462a(0xd1)]()+TTL_MS,'ready':![],'snapshotSent':![],'pendingEvents':[],'timer':undefined};_0xcc8463[_0x37462a(0xa4)]=this[_0x37462a(0x98)](_0x22deec),this[_0x37462a(0xa0)][_0x37462a(0x8d)](_0x22deec,_0xcc8463);const _0x12bc15=this[_0x37462a(0xd0)][_0x37462a(0xd3)](_0xcc8463[_0x37462a(0xe2)]);if(_0x12bc15!==undefined)_0x12bc15[_0x37462a(0x102)]=this[_0x37462a(0xec)](_0xcc8463[_0x37462a(0xe2)]);return void this[_0x37462a(0x9d)](_0xcc8463,_0x850f28),this[_0x37462a(0xcf)](_0xcc8463);}[_0x41e195(0x10f)](_0x3f7967){const _0x171cea=_0x41e195;if(typeof _0x3f7967[_0x171cea(0xe2)]!==_0x171cea(0xe1)||typeof _0x3f7967[_0x171cea(0xb4)]!==_0x171cea(0xe1)||typeof _0x3f7967[_0x171cea(0xc1)]!==_0x171cea(0xe1))throw new Error(_0x171cea(0x10d));const _0x4d58aa=this[_0x171cea(0xc6)](_0x3f7967),_0x28c9f0=this[_0x171cea(0xa0)][_0x171cea(0xd3)](_0x4d58aa);if(_0x28c9f0?.[_0x171cea(0xb4)]===_0x3f7967[_0x171cea(0xb4)]&&_0x28c9f0[_0x171cea(0xe2)]===_0x3f7967[_0x171cea(0xe2)])this[_0x171cea(0xb3)](_0x4d58aa);return{'stopped':!![]};}[_0x41e195(0x92)](_0x286d87){const _0xe8af93=_0x41e195,_0x1911ae=this[_0xe8af93(0xd0)][_0xe8af93(0xd3)](_0x286d87['id']);if(_0x1911ae!==undefined)return _0x1911ae[_0xe8af93(0x102)]=Date[_0xe8af93(0xd1)]()+TTL_MS,{'expiresAt':_0x1911ae[_0xe8af93(0x102)]};const _0x3a0de8={'session':_0x286d87,'mode':this[_0xe8af93(0x89)][_0xe8af93(0xf5)](_0x286d87)?_0xe8af93(0x87):_0xe8af93(0xbf),'expiresAt':Date[_0xe8af93(0xd1)]()+TTL_MS,'refresh':undefined,'sessionSignature':undefined,'signature':undefined,'page':undefined,'runtimePage':undefined,'runtimeRevision':undefined,'runtimeRead':undefined,'observedPage':undefined,'authority':undefined,'eventRevision':0x0,'failures':0x0,'transitionGeneration':0x0,'timer':undefined};return _0x3a0de8[_0xe8af93(0xa4)]=this[_0xe8af93(0xa5)](_0x286d87['id']),this[_0xe8af93(0xd0)][_0xe8af93(0x8d)](_0x286d87['id'],_0x3a0de8),{'expiresAt':_0x3a0de8[_0xe8af93(0x102)]};}[_0x41e195(0x9b)](_0x4510d0,_0x59c1fd){const _0x3f06c9=_0x41e195,_0xd0d383=this[_0x3f06c9(0xd0)][_0x3f06c9(0xd3)](_0x4510d0);if(_0xd0d383!==undefined)_0xd0d383[_0x3f06c9(0x100)]=_0x59c1fd[_0x3f06c9(0xf1)];const _0x28a10d=[...this[_0x3f06c9(0xa0)][_0x3f06c9(0xd8)]()][_0x3f06c9(0xfe)](_0x20b1a9=>_0x20b1a9[_0x3f06c9(0xe2)]===_0x4510d0),_0x1d4a10=sessionActivity(_0x59c1fd);if(_0xd0d383!==undefined&&_0x1d4a10===_0x3f06c9(0x87)&&_0xd0d383[_0x3f06c9(0x110)]!==_0x3f06c9(0x87)){_0xd0d383[_0x3f06c9(0x110)]=_0x3f06c9(0x87),_0xd0d383[_0x3f06c9(0xb8)]+=0x1b12+-0xa+-0x1b07;for(const _0x4110b1 of _0x28a10d)_0x4110b1[_0x3f06c9(0x103)]=![];void this[_0x3f06c9(0xf9)](_0xd0d383,_0xd0d383[_0x3f06c9(0xb8)]);}else{if(_0xd0d383!==undefined&&_0x1d4a10===_0x3f06c9(0xd6)&&_0xd0d383[_0x3f06c9(0x110)]===_0x3f06c9(0x87)){_0xd0d383[_0x3f06c9(0x110)]=_0x3f06c9(0xdc);const _0x56051a=++_0xd0d383[_0x3f06c9(0xb8)];for(const _0x414c81 of _0x28a10d)_0x414c81[_0x3f06c9(0x103)]=![];setTimeout(()=>void this[_0x3f06c9(0xd5)](_0xd0d383,_0x56051a),-0x23e4+-0x1*0x2f+0x2413*0x1);}}for(const _0x19ba58 of _0x28a10d){if(!_0x19ba58[_0x3f06c9(0x103)])_0x19ba58[_0x3f06c9(0x101)][_0x3f06c9(0x116)](_0x59c1fd);else this[_0x3f06c9(0xb5)](_0x19ba58,_0x59c1fd);}return _0x28a10d[_0x3f06c9(0xb6)]>0x795*-0x5+-0x3*-0x4c0+0x17a9;}[_0x41e195(0xce)](_0x60d361){const _0x5b28e2=_0x41e195,_0x303ed8=this[_0x5b28e2(0xd0)][_0x5b28e2(0xd3)](_0x60d361['id']);if(_0x303ed8===undefined||_0x303ed8[_0x5b28e2(0x102)]<=Date[_0x5b28e2(0xd1)]())return this[_0x5b28e2(0xfb)](_0x60d361['id']),undefined;return _0x303ed8[_0x5b28e2(0x102)]=Date[_0x5b28e2(0xd1)]()+TTL_MS,{'expiresAt':_0x303ed8[_0x5b28e2(0x102)]};}[_0x41e195(0xfb)](_0x51fe11){const _0x1e18bd=_0x41e195,_0x3349f5=this[_0x1e18bd(0xd0)][_0x1e18bd(0xd3)](_0x51fe11);if(_0x3349f5===undefined)return;clearTimeout(_0x3349f5[_0x1e18bd(0xa4)]),this[_0x1e18bd(0xd0)][_0x1e18bd(0x106)](_0x51fe11);}[_0x41e195(0xfc)](){const _0x6a76df=_0x41e195;for(const _0x1a8cac of this[_0x6a76df(0xd0)][_0x6a76df(0xd8)]())clearTimeout(_0x1a8cac[_0x6a76df(0xa4)]);this[_0x6a76df(0xd0)][_0x6a76df(0xfc)]();for(const _0x4b0529 of this[_0x6a76df(0xa0)][_0x6a76df(0xd8)]())clearTimeout(_0x4b0529[_0x6a76df(0xa4)]);this[_0x6a76df(0xa0)][_0x6a76df(0xfc)]();}[_0x41e195(0xc3)](_0xb569dd){const _0x4d9998=_0x41e195;return this[_0x4d9998(0xd0)][_0x4d9998(0xc3)](_0xb569dd);}[_0x41e195(0x85)](_0x7ea726){const _0x21edc8=_0x41e195;return this[_0x21edc8(0xd0)][_0x21edc8(0xd3)](_0x7ea726);}get[_0x41e195(0xa1)](){const _0x46f9c2=_0x41e195;return this[_0x46f9c2(0xd0)][_0x46f9c2(0xa1)];}async[_0x41e195(0xe6)](_0x3b3d42,_0xa0dcca=0x1a8e+-0x20e*-0x13+0x3*-0x15da,_0x1bef2f=!![]){const _0x38a129=_0x41e195,_0x4ef0c3=this[_0x38a129(0xd0)][_0x38a129(0xd3)](_0x3b3d42);if(_0x4ef0c3===undefined)return undefined;if(_0x4ef0c3[_0x38a129(0xe6)]!==undefined)return _0x4ef0c3[_0x38a129(0xe6)];if(_0x4ef0c3[_0x38a129(0x102)]<=Date[_0x38a129(0xd1)]())return this[_0x38a129(0xfb)](_0x3b3d42),undefined;const _0x2db973=this[_0x38a129(0x109)](_0x3b3d42,_0x4ef0c3,_0xa0dcca,_0x1bef2f);_0x4ef0c3[_0x38a129(0xe6)]=_0x2db973;try{return await _0x2db973;}finally{this[_0x38a129(0xd0)][_0x38a129(0xd3)](_0x3b3d42)===_0x4ef0c3&&(_0x4ef0c3[_0x38a129(0xe6)]=undefined,clearTimeout(_0x4ef0c3[_0x38a129(0xa4)]),_0x4ef0c3[_0x38a129(0xa4)]=this[_0x38a129(0xa5)](_0x3b3d42));}}async[_0x41e195(0x109)](_0x92e63e,_0x2b9461,_0x171b88,_0x375557){const _0x3357b4=_0x41e195;let _0x5d92dd=_0x3357b4(0xdf),_0x4abbc3;try{if(this[_0x3357b4(0x89)][_0x3357b4(0xa7)]?.(_0x92e63e)===!![])return _0x2b9461[_0x3357b4(0xcd)];_0x4abbc3=await this[_0x3357b4(0x89)][_0x3357b4(0xdf)](_0x92e63e);if(_0x4abbc3===undefined||_0x4abbc3[_0x3357b4(0xd2)]===null)return this[_0x3357b4(0x86)](_0x92e63e),undefined;_0x2b9461[_0x3357b4(0x10c)]=_0x4abbc3;if(_0x375557&&this[_0x3357b4(0x89)][_0x3357b4(0xf5)](_0x4abbc3))return _0x2b9461[_0x3357b4(0xcd)];_0x5d92dd=_0x3357b4(0xbd),await this[_0x3357b4(0x89)][_0x3357b4(0x107)](_0x4abbc3);if(this[_0x3357b4(0x89)][_0x3357b4(0xa7)]?.(_0x92e63e)===!![])return _0x2b9461[_0x3357b4(0xcd)];_0x5d92dd=_0x3357b4(0x8e);const _0x193437=_0x2b9461[_0x3357b4(0x100)],_0x245d6f=await this[_0x3357b4(0x89)][_0x3357b4(0xe4)](_0x4abbc3,_0x171b88);if(_0x375557&&_0x193437!==_0x2b9461[_0x3357b4(0x100)])return _0x2b9461[_0x3357b4(0xcd)];_0x5d92dd=_0x3357b4(0xf7);const _0x353970=this[_0x3357b4(0x89)][_0x3357b4(0x9e)](_0x4abbc3),_0x4eb41d=JSON[_0x3357b4(0x112)](_0x353970);if(_0x4eb41d!==_0x2b9461[_0x3357b4(0xf8)]){_0x2b9461[_0x3357b4(0xf8)]=_0x4eb41d;if(_0x375557)this[_0x3357b4(0x89)][_0x3357b4(0xb9)](_0x353970);}_0x2b9461[_0x3357b4(0xd4)]=0x211c*-0x1+-0x1*-0x1cc9+0x453;const _0x1d8de8=_0x245d6f[_0x3357b4(0xe8)][_0x3357b4(0xb6)]<=EMITTED_TURN_LIMIT?_0x245d6f[_0x3357b4(0xe8)]:_0x245d6f[_0x3357b4(0xe8)][_0x3357b4(0xba)](-EMITTED_TURN_LIMIT),_0x150a18={..._0x245d6f,'turns':_0x1d8de8};_0x5d92dd=_0x3357b4(0x114);const _0x351807=this[_0x3357b4(0x89)][_0x3357b4(0xc7)](_0x2b9461[_0x3357b4(0xcd)],_0x2b9461[_0x3357b4(0xe7)],_0x150a18,_0x2b9461[_0x3357b4(0xf6)]),_0x2dc0eb=_0x351807[_0x3357b4(0xcd)],_0x49003e=_0x2dc0eb[_0x3357b4(0xe8)][_0x3357b4(0xb6)]<=EMITTED_TURN_LIMIT+(0x1932*-0x1+0x11bd+-0x5*-0x17e)?_0x2dc0eb:{..._0x2dc0eb,'turns':_0x2dc0eb[_0x3357b4(0xe8)][_0x3357b4(0xba)](-(EMITTED_TURN_LIMIT+(-0x204e+-0x573+-0xc96*-0x3)))};_0x2b9461[_0x3357b4(0xe7)]=_0x150a18,_0x2b9461[_0x3357b4(0xf6)]=_0x351807[_0x3357b4(0xf6)];const _0x24968c=_0x2b9461[_0x3357b4(0x110)]===_0x3357b4(0xdc)&&!this[_0x3357b4(0x89)][_0x3357b4(0xf5)](_0x4abbc3);_0x24968c&&(_0x2b9461[_0x3357b4(0x110)]=_0x3357b4(0xbf),_0x2b9461[_0x3357b4(0xb0)]=undefined,_0x2b9461[_0x3357b4(0xea)]=undefined);const _0x5f1346=JSON[_0x3357b4(0x112)]({'source':_0x49003e[_0x3357b4(0x8b)],'turns':_0x49003e[_0x3357b4(0xe8)]}),_0x4704fa=_0x5f1346!==_0x2b9461[_0x3357b4(0x10e)];_0x4704fa&&(_0x2b9461[_0x3357b4(0x10e)]=_0x5f1346,_0x2b9461[_0x3357b4(0xcd)]=_0x49003e);_0x5d92dd=_0x3357b4(0xef);if(_0x375557&&_0x24968c)this[_0x3357b4(0x9a)](_0x4abbc3,_0x49003e,!![]);else{if(_0x375557&&_0x4704fa)this[_0x3357b4(0xf0)](_0x4abbc3,_0x49003e);}return _0x375557?_0x49003e:_0x245d6f;}catch(_0xd26535){_0x2b9461[_0x3357b4(0xd4)]+=-0x1df3+0xce*0x11+0x2*0x823,this[_0x3357b4(0x89)][_0x3357b4(0x108)]?.(_0x3357b4(0xca),{'nodeId':this[_0x3357b4(0x89)][_0x3357b4(0xa8)]?.()??_0x3357b4(0x104),'sessionId':_0x92e63e,..._0x4abbc3===undefined?{}:{'runner':_0x4abbc3[_0x3357b4(0xff)]},'stage':_0x5d92dd,'errorCode':diagnosticErrorCode(_0xd26535,_0x3357b4(0xf3)),'failureCount':_0x2b9461[_0x3357b4(0xd4)],'terminal':_0x2b9461[_0x3357b4(0xd4)]>=MAX_FAILURES});if(_0x2b9461[_0x3357b4(0xd4)]>=MAX_FAILURES)this[_0x3357b4(0xf4)](_0x92e63e);return undefined;}}[_0x41e195(0xeb)](_0x458d6b){const _0x4d7f80=_0x41e195;return typeof _0x458d6b[_0x4d7f80(0x9c)]===_0x4d7f80(0xe1)?_0x458d6b[_0x4d7f80(0x9c)]:_0x4d7f80(0xde);}[_0x41e195(0xc6)](_0x4ab8f2){const _0x23958a=_0x41e195;return this[_0x23958a(0xeb)](_0x4ab8f2)+':'+_0x4ab8f2[_0x23958a(0xc1)];}[_0x41e195(0xcf)](_0x1f556c){const _0x39157a=_0x41e195;return{'accepted':!![],'watchId':_0x1f556c[_0x39157a(0xb4)],'nodeGeneration':_0x1f556c[_0x39157a(0xe0)],'expiresAt':_0x1f556c[_0x39157a(0x102)]};}async[_0x41e195(0x9d)](_0x179bec,_0xd45c7){const _0x3c8319=_0x41e195;let _0x5e5429=_0x3c8319(0xdf);try{const _0x5ae085=await this[_0x3c8319(0x89)][_0x3c8319(0xdf)](_0x179bec[_0x3c8319(0xe2)]);if(_0x5ae085===undefined||_0x5ae085[_0x3c8319(0xd2)]===null)throw new Error(_0x3c8319(0xaa));if(_0x179bec[_0x3c8319(0x10a)]!==undefined&&_0x5ae085[_0x3c8319(0x10a)]!==_0x179bec[_0x3c8319(0x10a)])throw new Error(_0x3c8319(0x8c));if(this[_0x3c8319(0xa0)][_0x3c8319(0xd3)](_0x179bec[_0x3c8319(0xc6)])!==_0x179bec)return;_0x179bec[_0x3c8319(0x10a)]=_0x5ae085[_0x3c8319(0x10a)],_0x5e5429=_0x3c8319(0xa6),this[_0x3c8319(0x92)](_0x5ae085);const _0x3481ed=this[_0x3c8319(0xd0)][_0x3c8319(0xd3)](_0x5ae085['id']);if(_0x3481ed!==undefined)_0x3481ed[_0x3c8319(0x10c)]=_0x5ae085;const _0x2167bf=this[_0x3c8319(0x89)][_0x3c8319(0xf5)](_0x5ae085);if(_0x3481ed!==undefined)_0x3481ed[_0x3c8319(0x110)]=_0x2167bf?_0x3c8319(0x87):_0x3481ed[_0x3c8319(0x110)];const _0x3f925f=!_0x2167bf&&_0x3481ed?.[_0x3c8319(0xcd)]!==undefined?_0x3481ed[_0x3c8319(0xcd)]:undefined,_0x524ada=_0x2167bf?_0x3481ed===undefined?undefined:this[_0x3c8319(0xd7)](_0x3481ed[_0x3c8319(0xcd)],await this[_0x3c8319(0x90)](_0x3481ed,_0x5ae085)):_0x3f925f??(_0x3481ed===undefined?undefined:await this[_0x3c8319(0xe6)](_0x5ae085['id'],INITIAL_TURN_LIMIT,![]));if(_0x524ada===undefined)throw new Error(_0x3c8319(0xc5));if(_0x179bec[_0x3c8319(0x88)])return;_0x5e5429=_0x3c8319(0xad);const _0x17b1a6=_0x179bec[_0x3c8319(0xaf)]===_0x3c8319(0xdb)?_0xd45c7(_0x5ae085,_0x524ada,_0x3c8319(0xdb),0x10e3+-0xa0d+-0x6cc):_0x524ada;if(this[_0x3c8319(0xa0)][_0x3c8319(0xd3)](_0x179bec[_0x3c8319(0xc6)])!==_0x179bec)return;this[_0x3c8319(0xa9)](_0x179bec,_0x5ae085,_0x17b1a6),_0x179bec[_0x3c8319(0x103)]=!![];for(const _0x390672 of _0x179bec[_0x3c8319(0x101)])this[_0x3c8319(0xb5)](_0x179bec,_0x390672);_0x179bec[_0x3c8319(0x101)][_0x3c8319(0xb6)]=0x1d8e*0x1+-0x10da*0x1+0xc*-0x10f;}catch(_0x50c88a){if(this[_0x3c8319(0xa0)][_0x3c8319(0xd3)](_0x179bec[_0x3c8319(0xc6)])!==_0x179bec)return;const _0x48791a=diagnosticErrorCode(_0x50c88a,_0x3c8319(0x94));this[_0x3c8319(0x89)][_0x3c8319(0x108)]?.(_0x3c8319(0xb1),{'nodeId':this[_0x3c8319(0x89)][_0x3c8319(0xa8)]?.()??_0x3c8319(0x104),'sessionId':_0x179bec[_0x3c8319(0xe2)],'workspaceId':_0x179bec[_0x3c8319(0x10a)]??_0x3c8319(0xee),'workbenchConnectionId':_0x179bec[_0x3c8319(0xc1)],'watchId':_0x179bec[_0x3c8319(0xb4)],'stage':_0x5e5429,'errorCode':_0x48791a}),this[_0x3c8319(0x89)][_0x3c8319(0xc4)]?.({'type':_0x3c8319(0xc9),'workbenchConnectionId':_0x179bec[_0x3c8319(0xc1)],'watchType':_0x3c8319(0x10c),'watchId':_0x179bec[_0x3c8319(0xb4)],'nodeGeneration':_0x179bec[_0x3c8319(0xe0)],'nodeId':this[_0x3c8319(0x89)][_0x3c8319(0xa8)]?.()??_0x3c8319(0x104),'workspaceId':_0x179bec[_0x3c8319(0x10a)]??_0x3c8319(0xee),'sessionId':_0x179bec[_0x3c8319(0xe2)],'code':_0x48791a,'message':_0x3c8319(0xbc)}),this[_0x3c8319(0xb3)](_0x179bec[_0x3c8319(0xc6)]);}}[_0x41e195(0xb3)](_0x741fdf){const _0x2fb2d8=_0x41e195,_0x188630=this[_0x2fb2d8(0xa0)][_0x2fb2d8(0xd3)](_0x741fdf);if(_0x188630===undefined)return;clearTimeout(_0x188630[_0x2fb2d8(0xa4)]),this[_0x2fb2d8(0xa0)][_0x2fb2d8(0x106)](_0x741fdf);const _0x39822c=this[_0x2fb2d8(0xd0)][_0x2fb2d8(0xd3)](_0x188630[_0x2fb2d8(0xe2)]),_0x565e50=this[_0x2fb2d8(0xec)](_0x188630[_0x2fb2d8(0xe2)]);if(_0x565e50===-0x768+0x5e2+0x186)this[_0x2fb2d8(0xfb)](_0x188630[_0x2fb2d8(0xe2)]);else{if(_0x39822c!==undefined)_0x39822c[_0x2fb2d8(0x102)]=_0x565e50;}}[_0x41e195(0xd7)](_0x1c1449,_0x20a2cd){const _0x48bed5=_0x41e195;return this[_0x48bed5(0x89)][_0x48bed5(0xd7)]?.(_0x1c1449,_0x20a2cd)??_0x20a2cd;}async[_0x41e195(0x90)](_0x28d8a2,_0x510ad5){const _0x382dce=_0x41e195;if(_0x28d8a2[_0x382dce(0xb0)]!==undefined&&_0x28d8a2[_0x382dce(0xea)]===_0x28d8a2[_0x382dce(0x100)])return _0x28d8a2[_0x382dce(0xb0)];if(_0x28d8a2[_0x382dce(0x96)]!==undefined)return _0x28d8a2[_0x382dce(0x96)];const _0x40e014=_0x28d8a2[_0x382dce(0x100)],_0x2372f8=this[_0x382dce(0x89)][_0x382dce(0xe4)](_0x510ad5,INITIAL_TURN_LIMIT);_0x28d8a2[_0x382dce(0x96)]=_0x2372f8;try{const _0x41f780=await _0x2372f8;return this[_0x382dce(0xd0)][_0x382dce(0xd3)](_0x510ad5['id'])===_0x28d8a2&&(_0x28d8a2[_0x382dce(0xb0)]=_0x41f780,_0x28d8a2[_0x382dce(0xea)]=_0x40e014),_0x41f780;}finally{if(this[_0x382dce(0xd0)][_0x382dce(0xd3)](_0x510ad5['id'])===_0x28d8a2&&_0x28d8a2[_0x382dce(0x96)]===_0x2372f8)_0x28d8a2[_0x382dce(0x96)]=undefined;}}async[_0x41e195(0xf9)](_0x538e5f,_0x36c1cf){const _0x256665=_0x41e195,_0x57133c=_0x538e5f[_0x256665(0x10c)];if(_0x57133c===undefined)return;try{const _0x3897c8=await this[_0x256665(0x90)](_0x538e5f,_0x57133c);if(this[_0x256665(0xd0)][_0x256665(0xd3)](_0x57133c['id'])!==_0x538e5f||_0x538e5f[_0x256665(0x110)]!==_0x256665(0x87)||_0x538e5f[_0x256665(0xb8)]!==_0x36c1cf)return;_0x538e5f[_0x256665(0xb0)]=_0x3897c8,this[_0x256665(0x9a)](_0x57133c,this[_0x256665(0xd7)](_0x538e5f[_0x256665(0xcd)],_0x3897c8),!![]);}catch(_0x2f88f5){this[_0x256665(0x89)][_0x256665(0x108)]?.(_0x256665(0xdd),{'nodeId':this[_0x256665(0x89)][_0x256665(0xa8)]?.()??_0x256665(0x104),'sessionId':_0x57133c['id'],'runner':_0x57133c[_0x256665(0xff)],'errorCode':diagnosticErrorCode(_0x2f88f5,_0x256665(0x95))}),this[_0x256665(0xcc)](_0x57133c['id']);}}async[_0x41e195(0xd5)](_0x318aee,_0x2d0550){const _0x464402=_0x41e195,_0x173a11=_0x318aee[_0x464402(0x10c)];if(_0x173a11===undefined||this[_0x464402(0xd0)][_0x464402(0xd3)](_0x173a11['id'])!==_0x318aee||_0x318aee[_0x464402(0x110)]!==_0x464402(0xdc)||_0x318aee[_0x464402(0xb8)]!==_0x2d0550)return;await this[_0x464402(0xe6)](_0x173a11['id'],INITIAL_TURN_LIMIT,!![]);}[_0x41e195(0xb5)](_0x549d64,_0x477917){const _0x22f162=_0x41e195;this[_0x22f162(0x89)][_0x22f162(0xc4)]?.({'type':_0x22f162(0xda),'workbenchConnectionId':_0x549d64[_0x22f162(0xc1)],'watchId':_0x549d64[_0x22f162(0xb4)],'nodeGeneration':_0x549d64[_0x22f162(0xe0)],'nodeId':this[_0x22f162(0x89)][_0x22f162(0xa8)]?.()??_0x22f162(0x104),'workspaceId':_0x549d64[_0x22f162(0x10a)]??_0x22f162(0xee),'sessionId':_0x549d64[_0x22f162(0xe2)],'expiresAt':_0x549d64[_0x22f162(0x102)],'event':_0x477917});}[_0x41e195(0xf0)](_0x59a151,_0x252f25){const _0x281d0f=_0x41e195,_0x29d6f5=[...this[_0x281d0f(0xa0)][_0x281d0f(0xd8)]()][_0x281d0f(0xfe)](_0x274b9d=>_0x274b9d[_0x281d0f(0xe2)]===_0x59a151['id']);if(_0x29d6f5[_0x281d0f(0xb6)]===-0x1b1*-0x11+0x12e*-0x2+-0x1d*0xe9){this[_0x281d0f(0x89)][_0x281d0f(0x8a)](_0x59a151,_0x252f25);return;}for(const _0x3c0935 of _0x29d6f5){if(!_0x3c0935[_0x281d0f(0x103)])continue;const _0x4f8c70=_0x3c0935[_0x281d0f(0xaf)]===_0x281d0f(0xdb)?this[_0x281d0f(0x89)][_0x281d0f(0xc0)]?.(_0x59a151,_0x252f25,_0x281d0f(0xdb),0x7dc+-0xbc9+0x23*0x1d):_0x252f25;if(_0x4f8c70===undefined)continue;this[_0x281d0f(0x89)][_0x281d0f(0xc4)]?.({'type':_0x281d0f(0xc8),'workbenchConnectionId':_0x3c0935[_0x281d0f(0xc1)],'watchId':_0x3c0935[_0x281d0f(0xb4)],'nodeGeneration':_0x3c0935[_0x281d0f(0xe0)],'nodeId':this[_0x281d0f(0x89)][_0x281d0f(0xa8)]?.()??_0x281d0f(0x104),'workspaceId':_0x59a151[_0x281d0f(0x10a)],'sessionId':_0x59a151['id'],'revision':0x1,'snapshotSequence':++this[_0x281d0f(0xe3)],'expiresAt':_0x3c0935[_0x281d0f(0x102)],'payload':_0x4f8c70});}}[_0x41e195(0x9a)](_0xcaec9c,_0x38521e,_0x408789){const _0x25c1f9=_0x41e195;for(const _0x42ffb4 of[...this[_0x25c1f9(0xa0)][_0x25c1f9(0xd8)]()]){if(_0x42ffb4[_0x25c1f9(0xe2)]!==_0xcaec9c['id'])continue;const _0x48d23e=_0x42ffb4[_0x25c1f9(0xaf)]===_0x25c1f9(0xdb)?this[_0x25c1f9(0x89)][_0x25c1f9(0xc0)]?.(_0xcaec9c,_0x38521e,_0x25c1f9(0xdb),-0x27+0x128b+-0x125a):_0x38521e;if(_0x48d23e===undefined)continue;this[_0x25c1f9(0xa9)](_0x42ffb4,_0xcaec9c,_0x48d23e);if(!_0x408789)continue;_0x42ffb4[_0x25c1f9(0x103)]=!![];for(const _0x3f2c4f of _0x42ffb4[_0x25c1f9(0x101)])this[_0x25c1f9(0xb5)](_0x42ffb4,_0x3f2c4f);_0x42ffb4[_0x25c1f9(0x101)][_0x25c1f9(0xb6)]=-0xc3b+0x20f4+-0x14b9;}}[_0x41e195(0xa9)](_0x38c050,_0x367be6,_0x604ed4){const _0x280134=_0x41e195;_0x38c050[_0x280134(0x88)]=!![],this[_0x280134(0x89)][_0x280134(0xc4)]?.({'type':_0x280134(0xc8),'workbenchConnectionId':_0x38c050[_0x280134(0xc1)],'watchId':_0x38c050[_0x280134(0xb4)],'nodeGeneration':_0x38c050[_0x280134(0xe0)],'nodeId':this[_0x280134(0x89)][_0x280134(0xa8)]?.()??_0x280134(0x104),'workspaceId':_0x367be6[_0x280134(0x10a)],'sessionId':_0x367be6['id'],'revision':0x1,'snapshotSequence':++this[_0x280134(0xe3)],'expiresAt':_0x38c050[_0x280134(0x102)],'payload':_0x604ed4});}[_0x41e195(0xcc)](_0x2ed878){const _0x3ed909=_0x41e195;for(const _0x213012 of this[_0x3ed909(0xa0)][_0x3ed909(0xd8)]()){if(_0x213012[_0x3ed909(0xe2)]!==_0x2ed878)continue;_0x213012[_0x3ed909(0x103)]=!![];for(const _0x105206 of _0x213012[_0x3ed909(0x101)])this[_0x3ed909(0xb5)](_0x213012,_0x105206);_0x213012[_0x3ed909(0x101)][_0x3ed909(0xb6)]=-0x219+0x483*-0x1+0x11a*0x6;}}[_0x41e195(0xf4)](_0x131e3c){const _0x30910d=_0x41e195;for(const _0x297811 of[...this[_0x30910d(0xa0)][_0x30910d(0xd8)]()]){if(_0x297811[_0x30910d(0xe2)]!==_0x131e3c)continue;this[_0x30910d(0x89)][_0x30910d(0xc4)]?.({'type':_0x30910d(0xc9),'workbenchConnectionId':_0x297811[_0x30910d(0xc1)],'watchType':_0x30910d(0x10c),'watchId':_0x297811[_0x30910d(0xb4)],'nodeGeneration':_0x297811[_0x30910d(0xe0)],'nodeId':this[_0x30910d(0x89)][_0x30910d(0xa8)]?.()??_0x30910d(0x104),'workspaceId':_0x297811[_0x30910d(0x10a)]??_0x30910d(0xee),'sessionId':_0x131e3c,'code':_0x30910d(0xc5),'message':_0x30910d(0xbc)}),this[_0x30910d(0xb3)](_0x297811[_0x30910d(0xc6)]);}this[_0x30910d(0xfb)](_0x131e3c);}[_0x41e195(0x86)](_0x16e4b9){const _0x23be09=_0x41e195;for(const _0x288719 of[...this[_0x23be09(0xa0)][_0x23be09(0xd8)]()])if(_0x288719[_0x23be09(0xe2)]===_0x16e4b9)this[_0x23be09(0xb3)](_0x288719[_0x23be09(0xc6)]);this[_0x23be09(0xfb)](_0x16e4b9);}[_0x41e195(0x98)](_0x75f6e){const _0x56372f=_0x41e195,_0x57df73=setTimeout(()=>this[_0x56372f(0xb3)](_0x75f6e),TTL_MS);return _0x57df73[_0x56372f(0xf2)](),_0x57df73;}[_0x41e195(0xec)](_0x4930b4){const _0x952cb8=_0x41e195;let _0x4719be=0x4*0x6a2+-0x13cb+-0x6bd;for(const _0x5151de of this[_0x952cb8(0xa0)][_0x952cb8(0xd8)]())if(_0x5151de[_0x952cb8(0xe2)]===_0x4930b4)_0x4719be=Math[_0x952cb8(0x10b)](_0x4719be,_0x5151de[_0x952cb8(0x102)]);return _0x4719be;}[_0x41e195(0xa5)](_0xe586cc){const _0x12d23e=_0x41e195,_0x5a58c2=setTimeout(()=>void this[_0x12d23e(0xe6)](_0xe586cc),INTERVAL_MS);return _0x5a58c2[_0x12d23e(0xf2)](),_0x5a58c2;}}function diagnosticErrorCode(_0x26509a,_0x1eea3e){const _0x51263b=_0x41e195,_0x3af674=safeErrorCode(_0x26509a,'');if(_0x3af674[_0x51263b(0xb6)]>0x1*-0x2692+-0xc1c+-0x1a*-0x1f3)return _0x3af674;if(_0x26509a!==null&&typeof _0x26509a===_0x51263b(0x93)&&_0x51263b(0x105)in _0x26509a&&typeof _0x26509a[_0x51263b(0x105)]===_0x51263b(0xe1)&&/^[A-Z][A-Z0-9_]{0,127}$/[_0x51263b(0xbb)](_0x26509a[_0x51263b(0x105)]))return _0x26509a[_0x51263b(0x105)];return _0x1eea3e;}function sessionActivity(_0x32bd52){const _0x466177=_0x41e195;if(!isPlainRecord(_0x32bd52[_0x466177(0x117)]))return undefined;if(_0x32bd52[_0x466177(0xa3)]===_0x466177(0xac)&&isPlainRecord(_0x32bd52[_0x466177(0x117)][_0x466177(0xac)])){const _0x5a1099=_0x32bd52[_0x466177(0x117)][_0x466177(0xac)][_0x466177(0x115)];if(_0x5a1099===_0x466177(0xab)||_0x5a1099===_0x466177(0x87)||_0x5a1099===_0x466177(0x8f))return _0x466177(0x87);return undefined;}if(_0x32bd52[_0x466177(0xa3)]!==_0x466177(0x10c))return undefined;const _0x45d163=_0x32bd52[_0x466177(0x117)][_0x466177(0x10c)];if(!isPlainRecord(_0x45d163)||typeof _0x45d163[_0x466177(0xd9)]!==_0x466177(0xe1))return undefined;return _0x45d163[_0x466177(0xd9)]===_0x466177(0xa2)?_0x466177(0x87):_0x466177(0xd6);}
@@ -1,2 +1,2 @@
1
1
  /* mar-release-protected */
2
- const _0x2f40f7=_0xe912;function _0xe912(_0x3b3a5e,_0x3591fb){_0x3b3a5e=_0x3b3a5e-(-0x6d*-0x13+0x13f*0x8+-0x40*0x41);const _0x400a91=_0x3ca1();let _0x4aca11=_0x400a91[_0x3b3a5e];if(_0xe912['TaVIJM']===undefined){var _0x1227c9=function(_0x218048){const _0x529904='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2e8bfe='',_0xd8a0e8='';for(let _0xdb1a11=-0x7*-0x191+0x1*0x2135+0xb0b*-0x4,_0x4b5a82,_0x521b48,_0x309c7c=0x257f+-0x39*0xab+0x1*0x94;_0x521b48=_0x218048['charAt'](_0x309c7c++);~_0x521b48&&(_0x4b5a82=_0xdb1a11%(-0x306*-0x9+-0xaed*0x1+-0x1045)?_0x4b5a82*(0x5ce+-0x195*-0xb+0x16f5*-0x1)+_0x521b48:_0x521b48,_0xdb1a11++%(-0xa8f*-0x2+-0x2631+0x1117))?_0x2e8bfe+=String['fromCharCode'](0x1*-0x848+-0x2104+0x2a4b&_0x4b5a82>>(-(0x1a4e+0xf82+-0x29ce)*_0xdb1a11&0x131+-0xe93+0xd68)):-0x25*-0x47+-0x3c4*-0x4+-0x1953){_0x521b48=_0x529904['indexOf'](_0x521b48);}for(let _0xebfaa7=0x2141*-0x1+-0x764*0x4+0x3ed1,_0x5f41b6=_0x2e8bfe['length'];_0xebfaa7<_0x5f41b6;_0xebfaa7++){_0xd8a0e8+='%'+('00'+_0x2e8bfe['charCodeAt'](_0xebfaa7)['toString'](0x7*-0x59+0x503+-0x284))['slice'](-(0x4cc*0x1+-0x1*0xf9b+0xad1));}return decodeURIComponent(_0xd8a0e8);};_0xe912['lWcdfi']=_0x1227c9,_0xe912['wKCNZe']={},_0xe912['TaVIJM']=!![];}const _0x546c21=_0x400a91[-0x1a7f+-0xb9d*0x1+0x9*0x43c];_0xe912['CgtAvf']!==_0x546c21&&(_0xe912['wKCNZe']={},_0xe912['CgtAvf']=_0x546c21);const _0x5e2f2e=_0xe912['wKCNZe'][_0x3b3a5e];return _0x5e2f2e===undefined?(_0x4aca11=_0xe912['lWcdfi'](_0x4aca11),_0xe912['wKCNZe'][_0x3b3a5e]=_0x4aca11):_0x4aca11=_0x5e2f2e,_0x4aca11;}(function(_0x4068b5,_0x338b9d){const _0x50e33f=_0xe912,_0x18081f=_0x4068b5();while(!![]){try{const _0x411440=-parseInt(_0x50e33f(0x1e8))/(-0x13*0xd+0x1*0x1df1+-0x1cf9)+parseInt(_0x50e33f(0x1f5))/(-0x7b*0x1+-0x23f7+0x2474)*(-parseInt(_0x50e33f(0x1ed))/(-0x16c5+0x2*-0x80e+-0x9b9*-0x4))+-parseInt(_0x50e33f(0x1f7))/(0xab2*0x2+0x260a+0xa9*-0x5a)+parseInt(_0x50e33f(0x1d7))/(-0x1*-0x1ae3+0x26b*0x1+-0x1d49)+parseInt(_0x50e33f(0x1d4))/(-0x2450+0x2277+0x1df)+-parseInt(_0x50e33f(0x200))/(0xbb9+-0x1e6a+0x12b8)*(parseInt(_0x50e33f(0x1f6))/(0xfde+-0x1*-0x9e4+-0x19ba))+parseInt(_0x50e33f(0x201))/(-0x1ec5*0x1+-0x1492+0x3360);if(_0x411440===_0x338b9d)break;else _0x18081f['push'](_0x18081f['shift']());}catch(_0x2d850e){_0x18081f['push'](_0x18081f['shift']());}}}(_0x3ca1,-0x4043*-0x4+-0x1*0x22c3f+0x2bc6d));import{isNodeAgentRun,isNodeConversationTurn,isPlainRecord}from'../runner/codex/conversation-parser.js';export function workbenchPayloadSessionId(_0x315f8e,_0x1ae711,_0x4e3970){const _0x473290=_0xe912;if(!isPlainRecord(_0x4e3970))return undefined;if(_0x1ae711===_0x473290(0x202)&&isPlainRecord(_0x4e3970[_0x473290(0x202)])){const _0x418d72=_0x4e3970[_0x473290(0x202)]['id'];return typeof _0x418d72===_0x473290(0x1e2)?_0x418d72:undefined;}if(_0x1ae711===_0x473290(0x1e0)&&isNodeAgentRun(_0x4e3970[_0x473290(0x1e0)]))return _0x4e3970[_0x473290(0x1e0)][_0x473290(0x1fa)];if(_0x1ae711===_0x473290(0x204)&&isNodeConversationTurn(_0x4e3970[_0x473290(0x1d3)]))return _0x4e3970[_0x473290(0x1d3)][_0x473290(0x1fa)];if(_0x1ae711===_0x473290(0x204)&&isPlainRecord(_0x4e3970[_0x473290(0x1da)])){const _0x59cdf9=_0x4e3970[_0x473290(0x1da)][_0x473290(0x1eb)];return typeof _0x59cdf9===_0x473290(0x1e2)?_0x315f8e[_0x473290(0x1ef)](_0x59cdf9)?.[_0x473290(0x1fa)]:undefined;}if(_0x1ae711===_0x473290(0x1e9)){const _0x5622b3=_0x4e3970[_0x473290(0x1fa)];return typeof _0x5622b3===_0x473290(0x1e2)?_0x5622b3:undefined;}return undefined;}export class NodeRunEventBridge{[_0x2f40f7(0x1e6)];constructor(_0x5d7494){const _0x61f1eb=_0x2f40f7;this[_0x61f1eb(0x1e6)]=_0x5d7494;}[_0x2f40f7(0x1e5)](_0x1385cc){const _0x4d4c1a=_0x2f40f7;this[_0x4d4c1a(0x1e6)][_0x4d4c1a(0x1d5)](_0x4d4c1a(0x1f8),_0x1385cc),this[_0x4d4c1a(0x1fb)](_0x1385cc[_0x4d4c1a(0x1eb)],_0x4d4c1a(0x1f8),_0x1385cc);}[_0x2f40f7(0x1fb)](_0x158789,_0x54d97e,_0x19fbcd,_0x40d22b){const _0x805467=_0x2f40f7;this[_0x805467(0x1e6)][_0x805467(0x1f9)][_0x805467(0x1d9)](_0x158789,_0x54d97e,_0x19fbcd,_0x40d22b);}[_0x2f40f7(0x1d2)](_0x3017f4,_0x50e652){const _0x572643=_0x2f40f7;this[_0x572643(0x1e6)][_0x572643(0x1f3)][_0x572643(0x1d9)](_0x3017f4,_0x50e652);}[_0x2f40f7(0x1f2)](_0x225a85,_0x30c347){const _0xa532b4=_0x2f40f7;this[_0xa532b4(0x1d2)](_0xa532b4(0x1e9),{'workspaceId':_0x225a85,'sessionId':_0x30c347,'queue':this[_0xa532b4(0x1e6)][_0xa532b4(0x1e1)][_0xa532b4(0x1e3)](_0x225a85,_0x30c347)});}[_0x2f40f7(0x1ee)](_0xba2ddf,_0x302326){const _0x4f1272=_0x2f40f7;for(const [_0xe90979,_0x1dc684]of this[_0x4f1272(0x1e6)][_0x4f1272(0x1f0)][_0x4f1272(0x1e4)][_0x4f1272(0x1fe)]){if(_0x1dc684[_0x4f1272(0x1fa)]===_0xba2ddf)this[_0x4f1272(0x1e6)][_0x4f1272(0x1f0)][_0x4f1272(0x1e4)][_0x4f1272(0x1fe)][_0x4f1272(0x1ec)](_0xe90979,{..._0x1dc684,'sessionId':_0x302326});}for(const [_0x36c59c,_0x44edfe]of this[_0x4f1272(0x1e6)][_0x4f1272(0x1f0)][_0x4f1272(0x1e4)][_0x4f1272(0x1dc)]){if(_0x44edfe[_0x4f1272(0x1fa)]===_0xba2ddf)this[_0x4f1272(0x1e6)][_0x4f1272(0x1f0)][_0x4f1272(0x1e4)][_0x4f1272(0x1dc)][_0x4f1272(0x1ec)](_0x36c59c,{..._0x44edfe,'sessionId':_0x302326});}for(const [_0x28b4de,_0x5bd6db]of this[_0x4f1272(0x1e6)][_0x4f1272(0x1e7)][_0x4f1272(0x1e4)][_0x4f1272(0x1dc)]){if(_0x5bd6db[_0x4f1272(0x1d8)]===_0xba2ddf)this[_0x4f1272(0x1e6)][_0x4f1272(0x1e7)][_0x4f1272(0x1e4)][_0x4f1272(0x1dc)][_0x4f1272(0x1ec)](_0x28b4de,{..._0x5bd6db,'marSessionId':_0x302326});}for(const [_0x9c3c0f,_0x3c2e36]of this[_0x4f1272(0x1e6)][_0x4f1272(0x1de)][_0x4f1272(0x1e4)]){if(_0x3c2e36[_0x4f1272(0x1fa)]===_0xba2ddf)this[_0x4f1272(0x1e6)][_0x4f1272(0x1de)][_0x4f1272(0x1e4)][_0x4f1272(0x1ec)](_0x9c3c0f,{..._0x3c2e36,'sessionId':_0x302326});}}[_0x2f40f7(0x1df)](_0x594c92){const _0x38c2ab=_0x2f40f7,_0x497694=_0x594c92[_0x38c2ab(0x1f4)];if(!Array[_0x38c2ab(0x1d6)](_0x497694[_0x38c2ab(0x203)])||_0x497694[_0x38c2ab(0x203)][_0x38c2ab(0x1db)](_0x112e67=>typeof _0x112e67!==_0x38c2ab(0x1e2))){this[_0x38c2ab(0x1e6)][_0x38c2ab(0x1d5)](_0x38c2ab(0x1ff),{'code':_0x38c2ab(0x1f1)},_0x594c92['id']);return;}for(const _0x393e5a of _0x497694[_0x38c2ab(0x203)]){const _0x5953a9=this[_0x38c2ab(0x1e6)][_0x38c2ab(0x1fd)][_0x38c2ab(0x205)][_0x38c2ab(0x1fc)](_0x393e5a);this[_0x38c2ab(0x1e6)][_0x38c2ab(0x1ea)][_0x38c2ab(0x1d1)](_0x393e5a,_0x5953a9),this[_0x38c2ab(0x1e6)][_0x38c2ab(0x1d5)](_0x38c2ab(0x1dd),{'runId':_0x393e5a,'known':_0x5953a9});}this[_0x38c2ab(0x1e6)][_0x38c2ab(0x1d5)](_0x38c2ab(0x1cf),{'type':_0x38c2ab(0x1d0)},_0x594c92['id']);}}function _0x3ca1(){const _0x2bdf62=['BwfUywDLzfr1CM5Z','zxjYB3i','ntK1r0rjt2Pv','ndu2mJG4m1btqwLAsq','C2vZC2LVBG','CNvUswrZ','y29UDMvYC2f0Aw9U','ywn0AxzL','ywnR','CNvUCY5YzwnVBMnPBgu','CMvJB25JAwXLuNvU','zw1PDfDVCMTIzw5JAa','DhvYBG','nZy5mZjZEu1LrKG','C2vUza','AxnbCNjHEq','mty5nJe1uvLsExDP','BwfYu2vZC2LVBKLK','zw1PDa','zxzLBNq','C29Tzq','CNvUCW','BgvHC2uUCMvJB25JAwXL','B3bLBKnVzgu','CMvJB25JAwXL','CNvU','CxvLDwvZ','C3rYAw5N','ChjLC2vUDa','zxHLy3v0Aw9U','ChvIBgLZAefWChjVDMfS','B3b0Aw9UCW','y2XHDwrL','mtaYodCYEMLhs1zX','CxvLDwu','CNvUDgLTzq','CNvUswq','C2v0','mtCXou5yzgz5ra','BwLNCMf0zvj1BM5LCLnLC3nPB25jzgvUDgL0Eq','z2v0uNvU','y29KzxG','tuvtu0fhrv9jtLzbteLe','zw1PDff1zxvL','D29YA2jLBMnO','Cgf5Bg9Hza','mtuYrMDNzgDe','mtiZmJHAC1r6AgG','nJK0nduYveHRyKrW','yxbWCM92ywWUCMvXDwvZDa','zxzLBNrZ','C2vZC2LVBKLK','zw1PDfj1BG','AgfZ','C3rHDgu'];_0x3ca1=function(){return _0x2bdf62;};return _0x3ca1();}
2
+ const _0x210daf=_0x3789;(function(_0x54ba8c,_0x1ce275){const _0x41d954=_0x3789,_0xc84970=_0x54ba8c();while(!![]){try{const _0x20fd57=-parseInt(_0x41d954(0xba))/(0x192+0x2253+-0x23e4)+-parseInt(_0x41d954(0xa7))/(0x26fb+-0x18b2*0x1+-0xe47)+parseInt(_0x41d954(0xcf))/(-0xc9*-0x21+0x16c0+0x1df*-0x1a)+parseInt(_0x41d954(0xa3))/(-0x1bce+-0x15d7+0x31a9)+parseInt(_0x41d954(0xb1))/(0x89*-0x7+0x227+0x19d)*(parseInt(_0x41d954(0xc2))/(-0x25d2+0x1*0x1dcb+0x1*0x80d))+-parseInt(_0x41d954(0xa6))/(-0x5*0x84+-0x461*-0x3+-0x2*0x544)*(-parseInt(_0x41d954(0xd3))/(-0x9ae+-0xd*0x14d+0x1a9f))+parseInt(_0x41d954(0xd4))/(-0x1825+0x2043+-0x815)*(-parseInt(_0x41d954(0xb2))/(0x100f*0x1+0x1239+-0x223e));if(_0x20fd57===_0x1ce275)break;else _0xc84970['push'](_0xc84970['shift']());}catch(_0x55fbd7){_0xc84970['push'](_0xc84970['shift']());}}}(_0x37ba,-0x154fd*-0x1+0x2d1da+-0x18a4e));function _0x3789(_0x534f01,_0x502b4b){_0x534f01=_0x534f01-(0x1*0x260f+0x3*-0xb65+-0x33f);const _0x18aa82=_0x37ba();let _0x350c7a=_0x18aa82[_0x534f01];if(_0x3789['zqtGDA']===undefined){var _0x1facea=function(_0x3fabe4){const _0x3753ef='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3aed02='',_0x260852='';for(let _0x122319=-0x22ec+-0x306*-0x1+0x1*0x1fe6,_0x46d668,_0x5dc97c,_0x4d30b1=0x1f0d+0x2b*0x17+-0x22ea;_0x5dc97c=_0x3fabe4['charAt'](_0x4d30b1++);~_0x5dc97c&&(_0x46d668=_0x122319%(-0xf46+0x99e+0x1e4*0x3)?_0x46d668*(-0x21a0+-0x14f7*0x1+0x36d7)+_0x5dc97c:_0x5dc97c,_0x122319++%(-0x19da*0x1+-0xaae*0x1+0x248c))?_0x3aed02+=String['fromCharCode'](-0x20e3+0x19*-0xa+0x17*0x184&_0x46d668>>(-(-0x6a0+-0x24d8+0x73f*0x6)*_0x122319&0x8*0xb5+-0x1a5*0x6+-0x2*-0x21e)):0x4*0x961+0x4*0x2f+-0x2640){_0x5dc97c=_0x3753ef['indexOf'](_0x5dc97c);}for(let _0x416db9=-0x235d+-0x184c+0x3ba9,_0x39770f=_0x3aed02['length'];_0x416db9<_0x39770f;_0x416db9++){_0x260852+='%'+('00'+_0x3aed02['charCodeAt'](_0x416db9)['toString'](0xf82+0xe1*0x4+-0x652*0x3))['slice'](-(0x25ff+-0x265c+0x13*0x5));}return decodeURIComponent(_0x260852);};_0x3789['SqaUuy']=_0x1facea,_0x3789['bKRUrk']={},_0x3789['zqtGDA']=!![];}const _0x5f0ca7=_0x18aa82[-0x7*-0x13a+0x1b8d+-0x2423];_0x3789['Jtgsbp']!==_0x5f0ca7&&(_0x3789['bKRUrk']={},_0x3789['Jtgsbp']=_0x5f0ca7);const _0x3ff225=_0x3789['bKRUrk'][_0x534f01];return _0x3ff225===undefined?(_0x350c7a=_0x3789['SqaUuy'](_0x350c7a),_0x3789['bKRUrk'][_0x534f01]=_0x350c7a):_0x350c7a=_0x3ff225,_0x350c7a;}function _0x37ba(){const _0x3a67da=['odi3otK2DeXxwMPA','BwfUywDLzfr1CM5Z','B3b0Aw9UCW','odrsBKnYwKK','mZe4odyWuurhs2LJ','CNvUCW','DhvYBG','CNvUCY5YzwnVBMnPBgu','zw1PDfDVCMTIzw5JAa','C2v0','Cgf5Bg9Hza','C3rHDgu','zw1PDff1zxvL','y29KzxG','mtaZodG1yw1Twe9g','mty2otbeq1L0zfu','y29UDMvYC2f0Aw9U','ywnR','BgvHC2uUCMvJB25JAwXL','tuvtu0fhrv9jtLzbteLe','yxbWCM92ywWUCMvXDwvZDa','C2vZC2LVBG','zxHLy3v0Aw9U','odu1n01Trxjzqq','AxnbCNjHEq','CxvLDwvZ','zw1PDa','z2v0uNvU','BwfYu2vZC2LVBKLK','C3rYAw5N','zxjYB3i','mtjtqNjWA1q','C2vUza','AgfZ','BwLNCMf0zvj1BM5LCLnLC3nPB25jzgvUDgL0Eq','CNvU','CNvUswq','C29Tzq','CxvLDwu','ywn0AxzL','ChjLC2vUDa','zxzLBNq','ChvIBgLZAefWChjVDMfS','zw1PDfj1BG','odq3mZy4AMvWD0Td','zxzLBNrZ','CMvJB25JAwXL','CMvJB25JAwXLuNvU','nJKWmJrjruD1AK0','mtu5m1PrsKz4Ba','CNvUDgLTzq','y2XHDwrL','B3bLBKnVzgu','CNvUswrZ','C2vZC2LVBKLK'];_0x37ba=function(){return _0x3a67da;};return _0x37ba();}import{isNodeAgentRun,isNodeConversationTurn,isPlainRecord}from'../runner/codex/conversation-parser.js';export function workbenchPayloadSessionId(_0x5b8f19,_0x2b5276,_0x3b029c){const _0x5ea5f3=_0x3789;if(!isPlainRecord(_0x3b029c))return undefined;if(_0x2b5276===_0x5ea5f3(0xb8)){if(isPlainRecord(_0x3b029c[_0x5ea5f3(0xb8)])){const _0x327a09=_0x3b029c[_0x5ea5f3(0xb8)]['id'];if(typeof _0x327a09===_0x5ea5f3(0xc0))return _0x327a09;}return typeof _0x3b029c[_0x5ea5f3(0xa2)]===_0x5ea5f3(0xc0)?_0x3b029c[_0x5ea5f3(0xa2)]:undefined;}if(_0x2b5276===_0x5ea5f3(0xc6)&&isNodeAgentRun(_0x3b029c[_0x5ea5f3(0xc6)]))return _0x3b029c[_0x5ea5f3(0xc6)][_0x5ea5f3(0xa2)];if(_0x2b5276===_0x5ea5f3(0xb3)){if(isNodeConversationTurn(_0x3b029c[_0x5ea5f3(0xa9)]))return _0x3b029c[_0x5ea5f3(0xa9)][_0x5ea5f3(0xa2)];if(typeof _0x3b029c[_0x5ea5f3(0xa2)]===_0x5ea5f3(0xc0))return _0x3b029c[_0x5ea5f3(0xa2)];if(isPlainRecord(_0x3b029c[_0x5ea5f3(0xcc)])){const _0x55962d=_0x3b029c[_0x5ea5f3(0xcc)][_0x5ea5f3(0xc7)];return typeof _0x55962d===_0x5ea5f3(0xc0)?_0x5b8f19[_0x5ea5f3(0xbe)](_0x55962d)?.[_0x5ea5f3(0xa2)]:undefined;}}if(_0x2b5276===_0x5ea5f3(0xc9)){const _0x3467cb=_0x3b029c[_0x5ea5f3(0xa2)];return typeof _0x3467cb===_0x5ea5f3(0xc0)?_0x3467cb:undefined;}return undefined;}export class NodeRunEventBridge{[_0x210daf(0xa5)];constructor(_0x14d4ad){const _0x5e5c4c=_0x210daf;this[_0x5e5c4c(0xa5)]=_0x14d4ad;}[_0x210daf(0xcd)](_0x4942ec){const _0x26416e=_0x210daf;this[_0x26416e(0xa5)][_0x26416e(0xc3)](_0x26416e(0xb7),_0x4942ec),this[_0x26416e(0xce)](_0x4942ec[_0x26416e(0xc7)],_0x26416e(0xb7),_0x4942ec);}[_0x210daf(0xce)](_0x48361f,_0x21c86a,_0x1d0c62,_0x3b6cac){const _0x244e4d=_0x210daf;this[_0x244e4d(0xa5)][_0x244e4d(0xd0)][_0x244e4d(0xbd)](_0x48361f,_0x21c86a,_0x1d0c62,_0x3b6cac);}[_0x210daf(0xaf)](_0x214b8f,_0x2c7685){const _0x5602e0=_0x210daf;this[_0x5602e0(0xa5)][_0x5602e0(0xab)](_0x5602e0(0xc9),{'workspaceId':_0x214b8f,'sessionId':_0x2c7685,'queue':this[_0x5602e0(0xa5)][_0x5602e0(0xbc)][_0x5602e0(0xcb)](_0x214b8f,_0x2c7685)});}[_0x210daf(0xc5)](_0x40062c,_0x591745){const _0x5b05e3=_0x210daf;for(const [_0x6a69cc,_0x161a38]of this[_0x5b05e3(0xa5)][_0x5b05e3(0xb0)][_0x5b05e3(0xb9)][_0x5b05e3(0xa4)]){if(_0x161a38[_0x5b05e3(0xa2)]===_0x40062c)this[_0x5b05e3(0xa5)][_0x5b05e3(0xb0)][_0x5b05e3(0xb9)][_0x5b05e3(0xa4)][_0x5b05e3(0xac)](_0x6a69cc,{..._0x161a38,'sessionId':_0x591745});}for(const [_0x1b01c7,_0x49a092]of this[_0x5b05e3(0xa5)][_0x5b05e3(0xb0)][_0x5b05e3(0xb9)][_0x5b05e3(0xa8)]){if(_0x49a092[_0x5b05e3(0xa2)]===_0x40062c)this[_0x5b05e3(0xa5)][_0x5b05e3(0xb0)][_0x5b05e3(0xb9)][_0x5b05e3(0xa8)][_0x5b05e3(0xac)](_0x1b01c7,{..._0x49a092,'sessionId':_0x591745});}for(const [_0x145dbb,_0xefc51c]of this[_0x5b05e3(0xa5)][_0x5b05e3(0xd6)][_0x5b05e3(0xb9)][_0x5b05e3(0xa8)]){if(_0xefc51c[_0x5b05e3(0xbf)]===_0x40062c)this[_0x5b05e3(0xa5)][_0x5b05e3(0xd6)][_0x5b05e3(0xb9)][_0x5b05e3(0xa8)][_0x5b05e3(0xac)](_0x145dbb,{..._0xefc51c,'marSessionId':_0x591745});}for(const [_0x102257,_0x22a6c1]of this[_0x5b05e3(0xa5)][_0x5b05e3(0xd7)][_0x5b05e3(0xb9)]){if(_0x22a6c1[_0x5b05e3(0xa2)]===_0x40062c)this[_0x5b05e3(0xa5)][_0x5b05e3(0xd7)][_0x5b05e3(0xb9)][_0x5b05e3(0xac)](_0x102257,{..._0x22a6c1,'sessionId':_0x591745});}}[_0x210daf(0xd1)](_0x5c4259){const _0x426910=_0x210daf,_0x34276a=_0x5c4259[_0x426910(0xad)];if(!Array[_0x426910(0xbb)](_0x34276a[_0x426910(0xa1)])||_0x34276a[_0x426910(0xa1)][_0x426910(0xc8)](_0x4c0571=>typeof _0x4c0571!==_0x426910(0xc0))){this[_0x426910(0xa5)][_0x426910(0xc3)](_0x426910(0xc1),{'code':_0x426910(0xb6)},_0x5c4259['id']);return;}for(const _0x485509 of _0x34276a[_0x426910(0xa1)]){const _0x11fdb9=this[_0x426910(0xa5)][_0x426910(0xae)][_0x426910(0xca)][_0x426910(0xc4)](_0x485509);this[_0x426910(0xa5)][_0x426910(0xd5)][_0x426910(0xd2)](_0x485509,_0x11fdb9),this[_0x426910(0xa5)][_0x426910(0xc3)](_0x426910(0xb5),{'runId':_0x485509,'known':_0x11fdb9});}this[_0x426910(0xa5)][_0x426910(0xc3)](_0x426910(0xb4),{'type':_0x426910(0xaa)},_0x5c4259['id']);}}
@@ -1,2 +1,2 @@
1
1
  /* mar-release-protected */
2
- function _0x5594(){const _0xaf02a4=['ntmYmtu2ogXnyNrQvq','uLvox1rfuK1jtKfm','yxbWCM92ywXjza','DxnLCI1PBNb1DdO','zw5XDwv1zvrLEhq','AxntywzLsw50zwDLCG','AxnbCNjHEq','C2vZC2LVBLf1zxvL','zw1PDa','rKfjteve','DxnLCKLK','y2XLyxi','CNvUswrZ','Aw50zxjYDxb0uMvXDwvZDgvK','CNvUlMv2zw50','Dgv4Dc5KzwX0yq','mJGYDgrgyMfY','u1vdq0vfreve','mJuXntC1mMfmCgfQDq','mMXAvMrNqG','CMvQzwn0qM9VDhn0CMfW','CNvUBMvYrMfPBgvK','DMfSDwvZ','AxncB290C3rYyxbtzxnZAw9U','yxbWCM92ywWUCMvXDwvZDa','CMvTB3zLvgvYBwLUywXsDw4','DxnLCL9PBNb1Df9Yzxf1zxn0','zMX1C2HuzxH0','nJK5mJvszuTfq0G','C3rYAw5N','yxbWCM92ywW6','CNvUBMvYvgL0Bgu','z2v0uNvU','y2XLyw51Cef0DgfJAg1LBNrZ','C2vZC2LVBG','ndC4mZKYmeXisM1qEG','zgvSzxrL','y3vZDg9TvgL0Bgu','u0vtu0LptL9tvefsvf9gquLmruq','A2LUza','y29UDMvYC2f0Aw9UlML0zw0','C2v0','AgfZ','CgXHBJO','otqYndu0sLHsELPj','Aw5PDgLHDgvKqNLvC2vYswq','ueXbtL9srufewq','Dgv4Da','zMX1C2Hqzw5KAw5Nvgv4Da','BM90AwzPy2f0Aw9U','zw1PDfDVCMTIzw5JAa','DgLTzxi','C2vXDwvUy2u','mJe1nJG1m1LtrwnvzW','Bwv0CMLJCW','vvnfuL9jtLbvvf9srvfvsvjfra','qvbquK9wquXFuKvrvuLsruq','y3jLyxrLzef0','yxbWzw5KuNvUrxzLBNq','C2vZC2LVBKLK','y29UDMvYC2f0Aw9U','zgLZCgf0y2HrDwv1zq','zxHWAxjLsw1Hz2vZ','z2v0','mJi5otqZmtzkue5ytw4','D29YA3nWywnLswq','BM90AwzPy2f0Aw9Uugf5Bg9Hza','Cgf5Bg9Hza','BM93','B3b0Aw9UCW','CNvU','CgXHBG','ChjLC2vUDfnLC3nPB24','BgfZDfj1BLnLCxvLBMnL','CMvTB3zLuxvLDwvKu3rHCNq','Cgf1C2vrDwv1zq','ywn0AxzL','C3rHDgu','y29UDMvYC2f0Aw9UvhvYBKzVCLj1BG','z2v0qwDLBNrtzxnZAw9U','AxrLBuLK','BgvUz3rO','CNvUoG','zw1PDe5VDW','CgvUzgLUz1rLEhq','CNvUDgLTzq','C2nOzwr1BgvdB250zxH0uMvMCMvZAa','CxvLC3rPB25Z'];_0x5594=function(){return _0xaf02a4;};return _0x5594();}const _0x196ac6=_0x39d3;(function(_0x5c8701,_0x494b79){const _0x5978c5=_0x39d3,_0x2b67af=_0x5c8701();while(!![]){try{const _0x5512ff=-parseInt(_0x5978c5(0xb9))/(-0x1d*-0x79+-0x25b2+0xa6*0x25)+parseInt(_0x5978c5(0xf8))/(-0x6b2+0x10af*-0x1+-0x1763*-0x1)*(parseInt(_0x5978c5(0xc2))/(0xaf6*-0x1+-0x9*0x137+-0x15e8*-0x1))+-parseInt(_0x5978c5(0xb0))/(0xf2a+-0x12f*0x5+0x8b*-0x11)+-parseInt(_0x5978c5(0xa9))/(-0x2165+-0x1935+0x3a9f)*(-parseInt(_0x5978c5(0xf5))/(-0x12c1*-0x2+-0x821*0x3+0x7*-0x1df))+-parseInt(_0x5978c5(0xe5))/(-0x4f*0x7a+0xf9a+-0x1613*-0x1)+-parseInt(_0x5978c5(0xf7))/(0xa75+-0x2201+0x4*0x5e5)+parseInt(_0x5978c5(0xcd))/(0x6c6+0x1071+-0x172e);if(_0x5512ff===_0x494b79)break;else _0x2b67af['push'](_0x2b67af['shift']());}catch(_0x43fc30){_0x2b67af['push'](_0x2b67af['shift']());}}}(_0x5594,0xaa7b7*0x1+-0x691d*-0x4+-0x15750));import{nodeLog}from'../operational.js';function _0x39d3(_0x44af1b,_0x34273b){_0x44af1b=_0x44af1b-(-0x4ac*-0x1+0x1ed*-0x11+0x1cb4);const _0x1f7e4a=_0x5594();let _0x44497b=_0x1f7e4a[_0x44af1b];if(_0x39d3['IRKrKz']===undefined){var _0xee8470=function(_0xd1d50e){const _0x41bb92='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5b1dde='',_0x50aa9c='';for(let _0x2f6b9e=-0x63d*0x2+-0xb95*-0x3+-0x1645,_0x5efced,_0x3ea515,_0x15209c=0x2363+-0x1210+-0x377*0x5;_0x3ea515=_0xd1d50e['charAt'](_0x15209c++);~_0x3ea515&&(_0x5efced=_0x2f6b9e%(-0x1b9c+0xf*0x76+0x14b6)?_0x5efced*(0x1b+0x12ee+-0x15*0xe5)+_0x3ea515:_0x3ea515,_0x2f6b9e++%(0x225f+-0x1990+-0x8cb))?_0x5b1dde+=String['fromCharCode'](-0x1*0x1f23+-0x1171*-0x1+0x1*0xeb1&_0x5efced>>(-(-0x1*0x283+0x24ef+-0x226a)*_0x2f6b9e&-0x557*0x2+0xce7*0x2+-0x1*0xf1a)):-0x21e1+0x696+0x1b4b){_0x3ea515=_0x41bb92['indexOf'](_0x3ea515);}for(let _0x5e7053=0x1269*-0x1+-0x2528+0x3791,_0x564b90=_0x5b1dde['length'];_0x5e7053<_0x564b90;_0x5e7053++){_0x50aa9c+='%'+('00'+_0x5b1dde['charCodeAt'](_0x5e7053)['toString'](-0x3a*-0x6+0xbf*0x2d+0x71*-0x4f))['slice'](-(0x11cd*0x1+0x7*-0x2e7+0x286));}return decodeURIComponent(_0x50aa9c);};_0x39d3['Lmfiwd']=_0xee8470,_0x39d3['FHSJoi']={},_0x39d3['IRKrKz']=!![];}const _0x3fe0aa=_0x1f7e4a[-0x685*-0x3+-0x2088+0xcf9];_0x39d3['MBjDaw']!==_0x3fe0aa&&(_0x39d3['FHSJoi']={},_0x39d3['MBjDaw']=_0x3fe0aa);const _0x2af763=_0x39d3['FHSJoi'][_0x44af1b];return _0x2af763===undefined?(_0x44497b=_0x39d3['Lmfiwd'](_0x44497b),_0x39d3['FHSJoi'][_0x44af1b]=_0x44497b):_0x44497b=_0x2af763,_0x44497b;}import{isPlainRecord,isTerminalRunStatus}from'../util/node-operation-parsers.js';const COALESCE_MS=-0x195d+0xd5b+-0x2*-0x665,MAX_BATCH_CHARS=-0x17b*0x1+-0x67c6+-0xd05*-0xd;export class RunEventService{[_0x196ac6(0xd2)];[_0x196ac6(0xe1)]=new Map();constructor(_0x29fa95){const _0x211ec6=_0x196ac6;this[_0x211ec6(0xd2)]=_0x29fa95;}[_0x196ac6(0xed)](_0xc7f998,_0x1d406a,_0x22a7c5,_0x4f2f91){const _0x571325=_0x196ac6;if(_0x1d406a===_0x571325(0xf4)&&_0x4f2f91===undefined&&isPlainRecord(_0x22a7c5)&&typeof _0x22a7c5[_0x571325(0xbc)]===_0x571325(0xaa)){this[_0x571325(0xe9)](_0xc7f998,_0x22a7c5[_0x571325(0xbc)],typeof _0x22a7c5[_0x571325(0xdd)]===_0x571325(0xaa)?_0x22a7c5[_0x571325(0xdd)]:undefined);return;}this[_0x571325(0xa8)](_0xc7f998),this[_0x571325(0xe0)](_0xc7f998,_0x1d406a,_0x22a7c5,_0x4f2f91);}[_0x196ac6(0xf0)](){const _0x1ddf71=_0x196ac6;for(const _0x5e76e5 of this[_0x1ddf71(0xe1)][_0x1ddf71(0xa3)]())clearTimeout(_0x5e76e5[_0x1ddf71(0xc0)]);this[_0x1ddf71(0xe1)][_0x1ddf71(0xf0)]();}[_0x196ac6(0xbd)](_0xdc4e91){const _0x2acce6=_0x196ac6;this[_0x2acce6(0xa8)](_0xdc4e91);}[_0x196ac6(0xe9)](_0x5605df,_0x579392,_0x40bd47){const _0x5b9e09=_0x196ac6;if(_0x579392[_0x5b9e09(0xde)]===0xcda+0x1*0xfbb+-0x1c95)return;const _0x254e45=this[_0x5b9e09(0xe1)][_0x5b9e09(0xcc)](_0x5605df);if(_0x254e45!==undefined&&_0x254e45[_0x5b9e09(0xdd)]===_0x40bd47){_0x254e45[_0x5b9e09(0xbc)]+=_0x579392;if(_0x254e45[_0x5b9e09(0xbc)][_0x5b9e09(0xde)]>=MAX_BATCH_CHARS)this[_0x5b9e09(0xa8)](_0x5605df);return;}if(_0x254e45!==undefined)this[_0x5b9e09(0xa8)](_0x5605df);const _0x656673=setTimeout(()=>this[_0x5b9e09(0xa8)](_0x5605df),COALESCE_MS);this[_0x5b9e09(0xe1)][_0x5b9e09(0xb6)](_0x5605df,{'text':_0x579392,..._0x40bd47===undefined?{}:{'itemId':_0x40bd47},'timer':_0x656673});}[_0x196ac6(0xa8)](_0x37b970){const _0x58357d=_0x196ac6,_0xdfa34a=this[_0x58357d(0xe1)][_0x58357d(0xcc)](_0x37b970);if(_0xdfa34a===undefined)return;clearTimeout(_0xdfa34a[_0x58357d(0xc0)]),this[_0x58357d(0xe1)][_0x58357d(0xb1)](_0x37b970),this[_0x58357d(0xe0)](_0x37b970,_0x58357d(0xf4),{'text':_0xdfa34a[_0x58357d(0xbc)],..._0xdfa34a[_0x58357d(0xdd)]===undefined?{}:{'itemId':_0xdfa34a[_0x58357d(0xdd)]}});}[_0x196ac6(0xe0)](_0x145df5,_0xca1ab6,_0x1937fd,_0x2570c9){const _0x630893=_0x196ac6;if(this[_0x630893(0xd2)][_0x630893(0xe2)][_0x630893(0xad)](_0x145df5)===undefined)return;const _0x59278c=this[_0x630893(0xcf)](_0x145df5,_0xca1ab6,_0x1937fd,_0x2570c9),_0x54afa9={'runId':_0x145df5,'sequence':this[_0x630893(0xd2)][_0x630893(0xe2)][_0x630893(0xd6)](_0x145df5)+(-0x18a3+-0x2f3*-0xd+-0xdb3),'eventType':_0xca1ab6,'payload':_0x1937fd,..._0x2570c9===undefined?{}:{'status':_0x2570c9}};if(_0xca1ab6!==_0x630893(0xf4))nodeLog(_0x630893(0xf3),{'runId':_0x145df5,'eventType':_0xca1ab6,'status':_0x2570c9});if(_0x2570c9===_0x630893(0xee))this[_0x630893(0xd2)][_0x630893(0xc3)][_0x630893(0xfa)]();let _0x181385=undefined;try{_0x181385=this[_0x630893(0xd2)][_0x630893(0xe2)][_0x630893(0xc7)]({'runId':_0x145df5,'sequence':_0x54afa9[_0x630893(0xc1)],'eventType':_0xca1ab6,'payload':_0x1937fd,..._0x2570c9===undefined?{}:{'status':_0x2570c9}});}catch{}if(_0x2570c9!==undefined&&isTerminalRunStatus(_0x2570c9)){this[_0x630893(0xd2)][_0x630893(0xda)][_0x630893(0xd9)][_0x630893(0xb1)](_0x145df5),this[_0x630893(0xd2)][_0x630893(0xda)][_0x630893(0xf2)][_0x630893(0xb1)](_0x145df5);const _0x58aad0=this[_0x630893(0xd2)][_0x630893(0xe2)][_0x630893(0xad)](_0x145df5);if(_0x58aad0!==undefined&&this[_0x630893(0xd2)][_0x630893(0xa4)](_0x58aad0[_0x630893(0xc8)]))this[_0x630893(0xd2)][_0x630893(0xf9)](_0x58aad0[_0x630893(0xc8)],_0x630893(0xb3));}if(_0x2570c9!==undefined){const _0x55ebed=this[_0x630893(0xd2)][_0x630893(0xe2)][_0x630893(0xad)](_0x145df5);this[_0x630893(0xd2)][_0x630893(0xbf)](_0x630893(0xd3),{'run':_0x55ebed});const _0x10232a=_0x55ebed===undefined?undefined:this[_0x630893(0xd2)][_0x630893(0xe2)][_0x630893(0xdc)](_0x55ebed[_0x630893(0xc8)]);if(_0x10232a!==undefined)this[_0x630893(0xd2)][_0x630893(0xbf)](_0x630893(0xaf),{'session':this[_0x630893(0xd2)][_0x630893(0xd5)](_0x10232a)});}this[_0x630893(0xd2)][_0x630893(0xbf)](_0x630893(0xc9),{'event':{..._0x54afa9,'createdAt':_0x181385?.[_0x630893(0xc6)]??Date[_0x630893(0xd1)]()}});if(_0x59278c!==undefined){const _0x40d8c3=_0x181385?.[_0x630893(0xc6)]??Date[_0x630893(0xd1)]();nodeLog(_0x630893(0xf3),{'runId':_0x145df5,'eventType':_0x630893(0xbe)}),this[_0x630893(0xd2)][_0x630893(0xbf)](_0x630893(0xc9),{'event':{'runId':_0x145df5,'sequence':_0x54afa9[_0x630893(0xc1)],'eventType':_0x630893(0xbe),'payload':{..._0x59278c,'occurredAt':_0x40d8c3},'createdAt':_0x40d8c3}});}if(_0x2570c9===undefined||!isTerminalRunStatus(_0x2570c9))return;const _0x2d326c=this[_0x630893(0xd2)][_0x630893(0xe2)][_0x630893(0xdb)](_0x145df5);if(_0x2d326c!==undefined)this[_0x630893(0xd2)][_0x630893(0xbf)](_0x630893(0xc9),{'turn':_0x2d326c});this[_0x630893(0xd2)][_0x630893(0xae)](_0x145df5),this[_0x630893(0xd2)][_0x630893(0xcb)](_0x145df5),this[_0x630893(0xd2)][_0x630893(0xd7)](_0x145df5);const _0x31590c=this[_0x630893(0xd2)][_0x630893(0xe2)][_0x630893(0xad)](_0x145df5);if(_0x31590c!==undefined){this[_0x630893(0xd2)][_0x630893(0xe3)](_0x31590c[_0x630893(0xc8)]);if(_0x2570c9===_0x630893(0xee))this[_0x630893(0xd2)][_0x630893(0xd8)](_0x31590c[_0x630893(0xc8)]);this[_0x630893(0xd2)][_0x630893(0xe2)][_0x630893(0xa6)](_0x145df5);if(_0x2570c9!==_0x630893(0xee))void this[_0x630893(0xd2)][_0x630893(0xca)](_0x31590c[_0x630893(0xc8)]);}}[_0x196ac6(0xcf)](_0x49a089,_0x4f5fc4,_0x49e24d,_0x456a7d){const _0x42d51f=_0x196ac6;if(_0x4f5fc4===_0x42d51f(0xbe))return undefined;const _0x16e4a2=this[_0x42d51f(0xd2)][_0x42d51f(0xe2)][_0x42d51f(0xad)](_0x49a089);if(_0x16e4a2===undefined)return undefined;const _0x31ef05=this[_0x42d51f(0xd2)][_0x42d51f(0xe2)][_0x42d51f(0xdc)](_0x16e4a2[_0x42d51f(0xc8)]);if(_0x31ef05===undefined)return undefined;const _0x5e47c7={'userId':_0x16e4a2[_0x42d51f(0xba)],'workspaceId':_0x16e4a2[_0x42d51f(0xce)],'sessionId':_0x16e4a2[_0x42d51f(0xc8)],'sessionTitle':_0x31ef05[_0x42d51f(0xb2)]??_0x31ef05[_0x42d51f(0xac)]??_0x31ef05['id'],'runId':_0x49a089};if(!Number[_0x42d51f(0xea)](_0x5e47c7[_0x42d51f(0xef)]))return undefined;if(_0x456a7d!==undefined&&isTerminalRunStatus(_0x456a7d)){if(this[_0x42d51f(0xd2)][_0x42d51f(0xda)][_0x42d51f(0xf2)][_0x42d51f(0xb7)](_0x49a089))return undefined;if(_0x456a7d===_0x42d51f(0xf6)&&this[_0x42d51f(0xd2)][_0x42d51f(0xe2)][_0x42d51f(0xec)](_0x16e4a2[_0x42d51f(0xc8)])[_0x42d51f(0xf1)][_0x42d51f(0xde)]>-0x140c+0x1*-0x9f7+0x1e03)return undefined;return{..._0x5e47c7,'notificationId':_0x42d51f(0xdf)+_0x16e4a2[_0x42d51f(0xce)]+':'+_0x49a089,'kind':_0x42d51f(0xe6),'outcome':_0x456a7d};}if(_0x4f5fc4===_0x42d51f(0xa5)&&isPlainRecord(_0x49e24d)){const _0x398ac3=_0x49e24d[_0x42d51f(0xe7)];if(typeof _0x398ac3!==_0x42d51f(0xaa))return undefined;return{..._0x5e47c7,'notificationId':_0x42d51f(0xab)+_0x16e4a2[_0x42d51f(0xce)]+':'+_0x49a089+':'+_0x398ac3,'kind':_0x42d51f(0xc5)};}if(_0x4f5fc4!==_0x42d51f(0xb5)||!isPlainRecord(_0x49e24d))return undefined;if(_0x49e24d[_0x42d51f(0xb4)]===_0x42d51f(0xd4)&&typeof _0x49e24d[_0x42d51f(0xdd)]===_0x42d51f(0xaa))return{..._0x5e47c7,'notificationId':_0x42d51f(0xb8)+_0x16e4a2[_0x42d51f(0xce)]+':'+_0x49a089+':'+_0x49e24d[_0x42d51f(0xdd)],'kind':_0x42d51f(0xbb)};if(_0x49e24d[_0x42d51f(0xb4)]===_0x42d51f(0xa7)&&typeof _0x49e24d[_0x42d51f(0xdd)]===_0x42d51f(0xaa)&&isPlainRecord(_0x49e24d[_0x42d51f(0xd0)])&&Array[_0x42d51f(0xeb)](_0x49e24d[_0x42d51f(0xd0)][_0x42d51f(0xe4)])&&_0x49e24d[_0x42d51f(0xd0)][_0x42d51f(0xe4)][_0x42d51f(0xde)]>0x1*0x2115+-0x2634+0x45*0x13)return{..._0x5e47c7,'notificationId':_0x42d51f(0xe8)+_0x16e4a2[_0x42d51f(0xce)]+':'+_0x49a089+':'+_0x49e24d[_0x42d51f(0xdd)],'kind':_0x42d51f(0xc4)};return undefined;}}
2
+ const _0x5ce6bc=_0x1fdd;function _0x24a4(){const _0x4d0051=['zgvSzxrL','CNvUoG','mJr6yNHXB1q','BM93','Cgf5Bg9Hza','CgXHBG','y3vZDg9TvgL0Bgu','zw1PDe5VDW','C3rYAw5N','DMfSDwvZ','Cgf1C2vrDwv1zq','y29UDMvYC2f0Aw9U','yxbWCM92ywWUCMvXDwvZDa','CgvUzgLUz1rLEhq','CxvLC3rPB25Z','C2vXDwvUy2u','AxnbCNjHEq','u0vtu0LptL9tvefsvf9gquLmruq','yxbWCM92ywXjza','mJa5ntm4AfLZwef4','zgLZCgf0y2HrDwv1zq','C2vZC2LVBG','zw1PDfDVCMTIzw5JAa','zMX1C2HuzxH0','C2vZC2LVBKLK','AxncB290C3rYyxbtzxnZAw9U','Aw5PDgLHDgvKqNLvC2vYswq','mMD4BKzREq','C2vZC2LVBLf1zxvL','C2v0','ywn0AxzL','CMvMCMvZAfDVCMTZCgfJzvnLC3nPB25Z','Dgv4Da','zMX1C2Hqzw5KAw5Nvgv4Da','rKfjteve','zw1PDa','AxntywzLsw50zwDLCG','C2nOzwr1BgvdB250zxH0uMvMCMvZAa','AxrLBuLK','z2v0qwDLBNrtzxnZAw9U','y29UDMvYC2f0Aw9UlML0zw0','mZuYntCYtunzrND2','Dgv4Dc5KzwX0yq','y2XLyw51Cef0DgfJAg1LBNrZ','CNvUBMvYvgL0Bgu','CMvTB3zLuxvLDwvKu3rHCNq','uLvox1rfuK1jtKfm','u1vdq0vfreve','ntaXodeYChnHyKDw','y2XLyxi','DxnLCKLK','qvbquK9wquXFuKvrvuLsruq','mta0otKXn0jVv3rtrq','DgLTzxi','BM90AwzPy2f0Aw9U','CMvTB3zLvgvYBwLUywXsDw4','CNvUBMvYrMfPBgvK','BgvUz3rO','ntrIrfDnAxe','z2v0uNvU','C3rHDgu','y3jLyxrLzef0','D29YA3nWywnLswq','mtbItKvrBLK','mtyZmtGXnNfewNvdvG','CNvUswrZ','yxbWzw5KuNvUrxzLBNq','z2v0','DxnLCL9PBNb1Df9Yzxf1zxn0','yxbWCM92ywW6','Bwv0CMLJCW','A2LUza','DxnLCI1PBNb1DdO','CgXHBJO','mJe1otG2mfnRzfbwvW','ueXbtL9srufewq','vvnfuL9jtLbvvf9srvfvsvjfra','CMvQzwn0qM9VDhn0CMfW','mJaWmJG5BxPItMrb','AgfZ','Aw50zxjYDxb0uMvXDwvZDgvK','CNvUDgLTzq','CNvUlMv2zw50','zw5XDwv1zvrLEhq','BgfZDfj1BLnLCxvLBMnL','y29UDMvYC2f0Aw9UvhvYBKzVCLj1BG','ChjLC2vUDfnLC3nPB24','B3b0Aw9UCW','zxHWAxjLsw1Hz2vZ','CNvU','BM90AwzPy2f0Aw9Uugf5Bg9Hza','oxfkrfnbCa'];_0x24a4=function(){return _0x4d0051;};return _0x24a4();}(function(_0x435294,_0x53205f){const _0x1133ae=_0x1fdd,_0x36eb60=_0x435294();while(!![]){try{const _0x1f9b1e=parseInt(_0x1133ae(0xf8))/(-0x1401*-0x1+0x5*-0xb+-0x1*0x13c9)+parseInt(_0x1133ae(0x121))/(0x1648*-0x1+0x133d*-0x1+-0x1*-0x2987)*(parseInt(_0x1133ae(0x12f))/(-0x129a+0xe68*0x1+0x1*0x435))+parseInt(_0x1133ae(0xda))/(0x4*0x2dc+0x1c58+-0x27c4*0x1)*(-parseInt(_0x1133ae(0xe9))/(-0xa01+-0x24f*-0x6+-0x3d4))+-parseInt(_0x1133ae(0xe4))/(-0x194c+0x7ab+0x11a7*0x1)*(-parseInt(_0x1133ae(0x119))/(-0x1b43+0x1*-0x1891+-0x9*-0x5c3))+-parseInt(_0x1133ae(0xea))/(0x52*-0x6d+-0x103e*-0x2+0x276)+-parseInt(_0x1133ae(0x105))/(0x16dc+-0xff1*0x2+0x90f)*(-parseInt(_0x1133ae(0xf4))/(-0x33*-0xa4+0x32*-0x2+0x1*-0x203e))+parseInt(_0x1133ae(0xde))/(0xf*-0x1ff+-0xee5+0x2ce1)*(-parseInt(_0x1133ae(0x108))/(0x1*0x1c03+0xae6+0x1*-0x26dd));if(_0x1f9b1e===_0x53205f)break;else _0x36eb60['push'](_0x36eb60['shift']());}catch(_0x520218){_0x36eb60['push'](_0x36eb60['shift']());}}}(_0x24a4,0x4be87+0x22f80+0x1b5*-0x2a7));import{nodeLog}from'../operational.js';import{isPlainRecord,isTerminalRunStatus}from'../util/node-operation-parsers.js';const COALESCE_MS=-0x4*-0x94f+0x13e0+-0x3854,MAX_BATCH_CHARS=0x6cc9+0x106d*0x5+-0x7eea;function _0x1fdd(_0x3a674d,_0x246dfa){_0x3a674d=_0x3a674d-(0x2338+0x1ee9+-0x414c);const _0x2617b3=_0x24a4();let _0x4697b2=_0x2617b3[_0x3a674d];if(_0x1fdd['MTMnUc']===undefined){var _0x29c5df=function(_0x17c12b){const _0x2f264d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x23f61a='',_0x480803='';for(let _0x6efd86=-0x3fc*-0x1+0x79e*-0x2+0xc*0xf0,_0x30de5c,_0xc34b37,_0x2ac637=-0xede+0x6e6*-0x3+0x2390;_0xc34b37=_0x17c12b['charAt'](_0x2ac637++);~_0xc34b37&&(_0x30de5c=_0x6efd86%(0xc30+-0xa*-0x31a+-0x2b30)?_0x30de5c*(0x2704+0xe9*0x10+-0x3554*0x1)+_0xc34b37:_0xc34b37,_0x6efd86++%(0x139a+0x513*0x3+-0x22cf))?_0x23f61a+=String['fromCharCode'](-0x202*0x4+-0x1*0x527+0xe2e&_0x30de5c>>(-(-0x1b86+-0xdad*0x2+0x1*0x36e2)*_0x6efd86&-0xb*-0xea+-0x47*-0x13+0xf4d*-0x1)):-0x2057*-0x1+-0x1b37+-0x520*0x1){_0xc34b37=_0x2f264d['indexOf'](_0xc34b37);}for(let _0x183ba8=-0xb19+0xf01+0xfa*-0x4,_0x394762=_0x23f61a['length'];_0x183ba8<_0x394762;_0x183ba8++){_0x480803+='%'+('00'+_0x23f61a['charCodeAt'](_0x183ba8)['toString'](-0x4bd*-0x4+-0xe4d+-0x497))['slice'](-(0x1e95+0x25*-0x72+-0xe19));}return decodeURIComponent(_0x480803);};_0x1fdd['nTEXxT']=_0x29c5df,_0x1fdd['ceRPWy']={},_0x1fdd['MTMnUc']=!![];}const _0x4fd594=_0x2617b3[-0xc7*-0x2b+0x1*-0x194f+0x40f*-0x2];_0x1fdd['tgBpVz']!==_0x4fd594&&(_0x1fdd['ceRPWy']={},_0x1fdd['tgBpVz']=_0x4fd594);const _0x5547f7=_0x1fdd['ceRPWy'][_0x3a674d];return _0x5547f7===undefined?(_0x4697b2=_0x1fdd['nTEXxT'](_0x4697b2),_0x1fdd['ceRPWy'][_0x3a674d]=_0x4697b2):_0x4697b2=_0x5547f7,_0x4697b2;}export class RunEventService{[_0x5ce6bc(0x101)];[_0x5ce6bc(0x113)]=new Map();constructor(_0xe4dea3){const _0x4637e9=_0x5ce6bc;this[_0x4637e9(0x101)]=_0xe4dea3;}[_0x5ce6bc(0x129)](_0x1d0795,_0x3472df,_0x4a2d22,_0x3a3bdd){const _0x1fde69=_0x5ce6bc;if(_0x3472df===_0x1fde69(0x130)&&_0x3a3bdd===undefined&&isPlainRecord(_0x4a2d22)&&typeof _0x4a2d22[_0x1fde69(0x126)]===_0x1fde69(0x10e)){this[_0x1fde69(0xfd)](_0x1d0795,_0x4a2d22[_0x1fde69(0x126)],typeof _0x4a2d22[_0x1fde69(0x12c)]===_0x1fde69(0x10e)?_0x4a2d22[_0x1fde69(0x12c)]:undefined);return;}this[_0x1fde69(0x11d)](_0x1d0795),this[_0x1fde69(0x10d)](_0x1d0795,_0x3472df,_0x4a2d22,_0x3a3bdd);}[_0x5ce6bc(0xdb)](){const _0x414ef2=_0x5ce6bc;for(const _0x323ba8 of this[_0x414ef2(0x113)][_0x414ef2(0x10f)]())clearTimeout(_0x323ba8[_0x414ef2(0xdf)]);this[_0x414ef2(0x113)][_0x414ef2(0xdb)]();}[_0x5ce6bc(0x127)](_0x3bf5e1){const _0xe84eae=_0x5ce6bc;this[_0xe84eae(0x11d)](_0x3bf5e1);}[_0x5ce6bc(0xfd)](_0x361e28,_0x4f0da4,_0x25939c){const _0x24212d=_0x5ce6bc;if(_0x4f0da4[_0x24212d(0xe3)]===0x1934+0x2*-0x78b+-0xa1e)return;const _0x4df841=this[_0x24212d(0x113)][_0x24212d(0xed)](_0x361e28);if(_0x4df841!==undefined&&_0x4df841[_0x24212d(0x12c)]===_0x25939c){_0x4df841[_0x24212d(0x126)]+=_0x4f0da4;if(_0x4df841[_0x24212d(0x126)][_0x24212d(0xe3)]>=MAX_BATCH_CHARS)this[_0x24212d(0x11d)](_0x361e28);return;}if(_0x4df841!==undefined)this[_0x24212d(0x11d)](_0x361e28);const _0x15d1c8=setTimeout(()=>this[_0x24212d(0x11d)](_0x361e28),COALESCE_MS);this[_0x24212d(0x113)][_0x24212d(0x123)](_0x361e28,{'text':_0x4f0da4,..._0x25939c===undefined?{}:{'itemId':_0x25939c},'timer':_0x15d1c8});}[_0x5ce6bc(0x11d)](_0x5b3402){const _0x54045c=_0x5ce6bc,_0x561ebb=this[_0x54045c(0x113)][_0x54045c(0xed)](_0x5b3402);if(_0x561ebb===undefined)return;clearTimeout(_0x561ebb[_0x54045c(0xdf)]),this[_0x54045c(0x113)][_0x54045c(0x106)](_0x5b3402),this[_0x54045c(0x10d)](_0x5b3402,_0x54045c(0x130),{'text':_0x561ebb[_0x54045c(0x126)],..._0x561ebb[_0x54045c(0x12c)]===undefined?{}:{'itemId':_0x561ebb[_0x54045c(0x12c)]}});}[_0x5ce6bc(0x10d)](_0x57290a,_0xe794ae,_0x326e91,_0x90bdc7){const _0x24bf02=_0x5ce6bc;if(this[_0x24bf02(0x101)][_0x24bf02(0xfb)][_0x24bf02(0xe5)](_0x57290a)===undefined)return;const _0xc888fa=this[_0x24bf02(0x104)](_0x57290a,_0xe794ae,_0x326e91,_0x90bdc7),_0x5d6cd2={'runId':_0x57290a,'sequence':this[_0x24bf02(0x101)][_0x24bf02(0xfb)][_0x24bf02(0xfe)](_0x57290a)+(-0x155c*-0x1+0x1f*0xa9+-0x29d2),'eventType':_0xe794ae,'payload':_0x326e91,..._0x90bdc7===undefined?{}:{'status':_0x90bdc7}};if(_0xe794ae!==_0x24bf02(0x130))nodeLog(_0x24bf02(0xfc),{'runId':_0x57290a,'eventType':_0xe794ae,'status':_0x90bdc7});if(_0x90bdc7===_0x24bf02(0x128))this[_0x24bf02(0x101)][_0x24bf02(0xf0)][_0x24bf02(0xe2)]();let _0xb53e4=undefined;try{_0xb53e4=this[_0x24bf02(0x101)][_0x24bf02(0xfb)][_0x24bf02(0xec)]({'runId':_0x57290a,'sequence':_0x5d6cd2[_0x24bf02(0x115)],'eventType':_0xe794ae,'payload':_0x326e91,..._0x90bdc7===undefined?{}:{'status':_0x90bdc7}});}catch{}if(_0x90bdc7!==undefined&&isTerminalRunStatus(_0x90bdc7)){this[_0x24bf02(0x101)][_0x24bf02(0xe6)][_0x24bf02(0x124)][_0x24bf02(0x106)](_0x57290a),this[_0x24bf02(0x101)][_0x24bf02(0xe6)][_0x24bf02(0xfa)][_0x24bf02(0x106)](_0x57290a);const _0x1737db=this[_0x24bf02(0x101)][_0x24bf02(0xfb)][_0x24bf02(0xe5)](_0x57290a);if(_0x1737db!==undefined&&this[_0x24bf02(0x101)][_0x24bf02(0x11f)](_0x1737db[_0x24bf02(0x11e)]))this[_0x24bf02(0x101)][_0x24bf02(0xf7)](_0x1737db[_0x24bf02(0x11e)],_0x24bf02(0x117));}if(_0x90bdc7!==undefined){const _0xa2254e=this[_0x24bf02(0x101)][_0x24bf02(0xfb)][_0x24bf02(0xe5)](_0x57290a);this[_0x24bf02(0x101)][_0x24bf02(0x11c)](_0x24bf02(0x103),{'run':_0xa2254e});const _0x48ae06=_0xa2254e===undefined?undefined:this[_0x24bf02(0x101)][_0x24bf02(0xfb)][_0x24bf02(0x12d)](_0xa2254e[_0x24bf02(0x11e)]);if(_0x48ae06!==undefined)this[_0x24bf02(0x101)][_0x24bf02(0x11c)](_0x24bf02(0x11b),{'session':this[_0x24bf02(0x101)][_0x24bf02(0x100)](_0x48ae06)});}this[_0x24bf02(0x101)][_0x24bf02(0x11c)](_0x24bf02(0x111),{'event':{..._0x5d6cd2,'createdAt':_0xb53e4?.[_0x24bf02(0xe7)]??Date[_0x24bf02(0x109)]()}});if(_0xc888fa!==undefined){const _0x569c99=_0xb53e4?.[_0x24bf02(0xe7)]??Date[_0x24bf02(0x109)]();nodeLog(_0x24bf02(0xfc),{'runId':_0x57290a,'eventType':_0x24bf02(0xe0)}),this[_0x24bf02(0x101)][_0x24bf02(0x11c)](_0x24bf02(0x111),{'event':{'runId':_0x57290a,'sequence':_0x5d6cd2[_0x24bf02(0x115)],'eventType':_0x24bf02(0xe0),'payload':{..._0xc888fa,'occurredAt':_0x569c99},'createdAt':_0x569c99}});}if(_0x90bdc7===undefined||!isTerminalRunStatus(_0x90bdc7))return;const _0x222555=this[_0x24bf02(0x101)][_0x24bf02(0xfb)][_0x24bf02(0xff)](_0x57290a);if(_0x222555!==undefined)this[_0x24bf02(0x101)][_0x24bf02(0x11c)](_0x24bf02(0x111),{'turn':_0x222555});this[_0x24bf02(0x101)][_0x24bf02(0xd5)](_0x57290a),this[_0x24bf02(0x101)][_0x24bf02(0x102)](_0x57290a),this[_0x24bf02(0x101)][_0x24bf02(0xd7)](_0x57290a);const _0x42008a=this[_0x24bf02(0x101)][_0x24bf02(0xfb)][_0x24bf02(0xe5)](_0x57290a);if(_0x42008a!==undefined){this[_0x24bf02(0x101)][_0x24bf02(0x12b)](_0x42008a[_0x24bf02(0x11e)]),this[_0x24bf02(0x101)][_0x24bf02(0x125)](_0x42008a[_0x24bf02(0xe8)]);if(_0x90bdc7===_0x24bf02(0x128))this[_0x24bf02(0x101)][_0x24bf02(0x110)](_0x42008a[_0x24bf02(0x11e)]);this[_0x24bf02(0x101)][_0x24bf02(0xfb)][_0x24bf02(0xe1)](_0x57290a);if(_0x90bdc7!==_0x24bf02(0x128))void this[_0x24bf02(0x101)][_0x24bf02(0x11a)](_0x42008a[_0x24bf02(0x11e)]);}}[_0x5ce6bc(0x104)](_0x46d251,_0x1e3c02,_0x3f18c4,_0x1525b5){const _0x570446=_0x5ce6bc;if(_0x1e3c02===_0x570446(0xe0))return undefined;const _0x23388d=this[_0x570446(0x101)][_0x570446(0xfb)][_0x570446(0xe5)](_0x46d251);if(_0x23388d===undefined)return undefined;const _0x1c4d81=this[_0x570446(0x101)][_0x570446(0xfb)][_0x570446(0x12d)](_0x23388d[_0x570446(0x11e)]);if(_0x1c4d81===undefined)return undefined;const _0x550360={'userId':_0x23388d[_0x570446(0x120)],'workspaceId':_0x23388d[_0x570446(0xe8)],'sessionId':_0x23388d[_0x570446(0x11e)],'sessionTitle':_0x1c4d81[_0x570446(0x10c)]??_0x1c4d81[_0x570446(0xd6)]??_0x1c4d81['id'],'runId':_0x46d251};if(!Number[_0x570446(0x12a)](_0x550360[_0x570446(0xdc)]))return undefined;if(_0x1525b5!==undefined&&isTerminalRunStatus(_0x1525b5)){if(this[_0x570446(0x101)][_0x570446(0xe6)][_0x570446(0xfa)][_0x570446(0xf9)](_0x46d251))return undefined;if(_0x1525b5===_0x570446(0xd9)&&this[_0x570446(0x101)][_0x570446(0xfb)][_0x570446(0x122)](_0x23388d[_0x570446(0x11e)])[_0x570446(0xeb)][_0x570446(0xe3)]>0xe83+0x1e1e+-0x2ca1)return undefined;return{..._0x550360,'notificationId':_0x570446(0x107)+_0x23388d[_0x570446(0xe8)]+':'+_0x46d251,'kind':_0x570446(0xd8),'outcome':_0x1525b5};}if(_0x1e3c02===_0x570446(0x112)&&isPlainRecord(_0x3f18c4)){const _0x1b938a=_0x3f18c4[_0x570446(0x118)];if(typeof _0x1b938a!==_0x570446(0x10e))return undefined;return{..._0x550360,'notificationId':_0x570446(0xef)+_0x23388d[_0x570446(0xe8)]+':'+_0x46d251+':'+_0x1b938a,'kind':_0x570446(0xdd)};}if(_0x1e3c02!==_0x570446(0x12e)||!isPlainRecord(_0x3f18c4))return undefined;if(_0x3f18c4[_0x570446(0xf1)]===_0x570446(0x10b)&&typeof _0x3f18c4[_0x570446(0x12c)]===_0x570446(0x10e))return{..._0x550360,'notificationId':_0x570446(0xf3)+_0x23388d[_0x570446(0xe8)]+':'+_0x46d251+':'+_0x3f18c4[_0x570446(0x12c)],'kind':_0x570446(0xf5)};if(_0x3f18c4[_0x570446(0xf1)]===_0x570446(0xee)&&typeof _0x3f18c4[_0x570446(0x12c)]===_0x570446(0x10e)&&isPlainRecord(_0x3f18c4[_0x570446(0x10a)])&&Array[_0x570446(0x116)](_0x3f18c4[_0x570446(0x10a)][_0x570446(0x114)])&&_0x3f18c4[_0x570446(0x10a)][_0x570446(0x114)][_0x570446(0xe3)]>-0x1*-0x181d+-0x187a+0x5d)return{..._0x550360,'notificationId':_0x570446(0xf2)+_0x23388d[_0x570446(0xe8)]+':'+_0x46d251+':'+_0x3f18c4[_0x570446(0x12c)],'kind':_0x570446(0xf6)};return undefined;}}
@@ -1,2 +1,2 @@
1
1
  /* mar-release-protected */
2
- const _0x5e434a=_0x1636;function _0x2e2f(){const _0x4e7fe2=['mZKYngXyCNPOAa','mJuZnZe4ntj6twrcqxe','mtG0nZeYoeThAefnBW','ywnJzxb0CW','mtH3AMX2yK4','D29YA2jLBMnOlMv2zw50','mLLNs0znvG','zw1PDa','nde3ndi1mgXzsxDwtq','C2vXDwvUy2u','C25HChnOB3rtzxf1zw5Jzq','mJu3ntKWmgD3BenZvG','ntK3ntK2tgToCMfc','ndKWotGZnw9ls3jfDG','C2vUza','nLLuBg9fDa','mJeYuwnmvvzh'];_0x2e2f=function(){return _0x4e7fe2;};return _0x2e2f();}(function(_0x40196c,_0x425122){const _0x44bd11=_0x1636,_0x237e83=_0x40196c();while(!![]){try{const _0x4c0d7e=parseInt(_0x44bd11(0x7a))/(0xa64*0x1+0x132d+-0x1d90)*(-parseInt(_0x44bd11(0x6f))/(0x1ca4+0xf78+-0x2c1a))+-parseInt(_0x44bd11(0x74))/(-0x3*0xb3a+0x102d+0x1184)*(-parseInt(_0x44bd11(0x73))/(0x24a0+0x115e+-0x35fa))+-parseInt(_0x44bd11(0x7c))/(-0x1bb6*-0x1+-0x1b97+-0x1a)+parseInt(_0x44bd11(0x72))/(-0xd*0x12a+0x1*-0x380+-0xc7*-0x18)*(-parseInt(_0x44bd11(0x70))/(-0x231d*0x1+-0x1b0f+-0x3e33*-0x1))+-parseInt(_0x44bd11(0x76))/(-0x7*-0x2c3+0x2102+0x344f*-0x1)*(-parseInt(_0x44bd11(0x78))/(-0x821*0x3+0x649*-0x1+-0x463*-0x7))+-parseInt(_0x44bd11(0x6e))/(0x1052+0x2*-0x11a4+-0x40*-0x4c)+parseInt(_0x44bd11(0x75))/(-0x3bd+0x6c3*-0x5+0x2597*0x1);if(_0x4c0d7e===_0x425122)break;else _0x237e83['push'](_0x237e83['shift']());}catch(_0x5a55da){_0x237e83['push'](_0x237e83['shift']());}}}(_0x2e2f,-0x1*-0xe121+0x83b7a+-0x24da6));import{createEnvelope}from'@myagentroam/protocol';function _0x1636(_0x15524e,_0x2685a3){_0x15524e=_0x15524e-(-0x8e2+0xb68+-0x219);const _0x38ceb4=_0x2e2f();let _0x478ad2=_0x38ceb4[_0x15524e];if(_0x1636['XiMsEq']===undefined){var _0xb57119=function(_0x33be30){const _0x21b71c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x56541e='',_0x2eb40f='';for(let _0x467891=-0x1b7*0x1+0x193e+0x1787*-0x1,_0x6ed538,_0x32cd9c,_0x31052b=-0xfae+-0x22f6+0x32a4;_0x32cd9c=_0x33be30['charAt'](_0x31052b++);~_0x32cd9c&&(_0x6ed538=_0x467891%(-0xa*0xa5+0x186f+-0x11f9*0x1)?_0x6ed538*(-0x1eb4+0x9*0x23f+-0xabd*-0x1)+_0x32cd9c:_0x32cd9c,_0x467891++%(0xc*-0x62+0x1ba1+-0x1705))?_0x56541e+=String['fromCharCode'](-0x2302+0x1*0x24af+0x57*-0x2&_0x6ed538>>(-(-0x4*-0x469+-0x1770+-0x2e7*-0x2)*_0x467891&0x23c9+-0xcfc+-0x16c7)):0x1897*0x1+0x1*-0x23c5+0xb2e){_0x32cd9c=_0x21b71c['indexOf'](_0x32cd9c);}for(let _0x1e0c3d=0x24cd+0xb*0x119+0x220*-0x17,_0x3c5e96=_0x56541e['length'];_0x1e0c3d<_0x3c5e96;_0x1e0c3d++){_0x2eb40f+='%'+('00'+_0x56541e['charCodeAt'](_0x1e0c3d)['toString'](-0x2*0xae7+-0x10fc+0x2*0x136d))['slice'](-(-0xd35+0x1*0x6fd+0x63a));}return decodeURIComponent(_0x2eb40f);};_0x1636['IAnjqV']=_0xb57119,_0x1636['hYizrZ']={},_0x1636['XiMsEq']=!![];}const _0x29e2ae=_0x38ceb4[0x42+0x12e7+-0x1329];_0x1636['iTYAbz']!==_0x29e2ae&&(_0x1636['hYizrZ']={},_0x1636['iTYAbz']=_0x29e2ae);const _0x153eb3=_0x1636['hYizrZ'][_0x15524e];return _0x153eb3===undefined?(_0x478ad2=_0x1636['IAnjqV'](_0x478ad2),_0x1636['hYizrZ'][_0x15524e]=_0x478ad2):_0x478ad2=_0x153eb3,_0x478ad2;}export class WorkbenchEventService{[_0x5e434a(0x71)];[_0x5e434a(0x77)];[_0x5e434a(0x7d)]=0x871+0x26ae+-0x2f1f;constructor(_0x26348c,_0x2ad50a){const _0x48e841=_0x5e434a;this[_0x48e841(0x71)]=_0x26348c,this[_0x48e841(0x77)]=_0x2ad50a;}[_0x5e434a(0x7b)](_0x27d202,_0x4d82ce){const _0x10a3a3=_0x5e434a;if(!this[_0x10a3a3(0x77)](_0x27d202,_0x4d82ce))return;const _0x5842db={'sequence':++this[_0x10a3a3(0x7d)],'category':_0x27d202,'payload':_0x4d82ce};this[_0x10a3a3(0x71)](createEnvelope(_0x10a3a3(0x79),_0x5842db));}[_0x5e434a(0x6d)](){const _0xcac806=_0x5e434a;return this[_0xcac806(0x7d)];}}
2
+ var _0x399117=_0x5502;(function(_0x5c0fcb,_0xb3a867){var _0x35e00d=_0x5502,_0x3eb846=_0x5c0fcb();while(!![]){try{var _0x5936f8=-parseInt(_0x35e00d(0xed))/(0x1032+0x2298+0x32c9*-0x1)+-parseInt(_0x35e00d(0xe7))/(-0x507+-0x23cf+0x28d8)*(-parseInt(_0x35e00d(0xe2))/(-0x1282+0xd27+0x55e))+-parseInt(_0x35e00d(0xe1))/(0x253d+-0x1231*-0x1+0x29*-0x15a)*(parseInt(_0x35e00d(0xe4))/(-0x1*-0x6cd+0x942+-0x100a))+parseInt(_0x35e00d(0xdc))/(-0x1062+0xfb2+-0xd*-0xe)*(parseInt(_0x35e00d(0xeb))/(-0x1eec+0x1d86+0x16d))+-parseInt(_0x35e00d(0xee))/(-0x51e+0x1ff8+0x1*-0x1ad2)*(parseInt(_0x35e00d(0xe3))/(0x1c76+-0xbd1+-0x109c))+-parseInt(_0x35e00d(0xdf))/(0x1*0x26e5+-0x16*0xc2+-0x162f)+-parseInt(_0x35e00d(0xe0))/(0x21b6+0xec6+-0x3071)*(-parseInt(_0x35e00d(0xec))/(0x1*-0x1ba6+-0x7*-0x4dd+-0xd*0x7d));if(_0x5936f8===_0xb3a867)break;else _0x3eb846['push'](_0x3eb846['shift']());}catch(_0x18a622){_0x3eb846['push'](_0x3eb846['shift']());}}}(_0x2bea,-0x25*-0x83cb+-0x2*0x81a9f+-0x524*-0x1fa));import{createEnvelope}from'@myagentroam/protocol';export class WorkbenchEventService{[_0x399117(0xde)];[_0x399117(0xea)];[_0x399117(0xe6)]=0x1447*-0x1+-0x42*0x3e+0x2443;constructor(_0x5ec4c3,_0x435d22){var _0xa866ce=_0x399117;this[_0xa866ce(0xde)]=_0x5ec4c3,this[_0xa866ce(0xea)]=_0x435d22;}[_0x399117(0xe9)](_0x5e37ee,_0x5cd308){var _0x50d082=_0x399117;if(!this[_0x50d082(0xea)](_0x5e37ee,_0x5cd308))return undefined;return{'sequence':++this[_0x50d082(0xe6)],'category':_0x5e37ee,'payload':_0x5cd308};}[_0x399117(0xe5)](_0x4249d7){var _0xeb096f=_0x399117;this[_0xeb096f(0xde)](createEnvelope(_0xeb096f(0xdd),_0x4249d7));}[_0x399117(0xe8)](){var _0x26f6f6=_0x399117;return this[_0x26f6f6(0xe6)];}}function _0x5502(_0x9e29fb,_0x1be4d3){_0x9e29fb=_0x9e29fb-(-0x2638+0x1e9d*0x1+-0x877*-0x1);var _0x1d9304=_0x2bea();var _0x1f7a59=_0x1d9304[_0x9e29fb];if(_0x5502['yljvUZ']===undefined){var _0x5aed78=function(_0x14f4b7){var _0x2f2989='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x10665b='',_0x3ed39c='';for(var _0x130a15=0x21ac+0x21cc+-0x4378,_0x7b882a,_0x3e4e31,_0x24f252=-0x1a3*-0xe+0x254e+-0x3c38;_0x3e4e31=_0x14f4b7['charAt'](_0x24f252++);~_0x3e4e31&&(_0x7b882a=_0x130a15%(0x1*0x101f+-0x20*-0x131+-0x363b*0x1)?_0x7b882a*(0x1b5b+-0x214f+-0x1*-0x634)+_0x3e4e31:_0x3e4e31,_0x130a15++%(0xc85*0x2+-0x2e3*0x6+-0x7b4))?_0x10665b+=String['fromCharCode'](-0x1a*-0xb3+-0x1b1b+-0x14*-0x7f&_0x7b882a>>(-(0x865+-0x1905+0x1*0x10a2)*_0x130a15&-0xb7c+-0xc9c+0x181e)):-0x25*0x31+0x683+0x92){_0x3e4e31=_0x2f2989['indexOf'](_0x3e4e31);}for(var _0x55228d=-0x89*-0x3d+0x9*-0x28d+-0x9b0,_0x3ff32e=_0x10665b['length'];_0x55228d<_0x3ff32e;_0x55228d++){_0x3ed39c+='%'+('00'+_0x10665b['charCodeAt'](_0x55228d)['toString'](0x1*-0x14c2+-0x146*0x5+0x1b30))['slice'](-(-0x2f0+-0x1d20+0x66a*0x5));}return decodeURIComponent(_0x3ed39c);};_0x5502['QuQWdG']=_0x5aed78,_0x5502['liNlLO']={},_0x5502['yljvUZ']=!![];}var _0x238884=_0x1d9304[-0x233+-0x1*-0x1a97+-0x1864];_0x5502['zfaiDR']!==_0x238884&&(_0x5502['liNlLO']={},_0x5502['zfaiDR']=_0x238884);var _0xbe341f=_0x5502['liNlLO'][_0x9e29fb];return _0xbe341f===undefined?(_0x1f7a59=_0x5502['QuQWdG'](_0x1f7a59),_0x5502['liNlLO'][_0x9e29fb]=_0x1f7a59):_0x1f7a59=_0xbe341f,_0x1f7a59;}function _0x2bea(){var _0x8ed8aa=['mMPVyKfdCW','C25HChnOB3rtzxf1zw5Jzq','BMv4Da','ywnJzxb0CW','mJe3EwD6A05t','nJbbvLvNwNu','ntCYnJKXwM5KrM5g','ntGXmtC2Evj0shHO','mJmWotq2DKTdvMLS','D29YA2jLBMnOlMv2zw50','C2vUza','ndaWmZG4mgDSEMLjAW','nJC1mtG1nwviDvvjBG','nJbkB3nLvMS','ndy3mJGZCM53DNzf','mtGWzNbXCLH0','mZC5otG1rMPmsNjT','ChvIBgLZAa','C2vXDwvUy2u'];_0x2bea=function(){return _0x8ed8aa;};return _0x2bea();}
@@ -1,2 +1,2 @@
1
1
  /* mar-release-protected */
2
- const _0x477d1b=_0x1f6c;(function(_0x4a8d22,_0x2e50bf){const _0x3e37d1=_0x1f6c,_0x1ef9cc=_0x4a8d22();while(!![]){try{const _0x1dc102=parseInt(_0x3e37d1(0x1ff))/(-0x9c*0x5+-0x269c+0x1b*0x18b)*(-parseInt(_0x3e37d1(0x21e))/(0xda*-0xb+-0x1*0xfad+-0x190d*-0x1))+parseInt(_0x3e37d1(0x21c))/(-0x1556+-0x6*-0x3e5+0xb*-0x2f)+-parseInt(_0x3e37d1(0x211))/(-0x4db*-0x6+0x1*0x1d83+-0x3aa1)+parseInt(_0x3e37d1(0x200))/(0x269f+-0x19fe+-0xc9c)*(parseInt(_0x3e37d1(0x202))/(0x1212+-0x147f+0xb*0x39))+-parseInt(_0x3e37d1(0x20f))/(-0x17b5+-0x90f*0x1+0x17*0x16d)*(parseInt(_0x3e37d1(0x1fc))/(0x259f*-0x1+0x1be6+0x9c1))+parseInt(_0x3e37d1(0x21b))/(-0x250d+0x1*0x362+-0xb3c*-0x3)+parseInt(_0x3e37d1(0x20d))/(-0x1e7a+0x7a*0x39+0x35a)*(parseInt(_0x3e37d1(0x20a))/(0x1c9*-0xf+0x611*0x1+0x14c1));if(_0x1dc102===_0x2e50bf)break;else _0x1ef9cc['push'](_0x1ef9cc['shift']());}catch(_0x20c08f){_0x1ef9cc['push'](_0x1ef9cc['shift']());}}}(_0x407d,-0xc80c6+-0x144c2+0x3b435*0x6));import{isAbsolute}from'node:path';import{listWorkspaceFiles,mutateWorkspaceFile,readWorkspaceFileContentRange,readAllowedTextFile,readWorkspaceTextFile,WorkspaceFileIndex}from'../workspace.js';function _0x1f6c(_0x332183,_0x2e2ecb){_0x332183=_0x332183-(-0x4*0x332+0x5*0x6d3+-0x1*0x1363);const _0x4c74f=_0x407d();let _0x508236=_0x4c74f[_0x332183];if(_0x1f6c['CUWlGw']===undefined){var _0x4f4905=function(_0x2dd1a3){const _0x42283d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4256ef='',_0x4f1779='';for(let _0x33137c=0x185*-0x13+-0xd25+0x2a04,_0x3e0f7a,_0xe29d8f,_0x472175=-0x1*0x2597+0x2ce*-0x8+0x3c07;_0xe29d8f=_0x2dd1a3['charAt'](_0x472175++);~_0xe29d8f&&(_0x3e0f7a=_0x33137c%(0x56*0x25+-0x1b91*-0x1+-0x27fb)?_0x3e0f7a*(-0x91*0x21+-0x1b72+0x2e63)+_0xe29d8f:_0xe29d8f,_0x33137c++%(0x1252*-0x2+-0x1314+0x37bc))?_0x4256ef+=String['fromCharCode'](-0xfdf+-0xd9*-0x1f+0x323*-0x3&_0x3e0f7a>>(-(0x83*-0x7+0x1809+0xa39*-0x2)*_0x33137c&0x1c36+0x66b*0x1+0xb89*-0x3)):-0x1af1+0x1a2e*0x1+0xc3){_0xe29d8f=_0x42283d['indexOf'](_0xe29d8f);}for(let _0x4fa0fd=0xb*0xc2+0x715+-0xf6b,_0x56557d=_0x4256ef['length'];_0x4fa0fd<_0x56557d;_0x4fa0fd++){_0x4f1779+='%'+('00'+_0x4256ef['charCodeAt'](_0x4fa0fd)['toString'](0x17*-0x85+-0x247*-0x7+-0x3ee))['slice'](-(0xa4*0x1+0x1244+0x973*-0x2));}return decodeURIComponent(_0x4f1779);};_0x1f6c['AKtaqr']=_0x4f4905,_0x1f6c['zGTtmn']={},_0x1f6c['CUWlGw']=!![];}const _0x21c10c=_0x4c74f[-0x14*-0x1eb+-0xbf7+0xe9*-0x1d];_0x1f6c['yAGdsP']!==_0x21c10c&&(_0x1f6c['zGTtmn']={},_0x1f6c['yAGdsP']=_0x21c10c);const _0xfcbbe9=_0x1f6c['zGTtmn'][_0x332183];return _0xfcbbe9===undefined?(_0x508236=_0x1f6c['AKtaqr'](_0x508236),_0x1f6c['zGTtmn'][_0x332183]=_0x508236):_0x508236=_0xfcbbe9,_0x508236;}const INDEX_CACHE_LIMIT=0x1056+0x14f9+-0x2547;export class WorkspaceFileService{[_0x477d1b(0x218)];[_0x477d1b(0x1f4)];[_0x477d1b(0x215)];[_0x477d1b(0x1f6)]=new Map();constructor(_0x434179,_0x4d3d99,_0x389c37){const _0x50ea83=_0x477d1b;this[_0x50ea83(0x218)]=_0x434179,this[_0x50ea83(0x1f4)]=_0x4d3d99,this[_0x50ea83(0x215)]=_0x389c37;}async[_0x477d1b(0x216)](_0x2c494b,_0x577ab5){const _0x527031=_0x477d1b;if(_0x577ab5[_0x527031(0x214)]!==undefined&&typeof _0x577ab5[_0x527031(0x214)]!==_0x527031(0x20b)||_0x577ab5[_0x527031(0x208)]!==undefined&&typeof _0x577ab5[_0x527031(0x208)]!==_0x527031(0x20b)||_0x577ab5[_0x527031(0x227)]!==undefined&&(!Number[_0x527031(0x21a)](_0x577ab5[_0x527031(0x227)])||_0x577ab5[_0x527031(0x227)]<-0x1670+0x151*0x13+-0x292||_0x577ab5[_0x527031(0x227)]>0x56*0x25+-0x1b91*-0x1+-0x2737))throw new Error(_0x527031(0x201));return listWorkspaceFiles(_0x2c494b[_0x527031(0x214)],typeof _0x577ab5[_0x527031(0x214)]===_0x527031(0x20b)?_0x577ab5[_0x527031(0x214)]:'.',typeof _0x577ab5[_0x527031(0x208)]===_0x527031(0x20b)?_0x577ab5[_0x527031(0x208)]:undefined,typeof _0x577ab5[_0x527031(0x227)]===_0x527031(0x213)?_0x577ab5[_0x527031(0x227)]:undefined);}async[_0x477d1b(0x20c)](_0x3feb3c,_0x37098e){const _0x314d54=_0x477d1b;if(typeof _0x37098e[_0x314d54(0x214)]!==_0x314d54(0x20b)||_0x37098e[_0x314d54(0x1fa)]!==undefined&&(!Number[_0x314d54(0x21a)](_0x37098e[_0x314d54(0x1fa)])||_0x37098e[_0x314d54(0x1fa)]<-0x91*0x21+-0x1b72+0x2e23)||_0x37098e[_0x314d54(0x227)]!==undefined&&(!Number[_0x314d54(0x21a)](_0x37098e[_0x314d54(0x227)])||_0x37098e[_0x314d54(0x227)]<0x1252*-0x2+-0x1314+0x37b9||_0x37098e[_0x314d54(0x227)]>(-0xfdf+-0xd9*-0x1f+0x434*-0x2)*(0x83*-0x7+0x1809+0x4e*-0x36)))throw new Error(_0x314d54(0x1f5));const _0x3484f8=typeof _0x37098e[_0x314d54(0x1fa)]===_0x314d54(0x213)?_0x37098e[_0x314d54(0x1fa)]:0x1c36+0x66b*0x1+0x3d9*-0x9,_0xbfa7cf=typeof _0x37098e[_0x314d54(0x227)]===_0x314d54(0x213)?_0x37098e[_0x314d54(0x227)]:(-0x1af1+0x1a2e*0x1+0x2c3)*(0xb*0xc2+0x715+-0xb6b);return isAbsolute(_0x37098e[_0x314d54(0x214)])?readAllowedTextFile(_0x37098e[_0x314d54(0x214)],this[_0x314d54(0x1f4)](),_0x3484f8,_0xbfa7cf):readWorkspaceTextFile(_0x3feb3c[_0x314d54(0x214)],_0x37098e[_0x314d54(0x214)],_0x3484f8,_0xbfa7cf);}async[_0x477d1b(0x203)](_0x16759a,_0x50dff6){const _0x523cd2=_0x477d1b;if(typeof _0x50dff6[_0x523cd2(0x214)]!==_0x523cd2(0x20b)||_0x50dff6[_0x523cd2(0x1fa)]!==undefined&&(!Number[_0x523cd2(0x21a)](_0x50dff6[_0x523cd2(0x1fa)])||_0x50dff6[_0x523cd2(0x1fa)]<0x17*-0x85+-0x247*-0x7+-0x3fe)||_0x50dff6[_0x523cd2(0x227)]!==undefined&&(!Number[_0x523cd2(0x21a)](_0x50dff6[_0x523cd2(0x227)])||_0x50dff6[_0x523cd2(0x227)]<0xa4*0x1+0x1244+0x12e7*-0x1||_0x50dff6[_0x523cd2(0x227)]>(-0x14*-0x1eb+-0xbf7+0x4e1*-0x5)*(0x2d2+0x4f*-0x4+0x26a)))throw new Error(_0x523cd2(0x1f5));if(isAbsolute(_0x50dff6[_0x523cd2(0x214)]))throw new Error(_0x523cd2(0x217));return readWorkspaceFileContentRange(_0x16759a[_0x523cd2(0x214)],_0x50dff6[_0x523cd2(0x214)],typeof _0x50dff6[_0x523cd2(0x1fa)]===_0x523cd2(0x213)?_0x50dff6[_0x523cd2(0x1fa)]:0x1*-0x1a21+-0x188*0x1+-0x61*-0x49,typeof _0x50dff6[_0x523cd2(0x227)]===_0x523cd2(0x213)?_0x50dff6[_0x523cd2(0x227)]:(0x1335*0x1+-0x13f*-0x15+-0x15b*0x20)*(0x372+-0xde5*0x1+0xe73));}async[_0x477d1b(0x224)](_0x5534eb,_0x1139f1){const _0x1b0e7b=_0x477d1b;if(typeof _0x1139f1[_0x1b0e7b(0x1fe)]!==_0x1b0e7b(0x20b)||_0x1139f1[_0x1b0e7b(0x208)]!==undefined&&typeof _0x1139f1[_0x1b0e7b(0x208)]!==_0x1b0e7b(0x20b)||_0x1139f1[_0x1b0e7b(0x219)]!==undefined&&typeof _0x1139f1[_0x1b0e7b(0x219)]!==_0x1b0e7b(0x1f8)||_0x1139f1[_0x1b0e7b(0x227)]!==undefined&&(!Number[_0x1b0e7b(0x21a)](_0x1139f1[_0x1b0e7b(0x227)])||_0x1139f1[_0x1b0e7b(0x227)]<-0x1b79*0x1+-0xb31+0x13*0x209||_0x1139f1[_0x1b0e7b(0x227)]>0x69c+-0x2248+0x1c74))throw new Error(_0x1b0e7b(0x210));return this[_0x1b0e7b(0x220)](_0x5534eb)[_0x1b0e7b(0x224)](_0x1139f1[_0x1b0e7b(0x1fe)],typeof _0x1139f1[_0x1b0e7b(0x208)]===_0x1b0e7b(0x20b)?_0x1139f1[_0x1b0e7b(0x208)]:undefined,typeof _0x1139f1[_0x1b0e7b(0x227)]===_0x1b0e7b(0x213)?_0x1139f1[_0x1b0e7b(0x227)]:undefined,_0x1139f1[_0x1b0e7b(0x219)]===!![]);}async[_0x477d1b(0x228)](_0x4c7c9e,_0x42260c){const _0x2f790f=_0x477d1b,_0x22e19f=_0x42260c[_0x2f790f(0x206)];if(_0x22e19f!==_0x2f790f(0x20e)&&_0x22e19f!==_0x2f790f(0x209)&&_0x22e19f!==_0x2f790f(0x21f)&&_0x22e19f!==_0x2f790f(0x212)||typeof _0x42260c[_0x2f790f(0x214)]!==_0x2f790f(0x20b)||_0x22e19f===_0x2f790f(0x21f)&&typeof _0x42260c[_0x2f790f(0x1fd)]!==_0x2f790f(0x20b))throw new Error(_0x2f790f(0x1f7));const _0x24298d=_0x42260c[_0x2f790f(0x214)],_0x17b50d=typeof _0x42260c[_0x2f790f(0x1fd)]===_0x2f790f(0x20b)?_0x42260c[_0x2f790f(0x1fd)]:undefined;return this[_0x2f790f(0x226)](_0x4c7c9e['id'],async()=>{const _0x44454f=_0x2f790f,_0x54e3f1=await mutateWorkspaceFile(_0x4c7c9e[_0x44454f(0x214)],_0x22e19f===_0x44454f(0x21f)?{'action':_0x22e19f,'path':_0x24298d,'destination':_0x17b50d}:{'action':_0x22e19f,'path':_0x24298d});return this[_0x44454f(0x229)](_0x4c7c9e['id']),this[_0x44454f(0x215)](_0x4c7c9e['id']),_0x54e3f1;});}async[_0x477d1b(0x226)](_0x3a106a,_0x2c8369){const _0x20224c=_0x477d1b,_0x5570ab=this[_0x20224c(0x1f6)][_0x20224c(0x1f9)](_0x3a106a)??Promise[_0x20224c(0x204)](),_0x39bfe5=_0x5570ab[_0x20224c(0x22b)](_0x2c8369,_0x2c8369),_0x14582b=_0x39bfe5[_0x20224c(0x22b)](()=>undefined,()=>undefined);this[_0x20224c(0x1f6)][_0x20224c(0x1fb)](_0x3a106a,_0x14582b);try{return await _0x39bfe5;}finally{if(this[_0x20224c(0x1f6)][_0x20224c(0x1f9)](_0x3a106a)===_0x14582b)this[_0x20224c(0x1f6)][_0x20224c(0x223)](_0x3a106a);}}[_0x477d1b(0x220)](_0x4f25ee){const _0x2b0d59=_0x477d1b;let _0xb53d66=this[_0x2b0d59(0x218)][_0x2b0d59(0x207)][_0x2b0d59(0x1f9)](_0x4f25ee['id']);if(_0xb53d66===undefined){if(this[_0x2b0d59(0x218)][_0x2b0d59(0x207)][_0x2b0d59(0x221)]>=INDEX_CACHE_LIMIT){const _0x5f5bff=this[_0x2b0d59(0x218)][_0x2b0d59(0x207)][_0x2b0d59(0x21d)]()[_0x2b0d59(0x222)]()[_0x2b0d59(0x22a)];_0x5f5bff!==undefined&&(_0x5f5bff[0x8b2+-0x43*0x31+-0x2e*-0x17][_0x2b0d59(0x229)](),this[_0x2b0d59(0x218)][_0x2b0d59(0x207)][_0x2b0d59(0x223)](_0x5f5bff[0xa1*-0xe+0x225c*0x1+0xcc7*-0x2]));}_0xb53d66=new WorkspaceFileIndex(_0x4f25ee[_0x2b0d59(0x214)],{'onInvalidated':()=>this[_0x2b0d59(0x215)](_0x4f25ee['id'])});}return this[_0x2b0d59(0x218)][_0x2b0d59(0x207)][_0x2b0d59(0x223)](_0x4f25ee['id']),this[_0x2b0d59(0x218)][_0x2b0d59(0x207)][_0x2b0d59(0x1fb)](_0x4f25ee['id'],_0xb53d66),_0xb53d66;}[_0x477d1b(0x229)](_0x41cd3c){const _0xdcd0bb=_0x477d1b;if(_0x41cd3c!==undefined){this[_0xdcd0bb(0x218)][_0xdcd0bb(0x207)][_0xdcd0bb(0x1f9)](_0x41cd3c)?.[_0xdcd0bb(0x229)](),this[_0xdcd0bb(0x218)][_0xdcd0bb(0x207)][_0xdcd0bb(0x223)](_0x41cd3c);return;}for(const _0x234251 of this[_0xdcd0bb(0x218)][_0xdcd0bb(0x207)][_0xdcd0bb(0x205)]())_0x234251[_0xdcd0bb(0x229)]();this[_0xdcd0bb(0x218)][_0xdcd0bb(0x207)][_0xdcd0bb(0x225)]();}}function _0x407d(){const _0x1d292f=['q1jfqvrfx0zjteu','mtrdELjoyxy','rKLmrv9trufsq0HFteLnsvrFrvHdruveruq','nZa0odi4sKPMwu1y','revmrvrf','BNvTyMvY','Cgf0Aa','B25jBNzHBgLKyxrLza','BgLZDa','rKLmrv9qqvrix0vtq0fqrq','C3rHDgu','Aw5JBhvKzurPCMvJDg9YAwvZ','AxnjBNrLz2vY','mteYmtGWnwzhCwHpBW','mJiWmJq1nLv2Afjbrq','zw50CMLLCW','mtC1odm0s2jvv2jh','tu9wrq','Aw5KzxG','C2L6zq','BMv4Da','zgvSzxrL','C2vHCMnO','y2XLyxi','C2vYAwfSAxPLtxv0yxrPB24','BgLTAxq','Bxv0yxrL','zgLZCg9Zzq','DMfSDwu','DgHLBG','ywXSB3DLzfjVB3rZ','rKLmrv9squ5hrv9jtLzbteLe','Bxv0yxrPB25uywLSCW','rKLmrv9nvvrbveLptL9jtLzbteLe','yM9VBgvHBG','z2v0','B2zMC2v0','C2v0','nJq2mJGWCKHvuuL5','zgvZDgLUyxrPB24','CxvLCNK','n1LbwgjvwG','mJi0nwjqC3rsqq','reLsrunut1jzx0nvuLnpuL9jtLzbteLe','nZG2rvnYq2r0','CMvHzenVBNrLBNq','CMvZB2X2zq','DMfSDwvZ','ywn0Aw9U','zMLSzuLUzgv4zxm','y3vYC29Y','q1jfqvrfx0rjuKvdve9swq','mJuZmhbYuenTAq','C3rYAw5N','CMvHza','mJu2mZbkC3LdC1O'];_0x407d=function(){return _0x1d292f;};return _0x407d();}
2
+ const _0x1ae740=_0x1898;(function(_0xdbfae3,_0x4784d9){const _0x453600=_0x1898,_0x495c80=_0xdbfae3();while(!![]){try{const _0x4d4f24=parseInt(_0x453600(0xd7))/(0x605+-0x4b3*-0x2+-0xf6a)*(parseInt(_0x453600(0xd2))/(-0x1140+-0x138a+-0x3ae*-0xa))+-parseInt(_0x453600(0xe5))/(0x1645*0x1+0x2*0x124d+-0xeb7*0x4)*(-parseInt(_0x453600(0xcd))/(0x156*-0xb+-0x497*-0x4+-0x3a6))+parseInt(_0x453600(0xf7))/(0x1979*-0x1+-0x1*0x4f3+0x1*0x1e71)+parseInt(_0x453600(0xe1))/(-0x533+-0x1*-0x97d+-0x444)+parseInt(_0x453600(0xe0))/(-0x1412+-0x4*0x527+0x28b5)+-parseInt(_0x453600(0xf8))/(0x88f*-0x1+-0x159c+0x1e33)+-parseInt(_0x453600(0xdc))/(-0x2*0x6e5+0x110e+-0x1*0x33b);if(_0x4d4f24===_0x4784d9)break;else _0x495c80['push'](_0x495c80['shift']());}catch(_0x33e7cc){_0x495c80['push'](_0x495c80['shift']());}}}(_0x2d2d,0x42b*0x59+0x14f29*0x1+-0x11379));import{isAbsolute}from'node:path';import{listWorkspaceFiles,mutateWorkspaceFile,readWorkspaceFileContentRange,readAllowedTextFile,readWorkspaceTextFile,writeWorkspaceTextFile,WorkspaceFileIndex}from'../workspace.js';function _0x2d2d(){const _0xa8c735=['DgHLBG','Aw5JBhvKzurPCMvJDg9YAwvZ','mJmXnezvt2vbyG','C2vYAwfSAxPLtxv0yxrPB24','q1jfqvrfx0zjteu','C2L6zq','rKLmrv9trufsq0HFteLnsvrFrvHdruveruq','ndnxDKviAgW','q1jfqvrfx0rjuKvdve9swq','BgLZDa','BgLTAxq','zMLSzuLUzgv4zxm','mtC3nZu5oxPrAg1pwG','D3jPDgu','rKLmrv9nvvrbveLptL9jtLzbteLe','AxnjBNrLz2vY','mtq2odG4yLnSEhHW','mZC2ndGYEfbwAMzA','Bxv0yxrL','B2zMC2v0','DMfSDwu','mJKWmZCWvevvtuXI','C2v0','DMfSDwvZ','zgvSzxrL','reLsrunut1jzx0nvuLnpuL9jtLzbteLe','y2XLyxi','Cgf0Aa','y29UDgvUDa','tu9wrq','yM9VBgvHBG','y3vYC29Y','Bxv0yxrPB25uywLSCW','CMvHzenVBNrLBNq','zxHWzwn0zwrszxzPC2LVBG','C2vHCMnO','z2v0','rKLmrv9squ5hrv9jtLzbteLe','CxvLCNK','mJqYotGWrg9yB2vb','ntqZmJmYuuTSrMHQ','CMvZB2X2zq','ywn0Aw9U','rKLmrv9qqvrix0vtq0fqrq','BNvTyMvY','C3rYAw5N','Aw5KzxG','BMv4Da','zw50CMLLCW','rKLmrv9xuKLurv9jtLzbteLe','zgvZDgLUyxrPB24','zgLZCg9Zzq','C3rHDgu','revmrvrf','CMvHza','og9RBxfnAa','ywXSB3DLzfjVB3rZ','B25jBNzHBgLKyxrLza'];_0x2d2d=function(){return _0xa8c735;};return _0x2d2d();}const INDEX_CACHE_LIMIT=-0x1331+-0x5b9*-0x3+-0x20e*-0x1;function _0x1898(_0x9a0ce3,_0x28f674){_0x9a0ce3=_0x9a0ce3-(-0x1e6b+-0x105e+-0x2*-0x17c5);const _0x131a74=_0x2d2d();let _0x1b09dd=_0x131a74[_0x9a0ce3];if(_0x1898['IukzRW']===undefined){var _0x528ad8=function(_0x35560f){const _0x13c894='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5b607c='',_0x1652c5='';for(let _0x4c47c6=-0x1439*0x1+-0x1089+-0x5*-0x75a,_0x370bef,_0x484dd3,_0x3d69c4=-0x12a*-0x1+-0x3*0xb63+0x20ff;_0x484dd3=_0x35560f['charAt'](_0x3d69c4++);~_0x484dd3&&(_0x370bef=_0x4c47c6%(0x212b+0x23ad*0x1+-0x44d4)?_0x370bef*(-0x49f+0x25de+0x1*-0x20ff)+_0x484dd3:_0x484dd3,_0x4c47c6++%(0x11*0x13a+0xcdf+-0x21b5))?_0x5b607c+=String['fromCharCode'](0x1*0x1e5e+-0x14a5+-0x2*0x45d&_0x370bef>>(-(0x56*0x1b+0x1603+-0x637*0x5)*_0x4c47c6&-0xec3+0x1*0xbc0+0x309)):-0x3d*-0x83+0xad*0x24+-0x378b){_0x484dd3=_0x13c894['indexOf'](_0x484dd3);}for(let _0x48bf67=0x362*-0x6+-0x1b20+0x2f6c,_0x562948=_0x5b607c['length'];_0x48bf67<_0x562948;_0x48bf67++){_0x1652c5+='%'+('00'+_0x5b607c['charCodeAt'](_0x48bf67)['toString'](-0x1211+0x6e9+0x8*0x167))['slice'](-(-0x1e00+0x1a7d+0x35*0x11));}return decodeURIComponent(_0x1652c5);};_0x1898['aoXGCu']=_0x528ad8,_0x1898['dnZcoE']={},_0x1898['IukzRW']=!![];}const _0x5dae30=_0x131a74[0x1d55*0x1+-0x283+-0x1ad2];_0x1898['JLlBRZ']!==_0x5dae30&&(_0x1898['dnZcoE']={},_0x1898['JLlBRZ']=_0x5dae30);const _0x3c1f89=_0x1898['dnZcoE'][_0x9a0ce3];return _0x3c1f89===undefined?(_0x1b09dd=_0x1898['aoXGCu'](_0x1b09dd),_0x1898['dnZcoE'][_0x9a0ce3]=_0x1b09dd):_0x1b09dd=_0x3c1f89,_0x1b09dd;}export class WorkspaceFileService{[_0x1ae740(0xca)];[_0x1ae740(0xce)];[_0x1ae740(0xcf)];[_0x1ae740(0xf0)]=new Map();constructor(_0x7dc934,_0x3d6c95,_0x5ba1dd){const _0x1e791d=_0x1ae740;this[_0x1e791d(0xca)]=_0x7dc934,this[_0x1e791d(0xce)]=_0x3d6c95,this[_0x1e791d(0xcf)]=_0x5ba1dd;}async[_0x1ae740(0xd9)](_0x44da61,_0x159caf){const _0x2bf83f=_0x1ae740;if(_0x159caf[_0x2bf83f(0xeb)]!==undefined&&typeof _0x159caf[_0x2bf83f(0xeb)]!==_0x2bf83f(0xc3)||_0x159caf[_0x2bf83f(0xef)]!==undefined&&typeof _0x159caf[_0x2bf83f(0xef)]!==_0x2bf83f(0xc3)||_0x159caf[_0x2bf83f(0xda)]!==undefined&&(!Number[_0x2bf83f(0xdf)](_0x159caf[_0x2bf83f(0xda)])||_0x159caf[_0x2bf83f(0xda)]<0xd70+0x4d1*-0x1+-0x89e||_0x159caf[_0x2bf83f(0xda)]>0xfd5+0x1bcf+-0xab7*0x4))throw new Error(_0x2bf83f(0xe9));return listWorkspaceFiles(_0x44da61[_0x2bf83f(0xeb)],typeof _0x159caf[_0x2bf83f(0xeb)]===_0x2bf83f(0xc3)?_0x159caf[_0x2bf83f(0xeb)]:'.',typeof _0x159caf[_0x2bf83f(0xef)]===_0x2bf83f(0xc3)?_0x159caf[_0x2bf83f(0xef)]:undefined,typeof _0x159caf[_0x2bf83f(0xda)]===_0x2bf83f(0xc2)?_0x159caf[_0x2bf83f(0xda)]:undefined);}async[_0x1ae740(0xcc)](_0x3c4298,_0x3364a2){const _0x550944=_0x1ae740;if(typeof _0x3364a2[_0x550944(0xeb)]!==_0x550944(0xc3)||_0x3364a2[_0x550944(0xe3)]!==undefined&&(!Number[_0x550944(0xdf)](_0x3364a2[_0x550944(0xe3)])||_0x3364a2[_0x550944(0xe3)]<0x335*-0x8+0x1*0x1763+-0x53*-0x7)||_0x3364a2[_0x550944(0xda)]!==undefined&&(!Number[_0x550944(0xdf)](_0x3364a2[_0x550944(0xda)])||_0x3364a2[_0x550944(0xda)]<-0x1bd0+0x1*0x1e5e+-0x28d||_0x3364a2[_0x550944(0xda)]>(0x199*0x15+0x125*-0xf+-0xe62)*(0x4b4+-0xb02*0x3+0x1*0x2052)))throw new Error(_0x550944(0xf5));const _0x295e8e=typeof _0x3364a2[_0x550944(0xe3)]===_0x550944(0xc2)?_0x3364a2[_0x550944(0xe3)]:0xd*-0x135+0x1f37+0x7c3*-0x2,_0x3e945f=typeof _0x3364a2[_0x550944(0xda)]===_0x550944(0xc2)?_0x3364a2[_0x550944(0xda)]:(-0x128a+0x362*-0x6+0x28d6)*(-0x255*0x9+-0x1211+0x42*0xa7);return isAbsolute(_0x3364a2[_0x550944(0xeb)])?readAllowedTextFile(_0x3364a2[_0x550944(0xeb)],this[_0x550944(0xce)](),_0x295e8e,_0x3e945f):readWorkspaceTextFile(_0x3c4298[_0x550944(0xeb)],_0x3364a2[_0x550944(0xeb)],_0x295e8e,_0x3e945f);}async[_0x1ae740(0xf1)](_0x1f1e8f,_0x58f9c1){const _0x43d852=_0x1ae740;if(typeof _0x58f9c1[_0x43d852(0xeb)]!==_0x43d852(0xc3)||_0x58f9c1[_0x43d852(0xe3)]!==undefined&&(!Number[_0x43d852(0xdf)](_0x58f9c1[_0x43d852(0xe3)])||_0x58f9c1[_0x43d852(0xe3)]<-0x1e00+0x1a7d+0x1f*0x1d)||_0x58f9c1[_0x43d852(0xda)]!==undefined&&(!Number[_0x43d852(0xdf)](_0x58f9c1[_0x43d852(0xda)])||_0x58f9c1[_0x43d852(0xda)]<0x1d55*0x1+-0x283+-0x1ad1||_0x58f9c1[_0x43d852(0xda)]>(-0x1f2f+-0x583+0x26b2*0x1)*(-0x23fe+-0x4f*-0xf+0x1*0x235d)))throw new Error(_0x43d852(0xf5));if(isAbsolute(_0x58f9c1[_0x43d852(0xeb)]))throw new Error(_0x43d852(0xc1));return readWorkspaceFileContentRange(_0x1f1e8f[_0x43d852(0xeb)],_0x58f9c1[_0x43d852(0xeb)],typeof _0x58f9c1[_0x43d852(0xe3)]===_0x43d852(0xc2)?_0x58f9c1[_0x43d852(0xe3)]:0x142b+-0xb3f*-0x1+0x2*-0xfb5,typeof _0x58f9c1[_0x43d852(0xda)]===_0x43d852(0xc2)?_0x58f9c1[_0x43d852(0xda)]:(0xae6+0x1055+-0x193b*0x1)*(0xf1c+0x1c35+0x131*-0x21));}async[_0x1ae740(0xdd)](_0x2e3755,_0x1c1c3e){const _0x29d0a2=_0x1ae740;if(typeof _0x1c1c3e[_0x29d0a2(0xeb)]!==_0x29d0a2(0xc3)||typeof _0x1c1c3e[_0x29d0a2(0xec)]!==_0x29d0a2(0xc3)||typeof _0x1c1c3e[_0x29d0a2(0xf2)]!==_0x29d0a2(0xc3))throw new Error(_0x29d0a2(0xc7));const _0x6ca5fa=_0x1c1c3e[_0x29d0a2(0xeb)],_0x4ab698=_0x1c1c3e[_0x29d0a2(0xec)],_0x2324dc=_0x1c1c3e[_0x29d0a2(0xf2)];return this[_0x29d0a2(0xd3)](_0x2e3755['id'],async()=>{const _0x508f74=_0x29d0a2,_0xe61adc=await writeWorkspaceTextFile(_0x2e3755[_0x508f74(0xeb)],_0x6ca5fa,_0x4ab698,_0x2324dc);return this[_0x508f74(0xc9)](_0x2e3755['id']),this[_0x508f74(0xcf)](_0x2e3755['id']),_0xe61adc;});}async[_0x1ae740(0xf3)](_0x206f9c,_0x384a78){const _0x3054c2=_0x1ae740;if(typeof _0x384a78[_0x3054c2(0xf6)]!==_0x3054c2(0xc3)||_0x384a78[_0x3054c2(0xef)]!==undefined&&typeof _0x384a78[_0x3054c2(0xef)]!==_0x3054c2(0xc3)||_0x384a78[_0x3054c2(0xd1)]!==undefined&&typeof _0x384a78[_0x3054c2(0xd1)]!==_0x3054c2(0xee)||_0x384a78[_0x3054c2(0xda)]!==undefined&&(!Number[_0x3054c2(0xdf)](_0x384a78[_0x3054c2(0xda)])||_0x384a78[_0x3054c2(0xda)]<-0x1*0xe75+-0x5c*-0x5+0xcaa||_0x384a78[_0x3054c2(0xda)]>-0x8*-0x189+0x1be7+-0xb*0x395))throw new Error(_0x3054c2(0xd6));return this[_0x3054c2(0xc4)](_0x206f9c)[_0x3054c2(0xf3)](_0x384a78[_0x3054c2(0xf6)],typeof _0x384a78[_0x3054c2(0xef)]===_0x3054c2(0xc3)?_0x384a78[_0x3054c2(0xef)]:undefined,typeof _0x384a78[_0x3054c2(0xda)]===_0x3054c2(0xc2)?_0x384a78[_0x3054c2(0xda)]:undefined,_0x384a78[_0x3054c2(0xd1)]===!![]);}async[_0x1ae740(0xe2)](_0x4a4181,_0x1c62e5){const _0x56e305=_0x1ae740,_0x26b595=_0x1c62e5[_0x56e305(0xfa)];if(_0x26b595!==_0x56e305(0xd4)&&_0x26b595!==_0x56e305(0xd8)&&_0x26b595!==_0x56e305(0xed)&&_0x26b595!==_0x56e305(0xcb)||typeof _0x1c62e5[_0x56e305(0xeb)]!==_0x56e305(0xc3)||_0x26b595===_0x56e305(0xed)&&typeof _0x1c62e5[_0x56e305(0xc8)]!==_0x56e305(0xc3))throw new Error(_0x56e305(0xde));const _0x1fd5c1=_0x1c62e5[_0x56e305(0xeb)],_0x20c8d0=typeof _0x1c62e5[_0x56e305(0xc8)]===_0x56e305(0xc3)?_0x1c62e5[_0x56e305(0xc8)]:undefined;return this[_0x56e305(0xd3)](_0x4a4181['id'],async()=>{const _0x460bd4=_0x56e305,_0x4823f4=await mutateWorkspaceFile(_0x4a4181[_0x460bd4(0xeb)],_0x26b595===_0x460bd4(0xed)?{'action':_0x26b595,'path':_0x1fd5c1,'destination':_0x20c8d0}:{'action':_0x26b595,'path':_0x1fd5c1});return this[_0x460bd4(0xc9)](_0x4a4181['id']),this[_0x460bd4(0xcf)](_0x4a4181['id']),_0x4823f4;});}async[_0x1ae740(0xd3)](_0x1e1d7c,_0x1e8df4){const _0x1b22d0=_0x1ae740,_0x5e3e7e=this[_0x1b22d0(0xf0)][_0x1b22d0(0xf4)](_0x1e1d7c)??Promise[_0x1b22d0(0xf9)](),_0x34fe11=_0x5e3e7e[_0x1b22d0(0xd0)](_0x1e8df4,_0x1e8df4),_0x3d014d=_0x34fe11[_0x1b22d0(0xd0)](()=>undefined,()=>undefined);this[_0x1b22d0(0xf0)][_0x1b22d0(0xe6)](_0x1e1d7c,_0x3d014d);try{return await _0x34fe11;}finally{if(this[_0x1b22d0(0xf0)][_0x1b22d0(0xf4)](_0x1e1d7c)===_0x3d014d)this[_0x1b22d0(0xf0)][_0x1b22d0(0xe8)](_0x1e1d7c);}}[_0x1ae740(0xc4)](_0x165234){const _0x25edd7=_0x1ae740;let _0x48ffc1=this[_0x25edd7(0xca)][_0x25edd7(0xdb)][_0x25edd7(0xf4)](_0x165234['id']);if(_0x48ffc1===undefined){if(this[_0x25edd7(0xca)][_0x25edd7(0xdb)][_0x25edd7(0xd5)]>=INDEX_CACHE_LIMIT){const _0x7e8ff9=this[_0x25edd7(0xca)][_0x25edd7(0xdb)][_0x25edd7(0xc6)]()[_0x25edd7(0xc5)]()[_0x25edd7(0xe4)];_0x7e8ff9!==undefined&&(_0x7e8ff9[0x1085+-0x1*0xdf3+-0x291][_0x25edd7(0xc9)](),this[_0x25edd7(0xca)][_0x25edd7(0xdb)][_0x25edd7(0xe8)](_0x7e8ff9[-0x1d00+-0x1a21+-0xb*-0x503]));}_0x48ffc1=new WorkspaceFileIndex(_0x165234[_0x25edd7(0xeb)],{'onInvalidated':()=>this[_0x25edd7(0xcf)](_0x165234['id'])});}return this[_0x25edd7(0xca)][_0x25edd7(0xdb)][_0x25edd7(0xe8)](_0x165234['id']),this[_0x25edd7(0xca)][_0x25edd7(0xdb)][_0x25edd7(0xe6)](_0x165234['id'],_0x48ffc1),_0x48ffc1;}[_0x1ae740(0xc9)](_0x3332e5){const _0x34f7d1=_0x1ae740;if(_0x3332e5!==undefined){this[_0x34f7d1(0xca)][_0x34f7d1(0xdb)][_0x34f7d1(0xf4)](_0x3332e5)?.[_0x34f7d1(0xc9)](),this[_0x34f7d1(0xca)][_0x34f7d1(0xdb)][_0x34f7d1(0xe8)](_0x3332e5);return;}for(const _0x38bdad of this[_0x34f7d1(0xca)][_0x34f7d1(0xdb)][_0x34f7d1(0xe7)]())_0x38bdad[_0x34f7d1(0xc9)]();this[_0x34f7d1(0xca)][_0x34f7d1(0xdb)][_0x34f7d1(0xea)]();}}
@@ -1,2 +1,2 @@
1
1
  /* mar-release-protected */
2
- function _0x16e2(_0x1fd842,_0x48ce73){_0x1fd842=_0x1fd842-(0x22f3+0x1616+-0x3797);const _0x51043b=_0x1951();let _0x44309a=_0x51043b[_0x1fd842];if(_0x16e2['mvaorK']===undefined){var _0x263503=function(_0x17d452){const _0x2f8aba='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1358c0='',_0x57f143='';for(let _0x43fb6f=-0x15d0+0x6da*-0x5+0x3812*0x1,_0x54499e,_0x1c66bd,_0x58b3d6=-0x18e+0x199*-0x16+0x24b4;_0x1c66bd=_0x17d452['charAt'](_0x58b3d6++);~_0x1c66bd&&(_0x54499e=_0x43fb6f%(0x2303+0x1*0x24d2+-0x1*0x47d1)?_0x54499e*(-0x29c*0xd+-0x17f5+0x287*0x17)+_0x1c66bd:_0x1c66bd,_0x43fb6f++%(0x4*-0x94a+-0xe46+-0x893*-0x6))?_0x1358c0+=String['fromCharCode'](-0x1ec5+-0x154c+0x6a2*0x8&_0x54499e>>(-(0xfe+-0x3*0x9b1+0x1c17)*_0x43fb6f&0x2e*0x69+-0x1df1+0x3b3*0x3)):0x1f75*0x1+-0x11b+-0x1e5a){_0x1c66bd=_0x2f8aba['indexOf'](_0x1c66bd);}for(let _0x427ee1=0x31*-0x24+0x1999+0x1*-0x12b5,_0x1e8722=_0x1358c0['length'];_0x427ee1<_0x1e8722;_0x427ee1++){_0x57f143+='%'+('00'+_0x1358c0['charCodeAt'](_0x427ee1)['toString'](0x5*0x599+-0x15af+0x2*-0x31f))['slice'](-(0x671*-0x3+0x1*0x2c+-0xf*-0x147));}return decodeURIComponent(_0x57f143);};_0x16e2['oWLEdg']=_0x263503,_0x16e2['izajwj']={},_0x16e2['mvaorK']=!![];}const _0x448526=_0x51043b[-0xc*0x101+0x1*-0x2437+0x3043];_0x16e2['HgbBmX']!==_0x448526&&(_0x16e2['izajwj']={},_0x16e2['HgbBmX']=_0x448526);const _0x130a1e=_0x16e2['izajwj'][_0x1fd842];return _0x130a1e===undefined?(_0x44309a=_0x16e2['oWLEdg'](_0x44309a),_0x16e2['izajwj'][_0x1fd842]=_0x44309a):_0x44309a=_0x130a1e,_0x44309a;}const _0x3ae198=_0x16e2;(function(_0x3135b0,_0x3c8a3e){const _0xaad8f9=_0x16e2,_0x7cda8e=_0x3135b0();while(!![]){try{const _0x369d38=-parseInt(_0xaad8f9(0x1ae))/(0xfa2+-0x2236+-0x43*-0x47)+parseInt(_0xaad8f9(0x1d5))/(-0x1619*0x1+0x2c5*0x4+0x1*0xb07)+parseInt(_0xaad8f9(0x1f4))/(0x559+-0x225*-0x8+0x1*-0x167e)+parseInt(_0xaad8f9(0x1ca))/(0xec*0x21+0x70e+-0x2576)+-parseInt(_0xaad8f9(0x1eb))/(-0x2*0x4f9+0x16ab+-0xcb4*0x1)+-parseInt(_0xaad8f9(0x19b))/(-0x7ef+0xb03+-0x30e)*(parseInt(_0xaad8f9(0x193))/(-0x1d7f+-0x1ae4*0x1+0x386a))+parseInt(_0xaad8f9(0x174))/(-0x9e9*-0x1+0x107*0x2+-0xbef)*(-parseInt(_0xaad8f9(0x18b))/(-0x2*0x833+-0x1f15*-0x1+0xfa*-0xf));if(_0x369d38===_0x3c8a3e)break;else _0x7cda8e['push'](_0x7cda8e['shift']());}catch(_0xcf6f85){_0x7cda8e['push'](_0x7cda8e['shift']());}}}(_0x1951,-0x1865d3+0x141f07+0x1*0x112505));import{listGitHistoryRefs,readGitHistory,readGitHistoryFileDiff,readGitHistoryFileContentRange,readGitHistoryFiles,readCurrentChangeDiff,readRestrictedDiff,resolveGitRepository,restoreCurrentChange}from'../workspace.js';import{WorkspaceContentSearchService}from'./workspace-content-search-service.js';export class WorkspaceWorkbenchService{[_0x3ae198(0x1c8)];[_0x3ae198(0x1c7)];[_0x3ae198(0x1ea)]=new Map();[_0x3ae198(0x1e1)]=new Set();constructor(_0x2fe67a){const _0x2e88ae=_0x3ae198;this[_0x2e88ae(0x1c8)]=_0x2fe67a,this[_0x2e88ae(0x1c7)]=new WorkspaceContentSearchService(_0x2fe67a[_0x2e88ae(0x1b7)]);}[_0x3ae198(0x184)](){const _0x4879a0=_0x3ae198;return{'workspace.watch':_0x322cad=>this[_0x4879a0(0x1a3)](record(_0x322cad)),'workspace.unwatch':_0x580e3d=>this[_0x4879a0(0x19e)](record(_0x580e3d)),'workspace.files.list':_0x40e9d5=>this[_0x4879a0(0x1bb)](record(_0x40e9d5)),'workspace.file.read':_0x376981=>this[_0x4879a0(0x189)](record(_0x376981)),'workspace.file.content.read':_0x49125f=>this[_0x4879a0(0x1f6)](record(_0x49125f)),'workspace.files.search':_0x1fcb6f=>this[_0x4879a0(0x1c2)](record(_0x1fcb6f)),'workspace.files.mutate':_0x20fc16=>this[_0x4879a0(0x1e0)](record(_0x20fc16)),'workspace.content.search':_0x37c807=>this[_0x4879a0(0x1d7)](record(_0x37c807)),'workspace.files.upload.preflight':_0x5102b2=>this[_0x4879a0(0x1a9)](record(_0x5102b2)),'workspace.files.upload.create':_0x1b407a=>this[_0x4879a0(0x18a)](record(_0x1b407a)),'workspace.files.upload.chunk':_0x4cd960=>this[_0x4879a0(0x1f5)](record(_0x4cd960)),'workspace.files.upload.status':_0x38b4df=>({'upload':this[_0x4879a0(0x1c8)][_0x4879a0(0x1a4)][_0x4879a0(0x17e)](record(_0x38b4df)[_0x4879a0(0x1cb)])}),'workspace.files.upload.complete':_0x98f8bd=>this[_0x4879a0(0x1bc)](record(_0x98f8bd)),'workspace.files.upload.cancel':_0x1fd842=>this[_0x4879a0(0x1be)](record(_0x1fd842)),'workspace.changes.current':_0x48ce73=>this[_0x4879a0(0x180)](record(_0x48ce73)),'workspace.change.diff':_0x51043b=>this[_0x4879a0(0x178)](record(_0x51043b)),'workspace.change.restore':_0x44309a=>this[_0x4879a0(0x1fa)](record(_0x44309a)),'workspace.git.refs.list':_0x263503=>this[_0x4879a0(0x1ef)](record(_0x263503)),'workspace.git.history.list':_0x448526=>this[_0x4879a0(0x192)](record(_0x448526)),'workspace.git.commit.files':_0x130a1e=>this[_0x4879a0(0x188)](record(_0x130a1e)),'workspace.git.commit.file.diff':_0x17d452=>this[_0x4879a0(0x1e3)](record(_0x17d452)),'workspace.git.commit.file.content.read':_0x2f8aba=>this[_0x4879a0(0x1c1)](record(_0x2f8aba)),'workspace.diff':_0x1358c0=>this[_0x4879a0(0x1d3)](record(_0x1358c0))};}async[_0x3ae198(0x1f1)](_0x57f143,_0x43fb6f){const _0x6fbb4c=_0x3ae198,_0x54499e=_0x57f143+':'+_0x43fb6f,_0x1c66bd=this[_0x6fbb4c(0x1ea)][_0x6fbb4c(0x183)](_0x54499e);if(_0x1c66bd!==undefined)return this[_0x6fbb4c(0x1e1)][_0x6fbb4c(0x199)](_0x54499e),_0x1c66bd;const _0x58b3d6=this[_0x6fbb4c(0x1ad)](_0x57f143,_0x43fb6f)[_0x6fbb4c(0x1e2)](()=>{const _0x17ea7b=_0x6fbb4c;this[_0x17ea7b(0x173)](_0x57f143,_0x43fb6f);});this[_0x6fbb4c(0x1ea)][_0x6fbb4c(0x1fc)](_0x54499e,_0x58b3d6);try{await _0x58b3d6;}finally{if(this[_0x6fbb4c(0x1ea)][_0x6fbb4c(0x183)](_0x54499e)===_0x58b3d6)this[_0x6fbb4c(0x1ea)][_0x6fbb4c(0x196)](_0x54499e);if(this[_0x6fbb4c(0x1e1)][_0x6fbb4c(0x196)](_0x54499e))void this[_0x6fbb4c(0x1f1)](_0x57f143,_0x43fb6f);}}[_0x3ae198(0x173)](_0x427ee1,_0x1e8722){const _0x300ece=_0x3ae198;for(const _0x58a7b1 of this[_0x300ece(0x1c8)][_0x300ece(0x1a3)][_0x300ece(0x176)](_0x427ee1)){const _0x5b3d4f=_0x1e8722===_0x300ece(0x1b7)?_0x58a7b1[_0x300ece(0x1cc)][_0x300ece(0x1b7)]!==undefined:_0x58a7b1[_0x300ece(0x1cc)][_0x1e8722]===!![];if(!_0x5b3d4f)continue;this[_0x300ece(0x1c8)][_0x300ece(0x1c9)]({'type':_0x300ece(0x187),'workbenchConnectionId':_0x58a7b1[_0x300ece(0x1f9)],'watchType':_0x300ece(0x1d2),'watchId':_0x58a7b1[_0x300ece(0x18c)],'nodeGeneration':_0x58a7b1[_0x300ece(0x19f)],'nodeId':this[_0x300ece(0x1c8)][_0x300ece(0x1e4)](),'workspaceId':_0x427ee1,'topic':_0x1e8722,'code':_0x300ece(0x17f),'message':_0x300ece(0x1a7)});}}async[_0x3ae198(0x1ad)](_0x197ca8,_0x5e63e2){const _0x91e566=_0x3ae198,_0x431821=this[_0x91e566(0x1c8)][_0x91e566(0x1dd)](_0x197ca8),_0x2573aa=this[_0x91e566(0x1c8)][_0x91e566(0x1a3)][_0x91e566(0x176)](_0x197ca8);if(_0x5e63e2===_0x91e566(0x172)){const _0x17461c=_0x2573aa[_0x91e566(0x1e9)](_0x2cdf89=>_0x2cdf89[_0x91e566(0x1cc)][_0x91e566(0x172)]);if(_0x17461c[_0x91e566(0x17d)]===0x2232+0x224d+-0x447f)return;const _0x101a32=await this[_0x91e566(0x1c8)][_0x91e566(0x1b1)](_0x431821['id']);for(const _0x1e43e4 of _0x17461c)this[_0x91e566(0x1b8)](_0x431821,_0x1e43e4,_0x5e63e2,_0x101a32);return;}if(_0x5e63e2===_0x91e566(0x191)){const _0x1f8dc3=_0x2573aa[_0x91e566(0x1e9)](_0x621268=>_0x621268[_0x91e566(0x1cc)][_0x91e566(0x191)]);if(_0x1f8dc3[_0x91e566(0x17d)]===0x672+0x161a*0x1+-0x1c8c)return;const _0xcd65d2=_0x431821[_0x91e566(0x1f3)]===_0x91e566(0x1d4)?await this[_0x91e566(0x1c8)][_0x91e566(0x191)][_0x91e566(0x195)](_0x431821):null;for(const _0x4fb1f8 of _0x1f8dc3)this[_0x91e566(0x1b8)](_0x431821,_0x4fb1f8,_0x5e63e2,_0xcd65d2);return;}const _0x4a22cf=new Map();for(const _0x59d879 of _0x2573aa){if(_0x59d879[_0x91e566(0x1cc)][_0x91e566(0x1b7)]===undefined)continue;const _0x1ed9df=JSON[_0x91e566(0x18d)](_0x59d879[_0x91e566(0x1cc)][_0x91e566(0x1b7)]);_0x4a22cf[_0x91e566(0x1fc)](_0x1ed9df,[..._0x4a22cf[_0x91e566(0x183)](_0x1ed9df)??[],_0x59d879]);}await Promise[_0x91e566(0x1a5)]([..._0x4a22cf[_0x91e566(0x1d6)]()][_0x91e566(0x1ab)](async _0x386b5a=>{const _0x3b4444=_0x91e566,_0x477c72=_0x386b5a[-0x3*-0x687+0x414+-0x17a9]?.[_0x3b4444(0x1cc)][_0x3b4444(0x1b7)];if(_0x477c72===undefined)return;const _0x5b2a4f={'files':await this[_0x3b4444(0x1c8)][_0x3b4444(0x1b7)][_0x3b4444(0x1b9)](_0x431821,_0x477c72)};for(const _0x6fb683 of _0x386b5a)this[_0x3b4444(0x1b8)](_0x431821,_0x6fb683,_0x5e63e2,_0x5b2a4f);}));}async[_0x3ae198(0x1a3)](_0x3d7566){const _0x21474c=_0x3ae198;if(typeof _0x3d7566[_0x21474c(0x1cd)]!==_0x21474c(0x1b4)||typeof _0x3d7566[_0x21474c(0x18c)]!==_0x21474c(0x1b4)||typeof _0x3d7566[_0x21474c(0x1f9)]!==_0x21474c(0x1b4)||!/^[A-Za-z0-9_-]{8,128}$/[_0x21474c(0x1c4)](_0x3d7566[_0x21474c(0x18c)])||_0x3d7566[_0x21474c(0x198)]!==_0x21474c(0x1d0)&&_0x3d7566[_0x21474c(0x198)]!==_0x21474c(0x1f8))throw new Error(_0x21474c(0x1cf));const _0x14e9f2=this[_0x21474c(0x1c8)][_0x21474c(0x1dd)](_0x3d7566[_0x21474c(0x1cd)]);if(_0x3d7566[_0x21474c(0x198)]===_0x21474c(0x1f8)){const _0x20623a=this[_0x21474c(0x1c8)][_0x21474c(0x1a3)][_0x21474c(0x1f8)](_0x14e9f2['id'],this[_0x21474c(0x1c8)][_0x21474c(0x1a3)][_0x21474c(0x1bd)](_0x3d7566),_0x3d7566[_0x21474c(0x18c)]);if(_0x20623a===undefined)throw new Error(_0x21474c(0x175));return this[_0x21474c(0x1df)](_0x20623a);}const _0x5d17f8=this[_0x21474c(0x1c8)][_0x21474c(0x1a3)][_0x21474c(0x1e8)](_0x3d7566),_0x42f221=this[_0x21474c(0x1c8)][_0x21474c(0x1a3)][_0x21474c(0x197)](_0x14e9f2['id'],this[_0x21474c(0x1c8)][_0x21474c(0x1a3)][_0x21474c(0x1bd)](_0x3d7566));if(_0x42f221?.[_0x21474c(0x18c)]===_0x3d7566[_0x21474c(0x18c)]&&JSON[_0x21474c(0x18d)](_0x42f221[_0x21474c(0x1cc)])===JSON[_0x21474c(0x18d)](_0x5d17f8))return this[_0x21474c(0x1c8)][_0x21474c(0x1a3)][_0x21474c(0x1f8)](_0x14e9f2['id'],this[_0x21474c(0x1c8)][_0x21474c(0x1a3)][_0x21474c(0x1bd)](_0x3d7566),_0x3d7566[_0x21474c(0x18c)]),this[_0x21474c(0x1df)](_0x42f221);const _0x630223=this[_0x21474c(0x1c8)][_0x21474c(0x1a3)][_0x21474c(0x1b0)](_0x14e9f2['id'],_0x3d7566[_0x21474c(0x18c)],this[_0x21474c(0x1c8)][_0x21474c(0x1a3)][_0x21474c(0x18e)](_0x3d7566),_0x3d7566[_0x21474c(0x1f9)],this[_0x21474c(0x1c8)][_0x21474c(0x19f)](),_0x5d17f8);return void this[_0x21474c(0x19c)](_0x14e9f2,_0x630223),this[_0x21474c(0x1df)](_0x630223);}[_0x3ae198(0x19e)](_0x26d6b9){const _0x56235e=_0x3ae198;if(typeof _0x26d6b9[_0x56235e(0x1cd)]!==_0x56235e(0x1b4)||typeof _0x26d6b9[_0x56235e(0x18c)]!==_0x56235e(0x1b4)||typeof _0x26d6b9[_0x56235e(0x1f9)]!==_0x56235e(0x1b4)||!/^[A-Za-z0-9_-]{8,128}$/[_0x56235e(0x1c4)](_0x26d6b9[_0x56235e(0x18c)]))throw new Error(_0x56235e(0x1cf));const _0xdf8e05=this[_0x56235e(0x1c8)][_0x56235e(0x1a3)][_0x56235e(0x1bd)](_0x26d6b9),_0x526e79=this[_0x56235e(0x1c8)][_0x56235e(0x1a3)][_0x56235e(0x1f8)](_0x26d6b9[_0x56235e(0x1cd)],_0xdf8e05,_0x26d6b9[_0x56235e(0x18c)]);if(_0x526e79!==undefined)this[_0x56235e(0x1c8)][_0x56235e(0x1a3)][_0x56235e(0x1da)](_0x26d6b9[_0x56235e(0x1cd)],_0xdf8e05);return{'stopped':!![]};}[_0x3ae198(0x1df)](_0x42c4f1){const _0x4703b1=_0x3ae198;return{'accepted':!![],'watchId':_0x42c4f1[_0x4703b1(0x18c)],'nodeGeneration':_0x42c4f1[_0x4703b1(0x19f)],'expiresAt':_0x42c4f1[_0x4703b1(0x1bf)]};}async[_0x3ae198(0x19c)](_0x5e1d71,_0x2385d2){const _0x52b766=_0x3ae198,_0x46ad08=[],_0x2abdfb=async(_0x3c6bfa,_0x4bb458)=>{const _0x2c0b92=_0x16e2;try{const _0x1fa56c=await _0x4bb458();if(!this[_0x2c0b92(0x1c8)][_0x2c0b92(0x1a3)][_0x2c0b92(0x18f)](_0x5e1d71['id'],_0x2385d2[_0x2c0b92(0x18e)]+':'+_0x2385d2[_0x2c0b92(0x1f9)],_0x2385d2[_0x2c0b92(0x18c)]))return;this[_0x2c0b92(0x1c8)][_0x2c0b92(0x1c9)]({'type':_0x2c0b92(0x1b3),'workbenchConnectionId':_0x2385d2[_0x2c0b92(0x1f9)],'watchId':_0x2385d2[_0x2c0b92(0x18c)],'nodeGeneration':_0x2385d2[_0x2c0b92(0x19f)],'nodeId':this[_0x2c0b92(0x1c8)][_0x2c0b92(0x1e4)](),'workspaceId':_0x5e1d71['id'],'topic':_0x3c6bfa,'revision':this[_0x2c0b92(0x1c8)][_0x2c0b92(0x1a3)][_0x2c0b92(0x1a2)](_0x5e1d71['id']),'snapshotSequence':this[_0x2c0b92(0x1c8)][_0x2c0b92(0x1a3)][_0x2c0b92(0x1db)](),'expiresAt':_0x2385d2[_0x2c0b92(0x1bf)],'payload':_0x1fa56c});}catch{this[_0x2c0b92(0x1c8)][_0x2c0b92(0x1c9)]({'type':_0x2c0b92(0x187),'workbenchConnectionId':_0x2385d2[_0x2c0b92(0x1f9)],'watchType':_0x2c0b92(0x1d2),'watchId':_0x2385d2[_0x2c0b92(0x18c)],'nodeGeneration':_0x2385d2[_0x2c0b92(0x19f)],'nodeId':this[_0x2c0b92(0x1c8)][_0x2c0b92(0x1e4)](),'workspaceId':_0x5e1d71['id'],'topic':_0x3c6bfa,'code':_0x2c0b92(0x17f),'message':_0x2c0b92(0x1a7)});}};if(_0x2385d2[_0x52b766(0x1cc)][_0x52b766(0x172)])_0x46ad08[_0x52b766(0x1fb)](_0x2abdfb(_0x52b766(0x172),()=>this[_0x52b766(0x1c8)][_0x52b766(0x1b1)](_0x5e1d71['id'])));if(_0x2385d2[_0x52b766(0x1cc)][_0x52b766(0x1b7)]!==undefined)_0x46ad08[_0x52b766(0x1fb)](_0x2abdfb(_0x52b766(0x1b7),async()=>({'files':await this[_0x52b766(0x1c8)][_0x52b766(0x1b7)][_0x52b766(0x1b9)](_0x5e1d71,_0x2385d2[_0x52b766(0x1cc)][_0x52b766(0x1b7)])})));if(_0x2385d2[_0x52b766(0x1cc)][_0x52b766(0x191)])_0x46ad08[_0x52b766(0x1fb)](_0x2abdfb(_0x52b766(0x191),async()=>_0x5e1d71[_0x52b766(0x1f3)]===_0x52b766(0x1d4)?this[_0x52b766(0x1c8)][_0x52b766(0x191)][_0x52b766(0x195)](_0x5e1d71):null));if(_0x2385d2[_0x52b766(0x1cc)][_0x52b766(0x1b7)]!==undefined||_0x2385d2[_0x52b766(0x1cc)][_0x52b766(0x191)])void this[_0x52b766(0x1c8)][_0x52b766(0x1b7)][_0x52b766(0x1b6)](_0x5e1d71)[_0x52b766(0x1c0)]()[_0x52b766(0x1e2)](()=>undefined);await Promise[_0x52b766(0x1a5)](_0x46ad08);}async[_0x3ae198(0x1f0)](_0x246dfc,_0x1537d9,_0x27f34e,_0x4b7aae){const _0x41e3b7=_0x3ae198;try{const _0xfdd987=await _0x4b7aae();this[_0x41e3b7(0x1b8)](_0x246dfc,_0x1537d9,_0x27f34e,_0xfdd987);}catch{this[_0x41e3b7(0x1c8)][_0x41e3b7(0x1c9)]({'type':_0x41e3b7(0x187),'workbenchConnectionId':_0x1537d9[_0x41e3b7(0x1f9)],'watchType':_0x41e3b7(0x1d2),'watchId':_0x1537d9[_0x41e3b7(0x18c)],'nodeGeneration':_0x1537d9[_0x41e3b7(0x19f)],'nodeId':this[_0x41e3b7(0x1c8)][_0x41e3b7(0x1e4)](),'workspaceId':_0x246dfc['id'],'topic':_0x27f34e,'code':_0x41e3b7(0x17f),'message':_0x41e3b7(0x1a7)});}}[_0x3ae198(0x1b8)](_0x20d112,_0x5c2a84,_0x3d3cff,_0x348500){const _0x21c877=_0x3ae198;if(!this[_0x21c877(0x1c8)][_0x21c877(0x1a3)][_0x21c877(0x18f)](_0x20d112['id'],_0x5c2a84[_0x21c877(0x18e)]+':'+_0x5c2a84[_0x21c877(0x1f9)],_0x5c2a84[_0x21c877(0x18c)]))return;this[_0x21c877(0x1c8)][_0x21c877(0x1c9)]({'type':_0x21c877(0x1b3),'workbenchConnectionId':_0x5c2a84[_0x21c877(0x1f9)],'watchId':_0x5c2a84[_0x21c877(0x18c)],'nodeGeneration':_0x5c2a84[_0x21c877(0x19f)],'nodeId':this[_0x21c877(0x1c8)][_0x21c877(0x1e4)](),'workspaceId':_0x20d112['id'],'topic':_0x3d3cff,'revision':this[_0x21c877(0x1c8)][_0x21c877(0x1a3)][_0x21c877(0x1a2)](_0x20d112['id']),'snapshotSequence':this[_0x21c877(0x1c8)][_0x21c877(0x1a3)][_0x21c877(0x1db)](),'expiresAt':_0x5c2a84[_0x21c877(0x1bf)],'payload':_0x348500});}async[_0x3ae198(0x1bb)](_0x1ec92b){const _0x3ee9c2=_0x3ae198,_0x4900d8=this[_0x3ee9c2(0x1c8)][_0x3ee9c2(0x1dd)](_0x1ec92b[_0x3ee9c2(0x1cd)]);return{'files':await this[_0x3ee9c2(0x1c8)][_0x3ee9c2(0x1b7)][_0x3ee9c2(0x1b9)](_0x4900d8,_0x1ec92b)};}async[_0x3ae198(0x189)](_0x4fc18e){const _0xb39f67=_0x3ae198,_0x128c87=this[_0xb39f67(0x1c8)][_0xb39f67(0x1dd)](_0x4fc18e[_0xb39f67(0x1cd)]);return{'file':await this[_0xb39f67(0x1c8)][_0xb39f67(0x1b7)][_0xb39f67(0x186)](_0x128c87,_0x4fc18e)};}async[_0x3ae198(0x1c2)](_0x593f87){const _0x5d8123=_0x3ae198,_0x16623b=this[_0x5d8123(0x1c8)][_0x5d8123(0x1dd)](_0x593f87[_0x5d8123(0x1cd)]);return{'files':await this[_0x5d8123(0x1c8)][_0x5d8123(0x1b7)][_0x5d8123(0x19d)](_0x16623b,_0x593f87)};}async[_0x3ae198(0x1e0)](_0x5b0032){const _0x5d200b=_0x3ae198,_0x52f8a4=this[_0x5d200b(0x1c8)][_0x5d200b(0x1dd)](_0x5b0032[_0x5d200b(0x1cd)]);return{'file':await this[_0x5d200b(0x1c8)][_0x5d200b(0x1b7)][_0x5d200b(0x182)](_0x52f8a4,_0x5b0032)};}async[_0x3ae198(0x1d7)](_0x16d0b1){const _0x1ff27c=_0x3ae198,_0x5548ec=this[_0x1ff27c(0x1c8)][_0x1ff27c(0x1dd)](_0x16d0b1[_0x1ff27c(0x1cd)]);return{'search':await this[_0x1ff27c(0x1c7)][_0x1ff27c(0x19d)](_0x5548ec,_0x16d0b1)};}async[_0x3ae198(0x1a9)](_0x64dad0){const _0x42efa2=_0x3ae198;return{'uploads':await this[_0x42efa2(0x1c8)][_0x42efa2(0x1a4)][_0x42efa2(0x1a9)](this[_0x42efa2(0x1c8)][_0x42efa2(0x1dd)](_0x64dad0[_0x42efa2(0x1cd)]),_0x64dad0)};}async[_0x3ae198(0x18a)](_0x1dc7dd){const _0xe87e9d=_0x3ae198;return{'upload':await this[_0xe87e9d(0x1c8)][_0xe87e9d(0x1a4)][_0xe87e9d(0x1b0)](this[_0xe87e9d(0x1c8)][_0xe87e9d(0x1dd)](_0x1dc7dd[_0xe87e9d(0x1cd)]),_0x1dc7dd)};}async[_0x3ae198(0x1f5)](_0x4aaaee){const _0x1085f5=_0x3ae198;return{'upload':await this[_0x1085f5(0x1c8)][_0x1085f5(0x1a4)][_0x1085f5(0x1a1)](_0x4aaaee)};}async[_0x3ae198(0x1bc)](_0x3a205a){const _0x5be977=_0x3ae198;return{'upload':await this[_0x5be977(0x1c8)][_0x5be977(0x1a4)][_0x5be977(0x1e7)](_0x3a205a[_0x5be977(0x1cb)])};}async[_0x3ae198(0x1be)](_0x5df1f0){const _0x2ad24b=_0x3ae198;return await this[_0x2ad24b(0x1c8)][_0x2ad24b(0x1a4)][_0x2ad24b(0x1f7)](_0x5df1f0[_0x2ad24b(0x1cb)]),{'cancelled':!![]};}async[_0x3ae198(0x180)](_0x1ffc0e){const _0x55c4a5=_0x3ae198;return this[_0x55c4a5(0x1c8)][_0x55c4a5(0x191)][_0x55c4a5(0x195)](this[_0x55c4a5(0x1c8)][_0x55c4a5(0x1dd)](_0x1ffc0e[_0x55c4a5(0x1cd)]));}async[_0x3ae198(0x1f6)](_0x19ddea){const _0x4dac77=_0x3ae198;if(typeof _0x19ddea[_0x4dac77(0x1cd)]!==_0x4dac77(0x1b4))throw new Error(_0x4dac77(0x17b));return{'file':await this[_0x4dac77(0x1c8)][_0x4dac77(0x1b7)][_0x4dac77(0x1af)](this[_0x4dac77(0x1c8)][_0x4dac77(0x1dd)](_0x19ddea[_0x4dac77(0x1cd)]),_0x19ddea)};}async[_0x3ae198(0x178)](_0x23bd6e){const _0x42d048=_0x3ae198;if(typeof _0x23bd6e[_0x42d048(0x1cd)]!==_0x42d048(0x1b4)||typeof _0x23bd6e[_0x42d048(0x1ce)]!==_0x42d048(0x1b4)||_0x23bd6e[_0x42d048(0x1c6)]!==undefined&&typeof _0x23bd6e[_0x42d048(0x1c6)]!==_0x42d048(0x1b4))throw new Error(_0x42d048(0x190));const _0x491ae2=this[_0x42d048(0x1ed)](_0x23bd6e[_0x42d048(0x1cd)]),_0x2495b3=await resolveGitRepository(_0x491ae2[_0x42d048(0x1ce)],_0x23bd6e[_0x42d048(0x1c6)]??'');return{'diff':await readCurrentChangeDiff(_0x2495b3,_0x23bd6e[_0x42d048(0x1ce)])};}async[_0x3ae198(0x1fa)](_0x2ab8ad){const _0x33bc64=_0x3ae198;if(typeof _0x2ab8ad[_0x33bc64(0x1cd)]!==_0x33bc64(0x1b4)||typeof _0x2ab8ad[_0x33bc64(0x1ce)]!==_0x33bc64(0x1b4)||_0x2ab8ad[_0x33bc64(0x1c6)]!==undefined&&typeof _0x2ab8ad[_0x33bc64(0x1c6)]!==_0x33bc64(0x1b4)||_0x2ab8ad[_0x33bc64(0x1ee)]!==_0x33bc64(0x19a)&&_0x2ab8ad[_0x33bc64(0x1ee)]!==_0x33bc64(0x1a8)&&_0x2ab8ad[_0x33bc64(0x1ee)]!==_0x33bc64(0x1e6))throw new Error(_0x33bc64(0x1f2));const _0x3bc9cd=this[_0x33bc64(0x1ed)](_0x2ab8ad[_0x33bc64(0x1cd)]),_0x4d312a=await resolveGitRepository(_0x3bc9cd[_0x33bc64(0x1ce)],_0x2ab8ad[_0x33bc64(0x1c6)]??'');return await restoreCurrentChange(_0x4d312a,_0x2ab8ad[_0x33bc64(0x1ce)],_0x2ab8ad[_0x33bc64(0x1ee)]),this[_0x33bc64(0x1c8)][_0x33bc64(0x1b5)](_0x3bc9cd['id']),{'restored':!![]};}async[_0x3ae198(0x1aa)](_0x140dc7){const _0x252e55=_0x3ae198;if(typeof _0x140dc7[_0x252e55(0x1cd)]!==_0x252e55(0x1b4)||_0x140dc7[_0x252e55(0x1c6)]!==undefined&&typeof _0x140dc7[_0x252e55(0x1c6)]!==_0x252e55(0x1b4))throw new Error(_0x252e55(0x1ec));const _0x579bf4=this[_0x252e55(0x1ed)](_0x140dc7[_0x252e55(0x1cd)]);return resolveGitRepository(_0x579bf4[_0x252e55(0x1ce)],_0x140dc7[_0x252e55(0x1c6)]??'');}[_0x3ae198(0x1a6)](_0x272428){const _0x4f679d=_0x3ae198;if(_0x272428[_0x4f679d(0x1a6)]===undefined)return undefined;if(!Array[_0x4f679d(0x1d8)](_0x272428[_0x4f679d(0x1a6)])||_0x272428[_0x4f679d(0x1a6)][_0x4f679d(0x17d)]>0x20f4+0x106*-0x1a+-0x5d8||_0x272428[_0x4f679d(0x1a6)][_0x4f679d(0x1de)](_0x5d8a11=>typeof _0x5d8a11!==_0x4f679d(0x1b4)))throw new Error(_0x4f679d(0x1dc));return _0x272428[_0x4f679d(0x1a6)];}async[_0x3ae198(0x1ef)](_0x128389){const _0x2a1bda=_0x3ae198;return{'refs':await listGitHistoryRefs(await this[_0x2a1bda(0x1aa)](_0x128389))};}async[_0x3ae198(0x192)](_0x1cdc48){const _0x192c29=_0x3ae198,_0x523eaf=this[_0x192c29(0x1a6)](_0x1cdc48);if(_0x1cdc48[_0x192c29(0x1b2)]!==undefined&&typeof _0x1cdc48[_0x192c29(0x1b2)]!==_0x192c29(0x1b4))throw new Error(_0x192c29(0x179));if(_0x1cdc48[_0x192c29(0x1c5)]!==undefined&&(typeof _0x1cdc48[_0x192c29(0x1c5)]!==_0x192c29(0x1a0)||!Number[_0x192c29(0x1ba)](_0x1cdc48[_0x192c29(0x1c5)])||_0x1cdc48[_0x192c29(0x1c5)]<-0x6*0x261+-0x3bf*-0xa+-0x172f||_0x1cdc48[_0x192c29(0x1c5)]>-0x154c+0x104*-0x14+-0x200*-0x15))throw new Error(_0x192c29(0x17c));return readGitHistory(await this[_0x192c29(0x1aa)](_0x1cdc48),{..._0x523eaf===undefined?{}:{'refs':_0x523eaf},...typeof _0x1cdc48[_0x192c29(0x1b2)]===_0x192c29(0x1b4)?{'cursor':_0x1cdc48[_0x192c29(0x1b2)]}:{},...typeof _0x1cdc48[_0x192c29(0x1c5)]===_0x192c29(0x1a0)?{'limit':_0x1cdc48[_0x192c29(0x1c5)]}:{}});}async[_0x3ae198(0x188)](_0x4e9bd7){const _0xb1b1a8=_0x3ae198;if(typeof _0x4e9bd7[_0xb1b1a8(0x1ac)]!==_0xb1b1a8(0x1b4))throw new Error(_0xb1b1a8(0x1e5));return{'files':await readGitHistoryFiles(await this[_0xb1b1a8(0x1aa)](_0x4e9bd7),_0x4e9bd7[_0xb1b1a8(0x1ac)],this[_0xb1b1a8(0x1a6)](_0x4e9bd7))};}async[_0x3ae198(0x1e3)](_0x30f3db){const _0x551df6=_0x3ae198;if(typeof _0x30f3db[_0x551df6(0x1ac)]!==_0x551df6(0x1b4)||typeof _0x30f3db[_0x551df6(0x1ce)]!==_0x551df6(0x1b4)||_0x30f3db[_0x551df6(0x194)]!==undefined&&typeof _0x30f3db[_0x551df6(0x194)]!==_0x551df6(0x1b4))throw new Error(_0x551df6(0x190));return{'diff':await readGitHistoryFileDiff(await this[_0x551df6(0x1aa)](_0x30f3db),_0x30f3db[_0x551df6(0x1ac)],_0x30f3db[_0x551df6(0x1ce)],this[_0x551df6(0x1a6)](_0x30f3db),_0x30f3db[_0x551df6(0x194)])};}async[_0x3ae198(0x1c1)](_0x2f2f6e){const _0x52193f=_0x3ae198;if(typeof _0x2f2f6e[_0x52193f(0x1ac)]!==_0x52193f(0x1b4)||typeof _0x2f2f6e[_0x52193f(0x1ce)]!==_0x52193f(0x1b4)||!Number[_0x52193f(0x1c3)](_0x2f2f6e[_0x52193f(0x1d9)])||_0x2f2f6e[_0x52193f(0x1d9)]<-0x1a0+0x164f+-0x6e5*0x3||!Number[_0x52193f(0x1c3)](_0x2f2f6e[_0x52193f(0x1c5)])||_0x2f2f6e[_0x52193f(0x1c5)]<0x23c8+0x199*0xb+-0x1*0x355a||_0x2f2f6e[_0x52193f(0x1c5)]>(0xc93+0x1b93+-0x2812)*(-0x1*-0x1999+0x2*0x11d7+-0x155*0x2b)*(0x24c5+0x3*0x39f+-0x2ba2))throw new Error(_0x52193f(0x181));return{'file':await readGitHistoryFileContentRange(await this[_0x52193f(0x1aa)](_0x2f2f6e),_0x2f2f6e[_0x52193f(0x1ac)],_0x2f2f6e[_0x52193f(0x1ce)],_0x2f2f6e[_0x52193f(0x1d9)],_0x2f2f6e[_0x52193f(0x1c5)],this[_0x52193f(0x1a6)](_0x2f2f6e))};}async[_0x3ae198(0x1d3)](_0x3f97c3){const _0x32b7a6=_0x3ae198;if(typeof _0x3f97c3[_0x32b7a6(0x1cd)]!==_0x32b7a6(0x1b4)||typeof _0x3f97c3[_0x32b7a6(0x17a)]!==_0x32b7a6(0x1b4)||typeof _0x3f97c3[_0x32b7a6(0x1d1)]!==_0x32b7a6(0x1b4))throw new Error(_0x32b7a6(0x190));const _0x1a41fe=this[_0x32b7a6(0x1ed)](_0x3f97c3[_0x32b7a6(0x1cd)]);return{'diff':await readRestrictedDiff(_0x1a41fe[_0x32b7a6(0x1ce)],_0x3f97c3[_0x32b7a6(0x17a)],_0x3f97c3[_0x32b7a6(0x1d1)])};}[_0x3ae198(0x1ed)](_0x59b87a){const _0x28510e=_0x3ae198,_0x48e438=this[_0x28510e(0x1c8)][_0x28510e(0x1dd)](_0x59b87a);if(_0x48e438[_0x28510e(0x1f3)]!==_0x28510e(0x1d4))throw new Error(_0x28510e(0x177));return _0x48e438;}}function _0x1951(){const _0x40b029=['B3b0Aw9UCW','zw1PDfDHDgnOrxzLBNq','nJy2mZG0ofD1BhLMAG','DxbSB2fKswq','Dg9WAwnZ','D29YA3nWywnLswq','Cgf0Aa','v09ss1nqqunfx1Dbvenix0LovKfmsuq','Aw5PDgLHBa','Dg9szwy','D29YA3nWywnL','zgLMzG','r0Lux1DpuKTtuefdrq','mti3nte0nhbvuNvQzq','DMfSDwvZ','C2vHCMnOq29UDgvUDa','AxnbCNjHEq','B2zMC2v0','CMvTB3zL','BMv4DfnUyxbZAg90u2vXDwvUy2u','r0Lux0Hju1rpuLLFuKvgx0LovKfmsuq','CMvXDwLYzvDVCMTZCgfJzq','C29Tzq','ywnJzxb0zwq','Bxv0yxrLrMLSzq','zgLYDhLuB3bPy3m','y2f0y2G','z2L0q29TBwL0rMLSzurPzMy','BM9KzuLK','r0Lux0Hju1rpuLLFq09ntuLux0LovKfmsuq','vu5uuKfds0ve','y29TCgXLDgu','CgfYC2vuB3bPy3m','zMLSDgvY','Dg9WAwnszwzYzxnOzxm','mJCWmJK0mgXoC2XXrW','r0Lux1jfue9tsvrpuLLFsu5wquXjra','z2L0v29YA3nWywnL','C3rHDgu','z2L0uMvMCW','zw1PDfnUyxbZAg90','CMvMCMvZAfrVCgLJ','r0Lux0niqu5hrv9srvnut1jfx1voqvzbsuXbqKXf','A2LUza','mJqYntq0nKfAu2LcDq','D3jPDgvvCgXVywq','CMvHzezPBgvdB250zw50','y2fUy2vS','CMvUzxC','D29YA2jLBMnOq29UBMvJDgLVBKLK','CMvZDg9YzunOyw5Nzq','ChvZAa','C2v0','C2vZC2LVBNm','zw1PDfrVCgLJrMfPBhvYzq','nZjJsNf1A0i','v09ss1nqqunfx1Dbvenix05pvf9gt1vora','ywn0AxzLv2f0y2HLCW','v09ss1nqqunfx05pvf9hsvq','y2HHBMDLrgLMzG','r0Lux0Hju1rpuLLFq1vsu09sx0LovKfmsuq','zNjVBvjLzG','v09ss1nqqunfx05pvf9gt1vora','r0Lux0Hju1rpuLLFteLnsvrFsu5wquXjra','BgvUz3rO','C3rHDhvZ','v09ss1nqqunfx1Dbvenix1noqvbtse9ux0zbsuXfra','y3vYCMvUDenOyw5Nzxm','rKLmrv9squ5hrv9jtLzbteLe','Bxv0yxrL','z2v0','B3bLCMf0Aw9UCW','B2jQzwn0','CMvHza','D2f0y2GUzMfPBgvK','z2L0q29TBwL0rMLSzxm','CMvHzezPBgu','y3jLyxrLvxbSB2fK','odu1ownWAeHZCG','D2f0y2Hjza','C3rYAw5NAwz5','C2vZC2LVBKHHC2G','Bwf0y2HLCW','r0Lux0rjrKzFsu5wquXjra','y2HHBMDLCW','z2L0sgLZDg9YEq','n0TJrLPbCW','ChjLDMLVDxnqyxrO','y3vYCMvUDa','zgvSzxrL','zxHPC3rPBMC','Bw9Kzq','ywrK','u1rbr0ve','nJeYntiYmezuyxHmAW','y3jLyxrLsw5PDgLHBfnUyxbZAg90CW','C2vHCMnO','Dw53yxrJAa','BM9KzuDLBMvYyxrPB24','BNvTyMvY','D3jPDgu','BMv4DfjLDMLZAw9U','D2f0y2G','DxbSB2fKCW','ywXS','CMvMCW','v29YA3nWywnLihDHDgnOihnUyxbZAg90igzHAwXLzc4','vu5tvefhruq','ChjLzMXPz2H0','z2L0uMvWB3nPDg9YEq','BwfW','y29TBwL0','CgvYzM9YBvrVCgLJuMvMCMvZAa','nJK4nJC4DM95t1zR','CMvHzenVBNrLBNq','y3jLyxrL','BgLZDfnLC3nPB25Z','y3vYC29Y','D2f0y2GUD29YA3nWywnLlNnUyxbZAg90','C3rYAw5N','Aw52ywXPzgf0zq','Aw5KzxG','zMLSzxm','zgvSAxzLCLnUyxbZAg90','BgLZDa','AxnjBNrLz2vY','BgLZDezPBgvZ','y29TCgXLDgvvCgXVywq','A2v5','y2fUy2vSvxbSB2fK','zxHWAxjLC0f0','B2jZzxj2zq','z2L0q29TBwL0rMLSzunVBNrLBNq','C2vHCMnOrMLSzxm','AxntywzLsw50zwDLCG','DgvZDa','BgLTAxq','CMvWB3nPDg9YEvbHDgG','y29UDgvUDfnLyxjJAa'];_0x1951=function(){return _0x40b029;};return _0x1951();}function record(_0x1ad953){const _0x5216dc=_0x3ae198;return typeof _0x1ad953===_0x5216dc(0x185)&&_0x1ad953!==null&&!Array[_0x5216dc(0x1d8)](_0x1ad953)?_0x1ad953:{};}
2
+ const _0x5f2fbb=_0x2346;(function(_0x373c5d,_0x2e0e27){const _0x5e6038=_0x2346,_0x24d1df=_0x373c5d();while(!![]){try{const _0x560cd1=-parseInt(_0x5e6038(0x7c))/(-0x2367+0x1cb*-0x10+0x4018)+parseInt(_0x5e6038(0xf3))/(0x1*-0xf9f+0x52*0x49+-0x7c1)+parseInt(_0x5e6038(0x76))/(-0x1*0x1c11+0x1*-0x1a44+-0x2f*-0x128)*(-parseInt(_0x5e6038(0x94))/(0x254f*-0x1+0xe06*0x1+-0x1*-0x174d))+parseInt(_0x5e6038(0x9a))/(0x1119+0x6*0x61+-0x135a)+-parseInt(_0x5e6038(0xb5))/(-0x1d*0x151+0x184a+0xde9)*(-parseInt(_0x5e6038(0xa7))/(0x3*-0x22d+-0x3*0x12d+0xa15))+-parseInt(_0x5e6038(0xca))/(-0x22*-0x49+0x23d3+0x55*-0x89)*(-parseInt(_0x5e6038(0xbb))/(-0x23d1+-0xbdf+-0x1*-0x2fb9))+-parseInt(_0x5e6038(0x7d))/(-0x6*0x68+-0xf76+0x11f0);if(_0x560cd1===_0x2e0e27)break;else _0x24d1df['push'](_0x24d1df['shift']());}catch(_0xac87a2){_0x24d1df['push'](_0x24d1df['shift']());}}}(_0xf835,0x34*-0x4576+0x135cac+0x5*0x15d93));import{listGitHistoryRefs,readGitHistory,readGitHistoryFileDiff,readGitHistoryFileContentRange,readGitHistoryFiles,readCurrentChangeDiff,readRestrictedDiff,resolveGitRepository,restoreCurrentChange}from'../workspace.js';import{WorkspaceContentSearchService}from'./workspace-content-search-service.js';function _0x2346(_0x5d05d1,_0x5643fa){_0x5d05d1=_0x5d05d1-(0x214b+0x73e+-0x2819*0x1);const _0x30c424=_0xf835();let _0x125b92=_0x30c424[_0x5d05d1];if(_0x2346['lqyKSu']===undefined){var _0x1604e4=function(_0x3b70dd){const _0x5716fb='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x169bdb='',_0x38f6c7='';for(let _0x4624d3=0x196d+0xa3e+-0x23ab*0x1,_0x1e06bc,_0x5ce2c6,_0x560562=0x1182+-0x5c0*0x4+0x57e;_0x5ce2c6=_0x3b70dd['charAt'](_0x560562++);~_0x5ce2c6&&(_0x1e06bc=_0x4624d3%(-0x23bc+0x1865+0xb5b)?_0x1e06bc*(-0x25bc+0x141e+0x8ef*0x2)+_0x5ce2c6:_0x5ce2c6,_0x4624d3++%(-0x1*-0x1f2a+0x652*-0x4+-0x5de))?_0x169bdb+=String['fromCharCode'](0x825*0x4+0x73c*-0x2+-0x111d&_0x1e06bc>>(-(0xf90+-0x16*0x135+-0xb0*-0x10)*_0x4624d3&-0x1a*0x167+-0xb*-0x79+0x1f49)):-0x1b4*-0x14+0x817+-0x2a27){_0x5ce2c6=_0x5716fb['indexOf'](_0x5ce2c6);}for(let _0x3afd93=-0x1be3+0x7cf*0x5+-0xb28,_0xd6619d=_0x169bdb['length'];_0x3afd93<_0xd6619d;_0x3afd93++){_0x38f6c7+='%'+('00'+_0x169bdb['charCodeAt'](_0x3afd93)['toString'](-0x91f*0x1+-0xe1*-0x2a+-0x1bbb))['slice'](-(-0xbeb+-0xccc+0x18b9));}return decodeURIComponent(_0x38f6c7);};_0x2346['nmdVCH']=_0x1604e4,_0x2346['MRMtxl']={},_0x2346['lqyKSu']=!![];}const _0x3f047e=_0x30c424[0x1*0x63e+-0xd22+0x93*0xc];_0x2346['bAacgq']!==_0x3f047e&&(_0x2346['MRMtxl']={},_0x2346['bAacgq']=_0x3f047e);const _0x5dedc4=_0x2346['MRMtxl'][_0x5d05d1];return _0x5dedc4===undefined?(_0x125b92=_0x2346['nmdVCH'](_0x125b92),_0x2346['MRMtxl'][_0x5d05d1]=_0x125b92):_0x125b92=_0x5dedc4,_0x125b92;}export class WorkspaceWorkbenchService{[_0x5f2fbb(0xcc)];[_0x5f2fbb(0x9d)];[_0x5f2fbb(0xf2)]=new Map();[_0x5f2fbb(0xa6)]=new Set();constructor(_0x374f10){const _0x566c95=_0x5f2fbb;this[_0x566c95(0xcc)]=_0x374f10,this[_0x566c95(0x9d)]=new WorkspaceContentSearchService(_0x374f10[_0x566c95(0x75)]);}[_0x5f2fbb(0xde)](){const _0x24832d=_0x5f2fbb;return{'workspace.watch':_0x1fa977=>this[_0x24832d(0xd2)](record(_0x1fa977)),'workspace.unwatch':_0x5f0512=>this[_0x24832d(0xae)](record(_0x5f0512)),'workspace.files.list':_0x30566b=>this[_0x24832d(0x9e)](record(_0x30566b)),'workspace.file.read':_0x98b487=>this[_0x24832d(0x8b)](record(_0x98b487)),'workspace.file.write':_0x4f5fb9=>this[_0x24832d(0x84)](record(_0x4f5fb9)),'workspace.file.content.read':_0x520bce=>this[_0x24832d(0xa4)](record(_0x520bce)),'workspace.files.search':_0x5d05d1=>this[_0x24832d(0x77)](record(_0x5d05d1)),'workspace.files.mutate':_0x5643fa=>this[_0x24832d(0xc7)](record(_0x5643fa)),'workspace.content.search':_0x30c424=>this[_0x24832d(0xb0)](record(_0x30c424)),'workspace.files.upload.preflight':_0x125b92=>this[_0x24832d(0xe7)](record(_0x125b92)),'workspace.files.upload.create':_0x1604e4=>this[_0x24832d(0x91)](record(_0x1604e4)),'workspace.files.upload.chunk':_0x3f047e=>this[_0x24832d(0xdd)](record(_0x3f047e)),'workspace.files.upload.status':_0x5dedc4=>({'upload':this[_0x24832d(0xcc)][_0x24832d(0xbc)][_0x24832d(0xfb)](record(_0x5dedc4)[_0x24832d(0xfa)])}),'workspace.files.upload.complete':_0x3b70dd=>this[_0x24832d(0xdb)](record(_0x3b70dd)),'workspace.files.upload.cancel':_0x5716fb=>this[_0x24832d(0x79)](record(_0x5716fb)),'workspace.changes.current':_0x169bdb=>this[_0x24832d(0xe9)](record(_0x169bdb)),'workspace.change.diff':_0x38f6c7=>this[_0x24832d(0xf7)](record(_0x38f6c7)),'workspace.change.restore':_0x4624d3=>this[_0x24832d(0xe6)](record(_0x4624d3)),'workspace.git.refs.list':_0x1e06bc=>this[_0x24832d(0x7e)](record(_0x1e06bc)),'workspace.git.history.list':_0x5ce2c6=>this[_0x24832d(0xcf)](record(_0x5ce2c6)),'workspace.git.commit.files':_0x560562=>this[_0x24832d(0xa2)](record(_0x560562)),'workspace.git.commit.file.diff':_0x3afd93=>this[_0x24832d(0xc4)](record(_0x3afd93)),'workspace.git.commit.file.content.read':_0xd6619d=>this[_0x24832d(0x80)](record(_0xd6619d)),'workspace.diff':_0x209b92=>this[_0x24832d(0xcd)](record(_0x209b92))};}async[_0x5f2fbb(0x73)](_0x56a17e,_0x4a0873){const _0xd7cd78=_0x5f2fbb,_0xda21e0=_0x56a17e+':'+_0x4a0873,_0x406d0d=this[_0xd7cd78(0xf2)][_0xd7cd78(0xc9)](_0xda21e0);if(_0x406d0d!==undefined)return this[_0xd7cd78(0xa6)][_0xd7cd78(0x8e)](_0xda21e0),_0x406d0d;const _0x29ff8f=this[_0xd7cd78(0xa0)](_0x56a17e,_0x4a0873)[_0xd7cd78(0xec)](()=>{const _0xc5ca12=_0xd7cd78;this[_0xc5ca12(0xd7)](_0x56a17e,_0x4a0873);});this[_0xd7cd78(0xf2)][_0xd7cd78(0xc6)](_0xda21e0,_0x29ff8f);try{await _0x29ff8f;}finally{if(this[_0xd7cd78(0xf2)][_0xd7cd78(0xc9)](_0xda21e0)===_0x29ff8f)this[_0xd7cd78(0xf2)][_0xd7cd78(0x72)](_0xda21e0);if(this[_0xd7cd78(0xa6)][_0xd7cd78(0x72)](_0xda21e0))void this[_0xd7cd78(0x73)](_0x56a17e,_0x4a0873);}}[_0x5f2fbb(0xd7)](_0x2a829e,_0x5256d4){const _0x47de99=_0x5f2fbb;for(const _0x481042 of this[_0x47de99(0xcc)][_0x47de99(0xd2)][_0x47de99(0xac)](_0x2a829e)){const _0x3170d1=_0x5256d4===_0x47de99(0x75)?_0x481042[_0x47de99(0xf0)][_0x47de99(0x75)]!==undefined:_0x481042[_0x47de99(0xf0)][_0x5256d4]===!![];if(!_0x3170d1)continue;this[_0x47de99(0xcc)][_0x47de99(0x98)]({'type':_0x47de99(0xf1),'workbenchConnectionId':_0x481042[_0x47de99(0xa3)],'watchType':_0x47de99(0xe1),'watchId':_0x481042[_0x47de99(0xe2)],'nodeGeneration':_0x481042[_0x47de99(0xba)],'nodeId':this[_0x47de99(0xcc)][_0x47de99(0xc8)](),'workspaceId':_0x2a829e,'topic':_0x5256d4,'code':_0x47de99(0xe5),'message':_0x47de99(0xef)});}}async[_0x5f2fbb(0xa0)](_0x570bbf,_0x58fc2c){const _0x2edb21=_0x5f2fbb,_0xa0f161=this[_0x2edb21(0xcc)][_0x2edb21(0x96)](_0x570bbf),_0x3e16b2=this[_0x2edb21(0xcc)][_0x2edb21(0xd2)][_0x2edb21(0xac)](_0x570bbf);if(_0x58fc2c===_0x2edb21(0xb7)){const _0xf33590=_0x3e16b2[_0x2edb21(0x99)](_0x55a40b=>_0x55a40b[_0x2edb21(0xf0)][_0x2edb21(0xb7)]);if(_0xf33590[_0x2edb21(0xa9)]===-0x2e3*-0xa+-0x2479+-0x289*-0x3)return;const _0xa3c800=await this[_0x2edb21(0xcc)][_0x2edb21(0xad)](_0xa0f161['id']);for(const _0x499c12 of _0xf33590)this[_0x2edb21(0xbd)](_0xa0f161,_0x499c12,_0x58fc2c,_0xa3c800);return;}if(_0x58fc2c===_0x2edb21(0x81)){const _0x5b16d5=_0x3e16b2[_0x2edb21(0x99)](_0x2d337a=>_0x2d337a[_0x2edb21(0xf0)][_0x2edb21(0x81)]);if(_0x5b16d5[_0x2edb21(0xa9)]===-0x3*0x7eb+-0x23bc+0x3b7d)return;const _0x41bd1b=_0xa0f161[_0x2edb21(0xd8)]===_0x2edb21(0xdc)?await this[_0x2edb21(0xcc)][_0x2edb21(0x81)][_0x2edb21(0x82)](_0xa0f161):null;for(const _0x4519df of _0x5b16d5)this[_0x2edb21(0xbd)](_0xa0f161,_0x4519df,_0x58fc2c,_0x41bd1b);return;}const _0xd8141=new Map();for(const _0x169200 of _0x3e16b2){if(_0x169200[_0x2edb21(0xf0)][_0x2edb21(0x75)]===undefined)continue;const _0x15a8f5=JSON[_0x2edb21(0x9b)](_0x169200[_0x2edb21(0xf0)][_0x2edb21(0x75)]);_0xd8141[_0x2edb21(0xc6)](_0x15a8f5,[..._0xd8141[_0x2edb21(0xc9)](_0x15a8f5)??[],_0x169200]);}await Promise[_0x2edb21(0x70)]([..._0xd8141[_0x2edb21(0xb1)]()][_0x2edb21(0xe4)](async _0x2cc485=>{const _0x1bace6=_0x2edb21,_0x3ca713=_0x2cc485[-0x25bc+0x141e+0x6e*0x29]?.[_0x1bace6(0xf0)][_0x1bace6(0x75)];if(_0x3ca713===undefined)return;const _0x3ef22d={'files':await this[_0x1bace6(0xcc)][_0x1bace6(0x75)][_0x1bace6(0x8d)](_0xa0f161,_0x3ca713)};for(const _0x44b8d0 of _0x2cc485)this[_0x1bace6(0xbd)](_0xa0f161,_0x44b8d0,_0x58fc2c,_0x3ef22d);}));}async[_0x5f2fbb(0xd2)](_0xc58fca){const _0x3b812f=_0x5f2fbb;if(typeof _0xc58fca[_0x3b812f(0xbe)]!==_0x3b812f(0xb8)||typeof _0xc58fca[_0x3b812f(0xe2)]!==_0x3b812f(0xb8)||typeof _0xc58fca[_0x3b812f(0xa3)]!==_0x3b812f(0xb8)||!/^[A-Za-z0-9_-]{8,128}$/[_0x3b812f(0x86)](_0xc58fca[_0x3b812f(0xe2)])||_0xc58fca[_0x3b812f(0xd3)]!==_0x3b812f(0xee)&&_0xc58fca[_0x3b812f(0xd3)]!==_0x3b812f(0xb3))throw new Error(_0x3b812f(0x83));const _0x1feda0=this[_0x3b812f(0xcc)][_0x3b812f(0x96)](_0xc58fca[_0x3b812f(0xbe)]);if(_0xc58fca[_0x3b812f(0xd3)]===_0x3b812f(0xb3)){const _0x407ca0=this[_0x3b812f(0xcc)][_0x3b812f(0xd2)][_0x3b812f(0xb3)](_0x1feda0['id'],this[_0x3b812f(0xcc)][_0x3b812f(0xd2)][_0x3b812f(0xc1)](_0xc58fca),_0xc58fca[_0x3b812f(0xe2)]);if(_0x407ca0===undefined)throw new Error(_0x3b812f(0x89));return this[_0x3b812f(0xa1)](_0x407ca0);}const _0x2bd8bb=this[_0x3b812f(0xcc)][_0x3b812f(0xd2)][_0x3b812f(0xe3)](_0xc58fca),_0x37e548=this[_0x3b812f(0xcc)][_0x3b812f(0xd2)][_0x3b812f(0xd5)](_0x1feda0['id'],this[_0x3b812f(0xcc)][_0x3b812f(0xd2)][_0x3b812f(0xc1)](_0xc58fca));if(_0x37e548?.[_0x3b812f(0xe2)]===_0xc58fca[_0x3b812f(0xe2)]&&JSON[_0x3b812f(0x9b)](_0x37e548[_0x3b812f(0xf0)])===JSON[_0x3b812f(0x9b)](_0x2bd8bb))return this[_0x3b812f(0xcc)][_0x3b812f(0xd2)][_0x3b812f(0xb3)](_0x1feda0['id'],this[_0x3b812f(0xcc)][_0x3b812f(0xd2)][_0x3b812f(0xc1)](_0xc58fca),_0xc58fca[_0x3b812f(0xe2)]),this[_0x3b812f(0xa1)](_0x37e548);const _0x1c410b=this[_0x3b812f(0xcc)][_0x3b812f(0xd2)][_0x3b812f(0xd4)](_0x1feda0['id'],_0xc58fca[_0x3b812f(0xe2)],this[_0x3b812f(0xcc)][_0x3b812f(0xd2)][_0x3b812f(0xea)](_0xc58fca),_0xc58fca[_0x3b812f(0xa3)],this[_0x3b812f(0xcc)][_0x3b812f(0xba)](),_0x2bd8bb);return void this[_0x3b812f(0xf5)](_0x1feda0,_0x1c410b),this[_0x3b812f(0xa1)](_0x1c410b);}[_0x5f2fbb(0xae)](_0x21a1b1){const _0x572af8=_0x5f2fbb;if(typeof _0x21a1b1[_0x572af8(0xbe)]!==_0x572af8(0xb8)||typeof _0x21a1b1[_0x572af8(0xe2)]!==_0x572af8(0xb8)||typeof _0x21a1b1[_0x572af8(0xa3)]!==_0x572af8(0xb8)||!/^[A-Za-z0-9_-]{8,128}$/[_0x572af8(0x86)](_0x21a1b1[_0x572af8(0xe2)]))throw new Error(_0x572af8(0x83));const _0x14a872=this[_0x572af8(0xcc)][_0x572af8(0xd2)][_0x572af8(0xc1)](_0x21a1b1),_0x114ef6=this[_0x572af8(0xcc)][_0x572af8(0xd2)][_0x572af8(0xb3)](_0x21a1b1[_0x572af8(0xbe)],_0x14a872,_0x21a1b1[_0x572af8(0xe2)]);if(_0x114ef6!==undefined)this[_0x572af8(0xcc)][_0x572af8(0xd2)][_0x572af8(0xb6)](_0x21a1b1[_0x572af8(0xbe)],_0x14a872);return{'stopped':!![]};}[_0x5f2fbb(0xa1)](_0x11de1e){const _0x15b9b5=_0x5f2fbb;return{'accepted':!![],'watchId':_0x11de1e[_0x15b9b5(0xe2)],'nodeGeneration':_0x11de1e[_0x15b9b5(0xba)],'expiresAt':_0x11de1e[_0x15b9b5(0xfc)]};}async[_0x5f2fbb(0xf5)](_0x5c9374,_0x586209){const _0x4529a9=_0x5f2fbb,_0x3c2cf8=[],_0xbc8d78=async(_0x44827d,_0xed82dc)=>{const _0x58f2ac=_0x2346;try{const _0xa699ca=await _0xed82dc();if(!this[_0x58f2ac(0xcc)][_0x58f2ac(0xd2)][_0x58f2ac(0x8a)](_0x5c9374['id'],_0x586209[_0x58f2ac(0xea)]+':'+_0x586209[_0x58f2ac(0xa3)],_0x586209[_0x58f2ac(0xe2)]))return;this[_0x58f2ac(0xcc)][_0x58f2ac(0x98)]({'type':_0x58f2ac(0xe0),'workbenchConnectionId':_0x586209[_0x58f2ac(0xa3)],'watchId':_0x586209[_0x58f2ac(0xe2)],'nodeGeneration':_0x586209[_0x58f2ac(0xba)],'nodeId':this[_0x58f2ac(0xcc)][_0x58f2ac(0xc8)](),'workspaceId':_0x5c9374['id'],'topic':_0x44827d,'revision':this[_0x58f2ac(0xcc)][_0x58f2ac(0xd2)][_0x58f2ac(0xab)](_0x5c9374['id']),'snapshotSequence':this[_0x58f2ac(0xcc)][_0x58f2ac(0xd2)][_0x58f2ac(0x74)](),'expiresAt':_0x586209[_0x58f2ac(0xfc)],'payload':_0xa699ca});}catch{this[_0x58f2ac(0xcc)][_0x58f2ac(0x98)]({'type':_0x58f2ac(0xf1),'workbenchConnectionId':_0x586209[_0x58f2ac(0xa3)],'watchType':_0x58f2ac(0xe1),'watchId':_0x586209[_0x58f2ac(0xe2)],'nodeGeneration':_0x586209[_0x58f2ac(0xba)],'nodeId':this[_0x58f2ac(0xcc)][_0x58f2ac(0xc8)](),'workspaceId':_0x5c9374['id'],'topic':_0x44827d,'code':_0x58f2ac(0xe5),'message':_0x58f2ac(0xef)});}};if(_0x586209[_0x4529a9(0xf0)][_0x4529a9(0xb7)])_0x3c2cf8[_0x4529a9(0xc0)](_0xbc8d78(_0x4529a9(0xb7),()=>this[_0x4529a9(0xcc)][_0x4529a9(0xad)](_0x5c9374['id'])));if(_0x586209[_0x4529a9(0xf0)][_0x4529a9(0x75)]!==undefined)_0x3c2cf8[_0x4529a9(0xc0)](_0xbc8d78(_0x4529a9(0x75),async()=>({'files':await this[_0x4529a9(0xcc)][_0x4529a9(0x75)][_0x4529a9(0x8d)](_0x5c9374,_0x586209[_0x4529a9(0xf0)][_0x4529a9(0x75)])})));if(_0x586209[_0x4529a9(0xf0)][_0x4529a9(0x81)])_0x3c2cf8[_0x4529a9(0xc0)](_0xbc8d78(_0x4529a9(0x81),async()=>_0x5c9374[_0x4529a9(0xd8)]===_0x4529a9(0xdc)?this[_0x4529a9(0xcc)][_0x4529a9(0x81)][_0x4529a9(0x82)](_0x5c9374):null));if(_0x586209[_0x4529a9(0xf0)][_0x4529a9(0x75)]!==undefined||_0x586209[_0x4529a9(0xf0)][_0x4529a9(0x81)])void this[_0x4529a9(0xcc)][_0x4529a9(0x75)][_0x4529a9(0xaa)](_0x5c9374)[_0x4529a9(0x8f)]()[_0x4529a9(0xec)](()=>undefined);await Promise[_0x4529a9(0x70)](_0x3c2cf8);}async[_0x5f2fbb(0x9f)](_0x262ff3,_0x411ba1,_0x16c85,_0x192a93){const _0x26dff3=_0x5f2fbb;try{const _0x5d47be=await _0x192a93();this[_0x26dff3(0xbd)](_0x262ff3,_0x411ba1,_0x16c85,_0x5d47be);}catch{this[_0x26dff3(0xcc)][_0x26dff3(0x98)]({'type':_0x26dff3(0xf1),'workbenchConnectionId':_0x411ba1[_0x26dff3(0xa3)],'watchType':_0x26dff3(0xe1),'watchId':_0x411ba1[_0x26dff3(0xe2)],'nodeGeneration':_0x411ba1[_0x26dff3(0xba)],'nodeId':this[_0x26dff3(0xcc)][_0x26dff3(0xc8)](),'workspaceId':_0x262ff3['id'],'topic':_0x16c85,'code':_0x26dff3(0xe5),'message':_0x26dff3(0xef)});}}[_0x5f2fbb(0xbd)](_0x5074eb,_0x4ccf72,_0x4979cb,_0x2dd78b){const _0x59929a=_0x5f2fbb;if(!this[_0x59929a(0xcc)][_0x59929a(0xd2)][_0x59929a(0x8a)](_0x5074eb['id'],_0x4ccf72[_0x59929a(0xea)]+':'+_0x4ccf72[_0x59929a(0xa3)],_0x4ccf72[_0x59929a(0xe2)]))return;this[_0x59929a(0xcc)][_0x59929a(0x98)]({'type':_0x59929a(0xe0),'workbenchConnectionId':_0x4ccf72[_0x59929a(0xa3)],'watchId':_0x4ccf72[_0x59929a(0xe2)],'nodeGeneration':_0x4ccf72[_0x59929a(0xba)],'nodeId':this[_0x59929a(0xcc)][_0x59929a(0xc8)](),'workspaceId':_0x5074eb['id'],'topic':_0x4979cb,'revision':this[_0x59929a(0xcc)][_0x59929a(0xd2)][_0x59929a(0xab)](_0x5074eb['id']),'snapshotSequence':this[_0x59929a(0xcc)][_0x59929a(0xd2)][_0x59929a(0x74)](),'expiresAt':_0x4ccf72[_0x59929a(0xfc)],'payload':_0x2dd78b});}async[_0x5f2fbb(0x9e)](_0x232d5c){const _0x392684=_0x5f2fbb,_0x1d9a57=this[_0x392684(0xcc)][_0x392684(0x96)](_0x232d5c[_0x392684(0xbe)]);return{'files':await this[_0x392684(0xcc)][_0x392684(0x75)][_0x392684(0x8d)](_0x1d9a57,_0x232d5c)};}async[_0x5f2fbb(0x8b)](_0x73ae70){const _0x2295a8=_0x5f2fbb,_0x5a6d03=this[_0x2295a8(0xcc)][_0x2295a8(0x96)](_0x73ae70[_0x2295a8(0xbe)]);return{'file':await this[_0x2295a8(0xcc)][_0x2295a8(0x75)][_0x2295a8(0x90)](_0x5a6d03,_0x73ae70)};}async[_0x5f2fbb(0x84)](_0x2c6ba9){const _0x150467=_0x5f2fbb,_0x52fb79=this[_0x150467(0xcc)][_0x150467(0x96)](_0x2c6ba9[_0x150467(0xbe)]);return{'file':await this[_0x150467(0xcc)][_0x150467(0x75)][_0x150467(0xa8)](_0x52fb79,_0x2c6ba9)};}async[_0x5f2fbb(0x77)](_0x351a47){const _0x23a68b=_0x5f2fbb,_0x4e0ef8=this[_0x23a68b(0xcc)][_0x23a68b(0x96)](_0x351a47[_0x23a68b(0xbe)]);return{'files':await this[_0x23a68b(0xcc)][_0x23a68b(0x75)][_0x23a68b(0x7a)](_0x4e0ef8,_0x351a47)};}async[_0x5f2fbb(0xc7)](_0x29de66){const _0x550155=_0x5f2fbb,_0x2a5fc2=this[_0x550155(0xcc)][_0x550155(0x96)](_0x29de66[_0x550155(0xbe)]);return{'file':await this[_0x550155(0xcc)][_0x550155(0x75)][_0x550155(0xf8)](_0x2a5fc2,_0x29de66)};}async[_0x5f2fbb(0xb0)](_0x264c83){const _0xb6703e=_0x5f2fbb,_0x2c18fe=this[_0xb6703e(0xcc)][_0xb6703e(0x96)](_0x264c83[_0xb6703e(0xbe)]);return{'search':await this[_0xb6703e(0x9d)][_0xb6703e(0x7a)](_0x2c18fe,_0x264c83)};}async[_0x5f2fbb(0xe7)](_0x49fb86){const _0x538912=_0x5f2fbb;return{'uploads':await this[_0x538912(0xcc)][_0x538912(0xbc)][_0x538912(0xe7)](this[_0x538912(0xcc)][_0x538912(0x96)](_0x49fb86[_0x538912(0xbe)]),_0x49fb86)};}async[_0x5f2fbb(0x91)](_0x38169c){const _0x20dc62=_0x5f2fbb;return{'upload':await this[_0x20dc62(0xcc)][_0x20dc62(0xbc)][_0x20dc62(0xd4)](this[_0x20dc62(0xcc)][_0x20dc62(0x96)](_0x38169c[_0x20dc62(0xbe)]),_0x38169c)};}async[_0x5f2fbb(0xdd)](_0x11266b){const _0x29f581=_0x5f2fbb;return{'upload':await this[_0x29f581(0xcc)][_0x29f581(0xbc)][_0x29f581(0xa8)](_0x11266b)};}async[_0x5f2fbb(0xdb)](_0x4af3a4){const _0x30a6b3=_0x5f2fbb;return{'upload':await this[_0x30a6b3(0xcc)][_0x30a6b3(0xbc)][_0x30a6b3(0xa5)](_0x4af3a4[_0x30a6b3(0xfa)])};}async[_0x5f2fbb(0x79)](_0x26e2d0){const _0x337d60=_0x5f2fbb;return await this[_0x337d60(0xcc)][_0x337d60(0xbc)][_0x337d60(0xeb)](_0x26e2d0[_0x337d60(0xfa)]),{'cancelled':!![]};}async[_0x5f2fbb(0xe9)](_0x4da2f2){const _0x299988=_0x5f2fbb;return this[_0x299988(0xcc)][_0x299988(0x81)][_0x299988(0x82)](this[_0x299988(0xcc)][_0x299988(0x96)](_0x4da2f2[_0x299988(0xbe)]));}async[_0x5f2fbb(0xa4)](_0x5bcaab){const _0x4d25a0=_0x5f2fbb;if(typeof _0x5bcaab[_0x4d25a0(0xbe)]!==_0x4d25a0(0xb8))throw new Error(_0x4d25a0(0xd1));return{'file':await this[_0x4d25a0(0xcc)][_0x4d25a0(0x75)][_0x4d25a0(0x87)](this[_0x4d25a0(0xcc)][_0x4d25a0(0x96)](_0x5bcaab[_0x4d25a0(0xbe)]),_0x5bcaab)};}async[_0x5f2fbb(0xf7)](_0x262333){const _0x30692b=_0x5f2fbb;if(typeof _0x262333[_0x30692b(0xbe)]!==_0x30692b(0xb8)||typeof _0x262333[_0x30692b(0xb4)]!==_0x30692b(0xb8)||_0x262333[_0x30692b(0xaf)]!==undefined&&typeof _0x262333[_0x30692b(0xaf)]!==_0x30692b(0xb8))throw new Error(_0x30692b(0x8c));const _0x1cf1ea=this[_0x30692b(0x97)](_0x262333[_0x30692b(0xbe)]),_0x2b4184=await resolveGitRepository(_0x1cf1ea[_0x30692b(0xb4)],_0x262333[_0x30692b(0xaf)]??'');return{'diff':await readCurrentChangeDiff(_0x2b4184,_0x262333[_0x30692b(0xb4)])};}async[_0x5f2fbb(0xe6)](_0x32976c){const _0x73199c=_0x5f2fbb;if(typeof _0x32976c[_0x73199c(0xbe)]!==_0x73199c(0xb8)||typeof _0x32976c[_0x73199c(0xb4)]!==_0x73199c(0xb8)||_0x32976c[_0x73199c(0xaf)]!==undefined&&typeof _0x32976c[_0x73199c(0xaf)]!==_0x73199c(0xb8)||_0x32976c[_0x73199c(0xe8)]!==_0x73199c(0xc2)&&_0x32976c[_0x73199c(0xe8)]!==_0x73199c(0xda)&&_0x32976c[_0x73199c(0xe8)]!==_0x73199c(0x92))throw new Error(_0x73199c(0xb2));const _0x53cf1e=this[_0x73199c(0x97)](_0x32976c[_0x73199c(0xbe)]),_0x26275b=await resolveGitRepository(_0x53cf1e[_0x73199c(0xb4)],_0x32976c[_0x73199c(0xaf)]??'');return await restoreCurrentChange(_0x26275b,_0x32976c[_0x73199c(0xb4)],_0x32976c[_0x73199c(0xe8)]),this[_0x73199c(0xcc)][_0x73199c(0xb9)](_0x53cf1e['id']),{'restored':!![]};}async[_0x5f2fbb(0xf6)](_0x407b4a){const _0x5a87f5=_0x5f2fbb;if(typeof _0x407b4a[_0x5a87f5(0xbe)]!==_0x5a87f5(0xb8)||_0x407b4a[_0x5a87f5(0xaf)]!==undefined&&typeof _0x407b4a[_0x5a87f5(0xaf)]!==_0x5a87f5(0xb8))throw new Error(_0x5a87f5(0xdf));const _0x586165=this[_0x5a87f5(0x97)](_0x407b4a[_0x5a87f5(0xbe)]);return resolveGitRepository(_0x586165[_0x5a87f5(0xb4)],_0x407b4a[_0x5a87f5(0xaf)]??'');}[_0x5f2fbb(0x78)](_0x4a2f86){const _0x246d0d=_0x5f2fbb;if(_0x4a2f86[_0x246d0d(0x78)]===undefined)return undefined;if(!Array[_0x246d0d(0xce)](_0x4a2f86[_0x246d0d(0x78)])||_0x4a2f86[_0x246d0d(0x78)][_0x246d0d(0xa9)]>-0x1*-0x1f2a+0x652*-0x4+-0x562||_0x4a2f86[_0x246d0d(0x78)][_0x246d0d(0xcb)](_0x1401b2=>typeof _0x1401b2!==_0x246d0d(0xb8)))throw new Error(_0x246d0d(0xc5));return _0x4a2f86[_0x246d0d(0x78)];}async[_0x5f2fbb(0x7e)](_0x353ab9){const _0x26cb71=_0x5f2fbb;return{'refs':await listGitHistoryRefs(await this[_0x26cb71(0xf6)](_0x353ab9))};}async[_0x5f2fbb(0xcf)](_0x4a5aaa){const _0x57f2c8=_0x5f2fbb,_0x472d3d=this[_0x57f2c8(0x78)](_0x4a5aaa);if(_0x4a5aaa[_0x57f2c8(0x85)]!==undefined&&typeof _0x4a5aaa[_0x57f2c8(0x85)]!==_0x57f2c8(0xb8))throw new Error(_0x57f2c8(0x9c));if(_0x4a5aaa[_0x57f2c8(0x7b)]!==undefined&&(typeof _0x4a5aaa[_0x57f2c8(0x7b)]!==_0x57f2c8(0xed)||!Number[_0x57f2c8(0x88)](_0x4a5aaa[_0x57f2c8(0x7b)])||_0x4a5aaa[_0x57f2c8(0x7b)]<0x825*0x4+0x73c*-0x2+-0x121b||_0x4a5aaa[_0x57f2c8(0x7b)]>0xf90+-0x16*0x135+-0x5e*-0x1f))throw new Error(_0x57f2c8(0xd6));return readGitHistory(await this[_0x57f2c8(0xf6)](_0x4a5aaa),{..._0x472d3d===undefined?{}:{'refs':_0x472d3d},...typeof _0x4a5aaa[_0x57f2c8(0x85)]===_0x57f2c8(0xb8)?{'cursor':_0x4a5aaa[_0x57f2c8(0x85)]}:{},...typeof _0x4a5aaa[_0x57f2c8(0x7b)]===_0x57f2c8(0xed)?{'limit':_0x4a5aaa[_0x57f2c8(0x7b)]}:{}});}async[_0x5f2fbb(0xa2)](_0x579007){const _0x1bd05f=_0x5f2fbb;if(typeof _0x579007[_0x1bd05f(0x7f)]!==_0x1bd05f(0xb8))throw new Error(_0x1bd05f(0xf9));return{'files':await readGitHistoryFiles(await this[_0x1bd05f(0xf6)](_0x579007),_0x579007[_0x1bd05f(0x7f)],this[_0x1bd05f(0x78)](_0x579007))};}async[_0x5f2fbb(0xc4)](_0x70e95c){const _0x3574d3=_0x5f2fbb;if(typeof _0x70e95c[_0x3574d3(0x7f)]!==_0x3574d3(0xb8)||typeof _0x70e95c[_0x3574d3(0xb4)]!==_0x3574d3(0xb8)||_0x70e95c[_0x3574d3(0x95)]!==undefined&&typeof _0x70e95c[_0x3574d3(0x95)]!==_0x3574d3(0xb8))throw new Error(_0x3574d3(0x8c));return{'diff':await readGitHistoryFileDiff(await this[_0x3574d3(0xf6)](_0x70e95c),_0x70e95c[_0x3574d3(0x7f)],_0x70e95c[_0x3574d3(0xb4)],this[_0x3574d3(0x78)](_0x70e95c),_0x70e95c[_0x3574d3(0x95)])};}async[_0x5f2fbb(0x80)](_0x150635){const _0xa3c843=_0x5f2fbb;if(typeof _0x150635[_0xa3c843(0x7f)]!==_0xa3c843(0xb8)||typeof _0x150635[_0xa3c843(0xb4)]!==_0xa3c843(0xb8)||!Number[_0xa3c843(0x71)](_0x150635[_0xa3c843(0xc3)])||_0x150635[_0xa3c843(0xc3)]<-0x1a*0x167+-0xb*-0x79+0x1f43||!Number[_0xa3c843(0x71)](_0x150635[_0xa3c843(0x7b)])||_0x150635[_0xa3c843(0x7b)]<-0x1b4*-0x14+0x817+-0x2a26||_0x150635[_0xa3c843(0x7b)]>(-0x1be3+0x7cf*0x5+-0xb14)*(-0x91f*0x1+-0xe1*-0x2a+-0x17cb)*(-0xbeb+-0xccc+0x1cb7))throw new Error(_0xa3c843(0xf4));return{'file':await readGitHistoryFileContentRange(await this[_0xa3c843(0xf6)](_0x150635),_0x150635[_0xa3c843(0x7f)],_0x150635[_0xa3c843(0xb4)],_0x150635[_0xa3c843(0xc3)],_0x150635[_0xa3c843(0x7b)],this[_0xa3c843(0x78)](_0x150635))};}async[_0x5f2fbb(0xcd)](_0x399ab1){const _0x20b2dd=_0x5f2fbb;if(typeof _0x399ab1[_0x20b2dd(0xbe)]!==_0x20b2dd(0xb8)||typeof _0x399ab1[_0x20b2dd(0xd9)]!==_0x20b2dd(0xb8)||typeof _0x399ab1[_0x20b2dd(0xbf)]!==_0x20b2dd(0xb8))throw new Error(_0x20b2dd(0x8c));const _0x3378e3=this[_0x20b2dd(0x97)](_0x399ab1[_0x20b2dd(0xbe)]);return{'diff':await readRestrictedDiff(_0x3378e3[_0x20b2dd(0xb4)],_0x399ab1[_0x20b2dd(0xd9)],_0x399ab1[_0x20b2dd(0xbf)])};}[_0x5f2fbb(0x97)](_0x3cd7dc){const _0x330e07=_0x5f2fbb,_0x558a49=this[_0x330e07(0xcc)][_0x330e07(0x96)](_0x3cd7dc);if(_0x558a49[_0x330e07(0xd8)]!==_0x330e07(0xdc))throw new Error(_0x330e07(0xd0));return _0x558a49;}}function _0xf835(){const _0x27f761=['D2f0y2G','Bw9Kzq','y3jLyxrL','zxHPC3rPBMC','r0Lux0Hju1rpuLLFteLnsvrFsu5wquXjra','zw1PDfrVCgLJrMfPBhvYzq','A2LUza','zNjVBvjLzG','vu5tvefhruq','y29TCgXLDgvvCgXVywq','r0Lux1DpuKTtuefdrq','D3jPDgvvCgXVywq','B3bLCMf0Aw9UCW','r0Lux1jfue9tsvrpuLLFsu5wquXjra','D2f0y2GUD29YA3nWywnLlNnUyxbZAg90','D29YA3nWywnL','D2f0y2Hjza','CgfYC2vuB3bPy3m','BwfW','v09ss1nqqunfx1Dbvenix1noqvbtse9ux0zbsuXfra','CMvZDg9YzunOyw5Nzq','ChjLzMXPz2H0','C3rHDgu','y3vYCMvUDenOyw5Nzxm','C2vZC2LVBKHHC2G','y2fUy2vS','y2f0y2G','BNvTyMvY','Aw5PDgLHBa','v29YA3nWywnLihDHDgnOihnUyxbZAg90igzHAwXLzc4','Dg9WAwnZ','D2f0y2GUzMfPBgvK','Dg9WAwnszwzYzxnOzxm','mZaYndKXmKH2sMrdtG','rKLmrv9squ5hrv9jtLzbteLe','y3jLyxrLsw5PDgLHBfnUyxbZAg90CW','z2L0uMvWB3nPDg9YEq','y2HHBMDLrgLMzG','Bxv0yxrL','r0Lux0Hju1rpuLLFq09ntuLux0LovKfmsuq','DxbSB2fKswq','C3rHDhvZ','zxHWAxjLC0f0','ywXS','AxntywzLsw50zwDLCG','zgvSzxrL','CMvMCMvZAfrVCgLJ','BMv4DfnUyxbZAg90u2vXDwvUy2u','zMLSzxm','nLPlCef6Aq','C2vHCMnOrMLSzxm','CMvMCW','y2fUy2vSvxbSB2fK','C2vHCMnO','BgLTAxq','mJu1oty3ENrXz3r5','mJiZmJC1mdb4tLbnyNO','z2L0uMvMCW','y29TBwL0','z2L0q29TBwL0rMLSzunVBNrLBNq','y2HHBMDLCW','y3vYCMvUDa','v09ss1nqqunfx1Dbvenix0LovKfmsuq','D3jPDgvgAwXL','y3vYC29Y','DgvZDa','CMvHzenVBNrLBNq','AxnjBNrLz2vY','v09ss1nqqunfx1Dbvenix05pvf9gt1vora','Bwf0y2HLCW','CMvHzezPBgu','r0Lux0rjrKzFsu5wquXjra','BgLZDa','ywrK','B2jZzxj2zq','CMvHza','y3jLyxrLvxbSB2fK','vu5uuKfds0ve','B2jQzwn0','mtCZmty2oeXvEfHRwq','ChjLDMLVDxnqyxrO','CMvXDwLYzvDVCMTZCgfJzq','z2L0v29YA3nWywnL','zw1PDfDHDgnOrxzLBNq','zMLSDgvY','ndeZotmWnwrYzhH2Dq','C3rYAw5NAwz5','r0Lux0Hju1rpuLLFq1vsu09sx0LovKfmsuq','y29UDgvUDfnLyxjJAa','BgLZDezPBgvZ','zw1PDfnUyxbZAg90','CgvYzM9YBvrVCgLJuMvMCMvZAa','ywnJzxb0zwq','z2L0q29TBwL0rMLSzxm','D29YA2jLBMnOq29UBMvJDgLVBKLK','CMvHzezPBgvdB250zw50','y29TCgXLDgu','zgLYDhLuB3bPy3m','mZK3nJu4mwP3twzfwq','D3jPDgu','BgvUz3rO','Aw5KzxG','BMv4DfjLDMLZAw9U','ywn0AxzLv2f0y2HLCW','BgLZDfnLC3nPB25Z','Dw53yxrJAa','CMvWB3nPDg9YEvbHDgG','C2vHCMnOq29UDgvUDa','DMfSDwvZ','r0Lux0niqu5hrv9srvnut1jfx1voqvzbsuXbqKXf','CMvUzxC','Cgf0Aa','nM1tEgPZsG','CMvTB3zL','C2vZC2LVBNm','C3rYAw5N','Aw52ywXPzgf0zq','BM9KzuDLBMvYyxrPB24','mtCXmhLmDLPstW','DxbSB2fKCW','zgvSAxzLCLnUyxbZAg90','D29YA3nWywnLswq','Dg9szwy','ChvZAa','A2v5','u1rbr0ve','B2zMC2v0','z2L0q29TBwL0rMLSzurPzMy','r0Lux0Hju1rpuLLFuKvgx0LovKfmsuq','C2v0','Bxv0yxrLrMLSzq','BM9KzuLK','z2v0','ntiXmJbHvvrxrNK','C29Tzq','B3b0Aw9UCW','zgLMzG','AxnbCNjHEq','z2L0sgLZDg9YEq','v09ss1nqqunfx05pvf9hsvq','v09ss1nqqunfx05pvf9gt1vora'];_0xf835=function(){return _0x27f761;};return _0xf835();}function record(_0x18a9d8){const _0x32e784=_0x5f2fbb;return typeof _0x18a9d8===_0x32e784(0x93)&&_0x18a9d8!==null&&!Array[_0x32e784(0xce)](_0x18a9d8)?_0x18a9d8:{};}