browserstack-node-sdk 1.49.1 → 1.49.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/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_0x42478b=a28_0x1605;(function(_0x1fb285,_0x2f4669){const _0x49b0a5=a28_0x1605,_0x3e13a9=_0x1fb285();while(!![]){try{const _0x209b71=parseInt(_0x49b0a5(0x107))/0x1+-parseInt(_0x49b0a5(0x10f))/0x2*(parseInt(_0x49b0a5(0x113))/0x3)+parseInt(_0x49b0a5(0xff))/0x4+-parseInt(_0x49b0a5(0xe8))/0x5*(parseInt(_0x49b0a5(0x118))/0x6)+-parseInt(_0x49b0a5(0xf8))/0x7+parseInt(_0x49b0a5(0x116))/0x8*(parseInt(_0x49b0a5(0xe7))/0x9)+parseInt(_0x49b0a5(0xfa))/0xa;if(_0x209b71===_0x2f4669)break;else _0x3e13a9['push'](_0x3e13a9['shift']());}catch(_0x5aa8c3){_0x3e13a9['push'](_0x3e13a9['shift']());}}}(a28_0x53d0,0xd67f5));const {spawn}=require(a28_0x42478b(0x109)),path=require(a28_0x42478b(0x119)),helper=require(a28_0x42478b(0xd5)),CLIUtils=require(a28_0x42478b(0x103)),{getLoadConfigPath,sleep}=require(a28_0x42478b(0xf7)),logger=require('../../helpers/logger')[a28_0x42478b(0xd6)];function a28_0x1605(_0x16e5b6,_0x3f73e8){const _0x53d015=a28_0x53d0();return a28_0x1605=function(_0x160526,_0x48fae3){_0x160526=_0x160526-0xd4;let _0x659060=_0x53d015[_0x160526];return _0x659060;},a28_0x1605(_0x16e5b6,_0x3f73e8);}function a28_0x53d0(){const _0x1d0532=['env','VhvXl','Extin','SlADU','Thprs','getExistingCliPath','exit','QGqPA','BROWSERSTACK_ACCESSKEY','\x20exited\x20with\x20code\x20','125406bjrawa','80UcRLZA','killed','slice','MTXsH','psVXT','Error\x20details:\x20','Error\x20loading\x20configuration:\x20','Lycnr','inherit','Configuration\x20path:\x20','SIGTERM','SIGINT','sSujD','GVmJw','Authentication\x20incomplete.\x20Please\x20add\x20your\x20userName\x20and\x20accessKey\x20to\x20either\x20the\x20browserstack.yml\x20file\x20or\x20as\x20environment\x20variables,\x20then\x20try\x20running\x20the\x20command\x20again.','./loadUtils','5969159XKkCCF','message','17464600PuhqYK','Loading\x20configuration\x20using\x20environment\x20variables\x20if\x20available.','pUpsY','RogJm',',\x20forwarding\x20to\x20child\x20process...','305488sLmbTS','error','argv','hkmkt','../v2/cliUtils','debug','accessKey','SIGQUIT','361668ihSMcd','Error\x20Details:\x20','child_process','stringify','ZihVR','XLOhS','Executing\x20load\x20test\x20with\x20arguments:\x20','SIGHUP','2ieXQtN','Failed\x20to\x20determine\x20CLI\x20directory','readConfig','BROWSERSTACK_USERNAME','2963268Pnhdzi','EKSyS','gsdZa','456GICdoJ','stack','97374bjGYYp','path','CLI\x20binary\x20found,\x20Checking\x20for\x20CLI\x20updates','close','HvpeD','vTkGS','../../helpers/helper','winstonLogger','Waiting\x20for\x20child\x20process\x20to\x20exit...','Failed\x20to\x20download\x20or\x20locate\x20CLI\x20binary','checkAndUpdateCli','BYvSf','Received\x20','userName'];a28_0x53d0=function(){return _0x1d0532;};return a28_0x53d0();}async function executeLoadTest(_0x5d178d){const _0x49dbc7=a28_0x42478b,_0x22f7ef={'sSujD':function(_0x3f54c3,_0x102d13){return _0x3f54c3(_0x102d13);},'VhvXl':_0x49dbc7(0x11b),'Lycnr':_0x49dbc7(0xd7),'QGqPA':_0x49dbc7(0xfb),'Extin':function(_0x3d7a28){return _0x3d7a28();},'HvpeD':_0x49dbc7(0xf6),'EKSyS':function(_0x5ed427){return _0x5ed427();},'gsdZa':_0x49dbc7(0x110),'RogJm':function(_0x2153c9){return _0x2153c9();},'vTkGS':'CLI\x20binary\x20not\x20found,\x20downloading\x20latest\x20version','ZihVR':_0x49dbc7(0x11a),'BYvSf':function(_0xfef527){return _0xfef527();},'psVXT':_0x49dbc7(0xd8),'GVmJw':function(_0x191933,_0x4c0cd2,_0x538918,_0x8c55a0){return _0x191933(_0x4c0cd2,_0x538918,_0x8c55a0);},'Thprs':'load','jFNkl':_0x49dbc7(0xf0),'MTXsH':_0x49dbc7(0xf3),'pUpsY':_0x49dbc7(0xf2),'hkmkt':_0x49dbc7(0x106),'SlADU':_0x49dbc7(0x10e),'XLOhS':function(_0x397896){return _0x397896();}};try{const _0x19b129=process[_0x49dbc7(0x101)][_0x49dbc7(0xea)](0x2),_0x2e687e=_0x19b129[_0x49dbc7(0xea)](0x1);logger[_0x49dbc7(0x104)](_0x49dbc7(0x10d)+_0x2e687e);let _0x571e31={};try{logger[_0x49dbc7(0x104)](_0x22f7ef[_0x49dbc7(0xe4)]);const _0x45fc0b={};_0x45fc0b[_0x49dbc7(0xdc)]=process['env'][_0x49dbc7(0x112)]||process[_0x49dbc7(0xdd)]['BROWSERSTACK_USER'],_0x45fc0b[_0x49dbc7(0x105)]=process[_0x49dbc7(0xdd)]['BROWSERSTACK_ACCESS_KEY']||process['env'][_0x49dbc7(0xe5)],_0x571e31=_0x45fc0b;if(!_0x571e31[_0x49dbc7(0xdc)]||!_0x571e31[_0x49dbc7(0x105)]){const _0x4bccc2=_0x22f7ef['sSujD'](getLoadConfigPath,_0x5d178d[_0x49dbc7(0x101)]);logger['debug'](_0x49dbc7(0xf1)+_0x4bccc2),_0x4bccc2&&(_0x571e31=helper[_0x49dbc7(0x111)](_0x4bccc2));}}catch(_0x3d1cd1){logger[_0x49dbc7(0x100)](_0x49dbc7(0xee)+_0x3d1cd1[_0x49dbc7(0xf9)]),logger[_0x49dbc7(0x104)]('Error\x20details:\x20'+(_0x3d1cd1[_0x49dbc7(0x117)]||JSON[_0x49dbc7(0x10a)](_0x3d1cd1))),await _0x22f7ef['Extin'](sleep),process[_0x49dbc7(0xe3)](0x1);}(!_0x571e31[_0x49dbc7(0xdc)]||!_0x571e31[_0x49dbc7(0x105)])&&(logger[_0x49dbc7(0x100)](_0x22f7ef[_0x49dbc7(0x11c)]),await _0x22f7ef[_0x49dbc7(0x114)](sleep),process[_0x49dbc7(0xe3)](0x1));const _0x1d350b=CLIUtils['getCliDir']();!_0x1d350b&&(logger[_0x49dbc7(0x100)](_0x22f7ef[_0x49dbc7(0x115)]),await _0x22f7ef[_0x49dbc7(0xfd)](sleep),process[_0x49dbc7(0xe3)](0x1));let _0x52a37e=CLIUtils[_0x49dbc7(0xe2)](_0x1d350b);try{!_0x52a37e?(logger[_0x49dbc7(0x104)](_0x22f7ef[_0x49dbc7(0xd4)]),_0x52a37e=await CLIUtils['checkAndUpdateCli']('',_0x1d350b,_0x571e31)):(logger['debug'](_0x22f7ef[_0x49dbc7(0x10b)]),_0x52a37e=await CLIUtils[_0x49dbc7(0xd9)](_0x52a37e,_0x1d350b,_0x571e31));}catch(_0xeac1a7){logger[_0x49dbc7(0x100)](_0x22f7ef[_0x49dbc7(0x11c)]),logger[_0x49dbc7(0x104)](_0x49dbc7(0x108)+(_0xeac1a7['stack']||JSON['stringify'](_0xeac1a7))),await _0x22f7ef[_0x49dbc7(0xda)](sleep),process[_0x49dbc7(0xe3)](0x1);}!_0x52a37e&&(logger[_0x49dbc7(0x100)](_0x22f7ef['HvpeD']),logger['debug'](_0x22f7ef[_0x49dbc7(0xec)]),await _0x22f7ef[_0x49dbc7(0xdf)](sleep),process['exit'](0x1));logger[_0x49dbc7(0x104)]('Spawning:\x20'+_0x52a37e+'\x20load\x20'+_0x2e687e['join']('\x20'));const _0x349f3f=_0x22f7ef[_0x49dbc7(0xf5)](spawn,_0x52a37e,[_0x22f7ef[_0x49dbc7(0xe1)],..._0x2e687e],{'stdio':_0x22f7ef['jFNkl']});let _0x11a336=![];const _0x17e8c6=new Promise(_0xb494aa=>{const _0x4ef83c=_0x49dbc7;_0x349f3f['on'](_0x22f7ef[_0x4ef83c(0xde)],_0x21788a=>{const _0x33ec3e=_0x4ef83c;logger[_0x33ec3e(0x104)](_0x52a37e+_0x33ec3e(0xe6)+_0x21788a),_0x22f7ef[_0x33ec3e(0xf4)](_0xb494aa,_0x21788a);});});[_0x22f7ef[_0x49dbc7(0xeb)],_0x22f7ef[_0x49dbc7(0xfc)],_0x22f7ef[_0x49dbc7(0x102)],_0x22f7ef[_0x49dbc7(0xe0)]]['forEach'](_0x25691e=>{process['on'](_0x25691e,()=>{const _0x42db25=a28_0x1605;if(_0x11a336)return;_0x11a336=!![],logger[_0x42db25(0x104)](_0x42db25(0xdb)+_0x25691e+_0x42db25(0xfe)),_0x349f3f&&!_0x349f3f[_0x42db25(0xe9)]&&(_0x349f3f['kill'](_0x25691e),logger[_0x42db25(0x104)](_0x22f7ef[_0x42db25(0xef)]));});});const _0x3b3d0c=await _0x17e8c6;await _0x22f7ef[_0x49dbc7(0x10c)](sleep),process[_0x49dbc7(0xe3)](_0x3b3d0c);}catch(_0x1dbdfd){logger[_0x49dbc7(0x100)]('Failed\x20initiating\x20load\x20test:\x20'+_0x1dbdfd[_0x49dbc7(0xf9)]),logger[_0x49dbc7(0x104)](_0x49dbc7(0xed)+(_0x1dbdfd[_0x49dbc7(0x117)]||JSON[_0x49dbc7(0x10a)](_0x1dbdfd))),await _0x22f7ef[_0x49dbc7(0x10c)](sleep),process[_0x49dbc7(0xe3)](0x1);}}module['exports']=executeLoadTest;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function a29_0x40ac(){const _0x191b3c=['run','info','55GroNxC','99ObankT','getLoadConfigPath','vsQeR','NYpMQ','8706600toOOnx','Config\x20file\x20specified:\x20','TVKFf','HvosO','browserstack.yaml','zUeDF','subcommand','debug','29217222Rswwht','join','.yaml','config-file','browserstack.yml','zRDyE','browserstack-load.yml','13238rDDhiH','cwd','Using\x20specified\x20config\x20file:\x20','292028EBTbzL','Checking\x20for\x20config\x20file\x20with\x20arguments:\x20','OSYhJ','OoTpJ','.yml','Checking\x20for:\x20','eNSsA','Found\x20config\x20file:\x20','endsWith','159246GfOxUM','winstonLogger','\x20and\x20Resolved\x20path:\x20','Checking\x20for\x20config\x20in\x20default\x20config\x20files...','exports','8011512haaugi','Failed\x20to\x20load\x20browserstack\x20config:\x20','message','../../helpers/logger','5383868UDBduY','load'];a29_0x40ac=function(){return _0x191b3c;};return a29_0x40ac();}const a29_0x3c8b13=a29_0x2946;(function(_0x3a8f12,_0x315847){const _0x55e0f9=a29_0x2946,_0x4adea4=_0x3a8f12();while(!![]){try{const _0x38e6c7=-parseInt(_0x55e0f9(0x187))/0x1*(parseInt(_0x55e0f9(0x19a))/0x2)+parseInt(_0x55e0f9(0x1a6))/0x3+parseInt(_0x55e0f9(0x19d))/0x4*(-parseInt(_0x55e0f9(0x186))/0x5)+-parseInt(_0x55e0f9(0x17e))/0x6+-parseInt(_0x55e0f9(0x182))/0x7+parseInt(_0x55e0f9(0x18b))/0x8+parseInt(_0x55e0f9(0x193))/0x9;if(_0x38e6c7===_0x315847)break;else _0x4adea4['push'](_0x4adea4['shift']());}catch(_0x533217){_0x4adea4['push'](_0x4adea4['shift']());}}}(a29_0x40ac,0xc96c7));function a29_0x2946(_0x2f35e0,_0x32d74c){const _0x40acf5=a29_0x40ac();return a29_0x2946=function(_0x2946f1,_0x2a64cd){_0x2946f1=_0x2946f1-0x17c;let _0xfb0657=_0x40acf5[_0x2946f1];return _0xfb0657;},a29_0x2946(_0x2f35e0,_0x32d74c);}const fs=require('fs'),path=require('path'),logger=require(a29_0x3c8b13(0x181))[a29_0x3c8b13(0x1a7)];function getLoadConfigPath(_0x538d9a){const _0x4feb47=a29_0x3c8b13,_0x9b6b20={};_0x9b6b20['iWGOb']=function(_0x2fbeba,_0x3787db){return _0x2fbeba===_0x3787db;},_0x9b6b20[_0x4feb47(0x1a0)]=_0x4feb47(0x183),_0x9b6b20[_0x4feb47(0x1a3)]=_0x4feb47(0x184),_0x9b6b20['zUeDF']=_0x4feb47(0x196),_0x9b6b20[_0x4feb47(0x19f)]=_0x4feb47(0x1a1),_0x9b6b20[_0x4feb47(0x18a)]=_0x4feb47(0x195),_0x9b6b20['KXfBR']=_0x4feb47(0x199),_0x9b6b20[_0x4feb47(0x18e)]='browserstack-load.yaml',_0x9b6b20[_0x4feb47(0x198)]=_0x4feb47(0x197),_0x9b6b20[_0x4feb47(0x189)]=_0x4feb47(0x18f),_0x9b6b20['TVKFf']=_0x4feb47(0x17c);const _0x4cff32=_0x9b6b20;logger[_0x4feb47(0x192)](_0x4feb47(0x19e)+JSON['stringify'](_0x538d9a));try{const _0x25ff46=_0x538d9a['_']||[],_0x1507be=_0x4cff32['iWGOb'](_0x538d9a['_'][0x0],_0x4cff32[_0x4feb47(0x1a0)])&&_0x4cff32['iWGOb'](_0x538d9a[_0x4feb47(0x191)],_0x4cff32['eNSsA']);if(_0x1507be){if(_0x538d9a[_0x4cff32[_0x4feb47(0x190)]]||_0x538d9a['cf']){const _0x2dd88c=_0x538d9a[_0x4cff32[_0x4feb47(0x190)]]||_0x538d9a['cf'],_0x5964e7=path['resolve'](_0x2dd88c);logger['debug'](_0x4feb47(0x18c)+_0x2dd88c+_0x4feb47(0x1a8)+_0x5964e7);if(_0x5964e7['endsWith'](_0x4cff32[_0x4feb47(0x19f)])||_0x5964e7[_0x4feb47(0x1a5)](_0x4cff32[_0x4feb47(0x18a)]))return logger[_0x4feb47(0x185)](_0x4feb47(0x19c)+_0x5964e7),_0x5964e7;}}const _0x530238=[_0x4cff32['KXfBR'],_0x4cff32[_0x4feb47(0x18e)],_0x4cff32[_0x4feb47(0x198)],_0x4cff32[_0x4feb47(0x189)]];logger[_0x4feb47(0x192)](_0x4cff32[_0x4feb47(0x18d)]);for(const _0x54dba1 of _0x530238){const _0x594ca3=path[_0x4feb47(0x194)](process[_0x4feb47(0x19b)](),_0x54dba1);logger['debug'](_0x4feb47(0x1a2)+_0x594ca3);if(fs['existsSync'](_0x594ca3))return logger[_0x4feb47(0x192)](_0x4feb47(0x1a4)+_0x594ca3),_0x594ca3;}}catch(_0x4df5e9){logger['error'](_0x4feb47(0x17f)+_0x4df5e9[_0x4feb47(0x180)]);}}function sleep(){return new Promise(_0x139c85=>setTimeout(_0x139c85,0x64));}const a29_0x1214dd={};a29_0x1214dd[a29_0x3c8b13(0x188)]=getLoadConfigPath,a29_0x1214dd['sleep']=sleep,module[a29_0x3c8b13(0x17d)]=a29_0x1214dd;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a30_0x4e95d5=a30_0x4870;(function(_0x52f86b,_0x5a0b41){const _0x1d973b=a30_0x4870,_0x8e94a1=_0x52f86b();while(!![]){try{const _0x479438=-parseInt(_0x1d973b(0x198))/0x1*(parseInt(_0x1d973b(0x18b))/0x2)+parseInt(_0x1d973b(0x1b3))/0x3*(parseInt(_0x1d973b(0x17a))/0x4)+parseInt(_0x1d973b(0x17d))/0x5+-parseInt(_0x1d973b(0x18a))/0x6*(parseInt(_0x1d973b(0x17c))/0x7)+parseInt(_0x1d973b(0x1b2))/0x8*(parseInt(_0x1d973b(0x196))/0x9)+parseInt(_0x1d973b(0x1ac))/0xa*(parseInt(_0x1d973b(0x170))/0xb)+parseInt(_0x1d973b(0x165))/0xc;if(_0x479438===_0x5a0b41)break;else _0x8e94a1['push'](_0x8e94a1['shift']());}catch(_0x49144e){_0x8e94a1['push'](_0x8e94a1['shift']());}}}(a30_0x5c36,0x204bf));const path=require('path'),os=require('os'),util=require(a30_0x4e95d5(0x1b1)),bsSetupHelper=require(a30_0x4e95d5(0x19e)),globals=require(a30_0x4e95d5(0x19f)),logger=require(a30_0x4e95d5(0x184))[a30_0x4e95d5(0x192)];function a30_0x4870(_0x5dbe75,_0x3ca62e){const _0x5c3683=a30_0x5c36();return a30_0x4870=function(_0x4870bd,_0x295072){_0x4870bd=_0x4870bd-0x162;let _0x317fa9=_0x5c3683[_0x4870bd];return _0x317fa9;},a30_0x4870(_0x5dbe75,_0x3ca62e);}function a30_0x5c36(){const _0x534c54=['getBrowserVersion','chromeOptions','dQJlm','latest','getPlatformVersion','wwzvO','447336MvGTGe','options_','capability','parse','browserVersion','getBrowserName','length','CdRZs','browserstack.accessibility','authToken','ZBnwV','490853EoDlYN','browser_version','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','format','requireModule','scannerVersion','accessibility','XrQny','accessibilityOptions','capabilities_','44AvlOJG','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','7WdWoMr','887485ezFgFh','LMfcf','utQhB','deviceName','browserName','ouTxP','HOFuh','../../../helpers/logger','RLTbz','isUndefined','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','setAccessibilityCapabilities','browserstack','882498Cfmuep','3222hVLJDR','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','isAccessibilityPlatform','warn','includes','PzlRc','keys','winstonLogger','debug','kfvzn','aogMj','9JDMRsW','BS_A11Y_JWT','95dgJiDy','rtHFK','selenium-webdriver/chrome.js','bstack:options','nestedKeyValue','AWdhm','../../../helpers/helper','../../../helpers/globals','--headless','bkHSt','setExtension','capabilities','vhMHD','fetchPlatformDetails','selenium-webdriver','kDden','iRaUF','env','setGlobal','get','20mhKtPN','HqBbc','device','browserstack.accessibilityOptions','chrome','util','814456oZpzFM','7251WKhTIG','getCapabilities','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','KZYwo','hbkkU'];a30_0x5c36=function(){return _0x534c54;};return a30_0x5c36();}exports[a30_0x4e95d5(0x188)]=_0x11100e=>{const _0x1ccb2=a30_0x4e95d5,_0x1539d3={};_0x1539d3[_0x1ccb2(0x16f)]=function(_0x1a3a49,_0x6bba00){return _0x1a3a49>_0x6bba00;},_0x1539d3['HOFuh']='bstack:options',_0x1539d3[_0x1ccb2(0x164)]=_0x1ccb2(0x16d),_0x1539d3[_0x1ccb2(0x182)]=_0x1ccb2(0x18d),_0x1539d3[_0x1ccb2(0x19d)]=_0x1ccb2(0x1af);const _0x35bbbe=_0x1539d3;try{const _0x4e03fc=_0x35bbbe[_0x1ccb2(0x16f)](Object[_0x1ccb2(0x191)](_0x11100e[_0x1ccb2(0x167)])[_0x1ccb2(0x16b)],0x0)?_0x11100e[_0x1ccb2(0x167)]:_0x35bbbe[_0x1ccb2(0x16f)](Object[_0x1ccb2(0x191)](_0x11100e[_0x1ccb2(0x1a3)])['length'],0x0)?_0x11100e[_0x1ccb2(0x1a3)][0x0]:{};if(_0x4e03fc[_0x35bbbe[_0x1ccb2(0x183)]]&&_0x4e03fc[_0x35bbbe[_0x1ccb2(0x183)]][_0x1ccb2(0x176)]||_0x11100e['capability'][_0x35bbbe[_0x1ccb2(0x164)]]){globals[_0x1ccb2(0x1aa)](_0x35bbbe['ouTxP'],!![]);if(_0x4e03fc[_0x35bbbe[_0x1ccb2(0x183)]]){if(_0x4e03fc[_0x35bbbe[_0x1ccb2(0x183)]][_0x1ccb2(0x178)])_0x4e03fc[_0x35bbbe[_0x1ccb2(0x183)]][_0x1ccb2(0x178)]['authToken']=process[_0x1ccb2(0x1a9)][_0x1ccb2(0x197)];else{const _0x1c1314={};_0x1c1314[_0x1ccb2(0x16e)]=process['env'][_0x1ccb2(0x197)],_0x4e03fc[_0x35bbbe[_0x1ccb2(0x183)]]['accessibilityOptions']=_0x1c1314;}_0x4e03fc[_0x35bbbe[_0x1ccb2(0x183)]][_0x1ccb2(0x178)][_0x1ccb2(0x175)]=JSON[_0x1ccb2(0x168)](process[_0x1ccb2(0x1a9)][_0x1ccb2(0x172)])[_0x1ccb2(0x175)];}else{if(_0x11100e[_0x1ccb2(0x167)][_0x35bbbe[_0x1ccb2(0x164)]]){if(_0x4e03fc[_0x35bbbe[_0x1ccb2(0x19d)]])_0x4e03fc[_0x35bbbe[_0x1ccb2(0x19d)]][_0x1ccb2(0x16e)]=process[_0x1ccb2(0x1a9)][_0x1ccb2(0x197)];else{const _0x3877e6={};_0x3877e6[_0x1ccb2(0x16e)]=process['env'][_0x1ccb2(0x197)],_0x4e03fc[_0x35bbbe['AWdhm']]=_0x3877e6;}_0x4e03fc[_0x35bbbe[_0x1ccb2(0x19d)]][_0x1ccb2(0x175)]=JSON[_0x1ccb2(0x168)](process[_0x1ccb2(0x1a9)][_0x1ccb2(0x172)])[_0x1ccb2(0x175)];}}}}catch(_0x5db154){logger[_0x1ccb2(0x193)](_0x1ccb2(0x1b5)+_0x5db154);}},exports[a30_0x4e95d5(0x1a2)]=(_0x5647c2,_0x43b532)=>{const _0x1e1598=a30_0x4e95d5,_0x271b36={};_0x271b36[_0x1e1598(0x185)]=_0x1e1598(0x19b),_0x271b36[_0x1e1598(0x1a8)]=function(_0x1a5ab8,_0x118ec7){return _0x1a5ab8!==_0x118ec7;},_0x271b36[_0x1e1598(0x199)]=_0x1e1598(0x18c),_0x271b36[_0x1e1598(0x195)]=_0x1e1598(0x1b0),_0x271b36[_0x1e1598(0x190)]=_0x1e1598(0x17b),_0x271b36[_0x1e1598(0x1a4)]=function(_0x1b8752,_0x226220){return _0x1b8752===_0x226220;},_0x271b36[_0x1e1598(0x17f)]=_0x1e1598(0x162),_0x271b36[_0x1e1598(0x1ad)]=function(_0x25aa1d,_0x12985e){return _0x25aa1d>_0x12985e;},_0x271b36['kfvzn']='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.',_0x271b36[_0x1e1598(0x16c)]=_0x1e1598(0x19a),_0x271b36[_0x1e1598(0x1a1)]=_0x1e1598(0x1a6),_0x271b36['ZVASg']=_0x1e1598(0x166),_0x271b36[_0x1e1598(0x1a7)]='args',_0x271b36['KZYwo']=_0x1e1598(0x1b9),_0x271b36[_0x1e1598(0x1ba)]=_0x1e1598(0x1a0),_0x271b36[_0x1e1598(0x177)]='Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.';const _0x4f7756=_0x271b36;try{const _0x35893e=_0x43b532[_0x1e1598(0x167)]||{},_0x446681=(_0x35893e[_0x4f7756[_0x1e1598(0x185)]]?_0x35893e[_0x4f7756['RLTbz']][_0x1e1598(0x180)]:_0x35893e[_0x1e1598(0x1ae)])||'';if(_0x4f7756[_0x1e1598(0x1a8)](_0x446681,''))return logger[_0x1e1598(0x18e)](_0x4f7756[_0x1e1598(0x199)]),![];const _0x5d2293=_0x35893e[_0x1e1598(0x181)]||_0x5647c2[_0x1e1598(0x179)]['getBrowserName']();if(_0x4f7756['iRaUF'](_0x5d2293['toLowerCase'](),_0x4f7756[_0x1e1598(0x195)]))return logger[_0x1e1598(0x18e)](_0x4f7756[_0x1e1598(0x190)]),![];const _0x582965=_0x35893e[_0x1e1598(0x169)]||_0x35893e[_0x1e1598(0x171)]||_0x5647c2[_0x1e1598(0x179)][_0x1e1598(0x1b8)]();if(!bsSetupHelper[_0x1e1598(0x186)](_0x582965)&&!(_0x4f7756[_0x1e1598(0x1a4)](_0x582965,_0x4f7756[_0x1e1598(0x17f)])||_0x4f7756[_0x1e1598(0x1ad)](_0x582965,0x5e)))return logger['warn'](_0x4f7756[_0x1e1598(0x194)]),![];let _0x103988;try{_0x103988=bsSetupHelper[_0x1e1598(0x174)](_0x4f7756['CdRZs'],_0x4f7756[_0x1e1598(0x1a1)]);}catch(_0x2d4c4e){return![];}const _0x29ff81=new _0x103988['Options'](_0x5647c2['chromeOptions_']),_0x4bc939=bsSetupHelper[_0x1e1598(0x19c)](_0x29ff81,[_0x4f7756['ZVASg'],_0x4f7756[_0x1e1598(0x1a7)]])||bsSetupHelper[_0x1e1598(0x19c)](_0x5647c2[_0x1e1598(0x179)]['get'](_0x4f7756[_0x1e1598(0x185)]),[_0x4f7756['KZYwo'],_0x4f7756[_0x1e1598(0x1a7)]])||bsSetupHelper[_0x1e1598(0x19c)](_0x5647c2[_0x1e1598(0x179)][_0x1e1598(0x1ab)](_0x4f7756[_0x1e1598(0x1b6)]),[_0x4f7756['kDden']])||[];if(_0x4bc939[_0x1e1598(0x18f)](_0x4f7756[_0x1e1598(0x1ba)]))return logger[_0x1e1598(0x18e)](_0x4f7756[_0x1e1598(0x177)]),![];return!![];}catch(_0x17be46){logger[_0x1e1598(0x193)]('Exception\x20in\x20setExtension\x20Error:\x20'+util[_0x1e1598(0x173)](_0x17be46));}return![];},exports[a30_0x4e95d5(0x1a5)]=async _0x9223ff=>{const _0x59a927=a30_0x4e95d5,_0x3380b5={};_0x3380b5[_0x59a927(0x17e)]=function(_0x41ae05,_0x2a5d26){return _0x41ae05===_0x2a5d26;},_0x3380b5[_0x59a927(0x1b7)]=_0x59a927(0x189);const _0x2d0467=_0x3380b5;let _0x1c5e40={};try{const _0x149c5e=await _0x9223ff[_0x59a927(0x1b4)]();_0x1c5e40={'os_name':_0x149c5e['getPlatform'](),'os_version':bsSetupHelper[_0x59a927(0x163)](_0x2d0467[_0x59a927(0x17e)](global['__cloud_provider___'],_0x2d0467['hbkkU'])),'browser_name':_0x149c5e[_0x59a927(0x16a)](),'browser_version':_0x149c5e[_0x59a927(0x1b8)]()};}catch(_0x17e6d9){logger[_0x59a927(0x193)](_0x59a927(0x187)+_0x17e6d9);}return _0x1c5e40;};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a31_0x5b80f8=a31_0x209f;function a31_0x209f(_0xb05c7b,_0x114fb7){const _0x43d82d=a31_0x43d8();return a31_0x209f=function(_0x209f51,_0x3f0529){_0x209f51=_0x209f51-0x1ec;let _0xe3cde6=_0x43d82d[_0x209f51];return _0xe3cde6;},a31_0x209f(_0xb05c7b,_0x114fb7);}(function(_0x50e40b,_0x2c8515){const _0x306895=a31_0x209f,_0x52037b=_0x50e40b();while(!![]){try{const _0x28094a=parseInt(_0x306895(0x31a))/0x1+-parseInt(_0x306895(0x292))/0x2+-parseInt(_0x306895(0x1f4))/0x3+-parseInt(_0x306895(0x223))/0x4+-parseInt(_0x306895(0x2cb))/0x5+parseInt(_0x306895(0x226))/0x6+parseInt(_0x306895(0x2f6))/0x7;if(_0x28094a===_0x2c8515)break;else _0x52037b['push'](_0x52037b['shift']());}catch(_0x37d944){_0x52037b['push'](_0x52037b['shift']());}}}(a31_0x43d8,0xcabb6));const util=require(a31_0x5b80f8(0x2e6)),fs=require('fs'),path=require(a31_0x5b80f8(0x235)),{requireModule,getCentralUser}=require(a31_0x5b80f8(0x27c)),Base=requireModule('mocha/lib/reporters/base.js',a31_0x5b80f8(0x2ff)),utils=requireModule(a31_0x5b80f8(0x27b),a31_0x5b80f8(0x2ff)),color=Base[a31_0x5b80f8(0x2a9)],Mocha=requireModule('mocha'),Runnable=requireModule(a31_0x5b80f8(0x224),a31_0x5b80f8(0x2ff)),{v4:uuidv4}=require(a31_0x5b80f8(0x30d)),bsSetupHelper=require(a31_0x5b80f8(0x27c)),testhubUtils=require(a31_0x5b80f8(0x2ae)),centralScannerUtils=require(a31_0x5b80f8(0x24e)),testHubConstants=require(a31_0x5b80f8(0x2c7)),{FRAMEWORKS}=require(a31_0x5b80f8(0x319)),globals=require(a31_0x5b80f8(0x285)),logger=require('../../../helpers/logger')['winstonLogger'],TestMetadata=require(a31_0x5b80f8(0x201)),a31_0x4a3c44={};function a31_0x43d8(){const _0x2e6c1b=['integrations','exports','fast','scope','Reporter','test','kujXj','UxBon','uploadEventData','file','appendTestItemLog','testAnalyticsId','eRlxh','color','gpyVk','suiteCount','finished_at','length','../../../helpers/testhub/utils','push','sKoUG','XBRYu','stdout','symbols','mlGQL','type','PjOzw','bDpcm','KVikG','docAppend','__indents','UyUac','JeQxJ','toISOString','failCount','HookFinished','lcnc','shouldProcessEventForTesthub','wwBko','passed','WGBok','backtrace','</h1>','../../../helpers/testhub/constants','yNbsq','test_run','AFTER_EACH','894845XpWOrd','UxRjk','RjQLJ','TestRunFinished','%s\x20','UhFIo','suites','hookAnalyticsId','titlePath','fail','findGitConfig','__platform__','bsConfig','AssertionError','rbjmV','MKWTL','dot','result','ybmPU','hook_run','analyticsResult','failure_backtrace','</section>','0|1|3|2|4','wcPuW','BEFORE_EACH','appendTesthubParams','util','error','qpbOT','started_at','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','cwd','KqUDK','clean','Yltdh','qEnRO','root','vVmYW','eWVER','kwiFf','logs','luphA','3332000JepKYP','\x20\x20%d)\x20%s','results','LGaGC','failure_reason_expanded','QoiHR','match','join','includes','mocha','yqWJG','../../../helpers/test-observability/requestQueueHandler','err','YYdFr','state','_currentRetry','_upstreamConfig','%s\x20-\x20%s','setCentralScannerData','current_test','../../../helpers/test-observability/sessionHandler','IjkGC','now','uuid','test_run_uuid','sep','apply','responseCode','\x20-\x20','call','pFhdY','ZzUDa','finalResults','qqSKM','IetdJ','../../../helpers/test-observability/constants','1034176OoajHg','\x20\x20<dd><pre><code>','\x20with\x20error\x20:\x20','speed','title','shutdown','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','kWLzy','\x20%s','aTJDY','registerListeners','qNkUr','reporterOptions','</dt>','jVqwg','before\x20all','ctx','\x20\x20<dd\x20class=\x22error\x22>','</code></pre></dd>','2853678AgPBmj','_paths','_testResults','fullTitle','body','gRnRB','testStarted','WqaiQ','RsBaP','TestRunSkipped','bybjz','<section\x20class=\x22suite\x22>','docHtml','../../../helpers/metadata','VNlJh','decreaseIndent','currentTest','testObservability','statSync','bs:addLog:','comma','TFgOC','PkHnP','expanded','inspect','.git','sendTestRunEvent','MOCHA','EVENT','CZGEP','appendTestPlatform','OarpT','XWcem','runner','hook_run_uuid','xhEqK','mbgvK','removeAllListeners','PnHvL','BvRss','nFZjL','once','write','OauDB','fBYfD','eawrM','\x20\x20<dt>','1333380WUHKob','mocha/lib/runnable.js','BEFORE_ALL','8181132AxmTnn','dirname','IOaOm','COMPLETED','yrzOF','<dl>','\x20\x20<dd\x20class=\x22error\x22><pre><code>','spec','lupwj','bs:addPlatformDetails:','relative','trim','agEEL','OWTHF','event_type','path','.js','USHoI','originalTitle','gioZr','STRNq','retryOf','failureCount','markedStatus','KQZus','escape','TEST_REPORTING_ANALYTICS','wQWFh','kPJER','afJcp','skipped','constants','GdWmo','qxYAt','Pdwhu','JxFia','getRootParentFile','EoOrJ','duration','consoleLog','../../../helpers/central-scanner/helpers','_testEnv','dvEHN','parent','AFTER_ALL','IeBmC','_indents','lfZzI','Mocha','before\x20each','currentRetry','AtjQN','uNUIZ','xunit','CBTSessionCreated','cMPaZ','slice','suite','hMxMG','current_hook','hook_type','checkmark','../test-observability/mochaUtils','multiple','failed','testRunUUID','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','isPending','File\x20path\x20could\x20not\x20be\x20found','Exception\x20in\x20browserstack\x20custome\x20reporter\x20with\x20error:\x20','indent','mocha/lib/reporters/','UepbS','doc','redirectUrl','pid','IqHhz','scopes','setCurrentTestData','TestRunStarted','oKgUV','bind','pending','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','reporterOption','mocha/lib/utils.js','../../../helpers/helper','ZIKgS','after\x20each','HookRunStarted','AvNfs','XpFIX','forEach','light','Runner','../../../helpers/globals','config','getInstance','ocMCn','XWeaJ','location_prefix','YBcEo','yGSFv','RLlMF','assign','prRdc','QVFxe','hooks','1159536aaYOUW','\x20\x20<dt\x20class=\x22error\x22>','KWLlG','<h1>','increaseIndent','RUNNING','YLkiB','HookRunFinished','MEOSa','KfTLL'];a31_0x43d8=function(){return _0x2e6c1b;};return a31_0x43d8();}a31_0x4a3c44[a31_0x5b80f8(0x1f0)]=a31_0x5b80f8(0x225),a31_0x4a3c44['after\x20all']=a31_0x5b80f8(0x252),a31_0x4a3c44[a31_0x5b80f8(0x257)]=a31_0x5b80f8(0x2e4),a31_0x4a3c44[a31_0x5b80f8(0x27e)]=a31_0x5b80f8(0x2ca);const HOOK_TYPES_MAP=a31_0x4a3c44,{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_0x5b80f8(0x284)][a31_0x5b80f8(0x245)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a31_0x5b80f8(0x245)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a31_0x5b80f8(0x264)),{consoleHolder}=require(a31_0x5b80f8(0x319)),SessionHandler=require(a31_0x5b80f8(0x30a)),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require(a31_0x5b80f8(0x301)),constants=require('../../utils/constants'),requestQueueHandler=RequestQueueHandler[a31_0x5b80f8(0x287)]();class MyReporter{constructor(_0x162bbb,_0x1960b4){const _0x33a049=a31_0x5b80f8,_0x3bbd67={'rbjmV':function(_0x4b09ed,_0x381e95){return _0x4b09ed===_0x381e95;},'agEEL':_0x33a049(0x22d),'kPJER':function(_0x3b1d6e,_0x173cc0){return _0x3b1d6e===_0x173cc0;},'IqHhz':function(_0x107cc1,_0x683c98){return _0x107cc1+_0x683c98;},'cMPaZ':function(_0x817b85,_0x2f3907,_0x4039d5){return _0x817b85(_0x2f3907,_0x4039d5);},'yNbsq':'green','oKgUV':_0x33a049(0x2cf),'MKWTL':_0x33a049(0x283),'IetdJ':_0x33a049(0x307),'luphA':_0x33a049(0x297),'lfZzI':_0x33a049(0x26f),'PjOzw':function(_0x2ceb41,_0x1b84d9){return _0x2ceb41===_0x1b84d9;},'aTJDY':function(_0x543be9){return _0x543be9();},'bybjz':function(_0x32e3b3){return _0x32e3b3();},'jVtLx':_0x33a049(0x27f),'YLkiB':_0x33a049(0x299),'eWVER':function(_0x508220,_0xef5dc4){return _0x508220===_0xef5dc4;},'HrKrC':_0x33a049(0x2c3),'CZGEP':function(_0x464c33,_0x3932b6){return _0x464c33===_0x3932b6;},'eRlxh':_0x33a049(0x29e),'eawrM':function(_0x4c7355,_0x497870){return _0x4c7355+_0x497870;},'XBRYu':function(_0x27ebdc,_0x54ca89){return _0x27ebdc+_0x54ca89;},'RjQLJ':_0x33a049(0x263),'UhFIo':function(_0x48e50c,_0x1916f5){return _0x48e50c+_0x1916f5;},'PnHvL':function(_0x26cb20,_0x5a5d65,_0x49152e){return _0x26cb20(_0x5a5d65,_0x49152e);},'JeQxJ':'pass','CZOJN':_0x33a049(0x322),'EoOrJ':function(_0x21081d,_0x506c96){return _0x21081d+_0x506c96;},'dvEHN':function(_0x24575c,_0x205db0){return _0x24575c+_0x205db0;},'sKoUG':function(_0x39c282,_0x57e3c4,_0x1dba03){return _0x39c282(_0x57e3c4,_0x1dba03);},'XWcem':'\x20(%dms)','XWeaJ':_0x33a049(0x2d4),'QoiHR':_0x33a049(0x2f7),'kujXj':function(_0x1455cb,_0x413753){return _0x1455cb===_0x413753;},'KqUDK':function(_0x4b2203,_0x2d8755){return _0x4b2203+_0x2d8755;},'hgKGe':function(_0x5f1b2a,_0x5880bd,_0x11dd6d){return _0x5f1b2a(_0x5880bd,_0x11dd6d);},'KQZus':'bright\x20yellow','vVmYW':function(_0x38a392,_0x249d4e,_0x5c97f7){return _0x38a392(_0x249d4e,_0x5c97f7);},'OauDB':_0x33a049(0x229),'RsBaP':function(_0x20fb73,_0x59db12){return _0x20fb73===_0x59db12;},'QVFxe':'dot','fkbZj':'slow','YBcEo':function(_0x26ec90,_0x327fdc){return _0x26ec90===_0x327fdc;},'pHzNv':function(_0x648bc4,_0x1c4957){return _0x648bc4===_0x1c4957;},'KVikG':function(_0x17a946,_0x17b9a3){return _0x17a946===_0x17b9a3;},'LGaGC':_0x33a049(0x2e2),'yrzOF':function(_0x27e7f3,_0x49ddf2){return _0x27e7f3===_0x49ddf2;},'Mkhnn':_0x33a049(0x278),'yqWJG':function(_0x284a2b,_0x5c8202){return _0x284a2b===_0x5c8202;},'AvNfs':_0x33a049(0x1fd),'gioZr':function(_0x4917dc,_0x42b52e){return _0x4917dc===_0x42b52e;},'afJcp':function(_0x1513a2,_0x219317){return _0x1513a2(_0x219317);},'prRdc':function(_0x436675,_0x44b4e6){return _0x436675(_0x44b4e6);},'kWLzy':function(_0x2f5489){return _0x2f5489();},'mbgvK':_0x33a049(0x25b),'WGBok':function(_0x4de0b6,_0x5e9f4c,_0x13043e){return _0x4de0b6(_0x5e9f4c,_0x13043e);},'BvRss':'mocha','wcPuW':function(_0x3fd593,_0x3b3ba7){return _0x3fd593(_0x3b3ba7);},'pIqlR':function(_0x214f08,_0x4c5139){return _0x214f08(_0x4c5139);},'qNkUr':function(_0x2599d9,_0x1806fc){return _0x2599d9!==_0x1806fc;}};this['type']=_0x1960b4['reporterOption'][_0x33a049(0x2b5)],this[_0x33a049(0x205)]=_0x3bbd67['bybjz'](isTestObservabilitySession),Base[_0x33a049(0x313)](this,_0x162bbb,_0x1960b4),this[_0x33a049(0x254)]=0x0,this[_0x33a049(0x2be)]=0x0,this['results']=[],this[_0x33a049(0x316)]=[],this[_0x33a049(0x2ab)]=0x0,this['_buildCreated']=![],this['_testResults']=[],this[_0x33a049(0x24f)]=_0x3bbd67[_0x33a049(0x321)](getTestEnv),this[_0x33a049(0x1f5)]=new PathHelper({'cwd':process[_0x33a049(0x2eb)]()},this['_testEnv'][_0x33a049(0x28a)]),this[_0x33a049(0x306)]=_0x1960b4[_0x33a049(0x27a)][_0x33a049(0x2d7)],this[_0x33a049(0x324)]();_0x3bbd67[_0x33a049(0x2b8)](this['type'],_0x3bbd67[_0x33a049(0x255)])&&(this[_0x33a049(0x200)]='',this['__indents']=0x2);_0x162bbb[_0x33a049(0x21d)](EVENT_RUN_BEGIN,async()=>{const _0x141ffa=_0x33a049;_0x3bbd67[_0x141ffa(0x2d9)](this['type'],_0x3bbd67[_0x141ffa(0x232)])&&Base['consoleLog']();})['on'](EVENT_SUITE_BEGIN,_0x4df2c3=>{const _0x4db41e=_0x33a049;if(_0x4df2c3[_0x4db41e(0x2f0)])return;if(_0x3bbd67[_0x4db41e(0x242)](this[_0x4db41e(0x2b5)],_0x3bbd67[_0x4db41e(0x232)]))this['increaseIndent'](),Base[_0x4db41e(0x24d)](_0x3bbd67[_0x4db41e(0x272)](_0x3bbd67[_0x4db41e(0x272)](this[_0x4db41e(0x26c)](),_0x3bbd67[_0x4db41e(0x25d)](color,_0x3bbd67[_0x4db41e(0x2c8)],_0x3bbd67[_0x4db41e(0x276)])),_0x3bbd67[_0x4db41e(0x25d)](color,_0x3bbd67[_0x4db41e(0x2da)],_0x3bbd67[_0x4db41e(0x318)])),_0x3bbd67[_0x4db41e(0x2f5)],_0x4df2c3[_0x4db41e(0x31e)],global[_0x4db41e(0x2d6)]);else _0x3bbd67['rbjmV'](this[_0x4db41e(0x2b5)],_0x3bbd67[_0x4db41e(0x255)])&&(this[_0x4db41e(0x2b9)](this[_0x4db41e(0x26c)]()+_0x4db41e(0x1ff)),++this['__indents'],this[_0x4db41e(0x2b9)](this[_0x4db41e(0x26c)]()+_0x4db41e(0x295)+utils[_0x4db41e(0x23f)](_0x4df2c3[_0x4db41e(0x31e)]+_0x4db41e(0x312)+global['__platform__'])+_0x4db41e(0x2c6)),this['docAppend'](this[_0x4db41e(0x26c)]()+_0x4db41e(0x22b)));})['on'](EVENT_HOOK_BEGIN,async _0x11dcff=>{const _0x14a4c5=_0x33a049;if(_0x3bbd67['PjOzw'](testhubUtils['shouldProcessEventForTesthub'](testHubConstants['EVENT']['HookStarted']),!![])){if(!_0x11dcff['hookAnalyticsId'])_0x11dcff['hookAnalyticsId']=_0x3bbd67[_0x14a4c5(0x323)](uuidv4);else _0x11dcff[_0x14a4c5(0x23d)]&&(_0x11dcff['hookAnalyticsId']=_0x3bbd67[_0x14a4c5(0x1fe)](uuidv4),delete _0x11dcff['markedStatus']);_0x11dcff[_0x14a4c5(0x2e9)]=new Date()[_0x14a4c5(0x2bd)](),this['current_hook']=_0x11dcff,await this[_0x14a4c5(0x20e)](_0x11dcff,undefined,![],_0x3bbd67['jVtLx']);}})['on'](EVENT_HOOK_END,async _0x311018=>{const _0x522ada=_0x33a049;_0x3bbd67[_0x522ada(0x2b6)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants[_0x522ada(0x210)][_0x522ada(0x2bf)]),!![])&&(!_0x311018['markedStatus']&&(_0x311018[_0x522ada(0x23d)]=!![],await this[_0x522ada(0x20e)](_0x311018,undefined,![],_0x3bbd67[_0x522ada(0x298)])));})['on'](EVENT_SUITE_END,_0x2a2a68=>{const _0x205511=_0x33a049;if(_0x2a2a68[_0x205511(0x2f0)])return;if(_0x3bbd67[_0x205511(0x2a2)](this[_0x205511(0x2b5)],_0x3bbd67[_0x205511(0x232)]))Base['consoleLog'](),Base[_0x205511(0x24d)](_0x3bbd67[_0x205511(0x2ec)](_0x3bbd67['IqHhz'](this['indent'](),_0x3bbd67['hgKGe'](color,_0x3bbd67[_0x205511(0x23e)],_0x3bbd67['oKgUV'])),_0x3bbd67[_0x205511(0x2f1)](color,_0x3bbd67[_0x205511(0x2da)],_0x3bbd67[_0x205511(0x318)])),_0x3bbd67[_0x205511(0x21f)],_0x2a2a68[_0x205511(0x31e)],global[_0x205511(0x2d6)]),this['results'][_0x205511(0x282)](_0x53188c=>{const _0x3edba5=_0x205511;if(_0x3bbd67[_0x3edba5(0x2f2)](_0x53188c[_0x3edba5(0x304)],_0x3bbd67['HrKrC'])){var _0x519220;_0x3bbd67[_0x3edba5(0x211)](_0x53188c[_0x3edba5(0x31d)],_0x3bbd67[_0x3edba5(0x2a8)])?(_0x519220=_0x3bbd67[_0x3edba5(0x221)](_0x3bbd67['XBRYu'](this[_0x3edba5(0x26c)](),_0x3bbd67[_0x3edba5(0x25d)](color,_0x3bbd67[_0x3edba5(0x2cd)],_0x3bbd67['UhFIo']('\x20\x20',Base[_0x3edba5(0x2b3)]['ok']))),_0x3bbd67[_0x3edba5(0x21a)](color,_0x3bbd67['JeQxJ'],_0x3bbd67['CZOJN'])),Base[_0x3edba5(0x24d)](_0x519220,_0x53188c[_0x3edba5(0x31e)])):(_0x519220=_0x3bbd67[_0x3edba5(0x2d0)](_0x3bbd67[_0x3edba5(0x2b1)](_0x3bbd67[_0x3edba5(0x24b)](this['indent'](),_0x3bbd67['cMPaZ'](color,_0x3bbd67[_0x3edba5(0x2cd)],_0x3bbd67[_0x3edba5(0x250)]('\x20\x20',Base[_0x3edba5(0x2b3)]['ok']))),_0x3bbd67['PnHvL'](color,_0x3bbd67[_0x3edba5(0x2bc)],_0x3bbd67['CZOJN'])),_0x3bbd67[_0x3edba5(0x2b0)](color,_0x53188c['speed'],_0x3bbd67[_0x3edba5(0x214)])),Base[_0x3edba5(0x24d)](_0x519220,_0x53188c['title'],_0x53188c[_0x3edba5(0x24c)]));}else Base[_0x3edba5(0x24d)](_0x3bbd67[_0x3edba5(0x250)](this[_0x3edba5(0x26c)](),_0x3bbd67[_0x3edba5(0x21a)](color,_0x3bbd67[_0x3edba5(0x289)],_0x3bbd67[_0x3edba5(0x2fb)])),++this['failCount'],_0x53188c['title']);}),this['decreaseIndent']();else _0x3bbd67[_0x205511(0x242)](this[_0x205511(0x2b5)],_0x3bbd67[_0x205511(0x255)])&&(this[_0x205511(0x2b9)](this[_0x205511(0x26c)]()+'</dl>'),--this['__indents'],this[_0x205511(0x2b9)](this[_0x205511(0x26c)]()+_0x205511(0x2e1)),--this[_0x205511(0x2ba)]);Array['prototype'][_0x205511(0x2af)][_0x205511(0x310)](this[_0x205511(0x316)],this['results']),this['results']=[];})['on'](EVENT_TEST_PASS,async _0x34ee0e=>{const _0x253794=_0x33a049;this[_0x253794(0x2f8)][_0x253794(0x2af)]({'speed':_0x34ee0e[_0x253794(0x31d)],'suite':_0x34ee0e[_0x253794(0x251)][_0x253794(0x31e)],'title':_0x34ee0e['title'],'fullTitle':_0x34ee0e[_0x253794(0x1f7)](),'duration':_0x34ee0e[_0x253794(0x24c)],'state':_0x34ee0e[_0x253794(0x304)],'err':{},'currentRetry':_0x34ee0e[_0x253794(0x258)](),'titlePathV':_0x34ee0e[_0x253794(0x2d3)](),'isPending':_0x34ee0e[_0x253794(0x269)]()});if(_0x3bbd67['RsBaP'](this[_0x253794(0x2b5)],_0x3bbd67[_0x253794(0x290)]))_0x3bbd67[_0x253794(0x211)](_0x34ee0e[_0x253794(0x31d)],_0x3bbd67['fkbZj'])?process[_0x253794(0x2b2)][_0x253794(0x21e)](Base['color'](_0x3bbd67[_0x253794(0x23e)],Base[_0x253794(0x2b3)][_0x253794(0x2db)])):process['stdout'][_0x253794(0x21e)](Base[_0x253794(0x2a9)](_0x34ee0e[_0x253794(0x31d)],Base[_0x253794(0x2b3)][_0x253794(0x2db)]));else{if(_0x3bbd67[_0x253794(0x1fc)](this[_0x253794(0x2b5)],_0x3bbd67[_0x253794(0x255)])){this['docAppend'](this[_0x253794(0x26c)]()+_0x253794(0x222)+utils[_0x253794(0x23f)](_0x34ee0e['title'])+_0x253794(0x1ee)),this[_0x253794(0x2b9)](this[_0x253794(0x26c)]()+_0x253794(0x222)+utils[_0x253794(0x23f)](_0x34ee0e[_0x253794(0x2a5)])+_0x253794(0x1ee));var _0x4bf506=utils[_0x253794(0x23f)](utils['clean'](_0x34ee0e[_0x253794(0x1f8)]));this[_0x253794(0x2b9)](this[_0x253794(0x26c)]()+_0x253794(0x31b)+_0x4bf506+_0x253794(0x1f3));}}_0x3bbd67[_0x253794(0x28b)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x34ee0e[_0x253794(0x23d)]&&(_0x34ee0e['markedStatus']=!![],await this['sendTestRunEvent'](_0x34ee0e)));})['on'](EVENT_TEST_FAIL,async(_0xf2b725,_0x2508de)=>{const _0xaa1b9c=_0x33a049;this[_0xaa1b9c(0x2f8)][_0xaa1b9c(0x2af)]({'title':_0xf2b725['title'],'suite':_0xf2b725[_0xaa1b9c(0x251)]['title'],'state':_0xf2b725[_0xaa1b9c(0x304)],'err':{'message':util[_0xaa1b9c(0x20c)](_0x2508de)},'fullTitle':_0xf2b725[_0xaa1b9c(0x1f7)](),'speed':_0xf2b725[_0xaa1b9c(0x31d)],'currentRetry':_0xf2b725[_0xaa1b9c(0x258)](),'titlePathV':_0xf2b725[_0xaa1b9c(0x2d3)]()});if(_0x3bbd67['pHzNv'](this[_0xaa1b9c(0x2b5)],_0x3bbd67['QVFxe']))process['stdout'][_0xaa1b9c(0x21e)](Base[_0xaa1b9c(0x2a9)](_0x3bbd67[_0xaa1b9c(0x289)],Base[_0xaa1b9c(0x2b3)]['bang']));else{if(_0x3bbd67[_0xaa1b9c(0x2b8)](this['type'],_0x3bbd67['lfZzI'])){const _0x59624d=_0x3bbd67[_0xaa1b9c(0x2f9)]['split']('|');let _0x3eb4e5=0x0;while(!![]){switch(_0x59624d[_0x3eb4e5++]){case'0':this[_0xaa1b9c(0x2b9)](this[_0xaa1b9c(0x26c)]()+'\x20\x20<dt\x20class=\x22error\x22>'+utils[_0xaa1b9c(0x23f)](_0xf2b725['title'])+'</dt>');continue;case'1':this[_0xaa1b9c(0x2b9)](this['indent']()+_0xaa1b9c(0x293)+utils[_0xaa1b9c(0x23f)](_0xf2b725['file'])+_0xaa1b9c(0x1ee));continue;case'2':this[_0xaa1b9c(0x2b9)](this['indent']()+_0xaa1b9c(0x22c)+_0x477bc7+'</code></pre></dd>');continue;case'3':var _0x477bc7=utils['escape'](utils[_0xaa1b9c(0x2ed)](_0xf2b725[_0xaa1b9c(0x1f8)]));continue;case'4':this[_0xaa1b9c(0x2b9)](this[_0xaa1b9c(0x26c)]()+_0xaa1b9c(0x1f2)+utils[_0xaa1b9c(0x23f)](_0xf2b725[_0xaa1b9c(0x302)])+'</dd>');continue;}break;}}}if(_0x3bbd67[_0xaa1b9c(0x22a)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants[_0xaa1b9c(0x210)][_0xaa1b9c(0x2bf)]),!![])){if(!_0xf2b725[_0xaa1b9c(0x23d)]){_0xf2b725['markedStatus']=!![];if(_0xf2b725[_0xaa1b9c(0x2a7)])await this['sendTestRunEvent'](_0xf2b725,_0x2508de);else _0xf2b725[_0xaa1b9c(0x2d2)]&&await this[_0xaa1b9c(0x20e)](_0xf2b725,_0x2508de,![],_0x3bbd67['YLkiB']);}}})['on'](EVENT_TEST_PENDING,async _0x58285f=>{const _0x598a36=_0x33a049;this['results'][_0x598a36(0x2af)]({'title':_0x58285f[_0x598a36(0x31e)],'suite':_0x58285f[_0x598a36(0x251)][_0x598a36(0x31e)],'state':_0x58285f['state'],'err':{},'fullTitle':_0x58285f['fullTitle'](),'speed':_0x58285f['speed'],'currentRetry':_0x58285f[_0x598a36(0x258)](),'titlePathV':_0x58285f[_0x598a36(0x2d3)]()}),_0x3bbd67[_0x598a36(0x22a)](this['type'],_0x3bbd67[_0x598a36(0x290)])&&process['stdout'][_0x598a36(0x21e)](Base[_0x598a36(0x2a9)](_0x3bbd67['Mkhnn'],Base['symbols'][_0x598a36(0x208)])),_0x3bbd67[_0x598a36(0x300)](testhubUtils[_0x598a36(0x2c1)](),!![])&&(!_0x58285f[_0x598a36(0x2a7)]&&(_0x58285f[_0x598a36(0x2a7)]=_0x3bbd67['bybjz'](uuidv4)),!_0x58285f[_0x598a36(0x23d)]&&(_0x58285f['markedStatus']=!![],await this[_0x598a36(0x20e)](_0x58285f,undefined,![],_0x3bbd67['AvNfs'])));})['on'](EVENT_TEST_BEGIN,async _0x12a9ce=>{const _0x545453=_0x33a049;_0x3bbd67[_0x545453(0x28b)](testhubUtils[_0x545453(0x2c1)](),!![])&&await this[_0x545453(0x1fa)](_0x12a9ce);})['on'](EVENT_TEST_END,async _0x181ee7=>{const _0x126cdc=_0x33a049;_0x3bbd67[_0x126cdc(0x239)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x181ee7['markedStatus']&&(_0x181ee7[_0x126cdc(0x23d)]=!![],await this[_0x126cdc(0x20e)](_0x181ee7)));})[_0x33a049(0x21d)](EVENT_RUN_END,async()=>{const _0x4e3187=_0x33a049;try{if(_0x3bbd67[_0x4e3187(0x2b8)](testhubUtils[_0x4e3187(0x2c1)](),!![])){const _0x4288bf=_0x3bbd67[_0x4e3187(0x243)](getHookSkippedTests,this[_0x4e3187(0x215)][_0x4e3187(0x25f)]);for(const _0x560d58 of _0x4288bf){!_0x560d58[_0x4e3187(0x2a7)]&&(_0x560d58[_0x4e3187(0x2a7)]=_0x3bbd67['aTJDY'](uuidv4)),await this['sendTestRunEvent'](_0x560d58,undefined,![],_0x3bbd67[_0x4e3187(0x280)]);}}}catch(_0x367a61){_0x3bbd67[_0x4e3187(0x28f)](debug,_0x4e3187(0x2ea)+_0x367a61);}await requestQueueHandler[_0x4e3187(0x31f)](),_0x3bbd67['yrzOF'](this[_0x4e3187(0x2b5)],_0x3bbd67[_0x4e3187(0x255)])&&Base[_0x4e3187(0x24d)](this[_0x4e3187(0x200)]);});if(this[_0x33a049(0x2b5)]&&![_0x3bbd67[_0x33a049(0x255)],_0x3bbd67[_0x33a049(0x218)],_0x3bbd67['agEEL'],_0x3bbd67['QVFxe']][_0x33a049(0x2fe)](this[_0x33a049(0x2b5)])){const _0x1be4a8=this[_0x33a049(0x2b5)][_0x33a049(0x231)]();this[_0x33a049(0x2a0)]=null;try{this[_0x33a049(0x2a0)]=_0x3bbd67[_0x33a049(0x2c4)](requireModule,_0x33a049(0x26d)+_0x1be4a8+_0x33a049(0x236),_0x3bbd67[_0x33a049(0x21b)]);}catch(_0xb6b0e7){_0x3bbd67[_0x33a049(0x2e3)](debug,_0x33a049(0x26b)+_0xb6b0e7);}if(_0x3bbd67['pHzNv'](this['Reporter'],null))try{this[_0x33a049(0x2a0)]=_0x3bbd67['pIqlR'](require,_0x1be4a8);}catch(_0xdc506e){console[_0x33a049(0x2e7)]('Failed\x20to\x20load\x20reporter\x20'+_0x1be4a8);}if(_0x3bbd67[_0x33a049(0x1ec)](this[_0x33a049(0x2a0)],null)){const _0x18304d={};_0x18304d[_0x33a049(0x1ed)]=_0x1960b4[_0x33a049(0x27a)],this[_0x33a049(0x2a0)]=new this[(_0x33a049(0x2a0))](_0x162bbb,_0x18304d);}}}[a31_0x5b80f8(0x26c)](){const _0x15731c=a31_0x5b80f8,_0x56efc0={'STRNq':function(_0x18ae83,_0x50730d){return _0x18ae83(_0x50730d);}};return _0x56efc0[_0x15731c(0x23a)](Array,this[_0x15731c(0x254)])[_0x15731c(0x2fd)]('\x20\x20');}[a31_0x5b80f8(0x296)](){this['_indents']++;}[a31_0x5b80f8(0x203)](){this['_indents']--;}[a31_0x5b80f8(0x2b9)](_0xf33d5a){this['docHtml']+=_0xf33d5a;}['done'](_0x24731f,_0x143605){const _0x5b367e=a31_0x5b80f8,_0x4375c7={'fBYfD':function(_0x164d80,_0xc48bca){return _0x164d80(_0xc48bca);}},_0x381edf={};_0x381edf[_0x5b367e(0x23c)]=_0x24731f,_0x381edf[_0x5b367e(0x2f8)]=this[_0x5b367e(0x316)],_0x4375c7[_0x5b367e(0x220)](_0x143605,_0x381edf);}[a31_0x5b80f8(0x324)](){const _0xf42bf=a31_0x5b80f8;process[_0xf42bf(0x219)]('bs:addLog:'+process[_0xf42bf(0x271)]),process['on'](_0xf42bf(0x207)+process[_0xf42bf(0x271)],this['appendTestItemLog'][_0xf42bf(0x277)](this)),process[_0xf42bf(0x219)](_0xf42bf(0x22f)+process[_0xf42bf(0x271)]),process['on']('bs:addPlatformDetails:'+process['pid'],this['appendTestPlatform'][_0xf42bf(0x277)](this));}[a31_0x5b80f8(0x1fa)]=async _0x4b365e=>{const _0x390cfa=a31_0x5b80f8,_0x6185ec={'qpbOT':function(_0x498256){return _0x498256();},'qxYAt':_0x390cfa(0x267),'ybmPU':function(_0x2f54a7,_0x1da90d){return _0x2f54a7>_0x1da90d;},'RLlMF':function(_0x7f53b0,_0x5df124){return _0x7f53b0===_0x5df124;},'hMxMG':_0x390cfa(0x275),'KRlwi':function(_0x865dbb,_0x345d24){return _0x865dbb(_0x345d24);}};try{const _0x2af891=this[_0x390cfa(0x309)];this[_0x390cfa(0x309)]=_0x4b365e,_0x4b365e[_0x390cfa(0x23b)]=null,_0x4b365e[_0x390cfa(0x2a7)]=_0x6185ec[_0x390cfa(0x2e8)](uuidv4),globals['setGlobal'](_0x6185ec[_0x390cfa(0x247)],_0x4b365e[_0x390cfa(0x2a7)]),_0x4b365e[_0x390cfa(0x2e9)]=new Date()[_0x390cfa(0x2bd)](),_0x6185ec[_0x390cfa(0x2dd)](_0x4b365e[_0x390cfa(0x305)],0x0)&&_0x2af891&&_0x6185ec[_0x390cfa(0x28d)](_0x2af891[_0x390cfa(0x31e)],_0x4b365e[_0x390cfa(0x31e)])?(_0x4b365e[_0x390cfa(0x23b)]=_0x2af891[_0x390cfa(0x2a7)],await this[_0x390cfa(0x20e)](_0x4b365e,undefined,![],_0x6185ec[_0x390cfa(0x260)]),_0x2af891[_0x390cfa(0x304)]=STATE_FAILED,await this['sendTestRunEvent'](_0x2af891,undefined,!![])):await this[_0x390cfa(0x20e)](_0x4b365e,undefined,![],_0x6185ec[_0x390cfa(0x260)]);}catch(_0x1ede91){_0x6185ec['KRlwi'](debug,_0x390cfa(0x268)+_0x1ede91);}};['sendTestRunEvent']=async(_0x2c0973,_0x3fe932=undefined,_0x2cbb91=![],_0x54e936=a31_0x5b80f8(0x2ce))=>{const _0x3ca695=a31_0x5b80f8,_0x39ec0a={'KfTLL':function(_0x3893d0,_0x3ff079){return _0x3893d0===_0x3ff079;},'zeklH':function(_0x5dd44a,_0x601b05){return _0x5dd44a!==_0x601b05;},'uNUIZ':_0x3ca695(0x2a1),'kwiFf':_0x3ca695(0x302),'OWTHF':function(_0x2ca965,_0x4284d4){return _0x2ca965!==_0x4284d4;},'WqaiQ':function(_0x3b057f,_0x240075){return _0x3b057f!==_0x240075;},'XpFIX':_0x3ca695(0x26a),'MEOSa':_0x3ca695(0x256),'USHoI':'javascript','UxRjk':function(_0x4e8e13,_0x419e06){return _0x4e8e13===_0x419e06;},'qqSKM':_0x3ca695(0x1fd),'bDpcm':_0x3ca695(0x244),'ZIKgS':function(_0x37d7c8,_0x37b6a3){return _0x37d7c8-_0x37b6a3;},'IjkGC':_0x3ca695(0x2d8),'HXdQh':'UnhandledError','jVqwg':_0x3ca695(0x2ce),'BznsB':_0x3ca695(0x275),'HfGok':function(_0x406b4d){return _0x406b4d();},'AtjQN':_0x3ca695(0x2e9),'JxFia':_0x3ca695(0x2ac),'Pdwhu':function(_0x31726f,_0x156598){return _0x31726f(_0x156598);},'yHiyi':function(_0x3ea14a,_0x4e43f1){return _0x3ea14a===_0x4e43f1;},'UxBon':_0x3ca695(0x299),'PkHnP':_0x3ca695(0x266),'YYdFr':'passed','pFhdY':'before\x20each','gpyVk':function(_0x43494e,_0x42d040){return _0x43494e===_0x42d040;},'VNlJh':'failure','nFZjL':_0x3ca695(0x2e0),'wwBko':_0x3ca695(0x2c5),'IeBmC':_0x3ca695(0x2fa),'UepbS':_0x3ca695(0x20b),'Yltdh':function(_0x50ad50,_0x5b97e3){return _0x50ad50(_0x5b97e3);},'KWLlG':'hook_type','xhEqK':_0x3ca695(0x2de),'qEnRO':'test_run','TcIuw':function(_0xa66d5a,_0x4c02d6){return _0xa66d5a(_0x4c02d6);}};try{if(_0x2c0973[_0x3ca695(0x1f8)]&&_0x2c0973[_0x3ca695(0x1f8)][_0x3ca695(0x2fc)](/browserstack internal helper hook/))return;let _0x18b143=[];if(_0x39ec0a[_0x3ca695(0x29b)](_0x2c0973[_0x3ca695(0x304)],STATE_FAILED)){if(_0x39ec0a['zeklH'](_0x2c0973['err'],undefined))_0x18b143=_0x2c0973[_0x3ca695(0x302)]['multiple']?[_0x2c0973[_0x3ca695(0x302)][_0x3ca695(0x265)],_0x39ec0a[_0x3ca695(0x25a)]]:[_0x2c0973[_0x3ca695(0x302)],_0x39ec0a['kwiFf']];else _0x39ec0a[_0x3ca695(0x233)](_0x3fe932,undefined)?_0x18b143=[_0x3fe932,_0x39ec0a[_0x3ca695(0x2f3)]]:_0x18b143=[];}const _0x2afc88=_0x39ec0a[_0x3ca695(0x233)](_0x2c0973[_0x3ca695(0x302)],undefined)?_0x2c0973[_0x3ca695(0x302)]['toString']():_0x39ec0a[_0x3ca695(0x1fb)](_0x3fe932,undefined)?_0x3fe932['toString']():undefined;let _0x396616;try{_0x396616=this['getRootParentFile'](_0x2c0973);}catch(_0x44d14a){_0x396616=null;}const _0x2f9f37=_0x396616?this['findGitConfig'](_0x396616):null,_0x167ca3=_0x396616?this['_paths']['prefixTestPath'](this[_0x3ca695(0x24a)](_0x2c0973)):_0x39ec0a[_0x3ca695(0x281)],_0x5f4be0={'framework':_0x39ec0a[_0x3ca695(0x29a)],'uuid':_0x2c0973[_0x3ca695(0x2a7)]||_0x2c0973[_0x3ca695(0x2d2)],'name':_0x2c0973['title'],'body':{'lang':_0x39ec0a[_0x3ca695(0x237)],'code':_0x2c0973['body']},'scope':this[_0x3ca695(0x29f)](_0x2c0973),'scopes':this['scopes'](_0x2c0973),'identifier':_0x2c0973[_0x3ca695(0x1f7)](),'file_name':_0x167ca3,'vc_filepath':_0x2f9f37?path[_0x3ca695(0x230)](_0x2f9f37,_0x396616):null,'location':_0x167ca3,'result':_0x39ec0a[_0x3ca695(0x2cc)](_0x54e936,_0x39ec0a[_0x3ca695(0x317)])?_0x39ec0a[_0x3ca695(0x2b7)]:this[_0x3ca695(0x2df)](_0x2c0973[_0x3ca695(0x304)]),'failure_reason':_0x2afc88,'duration_in_ms':_0x2c0973[_0x3ca695(0x24c)]||(_0x54e936['match'](/Finished/)||_0x54e936[_0x3ca695(0x2fc)](/Skipped/)?_0x39ec0a[_0x3ca695(0x27d)](Date[_0x3ca695(0x30c)](),new Date(_0x2c0973[_0x3ca695(0x2e9)])['getTime']()):null),'started_at':_0x2c0973[_0x3ca695(0x2e9)],'finished_at':_0x54e936[_0x3ca695(0x2fc)](/Finished/)||_0x54e936[_0x3ca695(0x2fc)](/Skipped/)?new Date()[_0x3ca695(0x2bd)]():null,'failure':failureData[_0x3ca695(0x310)](null,_0x18b143),'failure_type':!_0x2afc88?null:_0x2afc88['match'](/AssertionError/)?_0x39ec0a[_0x3ca695(0x30b)]:_0x39ec0a['HXdQh'],'retry_of':_0x2c0973['retryOf']};if([_0x39ec0a[_0x3ca695(0x317)],_0x39ec0a[_0x3ca695(0x1ef)],_0x39ec0a['BznsB']][_0x3ca695(0x2fe)](_0x54e936)){if(_0x39ec0a['HfGok'](getCentralUser)[_0x3ca695(0x2c0)]){const _0x147834=TestMetadata['get'](_0x2c0973[_0x3ca695(0x2a7)]);if(_0x147834){const _0x2bbbf4={};_0x2bbbf4['lcnc']=_0x147834,Object[_0x3ca695(0x28e)](_0x5f4be0,_0x2bbbf4);}}}testhubUtils[_0x3ca695(0x2e5)](_0x5f4be0,_0x54e936,_0x2c0973,FRAMEWORKS[_0x3ca695(0x20f)]);(_0x2c0973[_0x3ca695(0x311)]||_0x2c0973[_0x3ca695(0x270)])&¢ralScannerUtils[_0x3ca695(0x308)](_0x5f4be0,_0x2c0973['responseCode'],_0x2c0973[_0x3ca695(0x270)]);_0x39ec0a[_0x3ca695(0x29b)](_0x54e936,_0x39ec0a['qqSKM'])&&!_0x5f4be0[_0x39ec0a[_0x3ca695(0x259)]]&&(_0x5f4be0[_0x39ec0a['AtjQN']]=_0x5f4be0[_0x39ec0a[_0x3ca695(0x249)]]);if(_0x54e936[_0x3ca695(0x2fc)](/HookRun/))[_0x5f4be0[_0x3ca695(0x262)],_0x5f4be0['name']]=_0x39ec0a[_0x3ca695(0x248)](getHookDetails,_0x2c0973[_0x3ca695(0x1f7)]()||_0x2c0973[_0x3ca695(0x238)]||_0x2c0973[_0x3ca695(0x31e)]),_0x39ec0a['yHiyi'](_0x54e936,_0x39ec0a[_0x3ca695(0x2a3)])&&(_0x39ec0a['OWTHF'](_0x5f4be0[_0x3ca695(0x2dc)],_0x39ec0a[_0x3ca695(0x20a)])&&(_0x5f4be0[_0x3ca695(0x2dc)]=_0x39ec0a[_0x3ca695(0x303)]),_0x39ec0a['yHiyi'](_0x5f4be0['hook_type'],_0x39ec0a[_0x3ca695(0x314)])&&_0x39ec0a[_0x3ca695(0x2aa)](_0x5f4be0['result'],_0x39ec0a[_0x3ca695(0x20a)])&&!_0x2c0973[_0x3ca695(0x1f1)][_0x3ca695(0x204)][_0x3ca695(0x23d)]&&(_0x2c0973[_0x3ca695(0x1f1)][_0x3ca695(0x204)][_0x3ca695(0x23d)]=!![],_0x2c0973['ctx'][_0x3ca695(0x204)][_0x3ca695(0x304)]=STATE_FAILED,await this[_0x3ca695(0x20e)](_0x2c0973['ctx'][_0x3ca695(0x204)],undefined,!![])));else _0x54e936[_0x3ca695(0x2fc)](/TestRun/)&&_0x39ec0a[_0x3ca695(0x248)](mapTestHooks,_0x2c0973);const _0x11fc8c=_0x5f4be0[_0x39ec0a[_0x3ca695(0x202)]][0x0];_0x11fc8c&&(_0x5f4be0[_0x39ec0a[_0x3ca695(0x21c)]]=_0x11fc8c[_0x39ec0a[_0x3ca695(0x2c2)]],_0x5f4be0[_0x39ec0a[_0x3ca695(0x253)]]=_0x11fc8c[_0x39ec0a[_0x3ca695(0x26e)]]);[_0x39ec0a[_0x3ca695(0x1ef)],_0x39ec0a[_0x3ca695(0x317)]]['includes'](_0x54e936)&&(this[_0x3ca695(0x1f6)][_0x3ca695(0x2af)](_0x5f4be0),_0x5f4be0[_0x3ca695(0x291)]=_0x39ec0a[_0x3ca695(0x2ee)](getHooksForTest,_0x2c0973));const _0x3ed880={'event_type':_0x39ec0a[_0x3ca695(0x2aa)](_0x54e936,_0x39ec0a[_0x3ca695(0x317)])?_0x39ec0a[_0x3ca695(0x1ef)]:_0x54e936};_0x54e936[_0x3ca695(0x2fc)](/HookRun/)?(_0x5f4be0[_0x39ec0a['KWLlG']]=HOOK_TYPES_MAP[_0x5f4be0[_0x39ec0a[_0x3ca695(0x294)]]],_0x3ed880[_0x39ec0a[_0x3ca695(0x217)]]=_0x5f4be0):_0x3ed880[_0x39ec0a[_0x3ca695(0x2ef)]]=_0x5f4be0,testhubUtils[_0x3ca695(0x274)](FRAMEWORKS[_0x3ca695(0x20f)],_0x3ed880),await SessionHandler[_0x3ca695(0x2a4)](_0x3ed880);}catch(_0x1471b8){_0x39ec0a['TcIuw'](debug,_0x3ca695(0x279)+_0x54e936+_0x3ca695(0x31c)+_0x1471b8);}};['findGitConfig'](_0x3f0b37){const _0x1855ab=a31_0x5b80f8,_0x1881ce={};_0x1881ce[_0x1855ab(0x22e)]=function(_0x227c14,_0x1aaba6){return _0x227c14===_0x1aaba6;},_0x1881ce[_0x1855ab(0x1f9)]=function(_0x4c024e,_0x4628c1){return _0x4c024e===_0x4628c1;},_0x1881ce['yGSFv']=_0x1855ab(0x20d),_0x1881ce[_0x1855ab(0x2b4)]=_0x1855ab(0x286);const _0x3508e3=_0x1881ce,_0x446c9b=path[_0x1855ab(0x30f)];if(_0x3508e3[_0x1855ab(0x22e)](_0x3f0b37,null)||_0x3508e3[_0x1855ab(0x1f9)](_0x3f0b37,'')||_0x3508e3[_0x1855ab(0x22e)](_0x3f0b37,_0x446c9b)||_0x3508e3[_0x1855ab(0x22e)](_0x3f0b37,path[_0x1855ab(0x227)](_0x3f0b37)))return null;try{return fs[_0x1855ab(0x206)](path['join'](_0x3f0b37,_0x3508e3[_0x1855ab(0x28c)],_0x3508e3[_0x1855ab(0x2b4)])),_0x3f0b37;}catch(_0x1ea778){const _0x126359=path['dirname'](_0x3f0b37);return this[_0x1855ab(0x2d5)](_0x126359);}}[a31_0x5b80f8(0x2a6)]=async _0x21cc12=>{const _0x14a25c=a31_0x5b80f8,_0x1d1b1d={'IaGls':'LogCreated','AhbiK':function(_0x3887f8,_0x597e19){return _0x3887f8(_0x597e19);}};try{this[_0x14a25c(0x261)]&&!this[_0x14a25c(0x261)][_0x14a25c(0x23d)]&&(_0x21cc12[_0x14a25c(0x216)]=this['current_hook'][_0x14a25c(0x2d2)]);!_0x21cc12[_0x14a25c(0x216)]&&this[_0x14a25c(0x309)]&&!this[_0x14a25c(0x309)][_0x14a25c(0x23d)]&&(_0x21cc12['test_run_uuid']=this[_0x14a25c(0x309)]['testAnalyticsId']);if(_0x21cc12[_0x14a25c(0x216)]||_0x21cc12[_0x14a25c(0x30e)]){const _0x12de99={};_0x12de99[_0x14a25c(0x234)]=_0x1d1b1d['IaGls'],_0x12de99[_0x14a25c(0x2f4)]=[_0x21cc12],await SessionHandler[_0x14a25c(0x2a4)](_0x12de99);}}catch(_0x5e9a63){_0x1d1b1d['AhbiK'](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20'+constants['TEST_REPORTING_ANALYTICS']+_0x14a25c(0x31c)+_0x5e9a63);}};[a31_0x5b80f8(0x212)]=async _0x3fd9a6=>{const _0x5a6642=a31_0x5b80f8,_0x13b22c={'nNDHR':'http_response','ZzUDa':_0x5a6642(0x25c),'ocMCn':function(_0x4bdbe1,_0x3e25bf){return _0x4bdbe1(_0x3e25bf);}};try{const _0x565d15={};_0x565d15[_0x5a6642(0x30d)]=_0x3fd9a6['uuid']||this[_0x5a6642(0x309)][_0x5a6642(0x2a7)],_0x565d15[_0x5a6642(0x29c)]=_0x3fd9a6[_0x13b22c['nNDHR']];const _0x2bc5cb=_0x565d15,_0x315469={};_0x315469[_0x5a6642(0x234)]=_0x13b22c[_0x5a6642(0x315)],_0x315469[_0x5a6642(0x2c9)]=_0x2bc5cb,await SessionHandler[_0x5a6642(0x2a4)](_0x315469);}catch(_0x549918){_0x13b22c[_0x5a6642(0x288)](debug,_0x5a6642(0x320)+constants[_0x5a6642(0x240)]+'\x20with\x20error\x20:\x20'+_0x549918);}};[a31_0x5b80f8(0x2df)](_0x3296e1){const _0x2c97f2=a31_0x5b80f8,_0x198af0={};_0x198af0['TFgOC']=_0x2c97f2(0x2c3),_0x198af0[_0x2c97f2(0x213)]=_0x2c97f2(0x278),_0x198af0[_0x2c97f2(0x241)]=_0x2c97f2(0x266);const _0x2b2d1c=_0x198af0,_0x8ebec1={};return _0x8ebec1[STATE_PASSED]=_0x2b2d1c[_0x2c97f2(0x209)],_0x8ebec1[STATE_PENDING]=_0x2b2d1c[_0x2c97f2(0x213)],_0x8ebec1[STATE_FAILED]=_0x2b2d1c[_0x2c97f2(0x241)],_0x8ebec1[_0x3296e1];}['scope'](_0x4201b8){const _0x262ac3=a31_0x5b80f8,_0x5a27b9={};_0x5a27b9[_0x262ac3(0x246)]=function(_0x21781f,_0xeb85fc){return _0x21781f-_0xeb85fc;};const _0x266eef=_0x5a27b9,_0x4a8641=_0x4201b8[_0x262ac3(0x2d3)]();return _0x4a8641[_0x262ac3(0x25e)](0x0,_0x266eef['GdWmo'](_0x4a8641[_0x262ac3(0x2ad)],0x1))['join']('\x20');}[a31_0x5b80f8(0x273)](_0x46e944){const _0x3aec4f=a31_0x5b80f8,_0x5eadaa={};_0x5eadaa[_0x3aec4f(0x2bb)]=function(_0x47d761,_0x68a0e){return _0x47d761-_0x68a0e;};const _0x46e57c=_0x5eadaa,_0x486058=_0x46e944[_0x3aec4f(0x2d3)]();return _0x486058[_0x3aec4f(0x25e)](0x0,_0x46e57c[_0x3aec4f(0x2bb)](_0x486058[_0x3aec4f(0x2ad)],0x1));}[a31_0x5b80f8(0x24a)](_0x33ebd3){const _0x1d6fc1=a31_0x5b80f8,_0x2a04aa={};_0x2a04aa[_0x1d6fc1(0x228)]=function(_0xcb3cde,_0x3a19ca){return _0xcb3cde>_0x3a19ca;};const _0x53c6df=_0x2a04aa;if(_0x33ebd3[_0x1d6fc1(0x2a5)])return _0x33ebd3[_0x1d6fc1(0x2a5)];if(_0x33ebd3[_0x1d6fc1(0x1f1)]){const _0x3fc941=_0x33ebd3[_0x1d6fc1(0x1f1)][_0x1d6fc1(0x204)]?this[_0x1d6fc1(0x24a)](_0x33ebd3[_0x1d6fc1(0x1f1)][_0x1d6fc1(0x204)]):null;if(_0x3fc941)return _0x3fc941;}if(_0x33ebd3[_0x1d6fc1(0x251)]){const _0x287e78=this[_0x1d6fc1(0x24a)](_0x33ebd3[_0x1d6fc1(0x251)])||(_0x33ebd3[_0x1d6fc1(0x251)][_0x1d6fc1(0x1f1)]&&_0x33ebd3[_0x1d6fc1(0x251)][_0x1d6fc1(0x1f1)]['currentTest']?this[_0x1d6fc1(0x24a)](_0x33ebd3['parent']['ctx'][_0x1d6fc1(0x204)]):null);if(_0x287e78)return _0x287e78;_0x33ebd3[_0x1d6fc1(0x251)][_0x1d6fc1(0x2d1)]&&_0x53c6df[_0x1d6fc1(0x228)](_0x33ebd3[_0x1d6fc1(0x251)][_0x1d6fc1(0x2d1)][_0x1d6fc1(0x2ad)],0x0)&&_0x33ebd3[_0x1d6fc1(0x251)][_0x1d6fc1(0x2d1)][_0x1d6fc1(0x282)](_0x376731=>{const _0x3dd693=_0x1d6fc1,_0x212f57=_0x376731[_0x3dd693(0x1f1)]?this[_0x3dd693(0x24a)](_0x376731[_0x3dd693(0x1f1)]):null;if(_0x212f57)return _0x212f57;});}return null;}}module[a31_0x5b80f8(0x29d)]=MyReporter;
|
|
1
|
+
'use strict';const a31_0x4fef6c=a31_0x33c3;(function(_0x397b3a,_0x19d5af){const _0x3310a0=a31_0x33c3,_0x1821f9=_0x397b3a();while(!![]){try{const _0x1f533d=-parseInt(_0x3310a0(0x2b2))/0x1*(parseInt(_0x3310a0(0x27d))/0x2)+-parseInt(_0x3310a0(0x257))/0x3*(-parseInt(_0x3310a0(0x24c))/0x4)+-parseInt(_0x3310a0(0x29d))/0x5*(-parseInt(_0x3310a0(0x268))/0x6)+-parseInt(_0x3310a0(0x266))/0x7*(-parseInt(_0x3310a0(0x234))/0x8)+parseInt(_0x3310a0(0x1e1))/0x9*(-parseInt(_0x3310a0(0x21d))/0xa)+-parseInt(_0x3310a0(0x1fa))/0xb+-parseInt(_0x3310a0(0x206))/0xc*(-parseInt(_0x3310a0(0x2bf))/0xd);if(_0x1f533d===_0x19d5af)break;else _0x1821f9['push'](_0x1821f9['shift']());}catch(_0x50609f){_0x1821f9['push'](_0x1821f9['shift']());}}}(a31_0x4ae9,0x290c7));const util=require(a31_0x4fef6c(0x2ce)),fs=require('fs'),path=require(a31_0x4fef6c(0x202)),{requireModule,getCentralUser}=require('../../../helpers/helper'),Base=requireModule(a31_0x4fef6c(0x26e),a31_0x4fef6c(0x1fd)),utils=requireModule(a31_0x4fef6c(0x1ee),a31_0x4fef6c(0x1fd)),color=Base['color'],Mocha=requireModule('mocha'),Runnable=requireModule(a31_0x4fef6c(0x1a4),'mocha'),{v4:uuidv4}=require('uuid'),bsSetupHelper=require(a31_0x4fef6c(0x282)),testhubUtils=require('../../../helpers/testhub/utils'),centralScannerUtils=require(a31_0x4fef6c(0x270)),testHubConstants=require(a31_0x4fef6c(0x2b1)),{FRAMEWORKS}=require(a31_0x4fef6c(0x20e)),globals=require(a31_0x4fef6c(0x22d)),logger=require(a31_0x4fef6c(0x1fb))[a31_0x4fef6c(0x267)],TestMetadata=require(a31_0x4fef6c(0x1f9)),a31_0x4e50fb={};a31_0x4e50fb[a31_0x4fef6c(0x1f8)]='BEFORE_ALL',a31_0x4e50fb[a31_0x4fef6c(0x252)]=a31_0x4fef6c(0x26b),a31_0x4e50fb['before\x20each']=a31_0x4fef6c(0x199),a31_0x4e50fb['after\x20each']='AFTER_EACH';const HOOK_TYPES_MAP=a31_0x4e50fb,{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_0x4fef6c(0x1e4)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable['constants'],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a31_0x4fef6c(0x2a2)),{consoleHolder}=require(a31_0x4fef6c(0x20e)),SessionHandler=require(a31_0x4fef6c(0x28f)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a31_0x4fef6c(0x2bd)),RequestQueueHandler=require(a31_0x4fef6c(0x265)),constants=require(a31_0x4fef6c(0x191)),requestQueueHandler=RequestQueueHandler['getInstance']();class MyReporter{constructor(_0x588a49,_0x3055ac){const _0xe9d6b0=a31_0x4fef6c,_0x731710={'uphld':function(_0x19d324,_0x33e644){return _0x19d324===_0x33e644;},'OXQfO':'spec','cPwmW':function(_0x5a54fe,_0x262650){return _0x5a54fe===_0x262650;},'PVtuo':function(_0x518d42,_0x324421){return _0x518d42+_0x324421;},'TQxuL':function(_0x44f032,_0x587933){return _0x44f032+_0x587933;},'ABzje':function(_0x5643cf,_0xdec909,_0x2db582){return _0x5643cf(_0xdec909,_0x2db582);},'JZDWt':'green','FvfOg':_0xe9d6b0(0x1f2),'QWWlf':function(_0x47c499,_0x4863d1,_0x1de408){return _0x47c499(_0x4863d1,_0x1de408);},'hOytO':_0xe9d6b0(0x1a6),'ezFrj':_0xe9d6b0(0x214),'UrCho':_0xe9d6b0(0x25b),'MgZWw':_0xe9d6b0(0x1fc),'CCRXr':function(_0x26e7cb,_0x142cfe){return _0x26e7cb===_0x142cfe;},'LodIZ':function(_0x49bc08){return _0x49bc08();},'eJXHK':'HookRunStarted','teTdO':function(_0x170828,_0x3085cf){return _0x170828===_0x3085cf;},'GjkTG':_0xe9d6b0(0x2ba),'ExpxP':function(_0x134499,_0xfb4a47){return _0x134499===_0xfb4a47;},'RXaxp':_0xe9d6b0(0x2c7),'tgOrI':_0xe9d6b0(0x25d),'pRjKi':function(_0x11f508,_0x420e77){return _0x11f508+_0x420e77;},'sCXpz':function(_0x34841a,_0x12e63a,_0x5a647f){return _0x34841a(_0x12e63a,_0x5a647f);},'oBCLK':'checkmark','fMELE':_0xe9d6b0(0x22b),'yZEBG':_0xe9d6b0(0x1ca),'aYMWX':function(_0x11d68c,_0x3778c7){return _0x11d68c+_0x3778c7;},'lHuNX':function(_0x3b55e6,_0x34087f){return _0x3b55e6+_0x34087f;},'JyvYV':function(_0x5851f7,_0x5c5af6){return _0x5851f7+_0x5c5af6;},'nNxiK':function(_0x5ba0a1,_0x129416){return _0x5ba0a1+_0x129416;},'xLHUb':_0xe9d6b0(0x1a9),'NEPLL':function(_0x49368,_0x541803){return _0x49368+_0x541803;},'qGtII':_0xe9d6b0(0x1b3),'lHGIk':_0xe9d6b0(0x274),'BVvpv':function(_0x57401f,_0x445a0c){return _0x57401f===_0x445a0c;},'gpaJQ':function(_0xc25ee0,_0x30baa7,_0x32fa0c){return _0xc25ee0(_0x30baa7,_0x32fa0c);},'dlGqo':'bright\x20yellow','mHmZT':function(_0x843e73,_0x2a710f,_0x24b70){return _0x843e73(_0x2a710f,_0x24b70);},'DPrGG':_0xe9d6b0(0x220),'bwiXW':function(_0x3e5713,_0x8eecef){return _0x3e5713===_0x8eecef;},'SoUCk':_0xe9d6b0(0x20a),'xpSkL':function(_0x56a5c0,_0x5f10f1){return _0x56a5c0===_0x5f10f1;},'BpYOt':_0xe9d6b0(0x1d3),'IgdZe':function(_0x1f00f7,_0x55690e){return _0x1f00f7===_0x55690e;},'CklMH':function(_0x780435,_0x913229){return _0x780435===_0x913229;},'meGRd':_0xe9d6b0(0x207),'AoHjP':function(_0x457d56,_0x2cd77b){return _0x457d56===_0x2cd77b;},'naLvi':_0xe9d6b0(0x24f),'yuzWm':function(_0x16fca6,_0x1d5e24){return _0x16fca6===_0x1d5e24;},'uxMzC':_0xe9d6b0(0x212),'CxoDa':function(_0x563cd8,_0x544f14){return _0x563cd8===_0x544f14;},'WJrPa':function(_0x2bc48e,_0x53519d){return _0x2bc48e(_0x53519d);},'iqAnj':function(_0xcf9417){return _0xcf9417();},'LVBtC':function(_0x9b04ef,_0x1ef5f0){return _0x9b04ef(_0x1ef5f0);},'qbusg':function(_0x2d44c6){return _0x2d44c6();},'aUAyb':function(_0x17ec55,_0x579f57){return _0x17ec55===_0x579f57;},'VSxvT':_0xe9d6b0(0x1bd),'DVBFw':function(_0x9b8e62,_0x427901,_0x1c92e6){return _0x9b8e62(_0x427901,_0x1c92e6);},'KQpJv':_0xe9d6b0(0x1fd),'hYLqw':function(_0x160988,_0x37fd9a){return _0x160988(_0x37fd9a);},'YoorW':function(_0x4cd905,_0x1853fa){return _0x4cd905!==_0x1853fa;}};this[_0xe9d6b0(0x236)]=_0x3055ac[_0xe9d6b0(0x1bb)][_0xe9d6b0(0x236)],this['testObservability']=_0x731710['iqAnj'](isTestObservabilitySession),Base[_0xe9d6b0(0x215)](this,_0x588a49,_0x3055ac),this[_0xe9d6b0(0x264)]=0x0,this[_0xe9d6b0(0x1cc)]=0x0,this[_0xe9d6b0(0x1d0)]=[],this[_0xe9d6b0(0x21b)]=[],this[_0xe9d6b0(0x19a)]=0x0,this[_0xe9d6b0(0x2ab)]=![],this[_0xe9d6b0(0x216)]=[],this['_testEnv']=_0x731710[_0xe9d6b0(0x1cf)](getTestEnv),this[_0xe9d6b0(0x243)]=new PathHelper({'cwd':process[_0xe9d6b0(0x1ae)]()},this[_0xe9d6b0(0x262)]['location_prefix']),this[_0xe9d6b0(0x2a6)]=_0x3055ac['reporterOption'][_0xe9d6b0(0x299)],this[_0xe9d6b0(0x230)]();_0x731710[_0xe9d6b0(0x26f)](this['type'],_0x731710[_0xe9d6b0(0x201)])&&(this[_0xe9d6b0(0x296)]='',this[_0xe9d6b0(0x24d)]=0x2);_0x588a49[_0xe9d6b0(0x26d)](EVENT_RUN_BEGIN,async()=>{const _0x531c56=_0xe9d6b0;_0x731710[_0x531c56(0x20b)](this[_0x531c56(0x236)],_0x731710[_0x531c56(0x1d6)])&&Base[_0x531c56(0x22e)]();})['on'](EVENT_SUITE_BEGIN,_0x4fc60f=>{const _0x429938=_0xe9d6b0;if(_0x4fc60f[_0x429938(0x1ed)])return;if(_0x731710[_0x429938(0x1fe)](this[_0x429938(0x236)],_0x731710[_0x429938(0x1d6)]))this[_0x429938(0x1d2)](),Base[_0x429938(0x22e)](_0x731710[_0x429938(0x2be)](_0x731710['TQxuL'](this[_0x429938(0x2a4)](),_0x731710[_0x429938(0x1e7)](color,_0x731710['JZDWt'],_0x731710['FvfOg'])),_0x731710[_0x429938(0x226)](color,_0x731710[_0x429938(0x23f)],_0x731710[_0x429938(0x290)])),_0x731710[_0x429938(0x192)],_0x4fc60f['title'],global[_0x429938(0x251)]);else _0x731710['uphld'](this[_0x429938(0x236)],_0x731710['MgZWw'])&&(this[_0x429938(0x222)](this[_0x429938(0x2a4)]()+_0x429938(0x24a)),++this['__indents'],this[_0x429938(0x222)](this['indent']()+_0x429938(0x2ca)+utils[_0x429938(0x213)](_0x4fc60f[_0x429938(0x225)]+'\x20-\x20'+global[_0x429938(0x251)])+_0x429938(0x23a)),this['docAppend'](this[_0x429938(0x2a4)]()+_0x429938(0x235)));})['on'](EVENT_HOOK_BEGIN,async _0x58797b=>{const _0x134dc8=_0xe9d6b0;if(_0x731710['CCRXr'](testhubUtils['shouldProcessEventForTesthub'](testHubConstants['EVENT']['HookStarted']),!![])){if(!_0x58797b[_0x134dc8(0x2ad)])_0x58797b[_0x134dc8(0x2ad)]=_0x731710[_0x134dc8(0x256)](uuidv4);else _0x58797b[_0x134dc8(0x1de)]&&(_0x58797b[_0x134dc8(0x2ad)]=_0x731710[_0x134dc8(0x256)](uuidv4),delete _0x58797b['markedStatus']);_0x58797b[_0x134dc8(0x200)]=new Date()[_0x134dc8(0x210)](),this[_0x134dc8(0x24b)]=_0x58797b,await this[_0x134dc8(0x281)](_0x58797b,undefined,![],_0x731710[_0x134dc8(0x1dc)]);}})['on'](EVENT_HOOK_END,async _0x266340=>{const _0x36c055=_0xe9d6b0;_0x731710['teTdO'](testhubUtils[_0x36c055(0x292)](testHubConstants[_0x36c055(0x2c1)][_0x36c055(0x1bf)]),!![])&&(!_0x266340[_0x36c055(0x1de)]&&(_0x266340[_0x36c055(0x1de)]=!![],await this[_0x36c055(0x281)](_0x266340,undefined,![],_0x731710[_0x36c055(0x1bc)])));})['on'](EVENT_SUITE_END,_0x47e693=>{const _0x5bebcd=_0xe9d6b0;if(_0x47e693['root'])return;if(_0x731710[_0x5bebcd(0x24e)](this['type'],_0x731710[_0x5bebcd(0x1d6)]))Base['consoleLog'](),Base[_0x5bebcd(0x22e)](_0x731710[_0x5bebcd(0x2a0)](_0x731710[_0x5bebcd(0x231)](this[_0x5bebcd(0x2a4)](),_0x731710[_0x5bebcd(0x205)](color,_0x731710[_0x5bebcd(0x208)],_0x731710[_0x5bebcd(0x2a9)])),_0x731710['mHmZT'](color,_0x731710[_0x5bebcd(0x23f)],_0x731710[_0x5bebcd(0x290)])),_0x731710[_0x5bebcd(0x223)],_0x47e693['title'],global['__platform__']),this[_0x5bebcd(0x1d0)][_0x5bebcd(0x245)](_0x2be785=>{const _0x2959d4=_0x5bebcd;if(_0x731710[_0x2959d4(0x1f1)](_0x2be785['state'],_0x731710['RXaxp'])){var _0x2f2e71;_0x731710[_0x2959d4(0x1f1)](_0x2be785['speed'],_0x731710[_0x2959d4(0x244)])?(_0x2f2e71=_0x731710[_0x2959d4(0x2a0)](_0x731710[_0x2959d4(0x224)](this[_0x2959d4(0x2a4)](),_0x731710[_0x2959d4(0x19f)](color,_0x731710[_0x2959d4(0x237)],_0x731710[_0x2959d4(0x2be)]('\x20\x20',Base[_0x2959d4(0x193)]['ok']))),_0x731710[_0x2959d4(0x19f)](color,_0x731710[_0x2959d4(0x25a)],_0x731710[_0x2959d4(0x2bb)])),Base[_0x2959d4(0x22e)](_0x2f2e71,_0x2be785[_0x2959d4(0x225)])):(_0x2f2e71=_0x731710['aYMWX'](_0x731710[_0x2959d4(0x231)](_0x731710[_0x2959d4(0x1d7)](this[_0x2959d4(0x2a4)](),_0x731710['ABzje'](color,_0x731710[_0x2959d4(0x237)],_0x731710[_0x2959d4(0x1e3)]('\x20\x20',Base[_0x2959d4(0x193)]['ok']))),_0x731710[_0x2959d4(0x19f)](color,_0x731710['fMELE'],_0x731710[_0x2959d4(0x2bb)])),_0x731710[_0x2959d4(0x226)](color,_0x2be785['speed'],_0x731710[_0x2959d4(0x1aa)])),Base[_0x2959d4(0x22e)](_0x2f2e71,_0x2be785[_0x2959d4(0x225)],_0x2be785[_0x2959d4(0x19e)]));}else Base['consoleLog'](_0x731710[_0x2959d4(0x2d1)](this[_0x2959d4(0x2a4)](),_0x731710['ABzje'](color,_0x731710[_0x2959d4(0x2b5)],_0x731710[_0x2959d4(0x1ff)])),++this[_0x2959d4(0x1cc)],_0x2be785[_0x2959d4(0x225)]);}),this[_0x5bebcd(0x221)]();else _0x731710[_0x5bebcd(0x1a5)](this[_0x5bebcd(0x236)],_0x731710[_0x5bebcd(0x201)])&&(this[_0x5bebcd(0x222)](this['indent']()+_0x5bebcd(0x246)),--this[_0x5bebcd(0x24d)],this[_0x5bebcd(0x222)](this[_0x5bebcd(0x2a4)]()+_0x5bebcd(0x1ad)),--this[_0x5bebcd(0x24d)]);Array['prototype']['push'][_0x5bebcd(0x25e)](this[_0x5bebcd(0x21b)],this[_0x5bebcd(0x1d0)]),this[_0x5bebcd(0x1d0)]=[];})['on'](EVENT_TEST_PASS,async _0x268c8c=>{const _0xca7c5d=_0xe9d6b0;this['results']['push']({'speed':_0x268c8c[_0xca7c5d(0x253)],'suite':_0x268c8c[_0xca7c5d(0x1a7)][_0xca7c5d(0x225)],'title':_0x268c8c[_0xca7c5d(0x225)],'fullTitle':_0x268c8c[_0xca7c5d(0x271)](),'duration':_0x268c8c['duration'],'state':_0x268c8c['state'],'err':{},'currentRetry':_0x268c8c[_0xca7c5d(0x1e0)](),'titlePathV':_0x268c8c[_0xca7c5d(0x1a2)](),'isPending':_0x268c8c[_0xca7c5d(0x298)]()});if(_0x731710[_0xca7c5d(0x293)](this[_0xca7c5d(0x236)],_0x731710[_0xca7c5d(0x2b0)]))_0x731710['xpSkL'](_0x268c8c[_0xca7c5d(0x253)],_0x731710[_0xca7c5d(0x255)])?process[_0xca7c5d(0x283)][_0xca7c5d(0x2a8)](Base[_0xca7c5d(0x1b7)](_0x731710[_0xca7c5d(0x208)],Base['symbols'][_0xca7c5d(0x20a)])):process[_0xca7c5d(0x283)][_0xca7c5d(0x2a8)](Base[_0xca7c5d(0x1b7)](_0x268c8c[_0xca7c5d(0x253)],Base[_0xca7c5d(0x193)][_0xca7c5d(0x20a)]));else{if(_0x731710[_0xca7c5d(0x24e)](this[_0xca7c5d(0x236)],_0x731710['MgZWw'])){this[_0xca7c5d(0x222)](this[_0xca7c5d(0x2a4)]()+_0xca7c5d(0x260)+utils[_0xca7c5d(0x213)](_0x268c8c[_0xca7c5d(0x225)])+'</dt>'),this[_0xca7c5d(0x222)](this[_0xca7c5d(0x2a4)]()+'\x20\x20<dt>'+utils['escape'](_0x268c8c['file'])+_0xca7c5d(0x22a));var _0x5f08c8=utils[_0xca7c5d(0x213)](utils[_0xca7c5d(0x29c)](_0x268c8c['body']));this[_0xca7c5d(0x222)](this[_0xca7c5d(0x2a4)]()+_0xca7c5d(0x1a3)+_0x5f08c8+'</code></pre></dd>');}}_0x731710['IgdZe'](testhubUtils[_0xca7c5d(0x292)](),!![])&&(!_0x268c8c[_0xca7c5d(0x1de)]&&(_0x268c8c['markedStatus']=!![],await this[_0xca7c5d(0x281)](_0x268c8c)));})['on'](EVENT_TEST_FAIL,async(_0x3d83bf,_0x27b902)=>{const _0x3bce1f=_0xe9d6b0;this[_0x3bce1f(0x1d0)]['push']({'title':_0x3d83bf['title'],'suite':_0x3d83bf['parent']['title'],'state':_0x3d83bf[_0x3bce1f(0x1d9)],'err':{'message':util[_0x3bce1f(0x295)](_0x27b902)},'fullTitle':_0x3d83bf['fullTitle'](),'speed':_0x3d83bf[_0x3bce1f(0x253)],'currentRetry':_0x3d83bf[_0x3bce1f(0x1e0)](),'titlePathV':_0x3d83bf[_0x3bce1f(0x1a2)]()});if(_0x731710[_0x3bce1f(0x23b)](this[_0x3bce1f(0x236)],_0x731710['SoUCk']))process[_0x3bce1f(0x283)][_0x3bce1f(0x2a8)](Base[_0x3bce1f(0x1b7)](_0x731710[_0x3bce1f(0x2b5)],Base['symbols'][_0x3bce1f(0x1c5)]));else{if(_0x731710[_0x3bce1f(0x1d4)](this[_0x3bce1f(0x236)],_0x731710[_0x3bce1f(0x201)])){const _0x54c9dc=_0x731710[_0x3bce1f(0x1ec)][_0x3bce1f(0x1f0)]('|');let _0x5a6f49=0x0;while(!![]){switch(_0x54c9dc[_0x5a6f49++]){case'0':this['docAppend'](this[_0x3bce1f(0x2a4)]()+_0x3bce1f(0x233)+_0x17be04+'</code></pre></dd>');continue;case'1':this[_0x3bce1f(0x222)](this[_0x3bce1f(0x2a4)]()+'\x20\x20<dd\x20class=\x22error\x22>'+utils[_0x3bce1f(0x213)](_0x3d83bf[_0x3bce1f(0x1da)])+'</dd>');continue;case'2':var _0x17be04=utils[_0x3bce1f(0x213)](utils['clean'](_0x3d83bf[_0x3bce1f(0x227)]));continue;case'3':this[_0x3bce1f(0x222)](this[_0x3bce1f(0x2a4)]()+_0x3bce1f(0x2c8)+utils[_0x3bce1f(0x213)](_0x3d83bf[_0x3bce1f(0x225)])+_0x3bce1f(0x22a));continue;case'4':this[_0x3bce1f(0x222)](this[_0x3bce1f(0x2a4)]()+_0x3bce1f(0x2c8)+utils[_0x3bce1f(0x213)](_0x3d83bf[_0x3bce1f(0x2ac)])+'</dt>');continue;}break;}}}if(_0x731710[_0x3bce1f(0x293)](testhubUtils[_0x3bce1f(0x292)](testHubConstants['EVENT'][_0x3bce1f(0x1bf)]),!![])){if(!_0x3d83bf[_0x3bce1f(0x1de)]){_0x3d83bf[_0x3bce1f(0x1de)]=!![];if(_0x3d83bf[_0x3bce1f(0x261)])await this['sendTestRunEvent'](_0x3d83bf,_0x27b902);else _0x3d83bf[_0x3bce1f(0x2ad)]&&await this[_0x3bce1f(0x281)](_0x3d83bf,_0x27b902,![],_0x731710[_0x3bce1f(0x1bc)]);}}})['on'](EVENT_TEST_PENDING,async _0x14e0ea=>{const _0x18dd67=_0xe9d6b0;this[_0x18dd67(0x1d0)]['push']({'title':_0x14e0ea['title'],'suite':_0x14e0ea['parent']['title'],'state':_0x14e0ea[_0x18dd67(0x1d9)],'err':{},'fullTitle':_0x14e0ea[_0x18dd67(0x271)](),'speed':_0x14e0ea['speed'],'currentRetry':_0x14e0ea['currentRetry'](),'titlePathV':_0x14e0ea[_0x18dd67(0x1a2)]()}),_0x731710[_0x18dd67(0x2b9)](this[_0x18dd67(0x236)],_0x731710[_0x18dd67(0x2b0)])&&process['stdout'][_0x18dd67(0x2a8)](Base[_0x18dd67(0x1b7)](_0x731710['naLvi'],Base[_0x18dd67(0x193)][_0x18dd67(0x275)])),_0x731710[_0x18dd67(0x254)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x14e0ea[_0x18dd67(0x261)]&&(_0x14e0ea[_0x18dd67(0x261)]=_0x731710['LodIZ'](uuidv4)),!_0x14e0ea['markedStatus']&&(_0x14e0ea[_0x18dd67(0x1de)]=!![],await this['sendTestRunEvent'](_0x14e0ea,undefined,![],_0x731710[_0x18dd67(0x291)])));})['on'](EVENT_TEST_BEGIN,async _0xadfc2e=>{const _0x21218d=_0xe9d6b0;_0x731710['CxoDa'](testhubUtils[_0x21218d(0x292)](),!![])&&await this['testStarted'](_0xadfc2e);})['on'](EVENT_TEST_END,async _0x1f78b1=>{const _0x4565c1=_0xe9d6b0;_0x731710[_0x4565c1(0x240)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x1f78b1['markedStatus']&&(_0x1f78b1[_0x4565c1(0x1de)]=!![],await this['sendTestRunEvent'](_0x1f78b1)));})[_0xe9d6b0(0x26d)](EVENT_RUN_END,async()=>{const _0x3025e3=_0xe9d6b0;try{if(_0x731710[_0x3025e3(0x1a5)](testhubUtils[_0x3025e3(0x292)](),!![])){const _0x5600d3=_0x731710['WJrPa'](getHookSkippedTests,this[_0x3025e3(0x2cb)][_0x3025e3(0x2b8)]);for(const _0x4fa792 of _0x5600d3){!_0x4fa792['testAnalyticsId']&&(_0x4fa792[_0x3025e3(0x261)]=_0x731710[_0x3025e3(0x19d)](uuidv4)),await this['sendTestRunEvent'](_0x4fa792,undefined,![],_0x731710[_0x3025e3(0x291)]);}}}catch(_0x362713){_0x731710[_0x3025e3(0x211)](debug,_0x3025e3(0x289)+_0x362713);}await requestQueueHandler[_0x3025e3(0x25c)](),_0x731710[_0x3025e3(0x240)](this[_0x3025e3(0x236)],_0x731710[_0x3025e3(0x201)])&&Base[_0x3025e3(0x22e)](this['docHtml']);});if(this[_0xe9d6b0(0x236)]&&![_0x731710['MgZWw'],_0x731710[_0xe9d6b0(0x217)],_0x731710[_0xe9d6b0(0x1d6)],_0x731710['SoUCk']][_0xe9d6b0(0x2a7)](this[_0xe9d6b0(0x236)])){const _0x40c503=this[_0xe9d6b0(0x236)][_0xe9d6b0(0x1df)]();this[_0xe9d6b0(0x195)]=null;try{this[_0xe9d6b0(0x195)]=_0x731710[_0xe9d6b0(0x190)](requireModule,_0xe9d6b0(0x2cc)+_0x40c503+'.js',_0x731710['KQpJv']);}catch(_0x1fbd3a){_0x731710['LVBtC'](debug,'Exception\x20in\x20browserstack\x20custome\x20reporter\x20with\x20error:\x20'+_0x1fbd3a);}if(_0x731710['xpSkL'](this[_0xe9d6b0(0x195)],null))try{this[_0xe9d6b0(0x195)]=_0x731710[_0xe9d6b0(0x219)](require,_0x40c503);}catch(_0x1196d6){console[_0xe9d6b0(0x2ae)](_0xe9d6b0(0x1b0)+_0x40c503);}if(_0x731710['YoorW'](this['Reporter'],null)){const _0x1f966a={};_0x1f966a[_0xe9d6b0(0x27a)]=_0x3055ac[_0xe9d6b0(0x1bb)],this['Reporter']=new this[(_0xe9d6b0(0x195))](_0x588a49,_0x1f966a);}}}[a31_0x4fef6c(0x2a4)](){const _0x3477bc=a31_0x4fef6c,_0x3a3cfe={'UxoyM':function(_0x55a935,_0x14f608){return _0x55a935(_0x14f608);}};return _0x3a3cfe[_0x3477bc(0x2c2)](Array,this[_0x3477bc(0x264)])[_0x3477bc(0x209)]('\x20\x20');}[a31_0x4fef6c(0x1d2)](){const _0x26207f=a31_0x4fef6c;this[_0x26207f(0x264)]++;}[a31_0x4fef6c(0x221)](){const _0x1f7935=a31_0x4fef6c;this[_0x1f7935(0x264)]--;}[a31_0x4fef6c(0x222)](_0x1674d3){const _0xcce00d=a31_0x4fef6c;this[_0xcce00d(0x296)]+=_0x1674d3;}[a31_0x4fef6c(0x241)](_0x476b44,_0x9d18c){const _0x4c9678=a31_0x4fef6c,_0x2798e0={'gKwoE':function(_0x522e04,_0xa7ee85){return _0x522e04(_0xa7ee85);}},_0x4ea1e7={};_0x4ea1e7[_0x4c9678(0x194)]=_0x476b44,_0x4ea1e7[_0x4c9678(0x1d0)]=this[_0x4c9678(0x21b)],_0x2798e0[_0x4c9678(0x28e)](_0x9d18c,_0x4ea1e7);}[a31_0x4fef6c(0x230)](){const _0x46abfa=a31_0x4fef6c;process['removeAllListeners'](_0x46abfa(0x247)+process['pid']),process['on'](_0x46abfa(0x247)+process[_0x46abfa(0x28b)],this[_0x46abfa(0x218)][_0x46abfa(0x269)](this)),process[_0x46abfa(0x250)](_0x46abfa(0x27e)+process['pid']),process['on'](_0x46abfa(0x27e)+process[_0x46abfa(0x28b)],this[_0x46abfa(0x272)][_0x46abfa(0x269)](this));}['testStarted']=async _0x19c6c3=>{const _0x2d7ad9=a31_0x4fef6c,_0xfa728a={'asNQQ':function(_0x1f8a7c){return _0x1f8a7c();},'DGDaO':_0x2d7ad9(0x242),'uslrc':function(_0x848af8,_0x843386){return _0x848af8>_0x843386;},'UYBhb':function(_0x5b1196,_0x3cc37d){return _0x5b1196===_0x3cc37d;},'PDYTo':_0x2d7ad9(0x239),'iKgje':function(_0x2cc908,_0x112513){return _0x2cc908(_0x112513);}};try{const _0x46f672=this[_0x2d7ad9(0x232)];this['current_test']=_0x19c6c3,_0x19c6c3[_0x2d7ad9(0x2a1)]=null,_0x19c6c3['testAnalyticsId']=_0xfa728a['asNQQ'](uuidv4),globals[_0x2d7ad9(0x1f5)](_0xfa728a[_0x2d7ad9(0x287)],_0x19c6c3['testAnalyticsId']),_0x19c6c3[_0x2d7ad9(0x200)]=new Date()[_0x2d7ad9(0x210)](),_0xfa728a[_0x2d7ad9(0x285)](_0x19c6c3[_0x2d7ad9(0x278)],0x0)&&_0x46f672&&_0xfa728a[_0x2d7ad9(0x27f)](_0x46f672[_0x2d7ad9(0x225)],_0x19c6c3[_0x2d7ad9(0x225)])?(_0x19c6c3['retryOf']=_0x46f672['testAnalyticsId'],await this[_0x2d7ad9(0x281)](_0x19c6c3,undefined,![],_0xfa728a['PDYTo']),_0x46f672['state']=STATE_FAILED,await this[_0x2d7ad9(0x281)](_0x46f672,undefined,!![])):await this[_0x2d7ad9(0x281)](_0x19c6c3,undefined,![],_0xfa728a[_0x2d7ad9(0x1c1)]);}catch(_0x486897){_0xfa728a[_0x2d7ad9(0x258)](debug,_0x2d7ad9(0x248)+_0x486897);}};['sendTestRunEvent']=async(_0x4252d6,_0x26c4d7=undefined,_0x41ac74=![],_0x4961f3=a31_0x4fef6c(0x1f4))=>{const _0x4cc4c9=a31_0x4fef6c,_0x27206f={'iQCgU':function(_0x5b6e1f,_0x280e7e){return _0x5b6e1f===_0x280e7e;},'TzseP':function(_0x59c014,_0x18e1ae){return _0x59c014!==_0x18e1ae;},'ZnKLe':_0x4cc4c9(0x23e),'pBGLI':'err','UAPxo':function(_0x118642,_0x4d059f){return _0x118642!==_0x4d059f;},'tEovL':'File\x20path\x20could\x20not\x20be\x20found','kEgIw':_0x4cc4c9(0x19c),'tlqUD':_0x4cc4c9(0x28a),'TEyGj':_0x4cc4c9(0x212),'KitSR':_0x4cc4c9(0x2af),'GAbre':function(_0x590e6b,_0x3ffd08){return _0x590e6b-_0x3ffd08;},'XNDHb':_0x4cc4c9(0x1ba),'lkLib':_0x4cc4c9(0x2c9),'JFXLw':_0x4cc4c9(0x1f4),'vVyMD':_0x4cc4c9(0x239),'ZsLVl':function(_0x26734f){return _0x26734f();},'HIUOB':function(_0x352f91,_0x5945ac){return _0x352f91===_0x5945ac;},'QreDF':_0x4cc4c9(0x200),'FSvxF':_0x4cc4c9(0x286),'qlLZw':function(_0x1effd6,_0x50e9d7){return _0x1effd6(_0x50e9d7);},'bAbpp':function(_0x5a4bf9,_0x4fcaf7){return _0x5a4bf9===_0x4fcaf7;},'TlPYs':_0x4cc4c9(0x2ba),'ezgIt':function(_0x59c850,_0x37a495){return _0x59c850!==_0x37a495;},'miUoJ':_0x4cc4c9(0x21e),'hVszl':'passed','olWpR':'before\x20each','mCwii':function(_0x21c7ac,_0x1e0699){return _0x21c7ac===_0x1e0699;},'nTXUr':'failure','iTetv':_0x4cc4c9(0x1b1),'gQiNP':_0x4cc4c9(0x19b),'yXSNS':_0x4cc4c9(0x2a3),'wINJA':_0x4cc4c9(0x29b),'YgqGb':_0x4cc4c9(0x1e9),'pOOzn':_0x4cc4c9(0x21a),'otyaa':_0x4cc4c9(0x22c),'DERSO':function(_0x330a07,_0x34c74c){return _0x330a07(_0x34c74c);}};try{if(_0x4252d6['body']&&_0x4252d6[_0x4cc4c9(0x227)]['match'](/browserstack internal helper hook/))return;let _0x3b419a=[];if(_0x27206f['iQCgU'](_0x4252d6[_0x4cc4c9(0x1d9)],STATE_FAILED)){if(_0x27206f[_0x4cc4c9(0x20c)](_0x4252d6[_0x4cc4c9(0x1da)],undefined))_0x3b419a=_0x4252d6[_0x4cc4c9(0x1da)][_0x4cc4c9(0x1a0)]?[_0x4252d6['err'][_0x4cc4c9(0x1a0)],_0x27206f[_0x4cc4c9(0x1c9)]]:[_0x4252d6[_0x4cc4c9(0x1da)],_0x27206f[_0x4cc4c9(0x2c6)]];else _0x27206f['UAPxo'](_0x26c4d7,undefined)?_0x3b419a=[_0x26c4d7,_0x27206f[_0x4cc4c9(0x2c6)]]:_0x3b419a=[];}const _0x3e64ea=_0x27206f['TzseP'](_0x4252d6[_0x4cc4c9(0x1da)],undefined)?_0x4252d6[_0x4cc4c9(0x1da)][_0x4cc4c9(0x28c)]():_0x27206f['UAPxo'](_0x26c4d7,undefined)?_0x26c4d7[_0x4cc4c9(0x28c)]():undefined;let _0x308669;try{_0x308669=this[_0x4cc4c9(0x18f)](_0x4252d6);}catch(_0x7d366e){_0x308669=null;}const _0x3f6e15=_0x308669?this[_0x4cc4c9(0x1c3)](_0x308669):null,_0x3052c2=_0x308669?this['_paths'][_0x4cc4c9(0x2c3)](this[_0x4cc4c9(0x18f)](_0x4252d6)):_0x27206f[_0x4cc4c9(0x2c5)],_0x312402={'framework':_0x27206f[_0x4cc4c9(0x1b4)],'uuid':_0x4252d6['testAnalyticsId']||_0x4252d6[_0x4cc4c9(0x2ad)],'name':_0x4252d6[_0x4cc4c9(0x225)],'body':{'lang':_0x27206f[_0x4cc4c9(0x228)],'code':_0x4252d6[_0x4cc4c9(0x227)]},'scope':this[_0x4cc4c9(0x196)](_0x4252d6),'scopes':this[_0x4cc4c9(0x1d1)](_0x4252d6),'identifier':_0x4252d6[_0x4cc4c9(0x271)](),'file_name':_0x3052c2,'vc_filepath':_0x3f6e15?path['relative'](_0x3f6e15,_0x308669):null,'location':_0x3052c2,'result':_0x27206f['iQCgU'](_0x4961f3,_0x27206f[_0x4cc4c9(0x23d)])?_0x27206f[_0x4cc4c9(0x263)]:this['analyticsResult'](_0x4252d6[_0x4cc4c9(0x1d9)]),'failure_reason':_0x3e64ea,'duration_in_ms':_0x4252d6[_0x4cc4c9(0x19e)]||(_0x4961f3[_0x4cc4c9(0x1cd)](/Finished/)||_0x4961f3['match'](/Skipped/)?_0x27206f[_0x4cc4c9(0x1ef)](Date[_0x4cc4c9(0x26a)](),new Date(_0x4252d6[_0x4cc4c9(0x200)])['getTime']()):null),'started_at':_0x4252d6['started_at'],'finished_at':_0x4961f3[_0x4cc4c9(0x1cd)](/Finished/)||_0x4961f3[_0x4cc4c9(0x1cd)](/Skipped/)?new Date()[_0x4cc4c9(0x210)]():null,'failure':failureData[_0x4cc4c9(0x25e)](null,_0x3b419a),'failure_type':!_0x3e64ea?null:_0x3e64ea[_0x4cc4c9(0x1cd)](/AssertionError/)?_0x27206f[_0x4cc4c9(0x1b8)]:_0x27206f[_0x4cc4c9(0x288)],'retry_of':_0x4252d6[_0x4cc4c9(0x2a1)]};if([_0x27206f[_0x4cc4c9(0x23d)],_0x27206f[_0x4cc4c9(0x1cb)],_0x27206f[_0x4cc4c9(0x2d0)]][_0x4cc4c9(0x2a7)](_0x4961f3)){if(_0x27206f[_0x4cc4c9(0x229)](getCentralUser)[_0x4cc4c9(0x29f)]){const _0x3fb8a0=TestMetadata[_0x4cc4c9(0x1b5)](_0x4252d6[_0x4cc4c9(0x261)]);if(_0x3fb8a0){const _0x3d881d={};_0x3d881d['lcnc']=_0x3fb8a0,Object['assign'](_0x312402,_0x3d881d);}}}testhubUtils['appendTesthubParams'](_0x312402,_0x4961f3,_0x4252d6,FRAMEWORKS['MOCHA']);(_0x4252d6[_0x4cc4c9(0x20d)]||_0x4252d6[_0x4cc4c9(0x249)])&¢ralScannerUtils[_0x4cc4c9(0x259)](_0x312402,_0x4252d6['responseCode'],_0x4252d6[_0x4cc4c9(0x249)]);_0x27206f[_0x4cc4c9(0x1f6)](_0x4961f3,_0x27206f[_0x4cc4c9(0x23d)])&&!_0x312402[_0x27206f[_0x4cc4c9(0x1d5)]]&&(_0x312402[_0x27206f[_0x4cc4c9(0x1d5)]]=_0x312402[_0x27206f[_0x4cc4c9(0x1c8)]]);if(_0x4961f3[_0x4cc4c9(0x1cd)](/HookRun/))[_0x312402[_0x4cc4c9(0x1e9)],_0x312402[_0x4cc4c9(0x21f)]]=_0x27206f['qlLZw'](getHookDetails,_0x4252d6[_0x4cc4c9(0x271)]()||_0x4252d6[_0x4cc4c9(0x2b3)]||_0x4252d6[_0x4cc4c9(0x225)]),_0x27206f[_0x4cc4c9(0x294)](_0x4961f3,_0x27206f['TlPYs'])&&(_0x27206f[_0x4cc4c9(0x197)](_0x312402[_0x4cc4c9(0x2cd)],_0x27206f[_0x4cc4c9(0x1c6)])&&(_0x312402[_0x4cc4c9(0x2cd)]=_0x27206f[_0x4cc4c9(0x1eb)]),_0x27206f['HIUOB'](_0x312402[_0x4cc4c9(0x1e9)],_0x27206f[_0x4cc4c9(0x2bc)])&&_0x27206f[_0x4cc4c9(0x1a1)](_0x312402[_0x4cc4c9(0x2cd)],_0x27206f['miUoJ'])&&!_0x4252d6[_0x4cc4c9(0x1c7)][_0x4cc4c9(0x203)]['markedStatus']&&(_0x4252d6[_0x4cc4c9(0x1c7)][_0x4cc4c9(0x203)][_0x4cc4c9(0x1de)]=!![],_0x4252d6[_0x4cc4c9(0x1c7)][_0x4cc4c9(0x203)][_0x4cc4c9(0x1d9)]=STATE_FAILED,await this[_0x4cc4c9(0x281)](_0x4252d6['ctx'][_0x4cc4c9(0x203)],undefined,!![])));else _0x4961f3[_0x4cc4c9(0x1cd)](/TestRun/)&&_0x27206f[_0x4cc4c9(0x25f)](mapTestHooks,_0x4252d6);const _0x4fe752=_0x312402[_0x27206f['nTXUr']][0x0];_0x4fe752&&(_0x312402[_0x27206f[_0x4cc4c9(0x1e6)]]=_0x4fe752[_0x27206f['gQiNP']],_0x312402[_0x27206f[_0x4cc4c9(0x2a5)]]=_0x4fe752[_0x27206f[_0x4cc4c9(0x27b)]]);[_0x27206f[_0x4cc4c9(0x1cb)],_0x27206f[_0x4cc4c9(0x23d)]][_0x4cc4c9(0x2a7)](_0x4961f3)&&(this[_0x4cc4c9(0x216)][_0x4cc4c9(0x1af)](_0x312402),_0x312402[_0x4cc4c9(0x1b2)]=_0x27206f[_0x4cc4c9(0x25f)](getHooksForTest,_0x4252d6));const _0x59a594={'event_type':_0x27206f[_0x4cc4c9(0x2c4)](_0x4961f3,_0x27206f[_0x4cc4c9(0x23d)])?_0x27206f[_0x4cc4c9(0x1cb)]:_0x4961f3};_0x4961f3['match'](/HookRun/)?(_0x312402[_0x27206f['YgqGb']]=HOOK_TYPES_MAP[_0x312402[_0x27206f[_0x4cc4c9(0x204)]]],_0x59a594[_0x27206f[_0x4cc4c9(0x277)]]=_0x312402):_0x59a594[_0x27206f[_0x4cc4c9(0x1dd)]]=_0x312402,testhubUtils[_0x4cc4c9(0x238)](FRAMEWORKS[_0x4cc4c9(0x26c)],_0x59a594),await SessionHandler[_0x4cc4c9(0x1e5)](_0x59a594);}catch(_0x28f3fb){_0x27206f['DERSO'](debug,_0x4cc4c9(0x1c2)+_0x4961f3+_0x4cc4c9(0x21c)+_0x28f3fb);}};[a31_0x4fef6c(0x1c3)](_0x3f1115){const _0xb6deb4=a31_0x4fef6c,_0x4f8c17={};_0x4f8c17[_0xb6deb4(0x1c4)]=function(_0x130cbd,_0x5bb360){return _0x130cbd===_0x5bb360;},_0x4f8c17['NCoUL']=function(_0x28193d,_0x3aa6a9){return _0x28193d===_0x3aa6a9;},_0x4f8c17['mkqRw']=function(_0x52e2ba,_0x2cc54a){return _0x52e2ba===_0x2cc54a;},_0x4f8c17[_0xb6deb4(0x276)]=function(_0x5734a5,_0x113c8f){return _0x5734a5===_0x113c8f;},_0x4f8c17[_0xb6deb4(0x2cf)]=_0xb6deb4(0x2c0),_0x4f8c17[_0xb6deb4(0x1c0)]=_0xb6deb4(0x1d8);const _0x5d4d59=_0x4f8c17,_0x1cf6e4=path[_0xb6deb4(0x1a8)];if(_0x5d4d59[_0xb6deb4(0x1c4)](_0x3f1115,null)||_0x5d4d59['NCoUL'](_0x3f1115,'')||_0x5d4d59[_0xb6deb4(0x297)](_0x3f1115,_0x1cf6e4)||_0x5d4d59[_0xb6deb4(0x276)](_0x3f1115,path[_0xb6deb4(0x1be)](_0x3f1115)))return null;try{return fs[_0xb6deb4(0x273)](path['join'](_0x3f1115,_0x5d4d59[_0xb6deb4(0x2cf)],_0x5d4d59[_0xb6deb4(0x1c0)])),_0x3f1115;}catch(_0x390535){const _0x41f16d=path['dirname'](_0x3f1115);return this[_0xb6deb4(0x1c3)](_0x41f16d);}}[a31_0x4fef6c(0x218)]=async _0x50ad91=>{const _0x302a14=a31_0x4fef6c,_0xb51d05={'gGzCW':_0x302a14(0x1ea),'nWdyT':function(_0x5ea6a1,_0x4c5190){return _0x5ea6a1(_0x4c5190);}};try{this['current_hook']&&!this[_0x302a14(0x24b)]['markedStatus']&&(_0x50ad91[_0x302a14(0x2b6)]=this[_0x302a14(0x24b)][_0x302a14(0x2ad)]);!_0x50ad91[_0x302a14(0x2b6)]&&this['current_test']&&!this[_0x302a14(0x232)][_0x302a14(0x1de)]&&(_0x50ad91[_0x302a14(0x2b4)]=this[_0x302a14(0x232)]['testAnalyticsId']);if(_0x50ad91[_0x302a14(0x2b6)]||_0x50ad91[_0x302a14(0x2b4)]){const _0x4cd953={};_0x4cd953[_0x302a14(0x2b7)]=_0xb51d05[_0x302a14(0x28d)],_0x4cd953[_0x302a14(0x1db)]=[_0x50ad91],await SessionHandler[_0x302a14(0x1e5)](_0x4cd953);}}catch(_0x533615){_0xb51d05[_0x302a14(0x1ab)](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20'+constants[_0x302a14(0x1e2)]+_0x302a14(0x21c)+_0x533615);}};[a31_0x4fef6c(0x272)]=async _0x48c1f3=>{const _0x51480d=a31_0x4fef6c,_0x3074a0={'DzFpt':_0x51480d(0x27c),'VZhTo':_0x51480d(0x23c),'WAXgX':function(_0x239acf,_0x3e21d7){return _0x239acf(_0x3e21d7);}};try{const _0x1ff370={};_0x1ff370[_0x51480d(0x1b9)]=_0x48c1f3[_0x51480d(0x1b9)]||this[_0x51480d(0x232)][_0x51480d(0x261)],_0x1ff370[_0x51480d(0x279)]=_0x48c1f3[_0x3074a0['DzFpt']];const _0x2f0dfe=_0x1ff370,_0x560600={};_0x560600['event_type']=_0x3074a0[_0x51480d(0x22f)],_0x560600[_0x51480d(0x22c)]=_0x2f0dfe,await SessionHandler['uploadEventData'](_0x560600);}catch(_0x11c202){_0x3074a0[_0x51480d(0x280)](debug,_0x51480d(0x29e)+constants[_0x51480d(0x1e2)]+'\x20with\x20error\x20:\x20'+_0x11c202);}};[a31_0x4fef6c(0x198)](_0x32b75c){const _0x366116=a31_0x4fef6c,_0x46dc55={};_0x46dc55[_0x366116(0x1ce)]=_0x366116(0x2c7),_0x46dc55['LKDBH']=_0x366116(0x24f),_0x46dc55[_0x366116(0x2aa)]='failed';const _0x53e3f4=_0x46dc55,_0x5d2f6b={};return _0x5d2f6b[STATE_PASSED]=_0x53e3f4['aqGCB'],_0x5d2f6b[STATE_PENDING]=_0x53e3f4[_0x366116(0x1e8)],_0x5d2f6b[STATE_FAILED]=_0x53e3f4[_0x366116(0x2aa)],_0x5d2f6b[_0x32b75c];}[a31_0x4fef6c(0x196)](_0x1e374d){const _0x22fdea=a31_0x4fef6c,_0x3b2d0c={};_0x3b2d0c[_0x22fdea(0x284)]=function(_0x141c27,_0x4625a8){return _0x141c27-_0x4625a8;};const _0x1b0b1a=_0x3b2d0c,_0x419938=_0x1e374d[_0x22fdea(0x1a2)]();return _0x419938[_0x22fdea(0x1f7)](0x0,_0x1b0b1a[_0x22fdea(0x284)](_0x419938[_0x22fdea(0x1ac)],0x1))[_0x22fdea(0x209)]('\x20');}[a31_0x4fef6c(0x1d1)](_0x346238){const _0x635ca9=a31_0x4fef6c,_0x442ec2={};_0x442ec2[_0x635ca9(0x29a)]=function(_0x150864,_0x24e4f4){return _0x150864-_0x24e4f4;};const _0x24ab59=_0x442ec2,_0x13ecb8=_0x346238['titlePath']();return _0x13ecb8['slice'](0x0,_0x24ab59['ZwzEI'](_0x13ecb8[_0x635ca9(0x1ac)],0x1));}[a31_0x4fef6c(0x18f)](_0x3537a9){const _0x30408d=a31_0x4fef6c,_0x125bed={};_0x125bed[_0x30408d(0x1b6)]=function(_0x1352fb,_0x4d590e){return _0x1352fb>_0x4d590e;};const _0xffcc93=_0x125bed;if(_0x3537a9[_0x30408d(0x2ac)])return _0x3537a9[_0x30408d(0x2ac)];if(_0x3537a9[_0x30408d(0x1c7)]){const _0x35ccd2=_0x3537a9[_0x30408d(0x1c7)][_0x30408d(0x203)]?this[_0x30408d(0x18f)](_0x3537a9[_0x30408d(0x1c7)][_0x30408d(0x203)]):null;if(_0x35ccd2)return _0x35ccd2;}if(_0x3537a9[_0x30408d(0x1a7)]){const _0x366824=this[_0x30408d(0x18f)](_0x3537a9['parent'])||(_0x3537a9['parent']['ctx']&&_0x3537a9['parent'][_0x30408d(0x1c7)][_0x30408d(0x203)]?this['getRootParentFile'](_0x3537a9['parent'][_0x30408d(0x1c7)][_0x30408d(0x203)]):null);if(_0x366824)return _0x366824;_0x3537a9[_0x30408d(0x1a7)]['suites']&&_0xffcc93[_0x30408d(0x1b6)](_0x3537a9[_0x30408d(0x1a7)][_0x30408d(0x1f3)][_0x30408d(0x1ac)],0x0)&&_0x3537a9['parent'][_0x30408d(0x1f3)][_0x30408d(0x245)](_0x287c4f=>{const _0x422e8c=_0x30408d,_0x3ef564=_0x287c4f[_0x422e8c(0x1c7)]?this[_0x422e8c(0x18f)](_0x287c4f[_0x422e8c(0x1c7)]):null;if(_0x3ef564)return _0x3ef564;});}return null;}}function a31_0x33c3(_0x262d6d,_0x46647f){const _0x4ae9a0=a31_0x4ae9();return a31_0x33c3=function(_0x33c320,_0x304041){_0x33c320=_0x33c320-0x18f;let _0x23972a=_0x4ae9a0[_0x33c320];return _0x23972a;},a31_0x33c3(_0x262d6d,_0x46647f);}module[a31_0x4fef6c(0x20f)]=MyReporter;function a31_0x4ae9(){const _0x528409=['skipped','SoUCk','../../../helpers/testhub/constants','1UszKUb','originalTitle','test_run_uuid','qGtII','hook_run_uuid','event_type','suite','AoHjP','HookRunFinished','yZEBG','olWpR','../../../helpers/test-observability/utils','PVtuo','1010607SYhMbH','.git','EVENT','UxoyM','prefixTestPath','iQCgU','tEovL','pBGLI','passed','\x20\x20<dt\x20class=\x22error\x22>','UnhandledError','<h1>','runner','mocha/lib/reporters/','result','util','yvaOR','vVyMD','NEPLL','getRootParentFile','DVBFw','../../utils/constants','UrCho','symbols','failureCount','Reporter','scope','ezgIt','analyticsResult','BEFORE_EACH','suiteCount','backtrace','Mocha','iqAnj','duration','sCXpz','multiple','mCwii','titlePath','\x20\x20<dd><pre><code>','mocha/lib/runnable.js','teTdO','light','parent','sep','\x20(%dms)','xLHUb','nWdyT','length','</section>','cwd','push','Failed\x20to\x20load\x20reporter\x20','failure_backtrace','hooks','fail','kEgIw','get','BAsIR','color','XNDHb','uuid','AssertionError','reporterOption','GjkTG','xunit','dirname','HookFinished','EMvTs','PDYTo','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','findGitConfig','zSMKX','bang','miUoJ','ctx','FSvxF','ZnKLe','\x20%s','JFXLw','failCount','match','aqGCB','qbusg','results','scopes','increaseIndent','slow','IgdZe','QreDF','OXQfO','JyvYV','config','state','err','logs','eJXHK','otyaa','markedStatus','trim','currentRetry','2791827Wvxmil','TEST_REPORTING_ANALYTICS','nNxiK','constants','uploadEventData','iTetv','ABzje','LKDBH','hook_type','LogCreated','hVszl','meGRd','root','mocha/lib/utils.js','GAbre','split','ExpxP','%s\x20','suites','TestRunFinished','setGlobal','HIUOB','slice','before\x20all','../../../helpers/metadata','2737482CBUnCZ','../../../helpers/logger','doc','mocha','cPwmW','lHGIk','started_at','MgZWw','path','currentTest','YgqGb','gpaJQ','36QrfvVi','3|4|2|0|1','dlGqo','join','dot','uphld','TzseP','responseCode','../../../helpers/test-observability/constants','exports','toISOString','LVBtC','TestRunSkipped','escape','%s\x20-\x20%s','call','_testResults','VSxvT','appendTestItemLog','hYLqw','hook_run','finalResults','\x20with\x20error\x20:\x20','10FhHsKX','failed','name','COMPLETED','decreaseIndent','docAppend','DPrGG','TQxuL','title','QWWlf','body','tlqUD','ZsLVl','</dt>','pass','test_run','../../../helpers/globals','consoleLog','VZhTo','registerListeners','lHuNX','current_test','\x20\x20<dd\x20class=\x22error\x22><pre><code>','352888MZAZNy','<dl>','type','oBCLK','setCurrentTestData','TestRunStarted','</h1>','CklMH','CBTSessionCreated','TEyGj','test','hOytO','CCRXr','done','testRunUUID','_paths','tgOrI','forEach','</dl>','bs:addLog:','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','redirectUrl','<section\x20class=\x22suite\x22>','current_hook','184708piwXXq','__indents','BVvpv','pending','removeAllListeners','__platform__','after\x20all','speed','yuzWm','BpYOt','LodIZ','9snOnyd','iKgje','setCentralScannerData','fMELE','RUNNING','shutdown','fast','apply','qlLZw','\x20\x20<dt>','testAnalyticsId','_testEnv','KitSR','_indents','../../../helpers/test-observability/requestQueueHandler','49PBHTCr','winstonLogger','132QvoFFY','bind','now','AFTER_ALL','MOCHA','once','mocha/lib/reporters/base.js','aUAyb','../../../helpers/central-scanner/helpers','fullTitle','appendTestPlatform','statSync','\x20\x20%d)\x20%s','comma','zzNVq','pOOzn','_currentRetry','integrations','reporterOptions','wINJA','http_response','369794wcJDOe','bs:addPlatformDetails:','UYBhb','WAXgX','sendTestRunEvent','../../../helpers/helper','stdout','mLfyU','uslrc','finished_at','DGDaO','lkLib','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','javascript','pid','toString','gGzCW','gKwoE','../../../helpers/test-observability/sessionHandler','ezFrj','uxMzC','shouldProcessEventForTesthub','bwiXW','bAbpp','inspect','docHtml','mkqRw','isPending','bsConfig','ZwzEI','expanded','clean','52630tXUdix','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','lcnc','pRjKi','retryOf','../test-observability/mochaUtils','failure_reason_expanded','indent','yXSNS','_upstreamConfig','includes','write','FvfOg','Gilms','_buildCreated','file','hookAnalyticsId','error'];a31_0x4ae9=function(){return _0x528409;};return a31_0x4ae9();}
|
package/src/bin/mocha/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a32_0x2c1cb0=a32_0x2009;(function(_0x6ef783,_0x7a43a1){const _0x3e7cce=a32_0x2009,_0x25091f=_0x6ef783();while(!![]){try{const _0x38695e=parseInt(_0x3e7cce(0x16e))/0x1+-parseInt(_0x3e7cce(0x1d7))/0x2+-parseInt(_0x3e7cce(0x101))/0x3+-parseInt(_0x3e7cce(0x132))/0x4*(-parseInt(_0x3e7cce(0x187))/0x5)+parseInt(_0x3e7cce(0xf7))/0x6+parseInt(_0x3e7cce(0x1be))/0x7*(-parseInt(_0x3e7cce(0x196))/0x8)+parseInt(_0x3e7cce(0x160))/0x9*(parseInt(_0x3e7cce(0x19a))/0xa);if(_0x38695e===_0x7a43a1)break;else _0x25091f['push'](_0x25091f['shift']());}catch(_0x52cc14){_0x25091f['push'](_0x25091f['shift']());}}}(a32_0x4dd0,0xe7b6f));function a32_0x2009(_0x474f73,_0x2de3ae){const _0x4dd00d=a32_0x4dd0();return a32_0x2009=function(_0x2009f0,_0x3b3614){_0x2009f0=_0x2009f0-0xdb;let _0x347076=_0x4dd00d[_0x2009f0];return _0x347076;},a32_0x2009(_0x474f73,_0x2de3ae);}const chalk=require(a32_0x2c1cb0(0x14d)),logger=require(a32_0x2c1cb0(0x13e))['winstonLogger'],helper=require(a32_0x2c1cb0(0x16f)),utilities=require(a32_0x2c1cb0(0x110)),testOpsHelper=require(a32_0x2c1cb0(0x1de)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a32_0x2c1cb0(0xec)),{requireModule,nestedKeyValue}=require(a32_0x2c1cb0(0x16f)),{getPercyOptions}=require(a32_0x2c1cb0(0x13b)),Base=requireModule(a32_0x2c1cb0(0x1c9),a32_0x2c1cb0(0x1aa)),collectFiles=requireModule(a32_0x2c1cb0(0x1cc),a32_0x2c1cb0(0x1aa)),constants=require('../utils/constants'),PerformanceTester=require(a32_0x2c1cb0(0x19b)),PerformanceEvents=require(a32_0x2c1cb0(0x124))[a32_0x2c1cb0(0x182)],centralScannerConstants=require(a32_0x2c1cb0(0x1e1)),{FRAMEWORKS}=require(a32_0x2c1cb0(0x17a)),TestHubHandler=require(a32_0x2c1cb0(0x174)),ClientTroubleShootingService=require(a32_0x2c1cb0(0x171));function tag(_0x1d9595,_0x279182,_0x2395af,_0x1c9e2e){const _0x526e3a=a32_0x2c1cb0,_0x2ae72f={'lTObf':function(_0x38e55f,_0x2a6e9f){return _0x38e55f+_0x2a6e9f;},'stPmO':function(_0x263746,_0x3fa05f){return _0x263746+_0x3fa05f;},'mvBom':function(_0x253395,_0x47f0a9){return _0x253395(_0x47f0a9);},'vDrMR':function(_0x148810,_0x522fb6){return _0x148810+_0x522fb6;},'qtwvw':function(_0x16310c,_0x115727){return _0x16310c+_0x115727;},'LrDUp':function(_0x577d0a,_0x345d60){return _0x577d0a+_0x345d60;},'mEwBU':function(_0x225e01,_0x25b74d){return _0x225e01+_0x25b74d;},'WjbKw':function(_0x4573a2,_0x4562f4){return _0x4573a2+_0x4562f4;},'pdlGz':function(_0x29c133,_0x407b8f){return _0x29c133+_0x407b8f;}},_0x38636a=_0x2395af?'/>':'>',_0x5e8e98=[];let _0x4b5ab7;for(const _0x14b531 in _0x279182){Object[_0x526e3a(0x19e)][_0x526e3a(0x180)][_0x526e3a(0x15d)](_0x279182,_0x14b531)&&_0x5e8e98['push'](_0x2ae72f[_0x526e3a(0x1a9)](_0x2ae72f['lTObf'](_0x2ae72f['stPmO'](_0x14b531,'=\x22'),_0x2ae72f[_0x526e3a(0x1c4)](escape,_0x279182[_0x14b531])),'\x22'));}return _0x4b5ab7=_0x2ae72f['vDrMR'](_0x2ae72f[_0x526e3a(0x185)](_0x2ae72f[_0x526e3a(0x1a9)]('<',_0x1d9595),_0x5e8e98[_0x526e3a(0x1a1)]?_0x2ae72f['LrDUp']('\x20',_0x5e8e98[_0x526e3a(0x158)]('\x20')):''),_0x38636a),_0x1c9e2e&&(_0x4b5ab7+=_0x2ae72f[_0x526e3a(0x142)](_0x2ae72f[_0x526e3a(0x11f)](_0x2ae72f[_0x526e3a(0x1e0)](_0x1c9e2e,'</'),_0x1d9595),_0x38636a)),_0x4b5ab7;}let xunitContent='';function xunitWrite(_0x4167c6){xunitContent+=_0x4167c6;}function xunitTest(_0x21a056,_0x272776){const _0x50ee0f=a32_0x2c1cb0,_0x1b7ec7={'GIKwT':function(_0x340be9,_0x53d97e){return _0x340be9/_0x53d97e;},'vULQe':function(_0x20b53b,_0x5723a5){return _0x20b53b===_0x5723a5;},'PBCqq':_0x50ee0f(0x105),'hSucd':function(_0x10ec54,_0x137f13){return _0x10ec54+_0x137f13;},'OOBgL':function(_0x6c562f,_0x166b78){return _0x6c562f(_0x166b78);},'enrCO':function(_0x3a5222,_0x29669c,_0x2fc5a3,_0x15d200,_0x4de011){return _0x3a5222(_0x29669c,_0x2fc5a3,_0x15d200,_0x4de011);},'UuCFM':_0x50ee0f(0x1af),'vBqQr':_0x50ee0f(0x121),'xnuya':function(_0x1aeb88,_0x2b1e67){return _0x1aeb88+_0x2b1e67;},'Exinj':function(_0x2d0704,_0x1bc643){return _0x2d0704(_0x1bc643);},'JVgaw':function(_0x22db58,_0x4625c8,_0x2264a5,_0x2290e2){return _0x22db58(_0x4625c8,_0x2264a5,_0x2290e2);},'KochP':_0x50ee0f(0x181)};Base['useColors']=![];var _0x5154b3={'classname':_0x21a056[_0x50ee0f(0xf9)],'name':_0x21a056[_0x50ee0f(0x111)],'time':_0x1b7ec7[_0x50ee0f(0xe4)](_0x21a056[_0x50ee0f(0x12c)],0x3e8)||0x0,'platform':_0x272776};if(_0x1b7ec7['vULQe'](_0x21a056['state'],_0x1b7ec7[_0x50ee0f(0x178)])){var _0x23ea9e=_0x21a056[_0x50ee0f(0xdf)],_0x59895d=!Base[_0x50ee0f(0x12a)]&&Base[_0x50ee0f(0x14b)](_0x23ea9e)?_0x1b7ec7[_0x50ee0f(0x131)]('\x0a',Base[_0x50ee0f(0x18c)](_0x23ea9e[_0x50ee0f(0x11c)],_0x23ea9e[_0x50ee0f(0x1a0)])):'';_0x1b7ec7[_0x50ee0f(0x102)](xunitWrite,_0x1b7ec7[_0x50ee0f(0x166)](tag,_0x1b7ec7[_0x50ee0f(0x162)],_0x5154b3,![],_0x1b7ec7[_0x50ee0f(0x166)](tag,_0x1b7ec7[_0x50ee0f(0x1ad)],{},![],_0x1b7ec7['xnuya'](_0x1b7ec7['xnuya'](_0x1b7ec7[_0x50ee0f(0x131)](_0x1b7ec7[_0x50ee0f(0x102)](escape,_0x23ea9e[_0x50ee0f(0x1ce)]),_0x1b7ec7[_0x50ee0f(0x102)](escape,_0x59895d)),'\x0a'),_0x1b7ec7[_0x50ee0f(0x106)](escape,_0x23ea9e[_0x50ee0f(0x14f)])))));}else _0x21a056[_0x50ee0f(0x1a4)]?_0x1b7ec7[_0x50ee0f(0x106)](xunitWrite,_0x1b7ec7[_0x50ee0f(0x166)](tag,_0x1b7ec7[_0x50ee0f(0x162)],_0x5154b3,![],_0x1b7ec7[_0x50ee0f(0x1ac)](tag,_0x1b7ec7[_0x50ee0f(0x150)],{},!![]))):_0x1b7ec7[_0x50ee0f(0x102)](xunitWrite,_0x1b7ec7['JVgaw'](tag,_0x1b7ec7[_0x50ee0f(0x162)],_0x5154b3,!![]));};function getStats(_0x221ec0){const _0x17bdb7=a32_0x2c1cb0,_0x1941df={};_0x1941df[_0x17bdb7(0x1d4)]=_0x17bdb7(0x151),_0x1941df[_0x17bdb7(0xf2)]=_0x17bdb7(0x195),_0x1941df[_0x17bdb7(0x16d)]='failed',_0x1941df[_0x17bdb7(0x126)]=_0x17bdb7(0x146);const _0x57ae55=_0x1941df,_0x16ce5f=Object['keys'](_0x221ec0);let _0x4dc817=0x0,_0x5d5cab=0x0,_0x178358=0x0,_0x280283=0x0;const _0x32f6c8=new Set();_0x16ce5f['forEach'](_0x344641=>{const _0x20bdb5=_0x17bdb7,_0xd91c4a={};_0xd91c4a['qBwqM']=_0x57ae55['tgzTe'],_0xd91c4a[_0x20bdb5(0x128)]=_0x57ae55[_0x20bdb5(0xf2)],_0xd91c4a['olnAr']=_0x57ae55[_0x20bdb5(0x16d)];const _0xa9f0bc=_0xd91c4a;_0x221ec0[_0x344641][_0x57ae55[_0x20bdb5(0x126)]][_0x20bdb5(0xe0)](_0x2f25ba=>{const _0x57dced=_0x20bdb5;_0x32f6c8[_0x57dced(0x1e2)](_0x2f25ba[_0xa9f0bc['qBwqM']]),_0x4dc817++;switch(_0x2f25ba[_0x57dced(0x13f)]){case _0xa9f0bc['CdFLp']:_0x178358++;break;case _0xa9f0bc[_0x57dced(0x114)]:_0x5d5cab++;break;default:_0x280283++;}});});const _0x469ccd={};return _0x469ccd[_0x17bdb7(0x1a7)]=_0x32f6c8[_0x17bdb7(0x1d3)],_0x469ccd[_0x17bdb7(0x199)]=_0x16ce5f,_0x469ccd[_0x17bdb7(0x141)]=_0x4dc817,_0x469ccd[_0x17bdb7(0x1d2)]=_0x5d5cab,_0x469ccd['testsPassed']=_0x178358,_0x469ccd[_0x17bdb7(0x1c6)]=_0x280283,_0x469ccd;}function errorJSON(_0xc7540e){const _0x219896=a32_0x2c1cb0;var _0x1f858e={};return Object[_0x219896(0x1b7)](_0xc7540e)['forEach'](function(_0x469c0b){_0x1f858e[_0x469c0b]=_0xc7540e[_0x469c0b];},_0xc7540e),_0x1f858e;}function cleanCycles(_0x5e7e6e){const _0xcc4697=a32_0x2c1cb0,_0x1aef60={};_0x1aef60['WmFoJ']=function(_0xf24127,_0x125920){return _0xf24127===_0x125920;},_0x1aef60[_0xcc4697(0x119)]='object',_0x1aef60[_0xcc4697(0x1bd)]=function(_0x342a2b,_0x10fa7d){return _0x342a2b!==_0x10fa7d;},_0x1aef60[_0xcc4697(0x107)]=function(_0x217843,_0x2aa725){return _0x217843!==_0x2aa725;},_0x1aef60['vqvua']=function(_0x59cc90,_0x789634){return _0x59cc90+_0x789634;};const _0x287661=_0x1aef60;var _0xe1dd7b=[];return JSON[_0xcc4697(0x134)](JSON[_0xcc4697(0xf0)](_0x5e7e6e,function(_0x4b9f9a,_0x56e756){const _0x36eb3b=_0xcc4697;if(_0x287661[_0x36eb3b(0x1a5)](typeof _0x56e756,_0x287661[_0x36eb3b(0x119)])&&_0x287661['rAcUn'](_0x56e756,null)){if(_0x287661[_0x36eb3b(0x107)](_0xe1dd7b[_0x36eb3b(0xff)](_0x56e756),-0x1))return _0x287661[_0x36eb3b(0x19f)]('',_0x56e756);_0xe1dd7b[_0x36eb3b(0x1cb)](_0x56e756);}return _0x56e756;}));}function clean(_0xae2373){const _0x2a1d3b=a32_0x2c1cb0,_0x375421={'OiRJo':function(_0xeb33e8,_0x214945){return _0xeb33e8 instanceof _0x214945;},'sfkLQ':function(_0x37006b,_0x15c85e){return _0x37006b(_0x15c85e);}};var _0x1aeca7=_0xae2373[_0x2a1d3b(0xdf)]||{};return _0x375421[_0x2a1d3b(0xf4)](_0x1aeca7,Error)&&(_0x1aeca7=_0x375421['sfkLQ'](errorJSON,_0x1aeca7)),{'title':_0xae2373[_0x2a1d3b(0x111)],'fullTitle':_0xae2373[_0x2a1d3b(0xf9)],'file':_0xae2373['file'],'duration':_0xae2373[_0x2a1d3b(0x12c)],'currentRetry':_0xae2373[_0x2a1d3b(0xdb)],'speed':_0xae2373[_0x2a1d3b(0x1dc)],'err':_0x375421[_0x2a1d3b(0x1b0)](cleanCycles,_0x1aeca7)};}function printStats(_0x3e1635,_0x52f2cc='spec',_0x2a74b0={}){const _0x8d6d2=a32_0x2c1cb0,_0xb67b73={'btEgN':function(_0x22fdc3,_0x5c2e46){return _0x22fdc3(_0x5c2e46);},'sXpKQ':function(_0x233bd1,_0x48497d){return _0x233bd1===_0x48497d;},'BNoEu':_0x8d6d2(0x195),'jRrox':_0x8d6d2(0xfb),'lBAcB':function(_0x18d051,_0xf2b1a0){return _0x18d051(_0xf2b1a0);},'DPPfg':'failed','wOyyy':_0x8d6d2(0x147),'YTezy':_0x8d6d2(0x137),'IWuUM':function(_0x5dd64d,_0x2f8965){return _0x5dd64d(_0x2f8965);},'vgJxC':'results','QGRNq':function(_0x2c390d,_0x5b24ee){return _0x2c390d===_0x5b24ee;},'KTthI':function(_0x47491b,_0x196110){return _0x47491b===_0x196110;},'CMUsK':function(_0x250cf1,_0x17ec26){return _0x250cf1*_0x17ec26;},'amHpx':function(_0x53e83c,_0x3815d0,_0x31d1bf){return _0x53e83c(_0x3815d0,_0x31d1bf);},'ipeeD':function(_0x53762e,_0x118e64){return _0x53762e===_0x118e64;},'FszTd':function(_0x21320c,_0x4f5e67){return _0x21320c>_0x4f5e67;},'NBzTP':function(_0x5b5965){return _0x5b5965();},'IIgnJ':function(_0x49b9bf,_0x5cef7a){return _0x49b9bf===_0x5cef7a;},'HYlaT':'doc','bVieR':function(_0x3c18ac,_0x535fbc){return _0x3c18ac(_0x535fbc);},'GVEfl':function(_0x661df5,_0x3cf337){return _0x661df5>_0x3cf337;},'XfeeK':'Setting\x20non\x20exit\x20code\x20for\x20failures','cLCXs':'Printing\x20stats\x20of\x20tests','sEcmN':function(_0x3ab7c6,_0x147fb4){return _0x3ab7c6+_0x147fb4;},'wiwXN':_0x8d6d2(0x14e),'GOmsG':_0x8d6d2(0x1b4),'YJRgQ':_0x8d6d2(0x12e),'VNOeY':function(_0x54cead,_0x16a33c){return _0x54cead>_0x16a33c;},'lltaq':function(_0x5caef2,_0x2404f1){return _0x5caef2>_0x2404f1;},'BASUz':function(_0x1f8718,_0x1f4247){return _0x1f8718+_0x1f4247;},'tBZOx':function(_0x36d103,_0x10f586){return _0x36d103+_0x10f586;},'cDTlx':function(_0x1784b9,_0x298da1){return _0x1784b9+_0x298da1;},'cLqgp':function(_0x3b084e,_0x3fccb0){return _0x3b084e+_0x3fccb0;},'NWIVt':_0x8d6d2(0x1ca),'Deotq':_0x8d6d2(0x155),'RSkGg':_0x8d6d2(0x113),'sdaXf':_0x8d6d2(0xf5),'PWfIh':_0x8d6d2(0x1bb),'JqSYl':_0x8d6d2(0x1a8),'Wifnu':_0x8d6d2(0x161),'NuOyr':function(_0x670901,_0x1bd860){return _0x670901||_0x1bd860;},'wYeBq':function(_0x87ebf3,_0x11fef5){return _0x87ebf3(_0x11fef5);},'tZIlV':function(_0x5b197d,_0x430c32,_0x2d8d0c,_0x3a82b6){return _0x5b197d(_0x430c32,_0x2d8d0c,_0x3a82b6);},'DIKiJ':_0x8d6d2(0xea),'STHSD':function(_0x1264b4,_0x3d1df9){return _0x1264b4-_0x3d1df9;},'NRDOs':function(_0x276fe0,_0xcf6042){return _0x276fe0-_0xcf6042;},'axbvY':function(_0x386e3e,_0x20930f){return _0x386e3e/_0x20930f;},'fduQO':_0x8d6d2(0x152),'Rsznq':_0x8d6d2(0x1c2),'caWUd':_0x8d6d2(0xfd),'ryMWJ':_0x8d6d2(0x12d),'Butni':function(_0x138dad,_0xe79404){return _0x138dad===_0xe79404;},'tnOkG':_0x8d6d2(0x19d),'Zqnum':_0x8d6d2(0x15a)};if(_0xb67b73[_0x8d6d2(0x1cf)](_0x52f2cc,_0xb67b73[_0x8d6d2(0xf8)]))return;const _0x47d67c=0x0,_0xb7f48c=()=>{const _0xb92f35=_0x8d6d2;return _0xb67b73['btEgN'](Array,_0x47d67c)[_0xb92f35(0x158)]('\x20\x20');},{testSuites:_0x3fe27e,platforms:_0x2dc07d,totalTests:_0xbd537,testsFailed:_0x28361a,testsPassed:_0x22ce4e,testsPending:_0x296539}=_0xb67b73['bVieR'](getStats,_0x3e1635);_0xb67b73[_0x8d6d2(0x1b8)](_0x28361a,0x0)&&(logger[_0x8d6d2(0xe7)](_0xb67b73['XfeeK']),process[_0x8d6d2(0x135)]=Math['min'](_0x28361a,0xff));logger['debug'](_0xb67b73['cLCXs']);const _0x1769e5=''+_0xb67b73[_0x8d6d2(0x1b6)](chalk['bold'](_0xb67b73['wiwXN']),_0x2dc07d['length']),_0x465baa=''+_0xb67b73['sEcmN'](chalk[_0x8d6d2(0x1c0)](_0xb67b73[_0x8d6d2(0x139)]),_0x3fe27e),_0x40a820=''+_0xb67b73['sEcmN'](_0xb67b73[_0x8d6d2(0x1b6)](_0xb67b73[_0x8d6d2(0x1b6)](chalk[_0x8d6d2(0x1c0)](_0xb67b73[_0x8d6d2(0x116)]),_0xb67b73[_0x8d6d2(0x1b2)](_0x28361a,0x0)?chalk[_0x8d6d2(0x1c0)][_0x8d6d2(0xe2)](_0x28361a+'\x20failed')+',\x20':''),_0xb67b73[_0x8d6d2(0x18d)](_0x296539,0x0)?chalk[_0x8d6d2(0x1c0)][_0x8d6d2(0x1df)](_0x296539+_0x8d6d2(0x183))+',\x20':''),_0xb67b73[_0x8d6d2(0x1c1)](_0x22ce4e,0x0)?chalk[_0x8d6d2(0x1c0)][_0x8d6d2(0x1db)](_0x22ce4e+'\x20passed')+',\x20':'')+_0xbd537+_0x8d6d2(0x100);console[_0x8d6d2(0x157)](_0xb67b73[_0x8d6d2(0x186)](_0xb67b73[_0x8d6d2(0x191)](_0xb67b73[_0x8d6d2(0x120)](_0xb67b73[_0x8d6d2(0x112)](_0xb67b73[_0x8d6d2(0x120)](_0xb67b73[_0x8d6d2(0x129)],_0x1769e5),'\x0a'),_0x465baa),'\x0a'),_0x40a820));if(_0xb67b73[_0x8d6d2(0x1b1)](_0x52f2cc,_0xb67b73['Deotq'])){const _0x31b2ff={},_0x8f9131={};_0x8f9131['testSuites']=_0x3fe27e,_0x8f9131[_0x8d6d2(0x199)]=_0x2dc07d,_0x8f9131[_0x8d6d2(0x1d2)]=_0x28361a,_0x8f9131[_0x8d6d2(0x16b)]=_0x22ce4e,_0x8f9131[_0x8d6d2(0x1c6)]=_0x296539,_0x31b2ff[_0x8d6d2(0xf1)]=_0x8f9131,_0x2dc07d[_0x8d6d2(0xe0)](_0x2fcf76=>{const _0x314a30=_0x8d6d2;_0x31b2ff[_0x2fcf76]={'pending':[],'failures':[],'passes':[],'tests':_0x3e1635[_0x2fcf76][_0xb67b73[_0x314a30(0x1c7)]]['map'](clean)},_0x3e1635[_0x2fcf76][_0xb67b73[_0x314a30(0x1c7)]][_0x314a30(0xe0)](_0x5548b3=>{const _0x57647a=_0x314a30;if(_0xb67b73[_0x57647a(0x184)](_0x5548b3[_0x57647a(0x13f)],_0xb67b73[_0x57647a(0x18e)]))_0x31b2ff[_0x2fcf76][_0xb67b73['jRrox']][_0x57647a(0x1cb)](_0xb67b73[_0x57647a(0x190)](clean,_0x5548b3));else _0xb67b73[_0x57647a(0x184)](_0x5548b3['state'],_0xb67b73[_0x57647a(0xfe)])?_0x31b2ff[_0x2fcf76][_0xb67b73[_0x57647a(0x18a)]][_0x57647a(0x1cb)](_0xb67b73[_0x57647a(0x190)](clean,_0x5548b3)):_0x31b2ff[_0x2fcf76][_0xb67b73[_0x57647a(0x148)]]['push'](_0xb67b73[_0x57647a(0xe9)](clean,_0x5548b3));});});if(_0x2a74b0[_0x8d6d2(0x1d1)])try{logger['debug'](_0xb67b73[_0x8d6d2(0x13a)],_0x2a74b0[_0x8d6d2(0x1d1)]),fs[_0x8d6d2(0x108)](_0x2a74b0['output'],JSON['stringify'](_0x31b2ff,null,0x3));}catch(_0x49940a){logger[_0x8d6d2(0x10a)](_0xb67b73[_0x8d6d2(0x165)],_0x2a74b0[_0x8d6d2(0x1d1)]),logger[_0x8d6d2(0xe7)](_0x49940a);}else logger[_0x8d6d2(0xe7)](_0xb67b73[_0x8d6d2(0x1d6)]),console[_0x8d6d2(0x157)](JSON[_0x8d6d2(0xf0)](_0x31b2ff,null,0x3));}else{if(_0xb67b73[_0x8d6d2(0x136)](_0x52f2cc,_0xb67b73['JqSYl'])){let _0x203742;const _0x2a230f=_0xb67b73[_0x8d6d2(0xe6)];_0x2a74b0&&(_0x203742=_0x2a74b0['suiteName']);_0x203742=_0xb67b73[_0x8d6d2(0xfa)](_0x203742,_0x2a230f);let _0x35adb8=0x0,_0x450d6d=0x0,_0x4977ae=0x0,_0x2af134=0x0;_0x2dc07d[_0x8d6d2(0xe0)](_0x147ab0=>{const _0x48aaeb=_0x8d6d2;_0x3e1635[_0x147ab0][_0xb67b73[_0x48aaeb(0x1c7)]]['forEach'](_0x5c90c3=>{const _0x14b594=_0x48aaeb;if(_0xb67b73[_0x14b594(0x1b1)](_0x5c90c3['state'],_0xb67b73[_0x14b594(0x18e)]))_0x35adb8++;else _0xb67b73[_0x14b594(0x136)](_0x5c90c3['state'],_0xb67b73['DPPfg'])&&_0x450d6d++;_0x4977ae++,_0x2af134+=_0xb67b73[_0x14b594(0x16c)](_0x5c90c3['duration'],0x1);});}),_0xb67b73[_0x8d6d2(0x125)](xunitWrite,_0xb67b73['tZIlV'](tag,_0xb67b73[_0x8d6d2(0x19c)],{'name':_0x203742,'tests':_0x4977ae,'failures':0x0,'errors':_0x450d6d,'skipped':_0xb67b73['STHSD'](_0xb67b73['NRDOs'](_0x4977ae,_0x450d6d),_0x35adb8),'timestamp':new Date()['toUTCString'](),'time':_0xb67b73[_0x8d6d2(0x176)](_0x2af134,0x3e8)||0x0},![])),_0x2dc07d[_0x8d6d2(0xe0)](_0x4284cd=>{const _0x1fc6e6=_0x8d6d2,_0x29efe7={'leqIA':function(_0x657159,_0x169337,_0x32b7ba){const _0x42f0c8=a32_0x2009;return _0xb67b73[_0x42f0c8(0x13c)](_0x657159,_0x169337,_0x32b7ba);}};_0x3e1635[_0x4284cd][_0xb67b73[_0x1fc6e6(0x1c7)]][_0x1fc6e6(0xe0)](_0x40a195=>{_0x29efe7['leqIA'](xunitTest,_0x40a195,_0x4284cd);});}),_0xb67b73[_0x8d6d2(0xe9)](xunitWrite,_0xb67b73[_0x8d6d2(0x173)]);if(_0x2a74b0['output'])try{logger['debug'](_0xb67b73[_0x8d6d2(0x1bf)],_0x2a74b0[_0x8d6d2(0x1d1)]),fs[_0x8d6d2(0x108)](_0x2a74b0['output'],xunitContent);}catch(_0x413b4e){logger[_0x8d6d2(0x10a)](_0xb67b73[_0x8d6d2(0x1a3)],_0x2a74b0['output']),logger[_0x8d6d2(0xe7)](_0x413b4e);}else logger[_0x8d6d2(0xe7)](_0xb67b73[_0x8d6d2(0x1bc)]),console[_0x8d6d2(0x157)](xunitContent);}else{if(_0xb67b73[_0x8d6d2(0x1ba)](_0x28361a,0x0))return;console[_0x8d6d2(0x157)](),logger[_0x8d6d2(0xe7)](_0xb67b73['tnOkG']),console[_0x8d6d2(0x157)](chalk[_0x8d6d2(0x1c0)][_0x8d6d2(0x197)](_0xb67b73['Zqnum'])),_0x2dc07d[_0x8d6d2(0xe0)](_0x41bdab=>{const _0x6a3787=_0x8d6d2,_0x2e444c=[];_0x3e1635[_0x41bdab][_0xb67b73[_0x6a3787(0x1c7)]][_0x6a3787(0xe0)](_0x2f3baf=>{const _0x181539=_0x6a3787;_0xb67b73[_0x181539(0x14c)](_0x2f3baf[_0x181539(0x13f)],_0xb67b73[_0x181539(0xfe)])&&(_0x2f3baf['titlePath']=()=>_0x2f3baf[_0x181539(0x11a)],_0x2e444c[_0x181539(0x1cb)](_0x2f3baf));}),_0xb67b73['FszTd'](_0x2e444c[_0x6a3787(0x1a1)],0x0)&&(Base['consoleLog'](),Base[_0x6a3787(0x138)](_0xb67b73['NBzTP'](_0xb7f48c),chalk[_0x6a3787(0x1c0)]['bgBlueBright'](_0x41bdab)),Base[_0x6a3787(0x122)](_0x2e444c));});}}}async function run(_0x542d11,_0x34f5f7,_0x3e2b9d){const _0x1073bc=a32_0x2c1cb0,_0x185834={'Zgjwx':function(_0x210186,_0x16dcfa,_0x289676,_0x1cb470){return _0x210186(_0x16dcfa,_0x289676,_0x1cb470);},'lfLXG':_0x1073bc(0x18f),'NWeKJ':_0x1073bc(0x153),'ohShf':_0x1073bc(0x103),'WvEVj':function(_0x16d38f,_0x3c7121,_0x3eb63b,_0x4a2dc1){return _0x16d38f(_0x3c7121,_0x3eb63b,_0x4a2dc1);},'eQLzj':'mocha','kEddY':function(_0x55fe0d,_0x228f92){return _0x55fe0d!=_0x228f92;},'mAWUI':_0x1073bc(0x170),'eJECD':_0x1073bc(0x14a),'gMoZk':'test','jYMbb':'rerunTests','frThB':function(_0x38d108,_0x490c73){return _0x38d108(_0x490c73);},'JiUCt':function(_0x52e371,_0x1df51a,_0x24c5d4){return _0x52e371(_0x1df51a,_0x24c5d4);},'OhBBK':_0x1073bc(0x10b),'tmkqs':_0x1073bc(0xe1),'nWXNg':_0x1073bc(0x175),'FsfZt':_0x1073bc(0x115),'RHAct':_0x1073bc(0x193),'CNrAq':_0x1073bc(0xfc),'lYqms':function(_0x1aac9e,_0x3b4250,_0x124bd5,_0x171443){return _0x1aac9e(_0x3b4250,_0x124bd5,_0x171443);},'qaKXQ':function(_0x432497,_0x5fbc09){return _0x432497*_0x5fbc09;},'AUyOn':function(_0x3bb1c2,_0x86d07d){return _0x3bb1c2(_0x86d07d);},'XRrWE':function(_0x3a921c,_0x2ea095){return _0x3a921c!==_0x2ea095;},'lIPLY':function(_0x1c8abf,_0x39856f,_0x52fa19,_0x436414){return _0x1c8abf(_0x39856f,_0x52fa19,_0x436414);}};helper[_0x1073bc(0x167)](_0x3e2b9d[_0x1073bc(0x1c8)],_0x542d11),await _0x3e2b9d['initialize'](_0x542d11);helper[_0x1073bc(0x140)]()?await helper[_0x1073bc(0x1b5)](_0x3e2b9d[_0x1073bc(0x17e)]):await _0x3e2b9d[_0x1073bc(0x11b)]();const _0x11620f=[];let _0x152d16=[];if(!_0x3e2b9d['config'])return;!helper['isUndefined'](_0x3e2b9d['config'][_0x1073bc(0x17c)])&&(process[_0x1073bc(0x168)][_0x1073bc(0x118)]=JSON['stringify'](_0x3e2b9d['config'][_0x1073bc(0x17c)]));const _0x8ec443=await TestHubHandler[_0x1073bc(0x189)](FRAMEWORKS[_0x1073bc(0xed)],_0x3e2b9d);_0x185834[_0x1073bc(0x1da)](_0x3e2b9d['config']['testObservability'],null)&&(process[_0x1073bc(0x168)][_0x1073bc(0xf3)]=_0x3e2b9d[_0x1073bc(0x17e)]['testObservability']);!helper[_0x1073bc(0x17d)](_0x3e2b9d[_0x1073bc(0x17e)][_0x1073bc(0x1cd)])&&(process[_0x1073bc(0x168)][_0x1073bc(0x156)]=_0x3e2b9d[_0x1073bc(0x17e)][_0x1073bc(0x1cd)]);const {extension:extension=['js',_0x185834[_0x1073bc(0x15b)],_0x185834[_0x1073bc(0x164)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x185834[_0x1073bc(0x10e)]]}=_0x542d11,_0x5e3d5a={..._0x542d11};_0x5e3d5a[_0x1073bc(0x18b)]=null;const _0x534804=_0x5e3d5a;let _0x1cf356;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x1073bc(0x149)]()){let _0x1822ba=process[_0x1073bc(0x168)]['BROWSERSTACK_RERUN_TESTS'];!helper['isUndefined'](_0x3e2b9d['cliConfig'])&&_0x3e2b9d[_0x1073bc(0x16a)]['has'](_0x185834['jYMbb'])&&(_0x1822ba=_0x3e2b9d[_0x1073bc(0x16a)][_0x1073bc(0x10c)](_0x185834['jYMbb'])),_0x1cf356=testOpsHelper[_0x1073bc(0x15c)](_0x1822ba);}if(helper[_0x1073bc(0x17d)](_0x1cf356)){const _0x5a5b56={};_0x5a5b56[_0x1073bc(0x10f)]=ignore,_0x5a5b56[_0x1073bc(0x117)]=extension,_0x5a5b56[_0x1073bc(0x145)]=file,_0x5a5b56[_0x1073bc(0x159)]=recursive,_0x5a5b56[_0x1073bc(0xee)]=sort,_0x5a5b56['spec']=spec,_0x1cf356=_0x185834['frThB'](collectFiles,_0x5a5b56),_0x185834[_0x1073bc(0x192)](nestedKeyValue,_0x1cf356,[_0x185834[_0x1073bc(0xe5)]])&&(_0x1cf356=_0x1cf356[_0x1073bc(0x10b)]);}const _0x527002=helper['parseTestOrchestrationOptions'](_0x3e2b9d[_0x1073bc(0x17e)]);!helper[_0x1073bc(0x10d)](_0x527002)&&helper[_0x1073bc(0x144)](_0x527002['retryTestsOnFailure'])&&(_0x534804['retries']=_0x527002[_0x1073bc(0x172)]['maxRetries']);if(!helper['isBrowserstackInfra']()){const _0x2d2660=0x1,_0x245cb9={..._0x534804};_0x245cb9['spec']=[..._0x1cf356],_0x11620f['push']({'mochaOpts':_0x245cb9,'configuration':{'platform':os['platform']()}});if(_0x3e2b9d[_0x1073bc(0x17e)][_0x1073bc(0x1cd)]){const _0x1dbaaa={};_0x1dbaaa[_0x1073bc(0x1cd)]=!![];const _0x53c737=_0x1dbaaa;_0x185834['kEddY'](_0x3e2b9d[_0x1073bc(0x17e)][_0x1073bc(0x17c)],null)&&(_0x53c737[_0x1073bc(0x17c)]=_0x3e2b9d['config'][_0x1073bc(0x17c)],delete _0x53c737[_0x1073bc(0x17c)][_0x185834[_0x1073bc(0x194)]],delete _0x53c737['accessibilityOptions'][_0x185834[_0x1073bc(0x127)]],delete _0x53c737[_0x1073bc(0x17c)][_0x185834['FsfZt']]);const _0x26be07={};_0x26be07['bstack:options']=_0x53c737,_0x11620f[0x0][_0x1073bc(0x133)][_0x1073bc(0x12b)]=_0x26be07;}logger[_0x1073bc(0xeb)](_0x185834[_0x1073bc(0x15f)]),logger[_0x1073bc(0xeb)](_0x185834[_0x1073bc(0x1d8)]),_0x185834[_0x1073bc(0x11e)](parallelTestRun,_0x11620f,_0x2d2660,_0x3e2b9d)[_0x1073bc(0x177)](_0x1c37bd=>{const _0x3d5786=_0x1073bc;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),_0x185834[_0x3d5786(0x130)](printStats,_0x1c37bd,_0x542d11[_0x3d5786(0x1a2)],_0x542d11[_0x3d5786(0x17f)]||_0x542d11[_0x185834['lfLXG']]);})['finally'](()=>{const _0x3c4a07=_0x1073bc;PerformanceTester['start'](PerformanceEvents[_0x3c4a07(0xf6)]);try{const {browserstackFolderPath:_0xae3e80,tcgConfigPath:_0x207877}=helper[_0x3c4a07(0x169)]();fs['unlinkSync'](_0x207877),fs[_0x3c4a07(0xdd)](_0xae3e80);}catch(_0x3cc7db){logger['debug'](_0x185834[_0x3c4a07(0x1d0)],_0x3cc7db);}try{utilities[_0x3c4a07(0x123)](_0x185834[_0x3c4a07(0x1b9)],{},_0x3e2b9d[_0x3c4a07(0x17e)],_0x3e2b9d[_0x3c4a07(0x1c8)]);}catch(_0x1bb7fc){logger[_0x3c4a07(0xe7)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x1bb7fc[_0x3c4a07(0x14f)]);}try{helper[_0x3c4a07(0xdc)]();}catch(_0x53c8b0){logger['debug']('Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20'+_0x53c8b0);}testOpsHelper[_0x3c4a07(0x1b3)]();});}else{const _0x4efa81=helper['useW3C'](_0x3e2b9d[_0x1073bc(0x17e)]);let _0x4354d7=helper[_0x1073bc(0x109)](_0x3e2b9d['config']);_0x152d16=helper[_0x1073bc(0x15e)](_0x3e2b9d['config'],_0x4efa81,constants[_0x1073bc(0xde)][_0x1073bc(0xed)]);helper[_0x1073bc(0x1ab)]()[_0x1073bc(0x1c3)]&&(_0x4354d7=centralScannerConstants[_0x1073bc(0xe8)]);let _0x287bb8;const _0x333e5a=_0x3e2b9d[_0x1073bc(0x17e)][_0x1073bc(0x198)]||helper[_0x1073bc(0x17b)](_0x542d11,_0x34f5f7,_0x3e2b9d[_0x1073bc(0x17e)],constants[_0x1073bc(0xde)]['MOCHA'])||0x1;helper['validPlatformsPresent'](_0x3e2b9d[_0x1073bc(0x17e)])?_0x287bb8=_0x185834[_0x1073bc(0x11d)](_0x3e2b9d[_0x1073bc(0x17e)][_0x1073bc(0x199)][_0x1073bc(0x1a1)],_0x333e5a):_0x287bb8=_0x333e5a;const _0x7281a4=_0x185834[_0x1073bc(0x154)](getPercyOptions,_0x3e2b9d[_0x1073bc(0x17e)]);if(_0x185834['XRrWE'](_0x3e2b9d[_0x1073bc(0x17e)][_0x1073bc(0x198)],0x1))_0x1cf356[_0x1073bc(0xe0)](_0x247cf6=>{const _0x114aae=_0x1073bc,_0x2f82f3=[];_0x152d16[_0x114aae(0xe0)]((_0x3136a9,_0x5e728c)=>{const _0xb08260=_0x114aae,_0x3949b={};_0x3949b[_0xb08260(0x1c5)]=[_0x247cf6],_0x2f82f3[_0xb08260(0x1cb)]({'mochaOpts':Object[_0xb08260(0xe3)]({},_0x534804,_0x3949b),'configuration':{'server':_0x4354d7,'capability':_0x3136a9,'proxySettings':_0x3e2b9d['config'][_0xb08260(0x188)],'platform':helper[_0xb08260(0x1d9)](_0x3136a9),'browserStackLogLevel':_0x3e2b9d[_0xb08260(0x17e)][_0xb08260(0xef)],'platformIndex':_0x5e728c,'browserStackPercyOptions':_0x7281a4,'platformCaps':Object['assign']({'index':_0x5e728c},_0x3e2b9d[_0xb08260(0x17e)][_0xb08260(0x199)][_0x5e728c])}});}),_0x11620f[_0x114aae(0x1cb)](..._0x2f82f3);});else{const _0x468812=[];_0x152d16[_0x1073bc(0xe0)]((_0x5a21e4,_0x5ad301)=>{const _0x41f81e=_0x1073bc;let _0x275a32=Object[_0x41f81e(0xe3)]({},_0x534804);testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x41f81e(0x149)]()&&(_0x275a32={..._0x275a32,'spec':[..._0x1cf356]}),_0x468812[_0x41f81e(0x1cb)]({'mochaOpts':_0x275a32,'configuration':{'server':_0x4354d7,'capability':_0x5a21e4,'proxySettings':_0x3e2b9d[_0x41f81e(0x17e)]['proxySettings'],'platform':helper[_0x41f81e(0x1d9)](_0x5a21e4),'browserStackLogLevel':_0x3e2b9d['config'][_0x41f81e(0xef)],'platformIndex':_0x5ad301,'browserStackPercyOptions':_0x7281a4,'platformCaps':Object[_0x41f81e(0xe3)]({'index':_0x5ad301},_0x3e2b9d[_0x41f81e(0x17e)][_0x41f81e(0x199)][_0x5ad301])}});}),_0x11620f['push'](..._0x468812);}logger[_0x1073bc(0xeb)](_0x1073bc(0x1d5)+_0x3e2b9d['config'][_0x1073bc(0x199)][_0x1073bc(0x1a1)]+_0x1073bc(0x143)),logger[_0x1073bc(0xeb)](_0x185834[_0x1073bc(0x1d8)]);let _0x581f76;_0x185834[_0x1073bc(0x1dd)](parallelTestRun,_0x11620f,_0x287bb8,_0x3e2b9d)[_0x1073bc(0x177)](_0x4a82ad=>{const _0x485e8d=_0x1073bc;PerformanceTester[_0x485e8d(0x1a6)](PerformanceEvents[_0x485e8d(0xf6)]),_0x581f76=_0x4a82ad,_0x185834[_0x485e8d(0x179)](printStats,_0x4a82ad,_0x542d11[_0x485e8d(0x1a2)],_0x542d11[_0x485e8d(0x17f)]||_0x542d11[_0x185834[_0x485e8d(0x104)]]);})[_0x1073bc(0x163)](async()=>{const _0xf3050f=_0x1073bc;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),_0x3e2b9d[_0xf3050f(0x13d)]=helper[_0xf3050f(0x1ae)](_0x581f76,_0x185834['eQLzj']),await utilities['finalExecution'](_0x3e2b9d),testOpsHelper[_0xf3050f(0x1b3)]();});}}module[a32_0x2c1cb0(0x12f)]=run;function a32_0x4dd0(){const _0x125942=['../../helpers/performance/performance-tester','DIKiJ','Listing\x20all\x20the\x20failures','prototype','vqvua','expected','length','reporter','caWUd','isPending','WmFoJ','start','testSuites','xunit','lTObf','mocha','getCentralUser','JVgaw','vBqQr','getErrorMessageFromResults','testcase','sfkLQ','QGRNq','FszTd','printBuildLink','Total\x20Suites:\x20','handleApp','sEcmN','getOwnPropertyNames','GVEfl','ohShf','Butni','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','ryMWJ','rAcUn','7bVSGwT','Rsznq','bold','lltaq','Writing\x20xunit\x20result\x20to\x20file','central_scanner','mvBom','spec','testsPending','vgJxC','framework','mocha/lib/reporters/base.js','\x0a\x0a\x0a','push','mocha/lib/cli/collect-files.js','accessibility','message','IIgnJ','NWeKJ','output','testsFailed','size','tgzTe','Running\x20your\x20mocha\x20tests\x20across\x20','PWfIh','372542lCTKYv','CNrAq','getPlatformName','kEddY','green','speed','lIPLY','../../helpers/test-observability/utils','yellow','pdlGz','../../helpers/central-scanner/constants','add','currentRetry','notifyUpdate','rmdirSync','FRAMEWORKS','err','forEach','includeTagsInTestingScope','red','assign','GIKwT','OhBBK','Wifnu','debug','BROWSERSTACK_GRR_US_HUB_URL','IWuUM','testsuite','info','../test-runner','MOCHA','sort','logLevel','stringify','stats','nBpZi','BROWSERSTACK_TEST_OBSERVABILITY_YML','OiRJo','Couldn\x27t\x20write\x20json\x20result\x20to','SDK_CLEANUP','5101080FyjPpl','HYlaT','fullTitle','NuOyr','passes','Now,\x20showing\x20logs\x20from\x20mocha','Couldn\x27t\x20write\x20xunit\x20result\x20to','DPPfg','indexOf','\x20total','3471780OvmUkH','OOBgL','SDKTestSuccessful','lfLXG','failed','Exinj','Sopds','writeFileSync','getHubUrl','error','files','get','isEmpty','gMoZk','ignore','../../helpers/utilities','title','cLqgp','Writing\x20json\x20result\x20to\x20file','olnAr','includeEncodedExtension','YJRgQ','extension','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','wANeW','titlePathV','setupTCGAuth','actual','qaKXQ','lYqms','WjbKw','cDTlx','failure','list','fireFunnelTestEvent','../../helpers/performance/constants','wYeBq','veFzu','nWXNg','CdFLp','NWIVt','hideDiff','capability','duration','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','Tests:\x20\x20\x20\x20\x20\x20\x20','exports','Zgjwx','hSucd','2383160SsuoVj','configuration','parse','exitCode','KTthI','pending','consoleLog','GOmsG','RSkGg','../../helpers/percy/utils','amHpx','errorMessage','../../helpers/logger','state','isBrowserstackInfra','totalTests','mEwBU','\x20platforms','isNotUndefined','file','results','failures','YTezy','shouldReRunObservabilityTests','mjs','showDiff','ipeeD','chalk','Total\x20Platforms:\x20','stack','KochP','suite','</testsuite>','error\x20removing\x20tcg\x20config\x20file','AUyOn','json','BROWSERSTACK_TEST_ACCESSIBILITY_YML','log','join','recursive','****\x20FAILURES\x20****','mAWUI','parseFileNames','call','prepareCapabilities','RHAct','787527kRXunM','Mocha\x20Tests','UuCFM','finally','eJECD','sdaXf','enrCO','setUserConfigPath','env','getTCGConfigFilePaths','cliConfig','testsPassed','CMUsK','ihBaZ','1462733TpPoMp','../../helpers/helper','cjs','../utils/clientTroubleshootingService','retryTestsOnFailure','fduQO','../../helpers/testhub/testhubHandler','excludeTagsInTestingScope','axbvY','then','PBCqq','WvEVj','../../helpers/test-observability/constants','getUserWorkerCount','accessibilityOptions','isUndefined','config','reporterOptions','hasOwnProperty','skipped','EVENTS','\x20skipped','sXpKQ','qtwvw','BASUz','5VXbVIL','proxySettings','launchBuild','wOyyy','rootHooks','generateDiff','VNOeY','BNoEu','reporter-option','lBAcB','tBZOx','JiUCt','Running\x20your\x20mocha\x20tests','tmkqs','passed','14728888pjnPVN','bgRedBright','parallelsPerPlatform','platforms','140cPSBSx'];a32_0x4dd0=function(){return _0x125942;};return a32_0x4dd0();}
|
|
2
|
+
'use strict';const a32_0x35c62d=a32_0x3e1a;(function(_0x2e4b16,_0x1d1f7e){const _0x224831=a32_0x3e1a,_0x57bd19=_0x2e4b16();while(!![]){try{const _0x3f2991=-parseInt(_0x224831(0x11d))/0x1*(-parseInt(_0x224831(0x1fb))/0x2)+-parseInt(_0x224831(0x1be))/0x3*(parseInt(_0x224831(0x16c))/0x4)+-parseInt(_0x224831(0x1fc))/0x5*(-parseInt(_0x224831(0x11f))/0x6)+parseInt(_0x224831(0x162))/0x7*(-parseInt(_0x224831(0x200))/0x8)+-parseInt(_0x224831(0x20d))/0x9+-parseInt(_0x224831(0x125))/0xa+parseInt(_0x224831(0x1f5))/0xb;if(_0x3f2991===_0x1d1f7e)break;else _0x57bd19['push'](_0x57bd19['shift']());}catch(_0x277ec2){_0x57bd19['push'](_0x57bd19['shift']());}}}(a32_0xa8e3,0xc5965));const chalk=require(a32_0x35c62d(0x1dd)),logger=require('../../helpers/logger')[a32_0x35c62d(0x15d)],helper=require('../../helpers/helper'),utilities=require(a32_0x35c62d(0x1b6)),testOpsHelper=require(a32_0x35c62d(0x13a)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a32_0x35c62d(0x208)),{requireModule,nestedKeyValue}=require(a32_0x35c62d(0x1f6)),{getPercyOptions}=require(a32_0x35c62d(0x1de)),Base=requireModule(a32_0x35c62d(0x1bf),a32_0x35c62d(0x154)),collectFiles=requireModule(a32_0x35c62d(0x19b),a32_0x35c62d(0x154)),constants=require(a32_0x35c62d(0x1d7)),PerformanceTester=require(a32_0x35c62d(0x136)),PerformanceEvents=require(a32_0x35c62d(0x179))['EVENTS'],centralScannerConstants=require(a32_0x35c62d(0x1ad)),{FRAMEWORKS}=require(a32_0x35c62d(0x151)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),ClientTroubleShootingService=require(a32_0x35c62d(0x17b));function tag(_0x3085b8,_0x358df4,_0x396347,_0x1cda5d){const _0x772e68=a32_0x35c62d,_0x87cb2e={'IRKsX':function(_0x282fba,_0xa3beb5){return _0x282fba+_0xa3beb5;},'nMFHA':function(_0x1b6a49,_0x1178f3){return _0x1b6a49(_0x1178f3);},'tfVOw':function(_0x5d2f85,_0x5863d5){return _0x5d2f85+_0x5863d5;},'lDmuJ':function(_0x1f42f3,_0x3b4ad7){return _0x1f42f3+_0x3b4ad7;},'mUoBU':function(_0x30727b,_0x1768ce){return _0x30727b+_0x1768ce;},'DcMXl':function(_0x2d1bf6,_0x167e1f){return _0x2d1bf6+_0x167e1f;},'WMxOS':function(_0x7fb27c,_0x42737f){return _0x7fb27c+_0x42737f;}},_0x378ef0=_0x396347?'/>':'>',_0x24c2c9=[];let _0xd8a195;for(const _0x63bd8 in _0x358df4){Object[_0x772e68(0x1a6)][_0x772e68(0x21f)]['call'](_0x358df4,_0x63bd8)&&_0x24c2c9[_0x772e68(0x18a)](_0x87cb2e['IRKsX'](_0x87cb2e['IRKsX'](_0x87cb2e[_0x772e68(0x19c)](_0x63bd8,'=\x22'),_0x87cb2e['nMFHA'](escape,_0x358df4[_0x63bd8])),'\x22'));}return _0xd8a195=_0x87cb2e['tfVOw'](_0x87cb2e['tfVOw'](_0x87cb2e['lDmuJ']('<',_0x3085b8),_0x24c2c9[_0x772e68(0x17c)]?_0x87cb2e[_0x772e68(0x166)]('\x20',_0x24c2c9[_0x772e68(0x14d)]('\x20')):''),_0x378ef0),_0x1cda5d&&(_0xd8a195+=_0x87cb2e[_0x772e68(0x1b7)](_0x87cb2e[_0x772e68(0x19f)](_0x87cb2e[_0x772e68(0x1c2)](_0x1cda5d,'</'),_0x3085b8),_0x378ef0)),_0xd8a195;}let xunitContent='';function xunitWrite(_0x46f7bb){xunitContent+=_0x46f7bb;}function xunitTest(_0x41b1c0,_0x32fcd0){const _0x389d88=a32_0x35c62d,_0x449b6f={'njFHY':function(_0x55c03d,_0x8a9c6d){return _0x55c03d/_0x8a9c6d;},'vPDjI':function(_0x334a4c,_0x501684){return _0x334a4c===_0x501684;},'vktue':'failed','czkcO':function(_0x50749d,_0xb69403){return _0x50749d+_0xb69403;},'XHWMn':function(_0x396ff2,_0x14fce7){return _0x396ff2(_0x14fce7);},'ZpsFp':function(_0x47b4b2,_0x3c557a,_0x4c3b7b,_0xc31e98,_0x1da49b){return _0x47b4b2(_0x3c557a,_0x4c3b7b,_0xc31e98,_0x1da49b);},'fumat':_0x389d88(0x1e4),'aKIma':function(_0x22843f,_0x1eec5c,_0x487036,_0x3e67c0,_0x4b690a){return _0x22843f(_0x1eec5c,_0x487036,_0x3e67c0,_0x4b690a);},'JvwIz':'failure','DFwyS':function(_0x33fdec,_0x4f33b2){return _0x33fdec+_0x4f33b2;},'Xpjqe':function(_0x390e6a,_0x4bbb8b){return _0x390e6a+_0x4bbb8b;},'rjnJH':function(_0x3996af,_0x513d5a){return _0x3996af+_0x513d5a;},'GBLsj':function(_0x27d83f,_0x295136){return _0x27d83f(_0x295136);},'AgCcQ':function(_0x2ce36d,_0x1c1fff,_0x2265d2,_0x185ee2,_0x56a283){return _0x2ce36d(_0x1c1fff,_0x2265d2,_0x185ee2,_0x56a283);},'nXUNc':function(_0x551cfd,_0x1eb7f2,_0x4986be,_0x5cca13){return _0x551cfd(_0x1eb7f2,_0x4986be,_0x5cca13);},'xVJmr':_0x389d88(0x191),'tngVv':function(_0x4dfe8e,_0x1523fc,_0x361204,_0x4821c2){return _0x4dfe8e(_0x1523fc,_0x361204,_0x4821c2);}};Base[_0x389d88(0x1e1)]=![];var _0x2e3ec3={'classname':_0x41b1c0[_0x389d88(0x194)],'name':_0x41b1c0[_0x389d88(0x1e9)],'time':_0x449b6f[_0x389d88(0x15c)](_0x41b1c0['duration'],0x3e8)||0x0,'platform':_0x32fcd0};if(_0x449b6f[_0x389d88(0x1f1)](_0x41b1c0[_0x389d88(0x173)],_0x449b6f['vktue'])){var _0x3e89e3=_0x41b1c0[_0x389d88(0x218)],_0x24dc10=!Base[_0x389d88(0x177)]&&Base[_0x389d88(0x14e)](_0x3e89e3)?_0x449b6f[_0x389d88(0x1d6)]('\x0a',Base[_0x389d88(0x182)](_0x3e89e3['actual'],_0x3e89e3[_0x389d88(0x1d5)])):'';_0x449b6f['XHWMn'](xunitWrite,_0x449b6f[_0x389d88(0x22a)](tag,_0x449b6f[_0x389d88(0x1b9)],_0x2e3ec3,![],_0x449b6f[_0x389d88(0x22b)](tag,_0x449b6f[_0x389d88(0x124)],{},![],_0x449b6f[_0x389d88(0x217)](_0x449b6f[_0x389d88(0x1ce)](_0x449b6f[_0x389d88(0x146)](_0x449b6f[_0x389d88(0x1e6)](escape,_0x3e89e3['message']),_0x449b6f[_0x389d88(0x143)](escape,_0x24dc10)),'\x0a'),_0x449b6f[_0x389d88(0x143)](escape,_0x3e89e3['stack'])))));}else _0x41b1c0['isPending']?_0x449b6f['GBLsj'](xunitWrite,_0x449b6f[_0x389d88(0x1fd)](tag,_0x449b6f[_0x389d88(0x1b9)],_0x2e3ec3,![],_0x449b6f[_0x389d88(0x19e)](tag,_0x449b6f['xVJmr'],{},!![]))):_0x449b6f[_0x389d88(0x143)](xunitWrite,_0x449b6f[_0x389d88(0x161)](tag,_0x449b6f[_0x389d88(0x1b9)],_0x2e3ec3,!![]));};function getStats(_0xcca7d0){const _0x500cbd=a32_0x35c62d,_0x15ff8c={};_0x15ff8c[_0x500cbd(0x144)]='suite',_0x15ff8c['GfsHM']=_0x500cbd(0x171),_0x15ff8c[_0x500cbd(0x1ef)]=_0x500cbd(0x11a),_0x15ff8c[_0x500cbd(0x165)]='results';const _0x3f1653=_0x15ff8c,_0x360451=Object[_0x500cbd(0x1df)](_0xcca7d0);let _0x40ec97=0x0,_0x181f3d=0x0,_0x56a8c4=0x0,_0x46d1a3=0x0;const _0x205458=new Set();_0x360451[_0x500cbd(0x139)](_0xe907a2=>{const _0x3cf045=_0x500cbd;_0xcca7d0[_0xe907a2][_0x3f1653[_0x3cf045(0x165)]]['forEach'](_0x521dcb=>{const _0x42beb4=_0x3cf045;_0x205458['add'](_0x521dcb[_0x3f1653[_0x42beb4(0x144)]]),_0x40ec97++;switch(_0x521dcb[_0x42beb4(0x173)]){case _0x3f1653[_0x42beb4(0x1b5)]:_0x56a8c4++;break;case _0x3f1653['wkPOy']:_0x181f3d++;break;default:_0x46d1a3++;}});});const _0x4b0c32={};return _0x4b0c32[_0x500cbd(0x21a)]=_0x205458[_0x500cbd(0x176)],_0x4b0c32[_0x500cbd(0x1f8)]=_0x360451,_0x4b0c32['totalTests']=_0x40ec97,_0x4b0c32[_0x500cbd(0x12c)]=_0x181f3d,_0x4b0c32[_0x500cbd(0x138)]=_0x56a8c4,_0x4b0c32[_0x500cbd(0x1e0)]=_0x46d1a3,_0x4b0c32;}function a32_0xa8e3(){const _0x4f74dc=['getErrorMessageFromResults','exitCode','reporterOptions','includeEncodedExtension','isUndefined','njFHY','winstonLogger','MTpCR','ePjrr','output','tngVv','14jhjtff','kFAMT','min','scEjH','mUoBU','currentRetry','file','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','accessibilityOptions','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','16fPdxiB','getOwnPropertyNames','isTestObservabilitySession','central_scanner','</testsuite>','passed','ggEfr','state','json','wrOVi','size','hideDiff','files','../../helpers/performance/constants','dvoUH','../utils/clientTroubleshootingService','length','cPimE','\x0a\x0a\x0a','mjs','has','VnJfi','generateDiff','results','env','getUserWorkerCount','includeTagsInTestingScope','retries','spec','oGQeq','push','udYuP','nSvov','finally','XJtWJ','fireFunnelTestEvent','EJLkK','skipped','info','prepareCapabilities','fullTitle','sdpyQ','cjs','QEJmT','LgTCr','\x20failed','speed','mocha/lib/cli/collect-files.js','IRKsX','consoleLog','nXUNc','WMxOS','OzpLl','rEkiK','ZWtZl','MOCHA','YHyBe','hZLlF','prototype','ypVxA','BROWSERSTACK_RERUN_TESTS','pCPej','LrzGV','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','uFUQC','../../helpers/central-scanner/constants','excludeTagsInTestingScope','error\x20removing\x20tcg\x20config\x20file','parse','XMPEV','green','getHubUrl','framework','GfsHM','../../helpers/utilities','DcMXl','config','fumat','Running\x20your\x20mocha\x20tests\x20across\x20','BROWSERSTACK_TEST_OBSERVABILITY_YML','maxRetries','bNuFO','982956DQmoke','mocha/lib/reporters/base.js','XfwaJ','sWOqT','tfVOw','recursive','stringify','xCiDK','bpxTR','CgZhC','accessibility','reporter','setUserConfigPath','SDK_CLEANUP','yUXvW','writeFileSync','Xpjqe','QncAB','proxySettings','VccUW','reporter-option','yellow','stack','expected','czkcO','../utils/constants','cliConfig','****\x20FAILURES\x20****','stats','errorMessage','exports','chalk','../../helpers/percy/utils','keys','testsPending','useColors','mqzzw','platform','testcase','getPlatformName','GBLsj','Mocha\x20Tests','bold','title','JnYnR','Couldn\x27t\x20write\x20json\x20result\x20to','finalExecution','UXJlu','testObservability','wkPOy','notifyUpdate','vPDjI','JuHSE','Couldn\x27t\x20write\x20xunit\x20result\x20to','unlinkSync','47044338DPFxTo','../../helpers/helper','parallelsPerPlatform','platforms','rmdirSync','useW3C','121722Oytjci','6565YQIULi','AgCcQ','WuFXP','Setting\x20non\x20exit\x20code\x20for\x20failures','4171312TnonHa','HraoA','BROWSERSTACK_TEST_ACCESSIBILITY_YML','debug','tkrbx','Tests:\x20\x20\x20\x20\x20\x20\x20','NOOml','tRntl','../test-runner','\x20total','titlePath','igXZE','FRAMEWORKS','4641345TPvyAo','BROWSERSTACK_GRR_US_HUB_URL','gkxba','kdeFS','kKraP','XCqbM','bgBlueBright','FqLHz','suiteName','PMmIX','DFwyS','err','toUTCString','testSuites','sort','then','log','rerunTests','hasOwnProperty','xTyhI','Listing\x20all\x20the\x20failures','rVBnB','titlePathV','PVVoP','passes','mOEzG','getCentralUser','QkaJZ','OdjGX','ZpsFp','aKIma','isEmpty','zhdZO','DGkum','failed','phwNP','LSRLm','1KAYVLY','nvDQD','3234Ptwzhs','logLevel','gTZrX','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','gypZS','JvwIz','13668680xhkcea','Writing\x20xunit\x20result\x20to\x20file','start','SDKTestSuccessful','dEMxE','edqDG','getTCGConfigFilePaths','testsFailed','CVDqO','isBrowserstackInfra','kIimk','red','BhrkU','error','KGaAy','initialize','printBuildLink','../../helpers/performance/performance-tester','\x20passed','testsPassed','forEach','../../helpers/test-observability/utils','ignore','Tjwip','assign','oOOCo','Writing\x20json\x20result\x20to\x20file','doc','KgkHb','WcFwT','XHWMn','HIPgc','test','rjnJH','BeeZE','parseTestOrchestrationOptions','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','retryTestsOnFailure','Printing\x20stats\x20of\x20tests','validPlatformsPresent','join','showDiff','pending','object','../../helpers/test-observability/constants','parseFileNames','duration','mocha','nWlyh','EdjUw'];a32_0xa8e3=function(){return _0x4f74dc;};return a32_0xa8e3();}function a32_0x3e1a(_0x2834f8,_0x494e80){const _0xa8e3e4=a32_0xa8e3();return a32_0x3e1a=function(_0x3e1ae2,_0x25b39e){_0x3e1ae2=_0x3e1ae2-0x119;let _0xf0e5f6=_0xa8e3e4[_0x3e1ae2];return _0xf0e5f6;},a32_0x3e1a(_0x2834f8,_0x494e80);}function errorJSON(_0x5790c7){const _0x337b91=a32_0x35c62d;var _0x41ccde={};return Object[_0x337b91(0x16d)](_0x5790c7)[_0x337b91(0x139)](function(_0x934805){_0x41ccde[_0x934805]=_0x5790c7[_0x934805];},_0x5790c7),_0x41ccde;}function cleanCycles(_0x5481f5){const _0x3bd165=a32_0x35c62d,_0x4b0562={};_0x4b0562[_0x3bd165(0x1a2)]=function(_0x4f614a,_0x4447bb){return _0x4f614a===_0x4447bb;},_0x4b0562[_0x3bd165(0x206)]=_0x3bd165(0x150),_0x4b0562[_0x3bd165(0x212)]=function(_0x49b4e0,_0x4426ca){return _0x49b4e0!==_0x4426ca;},_0x4b0562[_0x3bd165(0x1c0)]=function(_0x25312a,_0x3e3f5f){return _0x25312a!==_0x3e3f5f;},_0x4b0562[_0x3bd165(0x190)]=function(_0x2f2855,_0x42b823){return _0x2f2855+_0x42b823;};const _0x16922f=_0x4b0562;var _0x1b958a=[];return JSON[_0x3bd165(0x1b0)](JSON['stringify'](_0x5481f5,function(_0x12ebba,_0x3af2fa){const _0x3812d2=_0x3bd165;if(_0x16922f[_0x3812d2(0x1a2)](typeof _0x3af2fa,_0x16922f[_0x3812d2(0x206)])&&_0x16922f['XCqbM'](_0x3af2fa,null)){if(_0x16922f[_0x3812d2(0x1c0)](_0x1b958a['indexOf'](_0x3af2fa),-0x1))return _0x16922f[_0x3812d2(0x190)]('',_0x3af2fa);_0x1b958a[_0x3812d2(0x18a)](_0x3af2fa);}return _0x3af2fa;}));}function clean(_0x1e0494){const _0x3640b8=a32_0x35c62d,_0x5be1b4={'WcFwT':function(_0x319ba4,_0x2a0667){return _0x319ba4 instanceof _0x2a0667;},'JuHSE':function(_0x5f1207,_0x36b705){return _0x5f1207(_0x36b705);},'LrzGV':function(_0x19eb5c,_0x161471){return _0x19eb5c(_0x161471);}};var _0x105949=_0x1e0494[_0x3640b8(0x218)]||{};return _0x5be1b4[_0x3640b8(0x142)](_0x105949,Error)&&(_0x105949=_0x5be1b4[_0x3640b8(0x1f2)](errorJSON,_0x105949)),{'title':_0x1e0494[_0x3640b8(0x1e9)],'fullTitle':_0x1e0494[_0x3640b8(0x194)],'file':_0x1e0494[_0x3640b8(0x168)],'duration':_0x1e0494[_0x3640b8(0x153)],'currentRetry':_0x1e0494[_0x3640b8(0x167)],'speed':_0x1e0494[_0x3640b8(0x19a)],'err':_0x5be1b4[_0x3640b8(0x1aa)](cleanCycles,_0x105949)};}function printStats(_0x1b707f,_0x6e954f=a32_0x35c62d(0x188),_0x39f8c8={}){const _0x3b126b=a32_0x35c62d,_0x37e741={'KGaAy':function(_0x1aa107,_0x225398){return _0x1aa107(_0x225398);},'BeeZE':function(_0x24179f,_0x57c8de){return _0x24179f===_0x57c8de;},'rEkiK':_0x3b126b(0x171),'OdjGX':_0x3b126b(0x225),'gypZS':function(_0x13b5c7,_0x1fd1e3){return _0x13b5c7(_0x1fd1e3);},'QEJmT':_0x3b126b(0x11a),'kdeFS':'failures','XJtWJ':_0x3b126b(0x14f),'zhdZO':_0x3b126b(0x183),'wrOVi':function(_0x5e9590,_0x1c9de6){return _0x5e9590===_0x1c9de6;},'mRvUK':function(_0xfd985c,_0x350a4b){return _0xfd985c===_0x350a4b;},'YHyBe':function(_0x5af12e,_0xdaa3bd){return _0x5af12e*_0xdaa3bd;},'sdpyQ':function(_0x166f63,_0x253a65,_0x1d358a){return _0x166f63(_0x253a65,_0x1d358a);},'Tjwip':function(_0x17e000,_0x17b972){return _0x17e000>_0x17b972;},'VccUW':function(_0x524458){return _0x524458();},'tRntl':function(_0x358e84,_0x1331d8){return _0x358e84===_0x1331d8;},'pCPej':_0x3b126b(0x140),'nWlyh':function(_0x5b914e,_0x4e3192){return _0x5b914e(_0x4e3192);},'JnYnR':function(_0x1ca0cd,_0x326fd){return _0x1ca0cd>_0x326fd;},'zhyzD':_0x3b126b(0x1ff),'QytEM':_0x3b126b(0x14b),'QncAB':function(_0x650689,_0x3dfd79){return _0x650689+_0x3dfd79;},'igXZE':'Total\x20Platforms:\x20','bNuFO':function(_0x2c42ed,_0xbae2ec){return _0x2c42ed+_0xbae2ec;},'CVDqO':'Total\x20Suites:\x20','xTyhI':function(_0x4f377b,_0x3fe9a1){return _0x4f377b+_0x3fe9a1;},'hZLlF':function(_0x1ee91b,_0x1320ab){return _0x1ee91b+_0x1320ab;},'cvmSU':_0x3b126b(0x205),'ggEfr':function(_0x1495d6,_0x2e24f8){return _0x1495d6>_0x2e24f8;},'udYuP':function(_0x47f399,_0x26606c){return _0x47f399>_0x26606c;},'edqDG':function(_0x268224,_0x3898eb){return _0x268224>_0x3898eb;},'DGkum':function(_0x15a012,_0x4f57fb){return _0x15a012+_0x4f57fb;},'kIimk':function(_0x2c85d9,_0x584dcd){return _0x2c85d9+_0x584dcd;},'Mhgcl':_0x3b126b(0x17e),'EdjUw':_0x3b126b(0x174),'HraoA':_0x3b126b(0x13f),'XMPEV':_0x3b126b(0x1eb),'pVDAe':_0x3b126b(0x16b),'EfJXE':'xunit','oGQeq':_0x3b126b(0x1e7),'OzpLl':function(_0x504d74,_0xb6938e){return _0x504d74||_0xb6938e;},'yUXvW':function(_0x4584a6,_0x50b19d){return _0x4584a6(_0x50b19d);},'MTpCR':function(_0x434932,_0x49b85c,_0x2bd395,_0x36ce65){return _0x434932(_0x49b85c,_0x2bd395,_0x36ce65);},'rVBnB':'testsuite','nSvov':function(_0x43471c,_0x3fb2ab){return _0x43471c-_0x3fb2ab;},'tkrbx':function(_0x5e97ce,_0x36f14a){return _0x5e97ce-_0x36f14a;},'mxuZX':function(_0x1454aa,_0x24ce8e){return _0x1454aa/_0x24ce8e;},'BhrkU':_0x3b126b(0x170),'mOEzG':_0x3b126b(0x126),'mqzzw':_0x3b126b(0x1f3),'PMmIX':_0x3b126b(0x1ab),'oOOCo':_0x3b126b(0x221),'ePjrr':_0x3b126b(0x1d9)};if(_0x37e741[_0x3b126b(0x207)](_0x6e954f,_0x37e741[_0x3b126b(0x1a9)]))return;const _0x117e3f=0x0,_0x399ff2=()=>{const _0x5f31d7=_0x3b126b;return _0x37e741[_0x5f31d7(0x133)](Array,_0x117e3f)[_0x5f31d7(0x14d)]('\x20\x20');},{testSuites:_0x22c8a6,platforms:_0x458d57,totalTests:_0x4477e2,testsFailed:_0x3fb911,testsPassed:_0x299ab2,testsPending:_0x2e1806}=_0x37e741[_0x3b126b(0x155)](getStats,_0x1b707f);_0x37e741[_0x3b126b(0x1ea)](_0x3fb911,0x0)&&(logger[_0x3b126b(0x203)](_0x37e741['zhyzD']),process[_0x3b126b(0x158)]=Math[_0x3b126b(0x164)](_0x3fb911,0xff));logger['debug'](_0x37e741['QytEM']);const _0x386ec7=''+_0x37e741[_0x3b126b(0x1cf)](chalk['bold'](_0x37e741[_0x3b126b(0x20b)]),_0x458d57['length']),_0x393c82=''+_0x37e741[_0x3b126b(0x1bd)](chalk['bold'](_0x37e741[_0x3b126b(0x12d)]),_0x22c8a6),_0x7f7e6a=''+_0x37e741[_0x3b126b(0x220)](_0x37e741[_0x3b126b(0x220)](_0x37e741[_0x3b126b(0x1a5)](chalk[_0x3b126b(0x1e8)](_0x37e741['cvmSU']),_0x37e741[_0x3b126b(0x172)](_0x3fb911,0x0)?chalk[_0x3b126b(0x1e8)][_0x3b126b(0x130)](_0x3fb911+_0x3b126b(0x199))+',\x20':''),_0x37e741[_0x3b126b(0x18b)](_0x2e1806,0x0)?chalk[_0x3b126b(0x1e8)][_0x3b126b(0x1d3)](_0x2e1806+'\x20skipped')+',\x20':''),_0x37e741[_0x3b126b(0x12a)](_0x299ab2,0x0)?chalk[_0x3b126b(0x1e8)][_0x3b126b(0x1b2)](_0x299ab2+_0x3b126b(0x137))+',\x20':'')+_0x4477e2+_0x3b126b(0x209);console['log'](_0x37e741[_0x3b126b(0x119)](_0x37e741[_0x3b126b(0x12f)](_0x37e741[_0x3b126b(0x119)](_0x37e741[_0x3b126b(0x12f)](_0x37e741[_0x3b126b(0x220)](_0x37e741['Mhgcl'],_0x386ec7),'\x0a'),_0x393c82),'\x0a'),_0x7f7e6a));if(_0x37e741[_0x3b126b(0x175)](_0x6e954f,_0x37e741[_0x3b126b(0x156)])){const _0x227820={},_0x23ee9b={};_0x23ee9b[_0x3b126b(0x21a)]=_0x22c8a6,_0x23ee9b[_0x3b126b(0x1f8)]=_0x458d57,_0x23ee9b['testsFailed']=_0x3fb911,_0x23ee9b['testsPassed']=_0x299ab2,_0x23ee9b[_0x3b126b(0x1e0)]=_0x2e1806,_0x227820[_0x3b126b(0x1da)]=_0x23ee9b,_0x458d57[_0x3b126b(0x139)](_0x224049=>{const _0x3aa824=_0x3b126b;_0x227820[_0x224049]={'pending':[],'failures':[],'passes':[],'tests':_0x1b707f[_0x224049][_0x37e741[_0x3aa824(0x22d)]]['map'](clean)},_0x1b707f[_0x224049][_0x37e741[_0x3aa824(0x22d)]]['forEach'](_0x445c24=>{const _0x52a63a=_0x3aa824;if(_0x37e741[_0x52a63a(0x147)](_0x445c24[_0x52a63a(0x173)],_0x37e741[_0x52a63a(0x1a1)]))_0x227820[_0x224049][_0x37e741[_0x52a63a(0x229)]][_0x52a63a(0x18a)](_0x37e741[_0x52a63a(0x123)](clean,_0x445c24));else _0x37e741[_0x52a63a(0x147)](_0x445c24['state'],_0x37e741[_0x52a63a(0x197)])?_0x227820[_0x224049][_0x37e741[_0x52a63a(0x210)]]['push'](_0x37e741[_0x52a63a(0x133)](clean,_0x445c24)):_0x227820[_0x224049][_0x37e741[_0x52a63a(0x18e)]][_0x52a63a(0x18a)](_0x37e741[_0x52a63a(0x123)](clean,_0x445c24));});});if(_0x39f8c8[_0x3b126b(0x160)])try{logger['debug'](_0x37e741[_0x3b126b(0x201)],_0x39f8c8[_0x3b126b(0x160)]),fs[_0x3b126b(0x1cd)](_0x39f8c8['output'],JSON[_0x3b126b(0x1c4)](_0x227820,null,0x3));}catch(_0x2da0ca){logger[_0x3b126b(0x132)](_0x37e741[_0x3b126b(0x1b1)],_0x39f8c8['output']),logger['debug'](_0x2da0ca);}else logger[_0x3b126b(0x203)](_0x37e741['pVDAe']),console[_0x3b126b(0x21d)](JSON['stringify'](_0x227820,null,0x3));}else{if(_0x37e741['wrOVi'](_0x6e954f,_0x37e741['EfJXE'])){let _0x102750;const _0x2531be=_0x37e741[_0x3b126b(0x189)];_0x39f8c8&&(_0x102750=_0x39f8c8[_0x3b126b(0x215)]);_0x102750=_0x37e741[_0x3b126b(0x1a0)](_0x102750,_0x2531be);let _0x4fa36e=0x0,_0x3b72f1=0x0,_0x8d0301=0x0,_0x26a84c=0x0;_0x458d57['forEach'](_0x5b4805=>{const _0x4a5171=_0x3b126b,_0x547852={'dEMxE':function(_0x3da364,_0x10e67d){const _0x1d2a98=a32_0x3e1a;return _0x37e741[_0x1d2a98(0x175)](_0x3da364,_0x10e67d);},'gkxba':_0x37e741[_0x4a5171(0x1a1)],'bpxTR':function(_0x1668e0,_0x2d8cd2){return _0x37e741['mRvUK'](_0x1668e0,_0x2d8cd2);},'WuFXP':_0x37e741[_0x4a5171(0x197)],'LSRLm':function(_0x45895d,_0x27ac25){const _0x3aeec1=_0x4a5171;return _0x37e741[_0x3aeec1(0x1a4)](_0x45895d,_0x27ac25);}};_0x1b707f[_0x5b4805][_0x37e741[_0x4a5171(0x22d)]][_0x4a5171(0x139)](_0x243120=>{const _0x25feb1=_0x4a5171;if(_0x547852[_0x25feb1(0x129)](_0x243120[_0x25feb1(0x173)],_0x547852[_0x25feb1(0x20f)]))_0x4fa36e++;else _0x547852[_0x25feb1(0x1c6)](_0x243120[_0x25feb1(0x173)],_0x547852[_0x25feb1(0x1fe)])&&_0x3b72f1++;_0x8d0301++,_0x26a84c+=_0x547852[_0x25feb1(0x11c)](_0x243120[_0x25feb1(0x153)],0x1);});}),_0x37e741[_0x3b126b(0x1cc)](xunitWrite,_0x37e741[_0x3b126b(0x15e)](tag,_0x37e741[_0x3b126b(0x222)],{'name':_0x102750,'tests':_0x8d0301,'failures':0x0,'errors':_0x3b72f1,'skipped':_0x37e741[_0x3b126b(0x18c)](_0x37e741[_0x3b126b(0x204)](_0x8d0301,_0x3b72f1),_0x4fa36e),'timestamp':new Date()[_0x3b126b(0x219)](),'time':_0x37e741['mxuZX'](_0x26a84c,0x3e8)||0x0},![])),_0x458d57[_0x3b126b(0x139)](_0x1783f1=>{const _0x25e29b=_0x3b126b;_0x1b707f[_0x1783f1][_0x37e741[_0x25e29b(0x22d)]][_0x25e29b(0x139)](_0x596599=>{const _0x24a287=_0x25e29b;_0x37e741[_0x24a287(0x195)](xunitTest,_0x596599,_0x1783f1);});}),_0x37e741[_0x3b126b(0x155)](xunitWrite,_0x37e741[_0x3b126b(0x131)]);if(_0x39f8c8['output'])try{logger[_0x3b126b(0x203)](_0x37e741[_0x3b126b(0x226)],_0x39f8c8[_0x3b126b(0x160)]),fs['writeFileSync'](_0x39f8c8[_0x3b126b(0x160)],xunitContent);}catch(_0x40ce9d){logger[_0x3b126b(0x132)](_0x37e741[_0x3b126b(0x1e2)],_0x39f8c8['output']),logger['debug'](_0x40ce9d);}else logger[_0x3b126b(0x203)](_0x37e741[_0x3b126b(0x216)]),console[_0x3b126b(0x21d)](xunitContent);}else{if(_0x37e741['BeeZE'](_0x3fb911,0x0))return;console[_0x3b126b(0x21d)](),logger['debug'](_0x37e741[_0x3b126b(0x13e)]),console['log'](chalk[_0x3b126b(0x1e8)]['bgRedBright'](_0x37e741[_0x3b126b(0x15f)])),_0x458d57['forEach'](_0x3681dc=>{const _0x3c285f=_0x3b126b,_0xe55a34={'UlxFu':function(_0x315697,_0xd65ea3){const _0x5ee5c1=a32_0x3e1a;return _0x37e741[_0x5ee5c1(0x175)](_0x315697,_0xd65ea3);},'KgkHb':_0x37e741[_0x3c285f(0x197)]},_0x2f00ec=[];_0x1b707f[_0x3681dc][_0x37e741['zhdZO']]['forEach'](_0x35a3d6=>{const _0x3cf9a1=_0x3c285f;_0xe55a34['UlxFu'](_0x35a3d6['state'],_0xe55a34[_0x3cf9a1(0x141)])&&(_0x35a3d6[_0x3cf9a1(0x20a)]=()=>_0x35a3d6[_0x3cf9a1(0x223)],_0x2f00ec['push'](_0x35a3d6));}),_0x37e741[_0x3c285f(0x13c)](_0x2f00ec[_0x3c285f(0x17c)],0x0)&&(Base[_0x3c285f(0x19d)](),Base[_0x3c285f(0x19d)](_0x37e741[_0x3c285f(0x1d1)](_0x399ff2),chalk[_0x3c285f(0x1e8)][_0x3c285f(0x213)](_0x3681dc)),Base['list'](_0x2f00ec));});}}}async function run(_0x236600,_0x5cc8c1,_0x1df567){const _0x36418c=a32_0x35c62d,_0x2ebb4a={'VnJfi':function(_0x4745c8,_0x2ac27f,_0x232bf2,_0x1b027a){return _0x4745c8(_0x2ac27f,_0x232bf2,_0x1b027a);},'xCiDK':_0x36418c(0x1d2),'LgTCr':_0x36418c(0x1af),'dvoUH':_0x36418c(0x128),'aXWCF':function(_0x461b91,_0x1ebbd4,_0x2835b6,_0xe48201){return _0x461b91(_0x1ebbd4,_0x2835b6,_0xe48201);},'CgZhC':'mocha','PVVoP':function(_0x4ec8c0,_0x253f43){return _0x4ec8c0!=_0x253f43;},'phwNP':_0x36418c(0x196),'ypVxA':_0x36418c(0x17f),'iMXdm':_0x36418c(0x145),'cPimE':_0x36418c(0x21e),'sWOqT':function(_0xc1cbd3,_0xb06aa4){return _0xc1cbd3(_0xb06aa4);},'UXJlu':function(_0x17ae8a,_0x36af16,_0x1c889b){return _0x17ae8a(_0x36af16,_0x1c889b);},'uFUQC':_0x36418c(0x178),'kFAMT':_0x36418c(0x186),'DcGhu':_0x36418c(0x1ae),'EkTkC':_0x36418c(0x15a),'FqLHz':'Running\x20your\x20mocha\x20tests','QkaJZ':'Now,\x20showing\x20logs\x20from\x20mocha','gTZrX':function(_0x1b10f5,_0x50c1e0,_0x1553ca,_0x50ef68){return _0x1b10f5(_0x50c1e0,_0x1553ca,_0x50ef68);},'kKraP':function(_0x2364a1,_0x1f6f0c){return _0x2364a1*_0x1f6f0c;},'nvDQD':function(_0x1922de,_0x4cfa57){return _0x1922de(_0x4cfa57);},'WIyXi':function(_0x177cb2,_0x38d776){return _0x177cb2!==_0x38d776;}};helper[_0x36418c(0x1ca)](_0x1df567[_0x36418c(0x1b4)],_0x236600),await _0x1df567[_0x36418c(0x134)](_0x236600);helper[_0x36418c(0x12e)]()?await helper['handleApp'](_0x1df567[_0x36418c(0x1b8)]):await _0x1df567['setupTCGAuth']();const _0x55ef69=[];let _0x5ecc52=[];if(!_0x1df567[_0x36418c(0x1b8)])return;!helper[_0x36418c(0x15b)](_0x1df567['config'][_0x36418c(0x16a)])&&(process[_0x36418c(0x184)][_0x36418c(0x169)]=JSON[_0x36418c(0x1c4)](_0x1df567['config'][_0x36418c(0x16a)]));const _0x13f07f=await TestHubHandler['launchBuild'](FRAMEWORKS[_0x36418c(0x1a3)],_0x1df567);_0x2ebb4a['PVVoP'](_0x1df567[_0x36418c(0x1b8)][_0x36418c(0x1ee)],null)&&(process[_0x36418c(0x184)][_0x36418c(0x1bb)]=_0x1df567[_0x36418c(0x1b8)][_0x36418c(0x1ee)]);!helper['isUndefined'](_0x1df567[_0x36418c(0x1b8)][_0x36418c(0x1c8)])&&(process['env'][_0x36418c(0x202)]=_0x1df567['config']['accessibility']);const {extension:extension=['js',_0x2ebb4a[_0x36418c(0x11b)],_0x2ebb4a[_0x36418c(0x1a7)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x2ebb4a['iMXdm']]}=_0x236600,_0x19b964={..._0x236600};_0x19b964['rootHooks']=null;const _0x511bcc=_0x19b964;let _0x33a35e;if(testOpsHelper[_0x36418c(0x16e)]()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0x1f9e7d=process['env'][_0x36418c(0x1a8)];!helper[_0x36418c(0x15b)](_0x1df567[_0x36418c(0x1d8)])&&_0x1df567['cliConfig'][_0x36418c(0x180)](_0x2ebb4a[_0x36418c(0x17d)])&&(_0x1f9e7d=_0x1df567[_0x36418c(0x1d8)]['get'](_0x2ebb4a[_0x36418c(0x17d)])),_0x33a35e=testOpsHelper[_0x36418c(0x152)](_0x1f9e7d);}if(helper['isUndefined'](_0x33a35e)){const _0x4854b5={};_0x4854b5[_0x36418c(0x13b)]=ignore,_0x4854b5['extension']=extension,_0x4854b5[_0x36418c(0x168)]=file,_0x4854b5[_0x36418c(0x1c3)]=recursive,_0x4854b5[_0x36418c(0x21b)]=sort,_0x4854b5[_0x36418c(0x188)]=spec,_0x33a35e=_0x2ebb4a[_0x36418c(0x1c1)](collectFiles,_0x4854b5),_0x2ebb4a[_0x36418c(0x1ed)](nestedKeyValue,_0x33a35e,[_0x2ebb4a[_0x36418c(0x1ac)]])&&(_0x33a35e=_0x33a35e['files']);}const _0xefefd4=helper[_0x36418c(0x148)](_0x1df567['config']);!helper[_0x36418c(0x22c)](_0xefefd4)&&helper['isNotUndefined'](_0xefefd4[_0x36418c(0x14a)])&&(_0x511bcc[_0x36418c(0x187)]=_0xefefd4[_0x36418c(0x14a)][_0x36418c(0x1bc)]);if(!helper[_0x36418c(0x12e)]()){const _0x5aa35b=0x1,_0x112187={..._0x511bcc};_0x112187['spec']=[..._0x33a35e],_0x55ef69[_0x36418c(0x18a)]({'mochaOpts':_0x112187,'configuration':{'platform':os[_0x36418c(0x1e3)]()}});if(_0x1df567[_0x36418c(0x1b8)]['accessibility']){const _0x3ccec8={};_0x3ccec8[_0x36418c(0x1c8)]=!![];const _0x20a2c4=_0x3ccec8;_0x2ebb4a[_0x36418c(0x224)](_0x1df567[_0x36418c(0x1b8)][_0x36418c(0x16a)],null)&&(_0x20a2c4[_0x36418c(0x16a)]=_0x1df567[_0x36418c(0x1b8)][_0x36418c(0x16a)],delete _0x20a2c4['accessibilityOptions'][_0x2ebb4a[_0x36418c(0x163)]],delete _0x20a2c4[_0x36418c(0x16a)][_0x2ebb4a['DcGhu']],delete _0x20a2c4['accessibilityOptions'][_0x2ebb4a['EkTkC']]);const _0x2bf5f3={};_0x2bf5f3['bstack:options']=_0x20a2c4,_0x55ef69[0x0]['configuration']['capability']=_0x2bf5f3;}logger[_0x36418c(0x192)](_0x2ebb4a[_0x36418c(0x214)]),logger['info'](_0x2ebb4a[_0x36418c(0x228)]),_0x2ebb4a[_0x36418c(0x121)](parallelTestRun,_0x55ef69,_0x5aa35b,_0x1df567)[_0x36418c(0x21c)](_0x12bd8e=>{const _0x16b215=_0x36418c;PerformanceTester[_0x16b215(0x127)](PerformanceEvents[_0x16b215(0x1cb)]),_0x2ebb4a[_0x16b215(0x181)](printStats,_0x12bd8e,_0x236600[_0x16b215(0x1c9)],_0x236600['reporterOptions']||_0x236600[_0x2ebb4a[_0x16b215(0x1c5)]]);})[_0x36418c(0x18d)](()=>{const _0x1f3830=_0x36418c;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']);try{const {browserstackFolderPath:_0x4cdb14,tcgConfigPath:_0x34c3af}=helper[_0x1f3830(0x12b)]();fs[_0x1f3830(0x1f4)](_0x34c3af),fs[_0x1f3830(0x1f9)](_0x4cdb14);}catch(_0x5975d5){logger['debug'](_0x2ebb4a[_0x1f3830(0x198)],_0x5975d5);}try{utilities[_0x1f3830(0x18f)](_0x2ebb4a[_0x1f3830(0x17a)],{},_0x1df567[_0x1f3830(0x1b8)],_0x1df567[_0x1f3830(0x1b4)]);}catch(_0x3bea15){logger['debug'](_0x1f3830(0x149)+_0x3bea15[_0x1f3830(0x1d4)]);}try{helper[_0x1f3830(0x1f0)]();}catch(_0x236d12){logger[_0x1f3830(0x203)](_0x1f3830(0x122)+_0x236d12);}testOpsHelper['printBuildLink']();});}else{const _0x4da5bd=helper[_0x36418c(0x1fa)](_0x1df567[_0x36418c(0x1b8)]);let _0x5b5fae=helper[_0x36418c(0x1b3)](_0x1df567['config']);_0x5ecc52=helper[_0x36418c(0x193)](_0x1df567[_0x36418c(0x1b8)],_0x4da5bd,constants[_0x36418c(0x20c)]['MOCHA']);helper[_0x36418c(0x227)]()[_0x36418c(0x16f)]&&(_0x5b5fae=centralScannerConstants[_0x36418c(0x20e)]);let _0x8f5f42;const _0x42dfaa=_0x1df567[_0x36418c(0x1b8)][_0x36418c(0x1f7)]||helper[_0x36418c(0x185)](_0x236600,_0x5cc8c1,_0x1df567[_0x36418c(0x1b8)],constants[_0x36418c(0x20c)][_0x36418c(0x1a3)])||0x1;helper[_0x36418c(0x14c)](_0x1df567[_0x36418c(0x1b8)])?_0x8f5f42=_0x2ebb4a[_0x36418c(0x211)](_0x1df567[_0x36418c(0x1b8)][_0x36418c(0x1f8)]['length'],_0x42dfaa):_0x8f5f42=_0x42dfaa;const _0x157253=_0x2ebb4a[_0x36418c(0x11e)](getPercyOptions,_0x1df567[_0x36418c(0x1b8)]);if(_0x2ebb4a['WIyXi'](_0x1df567[_0x36418c(0x1b8)][_0x36418c(0x1f7)],0x1))_0x33a35e[_0x36418c(0x139)](_0x2eb952=>{const _0x259a05=_0x36418c,_0x27e1a2=[];_0x5ecc52[_0x259a05(0x139)]((_0x11c00b,_0xf542b6)=>{const _0x71c78a=_0x259a05,_0x13dec={};_0x13dec[_0x71c78a(0x188)]=[_0x2eb952],_0x27e1a2[_0x71c78a(0x18a)]({'mochaOpts':Object['assign']({},_0x511bcc,_0x13dec),'configuration':{'server':_0x5b5fae,'capability':_0x11c00b,'proxySettings':_0x1df567[_0x71c78a(0x1b8)][_0x71c78a(0x1d0)],'platform':helper[_0x71c78a(0x1e5)](_0x11c00b),'browserStackLogLevel':_0x1df567[_0x71c78a(0x1b8)][_0x71c78a(0x120)],'platformIndex':_0xf542b6,'browserStackPercyOptions':_0x157253,'platformCaps':Object['assign']({'index':_0xf542b6},_0x1df567[_0x71c78a(0x1b8)][_0x71c78a(0x1f8)][_0xf542b6])}});}),_0x55ef69[_0x259a05(0x18a)](..._0x27e1a2);});else{const _0x1db1c8=[];_0x5ecc52[_0x36418c(0x139)]((_0x4c9f9e,_0x344819)=>{const _0x2c3409=_0x36418c;let _0x39a52b=Object['assign']({},_0x511bcc);testOpsHelper[_0x2c3409(0x16e)]()&&testOpsHelper['shouldReRunObservabilityTests']()&&(_0x39a52b={..._0x39a52b,'spec':[..._0x33a35e]}),_0x1db1c8[_0x2c3409(0x18a)]({'mochaOpts':_0x39a52b,'configuration':{'server':_0x5b5fae,'capability':_0x4c9f9e,'proxySettings':_0x1df567[_0x2c3409(0x1b8)][_0x2c3409(0x1d0)],'platform':helper[_0x2c3409(0x1e5)](_0x4c9f9e),'browserStackLogLevel':_0x1df567[_0x2c3409(0x1b8)]['logLevel'],'platformIndex':_0x344819,'browserStackPercyOptions':_0x157253,'platformCaps':Object[_0x2c3409(0x13d)]({'index':_0x344819},_0x1df567[_0x2c3409(0x1b8)][_0x2c3409(0x1f8)][_0x344819])}});}),_0x55ef69[_0x36418c(0x18a)](..._0x1db1c8);}logger[_0x36418c(0x192)](_0x36418c(0x1ba)+_0x1df567['config'][_0x36418c(0x1f8)][_0x36418c(0x17c)]+'\x20platforms'),logger[_0x36418c(0x192)](_0x2ebb4a[_0x36418c(0x228)]);let _0x485186;_0x2ebb4a[_0x36418c(0x181)](parallelTestRun,_0x55ef69,_0x8f5f42,_0x1df567)[_0x36418c(0x21c)](_0x5e618b=>{const _0x2806e4=_0x36418c;PerformanceTester[_0x2806e4(0x127)](PerformanceEvents[_0x2806e4(0x1cb)]),_0x485186=_0x5e618b,_0x2ebb4a['aXWCF'](printStats,_0x5e618b,_0x236600[_0x2806e4(0x1c9)],_0x236600[_0x2806e4(0x159)]||_0x236600[_0x2ebb4a[_0x2806e4(0x1c5)]]);})[_0x36418c(0x18d)](async()=>{const _0x30d7ef=_0x36418c;PerformanceTester['start'](PerformanceEvents[_0x30d7ef(0x1cb)]),_0x1df567[_0x30d7ef(0x1db)]=helper[_0x30d7ef(0x157)](_0x485186,_0x2ebb4a[_0x30d7ef(0x1c7)]),await utilities[_0x30d7ef(0x1ec)](_0x1df567),testOpsHelper[_0x30d7ef(0x135)]();});}}module[a32_0x35c62d(0x1dc)]=run;
|