@evomap/evolver-proxy 2.0.42 → 2.0.44

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 (36) hide show
  1. package/dist/bin/evolver-proxy.d.ts +3 -1
  2. package/dist/bin/evolver-proxy.js +4 -1
  3. package/dist/daemon/proxyDaemon.d.ts +9 -1
  4. package/dist/daemon/proxyDaemon.js +119 -12
  5. package/dist/daemon/publishBindingLedger.js +5 -0
  6. package/dist/lifecycle/claimNudge.js +1 -1
  7. package/dist/lifecycle/deployGuard.js +1 -1
  8. package/dist/lifecycle/legacyNodeId.js +1 -1
  9. package/dist/lifecycle/manager.js +1 -1
  10. package/dist/llm/bodyCapture.js +293 -1
  11. package/dist/llm/index.js +1 -1
  12. package/dist/llm/server.js +1 -1
  13. package/dist/llm/traceBackfill.js +1 -1
  14. package/dist/llm/traceConfig.js +1 -1
  15. package/dist/llm/traceControl.js +1 -1
  16. package/dist/llm/traceEnvelope.js +1 -1
  17. package/dist/llm/traceSink.js +1 -1
  18. package/dist/llm/traceUploadPayload.js +1 -1
  19. package/dist/llm/upstream.js +1 -1
  20. package/dist/private/adapterLoader.d.ts +13 -0
  21. package/dist/private/adapterLoader.js +13 -0
  22. package/dist/router/cachePassthrough.js +1 -1
  23. package/dist/router/features.js +1 -1
  24. package/dist/router/index.js +1 -1
  25. package/dist/router/messagesRoute.js +1 -1
  26. package/dist/router/modelRouter.js +1 -1
  27. package/dist/router/providerRoutes.js +1 -1
  28. package/dist/router/sseScan.js +1 -1
  29. package/dist/selfUpdate/bootstrap.d.ts +3 -0
  30. package/dist/selfUpdate/bootstrap.js +33 -7
  31. package/dist/selfUpdate/legacyLaunchdAbsentServiceBlock.d.ts +10 -0
  32. package/dist/selfUpdate/legacyLaunchdAbsentServiceBlock.js +39 -0
  33. package/dist/selfUpdate/migration.d.ts +5 -0
  34. package/dist/selfUpdate/migration.js +108 -9
  35. package/dist/sync/engine.js +1 -1
  36. package/package.json +3 -3
@@ -1 +1 @@
1
- const _0x474753=_0x5ecd;function _0x47e2(){const _0x460c5f=['\x6d\x43\x6f\x66\x57\x4f\x5a\x64\x47\x74\x74\x63\x52\x6d\x6b\x74\x67\x4b\x79','\x57\x4f\x35\x57\x57\x37\x48\x47','\x65\x6d\x6f\x6a\x62\x61','\x57\x52\x35\x52\x43\x38\x6b\x77\x57\x36\x58\x47\x57\x34\x6d\x34','\x6d\x32\x38\x2f\x57\x36\x4f\x64\x44\x47','\x79\x58\x78\x63\x47\x43\x6b\x4d\x57\x50\x4b','\x77\x4a\x78\x64\x4c\x67\x48\x54\x71\x64\x57','\x57\x4f\x4e\x64\x56\x68\x6e\x7a\x6f\x38\x6f\x33\x73\x4d\x62\x50\x57\x35\x44\x45\x6e\x47','\x79\x30\x74\x64\x54\x48\x65','\x57\x37\x47\x4a\x64\x43\x6f\x6d\x6d\x61\x66\x50\x78\x6d\x6f\x75\x57\x52\x43','\x7a\x43\x6b\x61\x57\x35\x52\x64\x54\x4a\x4e\x63\x4d\x6d\x6b\x4f\x6c\x71','\x77\x32\x66\x51\x57\x52\x66\x45\x57\x34\x52\x64\x4a\x53\x6f\x35','\x72\x4c\x4a\x64\x48\x53\x6b\x68','\x73\x4d\x76\x53\x57\x52\x61','\x57\x37\x68\x63\x54\x43\x6b\x48\x57\x34\x70\x64\x55\x43\x6b\x47\x57\x37\x65','\x77\x73\x68\x64\x4a\x73\x35\x30\x57\x34\x78\x64\x53\x67\x75','\x57\x4f\x5a\x63\x49\x57\x57\x45','\x75\x4c\x7a\x76\x57\x4f\x54\x42','\x57\x36\x52\x63\x52\x53\x6b\x2b\x57\x34\x2f\x64\x4b\x38\x6b\x55','\x57\x36\x74\x63\x48\x53\x6f\x76\x67\x53\x6b\x78\x69\x47','\x57\x52\x70\x63\x56\x57\x78\x64\x4c\x32\x44\x49','\x57\x50\x79\x31\x57\x51\x37\x63\x4a\x43\x6b\x4a\x57\x4f\x65\x78\x68\x61','\x66\x73\x76\x49\x57\x35\x42\x63\x49\x57','\x57\x52\x30\x4e\x57\x50\x38\x32\x57\x37\x68\x63\x4b\x74\x64\x63\x4f\x57','\x42\x67\x6c\x63\x50\x38\x6f\x51','\x57\x35\x33\x63\x49\x67\x66\x33\x64\x38\x6b\x30\x57\x52\x68\x63\x4c\x61','\x57\x35\x75\x66\x57\x51\x4b\x66\x57\x34\x46\x63\x54\x31\x34','\x64\x6d\x6f\x41\x68\x53\x6f\x70','\x69\x48\x74\x63\x54\x76\x7a\x73\x65\x75\x4e\x64\x49\x78\x76\x62\x57\x37\x48\x54','\x57\x37\x33\x63\x4a\x43\x6b\x71\x79\x6d\x6f\x52\x7a\x43\x6b\x56','\x57\x35\x64\x63\x49\x67\x54\x30\x6f\x43\x6b\x36\x57\x51\x61','\x57\x34\x72\x5a\x57\x4f\x2f\x63\x53\x53\x6b\x6b\x57\x51\x53\x33\x70\x61','\x57\x37\x74\x64\x47\x47\x62\x4f\x76\x38\x6f\x50\x57\x51\x46\x63\x4d\x71','\x7a\x72\x52\x63\x4a\x6d\x6b\x52','\x43\x6d\x6b\x78\x57\x34\x46\x64\x51\x64\x30','\x57\x36\x39\x48\x57\x52\x34\x69\x57\x34\x2f\x63\x52\x49\x52\x64\x47\x71','\x57\x37\x70\x64\x49\x4d\x74\x63\x54\x33\x6d','\x68\x63\x4a\x64\x49\x53\x6b\x74\x63\x38\x6b\x59\x41\x43\x6f\x70\x75\x6d\x6f\x48\x6f\x53\x6b\x50','\x76\x58\x6c\x64\x4e\x66\x4f','\x57\x36\x78\x64\x48\x47\x39\x4f\x43\x53\x6f\x4f\x57\x51\x68\x63\x4a\x61','\x67\x59\x56\x64\x4a\x6d\x6b\x73\x77\x6d\x6f\x48\x77\x43\x6f\x71\x77\x43\x6f\x45','\x6e\x4e\x78\x63\x55\x6d\x6f\x4f\x6b\x53\x6f\x37\x43\x66\x34','\x65\x68\x6a\x5a\x57\x52\x6a\x66\x57\x34\x37\x64\x4a\x6d\x6b\x6c','\x57\x36\x7a\x61\x6d\x67\x71','\x57\x50\x69\x76\x6a\x71','\x7a\x30\x64\x64\x50\x47\x34\x65\x71\x4c\x78\x63\x52\x71','\x72\x53\x6f\x74\x46\x4a\x4a\x64\x4b\x77\x37\x63\x4e\x38\x6b\x6e\x57\x37\x70\x63\x48\x53\x6f\x73\x57\x35\x68\x63\x51\x61','\x57\x37\x33\x63\x55\x59\x69\x62\x79\x76\x58\x57\x57\x36\x65','\x74\x4c\x72\x68\x57\x36\x33\x63\x4d\x58\x37\x63\x55\x33\x38','\x6b\x49\x42\x63\x54\x38\x6f\x48\x6b\x43\x6f\x56\x42\x32\x57','\x57\x36\x6c\x63\x4c\x53\x6f\x64\x65\x43\x6b\x74','\x57\x37\x4e\x63\x4e\x43\x6f\x64\x66\x53\x6b\x4d\x6c\x66\x61','\x57\x50\x75\x70\x57\x52\x53\x70\x57\x37\x78\x63\x56\x30\x4f','\x66\x61\x66\x32\x57\x36\x4e\x63\x49\x47','\x57\x36\x46\x64\x4f\x66\x2f\x63\x4b\x77\x7a\x33\x57\x35\x62\x36\x71\x53\x6f\x61','\x64\x38\x6f\x6d\x57\x4f\x52\x64\x56\x6d\x6b\x54\x57\x51\x57\x37\x44\x47','\x57\x51\x43\x66\x44\x5a\x50\x6d\x65\x48\x72\x48\x61\x76\x64\x64\x48\x6d\x6b\x4a','\x57\x37\x4a\x63\x54\x4b\x48\x64\x65\x4b\x66\x6f\x57\x34\x4f','\x57\x37\x57\x54\x6b\x6d\x6f\x73\x57\x52\x4b\x30\x57\x37\x43\x56\x57\x51\x75\x74\x57\x52\x62\x42','\x57\x52\x42\x63\x55\x48\x4f\x62\x41\x66\x48\x6a','\x57\x50\x62\x6c\x57\x51\x50\x41','\x6b\x73\x64\x64\x56\x6d\x6b\x57\x44\x38\x6b\x4f\x72\x4d\x4f\x43\x43\x6d\x6b\x71\x7a\x47','\x61\x6d\x6f\x67\x57\x37\x78\x64\x55\x53\x6f\x77\x57\x35\x58\x76\x65\x4d\x71','\x46\x53\x6b\x4e\x6a\x43\x6f\x33\x57\x51\x72\x4f\x64\x61','\x57\x4f\x50\x73\x57\x37\x47\x7a\x57\x35\x33\x63\x4a\x4e\x31\x70\x63\x61','\x42\x43\x6b\x49\x57\x50\x79\x6b\x41\x71','\x57\x51\x5a\x64\x4b\x43\x6f\x4b\x44\x38\x6f\x4b\x57\x36\x39\x67\x57\x35\x61','\x57\x50\x42\x63\x55\x53\x6b\x56\x57\x51\x68\x63\x56\x57','\x66\x53\x6f\x68\x65\x38\x6f\x68\x57\x52\x74\x64\x4c\x38\x6f\x50','\x57\x50\x33\x64\x48\x53\x6b\x4a\x57\x52\x5a\x64\x4d\x71\x42\x63\x49\x4b\x7a\x72\x57\x50\x47','\x7a\x43\x6b\x61\x57\x35\x52\x64\x54\x59\x37\x63\x4a\x43\x6b\x73','\x6c\x6d\x6f\x37\x57\x35\x31\x6d\x6f\x74\x2f\x63\x51\x4a\x76\x47\x57\x34\x34\x6a\x57\x35\x68\x64\x4a\x61','\x77\x4a\x56\x64\x4e\x77\x47','\x67\x71\x4e\x63\x4e\x38\x6f\x75\x57\x37\x42\x63\x55\x43\x6b\x66\x41\x47\x2f\x63\x4b\x43\x6b\x4c\x76\x47','\x78\x68\x4e\x63\x4d\x6d\x6f\x68\x44\x71','\x57\x34\x35\x6d\x79\x64\x57\x4a\x57\x37\x4e\x63\x4f\x49\x42\x64\x4f\x47','\x57\x52\x56\x64\x54\x66\x72\x64','\x57\x52\x39\x59\x77\x43\x6b\x46\x70\x47'];_0x47e2=function(){return _0x460c5f;};return _0x47e2();}(function(_0x341020,_0x4886c8){const _0x20aae7=_0x5ecd,_0x18e0ca=_0x341020();while(!![]){try{const _0x24b037=parseInt(_0x20aae7(0x94,'\x43\x62\x36\x58'))/(-0x268c+-0x10*0x9d+0x101f*0x3)*(-parseInt(_0x20aae7(0xca,'\x6e\x21\x33\x7a'))/(0x1ca*0x4+0xae*-0x7+0x264*-0x1))+parseInt(_0x20aae7(0xb0,'\x4a\x59\x65\x6c'))/(-0xdab+-0x236d+0x311b)+parseInt(_0x20aae7(0x9d,'\x32\x25\x53\x38'))/(0x46c+-0x15af*0x1+0x1147)*(parseInt(_0x20aae7(0x91,'\x46\x52\x78\x4b'))/(-0x7*0x418+0xf95*0x1+0x4*0x346))+-parseInt(_0x20aae7(0x83,'\x4c\x57\x67\x70'))/(-0x20*-0x107+-0x2*0xa5a+-0xc26)*(parseInt(_0x20aae7(0xb7,'\x59\x56\x24\x43'))/(-0x64*-0x1d+0x24b9+-0x3006))+-parseInt(_0x20aae7(0xce,'\x42\x44\x7a\x42'))/(-0x53*-0x11+-0xd85+-0x2*-0x405)*(-parseInt(_0x20aae7(0x85,'\x38\x77\x71\x32'))/(0x13d+-0xd29+0xbf5))+parseInt(_0x20aae7(0xcd,'\x53\x47\x75\x35'))/(-0x96b*-0x3+-0x1*-0x1981+0x18*-0x23d)*(-parseInt(_0x20aae7(0x8f,'\x24\x79\x6e\x45'))/(-0x61*-0x4a+-0x1f66+0x367))+parseInt(_0x20aae7(0x8d,'\x5e\x49\x77\x42'))/(-0x67*0x4a+0x3*-0x803+0x35db)*(parseInt(_0x20aae7(0xc5,'\x4c\x57\x67\x70'))/(0x694+-0x1362+0xcdb));if(_0x24b037===_0x4886c8)break;else _0x18e0ca['push'](_0x18e0ca['shift']());}catch(_0x486711){_0x18e0ca['push'](_0x18e0ca['shift']());}}}(_0x47e2,-0xc1*-0x295+0x27794+-0x2a51b));function _0x5ecd(_0x5cb9ae,_0x5b9cf4){_0x5cb9ae=_0x5cb9ae-(0x1f8c*0x1+-0x683+-0x1886);const _0x45a6b5=_0x47e2();let _0x5ed11c=_0x45a6b5[_0x5cb9ae];if(_0x5ecd['\x6c\x4a\x44\x53\x4f\x49']===undefined){var _0x37de30=function(_0x344e1a){const _0x5ee184='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0x45c588='',_0x21b486='';for(let _0x5166c5=-0xe6+-0x1*-0x63d+0x557*-0x1,_0x385910,_0x1f2274,_0x3d5340=-0x1*0x256d+0x2535+0x38;_0x1f2274=_0x344e1a['\x63\x68\x61\x72\x41\x74'](_0x3d5340++);~_0x1f2274&&(_0x385910=_0x5166c5%(-0x1c38+-0x1343+-0x1*-0x2f7f)?_0x385910*(0x9*0xc7+0x1692+-0x1d51*0x1)+_0x1f2274:_0x1f2274,_0x5166c5++%(-0x227+-0x1*-0x1425+-0x11fa))?_0x45c588+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](-0x7d*0x1d+0x7*0x41b+-0xd95&_0x385910>>(-(0x6*0x4b4+0x7e7+0x5*-0x739)*_0x5166c5&-0x18dc+0x3f5*0x9+-0xabb)):-0x9*0x409+0x134a+-0x5ad*-0x3){_0x1f2274=_0x5ee184['\x69\x6e\x64\x65\x78\x4f\x66'](_0x1f2274);}for(let _0x46f07b=0x2543+-0x14c5+0x107e*-0x1,_0x3491ff=_0x45c588['\x6c\x65\x6e\x67\x74\x68'];_0x46f07b<_0x3491ff;_0x46f07b++){_0x21b486+='\x25'+('\x30\x30'+_0x45c588['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x46f07b)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](-0x131+0x54*-0xd+-0x585*-0x1))['\x73\x6c\x69\x63\x65'](-(0x82+-0x40d+0x3*0x12f));}return decodeURIComponent(_0x21b486);};const _0x13a159=function(_0x264062,_0x721f76){let _0x28f507=[],_0xcbda50=-0x25e*0x3+0x1f02+-0x17e8,_0x3e7f0f,_0x187ed1='';_0x264062=_0x37de30(_0x264062);let _0x46e050;for(_0x46e050=-0x11*0x23b+0x1*0xdcb+-0x304*-0x8;_0x46e050<-0x2a*0xb9+-0x35c*0x7+0x36de;_0x46e050++){_0x28f507[_0x46e050]=_0x46e050;}for(_0x46e050=-0x1781+0x25bd*0x1+0x2*-0x71e;_0x46e050<-0x1cbb+-0x93e+0x1*0x26f9;_0x46e050++){_0xcbda50=(_0xcbda50+_0x28f507[_0x46e050]+_0x721f76['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x46e050%_0x721f76['\x6c\x65\x6e\x67\x74\x68']))%(0xf03+0x396*0x2+-0x152f),_0x3e7f0f=_0x28f507[_0x46e050],_0x28f507[_0x46e050]=_0x28f507[_0xcbda50],_0x28f507[_0xcbda50]=_0x3e7f0f;}_0x46e050=0xcdf+0x14cd+-0x21ac,_0xcbda50=0x6*-0xa7+-0x3f*0x90+0x275a;for(let _0x1032f1=-0xe8c+-0x324+0x11b0;_0x1032f1<_0x264062['\x6c\x65\x6e\x67\x74\x68'];_0x1032f1++){_0x46e050=(_0x46e050+(-0x1315+0x6*-0x27b+0x43f*0x8))%(0xce*0x18+0x257a+-0x37ca),_0xcbda50=(_0xcbda50+_0x28f507[_0x46e050])%(0xc2+-0xfbc+0xffa),_0x3e7f0f=_0x28f507[_0x46e050],_0x28f507[_0x46e050]=_0x28f507[_0xcbda50],_0x28f507[_0xcbda50]=_0x3e7f0f,_0x187ed1+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](_0x264062['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x1032f1)^_0x28f507[(_0x28f507[_0x46e050]+_0x28f507[_0xcbda50])%(0x1d65+0xee5+0x3*-0xe6e)]);}return _0x187ed1;};_0x5ecd['\x71\x6b\x50\x50\x54\x71']=_0x13a159,_0x5ecd['\x59\x50\x77\x45\x79\x4c']={},_0x5ecd['\x6c\x4a\x44\x53\x4f\x49']=!![];}const _0x13dce3=_0x45a6b5[-0x664+0x8f0+0xa3*-0x4],_0x592516=_0x5cb9ae+_0x13dce3,_0x41b41c=_0x5ecd['\x59\x50\x77\x45\x79\x4c'][_0x592516];return!_0x41b41c?(_0x5ecd['\x74\x4a\x4c\x75\x47\x4c']===undefined&&(_0x5ecd['\x74\x4a\x4c\x75\x47\x4c']=!![]),_0x5ed11c=_0x5ecd['\x71\x6b\x50\x50\x54\x71'](_0x5ed11c,_0x5b9cf4),_0x5ecd['\x59\x50\x77\x45\x79\x4c'][_0x592516]=_0x5ed11c):_0x5ed11c=_0x41b41c,_0x5ed11c;}import{existsSync,readFileSync}from'\x6e\x6f\x64\x65\x3a\x66\x73';import{homedir}from'\x6e\x6f\x64\x65\x3a\x6f\x73';import{dirname,isAbsolute,join}from'\x6e\x6f\x64\x65\x3a\x70\x61\x74\x68';import{fileURLToPath}from'\x6e\x6f\x64\x65\x3a\x75\x72\x6c';const NODE_ID_RE=/^node_[a-f0-9]{12,32}$/,PROXY_PACKAGE_NAME=_0x474753(0x88,'\x36\x45\x6d\x78')+_0x474753(0xab,'\x59\x56\x24\x43')+_0x474753(0xb8,'\x4d\x4a\x78\x42'),OUTER_INSTALL_PACKAGE_NAMES=new Set(['\x40\x65\x76\x6f\x6d\x61\x70\x2f'+_0x474753(0x8c,'\x43\x62\x36\x58'),_0x474753(0x9f,'\x79\x6d\x36\x58')+'\x76\x32']),MAX_PACKAGE_ROOT_DEPTH=0x1*-0x616+-0x9*-0x139+-0x4e3,_moduleDir=dirname(fileURLToPath(import.meta.url));function cleanAbsolutePath(_0x5a3dd7){const _0x3a2c22=_0x474753,_0x41710e=_0x5a3dd7?.[_0x3a2c22(0xac,'\x4c\x57\x67\x70')]();if(!_0x41710e)return undefined;return isAbsolute(_0x41710e)?_0x41710e:undefined;}function identityHomeCandidates(_0x5d2f84,_0x3ca663){const _0x1f47c9=_0x474753,_0x2bdddd=cleanAbsolutePath(_0x5d2f84[_0x1f47c9(0xb3,'\x71\x71\x65\x44')+'\x6d\x65\x44\x69\x72']);if(_0x2bdddd!==undefined)return[_0x2bdddd];const _0x30ef3a=[cleanAbsolutePath(process.env['EVOMAP_HOME']),cleanAbsolutePath(process.env['EVOLVER_HOME'])][_0x1f47c9(0xa8,'\x6e\x21\x33\x7a')](_0x36625f=>_0x36625f!==undefined);if(_0x30ef3a[_0x1f47c9(0x98,'\x38\x4d\x48\x39')]>-0x1a3f+-0x1*-0x1010+0x365*0x3)return _0x30ef3a;return _0x3ca663===undefined?[]:[join(_0x3ca663,_0x1f47c9(0xcf,'\x50\x38\x46\x71'))];}function packageNameAt(_0x3bc67e){const _0xaf84cb=_0x474753,_0x22080a=join(_0x3bc67e,_0xaf84cb(0xc1,'\x4a\x59\x65\x6c')+'\x6a\x73\x6f\x6e');if(!existsSync(_0x22080a))return undefined;try{if(_0xaf84cb(0x90,'\x57\x56\x4d\x5e')===_0xaf84cb(0x93,'\x32\x25\x53\x38')){const _0x816033=JSON[_0xaf84cb(0x87,'\x5e\x49\x77\x42')](readFileSync(_0x22080a,'\x75\x74\x66\x38'));return typeof _0x816033[_0xaf84cb(0xa0,'\x24\x79\x6e\x45')]===_0xaf84cb(0xa6,'\x32\x57\x76\x21')?_0x816033['\x6e\x61\x6d\x65']:undefined;}else{if(_0x5e51f7===_0x22e71f)_0x51b91f=!![];(_0x32ef00===_0x330ef0||_0xc1ee1a&&_0xaa498d['\x68\x61\x73'](_0x12fc3e))&&_0x9d24e7[_0xaf84cb(0x95,'\x34\x53\x49\x77')](_0x20c1cc(_0x130049,_0xaf84cb(0xbe,'\x79\x6d\x36\x58')+_0xaf84cb(0xb1,'\x40\x5e\x52\x70')));}}catch{if(_0xaf84cb(0xa5,'\x79\x6d\x36\x58')!==_0xaf84cb(0xaa,'\x68\x70\x48\x76'))_0x5b0442[_0xaf84cb(0xbf,'\x43\x66\x77\x6c')](_0x5372be(_0x3a67f4,'\x2e\x65\x76\x6f\x6d\x61\x70\x5f'+'\x6e\x6f\x64\x65\x5f\x69\x64'));else return undefined;}}function installRootNodeIdCandidates(_0x38b3ed){const _0x26f2cb=_0x474753,_0x835e3b=[];let _0x5a51ee=_0x38b3ed,_0x193ced=![];for(let _0x6227d9=-0x1db9+-0x10bd+0x13*0x272;_0x6227d9<MAX_PACKAGE_ROOT_DEPTH;_0x6227d9+=0x3ed+0x553+-0x93f){const _0x203c8a=packageNameAt(_0x5a51ee);if(_0x203c8a!==undefined){if(_0x203c8a===PROXY_PACKAGE_NAME)_0x193ced=!![];(_0x203c8a===PROXY_PACKAGE_NAME||_0x193ced&&OUTER_INSTALL_PACKAGE_NAMES[_0x26f2cb(0x96,'\x75\x6c\x6b\x21')](_0x203c8a))&&_0x835e3b[_0x26f2cb(0xd0,'\x34\x70\x43\x4d')](join(_0x5a51ee,_0x26f2cb(0xbd,'\x4c\x57\x67\x70')+_0x26f2cb(0xc7,'\x66\x35\x4d\x59')));}const _0x55ce72=dirname(_0x5a51ee);if(_0x55ce72===_0x5a51ee)break;_0x5a51ee=_0x55ce72;}return _0x835e3b;}export function legacyNodeIdCandidates(_0x594be0={}){const _0x4f1209=_0x474753,_0x37e514=cleanAbsolutePath(_0x594be0[_0x4f1209(0xa2,'\x32\x57\x76\x21')])??cleanAbsolutePath(homedir()),_0x1c5793=_0x594be0['\x6d\x6f\x64\x75\x6c\x65\x44\x69'+'\x72']??_moduleDir,_0x3e3fe8=identityHomeCandidates(_0x594be0,_0x37e514),_0x55cc18=cleanAbsolutePath(_0x594be0[_0x4f1209(0x9e,'\x43\x62\x36\x58')+_0x4f1209(0xc9,'\x68\x70\x48\x76')])??cleanAbsolutePath(process.env['EVOMAP_HOME']),_0x193c6e=cleanAbsolutePath(_0x594be0[_0x4f1209(0xcb,'\x75\x4f\x4d\x70')+'\x72'])??cleanAbsolutePath(process.env['EVOMAP_DIR']);return[...new Set([..._0x55cc18===undefined?[]:[join(_0x55cc18,_0x4f1209(0x9a,'\x25\x72\x72\x4b'))],..._0x193c6e===undefined?[]:[join(_0x193c6e,_0x4f1209(0xb2,'\x24\x73\x48\x68'))],..._0x3e3fe8['\x66\x69\x6c\x74\x65\x72'](_0x2710d9=>_0x2710d9!==_0x55cc18)[_0x4f1209(0xc0,'\x46\x52\x78\x4b')](_0x55db81=>join(_0x55db81,_0x4f1209(0xae,'\x4a\x69\x47\x5d'))),..._0x37e514===undefined?[]:[join(_0x37e514,_0x4f1209(0xc8,'\x4a\x69\x47\x5d'),_0x4f1209(0x8a,'\x75\x6c\x6b\x21'))],...installRootNodeIdCandidates(_0x1c5793)])];}export function readLegacyNodeId(_0x4454b4={}){const _0x30ac78=_0x474753,_0x2de541=_0x4454b4[_0x30ac78(0xb4,'\x35\x4f\x6c\x37')+'\x65\x73']??legacyNodeIdCandidates(_0x4454b4);for(const _0x50836d of _0x2de541){if(_0x30ac78(0x89,'\x64\x43\x71\x4b')!=='\x43\x46\x4e\x54\x6e'){const _0xa47958=_0x4731b5[_0x30ac78(0xb6,'\x43\x62\x36\x58')](_0x4f99ce(_0x388f7a,_0x30ac78(0xba,'\x5e\x50\x51\x46')));return typeof _0xa47958['\x6e\x61\x6d\x65']===_0x30ac78(0xa7,'\x66\x35\x4d\x59')?_0xa47958[_0x30ac78(0x8e,'\x25\x72\x72\x4b')]:_0xe4865;}else try{if(_0x30ac78(0xc6,'\x66\x35\x4d\x59')!==_0x30ac78(0x99,'\x5d\x65\x72\x29')){if(!existsSync(_0x50836d))continue;const _0x551204=readFileSync(_0x50836d,_0x30ac78(0xa4,'\x6c\x33\x31\x74'))[_0x30ac78(0xa1,'\x79\x6d\x36\x58')]();if(NODE_ID_RE[_0x30ac78(0x9c,'\x4a\x59\x65\x6c')](_0x551204))return _0x551204;}else return _0x1c93d9;}catch{}}return undefined;}export function resolveProxyNodeId(_0xafe621){const _0xead60e=_0x474753,_0x34cae8=_0xafe621[_0xead60e(0x97,'\x42\x44\x7a\x42')+_0xead60e(0xb5,'\x5d\x65\x72\x29')]?.[_0xead60e(0xaf,'\x75\x6c\x6b\x21')]()||undefined,_0x39e271=_0xafe621[_0xead60e(0xad,'\x24\x73\x48\x68')+_0xead60e(0xc3,'\x50\x38\x46\x71')]?.[_0xead60e(0x92,'\x53\x47\x75\x35')]()||undefined;return _0x34cae8??_0x39e271??(_0xafe621[_0xead60e(0xbb,'\x35\x4f\x6c\x37')+'\x63\x79']??readLegacyNodeId)();}
1
+ function _0x19cd(){const _0x5ce815=['\x57\x36\x66\x43\x57\x52\x72\x51\x57\x50\x65\x44\x74\x59\x69','\x57\x36\x6c\x64\x48\x57\x5a\x64\x4e\x4e\x54\x2b\x6d\x4e\x46\x63\x51\x43\x6f\x57\x57\x52\x6c\x64\x4e\x64\x53','\x57\x34\x48\x39\x57\x34\x61\x57\x57\x4f\x75','\x67\x62\x76\x79\x67\x38\x6f\x33\x44\x43\x6f\x59\x69\x71','\x57\x36\x30\x71\x6e\x38\x6b\x4c','\x73\x64\x53\x36\x6b\x48\x4f\x31\x78\x38\x6b\x55\x62\x4b\x34','\x6f\x72\x58\x2f\x57\x50\x46\x63\x54\x43\x6b\x78\x57\x35\x31\x4d','\x57\x34\x52\x64\x49\x38\x6b\x47\x57\x52\x71','\x57\x4f\x6d\x70\x62\x38\x6f\x42\x65\x6d\x6b\x33','\x45\x6d\x6f\x4b\x6d\x43\x6b\x62\x69\x74\x38\x39\x62\x38\x6b\x71\x7a\x71','\x57\x36\x46\x64\x52\x6d\x6f\x50\x74\x47','\x57\x34\x6c\x63\x4e\x4b\x4e\x64\x4c\x57','\x6c\x38\x6f\x6d\x57\x36\x31\x70','\x57\x50\x42\x64\x4a\x75\x39\x6c\x68\x48\x79\x34\x43\x47','\x57\x50\x30\x4f\x77\x73\x69','\x65\x75\x71\x42\x57\x4f\x62\x36\x57\x37\x70\x64\x56\x61','\x57\x36\x5a\x64\x55\x38\x6f\x52\x72\x59\x65\x53\x46\x47','\x57\x34\x66\x70\x6e\x6d\x6f\x39\x63\x53\x6b\x64\x57\x50\x6e\x70','\x71\x48\x58\x33\x57\x52\x79','\x57\x37\x70\x63\x53\x75\x46\x64\x47\x47','\x57\x4f\x42\x64\x4d\x65\x35\x44\x65\x48\x79\x78\x41\x71','\x57\x51\x79\x70\x57\x37\x58\x75\x63\x63\x69','\x73\x6d\x6b\x58\x57\x50\x69\x6e\x57\x37\x6a\x4b\x57\x4f\x76\x59\x72\x47','\x75\x43\x6b\x76\x57\x35\x46\x64\x4f\x74\x6e\x74\x62\x6d\x6b\x4e\x79\x47\x34','\x57\x35\x33\x64\x4d\x53\x6b\x67\x57\x51\x6a\x68\x62\x65\x74\x64\x49\x71','\x57\x52\x53\x44\x57\x50\x52\x63\x49\x43\x6f\x51\x57\x37\x54\x54','\x42\x76\x4c\x78\x57\x50\x2f\x63\x4d\x43\x6b\x39\x57\x36\x79\x63','\x57\x4f\x4f\x30\x6d\x6d\x6b\x4e\x65\x61','\x71\x38\x6f\x48\x57\x50\x42\x63\x49\x57','\x79\x38\x6f\x61\x57\x37\x46\x64\x4b\x53\x6f\x63\x6d\x47','\x63\x76\x70\x63\x50\x38\x6b\x32\x61\x38\x6b\x55\x57\x52\x48\x6b\x57\x37\x53','\x79\x53\x6f\x65\x61\x57','\x57\x4f\x39\x41\x6b\x4c\x4b\x45\x77\x48\x38\x45','\x57\x52\x75\x7a\x57\x36\x31\x47\x57\x50\x47\x50\x73\x47\x4a\x64\x51\x47','\x64\x72\x62\x4b\x62\x38\x6f\x32','\x64\x53\x6f\x70\x57\x4f\x56\x63\x53\x71\x50\x54\x6a\x71','\x44\x38\x6b\x4f\x57\x51\x42\x64\x4e\x6d\x6b\x64\x43\x66\x68\x64\x50\x61','\x57\x34\x57\x78\x57\x37\x43\x58','\x41\x43\x6b\x4d\x57\x51\x68\x64\x4b\x53\x6b\x39\x46\x4c\x61','\x57\x50\x53\x67\x57\x51\x2f\x64\x53\x47','\x57\x50\x43\x65\x6d\x68\x52\x63\x4e\x38\x6b\x2b\x77\x58\x69','\x62\x4c\x53\x58\x57\x36\x4a\x63\x50\x78\x33\x64\x53\x53\x6b\x4a\x57\x52\x4c\x55\x67\x71','\x44\x43\x6f\x71\x57\x37\x33\x63\x4e\x53\x6b\x72\x57\x34\x71','\x68\x48\x35\x34\x65\x53\x6f\x36\x44\x38\x6f\x6f\x6e\x57','\x57\x36\x68\x64\x49\x4e\x33\x63\x51\x74\x4f\x45\x73\x30\x53','\x57\x37\x66\x76\x57\x51\x7a\x68\x62\x72\x74\x63\x47\x6d\x6b\x2f\x57\x35\x38','\x64\x78\x4f\x31\x44\x32\x4a\x64\x53\x4e\x65\x59','\x46\x65\x50\x6c\x57\x4f\x43','\x41\x53\x6f\x62\x57\x35\x46\x64\x4d\x53\x6f\x73\x70\x59\x68\x64\x4c\x61','\x57\x37\x39\x79\x57\x35\x37\x63\x54\x33\x76\x70\x57\x4f\x78\x63\x50\x71','\x43\x43\x6f\x4e\x61\x32\x70\x64\x54\x49\x4b\x71\x57\x37\x46\x64\x54\x66\x38\x67','\x73\x61\x6c\x63\x48\x47\x70\x64\x4b\x6d\x6f\x50\x57\x37\x6a\x69\x73\x47','\x7a\x38\x6b\x69\x57\x51\x34\x74\x57\x36\x4c\x6b\x57\x37\x2f\x64\x4c\x62\x71\x48\x57\x34\x74\x63\x47\x6d\x6f\x73','\x74\x62\x6c\x64\x56\x6d\x6b\x44','\x57\x4f\x56\x63\x4a\x38\x6b\x78\x61\x68\x34\x57\x57\x36\x57','\x62\x53\x6b\x4e\x57\x34\x4e\x64\x4e\x53\x6f\x2f\x57\x34\x2f\x64\x53\x38\x6f\x31\x73\x47\x50\x59','\x75\x43\x6f\x6b\x57\x37\x42\x63\x55\x53\x6b\x67','\x57\x50\x7a\x65\x57\x51\x39\x49\x61\x38\x6b\x74\x57\x36\x42\x63\x50\x4b\x4c\x68\x57\x36\x38','\x57\x50\x35\x71\x6a\x76\x53\x37\x77\x61\x30\x6e','\x57\x50\x62\x71\x6c\x30\x47\x2b\x77\x4a\x57\x77','\x57\x52\x39\x42\x57\x34\x6c\x64\x50\x71','\x66\x4c\x2f\x64\x54\x5a\x33\x64\x4a\x71','\x78\x72\x42\x64\x55\x53\x6b\x44\x6f\x38\x6b\x6a\x57\x52\x4c\x55','\x68\x38\x6f\x53\x57\x36\x34\x2b','\x57\x50\x64\x63\x4d\x73\x62\x51','\x42\x38\x6b\x4f\x57\x52\x79','\x72\x53\x6f\x62\x57\x37\x4e\x63\x4d\x6d\x6b\x73\x57\x34\x6a\x72\x45\x57','\x6b\x6d\x6b\x2f\x76\x74\x70\x63\x4b\x62\x79\x33','\x57\x37\x4f\x64\x62\x6d\x6f\x4e\x75\x53\x6f\x55\x57\x37\x58\x6f\x57\x36\x76\x65\x72\x71','\x57\x50\x7a\x35\x57\x34\x71\x53\x57\x4f\x33\x63\x51\x30\x6e\x6d','\x57\x34\x7a\x4f\x43\x73\x48\x4b\x57\x37\x2f\x64\x4b\x38\x6b\x63','\x6c\x53\x6b\x58\x6f\x78\x42\x64\x53\x71\x46\x64\x4d\x66\x66\x58\x6b\x6d\x6b\x46\x57\x50\x47\x46','\x7a\x4b\x62\x43\x57\x50\x42\x63\x53\x6d\x6b\x58\x57\x37\x61','\x57\x36\x53\x6d\x57\x35\x53\x7a\x43\x71','\x6f\x38\x6b\x44\x72\x53\x6b\x42\x57\x50\x6d\x65\x57\x52\x50\x54\x57\x4f\x37\x63\x4a\x30\x69','\x57\x50\x4b\x30\x75\x49\x4c\x48\x57\x35\x4e\x64\x56\x47','\x57\x37\x37\x63\x4d\x30\x52\x63\x49\x73\x6d\x53\x43\x47','\x57\x36\x39\x4e\x73\x6d\x6f\x67\x79\x30\x7a\x7a\x57\x51\x33\x64\x4a\x73\x68\x64\x4c\x71','\x57\x35\x74\x64\x4e\x4e\x71\x75\x57\x34\x4a\x64\x48\x6d\x6f\x32\x57\x37\x4e\x63\x56\x61','\x57\x34\x71\x46\x57\x37\x79\x47\x76\x38\x6b\x4c','\x57\x36\x5a\x64\x55\x38\x6f\x52\x72\x59\x65\x53\x46\x53\x6b\x56','\x72\x48\x54\x54\x57\x52\x6d','\x75\x53\x6f\x75\x76\x6d\x6f\x48\x61\x47','\x57\x36\x58\x51\x74\x53\x6f\x67\x7a\x49\x6d\x54\x57\x50\x6c\x64\x4d\x49\x2f\x64\x54\x6d\x6f\x57\x78\x61','\x41\x6d\x6f\x66\x57\x36\x6c\x63\x4b\x47'];_0x19cd=function(){return _0x5ce815;};return _0x19cd();}const _0xaf4543=_0x1e38;(function(_0x2674d2,_0xaf6f96){const _0x2d48ab=_0x1e38,_0x7f5718=_0x2674d2();while(!![]){try{const _0xee1ca1=parseInt(_0x2d48ab(0x1f3,'\x49\x30\x38\x5e'))/(0x145d+-0x8ab+-0xbb1)*(-parseInt(_0x2d48ab(0x1d5,'\x42\x26\x5a\x58'))/(-0x1ef6+0x16*0x13+0x1d56))+parseInt(_0x2d48ab(0x1e2,'\x47\x34\x47\x4f'))/(-0x1336*0x1+-0x1398+0x26d1)*(-parseInt(_0x2d48ab(0x1f7,'\x6f\x25\x71\x65'))/(-0x6d*0x1+0x1a0+-0x12f*0x1))+parseInt(_0x2d48ab(0x203,'\x36\x70\x7a\x31'))/(-0x47*-0x3c+-0x54*-0x63+-0x311b)*(parseInt(_0x2d48ab(0x207,'\x6a\x59\x28\x25'))/(-0xedf*0x2+-0x162f+0x3ff*0xd))+-parseInt(_0x2d48ab(0x1db,'\x23\x4c\x4a\x5d'))/(-0x164e+0x18b+0x14ca)*(parseInt(_0x2d48ab(0x1d6,'\x42\x6c\x62\x4e'))/(0x877+-0x4*0x342+-0x1*-0x499))+parseInt(_0x2d48ab(0x1ff,'\x42\x26\x5a\x58'))/(0x580+0x198b+-0x15*0x17a)+parseInt(_0x2d48ab(0x1f6,'\x57\x33\x78\x33'))/(-0x16ec+0x1afc+-0x406)*(-parseInt(_0x2d48ab(0x1dc,'\x71\x74\x62\x48'))/(-0x40*0x6b+0x5*0x2d5+-0x42*-0x31))+parseInt(_0x2d48ab(0x1dd,'\x74\x78\x24\x62'))/(-0x58*0x1+-0x667*0x5+0x2067)*(parseInt(_0x2d48ab(0x204,'\x42\x57\x6b\x76'))/(-0x11eb+0x1*0x2569+-0x1371));if(_0xee1ca1===_0xaf6f96)break;else _0x7f5718['push'](_0x7f5718['shift']());}catch(_0x4bfdf9){_0x7f5718['push'](_0x7f5718['shift']());}}}(_0x19cd,-0x2f9a5*0x3+-0x3a*-0x2e09+0x3c8a9));import{existsSync,readFileSync}from'\x6e\x6f\x64\x65\x3a\x66\x73';function _0x1e38(_0x1d333b,_0x17195){_0x1d333b=_0x1d333b-(-0x2197+0xb82+-0x1*-0x17e1);const _0x24d8fa=_0x19cd();let _0x3d9405=_0x24d8fa[_0x1d333b];if(_0x1e38['\x53\x58\x67\x7a\x50\x77']===undefined){var _0x117369=function(_0x2c3ae7){const _0x4c709d='\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7a\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5a\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x2b\x2f\x3d';let _0x3fd100='',_0x1047af='';for(let _0x5eb32d=0x170e+0x1a45+-0x3*0x1071,_0x4271c0,_0x540442,_0x490f8a=-0x45+-0x21*0xe5+0x1dca;_0x540442=_0x2c3ae7['\x63\x68\x61\x72\x41\x74'](_0x490f8a++);~_0x540442&&(_0x4271c0=_0x5eb32d%(0x19b+0x57a+-0x25b*0x3)?_0x4271c0*(0x247c+-0x5*-0x75+-0x2685)+_0x540442:_0x540442,_0x5eb32d++%(0x263f*-0x1+-0x8af+0x2ef2))?_0x3fd100+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xcae*0x2+-0xed4+-0x1*0x989&_0x4271c0>>(-(0x422+0x1*-0x195c+0x153c)*_0x5eb32d&-0x3*-0x4ee+0x16e1+-0x1*0x25a5)):0x1b82+-0x17ba*0x1+0x8*-0x79){_0x540442=_0x4c709d['\x69\x6e\x64\x65\x78\x4f\x66'](_0x540442);}for(let _0x2094a1=-0x515+0x2*-0xa9+0x1*0x667,_0x284b7a=_0x3fd100['\x6c\x65\x6e\x67\x74\x68'];_0x2094a1<_0x284b7a;_0x2094a1++){_0x1047af+='\x25'+('\x30\x30'+_0x3fd100['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x2094a1)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x15b3+0xc25*0x1+0x439*-0x8))['\x73\x6c\x69\x63\x65'](-(0x2204+0x1*-0x2033+-0x1cf));}return decodeURIComponent(_0x1047af);};const _0x262b2b=function(_0x187cea,_0x3a20c7){let _0x3ec189=[],_0x2e14a8=-0x24a2+0x65+-0x1*-0x243d,_0x30f38c,_0x470134='';_0x187cea=_0x117369(_0x187cea);let _0x34a9b7;for(_0x34a9b7=0x243+-0x135e+0x111b;_0x34a9b7<-0x64e+-0x262+-0x50*-0x1f;_0x34a9b7++){_0x3ec189[_0x34a9b7]=_0x34a9b7;}for(_0x34a9b7=-0x4be+-0x3*0x132+0x2*0x42a;_0x34a9b7<0x20ff+0x1191*-0x1+-0x2*0x737;_0x34a9b7++){_0x2e14a8=(_0x2e14a8+_0x3ec189[_0x34a9b7]+_0x3a20c7['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x34a9b7%_0x3a20c7['\x6c\x65\x6e\x67\x74\x68']))%(0x10ff+0x186d+0x4*-0xa1b),_0x30f38c=_0x3ec189[_0x34a9b7],_0x3ec189[_0x34a9b7]=_0x3ec189[_0x2e14a8],_0x3ec189[_0x2e14a8]=_0x30f38c;}_0x34a9b7=0x1841+0x1*-0x16e9+-0x158,_0x2e14a8=-0xbb8+-0x55d+0x1115;for(let _0x19936b=-0x1c67+0x607*0x2+0x1059;_0x19936b<_0x187cea['\x6c\x65\x6e\x67\x74\x68'];_0x19936b++){_0x34a9b7=(_0x34a9b7+(0xd84+0x1523+-0x22a6))%(0x15ff*-0x1+0x21aa+-0x1*0xaab),_0x2e14a8=(_0x2e14a8+_0x3ec189[_0x34a9b7])%(0x9*0x1b3+-0x1*0x2069+0x121e),_0x30f38c=_0x3ec189[_0x34a9b7],_0x3ec189[_0x34a9b7]=_0x3ec189[_0x2e14a8],_0x3ec189[_0x2e14a8]=_0x30f38c,_0x470134+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](_0x187cea['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x19936b)^_0x3ec189[(_0x3ec189[_0x34a9b7]+_0x3ec189[_0x2e14a8])%(0x13*-0x197+0x4cf+-0x1*-0x1a66)]);}return _0x470134;};_0x1e38['\x67\x41\x51\x67\x57\x6b']=_0x262b2b,_0x1e38['\x69\x49\x67\x45\x74\x72']={},_0x1e38['\x53\x58\x67\x7a\x50\x77']=!![];}const _0x28d930=_0x24d8fa[0x4c8*-0x8+0xade+0x57a*0x5],_0x651907=_0x1d333b+_0x28d930,_0x26b353=_0x1e38['\x69\x49\x67\x45\x74\x72'][_0x651907];return!_0x26b353?(_0x1e38['\x6c\x4d\x53\x6d\x45\x6a']===undefined&&(_0x1e38['\x6c\x4d\x53\x6d\x45\x6a']=!![]),_0x3d9405=_0x1e38['\x67\x41\x51\x67\x57\x6b'](_0x3d9405,_0x17195),_0x1e38['\x69\x49\x67\x45\x74\x72'][_0x651907]=_0x3d9405):_0x3d9405=_0x26b353,_0x3d9405;}import{homedir}from'\x6e\x6f\x64\x65\x3a\x6f\x73';import{dirname,isAbsolute,join}from'\x6e\x6f\x64\x65\x3a\x70\x61\x74\x68';import{fileURLToPath}from'\x6e\x6f\x64\x65\x3a\x75\x72\x6c';const NODE_ID_RE=/^node_[a-f0-9]{12,32}$/,PROXY_PACKAGE_NAME=_0xaf4543(0x1eb,'\x77\x63\x30\x54')+_0xaf4543(0x1f9,'\x23\x62\x6d\x58')+'\x70\x72\x6f\x78\x79',OUTER_INSTALL_PACKAGE_NAMES=new Set(['\x40\x65\x76\x6f\x6d\x61\x70\x2f'+_0xaf4543(0x20e,'\x23\x62\x6d\x58'),_0xaf4543(0x218,'\x42\x57\x6b\x76')+'\x76\x32']),MAX_PACKAGE_ROOT_DEPTH=-0x112*0x1d+-0x1128+0x303a*0x1,_moduleDir=dirname(fileURLToPath(import.meta.url));function cleanAbsolutePath(_0x3c9545){const _0x37d9cb=_0xaf4543,_0x263508=_0x3c9545?.[_0x37d9cb(0x209,'\x26\x44\x5d\x4c')]();if(!_0x263508)return undefined;return isAbsolute(_0x263508)?_0x263508:undefined;}function identityHomeCandidates(_0x46bc84,_0x4d49ac){const _0xd2c217=_0xaf4543,_0x39070a=cleanAbsolutePath(_0x46bc84[_0xd2c217(0x1d1,'\x6c\x48\x24\x46')+_0xd2c217(0x1e6,'\x71\x74\x62\x48')]);if(_0x39070a!==undefined)return[_0x39070a];const _0x320c60=[cleanAbsolutePath(process.env['EVOMAP_HOME']),cleanAbsolutePath(process.env['EVOLVER_HOME'])][_0xd2c217(0x1f8,'\x47\x34\x47\x4f')](_0x5bdea9=>_0x5bdea9!==undefined);if(_0x320c60[_0xd2c217(0x21b,'\x75\x5e\x7a\x61')]>-0x1a72+0x222+0x2*0xc28)return _0x320c60;return _0x4d49ac===undefined?[]:[join(_0x4d49ac,_0xd2c217(0x1f5,'\x42\x26\x5a\x58'))];}function packageNameAt(_0x40f221){const _0x31f66f=_0xaf4543,_0x3800cf=join(_0x40f221,_0x31f66f(0x1cd,'\x34\x4c\x70\x59')+_0x31f66f(0x20c,'\x33\x4b\x40\x48'));if(!existsSync(_0x3800cf))return undefined;try{const _0x49edcd=JSON[_0x31f66f(0x220,'\x50\x77\x70\x76')](readFileSync(_0x3800cf,_0x31f66f(0x202,'\x36\x37\x6d\x47')));return typeof _0x49edcd[_0x31f66f(0x1ce,'\x47\x34\x47\x4f')]===_0x31f66f(0x206,'\x4f\x6e\x42\x6a')?_0x49edcd[_0x31f66f(0x1fd,'\x77\x63\x30\x54')]:undefined;}catch{if(_0x31f66f(0x1f2,'\x47\x34\x47\x4f')!=='\x49\x7a\x41\x4d\x43'){const _0x19cc69=_0x4f6057[_0x31f66f(0x200,'\x59\x56\x67\x76')](_0x36a02a(_0x545884,_0x31f66f(0x1e9,'\x6f\x25\x71\x65')));return typeof _0x19cc69[_0x31f66f(0x208,'\x23\x62\x6d\x58')]===_0x31f66f(0x1d3,'\x77\x63\x30\x54')?_0x19cc69[_0x31f66f(0x1e5,'\x37\x5d\x71\x41')]:_0x5934f5;}else return undefined;}}function installRootNodeIdCandidates(_0x56ccc3){const _0x41dcd5=_0xaf4543,_0x2de44e=[];let _0x169adf=_0x56ccc3,_0x49157c=![];for(let _0x1a1915=-0x201d+0x1*-0x1601+0x361e;_0x1a1915<MAX_PACKAGE_ROOT_DEPTH;_0x1a1915+=0x4ec+-0x1f94+0x8e3*0x3){if(_0x41dcd5(0x1fb,'\x40\x30\x71\x4d')!=='\x70\x78\x41\x51\x71'){const _0x19c24b=_0x651907[_0x41dcd5(0x216,'\x21\x69\x5b\x58')+_0x41dcd5(0x205,'\x21\x69\x5b\x58')]?.['\x74\x72\x69\x6d']()||_0x26b353,_0x405d77=_0x262b2b[_0x41dcd5(0x1d4,'\x50\x77\x70\x76')+_0x41dcd5(0x201,'\x50\x77\x70\x76')]?.[_0x41dcd5(0x21a,'\x6d\x4c\x36\x75')]()||_0x2c3ae7;return _0x19c24b??_0x405d77??(_0x4c709d[_0x41dcd5(0x1da,'\x21\x76\x4a\x53')+'\x63\x79']??_0x3fd100)();}else{const _0x4ae1a8=packageNameAt(_0x169adf);if(_0x4ae1a8!==undefined){if(_0x41dcd5(0x1e1,'\x77\x63\x30\x54')===_0x41dcd5(0x219,'\x57\x33\x78\x33')){if(_0x20854d===_0x223ebb)_0x27fe1a=!![];(_0x2cc79f===_0x10bc61||_0x83ae0b&&_0x431390[_0x41dcd5(0x1ea,'\x34\x4c\x70\x59')](_0x1339df))&&_0x418045[_0x41dcd5(0x210,'\x6b\x4d\x59\x30')](_0x279442(_0x5285a2,_0x41dcd5(0x1d7,'\x34\x4b\x6c\x5b')+_0x41dcd5(0x1f4,'\x33\x4b\x40\x48')));}else{if(_0x4ae1a8===PROXY_PACKAGE_NAME)_0x49157c=!![];(_0x4ae1a8===PROXY_PACKAGE_NAME||_0x49157c&&OUTER_INSTALL_PACKAGE_NAMES[_0x41dcd5(0x21d,'\x49\x30\x38\x5e')](_0x4ae1a8))&&_0x2de44e[_0x41dcd5(0x20a,'\x74\x78\x24\x62')](join(_0x169adf,_0x41dcd5(0x1ee,'\x59\x56\x67\x76')+_0x41dcd5(0x1f1,'\x42\x57\x6b\x76')));}}const _0x1195f6=dirname(_0x169adf);if(_0x1195f6===_0x169adf)break;_0x169adf=_0x1195f6;}}return _0x2de44e;}export function legacyNodeIdCandidates(_0x57a56d={}){const _0x225e24=_0xaf4543,_0x333ee4=cleanAbsolutePath(_0x57a56d[_0x225e24(0x20d,'\x43\x50\x48\x7a')])??cleanAbsolutePath(homedir()),_0x4007e0=_0x57a56d[_0x225e24(0x1e4,'\x32\x59\x45\x76')+'\x72']??_moduleDir,_0x5b4872=identityHomeCandidates(_0x57a56d,_0x333ee4),_0x403d88=cleanAbsolutePath(_0x57a56d[_0x225e24(0x1fe,'\x52\x6d\x6e\x41')+'\x6d\x65\x44\x69\x72'])??cleanAbsolutePath(process.env['EVOMAP_HOME']),_0x3fb7e7=cleanAbsolutePath(_0x57a56d[_0x225e24(0x1e7,'\x50\x54\x76\x32')+'\x72'])??cleanAbsolutePath(process.env['EVOMAP_DIR']);return[...new Set([..._0x403d88===undefined?[]:[join(_0x403d88,_0x225e24(0x1df,'\x32\x25\x2a\x7a'))],..._0x3fb7e7===undefined?[]:[join(_0x3fb7e7,_0x225e24(0x1ec,'\x23\x4c\x4a\x5d'))],..._0x5b4872[_0x225e24(0x213,'\x42\x6c\x62\x4e')](_0x262afa=>_0x262afa!==_0x403d88)['\x6d\x61\x70'](_0x582fbb=>join(_0x582fbb,_0x225e24(0x1cc,'\x59\x64\x49\x31'))),..._0x333ee4===undefined?[]:[join(_0x333ee4,_0x225e24(0x217,'\x69\x78\x79\x62'),_0x225e24(0x1cf,'\x34\x4c\x70\x59'))],...installRootNodeIdCandidates(_0x4007e0)])];}export function readLegacyNodeId(_0x475a50={}){const _0x450150=_0xaf4543,_0x35236b=_0x475a50[_0x450150(0x20b,'\x4c\x50\x5d\x4f')+'\x65\x73']??legacyNodeIdCandidates(_0x475a50);for(const _0x4a62e3 of _0x35236b){try{if(!existsSync(_0x4a62e3))continue;const _0x28c327=readFileSync(_0x4a62e3,_0x450150(0x211,'\x79\x47\x59\x4f'))[_0x450150(0x1d0,'\x67\x41\x46\x23')]();if(NODE_ID_RE[_0x450150(0x1d8,'\x42\x57\x6b\x76')](_0x28c327))return _0x28c327;}catch{}}return undefined;}export function resolveProxyNodeId(_0x1211a8){const _0x41d8c6=_0xaf4543,_0x49caf3=_0x1211a8[_0x41d8c6(0x212,'\x4c\x50\x5d\x4f')+_0x41d8c6(0x1e8,'\x73\x6b\x6f\x62')]?.[_0x41d8c6(0x1fa,'\x6b\x4d\x59\x30')]()||undefined,_0x190290=_0x1211a8[_0x41d8c6(0x1e3,'\x32\x59\x45\x76')+_0x41d8c6(0x1d9,'\x75\x5e\x7a\x61')]?.[_0x41d8c6(0x1de,'\x50\x54\x76\x32')]()||undefined;return _0x49caf3??_0x190290??(_0x1211a8[_0x41d8c6(0x21e,'\x32\x59\x45\x76')+'\x63\x79']??readLegacyNodeId)();}