test_research4 0.5.10 → 0.5.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +1 -1
- package/src/client.js +1 -1
- package/src/config.js +1 -1
- package/src/lib/OrgWatcher.js +1 -1
- package/src/lib/auditTrailDownloader.js +1 -1
- package/src/lib/handlerRegistry.js +1 -1
- package/src/lib/icons.js +1 -1
- package/src/lib/initialization.js +1 -1
- package/src/lib/logger.js +1 -1
- package/src/lib/mcpApps/manifest.js +1 -1
- package/src/lib/mcpApps/paths.js +1 -1
- package/src/lib/mcpApps/registerResources.js +1 -1
- package/src/lib/mcpApps/toolMeta.js +1 -1
- package/src/lib/networkUtils.js +1 -1
- package/src/lib/salesforceServices.js +1 -1
- package/src/lib/telemetry.js +1 -1
- package/src/lib/tempManager.js +1 -1
- package/src/lib/transport.js +1 -1
- package/src/lib/versionManager.js +1 -1
- package/src/mcp-server.js +1 -1
- package/src/prompts/apex_run_script.js +1 -1
- package/src/prompts/call_all_tools.js +1 -1
- package/src/prompts/org_onboarding.js +1 -1
- package/src/state.js +1 -1
- package/src/tools/apex_debug_logs.js +1 -1
- package/src/tools/deploy_metadata.js +1 -1
- package/src/tools/describe_object.js +1 -1
- package/src/tools/execute_queries_and_dml.js +1 -1
- package/src/tools/find_record.js +1 -1
- package/src/tools/generate_metadata.js +1 -1
- package/src/tools/get_apex_class_code_coverage.js +1 -1
- package/src/tools/get_recently_viewed_records.js +1 -1
- package/src/tools/get_record.js +1 -1
- package/src/tools/get_setup_audit_trail.js +1 -1
- package/src/tools/invoke_apex_rest_resource.js +1 -1
- package/src/tools/run_anonymous_apex.js +1 -1
- package/src/tools/run_apex_test.js +1 -1
- package/src/tools/run_apex_test.md.pam +1 -1
- package/src/tools/trigger_execution_order.js +1 -1
- package/src/tools/utils.js +1 -1
- package/src/utils.js +1 -1
package/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a0_0x5a1582=a0_0x52fd;function a0_0x8732(){const _0x255011=['\x69\x63\x62\x6d\x74\x30\x44\x46\x74\x65\x76\x77\x72\x71','\x42\x67\x76\x59\x44\x63\x57\x47\x79\x33\x6a\x50\x44\x61','\x79\x78\x6a\x4e\x44\x47','\x7a\x4b\x35\x5a\x41\x31\x79','\x43\x33\x62\x48\x79\x32\x75\x47\x43\x67\x66\x30\x41\x61','\x7a\x67\x4c\x56\x69\x67\x39\x59\x69\x67\x48\x30\x44\x61','\x78\x31\x62\x70\x75\x4c\x71\x47\x69\x63\x61\x47\x69\x61','\x7a\x78\x6d\x47\x76\x30\x39\x73\x73\x31\x6e\x71\x71\x71','\x69\x63\x61\x54\x6c\x77\x58\x56\x7a\x59\x31\x53\x7a\x71','\x43\x4e\x71\x53\x69\x67\x6e\x59\x41\x78\x72\x50\x79\x57','\x69\x67\x72\x4c\x79\x4e\x76\x4e','\x41\x77\x35\x4a\x42\x68\x76\x4b\x7a\x78\x6d','\x69\x63\x61\x54\x6c\x78\x62\x56\x43\x4e\x71\x47\x75\x61','\x6a\x33\x6e\x30\x7a\x67\x4c\x56\x6a\x59\x62\x56\x43\x47','\x42\x33\x6a\x4a\x7a\x73\x62\x64\x42\x32\x35\x30\x7a\x71','\x7a\x67\x76\x49\x44\x77\x43','\x42\x32\x35\x5a\x6f\x49\x62\x5a\x44\x67\x72\x50\x42\x57','\x43\x67\x66\x59\x79\x78\x72\x4c\x7a\x63\x4b','\x7a\x66\x7a\x6b\x73\x67\x4b','\x46\x64\x65\x30\x46\x64\x66\x38\x6e\x4e\x57\x58\x6e\x71','\x7a\x77\x76\x50\x77\x75\x71','\x73\x67\x6a\x31\x75\x30\x71','\x6c\x73\x31\x53\x42\x32\x43\x54\x42\x67\x76\x32\x7a\x71','\x69\x63\x61\x47\x69\x63\x61\x47\x76\x68\x6a\x48\x42\x47','\x76\x4b\x44\x49\x43\x67\x75','\x69\x63\x61\x47\x69\x63\x62\x69\x76\x66\x72\x71\x69\x61','\x44\x67\x39\x74\x44\x68\x6a\x50\x42\x4d\x43','\x43\x67\x66\x59\x43\x32\x75','\x72\x78\x48\x48\x42\x78\x62\x53\x7a\x78\x6d\x36','\x44\x63\x62\x30\x45\x78\x62\x4c\x6f\x49\x62\x5a\x44\x61','\x6c\x33\x62\x48\x44\x67\x47\x56\x44\x67\x38\x56\x43\x61','\x42\x67\x39\x4e\x74\x67\x76\x32\x7a\x77\x57','\x43\x32\x58\x50\x79\x32\x75','\x7a\x78\x6a\x59\x42\x33\x69','\x7a\x30\x4c\x4a\x7a\x66\x61','\x6d\x4a\x6a\x38\x6d\x74\x66\x38\x6d\x74\x6e\x38\x6d\x71','\x42\x33\x6a\x30\x69\x66\x72\x7a\x75\x65\x75\x53\x69\x61','\x72\x78\x6a\x59\x42\x33\x69\x47\x43\x33\x72\x48\x43\x47','\x46\x64\x44\x38\x6d\x74\x62\x38\x6f\x68\x57\x30\x46\x61','\x6c\x63\x61\x54\x43\x59\x61\x47\x69\x63\x61\x47\x69\x61','\x69\x67\x58\x4c\x44\x4d\x76\x53\x6f\x49\x61','\x41\x68\x72\x30\x43\x66\x62\x56\x43\x4e\x71','\x43\x33\x62\x53\x41\x78\x71','\x69\x66\x54\x70\x75\x66\x72\x6a\x74\x30\x35\x74\x78\x71','\x43\x4d\x39\x51\x7a\x77\x6e\x30\x69\x63\x30\x54\x43\x57','\x79\x77\x58\x4c\x43\x32\x7a\x56\x43\x4d\x6e\x4c\x69\x61','\x7a\x77\x7a\x48\x44\x77\x58\x30\x6f\x49\x61\x5a\x6d\x61','\x43\x4e\x71\x47\x41\x68\x72\x30\x43\x63\x61\x54\x6c\x71','\x7a\x67\x76\x55\x69\x67\x6a\x35\x69\x65\x6e\x6d\x73\x71','\x75\x4c\x71\x47\x69\x63\x61\x47\x69\x63\x61\x47\x69\x61','\x44\x67\x39\x6d\x42\x33\x44\x4c\x43\x4b\x6e\x48\x43\x57','\x69\x67\x39\x31\x44\x68\x62\x31\x44\x63\x61\x4f\x7a\x61','\x6d\x78\x57\x57\x46\x64\x72\x38\x6d\x33\x57\x59','\x69\x67\x66\x53\x42\x63\x62\x56\x44\x78\x72\x57\x44\x71','\x79\x32\x6e\x31\x43\x67\x4c\x4c\x7a\x63\x57\x47\x7a\x61','\x43\x33\x72\x48\x43\x4e\x72\x5a\x76\x32\x4c\x30\x41\x61','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x41\x77\x35\x4d\x42\x59\x4b','\x43\x67\x66\x59\x43\x32\x76\x6a\x42\x4e\x71','\x76\x4d\x66\x53\x41\x77\x71\x47\x42\x33\x62\x30\x41\x71','\x44\x68\x62\x48\x42\x4b\x6d','\x6d\x4a\x76\x38\x6d\x4a\x62\x38\x6d\x4a\x66\x38\x6d\x47','\x6c\x73\x31\x32\x7a\x78\x6a\x5a\x41\x77\x39\x55','\x44\x67\x4c\x55\x7a\x59\x62\x6a\x71\x4b\x30\x47\x75\x57','\x73\x32\x39\x5a\x42\x4b\x71','\x6e\x64\x65\x5a\x6d\x5a\x4b\x31\x73\x30\x50\x5a\x7a\x76\x7a\x48','\x41\x77\x35\x4d\x42\x59\x57\x47\x7a\x67\x76\x49\x44\x71','\x41\x4d\x39\x50\x42\x47','\x6c\x73\x31\x4f\x7a\x77\x58\x57','\x44\x63\x61\x4f\x42\x33\x7a\x4c\x43\x4e\x6a\x50\x7a\x61','\x43\x59\x61\x4f\x42\x33\x7a\x4c\x43\x4e\x6a\x50\x7a\x61','\x7a\x78\x48\x50\x44\x61','\x43\x4d\x76\x57\x42\x67\x66\x4a\x7a\x71','\x6d\x4a\x7a\x38\x6d\x74\x48\x38\x6d\x74\x4c\x38\x6d\x57','\x69\x63\x61\x54\x6c\x78\x6e\x50\x42\x67\x76\x55\x44\x61','\x44\x68\x6a\x48\x42\x4e\x6e\x57\x42\x33\x6a\x30','\x43\x67\x54\x6f\x75\x78\x79','\x45\x68\x71\x47\x44\x47','\x75\x4e\x76\x55\x69\x63\x69','\x6c\x78\x71\x47\x76\x66\x4c\x71\x72\x73\x61\x47\x69\x61','\x44\x63\x62\x54\x42\x32\x72\x4c\x6f\x49\x62\x30\x43\x47','\x79\x78\x72\x4f\x43\x57','\x79\x78\x76\x53\x44\x64\x4f\x47\x43\x33\x72\x4b\x41\x71','\x45\x4c\x48\x50\x7a\x66\x4b','\x69\x63\x62\x74\x41\x67\x39\x33\x69\x68\x7a\x4c\x43\x47','\x43\x4e\x71\x47\x43\x33\x72\x4b\x41\x77\x38','\x69\x63\x48\x4a\x42\x32\x31\x54\x79\x73\x31\x5a\x7a\x71','\x79\x77\x58\x4c\x43\x4e\x71','\x69\x63\x62\x74\x41\x67\x39\x33\x69\x68\x72\x4f\x41\x71','\x74\x33\x62\x30\x41\x77\x39\x55\x43\x5a\x4f','\x43\x32\x76\x59\x44\x4d\x76\x59\x6c\x4d\x50\x5a','\x43\x68\x62\x59\x7a\x78\x6e\x5a\x69\x67\x66\x53\x42\x61','\x6d\x5a\x65\x33\x6e\x5a\x43\x34\x6e\x4d\x35\x76\x76\x78\x72\x68\x42\x61','\x79\x77\x35\x5a\x43\x67\x39\x59\x44\x63\x62\x32\x79\x71','\x69\x66\x6e\x4c\x44\x63\x62\x69\x76\x66\x72\x71\x69\x61','\x6c\x49\x39\x5a\x43\x4d\x6d\x56\x42\x77\x6e\x57\x6c\x71','\x71\x30\x76\x46\x72\x4b\x39\x6d\x72\x65\x76\x73\x78\x57','\x69\x63\x62\x74\x7a\x78\x71\x47\x44\x32\x39\x59\x41\x57','\x43\x33\x62\x56\x43\x4e\x71\x47\x44\x68\x4c\x57\x7a\x71','\x43\x32\x4c\x56\x42\x49\x62\x50\x42\x4d\x7a\x56\x43\x47','\x42\x4d\x4c\x69\x45\x4e\x79','\x6d\x64\x61\x50','\x41\x68\x72\x30\x43\x61','\x43\x49\x57\x47\x44\x32\x66\x59\x42\x4d\x4c\x55\x7a\x57','\x69\x67\x58\x4c\x44\x4d\x76\x53\x6f\x49\x62\x4c\x42\x71','\x45\x4c\x72\x69\x45\x78\x43','\x6c\x73\x31\x57\x42\x33\x6a\x30','\x6d\x74\x43\x33\x6e\x64\x47\x35\x6d\x4b\x6a\x4e\x45\x67\x7a\x78\x71\x57','\x41\x77\x35\x4d\x42\x57','\x79\x32\x6e\x31\x43\x67\x4c\x4c\x7a\x63\x4b','\x69\x68\x44\x48\x43\x4d\x35\x50\x42\x4d\x43\x53\x69\x61','\x74\x63\x61\x47\x69\x63\x61\x47\x69\x63\x61\x47\x69\x61','\x79\x77\x6e\x4c\x69\x66\x62\x62\x76\x65\x48\x74\x6c\x61','\x72\x30\x66\x76\x7a\x78\x43','\x76\x77\x35\x52\x42\x4d\x39\x33\x42\x49\x62\x48\x43\x47','\x44\x31\x62\x6d\x75\x78\x47','\x69\x63\x44\x4f\x44\x68\x72\x57\x6a\x57','\x44\x32\x76\x6f\x75\x65\x57','\x6d\x5a\x71\x30\x74\x77\x48\x67\x44\x67\x31\x53','\x41\x77\x58\x4c\x42\x4e\x71','\x42\x4d\x39\x4b\x7a\x74\x50\x31\x43\x4d\x57','\x73\x33\x44\x4b\x77\x75\x57','\x75\x65\x66\x75\x73\x66\x6d\x50','\x42\x33\x69\x47\x42\x77\x39\x59\x7a\x73\x62\x50\x42\x47','\x6d\x4a\x65\x32\x6d\x74\x43\x58\x74\x68\x44\x77\x42\x76\x62\x77','\x42\x67\x39\x4e','\x6e\x64\x79\x58\x6e\x5a\x6d\x30\x42\x78\x44\x6e\x72\x67\x7a\x6a','\x73\x32\x48\x79\x73\x78\x4f','\x6c\x73\x31\x30\x43\x4d\x66\x55\x43\x33\x62\x56\x43\x47','\x44\x32\x39\x59\x41\x33\x6e\x57\x79\x77\x6e\x4c\x75\x61','\x44\x68\x72\x57\x69\x68\x72\x59\x79\x77\x35\x5a\x43\x61','\x74\x4c\x6e\x71\x74\x31\x6a\x75\x6b\x71','\x79\x4b\x72\x66\x73\x4e\x4f','\x6f\x49\x62\x5a\x44\x67\x72\x50\x42\x59\x62\x56\x43\x47','\x41\x77\x6e\x48\x42\x63\x57\x47\x7a\x78\x6a\x59\x42\x57','\x43\x4e\x7a\x4c\x43\x47','\x43\x67\x39\x59\x44\x63\x62\x4d\x42\x33\x69\x47\x41\x61','\x69\x63\x62\x74\x73\x75\x58\x66\x74\x4c\x71\x47\x69\x61','\x42\x77\x66\x30\x41\x77\x39\x55','\x73\x78\x62\x55\x72\x4d\x38','\x7a\x78\x7a\x4c\x42\x64\x4f\x47\x7a\x77\x31\x4c\x43\x47','\x69\x63\x61\x47\x69\x63\x62\x74\x41\x77\x58\x4c\x42\x47','\x44\x77\x75\x56\x6d\x73\x62\x30\x42\x59\x62\x5a\x44\x71','\x6d\x4a\x47\x57\x6e\x4a\x47\x30\x6e\x75\x35\x32\x71\x76\x50\x65\x72\x47','\x79\x33\x6a\x50\x44\x67\x4c\x4a\x79\x77\x57','\x42\x4d\x66\x54\x7a\x71','\x6c\x77\x58\x56\x7a\x59\x31\x53\x7a\x78\x7a\x4c\x42\x61','\x7a\x78\x6d\x47\x6c\x73\x31\x53\x42\x32\x43\x54\x42\x61','\x42\x32\x35\x5a\x6f\x49\x61','\x69\x63\x61\x47\x69\x63\x62\x6d\x42\x32\x43\x47\x42\x61','\x69\x63\x62\x78\x74\x31\x6a\x6c\x75\x31\x62\x62\x71\x57','\x7a\x77\x7a\x48\x44\x77\x58\x30\x6f\x49\x62\x4d\x79\x71','\x43\x32\x4c\x53\x7a\x77\x35\x30','\x69\x63\x62\x75\x43\x4d\x66\x55\x43\x33\x62\x56\x43\x47','\x6d\x4e\x57\x57\x46\x64\x69\x5a\x46\x64\x69\x30\x46\x61','\x72\x77\x35\x32\x41\x78\x6a\x56\x42\x4d\x31\x4c\x42\x47','\x76\x78\x6e\x48\x7a\x32\x75\x36','\x6d\x74\x62\x56\x73\x4b\x6e\x51\x73\x4e\x4b','\x69\x63\x62\x6e\x71\x31\x62\x46\x76\x66\x6a\x62\x74\x47','\x43\x32\x66\x4e\x7a\x71','\x69\x63\x30\x54\x41\x67\x76\x53\x43\x63\x69\x47\x7a\x47','\x43\x59\x62\x4f\x7a\x77\x58\x57\x69\x67\x31\x4c\x43\x57','\x42\x33\x6a\x30\x69\x63\x48\x48\x44\x78\x72\x56\x6c\x71','\x43\x33\x72\x4b\x41\x77\x38','\x42\x4e\x6e\x57\x42\x33\x6a\x30\x69\x68\x7a\x48\x42\x61','\x34\x50\x32\x6d\x69\x65\x76\x59\x43\x4d\x39\x59\x6f\x49\x62\x6a','\x7a\x4d\x4c\x55\x7a\x68\x6d\x47\x79\x78\x7a\x48\x41\x71','\x7a\x32\x76\x55\x79\x33\x4b\x53\x69\x67\x66\x53\x7a\x71','\x7a\x78\x6a\x4e\x7a\x77\x35\x4a\x45\x73\x57\x47\x79\x71','\x44\x4c\x72\x62\x75\x4e\x47','\x43\x67\x66\x4a\x41\x32\x66\x4e\x7a\x73\x35\x51\x43\x57','\x42\x4d\x39\x4b\x7a\x74\x50\x57\x79\x78\x72\x4f','\x6d\x74\x75\x35\x6d\x74\x47\x5a\x73\x4d\x4c\x4d\x75\x77\x66\x67','\x42\x67\x66\x49\x42\x67\x75\x47\x41\x77\x79\x47\x42\x57','\x44\x4d\x76\x53\x69\x65\x58\x66\x76\x4b\x76\x6d\x6c\x61','\x75\x76\x66\x76\x7a\x32\x79','\x7a\x78\x6d\x47\x74\x75\x6e\x71\x78\x31\x72\x73\x71\x71','\x69\x63\x30\x54\x44\x68\x6a\x48\x42\x4e\x6e\x57\x42\x57','\x42\x49\x57\x47\x6c\x78\x79\x47\x69\x63\x61\x47\x69\x61','\x46\x64\x65\x32\x46\x64\x76\x38\x6d\x74\x44\x38\x6f\x71','\x76\x4b\x6a\x6a\x76\x4e\x4b','\x6c\x77\x47\x47\x69\x63\x61\x47\x69\x63\x61\x47\x69\x61','\x69\x63\x31\x33\x69\x66\x62\x62\x76\x65\x48\x74\x69\x61','\x44\x32\x39\x59\x41\x33\x6e\x57\x79\x77\x6e\x4c\x69\x61','\x69\x63\x61\x54\x6c\x78\x72\x59\x79\x77\x35\x5a\x43\x61','\x69\x63\x61\x47\x75\x32\x76\x30\x69\x67\x58\x56\x7a\x57'];a0_0x8732=function(){return _0x255011;};return a0_0x8732();}function a0_0x52fd(_0x2375f7,_0x42cc30){_0x2375f7=_0x2375f7-0x91;const _0x873218=a0_0x8732();let _0x52fd9a=_0x873218[_0x2375f7];if(a0_0x52fd['\x5a\x55\x54\x74\x4d\x65']===undefined){var _0xc40eb6=function(_0x263dba){const _0x296614='\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 _0x4556ea='';let _0x458e62='';for(let _0x5193b5=0x0,_0x2a1837,_0x5e99b9,_0x57d3d4=0x0;_0x5e99b9=_0x263dba['\x63\x68\x61\x72\x41\x74'](_0x57d3d4++);~_0x5e99b9&&(_0x2a1837=_0x5193b5%0x4?_0x2a1837*0x40+_0x5e99b9:_0x5e99b9,_0x5193b5++%0x4)?_0x4556ea+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x2a1837>>(-0x2*_0x5193b5&0x6)):0x0){_0x5e99b9=_0x296614['\x69\x6e\x64\x65\x78\x4f\x66'](_0x5e99b9);}for(let _0xba9b2c=0x0,_0x2172f6=_0x4556ea['\x6c\x65\x6e\x67\x74\x68'];_0xba9b2c<_0x2172f6;_0xba9b2c++){_0x458e62+='\x25'+('\x30\x30'+_0x4556ea['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0xba9b2c)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x458e62);};a0_0x52fd['\x78\x6f\x77\x76\x49\x41']=_0xc40eb6;a0_0x52fd['\x6a\x4b\x71\x54\x50\x67']={};a0_0x52fd['\x5a\x55\x54\x74\x4d\x65']=!![];}const _0x511014=_0x873218[0x0];const _0x189a8a=_0x2375f7+_0x511014;const _0x43c9b1=a0_0x52fd['\x6a\x4b\x71\x54\x50\x67'][_0x189a8a];if(!_0x43c9b1){_0x52fd9a=a0_0x52fd['\x78\x6f\x77\x76\x49\x41'](_0x52fd9a);a0_0x52fd['\x6a\x4b\x71\x54\x50\x67'][_0x189a8a]=_0x52fd9a;}else{_0x52fd9a=_0x43c9b1;}return _0x52fd9a;}(function(_0x539ad6,_0xd1dd3){const _0x3f3088=a0_0x52fd;const _0x26cee3=_0x539ad6();while(!![]){try{const _0x5db754=-parseInt(_0x3f3088(0xf2))/0x1+-parseInt(_0x3f3088(0x94))/0x2*(-parseInt(_0x3f3088(0x12d))/0x3)+-parseInt(_0x3f3088(0x11c))/0x4+-parseInt(_0x3f3088(0x140))/0x5+parseInt(_0x3f3088(0x10d))/0x6+parseInt(_0x3f3088(0x12f))/0x7+parseInt(_0x3f3088(0x127))/0x8*(parseInt(_0x3f3088(0xa3))/0x9);if(_0x5db754===_0xd1dd3){break;}else{_0x26cee3['push'](_0x26cee3['shift']());}}catch(_0x2022a3){_0x26cee3['push'](_0x26cee3['shift']());}}}(a0_0x8732,0x48bcc));import{createLogger}from'\x2e\x2f\x73\x72\x63\x2f\x6c\x69\x62\x2f\x6c\x6f\x67\x67\x65\x72\x2e\x6a\x73';import{mcpServer,setupServer}from'\x2e\x2f\x73\x72\x63\x2f\x6d\x63\x70\x2d\x73\x65\x72\x76\x65\x72\x2e\x6a\x73';import{setSilent}from'\x2e\x2f\x73\x72\x63\x2f\x73\x74\x61\x74\x65\x2e\x6a\x73';function parseCliArguments(_0x5d6c82){const _0x162ddc=a0_0x52fd;const _0x24f639={'\x62\x44\x45\x4a\x7a':function(_0x304934,_0x54aaaa){return _0x304934===_0x54aaaa;},'\x56\x47\x62\x70\x65':function(_0x22bc80,_0x3c93c2){return _0x22bc80===_0x3c93c2;},'\x68\x4e\x47\x66\x69':_0x162ddc(0x131)+'\x74','\x4b\x68\x58\x49\x7a':function(_0x57efda,_0x59a71e){return _0x57efda+_0x59a71e;},'\x66\x4e\x73\x6b\x56':function(_0x5a6b11,_0x2f0a4){return _0x5a6b11===_0x2f0a4;},'\x63\x51\x7a\x6a\x67':function(_0x26f862,_0x3e88a1){return _0x26f862===_0x3e88a1;},'\x65\x65\x69\x59\x44':function(_0x5ceb30,_0x413aa9){return _0x5ceb30===_0x413aa9;},'\x4b\x77\x64\x59\x4c':'\x2d\x2d\x77\x6f\x72\x6b\x73\x70\x61\x63'+'\x65','\x55\x77\x4b\x76\x47':function(_0x24ad17,_0x4f7d79){return _0x24ad17===_0x4f7d79;}};const _0x4786ee={'\x74\x72\x61\x6e\x73\x70\x6f\x72\x74':null,'\x6c\x6f\x67\x4c\x65\x76\x65\x6c':null,'\x68\x74\x74\x70\x50\x6f\x72\x74':null,'\x77\x6f\x72\x6b\x73\x70\x61\x63\x65\x50\x61\x74\x68\x73':null};for(let _0x4d88ef=0x0;_0x4d88ef<_0x5d6c82[_0x162ddc(0xe9)];_0x4d88ef++){const _0x2cdc4f=_0x5d6c82[_0x4d88ef];if(_0x2cdc4f===_0x162ddc(0xf5)||_0x24f639[_0x162ddc(0x135)](_0x2cdc4f,'\x2d\x68')||_0x2cdc4f===_0x162ddc(0xef)||_0x2cdc4f==='\x2d\x76'){if(_0x2cdc4f==='\x2d\x68'){_0x4786ee[_0x162ddc(0xfc)]='\x2d\x2d\x68\x65\x6c\x70';}else if(_0x24f639[_0x162ddc(0xc9)](_0x2cdc4f,'\x2d\x76')){_0x4786ee['\x74\x72\x61\x6e\x73\x70\x6f\x72\x74']=_0x162ddc(0xef);}else{_0x4786ee[_0x162ddc(0xfc)]=_0x2cdc4f;}break;}if((_0x24f639[_0x162ddc(0xc9)](_0x2cdc4f,_0x24f639['\x68\x4e\x47\x66\x69'])||_0x24f639['\x56\x47\x62\x70\x65'](_0x2cdc4f,'\x2d\x74'))&&_0x24f639[_0x162ddc(0x130)](_0x4d88ef,0x1)<_0x5d6c82[_0x162ddc(0xe9)]){const _0x5368a8=_0x5d6c82[_0x4d88ef+0x1];if(_0x24f639[_0x162ddc(0xb4)](_0x5368a8,_0x162ddc(0x9a))||_0x24f639['\x63\x51\x7a\x6a\x67'](_0x5368a8,'\x68\x74\x74\x70')){_0x4786ee[_0x162ddc(0xfc)]='\x2d\x2d'+_0x5368a8;}else{throw new Error('\x49\x6e\x76\x61\x6c\x69\x64\x20\x74\x72'+_0x162ddc(0x10e)+'\x6c\x75\x65\x3a\x20'+_0x5368a8+('\x2e\x20\x4d\x75\x73\x74\x20\x62\x65\x20'+_0x162ddc(0xbe)+_0x162ddc(0x125)));}_0x4d88ef++;}else if((_0x24f639[_0x162ddc(0xc5)](_0x2cdc4f,_0x162ddc(0xc7)+'\x6c')||_0x2cdc4f==='\x2d\x6c')&&_0x4d88ef+0x1<_0x5d6c82['\x6c\x65\x6e\x67\x74\x68']){_0x4786ee[_0x162ddc(0xd0)]=_0x5d6c82[_0x4d88ef+0x1][_0x162ddc(0xe3)+'\x65']();_0x4d88ef++;}else if((_0x24f639['\x62\x44\x45\x4a\x7a'](_0x2cdc4f,_0x162ddc(0x11b))||_0x2cdc4f==='\x2d\x70')&&_0x24f639[_0x162ddc(0x130)](_0x4d88ef,0x1)<_0x5d6c82[_0x162ddc(0xe9)]){_0x4786ee['\x68\x74\x74\x70\x50\x6f\x72\x74']=Number[_0x162ddc(0xeb)](_0x5d6c82[_0x24f639[_0x162ddc(0x130)](_0x4d88ef,0x1)],0xa);_0x4d88ef++;}else if((_0x2cdc4f===_0x24f639[_0x162ddc(0x12a)]||_0x2cdc4f==='\x2d\x77')&&_0x4d88ef+0x1<_0x5d6c82[_0x162ddc(0xe9)]){_0x4786ee[_0x162ddc(0x132)+_0x162ddc(0x102)]=_0x5d6c82[_0x4d88ef+0x1];_0x4d88ef++;}else if(_0x2cdc4f==='\x2d\x2d\x73\x69\x6c\x65\x6e\x74'||_0x24f639['\x55\x77\x4b\x76\x47'](_0x2cdc4f,'\x2d\x73')){_0x4786ee[_0x162ddc(0x149)]=!![];}else if(_0x2cdc4f[_0x162ddc(0xe8)]('\x2d\x2d')||_0x2cdc4f[_0x162ddc(0xe8)]('\x2d')&&_0x2cdc4f[_0x162ddc(0xe9)]===0x2){throw new Error(_0x162ddc(0x123)+'\x67\x75\x6d\x65\x6e\x74\x3a\x20'+_0x2cdc4f);}}return _0x4786ee;}export async function main(_0x871c70){const _0x22d405=a0_0x52fd;const _0x1359e8={'\x52\x64\x48\x4a\x41':'\x6e\x6f\x64\x65\x3a\x66\x73','\x51\x51\x55\x67\x66':function(_0x2b1f5b,_0x6c6a3){return _0x2b1f5b(_0x6c6a3);},'\x7a\x58\x69\x64\x59':function(_0x4dd071,_0x1ccf02){return _0x4dd071===_0x1ccf02;},'\x76\x54\x41\x52\x78':'\x2d\x2d\x68\x65\x6c\x70','\x64\x56\x4a\x48\x69':_0x22d405(0xcd),'\x56\x42\x49\x56\x79':'\x20\x20\x4d\x43\x50\x5f\x48\x54\x54\x50'+_0x22d405(0xb7)+_0x22d405(0xca)+'\x70\x6f\x72\x74\x20\x66\x6f\x72\x20\x68'+'\x74\x74\x70\x20\x74\x72\x61\x6e\x73\x70'+_0x22d405(0x99)+_0x22d405(0x9d)+_0x22d405(0xa4)+_0x22d405(0xe7)+_0x22d405(0xdf)+_0x22d405(0x116),'\x7a\x6d\x69\x6f\x65':'\x20\x20\x2d\x2d\x68\x65\x6c\x70\x2c\x20'+_0x22d405(0xac)+_0x22d405(0x109)+_0x22d405(0x98)+_0x22d405(0x96),'\x77\x50\x4c\x51\x78':_0x22d405(0xbd)+'\x4f\x52\x54\x2c\x20\x2d\x70\x20\x50\x4f'+_0x22d405(0xe2)+_0x22d405(0x10f)+_0x22d405(0x139)+_0x22d405(0x133)+_0x22d405(0x99)+_0x22d405(0x9d)+_0x22d405(0xa4)+_0x22d405(0x11e),'\x77\x65\x4e\x50\x4c':'\x4f\x4c\x77\x59\x45','\x7a\x54\x48\x79\x77':function(_0x2e8b86,_0x5c13bc){return _0x2e8b86!==_0x5c13bc;},'\x49\x70\x6e\x46\x6f':_0x22d405(0x122),'\x74\x70\x61\x6e\x43':_0x22d405(0x9a),'\x6e\x69\x48\x7a\x76':function(_0x3407f9,_0x427530){return _0x3407f9!==_0x427530;},'\x4b\x6f\x73\x6e\x44':_0x22d405(0x117),'\x67\x49\x63\x64\x50':_0x22d405(0x108),'\x58\x59\x4d\x78\x6d':'\x65\x6d\x65\x72\x67\x65\x6e\x63\x79','\x48\x62\x75\x53\x44':function(_0x54ec1d){return _0x54ec1d();}};try{const {readFileSync:_0x36e458}=await import(_0x1359e8['\x52\x64\x48\x4a\x41']);const {dirname:_0x13fcf5,join:_0x2daede}=await import(_0x22d405(0xa2));const {fileURLToPath:_0x2c7097}=await import(_0x22d405(0x129));const _0x1b8ca0=_0x2c7097(import.meta.url);const _0x89f250=_0x13fcf5(_0x1b8ca0);const _0x2942ea=_0x2daede(_0x89f250,_0x22d405(0xa1)+'\x6f\x6e');const _0x551ac4=JSON[_0x22d405(0xcc)](_0x36e458(_0x2942ea,'\x75\x74\x66\x38'));const _0x1b63a2=_0x1359e8[_0x22d405(0xa6)](parseCliArguments,_0x871c70);if(_0x1359e8[_0x22d405(0x104)](_0x1b63a2[_0x22d405(0xfc)],_0x1359e8[_0x22d405(0xa0)])){const _0x59aca6=(_0x22d405(0xd4)+_0x22d405(0x91)+_0x22d405(0xee)+_0x22d405(0xd7)+_0x22d405(0xfa)+_0x22d405(0xc4)+_0x22d405(0xaa))[_0x22d405(0xdb)]('\x7c');let _0x3826fd=0x0;while(!![]){switch(_0x59aca6[_0x3826fd++]){case'\x30':console[_0x22d405(0x12e)]('');continue;case'\x31':console[_0x22d405(0x12e)](_0x22d405(0x92)+'\x74\x20\x56\x61\x72\x69\x61\x62\x6c\x65'+'\x73\x20\x28\x6f\x76\x65\x72\x72\x69\x64'+_0x22d405(0xe1)+'\x20\x61\x72\x67\x75\x6d\x65\x6e\x74\x73'+'\x29\x3a');continue;case'\x32':console[_0x22d405(0x12e)](_0x22d405(0xfb)+_0x22d405(0xd8)+'\x20\x20\x53\x75\x70\x70\x72\x65\x73\x73'+_0x22d405(0xe6)+_0x22d405(0xf6)+_0x22d405(0x144)+'\x65\x76\x65\x6c\x29');continue;case'\x33':console['\x6c\x6f\x67']('\x20\x20'+_0x551ac4[_0x22d405(0x142)]+(_0x22d405(0xa8)+_0x22d405(0xe0)+_0x22d405(0xae)+_0x22d405(0xcf)+_0x22d405(0xdd)+_0x22d405(0x128)));continue;case'\x34':console[_0x22d405(0x12e)](_0x1359e8[_0x22d405(0xc3)]);continue;case'\x35':console['\x6c\x6f\x67'](_0x1359e8[_0x22d405(0xab)]);continue;case'\x36':console[_0x22d405(0x12e)](_0x22d405(0x95)+'\x53\x50\x4f\x52\x54\x20\x20\x20\x20\x20'+_0x22d405(0xc8)+_0x22d405(0x113)+_0x22d405(0x136)+'\x20\x68\x74\x74\x70\x20\x28\x64\x65\x66'+_0x22d405(0x103)+'\x6f\x29');continue;case'\x37':console[_0x22d405(0x12e)](_0x1359e8['\x7a\x6d\x69\x6f\x65']);continue;case'\x38':console[_0x22d405(0x12e)]('');continue;case'\x39':process['\x65\x78\x69\x74'](0x0);continue;case'\x31\x30':console[_0x22d405(0x12e)]('\x20\x20\x2d\x2d\x76\x65\x72\x73\x69\x6f'+_0x22d405(0xa9)+_0x22d405(0x105)+_0x22d405(0x114)+_0x22d405(0x13b));continue;case'\x31\x31':console[_0x22d405(0x12e)]('');continue;case'\x31\x32':console[_0x22d405(0x12e)]('\x20\x20'+_0x551ac4[_0x22d405(0x142)]+_0x22d405(0xdc));continue;case'\x31\x33':console[_0x22d405(0x12e)](_0x22d405(0x93));continue;case'\x31\x34':console[_0x22d405(0x12e)]('');continue;case'\x31\x35':console[_0x22d405(0x12e)](_0x22d405(0xb1)+_0x22d405(0x120)+_0x22d405(0x146)+_0x22d405(0x13d)+_0x22d405(0x9e)+_0x22d405(0xba)+'\x61\x6c\x2c\x20\x65\x72\x72\x6f\x72\x2c'+_0x22d405(0x11f)+'\x6e\x6f\x74\x69\x63\x65\x2c\x20\x69\x6e'+'\x66\x6f\x2c\x20\x64\x65\x62\x75\x67\x20'+'\x28\x64\x65\x66\x61\x75\x6c\x74\x3a\x20'+_0x22d405(0xea));continue;case'\x31\x36':console['\x6c\x6f\x67'](_0x22d405(0x13a)+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x22d405(0x13e)+_0x22d405(0x101)+_0x22d405(0x13f)+_0x22d405(0x10c)+_0x22d405(0xe4)+_0x22d405(0x148)+'\x6c\x73\x65\x29');continue;case'\x31\x37':console[_0x22d405(0x12e)](_0x22d405(0x147)+'\x45\x5f\x46\x4f\x4c\x44\x45\x52\x5f\x50'+'\x41\x54\x48\x53\x20\x57\x6f\x72\x6b\x73'+'\x70\x61\x63\x65\x20\x70\x61\x74\x68\x73'+_0x22d405(0x107)+_0x22d405(0xc2));continue;case'\x31\x38':console[_0x22d405(0x12e)]('\x20\x20'+_0x551ac4[_0x22d405(0x142)]+('\x20\x2d\x2d\x74\x72\x61\x6e\x73\x70\x6f'+_0x22d405(0xe0)+'\x70\x6f\x72\x74\x20\x38\x30\x38\x30'));continue;case'\x31\x39':console[_0x22d405(0x12e)]('\x20\x20'+_0x551ac4[_0x22d405(0x142)]+(_0x22d405(0xa8)+'\x72\x74\x20\x73\x74\x64\x69\x6f\x20\x2d'+_0x22d405(0x143)+_0x22d405(0xbb)));continue;case'\x32\x30':console['\x6c\x6f\x67'](_0x1359e8[_0x22d405(0x124)]);continue;case'\x32\x31':console[_0x22d405(0x12e)]('\x20\x20\x2d\x2d\x77\x6f\x72\x6b\x73\x70'+_0x22d405(0x121)+_0x22d405(0xad)+_0x22d405(0x112)+_0x22d405(0xb5)+_0x22d405(0xf7)+_0x22d405(0xb8)+_0x22d405(0x111)+_0x22d405(0x12b));continue;case'\x32\x32':console[_0x22d405(0x12e)]('\x49\x42\x4d\x20\x53\x61\x6c\x65\x73\x66'+_0x22d405(0xbf)+'\x78\x74');continue;case'\x32\x33':console[_0x22d405(0x12e)](_0x22d405(0x10a));continue;case'\x32\x34':console[_0x22d405(0x12e)](_0x22d405(0xaf)+_0x22d405(0xd5)+_0x22d405(0x100)+_0x22d405(0x14a)+_0x22d405(0xce)+_0x22d405(0xb6)+'\x70\x20\x28\x6f\x76\x65\x72\x72\x69\x64'+_0x22d405(0xa7)+_0x22d405(0x134));continue;case'\x32\x35':console[_0x22d405(0x12e)](_0x22d405(0xb9)+_0x22d405(0xa5)+'\x20\x2d\x6c\x20\x4c\x45\x56\x45\x4c\x20'+_0x22d405(0xb0)+_0x22d405(0x119)+_0x22d405(0x9f)+_0x22d405(0xb2)+_0x22d405(0x137)+_0x22d405(0x118)+'\x2c\x20\x6e\x6f\x74\x69\x63\x65\x2c\x20'+_0x22d405(0xf3)+'\x67');continue;case'\x32\x36':console[_0x22d405(0x12e)]('\x20\x20'+_0x551ac4[_0x22d405(0x142)]+(_0x22d405(0xa8)+_0x22d405(0x106)));continue;}break;}}if(_0x1b63a2[_0x22d405(0xfc)]===_0x22d405(0xef)){console['\x6c\x6f\x67']('\x49\x42\x4d\x20\x53\x61\x6c\x65\x73\x66'+_0x22d405(0xbf)+_0x22d405(0xfe)+_0x551ac4['\x76\x65\x72\x73\x69\x6f\x6e']);process[_0x22d405(0xf8)](0x0);}let _0x35e4a5;if(_0x1b63a2[_0x22d405(0xfc)]){if(_0x1359e8[_0x22d405(0x126)]==='\x62\x65\x6f\x59\x46'){_0x2c125b=_0x5b68cc.env.MCP_TRANSPORT['\x74\x6f\x4c\x6f\x77\x65\x72\x43\x61\x73'+'\x65']();}else{_0x35e4a5=_0x1b63a2[_0x22d405(0xfc)][_0x22d405(0xf9)](/^--/,'')[_0x22d405(0xe3)+'\x65']();}}else if(process.env.MCP_TRANSPORT){if(_0x1359e8[_0x22d405(0x11a)](_0x1359e8[_0x22d405(0x13c)],_0x22d405(0xfd))){_0x35e4a5=process.env.MCP_TRANSPORT['\x74\x6f\x4c\x6f\x77\x65\x72\x43\x61\x73'+'\x65']();}else{_0x5b9d67[_0x22d405(0xd0)]=_0x20863e[_0x461b75+0x1][_0x22d405(0xe3)+'\x65']();_0x5a9363++;}}else{_0x35e4a5=_0x22d405(0x9a);}if(_0x35e4a5!==_0x1359e8[_0x22d405(0xed)]&&_0x1359e8[_0x22d405(0x115)](_0x35e4a5,_0x1359e8[_0x22d405(0xf1)])){const _0x191c79=_0x22d405(0xe5)[_0x22d405(0xdb)]('\x7c');let _0x375a7f=0x0;while(!![]){switch(_0x191c79[_0x375a7f++]){case'\x30':console[_0x22d405(0xd2)](_0x22d405(0xec)+_0x22d405(0xc1)+'\x20\x7c\x20\x68\x74\x74\x70');continue;case'\x31':console[_0x22d405(0xd2)](_0x22d405(0x9c)+'\x6e\x76\x61\x6c\x69\x64\x20\x74\x72\x61'+_0x22d405(0x9b)+'\x75\x65');continue;case'\x32':process['\x65\x78\x69\x74'](0x1);continue;case'\x33':console[_0x22d405(0xd2)](_0x22d405(0xff)+_0x551ac4[_0x22d405(0x142)]+(_0x22d405(0x97)+_0x22d405(0x12c)+'\x66\x6f\x72\x6d\x61\x74\x69\x6f\x6e'));continue;case'\x34':console[_0x22d405(0xd2)]('\x52\x65\x63\x65\x69\x76\x65\x64\x3a\x20'+_0x35e4a5);continue;}break;}}if(_0x1b63a2[_0x22d405(0x149)]){setSilent(!![]);}else if(_0x1b63a2['\x6c\x6f\x67\x4c\x65\x76\x65\x6c']){const _0x1079c0=[_0x22d405(0xc0),_0x22d405(0x11d),'\x6e\x6f\x74\x69\x63\x65','\x77\x61\x72\x6e\x69\x6e\x67',_0x22d405(0xd2),_0x22d405(0x141),_0x1359e8[_0x22d405(0xd3)],_0x1359e8['\x58\x59\x4d\x78\x6d']];const _0x111520=_0x1b63a2[_0x22d405(0xd0)]['\x74\x6f\x4c\x6f\x77\x65\x72\x43\x61\x73'+'\x65']();if(_0x1079c0[_0x22d405(0xbc)](_0x111520)){process.env.LOG_LEVEL=_0x111520;}else{console['\x65\x72\x72\x6f\x72'](_0x22d405(0x9c)+'\x6e\x76\x61\x6c\x69\x64\x20\x6c\x6f\x67'+_0x22d405(0xd9)+_0x1b63a2[_0x22d405(0xd0)]);console[_0x22d405(0xd2)](_0x22d405(0xec)+_0x22d405(0x145)+_0x1079c0[_0x22d405(0xf4)]('\x2c\x20'));process[_0x22d405(0xf8)](0x1);}}if(_0x1b63a2[_0x22d405(0xda)]){process.env.MCP_HTTP_PORT=_0x1b63a2['\x68\x74\x74\x70\x50\x6f\x72\x74'][_0x22d405(0xcb)]();}if(_0x1b63a2[_0x22d405(0x132)+_0x22d405(0x102)]){process.env.WORKSPACE_FOLDER_PATHS=_0x1b63a2[_0x22d405(0x132)+_0x22d405(0x102)];}const {registerGlobalErrorHandlers:registerGlobalErrorHandlers,registerSignalHandlers:registerSignalHandlers}=await import(_0x22d405(0x110)+_0x22d405(0x10b));registerGlobalErrorHandlers();_0x1359e8[_0x22d405(0xc6)](registerSignalHandlers);await _0x1359e8[_0x22d405(0xa6)](setupServer,_0x35e4a5);}catch(_0x21b49e){const _0x55b060=createLogger();_0x55b060[_0x22d405(0xd2)](_0x21b49e,_0x22d405(0xd6)+_0x22d405(0xf0)+_0x22d405(0xde)+'\x43\x6f\x6e\x74\x65\x78\x74\x20\x73\x65'+_0x22d405(0x138));await mcpServer['\x63\x6c\x6f\x73\x65']();process['\x65\x78\x69\x74'](0x1);}}main(process[a0_0x5a1582(0xb3)][a0_0x5a1582(0xd1)](0x2));
|
|
1
|
+
const a0_0x4abf0e=a0_0x308e;(function(_0x258bdf,_0x22560e){const _0x2505cc=a0_0x308e;const _0x42dd84=_0x258bdf();while(!![]){try{const _0xe67a1e=-parseInt(_0x2505cc(0x72))/0x1+-parseInt(_0x2505cc(0x120))/0x2*(parseInt(_0x2505cc(0xf6))/0x3)+parseInt(_0x2505cc(0xac))/0x4+-parseInt(_0x2505cc(0xfc))/0x5*(-parseInt(_0x2505cc(0xaa))/0x6)+-parseInt(_0x2505cc(0x76))/0x7+-parseInt(_0x2505cc(0x97))/0x8+parseInt(_0x2505cc(0xb5))/0x9;if(_0xe67a1e===_0x22560e){break;}else{_0x42dd84['push'](_0x42dd84['shift']());}}catch(_0x35973a){_0x42dd84['push'](_0x42dd84['shift']());}}}(a0_0xadd1,0xea34d));function a0_0xadd1(){const _0x496db1=['\x43\x77\x66\x72\x45\x4b\x38','\x42\x67\x39\x4e','\x7a\x77\x7a\x48\x44\x77\x58\x30\x6f\x49\x62\x4d\x79\x71','\x6d\x74\x69\x30\x6e\x4a\x69\x57\x6e\x77\x76\x6c\x73\x78\x6e\x4b\x44\x61','\x75\x4d\x76\x4a\x7a\x77\x4c\x32\x7a\x77\x71\x36\x69\x61','\x69\x66\x54\x70\x75\x66\x72\x6a\x74\x30\x35\x74\x78\x71','\x44\x63\x62\x54\x42\x32\x72\x4c\x6f\x49\x62\x30\x43\x47','\x6f\x64\x4b\x57\x6f\x64\x43\x58\x6f\x68\x6e\x49\x43\x4e\x48\x57\x42\x47','\x69\x63\x62\x74\x41\x67\x39\x33\x69\x68\x72\x4f\x41\x71','\x43\x33\x62\x56\x43\x4e\x71\x47\x44\x68\x4c\x57\x7a\x71','\x42\x4d\x39\x4b\x7a\x74\x50\x31\x43\x4d\x57','\x6c\x63\x62\x55\x42\x33\x72\x50\x79\x32\x75\x53\x69\x61','\x69\x63\x61\x47\x69\x63\x61\x47\x69\x63\x61\x47\x69\x61','\x44\x32\x66\x59\x42\x4d\x4c\x55\x7a\x57','\x7a\x4d\x4c\x55\x7a\x68\x6d\x47\x79\x78\x7a\x48\x41\x71','\x6d\x64\x61\x50','\x69\x63\x44\x4f\x44\x68\x72\x57\x6a\x57','\x44\x4d\x76\x53\x69\x65\x58\x66\x76\x4b\x76\x6d\x6c\x61','\x7a\x30\x48\x6b\x74\x77\x47','\x42\x4d\x39\x30\x41\x77\x6e\x4c','\x42\x66\x72\x6a\x74\x65\x69','\x42\x33\x6a\x30\x69\x63\x48\x48\x44\x78\x72\x56\x6c\x71','\x79\x77\x6e\x4c\x69\x66\x62\x62\x76\x65\x48\x74\x6c\x61','\x44\x67\x39\x6d\x42\x33\x44\x4c\x43\x4b\x6e\x48\x43\x57','\x69\x63\x62\x6e\x71\x31\x62\x46\x76\x66\x6a\x62\x74\x47','\x43\x63\x61\x4f\x42\x33\x7a\x4c\x43\x4e\x6a\x50\x7a\x61','\x7a\x4b\x58\x67\x79\x77\x57','\x43\x4e\x7a\x4c\x43\x47','\x75\x30\x50\x6e\x7a\x65\x4f','\x6c\x78\x71\x47\x76\x66\x4c\x71\x72\x73\x61\x47\x69\x61','\x42\x4e\x7a\x48\x42\x67\x4c\x4b\x69\x68\x72\x59\x79\x71','\x6d\x4e\x57\x59\x6e\x78\x57\x58\x6d\x68\x57\x59\x6d\x71','\x42\x4e\x7a\x48\x42\x67\x4c\x4b\x69\x67\x58\x56\x7a\x57','\x43\x59\x61\x4f\x42\x33\x7a\x4c\x43\x4e\x6a\x50\x7a\x61','\x7a\x4d\x38\x53\x69\x67\x72\x4c\x79\x4e\x76\x4e\x69\x61','\x72\x78\x6a\x59\x42\x33\x69\x47\x43\x33\x72\x48\x43\x47','\x74\x4c\x6e\x71\x74\x31\x6a\x75\x6b\x71','\x78\x31\x62\x70\x75\x4c\x71\x47\x69\x63\x61\x47\x69\x61','\x73\x75\x6a\x6e\x69\x66\x6e\x48\x42\x67\x76\x5a\x7a\x47','\x43\x33\x72\x4b\x41\x77\x38','\x6e\x5a\x4b\x58\x6e\x74\x75\x31\x6d\x4e\x62\x32\x74\x75\x54\x77\x71\x47','\x6d\x78\x57\x59\x6d\x68\x57\x30\x46\x64\x69\x32\x46\x61','\x71\x32\x39\x55\x44\x67\x76\x34\x44\x63\x62\x5a\x7a\x71','\x43\x4e\x71\x47\x43\x33\x72\x4b\x41\x77\x38','\x69\x67\x72\x4c\x79\x4e\x76\x4e','\x43\x33\x62\x53\x41\x78\x71','\x79\x32\x6e\x31\x43\x67\x4c\x4c\x7a\x63\x57\x47\x7a\x61','\x44\x4b\x44\x59\x45\x4e\x71','\x7a\x33\x76\x54\x7a\x77\x35\x30\x6f\x49\x61','\x44\x63\x62\x30\x45\x78\x62\x4c\x6f\x49\x62\x5a\x44\x61','\x43\x67\x39\x59\x44\x63\x61\x34\x6d\x64\x47\x57','\x42\x4b\x58\x62\x73\x75\x34','\x75\x31\x62\x70\x75\x4c\x71\x47\x69\x63\x61\x47\x69\x61','\x7a\x78\x7a\x4c\x42\x63\x4b','\x41\x68\x72\x30\x43\x61','\x42\x65\x48\x57\x42\x32\x53','\x69\x67\x58\x4c\x44\x4d\x76\x53\x6f\x49\x61','\x43\x33\x72\x48\x43\x4e\x72\x5a\x76\x32\x4c\x30\x41\x61','\x69\x63\x62\x74\x73\x75\x58\x66\x74\x4c\x71\x47\x69\x61','\x6d\x74\x6d\x34\x74\x65\x48\x6d\x76\x33\x4c\x33','\x42\x32\x35\x5a\x6f\x49\x62\x5a\x44\x67\x72\x50\x42\x57','\x6d\x5a\x47\x34\x6d\x5a\x47\x59\x6e\x68\x4c\x33\x7a\x4e\x7a\x48\x74\x57','\x43\x4d\x39\x51\x7a\x77\x6e\x30\x69\x63\x30\x54\x43\x57','\x41\x4b\x44\x71\x72\x77\x6d','\x43\x78\x50\x34\x71\x30\x4b','\x44\x78\x72\x59\x45\x4d\x79','\x44\x63\x61\x4f\x42\x33\x7a\x4c\x43\x4e\x6a\x50\x7a\x61','\x73\x4e\x44\x4d\x45\x67\x47','\x69\x66\x6e\x4c\x44\x63\x62\x69\x76\x66\x72\x71\x69\x61','\x41\x77\x35\x4d\x42\x59\x57\x47\x7a\x67\x76\x49\x44\x71','\x6d\x4a\x71\x33\x6e\x64\x43\x30\x6f\x64\x62\x64\x75\x77\x6a\x4b\x43\x4d\x53','\x43\x68\x62\x59\x7a\x78\x6e\x5a\x69\x67\x66\x53\x42\x61','\x69\x67\x39\x31\x44\x68\x62\x31\x44\x63\x61\x4f\x7a\x61','\x44\x67\x39\x74\x44\x68\x6a\x50\x42\x4d\x43','\x69\x63\x61\x54\x6c\x78\x6e\x50\x42\x67\x76\x55\x44\x61','\x7a\x77\x7a\x48\x44\x77\x58\x30\x6f\x49\x61\x5a\x6d\x61','\x69\x63\x61\x54\x6c\x77\x58\x56\x7a\x59\x31\x53\x7a\x71','\x43\x67\x66\x59\x43\x32\x76\x6a\x42\x4e\x71','\x44\x4d\x76\x59\x43\x32\x4c\x56\x42\x47','\x69\x63\x62\x78\x74\x31\x6a\x6c\x75\x31\x62\x62\x71\x57','\x69\x68\x57\x47\x41\x68\x72\x30\x43\x61','\x42\x4d\x39\x4b\x7a\x74\x50\x4d\x43\x57','\x69\x63\x61\x54\x6c\x78\x7a\x4c\x43\x4e\x6e\x50\x42\x57','\x42\x67\x76\x59\x44\x63\x57\x47\x79\x33\x6a\x50\x44\x61','\x43\x67\x66\x59\x79\x78\x72\x4c\x7a\x63\x4b','\x71\x76\x72\x69\x75\x59\x62\x78\x42\x33\x6a\x52\x43\x57','\x42\x4e\x6e\x57\x42\x33\x6a\x30\x69\x68\x7a\x48\x42\x61','\x7a\x78\x6d\x47\x74\x75\x6e\x71\x78\x31\x72\x73\x71\x71','\x79\x78\x6a\x4e\x44\x47','\x44\x32\x39\x59\x41\x33\x6e\x57\x79\x77\x6e\x4c\x69\x61','\x79\x32\x58\x56\x43\x32\x75','\x7a\x67\x66\x73\x72\x65\x79','\x42\x4d\x39\x4b\x7a\x74\x50\x57\x79\x78\x72\x4f','\x6c\x77\x47\x47\x69\x63\x61\x47\x69\x63\x61\x47\x69\x61','\x69\x63\x62\x74\x41\x67\x39\x33\x69\x68\x7a\x4c\x43\x47','\x7a\x68\x72\x49\x75\x68\x69','\x72\x76\x39\x67\x74\x30\x58\x65\x72\x76\x6a\x46\x75\x61','\x6c\x49\x62\x6e\x44\x78\x6e\x30\x69\x67\x6a\x4c\x69\x61','\x69\x63\x61\x47\x69\x63\x62\x74\x41\x77\x58\x4c\x42\x47','\x41\x77\x35\x4d\x42\x59\x4b','\x6c\x77\x58\x56\x7a\x59\x31\x53\x7a\x78\x7a\x4c\x42\x61','\x45\x68\x71\x47\x44\x47','\x6c\x73\x31\x30\x43\x4d\x66\x55\x43\x33\x62\x56\x43\x47','\x79\x77\x58\x4c\x43\x4e\x71','\x72\x75\x58\x68\x45\x65\x57','\x76\x78\x6e\x48\x7a\x32\x75\x36','\x43\x33\x62\x48\x79\x32\x75\x47\x43\x67\x66\x30\x41\x61','\x44\x63\x62\x77\x79\x78\x6a\x50\x79\x77\x6a\x53\x7a\x71','\x69\x63\x30\x54\x44\x68\x6a\x48\x42\x4e\x6e\x57\x42\x57','\x77\x68\x48\x77\x72\x4e\x47','\x6a\x33\x6e\x30\x7a\x67\x4c\x56\x6a\x59\x62\x56\x43\x47','\x7a\x67\x76\x49\x44\x77\x43','\x69\x63\x61\x54\x6c\x78\x62\x56\x43\x4e\x71\x47\x75\x61','\x7a\x77\x31\x4c\x43\x4d\x44\x4c\x42\x4d\x6e\x35','\x79\x32\x6e\x31\x43\x67\x4c\x4c\x7a\x63\x4b','\x43\x30\x48\x36\x43\x30\x79','\x43\x67\x66\x4a\x7a\x73\x62\x57\x79\x78\x72\x4f\x43\x57','\x6c\x63\x61\x54\x43\x59\x61\x47\x69\x63\x61\x47\x69\x61','\x43\x67\x39\x59\x44\x63\x62\x4d\x42\x33\x69\x47\x41\x61','\x42\x33\x6a\x30\x69\x66\x72\x7a\x75\x65\x75\x53\x69\x61','\x43\x4d\x76\x57\x42\x67\x66\x4a\x7a\x71','\x69\x67\x58\x4c\x44\x4d\x76\x53\x6f\x49\x62\x4c\x42\x71','\x75\x65\x66\x75\x73\x66\x6d\x50','\x76\x65\x6e\x49\x71\x77\x71','\x43\x32\x4c\x53\x7a\x77\x35\x30','\x79\x78\x72\x4f\x43\x57','\x43\x67\x66\x4a\x41\x32\x66\x4e\x7a\x73\x35\x51\x43\x57','\x73\x77\x35\x4b\x76\x4b\x6d','\x41\x68\x72\x30\x43\x66\x62\x56\x43\x4e\x71','\x7a\x78\x6d\x47\x6c\x73\x31\x53\x42\x32\x43\x54\x42\x61','\x43\x4e\x71\x53\x69\x67\x6e\x59\x41\x78\x72\x50\x79\x57','\x76\x4d\x66\x53\x41\x77\x71\x47\x42\x33\x62\x30\x41\x71','\x74\x31\x6a\x75\x6c\x63\x61\x54\x43\x63\x62\x71\x74\x57','\x79\x33\x6a\x50\x44\x67\x4c\x4a\x79\x77\x57','\x41\x77\x6e\x48\x42\x63\x57\x47\x7a\x78\x6a\x59\x42\x57','\x6d\x30\x48\x31\x76\x4b\x54\x55\x44\x71','\x45\x67\x6a\x68\x75\x4d\x6d','\x7a\x32\x76\x55\x79\x33\x4b\x53\x69\x67\x66\x53\x7a\x71','\x69\x63\x62\x6d\x74\x30\x44\x46\x74\x65\x76\x77\x72\x71','\x69\x63\x62\x75\x43\x4d\x66\x55\x43\x33\x62\x56\x43\x47','\x41\x65\x39\x5a\x77\x65\x30','\x6d\x74\x43\x33\x6f\x64\x79\x31\x74\x33\x72\x6e\x43\x30\x44\x77','\x44\x68\x6a\x48\x42\x4e\x6e\x57\x42\x33\x6a\x30','\x69\x63\x31\x53\x69\x65\x58\x66\x76\x4b\x76\x6d\x69\x61','\x71\x30\x76\x46\x72\x4b\x39\x6d\x72\x65\x76\x73\x78\x57','\x46\x64\x65\x33\x46\x64\x44\x38\x6d\x4a\x72\x38\x6d\x47','\x7a\x31\x72\x6b\x79\x4b\x43','\x42\x67\x66\x49\x42\x67\x75\x47\x41\x77\x79\x47\x42\x57','\x69\x67\x66\x53\x42\x63\x62\x56\x44\x78\x72\x57\x44\x71','\x69\x63\x30\x54\x41\x67\x76\x53\x43\x63\x69\x47\x7a\x47','\x41\x77\x58\x4c\x42\x4e\x71','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x69\x63\x61\x47\x69\x63\x62\x6d\x42\x32\x43\x47\x42\x61','\x74\x33\x62\x30\x41\x77\x39\x55\x43\x5a\x4f','\x71\x77\x50\x75\x43\x78\x71','\x44\x77\x66\x51\x44\x30\x69','\x74\x4e\x7a\x6f\x75\x4b\x69','\x69\x63\x61\x47\x69\x63\x61\x47\x76\x68\x6a\x48\x42\x47','\x75\x78\x76\x70\x77\x65\x30','\x6d\x33\x57\x58\x6e\x68\x57\x58\x6d\x33\x57\x58\x6d\x71','\x69\x63\x61\x54\x6c\x77\x48\x4c\x42\x68\x61\x53\x69\x61','\x6c\x73\x31\x4f\x7a\x77\x58\x57','\x75\x68\x44\x4d\x42\x66\x47','\x7a\x67\x4c\x56\x69\x67\x39\x59\x69\x67\x48\x30\x44\x61','\x42\x33\x6a\x4a\x7a\x73\x62\x64\x42\x32\x35\x30\x7a\x71','\x41\x4d\x39\x50\x42\x47','\x69\x63\x31\x33\x69\x66\x62\x62\x76\x65\x48\x74\x69\x61','\x73\x77\x35\x32\x79\x77\x58\x50\x7a\x63\x62\x30\x43\x47','\x69\x63\x62\x74\x44\x78\x62\x57\x43\x4d\x76\x5a\x43\x57','\x44\x32\x39\x59\x41\x33\x6e\x57\x79\x77\x6e\x4c\x75\x61','\x77\x67\x4c\x67\x79\x4e\x6d','\x73\x4c\x6e\x34\x76\x65\x38','\x69\x67\x48\x30\x44\x68\x61\x47\x6b\x67\x72\x4c\x7a\x47','\x7a\x78\x6a\x4e\x7a\x77\x35\x4a\x45\x73\x57\x47\x79\x71','\x69\x63\x61\x54\x6c\x78\x72\x59\x79\x77\x35\x5a\x43\x61','\x69\x63\x61\x47\x69\x63\x62\x69\x76\x66\x72\x71\x69\x61','\x69\x63\x61\x47\x75\x32\x76\x30\x69\x67\x58\x56\x7a\x57','\x6d\x74\x71\x59\x6e\x64\x71\x32\x76\x33\x76\x4b\x74\x4e\x66\x74','\x42\x4d\x39\x30\x41\x77\x6e\x4c\x6c\x63\x62\x50\x42\x47','\x74\x4e\x48\x54\x45\x77\x75','\x42\x77\x66\x30\x41\x77\x39\x55','\x79\x4b\x31\x4a\x43\x31\x61','\x69\x63\x62\x74\x7a\x78\x71\x47\x44\x32\x39\x59\x41\x57','\x69\x67\x66\x59\x7a\x33\x76\x54\x7a\x77\x35\x30\x43\x57','\x7a\x78\x48\x50\x44\x61','\x34\x50\x32\x6d\x69\x65\x76\x59\x43\x4d\x39\x59\x6f\x49\x62\x6a','\x44\x68\x76\x70\x42\x33\x79','\x6c\x49\x39\x5a\x43\x4d\x6d\x56\x42\x77\x6e\x57\x6c\x71','\x6b\x67\x72\x4c\x7a\x4d\x66\x31\x42\x68\x71\x36\x69\x61','\x79\x77\x58\x4c\x43\x32\x7a\x56\x43\x4d\x6e\x4c\x69\x61','\x42\x68\x6e\x4c\x6b\x71','\x42\x4d\x66\x54\x7a\x71','\x7a\x78\x6d\x47\x76\x30\x39\x73\x73\x31\x6e\x71\x71\x71','\x71\x76\x44\x66\x76\x4d\x75','\x43\x32\x4c\x56\x42\x49\x62\x50\x42\x4d\x7a\x56\x43\x47','\x43\x32\x66\x4e\x7a\x71','\x42\x4b\x76\x6e\x71\x32\x79','\x43\x32\x58\x50\x79\x32\x75','\x43\x4e\x71\x47\x43\x33\x72\x4b\x41\x77\x38\x47\x6c\x71','\x74\x63\x61\x47\x69\x63\x61\x47\x69\x63\x61\x47\x69\x61','\x6c\x73\x31\x57\x42\x33\x6a\x30','\x44\x75\x58\x53\x75\x31\x69','\x75\x4e\x76\x55\x69\x63\x69','\x42\x68\x76\x4c\x6f\x49\x61','\x69\x63\x48\x4a\x42\x32\x31\x54\x79\x73\x31\x5a\x7a\x71','\x75\x4c\x71\x47\x69\x63\x61\x47\x69\x63\x61\x47\x69\x61','\x75\x33\x7a\x63\x75\x32\x65','\x43\x49\x57\x47\x44\x32\x66\x59\x42\x4d\x4c\x55\x7a\x57','\x41\x33\x72\x58\x75\x65\x57','\x43\x32\x76\x59\x44\x4d\x76\x59\x6c\x4d\x50\x5a','\x43\x4e\x71\x47\x41\x68\x72\x30\x43\x63\x61\x54\x6c\x71','\x42\x32\x35\x5a\x6f\x49\x61','\x72\x77\x35\x32\x41\x78\x6a\x56\x42\x4d\x31\x4c\x42\x47','\x72\x78\x48\x48\x42\x78\x62\x53\x7a\x78\x6d\x36','\x44\x77\x75\x56\x6d\x73\x62\x30\x42\x59\x62\x5a\x44\x71','\x76\x77\x35\x52\x42\x4d\x39\x33\x42\x49\x62\x48\x43\x47','\x7a\x78\x6a\x59\x42\x33\x69','\x42\x66\x6e\x49\x42\x31\x43','\x44\x68\x72\x57\x69\x68\x72\x59\x79\x77\x35\x5a\x43\x61','\x79\x78\x76\x53\x44\x64\x4f\x47\x43\x33\x72\x4b\x41\x71','\x6c\x73\x31\x33\x42\x33\x6a\x52\x43\x33\x62\x48\x79\x57','\x46\x64\x65\x31\x46\x64\x48\x38\x6d\x4e\x57\x31\x46\x61','\x42\x49\x57\x47\x6c\x78\x79\x47\x69\x63\x61\x47\x69\x61','\x7a\x31\x76\x62\x79\x75\x30','\x41\x77\x35\x4d\x42\x57','\x43\x59\x62\x4f\x7a\x77\x58\x57\x69\x67\x31\x4c\x43\x57','\x72\x77\x50\x48\x41\x68\x4f','\x69\x63\x62\x6e\x71\x31\x62\x46\x73\x66\x72\x75\x75\x61','\x69\x63\x61\x54\x6c\x78\x44\x56\x43\x4d\x54\x5a\x43\x61','\x42\x67\x39\x4e\x74\x67\x76\x32\x7a\x77\x57','\x79\x77\x35\x5a\x43\x67\x39\x59\x44\x63\x62\x32\x79\x71','\x69\x68\x44\x48\x43\x4d\x35\x50\x42\x4d\x43\x53\x69\x61','\x6c\x73\x31\x32\x7a\x78\x6a\x5a\x41\x77\x39\x55'];a0_0xadd1=function(){return _0x496db1;};return a0_0xadd1();}import{createLogger}from'\x2e\x2f\x73\x72\x63\x2f\x6c\x69\x62\x2f\x6c\x6f\x67\x67\x65\x72\x2e\x6a\x73';import{mcpServer,setupServer}from'\x2e\x2f\x73\x72\x63\x2f\x6d\x63\x70\x2d\x73\x65\x72\x76\x65\x72\x2e\x6a\x73';function a0_0x308e(_0x1a71de,_0x4a396a){_0x1a71de=_0x1a71de-0x6c;const _0xadd170=a0_0xadd1();let _0x308e12=_0xadd170[_0x1a71de];if(a0_0x308e['\x57\x4b\x48\x7a\x76\x4b']===undefined){var _0x355772=function(_0x3af291){const _0x1677a0='\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 _0xa64ce5='';let _0x41b987='';for(let _0x3e3d81=0x0,_0x3ea74f,_0x93ef59,_0x30316e=0x0;_0x93ef59=_0x3af291['\x63\x68\x61\x72\x41\x74'](_0x30316e++);~_0x93ef59&&(_0x3ea74f=_0x3e3d81%0x4?_0x3ea74f*0x40+_0x93ef59:_0x93ef59,_0x3e3d81++%0x4)?_0xa64ce5+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x3ea74f>>(-0x2*_0x3e3d81&0x6)):0x0){_0x93ef59=_0x1677a0['\x69\x6e\x64\x65\x78\x4f\x66'](_0x93ef59);}for(let _0x1321c6=0x0,_0x59786c=_0xa64ce5['\x6c\x65\x6e\x67\x74\x68'];_0x1321c6<_0x59786c;_0x1321c6++){_0x41b987+='\x25'+('\x30\x30'+_0xa64ce5['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x1321c6)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x41b987);};a0_0x308e['\x43\x55\x4f\x4a\x78\x79']=_0x355772;a0_0x308e['\x4a\x66\x70\x53\x4b\x61']={};a0_0x308e['\x57\x4b\x48\x7a\x76\x4b']=!![];}const _0xb4d2e4=_0xadd170[0x0];const _0x4bf291=_0x1a71de+_0xb4d2e4;const _0x4496aa=a0_0x308e['\x4a\x66\x70\x53\x4b\x61'][_0x4bf291];if(!_0x4496aa){_0x308e12=a0_0x308e['\x43\x55\x4f\x4a\x78\x79'](_0x308e12);a0_0x308e['\x4a\x66\x70\x53\x4b\x61'][_0x4bf291]=_0x308e12;}else{_0x308e12=_0x4496aa;}return _0x308e12;}import{setSilent}from'\x2e\x2f\x73\x72\x63\x2f\x73\x74\x61\x74\x65\x2e\x6a\x73';function parseCliArguments(_0x21cc07){const _0x5b9b8f=a0_0x308e;const _0x57da6f={'\x64\x74\x62\x50\x72':_0x5b9b8f(0x95)+_0x5b9b8f(0x113)+'\x78\x74','\x41\x57\x45\x56\x65':_0x5b9b8f(0x11d)+_0x5b9b8f(0xe6)+_0x5b9b8f(0x8c)+_0x5b9b8f(0xfa)+_0x5b9b8f(0xa0)+_0x5b9b8f(0x112)+_0x5b9b8f(0x88)+'\x65\x73\x20\x4d\x43\x50\x5f\x54\x52\x41'+_0x5b9b8f(0x93),'\x75\x61\x6a\x77\x42':'\x20\x20\x2d\x2d\x6c\x6f\x67\x2d\x6c\x65'+_0x5b9b8f(0x80)+_0x5b9b8f(0xfe)+'\x20\x20\x20\x53\x65\x74\x20\x6c\x6f\x67'+_0x5b9b8f(0xe8)+_0x5b9b8f(0x11c)+'\x6c\x65\x72\x74\x2c\x20\x63\x72\x69\x74'+_0x5b9b8f(0xf5)+_0x5b9b8f(0x13e)+'\x2c\x20\x6e\x6f\x74\x69\x63\x65\x2c\x20'+_0x5b9b8f(0xb4)+'\x67','\x67\x48\x4a\x4d\x68':'\x20\x20\x2d\x2d\x68\x65\x6c\x70\x2c\x20'+_0x5b9b8f(0xcc)+_0x5b9b8f(0x77)+_0x5b9b8f(0x150)+_0x5b9b8f(0x132),'\x6e\x4c\x41\x49\x4e':function(_0x444bc,_0x335e7e){return _0x444bc===_0x335e7e;},'\x6f\x4a\x7a\x77\x52':_0x5b9b8f(0x122),'\x6c\x54\x49\x4c\x42':_0x5b9b8f(0x110),'\x6b\x52\x67\x70\x71':_0x5b9b8f(0xae),'\x71\x7a\x78\x43\x49':'\x64\x49\x68\x64\x6b','\x4a\x46\x43\x79\x7a':function(_0x209eb1,_0x3fd601){return _0x209eb1<_0x3fd601;},'\x53\x76\x42\x53\x61':function(_0x1c78e3,_0x13bf30){return _0x1c78e3+_0x13bf30;},'\x58\x69\x46\x62\x73':_0x5b9b8f(0x96),'\x68\x4f\x73\x58\x4d':function(_0x486df6,_0x52552b){return _0x486df6<_0x52552b;},'\x78\x62\x47\x52\x63':_0x5b9b8f(0x137),'\x4e\x43\x6d\x49\x63':_0x5b9b8f(0x8b),'\x56\x4d\x4e\x53\x71':'\x2d\x2d\x73\x69\x6c\x65\x6e\x74'};const _0x252286={'\x74\x72\x61\x6e\x73\x70\x6f\x72\x74':null,'\x6c\x6f\x67\x4c\x65\x76\x65\x6c':null,'\x68\x74\x74\x70\x50\x6f\x72\x74':null,'\x77\x6f\x72\x6b\x73\x70\x61\x63\x65\x50\x61\x74\x68\x73':null};for(let _0x50f761=0x0;_0x50f761<_0x21cc07[_0x5b9b8f(0x106)];_0x50f761++){if(_0x5b9b8f(0xe2)===_0x5b9b8f(0xe2)){const _0x1eb961=_0x21cc07[_0x50f761];if(_0x57da6f['\x6e\x4c\x41\x49\x4e'](_0x1eb961,_0x5b9b8f(0x110))||_0x57da6f[_0x5b9b8f(0xa2)](_0x1eb961,'\x2d\x68')||_0x57da6f[_0x5b9b8f(0xa2)](_0x1eb961,_0x5b9b8f(0x6e))||_0x1eb961==='\x2d\x76'){if(_0x5b9b8f(0x129)!==_0x57da6f['\x6f\x4a\x7a\x77\x52']){if(_0x1eb961==='\x2d\x68'){_0x252286[_0x5b9b8f(0xfd)]=_0x57da6f[_0x5b9b8f(0x83)];}else if(_0x57da6f[_0x5b9b8f(0xa2)](_0x1eb961,'\x2d\x76')){if(_0x57da6f['\x6b\x52\x67\x70\x71']===_0x5b9b8f(0xae)){_0x252286['\x74\x72\x61\x6e\x73\x70\x6f\x72\x74']=_0x5b9b8f(0x6e);}else{throw new _0x37867e(_0x5b9b8f(0x116)+_0x5b9b8f(0x6c)+_0x5b9b8f(0x13a)+_0x858191+('\x2e\x20\x4d\x75\x73\x74\x20\x62\x65\x20'+_0x5b9b8f(0xdd)+_0x5b9b8f(0x7f)));}}else{if(_0x57da6f[_0x5b9b8f(0xaf)]!==_0x5b9b8f(0x124)){_0x252286[_0x5b9b8f(0xfd)]=_0x1eb961;}else{_0x3b288e=_0x364a46.env.MCP_TRANSPORT[_0x5b9b8f(0x86)+'\x65']();}}break;}else{_0x106f17[_0x5b9b8f(0x70)](_0x5b9b8f(0x95)+_0x5b9b8f(0x113)+_0x5b9b8f(0xd4)+_0x3701a7['\x76\x65\x72\x73\x69\x6f\x6e']);_0xb45440['\x65\x78\x69\x74'](0x0);}}if((_0x1eb961===_0x5b9b8f(0xd5)+'\x74'||_0x1eb961==='\x2d\x74')&&_0x57da6f['\x4a\x46\x43\x79\x7a'](_0x50f761+0x1,_0x21cc07[_0x5b9b8f(0x106)])){const _0x484c1a=_0x21cc07[_0x57da6f['\x53\x76\x42\x53\x61'](_0x50f761,0x1)];if(_0x484c1a===_0x57da6f[_0x5b9b8f(0x119)]||_0x484c1a==='\x68\x74\x74\x70'){_0x252286['\x74\x72\x61\x6e\x73\x70\x6f\x72\x74']='\x2d\x2d'+_0x484c1a;}else{throw new Error(_0x5b9b8f(0x116)+_0x5b9b8f(0x6c)+_0x5b9b8f(0x13a)+_0x484c1a+(_0x5b9b8f(0xd0)+'\x27\x73\x74\x64\x69\x6f\x27\x20\x6f\x72'+'\x20\x27\x68\x74\x74\x70\x27'));}_0x50f761++;}else if((_0x1eb961==='\x2d\x2d\x6c\x6f\x67\x2d\x6c\x65\x76\x65'+'\x6c'||_0x1eb961==='\x2d\x6c')&&_0x57da6f[_0x5b9b8f(0xfb)](_0x57da6f[_0x5b9b8f(0x13d)](_0x50f761,0x1),_0x21cc07['\x6c\x65\x6e\x67\x74\x68'])){if(_0x5b9b8f(0xb2)===_0x5b9b8f(0xee)){throw new _0x54b734(_0x5b9b8f(0x146)+_0x5b9b8f(0x9f)+_0x1284a4);}else{_0x252286[_0x5b9b8f(0x154)]=_0x21cc07[_0x50f761+0x1][_0x5b9b8f(0x86)+'\x65']();_0x50f761++;}}else if((_0x1eb961===_0x57da6f[_0x5b9b8f(0xf7)]||_0x1eb961==='\x2d\x70')&&_0x57da6f[_0x5b9b8f(0xfb)](_0x50f761+0x1,_0x21cc07[_0x5b9b8f(0x106)])){if(_0x5b9b8f(0x8b)===_0x57da6f['\x4e\x43\x6d\x49\x63']){_0x252286[_0x5b9b8f(0xef)]=Number[_0x5b9b8f(0xbc)](_0x21cc07[_0x50f761+0x1],0xa);_0x50f761++;}else{_0x25642b.env.MCP_HTTP_PORT=_0x371ac7['\x68\x74\x74\x70\x50\x6f\x72\x74']['\x74\x6f\x53\x74\x72\x69\x6e\x67']();}}else if((_0x1eb961===_0x5b9b8f(0x14b)+'\x65'||_0x1eb961==='\x2d\x77')&&_0x50f761+0x1<_0x21cc07['\x6c\x65\x6e\x67\x74\x68']){_0x252286[_0x5b9b8f(0x118)+'\x61\x74\x68\x73']=_0x21cc07[_0x50f761+0x1];_0x50f761++;}else if(_0x1eb961===_0x57da6f['\x56\x4d\x4e\x53\x71']||_0x1eb961==='\x2d\x73'){_0x252286[_0x5b9b8f(0xeb)]=!![];}else if(_0x1eb961[_0x5b9b8f(0xa8)]('\x2d\x2d')||_0x1eb961[_0x5b9b8f(0xa8)]('\x2d')&&_0x1eb961[_0x5b9b8f(0x106)]===0x2){throw new Error(_0x5b9b8f(0x146)+_0x5b9b8f(0x9f)+_0x1eb961);}}else{_0x404d91[_0x5b9b8f(0x70)](_0x57da6f[_0x5b9b8f(0xce)]);_0x2dcb9b[_0x5b9b8f(0x70)]('');_0x2f38bc[_0x5b9b8f(0x70)](_0x5b9b8f(0xd8));_0x5484dd[_0x5b9b8f(0x70)]('\x20\x20'+_0x274fca['\x6e\x61\x6d\x65']+'\x20\x5b\x4f\x50\x54\x49\x4f\x4e\x53\x5d');_0x20d3ad[_0x5b9b8f(0x70)]('');_0x45728e[_0x5b9b8f(0x70)](_0x5b9b8f(0x108));_0x41922[_0x5b9b8f(0x70)](_0x57da6f[_0x5b9b8f(0x130)]);_0xc04d3a['\x6c\x6f\x67'](_0x57da6f[_0x5b9b8f(0x10a)]);_0xd7cca9['\x6c\x6f\x67'](_0x5b9b8f(0xdf)+_0x5b9b8f(0xf3)+_0x5b9b8f(0x13c)+_0x5b9b8f(0xb3)+_0x5b9b8f(0xe5)+_0x5b9b8f(0x149)+'\x6f\x72\x74\x20\x28\x61\x75\x74\x6f\x2d'+_0x5b9b8f(0x7d)+_0x5b9b8f(0x102)+'\x63\x63\x75\x70\x69\x65\x64\x29');_0x486ad4[_0x5b9b8f(0x70)](_0x5b9b8f(0x153)+_0x5b9b8f(0x85)+_0x5b9b8f(0x115)+_0x5b9b8f(0x125)+_0x5b9b8f(0xd9)+'\x73\x20\x28\x6f\x76\x65\x72\x72\x69\x64'+_0x5b9b8f(0x12f)+_0x5b9b8f(0xff)+'\x50\x41\x54\x48\x53\x29');_0x1336ec[_0x5b9b8f(0x70)]('\x20\x20\x2d\x2d\x73\x69\x6c\x65\x6e\x74'+_0x5b9b8f(0xe4)+_0x5b9b8f(0x117)+_0x5b9b8f(0x103)+_0x5b9b8f(0xb1)+'\x65\x73\x20\x2d\x2d\x6c\x6f\x67\x2d\x6c'+_0x5b9b8f(0xa4));_0x332618[_0x5b9b8f(0x70)](_0x57da6f[_0x5b9b8f(0x81)]);_0x5dafbd[_0x5b9b8f(0x70)]('\x20\x20\x2d\x2d\x76\x65\x72\x73\x69\x6f'+'\x6e\x2c\x20\x2d\x76\x20\x20\x20\x20\x20'+_0x5b9b8f(0xcd)+_0x5b9b8f(0x131)+_0x5b9b8f(0x123));_0x533c6a[_0x5b9b8f(0x70)]('');_0x4fcc34[_0x5b9b8f(0x70)](_0x5b9b8f(0x144));_0x5b424f['\x6c\x6f\x67']('\x20\x20'+_0x2baa5b[_0x5b9b8f(0x12e)]+(_0x5b9b8f(0xdb)+_0x5b9b8f(0x9a)));_0xdc38e6[_0x5b9b8f(0x70)]('\x20\x20'+_0x1f4e7a[_0x5b9b8f(0x12e)]+(_0x5b9b8f(0xdb)+'\x72\x74\x20\x68\x74\x74\x70\x20\x2d\x2d'+_0x5b9b8f(0xa1)));_0x2904bf[_0x5b9b8f(0x70)]('\x20\x20'+_0x3605c4['\x6e\x61\x6d\x65']+(_0x5b9b8f(0xdb)+'\x72\x74\x20\x73\x74\x64\x69\x6f\x20\x2d'+'\x2d\x6c\x6f\x67\x2d\x6c\x65\x76\x65\x6c'+'\x20\x64\x65\x62\x75\x67'));_0x3fb3a1[_0x5b9b8f(0x70)]('\x20\x20'+_0x491419['\x6e\x61\x6d\x65']+(_0x5b9b8f(0xdb)+_0x5b9b8f(0x141)+'\x77\x6f\x72\x6b\x73\x70\x61\x63\x65\x20'+'\x2f\x70\x61\x74\x68\x2f\x74\x6f\x2f\x70'+'\x72\x6f\x6a\x65\x63\x74\x20\x2d\x2d\x73'+_0x5b9b8f(0x105)));_0x3e10e2[_0x5b9b8f(0x70)]('');_0x4fdca2[_0x5b9b8f(0x70)](_0x5b9b8f(0x143)+_0x5b9b8f(0xda)+'\x73\x20\x28\x6f\x76\x65\x72\x72\x69\x64'+'\x64\x65\x6e\x20\x62\x79\x20\x43\x4c\x49'+_0x5b9b8f(0x126)+'\x29\x3a');_0x4e0238[_0x5b9b8f(0x70)](_0x5b9b8f(0x87)+_0x5b9b8f(0xa3)+_0x5b9b8f(0x10c)+_0x5b9b8f(0x78)+'\x3a\x20\x73\x74\x64\x69\x6f\x20\x6f\x72'+_0x5b9b8f(0x11b)+'\x61\x75\x6c\x74\x3a\x20\x73\x74\x64\x69'+'\x6f\x29');_0x232848[_0x5b9b8f(0x70)](_0x5b9b8f(0xf9)+_0x5b9b8f(0x136)+_0x5b9b8f(0x107)+'\x65\x76\x65\x6c\x3a\x20\x65\x6d\x65\x72'+_0x5b9b8f(0xf8)+_0x5b9b8f(0xf1)+'\x61\x6c\x2c\x20\x65\x72\x72\x6f\x72\x2c'+_0x5b9b8f(0x6d)+_0x5b9b8f(0x121)+_0x5b9b8f(0x91)+_0x5b9b8f(0x12b)+_0x5b9b8f(0xd2));_0xb94a36[_0x5b9b8f(0x70)](_0x5b9b8f(0xa9)+_0x5b9b8f(0x7b)+_0x5b9b8f(0xd1)+_0x5b9b8f(0x75)+_0x5b9b8f(0x145)+_0x5b9b8f(0xb6)+_0x5b9b8f(0xb7)+_0x5b9b8f(0x71)+_0x5b9b8f(0x12d));_0x371b83[_0x5b9b8f(0x70)](_0x5b9b8f(0x152)+'\x5f\x50\x4f\x52\x54\x20\x20\x20\x20\x20'+'\x20\x20\x20\x20\x20\x48\x54\x54\x50\x20'+'\x70\x6f\x72\x74\x20\x66\x6f\x72\x20\x68'+_0x5b9b8f(0x149)+_0x5b9b8f(0x84)+_0x5b9b8f(0x7d)+_0x5b9b8f(0x102)+_0x5b9b8f(0x9d)+_0x5b9b8f(0xba)+_0x5b9b8f(0x7e));_0x57cb04['\x6c\x6f\x67']('\x20\x20\x57\x4f\x52\x4b\x53\x50\x41\x43'+_0x5b9b8f(0xcf)+'\x41\x54\x48\x53\x20\x57\x6f\x72\x6b\x73'+_0x5b9b8f(0xe3)+_0x5b9b8f(0x13b)+_0x5b9b8f(0xc3));_0x387d43['\x65\x78\x69\x74'](0x0);}}return _0x252286;}export async function main(_0x5cb747){const _0x2cfc6f=a0_0x308e;const _0x24c4c8={'\x45\x4c\x47\x78\x4c':_0x2cfc6f(0x82),'\x6c\x48\x70\x6f\x6b':_0x2cfc6f(0x147),'\x4a\x53\x78\x54\x4f':'\x65\x6d\x65\x72\x67\x65\x6e\x63\x79','\x6c\x53\x62\x6f\x57':_0x2cfc6f(0xcb),'\x45\x6a\x61\x68\x7a':function(_0x130868,_0x177a5a,_0x426aa3){return _0x130868(_0x177a5a,_0x426aa3);},'\x66\x4c\x46\x61\x6c':_0x2cfc6f(0xc1)+_0x2cfc6f(0x14d)+_0x2cfc6f(0xcd)+_0x2cfc6f(0x131)+_0x2cfc6f(0x123),'\x51\x75\x4f\x58\x4d':_0x2cfc6f(0xb9)+'\x2c\x20\x2d\x73\x20\x20\x20\x20\x20\x20'+'\x20\x20\x53\x75\x70\x70\x72\x65\x73\x73'+_0x2cfc6f(0x103)+_0x2cfc6f(0xb1)+_0x2cfc6f(0xf0)+_0x2cfc6f(0xa4),'\x54\x43\x62\x41\x64':_0x2cfc6f(0xd8),'\x59\x4e\x73\x53\x67':'\x4f\x70\x74\x69\x6f\x6e\x73\x3a','\x79\x63\x79\x6a\x47':_0x2cfc6f(0x143)+_0x2cfc6f(0xda)+_0x2cfc6f(0x90)+'\x64\x65\x6e\x20\x62\x79\x20\x43\x4c\x49'+_0x2cfc6f(0x126)+'\x29\x3a','\x67\x55\x41\x61\x4d':_0x2cfc6f(0x96),'\x67\x54\x4a\x62\x47':function(_0x1e4409,_0x5f30c9){return _0x1e4409!==_0x5f30c9;},'\x75\x4c\x6c\x53\x52':function(_0x271861,_0x43864a){return _0x271861(_0x43864a);},'\x75\x74\x72\x7a\x66':function(_0x5ab322,_0x11f7fd){return _0x5ab322!==_0x11f7fd;},'\x4e\x76\x4e\x52\x42':_0x2cfc6f(0x6f),'\x41\x6a\x54\x71\x74':'\x65\x77\x59\x68\x79','\x79\x77\x43\x6d\x6e':_0x2cfc6f(0x14f),'\x50\x77\x66\x6c\x58':_0x2cfc6f(0x133),'\x58\x78\x56\x46\x78':_0x2cfc6f(0xca),'\x6b\x74\x71\x50\x4c':'\x6e\x47\x53\x6a\x59','\x4d\x52\x77\x53\x73':_0x2cfc6f(0x12a)+_0x2cfc6f(0x140)};try{const {readFileSync:_0xcc0f4b}=await import(_0x2cfc6f(0xc0));const {dirname:_0x2cca20,join:_0x4cc83b}=await import(_0x24c4c8[_0x2cfc6f(0x148)]);const {fileURLToPath:_0x3a7201}=await import(_0x2cfc6f(0x79));const _0x222ada=_0x3a7201(import.meta.url);const _0x2265d3=_0x2cca20(_0x222ada);const _0x5aaf56=_0x24c4c8[_0x2cfc6f(0x151)](_0x4cc83b,_0x2265d3,_0x2cfc6f(0xed)+'\x6f\x6e');const _0x3628ac=JSON['\x70\x61\x72\x73\x65'](_0x24c4c8[_0x2cfc6f(0x151)](_0xcc0f4b,_0x5aaf56,'\x75\x74\x66\x38'));const _0x31d61e=parseCliArguments(_0x5cb747);if(_0x31d61e[_0x2cfc6f(0xfd)]==='\x2d\x2d\x68\x65\x6c\x70'){const _0x185fbc=(_0x2cfc6f(0x98)+_0x2cfc6f(0x10e)+_0x2cfc6f(0x14c)+'\x30\x7c\x31\x38\x7c\x32\x33\x7c\x31\x32'+_0x2cfc6f(0x100)+_0x2cfc6f(0x8e)+'\x7c\x31\x36\x7c\x39\x7c\x31\x39\x7c\x36')[_0x2cfc6f(0x9c)]('\x7c');let _0x1e9ee7=0x0;while(!![]){switch(_0x185fbc[_0x1e9ee7++]){case'\x30':console[_0x2cfc6f(0x70)](_0x24c4c8[_0x2cfc6f(0x89)]);continue;case'\x31':console[_0x2cfc6f(0x70)](_0x2cfc6f(0x95)+'\x6f\x72\x63\x65\x20\x43\x6f\x6e\x74\x65'+'\x78\x74');continue;case'\x32':console['\x6c\x6f\x67'](_0x24c4c8[_0x2cfc6f(0x10d)]);continue;case'\x33':console[_0x2cfc6f(0x70)]('');continue;case'\x34':console[_0x2cfc6f(0x70)](_0x24c4c8[_0x2cfc6f(0xea)]);continue;case'\x35':console[_0x2cfc6f(0x70)](_0x2cfc6f(0x10f)+_0x2cfc6f(0xcc)+_0x2cfc6f(0x77)+_0x2cfc6f(0x150)+'\x73\x61\x67\x65');continue;case'\x36':process[_0x2cfc6f(0x127)](0x0);continue;case'\x37':console[_0x2cfc6f(0x70)]('\x20\x20'+_0x3628ac[_0x2cfc6f(0x12e)]+(_0x2cfc6f(0xdb)+_0x2cfc6f(0x135)+_0x2cfc6f(0xd3)+_0x2cfc6f(0x9b)));continue;case'\x38':console['\x6c\x6f\x67']('\x20\x20\x2d\x2d\x77\x6f\x72\x6b\x73\x70'+_0x2cfc6f(0x85)+'\x20\x2d\x77\x20\x50\x41\x54\x48\x53\x20'+_0x2cfc6f(0x125)+_0x2cfc6f(0xd9)+_0x2cfc6f(0x90)+_0x2cfc6f(0x12f)+'\x43\x45\x5f\x46\x4f\x4c\x44\x45\x52\x5f'+_0x2cfc6f(0xe9));continue;case'\x39':console[_0x2cfc6f(0x70)](_0x2cfc6f(0x152)+_0x2cfc6f(0x94)+_0x2cfc6f(0x11e)+_0x2cfc6f(0xe5)+_0x2cfc6f(0x149)+_0x2cfc6f(0x84)+_0x2cfc6f(0x7d)+_0x2cfc6f(0x102)+_0x2cfc6f(0x9d)+_0x2cfc6f(0xba)+_0x2cfc6f(0x7e));continue;case'\x31\x30':console[_0x2cfc6f(0x70)]('\x20\x20\x4d\x43\x50\x5f\x54\x52\x41\x4e'+'\x53\x50\x4f\x52\x54\x20\x20\x20\x20\x20'+_0x2cfc6f(0x10c)+_0x2cfc6f(0x78)+'\x3a\x20\x73\x74\x64\x69\x6f\x20\x6f\x72'+_0x2cfc6f(0x11b)+_0x2cfc6f(0x14a)+'\x6f\x29');continue;case'\x31\x31':console[_0x2cfc6f(0x70)](_0x2cfc6f(0xbb)+_0x2cfc6f(0x80)+_0x2cfc6f(0xfe)+_0x2cfc6f(0x11f)+_0x2cfc6f(0xe8)+_0x2cfc6f(0x11c)+_0x2cfc6f(0xc2)+_0x2cfc6f(0xf5)+_0x2cfc6f(0x13e)+_0x2cfc6f(0x7a)+'\x69\x6e\x66\x6f\x2c\x20\x64\x65\x62\x75'+'\x67');continue;case'\x31\x32':console[_0x2cfc6f(0x70)]('\x20\x20'+_0x3628ac[_0x2cfc6f(0x12e)]+('\x20\x2d\x2d\x74\x72\x61\x6e\x73\x70\x6f'+_0x2cfc6f(0x9a)));continue;case'\x31\x33':console[_0x2cfc6f(0x70)](_0x2cfc6f(0x11d)+_0x2cfc6f(0xe6)+_0x2cfc6f(0x8c)+_0x2cfc6f(0xfa)+_0x2cfc6f(0xa0)+_0x2cfc6f(0x112)+_0x2cfc6f(0x88)+_0x2cfc6f(0xc6)+_0x2cfc6f(0x93));continue;case'\x31\x34':console['\x6c\x6f\x67'](_0x24c4c8['\x59\x4e\x73\x53\x67']);continue;case'\x31\x35':console[_0x2cfc6f(0x70)](_0x2cfc6f(0xdf)+_0x2cfc6f(0xf3)+_0x2cfc6f(0x13c)+_0x2cfc6f(0xb3)+_0x2cfc6f(0xe5)+'\x74\x74\x70\x20\x74\x72\x61\x6e\x73\x70'+'\x6f\x72\x74\x20\x28\x61\x75\x74\x6f\x2d'+_0x2cfc6f(0x7d)+_0x2cfc6f(0x102)+_0x2cfc6f(0xe1));continue;case'\x31\x36':console[_0x2cfc6f(0x70)]('\x20\x20\x53\x49\x4c\x45\x4e\x54\x20\x20'+_0x2cfc6f(0x7b)+_0x2cfc6f(0xd1)+_0x2cfc6f(0x75)+'\x75\x65\x2f\x31\x20\x74\x6f\x20\x73\x75'+_0x2cfc6f(0xb6)+'\x20\x6f\x75\x74\x70\x75\x74\x20\x28\x64'+_0x2cfc6f(0x71)+_0x2cfc6f(0x12d));continue;case'\x31\x37':console[_0x2cfc6f(0x70)]('\x20\x20'+_0x3628ac[_0x2cfc6f(0x12e)]+('\x20\x2d\x2d\x74\x72\x61\x6e\x73\x70\x6f'+_0x2cfc6f(0x141)+_0x2cfc6f(0xa1)));continue;case'\x31\x38':console[_0x2cfc6f(0x70)]('');continue;case'\x31\x39':console['\x6c\x6f\x67'](_0x2cfc6f(0xbe)+_0x2cfc6f(0xcf)+_0x2cfc6f(0xc4)+_0x2cfc6f(0xe3)+'\x20\x28\x63\x6f\x6d\x6d\x61\x2d\x73\x65'+'\x70\x61\x72\x61\x74\x65\x64\x29');continue;case'\x32\x30':console[_0x2cfc6f(0x70)]('');continue;case'\x32\x31':console[_0x2cfc6f(0x70)](_0x2cfc6f(0xf9)+_0x2cfc6f(0x136)+_0x2cfc6f(0x107)+'\x65\x76\x65\x6c\x3a\x20\x65\x6d\x65\x72'+_0x2cfc6f(0xf8)+'\x72\x74\x2c\x20\x63\x72\x69\x74\x69\x63'+'\x61\x6c\x2c\x20\x65\x72\x72\x6f\x72\x2c'+_0x2cfc6f(0x6d)+_0x2cfc6f(0x121)+_0x2cfc6f(0x91)+_0x2cfc6f(0x12b)+_0x2cfc6f(0xd2));continue;case'\x32\x32':console[_0x2cfc6f(0x70)]('');continue;case'\x32\x33':console[_0x2cfc6f(0x70)]('\x45\x78\x61\x6d\x70\x6c\x65\x73\x3a');continue;case'\x32\x34':console[_0x2cfc6f(0x70)]('\x20\x20'+_0x3628ac['\x6e\x61\x6d\x65']+('\x20\x2d\x2d\x74\x72\x61\x6e\x73\x70\x6f'+_0x2cfc6f(0x141)+_0x2cfc6f(0xc8)+'\x2f\x70\x61\x74\x68\x2f\x74\x6f\x2f\x70'+_0x2cfc6f(0xad)+_0x2cfc6f(0x105)));continue;case'\x32\x35':console['\x6c\x6f\x67'](_0x24c4c8['\x79\x63\x79\x6a\x47']);continue;case'\x32\x36':console['\x6c\x6f\x67']('\x20\x20'+_0x3628ac[_0x2cfc6f(0x12e)]+_0x2cfc6f(0x74));continue;}break;}}if(_0x31d61e[_0x2cfc6f(0xfd)]===_0x2cfc6f(0x6e)){console[_0x2cfc6f(0x70)](_0x2cfc6f(0x95)+_0x2cfc6f(0x113)+_0x2cfc6f(0xd4)+_0x3628ac[_0x2cfc6f(0xbd)]);process[_0x2cfc6f(0x127)](0x0);}let _0x581744;if(_0x31d61e[_0x2cfc6f(0xfd)]){_0x581744=_0x31d61e[_0x2cfc6f(0xfd)][_0x2cfc6f(0xe7)](/^--/,'')['\x74\x6f\x4c\x6f\x77\x65\x72\x43\x61\x73'+'\x65']();}else if(process.env.MCP_TRANSPORT){_0x581744=process.env.MCP_TRANSPORT['\x74\x6f\x4c\x6f\x77\x65\x72\x43\x61\x73'+'\x65']();}else{_0x581744=_0x24c4c8[_0x2cfc6f(0x14e)];}if(_0x24c4c8['\x67\x54\x4a\x62\x47'](_0x581744,_0x2cfc6f(0x96))&&_0x24c4c8[_0x2cfc6f(0x101)](_0x581744,_0x2cfc6f(0xa5))){console[_0x2cfc6f(0x147)](_0x2cfc6f(0x128)+_0x2cfc6f(0x8d)+_0x2cfc6f(0xc5)+'\x75\x65');console[_0x2cfc6f(0x147)](_0x2cfc6f(0xf2)+_0x2cfc6f(0xab)+_0x2cfc6f(0xbf));console[_0x2cfc6f(0x147)](_0x2cfc6f(0x73)+_0x581744);console['\x65\x72\x72\x6f\x72'](_0x2cfc6f(0x139)+_0x3628ac[_0x2cfc6f(0x12e)]+(_0x2cfc6f(0x104)+'\x6f\x72\x20\x6d\x6f\x72\x65\x20\x69\x6e'+'\x66\x6f\x72\x6d\x61\x74\x69\x6f\x6e'));process['\x65\x78\x69\x74'](0x1);}if(_0x31d61e[_0x2cfc6f(0xeb)]){_0x24c4c8[_0x2cfc6f(0x138)](setSilent,!![]);}else if(_0x31d61e[_0x2cfc6f(0x154)]){if(_0x24c4c8[_0x2cfc6f(0xb0)](_0x24c4c8[_0x2cfc6f(0x10b)],_0x24c4c8[_0x2cfc6f(0x109)])){const _0x47514b=[_0x2cfc6f(0xde),_0x24c4c8['\x79\x77\x43\x6d\x6e'],_0x24c4c8[_0x2cfc6f(0xd7)],_0x2cfc6f(0x7c),_0x24c4c8[_0x2cfc6f(0xa6)],_0x2cfc6f(0xf4),_0x2cfc6f(0xd6),_0x2cfc6f(0xe0)];const _0x454ad7=_0x31d61e[_0x2cfc6f(0x154)][_0x2cfc6f(0x86)+'\x65']();if(_0x47514b['\x69\x6e\x63\x6c\x75\x64\x65\x73'](_0x454ad7)){process.env.LOG_LEVEL=_0x454ad7;}else{if(_0x24c4c8[_0x2cfc6f(0x111)]===_0x24c4c8[_0x2cfc6f(0xdc)]){_0x227059['\x68\x74\x74\x70\x50\x6f\x72\x74']=_0x1649f0[_0x2cfc6f(0xbc)](_0x8ea7a5[_0x29cccf+0x1],0xa);_0x10d0d5++;}else{console[_0x2cfc6f(0x147)]('\u274c\x20\x45\x72\x72\x6f\x72\x3a\x20\x49'+_0x2cfc6f(0x8f)+_0x2cfc6f(0xa7)+_0x31d61e['\x6c\x6f\x67\x4c\x65\x76\x65\x6c']);console[_0x2cfc6f(0x147)](_0x2cfc6f(0xf2)+_0x2cfc6f(0x142)+_0x47514b[_0x2cfc6f(0x114)]('\x2c\x20'));process[_0x2cfc6f(0x127)](0x1);}}}else{_0x3ea74f['\x74\x72\x61\x6e\x73\x70\x6f\x72\x74']=_0x2cfc6f(0x6e);}}if(_0x31d61e[_0x2cfc6f(0xef)]){if(_0x2cfc6f(0x9e)!==_0x24c4c8[_0x2cfc6f(0x13f)]){process.env.MCP_HTTP_PORT=_0x31d61e[_0x2cfc6f(0xef)][_0x2cfc6f(0xb8)]();}else{const _0x5c68e1=[_0x2cfc6f(0xde),_0x2cfc6f(0x14f),_0x24c4c8['\x45\x4c\x47\x78\x4c'],_0x2cfc6f(0x7c),_0x24c4c8[_0x2cfc6f(0xa6)],'\x63\x72\x69\x74\x69\x63\x61\x6c',_0x2cfc6f(0xd6),_0x24c4c8[_0x2cfc6f(0x11a)]];const _0x3b5d0f=_0x2bda18['\x6c\x6f\x67\x4c\x65\x76\x65\x6c'][_0x2cfc6f(0x86)+'\x65']();if(_0x5c68e1['\x69\x6e\x63\x6c\x75\x64\x65\x73'](_0x3b5d0f)){_0x508a2d.env.LOG_LEVEL=_0x3b5d0f;}else{_0x5674c2[_0x2cfc6f(0x147)](_0x2cfc6f(0x128)+'\x6e\x76\x61\x6c\x69\x64\x20\x6c\x6f\x67'+_0x2cfc6f(0xa7)+_0x579efc[_0x2cfc6f(0x154)]);_0x5e4ee1['\x65\x72\x72\x6f\x72'](_0x2cfc6f(0xf2)+_0x2cfc6f(0x142)+_0x5c68e1[_0x2cfc6f(0x114)]('\x2c\x20'));_0x2a3369[_0x2cfc6f(0x127)](0x1);}}}if(_0x31d61e['\x77\x6f\x72\x6b\x73\x70\x61\x63\x65\x50'+_0x2cfc6f(0xec)]){process.env.WORKSPACE_FOLDER_PATHS=_0x31d61e[_0x2cfc6f(0x118)+_0x2cfc6f(0xec)];}const {registerGlobalErrorHandlers:registerGlobalErrorHandlers,registerSignalHandlers:registerSignalHandlers}=await import(_0x24c4c8['\x4d\x52\x77\x53\x73']);registerGlobalErrorHandlers();registerSignalHandlers();await setupServer(_0x581744);}catch(_0x86a85d){const _0x2eb28e=createLogger();_0x2eb28e['\x65\x72\x72\x6f\x72'](_0x86a85d,_0x2cfc6f(0x92)+'\x74\x69\x6e\x67\x20\x49\x42\x4d\x20\x53'+_0x2cfc6f(0x12c)+_0x2cfc6f(0x99)+_0x2cfc6f(0x8a));await mcpServer[_0x2cfc6f(0xc9)]();process['\x65\x78\x69\x74'](0x1);}}main(process[a0_0x4abf0e(0xc7)][a0_0x4abf0e(0x134)](0x2));
|
package/package.json
CHANGED
package/src/client.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a0_0x41eb4b=a0_0x583a;(function(_0xf1e05b,_0xc87898){const _0x443910=a0_0x583a;const _0x216271=_0xf1e05b();while(!![]){try{const _0x29d610=-parseInt(_0x443910(0x8b))/0x1*(parseInt(_0x443910(0x8e))/0x2)+-parseInt(_0x443910(0x7f))/0x3*(-parseInt(_0x443910(0x95))/0x4)+parseInt(_0x443910(0x9b))/0x5*(parseInt(_0x443910(0x86))/0x6)+-parseInt(_0x443910(0x74))/0x7*(parseInt(_0x443910(0xa7))/0x8)+-parseInt(_0x443910(0x98))/0x9*(-parseInt(_0x443910(0x71))/0xa)+-parseInt(_0x443910(0x97))/0xb+parseInt(_0x443910(0x79))/0xc;if(_0x29d610===_0xc87898){break;}else{_0x216271['push'](_0x216271['shift']());}}catch(_0x3acc55){_0x216271['push'](_0x216271['shift']());}}}(a0_0x4c1b,0xb2cc9));import a0_0x397f61 from'\x73\x65\x6d\x76\x65\x72';function a0_0x4c1b(){const _0x301b8f=['\x71\x33\x76\x59\x43\x32\x39\x59','\x7a\x67\x4c\x56\x69\x65\x6e\x56\x7a\x67\x75\x47\x6c\x71','\x6d\x31\x6a\x79\x75\x30\x31\x34\x43\x47','\x72\x4b\x66\x32\x72\x4d\x6d','\x74\x66\x48\x67\x42\x4d\x57','\x7a\x67\x4c\x56\x69\x65\x6e\x56\x7a\x67\x75','\x43\x32\x39\x54\x7a\x71','\x7a\x4d\x76\x78\x75\x77\x79','\x43\x68\x6a\x56\x44\x67\x39\x4a\x42\x32\x58\x77\x7a\x71','\x6e\x4e\x6a\x52\x75\x77\x6e\x4b\x7a\x71','\x41\x33\x6e\x33\x79\x4e\x75','\x43\x4c\x66\x6e\x44\x78\x75','\x41\x31\x72\x68\x74\x33\x43','\x44\x77\x35\x52\x42\x4d\x39\x33\x42\x47','\x6d\x4b\x6a\x74\x76\x77\x35\x6c\x73\x47','\x73\x65\x44\x48\x74\x4d\x47','\x44\x67\x39\x6d\x42\x33\x44\x4c\x43\x4b\x6e\x48\x43\x57','\x6e\x64\x43\x35\x6f\x64\x75\x59\x79\x30\x4c\x69\x76\x75\x35\x41','\x42\x67\x39\x4e\x7a\x32\x4c\x55\x7a\x57','\x79\x77\x31\x4c','\x41\x78\x6e\x62\x43\x4e\x6a\x48\x45\x71','\x44\x4b\x39\x6c\x79\x30\x57','\x7a\x33\x72\x4c','\x41\x77\x35\x52\x43\x57','\x6d\x74\x47\x30\x6e\x64\x79\x34\x6e\x66\x4c\x66\x45\x65\x44\x53\x76\x47','\x43\x33\x76\x57\x43\x67\x39\x59\x44\x68\x6e\x64\x79\x71','\x6d\x74\x47\x57\x6d\x64\x4b\x57\x6f\x77\x72\x35\x76\x75\x39\x56\x76\x57','\x6f\x64\x6d\x31\x6e\x64\x79\x34\x6d\x4d\x58\x50\x44\x4e\x7a\x74\x75\x61','\x76\x4d\x4c\x5a\x44\x77\x66\x53\x69\x66\x6e\x30\x44\x71','\x74\x67\x44\x36\x79\x4e\x61','\x6e\x74\x65\x30\x6f\x64\x6d\x33\x6e\x76\x7a\x4b\x75\x75\x31\x77\x79\x57','\x44\x4d\x76\x59\x43\x32\x4c\x56\x42\x47','\x43\x4e\x6e\x50\x42\x32\x34','\x43\x4d\x39\x56\x44\x68\x6d','\x43\x4d\x76\x5a\x42\x33\x76\x59\x79\x32\x76\x5a','\x6d\x73\x34\x58\x6d\x64\x6d\x55\x6d\x61','\x42\x67\x76\x55\x7a\x33\x72\x4f','\x42\x4d\x35\x70\x74\x76\x79','\x43\x4d\x76\x5a\x42\x33\x76\x59\x79\x32\x76\x46\x42\x61','\x69\x65\x4c\x55\x43\x32\x4c\x4b\x7a\x78\x6a\x5a','\x43\x32\x39\x31\x43\x4d\x6e\x4c\x43\x57','\x7a\x78\x6a\x5a\x41\x77\x39\x55','\x6d\x4a\x71\x33\x6d\x4a\x65\x57\x6e\x67\x4c\x31\x71\x31\x7a\x76\x42\x61','\x79\x32\x58\x50\x7a\x77\x35\x30\x73\x77\x35\x4d\x42\x57','\x74\x77\x4c\x64\x43\x4d\x39\x5a\x79\x32\x39\x71\x7a\x71','\x44\x67\x72\x66\x74\x75\x69','\x44\x68\x62\x74\x41\x68\x4b','\x79\x32\x66\x57\x79\x77\x6a\x50\x42\x67\x4c\x30\x41\x71','\x41\x32\x76\x35\x43\x57','\x6d\x74\x62\x55\x43\x77\x44\x6d\x73\x4d\x38','\x42\x68\x72\x51\x79\x4e\x4f','\x73\x33\x44\x70\x7a\x4c\x79','\x6d\x4a\x48\x52\x44\x76\x50\x6e\x41\x32\x4b','\x41\x77\x35\x50\x44\x67\x4c\x48\x42\x67\x4c\x36\x7a\x71','\x7a\x32\x76\x30\x71\x32\x58\x50\x7a\x77\x35\x30\x74\x47','\x76\x75\x31\x74\x71\x77\x65','\x76\x4e\x76\x70\x43\x31\x79','\x6d\x4a\x6d\x58\x6e\x64\x61\x34\x6d\x67\x76\x64\x74\x32\x4c\x55\x42\x61','\x7a\x77\x31\x49\x7a\x77\x72\x4b\x7a\x77\x72\x73\x7a\x71','\x42\x4d\x66\x54\x7a\x71','\x43\x67\x66\x49\x41\x77\x58\x50\x44\x68\x4b'];a0_0x4c1b=function(){return _0x301b8f;};return a0_0x4c1b();}import a0_0x468390 from'\x2e\x2f\x63\x6f\x6e\x66\x69\x67\x2e\x6a\x73';class Client{[a0_0x41eb4b(0xa8)];[a0_0x41eb4b(0x6f)+'\x65\x73'];[a0_0x41eb4b(0x85)+a0_0x41eb4b(0x9d)];[a0_0x41eb4b(0x9e)]={};constructor(){const _0x186e10=a0_0x583a;this[_0x186e10(0xa8)]={'\x6e\x61\x6d\x65':_0x186e10(0x8a)};this[_0x186e10(0x6f)+'\x65\x73']={};this[_0x186e10(0x85)+_0x186e10(0x9d)]='';}[a0_0x41eb4b(0x75)](_0x3dd5d4={}){const _0x42e2c5=a0_0x583a;const _0x16f0dc={'\x76\x4f\x4b\x63\x4c':_0x42e2c5(0x8a)};this['\x63\x6c\x69\x65\x6e\x74\x49\x6e\x66\x6f']=_0x3dd5d4?.[_0x42e2c5(0xa8)]||{'\x6e\x61\x6d\x65':_0x16f0dc[_0x42e2c5(0x92)]};this['\x63\x61\x70\x61\x62\x69\x6c\x69\x74\x69'+'\x65\x73']=_0x3dd5d4?.[_0x42e2c5(0x6f)+'\x65\x73']||{};this[_0x42e2c5(0x85)+_0x42e2c5(0x9d)]=_0x3dd5d4?.[_0x42e2c5(0x85)+_0x42e2c5(0x9d)]||'';}[a0_0x41eb4b(0x76)+'\x61\x6d\x65'](){const _0xf36235=a0_0x583a;const _0x2f8060={'\x46\x41\x76\x46\x63':'\x43\x75\x72\x73\x6f\x72','\x62\x43\x42\x5a\x77':_0xf36235(0x99)+_0xf36235(0x82),'\x66\x65\x57\x51\x66':_0xf36235(0x6c)};const _0x14664f=this[_0xf36235(0xa8)]?.[_0xf36235(0x7b)]||_0xf36235(0x8a);const _0x46e695={'\x63\x75\x72\x73\x6f\x72\x2d\x76\x73\x63\x6f\x64\x65':_0x2f8060[_0xf36235(0x80)],'\x56\x69\x73\x75\x61\x6c\x20\x53\x74\x75\x64\x69\x6f\x20\x43\x6f\x64\x65':_0x2f8060['\x62\x43\x42\x5a\x77'],'\x56\x69\x73\x75\x61\x6c\x20\x53\x74\x75\x64\x69\x6f\x20\x43\x6f\x64\x65\x20\x2d\x20\x49\x6e\x73\x69\x64\x65\x72\x73':_0xf36235(0x99)+'\x64\x69\x6f\x20\x43\x6f\x64\x65\x20\x2d'+'\x20\x49\x6e\x73\x69\x64\x65\x72\x73','\x6d\x69\x63\x72\x6f\x73\x63\x6f\x70\x65':_0x2f8060[_0xf36235(0x84)]};return _0x46e695[_0x14664f]||_0x14664f;}['\x67\x65\x74\x43\x6c\x69\x65\x6e\x74\x56'+a0_0x41eb4b(0xa6)](){const _0x2c6c98=a0_0x583a;return this[_0x2c6c98(0xa8)]?.[_0x2c6c98(0x9c)];}['\x69\x73'](_0x5d93c7){const _0x5d66f4=a0_0x583a;const _0x1a5fb8={'\x4c\x67\x7a\x62\x70':_0x5d66f4(0x73)};if(!Array[_0x5d66f4(0x91)](_0x5d93c7)){if(_0x1a5fb8[_0x5d66f4(0x9a)]==='\x4b\x77\x4f\x66\x56'){_0x5d93c7=[_0x5d93c7];}else{return this[_0x5d66f4(0xa8)]?.[_0x5d66f4(0x9c)];}}const _0x328cc2=this['\x67\x65\x74\x43\x6c\x69\x65\x6e\x74\x4e'+_0x5d66f4(0x90)]()[_0x5d66f4(0x8d)+'\x65']();return _0x5d93c7[_0x5d66f4(0x83)](_0x515304=>_0x328cc2['\x69\x6e\x63\x6c\x75\x64\x65\x73'](_0x515304['\x74\x6f\x4c\x6f\x77\x65\x72\x43\x61\x73'+'\x65']()));}[a0_0x41eb4b(0x96)+a0_0x41eb4b(0x7c)](_0x44b5dd){const _0x13fe90=a0_0x583a;const _0x3be333={'\x4c\x58\x46\x6e\x6c':'\x75\x6e\x6b\x6e\x6f\x77\x6e','\x6b\x54\x47\x4f\x77':function(_0x10445a,_0x11280d){return _0x10445a(_0x11280d);},'\x74\x64\x45\x4d\x42':_0x13fe90(0x9f),'\x6c\x74\x6a\x62\x7a':_0x13fe90(0x99)+_0x13fe90(0x7e)+_0x13fe90(0xa4),'\x72\x51\x4d\x75\x75':_0x13fe90(0x7d),'\x6e\x6e\x4f\x4d\x56':_0x13fe90(0xa3)+_0x13fe90(0x94),'\x48\x47\x61\x4e\x68':_0x13fe90(0x99)+'\x64\x69\x6f\x20\x43\x6f\x64\x65','\x6b\x73\x77\x62\x75':_0x13fe90(0x78),'\x74\x70\x53\x68\x79':function(_0x2b5c5c,_0x37f4c9){return _0x2b5c5c(_0x37f4c9);},'\x55\x4d\x53\x41\x61':function(_0x5dc7d4,_0x407089){return _0x5dc7d4(_0x407089);}};switch(_0x44b5dd){case _0x13fe90(0x8f):return _0x3be333[_0x13fe90(0x89)](Boolean,this['\x63\x61\x70\x61\x62\x69\x6c\x69\x74\x69'+'\x65\x73']?.['\x6c\x6f\x67\x67\x69\x6e\x67'])||this['\x69\x73'](['\x56\x69\x73\x75\x61\x6c\x20\x53\x74\x75'+_0x13fe90(0x82),'\x56\x69\x73\x75\x61\x6c\x20\x53\x74\x75'+_0x13fe90(0x7e)+'\x20\x49\x6e\x73\x69\x64\x65\x72\x73']);case _0x3be333[_0x13fe90(0x6d)]:return Boolean(this[_0x13fe90(0x6f)+'\x65\x73']?.[_0x44b5dd])||this['\x69\x73']([_0x13fe90(0x99)+_0x13fe90(0x82),_0x3be333[_0x13fe90(0x72)],_0x3be333[_0x13fe90(0x88)]]);case _0x13fe90(0x7a)+_0x13fe90(0xa5):return this['\x69\x73'](['\x56\x69\x73\x75\x61\x6c\x20\x53\x74\x75'+_0x13fe90(0x82),_0x13fe90(0x99)+_0x13fe90(0x7e)+'\x20\x49\x6e\x73\x69\x64\x65\x72\x73','\x43\x75\x72\x73\x6f\x72']);case _0x3be333[_0x13fe90(0xa2)]:return this['\x69\x73']([_0x3be333[_0x13fe90(0x8c)],_0x13fe90(0x99)+_0x13fe90(0x7e)+_0x13fe90(0xa4)])&&a0_0x397f61[_0x13fe90(0x93)](this[_0x13fe90(0xa8)]['\x76\x65\x72\x73\x69\x6f\x6e'],_0x13fe90(0xa0));case'\x65\x6c\x69\x63\x69\x74\x61\x74\x69\x6f'+'\x6e':{if(a0_0x468390['\x64\x69\x73\x61\x62\x6c\x65\x45\x6c\x69'+'\x63\x69\x74\x61\x74\x69\x6f\x6e']){return![];}const _0xe8f88d=this[_0x13fe90(0x6f)+'\x65\x73']?.[_0x44b5dd];if(!_0xe8f88d){if(_0x3be333[_0x13fe90(0x87)]!=='\x54\x62\x68\x72\x67'){return![];}else{this[_0x13fe90(0xa8)]={'\x6e\x61\x6d\x65':kfVyrG[_0x13fe90(0x81)]};this[_0x13fe90(0x6f)+'\x65\x73']={};this[_0x13fe90(0x85)+_0x13fe90(0x9d)]='';}}if(typeof _0xe8f88d==='\x6f\x62\x6a\x65\x63\x74'){return Object[_0x13fe90(0x70)](_0xe8f88d)[_0x13fe90(0xa1)]===0x0||_0x3be333[_0x13fe90(0x6e)](Boolean,_0xe8f88d['\x66\x6f\x72\x6d']);}return Boolean(_0xe8f88d);}default:return _0x3be333[_0x13fe90(0x77)](Boolean,this[_0x13fe90(0x6f)+'\x65\x73']?.[_0x44b5dd]);}}}const client=new Client();function a0_0x583a(_0x287b5e,_0x2b9c73){_0x287b5e=_0x287b5e-0x6c;const _0x4c1bff=a0_0x4c1b();let _0x583ad4=_0x4c1bff[_0x287b5e];if(a0_0x583a['\x49\x4d\x75\x6e\x59\x73']===undefined){var _0x2f130a=function(_0xd1df46){const _0x1456f8='\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 _0x3bc248='';let _0x52f2c3='';for(let _0x2b03a7=0x0,_0x1ebdcd,_0x4d68f0,_0x384740=0x0;_0x4d68f0=_0xd1df46['\x63\x68\x61\x72\x41\x74'](_0x384740++);~_0x4d68f0&&(_0x1ebdcd=_0x2b03a7%0x4?_0x1ebdcd*0x40+_0x4d68f0:_0x4d68f0,_0x2b03a7++%0x4)?_0x3bc248+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x1ebdcd>>(-0x2*_0x2b03a7&0x6)):0x0){_0x4d68f0=_0x1456f8['\x69\x6e\x64\x65\x78\x4f\x66'](_0x4d68f0);}for(let _0x51fadd=0x0,_0x45c998=_0x3bc248['\x6c\x65\x6e\x67\x74\x68'];_0x51fadd<_0x45c998;_0x51fadd++){_0x52f2c3+='\x25'+('\x30\x30'+_0x3bc248['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x51fadd)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x52f2c3);};a0_0x583a['\x70\x68\x6c\x4c\x44\x6f']=_0x2f130a;a0_0x583a['\x71\x58\x6b\x58\x49\x56']={};a0_0x583a['\x49\x4d\x75\x6e\x59\x73']=!![];}const _0x77b9f2=_0x4c1bff[0x0];const _0x28f469=_0x287b5e+_0x77b9f2;const _0x490150=a0_0x583a['\x71\x58\x6b\x58\x49\x56'][_0x28f469];if(!_0x490150){_0x583ad4=a0_0x583a['\x70\x68\x6c\x4c\x44\x6f'](_0x583ad4);a0_0x583a['\x71\x58\x6b\x58\x49\x56'][_0x28f469]=_0x583ad4;}else{_0x583ad4=_0x490150;}return _0x583ad4;}export default client;
|
|
1
|
+
const a0_0x2ef6ba=a0_0x13c8;(function(_0x592637,_0x3f20ed){const _0x167cb1=a0_0x13c8;const _0x10bcce=_0x592637();while(!![]){try{const _0x2f8d23=parseInt(_0x167cb1(0x12c))/0x1+-parseInt(_0x167cb1(0x13d))/0x2*(parseInt(_0x167cb1(0x11f))/0x3)+parseInt(_0x167cb1(0x124))/0x4+parseInt(_0x167cb1(0x12f))/0x5*(parseInt(_0x167cb1(0x122))/0x6)+-parseInt(_0x167cb1(0x14b))/0x7*(-parseInt(_0x167cb1(0x126))/0x8)+-parseInt(_0x167cb1(0x131))/0x9+parseInt(_0x167cb1(0x139))/0xa*(-parseInt(_0x167cb1(0x13a))/0xb);if(_0x2f8d23===_0x3f20ed){break;}else{_0x10bcce['push'](_0x10bcce['shift']());}}catch(_0x50cdd1){_0x10bcce['push'](_0x10bcce['shift']());}}}(a0_0x2835,0x967d3));import a0_0x2e9f37 from'\x73\x65\x6d\x76\x65\x72';function a0_0x2835(){const _0x6389dc=['\x75\x33\x66\x71\x72\x77\x38','\x7a\x32\x76\x30\x71\x32\x58\x50\x7a\x77\x35\x30\x74\x47','\x76\x4d\x4c\x5a\x44\x77\x66\x53\x69\x66\x6e\x30\x44\x71','\x42\x4d\x66\x54\x7a\x71','\x6d\x5a\x76\x55\x71\x30\x72\x78\x71\x76\x69','\x43\x67\x66\x49\x41\x77\x58\x50\x44\x68\x4b','\x43\x32\x39\x31\x43\x4d\x6e\x4c\x43\x57','\x79\x32\x4c\x30\x79\x78\x72\x50\x42\x32\x34','\x6e\x64\x69\x5a\x6e\x4a\x71\x31\x41\x31\x50\x6d\x41\x66\x76\x66','\x79\x32\x66\x57\x79\x77\x6a\x50\x42\x67\x4c\x30\x41\x71','\x43\x33\x76\x57\x43\x67\x39\x59\x44\x68\x6e\x64\x79\x71','\x6d\x5a\x61\x58\x6d\x4e\x6e\x49\x73\x68\x62\x41\x43\x57','\x42\x67\x39\x4e\x7a\x32\x4c\x55\x7a\x57','\x6d\x5a\x43\x31\x6d\x74\x43\x33\x6e\x4b\x50\x4d\x45\x77\x50\x69\x73\x71','\x71\x33\x76\x59\x43\x32\x39\x59','\x6e\x5a\x6d\x34\x6f\x64\x69\x30\x7a\x30\x39\x71\x76\x30\x58\x79','\x41\x78\x6e\x62\x43\x4e\x6a\x48\x45\x71','\x41\x77\x35\x4a\x42\x68\x76\x4b\x7a\x78\x6d','\x7a\x77\x58\x50\x79\x32\x4c\x30\x79\x78\x72\x50\x42\x57','\x43\x4e\x6e\x50\x42\x32\x34','\x41\x32\x76\x35\x43\x57','\x6d\x5a\x79\x32\x6e\x64\x47\x33\x77\x65\x39\x31\x44\x4d\x50\x30','\x79\x32\x58\x50\x7a\x77\x35\x30\x73\x77\x35\x4d\x42\x57','\x43\x4d\x39\x56\x44\x68\x6d','\x6d\x74\x75\x58\x6d\x68\x62\x31\x71\x77\x7a\x6f\x75\x47','\x45\x4d\x31\x4d\x74\x77\x65','\x6d\x74\x65\x31\x6f\x64\x71\x5a\x6e\x75\x72\x7a\x75\x75\x6a\x50\x73\x47','\x71\x32\x35\x7a\x41\x4c\x43','\x41\x77\x35\x52\x43\x57','\x42\x32\x6a\x51\x7a\x77\x6e\x30','\x43\x68\x6a\x56\x44\x67\x39\x4a\x42\x32\x58\x77\x7a\x71','\x45\x67\x66\x57\x76\x67\x4f','\x79\x77\x31\x4c','\x7a\x33\x72\x4c','\x6d\x4a\x79\x5a\x6d\x74\x65\x57\x7a\x31\x7a\x30\x44\x4b\x54\x64','\x6e\x5a\x44\x57\x42\x31\x76\x4c\x75\x68\x79','\x7a\x4d\x39\x59\x42\x71','\x44\x77\x35\x52\x42\x4d\x39\x33\x42\x47','\x6d\x74\x72\x76\x76\x66\x66\x66\x77\x77\x30','\x7a\x67\x4c\x56\x69\x65\x6e\x56\x7a\x67\x75\x47\x6c\x71','\x74\x77\x4c\x64\x43\x4d\x39\x5a\x79\x32\x39\x71\x7a\x71','\x7a\x67\x4c\x56\x69\x65\x6e\x56\x7a\x67\x75','\x6d\x73\x34\x58\x6d\x64\x6d\x55\x6d\x61','\x44\x67\x39\x6d\x42\x33\x44\x4c\x43\x4b\x6e\x48\x43\x57','\x7a\x77\x31\x49\x7a\x77\x72\x4b\x7a\x77\x72\x73\x7a\x71','\x43\x4d\x76\x5a\x42\x33\x76\x59\x79\x32\x76\x46\x42\x61','\x69\x65\x4c\x55\x43\x32\x4c\x4b\x7a\x78\x6a\x5a','\x44\x4d\x76\x59\x43\x32\x4c\x56\x42\x47'];a0_0x2835=function(){return _0x6389dc;};return a0_0x2835();}function a0_0x13c8(_0xc95ea,_0xc8370e){_0xc95ea=_0xc95ea-0x11e;const _0x28358f=a0_0x2835();let _0x13c87c=_0x28358f[_0xc95ea];if(a0_0x13c8['\x75\x7a\x44\x4a\x52\x67']===undefined){var _0x28ee8c=function(_0x765364){const _0x4f2262='\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 _0x1e3170='';let _0x3ee3fc='';for(let _0x2b4c73=0x0,_0x51e76f,_0x1739f9,_0x4e1e21=0x0;_0x1739f9=_0x765364['\x63\x68\x61\x72\x41\x74'](_0x4e1e21++);~_0x1739f9&&(_0x51e76f=_0x2b4c73%0x4?_0x51e76f*0x40+_0x1739f9:_0x1739f9,_0x2b4c73++%0x4)?_0x1e3170+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x51e76f>>(-0x2*_0x2b4c73&0x6)):0x0){_0x1739f9=_0x4f2262['\x69\x6e\x64\x65\x78\x4f\x66'](_0x1739f9);}for(let _0x3dcf5f=0x0,_0x4f4136=_0x1e3170['\x6c\x65\x6e\x67\x74\x68'];_0x3dcf5f<_0x4f4136;_0x3dcf5f++){_0x3ee3fc+='\x25'+('\x30\x30'+_0x1e3170['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x3dcf5f)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x3ee3fc);};a0_0x13c8['\x57\x56\x7a\x6d\x77\x70']=_0x28ee8c;a0_0x13c8['\x4e\x61\x59\x70\x58\x4f']={};a0_0x13c8['\x75\x7a\x44\x4a\x52\x67']=!![];}const _0x2758b4=_0x28358f[0x0];const _0x1760c0=_0xc95ea+_0x2758b4;const _0x4d106c=a0_0x13c8['\x4e\x61\x59\x70\x58\x4f'][_0x1760c0];if(!_0x4d106c){_0x13c87c=a0_0x13c8['\x57\x56\x7a\x6d\x77\x70'](_0x13c87c);a0_0x13c8['\x4e\x61\x59\x70\x58\x4f'][_0x1760c0]=_0x13c87c;}else{_0x13c87c=_0x4d106c;}return _0x13c87c;}import a0_0x3fd7c4 from'\x2e\x2f\x63\x6f\x6e\x66\x69\x67\x2e\x6a\x73';class Client{[a0_0x2ef6ba(0x12d)];[a0_0x2ef6ba(0x120)+'\x65\x73'];['\x70\x72\x6f\x74\x6f\x63\x6f\x6c\x56\x65'+a0_0x2ef6ba(0x12a)];[a0_0x2ef6ba(0x12e)]={};constructor(){const _0x3cc702=a0_0x13c8;this[_0x3cc702(0x12d)]={'\x6e\x61\x6d\x65':_0x3cc702(0x13c)};this[_0x3cc702(0x120)+'\x65\x73']={};this[_0x3cc702(0x135)+_0x3cc702(0x12a)]='';}['\x69\x6e\x69\x74\x69\x61\x6c\x69\x7a\x65'](_0xdea547={}){const _0x1db248=a0_0x13c8;this[_0x1db248(0x12d)]=_0xdea547?.[_0x1db248(0x12d)]||{'\x6e\x61\x6d\x65':_0x1db248(0x13c)};this['\x63\x61\x70\x61\x62\x69\x6c\x69\x74\x69'+'\x65\x73']=_0xdea547?.[_0x1db248(0x120)+'\x65\x73']||{};this['\x70\x72\x6f\x74\x6f\x63\x6f\x6c\x56\x65'+_0x1db248(0x12a)]=_0xdea547?.['\x70\x72\x6f\x74\x6f\x63\x6f\x6c\x56\x65'+_0x1db248(0x12a)]||'';}[a0_0x2ef6ba(0x148)+a0_0x2ef6ba(0x137)](){const _0x5b457b=a0_0x13c8;const _0x222e5b=this[_0x5b457b(0x12d)]?.[_0x5b457b(0x14a)]||_0x5b457b(0x13c);const _0x46f105={'\x63\x75\x72\x73\x6f\x72\x2d\x76\x73\x63\x6f\x64\x65':_0x5b457b(0x125),'\x56\x69\x73\x75\x61\x6c\x20\x53\x74\x75\x64\x69\x6f\x20\x43\x6f\x64\x65':_0x5b457b(0x149)+'\x64\x69\x6f\x20\x43\x6f\x64\x65','\x56\x69\x73\x75\x61\x6c\x20\x53\x74\x75\x64\x69\x6f\x20\x43\x6f\x64\x65\x20\x2d\x20\x49\x6e\x73\x69\x64\x65\x72\x73':_0x5b457b(0x149)+_0x5b457b(0x13e)+_0x5b457b(0x145),'\x6d\x69\x63\x72\x6f\x73\x63\x6f\x70\x65':_0x5b457b(0x13f)};return _0x46f105[_0x222e5b]||_0x222e5b;}['\x67\x65\x74\x43\x6c\x69\x65\x6e\x74\x56'+'\x65\x72\x73\x69\x6f\x6e'](){const _0x2cbcca=a0_0x13c8;return this[_0x2cbcca(0x12d)]?.[_0x2cbcca(0x146)];}['\x69\x73'](_0x5a82ef){const _0x442ebe=a0_0x13c8;if(!Array[_0x442ebe(0x127)](_0x5a82ef)){_0x5a82ef=[_0x5a82ef];}const _0x42898e=this[_0x442ebe(0x148)+_0x442ebe(0x137)]()[_0x442ebe(0x142)+'\x65']();return _0x5a82ef['\x73\x6f\x6d\x65'](_0x59305e=>_0x42898e[_0x442ebe(0x128)](_0x59305e[_0x442ebe(0x142)+'\x65']()));}[a0_0x2ef6ba(0x121)+a0_0x2ef6ba(0x14c)](_0x234b8a){const _0x27d2cb=a0_0x13c8;const _0x522f5f={'\x53\x71\x50\x45\x6f':function(_0x23a8ce,_0x2ce2b5){return _0x23a8ce(_0x2ce2b5);},'\x43\x6e\x59\x6a\x57':_0x27d2cb(0x149)+'\x64\x69\x6f\x20\x43\x6f\x64\x65\x20\x2d'+_0x27d2cb(0x145),'\x4a\x69\x55\x53\x64':'\x72\x65\x73\x6f\x75\x72\x63\x65\x73','\x78\x61\x70\x54\x6a':_0x27d2cb(0x149)+_0x27d2cb(0x140),'\x56\x76\x6b\x59\x55':_0x27d2cb(0x125),'\x7a\x6d\x66\x4d\x61':function(_0x5ae37f,_0x17235a){return _0x5ae37f(_0x17235a);}};switch(_0x234b8a){case'\x6c\x6f\x67\x67\x69\x6e\x67':return _0x522f5f[_0x27d2cb(0x147)](Boolean,this[_0x27d2cb(0x120)+'\x65\x73']?.[_0x27d2cb(0x123)])||this['\x69\x73']([_0x27d2cb(0x149)+'\x64\x69\x6f\x20\x43\x6f\x64\x65',_0x522f5f[_0x27d2cb(0x132)]]);case _0x522f5f['\x4a\x69\x55\x53\x64']:return Boolean(this['\x63\x61\x70\x61\x62\x69\x6c\x69\x74\x69'+'\x65\x73']?.[_0x234b8a])||this['\x69\x73']([_0x522f5f[_0x27d2cb(0x136)],_0x27d2cb(0x149)+_0x27d2cb(0x13e)+_0x27d2cb(0x145),_0x522f5f['\x56\x76\x6b\x59\x55']]);case _0x27d2cb(0x143)+_0x27d2cb(0x14d):return this['\x69\x73']([_0x27d2cb(0x149)+_0x27d2cb(0x140),_0x27d2cb(0x149)+_0x27d2cb(0x13e)+_0x27d2cb(0x145),_0x27d2cb(0x125)]);case _0x27d2cb(0x144)+_0x27d2cb(0x133):return this['\x69\x73']([_0x522f5f[_0x27d2cb(0x136)],'\x56\x69\x73\x75\x61\x6c\x20\x53\x74\x75'+_0x27d2cb(0x13e)+_0x27d2cb(0x145)])&&a0_0x2e9f37[_0x27d2cb(0x138)](this[_0x27d2cb(0x12d)][_0x27d2cb(0x146)],_0x27d2cb(0x141));case _0x27d2cb(0x129)+'\x6e':{if(a0_0x3fd7c4['\x64\x69\x73\x61\x62\x6c\x65\x45\x6c\x69'+_0x27d2cb(0x11e)]){return![];}const _0x3fec87=this[_0x27d2cb(0x120)+'\x65\x73']?.[_0x234b8a];if(!_0x3fec87){return![];}if(typeof _0x3fec87===_0x27d2cb(0x134)){return Object[_0x27d2cb(0x12b)](_0x3fec87)['\x6c\x65\x6e\x67\x74\x68']===0x0||_0x522f5f[_0x27d2cb(0x130)](Boolean,_0x3fec87[_0x27d2cb(0x13b)]);}return Boolean(_0x3fec87);}default:return Boolean(this[_0x27d2cb(0x120)+'\x65\x73']?.[_0x234b8a]);}}}const client=new Client();export default client;
|
package/src/config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0xd9947d=a0_0x55b2;function a0_0x55b2(_0x5c1396,_0x27cc13){_0x5c1396=_0x5c1396-0x116;const _0x509051=a0_0x5090();let _0x55b210=_0x509051[_0x5c1396];if(a0_0x55b2['\x46\x52\x62\x4a\x56\x6e']===undefined){var _0x58c229=function(_0x107c55){const _0x79866='\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 _0x1ceebe='';let _0x49d16e='';for(let _0x33f44c=0x0,_0x2afceb,_0x54e53a,_0x535be4=0x0;_0x54e53a=_0x107c55['\x63\x68\x61\x72\x41\x74'](_0x535be4++);~_0x54e53a&&(_0x2afceb=_0x33f44c%0x4?_0x2afceb*0x40+_0x54e53a:_0x54e53a,_0x33f44c++%0x4)?_0x1ceebe+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x2afceb>>(-0x2*_0x33f44c&0x6)):0x0){_0x54e53a=_0x79866['\x69\x6e\x64\x65\x78\x4f\x66'](_0x54e53a);}for(let _0x492326=0x0,_0x2d1bf5=_0x1ceebe['\x6c\x65\x6e\x67\x74\x68'];_0x492326<_0x2d1bf5;_0x492326++){_0x49d16e+='\x25'+('\x30\x30'+_0x1ceebe['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x492326)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x49d16e);};a0_0x55b2['\x6f\x77\x45\x70\x46\x71']=_0x58c229;a0_0x55b2['\x51\x56\x6b\x6f\x6d\x45']={};a0_0x55b2['\x46\x52\x62\x4a\x56\x6e']=!![];}const _0x4d03ea=_0x509051[0x0];const _0x2b96cd=_0x5c1396+_0x4d03ea;const _0x467daf=a0_0x55b2['\x51\x56\x6b\x6f\x6d\x45'][_0x2b96cd];if(!_0x467daf){_0x55b210=a0_0x55b2['\x6f\x77\x45\x70\x46\x71'](_0x55b210);a0_0x55b2['\x51\x56\x6b\x6f\x6d\x45'][_0x2b96cd]=_0x55b210;}else{_0x55b210=_0x467daf;}return _0x55b210;}(function(_0xfef983,_0x4d8174){const _0x111819=a0_0x55b2;const _0x57df6d=_0xfef983();while(!![]){try{const _0x1d90ea=-parseInt(_0x111819(0x11e))/0x1+-parseInt(_0x111819(0x116))/0x2*(parseInt(_0x111819(0x132))/0x3)+-parseInt(_0x111819(0x144))/0x4+parseInt(_0x111819(0x125))/0x5+parseInt(_0x111819(0x13d))/0x6*(parseInt(_0x111819(0x13e))/0x7)+parseInt(_0x111819(0x11c))/0x8+-parseInt(_0x111819(0x12d))/0x9*(-parseInt(_0x111819(0x135))/0xa);if(_0x1d90ea===_0x4d8174){break;}else{_0x57df6d['push'](_0x57df6d['shift']());}}catch(_0x4adfaf){_0x57df6d['push'](_0x57df6d['shift']());}}}(a0_0x5090,0x5b0f3));import{createRequire}from'\x6e\x6f\x64\x65\x3a\x6d\x6f\x64\x75\x6c\x65';function a0_0x5090(){const _0x1e262f=['\x6f\x74\x79\x57\x42\x77\x4c\x33\x44\x65\x66\x68','\x6d\x4a\x71\x30\x6d\x74\x7a\x62\x7a\x30\x48\x58\x42\x32\x4b','\x6c\x63\x62\x4b\x7a\x78\x62\x53\x42\x33\x4c\x50\x42\x47','\x69\x67\x4c\x55\x7a\x4d\x38\x53\x69\x68\x6a\x4c\x79\x57','\x7a\x59\x62\x54\x7a\x78\x72\x48\x7a\x67\x66\x30\x79\x71','\x42\x73\x31\x5a\x79\x77\x58\x4c\x43\x32\x7a\x56\x43\x47','\x41\x77\x35\x4d\x42\x33\x6a\x54\x79\x78\x72\x50\x42\x57','\x6d\x4a\x4b\x30\x6d\x74\x79\x34\x72\x31\x4c\x36\x76\x68\x72\x59','\x6d\x4a\x71\x33\x6d\x66\x76\x35\x44\x77\x39\x6c\x77\x71','\x41\x63\x62\x35\x42\x33\x76\x59\x69\x66\x6e\x4d\x69\x61','\x6c\x4d\x39\x55\x43\x4d\x76\x55\x7a\x67\x76\x59\x6c\x47','\x42\x33\x6a\x4e\x69\x68\x72\x56\x69\x68\x6a\x4c\x44\x61','\x69\x68\x72\x48\x43\x32\x54\x5a\x6c\x47','\x7a\x33\x6d\x53\x69\x68\x72\x56\x69\x67\x76\x34\x7a\x71','\x6d\x5a\x65\x34\x6e\x74\x69\x32\x6e\x67\x54\x6f\x42\x33\x62\x51\x41\x47','\x42\x33\x6a\x4a\x7a\x73\x62\x64\x42\x32\x35\x30\x7a\x71','\x6e\x4a\x43\x5a\x6f\x74\x69\x31\x76\x77\x6a\x54\x41\x67\x48\x5a','\x7a\x77\x35\x30\x69\x67\x6e\x56\x7a\x67\x76\x49\x79\x71','\x43\x59\x39\x4f\x79\x77\x35\x4b\x43\x32\x48\x48\x41\x57','\x69\x68\x6e\x4a\x43\x4d\x4c\x57\x44\x68\x6d\x47\x79\x71','\x44\x68\x6a\x35','\x71\x78\x62\x4c\x45\x63\x62\x30\x7a\x78\x6e\x30\x43\x57','\x69\x67\x66\x55\x7a\x63\x62\x56\x44\x67\x48\x4c\x43\x47','\x6d\x4a\x4b\x58\x6d\x64\x75\x35\x6e\x77\x39\x4a\x71\x75\x58\x6a\x44\x71','\x6c\x4d\x35\x4c\x44\x67\x58\x50\x7a\x4e\x4b\x55\x79\x71','\x44\x67\x76\x34\x44\x61','\x44\x4d\x76\x59\x43\x32\x4c\x56\x42\x47','\x6c\x49\x34\x56\x43\x67\x66\x4a\x41\x32\x66\x4e\x7a\x71','\x6c\x4d\x50\x5a\x42\x32\x34','\x7a\x77\x6e\x30\x69\x68\x6e\x4a\x41\x67\x76\x54\x79\x71','\x69\x68\x4c\x56\x44\x73\x62\x30\x42\x59\x62\x50\x42\x47','\x6d\x74\x48\x59\x7a\x77\x54\x52\x71\x4d\x43','\x79\x33\x76\x30\x7a\x73\x62\x65\x74\x75\x57\x53\x69\x61','\x73\x75\x6a\x6e\x69\x66\x6e\x48\x42\x67\x76\x5a\x7a\x47','\x45\x73\x39\x4d\x44\x77\x35\x4a\x44\x67\x4c\x56\x42\x47','\x43\x33\x76\x53\x44\x68\x6d\x53\x69\x67\x39\x49\x41\x47','\x6d\x74\x79\x34\x6f\x75\x50\x65\x71\x31\x66\x51\x43\x61','\x41\x68\x72\x30\x43\x68\x6d\x36\x6c\x59\x39\x50\x79\x47','\x45\x68\x71\x47\x74\x75\x6e\x71\x69\x66\x6e\x4c\x43\x47','\x6d\x74\x6d\x34\x6e\x4a\x4b\x33\x6d\x66\x48\x72\x72\x65\x66\x35\x42\x61','\x7a\x4d\x66\x53\x43\x32\x75','\x43\x68\x61\x56\x6c\x4d\x35\x4c\x44\x67\x58\x50\x7a\x47','\x42\x49\x57\x47\x75\x30\x39\x72\x74\x63\x62\x59\x7a\x71','\x44\x68\x6a\x31\x7a\x71','\x44\x4d\x76\x59\x69\x67\x66\x53\x42\x67\x39\x33\x43\x57','\x41\x77\x6a\x54\x6c\x78\x6e\x4d\x6c\x77\x6e\x56\x42\x47','\x79\x32\x75\x54\x79\x32\x39\x55\x44\x67\x76\x34\x44\x61'];a0_0x5090=function(){return _0x1e262f;};return a0_0x5090();}const require=createRequire(import.meta.url);const pkg=require(a0_0xd9947d(0x129)+a0_0xd9947d(0x12a));export default{'\x6c\x6f\x67\x50\x72\x65\x66\x69\x78':'\ud83d\udc41\ud83d\udc1d\u24c2\ufe0f','\x64\x65\x66\x61\x75\x6c\x74\x4c\x6f\x67\x4c\x65\x76\x65\x6c':'\x64\x65\x62\x75\x67','\x62\x79\x70\x61\x73\x73\x48\x61\x6e\x64\x73\x68\x61\x6b\x65\x56\x61\x6c\x69\x64\x61\x74\x69\x6f\x6e':!![],'\x62\x79\x70\x61\x73\x73\x55\x73\x65\x72\x50\x65\x72\x6d\x69\x73\x73\x69\x6f\x6e\x73\x56\x61\x6c\x69\x64\x61\x74\x69\x6f\x6e':!![],'\x64\x69\x73\x61\x62\x6c\x65\x45\x6c\x69\x63\x69\x74\x61\x74\x69\x6f\x6e':process.env.DISABLE_ELICITATION===a0_0xd9947d(0x139),'\x6d\x63\x70\x41\x70\x70\x73\x45\x6e\x61\x62\x6c\x65\x64':process.env.MCP_APPS_ENABLED!=='\x66\x61\x6c\x73\x65','\x6d\x63\x70\x41\x70\x70\x73\x54\x6f\x6f\x6c\x45\x6e\x61\x62\x6c\x65\x64':{'\x67\x65\x74\x5f\x72\x65\x63\x6f\x72\x64':![]},'\x74\x65\x6d\x70\x44\x69\x72':{'\x62\x61\x73\x65\x53\x75\x62\x64\x69\x72':'\x74\x6d\x70','\x72\x65\x74\x65\x6e\x74\x69\x6f\x6e\x44\x61\x79\x73':0x7},'\x61\x70\x69\x43\x61\x63\x68\x65':{'\x65\x6e\x61\x62\x6c\x65\x64':!![],'\x63\x61\x63\x68\x65\x47\x65\x74':!![],'\x64\x65\x66\x61\x75\x6c\x74\x54\x74\x6c\x4d\x73':0x2710,'\x6d\x61\x78\x45\x6e\x74\x72\x69\x65\x73':0xc8,'\x69\x6e\x76\x61\x6c\x69\x64\x61\x74\x65\x4f\x6e\x57\x72\x69\x74\x65':!![]},'\x72\x65\x73\x6f\x75\x72\x63\x65\x73':{'\x6d\x61\x78\x52\x65\x73\x6f\x75\x72\x63\x65\x73':0x1e},'\x73\x65\x72\x76\x65\x72\x43\x6f\x6e\x73\x74\x61\x6e\x74\x73':{'\x70\x72\x6f\x74\x6f\x63\x6f\x6c\x56\x65\x72\x73\x69\x6f\x6e':'\x32\x30\x32\x35\x2d\x31\x31\x2d\x32\x35','\x73\x65\x72\x76\x65\x72\x49\x6e\x66\x6f':{'\x6e\x61\x6d\x65':a0_0xd9947d(0x12f)+a0_0xd9947d(0x11d)+'\x78\x74','\x61\x6c\x69\x61\x73':a0_0xd9947d(0x13b)+a0_0xd9947d(0x127),'\x76\x65\x72\x73\x69\x6f\x6e':pkg[a0_0xd9947d(0x128)],'\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e':a0_0xd9947d(0x12f)+'\x6f\x72\x63\x65\x20\x43\x6f\x6e\x74\x65'+a0_0xd9947d(0x134)+a0_0xd9947d(0x13a)+a0_0xd9947d(0x12c)+'\x74\x65\x72\x61\x63\x74\x20\x77\x69\x74'+a0_0xd9947d(0x117)+a0_0xd9947d(0x119)+'\x72\x69\x65\x76\x65\x20\x6f\x72\x67\x20'+a0_0xd9947d(0x143)+a0_0xd9947d(0x138)+a0_0xd9947d(0x131)+a0_0xd9947d(0x12b)+a0_0xd9947d(0x140)+a0_0xd9947d(0x11f)+'\x73\x65\x20\x63\x68\x61\x6e\x67\x65\x73'+'\x2c\x20\x64\x65\x62\x75\x67\x20\x6c\x6f'+a0_0xd9947d(0x11b)+a0_0xd9947d(0x12e)+'\x6c\x6f\x63\x61\x6c\x20\x41\x70\x65\x78'+a0_0xd9947d(0x121)+'\x6e\x64\x20\x72\x65\x6d\x6f\x74\x65\x20'+a0_0xd9947d(0x123)+a0_0xd9947d(0x13f)+a0_0xd9947d(0x141)+a0_0xd9947d(0x124)+a0_0xd9947d(0x11a)},'\x63\x61\x70\x61\x62\x69\x6c\x69\x74\x69\x65\x73':{'\x6c\x6f\x67\x67\x69\x6e\x67':{},'\x72\x65\x73\x6f\x75\x72\x63\x65\x73':{'\x6c\x69\x73\x74\x43\x68\x61\x6e\x67\x65\x64':!![]},'\x74\x6f\x6f\x6c\x73':{},'\x70\x72\x6f\x6d\x70\x74\x73':{},'\x63\x6f\x6d\x70\x6c\x65\x74\x69\x6f\x6e\x73':{}}},'\x6c\x6f\x67\x69\x6e\x55\x72\x6c':a0_0xd9947d(0x133)+a0_0xd9947d(0x142)+a0_0xd9947d(0x13c)+a0_0xd9947d(0x126)+a0_0xd9947d(0x137)+a0_0xd9947d(0x130)+a0_0xd9947d(0x120)+'\x65','\x69\x73\x73\x75\x65\x52\x65\x70\x6f\x72\x74\x69\x6e\x67':{'\x77\x65\x62\x68\x6f\x6f\x6b\x55\x72\x6c':a0_0xd9947d(0x133)+'\x6d\x2d\x73\x61\x6c\x65\x73\x66\x6f\x72'+a0_0xd9947d(0x13c)+a0_0xd9947d(0x126)+a0_0xd9947d(0x137)+a0_0xd9947d(0x130)+'\x73\x2f\x72\x65\x70\x6f\x72\x74\x2d\x69'+'\x73\x73\x75\x65'},'\x73\x74\x72\x69\x63\x74\x53\x73\x6c':process.env.STRICT_SSL!=='\x66\x61\x6c\x73\x65','\x74\x65\x6c\x65\x6d\x65\x74\x72\x79':{'\x65\x6e\x61\x62\x6c\x65\x64':process.env.TELEMETRY_ENABLED!==a0_0xd9947d(0x136),'\x65\x6e\x64\x70\x6f\x69\x6e\x74':process.env.TELEMETRY_ENDPOINT||a0_0xd9947d(0x133)+a0_0xd9947d(0x142)+a0_0xd9947d(0x13c)+'\x2d\x74\x65\x6c\x65\x6d\x65\x74\x72\x79'+a0_0xd9947d(0x118)+'\x63\x6f\x6d\x2f\x74\x65\x6c\x65\x6d\x65'+a0_0xd9947d(0x122),'\x74\x69\x6d\x65\x6f\x75\x74':Number['\x70\x61\x72\x73\x65\x49\x6e\x74'](process.env.TELEMETRY_TIMEOUT,0xa)||0x7d0,'\x73\x63\x68\x65\x6d\x61\x56\x65\x72\x73\x69\x6f\x6e':process.env.TELEMETRY_SCHEMA_VERSION||'\x32','\x65\x76\x65\x6e\x74\x73':{'\x74\x6f\x6f\x6c':{'\x65\x78\x65\x63\x75\x74\x69\x6f\x6e':!![],'\x76\x61\x6c\x69\x64\x61\x74\x69\x6f\x6e':!![]},'\x73\x65\x73\x73\x69\x6f\x6e':{'\x73\x65\x72\x76\x65\x72\x5f\x62\x6f\x6f\x74':![],'\x63\x6c\x69\x65\x6e\x74\x5f\x63\x6f\x6e\x6e\x65\x63\x74':![],'\x73\x65\x73\x73\x69\x6f\x6e\x5f\x73\x74\x61\x72\x74':!![],'\x73\x65\x73\x73\x69\x6f\x6e\x5f\x65\x6e\x64':!![],'\x63\x6c\x69\x65\x6e\x74\x5f\x64\x69\x73\x63\x6f\x6e\x6e\x65\x63\x74':![],'\x73\x65\x72\x76\x65\x72\x5f\x73\x68\x75\x74\x64\x6f\x77\x6e':![]},'\x67\x65\x6e\x65\x72\x61\x6c':{'\x65\x72\x72\x6f\x72\x5f\x6f\x63\x63\x75\x72\x72\x65\x64':!![]}}}};
|
package/src/lib/OrgWatcher.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a0_0x1ce9cb=a0_0x42d7;(function(_0x184f97,_0x37342b){const _0x1e3dd1=a0_0x42d7;const _0x12c2c6=_0x184f97();while(!![]){try{const _0x3a926f=parseInt(_0x1e3dd1(0x86))/0x1+-parseInt(_0x1e3dd1(0xa0))/0x2+parseInt(_0x1e3dd1(0x87))/0x3*(parseInt(_0x1e3dd1(0xa2))/0x4)+-parseInt(_0x1e3dd1(0x93))/0x5*(-parseInt(_0x1e3dd1(0xbc))/0x6)+parseInt(_0x1e3dd1(0xc3))/0x7*(-parseInt(_0x1e3dd1(0x9b))/0x8)+-parseInt(_0x1e3dd1(0xc8))/0x9*(-parseInt(_0x1e3dd1(0xbf))/0xa)+-parseInt(_0x1e3dd1(0xbe))/0xb*(parseInt(_0x1e3dd1(0x8a))/0xc);if(_0x3a926f===_0x37342b){break;}else{_0x12c2c6['push'](_0x12c2c6['shift']());}}catch(_0x1495ba){_0x12c2c6['push'](_0x12c2c6['shift']());}}}(a0_0x3190,0x3c958));import{EventEmitter}from'\x6e\x6f\x64\x65\x3a\x65\x76\x65\x6e\x74\x73';function a0_0x42d7(_0x442dda,_0x5c8299){_0x442dda=_0x442dda-0x85;const _0x3190de=a0_0x3190();let _0x42d763=_0x3190de[_0x442dda];if(a0_0x42d7['\x51\x65\x64\x48\x49\x5a']===undefined){var _0x38c656=function(_0xa210d3){const _0x290eb4='\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 _0x189bed='';let _0x15da30='';for(let _0x5a653b=0x0,_0x58b750,_0x4b76de,_0x3c6387=0x0;_0x4b76de=_0xa210d3['\x63\x68\x61\x72\x41\x74'](_0x3c6387++);~_0x4b76de&&(_0x58b750=_0x5a653b%0x4?_0x58b750*0x40+_0x4b76de:_0x4b76de,_0x5a653b++%0x4)?_0x189bed+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x58b750>>(-0x2*_0x5a653b&0x6)):0x0){_0x4b76de=_0x290eb4['\x69\x6e\x64\x65\x78\x4f\x66'](_0x4b76de);}for(let _0x18e008=0x0,_0x25c62f=_0x189bed['\x6c\x65\x6e\x67\x74\x68'];_0x18e008<_0x25c62f;_0x18e008++){_0x15da30+='\x25'+('\x30\x30'+_0x189bed['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x18e008)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x15da30);};a0_0x42d7['\x6e\x6e\x7a\x67\x63\x48']=_0x38c656;a0_0x42d7['\x74\x77\x6b\x66\x68\x4a']={};a0_0x42d7['\x51\x65\x64\x48\x49\x5a']=!![];}const _0x3688f4=_0x3190de[0x0];const _0x44c2bd=_0x442dda+_0x3688f4;const _0x43e241=a0_0x42d7['\x74\x77\x6b\x66\x68\x4a'][_0x44c2bd];if(!_0x43e241){_0x42d763=a0_0x42d7['\x6e\x6e\x7a\x67\x63\x48'](_0x42d763);a0_0x42d7['\x74\x77\x6b\x66\x68\x4a'][_0x44c2bd]=_0x42d763;}else{_0x42d763=_0x43e241;}return _0x42d763;}import a0_0x523135 from'\x6e\x6f\x64\x65\x3a\x66\x73';import a0_0x460a9a from'\x6e\x6f\x64\x65\x3a\x70\x61\x74\x68';import a0_0x33853e from'\x63\x68\x6f\x6b\x69\x64\x61\x72';import{createModuleLogger}from'\x2e\x2f\x6c\x6f\x67\x67\x65\x72\x2e\x6a\x73';const logger=createModuleLogger(import.meta.url);class TargetOrgWatcher extends EventEmitter{constructor(){const _0x15c426=a0_0x42d7;const _0x1560b8=(_0x15c426(0xa3)+'\x32')[_0x15c426(0xa8)]('\x7c');let _0x5277ea=0x0;while(!![]){switch(_0x1560b8[_0x5277ea++]){case'\x30':super();continue;case'\x31':this[_0x15c426(0x96)+_0x15c426(0xbb)]=null;continue;case'\x32':this[_0x15c426(0xb5)]=0x1388;continue;case'\x33':this[_0x15c426(0xc7)+_0x15c426(0x94)]=null;continue;case'\x34':this[_0x15c426(0x9d)+'\x72']=null;continue;case'\x35':this[_0x15c426(0xb8)]=![];continue;}break;}}async[a0_0x1ce9cb(0xa7)](_0x37ecb2,_0x3b879e=null){const _0x3073ac=a0_0x42d7;const _0x1a3bdb={'\x5a\x4b\x72\x6a\x54':_0x3073ac(0x85),'\x70\x6d\x51\x68\x4c':_0x3073ac(0xa4)};try{await this[_0x3073ac(0xad)]();this[_0x3073ac(0x96)+_0x3073ac(0xbb)]=a0_0x460a9a[_0x3073ac(0x8b)](process[_0x3073ac(0xca)](),_0x3073ac(0x9c),_0x3073ac(0xb3)+'\x6e');this[_0x3073ac(0xc7)+_0x3073ac(0x94)]=_0x3b879e;if(this['\x69\x73\x57\x61\x74\x63\x68\x69\x6e\x67']||!this[_0x3073ac(0xc7)+_0x3073ac(0x94)]||!a0_0x523135[_0x3073ac(0xba)](this[_0x3073ac(0x96)+_0x3073ac(0xbb)])){return;}this['\x6f\x6e'](_0x3073ac(0xa4),_0x985f33=>logger[_0x3073ac(0xc4)](_0x3073ac(0x8e)+_0x3073ac(0x92)+_0x3073ac(0xaf)+_0x3073ac(0x99)+_0x3073ac(0x8f)+this['\x63\x6f\x6e\x66\x69\x67\x46\x69\x6c\x65'+_0x3073ac(0xbb)]+('\x20\x28\x63\x75\x72\x72\x65\x6e\x74\x3a'+'\x20')+_0x985f33+'\x29'));this['\x6f\x6e'](_0x3073ac(0x88),_0x37ecb2);this['\x6f\x6e'](_0x1a3bdb['\x5a\x4b\x72\x6a\x54'],_0x35b7f1=>logger[_0x3073ac(0x85)](_0x35b7f1,_0x3073ac(0xab)+_0x3073ac(0xa5)+_0x3073ac(0xa1)+_0x3073ac(0xc0)+'\x65\x72'));this['\x66\x69\x6c\x65\x57\x61\x74\x63\x68\x65'+'\x72']=a0_0x33853e[_0x3073ac(0x95)](this[_0x3073ac(0x96)+_0x3073ac(0xbb)],{'\x69\x67\x6e\x6f\x72\x65\x49\x6e\x69\x74\x69\x61\x6c':!![],'\x61\x77\x61\x69\x74\x57\x72\x69\x74\x65\x46\x69\x6e\x69\x73\x68':{'\x73\x74\x61\x62\x69\x6c\x69\x74\x79\x54\x68\x72\x65\x73\x68\x6f\x6c\x64':this['\x64\x65\x62\x6f\x75\x6e\x63\x65\x4d\x73']}});this[_0x3073ac(0x9d)+'\x72']['\x6f\x6e'](_0x3073ac(0x8c),()=>this[_0x3073ac(0xaa)]());this['\x66\x69\x6c\x65\x57\x61\x74\x63\x68\x65'+'\x72']['\x6f\x6e'](_0x1a3bdb[_0x3073ac(0xa9)],_0x26c1c5=>this[_0x3073ac(0xa6)](_0x3073ac(0x85),_0x26c1c5));this[_0x3073ac(0xb8)]=!![];this[_0x3073ac(0xa6)](_0x1a3bdb['\x70\x6d\x51\x68\x4c'],this[_0x3073ac(0xc7)+_0x3073ac(0x94)]);}catch(_0x59d0c4){logger[_0x3073ac(0x85)](_0x59d0c4,_0x3073ac(0x9a)+'\x69\x6e\x67\x20\x75\x70\x20\x66\x69\x6c'+_0x3073ac(0xb0));}}async[a0_0x1ce9cb(0xad)](){const _0x451062=a0_0x42d7;const _0x42edc6={'\x55\x5a\x75\x68\x41':_0x451062(0xb2)+_0x451062(0xa5)+_0x451062(0xa1)+_0x451062(0xc0)+'\x65\x72'};if(!this[_0x451062(0xb8)]){return;}logger[_0x451062(0xc4)](_0x42edc6['\x55\x5a\x75\x68\x41']);if(this['\x66\x69\x6c\x65\x57\x61\x74\x63\x68\x65'+'\x72']){if(_0x451062(0xae)===_0x451062(0xc1)){_0x5e3be4[_0x451062(0x85)](_0x469ec1,'\x45\x72\x72\x6f\x72\x20\x72\x65\x61\x64'+_0x451062(0x97)+_0x451062(0x90)+_0x451062(0x89));}else{await this[_0x451062(0x9d)+'\x72'][_0x451062(0x9f)]();this[_0x451062(0x9d)+'\x72']=null;}}this[_0x451062(0xb6)+_0x451062(0xc9)]();this[_0x451062(0xb8)]=![];this['\x65\x6d\x69\x74']('\x73\x74\x6f\x70\x70\x65\x64');}[a0_0x1ce9cb(0xaa)](){const _0x4327ee=a0_0x42d7;const _0x2b1a4c={'\x51\x69\x68\x74\x50':_0x4327ee(0x9e)+_0x4327ee(0xbd)+_0x4327ee(0x8d)+_0x4327ee(0xcc)+'\x6e\x66\x69\x67\x20\x66\x69\x6c\x65','\x57\x65\x54\x48\x71':_0x4327ee(0x88),'\x6e\x57\x67\x53\x6b':_0x4327ee(0xb7)+_0x4327ee(0x97)+_0x4327ee(0x90)+_0x4327ee(0x89)};try{const _0x4ca290=a0_0x523135['\x72\x65\x61\x64\x46\x69\x6c\x65\x53\x79'+'\x6e\x63'](this[_0x4327ee(0x96)+_0x4327ee(0xbb)]);const _0x365eeb=JSON[_0x4327ee(0x98)](_0x4ca290);const _0x2cc4f5=_0x365eeb[_0x4327ee(0xac)]||null;if(!_0x2cc4f5){logger[_0x4327ee(0xc4)](_0x2b1a4c[_0x4327ee(0xb1)]);return;}if(_0x2cc4f5!==this['\x63\x75\x72\x72\x65\x6e\x74\x4f\x72\x67'+_0x4327ee(0x94)]){const _0x416212=this[_0x4327ee(0xc7)+_0x4327ee(0x94)];logger[_0x4327ee(0xb4)](_0x4327ee(0xb9)+_0x4327ee(0xc5)+_0x4327ee(0xa5)+_0x4327ee(0xa1)+_0x4327ee(0xcb)+_0x416212+_0x4327ee(0xc6)+_0x2cc4f5);this[_0x4327ee(0xc7)+_0x4327ee(0x94)]=_0x2cc4f5;this[_0x4327ee(0xa6)](_0x2b1a4c['\x57\x65\x54\x48\x71'],{'\x6f\x6c\x64\x56\x61\x6c\x75\x65':_0x416212,'\x6e\x65\x77\x56\x61\x6c\x75\x65':_0x2cc4f5});}}catch(_0x1f414a){if(_0x4327ee(0xc2)!==_0x4327ee(0xc2)){_0x1644e1[_0x4327ee(0xc4)](_0x4327ee(0x9e)+_0x4327ee(0xbd)+_0x4327ee(0x8d)+_0x4327ee(0xcc)+'\x6e\x66\x69\x67\x20\x66\x69\x6c\x65');return;}else{logger['\x65\x72\x72\x6f\x72'](_0x1f414a,_0x2b1a4c[_0x4327ee(0x91)]);}}}}const targetOrgWatcher=new TargetOrgWatcher();function a0_0x3190(){const _0x5b0da1=['\x6e\x32\x72\x4c\x76\x77\x58\x7a\x73\x71','\x7a\x67\x76\x49\x44\x77\x43','\x7a\x77\x6e\x30\x7a\x77\x71\x47\x41\x77\x34\x47\x75\x57','\x69\x63\x30\x2b\x69\x61','\x79\x33\x76\x59\x43\x4d\x76\x55\x44\x65\x39\x59\x7a\x57','\x6f\x74\x69\x5a\x6e\x5a\x7a\x6a\x72\x4d\x4c\x4f\x41\x67\x30','\x41\x78\x6e\x30\x7a\x77\x35\x4c\x43\x4e\x6d','\x79\x33\x44\x4b','\x69\x67\x39\x59\x7a\x5a\x4f\x47','\x43\x4d\x6e\x4c\x69\x65\x6e\x6d\x73\x73\x62\x4a\x42\x57','\x7a\x78\x6a\x59\x42\x33\x69','\x6d\x74\x43\x30\x6d\x74\x47\x35\x71\x32\x39\x41\x76\x4c\x44\x76','\x6e\x5a\x69\x57\x6e\x64\x47\x57\x75\x4b\x54\x77\x72\x31\x7a\x7a','\x42\x33\x6a\x4e\x71\x32\x48\x48\x42\x4d\x44\x4c\x7a\x61','\x42\x32\x35\x4d\x41\x77\x43\x47\x7a\x4d\x4c\x53\x7a\x71','\x6d\x74\x6d\x59\x74\x77\x39\x57\x77\x68\x44\x72','\x41\x4d\x39\x50\x42\x47','\x79\x32\x48\x48\x42\x4d\x44\x4c','\x41\x77\x34\x47\x75\x32\x66\x53\x7a\x78\x6e\x4d\x42\x57','\x74\x77\x39\x55\x41\x78\x72\x56\x43\x4d\x4c\x55\x7a\x57','\x42\x4d\x44\x4c\x43\x59\x62\x48\x44\x63\x61','\x42\x33\x6a\x4a\x7a\x73\x62\x64\x74\x65\x4b\x47\x79\x57','\x42\x4c\x44\x4e\x75\x32\x53','\x69\x66\x6e\x48\x42\x67\x76\x5a\x7a\x4d\x39\x59\x79\x57','\x6f\x64\x75\x34\x6e\x77\x58\x6a\x79\x77\x58\x66\x73\x47','\x71\x77\x58\x50\x79\x78\x6d','\x44\x32\x66\x30\x79\x32\x47','\x79\x32\x39\x55\x7a\x4d\x4c\x4e\x72\x4d\x4c\x53\x7a\x71','\x41\x77\x35\x4e\x69\x66\x6e\x48\x42\x67\x76\x5a\x7a\x47','\x43\x67\x66\x59\x43\x32\x75','\x7a\x78\x71\x47\x42\x33\x6a\x4e\x69\x67\x6e\x4f\x79\x71','\x72\x78\x6a\x59\x42\x33\x69\x47\x43\x32\x76\x30\x44\x61','\x6d\x5a\x69\x5a\x6f\x64\x43\x34\x6e\x66\x48\x6e\x73\x67\x6a\x5a\x76\x57','\x6c\x4e\x6e\x4d','\x7a\x4d\x4c\x53\x7a\x76\x44\x48\x44\x67\x6e\x4f\x7a\x71','\x74\x4d\x38\x47\x44\x67\x66\x59\x7a\x32\x76\x30\x69\x61','\x79\x32\x58\x56\x43\x32\x75','\x6f\x64\x43\x59\x6d\x64\x69\x34\x43\x77\x31\x7a\x76\x32\x31\x31','\x71\x30\x58\x6a\x69\x68\x72\x48\x43\x4d\x44\x4c\x44\x61','\x6f\x67\x76\x50\x44\x4d\x44\x52\x72\x71','\x6d\x68\x57\x58\x46\x64\x6e\x38\x6e\x68\x57\x31\x46\x61','\x43\x33\x72\x48\x43\x4e\x72\x4c\x7a\x61','\x79\x77\x58\x4c\x43\x32\x7a\x56\x43\x4d\x6e\x4c\x69\x61','\x7a\x77\x31\x50\x44\x61','\x43\x33\x72\x48\x43\x4e\x71','\x43\x33\x62\x53\x41\x78\x71','\x77\x4b\x54\x59\x41\x4c\x71','\x79\x32\x48\x4c\x79\x32\x53','\x72\x78\x6a\x59\x42\x33\x69\x47\x41\x77\x34\x47\x75\x57','\x44\x67\x66\x59\x7a\x32\x76\x30\x6c\x77\x39\x59\x7a\x57','\x43\x33\x72\x56\x43\x61','\x76\x75\x48\x57\x72\x4d\x6d','\x7a\x73\x62\x64\x74\x65\x4b\x47\x44\x67\x66\x59\x7a\x57','\x7a\x73\x62\x33\x79\x78\x72\x4a\x41\x67\x76\x59','\x75\x77\x4c\x4f\x44\x66\x61','\x75\x33\x72\x56\x43\x68\x62\x50\x42\x4d\x43\x47\x75\x57','\x79\x32\x39\x55\x7a\x4d\x4c\x4e\x6c\x4d\x50\x5a\x42\x57','\x41\x77\x35\x4d\x42\x57','\x7a\x67\x76\x49\x42\x33\x76\x55\x79\x32\x76\x6e\x43\x57','\x43\x4d\x76\x54\x42\x33\x7a\x4c\x71\x77\x58\x53\x74\x61','\x72\x78\x6a\x59\x42\x33\x69\x47\x43\x4d\x76\x48\x7a\x61','\x41\x78\x6e\x78\x79\x78\x72\x4a\x41\x67\x4c\x55\x7a\x57','\x71\x32\x48\x48\x42\x4d\x44\x4c\x69\x67\x72\x4c\x44\x61','\x7a\x78\x48\x50\x43\x33\x72\x5a\x75\x33\x4c\x55\x79\x57','\x75\x67\x66\x30\x41\x61','\x6d\x74\x75\x33\x6d\x4c\x62\x35\x74\x66\x66\x49\x44\x71','\x42\x33\x6a\x4e\x69\x67\x7a\x56\x44\x77\x35\x4b\x69\x61','\x6f\x64\x43\x58\x6f\x74\x44\x58\x74\x4c\x66\x4d\x43\x66\x75','\x6e\x5a\x62\x76\x73\x77\x31\x74\x71\x30\x65','\x69\x67\x39\x59\x7a\x59\x62\x33\x79\x78\x72\x4a\x41\x61','\x75\x33\x50\x64\x73\x66\x69','\x74\x76\x6e\x75\x45\x65\x57'];a0_0x3190=function(){return _0x5b0da1;};return a0_0x3190();}export default targetOrgWatcher;
|
|
1
|
+
const a0_0x3188c4=a0_0x450a;(function(_0x320be0,_0x5e08c4){const _0x1dc990=a0_0x450a;const _0x13fb97=_0x320be0();while(!![]){try{const _0x23ff65=-parseInt(_0x1dc990(0x169))/0x1*(-parseInt(_0x1dc990(0x194))/0x2)+-parseInt(_0x1dc990(0x193))/0x3+-parseInt(_0x1dc990(0x191))/0x4+parseInt(_0x1dc990(0x197))/0x5+parseInt(_0x1dc990(0x195))/0x6*(-parseInt(_0x1dc990(0x181))/0x7)+parseInt(_0x1dc990(0x18a))/0x8+parseInt(_0x1dc990(0x176))/0x9;if(_0x23ff65===_0x5e08c4){break;}else{_0x13fb97['push'](_0x13fb97['shift']());}}catch(_0x35eae9){_0x13fb97['push'](_0x13fb97['shift']());}}}(a0_0x27cc,0xe7f12));import{EventEmitter}from'\x6e\x6f\x64\x65\x3a\x65\x76\x65\x6e\x74\x73';import a0_0x4c3301 from'\x6e\x6f\x64\x65\x3a\x66\x73';import a0_0x82a680 from'\x6e\x6f\x64\x65\x3a\x70\x61\x74\x68';function a0_0x27cc(){const _0x210035=['\x41\x77\x35\x4e\x69\x66\x6e\x48\x42\x67\x76\x5a\x7a\x47','\x45\x75\x54\x4f\x73\x4b\x4f','\x79\x77\x58\x4c\x43\x32\x7a\x56\x43\x4d\x6e\x4c\x69\x61','\x41\x4d\x39\x50\x42\x47','\x42\x4d\x44\x4c\x43\x59\x62\x48\x44\x63\x61','\x79\x32\x39\x55\x7a\x4d\x4c\x4e\x6c\x4d\x50\x5a\x42\x57','\x7a\x67\x76\x49\x44\x77\x43','\x79\x32\x48\x4c\x79\x32\x53','\x7a\x4d\x4c\x53\x7a\x76\x44\x48\x44\x67\x6e\x4f\x7a\x71','\x6d\x5a\x65\x32\x6e\x4a\x6d\x32\x6d\x4e\x72\x4e\x7a\x32\x31\x74\x73\x57','\x6c\x4e\x6e\x4d','\x41\x78\x6e\x78\x79\x78\x72\x4a\x41\x67\x4c\x55\x7a\x57','\x44\x67\x66\x59\x7a\x32\x76\x30\x6c\x77\x39\x59\x7a\x57','\x42\x33\x6a\x4a\x7a\x73\x62\x64\x74\x65\x4b\x47\x79\x57','\x7a\x77\x31\x50\x44\x61','\x44\x32\x66\x30\x79\x32\x47','\x41\x77\x34\x47\x75\x32\x66\x53\x7a\x78\x6e\x4d\x42\x57','\x79\x32\x54\x6c\x41\x4e\x61','\x79\x32\x39\x55\x7a\x4d\x4c\x4e\x72\x4d\x4c\x53\x7a\x71','\x75\x33\x72\x56\x43\x68\x62\x50\x42\x4d\x43\x47\x75\x57','\x6d\x5a\x79\x30\x6d\x5a\x61\x58\x73\x77\x72\x58\x43\x4b\x4c\x4d','\x7a\x78\x71\x47\x42\x33\x6a\x4e\x69\x67\x6e\x4f\x79\x71','\x69\x67\x39\x59\x7a\x5a\x4f\x47','\x42\x4d\x7a\x50\x7a\x59\x62\x4d\x41\x77\x58\x4c','\x77\x77\x48\x6e\x76\x4c\x65','\x72\x30\x44\x73\x75\x75\x30','\x42\x33\x6a\x4e\x69\x67\x7a\x56\x44\x77\x35\x4b\x69\x61','\x79\x32\x58\x56\x43\x32\x75','\x69\x67\x39\x59\x7a\x59\x62\x33\x79\x78\x72\x4a\x41\x61','\x6d\x74\x6d\x30\x6d\x4a\x71\x30\x6f\x74\x7a\x6d\x42\x75\x66\x34\x76\x68\x61','\x74\x4d\x38\x47\x44\x67\x66\x59\x7a\x32\x76\x30\x69\x61','\x71\x30\x58\x6a\x69\x68\x72\x48\x43\x4d\x44\x4c\x44\x61','\x43\x33\x72\x56\x43\x68\x62\x4c\x7a\x61','\x43\x33\x72\x48\x43\x4e\x72\x4c\x7a\x61','\x43\x33\x62\x53\x41\x78\x71','\x79\x33\x76\x59\x43\x4d\x76\x55\x44\x65\x39\x59\x7a\x57','\x6e\x74\x43\x35\x6e\x4a\x4b\x30\x6f\x65\x35\x51\x7a\x4d\x35\x56\x44\x47','\x43\x33\x72\x56\x43\x61','\x6d\x5a\x65\x5a\x6e\x74\x6d\x33\x6e\x77\x7a\x52\x44\x68\x76\x62\x42\x47','\x6d\x74\x61\x33\x6e\x74\x79\x58\x6d\x65\x54\x62\x76\x77\x54\x6f\x72\x57','\x6f\x64\x72\x76\x45\x4b\x44\x64\x72\x65\x71','\x41\x77\x35\x4e\x69\x68\x76\x57\x69\x67\x7a\x50\x42\x61','\x6f\x64\x61\x59\x6e\x4a\x75\x32\x6e\x78\x6a\x32\x7a\x67\x76\x4b\x76\x71','\x42\x33\x6a\x4e\x71\x32\x48\x48\x42\x4d\x44\x4c\x7a\x61','\x71\x32\x48\x48\x42\x4d\x44\x4c\x69\x67\x72\x4c\x44\x61','\x75\x67\x66\x30\x41\x61','\x7a\x78\x6a\x59\x42\x33\x69','\x7a\x73\x62\x64\x74\x65\x4b\x47\x44\x67\x66\x59\x7a\x57','\x43\x4d\x76\x54\x42\x33\x7a\x4c\x71\x77\x58\x53\x74\x61','\x79\x33\x44\x4b','\x7a\x78\x48\x50\x43\x33\x72\x5a\x75\x33\x4c\x55\x79\x57','\x6d\x77\x72\x66\x75\x31\x62\x50\x44\x57','\x71\x77\x58\x50\x79\x78\x6d','\x72\x78\x6a\x59\x42\x33\x69\x47\x43\x4d\x76\x48\x7a\x61','\x69\x63\x30\x2b\x69\x61'];a0_0x27cc=function(){return _0x210035;};return a0_0x27cc();}import a0_0x5506ff from'\x63\x68\x6f\x6b\x69\x64\x61\x72';import{createModuleLogger}from'\x2e\x2f\x6c\x6f\x67\x67\x65\x72\x2e\x6a\x73';const logger=createModuleLogger(import.meta.url);class TargetOrgWatcher extends EventEmitter{constructor(){const _0x417761=a0_0x450a;const _0x367826={'\x63\x6b\x4b\x6a\x70':'\x35\x7c\x31\x7c\x30\x7c\x33\x7c\x32\x7c'+'\x34'};const _0x55d1ba=_0x367826[_0x417761(0x17e)][_0x417761(0x18f)]('\x7c');let _0x4f576d=0x0;while(!![]){switch(_0x55d1ba[_0x4f576d++]){case'\x30':this['\x63\x75\x72\x72\x65\x6e\x74\x4f\x72\x67'+_0x417761(0x16a)]=null;continue;case'\x31':this['\x63\x6f\x6e\x66\x69\x67\x46\x69\x6c\x65'+_0x417761(0x163)]=null;continue;case'\x32':this['\x69\x73\x57\x61\x74\x63\x68\x69\x6e\x67']=![];continue;case'\x33':this[_0x417761(0x175)+'\x72']=null;continue;case'\x34':this['\x64\x65\x62\x6f\x75\x6e\x63\x65\x4d\x73']=0x1388;continue;case'\x35':super();continue;}break;}}async['\x73\x74\x61\x72\x74'](_0x1317e6,_0x1c6ece=null){const _0x5d3409=a0_0x450a;const _0x887836={'\x47\x47\x52\x51\x4d':_0x5d3409(0x177)};try{await this[_0x5d3409(0x192)]();this[_0x5d3409(0x17f)+_0x5d3409(0x163)]=a0_0x82a680[_0x5d3409(0x170)](process[_0x5d3409(0x167)](),_0x887836[_0x5d3409(0x186)],_0x5d3409(0x172)+'\x6e');this[_0x5d3409(0x190)+_0x5d3409(0x16a)]=_0x1c6ece;if(this['\x69\x73\x57\x61\x74\x63\x68\x69\x6e\x67']||!this['\x63\x75\x72\x72\x65\x6e\x74\x4f\x72\x67'+_0x5d3409(0x16a)]||!a0_0x4c3301[_0x5d3409(0x168)](this['\x63\x6f\x6e\x66\x69\x67\x46\x69\x6c\x65'+_0x5d3409(0x163)])){return;}this['\x6f\x6e'](_0x5d3409(0x18e),_0x25c887=>logger[_0x5d3409(0x173)]('\x4d\x6f\x6e\x69\x74\x6f\x72\x69\x6e\x67'+'\x20\x53\x61\x6c\x65\x73\x66\x6f\x72\x63'+_0x5d3409(0x165)+_0x5d3409(0x182)+_0x5d3409(0x171)+this[_0x5d3409(0x17f)+_0x5d3409(0x163)]+('\x20\x28\x63\x75\x72\x72\x65\x6e\x74\x3a'+'\x20')+_0x25c887+'\x29'));this['\x6f\x6e'](_0x5d3409(0x198),_0x1317e6);this['\x6f\x6e'](_0x5d3409(0x164),_0x95c40=>logger[_0x5d3409(0x164)](_0x95c40,'\x45\x72\x72\x6f\x72\x20\x69\x6e\x20\x53'+_0x5d3409(0x16f)+_0x5d3409(0x18c)+_0x5d3409(0x189)+'\x65\x72'));this[_0x5d3409(0x175)+'\x72']=a0_0x5506ff[_0x5d3409(0x17c)](this[_0x5d3409(0x17f)+'\x50\x61\x74\x68'],{'\x69\x67\x6e\x6f\x72\x65\x49\x6e\x69\x74\x69\x61\x6c':!![],'\x61\x77\x61\x69\x74\x57\x72\x69\x74\x65\x46\x69\x6e\x69\x73\x68':{'\x73\x74\x61\x62\x69\x6c\x69\x74\x79\x54\x68\x72\x65\x73\x68\x6f\x6c\x64':this['\x64\x65\x62\x6f\x75\x6e\x63\x65\x4d\x73']}});this['\x66\x69\x6c\x65\x57\x61\x74\x63\x68\x65'+'\x72']['\x6f\x6e']('\x63\x68\x61\x6e\x67\x65',()=>this['\x63\x68\x65\x63\x6b']());this[_0x5d3409(0x175)+'\x72']['\x6f\x6e'](_0x5d3409(0x164),_0x3c0b0b=>this[_0x5d3409(0x17b)](_0x5d3409(0x164),_0x3c0b0b));this[_0x5d3409(0x178)]=!![];this[_0x5d3409(0x17b)](_0x5d3409(0x18e),this[_0x5d3409(0x190)+_0x5d3409(0x16a)]);}catch(_0x3a1cbb){logger[_0x5d3409(0x164)](_0x3a1cbb,'\x45\x72\x72\x6f\x72\x20\x73\x65\x74\x74'+_0x5d3409(0x196)+'\x65\x20\x77\x61\x74\x63\x68\x65\x72');}}async[a0_0x3188c4(0x192)](){const _0x92930a=a0_0x450a;const _0x43d6a1={'\x59\x68\x4d\x56\x51':_0x92930a(0x18d)};const _0xf05942=('\x32\x7c\x35\x7c\x30\x7c\x33\x7c\x34\x7c'+'\x31')['\x73\x70\x6c\x69\x74']('\x7c');let _0x5ce26c=0x0;while(!![]){switch(_0xf05942[_0x5ce26c++]){case'\x30':if(this['\x66\x69\x6c\x65\x57\x61\x74\x63\x68\x65'+'\x72']){await this[_0x92930a(0x175)+'\x72'][_0x92930a(0x188)]();this[_0x92930a(0x175)+'\x72']=null;}continue;case'\x31':this[_0x92930a(0x17b)](_0x43d6a1[_0x92930a(0x185)]);continue;case'\x32':if(!this[_0x92930a(0x178)]){return;}continue;case'\x33':this[_0x92930a(0x166)+'\x69\x73\x74\x65\x6e\x65\x72\x73']();continue;case'\x34':this[_0x92930a(0x178)]=![];continue;case'\x35':logger[_0x92930a(0x173)](_0x92930a(0x180)+_0x92930a(0x16f)+_0x92930a(0x18c)+_0x92930a(0x189)+'\x65\x72');continue;}break;}}[a0_0x3188c4(0x174)](){const _0x51eae8=a0_0x450a;const _0xe57730={'\x79\x4b\x68\x4a\x4a':function(_0x1babe0,_0x136b30){return _0x1babe0!==_0x136b30;}};try{const _0x434ae6=a0_0x4c3301['\x72\x65\x61\x64\x46\x69\x6c\x65\x53\x79'+'\x6e\x63'](this['\x63\x6f\x6e\x66\x69\x67\x46\x69\x6c\x65'+'\x50\x61\x74\x68']);const _0x1287fd=JSON['\x70\x61\x72\x73\x65'](_0x434ae6);const _0x489e55=_0x1287fd[_0x51eae8(0x179)]||null;if(!_0x489e55){logger[_0x51eae8(0x173)](_0x51eae8(0x18b)+_0x51eae8(0x187)+_0x51eae8(0x17d)+'\x72\x63\x65\x20\x43\x4c\x49\x20\x63\x6f'+_0x51eae8(0x184));return;}if(_0xe57730[_0x51eae8(0x16e)](_0x489e55,this['\x63\x75\x72\x72\x65\x6e\x74\x4f\x72\x67'+_0x51eae8(0x16a)])){const _0x3c4495=this[_0x51eae8(0x190)+'\x41\x6c\x69\x61\x73'];logger['\x69\x6e\x66\x6f'](_0x51eae8(0x199)+'\x65\x63\x74\x65\x64\x20\x69\x6e\x20\x53'+_0x51eae8(0x16f)+_0x51eae8(0x18c)+_0x51eae8(0x183)+_0x3c4495+_0x51eae8(0x16c)+_0x489e55);this[_0x51eae8(0x190)+'\x41\x6c\x69\x61\x73']=_0x489e55;this[_0x51eae8(0x17b)](_0x51eae8(0x198),{'\x6f\x6c\x64\x56\x61\x6c\x75\x65':_0x3c4495,'\x6e\x65\x77\x56\x61\x6c\x75\x65':_0x489e55});}}catch(_0x3be1ab){logger[_0x51eae8(0x164)](_0x3be1ab,_0x51eae8(0x16b)+_0x51eae8(0x16d)+_0x51eae8(0x17a)+'\x6f\x6e\x66\x69\x67\x20\x66\x69\x6c\x65');}}}function a0_0x450a(_0x125104,_0x1073d8){_0x125104=_0x125104-0x163;const _0x27cc36=a0_0x27cc();let _0x450a9c=_0x27cc36[_0x125104];if(a0_0x450a['\x66\x62\x51\x41\x77\x72']===undefined){var _0x5f05c8=function(_0x117cfc){const _0x37786f='\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 _0x353a00='';let _0x127fec='';for(let _0x558ec6=0x0,_0x23d842,_0x311cf6,_0x5c35aa=0x0;_0x311cf6=_0x117cfc['\x63\x68\x61\x72\x41\x74'](_0x5c35aa++);~_0x311cf6&&(_0x23d842=_0x558ec6%0x4?_0x23d842*0x40+_0x311cf6:_0x311cf6,_0x558ec6++%0x4)?_0x353a00+=String['\x66\x72\x6f\x6d\x43\x68\x61\x72\x43\x6f\x64\x65'](0xff&_0x23d842>>(-0x2*_0x558ec6&0x6)):0x0){_0x311cf6=_0x37786f['\x69\x6e\x64\x65\x78\x4f\x66'](_0x311cf6);}for(let _0x45a5bd=0x0,_0xac7188=_0x353a00['\x6c\x65\x6e\x67\x74\x68'];_0x45a5bd<_0xac7188;_0x45a5bd++){_0x127fec+='\x25'+('\x30\x30'+_0x353a00['\x63\x68\x61\x72\x43\x6f\x64\x65\x41\x74'](_0x45a5bd)['\x74\x6f\x53\x74\x72\x69\x6e\x67'](0x10))['\x73\x6c\x69\x63\x65'](-0x2);}return decodeURIComponent(_0x127fec);};a0_0x450a['\x4e\x66\x59\x7a\x5a\x49']=_0x5f05c8;a0_0x450a['\x51\x41\x4b\x79\x4f\x56']={};a0_0x450a['\x66\x62\x51\x41\x77\x72']=!![];}const _0x3b8d3e=_0x27cc36[0x0];const _0x599da2=_0x125104+_0x3b8d3e;const _0x308482=a0_0x450a['\x51\x41\x4b\x79\x4f\x56'][_0x599da2];if(!_0x308482){_0x450a9c=a0_0x450a['\x4e\x66\x59\x7a\x5a\x49'](_0x450a9c);a0_0x450a['\x51\x41\x4b\x79\x4f\x56'][_0x599da2]=_0x450a9c;}else{_0x450a9c=_0x308482;}return _0x450a9c;}const targetOrgWatcher=new TargetOrgWatcher();export default targetOrgWatcher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{exec}from'node:child_process';import{performance}from'node:perf_hooks';import{promisify}from'node:util';import a0_0x5e4048 from'node:fs';import a0_0x226aac from'node:path';import{chromium}from'playwright';import a0_0x11ff83 from'../config.js';import{state}from'../state.js';import{createModuleLogger}from'./logger.js';const logger=createModuleLogger(import.meta.url);const execAsync=promisify(exec);const ORG_SETUP_AUDIT_FRAME_URL=/orgsetupaudit\.jsp|\/setup\/org\/orgsetupaudit/i;const DOWNLOAD_LINK_SELECTORS=['a:has-text(\x22Download\x20setup\x20audit\x20trail\x20for\x20last\x20six\x20months\x22)','a:has-text(\x22Download\x20setup\x20audit\x20trail\x22)','a[href*=\x22SetupAuditTrail\x22]'];const FALLBACK_LINK_SELECTORS=['a[href*=\x22SetupAuditTrail\x22]','a[href*=\x22/servlet/servlet.SetupAuditTrail\x22]','div.pShowMore\x20a[href*=\x22SetupAuditTrail\x22]','div.pShowMore\x20a'];const FRAME_WAIT_FALLBACK_POLL_MS=0x1f4;const VISIBLE_DOWNLOAD_LINK_TIMEOUT_MS=0x1388;const MAX_VISIBLE_ANCHOR_CANDIDATES=0xc;let _playwrightBrowsersAvailable=null;function checkPlaywrightBrowsers(){if(_playwrightBrowsersAvailable!==null){return _playwrightBrowsersAvailable;}try{const _0x53aafc=chromium['executablePath']();_playwrightBrowsersAvailable=a0_0x5e4048['existsSync'](_0x53aafc);}catch{_playwrightBrowsersAvailable=![];}return _playwrightBrowsersAvailable;}async function installPlaywrightBrowsers(){try{logger['debug']('Installing\x20Playwright\x20browsers...');const _0x120875=new URL('../../node_modules/.bin/playwright',import.meta.url)['pathname'];const _0x59757a=a0_0x5e4048['existsSync'](_0x120875)?'\x22'+_0x120875+'\x22\x20install\x20chromium':'npx\x20playwright\x20install\x20chromium';const {stderr:_0x107c31}=await execAsync(_0x59757a);if(_0x107c31&&!_0x107c31['includes']('chromium')){logger['warn']('Playwright\x20installation\x20stderr:',_0x107c31);}logger['debug']('Playwright\x20browsers\x20installed\x20successfully');return!![];}catch(_0x2a7666){logger['error']('Failed\x20to\x20install\x20Playwright\x20browsers:',_0x2a7666['message']);throw new Error('Failed\x20to\x20install\x20Playwright\x20browsers.\x20Please\x20run\x20manually:\x20npx\x20playwright\x20install\x20chromium');}}async function listAllLinks(_0x35dbe0){try{const _0x2bbc91=await _0x35dbe0['locator']('a')['all']();if(_0x2bbc91['length']===0x0){logger['debug']('No\x20links\x20found\x20on\x20page');return;}logger['debug']('Found\x20'+_0x2bbc91['length']+'\x20links\x20on\x20page:');for(let _0x38d87a=0x0;_0x38d87a<Math['min'](_0x2bbc91['length'],0x14);_0x38d87a++){const _0xc021c9=await _0x2bbc91[_0x38d87a]['getAttribute']('href');const text=await _0x2bbc91[_0x38d87a]['textContent']();logger['debug']('\x20\x20['+_0x38d87a+']\x20href=\x22'+_0xc021c9+'\x22\x20text=\x22'+text?.['trim']()['slice'](0x0,0x32)+'\x22');}if(_0x2bbc91['length']>0x14){logger['debug']('\x20\x20...\x20and\x20'+(_0x2bbc91['length']-0x14)+'\x20more\x20links');}}catch(_0x3a5001){logger['debug']('Error\x20listing\x20links:\x20'+_0x3a5001['message']);}}async function waitForOrgSetupAuditFrame(_0x454dbf,_0x54d518=0xea60){const _0x2b823e=Date['now']();function _0x2e45f5(){let _0x40f4f2;try{_0x40f4f2=_0x454dbf['frames']();}catch(_0x505aae){logger['debug']('[H2]\x20tryMatch\x20page.frames:\x20'+_0x505aae['message']);return null;}for(const _0x5f583c of _0x40f4f2){try{const _0x3a108a=_0x5f583c['url']();if(ORG_SETUP_AUDIT_FRAME_URL['test'](_0x3a108a)){return _0x5f583c;}}catch{}}return null;}const _0x344e0c=_0x2e45f5();if(_0x344e0c){let _0x1d1c1d='(url\x20unavailable)';try{_0x1d1c1d=_0x344e0c['url']();}catch{}logger['debug']('[H2]\x20orgsetupaudit\x20frame\x20after\x20'+(Date['now']()-_0x2b823e)+'ms:\x20'+_0x1d1c1d['slice'](0x0,0x8c));return _0x344e0c;}let _0x3df68f=![];let _0xae949b;return new Promise(_0x50f1a2=>{const _0x1ed5e8=()=>{if(_0xae949b){clearInterval(_0xae949b);}_0x454dbf['off']('framenavigated',_0x3cbb8c);_0x454dbf['off']('close',_0x8df044);};function _0x8df044(){logger['debug']('[H2]\x20page\x20closed\x20while\x20waiting\x20for\x20orgsetupaudit\x20frame');_0x835b08(null);}function _0x835b08(_0x3b9aea){if(_0x3df68f){return;}_0x3df68f=!![];_0x1ed5e8();if(_0x3b9aea){let _0x415cec='(url\x20unavailable)';try{_0x415cec=_0x3b9aea['url']();}catch{}logger['debug']('[H2]\x20orgsetupaudit\x20frame\x20after\x20'+(Date['now']()-_0x2b823e)+'ms:\x20'+_0x415cec['slice'](0x0,0x8c));}else{logger['debug']('[H2]\x20orgsetupaudit\x20frame\x20not\x20found\x20within\x20'+_0x54d518+'ms');}_0x50f1a2(_0x3b9aea);}function _0x3cbb8c(){const _0x216a3c=_0x2e45f5();if(_0x216a3c){_0x835b08(_0x216a3c);}}_0x454dbf['on']('framenavigated',_0x3cbb8c);_0x454dbf['on']('close',_0x8df044);_0xae949b=setInterval(()=>{if(_0x3df68f){return;}const _0x134dd3=_0x2e45f5();if(_0x134dd3){_0x835b08(_0x134dd3);return;}if(Date['now']()-_0x2b823e>=_0x54d518){_0x835b08(null);}},FRAME_WAIT_FALLBACK_POLL_MS);});}async function waitForDownloadLinkAttached(_0x12c462,_0x3cc8be=0x61a8){if(!_0x12c462){return;}const _0x1c0b3b=Date['now']();const _0x4d28f4=['a[href*=\x22SetupAuditTrail\x22]','a:has-text(\x22Download\x20setup\x20audit\x20trail\x20for\x20last\x20six\x20months\x22)','a:has-text(\x22Download\x20setup\x20audit\x20trail\x22)'];for(const _0x3ffb85 of _0x4d28f4){const _0x5e32bb=Date['now']()-_0x1c0b3b;const _0x2dca43=_0x3cc8be-_0x5e32bb;if(_0x2dca43<0x190){break;}try{await _0x12c462['locator'](_0x3ffb85)['first']()['waitFor']({'state':'attached','timeout':_0x2dca43});logger['debug']('[H2]\x20Download\x20anchor\x20ready\x20('+_0x3ffb85+')\x20after\x20'+(Date['now']()-_0x1c0b3b)+'ms');return;}catch{}}logger['debug']('[H2]\x20Download\x20anchor\x20not\x20attached\x20within\x20wait\x20(continuing\x20to\x20locator\x20search)');}async function firstVisibleMatchingAnchor(_0x3af6ab,_0x37de24){const _0x3d4a5d=_0x3af6ab['locator'](_0x37de24);let _0x297643;try{_0x297643=await _0x3d4a5d['count']();}catch(_0x400772){logger['debug']('firstVisibleMatchingAnchor\x20count:\x20'+_0x400772['message']);return null;}const _0x10fdf3=Math['min'](_0x297643,MAX_VISIBLE_ANCHOR_CANDIDATES);if(_0x297643>MAX_VISIBLE_ANCHOR_CANDIDATES){logger['debug']('firstVisibleMatchingAnchor:\x20checking\x20first\x20'+_0x10fdf3+'\x20of\x20'+_0x297643+'\x20matches\x20for\x20'+_0x37de24['slice'](0x0,0x28));}for(let _0x1f25f3=0x0;_0x1f25f3<_0x10fdf3;_0x1f25f3++){const _0x587f39=_0x3d4a5d['nth'](_0x1f25f3);try{await _0x587f39['waitFor']({'state':'visible','timeout':VISIBLE_DOWNLOAD_LINK_TIMEOUT_MS});return _0x587f39;}catch{}}return null;}export function buildFrontdoorUrl(_0x423b35,_0x455838,_0x24cb30){const _0x51d166=_0x423b35['replace'](/\/+$/,'');return _0x51d166+'/secur/frontdoor.jsp?sid='+encodeURIComponent(_0x455838)+'&retURL='+encodeURIComponent(_0x24cb30);}export function isSalesforceLoginPage(_0x3314cb,_0x229896){return _0x3314cb==='Login\x20|\x20Salesforce'||typeof _0x229896==='string'&&/[&?]ec=302(?:&|$).*startURL=|[&?]startURL=.*[&?]ec=302(?:&|$)/['test'](_0x229896);}async function findDownloadLocator(_0x4424c1,_0x42fe73){const _0x37cadd=async _0xad6ffa=>{for(const _0x16bce4 of DOWNLOAD_LINK_SELECTORS){try{const _0x2e2a05=await firstVisibleMatchingAnchor(_0xad6ffa,_0x16bce4);if(_0x2e2a05){logger['debug']('Found\x20visible\x20download\x20link:\x20'+_0x16bce4);return _0x2e2a05;}}catch(_0x245749){logger['debug']('Selector\x20'+_0x16bce4+':\x20'+_0x245749['message']);}}return null;};if(_0x42fe73){const _0x2d8f67=await _0x37cadd(_0x42fe73);if(_0x2d8f67){return _0x2d8f67;}}for(const _0x155b6c of _0x4424c1['frames']()){try{const _0x57bdf5=_0x155b6c['url']();if(ORG_SETUP_AUDIT_FRAME_URL['test'](_0x57bdf5)){const _0x576633=await _0x37cadd(_0x155b6c);if(_0x576633){return _0x576633;}}}catch{continue;}}const _0x209556=['iframe[src*=\x22SecurityEvents\x22]','iframe'];for(const _0x5c75fa of _0x209556){try{const _0x27d4fe=_0x4424c1['frameLocator'](_0x5c75fa)['first']();for(const _0x578c1e of DOWNLOAD_LINK_SELECTORS){try{const _0x3025c5=await firstVisibleMatchingAnchor(_0x27d4fe,_0x578c1e);if(_0x3025c5){logger['debug']('Found\x20visible\x20download\x20link:\x20'+_0x5c75fa+'\x20+\x20'+_0x578c1e);return _0x3025c5;}}catch{}}}catch{}}const _0x135bde=[_0x4424c1,..._0x4424c1['frames']()];for(const _0x4ad13a of FALLBACK_LINK_SELECTORS){for(const _0x10096f of _0x135bde){try{const _0x2eb5f5=await firstVisibleMatchingAnchor(_0x10096f,_0x4ad13a);if(_0x2eb5f5){logger['debug']('Found\x20visible\x20download\x20link\x20(fallback):\x20'+_0x4ad13a);return _0x2eb5f5;}}catch(_0x25a7b5){logger['debug']('Fallback\x20selector\x20failed:\x20'+_0x4ad13a+'\x20-\x20'+_0x25a7b5['message']);}}}logger['debug']('No\x20download\x20link\x20found\x20with\x20any\x20selector');return null;}async function retrieveFile(){let _0x3d56f4=null;try{const _0x487da6='/lightning/setup/SecurityEvents/home';const _0x194ea1=performance['now']();let _0x39fc56=_0x194ea1;let _0x5b410c=checkPlaywrightBrowsers();logger['debug']('[timing]\x20checkPlaywrightBrowsers:\x20'+Math['round'](performance['now']()-_0x39fc56)+'ms');_0x39fc56=performance['now']();if(!_0x5b410c){logger['debug']('Playwright\x20browsers\x20not\x20installed.\x20Installing\x20them\x20automatically...');await installPlaywrightBrowsers();_playwrightBrowsersAvailable=null;_0x5b410c=checkPlaywrightBrowsers();if(!_0x5b410c){throw new Error('Failed\x20to\x20install\x20Playwright\x20browsers.\x20Please\x20run\x20manually:\x20npx\x20playwright\x20install\x20chromium');}logger['debug']('[timing]\x20installPlaywrightBrowsers\x20(+recheck):\x20'+Math['round'](performance['now']()-_0x39fc56)+'ms');_0x39fc56=performance['now']();}_0x3d56f4=await chromium['launch']({'headless':!![]});const _0x197058=a0_0x226aac['join'](process['cwd'](),'tmp');if(!a0_0x5e4048['existsSync'](_0x197058)){a0_0x5e4048['mkdirSync'](_0x197058,{'recursive':!![]});}const _0x287cb0=await _0x3d56f4['newContext']({'acceptDownloads':!![],'downloadsPath':_0x197058,'ignoreHTTPSErrors':!a0_0x11ff83['strictSsl']});const _0x54a82c=await _0x287cb0['newPage']();logger['debug']('[timing]\x20chromium.launch\x20+\x20newContext\x20+\x20newPage:\x20'+Math['round'](performance['now']()-_0x39fc56)+'ms');_0x39fc56=performance['now']();const {instanceUrl:_0x181bd1,accessToken:_0x4374fc}=state['org'];if(!_0x181bd1||!_0x4374fc){throw new Error('Missing\x20instanceUrl\x20or\x20accessToken');}const _0x2d7043=buildFrontdoorUrl(_0x181bd1,_0x4374fc,_0x487da6);logger['debug']('[H2]\x20Navigating\x20to:\x20'+_0x487da6);await _0x54a82c['goto'](_0x2d7043,{'waitUntil':'domcontentloaded','timeout':0xea60});logger['debug']('[timing]\x20page.goto(domcontentloaded):\x20'+Math['round'](performance['now']()-_0x39fc56)+'ms');_0x39fc56=performance['now']();let _0x1a7744='n/a';try{_0x1a7744=await _0x54a82c['title']();}catch(_0x551b7a){logger['debug']('[H2]\x20Failed\x20to\x20retrieve\x20page\x20title\x20after\x20load',{'error':_0x551b7a});}logger['debug']('[H2]\x20Page\x20loaded.\x20Title:\x20'+_0x1a7744+',\x20URL:\x20'+_0x54a82c['url']());if(isSalesforceLoginPage(_0x1a7744,_0x54a82c['url']())){throw new Error('Frontdoor\x20login\x20redirected\x20to\x20Salesforce\x20login\x20page:\x20'+_0x54a82c['url']());}try{await _0x54a82c['waitForLoadState']('load',{'timeout':0x2710});}catch{}logger['debug']('[timing]\x20page.title\x20+\x20waitForLoadState(load):\x20'+Math['round'](performance['now']()-_0x39fc56)+'ms');_0x39fc56=performance['now']();const _0x57cce4=await waitForOrgSetupAuditFrame(_0x54a82c,0xea60);logger['debug']('[timing]\x20waitForOrgSetupAuditFrame:\x20'+Math['round'](performance['now']()-_0x39fc56)+'ms');_0x39fc56=performance['now']();await waitForDownloadLinkAttached(_0x57cce4,0x61a8);logger['debug']('[timing]\x20waitForDownloadLinkAttached:\x20'+Math['round'](performance['now']()-_0x39fc56)+'ms');_0x39fc56=performance['now']();logger['debug']('[H1]\x20Resolving\x20download\x20control...');const _0x54f59f=await findDownloadLocator(_0x54a82c,_0x57cce4);logger['debug']('[timing]\x20findDownloadLocator:\x20'+Math['round'](performance['now']()-_0x39fc56)+'ms');_0x39fc56=performance['now']();if(!_0x54f59f){logger['debug']('[H1]\x20Download\x20link\x20not\x20found,\x20listing\x20all\x20links\x20on\x20page...');await listAllLinks(_0x54a82c);throw new Error('Download\x20link\x20not\x20found\x20in\x20Setup\x20Audit\x20Trail.');}const _0x19d2ed=0x7530;logger['debug']('[H1]\x20Subscribing\x20to\x20download\x20event,\x20then\x20clicking...');const _0x5344a7=_0x54a82c['waitForEvent']('download',{'timeout':_0x19d2ed});await _0x54f59f['click']({'timeout':0x1388});logger['debug']('[timing]\x20downloadLocator.click:\x20'+Math['round'](performance['now']()-_0x39fc56)+'ms');_0x39fc56=performance['now']();const _0x12cf23=await _0x5344a7;logger['debug']('[timing]\x20await\x20download\x20event\x20(after\x20click):\x20'+Math['round'](performance['now']()-_0x39fc56)+'ms');logger['debug']('[SUCCESS]\x20Download\x20event\x20received,\x20saving\x20file...');const _0x43bf69=a0_0x226aac['join'](_0x197058,'SetupAuditTrail.csv');_0x39fc56=performance['now']();await _0x12cf23['saveAs'](_0x43bf69);logger['debug']('[timing]\x20download.saveAs:\x20'+Math['round'](performance['now']()-_0x39fc56)+'ms');logger['debug']('[timing]\x20retrieveFile\x20total:\x20'+Math['round'](performance['now']()-_0x194ea1)+'ms');logger['debug']('[SUCCESS]\x20File\x20saved\x20to:\x20'+_0x43bf69);return _0x43bf69;}catch(_0x58289d){logger['error']('[ERROR]\x20Error\x20during\x20Setup\x20Audit\x20Trail\x20download:\x20'+_0x58289d['message']);throw _0x58289d;}finally{if(_0x3d56f4){await _0x3d56f4['close']();}}}function isRetryableDownloadError(_0x430fbc){const _0x1dd3bc=typeof _0x430fbc?.['message']==='string'?_0x430fbc['message']:'';if(!_0x1dd3bc){return![];}if(_0x1dd3bc['includes']('Frame\x20was\x20detached')||_0x1dd3bc['includes']('Target\x20page,\x20context\x20or\x20browser\x20has\x20been\x20closed')){return!![];}if(_0x1dd3bc['includes']('Download\x20link\x20not\x20found\x20in\x20Setup\x20Audit\x20Trail')){return!![];}if(_0x1dd3bc['includes']('Timeout')&&_0x1dd3bc['includes']('download')){return!![];}if(_0x1dd3bc['includes']('net::')||_0x1dd3bc['includes']('ERR_TOO_MANY_REDIRECTS')||_0x1dd3bc['includes']('chrome-error://')){return!![];}return![];}async function retrieveFileWithRetry(_0x6b7f8=0x3){let _0x25cd8c;const _0x52a769=0x7d0;for(let _0x243cb6=0x1;_0x243cb6<=_0x6b7f8;_0x243cb6++){try{return await retrieveFile();}catch(_0x496ad1){_0x25cd8c=_0x496ad1;if(isRetryableDownloadError(_0x496ad1)&&_0x243cb6<_0x6b7f8){logger['debug']('Retryable\x20error\x20on\x20attempt\x20'+_0x243cb6+'/'+_0x6b7f8+':\x20'+_0x496ad1['message']+'.\x20Waiting\x20'+_0x52a769+'ms...');await new Promise(_0x158470=>setTimeout(_0x158470,_0x52a769));continue;}break;}}logger['error']('All\x20download\x20attempts\x20failed.\x20Last\x20error:\x20'+_0x25cd8c?.['message']);throw _0x25cd8c;}export async function retrieveSetupAuditTrailFile(){try{return await retrieveFileWithRetry();}catch(_0x15bda4){logger['error'](_0x15bda4,'Error\x20retrieving\x20Setup\x20Audit\x20Trail\x20file');throw _0x15bda4;}}
|
|
1
|
+
import{exec}from'node:child_process';import{performance}from'node:perf_hooks';import{promisify}from'node:util';import a0_0x40468d from'node:fs';import a0_0x5a57ef from'node:path';import{chromium}from'playwright';import a0_0x21b286 from'../config.js';import{state}from'../state.js';import{createModuleLogger}from'./logger.js';const logger=createModuleLogger(import.meta.url);const execAsync=promisify(exec);const ORG_SETUP_AUDIT_FRAME_URL=/orgsetupaudit\.jsp|\/setup\/org\/orgsetupaudit/i;const DOWNLOAD_LINK_SELECTORS=['a:has-text(\x22Download\x20setup\x20audit\x20trail\x20for\x20last\x20six\x20months\x22)','a:has-text(\x22Download\x20setup\x20audit\x20trail\x22)','a[href*=\x22SetupAuditTrail\x22]'];const FALLBACK_LINK_SELECTORS=['a[href*=\x22SetupAuditTrail\x22]','a[href*=\x22/servlet/servlet.SetupAuditTrail\x22]','div.pShowMore\x20a[href*=\x22SetupAuditTrail\x22]','div.pShowMore\x20a'];const FRAME_WAIT_FALLBACK_POLL_MS=0x1f4;const VISIBLE_DOWNLOAD_LINK_TIMEOUT_MS=0x1388;const MAX_VISIBLE_ANCHOR_CANDIDATES=0xc;let _playwrightBrowsersAvailable=null;function checkPlaywrightBrowsers(){if(_playwrightBrowsersAvailable!==null){return _playwrightBrowsersAvailable;}try{const _0x4410c9=chromium['executablePath']();_playwrightBrowsersAvailable=a0_0x40468d['existsSync'](_0x4410c9);}catch{_playwrightBrowsersAvailable=![];}return _playwrightBrowsersAvailable;}async function installPlaywrightBrowsers(){try{logger['debug']('Installing\x20Playwright\x20browsers...');const _0x36e6d4=new URL('../../node_modules/.bin/playwright',import.meta.url)['pathname'];const _0x29342b=a0_0x40468d['existsSync'](_0x36e6d4)?'\x22'+_0x36e6d4+'\x22\x20install\x20chromium':'npx\x20playwright\x20install\x20chromium';const {stderr:_0x352df1}=await execAsync(_0x29342b);if(_0x352df1&&!_0x352df1['includes']('chromium')){logger['warn']('Playwright\x20installation\x20stderr:',_0x352df1);}logger['debug']('Playwright\x20browsers\x20installed\x20successfully');return!![];}catch(_0x2233ab){logger['error']('Failed\x20to\x20install\x20Playwright\x20browsers:',_0x2233ab['message']);throw new Error('Failed\x20to\x20install\x20Playwright\x20browsers.\x20Please\x20run\x20manually:\x20npx\x20playwright\x20install\x20chromium');}}async function listAllLinks(_0x3762b7){try{const _0x3090fd=await _0x3762b7['locator']('a')['all']();if(_0x3090fd['length']===0x0){logger['debug']('No\x20links\x20found\x20on\x20page');return;}logger['debug']('Found\x20'+_0x3090fd['length']+'\x20links\x20on\x20page:');for(let _0x15e896=0x0;_0x15e896<Math['min'](_0x3090fd['length'],0x14);_0x15e896++){const _0x566186=await _0x3090fd[_0x15e896]['getAttribute']('href');const text=await _0x3090fd[_0x15e896]['textContent']();logger['debug']('\x20\x20['+_0x15e896+']\x20href=\x22'+_0x566186+'\x22\x20text=\x22'+text?.['trim']()['slice'](0x0,0x32)+'\x22');}if(_0x3090fd['length']>0x14){logger['debug']('\x20\x20...\x20and\x20'+(_0x3090fd['length']-0x14)+'\x20more\x20links');}}catch(_0x51d82f){logger['debug']('Error\x20listing\x20links:\x20'+_0x51d82f['message']);}}async function waitForOrgSetupAuditFrame(_0x575c5c,_0x40532d=0xea60){const _0x2ad46a=Date['now']();function _0x228572(){let _0x6007aa;try{_0x6007aa=_0x575c5c['frames']();}catch(_0x42b7ef){logger['debug']('[H2]\x20tryMatch\x20page.frames:\x20'+_0x42b7ef['message']);return null;}for(const _0x1f6c82 of _0x6007aa){try{const _0x502ec9=_0x1f6c82['url']();if(ORG_SETUP_AUDIT_FRAME_URL['test'](_0x502ec9)){return _0x1f6c82;}}catch{}}return null;}const _0x262e18=_0x228572();if(_0x262e18){let _0x2de672='(url\x20unavailable)';try{_0x2de672=_0x262e18['url']();}catch{}logger['debug']('[H2]\x20orgsetupaudit\x20frame\x20after\x20'+(Date['now']()-_0x2ad46a)+'ms:\x20'+_0x2de672['slice'](0x0,0x8c));return _0x262e18;}let _0x89dfff=![];let _0x130c90;return new Promise(_0x442523=>{const _0x56cea8=()=>{if(_0x130c90){clearInterval(_0x130c90);}_0x575c5c['off']('framenavigated',_0x29a93c);_0x575c5c['off']('close',_0x155966);};function _0x155966(){logger['debug']('[H2]\x20page\x20closed\x20while\x20waiting\x20for\x20orgsetupaudit\x20frame');_0xc499d2(null);}function _0xc499d2(_0x5dbb08){if(_0x89dfff){return;}_0x89dfff=!![];_0x56cea8();if(_0x5dbb08){let _0x40b582='(url\x20unavailable)';try{_0x40b582=_0x5dbb08['url']();}catch{}logger['debug']('[H2]\x20orgsetupaudit\x20frame\x20after\x20'+(Date['now']()-_0x2ad46a)+'ms:\x20'+_0x40b582['slice'](0x0,0x8c));}else{logger['debug']('[H2]\x20orgsetupaudit\x20frame\x20not\x20found\x20within\x20'+_0x40532d+'ms');}_0x442523(_0x5dbb08);}function _0x29a93c(){const _0x941c9b=_0x228572();if(_0x941c9b){_0xc499d2(_0x941c9b);}}_0x575c5c['on']('framenavigated',_0x29a93c);_0x575c5c['on']('close',_0x155966);_0x130c90=setInterval(()=>{if(_0x89dfff){return;}const _0x5d5682=_0x228572();if(_0x5d5682){_0xc499d2(_0x5d5682);return;}if(Date['now']()-_0x2ad46a>=_0x40532d){_0xc499d2(null);}},FRAME_WAIT_FALLBACK_POLL_MS);});}async function waitForDownloadLinkAttached(_0x31fdb2,_0x422e07=0x61a8){if(!_0x31fdb2){return;}const _0x43ce9f=Date['now']();const _0x91bb7b=['a[href*=\x22SetupAuditTrail\x22]','a:has-text(\x22Download\x20setup\x20audit\x20trail\x20for\x20last\x20six\x20months\x22)','a:has-text(\x22Download\x20setup\x20audit\x20trail\x22)'];for(const _0x34f80 of _0x91bb7b){const _0x543769=Date['now']()-_0x43ce9f;const _0x44a28b=_0x422e07-_0x543769;if(_0x44a28b<0x190){break;}try{await _0x31fdb2['locator'](_0x34f80)['first']()['waitFor']({'state':'attached','timeout':_0x44a28b});logger['debug']('[H2]\x20Download\x20anchor\x20ready\x20('+_0x34f80+')\x20after\x20'+(Date['now']()-_0x43ce9f)+'ms');return;}catch{}}logger['debug']('[H2]\x20Download\x20anchor\x20not\x20attached\x20within\x20wait\x20(continuing\x20to\x20locator\x20search)');}async function firstVisibleMatchingAnchor(_0x4c9158,_0xea2a95){const _0x5cffd3=_0x4c9158['locator'](_0xea2a95);let _0x228ade;try{_0x228ade=await _0x5cffd3['count']();}catch(_0x17cc7e){logger['debug']('firstVisibleMatchingAnchor\x20count:\x20'+_0x17cc7e['message']);return null;}const _0x4aae6b=Math['min'](_0x228ade,MAX_VISIBLE_ANCHOR_CANDIDATES);if(_0x228ade>MAX_VISIBLE_ANCHOR_CANDIDATES){logger['debug']('firstVisibleMatchingAnchor:\x20checking\x20first\x20'+_0x4aae6b+'\x20of\x20'+_0x228ade+'\x20matches\x20for\x20'+_0xea2a95['slice'](0x0,0x28));}for(let _0x543226=0x0;_0x543226<_0x4aae6b;_0x543226++){const _0x29b5ba=_0x5cffd3['nth'](_0x543226);try{await _0x29b5ba['waitFor']({'state':'visible','timeout':VISIBLE_DOWNLOAD_LINK_TIMEOUT_MS});return _0x29b5ba;}catch{}}return null;}export function buildFrontdoorUrl(_0x6e72d0,_0x1ee245,_0x36b6e4){const _0x57a658=_0x6e72d0['replace'](/\/+$/,'');return _0x57a658+'/secur/frontdoor.jsp?sid='+encodeURIComponent(_0x1ee245)+'&retURL='+encodeURIComponent(_0x36b6e4);}export function isSalesforceLoginPage(_0x1a8316,_0x5d307c){return _0x1a8316==='Login\x20|\x20Salesforce'||typeof _0x5d307c==='string'&&/[&?]ec=302(?:&|$).*startURL=|[&?]startURL=.*[&?]ec=302(?:&|$)/['test'](_0x5d307c);}async function findDownloadLocator(_0x59dcb0,_0x5f0a8f){const _0x20210a=async _0x17de59=>{for(const _0x3583f1 of DOWNLOAD_LINK_SELECTORS){try{const _0x459d5c=await firstVisibleMatchingAnchor(_0x17de59,_0x3583f1);if(_0x459d5c){logger['debug']('Found\x20visible\x20download\x20link:\x20'+_0x3583f1);return _0x459d5c;}}catch(_0x279ab5){logger['debug']('Selector\x20'+_0x3583f1+':\x20'+_0x279ab5['message']);}}return null;};if(_0x5f0a8f){const _0x31c959=await _0x20210a(_0x5f0a8f);if(_0x31c959){return _0x31c959;}}for(const _0x2c6070 of _0x59dcb0['frames']()){try{const _0x45295a=_0x2c6070['url']();if(ORG_SETUP_AUDIT_FRAME_URL['test'](_0x45295a)){const _0x3c1157=await _0x20210a(_0x2c6070);if(_0x3c1157){return _0x3c1157;}}}catch{continue;}}const _0x98bc52=['iframe[src*=\x22SecurityEvents\x22]','iframe'];for(const _0x2a770d of _0x98bc52){try{const _0x4989d6=_0x59dcb0['frameLocator'](_0x2a770d)['first']();for(const _0x528490 of DOWNLOAD_LINK_SELECTORS){try{const _0x3cb97b=await firstVisibleMatchingAnchor(_0x4989d6,_0x528490);if(_0x3cb97b){logger['debug']('Found\x20visible\x20download\x20link:\x20'+_0x2a770d+'\x20+\x20'+_0x528490);return _0x3cb97b;}}catch{}}}catch{}}const _0x4561cd=[_0x59dcb0,..._0x59dcb0['frames']()];for(const _0x2414f1 of FALLBACK_LINK_SELECTORS){for(const _0x50cfbf of _0x4561cd){try{const _0x26a4c5=await firstVisibleMatchingAnchor(_0x50cfbf,_0x2414f1);if(_0x26a4c5){logger['debug']('Found\x20visible\x20download\x20link\x20(fallback):\x20'+_0x2414f1);return _0x26a4c5;}}catch(_0x4b2499){logger['debug']('Fallback\x20selector\x20failed:\x20'+_0x2414f1+'\x20-\x20'+_0x4b2499['message']);}}}logger['debug']('No\x20download\x20link\x20found\x20with\x20any\x20selector');return null;}async function retrieveFile(){let _0x4e6072=null;try{const _0x5a53af='/lightning/setup/SecurityEvents/home';const _0x36ffe4=performance['now']();let _0x261888=_0x36ffe4;let _0x2f9f1a=checkPlaywrightBrowsers();logger['debug']('[timing]\x20checkPlaywrightBrowsers:\x20'+Math['round'](performance['now']()-_0x261888)+'ms');_0x261888=performance['now']();if(!_0x2f9f1a){logger['debug']('Playwright\x20browsers\x20not\x20installed.\x20Installing\x20them\x20automatically...');await installPlaywrightBrowsers();_playwrightBrowsersAvailable=null;_0x2f9f1a=checkPlaywrightBrowsers();if(!_0x2f9f1a){throw new Error('Failed\x20to\x20install\x20Playwright\x20browsers.\x20Please\x20run\x20manually:\x20npx\x20playwright\x20install\x20chromium');}logger['debug']('[timing]\x20installPlaywrightBrowsers\x20(+recheck):\x20'+Math['round'](performance['now']()-_0x261888)+'ms');_0x261888=performance['now']();}_0x4e6072=await chromium['launch']({'headless':!![]});const _0x2dbca6=a0_0x5a57ef['join'](process['cwd'](),'tmp');if(!a0_0x40468d['existsSync'](_0x2dbca6)){a0_0x40468d['mkdirSync'](_0x2dbca6,{'recursive':!![]});}const _0x1b8575=await _0x4e6072['newContext']({'acceptDownloads':!![],'downloadsPath':_0x2dbca6,'ignoreHTTPSErrors':!a0_0x21b286['strictSsl']});const _0x3c243d=await _0x1b8575['newPage']();logger['debug']('[timing]\x20chromium.launch\x20+\x20newContext\x20+\x20newPage:\x20'+Math['round'](performance['now']()-_0x261888)+'ms');_0x261888=performance['now']();const {instanceUrl:_0x52bd00,accessToken:_0x282175}=state['org'];if(!_0x52bd00||!_0x282175){throw new Error('Missing\x20instanceUrl\x20or\x20accessToken');}const _0x48cd6e=buildFrontdoorUrl(_0x52bd00,_0x282175,_0x5a53af);logger['debug']('[H2]\x20Navigating\x20to:\x20'+_0x5a53af);await _0x3c243d['goto'](_0x48cd6e,{'waitUntil':'domcontentloaded','timeout':0xea60});logger['debug']('[timing]\x20page.goto(domcontentloaded):\x20'+Math['round'](performance['now']()-_0x261888)+'ms');_0x261888=performance['now']();let _0x459363='n/a';try{_0x459363=await _0x3c243d['title']();}catch(_0x144627){logger['debug']('[H2]\x20Failed\x20to\x20retrieve\x20page\x20title\x20after\x20load',{'error':_0x144627});}logger['debug']('[H2]\x20Page\x20loaded.\x20Title:\x20'+_0x459363+',\x20URL:\x20'+_0x3c243d['url']());if(isSalesforceLoginPage(_0x459363,_0x3c243d['url']())){throw new Error('Frontdoor\x20login\x20redirected\x20to\x20Salesforce\x20login\x20page:\x20'+_0x3c243d['url']());}try{await _0x3c243d['waitForLoadState']('load',{'timeout':0x2710});}catch{}logger['debug']('[timing]\x20page.title\x20+\x20waitForLoadState(load):\x20'+Math['round'](performance['now']()-_0x261888)+'ms');_0x261888=performance['now']();const _0x2467d9=await waitForOrgSetupAuditFrame(_0x3c243d,0xea60);logger['debug']('[timing]\x20waitForOrgSetupAuditFrame:\x20'+Math['round'](performance['now']()-_0x261888)+'ms');_0x261888=performance['now']();await waitForDownloadLinkAttached(_0x2467d9,0x61a8);logger['debug']('[timing]\x20waitForDownloadLinkAttached:\x20'+Math['round'](performance['now']()-_0x261888)+'ms');_0x261888=performance['now']();logger['debug']('[H1]\x20Resolving\x20download\x20control...');const _0x12bbe6=await findDownloadLocator(_0x3c243d,_0x2467d9);logger['debug']('[timing]\x20findDownloadLocator:\x20'+Math['round'](performance['now']()-_0x261888)+'ms');_0x261888=performance['now']();if(!_0x12bbe6){logger['debug']('[H1]\x20Download\x20link\x20not\x20found,\x20listing\x20all\x20links\x20on\x20page...');await listAllLinks(_0x3c243d);throw new Error('Download\x20link\x20not\x20found\x20in\x20Setup\x20Audit\x20Trail.');}const _0x10b728=0x7530;logger['debug']('[H1]\x20Subscribing\x20to\x20download\x20event,\x20then\x20clicking...');const _0x526209=_0x3c243d['waitForEvent']('download',{'timeout':_0x10b728});await _0x12bbe6['click']({'timeout':0x1388});logger['debug']('[timing]\x20downloadLocator.click:\x20'+Math['round'](performance['now']()-_0x261888)+'ms');_0x261888=performance['now']();const _0x3577d9=await _0x526209;logger['debug']('[timing]\x20await\x20download\x20event\x20(after\x20click):\x20'+Math['round'](performance['now']()-_0x261888)+'ms');logger['debug']('[SUCCESS]\x20Download\x20event\x20received,\x20saving\x20file...');const _0x5468e5=a0_0x5a57ef['join'](_0x2dbca6,'SetupAuditTrail.csv');_0x261888=performance['now']();await _0x3577d9['saveAs'](_0x5468e5);logger['debug']('[timing]\x20download.saveAs:\x20'+Math['round'](performance['now']()-_0x261888)+'ms');logger['debug']('[timing]\x20retrieveFile\x20total:\x20'+Math['round'](performance['now']()-_0x36ffe4)+'ms');logger['debug']('[SUCCESS]\x20File\x20saved\x20to:\x20'+_0x5468e5);return _0x5468e5;}catch(_0x124bd6){logger['error']('[ERROR]\x20Error\x20during\x20Setup\x20Audit\x20Trail\x20download:\x20'+_0x124bd6['message']);throw _0x124bd6;}finally{if(_0x4e6072){await _0x4e6072['close']();}}}function isRetryableDownloadError(_0xdfcfb5){const _0x11c5e6=typeof _0xdfcfb5?.['message']==='string'?_0xdfcfb5['message']:'';if(!_0x11c5e6){return![];}if(_0x11c5e6['includes']('Frame\x20was\x20detached')||_0x11c5e6['includes']('Target\x20page,\x20context\x20or\x20browser\x20has\x20been\x20closed')){return!![];}if(_0x11c5e6['includes']('Download\x20link\x20not\x20found\x20in\x20Setup\x20Audit\x20Trail')){return!![];}if(_0x11c5e6['includes']('Timeout')&&_0x11c5e6['includes']('download')){return!![];}if(_0x11c5e6['includes']('net::')||_0x11c5e6['includes']('ERR_TOO_MANY_REDIRECTS')||_0x11c5e6['includes']('chrome-error://')){return!![];}return![];}async function retrieveFileWithRetry(_0x4a0f55=0x3){let _0x183994;const _0x4fe9a7=0x7d0;for(let _0x488c8d=0x1;_0x488c8d<=_0x4a0f55;_0x488c8d++){try{return await retrieveFile();}catch(_0x510500){_0x183994=_0x510500;if(isRetryableDownloadError(_0x510500)&&_0x488c8d<_0x4a0f55){logger['debug']('Retryable\x20error\x20on\x20attempt\x20'+_0x488c8d+'/'+_0x4a0f55+':\x20'+_0x510500['message']+'.\x20Waiting\x20'+_0x4fe9a7+'ms...');await new Promise(_0xb9825b=>setTimeout(_0xb9825b,_0x4fe9a7));continue;}break;}}logger['error']('All\x20download\x20attempts\x20failed.\x20Last\x20error:\x20'+_0x183994?.['message']);throw _0x183994;}export async function retrieveSetupAuditTrailFile(){try{return await retrieveFileWithRetry();}catch(_0x5a284b){logger['error'](_0x5a284b,'Error\x20retrieving\x20Setup\x20Audit\x20Trail\x20file');throw _0x5a284b;}}
|