apt-mcp-agent-setup 3.5.31 → 3.5.35

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 (162) hide show
  1. package/README.md +1 -1
  2. package/bin/cli.js +1 -1
  3. package/build-input.json +34 -22
  4. package/bundle/NOTICES.md +0 -0
  5. package/bundle/core.enc +0 -0
  6. package/bundle/mcp-rules.enc +0 -0
  7. package/bundle/skills-aso.enc +0 -0
  8. package/bundle/skills-ba.enc +0 -0
  9. package/bundle/skills-base.enc +0 -0
  10. package/bundle/skills-be.enc +0 -0
  11. package/bundle/skills-design.enc +0 -0
  12. package/bundle/skills-fe.enc +0 -0
  13. package/bundle/skills-marketing.enc +0 -0
  14. package/bundle/skills-mobile.enc +0 -0
  15. package/bundle/skills-pm.enc +0 -0
  16. package/integrity-manifest.json +162 -161
  17. package/package.json +1 -1
  18. package/src/backends/browser-tools.js +1 -1
  19. package/src/backends/index-cache-authority.js +1 -1
  20. package/src/backends/index-command.js +1 -1
  21. package/src/backends/index-maintenance.js +1 -1
  22. package/src/backends/index-store.js +1 -1
  23. package/src/backends/profiles.js +1 -1
  24. package/src/backends/source-discovery.js +1 -1
  25. package/src/core/admission-fence.js +1 -1
  26. package/src/core/aso-import.js +1 -1
  27. package/src/core/backend-lease-recovery.js +1 -1
  28. package/src/core/boot-evidence.js +1 -1
  29. package/src/core/caller-context.js +1 -1
  30. package/src/core/catalog.js +1 -1
  31. package/src/core/claude-caller-authority.js +1 -1
  32. package/src/core/claude-invocation.js +1 -1
  33. package/src/core/claude-launch-recovery.js +1 -1
  34. package/src/core/claude-native.js +1 -1
  35. package/src/core/claude-plan.js +1 -1
  36. package/src/core/claude-transcript-scan.js +1 -1
  37. package/src/core/claude-worker-transcript.js +1 -1
  38. package/src/core/codex-host-metadata.js +1 -1
  39. package/src/core/codex-transcript-receipt.js +1 -1
  40. package/src/core/connection-inspector.js +1 -1
  41. package/src/core/content-hash-cache.js +1 -1
  42. package/src/core/context-metrics.js +1 -1
  43. package/src/core/doctor.js +1 -1
  44. package/src/core/draining-completion.js +1 -1
  45. package/src/core/execution.js +1 -1
  46. package/src/core/git-context.js +1 -1
  47. package/src/core/hook-bridge.js +1 -1
  48. package/src/core/hook-diagnostics.js +1 -1
  49. package/src/core/hook-lease.js +1 -1
  50. package/src/core/host-adapters.js +1 -1
  51. package/src/core/interrupted-boot-transport-proof.js +1 -1
  52. package/src/core/interrupted-natural-closure-proof.js +1 -1
  53. package/src/core/interrupted-operation-audit.js +1 -1
  54. package/src/core/interrupted-transport-proof.js +1 -1
  55. package/src/core/ipc-envelope.js +1 -1
  56. package/src/core/legacy-retirement-proof.js +1 -1
  57. package/src/core/memory-scope.js +1 -1
  58. package/src/core/memory-store.js +1 -1
  59. package/src/core/model-inventory.js +1 -1
  60. package/src/core/model-routing.js +1 -1
  61. package/src/core/native-dispatch.js +1 -1
  62. package/src/core/native-receipt.js +1 -1
  63. package/src/core/native-retirement.js +1 -1
  64. package/src/core/node-version.js +1 -1
  65. package/src/core/npm-cli.js +1 -1
  66. package/src/core/owned-command-child.js +1 -1
  67. package/src/core/owned-command.js +1 -1
  68. package/src/core/owned-lock.js +1 -1
  69. package/src/core/owned-process.js +1 -1
  70. package/src/core/pipeline-journal.js +1 -1
  71. package/src/core/presentations.js +1 -1
  72. package/src/core/quality-artifacts.js +1 -1
  73. package/src/core/quality.js +1 -1
  74. package/src/core/read-command.js +1 -1
  75. package/src/core/readonly-skill.js +1 -1
  76. package/src/core/recovery-archive.js +1 -1
  77. package/src/core/recovery-proof.js +1 -1
  78. package/src/core/resource-transaction.js +1 -1
  79. package/src/core/run-checkpoint.js +1 -1
  80. package/src/core/run-compatibility.js +1 -1
  81. package/src/core/run-state-codec.js +1 -1
  82. package/src/core/runtime-authority.js +1 -1
  83. package/src/core/runtime-info.js +1 -1
  84. package/src/core/runtime-ownership.js +1 -1
  85. package/src/core/session.js +1 -1
  86. package/src/core/shared-checkout.js +1 -1
  87. package/src/core/skill-companions.js +1 -1
  88. package/src/core/skill-names.js +1 -1
  89. package/src/core/storage-retry.js +1 -1
  90. package/src/core/tool-contracts.js +1 -1
  91. package/src/core/update-control.js +1 -1
  92. package/src/core/upgrade-runs.js +1 -1
  93. package/src/core/upgrade-stop.js +1 -1
  94. package/src/core/windows-job.js +1 -1
  95. package/src/core/workflow-policy.js +1 -1
  96. package/src/core/workspace-generation.js +1 -1
  97. package/src/core/workspace-path.js +1 -1
  98. package/src/installer/bounded-command.js +1 -1
  99. package/src/installer/candidate-preflight.js +1 -1
  100. package/src/installer/claude-commands.js +1 -1
  101. package/src/installer/connection-activation.js +1 -1
  102. package/src/installer/connection-supervisor.js +1 -1
  103. package/src/installer/deployment-draft.js +1 -1
  104. package/src/installer/gateway-context.js +1 -1
  105. package/src/installer/gateway-migration.js +1 -1
  106. package/src/installer/gateway-runtime.js +1 -1
  107. package/src/installer/global-setup.js +1 -1
  108. package/src/installer/hook-context-client.js +1 -1
  109. package/src/installer/host-hooks.js +1 -1
  110. package/src/installer/index-interruption-recovery.js +1 -1
  111. package/src/installer/index-recovery.js +1 -1
  112. package/src/installer/install-intent.js +1 -1
  113. package/src/installer/interrupted-operation-recovery.js +1 -1
  114. package/src/installer/legacy-prepared-plan.js +1 -1
  115. package/src/installer/legacy-registration.js +1 -1
  116. package/src/installer/managed-config.js +1 -1
  117. package/src/installer/migration-scope.js +1 -1
  118. package/src/installer/platform-config.js +1 -1
  119. package/src/installer/prerequisites.js +1 -1
  120. package/src/installer/presentations.js +1 -1
  121. package/src/installer/project-outcome.js +1 -1
  122. package/src/installer/project-setup.js +1 -1
  123. package/src/installer/recovery-backup-retention.js +1 -1
  124. package/src/installer/registration-closure.js +1 -1
  125. package/src/installer/registration-plan.js +1 -1
  126. package/src/installer/registration-receipt.js +1 -1
  127. package/src/installer/registrations.js +1 -1
  128. package/src/installer/runtime-activation.js +1 -1
  129. package/src/installer/runtime-child.js +1 -1
  130. package/src/installer/runtime-cleanup.js +1 -1
  131. package/src/installer/runtime-lock.js +1 -1
  132. package/src/installer/runtime-store.js +1 -1
  133. package/src/installer/runtime-supervisor.js +1 -1
  134. package/src/installer/setup-wizard.js +1 -1
  135. package/src/installer/stale-run-release.js +1 -1
  136. package/src/installer/update-addons.js +1 -1
  137. package/src/installer/update-cleanup.js +1 -1
  138. package/src/installer/update-executor.js +1 -1
  139. package/src/installer/update-history.js +1 -1
  140. package/src/installer/update-registration.js +1 -1
  141. package/src/installer/update-report.js +1 -1
  142. package/src/installer/update-request.js +1 -1
  143. package/src/installer/update-scope.js +1 -1
  144. package/src/installer/workspace-registry.js +1 -1
  145. package/src/installer/workspace-transaction.js +1 -1
  146. package/src/installer/workspace-update.js +1 -1
  147. package/src/license/crypto.js +1 -1
  148. package/src/license/fingerprint.js +1 -1
  149. package/src/license/terms.js +1 -1
  150. package/src/license/verify.js +1 -1
  151. package/src/presets/index.js +1 -1
  152. package/src/proxy/backends.js +1 -1
  153. package/src/proxy/browser-sessions.js +1 -1
  154. package/src/proxy/core-tools.js +1 -1
  155. package/src/proxy/pipeline.js +1 -1
  156. package/src/proxy/public-catalog.js +1 -1
  157. package/src/proxy/router.config.js +1 -1
  158. package/src/proxy/router.js +1 -1
  159. package/src/proxy/run-summary.js +1 -0
  160. package/src/proxy/server.js +1 -1
  161. package/src/proxy/workspace-gateway.js +1 -1
  162. package/src/templates/mcp-tools.md +3 -3
@@ -1 +1 @@
1
- 'use strict';const _0x39a322=_0x36fb;function _0x2e62(){const _0x6f9efa=['q2fUzgLKyxrLihjLC291CMnLCYbVCIbJyxrHBg9NigrVig5VDcbTyxrJAcb0CMfUC2fJDgLVBG','lI4Vy29Yzs9VD25Lzc1SB2nR','Aw5WDxrdAgfPBG','CgLUzW','Cgf1C2u','BgvNywn5lw93BMvYC2HPCc11BNzLCMLMAwvK','CgvUzgLUzY1ZywzLlwjVDw5Kyxj5','Aw5PDgLHBgL6zwq','q29TBwL0DgvKigDLBMvYyxrPB24GCMvXDwLYzxmGCM9SBcbMB3j3yxjK','zw5HyMXLlw93BMvKlw9WzxjHDgLVBNm','CMvSzwfZzxm','z2v0','CMvMCMvZAfn0yxj0DxbtDgf0zq','zxzLCNK','q0HjterFrvHjvf9usu1ft1vu','DgLJA2v0','q2fUzgLKyxrLig9WzxjHDgLVBIbOyxmGysbZDgfSzsb3B3jRC3bHy2uGzxbVy2G','uhjLCgfYzwqGy2fUzgLKyxrLihr1CgXLignOyw5Nzwq','CM9VDfbHDgG','DxnLze5VBMnLCW','BgLZDf9JB2rLx2zPBgvZ','zMLSDgvY','uNvUDgLTzsbJAgLSzcbKAwqGBM90igv4Axq','Bw9Kzq','AM9PBG','lI4Vy29Yzs9PCgmTzw52zwXVCgu','Dg9VBhmVBgLZDa','DgfYz2v0vMvYC2LVBG','Aw52B2nHDgLVBKLK','zxjYB3i','lMfNzw50CW','BMfTzq','zgvZDhjVEq','DxrMoa','zhjHAw5PBMC','B25Jzq','C2HHmJu2','lNnVy2S','C29Tzq','BgLZDgvU','B3bLBLn5BMm','CgvYC2LZDenHBMrPzgf0zq','z2f0zxDHEs1IAw5KAw5N','BwfW','CNvUDgLTzs1JAgLSzc1JBg9Zzwq','C2vJCMv0','Dxb0Aw1L','lMTLEq','C2vJCMv0ugf0Aa','q0HjterFu1rbuLrFveLnru9vva','D2LUmZi','C2H1DgrVD25fDMLKzw5Jzq','CM9VDfvYAq','ChjLCgfYzwruCMfUC2fJDgLVBG','mteZnde2mxH5wwLJtG','CMvTB3zLrxzLBNrmAxn0zw5LCG','BwTKAxjtEw5J','sg9ZDcbTDxn0ihjLzNjLC2GGAxrZignHDgfSB2C','BM90qwz0zxi','zxHWBgLJAxrxB3jRC3bHy2u','C3rKAw4','zxHWzwn0zwrcB290','C3rVCc1MB3iTDxbKyxrL','AxnZDwuTy29UDgv4Da','CgLWzwXPBMvFC3rHDhvZ','zMLUzf9JywXSzwvZ','D2f0y2Hqzw5KAw5NrxHLy3v0B3i','CMvSzwfZzq','r0vorvjbveLptL9vtKnptKzjuK1fra','DgLJA2v0CW','y29TBwL0r2vUzxjHDgLVBG','yMfJA2vUza','ywXSB3DLza','q2fUzgLKyxrLihjLBgvHC2uGzg9LCYbUB3qGBwf0y2GGDhjHBNnHy3rPB24','C3rKzxjY','r0furvDbwv9csu5esu5hx1jfuvvjuKve','ugfYC2uGzxjYB3i','rvHfq1vut1jFu1rbuLrFrKfjteve','y29UBMvJDgLVBNm','ywjVCNq','Aw5JBhvKzxm','zMLSztO','Cgf0Aa','q0foreLeqvrfx1rvueXfx01ju01bveni','B3bLCMf0Aw9Uqwn0AxzHDgLVBG','ywrTAxnZAw9UlwnOzwnR','ufjpq0vtu19uuKvfx1nut1bFvu5dt05gsvjnruq6ihbYAw9Yihj1BNrPBwuGB3DUzxjZAgLWihjLCxvPCMvZihjLy292zxj5','lI4Vy29Yzs9YDw50Aw1Llwf1DgHVCML0Eq','BM9KztP1CMW','Aw5PDgLHBgL6zunHBMrPzgf0zq','zw5KCg9PBNq','ChjVy2vZC1n0yxj0','C3rHCNr1Cfn0yxrL','ndi1mdi4A0nlvfP5','lI4Vy29Yzs9OB29RlwXLyxnL','B3bLBG','D29YA3nWywnLlxjVBgXIywnR','C2v0','D3jPDgviB3n0','uKvrvuvtvf9jrf9dt05gteLdva','BM9KztPUzxq','Ag9VA0XLyxnL','C3rVCfbYB21PC2u','C2LNBMfS','CMvZDg9Yzq','z3jHy2vnCW','y29UBMvJDgLUzW','CgXHDgzVCM0','BwfJ','y2fUzgLKyxrLvhvWBgu','Ag9ZDfnLC3nPB25jza','C3rYAw5N','lNrYyw5Zywn0Aw9UlMPZB24','C3rVCfjLyxnVBG','CMvXDwLYzxnqCM9JzxnZrgLZCgf0y2G','CgvUzgLUzW','y2HPBgrfBNzPCM9UBwvUDa','D29YA3nWywnL','y2XVC2LUzW','ANnVBNjWyW','mZuZndyZmhztyNDyDG','DhjPBq','lMfNzw50CY9YDw50Aw1Ll2nVBM5Ly3rPB25Z','yxnZAwDU','DxbKyxrLlxrYyw5Zywn0Aw9UlMPZB24','y2fWDhvYzvjLz2LZDhjHDgLVBNm','ChvIBgLJs2v5','y29UDhjVBenHBMrPzgf0zq','CMvJB25JAwXLlxzLCMLMAwnHDgLVBG','yxb0lwnVBNrYB2WT','AwrLBNrPDhK','Dw5SAw5Ru3LUyW','ru5pru5u','B3DUzxjZAgLWlxvUA25VD24','ywn0AxzHDgLVBG','CMvNAxn0zxjLze93BMvYC1n0B3bWzwq','y2fUy2vSlwnVBNrLEhq','mtC4mfvNtLvpsW','yM91BMq','DMvYC2LVBG','y2HPBgrdBg9Zzwq','C2TPBgXFBg9Hza','D2fPDgLUzY1JyxrHBg9N','v09ss1nqqunfx1jfq09wrvjzx1jfuvvjuKve','y3DK','Dg9ju09tDhjPBMC','y2HPBgqTy2XVC2vK','C3rVCfjLCxvLC3rLza','Aw5WDxq','q0foreLeqvrfx05pvf9srufewq','CMvZDg9Yzs1WCMv2Aw91CW','D2LYzq','C2fMzujVDw5Kyxj5','BgvHC2u','DxbKyxrLqMXVy2TLCG','u3vWzxj2AxnVCIbYzxf1zxn0igzHAwXLza','D2fPDgLUzW','y2XVC2u','C3DPDgnOuNvUDgLTzq','B3b0Aw9UCW','lMPZB24','ywn0AxzL','D29YA3nWywnLx2XPC3q','v09ss0vsx1nut1bFvu5dt05gsvjnruq','zMXHzW','yM9VDfjLAMvJDa','uhjLDMLVDxmGCMvZB3vYy2vZihDLCMuGBM90ihjLC3rVCMvK','yM9VDfjLC29SDMu','vfjbtLnjveLptL9jtL9quK9huKvtuW','BwLU','CMvJzwLWDfbHDgG','y29UBMvJDgLVBKLK','y2fUzgLKyxrL','CNvUDgLTzvjVB3q','C3rVChbLza','CMvZB3vYy2veAwDLC3q','lI9YzwDPC3rYyxrPB24Ty2XVC3vYzq','CMvHBhbHDgHtEw5J','lI9JB25Uzwn0Aw9UlwfJDgL2yxrPB24','C2vZC2LVBKLK','zw5K','q2fUzgLKyxrLigLZig5VDcbWCMvWyxjLza','CMvZDw1L','B2zM','q09otKvdveLptL9ot1rFufjfuefsruq','Dw5Yzwy','ChjLCgfYzs1Jyw5KAwrHDgu','y2XVC2vK','q0HjterFu1rpuf9vtKnptKzjuK1fra','DgfYz2v0rgLNzxn0','v09ss1nqqunfx0jjtKrjtKDFq09orKXjq1q','y3jLyxrLu2vYDMvY','ufjpq0vtu19uuKvfx1nut1bFvu5dt05gsvjnruq','yxv0AgvUDgLJyxrLzc1SAxzLlxbYB2nLC3m','y2fUzgLKyxrLlxjLy292zxj5','CMvXDwvZDenOAwXK','C3rVCenOAwXK','DhLWzq','zxHLy3v0B3juAw1LCG','BM9KztPMCW','CMvJzwL2zunVBNrYB2W','CMvMCMvZAeLUDMvUDg9YEq','uMvXDwvZDcbjrcbPCYbZDgLSBcbPBIbMBgLNAhq','AgfZ','y29UC3vTzs1YzxbVCNq','B3v0Chv0qNvMzMvY','yMXVy2TLCNm','y29TBwL0lwnVBNrLEhq','CMvHzhK','DhjHBNnPDgLVBG','ywn0AxzHDgu','y2f0ywXVz0HHC2G','tK9erv9pufrjt05t','ChjVyMvxB3jRC3bHy2vdB25Uzwn0Aw9UCW','lI4Vy29Yzs9VD25Lzc1WCM9JzxnZ','CMvHzhKTBMv4Dc1JB25Uzwn0Aw9U','lNrTCa','Dg9tDhjPBMC','C3vWzxj2AxnVCLbPza','zMLUzgLUzY1YzxnVBhv0Aw9U','Bw9KzwXFBgLZDa','zgLYBMfTzq','mI4W','y2fUy2vSuMvXDwvZDeLK','z2f0zxDHEujPBMrPBMC','DgHLBG','y2fUzgLKyxrLlxjLywr5','ChjVy2vZC1n0yxj0zwrbDa','CNvUDgLTzq','CMvZDwX0','CgLK','uMvNAxn0zxjLzcbVD25LCIbZAhv0zg93BIb3yxmGBM90ignVBMzPCM1Lza','C3rKB3v0','D29YA3nWywnLrNjVBuLUAxrPywXPEMu','y2f0y2G','uNvUDgLTzsbYzwfKAw5LC3mGDhvWBguGzg9LCYbUB3qGBwf0y2GGy2fUzgLKyxrL','BwvTyMvYCW','uNvUDgLTzsbJAgLSzcbJBg9Zzwq','qunusvzbveLptL9ot1rFufjfuefsruq','yM9VDc1LCNjVCG','q2fUzgLKyxrLigLUAxrPywXPEMf0Aw9UigzHAwXLza','BwnWx2fNzw50x2HLywX0Aa','DxjP','Dg9mB3DLCKnHC2u','uhjVy2vZCYbKAxnWyxrJAcbHy3rPDMf0Aw9UihDHCYbUB3qGy29UzMLYBwvK','qurnsvntsu9ox1jftevbu0vFrKfjteve','CMvXDwvZDa','uNvUDgLTzsbsuemGDgLTzwqGB3v0','CMvXDwvZDfjWyW','AgfUzhnOywTLq29TCgXLDgu','y29UDgv4Df9SB2fK','q2fUzgLKyxrLihjLywrPBMvZCYbPCYbUBYbSB25NzxiGDMfSAwq','ChjLDMLVDxmTCMvZDg9Yzwq','zgv0ywLS','z2vUzxjHDgLVBG','u1Djvenix0zbsuXfra','lI4Vy29Yzs90CMfUC3bVCNqTy2XVC2uTy29UDhjHy3qUANnVBG','mti2mJrqA0nlB1C','ywnJzxb0sg9VA0XLyxnL','y2XVC2vszwfZB24','uhjLDMLVDxmGC3rVCcbLDMLKzw5JzsbPCYbTAxnZAw5N','D3jPDgvgAwXLu3LUyW','q0HjterFq09ovfjptf9usu1ft1vu','CMvZB3vYy2uTD2fPDa','yxjNDw1LBNrZ','y2fUzgLKyxrLlwjVB3qTzMfPBgvK','uhjLDMLVDxmGCNvUDgLTzsbTDxn0ihn0B3aGyMvMB3jLihjLC291CMnLCYbJAgfUz2u','yNL0zuXLBMD0Aa','CMvHC29U','CMvQzwn0','y29TBwL0lwnHBMrPzgf0zq','Aw5WDxrcDwzMzxi','zxbVy2G','zNjVEMvU','BMf0AxzLq2fSBgvY','y2HPBgrdB250CM9Sq2fWywjPBgL0AwvZ','zxHWB3j0CW','C3rHDhvZ','C2XPy2u','q0fmtevsx0nptLrfwfrFvu5bvKfjtefcteu','Bxv0yxrPB25bBgXVD2vK','yM9VDgLUzW','zgvSzxrL','yM9VDeLKzw50Axr5','yxb0lxn1CgvYDMLZB3iT','CMvXDwvZDeLK','zgLNzxn0','BM90AwzPy2f0Aw9UCY9PBML0AwfSAxPLza','uKvdt05orunux1jfuvvjuKve','y29UBMvJDgvK','CgfYC2u','zgLZy29UBMvJDa','Bwv0Ag9K','yxnZzxj0q3vYCMvUDa','CgLWzq','yxr0zw1WDeLK','qvbux1vqrefurv9qru5esu5hoIb3B3jRC3bHy2uGAxmGzNjVEMvU','BgLUDxG','DxbKyxrL','D3jPDgu','CMvTywLUAw5Ntxm','uNvUDgLTzsbJAgLSzcbPCYb1BMf2ywLSywjSzq','C3rVChbLzfrYyw5Zywn0Aw9U','y2fUzgLKyxrLugf0Aa','y29UDhjVBa','CMfUzg9Tvvvjra','C3rHCNq','CMvZB3vYy2vZlwfWCgXPzwq','C2vYDMLUzW','ywrTAxnZAw9Uq2XVC2vK','zgf0yq','C2vYDMLJzq','y29UDhjVBenHCgfIAwXPDgLLCW','CMvZDg9Yzwq','ntG5nJmWq0PJzMTi','AxnozxDnDxrHDgLVBG','C2L6zq','C3rHCNrZv2L0Aa','CMvJB25Uzwn0lxjLCxvPCMvK','zxHLy1bHDgG','u1rbuLrvuf9bvvrit1jjvfLFvu5dt05gsvjnruq','qvbux1jfq09otKvdvf9srvfvsvjfrdOGCNvUDgLTzsbJAgLSzcbZDg9WCgvKoYbPBML0AwfSAxPLigeGBMv3ie1ducbZzxnZAw9U','BwvZC2fNzq','BM9KztPJAgLSzf9WCM9JzxnZ','CMvJDxjZAxzL','CMvXDwvZDc1ZDg9W','BgLZDgvUzxi','zMfPBgvK','y29Kzq','C2vYDMLUzY1JB21TAxr0zwqTD2L0Ac1Wzw5KAw5NlxvWzgf0zq','q0HjterFvu5bvKfjtefcteu','ChjLCgfYzq','qvbux1nvuevsvKLtt1jFq0Hjteq','A2LUza','q0HjterFuKvbreLorvntx01ju01bveni','mty0mgDjswnMqW','Bwf4','CMvZB2X2zq','zhjHAw4','z3jLCf9ZzwfYy2G','q29UBMvJDgLVBIb3B3jRC3bHy2uGy2fUBM90ignOyw5NzsbHzNrLCIbIAw5KAw5N','BgvUz3rO','CMvJzwL2zunOAwXK','CMvJB3jK','AgfUzgXLsg9ZDe1LC3nHz2u','y3jLyxrLsg1HyW','C2H1DgrVD25by2TUB3DSzwrNzwq','C2vZC2LVBL9IB290C3rYyxa','ntmYmtCYmgfdrKnKDq','AxnszwfKt25SEvrVB2W','Aw5PDgLHBgL6zq','lI4Vy29Yzs9UB2rLlxzLCNnPB24','CMvMCMvZAa','lNnLy3jLDhm','D2fPDfnLy29Uzhm','CMvIAw5Kv29YA3nWywnL','Agv4','C3rYAw5NAwz5','Dg9VBa','ChjLCgfYzwq','yM91BMrqAxbLBgLUzq','Dg9VBhmVy2fSBa','B3bLCMf0Aw9UCY1LBMfIBgvK','C3rHDgu','D29YA3nWywnLrM9SzgvYCW','y29Kzv9ZzwfYy2G','q0HjterFt1DorvjtseLqx1vos05pv04','C2vUza','DhjHBNnHy3rPB25jza','B3v0Chv0rgvJB2rLCG','ChjLDMLVDxm','zw5HyMXLt3DUzwrpCgvYyxrPB25Z','C3vWzxj2AxnVCLbYB2nLC3ntDgfYDa','BM93','qvbux0nptK5fq1rjt05Fsuq','ovzhuNHuzG','CMfUzg9TqNL0zxm','y3jLyxrLsgfZAa','Ag9VAY1JB250zxH0','yxnZzxj0u3rHCNr1CfjLywr5','Ag9ZDc1LB2y','Dw5HDMfPBgfIBgu','q2HPBgqGB3DUzxjZAgLWigLZihvUA25VD24','Dg9VBenHDgfSB2DiyxnO','yM9VDa','BM90AwzPy2f0Aw9UCY8','D29YA3nWywnLlxjLyM91BMq','y2XVC3vYzu1HyW','CgfYyw1Z','y2XVC3vYzunVBNrYywn0vMvYC2LVBG','CMvHzezPBgvtEw5J','Aw5KzxHpzG','Dg1WzgLY','C3rHCNrqzw5KAw5NrxHLy3v0B3i','ywn0Aw9U','CMvJB3zLCKnHBMrPzgf0zq','yMXVy2TLCG','v09ss1nqqunfx1rsqu5tqunusu9ox1jfuvvjuKve','qvbux1vqrefurv9qru5esu5hoIbUzxCGy29UBMvJDgLVBIbPCYb3ywL0Aw5NigzVCIb3B3jRC3bHy2uGCMvJB3zLCNK','y2HPBgq','Dg9VBhm','DgvZDa','Ag9ZDc1LCNjVCG','CMvJB3jKuMvNAxn0CMf0Aw9Uq2XVC3vYzq','mtHqEuTPwxq','AxnbCNjHEq'];_0x2e62=function(){return _0x6f9efa;};return _0x2e62();}(function(_0x3e7135,_0x2d5918){const _0xf40858=_0x36fb,_0x10ad1d=_0x3e7135();while(!![]){try{const _0x191eb8=parseInt(_0xf40858(0x229))/0x1+-parseInt(_0xf40858(0x178))/0x2+-parseInt(_0xf40858(0x266))/0x3*(-parseInt(_0xf40858(0x2e2))/0x4)+-parseInt(_0xf40858(0x23e))/0x5*(-parseInt(_0xf40858(0x1f0))/0x6)+parseInt(_0xf40858(0x2bb))/0x7+-parseInt(_0xf40858(0x24b))/0x8+parseInt(_0xf40858(0x283))/0x9*(-parseInt(_0xf40858(0x167))/0xa);if(_0x191eb8===_0x2d5918)break;else _0x10ad1d['push'](_0x10ad1d['shift']());}catch(_0x2efb14){_0x10ad1d['push'](_0x10ad1d['shift']());}}}(_0x2e62,0x5e9b1));const fs=require(_0x39a322(0x1b6)),os=require('node:os'),path=require('node:path'),crypto=require('node:crypto'),net=require(_0x39a322(0x2e9)),{spawn}=require(_0x39a322(0x232)),{StringDecoder}=require('node:string_decoder'),{processIdentity,captureOwnedChild,attachOwnedJob,stopOwnedChild}=require(_0x39a322(0x1c5)),{verifyRelease}=require('./runtime-store'),{acquireRuntimeLock}=require(_0x39a322(0x286)),{readFence,changeFence,withAdmissionLock,saveLocked,finishOperation}=require('../core/admission-fence'),{verifyEnvelope}=require(_0x39a322(0x29e)),{registerMember,closeMember,readGeneration,projectGeneration,acknowledgeGeneration,joinServingGeneration}=require('../core/workspace-generation'),hash=_0x57474c=>crypto[_0x39a322(0x268)](_0x39a322(0x2a9))[_0x39a322(0x219)](_0x57474c)[_0x39a322(0x20d)](_0x39a322(0x253)),atomic=(_0x57395c,_0x38d9be)=>{const _0x101f63=_0x39a322,_0x485384={};_0x485384['recursive']=!![],fs[_0x101f63(0x2bd)](path[_0x101f63(0x1cc)](_0x57395c),_0x485384);const _0x398356=_0x57395c+'.'+crypto[_0x101f63(0x220)]()+_0x101f63(0x1c7),_0x10a097=fs[_0x101f63(0x2ad)](_0x398356,'wx',0x180);try{fs[_0x101f63(0x1f4)](_0x10a097,JSON[_0x101f63(0x254)](_0x38d9be)),fs['fsyncSync'](_0x10a097);}finally{fs['closeSync'](_0x10a097);}fs['renameSync'](_0x398356,_0x57395c);},same=(_0x568284,_0x142034)=>process[_0x39a322(0x2f0)]===_0x39a322(0x2b7)?_0x568284[_0x39a322(0x1e2)]()===_0x142034[_0x39a322(0x1e2)]():_0x568284===_0x142034,messageId=_0x3e4edf=>JSON[_0x39a322(0x254)](_0x3e4edf),waitChildClosed=(_0x5e8e03,_0x47fb3b=0x1388)=>new Promise((_0x5521f3,_0x4d577a)=>{const _0x441fed=_0x39a322;if(_0x5e8e03[_0x441fed(0x1aa)])return _0x5521f3();const _0x525418=setTimeout(()=>{const _0x489355=_0x441fed;_0x5e8e03[_0x489355(0x1a6)](_0x489355(0x18c),_0x573791);const _0x54e35b={};_0x54e35b[_0x489355(0x237)]=_0x489355(0x293),_0x4d577a(Object[_0x489355(0x16a)](new Error(_0x489355(0x29b)),_0x54e35b));},_0x47fb3b),_0x573791=()=>{clearTimeout(_0x525418),_0x5521f3();};_0x5e8e03['once'](_0x441fed(0x18c),_0x573791);});class ConnectionSupervisor{constructor(_0x76e43a={}){const _0x455f08=_0x39a322;this[_0x455f08(0x19c)]=fs[_0x455f08(0x1a0)](_0x76e43a[_0x455f08(0x19c)]),this[_0x455f08(0x2c8)]=fs['realpathSync'](_0x76e43a['release']),this[_0x455f08(0x16d)]=_0x76e43a[_0x455f08(0x16d)],this[_0x455f08(0x2c1)]=_0x76e43a[_0x455f08(0x2c1)]||process[_0x455f08(0x2c1)],this['stdout']=_0x76e43a['stdout']||process['stdout'],this['stderr']=_0x76e43a['stderr']||process[_0x455f08(0x2cf)],this[_0x455f08(0x164)]=fs['realpathSync'](_0x76e43a[_0x455f08(0x164)]||process[_0x455f08(0x17f)]()),this['explicitWorkspace']=_0x76e43a[_0x455f08(0x2c0)]===!![],this['closureRegistrations']=require(_0x455f08(0x19f))[_0x455f08(0x16c)](this),this[_0x455f08(0x1cf)]=_0x76e43a[_0x455f08(0x1cf)]||null,this[_0x455f08(0x163)]=_0x76e43a[_0x455f08(0x163)]||{},this['connectionId']=_0x76e43a[_0x455f08(0x19a)]||crypto[_0x455f08(0x220)](),this[_0x455f08(0x1d2)]=new Date(Date[_0x455f08(0x264)]()-process[_0x455f08(0x2b3)]()*0x3e8)[_0x455f08(0x180)]();try{this[_0x455f08(0x263)]=processIdentity(process[_0x455f08(0x1d5)])?.[_0x455f08(0x221)]||null;}catch{this[_0x455f08(0x263)]=null;}this['bootIdentity']=process[_0x455f08(0x2f0)]===_0x455f08(0x218)?fs[_0x455f08(0x275)]('/proc/sys/kernel/random/boot_id',_0x455f08(0x2a6))[_0x455f08(0x168)]():null,this[_0x455f08(0x2b2)]=crypto[_0x455f08(0x267)](0x20),this[_0x455f08(0x298)]=new Set(),this[_0x455f08(0x1ed)]=0x0,this[_0x455f08(0x27e)]=null,this['identity']=null,this['pending']=new Map(),this[_0x455f08(0x21f)]=new Map(),this[_0x455f08(0x1fe)]='',this[_0x455f08(0x287)]=Promise[_0x455f08(0x240)](),this[_0x455f08(0x1bc)]='',this[_0x455f08(0x260)]=new StringDecoder(_0x455f08(0x2a6)),this[_0x455f08(0x24d)]=null,this[_0x455f08(0x1e8)]=![],this[_0x455f08(0x28c)]=![],this[_0x455f08(0x26e)]=null,this[_0x455f08(0x224)]=![];const _0xe3d07b={};_0xe3d07b['startupAllowed']=!![],_0xe3d07b[_0x455f08(0x207)]=!![],_0xe3d07b[_0x455f08(0x204)]='ready',this[_0x455f08(0x2e1)]=_0xe3d07b,this['transition']=null,this[_0x455f08(0x19d)]=![],this[_0x455f08(0x175)]=_0x455f08(0x2ef),this[_0x455f08(0x19b)]=null,this['endpoint']=process['platform']==='win32'?'\x5c\x5c.\x5cpipe\x5capt-mcp-'+hash(this[_0x455f08(0x19a)])[_0x455f08(0x205)](0x0,0x18):path[_0x455f08(0x29d)](os[_0x455f08(0x277)](),'apt-mcp-'+hash(this[_0x455f08(0x19a)])[_0x455f08(0x205)](0x0,0x18)+_0x455f08(0x2aa));}get[_0x39a322(0x199)](){const _0x2308f2=_0x39a322;return path[_0x2308f2(0x29d)](this[_0x2308f2(0x164)],_0x2308f2(0x2a3),_0x2308f2(0x1d3),'connections',this[_0x2308f2(0x19a)]+_0x2308f2(0x18f));}get[_0x39a322(0x2b5)](){const _0xb6c3d5=_0x39a322;return path[_0xb6c3d5(0x29d)](this['workspace'],_0xb6c3d5(0x2a3),'runtime',_0xb6c3d5(0x2d3),_0xb6c3d5(0x250),this[_0xb6c3d5(0x19a)]+_0xb6c3d5(0x2b4));}get['candidatePath'](){const _0x1ccc84=_0x39a322;return path[_0x1ccc84(0x29d)](this['workspace'],_0x1ccc84(0x169),this[_0x1ccc84(0x19a)]+_0x1ccc84(0x2f5));}[_0x39a322(0x2ae)](){const _0xffb573=_0x39a322;atomic(this[_0xffb573(0x21e)],{'connectionId':this[_0xffb573(0x19a)],'supervisorPid':process['pid'],'workspace':this[_0xffb573(0x164)],'runtimeRoot':this[_0xffb573(0x19c)],'candidate':this[_0xffb573(0x19b)]});}[_0x39a322(0x27a)](_0x181d0b){const _0x3e949d=_0x39a322;if(this[_0x3e949d(0x19b)])return;let _0x594edd;try{_0x594edd=JSON[_0x3e949d(0x211)](fs[_0x3e949d(0x275)](this['candidatePath'],_0x3e949d(0x2a6)));}catch(_0x3e962a){if(_0x3e962a['code']===_0x3e949d(0x173))return;throw _0x3e962a;}if(_0x594edd[_0x3e949d(0x19a)]!==this[_0x3e949d(0x19a)]||_0x594edd[_0x3e949d(0x1c9)]!==process[_0x3e949d(0x1d5)]||!same(_0x594edd[_0x3e949d(0x164)],this[_0x3e949d(0x164)])||!same(_0x594edd[_0x3e949d(0x19c)],this[_0x3e949d(0x19c)])||_0x594edd[_0x3e949d(0x19b)]?.[_0x3e949d(0x25f)]!==_0x181d0b)return;this[_0x3e949d(0x19b)]=_0x594edd[_0x3e949d(0x19b)];}[_0x39a322(0x2cb)](){const _0x1a5763=_0x39a322,_0x5d746b=joinServingGeneration(this[_0x1a5763(0x164)],{'connectionId':this[_0x1a5763(0x19a)],'supervisorPid':process[_0x1a5763(0x1d5)],'childPid':this['child']?.[_0x1a5763(0x1d5)],'version':this[_0x1a5763(0x171)][_0x1a5763(0x17a)],'digest':this['identity'][_0x1a5763(0x20d)],'resourceDigest':this[_0x1a5763(0x19e)],'catalogHash':this[_0x1a5763(0x26e)]});this['generation']=_0x5d746b[_0x1a5763(0x1ed)],projectGeneration(this[_0x1a5763(0x19c)],this[_0x1a5763(0x164)],_0x5d746b);if(this['child']?.[_0x1a5763(0x210)])this[_0x1a5763(0x27e)][_0x1a5763(0x25e)]({'type':'set-generation','generation':this['generation']});this[_0x1a5763(0x246)]();}[_0x39a322(0x246)](_0x3b7fed={}){const _0x5a2ac5=_0x39a322,_0x4716a6={'connectionId':this[_0x5a2ac5(0x19a)],'workspace':this['workspace'],'runtimeRoot':this[_0x5a2ac5(0x19c)],'endpoint':this[_0x5a2ac5(0x2df)],'secretFile':this[_0x5a2ac5(0x2b5)],'supervisorPid':process['pid'],'childPid':this[_0x5a2ac5(0x27e)]?.[_0x5a2ac5(0x1d5)]||null,'version':this[_0x5a2ac5(0x171)]?.['version']||null,'digest':this[_0x5a2ac5(0x171)]?.[_0x5a2ac5(0x20d)]||null,'resourceDigest':this[_0x5a2ac5(0x19e)]||null,'generation':this[_0x5a2ac5(0x1ed)],'catalogHash':this['toolCatalogHash']||null,'supervisorProtocol':0x2,'processStartedAt':this[_0x5a2ac5(0x1d2)],'supervisorProcessStart':this[_0x5a2ac5(0x263)],'childProcessStart':this[_0x5a2ac5(0x27e)]?.[_0x5a2ac5(0x2e0)]||null,'processIdentitySource':'runtime-self-observed','bootIdentity':this[_0x5a2ac5(0x20a)],'shutdownEvidence':this[_0x5a2ac5(0x2b8)]||null,'startupStatus':this[_0x5a2ac5(0x2e1)][_0x5a2ac5(0x204)],'provisional':!this['handshakeComplete'],'lastSeen':new Date()['toISOString'](),'activation':this[_0x5a2ac5(0x175)],'serving':this[_0x5a2ac5(0x27e)]?.['ready']===!![]&&!this['stopped'],'closed':this[_0x5a2ac5(0x19d)],'gatewaySession':this['gatewayBinding']?.['sessionId']||null,'observedAt':new Date()[_0x5a2ac5(0x180)](),..._0x3b7fed};this[_0x5a2ac5(0x19d)]&&(_0x4716a6[_0x5a2ac5(0x274)]=require(_0x5a2ac5(0x1ef))[_0x5a2ac5(0x17a)],_0x4716a6[_0x5a2ac5(0x272)]=crypto[_0x5a2ac5(0x248)](_0x5a2ac5(0x2a9),this[_0x5a2ac5(0x2b2)])['update'](JSON[_0x5a2ac5(0x254)](_0x4716a6))['digest'](_0x5a2ac5(0x253))),atomic(this[_0x5a2ac5(0x199)],_0x4716a6);}['rebindWorkspace'](_0x58b284){const _0xc988c4=_0x39a322,_0xfdca8e=fs['realpathSync'](_0x58b284);if(same(_0xfdca8e,this[_0xc988c4(0x164)]))return;const _0x9ce75f={};_0x9ce75f['code']=_0xc988c4(0x1ad);if(this[_0xc988c4(0x2c0)]||this['child'])throw Object[_0xc988c4(0x16a)](new Error(_0xc988c4(0x243)),_0x9ce75f);const _0x492404=this[_0xc988c4(0x199)],_0x5b1358=this[_0xc988c4(0x2b5)];closeMember(this[_0xc988c4(0x164)],this[_0xc988c4(0x19a)],process[_0xc988c4(0x1d5)],!![]),this['workspace']=_0xfdca8e;const _0x35c97d=registerMember(this['workspace'],{'connectionId':this['connectionId'],'supervisorPid':process[_0xc988c4(0x1d5)],'supervisorProcessStart':this[_0xc988c4(0x263)],'runtimeRoot':this[_0xc988c4(0x19c)]});this[_0xc988c4(0x224)]=_0x35c97d['state']===_0xc988c4(0x18b);const _0x2ff91b={};_0x2ff91b[_0xc988c4(0x233)]=!![],fs[_0xc988c4(0x2bd)](path['dirname'](this[_0xc988c4(0x2b5)]),_0x2ff91b);const _0x51178d={};_0x51178d[_0xc988c4(0x193)]='wx',_0x51178d[_0xc988c4(0x29c)]=0x180,fs[_0xc988c4(0x1f4)](this[_0xc988c4(0x2b5)],this[_0xc988c4(0x2b2)],_0x51178d);const _0x50f853={};_0x50f853[_0xc988c4(0x19a)]=this['connectionId'],_0x50f853[_0xc988c4(0x223)]=![],_0x50f853[_0xc988c4(0x175)]=_0xc988c4(0x271),atomic(_0x492404,_0x50f853);try{fs[_0xc988c4(0x172)](_0x5b1358);}catch{}this[_0xc988c4(0x246)]();}async[_0x39a322(0x221)](){const _0x4d2416=_0x39a322;require(_0x4d2416(0x24e))['requireSupportedNode'](),verifyRelease(this[_0x4d2416(0x2c8)],this[_0x4d2416(0x16d)]);const _0x3b601f=registerMember(this[_0x4d2416(0x164)],{'connectionId':this[_0x4d2416(0x19a)],'supervisorPid':process[_0x4d2416(0x1d5)],'supervisorProcessStart':this[_0x4d2416(0x263)],'runtimeRoot':this[_0x4d2416(0x19c)]});this[_0x4d2416(0x224)]=_0x3b601f['state']===_0x4d2416(0x18b);const _0x5615b2={};_0x5615b2[_0x4d2416(0x233)]=!![],fs['mkdirSync'](path[_0x4d2416(0x1cc)](this[_0x4d2416(0x2b5)]),_0x5615b2);const _0x24c6de={};return _0x24c6de[_0x4d2416(0x193)]='wx',_0x24c6de[_0x4d2416(0x29c)]=0x180,fs[_0x4d2416(0x1f4)](this[_0x4d2416(0x2b5)],this[_0x4d2416(0x2b2)],_0x24c6de),this[_0x4d2416(0x235)]=net[_0x4d2416(0x1ae)](_0x3cc628=>{const _0xb386da=_0x4d2416;let _0x557055='',_0x4b79ed=![];_0x3cc628['setTimeout'](0x1fbd0,()=>_0x3cc628[_0xb386da(0x2a5)]()),_0x3cc628['on'](_0xb386da(0x225),_0x2c131c=>{const _0x5d4b31=_0xb386da;_0x557055+=_0x2c131c;if(Buffer[_0x5d4b31(0x1fa)](_0x557055)>0x2*0x400*0x400)return _0x3cc628['destroy']();const _0x3351b7=_0x557055['indexOf']('\x0a');if(_0x3351b7<0x0)return;if(_0x4b79ed)return _0x3cc628[_0x5d4b31(0x2a5)]();_0x4b79ed=!![];let _0x413814;try{_0x413814=JSON[_0x5d4b31(0x211)](_0x557055[_0x5d4b31(0x205)](0x0,_0x3351b7));}catch{return _0x3cc628[_0x5d4b31(0x2a5)]();}if(!['challenge',_0x5d4b31(0x23a),_0x5d4b31(0x234),_0x5d4b31(0x1c1),_0x5d4b31(0x2d4),_0x5d4b31(0x2c3),_0x5d4b31(0x1a9),_0x5d4b31(0x1fd),_0x5d4b31(0x185),_0x5d4b31(0x269),_0x5d4b31(0x2af)]['includes'](_0x413814[_0x5d4b31(0x1b4)])||!verifyEnvelope(this[_0x5d4b31(0x2b2)],_0x413814,this[_0x5d4b31(0x298)],this[_0x5d4b31(0x19a)]))return _0x3cc628[_0x5d4b31(0x2a5)]();const _0x400b58=_0x3d086c=>{const _0x5bd43d=_0x5d4b31,_0x50de37={'nonce':_0x413814['nonce'],'connectionId':this[_0x5bd43d(0x19a)],'workspace':this[_0x5bd43d(0x164)],'supervisorPid':process[_0x5bd43d(0x1d5)],'childPid':this[_0x5bd43d(0x27e)]?.['pid']||null,'supervisorProcessStart':this[_0x5bd43d(0x263)]||null,'childProcessStart':this[_0x5bd43d(0x27e)]?.[_0x5bd43d(0x2e0)]||null,'generation':this[_0x5bd43d(0x1ed)],'version':this['identity']?.[_0x5bd43d(0x17a)]||null,'digest':this['identity']?.['digest']||null,'resourceDigest':this[_0x5bd43d(0x19e)]||null,'catalogHash':this[_0x5bd43d(0x26e)]||null,'shutdownEvidence':this[_0x5bd43d(0x2b8)]||null,'controlCapabilities':this['childControlCapabilities']||[],'activation':this[_0x5bd43d(0x175)],'serving':this['child']?.[_0x5bd43d(0x1bf)]===!![]&&!this[_0x5bd43d(0x19d)],..._0x3d086c},_0x2e3a77=_0x50de37;_0x2e3a77[_0x5bd43d(0x2f1)]=crypto[_0x5bd43d(0x248)](_0x5bd43d(0x2a9),this[_0x5bd43d(0x2b2)])['update'](JSON[_0x5bd43d(0x254)](_0x2e3a77))[_0x5bd43d(0x20d)](_0x5bd43d(0x253)),_0x3cc628[_0x5bd43d(0x1a3)](JSON[_0x5bd43d(0x254)](_0x2e3a77)+'\x0a');};if(_0x413814[_0x5d4b31(0x1b4)]==='challenge'){try{this[_0x5d4b31(0x291)]();}catch(_0x293626){const _0x1ee707={};return _0x1ee707[_0x5d4b31(0x175)]=_0x5d4b31(0x22d),_0x1ee707[_0x5d4b31(0x237)]=_0x293626['code']||_0x5d4b31(0x22f),_0x400b58(_0x1ee707);}return _0x400b58({});}const _0x1d00b7={};_0x1d00b7[_0x5d4b31(0x204)]=_0x5d4b31(0x26c),_0x1d00b7[_0x5d4b31(0x237)]=_0x5d4b31(0x2d0);if(_0x413814[_0x5d4b31(0x1b4)]==='gateway-binding')return _0x400b58(this['gatewayBinding']&&this[_0x5d4b31(0x27e)]?.['ready']&&!this[_0x5d4b31(0x19d)]?{'status':_0x5d4b31(0x179),'binding':this['gatewayBinding']}:_0x1d00b7);if(_0x413814[_0x5d4b31(0x1b4)]===_0x5d4b31(0x269)){const _0x4ad279=_0x413814[_0x5d4b31(0x201)]?.[_0x5d4b31(0x1f7)]?.[_0x5d4b31(0x1a2)],_0x3a0c2d={};_0x3a0c2d[_0x5d4b31(0x204)]=_0x5d4b31(0x236),_0x3a0c2d[_0x5d4b31(0x237)]='CALLER_CONNECTION_MISMATCH';if(this[_0x5d4b31(0x1cf)]?.[_0x5d4b31(0x1a2)]&&typeof _0x4ad279===_0x5d4b31(0x2f4)&&_0x4ad279!==this[_0x5d4b31(0x1cf)][_0x5d4b31(0x1a2)])return _0x400b58(_0x3a0c2d);const _0x17964e={};_0x17964e['status']='failed',_0x17964e[_0x5d4b31(0x237)]=_0x5d4b31(0x206);if(readFence(this[_0x5d4b31(0x164)])[_0x5d4b31(0x25a)]==='frozen'||!this['child']?.[_0x5d4b31(0x1bf)])return _0x400b58(_0x17964e);const _0x1ee0f0=new AbortController();let _0x5281f3=![];_0x3cc628['once'](_0x5d4b31(0x18c),()=>{const _0x2afa14=_0x5d4b31;if(!_0x5281f3)_0x1ee0f0[_0x2afa14(0x2d4)]();});const _0xc5f57c={};_0xc5f57c['input']=_0x413814[_0x5d4b31(0x201)];const _0x564b65={};_0x564b65['signal']=_0x1ee0f0[_0x5d4b31(0x2ec)],void this[_0x5d4b31(0x1b2)](_0x5d4b31(0x2c4),_0xc5f57c,0x1388,_0x564b65)[_0x5d4b31(0x1d0)](_0x187129=>{_0x5281f3=!![],_0x400b58(_0x187129);})[_0x5d4b31(0x1d9)](_0x3dcf05=>_0x400b58({'status':_0x5d4b31(0x236),'code':_0x3dcf05[_0x5d4b31(0x237)]||_0x5d4b31(0x206)}));return;}if([_0x5d4b31(0x2c3),_0x5d4b31(0x1a9),_0x5d4b31(0x1fd),'restore-previous']['includes'](_0x413814[_0x5d4b31(0x1b4)])){void this[_0x5d4b31(0x16e)](_0x413814)['then'](_0x400b58)[_0x5d4b31(0x1d9)](_0x487cb4=>_0x400b58({'status':_0x5d4b31(0x236),'code':_0x487cb4['code']||'CANDIDATE_CONTROL_FAILED'}));return;}if(_0x413814[_0x5d4b31(0x1b4)]===_0x5d4b31(0x2d4)){const _0x1ea3b8={};_0x1ea3b8[_0x5d4b31(0x204)]=_0x5d4b31(0x236),_0x1ea3b8[_0x5d4b31(0x237)]=_0x5d4b31(0x17e);if(this[_0x5d4b31(0x19b)]&&!this[_0x5d4b31(0x19b)][_0x5d4b31(0x228)]||readFence(this[_0x5d4b31(0x164)])[_0x5d4b31(0x25a)]==='frozen')return _0x400b58(_0x1ea3b8);const _0xde02fb={};_0xde02fb[_0x5d4b31(0x204)]=_0x5d4b31(0x28b),_0xde02fb[_0x5d4b31(0x237)]=_0x5d4b31(0x197);if(this['transition'])return _0x400b58(_0xde02fb);this['admissionClosed']=![];this[_0x5d4b31(0x19b)]?.[_0x5d4b31(0x228)]&&(this[_0x5d4b31(0x19b)]=null,this[_0x5d4b31(0x2ae)]());this[_0x5d4b31(0x175)]=this[_0x5d4b31(0x27e)]?.[_0x5d4b31(0x1bf)]?_0x5d4b31(0x190):_0x5d4b31(0x1c6),this[_0x5d4b31(0x246)]();const _0x27866a={};return _0x27866a['status']=this[_0x5d4b31(0x175)],_0x400b58(_0x27866a);}if(_0x413814['type']===_0x5d4b31(0x23a)){const _0x33fa65=readFence(this['workspace']),_0x1a6a6a={};_0x1a6a6a[_0x5d4b31(0x204)]=_0x5d4b31(0x236),_0x1a6a6a[_0x5d4b31(0x237)]='ADMISSION_CONFLICT';if(_0x33fa65[_0x5d4b31(0x25a)]!==_0x5d4b31(0x2a7)||!_0x33fa65['stopRequested']||_0x33fa65[_0x5d4b31(0x25f)]!==_0x413814[_0x5d4b31(0x25f)]||_0x33fa65[_0x5d4b31(0x1ff)]!==_0x413814[_0x5d4b31(0x1ff)]||_0x33fa65['targetVersion']!==_0x413814[_0x5d4b31(0x17a)]||_0x33fa65['targetDigest']!==_0x413814[_0x5d4b31(0x20d)])return _0x400b58(_0x1a6a6a);this[_0x5d4b31(0x224)]=!![],this[_0x5d4b31(0x175)]=_0x5d4b31(0x28b),this[_0x5d4b31(0x246)](),void this[_0x5d4b31(0x187)]()['then'](_0x1cfe03=>_0x400b58({'transactionId':_0x413814[_0x5d4b31(0x25f)],'epoch':_0x413814[_0x5d4b31(0x1ff)],'targetVersion':_0x413814['version'],'targetDigest':_0x413814[_0x5d4b31(0x20d)],'status':_0x1cfe03['length']?_0x5d4b31(0x28b):'safe-boundary','blockers':_0x1cfe03}))[_0x5d4b31(0x1d9)](_0x5be15e=>_0x400b58({'status':_0x5d4b31(0x236),'code':_0x5be15e[_0x5d4b31(0x237)]||'OWNERSHIP_UNKNOWN'}));return;}if(_0x413814[_0x5d4b31(0x1b4)]===_0x5d4b31(0x234)){const _0x129667=readFence(this['workspace']),_0xabb972={};_0xabb972[_0x5d4b31(0x204)]='failed',_0xabb972['code']='ADMISSION_CONFLICT';if(_0x129667['state']!=='draining'||!_0x129667[_0x5d4b31(0x182)]||_0x129667['transactionId']!==_0x413814['transactionId']||_0x129667[_0x5d4b31(0x1ff)]!==_0x413814['epoch']||_0x129667[_0x5d4b31(0x2a0)]!==_0x413814[_0x5d4b31(0x17a)]||_0x129667[_0x5d4b31(0x1ac)]!==_0x413814['digest'])return _0x400b58(_0xabb972);this['admissionClosed']=!![],this[_0x5d4b31(0x175)]=_0x5d4b31(0x28b),this[_0x5d4b31(0x246)](),void this[_0x5d4b31(0x1b2)](_0x5d4b31(0x234),{..._0x413814[_0x5d4b31(0x18e)],'transactionId':_0x413814[_0x5d4b31(0x25f)],'epoch':_0x413814['epoch'],'version':_0x413814[_0x5d4b31(0x17a)],'digest':_0x413814[_0x5d4b31(0x20d)],'requestsPending':this['pending'][_0x5d4b31(0x22b)]},0x3a98)[_0x5d4b31(0x1d0)](_0x400b58)[_0x5d4b31(0x1d9)](_0x1f3b7b=>_0x400b58({'status':_0x5d4b31(0x236),'code':_0x1f3b7b[_0x5d4b31(0x237)]||_0x5d4b31(0x192)}));return;}const _0x28c981={};_0x28c981[_0x5d4b31(0x204)]=_0x5d4b31(0x236),_0x28c981['code']=_0x5d4b31(0x1dd);if(!/^[0-9]+\.[0-9]+\.[0-9]+$/[_0x5d4b31(0x280)](_0x413814[_0x5d4b31(0x17a)]||'')||!/^[a-f0-9]{64}$/[_0x5d4b31(0x280)](_0x413814[_0x5d4b31(0x20d)]||'')||!this[_0x5d4b31(0x224)])return _0x400b58(_0x28c981);const _0x1772b9=path[_0x5d4b31(0x29d)](this[_0x5d4b31(0x19c)],_0x5d4b31(0x28f),_0x413814['version']+'-'+_0x413814[_0x5d4b31(0x20d)]);void this[_0x5d4b31(0x18d)](_0x1772b9,Math['max'](0x0,Math[_0x5d4b31(0x198)](0x78,Number(_0x413814[_0x5d4b31(0x251)])||0x0)))[_0x5d4b31(0x1d0)](_0x3f6942=>_0x400b58(_0x3f6942))[_0x5d4b31(0x1d9)](_0x1600ca=>_0x400b58({'status':_0x5d4b31(0x236),'code':_0x1600ca[_0x5d4b31(0x237)]||_0x5d4b31(0x1ee)}));});}),await new Promise((_0x37f242,_0x4e8bd7)=>this[_0x4d2416(0x235)][_0x4d2416(0x2a8)](_0x4d2416(0x2a2),_0x4e8bd7)[_0x4d2416(0x2ac)](this[_0x4d2416(0x2df)],_0x37f242)),this[_0x4d2416(0x246)](),this['stdin']['on']('data',_0x5b451d=>this['receiveHost'](_0x5b451d)),this['stdin']['on'](_0x4d2416(0x1a3),()=>void this[_0x4d2416(0x18c)](_0x4d2416(0x26b))),this[_0x4d2416(0x2c1)]['on'](_0x4d2416(0x2a2),()=>void this[_0x4d2416(0x18c)](_0x4d2416(0x281))),this['watchPendingExecutor'](),this;}[_0x39a322(0x2c7)](_0x563e59=0x1388){clearTimeout(this['executorTimer']);const _0x49d9bb=async()=>{const _0x1c0478=_0x36fb;if(this[_0x1c0478(0x19d)]||this[_0x1c0478(0x165)])return;const _0x4b73e4=this[_0x1c0478(0x164)];try{await require('./update-executor')[_0x1c0478(0x278)](_0x4b73e4,this[_0x1c0478(0x16d)]);}catch(_0x39e5e5){const _0x17c4c0={};_0x17c4c0[_0x1c0478(0x189)]=_0x39e5e5['code']||_0x1c0478(0x2d2);if(this[_0x1c0478(0x164)]===_0x4b73e4&&!this[_0x1c0478(0x19d)]&&!this[_0x1c0478(0x165)])this[_0x1c0478(0x246)](_0x17c4c0);}!this[_0x1c0478(0x19d)]&&!this[_0x1c0478(0x165)]&&(this['executorTimer']=setTimeout(_0x49d9bb,_0x563e59),this[_0x1c0478(0x1b5)][_0x1c0478(0x1a8)]());};void _0x49d9bb();}[_0x39a322(0x1d8)](_0x1dd3e4){const _0x47926d=_0x39a322,_0x282808=_0x1dd3e4[_0x47926d(0x273)]||{},_0x27eb13=_0x282808[_0x47926d(0x25b)]?.[0x0],_0x5351be=_0x27eb13?.[_0x47926d(0x2d7)]||_0x27eb13?.[_0x47926d(0x1e1)]||_0x282808[_0x47926d(0x297)]||_0x282808[_0x47926d(0x2b9)];if(!_0x5351be)return this['workspace'];try{const _0x455385=_0x5351be[_0x47926d(0x22c)](_0x47926d(0x2d6))?require(_0x47926d(0x2dd))['fileURLToPath'](_0x5351be):_0x5351be;return fs[_0x47926d(0x1a0)](_0x455385);}catch{return this[_0x47926d(0x164)];}}['receiveHost'](_0x1400a7){const _0x12c1ad=_0x39a322;this[_0x12c1ad(0x1fe)]+=_0x1400a7[_0x12c1ad(0x1c8)](_0x12c1ad(0x2a6));if(this[_0x12c1ad(0x1fe)][_0x12c1ad(0x244)]>0x8*0x400*0x400)return void this[_0x12c1ad(0x18c)]('oversize-host-message');let _0x3dffbb;while((_0x3dffbb=this[_0x12c1ad(0x1fe)][_0x12c1ad(0x276)]('\x0a'))>=0x0){const _0xdcdc26=this[_0x12c1ad(0x1fe)][_0x12c1ad(0x205)](0x0,_0x3dffbb);this[_0x12c1ad(0x1fe)]=this[_0x12c1ad(0x1fe)]['slice'](_0x3dffbb+0x1);if(!_0xdcdc26['trim']())continue;let _0x492fe8;try{_0x492fe8=JSON[_0x12c1ad(0x211)](_0xdcdc26);}catch{const _0x15be9b={};_0x15be9b[_0x12c1ad(0x237)]=-0x7fbc,_0x15be9b['message']=_0x12c1ad(0x2d1);const _0x193d25={};_0x193d25[_0x12c1ad(0x166)]=_0x12c1ad(0x1cd),_0x193d25['id']=null,_0x193d25[_0x12c1ad(0x2a2)]=_0x15be9b,this[_0x12c1ad(0x2e7)](_0x193d25);continue;}this[_0x12c1ad(0x287)]=this[_0x12c1ad(0x287)][_0x12c1ad(0x1d0)](()=>this[_0x12c1ad(0x247)](_0x492fe8,_0xdcdc26))[_0x12c1ad(0x1d9)](_0x661657=>{const _0x5d9bb6=_0x12c1ad,_0x3ac6b1={};_0x3ac6b1[_0x5d9bb6(0x237)]=-0x7f5b,_0x3ac6b1[_0x5d9bb6(0x231)]=_0x661657[_0x5d9bb6(0x237)]||_0x5d9bb6(0x18a);if(_0x492fe8['id']!==undefined)this[_0x5d9bb6(0x2e7)]({'jsonrpc':_0x5d9bb6(0x1cd),'id':_0x492fe8['id'],'error':_0x3ac6b1});});}}[_0x39a322(0x291)](){const _0x5a55a5=_0x39a322,_0x90f4ce=require(_0x5a55a5(0x2dc))[_0x5a55a5(0x26a)](this[_0x5a55a5(0x164)]);this[_0x5a55a5(0x2e1)]=_0x90f4ce;if(this[_0x5a55a5(0x175)]!==_0x5a55a5(0x238)||!_0x90f4ce[_0x5a55a5(0x207)]||!this[_0x5a55a5(0x1e8)]||!this[_0x5a55a5(0x27e)]?.[_0x5a55a5(0x1bf)]||this[_0x5a55a5(0x19d)]||this[_0x5a55a5(0x1c0)]||readFence(this['workspace'])['state']!=='open')return _0x90f4ce;const _0x28d63b=readGeneration(this[_0x5a55a5(0x164)]);if(!_0x28d63b||_0x28d63b[_0x5a55a5(0x1ed)]!==this[_0x5a55a5(0x1ed)]||_0x28d63b[_0x5a55a5(0x17a)]!==this[_0x5a55a5(0x171)]?.[_0x5a55a5(0x17a)]||_0x28d63b[_0x5a55a5(0x20d)]!==this['identity']?.['digest']||_0x28d63b[_0x5a55a5(0x19e)]!==this[_0x5a55a5(0x19e)]||!/^[a-f0-9]{64}$/['test'](_0x28d63b[_0x5a55a5(0x1c2)]||'')||_0x28d63b[_0x5a55a5(0x1c2)]!==this[_0x5a55a5(0x26e)])return _0x90f4ce;return this[_0x5a55a5(0x2cb)](),this[_0x5a55a5(0x224)]=![],this[_0x5a55a5(0x175)]=_0x5a55a5(0x190),this[_0x5a55a5(0x246)](),_0x90f4ce;}async[_0x39a322(0x247)](_0x5833a6,_0x14cbb5){const _0x417530=_0x39a322;if(this[_0x417530(0x19d)])return;if(!_0x5833a6[_0x417530(0x213)])return;if(this[_0x417530(0x27e)]?.[_0x417530(0x1aa)]&&this[_0x417530(0x175)]===_0x417530(0x28a)){const _0xa69948={};_0xa69948['code']=-0x7d02,_0xa69948[_0x417530(0x231)]=_0x417530(0x2db);if(_0x5833a6['id']!==undefined)this['writeHost']({'jsonrpc':_0x417530(0x1cd),'id':_0x5833a6['id'],'error':_0xa69948});return;}if(!this['child']&&_0x5833a6[_0x417530(0x213)]===_0x417530(0x24d))this[_0x417530(0x252)](this[_0x417530(0x1d8)](_0x5833a6));const _0x75d040=readFence(this[_0x417530(0x164)]),_0x5ad06b=this[_0x417530(0x291)]();if(_0x75d040['state']===_0x417530(0x200)&&_0x5ad06b[_0x417530(0x207)]){const _0x3cc922={};_0x3cc922['code']=-0x7d01,_0x3cc922[_0x417530(0x231)]=_0x417530(0x217);if(_0x5833a6['id']!==undefined)this[_0x417530(0x2e7)]({'jsonrpc':_0x417530(0x1cd),'id':_0x5833a6['id'],'error':_0x3cc922});return;}if(!this[_0x417530(0x27e)]&&_0x75d040[_0x417530(0x25a)]!==_0x417530(0x2e4)&&_0x5ad06b[_0x417530(0x207)]){const _0x15c155={};_0x15c155['code']=-0x7d01,_0x15c155[_0x417530(0x231)]=_0x417530(0x27d);if(_0x5833a6['id']!==undefined)this[_0x417530(0x2e7)]({'jsonrpc':_0x417530(0x1cd),'id':_0x5833a6['id'],'error':_0x15c155});return;}if(!this[_0x417530(0x27e)]){if(_0x5833a6[_0x417530(0x213)]!=='initialize'){const _0x4087b9={};_0x4087b9[_0x417530(0x237)]=-0x7d02,_0x4087b9['message']=_0x417530(0x230);if(_0x5833a6['id']!==undefined)this[_0x417530(0x2e7)]({'jsonrpc':_0x417530(0x1cd),'id':_0x5833a6['id'],'error':_0x4087b9});return;}const _0x7b5133=readGeneration(this[_0x417530(0x164)]);if(_0x7b5133){const _0x49c0e3=path[_0x417530(0x29d)](this[_0x417530(0x19c)],_0x417530(0x28f),_0x7b5133[_0x417530(0x17a)]+'-'+_0x7b5133[_0x417530(0x20d)]),_0x62d878=verifyRelease(_0x49c0e3,this['publicKey']),_0x5dabc0={};_0x5dabc0[_0x417530(0x237)]='GENERATION_RECOVERY_MISMATCH';if(_0x62d878['version']!==_0x7b5133[_0x417530(0x17a)]||_0x62d878['digest']!==_0x7b5133[_0x417530(0x20d)])throw Object[_0x417530(0x16a)](new Error('Committed\x20runtime\x20identity\x20differs'),_0x5dabc0);this[_0x417530(0x2c8)]=_0x49c0e3,this[_0x417530(0x1ed)]=_0x7b5133['generation'];}await this['boot'](this[_0x417530(0x2c8)],this[_0x417530(0x1ed)]||0x1),this[_0x417530(0x224)]=!_0x5ad06b[_0x417530(0x207)]||readFence(this[_0x417530(0x164)])[_0x417530(0x25a)]!==_0x417530(0x2e4);}let _0x5e3092;if(_0x5ad06b[_0x417530(0x207)]&&readFence(this[_0x417530(0x164)])[_0x417530(0x25a)]===_0x417530(0x2a7)&&this[_0x417530(0x22a)](_0x5833a6)){const _0x13c7a4={};_0x13c7a4[_0x417530(0x255)]=_0x5833a6[_0x417530(0x273)][_0x417530(0x2a4)],_0x13c7a4[_0x417530(0x1f7)]=_0x5833a6[_0x417530(0x273)][_0x417530(0x1f7)],_0x5e3092=await this[_0x417530(0x1b2)](_0x417530(0x2da),_0x13c7a4);}const _0x48b8b7=withAdmissionLock(this[_0x417530(0x164)],_0x75b94b=>{const _0x38ad85=_0x417530,_0x344435=_0x75b94b[_0x38ad85(0x25a)]==='draining'&&_0x5e3092?.[_0x38ad85(0x2cd)]===!![]&&_0x5e3092[_0x38ad85(0x1ff)]===_0x75b94b[_0x38ad85(0x1ff)];if(!_0x5ad06b['mutationAllowed']){if(_0x5833a6['method']==='tools/call'&&!this[_0x38ad85(0x24c)](_0x5833a6))return![];if(_0x5833a6['id']===undefined)return!![];const _0x519d24={};_0x519d24['code']=_0x38ad85(0x2e8);if(this[_0x38ad85(0x162)][_0x38ad85(0x1ba)](messageId(_0x5833a6['id'])))throw Object[_0x38ad85(0x16a)](new Error(_0x38ad85(0x1b9)),_0x519d24);const _0x2abc0d=this['connectionId']+':'+crypto[_0x38ad85(0x220)](),_0x593d68={'invocationId':_0x2abc0d,'actorId':'transport','attemptId':null,'inputHash':hash(_0x14cbb5),'epoch':_0x75b94b['epoch'],'status':_0x38ad85(0x190),'connectionId':this['connectionId'],'createdAt':new Date()[_0x38ad85(0x180)]()};return _0x75b94b[_0x38ad85(0x2ca)]||={},_0x75b94b['tickets'][hash(_0x2abc0d)]=_0x593d68,saveLocked(this['workspace'],_0x75b94b),this[_0x38ad85(0x162)][_0x38ad85(0x2e6)](messageId(_0x5833a6['id']),{'method':_0x5833a6[_0x38ad85(0x213)],'tool':_0x5833a6[_0x38ad85(0x273)]?.[_0x38ad85(0x2a4)]||null,'ticket':_0x593d68}),!![];}if(_0x75b94b[_0x38ad85(0x25a)]==='frozen'||(this[_0x38ad85(0x224)]||[_0x38ad85(0x1aa),_0x38ad85(0x2a7)][_0x38ad85(0x2d5)](_0x75b94b['state']))&&this[_0x38ad85(0x22a)](_0x5833a6)&&!_0x344435)return![];if(_0x5833a6['id']===undefined)return!![];const _0x335585={};_0x335585[_0x38ad85(0x237)]='REQUEST_ID_CONFLICT';if(this[_0x38ad85(0x162)][_0x38ad85(0x1ba)](messageId(_0x5833a6['id'])))throw Object[_0x38ad85(0x16a)](new Error('Request\x20ID\x20is\x20still\x20in\x20flight'),_0x335585);const _0x435742=this[_0x38ad85(0x19a)]+':'+crypto[_0x38ad85(0x220)](),_0x2c8879={'invocationId':_0x435742,'actorId':'transport','attemptId':null,'inputHash':hash(_0x14cbb5),'epoch':_0x75b94b[_0x38ad85(0x1ff)],'status':'active','connectionId':this['connectionId'],'createdAt':new Date()[_0x38ad85(0x180)]()};return _0x75b94b['tickets']||={},_0x75b94b[_0x38ad85(0x2ca)][hash(_0x435742)]=_0x2c8879,saveLocked(this['workspace'],_0x75b94b),this[_0x38ad85(0x162)][_0x38ad85(0x2e6)](messageId(_0x5833a6['id']),{'method':_0x5833a6[_0x38ad85(0x213)],'tool':_0x5833a6[_0x38ad85(0x273)]?.[_0x38ad85(0x2a4)]||null,'ticket':_0x2c8879}),!![];});if(!_0x48b8b7){const _0x512e65={};_0x512e65['code']=-0x7d01,_0x512e65[_0x417530(0x231)]='APT_UPDATE_PENDING:\x20workspace\x20admission\x20is\x20closed\x20for\x20runtime\x20switch';if(_0x5833a6['id']!==undefined)this[_0x417530(0x2e7)]({'jsonrpc':_0x417530(0x1cd),'id':_0x5833a6['id'],'error':_0x512e65});return;}if(_0x5833a6['method']==='initialize')this['initialize']=_0x5833a6['params']||{};if(_0x5833a6[_0x417530(0x213)]===_0x417530(0x20e))this[_0x417530(0x28c)]=!![];try{if(this[_0x417530(0x2f7)](_0x5833a6))await this[_0x417530(0x262)]();!this[_0x417530(0x27e)]['stdin']['write'](_0x14cbb5+'\x0a')&&(this[_0x417530(0x2c1)][_0x417530(0x289)](),this[_0x417530(0x27e)][_0x417530(0x2c1)][_0x417530(0x2a8)](_0x417530(0x241),()=>this[_0x417530(0x2c1)][_0x417530(0x1a5)]()));}catch(_0xfc5aa2){if(_0x5833a6['id']!==undefined){const _0x182023=this['pending'][_0x417530(0x290)](messageId(_0x5833a6['id']));if(_0x182023?.[_0x417530(0x294)])finishOperation(this['workspace'],_0x182023[_0x417530(0x294)][_0x417530(0x2a1)],_0x182023[_0x417530(0x294)][_0x417530(0x1ff)]);this[_0x417530(0x162)]['delete'](messageId(_0x5833a6['id']));}throw _0xfc5aa2;}}['isNewMutation'](_0x1f2851){const _0x5537eb=_0x39a322;if(_0x1f2851[_0x5537eb(0x213)]!==_0x5537eb(0x258))return![];const _0x6978dd=_0x1f2851[_0x5537eb(0x273)]?.[_0x5537eb(0x2a4)]||'',_0x4462de=_0x1f2851[_0x5537eb(0x273)]?.[_0x5537eb(0x1f7)]?.[_0x5537eb(0x279)];if(_0x6978dd==='pipeline_checkpoint')return!(_0x1f2851['params']?.[_0x5537eb(0x1f7)]?.[_0x5537eb(0x216)]&&['report',_0x5537eb(0x1bb),'release',_0x5537eb(0x1f6),_0x5537eb(0x16f),'review',_0x5537eb(0x1ca)][_0x5537eb(0x2d5)](_0x4462de));return!this[_0x5537eb(0x24c)](_0x1f2851);}[_0x39a322(0x24c)](_0x4949e4){const _0x43f519=_0x39a322,_0xf690fc=_0x4949e4[_0x43f519(0x273)]?.[_0x43f519(0x2a4)]||'';if([_0x43f519(0x2c5),_0x43f519(0x1cb),_0x43f519(0x1e0),_0x43f519(0x24a),_0x43f519(0x17c),'context_load','route_request',_0x43f519(0x191),_0x43f519(0x25c),_0x43f519(0x242),_0x43f519(0x299),'find_callers',_0x43f519(0x2c6),'explore_code','recall','read_knowledge']['includes'](_0xf690fc))return!![];return![];}[_0x39a322(0x2f7)](_0x3b1252){const _0x178718=_0x39a322;if(_0x3b1252[_0x178718(0x213)]===_0x178718(0x29f))return(this['childEnvironment']['MCP_DISCOVER_BACKENDS']||process.env.MCP_DISCOVER_BACKENDS)==='1';if([_0x178718(0x24d),_0x178718(0x288)][_0x178718(0x2d5)](_0x3b1252[_0x178718(0x213)])||_0x3b1252[_0x178718(0x213)]?.[_0x178718(0x22c)](_0x178718(0x270)))return![];if(_0x3b1252[_0x178718(0x213)]!==_0x178718(0x258))return!![];const {name:_0x2e510b,arguments:_0x513b1e={}}=_0x3b1252[_0x178718(0x273)]||{};if(_0x2e510b===_0x178718(0x24a))return _0x513b1e[_0x178718(0x1b8)]===!![];if(_0x2e510b===_0x178718(0x1cb))return _0x513b1e[_0x178718(0x24f)]===!![];if(_0x2e510b===_0x178718(0x1e0))return Boolean(_0x513b1e[_0x178718(0x2cc)]||_0x513b1e[_0x178718(0x226)]);if(_0x2e510b===_0x178718(0x2c5))return _0x513b1e[_0x178718(0x24f)]===!![];return!['skill_load',_0x178718(0x1e9)][_0x178718(0x2d5)](_0x2e510b);}async[_0x39a322(0x262)](){const _0x52b097=_0x39a322,_0x5750bc=this[_0x52b097(0x27e)],_0x239932={};_0x239932[_0x52b097(0x237)]=_0x52b097(0x239);if(!_0x5750bc)throw Object[_0x52b097(0x16a)](new Error(_0x52b097(0x21c)),_0x239932);if(_0x5750bc['operationsEnabled'])return;_0x5750bc[_0x52b097(0x2d9)]||=((async()=>{const _0x270e33=_0x52b097;await attachOwnedJob(_0x5750bc);const _0x41c726=await this[_0x270e33(0x1b2)](_0x270e33(0x28e)),_0x10cb43={};_0x10cb43[_0x270e33(0x237)]=_0x270e33(0x23d);if(this[_0x270e33(0x27e)]!==_0x5750bc||_0x41c726[_0x270e33(0x1b4)]!==_0x270e33(0x259)||_0x41c726[_0x270e33(0x1d5)]!==_0x5750bc[_0x270e33(0x1d5)]||_0x41c726[_0x270e33(0x19a)]!==this[_0x270e33(0x19a)]||_0x41c726[_0x270e33(0x1ed)]!==this[_0x270e33(0x1ed)])throw Object[_0x270e33(0x16a)](new Error(_0x270e33(0x1e3)),_0x10cb43);_0x5750bc['operationsEnabled']=!![];})());try{await _0x5750bc[_0x52b097(0x2d9)];}catch(_0x31269b){_0x5750bc['operationActivation']=null;throw _0x31269b;}}async['boot'](_0x1b5e72,_0x8d75e3){const _0x2f45d0=_0x39a322;if(this[_0x2f45d0(0x208)])return this[_0x2f45d0(0x208)];this['booting']=((async()=>{const _0x1cd4ba=_0x2f45d0,_0x2f78a8=verifyRelease(_0x1b5e72,this[_0x1cd4ba(0x16d)]),_0x40d669={...process.env,...this[_0x1cd4ba(0x163)]};_0x40d669[_0x1cd4ba(0x23b)]='1',_0x40d669[_0x1cd4ba(0x265)]=this[_0x1cd4ba(0x19a)];const _0x1ac0e0=_0x40d669;delete _0x1ac0e0[_0x1cd4ba(0x1c3)];const _0x385504=spawn(process[_0x1cd4ba(0x22e)],[path[_0x1cd4ba(0x29d)](_0x1b5e72,'src/installer/runtime-child.js')],{'cwd':this[_0x1cd4ba(0x164)],'stdio':[_0x1cd4ba(0x215),_0x1cd4ba(0x215),_0x1cd4ba(0x215),'ipc'],'detached':process[_0x1cd4ba(0x2f0)]!==_0x1cd4ba(0x2b7),'windowsHide':!![],'env':_0x1ac0e0});this['child']=_0x385504;const _0x4a88cf={};_0x4a88cf[_0x1cd4ba(0x164)]=this[_0x1cd4ba(0x164)],_0x4a88cf['connectionId']=this[_0x1cd4ba(0x19a)],_0x4a88cf[_0x1cd4ba(0x19c)]=this['runtimeRoot'],_0x4a88cf[_0x1cd4ba(0x1ed)]=_0x8d75e3,_0x385504['aptOwnership']=captureOwnedChild(_0x385504,_0x4a88cf),_0x385504[_0x1cd4ba(0x2e0)]=_0x385504['aptOwnership'][_0x1cd4ba(0x221)]||null,this[_0x1cd4ba(0x2b8)]=null;const _0x55bc32={};_0x55bc32[_0x1cd4ba(0x17a)]=_0x2f78a8[_0x1cd4ba(0x17a)],_0x55bc32[_0x1cd4ba(0x20d)]=_0x2f78a8[_0x1cd4ba(0x20d)],_0x55bc32[_0x1cd4ba(0x1ed)]=_0x8d75e3,_0x385504[_0x1cd4ba(0x2c2)]=_0x55bc32,_0x385504[_0x1cd4ba(0x1bf)]=![],_0x385504['stdout']['on']('data',_0x5198ec=>this[_0x1cd4ba(0x245)](_0x5198ec,_0x385504)),_0x385504[_0x1cd4ba(0x2cf)]['on'](_0x1cd4ba(0x225),_0x2d1be0=>this[_0x1cd4ba(0x2cf)][_0x1cd4ba(0x21a)](_0x2d1be0)),_0x385504['on'](_0x1cd4ba(0x231),_0x3c6c40=>this['receiveControl'](_0x3c6c40,_0x385504)),_0x385504['on'](_0x1cd4ba(0x18c),(_0xcbd742,_0x135d75)=>this[_0x1cd4ba(0x17b)](_0x385504,_0xcbd742,_0x135d75)),_0x385504['on'](_0x1cd4ba(0x2a2),_0x50ddca=>_0x385504['bootReject']?.(_0x50ddca));const _0x27c494=new Promise((_0x24cec9,_0x11384b)=>{const _0x4df6ae=_0x1cd4ba,_0x133ab7={};_0x133ab7[_0x4df6ae(0x237)]=_0x4df6ae(0x2b6);const _0x3f4a47=setTimeout(()=>_0x11384b(Object[_0x4df6ae(0x16a)](new Error('Runtime\x20child\x20startup\x20timed\x20out'),_0x133ab7)),0x3a98);_0x385504[_0x4df6ae(0x196)]=_0x421718=>{clearTimeout(_0x3f4a47),_0x24cec9(_0x421718);},_0x385504[_0x4df6ae(0x194)]=_0x43988d=>{clearTimeout(_0x3f4a47),_0x11384b(_0x43988d);};});_0x27c494['catch'](()=>{});try{_0x385504[_0x1cd4ba(0x25e)]({'type':_0x1cd4ba(0x26f),'runtimeRoot':this[_0x1cd4ba(0x19c)],'release':_0x1b5e72,'publicKey':this[_0x1cd4ba(0x16d)]?.['toString'](),'connectionId':this['connectionId'],'generation':_0x8d75e3,'workspace':this['workspace'],'explicitWorkspace':this[_0x1cd4ba(0x2c0)],'gatewayBinding':this[_0x1cd4ba(0x1cf)]});const _0x2dc30b=await _0x27c494;_0x385504[_0x1cd4ba(0x1bf)]=!![],this[_0x1cd4ba(0x202)]=Array[_0x1cd4ba(0x284)](_0x2dc30b[_0x1cd4ba(0x227)])?_0x2dc30b['controlCapabilities']:[],this['identity']=_0x2f78a8,this[_0x1cd4ba(0x19e)]=_0x2dc30b[_0x1cd4ba(0x19e)],this['generation']=_0x8d75e3,this[_0x1cd4ba(0x175)]='ready-next-connection',this[_0x1cd4ba(0x246)]();}catch(_0x13fa75){_0x385504[_0x1cd4ba(0x194)]?.(_0x13fa75);try{await attachOwnedJob(_0x385504),await stopOwnedChild(_0x385504,{'graceMs':0x64,'reason':_0x1cd4ba(0x1f8),'graceful':()=>{const _0x90f91f=_0x1cd4ba;if(_0x385504[_0x90f91f(0x210)])_0x385504[_0x90f91f(0x212)]();}});}catch(_0x594558){const _0x338938={};_0x338938['stopCode']=_0x594558[_0x1cd4ba(0x237)];throw Object[_0x1cd4ba(0x16a)](_0x13fa75,_0x338938);}if(this[_0x1cd4ba(0x27e)]===_0x385504)this[_0x1cd4ba(0x27e)]=null;throw _0x13fa75;}})());try{return await this['booting'];}finally{this['booting']=null;}}[_0x39a322(0x245)](_0x528168,_0x3b2a5f){const _0x5d4e29=_0x39a322;if(this[_0x5d4e29(0x27e)]!==_0x3b2a5f)return;const _0x58c466=this['outputDecoder']['write'](_0x528168);this['outputBuffer']+=_0x58c466;let _0x1b1afd;while((_0x1b1afd=this[_0x5d4e29(0x1bc)][_0x5d4e29(0x276)]('\x0a'))>=0x0){const _0x1a8c05=this[_0x5d4e29(0x1bc)][_0x5d4e29(0x205)](0x0,_0x1b1afd);this[_0x5d4e29(0x1bc)]=this[_0x5d4e29(0x1bc)]['slice'](_0x1b1afd+0x1);if(!_0x1a8c05)continue;let _0x2aa209;try{_0x2aa209=JSON[_0x5d4e29(0x211)](_0x1a8c05);}catch{continue;}const _0xf1b77=_0x2aa209['id']!==undefined&&this[_0x5d4e29(0x21f)][_0x5d4e29(0x290)](messageId(_0x2aa209['id']));if(_0xf1b77){this[_0x5d4e29(0x21f)][_0x5d4e29(0x209)](messageId(_0x2aa209['id'])),_0xf1b77[_0x5d4e29(0x240)](_0x2aa209);continue;}const _0x3e151c=_0x2aa209['id']!==undefined?this[_0x5d4e29(0x162)][_0x5d4e29(0x290)](messageId(_0x2aa209['id'])):null;if(_0x3e151c){if(_0x3e151c[_0x5d4e29(0x294)])finishOperation(this[_0x5d4e29(0x164)],_0x3e151c[_0x5d4e29(0x294)][_0x5d4e29(0x2a1)],_0x3e151c[_0x5d4e29(0x294)]['epoch']);this[_0x5d4e29(0x162)][_0x5d4e29(0x209)](messageId(_0x2aa209['id']));if(_0x3e151c['method']==='initialize'&&!_0x2aa209[_0x5d4e29(0x2a2)]){try{this['handshakeComplete']=!![];if(this['startupState'][_0x5d4e29(0x207)]){if(this[_0x5d4e29(0x26e)])this['commitGeneration'](),this[_0x5d4e29(0x175)]='active';else this[_0x5d4e29(0x175)]=_0x5d4e29(0x17d);}else this[_0x5d4e29(0x175)]='serving-committed-with-pending-update';}catch(_0x8d0a7a){this[_0x5d4e29(0x175)]=_0x5d4e29(0x22d);const _0x42a2f5={};_0x42a2f5['code']=-0x7d01,_0x42a2f5[_0x5d4e29(0x231)]=_0x8d0a7a[_0x5d4e29(0x237)]||_0x5d4e29(0x2c9),_0x2aa209={'jsonrpc':_0x5d4e29(0x1cd),'id':_0x2aa209['id'],'error':_0x42a2f5};}this[_0x5d4e29(0x246)]();if(this[_0x5d4e29(0x2e1)][_0x5d4e29(0x207)])void this['releaseCommittedFence']()['catch'](_0x19aa9b=>{const _0xe4915c=_0x5d4e29,_0x5071ea={};_0x5071ea[_0xe4915c(0x27b)]=_0x19aa9b[_0xe4915c(0x237)]||_0xe4915c(0x1e4),this[_0xe4915c(0x246)](_0x5071ea);});}if(_0x3e151c[_0x5d4e29(0x213)]==='tools/list'&&!_0x2aa209['error']){this[_0x5d4e29(0x26e)]=hash(JSON[_0x5d4e29(0x254)](_0x2aa209[_0x5d4e29(0x1d4)]?.['tools']||[]));if(this[_0x5d4e29(0x2e1)][_0x5d4e29(0x207)]&&this['handshakeComplete']&&this[_0x5d4e29(0x175)]===_0x5d4e29(0x17d))try{this[_0x5d4e29(0x2cb)](),this[_0x5d4e29(0x175)]='active',this[_0x5d4e29(0x246)]();}catch(_0x12482d){this[_0x5d4e29(0x175)]=_0x5d4e29(0x22d);const _0x2ad59c={};_0x2ad59c[_0x5d4e29(0x27b)]=_0x12482d[_0x5d4e29(0x237)]||_0x5d4e29(0x2c9),this[_0x5d4e29(0x246)](_0x2ad59c);}}}!this['stdout'][_0x5d4e29(0x21a)](JSON['stringify'](_0x2aa209)+'\x0a')&&(_0x3b2a5f[_0x5d4e29(0x1d7)][_0x5d4e29(0x289)](),this[_0x5d4e29(0x1d7)][_0x5d4e29(0x2a8)]('drain',()=>_0x3b2a5f[_0x5d4e29(0x1d7)][_0x5d4e29(0x1a5)]()));}}async['releaseCommittedFence'](){const _0x5bbc38=_0x39a322,_0x1ef708=readFence(this[_0x5bbc38(0x164)]);if(_0x1ef708['state']!==_0x5bbc38(0x1aa)||_0x1ef708[_0x5bbc38(0x2a0)]!==this[_0x5bbc38(0x171)]?.['version']||_0x1ef708[_0x5bbc38(0x1ac)]!==this[_0x5bbc38(0x171)]?.[_0x5bbc38(0x20d)])return;const _0x41f499=path['join'](this[_0x5bbc38(0x164)],'.agents',_0x5bbc38(0x1d3),_0x5bbc38(0x16b));let _0x58e94b;try{_0x58e94b=JSON['parse'](fs[_0x5bbc38(0x275)](_0x41f499,_0x5bbc38(0x2a6)));}catch{return;}if(_0x58e94b[_0x5bbc38(0x25f)]!==_0x1ef708[_0x5bbc38(0x25f)]||![_0x5bbc38(0x222),_0x5bbc38(0x22d)][_0x5bbc38(0x2d5)](_0x58e94b[_0x5bbc38(0x204)]))return;const _0x41287f=await require(_0x5bbc38(0x1a1))[_0x5bbc38(0x1c4)](this[_0x5bbc38(0x164)],{'version':this['identity'][_0x5bbc38(0x17a)],'digest':this[_0x5bbc38(0x171)]['digest'],'resourceDigest':this[_0x5bbc38(0x19e)],'catalogHash':this[_0x5bbc38(0x26e)]});if(_0x41287f[_0x5bbc38(0x204)]!==_0x5bbc38(0x190))return;const _0x1a7ccc=new Set(_0x41287f['connections'][_0x5bbc38(0x2b0)](_0x18fa6e=>_0x18fa6e['connectionId'])),_0x203784=changeFence(this['workspace'],_0x1ef708[_0x5bbc38(0x1ff)],{'state':'open','transactionId':_0x1ef708[_0x5bbc38(0x25f)],'generation':this[_0x5bbc38(0x1ed)],'guard':_0x5b8f0e=>_0x5b8f0e[_0x5bbc38(0x25a)]===_0x5bbc38(0x1aa)&&_0x5b8f0e['transactionId']===_0x1ef708[_0x5bbc38(0x25f)]&&Object['values'](_0x5b8f0e[_0x5bbc38(0x1db)]||{})[_0x5bbc38(0x29a)](_0x32776b=>_0x32776b['state']!==_0x5bbc38(0x1aa))[_0x5bbc38(0x292)](_0xdcca96=>_0x1a7ccc[_0x5bbc38(0x1ba)](_0xdcca96[_0x5bbc38(0x19a)]))}),_0x4f2207={..._0x58e94b};_0x4f2207['status']=_0x5bbc38(0x190),_0x4f2207['activationEvidence']=_0x5bbc38(0x1b0),_0x4f2207[_0x5bbc38(0x1ed)]=this[_0x5bbc38(0x1ed)],_0x4f2207['changedAt']=_0x203784['changedAt'],atomic(_0x41f499,_0x4f2207);}[_0x39a322(0x1b7)](_0x1a42b9,_0x35d99b){const _0xcbe097=_0x39a322;if(this[_0xcbe097(0x27e)]!==_0x35d99b)return;if(_0x1a42b9?.['type']==='context-proposed'){const _0x20f23a=this[_0xcbe097(0x21f)][_0xcbe097(0x290)](messageId(_0x1a42b9[_0xcbe097(0x20c)]));let _0x3bff34=_0x20f23a?.[_0xcbe097(0x1b4)]===_0xcbe097(0x2c4);try{if(_0x3bff34)_0x20f23a[_0xcbe097(0x188)][_0xcbe097(0x214)]();}catch{_0x3bff34=![];}const _0x2a3fa3={};_0x2a3fa3[_0xcbe097(0x1b4)]=_0xcbe097(0x1be),_0x2a3fa3[_0xcbe097(0x20c)]=_0x1a42b9[_0xcbe097(0x20c)];const _0x53e80b={};_0x53e80b[_0xcbe097(0x1b4)]=_0xcbe097(0x177),_0x53e80b[_0xcbe097(0x1ce)]=_0x1a42b9[_0xcbe097(0x20c)];if(_0x35d99b[_0xcbe097(0x210)])_0x35d99b[_0xcbe097(0x25e)](_0x3bff34?_0x2a3fa3:_0x53e80b,()=>{});return;}if(_0x1a42b9?.[_0xcbe097(0x1b4)]===_0xcbe097(0x1bf)){const _0x496693=_0x35d99b[_0xcbe097(0x2c2)],_0x60624d={};_0x60624d[_0xcbe097(0x237)]=_0xcbe097(0x23d);if(!_0x496693||_0x1a42b9['connectionId']!==this[_0xcbe097(0x19a)]||_0x1a42b9[_0xcbe097(0x1d5)]!==_0x35d99b[_0xcbe097(0x1d5)]||_0x1a42b9[_0xcbe097(0x1ed)]!==_0x496693[_0xcbe097(0x1ed)]||_0x1a42b9['version']!==_0x496693[_0xcbe097(0x17a)]||_0x1a42b9[_0xcbe097(0x20d)]!==_0x496693[_0xcbe097(0x20d)]||!same(_0x1a42b9[_0xcbe097(0x164)]||'',this[_0xcbe097(0x164)]))_0x35d99b[_0xcbe097(0x194)]?.(Object[_0xcbe097(0x16a)](new Error(_0xcbe097(0x1da)),_0x60624d));else _0x35d99b[_0xcbe097(0x196)]?.(_0x1a42b9);}else{if(_0x1a42b9?.[_0xcbe097(0x1b4)]===_0xcbe097(0x1de))_0x35d99b[_0xcbe097(0x194)]?.(Object[_0xcbe097(0x16a)](new Error(_0x1a42b9[_0xcbe097(0x1ec)]),{'code':_0x1a42b9[_0xcbe097(0x237)]}));else{if(_0x1a42b9?.[_0xcbe097(0x1b4)]==='workspace-bound')this[_0xcbe097(0x252)](_0x1a42b9[_0xcbe097(0x164)]);else{if(_0x1a42b9?.[_0xcbe097(0x20c)]&&this[_0xcbe097(0x21f)][_0xcbe097(0x1ba)](messageId(_0x1a42b9[_0xcbe097(0x20c)]))){if(_0x1a42b9[_0xcbe097(0x1b4)]===_0xcbe097(0x19d)&&_0x1a42b9['pid']===_0x35d99b[_0xcbe097(0x1d5)]&&_0x1a42b9[_0xcbe097(0x19a)]===this[_0xcbe097(0x19a)]&&_0x1a42b9['generation']===this['generation']&&_0x1a42b9[_0xcbe097(0x176)]===!![])_0x35d99b[_0xcbe097(0x249)]=!![];const _0x16b183=this[_0xcbe097(0x21f)][_0xcbe097(0x290)](messageId(_0x1a42b9[_0xcbe097(0x20c)]));this['control']['delete'](messageId(_0x1a42b9[_0xcbe097(0x20c)])),_0x16b183[_0xcbe097(0x240)](_0x1a42b9);}}}}}async[_0x39a322(0x1b2)](_0x2e3f98,_0x237d2a={},_0x433b39=0x1388,_0x24bda0={}){const _0x124234=_0x39a322,_0x333af9=_0x2e3f98==='issue-context'?require(_0x124234(0x2e3))[_0x124234(0x1f1)](_0x237d2a['input']?.[_0x124234(0x2ea)],_0x24bda0):null;_0x333af9?.[_0x124234(0x214)]();const _0x1f30b9={};_0x1f30b9[_0x124234(0x2a4)]=_0x237d2a['input']?.[_0x124234(0x255)],_0x1f30b9['arguments']=_0x237d2a[_0x124234(0x183)]?.[_0x124234(0x1f7)];const _0x1088c9={};_0x1088c9[_0x124234(0x213)]=_0x124234(0x258),_0x1088c9[_0x124234(0x273)]=_0x1f30b9;const _0x3908c4=_0x2e3f98===_0x124234(0x2c4)&&!this[_0x124234(0x2f7)](_0x1088c9);if(![_0x124234(0x204),_0x124234(0x28e)]['includes'](_0x2e3f98)&&!_0x3908c4)await this['enableOwnedOperations']();_0x333af9?.[_0x124234(0x214)]();const _0x228b17={};_0x228b17[_0x124234(0x237)]='CHILD_UNAVAILABLE';if(!this['child']?.[_0x124234(0x210)])return Promise[_0x124234(0x1fc)](Object['assign'](new Error(_0x124234(0x21c)),_0x228b17));const _0x5cd689=Math[_0x124234(0x23f)](0x1,Math[_0x124234(0x198)](_0x433b39,_0x333af9?.[_0x124234(0x21b)]()??_0x433b39));if(_0x333af9)_0x237d2a={..._0x237d2a,'input':{..._0x237d2a[_0x124234(0x183)],'hookLease':{..._0x333af9['wire'],'notAfter':Math[_0x124234(0x198)](_0x333af9[_0x124234(0x186)][_0x124234(0x2bf)],Date[_0x124234(0x264)]()+_0x5cd689),'maxDurationMs':Math[_0x124234(0x198)](_0x333af9[_0x124234(0x186)]['maxDurationMs'],Math['ceil'](_0x5cd689))}}};const _0x39db3a=_0x124234(0x170)+crypto[_0x124234(0x220)]();return new Promise((_0x2f79e7,_0x54f1cb)=>{const _0x58caf2=_0x124234,_0x31e4b1=this[_0x58caf2(0x27e)],_0x18002a=(_0xa919a9='HOOK_DEADLINE_EXCEEDED')=>{const _0x39573f=_0x58caf2;clearTimeout(_0x273f42),_0x24bda0[_0x39573f(0x2ec)]?.[_0x39573f(0x2bc)](_0x39573f(0x2d4),_0x3ccfb1),this[_0x39573f(0x21f)][_0x39573f(0x209)](messageId(_0x39db3a));if(_0x2e3f98===_0x39573f(0x2c4)&&_0x31e4b1[_0x39573f(0x210)])try{const _0x15375a={};_0x15375a[_0x39573f(0x1b4)]=_0x39573f(0x177),_0x15375a[_0x39573f(0x1ce)]=_0x39db3a,_0x31e4b1[_0x39573f(0x25e)](_0x15375a,()=>{});}catch{}_0x54f1cb(Object['assign'](new Error(_0xa919a9),{'code':_0xa919a9}));},_0x3ccfb1=()=>_0x18002a(),_0x273f42=setTimeout(()=>_0x18002a(_0x58caf2(0x1f5)),_0x5cd689);if(_0x24bda0[_0x58caf2(0x2ec)]?.['aborted'])return _0x18002a();const _0x29e44a={};_0x29e44a[_0x58caf2(0x2a8)]=!![],_0x24bda0[_0x58caf2(0x2ec)]?.['addEventListener'](_0x58caf2(0x2d4),_0x3ccfb1,_0x29e44a),this['control'][_0x58caf2(0x2e6)](messageId(_0x39db3a),{'type':_0x2e3f98,'lease':_0x333af9,'resolve':_0x3ac8e7=>{const _0x5f56aa=_0x58caf2;try{_0x333af9?.[_0x5f56aa(0x214)]();}catch{return _0x18002a();}clearTimeout(_0x273f42),_0x24bda0[_0x5f56aa(0x2ec)]?.[_0x5f56aa(0x2bc)](_0x5f56aa(0x2d4),_0x3ccfb1),_0x2f79e7(_0x3ac8e7);}});try{const _0x30aa68={'type':_0x2e3f98,'requestId':_0x39db3a,..._0x237d2a};_0x31e4b1[_0x58caf2(0x25e)](_0x30aa68,_0x33a4bc=>{const _0x12d380=_0x58caf2;if(_0x33a4bc)_0x18002a(_0x12d380(0x239));});}catch{_0x18002a(_0x58caf2(0x239));}});}async[_0x39a322(0x1e7)](_0x3a7150,_0x296e19,_0x4905e4=0x2710){const _0x25a605=_0x39a322;await this['enableOwnedOperations']();const _0x390a1b=_0x25a605(0x20b)+crypto['randomUUID']();return new Promise((_0x5add97,_0x2c8d40)=>{const _0x270fb8=_0x25a605,_0x2e798c=setTimeout(()=>{const _0x47fed8=_0x36fb;this[_0x47fed8(0x21f)]['delete'](messageId(_0x390a1b));const _0x13bd3a={};_0x13bd3a[_0x47fed8(0x237)]='CHILD_RPC_TIMEOUT',_0x2c8d40(Object['assign'](new Error(_0x47fed8(0x1e6)),_0x13bd3a));},_0x4905e4);this[_0x270fb8(0x21f)][_0x270fb8(0x2e6)](messageId(_0x390a1b),{'resolve':_0x147bc6=>{clearTimeout(_0x2e798c),_0x5add97(_0x147bc6);}});const _0x5b3899={};_0x5b3899[_0x270fb8(0x166)]=_0x270fb8(0x1cd),_0x5b3899['id']=_0x390a1b,_0x5b3899[_0x270fb8(0x213)]=_0x3a7150,_0x5b3899[_0x270fb8(0x273)]=_0x296e19,this[_0x270fb8(0x27e)][_0x270fb8(0x2c1)]['write'](JSON[_0x270fb8(0x254)](_0x5b3899)+'\x0a');});}async[_0x39a322(0x187)](){const _0x6dfae8=_0x39a322;if(this['pending'][_0x6dfae8(0x22b)])return[{'kind':_0x6dfae8(0x1e5),'count':this[_0x6dfae8(0x162)][_0x6dfae8(0x22b)]}];const _0x2536cf=await this[_0x6dfae8(0x1b2)](_0x6dfae8(0x204)),_0x23b3c0={};return _0x23b3c0[_0x6dfae8(0x23c)]=_0x6dfae8(0x174),_0x2536cf[_0x6dfae8(0x1bd)]||[_0x23b3c0];}['candidateTuple'](){const _0x4274ce=_0x39a322,_0x20fabf={};return _0x20fabf[_0x4274ce(0x19a)]=this[_0x4274ce(0x19a)],_0x20fabf[_0x4274ce(0x164)]=this['workspace'],_0x20fabf[_0x4274ce(0x1c9)]=process[_0x4274ce(0x1d5)],_0x20fabf['childPid']=this[_0x4274ce(0x27e)]?.['pid'],_0x20fabf[_0x4274ce(0x17a)]=this[_0x4274ce(0x171)]?.[_0x4274ce(0x17a)],_0x20fabf['digest']=this['identity']?.[_0x4274ce(0x20d)],_0x20fabf[_0x4274ce(0x19e)]=this['resourceDigest'],_0x20fabf['catalogHash']=this[_0x4274ce(0x26e)],_0x20fabf[_0x4274ce(0x1ed)]=this[_0x4274ce(0x1ed)],_0x20fabf;}async[_0x39a322(0x1b3)](_0x419b8e){const _0x352548=_0x39a322,_0x32457c={};_0x32457c[_0x352548(0x237)]=_0x352548(0x239);if(!this[_0x352548(0x27e)])throw Object[_0x352548(0x16a)](new Error(_0x352548(0x26d)),_0x32457c);const _0xccb221=this[_0x352548(0x27e)];_0xccb221[_0x352548(0x2eb)]||=((async()=>{const _0x4485b7=_0x352548;if(!_0xccb221[_0x4485b7(0x1aa)])await this['enableOwnedOperations']();let _0x1ccaef=![];const _0x372127=await stopOwnedChild(_0xccb221,{'reason':_0x419b8e,'graceful':async()=>{const _0x270877=_0x4485b7,_0x208506={};_0x208506[_0x270877(0x1fb)]=_0x419b8e;const _0x52eb57=await this[_0x270877(0x1b2)]('shutdown',_0x208506,0x3a98);_0x1ccaef=_0x52eb57[_0x270877(0x1b4)]==='stopped'&&_0x52eb57[_0x270877(0x1d5)]===_0xccb221[_0x270877(0x1d5)]&&_0x52eb57[_0x270877(0x19a)]===this['connectionId']&&_0x52eb57[_0x270877(0x1ed)]===(_0xccb221[_0x270877(0x2c2)]?.[_0x270877(0x1ed)]??this[_0x270877(0x1ed)])&&_0x52eb57[_0x270877(0x176)]===!![];}}),_0xb5435={};_0xb5435[_0x4485b7(0x237)]=_0x4485b7(0x1af);if(process[_0x4485b7(0x2f0)]!==_0x4485b7(0x2b7)&&!_0x1ccaef)throw Object[_0x4485b7(0x16a)](new Error('Registered\x20owner\x20shutdown\x20was\x20not\x20confirmed'),_0xb5435);const _0x30822d={..._0x372127};return _0x30822d[_0x4485b7(0x176)]=_0x1ccaef,_0xccb221[_0x4485b7(0x2b8)]=_0x30822d,_0xccb221[_0x4485b7(0x2b8)];})());const _0x54ddb5=await _0xccb221[_0x352548(0x2eb)],_0xdb3177={};_0xdb3177[_0x352548(0x237)]='PROCESS_TREE_STOP_UNCONFIRMED';if(process[_0x352548(0x2f0)]!=='win32'&&_0xccb221['shutdownEvidence']?.[_0x352548(0x176)]!==!![])throw Object['assign'](new Error(_0x352548(0x1d6)),_0xdb3177);this[_0x352548(0x27e)]===_0xccb221&&(this[_0x352548(0x2b8)]=_0xccb221[_0x352548(0x2b8)]||_0x54ddb5,this[_0x352548(0x27e)]=null,this[_0x352548(0x1bc)]='',this[_0x352548(0x260)]=new StringDecoder(_0x352548(0x2a6)));}async[_0x39a322(0x2de)](_0x371cca){const _0x2f3287=_0x39a322;if(this[_0x2f3287(0x24d)]){const _0x358b97=await this[_0x2f3287(0x1e7)]('initialize',this[_0x2f3287(0x24d)]),_0x511c3e={};_0x511c3e[_0x2f3287(0x237)]='CHILD_INITIALIZE_FAILED';if(_0x358b97['error'])throw Object[_0x2f3287(0x16a)](new Error(_0x2f3287(0x1df)),_0x511c3e);const _0x51ad23={};_0x51ad23[_0x2f3287(0x166)]=_0x2f3287(0x1cd),_0x51ad23[_0x2f3287(0x213)]=_0x2f3287(0x20e),_0x51ad23[_0x2f3287(0x273)]={};if(this[_0x2f3287(0x28c)])this[_0x2f3287(0x27e)][_0x2f3287(0x2c1)]['write'](JSON[_0x2f3287(0x254)](_0x51ad23)+'\x0a');}const _0x41ae8f=await this[_0x2f3287(0x1e7)](_0x2f3287(0x29f),{}),_0x1d67ce=hash(JSON['stringify'](_0x41ae8f[_0x2f3287(0x1d4)]?.[_0x2f3287(0x27f)]||[])),_0x198855={};_0x198855[_0x2f3287(0x237)]=_0x2f3287(0x20f);if(_0x41ae8f[_0x2f3287(0x2a2)]||this[_0x2f3287(0x26e)]&&_0x1d67ce!==this[_0x2f3287(0x26e)])throw Object[_0x2f3287(0x16a)](new Error(_0x2f3287(0x2be)),_0x198855);this[_0x2f3287(0x26e)]=_0x1d67ce;const _0x191c6f={};_0x191c6f[_0x2f3287(0x2f3)]=_0x371cca[_0x2f3287(0x2f3)],_0x191c6f[_0x2f3287(0x257)]=_0x371cca['boundPipeline'],await this[_0x2f3287(0x1b2)](_0x2f3287(0x2ed),_0x191c6f);}async[_0x39a322(0x16e)](_0x12825c){const _0x97f932=_0x39a322,_0x1f4b0c=readFence(this['workspace']),_0x43c3de={};_0x43c3de[_0x97f932(0x237)]='ADMISSION_CONFLICT';if(_0x1f4b0c[_0x97f932(0x25a)]!==_0x97f932(0x200)||_0x12825c[_0x97f932(0x25f)]!==_0x1f4b0c[_0x97f932(0x25f)]||_0x12825c[_0x97f932(0x1ff)]!==_0x1f4b0c[_0x97f932(0x1ff)])throw Object[_0x97f932(0x16a)](new Error(_0x97f932(0x295)),_0x43c3de);const _0x1ecea5={};_0x1ecea5[_0x97f932(0x204)]=_0x97f932(0x28b),_0x1ecea5[_0x97f932(0x237)]=_0x97f932(0x197);if(this[_0x97f932(0x1c0)])return _0x1ecea5;this[_0x97f932(0x27a)](_0x12825c[_0x97f932(0x25f)]),this[_0x97f932(0x224)]=!![];if(_0x12825c[_0x97f932(0x1b4)]===_0x97f932(0x1fd)){const _0x568bc0={};_0x568bc0[_0x97f932(0x237)]=_0x97f932(0x1a7);if(!this[_0x97f932(0x19b)]||this[_0x97f932(0x19b)]['transactionId']!==_0x12825c[_0x97f932(0x25f)]||!this['candidate'][_0x97f932(0x256)]||!this[_0x97f932(0x27e)]?.[_0x97f932(0x1bf)])throw Object[_0x97f932(0x16a)](new Error(_0x97f932(0x1a4)),_0x568bc0);const _0x2a1c89=await this[_0x97f932(0x1b2)]('status'),_0xc87f1f={};_0xc87f1f[_0x97f932(0x237)]='CHILD_READINESS_MISMATCH';if(_0x2a1c89[_0x97f932(0x1d5)]!==this[_0x97f932(0x27e)][_0x97f932(0x1d5)]||_0x2a1c89[_0x97f932(0x1ed)]!==_0x12825c[_0x97f932(0x1ed)]||!same(_0x2a1c89[_0x97f932(0x164)],this['workspace']))throw Object['assign'](new Error('Candidate\x20readiness\x20is\x20no\x20longer\x20valid'),_0xc87f1f);const _0x14bfbb=acknowledgeGeneration(this[_0x97f932(0x164)],this[_0x97f932(0x19a)],_0x12825c[_0x97f932(0x25f)],this[_0x97f932(0x2f2)]());projectGeneration(this[_0x97f932(0x19c)],this['workspace'],_0x14bfbb),this[_0x97f932(0x2c8)]=this['candidate']['release'],this[_0x97f932(0x175)]=_0x97f932(0x190),this['admissionClosed']=![];const _0x1f5c0a={};return _0x1f5c0a['committedTransaction']=_0x14bfbb['transactionId'],this[_0x97f932(0x246)](_0x1f5c0a),{'status':_0x97f932(0x190),...this[_0x97f932(0x2f2)]()};}const _0x28013f=readGeneration(this['workspace']),_0x42f7ba={};_0x42f7ba['code']='RESOURCE_ROLL_FORWARD_REQUIRED';if(_0x12825c[_0x97f932(0x1b4)]===_0x97f932(0x185)&&_0x28013f?.[_0x97f932(0x25f)]===_0x12825c[_0x97f932(0x25f)])throw Object[_0x97f932(0x16a)](new Error(_0x97f932(0x28d)),_0x42f7ba);if(_0x12825c['type']===_0x97f932(0x1a9)&&this[_0x97f932(0x19b)]?.['transactionId']===_0x12825c[_0x97f932(0x25f)]&&this['candidate'][_0x97f932(0x256)]&&this['child']?.['ready']){const _0x21fb42=this[_0x97f932(0x2f2)](),_0xc943e7={};_0xc943e7[_0x97f932(0x237)]=_0x97f932(0x2d8);if([_0x97f932(0x17a),_0x97f932(0x20d),_0x97f932(0x1ed),_0x97f932(0x19e),'catalogHash'][_0x97f932(0x2ab)](_0xaab808=>_0x21fb42[_0xaab808]!==_0x12825c[_0xaab808]))throw Object['assign'](new Error(_0x97f932(0x296)),_0xc943e7);const _0xaabf2b=await this[_0x97f932(0x1b2)]('status'),_0xa7103={};_0xa7103['code']='CHILD_READINESS_MISMATCH';if(_0xaabf2b[_0x97f932(0x1d5)]!==_0x21fb42['childPid']||_0xaabf2b[_0x97f932(0x1ed)]!==_0x21fb42['generation']||!same(_0xaabf2b[_0x97f932(0x164)],this[_0x97f932(0x164)]))throw Object[_0x97f932(0x16a)](new Error(_0x97f932(0x1ea)),_0xa7103);const _0x2950b1={'status':'candidate-ready',..._0x21fb42};return _0x2950b1;}this[_0x97f932(0x1c0)]=((async()=>{const _0x1b117c=_0x97f932;if(_0x12825c['type']===_0x1b117c(0x2c3)){if(this['candidate']?.['transactionId']===_0x12825c[_0x1b117c(0x25f)]&&this[_0x1b117c(0x19b)][_0x1b117c(0x19d)]&&this[_0x1b117c(0x19b)][_0x1b117c(0x256)]&&!this[_0x1b117c(0x19b)][_0x1b117c(0x228)])return{'status':this['child']?.['ready']?_0x1b117c(0x1d1):_0x1b117c(0x28b),'code':this[_0x1b117c(0x27e)]?.[_0x1b117c(0x1bf)]?undefined:_0x1b117c(0x184),'oldRuntimeStopped':!![],...this['candidateTuple']()};if(this[_0x1b117c(0x19b)]?.[_0x1b117c(0x25f)]===_0x12825c[_0x1b117c(0x25f)]&&this[_0x1b117c(0x19b)][_0x1b117c(0x19d)]&&!this[_0x1b117c(0x19b)][_0x1b117c(0x228)]&&!this['child'])return{'status':_0x1b117c(0x19d),'connectionId':this[_0x1b117c(0x19a)]};const _0x2bd2d3=await this[_0x1b117c(0x187)]();if(_0x2bd2d3['length'])return{'status':_0x1b117c(0x28b),'blockers':_0x2bd2d3};const _0x22bb2=await this[_0x1b117c(0x1b2)]('status');this[_0x1b117c(0x19b)]={'transactionId':_0x12825c[_0x1b117c(0x25f)],'previous':{'release':this[_0x1b117c(0x2c8)],'generation':this[_0x1b117c(0x1ed)],'resourceDigest':this[_0x1b117c(0x19e)],'state':_0x22bb2}},this[_0x1b117c(0x2ae)](),await this['stopChild']('workspace-update'),this['candidate'][_0x1b117c(0x19d)]=!![],this[_0x1b117c(0x2ae)]();const _0x1770ac={};_0x1770ac[_0x1b117c(0x21d)]=_0x12825c[_0x1b117c(0x25f)],this[_0x1b117c(0x246)](_0x1770ac);const _0x28694b={};return _0x28694b[_0x1b117c(0x204)]=_0x1b117c(0x19d),_0x28694b[_0x1b117c(0x19a)]=this[_0x1b117c(0x19a)],_0x28694b[_0x1b117c(0x2b8)]=this[_0x1b117c(0x2b8)],_0x28694b;}if(_0x12825c[_0x1b117c(0x1b4)]===_0x1b117c(0x185)){const _0x45fa7f={};_0x45fa7f[_0x1b117c(0x237)]=_0x1b117c(0x25d);if(!this[_0x1b117c(0x19b)])throw Object['assign'](new Error('Previous\x20runtime\x20ownership\x20was\x20not\x20recovered'),_0x45fa7f);const _0x39771e=this[_0x1b117c(0x19b)][_0x1b117c(0x261)],_0x266eb5={};_0x266eb5[_0x1b117c(0x237)]='CHILD_OWNERSHIP_UNKNOWN';if(!_0x39771e?.['state']||!this[_0x1b117c(0x19b)][_0x1b117c(0x19d)])throw Object['assign'](new Error(_0x1b117c(0x1f3)),_0x266eb5);if(this[_0x1b117c(0x27e)])await this['stopChild'](_0x1b117c(0x2e5));await this['boot'](_0x39771e['release'],_0x39771e[_0x1b117c(0x1ed)]);const _0xeeb768={};_0xeeb768['code']='RESOURCE_ROLLBACK_UNCONFIRMED';if(this[_0x1b117c(0x19e)]!==_0x39771e[_0x1b117c(0x19e)])throw Object[_0x1b117c(0x16a)](new Error(_0x1b117c(0x195)),_0xeeb768);return await this[_0x1b117c(0x2de)](_0x39771e['state']),this['release']=_0x39771e[_0x1b117c(0x2c8)],this[_0x1b117c(0x19b)]={...this[_0x1b117c(0x19b)],'restored':!![],'prepared':![]},this['persistCandidate'](),this[_0x1b117c(0x175)]=_0x1b117c(0x28b),this[_0x1b117c(0x224)]=![],this['record'](),{'status':_0x1b117c(0x1eb),'serving':this[_0x1b117c(0x27e)]?.[_0x1b117c(0x1bf)]===!![],...this[_0x1b117c(0x2f2)]()};}const _0xb8adc4={};_0xb8adc4[_0x1b117c(0x237)]=_0x1b117c(0x2d8);if(!Number['isSafeInteger'](_0x12825c[_0x1b117c(0x1ed)])||_0x12825c['generation']<=(this[_0x1b117c(0x19b)]?.['previous']?.[_0x1b117c(0x1ed)]??this[_0x1b117c(0x1ed)])||_0x12825c[_0x1b117c(0x17a)]!==_0x1f4b0c[_0x1b117c(0x2a0)]||_0x12825c['digest']!==_0x1f4b0c['targetDigest'])throw Object['assign'](new Error('Candidate\x20target\x20does\x20not\x20match\x20transaction'),_0xb8adc4);const _0x29fc76=_0x12825c[_0x1b117c(0x2c8)]||path[_0x1b117c(0x29d)](this[_0x1b117c(0x19c)],'releases',_0x12825c['version']+'-'+_0x12825c[_0x1b117c(0x20d)]),_0x3fa94c=verifyRelease(_0x29fc76,this[_0x1b117c(0x16d)]),_0x21e8d7={};_0x21e8d7[_0x1b117c(0x237)]=_0x1b117c(0x2d8);if(_0x3fa94c[_0x1b117c(0x17a)]!==_0x12825c[_0x1b117c(0x17a)]||_0x3fa94c[_0x1b117c(0x20d)]!==_0x12825c[_0x1b117c(0x20d)])throw Object[_0x1b117c(0x16a)](new Error(_0x1b117c(0x2ce)),_0x21e8d7);const _0x5d0ba9={};_0x5d0ba9[_0x1b117c(0x237)]=_0x1b117c(0x1ab);if(!this[_0x1b117c(0x19b)]?.[_0x1b117c(0x19d)]||this['candidate']['transactionId']!==_0x12825c[_0x1b117c(0x25f)])throw Object[_0x1b117c(0x16a)](new Error(_0x1b117c(0x1f9)),_0x5d0ba9);const _0x4eeadc=this[_0x1b117c(0x19b)][_0x1b117c(0x261)]['state'];this[_0x1b117c(0x19b)][_0x1b117c(0x2c8)]=_0x29fc76;if(this['child'])await this[_0x1b117c(0x1b3)](_0x1b117c(0x1b1));this[_0x1b117c(0x19b)][_0x1b117c(0x256)]=![],this[_0x1b117c(0x2ae)](),await this[_0x1b117c(0x26f)](_0x29fc76,_0x12825c['generation']),await this[_0x1b117c(0x2de)](_0x4eeadc);const _0x6e2176={};_0x6e2176[_0x1b117c(0x237)]=_0x1b117c(0x2d8);if(this[_0x1b117c(0x19e)]!==_0x12825c[_0x1b117c(0x19e)]||this[_0x1b117c(0x26e)]!==_0x12825c[_0x1b117c(0x1c2)])throw Object[_0x1b117c(0x16a)](new Error(_0x1b117c(0x285)),_0x6e2176);this[_0x1b117c(0x19b)]['prepared']=!![],this[_0x1b117c(0x2ae)](),this[_0x1b117c(0x175)]='pending-safe-boundary';const _0x966257={};return _0x966257[_0x1b117c(0x2ba)]=_0x12825c[_0x1b117c(0x25f)],this['record'](_0x966257),{'status':_0x1b117c(0x1d1),...this[_0x1b117c(0x2f2)]()};})());try{return await this[_0x97f932(0x1c0)];}finally{this['transition']=null;}}async['switchRuntime'](){const _0x1606ff=_0x39a322,_0x2cba28={};return _0x2cba28[_0x1606ff(0x204)]=_0x1606ff(0x22d),_0x2cba28[_0x1606ff(0x237)]=_0x1606ff(0x27c),_0x2cba28;}async['childClosed'](_0x3dd0f5,_0x2bb69d,_0x5ae981){const _0x5b559d=_0x39a322;if(this[_0x5b559d(0x27e)]!==_0x3dd0f5)return;_0x3dd0f5[_0x5b559d(0x1aa)]=!![],_0x3dd0f5[_0x5b559d(0x1bf)]=![];const _0x26a79a={};_0x26a79a['code']='CHILD_CLOSED',_0x3dd0f5[_0x5b559d(0x194)]?.(Object['assign'](new Error(_0x5b559d(0x1dc)),_0x26a79a));for(const [_0x1a86c6]of this[_0x5b559d(0x162)]){try{const _0x5be1f0={};_0x5be1f0[_0x5b559d(0x237)]=-0x7d02,_0x5be1f0[_0x5b559d(0x231)]='APT_RUNTIME_OUTCOME_UNKNOWN:\x20child\x20closed\x20after\x20request\x20delivery',this['writeHost']({'jsonrpc':'2.0','id':JSON[_0x5b559d(0x211)](_0x1a86c6),'error':_0x5be1f0});}catch{}}this[_0x5b559d(0x162)]['clear']();try{const _0x1c52da={};_0x1c52da[_0x5b559d(0x1fb)]=_0x5b559d(0x2b1),_0x1c52da[_0x5b559d(0x2ee)]=0x3e8,_0x3dd0f5[_0x5b559d(0x2eb)]||=stopOwnedChild(_0x3dd0f5,_0x1c52da);const _0x3dbd4e=await _0x3dd0f5[_0x5b559d(0x2eb)];_0x3dd0f5['shutdownEvidence']||={..._0x3dbd4e,'registeredOwnersStopped':_0x3dd0f5[_0x5b559d(0x249)]===!![]};}catch(_0x1b6455){this[_0x5b559d(0x175)]=_0x5b559d(0x28a),this['admissionClosed']=!![];const _0x2ebd35={};_0x2ebd35[_0x5b559d(0x2f6)]=_0x5ae981||_0x2bb69d||_0x5b559d(0x181),_0x2ebd35[_0x5b559d(0x27b)]=_0x1b6455[_0x5b559d(0x237)]||'PROCESS_TREE_STOP_UNCONFIRMED',this['record'](_0x2ebd35);return;}if(this[_0x5b559d(0x27e)]!==_0x3dd0f5)return;if(process[_0x5b559d(0x2f0)]!==_0x5b559d(0x2b7)&&!_0x3dd0f5[_0x5b559d(0x249)]){this[_0x5b559d(0x175)]=_0x5b559d(0x28a),this[_0x5b559d(0x224)]=!![];const _0x4d814a={};_0x4d814a[_0x5b559d(0x2f6)]=_0x5ae981||_0x2bb69d||_0x5b559d(0x181),_0x4d814a[_0x5b559d(0x27b)]=_0x5b559d(0x1af),this[_0x5b559d(0x246)](_0x4d814a);return;}this[_0x5b559d(0x2b8)]=_0x3dd0f5['shutdownEvidence'],this[_0x5b559d(0x27e)]=null;if(!this[_0x5b559d(0x1c0)]&&!this['stopped']){this[_0x5b559d(0x24d)]=null,this[_0x5b559d(0x28c)]=![],this[_0x5b559d(0x175)]=_0x5b559d(0x22d),this['admissionClosed']=!![];const _0x36d6f6={};_0x36d6f6[_0x5b559d(0x2f6)]=_0x5ae981||_0x2bb69d||_0x5b559d(0x181),this['record'](_0x36d6f6);}}[_0x39a322(0x2e7)](_0x1bfbdb){const _0x5b9463=_0x39a322;this[_0x5b9463(0x1d7)][_0x5b9463(0x21a)](JSON[_0x5b9463(0x254)](_0x1bfbdb)+'\x0a');}async[_0x39a322(0x18c)](_0x443664=_0x39a322(0x26b)){const _0xb4c432=_0x39a322;if(this['closed'])return;if(this[_0xb4c432(0x165)])return this[_0xb4c432(0x165)];this[_0xb4c432(0x224)]=!![],clearTimeout(this[_0xb4c432(0x1b5)]),this[_0xb4c432(0x165)]=((async()=>{const _0x145ce5=_0xb4c432;try{if(this[_0x145ce5(0x27e)])await this[_0x145ce5(0x1b3)](_0x443664);closeMember(this[_0x145ce5(0x164)],this[_0x145ce5(0x19a)],process[_0x145ce5(0x1d5)],!![]),this[_0x145ce5(0x19d)]=!![],this[_0x145ce5(0x1f2)]=_0x443664,require(_0x145ce5(0x19f))[_0x145ce5(0x282)](this),await new Promise(_0x469c33=>this[_0x145ce5(0x235)]?.[_0x145ce5(0x18c)](_0x469c33)||_0x469c33()),this['activation']=_0x145ce5(0x1c6);const _0x19e6ea={};_0x19e6ea[_0x145ce5(0x2f6)]=_0x443664,this[_0x145ce5(0x246)](_0x19e6ea);try{fs[_0x145ce5(0x172)](this[_0x145ce5(0x2b5)]);}catch{}if(process[_0x145ce5(0x2f0)]!=='win32')try{fs[_0x145ce5(0x172)](this[_0x145ce5(0x2df)]);}catch{}this[_0x145ce5(0x1aa)]=!![];}catch(_0x20e219){this[_0x145ce5(0x175)]='legacy-ownership-unverified';const _0x48b5da={};_0x48b5da[_0x145ce5(0x2f6)]=_0x443664,_0x48b5da[_0x145ce5(0x27b)]=_0x20e219[_0x145ce5(0x237)]||'CHILD_STOP_UNCONFIRMED',this['record'](_0x48b5da);throw _0x20e219;}})());try{return await this[_0xb4c432(0x165)];}finally{this['closing']=null;}}}function _0x36fb(_0x579d8b,_0x3cefd8){_0x579d8b=_0x579d8b-0x162;const _0x2e62a6=_0x2e62();let _0x36fb48=_0x2e62a6[_0x579d8b];if(_0x36fb['wcTDRa']===undefined){var _0x54a0b9=function(_0x1871ad){const _0x2b4550='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3b5939='',_0x1f8bb2='';for(let _0x2d5ebc=0x0,_0x2eaa40,_0x597b78,_0x3eca6a=0x0;_0x597b78=_0x1871ad['charAt'](_0x3eca6a++);~_0x597b78&&(_0x2eaa40=_0x2d5ebc%0x4?_0x2eaa40*0x40+_0x597b78:_0x597b78,_0x2d5ebc++%0x4)?_0x3b5939+=String['fromCharCode'](0xff&_0x2eaa40>>(-0x2*_0x2d5ebc&0x6)):0x0){_0x597b78=_0x2b4550['indexOf'](_0x597b78);}for(let _0x154602=0x0,_0x2778b3=_0x3b5939['length'];_0x154602<_0x2778b3;_0x154602++){_0x1f8bb2+='%'+('00'+_0x3b5939['charCodeAt'](_0x154602)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1f8bb2);};_0x36fb['JLlnAj']=_0x54a0b9,_0x36fb['ApVDxc']={},_0x36fb['wcTDRa']=!![];}const _0x4b1464=_0x2e62a6[0x0],_0x288a00=_0x579d8b+_0x4b1464,_0x465f34=_0x36fb['ApVDxc'][_0x288a00];return!_0x465f34?(_0x36fb48=_0x36fb['JLlnAj'](_0x36fb48),_0x36fb['ApVDxc'][_0x288a00]=_0x36fb48):_0x36fb48=_0x465f34,_0x36fb48;}const _0x2809a8={};_0x2809a8['ConnectionSupervisor']=ConnectionSupervisor,module[_0x39a322(0x203)]=_0x2809a8;
1
+ 'use strict';const _0x3d9760=_0x1e3a;(function(_0x4ba7e4,_0x49ade7){const _0x548e7b=_0x1e3a,_0x49f6ec=_0x4ba7e4();while(!![]){try{const _0x2212f2=-parseInt(_0x548e7b(0x1cd))/0x1+parseInt(_0x548e7b(0x1f2))/0x2*(parseInt(_0x548e7b(0x19c))/0x3)+-parseInt(_0x548e7b(0x2dc))/0x4+-parseInt(_0x548e7b(0x278))/0x5*(parseInt(_0x548e7b(0x309))/0x6)+-parseInt(_0x548e7b(0x22e))/0x7*(-parseInt(_0x548e7b(0x1df))/0x8)+-parseInt(_0x548e7b(0x2a8))/0x9+parseInt(_0x548e7b(0x266))/0xa;if(_0x2212f2===_0x49ade7)break;else _0x49f6ec['push'](_0x49f6ec['shift']());}catch(_0x46c030){_0x49f6ec['push'](_0x49f6ec['shift']());}}}(_0x1228,0x2565a));function _0x1228(){const _0x46ce51=['zhjHAw4','C2vJCMv0','lI9YDw50Aw1Llxn0B3jL','CgLK','BM90AwzPy2f0Aw9UCY9PBML0AwfSAxPLza','y3jLyxrLsgfZAa','B3v0Chv0qNvMzMvY','C2v0lwDLBMvYyxrPB24','q0HjterFsu5jveLbteLArv9gquLmruq','BgLZDgvUzxi','C3rHCNrZv2L0Aa','yMXVy2TLCG','u1rbuLrvuf9bvvrit1jjvfLFvu5dt05gsvjnruq','uhjLDMLVDxmGCNvUDgLTzsbVD25LCNnOAxaGD2fZig5VDcbYzwnVDMvYzwq','yNL0zuXLBMD0Aa','CgLWzq','lI9YzwDPC3rYyxrPB24Ty2XVC3vYzq','q0HjterFt1DorvjtseLqx1vos05pv04','zhjHAw5PBMC','qvbux1vqrefurv9qru5esu5hoIb3B3jRC3bHy2uGAxmGzNjVEMvU','y2XVC2u','DxjP','CNvUDgLTzs1JAgLSzc1JBg9Zzwq','CgfYC2u','DgfYz2v0rgLNzxn0','CMvJB3jK','BM9KztPUzxq','CMvNAxn0zxjLze93BMvYC1n0B3bWzwq','y29UBMvJDgLUzW','DMfSDwvZ','DgfYz2v0vMvYC2LVBG','yM91BMq','BM9KztPZDhjPBMDFzgvJB2rLCG','C3jJl2LUC3rHBgXLCI9YDw50Aw1LlwnOAwXKlMPZ','CMvXDwvZDenOAwXK','y2fUzgLKyxrLvhvWBgu','C2v0vgLTzw91Da','DMvYC2LVBG','lNnVy2S','C3rKzxjY','CMvHzezPBgvtEw5J','C2vUza','y2fWDhvYzvjLz2LZDhjHDgLVBNm','D3jPDgvgAwXLu3LUyW','uMvNAxn0zxjLzcbVD25LCIbZAhv0zg93BIb3yxmGBM90ignVBMzPCM1Lza','mZvZqw9PyKq','y29UDgv4Dc1WCM9WB3nLza','AxnozxDnDxrHDgLVBG','v09ss1nqqunfx0jjtKrjtKDFq09orKXjq1q','C3rVChbLza','yxb0t3DUzxjZAgLW','y2f0ywXVz0HHC2G','C3rHDhvZ','BgvNywn5lw93BMvYC2HPCc11BNzLCMLMAwvK','AxbJ','zMLSzvvstfrVugf0Aa','lI9JB25Uzwn0Aw9UlwfJDgL2yxrPB24','y2f0y2G','CMvXDwvZDa','C2HHmJu2','ChjLDMLVDxmTCMvZDg9Yzwq','CMvZDwX0','Aw5KzxHpzG','Dw5Yzwy','CNvUDgLTzs1ZzwXMlw9IC2vYDMvK','yxnZzxj0q3vYCMvUDa','BMfTzq','q29TBwL0DgvKigDLBMvYyxrPB24GCMvXDwLYzxmGCM9SBcbMB3j3yxjK','zgf0yq','y29TBwL0lwnHBMrPzgf0zq','y2fUzgLKyxrLlxjLywr5','ChjVy2vZC1n0yxj0','yxnZAwDU','CMvZDg9Yzs1WCMv2Aw91CW','C3vWzxj2AxnVCLbPza','BgvUz3rO','uKvtt1vsq0vFuK9mtejbq0TFvu5dt05gsvjnruq','Ag9ZDfnLC3nPB25jza','D29YA3nWywnL','zMLUzf9JywXSzxjZ','yM9VDfjLC29SDMu','CMvJzwL2zuHVC3q','B25Jzq','qurnsvntsu9ox0nptKzmsunu','Ag9VA0XLyxnL','C2H1DgrVD25fDMLKzw5Jzq','q09otKvdveLptL9ot1rFufjfuefsruq','y29UDgv4Df9SB2fK','BMf0AxzLq2fSBgvY','z2f0zxDHEs1IAw5KAw5N','qvbux1vqrefurv9qru5esu5hoIb3B3jRC3bHy2uGywrTAxnZAw9UigLZignSB3nLzcbMB3iGCNvUDgLTzsbZD2L0y2G','Agv4','y3jLyxrLsg1HyW','ufjpq0vtu19uuKvfx1nut1bFvu5dt05gsvjnruq6ihbYAw9Yihj1BNrPBwuGB3DUzxjZAgLWihjLCxvPCMvZihjLy292zxj5','q2fUzgLKyxrLig9WzxjHDgLVBIbOyxmGysbZDgfSzsb3B3jRC3bHy2uGzxbVy2G','q0HjterFq0Xpu0ve','ChjLCgfYzq','uNvUDgLTzsbJAgLSzcbKAwqGBM90igv4Axq','lMfNzw50CY9YDw50Aw1Ll2nVBM5Ly3rPB25Z','v09ss1nqqunfx1rsqu5tqunusu9ox1jfuvvjuKve','lI4Vy29Yzs9UB2rLlxzLCNnPB24','ntiWmtGWmhbvueLAAW','y29UDhjVBenHBMrPzgf0zq','qvbux1nvuevsvKLtt1jFq0Hjteq','CMvZB3vYy2uTD2fPDa','CMvJDxjZAxzL','C3DPDgnOuNvUDgLTzq','lI91CgrHDguTzxHLy3v0B3i','ywXSB3DLza','DgLJA2v0CW','DhLWzq','CMvJB25Uzwn0lxjLCxvPCMvK','y2HPBgrdB250CM9Sq2fWywjPBgL0AwvZ','CMvZB2X2zq','B3bLCMf0Aw9Uqwn0AxzHDgLVBG','DhjHBNnWB3j0','r0vorvjbveLptL9vtKnptKzjuK1fra','ChjLDMLVDxm','y2fUzgLKyxrLlwjVB3qTzMfPBgvK','mti0ota4nwP5tNz2yW','C2H1DgrVD25by2TUB3DSzwrNzwq','DgvZDa','CMvMCMvZAfn0yxj0DxbtDgf0zq','C2TPBgXFBg9Hza','lMTLEq','C3rVCenOAwXK','Aw5JBhvKzxm','BwvZC2fNzq','CMfUzg9TqNL0zxm','C3rHCNrqzw5KAw5NrxHLy3v0B3i','ChjLCgfYzs1Jyw5KAwrHDgu','yxjNDw1LBNrZ','CgLWzwXPBMvFC3rHDhvZ','Dw5SAw5Ru3LUyW','Aw5WDxrcDwzMzxi','CM9VDfvYAq','ywjVCNrLza','AgfZ','uhjLCgfYzwqGy2fUzgLKyxrLihr1CgXLignOyw5Nzwq','Ag9ZDc1LCNjVCG','Dg9VBhm','D2LYzq','y2XVC3vYzvjLz2LZDhjHDgLVBNm','Bxv0yxrPB25bBgXVD2vK','uhjLDMLVDxmGCNvUDgLTzsbTDxn0ihn0B3aGyMvMB3jLihjLC291CMnLCYbJAgfUz2u','q0fmtevsx0nptLrfwfrFvu5bvKfjtefcteu','D2fPDgLUzW','lI4Vy29Yzs9YDw50Aw1Llwf1DgHVCML0Eq','CMvSzwfZzq','D3jPDgviB3n0','CMvXDwLYzxnqCM9JzxnZrgLZCgf0y2G','sg9ZDcbTDxn0ihjLzNjLC2GGAxrZignHDgfSB2C','zxHWBgLJAxrxB3jRC3bHy2u','uhjLDMLVDxmGC3rVCcbLDMLKzw5JzsbPCYbTAxnZAw5N','y29UDhjVBa','CMvZDg9Yzq','qvbux1jvtLrjtuvFt1vuq09nrv9vtKTot1DooIbJAgLSzcbJBg9ZzwqGywz0zxiGCMvXDwvZDcbKzwXPDMvYEq','C2L6zq','lI4Vy29Yzs9Hzg1PC3nPB24TzMvUy2u','v09ss1nqqunfx1jfq09wrvjzx1jfuvvjuKve','Cgf1C2u','C2fMzs1IB3vUzgfYEq','ChjLCgfYzwq','y2HPBgrdBg9Zzwq','CMvHzhK','z2f0zxDHEujPBMrPBMC','BM90AwzPy2f0Aw9UCY8','mtmWotG5nMfgDgn6AG','B3b0Aw9UCW','zxHWzwn0zwrcB290','y2fUzgLKyxrLlxjLy292zxj5','q0HjterFuKvbreLorvntx01ju01bveni','Dw5HDMfPBgfIBgu','zw5HyMXLlw93BMvKlw9WzxjHDgLVBNm','qvbux1vqrefurv9qru5esu5hoIbUzxCGy29UBMvJDgLVBIbPCYb3ywL0Aw5NigzVCIb3B3jRC3bHy2uGCMvJB3zLCNK','lMfNzw50CW','CMvZB3vYy2veAwDLC3q','C2vYDMLUzW','yM9VDgLUzW','ru5pru5u','q0HjterFq09ovfjptf9usu1ft1vu','t1DorvjtseLqx1vos05pv04','ChjVy2vZC1n0yxj0zwrbDa','B3bLCMf0Aw9UCY1LBMfIBgvK','C3rVCfbYB21PC2u','zNjVEMvU','C3rVChbLzfrYyw5Zywn0Aw9U','C3rHCNr1Cfn0yxrL','B2zM','CMvTB3zLrxzLBNrmAxn0zw5LCG','D29YA3nWywnLx2XPC3q','CM9VDfbHDgG','DxnLze5VBMnLCW','CMvXDwvZDc1ZDg9W','CgXHDgzVCM0','zgLZy29UBMvJDa','zgLNzxn0','y29TBwL0lwnVBNrLEhq','CgvUzgLUzW','zMfPBgvK','DhjPBq','v09ss0vsx1nut1bFvu5dt05gsvjnruq','CMvMCMvZAeLUDMvUDg9YEq','C2vZC2LVBL9IB290C3rYyxa','y3jLyxrLu2vYDMvY','ChjLCgfYzwruCMfUC2fJDgLVBG','ywn0AxzHDgLVBKv2AwrLBMnL','yxnZzxj0u3rHCNr1CfjLywr5','Aw5WDxrdAgfPBG','q29UBMvJDgLVBLn1CgvYDMLZB3i','CMvZB3vYy2vZlwfWCgXPzwq','CMvSzwfZzxm','zNn5BMntEw5J','q2fUzgLKyxrLihjLywrPBMvZCYbPCYbUBYbSB25NzxiGDMfSAwq','zMLSztO','lNnLy3jLDhm','ufjpq0vtu19uuKvfx1nut1bFvu5dt05gsvjnruq','CNvUDgLTzvjVB3q','ANnVBNjWyW','otm3mtq4v3LeyM1M','Bw9Kzq','lI4Vy29Yzs9VD25Lzc1WCM9JzxnZ','ywjVCNq','A2LUza','y2fUy2vSuMvXDwvZDeLK','DxbKyxrLlxrYyw5Zywn0Aw9UlMPZB24','z2vUzxjHDgLVBG','Dg9VBenHDgfSB2DiyxnO','BgLUDxG','CMvJywXS','uhjLDMLVDxmGCMvZB3vYy2vZihDLCMuGBM90ihjLC3rVCMvK','C3rHCNr1CefSBg93zwq','C3rYAw5N','C2XPy2u','zxbVy2G','BgLZDf9JB2rLx2zPBgvZ','CM91DgvFCMvXDwvZDa','C2LNBMfS','zw5KCg9PBNq','CgvUzgLUzY1ZywzLlwjVDw5Kyxj5','ChvIBgLJs2v5','zxjYB3i','BM93','Aw5PDgLHBgL6zwq','C3rVCfjLyxnVBG','CMvHzhKTBMv4Dc1JB25Uzwn0Aw9U','AxnszwfKt25SEvrVB2W','y2fUzgLKyxrLugf0Aa','vfjbtLnjveLptL9jtL9quK9huKvtuW','yM9VDfjLAMvJDa','yM91BMrqAxbLBgLUzq','Dg9mB3DLCKnHC2u','y3DK','z3jLCf9ZzwfYy2G','B3v0Chv0rgvJB2rLCG','uNvUDgLTzsbJAgLSzcbPCYb1BMf2ywLSywjSzq','C2vZC2LVBI1IB3vUza','AxntywzLsw50zwDLCG','C3rVCfjLCxvLC3rLza','qvbux1jfq09otKvdvf9srvfvsvjfrdOGCNvUDgLTzsbJAgLSzcbZDg9WCgvKoYbPBML0AwfSAxPLigeGBMv3ie1ducbZzxnZAw9U','y29UDhjVBenHCgfIAwXPDgLLCW','tunqx0rju0npvKvsx0jbq0TftKrt','u3vWzxj2AxnVCIbYzxf1zxn0igzHAwXLza','C3vWzxj2AxnVCLbYB2nLC3ntDgfYDa','nMXwu3zPwq','C2vZC2LVBKLK','DhjHBNnPDgLVBG','tK9erv9pufrjt05t','q0foreLeqvrfx1rvueXfx01ju01bveni','Aw52B2nHDgLVBKLK','AgfUzgXLsg9ZDe1LC3nHz2u','CMvSzwfZzunVBw1PDhrLzezLBMnL','uhjVy2vZCYbKAxnWyxrJAcbHy3rPDMf0Aw9UihDHCYbUB3qGy29UzMLYBwvK','AgfUzhnOywTLq29TCgXLDgu','DxbKyxrL','Bw9KzwXFBgLZDa','BgLZDgvU','y29Kzq','Aw5PDgLHBgL6zq','CMvHzf9RBM93BgvKz2u','BwfJ','D29YA3nWywnLrNjVBuLUAxrPywXPEMu','y29UBMvJDgLVBNm','zgvSzxrL','u1Djvenix0zbsuXfra','zxHLy1bHDgG','DgHLBG','ywnJzxb0sg9VA0XLyxnL','z3jHy2vnCW','CMvIAw5Kv29YA3nWywnL','lNrYyw5Zywn0Aw9UlMPZB24','zxHWB3j0CW','DgLJA2v0','D2f0y2Hqzw5KAw5NrxHLy3v0B3i','BM9KztPMCW','y2HHBgXLBMDL','zxHWBg9Yzv9JB2rL','yM91BMrtzxnZAw9U','Ag9ZDc1LB2y','y2HHBMDLzef0','DxrMoa','C2vJCMv0ugf0Aa','lMPZB24','Dg9ju09tDhjPBMC','uNvUDgLTzsbsuemGDgLTzwqGB3v0','C3rYAw5NAwz5','AxnZDwuTy29UDgv4Da','y29TBwL0DgvKvhjHBNnHy3rPB24','BwLU','lI4Vy29Yzs9PCgmTzw52zwXVCgu','D2LUmZi','zMXHzW','q2HPBgqGB3DUzxjZAgLWigLZihvUA25VD24','ywrTAxnZAw9Uq2XVC2vK','uKvtt1vsq0vFuK9mtf9gt1jxqvjex1jfuvvjuKve','y2HPBgrfBNzPCM9UBwvUDa','BM9KztPVCW','mtaWmJnqyMz6Aeu','yxb0lw1JCc0','CgfYyw1Z','Dg9VBhmVy2fSBa','z2v0','q0HjterFu1rbuLrFveLnru9vva','B3DUzxjZAgLWlxvUA25VD24','Aw5PDgLHBgL6zunHBMrPzgf0zq','CMvUyw1Lu3LUyW','y2XVC3vYzunVBNrYywn0vMvYC2LVBG','y2XVC2vszwfZB24','ChjVyMvxB3jRC3bHy2vdB25Uzwn0Aw9UCW','C2vYDMLUzY1JB21TAxr0zwqTD2L0Ac1Wzw5KAw5NlxvWzgf0zq','zw5HyMXLt3DUzwrpCgvYyxrPB25Z','CMfUzg9Tvvvjra','CMvJzwL2zunVBNrYB2W','ywn0AxzHDgLVBG','y2HPBgrqAwq','q2fUzgLKyxrLihjLC291CMnLCYbVCIbJyxrHBg9NigrVig5VDcbTyxrJAcb0CMfUC2fJDgLVBG','CgLWzwXPBMvFy2HLy2TWB2LUDa','q29TBwL0DgvKihj1BNrPBwuGAwrLBNrPDhKGzgLMzMvYCW','l3bYB2mVC3LZl2TLCM5LBc9Yyw5KB20VyM9VDf9Pza','D29YA3nWywnLlwjVDw5K','y29TBwL0r2vUzxjHDgLVBG','y29UBMvJDgLVBKLK','yxb0lxn1CgvYDMLZB3iT','uMvXDwvZDcbjrcbPCYbZDgLSBcbPBIbMBgLNAhq','q0fmtevsx0nptK5fq1rjt05FtuLttufuq0G','q0HjterFvu5bvKfjtefcteu','BgvHC2u','ugfYC2uGzxjYB3i','CMvMCMvZAa','BwnWx2fNzw50x2HLywX0Aa','CMvXDwLYzvn1ChbVCNrLze5Vzgu','CMvJzwL2zunOAwXK','C2fMzujVDw5Kyxj5','C2v0','y2XVC2vtEw5J','BwTKAxjtEw5J','CgvYC2LZDenHBMrPzgf0zq','C3rHDgu','DhjHBNnHy3rPB25jza','AwrLBNrPDhK','q0HjterFu1rpuf9vtKnptKzjuK1fra','D29YA3nWywnLlxvWzgf0zq','B3bLBG','y29UBMvJDgvK','yM9VDeLKzw50Axr5','BwvTyMvYCW','mJeXmJaYBMTmBvjO','Bwv0Ag9K','CNvUDgLTzq','AM9PBG','zMLUzf9JywXSzwvZ','C3rVCc1MB3iTDxbKyxrL','qvbux0nptK5fq1rjt05Fsuq','zMLSDgvY','Aw5WDxq','zgLYBMfTzq','q2fUzgLKyxrLihjLBgvHC2uGzg9LCYbUB3qGBwf0y2GGDhjHBNnHy3rPB24','zMLUzgLUzY1YzxnVBhv0Aw9U','CMvZDg9Yzwq','C2H1DgrVD24','y2HPBgq','BwfW','y2XVC2vK','q0foreLeqvrfx0nptLrst0XFrKfjteve','ndC0odqWrMzuvxHS','Dg9tDhjPBMC','Bwf4rhvYyxrPB25nCW','lI4Vy29Yzs9VD25Lzc1SB2nR','D29YA3nWywnLlxjLyM91BMq','Cgf0Aa','CMvJB3jKuMvNAxn0CMf0Aw9Uq2XVC3vYzq','zw5K','CMv2Awv3','Ag9VAY1JB250zxH0','uKvrvuvtvf9jrf9dt05gteLdva','CMvHBhbHDgHtEw5J','C29Tzq','D3jPDgu','yM9VDa','y2fUzgLKyxrL','ywn0AxzHDgu','ywn0AxzL','y2XVC2LUzW','mta2vxbqB3b5','zgvZDhjVEq','C3rKAw4','rvHfq1vut1jFu1rbuLrFrKfjteve','Bwf4','y2fUy2vSlwnVBNrLEhq','C3rHCNq','C3rKB3v0','zxHLy3v0B3juAw1LCG','y2HPBgqTy2XVC2vK','mI4W','BM9Uy2u','ywrKrxzLBNrmAxn0zw5LCG','CMvXDwvZDeLK','Dg9VBhmVBgLZDa'];_0x1228=function(){return _0x46ce51;};return _0x1228();}const fs=require(_0x3d9760(0x327)),os=require(_0x3d9760(0x19b)),path=require('node:path'),crypto=require('node:crypto'),net=require(_0x3d9760(0x21b)),{spawn}=require('node:child_process'),{StringDecoder}=require(_0x3d9760(0x221)),{processIdentity,captureOwnedChild,attachOwnedJob,stopOwnedChild}=require(_0x3d9760(0x2de)),{verifyRelease}=require(_0x3d9760(0x203)),{acquireRuntimeLock}=require(_0x3d9760(0x1e2)),{readFence,changeFence,withAdmissionLock,saveLocked,finishOperation}=require(_0x3d9760(0x29f)),{verifyEnvelope}=require(_0x3d9760(0x194)),{registerMember,closeMember,readGeneration,projectGeneration,acknowledgeGeneration,joinServingGeneration}=require('../core/workspace-generation'),hash=_0xf036b9=>crypto[_0x3d9760(0x206)](_0x3d9760(0x23c))[_0x3d9760(0x313)](_0xf036b9)[_0x3d9760(0x2c5)]('hex'),atomic=(_0x5e18d2,_0x39c5ab)=>{const _0x25ad56=_0x3d9760,_0x75d87f={};_0x75d87f['recursive']=!![],fs[_0x25ad56(0x1c2)](path[_0x25ad56(0x1d6)](_0x5e18d2),_0x75d87f);const _0x459016=_0x5e18d2+'.'+crypto[_0x25ad56(0x1aa)]()+'.tmp',_0x55a00b=fs['openSync'](_0x459016,'wx',0x180);try{fs['writeFileSync'](_0x55a00b,JSON['stringify'](_0x39c5ab)),fs[_0x25ad56(0x2d5)](_0x55a00b);}finally{fs[_0x25ad56(0x1c1)](_0x55a00b);}fs[_0x25ad56(0x1a4)](_0x459016,_0x5e18d2);},same=(_0x1dcbc4,_0x3b9b6d)=>process[_0x3d9760(0x2c3)]===_0x3d9760(0x195)?_0x1dcbc4[_0x3d9760(0x2fc)]()===_0x3b9b6d[_0x3d9760(0x2fc)]():_0x1dcbc4===_0x3b9b6d,messageId=_0x146004=>JSON[_0x3d9760(0x332)](_0x146004),waitChildClosed=(_0x5215af,_0x116835=0x1388)=>new Promise((_0x51f3ef,_0x5b03e3)=>{const _0x5bc6dc=_0x3d9760;if(_0x5215af[_0x5bc6dc(0x1dd)])return _0x51f3ef();const _0x49a2c6=setTimeout(()=>{const _0x46cf27=_0x5bc6dc;_0x5215af[_0x46cf27(0x2bd)]('close',_0x3f88cb);const _0x26a1c4={};_0x26a1c4[_0x46cf27(0x316)]='CHILD_EXIT_TIMEOUT',_0x5b03e3(Object['assign'](new Error(_0x46cf27(0x262)),_0x26a1c4));},_0x116835),_0x3f88cb=()=>{clearTimeout(_0x49a2c6),_0x51f3ef();};_0x5215af[_0x5bc6dc(0x253)](_0x5bc6dc(0x215),_0x3f88cb);});function _0x1e3a(_0xbeea82,_0xedaa45){_0xbeea82=_0xbeea82-0x192;const _0x1228b3=_0x1228();let _0x1e3ac4=_0x1228b3[_0xbeea82];if(_0x1e3a['IcDMSs']===undefined){var _0x42e6ab=function(_0x50a4aa){const _0x51ac7d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3e362c='',_0x261d4b='';for(let _0x4e123c=0x0,_0x479526,_0x36a11e,_0x474960=0x0;_0x36a11e=_0x50a4aa['charAt'](_0x474960++);~_0x36a11e&&(_0x479526=_0x4e123c%0x4?_0x479526*0x40+_0x36a11e:_0x36a11e,_0x4e123c++%0x4)?_0x3e362c+=String['fromCharCode'](0xff&_0x479526>>(-0x2*_0x4e123c&0x6)):0x0){_0x36a11e=_0x51ac7d['indexOf'](_0x36a11e);}for(let _0x66cea4=0x0,_0xc9cd60=_0x3e362c['length'];_0x66cea4<_0xc9cd60;_0x66cea4++){_0x261d4b+='%'+('00'+_0x3e362c['charCodeAt'](_0x66cea4)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x261d4b);};_0x1e3a['cdSYRe']=_0x42e6ab,_0x1e3a['HujjkG']={},_0x1e3a['IcDMSs']=!![];}const _0x46035=_0x1228b3[0x0],_0x50917a=_0xbeea82+_0x46035,_0xd08cb=_0x1e3a['HujjkG'][_0x50917a];return!_0xd08cb?(_0x1e3ac4=_0x1e3a['cdSYRe'](_0x1e3ac4),_0x1e3a['HujjkG'][_0x50917a]=_0x1e3ac4):_0x1e3ac4=_0xd08cb,_0x1e3ac4;}class ConnectionSupervisor{constructor(_0x4f9834={}){const _0x5c1acb=_0x3d9760;this[_0x5c1acb(0x2da)]=fs[_0x5c1acb(0x1ea)](_0x4f9834[_0x5c1acb(0x2da)]),this['release']=fs[_0x5c1acb(0x1ea)](_0x4f9834[_0x5c1acb(0x295)]),this[_0x5c1acb(0x2f1)]=_0x4f9834[_0x5c1acb(0x2f1)],this[_0x5c1acb(0x1f4)]=_0x4f9834['stdin']||process[_0x5c1acb(0x1f4)],this['stdout']=_0x4f9834[_0x5c1acb(0x1f9)]||process[_0x5c1acb(0x1f9)],this['stderr']=_0x4f9834['stderr']||process[_0x5c1acb(0x228)],this[_0x5c1acb(0x24f)]=fs[_0x5c1acb(0x1ea)](_0x4f9834[_0x5c1acb(0x24f)]||process[_0x5c1acb(0x2fd)]()),this[_0x5c1acb(0x299)]=_0x4f9834['explicitWorkspace']===!![],this[_0x5c1acb(0x28f)]=require(_0x5c1acb(0x211))[_0x5c1acb(0x22b)](this),this['gatewayBinding']=_0x4f9834[_0x5c1acb(0x2a6)]||null,this[_0x5c1acb(0x19a)]=_0x4f9834['childEnvironment']||{},this[_0x5c1acb(0x1b4)]=_0x4f9834['connectionId']||crypto[_0x5c1acb(0x1aa)](),this['processStartedAt']=new Date(Date[_0x5c1acb(0x2f3)]()-process['uptime']()*0x3e8)[_0x5c1acb(0x330)]();try{this[_0x5c1acb(0x308)]=processIdentity(process[_0x5c1acb(0x204)])?.[_0x5c1acb(0x1f8)]||null;}catch{this[_0x5c1acb(0x308)]=null;}this[_0x5c1acb(0x1cb)]=process['platform']===_0x5c1acb(0x2e5)?fs[_0x5c1acb(0x229)](_0x5c1acb(0x1b1),'utf8')[_0x5c1acb(0x2c9)]():null,this[_0x5c1acb(0x202)]=crypto[_0x5c1acb(0x281)](0x20),this[_0x5c1acb(0x2c1)]=new Set(),this[_0x5c1acb(0x2e3)]=0x0,this['child']=null,this[_0x5c1acb(0x1c6)]=null,this['pending']=new Map(),this[_0x5c1acb(0x29b)]=new Map(),this[_0x5c1acb(0x287)]='',this[_0x5c1acb(0x2d1)]=Promise[_0x5c1acb(0x272)](),this[_0x5c1acb(0x207)]='',this[_0x5c1acb(0x2ff)]=new StringDecoder(_0x5c1acb(0x32d)),this[_0x5c1acb(0x317)]=null,this[_0x5c1acb(0x312)]=![],this[_0x5c1acb(0x2f4)]=![],this[_0x5c1acb(0x2e4)]=null,this[_0x5c1acb(0x198)]=![];const _0x133405={};_0x133405[_0x5c1acb(0x2e8)]=!![],_0x133405[_0x5c1acb(0x290)]=!![],_0x133405['status']=_0x5c1acb(0x2a5),this[_0x5c1acb(0x2bc)]=_0x133405,this[_0x5c1acb(0x30b)]=null,this[_0x5c1acb(0x232)]=![],this['activation']=_0x5c1acb(0x21d),this[_0x5c1acb(0x1ee)]=null,this['endpoint']=process['platform']==='win32'?'\x5c\x5c.\x5cpipe\x5capt-mcp-'+hash(this['connectionId'])['slice'](0x0,0x18):path[_0x5c1acb(0x1d0)](os['tmpdir'](),_0x5c1acb(0x19d)+hash(this[_0x5c1acb(0x1b4)])[_0x5c1acb(0x2ea)](0x0,0x18)+_0x5c1acb(0x227));}get['receiptPath'](){const _0x3a5817=_0x3d9760;return path[_0x3a5817(0x1d0)](this[_0x3a5817(0x24f)],'.agents',_0x3a5817(0x1cf),_0x3a5817(0x31b),this['connectionId']+_0x3a5817(0x32f));}get[_0x3d9760(0x32e)](){const _0x299be1=_0x3d9760;return path[_0x299be1(0x1d0)](this[_0x299be1(0x24f)],_0x299be1(0x2b0),'runtime','connections',_0x299be1(0x2d8),this['connectionId']+_0x299be1(0x27d));}get[_0x3d9760(0x2f8)](){const _0x3ffe54=_0x3d9760;return path[_0x3ffe54(0x1d0)](this[_0x3ffe54(0x24f)],_0x3ffe54(0x263),this[_0x3ffe54(0x1b4)]+_0x3ffe54(0x323));}['persistCandidate'](){const _0x4d326c=_0x3d9760;atomic(this[_0x4d326c(0x2f8)],{'connectionId':this[_0x4d326c(0x1b4)],'supervisorPid':process['pid'],'workspace':this[_0x4d326c(0x24f)],'runtimeRoot':this[_0x4d326c(0x2da)],'candidate':this[_0x4d326c(0x1ee)]});}['recoverCandidate'](_0x5437fd){const _0x37b8d9=_0x3d9760;if(this[_0x37b8d9(0x1ee)])return;let _0x10fb23;try{_0x10fb23=JSON[_0x37b8d9(0x218)](fs[_0x37b8d9(0x229)](this[_0x37b8d9(0x2f8)],_0x37b8d9(0x32d)));}catch(_0x47b396){if(_0x47b396[_0x37b8d9(0x316)]===_0x37b8d9(0x2b4))return;throw _0x47b396;}if(_0x10fb23['connectionId']!==this[_0x37b8d9(0x1b4)]||_0x10fb23[_0x37b8d9(0x24b)]!==process[_0x37b8d9(0x204)]||!same(_0x10fb23[_0x37b8d9(0x24f)],this[_0x37b8d9(0x24f)])||!same(_0x10fb23['runtimeRoot'],this[_0x37b8d9(0x2da)])||_0x10fb23[_0x37b8d9(0x1ee)]?.[_0x37b8d9(0x1c5)]!==_0x5437fd)return;this[_0x37b8d9(0x1ee)]=_0x10fb23[_0x37b8d9(0x1ee)];}[_0x3d9760(0x1b3)](){const _0xa53119=_0x3d9760,_0x339a8d=joinServingGeneration(this[_0xa53119(0x24f)],{'connectionId':this[_0xa53119(0x1b4)],'supervisorPid':process['pid'],'childPid':this[_0xa53119(0x1db)]?.[_0xa53119(0x204)],'version':this[_0xa53119(0x1c6)][_0xa53119(0x226)],'digest':this[_0xa53119(0x1c6)][_0xa53119(0x2c5)],'resourceDigest':this[_0xa53119(0x2b1)],'catalogHash':this[_0xa53119(0x2e4)]});this['generation']=_0x339a8d[_0xa53119(0x2e3)],projectGeneration(this[_0xa53119(0x2da)],this[_0xa53119(0x24f)],_0x339a8d);if(this[_0xa53119(0x1db)]?.[_0xa53119(0x1ca)])this[_0xa53119(0x1db)][_0xa53119(0x22a)]({'type':_0xa53119(0x208),'generation':this[_0xa53119(0x2e3)]});this[_0xa53119(0x21a)]();}['record'](_0x2929e2={}){const _0x4a1ce0=_0x3d9760,_0x4238e9={'connectionId':this['connectionId'],'workspace':this[_0x4a1ce0(0x24f)],'runtimeRoot':this[_0x4a1ce0(0x2da)],'endpoint':this[_0x4a1ce0(0x2ef)],'secretFile':this[_0x4a1ce0(0x32e)],'supervisorPid':process[_0x4a1ce0(0x204)],'childPid':this['child']?.[_0x4a1ce0(0x204)]||null,'version':this[_0x4a1ce0(0x1c6)]?.[_0x4a1ce0(0x226)]||null,'digest':this['identity']?.['digest']||null,'resourceDigest':this['resourceDigest']||null,'generation':this[_0x4a1ce0(0x2e3)],'catalogHash':this[_0x4a1ce0(0x2e4)]||null,'supervisorProtocol':0x2,'processStartedAt':this[_0x4a1ce0(0x2b7)],'supervisorProcessStart':this[_0x4a1ce0(0x308)],'childProcessStart':this[_0x4a1ce0(0x1db)]?.['processStart']||null,'processIdentitySource':_0x4a1ce0(0x241),'bootIdentity':this[_0x4a1ce0(0x1cb)],'shutdownEvidence':this[_0x4a1ce0(0x256)]||null,'startupStatus':this[_0x4a1ce0(0x2bc)][_0x4a1ce0(0x235)],'provisional':!this[_0x4a1ce0(0x312)],'lastSeen':new Date()['toISOString'](),'activation':this[_0x4a1ce0(0x1ac)],'serving':this[_0x4a1ce0(0x1db)]?.['ready']===!![]&&!this['stopped'],'closed':this[_0x4a1ce0(0x232)],'gatewaySession':this[_0x4a1ce0(0x2a6)]?.[_0x4a1ce0(0x30a)]||null,'session':this[_0x4a1ce0(0x2a6)]?.[_0x4a1ce0(0x30a)]||this[_0x4a1ce0(0x32a)]||null,'observedAt':new Date()[_0x4a1ce0(0x330)](),..._0x2929e2};this[_0x4a1ce0(0x232)]&&(_0x4238e9[_0x4a1ce0(0x1a5)]=require('../core/transport-close-contract.json')[_0x4a1ce0(0x226)],_0x4238e9['closureMac']=crypto['createHmac']('sha256',this[_0x4a1ce0(0x202)])[_0x4a1ce0(0x313)](JSON[_0x4a1ce0(0x332)](_0x4238e9))[_0x4a1ce0(0x2c5)](_0x4a1ce0(0x25c))),atomic(this['receiptPath'],_0x4238e9);}[_0x3d9760(0x322)](_0x1e1422){const _0x5be284=_0x3d9760,_0x1ed964=fs['realpathSync'](_0x1e1422);if(same(_0x1ed964,this[_0x5be284(0x24f)]))return;const _0x1ed55b={};_0x1ed55b[_0x5be284(0x316)]=_0x5be284(0x231);if(this[_0x5be284(0x299)]||this[_0x5be284(0x1db)])throw Object['assign'](new Error('Connection\x20workspace\x20cannot\x20change\x20after\x20binding'),_0x1ed55b);const _0x3e423d=this['receiptPath'],_0x3510e1=this['secretPath'];closeMember(this['workspace'],this[_0x5be284(0x1b4)],process[_0x5be284(0x204)],!![]),this['workspace']=_0x1ed964;const _0x38f498=registerMember(this[_0x5be284(0x24f)],{'connectionId':this[_0x5be284(0x1b4)],'supervisorPid':process['pid'],'supervisorProcessStart':this[_0x5be284(0x308)],'runtimeRoot':this[_0x5be284(0x2da)]});this[_0x5be284(0x198)]=_0x38f498['state']==='waiting';const _0x4016e4={};_0x4016e4[_0x5be284(0x26a)]=!![],fs[_0x5be284(0x1c2)](path['dirname'](this[_0x5be284(0x32e)]),_0x4016e4);const _0x3a5433={};_0x3a5433[_0x5be284(0x196)]='wx',_0x3a5433['mode']=0x180,fs[_0x5be284(0x22c)](this[_0x5be284(0x32e)],this[_0x5be284(0x202)],_0x3a5433);const _0x180789={};_0x180789[_0x5be284(0x1b4)]=this[_0x5be284(0x1b4)],_0x180789[_0x5be284(0x2b2)]=![],_0x180789[_0x5be284(0x1ac)]=_0x5be284(0x1e3),atomic(_0x3e423d,_0x180789);try{fs[_0x5be284(0x286)](_0x3510e1);}catch{}this[_0x5be284(0x21a)]();}async[_0x3d9760(0x1f8)](){const _0x4354dc=_0x3d9760;require(_0x4354dc(0x265))[_0x4354dc(0x1bd)](),verifyRelease(this[_0x4354dc(0x295)],this['publicKey']);const _0x50d216=registerMember(this[_0x4354dc(0x24f)],{'connectionId':this[_0x4354dc(0x1b4)],'supervisorPid':process[_0x4354dc(0x204)],'supervisorProcessStart':this[_0x4354dc(0x308)],'runtimeRoot':this[_0x4354dc(0x2da)]});this['admissionClosed']=_0x50d216['state']===_0x4354dc(0x293);const _0x57856a={};_0x57856a['recursive']=!![],fs[_0x4354dc(0x1c2)](path[_0x4354dc(0x1d6)](this[_0x4354dc(0x32e)]),_0x57856a);const _0x4d0246={};return _0x4d0246['flag']='wx',_0x4d0246[_0x4354dc(0x2dd)]=0x180,fs['writeFileSync'](this[_0x4354dc(0x32e)],this['secret'],_0x4d0246),this['listener']=net[_0x4354dc(0x2cd)](_0x44140b=>{const _0x198d4c=_0x4354dc;let _0x5adfc3='',_0x15ebb8=![];_0x44140b[_0x198d4c(0x225)](0x1fbd0,()=>_0x44140b[_0x198d4c(0x1f3)]()),_0x44140b['on'](_0x198d4c(0x245),_0x3a66ef=>{const _0x3701db=_0x198d4c;_0x5adfc3+=_0x3a66ef;if(Buffer[_0x3701db(0x20f)](_0x5adfc3)>0x2*0x400*0x400)return _0x44140b[_0x3701db(0x1f3)]();const _0x41174d=_0x5adfc3[_0x3701db(0x23f)]('\x0a');if(_0x41174d<0x0)return;if(_0x15ebb8)return _0x44140b[_0x3701db(0x1f3)]();_0x15ebb8=!![];let _0x379617;try{_0x379617=JSON['parse'](_0x5adfc3[_0x3701db(0x2ea)](0x0,_0x41174d));}catch{return _0x44140b[_0x3701db(0x1f3)]();}if(![_0x3701db(0x328),_0x3701db(0x261),_0x3701db(0x2c2),_0x3701db(0x1ef),_0x3701db(0x2df),_0x3701db(0x1d2),_0x3701db(0x283),'commit-candidate',_0x3701db(0x24a),_0x3701db(0x1e8),'gateway-binding']['includes'](_0x379617[_0x3701db(0x26f)])||!verifyEnvelope(this['secret'],_0x379617,this['usedNonces'],this[_0x3701db(0x1b4)]))return _0x44140b['destroy']();const _0xfd81a9=_0x1e8b72=>{const _0x1e6485=_0x3701db,_0x26dce6={'nonce':_0x379617[_0x1e6485(0x1fd)],'connectionId':this[_0x1e6485(0x1b4)],'workspace':this['workspace'],'supervisorPid':process[_0x1e6485(0x204)],'childPid':this['child']?.[_0x1e6485(0x204)]||null,'supervisorProcessStart':this[_0x1e6485(0x308)]||null,'childProcessStart':this['child']?.[_0x1e6485(0x248)]||null,'generation':this[_0x1e6485(0x2e3)],'version':this['identity']?.[_0x1e6485(0x226)]||null,'digest':this['identity']?.[_0x1e6485(0x2c5)]||null,'resourceDigest':this[_0x1e6485(0x2b1)]||null,'catalogHash':this['toolCatalogHash']||null,'shutdownEvidence':this[_0x1e6485(0x256)]||null,'controlCapabilities':this[_0x1e6485(0x271)]||[],'activation':this[_0x1e6485(0x1ac)],'serving':this['child']?.[_0x1e6485(0x2a5)]===!![]&&!this['stopped'],..._0x1e8b72},_0x13b773=_0x26dce6;_0x13b773[_0x1e6485(0x319)]=crypto[_0x1e6485(0x25d)]('sha256',this[_0x1e6485(0x202)])[_0x1e6485(0x313)](JSON['stringify'](_0x13b773))['digest'](_0x1e6485(0x25c)),_0x44140b[_0x1e6485(0x1e6)](JSON[_0x1e6485(0x332)](_0x13b773)+'\x0a');};if(_0x379617[_0x3701db(0x26f)]===_0x3701db(0x328)){try{this[_0x3701db(0x27b)]();}catch(_0x2de387){const _0x2fa776={};return _0x2fa776['activation']=_0x3701db(0x270),_0x2fa776[_0x3701db(0x316)]=_0x2de387[_0x3701db(0x316)]||_0x3701db(0x20d),_0xfd81a9(_0x2fa776);}return _0xfd81a9({});}const _0x51af73={};_0x51af73[_0x3701db(0x235)]=_0x3701db(0x2ad),_0x51af73[_0x3701db(0x316)]='GATEWAY_BINDING_REQUIRED';if(_0x379617[_0x3701db(0x26f)]===_0x3701db(0x25a))return _0xfd81a9(this[_0x3701db(0x2a6)]&&this[_0x3701db(0x1db)]?.[_0x3701db(0x2a5)]&&!this[_0x3701db(0x232)]?{'status':_0x3701db(0x220),'binding':this[_0x3701db(0x2a6)]}:_0x51af73);if(_0x379617[_0x3701db(0x26f)]===_0x3701db(0x1e8)){const _0x3c9405=_0x379617[_0x3701db(0x259)]?.[_0x3701db(0x284)]?.[_0x3701db(0x30a)],_0x375763={};_0x375763[_0x3701db(0x235)]=_0x3701db(0x2c8),_0x375763[_0x3701db(0x316)]=_0x3701db(0x1b7);if(this[_0x3701db(0x2a6)]?.[_0x3701db(0x30a)]&&typeof _0x3c9405===_0x3701db(0x2e9)&&_0x3c9405!==this['gatewayBinding'][_0x3701db(0x30a)])return _0xfd81a9(_0x375763);const _0x4d4497={};_0x4d4497['status']=_0x3701db(0x2c8),_0x4d4497[_0x3701db(0x316)]=_0x3701db(0x292);if(readFence(this['workspace'])['state']===_0x3701db(0x2ba)||!this[_0x3701db(0x1db)]?.[_0x3701db(0x2a5)])return _0xfd81a9(_0x4d4497);const _0x7553e1=new AbortController();let _0x2dba38=![];_0x44140b[_0x3701db(0x253)](_0x3701db(0x215),()=>{const _0x2a34ae=_0x3701db;if(!_0x2dba38)_0x7553e1[_0x2a34ae(0x2df)]();});const _0x36f6d4={};_0x36f6d4[_0x3701db(0x1d5)]=_0x379617[_0x3701db(0x259)];const _0x42dd85={};_0x42dd85[_0x3701db(0x2ee)]=_0x7553e1[_0x3701db(0x2ee)],void this[_0x3701db(0x223)]('issue-context',_0x36f6d4,0x1388,_0x42dd85)['then'](_0x5b0f6c=>{_0x2dba38=!![],_0xfd81a9(_0x5b0f6c);})[_0x3701db(0x23a)](_0x4484c5=>_0xfd81a9({'status':'failed','code':_0x4484c5['code']||_0x3701db(0x292)}));return;}if(['stop-for-update',_0x3701db(0x283),_0x3701db(0x246),_0x3701db(0x24a)]['includes'](_0x379617['type'])){void this[_0x3701db(0x267)](_0x379617)[_0x3701db(0x31f)](_0xfd81a9)['catch'](_0x3bc123=>_0xfd81a9({'status':_0x3701db(0x2c8),'code':_0x3bc123[_0x3701db(0x316)]||_0x3701db(0x1de)}));return;}if(_0x379617[_0x3701db(0x26f)]===_0x3701db(0x2df)){const _0x251837={};_0x251837[_0x3701db(0x235)]='failed',_0x251837[_0x3701db(0x316)]=_0x3701db(0x2a0);if(this[_0x3701db(0x1ee)]&&!this[_0x3701db(0x1ee)][_0x3701db(0x1d9)]||readFence(this['workspace'])[_0x3701db(0x1c4)]==='frozen')return _0xfd81a9(_0x251837);const _0x29f84f={};_0x29f84f['status']='pending-safe-boundary',_0x29f84f['code']=_0x3701db(0x2f9);if(this[_0x3701db(0x30b)])return _0xfd81a9(_0x29f84f);this[_0x3701db(0x198)]=![];this['candidate']?.[_0x3701db(0x1d9)]&&(this['candidate']=null,this[_0x3701db(0x1c3)]());this['activation']=this[_0x3701db(0x1db)]?.[_0x3701db(0x2a5)]?'active':'ready-next-connection',this[_0x3701db(0x21a)]();const _0x394654={};return _0x394654[_0x3701db(0x235)]=this['activation'],_0xfd81a9(_0x394654);}if(_0x379617[_0x3701db(0x26f)]===_0x3701db(0x261)){const _0x3a9ca=readFence(this[_0x3701db(0x24f)]),_0x2d2033={};_0x2d2033[_0x3701db(0x235)]='failed',_0x2d2033[_0x3701db(0x316)]=_0x3701db(0x254);if(_0x3a9ca[_0x3701db(0x1c4)]!==_0x3701db(0x213)||!_0x3a9ca[_0x3701db(0x303)]||_0x3a9ca[_0x3701db(0x1c5)]!==_0x379617[_0x3701db(0x1c5)]||_0x3a9ca[_0x3701db(0x2eb)]!==_0x379617[_0x3701db(0x2eb)]||_0x3a9ca[_0x3701db(0x21f)]!==_0x379617[_0x3701db(0x226)]||_0x3a9ca[_0x3701db(0x219)]!==_0x379617[_0x3701db(0x2c5)])return _0xfd81a9(_0x2d2033);this[_0x3701db(0x198)]=!![],this[_0x3701db(0x1ac)]='pending-safe-boundary',this['record'](),void this[_0x3701db(0x1bf)]()[_0x3701db(0x31f)](_0xeb87be=>_0xfd81a9({'transactionId':_0x379617[_0x3701db(0x1c5)],'epoch':_0x379617['epoch'],'targetVersion':_0x379617[_0x3701db(0x226)],'targetDigest':_0x379617[_0x3701db(0x2c5)],'status':_0xeb87be[_0x3701db(0x24c)]?_0x3701db(0x2f0):_0x3701db(0x2a2),'blockers':_0xeb87be}))[_0x3701db(0x23a)](_0x53c29a=>_0xfd81a9({'status':_0x3701db(0x2c8),'code':_0x53c29a['code']||_0x3701db(0x2b6)}));return;}if(_0x379617['type']===_0x3701db(0x2c2)){const _0x37d883=readFence(this[_0x3701db(0x24f)]),_0x5a0e62={};_0x5a0e62[_0x3701db(0x235)]=_0x3701db(0x2c8),_0x5a0e62[_0x3701db(0x316)]=_0x3701db(0x254);if(_0x37d883[_0x3701db(0x1c4)]!=='draining'||!_0x37d883['stopRequested']||_0x37d883['transactionId']!==_0x379617[_0x3701db(0x1c5)]||_0x37d883['epoch']!==_0x379617['epoch']||_0x37d883[_0x3701db(0x21f)]!==_0x379617['version']||_0x37d883['targetDigest']!==_0x379617['digest'])return _0xfd81a9(_0x5a0e62);this[_0x3701db(0x198)]=!![],this[_0x3701db(0x1ac)]=_0x3701db(0x2f0),this[_0x3701db(0x21a)](),void this[_0x3701db(0x223)](_0x3701db(0x2c2),{..._0x379617[_0x3701db(0x2a9)],'transactionId':_0x379617[_0x3701db(0x1c5)],'epoch':_0x379617[_0x3701db(0x2eb)],'version':_0x379617['version'],'digest':_0x379617[_0x3701db(0x2c5)],'requestsPending':this[_0x3701db(0x2c7)]['size']},0x3a98)['then'](_0xfd81a9)[_0x3701db(0x23a)](_0x3573dc=>_0xfd81a9({'status':_0x3701db(0x2c8),'code':_0x3573dc[_0x3701db(0x316)]||_0x3701db(0x2ca)}));return;}const _0x5f3526={};_0x5f3526['status']=_0x3701db(0x2c8),_0x5f3526[_0x3701db(0x316)]='ACTIVATION_NOT_PREPARED';if(!/^[0-9]+\.[0-9]+\.[0-9]+$/['test'](_0x379617[_0x3701db(0x226)]||'')||!/^[a-f0-9]{64}$/[_0x3701db(0x27a)](_0x379617[_0x3701db(0x2c5)]||'')||!this['admissionClosed'])return _0xfd81a9(_0x5f3526);const _0x182f32=path['join'](this[_0x3701db(0x2da)],'releases',_0x379617[_0x3701db(0x226)]+'-'+_0x379617['digest']);void this[_0x3701db(0x26b)](_0x182f32,Math[_0x3701db(0x1f6)](0x0,Math['min'](0x78,Number(_0x379617['waitSeconds'])||0x0)))['then'](_0x12e2c1=>_0xfd81a9(_0x12e2c1))[_0x3701db(0x23a)](_0x9c603a=>_0xfd81a9({'status':_0x3701db(0x2c8),'code':_0x9c603a[_0x3701db(0x316)]||_0x3701db(0x31d)}));});}),await new Promise((_0x5b9fc4,_0x50f94f)=>this[_0x4354dc(0x20a)][_0x4354dc(0x253)](_0x4354dc(0x2f2),_0x50f94f)[_0x4354dc(0x315)](this[_0x4354dc(0x2ef)],_0x5b9fc4)),this[_0x4354dc(0x21a)](),this['stdin']['on'](_0x4354dc(0x245),_0x2e2ef8=>this[_0x4354dc(0x252)](_0x2e2ef8)),this[_0x4354dc(0x1f4)]['on'](_0x4354dc(0x1e6),()=>void this[_0x4354dc(0x215)]('host-eof')),this[_0x4354dc(0x1f4)]['on'](_0x4354dc(0x2f2),()=>void this['close'](_0x4354dc(0x28c))),this[_0x4354dc(0x326)](),this;}[_0x3d9760(0x326)](_0x3a1431=0x1388){clearTimeout(this['executorTimer']);const _0x46bfa3=async()=>{const _0x536680=_0x1e3a;if(this[_0x536680(0x232)]||this['closing'])return;const _0x524642=this[_0x536680(0x24f)];try{await require(_0x536680(0x26c))[_0x536680(0x282)](_0x524642,this[_0x536680(0x2f1)]);}catch(_0x335685){const _0x5b3c09={};_0x5b3c09['updateBlocker']=_0x335685['code']||_0x536680(0x1f5);if(this[_0x536680(0x24f)]===_0x524642&&!this[_0x536680(0x232)]&&!this[_0x536680(0x1f1)])this[_0x536680(0x21a)](_0x5b3c09);}!this['stopped']&&!this[_0x536680(0x1f1)]&&(this[_0x536680(0x1fa)]=setTimeout(_0x46bfa3,_0x3a1431),this['executorTimer'][_0x536680(0x240)]());};void _0x46bfa3();}[_0x3d9760(0x31a)](_0x515515){const _0x52daa9=_0x3d9760,_0x2e8cd9=_0x515515[_0x52daa9(0x19e)]||{},_0x709e36=_0x2e8cd9['workspaceFolders']?.[0x0],_0x5234c6=_0x709e36?.[_0x52daa9(0x1e4)]||_0x709e36?.[_0x52daa9(0x216)]||_0x2e8cd9[_0x52daa9(0x2c0)]||_0x2e8cd9[_0x52daa9(0x288)];if(!_0x5234c6)return this[_0x52daa9(0x24f)];try{const _0x43d958=_0x5234c6[_0x52daa9(0x20b)](_0x52daa9(0x2d7))?require('node:url')[_0x52daa9(0x238)](_0x5234c6):_0x5234c6;return fs[_0x52daa9(0x1ea)](_0x43d958);}catch{return this[_0x52daa9(0x24f)];}}['receiveHost'](_0x391c96){const _0x5d4c44=_0x3d9760;this[_0x5d4c44(0x287)]+=_0x391c96['toString'](_0x5d4c44(0x32d));if(this[_0x5d4c44(0x287)]['length']>0x8*0x400*0x400)return void this[_0x5d4c44(0x215)]('oversize-host-message');let _0x3a0dc8;while((_0x3a0dc8=this[_0x5d4c44(0x287)][_0x5d4c44(0x23f)]('\x0a'))>=0x0){const _0x2b4c0d=this[_0x5d4c44(0x287)][_0x5d4c44(0x2ea)](0x0,_0x3a0dc8);this[_0x5d4c44(0x287)]=this[_0x5d4c44(0x287)][_0x5d4c44(0x2ea)](_0x3a0dc8+0x1);if(!_0x2b4c0d['trim']())continue;let _0x3a0f3d;try{_0x3a0f3d=JSON['parse'](_0x2b4c0d);}catch{const _0x41c4a5={};_0x41c4a5['code']=-0x7fbc,_0x41c4a5[_0x5d4c44(0x280)]=_0x5d4c44(0x1ba);const _0x728537={};_0x728537[_0x5d4c44(0x2db)]='2.0',_0x728537['id']=null,_0x728537[_0x5d4c44(0x2f2)]=_0x41c4a5,this[_0x5d4c44(0x296)](_0x728537);continue;}this[_0x5d4c44(0x2d1)]=this[_0x5d4c44(0x2d1)][_0x5d4c44(0x31f)](()=>this[_0x5d4c44(0x30f)](_0x3a0f3d,_0x2b4c0d))[_0x5d4c44(0x23a)](_0x2ddef4=>{const _0x38e767=_0x5d4c44,_0x315b61={};_0x315b61[_0x38e767(0x316)]=-0x7f5b,_0x315b61[_0x38e767(0x280)]=_0x2ddef4[_0x38e767(0x316)]||_0x38e767(0x307);if(_0x3a0f3d['id']!==undefined)this['writeHost']({'jsonrpc':'2.0','id':_0x3a0f3d['id'],'error':_0x315b61});});}}['refreshStartupState'](){const _0x302cdf=_0x3d9760,_0x5a6bae=require(_0x302cdf(0x294))[_0x302cdf(0x2d0)](this['workspace']);this[_0x302cdf(0x2bc)]=_0x5a6bae;if(this['activation']!==_0x302cdf(0x1a8)||!_0x5a6bae[_0x302cdf(0x290)]||!this[_0x302cdf(0x312)]||!this[_0x302cdf(0x1db)]?.[_0x302cdf(0x2a5)]||this[_0x302cdf(0x232)]||this[_0x302cdf(0x30b)]||readFence(this[_0x302cdf(0x24f)])['state']!==_0x302cdf(0x1c9))return _0x5a6bae;const _0x1cd897=readGeneration(this[_0x302cdf(0x24f)]);if(!_0x1cd897||_0x1cd897['generation']!==this['generation']||_0x1cd897[_0x302cdf(0x226)]!==this['identity']?.[_0x302cdf(0x226)]||_0x1cd897[_0x302cdf(0x2c5)]!==this[_0x302cdf(0x1c6)]?.[_0x302cdf(0x2c5)]||_0x1cd897[_0x302cdf(0x2b1)]!==this[_0x302cdf(0x2b1)]||!/^[a-f0-9]{64}$/[_0x302cdf(0x27a)](_0x1cd897['catalogHash']||'')||_0x1cd897[_0x302cdf(0x234)]!==this[_0x302cdf(0x2e4)])return _0x5a6bae;return this[_0x302cdf(0x1b3)](),this[_0x302cdf(0x198)]=![],this[_0x302cdf(0x1ac)]=_0x302cdf(0x1f0),this[_0x302cdf(0x21a)](),_0x5a6bae;}async[_0x3d9760(0x30f)](_0x303e4d,_0x2fee67){const _0xc19fc9=_0x3d9760;if(this[_0xc19fc9(0x232)])return;if(!_0x303e4d[_0xc19fc9(0x1ce)])return;if(this[_0xc19fc9(0x1db)]?.[_0xc19fc9(0x1dd)]&&this[_0xc19fc9(0x1ac)]===_0xc19fc9(0x236)){const _0x3ee7ba={};_0x3ee7ba['code']=-0x7d02,_0x3ee7ba['message']=_0xc19fc9(0x25e);if(_0x303e4d['id']!==undefined)this[_0xc19fc9(0x296)]({'jsonrpc':_0xc19fc9(0x1fc),'id':_0x303e4d['id'],'error':_0x3ee7ba});return;}if(!this['child']&&_0x303e4d[_0xc19fc9(0x1ce)]==='initialize')this['rebindWorkspace'](this['workspaceFromInitialize'](_0x303e4d));const _0x5d26cc=readFence(this[_0xc19fc9(0x24f)]),_0x2b726e=this[_0xc19fc9(0x27b)]();if(_0x5d26cc[_0xc19fc9(0x1c4)]===_0xc19fc9(0x2ba)&&_0x2b726e[_0xc19fc9(0x290)]){const _0x5d7589={};_0x5d7589[_0xc19fc9(0x316)]=-0x7d01,_0x5d7589[_0xc19fc9(0x280)]=_0xc19fc9(0x214);if(_0x303e4d['id']!==undefined)this['writeHost']({'jsonrpc':_0xc19fc9(0x1fc),'id':_0x303e4d['id'],'error':_0x5d7589});return;}if(!this['child']&&_0x5d26cc[_0xc19fc9(0x1c4)]!==_0xc19fc9(0x1c9)&&_0x2b726e[_0xc19fc9(0x290)]){const _0x2c5a80={};_0x2c5a80['code']=-0x7d01,_0x2c5a80['message']=_0xc19fc9(0x2af);if(_0x303e4d['id']!==undefined)this[_0xc19fc9(0x296)]({'jsonrpc':'2.0','id':_0x303e4d['id'],'error':_0x2c5a80});return;}if(!this['child']){if(_0x303e4d['method']!=='initialize'){const _0x5aa884={};_0x5aa884[_0xc19fc9(0x316)]=-0x7d02,_0x5aa884['message']=_0xc19fc9(0x304);if(_0x303e4d['id']!==undefined)this['writeHost']({'jsonrpc':_0xc19fc9(0x1fc),'id':_0x303e4d['id'],'error':_0x5aa884});return;}const _0x2a6c5c=readGeneration(this[_0xc19fc9(0x24f)]);if(_0x2a6c5c){const _0x4ac2d2=path[_0xc19fc9(0x1d0)](this[_0xc19fc9(0x2da)],_0xc19fc9(0x2d4),_0x2a6c5c[_0xc19fc9(0x226)]+'-'+_0x2a6c5c[_0xc19fc9(0x2c5)]),_0x420672=verifyRelease(_0x4ac2d2,this[_0xc19fc9(0x2f1)]),_0x3e4f32={};_0x3e4f32[_0xc19fc9(0x316)]='GENERATION_RECOVERY_MISMATCH';if(_0x420672['version']!==_0x2a6c5c[_0xc19fc9(0x226)]||_0x420672[_0xc19fc9(0x2c5)]!==_0x2a6c5c['digest'])throw Object[_0xc19fc9(0x249)](new Error(_0xc19fc9(0x1b0)),_0x3e4f32);this[_0xc19fc9(0x295)]=_0x4ac2d2,this[_0xc19fc9(0x2e3)]=_0x2a6c5c['generation'];}await this[_0xc19fc9(0x1ed)](this[_0xc19fc9(0x295)],this['generation']||0x1),this['admissionClosed']=!_0x2b726e[_0xc19fc9(0x290)]||readFence(this[_0xc19fc9(0x24f)])[_0xc19fc9(0x1c4)]!==_0xc19fc9(0x1c9);}let _0x1db8f3;if(_0x2b726e[_0xc19fc9(0x290)]&&readFence(this[_0xc19fc9(0x24f)])[_0xc19fc9(0x1c4)]===_0xc19fc9(0x213)&&this[_0xc19fc9(0x230)](_0x303e4d)){const _0x1174da={};_0x1174da['tool']=_0x303e4d[_0xc19fc9(0x19e)]['name'],_0x1174da['arguments']=_0x303e4d[_0xc19fc9(0x19e)]['arguments'],_0x1db8f3=await this[_0xc19fc9(0x223)]('admission-check',_0x1174da);}const _0x34826c=withAdmissionLock(this['workspace'],_0x4a551c=>{const _0x86d6fb=_0xc19fc9,_0x13dd57=_0x4a551c[_0x86d6fb(0x1c4)]===_0x86d6fb(0x213)&&_0x1db8f3?.[_0x86d6fb(0x26d)]===!![]&&_0x1db8f3[_0x86d6fb(0x2eb)]===_0x4a551c[_0x86d6fb(0x2eb)];if(!_0x2b726e[_0x86d6fb(0x290)]){if(_0x303e4d[_0x86d6fb(0x1ce)]===_0x86d6fb(0x19f)&&!this[_0x86d6fb(0x2f7)](_0x303e4d))return![];if(_0x303e4d['id']===undefined)return!![];const _0x4f1a29={};_0x4f1a29[_0x86d6fb(0x316)]='REQUEST_ID_CONFLICT';if(this[_0x86d6fb(0x2c7)][_0x86d6fb(0x28a)](messageId(_0x303e4d['id'])))throw Object[_0x86d6fb(0x249)](new Error('Request\x20ID\x20is\x20still\x20in\x20flight'),_0x4f1a29);const _0x584ac4=this[_0x86d6fb(0x1b4)]+':'+crypto['randomUUID'](),_0x4e92ae={'invocationId':_0x584ac4,'actorId':_0x86d6fb(0x274),'attemptId':null,'inputHash':hash(_0x2fee67),'epoch':_0x4a551c[_0x86d6fb(0x2eb)],'status':'active','connectionId':this['connectionId'],'createdAt':new Date()[_0x86d6fb(0x330)]()};return _0x4a551c[_0x86d6fb(0x26e)]||={},_0x4a551c[_0x86d6fb(0x26e)][hash(_0x584ac4)]=_0x4e92ae,saveLocked(this[_0x86d6fb(0x24f)],_0x4a551c),this[_0x86d6fb(0x2c7)][_0x86d6fb(0x1c0)](messageId(_0x303e4d['id']),{'method':_0x303e4d[_0x86d6fb(0x1ce)],'tool':_0x303e4d['params']?.[_0x86d6fb(0x243)]||null,'ticket':_0x4e92ae}),!![];}if(_0x4a551c[_0x86d6fb(0x1c4)]===_0x86d6fb(0x2ba)||(this[_0x86d6fb(0x198)]||[_0x86d6fb(0x1dd),_0x86d6fb(0x213)][_0x86d6fb(0x27f)](_0x4a551c[_0x86d6fb(0x1c4)]))&&this[_0x86d6fb(0x230)](_0x303e4d)&&!_0x13dd57)return![];if(_0x303e4d['id']===undefined)return!![];const _0x1bd1c6={};_0x1bd1c6[_0x86d6fb(0x316)]=_0x86d6fb(0x1e9);if(this[_0x86d6fb(0x2c7)]['has'](messageId(_0x303e4d['id'])))throw Object[_0x86d6fb(0x249)](new Error(_0x86d6fb(0x1b6)),_0x1bd1c6);const _0xae32d9=this['connectionId']+':'+crypto['randomUUID'](),_0x111d18={'invocationId':_0xae32d9,'actorId':_0x86d6fb(0x274),'attemptId':null,'inputHash':hash(_0x2fee67),'epoch':_0x4a551c[_0x86d6fb(0x2eb)],'status':_0x86d6fb(0x1f0),'connectionId':this[_0x86d6fb(0x1b4)],'createdAt':new Date()['toISOString']()};return _0x4a551c['tickets']||={},_0x4a551c[_0x86d6fb(0x26e)][hash(_0xae32d9)]=_0x111d18,saveLocked(this[_0x86d6fb(0x24f)],_0x4a551c),this[_0x86d6fb(0x2c7)]['set'](messageId(_0x303e4d['id']),{'method':_0x303e4d[_0x86d6fb(0x1ce)],'tool':_0x303e4d['params']?.['name']||null,'ticket':_0x111d18}),!![];});if(!_0x34826c){const _0x3f9607={};_0x3f9607[_0xc19fc9(0x316)]=-0x7d01,_0x3f9607[_0xc19fc9(0x280)]=_0xc19fc9(0x25b);if(_0x303e4d['id']!==undefined)this[_0xc19fc9(0x296)]({'jsonrpc':_0xc19fc9(0x1fc),'id':_0x303e4d['id'],'error':_0x3f9607});return;}if(_0x303e4d[_0xc19fc9(0x1ce)]===_0xc19fc9(0x317))this[_0xc19fc9(0x317)]=_0x303e4d[_0xc19fc9(0x19e)]||{};if(_0x303e4d[_0xc19fc9(0x1ce)]===_0xc19fc9(0x205))this[_0xc19fc9(0x2f4)]=!![];try{if(this[_0xc19fc9(0x297)](_0x303e4d))await this[_0xc19fc9(0x1a9)]();!this[_0xc19fc9(0x1db)][_0xc19fc9(0x1f4)][_0xc19fc9(0x1ec)](_0x2fee67+'\x0a')&&(this[_0xc19fc9(0x1f4)]['pause'](),this[_0xc19fc9(0x1db)][_0xc19fc9(0x1f4)][_0xc19fc9(0x253)](_0xc19fc9(0x201),()=>this[_0xc19fc9(0x1f4)]['resume']()));}catch(_0x576baa){if(_0x303e4d['id']!==undefined){const _0x2b9fb0=this[_0xc19fc9(0x2c7)]['get'](messageId(_0x303e4d['id']));if(_0x2b9fb0?.['ticket'])finishOperation(this[_0xc19fc9(0x24f)],_0x2b9fb0[_0xc19fc9(0x325)][_0xc19fc9(0x30e)],_0x2b9fb0['ticket'][_0xc19fc9(0x2eb)]);this[_0xc19fc9(0x2c7)]['delete'](messageId(_0x303e4d['id']));}throw _0x576baa;}}['isNewMutation'](_0x18e14a){const _0x5c8e5e=_0x3d9760;if(_0x18e14a[_0x5c8e5e(0x1ce)]!==_0x5c8e5e(0x19f))return![];const _0x4451ef=_0x18e14a[_0x5c8e5e(0x19e)]?.[_0x5c8e5e(0x243)]||'',_0x172399=_0x18e14a[_0x5c8e5e(0x19e)]?.[_0x5c8e5e(0x284)]?.['action'];if(_0x4451ef===_0x5c8e5e(0x1af))return!(_0x18e14a[_0x5c8e5e(0x19e)]?.[_0x5c8e5e(0x284)]?.['attemptId']&&['report','consume-report',_0x5c8e5e(0x295),_0x5c8e5e(0x269),'reconcile-verification',_0x5c8e5e(0x1e7),_0x5c8e5e(0x1d8)][_0x5c8e5e(0x27f)](_0x172399));return!this[_0x5c8e5e(0x2f7)](_0x18e14a);}[_0x3d9760(0x2f7)](_0xed726b){const _0x597c11=_0x3d9760,_0x2aef3a=_0xed726b['params']?.[_0x597c11(0x243)]||'';if([_0x597c11(0x285),_0x597c11(0x314),_0x597c11(0x1bc),_0x597c11(0x2cc),_0x597c11(0x27c),'context_load',_0x597c11(0x2ed),_0x597c11(0x2bf),'code_search',_0x597c11(0x2fe),_0x597c11(0x2ec),_0x597c11(0x250),_0x597c11(0x1d1),_0x597c11(0x329),_0x597c11(0x2e6),_0x597c11(0x318)]['includes'](_0x2aef3a))return!![];return![];}[_0x3d9760(0x297)](_0x29bc78){const _0x27e064=_0x3d9760;if(_0x29bc78['method']===_0x27e064(0x200))return(this[_0x27e064(0x19a)][_0x27e064(0x306)]||process.env.MCP_DISCOVER_BACKENDS)==='1';if(['initialize','ping'][_0x27e064(0x27f)](_0x29bc78[_0x27e064(0x1ce)])||_0x29bc78[_0x27e064(0x1ce)]?.[_0x27e064(0x20b)](_0x27e064(0x2a7)))return![];if(_0x29bc78['method']!=='tools/call')return!![];const {name:_0x3c8170,arguments:_0x57040b={}}=_0x29bc78['params']||{};if(_0x3c8170===_0x27e064(0x2cc))return _0x57040b[_0x27e064(0x2cb)]===!![];if(_0x3c8170==='model_list')return _0x57040b[_0x27e064(0x1bb)]===!![];if(_0x3c8170===_0x27e064(0x1bc))return Boolean(_0x57040b['backend']||_0x57040b['service']);if(_0x3c8170==='pipeline_status')return _0x57040b[_0x27e064(0x1bb)]===!![];return!['skill_load',_0x27e064(0x258)][_0x27e064(0x27f)](_0x3c8170);}async[_0x3d9760(0x1a9)](){const _0x223539=_0x3d9760,_0x184a88=this[_0x223539(0x1db)],_0x290374={};_0x290374[_0x223539(0x316)]='CHILD_UNAVAILABLE';if(!_0x184a88)throw Object[_0x223539(0x249)](new Error(_0x223539(0x300)),_0x290374);if(_0x184a88['operationsEnabled'])return;_0x184a88['operationActivation']||=((async()=>{const _0x199e29=_0x223539;await attachOwnedJob(_0x184a88);const _0x2f7776=await this[_0x199e29(0x223)](_0x199e29(0x2ae)),_0x11b764={};_0x11b764['code']=_0x199e29(0x2ac);if(this[_0x199e29(0x1db)]!==_0x184a88||_0x2f7776[_0x199e29(0x26f)]!==_0x199e29(0x2b8)||_0x2f7776[_0x199e29(0x204)]!==_0x184a88[_0x199e29(0x204)]||_0x2f7776['connectionId']!==this['connectionId']||_0x2f7776['generation']!==this[_0x199e29(0x2e3)])throw Object[_0x199e29(0x249)](new Error(_0x199e29(0x311)),_0x11b764);_0x184a88['operationsEnabled']=!![];})());try{await _0x184a88['operationActivation'];}catch(_0x258d89){_0x184a88[_0x223539(0x273)]=null;throw _0x258d89;}}async[_0x3d9760(0x1ed)](_0xe9a8e5,_0x40d9d7){const _0x58729a=_0x3d9760;if(this['booting'])return this[_0x58729a(0x2b3)];this['booting']=((async()=>{const _0x4a4782=_0x58729a,_0x39d936=verifyRelease(_0xe9a8e5,this[_0x4a4782(0x2f1)]),_0x5310c4={...process.env,...this[_0x4a4782(0x19a)]};_0x5310c4[_0x4a4782(0x268)]='1',_0x5310c4[_0x4a4782(0x1d3)]=this[_0x4a4782(0x1b4)];const _0x56fdde=_0x5310c4;delete _0x56fdde[_0x4a4782(0x30c)];const _0x5ccdaf=spawn(process[_0x4a4782(0x31e)],[path['join'](_0xe9a8e5,_0x4a4782(0x222))],{'cwd':this[_0x4a4782(0x24f)],'stdio':['pipe','pipe',_0x4a4782(0x210),_0x4a4782(0x237)],'detached':process[_0x4a4782(0x2c3)]!=='win32','windowsHide':!![],'env':_0x56fdde});this[_0x4a4782(0x1db)]=_0x5ccdaf;const _0xd00823={};_0xd00823[_0x4a4782(0x24f)]=this['workspace'],_0xd00823[_0x4a4782(0x1b4)]=this[_0x4a4782(0x1b4)],_0xd00823[_0x4a4782(0x2da)]=this[_0x4a4782(0x2da)],_0xd00823[_0x4a4782(0x2e3)]=_0x40d9d7,_0x5ccdaf['aptOwnership']=captureOwnedChild(_0x5ccdaf,_0xd00823),_0x5ccdaf[_0x4a4782(0x248)]=_0x5ccdaf[_0x4a4782(0x233)][_0x4a4782(0x1f8)]||null,this[_0x4a4782(0x256)]=null;const _0x5d7980={};_0x5d7980['version']=_0x39d936[_0x4a4782(0x226)],_0x5d7980[_0x4a4782(0x2c5)]=_0x39d936['digest'],_0x5d7980[_0x4a4782(0x2e3)]=_0x40d9d7,_0x5ccdaf['expectedBoot']=_0x5d7980,_0x5ccdaf[_0x4a4782(0x2a5)]=![],_0x5ccdaf['stdout']['on']('data',_0x4e3870=>this[_0x4a4782(0x1be)](_0x4e3870,_0x5ccdaf)),_0x5ccdaf[_0x4a4782(0x228)]['on']('data',_0x2cc4f7=>this['stderr'][_0x4a4782(0x1ec)](_0x2cc4f7)),_0x5ccdaf['on']('message',_0x2efa28=>this[_0x4a4782(0x1ab)](_0x2efa28,_0x5ccdaf)),_0x5ccdaf['on'](_0x4a4782(0x215),(_0x4eb87c,_0x383513)=>this['childClosed'](_0x5ccdaf,_0x4eb87c,_0x383513)),_0x5ccdaf['on']('error',_0x55646f=>_0x5ccdaf[_0x4a4782(0x2fa)]?.(_0x55646f));const _0x586804=new Promise((_0x24ddc1,_0x4414ee)=>{const _0x3be175=_0x4a4782,_0x2d9196={};_0x2d9196[_0x3be175(0x316)]=_0x3be175(0x1a1);const _0x3dd64c=setTimeout(()=>_0x4414ee(Object[_0x3be175(0x249)](new Error('Runtime\x20child\x20startup\x20timed\x20out'),_0x2d9196)),0x3a98);_0x5ccdaf[_0x3be175(0x251)]=_0x3379b9=>{clearTimeout(_0x3dd64c),_0x24ddc1(_0x3379b9);},_0x5ccdaf[_0x3be175(0x2fa)]=_0x7928b6=>{clearTimeout(_0x3dd64c),_0x4414ee(_0x7928b6);};});_0x586804[_0x4a4782(0x23a)](()=>{});try{_0x5ccdaf[_0x4a4782(0x22a)]({'type':_0x4a4782(0x1ed),'runtimeRoot':this[_0x4a4782(0x2da)],'release':_0xe9a8e5,'publicKey':this['publicKey']?.[_0x4a4782(0x1e0)](),'connectionId':this[_0x4a4782(0x1b4)],'generation':_0x40d9d7,'workspace':this[_0x4a4782(0x24f)],'explicitWorkspace':this[_0x4a4782(0x299)],'gatewayBinding':this[_0x4a4782(0x2a6)]});const _0x743f71=await _0x586804;_0x5ccdaf['ready']=!![],this['childControlCapabilities']=Array['isArray'](_0x743f71['controlCapabilities'])?_0x743f71[_0x4a4782(0x305)]:[],this[_0x4a4782(0x1c6)]=_0x39d936,this[_0x4a4782(0x2b1)]=_0x743f71[_0x4a4782(0x2b1)],this[_0x4a4782(0x2e3)]=_0x40d9d7,this[_0x4a4782(0x1ac)]=_0x4a4782(0x2f6),this[_0x4a4782(0x21a)]();}catch(_0x170200){_0x5ccdaf[_0x4a4782(0x2fa)]?.(_0x170200);try{await attachOwnedJob(_0x5ccdaf),await stopOwnedChild(_0x5ccdaf,{'graceMs':0x64,'reason':_0x4a4782(0x277),'graceful':()=>{const _0x3b7f60=_0x4a4782;if(_0x5ccdaf['connected'])_0x5ccdaf[_0x3b7f60(0x2c4)]();}});}catch(_0x2b667b){const _0x329d72={};_0x329d72['stopCode']=_0x2b667b['code'];throw Object[_0x4a4782(0x249)](_0x170200,_0x329d72);}if(this[_0x4a4782(0x1db)]===_0x5ccdaf)this['child']=null;throw _0x170200;}})());try{return await this[_0x58729a(0x2b3)];}finally{this[_0x58729a(0x2b3)]=null;}}[_0x3d9760(0x1be)](_0x5c4501,_0x5a486f){const _0x1b9261=_0x3d9760;if(this[_0x1b9261(0x1db)]!==_0x5a486f)return;const _0x3b1137=this[_0x1b9261(0x2ff)]['write'](_0x5c4501);this[_0x1b9261(0x207)]+=_0x3b1137;let _0x42d5ea;while((_0x42d5ea=this[_0x1b9261(0x207)]['indexOf']('\x0a'))>=0x0){const _0x48bd6b=this[_0x1b9261(0x207)]['slice'](0x0,_0x42d5ea);this[_0x1b9261(0x207)]=this[_0x1b9261(0x207)][_0x1b9261(0x2ea)](_0x42d5ea+0x1);if(!_0x48bd6b)continue;let _0x19c4b8;try{_0x19c4b8=JSON[_0x1b9261(0x218)](_0x48bd6b);}catch{continue;}const _0x5e5f7e=_0x19c4b8['id']!==undefined&&this[_0x1b9261(0x29b)][_0x1b9261(0x1a0)](messageId(_0x19c4b8['id']));if(_0x5e5f7e){this[_0x1b9261(0x29b)][_0x1b9261(0x31c)](messageId(_0x19c4b8['id'])),_0x5e5f7e[_0x1b9261(0x272)](_0x19c4b8);continue;}const _0x3de86b=_0x19c4b8['id']!==undefined?this[_0x1b9261(0x2c7)][_0x1b9261(0x1a0)](messageId(_0x19c4b8['id'])):null;if(_0x3de86b){if(_0x3de86b[_0x1b9261(0x325)])finishOperation(this[_0x1b9261(0x24f)],_0x3de86b[_0x1b9261(0x325)][_0x1b9261(0x30e)],_0x3de86b[_0x1b9261(0x325)][_0x1b9261(0x2eb)]);this[_0x1b9261(0x2c7)][_0x1b9261(0x31c)](messageId(_0x19c4b8['id']));if(_0x3de86b['method']===_0x1b9261(0x317)&&!_0x19c4b8[_0x1b9261(0x2f2)]){try{this[_0x1b9261(0x312)]=!![];if(this[_0x1b9261(0x2bc)][_0x1b9261(0x290)]){if(this[_0x1b9261(0x2e4)])this[_0x1b9261(0x1b3)](),this[_0x1b9261(0x1ac)]='active';else this['activation']='waiting-catalog';}else this[_0x1b9261(0x1ac)]=_0x1b9261(0x1a8);}catch(_0x134ad5){this['activation']=_0x1b9261(0x270);const _0x30d9e7={};_0x30d9e7[_0x1b9261(0x316)]=-0x7d01,_0x30d9e7[_0x1b9261(0x280)]=_0x134ad5['code']||_0x1b9261(0x275),_0x19c4b8={'jsonrpc':_0x1b9261(0x1fc),'id':_0x19c4b8['id'],'error':_0x30d9e7};}this[_0x1b9261(0x21a)]();if(this['startupState']['mutationAllowed'])void this[_0x1b9261(0x310)]()['catch'](_0x4e7404=>{const _0x19bbcd=_0x1b9261,_0x27b0aa={};_0x27b0aa['blocker']=_0x4e7404['code']||'ADMISSION_RELEASE_FAILED',this[_0x19bbcd(0x21a)](_0x27b0aa);});}if(_0x3de86b[_0x1b9261(0x1ce)]===_0x1b9261(0x200)&&!_0x19c4b8[_0x1b9261(0x2f2)]){this[_0x1b9261(0x2e4)]=hash(JSON[_0x1b9261(0x332)](_0x19c4b8[_0x1b9261(0x23e)]?.[_0x1b9261(0x28d)]||[]));if(this[_0x1b9261(0x2bc)][_0x1b9261(0x290)]&&this[_0x1b9261(0x312)]&&this[_0x1b9261(0x1ac)]==='waiting-catalog')try{this[_0x1b9261(0x1b3)](),this[_0x1b9261(0x1ac)]=_0x1b9261(0x1f0),this[_0x1b9261(0x21a)]();}catch(_0x286e3b){this[_0x1b9261(0x1ac)]='reconnect-required';const _0x121d0b={};_0x121d0b[_0x1b9261(0x20c)]=_0x286e3b[_0x1b9261(0x316)]||'GENERATION_UNCONFIRMED',this[_0x1b9261(0x21a)](_0x121d0b);}}}!this[_0x1b9261(0x1f9)][_0x1b9261(0x1ec)](JSON[_0x1b9261(0x332)](_0x19c4b8)+'\x0a')&&(_0x5a486f[_0x1b9261(0x1f9)][_0x1b9261(0x2a1)](),this[_0x1b9261(0x1f9)]['once'](_0x1b9261(0x201),()=>_0x5a486f['stdout']['resume']()));}}async[_0x3d9760(0x310)](){const _0x5cc804=_0x3d9760,_0x9461ce=readFence(this[_0x5cc804(0x24f)]);if(_0x9461ce['state']!==_0x5cc804(0x1dd)||_0x9461ce['targetVersion']!==this[_0x5cc804(0x1c6)]?.['version']||_0x9461ce[_0x5cc804(0x219)]!==this[_0x5cc804(0x1c6)]?.['digest'])return;const _0x1e7bdb=path[_0x5cc804(0x1d0)](this[_0x5cc804(0x24f)],_0x5cc804(0x2b0),_0x5cc804(0x1cf),_0x5cc804(0x2e2));let _0x9c7e6a;try{_0x9c7e6a=JSON[_0x5cc804(0x218)](fs[_0x5cc804(0x229)](_0x1e7bdb,'utf8'));}catch{return;}if(_0x9c7e6a[_0x5cc804(0x1c5)]!==_0x9461ce[_0x5cc804(0x1c5)]||![_0x5cc804(0x2d3),'reconnect-required'][_0x5cc804(0x27f)](_0x9c7e6a[_0x5cc804(0x235)]))return;const _0x19ffce=await require(_0x5cc804(0x239))[_0x5cc804(0x1a7)](this[_0x5cc804(0x24f)],{'version':this[_0x5cc804(0x1c6)][_0x5cc804(0x226)],'digest':this[_0x5cc804(0x1c6)][_0x5cc804(0x2c5)],'resourceDigest':this['resourceDigest'],'catalogHash':this[_0x5cc804(0x2e4)]});if(_0x19ffce[_0x5cc804(0x235)]!==_0x5cc804(0x1f0))return;const _0x5326c6=new Set(_0x19ffce[_0x5cc804(0x31b)][_0x5cc804(0x1dc)](_0x2b5397=>_0x2b5397[_0x5cc804(0x1b4)])),_0x1bc958=changeFence(this[_0x5cc804(0x24f)],_0x9461ce['epoch'],{'state':_0x5cc804(0x1c9),'transactionId':_0x9461ce[_0x5cc804(0x1c5)],'generation':this[_0x5cc804(0x2e3)],'guard':_0xa7d316=>_0xa7d316[_0x5cc804(0x1c4)]==='closed'&&_0xa7d316[_0x5cc804(0x1c5)]===_0x9461ce['transactionId']&&Object[_0x5cc804(0x21e)](_0xa7d316[_0x5cc804(0x1cc)]||{})[_0x5cc804(0x1d4)](_0x431597=>_0x431597[_0x5cc804(0x1c4)]!==_0x5cc804(0x1dd))['every'](_0x5c5a3f=>_0x5326c6['has'](_0x5c5a3f[_0x5cc804(0x1b4)]))}),_0x2fc9cc={..._0x9c7e6a};_0x2fc9cc[_0x5cc804(0x235)]=_0x5cc804(0x1f0),_0x2fc9cc[_0x5cc804(0x2cf)]='authenticated-live-process',_0x2fc9cc[_0x5cc804(0x2e3)]=this[_0x5cc804(0x2e3)],_0x2fc9cc[_0x5cc804(0x32c)]=_0x1bc958['changedAt'],atomic(_0x1e7bdb,_0x2fc9cc);}[_0x3d9760(0x1ab)](_0x56ebea,_0x1c7f9a){const _0x140ed9=_0x3d9760;if(this[_0x140ed9(0x1db)]!==_0x1c7f9a)return;if(_0x56ebea?.[_0x140ed9(0x26f)]===_0x140ed9(0x22f)){const _0x3f1a97=this[_0x140ed9(0x29b)]['get'](messageId(_0x56ebea[_0x140ed9(0x1ff)]));let _0x470b30=_0x3f1a97?.[_0x140ed9(0x26f)]===_0x140ed9(0x333);try{if(_0x470b30)_0x3f1a97[_0x140ed9(0x1b9)][_0x140ed9(0x242)]();}catch{_0x470b30=![];}const _0x2fe7c2={};_0x2fe7c2['type']=_0x140ed9(0x2c6),_0x2fe7c2[_0x140ed9(0x1ff)]=_0x56ebea[_0x140ed9(0x1ff)];const _0x3e65aa={};_0x3e65aa[_0x140ed9(0x26f)]=_0x140ed9(0x1f7),_0x3e65aa['cancelRequestId']=_0x56ebea[_0x140ed9(0x1ff)];if(_0x1c7f9a[_0x140ed9(0x1ca)])_0x1c7f9a[_0x140ed9(0x22a)](_0x470b30?_0x2fe7c2:_0x3e65aa,()=>{});return;}if(_0x56ebea?.[_0x140ed9(0x26f)]===_0x140ed9(0x2a5)){const _0x5deddf=_0x1c7f9a['expectedBoot'],_0xcafdda={};_0xcafdda[_0x140ed9(0x316)]='CHILD_READINESS_MISMATCH';if(!_0x5deddf||_0x56ebea[_0x140ed9(0x1b4)]!==this[_0x140ed9(0x1b4)]||_0x56ebea[_0x140ed9(0x204)]!==_0x1c7f9a[_0x140ed9(0x204)]||_0x56ebea[_0x140ed9(0x2e3)]!==_0x5deddf[_0x140ed9(0x2e3)]||_0x56ebea[_0x140ed9(0x226)]!==_0x5deddf[_0x140ed9(0x226)]||_0x56ebea[_0x140ed9(0x2c5)]!==_0x5deddf[_0x140ed9(0x2c5)]||!same(_0x56ebea['workspace']||'',this['workspace']))_0x1c7f9a[_0x140ed9(0x2fa)]?.(Object[_0x140ed9(0x249)](new Error('Runtime\x20readiness\x20tuple\x20does\x20not\x20match\x20candidate'),_0xcafdda));else _0x1c7f9a[_0x140ed9(0x251)]?.(_0x56ebea);}else{if(_0x56ebea?.[_0x140ed9(0x26f)]==='boot-error')_0x1c7f9a['bootReject']?.(Object[_0x140ed9(0x249)](new Error(_0x56ebea['detail']),{'code':_0x56ebea[_0x140ed9(0x316)]}));else{if(_0x56ebea?.[_0x140ed9(0x26f)]===_0x140ed9(0x1b2))this['rebindWorkspace'](_0x56ebea['workspace']);else{if(_0x56ebea?.[_0x140ed9(0x26f)]===_0x140ed9(0x301)){const _0x364979=typeof _0x56ebea['hostSessionId']==='string'&&_0x56ebea[_0x140ed9(0x24e)]['length']<=0xc8?_0x56ebea[_0x140ed9(0x24e)]:null;_0x364979!==(this['boundSession']||null)&&(this['boundSession']=_0x364979,this[_0x140ed9(0x21a)]());}else{if(_0x56ebea?.[_0x140ed9(0x1ff)]&&this[_0x140ed9(0x29b)][_0x140ed9(0x28a)](messageId(_0x56ebea[_0x140ed9(0x1ff)]))){if(_0x56ebea[_0x140ed9(0x26f)]==='stopped'&&_0x56ebea['pid']===_0x1c7f9a['pid']&&_0x56ebea['connectionId']===this['connectionId']&&_0x56ebea[_0x140ed9(0x2e3)]===this[_0x140ed9(0x2e3)]&&_0x56ebea['registeredOwnersStopped']===!![])_0x1c7f9a[_0x140ed9(0x279)]=!![];const _0x3d5a67=this[_0x140ed9(0x29b)][_0x140ed9(0x1a0)](messageId(_0x56ebea[_0x140ed9(0x1ff)]));this[_0x140ed9(0x29b)][_0x140ed9(0x31c)](messageId(_0x56ebea[_0x140ed9(0x1ff)])),_0x3d5a67['resolve'](_0x56ebea);}}}}}}async[_0x3d9760(0x223)](_0x3fef90,_0x3d9045={},_0x186695=0x1388,_0x1082c0={}){const _0x355ce6=_0x3d9760,_0x332267=_0x3fef90===_0x355ce6(0x333)?require('../core/hook-lease')[_0x355ce6(0x320)](_0x3d9045[_0x355ce6(0x1d5)]?.[_0x355ce6(0x255)],_0x1082c0):null;_0x332267?.['assertCurrent']();const _0x38f3a5={};_0x38f3a5['name']=_0x3d9045[_0x355ce6(0x1d5)]?.['tool'],_0x38f3a5[_0x355ce6(0x284)]=_0x3d9045[_0x355ce6(0x1d5)]?.[_0x355ce6(0x284)];const _0x53cfd7={};_0x53cfd7[_0x355ce6(0x1ce)]=_0x355ce6(0x19f),_0x53cfd7['params']=_0x38f3a5;const _0x32bb0c=_0x3fef90===_0x355ce6(0x333)&&!this['requiresProcessDispatch'](_0x53cfd7);if(!['status',_0x355ce6(0x2ae)][_0x355ce6(0x27f)](_0x3fef90)&&!_0x32bb0c)await this[_0x355ce6(0x1a9)]();_0x332267?.[_0x355ce6(0x242)]();const _0x21e33e={};_0x21e33e[_0x355ce6(0x316)]='CHILD_UNAVAILABLE';if(!this[_0x355ce6(0x1db)]?.[_0x355ce6(0x1ca)])return Promise['reject'](Object[_0x355ce6(0x249)](new Error(_0x355ce6(0x300)),_0x21e33e));const _0x48d9f6=Math[_0x355ce6(0x1f6)](0x1,Math['min'](_0x186695,_0x332267?.['remainingMs']()??_0x186695));if(_0x332267)_0x3d9045={..._0x3d9045,'input':{..._0x3d9045['input'],'hookLease':{..._0x332267[_0x355ce6(0x28e)],'notAfter':Math[_0x355ce6(0x193)](_0x332267[_0x355ce6(0x28e)]['notAfter'],Date[_0x355ce6(0x2f3)]()+_0x48d9f6),'maxDurationMs':Math['min'](_0x332267[_0x355ce6(0x28e)][_0x355ce6(0x1e1)],Math['ceil'](_0x48d9f6))}}};const _0xbdc306='apt-control-'+crypto[_0x355ce6(0x1aa)]();return new Promise((_0x4f63e4,_0x1ac3b5)=>{const _0x4fc5ba=_0x355ce6,_0x2b3286=this[_0x4fc5ba(0x1db)],_0xdd28fd=(_0x5bb6be='HOOK_DEADLINE_EXCEEDED')=>{const _0xe56d2a=_0x4fc5ba;clearTimeout(_0x3358ab),_0x1082c0[_0xe56d2a(0x2ee)]?.[_0xe56d2a(0x2be)]('abort',_0x4846fe),this['control'][_0xe56d2a(0x31c)](messageId(_0xbdc306));if(_0x3fef90===_0xe56d2a(0x333)&&_0x2b3286['connected'])try{const _0x20fa0a={};_0x20fa0a[_0xe56d2a(0x26f)]=_0xe56d2a(0x1f7),_0x20fa0a[_0xe56d2a(0x2e1)]=_0xbdc306,_0x2b3286[_0xe56d2a(0x22a)](_0x20fa0a,()=>{});}catch{}_0x1ac3b5(Object['assign'](new Error(_0x5bb6be),{'code':_0x5bb6be}));},_0x4846fe=()=>_0xdd28fd(),_0x3358ab=setTimeout(()=>_0xdd28fd(_0x4fc5ba(0x2b5)),_0x48d9f6);if(_0x1082c0[_0x4fc5ba(0x2ee)]?.[_0x4fc5ba(0x289)])return _0xdd28fd();const _0x578796={};_0x578796[_0x4fc5ba(0x253)]=!![],_0x1082c0[_0x4fc5ba(0x2ee)]?.[_0x4fc5ba(0x1fe)](_0x4fc5ba(0x2df),_0x4846fe,_0x578796),this[_0x4fc5ba(0x29b)]['set'](messageId(_0xbdc306),{'type':_0x3fef90,'lease':_0x332267,'resolve':_0x16bd24=>{const _0x599bed=_0x4fc5ba;try{_0x332267?.[_0x599bed(0x242)]();}catch{return _0xdd28fd();}clearTimeout(_0x3358ab),_0x1082c0[_0x599bed(0x2ee)]?.[_0x599bed(0x2be)](_0x599bed(0x2df),_0x4846fe),_0x4f63e4(_0x16bd24);}});try{const _0x2f2c2f={'type':_0x3fef90,'requestId':_0xbdc306,..._0x3d9045};_0x2b3286[_0x4fc5ba(0x22a)](_0x2f2c2f,_0x1237b1=>{const _0x3a283a=_0x4fc5ba;if(_0x1237b1)_0xdd28fd(_0x3a283a(0x1b8));});}catch{_0xdd28fd(_0x4fc5ba(0x1b8));}});}async['requestRpc'](_0x3cf4b3,_0x27d030,_0x33408c=0x2710){const _0x337d56=_0x3d9760;await this['enableOwnedOperations']();const _0x26a49b=_0x337d56(0x1b5)+crypto[_0x337d56(0x1aa)]();return new Promise((_0x3f8296,_0x5319ab)=>{const _0x36fbf6=_0x337d56,_0x3bf801=setTimeout(()=>{const _0x537a29=_0x1e3a;this[_0x537a29(0x29b)][_0x537a29(0x31c)](messageId(_0x26a49b));const _0x6dd707={};_0x6dd707[_0x537a29(0x316)]='CHILD_RPC_TIMEOUT',_0x5319ab(Object[_0x537a29(0x249)](new Error(_0x537a29(0x331)),_0x6dd707));},_0x33408c);this[_0x36fbf6(0x29b)][_0x36fbf6(0x1c0)](messageId(_0x26a49b),{'resolve':_0x32b897=>{clearTimeout(_0x3bf801),_0x3f8296(_0x32b897);}});const _0x2fa01d={};_0x2fa01d[_0x36fbf6(0x2db)]=_0x36fbf6(0x1fc),_0x2fa01d['id']=_0x26a49b,_0x2fa01d[_0x36fbf6(0x1ce)]=_0x3cf4b3,_0x2fa01d[_0x36fbf6(0x19e)]=_0x27d030,this[_0x36fbf6(0x1db)]['stdin'][_0x36fbf6(0x1ec)](JSON[_0x36fbf6(0x332)](_0x2fa01d)+'\x0a');});}async[_0x3d9760(0x1bf)](){const _0x3aefce=_0x3d9760;if(this[_0x3aefce(0x2c7)]['size'])return[{'kind':_0x3aefce(0x23b),'count':this[_0x3aefce(0x2c7)][_0x3aefce(0x29e)]}];const _0x5437c0=await this[_0x3aefce(0x223)](_0x3aefce(0x235)),_0x11ff70={};return _0x11ff70[_0x3aefce(0x2e0)]=_0x3aefce(0x1a2),_0x5437c0['blockers']||[_0x11ff70];}[_0x3d9760(0x224)](){const _0x188b6e=_0x3d9760,_0x7c2100={};return _0x7c2100[_0x188b6e(0x1b4)]=this['connectionId'],_0x7c2100[_0x188b6e(0x24f)]=this[_0x188b6e(0x24f)],_0x7c2100['supervisorPid']=process[_0x188b6e(0x204)],_0x7c2100[_0x188b6e(0x1ad)]=this[_0x188b6e(0x1db)]?.[_0x188b6e(0x204)],_0x7c2100[_0x188b6e(0x226)]=this['identity']?.['version'],_0x7c2100[_0x188b6e(0x2c5)]=this['identity']?.[_0x188b6e(0x2c5)],_0x7c2100[_0x188b6e(0x2b1)]=this[_0x188b6e(0x2b1)],_0x7c2100[_0x188b6e(0x234)]=this[_0x188b6e(0x2e4)],_0x7c2100['generation']=this[_0x188b6e(0x2e3)],_0x7c2100;}async[_0x3d9760(0x27e)](_0x8f62af){const _0x47825f=_0x3d9760,_0x53c1ca={};_0x53c1ca[_0x47825f(0x316)]='CHILD_UNAVAILABLE';if(!this[_0x47825f(0x1db)])throw Object[_0x47825f(0x249)](new Error(_0x47825f(0x197)),_0x53c1ca);const _0x3bb4f9=this[_0x47825f(0x1db)];_0x3bb4f9[_0x47825f(0x2b9)]||=((async()=>{const _0x1e10d0=_0x47825f;if(!_0x3bb4f9[_0x1e10d0(0x1dd)])await this[_0x1e10d0(0x1a9)]();let _0x25ef58=![];const _0x2c779b=await stopOwnedChild(_0x3bb4f9,{'reason':_0x8f62af,'graceful':async()=>{const _0x6d9bda=_0x1e10d0,_0x3730f3={};_0x3730f3['reason']=_0x8f62af;const _0x1e1e58=await this[_0x6d9bda(0x223)](_0x6d9bda(0x1da),_0x3730f3,0x3a98);_0x25ef58=_0x1e1e58['type']==='stopped'&&_0x1e1e58[_0x6d9bda(0x204)]===_0x3bb4f9[_0x6d9bda(0x204)]&&_0x1e1e58[_0x6d9bda(0x1b4)]===this[_0x6d9bda(0x1b4)]&&_0x1e1e58[_0x6d9bda(0x2e3)]===(_0x3bb4f9[_0x6d9bda(0x2aa)]?.[_0x6d9bda(0x2e3)]??this[_0x6d9bda(0x2e3)])&&_0x1e1e58[_0x6d9bda(0x21c)]===!![];}}),_0x5b3193={};_0x5b3193[_0x1e10d0(0x316)]=_0x1e10d0(0x2d9);if(process[_0x1e10d0(0x2c3)]!==_0x1e10d0(0x195)&&!_0x25ef58)throw Object[_0x1e10d0(0x249)](new Error(_0x1e10d0(0x22d)),_0x5b3193);const _0xe94292={..._0x2c779b};return _0xe94292['registeredOwnersStopped']=_0x25ef58,_0x3bb4f9[_0x1e10d0(0x256)]=_0xe94292,_0x3bb4f9['shutdownEvidence'];})());const _0x392239=await _0x3bb4f9[_0x47825f(0x2b9)],_0x24cd05={};_0x24cd05[_0x47825f(0x316)]=_0x47825f(0x2d9);if(process[_0x47825f(0x2c3)]!==_0x47825f(0x195)&&_0x3bb4f9['shutdownEvidence']?.[_0x47825f(0x21c)]!==!![])throw Object['assign'](new Error('Registered\x20owner\x20shutdown\x20was\x20not\x20confirmed'),_0x24cd05);this['child']===_0x3bb4f9&&(this[_0x47825f(0x256)]=_0x3bb4f9[_0x47825f(0x256)]||_0x392239,this[_0x47825f(0x1db)]=null,this[_0x47825f(0x207)]='',this[_0x47825f(0x2ff)]=new StringDecoder(_0x47825f(0x32d)));}async[_0x3d9760(0x1a3)](_0x5ca6aa){const _0x3d130b=_0x3d9760;if(this[_0x3d130b(0x317)]){const _0x3a19cf=await this['requestRpc'](_0x3d130b(0x317),this['initialize']),_0x5a3165={};_0x5a3165[_0x3d130b(0x316)]=_0x3d130b(0x209);if(_0x3a19cf[_0x3d130b(0x2f2)])throw Object[_0x3d130b(0x249)](new Error('Candidate\x20initialization\x20failed'),_0x5a3165);const _0x22252e={};_0x22252e[_0x3d130b(0x2db)]=_0x3d130b(0x1fc),_0x22252e[_0x3d130b(0x1ce)]=_0x3d130b(0x205),_0x22252e['params']={};if(this[_0x3d130b(0x2f4)])this['child']['stdin'][_0x3d130b(0x1ec)](JSON[_0x3d130b(0x332)](_0x22252e)+'\x0a');}const _0x5a3ccc=await this['requestRpc'](_0x3d130b(0x200),{}),_0x1eae86=hash(JSON[_0x3d130b(0x332)](_0x5a3ccc['result']?.[_0x3d130b(0x28d)]||[])),_0x499b6b={};_0x499b6b[_0x3d130b(0x316)]='RECONNECT_REQUIRED';if(_0x5a3ccc[_0x3d130b(0x2f2)]||this[_0x3d130b(0x2e4)]&&_0x1eae86!==this[_0x3d130b(0x2e4)])throw Object['assign'](new Error(_0x3d130b(0x298)),_0x499b6b);this[_0x3d130b(0x2e4)]=_0x1eae86;const _0x46617d={};_0x46617d[_0x3d130b(0x24e)]=_0x5ca6aa[_0x3d130b(0x24e)],_0x46617d['boundPipeline']=_0x5ca6aa[_0x3d130b(0x2fb)],await this[_0x3d130b(0x223)](_0x3d130b(0x29c),_0x46617d);}async[_0x3d9760(0x267)](_0x4cbbb6){const _0x1e8244=_0x3d9760,_0x201720=readFence(this[_0x1e8244(0x24f)]),_0x4ac8c1={};_0x4ac8c1[_0x1e8244(0x316)]=_0x1e8244(0x254);if(_0x201720[_0x1e8244(0x1c4)]!=='frozen'||_0x4cbbb6[_0x1e8244(0x1c5)]!==_0x201720[_0x1e8244(0x1c5)]||_0x4cbbb6['epoch']!==_0x201720['epoch'])throw Object[_0x1e8244(0x249)](new Error(_0x1e8244(0x25f)),_0x4ac8c1);const _0x4aa84b={};_0x4aa84b[_0x1e8244(0x235)]=_0x1e8244(0x2f0),_0x4aa84b[_0x1e8244(0x316)]=_0x1e8244(0x2f9);if(this[_0x1e8244(0x30b)])return _0x4aa84b;this['recoverCandidate'](_0x4cbbb6['transactionId']),this['admissionClosed']=!![];if(_0x4cbbb6[_0x1e8244(0x26f)]===_0x1e8244(0x246)){const _0x4eb5c7={};_0x4eb5c7[_0x1e8244(0x316)]=_0x1e8244(0x257);if(!this[_0x1e8244(0x1ee)]||this[_0x1e8244(0x1ee)][_0x1e8244(0x1c5)]!==_0x4cbbb6[_0x1e8244(0x1c5)]||!this[_0x1e8244(0x1ee)]['prepared']||!this['child']?.[_0x1e8244(0x2a5)])throw Object['assign'](new Error('Candidate\x20is\x20not\x20prepared'),_0x4eb5c7);const _0x3ef1a4=await this[_0x1e8244(0x223)](_0x1e8244(0x235)),_0x3a094a={};_0x3a094a[_0x1e8244(0x316)]='CHILD_READINESS_MISMATCH';if(_0x3ef1a4[_0x1e8244(0x204)]!==this[_0x1e8244(0x1db)][_0x1e8244(0x204)]||_0x3ef1a4['generation']!==_0x4cbbb6['generation']||!same(_0x3ef1a4[_0x1e8244(0x24f)],this[_0x1e8244(0x24f)]))throw Object['assign'](new Error(_0x1e8244(0x2d6)),_0x3a094a);const _0x4373ff=acknowledgeGeneration(this[_0x1e8244(0x24f)],this[_0x1e8244(0x1b4)],_0x4cbbb6[_0x1e8244(0x1c5)],this[_0x1e8244(0x224)]());projectGeneration(this[_0x1e8244(0x2da)],this[_0x1e8244(0x24f)],_0x4373ff),this[_0x1e8244(0x295)]=this[_0x1e8244(0x1ee)][_0x1e8244(0x295)],this[_0x1e8244(0x1ac)]=_0x1e8244(0x1f0),this[_0x1e8244(0x198)]=![];const _0x1cb58f={};return _0x1cb58f[_0x1e8244(0x192)]=_0x4373ff[_0x1e8244(0x1c5)],this[_0x1e8244(0x21a)](_0x1cb58f),{'status':_0x1e8244(0x1f0),...this['candidateTuple']()};}const _0x37d8c1=readGeneration(this[_0x1e8244(0x24f)]),_0x548d7f={};_0x548d7f[_0x1e8244(0x316)]=_0x1e8244(0x199);if(_0x4cbbb6[_0x1e8244(0x26f)]===_0x1e8244(0x24a)&&_0x37d8c1?.[_0x1e8244(0x1c5)]===_0x4cbbb6[_0x1e8244(0x1c5)])throw Object['assign'](new Error(_0x1e8244(0x244)),_0x548d7f);if(_0x4cbbb6['type']===_0x1e8244(0x283)&&this[_0x1e8244(0x1ee)]?.[_0x1e8244(0x1c5)]===_0x4cbbb6[_0x1e8244(0x1c5)]&&this[_0x1e8244(0x1ee)][_0x1e8244(0x2a3)]&&this[_0x1e8244(0x1db)]?.[_0x1e8244(0x2a5)]){const _0x150809=this[_0x1e8244(0x224)](),_0x5b6c6e={};_0x5b6c6e[_0x1e8244(0x316)]=_0x1e8244(0x30d);if([_0x1e8244(0x226),'digest',_0x1e8244(0x2e3),_0x1e8244(0x2b1),_0x1e8244(0x234)][_0x1e8244(0x1eb)](_0xc177d5=>_0x150809[_0xc177d5]!==_0x4cbbb6[_0xc177d5]))throw Object[_0x1e8244(0x249)](new Error(_0x1e8244(0x28b)),_0x5b6c6e);const _0x5eddda=await this[_0x1e8244(0x223)](_0x1e8244(0x235)),_0xffb328={};_0xffb328[_0x1e8244(0x316)]=_0x1e8244(0x2ac);if(_0x5eddda['pid']!==_0x150809[_0x1e8244(0x1ad)]||_0x5eddda[_0x1e8244(0x2e3)]!==_0x150809['generation']||!same(_0x5eddda[_0x1e8244(0x24f)],this['workspace']))throw Object[_0x1e8244(0x249)](new Error(_0x1e8244(0x2d6)),_0xffb328);const _0x292977={'status':'candidate-ready',..._0x150809};return _0x292977;}this[_0x1e8244(0x30b)]=((async()=>{const _0x3c00c4=_0x1e8244;if(_0x4cbbb6[_0x3c00c4(0x26f)]===_0x3c00c4(0x1d2)){if(this[_0x3c00c4(0x1ee)]?.['transactionId']===_0x4cbbb6[_0x3c00c4(0x1c5)]&&this[_0x3c00c4(0x1ee)]['stopped']&&this['candidate']['prepared']&&!this[_0x3c00c4(0x1ee)]['restored'])return{'status':this['child']?.[_0x3c00c4(0x2a5)]?_0x3c00c4(0x247):_0x3c00c4(0x2f0),'code':this[_0x3c00c4(0x1db)]?.[_0x3c00c4(0x2a5)]?undefined:'CANDIDATE_NOT_READY','oldRuntimeStopped':!![],...this[_0x3c00c4(0x224)]()};if(this[_0x3c00c4(0x1ee)]?.[_0x3c00c4(0x1c5)]===_0x4cbbb6['transactionId']&&this['candidate'][_0x3c00c4(0x232)]&&!this['candidate'][_0x3c00c4(0x1d9)]&&!this[_0x3c00c4(0x1db)])return{'status':_0x3c00c4(0x232),'connectionId':this[_0x3c00c4(0x1b4)]};const _0x268f4d=await this[_0x3c00c4(0x1bf)]();if(_0x268f4d[_0x3c00c4(0x24c)])return{'status':'pending-safe-boundary','blockers':_0x268f4d};const _0x37a92f=await this['requestChild'](_0x3c00c4(0x235));this['candidate']={'transactionId':_0x4cbbb6[_0x3c00c4(0x1c5)],'previous':{'release':this[_0x3c00c4(0x295)],'generation':this['generation'],'resourceDigest':this[_0x3c00c4(0x2b1)],'state':_0x37a92f}},this['persistCandidate'](),await this[_0x3c00c4(0x27e)](_0x3c00c4(0x1c8)),this[_0x3c00c4(0x1ee)][_0x3c00c4(0x232)]=!![],this[_0x3c00c4(0x1c3)]();const _0x308685={};_0x308685[_0x3c00c4(0x2bb)]=_0x4cbbb6[_0x3c00c4(0x1c5)],this[_0x3c00c4(0x21a)](_0x308685);const _0xa1144={};return _0xa1144[_0x3c00c4(0x235)]=_0x3c00c4(0x232),_0xa1144['connectionId']=this[_0x3c00c4(0x1b4)],_0xa1144['shutdownEvidence']=this[_0x3c00c4(0x256)],_0xa1144;}if(_0x4cbbb6[_0x3c00c4(0x26f)]===_0x3c00c4(0x24a)){const _0x1eee12={};_0x1eee12[_0x3c00c4(0x316)]=_0x3c00c4(0x212);if(!this['candidate'])throw Object[_0x3c00c4(0x249)](new Error(_0x3c00c4(0x20e)),_0x1eee12);const _0x39fc67=this[_0x3c00c4(0x1ee)]['previous'],_0x446e06={};_0x446e06[_0x3c00c4(0x316)]='CHILD_OWNERSHIP_UNKNOWN';if(!_0x39fc67?.[_0x3c00c4(0x1c4)]||!this['candidate'][_0x3c00c4(0x232)])throw Object[_0x3c00c4(0x249)](new Error(_0x3c00c4(0x29a)),_0x446e06);if(this[_0x3c00c4(0x1db)])await this['stopChild']('workspace-rollback');await this[_0x3c00c4(0x1ed)](_0x39fc67[_0x3c00c4(0x295)],_0x39fc67['generation']);const _0x3442b5={};_0x3442b5[_0x3c00c4(0x316)]=_0x3c00c4(0x24d);if(this[_0x3c00c4(0x2b1)]!==_0x39fc67[_0x3c00c4(0x2b1)])throw Object['assign'](new Error(_0x3c00c4(0x2e7)),_0x3442b5);return await this[_0x3c00c4(0x1a3)](_0x39fc67[_0x3c00c4(0x1c4)]),this['release']=_0x39fc67[_0x3c00c4(0x295)],this[_0x3c00c4(0x1ee)]={...this[_0x3c00c4(0x1ee)],'restored':!![],'prepared':![]},this['persistCandidate'](),this[_0x3c00c4(0x1ac)]='pending-safe-boundary',this['admissionClosed']=![],this[_0x3c00c4(0x21a)](),{'status':_0x3c00c4(0x23d),'serving':this['child']?.[_0x3c00c4(0x2a5)]===!![],...this[_0x3c00c4(0x224)]()};}const _0x45b1ff={};_0x45b1ff[_0x3c00c4(0x316)]=_0x3c00c4(0x30d);if(!Number[_0x3c00c4(0x302)](_0x4cbbb6[_0x3c00c4(0x2e3)])||_0x4cbbb6[_0x3c00c4(0x2e3)]<=(this['candidate']?.[_0x3c00c4(0x276)]?.[_0x3c00c4(0x2e3)]??this[_0x3c00c4(0x2e3)])||_0x4cbbb6[_0x3c00c4(0x226)]!==_0x201720[_0x3c00c4(0x21f)]||_0x4cbbb6[_0x3c00c4(0x2c5)]!==_0x201720[_0x3c00c4(0x219)])throw Object['assign'](new Error('Candidate\x20target\x20does\x20not\x20match\x20transaction'),_0x45b1ff);const _0x422a91=_0x4cbbb6[_0x3c00c4(0x295)]||path[_0x3c00c4(0x1d0)](this[_0x3c00c4(0x2da)],_0x3c00c4(0x2d4),_0x4cbbb6[_0x3c00c4(0x226)]+'-'+_0x4cbbb6[_0x3c00c4(0x2c5)]),_0x50f6c2=verifyRelease(_0x422a91,this[_0x3c00c4(0x2f1)]),_0x4e6bda={};_0x4e6bda['code']=_0x3c00c4(0x30d);if(_0x50f6c2[_0x3c00c4(0x226)]!==_0x4cbbb6[_0x3c00c4(0x226)]||_0x50f6c2['digest']!==_0x4cbbb6[_0x3c00c4(0x2c5)])throw Object[_0x3c00c4(0x249)](new Error(_0x3c00c4(0x1d7)),_0x4e6bda);const _0x29acf5={};_0x29acf5[_0x3c00c4(0x316)]=_0x3c00c4(0x1c7);if(!this[_0x3c00c4(0x1ee)]?.[_0x3c00c4(0x232)]||this[_0x3c00c4(0x1ee)][_0x3c00c4(0x1c5)]!==_0x4cbbb6[_0x3c00c4(0x1c5)])throw Object[_0x3c00c4(0x249)](new Error(_0x3c00c4(0x291)),_0x29acf5);const _0x349375=this['candidate'][_0x3c00c4(0x276)]['state'];this[_0x3c00c4(0x1ee)][_0x3c00c4(0x295)]=_0x422a91;if(this[_0x3c00c4(0x1db)])await this[_0x3c00c4(0x27e)](_0x3c00c4(0x2ab));this[_0x3c00c4(0x1ee)][_0x3c00c4(0x2a3)]=![],this[_0x3c00c4(0x1c3)](),await this['boot'](_0x422a91,_0x4cbbb6[_0x3c00c4(0x2e3)]),await this[_0x3c00c4(0x1a3)](_0x349375);const _0x205a20={};_0x205a20['code']=_0x3c00c4(0x30d);if(this[_0x3c00c4(0x2b1)]!==_0x4cbbb6[_0x3c00c4(0x2b1)]||this[_0x3c00c4(0x2e4)]!==_0x4cbbb6[_0x3c00c4(0x234)])throw Object['assign'](new Error(_0x3c00c4(0x1ae)),_0x205a20);this[_0x3c00c4(0x1ee)][_0x3c00c4(0x2a3)]=!![],this[_0x3c00c4(0x1c3)](),this[_0x3c00c4(0x1ac)]='pending-safe-boundary';const _0x306a09={};return _0x306a09[_0x3c00c4(0x2ce)]=_0x4cbbb6[_0x3c00c4(0x1c5)],this[_0x3c00c4(0x21a)](_0x306a09),{'status':'candidate-ready',...this[_0x3c00c4(0x224)]()};})());try{return await this[_0x1e8244(0x30b)];}finally{this[_0x1e8244(0x30b)]=null;}}async[_0x3d9760(0x26b)](){const _0x23a45e=_0x3d9760,_0xe755cb={};return _0xe755cb[_0x23a45e(0x235)]=_0x23a45e(0x270),_0xe755cb['code']=_0x23a45e(0x264),_0xe755cb;}async[_0x3d9760(0x2a4)](_0x10cdc4,_0x1dca49,_0xec67f8){const _0x49972b=_0x3d9760;if(this[_0x49972b(0x1db)]!==_0x10cdc4)return;_0x10cdc4[_0x49972b(0x1dd)]=!![],_0x10cdc4['ready']=![];const _0x1aad4e={};_0x1aad4e[_0x49972b(0x316)]=_0x49972b(0x260),_0x10cdc4[_0x49972b(0x2fa)]?.(Object[_0x49972b(0x249)](new Error('Runtime\x20child\x20closed'),_0x1aad4e));for(const [_0x5eb45a]of this[_0x49972b(0x2c7)]){try{const _0x1d8f4c={};_0x1d8f4c[_0x49972b(0x316)]=-0x7d02,_0x1d8f4c['message']=_0x49972b(0x29d),this[_0x49972b(0x296)]({'jsonrpc':_0x49972b(0x1fc),'id':JSON['parse'](_0x5eb45a),'error':_0x1d8f4c});}catch{}}this['pending']['clear']();try{const _0x47a7a5={};_0x47a7a5['reason']=_0x49972b(0x217),_0x47a7a5[_0x49972b(0x321)]=0x3e8,_0x10cdc4[_0x49972b(0x2b9)]||=stopOwnedChild(_0x10cdc4,_0x47a7a5);const _0x6dd7bf=await _0x10cdc4[_0x49972b(0x2b9)];_0x10cdc4[_0x49972b(0x256)]||={..._0x6dd7bf,'registeredOwnersStopped':_0x10cdc4[_0x49972b(0x279)]===!![]};}catch(_0x4344b6){this[_0x49972b(0x1ac)]=_0x49972b(0x236),this[_0x49972b(0x198)]=!![];const _0x1b8f14={};_0x1b8f14[_0x49972b(0x2f5)]=_0xec67f8||_0x1dca49||_0x49972b(0x1fb),_0x1b8f14[_0x49972b(0x20c)]=_0x4344b6[_0x49972b(0x316)]||_0x49972b(0x2d9),this['record'](_0x1b8f14);return;}if(this[_0x49972b(0x1db)]!==_0x10cdc4)return;if(process[_0x49972b(0x2c3)]!=='win32'&&!_0x10cdc4['shutdownAcknowledged']){this[_0x49972b(0x1ac)]='legacy-ownership-unverified',this['admissionClosed']=!![];const _0x535712={};_0x535712['stopReason']=_0xec67f8||_0x1dca49||_0x49972b(0x1fb),_0x535712[_0x49972b(0x20c)]='PROCESS_TREE_STOP_UNCONFIRMED',this[_0x49972b(0x21a)](_0x535712);return;}this['shutdownEvidence']=_0x10cdc4[_0x49972b(0x256)],this['child']=null;if(!this[_0x49972b(0x30b)]&&!this[_0x49972b(0x232)]){this[_0x49972b(0x317)]=null,this['initialized']=![],this[_0x49972b(0x1ac)]=_0x49972b(0x270),this[_0x49972b(0x198)]=!![];const _0x1c5134={};_0x1c5134['stopReason']=_0xec67f8||_0x1dca49||'child-closed',this[_0x49972b(0x21a)](_0x1c5134);}}[_0x3d9760(0x296)](_0x4bf079){const _0x2098e3=_0x3d9760;this[_0x2098e3(0x1f9)][_0x2098e3(0x1ec)](JSON[_0x2098e3(0x332)](_0x4bf079)+'\x0a');}async[_0x3d9760(0x215)](_0x176d1c=_0x3d9760(0x32b)){const _0x2aa599=_0x3d9760;if(this[_0x2aa599(0x1dd)])return;if(this[_0x2aa599(0x1f1)])return this[_0x2aa599(0x1f1)];this[_0x2aa599(0x198)]=!![],clearTimeout(this[_0x2aa599(0x1fa)]),this[_0x2aa599(0x1f1)]=((async()=>{const _0x3d36f5=_0x2aa599;try{if(this[_0x3d36f5(0x1db)])await this[_0x3d36f5(0x27e)](_0x176d1c);closeMember(this[_0x3d36f5(0x24f)],this[_0x3d36f5(0x1b4)],process[_0x3d36f5(0x204)],!![]),this[_0x3d36f5(0x232)]=!![],this[_0x3d36f5(0x1a6)]=_0x176d1c,require('./registration-closure')[_0x3d36f5(0x1e5)](this),await new Promise(_0x240099=>this['listener']?.['close'](_0x240099)||_0x240099()),this[_0x3d36f5(0x1ac)]=_0x3d36f5(0x2f6);const _0x5d163f={};_0x5d163f[_0x3d36f5(0x2f5)]=_0x176d1c,this['record'](_0x5d163f);try{fs[_0x3d36f5(0x286)](this[_0x3d36f5(0x32e)]);}catch{}if(process[_0x3d36f5(0x2c3)]!==_0x3d36f5(0x195))try{fs[_0x3d36f5(0x286)](this[_0x3d36f5(0x2ef)]);}catch{}this[_0x3d36f5(0x1dd)]=!![];}catch(_0x5554b8){this[_0x3d36f5(0x1ac)]=_0x3d36f5(0x236);const _0x5b3818={};_0x5b3818[_0x3d36f5(0x2f5)]=_0x176d1c,_0x5b3818['blocker']=_0x5554b8[_0x3d36f5(0x316)]||_0x3d36f5(0x1c7),this[_0x3d36f5(0x21a)](_0x5b3818);throw _0x5554b8;}})());try{return await this[_0x2aa599(0x1f1)];}finally{this[_0x2aa599(0x1f1)]=null;}}}const _0x1d9c49={};_0x1d9c49[_0x3d9760(0x2d2)]=ConnectionSupervisor,module[_0x3d9760(0x324)]=_0x1d9c49;
@@ -1 +1 @@
1
- 'use strict';function _0x2e55(_0x4f0553,_0x55c1b5){_0x4f0553=_0x4f0553-0x1d1;const _0x5958df=_0x5958();let _0x2e558f=_0x5958df[_0x4f0553];if(_0x2e55['dbZIWQ']===undefined){var _0xb951c2=function(_0x564c45){const _0x11fc7c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x20d42d='',_0x14b869='';for(let _0x199765=0x0,_0x94c3aa,_0x10cc65,_0x4c6199=0x0;_0x10cc65=_0x564c45['charAt'](_0x4c6199++);~_0x10cc65&&(_0x94c3aa=_0x199765%0x4?_0x94c3aa*0x40+_0x10cc65:_0x10cc65,_0x199765++%0x4)?_0x20d42d+=String['fromCharCode'](0xff&_0x94c3aa>>(-0x2*_0x199765&0x6)):0x0){_0x10cc65=_0x11fc7c['indexOf'](_0x10cc65);}for(let _0x3e4fb2=0x0,_0x217d75=_0x20d42d['length'];_0x3e4fb2<_0x217d75;_0x3e4fb2++){_0x14b869+='%'+('00'+_0x20d42d['charCodeAt'](_0x3e4fb2)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x14b869);};_0x2e55['qbAlUF']=_0xb951c2,_0x2e55['qyyRTK']={},_0x2e55['dbZIWQ']=!![];}const _0x3cfcdc=_0x5958df[0x0],_0x2269c7=_0x4f0553+_0x3cfcdc,_0x59657c=_0x2e55['qyyRTK'][_0x2269c7];return!_0x59657c?(_0x2e558f=_0x2e55['qbAlUF'](_0x2e558f),_0x2e55['qyyRTK'][_0x2269c7]=_0x2e558f):_0x2e558f=_0x59657c,_0x2e558f;}const _0x37b6d3=_0x2e55;(function(_0x28596a,_0x115269){const _0x1b46f4=_0x2e55,_0x40a96b=_0x28596a();while(!![]){try{const _0x5b8b27=parseInt(_0x1b46f4(0x233))/0x1+parseInt(_0x1b46f4(0x21a))/0x2*(-parseInt(_0x1b46f4(0x21d))/0x3)+-parseInt(_0x1b46f4(0x20b))/0x4*(-parseInt(_0x1b46f4(0x210))/0x5)+-parseInt(_0x1b46f4(0x20f))/0x6+-parseInt(_0x1b46f4(0x1ff))/0x7+parseInt(_0x1b46f4(0x23d))/0x8*(parseInt(_0x1b46f4(0x1e8))/0x9)+parseInt(_0x1b46f4(0x226))/0xa*(parseInt(_0x1b46f4(0x237))/0xb);if(_0x5b8b27===_0x115269)break;else _0x40a96b['push'](_0x40a96b['shift']());}catch(_0x277dd9){_0x40a96b['push'](_0x40a96b['shift']());}}}(_0x5958,0xdf0a6));const fs=require(_0x37b6d3(0x230)),path=require(_0x37b6d3(0x1e5)),crypto=require(_0x37b6d3(0x243)),{containsWorkspace,sameWorkspace}=require(_0x37b6d3(0x1d6)),{ResourceTransaction,resourceContractDigest}=require(_0x37b6d3(0x205)),hash=_0x284a15=>crypto[_0x37b6d3(0x242)](_0x37b6d3(0x241))[_0x37b6d3(0x1e7)](_0x284a15)[_0x37b6d3(0x1d3)](_0x37b6d3(0x221));class DeploymentDraft{constructor(_0x27f830){const _0x189721=_0x37b6d3;this[_0x189721(0x1ee)]=fs[_0x189721(0x22e)](_0x27f830),this[_0x189721(0x232)]=new Map(),this[_0x189721(0x1db)]=new Map(),this[_0x189721(0x1ea)]=new Set();const _0x43fe07={};_0x43fe07[_0x189721(0x225)]=()=>!![],_0x43fe07[_0x189721(0x219)]=()=>![];const _0x40dcf0={};_0x40dcf0[_0x189721(0x225)]=()=>![],_0x40dcf0[_0x189721(0x219)]=()=>!![],this['fs']={'existsSync':_0xe9023a=>this['exists'](_0xe9023a),'readFileSync':(_0x1b523a,_0x18cb0c)=>this[_0x189721(0x20e)](_0x1b523a,_0x18cb0c),'writeFileSync':(_0x5c1d21,_0x37b10a,_0x1ca2b5)=>this[_0x189721(0x1e9)](_0x5c1d21,_0x37b10a,_0x1ca2b5),'appendFileSync':(_0x35f188,_0xde2b64)=>this[_0x189721(0x1e9)](_0x35f188,Buffer['concat']([this[_0x189721(0x1ef)](_0x35f188)?this[_0x189721(0x20e)](_0x35f188):Buffer[_0x189721(0x1d7)](0x0),Buffer[_0x189721(0x207)](_0xde2b64)])),'copyFileSync':(_0x187161,_0x33bf90)=>this[_0x189721(0x1e9)](_0x33bf90,this[_0x189721(0x20e)](_0x187161)),'renameSync':(_0x3025df,_0x5b3511)=>{const _0xe52549=_0x189721;this[_0xe52549(0x1e9)](_0x5b3511,this[_0xe52549(0x20e)](_0x3025df)),this[_0xe52549(0x21b)](_0x3025df);},'unlinkSync':_0x3ee2dc=>this[_0x189721(0x21b)](_0x3ee2dc),'mkdirSync':_0x3bd6f0=>this[_0x189721(0x1ea)][_0x189721(0x202)](this[_0x189721(0x240)](_0x3bd6f0)),'rmdirSync':_0x14fc20=>this['directories']['delete'](this[_0x189721(0x240)](_0x14fc20)),'statSync':_0x562e72=>this[_0x189721(0x232)][_0x189721(0x215)](path['resolve'](_0x562e72))&&this[_0x189721(0x232)]['get'](path['resolve'](_0x562e72))!==null?_0x43fe07:this[_0x189721(0x1ea)][_0x189721(0x215)](path[_0x189721(0x223)](_0x562e72))?_0x40dcf0:fs[_0x189721(0x20a)](_0x562e72),'readdirSync':_0x41643e=>this[_0x189721(0x22a)](_0x41643e),'realpathSync':_0x5ae1d5=>fs['realpathSync'](_0x5ae1d5)};}[_0x37b6d3(0x240)](_0x31845d){const _0x47e715=_0x37b6d3,_0x2ec42b=path[_0x47e715(0x223)](_0x31845d),_0x346058=path[_0x47e715(0x23a)](this[_0x47e715(0x1ee)],_0x2ec42b);let _0x3072dc=_0x2ec42b;while(!fs[_0x47e715(0x1e4)](_0x3072dc)&&path[_0x47e715(0x22f)](_0x3072dc)!==_0x3072dc)_0x3072dc=path['dirname'](_0x3072dc);const _0x15d6b1={};_0x15d6b1[_0x47e715(0x1f1)]='RESOURCE_PATH_ESCAPE';if(_0x346058==='..'||_0x346058[_0x47e715(0x218)]('..'+path['sep'])||path['isAbsolute'](_0x346058)||!sameWorkspace(_0x3072dc,this[_0x47e715(0x1ee)])&&!containsWorkspace(this[_0x47e715(0x1ee)],_0x3072dc))throw Object['assign'](new Error(_0x47e715(0x1fc)),_0x15d6b1);return _0x2ec42b;}[_0x37b6d3(0x1ef)](_0x4b4cfc){const _0x5dc779=_0x37b6d3;_0x4b4cfc=path[_0x5dc779(0x223)](_0x4b4cfc);if(this[_0x5dc779(0x232)][_0x5dc779(0x215)](_0x4b4cfc))return this[_0x5dc779(0x232)][_0x5dc779(0x1f7)](_0x4b4cfc)!==null;return this[_0x5dc779(0x1ea)]['has'](_0x4b4cfc)||fs['existsSync'](_0x4b4cfc);}[_0x37b6d3(0x1e3)](_0x31e252){const _0x2cd5d9=_0x37b6d3;if(this['originals']['has'](_0x31e252))return;try{this[_0x2cd5d9(0x1db)][_0x2cd5d9(0x235)](_0x31e252,fs[_0x2cd5d9(0x1f0)](_0x31e252));}catch(_0x4d5ec6){if(_0x4d5ec6[_0x2cd5d9(0x1f1)]===_0x2cd5d9(0x212))this['originals']['set'](_0x31e252,null);else throw _0x4d5ec6;}}['read'](_0x5c614e,_0x29ac49){const _0x564f04=_0x37b6d3;_0x5c614e=path[_0x564f04(0x223)](_0x5c614e);let _0x12f456;if(this['files'][_0x564f04(0x215)](_0x5c614e))_0x12f456=this['files'][_0x564f04(0x1f7)](_0x5c614e);else{_0x12f456=fs[_0x564f04(0x1f0)](_0x5c614e);const _0x2a6339=path['relative'](this[_0x564f04(0x1ee)],_0x5c614e);if(_0x2a6339&&_0x2a6339!=='..'&&!_0x2a6339[_0x564f04(0x218)]('..'+path['sep'])&&!path[_0x564f04(0x1e0)](_0x2a6339)&&!this[_0x564f04(0x1db)][_0x564f04(0x215)](_0x5c614e))this['originals'][_0x564f04(0x235)](_0x5c614e,Buffer['from'](_0x12f456));}const _0x4a612d={};_0x4a612d[_0x564f04(0x1f1)]=_0x564f04(0x212);if(_0x12f456===null)throw Object['assign'](new Error('Draft\x20file\x20has\x20been\x20removed'),_0x4a612d);const _0x5f38cf=typeof _0x29ac49===_0x564f04(0x1df)?_0x29ac49:_0x29ac49?.[_0x564f04(0x1f5)];return _0x5f38cf?_0x12f456[_0x564f04(0x1d5)](_0x5f38cf):Buffer['from'](_0x12f456);}['write'](_0x330e3c,_0x3f6cdc,_0x51d2b9){const _0x2ce5c9=_0x37b6d3;_0x330e3c=this[_0x2ce5c9(0x240)](_0x330e3c);const _0x3e9ac9={};_0x3e9ac9[_0x2ce5c9(0x1f1)]=_0x2ce5c9(0x200);if(_0x51d2b9?.['flag']==='wx'&&this['exists'](_0x330e3c))throw Object[_0x2ce5c9(0x1dd)](new Error(_0x2ce5c9(0x22d)),_0x3e9ac9);this[_0x2ce5c9(0x1e3)](_0x330e3c),this[_0x2ce5c9(0x232)][_0x2ce5c9(0x235)](_0x330e3c,Buffer[_0x2ce5c9(0x207)](_0x3f6cdc)),this[_0x2ce5c9(0x1ea)]['add'](path[_0x2ce5c9(0x22f)](_0x330e3c));}[_0x37b6d3(0x21b)](_0x4c6d24){const _0x40af42=_0x37b6d3;_0x4c6d24=this[_0x40af42(0x240)](_0x4c6d24),this[_0x40af42(0x1e3)](_0x4c6d24),this['files'][_0x40af42(0x235)](_0x4c6d24,null);}['entries'](_0x276eea){const _0x5edeaf=_0x37b6d3;_0x276eea=path['resolve'](_0x276eea);let _0x4aea74;try{_0x4aea74=new Set(fs[_0x5edeaf(0x227)](_0x276eea));}catch(_0x13e742){if(_0x13e742['code']===_0x5edeaf(0x212))_0x4aea74=new Set();else throw _0x13e742;}for(const [_0x1312d8,_0x50cf69]of this[_0x5edeaf(0x232)])if(path['dirname'](_0x1312d8)===_0x276eea){if(_0x50cf69===null)_0x4aea74['delete'](path['basename'](_0x1312d8));else _0x4aea74[_0x5edeaf(0x202)](path[_0x5edeaf(0x208)](_0x1312d8));}for(const _0x5b0389 of this[_0x5edeaf(0x1ea)])if(path[_0x5edeaf(0x22f)](_0x5b0389)===_0x276eea)_0x4aea74[_0x5edeaf(0x202)](path['basename'](_0x5b0389));return[..._0x4aea74];}[_0x37b6d3(0x214)](){const _0x697dda=_0x37b6d3;return[...this[_0x697dda(0x232)]][_0x697dda(0x1d8)](([_0x4c33a4,_0x283a5c])=>{const _0x3e6a87=_0x697dda,_0x1335c0=this[_0x3e6a87(0x1db)]['get'](_0x4c33a4);return _0x283a5c===null?_0x1335c0!==null:_0x1335c0===null||!_0x283a5c[_0x3e6a87(0x1d4)](_0x1335c0);})['map'](([_0x1e51d4,_0x60c3d])=>({'path':path[_0x697dda(0x23a)](this[_0x697dda(0x1ee)],_0x1e51d4)['replaceAll']('\x5c','/'),'type':_0x60c3d===null?_0x697dda(0x234):_0x697dda(0x1da),'bytes':_0x60c3d,'managedHash':this[_0x697dda(0x1db)]['get'](_0x1e51d4)===null?null:hash(this[_0x697dda(0x1db)]['get'](_0x1e51d4))}));}}function renderProject(_0x54300c){const _0x45df73=_0x37b6d3,_0x36e6db=new DeploymentDraft(_0x54300c[_0x45df73(0x236)]),_0x5429dd={};_0x5429dd[_0x45df73(0x204)]=[];const _0x114961={..._0x54300c,'fileSystem':_0x36e6db['fs'],'preparation':!![],..._0x54300c[_0x45df73(0x231)]?_0x5429dd:{}},_0x417dcf=require('./project-setup')[_0x45df73(0x1d1)](_0x114961),_0xbf0062=path['join'](_0x36e6db[_0x45df73(0x1ee)],_0x45df73(0x1f8),_0x45df73(0x244)),_0x4eb914=_0x36e6db[_0x45df73(0x214)]();if(_0x4eb914[_0x45df73(0x22b)](_0x34ecfd=>_0x34ecfd[_0x45df73(0x23c)]===_0x45df73(0x1dc))&&fs[_0x45df73(0x1e4)](_0xbf0062)){const _0x130ecb=fs[_0x45df73(0x1f0)](_0xbf0062),_0x2f659a=_0x3fda5b=>{const {deployedAt:_0x41e477,previousVersion:_0x52fc22,contextMigrations:_0x26a158,..._0x14871e}=_0x3fda5b;return _0x14871e;},_0x14b222=JSON[_0x45df73(0x1d2)](_0x130ecb);require(_0x45df73(0x228))[_0x45df73(0x1e2)](_0x2f659a(_0x14b222),_0x2f659a(_0x417dcf['manifest']))&&!_0x417dcf['manifest'][_0x45df73(0x211)][_0x45df73(0x203)]&&(_0x36e6db['fs']['writeFileSync'](_0xbf0062,_0x130ecb),_0x417dcf[_0x45df73(0x21c)]=_0x14b222);}const _0x6142d9=_0x54300c['forceRecover']?new Set((_0x417dcf['manifest']['files']||[])[_0x45df73(0x1d8)](_0x396f98=>typeof _0x396f98===_0x45df73(0x1df))):new Set(),_0x1714bd=_0x36e6db[_0x45df73(0x214)]()[_0x45df73(0x23b)](_0x4e69fd=>{const _0x39c7ac=_0x45df73;if(!_0x6142d9[_0x39c7ac(0x215)](_0x4e69fd[_0x39c7ac(0x23c)]))return _0x4e69fd;const _0x333db9=path[_0x39c7ac(0x21e)](_0x36e6db['workspace'],_0x4e69fd[_0x39c7ac(0x23c)]);let _0x23855f=null;try{_0x23855f=hash(fs[_0x39c7ac(0x1f0)](_0x333db9));}catch(_0x5e1fa4){if(_0x5e1fa4['code']!=='ENOENT')throw _0x5e1fa4;}const _0x4fd1f2={..._0x4e69fd};return _0x4fd1f2['managedHash']=_0x23855f,_0x4fd1f2;}),_0x1014cd={};return _0x1014cd[_0x45df73(0x1ed)]=_0x36e6db,_0x1014cd[_0x45df73(0x20c)]=_0x417dcf,_0x1014cd[_0x45df73(0x1fd)]=_0x6142d9,_0x1014cd[_0x45df73(0x214)]=_0x1714bd,_0x1014cd;}function prepareProject(_0x55952f){const _0x204c8f=_0x37b6d3,{draft:_0x22d7ae,deployment:_0x24ee4b,forcePaths:_0x43e0be,changes:_0x539fd4}=renderProject(_0x55952f),_0x1b145c={};_0x1b145c[_0x204c8f(0x20d)]=_0x55952f[_0x204c8f(0x20d)];const _0x778075=ResourceTransaction[_0x204c8f(0x216)](_0x22d7ae[_0x204c8f(0x1ee)],_0x539fd4,_0x1b145c);if(_0x55952f[_0x204c8f(0x1e6)])_0x778075['plan'][_0x204c8f(0x1fd)]=[..._0x43e0be][_0x204c8f(0x209)]();else{for(const _0x2ec4f5 of _0x24ee4b[_0x204c8f(0x21c)][_0x204c8f(0x1fb)])_0x778075['plan'][_0x204c8f(0x206)][_0x204c8f(0x238)]({'path':_0x2ec4f5,'code':_0x204c8f(0x213),'required':!![]});}_0x778075[_0x204c8f(0x1f4)][_0x204c8f(0x239)]=resourceContractDigest(_0x778075['plan']),_0x778075[_0x204c8f(0x245)]();const _0x385d2c=null,_0xf607ba={};_0xf607ba[_0x204c8f(0x1f6)]='not-required',_0xf607ba[_0x204c8f(0x222)]=[];const _0x24c60c=_0xf607ba,_0x48d074={};return _0x48d074['resourcePlan']=_0x778075,_0x48d074[_0x204c8f(0x23f)]=_0x385d2c,_0x48d074[_0x204c8f(0x1f2)]=_0x24c60c,_0x48d074[_0x204c8f(0x20c)]=_0x24ee4b,_0x48d074[_0x204c8f(0x1de)]=_0x55952f[_0x204c8f(0x22c)]===!![],_0x48d074;}function verifyPreparedProject(_0x45d915,_0x565ff6){const _0x33d557=_0x37b6d3,_0x392a9a=_0x565ff6 instanceof ResourceTransaction?_0x565ff6:new ResourceTransaction(_0x565ff6),_0x159ac1=require(_0x33d557(0x205))[_0x33d557(0x229)](_0x392a9a[_0x33d557(0x1e1)]);if(_0x159ac1['contractMismatch']||_0x392a9a[_0x33d557(0x1f4)]['status']!=='prepared'||_0x159ac1[_0x33d557(0x22a)][_0x33d557(0x23e)](_0x54739a=>_0x54739a['status']!==_0x33d557(0x201)||_0x54739a[_0x33d557(0x1f3)]!==_0x33d557(0x1ec))||_0x392a9a[_0x33d557(0x1f4)]['conflicts'][_0x33d557(0x23e)](_0x3fc9e5=>_0x3fc9e5[_0x33d557(0x21f)])||!sameWorkspace(_0x392a9a['plan']['workspace'],_0x45d915[_0x33d557(0x236)]))return![];const {changes:_0x4a4041,forcePaths:_0x412229}=renderProject(_0x45d915);if(_0x4a4041[_0x33d557(0x203)]!==_0x392a9a[_0x33d557(0x1f4)][_0x33d557(0x1d9)][_0x33d557(0x203)]||!require(_0x33d557(0x228))[_0x33d557(0x1e2)](_0x392a9a[_0x33d557(0x1f4)]['forcePaths']||[],_0x45d915[_0x33d557(0x1e6)]?[..._0x412229][_0x33d557(0x209)]():[]))return![];const _0x42a37e=new Map(_0x4a4041['map'](_0x71244a=>[_0x71244a[_0x33d557(0x23c)],_0x71244a]));for(const _0xd69a7d of _0x392a9a[_0x33d557(0x1f4)][_0x33d557(0x1d9)]){const _0x416f90=_0x42a37e['get'](_0xd69a7d[_0x33d557(0x23c)]);if(!_0x416f90||_0xd69a7d['type']!==_0x416f90[_0x33d557(0x220)]||_0xd69a7d[_0x33d557(0x217)]!==_0x416f90['managedHash'])return![];if(_0xd69a7d[_0x33d557(0x220)]===_0x33d557(0x234))continue;const _0x5a91ea=fs[_0x33d557(0x1f0)](path[_0x33d557(0x21e)](_0x392a9a[_0x33d557(0x1e1)],_0xd69a7d['stage']));if(_0xd69a7d['path']!==_0x33d557(0x1dc)){if(!_0x5a91ea[_0x33d557(0x1d4)](_0x416f90[_0x33d557(0x1f3)]))return![];}else{const _0x3d4bb3=JSON[_0x33d557(0x1d2)](_0x5a91ea),_0x4c067e=JSON[_0x33d557(0x1d2)](_0x416f90[_0x33d557(0x1f3)]);if(typeof _0x3d4bb3[_0x33d557(0x1fa)]!==_0x33d557(0x1df)||!Number['isFinite'](Date['parse'](_0x3d4bb3['deployedAt'])))return![];delete _0x3d4bb3['deployedAt'],delete _0x4c067e['deployedAt'];if(!require(_0x33d557(0x228))[_0x33d557(0x1e2)](_0x3d4bb3,_0x4c067e))return![];}}return!![];}function _0x5958(){const _0x21903d=['AxneAxjLy3rVCNK','mJm4mJa2mK9rsNnisq','CMvTB3zL','BwfUAwzLC3q','m2rzExbJvG','AM9PBG','CMvXDwLYzwq','DhLWzq','Agv4','yMXVy2TLCNm','CMvZB2X2zq','ChjLCgfYzvbYB2PLy3q','AxngAwXL','mtKWtw5Qq2Hs','CMvHzgrPCLn5BMm','BM9KztP1DgLS','Aw5ZCgvJDfbYzxbHCMvKugXHBG','zw50CMLLCW','zxzLCNK','CMvIDwLSzeLUzgv4','rhjHzNqGzMLSzsbLEgLZDhm','CMvHBhbHDgHtEw5J','zgLYBMfTzq','BM9KztPMCW','CMvNAxn0CMf0Aw9Usg9ZDhm','zMLSzxm','odmZmJmZtMThq055','zgvSzxrL','C2v0','ChjVAMvJDfbHDgG','mte0nZGXn2jlAKD1CG','ChvZAa','y29UDhjHy3reAwDLC3q','CMvSyxrPDMu','BwfW','Cgf0Aa','mtyZotu4ngLgsLnLta','C29Tzq','CMvNAxn0CMf0Aw9UugXHBG','D3jPDgfIBgu','C2HHmJu2','y3jLyxrLsgfZAa','BM9KztPJCNLWDg8','BwfUAwzLC3qUANnVBG','C2f2zq','zgvWBg95uhjVAMvJDa','CgfYC2u','zgLNzxn0','zxf1ywXZ','Dg9tDhjPBMC','lI4Vy29Yzs93B3jRC3bHy2uTCgf0Aa','ywXSB2m','zMLSDgvY','B3bLCMf0Aw9UCW','CMvWBgfJzq','B3jPz2LUywXZ','lMfNzw50CY9Tyw5PzMvZDc5QC29U','yxnZAwDU','Aw5KzxHszxf1zxn0zwq','C3rYAw5N','AxnbyNnVBhv0zq','zgLYzwn0B3j5','AxnezwvWu3rYAwn0rxf1ywW','CMvTzw1Izxi','zxHPC3rZu3LUyW','BM9KztPWyxrO','zM9Yy2vszwnVDMvY','DxbKyxrL','mZzZENHqwwC','D3jPDgu','zgLYzwn0B3jPzxm','rgvWBg95BwvUDerYywz0','B3jPz2LUywW','zhjHzNq','D29YA3nWywnL','zxHPC3rZ','CMvHzezPBgvtEw5J','y29Kzq','CMvNAxn0CMf0Aw9UtwLNCMf0Aw9U','yNL0zxm','CgXHBG','zw5JB2rPBMC','C3rHDhvZ','z2v0','lMfNzw50CW','DMvYAwz5uhjLCgfYzwrqCM9Qzwn0','zgvWBg95zwrbDa','CgvUzgLUz1vWzgf0zxm','rgvWBg95BwvUDcbKCMfMDcbWyxrOigvZy2fWzxmGChjVAMvJDa','zM9Yy2vqyxrOCW','zxHWB3j0CW','nJqWntGXouHyrNDYAW','ruvysvnu','ChjLCgfYzwq','ywrK','BgvUz3rO','BwnWq29UzMLNvgfYz2v0CW','lI4Vy29Yzs9YzxnVDxjJzs10CMfUC2fJDgLVBG','y29UzMXPy3rZ','zNjVBq','yMfZzw5HBwu','C29YDa','C3rHDfn5BMm','nhrWBKvHuq','zgvWBg95BwvUDa','DhjHBNnHy3rPB25jza','CMvHza','mtaXnJyWndzSu0riDNe','ntm5mJiYnvvJtxfOBq','y29UDgv4De1Pz3jHDgLVBNm','ru5pru5u','uKvtt1vsq0vFq1vtve9nx0nptKzmsunu','y2HHBMDLCW','AgfZ','ChjLCgfYzq','B2XKsgfZAa','C3rHCNrZv2L0Aa'];_0x5958=function(){return _0x21903d;};return _0x5958();}const _0x599cc8={};_0x599cc8[_0x37b6d3(0x1eb)]=DeploymentDraft,_0x599cc8[_0x37b6d3(0x224)]=prepareProject,_0x599cc8[_0x37b6d3(0x1f9)]=verifyPreparedProject,module[_0x37b6d3(0x1fe)]=_0x599cc8;
1
+ 'use strict';const _0x4a106d=_0x434d;(function(_0x15df50,_0x45fdbf){const _0x119688=_0x434d,_0x512894=_0x15df50();while(!![]){try{const _0xf75c65=-parseInt(_0x119688(0x11c))/0x1+parseInt(_0x119688(0x11f))/0x2+-parseInt(_0x119688(0x11b))/0x3+parseInt(_0x119688(0xec))/0x4+-parseInt(_0x119688(0x10f))/0x5+-parseInt(_0x119688(0x139))/0x6+parseInt(_0x119688(0x113))/0x7*(parseInt(_0x119688(0x108))/0x8);if(_0xf75c65===_0x45fdbf)break;else _0x512894['push'](_0x512894['shift']());}catch(_0x215a08){_0x512894['push'](_0x512894['shift']());}}}(_0x34c1,0x2b0f9));const fs=require(_0x4a106d(0x120)),path=require(_0x4a106d(0x118)),crypto=require('node:crypto'),{containsWorkspace,sameWorkspace}=require(_0x4a106d(0xe1)),{ResourceTransaction,resourceContractDigest}=require(_0x4a106d(0xe0)),hash=_0x5b1061=>crypto[_0x4a106d(0x11e)](_0x4a106d(0xf3))[_0x4a106d(0xf5)](_0x5b1061)['digest'](_0x4a106d(0xfb));class DeploymentDraft{constructor(_0x5277f8){const _0xb2d152=_0x4a106d;this[_0xb2d152(0x140)]=fs[_0xb2d152(0x102)](_0x5277f8),this[_0xb2d152(0x147)]=new Map(),this['originals']=new Map(),this[_0xb2d152(0xef)]=new Set();const _0x14fe5d={};_0x14fe5d[_0xb2d152(0x122)]=()=>!![],_0x14fe5d[_0xb2d152(0xf1)]=()=>![];const _0x392ac8={};_0x392ac8[_0xb2d152(0x122)]=()=>![],_0x392ac8['isDirectory']=()=>!![],this['fs']={'existsSync':_0x42df4f=>this[_0xb2d152(0x142)](_0x42df4f),'readFileSync':(_0x2c1904,_0x3a1268)=>this[_0xb2d152(0x146)](_0x2c1904,_0x3a1268),'writeFileSync':(_0x395078,_0x2987ba,_0x2b4cdd)=>this[_0xb2d152(0x135)](_0x395078,_0x2987ba,_0x2b4cdd),'appendFileSync':(_0x470ee2,_0x49953d)=>this[_0xb2d152(0x135)](_0x470ee2,Buffer['concat']([this[_0xb2d152(0x142)](_0x470ee2)?this['read'](_0x470ee2):Buffer[_0xb2d152(0xe6)](0x0),Buffer['from'](_0x49953d)])),'copyFileSync':(_0x2b485e,_0x7f97e1)=>this['write'](_0x7f97e1,this[_0xb2d152(0x146)](_0x2b485e)),'renameSync':(_0x1988b2,_0x3cfaa2)=>{const _0x5a90eb=_0xb2d152;this['write'](_0x3cfaa2,this[_0x5a90eb(0x146)](_0x1988b2)),this[_0x5a90eb(0x12f)](_0x1988b2);},'unlinkSync':_0x28220d=>this['remove'](_0x28220d),'mkdirSync':_0x1f6047=>this[_0xb2d152(0xef)][_0xb2d152(0xf6)](this[_0xb2d152(0x106)](_0x1f6047)),'rmdirSync':_0x152d8c=>this['directories'][_0xb2d152(0x10d)](this[_0xb2d152(0x106)](_0x152d8c)),'statSync':_0x3798c4=>this[_0xb2d152(0x147)][_0xb2d152(0x112)](path[_0xb2d152(0x123)](_0x3798c4))&&this[_0xb2d152(0x147)][_0xb2d152(0x141)](path['resolve'](_0x3798c4))!==null?_0x14fe5d:this[_0xb2d152(0xef)][_0xb2d152(0x112)](path[_0xb2d152(0x123)](_0x3798c4))?_0x392ac8:fs['statSync'](_0x3798c4),'readdirSync':_0x51de14=>this[_0xb2d152(0x13d)](_0x51de14),'realpathSync':_0x1d2ffb=>fs[_0xb2d152(0x102)](_0x1d2ffb)};}[_0x4a106d(0x106)](_0x19934c){const _0x1898e5=_0x4a106d,_0x47b93c=path[_0x1898e5(0x123)](_0x19934c),_0x536611=path['relative'](this[_0x1898e5(0x140)],_0x47b93c);let _0x99fd85=_0x47b93c;while(!fs[_0x1898e5(0x12a)](_0x99fd85)&&path[_0x1898e5(0xe3)](_0x99fd85)!==_0x99fd85)_0x99fd85=path[_0x1898e5(0xe3)](_0x99fd85);const _0x44003e={};_0x44003e['code']='RESOURCE_PATH_ESCAPE';if(_0x536611==='..'||_0x536611[_0x1898e5(0xeb)]('..'+path[_0x1898e5(0x117)])||path[_0x1898e5(0x127)](_0x536611)||!sameWorkspace(_0x99fd85,this['workspace'])&&!containsWorkspace(this[_0x1898e5(0x140)],_0x99fd85))throw Object['assign'](new Error('Deployment\x20draft\x20path\x20escapes\x20project'),_0x44003e);return _0x47b93c;}[_0x4a106d(0x142)](_0x185f4e){const _0x2efc00=_0x4a106d;_0x185f4e=path[_0x2efc00(0x123)](_0x185f4e);if(this[_0x2efc00(0x147)]['has'](_0x185f4e))return this[_0x2efc00(0x147)]['get'](_0x185f4e)!==null;return this[_0x2efc00(0xef)][_0x2efc00(0x112)](_0x185f4e)||fs[_0x2efc00(0x12a)](_0x185f4e);}[_0x4a106d(0xf9)](_0x5618ca){const _0x16ef6a=_0x4a106d;if(this[_0x16ef6a(0x101)][_0x16ef6a(0x112)](_0x5618ca))return;try{this['originals'][_0x16ef6a(0x124)](_0x5618ca,fs['readFileSync'](_0x5618ca));}catch(_0x2b03f6){if(_0x2b03f6[_0x16ef6a(0x13c)]===_0x16ef6a(0x137))this[_0x16ef6a(0x101)]['set'](_0x5618ca,null);else throw _0x2b03f6;}}[_0x4a106d(0x146)](_0x2a1768,_0x5bc532){const _0x1e9405=_0x4a106d;_0x2a1768=path[_0x1e9405(0x123)](_0x2a1768);let _0x32a87a;if(this['files'][_0x1e9405(0x112)](_0x2a1768))_0x32a87a=this[_0x1e9405(0x147)][_0x1e9405(0x141)](_0x2a1768);else{_0x32a87a=fs[_0x1e9405(0x12b)](_0x2a1768);const _0x5baf6b=path[_0x1e9405(0x121)](this['workspace'],_0x2a1768);if(_0x5baf6b&&_0x5baf6b!=='..'&&!_0x5baf6b[_0x1e9405(0xeb)]('..'+path[_0x1e9405(0x117)])&&!path['isAbsolute'](_0x5baf6b)&&!this['originals'][_0x1e9405(0x112)](_0x2a1768))this[_0x1e9405(0x101)][_0x1e9405(0x124)](_0x2a1768,Buffer[_0x1e9405(0x100)](_0x32a87a));}const _0x3cfae7={};_0x3cfae7[_0x1e9405(0x13c)]=_0x1e9405(0x137);if(_0x32a87a===null)throw Object['assign'](new Error(_0x1e9405(0xfc)),_0x3cfae7);const _0x12fa56=typeof _0x5bc532===_0x1e9405(0x109)?_0x5bc532:_0x5bc532?.[_0x1e9405(0x130)];return _0x12fa56?_0x32a87a[_0x1e9405(0x143)](_0x12fa56):Buffer[_0x1e9405(0x100)](_0x32a87a);}['write'](_0x3dac31,_0x3d314c,_0x14c1a8){const _0x40de44=_0x4a106d;_0x3dac31=this[_0x40de44(0x106)](_0x3dac31);const _0x50ea39={};_0x50ea39[_0x40de44(0x13c)]=_0x40de44(0xf2);if(_0x14c1a8?.[_0x40de44(0x104)]==='wx'&&this[_0x40de44(0x142)](_0x3dac31))throw Object['assign'](new Error('Draft\x20file\x20exists'),_0x50ea39);this[_0x40de44(0xf9)](_0x3dac31),this[_0x40de44(0x147)][_0x40de44(0x124)](_0x3dac31,Buffer[_0x40de44(0x100)](_0x3d314c)),this[_0x40de44(0xef)][_0x40de44(0xf6)](path[_0x40de44(0xe3)](_0x3dac31));}[_0x4a106d(0x12f)](_0x375261){const _0x53ae4f=_0x4a106d;_0x375261=this[_0x53ae4f(0x106)](_0x375261),this['remember'](_0x375261),this['files'][_0x53ae4f(0x124)](_0x375261,null);}['entries'](_0x145b25){const _0x47fcb4=_0x4a106d;_0x145b25=path[_0x47fcb4(0x123)](_0x145b25);let _0x3b5c96;try{_0x3b5c96=new Set(fs[_0x47fcb4(0x111)](_0x145b25));}catch(_0x3ba27a){if(_0x3ba27a[_0x47fcb4(0x13c)]===_0x47fcb4(0x137))_0x3b5c96=new Set();else throw _0x3ba27a;}for(const [_0x160e43,_0x1a4ce1]of this[_0x47fcb4(0x147)])if(path[_0x47fcb4(0xe3)](_0x160e43)===_0x145b25){if(_0x1a4ce1===null)_0x3b5c96[_0x47fcb4(0x10d)](path['basename'](_0x160e43));else _0x3b5c96[_0x47fcb4(0xf6)](path[_0x47fcb4(0x133)](_0x160e43));}for(const _0x5aa02c of this['directories'])if(path['dirname'](_0x5aa02c)===_0x145b25)_0x3b5c96[_0x47fcb4(0xf6)](path[_0x47fcb4(0x133)](_0x5aa02c));return[..._0x3b5c96];}[_0x4a106d(0x128)](){const _0x54c34f=_0x4a106d;return[...this['files']][_0x54c34f(0x116)](([_0x10094e,_0x13a73b])=>{const _0x2784b2=_0x54c34f,_0x5c5318=this[_0x2784b2(0x101)][_0x2784b2(0x141)](_0x10094e);return _0x13a73b===null?_0x5c5318!==null:_0x5c5318===null||!_0x13a73b[_0x2784b2(0x131)](_0x5c5318);})['map'](([_0x29e536,_0x36b88d])=>({'path':path[_0x54c34f(0x121)](this[_0x54c34f(0x140)],_0x29e536)[_0x54c34f(0xea)]('\x5c','/'),'type':_0x36b88d===null?_0x54c34f(0x10d):_0x54c34f(0xf0),'bytes':_0x36b88d,'managedHash':this['originals']['get'](_0x29e536)===null?null:hash(this['originals'][_0x54c34f(0x141)](_0x29e536))}));}}function _0x434d(_0x5263ab,_0x394bbd){_0x5263ab=_0x5263ab-0xe0;const _0x34c16f=_0x34c1();let _0x434db8=_0x34c16f[_0x5263ab];if(_0x434d['ucAnKf']===undefined){var _0x36a501=function(_0x459a07){const _0xcad82a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x332c21='',_0x40c5d9='';for(let _0x56ce7e=0x0,_0x25a40b,_0x44f2c4,_0x2af591=0x0;_0x44f2c4=_0x459a07['charAt'](_0x2af591++);~_0x44f2c4&&(_0x25a40b=_0x56ce7e%0x4?_0x25a40b*0x40+_0x44f2c4:_0x44f2c4,_0x56ce7e++%0x4)?_0x332c21+=String['fromCharCode'](0xff&_0x25a40b>>(-0x2*_0x56ce7e&0x6)):0x0){_0x44f2c4=_0xcad82a['indexOf'](_0x44f2c4);}for(let _0x438d4e=0x0,_0x3c927b=_0x332c21['length'];_0x438d4e<_0x3c927b;_0x438d4e++){_0x40c5d9+='%'+('00'+_0x332c21['charCodeAt'](_0x438d4e)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x40c5d9);};_0x434d['EwzZKt']=_0x36a501,_0x434d['biAdSY']={},_0x434d['ucAnKf']=!![];}const _0x33880f=_0x34c16f[0x0],_0x56b683=_0x5263ab+_0x33880f,_0x5bf3bf=_0x434d['biAdSY'][_0x56b683];return!_0x5bf3bf?(_0x434db8=_0x434d['EwzZKt'](_0x434db8),_0x434d['biAdSY'][_0x56b683]=_0x434db8):_0x434db8=_0x5bf3bf,_0x434db8;}function renderProject(_0x5c47a1){const _0x46dea9=_0x4a106d,_0x3b159f=new DeploymentDraft(_0x5c47a1['projectPath']),_0x37711e={};_0x37711e[_0x46dea9(0x13a)]=[];const _0x4c05dc={..._0x5c47a1,'fileSystem':_0x3b159f['fs'],'preparation':!![],..._0x5c47a1[_0x46dea9(0x13e)]?_0x37711e:{}},_0xa1fc19=require(_0x46dea9(0x10e))[_0x46dea9(0xf7)](_0x4c05dc),_0x50b4d7=path['join'](_0x3b159f[_0x46dea9(0x140)],_0x46dea9(0xfd),'manifest.json'),_0x3ed590=_0x3b159f[_0x46dea9(0x128)]();if(_0x3ed590[_0x46dea9(0x114)](_0x469c0f=>_0x469c0f['path']===_0x46dea9(0x125))&&fs[_0x46dea9(0x12a)](_0x50b4d7)){const _0x59e765=fs[_0x46dea9(0x12b)](_0x50b4d7),_0x57a19f=_0x4e3103=>{const {deployedAt:_0x1bb1fd,previousVersion:_0x5204bf,contextMigrations:_0x110dd7,..._0xa3b008}=_0x4e3103;return _0xa3b008;},_0x48dc39=JSON[_0x46dea9(0xf4)](_0x59e765);require(_0x46dea9(0x12c))[_0x46dea9(0xfe)](_0x57a19f(_0x48dc39),_0x57a19f(_0xa1fc19['manifest']))&&!_0xa1fc19[_0x46dea9(0xe2)][_0x46dea9(0xed)]['length']&&(_0x3b159f['fs']['writeFileSync'](_0x50b4d7,_0x59e765),_0xa1fc19[_0x46dea9(0xe2)]=_0x48dc39);}const _0x39be71=_0x5c47a1['forceRecover']?new Set((_0xa1fc19['manifest'][_0x46dea9(0x147)]||[])[_0x46dea9(0x116)](_0x1d6902=>typeof _0x1d6902===_0x46dea9(0x109))):new Set(),_0x4171db=_0x3b159f[_0x46dea9(0x128)]()['map'](_0x4e095d=>{const _0x36fb2a=_0x46dea9;if(!_0x39be71[_0x36fb2a(0x112)](_0x4e095d['path']))return _0x4e095d;const _0xec119=path[_0x36fb2a(0x115)](_0x3b159f[_0x36fb2a(0x140)],_0x4e095d[_0x36fb2a(0x105)]);let _0xeca97d=null;try{_0xeca97d=hash(fs['readFileSync'](_0xec119));}catch(_0x2b3e2e){if(_0x2b3e2e[_0x36fb2a(0x13c)]!=='ENOENT')throw _0x2b3e2e;}const _0x432bf3={..._0x4e095d};return _0x432bf3[_0x36fb2a(0x107)]=_0xeca97d,_0x432bf3;}),_0xb8d37b={};return _0xb8d37b[_0x46dea9(0x132)]=_0x3b159f,_0xb8d37b[_0x46dea9(0xe5)]=_0xa1fc19,_0xb8d37b[_0x46dea9(0x13f)]=_0x39be71,_0xb8d37b[_0x46dea9(0x128)]=_0x4171db,_0xb8d37b;}function prepareProject(_0x47fad6){const _0x1cea8e=_0x4a106d,{draft:_0x25864b,deployment:_0x3e0182,forcePaths:_0x463a25,changes:_0x305a94}=renderProject(_0x47fad6),_0x32d690={};_0x32d690[_0x1cea8e(0x136)]=_0x47fad6[_0x1cea8e(0x136)];const _0x5bc255=ResourceTransaction['prepare'](_0x25864b[_0x1cea8e(0x140)],_0x305a94,_0x32d690);if(_0x47fad6[_0x1cea8e(0x145)])_0x5bc255['plan'][_0x1cea8e(0x13f)]=[..._0x463a25][_0x1cea8e(0xe8)]();else{for(const _0x122cb5 of _0x3e0182[_0x1cea8e(0xe2)][_0x1cea8e(0x103)])_0x5bc255['plan'][_0x1cea8e(0xfa)][_0x1cea8e(0xe9)]({'path':_0x122cb5,'code':'RESOURCE_CUSTOM_CONFLICT','required':!![]});}_0x5bc255[_0x1cea8e(0xe4)]['contractDigest']=resourceContractDigest(_0x5bc255[_0x1cea8e(0xe4)]),_0x5bc255['save']();const _0x9663d0=null,_0x5ac5f6={};_0x5ac5f6[_0x1cea8e(0x10a)]='not-required',_0x5ac5f6['blockers']=[];const _0x3b601b=_0x5ac5f6,_0xad520b={};return _0xad520b['resourcePlan']=_0x5bc255,_0xad520b[_0x1cea8e(0x12e)]=_0x9663d0,_0xad520b[_0x1cea8e(0x126)]=_0x3b601b,_0xad520b[_0x1cea8e(0xe5)]=_0x3e0182,_0xad520b['indexRequested']=_0x47fad6['rebuildIndex']===!![],_0xad520b;}function verifyPreparedProject(_0x416bdb,_0x1d7ac3){const _0x1f80cb=_0x4a106d,_0xadeccc=_0x1d7ac3 instanceof ResourceTransaction?_0x1d7ac3:new ResourceTransaction(_0x1d7ac3),_0xefed91=require(_0x1f80cb(0xe0))[_0x1f80cb(0x10c)](_0xadeccc[_0x1f80cb(0x13b)]);if(_0xefed91['contractMismatch']||_0xadeccc[_0x1f80cb(0xe4)][_0x1f80cb(0x10a)]!==_0x1f80cb(0x11a)||_0xefed91[_0x1f80cb(0x13d)][_0x1f80cb(0x11d)](_0x1aea03=>_0x1aea03[_0x1f80cb(0x10a)]!==_0x1f80cb(0x11a)||_0x1aea03['bytes']!==_0x1f80cb(0x129))||_0xadeccc['plan'][_0x1f80cb(0xfa)][_0x1f80cb(0x11d)](_0x1dc9b0=>_0x1dc9b0['required'])||!sameWorkspace(_0xadeccc[_0x1f80cb(0xe4)][_0x1f80cb(0x140)],_0x416bdb[_0x1f80cb(0x10b)]))return![];const {changes:_0x46493c,forcePaths:_0x1c232b}=renderProject(_0x416bdb);if(_0x46493c[_0x1f80cb(0xff)]!==_0xadeccc[_0x1f80cb(0xe4)]['operations'][_0x1f80cb(0xff)]||!require(_0x1f80cb(0x12c))[_0x1f80cb(0xfe)](_0xadeccc[_0x1f80cb(0xe4)][_0x1f80cb(0x13f)]||[],_0x416bdb['forceRecover']?[..._0x1c232b]['sort']():[]))return![];const _0x1d7224=new Map(_0x46493c[_0x1f80cb(0x138)](_0xaebd23=>[_0xaebd23[_0x1f80cb(0x105)],_0xaebd23]));for(const _0x4b9eec of _0xadeccc[_0x1f80cb(0xe4)][_0x1f80cb(0xf8)]){const _0x567875=_0x1d7224[_0x1f80cb(0x141)](_0x4b9eec[_0x1f80cb(0x105)]);if(!_0x567875||_0x4b9eec['type']!==_0x567875['type']||_0x4b9eec[_0x1f80cb(0x144)]!==_0x567875[_0x1f80cb(0x107)])return![];if(_0x4b9eec[_0x1f80cb(0x110)]==='delete')continue;const _0x35028d=fs['readFileSync'](path[_0x1f80cb(0x115)](_0xadeccc[_0x1f80cb(0x13b)],_0x4b9eec[_0x1f80cb(0x134)]));if(_0x4b9eec['path']!==_0x1f80cb(0x125)){if(!_0x35028d['equals'](_0x567875['bytes']))return![];}else{const _0x4726a=JSON[_0x1f80cb(0xf4)](_0x35028d),_0x1602c4=JSON['parse'](_0x567875[_0x1f80cb(0x12d)]);if(typeof _0x4726a[_0x1f80cb(0xe7)]!=='string'||!Number['isFinite'](Date['parse'](_0x4726a[_0x1f80cb(0xe7)])))return![];delete _0x4726a[_0x1f80cb(0xe7)],delete _0x1602c4[_0x1f80cb(0xe7)];if(!require(_0x1f80cb(0x12c))['isDeepStrictEqual'](_0x4726a,_0x1602c4))return![];}}return!![];}const _0x5b1cc5={};function _0x34c1(){const _0x1359af=['yNL0zxm','CMvNAxn0CMf0Aw9UugXHBG','CMvTB3zL','zw5JB2rPBMC','zxf1ywXZ','zhjHzNq','yMfZzw5HBwu','C3rHz2u','D3jPDgu','DhjHBNnHy3rPB25jza','ru5pru5u','BwfW','mtK3ntaWofr2sNP5rG','BwnWq29UzMLNvgfYz2v0CW','zgLYzwn0B3j5','y29Kzq','zw50CMLLCW','CMvNAxn0CMf0Aw9Usg9ZDhm','zM9Yy2vqyxrOCW','D29YA3nWywnL','z2v0','zxHPC3rZ','Dg9tDhjPBMC','B2XKsgfZAa','zM9Yy2vszwnVDMvY','CMvHza','zMLSzxm','lI4Vy29Yzs9YzxnVDxjJzs10CMfUC2fJDgLVBG','lI4Vy29Yzs93B3jRC3bHy2uTCgf0Aa','BwfUAwzLC3q','zgLYBMfTzq','CgXHBG','zgvWBg95BwvUDa','ywXSB2m','zgvWBg95zwrbDa','C29YDa','ChvZAa','CMvWBgfJzufSBa','C3rHCNrZv2L0Aa','mty1ntuYy1fesxvc','y29UDgv4De1Pz3jHDgLVBNm','rgvWBg95BwvUDerYywz0','zgLYzwn0B3jPzxm','CMvWBgfJzq','AxneAxjLy3rVCNK','ruvysvnu','C2HHmJu2','CgfYC2u','DxbKyxrL','ywrK','zgvWBg95uhjVAMvJDa','B3bLCMf0Aw9UCW','CMvTzw1Izxi','y29UzMXPy3rZ','Agv4','rhjHzNqGzMLSzsbOyxmGyMvLBIbYzw1VDMvK','lMfNzw50CW','AxnezwvWu3rYAwn0rxf1ywW','BgvUz3rO','zNjVBq','B3jPz2LUywXZ','CMvHBhbHDgHtEw5J','CgvUzgLUz1vWzgf0zxm','zMXHzW','Cgf0Aa','D3jPDgfIBgu','BwfUywDLzeHHC2G','oePIuMDhzW','C3rYAw5N','C3rHDhvZ','ChjVAMvJDfbHDgG','Aw5ZCgvJDfbYzxbHCMvKugXHBG','zgvSzxrL','lI9WCM9Qzwn0lxnLDhvW','otq2odGWA1Lluwze','DhLWzq','CMvHzgrPCLn5BMm','AgfZ','mZe0mZqZneXZuxzkra','zxzLCNK','AM9PBG','zMLSDgvY','C2vW','BM9KztPWyxrO','ChjLCgfYzvbYB2PLy3q','ChjLCgfYzwq','mJi0mdDwzw55yM0','mtK0odnzDwH6q2C','C29Tzq','y3jLyxrLsgfZAa','ndyYodq2zfD0AxHM','BM9KztPMCW','CMvSyxrPDMu','AxngAwXL','CMvZB2X2zq','C2v0','lMfNzw50CY9Tyw5PzMvZDc5QC29U','CMvNAxn0CMf0Aw9UtwLNCMf0Aw9U','AxnbyNnVBhv0zq','y2HHBMDLCW','B3jPz2LUywW','zxHPC3rZu3LUyW','CMvHzezPBgvtEw5J','BM9KztP1DgLS'];_0x34c1=function(){return _0x1359af;};return _0x34c1();}_0x5b1cc5[_0x4a106d(0xee)]=DeploymentDraft,_0x5b1cc5[_0x4a106d(0x119)]=prepareProject,_0x5b1cc5['verifyPreparedProject']=verifyPreparedProject,module['exports']=_0x5b1cc5;
@@ -1 +1 @@
1
- 'use strict';function _0x1093(){const _0x23075e=['C2vJCMv0rMLSzq','CgfYC2u','zgf0yq','BMf0AxzLq2fSBgvY','C2vJCMv0','mti2ntjNz093sLu','Aw5JBhvKzxm','BM9KztPMCW','BM9KztPVCW','DMfSAwrHDgvjzgvUDgL0Eq','BMf0AxzLq2HPBgq','CMvZB2X2zq','yxnZzxj0q3vYCMvUDa','lI4Vy29Yzs9OB29RlwXLyxnL','DMvYAwz5sw52B2nHDgLVBG','mJi4mtvOuhL5tNm','y2XHDwrLlw5HDgL2zs10CMfUC2nYAxb0','lNnVy2S','lMTLEq','r2f0zxDHEunVBNrLEhq','z2f0zxDHEq','BM9KztPWyxrO','D3jPDgu','r0furvDbwv9dt05urvHux0LovKfmsuq','BM9Uy2u','C3rYAw5NAwz5','CMfUzg9TqNL0zxm','CgLK','D29YA3nWywnLugf0Aa','AxntEw1IB2XPy0XPBMS','B25Jzq','Bhn0yxrtEw5J','nZi5nJu5ngPRDvDHra','y2XVC2u','Ag9ZDa','CMvJzwLWDezPBgu','Dw5HDMfPBgfIBgu','AM9PBG','CgXHDgzVCM0','Dg1WzgLY','BMf0AxzLvg9VBe5HBwu','lMfUAgrO','BwfJ','zxjYB3i','CMvNAxn0CMf0Aw9UlxjLy2vPChrZ','yxr0zxn0yxrPB25gB3i','CMvJDxjZAxzL','CMvTywLUAw5Ntxm','Aw5KzxHpzG','lI4Vy29Yzs9JBgf1zguTAw52B2nHDgLVBG','DMvYAwz5q2XHDwrLsw52B2nHDgLVBG','yMLUza','lI4VChjVEhKVD29YA3nWywnLlwDHDgv3yxK','C3rYAw5N','CMvNAxn0CMf0Aw9U','y2XHDwrL','r0furvDbwv9dt05urvHux1vou1vque9sveve','mtmXmfjTDu5iyq','ody0nZKZD0H0uKLt','y29Kzq','tKfusvzfx0jjtKrjtKDFuevoreLorW','BgvUz3rO','Bwf4','ywjVCNq','mZe2mtKXy3Pcuxv1','y29UBMvJDa','zMfPBgvK','CMfUzg9Tvvvjra','zw5K','r0furvDbwv9dt05urvHux1rjtuvpvvq','BwnWx19HChqTBwnWlwfNzw50x19ZzxnZAw9Ux2jVB3rZDhjHCa','DMvYAwz5','yxjNDw1LBNrZ','xfWUxhbPCgvCyxb0lwDHDgv3yxKT','BM90qwz0zxi','CMvNAxn0CNK','C2LNBMfS','y2f0y2G','BgvHC2u','CM9VDa','ywnJzxb0sg9VA0XLyxnL','lMPZB24','C3rHDhvZ','D29YA3nWywnL','tKfusvzfx0nptLrfwfrFvu5bvKfjtefcteu','BwTKAxjtEw5J','C2vYDMvY','BgLZDgvU','mtu3meffCeTMwq','ru5pru5u','DhLWzq','lI4Vy29Yzs9PCgmTzw52zwXVCgu','zgvZDhjVEq','mtq4mta0mLDfwvz2uW','D3jPDgvgAwXLu3LUyW','Ag9ZDc1OB29RlwLUChv0','D29YA3nWywnLswq','y29UBMvJDgLVBKLK','C2XPy2u','v09ss1nqqunfx0jjtKrjtKDFq09orKXjq1q','CMvHzezPBgvtEw5J','yMLUzgLUz1rVA2vU','Dg9VBa','D2LYzq','C2vZC2LVBKLK','zMXHzW','C2v0vgLTzw91Da','zxzPzgvUy2u','Ag9VAY1IAw5K','BM9KztPJCNLWDg8','yNL0zuXLBMD0Aa','Bw9Kzq','DgvZDa','yM91BMq','C3rHCNq','yxb0lwDHDgv3yxKT','ChvZAa','odC3otm2ogPjv09ZrG','B2jZzxj2zuHVB2Tdyw5JzwXSyxrPB24','n1Lvr1bpBq','Ag9TzwrPCG','zxHWB3j0CW','zw5KCg9PBNq','z2f0zxDHExm','Dw5SAw5Ru3LUyW','DMvYC2LVBG'];_0x1093=function(){return _0x23075e;};return _0x1093();}const _0x3af450=_0x4185;(function(_0x44267c,_0x274dfd){const _0x14543b=_0x4185,_0x3ae5ae=_0x44267c();while(!![]){try{const _0x9b0ee2=parseInt(_0x14543b(0x210))/0x1+parseInt(_0x14543b(0x1b5))/0x2+parseInt(_0x14543b(0x216))/0x3+-parseInt(_0x14543b(0x1db))/0x4*(-parseInt(_0x14543b(0x20f))/0x5)+-parseInt(_0x14543b(0x1f6))/0x6+-parseInt(_0x14543b(0x1cf))/0x7*(parseInt(_0x14543b(0x1cd))/0x8)+-parseInt(_0x14543b(0x1e5))/0x9*(-parseInt(_0x14543b(0x1b0))/0xa);if(_0x9b0ee2===_0x274dfd)break;else _0x3ae5ae['push'](_0x3ae5ae['shift']());}catch(_0xc6e1ae){_0x3ae5ae['push'](_0x3ae5ae['shift']());}}}(_0x1093,0x98514));function _0x4185(_0x421c5f,_0x55f565){_0x421c5f=_0x421c5f-0x1a1;const _0x10934e=_0x1093();let _0x418592=_0x10934e[_0x421c5f];if(_0x4185['TPNMfb']===undefined){var _0x52d08c=function(_0xb77d91){const _0x38b273='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x261e0='',_0xc4f743='';for(let _0x191374=0x0,_0x36ea52,_0x32fc66,_0x374ce3=0x0;_0x32fc66=_0xb77d91['charAt'](_0x374ce3++);~_0x32fc66&&(_0x36ea52=_0x191374%0x4?_0x36ea52*0x40+_0x32fc66:_0x32fc66,_0x191374++%0x4)?_0x261e0+=String['fromCharCode'](0xff&_0x36ea52>>(-0x2*_0x191374&0x6)):0x0){_0x32fc66=_0x38b273['indexOf'](_0x32fc66);}for(let _0x4477d3=0x0,_0x705f63=_0x261e0['length'];_0x4477d3<_0x705f63;_0x4477d3++){_0xc4f743+='%'+('00'+_0x261e0['charCodeAt'](_0x4477d3)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xc4f743);};_0x4185['eOyPqm']=_0x52d08c,_0x4185['fvUnWt']={},_0x4185['TPNMfb']=!![];}const _0x50719c=_0x10934e[0x0],_0x2073f6=_0x421c5f+_0x50719c,_0x1077af=_0x4185['fvUnWt'][_0x2073f6];return!_0x1077af?(_0x418592=_0x4185['eOyPqm'](_0x418592),_0x4185['fvUnWt'][_0x2073f6]=_0x418592):_0x418592=_0x1077af,_0x418592;}const fs=require(_0x3af450(0x1dd)),path=require(_0x3af450(0x1eb)),os=require(_0x3af450(0x1de)),net=require('node:net'),crypto=require(_0x3af450(0x1c5)),{signEnvelope,verifyEnvelope}=require(_0x3af450(0x1b3)),fail=_0x5ae419=>{throw Object['assign'](new Error(_0x5ae419),{'code':_0x5ae419});},rootFor=()=>path[_0x3af450(0x1fb)](process.env.APT_REGISTRATION_RECEIPT_ROOT||path[_0x3af450(0x1fb)](os[_0x3af450(0x1d0)](),_0x3af450(0x1ff),'apt-runtime',_0x3af450(0x202)),_0x3af450(0x1d3));class GatewayContext{constructor(_0x41162e,_0xeec751={}){const _0x355dba=_0x3af450;this['gateway']=_0x41162e,this['root']=_0xeec751[_0x355dba(0x1a7)]||rootFor(),this[_0x355dba(0x21d)]=_0xeec751[_0x355dba(0x1e4)]||require(_0x355dba(0x207))[_0x355dba(0x208)],this['secret']=crypto[_0x355dba(0x1f0)](0x20),this['nonces']=new Set(),this['endpoint']=process[_0x355dba(0x1fc)]==='win32'?_0x355dba(0x1a1)+_0x41162e[_0x355dba(0x1b9)]:path[_0x355dba(0x1fb)](os[_0x355dba(0x1fd)](),_0x355dba(0x1cb)+_0x41162e[_0x355dba(0x1b9)]+_0x355dba(0x1e7)),this[_0x355dba(0x1f9)]=path['join'](this['root'],_0x41162e['connectionId']+_0x355dba(0x1a9)),this['secretFile']=path[_0x355dba(0x1fb)](this[_0x355dba(0x1a7)],_0x41162e[_0x355dba(0x1b9)]+'.key');}async['bind'](_0x47e7ce,_0x242f95={}){const _0x3ed791=_0x3af450,_0x360e56=_0x242f95[_0x3ed791(0x1a6)]||require(_0x3ed791(0x1e3))[_0x3ed791(0x1a8)](_0x47e7ce[_0x3ed791(0x1d9)]?.['hookLease'],_0x242f95);_0x360e56[_0x3ed791(0x1e2)]();if(this[_0x3ed791(0x1ea)][_0x3ed791(0x1f8)]!=='claude')fail(_0x3ed791(0x1ac));const _0x3bf540=_0x47e7ce[_0x3ed791(0x1d9)];if(!_0x3bf540||_0x3bf540[_0x3ed791(0x1e0)]||_0x3bf540[_0x3ed791(0x1be)]!=='session_bootstrap'||![_0x3ed791(0x21c),'mcp_apt-mcp-agent_session_bootstrap'][_0x3ed791(0x1dc)](_0x3bf540[_0x3ed791(0x1fe)]))fail(_0x3ed791(0x20e));const _0x375355={};_0x375355[_0x3ed791(0x1f2)]=_0x47e7ce[_0x3ed791(0x1ab)];const _0x38d84f=this[_0x3ed791(0x1ea)][_0x3ed791(0x1a3)]['resolve'](_0x375355,{'host':this[_0x3ed791(0x1ea)][_0x3ed791(0x1f8)]});this[_0x3ed791(0x1ea)]['verifySelection'](_0x3bf540[_0x3ed791(0x21e)]?.[_0x3ed791(0x1bd)],_0x38d84f['workspaceId']);const _0x56cb1e={..._0x3bf540};_0x56cb1e['workspace']=_0x38d84f[_0x3ed791(0x1ab)];const _0x16f9c4=await this[_0x3ed791(0x21d)](_0x56cb1e,{'stabilize':!![],'maxAttempts':Number(process.env.APT_TRANSCRIPT_PROOF_ATTEMPTS||0x2),'deadlineMs':_0x360e56[_0x3ed791(0x1bf)][_0x3ed791(0x1a2)],'timeoutMs':Math[_0x3ed791(0x214)](0x1,_0x360e56[_0x3ed791(0x205)]()),'signal':_0x242f95[_0x3ed791(0x1a4)]});await require(_0x3ed791(0x1e3))[_0x3ed791(0x1ce)](_0x360e56);const _0x59bac0=require('../core/claude-invocation')[_0x3ed791(0x203)](_0x16f9c4);if(!_0x59bac0)fail(_0x16f9c4[_0x3ed791(0x211)]||_0x3ed791(0x212));const _0x418b62=_0x3bf540[_0x3ed791(0x21e)]||{};require(_0x3ed791(0x20a))[_0x3ed791(0x1df)](_0x418b62);if(_0x418b62['workspaceId']||_0x418b62[_0x3ed791(0x1f2)]){const _0x333652=this[_0x3ed791(0x1ea)][_0x3ed791(0x1a3)][_0x3ed791(0x1e1)](_0x418b62,{'host':this['gateway'][_0x3ed791(0x1f8)]});if(_0x333652[_0x3ed791(0x1b8)]!==_0x38d84f[_0x3ed791(0x1b8)])fail(_0x3ed791(0x1bb));}const _0x22fa80={..._0x418b62};_0x22fa80[_0x3ed791(0x1b8)]=_0x38d84f[_0x3ed791(0x1b8)];const _0x51616b={};_0x51616b['lease']=_0x360e56;const _0x48dcd8=await this[_0x3ed791(0x1ea)][_0x3ed791(0x209)](_0x22fa80,_0x51616b);_0x360e56[_0x3ed791(0x1e2)]();const _0x160f69={};return _0x160f69[_0x3ed791(0x1aa)]=_0x3ed791(0x1c9),_0x160f69['workspace']=_0x48dcd8[_0x3ed791(0x1ab)],_0x160f69[_0x3ed791(0x1c0)]=_0x48dcd8[_0x3ed791(0x1c0)],_0x160f69[_0x3ed791(0x1b8)]=_0x48dcd8[_0x3ed791(0x1b8)],_0x160f69[_0x3ed791(0x20c)]=_0x48dcd8[_0x3ed791(0x20c)],_0x160f69[_0x3ed791(0x1c3)]=_0x59bac0===_0x3ed791(0x1e6)?'verified-native-hook':_0x3ed791(0x1b7),_0x160f69;}async[_0x3af450(0x1ca)](){const _0x440d14=_0x3af450,_0x2946ed={};_0x2946ed[_0x440d14(0x204)]=!![],fs[_0x440d14(0x1ad)](this[_0x440d14(0x1a7)],_0x2946ed);const _0x9778ed={};_0x9778ed[_0x440d14(0x1c1)]='wx',_0x9778ed[_0x440d14(0x1c7)]=0x180,fs[_0x440d14(0x1b6)](this['secretFile'],this['secret'],_0x9778ed),this[_0x440d14(0x1ae)]=net['createServer'](_0x220d95=>{const _0x4909bd=_0x440d14;let _0x4b67d2='',_0x59b198=![];_0x220d95[_0x4909bd(0x1c2)](0x2710,()=>_0x220d95[_0x4909bd(0x1b4)]()),_0x220d95['on'](_0x4909bd(0x201),()=>{}),_0x220d95['on'](_0x4909bd(0x1d8),_0x354295=>{const _0x14cd06=_0x4909bd;if(_0x59b198)return _0x220d95[_0x14cd06(0x1b4)]();_0x4b67d2+=_0x354295;if(Buffer[_0x14cd06(0x1c6)](_0x4b67d2)>0x2*0x400*0x400)return _0x220d95[_0x14cd06(0x1b4)]();const _0x5be85d=_0x4b67d2[_0x14cd06(0x206)]('\x0a');if(_0x5be85d<0x0)return;_0x59b198=!![];let _0x16c323;try{_0x16c323=JSON[_0x14cd06(0x1d7)](_0x4b67d2[_0x14cd06(0x1ba)](0x0,_0x5be85d));}catch{return _0x220d95[_0x14cd06(0x1b4)]();}if(_0x16c323[_0x14cd06(0x1b2)]!=='hook-bind'||!verifyEnvelope(this[_0x14cd06(0x1da)],_0x16c323,this['nonces'],this['gateway'][_0x14cd06(0x1b9)]))return _0x220d95['destroy']();const _0x36bd5e=_0x35ad5f=>{const _0x3f5621=_0x14cd06,_0x649b5d={'protocol':0x2,'connectionId':this['gateway'][_0x3f5621(0x1b9)],'nonce':_0x16c323[_0x3f5621(0x1ee)],..._0x35ad5f},_0x19f589=_0x649b5d;_0x19f589[_0x3f5621(0x200)]=signEnvelope(this[_0x3f5621(0x1da)],_0x19f589),_0x220d95[_0x3f5621(0x21a)](JSON['stringify'](_0x19f589)+'\x0a');},_0x3b007a=new AbortController();let _0x3272a3=![];_0x220d95['once'](_0x14cd06(0x1f7),()=>{const _0x3714b3=_0x14cd06;if(!_0x3272a3)_0x3b007a[_0x3714b3(0x215)]();});const _0x35f744={};_0x35f744[_0x14cd06(0x1a4)]=_0x3b007a[_0x14cd06(0x1a4)],void this[_0x14cd06(0x209)](_0x16c323,_0x35f744)['then'](_0x170fbf=>{_0x3272a3=!![],_0x36bd5e(_0x170fbf);})[_0x14cd06(0x1a5)](_0x471d2c=>{const _0x1affb5=_0x14cd06;_0x3272a3=!![];const _0x289bd0={};_0x289bd0[_0x1affb5(0x1aa)]='failed',_0x289bd0[_0x1affb5(0x211)]=_0x471d2c[_0x1affb5(0x211)]||'NATIVE_BINDING_PENDING',_0x36bd5e(_0x289bd0);});});}),await new Promise((_0x19f530,_0x24817f)=>{const _0x115384=_0x440d14;this[_0x115384(0x1ae)][_0x115384(0x1f4)]('error',_0x24817f),this[_0x115384(0x1ae)][_0x115384(0x1af)](this[_0x115384(0x1d2)],_0x19f530);});const _0x28a693={};return _0x28a693[_0x440d14(0x1c7)]=0x180,fs[_0x440d14(0x1b6)](this[_0x440d14(0x1f9)],JSON[_0x440d14(0x1ef)]({'version':0x1,'connectionId':this[_0x440d14(0x1ea)][_0x440d14(0x1b9)],'endpoint':this[_0x440d14(0x1d2)],'host':this['gateway'][_0x440d14(0x1f8)],'pid':process[_0x440d14(0x1f1)]}),_0x28a693),this;}async[_0x3af450(0x1f7)](){const _0x308324=_0x3af450;if(this[_0x308324(0x1ae)]?.['listening'])await new Promise(_0x4401d3=>this[_0x308324(0x1ae)][_0x308324(0x1f7)](_0x4401d3));for(const _0x51c093 of[this[_0x308324(0x1f9)],this[_0x308324(0x1d6)]])try{fs[_0x308324(0x1d4)](_0x51c093);}catch(_0x5a2ce5){if(_0x5a2ce5['code']!=='ENOENT')throw _0x5a2ce5;}}}async function prepareHookBinding(_0x1f5a84,_0x555cd7,_0xf35bf={}){const _0x5a1f52=_0x3af450,_0x27aa2c=_0xf35bf[_0x5a1f52(0x1a7)]||rootFor();let _0x9724dd;try{_0x9724dd=fs['readdirSync'](_0x27aa2c)['filter'](_0xb49517=>/^[a-f0-9-]{36}\.json$/[_0x5a1f52(0x1c8)](_0xb49517));}catch(_0x2a9c5b){if(_0x2a9c5b[_0x5a1f52(0x211)]===_0x5a1f52(0x1b1))return[];throw _0x2a9c5b;}const _0x22f748=_0x555cd7[_0x5a1f52(0x21e)]?.[_0x5a1f52(0x1bd)],_0x486ab7=typeof _0x22f748===_0x5a1f52(0x20b)&&/^([a-f0-9-]{36})\.[A-Za-z0-9_-]{43}$/['exec'](_0x22f748)?.[0x1],_0x10a31f={};_0x10a31f[_0x5a1f52(0x1aa)]='failed',_0x10a31f[_0x5a1f52(0x211)]='GATEWAY_SELECTION_REQUIRED';if(!_0x486ab7)return[_0x10a31f];const _0x4bf10b=[];for(const _0x550a1f of _0x9724dd){const _0x2be0a9=_0x550a1f['slice'](0x0,-0x5);if(_0x2be0a9!==_0x486ab7)continue;const _0x2cedf0=path[_0x5a1f52(0x1fb)](_0x27aa2c,_0x550a1f),_0x59093e=path[_0x5a1f52(0x1fb)](_0x27aa2c,_0x2be0a9+_0x5a1f52(0x1e8));let _0x4b92dd,_0x3f70a4;try{if(fs[_0x5a1f52(0x1f5)](_0x2cedf0)[_0x5a1f52(0x1f3)]()||fs['lstatSync'](_0x59093e)['isSymbolicLink']())continue;_0x4b92dd=JSON['parse'](fs[_0x5a1f52(0x1bc)](_0x2cedf0)),_0x3f70a4=fs['readFileSync'](_0x59093e);if(_0x4b92dd[_0x5a1f52(0x1d5)]!==0x1||_0x4b92dd['connectionId']!==_0x2be0a9||_0x4b92dd['host']!==_0x5a1f52(0x20d)||_0x3f70a4[_0x5a1f52(0x213)]!==0x20)continue;}catch{continue;}const _0x272761={'protocol':0x2,'type':_0x5a1f52(0x1c4),'connectionId':_0x2be0a9,'nonce':crypto[_0x5a1f52(0x219)](),'workspace':_0x1f5a84,'nativeCaller':_0x555cd7};_0x272761[_0x5a1f52(0x200)]=signEnvelope(_0x3f70a4,_0x272761),_0x4bf10b[_0x5a1f52(0x1cc)](await new Promise(_0x1e2ca3=>{const _0x2ef0b0=_0x5a1f52,_0x2bc354=net[_0x2ef0b0(0x217)](_0x4b92dd[_0x2ef0b0(0x1d2)]);let _0x33b429='';const _0x51c4ae=_0xe410ab=>{const _0xe7f94a=_0x2ef0b0;_0x2bc354[_0xe7f94a(0x1b4)](),_0x1e2ca3(_0xe410ab);},_0x30ee1a={};_0x30ee1a[_0x2ef0b0(0x1aa)]=_0x2ef0b0(0x218),_0x30ee1a[_0x2ef0b0(0x211)]=_0x2ef0b0(0x21b),_0x2bc354[_0x2ef0b0(0x1c2)](Math[_0x2ef0b0(0x214)](0x1,Math['min'](0x2710,_0xf35bf['lease']?.[_0x2ef0b0(0x205)]()||0x2710)),()=>_0x51c4ae(_0x30ee1a));const _0xb377d1={};_0xb377d1[_0x2ef0b0(0x1aa)]=_0x2ef0b0(0x1fa),_0x2bc354['on'](_0x2ef0b0(0x201),()=>_0x51c4ae(_0xb377d1)),_0x2bc354['on']('connect',()=>_0x2bc354[_0x2ef0b0(0x1ec)](JSON['stringify'](_0x272761)+'\x0a')),_0x2bc354['on'](_0x2ef0b0(0x1d8),_0x50259b=>{const _0x352621=_0x2ef0b0;_0x33b429+=_0x50259b;const _0x570c66={};_0x570c66[_0x352621(0x1aa)]=_0x352621(0x218),_0x570c66[_0x352621(0x211)]=_0x352621(0x1ed);if(_0x33b429[_0x352621(0x213)]>0x2000)return _0x51c4ae(_0x570c66);const _0x2b7965=_0x33b429[_0x352621(0x206)]('\x0a');if(_0x2b7965<0x0)return;let _0x5a4673;try{_0x5a4673=JSON[_0x352621(0x1d7)](_0x33b429['slice'](0x0,_0x2b7965));}catch{const _0x183ae7={};return _0x183ae7[_0x352621(0x1aa)]=_0x352621(0x218),_0x51c4ae(_0x183ae7);}const _0xbea730={};_0xbea730[_0x352621(0x1aa)]=_0x352621(0x218),_0xbea730[_0x352621(0x211)]=_0x352621(0x1ed);if(!verifyEnvelope(_0x3f70a4,_0x5a4673,new Set(),_0x2be0a9)||_0x5a4673[_0x352621(0x1ee)]!==_0x272761[_0x352621(0x1ee)])return _0x51c4ae(_0xbea730);_0x51c4ae(_0x5a4673);});}));}return _0x4bf10b;}const _0x855f26={};_0x855f26[_0x3af450(0x1e9)]=GatewayContext,_0x855f26['prepareHookBinding']=prepareHookBinding,module[_0x3af450(0x1d1)]=_0x855f26;
1
+ 'use strict';function _0x1caf(){const _0x435de5=['tKfusvzfx0nptLrfwfrFvu5bvKfjtefcteu','CM9VDa','zw5K','zgf0yq','DMvYAwz5','CMvTywLUAw5Ntxm','nta2meLIwvPTta','BMf0AxzLvg9VBe5HBwu','C3rYAw5N','xfWUxhbPCgvCyxb0lwDHDgv3yxKT','zw5KCg9PBNq','B25Jzq','ndi2ntaWngPeCK5zDG','AM9PBG','CgLK','BwfJ','mta1nZmZnvvKt25VtG','DgvZDa','y29UBMvJDa','D29YA3nWywnL','lI4VChjVEhKVD29YA3nWywnLlwDHDgv3yxK','DMvYC2LVBG','BwTKAxjtEw5J','yxb0lxj1BNrPBwu','y2f0y2G','ote3tgzqr1vg','C3rHDhvZ','y29Kzq','D2LUmZi','BM90qwz0zxi','CMvJzwLWDezPBgu','C2LNBMfS','CMvNAxn0CNK','Ag9TzwrPCG','CgfYC2u','Dw5SAw5Ru3LUyW','BM9KztPJCNLWDg8','zxjYB3i','BgLZDgvU','yM91BMq','BwnWx19HChqTBwnWlwfNzw50x19ZzxnZAw9Ux2jVB3rZDhjHCa','BgvHC2u','BM9KztPVCW','BM9Uy2u','yMLUza','yxr0zxn0yxrPB25gB3i','BMf0AxzLq2HPBgq','Ag9VA0XLyxnL','yxnZAwDU','zgvZDhjVEq','mtfqEgvSBg8','BM9KztPWyxrO','ywjVCNq','Bw9Kzq','r0furvDbwv9dt05urvHux1vou1vque9sveve','nZa2mdC1meH0tLjKsG','BM9Uy2vZ','BM9KztPMCW','C2vJCMv0rMLSzq','AxntEw1IB2XPy0XPBMS','lI4Vy29Yzs9JBgf1zguTAw52B2nHDgLVBG','DMvYAwz5u2vSzwn0Aw9U','C2vZC2LVBKLK','DgHLBG','ru5pru5u','lI4Vy29Yzs9OB29RlwXLyxnL','D29YA3nWywnLugf0Aa','lMfUAgrO','D3jPDgu','yxb0lwDHDgv3yxKT','r0furvDbwv9dt05urvHux1rjtuvpvvq','Ag9ZDa','Dg9VBa','mJHQCMHQCKK','z2f0zxDHEq','yMLUzgLUz1rVA2vU','BwLU','D2LYzq','BwnWx2fWDc1Ty3aTywDLBNrFC2vZC2LVBL9IB290C3rYyxa','C2vJCMv0','CMvNAxn0CMf0Aw9U','CMvNAxn0CMf0Aw9UlxjLy2vPChrZ','tKfusvzfx0jjtKrjtKDFuevoreLorW','zMXHzW','C2XPy2u','zxzPzgvUy2u','Bwf4','DMvYAwzPzwqTBMf0AxzLlwHVB2S','BgLZDgvUAw5N','DMvYAwz5q2XHDwrLsw52B2nHDgLVBG','BgvUz3rO','CMvHzezPBgvtEw5J','lMTLEq','Dg1WzgLY','lI4Vy29Yzs9PCgmTzw52zwXVCgu','y2XHDwrLlw5HDgL2zs10CMfUC2nYAxb0','odCWnNbQuu5Puq','BMf0AxzLq2fSBgvY','D3jPDgvgAwXLu3LUyW','B2jZzxj2zuHVB2Tdyw5JzwXSyxrPB24','ChvZAa','D29YA3nWywnLswq','C3rYAw5NAwz5','mte0ndeXm0XTDKrrsq','r0furvDbwv9dt05urvHux0LovKfmsuq','ChjLCgfYzuHVB2TcAw5KAw5N','Aw5KzxHpzG','ndq2vwfAvMLn','yxnZzxj0q3vYCMvUDa','Bhn0yxrtEw5J','Dw5HDMfPBgfIBgu','y2XHDwrL','C2v0vgLTzw91Da','y3jLyxrLu2vYDMvY','Ag9ZDc1OB29RlwLUChv0','mJe4ndHntxnbzKO','yxjNDw1LBNrZ','z2f0zxDHExm','y29UBMvJDgLVBKLK','lMPZB24','C2vYDMvY','C3rHCNq','mti2thPlzgTc','zMfPBgvK','y2XVC2u'];_0x1caf=function(){return _0x435de5;};return _0x1caf();}const _0x495a08=_0x283e;(function(_0x4578dd,_0x5c8e3c){const _0x267f19=_0x283e,_0x53425e=_0x4578dd();while(!![]){try{const _0x2c6786=parseInt(_0x267f19(0x19b))/0x1*(parseInt(_0x267f19(0x200))/0x2)+-parseInt(_0x267f19(0x1fc))/0x3+-parseInt(_0x267f19(0x1de))/0x4*(-parseInt(_0x267f19(0x1a5))/0x5)+parseInt(_0x267f19(0x1f5))/0x6*(-parseInt(_0x267f19(0x1ae))/0x7)+-parseInt(_0x267f19(0x208))/0x8*(parseInt(_0x267f19(0x20f))/0x9)+-parseInt(_0x267f19(0x1cc))/0xa*(parseInt(_0x267f19(0x1c7))/0xb)+-parseInt(_0x267f19(0x1a1))/0xc;if(_0x2c6786===_0x5c8e3c)break;else _0x53425e['push'](_0x53425e['shift']());}catch(_0x5e257b){_0x53425e['push'](_0x53425e['shift']());}}}(_0x1caf,0xe4dff));function _0x283e(_0x518d47,_0x16475f){_0x518d47=_0x518d47-0x197;const _0x1caf14=_0x1caf();let _0x283eda=_0x1caf14[_0x518d47];if(_0x283e['bwujmS']===undefined){var _0x106f84=function(_0x3e8d9d){const _0x222905='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x47371a='',_0x218847='';for(let _0x495d5b=0x0,_0x4a2225,_0x36ad38,_0x2d080f=0x0;_0x36ad38=_0x3e8d9d['charAt'](_0x2d080f++);~_0x36ad38&&(_0x4a2225=_0x495d5b%0x4?_0x4a2225*0x40+_0x36ad38:_0x36ad38,_0x495d5b++%0x4)?_0x47371a+=String['fromCharCode'](0xff&_0x4a2225>>(-0x2*_0x495d5b&0x6)):0x0){_0x36ad38=_0x222905['indexOf'](_0x36ad38);}for(let _0x315b89=0x0,_0x707ea9=_0x47371a['length'];_0x315b89<_0x707ea9;_0x315b89++){_0x218847+='%'+('00'+_0x47371a['charCodeAt'](_0x315b89)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x218847);};_0x283e['sIyieT']=_0x106f84,_0x283e['pWrMQt']={},_0x283e['bwujmS']=!![];}const _0x16604c=_0x1caf14[0x0],_0x2fb704=_0x518d47+_0x16604c,_0x1323f6=_0x283e['pWrMQt'][_0x2fb704];return!_0x1323f6?(_0x283eda=_0x283e['sIyieT'](_0x283eda),_0x283e['pWrMQt'][_0x2fb704]=_0x283eda):_0x283eda=_0x1323f6,_0x283eda;}const fs=require(_0x495a08(0x1ce)),path=require(_0x495a08(0x1c8)),os=require(_0x495a08(0x1bf)),net=require('node:net'),crypto=require(_0x495a08(0x1b9)),{signEnvelope,verifyEnvelope}=require(_0x495a08(0x1f3)),fail=_0x59814a=>{const _0x15fc75=_0x495a08;throw Object[_0x15fc75(0x1c5)](new Error(_0x59814a),{'code':_0x59814a});},rootFor=()=>path['join'](process.env.APT_REGISTRATION_RECEIPT_ROOT||path[_0x495a08(0x1a2)](os[_0x495a08(0x1b6)](),_0x495a08(0x1d8),_0x495a08(0x1ac),_0x495a08(0x1e6)),_0x495a08(0x20a));class GatewayContext{constructor(_0x4c75ae,_0x3de4e7={}){const _0x19369a=_0x495a08;this[_0x19369a(0x1df)]=_0x4c75ae,this[_0x19369a(0x213)]=_0x3de4e7[_0x19369a(0x213)]||rootFor(),this[_0x19369a(0x199)]=_0x3de4e7['verifyInvocation']||require(_0x19369a(0x1d1))[_0x19369a(0x1ee)],this[_0x19369a(0x1e4)]=crypto['randomBytes'](0x20),this[_0x19369a(0x1cd)]=new Set(),this[_0x19369a(0x19f)]=process['platform']===_0x19369a(0x1b1)?_0x19369a(0x19e)+_0x4c75ae[_0x19369a(0x20b)]:path[_0x19369a(0x1a2)](os[_0x19369a(0x1f2)](),_0x19369a(0x1da)+_0x4c75ae[_0x19369a(0x20b)]+'.sock'),this[_0x19369a(0x1b3)]=path[_0x19369a(0x1a2)](this[_0x19369a(0x213)],_0x4c75ae[_0x19369a(0x20b)]+_0x19369a(0x20c)),this[_0x19369a(0x1cf)]=path['join'](this[_0x19369a(0x213)],_0x4c75ae[_0x19369a(0x20b)]+'.key');}async[_0x495a08(0x1c1)](_0x386141,_0x25c1d4={}){const _0xe5bc89=_0x495a08,_0x26132f=_0x25c1d4['lease']||require(_0xe5bc89(0x1d6))['acceptHookLease'](_0x386141[_0xe5bc89(0x1f6)]?.[_0xe5bc89(0x1c4)],_0x25c1d4);_0x26132f[_0xe5bc89(0x201)]();if(this[_0xe5bc89(0x1df)]['host']!==_0xe5bc89(0x204))fail(_0xe5bc89(0x212));const _0xaf4d0c=_0x386141[_0xe5bc89(0x1f6)];if(!_0xaf4d0c||_0xaf4d0c[_0xe5bc89(0x1c3)]||_0xaf4d0c[_0xe5bc89(0x1dd)]!=='session_bootstrap'||![_0xe5bc89(0x1bd),_0xe5bc89(0x1e3)]['includes'](_0xaf4d0c[_0xe5bc89(0x19c)]))fail(_0xe5bc89(0x1cb));const _0x333637={};_0x333637[_0xe5bc89(0x1d7)]=_0x386141[_0xe5bc89(0x1a8)];const _0x3cf44d=this[_0xe5bc89(0x1df)]['registry']['resolve'](_0x333637,{'host':this[_0xe5bc89(0x1df)][_0xe5bc89(0x1dc)]});this['gateway'][_0xe5bc89(0x1d2)](_0xaf4d0c[_0xe5bc89(0x209)]?.[_0xe5bc89(0x1e0)],_0x3cf44d[_0xe5bc89(0x1fa)]);const _0x538689={..._0xaf4d0c};_0x538689[_0xe5bc89(0x1a8)]=_0x3cf44d[_0xe5bc89(0x1a8)];const _0x4b8f86=await this['verify'](_0x538689,{'stabilize':!![],'maxAttempts':Number(process.env.APT_TRANSCRIPT_PROOF_ATTEMPTS||0x2),'deadlineMs':_0x26132f[_0xe5bc89(0x1e2)][_0xe5bc89(0x1b2)],'timeoutMs':Math[_0xe5bc89(0x1eb)](0x1,_0x26132f[_0xe5bc89(0x19a)]()),'signal':_0x25c1d4['signal']});await require(_0xe5bc89(0x1d6))[_0xe5bc89(0x1f8)](_0x26132f);const _0x28de43=require(_0xe5bc89(0x1d1))[_0xe5bc89(0x1c2)](_0x4b8f86);if(!_0x28de43)fail(_0x4b8f86['code']||_0xe5bc89(0x1e7));const _0x84b633=_0xaf4d0c['arguments']||{};require(_0xe5bc89(0x1a9))['validateIdentity'](_0x84b633);if(_0x84b633[_0xe5bc89(0x1fa)]||_0x84b633[_0xe5bc89(0x1d7)]){const _0x42263b=this[_0xe5bc89(0x1df)][_0xe5bc89(0x1b5)]['resolve'](_0x84b633,{'host':this[_0xe5bc89(0x1df)]['host']});if(_0x42263b[_0xe5bc89(0x1fa)]!==_0x3cf44d[_0xe5bc89(0x1fa)])fail('WORKSPACE_BINDING_CONFLICT');}const _0x1b3f06={..._0x84b633};_0x1b3f06[_0xe5bc89(0x1fa)]=_0x3cf44d[_0xe5bc89(0x1fa)];const _0x52040c={};_0x52040c[_0xe5bc89(0x1be)]=_0x26132f;const _0x215d72=await this['gateway'][_0xe5bc89(0x1c1)](_0x1b3f06,_0x52040c);_0x26132f[_0xe5bc89(0x201)]();const _0x40310f={};return _0x40310f[_0xe5bc89(0x1af)]=_0xe5bc89(0x1bc),_0x40310f[_0xe5bc89(0x1a8)]=_0x215d72[_0xe5bc89(0x1a8)],_0x40310f[_0xe5bc89(0x1d3)]=_0x215d72[_0xe5bc89(0x1d3)],_0x40310f[_0xe5bc89(0x1fa)]=_0x215d72[_0xe5bc89(0x1fa)],_0x40310f['registration']=_0x215d72[_0xe5bc89(0x1e5)],_0x40310f[_0xe5bc89(0x1ea)]=_0x28de43===_0xe5bc89(0x1f4)?_0xe5bc89(0x1ec):_0xe5bc89(0x207),_0x40310f;}async[_0x495a08(0x20e)](){const _0x53353f=_0x495a08,_0x500628={};_0x500628['recursive']=!![],fs[_0x53353f(0x1ab)](this[_0x53353f(0x213)],_0x500628);const _0x4c0244={};_0x4c0244[_0x53353f(0x1e8)]='wx',_0x4c0244[_0x53353f(0x1ca)]=0x180,fs[_0x53353f(0x1f7)](this[_0x53353f(0x1cf)],this[_0x53353f(0x1e4)],_0x4c0244),this[_0x53353f(0x20d)]=net[_0x53353f(0x206)](_0x5f895f=>{const _0x3eb23a=_0x53353f;let _0x5e95f9='',_0x3c8ce2=![];_0x5f895f[_0x3eb23a(0x205)](0x2710,()=>_0x5f895f[_0x3eb23a(0x1c6)]()),_0x5f895f['on'](_0x3eb23a(0x1ba),()=>{}),_0x5f895f['on'](_0x3eb23a(0x198),_0x247efc=>{const _0x5c4591=_0x3eb23a;if(_0x3c8ce2)return _0x5f895f[_0x5c4591(0x1c6)]();_0x5e95f9+=_0x247efc;if(Buffer['byteLength'](_0x5e95f9)>0x2*0x400*0x400)return _0x5f895f[_0x5c4591(0x1c6)]();const _0x36db64=_0x5e95f9[_0x5c4591(0x1ff)]('\x0a');if(_0x36db64<0x0)return;_0x3c8ce2=!![];let _0x59fe73;try{_0x59fe73=JSON[_0x5c4591(0x1b7)](_0x5e95f9[_0x5c4591(0x1e9)](0x0,_0x36db64));}catch{return _0x5f895f[_0x5c4591(0x1c6)]();}if(_0x59fe73['type']!=='hook-bind'||!verifyEnvelope(this[_0x5c4591(0x1e4)],_0x59fe73,this[_0x5c4591(0x1cd)],this[_0x5c4591(0x1df)][_0x5c4591(0x20b)]))return _0x5f895f['destroy']();const _0x1b2aae=_0x4e53e4=>{const _0x57cc79=_0x5c4591,_0x4037f8={'protocol':0x2,'connectionId':this[_0x57cc79(0x1df)][_0x57cc79(0x20b)],'nonce':_0x59fe73['nonce'],..._0x4e53e4},_0x281be4=_0x4037f8;_0x281be4[_0x57cc79(0x1a4)]=signEnvelope(this['secret'],_0x281be4),_0x5f895f[_0x57cc79(0x197)](JSON[_0x57cc79(0x1fb)](_0x281be4)+'\x0a');},_0x16ceec=new AbortController();let _0x52017c=![];_0x5f895f[_0x5c4591(0x1a0)]('close',()=>{const _0x13f68d=_0x5c4591;if(!_0x52017c)_0x16ceec[_0x13f68d(0x1c9)]();});const _0x1b29e4={};_0x1b29e4[_0x5c4591(0x1b4)]=_0x16ceec[_0x5c4591(0x1b4)],void this[_0x5c4591(0x1c1)](_0x59fe73,_0x1b29e4)[_0x5c4591(0x1d4)](_0x496b33=>{_0x52017c=!![],_0x1b2aae(_0x496b33);})[_0x5c4591(0x1ad)](_0x268a51=>{const _0x13d579=_0x5c4591;_0x52017c=!![];const _0x43ba13={};_0x43ba13[_0x13d579(0x1af)]=_0x13d579(0x210),_0x43ba13['code']=_0x268a51[_0x13d579(0x1b0)]||_0x13d579(0x1e7),_0x1b2aae(_0x43ba13);});});}),await new Promise((_0x525170,_0x223ac5)=>{const _0x22e8b5=_0x53353f;this[_0x22e8b5(0x20d)][_0x22e8b5(0x1a0)]('error',_0x223ac5),this[_0x22e8b5(0x20d)][_0x22e8b5(0x1bb)](this[_0x22e8b5(0x19f)],_0x525170);});const _0x1049e1={};return _0x1049e1[_0x53353f(0x1ca)]=0x180,fs[_0x53353f(0x1f7)](this[_0x53353f(0x1b3)],JSON[_0x53353f(0x1fb)]({'version':0x1,'connectionId':this['gateway']['connectionId'],'endpoint':this[_0x53353f(0x19f)],'host':this[_0x53353f(0x1df)][_0x53353f(0x1dc)],'pid':process[_0x53353f(0x1a3)]}),_0x1049e1),this;}async[_0x495a08(0x211)](){const _0xf9c47b=_0x495a08;if(this[_0xf9c47b(0x20d)]?.[_0xf9c47b(0x1ed)])await new Promise(_0xe0c705=>this[_0xf9c47b(0x20d)]['close'](_0xe0c705));for(const _0x15b6a7 of[this['receiptFile'],this[_0xf9c47b(0x1cf)]])try{fs[_0xf9c47b(0x1b8)](_0x15b6a7);}catch(_0x39e789){if(_0x39e789[_0xf9c47b(0x1b0)]!=='ENOENT')throw _0x39e789;}}}async function prepareHookBinding(_0x3340ff,_0x5ae39f,_0x15b000={}){const _0x5bd156=_0x495a08,_0x73437e=_0x15b000['root']||rootFor();let _0x4affad;try{_0x4affad=fs['readdirSync'](_0x73437e)['filter'](_0x5e40eb=>/^[a-f0-9-]{36}\.json$/[_0x5bd156(0x1a6)](_0x5e40eb));}catch(_0x4c62a9){if(_0x4c62a9[_0x5bd156(0x1b0)]===_0x5bd156(0x1d5))return[];throw _0x4c62a9;}const _0x67c879=_0x5ae39f['arguments']?.[_0x5bd156(0x1e0)],_0x462f2b=typeof _0x67c879===_0x5bd156(0x19d)&&/^([a-f0-9-]{36})\.[A-Za-z0-9_-]{43}$/['exec'](_0x67c879)?.[0x1],_0x4bd694={};_0x4bd694[_0x5bd156(0x1af)]=_0x5bd156(0x210),_0x4bd694[_0x5bd156(0x1b0)]='GATEWAY_SELECTION_REQUIRED';if(!_0x462f2b)return[_0x4bd694];const _0x1fb46=[];for(const _0x6fa0cf of _0x4affad){const _0x16e56b=_0x6fa0cf[_0x5bd156(0x1e9)](0x0,-0x5);if(_0x16e56b!==_0x462f2b)continue;const _0x3b50d2=path[_0x5bd156(0x1a2)](_0x73437e,_0x6fa0cf),_0x4b55e9=path['join'](_0x73437e,_0x16e56b+_0x5bd156(0x1f1));let _0x4a9147,_0xb27f29;try{if(fs[_0x5bd156(0x202)](_0x3b50d2)[_0x5bd156(0x1d0)]()||fs[_0x5bd156(0x202)](_0x4b55e9)[_0x5bd156(0x1d0)]())continue;_0x4a9147=JSON['parse'](fs[_0x5bd156(0x1f0)](_0x3b50d2)),_0xb27f29=fs[_0x5bd156(0x1f0)](_0x4b55e9);if(_0x4a9147[_0x5bd156(0x1aa)]!==0x1||_0x4a9147['connectionId']!==_0x16e56b||_0x4a9147[_0x5bd156(0x1dc)]!=='claude'||_0xb27f29[_0x5bd156(0x1ef)]!==0x20)continue;}catch{continue;}const _0x473b5a={'protocol':0x2,'type':'hook-bind','connectionId':_0x16e56b,'nonce':crypto['randomUUID'](),'workspace':_0x3340ff,'nativeCaller':_0x5ae39f};_0x473b5a[_0x5bd156(0x1a4)]=signEnvelope(_0xb27f29,_0x473b5a),_0x1fb46[_0x5bd156(0x1f9)](await new Promise(_0x5db9c9=>{const _0x5bf12a=_0x5bd156,_0x115d56=net[_0x5bf12a(0x1a7)](_0x4a9147[_0x5bf12a(0x19f)]);let _0x5b507c='';const _0x51ceff=_0x5b20a1=>{const _0x181e28=_0x5bf12a;_0x115d56[_0x181e28(0x1c6)](),_0x5db9c9(_0x5b20a1);},_0xc669e={};_0xc669e[_0x5bf12a(0x1af)]=_0x5bf12a(0x210),_0xc669e[_0x5bf12a(0x1b0)]=_0x5bf12a(0x1db),_0x115d56['setTimeout'](Math[_0x5bf12a(0x1eb)](0x1,Math[_0x5bf12a(0x1e1)](0x2710,_0x15b000[_0x5bf12a(0x1be)]?.[_0x5bf12a(0x19a)]()||0x2710)),()=>_0x51ceff(_0xc669e));const _0x1170e9={};_0x1170e9['status']=_0x5bf12a(0x203),_0x115d56['on'](_0x5bf12a(0x1ba),()=>_0x51ceff(_0x1170e9)),_0x115d56['on']('connect',()=>_0x115d56[_0x5bf12a(0x1d9)](JSON[_0x5bf12a(0x1fb)](_0x473b5a)+'\x0a')),_0x115d56['on'](_0x5bf12a(0x198),_0xb09319=>{const _0x4c7d99=_0x5bf12a;_0x5b507c+=_0xb09319;const _0x36fdf2={};_0x36fdf2['status']='failed',_0x36fdf2[_0x4c7d99(0x1b0)]=_0x4c7d99(0x1fd);if(_0x5b507c[_0x4c7d99(0x1ef)]>0x2000)return _0x51ceff(_0x36fdf2);const _0x3f7fac=_0x5b507c[_0x4c7d99(0x1ff)]('\x0a');if(_0x3f7fac<0x0)return;let _0x5a1854;try{_0x5a1854=JSON['parse'](_0x5b507c[_0x4c7d99(0x1e9)](0x0,_0x3f7fac));}catch{const _0x50cab1={};return _0x50cab1['status']='failed',_0x51ceff(_0x50cab1);}const _0x4b6ed2={};_0x4b6ed2[_0x4c7d99(0x1af)]=_0x4c7d99(0x210),_0x4b6ed2['code']=_0x4c7d99(0x1fd);if(!verifyEnvelope(_0xb27f29,_0x5a1854,new Set(),_0x16e56b)||_0x5a1854[_0x4c7d99(0x1c0)]!==_0x473b5a[_0x4c7d99(0x1c0)])return _0x51ceff(_0x4b6ed2);_0x51ceff(_0x5a1854);});}));}return _0x1fb46;}const _0x27a4da={};_0x27a4da['GatewayContext']=GatewayContext,_0x27a4da[_0x495a08(0x1fe)]=prepareHookBinding,module['exports']=_0x27a4da;