browserstack-node-sdk 1.50.9 → 1.50.10
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/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
package/src/helpers/logger.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a109_0x1497f9=a109_0x2169;(function(_0x1eaa96,_0x2778ec){const _0x3fa03c=a109_0x2169,_0x4997c0=_0x1eaa96();while(!![]){try{const _0x225c58=-parseInt(_0x3fa03c(0x1a8))/0x1+parseInt(_0x3fa03c(0x1b3))/0x2*(-parseInt(_0x3fa03c(0x1c5))/0x3)+-parseInt(_0x3fa03c(0x1b7))/0x4+-parseInt(_0x3fa03c(0x1de))/0x5+parseInt(_0x3fa03c(0x1ab))/0x6+-parseInt(_0x3fa03c(0x1c6))/0x7*(parseInt(_0x3fa03c(0x1e4))/0x8)+-parseInt(_0x3fa03c(0x1e5))/0x9*(-parseInt(_0x3fa03c(0x19f))/0xa);if(_0x225c58===_0x2778ec)break;else _0x4997c0['push'](_0x4997c0['shift']());}catch(_0x4e4fe2){_0x4997c0['push'](_0x4997c0['shift']());}}}(a109_0x4ab7,0x977ed));const winston=require('winston'),path=require(a109_0x1497f9(0x1a3)),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME}=require(a109_0x1497f9(0x19d)),tempLogDir=a109_0x1497f9(0x1bc),logFormat=winston[a109_0x1497f9(0x1cb)](_0x1c63d3=>{const _0x5af488=a109_0x1497f9,_0x1ce599={};_0x1ce599[_0x5af488(0x1a6)]=function(_0x3c594a,_0xfd2b05){return _0x3c594a!==_0xfd2b05;},_0x1ce599[_0x5af488(0x1d9)]=_0x5af488(0x1a4),_0x1ce599['AJxbe']=function(_0x28ed64,_0x5b20db){return _0x28ed64===_0x5b20db;},_0x1ce599[_0x5af488(0x1eb)]=_0x5af488(0x1f0),_0x1ce599['rFXVe']=function(_0x4484b,_0x36cfe5){return _0x4484b===_0x36cfe5;};const _0x517496=_0x1ce599;return _0x517496[_0x5af488(0x1a6)](typeof _0x1c63d3[_0x5af488(0x1e7)],_0x517496[_0x5af488(0x1d9)])&&(_0x1c63d3[_0x5af488(0x1e7)]=JSON[_0x5af488(0x1d0)](_0x1c63d3['message'])),global[_0x5af488(0x1d3)]?.[_0x5af488(0x1b0)]?.[_0x5af488(0x1c3)]&&_0x517496[_0x5af488(0x1ec)](typeof _0x1c63d3[_0x5af488(0x1e7)],_0x517496[_0x5af488(0x1d9)])&&(_0x1c63d3['message']=_0x1c63d3[_0x5af488(0x1e7)][_0x5af488(0x1bb)](new RegExp(global[_0x5af488(0x1d3)]['config'][_0x5af488(0x1c3)],'g'),_0x517496['XfxhK'])),global[_0x5af488(0x1d3)]?.[_0x5af488(0x1b0)]?.[_0x5af488(0x1ce)]&&_0x517496[_0x5af488(0x1a5)](typeof _0x1c63d3[_0x5af488(0x1e7)],_0x517496[_0x5af488(0x1d9)])&&(_0x1c63d3[_0x5af488(0x1e7)]=_0x1c63d3[_0x5af488(0x1e7)][_0x5af488(0x1bb)](new RegExp(global[_0x5af488(0x1d3)]['config'][_0x5af488(0x1ce)],'g'),_0x517496[_0x5af488(0x1eb)])),_0x1c63d3;}),fetchLogDir=()=>{const _0x2ac3c7=a109_0x1497f9;if(process[_0x2ac3c7(0x1c2)][_0x2ac3c7(0x1ea)])return process[_0x2ac3c7(0x1c2)][_0x2ac3c7(0x1ea)];else!fs[_0x2ac3c7(0x1d8)](tempLogDir)&&fs[_0x2ac3c7(0x1b4)](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),getInitialLogLevel=()=>{const _0xef599a=a109_0x1497f9,_0xd7718b={};_0xd7718b[_0xef599a(0x1d5)]=_0xef599a(0x1d4);const _0x5b13cd=_0xd7718b,_0x1b893e=process['env'][_0xef599a(0x1dd)],_0x4396cd=Object[_0xef599a(0x1ba)](winston[_0xef599a(0x1b0)][_0xef599a(0x1e2)][_0xef599a(0x1d2)]);if(_0x1b893e&&_0x4396cd['includes'](_0x1b893e[_0xef599a(0x1cd)]()))return _0x1b893e[_0xef599a(0x1cd)]();return _0x5b13cd[_0xef599a(0x1d5)];},initialLogLevel=getInitialLogLevel(),a109_0x2acad1={};a109_0x2acad1[a109_0x1497f9(0x1b1)]=a109_0x1497f9(0x1c4),a109_0x2acad1['level']=initialLogLevel;const transports={'loggerConsole':new winston['transports'][(a109_0x1497f9(0x1c9))](a109_0x2acad1),'loggerFile':new winston[(a109_0x1497f9(0x1be))][(a109_0x1497f9(0x1a2))]({'filename':path['join'](logDir,'/usage.log'),'level':initialLogLevel}),'debugLoggerFile':new winston['transports']['File']({'filename':path[a109_0x1497f9(0x1b5)](logDir,a109_0x1497f9(0x1ed)),'level':a109_0x1497f9(0x1d7)}),'debugCliLoggerFile':new winston[(a109_0x1497f9(0x1be))][(a109_0x1497f9(0x1a2))]({'filename':path[a109_0x1497f9(0x1b5)](logDir,a109_0x1497f9(0x1ac)),'level':a109_0x1497f9(0x1d7)}),'buildLinkTransport':new winston[(a109_0x1497f9(0x1be))][(a109_0x1497f9(0x1a2))]({'filename':path[a109_0x1497f9(0x1b5)](logDir,a109_0x1497f9(0x1d1)),'level':a109_0x1497f9(0x1d7)})},automationTransports={};process[a109_0x1497f9(0x1c2)][a109_0x1497f9(0x1e3)]===a109_0x1497f9(0x1da)&&(automationTransports[a109_0x1497f9(0x1c8)]=new winston['transports']['File']({'filename':path['join'](logDir,a109_0x1497f9(0x1e0)),'level':a109_0x1497f9(0x1d7)}));transports['loggerConsole']['on']('error',_0x2bfd95=>{const _0x2e9979=a109_0x1497f9,_0x61d56e={};_0x61d56e[_0x2e9979(0x1ef)]=function(_0x23252d,_0x2586e4){return _0x23252d===_0x2586e4;},_0x61d56e[_0x2e9979(0x1e9)]=_0x2e9979(0x1bf),_0x61d56e[_0x2e9979(0x1a1)]=_0x2e9979(0x1e6);const _0x380e96=_0x61d56e;if(_0x380e96[_0x2e9979(0x1ef)](_0x2bfd95[_0x2e9979(0x1e1)],_0x380e96[_0x2e9979(0x1e9)])){console[_0x2e9979(0x1bc)](_0x380e96[_0x2e9979(0x1a1)],_0x2bfd95[_0x2e9979(0x1e7)]);return;}throw _0x2bfd95;});const a109_0x531193={};a109_0x531193[a109_0x1497f9(0x1cb)]=a109_0x1497f9(0x1dc);const a109_0x1abd84={};a109_0x1abd84[a109_0x1497f9(0x1df)]=!![];const winstonLoggerParams={'format':winston[a109_0x1497f9(0x1cb)][a109_0x1497f9(0x1c7)](winston[a109_0x1497f9(0x1cb)][a109_0x1497f9(0x1d6)](a109_0x531193),winston[a109_0x1497f9(0x1cb)][a109_0x1497f9(0x1b2)](a109_0x1abd84),winston[a109_0x1497f9(0x1cb)][a109_0x1497f9(0x1aa)](_0x343f74=>_0x343f74['timestamp']+'\x20-\x20'+_0x343f74['level']+':\x20'+_0x343f74[a109_0x1497f9(0x1e7)])),'transports':[transports[a109_0x1497f9(0x1e8)]]},a109_0x17c514={};a109_0x17c514[a109_0x1497f9(0x1cb)]=a109_0x1497f9(0x1dc);const a109_0x76c3c={};a109_0x76c3c[a109_0x1497f9(0x1df)]=!![];const winstonFileLoggerParams={'format':winston[a109_0x1497f9(0x1cb)]['combine'](winston[a109_0x1497f9(0x1cb)]['timestamp'](a109_0x17c514),winston['format'][a109_0x1497f9(0x1b2)](a109_0x76c3c),winston[a109_0x1497f9(0x1cb)][a109_0x1497f9(0x1aa)](_0x4748cb=>_0x4748cb[a109_0x1497f9(0x1df)]+':\x20'+_0x4748cb['message'])),'transports':[]},a109_0x2eda24={};function a109_0x2169(_0x149f6e,_0x5565d1){const _0x4ab78e=a109_0x4ab7();return a109_0x2169=function(_0x21698c,_0x4d3bfc){_0x21698c=_0x21698c-0x19d;let _0x334727=_0x4ab78e[_0x21698c];return _0x334727;},a109_0x2169(_0x149f6e,_0x5565d1);}a109_0x2eda24[a109_0x1497f9(0x1cb)]=a109_0x1497f9(0x1dc);const a109_0x43764d={};a109_0x43764d[a109_0x1497f9(0x1df)]=!![];const a109_0x4ab537={};a109_0x4ab537[a109_0x1497f9(0x1df)]='silly';const BuildLoggerParams={'format':winston['format']['combine'](winston[a109_0x1497f9(0x1cb)]['timestamp'](a109_0x2eda24),winston[a109_0x1497f9(0x1cb)]['colorize'](a109_0x43764d),winston[a109_0x1497f9(0x1cb)]['printf'](_0x5d96ea=>_0x5d96ea[a109_0x1497f9(0x1d6)]+a109_0x1497f9(0x1ca)+_0x5d96ea[a109_0x1497f9(0x1df)]+':\x20'+_0x5d96ea['message'])),'transports':[transports[a109_0x1497f9(0x1b8)],new winston[(a109_0x1497f9(0x1be))][(a109_0x1497f9(0x1c9))](a109_0x4ab537)]},a109_0x17cf0d={};a109_0x17cf0d[a109_0x1497f9(0x1bd)]=()=>{},a109_0x17cf0d[a109_0x1497f9(0x1d4)]=()=>{},a109_0x17cf0d['warn']=()=>{},a109_0x17cf0d[a109_0x1497f9(0x1ad)]=()=>{},a109_0x17cf0d[a109_0x1497f9(0x1ae)]=()=>{},a109_0x17cf0d[a109_0x1497f9(0x1d7)]=()=>{},exports[a109_0x1497f9(0x1b9)]=process[a109_0x1497f9(0x1c2)]['BROWSERSTACK_AUTOMATION_LOGS']===a109_0x1497f9(0x1da)?winston[a109_0x1497f9(0x19e)]({'format':winston[a109_0x1497f9(0x1cb)][a109_0x1497f9(0x1c7)](winston[a109_0x1497f9(0x1cb)][a109_0x1497f9(0x1af)](),winston[a109_0x1497f9(0x1cb)][a109_0x1497f9(0x1d6)](),logFormat(),winston[a109_0x1497f9(0x1cb)][a109_0x1497f9(0x1aa)](_0x1b7b6c=>_0x1b7b6c[a109_0x1497f9(0x1df)]+':\x20'+_0x1b7b6c[a109_0x1497f9(0x1e7)])),'transports':[automationTransports[a109_0x1497f9(0x1c8)]]}):a109_0x17cf0d;function a109_0x4ab7(){const _0x58c2ac=['/usage-debug.log','debugLoggerFile','GCepl','[REDACTED]','../bin/utils/constants','createLogger','90030QUKzZc','add','vRFew','File','path','string','rFXVe','HcUjR','logDir','223710RpYEUV','initialize','printf','1805418yHckUs','/sdk-cli-debug.log','error','debug','uncolorize','config','name','colorize','10PufsUr','mkdirSync','join','winstonLogger','3042028hkexKi','buildLinkTransport','automationLogger','keys','replace','log','http','transports','EPIPE','loggerFile','fileLogger','env','userName','console.info','153579DlAWHw','2216893VIIOmf','combine','automationLoggerFile','Console','\x20-\x20','format','ahkis','toLowerCase','accessKey','buildLogger','stringify','/usage.log','levels','session','info','pciyv','timestamp','silly','existsSync','fmTah','true','getLogDir','YYYY-MM-DD\x20HH:mm:ss','BROWSERSTACK_LOG_LEVEL','4564165aIkUWx','level','automation.log','code','npm','BROWSERSTACK_AUTOMATION_LOGS','16tttCDn','3105cjnTFp','EPIPE\x20error\x20occurred\x20in\x20loggerConsole:','message','loggerConsole','NaOzE','BROWSERSTACK_INTERNAL_LOG_DIR','XfxhK','AJxbe'];a109_0x4ab7=function(){return _0x58c2ac;};return a109_0x4ab7();}const initialize=()=>{const _0x290d0a=a109_0x1497f9,_0x2cdd80={};_0x2cdd80[_0x290d0a(0x1cc)]='silly';const _0x3c5239=_0x2cdd80,_0x1a393a=transports['loggerConsole'][_0x290d0a(0x1df)]||initialLogLevel;transports['loggerFile']=new winston[(_0x290d0a(0x1be))]['File']({'filename':path[_0x290d0a(0x1b5)](exports[_0x290d0a(0x1a7)],LOG_FILE_NAME),'level':_0x1a393a}),transports['debugLoggerFile']=new winston[(_0x290d0a(0x1be))]['File']({'filename':path[_0x290d0a(0x1b5)](exports[_0x290d0a(0x1a7)],DEBUG_LOG_FILE_NAME),'level':_0x3c5239[_0x290d0a(0x1cc)]}),exports['winstonLogger'][_0x290d0a(0x1a0)](transports[_0x290d0a(0x1c0)]),exports[_0x290d0a(0x1b6)][_0x290d0a(0x1a0)](transports[_0x290d0a(0x1ee)]),exports[_0x290d0a(0x1c1)][_0x290d0a(0x1a0)](transports[_0x290d0a(0x1c0)]),exports[_0x290d0a(0x1c1)][_0x290d0a(0x1a0)](transports[_0x290d0a(0x1ee)]);};exports[a109_0x1497f9(0x1b6)]=new winston[(a109_0x1497f9(0x19e))](winstonLoggerParams),exports[a109_0x1497f9(0x1c1)]=new winston[(a109_0x1497f9(0x19e))](winstonFileLoggerParams),exports[a109_0x1497f9(0x1cf)]=new winston[(a109_0x1497f9(0x19e))](BuildLoggerParams),exports[a109_0x1497f9(0x1a7)]=logDir,exports[a109_0x1497f9(0x1db)]=()=>{return exports['logDir'];},exports[a109_0x1497f9(0x1be)]=transports,exports[a109_0x1497f9(0x1a9)]=initialize;logDir&&initialize();
|
package/src/helpers/metadata.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a110_0x5ad06f=a110_0x2b5d;function a110_0x2b5d(_0x19c076,_0xca15c){const _0x5ad7e7=a110_0x5ad7();return a110_0x2b5d=function(_0x2b5d57,_0x288d10){_0x2b5d57=_0x2b5d57-0x19d;let _0x298997=_0x5ad7e7[_0x2b5d57];return _0x298997;},a110_0x2b5d(_0x19c076,_0xca15c);}function a110_0x5ad7(){const _0x995f75=['identifier','726488jMSVWR','AnqNP','warn','3587560KsaHIZ','4189980MsFxIE','UsWRL','setGlobal','./helper','testRunUUID','2675808IDbreC','fRIbS','testMeta','63KbvmYa','get','getCentralUser','6127132FbIvpP','getGlobal','190922bdyPFQ','1325283jHjuIW','9NkvKNy','GsEmU','lcnc','EhqBj','./globals','4ITuoKl','rZTkh','testMeta-','TAQeU','4bgKfEk'];a110_0x5ad7=function(){return _0x995f75;};return a110_0x5ad7();}(function(_0x52f315,_0x5c21a1){const _0x3eeee0=a110_0x2b5d,_0x2bd037=_0x52f315();while(!![]){try{const _0x545686=-parseInt(_0x3eeee0(0x1b3))/0x1*(-parseInt(_0x3eeee0(0x1ac))/0x2)+-parseInt(_0x3eeee0(0x1ad))/0x3*(-parseInt(_0x3eeee0(0x1b7))/0x4)+-parseInt(_0x3eeee0(0x19f))/0x5+-parseInt(_0x3eeee0(0x1a4))/0x6+-parseInt(_0x3eeee0(0x1a7))/0x7*(-parseInt(_0x3eeee0(0x1b9))/0x8)+-parseInt(_0x3eeee0(0x1ae))/0x9*(parseInt(_0x3eeee0(0x19e))/0xa)+parseInt(_0x3eeee0(0x1aa))/0xb;if(_0x545686===_0x5c21a1)break;else _0x2bd037['push'](_0x2bd037['shift']());}catch(_0x147180){_0x2bd037['push'](_0x2bd037['shift']());}}}(a110_0x5ad7,0x878bc));const globals=require(a110_0x5ad06f(0x1b2)),helper=require(a110_0x5ad06f(0x1a2)),logger=require('./logger')['winstonLogger'];module['exports']=class TestMetadata{static['set'](_0x51ae99={}){const _0x5e80a5=a110_0x5ad06f,_0x530574={};_0x530574[_0x5e80a5(0x1b4)]=_0x5e80a5(0x1a3),_0x530574[_0x5e80a5(0x1ba)]=function(_0x2d93b4,_0x44c6d5){return _0x2d93b4===_0x44c6d5;},_0x530574['GsEmU']='string',_0x530574[_0x5e80a5(0x1b1)]=function(_0x11f41c,_0x4e984b){return _0x11f41c<=_0x4e984b;},_0x530574[_0x5e80a5(0x1b6)]=_0x5e80a5(0x1a6),_0x530574[_0x5e80a5(0x1a5)]='The\x20metadata\x20object\x20is\x20not\x20valid.';const _0x188bf6=_0x530574,_0x738209=globals['getGlobal'](_0x188bf6['rZTkh']),_0x944e81=_0x51ae99[_0x5e80a5(0x1b8)];helper[_0x5e80a5(0x1a9)]()[_0x5e80a5(0x1b0)]&&(_0x188bf6[_0x5e80a5(0x1ba)](typeof _0x944e81,_0x188bf6[_0x5e80a5(0x1af)])&&_0x188bf6[_0x5e80a5(0x1b1)](_0x944e81['length'],0x28)?_0x738209?globals[_0x5e80a5(0x1a1)](_0x5e80a5(0x1b5)+_0x738209,_0x51ae99):globals[_0x5e80a5(0x1a1)](_0x188bf6['TAQeU'],_0x51ae99):logger[_0x5e80a5(0x19d)](_0x188bf6[_0x5e80a5(0x1a5)]));}static[a110_0x5ad06f(0x1a8)](_0x57d589){const _0x5eaddf=a110_0x5ad06f,_0x6584e8={};_0x6584e8[_0x5eaddf(0x1a0)]=_0x5eaddf(0x1a6);const _0x293ba7=_0x6584e8;if(helper['getCentralUser']()[_0x5eaddf(0x1b0)])return globals['getGlobal'](_0x5eaddf(0x1b5)+_0x57d589)||globals[_0x5eaddf(0x1ab)](_0x293ba7['UsWRL'])||{};return{};}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a111_0x4e6133=a111_0x1edf;(function(_0x95dd6a,_0x4d7ec0){const _0x30f2aa=a111_0x1edf,_0x4b1d15=_0x95dd6a();while(!![]){try{const _0xba6d99=parseInt(_0x30f2aa(0x16b))/0x1+-parseInt(_0x30f2aa(0x156))/0x2*(-parseInt(_0x30f2aa(0x167))/0x3)+parseInt(_0x30f2aa(0x142))/0x4+-parseInt(_0x30f2aa(0x198))/0x5+parseInt(_0x30f2aa(0x139))/0x6*(parseInt(_0x30f2aa(0x18f))/0x7)+parseInt(_0x30f2aa(0x15a))/0x8+parseInt(_0x30f2aa(0x185))/0x9*(-parseInt(_0x30f2aa(0x15e))/0xa);if(_0xba6d99===_0x4d7ec0)break;else _0x4b1d15['push'](_0x4b1d15['shift']());}catch(_0x107373){_0x4b1d15['push'](_0x4b1d15['shift']());}}}(a111_0x2311,0x3aa11));const {aiSdkWrapper}=require(a111_0x4e6133(0x194)),{commandRepository}=require(a111_0x4e6133(0x176)),PerformanceTester=require(a111_0x4e6133(0x14e)),globals=require(a111_0x4e6133(0x169)),{winstonLogger:logger,automationLogger}=require(a111_0x4e6133(0x171)),helper=require(a111_0x4e6133(0x19b)),constants=require(a111_0x4e6133(0x187)),{DRIVER_EVENT:PerformanceDriverEvents}=require(a111_0x4e6133(0x13b)),util=require(a111_0x4e6133(0x192));function a111_0x1edf(_0x1eeda1,_0x87d761){const _0x2311a8=a111_0x2311();return a111_0x1edf=function(_0x1edfe0,_0x2dffb6){_0x1edfe0=_0x1edfe0-0x12e;let _0x375709=_0x2311a8[_0x1edfe0];return _0x375709;},a111_0x1edf(_0x1eeda1,_0x87d761);}function a111_0x2311(){const _0x29b3a7=['browserstack.local','setAiSessionTimeStamp','skipHealingSuccess','string','wEQEt','execute','./performance/performance-tester','parameters','isBrowserstackInfra','NUDGE_LOCAL_ERRORS','lNrjj','POST_EXECUTE','overrideExecute','yqcFi','2zPPxKh','aiHeal_isAuthenticated','Hiets',';\x20Trying\x20to\x20heal','2866280GErBYw','info','KRamL','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','421320TnBgqT','DVsXb','OcEal','script','command','getNudgeLocalNotSetError','silly','FglOs','error','422493nnNQbJ','aiHeal:findElementFailure','./globals','tFcEk','342085zOEmJC','aiSdk_defaultLogDataEnabled','iPQQZ','getId','getGlobal','MgAkL','./logger','scqMM','Ufotn','setTcgToken','FqZTn','./ai-sdk/autoHealHelper','lDSYk','css\x20selector','name_','toISOString','executeAsyncScript','ysxdy','debug','nestedKeyValue','parameters_','Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','isSelfHealEnabled','prqIh','NWayY','aiHeal_isHealingEnabled','171bqXUca','Successfully\x20healed\x20command\x20using\x20new\x20','../bin/utils/constants','capability','findElement\x20command\x20failed\x20with\x20','getTcgTokenStatus','gaWjI','WdDeD','iSPKo','zxcxW','42YIzjBL','local','includes','util','AUTOMATION_LOG_COMMANDS','./ai-sdk/aiSdkWrapper','url','message','JavascriptError','1536185ECCTqV','XhIgC','sAZxv','./helper','XpDld','body','using','HEpjO','Healing\x20failed\x20for\x20command\x20using\x20','Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20driver.execute\x20:\x20','oDkAd','getSession','YlFvv','RnOTW','ZcEKG','NzeSE','request','find','VuSQg','value','args','RnfGy','aiHeal:findElementSuccess','xVOKs','Error\x20in\x20handling\x20TCG\x20Auth:\x20','PRE_EXECUTE','Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','measureWrapper','MEOlr','initExecute','patchExecute','handleFailure','findElement','IIUfA','53148QEceIg','ZqEsS','./performance/constants','SifRr','fhmLy','handleSuccess','format','response','VfkWb','1814164bjecYU','toString','OPahR','name','setTcgTokenStatus','ShNgP'];a111_0x2311=function(){return _0x29b3a7;};return a111_0x2311();}exports[a111_0x4e6133(0x154)]=(_0x48b6b0,_0x2bc41f)=>{const _0x1a838c=a111_0x4e6133,_0xd1fcfa={'VuSQg':_0x1a838c(0x15d),'gaWjI':function(_0x2b831e,_0x564904){return _0x2b831e===_0x564904;},'RnOTW':'NoSuchElementError','wEQEt':function(_0x188bed,_0x1780f0){return _0x188bed===_0x1780f0;},'epBJp':_0x1a838c(0x197),'WYpQE':_0x1a838c(0x137),'NWayY':_0x1a838c(0x157),'ShNgP':_0x1a838c(0x184),'KRamL':_0x1a838c(0x178),'scqMM':function(_0x15fa82,_0x1fe928){return _0x15fa82+_0x1fe928;},'oDkAd':'findElement\x20command\x20failed\x20with\x20cssPath:\x20','yqcFi':_0x1a838c(0x159),'SifRr':function(_0x4af076,_0xfc7d78){return _0x4af076+_0xfc7d78;},'DVsXb':_0x1a838c(0x189),'OPahR':_0x1a838c(0x168),'MEOlr':function(_0x5acee8){return _0x5acee8();},'tkqob':function(_0x52f6ba,_0x461d1e){return _0x52f6ba&&_0x461d1e;},'ZqEsS':function(_0x1aa94e,_0x31d081){return _0x1aa94e===_0x31d081;},'fhmLy':function(_0x19b2ac,_0x4f090e){return _0x19b2ac+_0x4f090e;},'ZcEKG':_0x1a838c(0x131),'ysxdy':function(_0x561cfd,_0x2fcd7e){return _0x561cfd+_0x2fcd7e;},'HEpjO':function(_0x35b85e,_0x1c2b1a){return _0x35b85e+_0x1c2b1a;},'kDmLr':function(_0x1d9637,_0x388840){return _0x1d9637+_0x388840;},'aWYwb':_0x1a838c(0x186),'prqIh':_0x1a838c(0x180),'lNrjj':function(_0x124824,_0x59419c){return _0x124824+_0x59419c;},'dTsuu':function(_0x488281,_0x27a2a7){return _0x488281+_0x27a2a7;},'Ufotn':_0x1a838c(0x1a0),'iSPKo':function(_0x5630c7,_0x172e14){return _0x5630c7===_0x172e14;},'eGvzt':'get','WdDeD':_0x1a838c(0x17f),'Hiets':_0x1a838c(0x195),'iPQQZ':'Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','dpYNE':'aiHeal:setToken','NrSiq':function(_0x17207a){return _0x17207a();},'ZZsQq':_0x1a838c(0x16c),'OcEal':_0x1a838c(0x1ae),'sAZxv':function(_0x408a0e){return _0x408a0e();},'YlFvv':_0x1a838c(0x17b),'NzeSE':'executeScript','FqZTn':_0x1a838c(0x14b),'VfkWb':_0x1a838c(0x188),'IIUfA':_0x1a838c(0x148),'XpDld':'bstack:options','MgAkL':_0x1a838c(0x190)},_0x1e194f=_0x48b6b0[_0x1a838c(0x135)]||(helper['nestedKeyValue'](_0x2bc41f,[_0xd1fcfa[_0x1a838c(0x141)],_0xd1fcfa[_0x1a838c(0x138)]])||helper['nestedKeyValue'](_0x2bc41f,[_0xd1fcfa[_0x1a838c(0x141)],_0xd1fcfa[_0x1a838c(0x19c)],_0xd1fcfa[_0x1a838c(0x170)]]));if(!globals[_0x1a838c(0x16f)](_0xd1fcfa[_0x1a838c(0x183)])&&!globals[_0x1a838c(0x16f)](_0xd1fcfa[_0x1a838c(0x147)])&&_0x1e194f)return;_0x48b6b0[_0x1a838c(0x135)]=!![],_0x48b6b0[_0x1a838c(0x134)]=_0x48b6b0[_0x1a838c(0x14d)],_0x48b6b0[_0x1a838c(0x14d)]=async _0x255cc0=>{const _0x3f32d2=_0x1a838c,_0x3467d8={'xVOKs':_0xd1fcfa[_0x3f32d2(0x183)],'lDSYk':_0xd1fcfa['dpYNE'],'tFcEk':function(_0x172992){return _0xd1fcfa['NrSiq'](_0x172992);},'FglOs':_0xd1fcfa['ZZsQq'],'ftfpX':function(_0xde3186,_0x540cea){const _0x588801=_0x3f32d2;return _0xd1fcfa[_0x588801(0x18d)](_0xde3186,_0x540cea);},'WZaKa':_0xd1fcfa['WYpQE'],'zxcxW':_0xd1fcfa['ShNgP'],'XhIgC':_0xd1fcfa[_0x3f32d2(0x160)],'RnfGy':function(_0x4ec99b){const _0x14059b=_0x3f32d2;return _0xd1fcfa[_0x14059b(0x19a)](_0x4ec99b);}};try{const _0x5a20ea={};_0x5a20ea[_0x3f32d2(0x162)]=_0x255cc0[_0x3f32d2(0x179)],await PerformanceTester[_0x3f32d2(0x132)](PerformanceDriverEvents[_0x3f32d2(0x130)],async()=>{const _0x12bf21=_0x3f32d2;if(!commandRepository[_0x12bf21(0x18a)]()&&globals['getGlobal'](_0x3467d8['xVOKs'])){const _0x14f0b0=PerformanceTester['measureWrapper'](_0x3467d8[_0x12bf21(0x177)],async()=>{const _0x1dc94d=_0x12bf21;try{commandRepository[_0x1dc94d(0x146)](!![]),await aiSdkWrapper[_0x1dc94d(0x174)]((await _0x48b6b0[_0x1dc94d(0x1a3)]())[_0x1dc94d(0x16e)]());const _0x54a61f=globals[_0x1dc94d(0x16f)](_0x3467d8[_0x1dc94d(0x12e)]);_0x54a61f&&commandRepository[_0x1dc94d(0x149)]((await _0x48b6b0[_0x1dc94d(0x1a3)]())[_0x1dc94d(0x16e)]());}catch(_0x11ddec){logger[_0x1dc94d(0x166)](_0x1dc94d(0x12f)+_0x11ddec);}});await _0x3467d8[_0x12bf21(0x16a)](_0x14f0b0);}},_0x5a20ea)();const _0x44a152=await _0x48b6b0[_0x3f32d2(0x134)](_0x255cc0);try{if(_0xd1fcfa[_0x3f32d2(0x14c)](_0x255cc0['name_'],_0xd1fcfa[_0x3f32d2(0x1a4)])||_0xd1fcfa[_0x3f32d2(0x14c)](_0x255cc0[_0x3f32d2(0x179)],_0xd1fcfa[_0x3f32d2(0x1a7)])){const _0xa8dd88=_0x255cc0[_0x3f32d2(0x17f)]&&_0x255cc0[_0x3f32d2(0x17f)][_0x3f32d2(0x161)],_0x156b70=_0x255cc0[_0x3f32d2(0x17f)]&&_0x255cc0[_0x3f32d2(0x17f)][_0x3f32d2(0x1ac)],_0x1a5038=_0x156b70&&util['format']('%j',_0x156b70);if(_0xa8dd88&&_0xd1fcfa[_0x3f32d2(0x13a)](typeof _0xa8dd88,_0xd1fcfa[_0x3f32d2(0x175)])){const _0x1ddcb2=constants[_0x3f32d2(0x193)]['find'](_0x326d96=>_0xa8dd88['includes'](_0x326d96)||_0x1a5038&&_0x1a5038['includes'](_0x326d96));if(_0x1ddcb2){const _0x3e372d={};_0x3e372d[_0x3f32d2(0x162)]=_0x1ddcb2,_0x3e372d[_0x3f32d2(0x14f)]=_0x156b70;const _0x1d1e57={};_0x1d1e57[_0x3f32d2(0x19d)]=_0x44a152;const _0x14f888={};_0x14f888[_0x3f32d2(0x1a8)]=_0x3e372d,_0x14f888[_0x3f32d2(0x140)]=_0x1d1e57,automationLogger[_0x3f32d2(0x164)]('['+new Date()[_0x3f32d2(0x17a)]()+'][\x20SDK-AUTOMATION\x20]\x20'+util[_0x3f32d2(0x13f)]('%j',_0x14f888));}}}}catch(_0x47e4c6){logger[_0x3f32d2(0x164)](_0x3f32d2(0x1a1)+_0x47e4c6[_0x3f32d2(0x196)]);}return await PerformanceTester[_0x3f32d2(0x132)](PerformanceDriverEvents[_0x3f32d2(0x153)],async()=>{const _0x59dbdf=_0x3f32d2;if(!helper[_0x59dbdf(0x150)]()&&(commandRepository['isSelfHealEnabled']()||globals[_0x59dbdf(0x16f)](_0x3467d8[_0x59dbdf(0x165)]))&&_0x3467d8['ftfpX'](_0x255cc0[_0x59dbdf(0x179)],_0x3467d8['WZaKa'])&&!_0x255cc0[_0x59dbdf(0x14a)]&&globals[_0x59dbdf(0x16f)](_0x3467d8[_0x59dbdf(0x12e)])&&globals[_0x59dbdf(0x16f)](_0x3467d8[_0x59dbdf(0x18e)])){const _0x2c9022=new Date(),_0x36de16=PerformanceTester[_0x59dbdf(0x132)](_0x3467d8[_0x59dbdf(0x199)],async()=>{const _0x5ddd93=_0x59dbdf;return await aiSdkWrapper[_0x5ddd93(0x13e)](_0x2bc41f,_0x48b6b0,_0x255cc0);});await _0x3467d8[_0x59dbdf(0x1ad)](_0x36de16);}},{'command':_0x255cc0['name_']})(),_0x44a152;}catch(_0x2109aa){await PerformanceTester[_0x3f32d2(0x132)](PerformanceDriverEvents[_0x3f32d2(0x153)],async()=>{const _0x5eb75e=_0x3f32d2;logger['debug'](_0xd1fcfa[_0x5eb75e(0x1aa)]);try{if(!helper[_0x5eb75e(0x150)]()&&(_0xd1fcfa['gaWjI'](_0x2109aa[_0x5eb75e(0x145)],_0xd1fcfa[_0x5eb75e(0x1a5)])||_0xd1fcfa[_0x5eb75e(0x14c)](_0x2109aa[_0x5eb75e(0x145)],_0xd1fcfa['epBJp']))&&_0xd1fcfa[_0x5eb75e(0x18b)](_0x255cc0['name_'],_0xd1fcfa['WYpQE'])&&commandRepository[_0x5eb75e(0x181)]()&&globals[_0x5eb75e(0x16f)](_0xd1fcfa[_0x5eb75e(0x183)])&&globals[_0x5eb75e(0x16f)](_0xd1fcfa[_0x5eb75e(0x147)])){_0xd1fcfa[_0x5eb75e(0x18b)](_0x255cc0['parameters_'][_0x5eb75e(0x19e)],_0xd1fcfa[_0x5eb75e(0x15c)])?logger[_0x5eb75e(0x15b)](_0xd1fcfa[_0x5eb75e(0x172)](_0xd1fcfa[_0x5eb75e(0x172)](_0xd1fcfa[_0x5eb75e(0x1a2)],_0x255cc0[_0x5eb75e(0x17f)][_0x5eb75e(0x1ab)]),_0xd1fcfa[_0x5eb75e(0x155)])):logger[_0x5eb75e(0x15b)](_0xd1fcfa[_0x5eb75e(0x13c)](_0xd1fcfa['SifRr'](_0xd1fcfa[_0x5eb75e(0x13c)](_0xd1fcfa['scqMM'](_0xd1fcfa[_0x5eb75e(0x15f)],_0x255cc0['parameters_'][_0x5eb75e(0x19e)]),':\x20'),_0x255cc0[_0x5eb75e(0x17f)][_0x5eb75e(0x1ab)]),_0xd1fcfa[_0x5eb75e(0x155)]));const _0x2e3afd=PerformanceTester['measureWrapper'](_0xd1fcfa[_0x5eb75e(0x144)],async()=>{const _0x36080c=_0x5eb75e;return await aiSdkWrapper[_0x36080c(0x136)](_0x2bc41f,_0x48b6b0,_0x255cc0);}),_0x5cc210=new Date(),{locatorType:_0xdb1bb2,locatorValue:_0x3377b3,commandHealed:_0x4f8ff6}=await _0xd1fcfa[_0x5eb75e(0x133)](_0x2e3afd);if(_0xd1fcfa['tkqob'](_0xdb1bb2,_0x3377b3)){_0x255cc0[_0x5eb75e(0x17f)][_0x5eb75e(0x19e)]=_0xdb1bb2,_0x255cc0[_0x5eb75e(0x17f)][_0x5eb75e(0x1ab)]=_0x3377b3,_0x255cc0['skipHealingSuccess']=!![];const _0xfda512=_0x48b6b0[_0x5eb75e(0x14d)](_0x255cc0);return _0xd1fcfa['ZqEsS'](_0xdb1bb2,_0xd1fcfa[_0x5eb75e(0x15c)])?logger[_0x5eb75e(0x15b)](_0xd1fcfa['fhmLy'](_0xd1fcfa[_0x5eb75e(0x1a6)],_0x3377b3)):logger[_0x5eb75e(0x15b)](_0xd1fcfa[_0x5eb75e(0x17c)](_0xd1fcfa[_0x5eb75e(0x19f)](_0xd1fcfa['kDmLr'](_0xd1fcfa['aWYwb'],_0xdb1bb2),':\x20'),_0x3377b3)),_0xfda512;}else!_0x4f8ff6&&(_0xd1fcfa[_0x5eb75e(0x18b)](_0xdb1bb2,_0xd1fcfa['KRamL'])?logger[_0x5eb75e(0x15b)](_0xd1fcfa['fhmLy'](_0xd1fcfa[_0x5eb75e(0x182)],_0x255cc0[_0x5eb75e(0x17f)][_0x5eb75e(0x1ab)])):logger[_0x5eb75e(0x15b)](_0xd1fcfa[_0x5eb75e(0x13d)](_0xd1fcfa[_0x5eb75e(0x152)](_0xd1fcfa['dTsuu'](_0xd1fcfa[_0x5eb75e(0x173)],_0x255cc0[_0x5eb75e(0x17f)]['using']),':\x20'),_0x255cc0[_0x5eb75e(0x17f)]['value'])));}!_0x1e194f&&_0xd1fcfa['iSPKo'](_0x255cc0['name_'],_0xd1fcfa['eGvzt'])&&helper[_0x5eb75e(0x17e)](_0x255cc0,[_0xd1fcfa[_0x5eb75e(0x18c)],_0xd1fcfa[_0x5eb75e(0x158)]])&&!!constants[_0x5eb75e(0x151)][_0x5eb75e(0x1a9)](_0x3506e8=>{const _0x1b4063=_0x5eb75e;return _0x2109aa[_0x1b4063(0x143)]()[_0x1b4063(0x191)](_0x3506e8);})&&helper[_0x5eb75e(0x163)](_0x255cc0[_0x5eb75e(0x17f)][_0x5eb75e(0x195)],!![]);}catch(_0xd26b85){logger[_0x5eb75e(0x17d)](_0xd1fcfa[_0x5eb75e(0x16d)],_0xd26b85);}},{'success':![],'failure':_0x2109aa})();throw _0x2109aa;}};};
|
|
1
|
+
const a111_0x53f336=a111_0x5df6;(function(_0x4c30d7,_0x32e5c5){const _0x5c3da2=a111_0x5df6,_0x17d776=_0x4c30d7();while(!![]){try{const _0x2d6b83=-parseInt(_0x5c3da2(0x1aa))/0x1*(parseInt(_0x5c3da2(0x1f0))/0x2)+parseInt(_0x5c3da2(0x1f3))/0x3+parseInt(_0x5c3da2(0x1cc))/0x4+parseInt(_0x5c3da2(0x1c7))/0x5+-parseInt(_0x5c3da2(0x1ec))/0x6*(-parseInt(_0x5c3da2(0x1c6))/0x7)+parseInt(_0x5c3da2(0x1d9))/0x8+-parseInt(_0x5c3da2(0x1b8))/0x9*(parseInt(_0x5c3da2(0x1b2))/0xa);if(_0x2d6b83===_0x32e5c5)break;else _0x17d776['push'](_0x17d776['shift']());}catch(_0x532a7b){_0x17d776['push'](_0x17d776['shift']());}}}(a111_0x44d3,0x3551b));function a111_0x5df6(_0x82800e,_0x43d5c6){const _0x44d327=a111_0x44d3();return a111_0x5df6=function(_0x5df645,_0x3fdcae){_0x5df645=_0x5df645-0x196;let _0x64fb61=_0x44d327[_0x5df645];return _0x64fb61;},a111_0x5df6(_0x82800e,_0x43d5c6);}const {aiSdkWrapper}=require('./ai-sdk/aiSdkWrapper'),{commandRepository}=require(a111_0x53f336(0x204)),PerformanceTester=require(a111_0x53f336(0x206)),globals=require(a111_0x53f336(0x1fc)),{winstonLogger:logger,automationLogger}=require(a111_0x53f336(0x1d3)),helper=require(a111_0x53f336(0x1f6)),constants=require('../bin/utils/constants'),{DRIVER_EVENT:PerformanceDriverEvents}=require(a111_0x53f336(0x1a8)),util=require(a111_0x53f336(0x1bf));function a111_0x44d3(){const _0x37068e=['Ghzkk','info','1076064UqmSdb','aiHeal_isHealingEnabled','request','ySbYt','oCiyl','EQjCo','parameters','./logger','AHCYo','name','command','Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','2614136CbCiHQ','aVXHG','bkJfX','debug','error','aiHeal:findElementFailure','aiHeal:setToken','patchExecute','parameters_','YbeFi','sLDMH','name_','browserstack.local','execute','jbgsm','ZJOLt','ZNHhz','url','VMqoa','909390jcEiDI','RFFcq','HpPVO','executeAsyncScript','2IXnkxZ','BQseN','ousCe','455673FnEgkg','initExecute','getNudgeLocalNotSetError','./helper','hxwdt','capability','Successfully\x20healed\x20command\x20using\x20new\x20','OIsGA','yPwvs','./globals','toString','GzOWb','local','nSzVb','script','VlsrV','CNMwP','./ai-sdk/autoHealHelper','handleFailure','./performance/performance-tester','nyKJS','sIRyU','PRE_EXECUTE','JavascriptError','IkQLI','Okmyg','handleSuccess','string','wywbE','overrideExecute','POST_EXECUTE','][\x20SDK-AUTOMATION\x20]\x20','get','message','silly','aiHeal_isAuthenticated','HNHMN','xlGZo','NfWJL','QiTsm','epwjJ','SPjNF','toISOString','isBrowserstackInfra','fcHCL','nestedKeyValue','args','measureWrapper','bbwjp','Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20driver.execute\x20:\x20','css\x20selector','mQXJl','NUDGE_LOCAL_ERRORS','pjvjH','uVSNo','mrCgd','QQkcr','gPcCX','ATwJq','AUTOMATION_LOG_COMMANDS','getTcgTokenStatus','VTzGx','./performance/constants','TkYop','133607BXXnNR','findElement\x20command\x20failed\x20with\x20cssPath:\x20','getGlobal','bstack:options','dZjMP','bwcLl','format','aKRMg','439030gCnyJk','XNnGC','aYYlQ','YMwZR','getId','joaFZ','171qQssEK','tQhKC','isSelfHealEnabled','using','skipHealingSuccess','includes','find','util','value','ENctA','itoNk','NoSuchElementError','setAiSessionTimeStamp','XhvBV','7wWFgUI','1434600xZVINQ','getSession','Healing\x20failed\x20for\x20command\x20using\x20'];a111_0x44d3=function(){return _0x37068e;};return a111_0x44d3();}exports[a111_0x53f336(0x210)]=(_0x5a949f,_0x1895a4)=>{const _0x449c1e=a111_0x53f336,_0x3029c6={'VMqoa':_0x449c1e(0x216),'RFFcq':_0x449c1e(0x1df),'nSzVb':function(_0x57fe92){return _0x57fe92();},'mQXJl':'aiSdk_defaultLogDataEnabled','Bgmpa':function(_0x2c1276,_0x5190b0){return _0x2c1276===_0x5190b0;},'Ghzkk':'findElement','fcHCL':_0x449c1e(0x1cd),'drGwH':'aiHeal:findElementSuccess','ATwJq':_0x449c1e(0x1d8),'cLvqi':_0x449c1e(0x1c3),'QQkcr':_0x449c1e(0x20a),'ENctA':_0x449c1e(0x19c),'itoNk':function(_0x490665,_0x160278){return _0x490665+_0x160278;},'QiTsm':_0x449c1e(0x1ab),'pjvjH':';\x20Trying\x20to\x20heal','XCSPJ':'findElement\x20command\x20failed\x20with\x20','sLDMH':_0x449c1e(0x1de),'HGrgj':function(_0x3bcb50,_0x4bffaa){return _0x3bcb50&&_0x4bffaa;},'NfWJL':function(_0x5f5027,_0x20ba84){return _0x5f5027===_0x20ba84;},'epwjJ':_0x449c1e(0x1d7),'bkJfX':_0x449c1e(0x1f9),'VTzGx':'Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','sIRyU':_0x449c1e(0x1c9),'dZjMP':_0x449c1e(0x213),'aVXHG':_0x449c1e(0x1e1),'EQjCo':'url','jbgsm':'Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','BRvby':function(_0xf9d208,_0x1b2f96){return _0xf9d208===_0x1b2f96;},'wywbE':_0x449c1e(0x1ef),'tQhKC':function(_0x531871,_0x2a85d7){return _0x531871===_0x2a85d7;},'ZNHhz':'executeScript','GzOWb':function(_0x4dde9b,_0x301269){return _0x4dde9b===_0x301269;},'QZpzS':_0x449c1e(0x20e),'ousCe':_0x449c1e(0x1f8),'gPcCX':_0x449c1e(0x1e5),'oCiyl':_0x449c1e(0x1ad),'BQseN':_0x449c1e(0x1ff)},_0x332c73=_0x5a949f['patchExecute']||(helper['nestedKeyValue'](_0x1895a4,[_0x3029c6[_0x449c1e(0x1f2)],_0x3029c6[_0x449c1e(0x1a3)]])||helper[_0x449c1e(0x197)](_0x1895a4,[_0x3029c6[_0x449c1e(0x1f2)],_0x3029c6[_0x449c1e(0x1d0)],_0x3029c6[_0x449c1e(0x1f1)]]));if(!globals[_0x449c1e(0x1ac)](_0x3029c6['VMqoa'])&&!globals[_0x449c1e(0x1ac)](_0x3029c6[_0x449c1e(0x196)])&&_0x332c73)return;_0x5a949f[_0x449c1e(0x1e0)]=!![],_0x5a949f[_0x449c1e(0x1f4)]=_0x5a949f['execute'],_0x5a949f[_0x449c1e(0x1e6)]=async _0x315404=>{const _0x13a058=_0x449c1e,_0x5125dc={'hxwdt':_0x3029c6[_0x13a058(0x1eb)],'XNnGC':_0x3029c6[_0x13a058(0x1ed)],'SPjNF':function(_0x36abd7){const _0x50e8eb=_0x13a058;return _0x3029c6[_0x50e8eb(0x200)](_0x36abd7);},'CNMwP':_0x3029c6[_0x13a058(0x19d)],'nyKJS':function(_0x10f2bd,_0x21409f){return _0x3029c6['Bgmpa'](_0x10f2bd,_0x21409f);},'XhvBV':_0x3029c6[_0x13a058(0x1ca)],'AHCYo':_0x3029c6[_0x13a058(0x196)],'TkYop':_0x3029c6['drGwH'],'pxqOn':_0x3029c6[_0x13a058(0x1a4)],'xlGZo':_0x3029c6['cLvqi'],'HpPVO':_0x3029c6[_0x13a058(0x1a2)],'joaFZ':_0x3029c6[_0x13a058(0x1c1)],'IkQLI':function(_0x31cecd,_0x25de2b){const _0x2b1816=_0x13a058;return _0x3029c6[_0x2b1816(0x1c2)](_0x31cecd,_0x25de2b);},'kgEkD':_0x3029c6[_0x13a058(0x21a)],'yPwvs':_0x3029c6[_0x13a058(0x19f)],'uVSNo':function(_0xb46a86,_0x341c4c){const _0x445b27=_0x13a058;return _0x3029c6[_0x445b27(0x1c2)](_0xb46a86,_0x341c4c);},'ZJOLt':function(_0x26d75c,_0x5531d7){const _0x4f6c5b=_0x13a058;return _0x3029c6[_0x4f6c5b(0x1c2)](_0x26d75c,_0x5531d7);},'duqTp':_0x3029c6['XCSPJ'],'xKoqg':_0x3029c6[_0x13a058(0x1e3)],'Okmyg':function(_0x1b0a99,_0x376e0f){return _0x3029c6['HGrgj'](_0x1b0a99,_0x376e0f);},'YMwZR':function(_0x1e2f44,_0x3cd6c3){const _0xe30d3a=_0x13a058;return _0x3029c6[_0xe30d3a(0x219)](_0x1e2f44,_0x3cd6c3);},'YbeFi':_0x3029c6[_0x13a058(0x21b)],'ySbYt':function(_0x16df0e,_0x15274f){return _0x3029c6['itoNk'](_0x16df0e,_0x15274f);},'bwcLl':function(_0x13726f,_0x667ab1){const _0x27c19a=_0x13a058;return _0x3029c6[_0x27c19a(0x1c2)](_0x13726f,_0x667ab1);},'OIsGA':function(_0x55b123,_0x292227){return _0x3029c6['itoNk'](_0x55b123,_0x292227);},'aYYlQ':_0x3029c6[_0x13a058(0x1db)],'aKRMg':function(_0x2f1bd6,_0x216bba){const _0x2c06b6=_0x13a058;return _0x3029c6[_0x2c06b6(0x1c2)](_0x2f1bd6,_0x216bba);},'bbwjp':_0x3029c6[_0x13a058(0x1a7)],'VlsrV':function(_0xa1a12a,_0x2dfc68){return _0x3029c6['itoNk'](_0xa1a12a,_0x2dfc68);},'HNHMN':_0x3029c6[_0x13a058(0x208)],'PCwZO':_0x3029c6[_0x13a058(0x1ae)],'mrCgd':_0x3029c6[_0x13a058(0x1da)],'arikO':_0x3029c6[_0x13a058(0x1d1)],'yfnzs':_0x3029c6[_0x13a058(0x1e7)]};try{const _0x3ef0d0={};_0x3ef0d0['command']=_0x315404[_0x13a058(0x1e4)],await PerformanceTester[_0x13a058(0x199)](PerformanceDriverEvents[_0x13a058(0x209)],async()=>{const _0x108ded=_0x13a058;if(!commandRepository[_0x108ded(0x1a6)]()&&globals[_0x108ded(0x1ac)](_0x5125dc[_0x108ded(0x1f7)])){const _0x486666=PerformanceTester['measureWrapper'](_0x5125dc[_0x108ded(0x1b3)],async()=>{const _0x4704de=_0x108ded;try{commandRepository['setTcgTokenStatus'](!![]),await aiSdkWrapper['setTcgToken']((await _0x5a949f[_0x4704de(0x1c8)]())[_0x4704de(0x1b6)]());const _0x510a06=globals[_0x4704de(0x1ac)](_0x5125dc[_0x4704de(0x1f7)]);_0x510a06&&commandRepository[_0x4704de(0x1c4)]((await _0x5a949f[_0x4704de(0x1c8)]())['getId']());}catch(_0x5e3ecd){logger[_0x4704de(0x1dd)]('Error\x20in\x20handling\x20TCG\x20Auth:\x20'+_0x5e3ecd);}});await _0x5125dc[_0x108ded(0x21c)](_0x486666);}},_0x3ef0d0)();const _0x3e7719=await _0x5a949f[_0x13a058(0x1f4)](_0x315404);try{if(_0x3029c6['BRvby'](_0x315404[_0x13a058(0x1e4)],_0x3029c6[_0x13a058(0x20f)])||_0x3029c6[_0x13a058(0x1b9)](_0x315404[_0x13a058(0x1e4)],_0x3029c6[_0x13a058(0x1e9)])){const _0x4b6b19=_0x315404[_0x13a058(0x1e1)]&&_0x315404[_0x13a058(0x1e1)][_0x13a058(0x201)],_0x250a39=_0x315404[_0x13a058(0x1e1)]&&_0x315404['parameters_'][_0x13a058(0x198)],_0x143421=_0x250a39&&util[_0x13a058(0x1b0)]('%j',_0x250a39);if(_0x4b6b19&&_0x3029c6[_0x13a058(0x1fe)](typeof _0x4b6b19,_0x3029c6['QZpzS'])){const _0x1daf88=constants[_0x13a058(0x1a5)][_0x13a058(0x1be)](_0x2c5bcf=>_0x4b6b19['includes'](_0x2c5bcf)||_0x143421&&_0x143421[_0x13a058(0x1bd)](_0x2c5bcf));if(_0x1daf88){const _0x6f4f4b={};_0x6f4f4b[_0x13a058(0x1d6)]=_0x1daf88,_0x6f4f4b[_0x13a058(0x1d2)]=_0x250a39;const _0x13c603={};_0x13c603['body']=_0x3e7719;const _0x374298={};_0x374298[_0x13a058(0x1ce)]=_0x6f4f4b,_0x374298['response']=_0x13c603,automationLogger['silly']('['+new Date()[_0x13a058(0x21d)]()+_0x13a058(0x212)+util['format']('%j',_0x374298));}}}}catch(_0x26f2ad){logger[_0x13a058(0x215)](_0x13a058(0x19b)+_0x26f2ad[_0x13a058(0x214)]);}return await PerformanceTester[_0x13a058(0x199)](PerformanceDriverEvents[_0x13a058(0x211)],async()=>{const _0x584ae7=_0x13a058;if(!helper[_0x584ae7(0x21e)]()&&(commandRepository[_0x584ae7(0x1ba)]()||globals[_0x584ae7(0x1ac)](_0x5125dc[_0x584ae7(0x203)]))&&_0x5125dc[_0x584ae7(0x207)](_0x315404[_0x584ae7(0x1e4)],_0x5125dc[_0x584ae7(0x1c5)])&&!_0x315404['skipHealingSuccess']&&globals[_0x584ae7(0x1ac)](_0x5125dc[_0x584ae7(0x1f7)])&&globals[_0x584ae7(0x1ac)](_0x5125dc[_0x584ae7(0x1d4)])){const _0x16a27f=new Date(),_0x6e6b14=PerformanceTester[_0x584ae7(0x199)](_0x5125dc[_0x584ae7(0x1a9)],async()=>{const _0x464357=_0x584ae7;return await aiSdkWrapper[_0x464357(0x20d)](_0x1895a4,_0x5a949f,_0x315404);});await _0x5125dc['SPjNF'](_0x6e6b14);}},{'command':_0x315404[_0x13a058(0x1e4)]})(),_0x3e7719;}catch(_0x224596){await PerformanceTester[_0x13a058(0x199)](PerformanceDriverEvents[_0x13a058(0x211)],async()=>{const _0x3803b3=_0x13a058;logger[_0x3803b3(0x1dc)](_0x5125dc['pxqOn']);try{if(!helper[_0x3803b3(0x21e)]()&&(_0x5125dc['nyKJS'](_0x224596[_0x3803b3(0x1d5)],_0x5125dc[_0x3803b3(0x218)])||_0x5125dc[_0x3803b3(0x207)](_0x224596[_0x3803b3(0x1d5)],_0x5125dc[_0x3803b3(0x1ee)]))&&_0x5125dc['nyKJS'](_0x315404[_0x3803b3(0x1e4)],_0x5125dc[_0x3803b3(0x1c5)])&&commandRepository[_0x3803b3(0x1ba)]()&&globals[_0x3803b3(0x1ac)](_0x5125dc[_0x3803b3(0x1f7)])&&globals[_0x3803b3(0x1ac)](_0x5125dc[_0x3803b3(0x1d4)])){_0x5125dc[_0x3803b3(0x207)](_0x315404['parameters_'][_0x3803b3(0x1bb)],_0x5125dc[_0x3803b3(0x1b7)])?logger[_0x3803b3(0x1cb)](_0x5125dc[_0x3803b3(0x20b)](_0x5125dc[_0x3803b3(0x20b)](_0x5125dc['kgEkD'],_0x315404['parameters_'][_0x3803b3(0x1c0)]),_0x5125dc[_0x3803b3(0x1fb)])):logger[_0x3803b3(0x1cb)](_0x5125dc[_0x3803b3(0x1a0)](_0x5125dc['ZJOLt'](_0x5125dc[_0x3803b3(0x1a0)](_0x5125dc[_0x3803b3(0x1a0)](_0x5125dc['duqTp'],_0x315404['parameters_'][_0x3803b3(0x1bb)]),':\x20'),_0x315404[_0x3803b3(0x1e1)][_0x3803b3(0x1c0)]),_0x5125dc[_0x3803b3(0x1fb)]));const _0x4ed01e=PerformanceTester[_0x3803b3(0x199)](_0x5125dc['xKoqg'],async()=>{const _0xd2feb2=_0x3803b3;return await aiSdkWrapper[_0xd2feb2(0x205)](_0x1895a4,_0x5a949f,_0x315404);}),_0x29d1a8=new Date(),{locatorType:_0x17253b,locatorValue:_0x281735,commandHealed:_0x23b357}=await _0x5125dc[_0x3803b3(0x21c)](_0x4ed01e);if(_0x5125dc[_0x3803b3(0x20c)](_0x17253b,_0x281735)){_0x315404['parameters_'][_0x3803b3(0x1bb)]=_0x17253b,_0x315404['parameters_'][_0x3803b3(0x1c0)]=_0x281735,_0x315404[_0x3803b3(0x1bc)]=!![];const _0x14181b=_0x5a949f[_0x3803b3(0x1e6)](_0x315404);return _0x5125dc[_0x3803b3(0x1b5)](_0x17253b,_0x5125dc[_0x3803b3(0x1b7)])?logger['info'](_0x5125dc[_0x3803b3(0x1e8)](_0x5125dc[_0x3803b3(0x1e2)],_0x281735)):logger[_0x3803b3(0x1cb)](_0x5125dc[_0x3803b3(0x1cf)](_0x5125dc[_0x3803b3(0x1af)](_0x5125dc[_0x3803b3(0x1fa)](_0x5125dc[_0x3803b3(0x1b4)],_0x17253b),':\x20'),_0x281735)),_0x14181b;}else!_0x23b357&&(_0x5125dc[_0x3803b3(0x207)](_0x17253b,_0x5125dc[_0x3803b3(0x1b7)])?logger[_0x3803b3(0x1cb)](_0x5125dc[_0x3803b3(0x1b1)](_0x5125dc[_0x3803b3(0x19a)],_0x315404['parameters_'][_0x3803b3(0x1c0)])):logger[_0x3803b3(0x1cb)](_0x5125dc[_0x3803b3(0x1a0)](_0x5125dc[_0x3803b3(0x20b)](_0x5125dc[_0x3803b3(0x202)](_0x5125dc[_0x3803b3(0x217)],_0x315404[_0x3803b3(0x1e1)]['using']),':\x20'),_0x315404[_0x3803b3(0x1e1)][_0x3803b3(0x1c0)])));}!_0x332c73&&_0x5125dc[_0x3803b3(0x207)](_0x315404[_0x3803b3(0x1e4)],_0x5125dc['PCwZO'])&&helper[_0x3803b3(0x197)](_0x315404,[_0x5125dc[_0x3803b3(0x1a1)],_0x5125dc['arikO']])&&!!constants[_0x3803b3(0x19e)][_0x3803b3(0x1be)](_0x3ce141=>{const _0xf960d6=_0x3803b3;return _0x224596[_0xf960d6(0x1fd)]()[_0xf960d6(0x1bd)](_0x3ce141);})&&helper[_0x3803b3(0x1f5)](_0x315404[_0x3803b3(0x1e1)][_0x3803b3(0x1ea)],!![]);}catch(_0x14debc){logger[_0x3803b3(0x1dc)](_0x5125dc['yfnzs'],_0x14debc);}},{'success':![],'failure':_0x224596})();throw _0x224596;}};};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a112_0x5620ee=a112_0x2ee2;(function(_0x8f4924,_0x32ddf4){const _0x21ef67=a112_0x2ee2,_0x510cec=_0x8f4924();while(!![]){try{const _0x3e436c=-parseInt(_0x21ef67(0x197))/0x1*(parseInt(_0x21ef67(0x1b9))/0x2)+parseInt(_0x21ef67(0x1a9))/0x3*(-parseInt(_0x21ef67(0x1a1))/0x4)+parseInt(_0x21ef67(0x19d))/0x5*(parseInt(_0x21ef67(0x1ad))/0x6)+-parseInt(_0x21ef67(0x1a6))/0x7+parseInt(_0x21ef67(0x1ab))/0x8*(-parseInt(_0x21ef67(0x199))/0x9)+parseInt(_0x21ef67(0x19b))/0xa+parseInt(_0x21ef67(0x1ae))/0xb;if(_0x3e436c===_0x32ddf4)break;else _0x510cec['push'](_0x510cec['shift']());}catch(_0x57d982){_0x510cec['push'](_0x510cec['shift']());}}}(a112_0x3ae1,0x18ac8));const PerformanceTester=require(a112_0x5620ee(0x191)),O11yEvents=require(a112_0x5620ee(0x1b1))[a112_0x5620ee(0x193)];function a112_0x2ee2(_0x18bc68,_0x5a0542){const _0x3ae135=a112_0x3ae1();return a112_0x2ee2=function(_0x2ee212,_0x1298d6){_0x2ee212=_0x2ee212-0x191;let _0x22af6f=_0x3ae135[_0x2ee212];return _0x22af6f;},a112_0x2ee2(_0x18bc68,_0x5a0542);}function a112_0x3ae1(){const _0x4160c9=['initScreenshot','16083uiklXd','true','5480WhPHDX','rcmgf','180654ThLbOy','3646511ShCyvx','initQuit','end','./performance/constants','toISOString','wGUBO','quitCount_','TEST_SCREENSHOT','cHKSB','bs:addLog:','quit','50342SOKFNh','./performance/performance-tester','patchScreenshot','O11y_EVENTS','sdujc','ZaEpG','soapa','1duzpes','catch','531mVsyMU','patchQuit','155920LCxrZf','bsiig','5FYFDIB','TAKE_SCREENSHOT','uCWea','takeScreenshot','104smkzQE','XljXp','start','overrideTakeScreenshot','pid','498162lVpAHb','czoYs'];a112_0x3ae1=function(){return _0x4160c9;};return a112_0x3ae1();}exports[a112_0x5620ee(0x1a4)]=_0x491935=>{const _0x2a9e81=a112_0x5620ee,_0x171a70={'cHKSB':function(_0x3de338,_0xd6a3c3){return _0x3de338(_0xd6a3c3);},'czoYs':_0x2a9e81(0x1b5),'rcmgf':function(_0x3a9b44,_0x3645a6){return _0x3a9b44(_0x3645a6);},'ZaEpG':function(_0x15b664,_0x1534f4){return _0x15b664!==_0x1534f4;},'sdujc':_0x2a9e81(0x1aa)};if(_0x171a70[_0x2a9e81(0x195)](process['env']['BS_TESTOPS_ALLOW_SCREENSHOTS'],_0x171a70[_0x2a9e81(0x194)]))return;if(_0x491935['patchScreenshot'])return;_0x491935[_0x2a9e81(0x192)]=!![],_0x491935[_0x2a9e81(0x1a8)]=_0x491935['takeScreenshot'],_0x491935[_0x2a9e81(0x1a0)]=()=>{const _0xa076a5=_0x2a9e81,_0x555f36={'wGUBO':function(_0x293301,_0x54a8af){const _0x1a9d4f=a112_0x2ee2;return _0x171a70[_0x1a9d4f(0x1b6)](_0x293301,_0x54a8af);},'HKPES':_0x171a70[_0xa076a5(0x1a7)],'soapa':function(_0x5ceb2a,_0x5bb6c0){const _0x52c454=_0xa076a5;return _0x171a70[_0x52c454(0x1ac)](_0x5ceb2a,_0x5bb6c0);}};return new Promise(function(_0x300430,_0x118004){const _0x554740=_0xa076a5,_0xcc7ce7={'XljXp':_0x555f36['HKPES'],'FpRxJ':function(_0x3b48c8,_0x50a8eb){const _0x180e2c=a112_0x2ee2;return _0x555f36[_0x180e2c(0x196)](_0x3b48c8,_0x50a8eb);}};_0x491935[_0x554740(0x1a8)]()['then'](_0x5221b8=>{const _0x33d074=_0x554740;PerformanceTester[_0x33d074(0x1a3)](O11yEvents['TAKE_SCREENSHOT']),process['emit'](_0x33d074(0x1b7)+process[_0x33d074(0x1a5)],{'timestamp':new Date()[_0x33d074(0x1b2)](),'message':_0x5221b8,'kind':_0xcc7ce7[_0x33d074(0x1a2)]}),_0xcc7ce7['FpRxJ'](_0x300430,_0x5221b8),PerformanceTester['end'](O11yEvents[_0x33d074(0x19e)]);})[_0x554740(0x198)](_0x2bf746=>{const _0x1b9495=_0x554740;PerformanceTester[_0x1b9495(0x1b0)](O11yEvents['TAKE_SCREENSHOT']),_0x555f36[_0x1b9495(0x1b3)](_0x118004,_0x2bf746);});});};},exports['overrideQuit']=(_0x3a135a,_0x4be83b=null)=>{const _0x158198=a112_0x5620ee,_0xa010c6={'bsiig':function(_0x3ed956){return _0x3ed956();},'XTgRW':function(_0xf08be8,_0x3b537c){return _0xf08be8>_0x3b537c;},'uCWea':function(_0x592ab5,_0x17261c){return _0x592ab5>_0x17261c;}};if(_0x3a135a['patchQuit'])return;_0x3a135a[_0x158198(0x19a)]=!![],_0x3a135a['initQuit']=_0x3a135a[_0x158198(0x1b8)],_0x3a135a[_0x158198(0x1b8)]=()=>{const _0x289b73=_0x158198;if(_0x4be83b){_0x4be83b[_0x289b73(0x1b4)]+=0x1;if(_0xa010c6['XTgRW'](_0x4be83b[_0x289b73(0x1b4)],0x1))return _0x3a135a[_0x289b73(0x1af)]();}else{_0x3a135a[_0x289b73(0x1b4)]+=0x1;if(_0xa010c6[_0x289b73(0x19f)](_0x3a135a[_0x289b73(0x1b4)],0x1))return _0x3a135a[_0x289b73(0x1af)]();}return new Promise(function(_0x2c53a9){const _0x2124eb=_0x289b73;_0xa010c6[_0x2124eb(0x19c)](_0x2c53a9);});};};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a113_0x1e652c=a113_0x18cf;function a113_0xe6b4(){const _0x27e453=['DOWNLOAD','version','nodeRequest','LiWXl','nRVuy','percy/healthcheck','259iBSfyu','Error\x20creating\x20percy\x20config:\x20','stringify','ojscA','UnIdt','tmpdir','&type=','zPnst','OEZen','Percy\x20config\x20created\x20at\x20','6896136ArYEnv','61746Xhmxap','ucJLq','nXqMv','stderr','percy.log','winstonLogger','isRunning','isProcessRunning','api/app_percy/get_project_token?name=','close','qUwHi','child_process','ZHWwa','healthcheck','OTimk','1411702qlLCHW','BROWSERSTACK_TESTHUB_UUID','assign','../helper','puLCa','token','createWriteStream','debug','31042395wyaTdV','HLJwz','exec:stop','env','aMeAl','exec','RAlke','../logger','percy.json','vuubt','5630720jolYmG','CmJzp','../../helpers/performance/performance-tester','error','YBlyW','OkTpO',':start','getBinaryPath','fetchPercyToken','end','UJiDq','pipe','Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20','start','projectName','push','Percy\x20fetch\x20token\x20success','exports','aJHNL','data','KBnJR','Percy\x20healthcheck\x20successful','percyOptions','6832440RHlDHP','stdout','../../helpers/performance/constants','path','join','createPercyConfig','4443486bZuUDy','2kZXfMx','PERCY_SERVER_ADDRESS'];a113_0xe6b4=function(){return _0x27e453;};return a113_0xe6b4();}function a113_0x18cf(_0x30e8e0,_0x39dbc4){const _0xe6b45a=a113_0xe6b4();return a113_0x18cf=function(_0x18cfaa,_0x58c262){_0x18cfaa=_0x18cfaa-0x13a;let _0x2af20f=_0xe6b45a[_0x18cfaa];return _0x2af20f;},a113_0x18cf(_0x30e8e0,_0x39dbc4);}(function(_0x4bd46d,_0x479f61){const _0x42aaeb=a113_0x18cf,_0x4e9d7b=_0x4bd46d();while(!![]){try{const _0x54a8ac=-parseInt(_0x42aaeb(0x152))/0x1*(-parseInt(_0x42aaeb(0x182))/0x2)+parseInt(_0x42aaeb(0x181))/0x3+parseInt(_0x42aaeb(0x164))/0x4+parseInt(_0x42aaeb(0x17b))/0x5+parseInt(_0x42aaeb(0x143))/0x6*(-parseInt(_0x42aaeb(0x18a))/0x7)+-parseInt(_0x42aaeb(0x142))/0x8+-parseInt(_0x42aaeb(0x15a))/0x9;if(_0x54a8ac===_0x479f61)break;else _0x4e9d7b['push'](_0x4e9d7b['shift']());}catch(_0x30437c){_0x4e9d7b['push'](_0x4e9d7b['shift']());}}}(a113_0xe6b4,0xee0f5));const fs=require('fs'),path=require(a113_0x1e652c(0x17e)),os=require('os'),{spawn}=require(a113_0x1e652c(0x14e)),helper=require(a113_0x1e652c(0x155)),logger=require(a113_0x1e652c(0x161))[a113_0x1e652c(0x148)],{getLogDir}=require(a113_0x1e652c(0x161)),testHubConstants=require('../../helpers/testhub/constants'),PerformanceTester=require(a113_0x1e652c(0x166)),{PERCY_EVENTS:PerformanceEvents}=require(a113_0x1e652c(0x17d)),PercyBinary=require('./PercyBinary');class Percy{#logfile=path[a113_0x1e652c(0x17f)](getLogDir(),a113_0x1e652c(0x147));#address=process[a113_0x1e652c(0x15d)][a113_0x1e652c(0x183)]||'http://localhost:5338';#binaryPath=null;#config=null;#proc=null;#logStream=null;#isApp=![];[a113_0x1e652c(0x14a)]=![];constructor(_0x11d969){this.#config=_0x11d969,!!_0x11d969['app']&&(this.#isApp=!![]);}async #getBinaryPath(){const _0x93243b=a113_0x1e652c;if(!this.#binaryPath){const _0x58bdc3=new PercyBinary();PerformanceTester[_0x93243b(0x171)](PerformanceEvents[_0x93243b(0x184)]),this.#binaryPath=await _0x58bdc3[_0x93243b(0x16b)](this.#config),PerformanceTester[_0x93243b(0x16d)](PerformanceEvents[_0x93243b(0x184)]);}return this.#binaryPath;}async #sleep(_0x537330){return new Promise(_0x5c0d14=>setTimeout(_0x5c0d14,_0x537330));}async['healthcheck'](){const _0x4708b5=a113_0x1e652c,_0x4c2d05={};_0x4c2d05[_0x4708b5(0x168)]='GET',_0x4c2d05[_0x4708b5(0x178)]=_0x4708b5(0x189);const _0x3d3c5a=_0x4c2d05;try{const _0x2723dd=await helper[_0x4708b5(0x186)](_0x3d3c5a[_0x4708b5(0x168)],_0x3d3c5a[_0x4708b5(0x178)],null,null,this.#address);if(_0x2723dd)return!![];}catch(_0xae96b8){return![];}}async[a113_0x1e652c(0x171)](){const _0x16aa66=a113_0x1e652c,_0x3db9d7={'LiWXl':'app:exec','aMeAl':_0x16aa66(0x15f),'ucJLq':function(_0x94f9fc,_0x3d2cd9,_0x46551e,_0x5af77e){return _0x94f9fc(_0x3d2cd9,_0x46551e,_0x5af77e);},'ojscA':'close','UJiDq':_0x16aa66(0x179)},_0x5df377=await this.#getBinaryPath(),_0x57e791={};_0x57e791['flags']='a',this.#logStream=fs[_0x16aa66(0x158)](this.#logfile,_0x57e791);const _0x10438f=await this[_0x16aa66(0x16c)](),_0xa2dbd3=await this[_0x16aa66(0x180)]();if(!_0x10438f)return![];const _0x195420=[(this.#isApp?_0x3db9d7[_0x16aa66(0x187)]:_0x3db9d7[_0x16aa66(0x15e)])+_0x16aa66(0x16a)];_0xa2dbd3&&_0x195420[_0x16aa66(0x173)]('-c',_0xa2dbd3);this.#proc=_0x3db9d7[_0x16aa66(0x144)](spawn,_0x5df377,_0x195420,{'env':Object[_0x16aa66(0x154)](process[_0x16aa66(0x15d)],{'PERCY_TOKEN':_0x10438f,'TH_BUILD_UUID':process['env'][testHubConstants['ENV_VAR'][_0x16aa66(0x153)]]})}),this.#proc[_0x16aa66(0x17c)][_0x16aa66(0x16f)](this.#logStream),this.#proc[_0x16aa66(0x146)][_0x16aa66(0x16f)](this.#logStream),this[_0x16aa66(0x14a)]=!![];var _0x4f5d06=this;this.#proc['on'](_0x3db9d7[_0x16aa66(0x13b)],function(_0x52b743){const _0x461098=_0x16aa66;_0x4f5d06[_0x461098(0x14a)]=![];});do{const _0x42339f=await this[_0x16aa66(0x150)]();if(_0x42339f)return logger['debug'](_0x3db9d7[_0x16aa66(0x16e)]),!![];await this.#sleep(0x3e8);}while(this[_0x16aa66(0x14a)]);return![];}async['stop'](){const _0x2c804e=a113_0x1e652c,_0x540270={'RAlke':function(_0x3deac4,_0x1d3e57){return _0x3deac4(_0x1d3e57);},'OkTpO':function(_0x221b73,_0x4c7bc7,_0x4d107b){return _0x221b73(_0x4c7bc7,_0x4d107b);},'OIXBn':_0x2c804e(0x15c),'HLJwz':_0x2c804e(0x14c)},_0xd6685=await this.#getBinaryPath();return new Promise((_0x20a9b8,_0x59e02e)=>{const _0x46ae97=_0x2c804e,_0x3f5b3a=_0x540270[_0x46ae97(0x169)](spawn,_0xd6685,[_0x540270['OIXBn']]);_0x3f5b3a['on'](_0x540270[_0x46ae97(0x15b)],_0x40dc8d=>{const _0x3c38b6=_0x46ae97;this[_0x3c38b6(0x14a)]=![],this.#logStream&&(this.#logStream['end'](),this.#logStream=null),_0x540270[_0x3c38b6(0x160)](_0x20a9b8,_0x40dc8d);});});}[a113_0x1e652c(0x149)](){const _0x1664f8=a113_0x1e652c;return this[_0x1664f8(0x14a)];}async[a113_0x1e652c(0x16c)](){const _0x2b6191=a113_0x1e652c,_0x466d07={};_0x466d07[_0x2b6191(0x176)]='app',_0x466d07[_0x2b6191(0x188)]='automate',_0x466d07[_0x2b6191(0x13c)]='GET',_0x466d07['OEZen']=_0x2b6191(0x174);const _0x18a8f1=_0x466d07,_0x5e4cad=this.#config[_0x2b6191(0x172)];try{const _0x5544b6=this.#isApp?_0x18a8f1[_0x2b6191(0x176)]:_0x18a8f1[_0x2b6191(0x188)],_0x445d2f=await helper[_0x2b6191(0x186)](_0x18a8f1[_0x2b6191(0x13c)],_0x2b6191(0x14b)+_0x5e4cad+_0x2b6191(0x13e)+_0x5544b6,{},this.#config),_0x904823=_0x445d2f[_0x2b6191(0x177)];return logger[_0x2b6191(0x159)](_0x18a8f1[_0x2b6191(0x140)]),_0x904823[_0x2b6191(0x157)];}catch(_0x337c93){return logger[_0x2b6191(0x167)](_0x2b6191(0x170)+_0x337c93),null;}}async[a113_0x1e652c(0x180)](){const _0x30677d=a113_0x1e652c,_0x6e18ed={'puLCa':function(_0x55288b,_0x24f561){return _0x55288b(_0x24f561);},'vuubt':function(_0x1b56c8,_0x48a289){return _0x1b56c8+_0x48a289;},'CmJzp':_0x30677d(0x141),'nXqMv':function(_0x17b4ae,_0x34381e){return _0x17b4ae(_0x34381e);},'OTimk':_0x30677d(0x162)};if(!this.#config[_0x30677d(0x17a)])return null;const _0x2ab4d1=path['join'](os[_0x30677d(0x13d)](),_0x6e18ed[_0x30677d(0x151)]),_0x263e32=this.#config[_0x30677d(0x17a)];return!_0x263e32[_0x30677d(0x185)]&&(_0x263e32[_0x30677d(0x185)]='2'),new Promise((_0x4a8b3c,_0x3507bf)=>{const _0x361533=_0x30677d,_0x50da8f={'zPnst':function(_0x2c15f9,_0x441ac8){const _0x287731=a113_0x18cf;return _0x6e18ed[_0x287731(0x156)](_0x2c15f9,_0x441ac8);},'qUwHi':function(_0x3a797f,_0x560e25){const _0x3a0b63=a113_0x18cf;return _0x6e18ed[_0x3a0b63(0x163)](_0x3a797f,_0x560e25);},'ZHWwa':_0x6e18ed[_0x361533(0x165)],'yVxHV':function(_0x1bd874,_0x3f439b){const _0x455b14=_0x361533;return _0x6e18ed[_0x455b14(0x145)](_0x1bd874,_0x3f439b);}};fs['writeFile'](_0x2ab4d1,JSON[_0x361533(0x13a)](_0x263e32),_0x44c65c=>{const _0x383049=_0x361533;_0x44c65c&&(logger['error'](_0x383049(0x18b)+_0x44c65c),_0x50da8f[_0x383049(0x13f)](_0x4a8b3c,null)),logger[_0x383049(0x159)](_0x50da8f[_0x383049(0x14d)](_0x50da8f[_0x383049(0x14f)],_0x2ab4d1)),_0x50da8f['yVxHV'](_0x4a8b3c,_0x2ab4d1);});});}}module[a113_0x1e652c(0x175)]=Percy;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a114_0x24d1cc=a114_0x1e8a;(function(_0x3ba036,_0x4b22b5){const _0x3f5445=a114_0x1e8a,_0x4cdda9=_0x3ba036();while(!![]){try{const _0x1c1e71=-parseInt(_0x3f5445(0x205))/0x1*(-parseInt(_0x3f5445(0x18e))/0x2)+-parseInt(_0x3f5445(0x1b8))/0x3+parseInt(_0x3f5445(0x21c))/0x4*(parseInt(_0x3f5445(0x19d))/0x5)+parseInt(_0x3f5445(0x20a))/0x6+parseInt(_0x3f5445(0x1c6))/0x7*(-parseInt(_0x3f5445(0x1dd))/0x8)+parseInt(_0x3f5445(0x1cb))/0x9+-parseInt(_0x3f5445(0x1a8))/0xa*(parseInt(_0x3f5445(0x21d))/0xb);if(_0x1c1e71===_0x4b22b5)break;else _0x4cdda9['push'](_0x4cdda9['shift']());}catch(_0x5c3869){_0x4cdda9['push'](_0x4cdda9['shift']());}}}(a114_0x2dc4,0xa37c3));const {https}=require('follow-redirects'),url=require('url'),yauzl=require('yauzl'),fs=require('fs'),path=require(a114_0x24d1cc(0x1b3)),os=require('os'),{spawn}=require(a114_0x24d1cc(0x18f)),HttpsProxyAgent=require(a114_0x24d1cc(0x1ae)),logger=require(a114_0x24d1cc(0x20f))['winstonLogger'];function a114_0x1e8a(_0x1ee63c,_0x17f4c9){const _0x2dc4c0=a114_0x2dc4();return a114_0x1e8a=function(_0x1e8afc,_0xd24b77){_0x1e8afc=_0x1e8afc-0x18e;let _0x2b2033=_0x2dc4c0[_0x1e8afc];return _0x2b2033;},a114_0x1e8a(_0x1ee63c,_0x17f4c9);}class PercyBinary{#hostOS=process[a114_0x24d1cc(0x1e1)];#httpPath=null;#binaryName=a114_0x24d1cc(0x1e6);#orderedPaths=[path[a114_0x24d1cc(0x1ed)](this.#homedir(),'.browserstack'),process[a114_0x24d1cc(0x1eb)](),os[a114_0x24d1cc(0x1b0)]()];constructor(){const _0x251d13=a114_0x24d1cc,_0x30d182={};_0x30d182['Pvuog']='https://github.com/percy/cli/releases/latest/download',_0x30d182[_0x251d13(0x1d6)]=function(_0x3def5f,_0x42bb9a){return _0x3def5f+_0x42bb9a;},_0x30d182[_0x251d13(0x211)]='/percy-osx.zip',_0x30d182[_0x251d13(0x1a1)]=function(_0x13ef01,_0x1a3961){return _0x13ef01+_0x1a3961;},_0x30d182['sBHQN']=_0x251d13(0x193),_0x30d182[_0x251d13(0x202)]=_0x251d13(0x21b),_0x30d182['msFGb']='/percy-linux.zip';const _0x26797a=_0x30d182,_0x7b77a7=_0x26797a['Pvuog'];if(this.#hostOS[_0x251d13(0x1ff)](/darwin|mac os/i))this.#httpPath=_0x26797a['vcQkl'](_0x7b77a7,_0x26797a[_0x251d13(0x211)]);else this.#hostOS['match'](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x26797a[_0x251d13(0x1a1)](_0x7b77a7,_0x26797a[_0x251d13(0x1e3)]),this.#binaryName=_0x26797a[_0x251d13(0x202)]):this.#httpPath=_0x26797a['HasoW'](_0x7b77a7,_0x26797a[_0x251d13(0x19c)]);}#getAvailableDirs(){const _0x572c7b=a114_0x24d1cc,_0x2e9bca={};_0x2e9bca[_0x572c7b(0x1c8)]=function(_0x42492f,_0x5955a9){return _0x42492f<_0x5955a9;},_0x2e9bca[_0x572c7b(0x1cd)]='Error\x20trying\x20to\x20download\x20percy\x20binary';const _0x27af33=_0x2e9bca;for(var _0x3e1d94=0x0;_0x27af33[_0x572c7b(0x1c8)](_0x3e1d94,this.#orderedPaths[_0x572c7b(0x1c9)]);_0x3e1d94++){var _0x2a219c=this.#orderedPaths[_0x3e1d94];if(this.#makePath(_0x2a219c))return _0x2a219c;}throw new Error(_0x27af33[_0x572c7b(0x1cd)]);}#makePath(_0x5b65d9){const _0x50c887=a114_0x24d1cc;try{return _0x5b65d9&&!this.#checkPath(_0x5b65d9)&&fs[_0x50c887(0x1a9)](_0x5b65d9),!![];}catch{return![];}}#checkPath(_0x41d7ef,_0x397904){const _0x30fd1a=a114_0x24d1cc,_0x3ff978={};_0x3ff978[_0x30fd1a(0x1ec)]=function(_0x41d73a,_0xbab86c){return _0x41d73a|_0xbab86c;},_0x3ff978[_0x30fd1a(0x194)]=function(_0x113c98,_0x4ace00){return _0x113c98!==_0x4ace00;},_0x3ff978[_0x30fd1a(0x203)]=_0x30fd1a(0x1b6);const _0x215cee=_0x3ff978;_0x397904=_0x397904||_0x215cee[_0x30fd1a(0x1ec)](fs[_0x30fd1a(0x198)],fs[_0x30fd1a(0x1be)]);try{return fs['accessSync'](_0x41d7ef,_0x397904),!![];}catch(_0x5b7fe8){if(_0x215cee[_0x30fd1a(0x194)](typeof fs[_0x30fd1a(0x1a6)],_0x215cee[_0x30fd1a(0x203)]))return![];try{return fs[_0x30fd1a(0x1ee)](_0x41d7ef),!![];}catch(_0x703183){return![];}}}#getETagPath(_0x32edba){return path['join'](_0x32edba,this.#binaryName+'.etag');}#loadETag(_0x3670f2){const _0x47ca27=a114_0x24d1cc,_0x1e3513={};_0x1e3513[_0x47ca27(0x1d9)]='utf8';const _0x2fda90=_0x1e3513,_0x47580c=this.#getETagPath(_0x3670f2);if(this.#checkPath(_0x47580c))try{return fs[_0x47ca27(0x1e9)](_0x47580c,_0x2fda90[_0x47ca27(0x1d9)])[_0x47ca27(0x1f0)]();}catch(_0x49c8df){logger[_0x47ca27(0x1ba)](_0x47ca27(0x206)+_0x49c8df);}return null;}#saveETag(_0x3c663b,_0x4603af){const _0x518509=a114_0x24d1cc,_0x499300={};_0x499300['PJAgC']=_0x518509(0x214);const _0x9f4d54=_0x499300;if(!_0x4603af)return;try{const _0x21769a=this.#getETagPath(_0x3c663b);fs[_0x518509(0x204)](_0x21769a,_0x4603af),logger['debug'](_0x9f4d54[_0x518509(0x1ab)]);}catch(_0x44ceb7){logger[_0x518509(0x1ba)]('Failed\x20to\x20save\x20ETag\x20file:\x20'+_0x44ceb7);}}async #handleBinaryDownload(_0x1020eb,_0x105a7d,_0x2f1328){const _0x30a750=a114_0x24d1cc,_0x10580e={};_0x10580e[_0x30a750(0x1fe)]=_0x30a750(0x1ca);const _0x4d1032=_0x10580e,_0x1fa231=await this['validateBinary'](_0x1020eb[_0x30a750(0x1df)]);if(!_0x1fa231){logger[_0x30a750(0x1a2)](_0x4d1032['bXSrv']);const _0x8d5ea5=await this[_0x30a750(0x19b)](_0x105a7d,_0x2f1328);return _0x8d5ea5[_0x30a750(0x1df)];}return _0x1020eb[_0x30a750(0x1df)];}async[a114_0x24d1cc(0x1ce)](_0x3acc40){const _0x1f0534=a114_0x24d1cc,_0x72a374={};_0x72a374[_0x1f0534(0x1c3)]=_0x1f0534(0x1ad),_0x72a374[_0x1f0534(0x1e4)]=_0x1f0534(0x1b2);const _0x115c47=_0x72a374,_0x40c8dd=this.#getAvailableDirs(),_0x468dd8=path['join'](_0x40c8dd,this.#binaryName);if(this.#checkPath(_0x468dd8,fs[_0x1f0534(0x1da)])){const _0x53b97e=this.#loadETag(_0x40c8dd);if(_0x53b97e)try{const _0x3ccfdf=await this['download'](_0x3acc40,_0x40c8dd,_0x53b97e);if(!_0x3ccfdf['needsUpdate'])return logger['debug'](_0x115c47[_0x1f0534(0x1c3)]),_0x468dd8;return logger[_0x1f0534(0x199)](_0x115c47[_0x1f0534(0x1e4)]),await this.#handleBinaryDownload(_0x3ccfdf,_0x3acc40,_0x40c8dd);}catch(_0x3eedda){return logger[_0x1f0534(0x1ba)]('Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20'+_0x3eedda),_0x468dd8;}}const _0x543678=await this[_0x1f0534(0x19b)](_0x3acc40,_0x40c8dd);return await this.#handleBinaryDownload(_0x543678,_0x3acc40,_0x40c8dd);}[a114_0x24d1cc(0x19b)](_0x4f32cc,_0x24534d,_0x434cd3=null){const _0x437a56=a114_0x24d1cc,_0x279750={'zeqJb':function(_0x4b050f,_0x3a8fdf){return _0x4b050f(_0x3a8fdf);},'TEvRl':function(_0x5e2932,_0x13b183){return _0x5e2932===_0x13b183;},'NIyBU':function(_0x658be2,_0xfb8165){return _0x658be2(_0xfb8165);},'otBVS':_0x437a56(0x1a2),'agngH':_0x437a56(0x1bd),'jDfGR':function(_0x1dd412,_0x2afb9f){return _0x1dd412(_0x2afb9f);},'DdPSa':function(_0x36160e,_0x1b5552){return _0x36160e+_0x1b5552;},'RkRWp':_0x437a56(0x1b1)};_0x24534d&&!this.#checkPath(_0x24534d)&&fs['mkdirSync'](_0x24534d);const _0x2cdb49=this.#binaryName,_0x3d9495=path['join'](_0x24534d,_0x279750[_0x437a56(0x1bc)](_0x2cdb49,_0x279750[_0x437a56(0x1d7)])),_0x2ae285=fs[_0x437a56(0x1f8)](_0x3d9495),_0xe3ff50=url[_0x437a56(0x1aa)](this.#httpPath);if(_0x4f32cc['proxyHost']&&_0x4f32cc[_0x437a56(0x1af)]){const _0xda0413={};_0xda0413[_0x437a56(0x1db)]=_0x4f32cc[_0x437a56(0x1fb)],_0xda0413[_0x437a56(0x200)]=_0x4f32cc[_0x437a56(0x1af)],_0xe3ff50[_0x437a56(0x190)]=new HttpsProxyAgent(_0xda0413);}if(_0x4f32cc[_0x437a56(0x1d3)])try{_0xe3ff50['ca']=fs['readFileSync'](_0x4f32cc['useCaCertificate']);}catch(_0x33b02a){logger[_0x437a56(0x1a2)](_0x437a56(0x1c1)+_0x33b02a);}if(_0x434cd3){const _0x16d882={};_0x16d882['If-None-Match']=_0x434cd3,_0x16d882['Connection']=_0x279750[_0x437a56(0x1f2)],_0xe3ff50[_0x437a56(0x1bf)]=_0x16d882;}else{const _0x1a47a0={};_0x1a47a0[_0x437a56(0x1fc)]=_0x279750['agngH'],_0xe3ff50[_0x437a56(0x1bf)]=_0x1a47a0;}return new Promise((_0xf26f9,_0x50ea9b)=>{const _0x4ef417=_0x437a56,_0x42703f={'MZwmK':function(_0x2e89cd,_0x3fdbfd){const _0x1b5a2d=a114_0x1e8a;return _0x279750[_0x1b5a2d(0x201)](_0x2e89cd,_0x3fdbfd);}};https[_0x4ef417(0x1b5)](_0xe3ff50,_0x32c290=>{const _0x410760=_0x4ef417,_0x32c537={'UoUUc':function(_0x105e86,_0x176188){const _0x102dda=a114_0x1e8a;return _0x279750[_0x102dda(0x1f3)](_0x105e86,_0x176188);}};if(_0x434cd3&&_0x279750[_0x410760(0x21a)](_0x32c290['statusCode'],0x130)){_0x2ae285[_0x410760(0x1cf)]();const _0x525f75={};_0x525f75['needsUpdate']=![],_0x279750[_0x410760(0x1de)](_0xf26f9,_0x525f75);return;}const _0x4af23d=_0x32c290[_0x410760(0x1bf)]['etag'];_0x4af23d&&this.#saveETag(_0x24534d,_0x4af23d),_0x32c290[_0x410760(0x1dc)](_0x2ae285),_0x32c290['on'](_0x279750['otBVS'],function(_0x3e0649){const _0x23ae1c=_0x410760;logger[_0x23ae1c(0x1a2)](_0x23ae1c(0x1a5)+_0x3e0649),_0x32c537[_0x23ae1c(0x1c4)](_0x50ea9b,_0x3e0649);}),_0x2ae285['on'](_0x279750[_0x410760(0x1a3)],function(_0x5540ff){const _0x3d567c=_0x410760;logger[_0x3d567c(0x1a2)](_0x3d567c(0x1f7)+_0x5540ff),_0x42703f[_0x3d567c(0x1f4)](_0x50ea9b,_0x5540ff);}),_0x2ae285['on'](_0x279750[_0x410760(0x1f2)],()=>{const _0x2cb456=_0x410760;this[_0x2cb456(0x195)](_0x3d9495,_0x24534d)['then'](_0x1a5936=>_0xf26f9({'needsUpdate':!![],'binaryPath':_0x1a5936}))[_0x2cb456(0x1fa)](_0x50ea9b);});})['on'](_0x279750[_0x4ef417(0x1a3)],function(_0x25b2a7){const _0x554fcd=_0x4ef417;logger[_0x554fcd(0x1a2)](_0x554fcd(0x1e2)+_0x25b2a7),_0x279750['jDfGR'](_0x50ea9b,_0x25b2a7);});});}[a114_0x24d1cc(0x195)](_0x5837f0,_0x2b6067){const _0x568abf=a114_0x24d1cc,_0xaf2279={'Pnkns':function(_0xcacb7b,_0x5a3068){return _0xcacb7b(_0x5a3068);},'NkQhJ':_0x568abf(0x19f),'eCRGU':function(_0xc1fafd,_0x4207f4){return _0xc1fafd===_0x4207f4;},'QUdVR':_0x568abf(0x1f6),'uNGmr':'entry','kLNmw':'error'},_0x5b2d4e=this.#binaryName,_0x348d26=path[_0x568abf(0x1ed)](_0x2b6067,_0x5b2d4e);return new Promise((_0x5b45f5,_0x31291f)=>{const _0x3e36fd=_0x568abf,_0x3fffc2={'IWBXS':function(_0x2bab68,_0x5ef796){const _0x276697=a114_0x1e8a;return _0xaf2279[_0x276697(0x212)](_0x2bab68,_0x5ef796);},'PTtGT':_0xaf2279['NkQhJ'],'FMidD':function(_0x5888e9,_0x166d6b){const _0x4e2074=a114_0x1e8a;return _0xaf2279[_0x4e2074(0x1ea)](_0x5888e9,_0x166d6b);},'SSYfR':_0xaf2279[_0x3e36fd(0x1f5)],'hYKtk':_0xaf2279[_0x3e36fd(0x19a)],'DYJQw':_0xaf2279[_0x3e36fd(0x1b7)]},_0x13d75={};_0x13d75[_0x3e36fd(0x196)]=!![],yauzl[_0x3e36fd(0x218)](_0x5837f0,_0x13d75,function(_0x19fbde,_0x436a11){const _0x72b025=_0x3e36fd,_0x2c77dd={'MvTEB':function(_0xe87ee6,_0x54315a){const _0x15da22=a114_0x1e8a;return _0x3fffc2[_0x15da22(0x1d5)](_0xe87ee6,_0x54315a);},'NQEzo':_0x3fffc2[_0x72b025(0x1bb)],'Bninz':function(_0x43fdc0,_0x41c940){return _0x3fffc2['FMidD'](_0x43fdc0,_0x41c940);},'XHQSX':function(_0x16b9ed,_0x15081a){const _0x3d35cb=_0x72b025;return _0x3fffc2[_0x3d35cb(0x1d5)](_0x16b9ed,_0x15081a);},'Groej':_0x3fffc2['SSYfR']};_0x19fbde&&_0x3fffc2[_0x72b025(0x1d5)](_0x31291f,_0x19fbde),_0x436a11['readEntry'](),_0x436a11['on'](_0x3fffc2[_0x72b025(0x1a0)],_0xf4c0b8=>{const _0x1ae5b6=_0x72b025;if(/\/$/[_0x1ae5b6(0x20e)](_0xf4c0b8[_0x1ae5b6(0x1d2)]))_0x436a11[_0x1ae5b6(0x20d)]();else{const _0x2aa7b2=fs[_0x1ae5b6(0x1f8)](path['join'](_0x2b6067,_0xf4c0b8[_0x1ae5b6(0x1d2)]));_0x436a11[_0x1ae5b6(0x20c)](_0xf4c0b8,function(_0x292d66,_0x348113){const _0x3f9e7a=_0x1ae5b6;_0x292d66&&_0x2c77dd[_0x3f9e7a(0x1c7)](_0x31291f,_0x19fbde),_0x348113['on'](_0x2c77dd['NQEzo'],function(){const _0x1b5ab0=_0x3f9e7a;_0x2aa7b2[_0x1b5ab0(0x1bd)](),_0x436a11[_0x1b5ab0(0x20d)]();}),_0x348113[_0x3f9e7a(0x1dc)](_0x2aa7b2);}),_0x2c77dd[_0x1ae5b6(0x219)](_0xf4c0b8[_0x1ae5b6(0x1d2)],_0x5b2d4e)&&_0x436a11[_0x1ae5b6(0x1bd)]();}}),_0x436a11['on'](_0x3fffc2['DYJQw'],_0x4b545c=>{const _0x4e2e6f=_0x72b025;_0x3fffc2[_0x4e2e6f(0x1d5)](_0x31291f,_0x4b545c);}),_0x436a11[_0x72b025(0x1ef)](_0x3fffc2[_0x72b025(0x1bb)],()=>{const _0x5bbd8c=_0x72b025;fs[_0x5bbd8c(0x1d1)](_0x348d26,_0x2c77dd[_0x5bbd8c(0x1b9)],function(_0x4eacd3){const _0x4bfd25=_0x5bbd8c;_0x4eacd3&&_0x2c77dd[_0x4bfd25(0x19e)](_0x31291f,_0x4eacd3),_0x2c77dd[_0x4bfd25(0x1c7)](_0x5b45f5,_0x348d26);}),_0x436a11['close']();});});});}async[a114_0x24d1cc(0x213)](_0x348042){const _0x1944ce=a114_0x24d1cc,_0x50767e={'JAOJV':function(_0x20c40b,_0x5a5485){return _0x20c40b(_0x5a5485);},'WotCf':function(_0x1ecda8,_0x43a1af,_0x440796,_0x267407){return _0x1ecda8(_0x43a1af,_0x440796,_0x267407);},'NKwWT':_0x1944ce(0x1e7),'MGNTk':'data','fXBWx':_0x1944ce(0x1bd)},_0x1ee7cb=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x30491f,_0x357710)=>{const _0x10d8c9=_0x1944ce,_0x580584={};_0x580584[_0x10d8c9(0x1c5)]=process['env'];const _0x20282a=_0x50767e[_0x10d8c9(0x216)](spawn,_0x348042,[_0x50767e['NKwWT']],_0x580584);_0x20282a[_0x10d8c9(0x1d0)]['on'](_0x50767e[_0x10d8c9(0x1a7)],_0xab2875=>{const _0x2b3774=_0x10d8c9;_0x1ee7cb[_0x2b3774(0x20e)](_0xab2875)&&_0x50767e[_0x2b3774(0x197)](_0x30491f,!![]);}),_0x20282a['on'](_0x50767e[_0x10d8c9(0x1e8)],()=>{const _0x180b93=_0x10d8c9;_0x50767e[_0x180b93(0x197)](_0x30491f,![]);});});}#homedir(){const _0x41696a=a114_0x24d1cc,_0x3392c0={};_0x3392c0[_0x41696a(0x20b)]=function(_0x528fa0,_0x287458){return _0x528fa0===_0x287458;},_0x3392c0[_0x41696a(0x209)]=_0x41696a(0x217),_0x3392c0[_0x41696a(0x1f1)]=function(_0x97096b,_0x2438e8){return _0x97096b===_0x2438e8;},_0x3392c0[_0x41696a(0x191)]=_0x41696a(0x1c2),_0x3392c0['SIPCV']=function(_0x32e793,_0x54c4b8){return _0x32e793+_0x54c4b8;},_0x3392c0[_0x41696a(0x192)]=_0x41696a(0x210),_0x3392c0['vULTM']=function(_0x51cd3c,_0x34521b){return _0x51cd3c+_0x34521b;},_0x3392c0[_0x41696a(0x1ac)]='/Users/',_0x3392c0[_0x41696a(0x1a4)]=_0x41696a(0x1cc),_0x3392c0[_0x41696a(0x1d4)]='/root',_0x3392c0[_0x41696a(0x207)]=_0x41696a(0x1c0),_0x3392c0[_0x41696a(0x1d8)]=function(_0x4d73e4,_0x8a3edd){return _0x4d73e4||_0x8a3edd;};const _0x2d349c=_0x3392c0;if(_0x2d349c[_0x41696a(0x20b)](typeof os[_0x41696a(0x1e5)],_0x2d349c[_0x41696a(0x209)]))return os[_0x41696a(0x1e5)]();const _0x28eac0=process[_0x41696a(0x1c5)],_0x20d535=_0x28eac0['HOME'],_0x526bda=_0x28eac0[_0x41696a(0x1e0)]||_0x28eac0['USER']||_0x28eac0['LNAME']||_0x28eac0[_0x41696a(0x1b4)];if(_0x2d349c['epLDn'](process['platform'],_0x2d349c[_0x41696a(0x191)]))return _0x28eac0[_0x41696a(0x1f9)]||_0x2d349c[_0x41696a(0x1fd)](_0x28eac0[_0x41696a(0x208)],_0x28eac0['HOMEPATH'])||_0x20d535||null;if(_0x2d349c[_0x41696a(0x20b)](process[_0x41696a(0x1e1)],_0x2d349c['fGqhR']))return _0x20d535||(_0x526bda?_0x2d349c['vULTM'](_0x2d349c['IFrNJ'],_0x526bda):null);if(_0x2d349c[_0x41696a(0x20b)](process[_0x41696a(0x1e1)],_0x2d349c[_0x41696a(0x1a4)]))return _0x20d535||(_0x2d349c[_0x41696a(0x1f1)](process[_0x41696a(0x215)](),0x0)?_0x2d349c[_0x41696a(0x1d4)]:_0x526bda?_0x2d349c['SIPCV'](_0x2d349c[_0x41696a(0x207)],_0x526bda):null);return _0x2d349c['CNwuH'](_0x20d535,null);}}module['exports']=PercyBinary;function a114_0x2dc4(){const _0x22ceb4=['HOMEDRIVE','quvHY','6078408xWfyOE','SJMgT','openReadStream','readEntry','test','../logger','darwin','nTWYd','Pnkns','validateBinary','Saved\x20new\x20ETag\x20for\x20percy\x20binary','getuid','WotCf','function','open','Bninz','TEvRl','percy.exe','59848MXWIqb','4631qcAigp','2520134QFOyeO','child_process','agent','laagl','fGqhR','/percy-win.zip','uMiND','extractAndSaveBinary','lazyEntries','JAOJV','R_OK','debug','uNGmr','download','msFGb','150XtrUFV','XHQSX','end','hYKtk','HasoW','error','otBVS','UZpMS','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20','accessSync','MGNTk','39890GlYFEH','mkdirSync','parse','PJAgC','IFrNJ','Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)','https-proxy-agent','proxyPort','tmpdir','.zip','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','path','USERNAME','get','undefined','kLNmw','2919639yUphPF','Groej','warn','PTtGT','DdPSa','close','W_OK','headers','/home/','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20','win32','KMlAT','UoUUc','env','51653OHDQUJ','MvTEB','ziNNt','length','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','11578221bBhGOr','linux','GzXVh','getBinaryPath','destroy','stdout','chmod','fileName','useCaCertificate','CvopF','IWBXS','vcQkl','RkRWp','CNwuH','NGWRJ','X_OK','host','pipe','744dUKYDL','NIyBU','binaryPath','LOGNAME','platform','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20','sBHQN','VVGee','homedir','percy','--version','fXBWx','readFileSync','eCRGU','cwd','ckXno','join','statSync','once','trim','epLDn','agngH','zeqJb','MZwmK','QUdVR','0755','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20','createWriteStream','USERPROFILE','catch','proxyHost','Connection','SIPCV','bXSrv','match','port','jDfGR','kKzIK','ZmjIb','writeFileSync','1kGYXrb','Failed\x20to\x20read\x20ETag\x20file:\x20','hIwNz'];a114_0x2dc4=function(){return _0x22ceb4;};return a114_0x2dc4();}
|
|
1
|
+
const a114_0x63b595=a114_0x123f;(function(_0x5d342e,_0x37d2a0){const _0x9817be=a114_0x123f,_0x3ea1a7=_0x5d342e();while(!![]){try{const _0x4f8203=-parseInt(_0x9817be(0x1c9))/0x1*(-parseInt(_0x9817be(0x205))/0x2)+parseInt(_0x9817be(0x20a))/0x3+-parseInt(_0x9817be(0x1b9))/0x4+-parseInt(_0x9817be(0x1f7))/0x5*(parseInt(_0x9817be(0x236))/0x6)+parseInt(_0x9817be(0x225))/0x7*(parseInt(_0x9817be(0x1f9))/0x8)+-parseInt(_0x9817be(0x1e5))/0x9*(parseInt(_0x9817be(0x1fa))/0xa)+parseInt(_0x9817be(0x1fb))/0xb;if(_0x4f8203===_0x37d2a0)break;else _0x3ea1a7['push'](_0x3ea1a7['shift']());}catch(_0x36a5f2){_0x3ea1a7['push'](_0x3ea1a7['shift']());}}}(a114_0x351a,0x6ea70));function a114_0x123f(_0x3e55c8,_0x58ac04){const _0x351a86=a114_0x351a();return a114_0x123f=function(_0x123ff7,_0x5210d0){_0x123ff7=_0x123ff7-0x1a3;let _0x157c42=_0x351a86[_0x123ff7];return _0x157c42;},a114_0x123f(_0x3e55c8,_0x58ac04);}const {https}=require('follow-redirects'),url=require(a114_0x63b595(0x1d2)),yauzl=require(a114_0x63b595(0x21f)),fs=require('fs'),path=require(a114_0x63b595(0x1c2)),os=require('os'),{spawn}=require(a114_0x63b595(0x1d6)),HttpsProxyAgent=require(a114_0x63b595(0x202)),logger=require(a114_0x63b595(0x1aa))['winstonLogger'];function a114_0x351a(){const _0x413f66=['wooqx','Failed\x20to\x20read\x20ETag\x20file:\x20','platform','homedir','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','uRTwx','fileName','NRJYH','linux','/percy-linux.zip','HMvJa','EtOWl','yauzl','headers','.etag','needsUpdate','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','Qpqfd','470743hikcdV','BshZV','ZEvxE','KYpWF','Connection','mkdirSync','rGxoo','getBinaryPath','kEKHx','kufWE','qTgcq','readFileSync','XerlM','alFew','XVNjz','BrKdw','lazyEntries','1656InVFSS','USERNAME','--version','win32','TMwOK','Failed\x20to\x20save\x20ETag\x20file:\x20','CqxzS','proxyHost','0755','inYoc','LOGNAME','oPHtA','LNAME','gjtvj','../logger','/home/','.zip','percy','cwd','/percy-win.zip','accessSync','pQNLW','oBawG','HOMEDRIVE','close','DTBcn','ZSwzQ','get','trim','3106452vPQPNy','/root','undefined','download','LRdid','wJnfF','host','VhKeT','env','path','error','pjEpK','https://github.com/percy/cli/releases/latest/download','entry','port','warn','123175rnVcGH','vyMbE','darwin','statSync','Saved\x20new\x20ETag\x20for\x20percy\x20binary','LPDTh','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20','oQDYw','stdout','url','end','Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)','USER','child_process','createWriteStream','statusCode','match','KQnJy','Eckmn','debug','USERPROFILE','BaLyd','hYpqo','utf8','Qodcg','ICrTu','zfnAt','oblSZ','144VSqddE','then','HOME','join','binaryPath','pipe','Etsmf','chmod','lhnyn','catch','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20','iaCFI','TVmRp','useCaCertificate','HOMEPATH','readEntry','kwyeQ','proxyPort','13995zxIdSg','rirSB','40qGaaSh','266320RCLOrA','20460099xWYeRO','function','validateBinary','once','W_OK','lxbpd','extractAndSaveBinary','https-proxy-agent','pNkvY','openReadStream','2tjtije','fmQWy','percy.exe','parse','LiDCw','327156LOsRpd','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20','/percy-osx.zip','jKPmM','FIViW','oHqlF','R_OK','test','LUZcY'];a114_0x351a=function(){return _0x413f66;};return a114_0x351a();}class PercyBinary{#hostOS=process[a114_0x63b595(0x215)];#httpPath=null;#binaryName=a114_0x63b595(0x1ad);#orderedPaths=[path[a114_0x63b595(0x1e8)](this.#homedir(),'.browserstack'),process[a114_0x63b595(0x1ae)](),os['tmpdir']()];constructor(){const _0x41bd85=a114_0x63b595,_0x9aa545={};_0x9aa545[_0x41bd85(0x1be)]=_0x41bd85(0x1c5),_0x9aa545[_0x41bd85(0x232)]=function(_0x23bdb8,_0x2db0bd){return _0x23bdb8+_0x2db0bd;},_0x9aa545[_0x41bd85(0x20f)]=_0x41bd85(0x20c),_0x9aa545[_0x41bd85(0x1f8)]=function(_0x17f41b,_0x132c45){return _0x17f41b+_0x132c45;},_0x9aa545['TVmRp']=_0x41bd85(0x1af),_0x9aa545['oPHtA']=_0x41bd85(0x207),_0x9aa545['TMwOK']=function(_0x1efc2a,_0x366804){return _0x1efc2a+_0x366804;},_0x9aa545[_0x41bd85(0x1e3)]=_0x41bd85(0x21c);const _0x2249e8=_0x9aa545,_0x1985b8=_0x2249e8[_0x41bd85(0x1be)];if(this.#hostOS[_0x41bd85(0x1d9)](/darwin|mac os/i))this.#httpPath=_0x2249e8[_0x41bd85(0x232)](_0x1985b8,_0x2249e8[_0x41bd85(0x20f)]);else this.#hostOS['match'](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x2249e8[_0x41bd85(0x1f8)](_0x1985b8,_0x2249e8[_0x41bd85(0x1f1)]),this.#binaryName=_0x2249e8[_0x41bd85(0x1a7)]):this.#httpPath=_0x2249e8[_0x41bd85(0x23a)](_0x1985b8,_0x2249e8[_0x41bd85(0x1e3)]);}#getAvailableDirs(){const _0x34f740=a114_0x63b595,_0x8f71f4={};_0x8f71f4['gjtvj']=function(_0x1fb2c0,_0x47d460){return _0x1fb2c0<_0x47d460;},_0x8f71f4[_0x34f740(0x21a)]='Error\x20trying\x20to\x20download\x20percy\x20binary';const _0x3e71fb=_0x8f71f4;for(var _0x5a039d=0x0;_0x3e71fb[_0x34f740(0x1a9)](_0x5a039d,this.#orderedPaths['length']);_0x5a039d++){var _0x367058=this.#orderedPaths[_0x5a039d];if(this.#makePath(_0x367058))return _0x367058;}throw new Error(_0x3e71fb[_0x34f740(0x21a)]);}#makePath(_0x3a147f){try{return _0x3a147f&&!this.#checkPath(_0x3a147f)&&fs['mkdirSync'](_0x3a147f),!![];}catch{return![];}}#checkPath(_0x47833b,_0x44c409){const _0x4fde02=a114_0x63b595,_0x51a54c={};_0x51a54c[_0x4fde02(0x212)]=function(_0x34a6b8,_0x3339db){return _0x34a6b8|_0x3339db;},_0x51a54c['QUQlr']=function(_0xd932b5,_0x409cd1){return _0xd932b5!==_0x409cd1;},_0x51a54c[_0x4fde02(0x226)]=_0x4fde02(0x1bb);const _0x3c1eb5=_0x51a54c;_0x44c409=_0x44c409||_0x3c1eb5[_0x4fde02(0x212)](fs[_0x4fde02(0x210)],fs[_0x4fde02(0x1ff)]);try{return fs[_0x4fde02(0x1b0)](_0x47833b,_0x44c409),!![];}catch(_0x2e673e){if(_0x3c1eb5['QUQlr'](typeof fs[_0x4fde02(0x1b0)],_0x3c1eb5[_0x4fde02(0x226)]))return![];try{return fs[_0x4fde02(0x1cc)](_0x47833b),!![];}catch(_0x58c4a4){return![];}}}#getETagPath(_0x4d7932){const _0x583e5e=a114_0x63b595;return path[_0x583e5e(0x1e8)](_0x4d7932,this.#binaryName+_0x583e5e(0x221));}#loadETag(_0x4611fa){const _0x16c138=a114_0x63b595,_0x385e7d={};_0x385e7d[_0x16c138(0x1d0)]=_0x16c138(0x1e0);const _0x1dab6a=_0x385e7d,_0x1f83fa=this.#getETagPath(_0x4611fa);if(this.#checkPath(_0x1f83fa))try{return fs[_0x16c138(0x230)](_0x1f83fa,_0x1dab6a['oQDYw'])[_0x16c138(0x1b8)]();}catch(_0x53ff24){logger[_0x16c138(0x1c8)](_0x16c138(0x214)+_0x53ff24);}return null;}#saveETag(_0x41437a,_0xaa92d2){const _0x1ff2d8=a114_0x63b595,_0x5ef2ff={};_0x5ef2ff['kEKHx']=_0x1ff2d8(0x1cd);const _0x219d09=_0x5ef2ff;if(!_0xaa92d2)return;try{const _0x55d169=this.#getETagPath(_0x41437a);fs['writeFileSync'](_0x55d169,_0xaa92d2),logger['debug'](_0x219d09[_0x1ff2d8(0x22d)]);}catch(_0x15b955){logger['warn'](_0x1ff2d8(0x23b)+_0x15b955);}}async #handleBinaryDownload(_0x228b32,_0x3403a7,_0x19cdfc){const _0x1f2727=a114_0x63b595,_0x476007={};_0x476007[_0x1f2727(0x1e1)]=_0x1f2727(0x223);const _0x26fb8f=_0x476007,_0x58dda5=await this[_0x1f2727(0x1fd)](_0x228b32[_0x1f2727(0x1e9)]);if(!_0x58dda5){logger[_0x1f2727(0x1c3)](_0x26fb8f[_0x1f2727(0x1e1)]);const _0x47d2bb=await this[_0x1f2727(0x1bc)](_0x3403a7,_0x19cdfc);return _0x47d2bb[_0x1f2727(0x1e9)];}return _0x228b32['binaryPath'];}async[a114_0x63b595(0x22c)](_0x44a7fc){const _0x1f6145=a114_0x63b595,_0x5bc648={};_0x5bc648[_0x1f6145(0x20d)]=_0x1f6145(0x1d4),_0x5bc648[_0x1f6145(0x1ed)]=_0x1f6145(0x217);const _0x28aa46=_0x5bc648,_0x3e843c=this.#getAvailableDirs(),_0xea90a9=path['join'](_0x3e843c,this.#binaryName);if(this.#checkPath(_0xea90a9,fs['X_OK'])){const _0x4608e9=this.#loadETag(_0x3e843c);if(_0x4608e9)try{const _0x4274d0=await this[_0x1f6145(0x1bc)](_0x44a7fc,_0x3e843c,_0x4608e9);if(!_0x4274d0[_0x1f6145(0x222)])return logger[_0x1f6145(0x1dc)](_0x28aa46[_0x1f6145(0x20d)]),_0xea90a9;return logger[_0x1f6145(0x1dc)](_0x28aa46['lhnyn']),await this.#handleBinaryDownload(_0x4274d0,_0x44a7fc,_0x3e843c);}catch(_0x5042fe){return logger[_0x1f6145(0x1c8)]('Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20'+_0x5042fe),_0xea90a9;}}const _0x1517ff=await this[_0x1f6145(0x1bc)](_0x44a7fc,_0x3e843c);return await this.#handleBinaryDownload(_0x1517ff,_0x44a7fc,_0x3e843c);}['download'](_0x29afc8,_0x342980,_0x44341c=null){const _0x4426de=a114_0x63b595,_0x1fa5cf={'EtOWl':function(_0x16a58d,_0x1a1502){return _0x16a58d(_0x1a1502);},'Qpqfd':function(_0x39b8f1,_0x328649){return _0x39b8f1===_0x328649;},'iaCFI':function(_0x33aa5d,_0xe57e1f){return _0x33aa5d(_0xe57e1f);},'LPDTh':'error','HMvJa':_0x4426de(0x1b4),'mibkm':function(_0x547a07,_0x36c0c4){return _0x547a07(_0x36c0c4);},'pjEpK':function(_0x15c907,_0x4fc9fd){return _0x15c907+_0x4fc9fd;},'hYpqo':_0x4426de(0x1ac)};_0x342980&&!this.#checkPath(_0x342980)&&fs[_0x4426de(0x22a)](_0x342980);const _0x1e1d71=this.#binaryName,_0x2ab65b=path[_0x4426de(0x1e8)](_0x342980,_0x1fa5cf[_0x4426de(0x1c4)](_0x1e1d71,_0x1fa5cf[_0x4426de(0x1df)])),_0x23b132=fs[_0x4426de(0x1d7)](_0x2ab65b),_0x23a960=url[_0x4426de(0x208)](this.#httpPath);if(_0x29afc8[_0x4426de(0x1a3)]&&_0x29afc8['proxyPort']){const _0x4030b6={};_0x4030b6[_0x4426de(0x1bf)]=_0x29afc8[_0x4426de(0x1a3)],_0x4030b6[_0x4426de(0x1c7)]=_0x29afc8[_0x4426de(0x1f6)],_0x23a960['agent']=new HttpsProxyAgent(_0x4030b6);}if(_0x29afc8[_0x4426de(0x1f2)])try{_0x23a960['ca']=fs[_0x4426de(0x230)](_0x29afc8['useCaCertificate']);}catch(_0x9b70de){logger[_0x4426de(0x1c3)]('Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20'+_0x9b70de);}if(_0x44341c){const _0x4e790a={};_0x4e790a['If-None-Match']=_0x44341c,_0x4e790a[_0x4426de(0x229)]=_0x1fa5cf[_0x4426de(0x21d)],_0x23a960[_0x4426de(0x220)]=_0x4e790a;}else{const _0x1eaabd={};_0x1eaabd['Connection']=_0x1fa5cf[_0x4426de(0x21d)],_0x23a960[_0x4426de(0x220)]=_0x1eaabd;}return new Promise((_0x200e6e,_0x42f344)=>{const _0x4c56ca=_0x4426de,_0x27cb83={'uRTwx':function(_0x647bef,_0x644e61){return _0x1fa5cf['mibkm'](_0x647bef,_0x644e61);}};https[_0x4c56ca(0x1b7)](_0x23a960,_0x55b457=>{const _0x59f512=_0x4c56ca,_0x1ff252={'KYpWF':function(_0x172d14,_0x20084f){const _0x3a917f=a114_0x123f;return _0x1fa5cf[_0x3a917f(0x21e)](_0x172d14,_0x20084f);}};if(_0x44341c&&_0x1fa5cf[_0x59f512(0x224)](_0x55b457[_0x59f512(0x1d8)],0x130)){_0x23b132['destroy']();const _0x40aa29={};_0x40aa29[_0x59f512(0x222)]=![],_0x1fa5cf['iaCFI'](_0x200e6e,_0x40aa29);return;}const _0x4cdefb=_0x55b457[_0x59f512(0x220)]['etag'];_0x4cdefb&&this.#saveETag(_0x342980,_0x4cdefb),_0x55b457['pipe'](_0x23b132),_0x55b457['on'](_0x1fa5cf[_0x59f512(0x1ce)],function(_0x32bdb9){const _0x33a274=_0x59f512;logger[_0x33a274(0x1c3)](_0x33a274(0x1cf)+_0x32bdb9),_0x1ff252[_0x33a274(0x228)](_0x42f344,_0x32bdb9);}),_0x23b132['on'](_0x1fa5cf[_0x59f512(0x1ce)],function(_0x4f3a8f){const _0x1dafca=_0x59f512;logger[_0x1dafca(0x1c3)](_0x1dafca(0x20b)+_0x4f3a8f),_0x27cb83[_0x1dafca(0x218)](_0x42f344,_0x4f3a8f);}),_0x23b132['on'](_0x1fa5cf[_0x59f512(0x21d)],()=>{const _0x56b114=_0x59f512;this[_0x56b114(0x201)](_0x2ab65b,_0x342980)[_0x56b114(0x1e6)](_0x1732e1=>_0x200e6e({'needsUpdate':!![],'binaryPath':_0x1732e1}))[_0x56b114(0x1ee)](_0x42f344);});})['on'](_0x1fa5cf[_0x4c56ca(0x1ce)],function(_0x4b5950){const _0x7fd4c2=_0x4c56ca;logger[_0x7fd4c2(0x1c3)](_0x7fd4c2(0x1ef)+_0x4b5950),_0x1fa5cf[_0x7fd4c2(0x1f0)](_0x42f344,_0x4b5950);});});}[a114_0x63b595(0x201)](_0x4cb70f,_0x460a9f){const _0x31f385=a114_0x63b595,_0x1be22b={'XerlM':function(_0x598ec6,_0x391c76){return _0x598ec6(_0x391c76);},'BaLyd':_0x31f385(0x1a4),'gVzse':function(_0x4b3b53,_0xb5b35f){return _0x4b3b53(_0xb5b35f);},'kKMPe':_0x31f385(0x1c6),'lxbpd':'error','kwyeQ':_0x31f385(0x1d3),'LRdid':function(_0x137da5,_0x1a2542){return _0x137da5===_0x1a2542;}},_0x38cf5e=this.#binaryName,_0x356333=path[_0x31f385(0x1e8)](_0x460a9f,_0x38cf5e);return new Promise((_0x3c087c,_0x31adda)=>{const _0x26b51f=_0x31f385,_0x278ef0={'ICrTu':function(_0x1358fc,_0x1aa6dc){const _0x276429=a114_0x123f;return _0x1be22b[_0x276429(0x231)](_0x1358fc,_0x1aa6dc);},'oblSZ':_0x1be22b['kwyeQ'],'pQNLW':function(_0x4ef7cf,_0x4c36b8){const _0x464059=a114_0x123f;return _0x1be22b[_0x464059(0x1bd)](_0x4ef7cf,_0x4c36b8);}},_0x3a26cc={};_0x3a26cc[_0x26b51f(0x235)]=!![],yauzl['open'](_0x4cb70f,_0x3a26cc,function(_0xb12080,_0x1340b9){const _0x3ff4ef=_0x26b51f,_0x32dd42={'wooqx':function(_0x51a88d,_0x324ec0){const _0x3d0bcd=a114_0x123f;return _0x1be22b[_0x3d0bcd(0x231)](_0x51a88d,_0x324ec0);},'ZSwzQ':_0x1be22b[_0x3ff4ef(0x1de)]};_0xb12080&&_0x1be22b['gVzse'](_0x31adda,_0xb12080),_0x1340b9['readEntry'](),_0x1340b9['on'](_0x1be22b['kKMPe'],_0x2b34de=>{const _0x52f6d2=_0x3ff4ef,_0x9de59f={'Etsmf':function(_0x44aa26,_0x576bfa){const _0x3ecafb=a114_0x123f;return _0x278ef0[_0x3ecafb(0x1e2)](_0x44aa26,_0x576bfa);},'DTBcn':_0x278ef0[_0x52f6d2(0x1e4)]};if(/\/$/[_0x52f6d2(0x211)](_0x2b34de[_0x52f6d2(0x219)]))_0x1340b9[_0x52f6d2(0x1f4)]();else{const _0x14a8b3=fs[_0x52f6d2(0x1d7)](path[_0x52f6d2(0x1e8)](_0x460a9f,_0x2b34de[_0x52f6d2(0x219)]));_0x1340b9[_0x52f6d2(0x204)](_0x2b34de,function(_0x19727d,_0xc81e89){const _0x5837c1=_0x52f6d2;_0x19727d&&_0x9de59f[_0x5837c1(0x1eb)](_0x31adda,_0xb12080),_0xc81e89['on'](_0x9de59f[_0x5837c1(0x1b5)],function(){const _0x1878b3=_0x5837c1;_0x14a8b3[_0x1878b3(0x1b4)](),_0x1340b9[_0x1878b3(0x1f4)]();}),_0xc81e89[_0x5837c1(0x1ea)](_0x14a8b3);}),_0x278ef0[_0x52f6d2(0x1b1)](_0x2b34de['fileName'],_0x38cf5e)&&_0x1340b9[_0x52f6d2(0x1b4)]();}}),_0x1340b9['on'](_0x1be22b[_0x3ff4ef(0x200)],_0x593968=>{const _0x18f30d=_0x3ff4ef;_0x32dd42[_0x18f30d(0x213)](_0x31adda,_0x593968);}),_0x1340b9[_0x3ff4ef(0x1fe)](_0x1be22b[_0x3ff4ef(0x1f5)],()=>{const _0x7de298=_0x3ff4ef,_0x483223={'Crkdx':function(_0x4a81a6,_0x5d81d8){return _0x32dd42['wooqx'](_0x4a81a6,_0x5d81d8);},'svbCr':function(_0x4ee9c9,_0x428bd8){return _0x32dd42['wooqx'](_0x4ee9c9,_0x428bd8);}};fs[_0x7de298(0x1ec)](_0x356333,_0x32dd42[_0x7de298(0x1b6)],function(_0xd8ae44){_0xd8ae44&&_0x483223['Crkdx'](_0x31adda,_0xd8ae44),_0x483223['svbCr'](_0x3c087c,_0x356333);}),_0x1340b9['close']();});});});}async[a114_0x63b595(0x1fd)](_0x477b8f){const _0x188ac7=a114_0x63b595,_0x25a01f={'HtFNp':function(_0x29985a,_0x41dcde){return _0x29985a(_0x41dcde);},'FIViW':function(_0x3375d7,_0x51dd65){return _0x3375d7(_0x51dd65);},'fmQWy':function(_0x2456d0,_0x26cd76,_0x1b5e1e,_0x1d2ae6){return _0x2456d0(_0x26cd76,_0x1b5e1e,_0x1d2ae6);},'qTgcq':_0x188ac7(0x238),'kFjTg':'data','rGxoo':_0x188ac7(0x1b4)},_0x302273=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x548aaf,_0x38151b)=>{const _0x209929=_0x188ac7,_0x4b1f12={'LiDCw':function(_0x209cfe,_0x232552){return _0x25a01f['HtFNp'](_0x209cfe,_0x232552);},'CqxzS':function(_0x59a5dd,_0x13039a){const _0x1f876d=a114_0x123f;return _0x25a01f[_0x1f876d(0x20e)](_0x59a5dd,_0x13039a);}},_0x2d9427={};_0x2d9427[_0x209929(0x1c1)]=process[_0x209929(0x1c1)];const _0x5a5c48=_0x25a01f[_0x209929(0x206)](spawn,_0x477b8f,[_0x25a01f[_0x209929(0x22f)]],_0x2d9427);_0x5a5c48[_0x209929(0x1d1)]['on'](_0x25a01f['kFjTg'],_0x1a93b3=>{const _0x6d1027=_0x209929;_0x302273['test'](_0x1a93b3)&&_0x4b1f12[_0x6d1027(0x209)](_0x548aaf,!![]);}),_0x5a5c48['on'](_0x25a01f[_0x209929(0x22b)],()=>{const _0x125ec9=_0x209929;_0x4b1f12[_0x125ec9(0x23c)](_0x548aaf,![]);});});}#homedir(){const _0x19f9a0=a114_0x63b595,_0x55159f={};_0x55159f[_0x19f9a0(0x1ca)]=function(_0x4e23bd,_0x4dace5){return _0x4e23bd===_0x4dace5;},_0x55159f[_0x19f9a0(0x1b2)]=_0x19f9a0(0x1fc),_0x55159f[_0x19f9a0(0x1da)]=function(_0x393e31,_0x4a4e0f){return _0x393e31===_0x4a4e0f;},_0x55159f['sklqM']=_0x19f9a0(0x239),_0x55159f[_0x19f9a0(0x233)]=function(_0x1aa198,_0x4d0a25){return _0x1aa198+_0x4d0a25;},_0x55159f['NrrgI']=function(_0x33eb25,_0x18ce1a){return _0x33eb25===_0x18ce1a;},_0x55159f[_0x19f9a0(0x1a5)]=_0x19f9a0(0x1cb),_0x55159f[_0x19f9a0(0x203)]='/Users/',_0x55159f['kufWE']=function(_0x12ab90,_0x2f7272){return _0x12ab90===_0x2f7272;},_0x55159f[_0x19f9a0(0x227)]=_0x19f9a0(0x21b),_0x55159f[_0x19f9a0(0x234)]=function(_0x5b71a6,_0x6c623c){return _0x5b71a6===_0x6c623c;},_0x55159f[_0x19f9a0(0x1c0)]=_0x19f9a0(0x1ba),_0x55159f[_0x19f9a0(0x1db)]=function(_0x3f00ed,_0x350bbd){return _0x3f00ed+_0x350bbd;},_0x55159f['mfMmg']=_0x19f9a0(0x1ab),_0x55159f['Lbmfh']=function(_0x1b23a9,_0x47f22f){return _0x1b23a9||_0x47f22f;};const _0x593845=_0x55159f;if(_0x593845[_0x19f9a0(0x1ca)](typeof os[_0x19f9a0(0x216)],_0x593845['oBawG']))return os[_0x19f9a0(0x216)]();const _0x4c3629=process[_0x19f9a0(0x1c1)],_0x5d0b88=_0x4c3629[_0x19f9a0(0x1e7)],_0xecb791=_0x4c3629[_0x19f9a0(0x1a6)]||_0x4c3629[_0x19f9a0(0x1d5)]||_0x4c3629[_0x19f9a0(0x1a8)]||_0x4c3629[_0x19f9a0(0x237)];if(_0x593845[_0x19f9a0(0x1da)](process[_0x19f9a0(0x215)],_0x593845['sklqM']))return _0x4c3629[_0x19f9a0(0x1dd)]||_0x593845[_0x19f9a0(0x233)](_0x4c3629[_0x19f9a0(0x1b3)],_0x4c3629[_0x19f9a0(0x1f3)])||_0x5d0b88||null;if(_0x593845['NrrgI'](process['platform'],_0x593845[_0x19f9a0(0x1a5)]))return _0x5d0b88||(_0xecb791?_0x593845['XVNjz'](_0x593845['pNkvY'],_0xecb791):null);if(_0x593845[_0x19f9a0(0x22e)](process[_0x19f9a0(0x215)],_0x593845[_0x19f9a0(0x227)]))return _0x5d0b88||(_0x593845[_0x19f9a0(0x234)](process['getuid'](),0x0)?_0x593845[_0x19f9a0(0x1c0)]:_0xecb791?_0x593845[_0x19f9a0(0x1db)](_0x593845['mfMmg'],_0xecb791):null);return _0x593845['Lbmfh'](_0x5d0b88,null);}}module['exports']=PercyBinary;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a115_0x571d68=a115_0x366f;function a115_0x2894(){var _0x163100=['9DtAXUR','760592fNsDDn','5976hAcOvM','280tKxXCK','1183RVoanz','741939VhHJpG','6054ZdVNzh','get','getName','51454GBPzlV','59110sMQZbS','exports','increment','757870QYEuXT'];a115_0x2894=function(){return _0x163100;};return a115_0x2894();}function a115_0x366f(_0x3b78ed,_0x16227c){var _0x289478=a115_0x2894();return a115_0x366f=function(_0x366f42,_0x5388fe){_0x366f42=_0x366f42-0x155;var _0x473a6e=_0x289478[_0x366f42];return _0x473a6e;},a115_0x366f(_0x3b78ed,_0x16227c);}(function(_0x3f189f,_0x54f14c){var _0x32bf3c=a115_0x366f,_0x59dcba=_0x3f189f();while(!![]){try{var _0x525c28=-parseInt(_0x32bf3c(0x158))/0x1+parseInt(_0x32bf3c(0x157))/0x2+-parseInt(_0x32bf3c(0x161))/0x3+parseInt(_0x32bf3c(0x15e))/0x4*(parseInt(_0x32bf3c(0x15f))/0x5)+parseInt(_0x32bf3c(0x162))/0x6*(parseInt(_0x32bf3c(0x160))/0x7)+parseInt(_0x32bf3c(0x15d))/0x8+-parseInt(_0x32bf3c(0x15c))/0x9*(-parseInt(_0x32bf3c(0x15b))/0xa);if(_0x525c28===_0x54f14c)break;else _0x59dcba['push'](_0x59dcba['shift']());}catch(_0x2d9e32){_0x59dcba['push'](_0x59dcba['shift']());}}}(a115_0x2894,0x233de));class PercyCaptureMap{#map={};[a115_0x571d68(0x15a)](_0x4dcb3c,_0x42eadf){!this.#map[_0x4dcb3c]&&(this.#map[_0x4dcb3c]={}),!this.#map[_0x4dcb3c][_0x42eadf]&&(this.#map[_0x4dcb3c][_0x42eadf]=0x0),this.#map[_0x4dcb3c][_0x42eadf]++;}[a115_0x571d68(0x156)](_0x128b42,_0x2536e2){var _0xcb438c=a115_0x571d68;return _0x128b42+'-'+_0x2536e2+'-'+this[_0xcb438c(0x155)](_0x128b42,_0x2536e2);}[a115_0x571d68(0x155)](_0x17de74,_0x3960b9){if(!this.#map[_0x17de74])return 0x0;if(!this.#map[_0x17de74][_0x3960b9])return 0x0;return this.#map[_0x17de74][_0x3960b9];}}module[a115_0x571d68(0x159)]=PercyCaptureMap;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a116_0x48b742=a116_0x135e;(function(_0x1b8fc1,_0x1aed8e){var _0x1ee43f=a116_0x135e,_0x1c14f3=_0x1b8fc1();while(!![]){try{var _0x3a18f6=-parseInt(_0x1ee43f(0x146))/0x1*(parseInt(_0x1ee43f(0x14e))/0x2)+-parseInt(_0x1ee43f(0x14a))/0x3+parseInt(_0x1ee43f(0x14b))/0x4+-parseInt(_0x1ee43f(0x148))/0x5*(parseInt(_0x1ee43f(0x149))/0x6)+parseInt(_0x1ee43f(0x147))/0x7*(-parseInt(_0x1ee43f(0x150))/0x8)+parseInt(_0x1ee43f(0x151))/0x9+parseInt(_0x1ee43f(0x152))/0xa;if(_0x3a18f6===_0x1aed8e)break;else _0x1c14f3['push'](_0x1c14f3['shift']());}catch(_0x59c2f4){_0x1c14f3['push'](_0x1c14f3['shift']());}}}(a116_0xd9d8,0x55dc3));var a116_0x4e0cfe={};a116_0x4e0cfe[a116_0x48b742(0x14d)]=['takeScreenshot'],a116_0x4e0cfe[a116_0x48b742(0x145)]=[a116_0x48b742(0x14f),'sendKeys'];function a116_0xd9d8(){var _0x562b15=['auto','manual','element','6LQutpW','971929IDfgkd','3275ZEludQ','2442HLlFUd','1785876aziZey','1067472VMiuFh','exports','driver','230988SfPyDy','click','40IVdFie','5538789aAJwXT','17184700JBpfZv','screenshot','takeScreenshot'];a116_0xd9d8=function(){return _0x562b15;};return a116_0xd9d8();}var a116_0x47d504={};a116_0x47d504[a116_0x48b742(0x14d)]=[a116_0x48b742(0x154)];var a116_0x44f4a9={};a116_0x44f4a9[a116_0x48b742(0x145)]=[a116_0x48b742(0x14f)];function a116_0x135e(_0x3dfabf,_0x47cf37){var _0xd9d82=a116_0xd9d8();return a116_0x135e=function(_0x135ec6,_0x3ad36){_0x135ec6=_0x135ec6-0x144;var _0x21bed1=_0xd9d82[_0x135ec6];return _0x21bed1;},a116_0x135e(_0x3dfabf,_0x47cf37);}var a116_0x3d2f3e={};a116_0x3d2f3e[a116_0x48b742(0x155)]=a116_0x4e0cfe,a116_0x3d2f3e[a116_0x48b742(0x153)]=a116_0x47d504,a116_0x3d2f3e[a116_0x48b742(0x14f)]=a116_0x44f4a9,a116_0x3d2f3e['testcase']={},a116_0x3d2f3e[a116_0x48b742(0x144)]={},module[a116_0x48b742(0x14c)]=a116_0x3d2f3e;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a117_0x1685da=a117_0x1b69;(function(_0x421705,_0x4d4379){const _0x3c92be=a117_0x1b69,_0x1b9b71=_0x421705();while(!![]){try{const _0x4d5771=-parseInt(_0x3c92be(0x200))/0x1*(parseInt(_0x3c92be(0x1f5))/0x2)+-parseInt(_0x3c92be(0x1ef))/0x3+parseInt(_0x3c92be(0x1f2))/0x4+parseInt(_0x3c92be(0x1f8))/0x5*(parseInt(_0x3c92be(0x1e8))/0x6)+parseInt(_0x3c92be(0x1f1))/0x7+parseInt(_0x3c92be(0x1e2))/0x8+-parseInt(_0x3c92be(0x1f3))/0x9*(parseInt(_0x3c92be(0x1fc))/0xa);if(_0x4d5771===_0x4d4379)break;else _0x1b9b71['push'](_0x1b9b71['shift']());}catch(_0xfd0633){_0x1b9b71['push'](_0x1b9b71['shift']());}}}(a117_0x3b14,0xc6f1c));const tryRequire=function(_0x105b23,_0xd495b4){const _0x1f3cfd=a117_0x1b69,_0x29b06f={'YXhwp':function(_0x1f5934,_0x3310c2){return _0x1f5934(_0x3310c2);}};try{return _0x29b06f[_0x1f3cfd(0x1e3)](require,_0x105b23);}catch{return _0xd495b4;}},percySnapshot=tryRequire(a117_0x1685da(0x203),null),{percyScreenshot}=tryRequire(a117_0x1685da(0x203),{}),percyAppScreenshot=require(a117_0x1685da(0x1e5)),{getCurrentTestData}=require(a117_0x1685da(0x1f6)),PerformanceTester=require('../performance/performance-tester'),{PERCY_EVENTS:PerformanceEvents}=require('../performance/constants'),logger=require(a117_0x1685da(0x1f4))[a117_0x1685da(0x1fd)];function a117_0x3b14(){const _0x2edd7b=['apply','@percy/appium-app','length','vyubP','6tOPpZp','EsZRR','KkcJp','name','browserstackPercyBestPlatform','platformIndex','thTestCaseExecutionId','534927MvRITp','KmYpV','8292942DYTvRj','2560468blFkpq','47448vspkCj','../logger','66cBZmBp','../../helpers/testhub/utils','screenshot','2883275SucNMr','uuid','SNAPSHOT','measure','1930VafJlM','winstonLogger','bueBl','screenshotApp','47597AkhZnx','kQtRa','testCase','@percy/selenium-webdriver','nYPVH','browserstackPlatformIndex','error','uWDKy','9439232nXrrif','YXhwp'];a117_0x3b14=function(){return _0x2edd7b;};return a117_0x3b14();}function a117_0x1b69(_0x8fcb21,_0x560012){const _0x3b1474=a117_0x3b14();return a117_0x1b69=function(_0x1b69c0,_0x4f3877){_0x1b69c0=_0x1b69c0-0x1e1;let _0xe6b865=_0x3b1474[_0x1b69c0];return _0xe6b865;},a117_0x1b69(_0x8fcb21,_0x560012);}percySnapshot&&(exports['snapshot']=async function(){const _0x115271=a117_0x1685da,_0x45ca32={'kQtRa':function(_0x4da469,_0x1e99de){return _0x4da469!==_0x1e99de;},'vyubP':function(_0x2af5fc,_0x292fcc){return _0x2af5fc>=_0x292fcc;},'uWDKy':function(_0x5e61d2){return _0x5e61d2();}};if(global[_0x115271(0x205)]&&_0x45ca32[_0x115271(0x201)](global[_0x115271(0x205)],global[_0x115271(0x1ec)]))return;const _0x216ec7=_0x45ca32[_0x115271(0x1e7)](arguments['length'],0x2)?arguments[0x1]:'',_0xb9f111=_0x45ca32[_0x115271(0x1e1)](getCurrentTestData),_0x599097={};return _0x599097[_0x115271(0x1eb)]=_0x216ec7,_0x599097[_0x115271(0x202)]=_0xb9f111[_0x115271(0x1eb)]||'',_0x599097[_0x115271(0x1ee)]=_0xb9f111[_0x115271(0x1f9)]||'',_0x599097['platformIndex']=global['browserstackPlatformIndex'],await PerformanceTester['measure'](PerformanceEvents[_0x115271(0x1fa)],()=>percySnapshot[_0x115271(0x1e4)](null,arguments),_0x599097);});percyScreenshot?exports[a117_0x1685da(0x1f7)]=async function(){const _0x33c977=a117_0x1685da,_0x45d635={'EsZRR':function(_0x4560eb,_0x921fbf){return _0x4560eb>=_0x921fbf;},'nYPVH':function(_0x110eeb){return _0x110eeb();}},_0x566124=_0x45d635[_0x33c977(0x1e9)](arguments[_0x33c977(0x1e6)],0x2)?arguments[0x1]:'',_0x356b5d=_0x45d635[_0x33c977(0x204)](getCurrentTestData),_0x2e738f={};return _0x2e738f[_0x33c977(0x1eb)]=_0x566124,_0x2e738f[_0x33c977(0x202)]=_0x356b5d['name']||'',_0x2e738f[_0x33c977(0x1ee)]=_0x356b5d['uuid']||'',_0x2e738f[_0x33c977(0x1ed)]=global['browserstackPlatformIndex'],await PerformanceTester[_0x33c977(0x1fb)](PerformanceEvents['SCREENSHOT'],()=>percyScreenshot[_0x33c977(0x1e4)](null,arguments),_0x2e738f);}:exports['screenshot']=()=>{const _0x5dcb46=a117_0x1685da,_0x1a16af={};_0x1a16af[_0x5dcb46(0x1f0)]='Unsupported\x20driver\x20for\x20percy';const _0x1a0f6d=_0x1a16af;logger[_0x5dcb46(0x206)](_0x1a0f6d[_0x5dcb46(0x1f0)]);};exports[a117_0x1685da(0x1ff)]=async function(){const _0xad7632=a117_0x1685da,_0x41b994={'KkcJp':function(_0x3e71c9,_0x1c5163){return _0x3e71c9>=_0x1c5163;},'bueBl':function(_0xcb96ec){return _0xcb96ec();}},_0x3ceaaa=_0x41b994[_0xad7632(0x1ea)](arguments['length'],0x2)?arguments[0x1]:'',_0xba19c8=_0x41b994[_0xad7632(0x1fe)](getCurrentTestData),_0x3fbdd9={};return _0x3fbdd9['name']=_0x3ceaaa,_0x3fbdd9[_0xad7632(0x202)]=_0xba19c8[_0xad7632(0x1eb)]||'',_0x3fbdd9[_0xad7632(0x1ee)]=_0xba19c8[_0xad7632(0x1f9)]||'',_0x3fbdd9['platformIndex']=global[_0xad7632(0x205)],await PerformanceTester[_0xad7632(0x1fb)](PerformanceEvents['SCREENSHOT_APP'],()=>percyAppScreenshot[_0xad7632(0x1e4)](null,arguments),_0x3fbdd9);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
var a118_0x4117cd=a118_0x46e3;function a118_0x46e3(_0xdf3590,_0x1d3842){var _0xfd36b4=a118_0xfd36();return a118_0x46e3=function(_0x46e340,_0x269c23){_0x46e340=_0x46e340-0x1d0;var _0x46ccae=_0xfd36b4[_0x46e340];return _0x46ccae;},a118_0x46e3(_0xdf3590,_0x1d3842);}function a118_0xfd36(){var _0x5873de=['3874212QimnmW','473298PukeMD','./Percy','1419702DfyLhw','247701OVJAUi','1329808CWtSZn','1995940tdvdtJ','11183952KPvdVd','4YUkSSs'];a118_0xfd36=function(){return _0x5873de;};return a118_0xfd36();}(function(_0x2291f5,_0x5927e5){var _0x1fd33c=a118_0x46e3,_0x1c33e4=_0x2291f5();while(!![]){try{var _0x1a5718=-parseInt(_0x1fd33c(0x1d2))/0x1*(-parseInt(_0x1fd33c(0x1d6))/0x2)+parseInt(_0x1fd33c(0x1d1))/0x3+-parseInt(_0x1fd33c(0x1d3))/0x4+parseInt(_0x1fd33c(0x1d4))/0x5+parseInt(_0x1fd33c(0x1d7))/0x6+parseInt(_0x1fd33c(0x1d8))/0x7+-parseInt(_0x1fd33c(0x1d5))/0x8;if(_0x1a5718===_0x5927e5)break;else _0x1c33e4['push'](_0x1c33e4['shift']());}catch(_0x301483){_0x1c33e4['push'](_0x1c33e4['shift']());}}}(a118_0xfd36,0x559e6),module['exports']=require(a118_0x4117cd(0x1d0)));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a119_0x45312b=a119_0xe35f;function a119_0xe35f(_0x21304d,_0x1bd296){const _0x51ce25=a119_0x51ce();return a119_0xe35f=function(_0xe35fa3,_0x3c6980){_0xe35fa3=_0xe35fa3-0x19d;let _0x2318d8=_0x51ce25[_0xe35fa3];return _0x2318d8;},a119_0xe35f(_0x21304d,_0x1bd296);}(function(_0x3fdc48,_0x42ab0c){const _0xf58f77=a119_0xe35f,_0x104af4=_0x3fdc48();while(!![]){try{const _0x3d4771=parseInt(_0xf58f77(0x1c3))/0x1+parseInt(_0xf58f77(0x1d4))/0x2+parseInt(_0xf58f77(0x1a1))/0x3*(-parseInt(_0xf58f77(0x1d2))/0x4)+parseInt(_0xf58f77(0x1a8))/0x5*(parseInt(_0xf58f77(0x1c0))/0x6)+parseInt(_0xf58f77(0x1df))/0x7+-parseInt(_0xf58f77(0x1af))/0x8*(-parseInt(_0xf58f77(0x1bb))/0x9)+parseInt(_0xf58f77(0x1cc))/0xa*(-parseInt(_0xf58f77(0x1e7))/0xb);if(_0x3d4771===_0x42ab0c)break;else _0x104af4['push'](_0x104af4['shift']());}catch(_0x533253){_0x104af4['push'](_0x104af4['shift']());}}}(a119_0x51ce,0xdf906));const Percy=require(a119_0x45312b(0x19f)),PercySDK=require(a119_0x45312b(0x1b0)),PercyCaptureModes=require('./PercyCaptureModes'),PercyCaptureMap=require(a119_0x45312b(0x1b1)),logger=require(a119_0x45312b(0x1bf))[a119_0x45312b(0x1e1)],helper=require(a119_0x45312b(0x1c9)),PerformanceTester=require(a119_0x45312b(0x1a7)),{PERCY_EVENTS:PerformanceEvents}=require(a119_0x45312b(0x1d1));exports[a119_0x45312b(0x1aa)]=PerformanceTester[a119_0x45312b(0x1dc)](PerformanceEvents[a119_0x45312b(0x1ce)],async _0x4e9bf5=>{const _0x47ac7f=a119_0x45312b,_0x4f459f={};_0x4f459f['TSTyD']=_0x47ac7f(0x1d9);const _0x1007bf=_0x4f459f;logger['debug'](_0x1007bf[_0x47ac7f(0x1d3)]);const _0x238946=new Percy(_0x4e9bf5),_0xe28ea5=await _0x238946[_0x47ac7f(0x1b7)]();if(_0xe28ea5)return _0x238946;return null;}),exports[a119_0x45312b(0x1a6)]=PerformanceTester[a119_0x45312b(0x1dc)](PerformanceEvents[a119_0x45312b(0x1b5)],async _0x509cca=>{const _0x149e14=a119_0x45312b,_0x15acb7={};_0x15acb7[_0x149e14(0x1b4)]=_0x149e14(0x1ae);const _0x505b25=_0x15acb7;return logger[_0x149e14(0x1bd)](_0x505b25[_0x149e14(0x1b4)]),_0x509cca[_0x149e14(0x1c5)]();}),exports[a119_0x45312b(0x1a3)]=_0x18635a=>{const _0x173408=a119_0x45312b,_0x158029={};_0x158029['iQlHs']=function(_0x30b5ba,_0x45581e){return _0x30b5ba<_0x45581e;};const _0x63397=_0x158029,_0xf9312a={};_0xf9312a[_0x173408(0x1d7)]=0x0,_0xf9312a[_0x173408(0x1d5)]=0x1,_0xf9312a[_0x173408(0x1a4)]=0x2,_0xf9312a['safari']=0x3;const _0x2f3503=_0xf9312a;return _0x18635a[_0x173408(0x1c7)]((_0x5689c4,_0x5ada94,_0x1c693f)=>{const _0x1036bb=_0x173408,_0x39955f=_0x18635a[_0x5689c4];if(_0x5ada94[_0x1036bb(0x1c2)])return _0x5689c4;if(_0x39955f['deviceName'])return _0x1c693f;const _0x3bbf30=_0x5ada94[_0x1036bb(0x1b3)]?_0x5ada94[_0x1036bb(0x1b3)]:_0x5ada94[_0x1036bb(0x1b2)];if(_0x3bbf30&&_0x63397['iQlHs'](_0x2f3503[_0x3bbf30[_0x1036bb(0x1b8)]()],_0x2f3503[_0x3bbf30[_0x1036bb(0x1b8)]()]))return _0x1c693f;return _0x5689c4;},0x0);},exports[a119_0x45312b(0x1cb)]=PerformanceTester[a119_0x45312b(0x1dc)](PerformanceEvents[a119_0x45312b(0x1c8)],async(_0x41ba80,_0x5382dc,_0x53a438)=>{const _0x572fa4=a119_0x45312b,_0x94e6c1={};_0x94e6c1[_0x572fa4(0x1c4)]=_0x572fa4(0x1e0);const _0x1428ef=_0x94e6c1,_0xd49544=_0x41ba80[_0x572fa4(0x1e2)];if(helper[_0x572fa4(0x1c6)](_0x41ba80[_0x572fa4(0x1ac)])){logger[_0x572fa4(0x1bd)](_0x1428ef['pgSTV']);return;}const _0x5f3797=_0xd49544[_0x572fa4(0x1d6)](_0x41ba80[_0x572fa4(0x1ac)],_0x5382dc);_0x53a438['app']?await PercySDK[_0x572fa4(0x1e6)](_0x41ba80,_0x5f3797):await PercySDK[_0x572fa4(0x1c1)](_0x41ba80,_0x5f3797),_0xd49544[_0x572fa4(0x1e3)](_0x41ba80['browserstackSessionName'],_0x5382dc);}),exports['patchDriverPercy']=(_0x40775e,_0x2ceecf,_0x394904)=>{const _0x36d521=a119_0x45312b,_0x35b2f1={};_0x35b2f1[_0x36d521(0x1a0)]=_0x36d521(0x1b9),_0x35b2f1[_0x36d521(0x1be)]=_0x36d521(0x1cd),_0x35b2f1[_0x36d521(0x19e)]=function(_0x3914f8,_0x5d4072){return _0x3914f8!==_0x5d4072;},_0x35b2f1[_0x36d521(0x1ad)]=_0x36d521(0x1e4);const _0x508a2c=_0x35b2f1;if(!helper[_0x36d521(0x1da)](_0x394904,[_0x508a2c[_0x36d521(0x1a0)],_0x508a2c['kRKEi']]))return;if(_0x394904[_0x36d521(0x1b9)][_0x36d521(0x1cd)]&&_0x394904['browserStackPercyOptions'][_0x36d521(0x1d8)]&&_0x508a2c[_0x36d521(0x19e)](_0x394904[_0x36d521(0x1b9)][_0x36d521(0x1d8)],_0x508a2c['akSCZ'])&&!_0x40775e[_0x36d521(0x1e2)]){global[_0x36d521(0x1ac)]&&(_0x40775e[_0x36d521(0x1ac)]=global[_0x36d521(0x1ac)]),_0x40775e[_0x36d521(0x1e2)]=new PercyCaptureMap();const _0x1c6b1e=PercyCaptureModes[_0x394904['browserStackPercyOptions'][_0x36d521(0x1d8)]];_0x1c6b1e['driver']&&_0x1c6b1e['driver'][_0x36d521(0x19d)](_0x3e5f97=>this['overrideXforPercy'](_0x40775e,_0x3e5f97,_0x394904)),_0x1c6b1e[_0x36d521(0x1a9)]&&_0x1c6b1e[_0x36d521(0x1a9)]['forEach'](_0x46aec0=>{const _0x36aa3d=_0x36d521;if(_0x2ceecf['prototype'][_0x36aa3d(0x1d0)+_0x46aec0])return;_0x2ceecf['prototype'][_0x36aa3d(0x1d0)+_0x46aec0]=!![];const _0xf04918=_0x2ceecf['prototype'][_0x46aec0];_0x2ceecf[_0x36aa3d(0x1cf)][_0x46aec0]=async function(){const _0x1b7113=_0x36aa3d;let _0x5cc154=_0xf04918[_0x1b7113(0x1a5)](this,arguments);_0x5cc154&&_0x5cc154[_0x1b7113(0x1dd)]&&(_0x5cc154=await _0x5cc154);try{const _0x47191b=this[_0x1b7113(0x1bc)]();await exports[_0x1b7113(0x1cb)](_0x47191b,_0x46aec0,_0x394904);}catch(_0x42548e){logger[_0x1b7113(0x1e5)](_0x1b7113(0x1de)+_0x46aec0+_0x1b7113(0x1ca)+_0x42548e);}return _0x5cc154;};});}},exports['overrideXforPercy']=function(_0x5cfa8b,_0x1d2398,_0x4ad4b7){const _0x3fdfa7=a119_0x45312b,_0x1b7db0={};_0x1b7db0[_0x3fdfa7(0x1a2)]=function(_0xc98f3e,_0x2fb3e0){return _0xc98f3e+_0x2fb3e0;},_0x1b7db0[_0x3fdfa7(0x1ab)]=_0x3fdfa7(0x1d0),_0x1b7db0[_0x3fdfa7(0x1b6)]=_0x3fdfa7(0x1e8);const _0x13eae0=_0x1b7db0,_0x291501=_0x13eae0[_0x3fdfa7(0x1a2)](_0x13eae0[_0x3fdfa7(0x1ab)],_0x1d2398),_0x5f4e66=_0x13eae0[_0x3fdfa7(0x1a2)](_0x13eae0[_0x3fdfa7(0x1b6)],_0x1d2398),_0x10027b=this;if(_0x5cfa8b[_0x291501]||!_0x5cfa8b[_0x1d2398])return;_0x5cfa8b[_0x291501]=!![],_0x5cfa8b[_0x5f4e66]=_0x5cfa8b[_0x1d2398],_0x5cfa8b[_0x1d2398]=async()=>{const _0x36327b=_0x3fdfa7;try{await _0x10027b[_0x36327b(0x1cb)](_0x5cfa8b,_0x1d2398,_0x4ad4b7);}catch(_0x4c7173){logger[_0x36327b(0x1e5)](_0x36327b(0x1de)+_0x1d2398+_0x36327b(0x1ca)+_0x4c7173);}return await _0x5cfa8b[_0x5f4e66][_0x36327b(0x1a5)](_0x5cfa8b,arguments);};},exports[a119_0x45312b(0x1db)]=_0x3d8d74=>{const _0x1d35b2=a119_0x45312b,_0x3a574d={};_0x3a574d['sjkfV']=_0x1d35b2(0x1ba);const _0x36901f=_0x3a574d,_0x1392b0={};_0x1392b0[_0x1d35b2(0x1cd)]=_0x3d8d74[_0x1d35b2(0x1cd)],_0x1392b0[_0x1d35b2(0x1d8)]=_0x3d8d74[_0x1d35b2(0x1d8)]||_0x36901f['sjkfV'];const _0x568618=_0x1392b0;_0x3d8d74['percy']&&(_0x568618['browserstackPercyBestPlatform']=exports['getBestPlatformForPercySnapshot'](_0x3d8d74['platforms']));;return _0x568618;};function a119_0x51ce(){const _0x380f37=['getName','chrome','percyCaptureMode','Starting\x20percy','nestedKeyValue','getPercyOptions','measureWrapper','then','Error\x20patching\x20','5209687fahpdO','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','winstonLogger','browserstackPercyMap','increment','manual','error','screenshotApp','14237861lgDrPy','init','forEach','QcuCj','./Percy','zEMbK','288iczdGB','paAdZ','getBestPlatformForPercySnapshot','edge','apply','stopPercy','../performance/performance-tester','6301010qKAfzJ','element','startPercy','mTBpF','browserstackSessionName','akSCZ','Stopping\x20percy','4948424IujGOW','./PercySDK','./PercyCaptureMap','browserName','browser','uTeCZ','STOP','aCojF','start','toLowerCase','browserStackPercyOptions','auto','9GbmFGK','getDriver','debug','kRKEi','../logger','6qrmIjA','screenshot','deviceName','966114nvXHNP','pgSTV','stop','isUndefined','reduce','AUTO_CAPTURE','../helper','\x20for\x20percy\x20','percyAutoCapture','20pYTcPk','percy','START','prototype','patch','../performance/constants','25316xNOCnA','TSTyD','1045788vtgyZP','firefox'];a119_0x51ce=function(){return _0x380f37;};return a119_0x51ce();}
|