browserstack-node-sdk 1.50.7 → 1.50.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
package/src/bin/load/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a28_0x503aa6=a28_0x42dd;(function(_0x523d60,_0x47f1a6){const _0x4ee2c4=a28_0x42dd,_0x4ebc23=_0x523d60();while(!![]){try{const _0x190aea=-parseInt(_0x4ee2c4(0x1ab))/0x1+parseInt(_0x4ee2c4(0x1c9))/0x2*(parseInt(_0x4ee2c4(0x1cf))/0x3)+-parseInt(_0x4ee2c4(0x1a4))/0x4*(-parseInt(_0x4ee2c4(0x1ba))/0x5)+parseInt(_0x4ee2c4(0x1ca))/0x6*(-parseInt(_0x4ee2c4(0x1af))/0x7)+-parseInt(_0x4ee2c4(0x1c0))/0x8*(parseInt(_0x4ee2c4(0x1a3))/0x9)+-parseInt(_0x4ee2c4(0x1a7))/0xa+parseInt(_0x4ee2c4(0x1c5))/0xb;if(_0x190aea===_0x47f1a6)break;else _0x4ebc23['push'](_0x4ebc23['shift']());}catch(_0x47cb6b){_0x4ebc23['push'](_0x4ebc23['shift']());}}}(a28_0x5b2f,0x27884));const {spawn}=require(a28_0x503aa6(0x1b1)),path=require(a28_0x503aa6(0x1ac)),helper=require(a28_0x503aa6(0x1cb)),CLIUtils=require(a28_0x503aa6(0x1bc)),{getLoadConfigPath,sleep}=require(a28_0x503aa6(0x1c6)),logger=require(a28_0x503aa6(0x1b6))[a28_0x503aa6(0x1a8)];function a28_0x42dd(_0x13dcda,_0x301203){const _0x5b2fd6=a28_0x5b2f();return a28_0x42dd=function(_0x42dd44,_0x27e616){_0x42dd44=_0x42dd44-0x18e;let _0x296906=_0x5b2fd6[_0x42dd44];return _0x296906;},a28_0x42dd(_0x13dcda,_0x301203);}function a28_0x5b2f(){const _0x16547a=['BROWSERSTACK_USERNAME','Spawning:\x20','getCliDir','OGuWp','4623179wBuLsD','./loadUtils','lUOIg','inherit','2KAOHjO','1590mXXJXr','../../helpers/helper','KQvnc','SIGTERM','aeAVF','727932olJNqu','CLI\x20binary\x20not\x20found,\x20downloading\x20latest\x20version','Failed\x20to\x20determine\x20CLI\x20directory','GLLzG','DFkqn','debug','SIGHUP','Configuration\x20path:\x20','getExistingCliPath','asyvD','Failed\x20initiating\x20load\x20test:\x20','QrWpV','stringify','readConfig','IWUkm','exit','checkAndUpdateCli','Waiting\x20for\x20child\x20process\x20to\x20exit...','mxGqn','FjtFk','Error\x20Details:\x20','join','\x20load\x20','MIRJY','userName','killed','BROWSERSTACK_ACCESSKEY','forEach','eBgsJ','LrYdj','CLI\x20binary\x20found,\x20Checking\x20for\x20CLI\x20updates','vNRQn',',\x20forwarding\x20to\x20child\x20process...','Loading\x20configuration\x20using\x20environment\x20variables\x20if\x20available.','9uDkCbO','4CrVFCP','Error\x20loading\x20configuration:\x20','Received\x20','1553600fwTaLE','winstonLogger','Error\x20details:\x20','slice','126442PPdbdj','path','env','hWuvC','7147AkVymZ','message','child_process','pZLuY','Executing\x20load\x20test\x20with\x20arguments:\x20','BROWSERSTACK_ACCESS_KEY','accessKey','../../helpers/logger','JjwSd','error','argv','1184875vVCIdJ','CCGDI','../v2/cliUtils','close','sbXcA','Authentication\x20incomplete.\x20Please\x20add\x20your\x20userName\x20and\x20accessKey\x20to\x20either\x20the\x20browserstack.yml\x20file\x20or\x20as\x20environment\x20variables,\x20then\x20try\x20running\x20the\x20command\x20again.','1484936bsPBEb'];a28_0x5b2f=function(){return _0x16547a;};return a28_0x5b2f();}async function executeLoadTest(_0x127945){const _0x2801ba=a28_0x503aa6,_0x2eb49a={'sbXcA':function(_0x367668,_0x2747d0){return _0x367668(_0x2747d0);},'pZLuY':_0x2801ba(0x1bd),'QrWpV':_0x2801ba(0x192),'IWUkm':_0x2801ba(0x1a2),'FjtFk':function(_0x348068,_0x5d65f3){return _0x348068(_0x5d65f3);},'aeAVF':function(_0x2ba6a4){return _0x2ba6a4();},'MIRJY':_0x2801ba(0x1bf),'LrYdj':_0x2801ba(0x1d1),'hWuvC':function(_0x2f876b){return _0x2f876b();},'lUOIg':_0x2801ba(0x1d0),'DFkqn':_0x2801ba(0x19f),'mxGqn':'Failed\x20to\x20download\x20or\x20locate\x20CLI\x20binary','CCGDI':function(_0x4ec37d){return _0x4ec37d();},'asyvD':function(_0x349146,_0x42a4bb,_0x53e8a6,_0x107644){return _0x349146(_0x42a4bb,_0x53e8a6,_0x107644);},'OGuWp':'load','JjwSd':_0x2801ba(0x1c8),'eBgsJ':'SIGINT','GLLzG':_0x2801ba(0x1cd),'KQvnc':'SIGQUIT','vNRQn':_0x2801ba(0x1d5)};try{const _0x196d72=process[_0x2801ba(0x1b9)][_0x2801ba(0x1aa)](0x2),_0x51184c=_0x196d72[_0x2801ba(0x1aa)](0x1);logger[_0x2801ba(0x1d4)](_0x2801ba(0x1b3)+_0x51184c);let _0x2488a6={};try{logger['debug'](_0x2eb49a[_0x2801ba(0x18f)]);const _0x2b536a={};_0x2b536a[_0x2801ba(0x199)]=process[_0x2801ba(0x1ad)][_0x2801ba(0x1c1)]||process['env']['BROWSERSTACK_USER'],_0x2b536a[_0x2801ba(0x1b5)]=process[_0x2801ba(0x1ad)][_0x2801ba(0x1b4)]||process[_0x2801ba(0x1ad)][_0x2801ba(0x19b)],_0x2488a6=_0x2b536a;if(!_0x2488a6[_0x2801ba(0x199)]||!_0x2488a6[_0x2801ba(0x1b5)]){const _0x49398f=_0x2eb49a[_0x2801ba(0x194)](getLoadConfigPath,_0x127945[_0x2801ba(0x1b9)]);logger[_0x2801ba(0x1d4)](_0x2801ba(0x1d6)+_0x49398f),_0x49398f&&(_0x2488a6=helper[_0x2801ba(0x18e)](_0x49398f));}}catch(_0x479194){logger[_0x2801ba(0x1b8)](_0x2801ba(0x1a5)+_0x479194[_0x2801ba(0x1b0)]),logger[_0x2801ba(0x1d4)](_0x2801ba(0x1a9)+(_0x479194['stack']||JSON[_0x2801ba(0x1db)](_0x479194))),await _0x2eb49a['aeAVF'](sleep),process[_0x2801ba(0x190)](0x1);}(!_0x2488a6[_0x2801ba(0x199)]||!_0x2488a6[_0x2801ba(0x1b5)])&&(logger[_0x2801ba(0x1b8)](_0x2eb49a[_0x2801ba(0x198)]),await _0x2eb49a[_0x2801ba(0x1ce)](sleep),process[_0x2801ba(0x190)](0x1));const _0x49af79=CLIUtils[_0x2801ba(0x1c3)]();!_0x49af79&&(logger['error'](_0x2eb49a[_0x2801ba(0x19e)]),await _0x2eb49a[_0x2801ba(0x1ae)](sleep),process[_0x2801ba(0x190)](0x1));let _0x51e9b2=CLIUtils[_0x2801ba(0x1d7)](_0x49af79);try{!_0x51e9b2?(logger[_0x2801ba(0x1d4)](_0x2eb49a[_0x2801ba(0x1c7)]),_0x51e9b2=await CLIUtils[_0x2801ba(0x191)]('',_0x49af79,_0x2488a6)):(logger['debug'](_0x2eb49a[_0x2801ba(0x1d3)]),_0x51e9b2=await CLIUtils[_0x2801ba(0x191)](_0x51e9b2,_0x49af79,_0x2488a6));}catch(_0x4c00eb){logger[_0x2801ba(0x1b8)](_0x2eb49a[_0x2801ba(0x198)]),logger[_0x2801ba(0x1d4)](_0x2801ba(0x195)+(_0x4c00eb['stack']||JSON[_0x2801ba(0x1db)](_0x4c00eb))),await _0x2eb49a[_0x2801ba(0x1ae)](sleep),process[_0x2801ba(0x190)](0x1);}!_0x51e9b2&&(logger[_0x2801ba(0x1b8)](_0x2eb49a[_0x2801ba(0x198)]),logger[_0x2801ba(0x1d4)](_0x2eb49a[_0x2801ba(0x193)]),await _0x2eb49a[_0x2801ba(0x1bb)](sleep),process[_0x2801ba(0x190)](0x1));logger[_0x2801ba(0x1d4)](_0x2801ba(0x1c2)+_0x51e9b2+_0x2801ba(0x197)+_0x51184c[_0x2801ba(0x196)]('\x20'));const _0x3c2f8c=_0x2eb49a[_0x2801ba(0x1d8)](spawn,_0x51e9b2,[_0x2eb49a[_0x2801ba(0x1c4)],..._0x51184c],{'stdio':_0x2eb49a[_0x2801ba(0x1b7)]});let _0x54d947=![];const _0xd01d47=new Promise(_0x45d706=>{const _0x2ecb17=_0x2801ba;_0x3c2f8c['on'](_0x2eb49a[_0x2ecb17(0x1b2)],_0x53f518=>{const _0x409bde=_0x2ecb17;logger[_0x409bde(0x1d4)](_0x51e9b2+'\x20exited\x20with\x20code\x20'+_0x53f518),_0x2eb49a[_0x409bde(0x1be)](_0x45d706,_0x53f518);});});[_0x2eb49a[_0x2801ba(0x19d)],_0x2eb49a[_0x2801ba(0x1d2)],_0x2eb49a[_0x2801ba(0x1cc)],_0x2eb49a[_0x2801ba(0x1a0)]][_0x2801ba(0x19c)](_0x52c125=>{process['on'](_0x52c125,()=>{const _0x57d374=a28_0x42dd;if(_0x54d947)return;_0x54d947=!![],logger['debug'](_0x57d374(0x1a6)+_0x52c125+_0x57d374(0x1a1)),_0x3c2f8c&&!_0x3c2f8c[_0x57d374(0x19a)]&&(_0x3c2f8c['kill'](_0x52c125),logger[_0x57d374(0x1d4)](_0x2eb49a[_0x57d374(0x1da)]));});});const _0x2a640e=await _0xd01d47;await _0x2eb49a[_0x2801ba(0x1ae)](sleep),process['exit'](_0x2a640e);}catch(_0x338787){logger[_0x2801ba(0x1b8)](_0x2801ba(0x1d9)+_0x338787[_0x2801ba(0x1b0)]),logger['debug'](_0x2801ba(0x1a9)+(_0x338787['stack']||JSON['stringify'](_0x338787))),await _0x2eb49a[_0x2801ba(0x1bb)](sleep),process['exit'](0x1);}}module['exports']=executeLoadTest;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a29_0x32a85c=a29_0x1e1f;function a29_0x1e1f(_0x4049dd,_0x361027){const _0x4e0f36=a29_0x4e0f();return a29_0x1e1f=function(_0x1e1f14,_0xc7068d){_0x1e1f14=_0x1e1f14-0xd0;let _0x1e8f68=_0x4e0f36[_0x1e1f14];return _0x1e8f68;},a29_0x1e1f(_0x4049dd,_0x361027);}(function(_0x373722,_0xb98ddf){const _0x237b57=a29_0x1e1f,_0x3a1891=_0x373722();while(!![]){try{const _0x1ada04=-parseInt(_0x237b57(0xd1))/0x1+parseInt(_0x237b57(0xd4))/0x2+-parseInt(_0x237b57(0xf6))/0x3*(parseInt(_0x237b57(0xd9))/0x4)+parseInt(_0x237b57(0xe6))/0x5+-parseInt(_0x237b57(0xf0))/0x6+-parseInt(_0x237b57(0xd7))/0x7*(-parseInt(_0x237b57(0xe7))/0x8)+parseInt(_0x237b57(0xdb))/0x9;if(_0x1ada04===_0xb98ddf)break;else _0x3a1891['push'](_0x3a1891['shift']());}catch(_0xde2d9){_0x3a1891['push'](_0x3a1891['shift']());}}}(a29_0x4e0f,0x44c32));const fs=require('fs'),path=require(a29_0x32a85c(0xed)),logger=require(a29_0x32a85c(0xe4))[a29_0x32a85c(0xf4)];function getLoadConfigPath(_0x26cc41){const _0x2ec090=a29_0x32a85c,_0x4555ba={};_0x4555ba[_0x2ec090(0xf8)]=function(_0x149317,_0x5efc86){return _0x149317===_0x5efc86;},_0x4555ba[_0x2ec090(0xde)]=_0x2ec090(0xef),_0x4555ba['nydpg']=_0x2ec090(0xf3),_0x4555ba[_0x2ec090(0xd6)]=_0x2ec090(0xdc),_0x4555ba['lPaLW']='.yml',_0x4555ba[_0x2ec090(0xe3)]=_0x2ec090(0xd5),_0x4555ba[_0x2ec090(0xe9)]=_0x2ec090(0xec),_0x4555ba['VBbAg']=_0x2ec090(0xe2),_0x4555ba['EkHgv']=_0x2ec090(0xf9),_0x4555ba['qnhgF']=_0x2ec090(0xd3),_0x4555ba[_0x2ec090(0xdd)]=_0x2ec090(0xf5);const _0x6614b9=_0x4555ba;logger['debug'](_0x2ec090(0xdf)+JSON[_0x2ec090(0xfb)](_0x26cc41));try{const _0x46ba45=_0x26cc41['_']||[],_0x25a330=_0x6614b9[_0x2ec090(0xf8)](_0x26cc41['_'][0x0],_0x6614b9[_0x2ec090(0xde)])&&_0x6614b9[_0x2ec090(0xf8)](_0x26cc41['subcommand'],_0x6614b9[_0x2ec090(0xe8)]);if(_0x25a330){if(_0x26cc41[_0x6614b9[_0x2ec090(0xd6)]]||_0x26cc41['cf']){const _0x546266=_0x26cc41[_0x6614b9[_0x2ec090(0xd6)]]||_0x26cc41['cf'],_0x8cec59=path[_0x2ec090(0xe5)](_0x546266);logger[_0x2ec090(0xd0)](_0x2ec090(0xd8)+_0x546266+_0x2ec090(0xfa)+_0x8cec59);if(_0x8cec59[_0x2ec090(0xf1)](_0x6614b9['lPaLW'])||_0x8cec59[_0x2ec090(0xf1)](_0x6614b9[_0x2ec090(0xe3)]))return logger[_0x2ec090(0xda)](_0x2ec090(0xeb)+_0x8cec59),_0x8cec59;}}const _0x4b351b=[_0x6614b9[_0x2ec090(0xe9)],_0x6614b9[_0x2ec090(0xee)],_0x6614b9[_0x2ec090(0xe0)],_0x6614b9[_0x2ec090(0xf7)]];logger['debug'](_0x6614b9[_0x2ec090(0xdd)]);for(const _0x4d1b0d of _0x4b351b){const _0x3bf266=path['join'](process['cwd'](),_0x4d1b0d);logger[_0x2ec090(0xd0)](_0x2ec090(0xfd)+_0x3bf266);if(fs[_0x2ec090(0xfc)](_0x3bf266))return logger['debug']('Found\x20config\x20file:\x20'+_0x3bf266),_0x3bf266;}}catch(_0xb25b32){logger[_0x2ec090(0xd2)]('Failed\x20to\x20load\x20browserstack\x20config:\x20'+_0xb25b32['message']);}}function sleep(){return new Promise(_0x2f05b4=>setTimeout(_0x2f05b4,0x64));}function a29_0x4e0f(){const _0x2e24f1=['../../helpers/logger','resolve','69905YUvGkH','8cNdWMw','nydpg','XHQZw','getLoadConfigPath','Using\x20specified\x20config\x20file:\x20','browserstack-load.yml','path','VBbAg','load','2173110syqdbb','endsWith','sleep','run','winstonLogger','Checking\x20for\x20config\x20in\x20default\x20config\x20files...','15LpCdEb','qnhgF','sUcDc','browserstack.yml','\x20and\x20Resolved\x20path:\x20','stringify','existsSync','Checking\x20for:\x20','debug','226910FHttsg','error','browserstack.yaml','530864ueHcGF','.yaml','zszfc','499534ufdZxX','Config\x20file\x20specified:\x20','197836JXFzTt','info','6905385awIRLu','config-file','OIRDt','rhbNO','Checking\x20for\x20config\x20file\x20with\x20arguments:\x20','EkHgv','exports','browserstack-load.yaml','TzoWj'];a29_0x4e0f=function(){return _0x2e24f1;};return a29_0x4e0f();}const a29_0xf09252={};a29_0xf09252[a29_0x32a85c(0xea)]=getLoadConfigPath,a29_0xf09252[a29_0x32a85c(0xf2)]=sleep,module[a29_0x32a85c(0xe1)]=a29_0xf09252;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a30_0x207b7c=a30_0xcc96;(function(_0x2aace8,_0x2ec61d){const _0x1cfe8e=a30_0xcc96,_0xda4131=_0x2aace8();while(!![]){try{const _0x4b5b22=parseInt(_0x1cfe8e(0xd4))/0x1+-parseInt(_0x1cfe8e(0xb5))/0x2*(parseInt(_0x1cfe8e(0xf5))/0x3)+parseInt(_0x1cfe8e(0x103))/0x4+parseInt(_0x1cfe8e(0xcf))/0x5*(-parseInt(_0x1cfe8e(0xc7))/0x6)+parseInt(_0x1cfe8e(0xe7))/0x7+-parseInt(_0x1cfe8e(0xd8))/0x8+parseInt(_0x1cfe8e(0xbb))/0x9;if(_0x4b5b22===_0x2ec61d)break;else _0xda4131['push'](_0xda4131['shift']());}catch(_0x3d9713){_0xda4131['push'](_0xda4131['shift']());}}}(a30_0x32d5,0x2e44a));function a30_0xcc96(_0x5dac51,_0x439404){const _0x32d5a8=a30_0x32d5();return a30_0xcc96=function(_0xcc96e7,_0x49f26f){_0xcc96e7=_0xcc96e7-0xab;let _0x1a0a89=_0x32d5a8[_0xcc96e7];return _0x1a0a89;},a30_0xcc96(_0x5dac51,_0x439404);}function a30_0x32d5(){const _0x3b4588=['pbwAq','keys','capabilities','Exception\x20in\x20setExtension\x20Error:\x20','EWYZc','browserstack','setExtension','Nkzgv','YYSFd','YLimM','isAccessibilityPlatform','1066544ILYZAT','deviceName','eUnnY','EIJmv','uFzzW','wjasv','fetchPlatformDetails','hXiNa','eoQuD','nestedKeyValue','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','setGlobal','2ivpeQS','authToken','chromeOptions_','NONKN','env','path','1011996DCiKZS','parse','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','browserstack.accessibilityOptions','string','Options','chrome','accessibilityOptions','yXyRa','latest','chromeOptions','bstack:options','2154018JDhsyh','some','__cloud_provider___','selenium-webdriver','JQusY','../../../helpers/globals','bMBBQ','accessibility','5SeObtO','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','BS_A11Y_JWT','GJQKh','lZlwB','221632uBUsYJ','debug','getBrowserName','TBKVQ','1366552dJXKRY','getCapabilities','toLowerCase','capability','eGNjg','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','util','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','format','getPlatformVersion','setAccessibilityCapabilities','browserstack.accessibility','tlAHB','capabilities_','winstonLogger','1971851jJdFVW','requireModule','browserVersion','EQSfe','mCgyt','startsWith','getBrowserVersion','get','--headless=','selenium-webdriver/chrome.js','args','warn','scannerVersion','length','489207ddHYaI','DoadE','isUndefined'];a30_0x32d5=function(){return _0x3b4588;};return a30_0x32d5();}const path=require(a30_0x207b7c(0xba)),os=require('os'),util=require(a30_0x207b7c(0xde)),bsSetupHelper=require('../../../helpers/helper'),globals=require(a30_0x207b7c(0xcc)),logger=require('../../../helpers/logger')[a30_0x207b7c(0xe6)];exports[a30_0x207b7c(0xe2)]=_0x1bffad=>{const _0x2ed820=a30_0x207b7c,_0x23d7c6={};_0x23d7c6[_0x2ed820(0xae)]=function(_0x366d15,_0x16e293){return _0x366d15>_0x16e293;},_0x23d7c6[_0x2ed820(0xd7)]=_0x2ed820(0xc6),_0x23d7c6['mCgyt']=_0x2ed820(0xe3),_0x23d7c6[_0x2ed820(0xb8)]=_0x2ed820(0x102),_0x23d7c6['JQusY']=_0x2ed820(0xbe);const _0x2a63c6=_0x23d7c6;try{const _0x5e4edb=_0x2a63c6[_0x2ed820(0xae)](Object[_0x2ed820(0xf9)](_0x1bffad[_0x2ed820(0xdb)])[_0x2ed820(0xf4)],0x0)?_0x1bffad[_0x2ed820(0xdb)]:_0x2a63c6[_0x2ed820(0xae)](Object['keys'](_0x1bffad['capabilities'])[_0x2ed820(0xf4)],0x0)?_0x1bffad[_0x2ed820(0xfa)][0x0]:{};if(_0x5e4edb[_0x2a63c6['TBKVQ']]&&_0x5e4edb[_0x2a63c6[_0x2ed820(0xd7)]][_0x2ed820(0xce)]||_0x1bffad[_0x2ed820(0xdb)][_0x2a63c6['mCgyt']]){globals[_0x2ed820(0xb4)](_0x2a63c6[_0x2ed820(0xb8)],!![]);if(_0x5e4edb[_0x2a63c6[_0x2ed820(0xd7)]]){if(_0x5e4edb[_0x2a63c6['TBKVQ']][_0x2ed820(0xc2)])_0x5e4edb[_0x2a63c6[_0x2ed820(0xd7)]][_0x2ed820(0xc2)][_0x2ed820(0xb6)]=process[_0x2ed820(0xb9)][_0x2ed820(0xd1)];else{const _0x2679de={};_0x2679de[_0x2ed820(0xb6)]=process['env']['BS_A11Y_JWT'],_0x5e4edb[_0x2a63c6['TBKVQ']][_0x2ed820(0xc2)]=_0x2679de;}_0x5e4edb[_0x2a63c6[_0x2ed820(0xd7)]]['accessibilityOptions']['scannerVersion']=JSON[_0x2ed820(0xbc)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x2ed820(0xf3)];}else{if(_0x1bffad['capability'][_0x2a63c6[_0x2ed820(0xeb)]]){if(_0x5e4edb[_0x2a63c6[_0x2ed820(0xcb)]])_0x5e4edb[_0x2a63c6[_0x2ed820(0xcb)]][_0x2ed820(0xb6)]=process[_0x2ed820(0xb9)][_0x2ed820(0xd1)];else{const _0x10904c={};_0x10904c[_0x2ed820(0xb6)]=process[_0x2ed820(0xb9)][_0x2ed820(0xd1)],_0x5e4edb[_0x2a63c6[_0x2ed820(0xcb)]]=_0x10904c;}_0x5e4edb[_0x2a63c6[_0x2ed820(0xcb)]][_0x2ed820(0xf3)]=JSON[_0x2ed820(0xbc)](process[_0x2ed820(0xb9)][_0x2ed820(0xdf)])[_0x2ed820(0xf3)];}}}}catch(_0x3b3161){logger[_0x2ed820(0xd5)](_0x2ed820(0xdd)+_0x3b3161);}},exports[a30_0x207b7c(0xfe)]=(_0x4a8997,_0x325dd1)=>{const _0x51a539=a30_0x207b7c,_0x100bba={};_0x100bba[_0x51a539(0xb0)]='bstack:options',_0x100bba['DoadE']=function(_0x33ec6d,_0x20aed1){return _0x33ec6d!==_0x20aed1;},_0x100bba['bMBBQ']='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.',_0x100bba[_0x51a539(0xff)]=_0x51a539(0xc1),_0x100bba[_0x51a539(0xac)]=_0x51a539(0xd0),_0x100bba['EQSfe']=function(_0x192c64,_0xf749bb){return _0x192c64===_0xf749bb;},_0x100bba[_0x51a539(0xdc)]=_0x51a539(0xc4),_0x100bba[_0x51a539(0xc3)]=function(_0x411f81,_0x2c7ae1){return _0x411f81>_0x2c7ae1;},_0x100bba[_0x51a539(0x101)]=_0x51a539(0xb3),_0x100bba[_0x51a539(0x100)]=_0x51a539(0xf0),_0x100bba[_0x51a539(0xd3)]=_0x51a539(0xca),_0x100bba[_0x51a539(0xfc)]='options_',_0x100bba[_0x51a539(0xb1)]=_0x51a539(0xf1),_0x100bba[_0x51a539(0xab)]=_0x51a539(0xc5),_0x100bba[_0x51a539(0xd2)]='goog:chromeOptions',_0x100bba[_0x51a539(0xf8)]='Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.';const _0x23ddeb=_0x100bba;try{const _0x9304e5=_0x325dd1[_0x51a539(0xdb)]||{},_0x42ec10=(_0x9304e5[_0x23ddeb[_0x51a539(0xb0)]]?_0x9304e5[_0x23ddeb[_0x51a539(0xb0)]][_0x51a539(0x104)]:_0x9304e5['device'])||'';if(_0x23ddeb['DoadE'](_0x42ec10,''))return logger['warn'](_0x23ddeb[_0x51a539(0xcd)]),![];const _0x1adfe8=_0x9304e5['browserName']||_0x4a8997['capabilities_'][_0x51a539(0xd6)]();if(_0x23ddeb[_0x51a539(0xf6)](_0x1adfe8[_0x51a539(0xda)](),_0x23ddeb['Nkzgv']))return logger[_0x51a539(0xf2)](_0x23ddeb['EIJmv']),![];const _0x4a9a56=_0x9304e5[_0x51a539(0xe9)]||_0x9304e5['browser_version']||_0x4a8997[_0x51a539(0xe5)][_0x51a539(0xed)]();if(!bsSetupHelper[_0x51a539(0xf7)](_0x4a9a56)&&!(_0x23ddeb[_0x51a539(0xea)](_0x4a9a56,_0x23ddeb[_0x51a539(0xdc)])||_0x23ddeb[_0x51a539(0xc3)](_0x4a9a56,0x5e)))return logger[_0x51a539(0xf2)](_0x23ddeb['YLimM']),![];let _0x7f94d8;try{_0x7f94d8=bsSetupHelper[_0x51a539(0xe8)](_0x23ddeb[_0x51a539(0x100)],_0x23ddeb[_0x51a539(0xd3)]);}catch(_0x473cd7){return![];}const _0xe97234=new _0x7f94d8[(_0x51a539(0xc0))](_0x4a8997[_0x51a539(0xb7)]),_0x27d6e6=bsSetupHelper[_0x51a539(0xb2)](_0xe97234,[_0x23ddeb['EWYZc'],_0x23ddeb[_0x51a539(0xb1)]])||bsSetupHelper[_0x51a539(0xb2)](_0x4a8997[_0x51a539(0xe5)]['get'](_0x23ddeb['hXiNa']),[_0x23ddeb[_0x51a539(0xab)],_0x23ddeb[_0x51a539(0xb1)]])||bsSetupHelper['nestedKeyValue'](_0x4a8997[_0x51a539(0xe5)]['get'](_0x23ddeb[_0x51a539(0xab)]),[_0x23ddeb[_0x51a539(0xb1)]])||bsSetupHelper[_0x51a539(0xb2)](_0x4a8997[_0x51a539(0xe5)][_0x51a539(0xee)](_0x23ddeb['GJQKh']),[_0x23ddeb[_0x51a539(0xb1)]])||[],_0x457791=Array['isArray'](_0x27d6e6)?_0x27d6e6:[];if(_0x457791[_0x51a539(0xc8)](_0x2985ec=>typeof _0x2985ec===_0x51a539(0xbf)&&(_0x2985ec==='--headless'||_0x2985ec[_0x51a539(0xec)](_0x51a539(0xef))&&_0x2985ec!=='--headless=new')))return logger[_0x51a539(0xf2)](_0x23ddeb['pbwAq']),![];return!![];}catch(_0x508670){logger['debug'](_0x51a539(0xfb)+util[_0x51a539(0xe0)](_0x508670));}return![];},exports[a30_0x207b7c(0xaf)]=async _0x1c14cd=>{const _0x4be4b9=a30_0x207b7c,_0x10e0a6={};_0x10e0a6[_0x4be4b9(0xe4)]=function(_0x5b712b,_0x26558e){return _0x5b712b===_0x26558e;},_0x10e0a6[_0x4be4b9(0xad)]=_0x4be4b9(0xfd);const _0x2ee239=_0x10e0a6;let _0x43dd45={};try{const _0x29fdf7=await _0x1c14cd[_0x4be4b9(0xd9)]();_0x43dd45={'os_name':_0x29fdf7['getPlatform'](),'os_version':bsSetupHelper[_0x4be4b9(0xe1)](_0x2ee239[_0x4be4b9(0xe4)](global[_0x4be4b9(0xc9)],_0x2ee239[_0x4be4b9(0xad)])),'browser_name':_0x29fdf7[_0x4be4b9(0xd6)](),'browser_version':_0x29fdf7[_0x4be4b9(0xed)]()};}catch(_0x2e9d6e){logger[_0x4be4b9(0xd5)](_0x4be4b9(0xbd)+_0x2e9d6e);}return _0x43dd45;};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function a31_0x43b1(){const _0x5681f7=['../../../helpers/test-observability/requestQueueHandler','WIIyA','NVmkW','../../../helpers/globals','util','color','_buildCreated','</dd>','UjIon','CXgZT','pending','VaQCx','markedStatus','<dl>','isPending','avrAz','dirname','3|2|4|1|0','AFTER_EACH','10540744auCzkM','type','RApWn','BpYnQ','dYrBo','reporterOption','pid','current_test','CnsaP','failed','shouldProcessEventForTesthub','JHPUi','gnlnn','prefixTestPath','indent','hook_run','FpMQY','ReMSw','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','currentTest','6039785pcnusb','ssTzn','before\x20each','uploadEventData','bs:addPlatformDetails:','LnLev','fast','MKSlX','AFTER_ALL','\x20\x20<dt\x20class=\x22error\x22>','File\x20path\x20could\x20not\x20be\x20found','bs:addLog:','join','appendTesthubParams','stdout','mocha','smvOy','</h1>','SeTSP','HVSah','xMHkF','scopes','scope','MOCHA','\x20with\x20error\x20:\x20','symbols','HookRunStarted','multiple','vXyNR','spec','pLKSI','OYCaM','getTime','UnhandledError','removeAllListeners','toString','testObservability','toISOString','../../../helpers/central-scanner/helpers','NNUQl','hqMaI','TEST_REPORTING_ANALYTICS','_upstreamConfig','consoleLog','dNaaS','test_run_uuid','mocha/lib/reporters/','bang','javascript','TestRunSkipped','root','dEHrg','forEach','once','tXiKR','Failed\x20to\x20load\x20reporter\x20','40587201fBJdyB','suEdA','EDHtx','2lcInMo','fkwjL','body','hooks','Kbebf','pass','sep','pBZJR','VwNDx','originalTitle','HqDgu','../../../helpers/testhub/constants','flhBl','trim','speed','218236kfUJbY','name','../../utils/constants','getRootParentFile','Mocha','XnOGS','jlCpo','sgtQm','test','nuuUO','Reporter','rdVxX','doc','UalFd','kWqWF','done','bright\x20yellow','997113vuHnXl','suites','\x20(%dms)','slice','\x20-\x20','bRNBv','winstonLogger','sendTestRunEvent','green','before\x20all','assign','responseCode','__platform__','exports','test_run','mocha/lib/reporters/base.js','</dl>','passed','ntYWt','4746252LHmGEV','DPyUz','checkmark','clean','suite','EXDUi','wOZom','</section>','_indents','duration','hTfsw','HqPyD','after\x20all','mocha/lib/runnable.js','ZVuzH','Lzxzr','err','current_hook','WxfDh','ZMwuk','<h1>','AssertionError','LFYpe','oJlaJ','parent','hookAnalyticsId','hEJIv','UqmfN','kUNtw','match','lcBLQ','rETaJ','setCentralScannerData','failCount','BEFORE_ALL','ctx','EVENT','fullTitle','fyNzZ','../../../helpers/logger','constants','titlePath','tigXc','suiteCount','relative','YYNYI','file','ggzmO','_testResults','reporterOptions','COMPLETED','GMFKO','started_at','expanded','CBTSessionCreated','pyhwx','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','backtrace','../../../helpers/testhub/utils','hook_type','docHtml','PlKiV','BsFLt','ysyLm','write','registerListeners','decreaseIndent','CtTCh','upbgR','testAnalyticsId','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','8654100zOMaAz','oFqBp','cwd','path','skipped','lcnc','bind','xunit','failure','DCcKf','currentRetry','YmUqa','\x20%s','includes','state','results','../../../helpers/helper','event_type','slow','BaOtN','getInstance','redirectUrl','apply','rAIiF','failure_reason_expanded','result','analyticsResult','../../../helpers/test-observability/constants','docAppend','zvDKO','\x20\x20<dt>','increaseIndent','</dt>','ZpRlC','now','hook_run_uuid','failure_backtrace','WrvDB','Exception\x20in\x20browserstack\x20custome\x20reporter\x20with\x20error:\x20','testRunUUID','Ijjee','push','YKNzZ','JPIet','retryOf','LWbgQ','</code></pre></dd>','prototype','length','21qacCbL','UjYRg','SPSND','zVSwD','ZvBib','wDxzu','escape','__indents','uuid','http_response','dISmH','OLtna','gvPCH','TestRunStarted','title','UrbMG','RUNNING','aWIBr','finalResults','statSync','location_prefix','MOPEa','%s\x20-\x20%s','LogCreated','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','_testEnv','HookFinished','../../../helpers/metadata','TestRunFinished','findGitConfig','PNppm','\x20\x20<dd\x20class=\x22error\x22><pre><code>','\x20\x20<dd\x20class=\x22error\x22>','appendTestItemLog'];a31_0x43b1=function(){return _0x5681f7;};return a31_0x43b1();}const a31_0xac91df=a31_0x87a0;(function(_0x2ccabe,_0x3c5ea2){const _0x1e6214=a31_0x87a0,_0x5daa54=_0x2ccabe();while(!![]){try{const _0x20f233=-parseInt(_0x1e6214(0xc5))/0x1*(parseInt(_0x1e6214(0x1d4))/0x2)+-parseInt(_0x1e6214(0x150))/0x3*(parseInt(_0x1e6214(0x1e3))/0x4)+parseInt(_0x1e6214(0x199))/0x5+-parseInt(_0x1e6214(0x11f))/0x6+-parseInt(_0x1e6214(0xd8))/0x7+-parseInt(_0x1e6214(0x185))/0x8+parseInt(_0x1e6214(0x1d1))/0x9;if(_0x20f233===_0x3c5ea2)break;else _0x5daa54['push'](_0x5daa54['shift']());}catch(_0x55e0bb){_0x5daa54['push'](_0x5daa54['shift']());}}}(a31_0x43b1,0xdbe21));const util=require(a31_0xac91df(0x176)),fs=require('fs'),path=require(a31_0xac91df(0x122)),{requireModule,getCentralUser}=require('../../../helpers/helper'),Base=requireModule(a31_0xac91df(0xd4),a31_0xac91df(0x1a8)),utils=requireModule('mocha/lib/utils.js',a31_0xac91df(0x1a8)),color=Base[a31_0xac91df(0x177)],Mocha=requireModule(a31_0xac91df(0x1a8)),Runnable=requireModule(a31_0xac91df(0xe5),a31_0xac91df(0x1a8)),{v4:uuidv4}=require('uuid'),bsSetupHelper=require(a31_0xac91df(0x12f)),testhubUtils=require(a31_0xac91df(0x112)),centralScannerUtils=require(a31_0xac91df(0x1bf)),testHubConstants=require(a31_0xac91df(0x1df)),{FRAMEWORKS}=require(a31_0xac91df(0x13a)),globals=require(a31_0xac91df(0x175)),logger=require(a31_0xac91df(0xff))[a31_0xac91df(0xcb)],TestMetadata=require(a31_0xac91df(0x16b)),a31_0x6abebd={};function a31_0x87a0(_0x417c87,_0x4c695){const _0x43b104=a31_0x43b1();return a31_0x87a0=function(_0x87a06d,_0x39a3e0){_0x87a06d=_0x87a06d-0xc5;let _0x5d308a=_0x43b104[_0x87a06d];return _0x5d308a;},a31_0x87a0(_0x417c87,_0x4c695);}a31_0x6abebd[a31_0xac91df(0xce)]=a31_0xac91df(0xfa),a31_0x6abebd[a31_0xac91df(0xe4)]=a31_0xac91df(0x1a1),a31_0x6abebd[a31_0xac91df(0x19b)]='BEFORE_EACH',a31_0x6abebd['after\x20each']=a31_0xac91df(0x184);const HOOK_TYPES_MAP=a31_0x6abebd,{EVENT_RUN_END,EVENT_TEST_BEGIN,EVENT_TEST_END,EVENT_TEST_PENDING,EVENT_RUN_BEGIN,EVENT_TEST_FAIL,EVENT_TEST_PASS,EVENT_SUITE_BEGIN,EVENT_SUITE_END,EVENT_HOOK_BEGIN,EVENT_HOOK_END}=Mocha['Runner'][a31_0xac91df(0x100)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable['constants'],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require('../test-observability/mochaUtils'),{consoleHolder}=require(a31_0xac91df(0x13a)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require(a31_0xac91df(0x172)),constants=require(a31_0xac91df(0x1e5)),requestQueueHandler=RequestQueueHandler[a31_0xac91df(0x133)]();class MyReporter{constructor(_0x547bf2,_0x2205bf){const _0x4b93e4=a31_0xac91df,_0x2ac54b={'PNppm':function(_0x38561a,_0x3dac4d){return _0x38561a===_0x3dac4d;},'zvDKO':_0x4b93e4(0x1b6),'NVmkW':function(_0x399f4c,_0x5acc4d){return _0x399f4c+_0x5acc4d;},'VaQCx':function(_0x1cbc33,_0x3a8be0,_0x480b52){return _0x1cbc33(_0x3a8be0,_0x480b52);},'sgtQm':_0x4b93e4(0xcd),'ssTzn':'%s\x20','dISmH':function(_0x4838b5,_0x6a91e2,_0x4d119b){return _0x4838b5(_0x6a91e2,_0x4d119b);},'tXiKR':'light','hEJIv':_0x4b93e4(0x166),'suEdA':_0x4b93e4(0x160),'YKNzZ':_0x4b93e4(0x1ef),'ntYWt':function(_0x345cc7,_0x256ad2){return _0x345cc7===_0x256ad2;},'gvPCH':function(_0x49ca3c){return _0x49ca3c();},'SPSND':_0x4b93e4(0x1b3),'WIIyA':'HookRunFinished','ysyLm':function(_0x4ccdb3,_0x41f16f){return _0x4ccdb3===_0x41f16f;},'flhBl':_0x4b93e4(0xd6),'oEKtV':_0x4b93e4(0x19f),'dEHrg':function(_0x45e4de,_0x1e0adc){return _0x45e4de+_0x1e0adc;},'RApWn':function(_0x3bc8ca,_0x344588,_0x487b49){return _0x3bc8ca(_0x344588,_0x487b49);},'WrvDB':_0x4b93e4(0xda),'CXgZT':function(_0x227c85,_0x5836d2){return _0x227c85+_0x5836d2;},'EDHtx':_0x4b93e4(0x1d9),'pyhwx':_0x4b93e4(0x12b),'WxfDh':function(_0x27e3ab,_0x59e6a9){return _0x27e3ab+_0x59e6a9;},'fkwjL':_0x4b93e4(0xc7),'JHPUi':'fail','hqMaI':'\x20\x20%d)\x20%s','AGVID':function(_0x37e03c,_0x5a8f20){return _0x37e03c+_0x5a8f20;},'JFUwj':function(_0x5d6dad,_0x41c8a8,_0x44c655){return _0x5d6dad(_0x41c8a8,_0x44c655);},'Lzxzr':_0x4b93e4(0x1f3),'zkYxQ':function(_0x2662ee,_0x380ca8,_0x20cf41){return _0x2662ee(_0x380ca8,_0x20cf41);},'dNaaS':_0x4b93e4(0x10a),'fyNzZ':'dot','iFGzN':_0x4b93e4(0x131),'ZvBib':function(_0x574c82,_0x4adc42){return _0x574c82===_0x4adc42;},'MOPEa':_0x4b93e4(0x183),'GMFKO':function(_0x5f1886,_0x592f12){return _0x5f1886===_0x592f12;},'HqDgu':function(_0x16c809,_0x1b14df){return _0x16c809===_0x1b14df;},'FjygL':_0x4b93e4(0x17c),'BpYnQ':function(_0xc08479,_0x216e7c){return _0xc08479===_0x216e7c;},'BsFLt':_0x4b93e4(0x1ca),'wDxzu':function(_0x3e1422,_0x129453){return _0x3e1422===_0x129453;},'vXyNR':function(_0x3b9e1a,_0x2405bf){return _0x3b9e1a(_0x2405bf);},'hTfsw':function(_0xef4dfc){return _0xef4dfc();},'ZMwuk':function(_0x116cb0,_0x11c6bc){return _0x116cb0===_0x11c6bc;},'YYNYI':_0x4b93e4(0x126),'mrwuE':'mocha','pLKSI':function(_0x345a98,_0x286bda){return _0x345a98!==_0x286bda;}};this[_0x4b93e4(0x186)]=_0x2205bf[_0x4b93e4(0x18a)][_0x4b93e4(0x186)],this[_0x4b93e4(0x1bd)]=_0x2ac54b[_0x4b93e4(0xe2)](isTestObservabilitySession),Base['call'](this,_0x547bf2,_0x2205bf),this['_indents']=0x0,this[_0x4b93e4(0xf9)]=0x0,this[_0x4b93e4(0x12e)]=[],this['finalResults']=[],this[_0x4b93e4(0x103)]=0x0,this[_0x4b93e4(0x178)]=![],this[_0x4b93e4(0x108)]=[],this[_0x4b93e4(0x169)]=_0x2ac54b[_0x4b93e4(0xe2)](getTestEnv),this['_paths']=new PathHelper({'cwd':process[_0x4b93e4(0x121)]()},this[_0x4b93e4(0x169)][_0x4b93e4(0x164)]),this[_0x4b93e4(0x1c3)]=_0x2205bf[_0x4b93e4(0x18a)]['bsConfig'],this[_0x4b93e4(0x119)]();_0x2ac54b[_0x4b93e4(0xd7)](this['type'],_0x2ac54b[_0x4b93e4(0x149)])&&(this['docHtml']='',this[_0x4b93e4(0x157)]=0x2);_0x547bf2[_0x4b93e4(0x1ce)](EVENT_RUN_BEGIN,async()=>{const _0x4b686e=_0x4b93e4;_0x2ac54b['PNppm'](this[_0x4b686e(0x186)],_0x2ac54b['zvDKO'])&&Base[_0x4b686e(0x1c4)]();})['on'](EVENT_SUITE_BEGIN,_0xe18f66=>{const _0x49fd58=_0x4b93e4;if(_0xe18f66[_0x49fd58(0x1cb)])return;if(_0x2ac54b[_0x49fd58(0x16e)](this[_0x49fd58(0x186)],_0x2ac54b[_0x49fd58(0x13c)]))this[_0x49fd58(0x13e)](),Base[_0x49fd58(0x1c4)](_0x2ac54b[_0x49fd58(0x174)](_0x2ac54b[_0x49fd58(0x174)](this[_0x49fd58(0x193)](),_0x2ac54b['VaQCx'](color,_0x2ac54b[_0x49fd58(0x1ea)],_0x2ac54b[_0x49fd58(0x19a)])),_0x2ac54b[_0x49fd58(0x15a)](color,_0x2ac54b[_0x49fd58(0x1cf)],_0x2ac54b[_0x49fd58(0xf2)])),_0x2ac54b[_0x49fd58(0x1d2)],_0xe18f66['title'],global[_0x49fd58(0xd1)]);else _0x2ac54b[_0x49fd58(0x16e)](this[_0x49fd58(0x186)],_0x2ac54b[_0x49fd58(0x149)])&&(this[_0x49fd58(0x13b)](this[_0x49fd58(0x193)]()+'<section\x20class=\x22suite\x22>'),++this[_0x49fd58(0x157)],this[_0x49fd58(0x13b)](this[_0x49fd58(0x193)]()+_0x49fd58(0xec)+utils[_0x49fd58(0x156)](_0xe18f66[_0x49fd58(0x15e)]+_0x49fd58(0xc9)+global[_0x49fd58(0xd1)])+_0x49fd58(0x1aa)),this[_0x49fd58(0x13b)](this[_0x49fd58(0x193)]()+_0x49fd58(0x17f)));})['on'](EVENT_HOOK_BEGIN,async _0x5607cc=>{const _0x53cd57=_0x4b93e4;if(_0x2ac54b[_0x53cd57(0xd7)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants[_0x53cd57(0xfc)]['HookStarted']),!![])){if(!_0x5607cc[_0x53cd57(0xf1)])_0x5607cc[_0x53cd57(0xf1)]=_0x2ac54b[_0x53cd57(0x15c)](uuidv4);else _0x5607cc[_0x53cd57(0x17e)]&&(_0x5607cc[_0x53cd57(0xf1)]=_0x2ac54b[_0x53cd57(0x15c)](uuidv4),delete _0x5607cc[_0x53cd57(0x17e)]);_0x5607cc[_0x53cd57(0x10c)]=new Date()[_0x53cd57(0x1be)](),this[_0x53cd57(0xe9)]=_0x5607cc,await this[_0x53cd57(0xcc)](_0x5607cc,undefined,![],_0x2ac54b[_0x53cd57(0x152)]);}})['on'](EVENT_HOOK_END,async _0x39a117=>{const _0x6c4ee1=_0x4b93e4;_0x2ac54b['ntYWt'](testhubUtils[_0x6c4ee1(0x18f)](testHubConstants[_0x6c4ee1(0xfc)][_0x6c4ee1(0x16a)]),!![])&&(!_0x39a117[_0x6c4ee1(0x17e)]&&(_0x39a117['markedStatus']=!![],await this[_0x6c4ee1(0xcc)](_0x39a117,undefined,![],_0x2ac54b[_0x6c4ee1(0x173)])));})['on'](EVENT_SUITE_END,_0x3c904d=>{const _0xa071ae=_0x4b93e4;if(_0x3c904d[_0xa071ae(0x1cb)])return;if(_0x2ac54b[_0xa071ae(0x117)](this['type'],_0x2ac54b[_0xa071ae(0x13c)]))Base[_0xa071ae(0x1c4)](),Base['consoleLog'](_0x2ac54b[_0xa071ae(0x1cc)](_0x2ac54b['AGVID'](this[_0xa071ae(0x193)](),_0x2ac54b['JFUwj'](color,_0x2ac54b[_0xa071ae(0xe7)],_0x2ac54b[_0xa071ae(0x19a)])),_0x2ac54b['zkYxQ'](color,_0x2ac54b['tXiKR'],_0x2ac54b[_0xa071ae(0xf2)])),_0x2ac54b[_0xa071ae(0x1c5)],_0x3c904d['title'],global[_0xa071ae(0xd1)]),this[_0xa071ae(0x12e)][_0xa071ae(0x1cd)](_0x469576=>{const _0x4c11d5=_0xa071ae;if(_0x2ac54b[_0x4c11d5(0x117)](_0x469576[_0x4c11d5(0x12d)],_0x2ac54b[_0x4c11d5(0x1e0)])){var _0x17e475;_0x2ac54b['ysyLm'](_0x469576[_0x4c11d5(0x1e2)],_0x2ac54b['oEKtV'])?(_0x17e475=_0x2ac54b[_0x4c11d5(0x1cc)](_0x2ac54b[_0x4c11d5(0x174)](this[_0x4c11d5(0x193)](),_0x2ac54b['RApWn'](color,_0x2ac54b[_0x4c11d5(0x144)],_0x2ac54b[_0x4c11d5(0x17b)]('\x20\x20',Base['symbols']['ok']))),_0x2ac54b['dISmH'](color,_0x2ac54b[_0x4c11d5(0x1d3)],_0x2ac54b['pyhwx'])),Base[_0x4c11d5(0x1c4)](_0x17e475,_0x469576[_0x4c11d5(0x15e)])):(_0x17e475=_0x2ac54b[_0x4c11d5(0xea)](_0x2ac54b['CXgZT'](_0x2ac54b[_0x4c11d5(0xea)](this['indent'](),_0x2ac54b[_0x4c11d5(0x15a)](color,_0x2ac54b['WrvDB'],_0x2ac54b['NVmkW']('\x20\x20',Base[_0x4c11d5(0x1b2)]['ok']))),_0x2ac54b[_0x4c11d5(0x15a)](color,_0x2ac54b['EDHtx'],_0x2ac54b[_0x4c11d5(0x10f)])),_0x2ac54b['dISmH'](color,_0x469576[_0x4c11d5(0x1e2)],_0x2ac54b[_0x4c11d5(0x1d5)])),Base[_0x4c11d5(0x1c4)](_0x17e475,_0x469576[_0x4c11d5(0x15e)],_0x469576[_0x4c11d5(0xe1)]));}else Base[_0x4c11d5(0x1c4)](_0x2ac54b[_0x4c11d5(0xea)](this['indent'](),_0x2ac54b[_0x4c11d5(0x17d)](color,_0x2ac54b[_0x4c11d5(0x190)],_0x2ac54b[_0x4c11d5(0x1c1)])),++this['failCount'],_0x469576[_0x4c11d5(0x15e)]);}),this[_0xa071ae(0x11a)]();else _0x2ac54b[_0xa071ae(0x117)](this[_0xa071ae(0x186)],_0x2ac54b[_0xa071ae(0x149)])&&(this[_0xa071ae(0x13b)](this[_0xa071ae(0x193)]()+_0xa071ae(0xd5)),--this[_0xa071ae(0x157)],this[_0xa071ae(0x13b)](this['indent']()+_0xa071ae(0xdf)),--this['__indents']);Array[_0xa071ae(0x14e)][_0xa071ae(0x148)][_0xa071ae(0x135)](this[_0xa071ae(0x162)],this['results']),this[_0xa071ae(0x12e)]=[];})['on'](EVENT_TEST_PASS,async _0x3f1f9b=>{const _0x6cb9d4=_0x4b93e4;this[_0x6cb9d4(0x12e)][_0x6cb9d4(0x148)]({'speed':_0x3f1f9b['speed'],'suite':_0x3f1f9b['parent'][_0x6cb9d4(0x15e)],'title':_0x3f1f9b[_0x6cb9d4(0x15e)],'fullTitle':_0x3f1f9b['fullTitle'](),'duration':_0x3f1f9b[_0x6cb9d4(0xe1)],'state':_0x3f1f9b[_0x6cb9d4(0x12d)],'err':{},'currentRetry':_0x3f1f9b['currentRetry'](),'titlePathV':_0x3f1f9b[_0x6cb9d4(0x101)](),'isPending':_0x3f1f9b[_0x6cb9d4(0x180)]()});if(_0x2ac54b[_0x6cb9d4(0x117)](this[_0x6cb9d4(0x186)],_0x2ac54b['fyNzZ']))_0x2ac54b['ntYWt'](_0x3f1f9b[_0x6cb9d4(0x1e2)],_0x2ac54b['iFGzN'])?process[_0x6cb9d4(0x1a7)][_0x6cb9d4(0x118)](Base['color'](_0x2ac54b[_0x6cb9d4(0xe7)],Base[_0x6cb9d4(0x1b2)]['dot'])):process['stdout'][_0x6cb9d4(0x118)](Base['color'](_0x3f1f9b[_0x6cb9d4(0x1e2)],Base[_0x6cb9d4(0x1b2)]['dot']));else{if(_0x2ac54b['ntYWt'](this[_0x6cb9d4(0x186)],_0x2ac54b['YKNzZ'])){this['docAppend'](this[_0x6cb9d4(0x193)]()+_0x6cb9d4(0x13d)+utils[_0x6cb9d4(0x156)](_0x3f1f9b[_0x6cb9d4(0x15e)])+'</dt>'),this['docAppend'](this[_0x6cb9d4(0x193)]()+_0x6cb9d4(0x13d)+utils[_0x6cb9d4(0x156)](_0x3f1f9b[_0x6cb9d4(0x106)])+_0x6cb9d4(0x13f));var _0x34a494=utils['escape'](utils[_0x6cb9d4(0xdb)](_0x3f1f9b[_0x6cb9d4(0x1d6)]));this['docAppend'](this[_0x6cb9d4(0x193)]()+'\x20\x20<dd><pre><code>'+_0x34a494+_0x6cb9d4(0x14d));}}_0x2ac54b[_0x6cb9d4(0x154)](testhubUtils[_0x6cb9d4(0x18f)](),!![])&&(!_0x3f1f9b[_0x6cb9d4(0x17e)]&&(_0x3f1f9b[_0x6cb9d4(0x17e)]=!![],await this['sendTestRunEvent'](_0x3f1f9b)));})['on'](EVENT_TEST_FAIL,async(_0xe437f4,_0x1bf1ee)=>{const _0x5419d7=_0x4b93e4;this[_0x5419d7(0x12e)][_0x5419d7(0x148)]({'title':_0xe437f4[_0x5419d7(0x15e)],'suite':_0xe437f4['parent'][_0x5419d7(0x15e)],'state':_0xe437f4['state'],'err':{'message':util['inspect'](_0x1bf1ee)},'fullTitle':_0xe437f4[_0x5419d7(0xfd)](),'speed':_0xe437f4[_0x5419d7(0x1e2)],'currentRetry':_0xe437f4[_0x5419d7(0x129)](),'titlePathV':_0xe437f4['titlePath']()});if(_0x2ac54b['ntYWt'](this[_0x5419d7(0x186)],_0x2ac54b['fyNzZ']))process[_0x5419d7(0x1a7)][_0x5419d7(0x118)](Base[_0x5419d7(0x177)](_0x2ac54b[_0x5419d7(0x190)],Base['symbols'][_0x5419d7(0x1c8)]));else{if(_0x2ac54b[_0x5419d7(0x117)](this[_0x5419d7(0x186)],_0x2ac54b[_0x5419d7(0x149)])){const _0x46718b=_0x2ac54b[_0x5419d7(0x165)]['split']('|');let _0xb42ec=0x0;while(!![]){switch(_0x46718b[_0xb42ec++]){case'0':this[_0x5419d7(0x13b)](this['indent']()+_0x5419d7(0x170)+utils[_0x5419d7(0x156)](_0xe437f4['err'])+_0x5419d7(0x179));continue;case'1':this['docAppend'](this[_0x5419d7(0x193)]()+_0x5419d7(0x16f)+_0x1805ea+_0x5419d7(0x14d));continue;case'2':this[_0x5419d7(0x13b)](this[_0x5419d7(0x193)]()+_0x5419d7(0x1a2)+utils[_0x5419d7(0x156)](_0xe437f4[_0x5419d7(0x106)])+_0x5419d7(0x13f));continue;case'3':this[_0x5419d7(0x13b)](this['indent']()+'\x20\x20<dt\x20class=\x22error\x22>'+utils[_0x5419d7(0x156)](_0xe437f4[_0x5419d7(0x15e)])+_0x5419d7(0x13f));continue;case'4':var _0x1805ea=utils['escape'](utils[_0x5419d7(0xdb)](_0xe437f4[_0x5419d7(0x1d6)]));continue;}break;}}}if(_0x2ac54b[_0x5419d7(0x10b)](testhubUtils[_0x5419d7(0x18f)](testHubConstants['EVENT'][_0x5419d7(0x16a)]),!![])){if(!_0xe437f4[_0x5419d7(0x17e)]){_0xe437f4[_0x5419d7(0x17e)]=!![];if(_0xe437f4[_0x5419d7(0x11d)])await this[_0x5419d7(0xcc)](_0xe437f4,_0x1bf1ee);else _0xe437f4[_0x5419d7(0xf1)]&&await this['sendTestRunEvent'](_0xe437f4,_0x1bf1ee,![],_0x2ac54b[_0x5419d7(0x173)]);}}})['on'](EVENT_TEST_PENDING,async _0x16cdec=>{const _0x4bcf2b=_0x4b93e4;this[_0x4bcf2b(0x12e)][_0x4bcf2b(0x148)]({'title':_0x16cdec[_0x4bcf2b(0x15e)],'suite':_0x16cdec[_0x4bcf2b(0xf0)][_0x4bcf2b(0x15e)],'state':_0x16cdec[_0x4bcf2b(0x12d)],'err':{},'fullTitle':_0x16cdec['fullTitle'](),'speed':_0x16cdec['speed'],'currentRetry':_0x16cdec[_0x4bcf2b(0x129)](),'titlePathV':_0x16cdec[_0x4bcf2b(0x101)]()}),_0x2ac54b[_0x4bcf2b(0x1de)](this[_0x4bcf2b(0x186)],_0x2ac54b[_0x4bcf2b(0xfe)])&&process['stdout']['write'](Base[_0x4bcf2b(0x177)](_0x2ac54b['FjygL'],Base['symbols']['comma'])),_0x2ac54b[_0x4bcf2b(0x188)](testhubUtils[_0x4bcf2b(0x18f)](),!![])&&(!_0x16cdec['testAnalyticsId']&&(_0x16cdec[_0x4bcf2b(0x11d)]=_0x2ac54b['gvPCH'](uuidv4)),!_0x16cdec[_0x4bcf2b(0x17e)]&&(_0x16cdec['markedStatus']=!![],await this[_0x4bcf2b(0xcc)](_0x16cdec,undefined,![],_0x2ac54b[_0x4bcf2b(0x116)])));})['on'](EVENT_TEST_BEGIN,async _0x9519ee=>{const _0x1d5668=_0x4b93e4;_0x2ac54b[_0x1d5668(0x155)](testhubUtils[_0x1d5668(0x18f)](),!![])&&await this['testStarted'](_0x9519ee);})['on'](EVENT_TEST_END,async _0x105158=>{const _0x588be8=_0x4b93e4;_0x2ac54b['GMFKO'](testhubUtils[_0x588be8(0x18f)](),!![])&&(!_0x105158[_0x588be8(0x17e)]&&(_0x105158['markedStatus']=!![],await this[_0x588be8(0xcc)](_0x105158)));})[_0x4b93e4(0x1ce)](EVENT_RUN_END,async()=>{const _0x53c4a6=_0x4b93e4;try{if(_0x2ac54b[_0x53c4a6(0x188)](testhubUtils[_0x53c4a6(0x18f)](),!![])){const _0x2ba024=_0x2ac54b[_0x53c4a6(0x1b5)](getHookSkippedTests,this['runner'][_0x53c4a6(0xdc)]);for(const _0x434c60 of _0x2ba024){!_0x434c60[_0x53c4a6(0x11d)]&&(_0x434c60['testAnalyticsId']=_0x2ac54b['hTfsw'](uuidv4)),await this['sendTestRunEvent'](_0x434c60,undefined,![],_0x2ac54b[_0x53c4a6(0x116)]);}}}catch(_0x3b97d1){_0x2ac54b['vXyNR'](debug,_0x53c4a6(0x197)+_0x3b97d1);}await requestQueueHandler['shutdown'](),_0x2ac54b[_0x53c4a6(0xeb)](this[_0x53c4a6(0x186)],_0x2ac54b[_0x53c4a6(0x149)])&&Base[_0x53c4a6(0x1c4)](this[_0x53c4a6(0x114)]);});if(this[_0x4b93e4(0x186)]&&![_0x2ac54b['YKNzZ'],_0x2ac54b[_0x4b93e4(0x105)],_0x2ac54b[_0x4b93e4(0x13c)],_0x2ac54b[_0x4b93e4(0xfe)]][_0x4b93e4(0x12c)](this[_0x4b93e4(0x186)])){const _0x1482e8=this[_0x4b93e4(0x186)][_0x4b93e4(0x1e1)]();this[_0x4b93e4(0x1ed)]=null;try{this['Reporter']=_0x2ac54b[_0x4b93e4(0x187)](requireModule,_0x4b93e4(0x1c7)+_0x1482e8+'.js',_0x2ac54b['mrwuE']);}catch(_0x4a88dc){_0x2ac54b['vXyNR'](debug,_0x4b93e4(0x145)+_0x4a88dc);}if(_0x2ac54b['ZMwuk'](this[_0x4b93e4(0x1ed)],null))try{this['Reporter']=_0x2ac54b[_0x4b93e4(0x1b5)](require,_0x1482e8);}catch(_0x288ae5){console['error'](_0x4b93e4(0x1d0)+_0x1482e8);}if(_0x2ac54b[_0x4b93e4(0x1b7)](this[_0x4b93e4(0x1ed)],null)){const _0x182e91={};_0x182e91[_0x4b93e4(0x109)]=_0x2205bf[_0x4b93e4(0x18a)],this[_0x4b93e4(0x1ed)]=new this['Reporter'](_0x547bf2,_0x182e91);}}}[a31_0xac91df(0x193)](){const _0x2111c1=a31_0xac91df,_0x3f2776={'rAIiF':function(_0x1c46a5,_0x21af97){return _0x1c46a5(_0x21af97);}};return _0x3f2776[_0x2111c1(0x136)](Array,this[_0x2111c1(0xe0)])[_0x2111c1(0x1a5)]('\x20\x20');}[a31_0xac91df(0x13e)](){const _0x81431d=a31_0xac91df;this[_0x81431d(0xe0)]++;}['decreaseIndent'](){const _0x4a1269=a31_0xac91df;this[_0x4a1269(0xe0)]--;}[a31_0xac91df(0x13b)](_0x4eb607){const _0xbe4700=a31_0xac91df;this[_0xbe4700(0x114)]+=_0x4eb607;}[a31_0xac91df(0x1f2)](_0x5c28c0,_0x106b68){const _0x370fe2=a31_0xac91df,_0x24b987={'JPIet':function(_0x1b946c,_0x390b1a){return _0x1b946c(_0x390b1a);}},_0x568dd9={};_0x568dd9['failureCount']=_0x5c28c0,_0x568dd9[_0x370fe2(0x12e)]=this[_0x370fe2(0x162)],_0x24b987[_0x370fe2(0x14a)](_0x106b68,_0x568dd9);}[a31_0xac91df(0x119)](){const _0x448767=a31_0xac91df;process[_0x448767(0x1bb)](_0x448767(0x1a4)+process[_0x448767(0x18b)]),process['on'](_0x448767(0x1a4)+process['pid'],this[_0x448767(0x171)][_0x448767(0x125)](this)),process['removeAllListeners'](_0x448767(0x19d)+process[_0x448767(0x18b)]),process['on'](_0x448767(0x19d)+process[_0x448767(0x18b)],this['appendTestPlatform']['bind'](this));}['testStarted']=async _0x31d0a8=>{const _0x10680d=a31_0xac91df,_0x5d8c5b={'ZVuzH':function(_0x1e6d56){return _0x1e6d56();},'ggzmO':_0x10680d(0x146),'EXDUi':function(_0x23d2dd,_0x2910d6){return _0x23d2dd>_0x2910d6;},'bRNBv':function(_0x4e413e,_0x1c160e){return _0x4e413e===_0x1c160e;},'aWIBr':_0x10680d(0x15d),'UpECG':function(_0x1b0625,_0x440334){return _0x1b0625(_0x440334);}};try{const _0x318bc5=this[_0x10680d(0x18c)];this[_0x10680d(0x18c)]=_0x31d0a8,_0x31d0a8['retryOf']=null,_0x31d0a8[_0x10680d(0x11d)]=_0x5d8c5b[_0x10680d(0xe6)](uuidv4),globals['setGlobal'](_0x5d8c5b[_0x10680d(0x107)],_0x31d0a8[_0x10680d(0x11d)]),_0x31d0a8['started_at']=new Date()[_0x10680d(0x1be)](),_0x5d8c5b[_0x10680d(0xdd)](_0x31d0a8['_currentRetry'],0x0)&&_0x318bc5&&_0x5d8c5b[_0x10680d(0xca)](_0x318bc5[_0x10680d(0x15e)],_0x31d0a8[_0x10680d(0x15e)])?(_0x31d0a8[_0x10680d(0x14b)]=_0x318bc5[_0x10680d(0x11d)],await this[_0x10680d(0xcc)](_0x31d0a8,undefined,![],_0x5d8c5b[_0x10680d(0x161)]),_0x318bc5[_0x10680d(0x12d)]=STATE_FAILED,await this['sendTestRunEvent'](_0x318bc5,undefined,!![])):await this[_0x10680d(0xcc)](_0x31d0a8,undefined,![],_0x5d8c5b[_0x10680d(0x161)]);}catch(_0x3c411c){_0x5d8c5b['UpECG'](debug,_0x10680d(0x11e)+_0x3c411c);}};[a31_0xac91df(0xcc)]=async(_0x82422a,_0x5de30b=undefined,_0x6bdc88=![],_0x3cec15=a31_0xac91df(0x16c))=>{const _0x28bcc2=a31_0xac91df,_0x2ee856={'PlKiV':function(_0x5ced61,_0x44e1f3){return _0x5ced61===_0x44e1f3;},'OYCaM':function(_0x568135,_0x355d8e){return _0x568135!==_0x355d8e;},'DCcKf':_0x28bcc2(0x1eb),'nuuUO':_0x28bcc2(0xe8),'CtTCh':function(_0x57ba15,_0x36c94a){return _0x57ba15!==_0x36c94a;},'Ijjee':_0x28bcc2(0x1a3),'LFYpe':_0x28bcc2(0x1e7),'CnsaP':_0x28bcc2(0x1c9),'qLQwv':function(_0xe2402a,_0x5cc221){return _0xe2402a===_0x5cc221;},'ReMSw':_0x28bcc2(0x1ca),'BaOtN':_0x28bcc2(0x123),'kWqWF':function(_0x1c8dc4,_0x1eadbd){return _0x1c8dc4-_0x1eadbd;},'OLtna':_0x28bcc2(0xed),'tigXc':_0x28bcc2(0x1ba),'dYrBo':_0x28bcc2(0x16c),'oFqBp':_0x28bcc2(0x15d),'pBZJR':function(_0x1e7668){return _0x1e7668();},'kUNtw':function(_0x57e90e,_0x32c22b){return _0x57e90e===_0x32c22b;},'wOZom':_0x28bcc2(0x10c),'DPyUz':'finished_at','rETaJ':function(_0x5c4ca7,_0x3b4f7a){return _0x5c4ca7(_0x3b4f7a);},'HqPyD':'HookRunFinished','UalFd':_0x28bcc2(0x18e),'avrAz':_0x28bcc2(0xd6),'YmUqa':function(_0x3b5e06,_0x342ad6){return _0x3b5e06===_0x342ad6;},'SeTSP':_0x28bcc2(0x19b),'UtXxK':function(_0x4ccad1,_0x3e980e){return _0x4ccad1===_0x3e980e;},'xMHkF':function(_0x1f0d7d,_0x28a9f7){return _0x1f0d7d(_0x28a9f7);},'HVSah':_0x28bcc2(0x127),'oJlaJ':_0x28bcc2(0x143),'ULwfg':_0x28bcc2(0x111),'VwNDx':_0x28bcc2(0x137),'FlbDb':_0x28bcc2(0x10d),'upbgR':function(_0x4a1fe8,_0xedc856){return _0x4a1fe8(_0xedc856);},'UjYRg':function(_0x3e95cb,_0x337c8d){return _0x3e95cb===_0x337c8d;},'MKSlX':_0x28bcc2(0x113),'rdVxX':_0x28bcc2(0x194),'NNUQl':_0x28bcc2(0xd3)};try{if(_0x82422a[_0x28bcc2(0x1d6)]&&_0x82422a[_0x28bcc2(0x1d6)][_0x28bcc2(0xf5)](/browserstack internal helper hook/))return;let _0x509450=[];if(_0x2ee856[_0x28bcc2(0x115)](_0x82422a['state'],STATE_FAILED)){if(_0x2ee856[_0x28bcc2(0x1b8)](_0x82422a[_0x28bcc2(0xe8)],undefined))_0x509450=_0x82422a[_0x28bcc2(0xe8)][_0x28bcc2(0x1b4)]?[_0x82422a[_0x28bcc2(0xe8)]['multiple'],_0x2ee856[_0x28bcc2(0x128)]]:[_0x82422a[_0x28bcc2(0xe8)],_0x2ee856[_0x28bcc2(0x1ec)]];else _0x2ee856[_0x28bcc2(0x1b8)](_0x5de30b,undefined)?_0x509450=[_0x5de30b,_0x2ee856['nuuUO']]:_0x509450=[];}const _0x513a9a=_0x2ee856[_0x28bcc2(0x1b8)](_0x82422a[_0x28bcc2(0xe8)],undefined)?_0x82422a[_0x28bcc2(0xe8)]['toString']():_0x2ee856['CtTCh'](_0x5de30b,undefined)?_0x5de30b[_0x28bcc2(0x1bc)]():undefined;let _0x245900;try{_0x245900=this[_0x28bcc2(0x1e6)](_0x82422a);}catch(_0x2f118a){_0x245900=null;}const _0x496989=_0x245900?this['findGitConfig'](_0x245900):null,_0x2e9e28=_0x245900?this['_paths'][_0x28bcc2(0x192)](this[_0x28bcc2(0x1e6)](_0x82422a)):_0x2ee856[_0x28bcc2(0x147)],_0x46e1f8={'framework':_0x2ee856[_0x28bcc2(0xee)],'uuid':_0x82422a[_0x28bcc2(0x11d)]||_0x82422a[_0x28bcc2(0xf1)],'name':_0x82422a['title'],'body':{'lang':_0x2ee856[_0x28bcc2(0x18d)],'code':_0x82422a[_0x28bcc2(0x1d6)]},'scope':this[_0x28bcc2(0x1af)](_0x82422a),'scopes':this[_0x28bcc2(0x1ae)](_0x82422a),'identifier':_0x82422a[_0x28bcc2(0xfd)](),'file_name':_0x2e9e28,'vc_filepath':_0x496989?path[_0x28bcc2(0x104)](_0x496989,_0x245900):null,'location':_0x2e9e28,'result':_0x2ee856['qLQwv'](_0x3cec15,_0x2ee856[_0x28bcc2(0x196)])?_0x2ee856[_0x28bcc2(0x132)]:this[_0x28bcc2(0x139)](_0x82422a[_0x28bcc2(0x12d)]),'failure_reason':_0x513a9a,'duration_in_ms':_0x82422a[_0x28bcc2(0xe1)]||(_0x3cec15[_0x28bcc2(0xf5)](/Finished/)||_0x3cec15['match'](/Skipped/)?_0x2ee856[_0x28bcc2(0x1f1)](Date[_0x28bcc2(0x141)](),new Date(_0x82422a[_0x28bcc2(0x10c)])[_0x28bcc2(0x1b9)]()):null),'started_at':_0x82422a[_0x28bcc2(0x10c)],'finished_at':_0x3cec15[_0x28bcc2(0xf5)](/Finished/)||_0x3cec15[_0x28bcc2(0xf5)](/Skipped/)?new Date()['toISOString']():null,'failure':failureData[_0x28bcc2(0x135)](null,_0x509450),'failure_type':!_0x513a9a?null:_0x513a9a['match'](/AssertionError/)?_0x2ee856[_0x28bcc2(0x15b)]:_0x2ee856[_0x28bcc2(0x102)],'retry_of':_0x82422a[_0x28bcc2(0x14b)]};if([_0x2ee856[_0x28bcc2(0x196)],_0x2ee856[_0x28bcc2(0x189)],_0x2ee856[_0x28bcc2(0x120)]]['includes'](_0x3cec15)){if(_0x2ee856[_0x28bcc2(0x1db)](getCentralUser)[_0x28bcc2(0x124)]){const _0x32f4b7=TestMetadata['get'](_0x82422a[_0x28bcc2(0x11d)]);if(_0x32f4b7){const _0x2f0a55={};_0x2f0a55['lcnc']=_0x32f4b7,Object[_0x28bcc2(0xcf)](_0x46e1f8,_0x2f0a55);}}}testhubUtils[_0x28bcc2(0x1a6)](_0x46e1f8,_0x3cec15,_0x82422a,FRAMEWORKS['MOCHA']);(_0x82422a[_0x28bcc2(0xd0)]||_0x82422a[_0x28bcc2(0x134)])&¢ralScannerUtils[_0x28bcc2(0xf8)](_0x46e1f8,_0x82422a['responseCode'],_0x82422a['redirectUrl']);_0x2ee856[_0x28bcc2(0xf4)](_0x3cec15,_0x2ee856['ReMSw'])&&!_0x46e1f8[_0x2ee856[_0x28bcc2(0xde)]]&&(_0x46e1f8[_0x2ee856[_0x28bcc2(0xde)]]=_0x46e1f8[_0x2ee856[_0x28bcc2(0xd9)]]);if(_0x3cec15[_0x28bcc2(0xf5)](/HookRun/))[_0x46e1f8[_0x28bcc2(0x113)],_0x46e1f8[_0x28bcc2(0x1e4)]]=_0x2ee856[_0x28bcc2(0xf7)](getHookDetails,_0x82422a['fullTitle']()||_0x82422a[_0x28bcc2(0x1dd)]||_0x82422a[_0x28bcc2(0x15e)]),_0x2ee856[_0x28bcc2(0x115)](_0x3cec15,_0x2ee856[_0x28bcc2(0xe3)])&&(_0x2ee856[_0x28bcc2(0x11b)](_0x46e1f8['result'],_0x2ee856[_0x28bcc2(0x1f0)])&&(_0x46e1f8['result']=_0x2ee856[_0x28bcc2(0x181)]),_0x2ee856[_0x28bcc2(0x12a)](_0x46e1f8['hook_type'],_0x2ee856[_0x28bcc2(0x1ab)])&&_0x2ee856['UtXxK'](_0x46e1f8[_0x28bcc2(0x138)],_0x2ee856[_0x28bcc2(0x1f0)])&&!_0x82422a['ctx'][_0x28bcc2(0x198)][_0x28bcc2(0x17e)]&&(_0x82422a[_0x28bcc2(0xfb)]['currentTest'][_0x28bcc2(0x17e)]=!![],_0x82422a[_0x28bcc2(0xfb)][_0x28bcc2(0x198)][_0x28bcc2(0x12d)]=STATE_FAILED,await this['sendTestRunEvent'](_0x82422a[_0x28bcc2(0xfb)]['currentTest'],undefined,!![])));else _0x3cec15['match'](/TestRun/)&&_0x2ee856[_0x28bcc2(0x1ad)](mapTestHooks,_0x82422a);const _0x92a7d8=_0x46e1f8[_0x2ee856[_0x28bcc2(0x1ac)]][0x0];_0x92a7d8&&(_0x46e1f8[_0x2ee856[_0x28bcc2(0xef)]]=_0x92a7d8[_0x2ee856['ULwfg']],_0x46e1f8[_0x2ee856[_0x28bcc2(0x1dc)]]=_0x92a7d8[_0x2ee856['FlbDb']]);[_0x2ee856[_0x28bcc2(0x189)],_0x2ee856[_0x28bcc2(0x196)]][_0x28bcc2(0x12c)](_0x3cec15)&&(this[_0x28bcc2(0x108)]['push'](_0x46e1f8),_0x46e1f8[_0x28bcc2(0x1d7)]=_0x2ee856[_0x28bcc2(0x11c)](getHooksForTest,_0x82422a));const _0x451175={'event_type':_0x2ee856[_0x28bcc2(0x151)](_0x3cec15,_0x2ee856['ReMSw'])?_0x2ee856[_0x28bcc2(0x189)]:_0x3cec15};_0x3cec15[_0x28bcc2(0xf5)](/HookRun/)?(_0x46e1f8[_0x2ee856['MKSlX']]=HOOK_TYPES_MAP[_0x46e1f8[_0x2ee856[_0x28bcc2(0x1a0)]]],_0x451175[_0x2ee856[_0x28bcc2(0x1ee)]]=_0x46e1f8):_0x451175[_0x2ee856[_0x28bcc2(0x1c0)]]=_0x46e1f8,testhubUtils['setCurrentTestData'](FRAMEWORKS[_0x28bcc2(0x1b0)],_0x451175),await SessionHandler[_0x28bcc2(0x19c)](_0x451175);}catch(_0xf793b){_0x2ee856[_0x28bcc2(0x11c)](debug,_0x28bcc2(0x110)+_0x3cec15+'\x20with\x20error\x20:\x20'+_0xf793b);}};[a31_0xac91df(0x16d)](_0x325c26){const _0x873f58=a31_0xac91df,_0x38ecc0={};_0x38ecc0['jlCpo']=function(_0xefff16,_0x421920){return _0xefff16===_0x421920;},_0x38ecc0['kCiMT']=function(_0x3cde3c,_0x488cb9){return _0x3cde3c===_0x488cb9;},_0x38ecc0['lcBLQ']=function(_0x10c213,_0x2bd2d8){return _0x10c213===_0x2bd2d8;},_0x38ecc0['UqmfN']='.git',_0x38ecc0[_0x873f58(0x153)]='config';const _0x12982f=_0x38ecc0,_0x61e318=path[_0x873f58(0x1da)];if(_0x12982f[_0x873f58(0x1e9)](_0x325c26,null)||_0x12982f['jlCpo'](_0x325c26,'')||_0x12982f['kCiMT'](_0x325c26,_0x61e318)||_0x12982f[_0x873f58(0xf6)](_0x325c26,path[_0x873f58(0x182)](_0x325c26)))return null;try{return fs[_0x873f58(0x163)](path[_0x873f58(0x1a5)](_0x325c26,_0x12982f[_0x873f58(0xf3)],_0x12982f[_0x873f58(0x153)])),_0x325c26;}catch(_0x20a502){const _0x28a7df=path[_0x873f58(0x182)](_0x325c26);return this[_0x873f58(0x16d)](_0x28a7df);}}[a31_0xac91df(0x171)]=async _0x248f9b=>{const _0x2cbc60=a31_0xac91df,_0x298bf7={'gnlnn':_0x2cbc60(0x167),'LWbgQ':function(_0x3a5bee,_0x4d2ae0){return _0x3a5bee(_0x4d2ae0);}};try{this['current_hook']&&!this[_0x2cbc60(0xe9)][_0x2cbc60(0x17e)]&&(_0x248f9b[_0x2cbc60(0x142)]=this[_0x2cbc60(0xe9)][_0x2cbc60(0xf1)]);!_0x248f9b[_0x2cbc60(0x142)]&&this[_0x2cbc60(0x18c)]&&!this[_0x2cbc60(0x18c)][_0x2cbc60(0x17e)]&&(_0x248f9b[_0x2cbc60(0x1c6)]=this[_0x2cbc60(0x18c)]['testAnalyticsId']);if(_0x248f9b['hook_run_uuid']||_0x248f9b[_0x2cbc60(0x1c6)]){const _0x357048={};_0x357048[_0x2cbc60(0x130)]=_0x298bf7[_0x2cbc60(0x191)],_0x357048['logs']=[_0x248f9b],await SessionHandler['uploadEventData'](_0x357048);}}catch(_0x1c64c4){_0x298bf7[_0x2cbc60(0x14c)](debug,_0x2cbc60(0x168)+constants['TEST_REPORTING_ANALYTICS']+_0x2cbc60(0x1b1)+_0x1c64c4);}};['appendTestPlatform']=async _0x386c80=>{const _0x4eca0b=a31_0xac91df,_0x2f17a5={'UzYkz':_0x4eca0b(0x159),'UjIon':_0x4eca0b(0x10e),'LnLev':function(_0x399261,_0x5267c5){return _0x399261(_0x5267c5);}};try{const _0x2a0dce={};_0x2a0dce[_0x4eca0b(0x158)]=_0x386c80['uuid']||this[_0x4eca0b(0x18c)]['testAnalyticsId'],_0x2a0dce['integrations']=_0x386c80[_0x2f17a5['UzYkz']];const _0x5d535d=_0x2a0dce,_0x314bf1={};_0x314bf1[_0x4eca0b(0x130)]=_0x2f17a5[_0x4eca0b(0x17a)],_0x314bf1[_0x4eca0b(0xd3)]=_0x5d535d,await SessionHandler[_0x4eca0b(0x19c)](_0x314bf1);}catch(_0x5cf03a){_0x2f17a5[_0x4eca0b(0x19e)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20'+constants[_0x4eca0b(0x1c2)]+_0x4eca0b(0x1b1)+_0x5cf03a);}};['analyticsResult'](_0x1e77c6){const _0x133fdc=a31_0xac91df,_0x3d3d55={};_0x3d3d55[_0x133fdc(0x1a9)]='passed',_0x3d3d55[_0x133fdc(0x195)]=_0x133fdc(0x17c),_0x3d3d55[_0x133fdc(0x140)]=_0x133fdc(0x18e);const _0x4f7681=_0x3d3d55,_0x523588={};return _0x523588[STATE_PASSED]=_0x4f7681[_0x133fdc(0x1a9)],_0x523588[STATE_PENDING]=_0x4f7681[_0x133fdc(0x195)],_0x523588[STATE_FAILED]=_0x4f7681['ZpRlC'],_0x523588[_0x1e77c6];}[a31_0xac91df(0x1af)](_0x1cb4c7){const _0x39347b=a31_0xac91df,_0x3095d6={};_0x3095d6[_0x39347b(0x1e8)]=function(_0x59c7fe,_0x1bdac7){return _0x59c7fe-_0x1bdac7;};const _0x1449b5=_0x3095d6,_0x591fe2=_0x1cb4c7[_0x39347b(0x101)]();return _0x591fe2[_0x39347b(0xc8)](0x0,_0x1449b5[_0x39347b(0x1e8)](_0x591fe2[_0x39347b(0x14f)],0x1))[_0x39347b(0x1a5)]('\x20');}['scopes'](_0x307f30){const _0x5dd768=a31_0xac91df,_0x10f447={};_0x10f447[_0x5dd768(0x15f)]=function(_0x2879aa,_0x479987){return _0x2879aa-_0x479987;};const _0x5dc332=_0x10f447,_0x473640=_0x307f30[_0x5dd768(0x101)]();return _0x473640[_0x5dd768(0xc8)](0x0,_0x5dc332[_0x5dd768(0x15f)](_0x473640[_0x5dd768(0x14f)],0x1));}[a31_0xac91df(0x1e6)](_0xf52c4e){const _0x3834ad=a31_0xac91df,_0x42478b={};_0x42478b[_0x3834ad(0x1d8)]=function(_0x398f5e,_0x366eaf){return _0x398f5e>_0x366eaf;};const _0x45c14d=_0x42478b;if(_0xf52c4e[_0x3834ad(0x106)])return _0xf52c4e[_0x3834ad(0x106)];if(_0xf52c4e[_0x3834ad(0xfb)]){const _0x56aa5c=_0xf52c4e[_0x3834ad(0xfb)][_0x3834ad(0x198)]?this['getRootParentFile'](_0xf52c4e[_0x3834ad(0xfb)]['currentTest']):null;if(_0x56aa5c)return _0x56aa5c;}if(_0xf52c4e[_0x3834ad(0xf0)]){const _0x19fe2b=this[_0x3834ad(0x1e6)](_0xf52c4e[_0x3834ad(0xf0)])||(_0xf52c4e[_0x3834ad(0xf0)][_0x3834ad(0xfb)]&&_0xf52c4e[_0x3834ad(0xf0)][_0x3834ad(0xfb)][_0x3834ad(0x198)]?this[_0x3834ad(0x1e6)](_0xf52c4e[_0x3834ad(0xf0)][_0x3834ad(0xfb)]['currentTest']):null);if(_0x19fe2b)return _0x19fe2b;_0xf52c4e[_0x3834ad(0xf0)][_0x3834ad(0xc6)]&&_0x45c14d[_0x3834ad(0x1d8)](_0xf52c4e[_0x3834ad(0xf0)][_0x3834ad(0xc6)][_0x3834ad(0x14f)],0x0)&&_0xf52c4e[_0x3834ad(0xf0)][_0x3834ad(0xc6)][_0x3834ad(0x1cd)](_0x159895=>{const _0x284040=_0x3834ad,_0x19c366=_0x159895[_0x284040(0xfb)]?this[_0x284040(0x1e6)](_0x159895[_0x284040(0xfb)]):null;if(_0x19c366)return _0x19c366;});}return null;}}module[a31_0xac91df(0xd2)]=MyReporter;
|
|
1
|
+
'use strict';function a31_0x844e(_0x49f365,_0x40f142){const _0x29a56a=a31_0x29a5();return a31_0x844e=function(_0x844e80,_0x3a2724){_0x844e80=_0x844e80-0xf5;let _0xac50d6=_0x29a56a[_0x844e80];return _0xac50d6;},a31_0x844e(_0x49f365,_0x40f142);}const a31_0x4cccec=a31_0x844e;(function(_0x3ff2f1,_0x48e1fd){const _0x264853=a31_0x844e,_0xe40d86=_0x3ff2f1();while(!![]){try{const _0x1c1665=parseInt(_0x264853(0x205))/0x1+parseInt(_0x264853(0x1f8))/0x2*(parseInt(_0x264853(0x1df))/0x3)+-parseInt(_0x264853(0x210))/0x4+parseInt(_0x264853(0xfa))/0x5*(parseInt(_0x264853(0x11a))/0x6)+-parseInt(_0x264853(0x234))/0x7+parseInt(_0x264853(0x196))/0x8*(-parseInt(_0x264853(0x13b))/0x9)+parseInt(_0x264853(0x1d5))/0xa;if(_0x1c1665===_0x48e1fd)break;else _0xe40d86['push'](_0xe40d86['shift']());}catch(_0x1c7fd6){_0xe40d86['push'](_0xe40d86['shift']());}}}(a31_0x29a5,0x5f42b));const util=require('util'),fs=require('fs'),path=require(a31_0x4cccec(0x10b)),{requireModule,getCentralUser}=require('../../../helpers/helper'),Base=requireModule(a31_0x4cccec(0x1fe),a31_0x4cccec(0x12d)),utils=requireModule('mocha/lib/utils.js',a31_0x4cccec(0x12d)),color=Base[a31_0x4cccec(0x10f)],Mocha=requireModule(a31_0x4cccec(0x12d)),Runnable=requireModule(a31_0x4cccec(0x122),a31_0x4cccec(0x12d)),{v4:uuidv4}=require(a31_0x4cccec(0x1fb)),bsSetupHelper=require('../../../helpers/helper'),testhubUtils=require(a31_0x4cccec(0x126)),centralScannerUtils=require('../../../helpers/central-scanner/helpers'),testHubConstants=require(a31_0x4cccec(0x1a6)),{FRAMEWORKS}=require(a31_0x4cccec(0x1dc)),globals=require(a31_0x4cccec(0x19e)),logger=require('../../../helpers/logger')[a31_0x4cccec(0x1ed)],TestMetadata=require(a31_0x4cccec(0x1c7)),a31_0x586eca={};a31_0x586eca[a31_0x4cccec(0xfd)]=a31_0x4cccec(0x192),a31_0x586eca[a31_0x4cccec(0x1ce)]=a31_0x4cccec(0x131),a31_0x586eca['before\x20each']=a31_0x4cccec(0x16a),a31_0x586eca[a31_0x4cccec(0x1f6)]='AFTER_EACH';const HOOK_TYPES_MAP=a31_0x586eca,{EVENT_RUN_END,EVENT_TEST_BEGIN,EVENT_TEST_END,EVENT_TEST_PENDING,EVENT_RUN_BEGIN,EVENT_TEST_FAIL,EVENT_TEST_PASS,EVENT_SUITE_BEGIN,EVENT_SUITE_END,EVENT_HOOK_BEGIN,EVENT_HOOK_END}=Mocha[a31_0x4cccec(0x118)][a31_0x4cccec(0x109)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable['constants'],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a31_0x4cccec(0x133)),{consoleHolder}=require('../../../helpers/test-observability/constants'),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require(a31_0x4cccec(0x233)),constants=require(a31_0x4cccec(0x198)),requestQueueHandler=RequestQueueHandler[a31_0x4cccec(0x1e1)]();function a31_0x29a5(){const _0x4c87a3=['lwouk','iuETS','tRnwT','_testEnv','../../../helpers/metadata','MzrWO','consoleLog','TestRunSkipped','\x20\x20<dd\x20class=\x22error\x22>','pmmuq','symbols','after\x20all','IgCmr','hook_type','</dd>','suite','Exception\x20in\x20browserstack\x20custome\x20reporter\x20with\x20error:\x20','\x20%s','5707500oFXKdf','fvyqw','type','_indents','hWOtd','</section>','JnOlZ','../../../helpers/test-observability/constants','config','MOCHA','51999arxAzV','docHtml','getInstance','oeaXe','IkrVb','failed','\x20\x20%d)\x20%s','sWWQU','comma','dziUi','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','lcnc','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','gIDkj','winstonLogger','Yoaxx','removeAllListeners','siIVs','appendTestItemLog','\x20\x20<dt>','current_hook','testStarted','result','after\x20each','dXSlD','2ATVBTn','uyFrA','pzmgF','uuid','bs:addLog:','analyticsResult','mocha/lib/reporters/base.js','runner','mgGsV','ThOHj','cibDC','IvIaz','before\x20each','705270zqPkLF','sendTestRunEvent','bsConfig','lRkqN','ODPNV','uploadEventData','RghVo','yAEgD','\x20\x20<dd><pre><code>','zPyyb','bs:addPlatformDetails:','29332tuYNpQ','WCoRx','HookRunStarted','XjFZg','JOGes','nUiZB','toString','join','statSync','WbwgE','GlCZC','JeuFc','length','body','indent','duration','now','XgWDb','docAppend','apply','fail','\x20\x20<dd\x20class=\x22error\x22><pre><code>','SFKgq','currentRetry','prototype','multiple','gYHYn','vriQX','arPfz','redirectUrl','jabHU','OWOWQ','ucTiE','appendTesthubParams','PdOwW','../../../helpers/test-observability/requestQueueHandler','5400213ViJVkF','results','COMPLETED','failureCount','trim','speed','11325kRCCSQ','currentTest','VeaWv','before\x20all','CxXFG','testRunUUID','</code></pre></dd>','current_test','sgMVJ','OvKxK','getTime','<h1>','hookAnalyticsId','includes','EUfLc','constants','bright\x20yellow','path','finished_at','once','state','color','nAICZ','inspect','ISXbP','TpGIu','failure_reason_expanded','backtrace','kdRGD','shutdown','Runner','AmaDy','906ZFOeix','hook_run_uuid','TestRunStarted','push','WsYHa','done','fXjUS','TEST_REPORTING_ANALYTICS','mocha/lib/runnable.js','\x20-\x20','test_run_uuid','OibUg','../../../helpers/testhub/utils','slow','clean','pNmtF','_currentRetry','titlePath','ctx','mocha','LogCreated','PdaKm','checkmark','AFTER_ALL','yEzvL','../test-observability/mochaUtils','eAYay','WDlgA','forEach','_paths','registerListeners','slice','%s\x20-\x20%s','189EOMJnG','pending','\x20\x20<dt\x20class=\x22error\x22>','scope','__platform__','root','rMoyZ','increaseIndent','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','green','sANfl','QSCwu','mocha/lib/reporters/','markedStatus','ZwqHv','exznM','EvgRc','cwd','CZMXI','HookRunFinished','toISOString','XfIJA','vmYxj','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','shouldProcessEventForTesthub','suites','originalTitle','setCurrentTestData','\x20with\x20error\x20:\x20','prefixTestPath','expanded','skipped','testObservability','BRGLi','RUNNING','oEadK','bang','_buildCreated','uAqxz','spec','error','passed','feijc','ySNow','parent','AybFZ','Failed\x20to\x20load\x20reporter\x20','BEFORE_EACH','LBYWF','file','RsNak','bhfRd','javascript','lOSrQ','</dt>','xkrQu','jxdBY','stdout','get','tmSLQ','retryOf','scopes','Nmbfp','logs','__indents','kktVj','2|3|0|4|1','lHAnL','reporterOption','failCount','<dl>','LNYnD','appendTestPlatform','File\x20path\x20could\x20not\x20be\x20found','started_at','PExID','write','TestRunFinished','yMjcW','HookFinished','QTZzk','KfuWl','PtveD','VxNxw','call','jFtVP','myNhY','BEFORE_ALL','getRootParentFile','pid','hook_run','177672XGxHhr','responseCode','../../utils/constants','hUJoC','match','fFzvg','uavfC','oOXop','../../../helpers/globals','yWYVH','doc','gvpvh','RiZAu','testAnalyticsId','TcfMm','lcgyb','../../../helpers/testhub/constants','fast','exports','relative','Euixf','event_type','</h1>','fullTitle','err','test','escape','test_run','xKRSB','<section\x20class=\x22suite\x22>','decreaseIndent','oqeOX','UnhandledError','Reporter','</dl>','title','EVENT','TvbsH','zWEIw','styft','findGitConfig','integrations','finalResults','dot','\x20(%dms)'];a31_0x29a5=function(){return _0x4c87a3;};return a31_0x29a5();}class MyReporter{constructor(_0x3704d8,_0x5bd9fd){const _0x559d7f=a31_0x4cccec,_0x1828e2={'eAYay':function(_0x40b58b,_0x181c46){return _0x40b58b===_0x181c46;},'LNYnD':_0x559d7f(0x162),'OvKxK':function(_0xe6cdf7,_0x4d0cd8){return _0xe6cdf7===_0x4d0cd8;},'OibUg':function(_0x2616ba,_0xd28d71){return _0x2616ba+_0xd28d71;},'vriQX':function(_0x597006,_0x47c311){return _0x597006+_0x47c311;},'ThOHj':function(_0x50bcae,_0xd6cd31,_0x29b74e){return _0x50bcae(_0xd6cd31,_0x29b74e);},'JnOlZ':_0x559d7f(0x144),'yEzvL':'%s\x20','hWOtd':function(_0x210a02,_0xec104f,_0x7e584d){return _0x210a02(_0xec104f,_0x7e584d);},'feijc':'light','sWWQU':_0x559d7f(0x13a),'iuETS':_0x559d7f(0x15d),'xKRSB':function(_0x466533,_0xce75ea){return _0x466533===_0xce75ea;},'yMjcW':_0x559d7f(0x1a0),'zAdKW':function(_0x343303){return _0x343303();},'BfuJI':function(_0x5c3042){return _0x5c3042();},'IgCmr':_0x559d7f(0x212),'gvpvh':_0x559d7f(0x14e),'SFKgq':function(_0x472c3b,_0x23c269){return _0x472c3b===_0x23c269;},'oOXop':_0x559d7f(0x164),'bhfRd':_0x559d7f(0x1a7),'nAICZ':function(_0x4adaee,_0x18f40a){return _0x4adaee+_0x18f40a;},'VQHcq':function(_0x827cb5,_0x19f860){return _0x827cb5+_0x19f860;},'jabHU':function(_0x54a2ad,_0x34a662,_0x117892){return _0x54a2ad(_0x34a662,_0x117892);},'WCoRx':_0x559d7f(0x130),'RghVo':function(_0x525071,_0x25a86c,_0x2fb975){return _0x525071(_0x25a86c,_0x2fb975);},'aIDkH':'pass','dziUi':_0x559d7f(0x1d4),'AybFZ':function(_0x3ae409,_0x1fc6f4){return _0x3ae409+_0x1fc6f4;},'rAfTW':function(_0x23c350,_0x267eda){return _0x23c350+_0x267eda;},'trvCV':_0x559d7f(0x1c2),'PdaKm':_0x559d7f(0x224),'yAEgD':_0x559d7f(0x1e5),'exznM':function(_0x5ae8cc,_0x146420){return _0x5ae8cc+_0x146420;},'pzmgF':_0x559d7f(0x10a),'pNmtF':_0x559d7f(0xf6),'EUfLc':function(_0x2179a0,_0x425179){return _0x2179a0===_0x425179;},'zPyyb':_0x559d7f(0x1c1),'uavfC':function(_0x574d04,_0x3f8955){return _0x574d04===_0x3f8955;},'ThJeD':_0x559d7f(0x127),'ISXbP':function(_0x1f3474,_0x507f2e){return _0x1f3474===_0x507f2e;},'GlCZC':function(_0x10c72f,_0x801add){return _0x10c72f===_0x801add;},'QTZzk':function(_0xfc083b,_0xd4331b){return _0xfc083b===_0xd4331b;},'nUiZB':_0x559d7f(0x17d),'fXjUS':function(_0x4b24d9,_0x679fca){return _0x4b24d9===_0x679fca;},'ANnAI':function(_0x2cea0a,_0x24b805){return _0x2cea0a===_0x24b805;},'oEadK':_0x559d7f(0x13c),'VxNxw':function(_0x18a7e8){return _0x18a7e8();},'tRnwT':_0x559d7f(0x1ca),'hUJoC':function(_0x585827,_0x27f2f6){return _0x585827===_0x27f2f6;},'zWEIw':function(_0x594e72,_0x2aca7b){return _0x594e72(_0x2aca7b);},'XfIJA':function(_0x51d175){return _0x51d175();},'XjFZg':function(_0x11f858,_0x3af3bc){return _0x11f858(_0x3af3bc);},'BRGLi':function(_0x1637b1,_0x32268e){return _0x1637b1===_0x32268e;},'styft':'xunit','CZMXI':function(_0x591d28,_0x7cdc22,_0x5d6353){return _0x591d28(_0x7cdc22,_0x5d6353);},'arPfz':'mocha','lwouk':function(_0x475726,_0x440e28){return _0x475726===_0x440e28;},'TcfMm':function(_0x59a8dc,_0x1fa0e4){return _0x59a8dc(_0x1fa0e4);},'aktvM':function(_0x360347,_0x330a0c){return _0x360347!==_0x330a0c;}};this['type']=_0x5bd9fd[_0x559d7f(0x17f)][_0x559d7f(0x1d7)],this[_0x559d7f(0x15b)]=_0x1828e2[_0x559d7f(0x18e)](isTestObservabilitySession),Base[_0x559d7f(0x18f)](this,_0x3704d8,_0x5bd9fd),this['_indents']=0x0,this[_0x559d7f(0x180)]=0x0,this[_0x559d7f(0xf5)]=[],this[_0x559d7f(0x1c0)]=[],this['suiteCount']=0x0,this[_0x559d7f(0x160)]=![],this['_testResults']=[],this[_0x559d7f(0x1c6)]=_0x1828e2[_0x559d7f(0x150)](getTestEnv),this[_0x559d7f(0x137)]=new PathHelper({'cwd':process[_0x559d7f(0x14c)]()},this['_testEnv']['location_prefix']),this['_upstreamConfig']=_0x5bd9fd['reporterOption'][_0x559d7f(0x207)],this[_0x559d7f(0x138)]();_0x1828e2['ANnAI'](this[_0x559d7f(0x1d7)],_0x1828e2['yMjcW'])&&(this[_0x559d7f(0x1e0)]='',this[_0x559d7f(0x17b)]=0x2);_0x3704d8['once'](EVENT_RUN_BEGIN,async()=>{const _0x524c0b=_0x559d7f;_0x1828e2['eAYay'](this[_0x524c0b(0x1d7)],_0x1828e2[_0x524c0b(0x182)])&&Base[_0x524c0b(0x1c9)]();})['on'](EVENT_SUITE_BEGIN,_0x1da2be=>{const _0x4f7145=_0x559d7f;if(_0x1da2be[_0x4f7145(0x140)])return;if(_0x1828e2[_0x4f7145(0x103)](this[_0x4f7145(0x1d7)],_0x1828e2['LNYnD']))this[_0x4f7145(0x142)](),Base[_0x4f7145(0x1c9)](_0x1828e2['OibUg'](_0x1828e2[_0x4f7145(0x22b)](this[_0x4f7145(0x21e)](),_0x1828e2[_0x4f7145(0x201)](color,_0x1828e2[_0x4f7145(0x1db)],_0x1828e2[_0x4f7145(0x132)])),_0x1828e2[_0x4f7145(0x1d9)](color,_0x1828e2[_0x4f7145(0x165)],_0x1828e2[_0x4f7145(0x1e6)])),_0x1828e2[_0x4f7145(0x1c4)],_0x1da2be['title'],global['__platform__']);else _0x1828e2[_0x4f7145(0x1b2)](this[_0x4f7145(0x1d7)],_0x1828e2[_0x4f7145(0x189)])&&(this[_0x4f7145(0x222)](this['indent']()+_0x4f7145(0x1b3)),++this['__indents'],this['docAppend'](this[_0x4f7145(0x21e)]()+_0x4f7145(0x105)+utils['escape'](_0x1da2be[_0x4f7145(0x1b9)]+_0x4f7145(0x123)+global['__platform__'])+_0x4f7145(0x1ac)),this[_0x4f7145(0x222)](this[_0x4f7145(0x21e)]()+_0x4f7145(0x181)));})['on'](EVENT_HOOK_BEGIN,async _0xef2bca=>{const _0x462198=_0x559d7f;if(_0x1828e2[_0x462198(0x1b2)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants[_0x462198(0x1ba)]['HookStarted']),!![])){if(!_0xef2bca[_0x462198(0x106)])_0xef2bca[_0x462198(0x106)]=_0x1828e2['zAdKW'](uuidv4);else _0xef2bca['markedStatus']&&(_0xef2bca[_0x462198(0x106)]=_0x1828e2['BfuJI'](uuidv4),delete _0xef2bca[_0x462198(0x148)]);_0xef2bca[_0x462198(0x185)]=new Date()[_0x462198(0x14f)](),this[_0x462198(0x1f3)]=_0xef2bca,await this[_0x462198(0x206)](_0xef2bca,undefined,![],_0x1828e2[_0x462198(0x1cf)]);}})['on'](EVENT_HOOK_END,async _0x410254=>{const _0xb0b883=_0x559d7f;_0x1828e2[_0xb0b883(0x134)](testhubUtils[_0xb0b883(0x153)](testHubConstants[_0xb0b883(0x1ba)][_0xb0b883(0x18a)]),!![])&&(!_0x410254['markedStatus']&&(_0x410254[_0xb0b883(0x148)]=!![],await this[_0xb0b883(0x206)](_0x410254,undefined,![],_0x1828e2[_0xb0b883(0x1a1)])));})['on'](EVENT_SUITE_END,_0x2cd4f8=>{const _0x35d3aa=_0x559d7f,_0x422ef0={'dXSlD':function(_0x51d9b8,_0xbfd2e3){const _0x21616d=a31_0x844e;return _0x1828e2[_0x21616d(0x226)](_0x51d9b8,_0xbfd2e3);},'gYHYn':_0x1828e2[_0x35d3aa(0x19d)],'TvbsH':function(_0x40c0a6,_0x47f62a){const _0x2f1b33=_0x35d3aa;return _0x1828e2[_0x2f1b33(0x226)](_0x40c0a6,_0x47f62a);},'HSRrb':_0x1828e2[_0x35d3aa(0x16e)],'ySNow':function(_0x4f07d6,_0x4734d3){const _0x54286a=_0x35d3aa;return _0x1828e2[_0x54286a(0x110)](_0x4f07d6,_0x4734d3);},'myNhY':function(_0x5dc55f,_0x1366a4){return _0x1828e2['VQHcq'](_0x5dc55f,_0x1366a4);},'IkrVb':function(_0x126b34,_0x30479b,_0x85db83){const _0x2bb4db=_0x35d3aa;return _0x1828e2[_0x2bb4db(0x22e)](_0x126b34,_0x30479b,_0x85db83);},'AmaDy':_0x1828e2[_0x35d3aa(0x211)],'WsYHa':function(_0xcae0e3,_0x1ccf7a){const _0x3f8c3c=_0x35d3aa;return _0x1828e2[_0x3f8c3c(0x110)](_0xcae0e3,_0x1ccf7a);},'KfuWl':function(_0x4b4a43,_0x2ffc13,_0x232670){const _0x4e38c3=_0x35d3aa;return _0x1828e2[_0x4e38c3(0x20b)](_0x4b4a43,_0x2ffc13,_0x232670);},'CxXFG':_0x1828e2['aIDkH'],'jFtVP':_0x1828e2[_0x35d3aa(0x1e8)],'cibDC':function(_0x4fa2a1,_0x109a83){const _0x1007ae=_0x35d3aa;return _0x1828e2[_0x1007ae(0x125)](_0x4fa2a1,_0x109a83);},'lHAnL':function(_0x43a369,_0x17cf2d){const _0x25a4b0=_0x35d3aa;return _0x1828e2[_0x25a4b0(0x168)](_0x43a369,_0x17cf2d);},'ZPFVs':function(_0x452ce9,_0x1ef2e4){const _0x5c3eda=_0x35d3aa;return _0x1828e2[_0x5c3eda(0x22b)](_0x452ce9,_0x1ef2e4);},'RLoUc':function(_0x2d5c31,_0x462984,_0xdb513a){const _0x1f2afe=_0x35d3aa;return _0x1828e2[_0x1f2afe(0x1d9)](_0x2d5c31,_0x462984,_0xdb513a);},'QSCwu':function(_0x493a0e,_0x181782){return _0x1828e2['rAfTW'](_0x493a0e,_0x181782);},'kktVj':function(_0x366ba3,_0x3c1385,_0x9bc030){const _0x5e2864=_0x35d3aa;return _0x1828e2[_0x5e2864(0x20b)](_0x366ba3,_0x3c1385,_0x9bc030);},'lRkqN':_0x1828e2['trvCV'],'VRrGy':_0x1828e2[_0x35d3aa(0x12f)],'DMrXW':_0x1828e2[_0x35d3aa(0x20c)]};if(_0x2cd4f8[_0x35d3aa(0x140)])return;if(_0x1828e2[_0x35d3aa(0x1b2)](this['type'],_0x1828e2[_0x35d3aa(0x182)]))Base[_0x35d3aa(0x1c9)](),Base[_0x35d3aa(0x1c9)](_0x1828e2[_0x35d3aa(0x110)](_0x1828e2[_0x35d3aa(0x14a)](this[_0x35d3aa(0x21e)](),_0x1828e2[_0x35d3aa(0x1d9)](color,_0x1828e2[_0x35d3aa(0x1fa)],_0x1828e2[_0x35d3aa(0x132)])),_0x1828e2[_0x35d3aa(0x22e)](color,_0x1828e2[_0x35d3aa(0x165)],_0x1828e2[_0x35d3aa(0x1e6)])),_0x1828e2[_0x35d3aa(0x129)],_0x2cd4f8[_0x35d3aa(0x1b9)],global[_0x35d3aa(0x13f)]),this[_0x35d3aa(0xf5)]['forEach'](_0x574ee7=>{const _0x368000=_0x35d3aa;if(_0x422ef0[_0x368000(0x1f7)](_0x574ee7[_0x368000(0x10e)],_0x422ef0[_0x368000(0x22a)])){var _0x1de940;_0x422ef0[_0x368000(0x1bb)](_0x574ee7[_0x368000(0xf9)],_0x422ef0['HSRrb'])?(_0x1de940=_0x422ef0[_0x368000(0x166)](_0x422ef0['myNhY'](this[_0x368000(0x21e)](),_0x422ef0['IkrVb'](color,_0x422ef0[_0x368000(0x119)],_0x422ef0[_0x368000(0x11e)]('\x20\x20',Base['symbols']['ok']))),_0x422ef0[_0x368000(0x18c)](color,_0x422ef0[_0x368000(0xfe)],_0x422ef0[_0x368000(0x190)])),Base[_0x368000(0x1c9)](_0x1de940,_0x574ee7[_0x368000(0x1b9)])):(_0x1de940=_0x422ef0[_0x368000(0x202)](_0x422ef0[_0x368000(0x17e)](_0x422ef0['ZPFVs'](this['indent'](),_0x422ef0['RLoUc'](color,_0x422ef0[_0x368000(0x119)],_0x422ef0[_0x368000(0x146)]('\x20\x20',Base[_0x368000(0x1cd)]['ok']))),_0x422ef0[_0x368000(0x17c)](color,_0x422ef0[_0x368000(0xfe)],_0x422ef0[_0x368000(0x190)])),_0x422ef0[_0x368000(0x1e3)](color,_0x574ee7[_0x368000(0xf9)],_0x422ef0[_0x368000(0x208)])),Base[_0x368000(0x1c9)](_0x1de940,_0x574ee7['title'],_0x574ee7[_0x368000(0x21f)]));}else Base[_0x368000(0x1c9)](_0x422ef0[_0x368000(0x191)](this[_0x368000(0x21e)](),_0x422ef0[_0x368000(0x18c)](color,_0x422ef0['VRrGy'],_0x422ef0['DMrXW'])),++this[_0x368000(0x180)],_0x574ee7[_0x368000(0x1b9)]);}),this[_0x35d3aa(0x1b4)]();else _0x1828e2[_0x35d3aa(0x134)](this[_0x35d3aa(0x1d7)],_0x1828e2[_0x35d3aa(0x189)])&&(this[_0x35d3aa(0x222)](this[_0x35d3aa(0x21e)]()+_0x35d3aa(0x1b8)),--this[_0x35d3aa(0x17b)],this[_0x35d3aa(0x222)](this[_0x35d3aa(0x21e)]()+_0x35d3aa(0x1da)),--this[_0x35d3aa(0x17b)]);Array[_0x35d3aa(0x228)][_0x35d3aa(0x11d)][_0x35d3aa(0x223)](this[_0x35d3aa(0x1c0)],this['results']),this['results']=[];})['on'](EVENT_TEST_PASS,async _0x1a02d3=>{const _0x55b3e6=_0x559d7f;this[_0x55b3e6(0xf5)][_0x55b3e6(0x11d)]({'speed':_0x1a02d3[_0x55b3e6(0xf9)],'suite':_0x1a02d3[_0x55b3e6(0x167)][_0x55b3e6(0x1b9)],'title':_0x1a02d3[_0x55b3e6(0x1b9)],'fullTitle':_0x1a02d3[_0x55b3e6(0x1ad)](),'duration':_0x1a02d3[_0x55b3e6(0x21f)],'state':_0x1a02d3['state'],'err':{},'currentRetry':_0x1a02d3[_0x55b3e6(0x227)](),'titlePathV':_0x1a02d3[_0x55b3e6(0x12b)](),'isPending':_0x1a02d3['isPending']()});if(_0x1828e2[_0x55b3e6(0x108)](this[_0x55b3e6(0x1d7)],_0x1828e2['zPyyb']))_0x1828e2[_0x55b3e6(0x19c)](_0x1a02d3[_0x55b3e6(0xf9)],_0x1828e2['ThJeD'])?process[_0x55b3e6(0x174)]['write'](Base[_0x55b3e6(0x10f)](_0x1828e2[_0x55b3e6(0x1fa)],Base[_0x55b3e6(0x1cd)][_0x55b3e6(0x1c1)])):process[_0x55b3e6(0x174)][_0x55b3e6(0x187)](Base['color'](_0x1a02d3[_0x55b3e6(0xf9)],Base['symbols'][_0x55b3e6(0x1c1)]));else{if(_0x1828e2[_0x55b3e6(0x112)](this[_0x55b3e6(0x1d7)],_0x1828e2[_0x55b3e6(0x189)])){this[_0x55b3e6(0x222)](this[_0x55b3e6(0x21e)]()+'\x20\x20<dt>'+utils[_0x55b3e6(0x1b0)](_0x1a02d3['title'])+'</dt>'),this['docAppend'](this[_0x55b3e6(0x21e)]()+_0x55b3e6(0x1f2)+utils[_0x55b3e6(0x1b0)](_0x1a02d3[_0x55b3e6(0x16c)])+_0x55b3e6(0x171));var _0x144178=utils[_0x55b3e6(0x1b0)](utils[_0x55b3e6(0x128)](_0x1a02d3[_0x55b3e6(0x21d)]));this[_0x55b3e6(0x222)](this['indent']()+_0x55b3e6(0x20d)+_0x144178+_0x55b3e6(0x100));}}_0x1828e2[_0x55b3e6(0x1b2)](testhubUtils[_0x55b3e6(0x153)](),!![])&&(!_0x1a02d3[_0x55b3e6(0x148)]&&(_0x1a02d3['markedStatus']=!![],await this[_0x55b3e6(0x206)](_0x1a02d3)));})['on'](EVENT_TEST_FAIL,async(_0xaec234,_0x1bf3cb)=>{const _0x35a590=_0x559d7f;this[_0x35a590(0xf5)]['push']({'title':_0xaec234[_0x35a590(0x1b9)],'suite':_0xaec234[_0x35a590(0x167)][_0x35a590(0x1b9)],'state':_0xaec234[_0x35a590(0x10e)],'err':{'message':util[_0x35a590(0x111)](_0x1bf3cb)},'fullTitle':_0xaec234[_0x35a590(0x1ad)](),'speed':_0xaec234[_0x35a590(0xf9)],'currentRetry':_0xaec234['currentRetry'](),'titlePathV':_0xaec234[_0x35a590(0x12b)]()});if(_0x1828e2[_0x35a590(0x21a)](this[_0x35a590(0x1d7)],_0x1828e2[_0x35a590(0x20e)]))process['stdout'][_0x35a590(0x187)](Base[_0x35a590(0x10f)](_0x1828e2[_0x35a590(0x12f)],Base[_0x35a590(0x1cd)][_0x35a590(0x15f)]));else{if(_0x1828e2[_0x35a590(0x18b)](this[_0x35a590(0x1d7)],_0x1828e2[_0x35a590(0x189)])){const _0x2aaf95=_0x1828e2[_0x35a590(0x215)]['split']('|');let _0x1df4aa=0x0;while(!![]){switch(_0x2aaf95[_0x1df4aa++]){case'0':var _0x105cf5=utils[_0x35a590(0x1b0)](utils['clean'](_0xaec234['body']));continue;case'1':this[_0x35a590(0x222)](this[_0x35a590(0x21e)]()+_0x35a590(0x1cb)+utils[_0x35a590(0x1b0)](_0xaec234[_0x35a590(0x1ae)])+_0x35a590(0x1d1));continue;case'2':this[_0x35a590(0x222)](this[_0x35a590(0x21e)]()+_0x35a590(0x13d)+utils[_0x35a590(0x1b0)](_0xaec234[_0x35a590(0x1b9)])+_0x35a590(0x171));continue;case'3':this['docAppend'](this['indent']()+'\x20\x20<dt\x20class=\x22error\x22>'+utils['escape'](_0xaec234[_0x35a590(0x16c)])+_0x35a590(0x171));continue;case'4':this[_0x35a590(0x222)](this[_0x35a590(0x21e)]()+_0x35a590(0x225)+_0x105cf5+_0x35a590(0x100));continue;}break;}}}if(_0x1828e2[_0x35a590(0x120)](testhubUtils[_0x35a590(0x153)](testHubConstants[_0x35a590(0x1ba)][_0x35a590(0x18a)]),!![])){if(!_0xaec234[_0x35a590(0x148)]){_0xaec234[_0x35a590(0x148)]=!![];if(_0xaec234[_0x35a590(0x1a3)])await this[_0x35a590(0x206)](_0xaec234,_0x1bf3cb);else _0xaec234[_0x35a590(0x106)]&&await this[_0x35a590(0x206)](_0xaec234,_0x1bf3cb,![],_0x1828e2[_0x35a590(0x1a1)]);}}})['on'](EVENT_TEST_PENDING,async _0x3750df=>{const _0x46cdd0=_0x559d7f;this['results'][_0x46cdd0(0x11d)]({'title':_0x3750df[_0x46cdd0(0x1b9)],'suite':_0x3750df[_0x46cdd0(0x167)]['title'],'state':_0x3750df['state'],'err':{},'fullTitle':_0x3750df['fullTitle'](),'speed':_0x3750df[_0x46cdd0(0xf9)],'currentRetry':_0x3750df[_0x46cdd0(0x227)](),'titlePathV':_0x3750df[_0x46cdd0(0x12b)]()}),_0x1828e2['ANnAI'](this[_0x46cdd0(0x1d7)],_0x1828e2[_0x46cdd0(0x20e)])&&process[_0x46cdd0(0x174)]['write'](Base['color'](_0x1828e2[_0x46cdd0(0x15e)],Base['symbols'][_0x46cdd0(0x1e7)])),_0x1828e2['GlCZC'](testhubUtils[_0x46cdd0(0x153)](),!![])&&(!_0x3750df[_0x46cdd0(0x1a3)]&&(_0x3750df['testAnalyticsId']=_0x1828e2['VxNxw'](uuidv4)),!_0x3750df['markedStatus']&&(_0x3750df[_0x46cdd0(0x148)]=!![],await this['sendTestRunEvent'](_0x3750df,undefined,![],_0x1828e2[_0x46cdd0(0x1c5)])));})['on'](EVENT_TEST_BEGIN,async _0x4e590c=>{const _0x4307b5=_0x559d7f;_0x1828e2[_0x4307b5(0x199)](testhubUtils[_0x4307b5(0x153)](),!![])&&await this['testStarted'](_0x4e590c);})['on'](EVENT_TEST_END,async _0x1fcfe5=>{const _0x7a8774=_0x559d7f;_0x1828e2['xKRSB'](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x1fcfe5[_0x7a8774(0x148)]&&(_0x1fcfe5['markedStatus']=!![],await this[_0x7a8774(0x206)](_0x1fcfe5)));})[_0x559d7f(0x10d)](EVENT_RUN_END,async()=>{const _0x233406=_0x559d7f;try{if(_0x1828e2['GlCZC'](testhubUtils['shouldProcessEventForTesthub'](),!![])){const _0x5ea029=_0x1828e2[_0x233406(0x1bc)](getHookSkippedTests,this[_0x233406(0x1ff)][_0x233406(0x1d2)]);for(const _0x2625bc of _0x5ea029){!_0x2625bc['testAnalyticsId']&&(_0x2625bc['testAnalyticsId']=_0x1828e2['XfIJA'](uuidv4)),await this['sendTestRunEvent'](_0x2625bc,undefined,![],_0x1828e2[_0x233406(0x1c5)]);}}}catch(_0x3085e5){_0x1828e2[_0x233406(0x213)](debug,_0x233406(0x1eb)+_0x3085e5);}await requestQueueHandler[_0x233406(0x117)](),_0x1828e2[_0x233406(0x15c)](this[_0x233406(0x1d7)],_0x1828e2[_0x233406(0x189)])&&Base[_0x233406(0x1c9)](this[_0x233406(0x1e0)]);});if(this[_0x559d7f(0x1d7)]&&![_0x1828e2[_0x559d7f(0x189)],_0x1828e2[_0x559d7f(0x1bd)],_0x1828e2[_0x559d7f(0x182)],_0x1828e2['zPyyb']]['includes'](this['type'])){const _0x4e666b=this[_0x559d7f(0x1d7)][_0x559d7f(0xf8)]();this['Reporter']=null;try{this[_0x559d7f(0x1b7)]=_0x1828e2[_0x559d7f(0x14d)](requireModule,_0x559d7f(0x147)+_0x4e666b+'.js',_0x1828e2[_0x559d7f(0x22c)]);}catch(_0x565b49){_0x1828e2[_0x559d7f(0x1bc)](debug,_0x559d7f(0x1d3)+_0x565b49);}if(_0x1828e2[_0x559d7f(0x1c3)](this[_0x559d7f(0x1b7)],null))try{this[_0x559d7f(0x1b7)]=_0x1828e2[_0x559d7f(0x1a4)](require,_0x4e666b);}catch(_0x2b6a56){console[_0x559d7f(0x163)](_0x559d7f(0x169)+_0x4e666b);}if(_0x1828e2['aktvM'](this['Reporter'],null)){const _0x2b6367={};_0x2b6367['reporterOptions']=_0x5bd9fd[_0x559d7f(0x17f)],this[_0x559d7f(0x1b7)]=new this[(_0x559d7f(0x1b7))](_0x3704d8,_0x2b6367);}}}[a31_0x4cccec(0x21e)](){const _0x467449=a31_0x4cccec,_0xde36a8={'MzrWO':function(_0x1d9bdf,_0x49fd33){return _0x1d9bdf(_0x49fd33);}};return _0xde36a8[_0x467449(0x1c8)](Array,this[_0x467449(0x1d8)])[_0x467449(0x217)]('\x20\x20');}['increaseIndent'](){const _0x416583=a31_0x4cccec;this[_0x416583(0x1d8)]++;}[a31_0x4cccec(0x1b4)](){const _0x44f5cf=a31_0x4cccec;this[_0x44f5cf(0x1d8)]--;}[a31_0x4cccec(0x222)](_0x21e230){const _0x438dce=a31_0x4cccec;this[_0x438dce(0x1e0)]+=_0x21e230;}[a31_0x4cccec(0x11f)](_0x4e67e7,_0xadc41f){const _0x5af148=a31_0x4cccec,_0x1e8a1c={'RiZAu':function(_0x10b525,_0x28fdf8){return _0x10b525(_0x28fdf8);}},_0x55b782={};_0x55b782[_0x5af148(0xf7)]=_0x4e67e7,_0x55b782[_0x5af148(0xf5)]=this[_0x5af148(0x1c0)],_0x1e8a1c[_0x5af148(0x1a2)](_0xadc41f,_0x55b782);}[a31_0x4cccec(0x138)](){const _0x57e52b=a31_0x4cccec;process[_0x57e52b(0x1ef)]('bs:addLog:'+process['pid']),process['on'](_0x57e52b(0x1fc)+process[_0x57e52b(0x194)],this[_0x57e52b(0x1f1)]['bind'](this)),process[_0x57e52b(0x1ef)]('bs:addPlatformDetails:'+process['pid']),process['on'](_0x57e52b(0x20f)+process[_0x57e52b(0x194)],this[_0x57e52b(0x183)]['bind'](this));}[a31_0x4cccec(0x1f4)]=async _0x305254=>{const _0x4a9846=a31_0x4cccec,_0x3d6b1a={'jpLug':function(_0xdf1279){return _0xdf1279();},'LBYWF':_0x4a9846(0xff),'TIZRA':function(_0x69bd72,_0x112256){return _0x69bd72>_0x112256;},'IvIaz':function(_0x268270,_0x56cd26){return _0x268270===_0x56cd26;},'Euixf':_0x4a9846(0x11c),'TpsKy':function(_0x5719c5,_0x45620d){return _0x5719c5(_0x45620d);}};try{const _0xc192ce=this[_0x4a9846(0x101)];this[_0x4a9846(0x101)]=_0x305254,_0x305254[_0x4a9846(0x177)]=null,_0x305254[_0x4a9846(0x1a3)]=_0x3d6b1a['jpLug'](uuidv4),globals['setGlobal'](_0x3d6b1a[_0x4a9846(0x16b)],_0x305254[_0x4a9846(0x1a3)]),_0x305254[_0x4a9846(0x185)]=new Date()[_0x4a9846(0x14f)](),_0x3d6b1a['TIZRA'](_0x305254[_0x4a9846(0x12a)],0x0)&&_0xc192ce&&_0x3d6b1a[_0x4a9846(0x203)](_0xc192ce['title'],_0x305254[_0x4a9846(0x1b9)])?(_0x305254[_0x4a9846(0x177)]=_0xc192ce[_0x4a9846(0x1a3)],await this[_0x4a9846(0x206)](_0x305254,undefined,![],_0x3d6b1a[_0x4a9846(0x1aa)]),_0xc192ce[_0x4a9846(0x10e)]=STATE_FAILED,await this[_0x4a9846(0x206)](_0xc192ce,undefined,!![])):await this[_0x4a9846(0x206)](_0x305254,undefined,![],_0x3d6b1a[_0x4a9846(0x1aa)]);}catch(_0x3a1472){_0x3d6b1a['TpsKy'](debug,_0x4a9846(0x1e9)+_0x3a1472);}};['sendTestRunEvent']=async(_0x33e93f,_0x3e27a6=undefined,_0x3c4db0=![],_0x5d426=a31_0x4cccec(0x188))=>{const _0x4374ca=a31_0x4cccec,_0x3410df={'oeaXe':function(_0x51964a,_0x2a2cf9){return _0x51964a===_0x2a2cf9;},'jxdBY':function(_0x24d786,_0x2e3b96){return _0x24d786!==_0x2e3b96;},'lcgyb':_0x4374ca(0x1af),'siIVs':'err','rMoyZ':function(_0x5f1117,_0x3bb8f8){return _0x5f1117!==_0x3bb8f8;},'XudmP':_0x4374ca(0x184),'fvyqw':'Mocha','gIDkj':_0x4374ca(0x16f),'mgGsV':'TestRunSkipped','JVtTY':_0x4374ca(0x15a),'sgMVJ':function(_0x414ef6,_0x467036){return _0x414ef6-_0x467036;},'yWYVH':'AssertionError','EvgRc':_0x4374ca(0x1b6),'sANfl':_0x4374ca(0x188),'taNav':_0x4374ca(0x11c),'sNBJk':function(_0x1b6e43){return _0x1b6e43();},'JeuFc':_0x4374ca(0x185),'fFzvg':_0x4374ca(0x10c),'uAMyx':function(_0x1762a0,_0x38a9f2){return _0x1762a0(_0x38a9f2);},'lOSrQ':function(_0x254861,_0x304a69){return _0x254861===_0x304a69;},'kdRGD':'HookRunFinished','pmmuq':function(_0x283b96,_0x40cc46){return _0x283b96!==_0x40cc46;},'tMRcI':'failed','oqeOX':'passed','OWOWQ':_0x4374ca(0x204),'JhoIe':function(_0x228d42,_0x1b8f90){return _0x228d42===_0x1b8f90;},'WbwgE':function(_0x3e490c,_0x5b32b1){return _0x3e490c(_0x5b32b1);},'PdOwW':'failure','ucTiE':'failure_backtrace','EJnTR':_0x4374ca(0x115),'KZRJB':_0x4374ca(0x114),'VeaWv':_0x4374ca(0x159),'XgWDb':_0x4374ca(0x1d0),'cdLrR':_0x4374ca(0x195),'WDlgA':_0x4374ca(0x1b1),'RsNak':function(_0x38d21f,_0xc1e1a6){return _0x38d21f(_0xc1e1a6);}};try{if(_0x33e93f[_0x4374ca(0x21d)]&&_0x33e93f['body']['match'](/browserstack internal helper hook/))return;let _0x3b9c41=[];if(_0x3410df[_0x4374ca(0x1e2)](_0x33e93f[_0x4374ca(0x10e)],STATE_FAILED)){if(_0x3410df[_0x4374ca(0x173)](_0x33e93f[_0x4374ca(0x1ae)],undefined))_0x3b9c41=_0x33e93f[_0x4374ca(0x1ae)]['multiple']?[_0x33e93f[_0x4374ca(0x1ae)][_0x4374ca(0x229)],_0x3410df[_0x4374ca(0x1a5)]]:[_0x33e93f[_0x4374ca(0x1ae)],_0x3410df[_0x4374ca(0x1f0)]];else _0x3410df[_0x4374ca(0x173)](_0x3e27a6,undefined)?_0x3b9c41=[_0x3e27a6,_0x3410df['siIVs']]:_0x3b9c41=[];}const _0x453766=_0x3410df[_0x4374ca(0x173)](_0x33e93f[_0x4374ca(0x1ae)],undefined)?_0x33e93f[_0x4374ca(0x1ae)]['toString']():_0x3410df[_0x4374ca(0x141)](_0x3e27a6,undefined)?_0x3e27a6[_0x4374ca(0x216)]():undefined;let _0x5e0a7;try{_0x5e0a7=this[_0x4374ca(0x193)](_0x33e93f);}catch(_0x40b051){_0x5e0a7=null;}const _0x44c85c=_0x5e0a7?this[_0x4374ca(0x1be)](_0x5e0a7):null,_0x19b324=_0x5e0a7?this[_0x4374ca(0x137)][_0x4374ca(0x158)](this[_0x4374ca(0x193)](_0x33e93f)):_0x3410df['XudmP'],_0x3c9d3d={'framework':_0x3410df[_0x4374ca(0x1d6)],'uuid':_0x33e93f[_0x4374ca(0x1a3)]||_0x33e93f[_0x4374ca(0x106)],'name':_0x33e93f['title'],'body':{'lang':_0x3410df[_0x4374ca(0x1ec)],'code':_0x33e93f['body']},'scope':this['scope'](_0x33e93f),'scopes':this['scopes'](_0x33e93f),'identifier':_0x33e93f[_0x4374ca(0x1ad)](),'file_name':_0x19b324,'vc_filepath':_0x44c85c?path[_0x4374ca(0x1a9)](_0x44c85c,_0x5e0a7):null,'location':_0x19b324,'result':_0x3410df['oeaXe'](_0x5d426,_0x3410df[_0x4374ca(0x200)])?_0x3410df['JVtTY']:this[_0x4374ca(0x1fd)](_0x33e93f[_0x4374ca(0x10e)]),'failure_reason':_0x453766,'duration_in_ms':_0x33e93f[_0x4374ca(0x21f)]||(_0x5d426['match'](/Finished/)||_0x5d426['match'](/Skipped/)?_0x3410df[_0x4374ca(0x102)](Date[_0x4374ca(0x220)](),new Date(_0x33e93f['started_at'])[_0x4374ca(0x104)]()):null),'started_at':_0x33e93f[_0x4374ca(0x185)],'finished_at':_0x5d426[_0x4374ca(0x19a)](/Finished/)||_0x5d426['match'](/Skipped/)?new Date()[_0x4374ca(0x14f)]():null,'failure':failureData[_0x4374ca(0x223)](null,_0x3b9c41),'failure_type':!_0x453766?null:_0x453766[_0x4374ca(0x19a)](/AssertionError/)?_0x3410df[_0x4374ca(0x19f)]:_0x3410df[_0x4374ca(0x14b)],'retry_of':_0x33e93f['retryOf']};if([_0x3410df['mgGsV'],_0x3410df[_0x4374ca(0x145)],_0x3410df['taNav']][_0x4374ca(0x107)](_0x5d426)){if(_0x3410df['sNBJk'](getCentralUser)[_0x4374ca(0x1ea)]){const _0x9e75d0=TestMetadata[_0x4374ca(0x175)](_0x33e93f[_0x4374ca(0x1a3)]);if(_0x9e75d0){const _0x425301={};_0x425301['lcnc']=_0x9e75d0,Object['assign'](_0x3c9d3d,_0x425301);}}}testhubUtils[_0x4374ca(0x231)](_0x3c9d3d,_0x5d426,_0x33e93f,FRAMEWORKS[_0x4374ca(0x1de)]);(_0x33e93f['responseCode']||_0x33e93f['redirectUrl'])&¢ralScannerUtils['setCentralScannerData'](_0x3c9d3d,_0x33e93f[_0x4374ca(0x197)],_0x33e93f[_0x4374ca(0x22d)]);_0x3410df['oeaXe'](_0x5d426,_0x3410df[_0x4374ca(0x200)])&&!_0x3c9d3d[_0x3410df[_0x4374ca(0x21b)]]&&(_0x3c9d3d[_0x3410df[_0x4374ca(0x21b)]]=_0x3c9d3d[_0x3410df[_0x4374ca(0x19b)]]);if(_0x5d426[_0x4374ca(0x19a)](/HookRun/))[_0x3c9d3d[_0x4374ca(0x1d0)],_0x3c9d3d['name']]=_0x3410df['uAMyx'](getHookDetails,_0x33e93f[_0x4374ca(0x1ad)]()||_0x33e93f[_0x4374ca(0x155)]||_0x33e93f[_0x4374ca(0x1b9)]),_0x3410df[_0x4374ca(0x170)](_0x5d426,_0x3410df[_0x4374ca(0x116)])&&(_0x3410df[_0x4374ca(0x1cc)](_0x3c9d3d[_0x4374ca(0x1f5)],_0x3410df['tMRcI'])&&(_0x3c9d3d[_0x4374ca(0x1f5)]=_0x3410df[_0x4374ca(0x1b5)]),_0x3410df[_0x4374ca(0x170)](_0x3c9d3d[_0x4374ca(0x1d0)],_0x3410df[_0x4374ca(0x22f)])&&_0x3410df['JhoIe'](_0x3c9d3d['result'],_0x3410df['tMRcI'])&&!_0x33e93f[_0x4374ca(0x12c)]['currentTest'][_0x4374ca(0x148)]&&(_0x33e93f[_0x4374ca(0x12c)][_0x4374ca(0xfb)][_0x4374ca(0x148)]=!![],_0x33e93f[_0x4374ca(0x12c)]['currentTest'][_0x4374ca(0x10e)]=STATE_FAILED,await this[_0x4374ca(0x206)](_0x33e93f['ctx'][_0x4374ca(0xfb)],undefined,!![])));else _0x5d426[_0x4374ca(0x19a)](/TestRun/)&&_0x3410df[_0x4374ca(0x219)](mapTestHooks,_0x33e93f);const _0x11ba22=_0x3c9d3d[_0x3410df[_0x4374ca(0x232)]][0x0];_0x11ba22&&(_0x3c9d3d[_0x3410df[_0x4374ca(0x230)]]=_0x11ba22[_0x3410df['EJnTR']],_0x3c9d3d[_0x3410df['KZRJB']]=_0x11ba22[_0x3410df[_0x4374ca(0xfc)]]);[_0x3410df['sANfl'],_0x3410df[_0x4374ca(0x200)]][_0x4374ca(0x107)](_0x5d426)&&(this['_testResults'][_0x4374ca(0x11d)](_0x3c9d3d),_0x3c9d3d['hooks']=_0x3410df[_0x4374ca(0x219)](getHooksForTest,_0x33e93f));const _0x484c64={'event_type':_0x3410df[_0x4374ca(0x170)](_0x5d426,_0x3410df[_0x4374ca(0x200)])?_0x3410df[_0x4374ca(0x145)]:_0x5d426};_0x5d426[_0x4374ca(0x19a)](/HookRun/)?(_0x3c9d3d[_0x3410df[_0x4374ca(0x221)]]=HOOK_TYPES_MAP[_0x3c9d3d[_0x3410df['XgWDb']]],_0x484c64[_0x3410df['cdLrR']]=_0x3c9d3d):_0x484c64[_0x3410df[_0x4374ca(0x135)]]=_0x3c9d3d,testhubUtils[_0x4374ca(0x156)](FRAMEWORKS[_0x4374ca(0x1de)],_0x484c64),await SessionHandler[_0x4374ca(0x20a)](_0x484c64);}catch(_0x163bdc){_0x3410df[_0x4374ca(0x16d)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x5d426+'\x20with\x20error\x20:\x20'+_0x163bdc);}};[a31_0x4cccec(0x1be)](_0x1b3a2b){const _0x1dc3b4=a31_0x4cccec,_0x3493b1={};_0x3493b1[_0x1dc3b4(0x176)]=function(_0x580444,_0x2eadf3){return _0x580444===_0x2eadf3;},_0x3493b1[_0x1dc3b4(0x179)]=function(_0x6ff371,_0x2e93b4){return _0x6ff371===_0x2e93b4;},_0x3493b1[_0x1dc3b4(0x214)]='.git',_0x3493b1[_0x1dc3b4(0x1ee)]=_0x1dc3b4(0x1dd);const _0xe11ac1=_0x3493b1,_0x20a3f9=path['sep'];if(_0xe11ac1[_0x1dc3b4(0x176)](_0x1b3a2b,null)||_0xe11ac1['Nmbfp'](_0x1b3a2b,'')||_0xe11ac1[_0x1dc3b4(0x176)](_0x1b3a2b,_0x20a3f9)||_0xe11ac1['Nmbfp'](_0x1b3a2b,path['dirname'](_0x1b3a2b)))return null;try{return fs[_0x1dc3b4(0x218)](path['join'](_0x1b3a2b,_0xe11ac1[_0x1dc3b4(0x214)],_0xe11ac1[_0x1dc3b4(0x1ee)])),_0x1b3a2b;}catch(_0x48ac04){const _0x1d446d=path['dirname'](_0x1b3a2b);return this[_0x1dc3b4(0x1be)](_0x1d446d);}}['appendTestItemLog']=async _0x113ba9=>{const _0x35d87d=a31_0x4cccec,_0x46b959={'EDtbM':_0x35d87d(0x12e),'xkrQu':function(_0x2b149e,_0x18064f){return _0x2b149e(_0x18064f);}};try{this['current_hook']&&!this[_0x35d87d(0x1f3)][_0x35d87d(0x148)]&&(_0x113ba9[_0x35d87d(0x11b)]=this[_0x35d87d(0x1f3)]['hookAnalyticsId']);!_0x113ba9['hook_run_uuid']&&this[_0x35d87d(0x101)]&&!this['current_test'][_0x35d87d(0x148)]&&(_0x113ba9[_0x35d87d(0x124)]=this['current_test'][_0x35d87d(0x1a3)]);if(_0x113ba9[_0x35d87d(0x11b)]||_0x113ba9[_0x35d87d(0x124)]){const _0x4aa70a={};_0x4aa70a['event_type']=_0x46b959['EDtbM'],_0x4aa70a[_0x35d87d(0x17a)]=[_0x113ba9],await SessionHandler[_0x35d87d(0x20a)](_0x4aa70a);}}catch(_0x1e6eea){_0x46b959[_0x35d87d(0x172)](debug,_0x35d87d(0x143)+constants[_0x35d87d(0x121)]+_0x35d87d(0x157)+_0x1e6eea);}};['appendTestPlatform']=async _0x53e2a2=>{const _0x301b92=a31_0x4cccec,_0x2e1cd4={'vmYxj':'http_response','rhGVa':'CBTSessionCreated','uAqxz':function(_0x4b6c69,_0x3f2037){return _0x4b6c69(_0x3f2037);}};try{const _0x6abef7={};_0x6abef7['uuid']=_0x53e2a2[_0x301b92(0x1fb)]||this['current_test'][_0x301b92(0x1a3)],_0x6abef7[_0x301b92(0x1bf)]=_0x53e2a2[_0x2e1cd4[_0x301b92(0x151)]];const _0x572a10=_0x6abef7,_0x35cf6c={};_0x35cf6c[_0x301b92(0x1ab)]=_0x2e1cd4['rhGVa'],_0x35cf6c[_0x301b92(0x1b1)]=_0x572a10,await SessionHandler['uploadEventData'](_0x35cf6c);}catch(_0x19ef4c){_0x2e1cd4[_0x301b92(0x161)](debug,_0x301b92(0x152)+constants[_0x301b92(0x121)]+_0x301b92(0x157)+_0x19ef4c);}};[a31_0x4cccec(0x1fd)](_0x54ca26){const _0x4f3011=a31_0x4cccec,_0x104ea5={};_0x104ea5['uyFrA']=_0x4f3011(0x164),_0x104ea5[_0x4f3011(0x149)]=_0x4f3011(0x13c),_0x104ea5[_0x4f3011(0x209)]=_0x4f3011(0x1e4);const _0x106da7=_0x104ea5,_0xe826bf={};return _0xe826bf[STATE_PASSED]=_0x106da7[_0x4f3011(0x1f9)],_0xe826bf[STATE_PENDING]=_0x106da7[_0x4f3011(0x149)],_0xe826bf[STATE_FAILED]=_0x106da7[_0x4f3011(0x209)],_0xe826bf[_0x54ca26];}[a31_0x4cccec(0x13e)](_0x153795){const _0x383f33=a31_0x4cccec,_0x45a7de={};_0x45a7de[_0x383f33(0x186)]=function(_0x3ff9ca,_0x556d4a){return _0x3ff9ca-_0x556d4a;};const _0x28b4a6=_0x45a7de,_0x479d0b=_0x153795['titlePath']();return _0x479d0b[_0x383f33(0x139)](0x0,_0x28b4a6[_0x383f33(0x186)](_0x479d0b[_0x383f33(0x21c)],0x1))[_0x383f33(0x217)]('\x20');}[a31_0x4cccec(0x178)](_0x233cd8){const _0x468945=a31_0x4cccec,_0x1e5499={};_0x1e5499[_0x468945(0x18d)]=function(_0x5f4079,_0x284f01){return _0x5f4079-_0x284f01;};const _0x15a646=_0x1e5499,_0x1d62a3=_0x233cd8[_0x468945(0x12b)]();return _0x1d62a3[_0x468945(0x139)](0x0,_0x15a646[_0x468945(0x18d)](_0x1d62a3[_0x468945(0x21c)],0x1));}[a31_0x4cccec(0x193)](_0x5ab2e6){const _0x3de06b=a31_0x4cccec,_0x13cf8a={};_0x13cf8a[_0x3de06b(0x113)]=function(_0x1c2e3d,_0x406a24){return _0x1c2e3d>_0x406a24;};const _0x228c5c=_0x13cf8a;if(_0x5ab2e6[_0x3de06b(0x16c)])return _0x5ab2e6[_0x3de06b(0x16c)];if(_0x5ab2e6['ctx']){const _0x3ec5d7=_0x5ab2e6[_0x3de06b(0x12c)]['currentTest']?this[_0x3de06b(0x193)](_0x5ab2e6[_0x3de06b(0x12c)][_0x3de06b(0xfb)]):null;if(_0x3ec5d7)return _0x3ec5d7;}if(_0x5ab2e6['parent']){const _0x48efc8=this['getRootParentFile'](_0x5ab2e6['parent'])||(_0x5ab2e6[_0x3de06b(0x167)][_0x3de06b(0x12c)]&&_0x5ab2e6[_0x3de06b(0x167)][_0x3de06b(0x12c)]['currentTest']?this[_0x3de06b(0x193)](_0x5ab2e6[_0x3de06b(0x167)][_0x3de06b(0x12c)]['currentTest']):null);if(_0x48efc8)return _0x48efc8;_0x5ab2e6[_0x3de06b(0x167)]['suites']&&_0x228c5c[_0x3de06b(0x113)](_0x5ab2e6['parent']['suites']['length'],0x0)&&_0x5ab2e6[_0x3de06b(0x167)][_0x3de06b(0x154)][_0x3de06b(0x136)](_0x5daa6a=>{const _0x390814=_0x3de06b,_0x27f65e=_0x5daa6a[_0x390814(0x12c)]?this[_0x390814(0x193)](_0x5daa6a[_0x390814(0x12c)]):null;if(_0x27f65e)return _0x27f65e;});}return null;}}module[a31_0x4cccec(0x1a8)]=MyReporter;
|
package/src/bin/mocha/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a32_0x2a1c58=a32_0xf8b0;(function(_0x3a92f5,_0x298dad){const _0x49a90a=a32_0xf8b0,_0x41a4f0=_0x3a92f5();while(!![]){try{const _0x5cf568=-parseInt(_0x49a90a(0xad))/0x1+parseInt(_0x49a90a(0xa3))/0x2*(parseInt(_0x49a90a(0x8b))/0x3)+-parseInt(_0x49a90a(0x110))/0x4+-parseInt(_0x49a90a(0x17b))/0x5*(-parseInt(_0x49a90a(0x17a))/0x6)+-parseInt(_0x49a90a(0x130))/0x7*(-parseInt(_0x49a90a(0xb9))/0x8)+parseInt(_0x49a90a(0xe1))/0x9*(-parseInt(_0x49a90a(0xc2))/0xa)+parseInt(_0x49a90a(0x13f))/0xb*(parseInt(_0x49a90a(0xd0))/0xc);if(_0x5cf568===_0x298dad)break;else _0x41a4f0['push'](_0x41a4f0['shift']());}catch(_0x9ce1e1){_0x41a4f0['push'](_0x41a4f0['shift']());}}}(a32_0x1453,0x8529a));const chalk=require(a32_0x2a1c58(0x163)),logger=require(a32_0x2a1c58(0x182))[a32_0x2a1c58(0x112)],helper=require('../../helpers/helper'),utilities=require('../../helpers/utilities'),testOpsHelper=require(a32_0x2a1c58(0xef)),fs=require('fs'),os=require('os'),{parallelTestRun}=require('../test-runner'),{requireModule,nestedKeyValue}=require(a32_0x2a1c58(0x12d)),{getPercyOptions}=require(a32_0x2a1c58(0xbd)),Base=requireModule(a32_0x2a1c58(0x166),a32_0x2a1c58(0x10d)),collectFiles=requireModule(a32_0x2a1c58(0x165),a32_0x2a1c58(0x10d)),constants=require(a32_0x2a1c58(0x92)),PerformanceTester=require(a32_0x2a1c58(0xff)),PerformanceEvents=require(a32_0x2a1c58(0xfd))['EVENTS'],centralScannerConstants=require(a32_0x2a1c58(0xbf)),{FRAMEWORKS}=require(a32_0x2a1c58(0x11c)),TestHubHandler=require(a32_0x2a1c58(0x88)),ClientTroubleShootingService=require(a32_0x2a1c58(0x158));function a32_0x1453(){const _0x396f1c=['central_scanner','../../helpers/test-observability/constants','testObservability','BROWSERSTACK_TEST_ACCESSIBILITY_YML','bold','isNotUndefined','\x20total','ypoyN','includeTagsInTestingScope','stringify','generateDiff','skipped','YCFCe','hazFs','setupTCGAuth','Running\x20your\x20mocha\x20tests\x20across\x20','yQbrI','jhYlz','../../helpers/helper','files','errorMessage','38087LqNEfJ','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','MDvcz','CqPMc','IavXz','IiFeA','YTchM','info','JcJnh','parse','platform','reporterOptions','FWMOh','get','setUserConfigPath','374uDRytQ','finally','hideDiff','HzUKz','passes','Fnfqw','recursive','debug','useColors','YcJfr','unlinkSync','laVlV','useW3C','configuration','FjtMb','failure','BlcgV','fzHpH','add','oEUuh','BROWSERSTACK_TEST_OBSERVABILITY_YML','isPending','error','mdwPj','has','../utils/clientTroubleshootingService','xnYwa','rFeuq','FRAMEWORKS','hYpFe','test','isUndefined','length','MmapW','notifyUpdate','****\x20FAILURES\x20****','chalk','KbPOF','mocha/lib/cli/collect-files.js','mocha/lib/reporters/base.js','OSDGt','WSbWt','tKGlU','red','handleApp','\x0a\x0a\x0a','</testsuite>','RhEdN','size','expected','currentRetry','yHIvp','BROWSERSTACK_RERUN_TESTS','bKJuL','fTsNl','getTCGConfigFilePaths','getUserWorkerCount','QmjCR','BBMMk','1086ESuieK','565OWTDsv','isBrowserstackInfra','Mocha\x20Tests','Listing\x20all\x20the\x20failures','vyMhq','proxySettings','ANcPl','../../helpers/logger','min','accessibilityOptions','initialize','retries','mfbLC','../../helpers/testhub/testhubHandler','failures','getCentralUser','129PXWmZM','exports','Writing\x20xunit\x20result\x20to\x20file','title','logLevel','jqKBM','ScjUM','../utils/constants','config','ctrUs','duration','call','rXJON','push','results','LwVCx','zFkmj','kNxWB','green','eLVMc','suiteName','sort','qhGkm','capability','714YfbkHL','fireFunnelTestEvent','GaXYk','platforms','oLunz','finalExecution','excludeTagsInTestingScope','fullTitle','assign','env','299175uetxhN','\x20platforms','shouldReRunObservabilityTests','testsPassed','YzcMh','QQZDH','GclaY','testcase','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','ignore','ZQRbA','rootHooks','920dJZOKg','writeFileSync','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','extension','../../helpers/percy/utils','Couldn\x27t\x20write\x20xunit\x20result\x20to','../../helpers/central-scanner/constants','LRfeQ','isEmpty','2330oujWYu','spec','vKnJw','bstack:options','TJOrg','Setting\x20non\x20exit\x20code\x20for\x20failures','showDiff','testsFailed','toUTCString','validPlatformsPresent','consoleLog','BROWSERSTACK_GRR_US_HUB_URL','mVJZE','suite','632808lNRoKD','gpWcW','hasOwnProperty','Total\x20Platforms:\x20','PxjoJ','oGkbP','getPlatformName','Dtbtx','NbnHn','bgBlueBright','Vduvq','cliConfig','CaGhP','file','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','getErrorMessageFromResults','wKduu','26631RHDDwL','testsuite','Writing\x20json\x20result\x20to\x20file','printBuildLink','vYZSQ','jJHtB','QaQAM','isTestObservabilitySession','parallelsPerPlatform','list','MOCHA','forEach','output','state','../../helpers/test-observability/utils','passed','parseTestOrchestrationOptions','bgRedBright','GYzFv','jdymv','MSfZf','cKudw','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','NkYfu','BjQce','then','Tests:\x20\x20\x20\x20\x20\x20\x20','object','../../helpers/performance/constants','framework','../../helpers/performance/performance-tester','vZtFM','stack','\x20skipped','start','\x20passed','err','yjvaq','testSuites','khsDT','xikzs','SDK_CLEANUP','PGEMx','retryTestsOnFailure','mocha','accessibility','bZqRh','3681676NJwmZD','Total\x20Suites:\x20','winstonLogger','Running\x20your\x20mocha\x20tests','log','Now,\x20showing\x20logs\x20from\x20mocha','xzeSd','PFXYa','join','AQkrF','xunit'];a32_0x1453=function(){return _0x396f1c;};return a32_0x1453();}function tag(_0x572083,_0x174749,_0x1b12bc,_0x5f0af4){const _0x2f3cf7=a32_0x2a1c58,_0x122ec6={'vKnJw':function(_0x30d4c8,_0x4794e3){return _0x30d4c8+_0x4794e3;},'FjtMb':function(_0x37db3d,_0xf18a24){return _0x37db3d+_0xf18a24;},'NkYfu':function(_0x4d4138,_0x5ad6a3){return _0x4d4138(_0x5ad6a3);},'wKduu':function(_0x1e62f6,_0x504f3d){return _0x1e62f6+_0x504f3d;},'FWMOh':function(_0x2a03cb,_0x5cae48){return _0x2a03cb+_0x5cae48;},'AQkrF':function(_0x31fd30,_0x35bfad){return _0x31fd30+_0x35bfad;},'ypoyN':function(_0x432cf1,_0x1a3c34){return _0x432cf1+_0x1a3c34;},'mDjGk':function(_0xbe9f35,_0x370fc4){return _0xbe9f35+_0x370fc4;}},_0x197c4f=_0x1b12bc?'/>':'>',_0x3d993c=[];let _0x5d7f12;for(const _0x3a75ee in _0x174749){Object['prototype'][_0x2f3cf7(0xd2)][_0x2f3cf7(0x96)](_0x174749,_0x3a75ee)&&_0x3d993c[_0x2f3cf7(0x98)](_0x122ec6[_0x2f3cf7(0xc4)](_0x122ec6[_0x2f3cf7(0x14d)](_0x122ec6[_0x2f3cf7(0xc4)](_0x3a75ee,'=\x22'),_0x122ec6[_0x2f3cf7(0xf8)](escape,_0x174749[_0x3a75ee])),'\x22'));}return _0x5d7f12=_0x122ec6[_0x2f3cf7(0xe0)](_0x122ec6[_0x2f3cf7(0x13c)](_0x122ec6[_0x2f3cf7(0x119)]('<',_0x572083),_0x3d993c[_0x2f3cf7(0x15f)]?_0x122ec6[_0x2f3cf7(0xc4)]('\x20',_0x3d993c[_0x2f3cf7(0x118)]('\x20')):''),_0x197c4f),_0x5f0af4&&(_0x5d7f12+=_0x122ec6[_0x2f3cf7(0x14d)](_0x122ec6[_0x2f3cf7(0x122)](_0x122ec6['mDjGk'](_0x5f0af4,'</'),_0x572083),_0x197c4f)),_0x5d7f12;}let xunitContent='';function xunitWrite(_0x37b3be){xunitContent+=_0x37b3be;}function xunitTest(_0xd531e5,_0x10ac14){const _0x444eeb=a32_0x2a1c58,_0x440045={'BBMMk':function(_0x34277a,_0x264242){return _0x34277a/_0x264242;},'XoAwr':function(_0x5a2ead,_0x25ad73){return _0x5a2ead===_0x25ad73;},'HzUKz':'failed','YzcMh':function(_0x24a54e,_0x104fda){return _0x24a54e+_0x104fda;},'Fnfqw':function(_0x3de6a2,_0x3d51cb){return _0x3de6a2(_0x3d51cb);},'QQZDH':function(_0x2f8ae9,_0x4b6903,_0x579e1e,_0x24a973,_0x1788cb){return _0x2f8ae9(_0x4b6903,_0x579e1e,_0x24a973,_0x1788cb);},'IavXz':_0x444eeb(0xb4),'tQYic':function(_0x510575,_0x6d5f4d,_0x31739a,_0x3fe0ec,_0xc4b892){return _0x510575(_0x6d5f4d,_0x31739a,_0x3fe0ec,_0xc4b892);},'CaGhP':_0x444eeb(0x14e),'laVlV':function(_0x5bf7dc,_0x47cdd1){return _0x5bf7dc+_0x47cdd1;},'KbPOF':function(_0x264553,_0x269bb2){return _0x264553(_0x269bb2);},'KHfAd':function(_0x3149ec,_0xb87e7b,_0x4f3201,_0x666445){return _0x3149ec(_0xb87e7b,_0x4f3201,_0x666445);},'vvQEr':_0x444eeb(0x126),'YeAZT':function(_0x2c856b,_0x22b93c){return _0x2c856b(_0x22b93c);},'zFkmj':function(_0x27db7f,_0x47edbe,_0x179a6c,_0x1a4321){return _0x27db7f(_0x47edbe,_0x179a6c,_0x1a4321);}};Base[_0x444eeb(0x147)]=![];var _0x463962={'classname':_0xd531e5[_0x444eeb(0xaa)],'name':_0xd531e5[_0x444eeb(0x8e)],'time':_0x440045[_0x444eeb(0x179)](_0xd531e5[_0x444eeb(0x95)],0x3e8)||0x0,'platform':_0x10ac14};if(_0x440045['XoAwr'](_0xd531e5[_0x444eeb(0xee)],_0x440045[_0x444eeb(0x142)])){var _0x4e311d=_0xd531e5[_0x444eeb(0x105)],_0x44d9af=!Base[_0x444eeb(0x141)]&&Base[_0x444eeb(0xc8)](_0x4e311d)?_0x440045[_0x444eeb(0xb1)]('\x0a',Base[_0x444eeb(0x125)](_0x4e311d['actual'],_0x4e311d[_0x444eeb(0x170)])):'';_0x440045[_0x444eeb(0x144)](xunitWrite,_0x440045[_0x444eeb(0xb2)](tag,_0x440045[_0x444eeb(0x134)],_0x463962,![],_0x440045['tQYic'](tag,_0x440045[_0x444eeb(0xdc)],{},![],_0x440045[_0x444eeb(0x14a)](_0x440045[_0x444eeb(0x14a)](_0x440045['YzcMh'](_0x440045[_0x444eeb(0x144)](escape,_0x4e311d['message']),_0x440045[_0x444eeb(0x164)](escape,_0x44d9af)),'\x0a'),_0x440045[_0x444eeb(0x144)](escape,_0x4e311d[_0x444eeb(0x101)])))));}else _0xd531e5[_0x444eeb(0x154)]?_0x440045[_0x444eeb(0x164)](xunitWrite,_0x440045[_0x444eeb(0xb2)](tag,_0x440045[_0x444eeb(0x134)],_0x463962,![],_0x440045['KHfAd'](tag,_0x440045['vvQEr'],{},!![]))):_0x440045['YeAZT'](xunitWrite,_0x440045[_0x444eeb(0x9b)](tag,_0x440045[_0x444eeb(0x134)],_0x463962,!![]));};function getStats(_0x22a9ff){const _0x579a23=a32_0x2a1c58,_0x4bca49={};_0x4bca49[_0x579a23(0x108)]=_0x579a23(0xcf),_0x4bca49[_0x579a23(0x160)]=_0x579a23(0xf0),_0x4bca49[_0x579a23(0x174)]='failed',_0x4bca49[_0x579a23(0xd4)]=_0x579a23(0x99);const _0x599a81=_0x4bca49,_0x1048cf=Object['keys'](_0x22a9ff);let _0x587349=0x0,_0x27831a=0x0,_0x2245dd=0x0,_0x4f4ad2=0x0;const _0x34a34e=new Set();_0x1048cf[_0x579a23(0xec)](_0x2b265a=>{const _0x2aa5f7=_0x579a23;_0x22a9ff[_0x2b265a][_0x599a81[_0x2aa5f7(0xd4)]]['forEach'](_0x1c4689=>{const _0x16733c=_0x2aa5f7;_0x34a34e[_0x16733c(0x151)](_0x1c4689[_0x599a81[_0x16733c(0x108)]]),_0x587349++;switch(_0x1c4689['state']){case _0x599a81[_0x16733c(0x160)]:_0x2245dd++;break;case _0x599a81['bKJuL']:_0x27831a++;break;default:_0x4f4ad2++;}});});const _0x4a5a9f={};return _0x4a5a9f[_0x579a23(0x107)]=_0x34a34e[_0x579a23(0x16f)],_0x4a5a9f['platforms']=_0x1048cf,_0x4a5a9f['totalTests']=_0x587349,_0x4a5a9f[_0x579a23(0xc9)]=_0x27831a,_0x4a5a9f[_0x579a23(0xb0)]=_0x2245dd,_0x4a5a9f['testsPending']=_0x4f4ad2,_0x4a5a9f;}function a32_0xf8b0(_0x47755c,_0x2acd0c){const _0x145358=a32_0x1453();return a32_0xf8b0=function(_0xf8b05e,_0x35aa91){_0xf8b05e=_0xf8b05e-0x84;let _0x44b966=_0x145358[_0xf8b05e];return _0x44b966;},a32_0xf8b0(_0x47755c,_0x2acd0c);}function errorJSON(_0xe311ba){const _0x4cee78=a32_0x2a1c58;var _0x1e4bcf={};return Object['getOwnPropertyNames'](_0xe311ba)[_0x4cee78(0xec)](function(_0x2b0ab1){_0x1e4bcf[_0x2b0ab1]=_0xe311ba[_0x2b0ab1];},_0xe311ba),_0x1e4bcf;}function cleanCycles(_0x1881a2){const _0x37f799=a32_0x2a1c58,_0x4643d7={};_0x4643d7['YcJfr']=function(_0x5d977a,_0x369089){return _0x5d977a===_0x369089;},_0x4643d7[_0x37f799(0x133)]=_0x37f799(0xfc),_0x4643d7[_0x37f799(0xda)]=function(_0x366848,_0x525007){return _0x366848!==_0x525007;},_0x4643d7[_0x37f799(0x117)]=function(_0x585e5a,_0xa482a2){return _0x585e5a+_0xa482a2;};const _0x63ee32=_0x4643d7;var _0x3887f4=[];return JSON[_0x37f799(0x139)](JSON['stringify'](_0x1881a2,function(_0x48a9e4,_0xd666aa){const _0x38aee9=_0x37f799;if(_0x63ee32[_0x38aee9(0x148)](typeof _0xd666aa,_0x63ee32['CqPMc'])&&_0x63ee32[_0x38aee9(0xda)](_0xd666aa,null)){if(_0x63ee32['Vduvq'](_0x3887f4['indexOf'](_0xd666aa),-0x1))return _0x63ee32[_0x38aee9(0x117)]('',_0xd666aa);_0x3887f4[_0x38aee9(0x98)](_0xd666aa);}return _0xd666aa;}));}function clean(_0x4744ae){const _0x54eecb=a32_0x2a1c58,_0x4083eb={'eLVMc':function(_0x1ee275,_0x242c62){return _0x1ee275 instanceof _0x242c62;},'GYzFv':function(_0x4fc313,_0x1e1eb9){return _0x4fc313(_0x1e1eb9);}};var _0x2af9f0=_0x4744ae[_0x54eecb(0x105)]||{};return _0x4083eb[_0x54eecb(0x9e)](_0x2af9f0,Error)&&(_0x2af9f0=_0x4083eb[_0x54eecb(0xf3)](errorJSON,_0x2af9f0)),{'title':_0x4744ae[_0x54eecb(0x8e)],'fullTitle':_0x4744ae[_0x54eecb(0xaa)],'file':_0x4744ae[_0x54eecb(0xdd)],'duration':_0x4744ae['duration'],'currentRetry':_0x4744ae[_0x54eecb(0x171)],'speed':_0x4744ae['speed'],'err':_0x4083eb[_0x54eecb(0xf3)](cleanCycles,_0x2af9f0)};}function printStats(_0x388639,_0x55693c='spec',_0x238e8f={}){const _0x26aef2=a32_0x2a1c58,_0x209d95={'hYpFe':function(_0x2abcdc,_0x319075){return _0x2abcdc(_0x319075);},'RhEdN':function(_0x3fc02f,_0x241afb){return _0x3fc02f===_0x241afb;},'Zuinc':_0x26aef2(0xf0),'xikzs':_0x26aef2(0x143),'rXJON':function(_0x2707e7,_0x16ea3e){return _0x2707e7===_0x16ea3e;},'tKGlU':'failed','kNxWB':_0x26aef2(0x89),'MDvcz':'pending','JcJnh':function(_0x5e49d8,_0x43951e){return _0x5e49d8(_0x43951e);},'ZQRbA':'results','oGkbP':function(_0x2d2a91,_0x15b4ea){return _0x2d2a91*_0x15b4ea;},'LRfeQ':function(_0x3dd887,_0x4952de,_0x2ed950){return _0x3dd887(_0x4952de,_0x2ed950);},'ANcPl':function(_0x4ef3a6,_0x16106b){return _0x4ef3a6>_0x16106b;},'yjvaq':function(_0x5f52bc){return _0x5f52bc();},'YCFCe':'doc','NbnHn':_0x26aef2(0xc7),'rmDKV':'Printing\x20stats\x20of\x20tests','vyMhq':function(_0x1b67b2,_0x461072){return _0x1b67b2+_0x461072;},'WSbWt':_0x26aef2(0xd3),'bZqRh':function(_0x437a8b,_0x31f48f){return _0x437a8b+_0x31f48f;},'PzXGP':_0x26aef2(0x111),'PGEMx':function(_0x4c73da,_0x475fd5){return _0x4c73da+_0x475fd5;},'xzeSd':function(_0x665301,_0x27aa13){return _0x665301+_0x27aa13;},'mfbLC':_0x26aef2(0xfb),'lrVUq':function(_0x40a56e,_0x1a8e4f){return _0x40a56e>_0x1a8e4f;},'BlcgV':function(_0x2f8429,_0x44f08b){return _0x2f8429+_0x44f08b;},'ctrUs':function(_0x12203c,_0x264bde){return _0x12203c+_0x264bde;},'nTQLX':function(_0xec401f,_0x18c278){return _0xec401f+_0x18c278;},'fzHpH':_0x26aef2(0x16c),'hazFs':'json','XpnCt':_0x26aef2(0xe3),'QXkvI':'Couldn\x27t\x20write\x20json\x20result\x20to','rFeuq':_0x26aef2(0xf7),'oEUuh':function(_0x10488a,_0x20e4fc){return _0x10488a===_0x20e4fc;},'TJOrg':_0x26aef2(0x11a),'ScjUM':_0x26aef2(0x17d),'ulisK':function(_0x5b8a4f,_0x23d35f){return _0x5b8a4f||_0x23d35f;},'GclaY':function(_0x1f15d8,_0x2ed480,_0x1e2fb5,_0x4ec86c){return _0x1f15d8(_0x2ed480,_0x1e2fb5,_0x4ec86c);},'OSDGt':_0x26aef2(0xe2),'mVJZE':function(_0x5918bc,_0x47780e){return _0x5918bc-_0x47780e;},'jhYlz':function(_0x293b86,_0xddd588){return _0x293b86/_0xddd588;},'gpWcW':_0x26aef2(0x16d),'jqKBM':_0x26aef2(0x8d),'vZtFM':_0x26aef2(0xbe),'LwVCx':_0x26aef2(0xde),'GaXYk':_0x26aef2(0x17e),'FzuJL':_0x26aef2(0x162)};if(_0x209d95['RhEdN'](_0x55693c,_0x209d95[_0x26aef2(0x127)]))return;const _0x1f62ed=0x0,_0x57d5ce=()=>{const _0xa8531c=_0x26aef2;return _0x209d95[_0xa8531c(0x15c)](Array,_0x1f62ed)[_0xa8531c(0x118)]('\x20\x20');},{testSuites:_0x2da5e5,platforms:_0x426ba1,totalTests:_0x202947,testsFailed:_0x473257,testsPassed:_0x96b94,testsPending:_0x242ef3}=_0x209d95[_0x26aef2(0x138)](getStats,_0x388639);_0x209d95['ANcPl'](_0x473257,0x0)&&(logger['debug'](_0x209d95[_0x26aef2(0xd8)]),process['exitCode']=Math[_0x26aef2(0x183)](_0x473257,0xff));logger[_0x26aef2(0x146)](_0x209d95['rmDKV']);const _0x33d782=''+_0x209d95['vyMhq'](chalk[_0x26aef2(0x11f)](_0x209d95[_0x26aef2(0x168)]),_0x426ba1['length']),_0x4e1686=''+_0x209d95[_0x26aef2(0x10f)](chalk[_0x26aef2(0x11f)](_0x209d95['PzXGP']),_0x2da5e5),_0x13a1c2=''+_0x209d95[_0x26aef2(0x10b)](_0x209d95[_0x26aef2(0x116)](_0x209d95[_0x26aef2(0x10b)](chalk['bold'](_0x209d95[_0x26aef2(0x87)]),_0x209d95[_0x26aef2(0x181)](_0x473257,0x0)?chalk[_0x26aef2(0x11f)][_0x26aef2(0x16a)](_0x473257+'\x20failed')+',\x20':''),_0x209d95['lrVUq'](_0x242ef3,0x0)?chalk[_0x26aef2(0x11f)]['yellow'](_0x242ef3+_0x26aef2(0x102))+',\x20':''),_0x209d95[_0x26aef2(0x181)](_0x96b94,0x0)?chalk[_0x26aef2(0x11f)][_0x26aef2(0x9d)](_0x96b94+_0x26aef2(0x104))+',\x20':'')+_0x202947+_0x26aef2(0x121);console[_0x26aef2(0x114)](_0x209d95[_0x26aef2(0x17f)](_0x209d95[_0x26aef2(0x14f)](_0x209d95[_0x26aef2(0x10b)](_0x209d95[_0x26aef2(0x94)](_0x209d95['nTQLX'](_0x209d95[_0x26aef2(0x150)],_0x33d782),'\x0a'),_0x4e1686),'\x0a'),_0x13a1c2));if(_0x209d95[_0x26aef2(0x97)](_0x55693c,_0x209d95[_0x26aef2(0x128)])){const _0x7a919b={},_0x449431={};_0x449431[_0x26aef2(0x107)]=_0x2da5e5,_0x449431[_0x26aef2(0xa6)]=_0x426ba1,_0x449431[_0x26aef2(0xc9)]=_0x473257,_0x449431[_0x26aef2(0xb0)]=_0x96b94,_0x449431['testsPending']=_0x242ef3,_0x7a919b['stats']=_0x449431,_0x426ba1[_0x26aef2(0xec)](_0x458e0c=>{const _0x4d9ac7=_0x26aef2;_0x7a919b[_0x458e0c]={'pending':[],'failures':[],'passes':[],'tests':_0x388639[_0x458e0c][_0x209d95['ZQRbA']]['map'](clean)},_0x388639[_0x458e0c][_0x209d95['ZQRbA']][_0x4d9ac7(0xec)](_0x5e8c5d=>{const _0x159e44=_0x4d9ac7;if(_0x209d95[_0x159e44(0x16e)](_0x5e8c5d[_0x159e44(0xee)],_0x209d95['Zuinc']))_0x7a919b[_0x458e0c][_0x209d95[_0x159e44(0x109)]]['push'](_0x209d95[_0x159e44(0x15c)](clean,_0x5e8c5d));else _0x209d95[_0x159e44(0x97)](_0x5e8c5d[_0x159e44(0xee)],_0x209d95[_0x159e44(0x169)])?_0x7a919b[_0x458e0c][_0x209d95[_0x159e44(0x9c)]][_0x159e44(0x98)](_0x209d95[_0x159e44(0x15c)](clean,_0x5e8c5d)):_0x7a919b[_0x458e0c][_0x209d95[_0x159e44(0x132)]][_0x159e44(0x98)](_0x209d95[_0x159e44(0x138)](clean,_0x5e8c5d));});});if(_0x238e8f[_0x26aef2(0xed)])try{logger[_0x26aef2(0x146)](_0x209d95['XpnCt'],_0x238e8f[_0x26aef2(0xed)]),fs[_0x26aef2(0xba)](_0x238e8f['output'],JSON[_0x26aef2(0x124)](_0x7a919b,null,0x3));}catch(_0x334e82){logger[_0x26aef2(0x155)](_0x209d95['QXkvI'],_0x238e8f[_0x26aef2(0xed)]),logger['debug'](_0x334e82);}else logger[_0x26aef2(0x146)](_0x209d95[_0x26aef2(0x15a)]),console['log'](JSON[_0x26aef2(0x124)](_0x7a919b,null,0x3));}else{if(_0x209d95[_0x26aef2(0x152)](_0x55693c,_0x209d95[_0x26aef2(0xc6)])){let _0x54df9d;const _0x5a134b=_0x209d95[_0x26aef2(0x91)];_0x238e8f&&(_0x54df9d=_0x238e8f[_0x26aef2(0x9f)]);_0x54df9d=_0x209d95['ulisK'](_0x54df9d,_0x5a134b);let _0x1d9fdb=0x0,_0x2d0aae=0x0,_0x2f3646=0x0,_0x307fda=0x0;_0x426ba1[_0x26aef2(0xec)](_0x1d1952=>{const _0x59aa32=_0x26aef2;_0x388639[_0x1d1952][_0x209d95[_0x59aa32(0xb7)]][_0x59aa32(0xec)](_0x437c48=>{const _0x10d35e=_0x59aa32;if(_0x209d95[_0x10d35e(0x16e)](_0x437c48[_0x10d35e(0xee)],_0x209d95['Zuinc']))_0x1d9fdb++;else _0x209d95[_0x10d35e(0x16e)](_0x437c48['state'],_0x209d95[_0x10d35e(0x169)])&&_0x2d0aae++;_0x2f3646++,_0x307fda+=_0x209d95[_0x10d35e(0xd5)](_0x437c48[_0x10d35e(0x95)],0x1);});}),_0x209d95['JcJnh'](xunitWrite,_0x209d95[_0x26aef2(0xb3)](tag,_0x209d95[_0x26aef2(0x167)],{'name':_0x54df9d,'tests':_0x2f3646,'failures':0x0,'errors':_0x2d0aae,'skipped':_0x209d95[_0x26aef2(0xce)](_0x209d95[_0x26aef2(0xce)](_0x2f3646,_0x2d0aae),_0x1d9fdb),'timestamp':new Date()[_0x26aef2(0xca)](),'time':_0x209d95[_0x26aef2(0x12c)](_0x307fda,0x3e8)||0x0},![])),_0x426ba1['forEach'](_0x262ff8=>{const _0x5b0025=_0x26aef2,_0x294270={'RIjvq':function(_0x57e534,_0x7d4bc8,_0x2c52a2){const _0x4145e2=a32_0xf8b0;return _0x209d95[_0x4145e2(0xc0)](_0x57e534,_0x7d4bc8,_0x2c52a2);}};_0x388639[_0x262ff8][_0x209d95['ZQRbA']][_0x5b0025(0xec)](_0x3c8ce7=>{_0x294270['RIjvq'](xunitTest,_0x3c8ce7,_0x262ff8);});}),_0x209d95['hYpFe'](xunitWrite,_0x209d95[_0x26aef2(0xd1)]);if(_0x238e8f[_0x26aef2(0xed)])try{logger[_0x26aef2(0x146)](_0x209d95[_0x26aef2(0x90)],_0x238e8f['output']),fs[_0x26aef2(0xba)](_0x238e8f[_0x26aef2(0xed)],xunitContent);}catch(_0x1d4b56){logger[_0x26aef2(0x155)](_0x209d95[_0x26aef2(0x100)],_0x238e8f[_0x26aef2(0xed)]),logger[_0x26aef2(0x146)](_0x1d4b56);}else logger[_0x26aef2(0x146)](_0x209d95[_0x26aef2(0x9a)]),console['log'](xunitContent);}else{if(_0x209d95['oEUuh'](_0x473257,0x0))return;console[_0x26aef2(0x114)](),logger[_0x26aef2(0x146)](_0x209d95[_0x26aef2(0xa5)]),console[_0x26aef2(0x114)](chalk[_0x26aef2(0x11f)][_0x26aef2(0xf2)](_0x209d95['FzuJL'])),_0x426ba1['forEach'](_0x16dda8=>{const _0x41087f=_0x26aef2,_0x39fb8e=[];_0x388639[_0x16dda8][_0x209d95[_0x41087f(0xb7)]][_0x41087f(0xec)](_0x404251=>{const _0x3b7df3=_0x41087f;_0x209d95[_0x3b7df3(0x16e)](_0x404251[_0x3b7df3(0xee)],_0x209d95[_0x3b7df3(0x169)])&&(_0x404251['titlePath']=()=>_0x404251['titlePathV'],_0x39fb8e[_0x3b7df3(0x98)](_0x404251));}),_0x209d95[_0x41087f(0x181)](_0x39fb8e[_0x41087f(0x15f)],0x0)&&(Base[_0x41087f(0xcc)](),Base[_0x41087f(0xcc)](_0x209d95[_0x41087f(0x106)](_0x57d5ce),chalk[_0x41087f(0x11f)][_0x41087f(0xd9)](_0x16dda8)),Base[_0x41087f(0xea)](_0x39fb8e));});}}}async function run(_0x3908bf,_0x1a76f7,_0x851b3f){const _0x2f1c9f=a32_0x2a1c58,_0x50640d={'QaQAM':function(_0x313b46,_0x4e182b,_0x15ae5d,_0x8dd48a){return _0x313b46(_0x4e182b,_0x15ae5d,_0x8dd48a);},'cKudw':'reporter-option','HhpcZ':'error\x20removing\x20tcg\x20config\x20file','yHIvp':'SDKTestSuccessful','mdwPj':function(_0x3ceb20,_0xc40a34,_0x1a4ba3,_0x26c481){return _0x3ceb20(_0xc40a34,_0x1a4ba3,_0x26c481);},'oLunz':_0x2f1c9f(0x10d),'yQbrI':function(_0x109bc1,_0x27aeff){return _0x109bc1!=_0x27aeff;},'jJHtB':'cjs','Dtbtx':'mjs','MSfZf':_0x2f1c9f(0x15d),'IiFeA':'rerunTests','pjpkt':function(_0x5a43ab,_0x13c534){return _0x5a43ab(_0x13c534);},'BjQce':function(_0x2f4dd4,_0x58b84a,_0x29d7d3){return _0x2f4dd4(_0x58b84a,_0x29d7d3);},'fTsNl':_0x2f1c9f(0x12e),'YTchM':_0x2f1c9f(0x123),'QmjCR':_0x2f1c9f(0xa9),'qhGkm':'includeEncodedExtension','aaciV':_0x2f1c9f(0x113),'vYZSQ':_0x2f1c9f(0x115),'zRxwu':function(_0x7f7d85,_0x3ec8ed,_0x433f75,_0x341d2e){return _0x7f7d85(_0x3ec8ed,_0x433f75,_0x341d2e);},'xnYwa':function(_0x4b358f,_0x33b0b0){return _0x4b358f*_0x33b0b0;},'mqNPe':function(_0x54a9d2,_0x4a21e7){return _0x54a9d2(_0x4a21e7);},'jdymv':function(_0x12bc87,_0x585b3e){return _0x12bc87!==_0x585b3e;},'YqoTL':function(_0x1aaccb,_0x32f0ae,_0x8c6d5b,_0x54f17a){return _0x1aaccb(_0x32f0ae,_0x8c6d5b,_0x54f17a);}};helper[_0x2f1c9f(0x13e)](_0x851b3f[_0x2f1c9f(0xfe)],_0x3908bf),await _0x851b3f[_0x2f1c9f(0x85)](_0x3908bf);helper['isBrowserstackInfra']()?await helper[_0x2f1c9f(0x16b)](_0x851b3f['config']):await _0x851b3f[_0x2f1c9f(0x129)]();const _0x31aae0=[];let _0x1fc978=[];if(!_0x851b3f[_0x2f1c9f(0x93)])return;!helper[_0x2f1c9f(0x15e)](_0x851b3f[_0x2f1c9f(0x93)]['accessibilityOptions'])&&(process[_0x2f1c9f(0xac)][_0x2f1c9f(0xbb)]=JSON[_0x2f1c9f(0x124)](_0x851b3f[_0x2f1c9f(0x93)][_0x2f1c9f(0x84)]));const _0x1e291=await TestHubHandler['launchBuild'](FRAMEWORKS[_0x2f1c9f(0xeb)],_0x851b3f);_0x50640d[_0x2f1c9f(0x12b)](_0x851b3f[_0x2f1c9f(0x93)][_0x2f1c9f(0x11d)],null)&&(process[_0x2f1c9f(0xac)][_0x2f1c9f(0x153)]=_0x851b3f[_0x2f1c9f(0x93)][_0x2f1c9f(0x11d)]);!helper[_0x2f1c9f(0x15e)](_0x851b3f[_0x2f1c9f(0x93)][_0x2f1c9f(0x10e)])&&(process['env'][_0x2f1c9f(0x11e)]=_0x851b3f[_0x2f1c9f(0x93)][_0x2f1c9f(0x10e)]);const {extension:extension=['js',_0x50640d[_0x2f1c9f(0xe6)],_0x50640d[_0x2f1c9f(0xd7)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x50640d[_0x2f1c9f(0xf5)]]}=_0x3908bf,_0x2c247f={..._0x3908bf};_0x2c247f[_0x2f1c9f(0xb8)]=null;const _0x2d5f7b=_0x2c247f;let _0x2ba44e;if(testOpsHelper[_0x2f1c9f(0xe8)]()&&testOpsHelper[_0x2f1c9f(0xaf)]()){let _0x22e7be=process[_0x2f1c9f(0xac)][_0x2f1c9f(0x173)];!helper[_0x2f1c9f(0x15e)](_0x851b3f[_0x2f1c9f(0xdb)])&&_0x851b3f[_0x2f1c9f(0xdb)][_0x2f1c9f(0x157)](_0x50640d[_0x2f1c9f(0x135)])&&(_0x22e7be=_0x851b3f[_0x2f1c9f(0xdb)][_0x2f1c9f(0x13d)](_0x50640d[_0x2f1c9f(0x135)])),_0x2ba44e=testOpsHelper['parseFileNames'](_0x22e7be);}if(helper[_0x2f1c9f(0x15e)](_0x2ba44e)){const _0x2e6e0c={};_0x2e6e0c[_0x2f1c9f(0xb6)]=ignore,_0x2e6e0c[_0x2f1c9f(0xbc)]=extension,_0x2e6e0c[_0x2f1c9f(0xdd)]=file,_0x2e6e0c[_0x2f1c9f(0x145)]=recursive,_0x2e6e0c[_0x2f1c9f(0xa0)]=sort,_0x2e6e0c['spec']=spec,_0x2ba44e=_0x50640d['pjpkt'](collectFiles,_0x2e6e0c),_0x50640d[_0x2f1c9f(0xf9)](nestedKeyValue,_0x2ba44e,[_0x50640d[_0x2f1c9f(0x175)]])&&(_0x2ba44e=_0x2ba44e[_0x2f1c9f(0x12e)]);}const _0x4f5c30=helper[_0x2f1c9f(0xf1)](_0x851b3f[_0x2f1c9f(0x93)]);!helper[_0x2f1c9f(0xc1)](_0x4f5c30)&&helper[_0x2f1c9f(0x120)](_0x4f5c30[_0x2f1c9f(0x10c)])&&(_0x2d5f7b[_0x2f1c9f(0x86)]=_0x4f5c30[_0x2f1c9f(0x10c)]['maxRetries']);if(!helper[_0x2f1c9f(0x17c)]()){const _0x294211=0x1,_0x3f315c={..._0x2d5f7b};_0x3f315c[_0x2f1c9f(0xc3)]=[..._0x2ba44e],_0x31aae0[_0x2f1c9f(0x98)]({'mochaOpts':_0x3f315c,'configuration':{'platform':os[_0x2f1c9f(0x13a)]()}});if(_0x851b3f[_0x2f1c9f(0x93)]['accessibility']){const _0x29b640={};_0x29b640[_0x2f1c9f(0x10e)]=!![];const _0x9d99e4=_0x29b640;_0x50640d[_0x2f1c9f(0x12b)](_0x851b3f[_0x2f1c9f(0x93)][_0x2f1c9f(0x84)],null)&&(_0x9d99e4['accessibilityOptions']=_0x851b3f[_0x2f1c9f(0x93)][_0x2f1c9f(0x84)],delete _0x9d99e4['accessibilityOptions'][_0x50640d[_0x2f1c9f(0x136)]],delete _0x9d99e4[_0x2f1c9f(0x84)][_0x50640d[_0x2f1c9f(0x178)]],delete _0x9d99e4[_0x2f1c9f(0x84)][_0x50640d[_0x2f1c9f(0xa1)]]);const _0x4f457e={};_0x4f457e[_0x2f1c9f(0xc5)]=_0x9d99e4,_0x31aae0[0x0][_0x2f1c9f(0x14c)][_0x2f1c9f(0xa2)]=_0x4f457e;}logger['info'](_0x50640d['aaciV']),logger[_0x2f1c9f(0x137)](_0x50640d[_0x2f1c9f(0xe5)]),_0x50640d['zRxwu'](parallelTestRun,_0x31aae0,_0x294211,_0x851b3f)[_0x2f1c9f(0xfa)](_0x22ad07=>{const _0x50a08d=_0x2f1c9f;PerformanceTester[_0x50a08d(0x103)](PerformanceEvents[_0x50a08d(0x10a)]),_0x50640d[_0x50a08d(0xe7)](printStats,_0x22ad07,_0x3908bf['reporter'],_0x3908bf[_0x50a08d(0x13b)]||_0x3908bf[_0x50640d[_0x50a08d(0xf6)]]);})['finally'](()=>{const _0xf825e1=_0x2f1c9f;PerformanceTester[_0xf825e1(0x103)](PerformanceEvents[_0xf825e1(0x10a)]);try{const {browserstackFolderPath:_0xe1f809,tcgConfigPath:_0xbaa31e}=helper[_0xf825e1(0x176)]();fs[_0xf825e1(0x149)](_0xbaa31e),fs['rmdirSync'](_0xe1f809);}catch(_0x3d39ee){logger[_0xf825e1(0x146)](_0x50640d['HhpcZ'],_0x3d39ee);}try{utilities[_0xf825e1(0xa4)](_0x50640d[_0xf825e1(0x172)],{},_0x851b3f[_0xf825e1(0x93)],_0x851b3f[_0xf825e1(0xfe)]);}catch(_0x20738e){logger[_0xf825e1(0x146)](_0xf825e1(0x131)+_0x20738e[_0xf825e1(0x101)]);}try{helper[_0xf825e1(0x161)]();}catch(_0x55bb97){logger[_0xf825e1(0x146)](_0xf825e1(0xb5)+_0x55bb97);}testOpsHelper[_0xf825e1(0xe4)]();});}else{const _0x4ad6a8=helper[_0x2f1c9f(0x14b)](_0x851b3f[_0x2f1c9f(0x93)]);let _0x5523cc=helper['getHubUrl'](_0x851b3f[_0x2f1c9f(0x93)]);_0x1fc978=helper['prepareCapabilities'](_0x851b3f['config'],_0x4ad6a8,constants[_0x2f1c9f(0x15b)][_0x2f1c9f(0xeb)]);helper[_0x2f1c9f(0x8a)]()[_0x2f1c9f(0x11b)]&&(_0x5523cc=centralScannerConstants[_0x2f1c9f(0xcd)]);let _0x3d91ad;const _0x56a287=_0x851b3f[_0x2f1c9f(0x93)]['parallelsPerPlatform']||helper[_0x2f1c9f(0x177)](_0x3908bf,_0x1a76f7,_0x851b3f[_0x2f1c9f(0x93)],constants[_0x2f1c9f(0x15b)][_0x2f1c9f(0xeb)])||0x1;helper[_0x2f1c9f(0xcb)](_0x851b3f[_0x2f1c9f(0x93)])?_0x3d91ad=_0x50640d[_0x2f1c9f(0x159)](_0x851b3f[_0x2f1c9f(0x93)][_0x2f1c9f(0xa6)]['length'],_0x56a287):_0x3d91ad=_0x56a287;const _0xdd343a=_0x50640d['mqNPe'](getPercyOptions,_0x851b3f[_0x2f1c9f(0x93)]);if(_0x50640d[_0x2f1c9f(0xf4)](_0x851b3f[_0x2f1c9f(0x93)][_0x2f1c9f(0xe9)],0x1))_0x2ba44e[_0x2f1c9f(0xec)](_0x4511b5=>{const _0x346d2b=_0x2f1c9f,_0x515246=[];_0x1fc978['forEach']((_0x55da8a,_0x17674a)=>{const _0x4806b7=a32_0xf8b0,_0x53543f={};_0x53543f[_0x4806b7(0xc3)]=[_0x4511b5],_0x515246[_0x4806b7(0x98)]({'mochaOpts':Object[_0x4806b7(0xab)]({},_0x2d5f7b,_0x53543f),'configuration':{'server':_0x5523cc,'capability':_0x55da8a,'proxySettings':_0x851b3f[_0x4806b7(0x93)][_0x4806b7(0x180)],'platform':helper[_0x4806b7(0xd6)](_0x55da8a),'browserStackLogLevel':_0x851b3f[_0x4806b7(0x93)]['logLevel'],'platformIndex':_0x17674a,'browserStackPercyOptions':_0xdd343a,'platformCaps':Object[_0x4806b7(0xab)]({'index':_0x17674a},_0x851b3f[_0x4806b7(0x93)][_0x4806b7(0xa6)][_0x17674a])}});}),_0x31aae0[_0x346d2b(0x98)](..._0x515246);});else{const _0xa83186=[];_0x1fc978[_0x2f1c9f(0xec)]((_0xc38f04,_0x4d41b0)=>{const _0x7c035a=_0x2f1c9f;let _0x4f6695=Object[_0x7c035a(0xab)]({},_0x2d5f7b);testOpsHelper[_0x7c035a(0xe8)]()&&testOpsHelper['shouldReRunObservabilityTests']()&&(_0x4f6695={..._0x4f6695,'spec':[..._0x2ba44e]}),_0xa83186[_0x7c035a(0x98)]({'mochaOpts':_0x4f6695,'configuration':{'server':_0x5523cc,'capability':_0xc38f04,'proxySettings':_0x851b3f[_0x7c035a(0x93)][_0x7c035a(0x180)],'platform':helper['getPlatformName'](_0xc38f04),'browserStackLogLevel':_0x851b3f[_0x7c035a(0x93)][_0x7c035a(0x8f)],'platformIndex':_0x4d41b0,'browserStackPercyOptions':_0xdd343a,'platformCaps':Object['assign']({'index':_0x4d41b0},_0x851b3f[_0x7c035a(0x93)][_0x7c035a(0xa6)][_0x4d41b0])}});}),_0x31aae0['push'](..._0xa83186);}logger[_0x2f1c9f(0x137)](_0x2f1c9f(0x12a)+_0x851b3f[_0x2f1c9f(0x93)]['platforms'][_0x2f1c9f(0x15f)]+_0x2f1c9f(0xae)),logger[_0x2f1c9f(0x137)](_0x50640d[_0x2f1c9f(0xe5)]);let _0x400b3d;_0x50640d['YqoTL'](parallelTestRun,_0x31aae0,_0x3d91ad,_0x851b3f)[_0x2f1c9f(0xfa)](_0x2469a8=>{const _0x23da8f=_0x2f1c9f;PerformanceTester[_0x23da8f(0x103)](PerformanceEvents[_0x23da8f(0x10a)]),_0x400b3d=_0x2469a8,_0x50640d[_0x23da8f(0x156)](printStats,_0x2469a8,_0x3908bf['reporter'],_0x3908bf[_0x23da8f(0x13b)]||_0x3908bf[_0x50640d[_0x23da8f(0xf6)]]);})[_0x2f1c9f(0x140)](async()=>{const _0x3afd5d=_0x2f1c9f;PerformanceTester['start'](PerformanceEvents[_0x3afd5d(0x10a)]),_0x851b3f[_0x3afd5d(0x12f)]=helper[_0x3afd5d(0xdf)](_0x400b3d,_0x50640d[_0x3afd5d(0xa7)]),await utilities[_0x3afd5d(0xa8)](_0x851b3f),testOpsHelper['printBuildLink']();});}}module[a32_0x2a1c58(0x8c)]=run;
|
|
2
|
+
'use strict';const a32_0x25edbf=a32_0x23ed;(function(_0xa95cb1,_0x3cdb48){const _0x2a4d9b=a32_0x23ed,_0x25be77=_0xa95cb1();while(!![]){try{const _0xbc0717=parseInt(_0x2a4d9b(0xbf))/0x1+-parseInt(_0x2a4d9b(0x164))/0x2+-parseInt(_0x2a4d9b(0x16d))/0x3+-parseInt(_0x2a4d9b(0xfd))/0x4*(parseInt(_0x2a4d9b(0x195))/0x5)+-parseInt(_0x2a4d9b(0x16b))/0x6*(-parseInt(_0x2a4d9b(0x14b))/0x7)+-parseInt(_0x2a4d9b(0x15a))/0x8+-parseInt(_0x2a4d9b(0xde))/0x9*(-parseInt(_0x2a4d9b(0x12c))/0xa);if(_0xbc0717===_0x3cdb48)break;else _0x25be77['push'](_0x25be77['shift']());}catch(_0x3423c1){_0x25be77['push'](_0x25be77['shift']());}}}(a32_0x5dcd,0x8bbf1));function a32_0x5dcd(){const _0x2175f4=['suite','xRJYg','3366584hqrjwb','TESKA','reporterOptions','prepareCapabilities','Setting\x20non\x20exit\x20code\x20for\x20failures','configuration','pADDB','Zoaoh','message','debug','312162egodPV','../../helpers/central-scanner/constants','EUipF','kpjWv','bmkTR','SwWDK','accessibility','18tXOyNx','orMuT','2185308GhLudS','MOCHA','err','qbrhA','iEyri','YktsA','unlinkSync','wMRVR','map','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','LdAQZ','config','launchBuild','BROWSERSTACK_TEST_OBSERVABILITY_YML','bold','retries','\x20failed','consoleLog','push','file','showDiff','GoLOW','AGwqx','handleApp','titlePathV','cliConfig','wYSLI','SDKTestSuccessful','errorMessage','rmdirSync','extension','Qlhnm','Listing\x20all\x20the\x20failures','get','EeHMh','../../helpers/utilities','tyYUN','cjs','wCthd','then','149160fWTtml','aEGCz','XMXZk','parallelsPerPlatform','bgRedBright','logLevel','Total\x20Platforms:\x20','min','mocha','testsFailed','BROWSERSTACK_RERUN_TESTS','info','DPRKS','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','BgphS','SUvII','NnLdn','yzpkm','KVeuu','oAoup','finally','writeFileSync','testObservability','mocha/lib/cli/collect-files.js','FGeYI','../test-runner','green','PtZop','VxMse','includeTagsInTestingScope','../../helpers/percy/utils','pvxaR','SDK_CLEANUP','Mocha\x20Tests','zjrNs','CfZBK','fullTitle','wEhhV','object','getHubUrl','parseTestOrchestrationOptions','reporter','testSuites','717604PeZPeP','Onklu','stringify','getUserWorkerCount','getErrorMessageFromResults','olsth','IoSkv','platforms','aIxUk','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','OKFWy','list','Writing\x20json\x20result\x20to\x20file','eHqyR','../../helpers/test-observability/constants','Printing\x20stats\x20of\x20tests','CScMb','../../helpers/test-observability/utils','../../helpers/helper','assign','MJbxg','cBXWe','gVRfT','shouldReRunObservabilityTests','Total\x20Suites:\x20','sQAvQ','mjs','forEach','duration','Writing\x20xunit\x20result\x20to\x20file','wzXrF','134478Zmlxhg','isTestObservabilitySession','YZPPY','failed','../../helpers/testhub/testhubHandler','XCjbm','bstack:options','log','speed','gdJmg','MRrkI','central_scanner','keys','passes','rVoTt','join','ArgbH','Tests:\x20\x20\x20\x20\x20\x20\x20','ignore','includeEncodedExtension','files','sCder','winstonLogger','parse','accessibilityOptions','exports','ZuYSG','bpsUU','dUBDC','stack','eahtn','116JrCxSp','rGNZk','QPfrb','getOwnPropertyNames','JivKP','EKLgP','rootHooks','recursive','bgBlueBright','indexOf','SXNtA','dIguk','zRPvG','FRAMEWORKS','oFNMh','start','NDzLD','KGWyy','msLlL','testcase','state','failure','Running\x20your\x20mocha\x20tests\x20across\x20','output','BTwsj','titlePath','setUserConfigPath','useColors','EfWXu','yellow','pending','xunit','error','totalTests','title','EVENTS','proxySettings','IHVzC','getCentralUser','anDOk','CklEp','../utils/clientTroubleshootingService','HInLp','currentRetry','size','BFVmh','</testsuite>','740VXLdmV','testsPassed','tnQQI','json','VVMgw','JyyMO','actual','env','isNotUndefined','length','****\x20FAILURES\x20****','red','getPlatformName','framework','retryTestsOnFailure','platform','testsPending','notifyUpdate','XQtOY','spec','error\x20removing\x20tcg\x20config\x20file','Now,\x20showing\x20logs\x20from\x20mocha','LDYjX','prototype','finalExecution','RpqZa','results','isBrowserstackInfra','failures','useW3C','mvOTc','2145633reyGGi','isUndefined','\x20total','xYBUx','epkGe','drAgl','lGLkj','passed','stats','olbIH','sort','VTUYX','jUiDU'];a32_0x5dcd=function(){return _0x2175f4;};return a32_0x5dcd();}const chalk=require('chalk'),logger=require('../../helpers/logger')[a32_0x25edbf(0xf4)],helper=require(a32_0x25edbf(0xd1)),utilities=require(a32_0x25edbf(0x190)),testOpsHelper=require(a32_0x25edbf(0xd0)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a32_0x25edbf(0xad)),{requireModule,nestedKeyValue}=require(a32_0x25edbf(0xd1)),{getPercyOptions}=require(a32_0x25edbf(0xb2)),Base=requireModule('mocha/lib/reporters/base.js',a32_0x25edbf(0x19d)),collectFiles=requireModule(a32_0x25edbf(0x1ac),a32_0x25edbf(0x19d)),constants=require('../utils/constants'),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require('../../helpers/performance/constants')[a32_0x25edbf(0x120)],centralScannerConstants=require(a32_0x25edbf(0x165)),{FRAMEWORKS}=require(a32_0x25edbf(0xcd)),TestHubHandler=require(a32_0x25edbf(0xe2)),ClientTroubleShootingService=require(a32_0x25edbf(0x126));function tag(_0x1c3ba2,_0xe8a973,_0x3a8ee6,_0x1e0581){const _0x2a713e=a32_0x25edbf,_0x586100={'LDYjX':function(_0x480ddc,_0x3aef23){return _0x480ddc+_0x3aef23;},'olsth':function(_0x39f170,_0x330fb0){return _0x39f170+_0x330fb0;},'ArgbH':function(_0x561f00,_0x303129){return _0x561f00(_0x303129);},'MRrkI':function(_0x59feb2,_0x63ac50){return _0x59feb2+_0x63ac50;},'QPfrb':function(_0x299ff3,_0x515732){return _0x299ff3+_0x515732;}},_0x130f5a=_0x3a8ee6?'/>':'>',_0x5ad472=[];let _0x37d183;for(const _0x1b8975 in _0xe8a973){Object[_0x2a713e(0x143)]['hasOwnProperty']['call'](_0xe8a973,_0x1b8975)&&_0x5ad472[_0x2a713e(0x17f)](_0x586100[_0x2a713e(0x142)](_0x586100[_0x2a713e(0x142)](_0x586100[_0x2a713e(0xc4)](_0x1b8975,'=\x22'),_0x586100[_0x2a713e(0xee)](escape,_0xe8a973[_0x1b8975])),'\x22'));}return _0x37d183=_0x586100[_0x2a713e(0xe8)](_0x586100[_0x2a713e(0xe8)](_0x586100[_0x2a713e(0xc4)]('<',_0x1c3ba2),_0x5ad472[_0x2a713e(0x135)]?_0x586100[_0x2a713e(0xff)]('\x20',_0x5ad472[_0x2a713e(0xed)]('\x20')):''),_0x130f5a),_0x1e0581&&(_0x37d183+=_0x586100[_0x2a713e(0xff)](_0x586100[_0x2a713e(0xff)](_0x586100['olsth'](_0x1e0581,'</'),_0x1c3ba2),_0x130f5a)),_0x37d183;}let xunitContent='';function xunitWrite(_0x6ce60e){xunitContent+=_0x6ce60e;}function a32_0x23ed(_0xff1ca3,_0x5265c6){const _0x5dcdce=a32_0x5dcd();return a32_0x23ed=function(_0x23edbc,_0x4c6c53){_0x23edbc=_0x23edbc-0xac;let _0x96f5bd=_0x5dcdce[_0x23edbc];return _0x96f5bd;},a32_0x23ed(_0xff1ca3,_0x5265c6);}function xunitTest(_0x3ed010,_0x29bc18){const _0x143c36=a32_0x25edbf,_0x3057d9={'zRPvG':function(_0x9bc518,_0x5426eb){return _0x9bc518/_0x5426eb;},'IHVzC':function(_0x4ac77a,_0x381401){return _0x4ac77a===_0x381401;},'EUipF':_0x143c36(0xe1),'BgphS':function(_0x1d54b9,_0x1ce3e5){return _0x1d54b9+_0x1ce3e5;},'eHqyR':function(_0x2240e4,_0x414504){return _0x2240e4(_0x414504);},'aEGCz':function(_0x4d55fb,_0x20c4de,_0x4740ae,_0x59a1ee,_0x4e901a){return _0x4d55fb(_0x20c4de,_0x4740ae,_0x59a1ee,_0x4e901a);},'Qlhnm':_0x143c36(0x110),'oqdHj':_0x143c36(0x112),'irvot':function(_0x2deadb,_0x3fce9b){return _0x2deadb+_0x3fce9b;},'KVeuu':function(_0x538531,_0x2dabe8){return _0x538531(_0x2dabe8);},'cwhBv':function(_0x1800d4,_0x48ec37){return _0x1800d4(_0x48ec37);},'njDiO':function(_0x348a30,_0x7f0f88,_0x411d8a,_0x5bb852){return _0x348a30(_0x7f0f88,_0x411d8a,_0x5bb852);},'oAoup':'skipped','EeHMh':function(_0x138257,_0x56c3c2,_0xee8ab9,_0x32a646){return _0x138257(_0x56c3c2,_0xee8ab9,_0x32a646);}};Base[_0x143c36(0x118)]=![];var _0x38a39d={'classname':_0x3ed010[_0x143c36(0xb8)],'name':_0x3ed010[_0x143c36(0x11f)],'time':_0x3057d9[_0x143c36(0x109)](_0x3ed010[_0x143c36(0xdb)],0x3e8)||0x0,'platform':_0x29bc18};if(_0x3057d9[_0x143c36(0x122)](_0x3ed010[_0x143c36(0x111)],_0x3057d9[_0x143c36(0x166)])){var _0x1dc8ce=_0x3ed010[_0x143c36(0x16f)],_0x21f5a6=!Base['hideDiff']&&Base[_0x143c36(0x181)](_0x1dc8ce)?_0x3057d9[_0x143c36(0x1a3)]('\x0a',Base['generateDiff'](_0x1dc8ce[_0x143c36(0x132)],_0x1dc8ce['expected'])):'';_0x3057d9[_0x143c36(0xcc)](xunitWrite,_0x3057d9['aEGCz'](tag,_0x3057d9[_0x143c36(0x18c)],_0x38a39d,![],_0x3057d9[_0x143c36(0x196)](tag,_0x3057d9['oqdHj'],{},![],_0x3057d9[_0x143c36(0x1a3)](_0x3057d9[_0x143c36(0x1a3)](_0x3057d9['irvot'](_0x3057d9[_0x143c36(0xcc)](escape,_0x1dc8ce[_0x143c36(0x162)]),_0x3057d9[_0x143c36(0x1a7)](escape,_0x21f5a6)),'\x0a'),_0x3057d9[_0x143c36(0xcc)](escape,_0x1dc8ce['stack'])))));}else _0x3ed010['isPending']?_0x3057d9['cwhBv'](xunitWrite,_0x3057d9[_0x143c36(0x196)](tag,_0x3057d9[_0x143c36(0x18c)],_0x38a39d,![],_0x3057d9['njDiO'](tag,_0x3057d9[_0x143c36(0x1a8)],{},!![]))):_0x3057d9[_0x143c36(0x1a7)](xunitWrite,_0x3057d9[_0x143c36(0x18f)](tag,_0x3057d9[_0x143c36(0x18c)],_0x38a39d,!![]));};function getStats(_0x365190){const _0x3669fe=a32_0x25edbf,_0x427aef={};_0x427aef[_0x3669fe(0x13e)]=_0x3669fe(0x158),_0x427aef[_0x3669fe(0xf8)]='passed',_0x427aef[_0x3669fe(0x107)]=_0x3669fe(0xe1),_0x427aef[_0x3669fe(0xb0)]=_0x3669fe(0x146);const _0x161241=_0x427aef,_0x4f77e3=Object[_0x3669fe(0xea)](_0x365190);let _0x31405e=0x0,_0x5573e5=0x0,_0x5a5f15=0x0,_0x235e81=0x0;const _0xe307ae=new Set();_0x4f77e3['forEach'](_0x274652=>{const _0x1d41a9=_0x3669fe;_0x365190[_0x274652][_0x161241[_0x1d41a9(0xb0)]][_0x1d41a9(0xda)](_0x4a0ef9=>{const _0x2bc277=_0x1d41a9;_0xe307ae['add'](_0x4a0ef9[_0x161241[_0x2bc277(0x13e)]]),_0x31405e++;switch(_0x4a0ef9['state']){case _0x161241[_0x2bc277(0xf8)]:_0x5a5f15++;break;case _0x161241[_0x2bc277(0x107)]:_0x5573e5++;break;default:_0x235e81++;}});});const _0x31c899={};return _0x31c899[_0x3669fe(0xbe)]=_0xe307ae[_0x3669fe(0x129)],_0x31c899['platforms']=_0x4f77e3,_0x31c899[_0x3669fe(0x11e)]=_0x31405e,_0x31c899['testsFailed']=_0x5573e5,_0x31c899[_0x3669fe(0x12d)]=_0x5a5f15,_0x31c899[_0x3669fe(0x13c)]=_0x235e81,_0x31c899;}function errorJSON(_0x58f4fa){const _0x2be117=a32_0x25edbf;var _0x43f66e={};return Object[_0x2be117(0x100)](_0x58f4fa)[_0x2be117(0xda)](function(_0x3ef268){_0x43f66e[_0x3ef268]=_0x58f4fa[_0x3ef268];},_0x58f4fa),_0x43f66e;}function cleanCycles(_0x2d7ae1){const _0x168ed0=a32_0x25edbf,_0x466776={};_0x466776[_0x168ed0(0xfa)]=function(_0x106656,_0x582961){return _0x106656===_0x582961;},_0x466776[_0x168ed0(0x168)]=_0x168ed0(0xba),_0x466776['anDOk']=function(_0x1ad836,_0x4022dd){return _0x1ad836!==_0x4022dd;},_0x466776[_0x168ed0(0x169)]=function(_0x14fa64,_0x3aa90d){return _0x14fa64+_0x3aa90d;};const _0x5529aa=_0x466776;var _0x34424e=[];return JSON[_0x168ed0(0xf5)](JSON[_0x168ed0(0xc1)](_0x2d7ae1,function(_0x280915,_0x19d7e0){const _0x56aa35=_0x168ed0;if(_0x5529aa[_0x56aa35(0xfa)](typeof _0x19d7e0,_0x5529aa['bmkTR'])&&_0x5529aa['anDOk'](_0x19d7e0,null)){if(_0x5529aa[_0x56aa35(0x124)](_0x34424e[_0x56aa35(0x106)](_0x19d7e0),-0x1))return _0x5529aa['SwWDK']('',_0x19d7e0);_0x34424e[_0x56aa35(0x17f)](_0x19d7e0);}return _0x19d7e0;}));}function clean(_0x17c6f3){const _0x5c189b=a32_0x25edbf,_0x506090={'kpjWv':function(_0x3e9e7d,_0x1b4aaf){return _0x3e9e7d instanceof _0x1b4aaf;},'EfWXu':function(_0x25af23,_0x47b846){return _0x25af23(_0x47b846);}};var _0x58b7c5=_0x17c6f3[_0x5c189b(0x16f)]||{};return _0x506090[_0x5c189b(0x167)](_0x58b7c5,Error)&&(_0x58b7c5=_0x506090[_0x5c189b(0x119)](errorJSON,_0x58b7c5)),{'title':_0x17c6f3['title'],'fullTitle':_0x17c6f3[_0x5c189b(0xb8)],'file':_0x17c6f3[_0x5c189b(0x180)],'duration':_0x17c6f3['duration'],'currentRetry':_0x17c6f3[_0x5c189b(0x128)],'speed':_0x17c6f3[_0x5c189b(0xe6)],'err':_0x506090[_0x5c189b(0x119)](cleanCycles,_0x58b7c5)};}function printStats(_0x548edb,_0x19e1f2=a32_0x25edbf(0x13f),_0x10f80b={}){const _0x4aba58=a32_0x25edbf,_0x36918f={'xYBUx':function(_0x221345,_0xcae0d4){return _0x221345(_0xcae0d4);},'wMRVR':function(_0x1b4208,_0x3a9d03){return _0x1b4208===_0x3a9d03;},'MJbxg':_0x4aba58(0x152),'YktsA':_0x4aba58(0xeb),'BFVmh':function(_0x4943d7,_0x1b6f51){return _0x4943d7(_0x1b6f51);},'HInLp':_0x4aba58(0xe1),'KGWyy':_0x4aba58(0x148),'cUttd':_0x4aba58(0x11b),'rGNZk':_0x4aba58(0x146),'oFNMh':function(_0x1f2ef7,_0x312151){return _0x1f2ef7===_0x312151;},'gVRfT':function(_0x322ee4,_0x6ed641){return _0x322ee4*_0x6ed641;},'bpsUU':function(_0x21e7ff,_0x1eb425,_0x1c62e7){return _0x21e7ff(_0x1eb425,_0x1c62e7);},'pADDB':function(_0x59baf6,_0x4593ec){return _0x59baf6===_0x4593ec;},'zjrNs':function(_0x30de6c,_0x4be3f5){return _0x30de6c>_0x4be3f5;},'wzXrF':function(_0x1f4394){return _0x1f4394();},'PtZop':function(_0x1ec9b6,_0x8ea64a){return _0x1ec9b6===_0x8ea64a;},'LdAQZ':'doc','xRJYg':function(_0x459c71,_0x442242){return _0x459c71(_0x442242);},'JivKP':function(_0x131cf6,_0x26c75f){return _0x131cf6>_0x26c75f;},'tnQQI':_0x4aba58(0x15e),'mvOTc':_0x4aba58(0xce),'wCthd':function(_0x3dcaad,_0x31493e){return _0x3dcaad+_0x31493e;},'eahtn':_0x4aba58(0x19b),'sQAvQ':_0x4aba58(0xd7),'epkGe':function(_0x3ad285,_0x2254ba){return _0x3ad285+_0x2254ba;},'YZPPY':function(_0x2edaa1,_0x420dbe){return _0x2edaa1+_0x420dbe;},'CfZBK':function(_0x545fc1,_0x2e5c00){return _0x545fc1+_0x2e5c00;},'wEhhV':_0x4aba58(0xef),'IoSkv':function(_0x53cc30,_0x106a62){return _0x53cc30+_0x106a62;},'iEyri':function(_0x320701,_0x5968d4){return _0x320701+_0x5968d4;},'sCder':'\x0a\x0a\x0a','SUvII':function(_0x1d4619,_0x3f76ff){return _0x1d4619===_0x3f76ff;},'ESMMD':_0x4aba58(0x12f),'pvxaR':_0x4aba58(0xcb),'UILss':'Couldn\x27t\x20write\x20json\x20result\x20to','Dfhok':_0x4aba58(0xc8),'VTUYX':_0x4aba58(0x11c),'EKLgP':_0x4aba58(0xb5),'Zoaoh':function(_0x43661a,_0x3c93f0){return _0x43661a||_0x3c93f0;},'dIguk':function(_0x2e2377,_0x32d68d){return _0x2e2377(_0x32d68d);},'TALkz':function(_0x47bdb3,_0x35711a,_0x43185a,_0x2a2c06){return _0x47bdb3(_0x35711a,_0x43185a,_0x2a2c06);},'wYSLI':'testsuite','CklEp':function(_0x403e66,_0x5b3090){return _0x403e66-_0x5b3090;},'pmdyP':function(_0x59206e,_0x141175){return _0x59206e/_0x141175;},'Onklu':_0x4aba58(0x12b),'yXWRx':_0x4aba58(0xdc),'Uifuu':'Couldn\x27t\x20write\x20xunit\x20result\x20to','FGeYI':_0x4aba58(0x1a2),'NDzLD':_0x4aba58(0x18d),'NFMMS':_0x4aba58(0x136)};if(_0x36918f[_0x4aba58(0xaf)](_0x19e1f2,_0x36918f[_0x4aba58(0x177)]))return;const _0x130d0b=0x0,_0x419491=()=>{const _0x588834=_0x4aba58;return _0x36918f[_0x588834(0x14e)](Array,_0x130d0b)[_0x588834(0xed)]('\x20\x20');},{testSuites:_0xad6f85,platforms:_0xf1cd2b,totalTests:_0x1a3395,testsFailed:_0x808a68,testsPassed:_0x4ba228,testsPending:_0x503f61}=_0x36918f[_0x4aba58(0x159)](getStats,_0x548edb);_0x36918f['JivKP'](_0x808a68,0x0)&&(logger['debug'](_0x36918f[_0x4aba58(0x12e)]),process['exitCode']=Math[_0x4aba58(0x19c)](_0x808a68,0xff));logger['debug'](_0x36918f[_0x4aba58(0x14a)]);const _0x4585a1=''+_0x36918f[_0x4aba58(0x193)](chalk[_0x4aba58(0x17b)](_0x36918f[_0x4aba58(0xfc)]),_0xf1cd2b[_0x4aba58(0x135)]),_0x19b7fb=''+_0x36918f[_0x4aba58(0x193)](chalk[_0x4aba58(0x17b)](_0x36918f[_0x4aba58(0xd8)]),_0xad6f85),_0x2bdf5a=''+_0x36918f[_0x4aba58(0x14f)](_0x36918f[_0x4aba58(0xe0)](_0x36918f[_0x4aba58(0xb7)](chalk[_0x4aba58(0x17b)](_0x36918f[_0x4aba58(0xb9)]),_0x36918f['JivKP'](_0x808a68,0x0)?chalk['bold'][_0x4aba58(0x137)](_0x808a68+_0x4aba58(0x17d))+',\x20':''),_0x36918f[_0x4aba58(0xb6)](_0x503f61,0x0)?chalk['bold'][_0x4aba58(0x11a)](_0x503f61+'\x20skipped')+',\x20':''),_0x36918f[_0x4aba58(0x101)](_0x4ba228,0x0)?chalk[_0x4aba58(0x17b)][_0x4aba58(0xae)](_0x4ba228+'\x20passed')+',\x20':'')+_0x1a3395+_0x4aba58(0x14d);console['log'](_0x36918f[_0x4aba58(0xb7)](_0x36918f[_0x4aba58(0xc5)](_0x36918f['YZPPY'](_0x36918f[_0x4aba58(0x171)](_0x36918f[_0x4aba58(0x171)](_0x36918f[_0x4aba58(0xf3)],_0x4585a1),'\x0a'),_0x19b7fb),'\x0a'),_0x2bdf5a));if(_0x36918f['SUvII'](_0x19e1f2,_0x36918f['ESMMD'])){const _0x113756={},_0x3cc27f={};_0x3cc27f[_0x4aba58(0xbe)]=_0xad6f85,_0x3cc27f[_0x4aba58(0xc6)]=_0xf1cd2b,_0x3cc27f[_0x4aba58(0x19e)]=_0x808a68,_0x3cc27f[_0x4aba58(0x12d)]=_0x4ba228,_0x3cc27f[_0x4aba58(0x13c)]=_0x503f61,_0x113756[_0x4aba58(0x153)]=_0x3cc27f,_0xf1cd2b['forEach'](_0x1ae934=>{const _0x2185b3=_0x4aba58;_0x113756[_0x1ae934]={'pending':[],'failures':[],'passes':[],'tests':_0x548edb[_0x1ae934][_0x36918f[_0x2185b3(0xfe)]][_0x2185b3(0x175)](clean)},_0x548edb[_0x1ae934][_0x36918f['rGNZk']][_0x2185b3(0xda)](_0x897a42=>{const _0x11f16e=_0x2185b3;if(_0x36918f[_0x11f16e(0x174)](_0x897a42['state'],_0x36918f[_0x11f16e(0xd3)]))_0x113756[_0x1ae934][_0x36918f[_0x11f16e(0x172)]][_0x11f16e(0x17f)](_0x36918f[_0x11f16e(0x12a)](clean,_0x897a42));else _0x36918f['wMRVR'](_0x897a42['state'],_0x36918f[_0x11f16e(0x127)])?_0x113756[_0x1ae934][_0x36918f[_0x11f16e(0x10e)]][_0x11f16e(0x17f)](_0x36918f['xYBUx'](clean,_0x897a42)):_0x113756[_0x1ae934][_0x36918f['cUttd']][_0x11f16e(0x17f)](_0x36918f[_0x11f16e(0x14e)](clean,_0x897a42));});});if(_0x10f80b[_0x4aba58(0x114)])try{logger[_0x4aba58(0x163)](_0x36918f[_0x4aba58(0xb3)],_0x10f80b[_0x4aba58(0x114)]),fs[_0x4aba58(0x1aa)](_0x10f80b['output'],JSON[_0x4aba58(0xc1)](_0x113756,null,0x3));}catch(_0x364a4c){logger[_0x4aba58(0x11d)](_0x36918f['UILss'],_0x10f80b[_0x4aba58(0x114)]),logger[_0x4aba58(0x163)](_0x364a4c);}else logger[_0x4aba58(0x163)](_0x36918f['Dfhok']),console[_0x4aba58(0xe5)](JSON['stringify'](_0x113756,null,0x3));}else{if(_0x36918f[_0x4aba58(0x1a4)](_0x19e1f2,_0x36918f[_0x4aba58(0x156)])){let _0x21eea2;const _0x70810e=_0x36918f[_0x4aba58(0x102)];_0x10f80b&&(_0x21eea2=_0x10f80b['suiteName']);_0x21eea2=_0x36918f[_0x4aba58(0x161)](_0x21eea2,_0x70810e);let _0x57251a=0x0,_0x301276=0x0,_0x366374=0x0,_0x3b4ddc=0x0;_0xf1cd2b[_0x4aba58(0xda)](_0x1fd570=>{const _0x2a0ccb=_0x4aba58,_0x3408a2={'aIxUk':function(_0x4286f1,_0x5f3308){const _0x47d199=a32_0x23ed;return _0x36918f[_0x47d199(0x10b)](_0x4286f1,_0x5f3308);},'yzpkm':_0x36918f[_0x2a0ccb(0xd3)],'VVMgw':_0x36918f[_0x2a0ccb(0x127)],'JyyMO':function(_0x50b59c,_0x19f09b){const _0x31224e=_0x2a0ccb;return _0x36918f[_0x31224e(0xd5)](_0x50b59c,_0x19f09b);}};_0x548edb[_0x1fd570][_0x36918f[_0x2a0ccb(0xfe)]][_0x2a0ccb(0xda)](_0x4f0682=>{const _0x1872e7=_0x2a0ccb;if(_0x3408a2[_0x1872e7(0xc7)](_0x4f0682[_0x1872e7(0x111)],_0x3408a2[_0x1872e7(0x1a6)]))_0x57251a++;else _0x3408a2['aIxUk'](_0x4f0682[_0x1872e7(0x111)],_0x3408a2[_0x1872e7(0x130)])&&_0x301276++;_0x366374++,_0x3b4ddc+=_0x3408a2[_0x1872e7(0x131)](_0x4f0682['duration'],0x1);});}),_0x36918f[_0x4aba58(0x108)](xunitWrite,_0x36918f['TALkz'](tag,_0x36918f[_0x4aba58(0x187)],{'name':_0x21eea2,'tests':_0x366374,'failures':0x0,'errors':_0x301276,'skipped':_0x36918f[_0x4aba58(0x125)](_0x36918f[_0x4aba58(0x125)](_0x366374,_0x301276),_0x57251a),'timestamp':new Date()['toUTCString'](),'time':_0x36918f['pmdyP'](_0x3b4ddc,0x3e8)||0x0},![])),_0xf1cd2b[_0x4aba58(0xda)](_0x5e295d=>{const _0x33e969=_0x4aba58,_0x40c024={'tyYUN':function(_0x224e79,_0x220ce0,_0x2080d8){const _0x16ec40=a32_0x23ed;return _0x36918f[_0x16ec40(0xf9)](_0x224e79,_0x220ce0,_0x2080d8);}};_0x548edb[_0x5e295d][_0x36918f[_0x33e969(0xfe)]][_0x33e969(0xda)](_0x17a802=>{const _0x2e5cdc=_0x33e969;_0x40c024[_0x2e5cdc(0x191)](xunitTest,_0x17a802,_0x5e295d);});}),_0x36918f['xRJYg'](xunitWrite,_0x36918f[_0x4aba58(0xc0)]);if(_0x10f80b['output'])try{logger[_0x4aba58(0x163)](_0x36918f['yXWRx'],_0x10f80b['output']),fs[_0x4aba58(0x1aa)](_0x10f80b[_0x4aba58(0x114)],xunitContent);}catch(_0x15c36e){logger[_0x4aba58(0x11d)](_0x36918f['Uifuu'],_0x10f80b[_0x4aba58(0x114)]),logger['debug'](_0x15c36e);}else logger['debug'](_0x36918f[_0x4aba58(0xac)]),console[_0x4aba58(0xe5)](xunitContent);}else{if(_0x36918f[_0x4aba58(0x1a4)](_0x808a68,0x0))return;console[_0x4aba58(0xe5)](),logger[_0x4aba58(0x163)](_0x36918f[_0x4aba58(0x10d)]),console[_0x4aba58(0xe5)](chalk[_0x4aba58(0x17b)][_0x4aba58(0x199)](_0x36918f['NFMMS'])),_0xf1cd2b[_0x4aba58(0xda)](_0x332382=>{const _0x2d0235=_0x4aba58,_0x7e858=[];_0x548edb[_0x332382][_0x36918f[_0x2d0235(0xfe)]][_0x2d0235(0xda)](_0x79eaa4=>{const _0x3bcf21=_0x2d0235;_0x36918f[_0x3bcf21(0x160)](_0x79eaa4[_0x3bcf21(0x111)],_0x36918f[_0x3bcf21(0x127)])&&(_0x79eaa4[_0x3bcf21(0x116)]=()=>_0x79eaa4[_0x3bcf21(0x185)],_0x7e858[_0x3bcf21(0x17f)](_0x79eaa4));}),_0x36918f[_0x2d0235(0xb6)](_0x7e858[_0x2d0235(0x135)],0x0)&&(Base['consoleLog'](),Base[_0x2d0235(0x17e)](_0x36918f[_0x2d0235(0xdd)](_0x419491),chalk[_0x2d0235(0x17b)][_0x2d0235(0x105)](_0x332382)),Base[_0x2d0235(0xca)](_0x7e858));});}}}async function run(_0x5bf238,_0xb01e0,_0x53b1aa){const _0x5ae7c6=a32_0x25edbf,_0x5889c4={'DPRKS':function(_0x54226a,_0x2e3bb0,_0x8fd324,_0x4faf00){return _0x54226a(_0x2e3bb0,_0x8fd324,_0x4faf00);},'msLlL':'reporter-option','GoLOW':_0x5ae7c6(0x140),'CScMb':_0x5ae7c6(0x188),'rVoTt':_0x5ae7c6(0x19d),'lGLkj':function(_0x3b7c93,_0x2b6bef){return _0x3b7c93!=_0x2b6bef;},'AGwqx':_0x5ae7c6(0x192),'NnLdn':_0x5ae7c6(0xd9),'BTwsj':'test','olbIH':'rerunTests','orMuT':function(_0x251a7f,_0x2e0bea){return _0x251a7f(_0x2e0bea);},'OKFWy':function(_0x1a76c1,_0x11571a,_0x3aa9b4){return _0x1a76c1(_0x11571a,_0x3aa9b4);},'jUiDU':_0x5ae7c6(0xf2),'drAgl':function(_0x3ce39d,_0x5ab310){return _0x3ce39d!=_0x5ab310;},'TESKA':_0x5ae7c6(0xb1),'RpqZa':'excludeTagsInTestingScope','TsBOR':_0x5ae7c6(0xf1),'GIkuz':'Running\x20your\x20mocha\x20tests','qbrhA':_0x5ae7c6(0x141),'gdJmg':function(_0x477152,_0x47ecb9){return _0x477152*_0x47ecb9;},'XMXZk':function(_0x1949d8,_0xc562a5){return _0x1949d8(_0xc562a5);},'cBXWe':function(_0x1a290c,_0x40481e){return _0x1a290c!==_0x40481e;},'XCjbm':function(_0x2b9622,_0x255cba,_0x2e1183,_0x5351a5){return _0x2b9622(_0x255cba,_0x2e1183,_0x5351a5);}};helper[_0x5ae7c6(0x117)](_0x53b1aa[_0x5ae7c6(0x139)],_0x5bf238),await _0x53b1aa['initialize'](_0x5bf238);helper[_0x5ae7c6(0x147)]()?await helper[_0x5ae7c6(0x184)](_0x53b1aa[_0x5ae7c6(0x178)]):await _0x53b1aa['setupTCGAuth']();const _0x478dd2=[];let _0x4f9162=[];if(!_0x53b1aa[_0x5ae7c6(0x178)])return;!helper[_0x5ae7c6(0x14c)](_0x53b1aa[_0x5ae7c6(0x178)][_0x5ae7c6(0xf6)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x53b1aa[_0x5ae7c6(0x178)][_0x5ae7c6(0xf6)]));const _0x432c9d=await TestHubHandler[_0x5ae7c6(0x179)](FRAMEWORKS[_0x5ae7c6(0x16e)],_0x53b1aa);_0x5889c4[_0x5ae7c6(0x151)](_0x53b1aa[_0x5ae7c6(0x178)]['testObservability'],null)&&(process['env'][_0x5ae7c6(0x17a)]=_0x53b1aa[_0x5ae7c6(0x178)][_0x5ae7c6(0x1ab)]);!helper['isUndefined'](_0x53b1aa[_0x5ae7c6(0x178)][_0x5ae7c6(0x16a)])&&(process[_0x5ae7c6(0x133)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x53b1aa[_0x5ae7c6(0x178)]['accessibility']);const {extension:extension=['js',_0x5889c4[_0x5ae7c6(0x183)],_0x5889c4[_0x5ae7c6(0x1a5)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x5889c4[_0x5ae7c6(0x115)]]}=_0x5bf238,_0xfad092={..._0x5bf238};_0xfad092[_0x5ae7c6(0x103)]=null;const _0xa4af89=_0xfad092;let _0x55e005;if(testOpsHelper[_0x5ae7c6(0xdf)]()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0x5b7018=process['env'][_0x5ae7c6(0x19f)];!helper[_0x5ae7c6(0x14c)](_0x53b1aa[_0x5ae7c6(0x186)])&&_0x53b1aa[_0x5ae7c6(0x186)]['has'](_0x5889c4[_0x5ae7c6(0x154)])&&(_0x5b7018=_0x53b1aa[_0x5ae7c6(0x186)][_0x5ae7c6(0x18e)](_0x5889c4[_0x5ae7c6(0x154)])),_0x55e005=testOpsHelper['parseFileNames'](_0x5b7018);}if(helper[_0x5ae7c6(0x14c)](_0x55e005)){const _0x4f0a3b={};_0x4f0a3b[_0x5ae7c6(0xf0)]=ignore,_0x4f0a3b[_0x5ae7c6(0x18b)]=extension,_0x4f0a3b[_0x5ae7c6(0x180)]=file,_0x4f0a3b[_0x5ae7c6(0x104)]=recursive,_0x4f0a3b[_0x5ae7c6(0x155)]=sort,_0x4f0a3b[_0x5ae7c6(0x13f)]=spec,_0x55e005=_0x5889c4[_0x5ae7c6(0x16c)](collectFiles,_0x4f0a3b),_0x5889c4[_0x5ae7c6(0xc9)](nestedKeyValue,_0x55e005,[_0x5889c4[_0x5ae7c6(0x157)]])&&(_0x55e005=_0x55e005[_0x5ae7c6(0xf2)]);}const _0x1ef0bb=helper[_0x5ae7c6(0xbc)](_0x53b1aa[_0x5ae7c6(0x178)]);!helper['isEmpty'](_0x1ef0bb)&&helper[_0x5ae7c6(0x134)](_0x1ef0bb[_0x5ae7c6(0x13a)])&&(_0xa4af89[_0x5ae7c6(0x17c)]=_0x1ef0bb[_0x5ae7c6(0x13a)]['maxRetries']);if(!helper[_0x5ae7c6(0x147)]()){const _0x565607=0x1,_0x499cd3={..._0xa4af89};_0x499cd3[_0x5ae7c6(0x13f)]=[..._0x55e005],_0x478dd2[_0x5ae7c6(0x17f)]({'mochaOpts':_0x499cd3,'configuration':{'platform':os[_0x5ae7c6(0x13b)]()}});if(_0x53b1aa[_0x5ae7c6(0x178)][_0x5ae7c6(0x16a)]){const _0x1e8c74={};_0x1e8c74[_0x5ae7c6(0x16a)]=!![];const _0x296215=_0x1e8c74;_0x5889c4[_0x5ae7c6(0x150)](_0x53b1aa[_0x5ae7c6(0x178)][_0x5ae7c6(0xf6)],null)&&(_0x296215[_0x5ae7c6(0xf6)]=_0x53b1aa[_0x5ae7c6(0x178)][_0x5ae7c6(0xf6)],delete _0x296215[_0x5ae7c6(0xf6)][_0x5889c4[_0x5ae7c6(0x15b)]],delete _0x296215[_0x5ae7c6(0xf6)][_0x5889c4[_0x5ae7c6(0x145)]],delete _0x296215['accessibilityOptions'][_0x5889c4['TsBOR']]);const _0x1da61e={};_0x1da61e[_0x5ae7c6(0xe4)]=_0x296215,_0x478dd2[0x0][_0x5ae7c6(0x15f)]['capability']=_0x1da61e;}logger[_0x5ae7c6(0x1a0)](_0x5889c4['GIkuz']),logger[_0x5ae7c6(0x1a0)](_0x5889c4[_0x5ae7c6(0x170)]),_0x5889c4[_0x5ae7c6(0x1a1)](parallelTestRun,_0x478dd2,_0x565607,_0x53b1aa)[_0x5ae7c6(0x194)](_0x3062bf=>{const _0x24cbe4=_0x5ae7c6;PerformanceTester[_0x24cbe4(0x10c)](PerformanceEvents['SDK_CLEANUP']),_0x5889c4[_0x24cbe4(0x1a1)](printStats,_0x3062bf,_0x5bf238[_0x24cbe4(0xbd)],_0x5bf238[_0x24cbe4(0x15c)]||_0x5bf238[_0x5889c4[_0x24cbe4(0x10f)]]);})['finally'](()=>{const _0xdb98b0=_0x5ae7c6;PerformanceTester[_0xdb98b0(0x10c)](PerformanceEvents[_0xdb98b0(0xb4)]);try{const {browserstackFolderPath:_0x43ef9d,tcgConfigPath:_0x290b6e}=helper['getTCGConfigFilePaths']();fs[_0xdb98b0(0x173)](_0x290b6e),fs[_0xdb98b0(0x18a)](_0x43ef9d);}catch(_0x3c5f89){logger[_0xdb98b0(0x163)](_0x5889c4[_0xdb98b0(0x182)],_0x3c5f89);}try{utilities['fireFunnelTestEvent'](_0x5889c4[_0xdb98b0(0xcf)],{},_0x53b1aa[_0xdb98b0(0x178)],_0x53b1aa[_0xdb98b0(0x139)]);}catch(_0x444499){logger[_0xdb98b0(0x163)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x444499[_0xdb98b0(0xfb)]);}try{helper[_0xdb98b0(0x13d)]();}catch(_0x3046a1){logger[_0xdb98b0(0x163)](_0xdb98b0(0x176)+_0x3046a1);}testOpsHelper['printBuildLink']();});}else{const _0x317a0b=helper[_0x5ae7c6(0x149)](_0x53b1aa['config']);let _0x4cad5=helper[_0x5ae7c6(0xbb)](_0x53b1aa['config']);_0x4f9162=helper[_0x5ae7c6(0x15d)](_0x53b1aa[_0x5ae7c6(0x178)],_0x317a0b,constants[_0x5ae7c6(0x10a)][_0x5ae7c6(0x16e)]);helper[_0x5ae7c6(0x123)]()[_0x5ae7c6(0xe9)]&&(_0x4cad5=centralScannerConstants['BROWSERSTACK_GRR_US_HUB_URL']);let _0x52eee6;const _0x36047e=_0x53b1aa[_0x5ae7c6(0x178)][_0x5ae7c6(0x198)]||helper[_0x5ae7c6(0xc2)](_0x5bf238,_0xb01e0,_0x53b1aa[_0x5ae7c6(0x178)],constants[_0x5ae7c6(0x10a)][_0x5ae7c6(0x16e)])||0x1;helper['validPlatformsPresent'](_0x53b1aa[_0x5ae7c6(0x178)])?_0x52eee6=_0x5889c4[_0x5ae7c6(0xe7)](_0x53b1aa['config'][_0x5ae7c6(0xc6)][_0x5ae7c6(0x135)],_0x36047e):_0x52eee6=_0x36047e;const _0x3f7bc3=_0x5889c4[_0x5ae7c6(0x197)](getPercyOptions,_0x53b1aa[_0x5ae7c6(0x178)]);if(_0x5889c4[_0x5ae7c6(0xd4)](_0x53b1aa[_0x5ae7c6(0x178)]['parallelsPerPlatform'],0x1))_0x55e005[_0x5ae7c6(0xda)](_0xe274ab=>{const _0x20e6f8=_0x5ae7c6,_0x2bd48c=[];_0x4f9162[_0x20e6f8(0xda)]((_0x148e2c,_0x5f5188)=>{const _0x3d23c2=_0x20e6f8,_0x212027={};_0x212027['spec']=[_0xe274ab],_0x2bd48c[_0x3d23c2(0x17f)]({'mochaOpts':Object[_0x3d23c2(0xd2)]({},_0xa4af89,_0x212027),'configuration':{'server':_0x4cad5,'capability':_0x148e2c,'proxySettings':_0x53b1aa['config'][_0x3d23c2(0x121)],'platform':helper[_0x3d23c2(0x138)](_0x148e2c),'browserStackLogLevel':_0x53b1aa['config'][_0x3d23c2(0x19a)],'platformIndex':_0x5f5188,'browserStackPercyOptions':_0x3f7bc3,'platformCaps':Object[_0x3d23c2(0xd2)]({'index':_0x5f5188},_0x53b1aa[_0x3d23c2(0x178)][_0x3d23c2(0xc6)][_0x5f5188])}});}),_0x478dd2['push'](..._0x2bd48c);});else{const _0x1c2a66=[];_0x4f9162[_0x5ae7c6(0xda)]((_0x44ad64,_0x5686da)=>{const _0x188aec=_0x5ae7c6;let _0x193d7e=Object[_0x188aec(0xd2)]({},_0xa4af89);testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x188aec(0xd6)]()&&(_0x193d7e={..._0x193d7e,'spec':[..._0x55e005]}),_0x1c2a66[_0x188aec(0x17f)]({'mochaOpts':_0x193d7e,'configuration':{'server':_0x4cad5,'capability':_0x44ad64,'proxySettings':_0x53b1aa[_0x188aec(0x178)]['proxySettings'],'platform':helper[_0x188aec(0x138)](_0x44ad64),'browserStackLogLevel':_0x53b1aa[_0x188aec(0x178)][_0x188aec(0x19a)],'platformIndex':_0x5686da,'browserStackPercyOptions':_0x3f7bc3,'platformCaps':Object[_0x188aec(0xd2)]({'index':_0x5686da},_0x53b1aa['config']['platforms'][_0x5686da])}});}),_0x478dd2[_0x5ae7c6(0x17f)](..._0x1c2a66);}logger[_0x5ae7c6(0x1a0)](_0x5ae7c6(0x113)+_0x53b1aa[_0x5ae7c6(0x178)]['platforms'][_0x5ae7c6(0x135)]+'\x20platforms'),logger[_0x5ae7c6(0x1a0)](_0x5889c4[_0x5ae7c6(0x170)]);let _0x2e2dd9;_0x5889c4[_0x5ae7c6(0xe3)](parallelTestRun,_0x478dd2,_0x52eee6,_0x53b1aa)[_0x5ae7c6(0x194)](_0x280a13=>{const _0x597569=_0x5ae7c6;PerformanceTester[_0x597569(0x10c)](PerformanceEvents['SDK_CLEANUP']),_0x2e2dd9=_0x280a13,_0x5889c4[_0x597569(0x1a1)](printStats,_0x280a13,_0x5bf238[_0x597569(0xbd)],_0x5bf238[_0x597569(0x15c)]||_0x5bf238[_0x5889c4[_0x597569(0x10f)]]);})[_0x5ae7c6(0x1a9)](async()=>{const _0x3cbe61=_0x5ae7c6;PerformanceTester[_0x3cbe61(0x10c)](PerformanceEvents[_0x3cbe61(0xb4)]),_0x53b1aa[_0x3cbe61(0x189)]=helper[_0x3cbe61(0xc3)](_0x2e2dd9,_0x5889c4[_0x3cbe61(0xec)]),await utilities[_0x3cbe61(0x144)](_0x53b1aa),testOpsHelper['printBuildLink']();});}}module[a32_0x25edbf(0xf7)]=run;
|