apt-mcp-agent-setup 3.5.7 → 3.5.9
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 +120 -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/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 _0x36d0(_0x3be8af,_0x132543){_0x3be8af=_0x3be8af-0x65;const _0x26cd29=_0x26cd();let _0x36d04b=_0x26cd29[_0x3be8af];if(_0x36d0['sgduDJ']===undefined){var _0x458294=function(_0xc5542a){const _0x5dd127='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5510d3='',_0x4c8019='';for(let _0x2151b3=0x0,_0x2d5025,_0xa9038,_0x5ee971=0x0;_0xa9038=_0xc5542a['charAt'](_0x5ee971++);~_0xa9038&&(_0x2d5025=_0x2151b3%0x4?_0x2d5025*0x40+_0xa9038:_0xa9038,_0x2151b3++%0x4)?_0x5510d3+=String['fromCharCode'](0xff&_0x2d5025>>(-0x2*_0x2151b3&0x6)):0x0){_0xa9038=_0x5dd127['indexOf'](_0xa9038);}for(let _0x194dde=0x0,_0x1a5f7d=_0x5510d3['length'];_0x194dde<_0x1a5f7d;_0x194dde++){_0x4c8019+='%'+('00'+_0x5510d3['charCodeAt'](_0x194dde)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4c8019);};_0x36d0['zKUiia']=_0x458294,_0x36d0['pemcNj']={},_0x36d0['sgduDJ']=!![];}const _0x64eb1a=_0x26cd29[0x0],_0x1f7f33=_0x3be8af+_0x64eb1a,_0x5819a2=_0x36d0['pemcNj'][_0x1f7f33];return!_0x5819a2?(_0x36d04b=_0x36d0['zKUiia'](_0x36d04b),_0x36d0['pemcNj'][_0x1f7f33]=_0x36d04b):_0x36d04b=_0x5819a2,_0x36d04b;}const _0x2fe56e=_0x36d0;(function(_0x307a0c,_0x28eccf){const _0x58b51a=_0x36d0,_0x53e5fd=_0x307a0c();while(!![]){try{const _0xf533d0=-parseInt(_0x58b51a(0x65))/0x1*(-parseInt(_0x58b51a(0x67))/0x2)+-parseInt(_0x58b51a(0x6b))/0x3+-parseInt(_0x58b51a(0x87))/0x4*(parseInt(_0x58b51a(0x7a))/0x5)+parseInt(_0x58b51a(0x9d))/0x6*(-parseInt(_0x58b51a(0x70))/0x7)+-parseInt(_0x58b51a(0xb5))/0x8+parseInt(_0x58b51a(0x99))/0x9+parseInt(_0x58b51a(0xa0))/0xa;if(_0xf533d0===_0x28eccf)break;else _0x53e5fd['push'](_0x53e5fd['shift']());}catch(_0x8ad421){_0x53e5fd['push'](_0x53e5fd['shift']());}}}(_0x26cd,0x24ba6));const fs=require(_0x2fe56e(0x8f)),path=require(_0x2fe56e(0xa2)),os=require('node:os'),crypto=require(_0x2fe56e(0xaa)),{identity,sameWorkspace}=require(_0x2fe56e(0x84)),{acquireRuntimeLock}=require('../core/owned-lock'),fail=_0x2151b3=>{const _0x1c26fc=_0x2fe56e;throw Object[_0x1c26fc(0x7b)](new Error(_0x2151b3),{'code':_0x2151b3});},idFor=_0x2d5025=>crypto[_0x2fe56e(0x97)](_0x2fe56e(0xa3))['update'](identity(_0x2d5025))[_0x2fe56e(0x6d)]('hex')[_0x2fe56e(0x92)](0x0,0x18);class WorkspaceRegistry{constructor(_0xa9038={}){const _0x8e87a2=_0x2fe56e;this[_0x8e87a2(0x79)]=path[_0x8e87a2(0x91)](_0xa9038[_0x8e87a2(0x79)]||process.env.APT_WORKSPACE_REGISTRY_ROOT||(process.env.APT_REGISTRATION_RECEIPT_ROOT?path[_0x8e87a2(0x6e)](process.env.APT_REGISTRATION_RECEIPT_ROOT,_0x8e87a2(0xa1)):null)||path[_0x8e87a2(0x6e)](os[_0x8e87a2(0x68)](),'.anhdh',_0x8e87a2(0x90),_0x8e87a2(0xa1)));}[_0x2fe56e(0xb2)](){const _0x1f6065=_0x2fe56e;let _0x5ee971;try{_0x5ee971=fs[_0x1f6065(0xb1)](this[_0x1f6065(0x79)]);}catch(_0x1a5f7d){if(_0x1a5f7d[_0x1f6065(0xac)]===_0x1f6065(0x8c))return[];throw _0x1a5f7d;}const _0x194dde=[];for(const _0x1bcb1b of _0x5ee971[_0x1f6065(0xa9)](_0x285f8e=>/^[a-f0-9]{24}\.json$/['test'](_0x285f8e))){const _0x2dd967=path[_0x1f6065(0x6e)](this['root'],_0x1bcb1b);try{if(!fs[_0x1f6065(0x6c)](_0x2dd967)['isFile']()||fs['lstatSync'](_0x2dd967)[_0x1f6065(0x7c)]())continue;const _0x27694e=JSON[_0x1f6065(0xaf)](fs[_0x1f6065(0x77)](_0x2dd967,_0x1f6065(0x85)));if(_0x27694e[_0x1f6065(0x9a)]!==0x1||!Array[_0x1f6065(0x8b)](_0x27694e['hosts'])||_0x27694e[_0x1f6065(0xb4)]!==_0x1bcb1b[_0x1f6065(0x92)](0x0,-0x5)||idFor(_0x27694e[_0x1f6065(0x93)])!==_0x27694e['workspaceId'])continue;_0x194dde['push']({..._0x27694e,'workspace':fs[_0x1f6065(0x6f)](_0x27694e[_0x1f6065(0x93)])});}catch{}}return _0x194dde[_0x1f6065(0x7d)]((_0x5d1dd5,_0x4b8b04)=>_0x5d1dd5[_0x1f6065(0x93)]['localeCompare'](_0x4b8b04[_0x1f6065(0x93)]));}[_0x2fe56e(0x76)]({workspace:_0x2dc08a,host:_0x32aadc,provenance:_0xc30946,profile:_0x1afb59}){const _0x39f89f=_0x2fe56e;if(![_0x39f89f(0x71),_0x39f89f(0x78)]['includes'](_0xc30946)||typeof _0x32aadc!==_0x39f89f(0xa8)||!_0x32aadc)fail(_0x39f89f(0x81));_0x2dc08a=fs['realpathSync'](_0x2dc08a);if(!fs[_0x39f89f(0x9b)](_0x2dc08a)[_0x39f89f(0xb3)]())fail(_0x39f89f(0x8e));const _0x466bee=idFor(_0x2dc08a),_0x1f4f98={};_0x1f4f98['recursive']=!![],fs[_0x39f89f(0x86)](this[_0x39f89f(0x79)],_0x1f4f98);const _0x3a59a9=path['join'](this[_0x39f89f(0x79)],_0x466bee+_0x39f89f(0x9f)),_0x3bce48=acquireRuntimeLock(_0x3a59a9+_0x39f89f(0x74));if(!_0x3bce48)fail('WORKSPACE_REGISTRY_BUSY');try{const _0x387bfd=this[_0x39f89f(0xb2)]()[_0x39f89f(0x83)](_0x5c53ae=>_0x5c53ae[_0x39f89f(0xb4)]===_0x466bee);if(fs['existsSync'](_0x3a59a9)&&!_0x387bfd)fail(_0x39f89f(0x7e));if(_0xc30946===_0x39f89f(0x78)&&_0x1afb59&&_0x387bfd?.['profiles']?.[_0x32aadc]&&!require('node:util')[_0x39f89f(0x9e)](_0x387bfd[_0x39f89f(0x7f)][_0x32aadc],_0x1afb59))fail(_0x39f89f(0xa6));const _0x32296c={'version':0x1,'workspaceId':_0x466bee,'workspace':_0x2dc08a,'hosts':[...new Set([..._0x387bfd?.[_0x39f89f(0x94)]||[],_0x32aadc])]['sort'](),'provenance':_0xc30946,'enrolledAt':_0x387bfd?.[_0x39f89f(0xad)]||new Date()[_0x39f89f(0x96)]()};if(_0x387bfd?.['profiles']||_0x1afb59)_0x32296c[_0x39f89f(0x7f)]={..._0x387bfd?.['profiles'],..._0x1afb59?{[_0x32aadc]:require(_0x39f89f(0x6a))[_0x39f89f(0xab)](_0x32aadc,{'command':_0x39f89f(0x69),'args':[],..._0x1afb59})}:{}};if(JSON[_0x39f89f(0x72)](_0x387bfd)===JSON[_0x39f89f(0x72)](_0x32296c))return _0x32296c;const _0x3f86fc=_0x3a59a9+'.'+crypto[_0x39f89f(0x88)]()+_0x39f89f(0xa4),_0x334b79=fs[_0x39f89f(0x8a)](_0x3f86fc,'wx',0x180);try{fs['writeFileSync'](_0x334b79,JSON[_0x39f89f(0x72)](_0x32296c)),fs[_0x39f89f(0x98)](_0x334b79);}finally{fs['closeSync'](_0x334b79);}try{fs[_0x39f89f(0xb0)](_0x3f86fc,_0x3a59a9);}finally{try{fs['unlinkSync'](_0x3f86fc);}catch{}}return _0x32296c;}finally{_0x3bce48();}}[_0x2fe56e(0x91)]({workspaceId:_0x1aa5e2,workspacePath:_0xf98775}={},_0x3c2402={}){const _0x55f1e6=_0x2fe56e;if(!_0x1aa5e2&&!_0xf98775)fail(_0x55f1e6(0xae));if(_0x1aa5e2!==undefined&&!/^[a-f0-9]{24}$/[_0x55f1e6(0x89)](_0x1aa5e2))fail(_0x55f1e6(0x80));if(_0xf98775!==undefined&&(typeof _0xf98775!==_0x55f1e6(0xa8)||!path[_0x55f1e6(0x73)](_0xf98775)))fail(_0x55f1e6(0xa7));let _0xd57ab0=this['list']()[_0x55f1e6(0xa9)](_0x5d18d4=>!_0x3c2402[_0x55f1e6(0x9c)]||_0x5d18d4[_0x55f1e6(0x94)]['includes'](_0x3c2402[_0x55f1e6(0x9c)]));if(_0x1aa5e2)_0xd57ab0=_0xd57ab0[_0x55f1e6(0xa9)](_0x42d20d=>_0x42d20d[_0x55f1e6(0xb4)]===_0x1aa5e2);if(_0xf98775){if(_0x1aa5e2&&_0xd57ab0[_0x55f1e6(0x82)]&&!sameWorkspace(_0xd57ab0[0x0]['workspace'],_0xf98775))fail(_0x55f1e6(0x66));_0xd57ab0=_0xd57ab0['filter'](_0x153714=>sameWorkspace(_0x153714[_0x55f1e6(0x93)],_0xf98775));}if(!_0xd57ab0[_0x55f1e6(0x82)])fail(_0x55f1e6(0xa5));if(_0xd57ab0['length']>0x1)fail(_0x55f1e6(0x75));return _0xd57ab0[0x0];}}const _0x4c8019={};_0x4c8019[_0x2fe56e(0x95)]=WorkspaceRegistry,module[_0x2fe56e(0x8d)]=_0x4c8019;function _0x26cd(){const _0xdb0acf=['CMvHzgrPCLn5BMm','BgLZDa','AxneAxjLy3rVCNK','D29YA3nWywnLswq','mta0ndy3mM9Uv3LOCa','mtq5m2PMAgLREq','v09ss1nqqunfx0jjtKrjtKDFq09orKXjq1q','mtmWC2vSrhbO','Ag9TzwrPCG','BM9Kzq','lI9NyxrLD2f5lw1Pz3jHDgLVBG','nduWmty4wgHIy1DP','Bhn0yxrtEw5J','zgLNzxn0','AM9PBG','CMvHBhbHDgHtEw5J','mZiWnNDLAfvHBq','Aw5ZDgfSBgvY','C3rYAw5NAwz5','AxnbyNnVBhv0zq','lMXVy2S','v09ss1nqqunfx0fnqKLhvu9vuW','zw5YB2XS','CMvHzezPBgvtEw5J','B3DUzwqTCMvNAxn0CMf0Aw9Ulw1Pz3jHDgLVBG','CM9VDa','ntCWsuXOs3zs','yxnZAwDU','AxntEw1IB2XPy0XPBMS','C29YDa','v09ss1nqqunfx1jfr0Ltvfjzx0nptKzmsunu','ChjVzMLSzxm','su5wquXjrf9xt1jlu1bbq0vFsuq','v09ss1nqqunfx0vouK9mte1ftLrFsu5wquXjra','BgvUz3rO','zMLUza','lI4Vy29Yzs93B3jRC3bHy2uTCgf0Aa','DxrMoa','BwTKAxjtEw5J','ndi5nKP1wfnlzW','CMfUzg9Tvvvjra','DgvZDa','B3bLBLn5BMm','AxnbCNjHEq','ru5pru5u','zxHWB3j0CW','su5wquXjrf9xt1jlu1bbq0u','BM9KztPMCW','yxb0lxj1BNrPBwu','CMvZB2X2zq','C2XPy2u','D29YA3nWywnL','Ag9ZDhm','v29YA3nWywnLuMvNAxn0CNK','Dg9ju09tDhjPBMC','y3jLyxrLsgfZAa','zNn5BMntEw5J','otG4mtq2qKnusujY','DMvYC2LVBG','C3rHDfn5BMm','Ag9ZDa','mJKYmLrKyvbJtG','AxnezwvWu3rYAwn0rxf1ywW','lMPZB24','nty5nZiXmhzhsxHvrq','ChjVAMvJDhm','BM9KztPWyxrO','C2HHmJu2','lNrTCa','v09ss1nqqunfx05pvf9sruDju1rfuKve','tuLhuKfusu9ox1bst0zjtevFq09orKXjq1q','su5wquXjrf9xt1jlu1bbq0vFuefusa','C3rYAw5N','zMLSDgvY','BM9KztPJCNLWDg8','ChjVzMLSzuzVCG','y29Kzq','zw5YB2XSzwrbDa','v09ss1nqqunfx0jjtKrjtKDFuKvrvuLsruq','CgfYC2u','CMvUyw1Lu3LUyW'];_0x26cd=function(){return _0xdb0acf;};return _0x26cd();}
|
|
@@ -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 _0x28c282=_0x520e;(function(_0x95f9df,_0x555029){const _0x8303da=_0x520e,_0x5eea51=_0x95f9df();while(!![]){try{const _0x2e5ff1=parseInt(_0x8303da(0x258))/0x1+parseInt(_0x8303da(0x1bb))/0x2+parseInt(_0x8303da(0x1c7))/0x3*(-parseInt(_0x8303da(0x1c6))/0x4)+-parseInt(_0x8303da(0x19f))/0x5+-parseInt(_0x8303da(0x1bf))/0x6+-parseInt(_0x8303da(0x226))/0x7+parseInt(_0x8303da(0x206))/0x8*(parseInt(_0x8303da(0x24c))/0x9);if(_0x2e5ff1===_0x555029)break;else _0x5eea51['push'](_0x5eea51['shift']());}catch(_0x165f7d){_0x5eea51['push'](_0x5eea51['shift']());}}}(_0x18d1,0x75b9b));const fs=require(_0x28c282(0x1ba)),path=require(_0x28c282(0x20f)),crypto=require(_0x28c282(0x22c)),{acquireRuntimeLock}=require('../core/owned-lock'),{ResourceTransaction}=require(_0x28c282(0x200)),{readFence,changeFence,freezeFence}=require(_0x28c282(0x1ac)),{readGeneration,projectGeneration,registerMember,recordCandidate,commitWorkspaceGeneration,openCommittedGeneration}=require(_0x28c282(0x20d)),{verifyRelease}=require(_0x28c282(0x199)),{preflightWorkspaceContracts}=require(_0x28c282(0x264)),{preflightCandidate}=require(_0x28c282(0x1ef)),connections=require(_0x28c282(0x202)),{readControl}=require(_0x28c282(0x18b)),{workspaceOwnership}=require('../core/runtime-ownership'),{snapshotUpgradeRuns,cancelUpgradeRuns}=require('../core/upgrade-runs'),hashFile=_0x10bf55=>{const _0x3fc03c=_0x28c282;try{return crypto[_0x3fc03c(0x1b7)](_0x3fc03c(0x1c4))['update'](fs[_0x3fc03c(0x22a)](_0x10bf55))['digest'](_0x3fc03c(0x19a));}catch(_0x1ecc61){if(_0x1ecc61['code']==='ENOENT')return null;throw _0x1ecc61;}},fail=_0x5a6f47=>{const _0x63ffd7=_0x28c282;throw Object[_0x63ffd7(0x1e5)](new Error(_0x5a6f47),{'code':_0x5a6f47});},sameRegistrationWorkspace=(_0x464f0a,_0x4852f2)=>require('../core/workspace-path')[_0x28c282(0x1a5)](_0x464f0a,_0x4852f2);function writeJournal(_0x37435d,_0x11b9da){const _0x4f5c28=_0x28c282,_0x429b93=_0x37435d+'.'+crypto['randomUUID']()+_0x4f5c28(0x21e),_0x3385a7=fs[_0x4f5c28(0x259)](_0x429b93,'wx',0x180);try{fs[_0x4f5c28(0x220)](_0x3385a7,JSON[_0x4f5c28(0x252)](_0x11b9da)),fs['fsyncSync'](_0x3385a7);}finally{fs[_0x4f5c28(0x23f)](_0x3385a7);}fs[_0x4f5c28(0x25b)](_0x429b93,_0x37435d);}async function activatePreparedWorkspace(_0x48b9a5){const _0x3ceac8=_0x28c282,_0x47eb76=fs[_0x3ceac8(0x232)](_0x48b9a5['workspace']),_0x3f1b3d=require('../core/run-compatibility')[_0x3ceac8(0x1d9)](_0x47eb76),_0x4be2ad=_0x48b9a5[_0x3ceac8(0x23e)]instanceof ResourceTransaction?_0x48b9a5[_0x3ceac8(0x23e)]:new ResourceTransaction(_0x48b9a5[_0x3ceac8(0x23e)]);if(fs[_0x3ceac8(0x232)](_0x4be2ad[_0x3ceac8(0x1b6)][_0x3ceac8(0x1cf)])!==_0x47eb76)fail(_0x3ceac8(0x1aa));const _0x2aa744=_0x4be2ad['plan'][_0x3ceac8(0x238)],_0x2c79c7=path['join'](_0x47eb76,_0x3ceac8(0x1f7),_0x3ceac8(0x19c)),_0x44b941=acquireRuntimeLock(path['join'](_0x2c79c7,'update.lock')),_0x48dd92={};_0x48dd92[_0x3ceac8(0x1d3)]='UPDATE_IN_PROGRESS';const _0x10e24b={};_0x10e24b[_0x3ceac8(0x1d6)]=_0x3ceac8(0x25a),_0x10e24b[_0x3ceac8(0x238)]=_0x2aa744,_0x10e24b[_0x3ceac8(0x22d)]=[_0x48dd92];if(!_0x44b941)return _0x10e24b;const _0x4f7a2a=path['join'](_0x2c79c7,_0x3ceac8(0x1c1)),_0x46e234=_0x48b9a5[_0x3ceac8(0x225)]||connections;let _0x50ad89;try{_0x50ad89=JSON[_0x3ceac8(0x230)](fs[_0x3ceac8(0x22a)](_0x4f7a2a,_0x3ceac8(0x240)));}catch(_0x5408ac){if(_0x5408ac[_0x3ceac8(0x1d3)]!==_0x3ceac8(0x22f)){_0x44b941();throw _0x5408ac;}}if(_0x50ad89&&_0x50ad89[_0x3ceac8(0x238)]!==_0x2aa744){if(![_0x3ceac8(0x195),'ready-next-connection',_0x3ceac8(0x249),_0x3ceac8(0x1d7),_0x3ceac8(0x1a6)][_0x3ceac8(0x227)](_0x50ad89['status'])){_0x44b941();const _0x3c0ca6={};_0x3c0ca6[_0x3ceac8(0x1d3)]=_0x3ceac8(0x1b0);const _0x45ee3c={};return _0x45ee3c['status']=_0x3ceac8(0x25a),_0x45ee3c[_0x3ceac8(0x238)]=_0x50ad89[_0x3ceac8(0x238)],_0x45ee3c['blockers']=[_0x3c0ca6],_0x45ee3c;}const _0xeaf11b=path[_0x3ceac8(0x1ed)](_0x2c79c7,_0x3ceac8(0x1cd),_0x50ad89[_0x3ceac8(0x238)],_0x3ceac8(0x20e));(!/^[a-zA-Z0-9_-]{1,80}$/[_0x3ceac8(0x237)](_0x50ad89[_0x3ceac8(0x238)])||!fs[_0x3ceac8(0x1ab)](path[_0x3ceac8(0x1c3)](_0xeaf11b))||!require(_0x3ceac8(0x222))[_0x3ceac8(0x214)](_0x47eb76,fs['realpathSync'](path['dirname'](_0xeaf11b))))&&(_0x44b941(),fail(_0x3ceac8(0x24b)));try{writeJournal(_0xeaf11b,_0x50ad89);}catch(_0x5a8fea){_0x44b941();throw _0x5a8fea;}_0x50ad89=null;}const _0x206e02=(_0x1e54c9,_0x37a401={})=>{const _0x5db890=_0x3ceac8,_0x28afb1={};_0x28afb1[_0x5db890(0x1d6)]='not-required',_0x28afb1[_0x5db890(0x22d)]=[];const _0x158d43={};_0x158d43[_0x5db890(0x1d6)]=_0x5db890(0x23a),_0x158d43[_0x5db890(0x1b3)]=[],_0x50ad89={..._0x50ad89,'transactionId':_0x2aa744,'workspace':_0x47eb76,'runtimeRoot':_0x48b9a5[_0x5db890(0x248)],'release':_0x48b9a5[_0x5db890(0x1f3)],'publicKey':_0x48b9a5[_0x5db890(0x24f)]?.[_0x5db890(0x229)](),'resourcePlan':_0x4be2ad[_0x5db890(0x209)],'registrationPlan':_0x48b9a5[_0x5db890(0x262)]?.[_0x5db890(0x209)]||_0x48b9a5[_0x5db890(0x262)]||_0x50ad89?.[_0x5db890(0x262)]||null,'registrationMigration':_0x48b9a5[_0x5db890(0x1b4)]||_0x50ad89?.['registrationMigration']||_0x28afb1,'addons':_0x48b9a5['addons']||_0x50ad89?.[_0x5db890(0x247)]||_0x158d43,'rebuildIndex':_0x50ad89?.[_0x5db890(0x1a0)]===!![]||_0x48b9a5['rebuildIndex']===!![],'status':_0x1e54c9,'changedAt':new Date()['toISOString'](),..._0x37a401},writeJournal(_0x4f7a2a,_0x50ad89);};let _0x1c2c21=readGeneration(_0x47eb76)?.['transactionId']===_0x2aa744;const _0x261565=_0x48b9a5[_0x3ceac8(0x262)]?.[_0x3ceac8(0x209)]||_0x48b9a5[_0x3ceac8(0x262)]||_0x50ad89?.['registrationPlan'];let _0x52974e;try{_0x52974e=_0x261565?new(require(_0x3ceac8(0x1dc)))[(_0x3ceac8(0x235))](_0x261565):null;}catch(_0x1a56c3){_0x44b941();throw _0x1a56c3;}_0x52974e&&(!sameRegistrationWorkspace(_0x52974e[_0x3ceac8(0x1b6)]['workspace'],_0x47eb76)||_0x52974e[_0x3ceac8(0x1b6)][_0x3ceac8(0x238)]!==_0x2aa744)&&(_0x44b941(),fail('REGISTRATION_PLAN_INVALID'));let _0x56ca1c=readFence(_0x47eb76),_0x38c383=[];const _0x225156=()=>readControl(_0x47eb76,_0x2aa744)?.[_0x3ceac8(0x1d5)],_0x409d33=async _0x581c29=>{const _0x5e19f0=_0x3ceac8;_0x52974e?.[_0x5e19f0(0x1da)](),_0x4be2ad[_0x5e19f0(0x1da)](),_0x38c383=_0x46e234[_0x5e19f0(0x21d)](_0x47eb76);for(const _0x2032ee of _0x50ad89['previousConnections']||[])if(!_0x38c383[_0x5e19f0(0x1f4)](_0x2d62f5=>_0x2d62f5[_0x5e19f0(0x18e)]===_0x2032ee[_0x5e19f0(0x18e)]))fail('RESOURCE_ROLLBACK_UNCONFIRMED');for(const _0x3de4ee of _0x38c383){const _0x488dc9={};_0x488dc9[_0x5e19f0(0x238)]=_0x2aa744,_0x488dc9[_0x5e19f0(0x1d4)]=_0x56ca1c[_0x5e19f0(0x1d4)];const _0x4314d0=await _0x46e234[_0x5e19f0(0x18c)](_0x3de4ee,_0x5e19f0(0x196),_0x488dc9);if(_0x4314d0[_0x5e19f0(0x243)]!=='authenticated-live-process'||_0x4314d0[_0x5e19f0(0x1d6)]!=='previous-restored')fail(_0x4314d0[_0x5e19f0(0x1d3)]||_0x5e19f0(0x1db));const _0x5c75f2=_0x50ad89[_0x5e19f0(0x236)]?.[_0x5e19f0(0x216)](_0xf8b056=>_0xf8b056[_0x5e19f0(0x18e)]===_0x3de4ee[_0x5e19f0(0x18e)]),_0x41a94c=_0x5c75f2?[_0x5e19f0(0x18e),_0x5e19f0(0x1c2),_0x5e19f0(0x21b),_0x5e19f0(0x1c9),_0x5e19f0(0x20b),_0x5e19f0(0x1a7)]['filter'](_0x4013b6=>_0x4314d0[_0x4013b6]!==_0x5c75f2[_0x4013b6]):[_0x5e19f0(0x207)];if(_0x4314d0[_0x5e19f0(0x1b9)]!==!![])_0x41a94c['push'](_0x5e19f0(0x1b9));if(!Number[_0x5e19f0(0x1a8)](_0x4314d0[_0x5e19f0(0x241)])||_0x4314d0[_0x5e19f0(0x241)]<=0x0)_0x41a94c[_0x5e19f0(0x1f1)](_0x5e19f0(0x241));if(!sameRegistrationWorkspace(_0x4314d0[_0x5e19f0(0x1cf)]||'',_0x47eb76))_0x41a94c[_0x5e19f0(0x1f1)](_0x5e19f0(0x1cf));if(_0x41a94c[_0x5e19f0(0x1b1)])throw Object[_0x5e19f0(0x1e5)](new Error(_0x5e19f0(0x1d2)),{'code':_0x5e19f0(0x1db),'mismatchFields':_0x41a94c});}const _0x364c8a={};_0x364c8a[_0x5e19f0(0x1c5)]='open',_0x364c8a[_0x5e19f0(0x238)]=_0x2aa744,_0x56ca1c=changeFence(_0x47eb76,_0x56ca1c[_0x5e19f0(0x1d4)],_0x364c8a);for(const _0x49e034 of _0x38c383){const _0x16b9e0={};_0x16b9e0[_0x5e19f0(0x238)]=_0x2aa744;const _0x4bd95b=await _0x46e234['controlConnection'](_0x49e034,_0x5e19f0(0x233),_0x16b9e0);if(_0x4bd95b[_0x5e19f0(0x243)]!==_0x5e19f0(0x1ff)||![_0x5e19f0(0x195),_0x5e19f0(0x1f2)][_0x5e19f0(0x227)](_0x4bd95b[_0x5e19f0(0x1d6)]))fail(_0x5e19f0(0x1db));}const _0x476377=_0x225156()===_0x5e19f0(0x19b)||_0x581c29['some'](_0x9e3a61=>_0x9e3a61[_0x5e19f0(0x1d3)]===_0x5e19f0(0x1bd)),_0x36c48f={};_0x36c48f[_0x5e19f0(0x22d)]=_0x581c29,_0x36c48f[_0x5e19f0(0x25c)]=_0x5e19f0(0x249),_0x206e02(_0x476377?'cancelled':_0x5e19f0(0x249),_0x36c48f);const _0x49d2f4={};return _0x49d2f4[_0x5e19f0(0x1d6)]=_0x476377?_0x5e19f0(0x1d7):'failed',_0x49d2f4[_0x5e19f0(0x238)]=_0x2aa744,_0x49d2f4[_0x5e19f0(0x25c)]=_0x5e19f0(0x249),_0x49d2f4[_0x5e19f0(0x22d)]=_0x581c29,_0x49d2f4;},_0x549566=async(_0x50c44c=![])=>{const _0x5a2f6c=_0x3ceac8,_0x1a149b=new Set();for(const _0x36aefb of _0x46e234[_0x5a2f6c(0x21d)](_0x47eb76)){const _0x4ccbf9={};_0x4ccbf9['transactionId']=_0x2aa744,_0x4ccbf9[_0x5a2f6c(0x1d4)]=_0x56ca1c[_0x5a2f6c(0x1d4)];const _0x44a82e=await _0x46e234[_0x5a2f6c(0x18c)](_0x36aefb,_0x5a2f6c(0x233),_0x4ccbf9),_0x39dcfc={};_0x39dcfc[_0x5a2f6c(0x1d3)]=_0x5a2f6c(0x1f6),_0x39dcfc[_0x5a2f6c(0x18e)]=_0x36aefb[_0x5a2f6c(0x18e)];const _0x4e4fbe={};_0x4e4fbe[_0x5a2f6c(0x1d6)]=_0x5a2f6c(0x25a),_0x4e4fbe[_0x5a2f6c(0x238)]=_0x2aa744,_0x4e4fbe[_0x5a2f6c(0x22d)]=[_0x39dcfc];if(_0x44a82e[_0x5a2f6c(0x243)]!==_0x5a2f6c(0x1ff)||![_0x5a2f6c(0x195),_0x5a2f6c(0x1f2)][_0x5a2f6c(0x227)](_0x44a82e[_0x5a2f6c(0x1d6)]))return _0x4e4fbe;_0x1a149b[_0x5a2f6c(0x210)](_0x36aefb[_0x5a2f6c(0x18e)]);}const _0xe27753=require(_0x5a2f6c(0x1ac));_0xe27753[_0x5a2f6c(0x218)](_0x47eb76,_0x4240da=>{const _0x6976d2=_0x5a2f6c;if(_0x4240da[_0x6976d2(0x1d4)]!==_0x56ca1c[_0x6976d2(0x1d4)]||_0x4240da[_0x6976d2(0x1c5)]!==_0x6976d2(0x197)||_0x4240da[_0x6976d2(0x238)]!==_0x2aa744)fail(_0x6976d2(0x1c8));if(Object[_0x6976d2(0x1e4)](_0x4240da[_0x6976d2(0x257)]||{})['some'](_0x4eb82d=>_0x4eb82d['state']!==_0x6976d2(0x191)&&!_0x1a149b['has'](_0x4eb82d[_0x6976d2(0x18e)])))fail(_0x6976d2(0x1f6));const _0x14607d={};_0x14607d['transactionId']=_0x2aa744,_0x14607d[_0x6976d2(0x219)]=_0x50ad89['resourceContractDigest'],_0x14607d[_0x6976d2(0x1fe)]=[..._0x1a149b];const _0x20b71f={};_0x20b71f['abortedDrain']=_0x14607d;const _0x438f5f={..._0x4240da,'state':_0x6976d2(0x1b5),'epoch':_0x4240da[_0x6976d2(0x1d4)]+0x1,'stopRequested':![],'targetVersion':null,'targetDigest':null,..._0x50c44c?_0x20b71f:{}};_0xe27753[_0x6976d2(0x1ce)](_0x47eb76,_0x438f5f);});const _0x126ccb={};_0x126ccb['recovery']='drain-aborted',_0x206e02(_0x5a2f6c(0x1d7),_0x50c44c?_0x126ccb:{});const _0x29e472={};_0x29e472[_0x5a2f6c(0x25c)]=_0x5a2f6c(0x20c);const _0x32147f={'status':_0x5a2f6c(0x1d7),'transactionId':_0x2aa744,'resourcesApplied':![],..._0x50c44c?_0x29e472:{}};return _0x32147f;};try{const _0x2b9166={};_0x2b9166[_0x3ceac8(0x1d3)]=_0x3ceac8(0x234);const _0xca6e0b={};_0xca6e0b['status']=_0x3ceac8(0x25a),_0xca6e0b[_0x3ceac8(0x238)]=_0x2aa744,_0xca6e0b[_0x3ceac8(0x22d)]=[_0x2b9166];if(_0x50ad89?.['suspended']||_0x50ad89?.[_0x3ceac8(0x1d7)])return _0xca6e0b;const _0x208390=verifyRelease(_0x48b9a5['release'],_0x48b9a5[_0x3ceac8(0x24f)]),_0x33f99e={};_0x33f99e[_0x3ceac8(0x1c2)]=_0x208390[_0x3ceac8(0x1c2)],_0x33f99e[_0x3ceac8(0x21b)]=_0x208390['digest'];const _0x507cb1=_0x33f99e;if(_0x50ad89?.[_0x3ceac8(0x1c0)]&&(_0x50ad89[_0x3ceac8(0x1c0)][_0x3ceac8(0x1c2)]!==_0x507cb1[_0x3ceac8(0x1c2)]||_0x50ad89['target'][_0x3ceac8(0x21b)]!==_0x507cb1[_0x3ceac8(0x21b)]))fail(_0x3ceac8(0x23c));const _0x223227=require('../core/resource-transaction')[_0x3ceac8(0x219)](_0x4be2ad['plan']);if(_0x50ad89?.[_0x3ceac8(0x219)]&&_0x50ad89['resourceContractDigest']!==_0x223227)fail(_0x3ceac8(0x189));if(_0x50ad89&&!_0x50ad89['resourceContractDigest']){if(!_0x50ad89['preparedPlanDigest']||_0x50ad89['preparedPlanDigest']!==hashFile(_0x4be2ad[_0x3ceac8(0x193)]))fail(_0x3ceac8(0x1d0));const _0xd535d5={};_0xd535d5[_0x3ceac8(0x219)]=_0x223227,_0x206e02(_0x50ad89[_0x3ceac8(0x1d6)],_0xd535d5);}const _0x2ca258={};_0x2ca258['target']=_0x507cb1,_0x2ca258['resourceContractDigest']=_0x223227;if(!_0x50ad89)_0x206e02(_0x3ceac8(0x22b),_0x2ca258);if(!_0x1c2c21&&_0x56ca1c['state']==='open'&&_0x225156()===_0x3ceac8(0x19b)){const _0x154ded=_0x4be2ad[_0x3ceac8(0x1e3)]();if(_0x50ad89?.[_0x3ceac8(0x238)]!==_0x2aa744||_0x50ad89['resourcesApplied']||_0x50ad89[_0x3ceac8(0x213)]||_0x50ad89[_0x3ceac8(0x1f8)]||_0x4be2ad[_0x3ceac8(0x1b6)][_0x3ceac8(0x1d6)]!==_0x3ceac8(0x1f9)||_0x154ded[_0x3ceac8(0x1f4)](_0x3f339c=>_0x3f339c[_0x3ceac8(0x1d6)]!==_0x3ceac8(0x1f9)||![_0x3ceac8(0x1a9),_0x3ceac8(0x21f)][_0x3ceac8(0x227)](_0x3f339c[_0x3ceac8(0x223)])))fail('UPDATE_RECOVERY_REQUIRED');if(_0x52974e&&(_0x52974e['plan'][_0x3ceac8(0x1d6)]!==_0x3ceac8(0x1f9)||_0x52974e[_0x3ceac8(0x1b6)][_0x3ceac8(0x244)][_0x3ceac8(0x1f4)](_0x2930fb=>_0x2930fb[_0x3ceac8(0x1d6)]!==_0x3ceac8(0x1f9)||![_0x2930fb[_0x3ceac8(0x19d)],_0x2930fb['newHash']][_0x3ceac8(0x227)](hashFile(_0x2930fb['configPath'])))))fail(_0x3ceac8(0x23b));_0x52974e?.[_0x3ceac8(0x1da)](),_0x4be2ad[_0x3ceac8(0x1da)](),_0x206e02(_0x3ceac8(0x1d7),{'cancelled':!![],'cancellation':{'reason':_0x3ceac8(0x1cb),'cancelledAt':new Date()['toISOString']()}});const _0x38d36f={};return _0x38d36f[_0x3ceac8(0x1d6)]=_0x3ceac8(0x1d7),_0x38d36f[_0x3ceac8(0x238)]=_0x2aa744,_0x38d36f['resourcesApplied']=![],_0x38d36f;}if(!_0x1c2c21&&_0x50ad89?.[_0x3ceac8(0x25c)]===_0x3ceac8(0x228)){const _0x2a8a46={};_0x2a8a46[_0x3ceac8(0x1d3)]=_0x3ceac8(0x234);const _0x54ea76={};_0x54ea76[_0x3ceac8(0x1d6)]=_0x3ceac8(0x25a),_0x54ea76[_0x3ceac8(0x238)]=_0x2aa744,_0x54ea76[_0x3ceac8(0x22d)]=[_0x2a8a46];if(_0x225156()===_0x3ceac8(0x1d8))return _0x54ea76;const _0x35ccc1=_0x56ca1c[_0x3ceac8(0x1c5)]===_0x3ceac8(0x1b5)&&_0x56ca1c[_0x3ceac8(0x1fa)]?.['transactionId']===_0x2aa744&&_0x56ca1c[_0x3ceac8(0x1fa)]['resourceContractDigest']===_0x223227;if(!_0x35ccc1&&_0x56ca1c['state']!==_0x3ceac8(0x197)||_0x56ca1c[_0x3ceac8(0x238)]!==_0x2aa744||_0x50ad89[_0x3ceac8(0x213)]||_0x50ad89['oldRuntimesStopped']||_0x50ad89[_0x3ceac8(0x18a)]||_0x4be2ad['plan']['status']!==_0x3ceac8(0x1f9)||_0x4be2ad['inspect']()[_0x3ceac8(0x1f4)](_0x387191=>_0x387191['bytes']!==_0x3ceac8(0x1a9)||_0x387191[_0x3ceac8(0x1d6)]!==_0x3ceac8(0x1f9)))fail('UPDATE_RECOVERY_REQUIRED');if(_0x52974e&&(_0x52974e[_0x3ceac8(0x1b6)]['status']!==_0x3ceac8(0x1f9)||_0x52974e[_0x3ceac8(0x1b6)][_0x3ceac8(0x244)][_0x3ceac8(0x1f4)](_0x4b1c2b=>_0x4b1c2b[_0x3ceac8(0x1d6)]!==_0x3ceac8(0x1f9)||hashFile(_0x4b1c2b['configPath'])!==_0x4b1c2b[_0x3ceac8(0x19d)])))fail(_0x3ceac8(0x23b));if(_0x35ccc1){const _0x2fadc3={};_0x2fadc3['recovery']=_0x3ceac8(0x20c),_0x206e02(_0x3ceac8(0x1d7),_0x2fadc3);const _0x411b40={};return _0x411b40[_0x3ceac8(0x1d6)]=_0x3ceac8(0x1d7),_0x411b40[_0x3ceac8(0x238)]=_0x2aa744,_0x411b40[_0x3ceac8(0x18a)]=![],_0x411b40['recovery']=_0x3ceac8(0x20c),_0x411b40;}return await _0x549566(!![]);}if(!_0x1c2c21&&_0x50ad89?.[_0x3ceac8(0x25c)]===_0x3ceac8(0x1da)){const _0x51a415={};_0x51a415[_0x3ceac8(0x1d3)]='UPDATE_SUSPENDED';const _0x3789b1={};_0x3789b1[_0x3ceac8(0x1d6)]='pending-safe-boundary',_0x3789b1[_0x3ceac8(0x238)]=_0x2aa744,_0x3789b1['blockers']=[_0x51a415];if(_0x225156()===_0x3ceac8(0x1d8))return _0x3789b1;return await _0x409d33(_0x50ad89[_0x3ceac8(0x22d)]||[]);}const _0x2379c1=readGeneration(_0x47eb76);if(!_0x1c2c21&&_0x56ca1c[_0x3ceac8(0x1c5)]==='open'&&_0x2379c1?.['version']===_0x507cb1[_0x3ceac8(0x1c2)]&&_0x2379c1['digest']===_0x507cb1[_0x3ceac8(0x21b)]&&_0x2379c1[_0x3ceac8(0x20b)]===hashFile(path['join'](_0x47eb76,_0x3ceac8(0x1f7),_0x3ceac8(0x1cc)))&&_0x4be2ad['plan']['operations'][_0x3ceac8(0x1b1)]===0x0&&!_0x4be2ad['plan'][_0x3ceac8(0x1ae)][_0x3ceac8(0x1b1)]&&!_0x52974e?.[_0x3ceac8(0x1b6)][_0x3ceac8(0x244)][_0x3ceac8(0x1f4)](_0x416672=>_0x416672[_0x3ceac8(0x19d)]!==_0x416672[_0x3ceac8(0x24d)])&&!_0x48b9a5[_0x3ceac8(0x1a0)]){const _0x3a026e=await _0x46e234['probeWorkspaceConnections'](_0x47eb76,_0x2379c1);if(![_0x3ceac8(0x195),_0x3ceac8(0x1f2)]['includes'](_0x3a026e[_0x3ceac8(0x1d6)]))return{..._0x3a026e,'transactionId':_0x2aa744,'target':_0x507cb1,'noOp':!![],'cancelledRuns':[]};projectGeneration(_0x48b9a5[_0x3ceac8(0x248)],_0x47eb76,_0x2379c1),_0x206e02(_0x3a026e[_0x3ceac8(0x1d6)],{'target':_0x507cb1,'generation':_0x2379c1[_0x3ceac8(0x1c9)],'noOp':!![],'cancelledRuns':[],'activationEvidence':_0x3a026e[_0x3ceac8(0x1d6)]===_0x3ceac8(0x195)?'authenticated-live-process':null});const _0x4e04f6={};_0x4e04f6[_0x3ceac8(0x1d6)]=_0x3ceac8(0x23a);const _0xf2291={..._0x3a026e};return _0xf2291[_0x3ceac8(0x238)]=_0x2aa744,_0xf2291['target']=_0x507cb1,_0xf2291[_0x3ceac8(0x1c9)]=_0x2379c1[_0x3ceac8(0x1c9)],_0xf2291['noOp']=!![],_0xf2291[_0x3ceac8(0x18a)]=![],_0xf2291[_0x3ceac8(0x242)]=[],_0xf2291[_0x3ceac8(0x251)]=_0x4e04f6,_0xf2291;}if(_0x1c2c21&&_0x56ca1c[_0x3ceac8(0x1c5)]==='open'){if(_0x2379c1['version']!==_0x507cb1['version']||_0x2379c1[_0x3ceac8(0x21b)]!==_0x507cb1[_0x3ceac8(0x21b)]||hashFile(path[_0x3ceac8(0x1ed)](_0x47eb76,_0x3ceac8(0x1f7),_0x3ceac8(0x1cc)))!==_0x2379c1[_0x3ceac8(0x20b)])fail(_0x3ceac8(0x192));const _0x253162=_0x46e234['listWorkspaceReceipts'](_0x47eb76),_0x1cbb71=Object[_0x3ceac8(0x1e4)](_0x56ca1c[_0x3ceac8(0x257)]||{})[_0x3ceac8(0x190)](_0x2c6703=>_0x2c6703[_0x3ceac8(0x1c5)]!==_0x3ceac8(0x191));for(const _0x19ea82 of _0x1cbb71)if(!_0x253162[_0x3ceac8(0x1f4)](_0x4374c8=>_0x4374c8[_0x3ceac8(0x18e)]===_0x19ea82['connectionId']))fail(_0x3ceac8(0x260));for(const _0x1cddff of _0x253162){const _0x3e80e1=await _0x46e234[_0x3ceac8(0x261)](_0x1cddff);if(_0x3e80e1[_0x3ceac8(0x243)]!==_0x3ceac8(0x1ff)||_0x3e80e1[_0x3ceac8(0x1b9)]!==!![]||['version',_0x3ceac8(0x21b),_0x3ceac8(0x20b),_0x3ceac8(0x1c9)][_0x3ceac8(0x1f4)](_0xf648c4=>_0x3e80e1[_0xf648c4]!==_0x2379c1[_0xf648c4]))fail('GENERATION_ACK_PENDING');}projectGeneration(_0x48b9a5['runtimeRoot'],_0x47eb76,_0x2379c1);if(_0x4be2ad['plan'][_0x3ceac8(0x1d6)]!=='committed')_0x4be2ad['commit'](_0x2379c1[_0x3ceac8(0x1c9)]);_0x52974e?.[_0x3ceac8(0x1fd)]();const _0x2af582=_0x253162[_0x3ceac8(0x1b1)]?'active':_0x3ceac8(0x1f2),_0x187326={};_0x187326[_0x3ceac8(0x1c9)]=_0x2379c1[_0x3ceac8(0x1c9)],_0x187326[_0x3ceac8(0x20b)]=_0x2379c1[_0x3ceac8(0x20b)],_0x187326[_0x3ceac8(0x25e)]=_0x253162['length']?'authenticated-live-process':null,_0x206e02(_0x2af582,_0x187326);const _0x2e1e1c={};_0x2e1e1c[_0x3ceac8(0x1d6)]=_0x3ceac8(0x23a);const _0x3d18ac={};return _0x3d18ac['status']=_0x2af582,_0x3d18ac['transactionId']=_0x2aa744,_0x3d18ac[_0x3ceac8(0x1c0)]=_0x507cb1,_0x3d18ac[_0x3ceac8(0x1c9)]=_0x2379c1['generation'],_0x3d18ac[_0x3ceac8(0x20b)]=_0x2379c1['resourceDigest'],_0x3d18ac[_0x3ceac8(0x18a)]=!![],_0x3d18ac[_0x3ceac8(0x242)]=_0x50ad89[_0x3ceac8(0x242)]||[],_0x3d18ac[_0x3ceac8(0x251)]=_0x50ad89[_0x3ceac8(0x251)]||_0x2e1e1c,_0x3d18ac;}if(_0x4be2ad['plan'][_0x3ceac8(0x1ae)][_0x3ceac8(0x1f4)](_0x4d94b5=>_0x4d94b5[_0x3ceac8(0x1ca)])){const _0x48d5f5={};_0x48d5f5[_0x3ceac8(0x1c0)]=_0x507cb1,_0x48d5f5[_0x3ceac8(0x22d)]=_0x4be2ad[_0x3ceac8(0x1b6)]['conflicts'],_0x206e02(_0x3ceac8(0x1ec),_0x48d5f5);const _0x104a87={};return _0x104a87['status']=_0x3ceac8(0x1ec),_0x104a87['transactionId']=_0x2aa744,_0x104a87['blockers']=_0x4be2ad['plan'][_0x3ceac8(0x1ae)],_0x104a87;}if(_0x56ca1c[_0x3ceac8(0x1c5)]===_0x3ceac8(0x1b5)){const _0x16f5b1={};_0x16f5b1[_0x3ceac8(0x1d1)]=_0x3ceac8(0x1a4);const _0x56ff3c=preflightWorkspaceContracts(_0x47eb76,_0x16f5b1);if(_0x56ff3c[_0x3ceac8(0x1d6)]!=='compatible'){const _0x2706e1={};_0x2706e1['blockers']=_0x56ff3c[_0x3ceac8(0x22d)],_0x206e02(_0x3ceac8(0x224),_0x2706e1);const _0x21ab89={};return _0x21ab89[_0x3ceac8(0x1d6)]=_0x3ceac8(0x224),_0x21ab89[_0x3ceac8(0x238)]=_0x2aa744,_0x21ab89[_0x3ceac8(0x22d)]=_0x56ff3c[_0x3ceac8(0x22d)],_0x21ab89;}const _0x3c219a=await(_0x48b9a5[_0x3ceac8(0x1ad)]||preflightCandidate)({'release':_0x48b9a5['release'],'runtimeRoot':_0x48b9a5[_0x3ceac8(0x248)],'publicKey':_0x48b9a5['publicKey']});if(_0x3c219a[_0x3ceac8(0x1d6)]!==_0x3ceac8(0x1bc)||_0x3c219a['version']!==_0x507cb1[_0x3ceac8(0x1c2)]||_0x3c219a[_0x3ceac8(0x21b)]!==_0x507cb1[_0x3ceac8(0x21b)])fail(_0x3ceac8(0x1f0));const _0x2a560b=[];if(_0x46e234[_0x3ceac8(0x253)]){const _0x5874a2={};_0x5874a2['apply']=!![],_0x5874a2['forceRecover']=_0x48b9a5[_0x3ceac8(0x1e9)]===!![];const _0x2b72c4=await _0x46e234[_0x3ceac8(0x253)](_0x47eb76,_0x5874a2);if(_0x2b72c4[_0x3ceac8(0x22d)][_0x3ceac8(0x1b1)]){const _0xaad1a9={};_0xaad1a9[_0x3ceac8(0x22d)]=_0x2b72c4[_0x3ceac8(0x22d)],_0xaad1a9[_0x3ceac8(0x250)]=_0x2b72c4[_0x3ceac8(0x204)],_0x206e02(_0x3ceac8(0x224),_0xaad1a9);const _0x51a93d={};return _0x51a93d[_0x3ceac8(0x1d6)]='legacy-ownership-unverified',_0x51a93d['transactionId']=_0x2aa744,_0x51a93d[_0x3ceac8(0x22d)]=_0x2b72c4[_0x3ceac8(0x22d)],_0x51a93d['connectionDiagnostics']=_0x2b72c4['diagnostics'],_0x51a93d;}}for(const _0x32c52c of _0x46e234[_0x3ceac8(0x21d)](_0x47eb76)){const _0x2a698b=await _0x46e234[_0x3ceac8(0x261)](_0x32c52c);if(_0x2a698b['evidence']!==_0x3ceac8(0x1ff)||_0x2a698b[_0x3ceac8(0x1b9)]!==!![]||_0x32c52c[_0x3ceac8(0x263)]!==0x2){const _0x36410d={};_0x36410d[_0x3ceac8(0x1d3)]=_0x3ceac8(0x260),_0x36410d['connectionId']=_0x32c52c['connectionId'];const _0x54ec6d=[_0x36410d],_0x3f56a4={};_0x3f56a4[_0x3ceac8(0x22d)]=_0x54ec6d,_0x206e02(_0x3ceac8(0x224),_0x3f56a4);const _0x12b0f8={};return _0x12b0f8[_0x3ceac8(0x1d6)]=_0x3ceac8(0x224),_0x12b0f8[_0x3ceac8(0x238)]=_0x2aa744,_0x12b0f8['blockers']=_0x54ec6d,_0x12b0f8;}if(!_0x2a698b[_0x3ceac8(0x1a7)]||_0x2a698b['catalogHash']!==_0x3c219a[_0x3ceac8(0x1a7)]){const _0x3cb8c3={};_0x3cb8c3[_0x3ceac8(0x1d3)]='TOOL_CATALOG_CHANGED',_0x3cb8c3[_0x3ceac8(0x18e)]=_0x32c52c[_0x3ceac8(0x18e)];const _0x1f8a93=[_0x3cb8c3],_0x255db7={};_0x255db7['blockers']=_0x1f8a93,_0x206e02(_0x3ceac8(0x21c),_0x255db7);const _0x33f6f4={};return _0x33f6f4[_0x3ceac8(0x1d6)]=_0x3ceac8(0x21c),_0x33f6f4[_0x3ceac8(0x238)]=_0x2aa744,_0x33f6f4[_0x3ceac8(0x22d)]=_0x1f8a93,_0x33f6f4;}const _0x5321ff={};_0x5321ff['connectionId']=_0x32c52c[_0x3ceac8(0x18e)],_0x5321ff[_0x3ceac8(0x212)]=_0x32c52c[_0x3ceac8(0x212)],_0x5321ff[_0x3ceac8(0x248)]=_0x32c52c[_0x3ceac8(0x248)]||_0x48b9a5[_0x3ceac8(0x248)],registerMember(_0x47eb76,_0x5321ff);const _0x11f80c={};_0x11f80c[_0x3ceac8(0x18e)]=_0x32c52c[_0x3ceac8(0x18e)],_0x11f80c[_0x3ceac8(0x1cf)]=_0x47eb76,_0x11f80c[_0x3ceac8(0x1c2)]=_0x2a698b['version'],_0x11f80c['digest']=_0x2a698b['digest'],_0x11f80c[_0x3ceac8(0x1c9)]=_0x2a698b[_0x3ceac8(0x1c9)],_0x11f80c[_0x3ceac8(0x20b)]=_0x2a698b[_0x3ceac8(0x20b)]??null,_0x11f80c[_0x3ceac8(0x1a7)]=_0x2a698b[_0x3ceac8(0x1a7)],_0x2a560b['push'](_0x11f80c),_0x2a560b[_0x2a560b['length']-0x1][_0x3ceac8(0x205)]=_0x2a698b[_0x3ceac8(0x205)]||[];}_0x206e02(_0x3ceac8(0x1f9),{'target':_0x507cb1,'previousConnections':_0x2a560b,'upgradeRuns':snapshotUpgradeRuns(_0x47eb76),'catalogHash':_0x3c219a[_0x3ceac8(0x1a7)],'generation':(readGeneration(_0x47eb76)?.[_0x3ceac8(0x1c9)]||0x0)+0x1});const _0x4e7fa1={};_0x4e7fa1[_0x3ceac8(0x1c5)]=_0x3ceac8(0x197),_0x4e7fa1[_0x3ceac8(0x24a)]=!![],_0x4e7fa1['transactionId']=_0x2aa744,_0x4e7fa1[_0x3ceac8(0x208)]=_0x507cb1[_0x3ceac8(0x1c2)],_0x4e7fa1['targetDigest']=_0x507cb1[_0x3ceac8(0x21b)],_0x56ca1c=changeFence(_0x47eb76,_0x56ca1c[_0x3ceac8(0x1d4)],_0x4e7fa1);}else{if(_0x56ca1c['transactionId']!==_0x2aa744||_0x56ca1c['targetVersion']!==_0x507cb1[_0x3ceac8(0x1c2)]||_0x56ca1c[_0x3ceac8(0x245)]!==_0x507cb1[_0x3ceac8(0x21b)])fail(_0x3ceac8(0x1c8));}const _0x3b718d=_0x48b9a5[_0x3ceac8(0x20a)]===undefined?0x78:Number(_0x48b9a5[_0x3ceac8(0x20a)]);if(!Number['isFinite'](_0x3b718d)||_0x3b718d<0x0||_0x3b718d>0xe10)fail(_0x3ceac8(0x1e0));const _0x5af352=Date[_0x3ceac8(0x18f)]()+_0x3b718d*0x3e8;if(_0x56ca1c['state']===_0x3ceac8(0x197))for(;;){if(_0x225156()==='suspend'){const _0x5cf821={};_0x5cf821[_0x3ceac8(0x1d3)]='UPDATE_SUSPENDED';const _0x6421af={};_0x6421af[_0x3ceac8(0x22d)]=[_0x5cf821],_0x206e02(_0x3ceac8(0x25a),_0x6421af);const _0x2c0845={};_0x2c0845['code']='UPDATE_SUSPENDED';const _0x3a4e38={};return _0x3a4e38[_0x3ceac8(0x1d6)]=_0x3ceac8(0x25a),_0x3a4e38[_0x3ceac8(0x238)]=_0x2aa744,_0x3a4e38[_0x3ceac8(0x22d)]=[_0x2c0845],_0x3a4e38;}if(_0x225156()===_0x3ceac8(0x19b))return await _0x549566();_0x38c383=_0x46e234[_0x3ceac8(0x21d)](_0x47eb76);const _0x2a1c80=[];for(const _0x1020f5 of _0x38c383){const _0x4fb9a2=await _0x46e234[_0x3ceac8(0x261)](_0x1020f5);if(!_0x4fb9a2[_0x3ceac8(0x205)]?.[_0x3ceac8(0x227)](_0x3ceac8(0x255)))continue;const _0x5c7561={..._0x507cb1};_0x5c7561[_0x3ceac8(0x238)]=_0x2aa744,_0x5c7561[_0x3ceac8(0x1d4)]=_0x56ca1c[_0x3ceac8(0x1d4)];const _0xabb139=await _0x46e234[_0x3ceac8(0x18c)](_0x1020f5,'request-stop',_0x5c7561);if(_0xabb139[_0x3ceac8(0x243)]!=='authenticated-live-process'||![_0x3ceac8(0x1de),'pending-safe-boundary'][_0x3ceac8(0x227)](_0xabb139[_0x3ceac8(0x1d6)]))_0x2a1c80[_0x3ceac8(0x1f1)]({'code':_0xabb139[_0x3ceac8(0x1d3)]||'WORKER_STOP_UNCONFIRMED','connectionId':_0x1020f5['connectionId']});}const _0x53664b=workspaceOwnership(_0x47eb76,readFence(_0x47eb76),_0x3f1b3d)[_0x3ceac8(0x1be)](_0x468024=>({'code':'OWNERSHIP_IN_FLIGHT','ownership':_0x468024}));_0x53664b[_0x3ceac8(0x1f1)](..._0x2a1c80);for(const _0x440b4d of _0x38c383){const _0x1a8286={..._0x507cb1};_0x1a8286[_0x3ceac8(0x238)]=_0x2aa744,_0x1a8286[_0x3ceac8(0x1d4)]=_0x56ca1c[_0x3ceac8(0x1d4)];const _0x283267=await _0x46e234['controlConnection'](_0x440b4d,_0x3ceac8(0x1b8),_0x1a8286);if(_0x283267['evidence']!==_0x3ceac8(0x1ff)||_0x283267[_0x3ceac8(0x1d6)]!==_0x3ceac8(0x1f5))_0x53664b[_0x3ceac8(0x1f1)]({'code':_0x283267['code']||'OWNERSHIP_IN_FLIGHT','connectionId':_0x440b4d['connectionId'],'ownership':_0x283267[_0x3ceac8(0x22d)]||[]});}const _0x367d27=Object[_0x3ceac8(0x1e4)](readFence(_0x47eb76)['members']||{})[_0x3ceac8(0x190)](_0x5d2d84=>_0x5d2d84[_0x3ceac8(0x1c5)]!==_0x3ceac8(0x191));for(const _0x3e73d1 of _0x367d27)if(!_0x38c383[_0x3ceac8(0x1f4)](_0x16d8ee=>_0x16d8ee[_0x3ceac8(0x18e)]===_0x3e73d1[_0x3ceac8(0x18e)]))_0x53664b['push']({'code':_0x3ceac8(0x260),'connectionId':_0x3e73d1[_0x3ceac8(0x18e)]});if(!_0x53664b['length']){const _0x32f251=new Set(_0x38c383[_0x3ceac8(0x1be)](_0x3a591a=>_0x3a591a['connectionId']));try{_0x56ca1c=freezeFence(_0x47eb76,_0x56ca1c[_0x3ceac8(0x1d4)],{},_0x3e83b4=>Object[_0x3ceac8(0x1e4)](_0x3e83b4['members']||{})[_0x3ceac8(0x231)](_0x11b2c9=>_0x11b2c9[_0x3ceac8(0x1c5)]===_0x3ceac8(0x191)||_0x32f251['has'](_0x11b2c9[_0x3ceac8(0x18e)]))&&workspaceOwnership(_0x47eb76,_0x3e83b4,_0x3f1b3d)[_0x3ceac8(0x1b1)]===0x0);break;}catch(_0x2f374f){if(_0x2f374f['code']!==_0x3ceac8(0x1a3))throw _0x2f374f;const _0x46f345={};_0x46f345['code']=_0x2f374f[_0x3ceac8(0x1d3)],_0x53664b[_0x3ceac8(0x1f1)](_0x46f345);}}const _0x31b48b={};_0x31b48b[_0x3ceac8(0x1c0)]=_0x507cb1,_0x31b48b[_0x3ceac8(0x22d)]=_0x53664b,_0x206e02('pending-safe-boundary',_0x31b48b);const _0x2d1222={};_0x2d1222[_0x3ceac8(0x1d6)]=_0x3ceac8(0x25a),_0x2d1222[_0x3ceac8(0x238)]=_0x2aa744,_0x2d1222['blockers']=_0x53664b,_0x2d1222['resourcePlan']=_0x4be2ad['directory'];if(Date['now']()>=_0x5af352)return _0x2d1222;await new Promise(_0x494228=>setTimeout(_0x494228,Math['min'](0x1f4,Math['max'](0x1,_0x5af352-Date['now']()))));}if(_0x56ca1c['state']!=='frozen')fail(_0x3ceac8(0x1c8));if(_0x225156()==='suspend'){const _0x482d5e={};_0x482d5e[_0x3ceac8(0x1d3)]=_0x3ceac8(0x234);const _0x1b46db={};_0x1b46db[_0x3ceac8(0x22d)]=[_0x482d5e],_0x206e02(_0x3ceac8(0x25a),_0x1b46db);const _0x5e5b51={};_0x5e5b51[_0x3ceac8(0x1d3)]=_0x3ceac8(0x234);const _0x2c5780={};return _0x2c5780[_0x3ceac8(0x1d6)]=_0x3ceac8(0x25a),_0x2c5780[_0x3ceac8(0x238)]=_0x2aa744,_0x2c5780[_0x3ceac8(0x22d)]=[_0x5e5b51],_0x2c5780;}_0x38c383=_0x46e234['listWorkspaceReceipts'](_0x47eb76)['filter'](_0x1c20bd=>!_0x1c2c21||readGeneration(_0x47eb76)[_0x3ceac8(0x225)]['includes'](_0x1c20bd[_0x3ceac8(0x18e)]));const _0x31e780={..._0x507cb1};_0x31e780['transactionId']=_0x2aa744,_0x31e780[_0x3ceac8(0x1d4)]=_0x56ca1c[_0x3ceac8(0x1d4)],_0x31e780[_0x3ceac8(0x1c9)]=_0x50ad89[_0x3ceac8(0x1c9)],_0x31e780[_0x3ceac8(0x1a7)]=_0x50ad89[_0x3ceac8(0x1a7)],_0x31e780[_0x3ceac8(0x1f3)]=_0x48b9a5['release'];const _0x56ee9d=_0x31e780;if(!_0x1c2c21){if(_0x225156()==='cancel')fail(_0x3ceac8(0x1bd));if(!_0x50ad89[_0x3ceac8(0x213)]){const _0x11e140=[...new Map([..._0x50ad89[_0x3ceac8(0x1e6)]||[],...snapshotUpgradeRuns(_0x47eb76)]['map'](_0x41fd38=>[JSON['stringify']([_0x41fd38[_0x3ceac8(0x211)],_0x41fd38[_0x3ceac8(0x22e)],_0x41fd38[_0x3ceac8(0x215)]]),_0x41fd38]))[_0x3ceac8(0x1e4)]()],_0x4e4fc9={};_0x4e4fc9[_0x3ceac8(0x1e6)]=_0x11e140,_0x206e02(_0x3ceac8(0x24e),_0x4e4fc9);const _0x409ff3={};_0x409ff3['transactionId']=_0x2aa744,_0x409ff3[_0x3ceac8(0x1d4)]=_0x56ca1c['epoch'],_0x409ff3[_0x3ceac8(0x1c0)]=_0x507cb1,_0x409ff3[_0x3ceac8(0x21a)]=_0x11e140;const {cancelled:_0x2e86dc}=cancelUpgradeRuns(_0x47eb76,_0x409ff3),_0x2d1c3e={};_0x2d1c3e['runsCancelled']=!![],_0x2d1c3e[_0x3ceac8(0x242)]=_0x2e86dc,_0x206e02(_0x3ceac8(0x203),_0x2d1c3e);}if(!_0x50ad89['oldRuntimesStopped']){_0x206e02(_0x3ceac8(0x18d));for(const _0x1a44e8 of _0x38c383){const _0x1192a7=await _0x46e234[_0x3ceac8(0x18c)](_0x1a44e8,_0x3ceac8(0x25f),_0x56ee9d),_0x4d751c=_0x1192a7[_0x3ceac8(0x1d6)]===_0x3ceac8(0x246)&&_0x1192a7['oldRuntimeStopped']===!![]&&['version',_0x3ceac8(0x21b),_0x3ceac8(0x1c9),_0x3ceac8(0x1a7)][_0x3ceac8(0x231)](_0x546783=>_0x1192a7[_0x546783]===_0x56ee9d[_0x546783])&&_0x1192a7[_0x3ceac8(0x20b)]===hashFile(path['join'](_0x47eb76,_0x3ceac8(0x1f7),_0x3ceac8(0x1cc)));if(_0x1192a7[_0x3ceac8(0x243)]!==_0x3ceac8(0x1ff)||_0x1192a7[_0x3ceac8(0x1d6)]!==_0x3ceac8(0x1e7)&&!_0x4d751c)fail(_0x1192a7[_0x3ceac8(0x1d3)]||_0x3ceac8(0x1af));}const _0xdc3982={};_0xdc3982[_0x3ceac8(0x1f8)]=!![],_0x206e02(_0x3ceac8(0x201),_0xdc3982);}_0x206e02(_0x3ceac8(0x1a1)),_0x4be2ad['apply'](),_0x52974e?.['apply'](),_0x56ee9d[_0x3ceac8(0x20b)]=hashFile(path[_0x3ceac8(0x1ed)](_0x47eb76,'.agents',_0x3ceac8(0x1cc)));if(!_0x56ee9d[_0x3ceac8(0x20b)])fail('RESOURCE_DIGEST_MISSING');const _0x45e08e={};_0x45e08e['resourceDigest']=_0x56ee9d[_0x3ceac8(0x20b)],_0x206e02(_0x3ceac8(0x1fb),_0x45e08e);if(_0x50ad89['rebuildIndex']&&_0x50ad89[_0x3ceac8(0x251)]?.['status']!=='built'){if(_0x50ad89[_0x3ceac8(0x251)]?.[_0x3ceac8(0x1d6)]===_0x3ceac8(0x19e))fail('INDEX_OUTCOME_UNKNOWN');const _0x3cddb3={};_0x3cddb3[_0x3ceac8(0x1d6)]=_0x3ceac8(0x19e);const _0x4acac3={};_0x4acac3[_0x3ceac8(0x251)]=_0x3cddb3,_0x206e02(_0x3ceac8(0x239),_0x4acac3);try{require(_0x3ceac8(0x1df))[_0x3ceac8(0x256)](process['execPath'],[path[_0x3ceac8(0x1ed)](_0x48b9a5[_0x3ceac8(0x1f3)],'src',_0x3ceac8(0x1fc),_0x3ceac8(0x1b2)),_0x47eb76],{'cwd':_0x47eb76,'windowsHide':!![],'timeout':0x1d4c0,'stdio':_0x3ceac8(0x1a2)});const _0xb0c51c={};_0xb0c51c[_0x3ceac8(0x1d6)]=_0x3ceac8(0x1ea);const _0x129f38={};_0x129f38[_0x3ceac8(0x251)]=_0xb0c51c,_0x206e02(_0x3ceac8(0x1fb),_0x129f38);}catch(_0x49261a){const _0x4a8413={};_0x4a8413['status']=_0x3ceac8(0x25d),_0x4a8413[_0x3ceac8(0x1d3)]=_0x49261a[_0x3ceac8(0x1d3)]||_0x3ceac8(0x1eb);const _0xbf093c={};_0xbf093c[_0x3ceac8(0x251)]=_0x4a8413,_0x206e02(_0x3ceac8(0x1fb),_0xbf093c),fail(_0x3ceac8(0x1eb));}}for(const _0x332e9b of _0x38c383){const _0x5a662d=await _0x46e234[_0x3ceac8(0x18c)](_0x332e9b,_0x3ceac8(0x198),_0x56ee9d);if(_0x5a662d[_0x3ceac8(0x243)]!==_0x3ceac8(0x1ff)||_0x5a662d[_0x3ceac8(0x1d6)]!==_0x3ceac8(0x246))fail(_0x5a662d[_0x3ceac8(0x1d3)]||_0x3ceac8(0x217));recordCandidate(_0x47eb76,_0x2aa744,_0x56ca1c[_0x3ceac8(0x1d4)],_0x5a662d);}_0x206e02('commit-intent');if(_0x225156()===_0x3ceac8(0x19b))fail(_0x3ceac8(0x1bd));if(_0x225156()===_0x3ceac8(0x1d8)){const _0x2583a7={};_0x2583a7[_0x3ceac8(0x1d3)]=_0x3ceac8(0x234);const _0xc59c15={};_0xc59c15[_0x3ceac8(0x20b)]=_0x56ee9d[_0x3ceac8(0x20b)],_0xc59c15[_0x3ceac8(0x22d)]=[_0x2583a7],_0x206e02(_0x3ceac8(0x25a),_0xc59c15);const _0x5d2b52={};_0x5d2b52[_0x3ceac8(0x1d3)]=_0x3ceac8(0x234);const _0x2b2bcd={};return _0x2b2bcd[_0x3ceac8(0x1d6)]=_0x3ceac8(0x25a),_0x2b2bcd[_0x3ceac8(0x238)]=_0x2aa744,_0x2b2bcd[_0x3ceac8(0x22d)]=[_0x5d2b52],_0x2b2bcd;}commitWorkspaceGeneration(_0x47eb76,_0x2aa744,_0x56ca1c[_0x3ceac8(0x1d4)],_0x56ee9d),_0x1c2c21=!![],projectGeneration(_0x48b9a5[_0x3ceac8(0x248)],_0x47eb76,readGeneration(_0x47eb76)),_0x4be2ad[_0x3ceac8(0x1fd)](_0x56ee9d['generation']),_0x52974e?.[_0x3ceac8(0x1fd)](),_0x206e02('committed');}else{const _0x56e56c=readGeneration(_0x47eb76);_0x56ee9d[_0x3ceac8(0x1c9)]=_0x56e56c['generation'],_0x56ee9d['resourceDigest']=_0x56e56c['resourceDigest'],_0x56ee9d['catalogHash']=_0x56e56c[_0x3ceac8(0x1a7)];if(_0x4be2ad[_0x3ceac8(0x1b6)][_0x3ceac8(0x1d6)]!==_0x3ceac8(0x221))_0x4be2ad[_0x3ceac8(0x1fd)](_0x56ee9d[_0x3ceac8(0x1c9)]);_0x52974e?.['apply'](),_0x52974e?.[_0x3ceac8(0x1fd)]();const _0x95917b=readFence(_0x47eb76)[_0x3ceac8(0x257)]||{};for(const _0x5ed94b of _0x56e56c[_0x3ceac8(0x225)])if(_0x95917b[_0x5ed94b]?.[_0x3ceac8(0x1c5)]!==_0x3ceac8(0x191)&&!_0x38c383['some'](_0x16645b=>_0x16645b[_0x3ceac8(0x18e)]===_0x5ed94b))fail(_0x3ceac8(0x260));for(const _0x44c2af of _0x38c383){const _0x18d44f=await _0x46e234[_0x3ceac8(0x18c)](_0x44c2af,_0x3ceac8(0x198),_0x56ee9d);if(_0x18d44f[_0x3ceac8(0x243)]!==_0x3ceac8(0x1ff)||_0x18d44f['status']!==_0x3ceac8(0x246))fail(_0x18d44f[_0x3ceac8(0x1d3)]||_0x3ceac8(0x217));recordCandidate(_0x47eb76,_0x2aa744,_0x56ca1c[_0x3ceac8(0x1d4)],_0x18d44f);}}for(const _0x428d6a of _0x38c383){const _0x421895=await _0x46e234[_0x3ceac8(0x18c)](_0x428d6a,_0x3ceac8(0x23d),_0x56ee9d);if(_0x421895[_0x3ceac8(0x243)]!==_0x3ceac8(0x1ff)||_0x421895[_0x3ceac8(0x1d6)]!==_0x3ceac8(0x195))fail(_0x421895[_0x3ceac8(0x1d3)]||'GENERATION_ACK_PENDING');}openCommittedGeneration(_0x47eb76,_0x2aa744);const _0x11f77c=_0x38c383['length']?_0x3ceac8(0x195):_0x3ceac8(0x1f2),_0x522d64={};_0x522d64['activationEvidence']=_0x38c383[_0x3ceac8(0x1b1)]?_0x3ceac8(0x1ff):null,_0x206e02(_0x11f77c,_0x522d64);const _0x557295={};_0x557295['status']=_0x3ceac8(0x23a);const _0x18ed7d={};return _0x18ed7d['status']=_0x11f77c,_0x18ed7d[_0x3ceac8(0x238)]=_0x2aa744,_0x18ed7d[_0x3ceac8(0x1c0)]=_0x507cb1,_0x18ed7d[_0x3ceac8(0x1c9)]=_0x56ee9d[_0x3ceac8(0x1c9)],_0x18ed7d['resourceDigest']=_0x56ee9d[_0x3ceac8(0x20b)],_0x18ed7d[_0x3ceac8(0x18a)]=!![],_0x18ed7d[_0x3ceac8(0x242)]=_0x50ad89[_0x3ceac8(0x242)]||[],_0x18ed7d[_0x3ceac8(0x251)]=_0x50ad89[_0x3ceac8(0x251)]||_0x557295,_0x18ed7d;}catch(_0x10b2c6){const _0x176e33={};_0x176e33[_0x3ceac8(0x1d3)]=_0x10b2c6[_0x3ceac8(0x1d3)]||_0x3ceac8(0x1e8),_0x176e33[_0x3ceac8(0x194)]=_0x50ad89?.[_0x3ceac8(0x1d6)]||_0x3ceac8(0x1b8);const _0x45e269=[_0x176e33];if(!_0x1c2c21&&_0x10b2c6[_0x3ceac8(0x1d3)]==='UPDATE_SUSPENDED'){const _0x4dc2e4={};_0x4dc2e4[_0x3ceac8(0x22d)]=_0x45e269,_0x206e02('pending-safe-boundary',_0x4dc2e4);const _0x573ffa={};return _0x573ffa[_0x3ceac8(0x1d6)]=_0x3ceac8(0x25a),_0x573ffa['transactionId']=_0x2aa744,_0x573ffa[_0x3ceac8(0x22d)]=_0x45e269,_0x573ffa;}if(_0x1c2c21){const _0x5452fc={};_0x5452fc[_0x3ceac8(0x22d)]=_0x45e269,_0x5452fc[_0x3ceac8(0x25c)]='roll-forward',_0x206e02(_0x3ceac8(0x254),_0x5452fc);const _0x29e8d8={};return _0x29e8d8['status']=_0x3ceac8(0x25d),_0x29e8d8[_0x3ceac8(0x238)]=_0x2aa744,_0x29e8d8[_0x3ceac8(0x25c)]='roll-forward',_0x29e8d8[_0x3ceac8(0x22d)]=_0x45e269,_0x29e8d8;}if(_0x56ca1c[_0x3ceac8(0x1c5)]===_0x3ceac8(0x1e2)&&!['INDEX_OUTCOME_UNKNOWN','INDEX_REBUILD_FAILED'][_0x3ceac8(0x227)](_0x10b2c6[_0x3ceac8(0x1d3)]))try{const _0x132c97={};return _0x132c97[_0x3ceac8(0x22d)]=_0x45e269,_0x132c97['recovery']=_0x3ceac8(0x1da),_0x206e02(_0x3ceac8(0x1ee),_0x132c97),await _0x409d33(_0x45e269);}catch(_0x48836e){const _0x24ee5a={'code':_0x48836e[_0x3ceac8(0x1d3)]||_0x3ceac8(0x1db),..._0x48836e[_0x3ceac8(0x1e1)]?{'mismatchFields':_0x48836e['mismatchFields']}:{}};_0x45e269[_0x3ceac8(0x1f1)](_0x24ee5a);}const _0x3fbb43={};_0x3fbb43[_0x3ceac8(0x22d)]=_0x45e269,_0x206e02(_0x3ceac8(0x25d),_0x3fbb43);const _0x2e87ed={};return _0x2e87ed[_0x3ceac8(0x1d6)]=_0x3ceac8(0x25d),_0x2e87ed[_0x3ceac8(0x238)]=_0x2aa744,_0x2e87ed[_0x3ceac8(0x22d)]=_0x45e269,_0x2e87ed;}finally{_0x44b941();}}const _0x59a489={};function _0x520e(_0x39e047,_0x5d78d){_0x39e047=_0x39e047-0x189;const _0x18d115=_0x18d1();let _0x520e55=_0x18d115[_0x39e047];if(_0x520e['bgTVAQ']===undefined){var _0x28ba49=function(_0x136988){const _0x4ed5e2='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x8574f9='',_0x4c01f1='';for(let _0x3df435=0x0,_0x13e814,_0x3b84db,_0x47bba4=0x0;_0x3b84db=_0x136988['charAt'](_0x47bba4++);~_0x3b84db&&(_0x13e814=_0x3df435%0x4?_0x13e814*0x40+_0x3b84db:_0x3b84db,_0x3df435++%0x4)?_0x8574f9+=String['fromCharCode'](0xff&_0x13e814>>(-0x2*_0x3df435&0x6)):0x0){_0x3b84db=_0x4ed5e2['indexOf'](_0x3b84db);}for(let _0x119116=0x0,_0x2ae2fa=_0x8574f9['length'];_0x119116<_0x2ae2fa;_0x119116++){_0x4c01f1+='%'+('00'+_0x8574f9['charCodeAt'](_0x119116)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4c01f1);};_0x520e['LToWVa']=_0x28ba49,_0x520e['cwsdEK']={},_0x520e['bgTVAQ']=!![];}const _0x870616=_0x18d115[0x0],_0x24b650=_0x39e047+_0x870616,_0x29c34e=_0x520e['cwsdEK'][_0x24b650];return!_0x29c34e?(_0x520e55=_0x520e['LToWVa'](_0x520e55),_0x520e['cwsdEK'][_0x24b650]=_0x520e55):_0x520e55=_0x29c34e,_0x520e55;}_0x59a489['activatePreparedWorkspace']=activatePreparedWorkspace,module[_0x28c282(0x1dd)]=_0x59a489;function _0x18d1(){const _0xcb9b9f=['zhjHAw5PBMC','ChjLCgfYzs1Jyw5KAwrHDgu','lI9YDw50Aw1Llxn0B3jL','Agv4','y2fUy2vS','CNvUDgLTzq','B2XKsgfZAa','CNvUBMLUzW','mZqXmZy2nvjRtvvNCW','CMvIDwLSzeLUzgv4','yxbWBhLPBMC','CgLWzq','t1DorvjtseLqx0Lox0zmsuDiva','y2fUy2vSlwzVCI11CgDYywrL','C2fTzvDVCMTZCgfJzq','C3vWzxjZzwrLza','y2f0ywXVz0HHC2G','AxntywzLsw50zwDLCG','B3jPz2LUywW','uKvtt1vsq0vFuefusf9fu0nbueu','zxHPC3rZu3LUyW','lI4Vy29Yzs9Hzg1PC3nPB24TzMvUy2u','ChjLzMXPz2H0','y29UzMXPy3rZ','q0HjterFu1rpuf9vtKnptKzjuK1fra','vvbeqvrfx0Lox1bst0Dsrvnt','BgvUz3rO','Aw5KzxGTC3rVCMuUANm','CMvZDwX0CW','CMvNAxn0CMf0Aw9UtwLNCMf0Aw9U','B3bLBG','CgXHBG','y3jLyxrLsgfZAa','ChjLCgfYzq','C2vYDMLUzW','BM9KztPMCW','ndG4mdeYr1vkzMfp','CMvHzhK','vvbeqvrfx0nbtKnfteXfra','BwfW','mJyWmdi1nKHxtxPeCW','DgfYz2v0','DxbKyxrLlxrYyw5Zywn0Aw9UlMPZB24','DMvYC2LVBG','zgLYBMfTzq','C2HHmJu2','C3rHDgu','mtCYEe1Xr3H0','ndy0mZr6sevQD3C','qurnsvntsu9ox0nptKzmsunu','z2vUzxjHDgLVBG','CMvXDwLYzwq','ChjLlwrYywLUlwnHBMnLBgXLza','BwfUAwzLC3qUANnVBG','DxbKyxrLCW','C2f2zuXVy2TLza','D29YA3nWywnL','vvbeqvrfx1bmqu5Fvu5wrvjjrKLfra','B3bLCMf0Aw9U','uhjLDMLVDxmGCMvHzgLUzxnZihr1CgXLigrPzMzLCNm','y29Kzq','zxbVy2G','ywn0Aw9U','C3rHDhvZ','y2fUy2vSBgvK','C3vZCgvUza','D29YA3nWywnLuNvUuM9VDhm','CM9SBgjHy2S','uKvtt1vsq0vFuK9mtejbq0TFvu5dt05gsvjnruq','lI9YzwDPC3rYyxrPB24TCgXHBG','zxHWB3j0CW','C3rVCc1JB25MAxjTzwq','BM9KztPJAgLSzf9WCM9JzxnZ','su5wquXjrf9xquLu','BwLZBwf0y2HgAwvSzhm','zNjVEMvU','Aw5ZCgvJDa','DMfSDwvZ','yxnZAwDU','DxbNCMfKzvj1BNm','C3rVChbLza','vvbeqvrfx0zbsuXfra','zM9Yy2vszwnVDMvY','yNvPBhq','su5ervHFuKvcvuLmrf9gquLmruq','yMXVy2TLzc1WCM9Qzwn0lxn5BMm','AM9PBG','CMvJB3zLCMLUzW','lI9Jyw5KAwrHDguTChjLzMXPz2H0','q0foreLeqvrfx1bsruzmsuDivf9nsvnnqvrdsa','ChvZAa','CMvHzhKTBMv4Dc1JB25Uzwn0Aw9U','CMvSzwfZzq','C29Tzq','C2fMzs1IB3vUzgfYEq','q0foq0vmx0fds19qru5esu5h','lMfNzw50CW','B2XKuNvUDgLTzxntDg9WCgvK','ChjLCgfYzwq','ywjVCNrLzerYywLU','CMvZB3vYy2vZlwfWCgXPzwq','yMfJA2vUzhm','y29TBwL0','ywnRBM93BgvKz2vK','yxv0AgvUDgLJyxrLzc1SAxzLlxbYB2nLC3m','lI4Vy29Yzs9YzxnVDxjJzs10CMfUC2fJDgLVBG','B2XKlxj1BNrPBwvZlxn0B3bWzwq','lI9JB25Uzwn0Aw9UlwfJDgL2yxrPB24','CNvUCY1Jyw5JzwXSzwq','zgLHz25VC3rPy3m','y29UDhjVBenHCgfIAwXPDgLLCW','mZiZnJbQuK5mEMS','ChjLDMLVDxnjzgvUDgL0Eq','DgfYz2v0vMvYC2LVBG','zgLYzwn0B3j5','D2fPDfnLy29Uzhm','CMvZB3vYy2veAwDLC3q','zhjHAw4TywjVCNrLza','lI4Vy29Yzs93B3jRC3bHy2uTz2vUzxjHDgLVBG','DhjHBNnHy3rPB24TzMLUywWUANnVBG','BM9KztPWyxrO','ywrK','C3rHDgvsB290','C3vWzxj2AxnVCLbPza','CNvUC0nHBMnLBgXLza','y29UDgfPBNnxB3jRC3bHy2u','CNvUswq','zMLUza','q0foreLeqvrfx05pvf9srufewq','D2L0AefKBwLZC2LVBKXVy2S','CMvZB3vYy2vdB250CMfJDerPz2vZDa','CNvUCW','zgLNzxn0','CMvJB25Uzwn0lxjLCxvPCMvK','BgLZDfDVCMTZCgfJzvjLy2vPChrZ','lNrTCa','CMvWBgfJzw1LBNq','D3jPDgvgAwXLu3LUyW','y29TBwL0DgvK','lI4Vy29Yzs93B3jRC3bHy2uTCgf0Aa','yNL0zxm','BgvNywn5lw93BMvYC2HPCc11BNzLCMLMAwvK','y29UBMvJDgLVBNm','ndy4nZG2nxjbr0XpvG','Aw5JBhvKzxm','ywjVCNqTzhjHAw4','Dg9tDhjPBMC','CMvHzezPBgvtEw5J','ChjLzMXPz2H0lxbLBMrPBMC','BM9KztPJCNLWDg8','yMXVy2TLCNm','DgfZAW','ru5pru5u','CgfYC2u','zxzLCNK','CMvHBhbHDgHtEw5J','ywjVCNq','vvbeqvrfx1nvu1bftKrfra','uMvNAxn0CMf0Aw9UugXHBG','ChjLDMLVDxndB25Uzwn0Aw9UCW','DgvZDa','DhjHBNnHy3rPB25jza','CMvIDwLSzgLUzY1PBMrLEa','BM90lxjLCxvLC3rLza','uKvhsvnuuKfusu9ox1jfq09wrvjzx1jfuvvjuKve','vvbeqvrfx1rbuKDfvf9dt05gteLdva','y29TBwL0lwnHBMrPzgf0zq','CMvZB3vYy2vqBgfU','y2XVC2vtEw5J','DxrMoa','y2HPBgrqAwq','y2fUy2vSBgvKuNvUCW','zxzPzgvUy2u','B3bLCMf0Aw9UCW','DgfYz2v0rgLNzxn0','y2fUzgLKyxrLlxjLywr5','ywrKB25Z','CNvUDgLTzvjVB3q','CM9SBgvKlwjHy2S','C3rVCfjLCxvLC3rLza','vvbeqvrfx0Hju1rpuLLFvu5wrvjjrKLfra','ntKZmw9kBe1ewa','BMv3sgfZAa','y2fUy2vSBgLUzY1YDw5Z','ChvIBgLJs2v5','y29UBMvJDgLVBKrPywDUB3n0AwnZ','Aw5KzxHszxn1Bhq','C3rYAw5NAwz5','CMvJB25JAwXLv29YA3nWywnLq29UBMvJDgLVBNm','CM9SBc1MB3j3yxjKlxjLCxvPCMvK','CMvXDwvZDc1ZDg9W','zxHLy0zPBgvtEw5J','BwvTyMvYCW','mJm5mdbSt2jerNe','B3bLBLn5BMm','CgvUzgLUzY1ZywzLlwjVDw5Kyxj5','CMvUyw1Lu3LUyW','CMvJB3zLCNK','zMfPBgvK','ywn0AxzHDgLVBKv2AwrLBMnL','C3rVCc1MB3iTDxbKyxrL','q09otKvdveLptL9vtKnptKzjuK1fra','ChjVyMvdB25Uzwn0Aw9U','CMvNAxn0CMf0Aw9UugXHBG','C3vWzxj2AxnVCLbYB3rVy29S','lI4Vy29Yzs9YDw4Ty29TCgf0AwjPBgL0Eq','vvbeqvrfx1bmqu5Fq0HbtKDfra','CMvZB3vYy2vZqxbWBgLLza','lI4Vy29Yzs91CgrHDguTy29UDhjVBa','y29UDhjVBenVBM5Ly3rPB24','C3rVChbPBMC','y29UBMvJDgLVBKLK','BM93','zMLSDgvY','y2XVC2vK','r0vorvjbveLptL9srunpvKvswv9nsvnnqvrdsa','zMLSzq','CgHHC2u','ywn0AxzL','CMvZDg9Yzs1WCMv2Aw91CW'];_0x18d1=function(){return _0xcb9b9f;};return _0x18d1();}
|
|
@@ -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';function _0xc9b9(){const _0x517b2d=['D29YA3nWywnLCW','yxbWBhLszxnVDxjJzxm','Dg9VBenVDw50','zMLSDgvY','CMvZB3vYy2vZlwfWCgXPzwq','BwfW','ChjLCgfYzq','mZjps2vZqMe','CMvHzhK','C3rHDgu','q09otKvdveLptL9vtKnptKzjuK1fra','ru5pru5u','ChjLzMXPz2H0','C3rHDhvZ','yxv0AgvUDgLJyxrLzc1SAxzLlxbYB2nLC3m','n1jYqLzVsa','zxbVy2G','ywn0AxzHDgvqCMvWyxjLzfDVCMTZCgfJzq','y2f0y2G','zMfPBgvK','BwLU','lI4Vy29Yzs9YDw4Ty29TCgf0AwjPBgL0Eq','lI4Vy29Yzs9Hzg1PC3nPB24TzMvUy2u','C3LZy2fSBa','BgvUz3rO','y29TCgf0AwjSzq','zxzPzgvUy2u','CMvZB3vYy2uTyxbWBgLJyxrPB24','B3bLBG','y2XVC2vK','BgvNywn5lw93BMvYC2HPCc11BNzLCMLMAwvK','D29YA3nWywnL','CgvUzgLUzY1ZywzLlwjVDw5Kyxj5','lI9Jyw5KAwrHDguTChjLzMXPz2H0','ndGYmZm1nLzgwvfOtG','DxbKyxrLlMXVy2S','zgLNzxn0','zgLYBMfTzq','DhjHBNnHy3rPB25jza','vvbeqvrfx0zbsuXfra','CMvZB3vYy2vZqxbWBgLLza','yMXVy2TLCNm','CNvUDgLTzq','CMvHBhbHDgHtEw5J','uKvtt1vsq0vFreLhrvnux0niqu5hruq','AxngAw5PDgu','BwTKAxjtEw5J','ChvIBgLJs2v5','CMvJB25Uzwn0lxjLCxvPCMvK','CMvHzhKTBMv4Dc1JB25Uzwn0Aw9U','y2f0ywXVz0HHC2G','CMvJDxjZAxzL','lI9JB25Uzwn0Aw9UlwfJDgL2yxrPB24','nZiZmdKYmhjitMLlvW','CgHHC2u','z2vUzxjHDgLVBG','ve9ptf9dqvrbte9hx1vovKvssuzjruq','Dg9ju09tDhjPBMC','vvbeqvrfx0Lox1bst0Dsrvnt','ChvZAa','CgvUzgLUz1n0yxr1CW','zxHLy3v0B3i','C3rHCNrqzw5KAw5NrxHLy3v0B3i','BwfUAwzLC3qUANnVBG','CNvUDgLTzvjVB3q','mtGYotzyzLnuA1y','CMvUyw1Lu3LUyW','otK2nZm1y2j5svnN','ChjVDg9JB2XwzxjZAw9U','y29Kzq','ve9ptf9dqvrbte9hx0niqu5hruq','mtm0otiZmhbcrML4rW','DgfYz2v0vMvYC2LVBG','vvbeqvrfx0PpvvjoquXFvu5srufequjmrq','Agv4','AM9PBG','lMPZB24','ywn0AxzL','lI9YDw50Aw1Llxn0B3jL','BM9KztPMCW','D2fPDfnLy29Uzhm','lI9YDw50Aw1LlwXVy2S','DxrMoa','rvHfq1vut1jFu1rbuLrFrKfjteve','mZmZndKYovrvy3DMva','ow5fCe9IzW','CMvHzezPBgvtEw5J','Dw5HDMfPBgfIBgu','DxbKyxrL','BM93','DgfYz2v0','uKvhsvnuuKfusu9ox1vqrefurv9gquLmruq','lMfNzw50CW','ywn0AxzHDgLVBG','su5ervHFuKvcvuLmrf9gquLmruq','CMvZB3vYy2veAwDLC3q','y3jLyxrLsgfZAa','y29UBMvJDgLVBKLK','ywrK','mtu0y1zqtMTl','lI91CgrHDguTzxHLy3v0B3i','CMvSzwfZzq','yMXVy2TLCG','C2HHmJu2','C2vYDMLUzW','CMfUzg9Tvvvjra','y29UBMvJDgLVBNm','C3rYAw5NAwz5','Dg90ywW','Dg9mB3DLCKnHC2u','ywjVCNq','AgfZ','mJm1mdeYmK1RCNzKzq','Cgf0Aa','DxbKyxrLlxrYyw5Zywn0Aw9UlMPZB24','DMvYC2LVBG','BM9KztPWyxrO','zxHWB3j0CW'];_0xc9b9=function(){return _0x517b2d;};return _0xc9b9();}const _0x2b4782=_0xba48;function _0xba48(_0x3868b5,_0x1f73b0){_0x3868b5=_0x3868b5-0x1b2;const _0xc9b9df=_0xc9b9();let _0xba48c8=_0xc9b9df[_0x3868b5];if(_0xba48['hRMrIV']===undefined){var _0x418929=function(_0x1a084f){const _0x4360c9='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1750ba='',_0xd63bab='';for(let _0x38c678=0x0,_0x561973,_0x460631,_0x22580e=0x0;_0x460631=_0x1a084f['charAt'](_0x22580e++);~_0x460631&&(_0x561973=_0x38c678%0x4?_0x561973*0x40+_0x460631:_0x460631,_0x38c678++%0x4)?_0x1750ba+=String['fromCharCode'](0xff&_0x561973>>(-0x2*_0x38c678&0x6)):0x0){_0x460631=_0x4360c9['indexOf'](_0x460631);}for(let _0x1cb088=0x0,_0x59ca8d=_0x1750ba['length'];_0x1cb088<_0x59ca8d;_0x1cb088++){_0xd63bab+='%'+('00'+_0x1750ba['charCodeAt'](_0x1cb088)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xd63bab);};_0xba48['QhcrRO']=_0x418929,_0xba48['wnNHnX']={},_0xba48['hRMrIV']=!![];}const _0x54398e=_0xc9b9df[0x0],_0x4777d7=_0x3868b5+_0x54398e,_0x1091ab=_0xba48['wnNHnX'][_0x4777d7];return!_0x1091ab?(_0xba48c8=_0xba48['QhcrRO'](_0xba48c8),_0xba48['wnNHnX'][_0x4777d7]=_0xba48c8):_0xba48c8=_0x1091ab,_0xba48c8;}(function(_0x36e807,_0x11ce3a){const _0x4b7c73=_0xba48,_0x409917=_0x36e807();while(!![]){try{const _0x26a06c=parseInt(_0x4b7c73(0x1e9))/0x1*(-parseInt(_0x4b7c73(0x223))/0x2)+-parseInt(_0x4b7c73(0x1c0))/0x3+-parseInt(_0x4b7c73(0x204))/0x4+parseInt(_0x4b7c73(0x225))/0x5+parseInt(_0x4b7c73(0x1dc))/0x6*(parseInt(_0x4b7c73(0x1f1))/0x7)+-parseInt(_0x4b7c73(0x217))/0x8*(-parseInt(_0x4b7c73(0x1c1))/0x9)+parseInt(_0x4b7c73(0x1b3))/0xa*(parseInt(_0x4b7c73(0x1cf))/0xb);if(_0x26a06c===_0x11ce3a)break;else _0x409917['push'](_0x409917['shift']());}catch(_0x40222d){_0x409917['push'](_0x409917['shift']());}}}(_0xc9b9,0xbcde3));const fs=require(_0x2b4782(0x1bb)),path=require(_0x2b4782(0x1e0)),crypto=require('node:crypto'),{verifyRelease}=require(_0x2b4782(0x1ba)),{acquireRuntimeLock}=require(_0x2b4782(0x1bd)),{listWorkspaceReceipts,probeConnection,probeWorkspaceConnections,controlConnection}=require(_0x2b4782(0x216)),{readFence,changeFence}=require(_0x2b4782(0x1f8)),{preflightWorkspaceContracts}=require(_0x2b4782(0x1f7)),{preflightCandidate}=require(_0x2b4782(0x203)),pause=_0x14b93d=>new Promise(_0xcae9e=>setTimeout(_0xcae9e,_0x14b93d)),sha256=_0x19ae98=>{const _0x1deb34=_0x2b4782;try{return crypto[_0x1deb34(0x1cc)](_0x1deb34(0x1d3))[_0x1deb34(0x1c4)](fs[_0x1deb34(0x1c2)](_0x19ae98))['digest'](_0x1deb34(0x1b6));}catch(_0x5009b5){if(_0x5009b5[_0x1deb34(0x227)]===_0x1deb34(0x1ed))return null;throw _0x5009b5;}},readJson=_0x370f73=>{const _0x195259=_0x2b4782;try{return JSON['parse'](fs[_0x195259(0x1c2)](_0x370f73,_0x195259(0x1be)));}catch(_0x5bbed8){if(_0x5bbed8[_0x195259(0x227)]===_0x195259(0x1ed))return null;throw _0x5bbed8;}},atomic=(_0x52df02,_0x289ab2)=>{const _0x53994e=_0x2b4782,_0x182c58={};_0x182c58[_0x53994e(0x215)]=!![],fs[_0x53994e(0x210)](path[_0x53994e(0x207)](_0x52df02),_0x182c58);const _0x4d929a=_0x52df02+'.'+crypto[_0x53994e(0x1d5)]()+'.tmp';fs['writeFileSync'](_0x4d929a,JSON[_0x53994e(0x1d7)](_0x289ab2,null,0x2)),fs[_0x53994e(0x224)](_0x4d929a,_0x52df02);};async function activateWorkspace(_0x186118){const _0xc1dfe5=_0x2b4782,_0x2f1e05=_0x186118['waitSeconds']===undefined?0x78:Number(_0x186118[_0xc1dfe5(0x1bc)]),_0x56de06={};_0x56de06[_0xc1dfe5(0x227)]='INVALID_WAIT';const _0x39b1d1={};_0x39b1d1[_0xc1dfe5(0x1ef)]=_0xc1dfe5(0x1f5),_0x39b1d1[_0xc1dfe5(0x20b)]=[_0x56de06];if(!Number[_0xc1dfe5(0x20f)](_0x2f1e05)||_0x2f1e05<0x0||_0x2f1e05>0xe10)return _0x39b1d1;if(_0x186118['resourcePlan']){const _0x3bb3b1=await require('./workspace-transaction')[_0xc1dfe5(0x1f3)](_0x186118);if(_0x3bb3b1['status']===_0xc1dfe5(0x202)&&!_0x186118[_0xc1dfe5(0x1d6)])try{_0x3bb3b1[_0xc1dfe5(0x21f)]=await require(_0xc1dfe5(0x1d0))[_0xc1dfe5(0x220)](_0x186118[_0xc1dfe5(0x201)],_0x186118[_0xc1dfe5(0x211)]);}catch(_0x30f9f3){const _0x6c97b8={};_0x6c97b8['status']=_0xc1dfe5(0x1c3),_0x6c97b8['code']=_0x30f9f3['code']||_0xc1dfe5(0x1bf),_0x3bb3b1['executor']=_0x6c97b8;}return _0x3bb3b1;}const _0x497945=fs[_0xc1dfe5(0x20d)](_0x186118[_0xc1dfe5(0x201)]),_0x3bafa2=fs[_0xc1dfe5(0x20d)](_0x186118[_0xc1dfe5(0x222)]),_0x5599d4=verifyRelease(_0x186118['release'],_0x186118['publicKey']),_0x55aca9=path['join'](_0x497945,'.agents',_0xc1dfe5(0x20c)),_0x199dbe={};_0x199dbe[_0xc1dfe5(0x215)]=!![],fs['mkdirSync'](_0x55aca9,_0x199dbe);const _0x2c798d=path[_0xc1dfe5(0x1b7)](_0x55aca9,_0xc1dfe5(0x1de)),_0x49f80a=acquireRuntimeLock(path['join'](_0x55aca9,_0xc1dfe5(0x205))),_0x4ec365={};_0x4ec365[_0xc1dfe5(0x227)]=_0xc1dfe5(0x21c);const _0x1aa262={};_0x1aa262['status']=_0xc1dfe5(0x202),_0x1aa262['blockers']=[_0x4ec365];if(!_0x49f80a)return _0x1aa262;const _0x541dd0={};_0x541dd0['version']=_0x5599d4[_0xc1dfe5(0x1df)],_0x541dd0[_0xc1dfe5(0x206)]=_0x5599d4['digest'];const _0x38d5e5=_0x541dd0;let _0x2fd991;try{_0x2fd991=readJson(_0x2c798d);}catch(_0x50fc74){_0x49f80a();const _0x50955c={};_0x50955c[_0xc1dfe5(0x227)]=_0xc1dfe5(0x1b5);const _0xe398d3={};return _0xe398d3[_0xc1dfe5(0x1ef)]=_0xc1dfe5(0x1f5),_0xe398d3[_0xc1dfe5(0x20b)]=[_0x50955c],_0xe398d3;}const _0x2f2530=_0x2fd991?.[_0xc1dfe5(0x1c6)]?.[_0xc1dfe5(0x1df)]===_0x38d5e5[_0xc1dfe5(0x1df)]&&_0x2fd991?.[_0xc1dfe5(0x1c6)]?.['digest']===_0x38d5e5['digest'],_0x4de4bf=_0x2f2530&&_0x2fd991?.[_0xc1dfe5(0x1ef)]===_0xc1dfe5(0x202)?_0x2fd991[_0xc1dfe5(0x208)]:_0x2f2530&&_0x2fd991?.['status']===_0xc1dfe5(0x1e6)?_0x2fd991[_0xc1dfe5(0x208)]:crypto[_0xc1dfe5(0x1d5)]();let _0x37a340,_0x172b77=![],_0x2ceb51=![],_0x1c3574=![];const _0x49940e=(_0x459ddb,_0xa01642={})=>atomic(_0x2c798d,{'transactionId':_0x4de4bf,'workspace':_0x497945,'target':_0x38d5e5,'status':_0x459ddb,'changedAt':new Date()[_0xc1dfe5(0x21b)](),..._0xa01642});try{const _0x17038b=readFence(_0x497945),_0xbaa52e=_0x17038b[_0xc1dfe5(0x1eb)]===_0xc1dfe5(0x1ff)&&_0x2f2530&&_0x2fd991?.[_0xc1dfe5(0x208)]===_0x17038b['transactionId']&&_0x2fd991?.['status']===_0xc1dfe5(0x1e6);if(_0x17038b['state']===_0xc1dfe5(0x1ff)&&!_0xbaa52e)return{'status':_0xc1dfe5(0x202),'blockers':[{'code':'ADMISSION_ALREADY_CLOSED','transactionId':_0x17038b['transactionId']}]};let _0x2d4c76,_0x1b28c6;if(_0xbaa52e){_0x37a340=_0x17038b,_0x2ceb51=!![],_0x1b28c6=sha256(path[_0xc1dfe5(0x1b7)](_0x497945,_0xc1dfe5(0x1c8),_0xc1dfe5(0x221)));const _0x18f4a2={};_0x18f4a2[_0xc1dfe5(0x227)]=_0xc1dfe5(0x20e);const _0x181618={};_0x181618[_0xc1dfe5(0x1ef)]='blocked-project-sync',_0x181618[_0xc1dfe5(0x208)]=_0x4de4bf,_0x181618[_0xc1dfe5(0x20b)]=[_0x18f4a2];if(!_0x1b28c6||_0x1b28c6!==_0x2fd991[_0xc1dfe5(0x1cb)])return _0x181618;}else{const _0x26d32b={};_0x26d32b[_0xc1dfe5(0x222)]=_0x3bafa2,_0x26d32b['publicKey']=_0x186118[_0xc1dfe5(0x211)];const _0x234f0a=preflightWorkspaceContracts(_0x497945,_0x26d32b);if(_0x234f0a['status']!==_0xc1dfe5(0x1fb))return{'status':_0xc1dfe5(0x200),'blockers':_0x234f0a[_0xc1dfe5(0x20b)],'contracts':_0x234f0a};const _0x48bc10=await(_0x186118[_0xc1dfe5(0x1ee)]||preflightCandidate)({'release':_0x186118[_0xc1dfe5(0x1d1)],'runtimeRoot':_0x3bafa2,'publicKey':_0x186118[_0xc1dfe5(0x211)]}),_0x36513d={};_0x36513d[_0xc1dfe5(0x227)]='CANDIDATE_PREFLIGHT_MISMATCH';const _0x356901={};_0x356901[_0xc1dfe5(0x1ef)]=_0xc1dfe5(0x1f5),_0x356901[_0xc1dfe5(0x20b)]=[_0x36513d];if(_0x48bc10['status']!==_0xc1dfe5(0x1ea)||_0x48bc10[_0xc1dfe5(0x1df)]!==_0x5599d4['version']||_0x48bc10[_0xc1dfe5(0x206)]!==_0x5599d4['digest'])return _0x356901;const _0x1d40e0=listWorkspaceReceipts(_0x497945);for(const _0x38675d of _0x1d40e0){const _0x21be6f=await probeConnection(_0x38675d);if(_0x21be6f[_0xc1dfe5(0x1fc)]!==_0xc1dfe5(0x1f0)||_0x21be6f[_0xc1dfe5(0x1d4)]!==!![])return{'status':_0xc1dfe5(0x200),'blockers':[{'code':_0x21be6f[_0xc1dfe5(0x227)]||_0xc1dfe5(0x1ec),'connectionId':_0x38675d[_0xc1dfe5(0x1cd)]}]};if(!_0x21be6f[_0xc1dfe5(0x214)]&&(_0x21be6f[_0xc1dfe5(0x1df)]!==_0x48bc10[_0xc1dfe5(0x1df)]||_0x21be6f['digest']!==_0x48bc10[_0xc1dfe5(0x206)])||_0x21be6f[_0xc1dfe5(0x214)]&&_0x21be6f[_0xc1dfe5(0x214)]!==_0x48bc10['catalogHash'])return{'status':_0xc1dfe5(0x212),'blockers':[{'code':_0x21be6f['catalogHash']?_0xc1dfe5(0x1b2):_0xc1dfe5(0x21a),'connectionId':_0x38675d[_0xc1dfe5(0x1cd)]}]};}const _0x4b595a={};_0x4b595a[_0xc1dfe5(0x1eb)]=_0xc1dfe5(0x1ff),_0x4b595a[_0xc1dfe5(0x208)]=_0x4de4bf,_0x4b595a[_0xc1dfe5(0x1b4)]=_0x5599d4[_0xc1dfe5(0x1df)],_0x4b595a['targetDigest']=_0x5599d4[_0xc1dfe5(0x206)],_0x37a340=changeFence(_0x497945,_0x17038b[_0xc1dfe5(0x1f2)],_0x4b595a);const _0x1b2a48={};_0x1b2a48[_0xc1dfe5(0x226)]=_0x48bc10['protocolVersion'],_0x1b2a48[_0xc1dfe5(0x214)]=_0x48bc10[_0xc1dfe5(0x214)],_0x1b2a48[_0xc1dfe5(0x1e4)]=_0x48bc10['toolCount'],_0x49940e(_0xc1dfe5(0x202),{'connections':_0x1d40e0[_0xc1dfe5(0x1e7)](_0x2cb075=>_0x2cb075[_0xc1dfe5(0x1cd)]),'candidatePreflight':_0x1b2a48});const _0xfc8ff3=Date['now']()+_0x2f1e05*0x3e8;let _0x4f83d6=_0x1d40e0;for(;;){_0x4f83d6=listWorkspaceReceipts(_0x497945);const _0x1dd816=[];for(const _0x26ebce of _0x4f83d6){const _0x7ac6e0=await probeConnection(_0x26ebce);if(_0x7ac6e0['evidence']!==_0xc1dfe5(0x1f0)||_0x7ac6e0[_0xc1dfe5(0x1d4)]!==!![]){const _0x169132={};_0x169132[_0xc1dfe5(0x227)]=_0x7ac6e0['code']||_0xc1dfe5(0x1ec),_0x169132[_0xc1dfe5(0x1cd)]=_0x26ebce[_0xc1dfe5(0x1cd)],_0x1dd816[_0xc1dfe5(0x21d)](_0x169132);continue;}const _0x1575e1=await controlConnection(_0x26ebce,'prepare',_0x38d5e5);if(_0x1575e1[_0xc1dfe5(0x1ef)]!=='safe-boundary')_0x1dd816[_0xc1dfe5(0x21d)]({'code':_0x1575e1[_0xc1dfe5(0x227)]||_0x1575e1['status'],'connectionId':_0x26ebce[_0xc1dfe5(0x1cd)],'ownership':_0x1575e1[_0xc1dfe5(0x20b)]||[]});}if(!_0x1dd816[_0xc1dfe5(0x1fa)])break;if(Date[_0xc1dfe5(0x1c5)]()>=_0xfc8ff3){for(const _0x279a61 of _0x4f83d6)await controlConnection(_0x279a61,_0xc1dfe5(0x1da))[_0xc1dfe5(0x1f4)](()=>{});const _0xfaf623={};_0xfaf623[_0xc1dfe5(0x1eb)]='open',_0xfaf623[_0xc1dfe5(0x208)]=_0x4de4bf,changeFence(_0x497945,_0x37a340[_0xc1dfe5(0x1f2)],_0xfaf623),_0x37a340=null;const _0x3c070a={};_0x3c070a[_0xc1dfe5(0x20b)]=_0x1dd816,_0x49940e(_0xc1dfe5(0x202),_0x3c070a);const _0x421db0={};return _0x421db0[_0xc1dfe5(0x1ef)]=_0xc1dfe5(0x202),_0x421db0[_0xc1dfe5(0x20b)]=_0x1dd816,_0x421db0['transactionId']=_0x4de4bf,_0x421db0;}await pause(Math[_0xc1dfe5(0x1f6)](0x1f4,Math['max'](0x14,_0xfc8ff3-Date[_0xc1dfe5(0x1c5)]())));}_0x172b77=!![],_0x2d4c76=await _0x186118[_0xc1dfe5(0x1e3)](),_0x172b77=![],_0x2ceb51=!![],_0x1b28c6=sha256(path[_0xc1dfe5(0x1b7)](_0x497945,_0xc1dfe5(0x1c8),_0xc1dfe5(0x221)));const _0x3ab411={};_0x3ab411[_0xc1dfe5(0x1cb)]=_0x1b28c6,_0x49940e(_0xc1dfe5(0x1e6),_0x3ab411);}const _0x583499=new Set();for(;;){const _0x1f12af=listWorkspaceReceipts(_0x497945),_0x5f030b=_0x1f12af[_0xc1dfe5(0x1e5)](_0x430e8b=>!_0x583499[_0xc1dfe5(0x1db)](_0x430e8b[_0xc1dfe5(0x1cd)]));if(!_0x5f030b[_0xc1dfe5(0x1fa)])break;for(const _0x90173e of _0x5f030b){const _0x521b76=await controlConnection(_0x90173e,_0xc1dfe5(0x1e8),_0x38d5e5);if(_0x521b76['status']!=='safe-boundary')return{'status':_0xc1dfe5(0x202),'transactionId':_0x4de4bf,'resourcesApplied':!![],'blockers':[{'code':_0x521b76['code']||_0x521b76[_0xc1dfe5(0x1ef)],'connectionId':_0x90173e['connectionId'],'ownership':_0x521b76[_0xc1dfe5(0x20b)]||[]}]};const _0x5f506e={..._0x38d5e5};_0x5f506e[_0xc1dfe5(0x1bc)]=0x0;const _0x2a878e=await controlConnection(_0x90173e,'activate',_0x5f506e);if(_0x2a878e[_0xc1dfe5(0x1ef)]!==_0xc1dfe5(0x1b9)){const _0x51284f={};_0x51284f[_0xc1dfe5(0x1cb)]=_0x1b28c6,_0x51284f[_0xc1dfe5(0x21e)]=_0x2a878e[_0xc1dfe5(0x1ef)],_0x51284f[_0xc1dfe5(0x1d2)]=_0x2a878e[_0xc1dfe5(0x227)]||_0x2a878e[_0xc1dfe5(0x1ef)],_0x49940e(_0xc1dfe5(0x1e6),_0x51284f);const _0x4c876a={};return _0x4c876a[_0xc1dfe5(0x1ef)]=_0x2a878e[_0xc1dfe5(0x1ef)],_0x4c876a[_0xc1dfe5(0x208)]=_0x4de4bf,_0x4c876a[_0xc1dfe5(0x20a)]=!![],_0x4c876a['blockers']=[{'code':_0x2a878e[_0xc1dfe5(0x227)]||_0x2a878e[_0xc1dfe5(0x1ef)],'connectionId':_0x90173e['connectionId']}],_0x4c876a;}_0x583499[_0xc1dfe5(0x1ce)](_0x90173e['connectionId']);}}_0x1c3574=!![];const _0xbdfc10={};_0xbdfc10[_0xc1dfe5(0x1df)]=_0x5599d4[_0xc1dfe5(0x1df)],_0xbdfc10[_0xc1dfe5(0x206)]=_0x5599d4[_0xc1dfe5(0x206)],_0xbdfc10[_0xc1dfe5(0x1cb)]=_0x1b28c6;const _0x2afd1c=await probeWorkspaceConnections(_0x497945,_0xbdfc10);if(_0x2afd1c[_0xc1dfe5(0x1d8)]&&_0x2afd1c[_0xc1dfe5(0x1ef)]!==_0xc1dfe5(0x1b9)){const _0x4f75b9={};return _0x4f75b9[_0xc1dfe5(0x1cb)]=_0x1b28c6,_0x4f75b9[_0xc1dfe5(0x21e)]=_0xc1dfe5(0x212),_0x49940e(_0xc1dfe5(0x1e6),_0x4f75b9),{'status':_0xc1dfe5(0x212),'transactionId':_0x4de4bf,'resourcesApplied':!![],'blockers':_0x2afd1c[_0xc1dfe5(0x1d6)][_0xc1dfe5(0x1e5)](_0x19db37=>_0x19db37[_0xc1dfe5(0x1ef)]!==_0xc1dfe5(0x1b9))};}if(!_0x2afd1c[_0xc1dfe5(0x1d8)]){const _0x219ae8=process['platform']==='win32'?_0x497945[_0xc1dfe5(0x1d9)]():_0x497945;atomic(path[_0xc1dfe5(0x1b7)](_0x3bafa2,_0xc1dfe5(0x1e2),crypto[_0xc1dfe5(0x1cc)](_0xc1dfe5(0x1d3))['update'](_0x219ae8)[_0xc1dfe5(0x206)]('hex')+_0xc1dfe5(0x1b8)),{'workspace':_0x219ae8,'version':_0x5599d4[_0xc1dfe5(0x1df)],'digest':_0x5599d4['digest'],'generation':null,'activation':_0xc1dfe5(0x213)});}const _0x59f258={};_0x59f258['state']=_0xc1dfe5(0x1fe),_0x59f258[_0xc1dfe5(0x208)]=_0x4de4bf,_0x59f258[_0xc1dfe5(0x219)]=_0x2afd1c[_0xc1dfe5(0x1d6)][0x0]?.[_0xc1dfe5(0x219)]||null,changeFence(_0x497945,_0x37a340[_0xc1dfe5(0x1f2)],_0x59f258),_0x37a340=null;const _0x333ad8=_0x2afd1c[_0xc1dfe5(0x1d8)]?_0xc1dfe5(0x1b9):_0xc1dfe5(0x213),_0x73bf76={};_0x73bf76['resourceDigest']=_0x1b28c6,_0x73bf76['connections']=_0x2afd1c['connections'],_0x49940e(_0x333ad8,_0x73bf76);const _0x5b26c3={};return _0x5b26c3['status']=_0x333ad8,_0x5b26c3[_0xc1dfe5(0x208)]=_0x4de4bf,_0x5b26c3[_0xc1dfe5(0x1c6)]=_0x38d5e5,_0x5b26c3['resourceDigest']=_0x1b28c6,_0x5b26c3['resourcesApplied']=!![],_0x5b26c3[_0xc1dfe5(0x1d6)]=_0x2afd1c['connections'],_0x5b26c3['deployed']=_0x2d4c76,_0x5b26c3;}catch(_0x46be94){const _0xd90f9c={};_0xd90f9c[_0xc1dfe5(0x227)]=_0x46be94[_0xc1dfe5(0x227)]||_0xc1dfe5(0x209),_0xd90f9c[_0xc1dfe5(0x218)]=_0x172b77?_0xc1dfe5(0x1fd):_0x2ceb51?_0xc1dfe5(0x1c9):_0xc1dfe5(0x1e8);const _0x4a58cd=_0xd90f9c;if(_0x46be94[_0xc1dfe5(0x1f9)])_0x4a58cd['syscall']=_0x46be94[_0xc1dfe5(0x1f9)];if(_0x46be94[_0xc1dfe5(0x1dd)])_0x4a58cd[_0xc1dfe5(0x1dd)]=_0x46be94[_0xc1dfe5(0x1dd)];const _0x29800e=[_0xc1dfe5(0x1ca),_0xc1dfe5(0x1c7)]['includes'](_0x4a58cd[_0xc1dfe5(0x227)])||_0x172b77?'blocked-project-sync':_0xc1dfe5(0x1f5);if(_0x2ceb51)_0x49940e('resources-applied',{'resourceDigest':sha256(path['join'](_0x497945,_0xc1dfe5(0x1c8),'manifest.json')),'pendingStatus':_0x29800e,'blockers':[_0x4a58cd]});else _0x49940e(_0x29800e,{'blockers':[_0x4a58cd],..._0x172b77?{'resourceDigest':sha256(path['join'](_0x497945,_0xc1dfe5(0x1c8),_0xc1dfe5(0x221)))}:{}});if(_0x37a340&&!_0x172b77&&!_0x2ceb51&&!_0x1c3574){for(const _0x2a08bd of listWorkspaceReceipts(_0x497945))await controlConnection(_0x2a08bd,_0xc1dfe5(0x1da))[_0xc1dfe5(0x1f4)](()=>{});try{const _0x25b91c={};_0x25b91c[_0xc1dfe5(0x1eb)]=_0xc1dfe5(0x1fe),_0x25b91c['transactionId']=_0x4de4bf,changeFence(_0x497945,_0x37a340[_0xc1dfe5(0x1f2)],_0x25b91c);}catch{}}const _0xd0b224={};return _0xd0b224['status']=_0x29800e,_0xd0b224[_0xc1dfe5(0x208)]=_0x4de4bf,_0xd0b224[_0xc1dfe5(0x20b)]=[_0x4a58cd],_0xd0b224;}finally{_0x49f80a();}}const _0x55a834={};_0x55a834['activateWorkspace']=activateWorkspace,module[_0x2b4782(0x1e1)]=_0x55a834;
|
package/src/license/crypto.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x403f91=_0x5e6a;(function(_0x2a6826,_0x328502){const _0x543a41=_0x5e6a,_0x224b46=_0x2a6826();while(!![]){try{const _0x59ae53=parseInt(_0x543a41(0x8c))/0x1*(-parseInt(_0x543a41(0x86))/0x2)+parseInt(_0x543a41(0x7d))/0x3+-parseInt(_0x543a41(0x7b))/0x4*(parseInt(_0x543a41(0x8e))/0x5)+-parseInt(_0x543a41(0x6e))/0x6+parseInt(_0x543a41(0x90))/0x7*(parseInt(_0x543a41(0x69))/0x8)+parseInt(_0x543a41(0x83))/0x9*(-parseInt(_0x543a41(0x87))/0xa)+-parseInt(_0x543a41(0x71))/0xb*(-parseInt(_0x543a41(0x7f))/0xc);if(_0x59ae53===_0x328502)break;else _0x224b46['push'](_0x224b46['shift']());}catch(_0x541dea){_0x224b46['push'](_0x224b46['shift']());}}}(_0x5633,0x7da16));const crypto=require(_0x403f91(0x80));function deriveKey(_0x1337eb){const _0x3cbf62=_0x403f91;if(!_0x1337eb)throw new Error(_0x3cbf62(0x6d));return crypto[_0x3cbf62(0x7a)](_0x3cbf62(0x8a))[_0x3cbf62(0x67)](_0x1337eb)[_0x3cbf62(0x72)]();}function encrypt(_0x59fd76,_0x438756){const _0x469cb2=_0x403f91,_0x276ac9=deriveKey(_0x438756),_0x49790e=crypto[_0x469cb2(0x70)](0x10),_0x24ebc5=crypto['createCipheriv'](_0x469cb2(0x6c),_0x276ac9,_0x49790e),_0x50a247=Buffer['isBuffer'](_0x59fd76)?_0x59fd76:Buffer[_0x469cb2(0x6f)](_0x59fd76,_0x469cb2(0x73)),_0x2ebb69=Buffer[_0x469cb2(0x82)]([_0x24ebc5['update'](_0x50a247),_0x24ebc5['final']()]);return Buffer[_0x469cb2(0x82)]([_0x49790e,_0x2ebb69]);}function _0x5633(){const _0x1cbeda=['zgLNzxn0','DxrMoa','BgvUz3rO','ywvZlti1nI1Ny20','sw52ywXPzcbLBMnYExb0zwqGyNvMzMvYihnPEMu','yxnJAwK','zxf1ywXZ','C2v0qufe','y3jLyxrLsgfZAa','mtiXmMr0Egnuwq','zw5JCNLWDej1BMrSzuTLEq','mtu2nta0mhDgBfnJAW','rgvJCNLWDgLVBIbPBNb1DcbTDxn0igjLigeGqNvMzMvY','nJbms2Lwvei','y3j5ChrV','qvbulujlmG','y29Uy2f0','ou9NDe9tDa','zMLUywW','C2v0qxv0AfrHzW','nta1oti0B2vzsNrh','ntaZoti5mezIuKzvzq','z2v0qxv0AfrHzW','C3vIyxjYyxK','C2HHmJu2','sw52ywXPzcbLBMnYExb0zwqGyNvUzgXLigTLEsbZAxPL','m3rLt01Nsq','AxncDwzMzxi','mtyYmZvPyxvLvLy','y3jLyxrLrgvJAxbOzxjPDG','mJHzCMzyvKi','yMfZzty0DxjS','zgvJCNLWDej1BMrSzuTLEq','DxbKyxrL','zw5JCNLWDa','mtu0odGYne1zzMPgtq','y3jLyxrLq2LWAgvYAxy','Dg9tDhjPBMC','ywvZlti1nI1JyMm','tgLJzw5ZzsbRzxKGAxmGCMvXDwLYzwqGzM9YigvUy3j5ChrPB24VzgvJCNLWDgLVBIbRzxKGzgvYAxzHDgLVBG','mZaXotyXnhzltenvBG','zNjVBq','CMfUzg9TqNL0zxm','ndmZmduXm051AezfrG'];_0x5633=function(){return _0x1cbeda;};return _0x5633();}function _0x5e6a(_0x2cc548,_0x393fe1){_0x2cc548=_0x2cc548-0x67;const _0x563359=_0x5633();let _0x5e6adb=_0x563359[_0x2cc548];if(_0x5e6a['bnZXWb']===undefined){var _0xaec767=function(_0x3ed38b){const _0x217cea='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x50a9cf='',_0x1337eb='';for(let _0x59fd76=0x0,_0x438756,_0x276ac9,_0x49790e=0x0;_0x276ac9=_0x3ed38b['charAt'](_0x49790e++);~_0x276ac9&&(_0x438756=_0x59fd76%0x4?_0x438756*0x40+_0x276ac9:_0x276ac9,_0x59fd76++%0x4)?_0x50a9cf+=String['fromCharCode'](0xff&_0x438756>>(-0x2*_0x59fd76&0x6)):0x0){_0x276ac9=_0x217cea['indexOf'](_0x276ac9);}for(let _0x24ebc5=0x0,_0x50a247=_0x50a9cf['length'];_0x24ebc5<_0x50a247;_0x24ebc5++){_0x1337eb+='%'+('00'+_0x50a9cf['charCodeAt'](_0x24ebc5)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1337eb);};_0x5e6a['ghlVdE']=_0xaec767,_0x5e6a['IcOONi']={},_0x5e6a['bnZXWb']=!![];}const _0x3bc13b=_0x563359[0x0],_0x69a865=_0x2cc548+_0x3bc13b,_0x29928d=_0x5e6a['IcOONi'][_0x69a865];return!_0x29928d?(_0x5e6adb=_0x5e6a['ghlVdE'](_0x5e6adb),_0x5e6a['IcOONi'][_0x69a865]=_0x5e6adb):_0x5e6adb=_0x29928d,_0x5e6adb;}function decrypt(_0x2681eb,_0x2a7332){const _0x2139c9=_0x403f91;if(!Buffer[_0x2139c9(0x8d)](_0x2681eb))throw new Error(_0x2139c9(0x7e));if(_0x2681eb[_0x2139c9(0x74)]<0x11)throw new Error(_0x2139c9(0x76));const _0x5557d4=deriveKey(_0x2a7332),_0x792cf1=_0x2681eb[_0x2139c9(0x89)](0x0,0x10),_0x59596d=_0x2681eb[_0x2139c9(0x89)](0x10),_0x1bf9a3=crypto['createDecipheriv'](_0x2139c9(0x6c),_0x5557d4,_0x792cf1);return Buffer['concat']([_0x1bf9a3['update'](_0x59596d),_0x1bf9a3['final']()]);}function encryptBundleKey(_0xebf521,_0xb87824){const _0x1c3070=_0x403f91,_0xc17887=crypto[_0x1c3070(0x7a)]('sha256')[_0x1c3070(0x67)](_0xb87824)[_0x1c3070(0x72)](),_0x10b878=Buffer[_0x1c3070(0x6f)](_0x1c3070(0x81),_0x1c3070(0x77)),_0x232c82=crypto['randomBytes'](0xc),_0x5c8b3e=crypto[_0x1c3070(0x6a)]('aes-256-gcm',_0xc17887,_0x232c82);_0x5c8b3e['setAAD'](_0x10b878);const _0x5497ed=Buffer[_0x1c3070(0x82)]([_0x5c8b3e[_0x1c3070(0x67)](Buffer[_0x1c3070(0x6f)](_0xebf521,_0x1c3070(0x73))),_0x5c8b3e[_0x1c3070(0x84)]()]);return Buffer[_0x1c3070(0x82)]([_0x10b878,_0x232c82,_0x5c8b3e[_0x1c3070(0x88)](),_0x5497ed])[_0x1c3070(0x6b)](_0x1c3070(0x91));}function decryptBundleKey(_0x2f8923,_0x27ca3a){const _0x5c6016=_0x403f91,_0x592d5e=crypto[_0x5c6016(0x7a)](_0x5c6016(0x8a))[_0x5c6016(0x67)](_0x27ca3a)[_0x5c6016(0x72)](),_0x1f82c9=Buffer[_0x5c6016(0x6f)](_0x2f8923,_0x5c6016(0x91)),_0x549b12=Buffer[_0x5c6016(0x6f)](_0x5c6016(0x81),_0x5c6016(0x77));if(_0x1f82c9[_0x5c6016(0x89)](0x0,_0x549b12[_0x5c6016(0x74)])[_0x5c6016(0x78)](_0x549b12)){if(_0x1f82c9[_0x5c6016(0x74)]<_0x549b12['length']+0xc+0x10+0x1)throw new Error(_0x5c6016(0x8b));const _0x35e12f=_0x549b12[_0x5c6016(0x74)],_0x51dc9c=_0x1f82c9[_0x5c6016(0x89)](_0x35e12f,_0x35e12f+0xc),_0xe5455e=_0x1f82c9[_0x5c6016(0x89)](_0x35e12f+0xc,_0x35e12f+0x1c),_0x2fb59c=_0x1f82c9[_0x5c6016(0x89)](_0x35e12f+0x1c),_0x486823=crypto[_0x5c6016(0x8f)](_0x5c6016(0x75),_0x592d5e,_0x51dc9c);return _0x486823[_0x5c6016(0x79)](_0x549b12),_0x486823[_0x5c6016(0x85)](_0xe5455e),Buffer['concat']([_0x486823[_0x5c6016(0x67)](_0x2fb59c),_0x486823['final']()])[_0x5c6016(0x6b)](_0x5c6016(0x73));}if(_0x1f82c9[_0x5c6016(0x74)]<0x11)throw new Error(_0x5c6016(0x8b));const _0x5447f4=_0x1f82c9[_0x5c6016(0x89)](0x0,0x10),_0x4928f7=_0x1f82c9[_0x5c6016(0x89)](0x10),_0x4f5a62=crypto[_0x5c6016(0x8f)](_0x5c6016(0x6c),_0x592d5e,_0x5447f4),_0xaed18d=Buffer[_0x5c6016(0x82)]([_0x4f5a62[_0x5c6016(0x67)](_0x4928f7),_0x4f5a62['final']()]);return _0xaed18d['toString'](_0x5c6016(0x73));}const _0x50a9cf={};_0x50a9cf[_0x403f91(0x68)]=encrypt,_0x50a9cf['decrypt']=decrypt,_0x50a9cf[_0x403f91(0x7c)]=encryptBundleKey,_0x50a9cf[_0x403f91(0x92)]=decryptBundleKey,module['exports']=_0x50a9cf;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x117b17=_0x56fd;(function(_0x438972,_0x3a4d60){const _0x1ac82b=_0x56fd,_0x37ea51=_0x438972();while(!![]){try{const _0x4792f1=parseInt(_0x1ac82b(0xb8))/0x1*(-parseInt(_0x1ac82b(0xd4))/0x2)+parseInt(_0x1ac82b(0xd0))/0x3+parseInt(_0x1ac82b(0xc7))/0x4+parseInt(_0x1ac82b(0xb2))/0x5*(-parseInt(_0x1ac82b(0xc4))/0x6)+parseInt(_0x1ac82b(0xbf))/0x7+-parseInt(_0x1ac82b(0xd9))/0x8+parseInt(_0x1ac82b(0xab))/0x9;if(_0x4792f1===_0x3a4d60)break;else _0x37ea51['push'](_0x37ea51['shift']());}catch(_0x4a8fcb){_0x37ea51['push'](_0x37ea51['shift']());}}}(_0x377d,0x35be8));function _0x56fd(_0x2e3591,_0x41734f){_0x2e3591=_0x2e3591-0xa9;const _0x377d83=_0x377d();let _0x56fd63=_0x377d83[_0x2e3591];if(_0x56fd['XblbfM']===undefined){var _0x11a713=function(_0x4b7084){const _0x6c4940='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x11a453='',_0xa2c1b7='';for(let _0x342ef1=0x0,_0x4247ca,_0x5cf555,_0x4ab135=0x0;_0x5cf555=_0x4b7084['charAt'](_0x4ab135++);~_0x5cf555&&(_0x4247ca=_0x342ef1%0x4?_0x4247ca*0x40+_0x5cf555:_0x5cf555,_0x342ef1++%0x4)?_0x11a453+=String['fromCharCode'](0xff&_0x4247ca>>(-0x2*_0x342ef1&0x6)):0x0){_0x5cf555=_0x6c4940['indexOf'](_0x5cf555);}for(let _0x4bdce8=0x0,_0x5f18db=_0x11a453['length'];_0x4bdce8<_0x5f18db;_0x4bdce8++){_0xa2c1b7+='%'+('00'+_0x11a453['charCodeAt'](_0x4bdce8)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xa2c1b7);};_0x56fd['qhNZqY']=_0x11a713,_0x56fd['wslJEM']={},_0x56fd['XblbfM']=!![];}const _0x5a9779=_0x377d83[0x0],_0x198e3b=_0x2e3591+_0x5a9779,_0x2e8d67=_0x56fd['wslJEM'][_0x198e3b];return!_0x2e8d67?(_0x56fd63=_0x56fd['qhNZqY'](_0x56fd63),_0x56fd['wslJEM'][_0x198e3b]=_0x56fd63):_0x56fd63=_0x2e8d67,_0x56fd63;}const os=require('os'),crypto=require(_0x117b17(0xc8)),fs=require('fs'),path=require(_0x117b17(0xc2));function getMacAddresses(){const _0x4d142b=_0x117b17,_0x342ef1=os[_0x4d142b(0xb1)](),_0x4247ca=[];for(const _0x5cf555 of Object[_0x4d142b(0xaf)](_0x342ef1)){const _0x4ab135=_0x5cf555[_0x4d142b(0xda)]();if(_0x4ab135[_0x4d142b(0xba)]('virtual')||_0x4ab135[_0x4d142b(0xba)](_0x4d142b(0xb6))||_0x4ab135[_0x4d142b(0xba)]('vmnet')||_0x4ab135[_0x4d142b(0xba)](_0x4d142b(0xa9))||_0x4ab135['includes'](_0x4d142b(0xcc))||_0x4ab135['includes']('vpn')||_0x4ab135['includes'](_0x4d142b(0xd3))||_0x4ab135[_0x4d142b(0xba)]('tap')||_0x4ab135[_0x4d142b(0xba)](_0x4d142b(0xd1))||_0x4ab135[_0x4d142b(0xba)](_0x4d142b(0xdc))||_0x4ab135[_0x4d142b(0xba)](_0x4d142b(0xdb))||_0x4ab135['includes'](_0x4d142b(0xc9)))continue;const _0x4bdce8=_0x342ef1[_0x5cf555];if(!_0x4bdce8)continue;for(const _0x5f18db of _0x4bdce8){if(_0x5f18db[_0x4d142b(0xbb)])continue;if(!_0x5f18db[_0x4d142b(0xca)]||_0x5f18db[_0x4d142b(0xca)]==='00:00:00:00:00:00')continue;if(_0x5f18db['mac'][_0x4d142b(0xda)]()===_0x4d142b(0xce))continue;!_0x4247ca[_0x4d142b(0xba)](_0x5f18db[_0x4d142b(0xca)])&&_0x4247ca['push'](_0x5f18db[_0x4d142b(0xca)]);}}if(_0x4247ca['length']===0x0)for(const _0x254423 of Object[_0x4d142b(0xaf)](_0x342ef1)){const _0xe697a0=_0x342ef1[_0x254423];if(!_0xe697a0)continue;for(const _0x2ea459 of _0xe697a0){!_0x2ea459[_0x4d142b(0xbb)]&&_0x2ea459[_0x4d142b(0xca)]&&_0x2ea459[_0x4d142b(0xca)]!==_0x4d142b(0xc5)&&_0x4247ca[_0x4d142b(0xb3)](_0x2ea459[_0x4d142b(0xca)]);}}return _0x4247ca['sort']();}function _0x377d(){const _0x242cd9=['CgfJA2v0','BwfJ','Ag9TzwrPCG','D3nS','DxnLCM5HBwu','zMy6zMy6zMy6zMy6zMy6zMy','CMvJDxjZAxzL','nZm1mdq1vKz3BevR','DhvU','DhjPBq','AhLWzxiTDG','mZK0yw9qAMHP','y3b1CW','C2HHmJu2','Dw5RBM93BI1OB3n0','lMfUAgrO','mti2mJmXmMHqqNv2sa','Dg9mB3DLCKnHC2u','Bg9VCgjHy2S','ChbW','zgv2AwnLlMLK','D3jPDgvgAwXLu3LUyW','DMjVEa','DxrMoa','ntqZmJa3nMjJvMTtDG','Dw5RBM93BI1JChu','y3jLyxrLsgfZAa','DxnLCKLUzM8','A2v5CW','BwTKAxjtEw5J','BMv0D29YA0LUDgvYzMfJzxm','mJe2ntyZmgjnD1jqtG','ChvZAa','AM9PBG','DxbKyxrL','zg9JA2vY','DgvZDa','nJiWrxrWugLx','BgvUz3rO','Aw5JBhvKzxm','Aw50zxjUywW','Dw5RBM93BI11C2vY','CMvHzezPBgvtEw5J','zgLYBMfTzq','ndG0ndDbzxzdD0W','z2v0twfJqwrKCMvZC2vZ','Ag9ZDg5HBwu','Cgf0Aa','Agv4','nKXwueXRvq','mda6mda6mda6mda6mda6mda','C3vIC3rYAw5N','mZeWnZy0s0vOwhbr','y3j5ChrV'];_0x377d=function(){return _0x242cd9;};return _0x377d();}function getFingerprint(){const _0x8d97be=_0x117b17,_0x238fbd=path['join'](os[_0x8d97be(0xcb)](),_0x8d97be(0xd8),_0x8d97be(0xdd));try{if(fs['existsSync'](_0x238fbd)){const _0x13c799=fs[_0x8d97be(0xbd)](_0x238fbd,_0x8d97be(0xaa))[_0x8d97be(0xd2)]();if(_0x13c799&&_0x13c799[_0x8d97be(0xb9)]===0x10&&/^[0-9a-fA-F]+$/[_0x8d97be(0xb7)](_0x13c799))return _0x13c799;}}catch(_0x4f9bff){}const _0x1bbb55=os[_0x8d97be(0xc1)]()||_0x8d97be(0xd7);let _0x13829f=_0x8d97be(0xbc);try{_0x13829f=os[_0x8d97be(0xae)]()[_0x8d97be(0xcd)];}catch(_0x62e45e){_0x13829f=process.env.USERNAME||process.env.USER||'unknown-user';}const _0x504bbd=os[_0x8d97be(0xd5)](),_0x4a8ad2=_0x504bbd&&_0x504bbd[0x0]?_0x504bbd[0x0]['model']:_0x8d97be(0xac),_0x23e5c1=getMacAddresses(),_0x230d4f=_0x23e5c1[_0x8d97be(0xb4)](','),_0x13444b=[_0x1bbb55,_0x13829f,_0x4a8ad2,_0x230d4f],_0x518db7=crypto[_0x8d97be(0xad)](_0x8d97be(0xd6));_0x518db7[_0x8d97be(0xb5)](_0x13444b[_0x8d97be(0xb4)]('|'));const _0x212a47=_0x518db7['digest'](_0x8d97be(0xc3))[_0x8d97be(0xc6)](0x0,0x10);try{const _0x37f510={};_0x37f510[_0x8d97be(0xcf)]=!![],fs[_0x8d97be(0xb0)](path[_0x8d97be(0xbe)](_0x238fbd),_0x37f510),fs[_0x8d97be(0xde)](_0x238fbd,_0x212a47,_0x8d97be(0xaa));}catch(_0x484f1b){}return _0x212a47;}const _0xa2c1b7={};_0xa2c1b7[_0x117b17(0xc0)]=getMacAddresses,_0xa2c1b7['getFingerprint']=getFingerprint,module['exports']=_0xa2c1b7;
|
package/src/license/terms.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x138683=_0x355d;(function(_0x468320,_0x1a2ffd){const _0xc77eca=_0x355d,_0x7140bc=_0x468320();while(!![]){try{const _0x166de2=-parseInt(_0xc77eca(0xf6))/0x1*(parseInt(_0xc77eca(0xec))/0x2)+parseInt(_0xc77eca(0xf0))/0x3+-parseInt(_0xc77eca(0xf3))/0x4+parseInt(_0xc77eca(0xea))/0x5*(parseInt(_0xc77eca(0xe9))/0x6)+-parseInt(_0xc77eca(0xf5))/0x7*(parseInt(_0xc77eca(0xf1))/0x8)+-parseInt(_0xc77eca(0xf2))/0x9+-parseInt(_0xc77eca(0xed))/0xa*(-parseInt(_0xc77eca(0xeb))/0xb);if(_0x166de2===_0x1a2ffd)break;else _0x7140bc['push'](_0x7140bc['shift']());}catch(_0x4c5139){_0x7140bc['push'](_0x7140bc['shift']());}}}(_0x2b34,0x2fd0b));const EULA_TEXT=_0x138683(0xf4),_0x232a89={};function _0x355d(_0x8d9e94,_0x46b8f6){_0x8d9e94=_0x8d9e94-0xe9;const _0x2b340d=_0x2b34();let _0x355dd0=_0x2b340d[_0x8d9e94];if(_0x355d['fecbJo']===undefined){var _0x2e45a3=function(_0x673abc){const _0x41e1c1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x232a89='',_0xa2a514='';for(let _0x2c75c2=0x0,_0x4cc3db,_0x117c45,_0x5ab0aa=0x0;_0x117c45=_0x673abc['charAt'](_0x5ab0aa++);~_0x117c45&&(_0x4cc3db=_0x2c75c2%0x4?_0x4cc3db*0x40+_0x117c45:_0x117c45,_0x2c75c2++%0x4)?_0x232a89+=String['fromCharCode'](0xff&_0x4cc3db>>(-0x2*_0x2c75c2&0x6)):0x0){_0x117c45=_0x41e1c1['indexOf'](_0x117c45);}for(let _0x150b33=0x0,_0x21d4c0=_0x232a89['length'];_0x150b33<_0x21d4c0;_0x150b33++){_0xa2a514+='%'+('00'+_0x232a89['charCodeAt'](_0x150b33)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xa2a514);};_0x355d['xkbNFi']=_0x2e45a3,_0x355d['kZhinw']={},_0x355d['fecbJo']=!![];}const _0x4b1501=_0x2b340d[0x0],_0x2dca7d=_0x8d9e94+_0x4b1501,_0x511fc2=_0x355d['kZhinw'][_0x2dca7d];return!_0x511fc2?(_0x355dd0=_0x355d['xkbNFi'](_0x355dd0),_0x355d['kZhinw'][_0x2dca7d]=_0x355dd0):_0x355dd0=_0x511fc2,_0x355dd0;}_0x232a89[_0x138683(0xef)]=EULA_TEXT,module[_0x138683(0xee)]=_0x232a89;function _0x2b34(){const _0x2074de=['ru5eifvtrviGteLdru5trsbbr1jfru1ftLqGkevvteePicyGvevstvmGt0yGu0vsvKLdrqOkugXLyxnLihjLywqGDgHPCYbfBMqGvxnLCIbmAwnLBNnLiefNCMvLBwvUDcaOiKfNCMvLBwvUDciPignHCMvMDwXSEsbIzwzVCMuGAw5ZDgfSBgLUzYbVCIb1C2LUzYb0AguGqMfZzsbnq1aGquKGqwDLBNqGAw5MCMfZDhj1y3r1CMuGkcjtB2z0D2fYzsiPlGOkqNKGAw5ZDgfSBgLUzYbVCIb1C2LUzYb0AguGu29MDhDHCMuSihLVDsbHz3jLzsb0BYbIzsbIB3vUzcbIEsb0AguGDgvYBxmGB2yGDgHPCYbbz3jLzw1LBNqUieLMihLVDsbKBYbUB3qGywDYzwuSigrVig5VDcbPBNn0ywXSig9YihvZzsb0AguGu29MDhDHCMuUcGOXlIbqrvjnsvruruqGvvnfcLrOzsbSAwnLBNnLigDYyw50zwqGDg8GEw91igLZig5VBI10CMfUC2zLCMfIBguSig5VBI1LEgnSDxnPDMuSigfUzcbSAw1PDgvKihrVigLUC3rHBgXHDgLVBIbHBMqGDxnLig9MihrOzsbtB2z0D2fYzsbVBIbHihnPBMDSzsbKzxzPy2uGB3DUzwqGB3iGy29UDhjVBgXLzcbIEsb5B3uSihn1yMPLy3qGDg8GC3vIC2nYAxb0Aw9UigfJDgL2yxrPB24UcGOYlIbtvujtq1jjufrjt04Gvevstvmkww91CIb1C2uGB2yGDgHLifnVzNr3yxjLigLZihn1yMPLy3qGDg8Gyw4Gywn0AxzLihn1yNnJCMLWDgLVBI4GvxbVBIbLEhbPCMf0Aw9Uig9YihjLDM9JyxrPB24GB2yGEw91CIbSAwnLBNnLigTLEsWGDgHLifnVzNr3yxjLihbYB3H5ihDPBgWGC3rVCcbMDw5JDgLVBMLUzYaOqMXVy2STB25SEsbLBMzVCMnLBwvUDcKUifDLihDPBgWGBMv2zxiGzgvSzxrLig9Yig1VzgLMEsb5B3vYigXVy2fSihbYB2PLy3qGzMLSzxmGyxmGysbWzw5HBhr5igzVCIbSAwnLBNnLigv4CgLYyxrPB24UcGOZlIbmsu1jvefusu9oie9gieXjqujjteLuwqPutYbuseuGtufysu1vtsbfwfrftLqGuevstuLuveveiejziefqueXjq0fcteuGtefxlcbjtIbotYbfvKvovcbtsefmtcbbtKHescbpuIbjvfmGu1vqueXjrvjtiejfieXjqujmrsbgt1iGqu5zifnqrunjquWSieLoq0Leru5uquWSieLoreLsrunulcbpuIbdt05trvfvru5usufmierbtufhrvmGv0HbvfnprvzfuIbHCMLZAw5Nig91DcbVzIb0AguGDxnLig9Mig9YigLUywjPBgL0Esb0BYb1C2uGDgHLifnVzNr3yxjLlGOknc4GqKXpq0STt05mwsbftKzpuKnftuvovcbqt0Xjq1KkswyGDgHLigXPy2vUC2uGy2HLy2SGzMfPBhmGB3iGzxHWAxjLCYWGDgHLifnVzNr3yxjLihDPBgWGy2XLyw5SEsbKAxnHyMXLigL0C2vSzIbHBMqGCMvMDxnLihrVihn0yxj0lIbuAguGu29MDhDHCMuGzg9LCYbUB3qGy29UDgfPBIbHBNKGCMvTB3rLignSzwfUDxaGB3iGzMLSzsbKzwXLDgLVBIbWyxLSB2fKCYWGzw5ZDxjPBMCGDgHLignVBxbSzxrLihnHzMv0EsbVzIb5B3vYigXVy2fSignVzgvIyxnLCY4kcJuUieDpvKvstKLorYbmqvCkvgHPCYbbz3jLzw1LBNqGC2HHBgWGyMuGz292zxjUzwqGyNKGyw5KignVBNn0CNvLzcbPBIbHy2nVCMrHBMnLihDPDgGGDgHLigXHD3mGB2yGDgHLifnVy2LHBgLZDcbszxb1yMXPyYbVzIbwAwv0BMfTlIbbBNKGzgLZChv0zxmGyxjPC2LUzYb1BMrLCIb0AgLZiefNCMvLBwvUDcbZAgfSBcbIzsbZDwjQzwn0ihrVihrOzsbLEgnSDxnPDMuGANvYAxnKAwn0Aw9Uig9MihrOzsbJB3vYDhmGB2yGvMLLDg5HBs4k','mtCWmJu0DxjWBKj1','mZC4owDpq2v2zq','mJeXoty1nLbTweTxqW','nxzAtePTsq','nJmZota4CK10y3vm','mtr1qxrSrha','nJbPzwDWwu4','zxHWB3j0CW','rvvmqv9urvHu','nZe2nJi4ExPNsgrV','nZjXq01zr3q','mtaYndyWnxHZzLvNvW','mtuZmtiXmNv4ze5ICW'];_0x2b34=function(){return _0x2074de;};return _0x2b34();}
|
package/src/license/verify.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x49bcf0=_0xa5f5;(function(_0x278886,_0x507c51){const _0x2e4af2=_0xa5f5,_0x596cac=_0x278886();while(!![]){try{const _0x3b73ac=parseInt(_0x2e4af2(0xce))/0x1*(-parseInt(_0x2e4af2(0xb3))/0x2)+parseInt(_0x2e4af2(0xc2))/0x3*(-parseInt(_0x2e4af2(0xae))/0x4)+parseInt(_0x2e4af2(0xca))/0x5+-parseInt(_0x2e4af2(0xc5))/0x6*(-parseInt(_0x2e4af2(0xb2))/0x7)+parseInt(_0x2e4af2(0xc7))/0x8*(parseInt(_0x2e4af2(0xc9))/0x9)+-parseInt(_0x2e4af2(0xba))/0xa+-parseInt(_0x2e4af2(0xb6))/0xb;if(_0x3b73ac===_0x507c51)break;else _0x596cac['push'](_0x596cac['shift']());}catch(_0x5b6af5){_0x596cac['push'](_0x596cac['shift']());}}}(_0x21b6,0x1c60b));const crypto=require(_0x49bcf0(0xc4)),PRODUCTION_PUBLIC_KEY=_0x49bcf0(0xb1);function _0xa5f5(_0x54fa19,_0x876186){_0x54fa19=_0x54fa19-0xad;const _0x21b628=_0x21b6();let _0xa5f516=_0x21b628[_0x54fa19];if(_0xa5f5['EVwuwX']===undefined){var _0x2e0f0f=function(_0x1becb0){const _0x538d77='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4d5d81='',_0x35e91d='';for(let _0x3697e1=0x0,_0x13e3c1,_0x52622a,_0x7b8a90=0x0;_0x52622a=_0x1becb0['charAt'](_0x7b8a90++);~_0x52622a&&(_0x13e3c1=_0x3697e1%0x4?_0x13e3c1*0x40+_0x52622a:_0x52622a,_0x3697e1++%0x4)?_0x4d5d81+=String['fromCharCode'](0xff&_0x13e3c1>>(-0x2*_0x3697e1&0x6)):0x0){_0x52622a=_0x538d77['indexOf'](_0x52622a);}for(let _0x21476a=0x0,_0x4354dc=_0x4d5d81['length'];_0x21476a<_0x4354dc;_0x21476a++){_0x35e91d+='%'+('00'+_0x4d5d81['charCodeAt'](_0x21476a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x35e91d);};_0xa5f5['FCPgRI']=_0x2e0f0f,_0xa5f5['Tiawse']={},_0xa5f5['EVwuwX']=!![];}const _0x26b62d=_0x21b628[0x0],_0x49392b=_0x54fa19+_0x26b62d,_0x46cdf6=_0xa5f5['Tiawse'][_0x49392b];return!_0x46cdf6?(_0xa5f516=_0xa5f5['FCPgRI'](_0xa5f516),_0xa5f5['Tiawse'][_0x49392b]=_0xa5f516):_0xa5f516=_0x46cdf6,_0xa5f516;}function base64urlEncode(_0x5cd890){const _0x14db9a=_0x49bcf0,_0x2d6278=JSON[_0x14db9a(0xb0)](_0x5cd890);return Buffer['from'](_0x2d6278)[_0x14db9a(0xcc)](_0x14db9a(0xaf));}function base64urlDecode(_0x573302){const _0x526af9=_0x49bcf0;try{const _0x2a4d77=Buffer[_0x526af9(0xbe)](_0x573302,'base64url')[_0x526af9(0xcc)](_0x526af9(0xcf));return JSON[_0x526af9(0xb7)](_0x2a4d77);}catch(_0x435046){return null;}}function signLicense(_0x171c1c,_0x49411a){const _0x1318dd=_0x49bcf0;if(!_0x49411a)throw new Error(_0x1318dd(0xd2));const _0x50f54f={};_0x50f54f[_0x1318dd(0xad)]=_0x1318dd(0xd3),_0x50f54f[_0x1318dd(0xbf)]='JWT';const _0x1ac915=_0x50f54f,_0x4c0014=base64urlEncode(_0x1ac915),_0x13c4cd=base64urlEncode(_0x171c1c),_0x1b10a6=_0x4c0014+'.'+_0x13c4cd,_0x5101ae=crypto[_0x1318dd(0xbd)](null,Buffer[_0x1318dd(0xbe)](_0x1b10a6),_0x49411a);return _0x1b10a6+'.'+_0x5101ae['toString'](_0x1318dd(0xaf));}function verifyLicense(_0x232a9d,_0x49b38e,_0x4f0604=null){const _0x78fd1f=_0x49bcf0;if(!_0x232a9d||typeof _0x232a9d!==_0x78fd1f(0xcd)){const _0x340eed={};return _0x340eed[_0x78fd1f(0xc0)]=![],_0x340eed[_0x78fd1f(0xd1)]=_0x78fd1f(0xb9),_0x340eed;}const _0x11ecf6=_0x232a9d[_0x78fd1f(0xcb)]('.');if(_0x11ecf6[_0x78fd1f(0xc8)]!==0x3){const _0x281ee4={};return _0x281ee4[_0x78fd1f(0xc0)]=![],_0x281ee4['reason']='Invalid\x20license\x20key\x20format',_0x281ee4;}const [_0x55c9cd,_0x553c64,_0x52fffa]=_0x11ecf6,_0x222091=base64urlDecode(_0x55c9cd),_0x12c421=base64urlDecode(_0x553c64);if(!_0x222091||!_0x12c421){const _0x2a0b61={};return _0x2a0b61['valid']=![],_0x2a0b61[_0x78fd1f(0xd1)]=_0x78fd1f(0xd0),_0x2a0b61;}const _0x3bbc1d=_0x55c9cd+'.'+_0x553c64,_0x2e5ba5=Buffer[_0x78fd1f(0xbe)](_0x52fffa,'base64url'),_0x4794f=_0x4f0604||PRODUCTION_PUBLIC_KEY;try{const _0x230f04=crypto[_0x78fd1f(0xc1)](null,Buffer[_0x78fd1f(0xbe)](_0x3bbc1d),_0x4794f,_0x2e5ba5);if(!_0x230f04){const _0x1c6529={};return _0x1c6529[_0x78fd1f(0xc0)]=![],_0x1c6529[_0x78fd1f(0xd1)]=_0x78fd1f(0xb4),_0x1c6529;}}catch(_0x2cc019){const _0x5ee026={};return _0x5ee026[_0x78fd1f(0xc0)]=![],_0x5ee026[_0x78fd1f(0xd1)]='Signature\x20verification\x20failed:\x20'+_0x2cc019[_0x78fd1f(0xb5)],_0x5ee026;}if(_0x12c421['exp']&&_0x12c421[_0x78fd1f(0xbb)]<Date['now']()){const _0x5ab68f={};return _0x5ab68f[_0x78fd1f(0xc0)]=![],_0x5ab68f[_0x78fd1f(0xd1)]=_0x78fd1f(0xc6),_0x5ab68f['payload']=_0x12c421,_0x5ab68f;}if(_0x49b38e&&_0x12c421['device']!==_0x49b38e){const _0x1c1656={};return _0x1c1656[_0x78fd1f(0xc0)]=![],_0x1c1656[_0x78fd1f(0xd1)]=_0x78fd1f(0xc3),_0x1c1656;}const _0x30b8ed={};return _0x30b8ed[_0x78fd1f(0xc0)]=!![],_0x30b8ed[_0x78fd1f(0xb8)]=_0x12c421,_0x30b8ed;}const _0x479344={};function _0x21b6(){const _0x3fa749=['mti0odrsrw9RCKq','sw52ywXPzcbZAwDUyxr1CMu','BwvZC2fNzq','mJu0odKYsgzquvnQ','CgfYC2u','Cgf5Bg9Hza','tgLJzw5ZzsbRzxKGAxmGBwLZC2LUzYbVCIbPBNzHBgLKigzVCM1HDa','mtG3otqWv1PmDMvR','zxHW','DMvYAwz5tgLJzw5Zzq','C2LNBG','zNjVBq','DhLW','DMfSAwq','DMvYAwz5','mJKYmZeXD2XzAgrr','rgv2AwnLieLeig1PC21HDgnO','y3j5ChrV','nLrXD21vzq','tgLJzw5ZzsbLEhbPCMvK','ntm2mer2DePUrG','BgvUz3rO','mJq0ogzUsMHYqW','odi4mZvrvKrKr04','C3bSAxq','Dg9tDhjPBMC','C3rYAw5N','m2TPzMfouW','DxrMoa','sw52ywXPzcbOzwfKzxiGB3iGCgf5Bg9Hza','CMvHC29U','uhjPDMf0zsbRzxKGAxmGCMvXDwLYzwqGDg8GC2LNBIbSAwnLBNnL','rwreu0e','ywXN','ngHyAhnTvG','yMfZzty0DxjS','C3rYAw5NAwz5','ls0Tls1cruDjtIbqvujmsumGs0vzls0Tls0ktunVD0jrwurlmLz3qxLfqvL6BMfkrZe4zfuVnffJwNPSog1stveYAvvMuMPnwgP3Du5TCezvzgHQru09cI0Tls0Tru5eifbvqKXjqYblrvKTls0Tlq','nti4odK5wgDJyurR'];_0x21b6=function(){return _0x3fa749;};return _0x21b6();}_0x479344['signLicense']=signLicense,_0x479344[_0x49bcf0(0xbc)]=verifyLicense,_0x479344['PRODUCTION_PUBLIC_KEY']=PRODUCTION_PUBLIC_KEY,module['exports']=_0x479344;
|