browserstack-node-sdk 1.56.1 → 1.56.2
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/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.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/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.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/puppeteer-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/newmanTestFramework.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/puppeteerAutomationFramework.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/puppeteerDriverModule.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/caCertHelper.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/driverInitErrorReporter.js +1 -0
- 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/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.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 a121_0x44bf19=a121_0xb55a;(function(_0x5f0d99,_0x12e428){const _0x4e0612=a121_0xb55a,_0x340fe3=_0x5f0d99();while(!![]){try{const _0x30b871=-parseInt(_0x4e0612(0x175))/0x1*(-parseInt(_0x4e0612(0x15d))/0x2)+parseInt(_0x4e0612(0x1a4))/0x3*(parseInt(_0x4e0612(0x198))/0x4)+parseInt(_0x4e0612(0x16b))/0x5*(parseInt(_0x4e0612(0x16c))/0x6)+-parseInt(_0x4e0612(0x167))/0x7+-parseInt(_0x4e0612(0x189))/0x8*(-parseInt(_0x4e0612(0x155))/0x9)+parseInt(_0x4e0612(0x18c))/0xa*(parseInt(_0x4e0612(0x19d))/0xb)+-parseInt(_0x4e0612(0x169))/0xc;if(_0x30b871===_0x12e428)break;else _0x340fe3['push'](_0x340fe3['shift']());}catch(_0x1be2d7){_0x340fe3['push'](_0x340fe3['shift']());}}}(a121_0x3c17,0x50e8d));const winston=require(a121_0x44bf19(0x156)),path=require(a121_0x44bf19(0x190)),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME,DEBUG_CLI_LOG_FILE_NAME}=require('../bin/utils/constants'),tempLogDir=a121_0x44bf19(0x181);let redactRegex=null,lastConfigHash='';const logFormat=winston[a121_0x44bf19(0x1a5)](_0x5540e2=>{const _0x13e12b=a121_0x44bf19,_0x145b54={};_0x145b54[_0x13e12b(0x16d)]=function(_0x314846,_0x1d606d){return _0x314846!==_0x1d606d;},_0x145b54[_0x13e12b(0x192)]=_0x13e12b(0x17a),_0x145b54[_0x13e12b(0x164)]=function(_0x5efb22,_0x33ae54){return _0x5efb22+_0x33ae54;},_0x145b54[_0x13e12b(0x18a)]=function(_0x3a19e8,_0x3c9f54){return _0x3a19e8>_0x3c9f54;},_0x145b54[_0x13e12b(0x199)]=_0x13e12b(0x160);const _0x17726a=_0x145b54;_0x17726a[_0x13e12b(0x16d)](typeof _0x5540e2[_0x13e12b(0x1a3)],_0x17726a[_0x13e12b(0x192)])&&(_0x5540e2[_0x13e12b(0x1a3)]=JSON[_0x13e12b(0x15b)](_0x5540e2[_0x13e12b(0x1a3)]));const _0x5d3e39=global[_0x13e12b(0x194)]&&global[_0x13e12b(0x194)][_0x13e12b(0x158)]||'',_0x552096=global[_0x13e12b(0x194)]&&global[_0x13e12b(0x194)][_0x13e12b(0x173)]||'',_0x1c3865=_0x17726a[_0x13e12b(0x164)](_0x17726a[_0x13e12b(0x164)](_0x5d3e39,'|'),_0x552096);if(_0x17726a[_0x13e12b(0x16d)](_0x1c3865,lastConfigHash)){lastConfigHash=_0x1c3865;const _0x464113=[_0x5d3e39,_0x552096][_0x13e12b(0x159)](Boolean);if(_0x17726a[_0x13e12b(0x18a)](_0x464113[_0x13e12b(0x17e)],0x0)){const _0x542ef0=_0x464113[_0x13e12b(0x1a7)](_0xb7b71f=>_0xb7b71f[_0x13e12b(0x165)](/[.*+?^${}()|[\]\\]/g,_0x13e12b(0x15e)))['join']('|');redactRegex=new RegExp(_0x542ef0,'g');}else redactRegex=null;}return redactRegex&&(_0x5540e2[_0x13e12b(0x1a3)]=_0x5540e2[_0x13e12b(0x1a3)][_0x13e12b(0x165)](redactRegex,_0x17726a[_0x13e12b(0x199)])),_0x5540e2;}),fetchLogDir=()=>{const _0x2b9fa8=a121_0x44bf19;if(process[_0x2b9fa8(0x182)][_0x2b9fa8(0x170)])return process[_0x2b9fa8(0x182)][_0x2b9fa8(0x170)];else!fs[_0x2b9fa8(0x1a9)](tempLogDir)&&fs[_0x2b9fa8(0x18d)](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),getInitialLogLevel=()=>{const _0x3ce187=a121_0x44bf19,_0x3cafb3={};_0x3cafb3[_0x3ce187(0x19f)]=_0x3ce187(0x18e);const _0x3a7d67=_0x3cafb3,_0x3e75a5=process[_0x3ce187(0x182)][_0x3ce187(0x161)],_0x5733cb=Object[_0x3ce187(0x19b)](winston[_0x3ce187(0x194)][_0x3ce187(0x178)]['levels']);if(_0x3e75a5&&_0x5733cb[_0x3ce187(0x19a)](_0x3e75a5['toLowerCase']()))return _0x3e75a5['toLowerCase']();return _0x3a7d67['PWPbt'];},initialLogLevel=getInitialLogLevel(),a121_0x41d4d8={};a121_0x41d4d8[a121_0x44bf19(0x171)]=a121_0x44bf19(0x162),a121_0x41d4d8[a121_0x44bf19(0x19c)]=initialLogLevel;function a121_0xb55a(_0x3ed087,_0xb91693){const _0x3c17ce=a121_0x3c17();return a121_0xb55a=function(_0xb55a03,_0x1e7c25){_0xb55a03=_0xb55a03-0x154;let _0x284f46=_0x3c17ce[_0xb55a03];return _0x284f46;},a121_0xb55a(_0x3ed087,_0xb91693);}const transports={'loggerConsole':new winston[(a121_0x44bf19(0x197))]['Console'](a121_0x41d4d8),'loggerFile':new winston[(a121_0x44bf19(0x197))][(a121_0x44bf19(0x185))]({'filename':path[a121_0x44bf19(0x1a6)](logDir,a121_0x44bf19(0x1a1)),'level':initialLogLevel}),'debugLoggerFile':new winston[(a121_0x44bf19(0x197))][(a121_0x44bf19(0x185))]({'filename':path['join'](logDir,'/usage-debug.log'),'level':'silly'}),'debugCliLoggerFile':new winston[(a121_0x44bf19(0x197))][(a121_0x44bf19(0x185))]({'filename':path[a121_0x44bf19(0x1a6)](logDir,DEBUG_CLI_LOG_FILE_NAME),'level':a121_0x44bf19(0x15a)}),'buildLinkTransport':new winston[(a121_0x44bf19(0x197))][(a121_0x44bf19(0x185))]({'filename':path[a121_0x44bf19(0x1a6)](logDir,a121_0x44bf19(0x1a1)),'level':a121_0x44bf19(0x15a)})},automationTransports={};process[a121_0x44bf19(0x182)]['BROWSERSTACK_AUTOMATION_LOGS']===a121_0x44bf19(0x191)&&(automationTransports['automationLoggerFile']=new winston[(a121_0x44bf19(0x197))]['File']({'filename':path['join'](logDir,a121_0x44bf19(0x16e)),'level':a121_0x44bf19(0x15a)}));transports[a121_0x44bf19(0x184)]['on'](a121_0x44bf19(0x1a2),_0x4dba7e=>{const _0x1d5033=a121_0x44bf19,_0x25da0c={};_0x25da0c[_0x1d5033(0x195)]=function(_0x2e5719,_0x1e6f4f){return _0x2e5719===_0x1e6f4f;},_0x25da0c[_0x1d5033(0x166)]=_0x1d5033(0x15f),_0x25da0c[_0x1d5033(0x17f)]=_0x1d5033(0x180);const _0xfcf1ec=_0x25da0c;if(_0xfcf1ec['zlHES'](_0x4dba7e[_0x1d5033(0x16a)],_0xfcf1ec['iuIgg'])){console[_0x1d5033(0x181)](_0xfcf1ec[_0x1d5033(0x17f)],_0x4dba7e['message']);return;}throw _0x4dba7e;});const a121_0xd2e789={};a121_0xd2e789[a121_0x44bf19(0x1a5)]='YYYY-MM-DD\x20HH:mm:ss';const a121_0x4735d8={};a121_0x4735d8[a121_0x44bf19(0x19c)]=!![];const winstonLoggerParams={'format':winston['format'][a121_0x44bf19(0x17b)](winston[a121_0x44bf19(0x1a5)][a121_0x44bf19(0x15c)](a121_0xd2e789),winston[a121_0x44bf19(0x1a5)][a121_0x44bf19(0x157)](a121_0x4735d8),winston['format'][a121_0x44bf19(0x172)](_0x5ccd3d=>_0x5ccd3d[a121_0x44bf19(0x15c)]+a121_0x44bf19(0x16f)+_0x5ccd3d[a121_0x44bf19(0x19c)]+':\x20'+_0x5ccd3d[a121_0x44bf19(0x1a3)])),'transports':[transports[a121_0x44bf19(0x184)]]},a121_0x3ec2cc={};a121_0x3ec2cc[a121_0x44bf19(0x1a5)]='YYYY-MM-DD\x20HH:mm:ss';const a121_0x25dd96={};a121_0x25dd96[a121_0x44bf19(0x19c)]=!![];const winstonFileLoggerParams={'format':winston['format'][a121_0x44bf19(0x17b)](winston['format']['timestamp'](a121_0x3ec2cc),winston[a121_0x44bf19(0x1a5)][a121_0x44bf19(0x157)](a121_0x25dd96),winston[a121_0x44bf19(0x1a5)]['printf'](_0x196358=>_0x196358[a121_0x44bf19(0x19c)]+':\x20'+_0x196358[a121_0x44bf19(0x1a3)])),'transports':[]},a121_0x33b948={};a121_0x33b948[a121_0x44bf19(0x1a5)]=a121_0x44bf19(0x188);const a121_0x5c88b0={};a121_0x5c88b0['level']=!![];const a121_0x16f899={};a121_0x16f899['level']=a121_0x44bf19(0x15a);const BuildLoggerParams={'format':winston[a121_0x44bf19(0x1a5)][a121_0x44bf19(0x17b)](winston[a121_0x44bf19(0x1a5)]['timestamp'](a121_0x33b948),winston[a121_0x44bf19(0x1a5)][a121_0x44bf19(0x157)](a121_0x5c88b0),winston[a121_0x44bf19(0x1a5)][a121_0x44bf19(0x172)](_0x1d102e=>_0x1d102e[a121_0x44bf19(0x15c)]+'\x20-\x20'+_0x1d102e[a121_0x44bf19(0x19c)]+':\x20'+_0x1d102e[a121_0x44bf19(0x1a3)])),'transports':[transports[a121_0x44bf19(0x179)],new winston[(a121_0x44bf19(0x197))][(a121_0x44bf19(0x18b))](a121_0x16f899)]},a121_0x36518f={};a121_0x36518f[a121_0x44bf19(0x183)]=()=>{},a121_0x36518f['info']=()=>{},a121_0x36518f[a121_0x44bf19(0x187)]=()=>{},a121_0x36518f[a121_0x44bf19(0x1a2)]=()=>{},a121_0x36518f['debug']=()=>{},a121_0x36518f[a121_0x44bf19(0x15a)]=()=>{},exports[a121_0x44bf19(0x1a0)]=process[a121_0x44bf19(0x182)]['BROWSERSTACK_AUTOMATION_LOGS']===a121_0x44bf19(0x191)?winston[a121_0x44bf19(0x196)]({'format':winston[a121_0x44bf19(0x1a5)]['combine'](winston[a121_0x44bf19(0x1a5)][a121_0x44bf19(0x154)](),winston[a121_0x44bf19(0x1a5)]['timestamp'](),logFormat(),winston[a121_0x44bf19(0x1a5)][a121_0x44bf19(0x172)](_0x5c3255=>_0x5c3255['level']+':\x20'+_0x5c3255['message'])),'transports':[automationTransports['automationLoggerFile']]}):a121_0x36518f;const initialize=()=>{const _0x3ed532=a121_0x44bf19,_0x1a01ab={};_0x1a01ab[_0x3ed532(0x176)]=_0x3ed532(0x15a);const _0x5abcfe=_0x1a01ab,_0x2380f6=transports[_0x3ed532(0x184)]['level']||initialLogLevel;transports['loggerFile']&&(exports[_0x3ed532(0x17c)][_0x3ed532(0x18f)](transports[_0x3ed532(0x1a8)]),exports['fileLogger'][_0x3ed532(0x18f)](transports[_0x3ed532(0x1a8)])),transports[_0x3ed532(0x17d)]&&(exports[_0x3ed532(0x17c)]['remove'](transports[_0x3ed532(0x17d)]),exports[_0x3ed532(0x163)][_0x3ed532(0x18f)](transports['debugLoggerFile'])),transports[_0x3ed532(0x1a8)]=new winston['transports'][(_0x3ed532(0x185))]({'filename':path['join'](exports['logDir'],LOG_FILE_NAME),'level':_0x2380f6}),transports[_0x3ed532(0x17d)]=new winston['transports'][(_0x3ed532(0x185))]({'filename':path['join'](exports[_0x3ed532(0x193)],DEBUG_LOG_FILE_NAME),'level':_0x5abcfe['adBZK']}),transports[_0x3ed532(0x168)]=new winston[(_0x3ed532(0x197))][(_0x3ed532(0x185))]({'filename':path[_0x3ed532(0x1a6)](exports[_0x3ed532(0x193)],DEBUG_CLI_LOG_FILE_NAME),'level':_0x5abcfe[_0x3ed532(0x176)]}),exports[_0x3ed532(0x17c)][_0x3ed532(0x174)](transports[_0x3ed532(0x1a8)]),exports['winstonLogger']['add'](transports['debugLoggerFile']),exports[_0x3ed532(0x163)][_0x3ed532(0x174)](transports[_0x3ed532(0x1a8)]),exports['fileLogger'][_0x3ed532(0x174)](transports['debugLoggerFile']);};function a121_0x3c17(){const _0x46a8e1=['env','http','loggerConsole','File','getLogDir','warn','YYYY-MM-DD\x20HH:mm:ss','32FAoVZK','zVNZi','Console','170fnlsJX','mkdirSync','info','remove','path','true','YhuFg','logDir','config','zlHES','createLogger','transports','4uDrvzd','uZnwb','includes','keys','level','15334GePxqb','initialize','PWPbt','automationLogger','/usage.log','error','message','52995SliuMG','format','join','map','loggerFile','existsSync','uncolorize','1388052ZfLzwX','winston','colorize','userName','filter','silly','stringify','timestamp','61378SlOCJL','\x5c$&','EPIPE','[REDACTED]','BROWSERSTACK_LOG_LEVEL','console.info','fileLogger','PeveN','replace','iuIgg','1233372puMQOq','debugCliLoggerFile','4388208fBTnsM','code','768160vvWMhO','6atIDYq','EPvXf','automation.log','\x20-\x20','BROWSERSTACK_INTERNAL_LOG_DIR','name','printf','accessKey','add','2VIlBKT','adBZK','buildLogger','npm','buildLinkTransport','string','combine','winstonLogger','debugLoggerFile','length','dWhdc','EPIPE\x20error\x20occurred\x20in\x20loggerConsole:','log'];a121_0x3c17=function(){return _0x46a8e1;};return a121_0x3c17();}exports['winstonLogger']=new winston[(a121_0x44bf19(0x196))](winstonLoggerParams),exports['fileLogger']=new winston[(a121_0x44bf19(0x196))](winstonFileLoggerParams),exports[a121_0x44bf19(0x177)]=new winston[(a121_0x44bf19(0x196))](BuildLoggerParams),exports[a121_0x44bf19(0x193)]=logDir,exports[a121_0x44bf19(0x186)]=()=>{const _0x340b86=a121_0x44bf19;return exports[_0x340b86(0x193)];},exports[a121_0x44bf19(0x197)]=transports,exports[a121_0x44bf19(0x19e)]=initialize;logDir&&initialize();
|
|
1
|
+
const a122_0x101b1a=a122_0x4ab5;(function(_0x56ea49,_0xa8d40a){const _0xa91e5c=a122_0x4ab5,_0x119c98=_0x56ea49();while(!![]){try{const _0xa30ba=parseInt(_0xa91e5c(0x1c5))/0x1+-parseInt(_0xa91e5c(0x1d2))/0x2+parseInt(_0xa91e5c(0x1a4))/0x3+-parseInt(_0xa91e5c(0x1a2))/0x4*(-parseInt(_0xa91e5c(0x1a1))/0x5)+-parseInt(_0xa91e5c(0x1cf))/0x6+-parseInt(_0xa91e5c(0x1cd))/0x7*(-parseInt(_0xa91e5c(0x1a8))/0x8)+parseInt(_0xa91e5c(0x18e))/0x9;if(_0xa30ba===_0xa8d40a)break;else _0x119c98['push'](_0x119c98['shift']());}catch(_0x17dab4){_0x119c98['push'](_0x119c98['shift']());}}}(a122_0x3bf3,0xd3b15));const winston=require(a122_0x101b1a(0x1a5)),path=require(a122_0x101b1a(0x190)),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME,DEBUG_CLI_LOG_FILE_NAME}=require(a122_0x101b1a(0x18a)),tempLogDir=a122_0x101b1a(0x1cb);let redactRegex=null,lastConfigHash='';const logFormat=winston[a122_0x101b1a(0x188)](_0x5c3f41=>{const _0x48c8b7=a122_0x101b1a,_0x4ef56c={};_0x4ef56c[_0x48c8b7(0x198)]=function(_0x1ae905,_0x4c516b){return _0x1ae905!==_0x4c516b;},_0x4ef56c[_0x48c8b7(0x1b8)]='string',_0x4ef56c[_0x48c8b7(0x18c)]=function(_0x507759,_0x101365){return _0x507759+_0x101365;},_0x4ef56c[_0x48c8b7(0x192)]=function(_0x266055,_0x19e0a6){return _0x266055!==_0x19e0a6;},_0x4ef56c[_0x48c8b7(0x1a3)]=function(_0x4fa235,_0x4f5ffc){return _0x4fa235>_0x4f5ffc;},_0x4ef56c['jdobt']=_0x48c8b7(0x1bd);const _0x391855=_0x4ef56c;_0x391855[_0x48c8b7(0x198)](typeof _0x5c3f41[_0x48c8b7(0x1b1)],_0x391855[_0x48c8b7(0x1b8)])&&(_0x5c3f41[_0x48c8b7(0x1b1)]=JSON[_0x48c8b7(0x19a)](_0x5c3f41[_0x48c8b7(0x1b1)]));const _0x31dd3c=global[_0x48c8b7(0x1c9)]&&global[_0x48c8b7(0x1c9)][_0x48c8b7(0x193)]||'',_0x182795=global[_0x48c8b7(0x1c9)]&&global[_0x48c8b7(0x1c9)][_0x48c8b7(0x195)]||'',_0x358725=_0x391855[_0x48c8b7(0x18c)](_0x391855['hYHVM'](_0x31dd3c,'|'),_0x182795);if(_0x391855[_0x48c8b7(0x192)](_0x358725,lastConfigHash)){lastConfigHash=_0x358725;const _0x3d55ca=[_0x31dd3c,_0x182795][_0x48c8b7(0x184)](Boolean);if(_0x391855[_0x48c8b7(0x1a3)](_0x3d55ca[_0x48c8b7(0x1c7)],0x0)){const _0x5df274=_0x3d55ca['map'](_0x3e9c94=>_0x3e9c94['replace'](/[.*+?^${}()|[\]\\]/g,_0x48c8b7(0x18b)))[_0x48c8b7(0x1b9)]('|');redactRegex=new RegExp(_0x5df274,'g');}else redactRegex=null;}return redactRegex&&(_0x5c3f41[_0x48c8b7(0x1b1)]=_0x5c3f41[_0x48c8b7(0x1b1)]['replace'](redactRegex,_0x391855['jdobt'])),_0x5c3f41;}),fetchLogDir=()=>{const _0x186264=a122_0x101b1a;if(process['env'][_0x186264(0x1a6)])return process['env'][_0x186264(0x1a6)];else!fs['existsSync'](tempLogDir)&&fs[_0x186264(0x187)](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),getInitialLogLevel=()=>{const _0x4c9fa3=a122_0x101b1a,_0x41ff95={};_0x41ff95[_0x4c9fa3(0x1c8)]=_0x4c9fa3(0x1b2);const _0x15e2a2=_0x41ff95,_0x25d36c=process[_0x4c9fa3(0x1b7)]['BROWSERSTACK_LOG_LEVEL'],_0x994c85=Object[_0x4c9fa3(0x18f)](winston['config'][_0x4c9fa3(0x199)]['levels']);if(_0x25d36c&&_0x994c85['includes'](_0x25d36c[_0x4c9fa3(0x1bf)]()))return _0x25d36c['toLowerCase']();return _0x15e2a2[_0x4c9fa3(0x1c8)];},initialLogLevel=getInitialLogLevel(),a122_0x3e8e27={};a122_0x3e8e27[a122_0x101b1a(0x1c1)]=a122_0x101b1a(0x1bc),a122_0x3e8e27[a122_0x101b1a(0x1d0)]=initialLogLevel;function a122_0x3bf3(){const _0x187487=['debugLoggerFile','code','console.info','[REDACTED]','File','toLowerCase','uncolorize','name','debugCliLoggerFile','printf','silly','263117OoCfoE','fileLogger','length','rUeZM','config','automationLoggerFile','log','error','650573ygAIOw','EPIPE','7616268zAiXeb','level','/usage-debug.log','258522KdvBjd','YYYY-MM-DD\x20HH:mm:ss','filter','/usage.log','Console','mkdirSync','format','createLogger','../bin/utils/constants','\x5c$&','hYHVM','gqfLd','4440447Gycfjw','keys','path','logDir','UBmrT','userName','loggerFile','accessKey','add','true','TmbjW','npm','stringify','warn','mQLsP','\x20-\x20','iTNdZ','debug','loggerConsole','5426030xMELnD','4uLAvDV','urEMI','156810OqNKhT','winston','BROWSERSTACK_INTERNAL_LOG_DIR','initialize','32sVZpWm','combine','transports','EPIPE\x20error\x20occurred\x20in\x20loggerConsole:','winstonLogger','BROWSERSTACK_AUTOMATION_LOGS','http','buildLinkTransport','colorize','message','info','remove','timestamp','automation.log','Scxwb','env','mYFZG','join'];a122_0x3bf3=function(){return _0x187487;};return a122_0x3bf3();}const transports={'loggerConsole':new winston[(a122_0x101b1a(0x1aa))][(a122_0x101b1a(0x186))](a122_0x3e8e27),'loggerFile':new winston['transports'][(a122_0x101b1a(0x1be))]({'filename':path[a122_0x101b1a(0x1b9)](logDir,a122_0x101b1a(0x185)),'level':initialLogLevel}),'debugLoggerFile':new winston[(a122_0x101b1a(0x1aa))][(a122_0x101b1a(0x1be))]({'filename':path[a122_0x101b1a(0x1b9)](logDir,a122_0x101b1a(0x1d1)),'level':a122_0x101b1a(0x1c4)}),'debugCliLoggerFile':new winston[(a122_0x101b1a(0x1aa))]['File']({'filename':path[a122_0x101b1a(0x1b9)](logDir,DEBUG_CLI_LOG_FILE_NAME),'level':a122_0x101b1a(0x1c4)}),'buildLinkTransport':new winston[(a122_0x101b1a(0x1aa))][(a122_0x101b1a(0x1be))]({'filename':path[a122_0x101b1a(0x1b9)](logDir,a122_0x101b1a(0x185)),'level':'silly'})},automationTransports={};process['env'][a122_0x101b1a(0x1ad)]===a122_0x101b1a(0x197)&&(automationTransports[a122_0x101b1a(0x1ca)]=new winston[(a122_0x101b1a(0x1aa))]['File']({'filename':path[a122_0x101b1a(0x1b9)](logDir,a122_0x101b1a(0x1b5)),'level':'silly'}));transports[a122_0x101b1a(0x1a0)]['on'](a122_0x101b1a(0x1cc),_0x397ab1=>{const _0x69ecbe=a122_0x101b1a,_0x4a6e48={};_0x4a6e48[_0x69ecbe(0x18d)]=function(_0x8d2401,_0x360fd6){return _0x8d2401===_0x360fd6;},_0x4a6e48[_0x69ecbe(0x19c)]=_0x69ecbe(0x1ce),_0x4a6e48[_0x69ecbe(0x19e)]=_0x69ecbe(0x1ab);const _0x46db09=_0x4a6e48;if(_0x46db09['gqfLd'](_0x397ab1[_0x69ecbe(0x1bb)],_0x46db09[_0x69ecbe(0x19c)])){console[_0x69ecbe(0x1cb)](_0x46db09['iTNdZ'],_0x397ab1[_0x69ecbe(0x1b1)]);return;}throw _0x397ab1;});const a122_0x22125b={};a122_0x22125b[a122_0x101b1a(0x188)]=a122_0x101b1a(0x183);const a122_0x3f1e86={};function a122_0x4ab5(_0x56145d,_0x3ff915){const _0x3bf3c6=a122_0x3bf3();return a122_0x4ab5=function(_0x4ab550,_0x3929aa){_0x4ab550=_0x4ab550-0x183;let _0x3fc857=_0x3bf3c6[_0x4ab550];return _0x3fc857;},a122_0x4ab5(_0x56145d,_0x3ff915);}a122_0x3f1e86[a122_0x101b1a(0x1d0)]=!![];const winstonLoggerParams={'format':winston['format']['combine'](winston[a122_0x101b1a(0x188)][a122_0x101b1a(0x1b4)](a122_0x22125b),winston[a122_0x101b1a(0x188)][a122_0x101b1a(0x1b0)](a122_0x3f1e86),winston['format'][a122_0x101b1a(0x1c3)](_0x57f6d6=>_0x57f6d6['timestamp']+a122_0x101b1a(0x19d)+_0x57f6d6[a122_0x101b1a(0x1d0)]+':\x20'+_0x57f6d6[a122_0x101b1a(0x1b1)])),'transports':[transports[a122_0x101b1a(0x1a0)]]},a122_0x3eaff8={};a122_0x3eaff8[a122_0x101b1a(0x188)]=a122_0x101b1a(0x183);const a122_0x37f42c={};a122_0x37f42c['level']=!![];const winstonFileLoggerParams={'format':winston[a122_0x101b1a(0x188)][a122_0x101b1a(0x1a9)](winston[a122_0x101b1a(0x188)][a122_0x101b1a(0x1b4)](a122_0x3eaff8),winston[a122_0x101b1a(0x188)][a122_0x101b1a(0x1b0)](a122_0x37f42c),winston[a122_0x101b1a(0x188)][a122_0x101b1a(0x1c3)](_0x45ec7b=>_0x45ec7b[a122_0x101b1a(0x1d0)]+':\x20'+_0x45ec7b['message'])),'transports':[]},a122_0x48b77b={};a122_0x48b77b[a122_0x101b1a(0x188)]='YYYY-MM-DD\x20HH:mm:ss';const a122_0x4512f0={};a122_0x4512f0[a122_0x101b1a(0x1d0)]=!![];const a122_0x1e2bbc={};a122_0x1e2bbc[a122_0x101b1a(0x1d0)]='silly';const BuildLoggerParams={'format':winston['format'][a122_0x101b1a(0x1a9)](winston[a122_0x101b1a(0x188)][a122_0x101b1a(0x1b4)](a122_0x48b77b),winston[a122_0x101b1a(0x188)]['colorize'](a122_0x4512f0),winston[a122_0x101b1a(0x188)][a122_0x101b1a(0x1c3)](_0x142477=>_0x142477[a122_0x101b1a(0x1b4)]+a122_0x101b1a(0x19d)+_0x142477[a122_0x101b1a(0x1d0)]+':\x20'+_0x142477[a122_0x101b1a(0x1b1)])),'transports':[transports[a122_0x101b1a(0x1af)],new winston[(a122_0x101b1a(0x1aa))][(a122_0x101b1a(0x186))](a122_0x1e2bbc)]},a122_0x32eb0c={};a122_0x32eb0c[a122_0x101b1a(0x1ae)]=()=>{},a122_0x32eb0c['info']=()=>{},a122_0x32eb0c[a122_0x101b1a(0x19b)]=()=>{},a122_0x32eb0c['error']=()=>{},a122_0x32eb0c[a122_0x101b1a(0x19f)]=()=>{},a122_0x32eb0c[a122_0x101b1a(0x1c4)]=()=>{},exports['automationLogger']=process[a122_0x101b1a(0x1b7)][a122_0x101b1a(0x1ad)]==='true'?winston[a122_0x101b1a(0x189)]({'format':winston[a122_0x101b1a(0x188)][a122_0x101b1a(0x1a9)](winston['format'][a122_0x101b1a(0x1c0)](),winston[a122_0x101b1a(0x188)][a122_0x101b1a(0x1b4)](),logFormat(),winston['format'][a122_0x101b1a(0x1c3)](_0x10cf77=>_0x10cf77['level']+':\x20'+_0x10cf77[a122_0x101b1a(0x1b1)])),'transports':[automationTransports[a122_0x101b1a(0x1ca)]]}):a122_0x32eb0c;const initialize=()=>{const _0xe373f9=a122_0x101b1a,_0x193b8c={};_0x193b8c[_0xe373f9(0x1b6)]='silly';const _0x152efe=_0x193b8c,_0x472548=transports[_0xe373f9(0x1a0)][_0xe373f9(0x1d0)]||initialLogLevel;transports[_0xe373f9(0x194)]&&(exports[_0xe373f9(0x1ac)][_0xe373f9(0x1b3)](transports[_0xe373f9(0x194)]),exports[_0xe373f9(0x1c6)][_0xe373f9(0x1b3)](transports['loggerFile'])),transports[_0xe373f9(0x1ba)]&&(exports[_0xe373f9(0x1ac)][_0xe373f9(0x1b3)](transports[_0xe373f9(0x1ba)]),exports['fileLogger'][_0xe373f9(0x1b3)](transports[_0xe373f9(0x1ba)])),transports[_0xe373f9(0x194)]=new winston[(_0xe373f9(0x1aa))][(_0xe373f9(0x1be))]({'filename':path[_0xe373f9(0x1b9)](exports[_0xe373f9(0x191)],LOG_FILE_NAME),'level':_0x472548}),transports[_0xe373f9(0x1ba)]=new winston[(_0xe373f9(0x1aa))][(_0xe373f9(0x1be))]({'filename':path[_0xe373f9(0x1b9)](exports[_0xe373f9(0x191)],DEBUG_LOG_FILE_NAME),'level':_0x152efe['Scxwb']}),transports[_0xe373f9(0x1c2)]=new winston['transports'][(_0xe373f9(0x1be))]({'filename':path['join'](exports['logDir'],DEBUG_CLI_LOG_FILE_NAME),'level':_0x152efe[_0xe373f9(0x1b6)]}),exports[_0xe373f9(0x1ac)]['add'](transports[_0xe373f9(0x194)]),exports['winstonLogger'][_0xe373f9(0x196)](transports[_0xe373f9(0x1ba)]),exports[_0xe373f9(0x1c6)][_0xe373f9(0x196)](transports['loggerFile']),exports[_0xe373f9(0x1c6)][_0xe373f9(0x196)](transports[_0xe373f9(0x1ba)]);};exports['winstonLogger']=new winston['createLogger'](winstonLoggerParams),exports['fileLogger']=new winston['createLogger'](winstonFileLoggerParams),exports['buildLogger']=new winston[(a122_0x101b1a(0x189))](BuildLoggerParams),exports[a122_0x101b1a(0x191)]=logDir,exports['getLogDir']=()=>{const _0x40d4cb=a122_0x101b1a;return exports[_0x40d4cb(0x191)];},exports[a122_0x101b1a(0x1aa)]=transports,exports[a122_0x101b1a(0x1a7)]=initialize;logDir&&initialize();
|
package/src/helpers/metadata.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a123_0x187c(_0x3ff2f5,_0x24d7a2){const _0x463887=a123_0x4638();return a123_0x187c=function(_0x187ceb,_0x37129){_0x187ceb=_0x187ceb-0xfd;let _0x1bf073=_0x463887[_0x187ceb];return _0x1bf073;},a123_0x187c(_0x3ff2f5,_0x24d7a2);}function a123_0x4638(){const _0xcefbeb=['getGlobal','getCentralUser','40Kyhtbq','testMeta-','setGlobal','fqDyY','486186KmEstc','27MgjgeI','1503770ngCqpV','LzSGa','AMmEp','winstonLogger','546332BwNSzt','2614zJGXfW','string','1311faDcPv','identifier','WWqxw','734632ewKzqt','testMeta','The\x20metadata\x20object\x20is\x20not\x20valid.','GLtJF','lGejF','exports','tauMY','7143885YamNmj','./logger','lcnc','testRunUUID','length','263560AHLJjX','warn','set'];a123_0x4638=function(){return _0xcefbeb;};return a123_0x4638();}const a123_0x4a712c=a123_0x187c;(function(_0x5eaf47,_0x23b164){const _0x304ba5=a123_0x187c,_0x105483=_0x5eaf47();while(!![]){try{const _0x24ff18=parseInt(_0x304ba5(0x10b))/0x1+parseInt(_0x304ba5(0x11b))/0x2*(-parseInt(_0x304ba5(0x11d))/0x3)+parseInt(_0x304ba5(0x11a))/0x4+-parseInt(_0x304ba5(0x110))/0x5*(parseInt(_0x304ba5(0x114))/0x6)+parseInt(_0x304ba5(0x106))/0x7+-parseInt(_0x304ba5(0xff))/0x8+parseInt(_0x304ba5(0x115))/0x9*(parseInt(_0x304ba5(0x116))/0xa);if(_0x24ff18===_0x23b164)break;else _0x105483['push'](_0x105483['shift']());}catch(_0x23f3f4){_0x105483['push'](_0x105483['shift']());}}}(a123_0x4638,0x88dd1));const globals=require('./globals'),helper=require('./helper'),logger=require(a123_0x4a712c(0x107))[a123_0x4a712c(0x119)];module[a123_0x4a712c(0x104)]=class TestMetadata{static[a123_0x4a712c(0x10d)](_0x3f94ae={}){const _0x5349e1=a123_0x4a712c,_0x4747ec={};_0x4747ec['fqDyY']=_0x5349e1(0x109),_0x4747ec[_0x5349e1(0x103)]=function(_0x214d93,_0x5bcd63){return _0x214d93===_0x5bcd63;},_0x4747ec[_0x5349e1(0x105)]=_0x5349e1(0x11c),_0x4747ec['AMmEp']=function(_0x11c741,_0x1087ff){return _0x11c741<=_0x1087ff;},_0x4747ec[_0x5349e1(0x102)]=_0x5349e1(0x100),_0x4747ec[_0x5349e1(0x117)]=_0x5349e1(0x101);const _0x489a3c=_0x4747ec,_0x39af3e=globals[_0x5349e1(0x10e)](_0x489a3c[_0x5349e1(0x113)]),_0x2209bb=_0x3f94ae[_0x5349e1(0xfd)];helper['getCentralUser']()['lcnc']&&(_0x489a3c[_0x5349e1(0x103)](typeof _0x2209bb,_0x489a3c[_0x5349e1(0x105)])&&_0x489a3c[_0x5349e1(0x118)](_0x2209bb[_0x5349e1(0x10a)],0x28)?_0x39af3e?globals[_0x5349e1(0x112)]('testMeta-'+_0x39af3e,_0x3f94ae):globals[_0x5349e1(0x112)](_0x489a3c[_0x5349e1(0x102)],_0x3f94ae):logger[_0x5349e1(0x10c)](_0x489a3c[_0x5349e1(0x117)]));}static['get'](_0x1d5f6d){const _0x199f62=a123_0x4a712c,_0x28347b={};_0x28347b[_0x199f62(0xfe)]='testMeta';const _0x5a4615=_0x28347b;if(helper[_0x199f62(0x10f)]()[_0x199f62(0x108)])return globals[_0x199f62(0x10e)](_0x199f62(0x111)+_0x1d5f6d)||globals['getGlobal'](_0x5a4615[_0x199f62(0xfe)])||{};return{};}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a123_0x437f(){const _0x2955a1=['vKyRC','EOfiV','script','aiHeal:findElementFailure','584FcIhKh','url','bXJkN','getNudgeLocalNotSetError','cHkyL','xFIsT','capability','toISOString','name_','GBUbc','executeAsyncScript','aiHeal_isAuthenticated',';\x20Trying\x20to\x20heal','995276XaRCpP','handleFailure','iqKBi','zpXCm','cKaXz','boXMY','3243582wBAaFY','vkPiO','name','10Thuhrh','2157042fTaMXp','59xlCqWa','wvYGi','Wjkdu','Error\x20in\x20handling\x20TCG\x20Auth:\x20','iJhKS','dvxmv','Successfully\x20healed\x20command\x20using\x20new\x20','IzZbA','parameters','JcCjb','response','isBrowserstackInfra','JavascriptError','nuhyI','initExecute','klfJI','./logger','Healing\x20failed\x20for\x20command\x20using\x20','patchExecute','DpsGh','RZaqz','TpVYB','][\x20SDK-AUTOMATION\x20]\x20','./ai-sdk/autoHealHelper','aiHeal:setToken','OniTK','value','setAiSessionTimeStamp','Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','measureWrapper','tLJuG','MVPxo','TDEYp','XkJBK','./helper','skipHealingSuccess','fIzeR','find','RFFOJ','Kdtso','args','getGlobal','PLJCG','Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20driver.execute\x20:\x20','getSession','get','nestedKeyValue','kIXOY','toString','CeUrw','debug','aiSdk_defaultLogDataEnabled','execute','afHFM','YEmpo','NoSuchElementError','XvMwl','mNxny','ciJvx','bTomD','TZBxy','parameters_','PRE_EXECUTE','Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','jGcpN','command','format','uFwSu','./performance/performance-tester','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','tGrcA','aiHeal:findElementSuccess','using','2328837fXVEdo','message','OJtyH','Pmmbf','1328160ctOBYN','29907grFfFd','string','silly','./performance/constants','overrideExecute','info','error','setTcgToken','DGcbv','request','findElement\x20command\x20failed\x20with\x20','handleSuccess','11476MRtcrW','isSelfHealEnabled','NUDGE_LOCAL_ERRORS'];a123_0x437f=function(){return _0x2955a1;};return a123_0x437f();}const a123_0x52db8f=a123_0x46b2;function a123_0x46b2(_0x4d7d4c,_0x80b3c5){const _0x437fc4=a123_0x437f();return a123_0x46b2=function(_0x46b237,_0x1b52d0){_0x46b237=_0x46b237-0x1c6;let _0x2cd9be=_0x437fc4[_0x46b237];return _0x2cd9be;},a123_0x46b2(_0x4d7d4c,_0x80b3c5);}(function(_0x3146ac,_0x3797f3){const _0x3479bf=a123_0x46b2,_0x381ac6=_0x3146ac();while(!![]){try{const _0x46c83f=parseInt(_0x3479bf(0x1f3))/0x1*(parseInt(_0x3479bf(0x1d4))/0x2)+parseInt(_0x3479bf(0x1f2))/0x3+-parseInt(_0x3479bf(0x1e8))/0x4*(parseInt(_0x3479bf(0x1f1))/0x5)+-parseInt(_0x3479bf(0x1ee))/0x6+parseInt(_0x3479bf(0x23c))/0x7+parseInt(_0x3479bf(0x1db))/0x8*(parseInt(_0x3479bf(0x1c8))/0x9)+-parseInt(_0x3479bf(0x1c7))/0xa;if(_0x46c83f===_0x3797f3)break;else _0x381ac6['push'](_0x381ac6['shift']());}catch(_0x4c75d5){_0x381ac6['push'](_0x381ac6['shift']());}}}(a123_0x437f,0x70bcf));const {aiSdkWrapper}=require('./ai-sdk/aiSdkWrapper'),{commandRepository}=require(a123_0x52db8f(0x20a)),PerformanceTester=require(a123_0x52db8f(0x237)),globals=require('./globals'),{winstonLogger:logger,automationLogger}=require(a123_0x52db8f(0x203)),helper=require(a123_0x52db8f(0x215)),constants=require('../bin/utils/constants'),{DRIVER_EVENT:PerformanceDriverEvents}=require(a123_0x52db8f(0x1cb)),util=require('util');exports[a123_0x52db8f(0x1cc)]=(_0x511873,_0x301003)=>{const _0xe1053e=a123_0x52db8f,_0x4e6f55={'mNxny':_0xe1053e(0x1e6),'XkJBK':_0xe1053e(0x20b),'nuhyI':function(_0x2dde91){return _0x2dde91();},'DpsGh':_0xe1053e(0x238),'DGcbv':function(_0x2ce37f,_0x39aa96){return _0x2ce37f===_0x39aa96;},'cKaXz':_0xe1053e(0x22a),'TZBxy':_0xe1053e(0x1ff),'kIXOY':'findElement','JcCjb':'aiHeal_isHealingEnabled','RFFOJ':'css\x20selector','feDpu':function(_0x33dfe2,_0x6cfcf3){return _0x33dfe2+_0x6cfcf3;},'Kdtso':function(_0x574c06,_0x289ed4){return _0x574c06+_0x289ed4;},'YEmpo':'findElement\x20command\x20failed\x20with\x20cssPath:\x20','bTomD':_0xe1053e(0x1e7),'TpVYB':function(_0x49c61c,_0x3c8cc6){return _0x49c61c+_0x3c8cc6;},'cHkyL':_0xe1053e(0x1d2),'ciJvx':_0xe1053e(0x1da),'tGrcA':function(_0x4182f7){return _0x4182f7();},'IzZbA':function(_0x4a0159,_0x13ca65){return _0x4a0159&&_0x13ca65;},'bXJkN':function(_0x5088ac,_0x1b3e05){return _0x5088ac===_0x1b3e05;},'iqKBi':function(_0x487ec9,_0x443095){return _0x487ec9+_0x443095;},'PLJCG':'Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','Wjkdu':function(_0x189dce,_0x57aa13){return _0x189dce+_0x57aa13;},'dvxmv':function(_0x15a873,_0x36a4cf){return _0x15a873+_0x36a4cf;},'OniTK':_0xe1053e(0x1f9),'tLJuG':_0xe1053e(0x20f),'ZSTte':function(_0x40badf,_0x256f72){return _0x40badf+_0x256f72;},'klfJI':_0xe1053e(0x204),'GBUbc':function(_0x2b9d62,_0x3c42f6){return _0x2b9d62===_0x3c42f6;},'vKyRC':_0xe1053e(0x220),'xFIsT':_0xe1053e(0x230),'EOfiV':'url','uFwSu':_0xe1053e(0x232),'jGcpN':_0xe1053e(0x226),'RZaqz':_0xe1053e(0x23a),'SJZEQ':_0xe1053e(0x1e5),'GqZNP':'executeScript','OJtyH':_0xe1053e(0x1c9),'CeUrw':_0xe1053e(0x1e1),'fIzeR':'browserstack.local','Pmmbf':'bstack:options','zpXCm':'local'},_0x1c2b7e=_0x511873[_0xe1053e(0x205)]||(helper['nestedKeyValue'](_0x301003,[_0x4e6f55[_0xe1053e(0x224)],_0x4e6f55[_0xe1053e(0x217)]])||helper[_0xe1053e(0x221)](_0x301003,[_0x4e6f55['CeUrw'],_0x4e6f55[_0xe1053e(0x1c6)],_0x4e6f55[_0xe1053e(0x1eb)]]));if(!globals[_0xe1053e(0x21c)](_0x4e6f55[_0xe1053e(0x22c)])&&!globals[_0xe1053e(0x21c)](_0x4e6f55[_0xe1053e(0x1fc)])&&_0x1c2b7e)return;_0x511873['patchExecute']=!![],_0x511873[_0xe1053e(0x201)]=_0x511873[_0xe1053e(0x227)],_0x511873['execute']=async _0x3ec78=>{const _0x149996=_0xe1053e,_0x458791={'XvMwl':_0x4e6f55[_0x149996(0x233)],'afHFM':function(_0x178bb5,_0x513f6d){const _0x3d477f=_0x149996;return _0x4e6f55[_0x3d477f(0x1dd)](_0x178bb5,_0x513f6d);},'MVPxo':_0x4e6f55[_0x149996(0x222)],'boXMY':_0x4e6f55[_0x149996(0x22c)],'vkPiO':_0x4e6f55[_0x149996(0x1fc)],'TDEYp':_0x4e6f55[_0x149996(0x207)],'wvYGi':function(_0x5f1ff8){const _0x2e2154=_0x149996;return _0x4e6f55[_0x2e2154(0x239)](_0x5f1ff8);}};try{const _0x3c5574={};_0x3c5574[_0x149996(0x234)]=_0x3ec78[_0x149996(0x1e3)],await PerformanceTester[_0x149996(0x210)](PerformanceDriverEvents[_0x149996(0x231)],async()=>{const _0x54d4ca=_0x149996,_0x52b899={};_0x52b899[_0x54d4ca(0x1f7)]=_0x4e6f55[_0x54d4ca(0x22c)];const _0x2a28e3=_0x52b899;if(!commandRepository['getTcgTokenStatus']()&&globals[_0x54d4ca(0x21c)](_0x4e6f55[_0x54d4ca(0x22c)])){const _0x2ead68=PerformanceTester['measureWrapper'](_0x4e6f55[_0x54d4ca(0x214)],async()=>{const _0x4324b3=_0x54d4ca;try{commandRepository['setTcgTokenStatus'](!![]),await aiSdkWrapper[_0x4324b3(0x1cf)]((await _0x511873[_0x4324b3(0x21f)]())['getId']());const _0x41e247=globals[_0x4324b3(0x21c)](_0x2a28e3[_0x4324b3(0x1f7)]);_0x41e247&&commandRepository[_0x4324b3(0x20e)]((await _0x511873[_0x4324b3(0x21f)]())['getId']());}catch(_0x4eeebe){logger[_0x4324b3(0x1ce)](_0x4324b3(0x1f6)+_0x4eeebe);}});await _0x4e6f55[_0x54d4ca(0x200)](_0x2ead68);}},_0x3c5574)();const _0xf9bede=await _0x511873[_0x149996(0x201)](_0x3ec78);try{if(_0x4e6f55[_0x149996(0x1d0)](_0x3ec78[_0x149996(0x1e3)],_0x4e6f55['SJZEQ'])||_0x4e6f55[_0x149996(0x1e4)](_0x3ec78[_0x149996(0x1e3)],_0x4e6f55['GqZNP'])){const _0x1e05f5=_0x3ec78[_0x149996(0x230)]&&_0x3ec78[_0x149996(0x230)][_0x149996(0x1d9)],_0x2103c4=_0x3ec78[_0x149996(0x230)]&&_0x3ec78[_0x149996(0x230)][_0x149996(0x21b)],_0xb253c2=_0x2103c4&&util[_0x149996(0x235)]('%j',_0x2103c4);if(_0x1e05f5&&_0x4e6f55[_0x149996(0x1e4)](typeof _0x1e05f5,_0x4e6f55[_0x149996(0x23e)])){const _0x13ea6b=constants['AUTOMATION_LOG_COMMANDS'][_0x149996(0x218)](_0x29bf44=>_0x1e05f5['includes'](_0x29bf44)||_0xb253c2&&_0xb253c2['includes'](_0x29bf44));if(_0x13ea6b){const _0x33ac8a={};_0x33ac8a[_0x149996(0x234)]=_0x13ea6b,_0x33ac8a[_0x149996(0x1fb)]=_0x2103c4;const _0x340d4a={};_0x340d4a['body']=_0xf9bede;const _0x33d2f6={};_0x33d2f6[_0x149996(0x1d1)]=_0x33ac8a,_0x33d2f6[_0x149996(0x1fd)]=_0x340d4a,automationLogger[_0x149996(0x1ca)]('['+new Date()[_0x149996(0x1e2)]()+_0x149996(0x209)+util[_0x149996(0x235)]('%j',_0x33d2f6));}}}}catch(_0x9b0782){logger['silly'](_0x149996(0x21e)+_0x9b0782[_0x149996(0x23d)]);}return await PerformanceTester['measureWrapper'](PerformanceDriverEvents['POST_EXECUTE'],async()=>{const _0x17678e=_0x149996;if(!helper[_0x17678e(0x1fe)]()&&(commandRepository[_0x17678e(0x1d5)]()||globals[_0x17678e(0x21c)](_0x458791[_0x17678e(0x22b)]))&&_0x458791[_0x17678e(0x228)](_0x3ec78[_0x17678e(0x1e3)],_0x458791[_0x17678e(0x212)])&&!_0x3ec78['skipHealingSuccess']&&globals[_0x17678e(0x21c)](_0x458791[_0x17678e(0x1ed)])&&globals[_0x17678e(0x21c)](_0x458791[_0x17678e(0x1ef)])){const _0x196ebd=new Date(),_0x462603=PerformanceTester[_0x17678e(0x210)](_0x458791[_0x17678e(0x213)],async()=>{const _0xe24304=_0x17678e;return await aiSdkWrapper[_0xe24304(0x1d3)](_0x301003,_0x511873,_0x3ec78);});await _0x458791[_0x17678e(0x1f4)](_0x462603);}},{'command':_0x3ec78[_0x149996(0x1e3)]})(),_0xf9bede;}catch(_0x1c50be){await PerformanceTester[_0x149996(0x210)](PerformanceDriverEvents['POST_EXECUTE'],async()=>{const _0x1045f0=_0x149996;logger[_0x1045f0(0x225)](_0x4e6f55[_0x1045f0(0x206)]);try{if(!helper[_0x1045f0(0x1fe)]()&&(_0x4e6f55[_0x1045f0(0x1d0)](_0x1c50be[_0x1045f0(0x1f0)],_0x4e6f55[_0x1045f0(0x1ec)])||_0x4e6f55[_0x1045f0(0x1d0)](_0x1c50be['name'],_0x4e6f55[_0x1045f0(0x22f)]))&&_0x4e6f55[_0x1045f0(0x1d0)](_0x3ec78[_0x1045f0(0x1e3)],_0x4e6f55[_0x1045f0(0x222)])&&commandRepository[_0x1045f0(0x1d5)]()&&globals[_0x1045f0(0x21c)](_0x4e6f55[_0x1045f0(0x22c)])&&globals[_0x1045f0(0x21c)](_0x4e6f55[_0x1045f0(0x1fc)])){_0x4e6f55[_0x1045f0(0x1d0)](_0x3ec78[_0x1045f0(0x230)]['using'],_0x4e6f55[_0x1045f0(0x219)])?logger[_0x1045f0(0x1cd)](_0x4e6f55['feDpu'](_0x4e6f55[_0x1045f0(0x21a)](_0x4e6f55[_0x1045f0(0x229)],_0x3ec78['parameters_'][_0x1045f0(0x20d)]),_0x4e6f55[_0x1045f0(0x22e)])):logger['info'](_0x4e6f55[_0x1045f0(0x21a)](_0x4e6f55[_0x1045f0(0x208)](_0x4e6f55[_0x1045f0(0x208)](_0x4e6f55['feDpu'](_0x4e6f55[_0x1045f0(0x1df)],_0x3ec78[_0x1045f0(0x230)][_0x1045f0(0x23b)]),':\x20'),_0x3ec78[_0x1045f0(0x230)][_0x1045f0(0x20d)]),_0x4e6f55[_0x1045f0(0x22e)]));const _0x30b198=PerformanceTester[_0x1045f0(0x210)](_0x4e6f55[_0x1045f0(0x22d)],async()=>{const _0xb9db56=_0x1045f0;return await aiSdkWrapper[_0xb9db56(0x1e9)](_0x301003,_0x511873,_0x3ec78);}),_0x2df9d2=new Date(),{locatorType:_0x475123,locatorValue:_0x23e6ca,commandHealed:_0x594a1b}=await _0x4e6f55[_0x1045f0(0x239)](_0x30b198);if(_0x4e6f55[_0x1045f0(0x1fa)](_0x475123,_0x23e6ca)){_0x3ec78[_0x1045f0(0x230)][_0x1045f0(0x23b)]=_0x475123,_0x3ec78[_0x1045f0(0x230)][_0x1045f0(0x20d)]=_0x23e6ca,_0x3ec78[_0x1045f0(0x216)]=!![];const _0x4a8636=_0x511873['execute'](_0x3ec78);return _0x4e6f55[_0x1045f0(0x1dd)](_0x475123,_0x4e6f55[_0x1045f0(0x219)])?logger[_0x1045f0(0x1cd)](_0x4e6f55[_0x1045f0(0x1ea)](_0x4e6f55[_0x1045f0(0x21d)],_0x23e6ca)):logger[_0x1045f0(0x1cd)](_0x4e6f55[_0x1045f0(0x21a)](_0x4e6f55[_0x1045f0(0x1f5)](_0x4e6f55['dvxmv'](_0x4e6f55[_0x1045f0(0x20c)],_0x475123),':\x20'),_0x23e6ca)),_0x4a8636;}else!_0x594a1b&&(_0x4e6f55[_0x1045f0(0x1dd)](_0x475123,_0x4e6f55[_0x1045f0(0x219)])?logger[_0x1045f0(0x1cd)](_0x4e6f55[_0x1045f0(0x1ea)](_0x4e6f55[_0x1045f0(0x211)],_0x3ec78['parameters_']['value'])):logger[_0x1045f0(0x1cd)](_0x4e6f55[_0x1045f0(0x1ea)](_0x4e6f55['ZSTte'](_0x4e6f55[_0x1045f0(0x1f8)](_0x4e6f55[_0x1045f0(0x202)],_0x3ec78[_0x1045f0(0x230)][_0x1045f0(0x23b)]),':\x20'),_0x3ec78[_0x1045f0(0x230)]['value'])));}!_0x1c2b7e&&_0x4e6f55[_0x1045f0(0x1e4)](_0x3ec78[_0x1045f0(0x1e3)],_0x4e6f55[_0x1045f0(0x1d7)])&&helper[_0x1045f0(0x221)](_0x3ec78,[_0x4e6f55[_0x1045f0(0x1e0)],_0x4e6f55[_0x1045f0(0x1d8)]])&&!!constants[_0x1045f0(0x1d6)][_0x1045f0(0x218)](_0x119e00=>{const _0x480add=_0x1045f0;return _0x1c50be[_0x480add(0x223)]()['includes'](_0x119e00);})&&helper[_0x1045f0(0x1de)](_0x3ec78[_0x1045f0(0x230)][_0x1045f0(0x1dc)],!![]);}catch(_0x365f8f){logger[_0x1045f0(0x225)](_0x4e6f55[_0x1045f0(0x236)],_0x365f8f);}},{'success':![],'failure':_0x1c50be})();throw _0x1c50be;}};};
|
|
1
|
+
function a124_0x1f5a(){const _0x52476d=['findElement\x20command\x20failed\x20with\x20cssPath:\x20','capability','aiHeal_isAuthenticated','value','DyXpw','honzW','aiHeal:findElementSuccess','toString','request','PumWi','aiHeal_isHealingEnabled','10EYvFze','overrideExecute','isBrowserstackInfra','Vcjva','./performance/performance-tester','./ai-sdk/autoHealHelper','ewEAT','execute','idQax','5368495ZfIzxX','fagqI','Successfully\x20healed\x20command\x20using\x20new\x20','browserstack.local','getNudgeLocalNotSetError','aiSdk_defaultLogDataEnabled','script','TOBDj','27704UyacIf','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','executeScript','ztVHb','JavascriptError','debug','QoEqB','LRbab','response','getSession','254168VKpHid','error','toISOString','./ai-sdk/aiSdkWrapper','qDoWj','./performance/constants','qTYCj','measureWrapper','Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','14jnyHnw','isSelfHealEnabled','nctWf','IMyWb','initExecute','getId','get','FhmzU','patchExecute','GorGi','wovAl','mPEUD','skipHealingSuccess','UkfHC','setTcgTokenStatus','NoSuchElementError','./globals',';\x20Trying\x20to\x20heal','wqMCP','command','body','util','UVLJw','name_','url','aiHeal:findElementFailure','MfFWa','parameters_','rEztu','1835154kOSCCx','HOYwg','bDZWC','DccHV','Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','4kbdNHF','info','prMOW','441582dvztTs','NuPca','executeAsyncScript','bstack:options','Healing\x20failed\x20for\x20command\x20using\x20','OsmNN','kWLzF','DlYbm','AxNLE','Mugax','local','string','using','CYino','oxEJF','silly','setAiSessionTimeStamp','Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20driver.execute\x20:\x20','XdXAc','name','getTcgTokenStatus','nestedKeyValue','PRE_EXECUTE','includes','findElement\x20command\x20failed\x20with\x20','parameters','getGlobal','18bOqAMI','find','EycxI','oQVQU','RtUNt','rYcjn','rUpoX','NUDGE_LOCAL_ERRORS','KlIRh','ACyIS','POST_EXECUTE','556110IHYeof','XiYBy','481170zgPFEQ','AUTOMATION_LOG_COMMANDS'];a124_0x1f5a=function(){return _0x52476d;};return a124_0x1f5a();}const a124_0x2f6b32=a124_0x2d34;function a124_0x2d34(_0x57483a,_0x553b73){const _0x1f5a9e=a124_0x1f5a();return a124_0x2d34=function(_0x2d345e,_0x103b88){_0x2d345e=_0x2d345e-0xbd;let _0x512737=_0x1f5a9e[_0x2d345e];return _0x512737;},a124_0x2d34(_0x57483a,_0x553b73);}(function(_0x1fea09,_0x45b384){const _0x303128=a124_0x2d34,_0x3e3389=_0x1fea09();while(!![]){try{const _0x10dc01=-parseInt(_0x303128(0x12c))/0x1*(-parseInt(_0x303128(0x101))/0x2)+-parseInt(_0x303128(0xe6))/0x3*(parseInt(_0x303128(0xe3))/0x4)+-parseInt(_0x303128(0x10e))/0x5+-parseInt(_0x303128(0x10c))/0x6+parseInt(_0x303128(0xc1))/0x7*(-parseInt(_0x303128(0x136))/0x8)+-parseInt(_0x303128(0xde))/0x9+parseInt(_0x303128(0x11b))/0xa*(parseInt(_0x303128(0x124))/0xb);if(_0x10dc01===_0x45b384)break;else _0x3e3389['push'](_0x3e3389['shift']());}catch(_0x4d4459){_0x3e3389['push'](_0x3e3389['shift']());}}}(a124_0x1f5a,0x20abc));const {aiSdkWrapper}=require(a124_0x2f6b32(0x139)),{commandRepository}=require(a124_0x2f6b32(0x120)),PerformanceTester=require(a124_0x2f6b32(0x11f)),globals=require(a124_0x2f6b32(0xd1)),{winstonLogger:logger,automationLogger}=require('./logger'),helper=require('./helper'),constants=require('../bin/utils/constants'),{DRIVER_EVENT:PerformanceDriverEvents}=require(a124_0x2f6b32(0xbd)),util=require(a124_0x2f6b32(0xd6));exports[a124_0x2f6b32(0x11c)]=(_0x6cfdb,_0x1a7998)=>{const _0x55fadd=a124_0x2f6b32,_0x2b5cc7={'qDoWj':_0x55fadd(0x12d),'prMOW':function(_0x40dedc,_0xcca305){return _0x40dedc===_0xcca305;},'DyXpw':_0x55fadd(0xd0),'Mugax':function(_0x174459,_0x2ed26d){return _0x174459===_0x2ed26d;},'NuPca':_0x55fadd(0x130),'oxEJF':function(_0x1f7468,_0x561a82){return _0x1f7468===_0x561a82;},'MfFWa':'findElement','oQVQU':_0x55fadd(0x112),'nctWf':_0x55fadd(0x11a),'CYino':'css\x20selector','OsmNN':function(_0xf0faff,_0x469c55){return _0xf0faff+_0x469c55;},'ewEAT':_0x55fadd(0x110),'idQax':_0x55fadd(0xd2),'XdXAc':function(_0x398f29,_0x406410){return _0x398f29+_0x406410;},'FhmzU':_0x55fadd(0xfe),'LuxOI':_0x55fadd(0xda),'GorGi':function(_0x58613e){return _0x58613e();},'dmPNt':function(_0x2e9f1c,_0x2dcff8){return _0x2e9f1c&&_0x2dcff8;},'bJuts':function(_0x28f60e,_0x50e390){return _0x28f60e===_0x50e390;},'wovAl':function(_0x48fa1f,_0x4c95ad){return _0x48fa1f+_0x4c95ad;},'rUpoX':_0x55fadd(0xe2),'UPqcU':function(_0xe35a8f,_0x33fd1c){return _0xe35a8f+_0x33fd1c;},'TOBDj':function(_0x1dac9a,_0x5ed911){return _0x1dac9a+_0x5ed911;},'rYcjn':_0x55fadd(0x126),'DccHV':function(_0x403768,_0x247599){return _0x403768+_0x247599;},'DlYbm':'Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','kWLzF':function(_0x1f914e,_0x21cadd){return _0x1f914e+_0x21cadd;},'XiYBy':_0x55fadd(0xea),'EycxI':function(_0x143190,_0x3406cd){return _0x143190===_0x3406cd;},'bDZWC':_0x55fadd(0xc7),'Vcjva':_0x55fadd(0xdc),'AxNLE':'url','HOYwg':_0x55fadd(0xc0),'UkfHC':'aiHeal:setToken','EUDQq':_0x55fadd(0x129),'rEztu':function(_0x4cbee8,_0x4d938f){return _0x4cbee8===_0x4d938f;},'PumWi':_0x55fadd(0x116),'RtUNt':_0x55fadd(0xe8),'wqMCP':_0x55fadd(0x12e),'KlIRh':_0x55fadd(0xf1),'ztVHb':_0x55fadd(0x111),'UVLJw':_0x55fadd(0x127),'EkGVF':_0x55fadd(0xe9),'YOeEl':_0x55fadd(0xf0)},_0x4dbf81=_0x6cfdb[_0x55fadd(0xc9)]||(helper[_0x55fadd(0xfb)](_0x1a7998,[_0x2b5cc7[_0x55fadd(0x12f)],_0x2b5cc7[_0x55fadd(0xd7)]])||helper[_0x55fadd(0xfb)](_0x1a7998,[_0x2b5cc7['ztVHb'],_0x2b5cc7['EkGVF'],_0x2b5cc7['YOeEl']]));if(!globals[_0x55fadd(0x100)](_0x2b5cc7[_0x55fadd(0x104)])&&!globals[_0x55fadd(0x100)](_0x2b5cc7[_0x55fadd(0xc3)])&&_0x4dbf81)return;_0x6cfdb[_0x55fadd(0xc9)]=!![],_0x6cfdb[_0x55fadd(0xc5)]=_0x6cfdb[_0x55fadd(0x122)],_0x6cfdb['execute']=async _0x44a394=>{const _0x2afc8e=_0x55fadd,_0x3890bd={'qTYCj':_0x2b5cc7[_0x2afc8e(0x104)],'fagqI':_0x2b5cc7[_0x2afc8e(0xce)],'mPEUD':function(_0x31ee28){const _0x30c595=_0x2afc8e;return _0x2b5cc7[_0x30c595(0xca)](_0x31ee28);},'honzW':_0x2b5cc7['EUDQq'],'QoEqB':function(_0x18da2e,_0x5cef66){return _0x2b5cc7['rEztu'](_0x18da2e,_0x5cef66);},'IMyWb':_0x2b5cc7['MfFWa'],'ACyIS':_0x2b5cc7[_0x2afc8e(0xc3)],'LRbab':_0x2b5cc7[_0x2afc8e(0x119)],'aivDe':function(_0x47b10e){const _0xfd6ed2=_0x2afc8e;return _0x2b5cc7[_0xfd6ed2(0xca)](_0x47b10e);}};try{const _0x29ae38={};_0x29ae38['command']=_0x44a394[_0x2afc8e(0xd8)],await PerformanceTester['measureWrapper'](PerformanceDriverEvents[_0x2afc8e(0xfc)],async()=>{const _0x4865c2=_0x2afc8e;if(!commandRepository[_0x4865c2(0xfa)]()&&globals[_0x4865c2(0x100)](_0x3890bd[_0x4865c2(0xbe)])){const _0x5db307=PerformanceTester[_0x4865c2(0xbf)](_0x3890bd[_0x4865c2(0x125)],async()=>{const _0x8c81c5=_0x4865c2;try{commandRepository[_0x8c81c5(0xcf)](!![]),await aiSdkWrapper['setTcgToken']((await _0x6cfdb[_0x8c81c5(0x135)]())[_0x8c81c5(0xc6)]());const _0x10ef18=globals[_0x8c81c5(0x100)](_0x3890bd['qTYCj']);_0x10ef18&&commandRepository[_0x8c81c5(0xf6)]((await _0x6cfdb[_0x8c81c5(0x135)]())[_0x8c81c5(0xc6)]());}catch(_0x62da66){logger[_0x8c81c5(0x137)]('Error\x20in\x20handling\x20TCG\x20Auth:\x20'+_0x62da66);}});await _0x3890bd[_0x4865c2(0xcc)](_0x5db307);}},_0x29ae38)();const _0xde1e02=await _0x6cfdb[_0x2afc8e(0xc5)](_0x44a394);try{if(_0x2b5cc7[_0x2afc8e(0xdd)](_0x44a394[_0x2afc8e(0xd8)],_0x2b5cc7[_0x2afc8e(0x105)])||_0x2b5cc7['EycxI'](_0x44a394[_0x2afc8e(0xd8)],_0x2b5cc7[_0x2afc8e(0xd3)])){const _0x171591=_0x44a394[_0x2afc8e(0xdc)]&&_0x44a394[_0x2afc8e(0xdc)][_0x2afc8e(0x12a)],_0x47c33d=_0x44a394[_0x2afc8e(0xdc)]&&_0x44a394[_0x2afc8e(0xdc)]['args'],_0x2c0e76=_0x47c33d&&util['format']('%j',_0x47c33d);if(_0x171591&&_0x2b5cc7[_0x2afc8e(0xe5)](typeof _0x171591,_0x2b5cc7[_0x2afc8e(0x109)])){const _0x5cc017=constants[_0x2afc8e(0x10f)][_0x2afc8e(0x102)](_0x547812=>_0x171591[_0x2afc8e(0xfd)](_0x547812)||_0x2c0e76&&_0x2c0e76['includes'](_0x547812));if(_0x5cc017){const _0xfa42d1={};_0xfa42d1[_0x2afc8e(0xd4)]=_0x5cc017,_0xfa42d1[_0x2afc8e(0xff)]=_0x47c33d;const _0x3e011={};_0x3e011[_0x2afc8e(0xd5)]=_0xde1e02;const _0x23b90f={};_0x23b90f[_0x2afc8e(0x118)]=_0xfa42d1,_0x23b90f[_0x2afc8e(0x134)]=_0x3e011,automationLogger[_0x2afc8e(0xf5)]('['+new Date()[_0x2afc8e(0x138)]()+'][\x20SDK-AUTOMATION\x20]\x20'+util['format']('%j',_0x23b90f));}}}}catch(_0x1ab487){logger['silly'](_0x2afc8e(0xf7)+_0x1ab487['message']);}return await PerformanceTester[_0x2afc8e(0xbf)](PerformanceDriverEvents[_0x2afc8e(0x10b)],async()=>{const _0x4c5dc5=_0x2afc8e;if(!helper[_0x4c5dc5(0x11d)]()&&(commandRepository[_0x4c5dc5(0xc2)]()||globals['getGlobal'](_0x3890bd[_0x4c5dc5(0x115)]))&&_0x3890bd[_0x4c5dc5(0x132)](_0x44a394[_0x4c5dc5(0xd8)],_0x3890bd[_0x4c5dc5(0xc4)])&&!_0x44a394[_0x4c5dc5(0xcd)]&&globals[_0x4c5dc5(0x100)](_0x3890bd[_0x4c5dc5(0xbe)])&&globals[_0x4c5dc5(0x100)](_0x3890bd[_0x4c5dc5(0x10a)])){const _0x3a3208=new Date(),_0x1ec640=PerformanceTester[_0x4c5dc5(0xbf)](_0x3890bd[_0x4c5dc5(0x133)],async()=>{return await aiSdkWrapper['handleSuccess'](_0x1a7998,_0x6cfdb,_0x44a394);});await _0x3890bd['aivDe'](_0x1ec640);}},{'command':_0x44a394[_0x2afc8e(0xd8)]})(),_0xde1e02;}catch(_0x457059){await PerformanceTester['measureWrapper'](PerformanceDriverEvents[_0x2afc8e(0x10b)],async()=>{const _0x162a57=_0x2afc8e;logger[_0x162a57(0x131)](_0x2b5cc7[_0x162a57(0x13a)]);try{if(!helper[_0x162a57(0x11d)]()&&(_0x2b5cc7[_0x162a57(0xe5)](_0x457059['name'],_0x2b5cc7[_0x162a57(0x114)])||_0x2b5cc7[_0x162a57(0xef)](_0x457059[_0x162a57(0xf9)],_0x2b5cc7[_0x162a57(0xe7)]))&&_0x2b5cc7[_0x162a57(0xf4)](_0x44a394[_0x162a57(0xd8)],_0x2b5cc7[_0x162a57(0xdb)])&&commandRepository['isSelfHealEnabled']()&&globals[_0x162a57(0x100)](_0x2b5cc7[_0x162a57(0x104)])&&globals[_0x162a57(0x100)](_0x2b5cc7[_0x162a57(0xc3)])){_0x2b5cc7[_0x162a57(0xf4)](_0x44a394[_0x162a57(0xdc)][_0x162a57(0xf2)],_0x2b5cc7[_0x162a57(0xf3)])?logger[_0x162a57(0xe4)](_0x2b5cc7[_0x162a57(0xeb)](_0x2b5cc7[_0x162a57(0xeb)](_0x2b5cc7[_0x162a57(0x121)],_0x44a394[_0x162a57(0xdc)][_0x162a57(0x113)]),_0x2b5cc7[_0x162a57(0x123)])):logger['info'](_0x2b5cc7['OsmNN'](_0x2b5cc7['OsmNN'](_0x2b5cc7[_0x162a57(0xeb)](_0x2b5cc7['XdXAc'](_0x2b5cc7[_0x162a57(0xc8)],_0x44a394[_0x162a57(0xdc)]['using']),':\x20'),_0x44a394[_0x162a57(0xdc)][_0x162a57(0x113)]),_0x2b5cc7[_0x162a57(0x123)]));const _0x1029d2=PerformanceTester['measureWrapper'](_0x2b5cc7['LuxOI'],async()=>{return await aiSdkWrapper['handleFailure'](_0x1a7998,_0x6cfdb,_0x44a394);}),_0x177598=new Date(),{locatorType:_0xbe2e5b,locatorValue:_0x1c9165,commandHealed:_0x2d19c6}=await _0x2b5cc7[_0x162a57(0xca)](_0x1029d2);if(_0x2b5cc7['dmPNt'](_0xbe2e5b,_0x1c9165)){_0x44a394['parameters_'][_0x162a57(0xf2)]=_0xbe2e5b,_0x44a394[_0x162a57(0xdc)][_0x162a57(0x113)]=_0x1c9165,_0x44a394[_0x162a57(0xcd)]=!![];const _0x29751b=_0x6cfdb[_0x162a57(0x122)](_0x44a394);return _0x2b5cc7['bJuts'](_0xbe2e5b,_0x2b5cc7[_0x162a57(0xf3)])?logger['info'](_0x2b5cc7[_0x162a57(0xcb)](_0x2b5cc7[_0x162a57(0x107)],_0x1c9165)):logger[_0x162a57(0xe4)](_0x2b5cc7[_0x162a57(0xcb)](_0x2b5cc7['UPqcU'](_0x2b5cc7[_0x162a57(0x12b)](_0x2b5cc7[_0x162a57(0x106)],_0xbe2e5b),':\x20'),_0x1c9165)),_0x29751b;}else!_0x2d19c6&&(_0x2b5cc7[_0x162a57(0xef)](_0xbe2e5b,_0x2b5cc7[_0x162a57(0xf3)])?logger['info'](_0x2b5cc7[_0x162a57(0xe1)](_0x2b5cc7[_0x162a57(0xed)],_0x44a394[_0x162a57(0xdc)][_0x162a57(0x113)])):logger[_0x162a57(0xe4)](_0x2b5cc7[_0x162a57(0xec)](_0x2b5cc7[_0x162a57(0xf8)](_0x2b5cc7[_0x162a57(0x12b)](_0x2b5cc7[_0x162a57(0x10d)],_0x44a394[_0x162a57(0xdc)][_0x162a57(0xf2)]),':\x20'),_0x44a394[_0x162a57(0xdc)]['value'])));}!_0x4dbf81&&_0x2b5cc7[_0x162a57(0x103)](_0x44a394[_0x162a57(0xd8)],_0x2b5cc7[_0x162a57(0xe0)])&&helper[_0x162a57(0xfb)](_0x44a394,[_0x2b5cc7[_0x162a57(0x11e)],_0x2b5cc7[_0x162a57(0xee)]])&&!!constants[_0x162a57(0x108)][_0x162a57(0x102)](_0x421d54=>{const _0x595cd2=_0x162a57;return _0x457059[_0x595cd2(0x117)]()[_0x595cd2(0xfd)](_0x421d54);})&&helper[_0x162a57(0x128)](_0x44a394['parameters_'][_0x162a57(0xd9)],!![]);}catch(_0x1f3d0a){logger[_0x162a57(0x131)](_0x2b5cc7[_0x162a57(0xdf)],_0x1f3d0a);}},{'success':![],'failure':_0x457059})();throw _0x457059;}};};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a125_0x2ee6ef=a125_0x1dd2;function a125_0x1dd2(_0x506bf9,_0x528433){const _0x566cf9=a125_0x566c();return a125_0x1dd2=function(_0x1dd27b,_0x1dcce5){_0x1dd27b=_0x1dd27b-0x77;let _0x7f192=_0x566cf9[_0x1dd27b];return _0x7f192;},a125_0x1dd2(_0x506bf9,_0x528433);}(function(_0x4d69db,_0x58a092){const _0x451132=a125_0x1dd2,_0x26ac94=_0x4d69db();while(!![]){try{const _0x1204e2=-parseInt(_0x451132(0x9a))/0x1+-parseInt(_0x451132(0x79))/0x2+-parseInt(_0x451132(0x78))/0x3+-parseInt(_0x451132(0x8e))/0x4*(-parseInt(_0x451132(0x80))/0x5)+parseInt(_0x451132(0x83))/0x6+parseInt(_0x451132(0x99))/0x7+-parseInt(_0x451132(0x94))/0x8*(-parseInt(_0x451132(0x86))/0x9);if(_0x1204e2===_0x58a092)break;else _0x26ac94['push'](_0x26ac94['shift']());}catch(_0x3f2ad0){_0x26ac94['push'](_0x26ac94['shift']());}}}(a125_0x566c,0x6c19b));const PerformanceTester=require(a125_0x2ee6ef(0x96)),O11yEvents=require(a125_0x2ee6ef(0x84))['O11y_EVENTS'];function a125_0x566c(){const _0x149db1=['toISOString','./performance/performance-tester','then','quit','4511073UiVmWW','490463jiFtEx','BS_TESTOPS_ALLOW_SCREENSHOTS','2322798DgDSEt','1236744KiVBOq','patchQuit','durUE','zxHBl','takeScreenshot','initQuit','IuAAh','5sjEMkZ','uIpIt','catch','1740834RPNowa','./performance/constants','start','11862XNFoDl','HajIn','initScreenshot','quitCount_','pid','jxOmT','xryHG','bs:addLog:','2786864ZvZUtl','TAKE_SCREENSHOT','TEST_SCREENSHOT','patchScreenshot','true','TjPfj','4216uyVMvb'];a125_0x566c=function(){return _0x149db1;};return a125_0x566c();}exports['overrideTakeScreenshot']=_0x2ea1dc=>{const _0x3d0972=a125_0x2ee6ef,_0x119967={'HajIn':_0x3d0972(0x90),'uIpIt':function(_0x3a8a06,_0x1bf6e4){return _0x3a8a06(_0x1bf6e4);},'SnYni':function(_0x1bf08b,_0x526a2b){return _0x1bf08b(_0x526a2b);},'xryHG':function(_0x561a13,_0x56fa89){return _0x561a13!==_0x56fa89;},'IuAAh':_0x3d0972(0x92)};if(_0x119967[_0x3d0972(0x8c)](process['env'][_0x3d0972(0x77)],_0x119967[_0x3d0972(0x7f)]))return;if(_0x2ea1dc[_0x3d0972(0x91)])return;_0x2ea1dc[_0x3d0972(0x91)]=!![],_0x2ea1dc[_0x3d0972(0x88)]=_0x2ea1dc['takeScreenshot'],_0x2ea1dc[_0x3d0972(0x7d)]=()=>{const _0x57d2a9={'VvVff':function(_0x40c14f,_0x3720d6){return _0x119967['SnYni'](_0x40c14f,_0x3720d6);}};return new Promise(function(_0xb71cec,_0x18262c){const _0x4a2623=a125_0x1dd2,_0x39f514={'jxOmT':_0x119967[_0x4a2623(0x87)],'zxHBl':function(_0x5d69ad,_0x515139){const _0x3d30d3=_0x4a2623;return _0x119967[_0x3d30d3(0x81)](_0x5d69ad,_0x515139);}};_0x2ea1dc[_0x4a2623(0x88)]()[_0x4a2623(0x97)](_0x31665a=>{const _0x574d98=_0x4a2623;PerformanceTester[_0x574d98(0x85)](O11yEvents[_0x574d98(0x8f)]),process['emit'](_0x574d98(0x8d)+process[_0x574d98(0x8a)],{'timestamp':new Date()[_0x574d98(0x95)](),'message':_0x31665a,'kind':_0x39f514[_0x574d98(0x8b)]}),_0x39f514[_0x574d98(0x7c)](_0xb71cec,_0x31665a),PerformanceTester['end'](O11yEvents['TAKE_SCREENSHOT']);})[_0x4a2623(0x82)](_0x1238a2=>{PerformanceTester['end'](O11yEvents['TAKE_SCREENSHOT']),_0x57d2a9['VvVff'](_0x18262c,_0x1238a2);});});};},exports['overrideQuit']=(_0x3932e0,_0x719231=null)=>{const _0x52f30b=a125_0x2ee6ef,_0x40262c={'TjPfj':function(_0x34c8bb){return _0x34c8bb();},'durUE':function(_0x2e140f,_0x52ac6d){return _0x2e140f>_0x52ac6d;}};if(_0x3932e0[_0x52f30b(0x7a)])return;_0x3932e0['patchQuit']=!![],_0x3932e0[_0x52f30b(0x7e)]=_0x3932e0['quit'],_0x3932e0[_0x52f30b(0x98)]=()=>{const _0x554f0f=_0x52f30b;if(_0x719231){_0x719231[_0x554f0f(0x89)]+=0x1;if(_0x40262c[_0x554f0f(0x7b)](_0x719231[_0x554f0f(0x89)],0x1))return _0x3932e0['initQuit']();}else{_0x3932e0[_0x554f0f(0x89)]+=0x1;if(_0x40262c[_0x554f0f(0x7b)](_0x3932e0[_0x554f0f(0x89)],0x1))return _0x3932e0[_0x554f0f(0x7e)]();}return new Promise(function(_0x2d15ba){const _0x2bb989=_0x554f0f;_0x40262c[_0x2bb989(0x93)](_0x2d15ba);});};};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a126_0xeecbb5=a126_0x3694;(function(_0x3563b0,_0x42acc3){const _0x5bc966=a126_0x3694,_0x12d1eb=_0x3563b0();while(!![]){try{const _0x2ab696=parseInt(_0x5bc966(0x116))/0x1*(-parseInt(_0x5bc966(0xfd))/0x2)+parseInt(_0x5bc966(0xfa))/0x3+parseInt(_0x5bc966(0x12b))/0x4+parseInt(_0x5bc966(0x127))/0x5+-parseInt(_0x5bc966(0x12a))/0x6+-parseInt(_0x5bc966(0x119))/0x7*(parseInt(_0x5bc966(0xfc))/0x8)+parseInt(_0x5bc966(0xfb))/0x9;if(_0x2ab696===_0x42acc3)break;else _0x12d1eb['push'](_0x12d1eb['shift']());}catch(_0x269afc){_0x12d1eb['push'](_0x12d1eb['shift']());}}}(a126_0x2337,0xd09df));const fs=require('fs'),path=require(a126_0xeecbb5(0xed)),os=require('os'),{spawn}=require('child_process'),helper=require('../helper'),logger=require(a126_0xeecbb5(0x112))[a126_0xeecbb5(0x110)],{getLogDir}=require(a126_0xeecbb5(0x112)),testHubConstants=require('../../helpers/testhub/constants'),PerformanceTester=require(a126_0xeecbb5(0x10a)),{PERCY_EVENTS:PerformanceEvents}=require(a126_0xeecbb5(0x126)),PercyBinary=require(a126_0xeecbb5(0x135));function a126_0x3694(_0x1bb768,_0x2843d4){const _0x23374c=a126_0x2337();return a126_0x3694=function(_0x36941c,_0x10bb62){_0x36941c=_0x36941c-0xec;let _0x46f185=_0x23374c[_0x36941c];return _0x46f185;},a126_0x3694(_0x1bb768,_0x2843d4);}function a126_0x2337(){const _0x452c3c=['885148RDjotd','GZRjE','getBinaryPath','debug','ENV_VAR','close','DOWNLOAD','app:exec','WykMn','GET','./PercyBinary','assign','BROWSERSTACK_TESTHUB_UUID','IsYKK','app','path','version','fetchPercyToken','stop','UwYvs','Error\x20creating\x20percy\x20config:\x20','Percy\x20healthcheck\x20successful','error','token','writeFile','sLJAE','PBAlT','start','4763712Dzfkpg','793827qneNKz','3766424OGaUjT','30542gUIFzO','tSNsX','projectName','PDOwb',':start','percy/healthcheck','tFEUt','healthcheck','CRcsN','exports','percyOptions','exec:stop','uwlhg','../../helpers/performance/performance-tester','data','pipe','VptfB','jCTBr','Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20','winstonLogger','Percy\x20config\x20created\x20at\x20','../logger','tmpdir','createWriteStream','XaPAl','107eRjCAu','MeqPZ','stdout','7itcAyu','createPercyConfig','env','isProcessRunning','nodeRequest','percy.log','qKajZ','PERCY_SERVER_ADDRESS','&type=','Xjldb','HxSRY','SNrsA','end','../../helpers/performance/constants','8027025OenONz','otiqC','api/app_percy/get_project_token?name=','3261024IlTOVj'];a126_0x2337=function(){return _0x452c3c;};return a126_0x2337();}class Percy{#logfile=path['join'](getLogDir(),a126_0xeecbb5(0x11e));#address=process[a126_0xeecbb5(0x11b)][a126_0xeecbb5(0x120)]||'http://localhost:5338';#binaryPath=null;#config=null;#proc=null;#logStream=null;#isApp=![];[a126_0xeecbb5(0x11c)]=![];constructor(_0x2ab0e2){const _0x28cb53=a126_0xeecbb5;this.#config=_0x2ab0e2,!!_0x2ab0e2[_0x28cb53(0xec)]&&(this.#isApp=!![]);}async #getBinaryPath(){const _0x176a7b=a126_0xeecbb5;if(!this.#binaryPath){const _0x47c1f9=new PercyBinary();PerformanceTester[_0x176a7b(0xf9)](PerformanceEvents[_0x176a7b(0x131)]),this.#binaryPath=await _0x47c1f9[_0x176a7b(0x12d)](this.#config),PerformanceTester[_0x176a7b(0x125)](PerformanceEvents['DOWNLOAD']);}return this.#binaryPath;}async #sleep(_0x29cf80){return new Promise(_0x31ad9c=>setTimeout(_0x31ad9c,_0x29cf80));}async[a126_0xeecbb5(0x104)](){const _0x3f1a2a=a126_0xeecbb5,_0x144e2c={};_0x144e2c['Xjldb']=_0x3f1a2a(0x134),_0x144e2c[_0x3f1a2a(0x109)]=_0x3f1a2a(0x102);const _0xa40432=_0x144e2c;try{const _0x1ff7e2=await helper[_0x3f1a2a(0x11d)](_0xa40432[_0x3f1a2a(0x122)],_0xa40432[_0x3f1a2a(0x109)],null,null,this.#address);if(_0x1ff7e2)return!![];}catch(_0x3452b9){return![];}}async[a126_0xeecbb5(0xf9)](){const _0x29a110=a126_0xeecbb5,_0x16c747={'IsYKK':_0x29a110(0x132),'mLdKV':'exec','XaPAl':function(_0x968a36,_0x3d3627,_0x566cd6,_0x445d9b){return _0x968a36(_0x3d3627,_0x566cd6,_0x445d9b);},'MeqPZ':_0x29a110(0x130),'JQpgw':_0x29a110(0xf3)},_0xc160db=await this.#getBinaryPath(),_0x281d1c={};_0x281d1c['flags']='a',this.#logStream=fs[_0x29a110(0x114)](this.#logfile,_0x281d1c);const _0x25aed9=await this['fetchPercyToken'](),_0x5eebaa=await this[_0x29a110(0x11a)]();if(!_0x25aed9)return![];const _0x2e97c1=[(this.#isApp?_0x16c747[_0x29a110(0x138)]:_0x16c747['mLdKV'])+_0x29a110(0x101)];_0x5eebaa&&_0x2e97c1['push']('-c',_0x5eebaa);this.#proc=_0x16c747[_0x29a110(0x115)](spawn,_0xc160db,_0x2e97c1,{'env':Object[_0x29a110(0x136)](process[_0x29a110(0x11b)],{'PERCY_TOKEN':_0x25aed9,'TH_BUILD_UUID':process['env'][testHubConstants[_0x29a110(0x12f)][_0x29a110(0x137)]]})}),this.#proc[_0x29a110(0x118)][_0x29a110(0x10c)](this.#logStream),this.#proc['stderr'][_0x29a110(0x10c)](this.#logStream),this[_0x29a110(0x11c)]=!![];var _0x24bfc4=this;this.#proc['on'](_0x16c747[_0x29a110(0x117)],function(_0x22bae8){_0x24bfc4['isProcessRunning']=![];});do{const _0x4033b6=await this[_0x29a110(0x104)]();if(_0x4033b6)return logger[_0x29a110(0x12e)](_0x16c747['JQpgw']),!![];await this.#sleep(0x3e8);}while(this['isProcessRunning']);return![];}async[a126_0xeecbb5(0xf0)](){const _0x1c3fef=a126_0xeecbb5,_0x311d7e={'EJChl':function(_0x75ffff,_0x323e4e){return _0x75ffff(_0x323e4e);},'GZRjE':function(_0x5a6773,_0x5086cd,_0x250008){return _0x5a6773(_0x5086cd,_0x250008);},'HxSRY':_0x1c3fef(0x108),'PBAlT':_0x1c3fef(0x130)},_0x12c67f=await this.#getBinaryPath();return new Promise((_0x1977ff,_0x189afd)=>{const _0xf062fc=_0x1c3fef,_0x54f1a8={'WykMn':function(_0x3fd416,_0x399202){return _0x311d7e['EJChl'](_0x3fd416,_0x399202);}},_0x28a9e5=_0x311d7e[_0xf062fc(0x12c)](spawn,_0x12c67f,[_0x311d7e[_0xf062fc(0x123)]]);_0x28a9e5['on'](_0x311d7e[_0xf062fc(0xf8)],_0x264246=>{const _0x5c1a17=_0xf062fc;this[_0x5c1a17(0x11c)]=![],this.#logStream&&(this.#logStream[_0x5c1a17(0x125)](),this.#logStream=null),_0x54f1a8[_0x5c1a17(0x133)](_0x1977ff,_0x264246);});});}['isRunning'](){return this['isProcessRunning'];}async[a126_0xeecbb5(0xef)](){const _0x2b3c60=a126_0xeecbb5,_0x42ef99={};_0x42ef99[_0x2b3c60(0x103)]=_0x2b3c60(0xec),_0x42ef99['SNrsA']='automate',_0x42ef99[_0x2b3c60(0xf7)]=_0x2b3c60(0x134),_0x42ef99['UwYvs']='Percy\x20fetch\x20token\x20success';const _0x163f6b=_0x42ef99,_0x3d4fcd=this.#config[_0x2b3c60(0xff)];try{const _0x543fec=this.#isApp?_0x163f6b[_0x2b3c60(0x103)]:_0x163f6b[_0x2b3c60(0x124)],_0x5c0e9a=await helper['nodeRequest'](_0x163f6b[_0x2b3c60(0xf7)],_0x2b3c60(0x129)+_0x3d4fcd+_0x2b3c60(0x121)+_0x543fec,{},this.#config),_0x2bfa63=_0x5c0e9a[_0x2b3c60(0x10b)];return logger['debug'](_0x163f6b[_0x2b3c60(0xf1)]),_0x2bfa63[_0x2b3c60(0xf5)];}catch(_0x503f27){return logger[_0x2b3c60(0xf4)](_0x2b3c60(0x10f)+_0x503f27),null;}}async[a126_0xeecbb5(0x11a)](){const _0x5bf889=a126_0xeecbb5,_0x28c924={'qKajZ':function(_0x32c874,_0xfc421){return _0x32c874(_0xfc421);},'AeXyz':function(_0x2fcda5,_0x33eaf7){return _0x2fcda5+_0x33eaf7;},'jCTBr':_0x5bf889(0x111),'KuotR':function(_0x23a5f5,_0x2d59ff){return _0x23a5f5(_0x2d59ff);},'tSNsX':'percy.json'};if(!this.#config[_0x5bf889(0x107)])return null;const _0x17390f=path['join'](os[_0x5bf889(0x113)](),_0x28c924[_0x5bf889(0xfe)]),_0x170195=this.#config[_0x5bf889(0x107)];return!_0x170195[_0x5bf889(0xee)]&&(_0x170195[_0x5bf889(0xee)]='2'),new Promise((_0x5697dc,_0x1f0cdf)=>{const _0x30c70b=_0x5bf889,_0xe65f87={'VptfB':function(_0x25ec75,_0xc54ee){const _0x22286e=a126_0x3694;return _0x28c924[_0x22286e(0x11f)](_0x25ec75,_0xc54ee);},'CRcsN':function(_0x3d4ae7,_0x1743d6){return _0x28c924['AeXyz'](_0x3d4ae7,_0x1743d6);},'PDOwb':_0x28c924[_0x30c70b(0x10e)],'otiqC':function(_0x314d20,_0x922a9a){return _0x28c924['KuotR'](_0x314d20,_0x922a9a);}};fs[_0x30c70b(0xf6)](_0x17390f,JSON['stringify'](_0x170195),_0x4a2d9f=>{const _0x451224=_0x30c70b;_0x4a2d9f&&(logger[_0x451224(0xf4)](_0x451224(0xf2)+_0x4a2d9f),_0xe65f87[_0x451224(0x10d)](_0x5697dc,null)),logger[_0x451224(0x12e)](_0xe65f87[_0x451224(0x105)](_0xe65f87[_0x451224(0x100)],_0x17390f)),_0xe65f87[_0x451224(0x128)](_0x5697dc,_0x17390f);});});}}module[a126_0xeecbb5(0x106)]=Percy;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a126_0x1cb44c=a126_0x2aa6;function a126_0x5abd(){const _0x33ac7e=['FceSm','download','dSEid','path','gNKig','TmxOS','MgHOr','binaryPath','Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)','cQGcz','R_OK','platform','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20','USERPROFILE','warn','ScASR','SqoVt','DYtNY','readFileSync','esAzN','5025VmkJGf','qbTzc','eZZoA','.browserstack','8zuOOva','ybdts','undefined','obTZL','agent','error','GAIDb','https-proxy-agent','needsUpdate','catch','FkXtD','iXnfY','SksFa','join','writeFileSync','linux','YeCAT','Connection','url','headers','entry','lazyEntries','NvVPx','pipe','USERNAME','LsePl','UDxCS','ngLYi','statusCode','close','0755','end','281896BCMdEc','OmkGt','debug','Znyee','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','/home/','Error\x20trying\x20to\x20download\x20percy\x20binary','/percy-win.zip','3829110tTfkZh','JlMXv','darwin','etag','data','chmod','percy.exe','trim','exports','srLOE','readEntry','function','follow-redirects','icBmx','useCaCertificate','yauzl','Failed\x20to\x20read\x20ETag\x20file:\x20','olUik','/Users/','TUhrm','uVTFR','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20','LNAME','vuvtS','wuPCT','ATfXR','lAirR','mzFqx','zoaXz','port','OzzSk','proxyPort','AzGjs','Saved\x20new\x20ETag\x20for\x20percy\x20binary','--version','1606785xXIVpo','validateBinary','win32','../logger','uHgZG','rFETg','ZrPcQ','tdpVa','env','createWriteStream','HfEwp','Failed\x20to\x20save\x20ETag\x20file:\x20','mkdirSync','percy','child_process','If-None-Match','proxyHost','HOME','length','7228134pYSeQb','fileName','CFOOW','openReadStream','test','get','W_OK','3117751ULSqXg','.etag','parse','CUzvx','vbaVL','159912wtsEdZ','accessSync','nnXxW','10umyJOi','aCKPB','irzcG','open','extractAndSaveBinary','/percy-linux.zip','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20','CxeYW','RBlpO','cwd','stdout','once','HOMEDRIVE','https://github.com/percy/cli/releases/latest/download','destroy','match','1478Qrketn','LOGNAME','getuid','zZHpM','zcoux'];a126_0x5abd=function(){return _0x33ac7e;};return a126_0x5abd();}(function(_0x34aef6,_0x4278aa){const _0xa472da=a126_0x2aa6,_0x13e3af=_0x34aef6();while(!![]){try{const _0x10c318=parseInt(_0xa472da(0xb5))/0x1+-parseInt(_0xa472da(0x78))/0x2*(parseInt(_0xa472da(0x91))/0x3)+-parseInt(_0xa472da(0x95))/0x4*(-parseInt(_0xa472da(0xe0))/0x5)+parseInt(_0xa472da(0xbd))/0x6+-parseInt(_0xa472da(0xfa))/0x7+-parseInt(_0xa472da(0xff))/0x8+-parseInt(_0xa472da(0xf3))/0x9*(-parseInt(_0xa472da(0x68))/0xa);if(_0x10c318===_0x4278aa)break;else _0x13e3af['push'](_0x13e3af['shift']());}catch(_0xb70805){_0x13e3af['push'](_0x13e3af['shift']());}}}(a126_0x5abd,0xa1cba));const {https}=require(a126_0x1cb44c(0xc9)),url=require(a126_0x1cb44c(0xa7)),yauzl=require(a126_0x1cb44c(0xcc)),fs=require('fs'),path=require(a126_0x1cb44c(0x80)),os=require('os'),{spawn}=require(a126_0x1cb44c(0xee)),HttpsProxyAgent=require(a126_0x1cb44c(0x9c)),logger=require(a126_0x1cb44c(0xe3))['winstonLogger'];class PercyBinary{#hostOS=process[a126_0x1cb44c(0x88)];#httpPath=null;#binaryName=a126_0x1cb44c(0xed);#orderedPaths=[path[a126_0x1cb44c(0xa2)](this.#homedir(),a126_0x1cb44c(0x94)),process[a126_0x1cb44c(0x71)](),os['tmpdir']()];constructor(){const _0x25ee25=a126_0x1cb44c,_0x45a9eb={};_0x45a9eb[_0x25ee25(0xe6)]=_0x25ee25(0x75),_0x45a9eb['Ossjk']=function(_0x3a8277,_0x20f9a7){return _0x3a8277+_0x20f9a7;},_0x45a9eb[_0x25ee25(0x7c)]='/percy-osx.zip',_0x45a9eb[_0x25ee25(0xfd)]=_0x25ee25(0xbc),_0x45a9eb[_0x25ee25(0x8e)]=_0x25ee25(0xc3),_0x45a9eb[_0x25ee25(0xd4)]=function(_0x483b3b,_0x19dd84){return _0x483b3b+_0x19dd84;},_0x45a9eb[_0x25ee25(0xd8)]=_0x25ee25(0x6d);const _0x1847ab=_0x45a9eb,_0x163805=_0x1847ab[_0x25ee25(0xe6)];if(this.#hostOS[_0x25ee25(0x77)](/darwin|mac os/i))this.#httpPath=_0x1847ab['Ossjk'](_0x163805,_0x1847ab[_0x25ee25(0x7c)]);else this.#hostOS[_0x25ee25(0x77)](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x1847ab['Ossjk'](_0x163805,_0x1847ab[_0x25ee25(0xfd)]),this.#binaryName=_0x1847ab['DYtNY']):this.#httpPath=_0x1847ab[_0x25ee25(0xd4)](_0x163805,_0x1847ab[_0x25ee25(0xd8)]);}#getAvailableDirs(){const _0x11eed7=a126_0x1cb44c,_0x5074a7={};_0x5074a7[_0x11eed7(0xd6)]=function(_0x4d63a5,_0x3d8320){return _0x4d63a5<_0x3d8320;},_0x5074a7[_0x11eed7(0xc6)]=_0x11eed7(0xbb);const _0x56e165=_0x5074a7;for(var _0x1f9341=0x0;_0x56e165[_0x11eed7(0xd6)](_0x1f9341,this.#orderedPaths[_0x11eed7(0xf2)]);_0x1f9341++){var _0x4cf7d6=this.#orderedPaths[_0x1f9341];if(this.#makePath(_0x4cf7d6))return _0x4cf7d6;}throw new Error(_0x56e165[_0x11eed7(0xc6)]);}#makePath(_0x39cbb7){try{return _0x39cbb7&&!this.#checkPath(_0x39cbb7)&&fs['mkdirSync'](_0x39cbb7),!![];}catch{return![];}}#checkPath(_0x3d377f,_0x1ad625){const _0x3da06b=a126_0x1cb44c,_0x26fb41={};_0x26fb41[_0x3da06b(0x8d)]=function(_0x1c96e2,_0x247e11){return _0x1c96e2|_0x247e11;},_0x26fb41['QryTG']=function(_0x2278b8,_0x510654){return _0x2278b8!==_0x510654;},_0x26fb41[_0x3da06b(0x86)]=_0x3da06b(0x97);const _0x395584=_0x26fb41;_0x1ad625=_0x1ad625||_0x395584['SqoVt'](fs[_0x3da06b(0x87)],fs[_0x3da06b(0xf9)]);try{return fs[_0x3da06b(0x100)](_0x3d377f,_0x1ad625),!![];}catch(_0x4b0e55){if(_0x395584['QryTG'](typeof fs[_0x3da06b(0x100)],_0x395584['cQGcz']))return![];try{return fs['statSync'](_0x3d377f),!![];}catch(_0x1614fc){return![];}}}#getETagPath(_0xc540fd){const _0x5cd56b=a126_0x1cb44c;return path['join'](_0xc540fd,this.#binaryName+_0x5cd56b(0xfb));}#loadETag(_0x48964b){const _0x233e73=a126_0x1cb44c,_0x41f9dc={};_0x41f9dc[_0x233e73(0x93)]='utf8';const _0x5a8f10=_0x41f9dc,_0x52d2b0=this.#getETagPath(_0x48964b);if(this.#checkPath(_0x52d2b0))try{return fs[_0x233e73(0x8f)](_0x52d2b0,_0x5a8f10[_0x233e73(0x93)])[_0x233e73(0xc4)]();}catch(_0x1055b2){logger[_0x233e73(0x8b)](_0x233e73(0xcd)+_0x1055b2);}return null;}#saveETag(_0x45e1d5,_0x4497e5){const _0x3199e1=a126_0x1cb44c,_0x4048b3={};_0x4048b3[_0x3199e1(0xe5)]=_0x3199e1(0xde);const _0x1197e8=_0x4048b3;if(!_0x4497e5)return;try{const _0x156601=this.#getETagPath(_0x45e1d5);fs[_0x3199e1(0xa3)](_0x156601,_0x4497e5),logger['debug'](_0x1197e8[_0x3199e1(0xe5)]);}catch(_0xea3756){logger[_0x3199e1(0x8b)](_0x3199e1(0xeb)+_0xea3756);}}async #handleBinaryDownload(_0x5d1b6,_0x12aa9b,_0x2983ab){const _0x5c720b=a126_0x1cb44c,_0x311cc5={};_0x311cc5[_0x5c720b(0xbe)]=_0x5c720b(0xb9);const _0x29cf93=_0x311cc5,_0x3bc3f3=await this[_0x5c720b(0xe1)](_0x5d1b6[_0x5c720b(0x84)]);if(!_0x3bc3f3){logger['error'](_0x29cf93[_0x5c720b(0xbe)]);const _0x785373=await this[_0x5c720b(0x7e)](_0x12aa9b,_0x2983ab);return _0x785373[_0x5c720b(0x84)];}return _0x5d1b6[_0x5c720b(0x84)];}async['getBinaryPath'](_0xf944e8){const _0x2d17c4=a126_0x1cb44c,_0x2527e1={};_0x2527e1[_0x2d17c4(0xca)]=_0x2d17c4(0x85),_0x2527e1[_0x2d17c4(0x82)]='New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update';const _0xb8848a=_0x2527e1,_0x414a69=this.#getAvailableDirs(),_0x9580ad=path['join'](_0x414a69,this.#binaryName);if(this.#checkPath(_0x9580ad,fs['X_OK'])){const _0x3dc5c2=this.#loadETag(_0x414a69);if(_0x3dc5c2)try{const _0x23a05a=await this['download'](_0xf944e8,_0x414a69,_0x3dc5c2);if(!_0x23a05a[_0x2d17c4(0x9d)])return logger[_0x2d17c4(0xb7)](_0xb8848a[_0x2d17c4(0xca)]),_0x9580ad;return logger[_0x2d17c4(0xb7)](_0xb8848a[_0x2d17c4(0x82)]),await this.#handleBinaryDownload(_0x23a05a,_0xf944e8,_0x414a69);}catch(_0x52bdef){return logger[_0x2d17c4(0x8b)]('Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20'+_0x52bdef),_0x9580ad;}}const _0x3e1ec7=await this['download'](_0xf944e8,_0x414a69);return await this.#handleBinaryDownload(_0x3e1ec7,_0xf944e8,_0x414a69);}['download'](_0x3c3484,_0x388fcb,_0x126a11=null){const _0x45fd98=a126_0x1cb44c,_0x36c5b5={'aCKPB':function(_0xca19ef,_0x101095){return _0xca19ef(_0x101095);},'LHqvr':function(_0xccedae,_0x3bf435){return _0xccedae===_0x3bf435;},'ybdts':function(_0x2d77cd,_0x250538){return _0x2d77cd(_0x250538);},'uHgZG':_0x45fd98(0x9a),'irzcG':_0x45fd98(0xb2),'RBlpO':function(_0x43900d,_0x11cde8){return _0x43900d(_0x11cde8);},'wlGCE':function(_0x29cfb9,_0xa02018){return _0x29cfb9(_0xa02018);},'frLCw':function(_0x10fd29,_0x2eb651){return _0x10fd29+_0x2eb651;},'tdpVa':'.zip'};_0x388fcb&&!this.#checkPath(_0x388fcb)&&fs[_0x45fd98(0xec)](_0x388fcb);const _0x5a2371=this.#binaryName,_0x2c02a0=path[_0x45fd98(0xa2)](_0x388fcb,_0x36c5b5['frLCw'](_0x5a2371,_0x36c5b5[_0x45fd98(0xe7)])),_0x5da1c3=fs[_0x45fd98(0xe9)](_0x2c02a0),_0x59c51d=url[_0x45fd98(0xfc)](this.#httpPath);if(_0x3c3484[_0x45fd98(0xf0)]&&_0x3c3484[_0x45fd98(0xdc)]){const _0x96c930={};_0x96c930['host']=_0x3c3484[_0x45fd98(0xf0)],_0x96c930[_0x45fd98(0xda)]=_0x3c3484[_0x45fd98(0xdc)],_0x59c51d[_0x45fd98(0x99)]=new HttpsProxyAgent(_0x96c930);}if(_0x3c3484['useCaCertificate'])try{_0x59c51d['ca']=fs[_0x45fd98(0x8f)](_0x3c3484[_0x45fd98(0xcb)]);}catch(_0x13c4b5){logger['error'](_0x45fd98(0x6e)+_0x13c4b5);}if(_0x126a11){const _0x529faa={};_0x529faa[_0x45fd98(0xef)]=_0x126a11,_0x529faa[_0x45fd98(0xa6)]=_0x36c5b5[_0x45fd98(0x6a)],_0x59c51d[_0x45fd98(0xa8)]=_0x529faa;}else{const _0x4824c2={};_0x4824c2[_0x45fd98(0xa6)]=_0x36c5b5[_0x45fd98(0x6a)],_0x59c51d[_0x45fd98(0xa8)]=_0x4824c2;}return new Promise((_0x58064,_0x5eaed3)=>{const _0x5074d2=_0x45fd98,_0x153458={'UDxCS':function(_0x43572e,_0xae41c8){return _0x36c5b5['wlGCE'](_0x43572e,_0xae41c8);}};https[_0x5074d2(0xf8)](_0x59c51d,_0x3ea69f=>{const _0x44a69e=_0x5074d2,_0x4cfa27={'nnXxW':function(_0x17de81,_0x50c9b4){const _0x4090fb=a126_0x2aa6;return _0x36c5b5[_0x4090fb(0x69)](_0x17de81,_0x50c9b4);}};if(_0x126a11&&_0x36c5b5['LHqvr'](_0x3ea69f[_0x44a69e(0xb1)],0x130)){_0x5da1c3[_0x44a69e(0x76)]();const _0x1e93f6={};_0x1e93f6[_0x44a69e(0x9d)]=![],_0x36c5b5[_0x44a69e(0x96)](_0x58064,_0x1e93f6);return;}const _0x1dc716=_0x3ea69f[_0x44a69e(0xa8)][_0x44a69e(0xc0)];_0x1dc716&&this.#saveETag(_0x388fcb,_0x1dc716),_0x3ea69f[_0x44a69e(0xac)](_0x5da1c3),_0x3ea69f['on'](_0x36c5b5[_0x44a69e(0xe4)],function(_0x20e6fb){const _0x47c5d7=_0x44a69e;logger[_0x47c5d7(0x9a)](_0x47c5d7(0xd2)+_0x20e6fb),_0x153458[_0x47c5d7(0xaf)](_0x5eaed3,_0x20e6fb);}),_0x5da1c3['on'](_0x36c5b5['uHgZG'],function(_0x3b9484){const _0x18c0f3=_0x44a69e;logger['error']('Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20'+_0x3b9484),_0x4cfa27[_0x18c0f3(0x67)](_0x5eaed3,_0x3b9484);}),_0x5da1c3['on'](_0x36c5b5[_0x44a69e(0x6a)],()=>{const _0x45f572=_0x44a69e;this['extractAndSaveBinary'](_0x2c02a0,_0x388fcb)['then'](_0x2c1146=>_0x58064({'needsUpdate':!![],'binaryPath':_0x2c1146}))[_0x45f572(0x9e)](_0x5eaed3);});})['on'](_0x36c5b5[_0x5074d2(0xe4)],function(_0x379afa){const _0x31df86=_0x5074d2;logger[_0x31df86(0x9a)](_0x31df86(0x89)+_0x379afa),_0x36c5b5[_0x31df86(0x70)](_0x5eaed3,_0x379afa);});});}[a126_0x1cb44c(0x6c)](_0x29b825,_0x24c723){const _0xf0fb60=a126_0x1cb44c,_0x1c0a50={'zZHpM':function(_0x4690f1,_0x27d3d){return _0x4690f1(_0x27d3d);},'RHVDG':_0xf0fb60(0xb4),'LsePl':function(_0x43b897,_0x31b2f3){return _0x43b897===_0x31b2f3;},'esAzN':_0xf0fb60(0xb3),'NvVPx':_0xf0fb60(0xa9),'uVTFR':'error'},_0x3c7a32=this.#binaryName,_0x5f21aa=path[_0xf0fb60(0xa2)](_0x24c723,_0x3c7a32);return new Promise((_0xd4020d,_0x247790)=>{const _0x549892=_0xf0fb60,_0xa12773={'CxeYW':function(_0x370754,_0x5acfcc){const _0x2c7c2a=a126_0x2aa6;return _0x1c0a50[_0x2c7c2a(0x7b)](_0x370754,_0x5acfcc);},'TUhrm':_0x1c0a50['RHVDG'],'wuPCT':function(_0x5ba354,_0x298063){const _0x2f09a6=a126_0x2aa6;return _0x1c0a50[_0x2f09a6(0xae)](_0x5ba354,_0x298063);},'SksFa':_0x1c0a50[_0x549892(0x90)],'FceSm':function(_0x2cd493,_0x1e41a7){return _0x1c0a50['zZHpM'](_0x2cd493,_0x1e41a7);},'qbTzc':_0x1c0a50[_0x549892(0xab)],'olUik':_0x1c0a50[_0x549892(0xd1)]},_0x11b0ed={};_0x11b0ed[_0x549892(0xaa)]=!![],yauzl[_0x549892(0x6b)](_0x29b825,_0x11b0ed,function(_0x352a6a,_0x3ad09e){const _0x2af361=_0x549892,_0x3d7d76={'FkXtD':function(_0x605e05,_0x56939f){const _0x5339f2=a126_0x2aa6;return _0xa12773[_0x5339f2(0x6f)](_0x605e05,_0x56939f);},'zeSiJ':_0xa12773[_0x2af361(0xd0)],'ScASR':function(_0x435f41,_0x2ec571){const _0xa09d9e=_0x2af361;return _0xa12773[_0xa09d9e(0xd5)](_0x435f41,_0x2ec571);},'sDgMN':_0xa12773[_0x2af361(0xa1)]};_0x352a6a&&_0xa12773[_0x2af361(0x7d)](_0x247790,_0x352a6a),_0x3ad09e[_0x2af361(0xc7)](),_0x3ad09e['on'](_0xa12773[_0x2af361(0x92)],_0x1efd39=>{const _0x14f8fa=_0x2af361;if(/\/$/[_0x14f8fa(0xf7)](_0x1efd39[_0x14f8fa(0xf4)]))_0x3ad09e[_0x14f8fa(0xc7)]();else{const _0x800ab=fs['createWriteStream'](path[_0x14f8fa(0xa2)](_0x24c723,_0x1efd39['fileName']));_0x3ad09e[_0x14f8fa(0xf6)](_0x1efd39,function(_0x2c45d2,_0x4ef929){const _0xe0661f=_0x14f8fa;_0x2c45d2&&_0x3d7d76[_0xe0661f(0x9f)](_0x247790,_0x352a6a),_0x4ef929['on'](_0x3d7d76['zeSiJ'],function(){const _0x487d3f=_0xe0661f;_0x800ab['close'](),_0x3ad09e[_0x487d3f(0xc7)]();}),_0x4ef929[_0xe0661f(0xac)](_0x800ab);}),_0x3d7d76[_0x14f8fa(0x8c)](_0x1efd39[_0x14f8fa(0xf4)],_0x3c7a32)&&_0x3ad09e['close']();}}),_0x3ad09e['on'](_0xa12773[_0x2af361(0xce)],_0x2cbb1a=>{const _0x13d290=_0x2af361;_0x3d7d76[_0x13d290(0x9f)](_0x247790,_0x2cbb1a);}),_0x3ad09e[_0x2af361(0x73)](_0xa12773[_0x2af361(0xd0)],()=>{const _0x98b4b7=_0x2af361;fs[_0x98b4b7(0xc2)](_0x5f21aa,_0x3d7d76['sDgMN'],function(_0x56fad1){const _0x54edef=_0x98b4b7;_0x56fad1&&_0x3d7d76[_0x54edef(0x9f)](_0x247790,_0x56fad1),_0x3d7d76[_0x54edef(0x9f)](_0xd4020d,_0x5f21aa);}),_0x3ad09e[_0x98b4b7(0xb2)]();});});});}async[a126_0x1cb44c(0xe1)](_0x388bcf){const _0xaa3ae1=a126_0x1cb44c,_0x4d6535={'vbaVL':function(_0x36f521,_0x5bb27b){return _0x36f521(_0x5bb27b);},'zoaXz':function(_0x50a957,_0xad9047){return _0x50a957(_0xad9047);},'lAirR':function(_0x3d1b48,_0x1f965a,_0x164e28,_0x1783ee){return _0x3d1b48(_0x1f965a,_0x164e28,_0x1783ee);},'obTZL':_0xaa3ae1(0xdf),'ngLYi':_0xaa3ae1(0xc1),'MgHOr':_0xaa3ae1(0xb2)},_0x53da14=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x4fd8cf,_0x1cfea3)=>{const _0x445f6d=_0xaa3ae1,_0x33b471={};_0x33b471[_0x445f6d(0xe8)]=process[_0x445f6d(0xe8)];const _0x2fe309=_0x4d6535[_0x445f6d(0xd7)](spawn,_0x388bcf,[_0x4d6535[_0x445f6d(0x98)]],_0x33b471);_0x2fe309[_0x445f6d(0x72)]['on'](_0x4d6535[_0x445f6d(0xb0)],_0x11a39f=>{const _0x32de53=_0x445f6d;_0x53da14[_0x32de53(0xf7)](_0x11a39f)&&_0x4d6535[_0x32de53(0xfe)](_0x4fd8cf,!![]);}),_0x2fe309['on'](_0x4d6535[_0x445f6d(0x83)],()=>{const _0x323a2b=_0x445f6d;_0x4d6535[_0x323a2b(0xd9)](_0x4fd8cf,![]);});});}#homedir(){const _0x110aa6=a126_0x1cb44c,_0x28936c={};_0x28936c[_0x110aa6(0xdb)]=function(_0x421843,_0x4b0190){return _0x421843===_0x4b0190;},_0x28936c[_0x110aa6(0xa0)]=_0x110aa6(0xc8),_0x28936c['CFOOW']=function(_0x273065,_0x50dda2){return _0x273065===_0x50dda2;},_0x28936c['wrVKb']=_0x110aa6(0xe2),_0x28936c[_0x110aa6(0x81)]=function(_0xaa7198,_0xca1fad){return _0xaa7198+_0xca1fad;},_0x28936c[_0x110aa6(0xb8)]=_0x110aa6(0xbf),_0x28936c[_0x110aa6(0x7f)]=function(_0x321943,_0x3ff88c){return _0x321943+_0x3ff88c;},_0x28936c['HfEwp']=_0x110aa6(0xcf),_0x28936c[_0x110aa6(0xdd)]=_0x110aa6(0xa4),_0x28936c['pTMAz']='/root',_0x28936c[_0x110aa6(0x9b)]=function(_0x3390a0,_0x2d1f5e){return _0x3390a0+_0x2d1f5e;},_0x28936c[_0x110aa6(0xb6)]=_0x110aa6(0xba),_0x28936c[_0x110aa6(0xa5)]=function(_0x1335bc,_0x3d85c4){return _0x1335bc||_0x3d85c4;};const _0x2f31dd=_0x28936c;if(_0x2f31dd[_0x110aa6(0xdb)](typeof os['homedir'],_0x2f31dd['iXnfY']))return os['homedir']();const _0x1598e2=process[_0x110aa6(0xe8)],_0x4339de=_0x1598e2[_0x110aa6(0xf1)],_0x3d4e16=_0x1598e2[_0x110aa6(0x79)]||_0x1598e2['USER']||_0x1598e2[_0x110aa6(0xd3)]||_0x1598e2[_0x110aa6(0xad)];if(_0x2f31dd[_0x110aa6(0xf5)](process[_0x110aa6(0x88)],_0x2f31dd['wrVKb']))return _0x1598e2[_0x110aa6(0x8a)]||_0x2f31dd[_0x110aa6(0x81)](_0x1598e2[_0x110aa6(0x74)],_0x1598e2['HOMEPATH'])||_0x4339de||null;if(_0x2f31dd[_0x110aa6(0xdb)](process[_0x110aa6(0x88)],_0x2f31dd['Znyee']))return _0x4339de||(_0x3d4e16?_0x2f31dd['dSEid'](_0x2f31dd[_0x110aa6(0xea)],_0x3d4e16):null);if(_0x2f31dd[_0x110aa6(0xf5)](process[_0x110aa6(0x88)],_0x2f31dd['AzGjs']))return _0x4339de||(_0x2f31dd[_0x110aa6(0xdb)](process[_0x110aa6(0x7a)](),0x0)?_0x2f31dd['pTMAz']:_0x3d4e16?_0x2f31dd[_0x110aa6(0x9b)](_0x2f31dd[_0x110aa6(0xb6)],_0x3d4e16):null);return _0x2f31dd[_0x110aa6(0xa5)](_0x4339de,null);}}function a126_0x2aa6(_0xb119b9,_0x121738){const _0x5abd56=a126_0x5abd();return a126_0x2aa6=function(_0x2aa622,_0x4be853){_0x2aa622=_0x2aa622-0x67;let _0x55635c=_0x5abd56[_0x2aa622];return _0x55635c;},a126_0x2aa6(_0xb119b9,_0x121738);}module[a126_0x1cb44c(0xc5)]=PercyBinary;
|
|
1
|
+
const a127_0x374360=a127_0x189d;(function(_0x11e1ba,_0x225b9c){const _0x3b33cc=a127_0x189d,_0x4a67d4=_0x11e1ba();while(!![]){try{const _0xa972fc=parseInt(_0x3b33cc(0x13d))/0x1+parseInt(_0x3b33cc(0x143))/0x2+parseInt(_0x3b33cc(0x116))/0x3+-parseInt(_0x3b33cc(0xb9))/0x4+parseInt(_0x3b33cc(0x125))/0x5*(-parseInt(_0x3b33cc(0x142))/0x6)+-parseInt(_0x3b33cc(0xcb))/0x7+parseInt(_0x3b33cc(0xfc))/0x8;if(_0xa972fc===_0x225b9c)break;else _0x4a67d4['push'](_0x4a67d4['shift']());}catch(_0x307c26){_0x4a67d4['push'](_0x4a67d4['shift']());}}}(a127_0x6546,0xa062a));const {https}=require(a127_0x374360(0xef)),url=require(a127_0x374360(0x11d)),yauzl=require(a127_0x374360(0x11f)),fs=require('fs'),path=require('path'),os=require('os'),{spawn}=require(a127_0x374360(0x117)),HttpsProxyAgent=require('https-proxy-agent'),logger=require('../logger')[a127_0x374360(0xd8)];class PercyBinary{#hostOS=process[a127_0x374360(0xf1)];#httpPath=null;#binaryName=a127_0x374360(0x11c);#orderedPaths=[path[a127_0x374360(0xec)](this.#homedir(),'.browserstack'),process['cwd'](),os[a127_0x374360(0x147)]()];constructor(){const _0x5d0d2c=a127_0x374360,_0x3121f5={};_0x3121f5[_0x5d0d2c(0x10a)]=_0x5d0d2c(0xcc),_0x3121f5['dJVed']=function(_0x23f60c,_0x1d62c2){return _0x23f60c+_0x1d62c2;},_0x3121f5[_0x5d0d2c(0xde)]=_0x5d0d2c(0xf7),_0x3121f5[_0x5d0d2c(0x149)]=function(_0x17607e,_0x882aa2){return _0x17607e+_0x882aa2;},_0x3121f5['fgHYO']=_0x5d0d2c(0xd0),_0x3121f5[_0x5d0d2c(0xc8)]=_0x5d0d2c(0x126),_0x3121f5[_0x5d0d2c(0x115)]=function(_0x10b0e0,_0x3ecb2e){return _0x10b0e0+_0x3ecb2e;},_0x3121f5['Ozhuv']='/percy-linux.zip';const _0x183eda=_0x3121f5,_0x3ef859=_0x183eda['Jzvjv'];if(this.#hostOS[_0x5d0d2c(0xc9)](/darwin|mac os/i))this.#httpPath=_0x183eda[_0x5d0d2c(0x103)](_0x3ef859,_0x183eda[_0x5d0d2c(0xde)]);else this.#hostOS['match'](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x183eda[_0x5d0d2c(0x149)](_0x3ef859,_0x183eda[_0x5d0d2c(0x123)]),this.#binaryName=_0x183eda[_0x5d0d2c(0xc8)]):this.#httpPath=_0x183eda['saYwP'](_0x3ef859,_0x183eda[_0x5d0d2c(0xbf)]);}#getAvailableDirs(){const _0x57696f=a127_0x374360,_0x470c38={};_0x470c38[_0x57696f(0xf5)]=function(_0x3060ae,_0x3e0c5f){return _0x3060ae<_0x3e0c5f;},_0x470c38[_0x57696f(0xd6)]=_0x57696f(0xd7);const _0x16caa1=_0x470c38;for(var _0x5ed003=0x0;_0x16caa1[_0x57696f(0xf5)](_0x5ed003,this.#orderedPaths[_0x57696f(0xf0)]);_0x5ed003++){var _0x51e7be=this.#orderedPaths[_0x5ed003];if(this.#makePath(_0x51e7be))return _0x51e7be;}throw new Error(_0x16caa1[_0x57696f(0xd6)]);}#makePath(_0xc69243){const _0x191088=a127_0x374360;try{return _0xc69243&&!this.#checkPath(_0xc69243)&&fs[_0x191088(0x10b)](_0xc69243),!![];}catch{return![];}}#checkPath(_0x1b4c03,_0x1cc915){const _0x444e68=a127_0x374360,_0x52dc80={};_0x52dc80[_0x444e68(0x107)]=function(_0x1a92a9,_0x37fba6){return _0x1a92a9|_0x37fba6;},_0x52dc80[_0x444e68(0xd4)]=function(_0xa8b931,_0x5ac55f){return _0xa8b931!==_0x5ac55f;},_0x52dc80[_0x444e68(0xc3)]=_0x444e68(0xe2);const _0x3d04cd=_0x52dc80;_0x1cc915=_0x1cc915||_0x3d04cd[_0x444e68(0x107)](fs['R_OK'],fs[_0x444e68(0xfe)]);try{return fs[_0x444e68(0xeb)](_0x1b4c03,_0x1cc915),!![];}catch(_0x523b6e){if(_0x3d04cd[_0x444e68(0xd4)](typeof fs[_0x444e68(0xeb)],_0x3d04cd[_0x444e68(0xc3)]))return![];try{return fs[_0x444e68(0xe5)](_0x1b4c03),!![];}catch(_0x362ca5){return![];}}}#getETagPath(_0x3cd894){const _0x1ca848=a127_0x374360;return path[_0x1ca848(0xec)](_0x3cd894,this.#binaryName+_0x1ca848(0xe6));}#loadETag(_0x56b3bc){const _0x7a1a62=a127_0x374360,_0x37567d={};_0x37567d[_0x7a1a62(0x12a)]=_0x7a1a62(0x146);const _0x31221f=_0x37567d,_0x8d3e11=this.#getETagPath(_0x56b3bc);if(this.#checkPath(_0x8d3e11))try{return fs[_0x7a1a62(0xf6)](_0x8d3e11,_0x31221f[_0x7a1a62(0x12a)])['trim']();}catch(_0x4d1c58){logger[_0x7a1a62(0xf8)](_0x7a1a62(0xca)+_0x4d1c58);}return null;}#saveETag(_0x1cfbd9,_0x40f030){const _0x186f5a=a127_0x374360,_0x40a680={};_0x40a680[_0x186f5a(0x10c)]='Saved\x20new\x20ETag\x20for\x20percy\x20binary';const _0x561351=_0x40a680;if(!_0x40f030)return;try{const _0x5be421=this.#getETagPath(_0x1cfbd9);fs[_0x186f5a(0xed)](_0x5be421,_0x40f030),logger[_0x186f5a(0xbb)](_0x561351[_0x186f5a(0x10c)]);}catch(_0x3f138a){logger[_0x186f5a(0xf8)](_0x186f5a(0x122)+_0x3f138a);}}async #handleBinaryDownload(_0x51e0e6,_0x123698,_0x4127fd){const _0x398814=a127_0x374360,_0x58a067={};_0x58a067[_0x398814(0x112)]=_0x398814(0xc7);const _0x25c2a7=_0x58a067,_0x1618cd=await this[_0x398814(0x128)](_0x51e0e6[_0x398814(0x12b)]);if(!_0x1618cd){logger[_0x398814(0x101)](_0x25c2a7[_0x398814(0x112)]);const _0x29b7eb=await this[_0x398814(0x13a)](_0x123698,_0x4127fd);return _0x29b7eb[_0x398814(0x12b)];}return _0x51e0e6[_0x398814(0x12b)];}async['getBinaryPath'](_0x202905){const _0x2bbbfc=a127_0x374360,_0x1d2632={};_0x1d2632[_0x2bbbfc(0x14f)]=_0x2bbbfc(0x14e),_0x1d2632['XFFBi']=_0x2bbbfc(0x132);const _0x29126a=_0x1d2632,_0x46484b=this.#getAvailableDirs(),_0x3a23cc=path[_0x2bbbfc(0xec)](_0x46484b,this.#binaryName);if(this.#checkPath(_0x3a23cc,fs[_0x2bbbfc(0x111)])){const _0x35d472=this.#loadETag(_0x46484b);if(_0x35d472)try{const _0x329f05=await this[_0x2bbbfc(0x13a)](_0x202905,_0x46484b,_0x35d472);if(!_0x329f05[_0x2bbbfc(0xcd)])return logger['debug'](_0x29126a[_0x2bbbfc(0x14f)]),_0x3a23cc;return logger['debug'](_0x29126a[_0x2bbbfc(0x139)]),await this.#handleBinaryDownload(_0x329f05,_0x202905,_0x46484b);}catch(_0x1486b6){return logger[_0x2bbbfc(0xf8)]('Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20'+_0x1486b6),_0x3a23cc;}}const _0xae3d12=await this[_0x2bbbfc(0x13a)](_0x202905,_0x46484b);return await this.#handleBinaryDownload(_0xae3d12,_0x202905,_0x46484b);}[a127_0x374360(0x13a)](_0x372791,_0x4f3094,_0x441759=null){const _0x29d060=a127_0x374360,_0x4cbfe5={'IdGhd':function(_0x24e42f,_0x5a1723){return _0x24e42f(_0x5a1723);},'SfiqL':function(_0x1b29d0,_0x197b4e){return _0x1b29d0===_0x197b4e;},'jeICU':_0x29d060(0x101),'MnFEC':_0x29d060(0x135),'fFyyB':function(_0x37ee1a,_0x212700){return _0x37ee1a+_0x212700;},'XGMOn':_0x29d060(0xd3)};_0x4f3094&&!this.#checkPath(_0x4f3094)&&fs[_0x29d060(0x10b)](_0x4f3094);const _0x1ea842=this.#binaryName,_0x28d8dd=path[_0x29d060(0xec)](_0x4f3094,_0x4cbfe5[_0x29d060(0xbd)](_0x1ea842,_0x4cbfe5[_0x29d060(0x14c)])),_0x180531=fs[_0x29d060(0x14b)](_0x28d8dd),_0x440519=url[_0x29d060(0xee)](this.#httpPath);if(_0x372791[_0x29d060(0xe7)]&&_0x372791[_0x29d060(0xbe)]){const _0x40dc22={};_0x40dc22[_0x29d060(0x14d)]=_0x372791[_0x29d060(0xe7)],_0x40dc22[_0x29d060(0x141)]=_0x372791['proxyPort'],_0x440519['agent']=new HttpsProxyAgent(_0x40dc22);}if(_0x372791[_0x29d060(0x114)])try{_0x440519['ca']=fs['readFileSync'](_0x372791[_0x29d060(0x114)]);}catch(_0x400066){logger[_0x29d060(0x101)](_0x29d060(0xd5)+_0x400066);}if(_0x441759){const _0x37ac39={};_0x37ac39[_0x29d060(0x106)]=_0x441759,_0x37ac39[_0x29d060(0x13b)]=_0x4cbfe5[_0x29d060(0x113)],_0x440519[_0x29d060(0xd1)]=_0x37ac39;}else{const _0x51c8c1={};_0x51c8c1[_0x29d060(0x13b)]=_0x4cbfe5['MnFEC'],_0x440519['headers']=_0x51c8c1;}return new Promise((_0x442461,_0x2b9d1c)=>{const _0x457b74=_0x29d060,_0x2e2f23={'biBca':function(_0x4784b4,_0x17ec40){const _0x4a2917=a127_0x189d;return _0x4cbfe5[_0x4a2917(0x120)](_0x4784b4,_0x17ec40);},'nSByX':function(_0x10f67e,_0x209eb2){const _0x5b2634=a127_0x189d;return _0x4cbfe5[_0x5b2634(0x12d)](_0x10f67e,_0x209eb2);},'onZMK':_0x4cbfe5[_0x457b74(0x118)],'neZlx':_0x4cbfe5[_0x457b74(0x113)]};https[_0x457b74(0xd2)](_0x440519,_0x2c10e2=>{const _0x3bc8fe=_0x457b74,_0x4ccced={'hMBNQ':function(_0x5a1724,_0x33a7c4){const _0x5d1c55=a127_0x189d;return _0x2e2f23[_0x5d1c55(0xfa)](_0x5a1724,_0x33a7c4);}};if(_0x441759&&_0x2e2f23[_0x3bc8fe(0x104)](_0x2c10e2[_0x3bc8fe(0x138)],0x130)){_0x180531[_0x3bc8fe(0xc4)]();const _0x15c643={};_0x15c643[_0x3bc8fe(0xcd)]=![],_0x2e2f23[_0x3bc8fe(0xfa)](_0x442461,_0x15c643);return;}const _0x12966d=_0x2c10e2[_0x3bc8fe(0xd1)][_0x3bc8fe(0xdc)];_0x12966d&&this.#saveETag(_0x4f3094,_0x12966d),_0x2c10e2[_0x3bc8fe(0xff)](_0x180531),_0x2c10e2['on'](_0x2e2f23['onZMK'],function(_0x1df971){const _0xae73c0=_0x3bc8fe;logger[_0xae73c0(0x101)]('Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20'+_0x1df971),_0x4ccced[_0xae73c0(0x145)](_0x2b9d1c,_0x1df971);}),_0x180531['on'](_0x2e2f23[_0x3bc8fe(0x11a)],function(_0x148f81){const _0x2e61ce=_0x3bc8fe;logger[_0x2e61ce(0x101)](_0x2e61ce(0xdb)+_0x148f81),_0x2e2f23[_0x2e61ce(0xfa)](_0x2b9d1c,_0x148f81);}),_0x180531['on'](_0x2e2f23[_0x3bc8fe(0x148)],()=>{const _0x4afeaf=_0x3bc8fe;this['extractAndSaveBinary'](_0x28d8dd,_0x4f3094)[_0x4afeaf(0x11b)](_0xf631f1=>_0x442461({'needsUpdate':!![],'binaryPath':_0xf631f1}))[_0x4afeaf(0xb8)](_0x2b9d1c);});})['on'](_0x4cbfe5['jeICU'],function(_0xbf3946){const _0x448e26=_0x457b74;logger['error'](_0x448e26(0x13e)+_0xbf3946),_0x2e2f23['biBca'](_0x2b9d1c,_0xbf3946);});});}['extractAndSaveBinary'](_0x303415,_0x4b487b){const _0x35143a=a127_0x374360,_0x4eedfc={'slgiJ':function(_0x3be1c9,_0x2088a8){return _0x3be1c9===_0x2088a8;},'dTaDG':function(_0x3f9e5a,_0x815ecd){return _0x3f9e5a(_0x815ecd);},'fJnHV':function(_0x5b988a,_0x1c83c2){return _0x5b988a(_0x1c83c2);},'eQXgO':'end','AObHp':function(_0x2ffda0,_0x3ba6d0){return _0x2ffda0(_0x3ba6d0);},'FUcpd':'0755','ExshL':function(_0x341db6,_0x4d381c){return _0x341db6(_0x4d381c);},'QJZko':_0x35143a(0xb7),'fJzVL':_0x35143a(0x101)},_0x255332=this.#binaryName,_0x33bf65=path[_0x35143a(0xec)](_0x4b487b,_0x255332);return new Promise((_0x30719a,_0x1ea56f)=>{const _0x535036=_0x35143a,_0x1f6562={'JnbdT':function(_0x1f6a2d,_0x43774c){const _0x2a46f6=a127_0x189d;return _0x4eedfc[_0x2a46f6(0x10d)](_0x1f6a2d,_0x43774c);},'NVNcx':function(_0x3c7742,_0x1fd480){return _0x4eedfc['dTaDG'](_0x3c7742,_0x1fd480);},'hRUsC':function(_0x4951af,_0x397be6){const _0x46c6ec=a127_0x189d;return _0x4eedfc[_0x46c6ec(0xc5)](_0x4951af,_0x397be6);},'lcZpj':_0x4eedfc[_0x535036(0x151)],'QEwUt':function(_0x22d287,_0x38692b){const _0x27b2b5=_0x535036;return _0x4eedfc[_0x27b2b5(0xbc)](_0x22d287,_0x38692b);},'ocVgn':_0x4eedfc[_0x535036(0x134)],'pjizr':function(_0x10d5d1,_0x556a34){const _0x5b10a0=_0x535036;return _0x4eedfc[_0x5b10a0(0xda)](_0x10d5d1,_0x556a34);},'Zopps':_0x4eedfc[_0x535036(0xfb)],'nEpkE':_0x4eedfc[_0x535036(0xfd)]},_0x3f708f={};_0x3f708f['lazyEntries']=!![],yauzl[_0x535036(0x136)](_0x303415,_0x3f708f,function(_0x16af96,_0x31ed5b){const _0x2a4990=_0x535036,_0x39c51a={'iTlEa':function(_0x204392,_0x3fa707){return _0x1f6562['hRUsC'](_0x204392,_0x3fa707);},'ovEBZ':_0x1f6562[_0x2a4990(0x10f)],'yNNHZ':function(_0x265200,_0xb9eb1f){const _0xfd9d14=_0x2a4990;return _0x1f6562[_0xfd9d14(0xe3)](_0x265200,_0xb9eb1f);},'uOLDs':function(_0x3118a7,_0x43a568){const _0x2d0e0b=_0x2a4990;return _0x1f6562[_0x2d0e0b(0xe3)](_0x3118a7,_0x43a568);},'omAVb':_0x1f6562[_0x2a4990(0x14a)]};_0x16af96&&_0x1f6562['pjizr'](_0x1ea56f,_0x16af96),_0x31ed5b['readEntry'](),_0x31ed5b['on'](_0x1f6562[_0x2a4990(0xc0)],_0xb88a12=>{const _0x549bce=_0x2a4990;if(/\/$/[_0x549bce(0x127)](_0xb88a12['fileName']))_0x31ed5b['readEntry']();else{const _0x2f61c9=fs[_0x549bce(0x14b)](path[_0x549bce(0xec)](_0x4b487b,_0xb88a12[_0x549bce(0x109)]));_0x31ed5b[_0x549bce(0xdf)](_0xb88a12,function(_0x1b17ad,_0x21f097){const _0x12679d=_0x549bce;_0x1b17ad&&_0x39c51a[_0x12679d(0x110)](_0x1ea56f,_0x16af96),_0x21f097['on'](_0x39c51a[_0x12679d(0x137)],function(){const _0x140641=_0x12679d;_0x2f61c9['close'](),_0x31ed5b[_0x140641(0x129)]();}),_0x21f097[_0x12679d(0xff)](_0x2f61c9);}),_0x1f6562[_0x549bce(0x12f)](_0xb88a12[_0x549bce(0x109)],_0x255332)&&_0x31ed5b[_0x549bce(0x135)]();}}),_0x31ed5b['on'](_0x1f6562['nEpkE'],_0x5eee67=>{const _0x387ce2=_0x2a4990;_0x1f6562[_0x387ce2(0xea)](_0x1ea56f,_0x5eee67);}),_0x31ed5b['once'](_0x1f6562[_0x2a4990(0x10f)],()=>{const _0x294601=_0x2a4990;fs['chmod'](_0x33bf65,_0x39c51a[_0x294601(0xf3)],function(_0x3e0c0e){const _0x300934=_0x294601;_0x3e0c0e&&_0x39c51a[_0x300934(0xe8)](_0x1ea56f,_0x3e0c0e),_0x39c51a[_0x300934(0x121)](_0x30719a,_0x33bf65);}),_0x31ed5b[_0x294601(0x135)]();});});});}async[a127_0x374360(0x128)](_0x5f1f39){const _0x48ce04=a127_0x374360,_0x1357ad={'amBVu':function(_0x696caa,_0x3634c5){return _0x696caa(_0x3634c5);},'OmSFl':function(_0x3e91a9,_0x200850){return _0x3e91a9(_0x200850);},'QMfov':function(_0x141a63,_0x1165fa,_0x102c96,_0x101711){return _0x141a63(_0x1165fa,_0x102c96,_0x101711);},'TMIBD':_0x48ce04(0xd9),'plZCU':'data','Wslje':_0x48ce04(0x135)},_0x5e41e7=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x58621c,_0x54e814)=>{const _0x12733e=_0x48ce04,_0x4e533f={};_0x4e533f[_0x12733e(0x130)]=process[_0x12733e(0x130)];const _0x480e26=_0x1357ad[_0x12733e(0xe4)](spawn,_0x5f1f39,[_0x1357ad[_0x12733e(0xc2)]],_0x4e533f);_0x480e26[_0x12733e(0xe0)]['on'](_0x1357ad[_0x12733e(0xe9)],_0x48a5c2=>{const _0xef30e8=_0x12733e;_0x5e41e7[_0xef30e8(0x127)](_0x48a5c2)&&_0x1357ad[_0xef30e8(0x13f)](_0x58621c,!![]);}),_0x480e26['on'](_0x1357ad[_0x12733e(0x150)],()=>{const _0x5cb3b2=_0x12733e;_0x1357ad[_0x5cb3b2(0x12e)](_0x58621c,![]);});});}#homedir(){const _0x7e604b=a127_0x374360,_0x49908e={};_0x49908e['amHNv']=function(_0x11ba3c,_0x1b158a){return _0x11ba3c===_0x1b158a;},_0x49908e['VwuON']=_0x7e604b(0x108),_0x49908e[_0x7e604b(0x119)]=_0x7e604b(0xce),_0x49908e[_0x7e604b(0xc1)]=function(_0x2d27fd,_0x143349){return _0x2d27fd+_0x143349;},_0x49908e[_0x7e604b(0x140)]=function(_0xd0bf9d,_0x553607){return _0xd0bf9d===_0x553607;},_0x49908e[_0x7e604b(0x12c)]=_0x7e604b(0xcf),_0x49908e[_0x7e604b(0xdd)]=_0x7e604b(0x10e),_0x49908e[_0x7e604b(0x152)]=_0x7e604b(0x11e),_0x49908e['lLAiF']=function(_0x3b5340,_0x49b810){return _0x3b5340===_0x49b810;},_0x49908e[_0x7e604b(0xc6)]='/root',_0x49908e[_0x7e604b(0x131)]=_0x7e604b(0x13c),_0x49908e[_0x7e604b(0xf2)]=function(_0xd3864,_0x1b1bd5){return _0xd3864||_0x1b1bd5;};const _0x3e3ba4=_0x49908e;if(_0x3e3ba4[_0x7e604b(0x105)](typeof os['homedir'],_0x3e3ba4['VwuON']))return os['homedir']();const _0x28879c=process[_0x7e604b(0x130)],_0x610006=_0x28879c[_0x7e604b(0xba)],_0x4ef960=_0x28879c[_0x7e604b(0x100)]||_0x28879c[_0x7e604b(0xf4)]||_0x28879c['LNAME']||_0x28879c[_0x7e604b(0x102)];if(_0x3e3ba4['amHNv'](process['platform'],_0x3e3ba4['LeNHU']))return _0x28879c[_0x7e604b(0xf9)]||_0x3e3ba4['eJEOt'](_0x28879c[_0x7e604b(0x133)],_0x28879c[_0x7e604b(0xe1)])||_0x610006||null;if(_0x3e3ba4[_0x7e604b(0x140)](process[_0x7e604b(0xf1)],_0x3e3ba4[_0x7e604b(0x12c)]))return _0x610006||(_0x4ef960?_0x3e3ba4[_0x7e604b(0xc1)](_0x3e3ba4[_0x7e604b(0xdd)],_0x4ef960):null);if(_0x3e3ba4[_0x7e604b(0x105)](process[_0x7e604b(0xf1)],_0x3e3ba4['fxHOe']))return _0x610006||(_0x3e3ba4[_0x7e604b(0x124)](process[_0x7e604b(0x144)](),0x0)?_0x3e3ba4['yrXOt']:_0x4ef960?_0x3e3ba4[_0x7e604b(0xc1)](_0x3e3ba4[_0x7e604b(0x131)],_0x4ef960):null);return _0x3e3ba4['AelWr'](_0x610006,null);}}function a127_0x189d(_0x2a8992,_0x9cfe16){const _0x654658=a127_0x6546();return a127_0x189d=function(_0x189da3,_0x316da2){_0x189da3=_0x189da3-0xb7;let _0x1a1342=_0x654658[_0x189da3];return _0x1a1342;},a127_0x189d(_0x2a8992,_0x9cfe16);}function a127_0x6546(){const _0x561173=['eQXgO','fxHOe','entry','catch','1882412zowYRC','HOME','debug','AObHp','fFyyB','proxyPort','Ozhuv','Zopps','eJEOt','TMIBD','WbRMj','destroy','fJnHV','yrXOt','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','hBMzK','match','Failed\x20to\x20read\x20ETag\x20file:\x20','4855333lBLUgG','https://github.com/percy/cli/releases/latest/download','needsUpdate','win32','darwin','/percy-win.zip','headers','get','.zip','pWPIm','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20','SjaDk','Error\x20trying\x20to\x20download\x20percy\x20binary','winstonLogger','--version','ExshL','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20','etag','gAyWo','MaGKO','openReadStream','stdout','HOMEPATH','undefined','QEwUt','QMfov','statSync','.etag','proxyHost','yNNHZ','plZCU','NVNcx','accessSync','join','writeFileSync','parse','follow-redirects','length','platform','AelWr','omAVb','USER','Uaaxu','readFileSync','/percy-osx.zip','warn','USERPROFILE','biBca','QJZko','1427000TjBgCi','fJzVL','W_OK','pipe','LOGNAME','error','USERNAME','dJVed','nSByX','amHNv','If-None-Match','szZzl','function','fileName','Jzvjv','mkdirSync','nVfQS','slgiJ','/Users/','lcZpj','iTlEa','X_OK','aSnfs','MnFEC','useCaCertificate','saYwP','3226200mvpnoq','child_process','jeICU','LeNHU','onZMK','then','percy','url','linux','yauzl','IdGhd','uOLDs','Failed\x20to\x20save\x20ETag\x20file:\x20','fgHYO','lLAiF','2210035nwzvtJ','percy.exe','test','validateBinary','readEntry','DMqmM','binaryPath','AwMEa','SfiqL','OmSFl','JnbdT','env','ssZap','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','HOMEDRIVE','FUcpd','close','open','ovEBZ','statusCode','XFFBi','download','Connection','/home/','927280znbgAs','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20','amBVu','iIzuB','port','6ZKcHuR','164224qlIeIc','getuid','hMBNQ','utf8','tmpdir','neZlx','dVKzI','ocVgn','createWriteStream','XGMOn','host','Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)','SGIwc','Wslje'];a127_0x6546=function(){return _0x561173;};return a127_0x6546();}module['exports']=PercyBinary;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a128_0x1c5945=a128_0x15a5;(function(_0x43409f,_0x3e3cc1){var _0x28fd06=a128_0x15a5,_0x24552d=_0x43409f();while(!![]){try{var _0x5cd025=-parseInt(_0x28fd06(0x16c))/0x1+-parseInt(_0x28fd06(0x164))/0x2*(-parseInt(_0x28fd06(0x162))/0x3)+parseInt(_0x28fd06(0x166))/0x4+parseInt(_0x28fd06(0x163))/0x5*(parseInt(_0x28fd06(0x169))/0x6)+-parseInt(_0x28fd06(0x161))/0x7*(-parseInt(_0x28fd06(0x16d))/0x8)+parseInt(_0x28fd06(0x16b))/0x9*(-parseInt(_0x28fd06(0x165))/0xa)+-parseInt(_0x28fd06(0x167))/0xb*(parseInt(_0x28fd06(0x168))/0xc);if(_0x5cd025===_0x3e3cc1)break;else _0x24552d['push'](_0x24552d['shift']());}catch(_0x3d7eaa){_0x24552d['push'](_0x24552d['shift']());}}}(a128_0xcb8e,0x32e40));class PercyCaptureMap{#map={};['increment'](_0x371657,_0x1676c3){!this.#map[_0x371657]&&(this.#map[_0x371657]={}),!this.#map[_0x371657][_0x1676c3]&&(this.#map[_0x371657][_0x1676c3]=0x0),this.#map[_0x371657][_0x1676c3]++;}[a128_0x1c5945(0x16e)](_0x5cc7e6,_0x55754d){var _0x2d1880=a128_0x1c5945;return _0x5cc7e6+'-'+_0x55754d+'-'+this[_0x2d1880(0x16a)](_0x5cc7e6,_0x55754d);}[a128_0x1c5945(0x16a)](_0x5f125f,_0x5b133c){if(!this.#map[_0x5f125f])return 0x0;if(!this.#map[_0x5f125f][_0x5b133c])return 0x0;return this.#map[_0x5f125f][_0x5b133c];}}function a128_0x15a5(_0x102807,_0x2d9b5e){var _0xcb8eff=a128_0xcb8e();return a128_0x15a5=function(_0x15a5da,_0x26c832){_0x15a5da=_0x15a5da-0x160;var _0x19b3df=_0xcb8eff[_0x15a5da];return _0x19b3df;},a128_0x15a5(_0x102807,_0x2d9b5e);}module[a128_0x1c5945(0x160)]=PercyCaptureMap;function a128_0xcb8e(){var _0x36f815=['19602WxTPYD','2172rCggGt','78AIlUkh','get','287550YMXyHu','96446hKcIiy','160MMvnGd','getName','exports','26915wNMmRq','30297jfJKHJ','54840iraDci','24noUmZX','10qRKCge','1274856FMyFkn'];a128_0xcb8e=function(){return _0x36f815;};return a128_0xcb8e();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a129_0x524095=a129_0x4c89;(function(_0x328ae9,_0xe57f7d){var _0x409d4b=a129_0x4c89,_0x5c1705=_0x328ae9();while(!![]){try{var _0x47e0d2=-parseInt(_0x409d4b(0x15a))/0x1+-parseInt(_0x409d4b(0x164))/0x2+parseInt(_0x409d4b(0x167))/0x3*(parseInt(_0x409d4b(0x161))/0x4)+parseInt(_0x409d4b(0x15d))/0x5+parseInt(_0x409d4b(0x162))/0x6+-parseInt(_0x409d4b(0x15f))/0x7+parseInt(_0x409d4b(0x160))/0x8;if(_0x47e0d2===_0xe57f7d)break;else _0x5c1705['push'](_0x5c1705['shift']());}catch(_0x5b4129){_0x5c1705['push'](_0x5c1705['shift']());}}}(a129_0x3b0e,0x936f2));var a129_0x2be898={};a129_0x2be898[a129_0x524095(0x15c)]=[a129_0x524095(0x15e)],a129_0x2be898[a129_0x524095(0x166)]=[a129_0x524095(0x165),'sendKeys'];function a129_0x4c89(_0x4c77cc,_0x379582){var _0x3b0ec2=a129_0x3b0e();return a129_0x4c89=function(_0x4c89e9,_0xfd9cfd){_0x4c89e9=_0x4c89e9-0x15a;var _0x28be10=_0x3b0ec2[_0x4c89e9];return _0x28be10;},a129_0x4c89(_0x4c77cc,_0x379582);}var a129_0x56816c={};function a129_0x3b0e(){var _0x49eb80=['exports','driver','1468885pkBBPu','takeScreenshot','7938973yZqBiX','13558480fySAOP','3836SUBtgw','4829568JELyMX','auto','281076WqkIIX','click','element','501hJzHLO','screenshot','manual','1075101PoPccf'];a129_0x3b0e=function(){return _0x49eb80;};return a129_0x3b0e();}a129_0x56816c[a129_0x524095(0x15c)]=[a129_0x524095(0x15e)];var a129_0x19a0b4={};a129_0x19a0b4[a129_0x524095(0x166)]=[a129_0x524095(0x165)];var a129_0x1e8c60={};a129_0x1e8c60[a129_0x524095(0x163)]=a129_0x2be898,a129_0x1e8c60[a129_0x524095(0x168)]=a129_0x56816c,a129_0x1e8c60['click']=a129_0x19a0b4,a129_0x1e8c60['testcase']={},a129_0x1e8c60[a129_0x524095(0x169)]={},module[a129_0x524095(0x15b)]=a129_0x1e8c60;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a130_0x1ba5a8=a130_0xaf4f;(function(_0x5c0557,_0xb414fb){const _0x552ac7=a130_0xaf4f,_0x8ae54c=_0x5c0557();while(!![]){try{const _0x4cd3e6=-parseInt(_0x552ac7(0x14d))/0x1+parseInt(_0x552ac7(0x13c))/0x2*(parseInt(_0x552ac7(0x149))/0x3)+parseInt(_0x552ac7(0x12d))/0x4+parseInt(_0x552ac7(0x137))/0x5*(parseInt(_0x552ac7(0x132))/0x6)+parseInt(_0x552ac7(0x14a))/0x7*(-parseInt(_0x552ac7(0x139))/0x8)+parseInt(_0x552ac7(0x146))/0x9+-parseInt(_0x552ac7(0x13b))/0xa;if(_0x4cd3e6===_0xb414fb)break;else _0x8ae54c['push'](_0x8ae54c['shift']());}catch(_0x10d64c){_0x8ae54c['push'](_0x8ae54c['shift']());}}}(a130_0x26af,0x86dd7));const tryRequire=function(_0x2b63e7,_0xa7af52){const _0x55d221={'oomfX':function(_0xdd992a,_0x537bf0){return _0xdd992a(_0x537bf0);}};try{return _0x55d221['oomfX'](require,_0x2b63e7);}catch{return _0xa7af52;}},percySnapshot=tryRequire(a130_0x1ba5a8(0x13e),null),{percyScreenshot}=tryRequire('@percy/selenium-webdriver',{}),percyAppScreenshot=require(a130_0x1ba5a8(0x130)),{getCurrentTestData}=require(a130_0x1ba5a8(0x131)),PerformanceTester=require(a130_0x1ba5a8(0x142)),{PERCY_EVENTS:PerformanceEvents}=require(a130_0x1ba5a8(0x13a)),logger=require(a130_0x1ba5a8(0x14b))[a130_0x1ba5a8(0x144)];percySnapshot&&(exports['snapshot']=async function(){const _0x5ea1a3=a130_0x1ba5a8,_0x3cd15c={'rrcUZ':function(_0x382486,_0x3c9c0c){return _0x382486!==_0x3c9c0c;},'pqdhb':function(_0x413d7f,_0x356dd5){return _0x413d7f>=_0x356dd5;},'Upjax':function(_0x1efc2c){return _0x1efc2c();}};if(global[_0x5ea1a3(0x12a)]&&_0x3cd15c[_0x5ea1a3(0x141)](global[_0x5ea1a3(0x12a)],global['browserstackPercyBestPlatform']))return;const _0x1583e5=_0x3cd15c[_0x5ea1a3(0x135)](arguments['length'],0x2)?arguments[0x1]:'',_0x2ce59a=_0x3cd15c[_0x5ea1a3(0x128)](getCurrentTestData),_0x55d416={};return _0x55d416['name']=_0x1583e5,_0x55d416[_0x5ea1a3(0x14c)]=_0x2ce59a[_0x5ea1a3(0x13f)]||'',_0x55d416[_0x5ea1a3(0x133)]=_0x2ce59a[_0x5ea1a3(0x12f)]||'',_0x55d416[_0x5ea1a3(0x12b)]=global[_0x5ea1a3(0x12a)],await PerformanceTester[_0x5ea1a3(0x14f)](PerformanceEvents[_0x5ea1a3(0x143)],()=>percySnapshot[_0x5ea1a3(0x12e)](null,arguments),_0x55d416);});function a130_0xaf4f(_0xf55fa6,_0x248fca){const _0x26afc2=a130_0x26af();return a130_0xaf4f=function(_0xaf4fd5,_0x5ccc65){_0xaf4fd5=_0xaf4fd5-0x128;let _0x29657c=_0x26afc2[_0xaf4fd5];return _0x29657c;},a130_0xaf4f(_0xf55fa6,_0x248fca);}percyScreenshot?exports[a130_0x1ba5a8(0x134)]=async function(){const _0x16e7a3=a130_0x1ba5a8,_0x35d149={'kaOil':function(_0x12464b,_0x54fe06){return _0x12464b>=_0x54fe06;},'MwmSl':function(_0x2aecd0){return _0x2aecd0();}},_0xed7fcd=_0x35d149[_0x16e7a3(0x145)](arguments[_0x16e7a3(0x136)],0x2)?arguments[0x1]:'',_0x4f470f=_0x35d149[_0x16e7a3(0x14e)](getCurrentTestData),_0x511d04={};return _0x511d04[_0x16e7a3(0x13f)]=_0xed7fcd,_0x511d04['testCase']=_0x4f470f[_0x16e7a3(0x13f)]||'',_0x511d04[_0x16e7a3(0x133)]=_0x4f470f[_0x16e7a3(0x12f)]||'',_0x511d04[_0x16e7a3(0x12b)]=global[_0x16e7a3(0x12a)],await PerformanceTester['measure'](PerformanceEvents[_0x16e7a3(0x140)],()=>percyScreenshot['apply'](null,arguments),_0x511d04);}:exports['screenshot']=()=>{const _0x277c89=a130_0x1ba5a8,_0x2b8849={};_0x2b8849[_0x277c89(0x138)]=_0x277c89(0x148);const _0x4fad58=_0x2b8849;logger[_0x277c89(0x13d)](_0x4fad58['DQbTs']);};exports[a130_0x1ba5a8(0x150)]=async function(){const _0x1a9e5a=a130_0x1ba5a8,_0x3d545f={'ZofKX':function(_0x21e2e6,_0x3c4658){return _0x21e2e6>=_0x3c4658;},'oAxaw':function(_0x5de104){return _0x5de104();}},_0x47036c=_0x3d545f[_0x1a9e5a(0x129)](arguments['length'],0x2)?arguments[0x1]:'',_0x56a5e8=_0x3d545f[_0x1a9e5a(0x147)](getCurrentTestData),_0x3eb635={};return _0x3eb635[_0x1a9e5a(0x13f)]=_0x47036c,_0x3eb635[_0x1a9e5a(0x14c)]=_0x56a5e8['name']||'',_0x3eb635[_0x1a9e5a(0x133)]=_0x56a5e8[_0x1a9e5a(0x12f)]||'',_0x3eb635['platformIndex']=global[_0x1a9e5a(0x12a)],await PerformanceTester[_0x1a9e5a(0x14f)](PerformanceEvents[_0x1a9e5a(0x12c)],()=>percyAppScreenshot['apply'](null,arguments),_0x3eb635);};function a130_0x26af(){const _0x67ed70=['measure','screenshotApp','Upjax','ZofKX','browserstackPlatformIndex','platformIndex','SCREENSHOT_APP','193916uiSorv','apply','uuid','@percy/appium-app','../../helpers/testhub/utils','6BamoXz','thTestCaseExecutionId','screenshot','pqdhb','length','5240770oGKAYl','DQbTs','8OCHoYl','../performance/constants','11063950FzbKZJ','1529026eMNacp','error','@percy/selenium-webdriver','name','SCREENSHOT','rrcUZ','../performance/performance-tester','SNAPSHOT','winstonLogger','kaOil','2488644vDvYaj','oAxaw','Unsupported\x20driver\x20for\x20percy','3YiynPD','626647HUaoNw','../logger','testCase','389339IkPzul','MwmSl'];a130_0x26af=function(){return _0x67ed70;};return a130_0x26af();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a131_0x211f(_0x4c1e75,_0x3620d8){var _0x19540a=a131_0x1954();return a131_0x211f=function(_0x211f66,_0x3231c5){_0x211f66=_0x211f66-0x1c4;var _0x5521af=_0x19540a[_0x211f66];return _0x5521af;},a131_0x211f(_0x4c1e75,_0x3620d8);}var a131_0x34626f=a131_0x211f;(function(_0x15e9f5,_0x16f47f){var _0x4b6ba5=a131_0x211f,_0x4a4576=_0x15e9f5();while(!![]){try{var _0x469925=-parseInt(_0x4b6ba5(0x1c4))/0x1+parseInt(_0x4b6ba5(0x1cc))/0x2+parseInt(_0x4b6ba5(0x1cb))/0x3+parseInt(_0x4b6ba5(0x1c6))/0x4+-parseInt(_0x4b6ba5(0x1c7))/0x5+parseInt(_0x4b6ba5(0x1c5))/0x6+parseInt(_0x4b6ba5(0x1c8))/0x7;if(_0x469925===_0x16f47f)break;else _0x4a4576['push'](_0x4a4576['shift']());}catch(_0x20a674){_0x4a4576['push'](_0x4a4576['shift']());}}}(a131_0x1954,0x35440),module[a131_0x34626f(0x1c9)]=require(a131_0x34626f(0x1ca)));function a131_0x1954(){var _0x2f4ca4=['./Percy','862503sWVJEB','589200wszvrV','365484sEUEVv','1261368bMpPUO','54932GrFoWH','1397480bniQxQ','399658etRjkT','exports'];a131_0x1954=function(){return _0x2f4ca4;};return a131_0x1954();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a132_0x16ca1=a132_0x5cff;(function(_0x188e05,_0x72e5cc){const _0x2a89cb=a132_0x5cff,_0x253308=_0x188e05();while(!![]){try{const _0x481253=parseInt(_0x2a89cb(0x204))/0x1+parseInt(_0x2a89cb(0x1dd))/0x2+-parseInt(_0x2a89cb(0x200))/0x3*(-parseInt(_0x2a89cb(0x21d))/0x4)+parseInt(_0x2a89cb(0x208))/0x5+parseInt(_0x2a89cb(0x1df))/0x6*(-parseInt(_0x2a89cb(0x1d7))/0x7)+parseInt(_0x2a89cb(0x1ee))/0x8+parseInt(_0x2a89cb(0x1e1))/0x9*(-parseInt(_0x2a89cb(0x207))/0xa);if(_0x481253===_0x72e5cc)break;else _0x253308['push'](_0x253308['shift']());}catch(_0x1330dc){_0x253308['push'](_0x253308['shift']());}}}(a132_0x431e,0x82d88));function a132_0x431e(){const _0x474a1c=['wCNxk','then','manual','apply','\x20for\x20percy\x20','AVPhw','prototype','error','patch','5353200prnwOk','browserstackPercyBestPlatform','CyctG','browserStackPercyOptions','percyAutoCapture','safari','measureWrapper','eJPDO','getBestPlatformForPercySnapshot','aYrzm','./PercyCaptureMap','sMxYY','screenshotApp','platforms','toLowerCase','AUTO_CAPTURE','xptMN','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','179637fRnpwe','winstonLogger','MjIUX','START','801054RpfbeR','startPercy','uMwqn','11824610vzwxRe','3101315oAzUyW','cLfCr','percy','firefox','getName','../performance/performance-tester','auto','increment','nestedKeyValue','stopPercy','edge','Error\x20patching\x20','browser','forEach','DzOgX','getDriver','patchDriverPercy','Starting\x20percy','isUndefined','stop','overrideXforPercy','52xhKUUh','driver','app','element','7QfjBBI','debug','browserName','browserstackSessionName','../logger','percyCaptureMode','2106938fNNMKj','FEdnE','6128982tNlPvp','./PercySDK','18WmxXSq','browserstackPercyMap','deviceName','init'];a132_0x431e=function(){return _0x474a1c;};return a132_0x431e();}const Percy=require('./Percy'),PercySDK=require(a132_0x16ca1(0x1e0)),PercyCaptureModes=require('./PercyCaptureModes'),PercyCaptureMap=require(a132_0x16ca1(0x1f8)),logger=require(a132_0x16ca1(0x1db))[a132_0x16ca1(0x201)],helper=require('../helper'),PerformanceTester=require(a132_0x16ca1(0x20d)),{PERCY_EVENTS:PerformanceEvents}=require('../performance/constants');function a132_0x5cff(_0x2234ed,_0x349994){const _0x431e3e=a132_0x431e();return a132_0x5cff=function(_0x5cff6c,_0x1578bf){_0x5cff6c=_0x5cff6c-0x1d5;let _0x69aa37=_0x431e3e[_0x5cff6c];return _0x69aa37;},a132_0x5cff(_0x2234ed,_0x349994);}exports[a132_0x16ca1(0x205)]=PerformanceTester[a132_0x16ca1(0x1f4)](PerformanceEvents[a132_0x16ca1(0x203)],async _0x5b70c6=>{const _0x1e786f=a132_0x16ca1,_0x517124={};_0x517124[_0x1e786f(0x1de)]=_0x1e786f(0x219);const _0x25a904=_0x517124;logger[_0x1e786f(0x1d8)](_0x25a904['FEdnE']);const _0x280b92=new Percy(_0x5b70c6),_0x3941d2=await _0x280b92['start']();if(_0x3941d2)return _0x280b92;return null;}),exports[a132_0x16ca1(0x211)]=PerformanceTester[a132_0x16ca1(0x1f4)](PerformanceEvents['STOP'],async _0x2fd4b5=>{const _0x118caf=a132_0x16ca1,_0x275bcf={};_0x275bcf['MjIUX']='Stopping\x20percy';const _0x1f31e9=_0x275bcf;return logger['debug'](_0x1f31e9[_0x118caf(0x202)]),_0x2fd4b5[_0x118caf(0x21b)]();}),exports[a132_0x16ca1(0x1f6)]=_0x1e2ab0=>{const _0x23c1c5=a132_0x16ca1,_0xfaadc1={};_0xfaadc1[_0x23c1c5(0x1fe)]=function(_0x596614,_0x11ee46){return _0x596614<_0x11ee46;};const _0xc37d10=_0xfaadc1,_0x57708a={};_0x57708a['chrome']=0x0,_0x57708a[_0x23c1c5(0x20b)]=0x1,_0x57708a[_0x23c1c5(0x212)]=0x2,_0x57708a[_0x23c1c5(0x1f3)]=0x3;const _0x4a3a4e=_0x57708a;return _0x1e2ab0['reduce']((_0x20d660,_0x54d6ce,_0x161631)=>{const _0x53363b=_0x23c1c5,_0x49e60c=_0x1e2ab0[_0x20d660];if(_0x54d6ce['deviceName'])return _0x20d660;if(_0x49e60c[_0x53363b(0x1e3)])return _0x161631;const _0x1d1631=_0x54d6ce[_0x53363b(0x214)]?_0x54d6ce['browser']:_0x54d6ce[_0x53363b(0x1d9)];if(_0x1d1631&&_0xc37d10['xptMN'](_0x4a3a4e[_0x1d1631[_0x53363b(0x1fc)]()],_0x4a3a4e[_0x1d1631[_0x53363b(0x1fc)]()]))return _0x161631;return _0x20d660;},0x0);},exports[a132_0x16ca1(0x1f2)]=PerformanceTester[a132_0x16ca1(0x1f4)](PerformanceEvents[a132_0x16ca1(0x1fd)],async(_0x30da9c,_0x1749eb,_0x254f44)=>{const _0x3f976f=a132_0x16ca1,_0x848067={};_0x848067[_0x3f976f(0x1ea)]=_0x3f976f(0x1ff);const _0x4de6fb=_0x848067,_0x419ebf=_0x30da9c[_0x3f976f(0x1e2)];if(helper[_0x3f976f(0x21a)](_0x30da9c['browserstackSessionName'])){logger[_0x3f976f(0x1d8)](_0x4de6fb[_0x3f976f(0x1ea)]);return;}const _0x3c0a96=_0x419ebf[_0x3f976f(0x20c)](_0x30da9c[_0x3f976f(0x1da)],_0x1749eb);_0x254f44[_0x3f976f(0x1d5)]?await PercySDK[_0x3f976f(0x1fa)](_0x30da9c,_0x3c0a96):await PercySDK['screenshot'](_0x30da9c,_0x3c0a96),_0x419ebf[_0x3f976f(0x20f)](_0x30da9c['browserstackSessionName'],_0x1749eb);}),exports[a132_0x16ca1(0x218)]=(_0x5a6418,_0x2558c1,_0x2102e9)=>{const _0x398923=a132_0x16ca1,_0x46f8bb={};_0x46f8bb[_0x398923(0x1f5)]=_0x398923(0x1f1),_0x46f8bb[_0x398923(0x1f9)]=_0x398923(0x20a),_0x46f8bb[_0x398923(0x209)]=function(_0x1b286c,_0x300ece){return _0x1b286c!==_0x300ece;},_0x46f8bb[_0x398923(0x1e5)]=_0x398923(0x1e7);const _0x18ecc4=_0x46f8bb;if(!helper[_0x398923(0x210)](_0x2102e9,[_0x18ecc4[_0x398923(0x1f5)],_0x18ecc4['sMxYY']]))return;if(_0x2102e9[_0x398923(0x1f1)][_0x398923(0x20a)]&&_0x2102e9[_0x398923(0x1f1)][_0x398923(0x1dc)]&&_0x18ecc4[_0x398923(0x209)](_0x2102e9[_0x398923(0x1f1)]['percyCaptureMode'],_0x18ecc4[_0x398923(0x1e5)])&&!_0x5a6418[_0x398923(0x1e2)]){global[_0x398923(0x1da)]&&(_0x5a6418[_0x398923(0x1da)]=global['browserstackSessionName']),_0x5a6418[_0x398923(0x1e2)]=new PercyCaptureMap();const _0x53a1bf=PercyCaptureModes[_0x2102e9[_0x398923(0x1f1)][_0x398923(0x1dc)]];_0x53a1bf[_0x398923(0x21e)]&&_0x53a1bf['driver'][_0x398923(0x215)](_0x1aafe9=>this[_0x398923(0x21c)](_0x5a6418,_0x1aafe9,_0x2102e9)),_0x53a1bf[_0x398923(0x1d6)]&&_0x53a1bf[_0x398923(0x1d6)][_0x398923(0x215)](_0xcf248d=>{const _0x7e3f26=_0x398923;if(_0x2558c1[_0x7e3f26(0x1eb)][_0x7e3f26(0x1ed)+_0xcf248d])return;_0x2558c1[_0x7e3f26(0x1eb)]['patch'+_0xcf248d]=!![];const _0x4b2f01=_0x2558c1[_0x7e3f26(0x1eb)][_0xcf248d];_0x2558c1[_0x7e3f26(0x1eb)][_0xcf248d]=async function(){const _0x102cf1=_0x7e3f26;let _0x2c9f7f=_0x4b2f01['apply'](this,arguments);_0x2c9f7f&&_0x2c9f7f[_0x102cf1(0x1e6)]&&(_0x2c9f7f=await _0x2c9f7f);try{const _0x1431e7=this[_0x102cf1(0x217)]();await exports[_0x102cf1(0x1f2)](_0x1431e7,_0xcf248d,_0x2102e9);}catch(_0xfd7b79){logger['error'](_0x102cf1(0x213)+_0xcf248d+_0x102cf1(0x1e9)+_0xfd7b79);}return _0x2c9f7f;};});}},exports[a132_0x16ca1(0x21c)]=function(_0x5ada24,_0x112c69,_0x38412e){const _0x2ef397=a132_0x16ca1,_0x55e205={};_0x55e205['uMwqn']=function(_0x258198,_0xe35518){return _0x258198+_0xe35518;},_0x55e205[_0x2ef397(0x1f7)]=_0x2ef397(0x1ed),_0x55e205[_0x2ef397(0x216)]=_0x2ef397(0x1e4);const _0x31a321=_0x55e205,_0x427d9d=_0x31a321['uMwqn'](_0x31a321[_0x2ef397(0x1f7)],_0x112c69),_0x3d8671=_0x31a321[_0x2ef397(0x206)](_0x31a321[_0x2ef397(0x216)],_0x112c69),_0x12ad7f=this;if(_0x5ada24[_0x427d9d]||!_0x5ada24[_0x112c69])return;_0x5ada24[_0x427d9d]=!![],_0x5ada24[_0x3d8671]=_0x5ada24[_0x112c69],_0x5ada24[_0x112c69]=async()=>{const _0x5892f5=_0x2ef397;try{await _0x12ad7f[_0x5892f5(0x1f2)](_0x5ada24,_0x112c69,_0x38412e);}catch(_0x455342){logger[_0x5892f5(0x1ec)](_0x5892f5(0x213)+_0x112c69+_0x5892f5(0x1e9)+_0x455342);}return await _0x5ada24[_0x3d8671][_0x5892f5(0x1e8)](_0x5ada24,arguments);};},exports['getPercyOptions']=_0x23fca7=>{const _0x4114e3=a132_0x16ca1,_0x42a49b={};_0x42a49b[_0x4114e3(0x1f0)]=_0x4114e3(0x20e);const _0x1b7ecf=_0x42a49b,_0x3d1dec={};_0x3d1dec['percy']=_0x23fca7['percy'],_0x3d1dec['percyCaptureMode']=_0x23fca7[_0x4114e3(0x1dc)]||_0x1b7ecf['CyctG'];const _0x5ad3b9=_0x3d1dec;_0x23fca7[_0x4114e3(0x20a)]&&(_0x5ad3b9[_0x4114e3(0x1ef)]=exports[_0x4114e3(0x1f6)](_0x23fca7[_0x4114e3(0x1fb)]));;return _0x5ad3b9;};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a132_0x3037da=a132_0x3e0e;(function(_0x5937be,_0x5dd856){const _0x17152e=a132_0x3e0e,_0x6e7ea1=_0x5937be();while(!![]){try{const _0x4fea4e=-parseInt(_0x17152e(0x135))/0x1+-parseInt(_0x17152e(0x16c))/0x2*(-parseInt(_0x17152e(0x13d))/0x3)+parseInt(_0x17152e(0x175))/0x4*(-parseInt(_0x17152e(0x16f))/0x5)+parseInt(_0x17152e(0x126))/0x6+-parseInt(_0x17152e(0x187))/0x7*(-parseInt(_0x17152e(0x181))/0x8)+parseInt(_0x17152e(0x12b))/0x9+-parseInt(_0x17152e(0x163))/0xa;if(_0x4fea4e===_0x5dd856)break;else _0x6e7ea1['push'](_0x6e7ea1['shift']());}catch(_0x51b2b7){_0x6e7ea1['push'](_0x6e7ea1['shift']());}}}(a132_0x4a6d,0x5b2fd));const a132_0x42e90d={};a132_0x42e90d[a132_0x3037da(0x19e)]='sdk:setup',a132_0x42e90d['SDK_CLEANUP']=a132_0x3037da(0x119),a132_0x42e90d[a132_0x3037da(0x19f)]=a132_0x3037da(0x146),a132_0x42e90d['SDK_TEST']=a132_0x3037da(0x11b),a132_0x42e90d[a132_0x3037da(0x17b)]=a132_0x3037da(0x180),a132_0x42e90d[a132_0x3037da(0x18c)]=a132_0x3037da(0x138),a132_0x42e90d[a132_0x3037da(0x12f)]=a132_0x3037da(0x148),a132_0x42e90d[a132_0x3037da(0x15e)]=a132_0x3037da(0x16a),a132_0x42e90d[a132_0x3037da(0x130)]=a132_0x3037da(0x123),a132_0x42e90d[a132_0x3037da(0x1a0)]=a132_0x3037da(0x158),a132_0x42e90d[a132_0x3037da(0x189)]=a132_0x3037da(0x152),a132_0x42e90d['SDK_TESTHUB']=a132_0x3037da(0x118),a132_0x42e90d[a132_0x3037da(0x162)]=a132_0x3037da(0x177),a132_0x42e90d[a132_0x3037da(0x134)]=a132_0x3037da(0x184),a132_0x42e90d[a132_0x3037da(0x199)]=a132_0x3037da(0x192),a132_0x42e90d[a132_0x3037da(0x1a1)]=a132_0x3037da(0x15f),a132_0x42e90d[a132_0x3037da(0x183)]=a132_0x3037da(0x140),a132_0x42e90d[a132_0x3037da(0x11f)]='sdk:driver:post-initialization',a132_0x42e90d[a132_0x3037da(0x157)]=a132_0x3037da(0x131),a132_0x42e90d[a132_0x3037da(0x17a)]='sdk:cli:download',a132_0x42e90d['SDK_CLI_CHECK_UPDATE']=a132_0x3037da(0x132),a132_0x42e90d[a132_0x3037da(0x191)]=a132_0x3037da(0x117),a132_0x42e90d[a132_0x3037da(0x150)]='sdk:cli:on-connect',a132_0x42e90d[a132_0x3037da(0x11a)]='sdk:cli:on-stop',a132_0x42e90d[a132_0x3037da(0x186)]=a132_0x3037da(0x12c),a132_0x42e90d[a132_0x3037da(0x122)]=a132_0x3037da(0x185),a132_0x42e90d[a132_0x3037da(0x12d)]=a132_0x3037da(0x160),a132_0x42e90d[a132_0x3037da(0x161)]='sdk:findNearestHub',a132_0x42e90d['SDK_AUTOMATION_FRAMEWORK_INIT']=a132_0x3037da(0x169),a132_0x42e90d[a132_0x3037da(0x196)]='sdk:automationFrameworkStart',a132_0x42e90d['SDK_ACCESSIBILITY_CONFIG']=a132_0x3037da(0x182),a132_0x42e90d[a132_0x3037da(0x142)]='sdk:observabilityConfig',a132_0x42e90d[a132_0x3037da(0x19b)]='sdk:aiSelfHealStep',a132_0x42e90d[a132_0x3037da(0x139)]=a132_0x3037da(0x11e),a132_0x42e90d[a132_0x3037da(0x197)]=a132_0x3037da(0x14b),a132_0x42e90d['SDK_TEST_SESSION_EVENT']=a132_0x3037da(0x17f),a132_0x42e90d[a132_0x3037da(0x145)]=a132_0x3037da(0x136),a132_0x42e90d[a132_0x3037da(0x17d)]=a132_0x3037da(0x14c),a132_0x42e90d[a132_0x3037da(0x153)]=a132_0x3037da(0x17c),a132_0x42e90d['SDK_ON_STOP']=a132_0x3037da(0x151);const SDK_EVENTS=a132_0x42e90d,a132_0x323004={};a132_0x323004['EVENTS']=SDK_EVENTS,a132_0x323004[a132_0x3037da(0x13e)]={},a132_0x323004[a132_0x3037da(0x172)]={},a132_0x323004[a132_0x3037da(0x15a)]={},a132_0x323004[a132_0x3037da(0x14f)]={},a132_0x323004[a132_0x3037da(0x195)]={},a132_0x323004[a132_0x3037da(0x171)]={},a132_0x323004[a132_0x3037da(0x178)]={},a132_0x323004[a132_0x3037da(0x124)]={},a132_0x323004[a132_0x3037da(0x11d)]={},a132_0x323004[a132_0x3037da(0x13e)]['START']=SDK_EVENTS[a132_0x3037da(0x16b)]+a132_0x3037da(0x12a),a132_0x323004[a132_0x3037da(0x13e)]['STOP']=SDK_EVENTS[a132_0x3037da(0x16b)]+':stop',a132_0x323004[a132_0x3037da(0x172)][a132_0x3037da(0x188)]=SDK_EVENTS[a132_0x3037da(0x162)]+a132_0x3037da(0x13b),a132_0x323004[a132_0x3037da(0x172)][a132_0x3037da(0x164)]=SDK_EVENTS[a132_0x3037da(0x162)]+a132_0x3037da(0x168),a132_0x323004[a132_0x3037da(0x172)]['LOCAL_START']=SDK_EVENTS['SDK_AUTOMATE']+a132_0x3037da(0x18b),a132_0x323004[a132_0x3037da(0x172)][a132_0x3037da(0x16e)]=SDK_EVENTS[a132_0x3037da(0x162)]+':local-stop',a132_0x323004[a132_0x3037da(0x172)][a132_0x3037da(0x174)]=SDK_EVENTS[a132_0x3037da(0x162)]+':driver-manage',a132_0x323004[a132_0x3037da(0x172)][a132_0x3037da(0x18f)]=SDK_EVENTS[a132_0x3037da(0x162)]+a132_0x3037da(0x14d),a132_0x323004[a132_0x3037da(0x172)][a132_0x3037da(0x127)]=SDK_EVENTS[a132_0x3037da(0x162)]+a132_0x3037da(0x19a),a132_0x323004[a132_0x3037da(0x172)][a132_0x3037da(0x125)]=SDK_EVENTS['SDK_AUTOMATE']+':session-annotation',a132_0x323004[a132_0x3037da(0x172)][a132_0x3037da(0x167)]=SDK_EVENTS[a132_0x3037da(0x162)]+a132_0x3037da(0x194),a132_0x323004[a132_0x3037da(0x172)][a132_0x3037da(0x15d)]=SDK_EVENTS['SDK_AUTOMATE']+a132_0x3037da(0x14a),a132_0x323004[a132_0x3037da(0x172)][a132_0x3037da(0x193)]=SDK_EVENTS['SDK_AUTOMATE']+a132_0x3037da(0x144),a132_0x323004[a132_0x3037da(0x15a)][a132_0x3037da(0x15c)]=SDK_EVENTS['SDK_A11Y']+a132_0x3037da(0x120),a132_0x323004[a132_0x3037da(0x15a)][a132_0x3037da(0x154)]=SDK_EVENTS[a132_0x3037da(0x15e)]+a132_0x3037da(0x198),a132_0x323004[a132_0x3037da(0x15a)]['GET_RESULTS']=SDK_EVENTS[a132_0x3037da(0x15e)]+a132_0x3037da(0x1a2),a132_0x323004[a132_0x3037da(0x15a)][a132_0x3037da(0x143)]=SDK_EVENTS[a132_0x3037da(0x15e)]+a132_0x3037da(0x165),a132_0x323004[a132_0x3037da(0x14f)][a132_0x3037da(0x149)]=SDK_EVENTS[a132_0x3037da(0x1a1)]+':download',a132_0x323004[a132_0x3037da(0x14f)][a132_0x3037da(0x173)]=SDK_EVENTS[a132_0x3037da(0x1a1)]+a132_0x3037da(0x155),a132_0x323004[a132_0x3037da(0x14f)][a132_0x3037da(0x141)]=SDK_EVENTS[a132_0x3037da(0x1a1)]+':start',a132_0x323004[a132_0x3037da(0x14f)][a132_0x3037da(0x128)]=SDK_EVENTS[a132_0x3037da(0x1a1)]+a132_0x3037da(0x190),a132_0x323004[a132_0x3037da(0x14f)][a132_0x3037da(0x17e)]=SDK_EVENTS[a132_0x3037da(0x1a1)]+a132_0x3037da(0x15b),a132_0x323004[a132_0x3037da(0x14f)][a132_0x3037da(0x129)]=SDK_EVENTS[a132_0x3037da(0x1a1)]+a132_0x3037da(0x133),a132_0x323004[a132_0x3037da(0x14f)]['SCREENSHOT_APP']=SDK_EVENTS[a132_0x3037da(0x1a1)]+a132_0x3037da(0x13c),a132_0x323004[a132_0x3037da(0x195)][a132_0x3037da(0x19c)]=SDK_EVENTS[a132_0x3037da(0x130)]+a132_0x3037da(0x13a),a132_0x323004[a132_0x3037da(0x195)]['TAKE_SCREENSHOT']=SDK_EVENTS[a132_0x3037da(0x130)]+a132_0x3037da(0x13f),a132_0x323004[a132_0x3037da(0x195)][a132_0x3037da(0x193)]=SDK_EVENTS[a132_0x3037da(0x130)]+a132_0x3037da(0x144),a132_0x323004[a132_0x3037da(0x171)][a132_0x3037da(0x19d)]=SDK_EVENTS[a132_0x3037da(0x18c)]+a132_0x3037da(0x166),a132_0x323004[a132_0x3037da(0x171)][a132_0x3037da(0x147)]=SDK_EVENTS['SDK_HOOK']+':after-each',a132_0x323004[a132_0x3037da(0x171)][a132_0x3037da(0x18a)]=SDK_EVENTS[a132_0x3037da(0x18c)]+a132_0x3037da(0x176),a132_0x323004[a132_0x3037da(0x171)]['BEFORE_ALL']=SDK_EVENTS[a132_0x3037da(0x18c)]+':before-all',a132_0x323004[a132_0x3037da(0x171)][a132_0x3037da(0x121)]=SDK_EVENTS[a132_0x3037da(0x18c)]+a132_0x3037da(0x170),a132_0x323004[a132_0x3037da(0x171)][a132_0x3037da(0x137)]=SDK_EVENTS[a132_0x3037da(0x18c)]+a132_0x3037da(0x16d),a132_0x323004[a132_0x3037da(0x178)]['HUB_MANAGEMENT']=SDK_EVENTS[a132_0x3037da(0x199)]+a132_0x3037da(0x168),a132_0x323004[a132_0x3037da(0x178)]['PRINT_BUILDLINK']=SDK_EVENTS[a132_0x3037da(0x199)]+a132_0x3037da(0x144),a132_0x323004[a132_0x3037da(0x124)][a132_0x3037da(0x18d)]=SDK_EVENTS[a132_0x3037da(0x134)]+a132_0x3037da(0x11c),a132_0x323004[a132_0x3037da(0x11d)]['QUIT']=SDK_EVENTS[a132_0x3037da(0x12f)]+a132_0x3037da(0x159),a132_0x323004[a132_0x3037da(0x11d)]['GET']=SDK_EVENTS[a132_0x3037da(0x12f)]+a132_0x3037da(0x156),a132_0x323004[a132_0x3037da(0x11d)]['PRE_EXECUTE']=SDK_EVENTS['SDK_DRIVER']+a132_0x3037da(0x12e),a132_0x323004[a132_0x3037da(0x11d)][a132_0x3037da(0x14e)]=SDK_EVENTS[a132_0x3037da(0x12f)]+a132_0x3037da(0x18e),module[a132_0x3037da(0x179)]=a132_0x323004;function a132_0x3e0e(_0xc0ea90,_0x58ec05){const _0x4a6da7=a132_0x4a6d();return a132_0x3e0e=function(_0x3e0eab,_0x29176b){_0x3e0eab=_0x3e0eab-0x117;let _0x46998b=_0x4a6da7[_0x3e0eab];return _0x46998b;},a132_0x3e0e(_0xc0ea90,_0x58ec05);}function a132_0x4a6d(){const _0x337bc6=['17535LBqJeQ','KEEP_ALIVE','SDK_PROXY_SETUP','AFTER_ALL',':local-start','SDK_HOOK','APP_UPLOAD',':post-execute','SESSION_NAME',':stop','SDK_CLI_ON_BOOTSTRAP','sdk:turboscale','PRINT_BUILDLINK',':idle-timeout','O11y_EVENTS','SDK_AUTOMATION_FRAMEWORK_START','SDK_TEST_FRAMEWORK_EVENT',':save-results','SDK_TURBOSCALE',':session-status','SDK_AI_SELF_HEAL_STEP','SYNC','BEFORE_EACH','SDK_SETUP','SDK_PRE_TEST','SDK_AUTO_CAPTURE','SDK_PERCY',':get-accessibility-results','sdk:cli:on-bootstrap','sdk:testhub','sdk:cleanup','SDK_CLI_ON_STOP','sdk:test',':app-upload','DRIVER_EVENT','sdk:aiSelfHealGetResult','SDK_POST_INITIALIZE',':driver-performscan','BEFORE','SDK_CONNECT_BIN_SESSION','sdk:o11y','APP_AUOTMATE_EVENTS','SESSION_ANNOTATION','2392044mPiqVG','SESSION_STATUS','STOP','SNAPSHOT',':start','5263524QEdqWq','sdk:startBinSession','SDK_DRIVER_INIT',':pre-execute','SDK_DRIVER','SDK_O11Y','sdk:cli:start','sdk:cli:check-update',':snapshot','SDK_APP_AUTOMATE','379905uAowKP','sdk:cli:logCreatedEvent','AFTER','sdk:hook','SDK_AI_SELF_HEAL_GET_RESULT',':sync',':keep-alive',':screenshot-app','15noavhT','TESTHUB_EVENTS',':driver-takeScreenShot','sdk:driver:pre-initialization','START','SDK_OBSERVABILITY_CONFIG','GET_RESULTS_SUMMARY',':print-buildlink','SDK_CLI_LOG_CREATED_EVENT','sdk:pre-test','AFTER_EACH','sdk:driver','DOWNLOAD',':ci-artifacts','sdk:testFrameworkEvent','sdk:cli:enqueueTestEvent',':session-name','POST_EXECUTE','PERCY_EVENTS','SDK_CLI_ON_CONNECT','sdk:onStop','sdk:proxy-setup','SDK_AUTOMATION_FRAMEWORK_STOP','SAVE_RESULTS',':screenshot',':get','SDK_CLI_START','sdk:auto-capture',':quit','A11Y_EVENTS',':auto-capture','PERFORM_SCAN','GENERATE_CI_ARTIFACT','SDK_A11Y','sdk:percy','sdk:driverInit','SDK_FIND_NEAREST_HUB','SDK_AUTOMATE','10777770KkgNci','HUB_MANAGEMENT',':get-accessibility-results-summary',':before-each','IDLE_TIMEOUT',':hub-management','sdk:automationFrameworkInit','sdk:a11y','SDK_TESTHUB','189022FUJZhk',':after','LOCAL_STOP','5mZaNPH',':before','HOOK_EVENTS','AUTOMATE_EVENTS','SCREENSHOT','DRIVER_MANAGE','1395308NAcNzn',':after-all','sdk:automate','TURBOSCALE_EVENTS','exports','SDK_CLI_DOWNLOAD','SDK_POST_TEST','sdk:automationFrameworkStop','SDK_CLI_ENQUEUE_TEST_EVENT','AUTO_CAPTURE','sdk:testSessionEvent','sdk:post-test','2312SPkPWh','sdk:accessibilityConfig','SDK_PRE_INITIALIZE','sdk:app-automate','sdk:connectBinSession','SDK_START_BIN_SESSION'];a132_0x4a6d=function(){return _0x337bc6;};return a132_0x4a6d();}
|
|
1
|
+
function a133_0xbc82(){const _0x3f1544=['GET_RESULTS',':after','sdk:testFrameworkEvent','SDK_CLI_ENQUEUE_TEST_EVENT',':auto-capture','SDK_SETUP','SDK_ACCESSIBILITY_CONFIG','TURBOSCALE_EVENTS',':print-buildlink','SDK_PROXY_SETUP','APP_AUOTMATE_EVENTS',':keep-alive','sdk:accessibilityConfig',':post-execute','LOCAL_STOP',':before-all',':idle-timeout','SDK_CLEANUP','8auzOTc','SDK_PRE_TEST','4646169WUkkDQ','sdk:startBinSession','SYNC','sdk:driver','DRIVER_EVENT','sdk:observabilityConfig','65642PqGovG',':session-name','KEEP_ALIVE','SESSION_NAME','sdk:driverInit','24120IGOmIT',':app-upload','SDK_POST_INITIALIZE','161077QvxDib','1WcZTFx','AUTO_CAPTURE','LOCAL_START','SDK_APP_AUTOMATE','SDK_A11Y','sdk:automationFrameworkStart','SDK_DRIVER','IDLE_TIMEOUT','sdk:proxy-setup','sdk:findNearestHub','AFTER_ALL','BEFORE_EACH','SNAPSHOT','exports','sdk:cli:enqueueTestEvent','sdk:turboscale','SDK_POST_TEST','SDK_PERCY',':pre-execute',':screenshot','EVENTS','sdk:aiSelfHealGetResult','AFTER','SCREENSHOT','sdk:a11y','SDK_HOOK','AFTER_EACH','SDK_CLI_START','sdk:cli:start','76065GoWMdN',':driver-manage','SESSION_ANNOTATION',':driver-performscan',':session-annotation',':local-start','SDK_TURBOSCALE','sdk:driver:pre-initialization','SDK_AUTOMATION_FRAMEWORK_INIT','SDK_DRIVER_INIT',':stop','4MQkXuN','SDK_CONNECT_BIN_SESSION','SDK_CLI_ON_CONNECT','GET_RESULTS_SUMMARY','SDK_ON_STOP','sdk:onStop','1530cDzxzy','SDK_AUTOMATION_FRAMEWORK_STOP','PRE_EXECUTE','sdk:percy','1013451sdxfwv','SDK_AUTOMATE','sdk:automationFrameworkStop','sdk:aiSelfHealStep','PRINT_BUILDLINK','GENERATE_CI_ARTIFACT',':ci-artifacts','POST_EXECUTE','HOOK_EVENTS',':get','TESTHUB_EVENTS','SDK_CLI_ON_BOOTSTRAP','sdk:hook','DOWNLOAD',':before','sdk:setup',':start','A11Y_EVENTS',':snapshot','SCREENSHOT_APP',':session-status','SDK_PRE_INITIALIZE',':sync','TAKE_SCREENSHOT','108KHFiti','PERCY_EVENTS','SDK_AI_SELF_HEAL_STEP','QUIT','sdk:cleanup','GET','sdk:cli:on-bootstrap','AUTOMATE_EVENTS','1933740bZnwYo','START','O11y_EVENTS','sdk:app-automate','sdk:cli:on-connect','SDK_TESTHUB','SDK_O11Y','SAVE_RESULTS','SDK_START_BIN_SESSION','SDK_FIND_NEAREST_HUB','sdk:o11y',':get-accessibility-results-summary',':before-each','sdk:testhub','sdk:driver:post-initialization',':quit','sdk:cli:check-update','sdk:cli:download','STOP','SDK_AUTO_CAPTURE'];a133_0xbc82=function(){return _0x3f1544;};return a133_0xbc82();}const a133_0xeb48d2=a133_0x5855;(function(_0x390112,_0x14c439){const _0x4a8fc9=a133_0x5855,_0x4a84e7=_0x390112();while(!![]){try{const _0x5da014=-parseInt(_0x4a8fc9(0x12e))/0x1*(-parseInt(_0x4a8fc9(0x125))/0x2)+-parseInt(_0x4a8fc9(0xd7))/0x3*(-parseInt(_0x4a8fc9(0x156))/0x4)+parseInt(_0x4a8fc9(0x14b))/0x5*(-parseInt(_0x4a8fc9(0xef))/0x6)+parseInt(_0x4a8fc9(0x12d))/0x7*(-parseInt(_0x4a8fc9(0x11d))/0x8)+-parseInt(_0x4a8fc9(0x15c))/0x9*(-parseInt(_0x4a8fc9(0x12a))/0xa)+-parseInt(_0x4a8fc9(0x11f))/0xb+parseInt(_0x4a8fc9(0xf7))/0xc;if(_0x5da014===_0x14c439)break;else _0x4a84e7['push'](_0x4a84e7['shift']());}catch(_0x3eec85){_0x4a84e7['push'](_0x4a84e7['shift']());}}}(a133_0xbc82,0x36587));const a133_0x292246={};a133_0x292246[a133_0xeb48d2(0x110)]=a133_0xeb48d2(0xe6),a133_0x292246[a133_0xeb48d2(0x11c)]=a133_0xeb48d2(0xf3),a133_0x292246[a133_0xeb48d2(0x11e)]='sdk:pre-test',a133_0x292246['SDK_TEST']='sdk:test',a133_0x292246[a133_0xeb48d2(0x13e)]='sdk:post-test',a133_0x292246['SDK_HOOK']=a133_0xeb48d2(0xe3),a133_0x292246[a133_0xeb48d2(0x134)]=a133_0xeb48d2(0x122),a133_0x292246[a133_0xeb48d2(0x132)]=a133_0xeb48d2(0x146),a133_0x292246[a133_0xeb48d2(0xfd)]=a133_0xeb48d2(0x101),a133_0x292246[a133_0xeb48d2(0x10a)]='sdk:auto-capture',a133_0x292246[a133_0xeb48d2(0x114)]=a133_0xeb48d2(0x136),a133_0x292246[a133_0xeb48d2(0xfc)]=a133_0xeb48d2(0x104),a133_0x292246['SDK_AUTOMATE']='sdk:automate',a133_0x292246[a133_0xeb48d2(0x131)]=a133_0xeb48d2(0xfa),a133_0x292246[a133_0xeb48d2(0x151)]=a133_0xeb48d2(0x13d),a133_0x292246[a133_0xeb48d2(0x13f)]=a133_0xeb48d2(0xd6),a133_0x292246[a133_0xeb48d2(0xec)]=a133_0xeb48d2(0x152),a133_0x292246[a133_0xeb48d2(0x12c)]=a133_0xeb48d2(0x105),a133_0x292246[a133_0xeb48d2(0x149)]=a133_0xeb48d2(0x14a),a133_0x292246['SDK_CLI_DOWNLOAD']=a133_0xeb48d2(0x108),a133_0x292246['SDK_CLI_CHECK_UPDATE']=a133_0xeb48d2(0x107),a133_0x292246[a133_0xeb48d2(0xe2)]=a133_0xeb48d2(0xf5),a133_0x292246[a133_0xeb48d2(0x158)]=a133_0xeb48d2(0xfb),a133_0x292246['SDK_CLI_ON_STOP']='sdk:cli:on-stop',a133_0x292246[a133_0xeb48d2(0xff)]=a133_0xeb48d2(0x120),a133_0x292246[a133_0xeb48d2(0x157)]='sdk:connectBinSession',a133_0x292246[a133_0xeb48d2(0x154)]=a133_0xeb48d2(0x129),a133_0x292246[a133_0xeb48d2(0x100)]=a133_0xeb48d2(0x137),a133_0x292246[a133_0xeb48d2(0x153)]='sdk:automationFrameworkInit',a133_0x292246['SDK_AUTOMATION_FRAMEWORK_START']=a133_0xeb48d2(0x133),a133_0x292246[a133_0xeb48d2(0x111)]=a133_0xeb48d2(0x117),a133_0x292246['SDK_OBSERVABILITY_CONFIG']=a133_0xeb48d2(0x124),a133_0x292246[a133_0xeb48d2(0xf1)]=a133_0xeb48d2(0xda),a133_0x292246['SDK_AI_SELF_HEAL_GET_RESULT']=a133_0xeb48d2(0x143),a133_0x292246['SDK_TEST_FRAMEWORK_EVENT']=a133_0xeb48d2(0x10d),a133_0x292246['SDK_TEST_SESSION_EVENT']='sdk:testSessionEvent',a133_0x292246['SDK_CLI_LOG_CREATED_EVENT']='sdk:cli:logCreatedEvent',a133_0x292246[a133_0xeb48d2(0x10e)]=a133_0xeb48d2(0x13c),a133_0x292246[a133_0xeb48d2(0x15d)]=a133_0xeb48d2(0xd9),a133_0x292246[a133_0xeb48d2(0x15a)]=a133_0xeb48d2(0x15b);function a133_0x5855(_0x2f03c7,_0x7cbcd){const _0xbc826a=a133_0xbc82();return a133_0x5855=function(_0x585556,_0x4d67e0){_0x585556=_0x585556-0xd5;let _0x57a9a6=_0xbc826a[_0x585556];return _0x57a9a6;},a133_0x5855(_0x2f03c7,_0x7cbcd);}const SDK_EVENTS=a133_0x292246,a133_0x58c391={};a133_0x58c391[a133_0xeb48d2(0x142)]=SDK_EVENTS,a133_0x58c391[a133_0xeb48d2(0xe1)]={},a133_0x58c391[a133_0xeb48d2(0xf6)]={},a133_0x58c391[a133_0xeb48d2(0xe8)]={},a133_0x58c391[a133_0xeb48d2(0xf0)]={},a133_0x58c391[a133_0xeb48d2(0xf9)]={},a133_0x58c391[a133_0xeb48d2(0xdf)]={},a133_0x58c391[a133_0xeb48d2(0x112)]={},a133_0x58c391[a133_0xeb48d2(0x115)]={},a133_0x58c391[a133_0xeb48d2(0x123)]={},a133_0x58c391[a133_0xeb48d2(0xe1)][a133_0xeb48d2(0xf8)]=SDK_EVENTS[a133_0xeb48d2(0xfc)]+a133_0xeb48d2(0xe7),a133_0x58c391[a133_0xeb48d2(0xe1)][a133_0xeb48d2(0x109)]=SDK_EVENTS['SDK_TESTHUB']+a133_0xeb48d2(0x155),a133_0x58c391[a133_0xeb48d2(0xf6)][a133_0xeb48d2(0x127)]=SDK_EVENTS[a133_0xeb48d2(0xd8)]+a133_0xeb48d2(0x116),a133_0x58c391[a133_0xeb48d2(0xf6)]['HUB_MANAGEMENT']=SDK_EVENTS[a133_0xeb48d2(0xd8)]+':hub-management',a133_0x58c391[a133_0xeb48d2(0xf6)][a133_0xeb48d2(0x130)]=SDK_EVENTS[a133_0xeb48d2(0xd8)]+a133_0xeb48d2(0x150),a133_0x58c391[a133_0xeb48d2(0xf6)][a133_0xeb48d2(0x119)]=SDK_EVENTS[a133_0xeb48d2(0xd8)]+':local-stop',a133_0x58c391[a133_0xeb48d2(0xf6)]['DRIVER_MANAGE']=SDK_EVENTS[a133_0xeb48d2(0xd8)]+a133_0xeb48d2(0x14c),a133_0x58c391[a133_0xeb48d2(0xf6)][a133_0xeb48d2(0x128)]=SDK_EVENTS[a133_0xeb48d2(0xd8)]+a133_0xeb48d2(0x126),a133_0x58c391[a133_0xeb48d2(0xf6)]['SESSION_STATUS']=SDK_EVENTS[a133_0xeb48d2(0xd8)]+a133_0xeb48d2(0xeb),a133_0x58c391[a133_0xeb48d2(0xf6)][a133_0xeb48d2(0x14d)]=SDK_EVENTS[a133_0xeb48d2(0xd8)]+a133_0xeb48d2(0x14f),a133_0x58c391[a133_0xeb48d2(0xf6)][a133_0xeb48d2(0x135)]=SDK_EVENTS[a133_0xeb48d2(0xd8)]+a133_0xeb48d2(0x11b),a133_0x58c391[a133_0xeb48d2(0xf6)][a133_0xeb48d2(0xdc)]=SDK_EVENTS[a133_0xeb48d2(0xd8)]+a133_0xeb48d2(0xdd),a133_0x58c391[a133_0xeb48d2(0xf6)][a133_0xeb48d2(0xdb)]=SDK_EVENTS[a133_0xeb48d2(0xd8)]+a133_0xeb48d2(0x113),a133_0x58c391[a133_0xeb48d2(0xe8)]['PERFORM_SCAN']=SDK_EVENTS[a133_0xeb48d2(0x132)]+a133_0xeb48d2(0x14e),a133_0x58c391[a133_0xeb48d2(0xe8)][a133_0xeb48d2(0xfe)]=SDK_EVENTS[a133_0xeb48d2(0x132)]+':save-results',a133_0x58c391[a133_0xeb48d2(0xe8)][a133_0xeb48d2(0x10b)]=SDK_EVENTS[a133_0xeb48d2(0x132)]+':get-accessibility-results',a133_0x58c391[a133_0xeb48d2(0xe8)][a133_0xeb48d2(0x159)]=SDK_EVENTS[a133_0xeb48d2(0x132)]+a133_0xeb48d2(0x102),a133_0x58c391[a133_0xeb48d2(0xf0)][a133_0xeb48d2(0xe4)]=SDK_EVENTS[a133_0xeb48d2(0x13f)]+':download',a133_0x58c391[a133_0xeb48d2(0xf0)][a133_0xeb48d2(0x145)]=SDK_EVENTS['SDK_PERCY']+a133_0xeb48d2(0x141),a133_0x58c391[a133_0xeb48d2(0xf0)][a133_0xeb48d2(0xf8)]=SDK_EVENTS[a133_0xeb48d2(0x13f)]+':start',a133_0x58c391[a133_0xeb48d2(0xf0)][a133_0xeb48d2(0x109)]=SDK_EVENTS['SDK_PERCY']+a133_0xeb48d2(0x155),a133_0x58c391[a133_0xeb48d2(0xf0)][a133_0xeb48d2(0x12f)]=SDK_EVENTS['SDK_PERCY']+a133_0xeb48d2(0x10f),a133_0x58c391[a133_0xeb48d2(0xf0)][a133_0xeb48d2(0x13a)]=SDK_EVENTS[a133_0xeb48d2(0x13f)]+a133_0xeb48d2(0xe9),a133_0x58c391[a133_0xeb48d2(0xf0)][a133_0xeb48d2(0xea)]=SDK_EVENTS[a133_0xeb48d2(0x13f)]+':screenshot-app',a133_0x58c391[a133_0xeb48d2(0xf9)][a133_0xeb48d2(0x121)]=SDK_EVENTS['SDK_O11Y']+a133_0xeb48d2(0xed),a133_0x58c391[a133_0xeb48d2(0xf9)][a133_0xeb48d2(0xee)]=SDK_EVENTS[a133_0xeb48d2(0xfd)]+':driver-takeScreenShot',a133_0x58c391[a133_0xeb48d2(0xf9)][a133_0xeb48d2(0xdb)]=SDK_EVENTS[a133_0xeb48d2(0xfd)]+a133_0xeb48d2(0x113),a133_0x58c391[a133_0xeb48d2(0xdf)][a133_0xeb48d2(0x139)]=SDK_EVENTS[a133_0xeb48d2(0x147)]+a133_0xeb48d2(0x103),a133_0x58c391[a133_0xeb48d2(0xdf)][a133_0xeb48d2(0x148)]=SDK_EVENTS[a133_0xeb48d2(0x147)]+':after-each',a133_0x58c391[a133_0xeb48d2(0xdf)][a133_0xeb48d2(0x138)]=SDK_EVENTS[a133_0xeb48d2(0x147)]+':after-all',a133_0x58c391[a133_0xeb48d2(0xdf)]['BEFORE_ALL']=SDK_EVENTS['SDK_HOOK']+a133_0xeb48d2(0x11a),a133_0x58c391[a133_0xeb48d2(0xdf)]['BEFORE']=SDK_EVENTS[a133_0xeb48d2(0x147)]+a133_0xeb48d2(0xe5),a133_0x58c391[a133_0xeb48d2(0xdf)][a133_0xeb48d2(0x144)]=SDK_EVENTS[a133_0xeb48d2(0x147)]+a133_0xeb48d2(0x10c),a133_0x58c391[a133_0xeb48d2(0x112)]['HUB_MANAGEMENT']=SDK_EVENTS['SDK_TURBOSCALE']+':hub-management',a133_0x58c391[a133_0xeb48d2(0x112)][a133_0xeb48d2(0xdb)]=SDK_EVENTS[a133_0xeb48d2(0x151)]+':print-buildlink',a133_0x58c391[a133_0xeb48d2(0x115)]['APP_UPLOAD']=SDK_EVENTS[a133_0xeb48d2(0x131)]+a133_0xeb48d2(0x12b),a133_0x58c391[a133_0xeb48d2(0x123)][a133_0xeb48d2(0xf2)]=SDK_EVENTS[a133_0xeb48d2(0x134)]+a133_0xeb48d2(0x106),a133_0x58c391[a133_0xeb48d2(0x123)][a133_0xeb48d2(0xf4)]=SDK_EVENTS[a133_0xeb48d2(0x134)]+a133_0xeb48d2(0xe0),a133_0x58c391[a133_0xeb48d2(0x123)][a133_0xeb48d2(0xd5)]=SDK_EVENTS[a133_0xeb48d2(0x134)]+a133_0xeb48d2(0x140),a133_0x58c391[a133_0xeb48d2(0x123)][a133_0xeb48d2(0xde)]=SDK_EVENTS[a133_0xeb48d2(0x134)]+a133_0xeb48d2(0x118),module[a133_0xeb48d2(0x13b)]=a133_0x58c391;
|