browserstack-node-sdk 1.52.1 → 1.52.3

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.
Files changed (193) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +5 -5
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/puppeteer/patches.js +1 -1
  90. package/src/bin/puppeteer/sessionDetails.js +1 -1
  91. package/src/bin/puppeteer/test.setup.js +1 -1
  92. package/src/bin/runner.js +1 -1
  93. package/src/bin/setup.js +1 -1
  94. package/src/bin/test-runner/index.js +1 -1
  95. package/src/bin/test-runner/runTest.js +1 -1
  96. package/src/bin/test-runner/testWorker.js +1 -1
  97. package/src/bin/utils/apiUtilityMethods.js +1 -1
  98. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  99. package/src/bin/utils/constants.js +1 -1
  100. package/src/bin/utils/log4jsAppender.js +1 -1
  101. package/src/bin/utils/logPatcher.js +1 -1
  102. package/src/bin/utils/logReportingAPI.js +1 -1
  103. package/src/bin/utils/playwright-patcher.js +1 -1
  104. package/src/bin/utils/puppeteer-patcher.js +1 -1
  105. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  106. package/src/bin/utils/sharedUtils.js +1 -1
  107. package/src/bin/v2/TestInfo.js +1 -1
  108. package/src/bin/v2/browserstackCLI.js +1 -1
  109. package/src/bin/v2/cliUtils.js +1 -1
  110. package/src/bin/v2/customTagManager.js +1 -1
  111. package/src/bin/v2/eventDispatcher.js +1 -1
  112. package/src/bin/v2/framework/automationFramework.js +1 -1
  113. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  114. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  115. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  116. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  117. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  118. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  119. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  120. package/src/bin/v2/framework/testFramework.js +1 -1
  121. package/src/bin/v2/grpcClient.js +1 -1
  122. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  123. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  124. package/src/bin/v2/instances/trackedContext.js +1 -1
  125. package/src/bin/v2/instances/trackedInstance.js +1 -1
  126. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  127. package/src/bin/v2/modules/baseModule.js +1 -1
  128. package/src/bin/v2/modules/loadTestModule.js +1 -1
  129. package/src/bin/v2/modules/observabilityModule.js +1 -1
  130. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  131. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  132. package/src/bin/v2/modules/testhubModule.js +1 -1
  133. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  134. package/src/bin/v2/state/hookState.js +1 -1
  135. package/src/bin/v2/state/testFrameworkState.js +1 -1
  136. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  137. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  138. package/src/bin/v2/utils/jest-utils.js +1 -1
  139. package/src/bin/vanilla-js/command.js +1 -1
  140. package/src/browserStackSdk.js +1 -1
  141. package/src/helpers/BrowserStackSetup.js +1 -1
  142. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  143. package/src/helpers/accessibility-automation/constants.js +1 -1
  144. package/src/helpers/accessibility-automation/helper.js +1 -1
  145. package/src/helpers/accessibility-automation/scripts.js +1 -1
  146. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  147. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  148. package/src/helpers/ats/constants.js +1 -1
  149. package/src/helpers/ats/helper.js +1 -1
  150. package/src/helpers/capsMapping.js +1 -1
  151. package/src/helpers/central-scanner/constants.js +1 -1
  152. package/src/helpers/central-scanner/helpers.js +1 -1
  153. package/src/helpers/classLogger.js +1 -1
  154. package/src/helpers/globals.js +1 -1
  155. package/src/helpers/helper.js +1 -1
  156. package/src/helpers/logger.js +1 -1
  157. package/src/helpers/metadata.js +1 -1
  158. package/src/helpers/patchHelper.js +1 -1
  159. package/src/helpers/patchHelpers.js +1 -1
  160. package/src/helpers/percy/Percy.js +1 -1
  161. package/src/helpers/percy/PercyBinary.js +1 -1
  162. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  163. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  164. package/src/helpers/percy/PercySDK.js +1 -1
  165. package/src/helpers/percy/index.js +1 -1
  166. package/src/helpers/percy/utils.js +1 -1
  167. package/src/helpers/performance/constants.js +1 -1
  168. package/src/helpers/performance/performance-tester.js +1 -1
  169. package/src/helpers/playwright-helper.js +1 -1
  170. package/src/helpers/processHelper.js +1 -1
  171. package/src/helpers/puppeteer-helper.js +1 -1
  172. package/src/helpers/request-spy.js +1 -1
  173. package/src/helpers/setKeepAlive.js +1 -1
  174. package/src/helpers/test-observability/constants.js +1 -1
  175. package/src/helpers/test-observability/error-handler.js +1 -1
  176. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  177. package/src/helpers/test-observability/sessionHandler.js +1 -1
  178. package/src/helpers/test-observability/utils.js +1 -1
  179. package/src/helpers/test-orchestration/constants.js +1 -1
  180. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  181. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  182. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  183. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  184. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  185. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  186. package/src/helpers/testhub/constants.js +1 -1
  187. package/src/helpers/testhub/testhubHandler.js +1 -1
  188. package/src/helpers/testhub/utils.js +1 -1
  189. package/src/helpers/timeoutPromise.js +1 -1
  190. package/src/helpers/utilities.js +1 -1
  191. package/src/helpers/w3cMapping.js +1 -1
  192. package/src/hubAllocationMethods.js +1 -1
  193. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a27_0x294f(_0x435b1b,_0x41c058){const _0x45e7a2=a27_0x45e7();return a27_0x294f=function(_0x294fca,_0x3f8dc2){_0x294fca=_0x294fca-0x133;let _0x9d931e=_0x45e7a2[_0x294fca];return _0x9d931e;},a27_0x294f(_0x435b1b,_0x41c058);}function a27_0x45e7(){const _0x2f93d2=['4627378KhReTo','setConfig','testsAmbiguous','testsPending','17845PQgKoA','DNvne','_configuration','_accessibilityAutomation','../../helpers/helper','testsPassed','8229056SVahqN','capability','OBOfE','_testObservability','_formatter','../../helpers/performance/performance-tester','57998HeilNp','__platform__','_capability','EVENTS','platformCaps','testsUndefined','resolvePaths','setFramework','formatter','testsErrorMessage','WZuCe','_framework','AI_ENABLED_FRAMEWORK','2375920zfKzpt','path','1489926VtzOqw','../../helpers/ai-sdk/autoHealHelper','testSuitesFailed','../utils/clientTroubleshootingService','testsSkipped','6|4|17|19|8|2|14|21|5|0|20|15|13|10|3|16|12|18|23|22|7|9|11|1','platform','../utils/constants','../../helpers/test-observability/requestQueueHandler','_argv','50KddTfu','4742730qGGoie','mochaOpts','setupCucumber','split','90DTXLOM','23pZAvFr','testSuites','../../helpers/performance/constants'];a27_0x45e7=function(){return _0x2f93d2;};return a27_0x45e7();}const a27_0x12daed=a27_0x294f;(function(_0x62d876,_0xa1c15f){const _0x5d7046=a27_0x294f,_0x5eb097=_0x62d876();while(!![]){try{const _0x4f236e=parseInt(_0x5d7046(0x146))/0x1*(-parseInt(_0x5d7046(0x159))/0x2)+-parseInt(_0x5d7046(0x136))/0x3+-parseInt(_0x5d7046(0x134))/0x4+parseInt(_0x5d7046(0x14d))/0x5*(parseInt(_0x5d7046(0x145))/0x6)+parseInt(_0x5d7046(0x149))/0x7+-parseInt(_0x5d7046(0x153))/0x8+-parseInt(_0x5d7046(0x141))/0x9*(-parseInt(_0x5d7046(0x140))/0xa);if(_0x4f236e===_0xa1c15f)break;else _0x5eb097['push'](_0x5eb097['shift']());}catch(_0x3174dd){_0x5eb097['push'](_0x5eb097['shift']());}}}(a27_0x45e7,0x89808));const path=require(a27_0x12daed(0x135)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a27_0x12daed(0x151)),constants=require(a27_0x12daed(0x13d)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),RequestQueueHandler=require(a27_0x12daed(0x13e)),{isTestObservabilitySession}=require('../../helpers/test-observability/utils'),helper=require('../../helpers/helper'),PerformanceTester=require(a27_0x12daed(0x158)),PerformanceEvents=require(a27_0x12daed(0x148))[a27_0x12daed(0x15c)],{commandRepository}=require(a27_0x12daed(0x137)),BrowserstackCLI=require('../v2/browserstackCLI'),ClientTroubleShootingService=require(a27_0x12daed(0x139));class Launcher{constructor(_0x3f3a1a,_0x2fc881,_0x581e40,_0x56f343=[]){const _0x4df358=a27_0x12daed,_0x2d07cf={'DNvne':_0x4df358(0x13b),'OBOfE':function(_0x4a7b14){return _0x4a7b14();},'WZuCe':function(_0x9084bd){return _0x9084bd();}},_0x1fd4c5=_0x2d07cf[_0x4df358(0x14e)][_0x4df358(0x144)]('|');let _0x5d2ef5=0x0;while(!![]){switch(_0x1fd4c5[_0x5d2ef5++]){case'0':this[_0x4df358(0x156)]=_0x2d07cf[_0x4df358(0x155)](isTestObservabilitySession);continue;case'1':!constants[_0x4df358(0x133)]['includes'](_0x3f3a1a)&&(commandRepository[_0x4df358(0x14a)](_0x581e40),commandRepository[_0x4df358(0x160)](_0x3f3a1a));continue;case'2':this[_0x4df358(0x15b)]=this[_0x4df358(0x14f)][_0x4df358(0x154)];continue;case'3':global[_0x4df358(0x152)]=0x0;continue;case'4':this[_0x4df358(0x14f)]=_0x2fc881['configuration']||{};continue;case'5':this['_bsConfig']=_0x581e40;continue;case'6':this[_0x4df358(0x164)]=_0x3f3a1a;continue;case'7':global['testsUnknown']=0x0;continue;case'8':this[_0x4df358(0x157)]=_0x2fc881[_0x4df358(0x161)];continue;case'9':global[_0x4df358(0x14b)]=0x0;continue;case'10':global['totalTests']=0x0;continue;case'11':global[_0x4df358(0x162)]={};continue;case'12':global[_0x4df358(0x14c)]=0x0;continue;case'13':global[_0x4df358(0x147)]=0x0;continue;case'14':global[_0x4df358(0x15a)]=this[_0x4df358(0x14f)][_0x4df358(0x13c)];continue;case'15':global['__platformCaps']=this[_0x4df358(0x14f)][_0x4df358(0x15d)]||{};continue;case'16':global['testsFailed']=0x0;continue;case'17':this[_0x4df358(0x14f)]['framework']=_0x3f3a1a;continue;case'18':global[_0x4df358(0x13a)]=0x0;continue;case'19':this['_mochaOpts']=_0x2fc881[_0x4df358(0x142)];continue;case'20':this[_0x4df358(0x150)]=_0x2d07cf[_0x4df358(0x163)](isAccessibilityAutomationSession);continue;case'21':this[_0x4df358(0x13f)]=_0x56f343;continue;case'22':global[_0x4df358(0x15e)]=0x0;continue;case'23':global[_0x4df358(0x138)]=0x0;continue;}break;}}[a27_0x12daed(0x143)](_0x117c2e,_0x2de346,_0x12c123){const _0x562dac=a27_0x12daed,_0x119f75=_0x117c2e[_0x562dac(0x15f)];_0x117c2e.resolvePaths=async function(){const pathResults=await _0x119f75.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x12c123));return pathResults;};const relativeFormatterPath=path.relative(process.cwd(),path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));const normalizedPath=relativeFormatterPath.startsWith('.')?relativeFormatterPath:`./${relativeFormatterPath}`;_0x2de346.push('--format'),_0x2de346.push(`"${normalizedPath}"`);}run(){return new Promise(async(resolve,reject)=>{PerformanceTester.start(PerformanceEvents.SDK_PRE_TEST);require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js','mocha');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;if(!helper.isUndefined(this._mochaOpts.mochaRequire)){this._mochaOpts.require=this._mochaOpts.mochaRequire;const plugins=await mochaRunHelper.handleRequires([this._mochaOpts.require]);Object.assign(this._mochaOpts,plugins);}const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={};Object.assign(mochaOpts,this._mochaOpts);const reporterOption={};Object.assign(reporterOption,this._mochaOpts.reporterOptions);Object.assign(reporterOption,{type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig});mochaOpts.reporterOption=reporterOption;Object.assign(mochaOpts,{reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout});global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{PerformanceTester.start(PerformanceEvents.SDK_POST_TEST);if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{PerformanceTester.start(PerformanceEvents.SDK_POST_TEST);await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}PerformanceTester.end(PerformanceEvents.SDK_PRE_TEST);const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;global.capabilities=[this._capability];try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js','@cucumber/cucumber');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js','cucumber');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js','@cucumber/cucumber');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js','@cucumber/cucumber');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js','@cucumber/cucumber').default;const relativeFormatterPath=path.relative(process.cwd(),path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));const normalizedPath=relativeFormatterPath.startsWith('.')?relativeFormatterPath:`./${relativeFormatterPath}`;argv.push('--format');argv.push(normalizedPath);}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js','cucumber').default;const relativeFormatterPath=path.relative(process.cwd(),path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));const normalizedPath=relativeFormatterPath.startsWith('.')?relativeFormatterPath:`./${relativeFormatterPath}`;argv.push('--format');argv.push(normalizedPath);hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);process.env.BSTACK_CONFIG=JSON.stringify(this._bsConfig);cucumber.run().then(async output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};await RequestQueueHandler.getInstance().shutdown();resolve(_results);}).catch(async er=>{await RequestQueueHandler.getInstance().shutdown();reject(er);});}else if(this._framework==='vanilla'){global.capabilities=[this._capability];process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);await BrowserstackCLI.getInstance().stop();process.exitCode=1;reject(er);}resolve();}});}}module.exports=Launcher;
1
+ const a27_0x16ef42=a27_0x4674;(function(_0x4e1939,_0x4e5f28){const _0x1cdc08=a27_0x4674,_0x441853=_0x4e1939();while(!![]){try{const _0x5afa8b=parseInt(_0x1cdc08(0x1e1))/0x1*(-parseInt(_0x1cdc08(0x1db))/0x2)+-parseInt(_0x1cdc08(0x1dd))/0x3*(parseInt(_0x1cdc08(0x1eb))/0x4)+parseInt(_0x1cdc08(0x1c3))/0x5+parseInt(_0x1cdc08(0x1d4))/0x6*(-parseInt(_0x1cdc08(0x1df))/0x7)+-parseInt(_0x1cdc08(0x1c2))/0x8+parseInt(_0x1cdc08(0x1e2))/0x9+parseInt(_0x1cdc08(0x1da))/0xa;if(_0x5afa8b===_0x4e5f28)break;else _0x441853['push'](_0x441853['shift']());}catch(_0x3cc079){_0x441853['push'](_0x441853['shift']());}}}(a27_0x1015,0x8da3f));const path=require('path'),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a27_0x16ef42(0x1ea)),constants=require(a27_0x16ef42(0x1e3)),{isAccessibilityAutomationSession}=require(a27_0x16ef42(0x1e0)),RequestQueueHandler=require(a27_0x16ef42(0x1d9)),{isTestObservabilitySession}=require('../../helpers/test-observability/utils'),helper=require(a27_0x16ef42(0x1ea)),PerformanceTester=require(a27_0x16ef42(0x1e5)),PerformanceEvents=require('../../helpers/performance/constants')[a27_0x16ef42(0x1ce)],{commandRepository}=require('../../helpers/ai-sdk/autoHealHelper'),BrowserstackCLI=require(a27_0x16ef42(0x1e9)),ClientTroubleShootingService=require(a27_0x16ef42(0x1dc));function a27_0x1015(){const _0xf45bf2=['../../helpers/performance/performance-tester','setConfig','resolvePaths','_mochaOpts','../v2/browserstackCLI','../../helpers/helper','424lhxRrd','testsUndefined','3710624fVFWJM','1199510ooqxqH','mochaOpts','includes','configuration','_formatter','_capability','setFramework','split','testsPending','formatter','_accessibilityAutomation','EVENTS','bVYCt','platform','platformCaps','testSuitesFailed','PiGmx','611178vMuvxW','_configuration','totalTests','AI_ENABLED_FRAMEWORK','testsUnknown','../../helpers/test-observability/requestQueueHandler','33427650cYTYgn','2sTdnuL','../utils/clientTroubleshootingService','31731MdQMOW','testsSkipped','77NfPjyT','../../helpers/accessibility-automation/helper','501175pNOIHN','1837350rxKuiu','../utils/constants','__platformCaps'];a27_0x1015=function(){return _0xf45bf2;};return a27_0x1015();}function a27_0x4674(_0x478406,_0x4f72eb){const _0x101536=a27_0x1015();return a27_0x4674=function(_0x467485,_0xdf95df){_0x467485=_0x467485-0x1c2;let _0x2e193c=_0x101536[_0x467485];return _0x2e193c;},a27_0x4674(_0x478406,_0x4f72eb);}class Launcher{constructor(_0x444334,_0x315cd5,_0x452682,_0x33f8a0=[]){const _0x5364aa=a27_0x16ef42,_0x2bde55={'PiGmx':'23|11|17|0|2|19|21|4|9|1|22|13|20|18|15|6|5|7|12|10|8|3|14|16','bVYCt':function(_0x39a833){return _0x39a833();},'FhMXm':function(_0x1e7c51){return _0x1e7c51();}},_0x5bc237=_0x2bde55[_0x5364aa(0x1d3)][_0x5364aa(0x1ca)]('|');let _0x2623c9=0x0;while(!![]){switch(_0x5bc237[_0x2623c9++]){case'0':this[_0x5364aa(0x1e8)]=_0x315cd5[_0x5364aa(0x1c4)];continue;case'1':this['_testObservability']=_0x2bde55[_0x5364aa(0x1cf)](isTestObservabilitySession);continue;case'2':this[_0x5364aa(0x1c7)]=_0x315cd5[_0x5364aa(0x1cc)];continue;case'3':global['testsAmbiguous']=0x0;continue;case'4':this['_argv']=_0x33f8a0;continue;case'5':global[_0x5364aa(0x1cb)]=0x0;continue;case'6':global['testsFailed']=0x0;continue;case'7':global[_0x5364aa(0x1de)]=0x0;continue;case'8':global[_0x5364aa(0x1d8)]=0x0;continue;case'9':this['_bsConfig']=_0x452682;continue;case'10':global[_0x5364aa(0x1ec)]=0x0;continue;case'11':this[_0x5364aa(0x1d5)]=_0x315cd5[_0x5364aa(0x1c6)]||{};continue;case'12':global[_0x5364aa(0x1d2)]=0x0;continue;case'13':global[_0x5364aa(0x1e4)]=this[_0x5364aa(0x1d5)][_0x5364aa(0x1d1)]||{};continue;case'14':global['testsErrorMessage']={};continue;case'15':global['testsPassed']=0x0;continue;case'16':!constants[_0x5364aa(0x1d7)][_0x5364aa(0x1c5)](_0x444334)&&(commandRepository[_0x5364aa(0x1e6)](_0x452682),commandRepository[_0x5364aa(0x1c9)](_0x444334));continue;case'17':this[_0x5364aa(0x1d5)]['framework']=_0x444334;continue;case'18':global[_0x5364aa(0x1d6)]=0x0;continue;case'19':this[_0x5364aa(0x1c8)]=this[_0x5364aa(0x1d5)]['capability'];continue;case'20':global['testSuites']=0x0;continue;case'21':global['__platform__']=this[_0x5364aa(0x1d5)][_0x5364aa(0x1d0)];continue;case'22':this[_0x5364aa(0x1cd)]=_0x2bde55['FhMXm'](isAccessibilityAutomationSession);continue;case'23':this['_framework']=_0x444334;continue;}break;}}['setupCucumber'](_0xaf88f7,_0x4e37f2,_0x213106){const _0x4cce70=a27_0x16ef42,_0x5911e0=_0xaf88f7[_0x4cce70(0x1e7)];_0xaf88f7.resolvePaths=async function(){const pathResults=await _0x5911e0.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x213106));return pathResults;};const relativeFormatterPath=path.relative(process.cwd(),path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));const normalizedPath=relativeFormatterPath.startsWith('.')?relativeFormatterPath:`./${relativeFormatterPath}`;_0x4e37f2.push('--format'),_0x4e37f2.push(`"${normalizedPath}"`);}run(){return new Promise(async(resolve,reject)=>{PerformanceTester.start(PerformanceEvents.SDK_PRE_TEST);require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js','mocha');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;if(!helper.isUndefined(this._mochaOpts.mochaRequire)){this._mochaOpts.require=this._mochaOpts.mochaRequire;const plugins=await mochaRunHelper.handleRequires([this._mochaOpts.require]);Object.assign(this._mochaOpts,plugins);}const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={};Object.assign(mochaOpts,this._mochaOpts);const reporterOption={};Object.assign(reporterOption,this._mochaOpts.reporterOptions);Object.assign(reporterOption,{type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig});mochaOpts.reporterOption=reporterOption;Object.assign(mochaOpts,{reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout});global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{PerformanceTester.start(PerformanceEvents.SDK_POST_TEST);if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{PerformanceTester.start(PerformanceEvents.SDK_POST_TEST);await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}PerformanceTester.end(PerformanceEvents.SDK_PRE_TEST);const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;global.capabilities=[this._capability];try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js','@cucumber/cucumber');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js','cucumber');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js','@cucumber/cucumber');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js','@cucumber/cucumber');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js','@cucumber/cucumber').default;const relativeFormatterPath=path.relative(process.cwd(),path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));const normalizedPath=relativeFormatterPath.startsWith('.')?relativeFormatterPath:`./${relativeFormatterPath}`;argv.push('--format');argv.push(normalizedPath);}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js','cucumber').default;const relativeFormatterPath=path.relative(process.cwd(),path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));const normalizedPath=relativeFormatterPath.startsWith('.')?relativeFormatterPath:`./${relativeFormatterPath}`;argv.push('--format');argv.push(normalizedPath);hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);process.env.BSTACK_CONFIG=JSON.stringify(this._bsConfig);cucumber.run().then(async output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};await RequestQueueHandler.getInstance().shutdown();resolve(_results);}).catch(async er=>{await RequestQueueHandler.getInstance().shutdown();reject(er);});}else if(this._framework==='vanilla'){global.capabilities=[this._capability];process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);await BrowserstackCLI.getInstance().stop();process.exitCode=1;reject(er);}resolve();}});}}module.exports=Launcher;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a28_0x2aa470=a28_0x448a;function a28_0x3800(){const _0xeb5af1=['error','NmWRh','YHmqd','killed','debug','Received\x20','exports','argv','exit','KFMbs','message','load','3031326JNYXcv','Configuration\x20path:\x20','join','env','MtalW','./loadUtils','pknyv','Error\x20details:\x20','BROWSERSTACK_ACCESS_KEY','tMzry','Authentication\x20incomplete.\x20Please\x20add\x20your\x20userName\x20and\x20accessKey\x20to\x20either\x20the\x20browserstack.yml\x20file\x20or\x20as\x20environment\x20variables,\x20then\x20try\x20running\x20the\x20command\x20again.','stringify','2724100tIxVfh','getCliDir','checkAndUpdateCli','inherit','accessKey','bhHmT','SIGTERM','Waiting\x20for\x20child\x20process\x20to\x20exit...','2351007HRvBuR','Executing\x20load\x20test\x20with\x20arguments:\x20','ZttHe','181822PzsPtV','../../helpers/logger','SIGHUP','36184ZnfShw','WWHJg','Error\x20loading\x20configuration:\x20','iTjif','CzUnx','Failed\x20to\x20download\x20or\x20locate\x20CLI\x20binary','child_process','vqILh','Spawning:\x20','zTZMe','Error\x20Details:\x20','bIVZQ','userName','slice','32OUcTDQ','CLI\x20binary\x20found,\x20Checking\x20for\x20CLI\x20updates','stack','CLI\x20binary\x20not\x20found,\x20downloading\x20latest\x20version','kill',',\x20forwarding\x20to\x20child\x20process...','../v2/cliUtils','eDAWJ','Failed\x20to\x20determine\x20CLI\x20directory','WnWzp','SmiBh','rtpNq','readConfig','BROWSERSTACK_USER','\x20load\x20','6357918jzFzJL','\x20exited\x20with\x20code\x20','10SPxVqF','Failed\x20initiating\x20load\x20test:\x20','1344259kloSfF'];a28_0x3800=function(){return _0xeb5af1;};return a28_0x3800();}(function(_0x1efed8,_0xc773f5){const _0x32c378=a28_0x448a,_0x228f18=_0x1efed8();while(!![]){try{const _0x3d6a6b=parseInt(_0x32c378(0x1e5))/0x1*(-parseInt(_0x32c378(0x1bf))/0x2)+parseInt(_0x32c378(0x1ce))/0x3+-parseInt(_0x32c378(0x1e8))/0x4+parseInt(_0x32c378(0x1da))/0x5+-parseInt(_0x32c378(0x1bd))/0x6+parseInt(_0x32c378(0x1c1))/0x7*(parseInt(_0x32c378(0x1f6))/0x8)+parseInt(_0x32c378(0x1e2))/0x9;if(_0x3d6a6b===_0xc773f5)break;else _0x228f18['push'](_0x228f18['shift']());}catch(_0x2e769a){_0x228f18['push'](_0x228f18['shift']());}}}(a28_0x3800,0x94268));const {spawn}=require(a28_0x2aa470(0x1ee)),path=require('path'),helper=require('../../helpers/helper'),CLIUtils=require(a28_0x2aa470(0x1b4)),{getLoadConfigPath,sleep}=require(a28_0x2aa470(0x1d3)),logger=require(a28_0x2aa470(0x1e6))['winstonLogger'];function a28_0x448a(_0x57a0a8,_0x5a8e0a){const _0x38003b=a28_0x3800();return a28_0x448a=function(_0x448a9e,_0x4194b5){_0x448a9e=_0x448a9e-0x1b2;let _0x48168f=_0x38003b[_0x448a9e];return _0x48168f;},a28_0x448a(_0x57a0a8,_0x5a8e0a);}async function executeLoadTest(_0x29b51b){const _0x171cba=a28_0x2aa470,_0x19e915={'CzUnx':function(_0x2d1742,_0x1c4130){return _0x2d1742(_0x1c4130);},'eDAWJ':'close','TbqSS':_0x171cba(0x1e1),'tMzry':'Loading\x20configuration\x20using\x20environment\x20variables\x20if\x20available.','bIVZQ':function(_0x5eac9e,_0x344788){return _0x5eac9e(_0x344788);},'iTjif':function(_0x383d8f){return _0x383d8f();},'pknyv':_0x171cba(0x1d8),'MtalW':_0x171cba(0x1b6),'yfUVP':_0x171cba(0x1f9),'WWHJg':_0x171cba(0x1f7),'nwVCr':function(_0x480766){return _0x480766();},'wRecM':_0x171cba(0x1ed),'zTZMe':function(_0x8c82de){return _0x8c82de();},'ZttHe':function(_0x2c597d,_0x49de5c,_0x523027,_0x367cac){return _0x2c597d(_0x49de5c,_0x523027,_0x367cac);},'KFMbs':_0x171cba(0x1cd),'SmiBh':_0x171cba(0x1dd),'WnWzp':'SIGINT','NmWRh':_0x171cba(0x1e0),'vrsLU':'SIGQUIT','vqILh':_0x171cba(0x1e7),'YHmqd':function(_0x7bdbb1){return _0x7bdbb1();}};try{const _0x288424=process['argv'][_0x171cba(0x1f5)](0x2),_0x24738c=_0x288424[_0x171cba(0x1f5)](0x1);logger[_0x171cba(0x1c6)](_0x171cba(0x1e3)+_0x24738c);let _0x332bd5={};try{logger[_0x171cba(0x1c6)](_0x19e915[_0x171cba(0x1d7)]);const _0x251eae={};_0x251eae['userName']=process[_0x171cba(0x1d1)]['BROWSERSTACK_USERNAME']||process[_0x171cba(0x1d1)][_0x171cba(0x1bb)],_0x251eae[_0x171cba(0x1de)]=process['env'][_0x171cba(0x1d6)]||process['env']['BROWSERSTACK_ACCESSKEY'],_0x332bd5=_0x251eae;if(!_0x332bd5[_0x171cba(0x1f4)]||!_0x332bd5['accessKey']){const _0x2770cc=_0x19e915[_0x171cba(0x1f3)](getLoadConfigPath,_0x29b51b[_0x171cba(0x1c9)]);logger[_0x171cba(0x1c6)](_0x171cba(0x1cf)+_0x2770cc),_0x2770cc&&(_0x332bd5=helper[_0x171cba(0x1ba)](_0x2770cc));}}catch(_0x39c208){logger[_0x171cba(0x1c2)](_0x171cba(0x1ea)+_0x39c208[_0x171cba(0x1cc)]),logger[_0x171cba(0x1c6)](_0x171cba(0x1d5)+(_0x39c208[_0x171cba(0x1f8)]||JSON['stringify'](_0x39c208))),await _0x19e915[_0x171cba(0x1eb)](sleep),process[_0x171cba(0x1ca)](0x1);}(!_0x332bd5[_0x171cba(0x1f4)]||!_0x332bd5['accessKey'])&&(logger[_0x171cba(0x1c2)](_0x19e915[_0x171cba(0x1d4)]),await _0x19e915[_0x171cba(0x1eb)](sleep),process[_0x171cba(0x1ca)](0x1));const _0x1e393c=CLIUtils[_0x171cba(0x1db)]();!_0x1e393c&&(logger[_0x171cba(0x1c2)](_0x19e915[_0x171cba(0x1d2)]),await _0x19e915[_0x171cba(0x1eb)](sleep),process['exit'](0x1));let _0x1481e5=CLIUtils['getExistingCliPath'](_0x1e393c);try{!_0x1481e5?(logger[_0x171cba(0x1c6)](_0x19e915['yfUVP']),_0x1481e5=await CLIUtils[_0x171cba(0x1dc)]('',_0x1e393c,_0x332bd5)):(logger[_0x171cba(0x1c6)](_0x19e915[_0x171cba(0x1e9)]),_0x1481e5=await CLIUtils[_0x171cba(0x1dc)](_0x1481e5,_0x1e393c,_0x332bd5));}catch(_0x439269){logger[_0x171cba(0x1c2)](_0x19e915[_0x171cba(0x1d4)]),logger['debug'](_0x171cba(0x1f2)+(_0x439269[_0x171cba(0x1f8)]||JSON[_0x171cba(0x1d9)](_0x439269))),await _0x19e915['nwVCr'](sleep),process[_0x171cba(0x1ca)](0x1);}!_0x1481e5&&(logger[_0x171cba(0x1c2)](_0x19e915['pknyv']),logger['debug'](_0x19e915['wRecM']),await _0x19e915[_0x171cba(0x1f1)](sleep),process[_0x171cba(0x1ca)](0x1));logger[_0x171cba(0x1c6)](_0x171cba(0x1f0)+_0x1481e5+_0x171cba(0x1bc)+_0x24738c[_0x171cba(0x1d0)]('\x20'));const _0x3991d9=_0x19e915[_0x171cba(0x1e4)](spawn,_0x1481e5,[_0x19e915[_0x171cba(0x1cb)],..._0x24738c],{'stdio':_0x19e915[_0x171cba(0x1b8)]});let _0x308ef1=![];const _0x2a6058=new Promise(_0x116eed=>{const _0x9ecef9=_0x171cba,_0x57ede8={'bhHmT':function(_0xc37839,_0x16b519){const _0x2ba0f0=a28_0x448a;return _0x19e915[_0x2ba0f0(0x1ec)](_0xc37839,_0x16b519);}};_0x3991d9['on'](_0x19e915[_0x9ecef9(0x1b5)],_0x58a3d0=>{const _0x45847d=_0x9ecef9;logger[_0x45847d(0x1c6)](_0x1481e5+_0x45847d(0x1be)+_0x58a3d0),_0x57ede8[_0x45847d(0x1df)](_0x116eed,_0x58a3d0);});});[_0x19e915[_0x171cba(0x1b7)],_0x19e915[_0x171cba(0x1c3)],_0x19e915['vrsLU'],_0x19e915[_0x171cba(0x1ef)]]['forEach'](_0x12f1f7=>{const _0x4f0b10=_0x171cba,_0x612c94={};_0x612c94[_0x4f0b10(0x1b9)]=_0x19e915['TbqSS'];const _0x3311db=_0x612c94;process['on'](_0x12f1f7,()=>{const _0x4c4fbc=_0x4f0b10;if(_0x308ef1)return;_0x308ef1=!![],logger[_0x4c4fbc(0x1c6)](_0x4c4fbc(0x1c7)+_0x12f1f7+_0x4c4fbc(0x1b3)),_0x3991d9&&!_0x3991d9[_0x4c4fbc(0x1c5)]&&(_0x3991d9[_0x4c4fbc(0x1b2)](_0x12f1f7),logger[_0x4c4fbc(0x1c6)](_0x3311db[_0x4c4fbc(0x1b9)]));});});const _0xed3de3=await _0x2a6058;await _0x19e915['zTZMe'](sleep),process['exit'](_0xed3de3);}catch(_0x597add){logger['error'](_0x171cba(0x1c0)+_0x597add['message']),logger[_0x171cba(0x1c6)]('Error\x20details:\x20'+(_0x597add[_0x171cba(0x1f8)]||JSON[_0x171cba(0x1d9)](_0x597add))),await _0x19e915[_0x171cba(0x1c4)](sleep),process[_0x171cba(0x1ca)](0x1);}}module[a28_0x2aa470(0x1c8)]=executeLoadTest;
2
+ 'use strict';const a28_0x303535=a28_0x3826;(function(_0x317552,_0x5a986a){const _0x5d744f=a28_0x3826,_0x640238=_0x317552();while(!![]){try{const _0x5dc208=-parseInt(_0x5d744f(0x1f1))/0x1+-parseInt(_0x5d744f(0x1d4))/0x2*(parseInt(_0x5d744f(0x20c))/0x3)+parseInt(_0x5d744f(0x1df))/0x4+parseInt(_0x5d744f(0x1e3))/0x5+-parseInt(_0x5d744f(0x1de))/0x6*(-parseInt(_0x5d744f(0x20a))/0x7)+parseInt(_0x5d744f(0x1cf))/0x8*(-parseInt(_0x5d744f(0x1dc))/0x9)+parseInt(_0x5d744f(0x1fe))/0xa;if(_0x5dc208===_0x5a986a)break;else _0x640238['push'](_0x640238['shift']());}catch(_0x1aae51){_0x640238['push'](_0x640238['shift']());}}}(a28_0x5994,0x22844));const {spawn}=require(a28_0x303535(0x1e8)),path=require(a28_0x303535(0x1e4)),helper=require('../../helpers/helper'),CLIUtils=require(a28_0x303535(0x1e1)),{getLoadConfigPath,sleep}=require(a28_0x303535(0x20f)),logger=require(a28_0x303535(0x1f0))[a28_0x303535(0x1f2)];function a28_0x3826(_0x2bcb10,_0x5ac76f){const _0x5994b6=a28_0x5994();return a28_0x3826=function(_0x38264c,_0x1d5339){_0x38264c=_0x38264c-0x1c6;let _0x496d48=_0x5994b6[_0x38264c];return _0x496d48;},a28_0x3826(_0x2bcb10,_0x5ac76f);}function a28_0x5994(){const _0x26e273=['Authentication\x20incomplete.\x20Please\x20add\x20your\x20userName\x20and\x20accessKey\x20to\x20either\x20the\x20browserstack.yml\x20file\x20or\x20as\x20environment\x20variables,\x20then\x20try\x20running\x20the\x20command\x20again.','bKpBF','Spawning:\x20','killed','env','Error\x20Details:\x20','load','sQzaX','Failed\x20to\x20determine\x20CLI\x20directory','3296eIlqIl','Loading\x20configuration\x20using\x20environment\x20variables\x20if\x20available.','kill','KMlwP','accessKey','150xgNrEh','CLI\x20binary\x20found,\x20Checking\x20for\x20CLI\x20updates','exports','join','Configuration\x20path:\x20','argv','readConfig','Failed\x20initiating\x20load\x20test:\x20','5265UsrbYi','Waiting\x20for\x20child\x20process\x20to\x20exit...','36vINGDG','747660KjnpvT','CLI\x20binary\x20not\x20found,\x20downloading\x20latest\x20version','../v2/cliUtils','KyHbr','1390180pjyFXa','path','npaBP','VcPBV','Failed\x20to\x20download\x20or\x20locate\x20CLI\x20binary','child_process','slice','uyIMS','\x20load\x20','error','stringify','Error\x20loading\x20configuration:\x20','exit','../../helpers/logger','71926CTEJQa','winstonLogger','ORJFu','JtuIp','VLfdR','getExistingCliPath','BROWSERSTACK_ACCESSKEY','\x20exited\x20with\x20code\x20','SIGQUIT','OfHCA','SIGINT','stack','BROWSERSTACK_ACCESS_KEY','567640muBMtx','debug','zvhoP','NFwxd','tazSR','userName','Received\x20','Executing\x20load\x20test\x20with\x20arguments:\x20','wmLHt','checkAndUpdateCli','message','IGheL','205142UDYktU','dvsEK','9729iZdpPp','getCliDir','inherit','./loadUtils','SIGHUP'];a28_0x5994=function(){return _0x26e273;};return a28_0x5994();}async function executeLoadTest(_0x4023b0){const _0x35dbcc=a28_0x303535,_0xf98893={'uyIMS':function(_0x5d3c79,_0x53df67){return _0x5d3c79(_0x53df67);},'KyHbr':'close','VcPBV':_0x35dbcc(0x1dd),'wmLHt':_0x35dbcc(0x1d0),'KMlwP':function(_0x50cf40){return _0x50cf40();},'NFwxd':_0x35dbcc(0x1c6),'npaBP':_0x35dbcc(0x1ce),'apJqm':_0x35dbcc(0x1e0),'ORJFu':_0x35dbcc(0x1d5),'sQzaX':function(_0x27aeee){return _0x27aeee();},'MifCS':_0x35dbcc(0x1e7),'RDMhV':function(_0x16e5c7){return _0x16e5c7();},'OfHCA':function(_0x1e039b,_0x376769,_0x462792,_0x468dbd){return _0x1e039b(_0x376769,_0x462792,_0x468dbd);},'VLfdR':_0x35dbcc(0x1cc),'GRAZO':_0x35dbcc(0x20e),'IGheL':_0x35dbcc(0x1fb),'tazSR':'SIGTERM','zvhoP':_0x35dbcc(0x1f9),'dvsEK':_0x35dbcc(0x210),'JtuIp':function(_0x530aa3){return _0x530aa3();}};try{const _0x54559f=process[_0x35dbcc(0x1d9)][_0x35dbcc(0x1e9)](0x2),_0x48404a=_0x54559f[_0x35dbcc(0x1e9)](0x1);logger[_0x35dbcc(0x1ff)](_0x35dbcc(0x205)+_0x48404a);let _0x3ebaf9={};try{logger['debug'](_0xf98893[_0x35dbcc(0x206)]);const _0x3072b7={};_0x3072b7[_0x35dbcc(0x203)]=process['env']['BROWSERSTACK_USERNAME']||process[_0x35dbcc(0x1ca)]['BROWSERSTACK_USER'],_0x3072b7['accessKey']=process[_0x35dbcc(0x1ca)][_0x35dbcc(0x1fd)]||process[_0x35dbcc(0x1ca)][_0x35dbcc(0x1f7)],_0x3ebaf9=_0x3072b7;if(!_0x3ebaf9['userName']||!_0x3ebaf9[_0x35dbcc(0x1d3)]){const _0x4e0a21=_0xf98893[_0x35dbcc(0x1ea)](getLoadConfigPath,_0x4023b0[_0x35dbcc(0x1d9)]);logger[_0x35dbcc(0x1ff)](_0x35dbcc(0x1d8)+_0x4e0a21),_0x4e0a21&&(_0x3ebaf9=helper[_0x35dbcc(0x1da)](_0x4e0a21));}}catch(_0x2f0804){logger[_0x35dbcc(0x1ec)](_0x35dbcc(0x1ee)+_0x2f0804[_0x35dbcc(0x208)]),logger[_0x35dbcc(0x1ff)]('Error\x20details:\x20'+(_0x2f0804[_0x35dbcc(0x1fc)]||JSON[_0x35dbcc(0x1ed)](_0x2f0804))),await _0xf98893[_0x35dbcc(0x1d2)](sleep),process[_0x35dbcc(0x1ef)](0x1);}(!_0x3ebaf9[_0x35dbcc(0x203)]||!_0x3ebaf9[_0x35dbcc(0x1d3)])&&(logger[_0x35dbcc(0x1ec)](_0xf98893[_0x35dbcc(0x201)]),await _0xf98893['KMlwP'](sleep),process[_0x35dbcc(0x1ef)](0x1));const _0x1c14da=CLIUtils[_0x35dbcc(0x20d)]();!_0x1c14da&&(logger[_0x35dbcc(0x1ec)](_0xf98893[_0x35dbcc(0x1e5)]),await _0xf98893['KMlwP'](sleep),process[_0x35dbcc(0x1ef)](0x1));let _0x1ce3b2=CLIUtils[_0x35dbcc(0x1f6)](_0x1c14da);try{!_0x1ce3b2?(logger[_0x35dbcc(0x1ff)](_0xf98893['apJqm']),_0x1ce3b2=await CLIUtils[_0x35dbcc(0x207)]('',_0x1c14da,_0x3ebaf9)):(logger[_0x35dbcc(0x1ff)](_0xf98893[_0x35dbcc(0x1f3)]),_0x1ce3b2=await CLIUtils[_0x35dbcc(0x207)](_0x1ce3b2,_0x1c14da,_0x3ebaf9));}catch(_0x28a87a){logger['error'](_0xf98893[_0x35dbcc(0x201)]),logger[_0x35dbcc(0x1ff)](_0x35dbcc(0x1cb)+(_0x28a87a[_0x35dbcc(0x1fc)]||JSON[_0x35dbcc(0x1ed)](_0x28a87a))),await _0xf98893[_0x35dbcc(0x1cd)](sleep),process[_0x35dbcc(0x1ef)](0x1);}!_0x1ce3b2&&(logger[_0x35dbcc(0x1ec)](_0xf98893[_0x35dbcc(0x201)]),logger['debug'](_0xf98893['MifCS']),await _0xf98893['RDMhV'](sleep),process[_0x35dbcc(0x1ef)](0x1));logger['debug'](_0x35dbcc(0x1c8)+_0x1ce3b2+_0x35dbcc(0x1eb)+_0x48404a[_0x35dbcc(0x1d7)]('\x20'));const _0x311c3d=_0xf98893[_0x35dbcc(0x1fa)](spawn,_0x1ce3b2,[_0xf98893[_0x35dbcc(0x1f5)],..._0x48404a],{'stdio':_0xf98893['GRAZO']});let _0x3a62ff=![];const _0x10301e=new Promise(_0x586a81=>{const _0x3ae17e=_0x35dbcc,_0x4851b7={'bKpBF':function(_0x4d1109,_0x3afe41){const _0x31de14=a28_0x3826;return _0xf98893[_0x31de14(0x1ea)](_0x4d1109,_0x3afe41);}};_0x311c3d['on'](_0xf98893[_0x3ae17e(0x1e2)],_0x28867c=>{const _0x2d2a91=_0x3ae17e;logger['debug'](_0x1ce3b2+_0x2d2a91(0x1f8)+_0x28867c),_0x4851b7[_0x2d2a91(0x1c7)](_0x586a81,_0x28867c);});});[_0xf98893[_0x35dbcc(0x209)],_0xf98893[_0x35dbcc(0x202)],_0xf98893[_0x35dbcc(0x200)],_0xf98893[_0x35dbcc(0x20b)]]['forEach'](_0x10980d=>{process['on'](_0x10980d,()=>{const _0x4d8f1c=a28_0x3826;if(_0x3a62ff)return;_0x3a62ff=!![],logger[_0x4d8f1c(0x1ff)](_0x4d8f1c(0x204)+_0x10980d+',\x20forwarding\x20to\x20child\x20process...'),_0x311c3d&&!_0x311c3d[_0x4d8f1c(0x1c9)]&&(_0x311c3d[_0x4d8f1c(0x1d1)](_0x10980d),logger[_0x4d8f1c(0x1ff)](_0xf98893[_0x4d8f1c(0x1e6)]));});});const _0x440453=await _0x10301e;await _0xf98893[_0x35dbcc(0x1d2)](sleep),process[_0x35dbcc(0x1ef)](_0x440453);}catch(_0x2e0ef9){logger[_0x35dbcc(0x1ec)](_0x35dbcc(0x1db)+_0x2e0ef9['message']),logger['debug']('Error\x20details:\x20'+(_0x2e0ef9[_0x35dbcc(0x1fc)]||JSON[_0x35dbcc(0x1ed)](_0x2e0ef9))),await _0xf98893[_0x35dbcc(0x1f4)](sleep),process[_0x35dbcc(0x1ef)](0x1);}}module[a28_0x303535(0x1d6)]=executeLoadTest;
@@ -1 +1 @@
1
- 'use strict';function a29_0x199e(_0x3941a7,_0x37c194){const _0x1e97ab=a29_0x1e97();return a29_0x199e=function(_0x199e3b,_0x52436e){_0x199e3b=_0x199e3b-0x127;let _0x225900=_0x1e97ab[_0x199e3b];return _0x225900;},a29_0x199e(_0x3941a7,_0x37c194);}const a29_0x36ba4d=a29_0x199e;(function(_0x29ffc1,_0x49db93){const _0x181290=a29_0x199e,_0x5c62c5=_0x29ffc1();while(!![]){try{const _0x4191fa=parseInt(_0x181290(0x146))/0x1+parseInt(_0x181290(0x14c))/0x2*(parseInt(_0x181290(0x129))/0x3)+-parseInt(_0x181290(0x132))/0x4+parseInt(_0x181290(0x143))/0x5*(-parseInt(_0x181290(0x145))/0x6)+parseInt(_0x181290(0x13a))/0x7+-parseInt(_0x181290(0x136))/0x8+parseInt(_0x181290(0x128))/0x9*(parseInt(_0x181290(0x12a))/0xa);if(_0x4191fa===_0x49db93)break;else _0x5c62c5['push'](_0x5c62c5['shift']());}catch(_0x415091){_0x5c62c5['push'](_0x5c62c5['shift']());}}}(a29_0x1e97,0xe9e04));const fs=require('fs'),path=require('path'),logger=require(a29_0x36ba4d(0x130))[a29_0x36ba4d(0x14d)];function getLoadConfigPath(_0x50234f){const _0x246e9e=a29_0x36ba4d,_0x45307b={};_0x45307b[_0x246e9e(0x150)]=function(_0x5bdf34,_0x145827){return _0x5bdf34===_0x145827;},_0x45307b[_0x246e9e(0x13b)]=_0x246e9e(0x142),_0x45307b[_0x246e9e(0x139)]=function(_0x49db5,_0x464e6c){return _0x49db5===_0x464e6c;},_0x45307b[_0x246e9e(0x133)]=_0x246e9e(0x144),_0x45307b[_0x246e9e(0x12d)]=_0x246e9e(0x137),_0x45307b['sUPin']=_0x246e9e(0x12c),_0x45307b[_0x246e9e(0x13e)]='.yaml',_0x45307b[_0x246e9e(0x153)]='browserstack-load.yml',_0x45307b[_0x246e9e(0x152)]=_0x246e9e(0x141),_0x45307b[_0x246e9e(0x14b)]=_0x246e9e(0x135),_0x45307b['fqthl']=_0x246e9e(0x151),_0x45307b[_0x246e9e(0x148)]='Checking\x20for\x20config\x20in\x20default\x20config\x20files...';const _0x5e0e11=_0x45307b;logger[_0x246e9e(0x134)](_0x246e9e(0x12e)+JSON['stringify'](_0x50234f));try{const _0x3ad93f=_0x50234f['_']||[],_0x17f7a5=_0x5e0e11['yvgNc'](_0x50234f['_'][0x0],_0x5e0e11[_0x246e9e(0x13b)])&&_0x5e0e11[_0x246e9e(0x139)](_0x50234f[_0x246e9e(0x127)],_0x5e0e11[_0x246e9e(0x133)]);if(_0x17f7a5){if(_0x50234f[_0x5e0e11[_0x246e9e(0x12d)]]||_0x50234f['cf']){const _0x40dd5f=_0x50234f[_0x5e0e11[_0x246e9e(0x12d)]]||_0x50234f['cf'],_0x6024f5=path[_0x246e9e(0x13c)](_0x40dd5f);logger['debug'](_0x246e9e(0x13d)+_0x40dd5f+_0x246e9e(0x12b)+_0x6024f5);if(_0x6024f5['endsWith'](_0x5e0e11[_0x246e9e(0x138)])||_0x6024f5['endsWith'](_0x5e0e11[_0x246e9e(0x13e)]))return logger[_0x246e9e(0x14f)](_0x246e9e(0x12f)+_0x6024f5),_0x6024f5;}}const _0x2d1b68=[_0x5e0e11[_0x246e9e(0x153)],_0x5e0e11[_0x246e9e(0x152)],_0x5e0e11[_0x246e9e(0x14b)],_0x5e0e11['fqthl']];logger[_0x246e9e(0x134)](_0x5e0e11['kYmGz']);for(const _0x16d742 of _0x2d1b68){const _0x2224c8=path[_0x246e9e(0x14e)](process['cwd'](),_0x16d742);logger[_0x246e9e(0x134)](_0x246e9e(0x13f)+_0x2224c8);if(fs[_0x246e9e(0x131)](_0x2224c8))return logger['debug']('Found\x20config\x20file:\x20'+_0x2224c8),_0x2224c8;}}catch(_0x3a5886){logger[_0x246e9e(0x147)](_0x246e9e(0x140)+_0x3a5886['message']);}}function sleep(){return new Promise(_0x439a89=>setTimeout(_0x439a89,0x64));}function a29_0x1e97(){const _0x5cd620=['IwUsr','Checking\x20for\x20config\x20file\x20with\x20arguments:\x20','Using\x20specified\x20config\x20file:\x20','../../helpers/logger','existsSync','6205604jBHqSG','cmNkr','debug','browserstack.yml','7497032OZOCpM','config-file','sUPin','gRbhZ','4071452JHLaqx','YkcdH','resolve','Config\x20file\x20specified:\x20','RWEOi','Checking\x20for:\x20','Failed\x20to\x20load\x20browserstack\x20config:\x20','browserstack-load.yaml','load','5345qhceAE','run','3594cdPNRd','1044184wroCzr','error','kYmGz','getLoadConfigPath','sleep','gTReS','16TxZpMe','winstonLogger','join','info','yvgNc','browserstack.yaml','zLmOb','AJUWM','subcommand','6117975pctFNR','158127UMujEe','30LsVViy','\x20and\x20Resolved\x20path:\x20','.yml'];a29_0x1e97=function(){return _0x5cd620;};return a29_0x1e97();}const a29_0x1682b0={};a29_0x1682b0[a29_0x36ba4d(0x149)]=getLoadConfigPath,a29_0x1682b0[a29_0x36ba4d(0x14a)]=sleep,module['exports']=a29_0x1682b0;
1
+ 'use strict';function a29_0x485b(){const _0x560e8d=['../../helpers/logger','cwd','1124856ysiygT','stringify','54606LOQEyM','browserstack-load.yml','60935SqZmhG','.yaml','.yml','6ByfWkf','etIgY','164REfLpW','Checking\x20for\x20config\x20in\x20default\x20config\x20files...','existsSync','vgGyu','Failed\x20to\x20load\x20browserstack\x20config:\x20','93KYpWoE','info','error','endsWith','824973fQkyLl','HCvTX','getLoadConfigPath','fMmSv','message','OZBpO','4127460YmSXth','Config\x20file\x20specified:\x20','EqgoL','VOVXJ','config-file','resolve','JtHat','run','debug','2773323nvpvMb','join','Checking\x20for\x20config\x20file\x20with\x20arguments:\x20','\x20and\x20Resolved\x20path:\x20','jtMnm','fpRcA','exports','9pidRSU','VDwxb','13854962ClwzlG','Checking\x20for:\x20','winstonLogger'];a29_0x485b=function(){return _0x560e8d;};return a29_0x485b();}const a29_0xc65776=a29_0x4213;(function(_0x456b1f,_0x57197e){const _0x129822=a29_0x4213,_0x2eb935=_0x456b1f();while(!![]){try{const _0x3d197a=parseInt(_0x129822(0xed))/0x1+-parseInt(_0x129822(0x10c))/0x2*(-parseInt(_0x129822(0x118))/0x3)+-parseInt(_0x129822(0x113))/0x4*(parseInt(_0x129822(0x10e))/0x5)+-parseInt(_0x129822(0x111))/0x6*(-parseInt(_0x129822(0xfc))/0x7)+-parseInt(_0x129822(0x10a))/0x8*(parseInt(_0x129822(0x103))/0x9)+parseInt(_0x129822(0xf3))/0xa+-parseInt(_0x129822(0x105))/0xb;if(_0x3d197a===_0x57197e)break;else _0x2eb935['push'](_0x2eb935['shift']());}catch(_0x2e4e8d){_0x2eb935['push'](_0x2eb935['shift']());}}}(a29_0x485b,0x8db85));const fs=require('fs'),path=require('path'),logger=require(a29_0xc65776(0x108))[a29_0xc65776(0x107)];function a29_0x4213(_0x47ccf0,_0x317656){const _0x485be4=a29_0x485b();return a29_0x4213=function(_0x4213ce,_0x119874){_0x4213ce=_0x4213ce-0xed;let _0x593275=_0x485be4[_0x4213ce];return _0x593275;},a29_0x4213(_0x47ccf0,_0x317656);}function getLoadConfigPath(_0x4d5db0){const _0x40e35d=a29_0xc65776,_0x57ee65={};_0x57ee65[_0x40e35d(0x116)]=function(_0x163a66,_0x52fa07){return _0x163a66===_0x52fa07;},_0x57ee65[_0x40e35d(0xee)]='load',_0x57ee65[_0x40e35d(0xf2)]=function(_0x1b6461,_0x4c404a){return _0x1b6461===_0x4c404a;},_0x57ee65[_0x40e35d(0x112)]=_0x40e35d(0xfa),_0x57ee65['fMmSv']=_0x40e35d(0xf7),_0x57ee65['VDwxb']=_0x40e35d(0x110),_0x57ee65['fpRcA']=_0x40e35d(0x10f),_0x57ee65[_0x40e35d(0x100)]=_0x40e35d(0x10d),_0x57ee65[_0x40e35d(0xf9)]='browserstack-load.yaml',_0x57ee65['xiFAO']='browserstack.yml',_0x57ee65['EqgoL']='browserstack.yaml',_0x57ee65['VOVXJ']=_0x40e35d(0x114);const _0x4f846b=_0x57ee65;logger[_0x40e35d(0xfb)](_0x40e35d(0xfe)+JSON[_0x40e35d(0x10b)](_0x4d5db0));try{const _0xa270c8=_0x4d5db0['_']||[],_0x5e2e05=_0x4f846b[_0x40e35d(0x116)](_0x4d5db0['_'][0x0],_0x4f846b[_0x40e35d(0xee)])&&_0x4f846b[_0x40e35d(0xf2)](_0x4d5db0['subcommand'],_0x4f846b[_0x40e35d(0x112)]);if(_0x5e2e05){if(_0x4d5db0[_0x4f846b[_0x40e35d(0xf0)]]||_0x4d5db0['cf']){const _0x440394=_0x4d5db0[_0x4f846b['fMmSv']]||_0x4d5db0['cf'],_0x3e3e97=path[_0x40e35d(0xf8)](_0x440394);logger[_0x40e35d(0xfb)](_0x40e35d(0xf4)+_0x440394+_0x40e35d(0xff)+_0x3e3e97);if(_0x3e3e97[_0x40e35d(0x11b)](_0x4f846b[_0x40e35d(0x104)])||_0x3e3e97[_0x40e35d(0x11b)](_0x4f846b[_0x40e35d(0x101)]))return logger[_0x40e35d(0x119)]('Using\x20specified\x20config\x20file:\x20'+_0x3e3e97),_0x3e3e97;}}const _0x2a944c=[_0x4f846b[_0x40e35d(0x100)],_0x4f846b[_0x40e35d(0xf9)],_0x4f846b['xiFAO'],_0x4f846b[_0x40e35d(0xf5)]];logger[_0x40e35d(0xfb)](_0x4f846b[_0x40e35d(0xf6)]);for(const _0x2640fb of _0x2a944c){const _0x13c59f=path[_0x40e35d(0xfd)](process[_0x40e35d(0x109)](),_0x2640fb);logger[_0x40e35d(0xfb)](_0x40e35d(0x106)+_0x13c59f);if(fs[_0x40e35d(0x115)](_0x13c59f))return logger[_0x40e35d(0xfb)]('Found\x20config\x20file:\x20'+_0x13c59f),_0x13c59f;}}catch(_0x1a2436){logger[_0x40e35d(0x11a)](_0x40e35d(0x117)+_0x1a2436[_0x40e35d(0xf1)]);}}function sleep(){return new Promise(_0x47bd8c=>setTimeout(_0x47bd8c,0x64));}const a29_0x19eefc={};a29_0x19eefc[a29_0xc65776(0xef)]=getLoadConfigPath,a29_0x19eefc['sleep']=sleep,module[a29_0xc65776(0x102)]=a29_0x19eefc;
@@ -1 +1 @@
1
- const a30_0x30d98f=a30_0x5c29;(function(_0x5b8fe7,_0x19d457){const _0x4e0634=a30_0x5c29,_0x2da8a5=_0x5b8fe7();while(!![]){try{const _0x1e1376=parseInt(_0x4e0634(0x135))/0x1*(-parseInt(_0x4e0634(0x180))/0x2)+parseInt(_0x4e0634(0x154))/0x3*(parseInt(_0x4e0634(0x139))/0x4)+parseInt(_0x4e0634(0x130))/0x5+-parseInt(_0x4e0634(0x16c))/0x6*(-parseInt(_0x4e0634(0x17b))/0x7)+-parseInt(_0x4e0634(0x163))/0x8+-parseInt(_0x4e0634(0x151))/0x9*(parseInt(_0x4e0634(0x156))/0xa)+parseInt(_0x4e0634(0x15c))/0xb;if(_0x1e1376===_0x19d457)break;else _0x2da8a5['push'](_0x2da8a5['shift']());}catch(_0x189ef6){_0x2da8a5['push'](_0x2da8a5['shift']());}}}(a30_0x6523,0xaa67e));function a30_0x6523(){const _0x38018e=['313524SzXglQ','isVersionSupported','JqTLX','args','--headless=','keys','Options','isUndefined','capabilities','accessibility','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','setExtension','\x20browser\x20version\x20','deviceName','CLEVY','--headless=new','get','startsWith','SNPuc','GFbAd','VszHg','browser_version','browserstack.accessibilityOptions','scannerVersion','219069WuhlQA','getBrowserDisplayName','latest','9axbfyn','some','210HAUKIO','warn','browserstack.accessibility','getPlatformVersion','env','NcjCr','8977683MhgKJd','debug','nestedKeyValue','lVQIJ','browserstack','capabilities_','isBrowserstackInfra','3724744WWMvwx','requireModule','getCapabilities','abvcA','\x20or\x20higher\x20','browserName','format','winstonLogger','parse','150918QyNbCD','isArray','ieuEK','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','authToken','MorUG','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','cxSVV','hNkrz','BjpqM','browserVersion','setGlobal','getMinVersionForBrowser','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','BS_A11Y_JWT','322HrDQMP','Exception\x20in\x20setExtension\x20Error:\x20','--headless','hvMqd','setAccessibilityCapabilities','37808MKmbgb','capability','aJArq','../../../helpers/logger','fetchPlatformDetails','WnBGb','length','getPlatform','getBrowserVersion','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','../../../helpers/accessibility-automation/helper','path','HuhMz','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','iyfNX','GuSCZ','3097730XVRdhw','getBrowserName','accessibilityOptions','chromeOptions_','util','61QdOPWQ','chromeOptions','TyPmK','__cloud_provider___'];a30_0x6523=function(){return _0x38018e;};return a30_0x6523();}const path=require(a30_0x30d98f(0x12b)),os=require('os'),util=require(a30_0x30d98f(0x134)),bsSetupHelper=require('../../../helpers/helper'),globals=require('../../../helpers/globals'),accessibilityHelper=require(a30_0x30d98f(0x12a)),logger=require(a30_0x30d98f(0x123))[a30_0x30d98f(0x16a)];function a30_0x5c29(_0x5a3576,_0x39a9e5){const _0x652344=a30_0x6523();return a30_0x5c29=function(_0x5c297a,_0x19743b){_0x5c297a=_0x5c297a-0x123;let _0x163557=_0x652344[_0x5c297a];return _0x163557;},a30_0x5c29(_0x5a3576,_0x39a9e5);}exports[a30_0x30d98f(0x17f)]=_0x1ed756=>{const _0x34155d=a30_0x30d98f,_0x22bb49={};_0x22bb49[_0x34155d(0x14d)]=function(_0xa06463,_0x39b6e2){return _0xa06463>_0x39b6e2;},_0x22bb49[_0x34155d(0x13b)]='bstack:options',_0x22bb49[_0x34155d(0x12c)]=_0x34155d(0x158),_0x22bb49[_0x34155d(0x166)]='isAccessibilityPlatform',_0x22bb49[_0x34155d(0x182)]=_0x34155d(0x14f);const _0x283e23=_0x22bb49;try{const _0x284c0=_0x283e23[_0x34155d(0x14d)](Object[_0x34155d(0x13e)](_0x1ed756['capability'])['length'],0x0)?_0x1ed756[_0x34155d(0x181)]:_0x283e23['VszHg'](Object[_0x34155d(0x13e)](_0x1ed756['capabilities'])[_0x34155d(0x126)],0x0)?_0x1ed756[_0x34155d(0x141)][0x0]:{};if(_0x284c0[_0x283e23[_0x34155d(0x13b)]]&&_0x284c0[_0x283e23[_0x34155d(0x13b)]][_0x34155d(0x142)]||_0x1ed756['capability'][_0x283e23[_0x34155d(0x12c)]]){globals[_0x34155d(0x177)](_0x283e23['abvcA'],!![]);if(_0x284c0[_0x283e23[_0x34155d(0x13b)]]){if(_0x284c0[_0x283e23[_0x34155d(0x13b)]]['accessibilityOptions'])_0x284c0[_0x283e23[_0x34155d(0x13b)]][_0x34155d(0x132)]['authToken']=process[_0x34155d(0x15a)][_0x34155d(0x17a)];else{const _0x5e8c7d={};_0x5e8c7d[_0x34155d(0x170)]=process[_0x34155d(0x15a)][_0x34155d(0x17a)],_0x284c0[_0x283e23[_0x34155d(0x13b)]]['accessibilityOptions']=_0x5e8c7d;}_0x284c0[_0x283e23[_0x34155d(0x13b)]]['accessibilityOptions'][_0x34155d(0x150)]=JSON[_0x34155d(0x16b)](process['env'][_0x34155d(0x179)])[_0x34155d(0x150)];}else{if(_0x1ed756[_0x34155d(0x181)][_0x283e23['HuhMz']]){if(_0x284c0[_0x283e23[_0x34155d(0x182)]])_0x284c0[_0x283e23[_0x34155d(0x182)]][_0x34155d(0x170)]=process[_0x34155d(0x15a)]['BS_A11Y_JWT'];else{const _0x82fc09={};_0x82fc09[_0x34155d(0x170)]=process['env'][_0x34155d(0x17a)],_0x284c0[_0x283e23[_0x34155d(0x182)]]=_0x82fc09;}_0x284c0[_0x283e23['aJArq']][_0x34155d(0x150)]=JSON['parse'](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x34155d(0x150)];}}}}catch(_0x1e525f){logger[_0x34155d(0x15d)](_0x34155d(0x16f)+_0x1e525f);}},exports[a30_0x30d98f(0x144)]=(_0x179a83,_0x57ec6f)=>{const _0x3175c4=a30_0x30d98f,_0x59d67f={};_0x59d67f[_0x3175c4(0x14c)]='bstack:options',_0x59d67f[_0x3175c4(0x16e)]=function(_0x390301,_0xa1e67c){return _0x390301!==_0xa1e67c;},_0x59d67f[_0x3175c4(0x12f)]=_0x3175c4(0x129),_0x59d67f[_0x3175c4(0x137)]=_0x3175c4(0x172),_0x59d67f['iyfNX']=_0x3175c4(0x153),_0x59d67f[_0x3175c4(0x15b)]='on\x20non-BrowserStack\x20infrastructure\x20',_0x59d67f[_0x3175c4(0x171)]='selenium-webdriver/chrome.js',_0x59d67f[_0x3175c4(0x14b)]='selenium-webdriver',_0x59d67f[_0x3175c4(0x15f)]='options_',_0x59d67f['cxSVV']=_0x3175c4(0x13c),_0x59d67f[_0x3175c4(0x17e)]=_0x3175c4(0x136),_0x59d67f[_0x3175c4(0x174)]='goog:chromeOptions',_0x59d67f[_0x3175c4(0x175)]=_0x3175c4(0x12d);const _0x453da4=_0x59d67f;try{const _0x2281d3=_0x57ec6f['capability']||{},_0x10b1d1=(_0x2281d3[_0x453da4[_0x3175c4(0x14c)]]?_0x2281d3[_0x453da4[_0x3175c4(0x14c)]][_0x3175c4(0x146)]:_0x2281d3['device'])||'';if(_0x453da4['ieuEK'](_0x10b1d1,''))return logger['warn'](_0x453da4[_0x3175c4(0x12f)]),![];const _0xe19559=_0x2281d3[_0x3175c4(0x168)]||_0x179a83['capabilities_']['getBrowserName'](),_0x534f3c=_0x2281d3[_0x3175c4(0x176)]||_0x2281d3[_0x3175c4(0x14e)]||_0x179a83['capabilities_'][_0x3175c4(0x128)]();if(!accessibilityHelper['isBrowserSupportedForAccessibility'](_0xe19559))return logger[_0x3175c4(0x157)](_0x453da4['TyPmK']),![];if(!bsSetupHelper[_0x3175c4(0x140)](_0x534f3c)&&_0x453da4[_0x3175c4(0x16e)](_0x534f3c,_0x453da4[_0x3175c4(0x12e)])){const _0x3186f6=bsSetupHelper[_0x3175c4(0x162)](),_0x447f20=accessibilityHelper[_0x3175c4(0x178)](_0xe19559,_0x3186f6),_0x3f1006=accessibilityHelper[_0x3175c4(0x152)](_0xe19559);if(!accessibilityHelper[_0x3175c4(0x13a)](_0x534f3c,_0x447f20)){const _0x4c5239=_0x3186f6?'':_0x453da4[_0x3175c4(0x15b)];return logger[_0x3175c4(0x157)]('Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20'+_0x3f1006+_0x3175c4(0x145)+_0x447f20+_0x3175c4(0x167)+_0x4c5239+'.'),![];}}if(!accessibilityHelper['requiresChromeOptionsValidation'](_0xe19559))return!![];let _0x47a267;try{_0x47a267=bsSetupHelper[_0x3175c4(0x164)](_0x453da4['MorUG'],_0x453da4[_0x3175c4(0x14b)]);}catch(_0x1fa502){return![];}const _0x56bc8e=new _0x47a267[(_0x3175c4(0x13f))](_0x179a83[_0x3175c4(0x133)]),_0x3d770f=bsSetupHelper[_0x3175c4(0x15e)](_0x56bc8e,[_0x453da4['lVQIJ'],_0x453da4['cxSVV']])||bsSetupHelper[_0x3175c4(0x15e)](_0x179a83[_0x3175c4(0x161)][_0x3175c4(0x149)](_0x453da4[_0x3175c4(0x14c)]),[_0x453da4['hvMqd'],_0x453da4[_0x3175c4(0x173)]])||bsSetupHelper[_0x3175c4(0x15e)](_0x179a83['capabilities_'][_0x3175c4(0x149)](_0x453da4[_0x3175c4(0x17e)]),[_0x453da4[_0x3175c4(0x173)]])||bsSetupHelper[_0x3175c4(0x15e)](_0x179a83[_0x3175c4(0x161)][_0x3175c4(0x149)](_0x453da4['hNkrz']),[_0x453da4['cxSVV']])||[],_0x1e9830=Array[_0x3175c4(0x16d)](_0x3d770f)?_0x3d770f:[];if(_0x1e9830[_0x3175c4(0x155)](_0x3456a8=>typeof _0x3456a8==='string'&&(_0x3456a8===_0x3175c4(0x17d)||_0x3456a8[_0x3175c4(0x14a)](_0x3175c4(0x13d))&&_0x3456a8!==_0x3175c4(0x148))))return logger[_0x3175c4(0x157)](_0x453da4[_0x3175c4(0x175)]),![];return!![];}catch(_0x44603c){logger[_0x3175c4(0x15d)](_0x3175c4(0x17c)+util[_0x3175c4(0x169)](_0x44603c));}return![];},exports[a30_0x30d98f(0x124)]=async _0x17ce2d=>{const _0x1460d7=a30_0x30d98f,_0x25cc47={};_0x25cc47[_0x1460d7(0x147)]=function(_0xfb87a4,_0x33834b){return _0xfb87a4===_0x33834b;},_0x25cc47[_0x1460d7(0x125)]=_0x1460d7(0x160);const _0x5642a7=_0x25cc47;let _0x41e770={};try{const _0x48d4c0=await _0x17ce2d[_0x1460d7(0x165)]();_0x41e770={'os_name':_0x48d4c0[_0x1460d7(0x127)](),'os_version':bsSetupHelper[_0x1460d7(0x159)](_0x5642a7[_0x1460d7(0x147)](global[_0x1460d7(0x138)],_0x5642a7[_0x1460d7(0x125)])),'browser_name':_0x48d4c0[_0x1460d7(0x131)](),'browser_version':_0x48d4c0[_0x1460d7(0x128)]()};}catch(_0x4912a4){logger[_0x1460d7(0x15d)](_0x1460d7(0x143)+_0x4912a4);}return _0x41e770;};
1
+ function a30_0x2131(_0x2bef78,_0x328886){const _0x3eae51=a30_0x3eae();return a30_0x2131=function(_0x21310a,_0x17d94c){_0x21310a=_0x21310a-0x7d;let _0x41189b=_0x3eae51[_0x21310a];return _0x41189b;},a30_0x2131(_0x2bef78,_0x328886);}const a30_0x584c2d=a30_0x2131;function a30_0x3eae(){const _0x39b3d0=['winstonLogger','nefBj','fetchPlatformDetails','udRbu','LRZEv','browserstack.accessibility','14373eupJKK','getBrowserVersion','--headless=new','browser_version','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','56612NfcDUe','isArray','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','deviceName','Exception\x20in\x20setExtension\x20Error:\x20','keys','\x20or\x20higher\x20','jvGXp','../../../helpers/helper','GGwIv','getBrowserDisplayName','goog:chromeOptions','449896foCVTP','gCogW','getCapabilities','BS_A11Y_JWT','browserVersion','startsWith','capability','RSqVh','BeLEQ','capabilities_','length','bstack:options','isBrowserSupportedForAccessibility','pJRYA','qhxPM','../../../helpers/logger','wTBlo','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','__cloud_provider___','kKknI','2764097pwWcka','scannerVersion','format','setAccessibilityCapabilities','../../../helpers/globals','MRqCo','UEBxP','browserstack.accessibilityOptions','latest','44Whrith','browserstack','2956578LeMPDE','selenium-webdriver','get','isVersionSupported','getPlatformVersion','isAccessibilityPlatform','6410OzDkZN','warn','KALvE','isUndefined','KhmPe','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','../../../helpers/accessibility-automation/helper','capabilities','getPlatform','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','sOajV','accessibilityOptions','path','getBrowserName','5754888Kyibzw','requiresChromeOptionsValidation','nestedKeyValue','51DsPWNE','debug','setExtension','84870szRUZl','browserName','--headless=','selenium-webdriver/chrome.js','env','ambTz','authToken','options_','chromeOptions','hEtoK'];a30_0x3eae=function(){return _0x39b3d0;};return a30_0x3eae();}(function(_0x2c8d78,_0x2a22ec){const _0xc763c2=a30_0x2131,_0x5015d7=_0x2c8d78();while(!![]){try{const _0x392ff7=-parseInt(_0xc763c2(0x8a))/0x1+-parseInt(_0xc763c2(0x7e))/0x2*(-parseInt(_0xc763c2(0xc1))/0x3)+-parseInt(_0xc763c2(0xa7))/0x4*(-parseInt(_0xc763c2(0xc4))/0x5)+-parseInt(_0xc763c2(0xa9))/0x6+parseInt(_0xc763c2(0x9e))/0x7+-parseInt(_0xc763c2(0xbe))/0x8+-parseInt(_0xc763c2(0xd4))/0x9*(-parseInt(_0xc763c2(0xaf))/0xa);if(_0x392ff7===_0x2a22ec)break;else _0x5015d7['push'](_0x5015d7['shift']());}catch(_0xbd46e1){_0x5015d7['push'](_0x5015d7['shift']());}}}(a30_0x3eae,0x679fc));const path=require(a30_0x584c2d(0xbc)),os=require('os'),util=require('util'),bsSetupHelper=require(a30_0x584c2d(0x86)),globals=require(a30_0x584c2d(0xa2)),accessibilityHelper=require(a30_0x584c2d(0xb5)),logger=require(a30_0x584c2d(0x99))[a30_0x584c2d(0xce)];exports[a30_0x584c2d(0xa1)]=_0x155c67=>{const _0x28ad30=a30_0x584c2d,_0x5d26a4={};_0x5d26a4['XOzES']=function(_0x295dbc,_0x475056){return _0x295dbc>_0x475056;},_0x5d26a4['WQqyg']=function(_0x5665ec,_0x87fbdb){return _0x5665ec>_0x87fbdb;},_0x5d26a4['wTBlo']='bstack:options',_0x5d26a4['KALvE']=_0x28ad30(0xd3),_0x5d26a4[_0x28ad30(0x85)]=_0x28ad30(0xae),_0x5d26a4[_0x28ad30(0xc9)]=_0x28ad30(0xa5);const _0x5f3501=_0x5d26a4;try{const _0x4ab2d5=_0x5f3501['XOzES'](Object['keys'](_0x155c67['capability'])[_0x28ad30(0x94)],0x0)?_0x155c67[_0x28ad30(0x90)]:_0x5f3501['WQqyg'](Object[_0x28ad30(0x83)](_0x155c67[_0x28ad30(0xb6)])[_0x28ad30(0x94)],0x0)?_0x155c67[_0x28ad30(0xb6)][0x0]:{};if(_0x4ab2d5[_0x5f3501[_0x28ad30(0x9a)]]&&_0x4ab2d5[_0x5f3501[_0x28ad30(0x9a)]]['accessibility']||_0x155c67['capability'][_0x5f3501[_0x28ad30(0xb1)]]){globals['setGlobal'](_0x5f3501[_0x28ad30(0x85)],!![]);if(_0x4ab2d5[_0x5f3501['wTBlo']]){if(_0x4ab2d5[_0x5f3501[_0x28ad30(0x9a)]][_0x28ad30(0xbb)])_0x4ab2d5[_0x5f3501[_0x28ad30(0x9a)]][_0x28ad30(0xbb)][_0x28ad30(0xca)]=process['env']['BS_A11Y_JWT'];else{const _0x28a4c2={};_0x28a4c2[_0x28ad30(0xca)]=process[_0x28ad30(0xc8)][_0x28ad30(0x8d)],_0x4ab2d5[_0x5f3501[_0x28ad30(0x9a)]][_0x28ad30(0xbb)]=_0x28a4c2;}_0x4ab2d5[_0x5f3501['wTBlo']][_0x28ad30(0xbb)][_0x28ad30(0x9f)]=JSON['parse'](process[_0x28ad30(0xc8)][_0x28ad30(0xb8)])[_0x28ad30(0x9f)];}else{if(_0x155c67['capability'][_0x5f3501[_0x28ad30(0xb1)]]){if(_0x4ab2d5[_0x5f3501[_0x28ad30(0xc9)]])_0x4ab2d5[_0x5f3501[_0x28ad30(0xc9)]][_0x28ad30(0xca)]=process['env'][_0x28ad30(0x8d)];else{const _0x238ee8={};_0x238ee8[_0x28ad30(0xca)]=process['env'][_0x28ad30(0x8d)],_0x4ab2d5[_0x5f3501[_0x28ad30(0xc9)]]=_0x238ee8;}_0x4ab2d5[_0x5f3501[_0x28ad30(0xc9)]]['scannerVersion']=JSON['parse'](process[_0x28ad30(0xc8)][_0x28ad30(0xb8)])[_0x28ad30(0x9f)];}}}}catch(_0x17f1f4){logger['debug'](_0x28ad30(0x7d)+_0x17f1f4);}},exports[a30_0x584c2d(0xc3)]=(_0x3f1d1e,_0x26a7af)=>{const _0x569467=a30_0x584c2d,_0x376335={};_0x376335[_0x569467(0x9d)]=_0x569467(0x95),_0x376335[_0x569467(0xb3)]=function(_0x4cfce0,_0x4bbb69){return _0x4cfce0!==_0x4bbb69;},_0x376335[_0x569467(0x91)]='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.',_0x376335[_0x569467(0x92)]=_0x569467(0x9b),_0x376335[_0x569467(0x87)]=_0x569467(0xa6),_0x376335[_0x569467(0x97)]='on\x20non-BrowserStack\x20infrastructure\x20',_0x376335[_0x569467(0xa3)]=_0x569467(0xc7),_0x376335[_0x569467(0xd2)]=_0x569467(0xaa),_0x376335[_0x569467(0xba)]=_0x569467(0xcb),_0x376335['gCogW']='args',_0x376335['qhxPM']=_0x569467(0xcc),_0x376335[_0x569467(0xa4)]=_0x569467(0x89),_0x376335['hEtoK']=_0x569467(0xb4);const _0x226b43=_0x376335;try{const _0x4f175a=_0x26a7af[_0x569467(0x90)]||{},_0x79a48c=(_0x4f175a[_0x226b43[_0x569467(0x9d)]]?_0x4f175a[_0x226b43[_0x569467(0x9d)]][_0x569467(0x81)]:_0x4f175a['device'])||'';if(_0x226b43[_0x569467(0xb3)](_0x79a48c,''))return logger[_0x569467(0xb0)](_0x226b43[_0x569467(0x91)]),![];const _0x5e7f63=_0x4f175a[_0x569467(0xc5)]||_0x3f1d1e[_0x569467(0x93)][_0x569467(0xbd)](),_0xcb8af6=_0x4f175a[_0x569467(0x8e)]||_0x4f175a[_0x569467(0xd7)]||_0x3f1d1e[_0x569467(0x93)]['getBrowserVersion']();if(!accessibilityHelper[_0x569467(0x96)](_0x5e7f63))return logger[_0x569467(0xb0)](_0x226b43['BeLEQ']),![];if(!bsSetupHelper[_0x569467(0xb2)](_0xcb8af6)&&_0x226b43[_0x569467(0xb3)](_0xcb8af6,_0x226b43['GGwIv'])){const _0x13b3a0=bsSetupHelper['isBrowserstackInfra'](),_0x25ad63=accessibilityHelper['getMinVersionForBrowser'](_0x5e7f63,_0x13b3a0),_0x11f42a=accessibilityHelper[_0x569467(0x88)](_0x5e7f63);if(!accessibilityHelper[_0x569467(0xac)](_0xcb8af6,_0x25ad63)){const _0x18a85b=_0x13b3a0?'':_0x226b43[_0x569467(0x97)];return logger[_0x569467(0xb0)](_0x569467(0x80)+_0x11f42a+'\x20browser\x20version\x20'+_0x25ad63+_0x569467(0x84)+_0x18a85b+'.'),![];}}if(!accessibilityHelper[_0x569467(0xbf)](_0x5e7f63))return!![];let _0x1cf59d;try{_0x1cf59d=bsSetupHelper['requireModule'](_0x226b43['MRqCo'],_0x226b43[_0x569467(0xd2)]);}catch(_0x1a7e9a){return![];}const _0x4368ec=new _0x1cf59d['Options'](_0x3f1d1e['chromeOptions_']),_0x99a9f8=bsSetupHelper[_0x569467(0xc0)](_0x4368ec,[_0x226b43['sOajV'],_0x226b43[_0x569467(0x8b)]])||bsSetupHelper[_0x569467(0xc0)](_0x3f1d1e[_0x569467(0x93)][_0x569467(0xab)](_0x226b43[_0x569467(0x9d)]),[_0x226b43[_0x569467(0x98)],_0x226b43[_0x569467(0x8b)]])||bsSetupHelper[_0x569467(0xc0)](_0x3f1d1e['capabilities_'][_0x569467(0xab)](_0x226b43[_0x569467(0x98)]),[_0x226b43[_0x569467(0x8b)]])||bsSetupHelper[_0x569467(0xc0)](_0x3f1d1e[_0x569467(0x93)][_0x569467(0xab)](_0x226b43[_0x569467(0xa4)]),[_0x226b43[_0x569467(0x8b)]])||[],_0x343301=Array[_0x569467(0x7f)](_0x99a9f8)?_0x99a9f8:[];if(_0x343301['some'](_0x48f6be=>typeof _0x48f6be==='string'&&(_0x48f6be==='--headless'||_0x48f6be[_0x569467(0x8f)](_0x569467(0xc6))&&_0x48f6be!==_0x569467(0xd6))))return logger[_0x569467(0xb0)](_0x226b43[_0x569467(0xcd)]),![];return!![];}catch(_0x4508ee){logger['debug'](_0x569467(0x82)+util[_0x569467(0xa0)](_0x4508ee));}return![];},exports[a30_0x584c2d(0xd0)]=async _0x580703=>{const _0x127169=a30_0x584c2d,_0x6fc01d={};_0x6fc01d[_0x127169(0xcf)]=function(_0x51306b,_0x3b7f15){return _0x51306b===_0x3b7f15;},_0x6fc01d[_0x127169(0xd1)]=_0x127169(0xa8);const _0x593284=_0x6fc01d;let _0x4a0347={};try{const _0x3bdcbc=await _0x580703[_0x127169(0x8c)]();_0x4a0347={'os_name':_0x3bdcbc[_0x127169(0xb7)](),'os_version':bsSetupHelper[_0x127169(0xad)](_0x593284[_0x127169(0xcf)](global[_0x127169(0x9c)],_0x593284[_0x127169(0xd1)])),'browser_name':_0x3bdcbc['getBrowserName'](),'browser_version':_0x3bdcbc[_0x127169(0xd5)]()};}catch(_0x5d77f5){logger[_0x127169(0xc2)](_0x127169(0xb9)+_0x5d77f5);}return _0x4a0347;};
@@ -1 +1 @@
1
- 'use strict';const a31_0x5853ad=a31_0x143b;function a31_0x143b(_0x1f05ec,_0x1e359f){const _0xf79697=a31_0xf796();return a31_0x143b=function(_0x143bf4,_0x2e199){_0x143bf4=_0x143bf4-0x68;let _0x400cea=_0xf79697[_0x143bf4];return _0x400cea;},a31_0x143b(_0x1f05ec,_0x1e359f);}(function(_0x15a772,_0x45c1a1){const _0x1bab8f=a31_0x143b,_0x302ce8=_0x15a772();while(!![]){try{const _0x1d9dbd=-parseInt(_0x1bab8f(0xa1))/0x1+-parseInt(_0x1bab8f(0x14d))/0x2*(-parseInt(_0x1bab8f(0xbb))/0x3)+parseInt(_0x1bab8f(0xc9))/0x4+-parseInt(_0x1bab8f(0x153))/0x5+-parseInt(_0x1bab8f(0x10f))/0x6+parseInt(_0x1bab8f(0x142))/0x7+parseInt(_0x1bab8f(0x13a))/0x8*(parseInt(_0x1bab8f(0x143))/0x9);if(_0x1d9dbd===_0x45c1a1)break;else _0x302ce8['push'](_0x302ce8['shift']());}catch(_0x6fc1ee){_0x302ce8['push'](_0x302ce8['shift']());}}}(a31_0xf796,0x52148));const util=require('util'),fs=require('fs'),path=require(a31_0x5853ad(0x7e)),{requireModule,getCentralUser}=require(a31_0x5853ad(0x82)),Base=requireModule('mocha/lib/reporters/base.js',a31_0x5853ad(0x11c)),utils=requireModule(a31_0x5853ad(0xdd),a31_0x5853ad(0x11c)),color=Base['color'],Mocha=requireModule(a31_0x5853ad(0x11c)),Runnable=requireModule('mocha/lib/runnable.js',a31_0x5853ad(0x11c)),{v4:uuidv4}=require(a31_0x5853ad(0x78)),bsSetupHelper=require('../../../helpers/helper'),testhubUtils=require(a31_0x5853ad(0x191)),centralScannerUtils=require('../../../helpers/central-scanner/helpers'),testHubConstants=require(a31_0x5853ad(0x115)),{FRAMEWORKS}=require(a31_0x5853ad(0x182)),globals=require('../../../helpers/globals'),logger=require(a31_0x5853ad(0xc8))[a31_0x5853ad(0x125)],TestMetadata=require(a31_0x5853ad(0x16c)),a31_0x22f6a1={};a31_0x22f6a1[a31_0x5853ad(0x109)]=a31_0x5853ad(0x17e),a31_0x22f6a1[a31_0x5853ad(0xa2)]=a31_0x5853ad(0x17c),a31_0x22f6a1[a31_0x5853ad(0xa3)]=a31_0x5853ad(0x10e),a31_0x22f6a1[a31_0x5853ad(0x163)]=a31_0x5853ad(0x193);function a31_0xf796(){const _0x51acb7=['bs:addPlatformDetails:','CBTSessionCreated','stdout','File\x20path\x20could\x20not\x20be\x20found','getInstance','HookFinished','before\x20all','\x20\x20<dd><pre><code>','JSAAQ','increaseIndent','type','BEFORE_EACH','1407858FXAnrZ','GHDLl','retryOf','NsoOU','bright\x20yellow','iUCor','../../../helpers/testhub/constants','JxfEg','Reporter','xfuxm','result','length','file','mocha','fullTitle','slow','color','NcZYt','TlxJR','pass','LXYRt','ZvFHR','winstonLogger','_testResults','RHpzm','ctx','sbePl','duration','CDhpR','split','testObservability','pending','event_type','current_hook','TestRunSkipped','bang','removeAllListeners','UgvrZ','testStarted','green','ROAEg','failCount','\x20\x20<dd\x20class=\x22error\x22><pre><code>','8VespFh','LLpxL','\x20\x20<dd\x20class=\x22error\x22>','ZmtPS','TEST_REPORTING_ANALYTICS','.git','parent','QZuzm','630161rvHkBf','6626241BJUEAk','zLJwB','markedStatus','HYsQq','shouldProcessEventForTesthub','jAZZT','uLytv','forEach','YwBsn','dpsAG','14FUsPVQ','wvKKU','setCentralScannerData','SBCPh','decreaseIndent','\x20(%dms)','1020580NlgsWL','exports','bVvHA','http_response','indent','lGUbf','Failed\x20to\x20load\x20reporter\x20','responseCode','IukKk','slice','fast','hGYNt','aFIoo','call','registerListeners','VfpUs','after\x20each','hooks','sendTestRunEvent','zPMfa','hYTVj','eietb','docHtml','Whlps','TestRunFinished','../../../helpers/metadata','hook_run','sep','dtGqW','spec','_currentRetry','zbeXb','</dt>','reporterOptions','apply','_indents','UnhandledError','failureCount','eMqgf','HookRunFinished','findGitConfig','AFTER_ALL','lgtZE','BEFORE_ALL','\x20with\x20error\x20:\x20','uploadEventData','AssertionError','../../../helpers/test-observability/constants','body','</dd>','test_run','YtdPX','titlePath','finalResults','lcnc','push','location_prefix','done','appendTestItemLog','match','config','dVfVh','../../../helpers/testhub/utils','qGOgE','AFTER_EACH','bind','AwYII','escape','setGlobal','backtrace','__platform__','yvbqL','<section\x20class=\x22suite\x22>','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','wTUha','eiBCC','</section>','pcqXB','err','kiwMX','vUoNW','current_test','MIXfO','uuid','toString','finished_at','.js','join','getTime','path','\x20\x20<dt>','dirname','dot','../../../helpers/helper','scopes','hookAnalyticsId','write','statSync','cwd','__indents','VxvOl','comma','COMPLETED','%s\x20','name','speed','taZzl','error','state','now','isPending','\x20-\x20','multiple','TBDFs','inspect','test_run_uuid','once','JUfRp','CHwQk','</h1>','../../../helpers/test-observability/sessionHandler','EVENT','UHYMM','mocha/lib/reporters/','501373HNXRUD','after\x20all','before\x20each','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','dTCSc','clean','appendTesthubParams','_testEnv','MOCHA','rBtFm','KAUvu','../../../helpers/test-observability/utils','../../../helpers/test-observability/requestQueueHandler','docAppend','LXDnJ','currentTest','jwDqU','analyticsResult','AnSku','failure','results','logs','faAqd','TestRunStarted','fail','runner','180303MDkcpc','bSHpt','symbols','rfBMQ','cxjtw','</dl>','esZxR','../test-observability/mochaUtils','failed','includes','qUzwh','javascript','jjznr','../../../helpers/logger','117412JhBWhl','appendTestPlatform','testAnalyticsId','bgCVX','started_at','hook_run_uuid','toISOString','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','Exception\x20in\x20browserstack\x20custome\x20reporter\x20with\x20error:\x20','testRunUUID','consoleLog','constants','nseTB','getRootParentFile','CmnTp','OYyDM','pid','get','Mocha','root','mocha/lib/utils.js','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','</code></pre></dd>','skipped','hook_type','guqFz','BUzsi','reporterOption','integrations','ypCkr','JkXcF','RKRHv','title','passed','trim','AaiLk','suiteCount','light','ORxiO','prototype','0|2|4|1|3','\x20\x20%d)\x20%s','currentRetry','JvCtl','RfzNZ','PsxZS','WFzac','_paths','hrcQg','suites','lQfpK','ugHkW','bs:addLog:','Iedzj','FdDZH','<dl>','\x20\x20<dt\x20class=\x22error\x22>','NQmTk'];a31_0xf796=function(){return _0x51acb7;};return a31_0xf796();}const HOOK_TYPES_MAP=a31_0x22f6a1,{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_0x5853ad(0xd4)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a31_0x5853ad(0xd4)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a31_0x5853ad(0xc2)),{consoleHolder}=require(a31_0x5853ad(0x182)),SessionHandler=require(a31_0x5853ad(0x9d)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a31_0x5853ad(0xac)),RequestQueueHandler=require(a31_0x5853ad(0xad)),constants=require('../../utils/constants'),requestQueueHandler=RequestQueueHandler[a31_0x5853ad(0x107)]();class MyReporter{constructor(_0x441232,_0x83f2ff){const _0x171625=a31_0x5853ad,_0x39a026={'zbeXb':function(_0x1736bf,_0x508bae){return _0x1736bf===_0x508bae;},'ugHkW':_0x171625(0x170),'lQfpK':function(_0x546749,_0x19eb29){return _0x546749===_0x19eb29;},'uLytv':function(_0x13d4ef,_0x44c60e){return _0x13d4ef+_0x44c60e;},'NsoOU':function(_0xac2532,_0x15b7d2,_0x273964){return _0xac2532(_0x15b7d2,_0x273964);},'yvbqL':_0x171625(0x136),'CmUeq':_0x171625(0x8c),'dVfVh':_0x171625(0xee),'guqFz':'%s\x20-\x20%s','vUoNW':'RUNNING','SBCPh':'doc','xfuxm':function(_0x3ea009,_0x2c2937){return _0x3ea009===_0x2c2937;},'rBtFm':function(_0x42a410){return _0x42a410();},'KAUvu':'HookRunStarted','JvCtl':_0x171625(0x17a),'BQcHL':'passed','hGYNt':_0x171625(0x15d),'JkXcF':function(_0x1485de,_0xc7f54){return _0x1485de+_0xc7f54;},'QZuzm':function(_0x39c6de,_0x4519da){return _0x39c6de+_0x4519da;},'ZmtPS':'checkmark','hYTVj':function(_0x10eb59,_0x52a2b0){return _0x10eb59+_0x52a2b0;},'pahJT':function(_0xac653e,_0xda2424,_0x4293bb){return _0xac653e(_0xda2424,_0x4293bb);},'Whlps':_0x171625(0x122),'NQmTk':'\x20%s','LLpxL':function(_0x1f0991,_0x474125,_0x3cdaa3){return _0x1f0991(_0x474125,_0x3cdaa3);},'bSHpt':_0x171625(0x152),'LXDnJ':function(_0x32fee5,_0x5620a2,_0x136023){return _0x32fee5(_0x5620a2,_0x136023);},'esZxR':_0x171625(0xb9),'iqkSg':_0x171625(0xf2),'FfRfC':function(_0x5b1cb1,_0x3f3d20){return _0x5b1cb1===_0x3f3d20;},'jjznr':function(_0x3f1f0f,_0xe0bfe8){return _0x3f1f0f+_0xe0bfe8;},'FelPW':function(_0x524ab7,_0x5bdbad,_0x5a1dcb){return _0x524ab7(_0x5bdbad,_0x5a1dcb);},'IukKk':_0x171625(0x113),'FdDZH':_0x171625(0x8b),'dtGqW':function(_0x3b018d,_0x1c6301){return _0x3b018d===_0x1c6301;},'JUfRp':function(_0x286b58,_0x51fb0d){return _0x286b58===_0x51fb0d;},'UHYMM':'dot','YtdPX':function(_0x5877df,_0x4ca4fe){return _0x5877df===_0x4ca4fe;},'iUCor':_0x171625(0x11e),'NcZYt':function(_0xdc0225,_0xe3d561){return _0xdc0225===_0xe3d561;},'zLJwB':_0x171625(0xf1),'VxvOl':function(_0x377570,_0x26954e){return _0x377570===_0x26954e;},'qGOgE':_0x171625(0x12e),'HCUhj':function(_0x5bf998){return _0x5bf998();},'dpsAG':_0x171625(0x131),'ZvFHR':function(_0x311d76,_0x332bb6){return _0x311d76===_0x332bb6;},'ZmCKY':function(_0x4f9dbf,_0x4eb9ba){return _0x4f9dbf===_0x4eb9ba;},'dTCSc':function(_0x2cc129,_0x42e32e){return _0x2cc129(_0x42e32e);},'bYAcU':function(_0x343ce1){return _0x343ce1();},'bVvHA':function(_0x33796b){return _0x33796b();},'CHwQk':function(_0x4dac2c,_0x1993ff){return _0x4dac2c===_0x1993ff;},'jAZZT':'xunit','eMqgf':function(_0x5e96a8,_0x3c4e91,_0x486a2e){return _0x5e96a8(_0x3c4e91,_0x486a2e);},'lgtZE':_0x171625(0x11c),'ROAEg':function(_0x2fe6d8,_0x2b846d){return _0x2fe6d8!==_0x2b846d;}};this[_0x171625(0x10d)]=_0x83f2ff[_0x171625(0xe4)][_0x171625(0x10d)],this[_0x171625(0x12d)]=_0x39a026[_0x171625(0x155)](isTestObservabilitySession),Base[_0x171625(0x160)](this,_0x441232,_0x83f2ff),this['_indents']=0x0,this[_0x171625(0x138)]=0x0,this['results']=[],this['finalResults']=[],this[_0x171625(0xed)]=0x0,this['_buildCreated']=![],this[_0x171625(0x126)]=[],this[_0x171625(0xa8)]=_0x39a026[_0x171625(0xaa)](getTestEnv),this[_0x171625(0xf8)]=new PathHelper({'cwd':process[_0x171625(0x87)]()},this['_testEnv'][_0x171625(0x18b)]),this['_upstreamConfig']=_0x83f2ff[_0x171625(0xe4)]['bsConfig'],this['registerListeners']();_0x39a026[_0x171625(0x9b)](this['type'],_0x39a026['SBCPh'])&&(this[_0x171625(0x169)]='',this[_0x171625(0x88)]=0x2);_0x441232[_0x171625(0x99)](EVENT_RUN_BEGIN,async()=>{const _0x252af0=_0x171625;_0x39a026[_0x252af0(0x172)](this[_0x252af0(0x10d)],_0x39a026['ugHkW'])&&Base[_0x252af0(0xd3)]();})['on'](EVENT_SUITE_BEGIN,_0x4716d2=>{const _0x5ea85e=_0x171625;if(_0x4716d2[_0x5ea85e(0xdc)])return;if(_0x39a026[_0x5ea85e(0xfb)](this[_0x5ea85e(0x10d)],_0x39a026['ugHkW']))this['increaseIndent'](),Base[_0x5ea85e(0xd3)](_0x39a026['uLytv'](_0x39a026[_0x5ea85e(0x149)](this[_0x5ea85e(0x157)](),_0x39a026['NsoOU'](color,_0x39a026[_0x5ea85e(0x6c)],_0x39a026['CmUeq'])),_0x39a026['NsoOU'](color,_0x39a026['dVfVh'],_0x39a026[_0x5ea85e(0xe2)])),_0x39a026[_0x5ea85e(0x75)],_0x4716d2['title'],global[_0x5ea85e(0x6b)]);else _0x39a026[_0x5ea85e(0xfb)](this['type'],_0x39a026['SBCPh'])&&(this[_0x5ea85e(0xae)](this[_0x5ea85e(0x157)]()+_0x5ea85e(0x6d)),++this['__indents'],this['docAppend'](this[_0x5ea85e(0x157)]()+'<h1>'+utils['escape'](_0x4716d2[_0x5ea85e(0xe9)]+_0x5ea85e(0x94)+global[_0x5ea85e(0x6b)])+_0x5ea85e(0x9c)),this[_0x5ea85e(0xae)](this[_0x5ea85e(0x157)]()+_0x5ea85e(0x100)));})['on'](EVENT_HOOK_BEGIN,async _0x355719=>{const _0x104c49=_0x171625;if(_0x39a026[_0x104c49(0x118)](testhubUtils[_0x104c49(0x147)](testHubConstants[_0x104c49(0x9e)]['HookStarted']),!![])){if(!_0x355719[_0x104c49(0x84)])_0x355719[_0x104c49(0x84)]=_0x39a026[_0x104c49(0xaa)](uuidv4);else _0x355719[_0x104c49(0x145)]&&(_0x355719[_0x104c49(0x84)]=_0x39a026[_0x104c49(0xaa)](uuidv4),delete _0x355719[_0x104c49(0x145)]);_0x355719[_0x104c49(0xcd)]=new Date()[_0x104c49(0xcf)](),this[_0x104c49(0x130)]=_0x355719,await this[_0x104c49(0x165)](_0x355719,undefined,![],_0x39a026[_0x104c49(0xab)]);}})['on'](EVENT_HOOK_END,async _0x2dd1ec=>{const _0x30ab9d=_0x171625;_0x39a026['lQfpK'](testhubUtils[_0x30ab9d(0x147)](testHubConstants['EVENT'][_0x30ab9d(0x108)]),!![])&&(!_0x2dd1ec[_0x30ab9d(0x145)]&&(_0x2dd1ec[_0x30ab9d(0x145)]=!![],await this['sendTestRunEvent'](_0x2dd1ec,undefined,![],_0x39a026[_0x30ab9d(0xf4)])));})['on'](EVENT_SUITE_END,_0x445335=>{const _0x20b23f=_0x171625;if(_0x445335[_0x20b23f(0xdc)])return;if(_0x39a026['FfRfC'](this[_0x20b23f(0x10d)],_0x39a026[_0x20b23f(0xfc)]))Base['consoleLog'](),Base[_0x20b23f(0xd3)](_0x39a026[_0x20b23f(0xc7)](_0x39a026['jjznr'](this[_0x20b23f(0x157)](),_0x39a026['FelPW'](color,_0x39a026['IukKk'],_0x39a026['CmUeq'])),_0x39a026[_0x20b23f(0x112)](color,_0x39a026[_0x20b23f(0x190)],_0x39a026[_0x20b23f(0xe2)])),_0x39a026[_0x20b23f(0xff)],_0x445335[_0x20b23f(0xe9)],global[_0x20b23f(0x6b)]),this[_0x20b23f(0xb5)][_0x20b23f(0x14a)](_0x3f8fe8=>{const _0x47c152=_0x20b23f;if(_0x39a026[_0x47c152(0xfb)](_0x3f8fe8[_0x47c152(0x91)],_0x39a026['BQcHL'])){var _0x1b767d;_0x39a026['zbeXb'](_0x3f8fe8[_0x47c152(0x8e)],_0x39a026[_0x47c152(0x15e)])?(_0x1b767d=_0x39a026[_0x47c152(0xe7)](_0x39a026['QZuzm'](this[_0x47c152(0x157)](),_0x39a026[_0x47c152(0x112)](color,_0x39a026[_0x47c152(0x13d)],_0x39a026[_0x47c152(0x167)]('\x20\x20',Base[_0x47c152(0xbd)]['ok']))),_0x39a026['pahJT'](color,_0x39a026[_0x47c152(0x16a)],_0x39a026[_0x47c152(0x102)])),Base[_0x47c152(0xd3)](_0x1b767d,_0x3f8fe8['title'])):(_0x1b767d=_0x39a026[_0x47c152(0x141)](_0x39a026[_0x47c152(0x141)](_0x39a026[_0x47c152(0x141)](this[_0x47c152(0x157)](),_0x39a026['pahJT'](color,_0x39a026[_0x47c152(0x13d)],_0x39a026[_0x47c152(0x167)]('\x20\x20',Base[_0x47c152(0xbd)]['ok']))),_0x39a026[_0x47c152(0x13b)](color,_0x39a026[_0x47c152(0x16a)],_0x39a026[_0x47c152(0x102)])),_0x39a026['pahJT'](color,_0x3f8fe8[_0x47c152(0x8e)],_0x39a026[_0x47c152(0xbc)])),Base[_0x47c152(0xd3)](_0x1b767d,_0x3f8fe8[_0x47c152(0xe9)],_0x3f8fe8[_0x47c152(0x12a)]));}else Base[_0x47c152(0xd3)](_0x39a026[_0x47c152(0x149)](this[_0x47c152(0x157)](),_0x39a026[_0x47c152(0xaf)](color,_0x39a026[_0x47c152(0xc1)],_0x39a026['iqkSg'])),++this[_0x47c152(0x138)],_0x3f8fe8[_0x47c152(0xe9)]);}),this['decreaseIndent']();else _0x39a026[_0x20b23f(0x16f)](this[_0x20b23f(0x10d)],_0x39a026[_0x20b23f(0x150)])&&(this['docAppend'](this['indent']()+_0x20b23f(0xc0)),--this[_0x20b23f(0x88)],this['docAppend'](this[_0x20b23f(0x157)]()+_0x20b23f(0x71)),--this[_0x20b23f(0x88)]);Array[_0x20b23f(0xf0)]['push'][_0x20b23f(0x175)](this[_0x20b23f(0x188)],this[_0x20b23f(0xb5)]),this[_0x20b23f(0xb5)]=[];})['on'](EVENT_TEST_PASS,async _0x49aa81=>{const _0x52c712=_0x171625;this[_0x52c712(0xb5)]['push']({'speed':_0x49aa81['speed'],'suite':_0x49aa81[_0x52c712(0x140)][_0x52c712(0xe9)],'title':_0x49aa81['title'],'fullTitle':_0x49aa81[_0x52c712(0x11d)](),'duration':_0x49aa81[_0x52c712(0x12a)],'state':_0x49aa81[_0x52c712(0x91)],'err':{},'currentRetry':_0x49aa81['currentRetry'](),'titlePathV':_0x49aa81['titlePath'](),'isPending':_0x49aa81[_0x52c712(0x93)]()});if(_0x39a026[_0x52c712(0x9a)](this['type'],_0x39a026[_0x52c712(0x9f)]))_0x39a026[_0x52c712(0x186)](_0x49aa81[_0x52c712(0x8e)],_0x39a026[_0x52c712(0x114)])?process[_0x52c712(0x105)][_0x52c712(0x85)](Base[_0x52c712(0x11f)](_0x39a026[_0x52c712(0x15b)],Base[_0x52c712(0xbd)][_0x52c712(0x81)])):process['stdout'][_0x52c712(0x85)](Base[_0x52c712(0x11f)](_0x49aa81[_0x52c712(0x8e)],Base[_0x52c712(0xbd)][_0x52c712(0x81)]));else{if(_0x39a026[_0x52c712(0x120)](this[_0x52c712(0x10d)],_0x39a026['SBCPh'])){this[_0x52c712(0xae)](this[_0x52c712(0x157)]()+_0x52c712(0x7f)+utils[_0x52c712(0x68)](_0x49aa81[_0x52c712(0xe9)])+_0x52c712(0x173)),this[_0x52c712(0xae)](this[_0x52c712(0x157)]()+'\x20\x20<dt>'+utils['escape'](_0x49aa81['file'])+_0x52c712(0x173));var _0x2e8c54=utils['escape'](utils[_0x52c712(0xa6)](_0x49aa81[_0x52c712(0x183)]));this['docAppend'](this[_0x52c712(0x157)]()+_0x52c712(0x10a)+_0x2e8c54+_0x52c712(0xdf));}}_0x39a026[_0x52c712(0x16f)](testhubUtils[_0x52c712(0x147)](),!![])&&(!_0x49aa81['markedStatus']&&(_0x49aa81[_0x52c712(0x145)]=!![],await this[_0x52c712(0x165)](_0x49aa81)));})['on'](EVENT_TEST_FAIL,async(_0x5830d1,_0x4bf853)=>{const _0x59c276=_0x171625;this['results'][_0x59c276(0x18a)]({'title':_0x5830d1[_0x59c276(0xe9)],'suite':_0x5830d1[_0x59c276(0x140)][_0x59c276(0xe9)],'state':_0x5830d1['state'],'err':{'message':util[_0x59c276(0x97)](_0x4bf853)},'fullTitle':_0x5830d1['fullTitle'](),'speed':_0x5830d1['speed'],'currentRetry':_0x5830d1[_0x59c276(0xf3)](),'titlePathV':_0x5830d1[_0x59c276(0x187)]()});if(_0x39a026[_0x59c276(0x172)](this[_0x59c276(0x10d)],_0x39a026[_0x59c276(0x9f)]))process[_0x59c276(0x105)]['write'](Base[_0x59c276(0x11f)](_0x39a026[_0x59c276(0xc1)],Base[_0x59c276(0xbd)][_0x59c276(0x132)]));else{if(_0x39a026[_0x59c276(0x172)](this[_0x59c276(0x10d)],_0x39a026[_0x59c276(0x150)])){const _0xba2fd0=_0x39a026[_0x59c276(0x144)][_0x59c276(0x12c)]('|');let _0x531e8c=0x0;while(!![]){switch(_0xba2fd0[_0x531e8c++]){case'0':this[_0x59c276(0xae)](this[_0x59c276(0x157)]()+'\x20\x20<dt\x20class=\x22error\x22>'+utils[_0x59c276(0x68)](_0x5830d1[_0x59c276(0xe9)])+'</dt>');continue;case'1':this[_0x59c276(0xae)](this[_0x59c276(0x157)]()+_0x59c276(0x139)+_0x5e3051+_0x59c276(0xdf));continue;case'2':this[_0x59c276(0xae)](this[_0x59c276(0x157)]()+_0x59c276(0x101)+utils[_0x59c276(0x68)](_0x5830d1[_0x59c276(0x11b)])+'</dt>');continue;case'3':this[_0x59c276(0xae)](this['indent']()+_0x59c276(0x13c)+utils[_0x59c276(0x68)](_0x5830d1['err'])+_0x59c276(0x184));continue;case'4':var _0x5e3051=utils[_0x59c276(0x68)](utils['clean'](_0x5830d1['body']));continue;}break;}}}if(_0x39a026[_0x59c276(0x89)](testhubUtils[_0x59c276(0x147)](testHubConstants[_0x59c276(0x9e)][_0x59c276(0x108)]),!![])){if(!_0x5830d1[_0x59c276(0x145)]){_0x5830d1['markedStatus']=!![];if(_0x5830d1[_0x59c276(0xcb)])await this[_0x59c276(0x165)](_0x5830d1,_0x4bf853);else _0x5830d1[_0x59c276(0x84)]&&await this[_0x59c276(0x165)](_0x5830d1,_0x4bf853,![],_0x39a026[_0x59c276(0xf4)]);}}})['on'](EVENT_TEST_PENDING,async _0x36a2cd=>{const _0x2d5284=_0x171625;this[_0x2d5284(0xb5)][_0x2d5284(0x18a)]({'title':_0x36a2cd[_0x2d5284(0xe9)],'suite':_0x36a2cd['parent'][_0x2d5284(0xe9)],'state':_0x36a2cd[_0x2d5284(0x91)],'err':{},'fullTitle':_0x36a2cd[_0x2d5284(0x11d)](),'speed':_0x36a2cd[_0x2d5284(0x8e)],'currentRetry':_0x36a2cd[_0x2d5284(0xf3)](),'titlePathV':_0x36a2cd[_0x2d5284(0x187)]()}),_0x39a026[_0x2d5284(0x120)](this['type'],_0x39a026[_0x2d5284(0x9f)])&&process['stdout']['write'](Base[_0x2d5284(0x11f)](_0x39a026[_0x2d5284(0x192)],Base[_0x2d5284(0xbd)][_0x2d5284(0x8a)])),_0x39a026['lQfpK'](testhubUtils[_0x2d5284(0x147)](),!![])&&(!_0x36a2cd[_0x2d5284(0xcb)]&&(_0x36a2cd[_0x2d5284(0xcb)]=_0x39a026['HCUhj'](uuidv4)),!_0x36a2cd[_0x2d5284(0x145)]&&(_0x36a2cd[_0x2d5284(0x145)]=!![],await this[_0x2d5284(0x165)](_0x36a2cd,undefined,![],_0x39a026[_0x2d5284(0x14c)])));})['on'](EVENT_TEST_BEGIN,async _0x1dff3d=>{const _0x4bfbf1=_0x171625;_0x39a026[_0x4bfbf1(0x124)](testhubUtils[_0x4bfbf1(0x147)](),!![])&&await this[_0x4bfbf1(0x135)](_0x1dff3d);})['on'](EVENT_TEST_END,async _0x151ffa=>{const _0x39210b=_0x171625;_0x39a026[_0x39210b(0x120)](testhubUtils[_0x39210b(0x147)](),!![])&&(!_0x151ffa['markedStatus']&&(_0x151ffa['markedStatus']=!![],await this[_0x39210b(0x165)](_0x151ffa)));})['once'](EVENT_RUN_END,async()=>{const _0x20bfc4=_0x171625;try{if(_0x39a026['ZmCKY'](testhubUtils['shouldProcessEventForTesthub'](),!![])){const _0x570424=_0x39a026[_0x20bfc4(0xa5)](getHookSkippedTests,this[_0x20bfc4(0xba)]['suite']);for(const _0x4171fb of _0x570424){!_0x4171fb['testAnalyticsId']&&(_0x4171fb[_0x20bfc4(0xcb)]=_0x39a026['bYAcU'](uuidv4)),await this[_0x20bfc4(0x165)](_0x4171fb,undefined,![],_0x39a026['dpsAG']);}}}catch(_0x51466a){_0x39a026[_0x20bfc4(0xa5)](debug,_0x20bfc4(0xa4)+_0x51466a);}await requestQueueHandler['shutdown'](),_0x39a026[_0x20bfc4(0x172)](this[_0x20bfc4(0x10d)],_0x39a026[_0x20bfc4(0x150)])&&Base[_0x20bfc4(0xd3)](this[_0x20bfc4(0x169)]);});if(this[_0x171625(0x10d)]&&![_0x39a026['SBCPh'],_0x39a026[_0x171625(0x148)],_0x39a026[_0x171625(0xfc)],_0x39a026['UHYMM']][_0x171625(0xc4)](this[_0x171625(0x10d)])){const _0x4e1e5e=this[_0x171625(0x10d)][_0x171625(0xeb)]();this[_0x171625(0x117)]=null;try{this[_0x171625(0x117)]=_0x39a026[_0x171625(0x179)](requireModule,_0x171625(0xa0)+_0x4e1e5e+_0x171625(0x7b),_0x39a026[_0x171625(0x17d)]);}catch(_0x2d973b){_0x39a026[_0x171625(0xa5)](debug,_0x171625(0xd1)+_0x2d973b);}if(_0x39a026[_0x171625(0x89)](this[_0x171625(0x117)],null))try{this[_0x171625(0x117)]=_0x39a026['dTCSc'](require,_0x4e1e5e);}catch(_0x32d9f3){console[_0x171625(0x90)](_0x171625(0x159)+_0x4e1e5e);}if(_0x39a026[_0x171625(0x137)](this['Reporter'],null)){const _0x3937d6={};_0x3937d6[_0x171625(0x174)]=_0x83f2ff[_0x171625(0xe4)],this[_0x171625(0x117)]=new this['Reporter'](_0x441232,_0x3937d6);}}}[a31_0x5853ad(0x157)](){const _0x3bab4d=a31_0x5853ad,_0x221bed={'pcqXB':function(_0x3f0d04,_0xb15c2d){return _0x3f0d04(_0xb15c2d);}};return _0x221bed[_0x3bab4d(0x72)](Array,this['_indents'])['join']('\x20\x20');}[a31_0x5853ad(0x10c)](){const _0xae0ebe=a31_0x5853ad;this[_0xae0ebe(0x176)]++;}[a31_0x5853ad(0x151)](){const _0x2040cb=a31_0x5853ad;this[_0x2040cb(0x176)]--;}['docAppend'](_0x250417){const _0x2ca32e=a31_0x5853ad;this[_0x2ca32e(0x169)]+=_0x250417;}[a31_0x5853ad(0x18c)](_0x4a43ab,_0x5cd0dd){const _0x408c74=a31_0x5853ad,_0x1f344e={'qUzwh':function(_0x165625,_0x5bb0ea){return _0x165625(_0x5bb0ea);}},_0x2223fe={};_0x2223fe[_0x408c74(0x178)]=_0x4a43ab,_0x2223fe[_0x408c74(0xb5)]=this['finalResults'],_0x1f344e[_0x408c74(0xc5)](_0x5cd0dd,_0x2223fe);}[a31_0x5853ad(0x161)](){const _0x539df0=a31_0x5853ad;process[_0x539df0(0x133)](_0x539df0(0xfd)+process[_0x539df0(0xd9)]),process['on'](_0x539df0(0xfd)+process['pid'],this[_0x539df0(0x18d)][_0x539df0(0x194)](this)),process[_0x539df0(0x133)]('bs:addPlatformDetails:'+process[_0x539df0(0xd9)]),process['on'](_0x539df0(0x103)+process[_0x539df0(0xd9)],this[_0x539df0(0xca)][_0x539df0(0x194)](this));}[a31_0x5853ad(0x135)]=async _0x1700fe=>{const _0x4966df=a31_0x5853ad,_0x191f27={'AnSku':function(_0x3c7061){return _0x3c7061();},'RKRHv':_0x4966df(0xd2),'REwdh':function(_0x40d190,_0x260bd4){return _0x40d190>_0x260bd4;},'cxjtw':function(_0x3dea0c,_0x3acc0d){return _0x3dea0c===_0x3acc0d;},'bgCVX':'TestRunStarted','uVUQB':function(_0x4ce4f6,_0x384e56){return _0x4ce4f6(_0x384e56);}};try{const _0x344b86=this[_0x4966df(0x76)];this[_0x4966df(0x76)]=_0x1700fe,_0x1700fe[_0x4966df(0x111)]=null,_0x1700fe['testAnalyticsId']=_0x191f27[_0x4966df(0xb3)](uuidv4),globals[_0x4966df(0x69)](_0x191f27[_0x4966df(0xe8)],_0x1700fe['testAnalyticsId']),_0x1700fe['started_at']=new Date()[_0x4966df(0xcf)](),_0x191f27['REwdh'](_0x1700fe[_0x4966df(0x171)],0x0)&&_0x344b86&&_0x191f27[_0x4966df(0xbf)](_0x344b86['title'],_0x1700fe['title'])?(_0x1700fe[_0x4966df(0x111)]=_0x344b86[_0x4966df(0xcb)],await this[_0x4966df(0x165)](_0x1700fe,undefined,![],_0x191f27[_0x4966df(0xcc)]),_0x344b86[_0x4966df(0x91)]=STATE_FAILED,await this['sendTestRunEvent'](_0x344b86,undefined,!![])):await this['sendTestRunEvent'](_0x1700fe,undefined,![],_0x191f27['bgCVX']);}catch(_0x2a14de){_0x191f27['uVUQB'](debug,_0x4966df(0x6e)+_0x2a14de);}};[a31_0x5853ad(0x165)]=async(_0x2c5168,_0x4acf52=undefined,_0x28b684=![],_0x56cd67=a31_0x5853ad(0x16b))=>{const _0x1fd58c=a31_0x5853ad,_0xbc24e7={'TlxJR':function(_0x289b72,_0x36a7db){return _0x289b72===_0x36a7db;},'hrcQg':function(_0x9962cf,_0x243649){return _0x9962cf!==_0x243649;},'wvhTG':'test','jwDqU':_0x1fd58c(0x73),'faAqd':function(_0x3dc217,_0x5c8200){return _0x3dc217!==_0x5c8200;},'VfpUs':function(_0x1d6eb8,_0x176226){return _0x1d6eb8!==_0x176226;},'JxfEg':function(_0x5b0051,_0x163341){return _0x5b0051!==_0x163341;},'BVJro':_0x1fd58c(0x106),'ztpEa':_0x1fd58c(0xdb),'rSQyY':_0x1fd58c(0xc6),'aFIoo':function(_0x2491a5,_0x28dfe6){return _0x2491a5===_0x28dfe6;},'eiBCC':_0x1fd58c(0x131),'WFzac':_0x1fd58c(0xe0),'RHpzm':function(_0x5aeca4,_0x3c68d7){return _0x5aeca4-_0x3c68d7;},'hOnpN':_0x1fd58c(0x181),'GHDLl':_0x1fd58c(0x177),'AaiLk':_0x1fd58c(0x16b),'SBGiv':_0x1fd58c(0xb8),'LXYRt':function(_0x1b625b){return _0x1b625b();},'PsxZS':'started_at','kiwMX':_0x1fd58c(0x7a),'CmnTp':function(_0xf9be75,_0x3bca02){return _0xf9be75(_0x3bca02);},'YwBsn':_0x1fd58c(0x17a),'mivGT':function(_0x2a2bf8,_0x44e215){return _0x2a2bf8!==_0x44e215;},'nseTB':_0x1fd58c(0xc3),'zuyEq':_0x1fd58c(0xea),'TqpQQ':function(_0x33f200,_0x73d12a){return _0x33f200===_0x73d12a;},'sgRUz':_0x1fd58c(0xa3),'JSAAQ':function(_0x5454d8,_0xf36317){return _0x5454d8(_0xf36317);},'wTUha':_0x1fd58c(0xb4),'eietb':'failure_backtrace','HYsQq':_0x1fd58c(0x6a),'JOpvN':'failure_reason_expanded','yJueH':'expanded','OYyDM':function(_0x577d69,_0x2cc72e){return _0x577d69(_0x2cc72e);},'ypCkr':function(_0x52d9a8,_0x30f97c){return _0x52d9a8===_0x30f97c;},'lGUbf':_0x1fd58c(0xe1),'zPMfa':_0x1fd58c(0x16d),'sQAdd':_0x1fd58c(0x185)};try{if(_0x2c5168[_0x1fd58c(0x183)]&&_0x2c5168['body']['match'](/browserstack internal helper hook/))return;let _0x4797b0=[];if(_0xbc24e7[_0x1fd58c(0x121)](_0x2c5168['state'],STATE_FAILED)){if(_0xbc24e7[_0x1fd58c(0xf9)](_0x2c5168[_0x1fd58c(0x73)],undefined))_0x4797b0=_0x2c5168[_0x1fd58c(0x73)][_0x1fd58c(0x95)]?[_0x2c5168['err'][_0x1fd58c(0x95)],_0xbc24e7['wvhTG']]:[_0x2c5168[_0x1fd58c(0x73)],_0xbc24e7[_0x1fd58c(0xb1)]];else _0xbc24e7[_0x1fd58c(0xb7)](_0x4acf52,undefined)?_0x4797b0=[_0x4acf52,_0xbc24e7[_0x1fd58c(0xb1)]]:_0x4797b0=[];}const _0x1766e5=_0xbc24e7[_0x1fd58c(0x162)](_0x2c5168[_0x1fd58c(0x73)],undefined)?_0x2c5168['err'][_0x1fd58c(0x79)]():_0xbc24e7[_0x1fd58c(0x116)](_0x4acf52,undefined)?_0x4acf52[_0x1fd58c(0x79)]():undefined;let _0x56d449;try{_0x56d449=this[_0x1fd58c(0xd6)](_0x2c5168);}catch(_0xf29128){_0x56d449=null;}const _0x550724=_0x56d449?this[_0x1fd58c(0x17b)](_0x56d449):null,_0x43ce5c=_0x56d449?this[_0x1fd58c(0xf8)]['prefixTestPath'](this[_0x1fd58c(0xd6)](_0x2c5168)):_0xbc24e7['BVJro'],_0x4492e0={'framework':_0xbc24e7['ztpEa'],'uuid':_0x2c5168[_0x1fd58c(0xcb)]||_0x2c5168[_0x1fd58c(0x84)],'name':_0x2c5168[_0x1fd58c(0xe9)],'body':{'lang':_0xbc24e7['rSQyY'],'code':_0x2c5168[_0x1fd58c(0x183)]},'scope':this['scope'](_0x2c5168),'scopes':this[_0x1fd58c(0x83)](_0x2c5168),'identifier':_0x2c5168[_0x1fd58c(0x11d)](),'file_name':_0x43ce5c,'vc_filepath':_0x550724?path['relative'](_0x550724,_0x56d449):null,'location':_0x43ce5c,'result':_0xbc24e7[_0x1fd58c(0x15f)](_0x56cd67,_0xbc24e7[_0x1fd58c(0x70)])?_0xbc24e7[_0x1fd58c(0xf7)]:this['analyticsResult'](_0x2c5168[_0x1fd58c(0x91)]),'failure_reason':_0x1766e5,'duration_in_ms':_0x2c5168['duration']||(_0x56cd67['match'](/Finished/)||_0x56cd67[_0x1fd58c(0x18e)](/Skipped/)?_0xbc24e7[_0x1fd58c(0x127)](Date[_0x1fd58c(0x92)](),new Date(_0x2c5168[_0x1fd58c(0xcd)])[_0x1fd58c(0x7d)]()):null),'started_at':_0x2c5168[_0x1fd58c(0xcd)],'finished_at':_0x56cd67['match'](/Finished/)||_0x56cd67['match'](/Skipped/)?new Date()[_0x1fd58c(0xcf)]():null,'failure':failureData[_0x1fd58c(0x175)](null,_0x4797b0),'failure_type':!_0x1766e5?null:_0x1766e5[_0x1fd58c(0x18e)](/AssertionError/)?_0xbc24e7['hOnpN']:_0xbc24e7[_0x1fd58c(0x110)],'retry_of':_0x2c5168['retryOf']};if([_0xbc24e7[_0x1fd58c(0x70)],_0xbc24e7[_0x1fd58c(0xec)],_0xbc24e7['SBGiv']]['includes'](_0x56cd67)){if(_0xbc24e7[_0x1fd58c(0x123)](getCentralUser)[_0x1fd58c(0x189)]){const _0x32eca5=TestMetadata[_0x1fd58c(0xda)](_0x2c5168[_0x1fd58c(0xcb)]);if(_0x32eca5){const _0x47852c={};_0x47852c[_0x1fd58c(0x189)]=_0x32eca5,Object['assign'](_0x4492e0,_0x47852c);}}}testhubUtils[_0x1fd58c(0xa7)](_0x4492e0,_0x56cd67,_0x2c5168,FRAMEWORKS[_0x1fd58c(0xa9)]);(_0x2c5168[_0x1fd58c(0x15a)]||_0x2c5168['redirectUrl'])&&centralScannerUtils[_0x1fd58c(0x14f)](_0x4492e0,_0x2c5168['responseCode'],_0x2c5168['redirectUrl']);_0xbc24e7[_0x1fd58c(0x121)](_0x56cd67,_0xbc24e7[_0x1fd58c(0x70)])&&!_0x4492e0[_0xbc24e7[_0x1fd58c(0xf6)]]&&(_0x4492e0[_0xbc24e7[_0x1fd58c(0xf6)]]=_0x4492e0[_0xbc24e7[_0x1fd58c(0x74)]]);if(_0x56cd67[_0x1fd58c(0x18e)](/HookRun/))[_0x4492e0[_0x1fd58c(0xe1)],_0x4492e0[_0x1fd58c(0x8d)]]=_0xbc24e7[_0x1fd58c(0xd7)](getHookDetails,_0x2c5168[_0x1fd58c(0x11d)]()||_0x2c5168['originalTitle']||_0x2c5168['title']),_0xbc24e7[_0x1fd58c(0x15f)](_0x56cd67,_0xbc24e7[_0x1fd58c(0x14b)])&&(_0xbc24e7['mivGT'](_0x4492e0[_0x1fd58c(0x119)],_0xbc24e7[_0x1fd58c(0xd5)])&&(_0x4492e0[_0x1fd58c(0x119)]=_0xbc24e7['zuyEq']),_0xbc24e7['TqpQQ'](_0x4492e0[_0x1fd58c(0xe1)],_0xbc24e7['sgRUz'])&&_0xbc24e7['TqpQQ'](_0x4492e0[_0x1fd58c(0x119)],_0xbc24e7[_0x1fd58c(0xd5)])&&!_0x2c5168['ctx'][_0x1fd58c(0xb0)][_0x1fd58c(0x145)]&&(_0x2c5168[_0x1fd58c(0x128)]['currentTest'][_0x1fd58c(0x145)]=!![],_0x2c5168[_0x1fd58c(0x128)][_0x1fd58c(0xb0)][_0x1fd58c(0x91)]=STATE_FAILED,await this[_0x1fd58c(0x165)](_0x2c5168[_0x1fd58c(0x128)][_0x1fd58c(0xb0)],undefined,!![])));else _0x56cd67[_0x1fd58c(0x18e)](/TestRun/)&&_0xbc24e7[_0x1fd58c(0x10b)](mapTestHooks,_0x2c5168);const _0x476aed=_0x4492e0[_0xbc24e7[_0x1fd58c(0x6f)]][0x0];_0x476aed&&(_0x4492e0[_0xbc24e7[_0x1fd58c(0x168)]]=_0x476aed[_0xbc24e7[_0x1fd58c(0x146)]],_0x4492e0[_0xbc24e7['JOpvN']]=_0x476aed[_0xbc24e7['yJueH']]);[_0xbc24e7[_0x1fd58c(0xec)],_0xbc24e7[_0x1fd58c(0x70)]][_0x1fd58c(0xc4)](_0x56cd67)&&(this[_0x1fd58c(0x126)][_0x1fd58c(0x18a)](_0x4492e0),_0x4492e0[_0x1fd58c(0x164)]=_0xbc24e7[_0x1fd58c(0xd8)](getHooksForTest,_0x2c5168));const _0x18fcdf={'event_type':_0xbc24e7[_0x1fd58c(0xe6)](_0x56cd67,_0xbc24e7[_0x1fd58c(0x70)])?_0xbc24e7[_0x1fd58c(0xec)]:_0x56cd67};_0x56cd67[_0x1fd58c(0x18e)](/HookRun/)?(_0x4492e0[_0xbc24e7['lGUbf']]=HOOK_TYPES_MAP[_0x4492e0[_0xbc24e7[_0x1fd58c(0x158)]]],_0x18fcdf[_0xbc24e7[_0x1fd58c(0x166)]]=_0x4492e0):_0x18fcdf[_0xbc24e7['sQAdd']]=_0x4492e0,testhubUtils['setCurrentTestData'](FRAMEWORKS[_0x1fd58c(0xa9)],_0x18fcdf),await SessionHandler[_0x1fd58c(0x180)](_0x18fcdf);}catch(_0x141f02){_0xbc24e7['OYyDM'](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x56cd67+_0x1fd58c(0x17f)+_0x141f02);}};[a31_0x5853ad(0x17b)](_0x31a5e4){const _0x3c8d55=a31_0x5853ad,_0x6655ee={};_0x6655ee['MIXfO']=function(_0x4a55f0,_0x3888b6){return _0x4a55f0===_0x3888b6;},_0x6655ee[_0x3c8d55(0xef)]=function(_0x17079b,_0x14ffe1){return _0x17079b===_0x14ffe1;},_0x6655ee[_0x3c8d55(0x96)]=function(_0x512158,_0xd1927a){return _0x512158===_0xd1927a;},_0x6655ee[_0x3c8d55(0xbe)]=_0x3c8d55(0x13f),_0x6655ee['FaXoR']=_0x3c8d55(0x18f);const _0xb186f4=_0x6655ee,_0x4ce159=path[_0x3c8d55(0x16e)];if(_0xb186f4[_0x3c8d55(0x77)](_0x31a5e4,null)||_0xb186f4[_0x3c8d55(0x77)](_0x31a5e4,'')||_0xb186f4[_0x3c8d55(0xef)](_0x31a5e4,_0x4ce159)||_0xb186f4[_0x3c8d55(0x96)](_0x31a5e4,path[_0x3c8d55(0x80)](_0x31a5e4)))return null;try{return fs[_0x3c8d55(0x86)](path['join'](_0x31a5e4,_0xb186f4[_0x3c8d55(0xbe)],_0xb186f4['FaXoR'])),_0x31a5e4;}catch(_0x5f2147){const _0xe30d4a=path[_0x3c8d55(0x80)](_0x31a5e4);return this['findGitConfig'](_0xe30d4a);}}[a31_0x5853ad(0x18d)]=async _0x23a8a0=>{const _0x3a6843=a31_0x5853ad,_0x5405d8={'UgvrZ':'LogCreated','taZzl':function(_0x4f605b,_0x10245a){return _0x4f605b(_0x10245a);}};try{this[_0x3a6843(0x130)]&&!this[_0x3a6843(0x130)][_0x3a6843(0x145)]&&(_0x23a8a0[_0x3a6843(0xce)]=this[_0x3a6843(0x130)][_0x3a6843(0x84)]);!_0x23a8a0[_0x3a6843(0xce)]&&this[_0x3a6843(0x76)]&&!this[_0x3a6843(0x76)][_0x3a6843(0x145)]&&(_0x23a8a0['test_run_uuid']=this['current_test'][_0x3a6843(0xcb)]);if(_0x23a8a0['hook_run_uuid']||_0x23a8a0[_0x3a6843(0x98)]){const _0x37cc75={};_0x37cc75['event_type']=_0x5405d8[_0x3a6843(0x134)],_0x37cc75[_0x3a6843(0xb6)]=[_0x23a8a0],await SessionHandler[_0x3a6843(0x180)](_0x37cc75);}}catch(_0x59e86e){_0x5405d8[_0x3a6843(0x8f)](debug,_0x3a6843(0xde)+constants['TEST_REPORTING_ANALYTICS']+'\x20with\x20error\x20:\x20'+_0x59e86e);}};[a31_0x5853ad(0xca)]=async _0x2eadcc=>{const _0x5dc08a=a31_0x5853ad,_0x40c361={'fxRnZ':_0x5dc08a(0x156),'pxvET':_0x5dc08a(0x104),'RfzNZ':function(_0xf30a9,_0x3405f8){return _0xf30a9(_0x3405f8);}};try{const _0x11e1bf={};_0x11e1bf['uuid']=_0x2eadcc[_0x5dc08a(0x78)]||this[_0x5dc08a(0x76)][_0x5dc08a(0xcb)],_0x11e1bf[_0x5dc08a(0xe5)]=_0x2eadcc[_0x40c361['fxRnZ']];const _0x2f0358=_0x11e1bf,_0xc1b433={};_0xc1b433[_0x5dc08a(0x12f)]=_0x40c361['pxvET'],_0xc1b433[_0x5dc08a(0x185)]=_0x2f0358,await SessionHandler['uploadEventData'](_0xc1b433);}catch(_0x3fb0e4){_0x40c361[_0x5dc08a(0xf5)](debug,_0x5dc08a(0xd0)+constants[_0x5dc08a(0x13e)]+_0x5dc08a(0x17f)+_0x3fb0e4);}};[a31_0x5853ad(0xb2)](_0xac0786){const _0x333a76=a31_0x5853ad,_0x6f3125={};_0x6f3125[_0x333a76(0x129)]=_0x333a76(0xea),_0x6f3125[_0x333a76(0xe3)]=_0x333a76(0x12e),_0x6f3125[_0x333a76(0xfe)]='failed';const _0x4ef892=_0x6f3125,_0xe945b4={};return _0xe945b4[STATE_PASSED]=_0x4ef892[_0x333a76(0x129)],_0xe945b4[STATE_PENDING]=_0x4ef892[_0x333a76(0xe3)],_0xe945b4[STATE_FAILED]=_0x4ef892['Iedzj'],_0xe945b4[_0xac0786];}['scope'](_0x4357f7){const _0x496487=a31_0x5853ad,_0x18cc51={};_0x18cc51[_0x496487(0x14e)]=function(_0x33ec8b,_0x4cf2a8){return _0x33ec8b-_0x4cf2a8;};const _0x1022f8=_0x18cc51,_0xffd329=_0x4357f7[_0x496487(0x187)]();return _0xffd329[_0x496487(0x15c)](0x0,_0x1022f8[_0x496487(0x14e)](_0xffd329[_0x496487(0x11a)],0x1))[_0x496487(0x7c)]('\x20');}[a31_0x5853ad(0x83)](_0x6f0c56){const _0x4bdb86=a31_0x5853ad,_0x4ed98f={};_0x4ed98f['CDhpR']=function(_0xb20ad,_0x45fff9){return _0xb20ad-_0x45fff9;};const _0x562194=_0x4ed98f,_0x39fb9c=_0x6f0c56[_0x4bdb86(0x187)]();return _0x39fb9c[_0x4bdb86(0x15c)](0x0,_0x562194[_0x4bdb86(0x12b)](_0x39fb9c[_0x4bdb86(0x11a)],0x1));}['getRootParentFile'](_0x2b597e){const _0x26834b=a31_0x5853ad,_0x17fc91={};_0x17fc91[_0x26834b(0x195)]=function(_0x188312,_0x253fa0){return _0x188312>_0x253fa0;};const _0x3e9a09=_0x17fc91;if(_0x2b597e[_0x26834b(0x11b)])return _0x2b597e['file'];if(_0x2b597e[_0x26834b(0x128)]){const _0x290c75=_0x2b597e['ctx'][_0x26834b(0xb0)]?this[_0x26834b(0xd6)](_0x2b597e[_0x26834b(0x128)]['currentTest']):null;if(_0x290c75)return _0x290c75;}if(_0x2b597e[_0x26834b(0x140)]){const _0x14b047=this[_0x26834b(0xd6)](_0x2b597e[_0x26834b(0x140)])||(_0x2b597e[_0x26834b(0x140)][_0x26834b(0x128)]&&_0x2b597e[_0x26834b(0x140)][_0x26834b(0x128)][_0x26834b(0xb0)]?this[_0x26834b(0xd6)](_0x2b597e[_0x26834b(0x140)]['ctx']['currentTest']):null);if(_0x14b047)return _0x14b047;_0x2b597e['parent'][_0x26834b(0xfa)]&&_0x3e9a09[_0x26834b(0x195)](_0x2b597e[_0x26834b(0x140)][_0x26834b(0xfa)]['length'],0x0)&&_0x2b597e[_0x26834b(0x140)][_0x26834b(0xfa)][_0x26834b(0x14a)](_0x120aba=>{const _0xe59193=_0x26834b,_0x36eca3=_0x120aba['ctx']?this[_0xe59193(0xd6)](_0x120aba[_0xe59193(0x128)]):null;if(_0x36eca3)return _0x36eca3;});}return null;}}module[a31_0x5853ad(0x154)]=MyReporter;
1
+ 'use strict';const a31_0x2ef6be=a31_0x3011;(function(_0x48bad8,_0x34da40){const _0x4b8b6e=a31_0x3011,_0x4cd6fd=_0x48bad8();while(!![]){try{const _0x58658d=-parseInt(_0x4b8b6e(0x2d7))/0x1*(parseInt(_0x4b8b6e(0x1c6))/0x2)+-parseInt(_0x4b8b6e(0x277))/0x3*(-parseInt(_0x4b8b6e(0x26e))/0x4)+-parseInt(_0x4b8b6e(0x2a6))/0x5+parseInt(_0x4b8b6e(0x207))/0x6*(parseInt(_0x4b8b6e(0x2d1))/0x7)+-parseInt(_0x4b8b6e(0x20a))/0x8+parseInt(_0x4b8b6e(0x24f))/0x9+-parseInt(_0x4b8b6e(0x2c3))/0xa*(-parseInt(_0x4b8b6e(0x1fb))/0xb);if(_0x58658d===_0x34da40)break;else _0x4cd6fd['push'](_0x4cd6fd['shift']());}catch(_0x1e6350){_0x4cd6fd['push'](_0x4cd6fd['shift']());}}}(a31_0x1384,0x69fab));function a31_0x1384(){const _0x360e42=['../../../helpers/test-observability/sessionHandler','suiteCount','\x20\x20<dd\x20class=\x22error\x22>','QxlWY','Iwufy','doc','winstonLogger','testObservability','test_run_uuid','once','BKZKB','getRootParentFile','hsXze','duration','</dd>','backtrace','mocha/lib/reporters/base.js','szwih','LooHi','setCurrentTestData','retryOf','okItR','result','parent','RGsbo','KReIw','slice','xPGvv','vLZFh','22MUesmu','fullTitle','increaseIndent','_currentRetry','_paths','passed','__platform__','exports','cwd','shutdown','Cfhub','QlWKu','12ldAoTK','../../../helpers/logger','XEdAz','4601344QUiQCk','light','</dl>','hook_run_uuid','keSlZ','vHNRt','state','nfnmv','qqtPb','TestRunSkipped','fast','scopes','\x20(%dms)','bs:addLog:','xyLRh','QAlyp','WPyrx','uBvsA','dirname','assign','prefixTestPath','TgLcn','failure_backtrace','oqqPR','hooks','bind','hPeBK','ICsYx','csRRp','titlePath','color','tqriX','bMmsl','qIbkr','sendTestRunEvent','%s\x20-\x20%s','CUeEr','bwkrp','\x20%s','setGlobal','tftQy','uploadEventData','bs:addPlatformDetails:','integrations','suites','results','push','ddSWx','getTime','green','\x20\x20<dd\x20class=\x22error\x22><pre><code>','CBTSessionCreated','testStarted','stdout','join','match','PYcin','Failed\x20to\x20load\x20reporter\x20','efPOG','UpquA','_testResults','pending','LRPxR','clean','HookRunStarted','before\x20all','gwFKl','4|3|0|2|1','uEKrN','7232427YnHHjk','consoleLog','redirectUrl','Mocha','failure_reason_expanded','dot','trim','symbols','dXohT','HyVoW','MHrfz','__indents','ysjRv','xYoUk','suite','pWpLQ','removeAllListeners','reporterOption','snccQ','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','reporterOptions','length','UnhandledError','after\x20all','RUNNING','title','UiJto','name','<dl>','MOCHA','done','20zrumlD','LogCreated','failureCount','YmTfN','Ctorf','mocha/lib/utils.js','hookAnalyticsId','../../utils/constants','appendTesthubParams','177351bnSjbR','javascript','appendTestItemLog','toISOString','xunit','GMpfM','../../../helpers/test-observability/utils','slow','Reporter','body','COMPLETED','AFTER_EACH','../../../helpers/testhub/utils','XBdSZ','lcnc','_testEnv','BaGIh','IqEEa','dPgYh','location_prefix','\x20\x20<dt\x20class=\x22error\x22>','toString','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','forEach','BEFORE_ALL','includes','error','started_at','fbThO','vTeGV','write','choob','wLMih','HookFinished','TEST_REPORTING_ANALYTICS','VBose','mUQJQ','</code></pre></dd>','EVENT','BEFORE_EACH','HjLXw','../../../helpers/helper','after\x20each','TestRunFinished','FOlGC','file','EGyuV','2790170vlahhS','gKRwe','docHtml','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','agpwc','docAppend','</section>','checkmark','registerListeners','pid','event_type','constants','ISZlL','CcZpv','failCount','testRunUUID','isPending','jfNle','zOpUu','jQemb','Foknz','YqIRc','indent','hook_type','analyticsResult','../../../helpers/metadata','TLGyS','File\x20path\x20could\x20not\x20be\x20found','uKUpV','718130amdNNs','\x20\x20<dd><pre><code>','NGNZd','ctx','FrWSn','logs','responseCode','failure','hook_run','bright\x20yellow','<h1>','_buildCreated','EZHiF','wZaFl','1482565UfkzYh','current_hook','../../../helpers/test-observability/constants','../../../helpers/globals','failed','currentRetry','3vDRUuD','finalResults','zRjen','hMMeC','</dt>','finished_at','bsConfig','inspect','split','TestRunStarted','gRxUW','_indents','</h1>','zcdEG','type','hYJtk','testAnalyticsId','BlbAJ','shouldProcessEventForTesthub','ILaKm','\x20-\x20','IFKmD','GsHfr','uuid','relative','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','findGitConfig','SYWxe','../../../helpers/test-observability/requestQueueHandler','yyvSt','ZbGBS','currentTest','fTvmb','apply','scope','gLntN','util','66074EOVSIe','QrTAT','statSync','mocha','err','test_run','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','<section\x20class=\x22suite\x22>','iXxBs','escape','TBGMd','TZErT','PNggm','markedStatus','root','nOKeC','AssertionError','get','HookRunFinished','skipped','current_test','fail','speed','mQPcW'];a31_0x1384=function(){return _0x360e42;};return a31_0x1384();}const util=require(a31_0x2ef6be(0x1c5)),fs=require('fs'),path=require('path'),{requireModule,getCentralUser}=require(a31_0x2ef6be(0x2a0)),Base=requireModule(a31_0x2ef6be(0x1ee),a31_0x2ef6be(0x1c9)),utils=requireModule(a31_0x2ef6be(0x273),a31_0x2ef6be(0x1c9)),color=Base[a31_0x2ef6be(0x228)],Mocha=requireModule('mocha'),Runnable=requireModule('mocha/lib/runnable.js',a31_0x2ef6be(0x1c9)),{v4:uuidv4}=require('uuid'),bsSetupHelper=require('../../../helpers/helper'),testhubUtils=require(a31_0x2ef6be(0x283)),centralScannerUtils=require('../../../helpers/central-scanner/helpers'),testHubConstants=require('../../../helpers/testhub/constants'),{FRAMEWORKS}=require(a31_0x2ef6be(0x2d3)),globals=require(a31_0x2ef6be(0x2d4)),logger=require(a31_0x2ef6be(0x208))[a31_0x2ef6be(0x1e4)],TestMetadata=require(a31_0x2ef6be(0x2bf)),a31_0x2974a2={};a31_0x2974a2[a31_0x2ef6be(0x24b)]=a31_0x2ef6be(0x28f),a31_0x2974a2[a31_0x2ef6be(0x266)]='AFTER_ALL',a31_0x2974a2['before\x20each']=a31_0x2ef6be(0x29e),a31_0x2974a2[a31_0x2ef6be(0x2a1)]=a31_0x2ef6be(0x282);const HOOK_TYPES_MAP=a31_0x2974a2,{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']['constants'],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a31_0x2ef6be(0x2b1)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require('../test-observability/mochaUtils'),{consoleHolder}=require(a31_0x2ef6be(0x2d3)),SessionHandler=require(a31_0x2ef6be(0x1de)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a31_0x2ef6be(0x27d)),RequestQueueHandler=require(a31_0x2ef6be(0x2f3)),constants=require(a31_0x2ef6be(0x275)),requestQueueHandler=RequestQueueHandler['getInstance']();class MyReporter{constructor(_0x5faa3f,_0x1fe3f0){const _0x191489=a31_0x2ef6be,_0x1d9141={'PYcin':function(_0x2bddc8,_0x486472){return _0x2bddc8===_0x486472;},'vHNRt':'spec','snccQ':function(_0x334356,_0x46aad2){return _0x334356===_0x46aad2;},'IqEEa':function(_0x552733,_0x53df95){return _0x552733+_0x53df95;},'bwkrp':function(_0x16b3af,_0x420082,_0x426a73){return _0x16b3af(_0x420082,_0x426a73);},'mOugA':_0x191489(0x23b),'pWpLQ':'%s\x20','YqIRc':function(_0x2f086f,_0x298869,_0x231358){return _0x2f086f(_0x298869,_0x231358);},'PNggm':_0x191489(0x20b),'nOKeC':_0x191489(0x22d),'xyLRh':_0x191489(0x267),'SYWxe':_0x191489(0x1e3),'VBose':function(_0x4fc52f){return _0x4fc52f();},'QAlyp':_0x191489(0x24a),'IFKmD':function(_0x5b059c,_0x55349){return _0x5b059c===_0x55349;},'iXxBs':'HookRunFinished','CRkEA':function(_0x4157f6,_0x28d6d7){return _0x4157f6===_0x28d6d7;},'TZErT':'passed','wZaFl':function(_0x408717,_0x2a2efc){return _0x408717===_0x2a2efc;},'CUeEr':_0x191489(0x214),'uEKrN':function(_0x5d412c,_0x464fc5){return _0x5d412c+_0x464fc5;},'yyvSt':function(_0x1487ed,_0x1b6e1f){return _0x1487ed+_0x1b6e1f;},'WPyrx':function(_0x30f71f,_0xd22164,_0x3b3dc5){return _0x30f71f(_0xd22164,_0x3b3dc5);},'ivYin':_0x191489(0x2ad),'QrTAT':function(_0xb184a4,_0x3b05c4){return _0xb184a4+_0x3b05c4;},'KReIw':'pass','UiJto':_0x191489(0x230),'TLGyS':function(_0xd02b35,_0x2bfe63){return _0xd02b35+_0x2bfe63;},'nfnmv':function(_0x3a4496,_0x2d56bd){return _0x3a4496+_0x2d56bd;},'hPeBK':_0x191489(0x216),'GMpfM':function(_0x405f97,_0x3426ee){return _0x405f97+_0x3426ee;},'tqriX':_0x191489(0x1db),'TZUrz':'\x20\x20%d)\x20%s','TgLcn':function(_0x325c73,_0x33e0b5){return _0x325c73+_0x33e0b5;},'XEdAz':function(_0x244902,_0x23f080,_0xb8bd7d){return _0x244902(_0x23f080,_0xb8bd7d);},'ZbGBS':_0x191489(0x2cc),'QJgnN':_0x191489(0x281),'Foknz':function(_0x37a00d,_0x28f1a0){return _0x37a00d===_0x28f1a0;},'RGsbo':_0x191489(0x254),'EGyuV':_0x191489(0x27e),'zOpUu':function(_0x416042,_0x352849){return _0x416042===_0x352849;},'csRRp':_0x191489(0x24d),'tZqhN':_0x191489(0x247),'fTvmb':function(_0x1a810f,_0x553695){return _0x1a810f===_0x553695;},'mQPcW':_0x191489(0x213),'dXohT':function(_0x556f5f,_0x14b427){return _0x556f5f===_0x14b427;},'MHrfz':function(_0x1bd106,_0xa89595){return _0x1bd106===_0xa89595;},'FrWSn':function(_0x21f251,_0x50a4eb){return _0x21f251(_0x50a4eb);},'gLntN':function(_0x3dfc15,_0x26eeed){return _0x3dfc15(_0x26eeed);},'TBGMd':function(_0x10df08,_0x25ae37){return _0x10df08===_0x25ae37;},'CcZpv':_0x191489(0x27b),'CbgUE':'mocha','WZcXr':function(_0x3c1a9f,_0x10bc40){return _0x3c1a9f===_0x10bc40;},'Ctorf':function(_0x18cb2f,_0x1c3a2e){return _0x18cb2f(_0x1c3a2e);},'EZHiF':function(_0x554efa,_0x45b866){return _0x554efa!==_0x45b866;}};this[_0x191489(0x2e5)]=_0x1fe3f0[_0x191489(0x260)][_0x191489(0x2e5)],this[_0x191489(0x1e5)]=_0x1d9141[_0x191489(0x29a)](isTestObservabilitySession),Base['call'](this,_0x5faa3f,_0x1fe3f0),this[_0x191489(0x2e2)]=0x0,this[_0x191489(0x2b4)]=0x0,this['results']=[],this['finalResults']=[],this[_0x191489(0x1df)]=0x0,this[_0x191489(0x2ce)]=![],this[_0x191489(0x246)]=[],this['_testEnv']=_0x1d9141['VBose'](getTestEnv),this[_0x191489(0x1ff)]=new PathHelper({'cwd':process[_0x191489(0x203)]()},this[_0x191489(0x286)][_0x191489(0x28a)]),this['_upstreamConfig']=_0x1fe3f0['reporterOption'][_0x191489(0x2dd)],this[_0x191489(0x2ae)]();_0x1d9141[_0x191489(0x261)](this[_0x191489(0x2e5)],_0x1d9141[_0x191489(0x2f2)])&&(this[_0x191489(0x2a8)]='',this['__indents']=0x2);_0x5faa3f['once'](EVENT_RUN_BEGIN,async()=>{const _0x548bf5=_0x191489;_0x1d9141[_0x548bf5(0x242)](this['type'],_0x1d9141[_0x548bf5(0x20f)])&&Base[_0x548bf5(0x250)]();})['on'](EVENT_SUITE_BEGIN,_0x19ee97=>{const _0x105786=_0x191489;if(_0x19ee97[_0x105786(0x1d4)])return;if(_0x1d9141[_0x105786(0x261)](this[_0x105786(0x2e5)],_0x1d9141['vHNRt']))this['increaseIndent'](),Base[_0x105786(0x250)](_0x1d9141[_0x105786(0x288)](_0x1d9141[_0x105786(0x288)](this['indent'](),_0x1d9141['bwkrp'](color,_0x1d9141['mOugA'],_0x1d9141['pWpLQ'])),_0x1d9141['YqIRc'](color,_0x1d9141[_0x105786(0x1d2)],_0x1d9141['nOKeC'])),_0x1d9141[_0x105786(0x218)],_0x19ee97[_0x105786(0x268)],global[_0x105786(0x201)]);else _0x1d9141[_0x105786(0x261)](this[_0x105786(0x2e5)],_0x1d9141[_0x105786(0x2f2)])&&(this[_0x105786(0x2ab)](this[_0x105786(0x2bc)]()+_0x105786(0x1cd)),++this['__indents'],this['docAppend'](this[_0x105786(0x2bc)]()+_0x105786(0x2cd)+utils[_0x105786(0x1cf)](_0x19ee97[_0x105786(0x268)]+_0x105786(0x2eb)+global[_0x105786(0x201)])+_0x105786(0x2e3)),this['docAppend'](this[_0x105786(0x2bc)]()+_0x105786(0x26b)));})['on'](EVENT_HOOK_BEGIN,async _0x2b8182=>{const _0x10f09e=_0x191489;if(_0x1d9141[_0x10f09e(0x242)](testhubUtils[_0x10f09e(0x2e9)](testHubConstants[_0x10f09e(0x29d)]['HookStarted']),!![])){if(!_0x2b8182[_0x10f09e(0x274)])_0x2b8182[_0x10f09e(0x274)]=_0x1d9141[_0x10f09e(0x29a)](uuidv4);else _0x2b8182[_0x10f09e(0x1d3)]&&(_0x2b8182[_0x10f09e(0x274)]=_0x1d9141[_0x10f09e(0x29a)](uuidv4),delete _0x2b8182[_0x10f09e(0x1d3)]);_0x2b8182[_0x10f09e(0x292)]=new Date()[_0x10f09e(0x27a)](),this['current_hook']=_0x2b8182,await this[_0x10f09e(0x22c)](_0x2b8182,undefined,![],_0x1d9141[_0x10f09e(0x219)]);}})['on'](EVENT_HOOK_END,async _0x45778c=>{const _0x4ebea3=_0x191489;_0x1d9141[_0x4ebea3(0x2ec)](testhubUtils[_0x4ebea3(0x2e9)](testHubConstants[_0x4ebea3(0x29d)][_0x4ebea3(0x298)]),!![])&&(!_0x45778c['markedStatus']&&(_0x45778c[_0x4ebea3(0x1d3)]=!![],await this[_0x4ebea3(0x22c)](_0x45778c,undefined,![],_0x1d9141[_0x4ebea3(0x1ce)])));})['on'](EVENT_SUITE_END,_0x54d0b7=>{const _0x13e4e4=_0x191489;if(_0x54d0b7[_0x13e4e4(0x1d4)])return;if(_0x1d9141[_0x13e4e4(0x2d0)](this[_0x13e4e4(0x2e5)],_0x1d9141['vHNRt']))Base['consoleLog'](),Base[_0x13e4e4(0x250)](_0x1d9141[_0x13e4e4(0x21f)](_0x1d9141[_0x13e4e4(0x288)](this[_0x13e4e4(0x2bc)](),_0x1d9141[_0x13e4e4(0x209)](color,_0x1d9141[_0x13e4e4(0x1bf)],_0x1d9141[_0x13e4e4(0x25e)])),_0x1d9141['XEdAz'](color,_0x1d9141[_0x13e4e4(0x1d2)],_0x1d9141[_0x13e4e4(0x1d5)])),_0x1d9141['QJgnN'],_0x54d0b7[_0x13e4e4(0x268)],global[_0x13e4e4(0x201)]),this[_0x13e4e4(0x237)][_0x13e4e4(0x28e)](_0xfcf3da=>{const _0x113d17=_0x13e4e4;if(_0x1d9141['CRkEA'](_0xfcf3da[_0x113d17(0x210)],_0x1d9141[_0x113d17(0x1d1)])){var _0x25070d;_0x1d9141[_0x113d17(0x2d0)](_0xfcf3da[_0x113d17(0x1dc)],_0x1d9141[_0x113d17(0x22e)])?(_0x25070d=_0x1d9141[_0x113d17(0x24e)](_0x1d9141['yyvSt'](this[_0x113d17(0x2bc)](),_0x1d9141[_0x113d17(0x21a)](color,_0x1d9141['ivYin'],_0x1d9141[_0x113d17(0x1c7)]('\x20\x20',Base[_0x113d17(0x256)]['ok']))),_0x1d9141[_0x113d17(0x22f)](color,_0x1d9141[_0x113d17(0x1f7)],_0x1d9141[_0x113d17(0x269)])),Base[_0x113d17(0x250)](_0x25070d,_0xfcf3da[_0x113d17(0x268)])):(_0x25070d=_0x1d9141[_0x113d17(0x2f4)](_0x1d9141[_0x113d17(0x24e)](_0x1d9141[_0x113d17(0x2c0)](this[_0x113d17(0x2bc)](),_0x1d9141[_0x113d17(0x2bb)](color,_0x1d9141['ivYin'],_0x1d9141[_0x113d17(0x211)]('\x20\x20',Base[_0x113d17(0x256)]['ok']))),_0x1d9141['bwkrp'](color,_0x1d9141['KReIw'],_0x1d9141[_0x113d17(0x269)])),_0x1d9141[_0x113d17(0x22f)](color,_0xfcf3da['speed'],_0x1d9141[_0x113d17(0x224)])),Base['consoleLog'](_0x25070d,_0xfcf3da['title'],_0xfcf3da['duration']));}else Base['consoleLog'](_0x1d9141[_0x113d17(0x27c)](this[_0x113d17(0x2bc)](),_0x1d9141['bwkrp'](color,_0x1d9141[_0x113d17(0x229)],_0x1d9141['TZUrz'])),++this[_0x113d17(0x2b4)],_0xfcf3da[_0x113d17(0x268)]);}),this['decreaseIndent']();else _0x1d9141[_0x13e4e4(0x2ba)](this['type'],_0x1d9141[_0x13e4e4(0x2f2)])&&(this['docAppend'](this['indent']()+_0x13e4e4(0x20c)),--this[_0x13e4e4(0x25a)],this[_0x13e4e4(0x2ab)](this[_0x13e4e4(0x2bc)]()+_0x13e4e4(0x2ac)),--this['__indents']);Array['prototype'][_0x13e4e4(0x238)][_0x13e4e4(0x1c2)](this['finalResults'],this[_0x13e4e4(0x237)]),this[_0x13e4e4(0x237)]=[];})['on'](EVENT_TEST_PASS,async _0x17111b=>{const _0x14d117=_0x191489;this[_0x14d117(0x237)]['push']({'speed':_0x17111b[_0x14d117(0x1dc)],'suite':_0x17111b['parent'][_0x14d117(0x268)],'title':_0x17111b[_0x14d117(0x268)],'fullTitle':_0x17111b['fullTitle'](),'duration':_0x17111b['duration'],'state':_0x17111b[_0x14d117(0x210)],'err':{},'currentRetry':_0x17111b['currentRetry'](),'titlePathV':_0x17111b[_0x14d117(0x227)](),'isPending':_0x17111b[_0x14d117(0x2b6)]()});if(_0x1d9141[_0x14d117(0x2d0)](this[_0x14d117(0x2e5)],_0x1d9141[_0x14d117(0x1f6)]))_0x1d9141['wZaFl'](_0x17111b['speed'],_0x1d9141[_0x14d117(0x2a5)])?process[_0x14d117(0x23f)]['write'](Base[_0x14d117(0x228)](_0x1d9141[_0x14d117(0x1bf)],Base[_0x14d117(0x256)][_0x14d117(0x254)])):process[_0x14d117(0x23f)][_0x14d117(0x295)](Base[_0x14d117(0x228)](_0x17111b[_0x14d117(0x1dc)],Base['symbols']['dot']));else{if(_0x1d9141[_0x14d117(0x261)](this[_0x14d117(0x2e5)],_0x1d9141[_0x14d117(0x2f2)])){this[_0x14d117(0x2ab)](this[_0x14d117(0x2bc)]()+'\x20\x20<dt>'+utils[_0x14d117(0x1cf)](_0x17111b[_0x14d117(0x268)])+_0x14d117(0x2db)),this[_0x14d117(0x2ab)](this['indent']()+'\x20\x20<dt>'+utils['escape'](_0x17111b['file'])+_0x14d117(0x2db));var _0x2b71a2=utils['escape'](utils[_0x14d117(0x249)](_0x17111b['body']));this['docAppend'](this['indent']()+_0x14d117(0x2c4)+_0x2b71a2+'</code></pre></dd>');}}_0x1d9141[_0x14d117(0x261)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x17111b[_0x14d117(0x1d3)]&&(_0x17111b[_0x14d117(0x1d3)]=!![],await this[_0x14d117(0x22c)](_0x17111b)));})['on'](EVENT_TEST_FAIL,async(_0x32c91c,_0x41a47f)=>{const _0x3d05b2=_0x191489;this[_0x3d05b2(0x237)][_0x3d05b2(0x238)]({'title':_0x32c91c['title'],'suite':_0x32c91c[_0x3d05b2(0x1f5)][_0x3d05b2(0x268)],'state':_0x32c91c[_0x3d05b2(0x210)],'err':{'message':util[_0x3d05b2(0x2de)](_0x41a47f)},'fullTitle':_0x32c91c[_0x3d05b2(0x1fc)](),'speed':_0x32c91c[_0x3d05b2(0x1dc)],'currentRetry':_0x32c91c[_0x3d05b2(0x2d6)](),'titlePathV':_0x32c91c[_0x3d05b2(0x227)]()});if(_0x1d9141['Foknz'](this[_0x3d05b2(0x2e5)],_0x1d9141[_0x3d05b2(0x1f6)]))process[_0x3d05b2(0x23f)][_0x3d05b2(0x295)](Base[_0x3d05b2(0x228)](_0x1d9141[_0x3d05b2(0x229)],Base[_0x3d05b2(0x256)]['bang']));else{if(_0x1d9141[_0x3d05b2(0x2b8)](this[_0x3d05b2(0x2e5)],_0x1d9141[_0x3d05b2(0x2f2)])){const _0x18bed4=_0x1d9141[_0x3d05b2(0x226)][_0x3d05b2(0x2df)]('|');let _0x5f1243=0x0;while(!![]){switch(_0x18bed4[_0x5f1243++]){case'0':var _0x530ede=utils[_0x3d05b2(0x1cf)](utils['clean'](_0x32c91c[_0x3d05b2(0x280)]));continue;case'1':this[_0x3d05b2(0x2ab)](this['indent']()+_0x3d05b2(0x1e0)+utils[_0x3d05b2(0x1cf)](_0x32c91c[_0x3d05b2(0x1ca)])+_0x3d05b2(0x1ec));continue;case'2':this[_0x3d05b2(0x2ab)](this[_0x3d05b2(0x2bc)]()+_0x3d05b2(0x23c)+_0x530ede+_0x3d05b2(0x29c));continue;case'3':this[_0x3d05b2(0x2ab)](this[_0x3d05b2(0x2bc)]()+_0x3d05b2(0x28b)+utils['escape'](_0x32c91c[_0x3d05b2(0x2a4)])+'</dt>');continue;case'4':this[_0x3d05b2(0x2ab)](this[_0x3d05b2(0x2bc)]()+_0x3d05b2(0x28b)+utils[_0x3d05b2(0x1cf)](_0x32c91c['title'])+_0x3d05b2(0x2db));continue;}break;}}}if(_0x1d9141[_0x3d05b2(0x2ec)](testhubUtils[_0x3d05b2(0x2e9)](testHubConstants['EVENT'][_0x3d05b2(0x298)]),!![])){if(!_0x32c91c['markedStatus']){_0x32c91c[_0x3d05b2(0x1d3)]=!![];if(_0x32c91c[_0x3d05b2(0x2e7)])await this[_0x3d05b2(0x22c)](_0x32c91c,_0x41a47f);else _0x32c91c[_0x3d05b2(0x274)]&&await this['sendTestRunEvent'](_0x32c91c,_0x41a47f,![],_0x1d9141[_0x3d05b2(0x1ce)]);}}})['on'](EVENT_TEST_PENDING,async _0x5439b9=>{const _0x54e0ee=_0x191489;this['results']['push']({'title':_0x5439b9[_0x54e0ee(0x268)],'suite':_0x5439b9[_0x54e0ee(0x1f5)][_0x54e0ee(0x268)],'state':_0x5439b9[_0x54e0ee(0x210)],'err':{},'fullTitle':_0x5439b9[_0x54e0ee(0x1fc)](),'speed':_0x5439b9[_0x54e0ee(0x1dc)],'currentRetry':_0x5439b9[_0x54e0ee(0x2d6)](),'titlePathV':_0x5439b9[_0x54e0ee(0x227)]()}),_0x1d9141['snccQ'](this[_0x54e0ee(0x2e5)],_0x1d9141['RGsbo'])&&process[_0x54e0ee(0x23f)][_0x54e0ee(0x295)](Base[_0x54e0ee(0x228)](_0x1d9141['tZqhN'],Base['symbols']['comma'])),_0x1d9141[_0x54e0ee(0x1c1)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x5439b9['testAnalyticsId']&&(_0x5439b9[_0x54e0ee(0x2e7)]=_0x1d9141[_0x54e0ee(0x29a)](uuidv4)),!_0x5439b9[_0x54e0ee(0x1d3)]&&(_0x5439b9[_0x54e0ee(0x1d3)]=!![],await this[_0x54e0ee(0x22c)](_0x5439b9,undefined,![],_0x1d9141[_0x54e0ee(0x1dd)])));})['on'](EVENT_TEST_BEGIN,async _0x582fcc=>{const _0xdae42f=_0x191489;_0x1d9141[_0xdae42f(0x257)](testhubUtils[_0xdae42f(0x2e9)](),!![])&&await this[_0xdae42f(0x23e)](_0x582fcc);})['on'](EVENT_TEST_END,async _0x10d613=>{const _0x245fe4=_0x191489;_0x1d9141[_0x245fe4(0x2d0)](testhubUtils[_0x245fe4(0x2e9)](),!![])&&(!_0x10d613[_0x245fe4(0x1d3)]&&(_0x10d613[_0x245fe4(0x1d3)]=!![],await this[_0x245fe4(0x22c)](_0x10d613)));})[_0x191489(0x1e7)](EVENT_RUN_END,async()=>{const _0x2669f3=_0x191489;try{if(_0x1d9141[_0x2669f3(0x259)](testhubUtils[_0x2669f3(0x2e9)](),!![])){const _0xdb1100=_0x1d9141['FrWSn'](getHookSkippedTests,this['runner'][_0x2669f3(0x25d)]);for(const _0x2eaa82 of _0xdb1100){!_0x2eaa82['testAnalyticsId']&&(_0x2eaa82[_0x2669f3(0x2e7)]=_0x1d9141['VBose'](uuidv4)),await this[_0x2669f3(0x22c)](_0x2eaa82,undefined,![],_0x1d9141[_0x2669f3(0x1dd)]);}}}catch(_0x250984){_0x1d9141[_0x2669f3(0x1c4)](debug,_0x2669f3(0x262)+_0x250984);}await requestQueueHandler[_0x2669f3(0x204)](),_0x1d9141[_0x2669f3(0x1d0)](this[_0x2669f3(0x2e5)],_0x1d9141[_0x2669f3(0x2f2)])&&Base['consoleLog'](this[_0x2669f3(0x2a8)]);});if(this['type']&&![_0x1d9141[_0x191489(0x2f2)],_0x1d9141[_0x191489(0x2b3)],_0x1d9141[_0x191489(0x20f)],_0x1d9141[_0x191489(0x1f6)]][_0x191489(0x290)](this[_0x191489(0x2e5)])){const _0x35bb07=this[_0x191489(0x2e5)][_0x191489(0x255)]();this['Reporter']=null;try{this[_0x191489(0x27f)]=_0x1d9141[_0x191489(0x21a)](requireModule,'mocha/lib/reporters/'+_0x35bb07+'.js',_0x1d9141['CbgUE']);}catch(_0x2eb587){_0x1d9141[_0x191489(0x2c7)](debug,'Exception\x20in\x20browserstack\x20custome\x20reporter\x20with\x20error:\x20'+_0x2eb587);}if(_0x1d9141['WZcXr'](this[_0x191489(0x27f)],null))try{this[_0x191489(0x27f)]=_0x1d9141[_0x191489(0x272)](require,_0x35bb07);}catch(_0x44871d){console[_0x191489(0x291)](_0x191489(0x243)+_0x35bb07);}if(_0x1d9141[_0x191489(0x2cf)](this[_0x191489(0x27f)],null)){const _0x1cb9d4={};_0x1cb9d4[_0x191489(0x263)]=_0x1fe3f0[_0x191489(0x260)],this[_0x191489(0x27f)]=new this[(_0x191489(0x27f))](_0x5faa3f,_0x1cb9d4);}}}[a31_0x2ef6be(0x2bc)](){const _0x2d8be7=a31_0x2ef6be,_0x10386c={'hMMeC':function(_0x1bf975,_0x4a02bb){return _0x1bf975(_0x4a02bb);}};return _0x10386c[_0x2d8be7(0x2da)](Array,this[_0x2d8be7(0x2e2)])[_0x2d8be7(0x240)]('\x20\x20');}[a31_0x2ef6be(0x1fd)](){const _0x33c717=a31_0x2ef6be;this[_0x33c717(0x2e2)]++;}['decreaseIndent'](){this['_indents']--;}['docAppend'](_0x73442e){this['docHtml']+=_0x73442e;}[a31_0x2ef6be(0x26d)](_0x332819,_0x20eb77){const _0x36b1fd=a31_0x2ef6be,_0xc1cc0f={'QxlWY':function(_0x455b00,_0x12adfc){return _0x455b00(_0x12adfc);}},_0x1c13e7={};_0x1c13e7[_0x36b1fd(0x270)]=_0x332819,_0x1c13e7['results']=this[_0x36b1fd(0x2d8)],_0xc1cc0f[_0x36b1fd(0x1e1)](_0x20eb77,_0x1c13e7);}[a31_0x2ef6be(0x2ae)](){const _0x473d5f=a31_0x2ef6be;process[_0x473d5f(0x25f)](_0x473d5f(0x217)+process['pid']),process['on'](_0x473d5f(0x217)+process[_0x473d5f(0x2af)],this[_0x473d5f(0x279)]['bind'](this)),process[_0x473d5f(0x25f)]('bs:addPlatformDetails:'+process['pid']),process['on'](_0x473d5f(0x234)+process['pid'],this['appendTestPlatform'][_0x473d5f(0x223)](this));}['testStarted']=async _0x313595=>{const _0x2115fd=a31_0x2ef6be,_0x24be12={'zRjen':function(_0x3db65f){return _0x3db65f();},'Cfhub':_0x2115fd(0x2b5),'mUQJQ':function(_0x2cc521,_0x57b947){return _0x2cc521>_0x57b947;},'UpquA':function(_0x3267,_0x2dc7ca){return _0x3267===_0x2dc7ca;},'gwFKl':_0x2115fd(0x2e0),'hBoSs':function(_0x3cc3da,_0x2b9dce){return _0x3cc3da(_0x2b9dce);}};try{const _0x3825f9=this[_0x2115fd(0x1da)];this['current_test']=_0x313595,_0x313595[_0x2115fd(0x1f2)]=null,_0x313595[_0x2115fd(0x2e7)]=_0x24be12[_0x2115fd(0x2d9)](uuidv4),globals[_0x2115fd(0x231)](_0x24be12[_0x2115fd(0x205)],_0x313595['testAnalyticsId']),_0x313595['started_at']=new Date()[_0x2115fd(0x27a)](),_0x24be12[_0x2115fd(0x29b)](_0x313595[_0x2115fd(0x1fe)],0x0)&&_0x3825f9&&_0x24be12[_0x2115fd(0x245)](_0x3825f9['title'],_0x313595[_0x2115fd(0x268)])?(_0x313595[_0x2115fd(0x1f2)]=_0x3825f9['testAnalyticsId'],await this[_0x2115fd(0x22c)](_0x313595,undefined,![],_0x24be12[_0x2115fd(0x24c)]),_0x3825f9['state']=STATE_FAILED,await this[_0x2115fd(0x22c)](_0x3825f9,undefined,!![])):await this[_0x2115fd(0x22c)](_0x313595,undefined,![],_0x24be12[_0x2115fd(0x24c)]);}catch(_0x15c55a){_0x24be12['hBoSs'](debug,_0x2115fd(0x2f0)+_0x15c55a);}};[a31_0x2ef6be(0x22c)]=async(_0x45f26e,_0x46cf9f=undefined,_0x19bcfe=![],_0x3815c9=a31_0x2ef6be(0x2a2))=>{const _0x524b8e=a31_0x2ef6be,_0x520aa3={'Iwufy':function(_0x1992ee,_0x31a83d){return _0x1992ee===_0x31a83d;},'BaGIh':function(_0x10ea65,_0x4e1bc4){return _0x10ea65!==_0x4e1bc4;},'uKUpV':'test','XBdSZ':_0x524b8e(0x1ca),'jfNle':function(_0x16751c,_0x462355){return _0x16751c!==_0x462355;},'jQemb':function(_0xc67b0e,_0x106231){return _0xc67b0e!==_0x106231;},'kedof':_0x524b8e(0x2c1),'QlWKu':_0x524b8e(0x252),'hsXze':_0x524b8e(0x278),'VGQyg':function(_0x46fe77,_0x35d35f){return _0x46fe77===_0x35d35f;},'GsHfr':_0x524b8e(0x213),'dPgYh':_0x524b8e(0x1d9),'wqVKW':function(_0x1f9617,_0x217358){return _0x1f9617-_0x217358;},'bMmsl':_0x524b8e(0x1d6),'vLZFh':_0x524b8e(0x265),'ddSWx':_0x524b8e(0x2a2),'YmTfN':_0x524b8e(0x2e0),'HyVoW':function(_0x835ddd){return _0x835ddd();},'ICsYx':function(_0x25a6f7,_0x5de6ae){return _0x25a6f7===_0x5de6ae;},'szwih':_0x524b8e(0x292),'ugxwh':_0x524b8e(0x2dc),'oqqPR':function(_0x262f59,_0x3c069f){return _0x262f59(_0x3c069f);},'okItR':_0x524b8e(0x1d8),'LRPxR':function(_0x4e07cf,_0x188c20){return _0x4e07cf!==_0x188c20;},'wLMih':_0x524b8e(0x2d5),'xPGvv':_0x524b8e(0x200),'LooHi':'before\x20each','keSlZ':function(_0x21d090,_0x527eea){return _0x21d090===_0x527eea;},'vTeGV':_0x524b8e(0x2ca),'hYJtk':_0x524b8e(0x220),'jeBKW':_0x524b8e(0x1ed),'uBvsA':_0x524b8e(0x253),'FOlGC':'expanded','ISZlL':function(_0xafc328,_0x47c5cd){return _0xafc328(_0x47c5cd);},'xYoUk':_0x524b8e(0x2bd),'qIbkr':_0x524b8e(0x2cb),'oQZxg':_0x524b8e(0x1cb)};try{if(_0x45f26e[_0x524b8e(0x280)]&&_0x45f26e[_0x524b8e(0x280)][_0x524b8e(0x241)](/browserstack internal helper hook/))return;let _0x49330c=[];if(_0x520aa3[_0x524b8e(0x1e2)](_0x45f26e[_0x524b8e(0x210)],STATE_FAILED)){if(_0x520aa3[_0x524b8e(0x287)](_0x45f26e[_0x524b8e(0x1ca)],undefined))_0x49330c=_0x45f26e[_0x524b8e(0x1ca)]['multiple']?[_0x45f26e[_0x524b8e(0x1ca)]['multiple'],_0x520aa3[_0x524b8e(0x2c2)]]:[_0x45f26e['err'],_0x520aa3[_0x524b8e(0x284)]];else _0x520aa3['BaGIh'](_0x46cf9f,undefined)?_0x49330c=[_0x46cf9f,_0x520aa3['XBdSZ']]:_0x49330c=[];}const _0x11811c=_0x520aa3[_0x524b8e(0x2b7)](_0x45f26e['err'],undefined)?_0x45f26e[_0x524b8e(0x1ca)][_0x524b8e(0x28c)]():_0x520aa3[_0x524b8e(0x2b9)](_0x46cf9f,undefined)?_0x46cf9f[_0x524b8e(0x28c)]():undefined;let _0x1ed17d;try{_0x1ed17d=this[_0x524b8e(0x1e9)](_0x45f26e);}catch(_0x54acf4){_0x1ed17d=null;}const _0x1df49c=_0x1ed17d?this[_0x524b8e(0x2f1)](_0x1ed17d):null,_0xb26aea=_0x1ed17d?this[_0x524b8e(0x1ff)][_0x524b8e(0x21e)](this['getRootParentFile'](_0x45f26e)):_0x520aa3['kedof'],_0xb1d73b={'framework':_0x520aa3[_0x524b8e(0x206)],'uuid':_0x45f26e[_0x524b8e(0x2e7)]||_0x45f26e['hookAnalyticsId'],'name':_0x45f26e[_0x524b8e(0x268)],'body':{'lang':_0x520aa3[_0x524b8e(0x1ea)],'code':_0x45f26e['body']},'scope':this[_0x524b8e(0x1c3)](_0x45f26e),'scopes':this[_0x524b8e(0x215)](_0x45f26e),'identifier':_0x45f26e['fullTitle'](),'file_name':_0xb26aea,'vc_filepath':_0x1df49c?path[_0x524b8e(0x2ef)](_0x1df49c,_0x1ed17d):null,'location':_0xb26aea,'result':_0x520aa3['VGQyg'](_0x3815c9,_0x520aa3[_0x524b8e(0x2ed)])?_0x520aa3[_0x524b8e(0x289)]:this['analyticsResult'](_0x45f26e['state']),'failure_reason':_0x11811c,'duration_in_ms':_0x45f26e[_0x524b8e(0x1eb)]||(_0x3815c9['match'](/Finished/)||_0x3815c9[_0x524b8e(0x241)](/Skipped/)?_0x520aa3['wqVKW'](Date['now'](),new Date(_0x45f26e[_0x524b8e(0x292)])[_0x524b8e(0x23a)]()):null),'started_at':_0x45f26e[_0x524b8e(0x292)],'finished_at':_0x3815c9['match'](/Finished/)||_0x3815c9['match'](/Skipped/)?new Date()[_0x524b8e(0x27a)]():null,'failure':failureData[_0x524b8e(0x1c2)](null,_0x49330c),'failure_type':!_0x11811c?null:_0x11811c[_0x524b8e(0x241)](/AssertionError/)?_0x520aa3[_0x524b8e(0x22a)]:_0x520aa3[_0x524b8e(0x1fa)],'retry_of':_0x45f26e[_0x524b8e(0x1f2)]};if([_0x520aa3[_0x524b8e(0x2ed)],_0x520aa3[_0x524b8e(0x239)],_0x520aa3[_0x524b8e(0x271)]]['includes'](_0x3815c9)){if(_0x520aa3[_0x524b8e(0x258)](getCentralUser)['lcnc']){const _0x2c83b5=TestMetadata[_0x524b8e(0x1d7)](_0x45f26e[_0x524b8e(0x2e7)]);if(_0x2c83b5){const _0x4cbd94={};_0x4cbd94[_0x524b8e(0x285)]=_0x2c83b5,Object[_0x524b8e(0x21d)](_0xb1d73b,_0x4cbd94);}}}testhubUtils[_0x524b8e(0x276)](_0xb1d73b,_0x3815c9,_0x45f26e,FRAMEWORKS[_0x524b8e(0x26c)]);(_0x45f26e[_0x524b8e(0x2c9)]||_0x45f26e['redirectUrl'])&&centralScannerUtils['setCentralScannerData'](_0xb1d73b,_0x45f26e[_0x524b8e(0x2c9)],_0x45f26e[_0x524b8e(0x251)]);_0x520aa3[_0x524b8e(0x225)](_0x3815c9,_0x520aa3['GsHfr'])&&!_0xb1d73b[_0x520aa3['szwih']]&&(_0xb1d73b[_0x520aa3[_0x524b8e(0x1ef)]]=_0xb1d73b[_0x520aa3['ugxwh']]);if(_0x3815c9[_0x524b8e(0x241)](/HookRun/))[_0xb1d73b['hook_type'],_0xb1d73b[_0x524b8e(0x26a)]]=_0x520aa3[_0x524b8e(0x221)](getHookDetails,_0x45f26e['fullTitle']()||_0x45f26e['originalTitle']||_0x45f26e['title']),_0x520aa3[_0x524b8e(0x1e2)](_0x3815c9,_0x520aa3[_0x524b8e(0x1f3)])&&(_0x520aa3[_0x524b8e(0x248)](_0xb1d73b[_0x524b8e(0x1f4)],_0x520aa3[_0x524b8e(0x297)])&&(_0xb1d73b[_0x524b8e(0x1f4)]=_0x520aa3[_0x524b8e(0x1f9)]),_0x520aa3[_0x524b8e(0x225)](_0xb1d73b[_0x524b8e(0x2bd)],_0x520aa3[_0x524b8e(0x1f0)])&&_0x520aa3[_0x524b8e(0x20e)](_0xb1d73b[_0x524b8e(0x1f4)],_0x520aa3[_0x524b8e(0x297)])&&!_0x45f26e[_0x524b8e(0x2c6)]['currentTest'][_0x524b8e(0x1d3)]&&(_0x45f26e[_0x524b8e(0x2c6)][_0x524b8e(0x1c0)]['markedStatus']=!![],_0x45f26e[_0x524b8e(0x2c6)][_0x524b8e(0x1c0)][_0x524b8e(0x210)]=STATE_FAILED,await this[_0x524b8e(0x22c)](_0x45f26e[_0x524b8e(0x2c6)][_0x524b8e(0x1c0)],undefined,!![])));else _0x3815c9[_0x524b8e(0x241)](/TestRun/)&&_0x520aa3['oqqPR'](mapTestHooks,_0x45f26e);const _0x3734ec=_0xb1d73b[_0x520aa3[_0x524b8e(0x294)]][0x0];_0x3734ec&&(_0xb1d73b[_0x520aa3[_0x524b8e(0x2e6)]]=_0x3734ec[_0x520aa3['jeBKW']],_0xb1d73b[_0x520aa3[_0x524b8e(0x21b)]]=_0x3734ec[_0x520aa3[_0x524b8e(0x2a3)]]);[_0x520aa3[_0x524b8e(0x239)],_0x520aa3['GsHfr']]['includes'](_0x3815c9)&&(this[_0x524b8e(0x246)][_0x524b8e(0x238)](_0xb1d73b),_0xb1d73b[_0x524b8e(0x222)]=_0x520aa3[_0x524b8e(0x2b2)](getHooksForTest,_0x45f26e));const _0x3f2216={'event_type':_0x520aa3[_0x524b8e(0x225)](_0x3815c9,_0x520aa3['GsHfr'])?_0x520aa3[_0x524b8e(0x239)]:_0x3815c9};_0x3815c9[_0x524b8e(0x241)](/HookRun/)?(_0xb1d73b[_0x520aa3[_0x524b8e(0x25c)]]=HOOK_TYPES_MAP[_0xb1d73b[_0x520aa3['xYoUk']]],_0x3f2216[_0x520aa3[_0x524b8e(0x22b)]]=_0xb1d73b):_0x3f2216[_0x520aa3['oQZxg']]=_0xb1d73b,testhubUtils[_0x524b8e(0x1f1)](FRAMEWORKS['MOCHA'],_0x3f2216),await SessionHandler[_0x524b8e(0x233)](_0x3f2216);}catch(_0x90ae2c){_0x520aa3[_0x524b8e(0x2b2)](debug,_0x524b8e(0x28d)+_0x3815c9+'\x20with\x20error\x20:\x20'+_0x90ae2c);}};[a31_0x2ef6be(0x2f1)](_0x54b92b){const _0x3cb92a=a31_0x2ef6be,_0x1c1b14={};_0x1c1b14[_0x3cb92a(0x1e8)]=function(_0xe9d117,_0x69d4ed){return _0xe9d117===_0x69d4ed;},_0x1c1b14[_0x3cb92a(0x2aa)]=function(_0x42b62a,_0x4ba85d){return _0x42b62a===_0x4ba85d;},_0x1c1b14[_0x3cb92a(0x2e4)]='.git',_0x1c1b14['ILaKm']='config';const _0x4bd591=_0x1c1b14,_0x2cd705=path['sep'];if(_0x4bd591[_0x3cb92a(0x1e8)](_0x54b92b,null)||_0x4bd591[_0x3cb92a(0x1e8)](_0x54b92b,'')||_0x4bd591[_0x3cb92a(0x1e8)](_0x54b92b,_0x2cd705)||_0x4bd591['agpwc'](_0x54b92b,path[_0x3cb92a(0x21c)](_0x54b92b)))return null;try{return fs[_0x3cb92a(0x1c8)](path[_0x3cb92a(0x240)](_0x54b92b,_0x4bd591[_0x3cb92a(0x2e4)],_0x4bd591[_0x3cb92a(0x2ea)])),_0x54b92b;}catch(_0x45f510){const _0x5caddd=path['dirname'](_0x54b92b);return this[_0x3cb92a(0x2f1)](_0x5caddd);}}['appendTestItemLog']=async _0x1f4999=>{const _0x51916b=a31_0x2ef6be,_0x208e43={'fbThO':_0x51916b(0x26f),'HjLXw':function(_0x3364f0,_0x42499a){return _0x3364f0(_0x42499a);}};try{this[_0x51916b(0x2d2)]&&!this[_0x51916b(0x2d2)]['markedStatus']&&(_0x1f4999['hook_run_uuid']=this[_0x51916b(0x2d2)][_0x51916b(0x274)]);!_0x1f4999[_0x51916b(0x20d)]&&this[_0x51916b(0x1da)]&&!this['current_test'][_0x51916b(0x1d3)]&&(_0x1f4999[_0x51916b(0x1e6)]=this[_0x51916b(0x1da)][_0x51916b(0x2e7)]);if(_0x1f4999[_0x51916b(0x20d)]||_0x1f4999[_0x51916b(0x1e6)]){const _0x311b87={};_0x311b87[_0x51916b(0x2b0)]=_0x208e43[_0x51916b(0x293)],_0x311b87[_0x51916b(0x2c8)]=[_0x1f4999],await SessionHandler[_0x51916b(0x233)](_0x311b87);}}catch(_0x445d24){_0x208e43[_0x51916b(0x29f)](debug,_0x51916b(0x1cc)+constants[_0x51916b(0x299)]+'\x20with\x20error\x20:\x20'+_0x445d24);}};['appendTestPlatform']=async _0x9d0b37=>{const _0x28b75f=a31_0x2ef6be,_0x5d583f={'tftQy':'http_response','efPOG':_0x28b75f(0x23d),'ysjRv':function(_0x7ed86,_0x5412ad){return _0x7ed86(_0x5412ad);}};try{const _0x152cda={};_0x152cda['uuid']=_0x9d0b37[_0x28b75f(0x2ee)]||this['current_test'][_0x28b75f(0x2e7)],_0x152cda[_0x28b75f(0x235)]=_0x9d0b37[_0x5d583f[_0x28b75f(0x232)]];const _0x1a883f=_0x152cda,_0x4455e9={};_0x4455e9['event_type']=_0x5d583f[_0x28b75f(0x244)],_0x4455e9['test_run']=_0x1a883f,await SessionHandler['uploadEventData'](_0x4455e9);}catch(_0x4baa8b){_0x5d583f[_0x28b75f(0x25b)](debug,_0x28b75f(0x2a9)+constants[_0x28b75f(0x299)]+'\x20with\x20error\x20:\x20'+_0x4baa8b);}};[a31_0x2ef6be(0x2be)](_0x19cba3){const _0x5f3831=a31_0x2ef6be,_0x5c2d9a={};_0x5c2d9a[_0x5f3831(0x2e8)]=_0x5f3831(0x200),_0x5c2d9a[_0x5f3831(0x2c5)]=_0x5f3831(0x247),_0x5c2d9a[_0x5f3831(0x2e1)]=_0x5f3831(0x2d5);const _0x5aca7e=_0x5c2d9a,_0x14370={};return _0x14370[STATE_PASSED]=_0x5aca7e[_0x5f3831(0x2e8)],_0x14370[STATE_PENDING]=_0x5aca7e[_0x5f3831(0x2c5)],_0x14370[STATE_FAILED]=_0x5aca7e[_0x5f3831(0x2e1)],_0x14370[_0x19cba3];}['scope'](_0x1449f3){const _0x2e47d6=a31_0x2ef6be,_0x38e615={};_0x38e615[_0x2e47d6(0x2a7)]=function(_0x24e48e,_0x210cf8){return _0x24e48e-_0x210cf8;};const _0x5c3852=_0x38e615,_0x1abf65=_0x1449f3[_0x2e47d6(0x227)]();return _0x1abf65[_0x2e47d6(0x1f8)](0x0,_0x5c3852[_0x2e47d6(0x2a7)](_0x1abf65[_0x2e47d6(0x264)],0x1))['join']('\x20');}[a31_0x2ef6be(0x215)](_0x5db16e){const _0x340e1c=a31_0x2ef6be,_0x6fd236={};_0x6fd236[_0x340e1c(0x296)]=function(_0x55dbc6,_0x2eb358){return _0x55dbc6-_0x2eb358;};const _0x5f0161=_0x6fd236,_0x25305d=_0x5db16e['titlePath']();return _0x25305d[_0x340e1c(0x1f8)](0x0,_0x5f0161[_0x340e1c(0x296)](_0x25305d['length'],0x1));}[a31_0x2ef6be(0x1e9)](_0xef26ad){const _0x521183=a31_0x2ef6be,_0x20b32c={};_0x20b32c[_0x521183(0x212)]=function(_0x47a100,_0x5eb3bb){return _0x47a100>_0x5eb3bb;};const _0x5f3524=_0x20b32c;if(_0xef26ad[_0x521183(0x2a4)])return _0xef26ad[_0x521183(0x2a4)];if(_0xef26ad[_0x521183(0x2c6)]){const _0x19fef0=_0xef26ad[_0x521183(0x2c6)][_0x521183(0x1c0)]?this[_0x521183(0x1e9)](_0xef26ad[_0x521183(0x2c6)][_0x521183(0x1c0)]):null;if(_0x19fef0)return _0x19fef0;}if(_0xef26ad[_0x521183(0x1f5)]){const _0x177df8=this['getRootParentFile'](_0xef26ad[_0x521183(0x1f5)])||(_0xef26ad['parent'][_0x521183(0x2c6)]&&_0xef26ad[_0x521183(0x1f5)][_0x521183(0x2c6)]['currentTest']?this[_0x521183(0x1e9)](_0xef26ad['parent'][_0x521183(0x2c6)][_0x521183(0x1c0)]):null);if(_0x177df8)return _0x177df8;_0xef26ad[_0x521183(0x1f5)][_0x521183(0x236)]&&_0x5f3524[_0x521183(0x212)](_0xef26ad[_0x521183(0x1f5)][_0x521183(0x236)][_0x521183(0x264)],0x0)&&_0xef26ad[_0x521183(0x1f5)]['suites']['forEach'](_0x16fe01=>{const _0x5527fa=_0x521183,_0x4a0c02=_0x16fe01[_0x5527fa(0x2c6)]?this[_0x5527fa(0x1e9)](_0x16fe01[_0x5527fa(0x2c6)]):null;if(_0x4a0c02)return _0x4a0c02;});}return null;}}function a31_0x3011(_0x996a01,_0x5e605a){const _0x1384ec=a31_0x1384();return a31_0x3011=function(_0x3011f4,_0x19bfea){_0x3011f4=_0x3011f4-0x1bf;let _0x1da39d=_0x1384ec[_0x3011f4];return _0x1da39d;},a31_0x3011(_0x996a01,_0x5e605a);}module[a31_0x2ef6be(0x202)]=MyReporter;