browserstack-node-sdk 1.36.7 → 1.37.0
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 -66
- 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 -0
- 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_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/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/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/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -0
- package/src/helpers/test-orchestration/failfastManager.js +1 -0
- package/src/helpers/test-orchestration/fileHelper.js +1 -0
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -0
- package/src/helpers/test-orchestration/requestUtils.js +1 -0
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -0
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -0
- 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/test-orchestration/fail-fast/fileHelper.js +0 -1
- package/src/helpers/test-orchestration/fail-fast/jest.js +0 -1
- package/src/helpers/test-orchestration/fail-fast/requestUtils.js +0 -1
package/src/helpers/logger.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a95_0x1762e8=a95_0x58cf;(function(_0x1930ab,_0x24d616){const _0x2f00bc=a95_0x58cf,_0x411543=_0x1930ab();while(!![]){try{const _0x3284c5=parseInt(_0x2f00bc(0x138))/0x1+parseInt(_0x2f00bc(0x12d))/0x2*(parseInt(_0x2f00bc(0x125))/0x3)+parseInt(_0x2f00bc(0x110))/0x4+parseInt(_0x2f00bc(0x11d))/0x5*(parseInt(_0x2f00bc(0x11f))/0x6)+parseInt(_0x2f00bc(0x13a))/0x7*(-parseInt(_0x2f00bc(0x124))/0x8)+-parseInt(_0x2f00bc(0x131))/0x9*(-parseInt(_0x2f00bc(0x129))/0xa)+-parseInt(_0x2f00bc(0x10e))/0xb;if(_0x3284c5===_0x24d616)break;else _0x411543['push'](_0x411543['shift']());}catch(_0x5a1cc6){_0x411543['push'](_0x411543['shift']());}}}(a95_0x19db,0x58c5f));const winston=require(a95_0x1762e8(0x10f)),path=require(a95_0x1762e8(0x11a)),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME}=require(a95_0x1762e8(0x11c)),tempLogDir=a95_0x1762e8(0x113),fetchLogDir=()=>{const _0x542ab0=a95_0x1762e8;if(process['env'][_0x542ab0(0x133)])return process[_0x542ab0(0x10a)]['BROWSERSTACK_INTERNAL_LOG_DIR'];else!fs[_0x542ab0(0x114)](tempLogDir)&&fs[_0x542ab0(0x137)](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),a95_0x3347f6={};a95_0x3347f6['name']=a95_0x1762e8(0x135);function a95_0x19db(){const _0x705aee=['getLogDir','234hIdwwX','logDir','fileLogger','oElLK','debugLoggerFile','33432vxQKVf','3MdFSMs','timestamp','message','createLogger','209030jnaYKf','colorize','add','qJKFi','1020274atWPVX','Console','code','loggerFile','117yQLYYA','\x20-\x20','BROWSERSTACK_INTERNAL_LOG_DIR','szKUm','console.info','/usage.log','mkdirSync','121169WGxqNk','YYYY-MM-DD\x20HH:mm:ss','903ymbsJn','/usage-debug.log','format','Zncar','env','File','transports','/sdk-cli-debug.log','9050833aQfvno','winston','2590664tfefUw','winstonLogger','join','log','existsSync','silly','level','printf','combine','loggerConsole','path','1|5|3|2|0|4','../bin/utils/constants','22410ICMhJD'];a95_0x19db=function(){return _0x705aee;};return a95_0x19db();}const transports={'loggerConsole':new winston[(a95_0x1762e8(0x10c))][(a95_0x1762e8(0x12e))](a95_0x3347f6),'loggerFile':new winston[(a95_0x1762e8(0x10c))][(a95_0x1762e8(0x10b))]({'filename':path[a95_0x1762e8(0x112)](logDir,a95_0x1762e8(0x136))}),'debugLoggerFile':new winston[(a95_0x1762e8(0x10c))][(a95_0x1762e8(0x10b))]({'filename':path[a95_0x1762e8(0x112)](logDir,a95_0x1762e8(0x13b)),'level':a95_0x1762e8(0x115)}),'debugCliLoggerFile':new winston[(a95_0x1762e8(0x10c))]['File']({'filename':path['join'](logDir,a95_0x1762e8(0x10d)),'level':'silly'})};transports[a95_0x1762e8(0x119)]['on']('error',_0x52e079=>{const _0x4e7bd8=a95_0x1762e8,_0x546c03={};_0x546c03[_0x4e7bd8(0x134)]=function(_0x5c6382,_0x55d2ce){return _0x5c6382===_0x55d2ce;},_0x546c03['qJKFi']='EPIPE',_0x546c03['oElLK']='EPIPE\x20error\x20occurred\x20in\x20loggerConsole:';const _0x2ec216=_0x546c03;if(_0x2ec216[_0x4e7bd8(0x134)](_0x52e079[_0x4e7bd8(0x12f)],_0x2ec216[_0x4e7bd8(0x12c)])){console[_0x4e7bd8(0x113)](_0x2ec216[_0x4e7bd8(0x122)],_0x52e079[_0x4e7bd8(0x127)]);return;}throw _0x52e079;});const a95_0x1371e5={};a95_0x1371e5[a95_0x1762e8(0x13c)]=a95_0x1762e8(0x139);const a95_0x477a59={};function a95_0x58cf(_0x436e11,_0x64b25b){const _0x19db80=a95_0x19db();return a95_0x58cf=function(_0x58cf25,_0x2bca74){_0x58cf25=_0x58cf25-0x10a;let _0x518f25=_0x19db80[_0x58cf25];return _0x518f25;},a95_0x58cf(_0x436e11,_0x64b25b);}a95_0x477a59[a95_0x1762e8(0x116)]=!![];const winstonLoggerParams={'format':winston['format'][a95_0x1762e8(0x118)](winston['format'][a95_0x1762e8(0x126)](a95_0x1371e5),winston[a95_0x1762e8(0x13c)][a95_0x1762e8(0x12a)](a95_0x477a59),winston[a95_0x1762e8(0x13c)][a95_0x1762e8(0x117)](_0x591912=>_0x591912[a95_0x1762e8(0x126)]+a95_0x1762e8(0x132)+_0x591912[a95_0x1762e8(0x116)]+':\x20'+_0x591912[a95_0x1762e8(0x127)])),'transports':[transports[a95_0x1762e8(0x119)]]},a95_0x2c6181={};a95_0x2c6181[a95_0x1762e8(0x13c)]='YYYY-MM-DD\x20HH:mm:ss';const a95_0x29aa07={};a95_0x29aa07[a95_0x1762e8(0x116)]=!![];const winstonFileLoggerParams={'format':winston['format'][a95_0x1762e8(0x118)](winston['format'][a95_0x1762e8(0x126)](a95_0x2c6181),winston['format'][a95_0x1762e8(0x12a)](a95_0x29aa07),winston[a95_0x1762e8(0x13c)][a95_0x1762e8(0x117)](_0x3e8154=>_0x3e8154[a95_0x1762e8(0x116)]+':\x20'+_0x3e8154['message'])),'transports':[]},initialize=()=>{const _0x259a12=a95_0x1762e8,_0x38d01d={};_0x38d01d['Zncar']=_0x259a12(0x11b),_0x38d01d['Cfqck']='silly';const _0x1465fc=_0x38d01d,_0x30235e=_0x1465fc[_0x259a12(0x13d)]['split']('|');let _0x38d6c6=0x0;while(!![]){switch(_0x30235e[_0x38d6c6++]){case'0':exports[_0x259a12(0x121)]['add'](transports[_0x259a12(0x130)]);continue;case'1':transports['loggerFile']=new winston[(_0x259a12(0x10c))][(_0x259a12(0x10b))]({'filename':path[_0x259a12(0x112)](exports[_0x259a12(0x120)],LOG_FILE_NAME)});continue;case'2':exports[_0x259a12(0x111)]['add'](transports['debugLoggerFile']);continue;case'3':exports['winstonLogger'][_0x259a12(0x12b)](transports[_0x259a12(0x130)]);continue;case'4':exports['fileLogger'][_0x259a12(0x12b)](transports[_0x259a12(0x123)]);continue;case'5':transports['debugLoggerFile']=new winston[(_0x259a12(0x10c))][(_0x259a12(0x10b))]({'filename':path[_0x259a12(0x112)](exports['logDir'],DEBUG_LOG_FILE_NAME),'level':_0x1465fc['Cfqck']});continue;}break;}};exports[a95_0x1762e8(0x111)]=new winston[(a95_0x1762e8(0x128))](winstonLoggerParams),exports[a95_0x1762e8(0x121)]=new winston[(a95_0x1762e8(0x128))](winstonFileLoggerParams),exports['logDir']=logDir,exports[a95_0x1762e8(0x11e)]=()=>{const _0x153ba2=a95_0x1762e8;return exports[_0x153ba2(0x120)];},exports[a95_0x1762e8(0x10c)]=transports,exports['initialize']=initialize;logDir&&initialize();
|
package/src/helpers/metadata.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a96_0x21f4e0=a96_0xba6e;(function(_0x3d5fb1,_0x38b14e){const _0x2cea45=a96_0xba6e,_0x172694=_0x3d5fb1();while(!![]){try{const _0x4d75f3=-parseInt(_0x2cea45(0x9d))/0x1+parseInt(_0x2cea45(0xb3))/0x2+-parseInt(_0x2cea45(0xa7))/0x3*(parseInt(_0x2cea45(0xb8))/0x4)+parseInt(_0x2cea45(0xb4))/0x5+parseInt(_0x2cea45(0xaa))/0x6+parseInt(_0x2cea45(0xad))/0x7*(-parseInt(_0x2cea45(0xab))/0x8)+-parseInt(_0x2cea45(0xb7))/0x9*(-parseInt(_0x2cea45(0xb5))/0xa);if(_0x4d75f3===_0x38b14e)break;else _0x172694['push'](_0x172694['shift']());}catch(_0x40e852){_0x172694['push'](_0x172694['shift']());}}}(a96_0x2f59,0x8fde3));function a96_0xba6e(_0x11b7cf,_0x5b3b70){const _0x2f591a=a96_0x2f59();return a96_0xba6e=function(_0xba6e31,_0x56438d){_0xba6e31=_0xba6e31-0x9b;let _0x171305=_0x2f591a[_0xba6e31];return _0x171305;},a96_0xba6e(_0x11b7cf,_0x5b3b70);}function a96_0x2f59(){const _0x54293f=['exports','2585954DqkYTs','testMeta','aDkXA','string','JCeSD','testMeta-','1974566DQwuXm','3690970QBRHxy','1998650pdVXln','getCentralUser','27pwIVMv','4772ocXtox','set','testRunUUID','921361yMLidT','identifier','lcnc','./globals','jSbqt','warn','getGlobal','QFxTn','setGlobal','qmxeJ','549ODWHuA','./helper','winstonLogger','3072942MmqAvk','24hJDYoc'];a96_0x2f59=function(){return _0x54293f;};return a96_0x2f59();}const globals=require(a96_0x21f4e0(0xa0)),helper=require(a96_0x21f4e0(0xa8)),logger=require('./logger')[a96_0x21f4e0(0xa9)];module[a96_0x21f4e0(0xac)]=class TestMetadata{static[a96_0x21f4e0(0x9b)](_0xa7c1cb={}){const _0x3c923e=a96_0x21f4e0,_0x425daa={};_0x425daa[_0x3c923e(0xa6)]=_0x3c923e(0x9c),_0x425daa['LsZpy']=function(_0xc4500d,_0x42fc97){return _0xc4500d===_0x42fc97;},_0x425daa[_0x3c923e(0xa1)]=_0x3c923e(0xb0),_0x425daa['QFxTn']=function(_0x192492,_0x46f38e){return _0x192492<=_0x46f38e;},_0x425daa[_0x3c923e(0xaf)]=_0x3c923e(0xae),_0x425daa['sAyNt']='The\x20metadata\x20object\x20is\x20not\x20valid.';const _0x21dd2a=_0x425daa,_0xa7369e=globals['getGlobal'](_0x21dd2a[_0x3c923e(0xa6)]),_0x3de07d=_0xa7c1cb[_0x3c923e(0x9e)];helper['getCentralUser']()['lcnc']&&(_0x21dd2a['LsZpy'](typeof _0x3de07d,_0x21dd2a[_0x3c923e(0xa1)])&&_0x21dd2a[_0x3c923e(0xa4)](_0x3de07d['length'],0x28)?_0xa7369e?globals['setGlobal'](_0x3c923e(0xb2)+_0xa7369e,_0xa7c1cb):globals[_0x3c923e(0xa5)](_0x21dd2a[_0x3c923e(0xaf)],_0xa7c1cb):logger[_0x3c923e(0xa2)](_0x21dd2a['sAyNt']));}static['get'](_0xfd9e18){const _0x10e688=a96_0x21f4e0,_0x2ec34d={};_0x2ec34d[_0x10e688(0xb1)]='testMeta';const _0x10d258=_0x2ec34d;if(helper[_0x10e688(0xb6)]()[_0x10e688(0x9f)])return globals[_0x10e688(0xa3)](_0x10e688(0xb2)+_0xfd9e18)||globals[_0x10e688(0xa3)](_0x10d258['JCeSD'])||{};return{};}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a96_0x3d18b0=a96_0x55f2;function a96_0x55f2(_0x48c67d,_0x1e133d){const _0x2d393e=a96_0x2d39();return a96_0x55f2=function(_0x55f2b0,_0x1a9f92){_0x55f2b0=_0x55f2b0-0x152;let _0x2b192f=_0x2d393e[_0x55f2b0];return _0x2b192f;},a96_0x55f2(_0x48c67d,_0x1e133d);}(function(_0x5c461e,_0x582f1e){const _0x19f2ce=a96_0x55f2,_0x42dfad=_0x5c461e();while(!![]){try{const _0x42b2bb=parseInt(_0x19f2ce(0x1a7))/0x1+-parseInt(_0x19f2ce(0x18d))/0x2*(parseInt(_0x19f2ce(0x196))/0x3)+parseInt(_0x19f2ce(0x18b))/0x4+-parseInt(_0x19f2ce(0x198))/0x5+parseInt(_0x19f2ce(0x180))/0x6*(parseInt(_0x19f2ce(0x19a))/0x7)+parseInt(_0x19f2ce(0x1b1))/0x8*(parseInt(_0x19f2ce(0x199))/0x9)+-parseInt(_0x19f2ce(0x178))/0xa*(parseInt(_0x19f2ce(0x17c))/0xb);if(_0x42b2bb===_0x582f1e)break;else _0x42dfad['push'](_0x42dfad['shift']());}catch(_0x41403c){_0x42dfad['push'](_0x42dfad['shift']());}}}(a96_0x2d39,0x5f54c));const {aiSdkWrapper}=require(a96_0x3d18b0(0x160)),{commandRepository}=require(a96_0x3d18b0(0x183)),PerformanceTester=require(a96_0x3d18b0(0x158)),globals=require(a96_0x3d18b0(0x1b4)),logger=require(a96_0x3d18b0(0x1b6))['winstonLogger'],helper=require('./helper'),constants=require(a96_0x3d18b0(0x197)),{DRIVER_EVENT:PerformanceDriverEvents}=require(a96_0x3d18b0(0x16f));function a96_0x2d39(){const _0x52b192=['Dsvhj','Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','value','url','includes','8728fzpptu','SsYmt','debug','./globals','rxkQl','./logger','aiHeal:findElementSuccess','browserstack.local','kTVWf','POST_EXECUTE','VcPko','nestedKeyValue','./performance/performance-tester','info','getSession','UCVhj','using','patchExecute','TAUFq','knCPp','./ai-sdk/aiSdkWrapper','zQRWu','uBhRb','TGcpv','rcVDy','toString','get','css\x20selector','error','LTMPX','setTcgTokenStatus','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','yvQqF','Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','ZPhdV','./performance/constants','aiHeal:setToken','BbzQH','Healing\x20failed\x20for\x20command\x20using\x20','aiHeal_isHealingEnabled','Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','IdlSK','JavascriptError','NoSuchElementError','30joaWwE','PRE_EXECUTE','wqHqw','getId','4342261KixZIu','getGlobal','lvXQG','execute','6xyPhnR','PuQqB','handleSuccess','./ai-sdk/autoHealHelper','isBrowserstackInfra','sXnLC','name','parameters_','Error\x20in\x20handling\x20TCG\x20Auth:\x20','aiHeal_isAuthenticated','vtpJi','2713660uwZNjH','nqegM','59006ajpqLv','gKXzJ','pnXMz','eLYOD','bstack:options','XYtcw','overrideExecute','lLEgX','findElement\x20command\x20failed\x20with\x20cssPath:\x20','27IcEKSB','../bin/utils/constants','75035FKdFTP','4023WgeFGN','1202873CnYKpp','aiSdk_defaultLogDataEnabled','measureWrapper','wSORR','euYMZ','aiHeal:findElementFailure','initExecute','name_','isSelfHealEnabled','HEgMI','UCydg','EXfAn','findElement','517332uOuhCO','ETRvH','VArev','cCTrn',';\x20Trying\x20to\x20heal'];a96_0x2d39=function(){return _0x52b192;};return a96_0x2d39();}exports[a96_0x3d18b0(0x193)]=(_0x2c493c,_0x56cdeb)=>{const _0xcd5d89=a96_0x3d18b0,_0x3f37e5={'LTMPX':_0xcd5d89(0x189),'rcVDy':_0xcd5d89(0x170),'IdlSK':function(_0x23af85){return _0x23af85();},'zQRWu':_0xcd5d89(0x19b),'yvQqF':function(_0x5f4f94,_0x1ff945){return _0x5f4f94===_0x1ff945;},'EXfAn':_0xcd5d89(0x1a6),'lvXQG':_0xcd5d89(0x173),'Gyura':_0xcd5d89(0x152),'ZPhdV':function(_0x3c524d){return _0x3c524d();},'BbzQH':_0xcd5d89(0x16b),'cCTrn':_0xcd5d89(0x177),'uBhRb':_0xcd5d89(0x176),'PuQqB':function(_0x351c9d,_0x3253f0){return _0x351c9d===_0x3253f0;},'UCydg':_0xcd5d89(0x167),'eLYOD':function(_0x439721,_0x2aa29a){return _0x439721+_0x2aa29a;},'Dsvhj':_0xcd5d89(0x195),'wSORR':_0xcd5d89(0x1ab),'ZmEoH':function(_0x42216a,_0x599b28){return _0x42216a+_0x599b28;},'kTVWf':function(_0x2a6315,_0x3b6757){return _0x2a6315+_0x3b6757;},'HEgMI':function(_0x453564,_0x144df9){return _0x453564+_0x144df9;},'lLEgX':'findElement\x20command\x20failed\x20with\x20','VArev':_0xcd5d89(0x19f),'qPndd':function(_0x557a75,_0x4cb9a0){return _0x557a75&&_0x4cb9a0;},'sXnLC':function(_0x3a42f8,_0x1e1e17){return _0x3a42f8+_0x1e1e17;},'nqegM':_0xcd5d89(0x1ad),'SsYmt':function(_0x59fd9d,_0x37e4cf){return _0x59fd9d+_0x37e4cf;},'TAUFq':function(_0x51c375,_0x2f92b6){return _0x51c375+_0x2f92b6;},'rxkQl':'Successfully\x20healed\x20command\x20using\x20new\x20','pnXMz':function(_0x32d280,_0x453749){return _0x32d280===_0x453749;},'Cahfj':_0xcd5d89(0x174),'TGcpv':function(_0x5c235d,_0x5268da){return _0x5c235d+_0x5268da;},'MUVyd':function(_0x4a6957,_0x3322f4){return _0x4a6957+_0x3322f4;},'PodUF':_0xcd5d89(0x172),'knCPp':_0xcd5d89(0x166),'UCVhj':_0xcd5d89(0x187),'ETRvH':_0xcd5d89(0x1af),'gKXzJ':_0xcd5d89(0x16d),'vtpJi':'capability','euYMZ':_0xcd5d89(0x153),'XYtcw':_0xcd5d89(0x191),'wqHqw':'local'},_0x1cbc06=_0x2c493c[_0xcd5d89(0x15d)]||(helper[_0xcd5d89(0x157)](_0x56cdeb,[_0x3f37e5['vtpJi'],_0x3f37e5[_0xcd5d89(0x19e)]])||helper['nestedKeyValue'](_0x56cdeb,[_0x3f37e5[_0xcd5d89(0x18a)],_0x3f37e5[_0xcd5d89(0x192)],_0x3f37e5[_0xcd5d89(0x17a)]]));if(!globals[_0xcd5d89(0x17d)](_0x3f37e5[_0xcd5d89(0x169)])&&!globals[_0xcd5d89(0x17d)](_0x3f37e5[_0xcd5d89(0x17e)])&&_0x1cbc06)return;_0x2c493c[_0xcd5d89(0x15d)]=!![],_0x2c493c[_0xcd5d89(0x1a0)]=_0x2c493c[_0xcd5d89(0x17f)],_0x2c493c['execute']=async _0x58b560=>{const _0x33f561=_0xcd5d89,_0x49f409={};_0x49f409['VcPko']=_0x3f37e5[_0x33f561(0x169)];const _0x35425f=_0x49f409;try{const _0x189d0b={};_0x189d0b['command']=_0x58b560[_0x33f561(0x1a1)],await PerformanceTester[_0x33f561(0x19c)](PerformanceDriverEvents[_0x33f561(0x179)],async()=>{const _0x32d452=_0x33f561;if(!commandRepository['getTcgTokenStatus']()&&globals[_0x32d452(0x17d)](_0x3f37e5[_0x32d452(0x169)])){const _0x5cbc5d=PerformanceTester[_0x32d452(0x19c)](_0x3f37e5[_0x32d452(0x164)],async()=>{const _0x186b2b=_0x32d452;try{commandRepository[_0x186b2b(0x16a)](!![]),await aiSdkWrapper['setTcgToken']((await _0x2c493c['getSession']())['getId']());const _0x59d722=globals['getGlobal'](_0x35425f[_0x186b2b(0x156)]);_0x59d722&&commandRepository['setAiSessionTimeStamp']((await _0x2c493c[_0x186b2b(0x15a)]())[_0x186b2b(0x17b)]());}catch(_0xe7d26b){logger[_0x186b2b(0x168)](_0x186b2b(0x188)+_0xe7d26b);}});await _0x3f37e5[_0x32d452(0x175)](_0x5cbc5d);}},_0x189d0b)();const _0x599f26=await _0x2c493c[_0x33f561(0x1a0)](_0x58b560);return await PerformanceTester[_0x33f561(0x19c)](PerformanceDriverEvents[_0x33f561(0x155)],async()=>{const _0x2ea6d7=_0x33f561;if(!helper[_0x2ea6d7(0x184)]()&&(commandRepository[_0x2ea6d7(0x1a2)]()||globals[_0x2ea6d7(0x17d)](_0x3f37e5[_0x2ea6d7(0x161)]))&&_0x3f37e5[_0x2ea6d7(0x16c)](_0x58b560[_0x2ea6d7(0x1a1)],_0x3f37e5[_0x2ea6d7(0x1a5)])&&!_0x58b560['skipHealingSuccess']&&globals['getGlobal'](_0x3f37e5[_0x2ea6d7(0x169)])&&globals[_0x2ea6d7(0x17d)](_0x3f37e5['lvXQG'])){const _0x53dcf7=new Date(),_0x7421ed=PerformanceTester[_0x2ea6d7(0x19c)](_0x3f37e5['Gyura'],async()=>{const _0x1416d0=_0x2ea6d7;return await aiSdkWrapper[_0x1416d0(0x182)](_0x56cdeb,_0x2c493c,_0x58b560);});await _0x3f37e5[_0x2ea6d7(0x16e)](_0x7421ed);}},{'command':_0x58b560[_0x33f561(0x1a1)]})(),_0x599f26;}catch(_0x38d2f8){await PerformanceTester[_0x33f561(0x19c)](PerformanceDriverEvents[_0x33f561(0x155)],async()=>{const _0x25bee1=_0x33f561;logger[_0x25bee1(0x1b3)](_0x3f37e5[_0x25bee1(0x171)]);try{if(!helper['isBrowserstackInfra']()&&(_0x3f37e5[_0x25bee1(0x16c)](_0x38d2f8[_0x25bee1(0x186)],_0x3f37e5[_0x25bee1(0x1aa)])||_0x3f37e5[_0x25bee1(0x16c)](_0x38d2f8['name'],_0x3f37e5[_0x25bee1(0x162)]))&&_0x3f37e5[_0x25bee1(0x16c)](_0x58b560[_0x25bee1(0x1a1)],_0x3f37e5[_0x25bee1(0x1a5)])&&commandRepository[_0x25bee1(0x1a2)]()&&globals['getGlobal'](_0x3f37e5[_0x25bee1(0x169)])&&globals[_0x25bee1(0x17d)](_0x3f37e5[_0x25bee1(0x17e)])){_0x3f37e5[_0x25bee1(0x181)](_0x58b560[_0x25bee1(0x187)]['using'],_0x3f37e5[_0x25bee1(0x1a4)])?logger[_0x25bee1(0x159)](_0x3f37e5[_0x25bee1(0x190)](_0x3f37e5['eLYOD'](_0x3f37e5[_0x25bee1(0x1ac)],_0x58b560['parameters_']['value']),_0x3f37e5[_0x25bee1(0x19d)])):logger[_0x25bee1(0x159)](_0x3f37e5['ZmEoH'](_0x3f37e5[_0x25bee1(0x154)](_0x3f37e5[_0x25bee1(0x190)](_0x3f37e5[_0x25bee1(0x1a3)](_0x3f37e5[_0x25bee1(0x194)],_0x58b560['parameters_'][_0x25bee1(0x15c)]),':\x20'),_0x58b560[_0x25bee1(0x187)][_0x25bee1(0x1ae)]),_0x3f37e5[_0x25bee1(0x19d)]));const _0xd67306=PerformanceTester[_0x25bee1(0x19c)](_0x3f37e5[_0x25bee1(0x1a9)],async()=>{return await aiSdkWrapper['handleFailure'](_0x56cdeb,_0x2c493c,_0x58b560);}),_0x1e84ce=new Date(),{locatorType:_0x6b3545,locatorValue:_0x39cc2f,commandHealed:_0xfe669a}=await _0x3f37e5[_0x25bee1(0x16e)](_0xd67306);if(_0x3f37e5['qPndd'](_0x6b3545,_0x39cc2f)){_0x58b560[_0x25bee1(0x187)][_0x25bee1(0x15c)]=_0x6b3545,_0x58b560[_0x25bee1(0x187)][_0x25bee1(0x1ae)]=_0x39cc2f,_0x58b560['skipHealingSuccess']=!![];const _0x5aaee3=_0x2c493c[_0x25bee1(0x17f)](_0x58b560);return _0x3f37e5['PuQqB'](_0x6b3545,_0x3f37e5[_0x25bee1(0x1a4)])?logger[_0x25bee1(0x159)](_0x3f37e5['sXnLC'](_0x3f37e5[_0x25bee1(0x18c)],_0x39cc2f)):logger[_0x25bee1(0x159)](_0x3f37e5[_0x25bee1(0x1a3)](_0x3f37e5[_0x25bee1(0x1b2)](_0x3f37e5[_0x25bee1(0x15e)](_0x3f37e5[_0x25bee1(0x1b5)],_0x6b3545),':\x20'),_0x39cc2f)),_0x5aaee3;}else!_0xfe669a&&(_0x3f37e5[_0x25bee1(0x18f)](_0x6b3545,_0x3f37e5['UCydg'])?logger['info'](_0x3f37e5[_0x25bee1(0x1b2)](_0x3f37e5['Cahfj'],_0x58b560['parameters_'][_0x25bee1(0x1ae)])):logger[_0x25bee1(0x159)](_0x3f37e5[_0x25bee1(0x163)](_0x3f37e5['MUVyd'](_0x3f37e5[_0x25bee1(0x185)](_0x3f37e5['PodUF'],_0x58b560[_0x25bee1(0x187)][_0x25bee1(0x15c)]),':\x20'),_0x58b560['parameters_']['value'])));}!_0x1cbc06&&_0x3f37e5['PuQqB'](_0x58b560[_0x25bee1(0x1a1)],_0x3f37e5[_0x25bee1(0x15f)])&&helper[_0x25bee1(0x157)](_0x58b560,[_0x3f37e5[_0x25bee1(0x15b)],_0x3f37e5[_0x25bee1(0x1a8)]])&&!!constants['NUDGE_LOCAL_ERRORS']['find'](_0x54c049=>{const _0x440228=_0x25bee1;return _0x38d2f8[_0x440228(0x165)]()[_0x440228(0x1b0)](_0x54c049);})&&helper['getNudgeLocalNotSetError'](_0x58b560[_0x25bee1(0x187)]['url'],!![]);}catch(_0x4ef64e){logger[_0x25bee1(0x1b3)](_0x3f37e5[_0x25bee1(0x18e)],_0x4ef64e);}},{'success':![],'failure':_0x38d2f8})();throw _0x38d2f8;}};};
|
|
1
|
+
const a97_0x462e2b=a97_0xa842;function a97_0xa842(_0xac2109,_0x48a00d){const _0x5737ec=a97_0x5737();return a97_0xa842=function(_0xa84269,_0x3a4fab){_0xa84269=_0xa84269-0xe8;let _0x11099d=_0x5737ec[_0xa84269];return _0x11099d;},a97_0xa842(_0xac2109,_0x48a00d);}(function(_0x5026b7,_0x5779a2){const _0x37e9b4=a97_0xa842,_0x3101ca=_0x5026b7();while(!![]){try{const _0x3266a4=-parseInt(_0x37e9b4(0x149))/0x1+-parseInt(_0x37e9b4(0x155))/0x2*(parseInt(_0x37e9b4(0xf0))/0x3)+parseInt(_0x37e9b4(0x156))/0x4+parseInt(_0x37e9b4(0xf3))/0x5*(parseInt(_0x37e9b4(0x159))/0x6)+parseInt(_0x37e9b4(0x11d))/0x7*(-parseInt(_0x37e9b4(0xe8))/0x8)+-parseInt(_0x37e9b4(0x105))/0x9+parseInt(_0x37e9b4(0x14e))/0xa*(parseInt(_0x37e9b4(0x106))/0xb);if(_0x3266a4===_0x5779a2)break;else _0x3101ca['push'](_0x3101ca['shift']());}catch(_0x2419c0){_0x3101ca['push'](_0x3101ca['shift']());}}}(a97_0x5737,0xb4c45));const {aiSdkWrapper}=require(a97_0x462e2b(0x142)),{commandRepository}=require(a97_0x462e2b(0x109)),PerformanceTester=require(a97_0x462e2b(0x15a)),globals=require(a97_0x462e2b(0x135)),logger=require(a97_0x462e2b(0xed))[a97_0x462e2b(0x13a)],helper=require(a97_0x462e2b(0x101)),constants=require(a97_0x462e2b(0x113)),{DRIVER_EVENT:PerformanceDriverEvents}=require(a97_0x462e2b(0x14b));function a97_0x5737(){const _0x4039a9=['JavascriptError','getGlobal','Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','9188001NmSRJx','29084132ttRVxe','VMsiW','findElement','./ai-sdk/autoHealHelper','SQCFL','NrDmp','using','name_','initExecute','KUHjd','bfCXH','AqIdX','parameters_','../bin/utils/constants','yVQte','LHOfB','css\x20selector','HKOro','oOtGA','civCB','CgZiQ','Successfully\x20healed\x20command\x20using\x20new\x20','SmoWC','495082UIimza','aiHeal_isAuthenticated','overrideExecute','info','IrZhM','VtWXx','vXeqa','NoSuchElementError','local','GfRFX','nestedKeyValue','ngSru','setTcgTokenStatus','rYaFp','Buzwa','capability','OPxZS','getNudgeLocalNotSetError','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','VPcOZ','DcjKJ','iMCNP','sKauQ','WcpqS','./globals','ldEcm','VRlZE','setTcgToken','UZfrp','winstonLogger','handleFailure','sbGty','isSelfHealEnabled','qFADA','MtsnK','LUFZq','gAqGC','./ai-sdk/aiSdkWrapper','aiHeal_isHealingEnabled','setAiSessionTimeStamp','DiLdH','VAaGc','skipHealingSuccess','DLNEb','1166425erLBsK','execute','./performance/constants','cNdKI','REmBS','10QcWITg','RUsWu','OXNCK','value','BGjgl','Error\x20in\x20handling\x20TCG\x20Auth:\x20','aiHeal:setToken','89576yzSGZT','3053900Khpeix','RGjqG','debug','5721708YgCArx','./performance/performance-tester','getId','VspuD','MOVZl','url','KnMTn','LMwZp','measureWrapper','command','Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','findElement\x20command\x20failed\x20with\x20','AkxEz','sRBaH','jXxch','GvTrI','isBrowserstackInfra','152SMnFxq','GYXTN','pkTKO','browserstack.local','Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','./logger','name','yobJF','6SPqXjI','patchExecute','LgmbJ','5BRVbVk','getSession','handleSuccess','FdccK','vVoZq','DAnvJ','rknUa','find','includes','CAGOw','POST_EXECUTE','getTcgTokenStatus','ffMxz',';\x20Trying\x20to\x20heal','./helper'];a97_0x5737=function(){return _0x4039a9;};return a97_0x5737();}exports[a97_0x462e2b(0x11f)]=(_0x1a697c,_0xfb3283)=>{const _0x55415c=a97_0x462e2b,_0x383212={'MOVZl':_0x55415c(0x11e),'vXeqa':_0x55415c(0x154),'yVQte':function(_0x293384){return _0x293384();},'PvhQG':'aiSdk_defaultLogDataEnabled','biSUi':function(_0x201ba5,_0x5db1dd){return _0x201ba5===_0x5db1dd;},'SmoWC':_0x55415c(0x108),'NBjFt':_0x55415c(0x143),'VspuD':'aiHeal:findElementSuccess','rknUa':_0x55415c(0x12f),'NrDmp':function(_0x346423,_0x5eda4b){return _0x346423===_0x5eda4b;},'DLNEb':_0x55415c(0x124),'DAnvJ':_0x55415c(0x102),'LHOfB':function(_0x3da0b0,_0x2c7769){return _0x3da0b0===_0x2c7769;},'bZoNt':_0x55415c(0x116),'AqIdX':function(_0x274d10,_0x12c3fb){return _0x274d10+_0x12c3fb;},'bfCXH':'findElement\x20command\x20failed\x20with\x20cssPath:\x20','SQCFL':_0x55415c(0x100),'DcjKJ':function(_0x38d622,_0x22da57){return _0x38d622+_0x22da57;},'RsMlM':_0x55415c(0x164),'LMwZp':'aiHeal:findElementFailure','HKOro':function(_0x44f191,_0x525733){return _0x44f191&&_0x525733;},'KnMTn':_0x55415c(0xec),'ngSru':function(_0x320729,_0x1e69f8){return _0x320729+_0x1e69f8;},'GWQFs':_0x55415c(0x11b),'DiLdH':_0x55415c(0x163),'VtWXx':function(_0x308072,_0x4ba366){return _0x308072+_0x4ba366;},'yobJF':function(_0x5d678e,_0x5270a0){return _0x5d678e+_0x5270a0;},'LgmbJ':'Healing\x20failed\x20for\x20command\x20using\x20','jceyV':'get','IrZhM':_0x55415c(0x112),'VRlZE':_0x55415c(0x15e),'WcpqS':_0x55415c(0x104),'jXxch':_0x55415c(0x12c),'qFADA':_0x55415c(0xeb),'Cbiln':'bstack:options','AkxEz':_0x55415c(0x125)},_0x4b544f=_0x1a697c['patchExecute']||(helper['nestedKeyValue'](_0xfb3283,[_0x383212[_0x55415c(0x167)],_0x383212[_0x55415c(0x13e)]])||helper[_0x55415c(0x127)](_0xfb3283,[_0x383212['jXxch'],_0x383212['Cbiln'],_0x383212[_0x55415c(0x165)]]));if(!globals[_0x55415c(0x103)](_0x383212[_0x55415c(0x15d)])&&!globals[_0x55415c(0x103)](_0x383212['NBjFt'])&&_0x4b544f)return;_0x1a697c[_0x55415c(0xf1)]=!![],_0x1a697c['initExecute']=_0x1a697c[_0x55415c(0x14a)],_0x1a697c['execute']=async _0x39d0df=>{const _0x288008=_0x55415c,_0x41a1ac={'OXNCK':_0x383212['MOVZl'],'LUFZq':_0x383212[_0x288008(0x123)],'GfRFX':function(_0x2e76f7){const _0x48b8c0=_0x288008;return _0x383212[_0x48b8c0(0x114)](_0x2e76f7);},'hukgv':_0x383212['PvhQG'],'rYaFp':function(_0x45bee1,_0x5a2134){return _0x383212['biSUi'](_0x45bee1,_0x5a2134);},'ldEcm':_0x383212[_0x288008(0x11c)],'RUsWu':_0x383212['NBjFt'],'ffMxz':_0x383212[_0x288008(0x15c)],'FdccK':_0x383212[_0x288008(0xf9)],'GvTrI':function(_0x3128b7,_0x35f629){const _0x4a587b=_0x288008;return _0x383212[_0x4a587b(0x10b)](_0x3128b7,_0x35f629);},'OPxZS':_0x383212[_0x288008(0x148)],'GYXTN':function(_0x492d04,_0x4df2fb){const _0x30ed88=_0x288008;return _0x383212[_0x30ed88(0x10b)](_0x492d04,_0x4df2fb);},'civCB':_0x383212[_0x288008(0xf8)],'pkTKO':function(_0x512e66,_0x313c94){const _0x5578b1=_0x288008;return _0x383212[_0x5578b1(0x115)](_0x512e66,_0x313c94);},'sbGty':function(_0x532246,_0x22448c){const _0x56261b=_0x288008;return _0x383212[_0x56261b(0x115)](_0x532246,_0x22448c);},'RGjqG':_0x383212['bZoNt'],'sRBaH':function(_0x289678,_0x1cdff9){const _0x50261a=_0x288008;return _0x383212[_0x50261a(0x111)](_0x289678,_0x1cdff9);},'UZfrp':function(_0x5b374d,_0x5d739b){const _0x2db37a=_0x288008;return _0x383212[_0x2db37a(0x111)](_0x5b374d,_0x5d739b);},'MtsnK':_0x383212[_0x288008(0x110)],'sKauQ':_0x383212[_0x288008(0x10a)],'iMCNP':function(_0x3b0585,_0x3903bc){const _0x27dde3=_0x288008;return _0x383212[_0x27dde3(0x131)](_0x3b0585,_0x3903bc);},'VPcOZ':_0x383212['RsMlM'],'CgZiQ':_0x383212[_0x288008(0x160)],'VAaGc':function(_0x574b35,_0x4f36c){const _0x5ac266=_0x288008;return _0x383212[_0x5ac266(0x117)](_0x574b35,_0x4f36c);},'wCNZr':function(_0x1c15b1,_0x444f67){const _0x229eae=_0x288008;return _0x383212[_0x229eae(0x111)](_0x1c15b1,_0x444f67);},'IBDVO':_0x383212[_0x288008(0x15f)],'KUHjd':function(_0x44f628,_0x574fa3){const _0x3a15ad=_0x288008;return _0x383212[_0x3a15ad(0x128)](_0x44f628,_0x574fa3);},'CAGOw':_0x383212['GWQFs'],'gAqGC':function(_0x379fd0,_0x48bbb7){const _0x428fa5=_0x288008;return _0x383212[_0x428fa5(0x131)](_0x379fd0,_0x48bbb7);},'BGjgl':_0x383212[_0x288008(0x145)],'cNdKI':function(_0x39d712,_0x46a58b){const _0x5c743e=_0x288008;return _0x383212[_0x5c743e(0x122)](_0x39d712,_0x46a58b);},'qLpgx':function(_0x2161b5,_0x36aadc){const _0x315918=_0x288008;return _0x383212[_0x315918(0xef)](_0x2161b5,_0x36aadc);},'Buzwa':_0x383212[_0x288008(0xf2)],'ihOrO':_0x383212['jceyV'],'REmBS':_0x383212[_0x288008(0x121)],'oOtGA':_0x383212[_0x288008(0x137)],'vVoZq':_0x383212[_0x288008(0x134)]};try{const _0x29a2d1={};_0x29a2d1[_0x288008(0x162)]=_0x39d0df[_0x288008(0x10d)],await PerformanceTester[_0x288008(0x161)](PerformanceDriverEvents['PRE_EXECUTE'],async()=>{const _0x321582=_0x288008,_0x21570d={};_0x21570d['VMsiW']=_0x41a1ac[_0x321582(0x150)];const _0x4bcbb2=_0x21570d;if(!commandRepository[_0x321582(0xfe)]()&&globals[_0x321582(0x103)](_0x41a1ac[_0x321582(0x150)])){const _0xbe7c66=PerformanceTester[_0x321582(0x161)](_0x41a1ac[_0x321582(0x140)],async()=>{const _0x1b4736=_0x321582;try{commandRepository[_0x1b4736(0x129)](!![]),await aiSdkWrapper[_0x1b4736(0x138)]((await _0x1a697c['getSession']())[_0x1b4736(0x15b)]());const _0x35c6ce=globals['getGlobal'](_0x4bcbb2[_0x1b4736(0x107)]);_0x35c6ce&&commandRepository[_0x1b4736(0x144)]((await _0x1a697c[_0x1b4736(0xf4)]())[_0x1b4736(0x15b)]());}catch(_0xdb2485){logger['error'](_0x1b4736(0x153)+_0xdb2485);}});await _0x41a1ac[_0x321582(0x126)](_0xbe7c66);}},_0x29a2d1)();const _0x11c043=await _0x1a697c[_0x288008(0x10e)](_0x39d0df);return await PerformanceTester[_0x288008(0x161)](PerformanceDriverEvents[_0x288008(0xfd)],async()=>{const _0x410004=_0x288008;if(!helper[_0x410004(0x169)]()&&(commandRepository['isSelfHealEnabled']()||globals[_0x410004(0x103)](_0x41a1ac['hukgv']))&&_0x41a1ac[_0x410004(0x12a)](_0x39d0df[_0x410004(0x10d)],_0x41a1ac['ldEcm'])&&!_0x39d0df[_0x410004(0x147)]&&globals[_0x410004(0x103)](_0x41a1ac['OXNCK'])&&globals[_0x410004(0x103)](_0x41a1ac[_0x410004(0x14f)])){const _0x34c5be=new Date(),_0x515c52=PerformanceTester[_0x410004(0x161)](_0x41a1ac[_0x410004(0xff)],async()=>{const _0x36f451=_0x410004;return await aiSdkWrapper[_0x36f451(0xf5)](_0xfb3283,_0x1a697c,_0x39d0df);});await _0x41a1ac[_0x410004(0x126)](_0x515c52);}},{'command':_0x39d0df['name_']})(),_0x11c043;}catch(_0x15ebf1){await PerformanceTester[_0x288008(0x161)](PerformanceDriverEvents[_0x288008(0xfd)],async()=>{const _0x2d4a92=_0x288008;logger[_0x2d4a92(0x158)](_0x41a1ac[_0x2d4a92(0xf6)]);try{if(!helper['isBrowserstackInfra']()&&(_0x41a1ac[_0x2d4a92(0x168)](_0x15ebf1[_0x2d4a92(0xee)],_0x41a1ac[_0x2d4a92(0x12d)])||_0x41a1ac[_0x2d4a92(0xe9)](_0x15ebf1['name'],_0x41a1ac[_0x2d4a92(0x119)]))&&_0x41a1ac[_0x2d4a92(0xea)](_0x39d0df[_0x2d4a92(0x10d)],_0x41a1ac[_0x2d4a92(0x136)])&&commandRepository[_0x2d4a92(0x13d)]()&&globals[_0x2d4a92(0x103)](_0x41a1ac[_0x2d4a92(0x150)])&&globals[_0x2d4a92(0x103)](_0x41a1ac[_0x2d4a92(0x14f)])){_0x41a1ac[_0x2d4a92(0x13c)](_0x39d0df['parameters_'][_0x2d4a92(0x10c)],_0x41a1ac[_0x2d4a92(0x157)])?logger[_0x2d4a92(0x120)](_0x41a1ac[_0x2d4a92(0x166)](_0x41a1ac['UZfrp'](_0x41a1ac[_0x2d4a92(0x13f)],_0x39d0df[_0x2d4a92(0x112)][_0x2d4a92(0x151)]),_0x41a1ac[_0x2d4a92(0x133)])):logger['info'](_0x41a1ac[_0x2d4a92(0x139)](_0x41a1ac[_0x2d4a92(0x166)](_0x41a1ac[_0x2d4a92(0x132)](_0x41a1ac[_0x2d4a92(0x139)](_0x41a1ac[_0x2d4a92(0x130)],_0x39d0df[_0x2d4a92(0x112)]['using']),':\x20'),_0x39d0df[_0x2d4a92(0x112)][_0x2d4a92(0x151)]),_0x41a1ac[_0x2d4a92(0x133)]));const _0x10ab6d=PerformanceTester[_0x2d4a92(0x161)](_0x41a1ac[_0x2d4a92(0x11a)],async()=>{const _0x5a022c=_0x2d4a92;return await aiSdkWrapper[_0x5a022c(0x13b)](_0xfb3283,_0x1a697c,_0x39d0df);}),_0x529fdf=new Date(),{locatorType:_0x2c0570,locatorValue:_0x1f1f8c,commandHealed:_0x4c91c1}=await _0x41a1ac[_0x2d4a92(0x126)](_0x10ab6d);if(_0x41a1ac[_0x2d4a92(0x146)](_0x2c0570,_0x1f1f8c)){_0x39d0df[_0x2d4a92(0x112)]['using']=_0x2c0570,_0x39d0df[_0x2d4a92(0x112)][_0x2d4a92(0x151)]=_0x1f1f8c,_0x39d0df[_0x2d4a92(0x147)]=!![];const _0x3127f2=_0x1a697c[_0x2d4a92(0x14a)](_0x39d0df);return _0x41a1ac[_0x2d4a92(0x168)](_0x2c0570,_0x41a1ac['RGjqG'])?logger['info'](_0x41a1ac['wCNZr'](_0x41a1ac['IBDVO'],_0x1f1f8c)):logger['info'](_0x41a1ac['UZfrp'](_0x41a1ac[_0x2d4a92(0x10f)](_0x41a1ac[_0x2d4a92(0x139)](_0x41a1ac[_0x2d4a92(0xfc)],_0x2c0570),':\x20'),_0x1f1f8c)),_0x3127f2;}else!_0x4c91c1&&(_0x41a1ac[_0x2d4a92(0x168)](_0x2c0570,_0x41a1ac[_0x2d4a92(0x157)])?logger[_0x2d4a92(0x120)](_0x41a1ac[_0x2d4a92(0x141)](_0x41a1ac[_0x2d4a92(0x152)],_0x39d0df[_0x2d4a92(0x112)]['value'])):logger[_0x2d4a92(0x120)](_0x41a1ac['KUHjd'](_0x41a1ac[_0x2d4a92(0x14c)](_0x41a1ac['qLpgx'](_0x41a1ac[_0x2d4a92(0x12b)],_0x39d0df['parameters_'][_0x2d4a92(0x10c)]),':\x20'),_0x39d0df[_0x2d4a92(0x112)]['value'])));}!_0x4b544f&&_0x41a1ac['GvTrI'](_0x39d0df[_0x2d4a92(0x10d)],_0x41a1ac['ihOrO'])&&helper[_0x2d4a92(0x127)](_0x39d0df,[_0x41a1ac[_0x2d4a92(0x14d)],_0x41a1ac[_0x2d4a92(0x118)]])&&!!constants['NUDGE_LOCAL_ERRORS'][_0x2d4a92(0xfa)](_0x29a866=>{const _0x59da58=_0x2d4a92;return _0x15ebf1['toString']()[_0x59da58(0xfb)](_0x29a866);})&&helper[_0x2d4a92(0x12e)](_0x39d0df[_0x2d4a92(0x112)][_0x2d4a92(0x15e)],!![]);}catch(_0x8be216){logger[_0x2d4a92(0x158)](_0x41a1ac[_0x2d4a92(0xf7)],_0x8be216);}},{'success':![],'failure':_0x15ebf1})();throw _0x15ebf1;}};};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a98_0x170b22=a98_0x3d41;(function(_0x2bdc27,_0xec87f7){const _0x17be47=a98_0x3d41,_0x401b52=_0x2bdc27();while(!![]){try{const _0x154955=-parseInt(_0x17be47(0xb1))/0x1*(-parseInt(_0x17be47(0xa1))/0x2)+-parseInt(_0x17be47(0xae))/0x3+parseInt(_0x17be47(0xb3))/0x4*(parseInt(_0x17be47(0x9b))/0x5)+parseInt(_0x17be47(0xa0))/0x6+parseInt(_0x17be47(0xa7))/0x7+-parseInt(_0x17be47(0xba))/0x8+parseInt(_0x17be47(0xbc))/0x9*(parseInt(_0x17be47(0xa6))/0xa);if(_0x154955===_0xec87f7)break;else _0x401b52['push'](_0x401b52['shift']());}catch(_0x21d6bd){_0x401b52['push'](_0x401b52['shift']());}}}(a98_0x5c9c,0x877dc));function a98_0x5c9c(){const _0x1ed91c=['lOKGH','ogigw','bs:addLog:','nSfeJ','./performance/performance-tester','overrideTakeScreenshot','2026887iViruC','GMFEt','true','16202MGfqZY','TAKE_SCREENSHOT','43980XJicRN','patchScreenshot','quit','start','quitCount_','jfWXW','initScreenshot','4548048WyJmDi','end','9pgGOvC','415YUzult','BS_TESTOPS_ALLOW_SCREENSHOTS','jsvpr','takeScreenshot','emit','1292286WIBUVC','6GlTiCf','pid','initQuit','toISOString','env','1921160zFmHiq','3012933iRuLsF'];a98_0x5c9c=function(){return _0x1ed91c;};return a98_0x5c9c();}function a98_0x3d41(_0xc112b1,_0x568703){const _0x5c9ce7=a98_0x5c9c();return a98_0x3d41=function(_0x3d4102,_0x479b2a){_0x3d4102=_0x3d4102-0x9b;let _0x545e27=_0x5c9ce7[_0x3d4102];return _0x545e27;},a98_0x3d41(_0xc112b1,_0x568703);}const PerformanceTester=require(a98_0x170b22(0xac)),O11yEvents=require('./performance/constants')['O11y_EVENTS'];exports[a98_0x170b22(0xad)]=_0x11c452=>{const _0xb36caf=a98_0x170b22,_0x19b74a={'jsvpr':'TEST_SCREENSHOT','ogigw':function(_0x4e2d83,_0x1f892a){return _0x4e2d83(_0x1f892a);},'jfWXW':function(_0x477f2c,_0x568cfd){return _0x477f2c!==_0x568cfd;},'YZmnz':_0xb36caf(0xb0)};if(_0x19b74a[_0xb36caf(0xb8)](process[_0xb36caf(0xa5)][_0xb36caf(0x9c)],_0x19b74a['YZmnz']))return;if(_0x11c452[_0xb36caf(0xb4)])return;_0x11c452['patchScreenshot']=!![],_0x11c452['initScreenshot']=_0x11c452[_0xb36caf(0x9e)],_0x11c452[_0xb36caf(0x9e)]=()=>{const _0x2e95c3=_0xb36caf,_0x3d28c2={'emfaq':_0x19b74a[_0x2e95c3(0x9d)],'nSfeJ':function(_0x173252,_0xba91bd){const _0xa51b7b=_0x2e95c3;return _0x19b74a[_0xa51b7b(0xa9)](_0x173252,_0xba91bd);}};return new Promise(function(_0x4ebedc,_0x92044d){const _0xc185f1=_0x2e95c3;_0x11c452[_0xc185f1(0xb9)]()['then'](_0x543105=>{const _0x2706e4=_0xc185f1;PerformanceTester[_0x2706e4(0xb6)](O11yEvents[_0x2706e4(0xb2)]),process[_0x2706e4(0x9f)](_0x2706e4(0xaa)+process[_0x2706e4(0xa2)],{'timestamp':new Date()[_0x2706e4(0xa4)](),'message':_0x543105,'kind':_0x3d28c2['emfaq']}),_0x3d28c2[_0x2706e4(0xab)](_0x4ebedc,_0x543105),PerformanceTester[_0x2706e4(0xbb)](O11yEvents[_0x2706e4(0xb2)]);});});};},exports['overrideQuit']=(_0x1fa416,_0x4b8416=null)=>{const _0x263509=a98_0x170b22,_0x32c9e9={'GMFEt':function(_0x35128f){return _0x35128f();},'lDLvr':function(_0x2b5c9d,_0x47d116){return _0x2b5c9d>_0x47d116;},'lOKGH':function(_0x339a5c,_0x174ece){return _0x339a5c>_0x174ece;}};if(_0x1fa416['patchQuit'])return;_0x1fa416['patchQuit']=!![],_0x1fa416['initQuit']=_0x1fa416['quit'],_0x1fa416[_0x263509(0xb5)]=()=>{const _0x51c041=_0x263509;if(_0x4b8416){_0x4b8416[_0x51c041(0xb7)]+=0x1;if(_0x32c9e9['lDLvr'](_0x4b8416[_0x51c041(0xb7)],0x1))return _0x1fa416[_0x51c041(0xa3)]();}else{_0x1fa416['quitCount_']+=0x1;if(_0x32c9e9[_0x51c041(0xa8)](_0x1fa416[_0x51c041(0xb7)],0x1))return _0x1fa416[_0x51c041(0xa3)]();}return new Promise(function(_0x49df15){const _0x351f3b=_0x51c041;_0x32c9e9[_0x351f3b(0xaf)](_0x49df15);});};};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a99_0x33bb7e=a99_0x4961;(function(_0x3c0fb5,_0x296b36){const _0x1e173e=a99_0x4961,_0x2d9215=_0x3c0fb5();while(!![]){try{const _0x5c3e4d=parseInt(_0x1e173e(0x143))/0x1+parseInt(_0x1e173e(0x164))/0x2*(parseInt(_0x1e173e(0x17d))/0x3)+-parseInt(_0x1e173e(0x155))/0x4*(-parseInt(_0x1e173e(0x15f))/0x5)+-parseInt(_0x1e173e(0x168))/0x6*(-parseInt(_0x1e173e(0x154))/0x7)+-parseInt(_0x1e173e(0x14b))/0x8+-parseInt(_0x1e173e(0x165))/0x9+parseInt(_0x1e173e(0x178))/0xa;if(_0x5c3e4d===_0x296b36)break;else _0x2d9215['push'](_0x2d9215['shift']());}catch(_0xc37355){_0x2d9215['push'](_0x2d9215['shift']());}}}(a99_0x3450,0x43ba2));function a99_0x4961(_0x498d7b,_0x1ca542){const _0x345079=a99_0x3450();return a99_0x4961=function(_0x4961a3,_0x3d1aeb){_0x4961a3=_0x4961a3-0x139;let _0x1f88af=_0x345079[_0x4961a3];return _0x1f88af;},a99_0x4961(_0x498d7b,_0x1ca542);}const fs=require('fs'),path=require(a99_0x33bb7e(0x14e)),os=require('os'),{spawn}=require('child_process'),helper=require(a99_0x33bb7e(0x15b)),logger=require('../logger')['winstonLogger'],{getLogDir}=require(a99_0x33bb7e(0x17a)),testHubConstants=require('../../helpers/testhub/constants'),PerformanceTester=require(a99_0x33bb7e(0x140)),{PERCY_EVENTS:PerformanceEvents}=require(a99_0x33bb7e(0x146)),PercyBinary=require('./PercyBinary');function a99_0x3450(){const _0x31b5b3=['getBinaryPath','BROWSERSTACK_TESTHUB_UUID','healthcheck','../helper','automate','end','isProcessRunning','155Pqnbuc','SXEnZ','nodeRequest','Error\x20creating\x20percy\x20config:\x20','OOVUw','4rLOAGv','3702690KDOSgG','close','PLWyW','75954sDxlBf','hlpmc','tmpdir','createWriteStream','version','bntXJ','assign','fetchPercyToken','GET','exec:stop','start','data','projectName','mkeCT','exports','DOWNLOAD','259260EBplZZ','ExjYv','../logger','stringify','error','43881IQEPTL','pipe','debug','Percy\x20fetch\x20token\x20success','WhiSW','percyOptions','MEIgK','stdout','Percy\x20config\x20created\x20at\x20','../../helpers/performance/performance-tester','stop','DyYFp','396505WsnLhu','percy.json','stderr','../../helpers/performance/constants','XPMro','push','exec','api/app_percy/get_project_token?name=','2676104FnFeWc','http://localhost:5338','RtRmv','path','join','eIDes','env','createPercyConfig','ZGNNd','301ngNIHl','3524iFAFvH','isRunning','Lrdap'];a99_0x3450=function(){return _0x31b5b3;};return a99_0x3450();}class Percy{#logfile=path[a99_0x33bb7e(0x14f)](getLogDir(),'percy.log');#address=process[a99_0x33bb7e(0x151)]['PERCY_SERVER_ADDRESS']||a99_0x33bb7e(0x14c);#binaryPath=null;#config=null;#proc=null;#isApp=![];[a99_0x33bb7e(0x15e)]=![];constructor(_0x1bd0a8){this.#config=_0x1bd0a8,!!_0x1bd0a8['app']&&(this.#isApp=!![]);}async #getBinaryPath(){const _0x54ecf2=a99_0x33bb7e;if(!this.#binaryPath){const _0x53d1c5=new PercyBinary();PerformanceTester[_0x54ecf2(0x172)](PerformanceEvents['DOWNLOAD']),this.#binaryPath=await _0x53d1c5[_0x54ecf2(0x158)](this.#config),PerformanceTester[_0x54ecf2(0x15d)](PerformanceEvents[_0x54ecf2(0x177)]);}return this.#binaryPath;}async #sleep(_0x486af5){return new Promise(_0x4854df=>setTimeout(_0x4854df,_0x486af5));}async[a99_0x33bb7e(0x15a)](){const _0x58c970=a99_0x33bb7e,_0x5d2572={};_0x5d2572['lbHBe']=_0x58c970(0x170),_0x5d2572[_0x58c970(0x147)]='percy/healthcheck';const _0x27d2d7=_0x5d2572;try{const _0x1583f6=await helper[_0x58c970(0x161)](_0x27d2d7['lbHBe'],_0x27d2d7[_0x58c970(0x147)],null,null,this.#address);if(_0x1583f6)return!![];}catch(_0x59a6d2){return![];}}async[a99_0x33bb7e(0x172)](){const _0x5d9521=a99_0x33bb7e,_0x212638={'NaMYb':'app:exec','DyYFp':_0x5d9521(0x149),'WhiSW':function(_0x409ae8,_0x4a5315,_0x3cbee7,_0x25ac4a){return _0x409ae8(_0x4a5315,_0x3cbee7,_0x25ac4a);},'bntXJ':'close','SXEnZ':'Percy\x20healthcheck\x20successful'},_0x32684a=await this.#getBinaryPath(),_0x52b982={};_0x52b982['flags']='a';const _0x92fe8a=fs[_0x5d9521(0x16b)](this.#logfile,_0x52b982),_0x30cfc=await this['fetchPercyToken'](),_0x177f66=await this[_0x5d9521(0x152)]();if(!_0x30cfc)return![];const _0x3fee16=[(this.#isApp?_0x212638['NaMYb']:_0x212638[_0x5d9521(0x142)])+':start'];_0x177f66&&_0x3fee16[_0x5d9521(0x148)]('-c',_0x177f66);this.#proc=_0x212638[_0x5d9521(0x13b)](spawn,_0x32684a,_0x3fee16,{'env':Object[_0x5d9521(0x16e)](process['env'],{'PERCY_TOKEN':_0x30cfc,'TH_BUILD_UUID':process[_0x5d9521(0x151)][testHubConstants['ENV_VAR'][_0x5d9521(0x159)]]})}),this.#proc[_0x5d9521(0x13e)][_0x5d9521(0x17e)](_0x92fe8a),this.#proc[_0x5d9521(0x145)][_0x5d9521(0x17e)](_0x92fe8a),this[_0x5d9521(0x15e)]=!![];var _0x37e9f6=this;this.#proc['on'](_0x212638[_0x5d9521(0x16d)],function(_0x16211b){_0x37e9f6['isProcessRunning']=![];});do{const _0x846f1c=await this['healthcheck']();if(_0x846f1c)return logger[_0x5d9521(0x139)](_0x212638[_0x5d9521(0x160)]),!![];await this.#sleep(0x3e8);}while(this[_0x5d9521(0x15e)]);return![];}async[a99_0x33bb7e(0x141)](){const _0x4a6c05=a99_0x33bb7e,_0x1b0404={'BKUBk':function(_0x43ff71,_0x2742fc){return _0x43ff71(_0x2742fc);},'hlpmc':function(_0x56bdda,_0x3deec5,_0x4ea4b3){return _0x56bdda(_0x3deec5,_0x4ea4b3);},'OOVUw':_0x4a6c05(0x171),'rPkho':_0x4a6c05(0x166)},_0x557d88=await this.#getBinaryPath();return new Promise((_0x35ab40,_0x310f44)=>{const _0x255115=_0x4a6c05,_0x3719fd={'Lrdap':function(_0xa4928f,_0xe18745){return _0x1b0404['BKUBk'](_0xa4928f,_0xe18745);}},_0x3b8454=_0x1b0404[_0x255115(0x169)](spawn,_0x557d88,[_0x1b0404[_0x255115(0x163)]]);_0x3b8454['on'](_0x1b0404['rPkho'],_0x2fddc8=>{const _0x1234f9=_0x255115;this[_0x1234f9(0x15e)]=![],_0x3719fd[_0x1234f9(0x157)](_0x35ab40,_0x2fddc8);});});}[a99_0x33bb7e(0x156)](){const _0x134922=a99_0x33bb7e;return this[_0x134922(0x15e)];}async[a99_0x33bb7e(0x16f)](){const _0x25c655=a99_0x33bb7e,_0x3acbb1={};_0x3acbb1[_0x25c655(0x13d)]='app',_0x3acbb1[_0x25c655(0x14d)]=_0x25c655(0x15c),_0x3acbb1[_0x25c655(0x167)]='GET',_0x3acbb1[_0x25c655(0x153)]=_0x25c655(0x13a);const _0x487f9e=_0x3acbb1,_0xe42517=this.#config[_0x25c655(0x174)];try{const _0x1dd794=this.#isApp?_0x487f9e[_0x25c655(0x13d)]:_0x487f9e[_0x25c655(0x14d)],_0x2a3f9d=await helper['nodeRequest'](_0x487f9e[_0x25c655(0x167)],_0x25c655(0x14a)+_0xe42517+'&type='+_0x1dd794,{},this.#config),_0x4d5dda=_0x2a3f9d[_0x25c655(0x173)];return logger[_0x25c655(0x139)](_0x487f9e['ZGNNd']),_0x4d5dda['token'];}catch(_0x226d79){return logger[_0x25c655(0x17c)]('Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20'+_0x226d79),null;}}async[a99_0x33bb7e(0x152)](){const _0x2da230=a99_0x33bb7e,_0x2cf1b0={'ExjYv':function(_0x1473be,_0x12a008){return _0x1473be(_0x12a008);},'eIDes':function(_0x1f9672,_0x4d72aa){return _0x1f9672+_0x4d72aa;},'mkeCT':_0x2da230(0x13f),'MxNEf':_0x2da230(0x144)};if(!this.#config[_0x2da230(0x13c)])return null;const _0x245451=path[_0x2da230(0x14f)](os[_0x2da230(0x16a)](),_0x2cf1b0['MxNEf']),_0x45b362=this.#config[_0x2da230(0x13c)];return!_0x45b362[_0x2da230(0x16c)]&&(_0x45b362[_0x2da230(0x16c)]='2'),new Promise((_0x497b5c,_0x52acfc)=>{const _0x3daa07=_0x2da230;fs['writeFile'](_0x245451,JSON[_0x3daa07(0x17b)](_0x45b362),_0x2b9e1b=>{const _0x435f47=_0x3daa07;_0x2b9e1b&&(logger[_0x435f47(0x17c)](_0x435f47(0x162)+_0x2b9e1b),_0x2cf1b0['ExjYv'](_0x497b5c,null)),logger[_0x435f47(0x139)](_0x2cf1b0[_0x435f47(0x150)](_0x2cf1b0[_0x435f47(0x175)],_0x245451)),_0x2cf1b0[_0x435f47(0x179)](_0x497b5c,_0x245451);});});}}module[a99_0x33bb7e(0x176)]=Percy;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a99_0xfdccb2=a99_0x54d0;(function(_0x147632,_0x46c50f){const _0x3c4c6c=a99_0x54d0,_0x40e22a=_0x147632();while(!![]){try{const _0x5e4ee8=parseInt(_0x3c4c6c(0x1e2))/0x1*(parseInt(_0x3c4c6c(0x17f))/0x2)+parseInt(_0x3c4c6c(0x1bd))/0x3+parseInt(_0x3c4c6c(0x194))/0x4*(parseInt(_0x3c4c6c(0x1c5))/0x5)+parseInt(_0x3c4c6c(0x1ea))/0x6+parseInt(_0x3c4c6c(0x1e3))/0x7+parseInt(_0x3c4c6c(0x1b5))/0x8*(-parseInt(_0x3c4c6c(0x16e))/0x9)+-parseInt(_0x3c4c6c(0x1d7))/0xa*(parseInt(_0x3c4c6c(0x1bf))/0xb);if(_0x5e4ee8===_0x46c50f)break;else _0x40e22a['push'](_0x40e22a['shift']());}catch(_0x13e07c){_0x40e22a['push'](_0x40e22a['shift']());}}}(a99_0x148e,0x502c3));function a99_0x54d0(_0x2f78e6,_0x2fdf10){const _0x148e98=a99_0x148e();return a99_0x54d0=function(_0x54d033,_0x3be09d){_0x54d033=_0x54d033-0x16a;let _0x5f26be=_0x148e98[_0x54d033];return _0x5f26be;},a99_0x54d0(_0x2f78e6,_0x2fdf10);}const {https}=require('follow-redirects'),url=require(a99_0xfdccb2(0x1ba)),yauzl=require('yauzl'),fs=require('fs'),path=require(a99_0xfdccb2(0x1fb)),os=require('os'),{spawn}=require('child_process'),HttpsProxyAgent=require(a99_0xfdccb2(0x1d0)),logger=require(a99_0xfdccb2(0x1d1))['winstonLogger'];function a99_0x148e(){const _0x77821=['https-proxy-agent','../logger','USER','Hspwv','statSync','validateBinary','BKfiT','40qjjLAe','ZKEad','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20','https://github.com/percy/cli/releases/latest/download','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','YIHYo','openReadStream','HOMEDRIVE','undefined','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20','/percy-osx.zip','218AdNGQx','3549231lzPIEV','--version','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20','mkdirSync','percy','writeFileSync','open','2810628DVBJXA','chmod','0755','faEdf','OLJvH','extractAndSaveBinary','/home/','end','jxoFm','.etag','Usxag','GuNzL','/root','stdout','readFileSync','proxyPort','dSSvB','path','match','needsUpdate','USERPROFILE','qBuFd','LOGNAME','entry','createWriteStream','JOgGX','6849pJjMQn','UsBQh','lazyEntries','/percy-linux.zip','SfSYh','DbDbc','LNAME','useCaCertificate','XBEtF','MizEx','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20','WdWHf','env','/Users/','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','percy.exe','NJxCb','4966mDKiMp','data','statusCode','readEntry','CLiAj','warn','USERNAME','fEUIr','Saved\x20new\x20ETag\x20for\x20percy\x20binary','BHWfs','close','btOsJ','uKIZR','ghigy','binaryPath','SFeey','Failed\x20to\x20read\x20ETag\x20file:\x20','kdNld','Failed\x20to\x20save\x20ETag\x20file:\x20','jYqUU','mHcFd','4KxkrYl','then','function','HOMEPATH','exports','Fheus','gvitM','accessSync','homedir','If-None-Match','RySDA','test','QHxdG','FMrvq','.browserstack','bgfkd','DqXYx','MHAIN','/percy-win.zip','Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)','xMpSQ','Byczs','join','linux','proxyHost','download','.zip','etag','oUBTk','SKcYz','pJEUU','catch','YrXVu','1016FDVhFn','port','getuid','qkMMb','nkrJU','url','win32','BhfgS','1673394ILSdYY','host','4789114XEJxVC','vcWpB','dBlQF','RhquM','dniIz','ClFfV','459835OYBlgZ','HOME','NvFau','ArRqk','error','fileName','uOMmC','platform','pipe','headers','SzHWv'];a99_0x148e=function(){return _0x77821;};return a99_0x148e();}class PercyBinary{#hostOS=process[a99_0xfdccb2(0x1cc)];#httpPath=null;#binaryName=a99_0xfdccb2(0x1e7);#orderedPaths=[path['join'](this.#homedir(),a99_0xfdccb2(0x1a2)),process['cwd'](),os['tmpdir']()];constructor(){const _0x2d2fd8=a99_0xfdccb2,_0x1a8ae2={};_0x1a8ae2['RhquM']=_0x2d2fd8(0x1da),_0x1a8ae2[_0x2d2fd8(0x1b9)]=function(_0x57fba7,_0x19e649){return _0x57fba7+_0x19e649;},_0x1a8ae2[_0x2d2fd8(0x19e)]=_0x2d2fd8(0x1e1),_0x1a8ae2[_0x2d2fd8(0x199)]=_0x2d2fd8(0x1a6),_0x1a8ae2['SKcYz']=_0x2d2fd8(0x17d),_0x1a8ae2['jKGpL']=function(_0x3cb47a,_0x3bb463){return _0x3cb47a+_0x3bb463;},_0x1a8ae2[_0x2d2fd8(0x179)]=_0x2d2fd8(0x171);const _0x417491=_0x1a8ae2,_0xa1a6bf=_0x417491[_0x2d2fd8(0x1c2)];if(this.#hostOS[_0x2d2fd8(0x1fc)](/darwin|mac os/i))this.#httpPath=_0x417491[_0x2d2fd8(0x1b9)](_0xa1a6bf,_0x417491[_0x2d2fd8(0x19e)]);else this.#hostOS[_0x2d2fd8(0x1fc)](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x417491[_0x2d2fd8(0x1b9)](_0xa1a6bf,_0x417491[_0x2d2fd8(0x199)]),this.#binaryName=_0x417491[_0x2d2fd8(0x1b1)]):this.#httpPath=_0x417491['jKGpL'](_0xa1a6bf,_0x417491[_0x2d2fd8(0x179)]);}#getAvailableDirs(){const _0x5d317e=a99_0xfdccb2,_0x2e2b1f={};_0x2e2b1f[_0x5d317e(0x1a1)]=function(_0x4a2116,_0x53a1ac){return _0x4a2116<_0x53a1ac;},_0x2e2b1f[_0x5d317e(0x1f5)]='Error\x20trying\x20to\x20download\x20percy\x20binary';const _0x54edb4=_0x2e2b1f;for(var _0xbe6dd8=0x0;_0x54edb4['FMrvq'](_0xbe6dd8,this.#orderedPaths['length']);_0xbe6dd8++){var _0x53bdb1=this.#orderedPaths[_0xbe6dd8];if(this.#makePath(_0x53bdb1))return _0x53bdb1;}throw new Error(_0x54edb4['GuNzL']);}#makePath(_0x34b809){const _0x53b649=a99_0xfdccb2;try{return _0x34b809&&!this.#checkPath(_0x34b809)&&fs[_0x53b649(0x1e6)](_0x34b809),!![];}catch{return![];}}#checkPath(_0x1ff3cb,_0x46b20e){const _0x367a1e=a99_0xfdccb2,_0x58df02={};_0x58df02[_0x367a1e(0x1a0)]=function(_0x164fce,_0x56bb50){return _0x164fce|_0x56bb50;},_0x58df02[_0x367a1e(0x1a4)]=function(_0x2bfcfb,_0x4efb81){return _0x2bfcfb!==_0x4efb81;},_0x58df02[_0x367a1e(0x186)]=_0x367a1e(0x1df);const _0x1b6b1f=_0x58df02;_0x46b20e=_0x46b20e||_0x1b6b1f[_0x367a1e(0x1a0)](fs['R_OK'],fs['W_OK']);try{return fs[_0x367a1e(0x19b)](_0x1ff3cb,_0x46b20e),!![];}catch(_0x2be80f){if(_0x1b6b1f[_0x367a1e(0x1a4)](typeof fs[_0x367a1e(0x19b)],_0x1b6b1f[_0x367a1e(0x186)]))return![];try{return fs[_0x367a1e(0x1d4)](_0x1ff3cb),!![];}catch(_0x3ce0e2){return![];}}}#getETagPath(_0x4fa925){const _0x21d4ba=a99_0xfdccb2;return path[_0x21d4ba(0x1aa)](_0x4fa925,this.#binaryName+_0x21d4ba(0x1f3));}#loadETag(_0x3d55f7){const _0x30a2f2=a99_0xfdccb2,_0x5f12ba={};_0x5f12ba['kdNld']='utf8';const _0x248294=_0x5f12ba,_0x2ca825=this.#getETagPath(_0x3d55f7);if(this.#checkPath(_0x2ca825))try{return fs[_0x30a2f2(0x1f8)](_0x2ca825,_0x248294[_0x30a2f2(0x190)])['trim']();}catch(_0x1b9e65){logger[_0x30a2f2(0x184)](_0x30a2f2(0x18f)+_0x1b9e65);}return null;}#saveETag(_0x335f63,_0x4e888b){const _0x543cc9=a99_0xfdccb2,_0x53ea0c={};_0x53ea0c[_0x543cc9(0x17e)]=_0x543cc9(0x187);const _0x73194d=_0x53ea0c;if(!_0x4e888b)return;try{const _0x4c6101=this.#getETagPath(_0x335f63);fs[_0x543cc9(0x1e8)](_0x4c6101,_0x4e888b),logger['debug'](_0x73194d[_0x543cc9(0x17e)]);}catch(_0x19318c){logger[_0x543cc9(0x184)](_0x543cc9(0x191)+_0x19318c);}}async #handleBinaryDownload(_0x1f6ef4,_0x312a29,_0x529993){const _0x42b89a=a99_0xfdccb2,_0x535a6b={};_0x535a6b[_0x42b89a(0x183)]=_0x42b89a(0x1db);const _0x94e068=_0x535a6b,_0x52e9bd=await this['validateBinary'](_0x1f6ef4[_0x42b89a(0x18d)]);if(!_0x52e9bd){logger[_0x42b89a(0x1c9)](_0x94e068['CLiAj']);const _0x94a72a=await this[_0x42b89a(0x1ad)](_0x312a29,_0x529993);return _0x94a72a['binaryPath'];}return _0x1f6ef4[_0x42b89a(0x18d)];}async['getBinaryPath'](_0x5c02ad){const _0x53d583=a99_0xfdccb2,_0x4b5f7a={};_0x4b5f7a[_0x53d583(0x192)]=_0x53d583(0x1a7),_0x4b5f7a[_0x53d583(0x1a3)]=_0x53d583(0x17c);const _0x38814b=_0x4b5f7a,_0x5e6a2b=this.#getAvailableDirs(),_0x768e06=path[_0x53d583(0x1aa)](_0x5e6a2b,this.#binaryName);if(this.#checkPath(_0x768e06,fs['X_OK'])){const _0x438f8a=this.#loadETag(_0x5e6a2b);if(_0x438f8a)try{const _0x472ab7=await this[_0x53d583(0x1ad)](_0x5c02ad,_0x5e6a2b,_0x438f8a);if(!_0x472ab7[_0x53d583(0x1fd)])return logger['debug'](_0x38814b[_0x53d583(0x192)]),_0x768e06;return logger['debug'](_0x38814b[_0x53d583(0x1a3)]),await this.#handleBinaryDownload(_0x472ab7,_0x5c02ad,_0x5e6a2b);}catch(_0x5f416e){return logger['warn']('Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20'+_0x5f416e),_0x768e06;}}const _0x23d1b7=await this['download'](_0x5c02ad,_0x5e6a2b);return await this.#handleBinaryDownload(_0x23d1b7,_0x5c02ad,_0x5e6a2b);}['download'](_0x10a163,_0x4687f5,_0x123fd3=null){const _0x183d5c=a99_0xfdccb2,_0xf90b9b={'ZXkSE':function(_0xe82fb7,_0x17885f){return _0xe82fb7(_0x17885f);},'OLJvH':function(_0x106480,_0x423bf4){return _0x106480(_0x423bf4);},'YrXVu':function(_0x377d24,_0x20f130){return _0x377d24===_0x20f130;},'JOgGX':_0x183d5c(0x1c9),'SfSYh':_0x183d5c(0x189),'fdWbr':function(_0x584a48,_0x1ea775){return _0x584a48+_0x1ea775;},'vcWpB':_0x183d5c(0x1ae)};_0x4687f5&&!this.#checkPath(_0x4687f5)&&fs[_0x183d5c(0x1e6)](_0x4687f5);const _0x186d66=this.#binaryName,_0x51284a=path['join'](_0x4687f5,_0xf90b9b['fdWbr'](_0x186d66,_0xf90b9b[_0x183d5c(0x1c0)])),_0x2fde17=fs[_0x183d5c(0x16c)](_0x51284a),_0x405d6c=url['parse'](this.#httpPath);if(_0x10a163[_0x183d5c(0x1ac)]&&_0x10a163[_0x183d5c(0x1f9)]){const _0x116f5d={};_0x116f5d[_0x183d5c(0x1be)]=_0x10a163['proxyHost'],_0x116f5d[_0x183d5c(0x1b6)]=_0x10a163[_0x183d5c(0x1f9)],_0x405d6c['agent']=new HttpsProxyAgent(_0x116f5d);}if(_0x10a163[_0x183d5c(0x175)])try{_0x405d6c['ca']=fs['readFileSync'](_0x10a163[_0x183d5c(0x175)]);}catch(_0x40789d){logger[_0x183d5c(0x1c9)](_0x183d5c(0x1d9)+_0x40789d);}if(_0x123fd3){const _0xa6b26e={};_0xa6b26e[_0x183d5c(0x19d)]=_0x123fd3,_0x405d6c[_0x183d5c(0x1ce)]=_0xa6b26e;}return new Promise((_0x327333,_0x5573c0)=>{const _0xa487b5=_0x183d5c,_0x3c81c8={'SFeey':function(_0x4e621e,_0x263d7c){const _0x139e6d=a99_0x54d0;return _0xf90b9b[_0x139e6d(0x1ee)](_0x4e621e,_0x263d7c);},'MHAIN':function(_0x1189f6,_0x42536c){return _0xf90b9b['OLJvH'](_0x1189f6,_0x42536c);},'gvitM':function(_0xfe0b28,_0x244f6d){const _0x2233a9=a99_0x54d0;return _0xf90b9b[_0x2233a9(0x1b4)](_0xfe0b28,_0x244f6d);},'YIHYo':function(_0x581677,_0x23b1c7){const _0x42aa31=a99_0x54d0;return _0xf90b9b[_0x42aa31(0x1ee)](_0x581677,_0x23b1c7);},'Hspwv':_0xf90b9b[_0xa487b5(0x16d)],'oUBTk':_0xf90b9b[_0xa487b5(0x172)]};https['get'](_0x405d6c,_0x58f58e=>{const _0xac5e6f=_0xa487b5;if(_0x123fd3&&_0x3c81c8[_0xac5e6f(0x19a)](_0x58f58e[_0xac5e6f(0x181)],0x130)){const _0x2409d0={};_0x2409d0['needsUpdate']=![],_0x3c81c8[_0xac5e6f(0x1dc)](_0x327333,_0x2409d0);return;}const _0x39fe28=_0x58f58e[_0xac5e6f(0x1ce)][_0xac5e6f(0x1af)];_0x39fe28&&this.#saveETag(_0x4687f5,_0x39fe28),_0x58f58e[_0xac5e6f(0x1cd)](_0x2fde17),_0x58f58e['on'](_0x3c81c8[_0xac5e6f(0x1d3)],function(_0x41ddce){const _0x1592c7=_0xac5e6f;logger['error'](_0x1592c7(0x1e0)+_0x41ddce),_0x3c81c8[_0x1592c7(0x18e)](_0x5573c0,_0x41ddce);}),_0x2fde17['on'](_0x3c81c8[_0xac5e6f(0x1d3)],function(_0x4e4814){const _0x16cda9=_0xac5e6f;logger[_0x16cda9(0x1c9)](_0x16cda9(0x1e5)+_0x4e4814),_0x3c81c8[_0x16cda9(0x1a5)](_0x5573c0,_0x4e4814);}),_0x2fde17['on'](_0x3c81c8[_0xac5e6f(0x1b0)],()=>{const _0x2c89ac=_0xac5e6f;this[_0x2c89ac(0x1ef)](_0x51284a,_0x4687f5)[_0x2c89ac(0x195)](_0x19a7ff=>_0x327333({'needsUpdate':!![],'binaryPath':_0x19a7ff}))[_0x2c89ac(0x1b3)](_0x5573c0);});})['on'](_0xf90b9b[_0xa487b5(0x16d)],function(_0x477c75){const _0x3dfa9f=_0xa487b5;logger['error'](_0x3dfa9f(0x178)+_0x477c75),_0xf90b9b['ZXkSE'](_0x5573c0,_0x477c75);});});}[a99_0xfdccb2(0x1ef)](_0x27e546,_0x2ce81a){const _0x2bd3c1=a99_0xfdccb2,_0x168e6d={'faEdf':function(_0x258f78,_0x405a6b){return _0x258f78(_0x405a6b);},'dBlQF':_0x2bd3c1(0x1f1),'uOMmC':function(_0x201d47,_0x64748e){return _0x201d47===_0x64748e;},'ZKEad':function(_0x48ebde,_0x40ddd3){return _0x48ebde(_0x40ddd3);},'uKIZR':_0x2bd3c1(0x16b),'hxBKy':_0x2bd3c1(0x1c9),'UsBQh':function(_0x19a2dd,_0x2f952a){return _0x19a2dd(_0x2f952a);},'ryYAI':function(_0x13788c,_0x355400){return _0x13788c(_0x355400);},'BKfiT':_0x2bd3c1(0x1ec)},_0x1c3e4f=this.#binaryName,_0xd4aa93=path[_0x2bd3c1(0x1aa)](_0x2ce81a,_0x1c3e4f);return new Promise((_0x2a4aca,_0x3f6205)=>{const _0x4e55e7=_0x2bd3c1,_0x1631d6={'Usxag':function(_0x418579,_0x38c921){const _0x2f31c1=a99_0x54d0;return _0x168e6d[_0x2f31c1(0x16f)](_0x418579,_0x38c921);},'XNmix':function(_0x5d1ea0,_0x21146c){return _0x168e6d['ryYAI'](_0x5d1ea0,_0x21146c);},'mHcFd':_0x168e6d[_0x4e55e7(0x1d6)]},_0x52bfdc={};_0x52bfdc[_0x4e55e7(0x170)]=!![],yauzl[_0x4e55e7(0x1e9)](_0x27e546,_0x52bfdc,function(_0x48cbb0,_0x52601e){const _0x363e82=_0x4e55e7,_0x3298f2={'dniIz':function(_0x4dd6f4,_0x7c0807){const _0x51d064=a99_0x54d0;return _0x168e6d[_0x51d064(0x1ed)](_0x4dd6f4,_0x7c0807);},'XBEtF':_0x168e6d[_0x363e82(0x1c1)],'BhfgS':function(_0xc59d7,_0xc1e175){const _0x5cdf1a=_0x363e82;return _0x168e6d[_0x5cdf1a(0x1cb)](_0xc59d7,_0xc1e175);},'jOMWL':function(_0xfaa6e1,_0x211e21){const _0x3f6665=_0x363e82;return _0x168e6d[_0x3f6665(0x1ed)](_0xfaa6e1,_0x211e21);}};_0x48cbb0&&_0x168e6d[_0x363e82(0x1d8)](_0x3f6205,_0x48cbb0),_0x52601e[_0x363e82(0x182)](),_0x52601e['on'](_0x168e6d[_0x363e82(0x18b)],_0x4e494b=>{const _0x321fa5=_0x363e82;if(/\/$/[_0x321fa5(0x19f)](_0x4e494b[_0x321fa5(0x1ca)]))_0x52601e['readEntry']();else{const _0x44b3a0=fs['createWriteStream'](path[_0x321fa5(0x1aa)](_0x2ce81a,_0x4e494b[_0x321fa5(0x1ca)]));_0x52601e[_0x321fa5(0x1dd)](_0x4e494b,function(_0x2e7879,_0x3a6ec8){const _0x5080e3=_0x321fa5;_0x2e7879&&_0x3298f2[_0x5080e3(0x1c3)](_0x3f6205,_0x48cbb0),_0x3a6ec8['on'](_0x3298f2[_0x5080e3(0x176)],function(){const _0x532d25=_0x5080e3;_0x44b3a0[_0x532d25(0x189)](),_0x52601e[_0x532d25(0x182)]();}),_0x3a6ec8[_0x5080e3(0x1cd)](_0x44b3a0);}),_0x3298f2[_0x321fa5(0x1bc)](_0x4e494b[_0x321fa5(0x1ca)],_0x1c3e4f)&&_0x52601e[_0x321fa5(0x189)]();}}),_0x52601e['on'](_0x168e6d['hxBKy'],_0x109057=>{_0x3298f2['jOMWL'](_0x3f6205,_0x109057);}),_0x52601e['once'](_0x168e6d['dBlQF'],()=>{const _0x1a8456=_0x363e82,_0x5a513d={'ghigy':function(_0x5aa127,_0x168d85){const _0x2f1b59=a99_0x54d0;return _0x1631d6[_0x2f1b59(0x1f4)](_0x5aa127,_0x168d85);},'DbDbc':function(_0xbb8974,_0x5ad425){return _0x1631d6['XNmix'](_0xbb8974,_0x5ad425);}};fs[_0x1a8456(0x1eb)](_0xd4aa93,_0x1631d6[_0x1a8456(0x193)],function(_0x1ceca5){const _0x555476=_0x1a8456;_0x1ceca5&&_0x5a513d[_0x555476(0x18c)](_0x3f6205,_0x1ceca5),_0x5a513d[_0x555476(0x173)](_0x2a4aca,_0xd4aa93);}),_0x52601e[_0x1a8456(0x189)]();});});});}async[a99_0xfdccb2(0x1d5)](_0x2be554){const _0x2b314c=a99_0xfdccb2,_0x3b773a={'cOnvA':function(_0x2c3494,_0x870a21){return _0x2c3494(_0x870a21);},'lyXnR':function(_0x5485f1,_0x12e1b4,_0x3ec6b6,_0x166ec1){return _0x5485f1(_0x12e1b4,_0x3ec6b6,_0x166ec1);},'pwJvT':_0x2b314c(0x1e4),'oQLUX':_0x2b314c(0x180),'NvFau':_0x2b314c(0x189)},_0x3b4e8c=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x27db62,_0x521e8d)=>{const _0x27e099=_0x2b314c,_0x1b7d15={};_0x1b7d15[_0x27e099(0x17a)]=process[_0x27e099(0x17a)];const _0x37e3d3=_0x3b773a['lyXnR'](spawn,_0x2be554,[_0x3b773a['pwJvT']],_0x1b7d15);_0x37e3d3[_0x27e099(0x1f7)]['on'](_0x3b773a['oQLUX'],_0x1ec7fc=>{const _0x278dc4=_0x27e099;_0x3b4e8c[_0x278dc4(0x19f)](_0x1ec7fc)&&_0x3b773a['cOnvA'](_0x27db62,!![]);}),_0x37e3d3['on'](_0x3b773a[_0x27e099(0x1c7)],()=>{_0x3b773a['cOnvA'](_0x27db62,![]);});});}#homedir(){const _0x46159d=a99_0xfdccb2,_0x17ef9b={};_0x17ef9b['ArRqk']=function(_0x357fd9,_0x3de43e){return _0x357fd9===_0x3de43e;},_0x17ef9b['dSSvB']=_0x46159d(0x196),_0x17ef9b['qkMMb']=function(_0x4efa29,_0x4a1df1){return _0x4efa29===_0x4a1df1;},_0x17ef9b[_0x46159d(0x1a8)]=_0x46159d(0x1bb),_0x17ef9b[_0x46159d(0x188)]=function(_0x57d76a,_0xe5a348){return _0x57d76a+_0xe5a348;},_0x17ef9b[_0x46159d(0x18a)]='darwin',_0x17ef9b[_0x46159d(0x1f2)]=_0x46159d(0x17b),_0x17ef9b[_0x46159d(0x177)]=function(_0x3d2b98,_0x459d0a){return _0x3d2b98===_0x459d0a;},_0x17ef9b[_0x46159d(0x1b2)]=_0x46159d(0x1ab),_0x17ef9b[_0x46159d(0x1ff)]=_0x46159d(0x1f6),_0x17ef9b[_0x46159d(0x1cf)]=function(_0x4a3b26,_0x3b725a){return _0x4a3b26+_0x3b725a;},_0x17ef9b['Byczs']=_0x46159d(0x1f0),_0x17ef9b[_0x46159d(0x1c4)]=function(_0x2b0019,_0x3b1d50){return _0x2b0019||_0x3b1d50;};const _0x547479=_0x17ef9b;if(_0x547479[_0x46159d(0x1c8)](typeof os[_0x46159d(0x19c)],_0x547479[_0x46159d(0x1fa)]))return os[_0x46159d(0x19c)]();const _0x58bf02=process[_0x46159d(0x17a)],_0x29a914=_0x58bf02[_0x46159d(0x1c6)],_0x1d6255=_0x58bf02[_0x46159d(0x16a)]||_0x58bf02[_0x46159d(0x1d2)]||_0x58bf02[_0x46159d(0x174)]||_0x58bf02[_0x46159d(0x185)];if(_0x547479['qkMMb'](process[_0x46159d(0x1cc)],_0x547479['xMpSQ']))return _0x58bf02[_0x46159d(0x1fe)]||_0x547479['BHWfs'](_0x58bf02[_0x46159d(0x1de)],_0x58bf02[_0x46159d(0x197)])||_0x29a914||null;if(_0x547479[_0x46159d(0x1b8)](process['platform'],_0x547479['btOsJ']))return _0x29a914||(_0x1d6255?_0x547479[_0x46159d(0x188)](_0x547479[_0x46159d(0x1f2)],_0x1d6255):null);if(_0x547479[_0x46159d(0x177)](process[_0x46159d(0x1cc)],_0x547479[_0x46159d(0x1b2)]))return _0x29a914||(_0x547479[_0x46159d(0x1b8)](process[_0x46159d(0x1b7)](),0x0)?_0x547479[_0x46159d(0x1ff)]:_0x1d6255?_0x547479[_0x46159d(0x1cf)](_0x547479[_0x46159d(0x1a9)],_0x1d6255):null);return _0x547479[_0x46159d(0x1c4)](_0x29a914,null);}}module[a99_0xfdccb2(0x198)]=PercyBinary;
|
|
1
|
+
const a100_0x468c6a=a100_0x11df;(function(_0x38009c,_0x450021){const _0xf384f2=a100_0x11df,_0x17c76c=_0x38009c();while(!![]){try{const _0x2e052c=parseInt(_0xf384f2(0x18a))/0x1*(-parseInt(_0xf384f2(0x1a0))/0x2)+-parseInt(_0xf384f2(0x131))/0x3+-parseInt(_0xf384f2(0x13c))/0x4*(-parseInt(_0xf384f2(0x13e))/0x5)+-parseInt(_0xf384f2(0x106))/0x6*(-parseInt(_0xf384f2(0x12f))/0x7)+-parseInt(_0xf384f2(0x161))/0x8*(-parseInt(_0xf384f2(0x187))/0x9)+-parseInt(_0xf384f2(0x109))/0xa*(-parseInt(_0xf384f2(0x19f))/0xb)+-parseInt(_0xf384f2(0x16f))/0xc*(-parseInt(_0xf384f2(0x126))/0xd);if(_0x2e052c===_0x450021)break;else _0x17c76c['push'](_0x17c76c['shift']());}catch(_0x1b3a5f){_0x17c76c['push'](_0x17c76c['shift']());}}}(a100_0x42bd,0x7432f));function a100_0x42bd(){const _0x2b01b6=['cAttf','validateBinary','platform','isZOt','getuid','debug','darwin','pipe','percy','needsUpdate','createWriteStream','ddpew','/root','cwd','W_OK','ALCyC','host','wYbVt','.browserstack','wDuAW','USERNAME','9leovjU','headers','KsaHl','19991aadyik','undefined','VLMeh','0755','sUokm','NWqAB','path','Error\x20trying\x20to\x20download\x20percy\x20binary','PspeM','mjggM','error','USER','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20','statusCode','htjtM','tiVVk','useCaCertificate','VMFDn','Failed\x20to\x20read\x20ETag\x20file:\x20','winstonLogger','847qyHrxr','56MXRrUC','QyyCr','LOGNAME','USERPROFILE','bYrSo','IrSYw','lpHaV','KyCHt','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','2848074sNhpIl','qZWHJ','fileName','56430LXCkvK','readFileSync','jUIPJ','/percy-win.zip','kWHFn','percy.exe','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20','qyczs','entry','openReadStream','dIKdP','UTaCE','https://github.com/percy/cli/releases/latest/download','HOME','kuWHI','url','lkAab','AYlFM','/home/','SdarW','statSync','OMnyu','SGrhU','vTWaA','dQjFO','linux','proxyHost','env','CjqpR','100087PdQuqY','jEWVs','zQznR','BqNuV','Epiex','DWGek','Zxpud','homedir','etag','7FIPYeO','.etag','2019207NAmQnQ','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','vcYQx','proxyPort','sJIef','bpgGM','close','BPBkg','X_OK','https-proxy-agent','catch','13436mfFVBn','once','765iuoJqD','data','oLfBT','win32','Fulpl','get','test','eymBh','tmpdir','ZcAwR','VGHfH','qmzeu','join','--version','download','mkdirSync','lazyEntries','/Users/','exports','match','AzMCl','utf8','binaryPath','open','CInhW','uNQXy','Qejzs','wMMai','chmod','HOMEDRIVE','accessSync','length','port','warn','function','1854064Btkycz','MHqhe','readEntry','Scwam','HOMEPATH','ojcOO','oHLUB','/percy-osx.zip','writeFileSync','../logger','dPlPM','TbbyG','ERrLU','jTzAp','84YOJUrW','parse','Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20'];a100_0x42bd=function(){return _0x2b01b6;};return a100_0x42bd();}const {https}=require('follow-redirects'),url=require(a100_0x468c6a(0x118)),yauzl=require('yauzl'),fs=require('fs'),path=require(a100_0x468c6a(0x190)),os=require('os'),{spawn}=require('child_process'),HttpsProxyAgent=require(a100_0x468c6a(0x13a)),logger=require(a100_0x468c6a(0x16a))[a100_0x468c6a(0x19e)];class PercyBinary{#hostOS=process[a100_0x468c6a(0x174)];#httpPath=null;#binaryName=a100_0x468c6a(0x17a);#orderedPaths=[path[a100_0x468c6a(0x14a)](this.#homedir(),a100_0x468c6a(0x184)),process[a100_0x468c6a(0x17f)](),os[a100_0x468c6a(0x146)]()];constructor(){const _0x3f9f11=a100_0x468c6a,_0x259152={};_0x259152['DWGek']=_0x3f9f11(0x115),_0x259152[_0x3f9f11(0x119)]=function(_0x283d72,_0x4c2d96){return _0x283d72+_0x4c2d96;},_0x259152[_0x3f9f11(0x113)]=_0x3f9f11(0x168),_0x259152['IrSYw']=function(_0xb5854d,_0x4e44f3){return _0xb5854d+_0x4e44f3;},_0x259152[_0x3f9f11(0x120)]=_0x3f9f11(0x10c),_0x259152[_0x3f9f11(0x114)]=_0x3f9f11(0x10e),_0x259152['SdarW']='/percy-linux.zip';const _0x520149=_0x259152,_0x47b95a=_0x520149[_0x3f9f11(0x12b)];if(this.#hostOS[_0x3f9f11(0x151)](/darwin|mac os/i))this.#httpPath=_0x520149[_0x3f9f11(0x119)](_0x47b95a,_0x520149[_0x3f9f11(0x113)]);else this.#hostOS[_0x3f9f11(0x151)](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x520149[_0x3f9f11(0x102)](_0x47b95a,_0x520149[_0x3f9f11(0x120)]),this.#binaryName=_0x520149[_0x3f9f11(0x114)]):this.#httpPath=_0x520149[_0x3f9f11(0x102)](_0x47b95a,_0x520149[_0x3f9f11(0x11c)]);}#getAvailableDirs(){const _0x51bf08=a100_0x468c6a,_0x271d58={};_0x271d58[_0x51bf08(0x162)]=function(_0x14fa57,_0x5e0880){return _0x14fa57<_0x5e0880;},_0x271d58[_0x51bf08(0x189)]=_0x51bf08(0x191);const _0x268d4e=_0x271d58;for(var _0x65e640=0x0;_0x268d4e['MHqhe'](_0x65e640,this.#orderedPaths[_0x51bf08(0x15d)]);_0x65e640++){var _0x442815=this.#orderedPaths[_0x65e640];if(this.#makePath(_0x442815))return _0x442815;}throw new Error(_0x268d4e[_0x51bf08(0x189)]);}#makePath(_0x5556ca){const _0x3c1fce=a100_0x468c6a;try{return _0x5556ca&&!this.#checkPath(_0x5556ca)&&fs[_0x3c1fce(0x14d)](_0x5556ca),!![];}catch{return![];}}#checkPath(_0x28a2c1,_0x4eaed1){const _0xcbc66c=a100_0x468c6a,_0x4807b7={};_0x4807b7[_0xcbc66c(0x16e)]=function(_0x1c13a7,_0x3f6684){return _0x1c13a7|_0x3f6684;},_0x4807b7[_0xcbc66c(0x172)]=function(_0x39c24d,_0x56c3cb){return _0x39c24d!==_0x56c3cb;},_0x4807b7[_0xcbc66c(0x147)]=_0xcbc66c(0x18b);const _0x4cdc7e=_0x4807b7;_0x4eaed1=_0x4eaed1||_0x4cdc7e[_0xcbc66c(0x16e)](fs['R_OK'],fs[_0xcbc66c(0x180)]);try{return fs[_0xcbc66c(0x15c)](_0x28a2c1,_0x4eaed1),!![];}catch(_0x5468d6){if(_0x4cdc7e['cAttf'](typeof fs[_0xcbc66c(0x15c)],_0x4cdc7e[_0xcbc66c(0x147)]))return![];try{return fs[_0xcbc66c(0x11d)](_0x28a2c1),!![];}catch(_0x4cf5d8){return![];}}}#getETagPath(_0x24de1a){const _0x38d965=a100_0x468c6a;return path[_0x38d965(0x14a)](_0x24de1a,this.#binaryName+_0x38d965(0x130));}#loadETag(_0x27f28f){const _0x3a5acd=a100_0x468c6a,_0x266726={};_0x266726[_0x3a5acd(0x16d)]=_0x3a5acd(0x153);const _0x1edf40=_0x266726,_0xe81b40=this.#getETagPath(_0x27f28f);if(this.#checkPath(_0xe81b40))try{return fs[_0x3a5acd(0x10a)](_0xe81b40,_0x1edf40['ERrLU'])['trim']();}catch(_0x3a2eba){logger[_0x3a5acd(0x15f)](_0x3a5acd(0x19d)+_0x3a2eba);}return null;}#saveETag(_0x7baeff,_0x356a31){const _0x3e6c8d=a100_0x468c6a,_0x11fab6={};_0x11fab6[_0x3e6c8d(0x164)]='Saved\x20new\x20ETag\x20for\x20percy\x20binary';const _0x367424=_0x11fab6;if(!_0x356a31)return;try{const _0x3f5c12=this.#getETagPath(_0x7baeff);fs[_0x3e6c8d(0x169)](_0x3f5c12,_0x356a31),logger[_0x3e6c8d(0x177)](_0x367424[_0x3e6c8d(0x164)]);}catch(_0x1105fd){logger[_0x3e6c8d(0x15f)]('Failed\x20to\x20save\x20ETag\x20file:\x20'+_0x1105fd);}}async #handleBinaryDownload(_0x14cf6a,_0x465909,_0x192c58){const _0x48f58e=a100_0x468c6a,_0x1a9624={};_0x1a9624[_0x48f58e(0x129)]=_0x48f58e(0x132);const _0x5749b4=_0x1a9624,_0xfa6c48=await this[_0x48f58e(0x173)](_0x14cf6a[_0x48f58e(0x154)]);if(!_0xfa6c48){logger[_0x48f58e(0x194)](_0x5749b4[_0x48f58e(0x129)]);const _0x3b274c=await this[_0x48f58e(0x14c)](_0x465909,_0x192c58);return _0x3b274c['binaryPath'];}return _0x14cf6a[_0x48f58e(0x154)];}async['getBinaryPath'](_0x223ced){const _0x230d38=a100_0x468c6a,_0x41a667={};_0x41a667[_0x230d38(0x135)]='Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)',_0x41a667[_0x230d38(0x127)]=_0x230d38(0x105);const _0x2d2dba=_0x41a667,_0x3fba4e=this.#getAvailableDirs(),_0x15cf0d=path[_0x230d38(0x14a)](_0x3fba4e,this.#binaryName);if(this.#checkPath(_0x15cf0d,fs[_0x230d38(0x139)])){const _0x46d406=this.#loadETag(_0x3fba4e);if(_0x46d406)try{const _0x45e729=await this[_0x230d38(0x14c)](_0x223ced,_0x3fba4e,_0x46d406);if(!_0x45e729[_0x230d38(0x17b)])return logger[_0x230d38(0x177)](_0x2d2dba[_0x230d38(0x135)]),_0x15cf0d;return logger[_0x230d38(0x177)](_0x2d2dba[_0x230d38(0x127)]),await this.#handleBinaryDownload(_0x45e729,_0x223ced,_0x3fba4e);}catch(_0x252984){return logger[_0x230d38(0x15f)](_0x230d38(0x171)+_0x252984),_0x15cf0d;}}const _0x48dda1=await this['download'](_0x223ced,_0x3fba4e);return await this.#handleBinaryDownload(_0x48dda1,_0x223ced,_0x3fba4e);}[a100_0x468c6a(0x14c)](_0x6fdda1,_0x3ac286,_0x56c27e=null){const _0x24a2d8=a100_0x468c6a,_0x52a660={'oLfBT':function(_0x1d95d5,_0x536820){return _0x1d95d5(_0x536820);},'EOSZG':function(_0x387a90,_0x1d1608){return _0x387a90===_0x1d1608;},'OMnyu':function(_0x2ad911,_0x53d5b5){return _0x2ad911(_0x53d5b5);},'jUIPJ':_0x24a2d8(0x194),'mjggM':'close','dPlPM':function(_0x466ef6,_0x7409a2){return _0x466ef6(_0x7409a2);},'NWqAB':function(_0x52aada,_0xe42512){return _0x52aada+_0xe42512;},'pglOg':'.zip'};_0x3ac286&&!this.#checkPath(_0x3ac286)&&fs['mkdirSync'](_0x3ac286);const _0x11c054=this.#binaryName,_0x48c272=path[_0x24a2d8(0x14a)](_0x3ac286,_0x52a660[_0x24a2d8(0x18f)](_0x11c054,_0x52a660['pglOg'])),_0x521503=fs[_0x24a2d8(0x17c)](_0x48c272),_0x183e5f=url[_0x24a2d8(0x170)](this.#httpPath);if(_0x6fdda1[_0x24a2d8(0x123)]&&_0x6fdda1[_0x24a2d8(0x134)]){const _0x57f824={};_0x57f824[_0x24a2d8(0x182)]=_0x6fdda1[_0x24a2d8(0x123)],_0x57f824[_0x24a2d8(0x15e)]=_0x6fdda1['proxyPort'],_0x183e5f['agent']=new HttpsProxyAgent(_0x57f824);}if(_0x6fdda1[_0x24a2d8(0x19b)])try{_0x183e5f['ca']=fs['readFileSync'](_0x6fdda1[_0x24a2d8(0x19b)]);}catch(_0x19cd4c){logger[_0x24a2d8(0x194)]('Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20'+_0x19cd4c);}if(_0x56c27e){const _0x34a9c6={};_0x34a9c6['If-None-Match']=_0x56c27e,_0x183e5f[_0x24a2d8(0x188)]=_0x34a9c6;}return new Promise((_0x1cef78,_0x34dfe9)=>{const _0x5b9600=_0x24a2d8,_0x2e0cad={'Mhoai':function(_0x2a6c97,_0x436834){const _0x960dc5=a100_0x11df;return _0x52a660[_0x960dc5(0x140)](_0x2a6c97,_0x436834);},'qZWHJ':function(_0x2c4aad,_0x401f05){const _0x222d94=a100_0x11df;return _0x52a660[_0x222d94(0x140)](_0x2c4aad,_0x401f05);},'VLMeh':function(_0x15b0a5,_0x4f6a6c){return _0x52a660['EOSZG'](_0x15b0a5,_0x4f6a6c);},'AzMCl':function(_0x3a8989,_0x4c18f0){const _0x79f82f=a100_0x11df;return _0x52a660[_0x79f82f(0x11e)](_0x3a8989,_0x4c18f0);},'Qejzs':_0x52a660[_0x5b9600(0x10b)],'uNQXy':_0x52a660[_0x5b9600(0x193)],'Fulpl':function(_0x638450,_0x2618fd){const _0x4d82aa=_0x5b9600;return _0x52a660[_0x4d82aa(0x16b)](_0x638450,_0x2618fd);}};https[_0x5b9600(0x143)](_0x183e5f,_0x4edc24=>{const _0x42f26d=_0x5b9600;if(_0x56c27e&&_0x2e0cad[_0x42f26d(0x18c)](_0x4edc24[_0x42f26d(0x198)],0x130)){const _0x21ec94={};_0x21ec94[_0x42f26d(0x17b)]=![],_0x2e0cad[_0x42f26d(0x152)](_0x1cef78,_0x21ec94);return;}const _0xd9d9cf=_0x4edc24[_0x42f26d(0x188)][_0x42f26d(0x12e)];_0xd9d9cf&&this.#saveETag(_0x3ac286,_0xd9d9cf),_0x4edc24[_0x42f26d(0x179)](_0x521503),_0x4edc24['on'](_0x2e0cad[_0x42f26d(0x158)],function(_0x344051){const _0x423173=_0x42f26d;logger[_0x423173(0x194)](_0x423173(0x10f)+_0x344051),_0x2e0cad['Mhoai'](_0x34dfe9,_0x344051);}),_0x521503['on'](_0x2e0cad[_0x42f26d(0x158)],function(_0x1f28df){const _0xd5415=_0x42f26d;logger[_0xd5415(0x194)](_0xd5415(0x196)+_0x1f28df),_0x2e0cad[_0xd5415(0x107)](_0x34dfe9,_0x1f28df);}),_0x521503['on'](_0x2e0cad[_0x42f26d(0x157)],()=>{const _0xaa389c=_0x42f26d;this['extractAndSaveBinary'](_0x48c272,_0x3ac286)['then'](_0x3eedfb=>_0x1cef78({'needsUpdate':!![],'binaryPath':_0x3eedfb}))[_0xaa389c(0x13b)](_0x34dfe9);});})['on'](_0x52a660[_0x5b9600(0x10b)],function(_0x5f2b0f){const _0x5b370a=_0x5b9600;logger[_0x5b370a(0x194)](_0x5b370a(0x197)+_0x5f2b0f),_0x2e0cad[_0x5b370a(0x142)](_0x34dfe9,_0x5f2b0f);});});}['extractAndSaveBinary'](_0x421849,_0x1e7fb3){const _0x412edf=a100_0x468c6a,_0x38c0c8={'iZxkT':function(_0x1d6a2f,_0x2da59c){return _0x1d6a2f(_0x2da59c);},'vcYQx':'end','TbbyG':function(_0x5d2e0e,_0x8d193e){return _0x5d2e0e===_0x8d193e;},'SGrhU':_0x412edf(0x18d),'ojcOO':_0x412edf(0x111),'efSWF':_0x412edf(0x194)},_0x2c76fa=this.#binaryName,_0x1998f8=path[_0x412edf(0x14a)](_0x1e7fb3,_0x2c76fa);return new Promise((_0x442739,_0x426ebc)=>{const _0x342937=_0x412edf,_0x2cbc90={'Zxpud':function(_0xdbf8a2,_0x38090e){return _0x38c0c8['iZxkT'](_0xdbf8a2,_0x38090e);},'BPBkg':_0x38c0c8[_0x342937(0x133)],'Epiex':function(_0x41a001,_0x40a24a){const _0x555dff=_0x342937;return _0x38c0c8[_0x555dff(0x16c)](_0x41a001,_0x40a24a);},'qmzeu':function(_0x580f8b,_0x5f5b19){return _0x38c0c8['iZxkT'](_0x580f8b,_0x5f5b19);},'kuWHI':_0x38c0c8[_0x342937(0x11f)],'zQznR':_0x38c0c8[_0x342937(0x166)],'ALCyC':_0x38c0c8['efSWF']},_0x148d8a={};_0x148d8a[_0x342937(0x14e)]=!![],yauzl[_0x342937(0x155)](_0x421849,_0x148d8a,function(_0x1fdbfd,_0x2591df){const _0x5bd5ba=_0x342937,_0x33f769={'kWHFn':function(_0x2d6ca4,_0x1e0d4a){return _0x2cbc90['Zxpud'](_0x2d6ca4,_0x1e0d4a);},'CInhW':_0x2cbc90[_0x5bd5ba(0x138)],'wDuAW':function(_0x205e85,_0xe7b5a5){const _0x113e36=_0x5bd5ba;return _0x2cbc90[_0x113e36(0x12a)](_0x205e85,_0xe7b5a5);},'CjqpR':function(_0x293ef4,_0xf8a5dd){return _0x2cbc90['qmzeu'](_0x293ef4,_0xf8a5dd);},'isZOt':_0x2cbc90[_0x5bd5ba(0x117)]};_0x1fdbfd&&_0x2cbc90[_0x5bd5ba(0x149)](_0x426ebc,_0x1fdbfd),_0x2591df[_0x5bd5ba(0x163)](),_0x2591df['on'](_0x2cbc90[_0x5bd5ba(0x128)],_0x1ade35=>{const _0x48dc9c=_0x5bd5ba,_0x578954={'VMFDn':function(_0xedda02,_0x46f46e){const _0x4e16f1=a100_0x11df;return _0x33f769[_0x4e16f1(0x10d)](_0xedda02,_0x46f46e);},'bYrSo':_0x33f769[_0x48dc9c(0x156)]};if(/\/$/[_0x48dc9c(0x144)](_0x1ade35[_0x48dc9c(0x108)]))_0x2591df[_0x48dc9c(0x163)]();else{const _0x564990=fs['createWriteStream'](path[_0x48dc9c(0x14a)](_0x1e7fb3,_0x1ade35[_0x48dc9c(0x108)]));_0x2591df[_0x48dc9c(0x112)](_0x1ade35,function(_0xf27bd0,_0xcfe6ee){const _0x132b27=_0x48dc9c;_0xf27bd0&&_0x578954[_0x132b27(0x19c)](_0x426ebc,_0x1fdbfd),_0xcfe6ee['on'](_0x578954[_0x132b27(0x101)],function(){const _0x39af86=_0x132b27;_0x564990[_0x39af86(0x137)](),_0x2591df[_0x39af86(0x163)]();}),_0xcfe6ee['pipe'](_0x564990);}),_0x33f769[_0x48dc9c(0x185)](_0x1ade35[_0x48dc9c(0x108)],_0x2c76fa)&&_0x2591df[_0x48dc9c(0x137)]();}}),_0x2591df['on'](_0x2cbc90[_0x5bd5ba(0x181)],_0x6144f9=>{const _0xba44fd=_0x5bd5ba;_0x2cbc90[_0xba44fd(0x12c)](_0x426ebc,_0x6144f9);}),_0x2591df[_0x5bd5ba(0x13d)](_0x2cbc90[_0x5bd5ba(0x138)],()=>{const _0x1b29eb=_0x5bd5ba,_0x24057a={'sUokm':function(_0x2a5c5e,_0x244336){const _0x539b2a=a100_0x11df;return _0x33f769[_0x539b2a(0x125)](_0x2a5c5e,_0x244336);}};fs[_0x1b29eb(0x15a)](_0x1998f8,_0x33f769[_0x1b29eb(0x175)],function(_0x4e6049){const _0x12c0ee=_0x1b29eb;_0x4e6049&&_0x24057a[_0x12c0ee(0x18e)](_0x426ebc,_0x4e6049),_0x24057a[_0x12c0ee(0x18e)](_0x442739,_0x1998f8);}),_0x2591df[_0x1b29eb(0x137)]();});});});}async[a100_0x468c6a(0x173)](_0x453c78){const _0x3f6cdb=a100_0x468c6a,_0x493e56={'htjtM':function(_0x218980,_0x54eb2c){return _0x218980(_0x54eb2c);},'AYlFM':function(_0x39a726,_0x33cfc6){return _0x39a726(_0x33cfc6);},'gXEvW':function(_0x2f36ed,_0x1fb897,_0xfd267d,_0x590a6f){return _0x2f36ed(_0x1fb897,_0xfd267d,_0x590a6f);},'wYbVt':_0x3f6cdb(0x14b),'lpHaV':_0x3f6cdb(0x13f),'wMMai':_0x3f6cdb(0x137)},_0x585f32=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x8ccfc8,_0x1bf986)=>{const _0x56b6c4=_0x3f6cdb,_0x491a7e={'qyczs':function(_0x4540a9,_0x1d0b45){const _0x4f7d83=a100_0x11df;return _0x493e56[_0x4f7d83(0x11a)](_0x4540a9,_0x1d0b45);}},_0x51603b={};_0x51603b[_0x56b6c4(0x124)]=process[_0x56b6c4(0x124)];const _0x50ffc3=_0x493e56['gXEvW'](spawn,_0x453c78,[_0x493e56[_0x56b6c4(0x183)]],_0x51603b);_0x50ffc3['stdout']['on'](_0x493e56[_0x56b6c4(0x103)],_0x1e1a4b=>{const _0x5be620=_0x56b6c4;_0x585f32['test'](_0x1e1a4b)&&_0x491a7e[_0x5be620(0x110)](_0x8ccfc8,!![]);}),_0x50ffc3['on'](_0x493e56[_0x56b6c4(0x159)],()=>{const _0x576e87=_0x56b6c4;_0x493e56[_0x576e87(0x199)](_0x8ccfc8,![]);});});}#homedir(){const _0x2a8817=a100_0x468c6a,_0x4a608e={};_0x4a608e[_0x2a8817(0x192)]=function(_0xdf323c,_0x167530){return _0xdf323c===_0x167530;},_0x4a608e['lJKAt']=_0x2a8817(0x160),_0x4a608e[_0x2a8817(0x167)]=_0x2a8817(0x141),_0x4a608e[_0x2a8817(0x136)]=function(_0x26c2cf,_0x412805){return _0x26c2cf+_0x412805;},_0x4a608e[_0x2a8817(0x17d)]=function(_0x3f3e78,_0x2b50b9){return _0x3f3e78===_0x2b50b9;},_0x4a608e[_0x2a8817(0x148)]=_0x2a8817(0x178),_0x4a608e[_0x2a8817(0x121)]=function(_0x2883b5,_0x3f0642){return _0x2883b5+_0x3f0642;},_0x4a608e[_0x2a8817(0x19a)]=_0x2a8817(0x14f),_0x4a608e['eymBh']=_0x2a8817(0x122),_0x4a608e[_0x2a8817(0x1a1)]=function(_0x221d6e,_0x18b942){return _0x221d6e===_0x18b942;},_0x4a608e['FJWDK']=_0x2a8817(0x17e),_0x4a608e[_0x2a8817(0x104)]=_0x2a8817(0x11b),_0x4a608e['oDQcv']=function(_0x2923f3,_0x256f3b){return _0x2923f3||_0x256f3b;};const _0x265922=_0x4a608e;if(_0x265922['PspeM'](typeof os['homedir'],_0x265922['lJKAt']))return os[_0x2a8817(0x12d)]();const _0x36c436=process[_0x2a8817(0x124)],_0x3e9e57=_0x36c436[_0x2a8817(0x116)],_0x561439=_0x36c436[_0x2a8817(0xff)]||_0x36c436[_0x2a8817(0x195)]||_0x36c436['LNAME']||_0x36c436[_0x2a8817(0x186)];if(_0x265922['PspeM'](process[_0x2a8817(0x174)],_0x265922['oHLUB']))return _0x36c436[_0x2a8817(0x100)]||_0x265922[_0x2a8817(0x136)](_0x36c436[_0x2a8817(0x15b)],_0x36c436[_0x2a8817(0x165)])||_0x3e9e57||null;if(_0x265922[_0x2a8817(0x17d)](process[_0x2a8817(0x174)],_0x265922[_0x2a8817(0x148)]))return _0x3e9e57||(_0x561439?_0x265922[_0x2a8817(0x121)](_0x265922[_0x2a8817(0x19a)],_0x561439):null);if(_0x265922[_0x2a8817(0x17d)](process[_0x2a8817(0x174)],_0x265922[_0x2a8817(0x145)]))return _0x3e9e57||(_0x265922[_0x2a8817(0x1a1)](process[_0x2a8817(0x176)](),0x0)?_0x265922['FJWDK']:_0x561439?_0x265922[_0x2a8817(0x121)](_0x265922[_0x2a8817(0x104)],_0x561439):null);return _0x265922['oDQcv'](_0x3e9e57,null);}}function a100_0x11df(_0xe555c,_0x252dc3){const _0x42bd7b=a100_0x42bd();return a100_0x11df=function(_0x11dfc2,_0x4e3a6b){_0x11dfc2=_0x11dfc2-0xff;let _0x2b0c98=_0x42bd7b[_0x11dfc2];return _0x2b0c98;},a100_0x11df(_0xe555c,_0x252dc3);}module[a100_0x468c6a(0x150)]=PercyBinary;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a101_0x44983e=a101_0x5e1f;(function(_0x1a5fee,_0x342e05){var _0x3dcf7f=a101_0x5e1f,_0x3b1bcb=_0x1a5fee();while(!![]){try{var _0x5c493a=parseInt(_0x3dcf7f(0x149))/0x1+-parseInt(_0x3dcf7f(0x14a))/0x2+parseInt(_0x3dcf7f(0x14b))/0x3*(parseInt(_0x3dcf7f(0x146))/0x4)+parseInt(_0x3dcf7f(0x14f))/0x5+-parseInt(_0x3dcf7f(0x143))/0x6*(parseInt(_0x3dcf7f(0x148))/0x7)+parseInt(_0x3dcf7f(0x14e))/0x8*(-parseInt(_0x3dcf7f(0x145))/0x9)+parseInt(_0x3dcf7f(0x144))/0xa*(-parseInt(_0x3dcf7f(0x147))/0xb);if(_0x5c493a===_0x342e05)break;else _0x3b1bcb['push'](_0x3b1bcb['shift']());}catch(_0xf7327b){_0x3b1bcb['push'](_0x3b1bcb['shift']());}}}(a101_0x1dac,0x569b4));class PercyCaptureMap{#map={};['increment'](_0x239093,_0x449290){!this.#map[_0x239093]&&(this.#map[_0x239093]={}),!this.#map[_0x239093][_0x449290]&&(this.#map[_0x239093][_0x449290]=0x0),this.#map[_0x239093][_0x449290]++;}['getName'](_0x5246b5,_0x4c7d7e){return _0x5246b5+'-'+_0x4c7d7e+'-'+this['get'](_0x5246b5,_0x4c7d7e);}[a101_0x44983e(0x14d)](_0x3f53a1,_0x30038f){if(!this.#map[_0x3f53a1])return 0x0;if(!this.#map[_0x3f53a1][_0x30038f])return 0x0;return this.#map[_0x3f53a1][_0x30038f];}}function a101_0x5e1f(_0x4cbfd6,_0x5cd8dc){var _0x1dac7d=a101_0x1dac();return a101_0x5e1f=function(_0x5e1ff3,_0x238420){_0x5e1ff3=_0x5e1ff3-0x143;var _0x43a2d5=_0x1dac7d[_0x5e1ff3];return _0x43a2d5;},a101_0x5e1f(_0x4cbfd6,_0x5cd8dc);}function a101_0x1dac(){var _0x544b97=['5620oGnHpQ','18gqNqtt','6452HVabxo','2585YJRgQq','854hDssnl','563208uefLsh','1169192WuMJFe','1245uHdyCw','exports','get','1972672DZoQEs','1792835TXQtGK','1308MhKNlT'];a101_0x1dac=function(){return _0x544b97;};return a101_0x1dac();}module[a101_0x44983e(0x14c)]=PercyCaptureMap;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a102_0x9b4ccd=a102_0x3bcd;function a102_0x4dfc(){var _0xd0460e=['3YAvwgI','testcase','488610yadofN','8ERMPgB','element','2241564GLaIaX','sendKeys','289330IHVRdb','exports','takeScreenshot','click','1189366kvJrBO','driver','901588RSNNTr','679518JsXXcp','1931545QZaRLl','manual','screenshot'];a102_0x4dfc=function(){return _0xd0460e;};return a102_0x4dfc();}(function(_0x32e88d,_0x3f1a09){var _0x966f42=a102_0x3bcd,_0x145bbe=_0x32e88d();while(!![]){try{var _0x27fa5a=parseInt(_0x966f42(0x108))/0x1+parseInt(_0x966f42(0x10c))/0x2*(-parseInt(_0x966f42(0x101))/0x3)+-parseInt(_0x966f42(0x10e))/0x4+parseInt(_0x966f42(0x110))/0x5+parseInt(_0x966f42(0x106))/0x6+parseInt(_0x966f42(0x10f))/0x7+parseInt(_0x966f42(0x104))/0x8*(parseInt(_0x966f42(0x103))/0x9);if(_0x27fa5a===_0x3f1a09)break;else _0x145bbe['push'](_0x145bbe['shift']());}catch(_0x1781b0){_0x145bbe['push'](_0x145bbe['shift']());}}}(a102_0x4dfc,0x5ce65));var a102_0x2491a1={};a102_0x2491a1[a102_0x9b4ccd(0x10d)]=[a102_0x9b4ccd(0x10a)],a102_0x2491a1[a102_0x9b4ccd(0x105)]=['click',a102_0x9b4ccd(0x107)];function a102_0x3bcd(_0x3d43a8,_0x560181){var _0x4dfc98=a102_0x4dfc();return a102_0x3bcd=function(_0x3bcda5,_0x484f9a){_0x3bcda5=_0x3bcda5-0xff;var _0x254d22=_0x4dfc98[_0x3bcda5];return _0x254d22;},a102_0x3bcd(_0x3d43a8,_0x560181);}var a102_0x27a7b6={};a102_0x27a7b6['driver']=[a102_0x9b4ccd(0x10a)];var a102_0x3be9ae={};a102_0x3be9ae[a102_0x9b4ccd(0x105)]=[a102_0x9b4ccd(0x10b)];var a102_0x19f4c3={};a102_0x19f4c3['auto']=a102_0x2491a1,a102_0x19f4c3[a102_0x9b4ccd(0x100)]=a102_0x27a7b6,a102_0x19f4c3[a102_0x9b4ccd(0x10b)]=a102_0x3be9ae,a102_0x19f4c3[a102_0x9b4ccd(0x102)]={},a102_0x19f4c3[a102_0x9b4ccd(0xff)]={},module[a102_0x9b4ccd(0x109)]=a102_0x19f4c3;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a103_0x243dec=a103_0x30f1;function a103_0x4c45(){const _0x5026fc=['1305314KMZMFI','Ekliw','length','platformIndex','3469036SGiFWk','1801542zVEtZN','SNAPSHOT','uuid','apply','winstonLogger','MsrWW','rBXPZ','FbuyI','1011544PqkIFp','screenshot','170WEAgHi','../performance/constants','gAouD','1QzstjU','screenshotApp','SCREENSHOT_APP','971118rqUsnR','SCREENSHOT','../logger','../performance/performance-tester','snapshot','@percy/selenium-webdriver','21YecbDx','error','browserstackPlatformIndex','@percy/appium-app','WdUQB','3193710oybezF','thTestCaseExecutionId','measure','testCase','OVDcl','2135725LmMawp','name','eOpzB'];a103_0x4c45=function(){return _0x5026fc;};return a103_0x4c45();}function a103_0x30f1(_0x20c6b7,_0x4d4e33){const _0x4c4527=a103_0x4c45();return a103_0x30f1=function(_0x30f1b2,_0x2a1ca5){_0x30f1b2=_0x30f1b2-0x1ae;let _0x58aca9=_0x4c4527[_0x30f1b2];return _0x58aca9;},a103_0x30f1(_0x20c6b7,_0x4d4e33);}(function(_0x1465bb,_0x38640c){const _0x3c468f=a103_0x30f1,_0x3dab48=_0x1465bb();while(!![]){try{const _0x4f435c=-parseInt(_0x3c468f(0x1d5))/0x1*(-parseInt(_0x3c468f(0x1c3))/0x2)+-parseInt(_0x3c468f(0x1c8))/0x3+-parseInt(_0x3c468f(0x1c7))/0x4+-parseInt(_0x3c468f(0x1c0))/0x5+-parseInt(_0x3c468f(0x1bb))/0x6+-parseInt(_0x3c468f(0x1b6))/0x7*(-parseInt(_0x3c468f(0x1d0))/0x8)+-parseInt(_0x3c468f(0x1b0))/0x9*(-parseInt(_0x3c468f(0x1d2))/0xa);if(_0x4f435c===_0x38640c)break;else _0x3dab48['push'](_0x3dab48['shift']());}catch(_0x33eb2e){_0x3dab48['push'](_0x3dab48['shift']());}}}(a103_0x4c45,0x6b34d));const tryRequire=function(_0x2c3ed9,_0x53712a){const _0x3d948f=a103_0x30f1,_0x148ed7={'rBXPZ':function(_0x286b66,_0x15d47f){return _0x286b66(_0x15d47f);}};try{return _0x148ed7[_0x3d948f(0x1ce)](require,_0x2c3ed9);}catch{return _0x53712a;}},percySnapshot=tryRequire(a103_0x243dec(0x1b5),null),{percyScreenshot}=tryRequire(a103_0x243dec(0x1b5),{}),percyAppScreenshot=require(a103_0x243dec(0x1b9)),{getCurrentTestData}=require('../../helpers/testhub/utils'),PerformanceTester=require(a103_0x243dec(0x1b3)),{PERCY_EVENTS:PerformanceEvents}=require(a103_0x243dec(0x1d3)),logger=require(a103_0x243dec(0x1b2))[a103_0x243dec(0x1cc)];percySnapshot&&(exports[a103_0x243dec(0x1b4)]=async function(){const _0x3046dc=a103_0x243dec,_0x4dee71={'VYuJI':function(_0x68a8d6,_0x2787a3){return _0x68a8d6!==_0x2787a3;},'eOpzB':function(_0xbdb5d6,_0x80e3a0){return _0xbdb5d6>=_0x80e3a0;},'WdUQB':function(_0x3f9458){return _0x3f9458();}};if(global['browserstackPlatformIndex']&&_0x4dee71['VYuJI'](global[_0x3046dc(0x1b8)],global['browserstackPercyBestPlatform']))return;const _0x43a8a4=_0x4dee71[_0x3046dc(0x1c2)](arguments[_0x3046dc(0x1c5)],0x2)?arguments[0x1]:'',_0x5ef157=_0x4dee71[_0x3046dc(0x1ba)](getCurrentTestData),_0x22222b={};return _0x22222b[_0x3046dc(0x1c1)]=_0x43a8a4,_0x22222b[_0x3046dc(0x1be)]=_0x5ef157[_0x3046dc(0x1c1)]||'',_0x22222b['thTestCaseExecutionId']=_0x5ef157[_0x3046dc(0x1ca)]||'',_0x22222b[_0x3046dc(0x1c6)]=global[_0x3046dc(0x1b8)],await PerformanceTester[_0x3046dc(0x1bd)](PerformanceEvents[_0x3046dc(0x1c9)],()=>percySnapshot[_0x3046dc(0x1cb)](null,arguments),_0x22222b);});percyScreenshot?exports[a103_0x243dec(0x1d1)]=async function(){const _0x1c34a4=a103_0x243dec,_0x499879={'MsrWW':function(_0x31f8f0,_0x1f71b7){return _0x31f8f0>=_0x1f71b7;},'gAouD':function(_0x26f2a7){return _0x26f2a7();}},_0x271d6d=_0x499879[_0x1c34a4(0x1cd)](arguments[_0x1c34a4(0x1c5)],0x2)?arguments[0x1]:'',_0x3e75ad=_0x499879[_0x1c34a4(0x1d4)](getCurrentTestData),_0x30f620={};return _0x30f620[_0x1c34a4(0x1c1)]=_0x271d6d,_0x30f620[_0x1c34a4(0x1be)]=_0x3e75ad[_0x1c34a4(0x1c1)]||'',_0x30f620[_0x1c34a4(0x1bc)]=_0x3e75ad[_0x1c34a4(0x1ca)]||'',_0x30f620[_0x1c34a4(0x1c6)]=global['browserstackPlatformIndex'],await PerformanceTester['measure'](PerformanceEvents[_0x1c34a4(0x1b1)],()=>percyScreenshot[_0x1c34a4(0x1cb)](null,arguments),_0x30f620);}:exports[a103_0x243dec(0x1d1)]=()=>{const _0x1b2732=a103_0x243dec,_0x10048c={};_0x10048c[_0x1b2732(0x1c4)]='Unsupported\x20driver\x20for\x20percy';const _0x2852e2=_0x10048c;logger[_0x1b2732(0x1b7)](_0x2852e2[_0x1b2732(0x1c4)]);};exports[a103_0x243dec(0x1ae)]=async function(){const _0x3181c8=a103_0x243dec,_0x23234e={'OVDcl':function(_0x303aee,_0x579f27){return _0x303aee>=_0x579f27;},'FbuyI':function(_0x1b2a21){return _0x1b2a21();}},_0x4b1dab=_0x23234e[_0x3181c8(0x1bf)](arguments['length'],0x2)?arguments[0x1]:'',_0x2278b0=_0x23234e[_0x3181c8(0x1cf)](getCurrentTestData),_0x284af3={};return _0x284af3[_0x3181c8(0x1c1)]=_0x4b1dab,_0x284af3[_0x3181c8(0x1be)]=_0x2278b0[_0x3181c8(0x1c1)]||'',_0x284af3[_0x3181c8(0x1bc)]=_0x2278b0[_0x3181c8(0x1ca)]||'',_0x284af3[_0x3181c8(0x1c6)]=global[_0x3181c8(0x1b8)],await PerformanceTester['measure'](PerformanceEvents[_0x3181c8(0x1af)],()=>percyAppScreenshot[_0x3181c8(0x1cb)](null,arguments),_0x284af3);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a104_0x2427(){var _0x378c25=['1463019qjVyXh','./Percy','exports','6644232srgVJo','1300eYEixP','8037295LBrffS','236822RwtWOc','7AkysAn','70avGouw','5713116YWGgBW','163098nbsVhO','173772ICCTyy'];a104_0x2427=function(){return _0x378c25;};return a104_0x2427();}var a104_0x368e98=a104_0x5883;function a104_0x5883(_0x1f839f,_0x34a16f){var _0x24277f=a104_0x2427();return a104_0x5883=function(_0x5883f4,_0x21b940){_0x5883f4=_0x5883f4-0x192;var _0x30d59b=_0x24277f[_0x5883f4];return _0x30d59b;},a104_0x5883(_0x1f839f,_0x34a16f);}(function(_0x417043,_0x6b4ae2){var _0x5cbc06=a104_0x5883,_0x2e48c0=_0x417043();while(!![]){try{var _0x4692f6=parseInt(_0x5cbc06(0x195))/0x1*(-parseInt(_0x5cbc06(0x194))/0x2)+-parseInt(_0x5cbc06(0x19a))/0x3+parseInt(_0x5cbc06(0x199))/0x4*(parseInt(_0x5cbc06(0x196))/0x5)+parseInt(_0x5cbc06(0x197))/0x6+-parseInt(_0x5cbc06(0x193))/0x7+-parseInt(_0x5cbc06(0x19d))/0x8+-parseInt(_0x5cbc06(0x198))/0x9*(-parseInt(_0x5cbc06(0x192))/0xa);if(_0x4692f6===_0x6b4ae2)break;else _0x2e48c0['push'](_0x2e48c0['shift']());}catch(_0x51ab25){_0x2e48c0['push'](_0x2e48c0['shift']());}}}(a104_0x2427,0x979b8),module[a104_0x368e98(0x19c)]=require(a104_0x368e98(0x19b)));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a105_0x24e1b3=a105_0x16bb;(function(_0x234904,_0x525dd9){const _0x55efaa=a105_0x16bb,_0x230f3=_0x234904();while(!![]){try{const _0x5c5b25=parseInt(_0x55efaa(0x19d))/0x1+-parseInt(_0x55efaa(0x17a))/0x2*(-parseInt(_0x55efaa(0x168))/0x3)+-parseInt(_0x55efaa(0x19a))/0x4+parseInt(_0x55efaa(0x165))/0x5+-parseInt(_0x55efaa(0x170))/0x6*(parseInt(_0x55efaa(0x185))/0x7)+-parseInt(_0x55efaa(0x180))/0x8+parseInt(_0x55efaa(0x189))/0x9;if(_0x5c5b25===_0x525dd9)break;else _0x230f3['push'](_0x230f3['shift']());}catch(_0x33f8cf){_0x230f3['push'](_0x230f3['shift']());}}}(a105_0x1edb,0x4cfee));const Percy=require('./Percy'),PercySDK=require(a105_0x24e1b3(0x164)),PercyCaptureModes=require(a105_0x24e1b3(0x163)),PercyCaptureMap=require('./PercyCaptureMap'),logger=require(a105_0x24e1b3(0x15f))['winstonLogger'],helper=require(a105_0x24e1b3(0x174)),PerformanceTester=require(a105_0x24e1b3(0x17d)),{PERCY_EVENTS:PerformanceEvents}=require(a105_0x24e1b3(0x1a1));function a105_0x16bb(_0x3a3068,_0x28fa60){const _0x1edb1c=a105_0x1edb();return a105_0x16bb=function(_0x16bb32,_0x4a6744){_0x16bb32=_0x16bb32-0x15b;let _0x5c05b3=_0x1edb1c[_0x16bb32];return _0x5c05b3;},a105_0x16bb(_0x3a3068,_0x28fa60);}exports[a105_0x24e1b3(0x15e)]=PerformanceTester[a105_0x24e1b3(0x199)](PerformanceEvents['START'],async _0x13b29e=>{const _0xaf9830=a105_0x24e1b3,_0x26c2de={};_0x26c2de[_0xaf9830(0x16c)]=_0xaf9830(0x19e);const _0x117414=_0x26c2de;logger[_0xaf9830(0x18f)](_0x117414[_0xaf9830(0x16c)]);const _0x34e507=new Percy(_0x13b29e),_0x81ab4=await _0x34e507[_0xaf9830(0x194)]();if(_0x81ab4)return _0x34e507;return null;}),exports['stopPercy']=PerformanceTester[a105_0x24e1b3(0x199)](PerformanceEvents[a105_0x24e1b3(0x193)],async _0x55b213=>{const _0x322289=a105_0x24e1b3,_0x51e301={};_0x51e301[_0x322289(0x16e)]=_0x322289(0x17c);const _0x498b35=_0x51e301;return logger[_0x322289(0x18f)](_0x498b35[_0x322289(0x16e)]),_0x55b213[_0x322289(0x187)]();}),exports[a105_0x24e1b3(0x190)]=_0x518201=>{const _0x5889a7=a105_0x24e1b3,_0x1cf1de={};_0x1cf1de[_0x5889a7(0x188)]=function(_0xdacdf3,_0x39a845){return _0xdacdf3<_0x39a845;};const _0x182113=_0x1cf1de,_0x4f50f4={};_0x4f50f4['chrome']=0x0,_0x4f50f4['firefox']=0x1,_0x4f50f4['edge']=0x2,_0x4f50f4[_0x5889a7(0x15d)]=0x3;const _0x1efa37=_0x4f50f4;return _0x518201[_0x5889a7(0x175)]((_0x5daf3e,_0x180de4,_0x31de6a)=>{const _0x5955bb=_0x5889a7,_0x2ef624=_0x518201[_0x5daf3e];if(_0x180de4[_0x5955bb(0x162)])return _0x5daf3e;if(_0x2ef624['deviceName'])return _0x31de6a;const _0x5ac021=_0x180de4['browser']?_0x180de4['browser']:_0x180de4[_0x5955bb(0x178)];if(_0x5ac021&&_0x182113['GxiMH'](_0x1efa37[_0x5ac021['toLowerCase']()],_0x1efa37[_0x5ac021['toLowerCase']()]))return _0x31de6a;return _0x5daf3e;},0x0);},exports[a105_0x24e1b3(0x177)]=PerformanceTester[a105_0x24e1b3(0x199)](PerformanceEvents[a105_0x24e1b3(0x171)],async(_0x389691,_0xfdbe1a,_0x52a4b1)=>{const _0x3514af=a105_0x24e1b3,_0x391941={};_0x391941[_0x3514af(0x166)]=_0x3514af(0x179);const _0x498230=_0x391941,_0x4519f4=_0x389691['browserstackPercyMap'];if(helper[_0x3514af(0x195)](_0x389691[_0x3514af(0x1a2)])){logger['debug'](_0x498230[_0x3514af(0x166)]);return;}const _0x99e533=_0x4519f4[_0x3514af(0x184)](_0x389691[_0x3514af(0x1a2)],_0xfdbe1a);_0x52a4b1[_0x3514af(0x198)]?await PercySDK[_0x3514af(0x181)](_0x389691,_0x99e533):await PercySDK['screenshot'](_0x389691,_0x99e533),_0x4519f4[_0x3514af(0x18b)](_0x389691[_0x3514af(0x1a2)],_0xfdbe1a);}),exports[a105_0x24e1b3(0x1a3)]=(_0xd960d5,_0x1bd796,_0x55764a)=>{const _0x35fc31=a105_0x24e1b3,_0xd90f82={};_0xd90f82[_0x35fc31(0x16a)]='browserStackPercyOptions',_0xd90f82[_0x35fc31(0x18a)]=_0x35fc31(0x196),_0xd90f82['jVWvI']=function(_0x1219d1,_0x306173){return _0x1219d1!==_0x306173;},_0xd90f82[_0x35fc31(0x169)]=_0x35fc31(0x19c);const _0x5e9ae1=_0xd90f82;if(!helper[_0x35fc31(0x191)](_0x55764a,[_0x5e9ae1[_0x35fc31(0x16a)],_0x5e9ae1[_0x35fc31(0x18a)]]))return;if(_0x55764a[_0x35fc31(0x197)][_0x35fc31(0x196)]&&_0x55764a[_0x35fc31(0x197)][_0x35fc31(0x16f)]&&_0x5e9ae1[_0x35fc31(0x161)](_0x55764a['browserStackPercyOptions'][_0x35fc31(0x16f)],_0x5e9ae1[_0x35fc31(0x169)])&&!_0xd960d5[_0x35fc31(0x17b)]){global[_0x35fc31(0x1a2)]&&(_0xd960d5[_0x35fc31(0x1a2)]=global[_0x35fc31(0x1a2)]),_0xd960d5[_0x35fc31(0x17b)]=new PercyCaptureMap();const _0x5c82f2=PercyCaptureModes[_0x55764a[_0x35fc31(0x197)][_0x35fc31(0x16f)]];_0x5c82f2[_0x35fc31(0x176)]&&_0x5c82f2[_0x35fc31(0x176)][_0x35fc31(0x173)](_0xa8c3d6=>this[_0x35fc31(0x15c)](_0xd960d5,_0xa8c3d6,_0x55764a)),_0x5c82f2[_0x35fc31(0x160)]&&_0x5c82f2[_0x35fc31(0x160)]['forEach'](_0x2d201f=>{const _0x5be75e=_0x35fc31;if(_0x1bd796[_0x5be75e(0x182)][_0x5be75e(0x17f)+_0x2d201f])return;_0x1bd796[_0x5be75e(0x182)][_0x5be75e(0x17f)+_0x2d201f]=!![];const _0x2b6956=_0x1bd796[_0x5be75e(0x182)][_0x2d201f];_0x1bd796[_0x5be75e(0x182)][_0x2d201f]=async function(){const _0x5a8c80=_0x5be75e;let _0x185df2=_0x2b6956[_0x5a8c80(0x18d)](this,arguments);_0x185df2&&_0x185df2[_0x5a8c80(0x183)]&&(_0x185df2=await _0x185df2);try{const _0x327a0e=this[_0x5a8c80(0x19b)]();await exports['percyAutoCapture'](_0x327a0e,_0x2d201f,_0x55764a);}catch(_0x242e43){logger[_0x5a8c80(0x18e)](_0x5a8c80(0x192)+_0x2d201f+_0x5a8c80(0x18c)+_0x242e43);}return _0x185df2;};});}},exports[a105_0x24e1b3(0x15c)]=function(_0x13788d,_0x4f509d,_0x3ec093){const _0x3325c5=a105_0x24e1b3,_0x381703={};_0x381703[_0x3325c5(0x17e)]=function(_0x34ed1e,_0xe786a8){return _0x34ed1e+_0xe786a8;},_0x381703['khloJ']=_0x3325c5(0x17f),_0x381703['FrdbJ']=function(_0x338fb1,_0x793859){return _0x338fb1+_0x793859;},_0x381703['PLIRN']=_0x3325c5(0x186);const _0x1e2743=_0x381703,_0x4a5cd7=_0x1e2743[_0x3325c5(0x17e)](_0x1e2743[_0x3325c5(0x1a0)],_0x4f509d),_0x2f0ce5=_0x1e2743[_0x3325c5(0x167)](_0x1e2743[_0x3325c5(0x16b)],_0x4f509d),_0x9d2906=this;if(_0x13788d[_0x4a5cd7]||!_0x13788d[_0x4f509d])return;_0x13788d[_0x4a5cd7]=!![],_0x13788d[_0x2f0ce5]=_0x13788d[_0x4f509d],_0x13788d[_0x4f509d]=async()=>{const _0x4fd360=_0x3325c5;try{await _0x9d2906[_0x4fd360(0x177)](_0x13788d,_0x4f509d,_0x3ec093);}catch(_0x7df69a){logger[_0x4fd360(0x18e)](_0x4fd360(0x192)+_0x4f509d+_0x4fd360(0x18c)+_0x7df69a);}return await _0x13788d[_0x2f0ce5][_0x4fd360(0x18d)](_0x13788d,arguments);};},exports[a105_0x24e1b3(0x16d)]=_0x581356=>{const _0x2de2eb=a105_0x24e1b3,_0x429f0a={};_0x429f0a[_0x2de2eb(0x172)]=_0x2de2eb(0x19f);const _0x55b010=_0x429f0a,_0x3e05b7={};_0x3e05b7[_0x2de2eb(0x196)]=_0x581356[_0x2de2eb(0x196)],_0x3e05b7['percyCaptureMode']=_0x581356[_0x2de2eb(0x16f)]||_0x55b010[_0x2de2eb(0x172)];const _0x21d164=_0x3e05b7;_0x581356[_0x2de2eb(0x196)]&&(_0x21d164['browserstackPercyBestPlatform']=exports[_0x2de2eb(0x190)](_0x581356[_0x2de2eb(0x15b)]));;return _0x21d164;};function a105_0x1edb(){const _0x13594d=['reduce','driver','percyAutoCapture','browserName','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','26MWuuix','browserstackPercyMap','Stopping\x20percy','../performance/performance-tester','vVZev','patch','3189840twZmwW','screenshotApp','prototype','then','getName','511rTWjlg','init','stop','GxiMH','4063671rRQCjG','FYgvF','increment','\x20for\x20percy\x20','apply','error','debug','getBestPlatformForPercySnapshot','nestedKeyValue','Error\x20patching\x20','STOP','start','isUndefined','percy','browserStackPercyOptions','app','measureWrapper','410768yGNwFg','getDriver','manual','271892wJZNsX','Starting\x20percy','auto','khloJ','../performance/constants','browserstackSessionName','patchDriverPercy','platforms','overrideXforPercy','safari','startPercy','../logger','element','jVWvI','deviceName','./PercyCaptureModes','./PercySDK','1531640PHNSJv','fljpn','FrdbJ','78789OXGNdQ','ZvGQL','Ycpda','PLIRN','NBqAA','getPercyOptions','ZzEoZ','percyCaptureMode','45564QrMetA','AUTO_CAPTURE','KhiBm','forEach','../helper'];a105_0x1edb=function(){return _0x13594d;};return a105_0x1edb();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a105_0x22a7e3=a105_0x14a3;(function(_0x893b1a,_0x133bee){const _0x40714c=a105_0x14a3,_0x4382e0=_0x893b1a();while(!![]){try{const _0xf50b01=parseInt(_0x40714c(0x152))/0x1*(-parseInt(_0x40714c(0xf9))/0x2)+parseInt(_0x40714c(0x106))/0x3*(-parseInt(_0x40714c(0x11d))/0x4)+parseInt(_0x40714c(0x14c))/0x5*(-parseInt(_0x40714c(0x139))/0x6)+parseInt(_0x40714c(0x15c))/0x7+parseInt(_0x40714c(0x10d))/0x8+parseInt(_0x40714c(0x150))/0x9*(parseInt(_0x40714c(0xff))/0xa)+parseInt(_0x40714c(0xeb))/0xb;if(_0xf50b01===_0x133bee)break;else _0x4382e0['push'](_0x4382e0['shift']());}catch(_0x476345){_0x4382e0['push'](_0x4382e0['shift']());}}}(a105_0xb9c5,0xded37));function a105_0x14a3(_0x157476,_0x2b81b4){const _0xb9c5d6=a105_0xb9c5();return a105_0x14a3=function(_0x14a3b8,_0x123024){_0x14a3b8=_0x14a3b8-0xdb;let _0x38d437=_0xb9c5d6[_0x14a3b8];return _0x38d437;},a105_0x14a3(_0x157476,_0x2b81b4);}const a105_0xa90996={};function a105_0xb9c5(){const _0x529631=['TURBOSCALE_EVENTS','BEFORE_ALL',':snapshot','SDK_AUTOMATION_FRAMEWORK_STOP','IDLE_TIMEOUT','TAKE_SCREENSHOT',':session-annotation','sdk:automationFrameworkStop','SESSION_NAME','A11Y_EVENTS','5oKutgR','sdk:o11y',':after-each',':download','8991lIxxhQ','sdk:hook','830818CpaoQX','SDK_AUTOMATE','sdk:startBinSession','sdk:cli:enqueueTestEvent','sdk:pre-test','SDK_AUTOMATION_FRAMEWORK_INIT','APP_UPLOAD','SDK_AUTOMATION_FRAMEWORK_START','SDK_O11Y','sdk:driver','4064543JuvMSk','sdk:app-automate',':print-buildlink','sdk:auto-capture','SDK_POST_INITIALIZE','GENERATE_CI_ARTIFACT','sdk:aiSelfHealGetResult','SDK_HOOK','HOOK_EVENTS','sdk:cli:logCreatedEvent','DRIVER_MANAGE','sdk:cleanup','SDK_START_BIN_SESSION','QUIT',':app-upload','SNAPSHOT','LOCAL_START',':before-all','sdk:test','sdk:accessibilityConfig','sdk:driver:pre-initialization','sdk:onStop','SDK_CLI_ON_STOP','22270600bsTkrI','sdk:cli:check-update','SESSION_ANNOTATION','sdk:percy','AFTER_ALL','sdk:cli:download',':before','sdk:turboscale','SDK_CLI_CHECK_UPDATE','SDK_APP_AUTOMATE','SDK_TESTHUB','AUTOMATE_EVENTS','POST_EXECUTE',':local-stop','4VcBJeX',':session-name',':sync','sdk:setup','SDK_CLI_ON_CONNECT','SDK_CLI_DOWNLOAD','9460JyCMPO',':ci-artifacts','sdk:driverInit',':start','SDK_CLI_START',':screenshot','AUTO_CAPTURE','417gwYUlr',':save-results','SDK_PROXY_SETUP','SDK_A11Y','SDK_TURBOSCALE','PRE_EXECUTE',':get-accessibility-results','10344200oiSWxW','PERCY_EVENTS','SDK_DRIVER',':session-status','sdk:observabilityConfig','SDK_PRE_TEST',':get',':auto-capture','SESSION_STATUS','AFTER_EACH','sdk:testFrameworkEvent','SDK_DRIVER_INIT',':hub-management','SDK_TEST_SESSION_EVENT','sdk:proxy-setup','SCREENSHOT_APP','40692EvNYZc','SDK_AI_SELF_HEAL_GET_RESULT',':idle-timeout','SDK_CLI_ON_BOOTSTRAP','sdk:automationFrameworkStart','SDK_TEST',':pre-execute',':screenshot-app','AFTER','PRINT_BUILDLINK',':before-each',':local-start','BEFORE_EACH','GET','PERFORM_SCAN','LOCAL_STOP','SDK_PERCY','KEEP_ALIVE','sdk:driver:post-initialization','TESTHUB_EVENTS','GET_RESULTS','DRIVER_EVENT','EVENTS','START','sdk:findNearestHub','O11y_EVENTS','APP_AUOTMATE_EVENTS','STOP','5129700lUcXck','DOWNLOAD','BEFORE','SDK_CLEANUP','sdk:a11y','sdk:cli:on-connect','GET_RESULTS_SUMMARY','sdk:aiSelfHealStep','HUB_MANAGEMENT'];a105_0xb9c5=function(){return _0x529631;};return a105_0xb9c5();}a105_0xa90996['SDK_SETUP']=a105_0x22a7e3(0xfc),a105_0xa90996[a105_0x22a7e3(0x13c)]=a105_0x22a7e3(0xdf),a105_0xa90996[a105_0x22a7e3(0x112)]=a105_0x22a7e3(0x156),a105_0xa90996[a105_0x22a7e3(0x122)]=a105_0x22a7e3(0xe6),a105_0xa90996['SDK_POST_TEST']='sdk:post-test',a105_0xa90996[a105_0x22a7e3(0xdb)]=a105_0x22a7e3(0x151),a105_0xa90996[a105_0x22a7e3(0x10f)]=a105_0x22a7e3(0x15b),a105_0xa90996[a105_0x22a7e3(0x109)]=a105_0x22a7e3(0x13d),a105_0xa90996[a105_0x22a7e3(0x15a)]=a105_0x22a7e3(0x14d),a105_0xa90996['SDK_AUTO_CAPTURE']=a105_0x22a7e3(0x15f),a105_0xa90996[a105_0x22a7e3(0x108)]=a105_0x22a7e3(0x11b),a105_0xa90996[a105_0x22a7e3(0xf5)]='sdk:testhub',a105_0xa90996[a105_0x22a7e3(0x153)]='sdk:automate',a105_0xa90996[a105_0x22a7e3(0xf4)]=a105_0x22a7e3(0x15d),a105_0xa90996[a105_0x22a7e3(0x10a)]=a105_0x22a7e3(0xf2),a105_0xa90996['SDK_PERCY']=a105_0x22a7e3(0xee),a105_0xa90996['SDK_PRE_INITIALIZE']=a105_0x22a7e3(0xe8),a105_0xa90996[a105_0x22a7e3(0x160)]=a105_0x22a7e3(0x12f),a105_0xa90996[a105_0x22a7e3(0x103)]='sdk:cli:start',a105_0xa90996[a105_0x22a7e3(0xfe)]=a105_0x22a7e3(0xf0),a105_0xa90996[a105_0x22a7e3(0xf3)]=a105_0x22a7e3(0xec),a105_0xa90996[a105_0x22a7e3(0x120)]='sdk:cli:on-bootstrap',a105_0xa90996[a105_0x22a7e3(0xfd)]=a105_0x22a7e3(0x13e),a105_0xa90996[a105_0x22a7e3(0xea)]='sdk:cli:on-stop',a105_0xa90996[a105_0x22a7e3(0xe0)]=a105_0x22a7e3(0x154),a105_0xa90996['SDK_CONNECT_BIN_SESSION']='sdk:connectBinSession',a105_0xa90996[a105_0x22a7e3(0x118)]=a105_0x22a7e3(0x101),a105_0xa90996['SDK_FIND_NEAREST_HUB']=a105_0x22a7e3(0x135),a105_0xa90996[a105_0x22a7e3(0x157)]='sdk:automationFrameworkInit',a105_0xa90996[a105_0x22a7e3(0x159)]=a105_0x22a7e3(0x121),a105_0xa90996['SDK_ACCESSIBILITY_CONFIG']=a105_0x22a7e3(0xe7),a105_0xa90996['SDK_OBSERVABILITY_CONFIG']=a105_0x22a7e3(0x111),a105_0xa90996['SDK_AI_SELF_HEAL_STEP']=a105_0x22a7e3(0x140),a105_0xa90996[a105_0x22a7e3(0x11e)]=a105_0x22a7e3(0x162),a105_0xa90996['SDK_TEST_FRAMEWORK_EVENT']=a105_0x22a7e3(0x117),a105_0xa90996[a105_0x22a7e3(0x11a)]='sdk:testSessionEvent',a105_0xa90996['SDK_CLI_LOG_CREATED_EVENT']=a105_0x22a7e3(0xdd),a105_0xa90996['SDK_CLI_ENQUEUE_TEST_EVENT']=a105_0x22a7e3(0x155),a105_0xa90996[a105_0x22a7e3(0x145)]=a105_0x22a7e3(0x149),a105_0xa90996['SDK_ON_STOP']=a105_0x22a7e3(0xe9);const SDK_EVENTS=a105_0xa90996,a105_0x16828b={};a105_0x16828b[a105_0x22a7e3(0x133)]=SDK_EVENTS,a105_0x16828b[a105_0x22a7e3(0x130)]={},a105_0x16828b[a105_0x22a7e3(0xf6)]={},a105_0x16828b[a105_0x22a7e3(0x14b)]={},a105_0x16828b[a105_0x22a7e3(0x10e)]={},a105_0x16828b[a105_0x22a7e3(0x136)]={},a105_0x16828b[a105_0x22a7e3(0xdc)]={},a105_0x16828b[a105_0x22a7e3(0x142)]={},a105_0x16828b[a105_0x22a7e3(0x137)]={},a105_0x16828b[a105_0x22a7e3(0x132)]={},a105_0x16828b[a105_0x22a7e3(0x130)][a105_0x22a7e3(0x134)]=SDK_EVENTS[a105_0x22a7e3(0xf5)]+a105_0x22a7e3(0x102),a105_0x16828b[a105_0x22a7e3(0x130)][a105_0x22a7e3(0x138)]=SDK_EVENTS[a105_0x22a7e3(0xf5)]+':stop',a105_0x16828b[a105_0x22a7e3(0xf6)][a105_0x22a7e3(0x12e)]=SDK_EVENTS['SDK_AUTOMATE']+':keep-alive',a105_0x16828b[a105_0x22a7e3(0xf6)][a105_0x22a7e3(0x141)]=SDK_EVENTS[a105_0x22a7e3(0x153)]+a105_0x22a7e3(0x119),a105_0x16828b[a105_0x22a7e3(0xf6)][a105_0x22a7e3(0xe4)]=SDK_EVENTS[a105_0x22a7e3(0x153)]+a105_0x22a7e3(0x128),a105_0x16828b[a105_0x22a7e3(0xf6)][a105_0x22a7e3(0x12c)]=SDK_EVENTS[a105_0x22a7e3(0x153)]+a105_0x22a7e3(0xf8),a105_0x16828b[a105_0x22a7e3(0xf6)][a105_0x22a7e3(0xde)]=SDK_EVENTS[a105_0x22a7e3(0x153)]+':driver-manage',a105_0x16828b[a105_0x22a7e3(0xf6)][a105_0x22a7e3(0x14a)]=SDK_EVENTS[a105_0x22a7e3(0x153)]+a105_0x22a7e3(0xfa),a105_0x16828b[a105_0x22a7e3(0xf6)][a105_0x22a7e3(0x115)]=SDK_EVENTS[a105_0x22a7e3(0x153)]+a105_0x22a7e3(0x110),a105_0x16828b[a105_0x22a7e3(0xf6)][a105_0x22a7e3(0xed)]=SDK_EVENTS[a105_0x22a7e3(0x153)]+a105_0x22a7e3(0x148),a105_0x16828b[a105_0x22a7e3(0xf6)][a105_0x22a7e3(0x146)]=SDK_EVENTS[a105_0x22a7e3(0x153)]+a105_0x22a7e3(0x11f),a105_0x16828b[a105_0x22a7e3(0xf6)][a105_0x22a7e3(0x161)]=SDK_EVENTS['SDK_AUTOMATE']+a105_0x22a7e3(0x100),a105_0x16828b[a105_0x22a7e3(0xf6)]['PRINT_BUILDLINK']=SDK_EVENTS[a105_0x22a7e3(0x153)]+':print-buildlink',a105_0x16828b[a105_0x22a7e3(0x14b)][a105_0x22a7e3(0x12b)]=SDK_EVENTS[a105_0x22a7e3(0x109)]+':driver-performscan',a105_0x16828b[a105_0x22a7e3(0x14b)]['SAVE_RESULTS']=SDK_EVENTS['SDK_A11Y']+a105_0x22a7e3(0x107),a105_0x16828b[a105_0x22a7e3(0x14b)][a105_0x22a7e3(0x131)]=SDK_EVENTS['SDK_A11Y']+a105_0x22a7e3(0x10c),a105_0x16828b[a105_0x22a7e3(0x14b)][a105_0x22a7e3(0x13f)]=SDK_EVENTS[a105_0x22a7e3(0x109)]+':get-accessibility-results-summary',a105_0x16828b[a105_0x22a7e3(0x10e)][a105_0x22a7e3(0x13a)]=SDK_EVENTS[a105_0x22a7e3(0x12d)]+a105_0x22a7e3(0x14f),a105_0x16828b[a105_0x22a7e3(0x10e)]['SCREENSHOT']=SDK_EVENTS[a105_0x22a7e3(0x12d)]+a105_0x22a7e3(0x104),a105_0x16828b[a105_0x22a7e3(0x10e)][a105_0x22a7e3(0x134)]=SDK_EVENTS[a105_0x22a7e3(0x12d)]+':start',a105_0x16828b[a105_0x22a7e3(0x10e)][a105_0x22a7e3(0x138)]=SDK_EVENTS[a105_0x22a7e3(0x12d)]+':stop',a105_0x16828b[a105_0x22a7e3(0x10e)][a105_0x22a7e3(0x105)]=SDK_EVENTS[a105_0x22a7e3(0x12d)]+a105_0x22a7e3(0x114),a105_0x16828b[a105_0x22a7e3(0x10e)][a105_0x22a7e3(0xe3)]=SDK_EVENTS[a105_0x22a7e3(0x12d)]+a105_0x22a7e3(0x144),a105_0x16828b[a105_0x22a7e3(0x10e)][a105_0x22a7e3(0x11c)]=SDK_EVENTS[a105_0x22a7e3(0x12d)]+a105_0x22a7e3(0x124),a105_0x16828b[a105_0x22a7e3(0x136)]['SYNC']=SDK_EVENTS[a105_0x22a7e3(0x15a)]+a105_0x22a7e3(0xfb),a105_0x16828b[a105_0x22a7e3(0x136)][a105_0x22a7e3(0x147)]=SDK_EVENTS['SDK_O11Y']+':driver-takeScreenShot',a105_0x16828b[a105_0x22a7e3(0x136)][a105_0x22a7e3(0x126)]=SDK_EVENTS['SDK_O11Y']+a105_0x22a7e3(0x15e),a105_0x16828b[a105_0x22a7e3(0xdc)][a105_0x22a7e3(0x129)]=SDK_EVENTS[a105_0x22a7e3(0xdb)]+a105_0x22a7e3(0x127),a105_0x16828b[a105_0x22a7e3(0xdc)][a105_0x22a7e3(0x116)]=SDK_EVENTS[a105_0x22a7e3(0xdb)]+a105_0x22a7e3(0x14e),a105_0x16828b[a105_0x22a7e3(0xdc)][a105_0x22a7e3(0xef)]=SDK_EVENTS[a105_0x22a7e3(0xdb)]+':after-all',a105_0x16828b[a105_0x22a7e3(0xdc)][a105_0x22a7e3(0x143)]=SDK_EVENTS[a105_0x22a7e3(0xdb)]+a105_0x22a7e3(0xe5),a105_0x16828b[a105_0x22a7e3(0xdc)][a105_0x22a7e3(0x13b)]=SDK_EVENTS[a105_0x22a7e3(0xdb)]+a105_0x22a7e3(0xf1),a105_0x16828b[a105_0x22a7e3(0xdc)][a105_0x22a7e3(0x125)]=SDK_EVENTS[a105_0x22a7e3(0xdb)]+':after',a105_0x16828b[a105_0x22a7e3(0x142)]['HUB_MANAGEMENT']=SDK_EVENTS[a105_0x22a7e3(0x10a)]+a105_0x22a7e3(0x119),a105_0x16828b[a105_0x22a7e3(0x142)][a105_0x22a7e3(0x126)]=SDK_EVENTS[a105_0x22a7e3(0x10a)]+a105_0x22a7e3(0x15e),a105_0x16828b[a105_0x22a7e3(0x137)][a105_0x22a7e3(0x158)]=SDK_EVENTS[a105_0x22a7e3(0xf4)]+a105_0x22a7e3(0xe2),a105_0x16828b[a105_0x22a7e3(0x132)][a105_0x22a7e3(0xe1)]=SDK_EVENTS[a105_0x22a7e3(0x10f)]+':quit',a105_0x16828b[a105_0x22a7e3(0x132)][a105_0x22a7e3(0x12a)]=SDK_EVENTS[a105_0x22a7e3(0x10f)]+a105_0x22a7e3(0x113),a105_0x16828b[a105_0x22a7e3(0x132)][a105_0x22a7e3(0x10b)]=SDK_EVENTS[a105_0x22a7e3(0x10f)]+a105_0x22a7e3(0x123),a105_0x16828b[a105_0x22a7e3(0x132)][a105_0x22a7e3(0xf7)]=SDK_EVENTS[a105_0x22a7e3(0x10f)]+':post-execute',module['exports']=a105_0x16828b;
|
|
1
|
+
const a106_0xe8c675=a106_0x311f;function a106_0x311f(_0x4a66ba,_0x3f192a){const _0xd672bf=a106_0xd672();return a106_0x311f=function(_0x311f0b,_0x3d2049){_0x311f0b=_0x311f0b-0x157;let _0x141954=_0xd672bf[_0x311f0b];return _0x141954;},a106_0x311f(_0x4a66ba,_0x3f192a);}(function(_0x14d1e6,_0xf410be){const _0x4f1c89=a106_0x311f,_0x29563e=_0x14d1e6();while(!![]){try{const _0x3da301=-parseInt(_0x4f1c89(0x1db))/0x1*(parseInt(_0x4f1c89(0x1cf))/0x2)+-parseInt(_0x4f1c89(0x1b8))/0x3+parseInt(_0x4f1c89(0x183))/0x4+parseInt(_0x4f1c89(0x167))/0x5*(parseInt(_0x4f1c89(0x199))/0x6)+-parseInt(_0x4f1c89(0x15f))/0x7+parseInt(_0x4f1c89(0x18b))/0x8*(-parseInt(_0x4f1c89(0x165))/0x9)+parseInt(_0x4f1c89(0x1b2))/0xa*(parseInt(_0x4f1c89(0x1d3))/0xb);if(_0x3da301===_0xf410be)break;else _0x29563e['push'](_0x29563e['shift']());}catch(_0x2f1ab1){_0x29563e['push'](_0x29563e['shift']());}}}(a106_0xd672,0xe88b9));const a106_0x596f67={};a106_0x596f67['SDK_SETUP']=a106_0xe8c675(0x1ae),a106_0x596f67[a106_0xe8c675(0x1ce)]=a106_0xe8c675(0x1dd),a106_0x596f67[a106_0xe8c675(0x178)]=a106_0xe8c675(0x18f),a106_0x596f67[a106_0xe8c675(0x168)]=a106_0xe8c675(0x1bb),a106_0x596f67[a106_0xe8c675(0x18d)]=a106_0xe8c675(0x163),a106_0x596f67[a106_0xe8c675(0x19e)]='sdk:hook',a106_0x596f67[a106_0xe8c675(0x185)]='sdk:driver',a106_0x596f67['SDK_A11Y']='sdk:a11y',a106_0x596f67[a106_0xe8c675(0x1d9)]=a106_0xe8c675(0x1cc),a106_0x596f67['SDK_AUTO_CAPTURE']=a106_0xe8c675(0x15d),a106_0x596f67[a106_0xe8c675(0x159)]=a106_0xe8c675(0x1d4),a106_0x596f67[a106_0xe8c675(0x1b4)]=a106_0xe8c675(0x197),a106_0x596f67[a106_0xe8c675(0x1a4)]='sdk:automate',a106_0x596f67[a106_0xe8c675(0x181)]='sdk:app-automate',a106_0x596f67['SDK_TURBOSCALE']=a106_0xe8c675(0x1a6),a106_0x596f67[a106_0xe8c675(0x1a5)]='sdk:percy',a106_0x596f67[a106_0xe8c675(0x16f)]=a106_0xe8c675(0x189),a106_0x596f67['SDK_POST_INITIALIZE']=a106_0xe8c675(0x18a),a106_0x596f67[a106_0xe8c675(0x16d)]=a106_0xe8c675(0x1a9),a106_0x596f67[a106_0xe8c675(0x1be)]=a106_0xe8c675(0x1b3),a106_0x596f67['SDK_CLI_CHECK_UPDATE']='sdk:cli:check-update',a106_0x596f67[a106_0xe8c675(0x186)]=a106_0xe8c675(0x16c),a106_0x596f67[a106_0xe8c675(0x1d6)]='sdk:cli:on-connect',a106_0x596f67[a106_0xe8c675(0x1bd)]=a106_0xe8c675(0x170),a106_0x596f67[a106_0xe8c675(0x17b)]='sdk:startBinSession',a106_0x596f67['SDK_CONNECT_BIN_SESSION']='sdk:connectBinSession',a106_0x596f67[a106_0xe8c675(0x182)]=a106_0xe8c675(0x15c),a106_0x596f67[a106_0xe8c675(0x1c0)]=a106_0xe8c675(0x1ab),a106_0x596f67[a106_0xe8c675(0x1a2)]='sdk:automationFrameworkInit',a106_0x596f67[a106_0xe8c675(0x1dc)]=a106_0xe8c675(0x1c5),a106_0x596f67[a106_0xe8c675(0x179)]=a106_0xe8c675(0x1da),a106_0x596f67[a106_0xe8c675(0x19f)]='sdk:observabilityConfig',a106_0x596f67[a106_0xe8c675(0x1a1)]=a106_0xe8c675(0x169),a106_0x596f67[a106_0xe8c675(0x1a8)]='sdk:aiSelfHealGetResult',a106_0x596f67['SDK_TEST_FRAMEWORK_EVENT']=a106_0xe8c675(0x191),a106_0x596f67[a106_0xe8c675(0x1aa)]=a106_0xe8c675(0x16e),a106_0x596f67['SDK_CLI_LOG_CREATED_EVENT']=a106_0xe8c675(0x184),a106_0x596f67[a106_0xe8c675(0x1c9)]=a106_0xe8c675(0x18c),a106_0x596f67[a106_0xe8c675(0x175)]=a106_0xe8c675(0x1d7),a106_0x596f67[a106_0xe8c675(0x15e)]=a106_0xe8c675(0x198);function a106_0xd672(){const _0x4c5e46=['SESSION_NAME',':get-accessibility-results-summary','PRE_EXECUTE','SDK_APP_AUTOMATE','SDK_DRIVER_INIT','4058112JmBQLh','sdk:cli:logCreatedEvent','SDK_DRIVER','SDK_CLI_ON_BOOTSTRAP','AFTER_ALL','AFTER','sdk:driver:pre-initialization','sdk:driver:post-initialization','16lBEzoz','sdk:cli:enqueueTestEvent','SDK_POST_TEST',':download','sdk:pre-test','AUTO_CAPTURE','sdk:testFrameworkEvent','DRIVER_EVENT','PERCY_EVENTS',':keep-alive','DRIVER_MANAGE','PRINT_BUILDLINK','sdk:testhub','sdk:onStop','627138piJbHC','SESSION_STATUS',':after-all','APP_UPLOAD','KEEP_ALIVE','SDK_HOOK','SDK_OBSERVABILITY_CONFIG',':get-accessibility-results','SDK_AI_SELF_HEAL_STEP','SDK_AUTOMATION_FRAMEWORK_INIT','HOOK_EVENTS','SDK_AUTOMATE','SDK_PERCY','sdk:turboscale','GENERATE_CI_ARTIFACT','SDK_AI_SELF_HEAL_GET_RESULT','sdk:cli:start','SDK_TEST_SESSION_EVENT','sdk:findNearestHub',':before-all','LOCAL_STOP','sdk:setup',':after','SDK_TURBOSCALE','SYNC','51360NvKwmS','sdk:cli:download','SDK_TESTHUB','HUB_MANAGEMENT','AFTER_EACH','POST_EXECUTE','3332058iANbeV',':session-annotation',':pre-execute','sdk:test','QUIT','SDK_CLI_ON_STOP','SDK_CLI_DOWNLOAD',':screenshot','SDK_FIND_NEAREST_HUB',':hub-management','AUTOMATE_EVENTS','PERFORM_SCAN','SCREENSHOT_APP','sdk:automationFrameworkStart','SAVE_RESULTS','SCREENSHOT','GET_RESULTS','SDK_CLI_ENQUEUE_TEST_EVENT','O11y_EVENTS','START','sdk:o11y','A11Y_EVENTS','SDK_CLEANUP','166IEvbZh',':get',':save-results',':snapshot','8349JzuBzS','sdk:proxy-setup',':local-stop','SDK_CLI_ON_CONNECT','sdk:automationFrameworkStop','SESSION_ANNOTATION','SDK_O11Y','sdk:accessibilityConfig','4195dEFXMQ','SDK_AUTOMATION_FRAMEWORK_START','sdk:cleanup','SDK_A11Y',':stop',':print-buildlink','SDK_PROXY_SETUP','APP_AUOTMATE_EVENTS',':idle-timeout','sdk:driverInit','sdk:auto-capture','SDK_ON_STOP','12961354JCmYlW','STOP','DOWNLOAD','TESTHUB_EVENTS','sdk:post-test',':screenshot-app','8568135HSPTWN',':start','60GuJArH','SDK_TEST','sdk:aiSelfHealStep','GET_RESULTS_SUMMARY','GET','sdk:cli:on-bootstrap','SDK_CLI_START','sdk:testSessionEvent','SDK_PRE_INITIALIZE','sdk:cli:on-stop',':before',':after-each','IDLE_TIMEOUT',':driver-takeScreenShot','SDK_AUTOMATION_FRAMEWORK_STOP',':local-start',':driver-manage','SDK_PRE_TEST','SDK_ACCESSIBILITY_CONFIG',':auto-capture','SDK_START_BIN_SESSION','TURBOSCALE_EVENTS','EVENTS'];a106_0xd672=function(){return _0x4c5e46;};return a106_0xd672();}const SDK_EVENTS=a106_0x596f67,a106_0xb11b6b={};a106_0xb11b6b[a106_0xe8c675(0x17d)]=SDK_EVENTS,a106_0xb11b6b[a106_0xe8c675(0x162)]={},a106_0xb11b6b[a106_0xe8c675(0x1c2)]={},a106_0xb11b6b[a106_0xe8c675(0x1cd)]={},a106_0xb11b6b[a106_0xe8c675(0x193)]={},a106_0xb11b6b[a106_0xe8c675(0x1ca)]={},a106_0xb11b6b[a106_0xe8c675(0x1a3)]={},a106_0xb11b6b[a106_0xe8c675(0x17c)]={},a106_0xb11b6b[a106_0xe8c675(0x15a)]={},a106_0xb11b6b[a106_0xe8c675(0x192)]={},a106_0xb11b6b[a106_0xe8c675(0x162)][a106_0xe8c675(0x1cb)]=SDK_EVENTS['SDK_TESTHUB']+a106_0xe8c675(0x166),a106_0xb11b6b[a106_0xe8c675(0x162)][a106_0xe8c675(0x160)]=SDK_EVENTS['SDK_TESTHUB']+':stop',a106_0xb11b6b[a106_0xe8c675(0x1c2)][a106_0xe8c675(0x19d)]=SDK_EVENTS[a106_0xe8c675(0x1a4)]+a106_0xe8c675(0x194),a106_0xb11b6b[a106_0xe8c675(0x1c2)]['HUB_MANAGEMENT']=SDK_EVENTS[a106_0xe8c675(0x1a4)]+a106_0xe8c675(0x1c1),a106_0xb11b6b[a106_0xe8c675(0x1c2)]['LOCAL_START']=SDK_EVENTS[a106_0xe8c675(0x1a4)]+a106_0xe8c675(0x176),a106_0xb11b6b[a106_0xe8c675(0x1c2)][a106_0xe8c675(0x1ad)]=SDK_EVENTS['SDK_AUTOMATE']+a106_0xe8c675(0x1d5),a106_0xb11b6b[a106_0xe8c675(0x1c2)][a106_0xe8c675(0x195)]=SDK_EVENTS[a106_0xe8c675(0x1a4)]+a106_0xe8c675(0x177),a106_0xb11b6b[a106_0xe8c675(0x1c2)][a106_0xe8c675(0x17e)]=SDK_EVENTS[a106_0xe8c675(0x1a4)]+':session-name',a106_0xb11b6b[a106_0xe8c675(0x1c2)][a106_0xe8c675(0x19a)]=SDK_EVENTS[a106_0xe8c675(0x1a4)]+':session-status',a106_0xb11b6b[a106_0xe8c675(0x1c2)][a106_0xe8c675(0x1d8)]=SDK_EVENTS[a106_0xe8c675(0x1a4)]+a106_0xe8c675(0x1b9),a106_0xb11b6b[a106_0xe8c675(0x1c2)][a106_0xe8c675(0x173)]=SDK_EVENTS[a106_0xe8c675(0x1a4)]+a106_0xe8c675(0x15b),a106_0xb11b6b[a106_0xe8c675(0x1c2)][a106_0xe8c675(0x1a7)]=SDK_EVENTS[a106_0xe8c675(0x1a4)]+':ci-artifacts',a106_0xb11b6b[a106_0xe8c675(0x1c2)][a106_0xe8c675(0x196)]=SDK_EVENTS[a106_0xe8c675(0x1a4)]+':print-buildlink',a106_0xb11b6b[a106_0xe8c675(0x1cd)][a106_0xe8c675(0x1c3)]=SDK_EVENTS['SDK_A11Y']+':driver-performscan',a106_0xb11b6b[a106_0xe8c675(0x1cd)][a106_0xe8c675(0x1c6)]=SDK_EVENTS[a106_0xe8c675(0x1de)]+a106_0xe8c675(0x1d1),a106_0xb11b6b[a106_0xe8c675(0x1cd)][a106_0xe8c675(0x1c8)]=SDK_EVENTS['SDK_A11Y']+a106_0xe8c675(0x1a0),a106_0xb11b6b[a106_0xe8c675(0x1cd)][a106_0xe8c675(0x16a)]=SDK_EVENTS[a106_0xe8c675(0x1de)]+a106_0xe8c675(0x17f),a106_0xb11b6b[a106_0xe8c675(0x193)][a106_0xe8c675(0x161)]=SDK_EVENTS[a106_0xe8c675(0x1a5)]+a106_0xe8c675(0x18e),a106_0xb11b6b[a106_0xe8c675(0x193)][a106_0xe8c675(0x1c7)]=SDK_EVENTS[a106_0xe8c675(0x1a5)]+a106_0xe8c675(0x1bf),a106_0xb11b6b[a106_0xe8c675(0x193)][a106_0xe8c675(0x1cb)]=SDK_EVENTS[a106_0xe8c675(0x1a5)]+':start',a106_0xb11b6b[a106_0xe8c675(0x193)][a106_0xe8c675(0x160)]=SDK_EVENTS['SDK_PERCY']+a106_0xe8c675(0x157),a106_0xb11b6b[a106_0xe8c675(0x193)][a106_0xe8c675(0x190)]=SDK_EVENTS[a106_0xe8c675(0x1a5)]+a106_0xe8c675(0x17a),a106_0xb11b6b[a106_0xe8c675(0x193)]['SNAPSHOT']=SDK_EVENTS['SDK_PERCY']+a106_0xe8c675(0x1d2),a106_0xb11b6b[a106_0xe8c675(0x193)][a106_0xe8c675(0x1c4)]=SDK_EVENTS[a106_0xe8c675(0x1a5)]+a106_0xe8c675(0x164),a106_0xb11b6b[a106_0xe8c675(0x1ca)][a106_0xe8c675(0x1b1)]=SDK_EVENTS[a106_0xe8c675(0x1d9)]+':sync',a106_0xb11b6b[a106_0xe8c675(0x1ca)]['TAKE_SCREENSHOT']=SDK_EVENTS[a106_0xe8c675(0x1d9)]+a106_0xe8c675(0x174),a106_0xb11b6b[a106_0xe8c675(0x1ca)]['PRINT_BUILDLINK']=SDK_EVENTS[a106_0xe8c675(0x1d9)]+a106_0xe8c675(0x158),a106_0xb11b6b[a106_0xe8c675(0x1a3)]['BEFORE_EACH']=SDK_EVENTS['SDK_HOOK']+':before-each',a106_0xb11b6b[a106_0xe8c675(0x1a3)][a106_0xe8c675(0x1b6)]=SDK_EVENTS['SDK_HOOK']+a106_0xe8c675(0x172),a106_0xb11b6b[a106_0xe8c675(0x1a3)][a106_0xe8c675(0x187)]=SDK_EVENTS[a106_0xe8c675(0x19e)]+a106_0xe8c675(0x19b),a106_0xb11b6b[a106_0xe8c675(0x1a3)]['BEFORE_ALL']=SDK_EVENTS[a106_0xe8c675(0x19e)]+a106_0xe8c675(0x1ac),a106_0xb11b6b[a106_0xe8c675(0x1a3)]['BEFORE']=SDK_EVENTS[a106_0xe8c675(0x19e)]+a106_0xe8c675(0x171),a106_0xb11b6b[a106_0xe8c675(0x1a3)][a106_0xe8c675(0x188)]=SDK_EVENTS[a106_0xe8c675(0x19e)]+a106_0xe8c675(0x1af),a106_0xb11b6b[a106_0xe8c675(0x17c)][a106_0xe8c675(0x1b5)]=SDK_EVENTS[a106_0xe8c675(0x1b0)]+a106_0xe8c675(0x1c1),a106_0xb11b6b[a106_0xe8c675(0x17c)][a106_0xe8c675(0x196)]=SDK_EVENTS[a106_0xe8c675(0x1b0)]+a106_0xe8c675(0x158),a106_0xb11b6b[a106_0xe8c675(0x15a)][a106_0xe8c675(0x19c)]=SDK_EVENTS['SDK_APP_AUTOMATE']+':app-upload',a106_0xb11b6b[a106_0xe8c675(0x192)][a106_0xe8c675(0x1bc)]=SDK_EVENTS['SDK_DRIVER']+':quit',a106_0xb11b6b[a106_0xe8c675(0x192)][a106_0xe8c675(0x16b)]=SDK_EVENTS[a106_0xe8c675(0x185)]+a106_0xe8c675(0x1d0),a106_0xb11b6b[a106_0xe8c675(0x192)][a106_0xe8c675(0x180)]=SDK_EVENTS[a106_0xe8c675(0x185)]+a106_0xe8c675(0x1ba),a106_0xb11b6b[a106_0xe8c675(0x192)][a106_0xe8c675(0x1b7)]=SDK_EVENTS[a106_0xe8c675(0x185)]+':post-execute',module['exports']=a106_0xb11b6b;
|