apt-mcp-agent-setup 3.5.7 → 3.5.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cli.js +1 -1
- package/bundle/NOTICES.md +0 -0
- package/bundle/core.enc +0 -0
- package/bundle/mcp-rules.enc +0 -0
- package/bundle/skills-aso.enc +0 -0
- package/bundle/skills-ba.enc +0 -0
- package/bundle/skills-base.enc +0 -0
- package/bundle/skills-be.enc +0 -0
- package/bundle/skills-design.enc +0 -0
- package/bundle/skills-fe.enc +0 -0
- package/bundle/skills-marketing.enc +0 -0
- package/bundle/skills-mobile.enc +0 -0
- package/bundle/skills-pm.enc +0 -0
- package/integrity-manifest.json +121 -120
- package/package.json +1 -1
- package/src/backends/browser-tools.js +1 -1
- package/src/backends/index-command.js +1 -1
- package/src/backends/index-store.js +1 -1
- package/src/backends/profiles.js +1 -1
- package/src/core/admission-fence.js +1 -1
- package/src/core/aso-import.js +1 -1
- package/src/core/caller-context.js +1 -1
- package/src/core/catalog.js +1 -1
- package/src/core/claude-caller-authority.js +1 -1
- package/src/core/claude-invocation.js +1 -1
- package/src/core/claude-native.js +1 -1
- package/src/core/claude-plan.js +1 -1
- package/src/core/claude-worker-transcript.js +1 -1
- package/src/core/codex-host-metadata.js +1 -1
- package/src/core/codex-transcript-receipt.js +1 -1
- package/src/core/context-metrics.js +1 -1
- package/src/core/doctor.js +1 -1
- package/src/core/draining-completion.js +1 -1
- package/src/core/execution.js +1 -1
- package/src/core/git-context.js +1 -1
- package/src/core/hook-bridge.js +1 -1
- package/src/core/host-adapters.js +1 -1
- package/src/core/ipc-envelope.js +1 -1
- package/src/core/memory-scope.js +1 -1
- package/src/core/memory-store.js +1 -1
- package/src/core/model-inventory.js +1 -1
- package/src/core/model-routing.js +1 -1
- package/src/core/native-dispatch.js +1 -1
- package/src/core/node-version.js +1 -1
- package/src/core/npm-cli.js +1 -1
- package/src/core/owned-command-child.js +1 -1
- package/src/core/owned-command.js +1 -1
- package/src/core/owned-lock.js +1 -1
- package/src/core/owned-process.js +1 -1
- package/src/core/presentations.js +1 -1
- package/src/core/quality-artifacts.js +1 -1
- package/src/core/quality.js +1 -1
- package/src/core/read-command.js +1 -1
- package/src/core/readonly-skill.js +1 -1
- package/src/core/resource-transaction.js +1 -1
- package/src/core/run-compatibility.js +1 -1
- package/src/core/runtime-info.js +1 -1
- package/src/core/runtime-ownership.js +1 -1
- package/src/core/session.js +1 -1
- package/src/core/skill-companions.js +1 -1
- package/src/core/skill-names.js +1 -1
- package/src/core/storage-retry.js +1 -1
- package/src/core/tool-contracts.js +1 -1
- package/src/core/update-control.js +1 -1
- package/src/core/upgrade-runs.js +1 -1
- package/src/core/upgrade-stop.js +1 -1
- package/src/core/windows-job.js +1 -1
- package/src/core/workspace-generation.js +1 -1
- package/src/core/workspace-path.js +1 -1
- package/src/installer/bounded-command.js +1 -1
- package/src/installer/candidate-preflight.js +1 -1
- package/src/installer/connection-activation.js +1 -1
- package/src/installer/connection-supervisor.js +1 -1
- package/src/installer/deployment-draft.js +1 -1
- package/src/installer/gateway-context.js +1 -1
- package/src/installer/gateway-migration.js +1 -1
- package/src/installer/gateway-runtime.js +1 -1
- package/src/installer/global-setup.js +1 -1
- package/src/installer/hook-context-client.js +1 -1
- package/src/installer/host-hooks.js +1 -1
- package/src/installer/index-recovery.js +1 -0
- package/src/installer/legacy-registration.js +1 -1
- package/src/installer/managed-config.js +1 -1
- package/src/installer/platform-config.js +1 -1
- package/src/installer/prerequisites.js +1 -1
- package/src/installer/presentations.js +1 -1
- package/src/installer/project-setup.js +1 -1
- package/src/installer/registration-closure.js +1 -1
- package/src/installer/registration-plan.js +1 -1
- package/src/installer/registration-receipt.js +1 -1
- package/src/installer/registrations.js +1 -1
- package/src/installer/runtime-activation.js +1 -1
- package/src/installer/runtime-child.js +1 -1
- package/src/installer/runtime-cleanup.js +1 -1
- package/src/installer/runtime-lock.js +1 -1
- package/src/installer/runtime-store.js +1 -1
- package/src/installer/runtime-supervisor.js +1 -1
- package/src/installer/setup-wizard.js +1 -1
- package/src/installer/update-addons.js +1 -1
- package/src/installer/update-cleanup.js +1 -1
- package/src/installer/update-executor.js +1 -1
- package/src/installer/update-registration.js +1 -1
- package/src/installer/update-request.js +1 -1
- package/src/installer/update-scope.js +1 -1
- package/src/installer/workspace-registry.js +1 -1
- package/src/installer/workspace-transaction.js +1 -1
- package/src/installer/workspace-update.js +1 -1
- package/src/license/crypto.js +1 -1
- package/src/license/fingerprint.js +1 -1
- package/src/license/terms.js +1 -1
- package/src/license/verify.js +1 -1
- package/src/presets/index.js +1 -1
- package/src/proxy/backends.js +1 -1
- package/src/proxy/browser-sessions.js +1 -1
- package/src/proxy/core-tools.js +1 -1
- package/src/proxy/pipeline.js +1 -1
- package/src/proxy/public-catalog.js +1 -1
- package/src/proxy/router.config.js +1 -1
- package/src/proxy/router.js +1 -1
- package/src/proxy/server.js +1 -1
- package/src/proxy/workspace-gateway.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function _0x5405(_0x366697,_0x324ca0){_0x366697=_0x366697-0x140;const _0x3076e2=_0x3076();let _0x540509=_0x3076e2[_0x366697];if(_0x5405['EhWBtS']===undefined){var _0x59231d=function(_0xcc4c0e){const _0x3f5a44='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x117fca='',_0x5e5ef2='';for(let _0x9ce318=0x0,_0x88e7ac,_0x58a8d5,_0x12e9f=0x0;_0x58a8d5=_0xcc4c0e['charAt'](_0x12e9f++);~_0x58a8d5&&(_0x88e7ac=_0x9ce318%0x4?_0x88e7ac*0x40+_0x58a8d5:_0x58a8d5,_0x9ce318++%0x4)?_0x117fca+=String['fromCharCode'](0xff&_0x88e7ac>>(-0x2*_0x9ce318&0x6)):0x0){_0x58a8d5=_0x3f5a44['indexOf'](_0x58a8d5);}for(let _0x371e6f=0x0,_0x28b338=_0x117fca['length'];_0x371e6f<_0x28b338;_0x371e6f++){_0x5e5ef2+='%'+('00'+_0x117fca['charCodeAt'](_0x371e6f)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5e5ef2);};_0x5405['SkfINQ']=_0x59231d,_0x5405['dNUwSW']={},_0x5405['EhWBtS']=!![];}const _0x240fe8=_0x3076e2[0x0],_0x34a1a6=_0x366697+_0x240fe8,_0x4c99e7=_0x5405['dNUwSW'][_0x34a1a6];return!_0x4c99e7?(_0x540509=_0x5405['SkfINQ'](_0x540509),_0x5405['dNUwSW'][_0x34a1a6]=_0x540509):_0x540509=_0x4c99e7,_0x540509;}const _0x2cae65=_0x5405;(function(_0x36ba81,_0x4f4687){const _0x75feb1=_0x5405,_0x198084=_0x36ba81();while(!![]){try{const _0x192eb4=-parseInt(_0x75feb1(0x154))/0x1+parseInt(_0x75feb1(0x15d))/0x2*(-parseInt(_0x75feb1(0x181))/0x3)+-parseInt(_0x75feb1(0x18e))/0x4*(-parseInt(_0x75feb1(0x146))/0x5)+-parseInt(_0x75feb1(0x152))/0x6*(parseInt(_0x75feb1(0x190))/0x7)+-parseInt(_0x75feb1(0x17e))/0x8*(-parseInt(_0x75feb1(0x153))/0x9)+parseInt(_0x75feb1(0x159))/0xa+-parseInt(_0x75feb1(0x15e))/0xb*(parseInt(_0x75feb1(0x151))/0xc);if(_0x192eb4===_0x4f4687)break;else _0x198084['push'](_0x198084['shift']());}catch(_0x1819b8){_0x198084['push'](_0x198084['shift']());}}}(_0x3076,0xdffa6));const fs=require(_0x2cae65(0x155)),path=require(_0x2cae65(0x179)),os=require(_0x2cae65(0x142)),crypto=require(_0x2cae65(0x182)),{identity,sameWorkspace}=require(_0x2cae65(0x193)),{acquireRuntimeLock}=require('../core/owned-lock'),fail=_0x9ce318=>{const _0x29b4a1=_0x2cae65;throw Object[_0x29b4a1(0x171)](new Error(_0x9ce318),{'code':_0x9ce318});},idFor=_0x88e7ac=>crypto[_0x2cae65(0x15b)](_0x2cae65(0x187))[_0x2cae65(0x158)](identity(_0x88e7ac))[_0x2cae65(0x168)](_0x2cae65(0x185))['slice'](0x0,0x18);class WorkspaceRegistry{constructor(_0x58a8d5={}){const _0x30ec34=_0x2cae65;this[_0x30ec34(0x14e)]=path[_0x30ec34(0x143)](_0x58a8d5['root']||process.env.APT_WORKSPACE_REGISTRY_ROOT||(process.env.APT_REGISTRATION_RECEIPT_ROOT?path[_0x30ec34(0x176)](process.env.APT_REGISTRATION_RECEIPT_ROOT,_0x30ec34(0x165)):null)||path[_0x30ec34(0x176)](os['homedir'](),'.anhdh',_0x30ec34(0x167),'projects'));}[_0x2cae65(0x141)](){const _0x144340=_0x2cae65;let _0x12e9f;try{_0x12e9f=fs[_0x144340(0x18f)](this[_0x144340(0x14e)]);}catch(_0x28b338){if(_0x28b338['code']===_0x144340(0x156))return[];throw _0x28b338;}const _0x371e6f=[];for(const _0x4f27d7 of _0x12e9f[_0x144340(0x18a)](_0x34c208=>/^[a-f0-9]{24}\.json$/[_0x144340(0x191)](_0x34c208))){const _0x1577de=path[_0x144340(0x176)](this[_0x144340(0x14e)],_0x4f27d7);try{if(!fs[_0x144340(0x14b)](_0x1577de)[_0x144340(0x164)]()||fs['lstatSync'](_0x1577de)[_0x144340(0x16d)]())continue;const _0x42d074=JSON['parse'](fs['readFileSync'](_0x1577de,_0x144340(0x145)));if(_0x42d074[_0x144340(0x177)]!==0x1||!Array[_0x144340(0x16a)](_0x42d074[_0x144340(0x14a)])||_0x42d074[_0x144340(0x162)]!==_0x4f27d7[_0x144340(0x178)](0x0,-0x5)||idFor(_0x42d074[_0x144340(0x17a)])!==_0x42d074['workspaceId'])continue;_0x371e6f['push']({..._0x42d074,'workspace':fs[_0x144340(0x157)](_0x42d074[_0x144340(0x17a)])});}catch{}}return _0x371e6f[_0x144340(0x192)]((_0x106fe2,_0x2eeba4)=>_0x106fe2[_0x144340(0x17a)][_0x144340(0x147)](_0x2eeba4[_0x144340(0x17a)]));}[_0x2cae65(0x140)]({workspace:_0x39cab8,host:_0x2fbefc,provenance:_0x312950,profile:_0x5e1fc8}){const _0x42438a=_0x2cae65;if(![_0x42438a(0x149),_0x42438a(0x17c)][_0x42438a(0x170)](_0x312950)||typeof _0x2fbefc!==_0x42438a(0x173)||!_0x2fbefc)fail(_0x42438a(0x15c));_0x39cab8=fs['realpathSync'](_0x39cab8);if(!fs[_0x42438a(0x18c)](_0x39cab8)['isDirectory']())fail('INVALID_WORKSPACE');const _0x1e9c25=idFor(_0x39cab8),_0x24d2f5={};_0x24d2f5[_0x42438a(0x14d)]=!![],fs['mkdirSync'](this[_0x42438a(0x14e)],_0x24d2f5);const _0x2006a2=path[_0x42438a(0x176)](this[_0x42438a(0x14e)],_0x1e9c25+_0x42438a(0x180)),_0x29ce21=acquireRuntimeLock(_0x2006a2+'.lock');if(!_0x29ce21)fail('WORKSPACE_REGISTRY_BUSY');try{const _0x585077=this['list']()['find'](_0x296bfa=>_0x296bfa[_0x42438a(0x162)]===_0x1e9c25);if(fs[_0x42438a(0x144)](_0x2006a2)&&!_0x585077)fail('WORKSPACE_REGISTRY_CONFLICT');if(_0x312950==='owned-registration-migration'&&_0x5e1fc8&&_0x585077?.[_0x42438a(0x16c)]?.[_0x2fbefc]&&!require(_0x42438a(0x189))[_0x42438a(0x17b)](_0x585077[_0x42438a(0x16c)][_0x2fbefc],_0x5e1fc8))fail(_0x42438a(0x163));const _0x496976={'version':0x1,'workspaceId':_0x1e9c25,'workspace':_0x39cab8,'hosts':[...new Set([..._0x585077?.[_0x42438a(0x14a)]||[],_0x2fbefc])][_0x42438a(0x192)](),'provenance':_0x312950,'enrolledAt':_0x585077?.[_0x42438a(0x17f)]||new Date()[_0x42438a(0x18d)]()};if(_0x585077?.[_0x42438a(0x16c)]||_0x5e1fc8)_0x496976[_0x42438a(0x16c)]={..._0x585077?.['profiles'],..._0x5e1fc8?{[_0x2fbefc]:require(_0x42438a(0x18b))[_0x42438a(0x175)](_0x2fbefc,{'command':_0x42438a(0x174),'args':[],..._0x5e1fc8})}:{}};if(JSON[_0x42438a(0x148)](_0x585077)===JSON[_0x42438a(0x148)](_0x496976))return _0x496976;const _0x23e52b=_0x2006a2+'.'+crypto[_0x42438a(0x14f)]()+_0x42438a(0x14c),_0x5df260=fs[_0x42438a(0x172)](_0x23e52b,'wx',0x180);try{fs[_0x42438a(0x16b)](_0x5df260,JSON[_0x42438a(0x148)](_0x496976)),fs[_0x42438a(0x15f)](_0x5df260);}finally{fs[_0x42438a(0x16f)](_0x5df260);}try{fs[_0x42438a(0x15a)](_0x23e52b,_0x2006a2);}finally{try{fs[_0x42438a(0x166)](_0x23e52b);}catch{}}return _0x496976;}finally{_0x29ce21();}}[_0x2cae65(0x143)]({workspaceId:_0x3991e4,workspacePath:_0x18fd7e}={},_0x5c5896={}){const _0x3f69f4=_0x2cae65;if(!_0x3991e4&&!_0x18fd7e)fail(_0x3f69f4(0x150));if(_0x3991e4!==undefined&&!/^[a-f0-9]{24}$/['test'](_0x3991e4))fail(_0x3f69f4(0x183));if(_0x18fd7e!==undefined&&(typeof _0x18fd7e!=='string'||!path[_0x3f69f4(0x161)](_0x18fd7e)))fail(_0x3f69f4(0x169));let _0x4ac16f=this['list']()[_0x3f69f4(0x18a)](_0x3028d3=>!_0x5c5896['host']||_0x3028d3[_0x3f69f4(0x14a)]['includes'](_0x5c5896[_0x3f69f4(0x17d)]));if(_0x3991e4)_0x4ac16f=_0x4ac16f[_0x3f69f4(0x18a)](_0x2c0d58=>_0x2c0d58[_0x3f69f4(0x162)]===_0x3991e4);if(_0x18fd7e){if(_0x3991e4&&_0x4ac16f['length']&&!sameWorkspace(_0x4ac16f[0x0][_0x3f69f4(0x17a)],_0x18fd7e))fail(_0x3f69f4(0x184));_0x4ac16f=_0x4ac16f[_0x3f69f4(0x18a)](_0x37c343=>sameWorkspace(_0x37c343[_0x3f69f4(0x17a)],_0x18fd7e));}if(!_0x4ac16f[_0x3f69f4(0x188)])fail(_0x3f69f4(0x16e));if(_0x4ac16f[_0x3f69f4(0x188)]>0x1)fail('WORKSPACE_AMBIGUOUS');return _0x4ac16f[0x0];}}function _0x3076(){const _0x28f78c=['C29YDa','lI4Vy29Yzs93B3jRC3bHy2uTCgf0Aa','zw5YB2XS','BgLZDa','BM9KztPVCW','CMvZB2X2zq','zxHPC3rZu3LUyW','DxrMoa','ntK1CxDys2vj','Bg9JywXLq29TCgfYzq','C3rYAw5NAwz5','Aw5ZDgfSBgvY','Ag9ZDhm','Bhn0yxrtEw5J','lNrTCa','CMvJDxjZAxzL','CM9VDa','CMfUzg9Tvvvjra','v09ss1nqqunfx0jjtKrjtKDFuKvrvuLsruq','odq2nZu3mLnsD2zQzW','nJqYshvzu1zQ','ndC3CwvktgHg','nte2ntmWwKH4DLrM','BM9KztPMCW','ru5pru5u','CMvHBhbHDgHtEw5J','DxbKyxrL','mtu1nte0nJbPrKzkqMi','CMvUyw1Lu3LUyW','y3jLyxrLsgfZAa','v09ss1nqqunfx0vouK9mte1ftLrFsu5wquXjra','nJq3oty0sKf0v2zo','mtfjwKfxshO','zNn5BMntEw5J','zxHWB3j0CW','AxnbyNnVBhv0zq','D29YA3nWywnLswq','tuLhuKfusu9ox1bst0zjtevFq09orKXjq1q','AxngAwXL','ChjVAMvJDhm','Dw5SAw5Ru3LUyW','yxb0lxj1BNrPBwu','zgLNzxn0','su5wquXjrf9xt1jlu1bbq0vFuefusa','AxnbCNjHEq','D3jPDgvgAwXLu3LUyW','ChjVzMLSzxm','AxntEw1IB2XPy0XPBMS','v09ss1nqqunfx05pvf9sruDju1rfuKve','y2XVC2vtEw5J','Aw5JBhvKzxm','yxnZAwDU','B3bLBLn5BMm','C3rYAw5N','BM9Kzq','ChjVzMLSzuzVCG','AM9PBG','DMvYC2LVBG','C2XPy2u','BM9KztPWyxrO','D29YA3nWywnL','AxnezwvWu3rYAwn0rxf1ywW','B3DUzwqTCMvNAxn0CMf0Aw9Ulw1Pz3jHDgLVBG','Ag9ZDa','mJi1ndy0uNjUB3jb','zw5YB2XSzwrbDa','lMPZB24','ovvPAvHTvG','BM9KztPJCNLWDg8','su5wquXjrf9xt1jlu1bbq0vFsuq','v09ss1nqqunfx0jjtKrjtKDFq09orKXjq1q','Agv4','v29YA3nWywnLuMvNAxn0CNK','C2HHmJu2','BgvUz3rO','BM9KztP1DgLS','zMLSDgvY','lI9NyxrLD2f5lw1Pz3jHDgLVBG','C3rHDfn5BMm','Dg9ju09tDhjPBMC','nZe5nNPPCMr5sW','CMvHzgrPCLn5BMm','otKWnun6y0vrDW','DgvZDa'];_0x3076=function(){return _0x28f78c;};return _0x3076();}const _0x5e5ef2={};_0x5e5ef2[_0x2cae65(0x186)]=WorkspaceRegistry,module[_0x2cae65(0x160)]=_0x5e5ef2;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function _0x2161(_0x3d1513,_0x5db1a2){_0x3d1513=_0x3d1513-0x1ef;const _0x5cd580=_0x5cd5();let _0x2161c3=_0x5cd580[_0x3d1513];if(_0x2161['VCwqxE']===undefined){var _0x28ea4b=function(_0x99ff35){const _0xe18938='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3b20e9='',_0x13de3c='';for(let _0x158b63=0x0,_0x10a3d9,_0x538471,_0x3da922=0x0;_0x538471=_0x99ff35['charAt'](_0x3da922++);~_0x538471&&(_0x10a3d9=_0x158b63%0x4?_0x10a3d9*0x40+_0x538471:_0x538471,_0x158b63++%0x4)?_0x3b20e9+=String['fromCharCode'](0xff&_0x10a3d9>>(-0x2*_0x158b63&0x6)):0x0){_0x538471=_0xe18938['indexOf'](_0x538471);}for(let _0x73e659=0x0,_0x440411=_0x3b20e9['length'];_0x73e659<_0x440411;_0x73e659++){_0x13de3c+='%'+('00'+_0x3b20e9['charCodeAt'](_0x73e659)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x13de3c);};_0x2161['SQpCaA']=_0x28ea4b,_0x2161['BpqppR']={},_0x2161['VCwqxE']=!![];}const _0x1403c8=_0x5cd580[0x0],_0x329da7=_0x3d1513+_0x1403c8,_0x1d3a1a=_0x2161['BpqppR'][_0x329da7];return!_0x1d3a1a?(_0x2161c3=_0x2161['SQpCaA'](_0x2161c3),_0x2161['BpqppR'][_0x329da7]=_0x2161c3):_0x2161c3=_0x1d3a1a,_0x2161c3;}const _0x5a0941=_0x2161;function _0x5cd5(){const _0x4ae6ec=['BMv3sgfZAa','q0foreLeqvrfx05pvf9srufewq','y29TBwL0DgvK','yMXVy2TLzc1WCM9Qzwn0lxn5BMm','uKvhsvnuuKfusu9ox1jfq09wrvjzx1jfuvvjuKve','y29TBwL0lwLUDgvUDa','mJK0nZbMD2vIBM0','Dg9tDhjPBMC','lI4Vy29Yzs9YDw4Ty29TCgf0AwjPBgL0Eq','CMvJB25Uzwn0lxjLCxvPCMvK','z2vUzxjHDgLVBG','vvbeqvrfx1bmqu5Fvu5wrvjjrKLfra','ChjVyMvdB25Uzwn0Aw9U','DgfYz2v0rgLNzxn0','lI9YDw50Aw1Llxn0B3jL','CNvUC0nHBMnLBgXLza','B2XKlxj1BNrPBwvZlxn0B3bWzwq','CMvIDwLSzeLUzgv4','lI9YzwDPC3rYyxrPB24TCgXHBG','BgvUz3rO','ndmXmdy1C3LKwe1n','ru5pru5u','DMfSDwvZ','CMvZB3vYy2vZlwfWCgXPzwq','mtm3mtC4r2XtB3Pu','vvbeqvrfx0nbtKnfteXfra','CMvXDwvZDc1ZDg9W','vvbeqvrfx1jfq09wrvjzx1jfuvvjuKve','D2L0AefKBwLZC2LVBKXVy2S','C3vWzxjZzwrLza','C3rHDgvsB290','ChvZAa','zMLSDgvY','ywjVCNq','zxzLCNK','zhjHAw4TywjVCNrLza','BM90lxjLCxvLC3rLza','lI4Vy29Yzs93B3jRC3bHy2uTz2vUzxjHDgLVBG','Aw5ZCgvJDa','CMvNAxn0CMf0Aw9UtwLNCMf0Aw9U','yxbWBhLPBMC','mJb0t3HNtK4','zMLSzq','zxzPzgvUy2u','C3vZCgvUza','uKvtt1vsq0vFuK9mtejbq0TFvu5dt05gsvjnruq','Aw5KzxHszxn1Bhq','DhjHBNnHy3rPB24TzMLUywWUANnVBG','mtjgAg1yB04','CMvZB3vYy2vdB250CMfJDerPz2vZDa','CgXHBG','CM9SBgvKlwjHy2S','zgLHz25VC3rPy3m','B2XKuNvUDgLTzvn0B3bWzwq','y2f0ywXVz0HHC2G','AxntywzLsw50zwDLCG','C3rHDgu','t1DorvjtseLqx0Lox0zmsuDiva','DxbNCMfKzvj1BNm','vvbeqvrfx1rbuKDfvf9dt05gteLdva','mtKYnJi3ouLSqKHcEq','zgLNzxn0','y2XVC2vK','yxv0AgvUDgLJyxrLzc1SAxzLlxbYB2nLC3m','CNvUBMLUzW','zxHPC3rZu3LUyW','CMvZB3vYy2vZqxbWBgLLza','su5ervHFt1vuq09nrv9vtKTot1Do','CMvUyw1Lu3LUyW','C3vWzxj2AxnVCLbPza','DgfYz2v0vMvYC2LVBG','CMvNAxn0CMf0Aw9UugXHBG','BM9KztPJAgLSzf9WCM9JzxnZ','ywjVCNqTzhjHAw4','D2fPDfnLy29Uzhm','ywn0AxzHDgLVBKv2AwrLBMnL','ChjLCgfYzwrqBgfUrgLNzxn0','CgvUzgLUzY1ZywzLlwjVDw5Kyxj5','lI9Jyw5KAwrHDguTChjLzMXPz2H0','C2HHmJu2','zNn5BMntEw5J','B3jPz2LUywW','CMvHzhKTBMv4Dc1JB25Uzwn0Aw9U','ChjLCgfYzs1Jyw5KAwrHDgu','ywrKB25Z','C3rVCfjLCxvLC3rLza','BM93','vvbeqvrfx0Hju1rpuLLFvu5wrvjjrKLfra','CMvZB3vYy2vqBgfU','C2fTzvDVCMTZCgfJzq','CMvHzezPBgvtEw5J','zgLYBMfTzq','ChjLlwrYywLUlwnHBMnLBgXLza','DgvZDa','CNvUDgLTzq','C3rVCc1MB3iTDxbKyxrL','BM9pCa','BgLZDfDVCMTZCgfJzvjLy2vPChrZ','yxnZAwDU','DxbKyxrL','uMvNAxn0CMf0Aw9UugXHBG','y2fUzgLKyxrLlxjLywr5','zxbVy2G','C3rVChbLza','CM9SBc1MB3j3yxjK','Dg9ju09tDhjPBMC','r0vorvjbveLptL9bq0TFuevoreLorW','Aw5KzxGTC3rVCMuUANm','mZK3mtG5nLjOD0T3DW','lMfNzw50CW','CgLWzq','q09otKvdveLptL9vtKnptKzjuK1fra','B2XKsgfZAa','yNL0zxm','DgfYz2v0','B3bLCMf0Aw9U','y2fUy2vS','yMXVy2TLCNm','BwfW','CMvWBgfJzw1LBNq','uhjLDMLVDxmGCMvHzgLUzxnZihr1CgXLigrPzMzLCNm','B3bLBG','C3rVChbPBMC','lI4Vy29Yzs9Hzg1PC3nPB24TzMvUy2u','CM9SBgjHy2S','ChjLCgfYzwq','y2fUy2vSBgvKuNvUCW','B3bLCMf0Aw9UCW','CgfYC2u','C2vYDMLUzW','AxngAw5PDgu','y29UDgfPBNnxB3jRC3bHy2u','CMvSzwfZzq','y29UzMXPy3rZ','CMvZB3vYy2veAwDLC3q','Bwf4','C29Tzq','ChjLDMLVDxmTCMvZDg9Yzwq','zMLUza','y29UBMvJDgLVBKrPywDUB3n0AwnZ','y2fUy2vSBgvK','ywjVCNrLzerYywLU','ywn0AxzHDgvqCMvWyxjLzfDVCMTZCgfJzq','vvbeqvrfx1bmqu5Fq0HbtKDfra','CNvUCW','ChjLDMLVDxndB25Uzwn0Aw9UCW','CgHHC2u','zhjHAw5PBMC','C3vZCgvUzgvK','DhjHBNnHy3rPB25jza','C3jJ','vvbeqvrfx0Lox1bst0Dsrvnt','y29UzMLNugf0Aa','CMvHBhbHDgHtEw5J','odC1mZa1mhnLwMjwDG','CNvUDgLTzvjVB3q','C3rYAw5NAwz5','AM9PBG','y29Kzq','ouTmz0rAEa','y3jLyxrLsgfZAa','ChjLzMXPz2H0lxbLBMrPBMC','y29UBMvJDgLVBNm','CMvZDwX0CW','y2XVC2vtEw5J','y29TBwL0','DxbKyxrLlxrYyw5Zywn0Aw9UlMPZB24','y29UDhjVBenVBM5Ly3rPB24','qurnsvntsu9ox0nptKzmsunu','BM9KztPJCNLWDg8','D3jPDgvgAwXLu3LUyW','yxbWBhK','lI4Vy29Yzs93B3jRC3bHy2uTCgf0Aa','y2HPBgrqAwq','CMvXDwLYzwq','zMfPBgvK','D29YA3nWywnL','mJG3sKvSwejr','ChjLCgfYzq','BwfUAwzLC3qUANnVBG','uKvtt1vsq0vFuefusf9fu0nbueu','ChvIBgLJs2v5','CMfUzg9Tvvvjra','CMvJB3zLCNK','Aw5JBhvKzxm','AgfZ','DMvYC2LVBG','D29YA3nWywnLuNvUuM9VDhm','y29TBwL0lwnHBMrPzgf0zq','BwLZBwf0y2HgAwvSzhm','DxrMoa','vvbeqvrfx1nvu1bftKrfra','Agv4','su5ervHFuKvcvuLmrf9gquLmruq','BwvTyMvYCW','ChjVyMvxB3jRC3bHy2vdB25Uzwn0Aw9UCW','vvbeqvrfx0zbsuXfra','CNvUCY1Jyw5JzwXSzwq','ChjLzMXPz2H0','CMvJB25JAwXLv29YA3nWywnLq29UBMvJDgLVBNm','zgLYzwn0B3j5','C3rHDhvZ','ywn0AxzL','mJu5odG4mLf1wunMDq','lI4Vy29Yzs9YzxnVDxjJzs10CMfUC2fJDgLVBG','y29UDhjVBenHCgfIAwXPDgLLCW','BM9KztPMCW','B2XKuNvUDgLTzxntDg9WCgvK','yMfJA2vUzhm','lI4Vy29Yzs91CgrHDguTy29UDhjVBa','BgvNywn5lw93BMvYC2HPCc11BNzLCMLMAwvK','y29UBMvJDgLVBKLK'];_0x5cd5=function(){return _0x4ae6ec;};return _0x5cd5();}(function(_0x40fa74,_0x2607d5){const _0x564d4b=_0x2161,_0x53e02a=_0x40fa74();while(!![]){try{const _0x638973=parseInt(_0x564d4b(0x220))/0x1*(parseInt(_0x564d4b(0x243))/0x2)+parseInt(_0x564d4b(0x256))/0x3+parseInt(_0x564d4b(0x24a))/0x4*(-parseInt(_0x564d4b(0x22e))/0x5)+-parseInt(_0x564d4b(0x232))/0x6*(-parseInt(_0x564d4b(0x1f7))/0x7)+parseInt(_0x564d4b(0x286))/0x8*(-parseInt(_0x564d4b(0x2b9))/0x9)+-parseInt(_0x564d4b(0x2b4))/0xa+parseInt(_0x564d4b(0x211))/0xb;if(_0x638973===_0x2607d5)break;else _0x53e02a['push'](_0x53e02a['shift']());}catch(_0x355579){_0x53e02a['push'](_0x53e02a['shift']());}}}(_0x5cd5,0x75307));const fs=require(_0x5a0941(0x214)),path=require('node:path'),crypto=require(_0x5a0941(0x1ef)),{acquireRuntimeLock}=require('../core/owned-lock'),{ResourceTransaction}=require(_0x5a0941(0x212)),{readFence,changeFence,freezeFence}=require(_0x5a0941(0x295)),{readGeneration,projectGeneration,registerMember,recordCandidate,commitWorkspaceGeneration,openCommittedGeneration}=require(_0x5a0941(0x23f)),{verifyRelease}=require(_0x5a0941(0x228)),{preflightWorkspaceContracts}=require(_0x5a0941(0x222)),{preflightCandidate}=require(_0x5a0941(0x268)),connections=require('./connection-activation'),{readControl}=require(_0x5a0941(0x217)),{workspaceOwnership}=require('../core/runtime-ownership'),{snapshotUpgradeRuns,cancelUpgradeRuns}=require('../core/upgrade-runs'),hashFile=_0x54bde3=>{const _0x59ce05=_0x5a0941;try{return crypto[_0x59ce05(0x2ba)](_0x59ce05(0x269))[_0x59ce05(0x27d)](fs[_0x59ce05(0x274)](_0x54bde3))[_0x59ce05(0x257)](_0x59ce05(0x206));}catch(_0x558f43){if(_0x558f43['code']===_0x59ce05(0x22f))return null;throw _0x558f43;}},fail=_0x625307=>{const _0x232d2d=_0x5a0941;throw Object[_0x232d2d(0x27c)](new Error(_0x625307),{'code':_0x625307});},sameRegistrationWorkspace=(_0x59621b,_0xf13640)=>require(_0x5a0941(0x1f2))[_0x5a0941(0x273)](_0x59621b,_0xf13640);function writeJournal(_0x4cedd5,_0x5e5f21){const _0x9477f6=_0x5a0941,_0xec7e2f=_0x4cedd5+'.'+crypto[_0x9477f6(0x1fc)]()+'.tmp',_0xeb77aa=fs['openSync'](_0xec7e2f,'wx',0x180);try{fs[_0x9477f6(0x1f0)](_0xeb77aa,JSON[_0x9477f6(0x2b6)](_0x5e5f21)),fs[_0x9477f6(0x26a)](_0xeb77aa);}finally{fs[_0x9477f6(0x2be)](_0xeb77aa);}fs[_0x9477f6(0x25e)](_0xec7e2f,_0x4cedd5);}async function activatePreparedWorkspace(_0x46a160){const _0x160165=_0x5a0941,_0x2cdd82=fs[_0x160165(0x2b3)](_0x46a160[_0x160165(0x1f6)]),_0x7d29f9=require(_0x160165(0x222))[_0x160165(0x201)](_0x2cdd82),_0x40ed12=_0x46a160['resourcePlan']instanceof ResourceTransaction?_0x46a160[_0x160165(0x272)]:new ResourceTransaction(_0x46a160['resourcePlan']);if(fs[_0x160165(0x2b3)](_0x40ed12[_0x160165(0x24c)][_0x160165(0x1f6)])!==_0x2cdd82)fail(_0x160165(0x1fa));const _0x42611a=_0x40ed12['plan'][_0x160165(0x2af)],_0x2fa927=path['join'](_0x2cdd82,_0x160165(0x287),_0x160165(0x278)),_0x958569=acquireRuntimeLock(path['join'](_0x2fa927,'update.lock')),_0x3b2972={};_0x3b2972[_0x160165(0x2b8)]='UPDATE_IN_PROGRESS';const _0x55103={};_0x55103['status']=_0x160165(0x267),_0x55103[_0x160165(0x2af)]=_0x42611a,_0x55103[_0x160165(0x28f)]=[_0x3b2972];if(!_0x958569)return _0x55103;const _0x19285f=path[_0x160165(0x2b7)](_0x2fa927,_0x160165(0x2c0)),_0x495d75=_0x46a160['connections']||connections;let _0xb8ac4c;try{_0xb8ac4c=JSON[_0x160165(0x29a)](fs[_0x160165(0x274)](_0x19285f,_0x160165(0x204)));}catch(_0x41cd3f){if(_0x41cd3f[_0x160165(0x2b8)]!=='ENOENT'){_0x958569();throw _0x41cd3f;}}if(_0xb8ac4c&&_0xb8ac4c[_0x160165(0x2af)]!==_0x42611a){if(![_0x160165(0x210),_0x160165(0x26c),'rolled-back','cancelled',_0x160165(0x237)][_0x160165(0x1fe)](_0xb8ac4c[_0x160165(0x20f)])){_0x958569();const _0x48e634={};_0x48e634['code']=_0x160165(0x2b1);const _0x87e45d={};return _0x87e45d['status']='pending-safe-boundary',_0x87e45d[_0x160165(0x2af)]=_0xb8ac4c[_0x160165(0x2af)],_0x87e45d[_0x160165(0x28f)]=[_0x48e634],_0x87e45d;}const _0x2abafe=path[_0x160165(0x2b7)](_0x2fa927,'updates',_0xb8ac4c[_0x160165(0x2af)],_0x160165(0x249));(!/^[a-zA-Z0-9_-]{1,80}$/[_0x160165(0x277)](_0xb8ac4c['transactionId'])||!fs[_0x160165(0x25b)](path[_0x160165(0x275)](_0x2abafe))||!require(_0x160165(0x1f2))[_0x160165(0x29d)](_0x2cdd82,fs[_0x160165(0x2b3)](path[_0x160165(0x275)](_0x2abafe))))&&(_0x958569(),fail(_0x160165(0x271)));try{writeJournal(_0x2abafe,_0xb8ac4c);}catch(_0x12de79){_0x958569();throw _0x12de79;}_0xb8ac4c=null;}const _0x3808f=(_0x1db799,_0x2c5078={})=>{const _0x1a547c=_0x160165,_0x17d7f9={};_0x17d7f9[_0x1a547c(0x20f)]='not-required',_0x17d7f9[_0x1a547c(0x28f)]=[];const _0x27278f={};_0x27278f[_0x1a547c(0x20f)]=_0x1a547c(0x23e),_0x27278f[_0x1a547c(0x2bd)]=[],_0xb8ac4c={..._0xb8ac4c,'transactionId':_0x42611a,'workspace':_0x2cdd82,'runtimeRoot':_0x46a160[_0x1a547c(0x2b5)],'release':_0x46a160[_0x1a547c(0x29e)],'publicKey':_0x46a160['publicKey']?.[_0x1a547c(0x221)](),'resourcePlan':_0x40ed12[_0x1a547c(0x20e)],'registrationPlan':_0x46a160['registrationPlan']?.[_0x1a547c(0x20e)]||_0x46a160[_0x1a547c(0x261)]||_0xb8ac4c?.[_0x1a547c(0x261)]||null,'registrationMigration':_0x46a160['registrationMigration']||_0xb8ac4c?.[_0x1a547c(0x241)]||_0x17d7f9,'addons':_0x46a160[_0x1a547c(0x26e)]||_0xb8ac4c?.[_0x1a547c(0x26e)]||_0x27278f,'rebuildIndex':_0xb8ac4c?.['rebuildIndex']===!![]||_0x46a160[_0x1a547c(0x22b)]===!![],'status':_0x1db799,'changedAt':new Date()[_0x1a547c(0x283)](),..._0x2c5078},writeJournal(_0x19285f,_0xb8ac4c);};let _0x4f136f=readGeneration(_0x2cdd82)?.[_0x160165(0x2af)]===_0x42611a;const _0x41b2ff=_0x46a160[_0x160165(0x261)]?.[_0x160165(0x20e)]||_0x46a160[_0x160165(0x261)]||_0xb8ac4c?.['registrationPlan'];let _0x40ed69;try{_0x40ed69=_0x41b2ff?new(require(_0x160165(0x22c)))[(_0x160165(0x27e))](_0x41b2ff):null;}catch(_0x4e1674){_0x958569();throw _0x4e1674;}_0x40ed69&&(!sameRegistrationWorkspace(_0x40ed69['plan'][_0x160165(0x1f6)],_0x2cdd82)||_0x40ed69[_0x160165(0x24c)][_0x160165(0x2af)]!==_0x42611a)&&(_0x958569(),fail('REGISTRATION_PLAN_INVALID'));let _0x3ad415=readFence(_0x2cdd82),_0x184192=[];const _0x2cc59f=()=>readControl(_0x2cdd82,_0x42611a)?.['action'],_0x25b2e0=async _0x338682=>{const _0x4f5f07=_0x160165;_0x40ed69?.[_0x4f5f07(0x296)](),_0x40ed12[_0x4f5f07(0x296)](),_0x184192=_0x495d75[_0x4f5f07(0x27b)](_0x2cdd82);for(const _0x2e4d07 of _0xb8ac4c['previousConnections']||[])if(!_0x184192['some'](_0x1569b3=>_0x1569b3[_0x4f5f07(0x219)]===_0x2e4d07[_0x4f5f07(0x219)]))fail(_0x4f5f07(0x247));for(const _0xe3388 of _0x184192){const _0x26cd4a={};_0x26cd4a[_0x4f5f07(0x2af)]=_0x42611a,_0x26cd4a[_0x4f5f07(0x280)]=_0x3ad415[_0x4f5f07(0x280)];const _0x277a3b=await _0x495d75[_0x4f5f07(0x2c1)](_0xe3388,'restore-previous',_0x26cd4a);if(_0x277a3b[_0x4f5f07(0x245)]!==_0x4f5f07(0x259)||_0x277a3b['status']!==_0x4f5f07(0x2a3))fail(_0x277a3b[_0x4f5f07(0x2b8)]||_0x4f5f07(0x247));const _0x245319=_0xb8ac4c[_0x4f5f07(0x2ab)]?.[_0x4f5f07(0x2a4)](_0x702e3e=>_0x702e3e[_0x4f5f07(0x219)]===_0xe3388['connectionId']),_0x296739=_0x245319?['connectionId',_0x4f5f07(0x200),_0x4f5f07(0x257),_0x4f5f07(0x224),_0x4f5f07(0x2a0),'catalogHash'][_0x4f5f07(0x23a)](_0x5f27ca=>_0x277a3b[_0x5f27ca]!==_0x245319[_0x5f27ca]):['previousIdentity'];if(_0x277a3b[_0x4f5f07(0x29b)]!==!![])_0x296739[_0x4f5f07(0x239)]('serving');if(!Number[_0x4f5f07(0x251)](_0x277a3b[_0x4f5f07(0x1f3)])||_0x277a3b[_0x4f5f07(0x1f3)]<=0x0)_0x296739[_0x4f5f07(0x239)](_0x4f5f07(0x1f3));if(!sameRegistrationWorkspace(_0x277a3b[_0x4f5f07(0x1f6)]||'',_0x2cdd82))_0x296739[_0x4f5f07(0x239)](_0x4f5f07(0x1f6));if(_0x296739['length'])throw Object[_0x4f5f07(0x27c)](new Error(_0x4f5f07(0x292)),{'code':_0x4f5f07(0x247),'mismatchFields':_0x296739});}const _0x561de6={};_0x561de6[_0x4f5f07(0x252)]='open',_0x561de6[_0x4f5f07(0x2af)]=_0x42611a,_0x3ad415=changeFence(_0x2cdd82,_0x3ad415[_0x4f5f07(0x280)],_0x561de6);for(const _0x320385 of _0x184192){const _0x44112e={};_0x44112e[_0x4f5f07(0x2af)]=_0x42611a;const _0x4fd0af=await _0x495d75['controlConnection'](_0x320385,_0x4f5f07(0x23b),_0x44112e);if(_0x4fd0af[_0x4f5f07(0x245)]!=='authenticated-live-process'||![_0x4f5f07(0x210),_0x4f5f07(0x26c)]['includes'](_0x4fd0af[_0x4f5f07(0x20f)]))fail(_0x4f5f07(0x247));}const _0x2fb4d7=_0x2cc59f()===_0x4f5f07(0x28e)||_0x338682[_0x4f5f07(0x2a2)](_0x41d48=>_0x41d48['code']===_0x4f5f07(0x233)),_0x1d5df4={};_0x1d5df4[_0x4f5f07(0x28f)]=_0x338682,_0x1d5df4[_0x4f5f07(0x1fd)]=_0x4f5f07(0x24d),_0x3808f(_0x2fb4d7?_0x4f5f07(0x2a6):_0x4f5f07(0x24d),_0x1d5df4);const _0x5c27c4={};return _0x5c27c4['status']=_0x2fb4d7?_0x4f5f07(0x2a6):_0x4f5f07(0x1f5),_0x5c27c4['transactionId']=_0x42611a,_0x5c27c4[_0x4f5f07(0x1fd)]=_0x4f5f07(0x24d),_0x5c27c4[_0x4f5f07(0x28f)]=_0x338682,_0x5c27c4;},_0xaf32b0=async(_0x3ff8e3=![])=>{const _0x2bb3a0=_0x160165,_0x5ce3f3=new Set();for(const _0x4266cd of _0x495d75[_0x2bb3a0(0x27b)](_0x2cdd82)){const _0x366443={};_0x366443['transactionId']=_0x42611a,_0x366443[_0x2bb3a0(0x280)]=_0x3ad415[_0x2bb3a0(0x280)];const _0x354fd3=await _0x495d75[_0x2bb3a0(0x2c1)](_0x4266cd,'abort',_0x366443),_0x10604e={};_0x10604e['code']='CANCEL_ACK_PENDING',_0x10604e[_0x2bb3a0(0x219)]=_0x4266cd[_0x2bb3a0(0x219)];const _0x23e973={};_0x23e973[_0x2bb3a0(0x20f)]=_0x2bb3a0(0x267),_0x23e973['transactionId']=_0x42611a,_0x23e973['blockers']=[_0x10604e];if(_0x354fd3[_0x2bb3a0(0x245)]!==_0x2bb3a0(0x259)||![_0x2bb3a0(0x210),_0x2bb3a0(0x26c)][_0x2bb3a0(0x1fe)](_0x354fd3[_0x2bb3a0(0x20f)]))return _0x23e973;_0x5ce3f3['add'](_0x4266cd[_0x2bb3a0(0x219)]);}const _0x3c7afd=require('../core/admission-fence');_0x3c7afd[_0x2bb3a0(0x236)](_0x2cdd82,_0x7daa7b=>{const _0x226f02=_0x2bb3a0;if(_0x7daa7b[_0x226f02(0x280)]!==_0x3ad415[_0x226f02(0x280)]||_0x7daa7b[_0x226f02(0x252)]!==_0x226f02(0x2ad)||_0x7daa7b['transactionId']!==_0x42611a)fail(_0x226f02(0x2c2));if(Object[_0x226f02(0x230)](_0x7daa7b[_0x226f02(0x208)]||{})[_0x226f02(0x2a2)](_0x38bf25=>_0x38bf25[_0x226f02(0x252)]!==_0x226f02(0x258)&&!_0x5ce3f3[_0x226f02(0x1ff)](_0x38bf25[_0x226f02(0x219)])))fail('CANCEL_ACK_PENDING');const _0x46bc55={};_0x46bc55[_0x226f02(0x2af)]=_0x42611a,_0x46bc55[_0x226f02(0x24b)]=_0xb8ac4c['resourceContractDigest'],_0x46bc55['acknowledged']=[..._0x5ce3f3];const _0x27e82c={};_0x27e82c[_0x226f02(0x2a7)]=_0x46bc55;const _0x3854c3={..._0x7daa7b,'state':_0x226f02(0x293),'epoch':_0x7daa7b[_0x226f02(0x280)]+0x1,'stopRequested':![],'targetVersion':null,'targetDigest':null,..._0x3ff8e3?_0x27e82c:{}};_0x3c7afd['saveLocked'](_0x2cdd82,_0x3854c3);});const _0x33b111={};_0x33b111['recovery']=_0x2bb3a0(0x23d),_0x3808f('cancelled',_0x3ff8e3?_0x33b111:{});const _0x10d225={};_0x10d225[_0x2bb3a0(0x1fd)]=_0x2bb3a0(0x23d);const _0x282c53={'status':_0x2bb3a0(0x2a6),'transactionId':_0x42611a,'resourcesApplied':![],..._0x3ff8e3?_0x10d225:{}};return _0x282c53;};try{const _0x205597={};_0x205597['code']='UPDATE_SUSPENDED';const _0xfa658b={};_0xfa658b[_0x160165(0x20f)]=_0x160165(0x267),_0xfa658b['transactionId']=_0x42611a,_0xfa658b[_0x160165(0x28f)]=[_0x205597];if(_0xb8ac4c?.[_0x160165(0x2ae)]||_0xb8ac4c?.[_0x160165(0x2a6)])return _0xfa658b;const _0x4d5231=verifyRelease(_0x46a160[_0x160165(0x29e)],_0x46a160[_0x160165(0x1fb)]),_0x2e5bc2={};_0x2e5bc2[_0x160165(0x200)]=_0x4d5231[_0x160165(0x200)],_0x2e5bc2[_0x160165(0x257)]=_0x4d5231[_0x160165(0x257)];const _0x29a6c6=_0x2e5bc2;if(_0xb8ac4c?.[_0x160165(0x28c)]&&(_0xb8ac4c[_0x160165(0x28c)][_0x160165(0x200)]!==_0x29a6c6[_0x160165(0x200)]||_0xb8ac4c[_0x160165(0x28c)][_0x160165(0x257)]!==_0x29a6c6[_0x160165(0x257)]))fail(_0x160165(0x255));const _0x459b3f=require(_0x160165(0x212))[_0x160165(0x24b)](_0x40ed12[_0x160165(0x24c)]);if(_0xb8ac4c?.[_0x160165(0x24b)]&&_0xb8ac4c[_0x160165(0x24b)]!==_0x459b3f)fail(_0x160165(0x2a9));if(_0xb8ac4c&&!_0xb8ac4c[_0x160165(0x24b)]){if(!_0xb8ac4c[_0x160165(0x266)]||_0xb8ac4c[_0x160165(0x266)]!==hashFile(_0x40ed12[_0x160165(0x244)]))fail(_0x160165(0x225));const _0x9be05a={};_0x9be05a[_0x160165(0x24b)]=_0x459b3f,_0x3808f(_0xb8ac4c[_0x160165(0x20f)],_0x9be05a);}const _0x352b41={};_0x352b41[_0x160165(0x28c)]=_0x29a6c6,_0x352b41[_0x160165(0x24b)]=_0x459b3f;if(!_0xb8ac4c)_0x3808f(_0x160165(0x2bb),_0x352b41);if(!_0x4f136f&&_0x3ad415[_0x160165(0x252)]===_0x160165(0x293)&&_0x2cc59f()===_0x160165(0x28e)){const _0x2ea093=_0x40ed12[_0x160165(0x240)]();if(_0xb8ac4c?.['transactionId']!==_0x42611a||_0xb8ac4c[_0x160165(0x25c)]||_0xb8ac4c['runsCancelled']||_0xb8ac4c[_0x160165(0x215)]||_0x40ed12[_0x160165(0x24c)][_0x160165(0x20f)]!==_0x160165(0x297)||_0x2ea093[_0x160165(0x2a2)](_0x2dae7e=>_0x2dae7e['status']!==_0x160165(0x297)||![_0x160165(0x26b),_0x160165(0x291)][_0x160165(0x1fe)](_0x2dae7e[_0x160165(0x28b)])))fail(_0x160165(0x235));if(_0x40ed69&&(_0x40ed69[_0x160165(0x24c)][_0x160165(0x20f)]!==_0x160165(0x297)||_0x40ed69['plan'][_0x160165(0x299)]['some'](_0x300d4c=>_0x300d4c['status']!==_0x160165(0x297)||![_0x300d4c[_0x160165(0x28a)],_0x300d4c['newHash']]['includes'](hashFile(_0x300d4c[_0x160165(0x2b2)])))))fail(_0x160165(0x21e));_0x40ed69?.[_0x160165(0x296)](),_0x40ed12['rollback'](),_0x3808f(_0x160165(0x2a6),{'cancelled':!![],'cancellation':{'reason':_0x160165(0x276),'cancelledAt':new Date()[_0x160165(0x283)]()}});const _0xed7796={};return _0xed7796[_0x160165(0x20f)]=_0x160165(0x2a6),_0xed7796[_0x160165(0x2af)]=_0x42611a,_0xed7796[_0x160165(0x25c)]=![],_0xed7796;}if(!_0x4f136f&&_0xb8ac4c?.[_0x160165(0x1fd)]===_0x160165(0x263)){const _0x1260e8={};_0x1260e8['code']=_0x160165(0x205);const _0x1541ac={};_0x1541ac[_0x160165(0x20f)]='pending-safe-boundary',_0x1541ac[_0x160165(0x2af)]=_0x42611a,_0x1541ac[_0x160165(0x28f)]=[_0x1260e8];if(_0x2cc59f()==='suspend')return _0x1541ac;const _0x3d08ab=_0x3ad415['state']===_0x160165(0x293)&&_0x3ad415[_0x160165(0x2a7)]?.[_0x160165(0x2af)]===_0x42611a&&_0x3ad415[_0x160165(0x2a7)][_0x160165(0x24b)]===_0x459b3f;if(!_0x3d08ab&&_0x3ad415[_0x160165(0x252)]!=='draining'||_0x3ad415[_0x160165(0x2af)]!==_0x42611a||_0xb8ac4c[_0x160165(0x229)]||_0xb8ac4c['oldRuntimesStopped']||_0xb8ac4c[_0x160165(0x25c)]||_0x40ed12[_0x160165(0x24c)][_0x160165(0x20f)]!=='prepared'||_0x40ed12['inspect']()[_0x160165(0x2a2)](_0x448687=>_0x448687[_0x160165(0x28b)]!=='original'||_0x448687[_0x160165(0x20f)]!==_0x160165(0x297)))fail(_0x160165(0x235));if(_0x40ed69&&(_0x40ed69['plan']['status']!==_0x160165(0x297)||_0x40ed69[_0x160165(0x24c)][_0x160165(0x299)][_0x160165(0x2a2)](_0x5d427b=>_0x5d427b[_0x160165(0x20f)]!=='prepared'||hashFile(_0x5d427b[_0x160165(0x2b2)])!==_0x5d427b[_0x160165(0x28a)])))fail(_0x160165(0x21e));if(_0x3d08ab){const _0x42a3a7={};_0x42a3a7[_0x160165(0x1fd)]=_0x160165(0x23d),_0x3808f(_0x160165(0x2a6),_0x42a3a7);const _0x104f85={};return _0x104f85['status']='cancelled',_0x104f85[_0x160165(0x2af)]=_0x42611a,_0x104f85[_0x160165(0x25c)]=![],_0x104f85[_0x160165(0x1fd)]='drain-aborted',_0x104f85;}return await _0xaf32b0(!![]);}if(!_0x4f136f&&_0xb8ac4c?.['recovery']==='rollback'){const _0x2149c6={};_0x2149c6['code']=_0x160165(0x205);const _0x363984={};_0x363984['status']='pending-safe-boundary',_0x363984[_0x160165(0x2af)]=_0x42611a,_0x363984[_0x160165(0x28f)]=[_0x2149c6];if(_0x2cc59f()===_0x160165(0x246))return _0x363984;return await _0x25b2e0(_0xb8ac4c[_0x160165(0x28f)]||[]);}const _0x431b0b=readGeneration(_0x2cdd82);if(!_0x4f136f&&_0x3ad415[_0x160165(0x252)]===_0x160165(0x293)&&_0x431b0b?.['version']===_0x29a6c6[_0x160165(0x200)]&&_0x431b0b[_0x160165(0x257)]===_0x29a6c6[_0x160165(0x257)]&&_0x431b0b[_0x160165(0x2a0)]===hashFile(path['join'](_0x2cdd82,_0x160165(0x287),'manifest.json'))&&_0x40ed12[_0x160165(0x24c)]['operations'][_0x160165(0x22d)]===0x0&&!_0x40ed12[_0x160165(0x24c)][_0x160165(0x29f)][_0x160165(0x22d)]&&!_0x40ed69?.['plan'][_0x160165(0x299)][_0x160165(0x2a2)](_0x517421=>_0x517421[_0x160165(0x28a)]!==_0x517421[_0x160165(0x21a)])&&!_0x46a160['rebuildIndex']){const _0x1602a7=await _0x495d75[_0x160165(0x209)](_0x2cdd82,_0x431b0b);if(![_0x160165(0x210),_0x160165(0x26c)][_0x160165(0x1fe)](_0x1602a7[_0x160165(0x20f)]))return{..._0x1602a7,'transactionId':_0x42611a,'target':_0x29a6c6,'noOp':!![],'cancelledRuns':[]};projectGeneration(_0x46a160[_0x160165(0x2b5)],_0x2cdd82,_0x431b0b),_0x3808f(_0x1602a7[_0x160165(0x20f)],{'target':_0x29a6c6,'generation':_0x431b0b[_0x160165(0x224)],'noOp':!![],'cancelledRuns':[],'activationEvidence':_0x1602a7['status']==='active'?_0x160165(0x259):null});const _0x45cd31={};_0x45cd31[_0x160165(0x20f)]=_0x160165(0x23e);const _0x3614e9={..._0x1602a7};return _0x3614e9[_0x160165(0x2af)]=_0x42611a,_0x3614e9[_0x160165(0x28c)]=_0x29a6c6,_0x3614e9['generation']=_0x431b0b[_0x160165(0x224)],_0x3614e9[_0x160165(0x27a)]=!![],_0x3614e9[_0x160165(0x25c)]=![],_0x3614e9[_0x160165(0x298)]=[],_0x3614e9[_0x160165(0x248)]=_0x45cd31,_0x3614e9;}if(_0x4f136f&&_0x3ad415[_0x160165(0x252)]==='open'){if(_0x431b0b[_0x160165(0x200)]!==_0x29a6c6[_0x160165(0x200)]||_0x431b0b[_0x160165(0x257)]!==_0x29a6c6['digest']||hashFile(path[_0x160165(0x2b7)](_0x2cdd82,_0x160165(0x287),_0x160165(0x1f9)))!==_0x431b0b[_0x160165(0x2a0)])fail('GENERATION_RECOVERY_MISMATCH');const _0x40bfb5=_0x495d75[_0x160165(0x27b)](_0x2cdd82),_0x261614=Object['values'](_0x3ad415['members']||{})[_0x160165(0x23a)](_0x4bdd7c=>_0x4bdd7c['state']!==_0x160165(0x258));for(const _0xc57c54 of _0x261614)if(!_0x40bfb5[_0x160165(0x2a2)](_0x1d4f37=>_0x1d4f37[_0x160165(0x219)]===_0xc57c54[_0x160165(0x219)]))fail('CONNECTION_UNCONFIRMED');for(const _0x2bbcad of _0x40bfb5){const _0x48e322=await _0x495d75[_0x160165(0x226)](_0x2bbcad);if(_0x48e322[_0x160165(0x245)]!==_0x160165(0x259)||_0x48e322[_0x160165(0x29b)]!==!![]||[_0x160165(0x200),_0x160165(0x257),_0x160165(0x2a0),'generation'][_0x160165(0x2a2)](_0x10296c=>_0x48e322[_0x10296c]!==_0x431b0b[_0x10296c]))fail(_0x160165(0x284));}projectGeneration(_0x46a160[_0x160165(0x2b5)],_0x2cdd82,_0x431b0b);if(_0x40ed12[_0x160165(0x24c)][_0x160165(0x20f)]!=='committed')_0x40ed12[_0x160165(0x2bf)](_0x431b0b[_0x160165(0x224)]);_0x40ed69?.[_0x160165(0x2bf)]();const _0x563013=_0x40bfb5['length']?'active':_0x160165(0x26c),_0x3ced75={};_0x3ced75[_0x160165(0x224)]=_0x431b0b[_0x160165(0x224)],_0x3ced75['resourceDigest']=_0x431b0b['resourceDigest'],_0x3ced75['activationEvidence']=_0x40bfb5[_0x160165(0x22d)]?_0x160165(0x259):null,_0x3808f(_0x563013,_0x3ced75);const _0x4ccde9={};_0x4ccde9['status']=_0x160165(0x23e);const _0x1a5a29={};return _0x1a5a29[_0x160165(0x20f)]=_0x563013,_0x1a5a29[_0x160165(0x2af)]=_0x42611a,_0x1a5a29[_0x160165(0x28c)]=_0x29a6c6,_0x1a5a29['generation']=_0x431b0b[_0x160165(0x224)],_0x1a5a29[_0x160165(0x2a0)]=_0x431b0b['resourceDigest'],_0x1a5a29[_0x160165(0x25c)]=!![],_0x1a5a29[_0x160165(0x298)]=_0xb8ac4c[_0x160165(0x298)]||[],_0x1a5a29[_0x160165(0x248)]=_0xb8ac4c[_0x160165(0x248)]||_0x4ccde9,_0x1a5a29;}if(_0x40ed12[_0x160165(0x24c)][_0x160165(0x29f)]['some'](_0x449bde=>_0x449bde[_0x160165(0x1f4)])){const _0x4026f8={};_0x4026f8['target']=_0x29a6c6,_0x4026f8[_0x160165(0x28f)]=_0x40ed12[_0x160165(0x24c)]['conflicts'],_0x3808f(_0x160165(0x21d),_0x4026f8);const _0x42f964={};return _0x42f964['status']=_0x160165(0x21d),_0x42f964[_0x160165(0x2af)]=_0x42611a,_0x42f964['blockers']=_0x40ed12[_0x160165(0x24c)][_0x160165(0x29f)],_0x42f964;}if(_0x3ad415[_0x160165(0x252)]===_0x160165(0x293)){const _0x502f70={};_0x502f70[_0x160165(0x28d)]='cancel-for-upgrade';const _0x1f9c2b=preflightWorkspaceContracts(_0x2cdd82,_0x502f70);if(_0x1f9c2b[_0x160165(0x20f)]!=='compatible'){const _0x9e8070={};_0x9e8070[_0x160165(0x28f)]=_0x1f9c2b[_0x160165(0x28f)],_0x3808f(_0x160165(0x218),_0x9e8070);const _0x223e00={};return _0x223e00[_0x160165(0x20f)]='legacy-ownership-unverified',_0x223e00[_0x160165(0x2af)]=_0x42611a,_0x223e00['blockers']=_0x1f9c2b[_0x160165(0x28f)],_0x223e00;}const _0x420eb4=await(_0x46a160[_0x160165(0x20c)]||preflightCandidate)({'release':_0x46a160['release'],'runtimeRoot':_0x46a160[_0x160165(0x2b5)],'publicKey':_0x46a160[_0x160165(0x1fb)]});if(_0x420eb4[_0x160165(0x20f)]!=='ready'||_0x420eb4[_0x160165(0x200)]!==_0x29a6c6[_0x160165(0x200)]||_0x420eb4[_0x160165(0x257)]!==_0x29a6c6['digest'])fail('CANDIDATE_PREFLIGHT_MISMATCH');const _0x2f8577=[];if(_0x495d75[_0x160165(0x20d)]){const _0x54f904={};_0x54f904['apply']=!![];const _0xd078b=await _0x495d75[_0x160165(0x20d)](_0x2cdd82,_0x54f904);if(_0xd078b[_0x160165(0x28f)][_0x160165(0x22d)]){const _0x50dc20={};_0x50dc20[_0x160165(0x28f)]=_0xd078b[_0x160165(0x28f)],_0x50dc20[_0x160165(0x2a5)]=_0xd078b[_0x160165(0x24e)],_0x3808f(_0x160165(0x218),_0x50dc20);const _0x5623f4={};return _0x5623f4[_0x160165(0x20f)]='legacy-ownership-unverified',_0x5623f4[_0x160165(0x2af)]=_0x42611a,_0x5623f4[_0x160165(0x28f)]=_0xd078b[_0x160165(0x28f)],_0x5623f4[_0x160165(0x2a5)]=_0xd078b[_0x160165(0x24e)],_0x5623f4;}}for(const _0x13e037 of _0x495d75[_0x160165(0x27b)](_0x2cdd82)){const _0x4fb982=await _0x495d75[_0x160165(0x226)](_0x13e037);if(_0x4fb982[_0x160165(0x245)]!==_0x160165(0x259)||_0x4fb982[_0x160165(0x29b)]!==!![]||_0x13e037['supervisorProtocol']!==0x2){const _0x29c097={};_0x29c097[_0x160165(0x2b8)]=_0x160165(0x289),_0x29c097[_0x160165(0x219)]=_0x13e037[_0x160165(0x219)];const _0x5116ab=[_0x29c097],_0x331b5e={};_0x331b5e[_0x160165(0x28f)]=_0x5116ab,_0x3808f(_0x160165(0x218),_0x331b5e);const _0x23c1a5={};return _0x23c1a5[_0x160165(0x20f)]=_0x160165(0x218),_0x23c1a5[_0x160165(0x2af)]=_0x42611a,_0x23c1a5['blockers']=_0x5116ab,_0x23c1a5;}if(!_0x4fb982['catalogHash']||_0x4fb982[_0x160165(0x250)]!==_0x420eb4[_0x160165(0x250)]){const _0x13693b={};_0x13693b[_0x160165(0x2b8)]='TOOL_CATALOG_CHANGED',_0x13693b[_0x160165(0x219)]=_0x13e037[_0x160165(0x219)];const _0x284f44=[_0x13693b],_0x312bcf={};_0x312bcf[_0x160165(0x28f)]=_0x284f44,_0x3808f('reconnect-required',_0x312bcf);const _0xcfe8b0={};return _0xcfe8b0[_0x160165(0x20f)]=_0x160165(0x223),_0xcfe8b0[_0x160165(0x2af)]=_0x42611a,_0xcfe8b0['blockers']=_0x284f44,_0xcfe8b0;}const _0x5b34e6={};_0x5b34e6[_0x160165(0x219)]=_0x13e037[_0x160165(0x219)],_0x5b34e6[_0x160165(0x25f)]=_0x13e037[_0x160165(0x25f)],_0x5b34e6[_0x160165(0x2b5)]=_0x13e037[_0x160165(0x2b5)]||_0x46a160[_0x160165(0x2b5)],registerMember(_0x2cdd82,_0x5b34e6);const _0x4a955f={};_0x4a955f[_0x160165(0x219)]=_0x13e037[_0x160165(0x219)],_0x4a955f[_0x160165(0x1f6)]=_0x2cdd82,_0x4a955f[_0x160165(0x200)]=_0x4fb982['version'],_0x4a955f[_0x160165(0x257)]=_0x4fb982[_0x160165(0x257)],_0x4a955f[_0x160165(0x224)]=_0x4fb982[_0x160165(0x224)],_0x4a955f[_0x160165(0x2a0)]=_0x4fb982['resourceDigest']??null,_0x4a955f[_0x160165(0x250)]=_0x4fb982[_0x160165(0x250)],_0x2f8577[_0x160165(0x239)](_0x4a955f),_0x2f8577[_0x2f8577[_0x160165(0x22d)]-0x1][_0x160165(0x213)]=_0x4fb982['controlCapabilities']||[];}_0x3808f(_0x160165(0x297),{'target':_0x29a6c6,'previousConnections':_0x2f8577,'upgradeRuns':snapshotUpgradeRuns(_0x2cdd82),'catalogHash':_0x420eb4['catalogHash'],'generation':(readGeneration(_0x2cdd82)?.[_0x160165(0x224)]||0x0)+0x1});const _0x279185={};_0x279185[_0x160165(0x252)]=_0x160165(0x2ad),_0x279185[_0x160165(0x26f)]=!![],_0x279185[_0x160165(0x2af)]=_0x42611a,_0x279185[_0x160165(0x260)]=_0x29a6c6[_0x160165(0x200)],_0x279185[_0x160165(0x227)]=_0x29a6c6[_0x160165(0x257)],_0x3ad415=changeFence(_0x2cdd82,_0x3ad415['epoch'],_0x279185);}else{if(_0x3ad415[_0x160165(0x2af)]!==_0x42611a||_0x3ad415[_0x160165(0x260)]!==_0x29a6c6[_0x160165(0x200)]||_0x3ad415[_0x160165(0x227)]!==_0x29a6c6[_0x160165(0x257)])fail('ADMISSION_CONFLICT');}const _0x13f564=_0x46a160[_0x160165(0x264)]===undefined?0x78:Number(_0x46a160[_0x160165(0x264)]);if(!Number[_0x160165(0x29c)](_0x13f564)||_0x13f564<0x0||_0x13f564>0xe10)fail('INVALID_WAIT');const _0x4edc36=Date['now']()+_0x13f564*0x3e8;if(_0x3ad415[_0x160165(0x252)]===_0x160165(0x2ad))for(;;){if(_0x2cc59f()===_0x160165(0x246)){const _0x5b37a7={};_0x5b37a7[_0x160165(0x2b8)]='UPDATE_SUSPENDED';const _0x38df37={};_0x38df37[_0x160165(0x28f)]=[_0x5b37a7],_0x3808f('pending-safe-boundary',_0x38df37);const _0x2aaba2={};_0x2aaba2[_0x160165(0x2b8)]=_0x160165(0x205);const _0x5c40a0={};return _0x5c40a0['status']=_0x160165(0x267),_0x5c40a0[_0x160165(0x2af)]=_0x42611a,_0x5c40a0[_0x160165(0x28f)]=[_0x2aaba2],_0x5c40a0;}if(_0x2cc59f()==='cancel')return await _0xaf32b0();_0x184192=_0x495d75[_0x160165(0x27b)](_0x2cdd82);const _0x18a4c6=[];for(const _0x42b92b of _0x184192){const _0x11261a=await _0x495d75[_0x160165(0x226)](_0x42b92b);if(!_0x11261a[_0x160165(0x213)]?.['includes'](_0x160165(0x234)))continue;const _0x499339={..._0x29a6c6};_0x499339[_0x160165(0x2af)]=_0x42611a,_0x499339[_0x160165(0x280)]=_0x3ad415[_0x160165(0x280)];const _0x1b1e14=await _0x495d75['controlConnection'](_0x42b92b,'request-stop',_0x499339);if(_0x1b1e14['evidence']!==_0x160165(0x259)||!['stop-confirmed','pending-safe-boundary'][_0x160165(0x1fe)](_0x1b1e14['status']))_0x18a4c6[_0x160165(0x239)]({'code':_0x1b1e14[_0x160165(0x2b8)]||'WORKER_STOP_UNCONFIRMED','connectionId':_0x42b92b[_0x160165(0x219)]});}const _0x38af2e=workspaceOwnership(_0x2cdd82,readFence(_0x2cdd82),_0x7d29f9)['map'](_0x5a03d7=>({'code':_0x160165(0x253),'ownership':_0x5a03d7}));_0x38af2e[_0x160165(0x239)](..._0x18a4c6);for(const _0x3fb806 of _0x184192){const _0x5b734e={..._0x29a6c6};_0x5b734e[_0x160165(0x2af)]=_0x42611a,_0x5b734e[_0x160165(0x280)]=_0x3ad415[_0x160165(0x280)];const _0x338f6e=await _0x495d75[_0x160165(0x2c1)](_0x3fb806,_0x160165(0x1f8),_0x5b734e);if(_0x338f6e['evidence']!==_0x160165(0x259)||_0x338f6e[_0x160165(0x20f)]!=='safe-boundary')_0x38af2e[_0x160165(0x239)]({'code':_0x338f6e['code']||'OWNERSHIP_IN_FLIGHT','connectionId':_0x3fb806[_0x160165(0x219)],'ownership':_0x338f6e['blockers']||[]});}const _0x523d72=Object[_0x160165(0x230)](readFence(_0x2cdd82)['members']||{})[_0x160165(0x23a)](_0x41bb4f=>_0x41bb4f['state']!==_0x160165(0x258));for(const _0x5e8086 of _0x523d72)if(!_0x184192[_0x160165(0x2a2)](_0x1f0475=>_0x1f0475[_0x160165(0x219)]===_0x5e8086[_0x160165(0x219)]))_0x38af2e[_0x160165(0x239)]({'code':'CONNECTION_UNCONFIRMED','connectionId':_0x5e8086['connectionId']});if(!_0x38af2e['length']){const _0x3f08eb=new Set(_0x184192['map'](_0x2e3cde=>_0x2e3cde[_0x160165(0x219)]));try{_0x3ad415=freezeFence(_0x2cdd82,_0x3ad415['epoch'],{},_0x208291=>Object[_0x160165(0x230)](_0x208291[_0x160165(0x208)]||{})[_0x160165(0x23c)](_0x184b63=>_0x184b63[_0x160165(0x252)]===_0x160165(0x258)||_0x3f08eb[_0x160165(0x1ff)](_0x184b63[_0x160165(0x219)]))&&workspaceOwnership(_0x2cdd82,_0x208291,_0x7d29f9)[_0x160165(0x22d)]===0x0);break;}catch(_0x3d7e6c){if(_0x3d7e6c[_0x160165(0x2b8)]!=='OWNERSHIP_IN_FLIGHT')throw _0x3d7e6c;const _0x144be8={};_0x144be8[_0x160165(0x2b8)]=_0x3d7e6c[_0x160165(0x2b8)],_0x38af2e[_0x160165(0x239)](_0x144be8);}}const _0xe3594e={};_0xe3594e[_0x160165(0x28c)]=_0x29a6c6,_0xe3594e[_0x160165(0x28f)]=_0x38af2e,_0x3808f(_0x160165(0x267),_0xe3594e);const _0x1468bf={};_0x1468bf[_0x160165(0x20f)]='pending-safe-boundary',_0x1468bf[_0x160165(0x2af)]=_0x42611a,_0x1468bf[_0x160165(0x28f)]=_0x38af2e,_0x1468bf['resourcePlan']=_0x40ed12[_0x160165(0x20e)];if(Date[_0x160165(0x270)]()>=_0x4edc36)return _0x1468bf;await new Promise(_0x5e3490=>setTimeout(_0x5e3490,Math['min'](0x1f4,Math[_0x160165(0x2a1)](0x1,_0x4edc36-Date[_0x160165(0x270)]()))));}if(_0x3ad415[_0x160165(0x252)]!=='frozen')fail('ADMISSION_CONFLICT');if(_0x2cc59f()==='suspend'){const _0xa7138={};_0xa7138[_0x160165(0x2b8)]=_0x160165(0x205);const _0x4875d7={};_0x4875d7[_0x160165(0x28f)]=[_0xa7138],_0x3808f('pending-safe-boundary',_0x4875d7);const _0x247c2b={};_0x247c2b[_0x160165(0x2b8)]=_0x160165(0x205);const _0x1a2d0c={};return _0x1a2d0c[_0x160165(0x20f)]=_0x160165(0x267),_0x1a2d0c[_0x160165(0x2af)]=_0x42611a,_0x1a2d0c[_0x160165(0x28f)]=[_0x247c2b],_0x1a2d0c;}_0x184192=_0x495d75[_0x160165(0x27b)](_0x2cdd82)[_0x160165(0x23a)](_0x4be4aa=>!_0x4f136f||readGeneration(_0x2cdd82)[_0x160165(0x2bc)][_0x160165(0x1fe)](_0x4be4aa[_0x160165(0x219)]));const _0x11b5c8={..._0x29a6c6};_0x11b5c8['transactionId']=_0x42611a,_0x11b5c8[_0x160165(0x280)]=_0x3ad415[_0x160165(0x280)],_0x11b5c8[_0x160165(0x224)]=_0xb8ac4c[_0x160165(0x224)],_0x11b5c8[_0x160165(0x250)]=_0xb8ac4c[_0x160165(0x250)],_0x11b5c8[_0x160165(0x29e)]=_0x46a160[_0x160165(0x29e)];const _0x4f716f=_0x11b5c8;if(!_0x4f136f){if(_0x2cc59f()===_0x160165(0x28e))fail(_0x160165(0x233));if(!_0xb8ac4c[_0x160165(0x229)]){const _0x142d27=[...new Map([..._0xb8ac4c[_0x160165(0x254)]||[],...snapshotUpgradeRuns(_0x2cdd82)][_0x160165(0x290)](_0x27ae9e=>[JSON[_0x160165(0x2b6)]([_0x27ae9e[_0x160165(0x238)],_0x27ae9e['task'],_0x27ae9e['runId']]),_0x27ae9e]))['values']()],_0x2f44b1={};_0x2f44b1['upgradeRuns']=_0x142d27,_0x3808f('cancelling-runs',_0x2f44b1);const _0x1a11d9={};_0x1a11d9[_0x160165(0x2af)]=_0x42611a,_0x1a11d9['epoch']=_0x3ad415[_0x160165(0x280)],_0x1a11d9[_0x160165(0x28c)]=_0x29a6c6,_0x1a11d9[_0x160165(0x2aa)]=_0x142d27;const {cancelled:_0x25c1e0}=cancelUpgradeRuns(_0x2cdd82,_0x1a11d9),_0x1d235d={};_0x1d235d[_0x160165(0x229)]=!![],_0x1d235d['cancelledRuns']=_0x25c1e0,_0x3808f(_0x160165(0x20b),_0x1d235d);}if(!_0xb8ac4c[_0x160165(0x215)]){_0x3808f(_0x160165(0x294));for(const _0x10b47f of _0x184192){const _0x4feec1=await _0x495d75['controlConnection'](_0x10b47f,_0x160165(0x279),_0x4f716f),_0x1c454f=_0x4feec1[_0x160165(0x20f)]===_0x160165(0x27f)&&_0x4feec1[_0x160165(0x24f)]===!![]&&['version',_0x160165(0x257),_0x160165(0x224),_0x160165(0x250)]['every'](_0x2f757d=>_0x4feec1[_0x2f757d]===_0x4f716f[_0x2f757d])&&_0x4feec1[_0x160165(0x2a0)]===hashFile(path[_0x160165(0x2b7)](_0x2cdd82,_0x160165(0x287),_0x160165(0x1f9)));if(_0x4feec1[_0x160165(0x245)]!=='authenticated-live-process'||_0x4feec1['status']!==_0x160165(0x281)&&!_0x1c454f)fail(_0x4feec1[_0x160165(0x2b8)]||'CHILD_STOP_UNCONFIRMED');}const _0x1c3b09={};_0x1c3b09[_0x160165(0x215)]=!![],_0x3808f(_0x160165(0x22a),_0x1c3b09);}_0x3808f(_0x160165(0x242)),_0x40ed12[_0x160165(0x1f1)](),_0x40ed69?.[_0x160165(0x1f1)](),_0x4f716f['resourceDigest']=hashFile(path['join'](_0x2cdd82,_0x160165(0x287),_0x160165(0x1f9)));if(!_0x4f716f['resourceDigest'])fail('RESOURCE_DIGEST_MISSING');const _0xaa4b5a={};_0xaa4b5a['resourceDigest']=_0x4f716f[_0x160165(0x2a0)],_0x3808f('resources-applied',_0xaa4b5a);if(_0xb8ac4c['rebuildIndex']&&_0xb8ac4c[_0x160165(0x248)]?.[_0x160165(0x20f)]!=='built'){if(_0xb8ac4c['indexResult']?.[_0x160165(0x20f)]===_0x160165(0x25a))fail(_0x160165(0x25d));const _0x14cd25={};_0x14cd25[_0x160165(0x20f)]=_0x160165(0x25a);const _0x3adfd7={};_0x3adfd7['indexResult']=_0x14cd25,_0x3808f('rebuilding-index',_0x3adfd7);try{require(_0x160165(0x262))['execFileSync'](process['execPath'],[path[_0x160165(0x2b7)](_0x46a160[_0x160165(0x29e)],_0x160165(0x2b0),_0x160165(0x216),_0x160165(0x285)),_0x2cdd82],{'cwd':_0x2cdd82,'windowsHide':!![],'timeout':0x1d4c0,'stdio':_0x160165(0x288)});const _0x3fa615={};_0x3fa615[_0x160165(0x20f)]='built';const _0x3d4ccf={};_0x3d4ccf[_0x160165(0x248)]=_0x3fa615,_0x3808f(_0x160165(0x231),_0x3d4ccf);}catch(_0x33c948){const _0x4c5e55={};_0x4c5e55[_0x160165(0x20f)]=_0x160165(0x1f5),_0x4c5e55[_0x160165(0x2b8)]=_0x33c948[_0x160165(0x2b8)]||_0x160165(0x207);const _0x7ed880={};_0x7ed880[_0x160165(0x248)]=_0x4c5e55,_0x3808f(_0x160165(0x231),_0x7ed880),fail(_0x160165(0x207));}}for(const _0x357010 of _0x184192){const _0x9f156e=await _0x495d75[_0x160165(0x2c1)](_0x357010,'prepare-candidate',_0x4f716f);if(_0x9f156e[_0x160165(0x245)]!==_0x160165(0x259)||_0x9f156e['status']!=='candidate-ready')fail(_0x9f156e[_0x160165(0x2b8)]||_0x160165(0x21b));recordCandidate(_0x2cdd82,_0x42611a,_0x3ad415[_0x160165(0x280)],_0x9f156e);}_0x3808f(_0x160165(0x21f));if(_0x2cc59f()==='cancel')fail(_0x160165(0x233));if(_0x2cc59f()===_0x160165(0x246)){const _0x5d06d5={};_0x5d06d5[_0x160165(0x2b8)]=_0x160165(0x205);const _0xc76b80={};_0xc76b80['resourceDigest']=_0x4f716f[_0x160165(0x2a0)],_0xc76b80[_0x160165(0x28f)]=[_0x5d06d5],_0x3808f(_0x160165(0x267),_0xc76b80);const _0x2bc8b0={};_0x2bc8b0[_0x160165(0x2b8)]='UPDATE_SUSPENDED';const _0x48cb50={};return _0x48cb50[_0x160165(0x20f)]='pending-safe-boundary',_0x48cb50[_0x160165(0x2af)]=_0x42611a,_0x48cb50[_0x160165(0x28f)]=[_0x2bc8b0],_0x48cb50;}commitWorkspaceGeneration(_0x2cdd82,_0x42611a,_0x3ad415[_0x160165(0x280)],_0x4f716f),_0x4f136f=!![],projectGeneration(_0x46a160[_0x160165(0x2b5)],_0x2cdd82,readGeneration(_0x2cdd82)),_0x40ed12[_0x160165(0x2bf)](_0x4f716f[_0x160165(0x224)]),_0x40ed69?.[_0x160165(0x2bf)](),_0x3808f(_0x160165(0x21c));}else{const _0x3750ca=readGeneration(_0x2cdd82);_0x4f716f[_0x160165(0x224)]=_0x3750ca['generation'],_0x4f716f[_0x160165(0x2a0)]=_0x3750ca[_0x160165(0x2a0)],_0x4f716f[_0x160165(0x250)]=_0x3750ca[_0x160165(0x250)];if(_0x40ed12[_0x160165(0x24c)]['status']!==_0x160165(0x21c))_0x40ed12[_0x160165(0x2bf)](_0x4f716f[_0x160165(0x224)]);_0x40ed69?.[_0x160165(0x1f1)](),_0x40ed69?.[_0x160165(0x2bf)]();const _0x4378b7=readFence(_0x2cdd82)[_0x160165(0x208)]||{};for(const _0x49f631 of _0x3750ca['connections'])if(_0x4378b7[_0x49f631]?.['state']!==_0x160165(0x258)&&!_0x184192['some'](_0x2d0489=>_0x2d0489[_0x160165(0x219)]===_0x49f631))fail(_0x160165(0x289));for(const _0xf4e06d of _0x184192){const _0x43999f=await _0x495d75[_0x160165(0x2c1)](_0xf4e06d,_0x160165(0x26d),_0x4f716f);if(_0x43999f[_0x160165(0x245)]!==_0x160165(0x259)||_0x43999f[_0x160165(0x20f)]!==_0x160165(0x27f))fail(_0x43999f[_0x160165(0x2b8)]||_0x160165(0x21b));recordCandidate(_0x2cdd82,_0x42611a,_0x3ad415['epoch'],_0x43999f);}}for(const _0x114b13 of _0x184192){const _0x1b20b3=await _0x495d75[_0x160165(0x2c1)](_0x114b13,_0x160165(0x202),_0x4f716f);if(_0x1b20b3[_0x160165(0x245)]!==_0x160165(0x259)||_0x1b20b3[_0x160165(0x20f)]!==_0x160165(0x210))fail(_0x1b20b3['code']||_0x160165(0x284));}openCommittedGeneration(_0x2cdd82,_0x42611a);const _0x1c266c=_0x184192[_0x160165(0x22d)]?'active':_0x160165(0x26c),_0x170f0a={};_0x170f0a[_0x160165(0x265)]=_0x184192['length']?_0x160165(0x259):null,_0x3808f(_0x1c266c,_0x170f0a);const _0x364c45={};_0x364c45[_0x160165(0x20f)]=_0x160165(0x23e);const _0x3998d8={};return _0x3998d8[_0x160165(0x20f)]=_0x1c266c,_0x3998d8[_0x160165(0x2af)]=_0x42611a,_0x3998d8['target']=_0x29a6c6,_0x3998d8['generation']=_0x4f716f[_0x160165(0x224)],_0x3998d8[_0x160165(0x2a0)]=_0x4f716f[_0x160165(0x2a0)],_0x3998d8[_0x160165(0x25c)]=!![],_0x3998d8['cancelledRuns']=_0xb8ac4c[_0x160165(0x298)]||[],_0x3998d8[_0x160165(0x248)]=_0xb8ac4c[_0x160165(0x248)]||_0x364c45,_0x3998d8;}catch(_0x5221e6){const _0x59aa2c={};_0x59aa2c[_0x160165(0x2b8)]=_0x5221e6['code']||_0x160165(0x20a),_0x59aa2c[_0x160165(0x2ac)]=_0xb8ac4c?.[_0x160165(0x20f)]||_0x160165(0x1f8);const _0x353ed6=[_0x59aa2c];if(!_0x4f136f&&_0x5221e6[_0x160165(0x2b8)]===_0x160165(0x205)){const _0x103005={};_0x103005['blockers']=_0x353ed6,_0x3808f(_0x160165(0x267),_0x103005);const _0x2a8257={};return _0x2a8257[_0x160165(0x20f)]=_0x160165(0x267),_0x2a8257[_0x160165(0x2af)]=_0x42611a,_0x2a8257[_0x160165(0x28f)]=_0x353ed6,_0x2a8257;}if(_0x4f136f){const _0x47e7a8={};_0x47e7a8['blockers']=_0x353ed6,_0x47e7a8[_0x160165(0x1fd)]=_0x160165(0x282),_0x3808f('roll-forward-required',_0x47e7a8);const _0x1fe8f6={};return _0x1fe8f6[_0x160165(0x20f)]=_0x160165(0x1f5),_0x1fe8f6[_0x160165(0x2af)]=_0x42611a,_0x1fe8f6[_0x160165(0x1fd)]=_0x160165(0x282),_0x1fe8f6[_0x160165(0x28f)]=_0x353ed6,_0x1fe8f6;}if(_0x3ad415['state']==='frozen'&&!['INDEX_OUTCOME_UNKNOWN',_0x160165(0x207)]['includes'](_0x5221e6['code']))try{const _0x150a88={};return _0x150a88[_0x160165(0x28f)]=_0x353ed6,_0x150a88[_0x160165(0x1fd)]=_0x160165(0x296),_0x3808f('recovering',_0x150a88),await _0x25b2e0(_0x353ed6);}catch(_0x16d258){const _0x1de2ec={'code':_0x16d258[_0x160165(0x2b8)]||_0x160165(0x247),..._0x16d258['mismatchFields']?{'mismatchFields':_0x16d258[_0x160165(0x203)]}:{}};_0x353ed6[_0x160165(0x239)](_0x1de2ec);}const _0x320974={};_0x320974['blockers']=_0x353ed6,_0x3808f(_0x160165(0x1f5),_0x320974);const _0x189786={};return _0x189786[_0x160165(0x20f)]=_0x160165(0x1f5),_0x189786[_0x160165(0x2af)]=_0x42611a,_0x189786['blockers']=_0x353ed6,_0x189786;}finally{_0x958569();}}const _0x352559={};_0x352559[_0x5a0941(0x2a8)]=activatePreparedWorkspace,module['exports']=_0x352559;
|
|
1
|
+
'use strict';const _0x3e9178=_0x3e9f;(function(_0x19df2a,_0x1edcb4){const _0x185ecd=_0x3e9f,_0x10f112=_0x19df2a();while(!![]){try{const _0x41b310=parseInt(_0x185ecd(0x169))/0x1*(parseInt(_0x185ecd(0x129))/0x2)+-parseInt(_0x185ecd(0x1d9))/0x3*(-parseInt(_0x185ecd(0x1e6))/0x4)+parseInt(_0x185ecd(0x19d))/0x5*(-parseInt(_0x185ecd(0x165))/0x6)+-parseInt(_0x185ecd(0x1e5))/0x7*(parseInt(_0x185ecd(0x1b0))/0x8)+-parseInt(_0x185ecd(0x16c))/0x9*(parseInt(_0x185ecd(0x1a9))/0xa)+-parseInt(_0x185ecd(0x1ec))/0xb*(-parseInt(_0x185ecd(0x1b7))/0xc)+-parseInt(_0x185ecd(0x171))/0xd*(-parseInt(_0x185ecd(0x1cf))/0xe);if(_0x41b310===_0x1edcb4)break;else _0x10f112['push'](_0x10f112['shift']());}catch(_0x16f989){_0x10f112['push'](_0x10f112['shift']());}}}(_0x10d4,0x334c8));function _0x10d4(){const _0xe3e1ca=['zgLNzxn0','ChvIBgLJs2v5','ChjLCgfYzwrqBgfUrgLNzxn0','B2XKuNvUDgLTzxntDg9WCgvK','BM90lxjLCxvPCMvK','mtq2mdrRCMLsAfq','r0vorvjbveLptL9srunpvKvswv9nsvnnqvrdsa','C3vZCgvUza','Aw5JBhvKzxm','oe1fBMjetq','y29TCgf0AwjSzq','ywn0AxzL','mtGXogHOyu1eEq','DgfYz2v0vMvYC2LVBG','DMvYC2LVBG','zgLHz25VC3rPyW','BgLZDfDVCMTZCgfJzvjLy2vPChrZ','mJz4yxzcvwW','C29Tzq','C3rVCc1MB3iTDxbKyxrL','C3rVCfjLCxvLC3rLza','y2fUzgLKyxrLlxjLywr5','zxzLCNK','CMv0CNLHyMXL','q09otKvdveLptL9vtKnptKzjuK1fra','ve9ptf9dqvrbte9hx0niqu5hruq','DxbKyxrLCW','C2f2zuXVy2TLza','AM9PBG','lI4Vy29Yzs93B3jRC3bHy2uTz2vUzxjHDgLVBG','ywjVCNrLzerYywLU','yNjPzgDLlxjLCxvPCMvK','DgfZAW','lI4Vy29Yzs91CgDYywrLlxj1BNm','CNvUDgLTzq','BgvUz3rO','D3jPDgvgAwXLu3LUyW','CMvHBhbHDgHtEw5J','y2fUy2vS','y29UBMvJDgLVBKrPywDUB3n0AwnZ','lI4Vy29Yzs9YDw50Aw1Llw93BMvYC2HPCa','DxbKyxrL','y2f0ywXVz0HHC2G','vvbeqvrfx0Lox1bst0Dsrvnt','zMLSDgvY','y2fUy2vSBgvKuNvUCW','zxHPC3rZu3LUyW','CMvZDg9Yzs1WCMv2Aw91CW','zM9Yy2vszwnVDMvY','Bwf4','y29TBwL0DgvK','BwLZBwf0y2HgAwvSzhm','ChjLCgfYzs1Jyw5KAwrHDgu','CNvUC0nHBMnLBgXLza','CNvUCW','y2fUy2vSBgvK','uhjLDMLVDxmGCMvHzgLUzxnZihr1CgXLigrPzMzLCNm','DhjHBNnHy3rPB24TzMLUywWUANnVBG','C3rVCc1JB25MAxjTzwq','BwfW','DMfSDwvZ','odvTrgzRvLO','BM9KztPJCNLWDg8','D29YA3nWywnL','CMvJB25JAwXLv29YA3nWywnLq29UBMvJDgLVBNm','CM9SBc1MB3j3yxjK','q0foreLeqvrfx1bsruzmsuDivf9nsvnnqvrdsa','CMvZB3vYy2vZqxbWBgLLza','vvbeqvrfx1rbuKDfvf9dt05gteLdva','C2fTzvDVCMTZCgfJzq','AgfZ','ChjLCgfYzwq','B2XKlxj1BNrPBwvZlxn0B3bWzwq','odC1mfHbzwLMvW','y29UDgfPBNnxB3jRC3bHy2u','y29UBMvJDgLVBKLK','CM9SBgvKlwjHy2S','zgLYzwn0B3j5','y29UzMXPy3rZ','B3jPz2LUywW','mtu4otGYnhrjB1feva','su5ervHFqLvjterFrKfjteve','ChjLDMLVDxnjzgvUDgL0Eq','ywrKB25Z','uKvtt1vsq0vFuefusf9fu0nbueu','BM9pCa','y29UBMvJDgLVBNm','mtjoBKnWDgK','Dg9tDhjPBMC','su5wquXjrf9xquLu','yNvPBhq','lI4Vy29Yzs9Hzg1PC3nPB24TzMvUy2u','CMvZDwX0CW','lI9PBMrLEc1YzwnVDMvYEq','CNvUBMLUzW','ChjLlwrYywLUlwnHBMnLBgXLza','su5ervHFveLnru9vva','y29UzMLNugf0Aa','CMvWBgfJzw1LBNq','lI4Vy29Yzs93B3jRC3bHy2uTCgf0Aa','z2vUzxjHDgLVBG','Aw5KzxHqAgfZzq','q0foreLeqvrfx05pvf9srufewq','y2fUy2vSlwzVCI11CgDYywrL','vvbeqvrfx1nvu1bftKrfra','CMvJB25Uzwn0lxjLCxvPCMvK','ChjLCgfYzq','CMvNAxn0CMf0Aw9UugXHBG','zxbVy2G','ywn0AxzHDgLVBKv2AwrLBMnL','ywnRBM93BgvKz2vK','mJKWmdq3ohHKtfvSva','uKvhsvnuuKfusu9ox1jfq09wrvjzx1jfuvvjuKve','vvbeqvrfx1bmqu5Fq0HbtKDfra','ywrK','BwfUAwzLC3qUANnVBG','Aw5ZCgvJDa','Dg9ju09tDhjPBMC','BwvTyMvYCW','lI4Vy29Yzs9YDw4Ty29TCgf0AwjPBgL0Eq','r0vorvjbveLptL9bq0TFuevoreLorW','mtiZmdL0v0DQtgi','D2fPDfnLy29Uzhm','CgfYC2u','ywjVCNq','uMvNAxn0CMf0Aw9UugXHBG','CgXHBG','CNvUDgLTzvjVB3q','CMvXDwvZDc1ZDg9W','CMvZB3vYy2vdB250CMfJDerPz2vZDa','BM9KztPWyxrO','CM9SBgjHy2S','yxv0AgvUDgLJyxrLzc1SAxzLlxbYB2nLC3m','mtrqB0LMr1e','mJHbAKXnAeO','C2HHmJu2','q0HjterFu1rpuf9vtKnptKzjuK1fra','y29TBwL0lwnHBMrPzgf0zq','yxbWBhLPBMC','ChjLDMLVDxndB25Uzwn0Aw9UCW','mtyZnJe1mwvsDgT0ra','CNvUswq','y2XVC2vK','y29TBwL0','CMvZB3vYy2vqBgfU','qurnsvntsu9ox0nptKzmsunu','B3bLBG','CgvUzgLUzY1ZywzLlwjVDw5Kyxj5','lNrTCa','CMvIDwLSzeLUzgv4','ru5pru5u','CMvJB3zLCMLUzW','y2f1C2vdB2rL','Cg9ZDfjLC291CMnLuMvJB3zLCNK','DxbKyxrLlxrYyw5Zywn0Aw9UlMPZB24','v09ss0vsx1nut1bFvu5dt05gsvjnruq','ywn0AxzHDgvqCMvWyxjLzfDVCMTZCgfJzq','C3rVChbLza','vvbeqvrfx1jfq09wrvjzx1jfuvvjuKve','B2XKsgfZAa','lMfNzw50CW','zhjHAw4TywjVCNrLza','y29UDhjVBenHCgfIAwXPDgLLCW','Cg9ZDc1Hy3rPDMf0Aw9U','CMvZB3vYy2veAwDLC3q','ChjVyMvxB3jRC3bHy2vdB25Uzwn0Aw9UCW','CMvUyw1Lu3LUyW','BMv3sgfZAa','B3bLCMf0Aw9U','CMvSzwfZzq','t1DorvjtseLqx0Lox0zmsuDiva','C2fMzs1IB3vUzgfYEq','C3rHDhvZ','zMLSzq','CM9SBc1MB3j3yxjKlxjLCxvPCMvK','vvbeqvrfx1bmqu5Fvu5wrvjjrKLfra','uKvtt1vsq0vFuK9mtejbq0TFvu5dt05gsvjnruq','zNn5BMntEw5J','y2XVC2vtEw5J','zxzPzgvUy2u','AxntywzLsw50zwDLCG','vvbeqvrfx0nbtKnfteXfra','zhjHAw5PBMC','vvbeqvrfx0zbsuXfra','ntG0nZjzzfrjANm','ChjVyMvdB25Uzwn0Aw9U','CMvJB3zLCNK','C3rHDgu','su5ervHFu1rpuf9vtKnptKzjuK1fra','ChjLDMLVDxmTCMvZDg9Yzwq','CMvNAxn0CMf0Aw9UtwLNCMf0Aw9U','yMXVy2TLzc1WCM9Qzwn0lxn5BMm','yxbWBhK','zgLHz25VC3rPy3m','ywjVCNqTzhjHAw4','yMXVy2TLCNm','BM90lxjLCxvLC3rLza','DgfYz2v0rgLNzxn0','BgvNywn5lw93BMvYC2HPCc11BNzLCMLMAwvK','DxrMoa','CMvHzezPBgvtEw5J','vvbeqvrfx0Hju1rpuLLFvu5wrvjjrKLfra','Dw5RBM93BG','zMfPBgvK','CgHHC2u','yNL0zxm','lI9JB25Uzwn0Aw9UlwfJDgL2yxrPB24','q0foq0vmx0fds19qru5esu5h','ChvZAa','C2vYDMLUzW','y29UDhjVBenVBM5Ly3rPB24','yxnZAwDU','CMvHzhKTBMv4Dc1JB25Uzwn0Aw9U','y29Kzq','C3rYAw5NAwz5','su5ervHFuKvcvuLmrf9gquLmruq','Agv4','DhjHBNnHy3rPB25jza','B3bLCMf0Aw9UCW','su5ervHFt1vuq09nrv9vtKTot1Do','ywn0Aw9U','C3vWzxj2AxnVCLbPza','zgLYBMfTzq','C3rVChbPBMC','C3rHDgvsB290','y2fUy2vSBgLUzY1YDw5Z','y3jLyxrLsgfZAa','DgfYz2v0','Aw5KzxHszxn1Bhq','uKvtt1vsq0vFreLhrvnux01ju1njtKC','CMfUzg9Tvvvjra','zNjVEMvU','lI9Jyw5KAwrHDguTChjLzMXPz2H0','D2L0AefKBwLZC2LVBKXVy2S','CMvXDwLYzwq','lI9YzwDPC3rYyxrPB24TCgXHBG','BM93','BwLU','AxngAw5PDgu'];_0x10d4=function(){return _0xe3e1ca;};return _0x10d4();}const fs=require('node:fs'),path=require(_0x3e9178(0x1e2)),crypto=require(_0x3e9178(0x19e)),{acquireRuntimeLock}=require('../core/owned-lock'),{ResourceTransaction}=require('../core/resource-transaction'),{readFence,changeFence,freezeFence}=require(_0x3e9178(0x1bb)),{readGeneration,projectGeneration,registerMember,recordCandidate,commitWorkspaceGeneration,openCommittedGeneration}=require(_0x3e9178(0x17d)),{verifyRelease}=require('./runtime-store'),{preflightWorkspaceContracts}=require('../core/run-compatibility'),{preflightCandidate}=require(_0x3e9178(0x159)),connections=require(_0x3e9178(0x13f)),{readControl}=require('../core/update-control'),{workspaceOwnership}=require(_0x3e9178(0x188)),{snapshotUpgradeRuns,cancelUpgradeRuns}=require(_0x3e9178(0x181)),{rebuildWorkspaceIndex}=require(_0x3e9178(0x1bd)),hashFile=_0x3b4d23=>{const _0x48bcd4=_0x3e9178;try{return crypto[_0x48bcd4(0x153)](_0x48bcd4(0x1e7))[_0x48bcd4(0x189)](fs[_0x48bcd4(0x139)](_0x3b4d23))[_0x48bcd4(0x160)](_0x48bcd4(0x149));}catch(_0x279c74){if(_0x279c74[_0x48bcd4(0x146)]==='ENOENT')return null;throw _0x279c74;}},fail=_0x45e5e6=>{throw Object['assign'](new Error(_0x45e5e6),{'code':_0x45e5e6});},sameRegistrationWorkspace=(_0x320d19,_0x3a814e)=>require(_0x3e9178(0x1c3))[_0x3e9178(0x1a5)](_0x320d19,_0x3a814e);function writeJournal(_0x29ab2b,_0x41dc74){const _0x35f707=_0x3e9178,_0xed09d0=_0x29ab2b+'.'+crypto[_0x35f707(0x157)]()+_0x35f707(0x1f4),_0x13ae4b=fs['openSync'](_0xed09d0,'wx',0x180);try{fs[_0x35f707(0x184)](_0x13ae4b,JSON[_0x35f707(0x147)](_0x41dc74)),fs[_0x35f707(0x211)](_0x13ae4b);}finally{fs[_0x35f707(0x212)](_0x13ae4b);}fs[_0x35f707(0x206)](_0xed09d0,_0x29ab2b);}async function activatePreparedWorkspace(_0x5b0a18){const _0x3e55d5=_0x3e9178,_0x4d2ae2=fs['realpathSync'](_0x5b0a18['workspace']),_0xb60d0f=require(_0x3e55d5(0x1d7))['workspaceRunRoots'](_0x4d2ae2),_0x3ebaa8=_0x5b0a18[_0x3e55d5(0x1f0)]instanceof ResourceTransaction?_0x5b0a18['resourcePlan']:new ResourceTransaction(_0x5b0a18[_0x3e55d5(0x1f0)]);if(fs[_0x3e55d5(0x185)](_0x3ebaa8[_0x3e55d5(0x1de)][_0x3e55d5(0x19f)])!==_0x4d2ae2)fail(_0x3e55d5(0x1b4));const _0x495838=_0x3ebaa8[_0x3e55d5(0x1de)][_0x3e55d5(0x14a)],_0x5d2730=path[_0x3e55d5(0x17c)](_0x4d2ae2,_0x3e55d5(0x200),_0x3e55d5(0x182)),_0x317441=acquireRuntimeLock(path[_0x3e55d5(0x17c)](_0x5d2730,'update.lock')),_0x5400dd={};_0x5400dd['code']=_0x3e55d5(0x18b);const _0x49a34f={};_0x49a34f['status']='pending-safe-boundary',_0x49a34f[_0x3e55d5(0x14a)]=_0x495838,_0x49a34f[_0x3e55d5(0x134)]=[_0x5400dd];if(!_0x317441)return _0x49a34f;const _0x25434d=path['join'](_0x5d2730,_0x3e55d5(0x1fa)),_0x18ce3a=_0x5b0a18['connections']||connections;let _0x32f1c8;try{_0x32f1c8=JSON[_0x3e55d5(0x1db)](fs['readFileSync'](_0x25434d,_0x3e55d5(0x138)));}catch(_0x1bde3b){if(_0x1bde3b[_0x3e55d5(0x146)]!==_0x3e55d5(0x1f6)){_0x317441();throw _0x1bde3b;}}if(_0x32f1c8&&_0x32f1c8[_0x3e55d5(0x14a)]!==_0x495838){if(![_0x3e55d5(0x16b),_0x3e55d5(0x145),_0x3e55d5(0x1ac),'cancelled','superseded'][_0x3e55d5(0x168)](_0x32f1c8[_0x3e55d5(0x20c)])){_0x317441();const _0x3e44fb={};_0x3e44fb[_0x3e55d5(0x146)]=_0x3e55d5(0x18b);const _0x3c02a5={};return _0x3c02a5[_0x3e55d5(0x20c)]='pending-safe-boundary',_0x3c02a5[_0x3e55d5(0x14a)]=_0x32f1c8[_0x3e55d5(0x14a)],_0x3c02a5[_0x3e55d5(0x134)]=[_0x3e44fb],_0x3c02a5;}const _0x14e318=path['join'](_0x5d2730,_0x3e55d5(0x17a),_0x32f1c8[_0x3e55d5(0x14a)],_0x3e55d5(0x199));(!/^[a-zA-Z0-9_-]{1,80}$/['test'](_0x32f1c8[_0x3e55d5(0x14a)])||!fs[_0x3e55d5(0x18e)](path[_0x3e55d5(0x14f)](_0x14e318))||!require('../core/workspace-path')[_0x3e55d5(0x1aa)](_0x4d2ae2,fs[_0x3e55d5(0x185)](path[_0x3e55d5(0x14f)](_0x14e318))))&&(_0x317441(),fail(_0x3e55d5(0x13a)));try{writeJournal(_0x14e318,_0x32f1c8);}catch(_0x4ebc02){_0x317441();throw _0x4ebc02;}_0x32f1c8=null;}const _0x54f841=(_0x5aad01,_0x2d6a4c={})=>{const _0x49f3ea=_0x3e55d5,_0xa80805={};_0xa80805[_0x49f3ea(0x20c)]=_0x49f3ea(0x164),_0xa80805[_0x49f3ea(0x134)]=[];const _0x3c3a91={};_0x3c3a91[_0x49f3ea(0x20c)]=_0x49f3ea(0x135),_0x3c3a91[_0x49f3ea(0x1bc)]=[],_0x32f1c8={..._0x32f1c8,'transactionId':_0x495838,'workspace':_0x4d2ae2,'runtimeRoot':_0x5b0a18['runtimeRoot'],'release':_0x5b0a18[_0x49f3ea(0x209)],'publicKey':_0x5b0a18[_0x49f3ea(0x161)]?.[_0x49f3ea(0x1b8)](),'resourcePlan':_0x3ebaa8[_0x49f3ea(0x1ad)],'registrationPlan':_0x5b0a18[_0x49f3ea(0x1cb)]?.[_0x49f3ea(0x1ad)]||_0x5b0a18[_0x49f3ea(0x1cb)]||_0x32f1c8?.[_0x49f3ea(0x1cb)]||null,'registrationMigration':_0x5b0a18[_0x49f3ea(0x12f)]||_0x32f1c8?.[_0x49f3ea(0x12f)]||_0xa80805,'addons':_0x5b0a18['addons']||_0x32f1c8?.[_0x49f3ea(0x1b3)]||_0x3c3a91,'rebuildIndex':_0x32f1c8?.[_0x49f3ea(0x1f5)]===!![]||_0x5b0a18[_0x49f3ea(0x1f5)]===!![],'indexPhase':_0x32f1c8?.[_0x49f3ea(0x1c5)]||(_0x32f1c8?.[_0x49f3ea(0x1f5)]===!![]||_0x5b0a18[_0x49f3ea(0x1f5)]===!![]?_0x49f3ea(0x203):_0x49f3ea(0x135)),'status':_0x5aad01,'changedAt':new Date()[_0x49f3ea(0x1d5)](),..._0x2d6a4c},writeJournal(_0x25434d,_0x32f1c8);};let _0x141a36=readGeneration(_0x4d2ae2)?.[_0x3e55d5(0x14a)]===_0x495838;const _0xf81c1b=_0x5b0a18[_0x3e55d5(0x1cb)]?.['directory']||_0x5b0a18[_0x3e55d5(0x1cb)]||_0x32f1c8?.[_0x3e55d5(0x1cb)];let _0x2f94a2;try{_0x2f94a2=_0xf81c1b?new(require(_0x3e55d5(0x15c)))[(_0x3e55d5(0x1dd))](_0xf81c1b):null;}catch(_0x26dddb){_0x317441();throw _0x26dddb;}_0x2f94a2&&(!sameRegistrationWorkspace(_0x2f94a2[_0x3e55d5(0x1de)]['workspace'],_0x4d2ae2)||_0x2f94a2[_0x3e55d5(0x1de)][_0x3e55d5(0x14a)]!==_0x495838)&&(_0x317441(),fail('REGISTRATION_PLAN_INVALID'));let _0x5a2a03=readFence(_0x4d2ae2),_0x393bfb=[];const _0xffa9d1=()=>readControl(_0x4d2ae2,_0x495838)?.[_0x3e55d5(0x14d)],_0x133ba5=async _0x579414=>{const _0xac7b53=_0x3e55d5;if(_0x32f1c8?.[_0xac7b53(0x155)]?.['status']===_0xac7b53(0x1ba))return _0x32f1c8[_0xac7b53(0x155)];if(_0x32f1c8?.[_0xac7b53(0x155)]?.[_0xac7b53(0x20c)]===_0xac7b53(0x1be)||_0x32f1c8?.[_0xac7b53(0x155)]?.[_0xac7b53(0x20c)]===_0xac7b53(0x13b)||[_0xac7b53(0x14c),_0xac7b53(0x12d)]['includes'](_0x32f1c8?.['indexResult']?.[_0xac7b53(0x146)])){const _0x158a4f={};return _0x158a4f['status']=_0xac7b53(0x13b),_0x158a4f[_0xac7b53(0x146)]=_0xac7b53(0x14c),_0x158a4f['retryable']=![],_0x158a4f;}const _0x94a432={};_0x94a432['status']=_0xac7b53(0x135);if(!_0x32f1c8?.[_0xac7b53(0x1f5)]&&!_0x5b0a18['rebuildIndex'])return _0x94a432;const _0x19c4bf={};_0x19c4bf['status']='running';const _0x144c32={};_0x144c32['indexPhase']=_0xac7b53(0x203),_0x144c32[_0xac7b53(0x155)]=_0x19c4bf,_0x54f841(_0x579414,_0x144c32);try{const _0x2c9aa9={};_0x2c9aa9['workspace']=_0x4d2ae2,_0x2c9aa9[_0xac7b53(0x209)]=_0x5b0a18[_0xac7b53(0x209)];const _0x56bd4f=await rebuildWorkspaceIndex(_0x2c9aa9),_0x5200ff={};_0x5200ff[_0xac7b53(0x20c)]=_0xac7b53(0x1ba),_0x5200ff[_0xac7b53(0x16f)]=_0x56bd4f['diagnostic'];const _0x297f9c=_0x5200ff,_0x2372b2={};return _0x2372b2['indexPhase']=_0xac7b53(0x203),_0x2372b2[_0xac7b53(0x155)]=_0x297f9c,_0x54f841(_0x579414,_0x2372b2),_0x297f9c;}catch(_0x362fed){const _0x68dbb6=_0x362fed[_0xac7b53(0x146)]||_0xac7b53(0x1b1),_0x27c070=['INDEX_OUTCOME_UNKNOWN',_0xac7b53(0x12d)][_0xac7b53(0x168)](_0x68dbb6),_0x4c614c={};_0x4c614c['status']=_0x27c070?_0xac7b53(0x13b):_0xac7b53(0x13c),_0x4c614c['code']=_0x68dbb6,_0x4c614c[_0xac7b53(0x177)]=_0x68dbb6===_0xac7b53(0x1c0),_0x4c614c[_0xac7b53(0x1f8)]=_0x362fed['cause']?.[_0xac7b53(0x146)]||null,_0x4c614c[_0xac7b53(0x16f)]=_0x362fed[_0xac7b53(0x16f)]||null;const _0x3345cf=_0x4c614c,_0x52be94={};_0x52be94[_0xac7b53(0x146)]=_0x27c070?_0xac7b53(0x14c):_0xac7b53(0x148),_0x52be94['phase']=_0xac7b53(0x203),_0x52be94['indexCode']=_0x68dbb6;const _0x1b7ef0={};return _0x1b7ef0[_0xac7b53(0x1c5)]=_0xac7b53(0x203),_0x1b7ef0[_0xac7b53(0x155)]=_0x3345cf,_0x1b7ef0['blockers']=[_0x52be94],_0x54f841(_0x579414,_0x1b7ef0),_0x3345cf;}},_0x3f79ba=async _0x3f66ba=>{const _0x45c3d7=_0x3e55d5;_0x2f94a2?.[_0x45c3d7(0x1e3)](),_0x3ebaa8[_0x45c3d7(0x1e3)](),_0x393bfb=_0x18ce3a[_0x45c3d7(0x170)](_0x4d2ae2);for(const _0x44ce13 of _0x32f1c8[_0x45c3d7(0x1eb)]||[])if(!_0x393bfb[_0x45c3d7(0x172)](_0x2b7559=>_0x2b7559[_0x45c3d7(0x1ab)]===_0x44ce13[_0x45c3d7(0x1ab)]))fail(_0x45c3d7(0x210));for(const _0x309c3b of _0x393bfb){const _0x172f98={};_0x172f98[_0x45c3d7(0x14a)]=_0x495838,_0x172f98[_0x45c3d7(0x1cc)]=_0x5a2a03['epoch'];const _0x5cf276=await _0x18ce3a[_0x45c3d7(0x143)](_0x309c3b,_0x45c3d7(0x18f),_0x172f98);if(_0x5cf276[_0x45c3d7(0x213)]!==_0x45c3d7(0x1e4)||_0x5cf276['status']!==_0x45c3d7(0x12e))fail(_0x5cf276[_0x45c3d7(0x146)]||_0x45c3d7(0x210));const _0xb28451=_0x32f1c8[_0x45c3d7(0x1eb)]?.['find'](_0x31a9c9=>_0x31a9c9[_0x45c3d7(0x1ab)]===_0x309c3b['connectionId']),_0x5b8445=_0xb28451?[_0x45c3d7(0x1ab),'version','digest',_0x45c3d7(0x1c4),_0x45c3d7(0x204),'catalogHash']['filter'](_0x3ac1af=>_0x5cf276[_0x3ac1af]!==_0xb28451[_0x3ac1af]):[_0x45c3d7(0x1b2)];if(_0x5cf276[_0x45c3d7(0x142)]!==!![])_0x5b8445[_0x45c3d7(0x141)](_0x45c3d7(0x142));if(!Number[_0x45c3d7(0x214)](_0x5cf276['childPid'])||_0x5cf276['childPid']<=0x0)_0x5b8445[_0x45c3d7(0x141)]('childPid');if(!sameRegistrationWorkspace(_0x5cf276['workspace']||'',_0x4d2ae2))_0x5b8445[_0x45c3d7(0x141)](_0x45c3d7(0x19f));if(_0x5b8445['length'])throw Object[_0x45c3d7(0x144)](new Error(_0x45c3d7(0x198)),{'code':_0x45c3d7(0x210),'mismatchFields':_0x5b8445});}const _0x5e196d={};_0x5e196d[_0x45c3d7(0x12c)]=_0x45c3d7(0x1f2),_0x5e196d[_0x45c3d7(0x14a)]=_0x495838,_0x5a2a03=changeFence(_0x4d2ae2,_0x5a2a03[_0x45c3d7(0x1cc)],_0x5e196d);for(const _0xf3164d of _0x393bfb){const _0x3b5e4c={};_0x3b5e4c[_0x45c3d7(0x14a)]=_0x495838;const _0x1f70ef=await _0x18ce3a['controlConnection'](_0xf3164d,'abort',_0x3b5e4c);if(_0x1f70ef[_0x45c3d7(0x213)]!=='authenticated-live-process'||!['active',_0x45c3d7(0x145)][_0x45c3d7(0x168)](_0x1f70ef[_0x45c3d7(0x20c)]))fail(_0x45c3d7(0x210));}const _0x251eef=_0xffa9d1()===_0x45c3d7(0x186)||_0x3f66ba[_0x45c3d7(0x172)](_0x575e14=>_0x575e14['code']===_0x45c3d7(0x126)),_0x404fba={};_0x404fba['blockers']=_0x3f66ba,_0x404fba[_0x45c3d7(0x12b)]=_0x45c3d7(0x1ac),_0x54f841(_0x251eef?_0x45c3d7(0x197):'rolled-back',_0x404fba);const _0x323d11={};return _0x323d11[_0x45c3d7(0x20c)]=_0x251eef?_0x45c3d7(0x197):'failed',_0x323d11[_0x45c3d7(0x14a)]=_0x495838,_0x323d11['recovery']='rolled-back',_0x323d11[_0x45c3d7(0x134)]=_0x3f66ba,_0x323d11;},_0x5b087d=async(_0x12a8f1=![])=>{const _0x71d022=_0x3e55d5,_0x4a2831=new Set();for(const _0x3603a9 of _0x18ce3a[_0x71d022(0x170)](_0x4d2ae2)){const _0x204650={};_0x204650[_0x71d022(0x14a)]=_0x495838,_0x204650['epoch']=_0x5a2a03[_0x71d022(0x1cc)];const _0xe9da5a=await _0x18ce3a[_0x71d022(0x143)](_0x3603a9,_0x71d022(0x1dc),_0x204650),_0x4c4cd6={};_0x4c4cd6[_0x71d022(0x146)]=_0x71d022(0x140),_0x4c4cd6[_0x71d022(0x1ab)]=_0x3603a9['connectionId'];const _0x27473b={};_0x27473b[_0x71d022(0x20c)]='pending-safe-boundary',_0x27473b[_0x71d022(0x14a)]=_0x495838,_0x27473b[_0x71d022(0x134)]=[_0x4c4cd6];if(_0xe9da5a[_0x71d022(0x213)]!=='authenticated-live-process'||!['active',_0x71d022(0x145)][_0x71d022(0x168)](_0xe9da5a['status']))return _0x27473b;_0x4a2831[_0x71d022(0x1d2)](_0x3603a9[_0x71d022(0x1ab)]);}const _0x21f1af=require(_0x71d022(0x1bb));_0x21f1af[_0x71d022(0x15a)](_0x4d2ae2,_0x55bb77=>{const _0x172e46=_0x71d022;if(_0x55bb77[_0x172e46(0x1cc)]!==_0x5a2a03['epoch']||_0x55bb77[_0x172e46(0x12c)]!==_0x172e46(0x127)||_0x55bb77[_0x172e46(0x14a)]!==_0x495838)fail(_0x172e46(0x1f1));if(Object['values'](_0x55bb77[_0x172e46(0x1d6)]||{})[_0x172e46(0x172)](_0x38a349=>_0x38a349['state']!=='closed'&&!_0x4a2831[_0x172e46(0x1a6)](_0x38a349[_0x172e46(0x1ab)])))fail(_0x172e46(0x140));const _0xa97e65={};_0xa97e65[_0x172e46(0x14a)]=_0x495838,_0xa97e65['resourceContractDigest']=_0x32f1c8[_0x172e46(0x1e1)],_0xa97e65[_0x172e46(0x1ce)]=[..._0x4a2831];const _0x57b1fd={};_0x57b1fd[_0x172e46(0x17e)]=_0xa97e65;const _0x5b5c00={..._0x55bb77,'state':_0x172e46(0x1f2),'epoch':_0x55bb77[_0x172e46(0x1cc)]+0x1,'stopRequested':![],'targetVersion':null,'targetDigest':null,..._0x12a8f1?_0x57b1fd:{}};_0x21f1af[_0x172e46(0x17b)](_0x4d2ae2,_0x5b5c00);});const _0x5ce588={};_0x5ce588[_0x71d022(0x12b)]='drain-aborted',_0x54f841(_0x71d022(0x197),_0x12a8f1?_0x5ce588:{});const _0x35bb9e={};_0x35bb9e[_0x71d022(0x12b)]=_0x71d022(0x201);const _0x34b46f={'status':_0x71d022(0x197),'transactionId':_0x495838,'resourcesApplied':![],..._0x12a8f1?_0x35bb9e:{}};return _0x34b46f;};try{const _0x38a01e={};_0x38a01e[_0x3e55d5(0x146)]=_0x3e55d5(0x1c8);const _0x5b9450={};_0x5b9450[_0x3e55d5(0x20c)]=_0x3e55d5(0x1f3),_0x5b9450[_0x3e55d5(0x14a)]=_0x495838,_0x5b9450[_0x3e55d5(0x134)]=[_0x38a01e];if(_0x32f1c8?.['suspended']||_0x32f1c8?.[_0x3e55d5(0x197)])return _0x5b9450;const _0x44ae8f=verifyRelease(_0x5b0a18[_0x3e55d5(0x209)],_0x5b0a18[_0x3e55d5(0x161)]),_0x519b78={};_0x519b78[_0x3e55d5(0x16e)]=_0x44ae8f[_0x3e55d5(0x16e)],_0x519b78[_0x3e55d5(0x160)]=_0x44ae8f[_0x3e55d5(0x160)];const _0x36b049=_0x519b78;if(_0x32f1c8?.[_0x3e55d5(0x154)]&&(_0x32f1c8[_0x3e55d5(0x154)][_0x3e55d5(0x16e)]!==_0x36b049[_0x3e55d5(0x16e)]||_0x32f1c8[_0x3e55d5(0x154)]['digest']!==_0x36b049['digest']))fail(_0x3e55d5(0x1a4));const _0x41eab2=require('../core/resource-transaction')[_0x3e55d5(0x1e1)](_0x3ebaa8[_0x3e55d5(0x1de)]);if(_0x32f1c8?.['resourceContractDigest']&&_0x32f1c8[_0x3e55d5(0x1e1)]!==_0x41eab2)fail(_0x3e55d5(0x1d1));if(_0x32f1c8&&!_0x32f1c8[_0x3e55d5(0x1e1)]){if(!_0x32f1c8[_0x3e55d5(0x162)]||_0x32f1c8['preparedPlanDigest']!==hashFile(_0x3ebaa8[_0x3e55d5(0x20d)]))fail(_0x3e55d5(0x20f));const _0x285664={};_0x285664[_0x3e55d5(0x1e1)]=_0x41eab2,_0x54f841(_0x32f1c8[_0x3e55d5(0x20c)],_0x285664);}if(!_0x32f1c8&&_0x141a36)fail('UPDATE_JOURNAL_UNVERIFIED');const _0x3183b1={};_0x3183b1['target']=_0x36b049,_0x3183b1[_0x3e55d5(0x1e1)]=_0x41eab2;if(!_0x32f1c8)_0x54f841('preflight-pending',_0x3183b1);if(!_0x141a36&&_0x5a2a03[_0x3e55d5(0x12c)]===_0x3e55d5(0x1f2)&&_0xffa9d1()==='cancel'){const _0x4c3f85=_0x3ebaa8[_0x3e55d5(0x1d4)]();if(_0x32f1c8?.[_0x3e55d5(0x14a)]!==_0x495838||_0x32f1c8[_0x3e55d5(0x1a3)]||_0x32f1c8[_0x3e55d5(0x195)]||_0x32f1c8[_0x3e55d5(0x163)]||_0x3ebaa8[_0x3e55d5(0x1de)]['status']!==_0x3e55d5(0x1a7)||_0x4c3f85[_0x3e55d5(0x172)](_0x545d0f=>_0x545d0f[_0x3e55d5(0x20c)]!==_0x3e55d5(0x1a7)||![_0x3e55d5(0x1af),_0x3e55d5(0x1c2)][_0x3e55d5(0x168)](_0x545d0f[_0x3e55d5(0x13e)])))fail(_0x3e55d5(0x1fe));if(_0x2f94a2&&(_0x2f94a2['plan']['status']!==_0x3e55d5(0x1a7)||_0x2f94a2['plan'][_0x3e55d5(0x14b)][_0x3e55d5(0x172)](_0x5ad93b=>_0x5ad93b[_0x3e55d5(0x20c)]!=='prepared'||![_0x5ad93b[_0x3e55d5(0x1ff)],_0x5ad93b[_0x3e55d5(0x207)]]['includes'](hashFile(_0x5ad93b[_0x3e55d5(0x1c1)])))))fail(_0x3e55d5(0x1d0));_0x2f94a2?.[_0x3e55d5(0x1e3)](),_0x3ebaa8[_0x3e55d5(0x1e3)](),_0x54f841(_0x3e55d5(0x197),{'cancelled':!![],'cancellation':{'reason':_0x3e55d5(0x1bf),'cancelledAt':new Date()[_0x3e55d5(0x1d5)]()}});const _0x43e320={};return _0x43e320['status']='cancelled',_0x43e320[_0x3e55d5(0x14a)]=_0x495838,_0x43e320['resourcesApplied']=![],_0x43e320;}if(!_0x141a36&&_0x32f1c8?.['recovery']===_0x3e55d5(0x133)){const _0x3597ac={};_0x3597ac[_0x3e55d5(0x146)]=_0x3e55d5(0x1c8);const _0x55c60b={};_0x55c60b[_0x3e55d5(0x20c)]=_0x3e55d5(0x1f3),_0x55c60b['transactionId']=_0x495838,_0x55c60b[_0x3e55d5(0x134)]=[_0x3597ac];if(_0xffa9d1()===_0x3e55d5(0x167))return _0x55c60b;const _0x581e8a=_0x5a2a03[_0x3e55d5(0x12c)]===_0x3e55d5(0x1f2)&&_0x5a2a03[_0x3e55d5(0x17e)]?.[_0x3e55d5(0x14a)]===_0x495838&&_0x5a2a03[_0x3e55d5(0x17e)][_0x3e55d5(0x1e1)]===_0x41eab2;if(!_0x581e8a&&_0x5a2a03['state']!=='draining'||_0x5a2a03[_0x3e55d5(0x14a)]!==_0x495838||_0x32f1c8[_0x3e55d5(0x195)]||_0x32f1c8[_0x3e55d5(0x163)]||_0x32f1c8[_0x3e55d5(0x1a3)]||_0x3ebaa8['plan']['status']!==_0x3e55d5(0x1a7)||_0x3ebaa8[_0x3e55d5(0x1d4)]()['some'](_0xa31df8=>_0xa31df8['bytes']!=='original'||_0xa31df8[_0x3e55d5(0x20c)]!==_0x3e55d5(0x1a7)))fail(_0x3e55d5(0x1fe));if(_0x2f94a2&&(_0x2f94a2[_0x3e55d5(0x1de)]['status']!==_0x3e55d5(0x1a7)||_0x2f94a2[_0x3e55d5(0x1de)][_0x3e55d5(0x14b)][_0x3e55d5(0x172)](_0x169f63=>_0x169f63[_0x3e55d5(0x20c)]!==_0x3e55d5(0x1a7)||hashFile(_0x169f63['configPath'])!==_0x169f63[_0x3e55d5(0x1ff)])))fail(_0x3e55d5(0x1d0));if(_0x581e8a){const _0x5d879f={};_0x5d879f['recovery']=_0x3e55d5(0x201),_0x54f841(_0x3e55d5(0x197),_0x5d879f);const _0x132e4f={};return _0x132e4f[_0x3e55d5(0x20c)]=_0x3e55d5(0x197),_0x132e4f['transactionId']=_0x495838,_0x132e4f[_0x3e55d5(0x1a3)]=![],_0x132e4f['recovery']=_0x3e55d5(0x201),_0x132e4f;}return await _0x5b087d(!![]);}if(!_0x141a36&&_0x32f1c8?.['recovery']==='rollback'){const _0x1c3fbd={};_0x1c3fbd[_0x3e55d5(0x146)]='UPDATE_SUSPENDED';const _0x68a57c={};_0x68a57c[_0x3e55d5(0x20c)]=_0x3e55d5(0x1f3),_0x68a57c[_0x3e55d5(0x14a)]=_0x495838,_0x68a57c[_0x3e55d5(0x134)]=[_0x1c3fbd];if(_0xffa9d1()===_0x3e55d5(0x167))return _0x68a57c;return await _0x3f79ba(_0x32f1c8[_0x3e55d5(0x134)]||[]);}const _0x54bdcb=readGeneration(_0x4d2ae2);if(!_0x141a36&&_0x5a2a03['state']===_0x3e55d5(0x1f2)&&_0x54bdcb?.[_0x3e55d5(0x16e)]===_0x36b049[_0x3e55d5(0x16e)]&&_0x54bdcb[_0x3e55d5(0x160)]===_0x36b049['digest']&&_0x54bdcb[_0x3e55d5(0x204)]===hashFile(path[_0x3e55d5(0x17c)](_0x4d2ae2,_0x3e55d5(0x200),_0x3e55d5(0x1d3)))&&_0x3ebaa8[_0x3e55d5(0x1de)][_0x3e55d5(0x14b)][_0x3e55d5(0x183)]===0x0&&!_0x3ebaa8[_0x3e55d5(0x1de)]['conflicts'][_0x3e55d5(0x183)]&&!_0x2f94a2?.[_0x3e55d5(0x1de)][_0x3e55d5(0x14b)][_0x3e55d5(0x172)](_0x4e5a77=>_0x4e5a77['oldHash']!==_0x4e5a77[_0x3e55d5(0x207)])&&!_0x5b0a18['rebuildIndex']){const _0x240f88=await _0x18ce3a[_0x3e55d5(0x205)](_0x4d2ae2,_0x54bdcb);if(![_0x3e55d5(0x16b),_0x3e55d5(0x145)]['includes'](_0x240f88['status']))return{..._0x240f88,'transactionId':_0x495838,'target':_0x36b049,'noOp':!![],'cancelledRuns':[]};projectGeneration(_0x5b0a18[_0x3e55d5(0x1df)],_0x4d2ae2,_0x54bdcb),_0x54f841(_0x240f88[_0x3e55d5(0x20c)],{'target':_0x36b049,'generation':_0x54bdcb['generation'],'noOp':!![],'cancelledRuns':[],'activationEvidence':_0x240f88['status']===_0x3e55d5(0x16b)?_0x3e55d5(0x1e4):null});const _0xdf74e3={};_0xdf74e3[_0x3e55d5(0x20c)]=_0x3e55d5(0x135);const _0x3da9ce={..._0x240f88};return _0x3da9ce[_0x3e55d5(0x14a)]=_0x495838,_0x3da9ce['target']=_0x36b049,_0x3da9ce[_0x3e55d5(0x1c4)]=_0x54bdcb[_0x3e55d5(0x1c4)],_0x3da9ce[_0x3e55d5(0x1b5)]=!![],_0x3da9ce[_0x3e55d5(0x1a3)]=![],_0x3da9ce[_0x3e55d5(0x18d)]=[],_0x3da9ce['indexResult']=_0xdf74e3,_0x3da9ce;}if(_0x141a36&&_0x5a2a03[_0x3e55d5(0x12c)]===_0x3e55d5(0x1f2)){if(_0x54bdcb[_0x3e55d5(0x16e)]!==_0x36b049[_0x3e55d5(0x16e)]||_0x54bdcb[_0x3e55d5(0x160)]!==_0x36b049[_0x3e55d5(0x160)]||!_0x54bdcb[_0x3e55d5(0x204)]||hashFile(path[_0x3e55d5(0x17c)](_0x4d2ae2,_0x3e55d5(0x200),_0x3e55d5(0x1d3)))!==_0x54bdcb[_0x3e55d5(0x204)])fail(_0x3e55d5(0x166));if(!_0x32f1c8||_0x32f1c8['transactionId']!==_0x495838||!_0x32f1c8[_0x3e55d5(0x19f)]||!sameRegistrationWorkspace(_0x32f1c8['workspace'],_0x4d2ae2))fail('UPDATE_JOURNAL_UNVERIFIED');const _0x4d1855=_0x18ce3a['listWorkspaceReceipts'](_0x4d2ae2),_0x27bd28=Object[_0x3e55d5(0x19c)](_0x5a2a03[_0x3e55d5(0x1d6)]||{})[_0x3e55d5(0x18c)](_0x2a5d4d=>_0x2a5d4d['state']!==_0x3e55d5(0x1ee));for(const _0x4c4402 of _0x27bd28)if(!_0x4d1855[_0x3e55d5(0x172)](_0x276087=>_0x276087['connectionId']===_0x4c4402[_0x3e55d5(0x1ab)]))fail('CONNECTION_UNCONFIRMED');for(const _0xc46c01 of _0x4d1855){const _0x58c418=await _0x18ce3a[_0x3e55d5(0x12a)](_0xc46c01);if(_0x58c418[_0x3e55d5(0x213)]!==_0x3e55d5(0x1e4)||_0x58c418['serving']!==!![]||['version',_0x3e55d5(0x160),_0x3e55d5(0x204),'generation'][_0x3e55d5(0x172)](_0x26673f=>_0x58c418[_0x26673f]!==_0x54bdcb[_0x26673f]))fail(_0x3e55d5(0x1d8));}projectGeneration(_0x5b0a18[_0x3e55d5(0x1df)],_0x4d2ae2,_0x54bdcb);if(_0x3ebaa8[_0x3e55d5(0x1de)]['status']!=='committed')_0x3ebaa8[_0x3e55d5(0x1ef)](_0x54bdcb[_0x3e55d5(0x1c4)]);_0x2f94a2?.['commit']();const _0x6eaac0=_0x4d1855[_0x3e55d5(0x183)]?_0x3e55d5(0x16b):'ready-next-connection',_0x4be8e9={};_0x4be8e9[_0x3e55d5(0x1c4)]=_0x54bdcb[_0x3e55d5(0x1c4)],_0x4be8e9['resourceDigest']=_0x54bdcb['resourceDigest'],_0x4be8e9[_0x3e55d5(0x1cd)]=_0x4d1855['length']?_0x3e55d5(0x1e4):null,_0x54f841(_0x6eaac0,_0x4be8e9);const _0xdcfc8=await _0x133ba5(_0x6eaac0),_0x2f61b6=_0xdcfc8[_0x3e55d5(0x20c)]===_0x3e55d5(0x1be)||_0xdcfc8[_0x3e55d5(0x20c)]===_0x3e55d5(0x13b)||['INDEX_OUTCOME_UNKNOWN',_0x3e55d5(0x12d)][_0x3e55d5(0x168)](_0xdcfc8[_0x3e55d5(0x146)]),_0x30554c=_0x2f61b6?_0x3e55d5(0x1f3):_0x6eaac0,_0x4cdbe7={};_0x4cdbe7[_0x3e55d5(0x1c4)]=_0x54bdcb[_0x3e55d5(0x1c4)],_0x4cdbe7[_0x3e55d5(0x204)]=_0x54bdcb[_0x3e55d5(0x204)],_0x4cdbe7[_0x3e55d5(0x1cd)]=_0x4d1855[_0x3e55d5(0x183)]?_0x3e55d5(0x1e4):null;if(_0x30554c!==_0x6eaac0)_0x54f841(_0x30554c,_0x4cdbe7);const _0x540769={};_0x540769[_0x3e55d5(0x146)]=_0x3e55d5(0x14c),_0x540769[_0x3e55d5(0x13d)]=_0x3e55d5(0x203);const _0x18d1a9=_0x2f61b6?[_0x540769]:_0xdcfc8[_0x3e55d5(0x20c)]==='failed'?[{'code':'INDEX_REBUILD_FAILED','phase':_0x3e55d5(0x203),'indexCode':_0xdcfc8[_0x3e55d5(0x146)]}]:[],_0x428efd={'status':_0x30554c,'runtimeActivation':_0x30554c,'transactionId':_0x495838,'target':_0x36b049,'generation':_0x54bdcb[_0x3e55d5(0x1c4)],'resourceDigest':_0x54bdcb[_0x3e55d5(0x204)],'resourcesApplied':!![],'cancelledRuns':_0x32f1c8[_0x3e55d5(0x18d)]||[],'indexResult':_0xdcfc8,..._0x18d1a9['length']?{'blockers':_0x18d1a9}:{}};return _0x428efd;}if(_0x3ebaa8[_0x3e55d5(0x1de)][_0x3e55d5(0x1ae)][_0x3e55d5(0x172)](_0x5059d5=>_0x5059d5[_0x3e55d5(0x15b)])){const _0x1f092b={};_0x1f092b[_0x3e55d5(0x154)]=_0x36b049,_0x1f092b[_0x3e55d5(0x134)]=_0x3ebaa8[_0x3e55d5(0x1de)][_0x3e55d5(0x1ae)],_0x54f841('blocked-project-sync',_0x1f092b);const _0x4bd148={};return _0x4bd148[_0x3e55d5(0x20c)]=_0x3e55d5(0x130),_0x4bd148['transactionId']=_0x495838,_0x4bd148[_0x3e55d5(0x134)]=_0x3ebaa8['plan'][_0x3e55d5(0x1ae)],_0x4bd148;}if(_0x5a2a03['state']===_0x3e55d5(0x1f2)){const _0x36add9={};_0x36add9[_0x3e55d5(0x208)]=_0x3e55d5(0x1c7);const _0x50c826=preflightWorkspaceContracts(_0x4d2ae2,_0x36add9);if(_0x50c826['status']!==_0x3e55d5(0x16a)){const _0x4fa3ed={};_0x4fa3ed[_0x3e55d5(0x134)]=_0x50c826[_0x3e55d5(0x134)],_0x54f841(_0x3e55d5(0x137),_0x4fa3ed);const _0x2a1e7d={};return _0x2a1e7d['status']=_0x3e55d5(0x137),_0x2a1e7d[_0x3e55d5(0x14a)]=_0x495838,_0x2a1e7d['blockers']=_0x50c826['blockers'],_0x2a1e7d;}const _0x33fde5=await(_0x5b0a18['preflight']||preflightCandidate)({'release':_0x5b0a18[_0x3e55d5(0x209)],'runtimeRoot':_0x5b0a18[_0x3e55d5(0x1df)],'publicKey':_0x5b0a18[_0x3e55d5(0x161)]});if(_0x33fde5[_0x3e55d5(0x20c)]!=='ready'||_0x33fde5[_0x3e55d5(0x16e)]!==_0x36b049['version']||_0x33fde5['digest']!==_0x36b049[_0x3e55d5(0x160)])fail(_0x3e55d5(0x1a2));const _0x3a7929=[];if(_0x18ce3a[_0x3e55d5(0x1a0)]){const _0x44464d={};_0x44464d[_0x3e55d5(0x131)]=!![],_0x44464d[_0x3e55d5(0x190)]=_0x5b0a18[_0x3e55d5(0x190)]===!![];const _0x5f515a=await _0x18ce3a[_0x3e55d5(0x1a0)](_0x4d2ae2,_0x44464d);if(_0x5f515a[_0x3e55d5(0x134)][_0x3e55d5(0x183)]){const _0x128d26={};_0x128d26[_0x3e55d5(0x134)]=_0x5f515a[_0x3e55d5(0x134)],_0x128d26['connectionDiagnostics']=_0x5f515a[_0x3e55d5(0x132)],_0x54f841(_0x3e55d5(0x137),_0x128d26);const _0x1c0713={};return _0x1c0713[_0x3e55d5(0x20c)]=_0x3e55d5(0x137),_0x1c0713[_0x3e55d5(0x14a)]=_0x495838,_0x1c0713[_0x3e55d5(0x134)]=_0x5f515a[_0x3e55d5(0x134)],_0x1c0713[_0x3e55d5(0x187)]=_0x5f515a['diagnostics'],_0x1c0713;}}for(const _0x53ac59 of _0x18ce3a[_0x3e55d5(0x170)](_0x4d2ae2)){const _0x121fc0=await _0x18ce3a[_0x3e55d5(0x12a)](_0x53ac59);if(_0x121fc0['evidence']!==_0x3e55d5(0x1e4)||_0x121fc0[_0x3e55d5(0x142)]!==!![]||_0x53ac59['supervisorProtocol']!==0x2){const _0x4338e8={};_0x4338e8[_0x3e55d5(0x146)]='CONNECTION_UNCONFIRMED',_0x4338e8[_0x3e55d5(0x1ab)]=_0x53ac59['connectionId'];const _0x35a121=[_0x4338e8],_0x4b816f={};_0x4b816f['blockers']=_0x35a121,_0x54f841(_0x3e55d5(0x137),_0x4b816f);const _0x4df414={};return _0x4df414[_0x3e55d5(0x20c)]=_0x3e55d5(0x137),_0x4df414[_0x3e55d5(0x14a)]=_0x495838,_0x4df414[_0x3e55d5(0x134)]=_0x35a121,_0x4df414;}if(!_0x121fc0['catalogHash']||_0x121fc0[_0x3e55d5(0x18a)]!==_0x33fde5[_0x3e55d5(0x18a)]){const _0x63e107={};_0x63e107[_0x3e55d5(0x146)]=_0x3e55d5(0x179),_0x63e107[_0x3e55d5(0x1ab)]=_0x53ac59['connectionId'];const _0x426fd5=[_0x63e107],_0x2e3c86={};_0x2e3c86[_0x3e55d5(0x134)]=_0x426fd5,_0x54f841(_0x3e55d5(0x1c9),_0x2e3c86);const _0x5c2a26={};return _0x5c2a26[_0x3e55d5(0x20c)]='reconnect-required',_0x5c2a26[_0x3e55d5(0x14a)]=_0x495838,_0x5c2a26[_0x3e55d5(0x134)]=_0x426fd5,_0x5c2a26;}const _0x31a950={};_0x31a950['connectionId']=_0x53ac59[_0x3e55d5(0x1ab)],_0x31a950[_0x3e55d5(0x14e)]=_0x53ac59['supervisorPid'],_0x31a950[_0x3e55d5(0x1df)]=_0x53ac59[_0x3e55d5(0x1df)]||_0x5b0a18[_0x3e55d5(0x1df)],registerMember(_0x4d2ae2,_0x31a950);const _0x18a820={};_0x18a820[_0x3e55d5(0x1ab)]=_0x53ac59[_0x3e55d5(0x1ab)],_0x18a820[_0x3e55d5(0x19f)]=_0x4d2ae2,_0x18a820[_0x3e55d5(0x16e)]=_0x121fc0[_0x3e55d5(0x16e)],_0x18a820[_0x3e55d5(0x160)]=_0x121fc0[_0x3e55d5(0x160)],_0x18a820[_0x3e55d5(0x1c4)]=_0x121fc0[_0x3e55d5(0x1c4)],_0x18a820['resourceDigest']=_0x121fc0[_0x3e55d5(0x204)]??null,_0x18a820[_0x3e55d5(0x18a)]=_0x121fc0[_0x3e55d5(0x18a)],_0x3a7929[_0x3e55d5(0x141)](_0x18a820),_0x3a7929[_0x3a7929[_0x3e55d5(0x183)]-0x1][_0x3e55d5(0x202)]=_0x121fc0[_0x3e55d5(0x202)]||[];}_0x54f841(_0x3e55d5(0x1a7),{'target':_0x36b049,'previousConnections':_0x3a7929,'upgradeRuns':snapshotUpgradeRuns(_0x4d2ae2),'catalogHash':_0x33fde5[_0x3e55d5(0x18a)],'generation':(readGeneration(_0x4d2ae2)?.[_0x3e55d5(0x1c4)]||0x0)+0x1});const _0x2e19fc={};_0x2e19fc[_0x3e55d5(0x12c)]=_0x3e55d5(0x127),_0x2e19fc[_0x3e55d5(0x174)]=!![],_0x2e19fc[_0x3e55d5(0x14a)]=_0x495838,_0x2e19fc[_0x3e55d5(0x16d)]=_0x36b049['version'],_0x2e19fc[_0x3e55d5(0x136)]=_0x36b049[_0x3e55d5(0x160)],_0x5a2a03=changeFence(_0x4d2ae2,_0x5a2a03[_0x3e55d5(0x1cc)],_0x2e19fc);}else{if(_0x5a2a03[_0x3e55d5(0x14a)]!==_0x495838||_0x5a2a03[_0x3e55d5(0x16d)]!==_0x36b049[_0x3e55d5(0x16e)]||_0x5a2a03[_0x3e55d5(0x136)]!==_0x36b049[_0x3e55d5(0x160)])fail(_0x3e55d5(0x1f1));}const _0x239854=_0x5b0a18[_0x3e55d5(0x1da)]===undefined?0x78:Number(_0x5b0a18[_0x3e55d5(0x1da)]);if(!Number[_0x3e55d5(0x15f)](_0x239854)||_0x239854<0x0||_0x239854>0xe10)fail(_0x3e55d5(0x1b9));const _0x26d1af=Date['now']()+_0x239854*0x3e8;if(_0x5a2a03['state']==='draining')for(;;){if(_0xffa9d1()===_0x3e55d5(0x167)){const _0x53ddf4={};_0x53ddf4[_0x3e55d5(0x146)]=_0x3e55d5(0x1c8);const _0x327004={};_0x327004['blockers']=[_0x53ddf4],_0x54f841(_0x3e55d5(0x1f3),_0x327004);const _0x558f1d={};_0x558f1d['code']=_0x3e55d5(0x1c8);const _0x1dc4c5={};return _0x1dc4c5[_0x3e55d5(0x20c)]=_0x3e55d5(0x1f3),_0x1dc4c5['transactionId']=_0x495838,_0x1dc4c5[_0x3e55d5(0x134)]=[_0x558f1d],_0x1dc4c5;}if(_0xffa9d1()===_0x3e55d5(0x186))return await _0x5b087d();_0x393bfb=_0x18ce3a[_0x3e55d5(0x170)](_0x4d2ae2);const _0xc5514f=[];for(const _0x2e0a03 of _0x393bfb){const _0x57707d=await _0x18ce3a[_0x3e55d5(0x12a)](_0x2e0a03);if(!_0x57707d[_0x3e55d5(0x202)]?.[_0x3e55d5(0x168)]('request-stop'))continue;const _0x4c5eab={..._0x36b049};_0x4c5eab['transactionId']=_0x495838,_0x4c5eab[_0x3e55d5(0x1cc)]=_0x5a2a03[_0x3e55d5(0x1cc)];const _0x442725=await _0x18ce3a[_0x3e55d5(0x143)](_0x2e0a03,_0x3e55d5(0x1e0),_0x4c5eab);if(_0x442725[_0x3e55d5(0x213)]!==_0x3e55d5(0x1e4)||![_0x3e55d5(0x19a),_0x3e55d5(0x1f3)][_0x3e55d5(0x168)](_0x442725['status']))_0xc5514f['push']({'code':_0x442725[_0x3e55d5(0x146)]||_0x3e55d5(0x1fb),'connectionId':_0x2e0a03['connectionId']});}const _0x2f4f44=workspaceOwnership(_0x4d2ae2,readFence(_0x4d2ae2),_0xb60d0f)[_0x3e55d5(0x19b)](_0x394c90=>({'code':_0x3e55d5(0x20a),'ownership':_0x394c90}));_0x2f4f44['push'](..._0xc5514f);for(const _0x5dfd2b of _0x393bfb){const _0x5b710a={..._0x36b049};_0x5b710a[_0x3e55d5(0x14a)]=_0x495838,_0x5b710a[_0x3e55d5(0x1cc)]=_0x5a2a03[_0x3e55d5(0x1cc)];const _0x11a68e=await _0x18ce3a[_0x3e55d5(0x143)](_0x5dfd2b,_0x3e55d5(0x1ca),_0x5b710a);if(_0x11a68e[_0x3e55d5(0x213)]!=='authenticated-live-process'||_0x11a68e[_0x3e55d5(0x20c)]!==_0x3e55d5(0x20b))_0x2f4f44[_0x3e55d5(0x141)]({'code':_0x11a68e[_0x3e55d5(0x146)]||_0x3e55d5(0x20a),'connectionId':_0x5dfd2b[_0x3e55d5(0x1ab)],'ownership':_0x11a68e['blockers']||[]});}const _0x49e581=Object[_0x3e55d5(0x19c)](readFence(_0x4d2ae2)['members']||{})['filter'](_0x1b6752=>_0x1b6752['state']!=='closed');for(const _0x37894d of _0x49e581)if(!_0x393bfb['some'](_0x31382f=>_0x31382f[_0x3e55d5(0x1ab)]===_0x37894d[_0x3e55d5(0x1ab)]))_0x2f4f44[_0x3e55d5(0x141)]({'code':_0x3e55d5(0x178),'connectionId':_0x37894d[_0x3e55d5(0x1ab)]});if(!_0x2f4f44[_0x3e55d5(0x183)]){const _0x1e54af=new Set(_0x393bfb[_0x3e55d5(0x19b)](_0x5e4a80=>_0x5e4a80[_0x3e55d5(0x1ab)]));try{_0x5a2a03=freezeFence(_0x4d2ae2,_0x5a2a03[_0x3e55d5(0x1cc)],{},_0x1b4525=>Object[_0x3e55d5(0x19c)](_0x1b4525['members']||{})[_0x3e55d5(0x176)](_0x5a034b=>_0x5a034b[_0x3e55d5(0x12c)]===_0x3e55d5(0x1ee)||_0x1e54af[_0x3e55d5(0x1a6)](_0x5a034b[_0x3e55d5(0x1ab)]))&&workspaceOwnership(_0x4d2ae2,_0x1b4525,_0xb60d0f)['length']===0x0);break;}catch(_0x1a471b){if(_0x1a471b[_0x3e55d5(0x146)]!==_0x3e55d5(0x20a))throw _0x1a471b;const _0x1e2dd5={};_0x1e2dd5['code']=_0x1a471b[_0x3e55d5(0x146)],_0x2f4f44['push'](_0x1e2dd5);}}const _0x3fb75d={};_0x3fb75d[_0x3e55d5(0x154)]=_0x36b049,_0x3fb75d[_0x3e55d5(0x134)]=_0x2f4f44,_0x54f841(_0x3e55d5(0x1f3),_0x3fb75d);const _0x20bf72={};_0x20bf72['status']=_0x3e55d5(0x1f3),_0x20bf72[_0x3e55d5(0x14a)]=_0x495838,_0x20bf72['blockers']=_0x2f4f44,_0x20bf72[_0x3e55d5(0x1f0)]=_0x3ebaa8[_0x3e55d5(0x1ad)];if(Date[_0x3e55d5(0x15d)]()>=_0x26d1af)return _0x20bf72;await new Promise(_0x54b222=>setTimeout(_0x54b222,Math[_0x3e55d5(0x15e)](0x1f4,Math[_0x3e55d5(0x191)](0x1,_0x26d1af-Date[_0x3e55d5(0x15d)]()))));}if(_0x5a2a03['state']!==_0x3e55d5(0x158))fail(_0x3e55d5(0x1f1));if(_0xffa9d1()==='suspend'){const _0x37e82c={};_0x37e82c[_0x3e55d5(0x146)]=_0x3e55d5(0x1c8);const _0x210eef={};_0x210eef[_0x3e55d5(0x134)]=[_0x37e82c],_0x54f841(_0x3e55d5(0x1f3),_0x210eef);const _0x569a86={};_0x569a86[_0x3e55d5(0x146)]='UPDATE_SUSPENDED';const _0xd34269={};return _0xd34269[_0x3e55d5(0x20c)]=_0x3e55d5(0x1f3),_0xd34269[_0x3e55d5(0x14a)]=_0x495838,_0xd34269[_0x3e55d5(0x134)]=[_0x569a86],_0xd34269;}_0x393bfb=_0x18ce3a[_0x3e55d5(0x170)](_0x4d2ae2)[_0x3e55d5(0x18c)](_0x4ef1af=>!_0x141a36||readGeneration(_0x4d2ae2)[_0x3e55d5(0x1b6)][_0x3e55d5(0x168)](_0x4ef1af[_0x3e55d5(0x1ab)]));const _0x54021e={..._0x36b049};_0x54021e[_0x3e55d5(0x14a)]=_0x495838,_0x54021e['epoch']=_0x5a2a03[_0x3e55d5(0x1cc)],_0x54021e[_0x3e55d5(0x1c4)]=_0x32f1c8['generation'],_0x54021e[_0x3e55d5(0x18a)]=_0x32f1c8[_0x3e55d5(0x18a)],_0x54021e[_0x3e55d5(0x209)]=_0x5b0a18[_0x3e55d5(0x209)];const _0x6c6b35=_0x54021e;if(!_0x141a36){if(_0xffa9d1()===_0x3e55d5(0x186))fail(_0x3e55d5(0x126));if(!_0x32f1c8[_0x3e55d5(0x195)]){const _0x3853ed=[...new Map([..._0x32f1c8['upgradeRuns']||[],...snapshotUpgradeRuns(_0x4d2ae2)]['map'](_0x41682c=>[JSON[_0x3e55d5(0x147)]([_0x41682c[_0x3e55d5(0x151)],_0x41682c[_0x3e55d5(0x180)],_0x41682c[_0x3e55d5(0x1ed)]]),_0x41682c]))[_0x3e55d5(0x19c)]()],_0x6f9d78={};_0x6f9d78['upgradeRuns']=_0x3853ed,_0x54f841(_0x3e55d5(0x152),_0x6f9d78);const _0x25d4de={};_0x25d4de[_0x3e55d5(0x14a)]=_0x495838,_0x25d4de[_0x3e55d5(0x1cc)]=_0x5a2a03[_0x3e55d5(0x1cc)],_0x25d4de[_0x3e55d5(0x154)]=_0x36b049,_0x25d4de[_0x3e55d5(0x196)]=_0x3853ed;const {cancelled:_0x421603}=cancelUpgradeRuns(_0x4d2ae2,_0x25d4de),_0xc40502={};_0xc40502[_0x3e55d5(0x195)]=!![],_0xc40502[_0x3e55d5(0x18d)]=_0x421603,_0x54f841('runs-cancelled',_0xc40502);}if(!_0x32f1c8[_0x3e55d5(0x163)]){_0x54f841(_0x3e55d5(0x150));for(const _0x49afe2 of _0x393bfb){const _0x138e84=await _0x18ce3a[_0x3e55d5(0x143)](_0x49afe2,_0x3e55d5(0x173),_0x6c6b35),_0x4028c4=_0x138e84[_0x3e55d5(0x20c)]===_0x3e55d5(0x175)&&_0x138e84['oldRuntimeStopped']===!![]&&[_0x3e55d5(0x16e),'digest',_0x3e55d5(0x1c4),'catalogHash'][_0x3e55d5(0x176)](_0x5ca154=>_0x138e84[_0x5ca154]===_0x6c6b35[_0x5ca154])&&_0x138e84[_0x3e55d5(0x204)]===hashFile(path[_0x3e55d5(0x17c)](_0x4d2ae2,_0x3e55d5(0x200),_0x3e55d5(0x1d3)));if(_0x138e84[_0x3e55d5(0x213)]!==_0x3e55d5(0x1e4)||_0x138e84[_0x3e55d5(0x20c)]!==_0x3e55d5(0x1fd)&&!_0x4028c4)fail(_0x138e84[_0x3e55d5(0x146)]||_0x3e55d5(0x1e8));}const _0x5a52ad={};_0x5a52ad[_0x3e55d5(0x163)]=!![],_0x54f841(_0x3e55d5(0x1a8),_0x5a52ad);}_0x54f841(_0x3e55d5(0x1ea)),_0x3ebaa8[_0x3e55d5(0x131)](),_0x2f94a2?.[_0x3e55d5(0x131)](),_0x6c6b35[_0x3e55d5(0x204)]=hashFile(path[_0x3e55d5(0x17c)](_0x4d2ae2,_0x3e55d5(0x200),_0x3e55d5(0x1d3)));if(!_0x6c6b35[_0x3e55d5(0x204)])fail(_0x3e55d5(0x156));const _0x5e2b9f={};_0x5e2b9f[_0x3e55d5(0x204)]=_0x6c6b35[_0x3e55d5(0x204)],_0x54f841('resources-applied',_0x5e2b9f);for(const _0x1d9d05 of _0x393bfb){const _0x7cd56b=await _0x18ce3a[_0x3e55d5(0x143)](_0x1d9d05,_0x3e55d5(0x194),_0x6c6b35);if(_0x7cd56b[_0x3e55d5(0x213)]!==_0x3e55d5(0x1e4)||_0x7cd56b['status']!==_0x3e55d5(0x175))fail(_0x7cd56b[_0x3e55d5(0x146)]||_0x3e55d5(0x1c6));recordCandidate(_0x4d2ae2,_0x495838,_0x5a2a03[_0x3e55d5(0x1cc)],_0x7cd56b);}_0x54f841('commit-intent');if(_0xffa9d1()==='cancel')fail(_0x3e55d5(0x126));if(_0xffa9d1()===_0x3e55d5(0x167)){const _0x464820={};_0x464820[_0x3e55d5(0x146)]='UPDATE_SUSPENDED';const _0x4fbd5f={};_0x4fbd5f[_0x3e55d5(0x204)]=_0x6c6b35[_0x3e55d5(0x204)],_0x4fbd5f[_0x3e55d5(0x134)]=[_0x464820],_0x54f841(_0x3e55d5(0x1f3),_0x4fbd5f);const _0x2919b6={};_0x2919b6['code']='UPDATE_SUSPENDED';const _0x104ec8={};return _0x104ec8[_0x3e55d5(0x20c)]=_0x3e55d5(0x1f3),_0x104ec8[_0x3e55d5(0x14a)]=_0x495838,_0x104ec8[_0x3e55d5(0x134)]=[_0x2919b6],_0x104ec8;}commitWorkspaceGeneration(_0x4d2ae2,_0x495838,_0x5a2a03[_0x3e55d5(0x1cc)],_0x6c6b35),_0x141a36=!![],projectGeneration(_0x5b0a18[_0x3e55d5(0x1df)],_0x4d2ae2,readGeneration(_0x4d2ae2)),_0x3ebaa8[_0x3e55d5(0x1ef)](_0x6c6b35[_0x3e55d5(0x1c4)]),_0x2f94a2?.[_0x3e55d5(0x1ef)](),_0x54f841(_0x3e55d5(0x192));}else{const _0x2b48e0=readGeneration(_0x4d2ae2);_0x6c6b35['generation']=_0x2b48e0[_0x3e55d5(0x1c4)],_0x6c6b35['resourceDigest']=_0x2b48e0[_0x3e55d5(0x204)],_0x6c6b35['catalogHash']=_0x2b48e0[_0x3e55d5(0x18a)];if(_0x3ebaa8[_0x3e55d5(0x1de)]['status']!==_0x3e55d5(0x192))_0x3ebaa8[_0x3e55d5(0x1ef)](_0x6c6b35[_0x3e55d5(0x1c4)]);_0x2f94a2?.[_0x3e55d5(0x131)](),_0x2f94a2?.[_0x3e55d5(0x1ef)]();const _0xd8cab5=readFence(_0x4d2ae2)['members']||{};for(const _0x3bab3c of _0x2b48e0[_0x3e55d5(0x1b6)])if(_0xd8cab5[_0x3bab3c]?.['state']!==_0x3e55d5(0x1ee)&&!_0x393bfb[_0x3e55d5(0x172)](_0x10b05c=>_0x10b05c[_0x3e55d5(0x1ab)]===_0x3bab3c))fail(_0x3e55d5(0x178));for(const _0x52cff8 of _0x393bfb){const _0x1c0d36=await _0x18ce3a['controlConnection'](_0x52cff8,'prepare-candidate',_0x6c6b35);if(_0x1c0d36[_0x3e55d5(0x213)]!==_0x3e55d5(0x1e4)||_0x1c0d36[_0x3e55d5(0x20c)]!=='candidate-ready')fail(_0x1c0d36['code']||_0x3e55d5(0x1c6));recordCandidate(_0x4d2ae2,_0x495838,_0x5a2a03[_0x3e55d5(0x1cc)],_0x1c0d36);}}for(const _0x418ed7 of _0x393bfb){const _0x1b6640=await _0x18ce3a[_0x3e55d5(0x143)](_0x418ed7,_0x3e55d5(0x1e9),_0x6c6b35);if(_0x1b6640['evidence']!==_0x3e55d5(0x1e4)||_0x1b6640[_0x3e55d5(0x20c)]!=='active')fail(_0x1b6640[_0x3e55d5(0x146)]||_0x3e55d5(0x1d8));}openCommittedGeneration(_0x4d2ae2,_0x495838);const _0x1b58bd=_0x393bfb[_0x3e55d5(0x183)]?'active':_0x3e55d5(0x145),_0x2824c7={};_0x2824c7[_0x3e55d5(0x1cd)]=_0x393bfb[_0x3e55d5(0x183)]?_0x3e55d5(0x1e4):null,_0x54f841(_0x1b58bd,_0x2824c7);const _0x4baee0=await _0x133ba5(_0x1b58bd),_0x3642e4={};_0x3642e4[_0x3e55d5(0x146)]=_0x3e55d5(0x14c),_0x3642e4[_0x3e55d5(0x13d)]=_0x3e55d5(0x203);const _0x36c5a6=_0x4baee0['status']==='failed'?[{'code':'INDEX_REBUILD_FAILED','phase':_0x3e55d5(0x203),'indexCode':_0x4baee0[_0x3e55d5(0x146)]}]:_0x4baee0[_0x3e55d5(0x20c)]===_0x3e55d5(0x13b)?[_0x3642e4]:[],_0x5b90e3=_0x4baee0[_0x3e55d5(0x20c)]===_0x3e55d5(0x1be)||_0x4baee0[_0x3e55d5(0x20c)]===_0x3e55d5(0x13b)||[_0x3e55d5(0x14c),'INDEX_STOP_UNCONFIRMED'][_0x3e55d5(0x168)](_0x4baee0[_0x3e55d5(0x146)]),_0x5844b7={};_0x5844b7[_0x3e55d5(0x146)]=_0x3e55d5(0x14c),_0x5844b7[_0x3e55d5(0x13d)]=_0x3e55d5(0x203);const _0x4f9cb4={};_0x4f9cb4[_0x3e55d5(0x134)]=[_0x5844b7];const _0x5cbe7c={'status':_0x5b90e3?_0x3e55d5(0x1f3):_0x1b58bd,'runtimeActivation':_0x5b90e3?_0x3e55d5(0x1f3):_0x1b58bd,'transactionId':_0x495838,'target':_0x36b049,'generation':_0x6c6b35['generation'],'resourceDigest':_0x6c6b35[_0x3e55d5(0x204)],'resourcesApplied':!![],'cancelledRuns':_0x32f1c8[_0x3e55d5(0x18d)]||[],'indexResult':_0x4baee0,..._0x5b90e3?_0x4f9cb4:_0x36c5a6['length']?{'blockers':_0x36c5a6}:{}};return _0x5cbe7c;}catch(_0x1ccf75){const _0x12511c={};_0x12511c['code']=_0x1ccf75[_0x3e55d5(0x146)]||_0x3e55d5(0x128),_0x12511c[_0x3e55d5(0x13d)]=_0x32f1c8?.[_0x3e55d5(0x20c)]||_0x3e55d5(0x1ca);const _0x3cf8c2=[_0x12511c];if(!_0x141a36&&_0x1ccf75['code']===_0x3e55d5(0x1c8)){const _0xe85e98={};_0xe85e98['blockers']=_0x3cf8c2,_0x54f841('pending-safe-boundary',_0xe85e98);const _0x460e95={};return _0x460e95['status']=_0x3e55d5(0x1f3),_0x460e95[_0x3e55d5(0x14a)]=_0x495838,_0x460e95[_0x3e55d5(0x134)]=_0x3cf8c2,_0x460e95;}if(_0x141a36){const _0x1cfea8={};_0x1cfea8[_0x3e55d5(0x134)]=_0x3cf8c2,_0x1cfea8[_0x3e55d5(0x12b)]=_0x3e55d5(0x1a1),_0x54f841(_0x3e55d5(0x20e),_0x1cfea8);const _0x145e84={};return _0x145e84[_0x3e55d5(0x20c)]='failed',_0x145e84[_0x3e55d5(0x14a)]=_0x495838,_0x145e84[_0x3e55d5(0x12b)]='roll-forward',_0x145e84[_0x3e55d5(0x134)]=_0x3cf8c2,_0x145e84;}if(_0x5b0a18[_0x3e55d5(0x1f9)]){const _0x147a94={};_0x147a94[_0x3e55d5(0x134)]=_0x3cf8c2,_0x147a94[_0x3e55d5(0x12b)]=_0x3e55d5(0x17f),_0x54f841(_0x3e55d5(0x13c),_0x147a94);const _0x1baeb5={};return _0x1baeb5['status']='failed',_0x1baeb5[_0x3e55d5(0x14a)]=_0x495838,_0x1baeb5['recovery']=_0x3e55d5(0x17f),_0x1baeb5[_0x3e55d5(0x134)]=_0x3cf8c2,_0x1baeb5;}if(_0x5a2a03['state']==='frozen'&&![_0x3e55d5(0x14c),_0x3e55d5(0x148)][_0x3e55d5(0x168)](_0x1ccf75[_0x3e55d5(0x146)]))try{const _0x1715aa={};return _0x1715aa[_0x3e55d5(0x134)]=_0x3cf8c2,_0x1715aa[_0x3e55d5(0x12b)]=_0x3e55d5(0x1e3),_0x54f841(_0x3e55d5(0x1f7),_0x1715aa),await _0x3f79ba(_0x3cf8c2);}catch(_0x5c0824){const _0x118263={'code':_0x5c0824[_0x3e55d5(0x146)]||_0x3e55d5(0x210),..._0x5c0824[_0x3e55d5(0x193)]?{'mismatchFields':_0x5c0824[_0x3e55d5(0x193)]}:{}};_0x3cf8c2[_0x3e55d5(0x141)](_0x118263);}const _0x1e4dce={};_0x1e4dce[_0x3e55d5(0x134)]=_0x3cf8c2,_0x54f841('failed',_0x1e4dce);const _0x44953d={};return _0x44953d[_0x3e55d5(0x20c)]=_0x3e55d5(0x13c),_0x44953d['transactionId']=_0x495838,_0x44953d[_0x3e55d5(0x134)]=_0x3cf8c2,_0x44953d;}finally{_0x317441();}}const _0x330ed6={};function _0x3e9f(_0x4bb6a7,_0x3efbd7){_0x4bb6a7=_0x4bb6a7-0x126;const _0x10d41e=_0x10d4();let _0x3e9f82=_0x10d41e[_0x4bb6a7];if(_0x3e9f['iJvEjv']===undefined){var _0x4d4ff6=function(_0x136870){const _0x5e43eb='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x37160e='',_0x295ee1='';for(let _0x19ac0d=0x0,_0x515ae1,_0x5f5d92,_0x2e4139=0x0;_0x5f5d92=_0x136870['charAt'](_0x2e4139++);~_0x5f5d92&&(_0x515ae1=_0x19ac0d%0x4?_0x515ae1*0x40+_0x5f5d92:_0x5f5d92,_0x19ac0d++%0x4)?_0x37160e+=String['fromCharCode'](0xff&_0x515ae1>>(-0x2*_0x19ac0d&0x6)):0x0){_0x5f5d92=_0x5e43eb['indexOf'](_0x5f5d92);}for(let _0x5ac0d3=0x0,_0x5ea592=_0x37160e['length'];_0x5ac0d3<_0x5ea592;_0x5ac0d3++){_0x295ee1+='%'+('00'+_0x37160e['charCodeAt'](_0x5ac0d3)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x295ee1);};_0x3e9f['AddKLi']=_0x4d4ff6,_0x3e9f['rbafIs']={},_0x3e9f['iJvEjv']=!![];}const _0x38c7b3=_0x10d41e[0x0],_0x1c9fc9=_0x4bb6a7+_0x38c7b3,_0x57b2ff=_0x3e9f['rbafIs'][_0x1c9fc9];return!_0x57b2ff?(_0x3e9f82=_0x3e9f['AddKLi'](_0x3e9f82),_0x3e9f['rbafIs'][_0x1c9fc9]=_0x3e9f82):_0x3e9f82=_0x57b2ff,_0x3e9f82;}_0x330ed6[_0x3e9178(0x1fc)]=activatePreparedWorkspace,module['exports']=_0x330ed6;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x5c7972=_0x1f50;function _0x1f50(_0x4ecdfb,_0x27cc4f){_0x4ecdfb=_0x4ecdfb-0xe7;const _0x24e98f=_0x24e9();let _0x1f50a9=_0x24e98f[_0x4ecdfb];if(_0x1f50['SEQbGd']===undefined){var _0x4ef0c6=function(_0x30dfbe){const _0x475500='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3dc95d='',_0x3bf7b7='';for(let _0x330134=0x0,_0xdaa9c0,_0x5a2748,_0x3265a9=0x0;_0x5a2748=_0x30dfbe['charAt'](_0x3265a9++);~_0x5a2748&&(_0xdaa9c0=_0x330134%0x4?_0xdaa9c0*0x40+_0x5a2748:_0x5a2748,_0x330134++%0x4)?_0x3dc95d+=String['fromCharCode'](0xff&_0xdaa9c0>>(-0x2*_0x330134&0x6)):0x0){_0x5a2748=_0x475500['indexOf'](_0x5a2748);}for(let _0x23210a=0x0,_0x43a6e8=_0x3dc95d['length'];_0x23210a<_0x43a6e8;_0x23210a++){_0x3bf7b7+='%'+('00'+_0x3dc95d['charCodeAt'](_0x23210a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3bf7b7);};_0x1f50['CBdtBD']=_0x4ef0c6,_0x1f50['UcjUSd']={},_0x1f50['SEQbGd']=!![];}const _0x501ece=_0x24e98f[0x0],_0x2c4ad6=_0x4ecdfb+_0x501ece,_0x3669bd=_0x1f50['UcjUSd'][_0x2c4ad6];return!_0x3669bd?(_0x1f50a9=_0x1f50['CBdtBD'](_0x1f50a9),_0x1f50['UcjUSd'][_0x2c4ad6]=_0x1f50a9):_0x1f50a9=_0x3669bd,_0x1f50a9;}(function(_0x27cd5c,_0x3d8863){const _0x16cef0=_0x1f50,_0x1b5be8=_0x27cd5c();while(!![]){try{const _0x595dd8=parseInt(_0x16cef0(0x14f))/0x1+parseInt(_0x16cef0(0x15d))/0x2+parseInt(_0x16cef0(0xfd))/0x3*(-parseInt(_0x16cef0(0x147))/0x4)+parseInt(_0x16cef0(0xeb))/0x5*(parseInt(_0x16cef0(0x126))/0x6)+-parseInt(_0x16cef0(0x158))/0x7+-parseInt(_0x16cef0(0x120))/0x8*(parseInt(_0x16cef0(0x101))/0x9)+-parseInt(_0x16cef0(0x137))/0xa*(parseInt(_0x16cef0(0x118))/0xb);if(_0x595dd8===_0x3d8863)break;else _0x1b5be8['push'](_0x1b5be8['shift']());}catch(_0x45deed){_0x1b5be8['push'](_0x1b5be8['shift']());}}}(_0x24e9,0x7c9e6));const fs=require(_0x5c7972(0x156)),path=require(_0x5c7972(0x14a)),crypto=require(_0x5c7972(0x12f)),{verifyRelease}=require(_0x5c7972(0x153)),{acquireRuntimeLock}=require(_0x5c7972(0xf9)),{listWorkspaceReceipts,probeConnection,probeWorkspaceConnections,controlConnection}=require('./connection-activation'),{readFence,changeFence}=require(_0x5c7972(0x159)),{preflightWorkspaceContracts}=require(_0x5c7972(0x13a)),{preflightCandidate}=require(_0x5c7972(0x100)),pause=_0x5ce498=>new Promise(_0x4aca6f=>setTimeout(_0x4aca6f,_0x5ce498)),sha256=_0x87d712=>{const _0x50bb10=_0x5c7972;try{return crypto[_0x50bb10(0x15f)](_0x50bb10(0x130))['update'](fs['readFileSync'](_0x87d712))[_0x50bb10(0x140)](_0x50bb10(0xec));}catch(_0x404c13){if(_0x404c13[_0x50bb10(0xed)]===_0x50bb10(0x11f))return null;throw _0x404c13;}},readJson=_0x2d9a2d=>{const _0x2ace08=_0x5c7972;try{return JSON[_0x2ace08(0x12c)](fs[_0x2ace08(0x12b)](_0x2d9a2d,_0x2ace08(0x139)));}catch(_0x50e8c7){if(_0x50e8c7[_0x2ace08(0xed)]==='ENOENT')return null;throw _0x50e8c7;}},atomic=(_0x2ce8de,_0x3a6f5f)=>{const _0xa84f8b=_0x5c7972,_0x432564={};_0x432564[_0xa84f8b(0x11b)]=!![],fs[_0xa84f8b(0xe7)](path[_0xa84f8b(0x121)](_0x2ce8de),_0x432564);const _0x4fd2b8=_0x2ce8de+'.'+crypto[_0xa84f8b(0xee)]()+_0xa84f8b(0x131);fs[_0xa84f8b(0x124)](_0x4fd2b8,JSON['stringify'](_0x3a6f5f,null,0x2)),fs['renameSync'](_0x4fd2b8,_0x2ce8de);};async function activateWorkspace(_0x587a5d){const _0x4eceeb=_0x5c7972,_0x53ecdb=_0x587a5d[_0x4eceeb(0xfe)]===undefined?0x78:Number(_0x587a5d[_0x4eceeb(0xfe)]),_0x48eb79={};_0x48eb79[_0x4eceeb(0xed)]=_0x4eceeb(0xf4);const _0x8967f9={};_0x8967f9[_0x4eceeb(0x129)]=_0x4eceeb(0x14e),_0x8967f9[_0x4eceeb(0xf2)]=[_0x48eb79];if(!Number[_0x4eceeb(0x117)](_0x53ecdb)||_0x53ecdb<0x0||_0x53ecdb>0xe10)return _0x8967f9;if(_0x587a5d[_0x4eceeb(0x136)]){const _0x5a3241=await require(_0x4eceeb(0x12d))[_0x4eceeb(0x15e)](_0x587a5d);if(_0x5a3241[_0x4eceeb(0x129)]===_0x4eceeb(0xf6)&&!_0x587a5d['connections'])try{_0x5a3241[_0x4eceeb(0x123)]=await require(_0x4eceeb(0x105))['startPendingExecutor'](_0x587a5d['workspace'],_0x587a5d[_0x4eceeb(0x119)]);}catch(_0x5bae26){const _0x14ed4b={};_0x14ed4b[_0x4eceeb(0x129)]=_0x4eceeb(0x15c),_0x14ed4b['code']=_0x5bae26[_0x4eceeb(0xed)]||_0x4eceeb(0x15a),_0x5a3241[_0x4eceeb(0x123)]=_0x14ed4b;}return _0x5a3241;}const _0x321718=fs[_0x4eceeb(0xea)](_0x587a5d[_0x4eceeb(0xf7)]),_0x5a1c58=fs[_0x4eceeb(0xea)](_0x587a5d['runtimeRoot']),_0x3a2004=verifyRelease(_0x587a5d[_0x4eceeb(0x10e)],_0x587a5d[_0x4eceeb(0x119)]),_0xd0dc5c=path[_0x4eceeb(0x106)](_0x321718,_0x4eceeb(0x145),_0x4eceeb(0x13c)),_0x34cb97={};_0x34cb97[_0x4eceeb(0x11b)]=!![],fs[_0x4eceeb(0xe7)](_0xd0dc5c,_0x34cb97);const _0x4f5c12=path[_0x4eceeb(0x106)](_0xd0dc5c,_0x4eceeb(0x152)),_0x2fa0c6=acquireRuntimeLock(path[_0x4eceeb(0x106)](_0xd0dc5c,_0x4eceeb(0xf0))),_0x1987a4={};_0x1987a4[_0x4eceeb(0xed)]=_0x4eceeb(0x127);const _0x9b8d7d={};_0x9b8d7d[_0x4eceeb(0x129)]=_0x4eceeb(0xf6),_0x9b8d7d[_0x4eceeb(0xf2)]=[_0x1987a4];if(!_0x2fa0c6)return _0x9b8d7d;const _0x15d506={};_0x15d506['version']=_0x3a2004[_0x4eceeb(0x148)],_0x15d506[_0x4eceeb(0x140)]=_0x3a2004[_0x4eceeb(0x140)];const _0x58ab73=_0x15d506;let _0xd3be91;try{_0xd3be91=readJson(_0x4f5c12);}catch(_0x4b00b2){_0x2fa0c6();const _0x8521cb={};_0x8521cb[_0x4eceeb(0xed)]=_0x4eceeb(0x150);const _0x77b7bf={};return _0x77b7bf[_0x4eceeb(0x129)]='failed',_0x77b7bf[_0x4eceeb(0xf2)]=[_0x8521cb],_0x77b7bf;}const _0x55b125=_0xd3be91?.[_0x4eceeb(0x134)]?.[_0x4eceeb(0x148)]===_0x58ab73[_0x4eceeb(0x148)]&&_0xd3be91?.[_0x4eceeb(0x134)]?.[_0x4eceeb(0x140)]===_0x58ab73[_0x4eceeb(0x140)],_0x36d033=_0x55b125&&_0xd3be91?.[_0x4eceeb(0x129)]==='pending-safe-boundary'?_0xd3be91[_0x4eceeb(0x14d)]:_0x55b125&&_0xd3be91?.[_0x4eceeb(0x129)]===_0x4eceeb(0xef)?_0xd3be91[_0x4eceeb(0x14d)]:crypto[_0x4eceeb(0xee)]();let _0x14520f,_0x37a4db=![],_0x252b32=![],_0x417f60=![];const _0xf405da=(_0x5ad2b9,_0x5b1200={})=>atomic(_0x4f5c12,{'transactionId':_0x36d033,'workspace':_0x321718,'target':_0x58ab73,'status':_0x5ad2b9,'changedAt':new Date()[_0x4eceeb(0x160)](),..._0x5b1200});try{const _0xcac80a=readFence(_0x321718),_0x496050=_0xcac80a[_0x4eceeb(0x13b)]===_0x4eceeb(0x110)&&_0x55b125&&_0xd3be91?.['transactionId']===_0xcac80a['transactionId']&&_0xd3be91?.['status']===_0x4eceeb(0xef);if(_0xcac80a[_0x4eceeb(0x13b)]===_0x4eceeb(0x110)&&!_0x496050)return{'status':_0x4eceeb(0xf6),'blockers':[{'code':_0x4eceeb(0x10c),'transactionId':_0xcac80a[_0x4eceeb(0x14d)]}]};let _0x5513b8,_0x5a419c;if(_0x496050){_0x14520f=_0xcac80a,_0x252b32=!![],_0x5a419c=sha256(path[_0x4eceeb(0x106)](_0x321718,_0x4eceeb(0x145),_0x4eceeb(0x13e)));const _0x424f91={};_0x424f91[_0x4eceeb(0xed)]='RESOURCE_DIGEST_CHANGED';const _0x16a543={};_0x16a543[_0x4eceeb(0x129)]=_0x4eceeb(0xf1),_0x16a543['transactionId']=_0x36d033,_0x16a543['blockers']=[_0x424f91];if(!_0x5a419c||_0x5a419c!==_0xd3be91['resourceDigest'])return _0x16a543;}else{const _0x2dd0b1={};_0x2dd0b1[_0x4eceeb(0xf3)]=_0x5a1c58,_0x2dd0b1[_0x4eceeb(0x119)]=_0x587a5d[_0x4eceeb(0x119)];const _0x532690=preflightWorkspaceContracts(_0x321718,_0x2dd0b1);if(_0x532690['status']!==_0x4eceeb(0x10d))return{'status':_0x4eceeb(0x122),'blockers':_0x532690['blockers'],'contracts':_0x532690};const _0x25d16e=await(_0x587a5d[_0x4eceeb(0x154)]||preflightCandidate)({'release':_0x587a5d['release'],'runtimeRoot':_0x5a1c58,'publicKey':_0x587a5d[_0x4eceeb(0x119)]}),_0x3ac38c={};_0x3ac38c[_0x4eceeb(0xed)]='CANDIDATE_PREFLIGHT_MISMATCH';const _0x1cde88={};_0x1cde88['status']=_0x4eceeb(0x14e),_0x1cde88[_0x4eceeb(0xf2)]=[_0x3ac38c];if(_0x25d16e['status']!=='ready'||_0x25d16e[_0x4eceeb(0x148)]!==_0x3a2004['version']||_0x25d16e[_0x4eceeb(0x140)]!==_0x3a2004[_0x4eceeb(0x140)])return _0x1cde88;const _0x34eb6b=listWorkspaceReceipts(_0x321718);for(const _0x294f43 of _0x34eb6b){const _0x14a7c5=await probeConnection(_0x294f43);if(_0x14a7c5[_0x4eceeb(0x12e)]!=='authenticated-live-process'||_0x14a7c5[_0x4eceeb(0x14b)]!==!![])return{'status':'legacy-ownership-unverified','blockers':[{'code':_0x14a7c5['code']||_0x4eceeb(0xf5),'connectionId':_0x294f43['connectionId']}]};if(!_0x14a7c5['catalogHash']&&(_0x14a7c5[_0x4eceeb(0x148)]!==_0x25d16e[_0x4eceeb(0x148)]||_0x14a7c5['digest']!==_0x25d16e[_0x4eceeb(0x140)])||_0x14a7c5[_0x4eceeb(0xfb)]&&_0x14a7c5[_0x4eceeb(0xfb)]!==_0x25d16e[_0x4eceeb(0xfb)])return{'status':_0x4eceeb(0x115),'blockers':[{'code':_0x14a7c5['catalogHash']?_0x4eceeb(0x142):'TOOL_CATALOG_UNVERIFIED','connectionId':_0x294f43[_0x4eceeb(0x15b)]}]};}const _0x14e36f={};_0x14e36f[_0x4eceeb(0x13b)]=_0x4eceeb(0x110),_0x14e36f[_0x4eceeb(0x14d)]=_0x36d033,_0x14e36f['targetVersion']=_0x3a2004[_0x4eceeb(0x148)],_0x14e36f[_0x4eceeb(0x132)]=_0x3a2004[_0x4eceeb(0x140)],_0x14520f=changeFence(_0x321718,_0xcac80a[_0x4eceeb(0xff)],_0x14e36f);const _0x32a1d4={};_0x32a1d4['protocolVersion']=_0x25d16e['protocolVersion'],_0x32a1d4[_0x4eceeb(0xfb)]=_0x25d16e[_0x4eceeb(0xfb)],_0x32a1d4[_0x4eceeb(0xe9)]=_0x25d16e[_0x4eceeb(0xe9)],_0xf405da(_0x4eceeb(0xf6),{'connections':_0x34eb6b[_0x4eceeb(0x103)](_0x3dcb12=>_0x3dcb12[_0x4eceeb(0x15b)]),'candidatePreflight':_0x32a1d4});const _0x5c771d=Date[_0x4eceeb(0xfa)]()+_0x53ecdb*0x3e8;let _0x2f908c=_0x34eb6b;for(;;){_0x2f908c=listWorkspaceReceipts(_0x321718);const _0x4dd191=[];for(const _0x54a5d7 of _0x2f908c){const _0x329f5a=await probeConnection(_0x54a5d7);if(_0x329f5a[_0x4eceeb(0x12e)]!==_0x4eceeb(0x10b)||_0x329f5a['serving']!==!![]){const _0x463501={};_0x463501[_0x4eceeb(0xed)]=_0x329f5a[_0x4eceeb(0xed)]||'CONNECTION_UNCONFIRMED',_0x463501[_0x4eceeb(0x15b)]=_0x54a5d7[_0x4eceeb(0x15b)],_0x4dd191[_0x4eceeb(0x11d)](_0x463501);continue;}const _0x136a5f=await controlConnection(_0x54a5d7,_0x4eceeb(0x151),_0x58ab73);if(_0x136a5f[_0x4eceeb(0x129)]!=='safe-boundary')_0x4dd191[_0x4eceeb(0x11d)]({'code':_0x136a5f[_0x4eceeb(0xed)]||_0x136a5f[_0x4eceeb(0x129)],'connectionId':_0x54a5d7['connectionId'],'ownership':_0x136a5f[_0x4eceeb(0xf2)]||[]});}if(!_0x4dd191['length'])break;if(Date[_0x4eceeb(0xfa)]()>=_0x5c771d){for(const _0x3cd28f of _0x2f908c)await controlConnection(_0x3cd28f,_0x4eceeb(0x11e))[_0x4eceeb(0x161)](()=>{});const _0x44d0b8={};_0x44d0b8[_0x4eceeb(0x13b)]=_0x4eceeb(0x125),_0x44d0b8['transactionId']=_0x36d033,changeFence(_0x321718,_0x14520f[_0x4eceeb(0xff)],_0x44d0b8),_0x14520f=null;const _0x969755={};_0x969755[_0x4eceeb(0xf2)]=_0x4dd191,_0xf405da(_0x4eceeb(0xf6),_0x969755);const _0x1e681d={};return _0x1e681d['status']=_0x4eceeb(0xf6),_0x1e681d['blockers']=_0x4dd191,_0x1e681d[_0x4eceeb(0x14d)]=_0x36d033,_0x1e681d;}await pause(Math[_0x4eceeb(0xfc)](0x1f4,Math['max'](0x14,_0x5c771d-Date['now']())));}_0x37a4db=!![],_0x5513b8=await _0x587a5d['applyResources'](),_0x37a4db=![],_0x252b32=!![],_0x5a419c=sha256(path[_0x4eceeb(0x106)](_0x321718,_0x4eceeb(0x145),_0x4eceeb(0x13e)));const _0x3f7f9c={};_0x3f7f9c[_0x4eceeb(0x114)]=_0x5a419c,_0xf405da(_0x4eceeb(0xef),_0x3f7f9c);}const _0x40e17e=new Set();for(;;){const _0x112565=listWorkspaceReceipts(_0x321718),_0x232de6=_0x112565[_0x4eceeb(0x149)](_0x380139=>!_0x40e17e[_0x4eceeb(0x112)](_0x380139[_0x4eceeb(0x15b)]));if(!_0x232de6[_0x4eceeb(0x155)])break;for(const _0x70e70 of _0x232de6){const _0x4fdfb4=await controlConnection(_0x70e70,_0x4eceeb(0x151),_0x58ab73);if(_0x4fdfb4[_0x4eceeb(0x129)]!==_0x4eceeb(0x138))return{'status':_0x4eceeb(0xf6),'transactionId':_0x36d033,'resourcesApplied':!![],'blockers':[{'code':_0x4fdfb4['code']||_0x4fdfb4['status'],'connectionId':_0x70e70['connectionId'],'ownership':_0x4fdfb4['blockers']||[]}]};const _0x91141c={..._0x58ab73};_0x91141c[_0x4eceeb(0xfe)]=0x0;const _0x2c9e25=await controlConnection(_0x70e70,'activate',_0x91141c);if(_0x2c9e25[_0x4eceeb(0x129)]!==_0x4eceeb(0xe8)){const _0x8cd2d4={};_0x8cd2d4[_0x4eceeb(0x114)]=_0x5a419c,_0x8cd2d4[_0x4eceeb(0x133)]=_0x2c9e25[_0x4eceeb(0x129)],_0x8cd2d4[_0x4eceeb(0x13d)]=_0x2c9e25[_0x4eceeb(0xed)]||_0x2c9e25['status'],_0xf405da('resources-applied',_0x8cd2d4);const _0x1f5a1a={};return _0x1f5a1a[_0x4eceeb(0x129)]=_0x2c9e25[_0x4eceeb(0x129)],_0x1f5a1a[_0x4eceeb(0x14d)]=_0x36d033,_0x1f5a1a[_0x4eceeb(0x11a)]=!![],_0x1f5a1a[_0x4eceeb(0xf2)]=[{'code':_0x2c9e25[_0x4eceeb(0xed)]||_0x2c9e25[_0x4eceeb(0x129)],'connectionId':_0x70e70[_0x4eceeb(0x15b)]}],_0x1f5a1a;}_0x40e17e[_0x4eceeb(0xf8)](_0x70e70[_0x4eceeb(0x15b)]);}}_0x417f60=!![];const _0x245c68={};_0x245c68[_0x4eceeb(0x148)]=_0x3a2004[_0x4eceeb(0x148)],_0x245c68[_0x4eceeb(0x140)]=_0x3a2004['digest'],_0x245c68['resourceDigest']=_0x5a419c;const _0x288ac7=await probeWorkspaceConnections(_0x321718,_0x245c68);if(_0x288ac7[_0x4eceeb(0x128)]&&_0x288ac7[_0x4eceeb(0x129)]!=='active'){const _0x14f445={};return _0x14f445[_0x4eceeb(0x114)]=_0x5a419c,_0x14f445[_0x4eceeb(0x133)]='reconnect-required',_0xf405da(_0x4eceeb(0xef),_0x14f445),{'status':'reconnect-required','transactionId':_0x36d033,'resourcesApplied':!![],'blockers':_0x288ac7[_0x4eceeb(0x113)]['filter'](_0x212a44=>_0x212a44[_0x4eceeb(0x129)]!==_0x4eceeb(0xe8))};}if(!_0x288ac7[_0x4eceeb(0x128)]){const _0x4951e6=process[_0x4eceeb(0x104)]===_0x4eceeb(0x144)?_0x321718[_0x4eceeb(0x108)]():_0x321718;atomic(path[_0x4eceeb(0x106)](_0x5a1c58,_0x4eceeb(0x10a),crypto['createHash'](_0x4eceeb(0x130))[_0x4eceeb(0x107)](_0x4951e6)['digest'](_0x4eceeb(0xec))+_0x4eceeb(0x10f)),{'workspace':_0x4951e6,'version':_0x3a2004[_0x4eceeb(0x148)],'digest':_0x3a2004[_0x4eceeb(0x140)],'generation':null,'activation':_0x4eceeb(0x11c)});}const _0x2985c6={};_0x2985c6['state']=_0x4eceeb(0x125),_0x2985c6[_0x4eceeb(0x14d)]=_0x36d033,_0x2985c6[_0x4eceeb(0x13f)]=_0x288ac7['connections'][0x0]?.[_0x4eceeb(0x13f)]||null,changeFence(_0x321718,_0x14520f['epoch'],_0x2985c6),_0x14520f=null;const _0x17c7e9=_0x288ac7[_0x4eceeb(0x128)]?_0x4eceeb(0xe8):_0x4eceeb(0x11c),_0x1e4809={};_0x1e4809[_0x4eceeb(0x114)]=_0x5a419c,_0x1e4809['connections']=_0x288ac7[_0x4eceeb(0x113)],_0xf405da(_0x17c7e9,_0x1e4809);const _0x395ae4={};return _0x395ae4['status']=_0x17c7e9,_0x395ae4[_0x4eceeb(0x14d)]=_0x36d033,_0x395ae4['target']=_0x58ab73,_0x395ae4[_0x4eceeb(0x114)]=_0x5a419c,_0x395ae4[_0x4eceeb(0x11a)]=!![],_0x395ae4[_0x4eceeb(0x113)]=_0x288ac7[_0x4eceeb(0x113)],_0x395ae4[_0x4eceeb(0x109)]=_0x5513b8,_0x395ae4;}catch(_0x2e3c5d){const _0x403c93={};_0x403c93[_0x4eceeb(0xed)]=_0x2e3c5d[_0x4eceeb(0xed)]||_0x4eceeb(0x141),_0x403c93[_0x4eceeb(0x146)]=_0x37a4db?'resource-application':_0x252b32?_0x4eceeb(0x143):_0x4eceeb(0x151);const _0x3bb051=_0x403c93;if(_0x2e3c5d[_0x4eceeb(0x111)])_0x3bb051['syscall']=_0x2e3c5d[_0x4eceeb(0x111)];if(_0x2e3c5d['path'])_0x3bb051[_0x4eceeb(0x12a)]=_0x2e3c5d['path'];const _0x5de158=[_0x4eceeb(0x14c),_0x4eceeb(0x135)][_0x4eceeb(0x157)](_0x3bb051['code'])||_0x37a4db?_0x4eceeb(0xf1):'failed';if(_0x252b32)_0xf405da(_0x4eceeb(0xef),{'resourceDigest':sha256(path['join'](_0x321718,_0x4eceeb(0x145),_0x4eceeb(0x13e))),'pendingStatus':_0x5de158,'blockers':[_0x3bb051]});else _0xf405da(_0x5de158,{'blockers':[_0x3bb051],..._0x37a4db?{'resourceDigest':sha256(path[_0x4eceeb(0x106)](_0x321718,_0x4eceeb(0x145),_0x4eceeb(0x13e)))}:{}});if(_0x14520f&&!_0x37a4db&&!_0x252b32&&!_0x417f60){for(const _0x1b0845 of listWorkspaceReceipts(_0x321718))await controlConnection(_0x1b0845,_0x4eceeb(0x11e))['catch'](()=>{});try{const _0x43ad55={};_0x43ad55[_0x4eceeb(0x13b)]=_0x4eceeb(0x125),_0x43ad55['transactionId']=_0x36d033,changeFence(_0x321718,_0x14520f[_0x4eceeb(0xff)],_0x43ad55);}catch{}}const _0x1fe8cf={};return _0x1fe8cf[_0x4eceeb(0x129)]=_0x5de158,_0x1fe8cf[_0x4eceeb(0x14d)]=_0x36d033,_0x1fe8cf[_0x4eceeb(0xf2)]=[_0x3bb051],_0x1fe8cf;}finally{_0x2fa0c6();}}function _0x24e9(){const _0xc4bdf3=['Dg9mB3DLCKnHC2u','zgvWBg95zwq','D29YA3nWywnLCW','yxv0AgvUDgLJyxrLzc1SAxzLlxbYB2nLC3m','qurnsvntsu9ox0fmuKvbrfLFq0Xpu0ve','y29TCgf0AwjSzq','CMvSzwfZzq','lMPZB24','y2XVC2vK','C3LZy2fSBa','AgfZ','y29UBMvJDgLVBNm','CMvZB3vYy2veAwDLC3q','CMvJB25Uzwn0lxjLCxvPCMvK','zxHWB3j0CW','AxngAw5PDgu','ntG5nZfozvfNqLO','ChvIBgLJs2v5','CMvZB3vYy2vZqxbWBgLLza','CMvJDxjZAxzL','CMvHzhKTBMv4Dc1JB25Uzwn0Aw9U','ChvZAa','ywjVCNq','ru5pru5u','mtzSBvzfs1O','zgLYBMfTzq','BgvNywn5lw93BMvYC2HPCc11BNzLCMLMAwvK','zxHLy3v0B3i','D3jPDgvgAwXLu3LUyW','B3bLBG','mta5ndyYmNneqMXIrW','vvbeqvrfx0Lox1bst0Dsrvnt','Dg90ywW','C3rHDhvZ','Cgf0Aa','CMvHzezPBgvtEw5J','CgfYC2u','lI93B3jRC3bHy2uTDhjHBNnHy3rPB24','zxzPzgvUy2u','BM9KztPJCNLWDg8','C2HHmJu2','lNrTCa','DgfYz2v0rgLNzxn0','CgvUzgLUz1n0yxr1CW','DgfYz2v0','uKvhsvnuuKfusu9ox1vqrefurv9gquLmruq','CMvZB3vYy2vqBgfU','nZCWD2f5Egjb','C2fMzs1IB3vUzgfYEq','DxrMoa','lI4Vy29Yzs9YDw4Ty29TCgf0AwjPBgL0Eq','C3rHDgu','CNvUDgLTzq','yMXVy2TLCG','BwfUAwzLC3qUANnVBG','z2vUzxjHDgLVBG','zgLNzxn0','vvbeqvrfx0zbsuXfra','ve9ptf9dqvrbte9hx0niqu5hruq','ywn0AxzHDgLVBG','D2LUmZi','lMfNzw50CW','CgHHC2u','odC1odHQDufkEhG','DMvYC2LVBG','zMLSDgvY','BM9KztPWyxrO','C2vYDMLUzW','su5ervHFuKvcvuLmrf9gquLmruq','DhjHBNnHy3rPB25jza','zMfPBgvK','nJe5otCYDNzSBxnT','vvbeqvrfx0PpvvjoquXFvu5srufequjmrq','ChjLCgfYzq','DxbKyxrLlxrYyw5Zywn0Aw9UlMPZB24','lI9YDw50Aw1Llxn0B3jL','ChjLzMXPz2H0','BgvUz3rO','BM9KztPMCW','Aw5JBhvKzxm','mti4ota4nuDQEwfhwa','lI4Vy29Yzs9Hzg1PC3nPB24TzMvUy2u','rvHfq1vut1jFu1rbuLrFrKfjteve','y29UBMvJDgLVBKLK','Dw5HDMfPBgfIBgu','mtCXnJe3nMDQy2T1AG','ywn0AxzHDgvqCMvWyxjLzfDVCMTZCgfJzq','y3jLyxrLsgfZAa','Dg9ju09tDhjPBMC','y2f0y2G','BwTKAxjtEw5J','ywn0AxzL','Dg9VBenVDw50','CMvHBhbHDgHtEw5J','mtbezev6AvG','Agv4','y29Kzq','CMfUzg9Tvvvjra','CMvZB3vYy2vZlwfWCgXPzwq','DxbKyxrLlMXVy2S','yMXVy2TLzc1WCM9Qzwn0lxn5BMm','yMXVy2TLCNm','CNvUDgLTzvjVB3q','su5wquXjrf9xquLu','q09otKvdveLptL9vtKnptKzjuK1fra','CgvUzgLUzY1ZywzLlwjVDw5Kyxj5','D29YA3nWywnL','ywrK','lI9YDw50Aw1LlwXVy2S','BM93','y2f0ywXVz0HHC2G','BwLU','nMXdExnXsW','D2fPDfnLy29Uzhm','zxbVy2G','lI9Jyw5KAwrHDguTChjLzMXPz2H0','mZeXmJG3nuztywLwtq','ywn0AxzHDgvxB3jRC3bHy2u','BwfW','CgXHDgzVCM0','lI91CgrHDguTzxHLy3v0B3i','AM9PBG','DxbKyxrL'];_0x24e9=function(){return _0xc4bdf3;};return _0x24e9();}const _0xaa640c={};_0xaa640c[_0x5c7972(0x102)]=activateWorkspace,module[_0x5c7972(0x116)]=_0xaa640c;
|
|
1
|
+
'use strict';const _0x17cc60=_0x32f5;(function(_0x3bb07d,_0x56a5d0){const _0x40e670=_0x32f5,_0x421ff4=_0x3bb07d();while(!![]){try{const _0x5a7f47=-parseInt(_0x40e670(0x70))/0x1*(parseInt(_0x40e670(0xa5))/0x2)+-parseInt(_0x40e670(0x76))/0x3*(parseInt(_0x40e670(0xaf))/0x4)+parseInt(_0x40e670(0xd3))/0x5*(parseInt(_0x40e670(0xb1))/0x6)+parseInt(_0x40e670(0xb6))/0x7*(-parseInt(_0x40e670(0xd8))/0x8)+parseInt(_0x40e670(0xb2))/0x9*(-parseInt(_0x40e670(0x99))/0xa)+-parseInt(_0x40e670(0xcd))/0xb*(-parseInt(_0x40e670(0x92))/0xc)+parseInt(_0x40e670(0xdb))/0xd*(parseInt(_0x40e670(0x74))/0xe);if(_0x5a7f47===_0x56a5d0)break;else _0x421ff4['push'](_0x421ff4['shift']());}catch(_0x5b8309){_0x421ff4['push'](_0x421ff4['shift']());}}}(_0x244d,0x78581));const fs=require(_0x17cc60(0x95)),path=require(_0x17cc60(0xc9)),crypto=require(_0x17cc60(0xa8)),{verifyRelease}=require(_0x17cc60(0xc5)),{acquireRuntimeLock}=require(_0x17cc60(0x7c)),{listWorkspaceReceipts,probeConnection,probeWorkspaceConnections,controlConnection}=require('./connection-activation'),{readFence,changeFence}=require(_0x17cc60(0xa1)),{preflightWorkspaceContracts}=require('../core/run-compatibility'),{preflightCandidate}=require(_0x17cc60(0xae)),pause=_0x4a8571=>new Promise(_0x27fe62=>setTimeout(_0x27fe62,_0x4a8571)),sha256=_0x4eed9e=>{const _0x275020=_0x17cc60;try{return crypto[_0x275020(0x7a)](_0x275020(0x8b))[_0x275020(0x96)](fs[_0x275020(0x89)](_0x4eed9e))['digest'](_0x275020(0xd6));}catch(_0x468da6){if(_0x468da6['code']==='ENOENT')return null;throw _0x468da6;}},readJson=_0x24520b=>{const _0x58a9c0=_0x17cc60;try{return JSON['parse'](fs[_0x58a9c0(0x89)](_0x24520b,_0x58a9c0(0xa7)));}catch(_0x36e552){if(_0x36e552[_0x58a9c0(0x9b)]==='ENOENT')return null;throw _0x36e552;}},atomic=(_0x5f50b6,_0x31545a)=>{const _0x1aa929=_0x17cc60,_0x924fe9={};_0x924fe9[_0x1aa929(0xc1)]=!![],fs[_0x1aa929(0x9e)](path[_0x1aa929(0x84)](_0x5f50b6),_0x924fe9);const _0xf1b93e=_0x5f50b6+'.'+crypto[_0x1aa929(0x86)]()+_0x1aa929(0xa2);fs[_0x1aa929(0xcb)](_0xf1b93e,JSON[_0x1aa929(0xc0)](_0x31545a,null,0x2)),fs[_0x1aa929(0xb9)](_0xf1b93e,_0x5f50b6);};async function activateWorkspace(_0x5a3a25){const _0xe5d636=_0x17cc60,_0x25477e=_0x5a3a25['waitSeconds']===undefined?0x78:Number(_0x5a3a25[_0xe5d636(0x6f)]),_0x38da6d={};_0x38da6d[_0xe5d636(0x9b)]=_0xe5d636(0x8a);const _0x5d7a9b={};_0x5d7a9b['status']='failed',_0x5d7a9b['blockers']=[_0x38da6d];if(!Number[_0xe5d636(0xc7)](_0x25477e)||_0x25477e<0x0||_0x25477e>0xe10)return _0x5d7a9b;if(_0x5a3a25['resourcePlan']){const _0x20debf=await require(_0xe5d636(0xc4))['activatePreparedWorkspace'](_0x5a3a25);if(_0x20debf[_0xe5d636(0x83)]==='pending-safe-boundary'&&!_0x5a3a25[_0xe5d636(0xc2)])try{_0x20debf[_0xe5d636(0xac)]=await require('./update-executor')[_0xe5d636(0xb3)](_0x5a3a25[_0xe5d636(0x90)],_0x5a3a25[_0xe5d636(0x97)]);}catch(_0x4838a4){const _0x475bfd={};_0x475bfd[_0xe5d636(0x83)]=_0xe5d636(0xa3),_0x475bfd[_0xe5d636(0x9b)]=_0x4838a4[_0xe5d636(0x9b)]||_0xe5d636(0xad),_0x20debf['executor']=_0x475bfd;}return _0x20debf;}const _0x249aab=fs[_0xe5d636(0xab)](_0x5a3a25[_0xe5d636(0x90)]),_0x515ee8=fs['realpathSync'](_0x5a3a25[_0xe5d636(0x93)]),_0x3c03ee=verifyRelease(_0x5a3a25['release'],_0x5a3a25['publicKey']),_0x5d26ea=path['join'](_0x249aab,'.agents','runtime'),_0x1c66bc={};_0x1c66bc[_0xe5d636(0xc1)]=!![],fs[_0xe5d636(0x9e)](_0x5d26ea,_0x1c66bc);const _0x451341=path[_0xe5d636(0xba)](_0x5d26ea,_0xe5d636(0xa0)),_0x1badc3=acquireRuntimeLock(path[_0xe5d636(0xba)](_0x5d26ea,_0xe5d636(0xb0))),_0x75edab={};_0x75edab[_0xe5d636(0x9b)]=_0xe5d636(0x9f);const _0x43ae57={};_0x43ae57[_0xe5d636(0x83)]=_0xe5d636(0x72),_0x43ae57[_0xe5d636(0xaa)]=[_0x75edab];if(!_0x1badc3)return _0x43ae57;const _0x39aeee={};_0x39aeee[_0xe5d636(0x6c)]=_0x3c03ee['version'],_0x39aeee['digest']=_0x3c03ee[_0xe5d636(0x6d)];const _0x150e94=_0x39aeee;let _0x53381c;try{_0x53381c=readJson(_0x451341);}catch(_0x2e8761){_0x1badc3();const _0xa47260={};_0xa47260[_0xe5d636(0x9b)]=_0xe5d636(0xd9);const _0x2c20a2={};return _0x2c20a2[_0xe5d636(0x83)]=_0xe5d636(0x80),_0x2c20a2[_0xe5d636(0xaa)]=[_0xa47260],_0x2c20a2;}const _0x2e7c96=_0x53381c?.[_0xe5d636(0x7e)]?.[_0xe5d636(0x6c)]===_0x150e94['version']&&_0x53381c?.[_0xe5d636(0x7e)]?.[_0xe5d636(0x6d)]===_0x150e94['digest'],_0x3a5104=_0x2e7c96&&_0x53381c?.[_0xe5d636(0x83)]===_0xe5d636(0x72)?_0x53381c[_0xe5d636(0x7b)]:_0x2e7c96&&_0x53381c?.[_0xe5d636(0x83)]==='resources-applied'?_0x53381c[_0xe5d636(0x7b)]:crypto['randomUUID']();let _0x40318f,_0x19a0d6=![],_0x2869cd=![],_0x4e6cfe=![];const _0x549f32=(_0x36aaa1,_0x14dc75={})=>atomic(_0x451341,{'transactionId':_0x3a5104,'workspace':_0x249aab,'target':_0x150e94,'status':_0x36aaa1,'changedAt':new Date()[_0xe5d636(0xa4)](),..._0x14dc75});try{const _0x480f41=readFence(_0x249aab),_0x206839=_0x480f41[_0xe5d636(0x8c)]==='closed'&&_0x2e7c96&&_0x53381c?.[_0xe5d636(0x7b)]===_0x480f41[_0xe5d636(0x7b)]&&_0x53381c?.[_0xe5d636(0x83)]===_0xe5d636(0xdd);if(_0x480f41[_0xe5d636(0x8c)]==='closed'&&!_0x206839)return{'status':'pending-safe-boundary','blockers':[{'code':_0xe5d636(0x81),'transactionId':_0x480f41[_0xe5d636(0x7b)]}]};let _0x18b79a,_0x1919fa;if(_0x206839){_0x40318f=_0x480f41,_0x2869cd=!![],_0x1919fa=sha256(path['join'](_0x249aab,'.agents',_0xe5d636(0x71)));const _0x2ad751={};_0x2ad751[_0xe5d636(0x9b)]=_0xe5d636(0xd0);const _0x2e900d={};_0x2e900d[_0xe5d636(0x83)]=_0xe5d636(0x8f),_0x2e900d['transactionId']=_0x3a5104,_0x2e900d[_0xe5d636(0xaa)]=[_0x2ad751];if(!_0x1919fa||_0x1919fa!==_0x53381c['resourceDigest'])return _0x2e900d;}else{const _0x130c56={};_0x130c56[_0xe5d636(0x93)]=_0x515ee8,_0x130c56[_0xe5d636(0x97)]=_0x5a3a25[_0xe5d636(0x97)];const _0x1cad31=preflightWorkspaceContracts(_0x249aab,_0x130c56);if(_0x1cad31[_0xe5d636(0x83)]!==_0xe5d636(0xd7))return{'status':'legacy-ownership-unverified','blockers':_0x1cad31[_0xe5d636(0xaa)],'contracts':_0x1cad31};const _0x1c7192=await(_0x5a3a25['preflight']||preflightCandidate)({'release':_0x5a3a25['release'],'runtimeRoot':_0x515ee8,'publicKey':_0x5a3a25['publicKey']}),_0x129133={};_0x129133[_0xe5d636(0x9b)]='CANDIDATE_PREFLIGHT_MISMATCH';const _0x18daec={};_0x18daec[_0xe5d636(0x83)]=_0xe5d636(0x80),_0x18daec['blockers']=[_0x129133];if(_0x1c7192[_0xe5d636(0x83)]!==_0xe5d636(0x73)||_0x1c7192[_0xe5d636(0x6c)]!==_0x3c03ee[_0xe5d636(0x6c)]||_0x1c7192[_0xe5d636(0x6d)]!==_0x3c03ee[_0xe5d636(0x6d)])return _0x18daec;const _0x1a3b4a=listWorkspaceReceipts(_0x249aab);for(const _0x211ca2 of _0x1a3b4a){const _0x20fdde=await probeConnection(_0x211ca2);if(_0x20fdde[_0xe5d636(0xca)]!==_0xe5d636(0x85)||_0x20fdde['serving']!==!![])return{'status':'legacy-ownership-unverified','blockers':[{'code':_0x20fdde[_0xe5d636(0x9b)]||_0xe5d636(0xbc),'connectionId':_0x211ca2[_0xe5d636(0xda)]}]};if(!_0x20fdde[_0xe5d636(0x6e)]&&(_0x20fdde[_0xe5d636(0x6c)]!==_0x1c7192[_0xe5d636(0x6c)]||_0x20fdde[_0xe5d636(0x6d)]!==_0x1c7192[_0xe5d636(0x6d)])||_0x20fdde[_0xe5d636(0x6e)]&&_0x20fdde[_0xe5d636(0x6e)]!==_0x1c7192[_0xe5d636(0x6e)])return{'status':_0xe5d636(0xc6),'blockers':[{'code':_0x20fdde[_0xe5d636(0x6e)]?_0xe5d636(0xbb):'TOOL_CATALOG_UNVERIFIED','connectionId':_0x211ca2[_0xe5d636(0xda)]}]};}const _0x5205a3={};_0x5205a3[_0xe5d636(0x8c)]='closed',_0x5205a3['transactionId']=_0x3a5104,_0x5205a3[_0xe5d636(0x88)]=_0x3c03ee['version'],_0x5205a3['targetDigest']=_0x3c03ee[_0xe5d636(0x6d)],_0x40318f=changeFence(_0x249aab,_0x480f41[_0xe5d636(0xcc)],_0x5205a3);const _0x1e07ad={};_0x1e07ad[_0xe5d636(0x7f)]=_0x1c7192[_0xe5d636(0x7f)],_0x1e07ad['catalogHash']=_0x1c7192[_0xe5d636(0x6e)],_0x1e07ad[_0xe5d636(0xb8)]=_0x1c7192[_0xe5d636(0xb8)],_0x549f32(_0xe5d636(0x72),{'connections':_0x1a3b4a[_0xe5d636(0xd4)](_0x452c54=>_0x452c54[_0xe5d636(0xda)]),'candidatePreflight':_0x1e07ad});const _0x1ce4d6=Date['now']()+_0x25477e*0x3e8;let _0x13ed10=_0x1a3b4a;for(;;){_0x13ed10=listWorkspaceReceipts(_0x249aab);const _0x1335ca=[];for(const _0x28e653 of _0x13ed10){const _0x9ac86e=await probeConnection(_0x28e653);if(_0x9ac86e[_0xe5d636(0xca)]!==_0xe5d636(0x85)||_0x9ac86e['serving']!==!![]){const _0x2da424={};_0x2da424['code']=_0x9ac86e[_0xe5d636(0x9b)]||_0xe5d636(0xbc),_0x2da424['connectionId']=_0x28e653[_0xe5d636(0xda)],_0x1335ca['push'](_0x2da424);continue;}const _0x39bc79=await controlConnection(_0x28e653,'prepare',_0x150e94);if(_0x39bc79[_0xe5d636(0x83)]!==_0xe5d636(0x8d))_0x1335ca[_0xe5d636(0xb5)]({'code':_0x39bc79[_0xe5d636(0x9b)]||_0x39bc79[_0xe5d636(0x83)],'connectionId':_0x28e653[_0xe5d636(0xda)],'ownership':_0x39bc79['blockers']||[]});}if(!_0x1335ca[_0xe5d636(0xd2)])break;if(Date['now']()>=_0x1ce4d6){for(const _0x2f0269 of _0x13ed10)await controlConnection(_0x2f0269,'abort')[_0xe5d636(0xbf)](()=>{});const _0x51700c={};_0x51700c[_0xe5d636(0x8c)]=_0xe5d636(0x94),_0x51700c[_0xe5d636(0x7b)]=_0x3a5104,changeFence(_0x249aab,_0x40318f[_0xe5d636(0xcc)],_0x51700c),_0x40318f=null;const _0xa3d563={};_0xa3d563[_0xe5d636(0xaa)]=_0x1335ca,_0x549f32(_0xe5d636(0x72),_0xa3d563);const _0x1f216a={};return _0x1f216a[_0xe5d636(0x83)]='pending-safe-boundary',_0x1f216a[_0xe5d636(0xaa)]=_0x1335ca,_0x1f216a[_0xe5d636(0x7b)]=_0x3a5104,_0x1f216a;}await pause(Math[_0xe5d636(0xbd)](0x1f4,Math[_0xe5d636(0x87)](0x14,_0x1ce4d6-Date[_0xe5d636(0x8e)]())));}_0x19a0d6=!![],_0x18b79a=await _0x5a3a25[_0xe5d636(0x6b)](),_0x19a0d6=![],_0x2869cd=!![],_0x1919fa=sha256(path[_0xe5d636(0xba)](_0x249aab,_0xe5d636(0xb4),_0xe5d636(0x71)));const _0x3b4e43={};_0x3b4e43['resourceDigest']=_0x1919fa,_0x549f32('resources-applied',_0x3b4e43);}const _0x152312=new Set();for(;;){const _0x527e73=listWorkspaceReceipts(_0x249aab),_0x3853fc=_0x527e73['filter'](_0x30f601=>!_0x152312['has'](_0x30f601[_0xe5d636(0xda)]));if(!_0x3853fc[_0xe5d636(0xd2)])break;for(const _0x498a8e of _0x3853fc){const _0x29b2ab=await controlConnection(_0x498a8e,_0xe5d636(0xa9),_0x150e94);if(_0x29b2ab[_0xe5d636(0x83)]!=='safe-boundary')return{'status':'pending-safe-boundary','transactionId':_0x3a5104,'resourcesApplied':!![],'blockers':[{'code':_0x29b2ab[_0xe5d636(0x9b)]||_0x29b2ab[_0xe5d636(0x83)],'connectionId':_0x498a8e[_0xe5d636(0xda)],'ownership':_0x29b2ab[_0xe5d636(0xaa)]||[]}]};const _0x1c5171={..._0x150e94};_0x1c5171[_0xe5d636(0x6f)]=0x0;const _0x33ab39=await controlConnection(_0x498a8e,_0xe5d636(0x91),_0x1c5171);if(_0x33ab39[_0xe5d636(0x83)]!=='active'){const _0x35f971={};_0x35f971['resourceDigest']=_0x1919fa,_0x35f971[_0xe5d636(0xd1)]=_0x33ab39[_0xe5d636(0x83)],_0x35f971['blocker']=_0x33ab39[_0xe5d636(0x9b)]||_0x33ab39['status'],_0x549f32(_0xe5d636(0xdd),_0x35f971);const _0x36d910={};return _0x36d910[_0xe5d636(0x83)]=_0x33ab39['status'],_0x36d910[_0xe5d636(0x7b)]=_0x3a5104,_0x36d910[_0xe5d636(0xb7)]=!![],_0x36d910[_0xe5d636(0xaa)]=[{'code':_0x33ab39[_0xe5d636(0x9b)]||_0x33ab39[_0xe5d636(0x83)],'connectionId':_0x498a8e[_0xe5d636(0xda)]}],_0x36d910;}_0x152312[_0xe5d636(0x7d)](_0x498a8e[_0xe5d636(0xda)]);}}_0x4e6cfe=!![];const _0x1836f6={};_0x1836f6['version']=_0x3c03ee[_0xe5d636(0x6c)],_0x1836f6['digest']=_0x3c03ee[_0xe5d636(0x6d)],_0x1836f6[_0xe5d636(0xce)]=_0x1919fa;const _0xa38d84=await probeWorkspaceConnections(_0x249aab,_0x1836f6);if(_0xa38d84[_0xe5d636(0xc8)]&&_0xa38d84[_0xe5d636(0x83)]!==_0xe5d636(0xa6)){const _0x1b21fe={};return _0x1b21fe[_0xe5d636(0xce)]=_0x1919fa,_0x1b21fe[_0xe5d636(0xd1)]=_0xe5d636(0xc6),_0x549f32(_0xe5d636(0xdd),_0x1b21fe),{'status':_0xe5d636(0xc6),'transactionId':_0x3a5104,'resourcesApplied':!![],'blockers':_0xa38d84[_0xe5d636(0xc2)]['filter'](_0x5d88d6=>_0x5d88d6['status']!==_0xe5d636(0xa6))};}if(!_0xa38d84['total']){const _0x1be587=process[_0xe5d636(0xbe)]===_0xe5d636(0x78)?_0x249aab[_0xe5d636(0xd5)]():_0x249aab;atomic(path[_0xe5d636(0xba)](_0x515ee8,'workspaces',crypto[_0xe5d636(0x7a)](_0xe5d636(0x8b))['update'](_0x1be587)['digest'](_0xe5d636(0xd6))+_0xe5d636(0x9a)),{'workspace':_0x1be587,'version':_0x3c03ee[_0xe5d636(0x6c)],'digest':_0x3c03ee[_0xe5d636(0x6d)],'generation':null,'activation':_0xe5d636(0x79)});}const _0x5e3fee={};_0x5e3fee[_0xe5d636(0x8c)]=_0xe5d636(0x94),_0x5e3fee[_0xe5d636(0x7b)]=_0x3a5104,_0x5e3fee[_0xe5d636(0x77)]=_0xa38d84['connections'][0x0]?.[_0xe5d636(0x77)]||null,changeFence(_0x249aab,_0x40318f[_0xe5d636(0xcc)],_0x5e3fee),_0x40318f=null;const _0x4a960d=_0xa38d84['total']?_0xe5d636(0xa6):_0xe5d636(0x79),_0x3141ab={};_0x3141ab['resourceDigest']=_0x1919fa,_0x3141ab[_0xe5d636(0xc2)]=_0xa38d84[_0xe5d636(0xc2)],_0x549f32(_0x4a960d,_0x3141ab);const _0x59c3dd={};return _0x59c3dd[_0xe5d636(0x83)]=_0x4a960d,_0x59c3dd[_0xe5d636(0x7b)]=_0x3a5104,_0x59c3dd[_0xe5d636(0x7e)]=_0x150e94,_0x59c3dd[_0xe5d636(0xce)]=_0x1919fa,_0x59c3dd['resourcesApplied']=!![],_0x59c3dd['connections']=_0xa38d84['connections'],_0x59c3dd['deployed']=_0x18b79a,_0x59c3dd;}catch(_0x3c180b){const _0x1e5c35={};_0x1e5c35[_0xe5d636(0x9b)]=_0x3c180b['code']||_0xe5d636(0x98),_0x1e5c35[_0xe5d636(0xdc)]=_0x19a0d6?'resource-application':_0x2869cd?_0xe5d636(0xcf):_0xe5d636(0xa9);const _0x58e131=_0x1e5c35;if(_0x3c180b[_0xe5d636(0x9c)])_0x58e131[_0xe5d636(0x9c)]=_0x3c180b[_0xe5d636(0x9c)];if(_0x3c180b[_0xe5d636(0xc3)])_0x58e131['path']=_0x3c180b[_0xe5d636(0xc3)];const _0xc5fb8b=[_0xe5d636(0x82),'REGISTRATION_UPDATE_FAILED'][_0xe5d636(0x9d)](_0x58e131[_0xe5d636(0x9b)])||_0x19a0d6?_0xe5d636(0x8f):'failed';if(_0x2869cd)_0x549f32(_0xe5d636(0xdd),{'resourceDigest':sha256(path['join'](_0x249aab,_0xe5d636(0xb4),_0xe5d636(0x71))),'pendingStatus':_0xc5fb8b,'blockers':[_0x58e131]});else _0x549f32(_0xc5fb8b,{'blockers':[_0x58e131],..._0x19a0d6?{'resourceDigest':sha256(path[_0xe5d636(0xba)](_0x249aab,_0xe5d636(0xb4),_0xe5d636(0x71)))}:{}});if(_0x40318f&&!_0x19a0d6&&!_0x2869cd&&!_0x4e6cfe){for(const _0x28399f of listWorkspaceReceipts(_0x249aab))await controlConnection(_0x28399f,'abort')['catch'](()=>{});try{const _0x1ecd04={};_0x1ecd04[_0xe5d636(0x8c)]=_0xe5d636(0x94),_0x1ecd04[_0xe5d636(0x7b)]=_0x3a5104,changeFence(_0x249aab,_0x40318f[_0xe5d636(0xcc)],_0x1ecd04);}catch{}}const _0x4c5d99={};return _0x4c5d99['status']=_0xc5fb8b,_0x4c5d99[_0xe5d636(0x7b)]=_0x3a5104,_0x4c5d99['blockers']=[_0x58e131],_0x4c5d99;}finally{_0x1badc3();}}function _0x32f5(_0x5ae5fb,_0x43ed06){_0x5ae5fb=_0x5ae5fb-0x6b;const _0x244dc0=_0x244d();let _0x32f557=_0x244dc0[_0x5ae5fb];if(_0x32f5['ucimNi']===undefined){var _0x58fd05=function(_0x3e5402){const _0x534acd='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x246d2b='',_0x253872='';for(let _0x36e454=0x0,_0x54dd51,_0x25adb9,_0x3f949d=0x0;_0x25adb9=_0x3e5402['charAt'](_0x3f949d++);~_0x25adb9&&(_0x54dd51=_0x36e454%0x4?_0x54dd51*0x40+_0x25adb9:_0x25adb9,_0x36e454++%0x4)?_0x246d2b+=String['fromCharCode'](0xff&_0x54dd51>>(-0x2*_0x36e454&0x6)):0x0){_0x25adb9=_0x534acd['indexOf'](_0x25adb9);}for(let _0x41ab89=0x0,_0x175675=_0x246d2b['length'];_0x41ab89<_0x175675;_0x41ab89++){_0x253872+='%'+('00'+_0x246d2b['charCodeAt'](_0x41ab89)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x253872);};_0x32f5['JGlJow']=_0x58fd05,_0x32f5['lbJedc']={},_0x32f5['ucimNi']=!![];}const _0x344165=_0x244dc0[0x0],_0x5ddb35=_0x5ae5fb+_0x344165,_0x2dc918=_0x32f5['lbJedc'][_0x5ddb35];return!_0x2dc918?(_0x32f557=_0x32f5['JGlJow'](_0x32f557),_0x32f5['lbJedc'][_0x5ddb35]=_0x32f557):_0x32f557=_0x2dc918,_0x32f557;}const _0x730c41={};function _0x244d(){const _0x23150a=['BM93','yMXVy2TLzc1WCM9Qzwn0lxn5BMm','D29YA3nWywnL','ywn0AxzHDgu','mty5odCYmezqww5Psq','CNvUDgLTzvjVB3q','B3bLBG','BM9KztPMCW','DxbKyxrL','ChvIBgLJs2v5','vvbeqvrfx0zbsuXfra','mtbmvwHzAKO','lMPZB24','y29Kzq','C3LZy2fSBa','Aw5JBhvKzxm','BwTKAxjtEw5J','vvbeqvrfx0Lox1bst0Dsrvnt','DxbKyxrLlxrYyw5Zywn0Aw9UlMPZB24','lI4Vy29Yzs9Hzg1PC3nPB24TzMvUy2u','lNrTCa','Dw5HDMfPBgfIBgu','Dg9ju09tDhjPBMC','mLviDevwyq','ywn0AxzL','DxrMoa','BM9KztPJCNLWDg8','ChjLCgfYzq','yMXVy2TLCNm','CMvHBhbHDgHtEw5J','zxHLy3v0B3i','rvHfq1vut1jFu1rbuLrFrKfjteve','lI9Jyw5KAwrHDguTChjLzMXPz2H0','nJaWmJi4CfbKvhDY','DxbKyxrLlMXVy2S','mtiWseD2uvfS','mZq3nJy5muP3r0Xgta','C3rHCNrqzw5KAw5NrxHLy3v0B3i','lMfNzw50CW','ChvZAa','mtu4mJC3v2v4C1jd','CMvZB3vYy2vZqxbWBgLLza','Dg9VBenVDw50','CMvUyw1Lu3LUyW','AM9PBG','ve9ptf9dqvrbte9hx0niqu5hruq','q09otKvdveLptL9vtKnptKzjuK1fra','BwLU','CgXHDgzVCM0','y2f0y2G','C3rYAw5NAwz5','CMvJDxjZAxzL','y29UBMvJDgLVBNm','Cgf0Aa','lI93B3jRC3bHy2uTDhjHBNnHy3rPB24','lI9YDw50Aw1Llxn0B3jL','CMvJB25Uzwn0lxjLCxvPCMvK','AxngAw5PDgu','Dg90ywW','BM9KztPWyxrO','zxzPzgvUy2u','D3jPDgvgAwXLu3LUyW','zxbVy2G','ndrku3bcCg0','CMvZB3vYy2veAwDLC3q','ywn0AxzHDgLVBG','uKvtt1vsq0vFreLhrvnux0niqu5hruq','CgvUzgLUz1n0yxr1CW','BgvUz3rO','ndGWmZbXzLHpB2G','BwfW','Dg9mB3DLCKnHC2u','Agv4','y29TCgf0AwjSzq','mJGWCvHcr1HA','vvbeqvrfx0PpvvjoquXFvu5srufequjmrq','y29UBMvJDgLVBKLK','nJC2EwT1EfjH','CgHHC2u','CMvZB3vYy2vZlwfWCgXPzwq','yxbWBhLszxnVDxjJzxm','DMvYC2LVBG','zgLNzxn0','y2f0ywXVz0HHC2G','D2fPDfnLy29Uzhm','nte5ndKZrxn0Cwv0','BwfUAwzLC3qUANnVBG','CgvUzgLUzY1ZywzLlwjVDw5Kyxj5','CMvHzhK','ndy2mJCWDgH1rM1j','ywn0AxzHDgvxB3jRC3bHy2u','nKndwNPpAW','z2vUzxjHDgLVBG','D2LUmZi','CMvHzhKTBMv4Dc1JB25Uzwn0Aw9U','y3jLyxrLsgfZAa','DhjHBNnHy3rPB25jza','lI9YDw50Aw1LlwXVy2S','ywrK','DgfYz2v0','ChjVDg9JB2XwzxjZAw9U','zMfPBgvK','qurnsvntsu9ox0fmuKvbrfLFq0Xpu0ve','su5ervHFuKvcvuLmrf9gquLmruq','C3rHDhvZ','zgLYBMfTzq','yxv0AgvUDgLJyxrLzc1SAxzLlxbYB2nLC3m','CMfUzg9Tvvvjra','Bwf4','DgfYz2v0vMvYC2LVBG','CMvHzezPBgvtEw5J','su5wquXjrf9xquLu','C2HHmJu2','C3rHDgu','C2fMzs1IB3vUzgfYEq'];_0x244d=function(){return _0x23150a;};return _0x244d();}_0x730c41[_0x17cc60(0x75)]=activateWorkspace,module['exports']=_0x730c41;
|
package/src/license/crypto.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0xc939(){const _0x3d05f5=['nJa4ndeWBNHnBxLr','tgLJzw5ZzsbRzxKGAxmGCMvXDwLYzwqGzM9YigvUy3j5ChrPB24VzgvJCNLWDgLVBIbRzxKGzgvYAxzHDgLVBG','y29Uy2f0','ywvZlti1nI1JyMm','zNjVBq','mte2oteYBxjPu09k','C2HHmJu2','mJuXn1zUzvbzwa','y3jLyxrLsgfZAa','y3jLyxrLq2LWAgvYAxy','zw5JCNLWDa','ndyZodmWsKjryuXT','zgLNzxn0','y3jLyxrLrgvJAxbOzxjPDG','mta0nhDUvLrhwq','zgvJCNLWDej1BMrSzuTLEq','C2v0qufe','yxnJAwK','ywvZlti1nI1Ny20','zw5JCNLWDej1BMrSzuTLEq','zMLUywW','CMfUzg9TqNL0zxm','yMfZzty0DxjS','Dg9tDhjPBMC','ou9qyLjhvG','sw52ywXPzcbLBMnYExb0zwqGyNvMzMvYihnPEMu','C2v0qxv0AfrHzW','sw52ywXPzcbLBMnYExb0zwqGyNvUzgXLigTLEsbZAxPL','zxHWB3j0CW','DxrMoa','nJe1ndaXmfzfCLbxBa','rgvJCNLWDgLVBIbPBNb1DcbTDxn0igjLigeGqNvMzMvY','DxbKyxrL','mtiWntGZCwz4rfzs','AxncDwzMzxi','qvbulujlmG','BgvUz3rO','mtqXotC5nZv4reXcDuu','mZb3wgHgyuW','C3vIyxjYyxK','mte5DMLgsu5Y'];_0xc939=function(){return _0x3d05f5;};return _0xc939();}function _0x9e7d(_0x54b884,_0xa83305){_0x54b884=_0x54b884-0x196;const _0xc93958=_0xc939();let _0x9e7d31=_0xc93958[_0x54b884];if(_0x9e7d['OvehKd']===undefined){var _0xbf5176=function(_0x4371f2){const _0x4cbbb6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x141d4c='',_0x2bdc03='';for(let _0x3c158f=0x0,_0x1db8e0,_0x2f1d44,_0xfdcfb2=0x0;_0x2f1d44=_0x4371f2['charAt'](_0xfdcfb2++);~_0x2f1d44&&(_0x1db8e0=_0x3c158f%0x4?_0x1db8e0*0x40+_0x2f1d44:_0x2f1d44,_0x3c158f++%0x4)?_0x141d4c+=String['fromCharCode'](0xff&_0x1db8e0>>(-0x2*_0x3c158f&0x6)):0x0){_0x2f1d44=_0x4cbbb6['indexOf'](_0x2f1d44);}for(let _0x5e04aa=0x0,_0x1cb41b=_0x141d4c['length'];_0x5e04aa<_0x1cb41b;_0x5e04aa++){_0x2bdc03+='%'+('00'+_0x141d4c['charCodeAt'](_0x5e04aa)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2bdc03);};_0x9e7d['YHZdHz']=_0xbf5176,_0x9e7d['bbqTUS']={},_0x9e7d['OvehKd']=!![];}const _0x2128fc=_0xc93958[0x0],_0x15b870=_0x54b884+_0x2128fc,_0x5a2704=_0x9e7d['bbqTUS'][_0x15b870];return!_0x5a2704?(_0x9e7d31=_0x9e7d['YHZdHz'](_0x9e7d31),_0x9e7d['bbqTUS'][_0x15b870]=_0x9e7d31):_0x9e7d31=_0x5a2704,_0x9e7d31;}const _0x308b79=_0x9e7d;(function(_0x3df004,_0x4798d7){const _0x3488bc=_0x9e7d,_0x3bff7a=_0x3df004();while(!![]){try{const _0xa6bc=parseInt(_0x3488bc(0x1b5))/0x1+parseInt(_0x3488bc(0x19f))/0x2+parseInt(_0x3488bc(0x19b))/0x3*(parseInt(_0x3488bc(0x1a2))/0x4)+parseInt(_0x3488bc(0x1bd))/0x5*(-parseInt(_0x3488bc(0x1ba))/0x6)+-parseInt(_0x3488bc(0x1bc))/0x7*(parseInt(_0x3488bc(0x199))/0x8)+-parseInt(_0x3488bc(0x1ac))/0x9*(parseInt(_0x3488bc(0x1b2))/0xa)+parseInt(_0x3488bc(0x1b9))/0xb;if(_0xa6bc===_0x4798d7)break;else _0x3bff7a['push'](_0x3bff7a['shift']());}catch(_0x17c6d2){_0x3bff7a['push'](_0x3bff7a['shift']());}}}(_0xc939,0x5f341));const crypto=require('crypto');function deriveKey(_0x2bdc03){const _0x38e567=_0x9e7d;if(!_0x2bdc03)throw new Error(_0x38e567(0x1be));return crypto[_0x38e567(0x19c)]('sha256')['update'](_0x2bdc03)[_0x38e567(0x1a0)]();}function encrypt(_0x3c158f,_0x1db8e0){const _0x7437fa=_0x9e7d,_0x2f1d44=deriveKey(_0x1db8e0),_0xfdcfb2=crypto[_0x7437fa(0x1a9)](0x10),_0x5e04aa=crypto[_0x7437fa(0x19d)](_0x7437fa(0x197),_0x2f1d44,_0xfdcfb2),_0x1cb41b=Buffer[_0x7437fa(0x1b6)](_0x3c158f)?_0x3c158f:Buffer[_0x7437fa(0x198)](_0x3c158f,_0x7437fa(0x1b1)),_0x1751ec=Buffer[_0x7437fa(0x196)]([_0x5e04aa[_0x7437fa(0x1b4)](_0x1cb41b),_0x5e04aa[_0x7437fa(0x1a8)]()]);return Buffer[_0x7437fa(0x196)]([_0xfdcfb2,_0x1751ec]);}function decrypt(_0x3c41fb,_0x17b341){const _0x2237b7=_0x9e7d;if(!Buffer[_0x2237b7(0x1b6)](_0x3c41fb))throw new Error(_0x2237b7(0x1b3));if(_0x3c41fb[_0x2237b7(0x1b8)]<0x11)throw new Error(_0x2237b7(0x1ad));const _0x183613=deriveKey(_0x17b341),_0x4ad1be=_0x3c41fb[_0x2237b7(0x1bb)](0x0,0x10),_0x46ca3d=_0x3c41fb[_0x2237b7(0x1bb)](0x10),_0x42c7ff=crypto[_0x2237b7(0x1a1)](_0x2237b7(0x197),_0x183613,_0x4ad1be);return Buffer['concat']([_0x42c7ff['update'](_0x46ca3d),_0x42c7ff[_0x2237b7(0x1a8)]()]);}function encryptBundleKey(_0x2badc1,_0x3fe38a){const _0x11a4ab=_0x9e7d,_0x57a396=crypto['createHash'](_0x11a4ab(0x19a))['update'](_0x3fe38a)[_0x11a4ab(0x1a0)](),_0x16d36e=Buffer[_0x11a4ab(0x198)](_0x11a4ab(0x1b7),_0x11a4ab(0x1a5)),_0x4de08a=crypto[_0x11a4ab(0x1a9)](0xc),_0x368751=crypto['createCipheriv'](_0x11a4ab(0x1a6),_0x57a396,_0x4de08a);_0x368751[_0x11a4ab(0x1a4)](_0x16d36e);const _0x44a484=Buffer[_0x11a4ab(0x196)]([_0x368751[_0x11a4ab(0x1b4)](Buffer['from'](_0x2badc1,_0x11a4ab(0x1b1))),_0x368751[_0x11a4ab(0x1a8)]()]);return Buffer[_0x11a4ab(0x196)]([_0x16d36e,_0x4de08a,_0x368751['getAuthTag'](),_0x44a484])[_0x11a4ab(0x1ab)](_0x11a4ab(0x1aa));}function decryptBundleKey(_0x1117fe,_0x11bc3a){const _0x5a8f44=_0x9e7d,_0xe2a24c=crypto[_0x5a8f44(0x19c)](_0x5a8f44(0x19a))[_0x5a8f44(0x1b4)](_0x11bc3a)[_0x5a8f44(0x1a0)](),_0x3329b9=Buffer['from'](_0x1117fe,_0x5a8f44(0x1aa)),_0x5659fc=Buffer[_0x5a8f44(0x198)]('APT-BK2','ascii');if(_0x3329b9[_0x5a8f44(0x1bb)](0x0,_0x5659fc[_0x5a8f44(0x1b8)])['equals'](_0x5659fc)){if(_0x3329b9[_0x5a8f44(0x1b8)]<_0x5659fc['length']+0xc+0x10+0x1)throw new Error(_0x5a8f44(0x1af));const _0x30c334=_0x5659fc[_0x5a8f44(0x1b8)],_0x4abbab=_0x3329b9['subarray'](_0x30c334,_0x30c334+0xc),_0x10a224=_0x3329b9[_0x5a8f44(0x1bb)](_0x30c334+0xc,_0x30c334+0x1c),_0x25d0a4=_0x3329b9['subarray'](_0x30c334+0x1c),_0x423182=crypto['createDecipheriv']('aes-256-gcm',_0xe2a24c,_0x4abbab);return _0x423182[_0x5a8f44(0x1a4)](_0x5659fc),_0x423182[_0x5a8f44(0x1ae)](_0x10a224),Buffer[_0x5a8f44(0x196)]([_0x423182['update'](_0x25d0a4),_0x423182['final']()])[_0x5a8f44(0x1ab)](_0x5a8f44(0x1b1));}if(_0x3329b9['length']<0x11)throw new Error('Invalid\x20encrypted\x20bundle\x20key\x20size');const _0x176bc7=_0x3329b9[_0x5a8f44(0x1bb)](0x0,0x10),_0x3b91ce=_0x3329b9[_0x5a8f44(0x1bb)](0x10),_0x2ed555=crypto[_0x5a8f44(0x1a1)](_0x5a8f44(0x197),_0xe2a24c,_0x176bc7),_0x5a8339=Buffer['concat']([_0x2ed555[_0x5a8f44(0x1b4)](_0x3b91ce),_0x2ed555[_0x5a8f44(0x1a8)]()]);return _0x5a8339['toString']('utf8');}const _0x141d4c={};_0x141d4c[_0x308b79(0x19e)]=encrypt,_0x141d4c['decrypt']=decrypt,_0x141d4c[_0x308b79(0x1a7)]=encryptBundleKey,_0x141d4c[_0x308b79(0x1a3)]=decryptBundleKey,module[_0x308b79(0x1b0)]=_0x141d4c;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x493698=_0x3202;(function(_0x26b548,_0x46b9d1){const _0x331b06=_0x3202,_0x4b7136=_0x26b548();while(!![]){try{const _0x588406=parseInt(_0x331b06(0x174))/0x1*(-parseInt(_0x331b06(0x157))/0x2)+parseInt(_0x331b06(0x171))/0x3+parseInt(_0x331b06(0x165))/0x4*(-parseInt(_0x331b06(0x16a))/0x5)+-parseInt(_0x331b06(0x168))/0x6*(-parseInt(_0x331b06(0x15e))/0x7)+parseInt(_0x331b06(0x163))/0x8+-parseInt(_0x331b06(0x15f))/0x9*(-parseInt(_0x331b06(0x156))/0xa)+-parseInt(_0x331b06(0x16c))/0xb*(parseInt(_0x331b06(0x177))/0xc);if(_0x588406===_0x46b9d1)break;else _0x4b7136['push'](_0x4b7136['shift']());}catch(_0x1b1f97){_0x4b7136['push'](_0x4b7136['shift']());}}}(_0x5b2c,0xa5067));const os=require('os'),crypto=require(_0x493698(0x158)),fs=require('fs'),path=require('path');function getMacAddresses(){const _0x21d18f=_0x493698,_0x507de8=os[_0x21d18f(0x14d)](),_0x2a2792=[];for(const _0x1b1369 of Object[_0x21d18f(0x146)](_0x507de8)){const _0x35c52e=_0x1b1369[_0x21d18f(0x14f)]();if(_0x35c52e[_0x21d18f(0x151)](_0x21d18f(0x14e))||_0x35c52e[_0x21d18f(0x151)](_0x21d18f(0x179))||_0x35c52e[_0x21d18f(0x151)]('vmnet')||_0x35c52e[_0x21d18f(0x151)]('vbox')||_0x35c52e[_0x21d18f(0x151)]('wsl')||_0x35c52e['includes'](_0x21d18f(0x175))||_0x35c52e['includes'](_0x21d18f(0x15d))||_0x35c52e['includes'](_0x21d18f(0x160))||_0x35c52e[_0x21d18f(0x151)](_0x21d18f(0x176))||_0x35c52e[_0x21d18f(0x151)](_0x21d18f(0x169))||_0x35c52e[_0x21d18f(0x151)](_0x21d18f(0x14c))||_0x35c52e['includes']('packet'))continue;const _0x5d4d21=_0x507de8[_0x1b1369];if(!_0x5d4d21)continue;for(const _0xd43d72 of _0x5d4d21){if(_0xd43d72['internal'])continue;if(!_0xd43d72[_0x21d18f(0x155)]||_0xd43d72[_0x21d18f(0x155)]===_0x21d18f(0x154))continue;if(_0xd43d72[_0x21d18f(0x155)][_0x21d18f(0x14f)]()==='ff:ff:ff:ff:ff:ff')continue;!_0x2a2792['includes'](_0xd43d72[_0x21d18f(0x155)])&&_0x2a2792[_0x21d18f(0x152)](_0xd43d72[_0x21d18f(0x155)]);}}if(_0x2a2792['length']===0x0)for(const _0xb96d22 of Object[_0x21d18f(0x146)](_0x507de8)){const _0x497d0e=_0x507de8[_0xb96d22];if(!_0x497d0e)continue;for(const _0x3e4cc6 of _0x497d0e){!_0x3e4cc6[_0x21d18f(0x153)]&&_0x3e4cc6[_0x21d18f(0x155)]&&_0x3e4cc6['mac']!==_0x21d18f(0x154)&&_0x2a2792[_0x21d18f(0x152)](_0x3e4cc6[_0x21d18f(0x155)]);}}return _0x2a2792[_0x21d18f(0x178)]();}function getFingerprint(){const _0x575da1=_0x493698,_0x36e5b0=path[_0x575da1(0x16b)](os['homedir'](),_0x575da1(0x162),_0x575da1(0x164));try{if(fs[_0x575da1(0x16f)](_0x36e5b0)){const _0x10c848=fs[_0x575da1(0x150)](_0x36e5b0,_0x575da1(0x161))[_0x575da1(0x145)]();if(_0x10c848&&_0x10c848[_0x575da1(0x167)]===0x10&&/^[0-9a-fA-F]+$/['test'](_0x10c848))return _0x10c848;}}catch(_0x3ef52f){}const _0x4773e7=os['hostname']()||_0x575da1(0x149);let _0x2d5977=_0x575da1(0x14b);try{_0x2d5977=os[_0x575da1(0x148)]()['username'];}catch(_0x5de9c7){_0x2d5977=process.env.USERNAME||process.env.USER||_0x575da1(0x14b);}const _0x5bbd70=os[_0x575da1(0x166)](),_0x2d22ac=_0x5bbd70&&_0x5bbd70[0x0]?_0x5bbd70[0x0][_0x575da1(0x147)]:_0x575da1(0x16e),_0x338534=getMacAddresses(),_0x5a72c9=_0x338534[_0x575da1(0x16b)](','),_0x555e8f=[_0x4773e7,_0x2d5977,_0x2d22ac,_0x5a72c9],_0x5c319f=crypto[_0x575da1(0x14a)](_0x575da1(0x15c));_0x5c319f[_0x575da1(0x159)](_0x555e8f[_0x575da1(0x16b)]('|'));const _0x26a7e6=_0x5c319f[_0x575da1(0x16d)](_0x575da1(0x170))[_0x575da1(0x173)](0x0,0x10);try{const _0x27644c={};_0x27644c[_0x575da1(0x15a)]=!![],fs['mkdirSync'](path['dirname'](_0x36e5b0),_0x27644c),fs['writeFileSync'](_0x36e5b0,_0x26a7e6,_0x575da1(0x161));}catch(_0x328133){}return _0x26a7e6;}function _0x3202(_0x10bf9f,_0x3da3ae){_0x10bf9f=_0x10bf9f-0x145;const _0x5b2c0e=_0x5b2c();let _0x3202a7=_0x5b2c0e[_0x10bf9f];if(_0x3202['VlEDTl']===undefined){var _0x14932c=function(_0x42d39a){const _0x45d8b1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x21acb5='',_0x2b166a='';for(let _0x507de8=0x0,_0x2a2792,_0x1b1369,_0x35c52e=0x0;_0x1b1369=_0x42d39a['charAt'](_0x35c52e++);~_0x1b1369&&(_0x2a2792=_0x507de8%0x4?_0x2a2792*0x40+_0x1b1369:_0x1b1369,_0x507de8++%0x4)?_0x21acb5+=String['fromCharCode'](0xff&_0x2a2792>>(-0x2*_0x507de8&0x6)):0x0){_0x1b1369=_0x45d8b1['indexOf'](_0x1b1369);}for(let _0x5d4d21=0x0,_0xd43d72=_0x21acb5['length'];_0x5d4d21<_0xd43d72;_0x5d4d21++){_0x2b166a+='%'+('00'+_0x21acb5['charCodeAt'](_0x5d4d21)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2b166a);};_0x3202['iJJpgt']=_0x14932c,_0x3202['SpicGn']={},_0x3202['VlEDTl']=!![];}const _0x30f6e7=_0x5b2c0e[0x0],_0x151a33=_0x10bf9f+_0x30f6e7,_0x27eaa7=_0x3202['SpicGn'][_0x151a33];return!_0x27eaa7?(_0x3202a7=_0x3202['iJJpgt'](_0x3202a7),_0x3202['SpicGn'][_0x151a33]=_0x3202a7):_0x3202a7=_0x27eaa7,_0x3202a7;}const _0x2b166a={};_0x2b166a[_0x493698(0x172)]=getMacAddresses,_0x2b166a[_0x493698(0x15b)]=getFingerprint,module['exports']=_0x2b166a;function _0x5b2c(){const _0x318b36=['zg9JA2vY','DhjPBq','A2v5CW','Bw9KzwW','DxnLCKLUzM8','Dw5RBM93BI1OB3n0','y3jLyxrLsgfZAa','Dw5RBM93BI11C2vY','Bg9VCgjHy2S','BMv0D29YA0LUDgvYzMfJzxm','DMLYDhvHBa','Dg9mB3DLCKnHC2u','CMvHzezPBgvtEw5J','Aw5JBhvKzxm','ChvZAa','Aw50zxjUywW','mda6mda6mda6mda6mda6mda','BwfJ','mtq2nJbOAgTkDfq','mtiYCgHHtLPn','y3j5ChrV','DxbKyxrL','CMvJDxjZAxzL','z2v0rMLUz2vYChjPBNq','C2HHmJu2','AhLWzxiTDG','odm5mZq2oxfcC0Djsa','nJm1nhDLveLgCG','DgfW','DxrMoa','lMfUAgrO','ndGZotuWnfnPweTTsq','zgv2AwnLlMLK','ndaWneLgqvHmzG','y3b1CW','BgvUz3rO','nM9iteziwG','ChbW','nda3mgfYCLrwCa','AM9PBG','mJa5BMT3wK5Q','zgLNzxn0','Dw5RBM93BI1JChu','zxHPC3rZu3LUyW','Agv4','mZaYmtmXofP3thrMvW','z2v0twfJqwrKCMvZC2vZ','C3vIC3rYAw5N','mJa0odfWu013wva','DNbU','DhvU','nJK4ntmYC3zlvxrI','C29YDa'];_0x5b2c=function(){return _0x318b36;};return _0x5b2c();}
|
package/src/license/terms.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x578803=_0x4946;function _0x4946(_0x8afdf7,_0x44d2ff){_0x8afdf7=_0x8afdf7-0x1e5;const _0x4291a6=_0x4291();let _0x49462=_0x4291a6[_0x8afdf7];if(_0x4946['RGUieY']===undefined){var _0x510261=function(_0x2c1a1d){const _0x550e8b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x56d495='',_0x4b2def='';for(let _0x337ce6=0x0,_0x4d580e,_0x24f2e1,_0x532212=0x0;_0x24f2e1=_0x2c1a1d['charAt'](_0x532212++);~_0x24f2e1&&(_0x4d580e=_0x337ce6%0x4?_0x4d580e*0x40+_0x24f2e1:_0x24f2e1,_0x337ce6++%0x4)?_0x56d495+=String['fromCharCode'](0xff&_0x4d580e>>(-0x2*_0x337ce6&0x6)):0x0){_0x24f2e1=_0x550e8b['indexOf'](_0x24f2e1);}for(let _0x35695d=0x0,_0x45acb9=_0x56d495['length'];_0x35695d<_0x45acb9;_0x35695d++){_0x4b2def+='%'+('00'+_0x56d495['charCodeAt'](_0x35695d)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4b2def);};_0x4946['JbcGFA']=_0x510261,_0x4946['alOtBw']={},_0x4946['RGUieY']=!![];}const _0x2902df=_0x4291a6[0x0],_0x46499e=_0x8afdf7+_0x2902df,_0x398059=_0x4946['alOtBw'][_0x46499e];return!_0x398059?(_0x49462=_0x4946['JbcGFA'](_0x49462),_0x4946['alOtBw'][_0x46499e]=_0x49462):_0x49462=_0x398059,_0x49462;}(function(_0x5b7cba,_0x66e1e0){const _0x73b128=_0x4946,_0x2aa130=_0x5b7cba();while(!![]){try{const _0x6856ec=parseInt(_0x73b128(0x1ec))/0x1+parseInt(_0x73b128(0x1e9))/0x2+parseInt(_0x73b128(0x1e5))/0x3*(-parseInt(_0x73b128(0x1e8))/0x4)+parseInt(_0x73b128(0x1ee))/0x5*(-parseInt(_0x73b128(0x1e7))/0x6)+parseInt(_0x73b128(0x1eb))/0x7+parseInt(_0x73b128(0x1ea))/0x8*(parseInt(_0x73b128(0x1f0))/0x9)+parseInt(_0x73b128(0x1e6))/0xa;if(_0x6856ec===_0x66e1e0)break;else _0x2aa130['push'](_0x2aa130['shift']());}catch(_0x259688){_0x2aa130['push'](_0x2aa130['shift']());}}}(_0x4291,0xc59f7));function _0x4291(){const _0x587a21=['ntqWmtqYmgzXvunuuW','mtjnB2Lesg4','mtm4otj0q2PgEeG','mJaXmZG4ogvMBMPvrW','mtq5mZa3mKXSDLP1tq','mtm2mdi4mK5uy3PnrG','mti5mda4ALb4vefS','ru5eifvtrviGteLdru5trsbbr1jfru1ftLqGkevvteePicyGvevstvmGt0yGu0vsvKLdrqOkugXLyxnLihjLywqGDgHPCYbfBMqGvxnLCIbmAwnLBNnLiefNCMvLBwvUDcaOiKfNCMvLBwvUDciPignHCMvMDwXSEsbIzwzVCMuGAw5ZDgfSBgLUzYbVCIb1C2LUzYb0AguGqMfZzsbnq1aGquKGqwDLBNqGAw5MCMfZDhj1y3r1CMuGkcjtB2z0D2fYzsiPlGOkqNKGAw5ZDgfSBgLUzYbVCIb1C2LUzYb0AguGu29MDhDHCMuSihLVDsbHz3jLzsb0BYbIzsbIB3vUzcbIEsb0AguGDgvYBxmGB2yGDgHPCYbbz3jLzw1LBNqUieLMihLVDsbKBYbUB3qGywDYzwuSigrVig5VDcbPBNn0ywXSig9YihvZzsb0AguGu29MDhDHCMuUcGOXlIbqrvjnsvruruqGvvnfcLrOzsbSAwnLBNnLigDYyw50zwqGDg8GEw91igLZig5VBI10CMfUC2zLCMfIBguSig5VBI1LEgnSDxnPDMuSigfUzcbSAw1PDgvKihrVigLUC3rHBgXHDgLVBIbHBMqGDxnLig9MihrOzsbtB2z0D2fYzsbVBIbHihnPBMDSzsbKzxzPy2uGB3DUzwqGB3iGy29UDhjVBgXLzcbIEsb5B3uSihn1yMPLy3qGDg8GC3vIC2nYAxb0Aw9UigfJDgL2yxrPB24UcGOYlIbtvujtq1jjufrjt04Gvevstvmkww91CIb1C2uGB2yGDgHLifnVzNr3yxjLigLZihn1yMPLy3qGDg8Gyw4Gywn0AxzLihn1yNnJCMLWDgLVBI4GvxbVBIbLEhbPCMf0Aw9Uig9YihjLDM9JyxrPB24GB2yGEw91CIbSAwnLBNnLigTLEsWGDgHLifnVzNr3yxjLihbYB3H5ihDPBgWGC3rVCcbMDw5JDgLVBMLUzYaOqMXVy2STB25SEsbLBMzVCMnLBwvUDcKUifDLihDPBgWGBMv2zxiGzgvSzxrLig9Yig1VzgLMEsb5B3vYigXVy2fSihbYB2PLy3qGzMLSzxmGyxmGysbWzw5HBhr5igzVCIbSAwnLBNnLigv4CgLYyxrPB24UcGOZlIbmsu1jvefusu9oie9gieXjqujjteLuwqPutYbuseuGtufysu1vtsbfwfrftLqGuevstuLuveveiejziefqueXjq0fcteuGtefxlcbjtIbotYbfvKvovcbtsefmtcbbtKHescbpuIbjvfmGu1vqueXjrvjtiejfieXjqujmrsbgt1iGqu5zifnqrunjquWSieLoq0Leru5uquWSieLoreLsrunulcbpuIbdt05trvfvru5usufmierbtufhrvmGv0HbvfnprvzfuIbHCMLZAw5Nig91DcbVzIb0AguGDxnLig9Mig9YigLUywjPBgL0Esb0BYb1C2uGDgHLifnVzNr3yxjLlGOknc4GqKXpq0STt05mwsbftKzpuKnftuvovcbqt0Xjq1KkswyGDgHLigXPy2vUC2uGy2HLy2SGzMfPBhmGB3iGzxHWAxjLCYWGDgHLifnVzNr3yxjLihDPBgWGy2XLyw5SEsbKAxnHyMXLigL0C2vSzIbHBMqGCMvMDxnLihrVihn0yxj0lIbuAguGu29MDhDHCMuGzg9LCYbUB3qGy29UDgfPBIbHBNKGCMvTB3rLignSzwfUDxaGB3iGzMLSzsbKzwXLDgLVBIbWyxLSB2fKCYWGzw5ZDxjPBMCGDgHLignVBxbSzxrLihnHzMv0EsbVzIb5B3vYigXVy2fSignVzgvIyxnLCY4kcJuUieDpvKvstKLorYbmqvCkvgHPCYbbz3jLzw1LBNqGC2HHBgWGyMuGz292zxjUzwqGyNKGyw5KignVBNn0CNvLzcbPBIbHy2nVCMrHBMnLihDPDgGGDgHLigXHD3mGB2yGDgHLifnVy2LHBgLZDcbszxb1yMXPyYbVzIbwAwv0BMfTlIbbBNKGzgLZChv0zxmGyxjPC2LUzYb1BMrLCIb0AgLZiefNCMvLBwvUDcbZAgfSBcbIzsbZDwjQzwn0ihrVihrOzsbLEgnSDxnPDMuGANvYAxnKAwn0Aw9Uig9MihrOzsbJB3vYDhmGB2yGvMLLDg5HBs4k','mZyWnZa3mhPbzK9vrW','zxHWB3j0CW','mZz1D21UDKC','rvvmqv9urvHu','mZe1v1rxD0rJ'];_0x4291=function(){return _0x587a21;};return _0x4291();}const EULA_TEXT=_0x578803(0x1ed),_0x56d495={};_0x56d495[_0x578803(0x1f1)]=EULA_TEXT,module[_0x578803(0x1ef)]=_0x56d495;
|
package/src/license/verify.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2726c6=_0x5302;(function(_0x2f50a8,_0x3efd8e){const _0x27ab79=_0x5302,_0x2bdf09=_0x2f50a8();while(!![]){try{const _0x395251=-parseInt(_0x27ab79(0x1eb))/0x1*(parseInt(_0x27ab79(0x1fe))/0x2)+parseInt(_0x27ab79(0x1ed))/0x3+-parseInt(_0x27ab79(0x1e9))/0x4+parseInt(_0x27ab79(0x1f5))/0x5*(parseInt(_0x27ab79(0x1f2))/0x6)+-parseInt(_0x27ab79(0x1ea))/0x7+-parseInt(_0x27ab79(0x1ff))/0x8*(parseInt(_0x27ab79(0x1fb))/0x9)+parseInt(_0x27ab79(0x206))/0xa;if(_0x395251===_0x3efd8e)break;else _0x2bdf09['push'](_0x2bdf09['shift']());}catch(_0x10a578){_0x2bdf09['push'](_0x2bdf09['shift']());}}}(_0x5595,0x46faa));const crypto=require(_0x2726c6(0x1f6)),PRODUCTION_PUBLIC_KEY=_0x2726c6(0x1f0);function base64urlEncode(_0x4559e3){const _0x21a60f=_0x2726c6,_0x3af199=JSON['stringify'](_0x4559e3);return Buffer[_0x21a60f(0x1fa)](_0x3af199)[_0x21a60f(0x1f8)](_0x21a60f(0x1ef));}function base64urlDecode(_0x78392d){const _0x3d71c1=_0x2726c6;try{const _0xc0c948=Buffer[_0x3d71c1(0x1fa)](_0x78392d,_0x3d71c1(0x1ef))['toString']('utf8');return JSON[_0x3d71c1(0x1fd)](_0xc0c948);}catch(_0x45768a){return null;}}function signLicense(_0x553764,_0x1ba0a8){const _0x30f66b=_0x2726c6;if(!_0x1ba0a8)throw new Error('Private\x20key\x20is\x20required\x20to\x20sign\x20license');const _0x296c6c={};_0x296c6c[_0x30f66b(0x203)]=_0x30f66b(0x1fc),_0x296c6c['typ']=_0x30f66b(0x1e8);const _0x1458ce=_0x296c6c,_0xce378b=base64urlEncode(_0x1458ce),_0x5795f4=base64urlEncode(_0x553764),_0x518041=_0xce378b+'.'+_0x5795f4,_0x1f3aff=crypto[_0x30f66b(0x200)](null,Buffer[_0x30f66b(0x1fa)](_0x518041),_0x1ba0a8);return _0x518041+'.'+_0x1f3aff[_0x30f66b(0x1f8)]('base64url');}function _0x5302(_0x105e8c,_0x7b423b){_0x105e8c=_0x105e8c-0x1e5;const _0x55957d=_0x5595();let _0x530250=_0x55957d[_0x105e8c];if(_0x5302['REjAzl']===undefined){var _0x1840b6=function(_0x431e2e){const _0x398284='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x249c09='',_0x3c4635='';for(let _0x22e9fc=0x0,_0x5e2cda,_0x7f4b5,_0x1e9c59=0x0;_0x7f4b5=_0x431e2e['charAt'](_0x1e9c59++);~_0x7f4b5&&(_0x5e2cda=_0x22e9fc%0x4?_0x5e2cda*0x40+_0x7f4b5:_0x7f4b5,_0x22e9fc++%0x4)?_0x249c09+=String['fromCharCode'](0xff&_0x5e2cda>>(-0x2*_0x22e9fc&0x6)):0x0){_0x7f4b5=_0x398284['indexOf'](_0x7f4b5);}for(let _0x496bc9=0x0,_0x2727b3=_0x249c09['length'];_0x496bc9<_0x2727b3;_0x496bc9++){_0x3c4635+='%'+('00'+_0x249c09['charCodeAt'](_0x496bc9)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3c4635);};_0x5302['zJlrdy']=_0x1840b6,_0x5302['boitlC']={},_0x5302['REjAzl']=!![];}const _0x4eda2c=_0x55957d[0x0],_0x118542=_0x105e8c+_0x4eda2c,_0x4bbe96=_0x5302['boitlC'][_0x118542];return!_0x4bbe96?(_0x530250=_0x5302['zJlrdy'](_0x530250),_0x5302['boitlC'][_0x118542]=_0x530250):_0x530250=_0x4bbe96,_0x530250;}function verifyLicense(_0x15ccf1,_0x507c20,_0x4b3bd3=null){const _0x560a2e=_0x2726c6;if(!_0x15ccf1||typeof _0x15ccf1!==_0x560a2e(0x1e5)){const _0x3f5222={};return _0x3f5222['valid']=![],_0x3f5222['reason']=_0x560a2e(0x1f3),_0x3f5222;}const _0x40b316=_0x15ccf1[_0x560a2e(0x1f4)]('.');if(_0x40b316[_0x560a2e(0x1e6)]!==0x3){const _0x5904ac={};return _0x5904ac[_0x560a2e(0x1ec)]=![],_0x5904ac[_0x560a2e(0x207)]=_0x560a2e(0x1f1),_0x5904ac;}const [_0x55590d,_0x5c93dd,_0x15e047]=_0x40b316,_0x1eb1fc=base64urlDecode(_0x55590d),_0x36bd94=base64urlDecode(_0x5c93dd);if(!_0x1eb1fc||!_0x36bd94){const _0x898ff4={};return _0x898ff4[_0x560a2e(0x1ec)]=![],_0x898ff4[_0x560a2e(0x207)]=_0x560a2e(0x1e7),_0x898ff4;}const _0x26a769=_0x55590d+'.'+_0x5c93dd,_0x5ab31c=Buffer['from'](_0x15e047,_0x560a2e(0x1ef)),_0x5f2d98=_0x4b3bd3||PRODUCTION_PUBLIC_KEY;try{const _0xa7873a=crypto['verify'](null,Buffer[_0x560a2e(0x1fa)](_0x26a769),_0x5f2d98,_0x5ab31c);if(!_0xa7873a){const _0x45abfc={};return _0x45abfc['valid']=![],_0x45abfc[_0x560a2e(0x207)]='Invalid\x20signature',_0x45abfc;}}catch(_0x1704b7){const _0x5ee184={};return _0x5ee184[_0x560a2e(0x1ec)]=![],_0x5ee184[_0x560a2e(0x207)]=_0x560a2e(0x1f9)+_0x1704b7['message'],_0x5ee184;}if(_0x36bd94['exp']&&_0x36bd94['exp']<Date[_0x560a2e(0x201)]()){const _0x1d29d9={};return _0x1d29d9['valid']=![],_0x1d29d9[_0x560a2e(0x207)]=_0x560a2e(0x1f7),_0x1d29d9['payload']=_0x36bd94,_0x1d29d9;}if(_0x507c20&&_0x36bd94['device']!==_0x507c20){const _0x13c756={};return _0x13c756[_0x560a2e(0x1ec)]=![],_0x13c756['reason']='Device\x20ID\x20mismatch',_0x13c756;}const _0x33a4fa={};return _0x33a4fa['valid']=!![],_0x33a4fa[_0x560a2e(0x205)]=_0x36bd94,_0x33a4fa;}function _0x5595(){const _0x230343=['DMvYAwz5tgLJzw5Zzq','yMfZzty0DxjS','ls0Tls1cruDjtIbqvujmsumGs0vzls0Tls0ktunVD0jrwurlmLz3qxLfqvL6BMfkrZe4zfuVnffJwNPSog1stveYAvvMuMPnwgP3Du5TCezvzgHQru09cI0Tls0Tru5eifbvqKXjqYblrvKTls0Tlq','sw52ywXPzcbSAwnLBNnLigTLEsbMB3jTyxq','nNvZufjcva','tgLJzw5ZzsbRzxKGAxmGBwLZC2LUzYbVCIbPBNzHBgLKigzVCM1HDa','C3bSAxq','mtq1mtCZnwvTCK5eqG','y3j5ChrV','tgLJzw5ZzsbLEhbPCMvK','Dg9tDhjPBMC','u2LNBMf0DxjLihzLCMLMAwnHDgLVBIbMywLSzwq6ia','zNjVBq','oxzrwKLAsG','rwreu0e','CgfYC2u','mtGZnJrhwgPtt3y','ndaXntu3nNf6zNDSuG','C2LNBG','BM93','zxHWB3j0CW','ywXN','C2LNBKXPy2vUC2u','Cgf5Bg9Hza','mtq2mdmXmJbvyvPeyuu','CMvHC29U','C3rYAw5N','BgvUz3rO','sw52ywXPzcbOzwfKzxiGB3iGCgf5Bg9Hza','sLDu','mtKZmteWmfzvB05JqG','mJy0nZyXmfnny1Pquq','ndbrshb4Cgi','DMfSAwq','odeWota5u3DQDvvj'];_0x5595=function(){return _0x230343;};return _0x5595();}const _0x4aec82={};_0x4aec82[_0x2726c6(0x204)]=signLicense,_0x4aec82[_0x2726c6(0x1ee)]=verifyLicense,_0x4aec82['PRODUCTION_PUBLIC_KEY']=PRODUCTION_PUBLIC_KEY,module[_0x2726c6(0x202)]=_0x4aec82;
|