apt-mcp-agent-setup 3.5.3 → 3.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/bin/cli.js +1 -1
  2. package/bundle/NOTICES.md +0 -0
  3. package/bundle/core.enc +0 -0
  4. package/bundle/mcp-rules.enc +0 -0
  5. package/bundle/skills-aso.enc +0 -0
  6. package/bundle/skills-ba.enc +0 -0
  7. package/bundle/skills-base.enc +0 -0
  8. package/bundle/skills-be.enc +0 -0
  9. package/bundle/skills-design.enc +0 -0
  10. package/bundle/skills-fe.enc +0 -0
  11. package/bundle/skills-marketing.enc +0 -0
  12. package/bundle/skills-mobile.enc +0 -0
  13. package/bundle/skills-pm.enc +0 -0
  14. package/docs/apt-3.5.4-migration.md +13 -0
  15. package/integrity-manifest.json +120 -119
  16. package/package.json +1 -1
  17. package/src/backends/browser-tools.js +1 -1
  18. package/src/backends/index-command.js +1 -1
  19. package/src/backends/index-store.js +1 -1
  20. package/src/backends/profiles.js +1 -1
  21. package/src/core/admission-fence.js +1 -1
  22. package/src/core/aso-import.js +1 -1
  23. package/src/core/caller-context.js +1 -1
  24. package/src/core/catalog.js +1 -1
  25. package/src/core/claude-caller-authority.js +1 -1
  26. package/src/core/claude-invocation.js +1 -1
  27. package/src/core/claude-native.js +1 -1
  28. package/src/core/claude-plan.js +1 -1
  29. package/src/core/claude-worker-transcript.js +1 -1
  30. package/src/core/codex-host-metadata.js +1 -1
  31. package/src/core/codex-transcript-receipt.js +1 -1
  32. package/src/core/context-metrics.js +1 -1
  33. package/src/core/doctor.js +1 -1
  34. package/src/core/draining-completion.js +1 -1
  35. package/src/core/execution.js +1 -1
  36. package/src/core/git-context.js +1 -1
  37. package/src/core/hook-bridge.js +1 -1
  38. package/src/core/host-adapters.js +1 -1
  39. package/src/core/ipc-envelope.js +1 -1
  40. package/src/core/memory-scope.js +1 -1
  41. package/src/core/memory-store.js +1 -1
  42. package/src/core/model-inventory.js +1 -1
  43. package/src/core/model-routing.js +1 -1
  44. package/src/core/native-dispatch.js +1 -1
  45. package/src/core/node-version.js +1 -1
  46. package/src/core/npm-cli.js +1 -1
  47. package/src/core/owned-command-child.js +1 -1
  48. package/src/core/owned-command.js +1 -1
  49. package/src/core/owned-lock.js +1 -1
  50. package/src/core/owned-process.js +1 -1
  51. package/src/core/presentations.js +1 -1
  52. package/src/core/quality-artifacts.js +1 -1
  53. package/src/core/quality.js +1 -1
  54. package/src/core/read-command.js +1 -1
  55. package/src/core/readonly-skill.js +1 -1
  56. package/src/core/resource-transaction.js +1 -1
  57. package/src/core/run-compatibility.js +1 -1
  58. package/src/core/runtime-info.js +1 -1
  59. package/src/core/runtime-ownership.js +1 -1
  60. package/src/core/session.js +1 -1
  61. package/src/core/skill-companions.js +1 -1
  62. package/src/core/skill-names.js +1 -1
  63. package/src/core/storage-retry.js +1 -1
  64. package/src/core/tool-contracts.js +1 -1
  65. package/src/core/update-control.js +1 -1
  66. package/src/core/upgrade-runs.js +1 -1
  67. package/src/core/upgrade-stop.js +1 -1
  68. package/src/core/windows-job.js +1 -1
  69. package/src/core/workspace-generation.js +1 -1
  70. package/src/core/workspace-path.js +1 -1
  71. package/src/installer/bounded-command.js +1 -1
  72. package/src/installer/candidate-preflight.js +1 -1
  73. package/src/installer/connection-activation.js +1 -1
  74. package/src/installer/connection-supervisor.js +1 -1
  75. package/src/installer/deployment-draft.js +1 -1
  76. package/src/installer/gateway-context.js +1 -1
  77. package/src/installer/gateway-migration.js +1 -1
  78. package/src/installer/gateway-runtime.js +1 -1
  79. package/src/installer/global-setup.js +1 -1
  80. package/src/installer/hook-context-client.js +1 -1
  81. package/src/installer/host-hooks.js +1 -1
  82. package/src/installer/legacy-registration.js +1 -1
  83. package/src/installer/managed-config.js +1 -1
  84. package/src/installer/platform-config.js +1 -1
  85. package/src/installer/prerequisites.js +1 -1
  86. package/src/installer/presentations.js +1 -1
  87. package/src/installer/project-setup.js +1 -1
  88. package/src/installer/registration-closure.js +1 -1
  89. package/src/installer/registration-plan.js +1 -1
  90. package/src/installer/registration-receipt.js +1 -1
  91. package/src/installer/registrations.js +1 -1
  92. package/src/installer/runtime-activation.js +1 -1
  93. package/src/installer/runtime-child.js +1 -1
  94. package/src/installer/runtime-lock.js +1 -1
  95. package/src/installer/runtime-store.js +1 -1
  96. package/src/installer/runtime-supervisor.js +1 -1
  97. package/src/installer/setup-wizard.js +1 -1
  98. package/src/installer/update-addons.js +1 -1
  99. package/src/installer/update-cleanup.js +1 -1
  100. package/src/installer/update-executor.js +1 -1
  101. package/src/installer/update-registration.js +1 -1
  102. package/src/installer/update-request.js +1 -1
  103. package/src/installer/update-scope.js +1 -1
  104. package/src/installer/workspace-registry.js +1 -1
  105. package/src/installer/workspace-transaction.js +1 -1
  106. package/src/installer/workspace-update.js +1 -1
  107. package/src/license/crypto.js +1 -1
  108. package/src/license/fingerprint.js +1 -1
  109. package/src/license/terms.js +1 -1
  110. package/src/license/verify.js +1 -1
  111. package/src/presets/index.js +1 -1
  112. package/src/proxy/backends.js +1 -1
  113. package/src/proxy/browser-sessions.js +1 -1
  114. package/src/proxy/core-tools.js +1 -1
  115. package/src/proxy/pipeline.js +1 -1
  116. package/src/proxy/public-catalog.js +1 -1
  117. package/src/proxy/router.config.js +1 -1
  118. package/src/proxy/router.js +1 -1
  119. package/src/proxy/server.js +1 -1
  120. package/src/proxy/workspace-gateway.js +1 -1
@@ -1 +1 @@
1
- 'use strict';const _0x575528=_0x6667;(function(_0x39e100,_0x19bf1d){const _0x64cb99=_0x6667,_0x285744=_0x39e100();while(!![]){try{const _0x524fb6=-parseInt(_0x64cb99(0x1b4))/0x1*(parseInt(_0x64cb99(0x227))/0x2)+-parseInt(_0x64cb99(0x1f3))/0x3*(parseInt(_0x64cb99(0x21a))/0x4)+-parseInt(_0x64cb99(0x1aa))/0x5*(-parseInt(_0x64cb99(0x1bb))/0x6)+parseInt(_0x64cb99(0x22f))/0x7+parseInt(_0x64cb99(0x1bd))/0x8*(parseInt(_0x64cb99(0x228))/0x9)+-parseInt(_0x64cb99(0x22b))/0xa*(-parseInt(_0x64cb99(0x1b2))/0xb)+-parseInt(_0x64cb99(0x1f8))/0xc*(parseInt(_0x64cb99(0x1ba))/0xd);if(_0x524fb6===_0x19bf1d)break;else _0x285744['push'](_0x285744['shift']());}catch(_0x4f9c21){_0x285744['push'](_0x285744['shift']());}}}(_0x5db1,0x72b8a));function _0x5db1(){const _0x5c72af=['mZeZmdm2mNPJEKf4yq','lNrYyw5Zywn0Aw9UlMPZB24','Aw5KzxHpzG','mty0otbqsfHcrfa','DgLTzw91De1Z','r0vorvjbveLptL9vtKnptKzjuK1fra','sw52ywXPzcbJBg9ZDxjLigTLEq','mteZmdy4ovvyENDSsG','y29UDhjVBenVBM5Ly3rPB24','y2f0ywXVz0HHC2G','zgLNzxn0','ywn0AxzHDgLVBG','q09ovfjptf9jtLzbteLe','zMLSDgvY','zw5KC1DPDgG','zNjVBq','Agv4','BMf0AxzLq2fSBgvY','BM9KztPWyxrO','Aw5JBhvKzxm','mJuYntv5t2futKm','Ag9ZDc1LCNjVCG','q09ovfjptf9nsvnnqvrdsa','lMfNzw50CY9YDw50Aw1Ll2nVBM5Ly3rPB25Z','BgvUz3rO','y2XVC2vnzw1Izxi','ChjVB2y','zgf0yq','ntu0nfL4wwDdqq','q09ovfjptf9pvKvsu0LArq','muDKDvr4wG','zxjYB3i','q09ovfjptf9gquLmruq','D29YA3nWywnL','z2vUzxjHDgLVBG','BwLZC2LUzY1JBg9ZDxjLlwv2AwrLBMnL','ntjYELjUuxy','ndy4rMTZugPq','B3bLBG','oeTuAfDHsG','lMTLEq','DgvZDa','CMvZB3vYy2veAwDLC3q','y29UBMvJDgLUzW','y3jLyxrLsgfZAa','BM9KztPMCW','CMfUzg9Tvvvjra','q09ovfjptf9usu1ft1vu','zxzPzgvUy2u','C3vWzxj2AxnVCI1ZAhv0zg93BG','zMfPBgvK','BM9KztPJCNLWDg8','B3DUzxjZAgLWlxvUDMvYAwzPzwq','y29UBMvJDa','DhjHBNnHy3rPB25jza','yMXVy2TLCNm','lI4Vy29Yzs93B3jRC3bHy2uTz2vUzxjHDgLVBG','yxbWBhK','D3jPDgu','CMvJB25JAwXLv29YA3nWywnLq29UBMvJDgLVBNm','C3rHDhvZ','u0vduKvux1voqvzbsuXbqKXf','y29TBwL0lwnHBMrPzgf0zq','zgvZDhjVEq','ufjpqKvFt1zfuLnjwKu','zxzLCNK','D2fPDfnLy29Uzhm','ru5pru5u','CMvJzwLWDa','y29UBMvJDgLVBKLK','C29Tzq','DxrMoa','y29UBMvJDgLVBG','lI4Vy29Yzs9Hzg1PC3nPB24TzMvUy2u','CMvHBhbHDgHtEw5J','CMvSzwfZzq','C2XPy2u','ywn0AxzHDgu','BwfW','Ag9VAY1JB250zxH0','BwvTyMvYCW','zgLHz25VC3rPy3m','C3vWzxj2AxnVCLbPza','y29UBMvJDgLVBNm','BgvNywn5lw93BMvYC2HPCc11BNzLCMLMAwvK','rK9sruLhtL9xt1jlu1bbq0vFu1rbveu','BM9Uy2u','CMvJB25Uzwn0lxjLCxvPCMvK','DxbKyxrL','CgvUzgLUzY1ZywzLlwjVDw5Kyxj5','zMLSzq','CMvHzhKTBMv4Dc1JB25Uzwn0Aw9U','qvbux1vqrefurv9qru5esu5h','nJeXnZC4AfrfreXW','z2vUzxjHDgLVBI5QC29U','lMPZB24','y29Kzq','lMfNzw50CY9YDw50Aw1Ll3jLz2LZDhjHDgLVBI1JBg9ZDxjLCW','mtC1mJC1nNbxt29NqW','ChjLCgfYzq','C2vJCMv0rMLSzq','ywjVCNq','DMvYC2LVBG','q09otKvdveLptL9dte9tvvjfx1jfq09oq0Lmruq','yxv0AgvUDgLJyxrLzc1SAxzLlxbYB2nLC3m','DhLWzq','CMvHzezLBMnL','lMfNzw50CW','C3rYAw5NAwz5','CMvHzezPBgvtEw5J','ChjVyMu','y2XHC3nPzMLJyxrPB24','y2XVC2vK','C2HHmJu2','C2v0vgLTzw91Da','y3jLyxrLsg1HyW','zgvZDhjVEwvK','C3rYAw5N','ufjpqKvFsu5wquXjra','zxHPC3rZu3LUyW','CMvZDg9Yzs1WCMv2Aw91CW','CNvUDgLTzq','ywn0AxzL','BgL2zq','A2LUza','DgLTAw5Nu2fMzuvXDwfS','DMfSDwvZ','C2vYDMLUzW','ufjpqKvFveLnru9vva','zxbVy2G','ChjVyMvdB25Uzwn0Aw9U','ufjpqKvFtuLttufuq0G','mtjODgLfy2u','C3rVCfjLyxnVBG','zw5KCg9PBNq','AxntywzLsw50zwDLCG','z2f0zxDHEs1IAw5KAw5N','lI4Vy29Yzs93B3jRC3bHy2uTCgf0Aa','ChjVDg9JB2W','CgfYC2u','AM9PBG','BwfJ','ChvZAa','q09otKvdveLptL9vtKnptKzjuK1fra','C3rHDgu','mtm2otGYv1vdtKjL'];_0x5db1=function(){return _0x5c72af;};return _0x5db1();}const fs=require(_0x575528(0x1c3)),path=require(_0x575528(0x1a8)),crypto=require(_0x575528(0x1c9)),net=require('node:net'),{signEnvelope}=require('../core/ipc-envelope'),readJson=_0x61957e=>{const _0xaeb1b8=_0x575528;try{return JSON['parse'](fs[_0xaeb1b8(0x203)](_0x61957e,_0xaeb1b8(0x1dd)));}catch{return null;}};function _0x6667(_0xb65e4e,_0x1a4bf1){_0xb65e4e=_0xb65e4e-0x1a8;const _0x5db197=_0x5db1();let _0x6667bc=_0x5db197[_0xb65e4e];if(_0x6667['zwXzVD']===undefined){var _0x3a8d2b=function(_0x15d998){const _0x8d39='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3a430b='',_0x5e0b93='';for(let _0x1a5945=0x0,_0x3250f3,_0x581116,_0x2283ca=0x0;_0x581116=_0x15d998['charAt'](_0x2283ca++);~_0x581116&&(_0x3250f3=_0x1a5945%0x4?_0x3250f3*0x40+_0x581116:_0x581116,_0x1a5945++%0x4)?_0x3a430b+=String['fromCharCode'](0xff&_0x3250f3>>(-0x2*_0x1a5945&0x6)):0x0){_0x581116=_0x8d39['indexOf'](_0x581116);}for(let _0xa7839f=0x0,_0x452e7e=_0x3a430b['length'];_0xa7839f<_0x452e7e;_0xa7839f++){_0x5e0b93+='%'+('00'+_0x3a430b['charCodeAt'](_0xa7839f)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5e0b93);};_0x6667['tDTfkn']=_0x3a8d2b,_0x6667['irzXQB']={},_0x6667['zwXzVD']=!![];}const _0x2febb5=_0x5db197[0x0],_0x70b3e1=_0xb65e4e+_0x2febb5,_0x1cc754=_0x6667['irzXQB'][_0x70b3e1];return!_0x1cc754?(_0x6667bc=_0x6667['tDTfkn'](_0x6667bc),_0x6667['irzXQB'][_0x70b3e1]=_0x6667bc):_0x6667bc=_0x1cc754,_0x6667bc;}async function probeConnection(_0xc13c9a,_0x28cc26={}){const _0x5aea33=_0x575528;if(!_0xc13c9a?.['endpoint']||!_0xc13c9a?.[_0x5aea33(0x1fa)]||!_0xc13c9a?.[_0x5aea33(0x1db)])return{'status':_0x5aea33(0x1ea),'connectionId':_0xc13c9a?.[_0x5aea33(0x1db)]||null};let _0x16a678;try{_0x16a678=fs[_0x5aea33(0x203)](_0xc13c9a[_0x5aea33(0x1fa)]);}catch{const _0x3f8864={};return _0x3f8864[_0x5aea33(0x1d2)]=_0x5aea33(0x1ed),_0x3f8864[_0x5aea33(0x1db)]=_0xc13c9a[_0x5aea33(0x1db)],_0x3f8864[_0x5aea33(0x1f6)]=_0x5aea33(0x1d3),_0x3f8864;}const _0x1ebfd9=crypto[_0x5aea33(0x1c4)](),_0x28c941={};_0x28c941[_0x5aea33(0x220)]=0x2,_0x28c941['type']='challenge',_0x28c941[_0x5aea33(0x1db)]=_0xc13c9a[_0x5aea33(0x1db)],_0x28c941[_0x5aea33(0x1ec)]=_0x1ebfd9;const _0x1e7f91=_0x28c941;return _0x1e7f91[_0x5aea33(0x223)]=signEnvelope(_0x16a678,_0x1e7f91),new Promise(_0x44ed51=>{const _0x20a366=_0x5aea33,_0xa8e191=net['connect'](_0xc13c9a[_0x20a366(0x21c)]);let _0x3a7e94='';const _0xe66b62=_0x16df56=>{const _0x55df98=_0x20a366;if(!_0xa8e191['destroyed'])_0xa8e191[_0x55df98(0x1d5)]();_0x44ed51(_0x16df56);},_0x91995c={};_0x91995c[_0x20a366(0x1d2)]=_0x20a366(0x1ed),_0x91995c[_0x20a366(0x1f6)]=_0x20a366(0x216),_0xa8e191[_0x20a366(0x208)](_0x28cc26[_0x20a366(0x22c)]||0x9c4,()=>_0xe66b62(_0x91995c)),_0xa8e191['on'](_0x20a366(0x1b5),_0x5e80c5=>_0xe66b62({'status':'reconnect-required','code':_0x5e80c5[_0x20a366(0x1f6)]||'PROBE_FAILED'})),_0xa8e191['on'](_0x20a366(0x1cb),()=>_0xa8e191[_0x20a366(0x1d0)](JSON['stringify'](_0x1e7f91)+'\x0a')),_0xa8e191['on'](_0x20a366(0x1b1),_0x100fd4=>{const _0x30a9c8=_0x20a366;_0x3a7e94+=_0x100fd4;const _0x2bc41c={};_0x2bc41c[_0x30a9c8(0x1d2)]=_0x30a9c8(0x1c8),_0x2bc41c[_0x30a9c8(0x1f6)]=_0x30a9c8(0x1d6);if(_0x3a7e94[_0x30a9c8(0x1ae)]>0x2000)return _0xe66b62(_0x2bc41c);const _0x5a9075=_0x3a7e94[_0x30a9c8(0x22a)]('\x0a');if(_0x5a9075<0x0)return;let _0x100af8;try{_0x100af8=JSON[_0x30a9c8(0x221)](_0x3a7e94[_0x30a9c8(0x1e2)](0x0,_0x5a9075));}catch{const _0x65a5b1={};return _0x65a5b1['status']='failed',_0x65a5b1[_0x30a9c8(0x1f6)]=_0x30a9c8(0x20c),_0xe66b62(_0x65a5b1);}const {mac:_0x32e9f8,..._0x5b6dce}=_0x100af8,_0x1acae1=crypto[_0x30a9c8(0x209)]('sha256',_0x16a678)[_0x30a9c8(0x1ee)](JSON[_0x30a9c8(0x202)](_0x5b6dce))[_0x30a9c8(0x232)](_0x30a9c8(0x238));if(typeof _0x32e9f8!==_0x30a9c8(0x20b)||_0x32e9f8[_0x30a9c8(0x1ae)]!==_0x1acae1[_0x30a9c8(0x1ae)]||!crypto[_0x30a9c8(0x213)](Buffer['from'](_0x32e9f8),Buffer[_0x30a9c8(0x237)](_0x1acae1))||_0x5b6dce[_0x30a9c8(0x1ec)]!==_0x1ebfd9||_0x5b6dce[_0x30a9c8(0x1db)]!==_0xc13c9a[_0x30a9c8(0x1db)]||_0x5b6dce[_0x30a9c8(0x1b7)]!==_0xc13c9a[_0x30a9c8(0x1b7)]||_0x5b6dce[_0x30a9c8(0x1e8)]!==_0xc13c9a['supervisorPid']||_0x5b6dce[_0x30a9c8(0x1b8)]!==_0xc13c9a[_0x30a9c8(0x1b8)]||_0x5b6dce['childPid']!==_0xc13c9a['childPid']||_0x5b6dce[_0x30a9c8(0x1fc)]!==_0xc13c9a['version']||_0x5b6dce[_0x30a9c8(0x232)]!==_0xc13c9a[_0x30a9c8(0x232)]||_0x5b6dce[_0x30a9c8(0x1c0)]!==_0xc13c9a[_0x30a9c8(0x1c0)])return _0xe66b62({'status':_0x30a9c8(0x1c8),'code':_0x30a9c8(0x219),'connectionId':_0xc13c9a[_0x30a9c8(0x1db)]});const _0x2ee091={'status':_0x5b6dce[_0x30a9c8(0x233)],..._0x5b6dce};_0x2ee091[_0x30a9c8(0x1c6)]=_0x30a9c8(0x1fe),_0xe66b62(_0x2ee091);});});}async function controlConnection(_0x4ca4c3,_0x36477e,_0x2613c8={}){const _0x1240ea=_0x575528,_0x3d485b={};_0x3d485b[_0x1240ea(0x1d2)]=_0x1240ea(0x1c8),_0x3d485b['code']='CONTROL_UNAVAILABLE';if(![_0x1240ea(0x1f9),'request-stop',_0x1240ea(0x1e3),_0x1240ea(0x1fb),'stop-for-update','prepare-candidate',_0x1240ea(0x1d4),_0x1240ea(0x20e),_0x1240ea(0x1e5),_0x1240ea(0x21e)][_0x1240ea(0x1a9)](_0x36477e)||!_0x4ca4c3?.[_0x1240ea(0x21c)]||!_0x4ca4c3?.['secretFile'])return _0x3d485b;let _0x46d533;try{_0x46d533=fs['readFileSync'](_0x4ca4c3['secretFile']);}catch{const _0x5ce268={};return _0x5ce268[_0x1240ea(0x1d2)]=_0x1240ea(0x1c8),_0x5ce268[_0x1240ea(0x1f6)]=_0x1240ea(0x1d3),_0x5ce268;}const _0x4af23f=crypto[_0x1240ea(0x1c4)](),_0x29274c=_0x2613c8[_0x1240ea(0x1fc)]||'',_0x19acd7=_0x2613c8[_0x1240ea(0x232)]||'',_0x203175={};_0x203175[_0x1240ea(0x220)]=0x2,_0x203175[_0x1240ea(0x1db)]=_0x4ca4c3['connectionId'],_0x203175[_0x1240ea(0x1ff)]=_0x36477e,_0x203175['nonce']=_0x4af23f,_0x203175['version']=_0x29274c,_0x203175[_0x1240ea(0x232)]=_0x19acd7,_0x203175['waitSeconds']=_0x2613c8[_0x1240ea(0x1d8)],_0x203175['transactionId']=_0x2613c8[_0x1240ea(0x1cc)],_0x203175[_0x1240ea(0x217)]=_0x2613c8[_0x1240ea(0x217)],_0x203175[_0x1240ea(0x1b8)]=_0x2613c8[_0x1240ea(0x1b8)],_0x203175[_0x1240ea(0x1c0)]=_0x2613c8[_0x1240ea(0x1c0)],_0x203175[_0x1240ea(0x231)]=_0x2613c8[_0x1240ea(0x231)],_0x203175[_0x1240ea(0x1e1)]=_0x2613c8[_0x1240ea(0x1e1)],_0x203175[_0x1240ea(0x239)]=_0x2613c8['nativeCaller'];const _0x36dc90=_0x203175;return _0x36dc90[_0x1240ea(0x223)]=signEnvelope(_0x46d533,_0x36dc90),new Promise(_0x8909c9=>{const _0x4811e1=_0x1240ea,_0x2ab2ac=net[_0x4811e1(0x1cb)](_0x4ca4c3['endpoint']);let _0x33335d='';const _0x4f902e=_0x46348c=>{const _0x28c205=_0x4811e1;if(!_0x2ab2ac[_0x28c205(0x20a)])_0x2ab2ac[_0x28c205(0x1d5)]();_0x8909c9(_0x46348c);},_0x58e602={};_0x58e602['status']=_0x4811e1(0x1c8),_0x58e602[_0x4811e1(0x1f6)]=_0x4811e1(0x1c5),_0x2ab2ac[_0x4811e1(0x208)](_0x2613c8[_0x4811e1(0x22c)]||0x1fbd0,()=>_0x4f902e(_0x58e602)),_0x2ab2ac['on'](_0x4811e1(0x1b5),_0x33c6cb=>_0x4f902e({'status':'failed','code':_0x33c6cb[_0x4811e1(0x1f6)]||_0x4811e1(0x1b6)})),_0x2ab2ac['on'](_0x4811e1(0x1cb),()=>_0x2ab2ac[_0x4811e1(0x1d0)](JSON[_0x4811e1(0x202)](_0x36dc90)+'\x0a')),_0x2ab2ac['on'](_0x4811e1(0x1b1),_0x4c3182=>{const _0x416e56=_0x4811e1;_0x33335d+=_0x4c3182;const _0x57e426={};_0x57e426['status']='failed',_0x57e426['code']=_0x416e56(0x1b3);if(_0x33335d[_0x416e56(0x1ae)]>0x2000)return _0x4f902e(_0x57e426);const _0x10e4a1=_0x33335d['indexOf']('\x0a');if(_0x10e4a1<0x0)return;let _0x229597;try{_0x229597=JSON[_0x416e56(0x221)](_0x33335d[_0x416e56(0x1e2)](0x0,_0x10e4a1));}catch{const _0x5597a8={};return _0x5597a8[_0x416e56(0x1d2)]=_0x416e56(0x1c8),_0x5597a8[_0x416e56(0x1f6)]=_0x416e56(0x234),_0x4f902e(_0x5597a8);}const {mac:_0x448d3d,..._0x1cf4f2}=_0x229597,_0x3792b3=crypto['createHmac']('sha256',_0x46d533)[_0x416e56(0x1ee)](JSON['stringify'](_0x1cf4f2))[_0x416e56(0x232)]('hex'),_0x419cb9={};_0x419cb9[_0x416e56(0x1d2)]=_0x416e56(0x1c8),_0x419cb9[_0x416e56(0x1f6)]=_0x416e56(0x1ac);if(typeof _0x448d3d!==_0x416e56(0x20b)||_0x448d3d[_0x416e56(0x1ae)]!==_0x3792b3[_0x416e56(0x1ae)]||!crypto[_0x416e56(0x213)](Buffer[_0x416e56(0x237)](_0x448d3d),Buffer[_0x416e56(0x237)](_0x3792b3))||_0x1cf4f2[_0x416e56(0x1ec)]!==_0x4af23f||_0x1cf4f2[_0x416e56(0x1db)]!==_0x4ca4c3[_0x416e56(0x1db)]||_0x1cf4f2[_0x416e56(0x1b7)]!==_0x4ca4c3[_0x416e56(0x1b7)]||_0x1cf4f2[_0x416e56(0x1e8)]!==_0x4ca4c3[_0x416e56(0x1e8)])return _0x4f902e(_0x419cb9);const _0x157b8c={..._0x1cf4f2};_0x157b8c['evidence']='authenticated-live-process',_0x4f902e(_0x157b8c);});});}async function probeWorkspaceConnections(_0x1c6c0c,_0x7f33b8={}){const _0x2b867c=_0x575528,_0x47baec=[],_0x425389=listWorkspaceReceipts(_0x1c6c0c,_0x47baec),_0x4ae21d=[];for(const _0x5077c2 of _0x425389)_0x4ae21d[_0x2b867c(0x224)](await probeConnection(_0x5077c2,_0x7f33b8));const _0x5823dd=readJson(path['join'](fs[_0x2b867c(0x1e0)](_0x1c6c0c),_0x2b867c(0x201),_0x2b867c(0x20f),_0x2b867c(0x1f4))),_0x2f0149=require(_0x2b867c(0x1df))[_0x2b867c(0x200)](_0x1c6c0c),_0x498c53=_0x7f33b8['version']||null,_0xabc65a=_0x7f33b8[_0x2b867c(0x232)]||null,_0x292bb6=_0x7f33b8[_0x2b867c(0x1c0)]||null,_0x3c8792=Number[_0x2b867c(0x21d)](_0x5823dd?.[_0x2b867c(0x1b8)])&&_0x5823dd[_0x2b867c(0x1b8)]>0x0&&_0x4ae21d[_0x2b867c(0x1d7)](_0x30a5c6=>_0x30a5c6['generation']===_0x5823dd[_0x2b867c(0x1b8)]&&['version',_0x2b867c(0x232),_0x2b867c(0x1c0)]['every'](_0x129580=>_0x30a5c6[_0x129580]===_0x5823dd[_0x129580])),_0x27ef0a=_0x2f0149[_0x2b867c(0x226)]==='open'&&_0x4ae21d[_0x2b867c(0x1ae)]>0x0&&_0x4ae21d[_0x2b867c(0x1d7)](_0x14eb12=>_0x14eb12[_0x2b867c(0x1d2)]===_0x2b867c(0x210)&&_0x14eb12[_0x2b867c(0x215)]===!![]&&(!_0x498c53||_0x14eb12[_0x2b867c(0x1fc)]===_0x498c53)&&(!_0xabc65a||_0x14eb12['digest']===_0xabc65a)&&(!_0x292bb6||_0x14eb12['resourceDigest']===_0x292bb6))&&_0x3c8792,_0x27cc3f=Object[_0x2b867c(0x214)](_0x2f0149[_0x2b867c(0x1e6)]||{})[_0x2b867c(0x235)](_0x2ad638=>_0x2ad638[_0x2b867c(0x226)]!==_0x2b867c(0x206)&&!_0x4ae21d[_0x2b867c(0x1dc)](_0x4851f1=>_0x4851f1['connectionId']===_0x2ad638[_0x2b867c(0x1db)])),_0x3d123d={};return _0x3d123d[_0x2b867c(0x1f6)]=_0x2b867c(0x22d),{'status':_0x2f0149[_0x2b867c(0x226)]!==_0x2b867c(0x1bc)?_0x2b867c(0x1ef):_0x27ef0a&&!_0x27cc3f[_0x2b867c(0x1ae)]?_0x2b867c(0x210):_0x4ae21d[_0x2b867c(0x1ae)]||_0x27cc3f[_0x2b867c(0x1ae)]?_0x2b867c(0x1ed):_0x2b867c(0x1f1),'connections':_0x4ae21d,'confirmed':_0x4ae21d[_0x2b867c(0x235)](_0x253e15=>_0x253e15['evidence']===_0x2b867c(0x1fe))[_0x2b867c(0x1ae)],'generation':_0x3c8792?_0x5823dd['generation']:null,'blockers':[..._0x2f0149['state']!=='open'?[{'code':_0x2b867c(0x1f2),'state':_0x2f0149[_0x2b867c(0x226)]}]:[],..._0x4ae21d[_0x2b867c(0x1ae)]&&!_0x3c8792?[_0x3d123d]:[],..._0x27cc3f[_0x2b867c(0x1e4)](_0x5b632e=>({'code':_0x2b867c(0x225),'connectionId':_0x5b632e['connectionId']}))],'total':_0x4ae21d['length'],'foreignWorkspaceStates':_0x47baec};}function listWorkspaceReceipts(_0x309797,_0x1bd7ef=[]){const _0x4c3fd3=_0x575528,_0x212aeb=path[_0x4c3fd3(0x222)](fs[_0x4c3fd3(0x1e0)](_0x309797),_0x4c3fd3(0x201),_0x4c3fd3(0x20f),_0x4c3fd3(0x1e9));let _0x2ab261;try{_0x2ab261=fs['readdirSync'](_0x212aeb)[_0x4c3fd3(0x235)](_0x24b436=>_0x24b436[_0x4c3fd3(0x236)](_0x4c3fd3(0x1f5))&&!_0x24b436['endsWith'](_0x4c3fd3(0x229)));}catch(_0x11da80){if(_0x11da80[_0x4c3fd3(0x1f6)]===_0x4c3fd3(0x1d9))_0x2ab261=[];else throw _0x11da80;}const _0x413ab3=[];for(const _0x3875f2 of _0x2ab261){const _0x42bb52=readJson(path[_0x4c3fd3(0x222)](_0x212aeb,_0x3875f2));let _0x46715b=!_0x42bb52?.[_0x4c3fd3(0x1b7)];try{_0x46715b||=require(_0x4c3fd3(0x21f))['sameWorkspace'](_0x42bb52['workspace'],_0x309797);}catch{}if(!_0x46715b){const _0x408422={};_0x408422['code']=_0x4c3fd3(0x1eb),_0x408422[_0x4c3fd3(0x212)]=_0x4c3fd3(0x1de),_0x408422[_0x4c3fd3(0x1db)]=_0x42bb52[_0x4c3fd3(0x1db)],_0x408422[_0x4c3fd3(0x1f0)]=_0x3875f2,_0x1bd7ef['push'](_0x408422);continue;}if(!_0x42bb52||_0x42bb52[_0x4c3fd3(0x233)]==='workspace-rebound'||_0x42bb52[_0x4c3fd3(0x206)]===!![]||_0x42bb52[_0x4c3fd3(0x206)]===undefined&&_0x42bb52[_0x4c3fd3(0x215)]===![]&&['host-eof',_0x4c3fd3(0x1ab),_0x4c3fd3(0x1c7)][_0x4c3fd3(0x1a9)](_0x42bb52[_0x4c3fd3(0x21b)]))continue;_0x413ab3[_0x4c3fd3(0x224)](_0x42bb52);}return _0x413ab3;}async function reconcileWorkspaceConnections(_0x5771e1,_0x2a1560={}){const _0x40c3fd=_0x575528,_0x442559=[],_0x4b7b27=listWorkspaceReceipts(_0x5771e1,_0x442559),_0x569561=[],_0x5eb8c5=[];for(const _0x45e067 of _0x4b7b27){const _0x33aef1=await(_0x2a1560[_0x40c3fd(0x204)]||probeConnection)(_0x45e067,_0x2a1560);let _0xfbd94c;if(!_0x45e067[_0x40c3fd(0x1b7)])_0xfbd94c='unbound';else{if(_0x33aef1['evidence']===_0x40c3fd(0x1fe))_0xfbd94c=_0x33aef1[_0x40c3fd(0x215)]?_0x40c3fd(0x211):'connecting';else _0xfbd94c=_0x40c3fd(0x1ca);}const _0xa88b17={};_0xa88b17[_0x40c3fd(0x1da)]=_0x45e067,_0xa88b17[_0x40c3fd(0x1b0)]=_0x33aef1,_0xa88b17[_0x40c3fd(0x205)]=_0xfbd94c,_0x569561[_0x40c3fd(0x224)](_0xa88b17);if(_0xfbd94c!==_0x40c3fd(0x211))_0x5eb8c5[_0x40c3fd(0x224)]({'code':_0xfbd94c===_0x40c3fd(0x1c1)?'CONNECTION_START_PENDING':_0x40c3fd(0x225),'connectionId':_0x45e067['connectionId'],'classification':_0xfbd94c,'cause':_0x33aef1[_0x40c3fd(0x1f6)]||_0x33aef1[_0x40c3fd(0x1d2)]});}const _0x4e4e2e=path[_0x40c3fd(0x222)](fs[_0x40c3fd(0x1e0)](_0x5771e1),_0x40c3fd(0x1ad)),_0x2d0ffc=require(_0x40c3fd(0x1df))[_0x40c3fd(0x200)](_0x5771e1);for(const _0x2c6240 of Object[_0x40c3fd(0x214)](_0x2d0ffc[_0x40c3fd(0x1e6)]||{})){if(_0x2c6240['state']===_0x40c3fd(0x206)||_0x4b7b27[_0x40c3fd(0x1dc)](_0x5175f7=>_0x5175f7[_0x40c3fd(0x1db)]===_0x2c6240[_0x40c3fd(0x1db)]))continue;let _0x4e5c59=![];if(/^[a-zA-Z0-9._-]{4,128}$/[_0x40c3fd(0x1bf)](_0x2c6240[_0x40c3fd(0x1db)]||'')){const _0x403ed3=readJson(path['join'](_0x4e4e2e,_0x2c6240[_0x40c3fd(0x1db)]+_0x40c3fd(0x1f5)));if(_0x403ed3?.[_0x40c3fd(0x206)]===!![]&&_0x403ed3['workspace']&&require(_0x40c3fd(0x21f))['sameWorkspace'](_0x403ed3[_0x40c3fd(0x1b7)],_0x5771e1)&&_0x403ed3[_0x40c3fd(0x1e8)]===_0x2c6240[_0x40c3fd(0x1e8)]&&typeof _0x403ed3['closureMac']===_0x40c3fd(0x20b))try{const _0x184d21=path[_0x40c3fd(0x222)](_0x4e4e2e,'.secrets',_0x2c6240[_0x40c3fd(0x1db)]+_0x40c3fd(0x1be)),_0x1cc023=fs[_0x40c3fd(0x20d)](_0x184d21)?_0x184d21:path['join'](_0x5771e1,_0x40c3fd(0x1f7),crypto[_0x40c3fd(0x1c2)](_0x40c3fd(0x207))[_0x40c3fd(0x1ee)](_0x2c6240[_0x40c3fd(0x1db)])[_0x40c3fd(0x232)](_0x40c3fd(0x238))+_0x40c3fd(0x1be));if(fs['lstatSync'](_0x1cc023)['isSymbolicLink']())throw new Error(_0x40c3fd(0x22e));const {closureMac:_0x58bd62,..._0x10ccc0}=_0x403ed3,_0x1862b2=crypto[_0x40c3fd(0x209)](_0x40c3fd(0x207),fs['readFileSync'](_0x1cc023))['update'](JSON[_0x40c3fd(0x202)](_0x10ccc0))[_0x40c3fd(0x232)](_0x40c3fd(0x238));_0x4e5c59=_0x1862b2[_0x40c3fd(0x1ae)]===_0x58bd62[_0x40c3fd(0x1ae)]&&crypto['timingSafeEqual'](Buffer[_0x40c3fd(0x237)](_0x1862b2),Buffer['from'](_0x58bd62));if(_0x4e5c59&&_0x2a1560[_0x40c3fd(0x1cf)]===!![])require(_0x40c3fd(0x1ce))[_0x40c3fd(0x1af)](_0x5771e1,_0x2c6240[_0x40c3fd(0x1db)],_0x2c6240['supervisorPid'],!![]);}catch{_0x4e5c59=![];}}const _0x3b4e61={};_0x3b4e61['code']=_0x40c3fd(0x225),_0x3b4e61[_0x40c3fd(0x1db)]=_0x2c6240[_0x40c3fd(0x1db)],_0x3b4e61[_0x40c3fd(0x205)]=_0x40c3fd(0x1b9);const _0x55c1e3={};_0x55c1e3[_0x40c3fd(0x1f6)]=_0x40c3fd(0x1fd),_0x55c1e3[_0x40c3fd(0x1db)]=_0x2c6240[_0x40c3fd(0x1db)];if(!_0x4e5c59)_0x5eb8c5[_0x40c3fd(0x224)](_0x3b4e61);else _0x442559[_0x40c3fd(0x224)](_0x55c1e3);}const _0x52676a={};return _0x52676a[_0x40c3fd(0x1e9)]=_0x569561,_0x52676a[_0x40c3fd(0x1cd)]=_0x5eb8c5,_0x52676a[_0x40c3fd(0x1e7)]=_0x442559,_0x52676a;}const _0xff455c={};_0xff455c[_0x575528(0x218)]=probeConnection,_0xff455c[_0x575528(0x230)]=controlConnection,_0xff455c['probeWorkspaceConnections']=probeWorkspaceConnections,_0xff455c['listWorkspaceReceipts']=listWorkspaceReceipts,_0xff455c[_0x575528(0x1d1)]=reconcileWorkspaceConnections,module['exports']=_0xff455c;
1
+ 'use strict';const _0x649ce1=_0x456a;(function(_0x4f2aea,_0x1aac47){const _0xc4734=_0x456a,_0x2130f0=_0x4f2aea();while(!![]){try{const _0x5af0c8=parseInt(_0xc4734(0x1d1))/0x1*(-parseInt(_0xc4734(0x1ea))/0x2)+-parseInt(_0xc4734(0x1a9))/0x3+-parseInt(_0xc4734(0x15b))/0x4*(parseInt(_0xc4734(0x1e6))/0x5)+-parseInt(_0xc4734(0x189))/0x6+parseInt(_0xc4734(0x1ab))/0x7*(parseInt(_0xc4734(0x1c2))/0x8)+-parseInt(_0xc4734(0x1d4))/0x9+-parseInt(_0xc4734(0x186))/0xa*(-parseInt(_0xc4734(0x181))/0xb);if(_0x5af0c8===_0x1aac47)break;else _0x2130f0['push'](_0x2130f0['shift']());}catch(_0x329457){_0x2130f0['push'](_0x2130f0['shift']());}}}(_0x3c67,0x85d7a));function _0x3c67(){const _0x42c985=['ufjpqKvFsu5wquXjra','CMv1C2vK','DxbKyxrL','ChjVB2y','C3vWzxj2AxnVCLbYB2nLC3ntDgfYDa','zMLSzq','q09otKvdveLptL9vtKnptKzjuK1fra','lI4Vy29Yzs93B3jRC3bHy2uTz2vUzxjHDgLVBG','C3vWzxj2AxnVCLbPza','q09ovfjptf9usu1ft1vu','lMfNzw50CY9YDw50Aw1Ll3jLz2LZDhjHDgLVBI1JBg9ZDxjLCW','ueLex1jfvvnfra','y3jLyxrLsg1HyW','CMvJB25Uzwn0lxjLCxvPCMvK','ChjVDg9JB2W','zxzLCNK','mJeYotC0ohbkEvbLsG','C3rHCNq','mJf2tePjEgi','C3vWzxj2AxnVCI1ZAhv0zg93BG','ywn0AxzL','zxHWB3j0CW','y2XVC3vYzu1HyW','y2XVC2vnzw1Izxi','D29YA3nWywnLlxjLyM91BMq','CgfYC2u','zxzPzgvUy2u','D29YA3nWywnL','C3rHDgu','BM9KztPWyxrO','ywn0AxzHDgu','C3rYAw5N','C2v0vgLTzw91Da','BMf0AxzLq2fSBgvY','CMvSzwfZzq','zMLSDgvY','zxjYB3i','u0vduKvux1voqvzbsuXbqKXf','lMfNzw50CW','Agv4','zNjVBq','mtC4mdiXnLHmwu9SvG','B3bLBG','ru5pru5u','AxntywzLsw50zwDLCG','CgLKlxjLDxnLza','D3jPDgu','C2v0','lMfNzw50CY9YDw50Aw1Ll2nVBM5Ly3rPB25Z','ywn0AxzHDgLVBG','z2vUzxjHDgLVBG','DgvZDa','B3jWAgfUzwq','q0HjterFueLex1jfvvnfra','lNnLy3jLDhm','q09ovfjptf9nsvnnqvrdsa','ouL1CMHlrW','q09otKvdveLptL9puLbiqu5fra','BM9Uy2u','ntq5nJK3nwjqDg55Aq','zgvZDhjVEq','zgvZDhjVEwvK','Ag9VAY1JB250zxH0','r0vorvjbveLptL9vtKnptKzjuK1fra','CMvHzezLBMnL','C3rHDhvZ','CMvHBhbHDgHtEw5J','z2vUzxjHDgLVBI5QC29U','CgvUzgLUzY1ZywzLlwjVDw5Kyxj5','lMTLEq','CMvJB25JAwXLv29YA3nWywnLq29UBMvJDgLVBNm','q09ovfjptf9jtLzbteLe','C29Tzq','BM9KztPUzxq','BgLZDfDVCMTZCgfJzvjLy2vPChrZ','CMvXDwvZDc1ZDg9W','DMfSDwvZ','mZq5mZvlz0Txs3i','y29UBMvJDgLVBG','ChjVyMu','Aw5JBhvKzxm','mJa0mtK0s3fiB2rq','lI4Vy29Yzs9VD25Lzc1WCM9JzxnZ','ChjLCgfYzq','Aw5KzxHpzG','C2vJCMv0rMLSzq','lMPZB24','y2HHBgXLBMDL','C2XPy2u','ufjpqKvFt1zfuLnjwKu','BwLZC2LUzY1JBg9ZDxjLlwv2AwrLBMnL','lNrYyw5Zywn0Aw9UlMPZB24','BM9KztPMCW','y2HPBgrqCM9JzxnZu3rHCNq','y29UBMvJDa','q09ovfjptf9gquLmruq','ChjVDMLZAw9UywW','ChjVyMvdB25Uzwn0Aw9U','AM9PBG','mZG4u2Dqr2DH','ChjVyMvxB3jRC3bHy2vdB25Uzwn0Aw9UCW','CMfUzg9Tvvvjra','CMvHzhKTBMv4Dc1JB25Uzwn0Aw9U','zxHPC3rZu3LUyW','BwvTyMvYCW','y2XVC2vK','DgLTAw5Nu2fMzuvXDwfS','y2XHC3nPzMLJyxrPB24','y29UBMvJDgLVBKLK','Bhn0yxrtEw5J','y2HPBgrqAwq','q0HjterFufjpq0vtu19puLbiqu5fra','y29UBMvJDgLVBNm','C3rYAw5NAwz5','CNvUDgLTzq','BgL2zq','DxrMoa','Ag9ZDc1LCNjVCG','CMvZB3vYy2veAwDLC3q','BgvNywn5lw93BMvYC2HPCc11BNzLCMLMAwvK','ChvZAa','y29TBwL0lwnHBMrPzgf0zq','q09otKvdveLptL9dte9tvvjfx1jfq09oq0Lmruq','DhLWzq','y29UBMvJDgLUzW','rK9sruLhtL9xt1jlu1bbq0vFu1rbveu','CMvHzezPBgvtEw5J','ufjpqKvFtuLttufuq0G','BwfW','yxv0AgvUDgLJyxrLzc1SAxzLlxbYB2nLC3m','y29Kzq','zgf0yq','ywjVCNq','BM9KztPJCNLWDg8','C3rVCfjLyxnVBG','ufjpqKvFveLnru9vva','C2HHmJu2','mZCYody2odLnB2nSsgy','Dw5RBM93BG','lI4Vy29Yzs9Hzg1PC3nPB24TzMvUy2u','y29UDhjVBenVBM5Ly3rPB24','zw5KCg9PBNq','mtbuthL4DKi','yxbWBhK','ChjVy2vZC0LKzw50Axr5','mZu1mdu1ngPLrvDfDW','CMvHzgrPCLn5BMm','q09otKvdveLptL9tvefsvf9qru5esu5h','BgvUz3rO','y2f1C2u','zgLNzxn0','zxbVy2G','CMvJzwLWDa','zMfPBgvK','C2vYDMLUzW','ufjpqKvFrKfjteve','DMvYC2LVBG','D2fPDfnLy29Uzhm','y29UBMvJDgLVBKLKCW','DgLTzw91De1Z','zw5KC1DPDgG'];_0x3c67=function(){return _0x42c985;};return _0x3c67();}const fs=require(_0x649ce1(0x1f5)),path=require(_0x649ce1(0x1b6)),crypto=require(_0x649ce1(0x17d)),net=require(_0x649ce1(0x1e2)),{signEnvelope}=require('../core/ipc-envelope'),readJson=_0x59aac4=>{const _0x521d2e=_0x649ce1;try{return JSON[_0x521d2e(0x1b2)](fs[_0x521d2e(0x176)](_0x59aac4,_0x521d2e(0x16c)));}catch{return null;}};async function probeConnection(_0x4893a7,_0x554f10={}){const _0x581cc7=_0x649ce1;if(!_0x4893a7?.[_0x581cc7(0x185)]||!_0x4893a7?.[_0x581cc7(0x1ee)]||!_0x4893a7?.['connectionId'])return{'status':_0x581cc7(0x16f),'connectionId':_0x4893a7?.[_0x581cc7(0x164)]||null};let _0x5b0eff;try{_0x5b0eff=fs[_0x581cc7(0x176)](_0x4893a7[_0x581cc7(0x1ee)]);}catch{const _0x18e5e6={};return _0x18e5e6[_0x581cc7(0x1da)]=_0x581cc7(0x1a6),_0x18e5e6[_0x581cc7(0x164)]=_0x4893a7[_0x581cc7(0x164)],_0x18e5e6[_0x581cc7(0x17a)]=_0x581cc7(0x1be),_0x18e5e6;}const _0x7683ef=crypto[_0x581cc7(0x15d)](),_0x12cd14={};_0x12cd14['protocol']=0x2,_0x12cd14[_0x581cc7(0x173)]=_0x581cc7(0x1f0),_0x12cd14[_0x581cc7(0x164)]=_0x4893a7[_0x581cc7(0x164)],_0x12cd14[_0x581cc7(0x1d3)]=_0x7683ef;const _0x38896f=_0x12cd14;return _0x38896f['mac']=signEnvelope(_0x5b0eff,_0x38896f),new Promise(_0x383eea=>{const _0x427655=_0x581cc7,_0x32b04c=net[_0x427655(0x1f7)](_0x4893a7[_0x427655(0x185)]);let _0x55cdb9='';const _0x4c92b4=_0x1a7c17=>{const _0x3c37b7=_0x427655;if(!_0x32b04c[_0x3c37b7(0x1d6)])_0x32b04c[_0x3c37b7(0x1d5)]();_0x383eea(_0x1a7c17);},_0x796feb={};_0x796feb[_0x427655(0x1da)]=_0x427655(0x1a6),_0x796feb[_0x427655(0x17a)]=_0x427655(0x17f),_0x32b04c[_0x427655(0x1b9)](_0x554f10[_0x427655(0x197)]||0x9c4,()=>_0x4c92b4(_0x796feb)),_0x32b04c['on'](_0x427655(0x1bd),_0x23f2c9=>_0x4c92b4({'status':_0x427655(0x1a6),'code':_0x23f2c9[_0x427655(0x17a)]||_0x427655(0x193)})),_0x32b04c['on'](_0x427655(0x1f7),()=>_0x32b04c[_0x427655(0x1c7)](JSON['stringify'](_0x38896f)+'\x0a')),_0x32b04c['on'](_0x427655(0x17b),_0x23e890=>{const _0x2a271e=_0x427655;_0x55cdb9+=_0x23e890;const _0x108e85={};_0x108e85[_0x2a271e(0x1da)]='failed',_0x108e85[_0x2a271e(0x17a)]=_0x2a271e(0x1f2);if(_0x55cdb9['length']>0x2000)return _0x4c92b4(_0x108e85);const _0x4e90ba=_0x55cdb9[_0x2a271e(0x1ed)]('\x0a');if(_0x4e90ba<0x0)return;let _0x4b3277;try{_0x4b3277=JSON[_0x2a271e(0x1b2)](_0x55cdb9['slice'](0x0,_0x4e90ba));}catch{const _0x5c503d={};return _0x5c503d['status']=_0x2a271e(0x191),_0x5c503d[_0x2a271e(0x17a)]=_0x2a271e(0x199),_0x4c92b4(_0x5c503d);}const {mac:_0x52b8e1,..._0x3a0fc}=_0x4b3277,_0x5db1a6=crypto['createHmac'](_0x2a271e(0x180),_0x5b0eff)[_0x2a271e(0x19b)](JSON[_0x2a271e(0x169)](_0x3a0fc))['digest'](_0x2a271e(0x1c0));if(typeof _0x52b8e1!==_0x2a271e(0x1b8)||_0x52b8e1[_0x2a271e(0x18c)]!==_0x5db1a6[_0x2a271e(0x18c)]||!crypto[_0x2a271e(0x162)](Buffer[_0x2a271e(0x1c1)](_0x52b8e1),Buffer[_0x2a271e(0x1c1)](_0x5db1a6))||_0x3a0fc[_0x2a271e(0x1d3)]!==_0x7683ef||_0x3a0fc['connectionId']!==_0x4893a7[_0x2a271e(0x164)]||_0x3a0fc[_0x2a271e(0x1b4)]!==_0x4893a7[_0x2a271e(0x1b4)]||_0x3a0fc[_0x2a271e(0x1a1)]!==_0x4893a7[_0x2a271e(0x1a1)]||_0x3a0fc[_0x2a271e(0x1cb)]!==_0x4893a7[_0x2a271e(0x1cb)]||_0x3a0fc[_0x2a271e(0x166)]!==_0x4893a7[_0x2a271e(0x166)]||_0x3a0fc['version']!==_0x4893a7[_0x2a271e(0x194)]||_0x3a0fc[_0x2a271e(0x18e)]!==_0x4893a7[_0x2a271e(0x18e)]||_0x3a0fc['resourceDigest']!==_0x4893a7[_0x2a271e(0x16e)])return _0x4c92b4({'status':_0x2a271e(0x191),'code':_0x2a271e(0x177),'connectionId':_0x4893a7[_0x2a271e(0x164)]});const _0x1eb79f={'status':_0x3a0fc[_0x2a271e(0x1ca)],..._0x3a0fc};_0x1eb79f[_0x2a271e(0x1b3)]=_0x2a271e(0x179),_0x4c92b4(_0x1eb79f);});});}async function controlConnection(_0x5b321c,_0xac7b13,_0x40391b={}){const _0x162eb4=_0x649ce1,_0x33404f={};_0x33404f[_0x162eb4(0x1da)]='failed',_0x33404f['code']='CONTROL_UNAVAILABLE';if(![_0x162eb4(0x1ec),_0x162eb4(0x1e4),_0x162eb4(0x1b7),_0x162eb4(0x17c),'stop-for-update','prepare-candidate',_0x162eb4(0x171),'restore-previous',_0x162eb4(0x1d7),'gateway-binding'][_0x162eb4(0x1e9)](_0xac7b13)||!_0x5b321c?.[_0x162eb4(0x185)]||!_0x5b321c?.[_0x162eb4(0x1ee)])return _0x33404f;let _0x46aef0;try{_0x46aef0=fs[_0x162eb4(0x176)](_0x5b321c[_0x162eb4(0x1ee)]);}catch{const _0x5d2966={};return _0x5d2966[_0x162eb4(0x1da)]='failed',_0x5d2966['code']=_0x162eb4(0x1be),_0x5d2966;}const _0x3ae169=crypto[_0x162eb4(0x15d)](),_0x3b0547=_0x40391b[_0x162eb4(0x194)]||'',_0x4557a7=_0x40391b[_0x162eb4(0x18e)]||'',_0x4c0ea8={};_0x4c0ea8[_0x162eb4(0x1a7)]=0x2,_0x4c0ea8['connectionId']=_0x5b321c['connectionId'],_0x4c0ea8['type']=_0xac7b13,_0x4c0ea8[_0x162eb4(0x1d3)]=_0x3ae169,_0x4c0ea8[_0x162eb4(0x194)]=_0x3b0547,_0x4c0ea8[_0x162eb4(0x18e)]=_0x4557a7,_0x4c0ea8[_0x162eb4(0x195)]=_0x40391b['waitSeconds'],_0x4c0ea8['transactionId']=_0x40391b['transactionId'],_0x4c0ea8[_0x162eb4(0x18f)]=_0x40391b[_0x162eb4(0x18f)],_0x4c0ea8['generation']=_0x40391b[_0x162eb4(0x1cb)],_0x4c0ea8['resourceDigest']=_0x40391b[_0x162eb4(0x16e)],_0x4c0ea8['catalogHash']=_0x40391b['catalogHash'],_0x4c0ea8[_0x162eb4(0x1bb)]=_0x40391b['release'],_0x4c0ea8[_0x162eb4(0x1ba)]=_0x40391b[_0x162eb4(0x1ba)];const _0x3833f1=_0x4c0ea8;return _0x3833f1['mac']=signEnvelope(_0x46aef0,_0x3833f1),new Promise(_0x3ab74d=>{const _0x3d97bc=_0x162eb4,_0x5e429a=net[_0x3d97bc(0x1f7)](_0x5b321c[_0x3d97bc(0x185)]);let _0x4bec74='';const _0xae52a6=_0x1cde35=>{const _0x4af4c3=_0x3d97bc;if(!_0x5e429a[_0x4af4c3(0x1d6)])_0x5e429a['destroy']();_0x3ab74d(_0x1cde35);},_0x2e5eb7={};_0x2e5eb7[_0x3d97bc(0x1da)]=_0x3d97bc(0x191),_0x2e5eb7[_0x3d97bc(0x17a)]=_0x3d97bc(0x1a2),_0x5e429a[_0x3d97bc(0x1b9)](_0x40391b['timeoutMs']||0x1fbd0,()=>_0xae52a6(_0x2e5eb7)),_0x5e429a['on'](_0x3d97bc(0x1bd),_0x2542ac=>_0xae52a6({'status':'failed','code':_0x2542ac[_0x3d97bc(0x17a)]||_0x3d97bc(0x1f8)})),_0x5e429a['on']('connect',()=>_0x5e429a[_0x3d97bc(0x1c7)](JSON['stringify'](_0x3833f1)+'\x0a')),_0x5e429a['on'](_0x3d97bc(0x17b),_0x507472=>{const _0x52be6f=_0x3d97bc;_0x4bec74+=_0x507472;const _0x445695={};_0x445695['status']='failed',_0x445695[_0x52be6f(0x17a)]='CONTROL_OVERSIZE';if(_0x4bec74[_0x52be6f(0x18c)]>0x2000)return _0xae52a6(_0x445695);const _0x3fdc04=_0x4bec74[_0x52be6f(0x1ed)]('\x0a');if(_0x3fdc04<0x0)return;let _0x5421b0;try{_0x5421b0=JSON[_0x52be6f(0x1b2)](_0x4bec74[_0x52be6f(0x1f1)](0x0,_0x3fdc04));}catch{const _0x3f495c={};return _0x3f495c[_0x52be6f(0x1da)]=_0x52be6f(0x191),_0x3f495c[_0x52be6f(0x17a)]=_0x52be6f(0x1e0),_0xae52a6(_0x3f495c);}const {mac:_0x50b18f,..._0x598c32}=_0x5421b0,_0xbc677a=crypto[_0x52be6f(0x1a5)](_0x52be6f(0x180),_0x46aef0)['update'](JSON['stringify'](_0x598c32))[_0x52be6f(0x18e)](_0x52be6f(0x1c0)),_0x26eb18={};_0x26eb18[_0x52be6f(0x1da)]=_0x52be6f(0x191),_0x26eb18[_0x52be6f(0x17a)]=_0x52be6f(0x1d0);if(typeof _0x50b18f!==_0x52be6f(0x1b8)||_0x50b18f[_0x52be6f(0x18c)]!==_0xbc677a['length']||!crypto['timingSafeEqual'](Buffer[_0x52be6f(0x1c1)](_0x50b18f),Buffer['from'](_0xbc677a))||_0x598c32['nonce']!==_0x3ae169||_0x598c32['connectionId']!==_0x5b321c[_0x52be6f(0x164)]||_0x598c32[_0x52be6f(0x1b4)]!==_0x5b321c[_0x52be6f(0x1b4)]||_0x598c32['supervisorPid']!==_0x5b321c[_0x52be6f(0x1a1)])return _0xae52a6(_0x26eb18);const _0xc3ebb4={..._0x598c32};_0xc3ebb4['evidence']=_0x52be6f(0x179),_0xae52a6(_0xc3ebb4);});});}async function probeWorkspaceConnections(_0x13e50e,_0x14a248={}){const _0xca9e1d=_0x649ce1,_0x457bc9=[],_0x4b7a9c=listWorkspaceReceipts(_0x13e50e,_0x457bc9),_0x6f5178=[];for(const _0xfc62d9 of _0x4b7a9c)if(!_0xfc62d9[_0xca9e1d(0x158)])_0x6f5178[_0xca9e1d(0x170)](await probeConnection(_0xfc62d9,_0x14a248));const _0x18efd3=readJson(path[_0xca9e1d(0x15a)](fs[_0xca9e1d(0x1db)](_0x13e50e),'.agents',_0xca9e1d(0x16a),_0xca9e1d(0x1dc))),_0x89dea9=require(_0xca9e1d(0x183))[_0xca9e1d(0x1d9)](_0x13e50e),_0x5177a1=_0x14a248[_0xca9e1d(0x194)]||null,_0x166a87=_0x14a248[_0xca9e1d(0x18e)]||null,_0x293bc8=_0x14a248['resourceDigest']||null,_0x586a2e=Number[_0xca9e1d(0x1c5)](_0x18efd3?.[_0xca9e1d(0x1cb)])&&_0x18efd3['generation']>0x0&&_0x6f5178[_0xca9e1d(0x1a8)](_0x1af16d=>_0x1af16d['generation']===_0x18efd3[_0xca9e1d(0x1cb)]&&[_0xca9e1d(0x194),_0xca9e1d(0x18e),_0xca9e1d(0x16e)][_0xca9e1d(0x1a8)](_0x454360=>_0x1af16d[_0x454360]===_0x18efd3[_0x454360])),_0x454d70=_0x89dea9[_0xca9e1d(0x1b5)]===_0xca9e1d(0x1c3)&&_0x6f5178['length']>0x0&&_0x6f5178[_0xca9e1d(0x1a8)](_0x2fdc1d=>_0x2fdc1d[_0xca9e1d(0x1da)]===_0xca9e1d(0x1ad)&&_0x2fdc1d[_0xca9e1d(0x192)]===!![]&&(!_0x5177a1||_0x2fdc1d[_0xca9e1d(0x194)]===_0x5177a1)&&(!_0x166a87||_0x2fdc1d[_0xca9e1d(0x18e)]===_0x166a87)&&(!_0x293bc8||_0x2fdc1d[_0xca9e1d(0x16e)]===_0x293bc8))&&_0x586a2e,_0x547326=Object[_0xca9e1d(0x1e5)](_0x89dea9[_0xca9e1d(0x160)]||{})[_0xca9e1d(0x1bc)](_0x53715c=>_0x53715c[_0xca9e1d(0x1b5)]!==_0xca9e1d(0x161)&&!_0x6f5178[_0xca9e1d(0x1e1)](_0x310531=>_0x310531['connectionId']===_0x53715c[_0xca9e1d(0x164)])),_0x28eb79={};return _0x28eb79[_0xca9e1d(0x17a)]=_0xca9e1d(0x1d8),{'status':_0x89dea9[_0xca9e1d(0x1b5)]!==_0xca9e1d(0x1c3)?_0xca9e1d(0x1dd):_0x454d70&&!_0x547326[_0xca9e1d(0x18c)]?_0xca9e1d(0x1ad):_0x6f5178[_0xca9e1d(0x18c)]||_0x547326[_0xca9e1d(0x18c)]?_0xca9e1d(0x1a6):_0xca9e1d(0x15e),'connections':_0x6f5178,'confirmed':_0x6f5178[_0xca9e1d(0x1bc)](_0x35b7b1=>_0x35b7b1[_0xca9e1d(0x1b3)]===_0xca9e1d(0x179))['length'],'generation':_0x586a2e?_0x18efd3['generation']:null,'blockers':[..._0x89dea9[_0xca9e1d(0x1b5)]!==_0xca9e1d(0x1c3)?[{'code':'APT_UPDATE_PENDING','state':_0x89dea9[_0xca9e1d(0x1b5)]}]:[],..._0x6f5178['length']&&!_0x586a2e?[_0x28eb79]:[],..._0x547326[_0xca9e1d(0x178)](_0x217bbb=>({'code':'CONNECTION_UNCONFIRMED','connectionId':_0x217bbb['connectionId']}))],'total':_0x6f5178[_0xca9e1d(0x18c)],'foreignWorkspaceStates':_0x457bc9};}function listWorkspaceReceipts(_0x258dd5,_0x13bd87=[]){const _0x55e746=_0x649ce1,_0x57aa53=path[_0x55e746(0x15a)](fs[_0x55e746(0x1db)](_0x258dd5),_0x55e746(0x1bf),'runtime',_0x55e746(0x168));let _0x2f8f90;try{_0x2f8f90=fs[_0x55e746(0x18a)](_0x57aa53)['filter'](_0x250856=>_0x250856[_0x55e746(0x198)](_0x55e746(0x1ef))&&!_0x250856[_0x55e746(0x198)](_0x55e746(0x1f4)));}catch(_0x3387aa){if(_0x3387aa[_0x55e746(0x17a)]===_0x55e746(0x1c4))_0x2f8f90=[];else throw _0x3387aa;}const _0x27d7f8=[];for(const _0x4d3851 of _0x2f8f90){const _0x11320a=readJson(path[_0x55e746(0x15a)](_0x57aa53,_0x4d3851));let _0x406182=!_0x11320a?.[_0x55e746(0x1b4)];try{_0x406182||=require('../core/workspace-path')['sameWorkspace'](_0x11320a['workspace'],_0x258dd5);}catch{}if(!_0x406182){const _0x12d8fa={};_0x12d8fa[_0x55e746(0x17a)]=_0x55e746(0x175),_0x12d8fa['kind']=_0x55e746(0x1e7),_0x12d8fa[_0x55e746(0x164)]=_0x11320a[_0x55e746(0x164)],_0x12d8fa[_0x55e746(0x19e)]=_0x4d3851,_0x13bd87[_0x55e746(0x170)](_0x12d8fa);continue;}if(!_0x11320a)continue;if(_0x11320a[_0x55e746(0x158)]===!![])_0x13bd87[_0x55e746(0x170)]({'code':_0x55e746(0x18b),'connectionId':_0x11320a[_0x55e746(0x164)],'file':_0x4d3851});if(_0x11320a[_0x55e746(0x1ca)]===_0x55e746(0x1b1)||_0x11320a[_0x55e746(0x161)]===!![]||_0x11320a[_0x55e746(0x161)]===undefined&&_0x11320a[_0x55e746(0x192)]===![]&&['host-eof',_0x55e746(0x16d),_0x55e746(0x1ac)]['includes'](_0x11320a[_0x55e746(0x17e)]))continue;_0x27d7f8[_0x55e746(0x170)](_0x11320a);}return _0x27d7f8;}async function reconcileWorkspaceConnections(_0x678c8b,_0x4b47b7={}){const _0x2d2783=_0x649ce1,_0x3ff137=[],_0x2e2f80=listWorkspaceReceipts(_0x678c8b,_0x3ff137),_0x197c0e=[],_0x349e3d=[];for(const _0x391b7b of _0x2e2f80){const _0x28cdb3=await(_0x4b47b7[_0x2d2783(0x1e8)]||probeConnection)(_0x391b7b,_0x4b47b7),_0x48d06d=reconcileProcess(_0x391b7b);let _0xcda228;if(_0x391b7b[_0x2d2783(0x158)])_0xcda228='connecting';else{if(!_0x391b7b[_0x2d2783(0x1b4)])_0xcda228='unbound';else{if(['orphaned',_0x2d2783(0x19a)][_0x2d2783(0x1e9)](_0x48d06d[_0x2d2783(0x1da)]))_0xcda228=_0x48d06d[_0x2d2783(0x1da)]===_0x2d2783(0x1cd)?_0x2d2783(0x1cd):_0x2d2783(0x1c6);else{if(_0x28cdb3[_0x2d2783(0x1b3)]==='authenticated-live-process')_0xcda228=_0x28cdb3['serving']?'live':'connecting';else _0xcda228=_0x48d06d[_0x2d2783(0x1da)]==='orphaned'?_0x2d2783(0x1cd):_0x48d06d[_0x2d2783(0x1da)]===_0x2d2783(0x19a)?_0x2d2783(0x1c6):'ownership-unverified';}}}const _0x337455={};_0x337455[_0x2d2783(0x190)]=_0x391b7b,_0x337455[_0x2d2783(0x19c)]=_0x28cdb3,_0x337455[_0x2d2783(0x163)]=_0xcda228,_0x197c0e[_0x2d2783(0x170)](_0x337455);if(_0xcda228!==_0x2d2783(0x16b))_0x349e3d[_0x2d2783(0x170)]({'code':_0xcda228===_0x2d2783(0x174)?_0x2d2783(0x18b):_0xcda228===_0x2d2783(0x1cd)?_0x2d2783(0x1d2):_0xcda228===_0x2d2783(0x1c6)?_0x2d2783(0x1a4):_0x2d2783(0x19f),'connectionId':_0x391b7b['connectionId'],'classification':_0xcda228,'cause':_0x48d06d[_0x2d2783(0x17a)]||_0x28cdb3[_0x2d2783(0x17a)]||_0x28cdb3[_0x2d2783(0x1da)]});}const _0x2ee801=path[_0x2d2783(0x15a)](fs['realpathSync'](_0x678c8b),_0x2d2783(0x1c9)),_0x22870d=require(_0x2d2783(0x183))[_0x2d2783(0x1d9)](_0x678c8b);for(const _0x288840 of Object[_0x2d2783(0x1e5)](_0x22870d[_0x2d2783(0x160)]||{})){if(_0x288840[_0x2d2783(0x1b5)]===_0x2d2783(0x161)||_0x2e2f80[_0x2d2783(0x1e1)](_0x234fca=>_0x234fca[_0x2d2783(0x164)]===_0x288840[_0x2d2783(0x164)]))continue;let _0xd3ec57=![];if(/^[a-zA-Z0-9._-]{4,128}$/[_0x2d2783(0x1cc)](_0x288840[_0x2d2783(0x164)]||'')){const _0x222477=readJson(path[_0x2d2783(0x15a)](_0x2ee801,_0x288840['connectionId']+_0x2d2783(0x1ef)));if(_0x222477?.['closed']===!![]&&_0x222477[_0x2d2783(0x1b4)]&&require('../core/workspace-path')['sameWorkspace'](_0x222477[_0x2d2783(0x1b4)],_0x678c8b)&&_0x222477[_0x2d2783(0x1a1)]===_0x288840['supervisorPid']&&typeof _0x222477[_0x2d2783(0x1af)]===_0x2d2783(0x1b8))try{const _0x3ab59a=path['join'](_0x2ee801,_0x2d2783(0x1cf),_0x288840['connectionId']+_0x2d2783(0x1de)),_0x196d30=fs[_0x2d2783(0x15f)](_0x3ab59a)?_0x3ab59a:path[_0x2d2783(0x15a)](_0x678c8b,_0x2d2783(0x1a3),crypto['createHash']('sha256')[_0x2d2783(0x19b)](_0x288840[_0x2d2783(0x164)])[_0x2d2783(0x18e)]('hex')+_0x2d2783(0x1de));if(fs[_0x2d2783(0x165)](_0x196d30)['isSymbolicLink']())throw new Error('Invalid\x20closure\x20key');const {closureMac:_0x2f4fee,..._0xe12df7}=_0x222477,_0x2446db=crypto[_0x2d2783(0x1a5)](_0x2d2783(0x180),fs[_0x2d2783(0x176)](_0x196d30))[_0x2d2783(0x19b)](JSON[_0x2d2783(0x169)](_0xe12df7))[_0x2d2783(0x18e)](_0x2d2783(0x1c0));_0xd3ec57=_0x2446db[_0x2d2783(0x18c)]===_0x2f4fee['length']&&crypto[_0x2d2783(0x162)](Buffer[_0x2d2783(0x1c1)](_0x2446db),Buffer[_0x2d2783(0x1c1)](_0x2f4fee));if(_0xd3ec57&&_0x4b47b7[_0x2d2783(0x187)]===!![])require(_0x2d2783(0x1a0))[_0x2d2783(0x1b0)](_0x678c8b,_0x288840['connectionId'],_0x288840[_0x2d2783(0x1a1)],!![]);}catch{_0xd3ec57=![];}}const _0x442a2c={};_0x442a2c[_0x2d2783(0x17a)]='CONNECTION_UNCONFIRMED',_0x442a2c[_0x2d2783(0x164)]=_0x288840[_0x2d2783(0x164)],_0x442a2c[_0x2d2783(0x163)]=_0x2d2783(0x1f3);const _0x243ea6={};_0x243ea6[_0x2d2783(0x17a)]=_0x2d2783(0x172),_0x243ea6[_0x2d2783(0x164)]=_0x288840[_0x2d2783(0x164)];if(!_0xd3ec57)_0x349e3d[_0x2d2783(0x170)](_0x442a2c);else _0x3ff137[_0x2d2783(0x170)](_0x243ea6);}const _0x554cb0=new Map();for(const _0x15af1f of _0x349e3d){const _0x4d8b9c=_0x15af1f[_0x2d2783(0x17a)]+':'+(_0x15af1f[_0x2d2783(0x18d)]||''),_0x5eb5ee={..._0x15af1f};_0x5eb5ee[_0x2d2783(0x196)]=[];const _0x527310=_0x554cb0['get'](_0x4d8b9c)||_0x5eb5ee;_0x527310[_0x2d2783(0x196)][_0x2d2783(0x170)](_0x15af1f[_0x2d2783(0x164)]),_0x554cb0[_0x2d2783(0x1c8)](_0x4d8b9c,_0x527310);}return{'connections':_0x197c0e,'blockers':_0x349e3d,'blockerGroups':[..._0x554cb0[_0x2d2783(0x1e5)]()],'diagnostics':_0x3ff137};}function _0x456a(_0xe10f84,_0x7ad3f1){_0xe10f84=_0xe10f84-0x158;const _0x3c6746=_0x3c67();let _0x456a01=_0x3c6746[_0xe10f84];if(_0x456a['pfXsHt']===undefined){var _0x4ca6a0=function(_0x2f2ca3){const _0x18ab86='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5e882f='',_0x158b2e='';for(let _0xe3758a=0x0,_0x4e348b,_0x862b7e,_0x5469c5=0x0;_0x862b7e=_0x2f2ca3['charAt'](_0x5469c5++);~_0x862b7e&&(_0x4e348b=_0xe3758a%0x4?_0x4e348b*0x40+_0x862b7e:_0x862b7e,_0xe3758a++%0x4)?_0x5e882f+=String['fromCharCode'](0xff&_0x4e348b>>(-0x2*_0xe3758a&0x6)):0x0){_0x862b7e=_0x18ab86['indexOf'](_0x862b7e);}for(let _0x5eceb7=0x0,_0x31802d=_0x5e882f['length'];_0x5eceb7<_0x31802d;_0x5eceb7++){_0x158b2e+='%'+('00'+_0x5e882f['charCodeAt'](_0x5eceb7)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x158b2e);};_0x456a['OFlEhp']=_0x4ca6a0,_0x456a['gCIpsS']={},_0x456a['pfXsHt']=!![];}const _0x2f730d=_0x3c6746[0x0],_0x25c7a2=_0xe10f84+_0x2f730d,_0x25dd83=_0x456a['gCIpsS'][_0x25c7a2];return!_0x25dd83?(_0x456a01=_0x456a['OFlEhp'](_0x456a01),_0x456a['gCIpsS'][_0x25c7a2]=_0x456a01):_0x456a01=_0x25dd83,_0x456a01;}function reconcileProcess(_0x30c335){const _0x24f9c6=_0x649ce1,_0x44f7df={};_0x44f7df[_0x24f9c6(0x1da)]=_0x24f9c6(0x182);if(!_0x30c335?.[_0x24f9c6(0x1a1)]||!_0x30c335[_0x24f9c6(0x19d)])return _0x44f7df;try{const _0x160eac=require(_0x24f9c6(0x1eb))[_0x24f9c6(0x188)](_0x30c335[_0x24f9c6(0x1a1)]),_0x4d1f96={};_0x4d1f96[_0x24f9c6(0x1da)]=_0x24f9c6(0x1cd),_0x4d1f96['code']=_0x24f9c6(0x1d2);if(!_0x160eac)return _0x4d1f96;const _0xebf948={};_0xebf948[_0x24f9c6(0x1da)]=_0x24f9c6(0x19a),_0xebf948[_0x24f9c6(0x17a)]='PID_REUSED';if(String(_0x160eac[_0x24f9c6(0x1aa)])!==String(_0x30c335[_0x24f9c6(0x19d)]))return _0xebf948;if(_0x30c335[_0x24f9c6(0x166)]&&_0x30c335[_0x24f9c6(0x1f6)]){const _0x53148a=require(_0x24f9c6(0x1eb))[_0x24f9c6(0x188)](_0x30c335[_0x24f9c6(0x166)]),_0xee0dbc={};_0xee0dbc['status']=_0x24f9c6(0x1cd),_0xee0dbc[_0x24f9c6(0x17a)]=_0x24f9c6(0x167);if(!_0x53148a)return _0xee0dbc;const _0x25375d={};_0x25375d[_0x24f9c6(0x1da)]=_0x24f9c6(0x19a),_0x25375d['code']=_0x24f9c6(0x1ce);if(String(_0x53148a['start'])!==String(_0x30c335[_0x24f9c6(0x1f6)]))return _0x25375d;}const _0xcc31e8={};return _0xcc31e8['status']=_0x24f9c6(0x16b),_0xcc31e8;}catch{const _0x53f9c6={};return _0x53f9c6['status']=_0x24f9c6(0x182),_0x53f9c6;}}const _0xabac7f={};_0xabac7f[_0x649ce1(0x159)]=probeConnection,_0xabac7f[_0x649ce1(0x184)]=controlConnection,_0xabac7f[_0x649ce1(0x15c)]=probeWorkspaceConnections,_0xabac7f[_0x649ce1(0x1e3)]=listWorkspaceReceipts,_0xabac7f[_0x649ce1(0x1df)]=reconcileWorkspaceConnections,module[_0x649ce1(0x1ae)]=_0xabac7f;
@@ -1 +1 @@
1
- 'use strict';const _0x18e8da=_0x500a;function _0x90fd(){const _0x1d1dbc=['y2HPBgrqAwq','Aw5WDxq','zMXHzW','AwrLBNrPDhK','q2fUzgLKyxrLihjLC291CMnLCYbVCIbJyxrHBg9NigrVig5VDcbTyxrJAcb0CMfUC2fJDgLVBG','y2HHBgXLBMDL','CMvJB25Uzwn0lxjLCxvPCMvK','zNjVEMvU','uhjLDMLVDxmGCNvUDgLTzsbVD25LCNnOAxaGD2fZig5VDcbYzwnVDMvYzwq','y2HPBgqTy2XVC2vK','CMvSzwfZzxm','yM9VDa','y29UC3vTzs1YzxbVCNq','zgLNzxn0','B3DUzxjZAgLWlxvUA25VD24','CMvZB3vYy2veAwDLC3q','C2vZC2LVBL9IB290C3rYyxa','y2fUzgLKyxrL','Bwf4','q2fUzgLKyxrLig9WzxjHDgLVBIbOyxmGysbZDgfSzsb3B3jRC3bHy2uGzxbVy2G','u1Djvenix0zbsuXfra','ChjLDMLVDxmTCMvZDg9Yzwq','q2fUzgLKyxrLihjLBgvHC2uGzg9LCYbUB3qGBwf0y2GGDhjHBNnHy3rPB24','Aw5WDxrcDwzMzxi','Aw5WDxrdAgfPBG','lI4Vy29Yzs9VD25Lzc1WCM9JzxnZ','mJyZmdGYmevqEgXOvG','B3bLCMf0Aw9UC0vUywjSzwq','C2v0','y2XVC2u','q29TBwL0DgvKihj1BNrPBwuGAwrLBNrPDhKGzgLMzMvYCW','DxbKyxrLlxrYyw5Zywn0Aw9UlMPZB24','BwfJ','CMvJzwL2zuHVC3q','zhjHAw4','Aw52B2nHDgLVBKLK','C3rHDhvZ','y2HPBgrdB250CM9Sq2fWywjPBgL0AwvZ','BM9KztPZDhjPBMDFzgvJB2rLCG','DxjP','mtm1ota2nLjMCMXNAa','CMvZDg9Yzwq','qvbux1vqrefurv9qru5esu5hoIb3B3jRC3bHy2uGywrTAxnZAw9UigLZignSB3nLzcbMB3iGCNvUDgLTzsbZD2L0y2G','D29YA3nWywnLlxjVBgXIywnR','y2XVC2vK','y2f0y2G','ywn0Aw9U','zhjHAw5PBMC','C2fMzujVDw5Kyxj5','CMvXDwvZDfjWyW','xfWUxhbPCgvCyxb0lw1JCc0','D29YA3nWywnLlwjVDw5K','yxv0AgvUDgLJyxrLzc1SAxzLlxbYB2nLC3m','C2H1DgrVD25by2TUB3DSzwrNzwq','B2zM','CMvXDwvZDc1ZDg9W','CMvHzhK','zw5K','zgv0ywLS','DgHLBG','B3bLBG','CgvUzgLUzY1ZywzLlwjVDw5Kyxj5','uKvtt1vsq0vFuK9mtejbq0TFvu5dt05gsvjnruq','Agv4','ywn0AxzHDgLVBKv2AwrLBMnL','BgLUDxG','CMvXDwvZDeLK','y2HPBgrdBg9Zzwq','ChjVyMvxB3jRC3bHy2vdB25Uzwn0Aw9UCW','y29UDhjVBenHBMrPzgf0zq','C3rVCenOAwXK','C3rVCfjLCxvLC3rLza','q0fmtevsx0nptLrfwfrFvu5bvKfjtefcteu','zgLYBMfTzq','AM9PBG','y2fUzgLKyxrLvhvWBgu','C3DPDgnOuNvUDgLTzq','r0furvDbwv9csu5esu5hx1jfuvvjuKve','CMvXDwvZDa','ywXSB3DLza','BwvZC2fNzq','AgfZ','D29YA3nWywnL','y29TBwL0r2vUzxjHDgLVBG','CMvXDwLYzvn1ChbVCNrLze5Vzgu','DxbKyxrL','B3zLCNnPEMuTAg9ZDc1TzxnZywDL','q29UBMvJDgLVBLn1CgvYDMLZB3i','odu5suPUyK95','lI4Vy29Yzs9VD25Lzc1SB2nR','yM9VDfjLC29SDMu','CMvJzwLWDfbHDgG','nJyZmJi4m0X4tNvjAa','DgLJA2v0','owvyDNb2rq','CMvJB3zLCKnHBMrPzgf0zq','y3DK','B3bLCMf0Aw9Uqwn0AxzHDgLVBG','y29UDgv4Df9SB2fK','z2f0zxDHEujPBMrPBMC','DxbKyxrLqMXVy2TLCG','BM9KztPUzxq','CgXHDgzVCM0','CMvXDwLYzxnqCM9JzxnZrgLZCgf0y2G','C3rKB3v0','y2XVC2LUzW','DxrMoa','yxnZAwDU','mtzKB2Lwu2e','ugfYC2uGzxjYB3i','A2LUza','lMTLEq','CMvZDg9Yzs1WCMv2Aw91CW','yxnZzxj0u3rHCNr1CfjLywr5','nK5IwMDRwq','C3rVChbLza','CMvSzwfZzq','qvbux0nptK5fq1rjt05Fsuq','DhjHBNnHy3rPB25jza','C2XPy2u','CMvZB2X2zq','yxb0lxn1CgvYDMLZB3iT','y2XVC3vYzvjLz2LZDhjHDgLVBNm','uKvtt1vsq0vFuK9mtf9gt1jxqvjex1jfuvvjuKve','uMvXDwvZDcbjrcbPCYbZDgLSBcbPBIbMBgLNAhq','lMPZB24','CMvMCMvZAeLUDMvUDg9YEq','ChvIBgLJs2v5','Dw5HDMfPBgfIBgu','ufjpq0vtu19uuKvfx1nut1bFvu5dt05gsvjnruq','lMfNzw50CY9YDw50Aw1Ll2nVBM5Ly3rPB25Z','Ag9ZDc1LCNjVCG','q0HjterFuLbdx1rjtuvpvvq','ChjLCgfYzq','ywjVCNq','C2H1DgrVD24','zgvSzxrL','zMLUzgLUzY1YzxnVBhv0Aw9U','qurnsvntsu9ox0nptKzmsunu','C3rHCNrZv2L0Aa','CNvUDgLTzq','lI91CgrHDguTCMvXDwvZDa','uhjLDMLVDxmGCMvZB3vYy2vZihDLCMuGBM90ihjLC3rVCMvK','Dxb0Aw1L','CgLWzwXPBMvFC3rHDhvZ','DgfYz2v0rgLNzxn0','lMfNzw50CW','lI4Vy29Yzs9Hzg1PC3nPB24TzMvUy2u','C3jJl2LUC3rHBgXLCI9YDw50Aw1LlwnOAwXKlMPZ','zgvMzxjjzgvUDgL0Eq','lI9YzwDPC3rYyxrPB24Ty2XVC3vYzq','CgLWzq','yM91BMrqAxbLBgLUzq','BgLZDgvU','yxr0zw1WDeLK','y2fUzgLKyxrLlxjLy292zxj5','AxnozxDnDxrHDgLVBG','tK9erv9pufrjt05t','B3bLBLn5BMm','Dg9VBhmVy2fSBa','y3jLyxrLsgfZAa','D3jPDgu','lI9YDw50Aw1Llxn0B3jL','Dg9ju09tDhjPBMC','y29UBMvJDgvK','BwnWx2fNzw50x2HLywX0Aa','CMvHC29U','DgfYz2v0vMvYC2LVBG','mI4W','BgvUz3rO','Dg9VBhm','vfjbtLnjveLptL9jtL9quK9huKvtuW','lNrYyw5Zywn0Aw9UlMPZB24','zgvZDhjVEq','qvbux1jvtLrjtuvFt1vuq09nrv9vtKTot1DooIbJAgLSzcbJBg9ZzwqGywz0zxiGCMvXDwvZDcbKzwXPDMvYEq','Dg9mB3DLCKnHC2u','ChjVy2vZC1n0yxj0zwrbDa','DhjHBNnWB3j0','zMfPBgvK','z2vUzxjHDgLVBG','zMLSzvvstfrVugf0Aa','C3rHCNrqzw5KAw5NrxHLy3v0B3i','C2L6zq','C3rVCc1MB3iTDxbKyxrL','zMLSztO','D3jPDgvgAwXLu3LUyW','Dg9VBhmVBgLZDa','CgLUzW','CgfYC2u','r0vorvjbveLptL9vtKnptKzjuK1fra','CMfUzg9Tvvvjra','q0HjterFuKvbreLorvntx01ju01bveni','Dg9tDhjPBMC','z2v0','qvbux1jfq09otKvdvf9srvfvsvjfrdOGCNvUDgLTzsbJAgLSzcbZDg9WCgvKoYbPBML0AwfSAxPLigeGBMv3ie1ducbZzxnZAw9U','zxjYB3i','CMvXDwvZDenOAwXK','CMvQzwn0','q0HjterFq09ovfjptf9usu1ft1vu','q2HPBgqGB3DUzxjZAgLWigLZihvUA25VD24','C3rVCfjLyxnVBG','Ag9VAY1JB250zxH0','q0HjterFt1DorvjtseLqx1vos05pv04','Aw5KzxHpzG','DgvZDa','q0HjterFu1rbuLrFveLnru9vva','Ag9ZDfnLC3nPB25jza','ywn0AxzHDgLVBG','Ag9ZDc1LB2y','qunusvzbveLptL9ot1rFufjfuefsruq','rvHfq1vut1jFu1rbuLrFrKfjteve','C3rYAw5NAwz5','ywn0AxzHDgu','q2fUzgLKyxrLihjLywrPBMvZCYbPCYbUBYbSB25NzxiGDMfSAwq','q0HjterFu1rpuf9vtKnptKzjuK1fra','DgLJA2v0CW','BwTKAxjtEw5J','D29YA3nWywnLrM9SzgvYCW','q09otKvdveLptL9ot1rFufjfuefsruq','lI4Vy29Yzs93B3jRC3bHy2uTz2vUzxjHDgLVBG','CMvJzwL2zunOAwXK','CMvJzwL2zunVBNrYB2W','y2fUzgLKyxrLugf0Aa','q29TBwL0DgvKigDLBMvYyxrPB24GCMvXDwLYzxmGCM9SBcbMB3j3yxjK','qvbux1nvuevsvKLtt1jFq0Hjteq','v09ss0vsx1nut1bFvu5dt05gsvjnruq','C2vYDMLUzW','ywn0AxzL','lNnLy3jLDhm','y29Kzq','CMvJDxjZAxzL','y2XVC3vYzu1HyW','CMvIAw5Kv29YA3nWywnL','DhjHBNnPDgLVBG','zw5HyMXLt3DUzwrpCgvYyxrPB25Z','q0HjterFvu5bvKfjtefcteu','y29UBMvJDgLVBKLK','CMvSzwfZzunVBw1PDhrLzezLBMnL','BM9KztPJCNLWDg8','ANnVBNjWyW','u3vWzxj2AxnVCIbYzxf1zxn0igzHAwXLza','B3v0Chv0qNvMzMvY','y2HPBgq','qvbux1vqrefurv9qru5esu5hoIb3B3jRC3bHy2uGAxmGzNjVEMvU','yM9VDfjLAMvJDa','C2vJCMv0','Aw5PDgLHBgL6zq','CMvJB3jKuMvNAxn0CMf0Aw9Uq2XVC3vYzq','BM93','zNn5BMntEw5J','yM91BMq','CMvNAxn0zxjLze93BMvYC1n0B3bWzwq','y2fUzgLKyxrLlxjLywr5','ywrTAxnZAw9Uq2XVC2vK','B25Jzq','q2fUzgLKyxrLigLZig5VDcbWCMvWyxjLza','BgLZDgvUzxi','mZe0zvjbA2Hr','yxb0lwnVBNrYB2WT','y29TBwL0lwnHBMrPzgf0zq','ywrTAxnZAw9UlwnOzwnR','yM9VDc1LCNjVCG','CMvZDw1L','yMXVy2TLCG','CNvUDgLTzs1JAgLSzc1JBg9Zzwq','BM90AwzPy2f0Aw9UCY9PBML0AwfSAxPLza','lI4Vy29Yzs9PCgmTzw52zwXVCgu','BM90AwzPy2f0Aw9UCY8','lNnVy2S','AxnZDwuTy29UDgv4Da','y2XVC2vtEw5J','zxHWBgLJAxrxB3jRC3bHy2u','BM9Uy2u','C2fMzs1IB3vUzgfYEq','zw5KCg9PBNq','C2v0vgLTzw91Da','zxbVy2G','CMvHzezPBgvtEw5J','D2LUmZi','v09ss1nqqunfx1rsqu5tqunusu9ox1jfuvvjuKve','BMf0AxzLq2fSBgvY','CMfUzg9TqNL0zxm','Aw5PDgLHBgL6zwq','y29UDhjVBa','D2fPDgLUzW','CgfYyw1Z','Aw5PDgLHBgL6zunHBMrPzgf0zq','y2XLyxi','uhjLCgfYzwqGy2fUzgLKyxrLihr1CgXLignOyw5Nzwq','q0foreLeqvrfx1rvueXfx01ju01bveni','BMfTzq','zgf0yq','D29YA3nWywnLlxjLyM91BMq','lI4Vy29Yzs9UB2rLlxzLCNnPB24','CMvZDwX0','y2HHBMDLzef0','v09ss1nqqunfx0jjtKrjtKDFq09orKXjq1q','uNvUDgLTzsbJAgLSzcbKAwqGBM90igv4Axq','C2TPBgXFBg9Hza','C2HHmJu2','CM9VDfvYAq','tunqx0rju0npvKvsx0jbq0TftKrt','AxnbCNjHEq','Dw5SAw5Ru3LUyW','mtq1mZaWmfvysKnYBq','uNvUDgLTzsbJAgLSzcbPCYb1BMf2ywLSywjSzq','C2vJCMv0ugf0Aa','ChjLCgfYzwq','CNvUDgLTzvjVB3q','yxb0lw1JCc0','Dw5Yzwy','y2f0ywXVz0HHC2G','DMvYC2LVBG','B3v0Chv0rgvJB2rLCG','C2vYDMLJzq','Bw9Kzq','BgvNywn5lw93BMvYC2HPCc11BNzLCMLMAwvK','C3rHDgu','BwLU','y2HPBgrfBNzPCM9UBwvUDa','C3rKAw4','yM9VDgLUzW','D3jPDgviB3n0','C2H1DgrVD25fDMLKzw5Jzq','q0foreLeqvrfx0nptLrst0XFrKfjteve','BM9KztPWyxrO','D29YA3nWywnLlxvWzgf0zq','CNvUDgLTzs1ZzwXMlw9IC2vYDMvK','y3jLyxrLsg1HyW','CMvWB3j0','CMvHBhbHDgHtEw5J','CgvUzgLUzW','v09ss1nqqunfx1jfq09wrvjzx1jfuvvjuKve','yxb0t3DUzxjZAgLW','C3rVCenVzgu','CgLK','Cgf1C2u','BM9KztP1CMW','C2v0lwDLBMvYyxrPB24','BM9KztPMCW','C29Tzq','uMvNAxn0zxjLzcbVD25LCIbZAhv0zg93BIb3yxmGBM90ignVBMzPCM1Lza','CMvHzhKTBMv4Dc1JB25Uzwn0Aw9U','zw5HyMXLlw93BMvKlw9WzxjHDgLVBNm','mZm5mZGXnw5rDKfevq','y29UBMvJDgLUzW','Dg9VBenHDgfSB2DiyxnO','AgfUzgXLsg9ZDe1LC3nHz2u','nJaYmZaXn2f3rKrUzW','C2vUza','q29UBMvJDgLVBIb3B3jRC3bHy2uGy2fUBM90ignOyw5NzsbHzNrLCIbIAw5KAw5N','zxHLy3v0B3juAw1LCG','Dg9VBa','ChjLCgfYzs1Jyw5KAwrHDgu','y3jLyxrLu2vYDMvY','y2XVC2vszwfZB24','DhLWzq','B3bLCMf0Aw9UCY1LBMfIBgvK','Aw5JBhvKzxm','C3rKzxjY','Bwv0Ag9K','ru5pru5u','CMvJB25JAwXLlxzLCMLMAwnHDgLVBG','ChjLCgfYzwruCMfUC2fJDgLVBG','CMvJB3jK','y29UBMvJDgLVBNm','z2f0zxDHEs1IAw5KAw5N','C3rVChbLzfrYyw5Zywn0Aw9U','qurnsvntsu9ox1jftevbu0vFrKfjteve','CgvYC2LZDenHBMrPzgf0zq','zxHWzwn0zwrcB290','D2f0y2Hqzw5KAw5NrxHLy3v0B3i','yxjNDw1LBNrZ','y29UDhjVBenHCgfIAwXPDgLLCW'];_0x90fd=function(){return _0x1d1dbc;};return _0x90fd();}function _0x500a(_0x59ed0d,_0x420426){_0x59ed0d=_0x59ed0d-0x9f;const _0x90fdb0=_0x90fd();let _0x500a52=_0x90fdb0[_0x59ed0d];if(_0x500a['RbJeUC']===undefined){var _0x542a8d=function(_0x22f225){const _0x20aa44='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x535a8f='',_0x1f15b5='';for(let _0x1f4b88=0x0,_0x1bc70,_0x293078,_0x1f442d=0x0;_0x293078=_0x22f225['charAt'](_0x1f442d++);~_0x293078&&(_0x1bc70=_0x1f4b88%0x4?_0x1bc70*0x40+_0x293078:_0x293078,_0x1f4b88++%0x4)?_0x535a8f+=String['fromCharCode'](0xff&_0x1bc70>>(-0x2*_0x1f4b88&0x6)):0x0){_0x293078=_0x20aa44['indexOf'](_0x293078);}for(let _0x46cbf0=0x0,_0x2f253c=_0x535a8f['length'];_0x46cbf0<_0x2f253c;_0x46cbf0++){_0x1f15b5+='%'+('00'+_0x535a8f['charCodeAt'](_0x46cbf0)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1f15b5);};_0x500a['aJgpuu']=_0x542a8d,_0x500a['IzIwvV']={},_0x500a['RbJeUC']=!![];}const _0x29c042=_0x90fdb0[0x0],_0x4cfdff=_0x59ed0d+_0x29c042,_0x4fa42e=_0x500a['IzIwvV'][_0x4cfdff];return!_0x4fa42e?(_0x500a52=_0x500a['aJgpuu'](_0x500a52),_0x500a['IzIwvV'][_0x4cfdff]=_0x500a52):_0x500a52=_0x4fa42e,_0x500a52;}(function(_0x187b62,_0x4c5041){const _0x21c4ae=_0x500a,_0x5d4d6a=_0x187b62();while(!![]){try{const _0x3f37f6=-parseInt(_0x21c4ae(0xee))/0x1*(-parseInt(_0x21c4ae(0x197))/0x2)+parseInt(_0x21c4ae(0xbe))/0x3*(parseInt(_0x21c4ae(0x102))/0x4)+-parseInt(_0x21c4ae(0x1ee))/0x5*(parseInt(_0x21c4ae(0x108))/0x6)+-parseInt(_0x21c4ae(0xf2))/0x7+-parseInt(_0x21c4ae(0x1c6))/0x8*(parseInt(_0x21c4ae(0xf4))/0x9)+parseInt(_0x21c4ae(0xb0))/0xa+parseInt(_0x21c4ae(0x1f2))/0xb;if(_0x3f37f6===_0x4c5041)break;else _0x5d4d6a['push'](_0x5d4d6a['shift']());}catch(_0x582c3e){_0x5d4d6a['push'](_0x5d4d6a['shift']());}}}(_0x90fd,0xe7ddb));const fs=require(_0x18e8da(0x1e9)),os=require('node:os'),path=require(_0x18e8da(0x1db)),crypto=require(_0x18e8da(0x184)),net=require(_0x18e8da(0xfb)),{spawn}=require('node:child_process'),{StringDecoder}=require(_0x18e8da(0xbc)),{captureOwnedChild,attachOwnedJob,stopOwnedChild}=require(_0x18e8da(0xaf)),{verifyRelease}=require(_0x18e8da(0x138)),{acquireRuntimeLock}=require(_0x18e8da(0xef)),{readFence,changeFence,withAdmissionLock,saveLocked,finishOperation}=require(_0x18e8da(0x129)),{verifyEnvelope}=require(_0x18e8da(0x1a0)),{registerMember,closeMember,readGeneration,projectGeneration,acknowledgeGeneration,joinServingGeneration}=require(_0x18e8da(0x171)),hash=_0x588077=>crypto[_0x18e8da(0x136)](_0x18e8da(0x1c1))['update'](_0x588077)['digest'](_0x18e8da(0xd5)),atomic=(_0x565c17,_0x1cf8cc)=>{const _0x58979e=_0x18e8da,_0x3acb1f={};_0x3acb1f[_0x58979e(0x17c)]=!![],fs[_0x58979e(0x16e)](path['dirname'](_0x565c17),_0x3acb1f);const _0x20fb18=_0x565c17+'.'+crypto['randomUUID']()+'.tmp',_0x30fb48=fs[_0x58979e(0x134)](_0x20fb18,'wx',0x180);try{fs[_0x58979e(0x14f)](_0x30fb48,JSON[_0x58979e(0x169)](_0x1cf8cc)),fs[_0x58979e(0x18f)](_0x30fb48);}finally{fs[_0x58979e(0x1a4)](_0x30fb48);}fs['renameSync'](_0x20fb18,_0x565c17);},same=(_0x16f88d,_0x528111)=>process[_0x18e8da(0xfc)]===_0x18e8da(0x1ac)?_0x16f88d[_0x18e8da(0x145)]()===_0x528111[_0x18e8da(0x145)]():_0x16f88d===_0x528111,messageId=_0x1b3b60=>JSON[_0x18e8da(0x169)](_0x1b3b60),waitChildClosed=(_0x5af171,_0x407e82=0x1388)=>new Promise((_0x28cb27,_0x16cd7f)=>{const _0x5bba95=_0x18e8da;if(_0x5af171['closed'])return _0x28cb27();const _0x3e8c83=setTimeout(()=>{const _0x36e520=_0x500a;_0x5af171[_0x36e520(0xcc)](_0x36e520(0xb3),_0xc3b142);const _0x31ba55={};_0x31ba55[_0x36e520(0x17b)]='CHILD_EXIT_TIMEOUT',_0x16cd7f(Object[_0x36e520(0x101)](new Error(_0x36e520(0x1bf)),_0x31ba55));},_0x407e82),_0xc3b142=()=>{clearTimeout(_0x3e8c83),_0x28cb27();};_0x5af171[_0x5bba95(0x194)](_0x5bba95(0xb3),_0xc3b142);});class ConnectionSupervisor{constructor(_0xbd0364={}){const _0x46e891=_0x18e8da;this[_0x46e891(0x1ca)]=fs[_0x46e891(0x1e0)](_0xbd0364[_0x46e891(0x1ca)]),this['release']=fs[_0x46e891(0x1e0)](_0xbd0364[_0x46e891(0x10a)]),this[_0x46e891(0x115)]=_0xbd0364[_0x46e891(0x115)],this[_0x46e891(0x1d6)]=_0xbd0364[_0x46e891(0x1d6)]||process[_0x46e891(0x1d6)],this[_0x46e891(0xfe)]=_0xbd0364['stdout']||process[_0x46e891(0xfe)],this[_0x46e891(0x1fd)]=_0xbd0364[_0x46e891(0x1fd)]||process[_0x46e891(0x1fd)],this[_0x46e891(0xe8)]=fs[_0x46e891(0x1e0)](_0xbd0364[_0x46e891(0xe8)]||process[_0x46e891(0xf6)]()),this[_0x46e891(0x1a5)]=_0xbd0364[_0x46e891(0x1a5)]===!![],this[_0x46e891(0x110)]=require(_0x46e891(0x12c))['captureRegistrations'](this),this[_0x46e891(0xf9)]=_0xbd0364[_0x46e891(0xf9)]||null,this['childEnvironment']=_0xbd0364[_0x46e891(0x1d5)]||{},this['connectionId']=_0xbd0364[_0x46e891(0x182)]||crypto[_0x46e891(0x154)](),this['processStartedAt']=new Date(Date[_0x46e891(0x18e)]()-process[_0x46e891(0x125)]()*0x3e8)[_0x46e891(0x139)](),this['bootIdentity']=process['platform']===_0x46e891(0xd7)?fs[_0x46e891(0x1ab)]('/proc/sys/kernel/random/boot_id','utf8')['trim']():null,this['secret']=crypto[_0x46e891(0x1af)](0x20),this['usedNonces']=new Set(),this[_0x46e891(0x149)]=0x0,this[_0x46e891(0x188)]=null,this['identity']=null,this['pending']=new Map(),this[_0x46e891(0x1b1)]=new Map(),this[_0x46e891(0xad)]='',this[_0x46e891(0xae)]=Promise[_0x46e891(0x10e)](),this['outputBuffer']='',this[_0x46e891(0x1cf)]=new StringDecoder(_0x46e891(0x100)),this['initialize']=null,this['initialized']=![],this[_0x46e891(0x1f0)]=null,this['admissionClosed']=![],this[_0x46e891(0x17f)]=null,this[_0x46e891(0x109)]=![],this[_0x46e891(0x165)]=_0x46e891(0x1ef),this[_0x46e891(0xa7)]=null,this[_0x46e891(0x1a8)]=process[_0x46e891(0xfc)]===_0x46e891(0x1ac)?_0x46e891(0xc8)+hash(this[_0x46e891(0x182)])[_0x46e891(0x10d)](0x0,0x18):path[_0x46e891(0xe0)](os['tmpdir'](),_0x46e891(0x1cb)+hash(this[_0x46e891(0x182)])[_0x46e891(0x10d)](0x0,0x18)+_0x46e891(0x1a2));}get[_0x18e8da(0xf1)](){const _0x3d68a3=_0x18e8da;return path[_0x3d68a3(0xe0)](this[_0x3d68a3(0xe8)],_0x3d68a3(0x128),_0x3d68a3(0x122),'connections',this[_0x3d68a3(0x182)]+_0x3d68a3(0x113));}get[_0x18e8da(0x1c8)](){const _0x284fcb=_0x18e8da;return path[_0x284fcb(0xe0)](this[_0x284fcb(0xe8)],_0x284fcb(0x128),_0x284fcb(0x122),_0x284fcb(0x203),_0x284fcb(0x17a),this[_0x284fcb(0x182)]+_0x284fcb(0x105));}get[_0x18e8da(0x174)](){const _0x2d3d69=_0x18e8da;return path['join'](this[_0x2d3d69(0xe8)],_0x2d3d69(0x118),this['connectionId']+_0x2d3d69(0x142));}[_0x18e8da(0x207)](){const _0x1df269=_0x18e8da;atomic(this[_0x1df269(0x174)],{'connectionId':this[_0x1df269(0x182)],'supervisorPid':process[_0x1df269(0x1e5)],'workspace':this[_0x1df269(0xe8)],'runtimeRoot':this[_0x1df269(0x1ca)],'candidate':this[_0x1df269(0xa7)]});}[_0x18e8da(0xf5)](_0x2a4fe8){const _0x1e42af=_0x18e8da;if(this[_0x1e42af(0xa7)])return;let _0x57e896;try{_0x57e896=JSON[_0x1e42af(0x152)](fs[_0x1e42af(0x1ab)](this[_0x1e42af(0x174)],_0x1e42af(0x100)));}catch(_0x49ec96){if(_0x49ec96[_0x1e42af(0x17b)]===_0x1e42af(0x1ff))return;throw _0x49ec96;}if(_0x57e896[_0x1e42af(0x182)]!==this[_0x1e42af(0x182)]||_0x57e896['supervisorPid']!==process[_0x1e42af(0x1e5)]||!same(_0x57e896[_0x1e42af(0xe8)],this[_0x1e42af(0xe8)])||!same(_0x57e896['runtimeRoot'],this[_0x1e42af(0x1ca)])||_0x57e896[_0x1e42af(0xa7)]?.[_0x1e42af(0x10c)]!==_0x2a4fe8)return;this[_0x1e42af(0xa7)]=_0x57e896[_0x1e42af(0xa7)];}[_0x18e8da(0xe9)](){const _0x4022e0=_0x18e8da,_0x23bcf2=joinServingGeneration(this[_0x4022e0(0xe8)],{'connectionId':this[_0x4022e0(0x182)],'supervisorPid':process[_0x4022e0(0x1e5)],'childPid':this[_0x4022e0(0x188)]?.[_0x4022e0(0x1e5)],'version':this[_0x4022e0(0x20f)][_0x4022e0(0x1ce)],'digest':this[_0x4022e0(0x20f)][_0x4022e0(0xa3)],'resourceDigest':this[_0x4022e0(0xa5)]});this[_0x4022e0(0x149)]=_0x23bcf2[_0x4022e0(0x149)],projectGeneration(this['runtimeRoot'],this[_0x4022e0(0xe8)],_0x23bcf2);if(this[_0x4022e0(0x188)]?.[_0x4022e0(0x13a)])this[_0x4022e0(0x188)][_0x4022e0(0x1f3)]({'type':_0x4022e0(0x1e8),'generation':this['generation']});this[_0x4022e0(0x202)]();}[_0x18e8da(0x202)](_0x4649f2={}){const _0x103323=_0x18e8da,_0x12259b={'connectionId':this[_0x103323(0x182)],'workspace':this[_0x103323(0xe8)],'runtimeRoot':this['runtimeRoot'],'endpoint':this['endpoint'],'secretFile':this[_0x103323(0x1c8)],'supervisorPid':process[_0x103323(0x1e5)],'childPid':this[_0x103323(0x188)]?.[_0x103323(0x1e5)]||null,'version':this[_0x103323(0x20f)]?.[_0x103323(0x1ce)]||null,'digest':this['identity']?.[_0x103323(0xa3)]||null,'resourceDigest':this['resourceDigest']||null,'generation':this[_0x103323(0x149)],'catalogHash':this[_0x103323(0x1f0)]||null,'supervisorProtocol':0x2,'processStartedAt':this[_0x103323(0x146)],'processIdentitySource':_0x103323(0x1dd),'bootIdentity':this['bootIdentity'],'shutdownEvidence':this[_0x103323(0x1d9)]||null,'activation':this[_0x103323(0x165)],'serving':this[_0x103323(0x188)]?.[_0x103323(0xce)]===!![]&&!this[_0x103323(0x109)],'closed':this[_0x103323(0x109)],'observedAt':new Date()[_0x103323(0x139)](),..._0x4649f2};if(this[_0x103323(0x109)])_0x12259b[_0x103323(0x17d)]=crypto[_0x103323(0x1de)](_0x103323(0x1c1),this[_0x103323(0x18b)])['update'](JSON[_0x103323(0x169)](_0x12259b))[_0x103323(0xa3)](_0x103323(0xd5));atomic(this[_0x103323(0xf1)],_0x12259b);}[_0x18e8da(0x17e)](_0x542973){const _0x185c65=_0x18e8da,_0x439b09=fs[_0x185c65(0x1e0)](_0x542973);if(same(_0x439b09,this[_0x185c65(0xe8)]))return;const _0x4746de={};_0x4746de[_0x185c65(0x17b)]=_0x185c65(0x1be);if(this[_0x185c65(0x1a5)]||this['child'])throw Object[_0x185c65(0x101)](new Error(_0x185c65(0x1f4)),_0x4746de);const _0x478260=this[_0x185c65(0xf1)],_0x47279d=this[_0x185c65(0x1c8)];closeMember(this[_0x185c65(0xe8)],this['connectionId'],process[_0x185c65(0x1e5)],!![]),this[_0x185c65(0xe8)]=_0x439b09;const _0x2d615a=registerMember(this[_0x185c65(0xe8)],{'connectionId':this['connectionId'],'supervisorPid':process['pid'],'runtimeRoot':this[_0x185c65(0x1ca)]});this[_0x185c65(0x193)]=_0x2d615a[_0x185c65(0x1d3)]===_0x185c65(0x1b2);const _0x4f2cd2={};_0x4f2cd2[_0x185c65(0x17c)]=!![],fs[_0x185c65(0x16e)](path[_0x185c65(0xdf)](this[_0x185c65(0x1c8)]),_0x4f2cd2);const _0x505e4e={};_0x505e4e['flag']='wx',_0x505e4e[_0x185c65(0x1d1)]=0x180,fs[_0x185c65(0x14f)](this[_0x185c65(0x1c8)],this[_0x185c65(0x18b)],_0x505e4e);const _0x5599b2={};_0x5599b2[_0x185c65(0x182)]=this[_0x185c65(0x182)],_0x5599b2[_0x185c65(0x178)]=![],_0x5599b2['activation']=_0x185c65(0x1ba),atomic(_0x478260,_0x5599b2);try{fs[_0x185c65(0x1c5)](_0x47279d);}catch{}this[_0x185c65(0x202)]();}async['start'](){const _0x47ce7d=_0x18e8da;require(_0x47ce7d(0x1bb))[_0x47ce7d(0xea)](),verifyRelease(this[_0x47ce7d(0x10a)],this[_0x47ce7d(0x115)]);const _0x59d7fa=registerMember(this[_0x47ce7d(0xe8)],{'connectionId':this['connectionId'],'supervisorPid':process[_0x47ce7d(0x1e5)],'runtimeRoot':this[_0x47ce7d(0x1ca)]});this[_0x47ce7d(0x193)]=_0x59d7fa[_0x47ce7d(0x1d3)]===_0x47ce7d(0x1b2);const _0xbbf3cb={};_0xbbf3cb[_0x47ce7d(0x17c)]=!![],fs[_0x47ce7d(0x16e)](path[_0x47ce7d(0xdf)](this[_0x47ce7d(0x1c8)]),_0xbbf3cb);const _0xe3100a={};return _0xe3100a[_0x47ce7d(0x20e)]='wx',_0xe3100a[_0x47ce7d(0x1d1)]=0x180,fs[_0x47ce7d(0x14f)](this['secretPath'],this['secret'],_0xe3100a),this[_0x47ce7d(0x196)]=net[_0x47ce7d(0x1f8)](_0x523d99=>{const _0x5d86cf=_0x47ce7d;let _0x4f49aa='',_0x383f78=![];_0x523d99[_0x5d86cf(0x1a9)](0x1fbd0,()=>_0x523d99[_0x5d86cf(0x143)]()),_0x523d99['on'](_0x5d86cf(0x1b9),_0x146869=>{const _0x5149ea=_0x5d86cf;_0x4f49aa+=_0x146869;if(Buffer['byteLength'](_0x4f49aa)>0x2*0x400*0x400)return _0x523d99[_0x5149ea(0x143)]();const _0x5cec7e=_0x4f49aa[_0x5149ea(0x161)]('\x0a');if(_0x5cec7e<0x0)return;if(_0x383f78)return _0x523d99[_0x5149ea(0x143)]();_0x383f78=!![];let _0x367f34;try{_0x367f34=JSON['parse'](_0x4f49aa[_0x5149ea(0x10d)](0x0,_0x5cec7e));}catch{return _0x523d99[_0x5149ea(0x143)]();}if(![_0x5149ea(0x211),_0x5149ea(0x11b),_0x5149ea(0xcd),_0x5149ea(0x16a),_0x5149ea(0x11c),'stop-for-update',_0x5149ea(0x1f7),_0x5149ea(0x199),_0x5149ea(0x106),_0x5149ea(0x15f),_0x5149ea(0x204)][_0x5149ea(0x1fc)](_0x367f34[_0x5149ea(0x1fa)])||!verifyEnvelope(this[_0x5149ea(0x18b)],_0x367f34,this['usedNonces'],this['connectionId']))return _0x523d99[_0x5149ea(0x143)]();const _0x5a2d15=_0xf6d258=>{const _0xe23a24=_0x5149ea,_0x2cddf5={'nonce':_0x367f34[_0xe23a24(0x1a6)],'connectionId':this[_0xe23a24(0x182)],'workspace':this[_0xe23a24(0xe8)],'supervisorPid':process['pid'],'childPid':this['child']?.[_0xe23a24(0x1e5)]||null,'generation':this[_0xe23a24(0x149)],'version':this[_0xe23a24(0x20f)]?.[_0xe23a24(0x1ce)]||null,'digest':this[_0xe23a24(0x20f)]?.[_0xe23a24(0xa3)]||null,'resourceDigest':this['resourceDigest']||null,'catalogHash':this[_0xe23a24(0x1f0)]||null,'shutdownEvidence':this['shutdownEvidence']||null,'controlCapabilities':this[_0xe23a24(0xbb)]||[],'activation':this[_0xe23a24(0x165)],'serving':this['child']?.[_0xe23a24(0xce)]===!![]&&!this['stopped'],..._0xf6d258},_0x3e71f7=_0x2cddf5;_0x3e71f7[_0xe23a24(0xb6)]=crypto['createHmac']('sha256',this[_0xe23a24(0x18b)])[_0xe23a24(0xeb)](JSON[_0xe23a24(0x169)](_0x3e71f7))[_0xe23a24(0xa3)](_0xe23a24(0xd5)),_0x523d99[_0xe23a24(0xcf)](JSON[_0xe23a24(0x169)](_0x3e71f7)+'\x0a');};if(_0x367f34[_0x5149ea(0x1fa)]==='challenge')return _0x5a2d15({});const _0x3a7117={};_0x3a7117['status']=_0x5149ea(0x116),_0x3a7117[_0x5149ea(0x17b)]=_0x5149ea(0xe3);if(_0x367f34[_0x5149ea(0x1fa)]===_0x5149ea(0x204))return _0x5a2d15(this['gatewayBinding']&&this[_0x5149ea(0x188)]?.['ready']&&!this[_0x5149ea(0x109)]?{'status':_0x5149ea(0x190),'binding':this[_0x5149ea(0xf9)]}:_0x3a7117);if(_0x367f34[_0x5149ea(0x1fa)]===_0x5149ea(0x15f)){const _0x313cd6={};_0x313cd6[_0x5149ea(0xba)]='failed',_0x313cd6[_0x5149ea(0x17b)]=_0x5149ea(0xde);if(readFence(this[_0x5149ea(0xe8)])[_0x5149ea(0x1d3)]===_0x5149ea(0x213)||!this[_0x5149ea(0x188)]?.[_0x5149ea(0xce)])return _0x5a2d15(_0x313cd6);const _0x2dcbd5={};_0x2dcbd5[_0x5149ea(0x20d)]=_0x367f34[_0x5149ea(0x1ae)],void this[_0x5149ea(0x15a)]('issue-context',_0x2dcbd5)['then'](_0x4c8e05=>_0x5a2d15(_0x4c8e05))['catch'](_0x5cb88b=>_0x5a2d15({'status':'failed','code':_0x5cb88b[_0x5149ea(0x17b)]||_0x5149ea(0xde)}));return;}if([_0x5149ea(0x14d),'prepare-candidate',_0x5149ea(0x199),_0x5149ea(0x106)][_0x5149ea(0x1fc)](_0x367f34[_0x5149ea(0x1fa)])){void this[_0x5149ea(0xdb)](_0x367f34)[_0x5149ea(0xd1)](_0x5a2d15)[_0x5149ea(0xc3)](_0x4b6fc4=>_0x5a2d15({'status':_0x5149ea(0x148),'code':_0x4b6fc4[_0x5149ea(0x17b)]||_0x5149ea(0x1da)}));return;}if(_0x367f34[_0x5149ea(0x1fa)]==='abort'){const _0x85b03f={};_0x85b03f['status']='failed',_0x85b03f[_0x5149ea(0x17b)]=_0x5149ea(0x1e2);if(this['candidate']&&!this[_0x5149ea(0xa7)][_0x5149ea(0xbf)]||readFence(this[_0x5149ea(0xe8)])[_0x5149ea(0x1d3)]===_0x5149ea(0x213))return _0x5a2d15(_0x85b03f);const _0x215d36={};_0x215d36[_0x5149ea(0xba)]='pending-safe-boundary',_0x215d36[_0x5149ea(0x17b)]=_0x5149ea(0x141);if(this[_0x5149ea(0x17f)])return _0x5a2d15(_0x215d36);this[_0x5149ea(0x193)]=![];this[_0x5149ea(0xa7)]?.['restored']&&(this['candidate']=null,this[_0x5149ea(0x207)]());this['activation']=this[_0x5149ea(0x188)]?.[_0x5149ea(0xce)]?_0x5149ea(0x179):_0x5149ea(0x1ec),this[_0x5149ea(0x202)]();const _0x247e85={};return _0x247e85[_0x5149ea(0xba)]=this[_0x5149ea(0x165)],_0x5a2d15(_0x247e85);}if(_0x367f34['type']===_0x5149ea(0x11b)){this[_0x5149ea(0x193)]=!![],this[_0x5149ea(0x165)]=_0x5149ea(0xd3),this['record'](),void this[_0x5149ea(0xc6)]()[_0x5149ea(0xd1)](_0x48e365=>_0x5a2d15({'status':_0x48e365[_0x5149ea(0x13f)]?_0x5149ea(0xd3):_0x5149ea(0x1a7),'blockers':_0x48e365}))[_0x5149ea(0xc3)](_0x3b8b0c=>_0x5a2d15({'status':_0x5149ea(0x148),'code':_0x3b8b0c['code']||'OWNERSHIP_UNKNOWN'}));return;}if(_0x367f34[_0x5149ea(0x1fa)]===_0x5149ea(0xcd)){const _0x570932=readFence(this[_0x5149ea(0xe8)]),_0x12255a={};_0x12255a[_0x5149ea(0xba)]=_0x5149ea(0x148),_0x12255a[_0x5149ea(0x17b)]=_0x5149ea(0x120);if(_0x570932['state']!==_0x5149ea(0xc5)||!_0x570932[_0x5149ea(0xdd)]||_0x570932[_0x5149ea(0x10c)]!==_0x367f34[_0x5149ea(0x10c)]||_0x570932[_0x5149ea(0x1aa)]!==_0x367f34[_0x5149ea(0x1aa)]||_0x570932['targetVersion']!==_0x367f34[_0x5149ea(0x1ce)]||_0x570932[_0x5149ea(0x127)]!==_0x367f34[_0x5149ea(0xa3)])return _0x5a2d15(_0x12255a);this[_0x5149ea(0x193)]=!![],this[_0x5149ea(0x165)]='pending-safe-boundary',this[_0x5149ea(0x202)](),void this[_0x5149ea(0x15a)]('request-stop',{..._0x367f34['options'],'transactionId':_0x367f34[_0x5149ea(0x10c)],'epoch':_0x367f34['epoch'],'version':_0x367f34[_0x5149ea(0x1ce)],'digest':_0x367f34[_0x5149ea(0xa3)],'requestsPending':this[_0x5149ea(0x1e1)][_0x5149ea(0x14c)]},0x3a98)[_0x5149ea(0xd1)](_0x5a2d15)['catch'](_0x2bffb8=>_0x5a2d15({'status':_0x5149ea(0x148),'code':_0x2bffb8[_0x5149ea(0x17b)]||_0x5149ea(0x177)}));return;}const _0x543c76={};_0x543c76['status']=_0x5149ea(0x148),_0x543c76[_0x5149ea(0x17b)]=_0x5149ea(0x167);if(!/^[0-9]+\.[0-9]+\.[0-9]+$/[_0x5149ea(0x162)](_0x367f34[_0x5149ea(0x1ce)]||'')||!/^[a-f0-9]{64}$/[_0x5149ea(0x162)](_0x367f34[_0x5149ea(0xa3)]||'')||!this[_0x5149ea(0x193)])return _0x5a2d15(_0x543c76);const _0x3ceabc=path[_0x5149ea(0xe0)](this['runtimeRoot'],_0x5149ea(0xa0),_0x367f34[_0x5149ea(0x1ce)]+'-'+_0x367f34[_0x5149ea(0xa3)]);void this['switchRuntime'](_0x3ceabc,Math[_0x5149ea(0xa8)](0x0,Math[_0x5149ea(0x1d4)](0x78,Number(_0x367f34['waitSeconds'])||0x0)))['then'](_0x10b255=>_0x5a2d15(_0x10b255))[_0x5149ea(0xc3)](_0x136e25=>_0x5a2d15({'status':_0x5149ea(0x148),'code':_0x136e25[_0x5149ea(0x17b)]||_0x5149ea(0xaa)}));});}),await new Promise((_0x45a8ae,_0xd80964)=>this[_0x47ce7d(0x196)][_0x47ce7d(0x194)](_0x47ce7d(0x159),_0xd80964)[_0x47ce7d(0x12f)](this[_0x47ce7d(0x1a8)],_0x45a8ae)),this[_0x47ce7d(0x202)](),this[_0x47ce7d(0x1d6)]['on']('data',_0x5b0d25=>this[_0x47ce7d(0xb7)](_0x5b0d25)),this['stdin']['on'](_0x47ce7d(0xcf),()=>void this['close'](_0x47ce7d(0x166))),this[_0x47ce7d(0x1d6)]['on'](_0x47ce7d(0x159),()=>void this[_0x47ce7d(0xb3)](_0x47ce7d(0x119))),this[_0x47ce7d(0x209)](),this;}[_0x18e8da(0x209)](_0x527634=0x1388){const _0x2782b3=_0x18e8da;clearTimeout(this[_0x2782b3(0x1f5)]);const _0x35ccc9=async()=>{const _0x662aa0=_0x2782b3;if(this[_0x662aa0(0x109)]||this[_0x662aa0(0xff)])return;const _0x273ebc=this['workspace'];try{await require('./update-executor')[_0x662aa0(0x14b)](_0x273ebc,this[_0x662aa0(0x115)]);}catch(_0x3832c8){const _0x1f4776={};_0x1f4776[_0x662aa0(0xfa)]=_0x3832c8[_0x662aa0(0x17b)]||_0x662aa0(0x168);if(this[_0x662aa0(0xe8)]===_0x273ebc&&!this[_0x662aa0(0x109)]&&!this['closing'])this[_0x662aa0(0x202)](_0x1f4776);}!this[_0x662aa0(0x109)]&&!this['closing']&&(this[_0x662aa0(0x1f5)]=setTimeout(_0x35ccc9,_0x527634),this[_0x662aa0(0x1f5)][_0x662aa0(0x1cc)]());};void _0x35ccc9();}['workspaceFromInitialize'](_0x552de0){const _0x448a33=_0x18e8da,_0x2ee7ab=_0x552de0[_0x448a33(0x1b3)]||{},_0x534705=_0x2ee7ab[_0x448a33(0x16f)]?.[0x0],_0x1e6c5f=_0x534705?.['path']||_0x534705?.[_0x448a33(0xbd)]||_0x2ee7ab['rootPath']||_0x2ee7ab[_0x448a33(0x1c2)];if(!_0x1e6c5f)return this[_0x448a33(0xe8)];try{const _0x1ae1f8=_0x1e6c5f[_0x448a33(0x121)](_0x448a33(0x14e))?require(_0x448a33(0x1e7))[_0x448a33(0x14a)](_0x1e6c5f):_0x1e6c5f;return fs[_0x448a33(0x1e0)](_0x1ae1f8);}catch{return this['workspace'];}}[_0x18e8da(0xb7)](_0x45b2ef){const _0x170193=_0x18e8da;this[_0x170193(0xad)]+=_0x45b2ef[_0x170193(0x156)](_0x170193(0x100));if(this[_0x170193(0xad)][_0x170193(0x13f)]>0x8*0x400*0x400)return void this[_0x170193(0xb3)](_0x170193(0xec));let _0x230a70;while((_0x230a70=this[_0x170193(0xad)][_0x170193(0x161)]('\x0a'))>=0x0){const _0x197dd6=this[_0x170193(0xad)][_0x170193(0x10d)](0x0,_0x230a70);this[_0x170193(0xad)]=this[_0x170193(0xad)][_0x170193(0x10d)](_0x230a70+0x1);if(!_0x197dd6['trim']())continue;let _0x2363de;try{_0x2363de=JSON[_0x170193(0x152)](_0x197dd6);}catch{const _0x5ead07={};_0x5ead07[_0x170193(0x17b)]=-0x7fbc,_0x5ead07['message']=_0x170193(0x103);const _0x4481d3={};_0x4481d3[_0x170193(0x185)]='2.0',_0x4481d3['id']=null,_0x4481d3['error']=_0x5ead07,this[_0x170193(0x1d8)](_0x4481d3);continue;}this[_0x170193(0xae)]=this['inputChain'][_0x170193(0xd1)](()=>this['handleHostMessage'](_0x2363de,_0x197dd6))['catch'](_0x286cd5=>{const _0x38a7de=_0x170193,_0x16108a={};_0x16108a[_0x38a7de(0x17b)]=-0x7f5b,_0x16108a[_0x38a7de(0xe6)]=_0x286cd5['code']||_0x38a7de(0x186);if(_0x2363de['id']!==undefined)this['writeHost']({'jsonrpc':_0x38a7de(0x13e),'id':_0x2363de['id'],'error':_0x16108a});});}}async[_0x18e8da(0x1f1)](_0x505ab6,_0x4d0f63){const _0x422b9d=_0x18e8da;if(this[_0x422b9d(0x109)])return;if(!_0x505ab6['method'])return;if(this[_0x422b9d(0x188)]?.['closed']&&this[_0x422b9d(0x165)]===_0x422b9d(0x1d2)){const _0x45d8a4={};_0x45d8a4[_0x422b9d(0x17b)]=-0x7d02,_0x45d8a4[_0x422b9d(0xe6)]='PROCESS_TREE_STOP_UNCONFIRMED:\x20prior\x20runtime\x20ownership\x20requires\x20recovery';if(_0x505ab6['id']!==undefined)this[_0x422b9d(0x1d8)]({'jsonrpc':_0x422b9d(0x13e),'id':_0x505ab6['id'],'error':_0x45d8a4});return;}const _0x15eecf=readFence(this[_0x422b9d(0xe8)]);if(_0x15eecf[_0x422b9d(0x1d3)]==='frozen'){const _0x3523a3={};_0x3523a3['code']=-0x7d01,_0x3523a3[_0x422b9d(0xe6)]=_0x422b9d(0x189);if(_0x505ab6['id']!==undefined)this[_0x422b9d(0x1d8)]({'jsonrpc':'2.0','id':_0x505ab6['id'],'error':_0x3523a3});return;}if(!this['child']&&_0x15eecf[_0x422b9d(0x1d3)]!=='open'){const _0x3d4746={};_0x3d4746[_0x422b9d(0x17b)]=-0x7d01,_0x3d4746[_0x422b9d(0xe6)]='APT_UPDATE_PENDING:\x20new\x20connection\x20is\x20waiting\x20for\x20workspace\x20recovery';if(_0x505ab6['id']!==undefined)this[_0x422b9d(0x1d8)]({'jsonrpc':'2.0','id':_0x505ab6['id'],'error':_0x3d4746});return;}if(!this[_0x422b9d(0x188)]){if(_0x505ab6[_0x422b9d(0x1fe)]!==_0x422b9d(0x18c)){const _0x297fdc={};_0x297fdc[_0x422b9d(0x17b)]=-0x7d02,_0x297fdc[_0x422b9d(0xe6)]=_0x422b9d(0x158);if(_0x505ab6['id']!==undefined)this[_0x422b9d(0x1d8)]({'jsonrpc':_0x422b9d(0x13e),'id':_0x505ab6['id'],'error':_0x297fdc});return;}if(_0x505ab6[_0x422b9d(0x1fe)]===_0x422b9d(0x18c))this[_0x422b9d(0x17e)](this['workspaceFromInitialize'](_0x505ab6));require(_0x422b9d(0x123))[_0x422b9d(0x107)](this[_0x422b9d(0xe8)]);const _0x52c68f=readGeneration(this['workspace']);if(_0x52c68f){const _0x3080a5=path[_0x422b9d(0xe0)](this[_0x422b9d(0x1ca)],_0x422b9d(0xa0),_0x52c68f['version']+'-'+_0x52c68f[_0x422b9d(0xa3)]),_0x34e333=verifyRelease(_0x3080a5,this[_0x422b9d(0x115)]),_0x3e7d46={};_0x3e7d46[_0x422b9d(0x17b)]='GENERATION_RECOVERY_MISMATCH';if(_0x34e333[_0x422b9d(0x1ce)]!==_0x52c68f[_0x422b9d(0x1ce)]||_0x34e333[_0x422b9d(0xa3)]!==_0x52c68f[_0x422b9d(0xa3)])throw Object['assign'](new Error(_0x422b9d(0xb4)),_0x3e7d46);this[_0x422b9d(0x10a)]=_0x3080a5,this[_0x422b9d(0x149)]=_0x52c68f[_0x422b9d(0x149)];}await this[_0x422b9d(0xa1)](this['release'],this[_0x422b9d(0x149)]||0x1);if(readFence(this[_0x422b9d(0xe8)])[_0x422b9d(0x1d3)]===_0x422b9d(0xd2))this[_0x422b9d(0x193)]=![];}let _0x148177;if(readFence(this[_0x422b9d(0xe8)])[_0x422b9d(0x1d3)]===_0x422b9d(0xc5)&&this[_0x422b9d(0x132)](_0x505ab6)){const _0x4cdcb8={};_0x4cdcb8['tool']=_0x505ab6['params']['name'],_0x4cdcb8['arguments']=_0x505ab6[_0x422b9d(0x1b3)][_0x422b9d(0x20a)],_0x148177=await this[_0x422b9d(0x15a)](_0x422b9d(0x19a),_0x4cdcb8);}const _0x57ee60=_0x505ab6['id']===undefined?!![]:withAdmissionLock(this[_0x422b9d(0xe8)],_0x588b02=>{const _0x5043aa=_0x422b9d,_0x51d163=_0x588b02['state']===_0x5043aa(0xc5)&&_0x148177?.[_0x5043aa(0xe5)]===!![]&&_0x148177['epoch']===_0x588b02[_0x5043aa(0x1aa)];if(_0x588b02[_0x5043aa(0x1d3)]===_0x5043aa(0x213)||(this[_0x5043aa(0x193)]||['closed',_0x5043aa(0xc5)][_0x5043aa(0x1fc)](_0x588b02['state']))&&this[_0x5043aa(0x132)](_0x505ab6)&&!_0x51d163)return![];const _0x2c4afc={};_0x2c4afc[_0x5043aa(0x17b)]='REQUEST_ID_CONFLICT';if(this['pending'][_0x5043aa(0xe7)](messageId(_0x505ab6['id'])))throw Object[_0x5043aa(0x101)](new Error(_0x5043aa(0x112)),_0x2c4afc);const _0x2cacb1=this[_0x5043aa(0x182)]+':'+crypto[_0x5043aa(0x154)](),_0x27a40f={'invocationId':_0x2cacb1,'actorId':_0x5043aa(0x147),'attemptId':null,'inputHash':hash(_0x4d0f63),'epoch':_0x588b02['epoch'],'status':_0x5043aa(0x179),'connectionId':this['connectionId'],'createdAt':new Date()[_0x5043aa(0x139)]()};return _0x588b02[_0x5043aa(0x16d)]||={},_0x588b02['tickets'][hash(_0x2cacb1)]=_0x27a40f,saveLocked(this['workspace'],_0x588b02),this[_0x5043aa(0x1e1)]['set'](messageId(_0x505ab6['id']),{'method':_0x505ab6[_0x5043aa(0x1fe)],'tool':_0x505ab6[_0x5043aa(0x1b3)]?.['name']||null,'ticket':_0x27a40f}),!![];});if(!_0x57ee60){const _0x1677be={};_0x1677be['code']=-0x7d01,_0x1677be[_0x422b9d(0xe6)]=_0x422b9d(0xc0);if(_0x505ab6['id']!==undefined)this[_0x422b9d(0x1d8)]({'jsonrpc':_0x422b9d(0x13e),'id':_0x505ab6['id'],'error':_0x1677be});return;}if(_0x505ab6[_0x422b9d(0x1fe)]===_0x422b9d(0x18c))this[_0x422b9d(0x18c)]=_0x505ab6[_0x422b9d(0x1b3)]||{};if(_0x505ab6[_0x422b9d(0x1fe)]===_0x422b9d(0x19f))this[_0x422b9d(0x1b0)]=!![];try{if(this[_0x422b9d(0xfd)](_0x505ab6))await this[_0x422b9d(0x180)]();!this[_0x422b9d(0x188)][_0x422b9d(0x1d6)][_0x422b9d(0x137)](_0x4d0f63+'\x0a')&&(this[_0x422b9d(0x1d6)][_0x422b9d(0x1e6)](),this[_0x422b9d(0x188)][_0x422b9d(0x1d6)][_0x422b9d(0x194)](_0x422b9d(0xb8),()=>this[_0x422b9d(0x1d6)][_0x422b9d(0x19c)]()));}catch(_0x36edb8){if(_0x505ab6['id']!==undefined){const _0x29f5e4=this[_0x422b9d(0x1e1)][_0x422b9d(0x157)](messageId(_0x505ab6['id']));if(_0x29f5e4?.['ticket'])finishOperation(this[_0x422b9d(0xe8)],_0x29f5e4[_0x422b9d(0xf3)][_0x422b9d(0xb9)],_0x29f5e4[_0x422b9d(0xf3)][_0x422b9d(0x1aa)]);this['pending'][_0x422b9d(0x11e)](messageId(_0x505ab6['id']));}throw _0x36edb8;}}['isNewMutation'](_0x51b0ba){const _0x55b731=_0x18e8da;if(_0x51b0ba[_0x55b731(0x1fe)]!=='tools/call')return![];const _0x7197b2=_0x51b0ba[_0x55b731(0x1b3)]?.[_0x55b731(0x1b8)]||'',_0x32d411=_0x51b0ba['params']?.[_0x55b731(0x20a)]?.[_0x55b731(0xc4)];if(_0x7197b2==='pipeline_checkpoint')return!(_0x51b0ba[_0x55b731(0x1b3)]?.[_0x55b731(0x20a)]?.[_0x55b731(0x130)]&&[_0x55b731(0x1df),_0x55b731(0xa2),'release','resource-wait',_0x55b731(0x200),'review',_0x55b731(0x11f)][_0x55b731(0x1fc)](_0x32d411));if([_0x55b731(0x126),'model_list','mcp_agent_health',_0x55b731(0xa6),_0x55b731(0x1c0),_0x55b731(0xf8)][_0x55b731(0x1fc)](_0x7197b2))return![];return!![];}['requiresProcessDispatch'](_0x1c1c5e){const _0x4eafce=_0x18e8da;if(_0x1c1c5e[_0x4eafce(0x1fe)]===_0x4eafce(0x150))return(this[_0x4eafce(0x1d5)][_0x4eafce(0x1c3)]||process.env.MCP_DISCOVER_BACKENDS)==='1';if([_0x4eafce(0x18c),_0x4eafce(0x151)][_0x4eafce(0x1fc)](_0x1c1c5e[_0x4eafce(0x1fe)])||_0x1c1c5e[_0x4eafce(0x1fe)]?.[_0x4eafce(0x121)](_0x4eafce(0x1a1)))return![];if(_0x1c1c5e[_0x4eafce(0x1fe)]!==_0x4eafce(0x135))return!![];const {name:_0x215c13,arguments:_0x47d2a1={}}=_0x1c1c5e[_0x4eafce(0x1b3)]||{};if(_0x215c13===_0x4eafce(0xa6))return _0x47d2a1[_0x4eafce(0x114)]===!![];if(_0x215c13==='model_list')return _0x47d2a1['refresh']===!![];if(_0x215c13===_0x4eafce(0x13b))return Boolean(_0x47d2a1['backend']||_0x47d2a1[_0x4eafce(0x1d0)]);if(_0x215c13===_0x4eafce(0x126))return _0x47d2a1['refresh']===!![];return![_0x4eafce(0x1c0),_0x4eafce(0xf8)][_0x4eafce(0x1fc)](_0x215c13);}async['enableOwnedOperations'](){const _0x4652be=_0x18e8da,_0x2bfb11=this[_0x4652be(0x188)],_0x56ffca={};_0x56ffca[_0x4652be(0x17b)]=_0x4652be(0x181);if(!_0x2bfb11)throw Object['assign'](new Error(_0x4652be(0x1c7)),_0x56ffca);if(_0x2bfb11[_0x4652be(0xb1)])return;_0x2bfb11[_0x4652be(0xf7)]||=((async()=>{const _0x5bb461=_0x4652be;await attachOwnedJob(_0x2bfb11);const _0x5eea38=await this['requestChild'](_0x5bb461(0x1ed)),_0x1e5479={};_0x1e5479[_0x5bb461(0x17b)]='CHILD_READINESS_MISMATCH';if(this['child']!==_0x2bfb11||_0x5eea38[_0x5bb461(0x1fa)]!==_0x5bb461(0x1fb)||_0x5eea38[_0x5bb461(0x1e5)]!==_0x2bfb11['pid']||_0x5eea38['connectionId']!==this[_0x5bb461(0x182)]||_0x5eea38[_0x5bb461(0x149)]!==this[_0x5bb461(0x149)])throw Object['assign'](new Error('Process\x20dispatch\x20activation\x20was\x20not\x20confirmed'),_0x1e5479);_0x2bfb11[_0x5bb461(0xb1)]=!![];})());try{await _0x2bfb11[_0x4652be(0xf7)];}catch(_0x4b1304){_0x2bfb11['operationActivation']=null;throw _0x4b1304;}}async['boot'](_0x45db31,_0x59d5ce){const _0x5b47a3=_0x18e8da;if(this['booting'])return this[_0x5b47a3(0x1d7)];this[_0x5b47a3(0x1d7)]=((async()=>{const _0x5e0ee7=_0x5b47a3,_0x34452e=verifyRelease(_0x45db31,this[_0x5e0ee7(0x115)]),_0x14c583={...process.env,...this[_0x5e0ee7(0x1d5)]};_0x14c583[_0x5e0ee7(0x176)]='1',_0x14c583[_0x5e0ee7(0x10b)]=this[_0x5e0ee7(0x182)];const _0x1d4a8c=_0x14c583;delete _0x1d4a8c[_0x5e0ee7(0x133)];const _0x568c11=spawn(process['execPath'],[path[_0x5e0ee7(0xe0)](_0x45db31,_0x5e0ee7(0x12a))],{'cwd':this[_0x5e0ee7(0xe8)],'stdio':[_0x5e0ee7(0x12d),_0x5e0ee7(0x12d),_0x5e0ee7(0x12d),'ipc'],'detached':process['platform']!==_0x5e0ee7(0x1ac),'windowsHide':!![],'env':_0x1d4a8c});this['child']=_0x568c11;const _0x2cdc71={};_0x2cdc71['workspace']=this['workspace'],_0x2cdc71[_0x5e0ee7(0x182)]=this[_0x5e0ee7(0x182)],_0x2cdc71[_0x5e0ee7(0x1ca)]=this[_0x5e0ee7(0x1ca)],_0x2cdc71['generation']=_0x59d5ce;const _0x2c4843={};_0x2c4843[_0x5e0ee7(0x12b)]=!![],_0x568c11[_0x5e0ee7(0x1e3)]=captureOwnedChild(_0x568c11,_0x2cdc71,_0x2c4843);const _0x21f9bf={};_0x21f9bf[_0x5e0ee7(0x1ce)]=_0x34452e[_0x5e0ee7(0x1ce)],_0x21f9bf[_0x5e0ee7(0xa3)]=_0x34452e['digest'],_0x21f9bf[_0x5e0ee7(0x149)]=_0x59d5ce,_0x568c11[_0x5e0ee7(0x208)]=_0x21f9bf,_0x568c11['ready']=![],_0x568c11['stdout']['on']('data',_0x3f665e=>this[_0x5e0ee7(0x172)](_0x3f665e,_0x568c11)),_0x568c11[_0x5e0ee7(0x1fd)]['on'](_0x5e0ee7(0x1b9),_0x10049f=>this[_0x5e0ee7(0x1fd)][_0x5e0ee7(0x137)](_0x10049f)),_0x568c11['on'](_0x5e0ee7(0xe6),_0x231588=>this[_0x5e0ee7(0x173)](_0x231588,_0x568c11)),_0x568c11['on'](_0x5e0ee7(0xb3),(_0x2e171d,_0x5ac1e8)=>this['childClosed'](_0x568c11,_0x2e171d,_0x5ac1e8)),_0x568c11['on'](_0x5e0ee7(0x159),_0x4a5a33=>_0x568c11[_0x5e0ee7(0x18a)]?.(_0x4a5a33));const _0x1bf53c=new Promise((_0x19944c,_0xd2c3b5)=>{const _0x5997d0=_0x5e0ee7,_0x2d3351={};_0x2d3351[_0x5997d0(0x17b)]=_0x5997d0(0x163);const _0x48807c=setTimeout(()=>_0xd2c3b5(Object[_0x5997d0(0x101)](new Error('Runtime\x20child\x20startup\x20timed\x20out'),_0x2d3351)),0x3a98);_0x568c11[_0x5997d0(0xf0)]=_0x120b87=>{clearTimeout(_0x48807c),_0x19944c(_0x120b87);},_0x568c11[_0x5997d0(0x18a)]=_0x415c8f=>{clearTimeout(_0x48807c),_0xd2c3b5(_0x415c8f);};});_0x1bf53c['catch'](()=>{});try{_0x568c11[_0x5e0ee7(0x1f3)]({'type':'boot','runtimeRoot':this[_0x5e0ee7(0x1ca)],'release':_0x45db31,'publicKey':this[_0x5e0ee7(0x115)]?.[_0x5e0ee7(0x156)](),'connectionId':this[_0x5e0ee7(0x182)],'generation':_0x59d5ce,'workspace':this[_0x5e0ee7(0xe8)],'explicitWorkspace':this[_0x5e0ee7(0x1a5)],'gatewayBinding':this[_0x5e0ee7(0xf9)]});const _0x53bdd1=await _0x1bf53c;_0x568c11[_0x5e0ee7(0xce)]=!![],this[_0x5e0ee7(0xbb)]=Array[_0x5e0ee7(0x1c4)](_0x53bdd1[_0x5e0ee7(0x20b)])?_0x53bdd1[_0x5e0ee7(0x20b)]:[],this[_0x5e0ee7(0x20f)]=_0x34452e,this[_0x5e0ee7(0xa5)]=_0x53bdd1[_0x5e0ee7(0xa5)],this['generation']=_0x59d5ce,this['activation']='ready-next-connection',this[_0x5e0ee7(0x202)]();}catch(_0x62dbe8){_0x568c11[_0x5e0ee7(0x18a)]?.(_0x62dbe8);try{await attachOwnedJob(_0x568c11),await stopOwnedChild(_0x568c11,{'graceMs':0x64,'reason':'candidate-boot-failed','graceful':()=>{const _0x21a8ff=_0x5e0ee7;if(_0x568c11[_0x21a8ff(0x13a)])_0x568c11['disconnect']();}});}catch(_0x35bdd2){const _0x4bf440={};_0x4bf440[_0x5e0ee7(0x1e4)]=_0x35bdd2[_0x5e0ee7(0x17b)];throw Object[_0x5e0ee7(0x101)](_0x62dbe8,_0x4bf440);}if(this[_0x5e0ee7(0x188)]===_0x568c11)this[_0x5e0ee7(0x188)]=null;throw _0x62dbe8;}})());try{return await this[_0x5b47a3(0x1d7)];}finally{this[_0x5b47a3(0x1d7)]=null;}}[_0x18e8da(0x172)](_0x1c8109,_0x2a3390){const _0x1aeb61=_0x18e8da;if(this[_0x1aeb61(0x188)]!==_0x2a3390)return;const _0x53821e=this[_0x1aeb61(0x1cf)][_0x1aeb61(0x137)](_0x1c8109);this[_0x1aeb61(0x187)]+=_0x53821e;let _0x175d45;while((_0x175d45=this['outputBuffer']['indexOf']('\x0a'))>=0x0){const _0x2a518b=this[_0x1aeb61(0x187)][_0x1aeb61(0x10d)](0x0,_0x175d45);this[_0x1aeb61(0x187)]=this[_0x1aeb61(0x187)][_0x1aeb61(0x10d)](_0x175d45+0x1);if(!_0x2a518b)continue;let _0x580eb9;try{_0x580eb9=JSON['parse'](_0x2a518b);}catch{continue;}const _0x5412df=_0x580eb9['id']!==undefined&&this['control'][_0x1aeb61(0x157)](messageId(_0x580eb9['id']));if(_0x5412df){this['control'][_0x1aeb61(0x11e)](messageId(_0x580eb9['id'])),_0x5412df[_0x1aeb61(0x10e)](_0x580eb9);continue;}const _0x9fe863=_0x580eb9['id']!==undefined?this[_0x1aeb61(0x1e1)]['get'](messageId(_0x580eb9['id'])):null;if(_0x9fe863){if(_0x9fe863['ticket'])finishOperation(this[_0x1aeb61(0xe8)],_0x9fe863[_0x1aeb61(0xf3)]['invocationId'],_0x9fe863[_0x1aeb61(0xf3)][_0x1aeb61(0x1aa)]);this[_0x1aeb61(0x1e1)]['delete'](messageId(_0x580eb9['id']));if(_0x9fe863[_0x1aeb61(0x1fe)]===_0x1aeb61(0x18c)&&!_0x580eb9[_0x1aeb61(0x159)]){try{this[_0x1aeb61(0xe9)](),this[_0x1aeb61(0x165)]=_0x1aeb61(0x179);}catch(_0x44c288){this[_0x1aeb61(0x165)]=_0x1aeb61(0x212);const _0x5673bd={};_0x5673bd[_0x1aeb61(0x17b)]=-0x7d01,_0x5673bd[_0x1aeb61(0xe6)]=_0x44c288[_0x1aeb61(0x17b)]||_0x1aeb61(0x153),_0x580eb9={'jsonrpc':'2.0','id':_0x580eb9['id'],'error':_0x5673bd};}this[_0x1aeb61(0x202)](),void this[_0x1aeb61(0x183)]()[_0x1aeb61(0xc3)](_0x48b3cc=>{const _0x569a89=_0x1aeb61,_0x39ef8a={};_0x39ef8a['blocker']=_0x48b3cc[_0x569a89(0x17b)]||_0x569a89(0x206),this[_0x569a89(0x202)](_0x39ef8a);});}if(_0x9fe863[_0x1aeb61(0x1fe)]===_0x1aeb61(0x150)&&!_0x580eb9[_0x1aeb61(0x159)])this['toolCatalogHash']=hash(JSON[_0x1aeb61(0x169)](_0x580eb9[_0x1aeb61(0x1bc)]?.['tools']||[]));}!this[_0x1aeb61(0xfe)][_0x1aeb61(0x137)](JSON[_0x1aeb61(0x169)](_0x580eb9)+'\x0a')&&(_0x2a3390[_0x1aeb61(0xfe)][_0x1aeb61(0x1e6)](),this['stdout'][_0x1aeb61(0x194)](_0x1aeb61(0xb8),()=>_0x2a3390[_0x1aeb61(0xfe)][_0x1aeb61(0x19c)]()));}}async['releaseCommittedFence'](){const _0x2690e1=_0x18e8da,_0x1bc500=readFence(this['workspace']);if(_0x1bc500[_0x2690e1(0x1d3)]!==_0x2690e1(0xc2)||_0x1bc500[_0x2690e1(0x13d)]!==this[_0x2690e1(0x20f)]?.[_0x2690e1(0x1ce)]||_0x1bc500['targetDigest']!==this[_0x2690e1(0x20f)]?.['digest'])return;const _0x100051=path['join'](this[_0x2690e1(0xe8)],'.agents',_0x2690e1(0x122),_0x2690e1(0xb5));let _0x56daeb;try{_0x56daeb=JSON[_0x2690e1(0x152)](fs['readFileSync'](_0x100051,_0x2690e1(0x100)));}catch{return;}if(_0x56daeb[_0x2690e1(0x10c)]!==_0x1bc500[_0x2690e1(0x10c)]||!['resources-applied',_0x2690e1(0x212)][_0x2690e1(0x1fc)](_0x56daeb[_0x2690e1(0xba)]))return;const _0x4e4368=await require('./connection-activation')[_0x2690e1(0xda)](this[_0x2690e1(0xe8)],{'version':this[_0x2690e1(0x20f)][_0x2690e1(0x1ce)],'digest':this[_0x2690e1(0x20f)][_0x2690e1(0xa3)],'resourceDigest':this[_0x2690e1(0xa5)]});if(_0x4e4368[_0x2690e1(0xba)]!=='active')return;const _0x22c459=changeFence(this[_0x2690e1(0xe8)],_0x1bc500[_0x2690e1(0x1aa)],{'state':_0x2690e1(0xd2),'transactionId':_0x1bc500[_0x2690e1(0x10c)],'generation':this[_0x2690e1(0x149)]}),_0x623ebd={..._0x56daeb};_0x623ebd[_0x2690e1(0xba)]=_0x2690e1(0x179),_0x623ebd[_0x2690e1(0xd6)]=_0x2690e1(0xca),_0x623ebd[_0x2690e1(0x149)]=this[_0x2690e1(0x149)],_0x623ebd[_0x2690e1(0x1bd)]=_0x22c459['changedAt'],atomic(_0x100051,_0x623ebd);}[_0x18e8da(0x173)](_0xc0c41b,_0x355290){const _0x49ccd3=_0x18e8da;if(this[_0x49ccd3(0x188)]!==_0x355290)return;if(_0xc0c41b?.['type']==='ready'){const _0x7071e3=_0x355290[_0x49ccd3(0x208)],_0x43125a={};_0x43125a[_0x49ccd3(0x17b)]=_0x49ccd3(0x155);if(!_0x7071e3||_0xc0c41b[_0x49ccd3(0x182)]!==this[_0x49ccd3(0x182)]||_0xc0c41b[_0x49ccd3(0x1e5)]!==_0x355290[_0x49ccd3(0x1e5)]||_0xc0c41b[_0x49ccd3(0x149)]!==_0x7071e3[_0x49ccd3(0x149)]||_0xc0c41b[_0x49ccd3(0x1ce)]!==_0x7071e3['version']||_0xc0c41b['digest']!==_0x7071e3[_0x49ccd3(0xa3)]||!same(_0xc0c41b[_0x49ccd3(0xe8)]||'',this['workspace']))_0x355290[_0x49ccd3(0x18a)]?.(Object[_0x49ccd3(0x101)](new Error('Runtime\x20readiness\x20tuple\x20does\x20not\x20match\x20candidate'),_0x43125a));else _0x355290[_0x49ccd3(0xf0)]?.(_0xc0c41b);}else{if(_0xc0c41b?.[_0x49ccd3(0x1fa)]===_0x49ccd3(0x19b))_0x355290[_0x49ccd3(0x18a)]?.(Object[_0x49ccd3(0x101)](new Error(_0xc0c41b[_0x49ccd3(0xd0)]),{'code':_0xc0c41b[_0x49ccd3(0x17b)]}));else{if(_0xc0c41b?.[_0x49ccd3(0x1fa)]===_0x49ccd3(0xc9))this['rebindWorkspace'](_0xc0c41b[_0x49ccd3(0xe8)]);else{if(_0xc0c41b?.[_0x49ccd3(0xd8)]&&this[_0x49ccd3(0x1b1)][_0x49ccd3(0xe7)](messageId(_0xc0c41b[_0x49ccd3(0xd8)]))){if(_0xc0c41b['type']==='stopped'&&_0xc0c41b['pid']===_0x355290[_0x49ccd3(0x1e5)]&&_0xc0c41b['connectionId']===this[_0x49ccd3(0x182)]&&_0xc0c41b['generation']===this[_0x49ccd3(0x149)]&&_0xc0c41b[_0x49ccd3(0x191)]===!![])_0x355290[_0x49ccd3(0xcb)]=!![];const _0x4836b3=this[_0x49ccd3(0x1b1)]['get'](messageId(_0xc0c41b[_0x49ccd3(0xd8)]));this[_0x49ccd3(0x1b1)][_0x49ccd3(0x11e)](messageId(_0xc0c41b['requestId'])),_0x4836b3[_0x49ccd3(0x10e)](_0xc0c41b);}}}}}async[_0x18e8da(0x15a)](_0xa8c1ea,_0x505e14={},_0x32f0fd=0x1388){const _0x43680b=_0x18e8da,_0x3414c5={};_0x3414c5[_0x43680b(0x1b8)]=_0x505e14[_0x43680b(0x20d)]?.[_0x43680b(0x1f6)],_0x3414c5[_0x43680b(0x20a)]=_0x505e14['input']?.[_0x43680b(0x20a)];const _0x3d9dd1={};_0x3d9dd1[_0x43680b(0x1fe)]=_0x43680b(0x135),_0x3d9dd1[_0x43680b(0x1b3)]=_0x3414c5;const _0x447f1c=_0xa8c1ea===_0x43680b(0x1a3)&&!this[_0x43680b(0xfd)](_0x3d9dd1);if(![_0x43680b(0xba),_0x43680b(0x1ed)]['includes'](_0xa8c1ea)&&!_0x447f1c)await this[_0x43680b(0x180)]();const _0x3b7c56={};_0x3b7c56['code']=_0x43680b(0x181);if(!this[_0x43680b(0x188)]?.[_0x43680b(0x13a)])return Promise[_0x43680b(0x15b)](Object[_0x43680b(0x101)](new Error(_0x43680b(0x1c7)),_0x3b7c56));const _0x332696=_0x43680b(0x198)+crypto[_0x43680b(0x154)]();return new Promise((_0x313687,_0x5843ca)=>{const _0x18f9fd=_0x43680b,_0x440a90=setTimeout(()=>{const _0x3c1e9e=_0x500a;this['control'][_0x3c1e9e(0x11e)](messageId(_0x332696));const _0x506931={};_0x506931[_0x3c1e9e(0x17b)]=_0x3c1e9e(0x15c),_0x5843ca(Object[_0x3c1e9e(0x101)](new Error('Runtime\x20child\x20control\x20timed\x20out'),_0x506931));},_0x32f0fd);this[_0x18f9fd(0x1b1)][_0x18f9fd(0xb2)](messageId(_0x332696),{'resolve':_0x3d9601=>{clearTimeout(_0x440a90),_0x313687(_0x3d9601);}});const _0x50bba9={'type':_0xa8c1ea,'requestId':_0x332696,..._0x505e14};this[_0x18f9fd(0x188)][_0x18f9fd(0x1f3)](_0x50bba9);});}async[_0x18e8da(0xc7)](_0x5dc745,_0x43db2d,_0x1bdeb4=0x2710){const _0x2a007a=_0x18e8da;await this['enableOwnedOperations']();const _0x5e32a3=_0x2a007a(0x10f)+crypto[_0x2a007a(0x154)]();return new Promise((_0x15115a,_0x1655e8)=>{const _0x289bc2=_0x2a007a,_0x2e6d5b=setTimeout(()=>{const _0x16cfcc=_0x500a;this[_0x16cfcc(0x1b1)][_0x16cfcc(0x11e)](messageId(_0x5e32a3));const _0x21b242={};_0x21b242[_0x16cfcc(0x17b)]=_0x16cfcc(0x11a),_0x1655e8(Object['assign'](new Error('Runtime\x20RPC\x20timed\x20out'),_0x21b242));},_0x1bdeb4);this[_0x289bc2(0x1b1)][_0x289bc2(0xb2)](messageId(_0x5e32a3),{'resolve':_0x4f8789=>{clearTimeout(_0x2e6d5b),_0x15115a(_0x4f8789);}});const _0x57e3e9={};_0x57e3e9[_0x289bc2(0x185)]='2.0',_0x57e3e9['id']=_0x5e32a3,_0x57e3e9['method']=_0x5dc745,_0x57e3e9[_0x289bc2(0x1b3)]=_0x43db2d,this[_0x289bc2(0x188)][_0x289bc2(0x1d6)][_0x289bc2(0x137)](JSON['stringify'](_0x57e3e9)+'\x0a');});}async[_0x18e8da(0xc6)](){const _0x874b27=_0x18e8da;if(this['pending']['size'])return[{'kind':_0x874b27(0xe4),'count':this[_0x874b27(0x1e1)][_0x874b27(0x14c)]}];const _0x259b17=await this['requestChild']('status'),_0x9656a2={};return _0x9656a2[_0x874b27(0x104)]=_0x874b27(0xa4),_0x259b17['blockers']||[_0x9656a2];}[_0x18e8da(0xe1)](){const _0x27c5f9=_0x18e8da,_0x1b4a8f={};return _0x1b4a8f[_0x27c5f9(0x182)]=this[_0x27c5f9(0x182)],_0x1b4a8f[_0x27c5f9(0xe8)]=this[_0x27c5f9(0xe8)],_0x1b4a8f['supervisorPid']=process[_0x27c5f9(0x1e5)],_0x1b4a8f[_0x27c5f9(0x20c)]=this[_0x27c5f9(0x188)]?.[_0x27c5f9(0x1e5)],_0x1b4a8f[_0x27c5f9(0x1ce)]=this[_0x27c5f9(0x20f)]?.[_0x27c5f9(0x1ce)],_0x1b4a8f[_0x27c5f9(0xa3)]=this[_0x27c5f9(0x20f)]?.[_0x27c5f9(0xa3)],_0x1b4a8f[_0x27c5f9(0xa5)]=this['resourceDigest'],_0x1b4a8f[_0x27c5f9(0x1cd)]=this[_0x27c5f9(0x1f0)],_0x1b4a8f[_0x27c5f9(0x149)]=this[_0x27c5f9(0x149)],_0x1b4a8f;}async[_0x18e8da(0xdc)](_0x453023){const _0x3196e0=_0x18e8da,_0x54e723={};_0x54e723['code']=_0x3196e0(0x181);if(!this[_0x3196e0(0x188)])throw Object[_0x3196e0(0x101)](new Error(_0x3196e0(0x15d)),_0x54e723);const _0x3f68c9=this[_0x3196e0(0x188)];if(!_0x3f68c9[_0x3196e0(0xc2)])await this['enableOwnedOperations']();else await attachOwnedJob(_0x3f68c9);let _0x52b4b4=![];const _0x2f1083=await stopOwnedChild(_0x3f68c9,{'reason':_0x453023,'graceful':async()=>{const _0x27eac2=_0x3196e0,_0x34503f={};_0x34503f[_0x27eac2(0x13c)]=_0x453023;const _0x5bf7d4=await this[_0x27eac2(0x15a)](_0x27eac2(0x11d),_0x34503f,0x3a98);_0x52b4b4=_0x5bf7d4[_0x27eac2(0x1fa)]===_0x27eac2(0x109)&&_0x5bf7d4[_0x27eac2(0x1e5)]===_0x3f68c9['pid']&&_0x5bf7d4['connectionId']===this[_0x27eac2(0x182)]&&_0x5bf7d4[_0x27eac2(0x149)]===this['generation']&&_0x5bf7d4['registeredOwnersStopped']===!![];}}),_0x2fa334={};_0x2fa334[_0x3196e0(0x17b)]=_0x3196e0(0x117);if(process[_0x3196e0(0xfc)]!==_0x3196e0(0x1ac)&&!_0x52b4b4)throw Object[_0x3196e0(0x101)](new Error(_0x3196e0(0x1eb)),_0x2fa334);const _0x44da0d={..._0x2f1083};_0x44da0d[_0x3196e0(0x191)]=_0x52b4b4,this['shutdownEvidence']=_0x44da0d;if(this[_0x3196e0(0x188)]===_0x3f68c9)this[_0x3196e0(0x188)]=null;this[_0x3196e0(0x187)]='',this[_0x3196e0(0x1cf)]=new StringDecoder(_0x3196e0(0x100));}async[_0x18e8da(0x1b4)](_0x4c13a0){const _0x1fa6bb=_0x18e8da;if(this[_0x1fa6bb(0x18c)]){const _0x3ad4ff=await this['requestRpc'](_0x1fa6bb(0x18c),this[_0x1fa6bb(0x18c)]),_0x2e9e6b={};_0x2e9e6b[_0x1fa6bb(0x17b)]='CHILD_INITIALIZE_FAILED';if(_0x3ad4ff[_0x1fa6bb(0x159)])throw Object[_0x1fa6bb(0x101)](new Error('Candidate\x20initialization\x20failed'),_0x2e9e6b);const _0x82bb0={};_0x82bb0[_0x1fa6bb(0x185)]=_0x1fa6bb(0x13e),_0x82bb0['method']='notifications/initialized',_0x82bb0[_0x1fa6bb(0x1b3)]={};if(this[_0x1fa6bb(0x1b0)])this['child'][_0x1fa6bb(0x1d6)][_0x1fa6bb(0x137)](JSON[_0x1fa6bb(0x169)](_0x82bb0)+'\x0a');}const _0x2d05c0=await this[_0x1fa6bb(0xc7)](_0x1fa6bb(0x150),{}),_0x3c0e92=hash(JSON[_0x1fa6bb(0x169)](_0x2d05c0[_0x1fa6bb(0x1bc)]?.[_0x1fa6bb(0x140)]||[])),_0xfc58c2={};_0xfc58c2[_0x1fa6bb(0x17b)]='RECONNECT_REQUIRED';if(_0x2d05c0['error']||this[_0x1fa6bb(0x1f0)]&&_0x3c0e92!==this[_0x1fa6bb(0x1f0)])throw Object[_0x1fa6bb(0x101)](new Error('Host\x20must\x20refresh\x20its\x20catalog'),_0xfc58c2);this[_0x1fa6bb(0x1f0)]=_0x3c0e92;const _0x26e043={};_0x26e043[_0x1fa6bb(0x164)]=_0x4c13a0[_0x1fa6bb(0x164)],_0x26e043[_0x1fa6bb(0x12e)]=_0x4c13a0[_0x1fa6bb(0x12e)],await this[_0x1fa6bb(0x15a)]('restore',_0x26e043);}async[_0x18e8da(0xdb)](_0x25e1cf){const _0x1a68a3=_0x18e8da,_0x2a8917=readFence(this[_0x1a68a3(0xe8)]),_0x40dca2={};_0x40dca2[_0x1a68a3(0x17b)]='ADMISSION_CONFLICT';if(_0x2a8917[_0x1a68a3(0x1d3)]!=='frozen'||_0x25e1cf[_0x1a68a3(0x10c)]!==_0x2a8917[_0x1a68a3(0x10c)]||_0x25e1cf[_0x1a68a3(0x1aa)]!==_0x2a8917[_0x1a68a3(0x1aa)])throw Object[_0x1a68a3(0x101)](new Error(_0x1a68a3(0xa9)),_0x40dca2);const _0x58cdc5={};_0x58cdc5['status']=_0x1a68a3(0xd3),_0x58cdc5[_0x1a68a3(0x17b)]='TRANSITION_IN_PROGRESS';if(this[_0x1a68a3(0x17f)])return _0x58cdc5;this['recoverCandidate'](_0x25e1cf[_0x1a68a3(0x10c)]),this[_0x1a68a3(0x193)]=!![];if(_0x25e1cf['type']===_0x1a68a3(0x199)){const _0x70512d={};_0x70512d['code']=_0x1a68a3(0x170);if(!this['candidate']||this[_0x1a68a3(0xa7)][_0x1a68a3(0x10c)]!==_0x25e1cf[_0x1a68a3(0x10c)]||!this[_0x1a68a3(0xa7)][_0x1a68a3(0x1c9)]||!this[_0x1a68a3(0x188)]?.['ready'])throw Object[_0x1a68a3(0x101)](new Error(_0x1a68a3(0x195)),_0x70512d);const _0x9c5a76=await this[_0x1a68a3(0x15a)](_0x1a68a3(0xba)),_0x500867={};_0x500867[_0x1a68a3(0x17b)]='CHILD_READINESS_MISMATCH';if(_0x9c5a76['pid']!==this[_0x1a68a3(0x188)][_0x1a68a3(0x1e5)]||_0x9c5a76[_0x1a68a3(0x149)]!==_0x25e1cf[_0x1a68a3(0x149)]||!same(_0x9c5a76[_0x1a68a3(0xe8)],this[_0x1a68a3(0xe8)]))throw Object[_0x1a68a3(0x101)](new Error(_0x1a68a3(0x16b)),_0x500867);const _0x2da32=acknowledgeGeneration(this[_0x1a68a3(0xe8)],this[_0x1a68a3(0x182)],_0x25e1cf['transactionId'],this['candidateTuple']());projectGeneration(this[_0x1a68a3(0x1ca)],this[_0x1a68a3(0xe8)],_0x2da32),this[_0x1a68a3(0x10a)]=this[_0x1a68a3(0xa7)][_0x1a68a3(0x10a)],this[_0x1a68a3(0x165)]=_0x1a68a3(0x179),this[_0x1a68a3(0x193)]=![];const _0x112a5b={};return _0x112a5b['committedTransaction']=_0x2da32[_0x1a68a3(0x10c)],this['record'](_0x112a5b),{'status':_0x1a68a3(0x179),...this[_0x1a68a3(0xe1)]()};}const _0x560bfc=readGeneration(this[_0x1a68a3(0xe8)]),_0xc2164={};_0xc2164[_0x1a68a3(0x17b)]=_0x1a68a3(0x111);if(_0x25e1cf[_0x1a68a3(0x1fa)]===_0x1a68a3(0x106)&&_0x560bfc?.[_0x1a68a3(0x10c)]===_0x25e1cf['transactionId'])throw Object['assign'](new Error(_0x1a68a3(0x175)),_0xc2164);if(_0x25e1cf[_0x1a68a3(0x1fa)]===_0x1a68a3(0x1f7)&&this[_0x1a68a3(0xa7)]?.['transactionId']===_0x25e1cf[_0x1a68a3(0x10c)]&&this['candidate']['prepared']&&this[_0x1a68a3(0x188)]?.[_0x1a68a3(0xce)]){const _0x32219d=this[_0x1a68a3(0xe1)](),_0x42d874={};_0x42d874['code']='CANDIDATE_TUPLE_MISMATCH';if([_0x1a68a3(0x1ce),_0x1a68a3(0xa3),_0x1a68a3(0x149),'resourceDigest','catalogHash'][_0x1a68a3(0x1ea)](_0x594c6a=>_0x32219d[_0x594c6a]!==_0x25e1cf[_0x594c6a]))throw Object[_0x1a68a3(0x101)](new Error(_0x1a68a3(0x1b6)),_0x42d874);const _0x1c0436=await this[_0x1a68a3(0x15a)](_0x1a68a3(0xba)),_0x5d6b41={};_0x5d6b41['code']=_0x1a68a3(0x155);if(_0x1c0436[_0x1a68a3(0x1e5)]!==_0x32219d[_0x1a68a3(0x20c)]||_0x1c0436['generation']!==_0x32219d[_0x1a68a3(0x149)]||!same(_0x1c0436['workspace'],this[_0x1a68a3(0xe8)]))throw Object[_0x1a68a3(0x101)](new Error(_0x1a68a3(0x16b)),_0x5d6b41);const _0xedd773={'status':_0x1a68a3(0x192),..._0x32219d};return _0xedd773;}this['transition']=((async()=>{const _0x41f3c4=_0x1a68a3;if(_0x25e1cf['type']===_0x41f3c4(0x14d)){if(this['candidate']?.[_0x41f3c4(0x10c)]===_0x25e1cf[_0x41f3c4(0x10c)]&&this[_0x41f3c4(0xa7)][_0x41f3c4(0x109)]&&this[_0x41f3c4(0xa7)][_0x41f3c4(0x1c9)]&&!this[_0x41f3c4(0xa7)]['restored'])return{'status':this[_0x41f3c4(0x188)]?.[_0x41f3c4(0xce)]?_0x41f3c4(0x192):'pending-safe-boundary','code':this['child']?.[_0x41f3c4(0xce)]?undefined:'CANDIDATE_NOT_READY','oldRuntimeStopped':!![],...this[_0x41f3c4(0xe1)]()};if(this[_0x41f3c4(0xa7)]?.[_0x41f3c4(0x10c)]===_0x25e1cf['transactionId']&&this[_0x41f3c4(0xa7)][_0x41f3c4(0x109)]&&!this[_0x41f3c4(0xa7)][_0x41f3c4(0xbf)]&&!this[_0x41f3c4(0x188)])return{'status':_0x41f3c4(0x109),'connectionId':this['connectionId']};const _0x41b9b0=await this['safeBoundary']();if(_0x41b9b0[_0x41f3c4(0x13f)])return{'status':'pending-safe-boundary','blockers':_0x41b9b0};const _0x2ae217=await this[_0x41f3c4(0x15a)](_0x41f3c4(0xba));this[_0x41f3c4(0xa7)]={'transactionId':_0x25e1cf[_0x41f3c4(0x10c)],'previous':{'release':this['release'],'generation':this['generation'],'resourceDigest':this[_0x41f3c4(0xa5)],'state':_0x2ae217}},this[_0x41f3c4(0x207)](),await this[_0x41f3c4(0xdc)](_0x41f3c4(0x1dc)),this[_0x41f3c4(0xa7)][_0x41f3c4(0x109)]=!![],this[_0x41f3c4(0x207)]();const _0x37cdce={};_0x37cdce[_0x41f3c4(0x205)]=_0x25e1cf[_0x41f3c4(0x10c)],this[_0x41f3c4(0x202)](_0x37cdce);const _0x3328ed={};return _0x3328ed['status']=_0x41f3c4(0x109),_0x3328ed[_0x41f3c4(0x182)]=this['connectionId'],_0x3328ed['shutdownEvidence']=this[_0x41f3c4(0x1d9)],_0x3328ed;}if(_0x25e1cf[_0x41f3c4(0x1fa)]===_0x41f3c4(0x106)){const _0x33f4c4={};_0x33f4c4[_0x41f3c4(0x17b)]=_0x41f3c4(0x160);if(!this[_0x41f3c4(0xa7)])throw Object[_0x41f3c4(0x101)](new Error(_0x41f3c4(0x214)),_0x33f4c4);const _0x29602d=this[_0x41f3c4(0xa7)]['previous'],_0x36b07e={};_0x36b07e['code']=_0x41f3c4(0x160);if(!_0x29602d?.[_0x41f3c4(0x1d3)]||!this[_0x41f3c4(0xa7)][_0x41f3c4(0x109)])throw Object['assign'](new Error('Previous\x20stop\x20evidence\x20is\x20missing'),_0x36b07e);if(this[_0x41f3c4(0x188)])await this[_0x41f3c4(0xdc)](_0x41f3c4(0xc1));await this[_0x41f3c4(0xa1)](_0x29602d[_0x41f3c4(0x10a)],_0x29602d[_0x41f3c4(0x149)]);const _0x511592={};_0x511592[_0x41f3c4(0x17b)]=_0x41f3c4(0xd4);if(this[_0x41f3c4(0xa5)]!==_0x29602d[_0x41f3c4(0xa5)])throw Object['assign'](new Error(_0x41f3c4(0x124)),_0x511592);return await this['initializeCandidate'](_0x29602d[_0x41f3c4(0x1d3)]),this['release']=_0x29602d[_0x41f3c4(0x10a)],this[_0x41f3c4(0xa7)]={...this[_0x41f3c4(0xa7)],'restored':!![],'prepared':![]},this[_0x41f3c4(0x207)](),this[_0x41f3c4(0x165)]=_0x41f3c4(0xd3),this[_0x41f3c4(0x193)]=![],this[_0x41f3c4(0x202)](),{'status':_0x41f3c4(0xab),'serving':this['child']?.[_0x41f3c4(0xce)]===!![],...this[_0x41f3c4(0xe1)]()};}const _0x177af2={};_0x177af2['code']=_0x41f3c4(0x1b7);if(!Number['isSafeInteger'](_0x25e1cf[_0x41f3c4(0x149)])||_0x25e1cf['generation']<=(this[_0x41f3c4(0xa7)]?.['previous']?.['generation']??this[_0x41f3c4(0x149)])||_0x25e1cf[_0x41f3c4(0x1ce)]!==_0x2a8917[_0x41f3c4(0x13d)]||_0x25e1cf[_0x41f3c4(0xa3)]!==_0x2a8917['targetDigest'])throw Object[_0x41f3c4(0x101)](new Error('Candidate\x20target\x20does\x20not\x20match\x20transaction'),_0x177af2);const _0xbda710=_0x25e1cf[_0x41f3c4(0x10a)]||path[_0x41f3c4(0xe0)](this[_0x41f3c4(0x1ca)],_0x41f3c4(0xa0),_0x25e1cf[_0x41f3c4(0x1ce)]+'-'+_0x25e1cf[_0x41f3c4(0xa3)]),_0x201488=verifyRelease(_0xbda710,this[_0x41f3c4(0x115)]),_0x392f98={};_0x392f98[_0x41f3c4(0x17b)]=_0x41f3c4(0x1b7);if(_0x201488[_0x41f3c4(0x1ce)]!==_0x25e1cf['version']||_0x201488[_0x41f3c4(0xa3)]!==_0x25e1cf[_0x41f3c4(0xa3)])throw Object['assign'](new Error(_0x41f3c4(0xac)),_0x392f98);const _0x34eeb2={};_0x34eeb2[_0x41f3c4(0x17b)]=_0x41f3c4(0x16c);if(!this['candidate']?.[_0x41f3c4(0x109)]||this['candidate'][_0x41f3c4(0x10c)]!==_0x25e1cf[_0x41f3c4(0x10c)])throw Object[_0x41f3c4(0x101)](new Error('Previous\x20runtime\x20must\x20stop\x20before\x20resources\x20change'),_0x34eeb2);const _0x42a930=this['candidate']['previous']['state'];this['candidate']['release']=_0xbda710;if(this[_0x41f3c4(0x188)])await this[_0x41f3c4(0xdc)](_0x41f3c4(0x131));this[_0x41f3c4(0xa7)]['prepared']=![],this[_0x41f3c4(0x207)](),await this[_0x41f3c4(0xa1)](_0xbda710,_0x25e1cf[_0x41f3c4(0x149)]),await this[_0x41f3c4(0x1b4)](_0x42a930);const _0x3ca37d={};_0x3ca37d[_0x41f3c4(0x17b)]=_0x41f3c4(0x1b7);if(this[_0x41f3c4(0xa5)]!==_0x25e1cf[_0x41f3c4(0xa5)]||this[_0x41f3c4(0x1f0)]!==_0x25e1cf[_0x41f3c4(0x1cd)])throw Object[_0x41f3c4(0x101)](new Error(_0x41f3c4(0x210)),_0x3ca37d);this[_0x41f3c4(0xa7)][_0x41f3c4(0x1c9)]=!![],this[_0x41f3c4(0x207)](),this[_0x41f3c4(0x165)]=_0x41f3c4(0xd3);const _0x5dd0a1={};return _0x5dd0a1[_0x41f3c4(0x201)]=_0x25e1cf[_0x41f3c4(0x10c)],this['record'](_0x5dd0a1),{'status':_0x41f3c4(0x192),...this[_0x41f3c4(0xe1)]()};})());try{return await this[_0x1a68a3(0x17f)];}finally{this[_0x1a68a3(0x17f)]=null;}}async[_0x18e8da(0xe2)](){const _0xdde9a=_0x18e8da,_0x563683={};return _0x563683[_0xdde9a(0xba)]=_0xdde9a(0x212),_0x563683['code']=_0xdde9a(0x1ad),_0x563683;}async[_0x18e8da(0xd9)](_0x421fb4,_0x1f1b50,_0x473402){const _0x34712a=_0x18e8da;if(this[_0x34712a(0x188)]!==_0x421fb4)return;_0x421fb4[_0x34712a(0xc2)]=!![],_0x421fb4[_0x34712a(0xce)]=![];const _0x106d9d={};_0x106d9d[_0x34712a(0x17b)]='CHILD_CLOSED',_0x421fb4[_0x34712a(0x18a)]?.(Object[_0x34712a(0x101)](new Error('Runtime\x20child\x20closed'),_0x106d9d));for(const [_0x30462b]of this[_0x34712a(0x1e1)]){try{const _0x2c05a5={};_0x2c05a5[_0x34712a(0x17b)]=-0x7d02,_0x2c05a5[_0x34712a(0xe6)]=_0x34712a(0x144),this[_0x34712a(0x1d8)]({'jsonrpc':_0x34712a(0x13e),'id':JSON['parse'](_0x30462b),'error':_0x2c05a5});}catch{}}this[_0x34712a(0x1e1)][_0x34712a(0x1b5)]();try{const _0x5b34d5={};_0x5b34d5[_0x34712a(0x13c)]=_0x34712a(0x19e),_0x5b34d5['graceMs']=0x3e8,await stopOwnedChild(_0x421fb4,_0x5b34d5);}catch(_0x315e2a){this[_0x34712a(0x165)]=_0x34712a(0x1d2),this[_0x34712a(0x193)]=!![];const _0x214b1a={};_0x214b1a['stopReason']=_0x473402||_0x1f1b50||_0x34712a(0x9f),_0x214b1a[_0x34712a(0x19d)]=_0x315e2a[_0x34712a(0x17b)]||_0x34712a(0x117),this[_0x34712a(0x202)](_0x214b1a);return;}if(this[_0x34712a(0x188)]!==_0x421fb4)return;if(process[_0x34712a(0xfc)]!==_0x34712a(0x1ac)&&!_0x421fb4[_0x34712a(0xcb)]){this[_0x34712a(0x165)]='legacy-ownership-unverified',this[_0x34712a(0x193)]=!![];const _0x50c561={};_0x50c561[_0x34712a(0x15e)]=_0x473402||_0x1f1b50||_0x34712a(0x9f),_0x50c561[_0x34712a(0x19d)]=_0x34712a(0x117),this[_0x34712a(0x202)](_0x50c561);return;}this[_0x34712a(0x188)]=null;if(!this[_0x34712a(0x17f)]&&!this[_0x34712a(0x109)]){this[_0x34712a(0x18c)]=null,this[_0x34712a(0x1b0)]=![],this[_0x34712a(0x165)]=_0x34712a(0x212),this[_0x34712a(0x193)]=!![];const _0x423f4c={};_0x423f4c[_0x34712a(0x15e)]=_0x473402||_0x1f1b50||_0x34712a(0x9f),this[_0x34712a(0x202)](_0x423f4c);}}[_0x18e8da(0x1d8)](_0x12ce31){const _0x31f2fd=_0x18e8da;this[_0x31f2fd(0xfe)][_0x31f2fd(0x137)](JSON[_0x31f2fd(0x169)](_0x12ce31)+'\x0a');}async[_0x18e8da(0xb3)](_0x550db3=_0x18e8da(0x166)){const _0xca6b1d=_0x18e8da;if(this[_0xca6b1d(0xc2)])return;if(this['closing'])return this[_0xca6b1d(0xff)];this['admissionClosed']=!![],clearTimeout(this[_0xca6b1d(0x1f5)]),this[_0xca6b1d(0xff)]=((async()=>{const _0x110896=_0xca6b1d;try{if(this['child'])await this[_0x110896(0xdc)](_0x550db3);closeMember(this[_0x110896(0xe8)],this[_0x110896(0x182)],process[_0x110896(0x1e5)],!![]),this[_0x110896(0x109)]=!![],this[_0x110896(0x1f9)]=_0x550db3,require(_0x110896(0x12c))[_0x110896(0x18d)](this),await new Promise(_0x4e2762=>this[_0x110896(0x196)]?.[_0x110896(0xb3)](_0x4e2762)||_0x4e2762()),this[_0x110896(0x165)]='ready-next-connection';const _0x840b3c={};_0x840b3c[_0x110896(0x15e)]=_0x550db3,this['record'](_0x840b3c);try{fs['unlinkSync'](this[_0x110896(0x1c8)]);}catch{}if(process[_0x110896(0xfc)]!==_0x110896(0x1ac))try{fs['unlinkSync'](this[_0x110896(0x1a8)]);}catch{}this[_0x110896(0xc2)]=!![];}catch(_0x4cd07c){this[_0x110896(0x165)]='legacy-ownership-unverified';const _0x369a87={};_0x369a87[_0x110896(0x15e)]=_0x550db3,_0x369a87[_0x110896(0x19d)]=_0x4cd07c['code']||_0x110896(0x16c),this[_0x110896(0x202)](_0x369a87);throw _0x4cd07c;}})());try{return await this[_0xca6b1d(0xff)];}finally{this['closing']=null;}}}const _0x37e16f={};_0x37e16f[_0x18e8da(0xed)]=ConnectionSupervisor,module['exports']=_0x37e16f;
1
+ 'use strict';const _0x237898=_0x4c71;(function(_0x417f93,_0x2c8297){const _0x4abca3=_0x4c71,_0x1aa3ad=_0x417f93();while(!![]){try{const _0x3fb849=-parseInt(_0x4abca3(0x241))/0x1+parseInt(_0x4abca3(0x2f5))/0x2*(parseInt(_0x4abca3(0x23d))/0x3)+parseInt(_0x4abca3(0x201))/0x4*(-parseInt(_0x4abca3(0x2ac))/0x5)+parseInt(_0x4abca3(0x2c9))/0x6*(-parseInt(_0x4abca3(0x1e1))/0x7)+-parseInt(_0x4abca3(0x267))/0x8+parseInt(_0x4abca3(0x1f2))/0x9*(-parseInt(_0x4abca3(0x288))/0xa)+parseInt(_0x4abca3(0x1c1))/0xb;if(_0x3fb849===_0x2c8297)break;else _0x1aa3ad['push'](_0x1aa3ad['shift']());}catch(_0x473dd2){_0x1aa3ad['push'](_0x1aa3ad['shift']());}}}(_0xc45c,0xc66a9));function _0xc45c(){const _0x38d5ff=['AgfUzgXLsg9ZDe1LC3nHz2u','C3rHCNq','Ag9VAY1JB250zxH0','u3vWzxj2AxnVCIbYzxf1zxn0igzHAwXLza','CgLWzq','Dg9VBhm','CMvQzwn0','B3zLCNnPEMuTAg9ZDc1TzxnZywDL','q2fUzgLKyxrLihjLywrPBMvZCYbPCYbUBYbSB25NzxiGDMfSAwq','CMvUyw1Lu3LUyW','D2fPDgLUzW','Aw5WDxq','AxbJ','CMvSzwfZzunVBw1PDhrLzezLBMnL','Ag9ZDc1LCNjVCG','y2XLyxi','q0fmtevsx0nptLrfwfrFvu5bvKfjtefcteu','C3rHDhvZ','y2f0y2G','y29UDgv4Df9SB2fK','Bwv0Ag9K','y29UBMvJDgLVBKLK','CMvHzhK','CMvZDg9Yzq','m1jYD1rjsW','ywn0Aw9U','r0vorvjbveLptL9vtKnptKzjuK1fra','y2fUzgLKyxrLvhvWBgu','mZiYotK3CMPTte5H','Aw5WDxrdAgfPBG','BM9KztP1CMW','BgLUDxG','zgLNzxn0','zgLZy29UBMvJDa','C3rYAw5NAwz5','C2vZC2LVBL9IB290C3rYyxa','C2H1DgrVD24','Dg9VBa','CNvUDgLTzvjVB3q','q0foreLeqvrfx05pvf9srufewq','Dg1WzgLY','AxnbCNjHEq','y29UC3vTzs1YzxbVCNq','y29UDhjVBa','BMf0AxzLq2fSBgvY','uNvUDgLTzsbJAgLSzcbZDgfYDhvWihrPBwvKig91Da','C3DPDgnOuNvUDgLTzq','BwnWx2fNzw50x2HLywX0Aa','zNn5BMntEw5J','C3vWzxj2AxnVCLbPza','vfjbtLnjveLptL9jtL9quK9huKvtuW','qvbux1vqrefurv9qru5esu5hoIb3B3jRC3bHy2uGywrTAxnZAw9UigLZignSB3nLzcbMB3iGCNvUDgLTzsbZD2L0y2G','ywn0AxzHDgLVBG','CMvXDwvZDc1ZDg9W','CMvZDw1L','y2XVC2u','DhjPBq','BM9KztPUzxq','CgfYyw1Z','CMvZB3vYy2vZlwfWCgXPzwq','CMvJDxjZAxzL','C2H1DgrVD25fDMLKzw5Jzq','Dg9VBhmVy2fSBa','B3bLBG','zgvZDhjVEq','CMvSzwfZzxm','otG0mJKWnhjqtxbHBq','Ag9ZDc1LB2y','C3rVChbLza','C2TPBgXFBg9Hza','CMvZB3vYy2veAwDLC3q','ugfYC2uGzxjYB3i','y29UBMvJDgvK','AxnZDwuTy29UDgv4Da','yMfJA2vUza','CM9VDfbHDgG','qunusvzbveLptL9ot1rFufjfuefsruq','y2XVC3vYzvjLz2LZDhjHDgLVBNm','CMvXDwvZDenOAwXK','CgfYC2u','C3rHCNr1Cfn0yxrL','CMvJB3jKuMvNAxn0CMf0Aw9Uq2XVC3vYzq','ChjLCgfYzwq','ChjLCgfYzq','C3rKB3v0','y3jLyxrLsg1HyW','z2f0zxDHEs1IAw5KAw5N','C3rHCNrZv2L0Aa','DhjHBNnHy3rPB25jza','Dw5SAw5Ru3LUyW','CgvUzgLUzW','ChjLCgfYzs1Jyw5KAwrHDgu','tunqx0rju0npvKvsx0jbq0TftKrt','y2HPBgqTy2XVC2vK','yxnZAwDU','CMvIAw5Kv29YA3nWywnL','C2v0','D2LUmZi','zxHWzwn0zwrcB290','mti3mgnSrMPNtq','uhjLDMLVDxmGCNvUDgLTzsbTDxn0ihn0B3aGyMvMB3jLihjLC291CMnLCYbJAgfUz2u','CMvXDwvZDfjWyW','CMvXDwvZDa','uhjLDMLVDxmGCMvZB3vYy2vZihDLCMuGBM90ihjLC3rVCMvK','lMfNzw50CY9YDw50Aw1Ll2nVBM5Ly3rPB25Z','yNL0zuXLBMD0Aa','CMfUzg9TqNL0zxm','BwTKAxjtEw5J','yxjNDw1LBNrZ','uKvrvuvtvf9jrf9dt05gteLdva','y2XVC2vtEw5J','DxbKyxrL','CgXHDgzVCM0','q2fUzgLKyxrLihjLBgvHC2uGzg9LCYbUB3qGBwf0y2GGDhjHBNnHy3rPB24','B3b0Aw9UCW','v09ss1nqqunfx1rsqu5tqunusu9ox1jfuvvjuKve','sg9ZDcbTDxn0ihjLzNjLC2GGAxrZignHDgfSB2C','q0HjterFt1DorvjtseLqx1vos05pv04','q0HjterFuKvbreLorvntx01ju01bveni','CMvJzwL2zunVBNrYB2W','zxHWBg9Yzv9JB2rL','BM9KztPJCNLWDg8','Bxv0yxrPB25bBgXVD2vK','zMLUzf9JywXSzwvZ','C3rVCfjLCxvLC3rLza','z3jLCf9ZzwfYy2G','AxntywzLsw50zwDLCG','zgv0ywLS','uhjLCgfYzwqGy2fUzgLKyxrLihr1CgXLignOyw5Nzwq','CMvZB2X2zq','C2HHmJu2','B3bLCMf0Aw9Uqwn0AxzHDgLVBG','C3jJl2LUC3rHBgXLCI9YDw50Aw1LlwnOAwXKlMPZ','BgLZDgvU','uKvtt1vsq0vFuK9mtejbq0TFvu5dt05gsvjnruq','mtuYnZG1qMj4Cu5N','C2L6zq','zxbVy2G','C2v0lwDLBMvYyxrPB24','q2fUzgLKyxrLig9WzxjHDgLVBIbOyxmGysbZDgfSzsb3B3jRC3bHy2uGzxbVy2G','q09otKvdveLptL9ot1rFufjfuefsruq','B3v0Chv0rgvJB2rLCG','zxHWBgLJAxrxB3jRC3bHy2u','lI91CgrHDguTCMvXDwvZDa','CMvHzhKTBMv4Dc1JB25Uzwn0Aw9U','yMXVy2TLCG','y2HPBgrdB250CM9Sq2fWywjPBgL0AwvZ','mI4W','DgfYz2v0vMvYC2LVBG','D29YA3nWywnLlxjVBgXIywnR','AgfUzhnOywTLq29TCgXLDgu','z2f0zxDHEujPBMrPBMC','Aw5PDgLHBgL6zwq','CMvJB25Uzwn0lxjLCxvPCMvK','ANnVBNjWyW','yM9VDgLUzW','Dg9ju09tDhjPBMC','qurnsvntsu9ox1jftevbu0vFrKfjteve','zgvMzxjjzgvUDgL0Eq','zxHLy3v0B3juAw1LCG','CMvHzezPBgvtEw5J','zxjYB3i','B2zM','DhjHBNnPDgLVBG','mJmXme5Hzu1lta','uhjLDMLVDxmGCNvUDgLTzsbVD25LCNnOAxaGD2fZig5VDcbYzwnVDMvYzwq','CMvZB3vYy2uTD2fPDa','uNvUDgLTzsbJAgLSzcbJB250CM9SihrPBwvKig91Da','ChjLDMLVDxm','yM9VDfjLC29SDMu','y2XVC2vK','CMfUzg9Tvvvjra','AxnozxDnDxrHDgLVBG','Ag9ZDfnLC3nPB25jza','C3rVCc1MB3iTDxbKyxrL','q0HjterFu1rpuf9vtKnptKzjuK1fra','yM9VDeLKzw50Axr5','ywrTAxnZAw9Uq2XVC2vK','lMTLEq','B3bLBLn5BMm','CMvHBhbHDgHtEw5J','C2vJCMv0','y2HPBgrdBg9Zzwq','B25Jzq','BwfJ','Dg9tDhjPBMC','BM9Uy2u','Dg9VBhmVBgLZDa','zw5K','yxb0t3DUzxjZAgLW','zNjVEMvU','ChjLDMLVDxmTCMvZDg9Yzwq','CMvNAxn0zxjLze93BMvYC1n0B3bWzwq','DgfYz2v0rgLNzxn0','DgLJA2v0','CMvJzwLWDfbHDgG','lI4Vy29Yzs9Hzg1PC3nPB24TzMvUy2u','y29TBwL0DgvKvhjHBNnHy3rPB24','CMvSzwfZzq','zhjHAw5PBMC','ywrTAxnZAw9UlwnOzwnR','CgLWzwXPBMvFC3rHDhvZ','ywn0AxzL','Aw5JBhvKzxm','C2H1DgrVD25by2TUB3DSzwrNzwq','zgLYBMfTzq','yxnZzxj0u3rHCNr1CfjLywr5','y29TBwL0lwnHBMrPzgf0zq','mtq1ntq3neniwu9Atq','ywn0AxzHDgLVBKv2AwrLBMnL','DxrMoa','CMvZDg9Yzs1WCMv2Aw91CW','q0foreLeqvrfx1rvueXfx01ju01bveni','BgLZDgvUzxi','Dg9VBenHDgfSB2DiyxnO','D3jPDgu','uMvXDwvZDcbjrcbPCYbZDgLSBcbPBIbMBgLNAhq','CgLK','CgvYC2LZDenHBMrPzgf0zq','CNvUDgLTzq','y29TBwL0r2vUzxjHDgLVBG','CMvMCMvZAa','yMXVy2TLCNm','zMLUzgLUzY1YzxnVBhv0Aw9U','t1DorvjtseLqx1vos05pv04','CMvXDwLYzxnqCM9JzxnZrgLZCgf0y2G','BgvUz3rO','CgvUzgLUzY1ZywzLlwjVDw5Kyxj5','C2fMzujVDw5Kyxj5','tK9erv9pufrjt05t','CMvXDwLYzvn1ChbVCNrLze5Vzgu','BM9KztPVCW','yM9VDc1LCNjVCG','CMvZDg9Yzwq','y3jLyxrLsgfZAa','y2HHBMDLzef0','C2v0vgLTzw91Da','Dg9mB3DLCKnHC2u','qvbux1vqrefurv9qru5esu5hoIb3B3jRC3bHy2uGAxmGzNjVEMvU','Aw5PDgLHBgL6zunHBMrPzgf0zq','CMvJzwL2zuHVC3q','Cgf1C2u','CMvJywXS','q29UBMvJDgLVBLn1CgvYDMLZB3i','CM91DgvFCMvXDwvZDa','C3rKAw4','C3rHDgu','yM9VDfjLAMvJDa','zMLSztO','AxnszwfKt25SEvrVB2W','yM91BMq','y2HPBgrfBNzPCM9UBwvUDa','Aw5PDgLHBgL6zq','lMfNzw50CW','y2fUzgLKyxrLlxjLy292zxj5','D29YA3nWywnL','ywXSB3DLza','DhjHBNnWB3j0','Dw5HDMfPBgfIBgu','zMLUzf9JywXSzxjZ','CMvJzwL2zunOAwXK','y2fUzgLKyxrLugf0Aa','yM91BMrqAxbLBgLUzq','Aw52B2nHDgLVBKLK','Agv4','C3rVCfjLyxnVBG','Aw5WDxrcDwzMzxi','Dxb0Aw1L','lNrYyw5Zywn0Aw9UlMPZB24','Bw9KzwXFBgLZDa','y2f0ywXVz0HHC2G','C3rVCenVzgu','lI91CgrHDguTzxHLy3v0B3i','ywjVCNq','BM9KztPJAgLSzf9WCM9JzxnZ','qvbux1vqrefurv9qru5esu5hoIbUzxCGy29UBMvJDgLVBIbPCYb3ywL0Aw5NigzVCIb3B3jRC3bHy2uGCMvJB3zLCNK','ChjLCgfYzwruCMfUC2fJDgLVBG','y29UDhjVBenHBMrPzgf0zq','uNvUDgLTzsbsuemGDgLTzwqGB3v0','CMvJB3zLCKnHBMrPzgf0zq','CMvHC29U','q0HjterFu1rbuLrFveLnru9vva','y29Kzv9ZzwfYy2G','q2fUzgLKyxrLigLUAxrPywXPEMf0Aw9UigzHAwXLza','DxnLze5VBMnLCW','B3bLCMf0Aw9UC0vUywjSzwq','uNvUDgLTzsbJAgLSzcbKAwqGBM90igv4Axq','v09ss1nqqunfx0jjtKrjtKDFq09orKXjq1q','Dw5Yzwy','DgHLBG','z2v0','CNvUDgLTzs1JAgLSzc1JBg9Zzwq','CMvMCMvZAeLUDMvUDg9YEq','mZK3odGYnZzSB0vkuhq','BwvZC2fNzq','B3DUzxjZAgLWlxvUA25VD24','zhjHAw4','C3vWzxj2AxnVCLbYB2nLC3ntDgfYDa','r0furvDbwv9csu5esu5hx1jfuvvjuKve','ChjVyMvxB3jRC3bHy2vdB25Uzwn0Aw9UCW','CMvHzf9RBM93BgvKz2u','y2fUzgLKyxrL','lI4Vy29Yzs9VD25Lzc1WCM9JzxnZ','Bw9Kzq','z2vUzxjHDgLVBG','zw5HyMXLt3DUzwrpCgvYyxrPB25Z','CMvZDwX0','lNnVy2S','u1Djvenix0zbsuXfra','zgvSzxrL','BM90AwzPy2f0Aw9UCY9PBML0AwfSAxPLza','Cgf0Aa','CMvJB25JAwXLlxzLCMLMAwnHDgLVBG','q29TBwL0DgvKigDLBMvYyxrPB24GCMvXDwLYzxmGCM9SBcbMB3j3yxjK','y29Kzq','uNvUDgLTzsbJAgLSzcbPCYb1BMf2ywLSywjSzq','CMvXDwvZDeLK','y2fUzgLKyxrLlxjLywr5','q0HjterFuLbdx1rjtuvpvvq','q0HjterFvu5bvKfjtefcteu','yxr0zw1WDeLK','C3rVCenOAwXK','q0foreLeqvrfx0nptLrst0XFrKfjteve','D2f0y2Hqzw5KAw5NrxHLy3v0B3i','C3rHCNr1CefSBg93zwq','mZG3oeDXuvfTCq','y2XVC2vszwfZB24','ufjpq0vtu19uuKvfx1nut1bFvu5dt05gsvjnruq','zMfPBgvK','y2HPBgq','D29YA3nWywnLlxvWzgf0zq','y2HPBgrqAwq','BgvNywn5lw93BMvYC2HPCc11BNzLCMLMAwvK','BgLZDf9JB2rLx2zPBgvZ','D29YA3nWywnLlwjVDw5K','ufjpq0vtu19uuKvfx1nut1bFvu5dt05gsvjnruq6ihbYAw9Yihj1BNrPBwuGB3DUzxjZAgLWihjLCxvPCMvZihjLy292zxj5','D3jPDgviB3n0','D29YA3nWywnLrM9SzgvYCW','zw5KCg9PBNq','D29YA3nWywnLrNjVBuLUAxrPywXPEMu','zMXHzW','C3rKzxjY','mJmZmZDxqLvQr1u','yxb0lwnVBNrYB2WT','CMvJB3jK','y2XVC2LUzW','C3rHCNrqzw5KAw5NrxHLy3v0B3i','C2XPy2u','Aw5KzxHpzG','B3v0Chv0qNvMzMvY','BM90AwzPy2f0Aw9UCY8','C2vUza','y2HHBgXLBMDL','yM9VDa','y2XVC3vYzu1HyW','y29UBMvJDgLUzW','y2fWDhvYzvjLz2LZDhjHDgLVBNm','mtG4wxLgCfPS','B3bLCMf0Aw9UCY1LBMfIBgvK','BM9KztPMCW','yxb0lw1JCc0','DgvZDa','y2fUzgLKyxrLlwjVB3qTzMfPBgvK','DMvYC2LVBG','qurnsvntsu9ox0nptKzmsunu','qvbux0nptK5fq1rjt05Fsuq','C2vJCMv0ugf0Aa','lNrTCa','y3DK','lI4Vy29Yzs93B3jRC3bHy2uTz2vUzxjHDgLVBG','y29UDhjVBenHCgfIAwXPDgLLCW','uMvNAxn0zxjLzcbVD25LCIbZAhv0zg93BIb3yxmGBM90ignVBMzPCM1Lza','uNvUDgLTzsbYzwfKAw5LC3mGDhvWBguGzg9LCYbUB3qGBwf0y2GGy2fUzgLKyxrL','y3jLyxrLu2vYDMvY','AwrLBNrPDhK','D3jPDgvgAwXLu3LUyW','DhLWzq','ChvIBgLJs2v5','q2HPBgqGB3DUzxjZAgLWigLZihvUA25VD24','lI4Vy29Yzs9UB2rLlxzLCNnPB24','v09ss1nqqunfx1jfq09wrvjzx1jfuvvjuKve','r0vorvjbveLptL9srunpvKvswv9nsvnnqvrdsa','zgf0yq','BMfTzq','DgLJA2v0CW','lI9YDw50Aw1Llxn0B3jL','CM9VDfvYAq','lI9YzwDPC3rYyxrPB24Ty2XVC3vYzq','zw5HyMXLlw93BMvKlw9WzxjHDgLVBNm','q0HjterFrvHjvf9usu1ft1vu','AM9PBG','l3bYB2mVC3LZl2TLCM5LBc9Yyw5KB20VyM9VDf9Pza','rvHfq1vut1jFu1rbuLrFrKfjteve'];_0xc45c=function(){return _0x38d5ff;};return _0xc45c();}const fs=require(_0x237898(0x203)),os=require(_0x237898(0x30c)),path=require('node:path'),crypto=require(_0x237898(0x29e)),net=require(_0x237898(0x25e)),{spawn}=require(_0x237898(0x1ae)),{StringDecoder}=require('node:string_decoder'),{processIdentity,captureOwnedChild,attachOwnedJob,stopOwnedChild}=require(_0x237898(0x1ca)),{verifyRelease}=require(_0x237898(0x21d)),{acquireRuntimeLock}=require('../core/owned-lock'),{readFence,changeFence,withAdmissionLock,saveLocked,finishOperation}=require(_0x237898(0x2e9)),{verifyEnvelope}=require('../core/ipc-envelope'),{registerMember,closeMember,readGeneration,projectGeneration,acknowledgeGeneration,joinServingGeneration}=require(_0x237898(0x20d)),hash=_0x522fcb=>crypto[_0x237898(0x30f)](_0x237898(0x2a7))[_0x237898(0x294)](_0x522fcb)[_0x237898(0x245)](_0x237898(0x32d)),atomic=(_0x41234a,_0x4eefba)=>{const _0x54d49e=_0x237898,_0x2f3bff={};_0x2f3bff[_0x54d49e(0x261)]=!![],fs[_0x54d49e(0x290)](path[_0x54d49e(0x2f2)](_0x41234a),_0x2f3bff);const _0x2da021=_0x41234a+'.'+crypto[_0x54d49e(0x2d0)]()+_0x54d49e(0x20b),_0x4b6a88=fs[_0x54d49e(0x2d8)](_0x2da021,'wx',0x180);try{fs[_0x54d49e(0x213)](_0x4b6a88,JSON['stringify'](_0x4eefba)),fs[_0x54d49e(0x255)](_0x4b6a88);}finally{fs[_0x54d49e(0x293)](_0x4b6a88);}fs[_0x54d49e(0x22e)](_0x2da021,_0x41234a);},same=(_0x486de8,_0x4e1de4)=>process[_0x237898(0x295)]===_0x237898(0x286)?_0x486de8[_0x237898(0x312)]()===_0x4e1de4[_0x237898(0x312)]():_0x486de8===_0x4e1de4,messageId=_0x3e903d=>JSON[_0x237898(0x247)](_0x3e903d),waitChildClosed=(_0x5b32a9,_0x6baa87=0x1388)=>new Promise((_0x501b3b,_0x3277ec)=>{const _0x30c558=_0x237898;if(_0x5b32a9['closed'])return _0x501b3b();const _0x19cf88=setTimeout(()=>{const _0x45c493=_0x4c71;_0x5b32a9[_0x45c493(0x2c7)](_0x45c493(0x25c),_0xb25ecd);const _0x11cf5f={};_0x11cf5f[_0x45c493(0x1d6)]=_0x45c493(0x221),_0x3277ec(Object[_0x45c493(0x283)](new Error(_0x45c493(0x1ba)),_0x11cf5f));},_0x6baa87),_0xb25ecd=()=>{clearTimeout(_0x19cf88),_0x501b3b();};_0x5b32a9[_0x30c558(0x2dc)](_0x30c558(0x25c),_0xb25ecd);});function _0x4c71(_0x10b043,_0x40c230){_0x10b043=_0x10b043-0x1a6;const _0xc45cbe=_0xc45c();let _0x4c71a6=_0xc45cbe[_0x10b043];if(_0x4c71['MjBNkb']===undefined){var _0x5a8351=function(_0x2a3e07){const _0xa3aef2='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3da858='',_0x558fd2='';for(let _0x5dd6ce=0x0,_0x10a518,_0x40b99f,_0x1eb635=0x0;_0x40b99f=_0x2a3e07['charAt'](_0x1eb635++);~_0x40b99f&&(_0x10a518=_0x5dd6ce%0x4?_0x10a518*0x40+_0x40b99f:_0x40b99f,_0x5dd6ce++%0x4)?_0x3da858+=String['fromCharCode'](0xff&_0x10a518>>(-0x2*_0x5dd6ce&0x6)):0x0){_0x40b99f=_0xa3aef2['indexOf'](_0x40b99f);}for(let _0x5ed23a=0x0,_0x5d9831=_0x3da858['length'];_0x5ed23a<_0x5d9831;_0x5ed23a++){_0x558fd2+='%'+('00'+_0x3da858['charCodeAt'](_0x5ed23a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x558fd2);};_0x4c71['MtiFaL']=_0x5a8351,_0x4c71['QEejey']={},_0x4c71['MjBNkb']=!![];}const _0x2bc465=_0xc45cbe[0x0],_0x5158b2=_0x10b043+_0x2bc465,_0x1459d1=_0x4c71['QEejey'][_0x5158b2];return!_0x1459d1?(_0x4c71a6=_0x4c71['MtiFaL'](_0x4c71a6),_0x4c71['QEejey'][_0x5158b2]=_0x4c71a6):_0x4c71a6=_0x1459d1,_0x4c71a6;}class ConnectionSupervisor{constructor(_0xd73afe={}){const _0x1e0d71=_0x237898;this[_0x1e0d71(0x24b)]=fs[_0x1e0d71(0x2d9)](_0xd73afe[_0x1e0d71(0x24b)]),this[_0x1e0d71(0x2eb)]=fs['realpathSync'](_0xd73afe['release']),this[_0x1e0d71(0x215)]=_0xd73afe[_0x1e0d71(0x215)],this[_0x1e0d71(0x31a)]=_0xd73afe[_0x1e0d71(0x31a)]||process[_0x1e0d71(0x31a)],this[_0x1e0d71(0x279)]=_0xd73afe[_0x1e0d71(0x279)]||process['stdout'],this[_0x1e0d71(0x1f1)]=_0xd73afe[_0x1e0d71(0x1f1)]||process[_0x1e0d71(0x1f1)],this[_0x1e0d71(0x324)]=fs[_0x1e0d71(0x2d9)](_0xd73afe[_0x1e0d71(0x324)]||process[_0x1e0d71(0x20c)]()),this['explicitWorkspace']=_0xd73afe['explicitWorkspace']===!![],this[_0x1e0d71(0x272)]=require(_0x1e0d71(0x21f))[_0x1e0d71(0x200)](this),this[_0x1e0d71(0x2bc)]=_0xd73afe[_0x1e0d71(0x2bc)]||null,this[_0x1e0d71(0x320)]=_0xd73afe[_0x1e0d71(0x320)]||{},this[_0x1e0d71(0x23a)]=_0xd73afe[_0x1e0d71(0x23a)]||crypto[_0x1e0d71(0x2d0)](),this['processStartedAt']=new Date(Date['now']()-process[_0x1e0d71(0x1a7)]()*0x3e8)['toISOString']();try{this[_0x1e0d71(0x1c5)]=processIdentity(process[_0x1e0d71(0x2fe)])?.['start']||null;}catch{this['supervisorProcessStart']=null;}this['bootIdentity']=process['platform']===_0x1e0d71(0x244)?fs[_0x1e0d71(0x2c5)](_0x1e0d71(0x223),_0x1e0d71(0x2f7))[_0x1e0d71(0x25d)]():null,this[_0x1e0d71(0x2da)]=crypto[_0x1e0d71(0x28f)](0x20),this[_0x1e0d71(0x1b8)]=new Set(),this['generation']=0x0,this[_0x1e0d71(0x1e5)]=null,this[_0x1e0d71(0x212)]=null,this[_0x1e0d71(0x27f)]=new Map(),this[_0x1e0d71(0x250)]=new Map(),this['inputBuffer']='',this['inputChain']=Promise[_0x1e0d71(0x2a6)](),this[_0x1e0d71(0x1f9)]='',this['outputDecoder']=new StringDecoder('utf8'),this[_0x1e0d71(0x321)]=null,this[_0x1e0d71(0x2bb)]=![],this[_0x1e0d71(0x2bd)]=![],this[_0x1e0d71(0x2fb)]=null,this['admissionClosed']=![];const _0x522074={};_0x522074[_0x1e0d71(0x1e0)]=!![],_0x522074[_0x1e0d71(0x29f)]=!![],_0x522074[_0x1e0d71(0x236)]=_0x1e0d71(0x23b),this[_0x1e0d71(0x275)]=_0x522074,this['transition']=null,this['stopped']=![],this['activation']=_0x1e0d71(0x1ff),this[_0x1e0d71(0x1c9)]=null,this[_0x1e0d71(0x1ee)]=process[_0x1e0d71(0x295)]===_0x1e0d71(0x286)?'\x5c\x5c.\x5cpipe\x5capt-mcp-'+hash(this[_0x1e0d71(0x23a)])[_0x1e0d71(0x1f7)](0x0,0x18):path[_0x1e0d71(0x222)](os[_0x1e0d71(0x24d)](),_0x1e0d71(0x204)+hash(this[_0x1e0d71(0x23a)])[_0x1e0d71(0x1f7)](0x0,0x18)+_0x1e0d71(0x1cf));}get[_0x237898(0x2e8)](){const _0x2a1a7d=_0x237898;return path['join'](this[_0x2a1a7d(0x324)],_0x2a1a7d(0x322),'runtime','connections',this['connectionId']+'.json');}get['secretPath'](){const _0x4ad5f1=_0x237898;return path[_0x4ad5f1(0x222)](this[_0x4ad5f1(0x324)],_0x4ad5f1(0x322),'runtime','connections','.secrets',this[_0x4ad5f1(0x23a)]+_0x4ad5f1(0x2d7));}get[_0x237898(0x32a)](){const _0x101321=_0x237898;return path['join'](this['workspace'],_0x101321(0x28d),this[_0x101321(0x23a)]+_0x101321(0x1a8));}[_0x237898(0x2ff)](){const _0x5b7782=_0x237898;atomic(this['candidatePath'],{'connectionId':this[_0x5b7782(0x23a)],'supervisorPid':process[_0x5b7782(0x2fe)],'workspace':this['workspace'],'runtimeRoot':this[_0x5b7782(0x24b)],'candidate':this[_0x5b7782(0x1c9)]});}[_0x237898(0x1b3)](_0x2e55b9){const _0x69b82f=_0x237898;if(this[_0x69b82f(0x1c9)])return;let _0x688143;try{_0x688143=JSON['parse'](fs[_0x69b82f(0x2c5)](this[_0x69b82f(0x32a)],'utf8'));}catch(_0x1ee6c4){if(_0x1ee6c4['code']==='ENOENT')return;throw _0x1ee6c4;}if(_0x688143['connectionId']!==this[_0x69b82f(0x23a)]||_0x688143[_0x69b82f(0x256)]!==process[_0x69b82f(0x2fe)]||!same(_0x688143[_0x69b82f(0x324)],this['workspace'])||!same(_0x688143[_0x69b82f(0x24b)],this[_0x69b82f(0x24b)])||_0x688143[_0x69b82f(0x1c9)]?.[_0x69b82f(0x27d)]!==_0x2e55b9)return;this['candidate']=_0x688143['candidate'];}['commitGeneration'](){const _0x37224b=_0x237898,_0x3bcb25=joinServingGeneration(this['workspace'],{'connectionId':this[_0x37224b(0x23a)],'supervisorPid':process[_0x37224b(0x2fe)],'childPid':this[_0x37224b(0x1e5)]?.[_0x37224b(0x2fe)],'version':this[_0x37224b(0x212)][_0x37224b(0x207)],'digest':this[_0x37224b(0x212)]['digest'],'resourceDigest':this['resourceDigest']});this[_0x37224b(0x1cc)]=_0x3bcb25['generation'],projectGeneration(this[_0x37224b(0x24b)],this[_0x37224b(0x324)],_0x3bcb25);if(this[_0x37224b(0x1e5)]?.['connected'])this[_0x37224b(0x1e5)]['send']({'type':_0x37224b(0x2af),'generation':this['generation']});this[_0x37224b(0x1f4)]();}[_0x237898(0x1f4)](_0xfe645d={}){const _0x493b4b=_0x237898,_0x1dcbab={'connectionId':this[_0x493b4b(0x23a)],'workspace':this['workspace'],'runtimeRoot':this[_0x493b4b(0x24b)],'endpoint':this[_0x493b4b(0x1ee)],'secretFile':this[_0x493b4b(0x20a)],'supervisorPid':process[_0x493b4b(0x2fe)],'childPid':this['child']?.[_0x493b4b(0x2fe)]||null,'version':this[_0x493b4b(0x212)]?.[_0x493b4b(0x207)]||null,'digest':this[_0x493b4b(0x212)]?.[_0x493b4b(0x245)]||null,'resourceDigest':this['resourceDigest']||null,'generation':this['generation'],'catalogHash':this[_0x493b4b(0x2fb)]||null,'supervisorProtocol':0x2,'processStartedAt':this['processStartedAt'],'supervisorProcessStart':this[_0x493b4b(0x1c5)],'childProcessStart':this[_0x493b4b(0x1e5)]?.['pid']?((()=>{const _0x51d943=_0x493b4b;try{return processIdentity(this['child']['pid'])?.[_0x51d943(0x226)]||null;}catch{return null;}})()):null,'processIdentitySource':'runtime-self-observed','bootIdentity':this[_0x493b4b(0x2d5)],'shutdownEvidence':this[_0x493b4b(0x262)]||null,'startupStatus':this[_0x493b4b(0x275)][_0x493b4b(0x236)],'provisional':!this['handshakeComplete'],'lastSeen':new Date()['toISOString'](),'activation':this['activation'],'serving':this[_0x493b4b(0x1e5)]?.[_0x493b4b(0x23b)]===!![]&&!this[_0x493b4b(0x269)],'closed':this[_0x493b4b(0x269)],'observedAt':new Date()['toISOString'](),..._0xfe645d};if(this[_0x493b4b(0x269)])_0x1dcbab[_0x493b4b(0x1fe)]=crypto[_0x493b4b(0x27a)]('sha256',this[_0x493b4b(0x2da)])[_0x493b4b(0x294)](JSON[_0x493b4b(0x247)](_0x1dcbab))['digest'](_0x493b4b(0x32d));atomic(this[_0x493b4b(0x2e8)],_0x1dcbab);}[_0x237898(0x284)](_0x5c3506){const _0x50a02b=_0x237898,_0x3ff9db=fs['realpathSync'](_0x5c3506);if(same(_0x3ff9db,this[_0x50a02b(0x324)]))return;const _0x57b986={};_0x57b986[_0x50a02b(0x1d6)]=_0x50a02b(0x1bb);if(this[_0x50a02b(0x2b3)]||this[_0x50a02b(0x1e5)])throw Object[_0x50a02b(0x283)](new Error('Connection\x20workspace\x20cannot\x20change\x20after\x20binding'),_0x57b986);const _0x24a7de=this[_0x50a02b(0x2e8)],_0x239cce=this['secretPath'];closeMember(this[_0x50a02b(0x324)],this[_0x50a02b(0x23a)],process[_0x50a02b(0x2fe)],!![]),this[_0x50a02b(0x324)]=_0x3ff9db;const _0x1efc12=registerMember(this[_0x50a02b(0x324)],{'connectionId':this[_0x50a02b(0x23a)],'supervisorPid':process[_0x50a02b(0x2fe)],'runtimeRoot':this[_0x50a02b(0x24b)]});this['admissionClosed']=_0x1efc12[_0x50a02b(0x31b)]===_0x50a02b(0x22f);const _0x4fecf3={};_0x4fecf3['recursive']=!![],fs['mkdirSync'](path[_0x50a02b(0x2f2)](this[_0x50a02b(0x20a)]),_0x4fecf3);const _0x491f73={};_0x491f73[_0x50a02b(0x1f0)]='wx',_0x491f73[_0x50a02b(0x1cb)]=0x180,fs[_0x50a02b(0x213)](this[_0x50a02b(0x20a)],this[_0x50a02b(0x2da)],_0x491f73);const _0x2603cc={};_0x2603cc[_0x50a02b(0x23a)]=this[_0x50a02b(0x23a)],_0x2603cc['serving']=![],_0x2603cc['activation']='workspace-rebound',atomic(_0x24a7de,_0x2603cc);try{fs[_0x50a02b(0x27e)](_0x239cce);}catch{}this[_0x50a02b(0x1f4)]();}async['start'](){const _0xab4ec4=_0x237898;require(_0xab4ec4(0x217))[_0xab4ec4(0x30b)](),verifyRelease(this[_0xab4ec4(0x2eb)],this['publicKey']);const _0x1b2137=registerMember(this['workspace'],{'connectionId':this[_0xab4ec4(0x23a)],'supervisorPid':process['pid'],'runtimeRoot':this['runtimeRoot']});this[_0xab4ec4(0x2d6)]=_0x1b2137[_0xab4ec4(0x31b)]===_0xab4ec4(0x22f);const _0x10926e={};_0x10926e[_0xab4ec4(0x261)]=!![],fs[_0xab4ec4(0x290)](path[_0xab4ec4(0x2f2)](this['secretPath']),_0x10926e);const _0x4db700={};return _0x4db700['flag']='wx',_0x4db700[_0xab4ec4(0x1cb)]=0x180,fs['writeFileSync'](this['secretPath'],this[_0xab4ec4(0x2da)],_0x4db700),this[_0xab4ec4(0x2fa)]=net[_0xab4ec4(0x211)](_0x5ac76e=>{const _0x16339d=_0xab4ec4;let _0x40c389='',_0x147428=![];_0x5ac76e[_0x16339d(0x311)](0x1fbd0,()=>_0x5ac76e['destroy']()),_0x5ac76e['on'](_0x16339d(0x21a),_0x4aec55=>{const _0x5c8745=_0x16339d;_0x40c389+=_0x4aec55;if(Buffer[_0x5c8745(0x28e)](_0x40c389)>0x2*0x400*0x400)return _0x5ac76e[_0x5c8745(0x265)]();const _0x17d365=_0x40c389[_0x5c8745(0x1f8)]('\x0a');if(_0x17d365<0x0)return;if(_0x147428)return _0x5ac76e[_0x5c8745(0x265)]();_0x147428=!![];let _0x294079;try{_0x294079=JSON[_0x5c8745(0x274)](_0x40c389[_0x5c8745(0x1f7)](0x0,_0x17d365));}catch{return _0x5ac76e['destroy']();}if(!['challenge','prepare',_0x5c8745(0x25a),'activate',_0x5c8745(0x1ad),_0x5c8745(0x2d3),'prepare-candidate',_0x5c8745(0x2f4),_0x5c8745(0x2f8),_0x5c8745(0x227),'gateway-binding'][_0x5c8745(0x2f0)](_0x294079['type'])||!verifyEnvelope(this[_0x5c8745(0x2da)],_0x294079,this['usedNonces'],this['connectionId']))return _0x5ac76e[_0x5c8745(0x265)]();const _0x49aec1=_0x2da851=>{const _0x91d8f7=_0x5c8745,_0x429907={'nonce':_0x294079[_0x91d8f7(0x2df)],'connectionId':this[_0x91d8f7(0x23a)],'workspace':this['workspace'],'supervisorPid':process[_0x91d8f7(0x2fe)],'childPid':this[_0x91d8f7(0x1e5)]?.[_0x91d8f7(0x2fe)]||null,'generation':this['generation'],'version':this[_0x91d8f7(0x212)]?.[_0x91d8f7(0x207)]||null,'digest':this[_0x91d8f7(0x212)]?.['digest']||null,'resourceDigest':this[_0x91d8f7(0x26b)]||null,'catalogHash':this['toolCatalogHash']||null,'shutdownEvidence':this['shutdownEvidence']||null,'controlCapabilities':this[_0x91d8f7(0x2b7)]||[],'activation':this[_0x91d8f7(0x259)],'serving':this['child']?.[_0x91d8f7(0x23b)]===!![]&&!this[_0x91d8f7(0x269)],..._0x2da851},_0x3f29fa=_0x429907;_0x3f29fa[_0x91d8f7(0x2dd)]=crypto[_0x91d8f7(0x27a)]('sha256',this[_0x91d8f7(0x2da)])[_0x91d8f7(0x294)](JSON['stringify'](_0x3f29fa))[_0x91d8f7(0x245)]('hex'),_0x5ac76e['end'](JSON[_0x91d8f7(0x247)](_0x3f29fa)+'\x0a');};if(_0x294079['type']===_0x5c8745(0x1fc))return _0x49aec1({});const _0xbc4c84={};_0xbc4c84[_0x5c8745(0x236)]=_0x5c8745(0x327),_0xbc4c84[_0x5c8745(0x1d6)]=_0x5c8745(0x1c6);if(_0x294079[_0x5c8745(0x214)]===_0x5c8745(0x27b))return _0x49aec1(this[_0x5c8745(0x2bc)]&&this['child']?.[_0x5c8745(0x23b)]&&!this['stopped']?{'status':_0x5c8745(0x31f),'binding':this['gatewayBinding']}:_0xbc4c84);if(_0x294079[_0x5c8745(0x214)]===_0x5c8745(0x227)){const _0x4e1d59={};_0x4e1d59[_0x5c8745(0x236)]=_0x5c8745(0x1e4),_0x4e1d59[_0x5c8745(0x1d6)]=_0x5c8745(0x235);if(readFence(this[_0x5c8745(0x324)])[_0x5c8745(0x31b)]===_0x5c8745(0x2e3)||!this[_0x5c8745(0x1e5)]?.['ready'])return _0x49aec1(_0x4e1d59);const _0x4cdd3e={};_0x4cdd3e[_0x5c8745(0x230)]=_0x294079[_0x5c8745(0x251)],void this[_0x5c8745(0x273)](_0x5c8745(0x26e),_0x4cdd3e)[_0x5c8745(0x1bd)](_0x3786e4=>_0x49aec1(_0x3786e4))['catch'](_0x39b62e=>_0x49aec1({'status':_0x5c8745(0x1e4),'code':_0x39b62e[_0x5c8745(0x1d6)]||_0x5c8745(0x235)}));return;}if([_0x5c8745(0x2d3),'prepare-candidate',_0x5c8745(0x2f4),'restore-previous'][_0x5c8745(0x2f0)](_0x294079[_0x5c8745(0x214)])){void this['controlCandidate'](_0x294079)[_0x5c8745(0x1bd)](_0x49aec1)[_0x5c8745(0x237)](_0x413861=>_0x49aec1({'status':_0x5c8745(0x1e4),'code':_0x413861[_0x5c8745(0x1d6)]||_0x5c8745(0x1de)}));return;}if(_0x294079[_0x5c8745(0x214)]===_0x5c8745(0x1ad)){const _0xe45bf9={};_0xe45bf9[_0x5c8745(0x236)]=_0x5c8745(0x1e4),_0xe45bf9[_0x5c8745(0x1d6)]=_0x5c8745(0x218);if(this['candidate']&&!this['candidate'][_0x5c8745(0x30e)]||readFence(this[_0x5c8745(0x324)])['state']===_0x5c8745(0x2e3))return _0x49aec1(_0xe45bf9);const _0x42df59={};_0x42df59[_0x5c8745(0x236)]=_0x5c8745(0x308),_0x42df59[_0x5c8745(0x1d6)]=_0x5c8745(0x257);if(this[_0x5c8745(0x2c8)])return _0x49aec1(_0x42df59);this[_0x5c8745(0x2d6)]=![];this[_0x5c8745(0x1c9)]?.['restored']&&(this[_0x5c8745(0x1c9)]=null,this[_0x5c8745(0x2ff)]());this[_0x5c8745(0x259)]=this['child']?.[_0x5c8745(0x23b)]?_0x5c8745(0x2ef):'ready-next-connection',this[_0x5c8745(0x1f4)]();const _0x196e5a={};return _0x196e5a[_0x5c8745(0x236)]=this[_0x5c8745(0x259)],_0x49aec1(_0x196e5a);}if(_0x294079[_0x5c8745(0x214)]===_0x5c8745(0x278)){this[_0x5c8745(0x2d6)]=!![],this[_0x5c8745(0x259)]='pending-safe-boundary',this[_0x5c8745(0x1f4)](),void this[_0x5c8745(0x309)]()['then'](_0x8a6390=>_0x49aec1({'status':_0x8a6390[_0x5c8745(0x307)]?'pending-safe-boundary':'safe-boundary','blockers':_0x8a6390}))['catch'](_0xa7a68d=>_0x49aec1({'status':_0x5c8745(0x1e4),'code':_0xa7a68d[_0x5c8745(0x1d6)]||_0x5c8745(0x305)}));return;}if(_0x294079[_0x5c8745(0x214)]===_0x5c8745(0x25a)){const _0x4f471b=readFence(this[_0x5c8745(0x324)]),_0x478ffd={};_0x478ffd['status']=_0x5c8745(0x1e4),_0x478ffd['code']='ADMISSION_CONFLICT';if(_0x4f471b[_0x5c8745(0x31b)]!=='draining'||!_0x4f471b[_0x5c8745(0x2a1)]||_0x4f471b['transactionId']!==_0x294079['transactionId']||_0x4f471b[_0x5c8745(0x2ae)]!==_0x294079[_0x5c8745(0x2ae)]||_0x4f471b[_0x5c8745(0x2b9)]!==_0x294079[_0x5c8745(0x207)]||_0x4f471b[_0x5c8745(0x2e6)]!==_0x294079['digest'])return _0x49aec1(_0x478ffd);this[_0x5c8745(0x2d6)]=!![],this[_0x5c8745(0x259)]=_0x5c8745(0x308),this['record'](),void this['requestChild'](_0x5c8745(0x25a),{..._0x294079[_0x5c8745(0x297)],'transactionId':_0x294079[_0x5c8745(0x27d)],'epoch':_0x294079['epoch'],'version':_0x294079[_0x5c8745(0x207)],'digest':_0x294079[_0x5c8745(0x245)],'requestsPending':this[_0x5c8745(0x27f)][_0x5c8745(0x2ad)]},0x3a98)[_0x5c8745(0x1bd)](_0x49aec1)['catch'](_0x2852ea=>_0x49aec1({'status':_0x5c8745(0x1e4),'code':_0x2852ea[_0x5c8745(0x1d6)]||'WORKER_STOP_UNCONFIRMED'}));return;}const _0xcc9bbb={};_0xcc9bbb[_0x5c8745(0x236)]='failed',_0xcc9bbb[_0x5c8745(0x1d6)]=_0x5c8745(0x271);if(!/^[0-9]+\.[0-9]+\.[0-9]+$/[_0x5c8745(0x205)](_0x294079['version']||'')||!/^[a-f0-9]{64}$/[_0x5c8745(0x205)](_0x294079['digest']||'')||!this[_0x5c8745(0x2d6)])return _0x49aec1(_0xcc9bbb);const _0x434606=path[_0x5c8745(0x222)](this['runtimeRoot'],_0x5c8745(0x266),_0x294079[_0x5c8745(0x207)]+'-'+_0x294079['digest']);void this[_0x5c8745(0x253)](_0x434606,Math['max'](0x0,Math['min'](0x78,Number(_0x294079['waitSeconds'])||0x0)))['then'](_0x44c476=>_0x49aec1(_0x44c476))[_0x5c8745(0x237)](_0x400f74=>_0x49aec1({'status':_0x5c8745(0x1e4),'code':_0x400f74[_0x5c8745(0x1d6)]||_0x5c8745(0x1d0)}));});}),await new Promise((_0x34be9d,_0x592e69)=>this[_0xab4ec4(0x2fa)][_0xab4ec4(0x2dc)](_0xab4ec4(0x2c6),_0x592e69)[_0xab4ec4(0x2aa)](this['endpoint'],_0x34be9d)),this[_0xab4ec4(0x1f4)](),this[_0xab4ec4(0x31a)]['on'](_0xab4ec4(0x21a),_0x1f7c52=>this[_0xab4ec4(0x315)](_0x1f7c52)),this[_0xab4ec4(0x31a)]['on'](_0xab4ec4(0x2e1),()=>void this['close'](_0xab4ec4(0x268))),this[_0xab4ec4(0x31a)]['on'](_0xab4ec4(0x2c6),()=>void this[_0xab4ec4(0x25c)](_0xab4ec4(0x233))),this[_0xab4ec4(0x1df)](),this;}[_0x237898(0x1df)](_0x5722d4=0x1388){const _0x2e25d3=_0x237898;clearTimeout(this[_0x2e25d3(0x2c4)]);const _0x2933f8=async()=>{const _0x371623=_0x2e25d3;if(this['stopped']||this[_0x371623(0x1f5)])return;const _0x1e6d0f=this[_0x371623(0x324)];try{await require(_0x371623(0x1ac))[_0x371623(0x1f6)](_0x1e6d0f,this[_0x371623(0x215)]);}catch(_0x21419f){const _0x417ac3={};_0x417ac3['updateBlocker']=_0x21419f[_0x371623(0x1d6)]||_0x371623(0x224);if(this[_0x371623(0x324)]===_0x1e6d0f&&!this[_0x371623(0x269)]&&!this[_0x371623(0x1f5)])this[_0x371623(0x1f4)](_0x417ac3);}!this[_0x371623(0x269)]&&!this[_0x371623(0x1f5)]&&(this[_0x371623(0x2c4)]=setTimeout(_0x2933f8,_0x5722d4),this[_0x371623(0x2c4)][_0x371623(0x1bc)]());};void _0x2933f8();}[_0x237898(0x1ef)](_0x4366e1){const _0xda29b9=_0x237898,_0x3fedbb=_0x4366e1[_0xda29b9(0x25f)]||{},_0x1e14f8=_0x3fedbb[_0xda29b9(0x1ed)]?.[0x0],_0x4d9a99=_0x1e14f8?.[_0xda29b9(0x1d3)]||_0x1e14f8?.['uri']||_0x3fedbb[_0xda29b9(0x270)]||_0x3fedbb[_0xda29b9(0x21e)];if(!_0x4d9a99)return this['workspace'];try{const _0x58a6e1=_0x4d9a99[_0xda29b9(0x27c)](_0xda29b9(0x31d))?require(_0xda29b9(0x243))['fileURLToPath'](_0x4d9a99):_0x4d9a99;return fs[_0xda29b9(0x2d9)](_0x58a6e1);}catch{return this[_0xda29b9(0x324)];}}[_0x237898(0x315)](_0x57d370){const _0x31b1b5=_0x237898;this[_0x31b1b5(0x1a6)]+=_0x57d370[_0x31b1b5(0x2de)](_0x31b1b5(0x2f7));if(this['inputBuffer'][_0x31b1b5(0x307)]>0x8*0x400*0x400)return void this[_0x31b1b5(0x25c)](_0x31b1b5(0x22c));let _0x25e31e;while((_0x25e31e=this[_0x31b1b5(0x1a6)][_0x31b1b5(0x1f8)]('\x0a'))>=0x0){const _0x12e8a2=this['inputBuffer'][_0x31b1b5(0x1f7)](0x0,_0x25e31e);this['inputBuffer']=this[_0x31b1b5(0x1a6)][_0x31b1b5(0x1f7)](_0x25e31e+0x1);if(!_0x12e8a2[_0x31b1b5(0x25d)]())continue;let _0x2d74f7;try{_0x2d74f7=JSON[_0x31b1b5(0x274)](_0x12e8a2);}catch{const _0xaf5666={};_0xaf5666[_0x31b1b5(0x1d6)]=-0x7fbc,_0xaf5666[_0x31b1b5(0x1c2)]=_0x31b1b5(0x26c);const _0x5da399={};_0x5da399[_0x31b1b5(0x2bf)]='2.0',_0x5da399['id']=null,_0x5da399[_0x31b1b5(0x2c6)]=_0xaf5666,this[_0x31b1b5(0x1ec)](_0x5da399);continue;}this[_0x31b1b5(0x242)]=this[_0x31b1b5(0x242)][_0x31b1b5(0x1bd)](()=>this[_0x31b1b5(0x225)](_0x2d74f7,_0x12e8a2))[_0x31b1b5(0x237)](_0x4b68e7=>{const _0x6ff371=_0x31b1b5,_0x1fb309={};_0x1fb309[_0x6ff371(0x1d6)]=-0x7f5b,_0x1fb309[_0x6ff371(0x1c2)]=_0x4b68e7[_0x6ff371(0x1d6)]||_0x6ff371(0x228);if(_0x2d74f7['id']!==undefined)this[_0x6ff371(0x1ec)]({'jsonrpc':_0x6ff371(0x2b8),'id':_0x2d74f7['id'],'error':_0x1fb309});});}}async[_0x237898(0x225)](_0x56fbad,_0x4123fe){const _0x316310=_0x237898;if(this[_0x316310(0x269)])return;if(!_0x56fbad[_0x316310(0x239)])return;if(this[_0x316310(0x1e5)]?.[_0x316310(0x2cf)]&&this[_0x316310(0x259)]==='legacy-ownership-unverified'){const _0x2629d3={};_0x2629d3['code']=-0x7d02,_0x2629d3[_0x316310(0x1c2)]=_0x316310(0x1eb);if(_0x56fbad['id']!==undefined)this[_0x316310(0x1ec)]({'jsonrpc':_0x316310(0x2b8),'id':_0x56fbad['id'],'error':_0x2629d3});return;}if(!this[_0x316310(0x1e5)]&&_0x56fbad['method']==='initialize')this['rebindWorkspace'](this[_0x316310(0x1ef)](_0x56fbad));const _0x4f89a0=readFence(this[_0x316310(0x324)]),_0x3d468f=require(_0x316310(0x2b4))[_0x316310(0x2f3)](this[_0x316310(0x324)]);this[_0x316310(0x275)]=_0x3d468f;if(_0x4f89a0['state']==='frozen'&&_0x3d468f['mutationAllowed']){const _0x4bf298={};_0x4bf298[_0x316310(0x1d6)]=-0x7d01,_0x4bf298[_0x316310(0x1c2)]=_0x316310(0x313);if(_0x56fbad['id']!==undefined)this[_0x316310(0x1ec)]({'jsonrpc':_0x316310(0x2b8),'id':_0x56fbad['id'],'error':_0x4bf298});return;}if(!this['child']&&_0x4f89a0[_0x316310(0x31b)]!=='open'&&_0x3d468f['mutationAllowed']){const _0x4d51d5={};_0x4d51d5[_0x316310(0x1d6)]=-0x7d01,_0x4d51d5['message']=_0x316310(0x1af);if(_0x56fbad['id']!==undefined)this[_0x316310(0x1ec)]({'jsonrpc':_0x316310(0x2b8),'id':_0x56fbad['id'],'error':_0x4d51d5});return;}if(!this[_0x316310(0x1e5)]){if(_0x56fbad['method']!==_0x316310(0x321)){const _0x232b07={};_0x232b07['code']=-0x7d02,_0x232b07[_0x316310(0x1c2)]='APT_RECONNECT_REQUIRED:\x20runtime\x20child\x20stopped;\x20initialize\x20a\x20new\x20MCP\x20session';if(_0x56fbad['id']!==undefined)this['writeHost']({'jsonrpc':_0x316310(0x2b8),'id':_0x56fbad['id'],'error':_0x232b07});return;}const _0x2e0462=readGeneration(this[_0x316310(0x324)]);if(_0x2e0462){const _0x446c54=path['join'](this[_0x316310(0x24b)],'releases',_0x2e0462[_0x316310(0x207)]+'-'+_0x2e0462[_0x316310(0x245)]),_0x44bdd9=verifyRelease(_0x446c54,this[_0x316310(0x215)]),_0x5e71aa={};_0x5e71aa[_0x316310(0x1d6)]=_0x316310(0x219);if(_0x44bdd9['version']!==_0x2e0462[_0x316310(0x207)]||_0x44bdd9[_0x316310(0x245)]!==_0x2e0462['digest'])throw Object[_0x316310(0x283)](new Error('Committed\x20runtime\x20identity\x20differs'),_0x5e71aa);this['release']=_0x446c54,this[_0x316310(0x1cc)]=_0x2e0462['generation'];}await this[_0x316310(0x1fd)](this[_0x316310(0x2eb)],this['generation']||0x1),this['admissionClosed']=!_0x3d468f['mutationAllowed']||readFence(this['workspace'])[_0x316310(0x31b)]!==_0x316310(0x264);}let _0x350d92;if(_0x3d468f[_0x316310(0x29f)]&&readFence(this['workspace'])[_0x316310(0x31b)]===_0x316310(0x2ec)&&this[_0x316310(0x2d1)](_0x56fbad)){const _0x5af225={};_0x5af225['tool']=_0x56fbad[_0x316310(0x25f)][_0x316310(0x21b)],_0x5af225[_0x316310(0x291)]=_0x56fbad[_0x316310(0x25f)][_0x316310(0x291)],_0x350d92=await this['requestChild'](_0x316310(0x2ed),_0x5af225);}const _0x4674e5=withAdmissionLock(this[_0x316310(0x324)],_0x1cb00e=>{const _0x98315d=_0x316310,_0x501e94=_0x1cb00e[_0x98315d(0x31b)]===_0x98315d(0x2ec)&&_0x350d92?.[_0x98315d(0x325)]===!![]&&_0x350d92[_0x98315d(0x2ae)]===_0x1cb00e['epoch'];if(!_0x3d468f[_0x98315d(0x29f)]){if(_0x56fbad[_0x98315d(0x239)]==='tools/call'&&!this[_0x98315d(0x31e)](_0x56fbad))return![];if(_0x56fbad['id']===undefined)return!![];const _0x3c67f5={};_0x3c67f5[_0x98315d(0x1d6)]=_0x98315d(0x292);if(this[_0x98315d(0x27f)]['has'](messageId(_0x56fbad['id'])))throw Object[_0x98315d(0x283)](new Error(_0x98315d(0x2fd)),_0x3c67f5);const _0x57ba10=this['connectionId']+':'+crypto[_0x98315d(0x2d0)](),_0x48d75c={'invocationId':_0x57ba10,'actorId':_0x98315d(0x326),'attemptId':null,'inputHash':hash(_0x4123fe),'epoch':_0x1cb00e['epoch'],'status':'active','connectionId':this['connectionId'],'createdAt':new Date()[_0x98315d(0x2c1)]()};return _0x1cb00e['tickets']||={},_0x1cb00e[_0x98315d(0x21c)][hash(_0x57ba10)]=_0x48d75c,saveLocked(this['workspace'],_0x1cb00e),this[_0x98315d(0x27f)][_0x98315d(0x285)](messageId(_0x56fbad['id']),{'method':_0x56fbad['method'],'tool':_0x56fbad[_0x98315d(0x25f)]?.[_0x98315d(0x21b)]||null,'ticket':_0x48d75c}),!![];}if(_0x1cb00e[_0x98315d(0x31b)]===_0x98315d(0x2e3)||(this['admissionClosed']||['closed',_0x98315d(0x2ec)]['includes'](_0x1cb00e[_0x98315d(0x31b)]))&&this[_0x98315d(0x2d1)](_0x56fbad)&&!_0x501e94)return![];if(_0x56fbad['id']===undefined)return!![];const _0x5d4548={};_0x5d4548['code']=_0x98315d(0x292);if(this[_0x98315d(0x27f)]['has'](messageId(_0x56fbad['id'])))throw Object[_0x98315d(0x283)](new Error('Request\x20ID\x20is\x20still\x20in\x20flight'),_0x5d4548);const _0x36fef6=this[_0x98315d(0x23a)]+':'+crypto[_0x98315d(0x2d0)](),_0x4fa52d={'invocationId':_0x36fef6,'actorId':_0x98315d(0x326),'attemptId':null,'inputHash':hash(_0x4123fe),'epoch':_0x1cb00e[_0x98315d(0x2ae)],'status':'active','connectionId':this[_0x98315d(0x23a)],'createdAt':new Date()[_0x98315d(0x2c1)]()};return _0x1cb00e[_0x98315d(0x21c)]||={},_0x1cb00e['tickets'][hash(_0x36fef6)]=_0x4fa52d,saveLocked(this['workspace'],_0x1cb00e),this[_0x98315d(0x27f)]['set'](messageId(_0x56fbad['id']),{'method':_0x56fbad['method'],'tool':_0x56fbad[_0x98315d(0x25f)]?.[_0x98315d(0x21b)]||null,'ticket':_0x4fa52d}),!![];});if(!_0x4674e5){const _0x16c6a8={};_0x16c6a8[_0x316310(0x1d6)]=-0x7d01,_0x16c6a8[_0x316310(0x1c2)]=_0x316310(0x258);if(_0x56fbad['id']!==undefined)this['writeHost']({'jsonrpc':_0x316310(0x2b8),'id':_0x56fbad['id'],'error':_0x16c6a8});return;}if(_0x56fbad[_0x316310(0x239)]===_0x316310(0x321))this[_0x316310(0x321)]=_0x56fbad[_0x316310(0x25f)]||{};if(_0x56fbad[_0x316310(0x239)]==='notifications/initialized')this[_0x316310(0x2bd)]=!![];try{if(this['requiresProcessDispatch'](_0x56fbad))await this[_0x316310(0x1cd)]();!this[_0x316310(0x1e5)][_0x316310(0x31a)][_0x316310(0x2fc)](_0x4123fe+'\x0a')&&(this['stdin'][_0x316310(0x316)](),this['child'][_0x316310(0x31a)][_0x316310(0x2dc)](_0x316310(0x1c4),()=>this['stdin']['resume']()));}catch(_0x4e9687){if(_0x56fbad['id']!==undefined){const _0x1bd089=this[_0x316310(0x27f)][_0x316310(0x1be)](messageId(_0x56fbad['id']));if(_0x1bd089?.[_0x316310(0x2e7)])finishOperation(this[_0x316310(0x324)],_0x1bd089[_0x316310(0x2e7)][_0x316310(0x32c)],_0x1bd089['ticket']['epoch']);this[_0x316310(0x27f)][_0x316310(0x1d1)](messageId(_0x56fbad['id']));}throw _0x4e9687;}}[_0x237898(0x2d1)](_0x5b0bb2){const _0x587c5=_0x237898;if(_0x5b0bb2[_0x587c5(0x239)]!=='tools/call')return![];const _0x3087f2=_0x5b0bb2[_0x587c5(0x25f)]?.[_0x587c5(0x21b)]||'',_0x3fe350=_0x5b0bb2[_0x587c5(0x25f)]?.['arguments']?.[_0x587c5(0x23e)];if(_0x3087f2==='pipeline_checkpoint')return!(_0x5b0bb2[_0x587c5(0x25f)]?.[_0x587c5(0x291)]?.[_0x587c5(0x1dc)]&&['report',_0x587c5(0x24f),_0x587c5(0x2eb),_0x587c5(0x2cb),_0x587c5(0x1d4),'review',_0x587c5(0x304)][_0x587c5(0x2f0)](_0x3fe350));return!this[_0x587c5(0x31e)](_0x5b0bb2);}[_0x237898(0x31e)](_0x366d90){const _0x4f5efc=_0x237898,_0x5d4f8a=_0x366d90['params']?.['name']||'';if([_0x4f5efc(0x2ee),_0x4f5efc(0x1a9),_0x4f5efc(0x254),'session_bootstrap',_0x4f5efc(0x26a),_0x4f5efc(0x238),_0x4f5efc(0x319),'workspace_list',_0x4f5efc(0x1b6),_0x4f5efc(0x2a2),_0x4f5efc(0x1e9),_0x4f5efc(0x328),_0x4f5efc(0x2a0),_0x4f5efc(0x29d),_0x4f5efc(0x317),_0x4f5efc(0x1c8)][_0x4f5efc(0x2f0)](_0x5d4f8a))return!![];return![];}['requiresProcessDispatch'](_0x5c6182){const _0x3117c7=_0x237898;if(_0x5c6182[_0x3117c7(0x239)]==='tools/list')return(this[_0x3117c7(0x320)][_0x3117c7(0x281)]||process.env.MCP_DISCOVER_BACKENDS)==='1';if([_0x3117c7(0x321),'ping'][_0x3117c7(0x2f0)](_0x5c6182[_0x3117c7(0x239)])||_0x5c6182[_0x3117c7(0x239)]?.[_0x3117c7(0x27c)](_0x3117c7(0x1fa)))return![];if(_0x5c6182['method']!==_0x3117c7(0x263))return!![];const {name:_0x3a3a92,arguments:_0x1f85c7={}}=_0x5c6182[_0x3117c7(0x25f)]||{};if(_0x3a3a92===_0x3117c7(0x248))return _0x1f85c7[_0x3117c7(0x1c0)]===!![];if(_0x3a3a92===_0x3117c7(0x1a9))return _0x1f85c7[_0x3117c7(0x302)]===!![];if(_0x3a3a92===_0x3117c7(0x254))return Boolean(_0x1f85c7[_0x3117c7(0x26f)]||_0x1f85c7['service']);if(_0x3a3a92===_0x3117c7(0x2ee))return _0x1f85c7['refresh']===!![];return!['skill_load',_0x3117c7(0x238)]['includes'](_0x3a3a92);}async['enableOwnedOperations'](){const _0x2fc9b7=_0x237898,_0x1538ea=this['child'],_0x59efd0={};_0x59efd0[_0x2fc9b7(0x1d6)]=_0x2fc9b7(0x1db);if(!_0x1538ea)throw Object[_0x2fc9b7(0x283)](new Error(_0x2fc9b7(0x1d7)),_0x59efd0);if(_0x1538ea[_0x2fc9b7(0x1b9)])return;_0x1538ea[_0x2fc9b7(0x2a8)]||=((async()=>{const _0x14348c=_0x2fc9b7;await attachOwnedJob(_0x1538ea);const _0x2a96d8=await this['requestChild']('enable-owned-operations'),_0x153118={};_0x153118[_0x14348c(0x1d6)]=_0x14348c(0x29b);if(this['child']!==_0x1538ea||_0x2a96d8['type']!==_0x14348c(0x202)||_0x2a96d8[_0x14348c(0x2fe)]!==_0x1538ea[_0x14348c(0x2fe)]||_0x2a96d8[_0x14348c(0x23a)]!==this[_0x14348c(0x23a)]||_0x2a96d8[_0x14348c(0x1cc)]!==this[_0x14348c(0x1cc)])throw Object[_0x14348c(0x283)](new Error('Process\x20dispatch\x20activation\x20was\x20not\x20confirmed'),_0x153118);_0x1538ea[_0x14348c(0x1b9)]=!![];})());try{await _0x1538ea[_0x2fc9b7(0x2a8)];}catch(_0x5b38b3){_0x1538ea[_0x2fc9b7(0x2a8)]=null;throw _0x5b38b3;}}async['boot'](_0x1ce4a3,_0x5ba0e3){const _0x3a5cfe=_0x237898;if(this[_0x3a5cfe(0x2c0)])return this[_0x3a5cfe(0x2c0)];this[_0x3a5cfe(0x2c0)]=((async()=>{const _0x2b025c=_0x3a5cfe,_0x567502=verifyRelease(_0x1ce4a3,this[_0x2b025c(0x215)]),_0x534110={...process.env,...this['childEnvironment']};_0x534110['APT_SUPERVISOR_CHILD']='1',_0x534110[_0x2b025c(0x209)]=this[_0x2b025c(0x23a)];const _0x4e5e37=_0x534110;delete _0x4e5e37[_0x2b025c(0x30a)];const _0x15abb4=spawn(process['execPath'],[path[_0x2b025c(0x222)](_0x1ce4a3,_0x2b025c(0x2a9))],{'cwd':this[_0x2b025c(0x324)],'stdio':[_0x2b025c(0x229),'pipe',_0x2b025c(0x229),_0x2b025c(0x231)],'detached':process[_0x2b025c(0x295)]!==_0x2b025c(0x286),'windowsHide':!![],'env':_0x4e5e37});this[_0x2b025c(0x1e5)]=_0x15abb4;const _0x24f0ce={};_0x24f0ce[_0x2b025c(0x324)]=this[_0x2b025c(0x324)],_0x24f0ce[_0x2b025c(0x23a)]=this['connectionId'],_0x24f0ce[_0x2b025c(0x24b)]=this[_0x2b025c(0x24b)],_0x24f0ce[_0x2b025c(0x1cc)]=_0x5ba0e3;const _0x1ca6b8={};_0x1ca6b8[_0x2b025c(0x2c3)]=!![],_0x15abb4[_0x2b025c(0x2e2)]=captureOwnedChild(_0x15abb4,_0x24f0ce,_0x1ca6b8);const _0x242306={};_0x242306[_0x2b025c(0x207)]=_0x567502[_0x2b025c(0x207)],_0x242306[_0x2b025c(0x245)]=_0x567502[_0x2b025c(0x245)],_0x242306['generation']=_0x5ba0e3,_0x15abb4[_0x2b025c(0x287)]=_0x242306,_0x15abb4['ready']=![],_0x15abb4['stdout']['on']('data',_0x272dc1=>this['receiveChild'](_0x272dc1,_0x15abb4)),_0x15abb4[_0x2b025c(0x1f1)]['on']('data',_0x23848c=>this[_0x2b025c(0x1f1)][_0x2b025c(0x2fc)](_0x23848c)),_0x15abb4['on'](_0x2b025c(0x1c2),_0x34a8f4=>this[_0x2b025c(0x29c)](_0x34a8f4,_0x15abb4)),_0x15abb4['on'](_0x2b025c(0x25c),(_0x486760,_0x3dc182)=>this[_0x2b025c(0x2db)](_0x15abb4,_0x486760,_0x3dc182)),_0x15abb4['on'](_0x2b025c(0x2c6),_0x2ad206=>_0x15abb4[_0x2b025c(0x31c)]?.(_0x2ad206));const _0x58ac90=new Promise((_0x156d1a,_0x117b86)=>{const _0x451035=_0x2b025c,_0x2e9913={};_0x2e9913[_0x451035(0x1d6)]=_0x451035(0x1b5);const _0x7e7d89=setTimeout(()=>_0x117b86(Object[_0x451035(0x283)](new Error(_0x451035(0x252)),_0x2e9913)),0x3a98);_0x15abb4[_0x451035(0x2ce)]=_0x2433f6=>{clearTimeout(_0x7e7d89),_0x156d1a(_0x2433f6);},_0x15abb4['bootReject']=_0x1b7727=>{clearTimeout(_0x7e7d89),_0x117b86(_0x1b7727);};});_0x58ac90['catch'](()=>{});try{_0x15abb4[_0x2b025c(0x1fb)]({'type':'boot','runtimeRoot':this['runtimeRoot'],'release':_0x1ce4a3,'publicKey':this['publicKey']?.[_0x2b025c(0x2de)](),'connectionId':this['connectionId'],'generation':_0x5ba0e3,'workspace':this[_0x2b025c(0x324)],'explicitWorkspace':this[_0x2b025c(0x2b3)],'gatewayBinding':this[_0x2b025c(0x2bc)]});const _0x2162ea=await _0x58ac90;_0x15abb4['ready']=!![],this[_0x2b025c(0x2b7)]=Array[_0x2b025c(0x24e)](_0x2162ea[_0x2b025c(0x20e)])?_0x2162ea[_0x2b025c(0x20e)]:[],this[_0x2b025c(0x212)]=_0x567502,this[_0x2b025c(0x26b)]=_0x2162ea[_0x2b025c(0x26b)],this[_0x2b025c(0x1cc)]=_0x5ba0e3,this[_0x2b025c(0x259)]=_0x2b025c(0x2b5),this['record']();}catch(_0x23349e){_0x15abb4[_0x2b025c(0x31c)]?.(_0x23349e);try{await attachOwnedJob(_0x15abb4),await stopOwnedChild(_0x15abb4,{'graceMs':0x64,'reason':_0x2b025c(0x206),'graceful':()=>{const _0x445a56=_0x2b025c;if(_0x15abb4[_0x445a56(0x26d)])_0x15abb4[_0x445a56(0x246)]();}});}catch(_0x54faf1){const _0x23a4f5={};_0x23a4f5[_0x2b025c(0x1ab)]=_0x54faf1[_0x2b025c(0x1d6)];throw Object[_0x2b025c(0x283)](_0x23349e,_0x23a4f5);}if(this[_0x2b025c(0x1e5)]===_0x15abb4)this[_0x2b025c(0x1e5)]=null;throw _0x23349e;}})());try{return await this[_0x3a5cfe(0x2c0)];}finally{this[_0x3a5cfe(0x2c0)]=null;}}[_0x237898(0x329)](_0x326b71,_0x5f349b){const _0x4fed30=_0x237898;if(this[_0x4fed30(0x1e5)]!==_0x5f349b)return;const _0xb4b8ad=this[_0x4fed30(0x2b2)][_0x4fed30(0x2fc)](_0x326b71);this['outputBuffer']+=_0xb4b8ad;let _0x432756;while((_0x432756=this[_0x4fed30(0x1f9)][_0x4fed30(0x1f8)]('\x0a'))>=0x0){const _0x1abf72=this[_0x4fed30(0x1f9)][_0x4fed30(0x1f7)](0x0,_0x432756);this[_0x4fed30(0x1f9)]=this[_0x4fed30(0x1f9)]['slice'](_0x432756+0x1);if(!_0x1abf72)continue;let _0x52186b;try{_0x52186b=JSON[_0x4fed30(0x274)](_0x1abf72);}catch{continue;}const _0x51a30c=_0x52186b['id']!==undefined&&this[_0x4fed30(0x250)][_0x4fed30(0x1be)](messageId(_0x52186b['id']));if(_0x51a30c){this[_0x4fed30(0x250)][_0x4fed30(0x1d1)](messageId(_0x52186b['id'])),_0x51a30c[_0x4fed30(0x2a6)](_0x52186b);continue;}const _0x13458c=_0x52186b['id']!==undefined?this[_0x4fed30(0x27f)][_0x4fed30(0x1be)](messageId(_0x52186b['id'])):null;if(_0x13458c){if(_0x13458c[_0x4fed30(0x2e7)])finishOperation(this[_0x4fed30(0x324)],_0x13458c[_0x4fed30(0x2e7)][_0x4fed30(0x32c)],_0x13458c[_0x4fed30(0x2e7)]['epoch']);this[_0x4fed30(0x27f)]['delete'](messageId(_0x52186b['id']));if(_0x13458c['method']===_0x4fed30(0x321)&&!_0x52186b[_0x4fed30(0x2c6)]){try{this[_0x4fed30(0x2bb)]=!![];if(this[_0x4fed30(0x275)][_0x4fed30(0x29f)])this[_0x4fed30(0x301)](),this['activation']=_0x4fed30(0x2ef);else this['activation']='serving-committed-with-pending-update';}catch(_0x575d88){this[_0x4fed30(0x259)]=_0x4fed30(0x2be);const _0x3385b8={};_0x3385b8[_0x4fed30(0x1d6)]=-0x7d01,_0x3385b8[_0x4fed30(0x1c2)]=_0x575d88[_0x4fed30(0x1d6)]||_0x4fed30(0x23f),_0x52186b={'jsonrpc':'2.0','id':_0x52186b['id'],'error':_0x3385b8};}this['record']();if(this[_0x4fed30(0x275)]['mutationAllowed'])void this[_0x4fed30(0x232)]()['catch'](_0x5f4b57=>{const _0x1f6118=_0x4fed30,_0x3eb1b1={};_0x3eb1b1[_0x1f6118(0x2b6)]=_0x5f4b57[_0x1f6118(0x1d6)]||_0x1f6118(0x2c2),this[_0x1f6118(0x1f4)](_0x3eb1b1);});}if(_0x13458c[_0x4fed30(0x239)]===_0x4fed30(0x2e0)&&!_0x52186b[_0x4fed30(0x2c6)])this['toolCatalogHash']=hash(JSON['stringify'](_0x52186b[_0x4fed30(0x1ce)]?.['tools']||[]));}!this['stdout'][_0x4fed30(0x2fc)](JSON['stringify'](_0x52186b)+'\x0a')&&(_0x5f349b[_0x4fed30(0x279)][_0x4fed30(0x316)](),this[_0x4fed30(0x279)]['once'](_0x4fed30(0x1c4),()=>_0x5f349b[_0x4fed30(0x279)][_0x4fed30(0x25b)]()));}}async[_0x237898(0x232)](){const _0x35435f=_0x237898,_0x44fea3=readFence(this[_0x35435f(0x324)]);if(_0x44fea3['state']!=='closed'||_0x44fea3[_0x35435f(0x2b9)]!==this[_0x35435f(0x212)]?.[_0x35435f(0x207)]||_0x44fea3[_0x35435f(0x2e6)]!==this[_0x35435f(0x212)]?.['digest'])return;const _0x30835e=path[_0x35435f(0x222)](this[_0x35435f(0x324)],_0x35435f(0x322),_0x35435f(0x300),'update-transaction.json');let _0x152733;try{_0x152733=JSON['parse'](fs[_0x35435f(0x2c5)](_0x30835e,_0x35435f(0x2f7)));}catch{return;}if(_0x152733[_0x35435f(0x27d)]!==_0x44fea3[_0x35435f(0x27d)]||![_0x35435f(0x260),_0x35435f(0x2be)][_0x35435f(0x2f0)](_0x152733[_0x35435f(0x236)]))return;const _0x8cbd72=await require('./connection-activation')[_0x35435f(0x1c7)](this[_0x35435f(0x324)],{'version':this[_0x35435f(0x212)][_0x35435f(0x207)],'digest':this['identity'][_0x35435f(0x245)],'resourceDigest':this[_0x35435f(0x26b)]});if(_0x8cbd72[_0x35435f(0x236)]!==_0x35435f(0x2ef))return;const _0x5dbf22=changeFence(this[_0x35435f(0x324)],_0x44fea3[_0x35435f(0x2ae)],{'state':_0x35435f(0x264),'transactionId':_0x44fea3[_0x35435f(0x27d)],'generation':this[_0x35435f(0x1cc)]}),_0x913eb3={..._0x152733};_0x913eb3[_0x35435f(0x236)]=_0x35435f(0x2ef),_0x913eb3[_0x35435f(0x2f6)]='authenticated-live-process',_0x913eb3[_0x35435f(0x1cc)]=this['generation'],_0x913eb3['changedAt']=_0x5dbf22[_0x35435f(0x310)],atomic(_0x30835e,_0x913eb3);}[_0x237898(0x29c)](_0x10547b,_0x5b3924){const _0x481e81=_0x237898;if(this[_0x481e81(0x1e5)]!==_0x5b3924)return;if(_0x10547b?.[_0x481e81(0x214)]===_0x481e81(0x23b)){const _0x51bdfd=_0x5b3924[_0x481e81(0x287)],_0x3769c8={};_0x3769c8[_0x481e81(0x1d6)]=_0x481e81(0x29b);if(!_0x51bdfd||_0x10547b['connectionId']!==this['connectionId']||_0x10547b['pid']!==_0x5b3924[_0x481e81(0x2fe)]||_0x10547b['generation']!==_0x51bdfd[_0x481e81(0x1cc)]||_0x10547b[_0x481e81(0x207)]!==_0x51bdfd['version']||_0x10547b[_0x481e81(0x245)]!==_0x51bdfd[_0x481e81(0x245)]||!same(_0x10547b[_0x481e81(0x324)]||'',this[_0x481e81(0x324)]))_0x5b3924['bootReject']?.(Object[_0x481e81(0x283)](new Error(_0x481e81(0x210)),_0x3769c8));else _0x5b3924['bootResolve']?.(_0x10547b);}else{if(_0x10547b?.[_0x481e81(0x214)]===_0x481e81(0x30d))_0x5b3924[_0x481e81(0x31c)]?.(Object[_0x481e81(0x283)](new Error(_0x10547b[_0x481e81(0x2a4)]),{'code':_0x10547b[_0x481e81(0x1d6)]}));else{if(_0x10547b?.[_0x481e81(0x214)]===_0x481e81(0x1ea))this['rebindWorkspace'](_0x10547b[_0x481e81(0x324)]);else{if(_0x10547b?.[_0x481e81(0x1d8)]&&this[_0x481e81(0x250)]['has'](messageId(_0x10547b['requestId']))){if(_0x10547b[_0x481e81(0x214)]===_0x481e81(0x269)&&_0x10547b[_0x481e81(0x2fe)]===_0x5b3924[_0x481e81(0x2fe)]&&_0x10547b['connectionId']===this['connectionId']&&_0x10547b[_0x481e81(0x1cc)]===this[_0x481e81(0x1cc)]&&_0x10547b['registeredOwnersStopped']===!![])_0x5b3924[_0x481e81(0x2f1)]=!![];const _0xd45ac5=this[_0x481e81(0x250)][_0x481e81(0x1be)](messageId(_0x10547b[_0x481e81(0x1d8)]));this[_0x481e81(0x250)][_0x481e81(0x1d1)](messageId(_0x10547b[_0x481e81(0x1d8)])),_0xd45ac5[_0x481e81(0x2a6)](_0x10547b);}}}}}async[_0x237898(0x273)](_0x89d2c,_0x164df1={},_0x13039b=0x1388){const _0x2d3f30=_0x237898,_0x4ff12f={};_0x4ff12f[_0x2d3f30(0x21b)]=_0x164df1[_0x2d3f30(0x230)]?.[_0x2d3f30(0x24a)],_0x4ff12f[_0x2d3f30(0x291)]=_0x164df1[_0x2d3f30(0x230)]?.[_0x2d3f30(0x291)];const _0x2a1e54={};_0x2a1e54['method']=_0x2d3f30(0x263),_0x2a1e54['params']=_0x4ff12f;const _0x8e0b88=_0x89d2c==='issue-context'&&!this[_0x2d3f30(0x306)](_0x2a1e54);if(!['status',_0x2d3f30(0x220)][_0x2d3f30(0x2f0)](_0x89d2c)&&!_0x8e0b88)await this[_0x2d3f30(0x1cd)]();const _0x28ba02={};_0x28ba02[_0x2d3f30(0x1d6)]=_0x2d3f30(0x1db);if(!this[_0x2d3f30(0x1e5)]?.[_0x2d3f30(0x26d)])return Promise[_0x2d3f30(0x22b)](Object[_0x2d3f30(0x283)](new Error(_0x2d3f30(0x1d7)),_0x28ba02));const _0x363165=_0x2d3f30(0x1f3)+crypto[_0x2d3f30(0x2d0)]();return new Promise((_0x4b6ee3,_0x4674e8)=>{const _0x55329a=_0x2d3f30,_0x29073e=setTimeout(()=>{const _0xa1e7a8=_0x4c71;this[_0xa1e7a8(0x250)][_0xa1e7a8(0x1d1)](messageId(_0x363165));const _0x4d1e5d={};_0x4d1e5d[_0xa1e7a8(0x1d6)]='CHILD_CONTROL_TIMEOUT',_0x4674e8(Object[_0xa1e7a8(0x283)](new Error(_0xa1e7a8(0x2cc)),_0x4d1e5d));},_0x13039b);this[_0x55329a(0x250)][_0x55329a(0x285)](messageId(_0x363165),{'resolve':_0x19b0e8=>{clearTimeout(_0x29073e),_0x4b6ee3(_0x19b0e8);}});const _0x4a2e85={'type':_0x89d2c,'requestId':_0x363165,..._0x164df1};this[_0x55329a(0x1e5)][_0x55329a(0x1fb)](_0x4a2e85);});}async['requestRpc'](_0x5b159a,_0x95187d,_0x3a498c=0x2710){const _0x51c105=_0x237898;await this[_0x51c105(0x1cd)]();const _0x2955c8='apt-supervisor-'+crypto[_0x51c105(0x2d0)]();return new Promise((_0x302e20,_0x4ef00f)=>{const _0x5ef8a1=_0x51c105,_0x7b07f5=setTimeout(()=>{const _0x143306=_0x4c71;this[_0x143306(0x250)][_0x143306(0x1d1)](messageId(_0x2955c8));const _0x50df71={};_0x50df71[_0x143306(0x1d6)]=_0x143306(0x1da),_0x4ef00f(Object[_0x143306(0x283)](new Error(_0x143306(0x1b2)),_0x50df71));},_0x3a498c);this[_0x5ef8a1(0x250)][_0x5ef8a1(0x285)](messageId(_0x2955c8),{'resolve':_0x5cf8f6=>{clearTimeout(_0x7b07f5),_0x302e20(_0x5cf8f6);}});const _0x3082a0={};_0x3082a0[_0x5ef8a1(0x2bf)]=_0x5ef8a1(0x2b8),_0x3082a0['id']=_0x2955c8,_0x3082a0['method']=_0x5b159a,_0x3082a0['params']=_0x95187d,this[_0x5ef8a1(0x1e5)][_0x5ef8a1(0x31a)][_0x5ef8a1(0x2fc)](JSON[_0x5ef8a1(0x247)](_0x3082a0)+'\x0a');});}async[_0x237898(0x309)](){const _0x252762=_0x237898;if(this['pending'][_0x252762(0x2ad)])return[{'kind':_0x252762(0x28b),'count':this[_0x252762(0x27f)][_0x252762(0x2ad)]}];const _0x3c7612=await this[_0x252762(0x273)]('status'),_0x21e6d0={};return _0x21e6d0['kind']=_0x252762(0x1c3),_0x3c7612[_0x252762(0x303)]||[_0x21e6d0];}[_0x237898(0x240)](){const _0x4548b7=_0x237898,_0x36e1f5={};return _0x36e1f5[_0x4548b7(0x23a)]=this[_0x4548b7(0x23a)],_0x36e1f5[_0x4548b7(0x324)]=this[_0x4548b7(0x324)],_0x36e1f5[_0x4548b7(0x256)]=process['pid'],_0x36e1f5[_0x4548b7(0x1e7)]=this[_0x4548b7(0x1e5)]?.[_0x4548b7(0x2fe)],_0x36e1f5['version']=this['identity']?.[_0x4548b7(0x207)],_0x36e1f5[_0x4548b7(0x245)]=this[_0x4548b7(0x212)]?.['digest'],_0x36e1f5[_0x4548b7(0x26b)]=this['resourceDigest'],_0x36e1f5[_0x4548b7(0x1aa)]=this[_0x4548b7(0x2fb)],_0x36e1f5[_0x4548b7(0x1cc)]=this['generation'],_0x36e1f5;}async['stopChild'](_0x427a3b){const _0x42e341=_0x237898,_0x7456c6={};_0x7456c6[_0x42e341(0x1d6)]='CHILD_UNAVAILABLE';if(!this['child'])throw Object['assign'](new Error(_0x42e341(0x216)),_0x7456c6);const _0x494c9e=this[_0x42e341(0x1e5)];if(!_0x494c9e[_0x42e341(0x2cf)])await this[_0x42e341(0x1cd)]();else await attachOwnedJob(_0x494c9e);let _0x106b7f=![];const _0x2d3729=await stopOwnedChild(_0x494c9e,{'reason':_0x427a3b,'graceful':async()=>{const _0x4d38d6=_0x42e341,_0x59733b={};_0x59733b[_0x4d38d6(0x1b4)]=_0x427a3b;const _0x558cda=await this['requestChild'](_0x4d38d6(0x249),_0x59733b,0x3a98);_0x106b7f=_0x558cda[_0x4d38d6(0x214)]===_0x4d38d6(0x269)&&_0x558cda['pid']===_0x494c9e[_0x4d38d6(0x2fe)]&&_0x558cda[_0x4d38d6(0x23a)]===this[_0x4d38d6(0x23a)]&&_0x558cda[_0x4d38d6(0x1cc)]===this[_0x4d38d6(0x1cc)]&&_0x558cda[_0x4d38d6(0x2e5)]===!![];}}),_0x3ae436={};_0x3ae436['code']=_0x42e341(0x1e3);if(process[_0x42e341(0x295)]!=='win32'&&!_0x106b7f)throw Object[_0x42e341(0x283)](new Error(_0x42e341(0x20f)),_0x3ae436);const _0x254ba1={..._0x2d3729};_0x254ba1['registeredOwnersStopped']=_0x106b7f,this[_0x42e341(0x262)]=_0x254ba1;if(this[_0x42e341(0x1e5)]===_0x494c9e)this[_0x42e341(0x1e5)]=null;this['outputBuffer']='',this['outputDecoder']=new StringDecoder(_0x42e341(0x2f7));}async['initializeCandidate'](_0x31b027){const _0x214c3e=_0x237898;if(this[_0x214c3e(0x321)]){const _0x46c993=await this[_0x214c3e(0x28a)](_0x214c3e(0x321),this[_0x214c3e(0x321)]),_0x597cb6={};_0x597cb6['code']='CHILD_INITIALIZE_FAILED';if(_0x46c993[_0x214c3e(0x2c6)])throw Object[_0x214c3e(0x283)](new Error(_0x214c3e(0x1b7)),_0x597cb6);const _0x41add0={};_0x41add0['jsonrpc']=_0x214c3e(0x2b8),_0x41add0['method']=_0x214c3e(0x1d2),_0x41add0[_0x214c3e(0x25f)]={};if(this[_0x214c3e(0x2bd)])this[_0x214c3e(0x1e5)][_0x214c3e(0x31a)]['write'](JSON[_0x214c3e(0x247)](_0x41add0)+'\x0a');}const _0x388fc3=await this['requestRpc'](_0x214c3e(0x2e0),{}),_0x32864e=hash(JSON[_0x214c3e(0x247)](_0x388fc3['result']?.[_0x214c3e(0x22a)]||[])),_0x1932af={};_0x1932af[_0x214c3e(0x1d6)]='RECONNECT_REQUIRED';if(_0x388fc3['error']||this[_0x214c3e(0x2fb)]&&_0x32864e!==this[_0x214c3e(0x2fb)])throw Object[_0x214c3e(0x283)](new Error(_0x214c3e(0x299)),_0x1932af);this[_0x214c3e(0x2fb)]=_0x32864e;const _0x5ece8b={};_0x5ece8b[_0x214c3e(0x2d2)]=_0x31b027[_0x214c3e(0x2d2)],_0x5ece8b[_0x214c3e(0x32b)]=_0x31b027['boundPipeline'],await this[_0x214c3e(0x273)](_0x214c3e(0x23c),_0x5ece8b);}async[_0x237898(0x1b1)](_0x371d04){const _0x2eb14e=_0x237898,_0x2a1218=readFence(this[_0x2eb14e(0x324)]),_0x2d49f8={};_0x2d49f8[_0x2eb14e(0x1d6)]=_0x2eb14e(0x208);if(_0x2a1218[_0x2eb14e(0x31b)]!==_0x2eb14e(0x2e3)||_0x371d04[_0x2eb14e(0x27d)]!==_0x2a1218['transactionId']||_0x371d04[_0x2eb14e(0x2ae)]!==_0x2a1218[_0x2eb14e(0x2ae)])throw Object[_0x2eb14e(0x283)](new Error(_0x2eb14e(0x2b0)),_0x2d49f8);const _0x4fbb38={};_0x4fbb38['status']='pending-safe-boundary',_0x4fbb38[_0x2eb14e(0x1d6)]=_0x2eb14e(0x257);if(this[_0x2eb14e(0x2c8)])return _0x4fbb38;this[_0x2eb14e(0x1b3)](_0x371d04[_0x2eb14e(0x27d)]),this[_0x2eb14e(0x2d6)]=!![];if(_0x371d04[_0x2eb14e(0x214)]===_0x2eb14e(0x2f4)){const _0x5b47a7={};_0x5b47a7[_0x2eb14e(0x1d6)]=_0x2eb14e(0x2b1);if(!this[_0x2eb14e(0x1c9)]||this[_0x2eb14e(0x1c9)][_0x2eb14e(0x27d)]!==_0x371d04['transactionId']||!this['candidate']['prepared']||!this['child']?.[_0x2eb14e(0x23b)])throw Object[_0x2eb14e(0x283)](new Error('Candidate\x20is\x20not\x20prepared'),_0x5b47a7);const _0x438343=await this[_0x2eb14e(0x273)]('status'),_0x3ba514={};_0x3ba514['code']=_0x2eb14e(0x29b);if(_0x438343[_0x2eb14e(0x2fe)]!==this[_0x2eb14e(0x1e5)][_0x2eb14e(0x2fe)]||_0x438343[_0x2eb14e(0x1cc)]!==_0x371d04[_0x2eb14e(0x1cc)]||!same(_0x438343['workspace'],this[_0x2eb14e(0x324)]))throw Object[_0x2eb14e(0x283)](new Error(_0x2eb14e(0x22d)),_0x3ba514);const _0x937ba3=acknowledgeGeneration(this[_0x2eb14e(0x324)],this[_0x2eb14e(0x23a)],_0x371d04[_0x2eb14e(0x27d)],this[_0x2eb14e(0x240)]());projectGeneration(this[_0x2eb14e(0x24b)],this[_0x2eb14e(0x324)],_0x937ba3),this[_0x2eb14e(0x2eb)]=this[_0x2eb14e(0x1c9)][_0x2eb14e(0x2eb)],this['activation']=_0x2eb14e(0x2ef),this[_0x2eb14e(0x2d6)]=![];const _0x43be4f={};return _0x43be4f[_0x2eb14e(0x2ea)]=_0x937ba3[_0x2eb14e(0x27d)],this[_0x2eb14e(0x1f4)](_0x43be4f),{'status':'active',...this[_0x2eb14e(0x240)]()};}const _0x3b8f97=readGeneration(this[_0x2eb14e(0x324)]),_0x2eb670={};_0x2eb670[_0x2eb14e(0x1d6)]='RESOURCE_ROLL_FORWARD_REQUIRED';if(_0x371d04['type']===_0x2eb14e(0x2f8)&&_0x3b8f97?.[_0x2eb14e(0x27d)]===_0x371d04['transactionId'])throw Object['assign'](new Error(_0x2eb14e(0x1d5)),_0x2eb670);if(_0x371d04[_0x2eb14e(0x214)]===_0x2eb14e(0x280)&&this['candidate']?.[_0x2eb14e(0x27d)]===_0x371d04[_0x2eb14e(0x27d)]&&this[_0x2eb14e(0x1c9)][_0x2eb14e(0x277)]&&this[_0x2eb14e(0x1e5)]?.[_0x2eb14e(0x23b)]){const _0x32d88e=this[_0x2eb14e(0x240)](),_0x54fbce={};_0x54fbce[_0x2eb14e(0x1d6)]='CANDIDATE_TUPLE_MISMATCH';if([_0x2eb14e(0x207),_0x2eb14e(0x245),_0x2eb14e(0x1cc),_0x2eb14e(0x26b),'catalogHash']['some'](_0x1d1aea=>_0x32d88e[_0x1d1aea]!==_0x371d04[_0x1d1aea]))throw Object[_0x2eb14e(0x283)](new Error(_0x2eb14e(0x2a5)),_0x54fbce);const _0x56544f=await this[_0x2eb14e(0x273)](_0x2eb14e(0x236)),_0x517bf1={};_0x517bf1['code']=_0x2eb14e(0x29b);if(_0x56544f[_0x2eb14e(0x2fe)]!==_0x32d88e['childPid']||_0x56544f[_0x2eb14e(0x1cc)]!==_0x32d88e[_0x2eb14e(0x1cc)]||!same(_0x56544f[_0x2eb14e(0x324)],this[_0x2eb14e(0x324)]))throw Object[_0x2eb14e(0x283)](new Error(_0x2eb14e(0x22d)),_0x517bf1);const _0x19fb9a={'status':_0x2eb14e(0x1d9),..._0x32d88e};return _0x19fb9a;}this[_0x2eb14e(0x2c8)]=((async()=>{const _0x304f89=_0x2eb14e;if(_0x371d04[_0x304f89(0x214)]===_0x304f89(0x2d3)){if(this[_0x304f89(0x1c9)]?.[_0x304f89(0x27d)]===_0x371d04[_0x304f89(0x27d)]&&this[_0x304f89(0x1c9)][_0x304f89(0x269)]&&this['candidate'][_0x304f89(0x277)]&&!this[_0x304f89(0x1c9)][_0x304f89(0x30e)])return{'status':this[_0x304f89(0x1e5)]?.[_0x304f89(0x23b)]?_0x304f89(0x1d9):'pending-safe-boundary','code':this[_0x304f89(0x1e5)]?.[_0x304f89(0x23b)]?undefined:_0x304f89(0x24c),'oldRuntimeStopped':!![],...this['candidateTuple']()};if(this['candidate']?.['transactionId']===_0x371d04[_0x304f89(0x27d)]&&this['candidate'][_0x304f89(0x269)]&&!this[_0x304f89(0x1c9)][_0x304f89(0x30e)]&&!this[_0x304f89(0x1e5)])return{'status':_0x304f89(0x269),'connectionId':this[_0x304f89(0x23a)]};const _0x183722=await this[_0x304f89(0x309)]();if(_0x183722[_0x304f89(0x307)])return{'status':'pending-safe-boundary','blockers':_0x183722};const _0x22f2d6=await this[_0x304f89(0x273)]('status');this[_0x304f89(0x1c9)]={'transactionId':_0x371d04[_0x304f89(0x27d)],'previous':{'release':this[_0x304f89(0x2eb)],'generation':this[_0x304f89(0x1cc)],'resourceDigest':this[_0x304f89(0x26b)],'state':_0x22f2d6}},this['persistCandidate'](),await this[_0x304f89(0x1dd)](_0x304f89(0x1e6)),this[_0x304f89(0x1c9)][_0x304f89(0x269)]=!![],this[_0x304f89(0x2ff)]();const _0x2228a1={};_0x2228a1['stoppedTransaction']=_0x371d04[_0x304f89(0x27d)],this[_0x304f89(0x1f4)](_0x2228a1);const _0x5f20d9={};return _0x5f20d9[_0x304f89(0x236)]=_0x304f89(0x269),_0x5f20d9['connectionId']=this[_0x304f89(0x23a)],_0x5f20d9[_0x304f89(0x262)]=this[_0x304f89(0x262)],_0x5f20d9;}if(_0x371d04['type']==='restore-previous'){const _0xb419c7={};_0xb419c7[_0x304f89(0x1d6)]=_0x304f89(0x29a);if(!this[_0x304f89(0x1c9)])throw Object[_0x304f89(0x283)](new Error(_0x304f89(0x2ca)),_0xb419c7);const _0x373d97=this[_0x304f89(0x1c9)][_0x304f89(0x2cd)],_0x40af3a={};_0x40af3a[_0x304f89(0x1d6)]='CHILD_OWNERSHIP_UNKNOWN';if(!_0x373d97?.[_0x304f89(0x31b)]||!this[_0x304f89(0x1c9)][_0x304f89(0x269)])throw Object[_0x304f89(0x283)](new Error('Previous\x20stop\x20evidence\x20is\x20missing'),_0x40af3a);if(this[_0x304f89(0x1e5)])await this[_0x304f89(0x1dd)](_0x304f89(0x2ba));await this[_0x304f89(0x1fd)](_0x373d97[_0x304f89(0x2eb)],_0x373d97[_0x304f89(0x1cc)]);const _0x46824d={};_0x46824d[_0x304f89(0x1d6)]=_0x304f89(0x2ab);if(this['resourceDigest']!==_0x373d97[_0x304f89(0x26b)])throw Object['assign'](new Error(_0x304f89(0x28c)),_0x46824d);return await this['initializeCandidate'](_0x373d97['state']),this['release']=_0x373d97[_0x304f89(0x2eb)],this[_0x304f89(0x1c9)]={...this[_0x304f89(0x1c9)],'restored':!![],'prepared':![]},this['persistCandidate'](),this[_0x304f89(0x259)]=_0x304f89(0x308),this[_0x304f89(0x2d6)]=![],this[_0x304f89(0x1f4)](),{'status':_0x304f89(0x2e4),'serving':this[_0x304f89(0x1e5)]?.['ready']===!![],...this[_0x304f89(0x240)]()};}const _0x508deb={};_0x508deb[_0x304f89(0x1d6)]=_0x304f89(0x2f9);if(!Number[_0x304f89(0x2a3)](_0x371d04[_0x304f89(0x1cc)])||_0x371d04[_0x304f89(0x1cc)]<=(this['candidate']?.[_0x304f89(0x2cd)]?.[_0x304f89(0x1cc)]??this['generation'])||_0x371d04['version']!==_0x2a1218[_0x304f89(0x2b9)]||_0x371d04['digest']!==_0x2a1218['targetDigest'])throw Object['assign'](new Error('Candidate\x20target\x20does\x20not\x20match\x20transaction'),_0x508deb);const _0x4136cd=_0x371d04[_0x304f89(0x2eb)]||path[_0x304f89(0x222)](this[_0x304f89(0x24b)],_0x304f89(0x266),_0x371d04[_0x304f89(0x207)]+'-'+_0x371d04[_0x304f89(0x245)]),_0x1f7616=verifyRelease(_0x4136cd,this['publicKey']),_0xdff1fb={};_0xdff1fb['code']=_0x304f89(0x2f9);if(_0x1f7616[_0x304f89(0x207)]!==_0x371d04[_0x304f89(0x207)]||_0x1f7616[_0x304f89(0x245)]!==_0x371d04[_0x304f89(0x245)])throw Object[_0x304f89(0x283)](new Error(_0x304f89(0x296)),_0xdff1fb);const _0xcc500d={};_0xcc500d[_0x304f89(0x1d6)]=_0x304f89(0x2d4);if(!this[_0x304f89(0x1c9)]?.[_0x304f89(0x269)]||this[_0x304f89(0x1c9)][_0x304f89(0x27d)]!==_0x371d04[_0x304f89(0x27d)])throw Object[_0x304f89(0x283)](new Error(_0x304f89(0x289)),_0xcc500d);const _0x2499da=this[_0x304f89(0x1c9)]['previous']['state'];this[_0x304f89(0x1c9)][_0x304f89(0x2eb)]=_0x4136cd;if(this[_0x304f89(0x1e5)])await this['stopChild'](_0x304f89(0x323));this[_0x304f89(0x1c9)][_0x304f89(0x277)]=![],this[_0x304f89(0x2ff)](),await this[_0x304f89(0x1fd)](_0x4136cd,_0x371d04['generation']),await this[_0x304f89(0x314)](_0x2499da);const _0x1cb9fa={};_0x1cb9fa[_0x304f89(0x1d6)]=_0x304f89(0x2f9);if(this[_0x304f89(0x26b)]!==_0x371d04[_0x304f89(0x26b)]||this[_0x304f89(0x2fb)]!==_0x371d04[_0x304f89(0x1aa)])throw Object['assign'](new Error('Candidate\x20resources\x20or\x20catalog\x20do\x20not\x20match\x20transaction'),_0x1cb9fa);this[_0x304f89(0x1c9)]['prepared']=!![],this['persistCandidate'](),this[_0x304f89(0x259)]='pending-safe-boundary';const _0x526a46={};return _0x526a46[_0x304f89(0x1b0)]=_0x371d04[_0x304f89(0x27d)],this[_0x304f89(0x1f4)](_0x526a46),{'status':_0x304f89(0x1d9),...this[_0x304f89(0x240)]()};})());try{return await this['transition'];}finally{this['transition']=null;}}async[_0x237898(0x253)](){const _0x408d65=_0x237898,_0x86618a={};return _0x86618a[_0x408d65(0x236)]=_0x408d65(0x2be),_0x86618a['code']=_0x408d65(0x298),_0x86618a;}async[_0x237898(0x2db)](_0x3c975c,_0x46f133,_0x3f00fb){const _0x2d9721=_0x237898;if(this[_0x2d9721(0x1e5)]!==_0x3c975c)return;_0x3c975c['closed']=!![],_0x3c975c[_0x2d9721(0x23b)]=![];const _0x331001={};_0x331001[_0x2d9721(0x1d6)]='CHILD_CLOSED',_0x3c975c['bootReject']?.(Object[_0x2d9721(0x283)](new Error('Runtime\x20child\x20closed'),_0x331001));for(const [_0x18e543]of this[_0x2d9721(0x27f)]){try{const _0x4cd674={};_0x4cd674[_0x2d9721(0x1d6)]=-0x7d02,_0x4cd674['message']='APT_RUNTIME_OUTCOME_UNKNOWN:\x20child\x20closed\x20after\x20request\x20delivery',this[_0x2d9721(0x1ec)]({'jsonrpc':_0x2d9721(0x2b8),'id':JSON[_0x2d9721(0x274)](_0x18e543),'error':_0x4cd674});}catch{}}this[_0x2d9721(0x27f)][_0x2d9721(0x234)]();try{const _0x18cad4={};_0x18cad4[_0x2d9721(0x1b4)]=_0x2d9721(0x1bf),_0x18cad4['graceMs']=0x3e8,await stopOwnedChild(_0x3c975c,_0x18cad4);}catch(_0x34724c){this['activation']=_0x2d9721(0x1e8),this[_0x2d9721(0x2d6)]=!![];const _0x233c97={};_0x233c97[_0x2d9721(0x32e)]=_0x3f00fb||_0x46f133||_0x2d9721(0x282),_0x233c97['blocker']=_0x34724c[_0x2d9721(0x1d6)]||_0x2d9721(0x1e3),this[_0x2d9721(0x1f4)](_0x233c97);return;}if(this['child']!==_0x3c975c)return;if(process[_0x2d9721(0x295)]!==_0x2d9721(0x286)&&!_0x3c975c[_0x2d9721(0x2f1)]){this[_0x2d9721(0x259)]='legacy-ownership-unverified',this[_0x2d9721(0x2d6)]=!![];const _0x219458={};_0x219458[_0x2d9721(0x32e)]=_0x3f00fb||_0x46f133||_0x2d9721(0x282),_0x219458[_0x2d9721(0x2b6)]='PROCESS_TREE_STOP_UNCONFIRMED',this[_0x2d9721(0x1f4)](_0x219458);return;}this[_0x2d9721(0x1e5)]=null;if(!this[_0x2d9721(0x2c8)]&&!this[_0x2d9721(0x269)]){this[_0x2d9721(0x321)]=null,this[_0x2d9721(0x2bd)]=![],this[_0x2d9721(0x259)]=_0x2d9721(0x2be),this[_0x2d9721(0x2d6)]=!![];const _0x15353e={};_0x15353e[_0x2d9721(0x32e)]=_0x3f00fb||_0x46f133||_0x2d9721(0x282),this[_0x2d9721(0x1f4)](_0x15353e);}}['writeHost'](_0x2ab9c4){const _0x57cbab=_0x237898;this[_0x57cbab(0x279)][_0x57cbab(0x2fc)](JSON[_0x57cbab(0x247)](_0x2ab9c4)+'\x0a');}async[_0x237898(0x25c)](_0x47aa40=_0x237898(0x268)){const _0x2830a9=_0x237898;if(this[_0x2830a9(0x2cf)])return;if(this['closing'])return this[_0x2830a9(0x1f5)];this[_0x2830a9(0x2d6)]=!![],clearTimeout(this[_0x2830a9(0x2c4)]),this['closing']=((async()=>{const _0x324660=_0x2830a9;try{if(this[_0x324660(0x1e5)])await this[_0x324660(0x1dd)](_0x47aa40);closeMember(this['workspace'],this[_0x324660(0x23a)],process['pid'],!![]),this['stopped']=!![],this[_0x324660(0x1e2)]=_0x47aa40,require('./registration-closure')[_0x324660(0x276)](this),await new Promise(_0x4b2445=>this[_0x324660(0x2fa)]?.[_0x324660(0x25c)](_0x4b2445)||_0x4b2445()),this['activation']='ready-next-connection';const _0x455091={};_0x455091[_0x324660(0x32e)]=_0x47aa40,this[_0x324660(0x1f4)](_0x455091);try{fs[_0x324660(0x27e)](this['secretPath']);}catch{}if(process[_0x324660(0x295)]!==_0x324660(0x286))try{fs[_0x324660(0x27e)](this['endpoint']);}catch{}this[_0x324660(0x2cf)]=!![];}catch(_0x563880){this[_0x324660(0x259)]=_0x324660(0x1e8);const _0x5bcae5={};_0x5bcae5['stopReason']=_0x47aa40,_0x5bcae5[_0x324660(0x2b6)]=_0x563880['code']||'CHILD_STOP_UNCONFIRMED',this['record'](_0x5bcae5);throw _0x563880;}})());try{return await this[_0x2830a9(0x1f5)];}finally{this['closing']=null;}}}const _0x5081b1={};_0x5081b1[_0x237898(0x318)]=ConnectionSupervisor,module['exports']=_0x5081b1;
@@ -1 +1 @@
1
- 'use strict';const _0xbb179c=_0x1d47;(function(_0x9e8850,_0xa7db6d){const _0x374d0f=_0x1d47,_0x422456=_0x9e8850();while(!![]){try{const _0x59b256=parseInt(_0x374d0f(0x216))/0x1+-parseInt(_0x374d0f(0x213))/0x2+-parseInt(_0x374d0f(0x210))/0x3*(-parseInt(_0x374d0f(0x225))/0x4)+-parseInt(_0x374d0f(0x1eb))/0x5+parseInt(_0x374d0f(0x228))/0x6*(-parseInt(_0x374d0f(0x1e9))/0x7)+parseInt(_0x374d0f(0x20d))/0x8+parseInt(_0x374d0f(0x20f))/0x9*(parseInt(_0x374d0f(0x1f4))/0xa);if(_0x59b256===_0xa7db6d)break;else _0x422456['push'](_0x422456['shift']());}catch(_0x5ed25f){_0x422456['push'](_0x422456['shift']());}}}(_0x13ce,0x3efb2));const fs=require(_0xbb179c(0x22e)),path=require(_0xbb179c(0x20a)),crypto=require('node:crypto'),{containsWorkspace,sameWorkspace}=require('../core/workspace-path'),{ResourceTransaction}=require(_0xbb179c(0x21b)),hash=_0x52d234=>crypto[_0xbb179c(0x247)](_0xbb179c(0x246))['update'](_0x52d234)[_0xbb179c(0x22a)]('hex');class DeploymentDraft{constructor(_0x1bb173){const _0x2a26c6=_0xbb179c;this[_0x2a26c6(0x219)]=fs[_0x2a26c6(0x1f6)](_0x1bb173),this[_0x2a26c6(0x22f)]=new Map(),this[_0x2a26c6(0x24c)]=new Map(),this[_0x2a26c6(0x249)]=new Set();const _0x3ce0d8={};_0x3ce0d8['isFile']=()=>!![],_0x3ce0d8[_0x2a26c6(0x244)]=()=>![];const _0x742d5={};_0x742d5[_0x2a26c6(0x239)]=()=>![],_0x742d5[_0x2a26c6(0x244)]=()=>!![],this['fs']={'existsSync':_0x33a5d3=>this[_0x2a26c6(0x1ec)](_0x33a5d3),'readFileSync':(_0xb9df4b,_0x399c97)=>this[_0x2a26c6(0x20b)](_0xb9df4b,_0x399c97),'writeFileSync':(_0xbeccb1,_0x5b843b,_0xb4f6a7)=>this['write'](_0xbeccb1,_0x5b843b,_0xb4f6a7),'appendFileSync':(_0x8ed589,_0x3e7226)=>this[_0x2a26c6(0x22d)](_0x8ed589,Buffer[_0x2a26c6(0x245)]([this[_0x2a26c6(0x1ec)](_0x8ed589)?this[_0x2a26c6(0x20b)](_0x8ed589):Buffer[_0x2a26c6(0x231)](0x0),Buffer['from'](_0x3e7226)])),'copyFileSync':(_0x4de6ba,_0x1f0ee2)=>this[_0x2a26c6(0x22d)](_0x1f0ee2,this[_0x2a26c6(0x20b)](_0x4de6ba)),'renameSync':(_0x5dbd71,_0x167584)=>{const _0x4a0051=_0x2a26c6;this[_0x4a0051(0x22d)](_0x167584,this[_0x4a0051(0x20b)](_0x5dbd71)),this[_0x4a0051(0x21c)](_0x5dbd71);},'unlinkSync':_0x3829bc=>this[_0x2a26c6(0x21c)](_0x3829bc),'mkdirSync':_0xbc17b7=>this[_0x2a26c6(0x249)][_0x2a26c6(0x230)](this[_0x2a26c6(0x241)](_0xbc17b7)),'rmdirSync':_0x4732c4=>this[_0x2a26c6(0x249)][_0x2a26c6(0x1ee)](this[_0x2a26c6(0x241)](_0x4732c4)),'statSync':_0x4463f6=>this[_0x2a26c6(0x22f)]['has'](path[_0x2a26c6(0x208)](_0x4463f6))&&this[_0x2a26c6(0x22f)][_0x2a26c6(0x218)](path[_0x2a26c6(0x208)](_0x4463f6))!==null?_0x3ce0d8:this[_0x2a26c6(0x249)][_0x2a26c6(0x24f)](path['resolve'](_0x4463f6))?_0x742d5:fs['statSync'](_0x4463f6),'readdirSync':_0xfb7a71=>this[_0x2a26c6(0x1fb)](_0xfb7a71),'realpathSync':_0x555eda=>fs['realpathSync'](_0x555eda)};}[_0xbb179c(0x241)](_0x405236){const _0x11d677=_0xbb179c,_0x2f951c=path[_0x11d677(0x208)](_0x405236),_0x1edcab=path['relative'](this[_0x11d677(0x219)],_0x2f951c);let _0x5e8a04=_0x2f951c;while(!fs[_0x11d677(0x23f)](_0x5e8a04)&&path[_0x11d677(0x224)](_0x5e8a04)!==_0x5e8a04)_0x5e8a04=path[_0x11d677(0x224)](_0x5e8a04);const _0x300630={};_0x300630[_0x11d677(0x211)]=_0x11d677(0x1ed);if(_0x1edcab==='..'||_0x1edcab[_0x11d677(0x229)]('..'+path[_0x11d677(0x212)])||path[_0x11d677(0x1fc)](_0x1edcab)||!sameWorkspace(_0x5e8a04,this[_0x11d677(0x219)])&&!containsWorkspace(this[_0x11d677(0x219)],_0x5e8a04))throw Object['assign'](new Error(_0x11d677(0x243)),_0x300630);return _0x2f951c;}['exists'](_0x2ea5ee){const _0x577e73=_0xbb179c;_0x2ea5ee=path[_0x577e73(0x208)](_0x2ea5ee);if(this[_0x577e73(0x22f)]['has'](_0x2ea5ee))return this[_0x577e73(0x22f)][_0x577e73(0x218)](_0x2ea5ee)!==null;return this[_0x577e73(0x249)][_0x577e73(0x24f)](_0x2ea5ee)||fs[_0x577e73(0x23f)](_0x2ea5ee);}[_0xbb179c(0x221)](_0x2bbeeb){const _0x3c054e=_0xbb179c;if(this[_0x3c054e(0x24c)][_0x3c054e(0x24f)](_0x2bbeeb))return;try{this['originals'][_0x3c054e(0x1ef)](_0x2bbeeb,fs['readFileSync'](_0x2bbeeb));}catch(_0x577f17){if(_0x577f17[_0x3c054e(0x211)]===_0x3c054e(0x227))this[_0x3c054e(0x24c)]['set'](_0x2bbeeb,null);else throw _0x577f17;}}[_0xbb179c(0x20b)](_0x5ccb59,_0x564cf8){const _0x163ff5=_0xbb179c;_0x5ccb59=path['resolve'](_0x5ccb59);let _0xedcd28;if(this[_0x163ff5(0x22f)][_0x163ff5(0x24f)](_0x5ccb59))_0xedcd28=this[_0x163ff5(0x22f)][_0x163ff5(0x218)](_0x5ccb59);else{_0xedcd28=fs[_0x163ff5(0x202)](_0x5ccb59);const _0x583922=path['relative'](this[_0x163ff5(0x219)],_0x5ccb59);if(_0x583922&&_0x583922!=='..'&&!_0x583922['startsWith']('..'+path[_0x163ff5(0x212)])&&!path['isAbsolute'](_0x583922)&&!this[_0x163ff5(0x24c)][_0x163ff5(0x24f)](_0x5ccb59))this[_0x163ff5(0x24c)][_0x163ff5(0x1ef)](_0x5ccb59,Buffer['from'](_0xedcd28));}const _0x41cf03={};_0x41cf03[_0x163ff5(0x211)]=_0x163ff5(0x227);if(_0xedcd28===null)throw Object[_0x163ff5(0x23e)](new Error(_0x163ff5(0x238)),_0x41cf03);const _0x21fc9f=typeof _0x564cf8===_0x163ff5(0x1f5)?_0x564cf8:_0x564cf8?.[_0x163ff5(0x23b)];return _0x21fc9f?_0xedcd28['toString'](_0x21fc9f):Buffer[_0x163ff5(0x222)](_0xedcd28);}[_0xbb179c(0x22d)](_0x1b65f7,_0x34bdea,_0x21d1a4){const _0x53ecb6=_0xbb179c;_0x1b65f7=this[_0x53ecb6(0x241)](_0x1b65f7);const _0x42db59={};_0x42db59[_0x53ecb6(0x211)]=_0x53ecb6(0x21f);if(_0x21d1a4?.['flag']==='wx'&&this['exists'](_0x1b65f7))throw Object['assign'](new Error('Draft\x20file\x20exists'),_0x42db59);this['remember'](_0x1b65f7),this[_0x53ecb6(0x22f)][_0x53ecb6(0x1ef)](_0x1b65f7,Buffer[_0x53ecb6(0x222)](_0x34bdea)),this[_0x53ecb6(0x249)][_0x53ecb6(0x230)](path['dirname'](_0x1b65f7));}[_0xbb179c(0x21c)](_0x57723a){const _0x8f296d=_0xbb179c;_0x57723a=this[_0x8f296d(0x241)](_0x57723a),this[_0x8f296d(0x221)](_0x57723a),this[_0x8f296d(0x22f)][_0x8f296d(0x1ef)](_0x57723a,null);}[_0xbb179c(0x1fb)](_0x1475ce){const _0x277453=_0xbb179c;_0x1475ce=path[_0x277453(0x208)](_0x1475ce);let _0x3b8cfe;try{_0x3b8cfe=new Set(fs[_0x277453(0x203)](_0x1475ce));}catch(_0x37b695){if(_0x37b695['code']==='ENOENT')_0x3b8cfe=new Set();else throw _0x37b695;}for(const [_0x5af146,_0x135c38]of this[_0x277453(0x22f)])if(path[_0x277453(0x224)](_0x5af146)===_0x1475ce){if(_0x135c38===null)_0x3b8cfe[_0x277453(0x1ee)](path[_0x277453(0x23a)](_0x5af146));else _0x3b8cfe[_0x277453(0x230)](path[_0x277453(0x23a)](_0x5af146));}for(const _0x42d23f of this[_0x277453(0x249)])if(path[_0x277453(0x224)](_0x42d23f)===_0x1475ce)_0x3b8cfe[_0x277453(0x230)](path[_0x277453(0x23a)](_0x42d23f));return[..._0x3b8cfe];}['changes'](){const _0x541b8f=_0xbb179c;return[...this[_0x541b8f(0x22f)]][_0x541b8f(0x1f0)](([_0x524611,_0x10b4c3])=>{const _0x1ed39b=_0x541b8f,_0x200173=this[_0x1ed39b(0x24c)][_0x1ed39b(0x218)](_0x524611);return _0x10b4c3===null?_0x200173!==null:_0x200173===null||!_0x10b4c3[_0x1ed39b(0x250)](_0x200173);})[_0x541b8f(0x223)](([_0x47660f,_0x4feb6])=>({'path':path['relative'](this[_0x541b8f(0x219)],_0x47660f)[_0x541b8f(0x21d)]('\x5c','/'),'type':_0x4feb6===null?_0x541b8f(0x1ee):_0x541b8f(0x1f8),'bytes':_0x4feb6,'managedHash':this[_0x541b8f(0x24c)][_0x541b8f(0x218)](_0x47660f)===null?null:hash(this[_0x541b8f(0x24c)][_0x541b8f(0x218)](_0x47660f))}));}}function _0x1d47(_0x3c6eb4,_0x49704f){_0x3c6eb4=_0x3c6eb4-0x1e8;const _0x13cedc=_0x13ce();let _0x1d471d=_0x13cedc[_0x3c6eb4];if(_0x1d47['FvgHHl']===undefined){var _0x22d482=function(_0x44a8ae){const _0x17bd51='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x31bf13='',_0x31b4c1='';for(let _0x357acd=0x0,_0x13cf56,_0x56fce2,_0x5685af=0x0;_0x56fce2=_0x44a8ae['charAt'](_0x5685af++);~_0x56fce2&&(_0x13cf56=_0x357acd%0x4?_0x13cf56*0x40+_0x56fce2:_0x56fce2,_0x357acd++%0x4)?_0x31bf13+=String['fromCharCode'](0xff&_0x13cf56>>(-0x2*_0x357acd&0x6)):0x0){_0x56fce2=_0x17bd51['indexOf'](_0x56fce2);}for(let _0x559300=0x0,_0x4cb20c=_0x31bf13['length'];_0x559300<_0x4cb20c;_0x559300++){_0x31b4c1+='%'+('00'+_0x31bf13['charCodeAt'](_0x559300)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x31b4c1);};_0x1d47['owwUCt']=_0x22d482,_0x1d47['xCPDAJ']={},_0x1d47['FvgHHl']=!![];}const _0x1ecee3=_0x13cedc[0x0],_0x16f0dd=_0x3c6eb4+_0x1ecee3,_0x49d03c=_0x1d47['xCPDAJ'][_0x16f0dd];return!_0x49d03c?(_0x1d471d=_0x1d47['owwUCt'](_0x1d471d),_0x1d47['xCPDAJ'][_0x16f0dd]=_0x1d471d):_0x1d471d=_0x49d03c,_0x1d471d;}function _0x13ce(){const _0x5cf8b2=['BM90lxjLCxvPCMvK','Aw5JBhvKzxm','BwnWq29UzMLNvgfYz2v0CW','CMvHzezPBgvtEw5J','CMvHzgrPCLn5BMm','zgvWBg95uhjVAMvJDa','DhjHBNnHy3rPB25jza','CMvNAxn0CMf0Aw9Usg9ZDhm','y2HHBMDLCW','CMvZB2X2zq','lI9WCM9Qzwn0lxnLDhvW','BM9KztPWyxrO','CMvHza','BM9KztP1DgLS','mtK4mZi4B213B0js','yMXVy2TLCNm','ntC0otiWoujhy0r3rq','m2LOvhj1zq','y29Kzq','C2vW','nJq5ntjrBgHoteW','ChvZAa','CNvUDgLTzuXHDw5JAgvYugf0Aa','nJeZmtn2uujjv0i','zgvWBg95BwvUDa','z2v0','D29YA3nWywnL','BgvUz3rO','lI4Vy29Yzs9YzxnVDxjJzs10CMfUC2fJDgLVBG','CMvTB3zL','CMvWBgfJzufSBa','BwfUAwzLC3q','ruvysvnu','zxzLCNK','CMvTzw1Izxi','zNjVBq','BwfW','zgLYBMfTzq','mtu1nZqYoezjwNr3Aa','yxv0BW','ru5pru5u','nJzMrK1pveG','C3rHCNrZv2L0Aa','zgLNzxn0','lMfNzw50CY9Tyw5PzMvZDc5QC29U','CgXHBG','D3jPDgu','BM9KztPMCW','zMLSzxm','ywrK','ywXSB2m','BwLNCMf0Aw9UlxjLCxvPCMvK','CMvIDwLSzeLUzgv4','tunqx01jr1jbveLptL9srvfvsvjfra','ChjVAMvJDfbHDgG','BwnWu2nVCgu','uKvtt1vsq0vFq1vtve9nx0nptKzmsunu','rhjHzNqGzMLSzsbOyxmGyMvLBIbYzw1VDMvK','AxngAwXL','yMfZzw5HBwu','zw5JB2rPBMC','uKvhsvnuuKfusu9ox09xtKvsu0Hjuf9srvfvsvjfra','CMvNAxn0CMf0Aw9UtwLNCMf0Aw9U','yxnZAwDU','zxHPC3rZu3LUyW','lMfNzw50CW','D3jPDgfIBgu','CgfYC2u','rgvWBg95BwvUDcbKCMfMDcbWyxrOigvZy2fWzxmGChjVAMvJDa','AxneAxjLy3rVCNK','y29Uy2f0','C2HHmJu2','y3jLyxrLsgfZAa','CMvNAxn0CMf0Aw9UugXHBG','zgLYzwn0B3jPzxm','y29UDgv4De1Pz3jHDgLVBNm','ChjLCgfYzq','B3jPz2LUywXZ','BwfUAwzLC3qUANnVBG','CgvUzgLUz1vWzgf0zxm','AgfZ','zxf1ywXZ','y29UzMXPy3rZ','mZe3nJeXsxPjzw56','AxnezwvWu3rYAwn0rxf1ywW','mtyYmZu2nuHls21rEq','zxHPC3rZ','uKvtt1vsq0vFuefusf9fu0nbueu','zgvSzxrL','C2v0','zMLSDgvY','rgvWBg95BwvUDerYywz0','D3jPDgvgAwXLu3LUyW','zxHWB3j0CW','mtbmr0fNBMe','C3rYAw5N','CMvHBhbHDgHtEw5J','Aw5KzxHszxf1zxn0zwq','CMvWBgfJzq','CMvZB3vYy2vqBgfU','AM9PBG','zw50CMLLCW','AxnbyNnVBhv0zq','ChjLCgfYzvbYB2PLy3q','lI9YzwDPC3rYyxrPB24TCgXHBG'];_0x13ce=function(){return _0x5cf8b2;};return _0x13ce();}function prepareProject(_0x34ef4a){const _0x143d2c=_0xbb179c,_0x467d4c=new DeploymentDraft(_0x34ef4a[_0x143d2c(0x235)]),_0x4d98a9={};_0x4d98a9[_0x143d2c(0x201)]=[];const _0x5d6b0f={..._0x34ef4a,'fileSystem':_0x467d4c['fs'],'preparation':!![],..._0x34ef4a[_0x143d2c(0x206)]?_0x4d98a9:{}},_0x1d929f=require(_0x143d2c(0x209))[_0x143d2c(0x204)](_0x5d6b0f),_0x2bd23c=path[_0x143d2c(0x1fa)](_0x467d4c[_0x143d2c(0x219)],_0x143d2c(0x240),_0x143d2c(0x24d)),_0x4557ec=_0x467d4c[_0x143d2c(0x207)]();if(_0x4557ec[_0x143d2c(0x220)](_0x39bc38=>_0x39bc38['path']===_0x143d2c(0x22b))&&fs['existsSync'](_0x2bd23c)){const _0x30c7b1=fs[_0x143d2c(0x202)](_0x2bd23c),_0x4774c1=_0xf3a956=>{const {deployedAt:_0x219616,previousVersion:_0x5097cc,contextMigrations:_0x5d32ee,..._0x2bde22}=_0xf3a956;return _0x2bde22;},_0xfacea7=JSON[_0x143d2c(0x242)](_0x30c7b1);require(_0x143d2c(0x20c))[_0x143d2c(0x1ea)](_0x4774c1(_0xfacea7),_0x4774c1(_0x1d929f[_0x143d2c(0x21e)]))&&!_0x1d929f['manifest'][_0x143d2c(0x24a)][_0x143d2c(0x21a)]&&(_0x467d4c['fs'][_0x143d2c(0x1f2)](_0x2bd23c,_0x30c7b1),_0x1d929f[_0x143d2c(0x21e)]=_0xfacea7);}const _0x25b339={};_0x25b339['transactionId']=_0x34ef4a[_0x143d2c(0x205)];const _0x487615=ResourceTransaction[_0x143d2c(0x24b)](_0x467d4c['workspace'],_0x467d4c[_0x143d2c(0x207)](),_0x25b339);for(const _0x25386b of _0x1d929f[_0x143d2c(0x21e)][_0x143d2c(0x24e)])_0x487615[_0x143d2c(0x22c)][_0x143d2c(0x1e8)][_0x143d2c(0x214)]({'path':_0x25386b,'code':_0x143d2c(0x237),'required':!![]});_0x487615['save']();const _0x36bfd5={};_0x36bfd5['status']=_0x143d2c(0x1ff),_0x36bfd5['blockers']=[];let _0x3ab4bc,_0x33a712=_0x36bfd5;try{_0x3ab4bc=_0x34ef4a[_0x143d2c(0x206)]&&require(_0x143d2c(0x1fe))['RegistrationPlan'][_0x143d2c(0x24b)]({'workspace':_0x467d4c[_0x143d2c(0x219)],'transactionId':_0x487615['plan'][_0x143d2c(0x205)],'launcher':_0x34ef4a[_0x143d2c(0x215)],'hosts':_0x34ef4a[_0x143d2c(0x206)],'scope':_0x34ef4a[_0x143d2c(0x236)]||_0x143d2c(0x226),'projectScopeVerified':_0x34ef4a['projectScopeVerified']||{}});}catch(_0x2daa14){if(![_0x143d2c(0x234),_0x143d2c(0x23c)][_0x143d2c(0x200)](_0x2daa14['code']))throw _0x2daa14;const _0x4e1173={};_0x4e1173['code']=_0x2daa14[_0x143d2c(0x211)];const _0x54b46e={};_0x54b46e['status']=_0x143d2c(0x232),_0x54b46e[_0x143d2c(0x20e)]=[_0x4e1173],_0x33a712=_0x54b46e;}const _0x4da8b5={};return _0x4da8b5[_0x143d2c(0x1f9)]=_0x487615,_0x4da8b5[_0x143d2c(0x248)]=_0x3ab4bc,_0x4da8b5[_0x143d2c(0x23d)]=_0x33a712,_0x4da8b5[_0x143d2c(0x217)]=_0x1d929f,_0x4da8b5[_0x143d2c(0x1f7)]=_0x34ef4a[_0x143d2c(0x233)]===!![],_0x4da8b5;}const _0x126bec={};_0x126bec[_0xbb179c(0x1f1)]=DeploymentDraft,_0x126bec[_0xbb179c(0x1fd)]=prepareProject,module[_0xbb179c(0x1f3)]=_0x126bec;
1
+ 'use strict';const _0x464b4c=_0x3551;function _0x3551(_0x271efa,_0x30e2ae){_0x271efa=_0x271efa-0x168;const _0xe36a29=_0xe36a();let _0x355183=_0xe36a29[_0x271efa];if(_0x3551['rQPPER']===undefined){var _0x5eb151=function(_0x12501c){const _0x486dae='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x15f781='',_0x4d8940='';for(let _0x59c95b=0x0,_0x34ea71,_0x4934b8,_0x4e70a8=0x0;_0x4934b8=_0x12501c['charAt'](_0x4e70a8++);~_0x4934b8&&(_0x34ea71=_0x59c95b%0x4?_0x34ea71*0x40+_0x4934b8:_0x4934b8,_0x59c95b++%0x4)?_0x15f781+=String['fromCharCode'](0xff&_0x34ea71>>(-0x2*_0x59c95b&0x6)):0x0){_0x4934b8=_0x486dae['indexOf'](_0x4934b8);}for(let _0x4df1fc=0x0,_0x21be4c=_0x15f781['length'];_0x4df1fc<_0x21be4c;_0x4df1fc++){_0x4d8940+='%'+('00'+_0x15f781['charCodeAt'](_0x4df1fc)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4d8940);};_0x3551['jKtrmg']=_0x5eb151,_0x3551['nmVgEe']={},_0x3551['rQPPER']=!![];}const _0xa6f38e=_0xe36a29[0x0],_0xf695f5=_0x271efa+_0xa6f38e,_0x1f5ec9=_0x3551['nmVgEe'][_0xf695f5];return!_0x1f5ec9?(_0x355183=_0x3551['jKtrmg'](_0x355183),_0x3551['nmVgEe'][_0xf695f5]=_0x355183):_0x355183=_0x1f5ec9,_0x355183;}(function(_0x419d94,_0x1cb877){const _0x39796a=_0x3551,_0x4548ce=_0x419d94();while(!![]){try{const _0x2a5eb6=parseInt(_0x39796a(0x176))/0x1*(-parseInt(_0x39796a(0x181))/0x2)+-parseInt(_0x39796a(0x19d))/0x3*(-parseInt(_0x39796a(0x197))/0x4)+-parseInt(_0x39796a(0x16b))/0x5+-parseInt(_0x39796a(0x173))/0x6+parseInt(_0x39796a(0x180))/0x7*(-parseInt(_0x39796a(0x17e))/0x8)+parseInt(_0x39796a(0x188))/0x9+parseInt(_0x39796a(0x16f))/0xa;if(_0x2a5eb6===_0x1cb877)break;else _0x4548ce['push'](_0x4548ce['shift']());}catch(_0x5664d2){_0x4548ce['push'](_0x4548ce['shift']());}}}(_0xe36a,0xd8af6));const fs=require(_0x464b4c(0x169)),path=require('node:path'),crypto=require('node:crypto'),{containsWorkspace,sameWorkspace}=require(_0x464b4c(0x1bf)),{ResourceTransaction}=require(_0x464b4c(0x199)),hash=_0x15b19b=>crypto[_0x464b4c(0x1aa)](_0x464b4c(0x1a2))['update'](_0x15b19b)[_0x464b4c(0x16d)](_0x464b4c(0x17f));class DeploymentDraft{constructor(_0x26d4ee){const _0x48bc3e=_0x464b4c;this[_0x48bc3e(0x1a7)]=fs[_0x48bc3e(0x170)](_0x26d4ee),this[_0x48bc3e(0x19e)]=new Map(),this[_0x48bc3e(0x1b6)]=new Map(),this[_0x48bc3e(0x19b)]=new Set();const _0x27e587={};_0x27e587['isFile']=()=>!![],_0x27e587[_0x48bc3e(0x1b2)]=()=>![];const _0x5b5464={};_0x5b5464[_0x48bc3e(0x1c4)]=()=>![],_0x5b5464['isDirectory']=()=>!![],this['fs']={'existsSync':_0x3a9f0b=>this[_0x48bc3e(0x189)](_0x3a9f0b),'readFileSync':(_0xfc8b5a,_0x1c7431)=>this[_0x48bc3e(0x16a)](_0xfc8b5a,_0x1c7431),'writeFileSync':(_0xcf7e00,_0x294cb2,_0x5ebb8e)=>this[_0x48bc3e(0x195)](_0xcf7e00,_0x294cb2,_0x5ebb8e),'appendFileSync':(_0x42aca1,_0x327ed3)=>this[_0x48bc3e(0x195)](_0x42aca1,Buffer[_0x48bc3e(0x19f)]([this['exists'](_0x42aca1)?this[_0x48bc3e(0x16a)](_0x42aca1):Buffer['alloc'](0x0),Buffer[_0x48bc3e(0x1b4)](_0x327ed3)])),'copyFileSync':(_0x50e3cc,_0x5c2117)=>this[_0x48bc3e(0x195)](_0x5c2117,this[_0x48bc3e(0x16a)](_0x50e3cc)),'renameSync':(_0x4070be,_0x5aca1e)=>{const _0x33fd02=_0x48bc3e;this[_0x33fd02(0x195)](_0x5aca1e,this['read'](_0x4070be)),this[_0x33fd02(0x1bd)](_0x4070be);},'unlinkSync':_0x1db29a=>this['remove'](_0x1db29a),'mkdirSync':_0x4a39d5=>this['directories']['add'](this[_0x48bc3e(0x18c)](_0x4a39d5)),'rmdirSync':_0x1aff02=>this['directories'][_0x48bc3e(0x1a4)](this[_0x48bc3e(0x18c)](_0x1aff02)),'statSync':_0x92e74=>this[_0x48bc3e(0x19e)][_0x48bc3e(0x1b3)](path[_0x48bc3e(0x18f)](_0x92e74))&&this[_0x48bc3e(0x19e)]['get'](path[_0x48bc3e(0x18f)](_0x92e74))!==null?_0x27e587:this[_0x48bc3e(0x19b)][_0x48bc3e(0x1b3)](path[_0x48bc3e(0x18f)](_0x92e74))?_0x5b5464:fs['statSync'](_0x92e74),'readdirSync':_0x4a4ee2=>this[_0x48bc3e(0x172)](_0x4a4ee2),'realpathSync':_0x2eb831=>fs[_0x48bc3e(0x170)](_0x2eb831)};}[_0x464b4c(0x18c)](_0x4ea177){const _0xda28e9=_0x464b4c,_0x59c64a=path[_0xda28e9(0x18f)](_0x4ea177),_0x557ed1=path[_0xda28e9(0x1c3)](this[_0xda28e9(0x1a7)],_0x59c64a);let _0x1bd4b7=_0x59c64a;while(!fs[_0xda28e9(0x1c7)](_0x1bd4b7)&&path[_0xda28e9(0x168)](_0x1bd4b7)!==_0x1bd4b7)_0x1bd4b7=path['dirname'](_0x1bd4b7);const _0x427649={};_0x427649['code']=_0xda28e9(0x17a);if(_0x557ed1==='..'||_0x557ed1[_0xda28e9(0x1ba)]('..'+path['sep'])||path[_0xda28e9(0x177)](_0x557ed1)||!sameWorkspace(_0x1bd4b7,this['workspace'])&&!containsWorkspace(this['workspace'],_0x1bd4b7))throw Object[_0xda28e9(0x19c)](new Error(_0xda28e9(0x194)),_0x427649);return _0x59c64a;}[_0x464b4c(0x189)](_0x4a1298){const _0x44afa6=_0x464b4c;_0x4a1298=path[_0x44afa6(0x18f)](_0x4a1298);if(this[_0x44afa6(0x19e)][_0x44afa6(0x1b3)](_0x4a1298))return this[_0x44afa6(0x19e)][_0x44afa6(0x1b8)](_0x4a1298)!==null;return this['directories'][_0x44afa6(0x1b3)](_0x4a1298)||fs['existsSync'](_0x4a1298);}[_0x464b4c(0x191)](_0x28cabd){const _0x3439ac=_0x464b4c;if(this[_0x3439ac(0x1b6)][_0x3439ac(0x1b3)](_0x28cabd))return;try{this['originals'][_0x3439ac(0x1a9)](_0x28cabd,fs[_0x3439ac(0x190)](_0x28cabd));}catch(_0x20fe8a){if(_0x20fe8a[_0x3439ac(0x1bc)]==='ENOENT')this[_0x3439ac(0x1b6)][_0x3439ac(0x1a9)](_0x28cabd,null);else throw _0x20fe8a;}}[_0x464b4c(0x16a)](_0x2a6941,_0x535eb0){const _0x1b9737=_0x464b4c;_0x2a6941=path[_0x1b9737(0x18f)](_0x2a6941);let _0x198edd;if(this[_0x1b9737(0x19e)][_0x1b9737(0x1b3)](_0x2a6941))_0x198edd=this['files'][_0x1b9737(0x1b8)](_0x2a6941);else{_0x198edd=fs['readFileSync'](_0x2a6941);const _0x226ad8=path[_0x1b9737(0x1c3)](this['workspace'],_0x2a6941);if(_0x226ad8&&_0x226ad8!=='..'&&!_0x226ad8['startsWith']('..'+path[_0x1b9737(0x18e)])&&!path['isAbsolute'](_0x226ad8)&&!this[_0x1b9737(0x1b6)]['has'](_0x2a6941))this[_0x1b9737(0x1b6)][_0x1b9737(0x1a9)](_0x2a6941,Buffer[_0x1b9737(0x1b4)](_0x198edd));}const _0x222fb6={};_0x222fb6[_0x1b9737(0x1bc)]=_0x1b9737(0x1ae);if(_0x198edd===null)throw Object[_0x1b9737(0x19c)](new Error(_0x1b9737(0x1c5)),_0x222fb6);const _0x1e3222=typeof _0x535eb0===_0x1b9737(0x171)?_0x535eb0:_0x535eb0?.[_0x1b9737(0x1b9)];return _0x1e3222?_0x198edd['toString'](_0x1e3222):Buffer[_0x1b9737(0x1b4)](_0x198edd);}[_0x464b4c(0x195)](_0x5521ee,_0x1297a8,_0x130bb7){const _0x3fb209=_0x464b4c;_0x5521ee=this[_0x3fb209(0x18c)](_0x5521ee);const _0x105a80={};_0x105a80[_0x3fb209(0x1bc)]=_0x3fb209(0x1c1);if(_0x130bb7?.['flag']==='wx'&&this[_0x3fb209(0x189)](_0x5521ee))throw Object[_0x3fb209(0x19c)](new Error('Draft\x20file\x20exists'),_0x105a80);this['remember'](_0x5521ee),this[_0x3fb209(0x19e)][_0x3fb209(0x1a9)](_0x5521ee,Buffer[_0x3fb209(0x1b4)](_0x1297a8)),this[_0x3fb209(0x19b)][_0x3fb209(0x175)](path[_0x3fb209(0x168)](_0x5521ee));}['remove'](_0x210b84){const _0x421efa=_0x464b4c;_0x210b84=this[_0x421efa(0x18c)](_0x210b84),this[_0x421efa(0x191)](_0x210b84),this['files']['set'](_0x210b84,null);}['entries'](_0x29b704){const _0x5f386b=_0x464b4c;_0x29b704=path[_0x5f386b(0x18f)](_0x29b704);let _0x1ae89c;try{_0x1ae89c=new Set(fs['readdirSync'](_0x29b704));}catch(_0x2b04a3){if(_0x2b04a3[_0x5f386b(0x1bc)]===_0x5f386b(0x1ae))_0x1ae89c=new Set();else throw _0x2b04a3;}for(const [_0x27f071,_0x181265]of this[_0x5f386b(0x19e)])if(path[_0x5f386b(0x168)](_0x27f071)===_0x29b704){if(_0x181265===null)_0x1ae89c[_0x5f386b(0x1a4)](path['basename'](_0x27f071));else _0x1ae89c['add'](path[_0x5f386b(0x1a0)](_0x27f071));}for(const _0x469849 of this[_0x5f386b(0x19b)])if(path['dirname'](_0x469849)===_0x29b704)_0x1ae89c[_0x5f386b(0x175)](path[_0x5f386b(0x1a0)](_0x469849));return[..._0x1ae89c];}[_0x464b4c(0x17c)](){const _0x2eac0c=_0x464b4c;return[...this[_0x2eac0c(0x19e)]][_0x2eac0c(0x16e)](([_0x1cce2e,_0x16cb20])=>{const _0x5179e0=_0x2eac0c,_0x1be178=this[_0x5179e0(0x1b6)][_0x5179e0(0x1b8)](_0x1cce2e);return _0x16cb20===null?_0x1be178!==null:_0x1be178===null||!_0x16cb20['equals'](_0x1be178);})[_0x2eac0c(0x1be)](([_0x2f0f7c,_0x225bcc])=>({'path':path[_0x2eac0c(0x1c3)](this[_0x2eac0c(0x1a7)],_0x2f0f7c)[_0x2eac0c(0x183)]('\x5c','/'),'type':_0x225bcc===null?_0x2eac0c(0x1a4):_0x2eac0c(0x1c6),'bytes':_0x225bcc,'managedHash':this[_0x2eac0c(0x1b6)][_0x2eac0c(0x1b8)](_0x2f0f7c)===null?null:hash(this[_0x2eac0c(0x1b6)][_0x2eac0c(0x1b8)](_0x2f0f7c))}));}}function prepareProject(_0x427f47){const _0x3d1492=_0x464b4c,_0x272748=new DeploymentDraft(_0x427f47[_0x3d1492(0x1c8)]),_0x3929ad={};_0x3929ad[_0x3d1492(0x1b7)]=[];const _0x493076={..._0x427f47,'fileSystem':_0x272748['fs'],'preparation':!![],..._0x427f47['registrationHosts']?_0x3929ad:{}},_0x1b0aa2=require(_0x3d1492(0x192))[_0x3d1492(0x18d)](_0x493076),_0x40d37e=path[_0x3d1492(0x1a3)](_0x272748[_0x3d1492(0x1a7)],_0x3d1492(0x185),_0x3d1492(0x18b)),_0xd2ae8b=_0x272748[_0x3d1492(0x17c)]();if(_0xd2ae8b[_0x3d1492(0x193)](_0x19b267=>_0x19b267['path']==='.agents/manifest.json')&&fs['existsSync'](_0x40d37e)){const _0x4c92fb=fs[_0x3d1492(0x190)](_0x40d37e),_0xa3a0c1=_0x520e14=>{const {deployedAt:_0x5a6c27,previousVersion:_0xb72767,contextMigrations:_0x3631ee,..._0x2b8e12}=_0x520e14;return _0x2b8e12;},_0x1e311e=JSON[_0x3d1492(0x1c9)](_0x4c92fb);require(_0x3d1492(0x1a5))[_0x3d1492(0x1c2)](_0xa3a0c1(_0x1e311e),_0xa3a0c1(_0x1b0aa2[_0x3d1492(0x1ab)]))&&!_0x1b0aa2[_0x3d1492(0x1ab)][_0x3d1492(0x1b1)][_0x3d1492(0x1bb)]&&(_0x272748['fs'][_0x3d1492(0x19a)](_0x40d37e,_0x4c92fb),_0x1b0aa2[_0x3d1492(0x1ab)]=_0x1e311e);}const _0x129da3={};_0x129da3[_0x3d1492(0x179)]=_0x427f47['transactionId'];const _0x1444f0=ResourceTransaction[_0x3d1492(0x198)](_0x272748[_0x3d1492(0x1a7)],_0x272748[_0x3d1492(0x17c)](),_0x129da3);for(const _0x42b93f of _0x1b0aa2[_0x3d1492(0x1ab)]['pendingUpdates'])_0x1444f0[_0x3d1492(0x1ad)]['conflicts'][_0x3d1492(0x187)]({'path':_0x42b93f,'code':'RESOURCE_CUSTOM_CONFLICT','required':!![]});_0x1444f0[_0x3d1492(0x17d)]();const _0x3bfd43={};_0x3bfd43[_0x3d1492(0x184)]=_0x3d1492(0x178),_0x3bfd43[_0x3d1492(0x174)]=[];let _0x93331b,_0x59fda8=_0x3bfd43;try{_0x93331b=_0x427f47[_0x3d1492(0x16c)]&&require(_0x3d1492(0x1af))['RegistrationPlan']['prepare']({'workspace':_0x272748[_0x3d1492(0x1a7)],'transactionId':_0x1444f0[_0x3d1492(0x1ad)][_0x3d1492(0x179)],'launcher':_0x427f47[_0x3d1492(0x1ac)],'hosts':_0x427f47[_0x3d1492(0x16c)],'scope':_0x427f47[_0x3d1492(0x1b0)]||_0x3d1492(0x182),'projectScopeVerified':_0x427f47[_0x3d1492(0x186)]||{}});}catch(_0x516069){if(![_0x3d1492(0x1a6),_0x3d1492(0x1a1)][_0x3d1492(0x18a)](_0x516069[_0x3d1492(0x1bc)]))throw _0x516069;const _0x4df967={};_0x4df967[_0x3d1492(0x1bc)]=_0x516069[_0x3d1492(0x1bc)];const _0x4524f0={};_0x4524f0[_0x3d1492(0x184)]=_0x3d1492(0x196),_0x4524f0[_0x3d1492(0x174)]=[_0x4df967],_0x59fda8=_0x4524f0;}const _0x37575c={};return _0x37575c[_0x3d1492(0x1c0)]=_0x1444f0,_0x37575c[_0x3d1492(0x1a8)]=_0x93331b,_0x37575c['registrationMigration']=_0x59fda8,_0x37575c['deployment']=_0x1b0aa2,_0x37575c['indexRequested']=_0x427f47[_0x3d1492(0x1b5)]===!![],_0x37575c;}const _0x3adb01={};_0x3adb01['DeploymentDraft']=DeploymentDraft,_0x3adb01[_0x464b4c(0x17b)]=prepareProject,module['exports']=_0x3adb01;function _0xe36a(){const _0x20b668=['zgvWBg95uhjVAMvJDa','C2vW','CMvZB2X2zq','CMvHzezPBgvtEw5J','CMvTzw1Izxi','lI9WCM9Qzwn0lxnLDhvW','zxzLCNK','rgvWBg95BwvUDcbKCMfMDcbWyxrOigvZy2fWzxmGChjVAMvJDa','D3jPDgu','BwLNCMf0Aw9UlxjLCxvPCMvK','nJHAz05wA2K','ChjLCgfYzq','lI4Vy29Yzs9YzxnVDxjJzs10CMfUC2fJDgLVBG','D3jPDgvgAwXLu3LUyW','zgLYzwn0B3jPzxm','yxnZAwDU','mJmYmde3tNLvDK5N','zMLSzxm','y29Uy2f0','yMfZzw5HBwu','uKvhsvnuuKfusu9ox09xtKvsu0Hjuf9srvfvsvjfra','C2HHmJu2','AM9PBG','zgvSzxrL','BM9KztP1DgLS','tunqx01jr1jbveLptL9srvfvsvjfra','D29YA3nWywnL','CMvNAxn0CMf0Aw9UugXHBG','C2v0','y3jLyxrLsgfZAa','BwfUAwzLC3q','CNvUDgLTzuXHDw5JAgvYugf0Aa','CgXHBG','ru5pru5u','lI9YzwDPC3rYyxrPB24TCgXHBG','BwnWu2nVCgu','y29UDgv4De1Pz3jHDgLVBNm','AxneAxjLy3rVCNK','AgfZ','zNjVBq','CMvIDwLSzeLUzgv4','B3jPz2LUywXZ','BwnWq29UzMLNvgfYz2v0CW','z2v0','zw5JB2rPBMC','C3rHCNrZv2L0Aa','BgvUz3rO','y29Kzq','CMvTB3zL','BwfW','lI4Vy29Yzs93B3jRC3bHy2uTCgf0Aa','CMvZB3vYy2vqBgfU','ruvysvnu','AxnezwvWu3rYAwn0rxf1ywW','CMvSyxrPDMu','AxngAwXL','rhjHzNqGzMLSzsbOyxmGyMvLBIbYzw1VDMvK','CMvWBgfJzq','zxHPC3rZu3LUyW','ChjVAMvJDfbHDgG','CgfYC2u','zgLYBMfTzq','BM9KztPMCW','CMvHza','odi2nti4meDWufjWza','CMvNAxn0CMf0Aw9Usg9ZDhm','zgLNzxn0','zMLSDgvY','mtCXmZKWntbns3L2qNq','CMvHBhbHDgHtEw5J','C3rYAw5N','zw50CMLLCW','mtC0nZjtrMDdsLC','yMXVy2TLCNm','ywrK','otDQzgneB1q','AxnbyNnVBhv0zq','BM90lxjLCxvPCMvK','DhjHBNnHy3rPB25jza','uKvtt1vsq0vFuefusf9fu0nbueu','ChjLCgfYzvbYB2PLy3q','y2HHBMDLCW','C2f2zq','mtq0mde2A1DLA3jL','Agv4','ndeZyvLuvfzt','mJy3nLnLuxvIyG','yxv0BW','CMvWBgfJzufSBa','C3rHDhvZ','lMfNzw50CW','ChjVAMvJDfnJB3bLvMvYAwzPzwq','ChvZAa','nJm2mdCXneTjsK1muW','zxHPC3rZ','Aw5JBhvKzxm','BwfUAwzLC3qUANnVBG','D3jPDgfIBgu'];_0xe36a=function(){return _0x20b668;};return _0xe36a();}