browserstack-node-sdk 1.53.0 → 1.53.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 +1 -1
  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
- const a27_0x564b79=a27_0x200a;function a27_0x195d(){const _0x13fc93=['14QmTpZz','../utils/constants','../../helpers/ai-sdk/autoHealHelper','testsPassed','testSuitesFailed','platform','testsSkipped','totalTests','testsUndefined','../../helpers/performance/performance-tester','configuration','__platformCaps','path','AI_ENABLED_FRAMEWORK','413065qHuHbL','testsAmbiguous','84150LNtNoS','capability','_mochaOpts','3226320RAbZsL','42tXVWmk','__platform__','../../helpers/performance/constants','../v2/browserstackCLI','FGeGy','394248yGitGS','9KdrVkf','formatter','../../helpers/helper','211212sRKkWZ','1|19|9|23|22|6|15|3|4|10|21|0|18|2|5|20|8|16|7|12|11|13|17|14','_configuration','testsUnknown','../utils/clientTroubleshootingService','testsFailed','resolvePaths','split','_argv','testsErrorMessage','_accessibilityAutomation','setFramework','../../helpers/test-observability/utils','10182100fXBjsy','includes','_testObservability','testsPending','41558crbwpP'];a27_0x195d=function(){return _0x13fc93;};return a27_0x195d();}(function(_0x5bf5c3,_0x509371){const _0x1fdb00=a27_0x200a,_0x48953c=_0x5bf5c3();while(!![]){try{const _0x3ae11d=parseInt(_0x1fdb00(0x1f1))/0x1*(-parseInt(_0x1fdb00(0x1f2))/0x2)+-parseInt(_0x1fdb00(0x20b))/0x3+parseInt(_0x1fdb00(0x20f))/0x4+parseInt(_0x1fdb00(0x200))/0x5+-parseInt(_0x1fdb00(0x202))/0x6*(parseInt(_0x1fdb00(0x206))/0x7)+-parseInt(_0x1fdb00(0x205))/0x8*(parseInt(_0x1fdb00(0x20c))/0x9)+parseInt(_0x1fdb00(0x1ed))/0xa;if(_0x3ae11d===_0x509371)break;else _0x48953c['push'](_0x48953c['shift']());}catch(_0x121ad2){_0x48953c['push'](_0x48953c['shift']());}}}(a27_0x195d,0x3b898));const path=require(a27_0x564b79(0x1fe)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a27_0x564b79(0x20e)),constants=require(a27_0x564b79(0x1f3)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{isTestObservabilitySession}=require(a27_0x564b79(0x1ec)),helper=require(a27_0x564b79(0x20e)),PerformanceTester=require(a27_0x564b79(0x1fb)),PerformanceEvents=require(a27_0x564b79(0x208))['EVENTS'],{commandRepository}=require(a27_0x564b79(0x1f4)),BrowserstackCLI=require(a27_0x564b79(0x209)),ClientTroubleShootingService=require(a27_0x564b79(0x1e4));function a27_0x200a(_0x3fdc8b,_0x50949b){const _0x195d80=a27_0x195d();return a27_0x200a=function(_0x200a72,_0x2cde95){_0x200a72=_0x200a72-0x1e1;let _0x573d65=_0x195d80[_0x200a72];return _0x573d65;},a27_0x200a(_0x3fdc8b,_0x50949b);}class Launcher{constructor(_0x406504,_0x590216,_0x272784,_0x358680=[]){const _0x26bb4b=a27_0x564b79,_0x5c47dd={'YbnNh':_0x26bb4b(0x1e1),'FGeGy':function(_0x19c2a1){return _0x19c2a1();}},_0x1b16e9=_0x5c47dd['YbnNh'][_0x26bb4b(0x1e7)]('|');let _0x46dfda=0x0;while(!![]){switch(_0x1b16e9[_0x46dfda++]){case'0':global[_0x26bb4b(0x1fd)]=this[_0x26bb4b(0x1e2)]['platformCaps']||{};continue;case'1':this['_framework']=_0x406504;continue;case'2':global[_0x26bb4b(0x1f9)]=0x0;continue;case'3':this[_0x26bb4b(0x1e8)]=_0x358680;continue;case'4':this['_bsConfig']=_0x272784;continue;case'5':global[_0x26bb4b(0x1f5)]=0x0;continue;case'6':this['_capability']=this[_0x26bb4b(0x1e2)][_0x26bb4b(0x203)];continue;case'7':global[_0x26bb4b(0x1f6)]=0x0;continue;case'8':global[_0x26bb4b(0x1f0)]=0x0;continue;case'9':this[_0x26bb4b(0x1e2)]['framework']=_0x406504;continue;case'10':this[_0x26bb4b(0x1ef)]=_0x5c47dd[_0x26bb4b(0x20a)](isTestObservabilitySession);continue;case'11':global[_0x26bb4b(0x1e3)]=0x0;continue;case'12':global[_0x26bb4b(0x1fa)]=0x0;continue;case'13':global[_0x26bb4b(0x201)]=0x0;continue;case'14':!constants[_0x26bb4b(0x1ff)][_0x26bb4b(0x1ee)](_0x406504)&&(commandRepository['setConfig'](_0x272784),commandRepository[_0x26bb4b(0x1eb)](_0x406504));continue;case'15':global[_0x26bb4b(0x207)]=this[_0x26bb4b(0x1e2)][_0x26bb4b(0x1f7)];continue;case'16':global[_0x26bb4b(0x1f8)]=0x0;continue;case'17':global[_0x26bb4b(0x1e9)]={};continue;case'18':global['testSuites']=0x0;continue;case'19':this[_0x26bb4b(0x1e2)]=_0x590216[_0x26bb4b(0x1fc)]||{};continue;case'20':global[_0x26bb4b(0x1e5)]=0x0;continue;case'21':this[_0x26bb4b(0x1ea)]=_0x5c47dd[_0x26bb4b(0x20a)](isAccessibilityAutomationSession);continue;case'22':this['_formatter']=_0x590216[_0x26bb4b(0x20d)];continue;case'23':this[_0x26bb4b(0x204)]=_0x590216['mochaOpts'];continue;}break;}}['setupCucumber'](_0x389520,_0x528aa7,_0x49b174){const _0x1efd39=a27_0x564b79,_0x10ce61=_0x389520[_0x1efd39(0x1e6)];_0x389520.resolvePaths=async function(){const pathResults=await _0x10ce61.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x49b174));return pathResults;};const relativeFormatterPath=path.relative(process.cwd(),path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));const normalizedPath=relativeFormatterPath.startsWith('.')?relativeFormatterPath:`./${relativeFormatterPath}`;_0x528aa7.push('--format'),_0x528aa7.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_0xa117f1=a27_0x2b77;function a27_0x2abd(){const _0x9ae572=['../utils/constants','3628272MYkyZu','framework','335034LOhPNK','_bsConfig','_framework','pmTTe','1186046iSOXYW','testsPassed','testSuites','1973405cWevSR','totalTests','__platform__','configuration','8jvMQSI','testsPending','formatter','_configuration','1165910jhnLUR','_formatter','platform','1298277Ayqcaq','1116xOGIpl','testsSkipped','../../helpers/performance/constants','platformCaps','17|11|19|13|7|14|18|16|3|20|9|4|8|12|23|2|1|15|5|22|0|10|6|21','81530IJIdJM','__platformCaps','8AXcAfr','_accessibilityAutomation','../utils/clientTroubleshootingService','../../helpers/test-observability/utils','includes','../../helpers/helper','../v2/browserstackCLI','resolvePaths','split','../../helpers/performance/performance-tester','../../helpers/ai-sdk/autoHealHelper','AI_ENABLED_FRAMEWORK','setFramework','_testObservability','capability','testsFailed','mochaOpts','testSuitesFailed','OvRSQ'];a27_0x2abd=function(){return _0x9ae572;};return a27_0x2abd();}(function(_0x1fb737,_0xfc9a01){const _0x1189b3=a27_0x2b77,_0x5464a0=_0x1fb737();while(!![]){try{const _0x313470=-parseInt(_0x1189b3(0x101))/0x1+parseInt(_0x1189b3(0x105))/0x2+parseInt(_0x1189b3(0x113))/0x3+-parseInt(_0x1189b3(0xeb))/0x4*(parseInt(_0x1189b3(0x110))/0x5)+-parseInt(_0x1189b3(0xff))/0x6+-parseInt(_0x1189b3(0x108))/0x7*(parseInt(_0x1189b3(0x10c))/0x8)+parseInt(_0x1189b3(0x114))/0x9*(parseInt(_0x1189b3(0xe9))/0xa);if(_0x313470===_0xfc9a01)break;else _0x5464a0['push'](_0x5464a0['shift']());}catch(_0x4819de){_0x5464a0['push'](_0x5464a0['shift']());}}}(a27_0x2abd,0x55239));const path=require('path'),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require('../../helpers/helper'),constants=require(a27_0xa117f1(0xfe)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{isTestObservabilitySession}=require(a27_0xa117f1(0xee)),helper=require(a27_0xa117f1(0xf0)),PerformanceTester=require(a27_0xa117f1(0xf4)),PerformanceEvents=require(a27_0xa117f1(0x116))['EVENTS'],{commandRepository}=require(a27_0xa117f1(0xf5)),BrowserstackCLI=require(a27_0xa117f1(0xf1)),ClientTroubleShootingService=require(a27_0xa117f1(0xed));function a27_0x2b77(_0x2fc31b,_0x3cfbf9){const _0x2abd02=a27_0x2abd();return a27_0x2b77=function(_0x2b7719,_0x3e9384){_0x2b7719=_0x2b7719-0xe8;let _0xf07956=_0x2abd02[_0x2b7719];return _0xf07956;},a27_0x2b77(_0x2fc31b,_0x3cfbf9);}class Launcher{constructor(_0x819910,_0x3a544f,_0x405dc9,_0x1d94a6=[]){const _0x1d02d2=a27_0xa117f1,_0x5ca0d9={'OvRSQ':_0x1d02d2(0xe8),'pmTTe':function(_0x3af533){return _0x3af533();}},_0xb26116=_0x5ca0d9[_0x1d02d2(0xfd)][_0x1d02d2(0xf3)]('|');let _0x305bae=0x0;while(!![]){switch(_0xb26116[_0x305bae++]){case'0':global['testsUnknown']=0x0;continue;case'1':global[_0x1d02d2(0x10d)]=0x0;continue;case'2':global[_0x1d02d2(0xfa)]=0x0;continue;case'3':this[_0x1d02d2(0x102)]=_0x405dc9;continue;case'4':global[_0x1d02d2(0xea)]=this[_0x1d02d2(0x10f)][_0x1d02d2(0x117)]||{};continue;case'5':global[_0x1d02d2(0xfc)]=0x0;continue;case'6':global['testsErrorMessage']={};continue;case'7':this[_0x1d02d2(0x111)]=_0x3a544f[_0x1d02d2(0x10e)];continue;case'8':global[_0x1d02d2(0x107)]=0x0;continue;case'9':this[_0x1d02d2(0xec)]=_0x5ca0d9[_0x1d02d2(0x104)](isAccessibilityAutomationSession);continue;case'10':global['testsAmbiguous']=0x0;continue;case'11':this[_0x1d02d2(0x10f)]=_0x3a544f[_0x1d02d2(0x10b)]||{};continue;case'12':global[_0x1d02d2(0x109)]=0x0;continue;case'13':this['_mochaOpts']=_0x3a544f[_0x1d02d2(0xfb)];continue;case'14':this['_capability']=this['_configuration'][_0x1d02d2(0xf9)];continue;case'15':global[_0x1d02d2(0x115)]=0x0;continue;case'16':this['_argv']=_0x1d94a6;continue;case'17':this[_0x1d02d2(0x103)]=_0x819910;continue;case'18':global[_0x1d02d2(0x10a)]=this['_configuration'][_0x1d02d2(0x112)];continue;case'19':this['_configuration'][_0x1d02d2(0x100)]=_0x819910;continue;case'20':this[_0x1d02d2(0xf8)]=_0x5ca0d9[_0x1d02d2(0x104)](isTestObservabilitySession);continue;case'21':!constants[_0x1d02d2(0xf6)][_0x1d02d2(0xef)](_0x819910)&&(commandRepository['setConfig'](_0x405dc9),commandRepository[_0x1d02d2(0xf7)](_0x819910));continue;case'22':global['testsUndefined']=0x0;continue;case'23':global[_0x1d02d2(0x106)]=0x0;continue;}break;}}['setupCucumber'](_0x20913b,_0x44dc4e,_0x3eeb54){const _0x113b5b=a27_0xa117f1,_0x3e9477=_0x20913b[_0x113b5b(0xf2)];_0x20913b.resolvePaths=async function(){const pathResults=await _0x3e9477.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x3eeb54));return pathResults;};const relativeFormatterPath=path.relative(process.cwd(),path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));const normalizedPath=relativeFormatterPath.startsWith('.')?relativeFormatterPath:`./${relativeFormatterPath}`;_0x44dc4e.push('--format'),_0x44dc4e.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_0x368dd8=a28_0x3920;function a28_0x537a(){const _0x17b118=['5985264YMDWtG','Waiting\x20for\x20child\x20process\x20to\x20exit...','stzzj','error','fDWnk','3967698jpNaWw','slice','../../helpers/helper','dEOse','12NNUgOh','message','iDjNo','AwBFY','11fTooWh','readConfig','winstonLogger','Received\x20','Error\x20details:\x20','Spawning:\x20','stack','killed','BROWSERSTACK_ACCESS_KEY','jIQRM','10jDRhPt','lsNFT','child_process','1964504zFUUCr','CLI\x20binary\x20not\x20found,\x20downloading\x20latest\x20version','SIGQUIT','BROWSERSTACK_ACCESSKEY','debug','CLI\x20binary\x20found,\x20Checking\x20for\x20CLI\x20updates','2935384RUBSHM',',\x20forwarding\x20to\x20child\x20process...','cenYA','PSUju','AcpvH','argv','BROWSERSTACK_USERNAME','kill','forEach','getExistingCliPath','1832346rbyhBw','exit','7388ziCfCa','sdYwe','Loading\x20configuration\x20using\x20environment\x20variables\x20if\x20available.','2282245aWGfoj','path','Configuration\x20path:\x20','env','IZCxP','EKImt','yTcKU','stringify','userName','exports','\x20load\x20','checkAndUpdateCli','Authentication\x20incomplete.\x20Please\x20add\x20your\x20userName\x20and\x20accessKey\x20to\x20either\x20the\x20browserstack.yml\x20file\x20or\x20as\x20environment\x20variables,\x20then\x20try\x20running\x20the\x20command\x20again.','Failed\x20to\x20download\x20or\x20locate\x20CLI\x20binary','BROWSERSTACK_USER','inherit','\x20exited\x20with\x20code\x20','load','../../helpers/logger','54SMXcVw','getCliDir','../v2/cliUtils','accessKey','3fQAAlH'];a28_0x537a=function(){return _0x17b118;};return a28_0x537a();}function a28_0x3920(_0x5e4b41,_0xa269aa){const _0x537ad2=a28_0x537a();return a28_0x3920=function(_0x3920e5,_0x5950a5){_0x3920e5=_0x3920e5-0x1a6;let _0x5d6283=_0x537ad2[_0x3920e5];return _0x5d6283;},a28_0x3920(_0x5e4b41,_0xa269aa);}(function(_0x16a85f,_0xa87c6){const _0x26a451=a28_0x3920,_0x2f0082=_0x16a85f();while(!![]){try{const _0x48004d=-parseInt(_0x26a451(0x1e2))/0x1*(parseInt(_0x26a451(0x1cc))/0x2)+parseInt(_0x26a451(0x1e6))/0x3*(-parseInt(_0x26a451(0x1ba))/0x4)+-parseInt(_0x26a451(0x1cf))/0x5+-parseInt(_0x26a451(0x1a9))/0x6*(-parseInt(_0x26a451(0x1ec))/0x7)+parseInt(_0x26a451(0x1c0))/0x8+parseInt(_0x26a451(0x1ca))/0x9*(-parseInt(_0x26a451(0x1b7))/0xa)+parseInt(_0x26a451(0x1ad))/0xb*(parseInt(_0x26a451(0x1e7))/0xc);if(_0x48004d===_0xa87c6)break;else _0x2f0082['push'](_0x2f0082['shift']());}catch(_0x2baf06){_0x2f0082['push'](_0x2f0082['shift']());}}}(a28_0x537a,0x9e5e6));const {spawn}=require(a28_0x368dd8(0x1b9)),path=require(a28_0x368dd8(0x1d0)),helper=require(a28_0x368dd8(0x1a7)),CLIUtils=require(a28_0x368dd8(0x1e4)),{getLoadConfigPath,sleep}=require('./loadUtils'),logger=require(a28_0x368dd8(0x1e1))[a28_0x368dd8(0x1af)];async function executeLoadTest(_0x5c09b7){const _0x1d2329=a28_0x368dd8,_0x402161={'yTcKU':function(_0x1938c2,_0x169af0){return _0x1938c2(_0x169af0);},'stzzj':'close','sdYwe':_0x1d2329(0x1e8),'cenYA':_0x1d2329(0x1ce),'NXFuN':function(_0x2e79ee,_0x1ecf4f){return _0x2e79ee(_0x1ecf4f);},'AwBFY':function(_0x5b1f78){return _0x5b1f78();},'AcpvH':_0x1d2329(0x1db),'jIQRM':function(_0x2485c0){return _0x2485c0();},'lsNFT':'Failed\x20to\x20determine\x20CLI\x20directory','iDjNo':function(_0x29f945){return _0x29f945();},'ibyqd':_0x1d2329(0x1bb),'PSUju':_0x1d2329(0x1bf),'fDWnk':function(_0x144104){return _0x144104();},'SFvlS':_0x1d2329(0x1dc),'IZCxP':function(_0x36a618){return _0x36a618();},'EKImt':function(_0x50ab1c,_0x482271,_0x16e15b,_0x59d905){return _0x50ab1c(_0x482271,_0x16e15b,_0x59d905);},'daDLT':_0x1d2329(0x1e0),'iFWIh':_0x1d2329(0x1de),'tlyuS':'SIGINT','dEOse':'SIGTERM','fbiSI':_0x1d2329(0x1bc),'poYzt':'SIGHUP'};try{const _0x13bb37=process[_0x1d2329(0x1c5)][_0x1d2329(0x1a6)](0x2),_0x40d973=_0x13bb37['slice'](0x1);logger['debug']('Executing\x20load\x20test\x20with\x20arguments:\x20'+_0x40d973);let _0x2687c4={};try{logger[_0x1d2329(0x1be)](_0x402161[_0x1d2329(0x1c2)]);const _0x3765db={};_0x3765db[_0x1d2329(0x1d7)]=process[_0x1d2329(0x1d2)][_0x1d2329(0x1c6)]||process[_0x1d2329(0x1d2)][_0x1d2329(0x1dd)],_0x3765db[_0x1d2329(0x1e5)]=process[_0x1d2329(0x1d2)][_0x1d2329(0x1b5)]||process[_0x1d2329(0x1d2)][_0x1d2329(0x1bd)],_0x2687c4=_0x3765db;if(!_0x2687c4[_0x1d2329(0x1d7)]||!_0x2687c4[_0x1d2329(0x1e5)]){const _0x199b7a=_0x402161['NXFuN'](getLoadConfigPath,_0x5c09b7[_0x1d2329(0x1c5)]);logger['debug'](_0x1d2329(0x1d1)+_0x199b7a),_0x199b7a&&(_0x2687c4=helper[_0x1d2329(0x1ae)](_0x199b7a));}}catch(_0x46f173){logger['error']('Error\x20loading\x20configuration:\x20'+_0x46f173[_0x1d2329(0x1aa)]),logger[_0x1d2329(0x1be)](_0x1d2329(0x1b1)+(_0x46f173[_0x1d2329(0x1b3)]||JSON['stringify'](_0x46f173))),await _0x402161[_0x1d2329(0x1ac)](sleep),process[_0x1d2329(0x1cb)](0x1);}(!_0x2687c4[_0x1d2329(0x1d7)]||!_0x2687c4[_0x1d2329(0x1e5)])&&(logger[_0x1d2329(0x1ea)](_0x402161[_0x1d2329(0x1c4)]),await _0x402161[_0x1d2329(0x1b6)](sleep),process[_0x1d2329(0x1cb)](0x1));const _0x1934ec=CLIUtils[_0x1d2329(0x1e3)]();!_0x1934ec&&(logger[_0x1d2329(0x1ea)](_0x402161[_0x1d2329(0x1b8)]),await _0x402161[_0x1d2329(0x1ab)](sleep),process[_0x1d2329(0x1cb)](0x1));let _0x2348c8=CLIUtils[_0x1d2329(0x1c9)](_0x1934ec);try{!_0x2348c8?(logger[_0x1d2329(0x1be)](_0x402161['ibyqd']),_0x2348c8=await CLIUtils[_0x1d2329(0x1da)]('',_0x1934ec,_0x2687c4)):(logger[_0x1d2329(0x1be)](_0x402161[_0x1d2329(0x1c3)]),_0x2348c8=await CLIUtils['checkAndUpdateCli'](_0x2348c8,_0x1934ec,_0x2687c4));}catch(_0x167f89){logger['error'](_0x402161[_0x1d2329(0x1c4)]),logger['debug']('Error\x20Details:\x20'+(_0x167f89[_0x1d2329(0x1b3)]||JSON[_0x1d2329(0x1d6)](_0x167f89))),await _0x402161[_0x1d2329(0x1eb)](sleep),process[_0x1d2329(0x1cb)](0x1);}!_0x2348c8&&(logger['error'](_0x402161[_0x1d2329(0x1c4)]),logger[_0x1d2329(0x1be)](_0x402161['SFvlS']),await _0x402161[_0x1d2329(0x1d3)](sleep),process[_0x1d2329(0x1cb)](0x1));logger[_0x1d2329(0x1be)](_0x1d2329(0x1b2)+_0x2348c8+_0x1d2329(0x1d9)+_0x40d973['join']('\x20'));const _0x26c6cb=_0x402161[_0x1d2329(0x1d4)](spawn,_0x2348c8,[_0x402161['daDLT'],..._0x40d973],{'stdio':_0x402161['iFWIh']});let _0x14369f=![];const _0x5e1832=new Promise(_0x3c9022=>{const _0x316aa8=_0x1d2329,_0x2e4b4a={'ajXhX':function(_0x3c34e5,_0x1d4171){const _0x1bdff1=a28_0x3920;return _0x402161[_0x1bdff1(0x1d5)](_0x3c34e5,_0x1d4171);}};_0x26c6cb['on'](_0x402161[_0x316aa8(0x1e9)],_0x328786=>{const _0x42c489=_0x316aa8;logger['debug'](_0x2348c8+_0x42c489(0x1df)+_0x328786),_0x2e4b4a['ajXhX'](_0x3c9022,_0x328786);});});[_0x402161['tlyuS'],_0x402161[_0x1d2329(0x1a8)],_0x402161['fbiSI'],_0x402161['poYzt']][_0x1d2329(0x1c8)](_0x1edb13=>{process['on'](_0x1edb13,()=>{const _0xf1199c=a28_0x3920;if(_0x14369f)return;_0x14369f=!![],logger['debug'](_0xf1199c(0x1b0)+_0x1edb13+_0xf1199c(0x1c1)),_0x26c6cb&&!_0x26c6cb[_0xf1199c(0x1b4)]&&(_0x26c6cb[_0xf1199c(0x1c7)](_0x1edb13),logger['debug'](_0x402161[_0xf1199c(0x1cd)]));});});const _0x3fb620=await _0x5e1832;await _0x402161[_0x1d2329(0x1ab)](sleep),process[_0x1d2329(0x1cb)](_0x3fb620);}catch(_0x28e1ef){logger[_0x1d2329(0x1ea)]('Failed\x20initiating\x20load\x20test:\x20'+_0x28e1ef[_0x1d2329(0x1aa)]),logger[_0x1d2329(0x1be)](_0x1d2329(0x1b1)+(_0x28e1ef[_0x1d2329(0x1b3)]||JSON['stringify'](_0x28e1ef))),await _0x402161['IZCxP'](sleep),process[_0x1d2329(0x1cb)](0x1);}}module[a28_0x368dd8(0x1d8)]=executeLoadTest;
2
+ 'use strict';function a28_0x42eb(){const _0x1f1407=['Error\x20Details:\x20','debug','error','kill','stringify','../v2/cliUtils','59900XVawLA','Configuration\x20path:\x20','pjFHk','332970cnkOaB','message','5MyKcjp','xHBtZ','vsySi','getExistingCliPath','join','Error\x20details:\x20','\x20load\x20','accessKey','Waiting\x20for\x20child\x20process\x20to\x20exit...','99306cDBsjC','479408lrqZbB','nYucy','BROWSERSTACK_USERNAME','gOqxq','Loading\x20configuration\x20using\x20environment\x20variables\x20if\x20available.','wBkzN','BROWSERSTACK_ACCESS_KEY','8sKfBxN','dHcfG','checkAndUpdateCli','hocWx','SIGHUP','Authentication\x20incomplete.\x20Please\x20add\x20your\x20userName\x20and\x20accessKey\x20to\x20either\x20the\x20browserstack.yml\x20file\x20or\x20as\x20environment\x20variables,\x20then\x20try\x20running\x20the\x20command\x20again.','161ZpjLhz','path','CLI\x20binary\x20found,\x20Checking\x20for\x20CLI\x20updates','exit','winstonLogger','628230HzzpoP','XWHwx','Failed\x20to\x20download\x20or\x20locate\x20CLI\x20binary','forEach','killed','xifbU','SIGTERM','Failed\x20to\x20determine\x20CLI\x20directory','../../helpers/logger','slice','BROWSERSTACK_USER','SIGQUIT','Executing\x20load\x20test\x20with\x20arguments:\x20','inherit','BROWSERSTACK_ACCESSKEY','uizxJ','userName','CLI\x20binary\x20not\x20found,\x20downloading\x20latest\x20version','child_process','SIGINT','\x20exited\x20with\x20code\x20','getCliDir','475047acfQrd','xwFjt',',\x20forwarding\x20to\x20child\x20process...','stack','close','Spawning:\x20','MUzgB','Failed\x20initiating\x20load\x20test:\x20','224579CisJyI','CHjsC','Error\x20loading\x20configuration:\x20','./loadUtils','env','argv','LIOWw','Received\x20'];a28_0x42eb=function(){return _0x1f1407;};return a28_0x42eb();}const a28_0x5a6446=a28_0x5458;(function(_0x4a2a5c,_0x10efec){const _0x3850bd=a28_0x5458,_0x47e3b4=_0x4a2a5c();while(!![]){try{const _0x41a644=-parseInt(_0x3850bd(0x183))/0x1+parseInt(_0x3850bd(0x191))/0x2+-parseInt(_0x3850bd(0x194))/0x3+-parseInt(_0x3850bd(0x1a0))/0x4*(-parseInt(_0x3850bd(0x196))/0x5)+parseInt(_0x3850bd(0x19f))/0x6*(parseInt(_0x3850bd(0x1ad))/0x7)+parseInt(_0x3850bd(0x1a7))/0x8*(-parseInt(_0x3850bd(0x17b))/0x9)+parseInt(_0x3850bd(0x165))/0xa;if(_0x41a644===_0x10efec)break;else _0x47e3b4['push'](_0x47e3b4['shift']());}catch(_0x401956){_0x47e3b4['push'](_0x47e3b4['shift']());}}}(a28_0x42eb,0x32092));const {spawn}=require(a28_0x5a6446(0x177)),path=require(a28_0x5a6446(0x1ae)),helper=require('../../helpers/helper'),CLIUtils=require(a28_0x5a6446(0x190)),{getLoadConfigPath,sleep}=require(a28_0x5a6446(0x186)),logger=require(a28_0x5a6446(0x16d))[a28_0x5a6446(0x164)];function a28_0x5458(_0x48cce1,_0x1c5bee){const _0x42eb01=a28_0x42eb();return a28_0x5458=function(_0x54580d,_0x273c34){_0x54580d=_0x54580d-0x162;let _0x166ba4=_0x42eb01[_0x54580d];return _0x166ba4;},a28_0x5458(_0x48cce1,_0x1c5bee);}async function executeLoadTest(_0x42e349){const _0x53c246=a28_0x5a6446,_0x13d4a7={'pjFHk':function(_0x5009b8,_0x1502fb){return _0x5009b8(_0x1502fb);},'dGnxy':_0x53c246(0x17f),'nYucy':_0x53c246(0x19e),'gOqxq':_0x53c246(0x1a4),'xwFjt':function(_0x2ecf4b,_0x24d6e6){return _0x2ecf4b(_0x24d6e6);},'CHjsC':function(_0x3956df){return _0x3956df();},'wBkzN':_0x53c246(0x1ac),'LLtGh':_0x53c246(0x16c),'MUzgB':_0x53c246(0x176),'vsySi':_0x53c246(0x162),'uizxJ':_0x53c246(0x167),'KLpqA':function(_0x251b89){return _0x251b89();},'xHBtZ':function(_0x5a840b,_0x559d86,_0x3aed1d,_0x3dfda1){return _0x5a840b(_0x559d86,_0x3aed1d,_0x3dfda1);},'hocWx':'load','LIOWw':_0x53c246(0x172),'ykmaU':_0x53c246(0x178),'UQgOm':_0x53c246(0x16b),'SDJsD':_0x53c246(0x170),'XWHwx':_0x53c246(0x1ab)};try{const _0x3c7a3a=process[_0x53c246(0x188)]['slice'](0x2),_0x5a5112=_0x3c7a3a[_0x53c246(0x16e)](0x1);logger[_0x53c246(0x18c)](_0x53c246(0x171)+_0x5a5112);let _0x5ccbdf={};try{logger[_0x53c246(0x18c)](_0x13d4a7[_0x53c246(0x1a3)]);const _0x2458e7={};_0x2458e7['userName']=process[_0x53c246(0x187)][_0x53c246(0x1a2)]||process[_0x53c246(0x187)][_0x53c246(0x16f)],_0x2458e7[_0x53c246(0x19d)]=process['env'][_0x53c246(0x1a6)]||process[_0x53c246(0x187)][_0x53c246(0x173)],_0x5ccbdf=_0x2458e7;if(!_0x5ccbdf[_0x53c246(0x175)]||!_0x5ccbdf['accessKey']){const _0x1f46d4=_0x13d4a7[_0x53c246(0x17c)](getLoadConfigPath,_0x42e349[_0x53c246(0x188)]);logger[_0x53c246(0x18c)](_0x53c246(0x192)+_0x1f46d4),_0x1f46d4&&(_0x5ccbdf=helper['readConfig'](_0x1f46d4));}}catch(_0x363b2c){logger['error'](_0x53c246(0x185)+_0x363b2c['message']),logger[_0x53c246(0x18c)]('Error\x20details:\x20'+(_0x363b2c[_0x53c246(0x17e)]||JSON[_0x53c246(0x18f)](_0x363b2c))),await _0x13d4a7[_0x53c246(0x184)](sleep),process['exit'](0x1);}(!_0x5ccbdf[_0x53c246(0x175)]||!_0x5ccbdf[_0x53c246(0x19d)])&&(logger[_0x53c246(0x18d)](_0x13d4a7[_0x53c246(0x1a5)]),await _0x13d4a7[_0x53c246(0x184)](sleep),process[_0x53c246(0x163)](0x1));const _0x341e05=CLIUtils[_0x53c246(0x17a)]();!_0x341e05&&(logger[_0x53c246(0x18d)](_0x13d4a7['LLtGh']),await _0x13d4a7['CHjsC'](sleep),process['exit'](0x1));let _0x12c445=CLIUtils[_0x53c246(0x199)](_0x341e05);try{!_0x12c445?(logger[_0x53c246(0x18c)](_0x13d4a7[_0x53c246(0x181)]),_0x12c445=await CLIUtils[_0x53c246(0x1a9)]('',_0x341e05,_0x5ccbdf)):(logger[_0x53c246(0x18c)](_0x13d4a7[_0x53c246(0x198)]),_0x12c445=await CLIUtils[_0x53c246(0x1a9)](_0x12c445,_0x341e05,_0x5ccbdf));}catch(_0x557e5a){logger[_0x53c246(0x18d)](_0x13d4a7[_0x53c246(0x1a5)]),logger[_0x53c246(0x18c)](_0x53c246(0x18b)+(_0x557e5a['stack']||JSON[_0x53c246(0x18f)](_0x557e5a))),await _0x13d4a7[_0x53c246(0x184)](sleep),process[_0x53c246(0x163)](0x1);}!_0x12c445&&(logger[_0x53c246(0x18d)](_0x13d4a7[_0x53c246(0x1a5)]),logger[_0x53c246(0x18c)](_0x13d4a7[_0x53c246(0x174)]),await _0x13d4a7['KLpqA'](sleep),process['exit'](0x1));logger[_0x53c246(0x18c)](_0x53c246(0x180)+_0x12c445+_0x53c246(0x19c)+_0x5a5112[_0x53c246(0x19a)]('\x20'));const _0x3d8156=_0x13d4a7[_0x53c246(0x197)](spawn,_0x12c445,[_0x13d4a7[_0x53c246(0x1aa)],..._0x5a5112],{'stdio':_0x13d4a7[_0x53c246(0x189)]});let _0x2bdcb7=![];const _0x5a6f7d=new Promise(_0xe85655=>{const _0x5d6cbb={'dHcfG':function(_0x388b8e,_0xe34d8a){const _0x32bc85=a28_0x5458;return _0x13d4a7[_0x32bc85(0x193)](_0x388b8e,_0xe34d8a);}};_0x3d8156['on'](_0x13d4a7['dGnxy'],_0x22a717=>{const _0x1568b6=a28_0x5458;logger[_0x1568b6(0x18c)](_0x12c445+_0x1568b6(0x179)+_0x22a717),_0x5d6cbb[_0x1568b6(0x1a8)](_0xe85655,_0x22a717);});});[_0x13d4a7['ykmaU'],_0x13d4a7['UQgOm'],_0x13d4a7['SDJsD'],_0x13d4a7[_0x53c246(0x166)]][_0x53c246(0x168)](_0x29096d=>{const _0x568656=_0x53c246,_0x12870c={};_0x12870c[_0x568656(0x16a)]=_0x13d4a7[_0x568656(0x1a1)];const _0x1fb127=_0x12870c;process['on'](_0x29096d,()=>{const _0x5eea03=_0x568656;if(_0x2bdcb7)return;_0x2bdcb7=!![],logger['debug'](_0x5eea03(0x18a)+_0x29096d+_0x5eea03(0x17d)),_0x3d8156&&!_0x3d8156[_0x5eea03(0x169)]&&(_0x3d8156[_0x5eea03(0x18e)](_0x29096d),logger[_0x5eea03(0x18c)](_0x1fb127[_0x5eea03(0x16a)]));});});const _0x48d161=await _0x5a6f7d;await _0x13d4a7[_0x53c246(0x184)](sleep),process[_0x53c246(0x163)](_0x48d161);}catch(_0x204636){logger[_0x53c246(0x18d)](_0x53c246(0x182)+_0x204636[_0x53c246(0x195)]),logger[_0x53c246(0x18c)](_0x53c246(0x19b)+(_0x204636[_0x53c246(0x17e)]||JSON[_0x53c246(0x18f)](_0x204636))),await _0x13d4a7['KLpqA'](sleep),process['exit'](0x1);}}module['exports']=executeLoadTest;
@@ -1 +1 @@
1
- 'use strict';function a29_0xcce2(_0x54494f,_0x3d5fcf){const _0x4b258c=a29_0x4b25();return a29_0xcce2=function(_0xcce2b2,_0x590756){_0xcce2b2=_0xcce2b2-0x1df;let _0x30442b=_0x4b258c[_0xcce2b2];return _0x30442b;},a29_0xcce2(_0x54494f,_0x3d5fcf);}const a29_0x5e2ba3=a29_0xcce2;(function(_0xb6fea4,_0x2a7d7f){const _0x1cc49a=a29_0xcce2,_0x4478b1=_0xb6fea4();while(!![]){try{const _0x410d37=parseInt(_0x1cc49a(0x1f5))/0x1+-parseInt(_0x1cc49a(0x1f9))/0x2+parseInt(_0x1cc49a(0x1e4))/0x3*(parseInt(_0x1cc49a(0x1e7))/0x4)+parseInt(_0x1cc49a(0x1e8))/0x5*(parseInt(_0x1cc49a(0x200))/0x6)+parseInt(_0x1cc49a(0x1f8))/0x7+parseInt(_0x1cc49a(0x201))/0x8*(parseInt(_0x1cc49a(0x206))/0x9)+-parseInt(_0x1cc49a(0x1f4))/0xa;if(_0x410d37===_0x2a7d7f)break;else _0x4478b1['push'](_0x4478b1['shift']());}catch(_0x4473ad){_0x4478b1['push'](_0x4478b1['shift']());}}}(a29_0x4b25,0x483ca));function a29_0x4b25(){const _0x5b1acc=['error','sleep','.yml','oVigM','jBnlF','6cEzQUD','3372608GYhBvz','subcommand','stringify','join','getLoadConfigPath','9JuqJat','hIjdO','cAyOP','resolve','\x20and\x20Resolved\x20path:\x20','path','endsWith','../../helpers/logger','OAVzy','message','mLIdJ','existsSync','browserstack-load.yaml','exports','load','browserstack.yaml','522054aAhbsO','.yaml','browserstack.yml','4IkuZBe','589875aGqRFA','qphtb','debug','info','Found\x20config\x20file:\x20','Failed\x20to\x20load\x20browserstack\x20config:\x20','WhyVO','browserstack-load.yml','VlWpV','run','tplsh','hpngG','9139720haBKKs','105771fhnQSB','Checking\x20for\x20config\x20in\x20default\x20config\x20files...','PgZYj','3444259RsapXf','203046NoFQsL','cwd'];a29_0x4b25=function(){return _0x5b1acc;};return a29_0x4b25();}const fs=require('fs'),path=require(a29_0x5e2ba3(0x20b)),logger=require(a29_0x5e2ba3(0x20d))['winstonLogger'];function getLoadConfigPath(_0x20be78){const _0x2979f8=a29_0x5e2ba3,_0x53855d={};_0x53855d[_0x2979f8(0x1f3)]=function(_0x4275db,_0x2419d2){return _0x4275db===_0x2419d2;},_0x53855d[_0x2979f8(0x1fe)]=_0x2979f8(0x1e2),_0x53855d[_0x2979f8(0x20e)]=function(_0x2bb36e,_0x5baa6c){return _0x2bb36e===_0x5baa6c;},_0x53855d[_0x2979f8(0x1f0)]=_0x2979f8(0x1f1),_0x53855d[_0x2979f8(0x1ff)]='config-file',_0x53855d[_0x2979f8(0x207)]=_0x2979f8(0x1fd),_0x53855d[_0x2979f8(0x1ee)]=_0x2979f8(0x1e5),_0x53855d[_0x2979f8(0x1f2)]=_0x2979f8(0x1ef),_0x53855d[_0x2979f8(0x210)]=_0x2979f8(0x1e0),_0x53855d['cAyOP']=_0x2979f8(0x1e6),_0x53855d[_0x2979f8(0x1f7)]=_0x2979f8(0x1e3),_0x53855d[_0x2979f8(0x1e9)]=_0x2979f8(0x1f6);const _0x77649c=_0x53855d;logger[_0x2979f8(0x1ea)]('Checking\x20for\x20config\x20file\x20with\x20arguments:\x20'+JSON[_0x2979f8(0x203)](_0x20be78));try{const _0x20fbf8=_0x20be78['_']||[],_0xf579ae=_0x77649c['hpngG'](_0x20be78['_'][0x0],_0x77649c[_0x2979f8(0x1fe)])&&_0x77649c[_0x2979f8(0x20e)](_0x20be78[_0x2979f8(0x202)],_0x77649c[_0x2979f8(0x1f0)]);if(_0xf579ae){if(_0x20be78[_0x77649c[_0x2979f8(0x1ff)]]||_0x20be78['cf']){const _0x111915=_0x20be78[_0x77649c['jBnlF']]||_0x20be78['cf'],_0x59ebe9=path[_0x2979f8(0x209)](_0x111915);logger[_0x2979f8(0x1ea)]('Config\x20file\x20specified:\x20'+_0x111915+_0x2979f8(0x20a)+_0x59ebe9);if(_0x59ebe9[_0x2979f8(0x20c)](_0x77649c[_0x2979f8(0x207)])||_0x59ebe9['endsWith'](_0x77649c[_0x2979f8(0x1ee)]))return logger[_0x2979f8(0x1eb)]('Using\x20specified\x20config\x20file:\x20'+_0x59ebe9),_0x59ebe9;}}const _0x3cbcd7=[_0x77649c[_0x2979f8(0x1f2)],_0x77649c['mLIdJ'],_0x77649c[_0x2979f8(0x208)],_0x77649c['PgZYj']];logger[_0x2979f8(0x1ea)](_0x77649c[_0x2979f8(0x1e9)]);for(const _0x3fa5fa of _0x3cbcd7){const _0x381e6d=path[_0x2979f8(0x204)](process[_0x2979f8(0x1fa)](),_0x3fa5fa);logger[_0x2979f8(0x1ea)]('Checking\x20for:\x20'+_0x381e6d);if(fs[_0x2979f8(0x1df)](_0x381e6d))return logger['debug'](_0x2979f8(0x1ec)+_0x381e6d),_0x381e6d;}}catch(_0x3451f0){logger[_0x2979f8(0x1fb)](_0x2979f8(0x1ed)+_0x3451f0[_0x2979f8(0x20f)]);}}function sleep(){return new Promise(_0x464f84=>setTimeout(_0x464f84,0x64));}const a29_0x46d7a1={};a29_0x46d7a1[a29_0x5e2ba3(0x205)]=getLoadConfigPath,a29_0x46d7a1[a29_0x5e2ba3(0x1fc)]=sleep,module[a29_0x5e2ba3(0x1e1)]=a29_0x46d7a1;
1
+ 'use strict';const a29_0x2543c6=a29_0x4bb7;function a29_0x32d7(){const _0x40d32a=['1847016zjQqwf','MRSzM','ZxohS','config-file','subcommand','../../helpers/logger','.yaml','359812plJrGs','browserstack.yml','.yml','existsSync','344943yKJmNi','getLoadConfigPath','resolve','Config\x20file\x20specified:\x20','Checking\x20for\x20config\x20in\x20default\x20config\x20files...','Found\x20config\x20file:\x20','ejbNy','browserstack.yaml','\x20and\x20Resolved\x20path:\x20','BKygg','ELMuX','309912osYJqg','Using\x20specified\x20config\x20file:\x20','join','browserstack-load.yaml','942879PLDqEt','24uzystC','kDTFU','sleep','cwd','debug','1109870POwHno','run','2187000IZbNQj','message','endsWith','stringify','Checking\x20for:\x20','ORwAH','path','mXZep','DGQHT'];a29_0x32d7=function(){return _0x40d32a;};return a29_0x32d7();}function a29_0x4bb7(_0x10410c,_0x1200fb){const _0x32d777=a29_0x32d7();return a29_0x4bb7=function(_0x4bb75a,_0x6463cc){_0x4bb75a=_0x4bb75a-0x19c;let _0x4455eb=_0x32d777[_0x4bb75a];return _0x4455eb;},a29_0x4bb7(_0x10410c,_0x1200fb);}(function(_0x2f4a3c,_0x25ae0c){const _0xaf7692=a29_0x4bb7,_0x4f2a9b=_0x2f4a3c();while(!![]){try{const _0xc04978=-parseInt(_0xaf7692(0x19e))/0x1+parseInt(_0xaf7692(0x1b7))/0x2+parseInt(_0xaf7692(0x1a2))/0x3*(parseInt(_0xaf7692(0x1b2))/0x4)+-parseInt(_0xaf7692(0x1b9))/0x5+parseInt(_0xaf7692(0x1ad))/0x6+parseInt(_0xaf7692(0x1b1))/0x7+-parseInt(_0xaf7692(0x1c2))/0x8;if(_0xc04978===_0x25ae0c)break;else _0x4f2a9b['push'](_0x4f2a9b['shift']());}catch(_0x256a18){_0x4f2a9b['push'](_0x4f2a9b['shift']());}}}(a29_0x32d7,0x62689));const fs=require('fs'),path=require(a29_0x2543c6(0x1bf)),logger=require(a29_0x2543c6(0x19c))['winstonLogger'];function getLoadConfigPath(_0x384f81){const _0x54ddd3=a29_0x2543c6,_0x54dacd={};_0x54dacd['mXZep']=function(_0x456425,_0x52c192){return _0x456425===_0x52c192;},_0x54dacd['ELMuX']='load',_0x54dacd['saVQp']=_0x54ddd3(0x1b8),_0x54dacd['eXGFP']=_0x54ddd3(0x1c5),_0x54dacd[_0x54ddd3(0x1c3)]=_0x54ddd3(0x1a0),_0x54dacd[_0x54ddd3(0x1c4)]=_0x54ddd3(0x19d),_0x54dacd['ejbNy']='browserstack-load.yml',_0x54dacd[_0x54ddd3(0x1c1)]=_0x54ddd3(0x1b0),_0x54dacd[_0x54ddd3(0x1be)]=_0x54ddd3(0x19f),_0x54dacd[_0x54ddd3(0x1b3)]=_0x54ddd3(0x1a9),_0x54dacd[_0x54ddd3(0x1ab)]=_0x54ddd3(0x1a6);const _0x1b7ba6=_0x54dacd;logger[_0x54ddd3(0x1b6)]('Checking\x20for\x20config\x20file\x20with\x20arguments:\x20'+JSON[_0x54ddd3(0x1bc)](_0x384f81));try{const _0x506495=_0x384f81['_']||[],_0x3bd369=_0x1b7ba6[_0x54ddd3(0x1c0)](_0x384f81['_'][0x0],_0x1b7ba6[_0x54ddd3(0x1ac)])&&_0x1b7ba6[_0x54ddd3(0x1c0)](_0x384f81[_0x54ddd3(0x1c6)],_0x1b7ba6['saVQp']);if(_0x3bd369){if(_0x384f81[_0x1b7ba6['eXGFP']]||_0x384f81['cf']){const _0x185e3e=_0x384f81[_0x1b7ba6['eXGFP']]||_0x384f81['cf'],_0x509f1c=path[_0x54ddd3(0x1a4)](_0x185e3e);logger[_0x54ddd3(0x1b6)](_0x54ddd3(0x1a5)+_0x185e3e+_0x54ddd3(0x1aa)+_0x509f1c);if(_0x509f1c[_0x54ddd3(0x1bb)](_0x1b7ba6[_0x54ddd3(0x1c3)])||_0x509f1c['endsWith'](_0x1b7ba6['ZxohS']))return logger['info'](_0x54ddd3(0x1ae)+_0x509f1c),_0x509f1c;}}const _0x428b16=[_0x1b7ba6[_0x54ddd3(0x1a8)],_0x1b7ba6['DGQHT'],_0x1b7ba6[_0x54ddd3(0x1be)],_0x1b7ba6[_0x54ddd3(0x1b3)]];logger[_0x54ddd3(0x1b6)](_0x1b7ba6['BKygg']);for(const _0x477d03 of _0x428b16){const _0x325d6a=path[_0x54ddd3(0x1af)](process[_0x54ddd3(0x1b5)](),_0x477d03);logger[_0x54ddd3(0x1b6)](_0x54ddd3(0x1bd)+_0x325d6a);if(fs[_0x54ddd3(0x1a1)](_0x325d6a))return logger['debug'](_0x54ddd3(0x1a7)+_0x325d6a),_0x325d6a;}}catch(_0x45bae3){logger['error']('Failed\x20to\x20load\x20browserstack\x20config:\x20'+_0x45bae3[_0x54ddd3(0x1ba)]);}}function sleep(){return new Promise(_0x526852=>setTimeout(_0x526852,0x64));}const a29_0x39afe4={};a29_0x39afe4[a29_0x2543c6(0x1a3)]=getLoadConfigPath,a29_0x39afe4[a29_0x2543c6(0x1b4)]=sleep,module['exports']=a29_0x39afe4;
@@ -1 +1 @@
1
- const a30_0x30d50e=a30_0x112a;(function(_0x4d1805,_0x17974d){const _0x1da27e=a30_0x112a,_0x28bb84=_0x4d1805();while(!![]){try{const _0x4fdd22=parseInt(_0x1da27e(0x1f1))/0x1+parseInt(_0x1da27e(0x243))/0x2+parseInt(_0x1da27e(0x1ea))/0x3+parseInt(_0x1da27e(0x24c))/0x4*(-parseInt(_0x1da27e(0x229))/0x5)+-parseInt(_0x1da27e(0x217))/0x6+-parseInt(_0x1da27e(0x1f4))/0x7*(-parseInt(_0x1da27e(0x22a))/0x8)+parseInt(_0x1da27e(0x241))/0x9;if(_0x4fdd22===_0x17974d)break;else _0x28bb84['push'](_0x28bb84['shift']());}catch(_0x5b273c){_0x28bb84['push'](_0x28bb84['shift']());}}}(a30_0x55d2,0x88c0f));const path=require('path'),os=require('os'),util=require(a30_0x30d50e(0x1f3)),bsSetupHelper=require(a30_0x30d50e(0x1ef)),globals=require(a30_0x30d50e(0x226)),accessibilityHelper=require(a30_0x30d50e(0x23a)),logger=require('../../../helpers/logger')[a30_0x30d50e(0x21c)];function a30_0x112a(_0x13fd46,_0xcac814){const _0x55d25a=a30_0x55d2();return a30_0x112a=function(_0x112a36,_0x564332){_0x112a36=_0x112a36-0x1e8;let _0x272986=_0x55d25a[_0x112a36];return _0x272986;},a30_0x112a(_0x13fd46,_0xcac814);}function a30_0x55d2(){const _0x5246ab=['isUndefined','WcLVV','getBrowserName','setGlobal','scannerVersion','keys','capabilities','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','browser_version','chrome','pUUZX','capabilities_','debug','requiresChromeOptionsValidation','info','1|4|0|2|3','get','BS_A11Y_JWT','goog:chromeOptions','WEycp','KbuzG','length','--headless=new','3964002yONwzI','getMinVersionForBrowser','pmNna','KIsZH','nestedKeyValue','winstonLogger','isBrowserSupportedForAccessibility','getCapabilities','authToken','browserVersion','MOBILE_SCANNING_DISABLED_WARNING','Accessibility\x20Automation\x20is\x20enabled\x20for\x20Android\x20mobile\x20browser\x20(Chrome).\x20Skipping\x20extension\x20setup.','args','chromeOptions_','LMCiX','../../../helpers/globals','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','JJLeg','4888015wFxkPf','2784392bKOaKL','selenium-webdriver','uQTpg','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','getPlatformVersion','platformName','TEmir','kbZho','browserName','MhakL','latest','parse','qNzEo','--headless','__cloud_provider___','isMobileScanningEnabledForGroup','../../../helpers/accessibility-automation/helper','getBrowserVersion','accessibility','string','browserstack','PDLEK','warn','3079602lrDdoN','NGjTp','475496dvZhOJ','SNKpe','on\x20non-BrowserStack\x20infrastructure\x20','Stmhg','Oavya','bhrJt','bstack:options','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','WwMTU','4rviKUd','isAccessibilityPlatform','getBrowserDisplayName','isBrowserstackInfra','capability','3232371eCFqqw','ELVGf','uvyco','requireModule','fetchPlatformDetails','../../../helpers/helper','KMTfO','192981OgMCDO','ZAVFQ','util','7dlqfmY','accessibilityOptions','--headless=','env','\x20browser\x20version\x20','some','android','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','VDwYK','uLSPn','nAeCm','\x20or\x20higher\x20'];a30_0x55d2=function(){return _0x5246ab;};return a30_0x55d2();}exports['setAccessibilityCapabilities']=_0x1731c6=>{const _0xd1ec57=a30_0x30d50e,_0x5c66c7={};_0x5c66c7[_0xd1ec57(0x22c)]=function(_0x2e60fd,_0x4d2654){return _0x2e60fd>_0x4d2654;},_0x5c66c7[_0xd1ec57(0x1ec)]=function(_0x35c57c,_0x5cc5b6){return _0x35c57c>_0x5cc5b6;},_0x5c66c7['qNzEo']=_0xd1ec57(0x249),_0x5c66c7['ELVGf']='browserstack.accessibility',_0x5c66c7[_0xd1ec57(0x225)]=_0xd1ec57(0x24d),_0x5c66c7[_0xd1ec57(0x246)]='browserstack.accessibilityOptions';const _0x3ee8bc=_0x5c66c7;try{const _0x2857fb=_0x3ee8bc[_0xd1ec57(0x22c)](Object[_0xd1ec57(0x205)](_0x1731c6['capability'])[_0xd1ec57(0x215)],0x0)?_0x1731c6['capability']:_0x3ee8bc[_0xd1ec57(0x1ec)](Object['keys'](_0x1731c6[_0xd1ec57(0x206)])[_0xd1ec57(0x215)],0x0)?_0x1731c6[_0xd1ec57(0x206)][0x0]:{};if(_0x2857fb[_0x3ee8bc[_0xd1ec57(0x236)]]&&_0x2857fb[_0x3ee8bc[_0xd1ec57(0x236)]][_0xd1ec57(0x23c)]||_0x1731c6[_0xd1ec57(0x1e9)][_0x3ee8bc[_0xd1ec57(0x1eb)]]){globals['setGlobal'](_0x3ee8bc[_0xd1ec57(0x225)],!![]);if(_0x2857fb[_0x3ee8bc[_0xd1ec57(0x236)]]){if(_0x2857fb[_0x3ee8bc[_0xd1ec57(0x236)]][_0xd1ec57(0x1f5)])_0x2857fb[_0x3ee8bc[_0xd1ec57(0x236)]]['accessibilityOptions'][_0xd1ec57(0x21f)]=process[_0xd1ec57(0x1f7)][_0xd1ec57(0x211)];else{const _0xdf0cac={};_0xdf0cac['authToken']=process[_0xd1ec57(0x1f7)][_0xd1ec57(0x211)],_0x2857fb[_0x3ee8bc[_0xd1ec57(0x236)]]['accessibilityOptions']=_0xdf0cac;}_0x2857fb[_0x3ee8bc[_0xd1ec57(0x236)]][_0xd1ec57(0x1f5)][_0xd1ec57(0x204)]=JSON['parse'](process[_0xd1ec57(0x1f7)][_0xd1ec57(0x207)])[_0xd1ec57(0x204)];}else{if(_0x1731c6['capability'][_0x3ee8bc[_0xd1ec57(0x1eb)]]){if(_0x2857fb[_0x3ee8bc[_0xd1ec57(0x246)]])_0x2857fb[_0x3ee8bc['Stmhg']][_0xd1ec57(0x21f)]=process[_0xd1ec57(0x1f7)]['BS_A11Y_JWT'];else{const _0x30b168={};_0x30b168[_0xd1ec57(0x21f)]=process[_0xd1ec57(0x1f7)][_0xd1ec57(0x211)],_0x2857fb[_0x3ee8bc[_0xd1ec57(0x246)]]=_0x30b168;}_0x2857fb[_0x3ee8bc['Stmhg']][_0xd1ec57(0x204)]=JSON[_0xd1ec57(0x235)](process[_0xd1ec57(0x1f7)][_0xd1ec57(0x207)])[_0xd1ec57(0x204)];}}}}catch(_0xbdb754){logger[_0xd1ec57(0x20c)](_0xd1ec57(0x24a)+_0xbdb754);}},exports['setExtension']=(_0x29d9d1,_0x2fa56c)=>{const _0x5abbe6=a30_0x30d50e,_0x1a197c={};_0x1a197c[_0x5abbe6(0x1fe)]=_0x5abbe6(0x249),_0x1a197c[_0x5abbe6(0x228)]=function(_0x40ef8f,_0x5c3aa9){return _0x40ef8f!==_0x5c3aa9;},_0x1a197c[_0x5abbe6(0x244)]=function(_0x5d7a55,_0x12763a){return _0x5d7a55===_0x12763a;},_0x1a197c[_0x5abbe6(0x1f2)]=_0x5abbe6(0x1fa),_0x1a197c[_0x5abbe6(0x219)]=_0x5abbe6(0x209),_0x1a197c[_0x5abbe6(0x23f)]=_0x5abbe6(0x20f),_0x1a197c[_0x5abbe6(0x24b)]=_0x5abbe6(0x24d),_0x1a197c[_0x5abbe6(0x230)]='isMobilePlatform',_0x1a197c['pUUZX']=_0x5abbe6(0x222),_0x1a197c[_0x5abbe6(0x242)]='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers\x20or\x20Android\x20Chrome.',_0x1a197c[_0x5abbe6(0x233)]=_0x5abbe6(0x22d),_0x1a197c[_0x5abbe6(0x1fd)]=_0x5abbe6(0x234),_0x1a197c[_0x5abbe6(0x201)]=_0x5abbe6(0x245),_0x1a197c['VIplE']='selenium-webdriver/chrome.js',_0x1a197c[_0x5abbe6(0x1f0)]=_0x5abbe6(0x22b),_0x1a197c[_0x5abbe6(0x247)]='options_',_0x1a197c['KbuzG']=_0x5abbe6(0x223),_0x1a197c[_0x5abbe6(0x248)]='chromeOptions',_0x1a197c[_0x5abbe6(0x231)]=_0x5abbe6(0x212),_0x1a197c['VDwYK']=_0x5abbe6(0x1fb);const _0x1352cb=_0x1a197c;try{const _0x530271=_0x2fa56c[_0x5abbe6(0x1e9)]||{},_0x145e16=(_0x530271[_0x1352cb['nAeCm']]?_0x530271[_0x1352cb[_0x5abbe6(0x1fe)]]['deviceName']:_0x530271['device'])||'';if(_0x1352cb['JJLeg'](_0x145e16,'')){const _0x46c693=(_0x530271[_0x1352cb[_0x5abbe6(0x1fe)]]?_0x530271[_0x1352cb['nAeCm']][_0x5abbe6(0x22f)]:_0x530271[_0x5abbe6(0x22f)])||'',_0x502a5a=_0x530271[_0x5abbe6(0x232)]||_0x29d9d1[_0x5abbe6(0x20b)][_0x5abbe6(0x202)]()||'';if(_0x1352cb[_0x5abbe6(0x244)](_0x46c693['toLowerCase'](),_0x1352cb[_0x5abbe6(0x1f2)])&&_0x502a5a['toLowerCase']()['includes'](_0x1352cb[_0x5abbe6(0x219)])){const _0x111e82=_0x1352cb[_0x5abbe6(0x23f)]['split']('|');let _0x54ed88=0x0;while(!![]){switch(_0x111e82[_0x54ed88++]){case'0':globals[_0x5abbe6(0x203)](_0x1352cb['WwMTU'],!![]);continue;case'1':if(!accessibilityHelper[_0x5abbe6(0x239)]())return logger['warn'](accessibilityHelper[_0x5abbe6(0x221)]),![];continue;case'2':globals[_0x5abbe6(0x203)](_0x1352cb['TEmir'],!![]);continue;case'3':return!![];case'4':logger[_0x5abbe6(0x20e)](_0x1352cb[_0x5abbe6(0x20a)]);continue;}break;}}return logger[_0x5abbe6(0x240)](_0x1352cb[_0x5abbe6(0x242)]),![];}const _0x5a3c78=_0x530271[_0x5abbe6(0x232)]||_0x29d9d1[_0x5abbe6(0x20b)][_0x5abbe6(0x202)](),_0x373693=_0x530271[_0x5abbe6(0x220)]||_0x530271[_0x5abbe6(0x208)]||_0x29d9d1['capabilities_'][_0x5abbe6(0x23b)]();if(!accessibilityHelper[_0x5abbe6(0x21d)](_0x5a3c78))return logger[_0x5abbe6(0x240)](_0x1352cb[_0x5abbe6(0x233)]),![];if(!bsSetupHelper[_0x5abbe6(0x200)](_0x373693)&&_0x1352cb[_0x5abbe6(0x228)](_0x373693,_0x1352cb[_0x5abbe6(0x1fd)])){const _0x2d4510=bsSetupHelper[_0x5abbe6(0x1e8)](),_0x5c8efd=accessibilityHelper[_0x5abbe6(0x218)](_0x5a3c78,_0x2d4510),_0xcc0bf0=accessibilityHelper[_0x5abbe6(0x24e)](_0x5a3c78);if(!accessibilityHelper['isVersionSupported'](_0x373693,_0x5c8efd)){const _0xdaa85f=_0x2d4510?'':_0x1352cb[_0x5abbe6(0x201)];return logger[_0x5abbe6(0x240)](_0x5abbe6(0x227)+_0xcc0bf0+_0x5abbe6(0x1f8)+_0x5c8efd+_0x5abbe6(0x1ff)+_0xdaa85f+'.'),![];}}if(!accessibilityHelper[_0x5abbe6(0x20d)](_0x5a3c78))return!![];let _0x15e4bf;try{_0x15e4bf=bsSetupHelper[_0x5abbe6(0x1ed)](_0x1352cb['VIplE'],_0x1352cb[_0x5abbe6(0x1f0)]);}catch(_0x390198){return![];}const _0x4d1f29=new _0x15e4bf['Options'](_0x29d9d1[_0x5abbe6(0x224)]),_0x232852=bsSetupHelper[_0x5abbe6(0x21b)](_0x4d1f29,[_0x1352cb[_0x5abbe6(0x247)],_0x1352cb['KbuzG']])||bsSetupHelper[_0x5abbe6(0x21b)](_0x29d9d1[_0x5abbe6(0x20b)][_0x5abbe6(0x210)](_0x1352cb[_0x5abbe6(0x1fe)]),[_0x1352cb[_0x5abbe6(0x248)],_0x1352cb[_0x5abbe6(0x214)]])||bsSetupHelper[_0x5abbe6(0x21b)](_0x29d9d1[_0x5abbe6(0x20b)][_0x5abbe6(0x210)](_0x1352cb[_0x5abbe6(0x248)]),[_0x1352cb['KbuzG']])||bsSetupHelper['nestedKeyValue'](_0x29d9d1[_0x5abbe6(0x20b)][_0x5abbe6(0x210)](_0x1352cb[_0x5abbe6(0x231)]),[_0x1352cb[_0x5abbe6(0x214)]])||[],_0x148427=Array['isArray'](_0x232852)?_0x232852:[];if(_0x148427[_0x5abbe6(0x1f9)](_0x44fb17=>typeof _0x44fb17===_0x5abbe6(0x23d)&&(_0x44fb17===_0x5abbe6(0x237)||_0x44fb17['startsWith'](_0x5abbe6(0x1f6))&&_0x44fb17!==_0x5abbe6(0x216))))return logger[_0x5abbe6(0x240)](_0x1352cb[_0x5abbe6(0x1fc)]),![];return!![];}catch(_0x1e55ba){logger[_0x5abbe6(0x20c)]('Exception\x20in\x20setExtension\x20Error:\x20'+util['format'](_0x1e55ba));}return![];},exports[a30_0x30d50e(0x1ee)]=async _0x48e975=>{const _0x230519=a30_0x30d50e,_0x7bc0f6={};_0x7bc0f6[_0x230519(0x21a)]=function(_0x391378,_0x188a4f){return _0x391378===_0x188a4f;},_0x7bc0f6['WEycp']=_0x230519(0x23e);const _0x36fecd=_0x7bc0f6;let _0x182b35={};try{const _0x50ef9a=await _0x48e975[_0x230519(0x21e)]();_0x182b35={'os_name':_0x50ef9a['getPlatform'](),'os_version':bsSetupHelper[_0x230519(0x22e)](_0x36fecd['KIsZH'](global[_0x230519(0x238)],_0x36fecd[_0x230519(0x213)])),'browser_name':_0x50ef9a['getBrowserName'](),'browser_version':_0x50ef9a[_0x230519(0x23b)]()};}catch(_0x5edbca){logger[_0x230519(0x20c)]('Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20'+_0x5edbca);}return _0x182b35;};
1
+ const a30_0x42392c=a30_0x15ed;(function(_0x3b74cb,_0x2c8791){const _0x37b925=a30_0x15ed,_0x245929=_0x3b74cb();while(!![]){try{const _0x2cdda2=parseInt(_0x37b925(0x157))/0x1+parseInt(_0x37b925(0x15c))/0x2+-parseInt(_0x37b925(0x11c))/0x3*(-parseInt(_0x37b925(0x10d))/0x4)+parseInt(_0x37b925(0x119))/0x5+-parseInt(_0x37b925(0x100))/0x6+-parseInt(_0x37b925(0x11a))/0x7+parseInt(_0x37b925(0x117))/0x8*(-parseInt(_0x37b925(0x133))/0x9);if(_0x2cdda2===_0x2c8791)break;else _0x245929['push'](_0x245929['shift']());}catch(_0x3e4160){_0x245929['push'](_0x245929['shift']());}}}(a30_0x1258,0x717ab));const path=require('path'),os=require('os'),util=require('util'),bsSetupHelper=require('../../../helpers/helper'),globals=require(a30_0x42392c(0x13f)),accessibilityHelper=require('../../../helpers/accessibility-automation/helper'),logger=require(a30_0x42392c(0x13c))['winstonLogger'];function a30_0x15ed(_0x58703a,_0x1f1ef7){const _0x125895=a30_0x1258();return a30_0x15ed=function(_0x15edfb,_0x4229e4){_0x15edfb=_0x15edfb-0xfa;let _0x55ee3f=_0x125895[_0x15edfb];return _0x55ee3f;},a30_0x15ed(_0x58703a,_0x1f1ef7);}exports[a30_0x42392c(0x112)]=_0x1b7e5c=>{const _0x488e1c=a30_0x42392c,_0x675d6={};_0x675d6['whfim']=function(_0x2bfd5c,_0x5dd003){return _0x2bfd5c>_0x5dd003;},_0x675d6[_0x488e1c(0x148)]=_0x488e1c(0x147),_0x675d6[_0x488e1c(0x131)]=_0x488e1c(0x10e),_0x675d6[_0x488e1c(0x158)]=_0x488e1c(0x122),_0x675d6[_0x488e1c(0x13a)]=_0x488e1c(0x154);const _0x54e4e0=_0x675d6;try{const _0x1280ed=_0x54e4e0[_0x488e1c(0x11e)](Object[_0x488e1c(0x14b)](_0x1b7e5c[_0x488e1c(0x156)])['length'],0x0)?_0x1b7e5c['capability']:_0x54e4e0[_0x488e1c(0x11e)](Object[_0x488e1c(0x14b)](_0x1b7e5c[_0x488e1c(0x142)])['length'],0x0)?_0x1b7e5c[_0x488e1c(0x142)][0x0]:{};if(_0x1280ed[_0x54e4e0['Levlb']]&&_0x1280ed[_0x54e4e0['Levlb']][_0x488e1c(0x134)]||_0x1b7e5c['capability'][_0x54e4e0[_0x488e1c(0x131)]]){globals[_0x488e1c(0x127)](_0x54e4e0['tyCpZ'],!![]);if(_0x1280ed[_0x54e4e0['Levlb']]){if(_0x1280ed[_0x54e4e0[_0x488e1c(0x148)]][_0x488e1c(0x11d)])_0x1280ed[_0x54e4e0[_0x488e1c(0x148)]][_0x488e1c(0x11d)][_0x488e1c(0x129)]=process[_0x488e1c(0x108)][_0x488e1c(0x105)];else{const _0x19c8c8={};_0x19c8c8[_0x488e1c(0x129)]=process[_0x488e1c(0x108)][_0x488e1c(0x105)],_0x1280ed[_0x54e4e0[_0x488e1c(0x148)]][_0x488e1c(0x11d)]=_0x19c8c8;}_0x1280ed[_0x54e4e0['Levlb']]['accessibilityOptions'][_0x488e1c(0x136)]=JSON['parse'](process[_0x488e1c(0x108)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x488e1c(0x136)];}else{if(_0x1b7e5c['capability'][_0x54e4e0[_0x488e1c(0x131)]]){if(_0x1280ed[_0x54e4e0[_0x488e1c(0x13a)]])_0x1280ed[_0x54e4e0['RYNMB']][_0x488e1c(0x129)]=process[_0x488e1c(0x108)][_0x488e1c(0x105)];else{const _0x2582c2={};_0x2582c2[_0x488e1c(0x129)]=process[_0x488e1c(0x108)][_0x488e1c(0x105)],_0x1280ed[_0x54e4e0[_0x488e1c(0x13a)]]=_0x2582c2;}_0x1280ed[_0x54e4e0[_0x488e1c(0x13a)]][_0x488e1c(0x136)]=JSON[_0x488e1c(0x139)](process[_0x488e1c(0x108)][_0x488e1c(0x113)])[_0x488e1c(0x136)];}}}}catch(_0x966c6c){logger[_0x488e1c(0x11b)](_0x488e1c(0x132)+_0x966c6c);}},exports['setExtension']=(_0x118a09,_0x30e82e)=>{const _0x344e52=a30_0x42392c,_0x35ac28={};_0x35ac28[_0x344e52(0xff)]='bstack:options',_0x35ac28[_0x344e52(0x14e)]=function(_0xc55fc8,_0x14405b){return _0xc55fc8!==_0x14405b;},_0x35ac28['UyXHd']=function(_0x5c7903,_0x26628c){return _0x5c7903===_0x26628c;},_0x35ac28[_0x344e52(0x102)]=_0x344e52(0x120),_0x35ac28[_0x344e52(0x124)]=_0x344e52(0x128),_0x35ac28[_0x344e52(0x110)]='3|2|1|0|4',_0x35ac28[_0x344e52(0xfb)]=_0x344e52(0x12c),_0x35ac28[_0x344e52(0x106)]='isAccessibilityPlatform',_0x35ac28['ChGpB']='Accessibility\x20Automation\x20is\x20enabled\x20for\x20Android\x20mobile\x20browser\x20(Chrome).\x20Skipping\x20extension\x20setup.',_0x35ac28[_0x344e52(0x13d)]=_0x344e52(0x15b),_0x35ac28[_0x344e52(0x137)]=_0x344e52(0x101),_0x35ac28[_0x344e52(0x10b)]=function(_0x4a1f0e,_0x4cee40){return _0x4a1f0e!==_0x4cee40;},_0x35ac28[_0x344e52(0x14c)]='latest',_0x35ac28[_0x344e52(0x111)]=_0x344e52(0x151),_0x35ac28[_0x344e52(0x104)]=_0x344e52(0x14a),_0x35ac28[_0x344e52(0x12b)]='selenium-webdriver',_0x35ac28[_0x344e52(0x15d)]='options_',_0x35ac28['AUlcn']=_0x344e52(0x10a),_0x35ac28[_0x344e52(0xfa)]=_0x344e52(0x12a),_0x35ac28[_0x344e52(0x107)]='goog:chromeOptions',_0x35ac28[_0x344e52(0x12d)]=_0x344e52(0x144);const _0x25bdc9=_0x35ac28;try{const _0x2c03e7=_0x30e82e[_0x344e52(0x156)]||{},_0x2b0b46=(_0x2c03e7[_0x25bdc9[_0x344e52(0xff)]]?_0x2c03e7[_0x25bdc9[_0x344e52(0xff)]]['deviceName']:_0x2c03e7[_0x344e52(0x118)])||'';if(_0x25bdc9[_0x344e52(0x14e)](_0x2b0b46,'')){const _0x375a56=(_0x2c03e7[_0x25bdc9[_0x344e52(0xff)]]?_0x2c03e7[_0x25bdc9[_0x344e52(0xff)]]['platformName']:_0x2c03e7[_0x344e52(0xfe)])||'',_0x85509e=_0x2c03e7[_0x344e52(0x126)]||_0x118a09[_0x344e52(0x123)]['getBrowserName']()||'';if(_0x25bdc9[_0x344e52(0x145)](_0x375a56[_0x344e52(0x15a)](),_0x25bdc9[_0x344e52(0x102)])&&_0x85509e[_0x344e52(0x15a)]()[_0x344e52(0x103)](_0x25bdc9['kvpST'])){const _0x18d860=_0x25bdc9[_0x344e52(0x110)]['split']('|');let _0xf4c9de=0x0;while(!![]){switch(_0x18d860[_0xf4c9de++]){case'0':globals[_0x344e52(0x127)](_0x25bdc9[_0x344e52(0xfb)],!![]);continue;case'1':globals[_0x344e52(0x127)](_0x25bdc9[_0x344e52(0x106)],!![]);continue;case'2':logger[_0x344e52(0x135)](_0x25bdc9['ChGpB']);continue;case'3':if(!accessibilityHelper['isMobileScanningEnabledForGroup']())return logger[_0x344e52(0xfc)](accessibilityHelper['MOBILE_SCANNING_DISABLED_WARNING']),![];continue;case'4':return!![];}break;}}return logger['warn'](_0x25bdc9[_0x344e52(0x13d)]),![];}const _0x4a5f21=_0x2c03e7[_0x344e52(0x126)]||_0x118a09[_0x344e52(0x123)][_0x344e52(0x14f)](),_0x349396=_0x2c03e7['browserVersion']||_0x2c03e7['browser_version']||_0x118a09[_0x344e52(0x123)][_0x344e52(0x159)]();if(!accessibilityHelper[_0x344e52(0x140)](_0x4a5f21))return logger[_0x344e52(0xfc)](_0x25bdc9['pWVNu']),![];if(!bsSetupHelper[_0x344e52(0x149)](_0x349396)&&_0x25bdc9[_0x344e52(0x10b)](_0x349396,_0x25bdc9[_0x344e52(0x14c)])){const _0x1ee685=bsSetupHelper[_0x344e52(0x152)](),_0x2caa85=accessibilityHelper[_0x344e52(0x125)](_0x4a5f21,_0x1ee685),_0x5023f5=accessibilityHelper[_0x344e52(0x109)](_0x4a5f21);if(!accessibilityHelper[_0x344e52(0x155)](_0x349396,_0x2caa85)){const _0x92b402=_0x1ee685?'':_0x25bdc9['wvXNw'];return logger[_0x344e52(0xfc)](_0x344e52(0x13e)+_0x5023f5+_0x344e52(0x114)+_0x2caa85+_0x344e52(0x150)+_0x92b402+'.'),![];}}if(!accessibilityHelper[_0x344e52(0x138)](_0x4a5f21))return!![];let _0x4c63bd;try{_0x4c63bd=bsSetupHelper[_0x344e52(0x10f)](_0x25bdc9[_0x344e52(0x104)],_0x25bdc9[_0x344e52(0x12b)]);}catch(_0x108711){return![];}const _0x92e971=new _0x4c63bd[(_0x344e52(0x141))](_0x118a09['chromeOptions_']),_0x20b921=bsSetupHelper[_0x344e52(0x13b)](_0x92e971,[_0x25bdc9['iucju'],_0x25bdc9[_0x344e52(0x10c)]])||bsSetupHelper['nestedKeyValue'](_0x118a09[_0x344e52(0x123)]['get'](_0x25bdc9[_0x344e52(0xff)]),[_0x25bdc9[_0x344e52(0xfa)],_0x25bdc9[_0x344e52(0x10c)]])||bsSetupHelper[_0x344e52(0x13b)](_0x118a09[_0x344e52(0x123)][_0x344e52(0x153)](_0x25bdc9['Qdnrj']),[_0x25bdc9['AUlcn']])||bsSetupHelper[_0x344e52(0x13b)](_0x118a09[_0x344e52(0x123)][_0x344e52(0x153)](_0x25bdc9['qStPh']),[_0x25bdc9[_0x344e52(0x10c)]])||[],_0x2cb8c3=Array[_0x344e52(0x116)](_0x20b921)?_0x20b921:[];if(_0x2cb8c3['some'](_0x443a33=>typeof _0x443a33==='string'&&(_0x443a33==='--headless'||_0x443a33[_0x344e52(0x11f)](_0x344e52(0x12e))&&_0x443a33!==_0x344e52(0x143))))return logger[_0x344e52(0xfc)](_0x25bdc9['wcZNn']),![];return!![];}catch(_0x28f730){logger[_0x344e52(0x11b)](_0x344e52(0xfd)+util[_0x344e52(0x115)](_0x28f730));}return![];},exports[a30_0x42392c(0x130)]=async _0x16621d=>{const _0x5a6f92=a30_0x42392c,_0x5cc2b2={};_0x5cc2b2[_0x5a6f92(0x121)]=function(_0x1bee6f,_0x199c71){return _0x1bee6f===_0x199c71;},_0x5cc2b2['wqXeH']=_0x5a6f92(0x146);const _0x3ce5d8=_0x5cc2b2;let _0x478480={};try{const _0x4c1adb=await _0x16621d[_0x5a6f92(0x14d)]();_0x478480={'os_name':_0x4c1adb['getPlatform'](),'os_version':bsSetupHelper[_0x5a6f92(0x12f)](_0x3ce5d8[_0x5a6f92(0x121)](global['__cloud_provider___'],_0x3ce5d8[_0x5a6f92(0x15e)])),'browser_name':_0x4c1adb[_0x5a6f92(0x14f)](),'browser_version':_0x4c1adb[_0x5a6f92(0x159)]()};}catch(_0x1931bd){logger[_0x5a6f92(0x11b)]('Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20'+_0x1931bd);}return _0x478480;};function a30_0x1258(){const _0x437c21=['qEyFM','getCapabilities','hJNEc','getBrowserName','\x20or\x20higher\x20','on\x20non-BrowserStack\x20infrastructure\x20','isBrowserstackInfra','get','browserstack.accessibilityOptions','isVersionSupported','capability','420601GFUMXf','tyCpZ','getBrowserVersion','toLowerCase','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers\x20or\x20Android\x20Chrome.','198554KJVSjV','iucju','wqXeH','Qdnrj','DbPkl','warn','Exception\x20in\x20setExtension\x20Error:\x20','platformName','ArvjG','1647996plmROG','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','UbNxa','includes','CWujV','BS_A11Y_JWT','yrVid','qStPh','env','getBrowserDisplayName','args','pouuO','AUlcn','1448ZbXOrA','browserstack.accessibility','requireModule','fuwNX','wvXNw','setAccessibilityCapabilities','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','\x20browser\x20version\x20','format','isArray','241872ebsNPO','device','3835790FYcXgl','6459061ifYCNI','debug','4863bHXbLS','accessibilityOptions','whfim','startsWith','android','jtLtW','isAccessibilityPlatform','capabilities_','kvpST','getMinVersionForBrowser','browserName','setGlobal','chrome','authToken','chromeOptions','SKiRr','isMobilePlatform','wcZNn','--headless=','getPlatformVersion','fetchPlatformDetails','iTwCb','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','63PcLUrr','accessibility','info','scannerVersion','pWVNu','requiresChromeOptionsValidation','parse','RYNMB','nestedKeyValue','../../../helpers/logger','pzLdM','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','../../../helpers/globals','isBrowserSupportedForAccessibility','Options','capabilities','--headless=new','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','UyXHd','browserstack','bstack:options','Levlb','isUndefined','selenium-webdriver/chrome.js','keys'];a30_0x1258=function(){return _0x437c21;};return a30_0x1258();}
@@ -1 +1 @@
1
- 'use strict';function a31_0x17bc(){const _0x1efc0e=['increaseIndent','../../../helpers/testhub/utils','TestRunSkipped','originalTitle','LgBhN','</dl>','pid','setCurrentTestData','bpIzA','</section>','reporterOptions','includes','675YsEvmO','../test-observability/mochaUtils','TestRunFinished','QOYMt','error','omcAj','kCfIi','24432OpIowW','bang','AFTER_ALL','_indents','vCObl','mocha/lib/reporters/','GyWDm','_paths','144OzUfFE','ULnXA','AtoEc','finalResults','VRgVI','IOFPE','hook_type','YTGya','getTime','removeAllListeners','mocha','bs:addPlatformDetails:','retryOf','COMPLETED','kebBR','\x20\x20<dt>','after\x20each','xSswS','qXsiq','color','docAppend','wJagQ','result','suite','XdYwc','AVaeg','\x20with\x20error\x20:\x20','pending','VBiUn','LmotV','znilS','HookRunStarted','bfuph','SUmsF','aScLI','QJaEA','tEWYd','QWwkL','config','\x20\x20<dd\x20class=\x22error\x22>','integrations','toString','Failed\x20to\x20load\x20reporter\x20','path','guSpG','suites','../../../helpers/metadata','FJSjV','event_type','WJwpb','HmULQ','length','finished_at','__indents','ppyrA','test_run','speed','70506LGcRwY','\x20(%dms)','winstonLogger','util','gOAAF','match','55xxuBNV','NtZRQ','lcnc','forEach','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','_buildCreated','fqYoI','GIKYu','write','appendTesthubParams','262090qxXIRN','scopes','results','now','SujcW','HookRunFinished','DSJwG','slow','fYFVg','FgYrH','Nemxr','nDQwC','22312SRMigy','current_hook','EnXzm','testRunUUID','getRootParentFile','../../../helpers/test-observability/constants','fail','\x20\x20<dt\x20class=\x22error\x22>','test_run_uuid','MyGHa','toISOString','jMmkS','dcFmc','../../utils/constants','.js','<dl>','.git','appendTestItemLog','2065236LPEiHF','../../../helpers/test-observability/sessionHandler','hTtpY','docHtml','AORFx','title','qJmhu','done','iBrLT','RGome','once','TEST_REPORTING_ANALYTICS','HookStarted','RUNNING','setGlobal','multiple','YobRu','../../../helpers/helper','root','Reporter','indent','HcjyR','bright\x20yellow','scope','AssertionError','../../../helpers/test-observability/utils','reporterOption','uDFNe','fQvhs','passed','duration','bsConfig','statSync','onIvc','join','../../../helpers/globals','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','skipped','_testResults','dirname','get','TestRunStarted','sendTestRunEvent','mocha/lib/reporters/base.js','failure_reason_expanded','BEFORE_ALL','ctx','prototype','LogCreated','failure','SGdCo','\x20-\x20','file','exports','green','consoleLog','hook_run_uuid','QqxpD','TlVNz','UnhandledError','PQRHC','slice','__workerDetails','KSavI','nzOal','currentRetry','BbVGR','QDQZr','dot','%s\x20','assign','before\x20all','testAnalyticsId','before\x20each','doc','apply','AaHBw','Runner','escape','current_test','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','trim','fajDF','testStarted','nhWiz','PxtuC','xunit','wUVdd','../../../helpers/testhub/constants','MhUUo','light','bs:addLog:','failure_backtrace','failureCount','bpJWo','parent','</code></pre></dd>','1752sihWXr','dpcUH','bind','pmPXz','pass','File\x20path\x20could\x20not\x20be\x20found','CGayi','LdPGL','runner','LSrbJ','currentTest','ApTjM','ALYmh','FaoTS','uploadEventData','<section\x20class=\x22suite\x22>','HookFinished','gbUmB','hookAnalyticsId','body','started_at','fullTitle','state','appendTestPlatform','markedStatus','symbols','type','failCount','4186140vmTqSj','stdout','findGitConfig','spec','HhgYg','yIrvx','_currentRetry','split','ZszAG','hdRPA','TTYaM','err','NqUtL','HrJop','ykihH','HkHhD','jldiN','backtrace','Exception\x20in\x20browserstack\x20custome\x20reporter\x20with\x20error:\x20','shouldProcessEventForTesthub','constants','laHTI','redirectUrl','anKRA','BEFORE_EACH','../../../helpers/test-observability/requestQueueHandler','iGyoP','thTestRunUuid','aUQSB','oyuAk','decreaseIndent','cwd','23YHLOqT','responseCode','expanded','name','CBTSessionCreated','EVENT','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','PnYSo','hooks','uuid','\x20\x20<dd\x20class=\x22error\x22><pre><code>','registerListeners','__platform__','\x20\x20%d)\x20%s','xncPl','../../../helpers/logger','push','MOCHA','http_response','hook_run','</dd>','clean','analyticsResult','titlePath','%s\x20-\x20%s','9920hMIALN','ztHNa','RNnYr','call','vxKvb','getInstance','</dt>','checkmark','ZdBwH','failed','mocha/lib/runnable.js','uWmFw','WNKFn','nPGuS','qweFR'];a31_0x17bc=function(){return _0x1efc0e;};return a31_0x17bc();}const a31_0x2d8c8e=a31_0x5177;(function(_0x45476d,_0x138e56){const _0x30aab7=a31_0x5177,_0x32d2a8=_0x45476d();while(!![]){try{const _0x2d51ce=parseInt(_0x30aab7(0x28e))/0x1*(-parseInt(_0x30aab7(0x30a))/0x2)+-parseInt(_0x30aab7(0x2d1))/0x3*(parseInt(_0x30aab7(0x2c9))/0x4)+parseInt(_0x30aab7(0x2a7))/0x5*(parseInt(_0x30aab7(0x252))/0x6)+parseInt(_0x30aab7(0x26e))/0x7+-parseInt(_0x30aab7(0x326))/0x8*(parseInt(_0x30aab7(0x2c2))/0x9)+-parseInt(_0x30aab7(0x31a))/0xa+-parseInt(_0x30aab7(0x310))/0xb*(-parseInt(_0x30aab7(0x338))/0xc);if(_0x2d51ce===_0x138e56)break;else _0x32d2a8['push'](_0x32d2a8['shift']());}catch(_0xdbc254){_0x32d2a8['push'](_0x32d2a8['shift']());}}}(a31_0x17bc,0xaa86c));function a31_0x5177(_0x1df64c,_0x1b8aa2){const _0x17bc87=a31_0x17bc();return a31_0x5177=function(_0x517720,_0x4e05b9){_0x517720=_0x517720-0x1f3;let _0x382b56=_0x17bc87[_0x517720];return _0x382b56;},a31_0x5177(_0x1df64c,_0x1b8aa2);}const util=require(a31_0x2d8c8e(0x30d)),fs=require('fs'),path=require(a31_0x2d8c8e(0x2fc)),{requireModule,getCentralUser}=require(a31_0x2d8c8e(0x202)),Base=requireModule(a31_0x2d8c8e(0x21c),'mocha'),utils=requireModule('mocha/lib/utils.js',a31_0x2d8c8e(0x2db)),color=Base[a31_0x2d8c8e(0x2e4)],Mocha=requireModule(a31_0x2d8c8e(0x2db)),Runnable=requireModule(a31_0x2d8c8e(0x2b1),a31_0x2d8c8e(0x2db)),{v4:uuidv4}=require(a31_0x2d8c8e(0x297)),bsSetupHelper=require('../../../helpers/helper'),testhubUtils=require(a31_0x2d8c8e(0x2b7)),centralScannerUtils=require('../../../helpers/central-scanner/helpers'),testHubConstants=require(a31_0x2d8c8e(0x249)),{FRAMEWORKS}=require(a31_0x2d8c8e(0x32b)),globals=require(a31_0x2d8c8e(0x214)),logger=require(a31_0x2d8c8e(0x29d))[a31_0x2d8c8e(0x30c)],TestMetadata=require(a31_0x2d8c8e(0x2ff)),a31_0x4500b6={};a31_0x4500b6[a31_0x2d8c8e(0x238)]=a31_0x2d8c8e(0x21e),a31_0x4500b6['after\x20all']=a31_0x2d8c8e(0x2cb),a31_0x4500b6[a31_0x2d8c8e(0x23a)]=a31_0x2d8c8e(0x286),a31_0x4500b6[a31_0x2d8c8e(0x2e1)]='AFTER_EACH';const HOOK_TYPES_MAP=a31_0x4500b6,{EVENT_RUN_END,EVENT_TEST_BEGIN,EVENT_TEST_END,EVENT_TEST_PENDING,EVENT_RUN_BEGIN,EVENT_TEST_FAIL,EVENT_TEST_PASS,EVENT_SUITE_BEGIN,EVENT_SUITE_END,EVENT_HOOK_BEGIN,EVENT_HOOK_END}=Mocha[a31_0x2d8c8e(0x23e)]['constants'],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a31_0x2d8c8e(0x282)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a31_0x2d8c8e(0x2c3)),{consoleHolder}=require(a31_0x2d8c8e(0x32b)),SessionHandler=require(a31_0x2d8c8e(0x339)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a31_0x2d8c8e(0x20a)),RequestQueueHandler=require(a31_0x2d8c8e(0x287)),constants=require(a31_0x2d8c8e(0x333)),requestQueueHandler=RequestQueueHandler[a31_0x2d8c8e(0x2ac)]();class MyReporter{constructor(_0x2d1ede,_0x55051d){const _0x3d2910=a31_0x2d8c8e,_0x740780={'fajDF':function(_0x551b24,_0x222bdf){return _0x551b24===_0x222bdf;},'IOFPE':_0x3d2910(0x271),'wUVdd':function(_0x219839,_0x1bd1b6){return _0x219839+_0x1bd1b6;},'fqYoI':function(_0x4cd743,_0x43a715){return _0x4cd743+_0x43a715;},'fYFVg':function(_0x58a0fb,_0x17c512,_0x372b91){return _0x58a0fb(_0x17c512,_0x372b91);},'VBiUn':_0x3d2910(0x227),'xSswS':_0x3d2910(0x236),'SUmsF':_0x3d2910(0x24b),'LSrbJ':_0x3d2910(0x2a6),'nhWiz':_0x3d2910(0x1fe),'SujcW':_0x3d2910(0x23b),'tEWYd':function(_0x245a77,_0x57d59d){return _0x245a77===_0x57d59d;},'yIrvx':function(_0x45c782){return _0x45c782();},'LgBhN':function(_0x3ca916){return _0x3ca916();},'HcjyR':_0x3d2910(0x2f0),'HkHhD':_0x3d2910(0x31f),'QJaEA':function(_0x5760e6,_0xf2bc77){return _0x5760e6===_0xf2bc77;},'oyuAk':_0x3d2910(0x20e),'onIvc':'fast','bpJWo':function(_0x3a3db5,_0x534d3d){return _0x3a3db5+_0x534d3d;},'fQvhs':_0x3d2910(0x2ae),'xncPl':_0x3d2910(0x256),'HgCiM':'\x20%s','MQjtT':function(_0x506584,_0x1b0aff,_0x10233c){return _0x506584(_0x1b0aff,_0x10233c);},'jdRPN':_0x3d2910(0x30b),'kCfIi':function(_0x14282d,_0x1d78ca){return _0x14282d+_0x1d78ca;},'HmULQ':_0x3d2910(0x32c),'LmotV':_0x3d2910(0x29b),'NqUtL':function(_0x18a646,_0xd436d3,_0x925eab){return _0x18a646(_0xd436d3,_0x925eab);},'Nemxr':_0x3d2910(0x207),'SGdCo':_0x3d2910(0x2de),'hdRPA':function(_0x5ae246,_0x14d1e2){return _0x5ae246===_0x14d1e2;},'RGome':_0x3d2910(0x235),'uDFNe':function(_0x203268,_0x5a8451){return _0x203268===_0x5a8451;},'QOYMt':_0x3d2910(0x321),'FeNLG':function(_0x39fd3b,_0x12a7dc){return _0x39fd3b===_0x12a7dc;},'QOLFN':function(_0x43e1b3,_0x5c6d88){return _0x43e1b3===_0x5c6d88;},'qXsiq':function(_0x5d7012,_0x5616a9){return _0x5d7012===_0x5616a9;},'gUArj':'1|0|4|2|3','GyWDm':function(_0x3d44a7,_0x37aa5a){return _0x3d44a7===_0x37aa5a;},'LdPGL':function(_0x2ddd80,_0x49f5a9){return _0x2ddd80===_0x49f5a9;},'aUQSB':_0x3d2910(0x2ec),'QqxpD':'TestRunSkipped','AORFx':function(_0x5ad4b0,_0x2be61b){return _0x5ad4b0===_0x2be61b;},'WJwpb':function(_0xb352be,_0x54a014){return _0xb352be(_0x54a014);},'CGayi':function(_0x3b4245){return _0x3b4245();},'QLBCs':function(_0x35985f,_0xdd128){return _0x35985f(_0xdd128);},'xpfcS':function(_0x35d868,_0x26bfdf){return _0x35d868===_0x26bfdf;},'hTtpY':function(_0x3ba969){return _0x3ba969();},'iGyoP':function(_0x3ed67e,_0x236a1a){return _0x3ed67e===_0x236a1a;},'ppyrA':_0x3d2910(0x247),'kebBR':_0x3d2910(0x2db),'wTYZf':function(_0x4ebbf7,_0x4ff8ed){return _0x4ebbf7(_0x4ff8ed);},'bfuph':function(_0x44b161,_0x20642d){return _0x44b161(_0x20642d);},'omcAj':function(_0x4caa51,_0x1704ec){return _0x4caa51!==_0x1704ec;}};this[_0x3d2910(0x26c)]=_0x55051d[_0x3d2910(0x20b)][_0x3d2910(0x26c)],this['testObservability']=_0x740780[_0x3d2910(0x273)](isTestObservabilitySession),Base[_0x3d2910(0x2aa)](this,_0x2d1ede,_0x55051d),this[_0x3d2910(0x2cc)]=0x0,this['failCount']=0x0,this[_0x3d2910(0x31c)]=[],this[_0x3d2910(0x2d4)]=[],this['suiteCount']=0x0,this[_0x3d2910(0x315)]=![],this['_testResults']=[],this['_testEnv']=_0x740780[_0x3d2910(0x1f3)](getTestEnv),this[_0x3d2910(0x2d0)]=new PathHelper({'cwd':process[_0x3d2910(0x28d)]()},this['_testEnv']['location_prefix']),this['_upstreamConfig']=_0x55051d[_0x3d2910(0x20b)][_0x3d2910(0x210)],this[_0x3d2910(0x299)]();_0x740780[_0x3d2910(0x288)](this['type'],_0x740780[_0x3d2910(0x31e)])&&(this[_0x3d2910(0x1f4)]='',this[_0x3d2910(0x306)]=0x2);_0x2d1ede['once'](EVENT_RUN_BEGIN,async()=>{const _0x3f3c32=_0x3d2910;_0x740780[_0x3f3c32(0x243)](this[_0x3f3c32(0x26c)],_0x740780[_0x3f3c32(0x2d6)])&&Base['consoleLog']();})['on'](EVENT_SUITE_BEGIN,_0x1728e9=>{const _0x9c2e43=_0x3d2910;if(_0x1728e9[_0x9c2e43(0x203)])return;if(_0x740780[_0x9c2e43(0x243)](this['type'],_0x740780[_0x9c2e43(0x2d6)]))this[_0x9c2e43(0x2b6)](),Base['consoleLog'](_0x740780['wUVdd'](_0x740780[_0x9c2e43(0x316)](this[_0x9c2e43(0x205)](),_0x740780[_0x9c2e43(0x322)](color,_0x740780[_0x9c2e43(0x2ed)],_0x740780[_0x9c2e43(0x2e2)])),_0x740780['fYFVg'](color,_0x740780[_0x9c2e43(0x2f2)],_0x740780[_0x9c2e43(0x25b)])),_0x740780[_0x9c2e43(0x245)],_0x1728e9['title'],global[_0x9c2e43(0x29a)]);else _0x740780[_0x9c2e43(0x243)](this['type'],_0x740780['SujcW'])&&(this[_0x9c2e43(0x2e5)](this[_0x9c2e43(0x205)]()+_0x9c2e43(0x261)),++this[_0x9c2e43(0x306)],this[_0x9c2e43(0x2e5)](this[_0x9c2e43(0x205)]()+'<h1>'+utils['escape'](_0x1728e9[_0x9c2e43(0x1f6)]+_0x9c2e43(0x224)+global['__platform__'])+'</h1>'),this['docAppend'](this[_0x9c2e43(0x205)]()+_0x9c2e43(0x335)));})['on'](EVENT_HOOK_BEGIN,async _0x235c6f=>{const _0x2b3882=_0x3d2910;if(_0x740780[_0x2b3882(0x2f5)](testhubUtils[_0x2b3882(0x281)](testHubConstants['EVENT'][_0x2b3882(0x1fd)]),!![])){if(!_0x235c6f[_0x2b3882(0x264)])_0x235c6f[_0x2b3882(0x264)]=_0x740780[_0x2b3882(0x273)](uuidv4);else _0x235c6f[_0x2b3882(0x26a)]&&(_0x235c6f[_0x2b3882(0x264)]=_0x740780['LgBhN'](uuidv4),delete _0x235c6f[_0x2b3882(0x26a)]);_0x235c6f[_0x2b3882(0x266)]=new Date()[_0x2b3882(0x330)](),this['current_hook']=_0x235c6f,await this[_0x2b3882(0x21b)](_0x235c6f,undefined,![],_0x740780[_0x2b3882(0x206)]);}})['on'](EVENT_HOOK_END,async _0x5455dd=>{const _0x40978a=_0x3d2910;_0x740780[_0x40978a(0x243)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants[_0x40978a(0x293)]['HookFinished']),!![])&&(!_0x5455dd[_0x40978a(0x26a)]&&(_0x5455dd[_0x40978a(0x26a)]=!![],await this[_0x40978a(0x21b)](_0x5455dd,undefined,![],_0x740780[_0x40978a(0x27d)])));})['on'](EVENT_SUITE_END,_0x4a145c=>{const _0x2e4ad4=_0x3d2910,_0xb2bf93={'AaHBw':function(_0x41d00f,_0x1e56b9){const _0x4e1c20=a31_0x5177;return _0x740780[_0x4e1c20(0x2f4)](_0x41d00f,_0x1e56b9);},'gkrvU':_0x740780[_0x2e4ad4(0x28b)],'WExVV':function(_0x51c164,_0x9e5467){return _0x740780['fajDF'](_0x51c164,_0x9e5467);},'ZdBwH':_0x740780[_0x2e4ad4(0x212)],'wJagQ':function(_0x1b6394,_0x5462f8){const _0x3a0e31=_0x2e4ad4;return _0x740780[_0x3a0e31(0x248)](_0x1b6394,_0x5462f8);},'vCObl':function(_0x5f357d,_0x4ad866){const _0x2ab124=_0x2e4ad4;return _0x740780[_0x2ab124(0x24f)](_0x5f357d,_0x4ad866);},'NtZRQ':function(_0x1e4d9b,_0x3465a6,_0x427669){return _0x740780['fYFVg'](_0x1e4d9b,_0x3465a6,_0x427669);},'gOAAF':_0x740780[_0x2e4ad4(0x20d)],'qJmhu':_0x740780[_0x2e4ad4(0x29c)],'YTGya':_0x740780['HgCiM'],'FJSjV':function(_0x4dfb2f,_0x3ffd8d,_0x59ee6e){return _0x740780['MQjtT'](_0x4dfb2f,_0x3ffd8d,_0x59ee6e);},'TUJBK':_0x740780['jdRPN'],'HhgYg':function(_0x4ff7bb,_0x276892){const _0x2cfeb0=_0x2e4ad4;return _0x740780[_0x2cfeb0(0x2c8)](_0x4ff7bb,_0x276892);},'pNvUJ':_0x740780[_0x2e4ad4(0x303)],'ubYub':_0x740780[_0x2e4ad4(0x2ee)]};if(_0x4a145c[_0x2e4ad4(0x203)])return;if(_0x740780[_0x2e4ad4(0x243)](this[_0x2e4ad4(0x26c)],_0x740780[_0x2e4ad4(0x2d6)]))Base[_0x2e4ad4(0x228)](),Base[_0x2e4ad4(0x228)](_0x740780[_0x2e4ad4(0x24f)](_0x740780[_0x2e4ad4(0x316)](this[_0x2e4ad4(0x205)](),_0x740780[_0x2e4ad4(0x27a)](color,_0x740780[_0x2e4ad4(0x324)],_0x740780[_0x2e4ad4(0x2e2)])),_0x740780[_0x2e4ad4(0x27a)](color,_0x740780[_0x2e4ad4(0x2f2)],_0x740780[_0x2e4ad4(0x25b)])),_0x740780[_0x2e4ad4(0x223)],_0x4a145c[_0x2e4ad4(0x1f6)],global['__platform__']),this[_0x2e4ad4(0x31c)][_0x2e4ad4(0x313)](_0x427088=>{const _0x630ce5=_0x2e4ad4;if(_0xb2bf93[_0x630ce5(0x23d)](_0x427088[_0x630ce5(0x268)],_0xb2bf93['gkrvU'])){var _0x3caf48;_0xb2bf93['WExVV'](_0x427088['speed'],_0xb2bf93[_0x630ce5(0x2af)])?(_0x3caf48=_0xb2bf93[_0x630ce5(0x2e6)](_0xb2bf93[_0x630ce5(0x2cd)](this[_0x630ce5(0x205)](),_0xb2bf93['NtZRQ'](color,_0xb2bf93[_0x630ce5(0x30e)],_0xb2bf93['vCObl']('\x20\x20',Base[_0x630ce5(0x26b)]['ok']))),_0xb2bf93['NtZRQ'](color,_0xb2bf93[_0x630ce5(0x1f7)],_0xb2bf93[_0x630ce5(0x2d8)])),Base[_0x630ce5(0x228)](_0x3caf48,_0x427088['title'])):(_0x3caf48=_0xb2bf93[_0x630ce5(0x2cd)](_0xb2bf93[_0x630ce5(0x2cd)](_0xb2bf93[_0x630ce5(0x2e6)](this['indent'](),_0xb2bf93[_0x630ce5(0x300)](color,_0xb2bf93[_0x630ce5(0x30e)],_0xb2bf93[_0x630ce5(0x2cd)]('\x20\x20',Base['symbols']['ok']))),_0xb2bf93[_0x630ce5(0x311)](color,_0xb2bf93[_0x630ce5(0x1f7)],_0xb2bf93['YTGya'])),_0xb2bf93[_0x630ce5(0x311)](color,_0x427088[_0x630ce5(0x309)],_0xb2bf93['TUJBK'])),Base['consoleLog'](_0x3caf48,_0x427088['title'],_0x427088['duration']));}else Base[_0x630ce5(0x228)](_0xb2bf93[_0x630ce5(0x272)](this['indent'](),_0xb2bf93[_0x630ce5(0x311)](color,_0xb2bf93['pNvUJ'],_0xb2bf93['ubYub'])),++this[_0x630ce5(0x26d)],_0x427088['title']);}),this[_0x2e4ad4(0x28c)]();else _0x740780[_0x2e4ad4(0x277)](this['type'],_0x740780['SujcW'])&&(this[_0x2e4ad4(0x2e5)](this[_0x2e4ad4(0x205)]()+_0x2e4ad4(0x2bb)),--this['__indents'],this[_0x2e4ad4(0x2e5)](this['indent']()+_0x2e4ad4(0x2bf)),--this[_0x2e4ad4(0x306)]);Array[_0x2e4ad4(0x220)][_0x2e4ad4(0x29e)][_0x2e4ad4(0x23c)](this[_0x2e4ad4(0x2d4)],this[_0x2e4ad4(0x31c)]),this[_0x2e4ad4(0x31c)]=[];})['on'](EVENT_TEST_PASS,async _0x402caa=>{const _0x263024=_0x3d2910;this['results']['push']({'speed':_0x402caa[_0x263024(0x309)],'suite':_0x402caa[_0x263024(0x250)][_0x263024(0x1f6)],'title':_0x402caa[_0x263024(0x1f6)],'fullTitle':_0x402caa[_0x263024(0x267)](),'duration':_0x402caa['duration'],'state':_0x402caa[_0x263024(0x268)],'err':{},'currentRetry':_0x402caa[_0x263024(0x232)](),'titlePathV':_0x402caa[_0x263024(0x2a5)](),'isPending':_0x402caa['isPending']()});if(_0x740780[_0x263024(0x2f5)](this['type'],_0x740780[_0x263024(0x1fa)]))_0x740780[_0x263024(0x20c)](_0x402caa[_0x263024(0x309)],_0x740780[_0x263024(0x2c5)])?process[_0x263024(0x26f)][_0x263024(0x318)](Base['color'](_0x740780[_0x263024(0x324)],Base[_0x263024(0x26b)][_0x263024(0x235)])):process[_0x263024(0x26f)][_0x263024(0x318)](Base[_0x263024(0x2e4)](_0x402caa['speed'],Base['symbols'][_0x263024(0x235)]));else{if(_0x740780[_0x263024(0x243)](this[_0x263024(0x26c)],_0x740780[_0x263024(0x31e)])){this[_0x263024(0x2e5)](this[_0x263024(0x205)]()+_0x263024(0x2e0)+utils['escape'](_0x402caa[_0x263024(0x1f6)])+'</dt>'),this[_0x263024(0x2e5)](this['indent']()+_0x263024(0x2e0)+utils[_0x263024(0x23f)](_0x402caa['file'])+_0x263024(0x2ad));var _0x4d6cd3=utils[_0x263024(0x23f)](utils[_0x263024(0x2a3)](_0x402caa[_0x263024(0x265)]));this[_0x263024(0x2e5)](this[_0x263024(0x205)]()+'\x20\x20<dd><pre><code>'+_0x4d6cd3+_0x263024(0x251));}}_0x740780['FeNLG'](testhubUtils[_0x263024(0x281)](),!![])&&(!_0x402caa['markedStatus']&&(_0x402caa[_0x263024(0x26a)]=!![],await this[_0x263024(0x21b)](_0x402caa)));})['on'](EVENT_TEST_FAIL,async(_0x800b38,_0x34cdff)=>{const _0x47b5dc=_0x3d2910;this[_0x47b5dc(0x31c)][_0x47b5dc(0x29e)]({'title':_0x800b38[_0x47b5dc(0x1f6)],'suite':_0x800b38['parent'][_0x47b5dc(0x1f6)],'state':_0x800b38['state'],'err':{'message':util['inspect'](_0x34cdff)},'fullTitle':_0x800b38[_0x47b5dc(0x267)](),'speed':_0x800b38[_0x47b5dc(0x309)],'currentRetry':_0x800b38['currentRetry'](),'titlePathV':_0x800b38[_0x47b5dc(0x2a5)]()});if(_0x740780['QOLFN'](this[_0x47b5dc(0x26c)],_0x740780['RGome']))process[_0x47b5dc(0x26f)][_0x47b5dc(0x318)](Base['color'](_0x740780['HmULQ'],Base['symbols'][_0x47b5dc(0x2ca)]));else{if(_0x740780[_0x47b5dc(0x2e3)](this['type'],_0x740780['SujcW'])){const _0x5937b0=_0x740780['gUArj'][_0x47b5dc(0x275)]('|');let _0x656288=0x0;while(!![]){switch(_0x5937b0[_0x656288++]){case'0':this[_0x47b5dc(0x2e5)](this[_0x47b5dc(0x205)]()+_0x47b5dc(0x32d)+utils['escape'](_0x800b38[_0x47b5dc(0x225)])+'</dt>');continue;case'1':this['docAppend'](this['indent']()+'\x20\x20<dt\x20class=\x22error\x22>'+utils[_0x47b5dc(0x23f)](_0x800b38['title'])+'</dt>');continue;case'2':this[_0x47b5dc(0x2e5)](this[_0x47b5dc(0x205)]()+_0x47b5dc(0x298)+_0x10e6ec+_0x47b5dc(0x251));continue;case'3':this['docAppend'](this[_0x47b5dc(0x205)]()+_0x47b5dc(0x2f8)+utils[_0x47b5dc(0x23f)](_0x800b38[_0x47b5dc(0x279)])+_0x47b5dc(0x2a2));continue;case'4':var _0x10e6ec=utils[_0x47b5dc(0x23f)](utils['clean'](_0x800b38[_0x47b5dc(0x265)]));continue;}break;}}}if(_0x740780['GyWDm'](testhubUtils['shouldProcessEventForTesthub'](testHubConstants['EVENT'][_0x47b5dc(0x262)]),!![])){if(!_0x800b38[_0x47b5dc(0x26a)]){_0x800b38['markedStatus']=!![];if(_0x800b38['testAnalyticsId'])await this[_0x47b5dc(0x21b)](_0x800b38,_0x34cdff);else _0x800b38['hookAnalyticsId']&&await this['sendTestRunEvent'](_0x800b38,_0x34cdff,![],_0x740780[_0x47b5dc(0x27d)]);}}})['on'](EVENT_TEST_PENDING,async _0x4699d0=>{const _0xc32903=_0x3d2910;this['results']['push']({'title':_0x4699d0['title'],'suite':_0x4699d0[_0xc32903(0x250)][_0xc32903(0x1f6)],'state':_0x4699d0[_0xc32903(0x268)],'err':{},'fullTitle':_0x4699d0[_0xc32903(0x267)](),'speed':_0x4699d0[_0xc32903(0x309)],'currentRetry':_0x4699d0[_0xc32903(0x232)](),'titlePathV':_0x4699d0['titlePath']()}),_0x740780[_0xc32903(0x259)](this[_0xc32903(0x26c)],_0x740780[_0xc32903(0x1fa)])&&process['stdout'][_0xc32903(0x318)](Base[_0xc32903(0x2e4)](_0x740780[_0xc32903(0x28a)],Base[_0xc32903(0x26b)]['comma'])),_0x740780['GyWDm'](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x4699d0[_0xc32903(0x239)]&&(_0x4699d0[_0xc32903(0x239)]=_0x740780[_0xc32903(0x2ba)](uuidv4)),!_0x4699d0[_0xc32903(0x26a)]&&(_0x4699d0['markedStatus']=!![],await this[_0xc32903(0x21b)](_0x4699d0,undefined,![],_0x740780[_0xc32903(0x22a)])));})['on'](EVENT_TEST_BEGIN,async _0x3713f4=>{const _0x55abe7=_0x3d2910;_0x740780[_0x55abe7(0x1f5)](testhubUtils[_0x55abe7(0x281)](),!![])&&await this['testStarted'](_0x3713f4);})['on'](EVENT_TEST_END,async _0x8a31c8=>{const _0xee0045=_0x3d2910;_0x740780[_0xee0045(0x1f5)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x8a31c8[_0xee0045(0x26a)]&&(_0x8a31c8['markedStatus']=!![],await this[_0xee0045(0x21b)](_0x8a31c8)));})[_0x3d2910(0x1fb)](EVENT_RUN_END,async()=>{const _0x2c0fcb=_0x3d2910;try{if(_0x740780[_0x2c0fcb(0x259)](testhubUtils[_0x2c0fcb(0x281)](),!![])){const _0x38b688=_0x740780[_0x2c0fcb(0x302)](getHookSkippedTests,this[_0x2c0fcb(0x25a)][_0x2c0fcb(0x2e8)]);for(const _0x3878b1 of _0x38b688){!_0x3878b1[_0x2c0fcb(0x239)]&&(_0x3878b1[_0x2c0fcb(0x239)]=_0x740780[_0x2c0fcb(0x258)](uuidv4)),await this[_0x2c0fcb(0x21b)](_0x3878b1,undefined,![],_0x740780[_0x2c0fcb(0x22a)]);}}}catch(_0x3e07b5){_0x740780['QLBCs'](debug,_0x2c0fcb(0x215)+_0x3e07b5);}await requestQueueHandler['shutdown'](),_0x740780['xpfcS'](this[_0x2c0fcb(0x26c)],_0x740780[_0x2c0fcb(0x31e)])&&Base['consoleLog'](this[_0x2c0fcb(0x1f4)]);});if(this[_0x3d2910(0x26c)]&&![_0x740780[_0x3d2910(0x31e)],_0x740780[_0x3d2910(0x307)],_0x740780['IOFPE'],_0x740780['RGome']]['includes'](this['type'])){const _0x26279b=this['type'][_0x3d2910(0x242)]();this[_0x3d2910(0x204)]=null;try{this[_0x3d2910(0x204)]=_0x740780[_0x3d2910(0x322)](requireModule,_0x3d2910(0x2ce)+_0x26279b+_0x3d2910(0x334),_0x740780[_0x3d2910(0x2df)]);}catch(_0xfa3219){_0x740780['wTYZf'](debug,_0x3d2910(0x280)+_0xfa3219);}if(_0x740780[_0x3d2910(0x2cf)](this[_0x3d2910(0x204)],null))try{this[_0x3d2910(0x204)]=_0x740780[_0x3d2910(0x2f1)](require,_0x26279b);}catch(_0x1a7f93){console[_0x3d2910(0x2c6)](_0x3d2910(0x2fb)+_0x26279b);}if(_0x740780[_0x3d2910(0x2c7)](this[_0x3d2910(0x204)],null)){const _0x5164ec={};_0x5164ec[_0x3d2910(0x2c0)]=_0x55051d['reporterOption'],this[_0x3d2910(0x204)]=new this['Reporter'](_0x2d1ede,_0x5164ec);}}}[a31_0x2d8c8e(0x205)](){const _0x53df16=a31_0x2d8c8e,_0xf028dd={'nPGuS':function(_0x2bcc36,_0x3264ea){return _0x2bcc36(_0x3264ea);}};return _0xf028dd[_0x53df16(0x2b4)](Array,this[_0x53df16(0x2cc)])[_0x53df16(0x213)]('\x20\x20');}['increaseIndent'](){this['_indents']++;}[a31_0x2d8c8e(0x28c)](){this['_indents']--;}['docAppend'](_0x29d30a){const _0x593718=a31_0x2d8c8e;this[_0x593718(0x1f4)]+=_0x29d30a;}[a31_0x2d8c8e(0x1f8)](_0x2af2a0,_0x77782){const _0x1028a4=a31_0x2d8c8e,_0x215864={'laHTI':function(_0x1945f8,_0x31f7e4){return _0x1945f8(_0x31f7e4);}},_0x47d1a3={};_0x47d1a3[_0x1028a4(0x24e)]=_0x2af2a0,_0x47d1a3['results']=this[_0x1028a4(0x2d4)],_0x215864[_0x1028a4(0x283)](_0x77782,_0x47d1a3);}['registerListeners'](){const _0xfba501=a31_0x2d8c8e;process[_0xfba501(0x2da)](_0xfba501(0x24c)+process[_0xfba501(0x2bc)]),process['on'](_0xfba501(0x24c)+process[_0xfba501(0x2bc)],this['appendTestItemLog'][_0xfba501(0x254)](this)),process[_0xfba501(0x2da)](_0xfba501(0x2dc)+process[_0xfba501(0x2bc)]),process['on'](_0xfba501(0x2dc)+process[_0xfba501(0x2bc)],this[_0xfba501(0x269)][_0xfba501(0x254)](this));}[a31_0x2d8c8e(0x244)]=async _0x10af23=>{const _0x17252d=a31_0x2d8c8e,_0x13dd86={'DSJwG':function(_0x3e9b27){return _0x3e9b27();},'SPEPv':_0x17252d(0x329),'guSpG':function(_0x56321d,_0x582e98){return _0x56321d>_0x582e98;},'CHBWY':function(_0x4f1bef,_0xae861d){return _0x4f1bef===_0xae861d;},'nzOal':_0x17252d(0x21a),'TlVNz':function(_0x2a4636,_0x59c543){return _0x2a4636(_0x59c543);}};try{const _0x2c250f=this[_0x17252d(0x240)];this[_0x17252d(0x240)]=_0x10af23,_0x10af23[_0x17252d(0x2dd)]=null,_0x10af23[_0x17252d(0x239)]=_0x13dd86[_0x17252d(0x320)](uuidv4),globals[_0x17252d(0x1ff)](_0x13dd86['SPEPv'],_0x10af23['testAnalyticsId']),global[_0x17252d(0x22f)]=global[_0x17252d(0x22f)]||{},global[_0x17252d(0x22f)][_0x17252d(0x25c)]=global[_0x17252d(0x22f)]['currentTest']||{},global['__workerDetails'][_0x17252d(0x25c)][_0x17252d(0x289)]=_0x10af23[_0x17252d(0x239)],_0x10af23[_0x17252d(0x266)]=new Date()[_0x17252d(0x330)](),_0x13dd86[_0x17252d(0x2fd)](_0x10af23[_0x17252d(0x274)],0x0)&&_0x2c250f&&_0x13dd86['CHBWY'](_0x2c250f[_0x17252d(0x1f6)],_0x10af23[_0x17252d(0x1f6)])?(_0x10af23[_0x17252d(0x2dd)]=_0x2c250f['testAnalyticsId'],await this['sendTestRunEvent'](_0x10af23,undefined,![],_0x13dd86[_0x17252d(0x231)]),_0x2c250f[_0x17252d(0x268)]=STATE_FAILED,await this[_0x17252d(0x21b)](_0x2c250f,undefined,!![])):await this['sendTestRunEvent'](_0x10af23,undefined,![],_0x13dd86['nzOal']);}catch(_0x4f04bd){_0x13dd86[_0x17252d(0x22b)](debug,_0x17252d(0x294)+_0x4f04bd);}};['sendTestRunEvent']=async(_0x35351c,_0xdc0d4a=undefined,_0x4ea80c=![],_0x17db32='TestRunFinished')=>{const _0x34838a=a31_0x2d8c8e,_0x3c94d1={'XdYwc':function(_0x3b99e6,_0x5d1b7c){return _0x3b99e6===_0x5d1b7c;},'WNKFn':function(_0xa1e4db,_0x1a705f){return _0xa1e4db!==_0x1a705f;},'XyZxu':'test','GIKYu':_0x34838a(0x279),'anKRA':function(_0x5f3d70,_0x5b4a45){return _0x5f3d70!==_0x5b4a45;},'jMmkS':_0x34838a(0x257),'EnXzm':'Mocha','VRgVI':'javascript','dpcUH':function(_0x132fb5,_0x25d759){return _0x132fb5===_0x25d759;},'QWwkL':_0x34838a(0x2b8),'vxKvb':_0x34838a(0x216),'YobRu':function(_0x2665b8,_0x28992d){return _0x2665b8-_0x28992d;},'MyGHa':_0x34838a(0x209),'ykihH':_0x34838a(0x22c),'PQRHC':_0x34838a(0x2c4),'ztHNa':_0x34838a(0x21a),'ojbhW':function(_0x86187){return _0x86187();},'AVaeg':'started_at','mgYQd':_0x34838a(0x305),'MhUUo':function(_0x2e5fed,_0x30f207){return _0x2e5fed(_0x30f207);},'AtoEc':function(_0x1fb935,_0x28005c){return _0x1fb935===_0x28005c;},'SQmiC':_0x34838a(0x31f),'VLFiq':function(_0x411e30,_0x1d5879){return _0x411e30!==_0x1d5879;},'QDQZr':_0x34838a(0x2b0),'wehlJ':_0x34838a(0x20e),'FgYrH':_0x34838a(0x23a),'ULnXA':function(_0x112ccd,_0x5be364){return _0x112ccd(_0x5be364);},'kBPLG':_0x34838a(0x222),'ApTjM':_0x34838a(0x24d),'KSavI':_0x34838a(0x27f),'iBrLT':_0x34838a(0x21d),'FaoTS':_0x34838a(0x290),'eVoVq':function(_0x8d4b94,_0x486106){return _0x8d4b94(_0x486106);},'RNnYr':'hook_type','dcFmc':_0x34838a(0x2a1),'TTYaM':'test_run'};try{if(_0x35351c[_0x34838a(0x265)]&&_0x35351c[_0x34838a(0x265)][_0x34838a(0x30f)](/browserstack internal helper hook/))return;let _0x18dbc7=[];if(_0x3c94d1[_0x34838a(0x2e9)](_0x35351c[_0x34838a(0x268)],STATE_FAILED)){if(_0x3c94d1[_0x34838a(0x2b3)](_0x35351c['err'],undefined))_0x18dbc7=_0x35351c[_0x34838a(0x279)][_0x34838a(0x200)]?[_0x35351c['err']['multiple'],_0x3c94d1['XyZxu']]:[_0x35351c[_0x34838a(0x279)],_0x3c94d1[_0x34838a(0x317)]];else _0x3c94d1[_0x34838a(0x285)](_0xdc0d4a,undefined)?_0x18dbc7=[_0xdc0d4a,_0x3c94d1[_0x34838a(0x317)]]:_0x18dbc7=[];}const _0x166107=_0x3c94d1['WNKFn'](_0x35351c[_0x34838a(0x279)],undefined)?_0x35351c[_0x34838a(0x279)]['toString']():_0x3c94d1[_0x34838a(0x285)](_0xdc0d4a,undefined)?_0xdc0d4a[_0x34838a(0x2fa)]():undefined;let _0x362bcd;try{_0x362bcd=this[_0x34838a(0x32a)](_0x35351c);}catch(_0x5dfd63){_0x362bcd=null;}const _0x520532=_0x362bcd?this[_0x34838a(0x270)](_0x362bcd):null,_0x45803d=_0x362bcd?this['_paths']['prefixTestPath'](this['getRootParentFile'](_0x35351c)):_0x3c94d1[_0x34838a(0x331)],_0x225c15={'framework':_0x3c94d1[_0x34838a(0x328)],'uuid':_0x35351c['testAnalyticsId']||_0x35351c[_0x34838a(0x264)],'name':_0x35351c[_0x34838a(0x1f6)],'body':{'lang':_0x3c94d1[_0x34838a(0x2d5)],'code':_0x35351c[_0x34838a(0x265)]},'scope':this['scope'](_0x35351c),'scopes':this[_0x34838a(0x31b)](_0x35351c),'identifier':_0x35351c['fullTitle'](),'file_name':_0x45803d,'vc_filepath':_0x520532?path['relative'](_0x520532,_0x362bcd):null,'location':_0x45803d,'result':_0x3c94d1[_0x34838a(0x253)](_0x17db32,_0x3c94d1[_0x34838a(0x2f6)])?_0x3c94d1[_0x34838a(0x2ab)]:this[_0x34838a(0x2a4)](_0x35351c['state']),'failure_reason':_0x166107,'duration_in_ms':_0x35351c[_0x34838a(0x20f)]||(_0x17db32[_0x34838a(0x30f)](/Finished/)||_0x17db32[_0x34838a(0x30f)](/Skipped/)?_0x3c94d1[_0x34838a(0x201)](Date[_0x34838a(0x31d)](),new Date(_0x35351c[_0x34838a(0x266)])[_0x34838a(0x2d9)]()):null),'started_at':_0x35351c[_0x34838a(0x266)],'finished_at':_0x17db32[_0x34838a(0x30f)](/Finished/)||_0x17db32[_0x34838a(0x30f)](/Skipped/)?new Date()['toISOString']():null,'failure':failureData[_0x34838a(0x23c)](null,_0x18dbc7),'failure_type':!_0x166107?null:_0x166107['match'](/AssertionError/)?_0x3c94d1[_0x34838a(0x32f)]:_0x3c94d1[_0x34838a(0x27c)],'retry_of':_0x35351c['retryOf']};if([_0x3c94d1[_0x34838a(0x2f6)],_0x3c94d1[_0x34838a(0x22d)],_0x3c94d1[_0x34838a(0x2a8)]][_0x34838a(0x2c1)](_0x17db32)){if(_0x3c94d1['ojbhW'](getCentralUser)['lcnc']){const _0x3998e3=TestMetadata[_0x34838a(0x219)](_0x35351c[_0x34838a(0x239)]);if(_0x3998e3){const _0x15c1a4={};_0x15c1a4[_0x34838a(0x312)]=_0x3998e3,Object[_0x34838a(0x237)](_0x225c15,_0x15c1a4);}}}testhubUtils[_0x34838a(0x319)](_0x225c15,_0x17db32,_0x35351c,FRAMEWORKS[_0x34838a(0x29f)]);(_0x35351c['responseCode']||_0x35351c[_0x34838a(0x284)])&&centralScannerUtils['setCentralScannerData'](_0x225c15,_0x35351c[_0x34838a(0x28f)],_0x35351c['redirectUrl']);_0x3c94d1[_0x34838a(0x253)](_0x17db32,_0x3c94d1['QWwkL'])&&!_0x225c15[_0x3c94d1[_0x34838a(0x2ea)]]&&(_0x225c15[_0x3c94d1[_0x34838a(0x2ea)]]=_0x225c15[_0x3c94d1['mgYQd']]);if(_0x17db32[_0x34838a(0x30f)](/HookRun/))[_0x225c15[_0x34838a(0x2d7)],_0x225c15[_0x34838a(0x291)]]=_0x3c94d1[_0x34838a(0x24a)](getHookDetails,_0x35351c[_0x34838a(0x267)]()||_0x35351c[_0x34838a(0x2b9)]||_0x35351c['title']),_0x3c94d1[_0x34838a(0x2d3)](_0x17db32,_0x3c94d1['SQmiC'])&&(_0x3c94d1['VLFiq'](_0x225c15[_0x34838a(0x2e7)],_0x3c94d1[_0x34838a(0x234)])&&(_0x225c15['result']=_0x3c94d1['wehlJ']),_0x3c94d1['dpcUH'](_0x225c15[_0x34838a(0x2d7)],_0x3c94d1[_0x34838a(0x323)])&&_0x3c94d1[_0x34838a(0x2d3)](_0x225c15[_0x34838a(0x2e7)],_0x3c94d1[_0x34838a(0x234)])&&!_0x35351c[_0x34838a(0x21f)][_0x34838a(0x25c)][_0x34838a(0x26a)]&&(_0x35351c[_0x34838a(0x21f)][_0x34838a(0x25c)]['markedStatus']=!![],_0x35351c[_0x34838a(0x21f)][_0x34838a(0x25c)][_0x34838a(0x268)]=STATE_FAILED,await this[_0x34838a(0x21b)](_0x35351c[_0x34838a(0x21f)][_0x34838a(0x25c)],undefined,!![])));else _0x17db32[_0x34838a(0x30f)](/TestRun/)&&_0x3c94d1[_0x34838a(0x2d2)](mapTestHooks,_0x35351c);const _0x41b132=_0x225c15[_0x3c94d1['kBPLG']][0x0];_0x41b132&&(_0x225c15[_0x3c94d1[_0x34838a(0x25d)]]=_0x41b132[_0x3c94d1[_0x34838a(0x230)]],_0x225c15[_0x3c94d1[_0x34838a(0x1f9)]]=_0x41b132[_0x3c94d1[_0x34838a(0x25f)]]);[_0x3c94d1['PQRHC'],_0x3c94d1['QWwkL']][_0x34838a(0x2c1)](_0x17db32)&&(this[_0x34838a(0x217)][_0x34838a(0x29e)](_0x225c15),_0x225c15[_0x34838a(0x296)]=_0x3c94d1['eVoVq'](getHooksForTest,_0x35351c));const _0x3c7c36={'event_type':_0x3c94d1[_0x34838a(0x253)](_0x17db32,_0x3c94d1[_0x34838a(0x2f6)])?_0x3c94d1[_0x34838a(0x22d)]:_0x17db32};_0x17db32[_0x34838a(0x30f)](/HookRun/)?(_0x225c15[_0x3c94d1[_0x34838a(0x2a9)]]=HOOK_TYPES_MAP[_0x225c15[_0x3c94d1[_0x34838a(0x2a9)]]],_0x3c7c36[_0x3c94d1[_0x34838a(0x332)]]=_0x225c15):_0x3c7c36[_0x3c94d1[_0x34838a(0x278)]]=_0x225c15,testhubUtils[_0x34838a(0x2bd)](FRAMEWORKS[_0x34838a(0x29f)],_0x3c7c36),await SessionHandler[_0x34838a(0x260)](_0x3c7c36);}catch(_0x211863){_0x3c94d1[_0x34838a(0x24a)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x17db32+_0x34838a(0x2eb)+_0x211863);}};[a31_0x2d8c8e(0x270)](_0x3ebe2d){const _0x3111a0=a31_0x2d8c8e,_0x3b5d1b={};_0x3b5d1b[_0x3111a0(0x27b)]=function(_0x559ede,_0x3f5a72){return _0x559ede===_0x3f5a72;},_0x3b5d1b['gbUmB']=function(_0x1b01b7,_0x2b55dc){return _0x1b01b7===_0x2b55dc;},_0x3b5d1b[_0x3111a0(0x27e)]=function(_0x1eb0dc,_0x2f09d3){return _0x1eb0dc===_0x2f09d3;},_0x3b5d1b['uWmFw']=_0x3111a0(0x336),_0x3b5d1b[_0x3111a0(0x2f3)]=_0x3111a0(0x2f7);const _0x28b579=_0x3b5d1b,_0x5da2fa=path['sep'];if(_0x28b579['HrJop'](_0x3ebe2d,null)||_0x28b579[_0x3111a0(0x263)](_0x3ebe2d,'')||_0x28b579['gbUmB'](_0x3ebe2d,_0x5da2fa)||_0x28b579[_0x3111a0(0x27e)](_0x3ebe2d,path[_0x3111a0(0x218)](_0x3ebe2d)))return null;try{return fs[_0x3111a0(0x211)](path[_0x3111a0(0x213)](_0x3ebe2d,_0x28b579[_0x3111a0(0x2b2)],_0x28b579['aScLI'])),_0x3ebe2d;}catch(_0x472bd8){const _0x3a6cb3=path[_0x3111a0(0x218)](_0x3ebe2d);return this[_0x3111a0(0x270)](_0x3a6cb3);}}[a31_0x2d8c8e(0x337)]=async _0xb52281=>{const _0x49df02=a31_0x2d8c8e,_0x50ef9a={'nDQwC':_0x49df02(0x221),'PxtuC':function(_0x136f66,_0x35fe63){return _0x136f66(_0x35fe63);}};try{this[_0x49df02(0x327)]&&!this[_0x49df02(0x327)][_0x49df02(0x26a)]&&(_0xb52281[_0x49df02(0x229)]=this['current_hook'][_0x49df02(0x264)]);!_0xb52281['hook_run_uuid']&&this['current_test']&&!this[_0x49df02(0x240)]['markedStatus']&&(_0xb52281[_0x49df02(0x32e)]=this[_0x49df02(0x240)][_0x49df02(0x239)]);if(_0xb52281[_0x49df02(0x229)]||_0xb52281[_0x49df02(0x32e)]){const _0x30ad89={};_0x30ad89[_0x49df02(0x301)]=_0x50ef9a[_0x49df02(0x325)],_0x30ad89['logs']=[_0xb52281],await SessionHandler[_0x49df02(0x260)](_0x30ad89);}}catch(_0x594c6b){_0x50ef9a[_0x49df02(0x246)](debug,_0x49df02(0x241)+constants[_0x49df02(0x1fc)]+_0x49df02(0x2eb)+_0x594c6b);}};[a31_0x2d8c8e(0x269)]=async _0x1ab31c=>{const _0x140106=a31_0x2d8c8e,_0x380ee9={'znilS':_0x140106(0x2a0),'aceyQ':_0x140106(0x292),'PnYSo':function(_0xb6003e,_0x179cb1){return _0xb6003e(_0x179cb1);}};try{const _0x3e1fa2={};_0x3e1fa2['uuid']=_0x1ab31c[_0x140106(0x297)]||this[_0x140106(0x240)][_0x140106(0x239)],_0x3e1fa2[_0x140106(0x2f9)]=_0x1ab31c[_0x380ee9[_0x140106(0x2ef)]];const _0x559578=_0x3e1fa2,_0x1a20c2={};_0x1a20c2[_0x140106(0x301)]=_0x380ee9['aceyQ'],_0x1a20c2[_0x140106(0x308)]=_0x559578,await SessionHandler['uploadEventData'](_0x1a20c2);}catch(_0x2d9f55){_0x380ee9[_0x140106(0x295)](debug,_0x140106(0x314)+constants[_0x140106(0x1fc)]+'\x20with\x20error\x20:\x20'+_0x2d9f55);}};[a31_0x2d8c8e(0x2a4)](_0x489140){const _0x2260a9=a31_0x2d8c8e,_0x297808={};_0x297808[_0x2260a9(0x2be)]=_0x2260a9(0x20e),_0x297808[_0x2260a9(0x2b5)]=_0x2260a9(0x2ec),_0x297808[_0x2260a9(0x25e)]=_0x2260a9(0x2b0);const _0x580d52=_0x297808,_0x437144={};return _0x437144[STATE_PASSED]=_0x580d52[_0x2260a9(0x2be)],_0x437144[STATE_PENDING]=_0x580d52[_0x2260a9(0x2b5)],_0x437144[STATE_FAILED]=_0x580d52['ALYmh'],_0x437144[_0x489140];}[a31_0x2d8c8e(0x208)](_0x6e19e2){const _0x27dbb5=a31_0x2d8c8e,_0x532723={};_0x532723[_0x27dbb5(0x233)]=function(_0x2ee417,_0x2e241e){return _0x2ee417-_0x2e241e;};const _0x3382e8=_0x532723,_0x17b569=_0x6e19e2[_0x27dbb5(0x2a5)]();return _0x17b569[_0x27dbb5(0x22e)](0x0,_0x3382e8[_0x27dbb5(0x233)](_0x17b569[_0x27dbb5(0x304)],0x1))[_0x27dbb5(0x213)]('\x20');}['scopes'](_0x45bf8c){const _0x25d6df=a31_0x2d8c8e,_0x36855b={};_0x36855b[_0x25d6df(0x276)]=function(_0x4d8d8f,_0x4de036){return _0x4d8d8f-_0x4de036;};const _0x2ad19d=_0x36855b,_0x41562d=_0x45bf8c[_0x25d6df(0x2a5)]();return _0x41562d[_0x25d6df(0x22e)](0x0,_0x2ad19d['ZszAG'](_0x41562d[_0x25d6df(0x304)],0x1));}[a31_0x2d8c8e(0x32a)](_0x2c3eda){const _0x1c318e=a31_0x2d8c8e,_0x4f6835={};_0x4f6835[_0x1c318e(0x255)]=function(_0x340877,_0x32ee1e){return _0x340877>_0x32ee1e;};const _0x2f3c4a=_0x4f6835;if(_0x2c3eda[_0x1c318e(0x225)])return _0x2c3eda['file'];if(_0x2c3eda[_0x1c318e(0x21f)]){const _0x3e9e7d=_0x2c3eda[_0x1c318e(0x21f)]['currentTest']?this[_0x1c318e(0x32a)](_0x2c3eda[_0x1c318e(0x21f)][_0x1c318e(0x25c)]):null;if(_0x3e9e7d)return _0x3e9e7d;}if(_0x2c3eda[_0x1c318e(0x250)]){const _0x4dd401=this[_0x1c318e(0x32a)](_0x2c3eda['parent'])||(_0x2c3eda[_0x1c318e(0x250)][_0x1c318e(0x21f)]&&_0x2c3eda['parent'][_0x1c318e(0x21f)]['currentTest']?this[_0x1c318e(0x32a)](_0x2c3eda[_0x1c318e(0x250)][_0x1c318e(0x21f)][_0x1c318e(0x25c)]):null);if(_0x4dd401)return _0x4dd401;_0x2c3eda[_0x1c318e(0x250)][_0x1c318e(0x2fe)]&&_0x2f3c4a['pmPXz'](_0x2c3eda[_0x1c318e(0x250)][_0x1c318e(0x2fe)][_0x1c318e(0x304)],0x0)&&_0x2c3eda[_0x1c318e(0x250)][_0x1c318e(0x2fe)]['forEach'](_0x197f0e=>{const _0x28b93b=_0x1c318e,_0x463300=_0x197f0e[_0x28b93b(0x21f)]?this['getRootParentFile'](_0x197f0e['ctx']):null;if(_0x463300)return _0x463300;});}return null;}}module[a31_0x2d8c8e(0x226)]=MyReporter;
1
+ 'use strict';const a31_0x555121=a31_0x191e;(function(_0x5dff8a,_0x1a8dac){const _0x5c226b=a31_0x191e,_0x5478da=_0x5dff8a();while(!![]){try{const _0x53196f=parseInt(_0x5c226b(0x27e))/0x1*(-parseInt(_0x5c226b(0x1e5))/0x2)+parseInt(_0x5c226b(0x227))/0x3*(-parseInt(_0x5c226b(0x21d))/0x4)+-parseInt(_0x5c226b(0x202))/0x5*(parseInt(_0x5c226b(0x224))/0x6)+parseInt(_0x5c226b(0x308))/0x7+-parseInt(_0x5c226b(0x258))/0x8*(parseInt(_0x5c226b(0x271))/0x9)+parseInt(_0x5c226b(0x1f0))/0xa*(-parseInt(_0x5c226b(0x1d4))/0xb)+-parseInt(_0x5c226b(0x2b0))/0xc*(-parseInt(_0x5c226b(0x2ac))/0xd);if(_0x53196f===_0x1a8dac)break;else _0x5478da['push'](_0x5478da['shift']());}catch(_0x562165){_0x5478da['push'](_0x5478da['shift']());}}}(a31_0x458f,0x68f41));const util=require(a31_0x555121(0x2f4)),fs=require('fs'),path=require('path'),{requireModule,getCentralUser}=require(a31_0x555121(0x201)),Base=requireModule(a31_0x555121(0x296),a31_0x555121(0x2ee)),utils=requireModule(a31_0x555121(0x252),a31_0x555121(0x2ee)),color=Base[a31_0x555121(0x1be)],Mocha=requireModule('mocha'),Runnable=requireModule(a31_0x555121(0x1fd),a31_0x555121(0x2ee)),{v4:uuidv4}=require(a31_0x555121(0x1e2)),bsSetupHelper=require(a31_0x555121(0x201)),testhubUtils=require(a31_0x555121(0x1bf)),centralScannerUtils=require(a31_0x555121(0x2b3)),testHubConstants=require('../../../helpers/testhub/constants'),{FRAMEWORKS}=require(a31_0x555121(0x24d)),globals=require(a31_0x555121(0x290)),logger=require(a31_0x555121(0x2a2))['winstonLogger'],TestMetadata=require('../../../helpers/metadata'),a31_0x26158f={};a31_0x26158f['before\x20all']=a31_0x555121(0x2a6),a31_0x26158f[a31_0x555121(0x293)]=a31_0x555121(0x262),a31_0x26158f[a31_0x555121(0x2e8)]=a31_0x555121(0x28e),a31_0x26158f[a31_0x555121(0x27b)]=a31_0x555121(0x1d6);function a31_0x458f(){const _0x25dbc7=['after\x20each','../../../helpers/test-observability/sessionHandler','pass','1vWcbYS','%s\x20-\x20%s','hooks','File\x20path\x20could\x20not\x20be\x20found','expanded','Exception\x20in\x20browserstack\x20custome\x20reporter\x20with\x20error:\x20','retryOf','_currentRetry','apply','getRootParentFile','setGlobal','KsosF','symbols','\x20\x20<dt\x20class=\x22error\x22>','ytaVx','sBzRX','BEFORE_EACH','title','../../../helpers/globals','fail','sKLEY','after\x20all','reporterOption','MxYVe','mocha/lib/reporters/base.js','HLxqP','current_test','rHQnY','LfesE','prefixTestPath','relative','green','light','azLXC','slow','</dl>','../../../helpers/logger','hGVwM','state','test','BEFORE_ALL','dot','javascript','\x20\x20%d)\x20%s','arrju','tWTCJ','26084929hbzyRB','UnhandledError','failure','pexkU','12cehQpp','setCurrentTestData','<section\x20class=\x22suite\x22>','../../../helpers/central-scanner/helpers','bs:addLog:','RUNNING','%s\x20','fast','test_run','scope','spec','includes','CKACo','UUTNo','Runner','LZHUP','write','../../../helpers/test-observability/requestQueueHandler','rzgTR','oVbpv','\x20%s','thTestRunUuid','LogCreated','QRAnT','.git','Mocha','TestRunFinished','setCentralScannerData','now','MOCHA','toISOString','TEST_REPORTING_ANALYTICS','fullTitle','NxKkc','body','_testResults','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20','../test-observability/mochaUtils','xCfQz','.js','IPFqi','qXQiv','getInstance','pVPOw','qxokQ','<h1>','runner','multiple','\x20with\x20error\x20:\x20','yTfge','hgGDJ','uploadEventData','once','scopes','result','JUmzj','before\x20each','__platform__','ywdwt','exports','_testEnv','failed','mocha','Reporter','HookFinished','hook_run','zvqhy','ioQQN','util','ZAfPx','HubYP','Pwlpb','Lghqx','\x20\x20<dd><pre><code>','mHehF','cwd','cjRsh','HookRunStarted','sPDjO','xbdDm','test_run_uuid','plZVo','finished_at','ctx','split','err','ULYnD','\x20\x20<dd\x20class=\x22error\x22>','3498824HdRCbn','color','../../../helpers/testhub/utils','speed','aVlKU','sRBcm','JIsZA','skipped','pid','call','kfyWG','get','responseCode','CoIDc','redirectUrl','bind','zrvWr','config','fjVAM','SiAIw','fzpLb','3|2|1|0|4','appendTestItemLog','31339EcjkDb','passed','AFTER_EACH','<dl>','RbQZQ','jlZCT','finalResults','Exception\x20in\x20uploading\x20log\x20data\x20to\x20','</code></pre></dd>','_indents','KlKEv','isPending','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','uuid','cTiXk','wrrTT','975886GJovTh','UpcFc','COMPLETED','WLiib','pSRvk','sendTestRunEvent','dMhli','dwzQX','done','aRsdR','qWOyV','810jWREeV','hruxY','dirname','IOCwM','slice','logs','appendTestPlatform','RoAlF','failure_backtrace','constants','bs:addPlatformDetails:','\x20\x20<dt>','http_response','mocha/lib/runnable.js','CBTSessionCreated','parent','</h1>','../../../helpers/helper','408635pNnjMw','hook_type','location_prefix','checkmark','KlYoV','</dd>','\x20\x20<dd\x20class=\x22error\x22><pre><code>','join','removeAllListeners','lcnc','YOrhR','BfuxE','docHtml','erCwg','kSlMI','_buildCreated','suites','BGbWN','dhDCj','zMiLs','_upstreamConfig','backtrace','pending','type','results','</dt>','consoleLog','374812ZjRXra','mocha/lib/reporters/','shutdown','CvVDg','current_hook','findGitConfig','testAnalyticsId','6vCzyPc','HCIwT','duration','15ADnxin','increaseIndent','comma','titlePath','\x20(%dms)','Aigfv','egQeX','registerListeners','VZLJK','ANmRr','fLShq','__indents','assign','currentRetry','analyticsResult','TestRunSkipped','docAppend','AgNsn','trim','../../../helpers/test-observability/utils','bACVD','__workerDetails','KHlgW','UGGCR','gQsom','iCSvZ','MUETu','event_type','hookAnalyticsId','../../utils/constants','failureCount','miGHV','qwgdU','bsConfig','shouldProcessEventForTesthub','\x20-\x20','match','root','../../../helpers/test-observability/constants','HookRunFinished','file','toString','HGmKc','mocha/lib/utils.js','stdout','bright\x20yellow','markedStatus','push','escape','48sjJqgQ','NgBkV','bIVnb','currentTest','VjNtZ','LDhKa','IAJEK','originalTitle','NfObh','testStarted','AFTER_ALL','EZVux','integrations','clean','indent','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','GdEiU','failCount','dMMEz','luZkr','statSync','forEach','vdQGK','fqwif','TestRunStarted','1211283vXQKwQ','started_at','length','UXuVk','EVENT','decreaseIndent','spSCJ','BJoiX','tsgyS','testRunUUID'];a31_0x458f=function(){return _0x25dbc7;};return a31_0x458f();}function a31_0x191e(_0x5c32ac,_0x4f8a34){const _0x458fe8=a31_0x458f();return a31_0x191e=function(_0x191e5e,_0xd0130a){_0x191e5e=_0x191e5e-0x1be;let _0x58794a=_0x458fe8[_0x191e5e];return _0x58794a;},a31_0x191e(_0x5c32ac,_0x4f8a34);}const HOOK_TYPES_MAP=a31_0x26158f,{EVENT_RUN_END,EVENT_TEST_BEGIN,EVENT_TEST_END,EVENT_TEST_PENDING,EVENT_RUN_BEGIN,EVENT_TEST_FAIL,EVENT_TEST_PASS,EVENT_SUITE_BEGIN,EVENT_SUITE_END,EVENT_HOOK_BEGIN,EVENT_HOOK_END}=Mocha[a31_0x555121(0x2be)]['constants'],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a31_0x555121(0x1f9)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a31_0x555121(0x2d5)),{consoleHolder}=require('../../../helpers/test-observability/constants'),SessionHandler=require(a31_0x555121(0x27c)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a31_0x555121(0x23a)),RequestQueueHandler=require(a31_0x555121(0x2c1)),constants=require(a31_0x555121(0x244)),requestQueueHandler=RequestQueueHandler[a31_0x555121(0x2da)]();class MyReporter{constructor(_0x323aed,_0x598bb1){const _0x54047e=a31_0x555121,_0x1f7baf={'QRAnT':function(_0x1f9ff0,_0xa82ca){return _0x1f9ff0===_0xa82ca;},'HubYP':_0x54047e(0x2ba),'UXuVk':function(_0x56a70c,_0x53ff5f){return _0x56a70c===_0x53ff5f;},'egQeX':function(_0x5182d2,_0x2326f0){return _0x5182d2+_0x2326f0;},'RoAlF':function(_0xac0a75,_0x37bb3b,_0x40943b){return _0xac0a75(_0x37bb3b,_0x40943b);},'SiAIw':_0x54047e(0x29d),'xbdDm':_0x54047e(0x2b6),'pexkU':_0x54047e(0x29e),'NxKkc':_0x54047e(0x27f),'kcSVa':_0x54047e(0x2b5),'gQsom':'doc','NfObh':function(_0x27f4c7){return _0x27f4c7();},'fzpLb':_0x54047e(0x2fd),'rzgTR':function(_0xa8ec68,_0xdc65d1){return _0xa8ec68===_0xdc65d1;},'dwzQX':_0x54047e(0x24e),'OXwKr':_0x54047e(0x1d5),'hruxY':function(_0x4c94f1,_0x35f63a){return _0x4c94f1===_0x35f63a;},'fqwif':_0x54047e(0x2b7),'KHlgW':function(_0x5a5bcf,_0xc7713a){return _0x5a5bcf+_0xc7713a;},'aRsdR':_0x54047e(0x205),'zvqhy':_0x54047e(0x27d),'ZAfPx':_0x54047e(0x2c4),'BGbWN':function(_0x302369,_0x2deab4){return _0x302369+_0x2deab4;},'GdEiU':function(_0x27ba58,_0x5c9d08){return _0x27ba58+_0x5c9d08;},'sRBcm':function(_0x1bede8,_0x45d254){return _0x1bede8+_0x45d254;},'ywdwt':function(_0x1d0114,_0x55c505,_0x471b6){return _0x1d0114(_0x55c505,_0x471b6);},'azLXC':_0x54047e(0x22b),'IAJEK':function(_0x3bfb6b,_0x4927db,_0x4dc643){return _0x3bfb6b(_0x4927db,_0x4dc643);},'JIsZA':_0x54047e(0x291),'EZVux':_0x54047e(0x2a9),'HGmKc':function(_0x54e7b1,_0x231000){return _0x54e7b1===_0x231000;},'aVlKU':function(_0x19f4d,_0x3214d2){return _0x19f4d+_0x3214d2;},'RbQZQ':function(_0x553c18,_0x245ac9){return _0x553c18+_0x245ac9;},'Elskp':_0x54047e(0x254),'dMMEz':_0x54047e(0x1e7),'zrvWr':function(_0x42405a,_0x480d22){return _0x42405a===_0x480d22;},'erCwg':function(_0x50708d,_0x496583){return _0x50708d===_0x496583;},'spSCJ':_0x54047e(0x2a7),'CvVDg':_0x54047e(0x2a0),'bIVnb':function(_0x5a2408,_0x57113e){return _0x5a2408===_0x57113e;},'HCIwT':function(_0x141eca,_0x3433df){return _0x141eca===_0x3433df;},'oVbpv':function(_0x474372,_0x3f2337){return _0x474372===_0x3f2337;},'KsosF':_0x54047e(0x1d2),'VxPOh':function(_0x1e1d34,_0x519bcd){return _0x1e1d34===_0x519bcd;},'kSlMI':'pending','fLShq':function(_0x3cacf8,_0x12d0e9){return _0x3cacf8===_0x12d0e9;},'ULYnD':function(_0x373188){return _0x373188();},'tdJwt':_0x54047e(0x236),'iCSvZ':function(_0x3876a9,_0x16afbf){return _0x3876a9===_0x16afbf;},'sPDjO':function(_0x97487b,_0x201243){return _0x97487b(_0x201243);},'Lghqx':function(_0x35f9b6){return _0x35f9b6();},'NgBkV':function(_0x4a667c,_0xf03b5a){return _0x4a667c(_0xf03b5a);},'CoIDc':function(_0x42988d,_0x4c7e08){return _0x42988d===_0x4c7e08;},'sKLEY':function(_0x22e148){return _0x22e148();},'ANmRr':function(_0x44dae9,_0x54b93e){return _0x44dae9===_0x54b93e;},'tsgyS':'xunit','KlKEv':function(_0x2dd8be,_0x26ded7,_0x3cf03f){return _0x2dd8be(_0x26ded7,_0x3cf03f);},'RDqGW':_0x54047e(0x2ee),'IPFqi':function(_0x5b0610,_0x34a938){return _0x5b0610(_0x34a938);},'LZHUP':function(_0x8321ad,_0x756291){return _0x8321ad(_0x756291);},'HLxqP':function(_0xbfffc8,_0x2d74d0){return _0xbfffc8!==_0x2d74d0;}};this[_0x54047e(0x219)]=_0x598bb1[_0x54047e(0x294)][_0x54047e(0x219)],this['testObservability']=_0x1f7baf[_0x54047e(0x292)](isTestObservabilitySession),Base[_0x54047e(0x1c6)](this,_0x323aed,_0x598bb1),this[_0x54047e(0x1dd)]=0x0,this[_0x54047e(0x269)]=0x0,this[_0x54047e(0x21a)]=[],this['finalResults']=[],this['suiteCount']=0x0,this[_0x54047e(0x211)]=![],this[_0x54047e(0x2d3)]=[],this[_0x54047e(0x2ec)]=_0x1f7baf[_0x54047e(0x2f8)](getTestEnv),this['_paths']=new PathHelper({'cwd':process[_0x54047e(0x2fb)]()},this[_0x54047e(0x2ec)][_0x54047e(0x204)]),this[_0x54047e(0x216)]=_0x598bb1[_0x54047e(0x294)][_0x54047e(0x248)],this[_0x54047e(0x22e)]();_0x1f7baf[_0x54047e(0x230)](this[_0x54047e(0x219)],_0x1f7baf[_0x54047e(0x23f)])&&(this[_0x54047e(0x20e)]='',this[_0x54047e(0x232)]=0x2);_0x323aed['once'](EVENT_RUN_BEGIN,async()=>{const _0x37c4aa=_0x54047e;_0x1f7baf[_0x37c4aa(0x2c7)](this[_0x37c4aa(0x219)],_0x1f7baf[_0x37c4aa(0x2f6)])&&Base[_0x37c4aa(0x21c)]();})['on'](EVENT_SUITE_BEGIN,_0x4726c7=>{const _0x32d757=_0x54047e;if(_0x4726c7[_0x32d757(0x24c)])return;if(_0x1f7baf[_0x32d757(0x274)](this[_0x32d757(0x219)],_0x1f7baf[_0x32d757(0x2f6)]))this[_0x32d757(0x228)](),Base['consoleLog'](_0x1f7baf[_0x32d757(0x22d)](_0x1f7baf[_0x32d757(0x22d)](this[_0x32d757(0x266)](),_0x1f7baf[_0x32d757(0x1f7)](color,_0x1f7baf[_0x32d757(0x1d0)],_0x1f7baf['xbdDm'])),_0x1f7baf['RoAlF'](color,_0x1f7baf[_0x32d757(0x2af)],_0x1f7baf[_0x32d757(0x2d1)])),_0x1f7baf['kcSVa'],_0x4726c7[_0x32d757(0x28f)],global[_0x32d757(0x2e9)]);else _0x1f7baf[_0x32d757(0x274)](this[_0x32d757(0x219)],_0x1f7baf[_0x32d757(0x23f)])&&(this['docAppend'](this[_0x32d757(0x266)]()+_0x32d757(0x2b2)),++this[_0x32d757(0x232)],this[_0x32d757(0x237)](this[_0x32d757(0x266)]()+_0x32d757(0x2dd)+utils['escape'](_0x4726c7[_0x32d757(0x28f)]+_0x32d757(0x24a)+global['__platform__'])+_0x32d757(0x200)),this['docAppend'](this['indent']()+_0x32d757(0x1d7)));})['on'](EVENT_HOOK_BEGIN,async _0x16dcb4=>{const _0x5d2c2e=_0x54047e;if(_0x1f7baf[_0x5d2c2e(0x274)](testhubUtils[_0x5d2c2e(0x249)](testHubConstants[_0x5d2c2e(0x275)]['HookStarted']),!![])){if(!_0x16dcb4['hookAnalyticsId'])_0x16dcb4[_0x5d2c2e(0x243)]=_0x1f7baf[_0x5d2c2e(0x260)](uuidv4);else _0x16dcb4[_0x5d2c2e(0x255)]&&(_0x16dcb4[_0x5d2c2e(0x243)]=_0x1f7baf[_0x5d2c2e(0x260)](uuidv4),delete _0x16dcb4[_0x5d2c2e(0x255)]);_0x16dcb4[_0x5d2c2e(0x272)]=new Date()['toISOString'](),this[_0x5d2c2e(0x221)]=_0x16dcb4,await this[_0x5d2c2e(0x1ea)](_0x16dcb4,undefined,![],_0x1f7baf[_0x5d2c2e(0x1d1)]);}})['on'](EVENT_HOOK_END,async _0xf83fc4=>{const _0x35def7=_0x54047e;_0x1f7baf[_0x35def7(0x2c2)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants[_0x35def7(0x275)][_0x35def7(0x2f0)]),!![])&&(!_0xf83fc4['markedStatus']&&(_0xf83fc4['markedStatus']=!![],await this[_0x35def7(0x1ea)](_0xf83fc4,undefined,![],_0x1f7baf[_0x35def7(0x1ec)])));})['on'](EVENT_SUITE_END,_0x12da36=>{const _0x50e4c2=_0x54047e;if(_0x12da36[_0x50e4c2(0x24c)])return;if(_0x1f7baf[_0x50e4c2(0x251)](this[_0x50e4c2(0x219)],_0x1f7baf[_0x50e4c2(0x2f6)]))Base['consoleLog'](),Base[_0x50e4c2(0x21c)](_0x1f7baf[_0x50e4c2(0x1c1)](_0x1f7baf[_0x50e4c2(0x1d8)](this[_0x50e4c2(0x266)](),_0x1f7baf[_0x50e4c2(0x2ea)](color,_0x1f7baf['Elskp'],_0x1f7baf[_0x50e4c2(0x2ff)])),_0x1f7baf[_0x50e4c2(0x2ea)](color,_0x1f7baf[_0x50e4c2(0x2af)],_0x1f7baf['NxKkc'])),_0x1f7baf[_0x50e4c2(0x26a)],_0x12da36[_0x50e4c2(0x28f)],global['__platform__']),this[_0x50e4c2(0x21a)][_0x50e4c2(0x26d)](_0x2964f6=>{const _0x255d28=_0x50e4c2;if(_0x1f7baf[_0x255d28(0x2c2)](_0x2964f6[_0x255d28(0x2a4)],_0x1f7baf['OXwKr'])){var _0x1ce867;_0x1f7baf[_0x255d28(0x1f1)](_0x2964f6[_0x255d28(0x1c0)],_0x1f7baf[_0x255d28(0x26f)])?(_0x1ce867=_0x1f7baf['egQeX'](_0x1f7baf[_0x255d28(0x23d)](this[_0x255d28(0x266)](),_0x1f7baf[_0x255d28(0x1f7)](color,_0x1f7baf[_0x255d28(0x1ee)],_0x1f7baf[_0x255d28(0x23d)]('\x20\x20',Base[_0x255d28(0x28a)]['ok']))),_0x1f7baf[_0x255d28(0x1f7)](color,_0x1f7baf[_0x255d28(0x2f2)],_0x1f7baf['ZAfPx'])),Base[_0x255d28(0x21c)](_0x1ce867,_0x2964f6[_0x255d28(0x28f)])):(_0x1ce867=_0x1f7baf[_0x255d28(0x213)](_0x1f7baf['GdEiU'](_0x1f7baf['egQeX'](this['indent'](),_0x1f7baf[_0x255d28(0x1f7)](color,_0x1f7baf[_0x255d28(0x1ee)],_0x1f7baf[_0x255d28(0x1c2)]('\x20\x20',Base[_0x255d28(0x28a)]['ok']))),_0x1f7baf[_0x255d28(0x1f7)](color,_0x1f7baf[_0x255d28(0x2f2)],_0x1f7baf[_0x255d28(0x2f5)])),_0x1f7baf[_0x255d28(0x2ea)](color,_0x2964f6[_0x255d28(0x1c0)],_0x1f7baf[_0x255d28(0x29f)])),Base[_0x255d28(0x21c)](_0x1ce867,_0x2964f6[_0x255d28(0x28f)],_0x2964f6['duration']));}else Base[_0x255d28(0x21c)](_0x1f7baf[_0x255d28(0x268)](this[_0x255d28(0x266)](),_0x1f7baf[_0x255d28(0x25e)](color,_0x1f7baf[_0x255d28(0x1c3)],_0x1f7baf[_0x255d28(0x263)])),++this[_0x255d28(0x269)],_0x2964f6['title']);}),this[_0x50e4c2(0x276)]();else _0x1f7baf[_0x50e4c2(0x1cd)](this[_0x50e4c2(0x219)],_0x1f7baf[_0x50e4c2(0x23f)])&&(this[_0x50e4c2(0x237)](this[_0x50e4c2(0x266)]()+_0x50e4c2(0x2a1)),--this['__indents'],this['docAppend'](this['indent']()+'</section>'),--this[_0x50e4c2(0x232)]);Array['prototype'][_0x50e4c2(0x256)][_0x50e4c2(0x286)](this[_0x50e4c2(0x1da)],this[_0x50e4c2(0x21a)]),this['results']=[];})['on'](EVENT_TEST_PASS,async _0x5cb7c4=>{const _0xa10f06=_0x54047e;this['results'][_0xa10f06(0x256)]({'speed':_0x5cb7c4['speed'],'suite':_0x5cb7c4[_0xa10f06(0x1ff)][_0xa10f06(0x28f)],'title':_0x5cb7c4[_0xa10f06(0x28f)],'fullTitle':_0x5cb7c4['fullTitle'](),'duration':_0x5cb7c4['duration'],'state':_0x5cb7c4[_0xa10f06(0x2a4)],'err':{},'currentRetry':_0x5cb7c4[_0xa10f06(0x234)](),'titlePathV':_0x5cb7c4['titlePath'](),'isPending':_0x5cb7c4[_0xa10f06(0x1df)]()});if(_0x1f7baf[_0xa10f06(0x20f)](this[_0xa10f06(0x219)],_0x1f7baf[_0xa10f06(0x277)]))_0x1f7baf[_0xa10f06(0x20f)](_0x5cb7c4[_0xa10f06(0x1c0)],_0x1f7baf[_0xa10f06(0x220)])?process[_0xa10f06(0x253)][_0xa10f06(0x2c0)](Base['color'](_0x1f7baf['Elskp'],Base[_0xa10f06(0x28a)]['dot'])):process[_0xa10f06(0x253)][_0xa10f06(0x2c0)](Base['color'](_0x5cb7c4['speed'],Base['symbols'][_0xa10f06(0x2a7)]));else{if(_0x1f7baf[_0xa10f06(0x25a)](this['type'],_0x1f7baf[_0xa10f06(0x23f)])){this[_0xa10f06(0x237)](this['indent']()+_0xa10f06(0x1fb)+utils['escape'](_0x5cb7c4['title'])+_0xa10f06(0x21b)),this['docAppend'](this['indent']()+_0xa10f06(0x1fb)+utils[_0xa10f06(0x257)](_0x5cb7c4['file'])+'</dt>');var _0x43ba41=utils[_0xa10f06(0x257)](utils[_0xa10f06(0x265)](_0x5cb7c4[_0xa10f06(0x2d2)]));this[_0xa10f06(0x237)](this['indent']()+_0xa10f06(0x2f9)+_0x43ba41+_0xa10f06(0x1dc));}}_0x1f7baf[_0xa10f06(0x225)](testhubUtils[_0xa10f06(0x249)](),!![])&&(!_0x5cb7c4[_0xa10f06(0x255)]&&(_0x5cb7c4[_0xa10f06(0x255)]=!![],await this[_0xa10f06(0x1ea)](_0x5cb7c4)));})['on'](EVENT_TEST_FAIL,async(_0xa3fc8f,_0x287b54)=>{const _0x4b69e0=_0x54047e;this[_0x4b69e0(0x21a)][_0x4b69e0(0x256)]({'title':_0xa3fc8f[_0x4b69e0(0x28f)],'suite':_0xa3fc8f[_0x4b69e0(0x1ff)]['title'],'state':_0xa3fc8f[_0x4b69e0(0x2a4)],'err':{'message':util['inspect'](_0x287b54)},'fullTitle':_0xa3fc8f[_0x4b69e0(0x2d0)](),'speed':_0xa3fc8f[_0x4b69e0(0x1c0)],'currentRetry':_0xa3fc8f[_0x4b69e0(0x234)](),'titlePathV':_0xa3fc8f[_0x4b69e0(0x22a)]()});if(_0x1f7baf['HCIwT'](this[_0x4b69e0(0x219)],_0x1f7baf['spSCJ']))process[_0x4b69e0(0x253)][_0x4b69e0(0x2c0)](Base['color'](_0x1f7baf[_0x4b69e0(0x1c3)],Base[_0x4b69e0(0x28a)]['bang']));else{if(_0x1f7baf[_0x4b69e0(0x2c3)](this['type'],_0x1f7baf[_0x4b69e0(0x23f)])){const _0x6761a6=_0x1f7baf[_0x4b69e0(0x289)][_0x4b69e0(0x304)]('|');let _0x259066=0x0;while(!![]){switch(_0x6761a6[_0x259066++]){case'0':this[_0x4b69e0(0x237)](this[_0x4b69e0(0x266)]()+_0x4b69e0(0x208)+_0x164e49+_0x4b69e0(0x1dc));continue;case'1':var _0x164e49=utils[_0x4b69e0(0x257)](utils[_0x4b69e0(0x265)](_0xa3fc8f[_0x4b69e0(0x2d2)]));continue;case'2':this[_0x4b69e0(0x237)](this[_0x4b69e0(0x266)]()+_0x4b69e0(0x28b)+utils[_0x4b69e0(0x257)](_0xa3fc8f[_0x4b69e0(0x24f)])+'</dt>');continue;case'3':this['docAppend'](this[_0x4b69e0(0x266)]()+_0x4b69e0(0x28b)+utils[_0x4b69e0(0x257)](_0xa3fc8f[_0x4b69e0(0x28f)])+_0x4b69e0(0x21b));continue;case'4':this[_0x4b69e0(0x237)](this[_0x4b69e0(0x266)]()+_0x4b69e0(0x307)+utils[_0x4b69e0(0x257)](_0xa3fc8f[_0x4b69e0(0x305)])+_0x4b69e0(0x207));continue;}break;}}}if(_0x1f7baf[_0x4b69e0(0x2c2)](testhubUtils[_0x4b69e0(0x249)](testHubConstants[_0x4b69e0(0x275)]['HookFinished']),!![])){if(!_0xa3fc8f['markedStatus']){_0xa3fc8f['markedStatus']=!![];if(_0xa3fc8f['testAnalyticsId'])await this[_0x4b69e0(0x1ea)](_0xa3fc8f,_0x287b54);else _0xa3fc8f['hookAnalyticsId']&&await this['sendTestRunEvent'](_0xa3fc8f,_0x287b54,![],_0x1f7baf[_0x4b69e0(0x1ec)]);}}})['on'](EVENT_TEST_PENDING,async _0x1aaa8f=>{const _0x46f00d=_0x54047e;this[_0x46f00d(0x21a)][_0x46f00d(0x256)]({'title':_0x1aaa8f[_0x46f00d(0x28f)],'suite':_0x1aaa8f[_0x46f00d(0x1ff)][_0x46f00d(0x28f)],'state':_0x1aaa8f[_0x46f00d(0x2a4)],'err':{},'fullTitle':_0x1aaa8f[_0x46f00d(0x2d0)](),'speed':_0x1aaa8f[_0x46f00d(0x1c0)],'currentRetry':_0x1aaa8f[_0x46f00d(0x234)](),'titlePathV':_0x1aaa8f[_0x46f00d(0x22a)]()}),_0x1f7baf['VxPOh'](this['type'],_0x1f7baf[_0x46f00d(0x277)])&&process[_0x46f00d(0x253)][_0x46f00d(0x2c0)](Base['color'](_0x1f7baf[_0x46f00d(0x210)],Base[_0x46f00d(0x28a)][_0x46f00d(0x229)])),_0x1f7baf[_0x46f00d(0x231)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x1aaa8f[_0x46f00d(0x223)]&&(_0x1aaa8f[_0x46f00d(0x223)]=_0x1f7baf[_0x46f00d(0x306)](uuidv4)),!_0x1aaa8f[_0x46f00d(0x255)]&&(_0x1aaa8f[_0x46f00d(0x255)]=!![],await this[_0x46f00d(0x1ea)](_0x1aaa8f,undefined,![],_0x1f7baf['tdJwt'])));})['on'](EVENT_TEST_BEGIN,async _0x51d3c7=>{const _0x73a7ab=_0x54047e;_0x1f7baf[_0x73a7ab(0x20f)](testhubUtils[_0x73a7ab(0x249)](),!![])&&await this[_0x73a7ab(0x261)](_0x51d3c7);})['on'](EVENT_TEST_END,async _0x57dfe4=>{const _0x23f4a4=_0x54047e;_0x1f7baf[_0x23f4a4(0x231)](testhubUtils[_0x23f4a4(0x249)](),!![])&&(!_0x57dfe4[_0x23f4a4(0x255)]&&(_0x57dfe4[_0x23f4a4(0x255)]=!![],await this[_0x23f4a4(0x1ea)](_0x57dfe4)));})[_0x54047e(0x2e4)](EVENT_RUN_END,async()=>{const _0x5022dc=_0x54047e;try{if(_0x1f7baf[_0x5022dc(0x240)](testhubUtils['shouldProcessEventForTesthub'](),!![])){const _0x4c62ed=_0x1f7baf[_0x5022dc(0x2fe)](getHookSkippedTests,this[_0x5022dc(0x2de)]['suite']);for(const _0x24beee of _0x4c62ed){!_0x24beee['testAnalyticsId']&&(_0x24beee[_0x5022dc(0x223)]=_0x1f7baf['Lghqx'](uuidv4)),await this[_0x5022dc(0x1ea)](_0x24beee,undefined,![],_0x1f7baf['tdJwt']);}}}catch(_0x10dda8){_0x1f7baf[_0x5022dc(0x259)](debug,_0x5022dc(0x1e1)+_0x10dda8);}await requestQueueHandler[_0x5022dc(0x21f)](),_0x1f7baf[_0x5022dc(0x1ca)](this[_0x5022dc(0x219)],_0x1f7baf['gQsom'])&&Base[_0x5022dc(0x21c)](this[_0x5022dc(0x20e)]);});if(this['type']&&![_0x1f7baf[_0x54047e(0x23f)],_0x1f7baf[_0x54047e(0x279)],_0x1f7baf[_0x54047e(0x2f6)],_0x1f7baf[_0x54047e(0x277)]]['includes'](this[_0x54047e(0x219)])){const _0x292c0e=this[_0x54047e(0x219)][_0x54047e(0x239)]();this[_0x54047e(0x2ef)]=null;try{this['Reporter']=_0x1f7baf[_0x54047e(0x1de)](requireModule,_0x54047e(0x21e)+_0x292c0e+_0x54047e(0x2d7),_0x1f7baf['RDqGW']);}catch(_0x5e95c6){_0x1f7baf[_0x54047e(0x2d8)](debug,_0x54047e(0x283)+_0x5e95c6);}if(_0x1f7baf[_0x54047e(0x2c7)](this[_0x54047e(0x2ef)],null))try{this['Reporter']=_0x1f7baf[_0x54047e(0x2bf)](require,_0x292c0e);}catch(_0x30b8b6){console['error']('Failed\x20to\x20load\x20reporter\x20'+_0x292c0e);}if(_0x1f7baf[_0x54047e(0x297)](this[_0x54047e(0x2ef)],null)){const _0x35d9f6={};_0x35d9f6['reporterOptions']=_0x598bb1[_0x54047e(0x294)],this[_0x54047e(0x2ef)]=new this[(_0x54047e(0x2ef))](_0x323aed,_0x35d9f6);}}}[a31_0x555121(0x266)](){const _0x3d0909=a31_0x555121,_0x4ab04e={'vdQGK':function(_0xabd190,_0x827f62){return _0xabd190(_0x827f62);}};return _0x4ab04e[_0x3d0909(0x26e)](Array,this[_0x3d0909(0x1dd)])[_0x3d0909(0x209)]('\x20\x20');}[a31_0x555121(0x228)](){this['_indents']++;}[a31_0x555121(0x276)](){this['_indents']--;}[a31_0x555121(0x237)](_0x346465){const _0x266e3c=a31_0x555121;this[_0x266e3c(0x20e)]+=_0x346465;}[a31_0x555121(0x1ed)](_0x8cb6e8,_0xdecabc){const _0x1e6e3d=a31_0x555121,_0x50d1e6={'plZVo':function(_0x4d61ba,_0x1811b7){return _0x4d61ba(_0x1811b7);}},_0x1dfd9c={};_0x1dfd9c[_0x1e6e3d(0x245)]=_0x8cb6e8,_0x1dfd9c[_0x1e6e3d(0x21a)]=this[_0x1e6e3d(0x1da)],_0x50d1e6[_0x1e6e3d(0x301)](_0xdecabc,_0x1dfd9c);}[a31_0x555121(0x22e)](){const _0x373e30=a31_0x555121;process[_0x373e30(0x20a)](_0x373e30(0x2b4)+process[_0x373e30(0x1c5)]),process['on'](_0x373e30(0x2b4)+process[_0x373e30(0x1c5)],this[_0x373e30(0x1d3)][_0x373e30(0x1cc)](this)),process['removeAllListeners'](_0x373e30(0x1fa)+process[_0x373e30(0x1c5)]),process['on']('bs:addPlatformDetails:'+process['pid'],this[_0x373e30(0x1f6)][_0x373e30(0x1cc)](this));}[a31_0x555121(0x261)]=async _0x19f65b=>{const _0x534706=a31_0x555121,_0x2e4dbc={'UpcFc':function(_0x2577dd){return _0x2577dd();},'cTiXk':_0x534706(0x27a),'VjNtZ':function(_0x551f5e,_0x4cb4e5){return _0x551f5e>_0x4cb4e5;},'xCfQz':function(_0x1ab757,_0x42ca25){return _0x1ab757===_0x42ca25;},'Pwlpb':'TestRunStarted','nKMma':function(_0x2acbae,_0x19ea2b){return _0x2acbae(_0x19ea2b);}};try{const _0xf5602f=this[_0x534706(0x298)];this['current_test']=_0x19f65b,_0x19f65b[_0x534706(0x284)]=null,_0x19f65b[_0x534706(0x223)]=_0x2e4dbc[_0x534706(0x1e6)](uuidv4),globals[_0x534706(0x288)](_0x2e4dbc[_0x534706(0x1e3)],_0x19f65b[_0x534706(0x223)]),global[_0x534706(0x23c)]=global[_0x534706(0x23c)]||{},global[_0x534706(0x23c)]['currentTest']=global[_0x534706(0x23c)][_0x534706(0x25b)]||{},global['__workerDetails'][_0x534706(0x25b)][_0x534706(0x2c5)]=_0x19f65b[_0x534706(0x223)],_0x19f65b['started_at']=new Date()[_0x534706(0x2ce)](),_0x2e4dbc[_0x534706(0x25c)](_0x19f65b[_0x534706(0x285)],0x0)&&_0xf5602f&&_0x2e4dbc[_0x534706(0x2d6)](_0xf5602f[_0x534706(0x28f)],_0x19f65b['title'])?(_0x19f65b[_0x534706(0x284)]=_0xf5602f[_0x534706(0x223)],await this[_0x534706(0x1ea)](_0x19f65b,undefined,![],_0x2e4dbc[_0x534706(0x2f7)]),_0xf5602f[_0x534706(0x2a4)]=STATE_FAILED,await this[_0x534706(0x1ea)](_0xf5602f,undefined,!![])):await this[_0x534706(0x1ea)](_0x19f65b,undefined,![],_0x2e4dbc[_0x534706(0x2f7)]);}catch(_0x13af81){_0x2e4dbc['nKMma'](debug,_0x534706(0x267)+_0x13af81);}};[a31_0x555121(0x1ea)]=async(_0x3efcaf,_0x501082=undefined,_0x4e2eb3=![],_0x259500=a31_0x555121(0x2ca))=>{const _0x1df20c=a31_0x555121,_0x25c15a={'qwgdU':function(_0x2d76fb,_0x85057e){return _0x2d76fb===_0x85057e;},'wTeBa':function(_0x2f8cef,_0x48a89d){return _0x2f8cef!==_0x48a89d;},'hgGDJ':_0x1df20c(0x2a5),'rHQnY':_0x1df20c(0x305),'fjVAM':function(_0x132e15,_0x2a4304){return _0x132e15!==_0x2a4304;},'AmCQL':_0x1df20c(0x281),'UGVml':_0x1df20c(0x2c9),'KlYoV':_0x1df20c(0x2a8),'nwZTQ':function(_0x3595f4,_0x3d1bde){return _0x3595f4===_0x3d1bde;},'WLiib':_0x1df20c(0x236),'MxYVe':_0x1df20c(0x1c4),'bACVD':function(_0x6834f1,_0x9be40b){return _0x6834f1-_0x9be40b;},'hGVwM':'AssertionError','CKACo':_0x1df20c(0x2ad),'luZkr':_0x1df20c(0x2ca),'BfuxE':_0x1df20c(0x270),'VZLJK':function(_0x40f0a5){return _0x40f0a5();},'mHehF':_0x1df20c(0x272),'LDhKa':_0x1df20c(0x302),'qXQiv':function(_0x28f228,_0x57a19c){return _0x28f228(_0x57a19c);},'IOCwM':function(_0xabc5b9,_0x548390){return _0xabc5b9===_0x548390;},'arrju':_0x1df20c(0x24e),'ytaVx':_0x1df20c(0x2ed),'JUmzj':_0x1df20c(0x1d5),'LfesE':function(_0x10c66f,_0x52b18f){return _0x10c66f===_0x52b18f;},'BJoiX':_0x1df20c(0x2e8),'YOrhR':_0x1df20c(0x2ae),'zMiLs':_0x1df20c(0x1f8),'MUETu':_0x1df20c(0x217),'miGHV':'failure_reason_expanded','dMhli':_0x1df20c(0x282),'VEvmw':function(_0x3926ad,_0x84f631){return _0x3926ad(_0x84f631);},'jlZCT':function(_0x28e624,_0x401e48){return _0x28e624===_0x401e48;},'lQEey':_0x1df20c(0x203),'sBzRX':_0x1df20c(0x2f1),'UUTNo':'test_run'};try{if(_0x3efcaf['body']&&_0x3efcaf['body'][_0x1df20c(0x24b)](/browserstack internal helper hook/))return;let _0xadb4d2=[];if(_0x25c15a[_0x1df20c(0x247)](_0x3efcaf[_0x1df20c(0x2a4)],STATE_FAILED)){if(_0x25c15a['wTeBa'](_0x3efcaf[_0x1df20c(0x305)],undefined))_0xadb4d2=_0x3efcaf[_0x1df20c(0x305)]['multiple']?[_0x3efcaf[_0x1df20c(0x305)][_0x1df20c(0x2df)],_0x25c15a[_0x1df20c(0x2e2)]]:[_0x3efcaf['err'],_0x25c15a[_0x1df20c(0x299)]];else _0x25c15a[_0x1df20c(0x1cf)](_0x501082,undefined)?_0xadb4d2=[_0x501082,_0x25c15a[_0x1df20c(0x299)]]:_0xadb4d2=[];}const _0x5664df=_0x25c15a[_0x1df20c(0x1cf)](_0x3efcaf[_0x1df20c(0x305)],undefined)?_0x3efcaf[_0x1df20c(0x305)][_0x1df20c(0x250)]():_0x25c15a[_0x1df20c(0x1cf)](_0x501082,undefined)?_0x501082['toString']():undefined;let _0x22b3d8;try{_0x22b3d8=this[_0x1df20c(0x287)](_0x3efcaf);}catch(_0x4070c0){_0x22b3d8=null;}const _0x8f7abb=_0x22b3d8?this[_0x1df20c(0x222)](_0x22b3d8):null,_0x218b20=_0x22b3d8?this['_paths'][_0x1df20c(0x29b)](this[_0x1df20c(0x287)](_0x3efcaf)):_0x25c15a['AmCQL'],_0x2d4da4={'framework':_0x25c15a['UGVml'],'uuid':_0x3efcaf[_0x1df20c(0x223)]||_0x3efcaf[_0x1df20c(0x243)],'name':_0x3efcaf['title'],'body':{'lang':_0x25c15a[_0x1df20c(0x206)],'code':_0x3efcaf[_0x1df20c(0x2d2)]},'scope':this[_0x1df20c(0x2b9)](_0x3efcaf),'scopes':this[_0x1df20c(0x2e5)](_0x3efcaf),'identifier':_0x3efcaf[_0x1df20c(0x2d0)](),'file_name':_0x218b20,'vc_filepath':_0x8f7abb?path[_0x1df20c(0x29c)](_0x8f7abb,_0x22b3d8):null,'location':_0x218b20,'result':_0x25c15a['nwZTQ'](_0x259500,_0x25c15a[_0x1df20c(0x1e8)])?_0x25c15a[_0x1df20c(0x295)]:this[_0x1df20c(0x235)](_0x3efcaf[_0x1df20c(0x2a4)]),'failure_reason':_0x5664df,'duration_in_ms':_0x3efcaf[_0x1df20c(0x226)]||(_0x259500['match'](/Finished/)||_0x259500['match'](/Skipped/)?_0x25c15a[_0x1df20c(0x23b)](Date[_0x1df20c(0x2cc)](),new Date(_0x3efcaf['started_at'])['getTime']()):null),'started_at':_0x3efcaf[_0x1df20c(0x272)],'finished_at':_0x259500[_0x1df20c(0x24b)](/Finished/)||_0x259500['match'](/Skipped/)?new Date()[_0x1df20c(0x2ce)]():null,'failure':failureData[_0x1df20c(0x286)](null,_0xadb4d2),'failure_type':!_0x5664df?null:_0x5664df['match'](/AssertionError/)?_0x25c15a[_0x1df20c(0x2a3)]:_0x25c15a[_0x1df20c(0x2bc)],'retry_of':_0x3efcaf['retryOf']};if([_0x25c15a[_0x1df20c(0x1e8)],_0x25c15a[_0x1df20c(0x26b)],_0x25c15a[_0x1df20c(0x20d)]][_0x1df20c(0x2bb)](_0x259500)){if(_0x25c15a[_0x1df20c(0x22f)](getCentralUser)[_0x1df20c(0x20b)]){const _0x48ee3b=TestMetadata[_0x1df20c(0x1c8)](_0x3efcaf['testAnalyticsId']);if(_0x48ee3b){const _0x3f0522={};_0x3f0522[_0x1df20c(0x20b)]=_0x48ee3b,Object[_0x1df20c(0x233)](_0x2d4da4,_0x3f0522);}}}testhubUtils['appendTesthubParams'](_0x2d4da4,_0x259500,_0x3efcaf,FRAMEWORKS[_0x1df20c(0x2cd)]);(_0x3efcaf['responseCode']||_0x3efcaf[_0x1df20c(0x1cb)])&&centralScannerUtils[_0x1df20c(0x2cb)](_0x2d4da4,_0x3efcaf[_0x1df20c(0x1c9)],_0x3efcaf[_0x1df20c(0x1cb)]);_0x25c15a[_0x1df20c(0x247)](_0x259500,_0x25c15a[_0x1df20c(0x1e8)])&&!_0x2d4da4[_0x25c15a[_0x1df20c(0x2fa)]]&&(_0x2d4da4[_0x25c15a[_0x1df20c(0x2fa)]]=_0x2d4da4[_0x25c15a[_0x1df20c(0x25d)]]);if(_0x259500[_0x1df20c(0x24b)](/HookRun/))[_0x2d4da4[_0x1df20c(0x203)],_0x2d4da4['name']]=_0x25c15a[_0x1df20c(0x2d9)](getHookDetails,_0x3efcaf['fullTitle']()||_0x3efcaf[_0x1df20c(0x25f)]||_0x3efcaf['title']),_0x25c15a[_0x1df20c(0x1f3)](_0x259500,_0x25c15a[_0x1df20c(0x2aa)])&&(_0x25c15a[_0x1df20c(0x1cf)](_0x2d4da4[_0x1df20c(0x2e6)],_0x25c15a[_0x1df20c(0x28c)])&&(_0x2d4da4[_0x1df20c(0x2e6)]=_0x25c15a[_0x1df20c(0x2e7)]),_0x25c15a[_0x1df20c(0x29a)](_0x2d4da4[_0x1df20c(0x203)],_0x25c15a[_0x1df20c(0x278)])&&_0x25c15a['qwgdU'](_0x2d4da4[_0x1df20c(0x2e6)],_0x25c15a[_0x1df20c(0x28c)])&&!_0x3efcaf[_0x1df20c(0x303)][_0x1df20c(0x25b)][_0x1df20c(0x255)]&&(_0x3efcaf[_0x1df20c(0x303)][_0x1df20c(0x25b)]['markedStatus']=!![],_0x3efcaf['ctx'][_0x1df20c(0x25b)][_0x1df20c(0x2a4)]=STATE_FAILED,await this[_0x1df20c(0x1ea)](_0x3efcaf[_0x1df20c(0x303)]['currentTest'],undefined,!![])));else _0x259500[_0x1df20c(0x24b)](/TestRun/)&&_0x25c15a[_0x1df20c(0x2d9)](mapTestHooks,_0x3efcaf);const _0x348331=_0x2d4da4[_0x25c15a[_0x1df20c(0x20c)]][0x0];_0x348331&&(_0x2d4da4[_0x25c15a[_0x1df20c(0x215)]]=_0x348331[_0x25c15a[_0x1df20c(0x241)]],_0x2d4da4[_0x25c15a[_0x1df20c(0x246)]]=_0x348331[_0x25c15a[_0x1df20c(0x1eb)]]);[_0x25c15a[_0x1df20c(0x26b)],_0x25c15a[_0x1df20c(0x1e8)]][_0x1df20c(0x2bb)](_0x259500)&&(this[_0x1df20c(0x2d3)][_0x1df20c(0x256)](_0x2d4da4),_0x2d4da4[_0x1df20c(0x280)]=_0x25c15a['VEvmw'](getHooksForTest,_0x3efcaf));const _0x5a270c={'event_type':_0x25c15a[_0x1df20c(0x1d9)](_0x259500,_0x25c15a[_0x1df20c(0x1e8)])?_0x25c15a[_0x1df20c(0x26b)]:_0x259500};_0x259500[_0x1df20c(0x24b)](/HookRun/)?(_0x2d4da4[_0x25c15a['lQEey']]=HOOK_TYPES_MAP[_0x2d4da4[_0x25c15a['lQEey']]],_0x5a270c[_0x25c15a[_0x1df20c(0x28d)]]=_0x2d4da4):_0x5a270c[_0x25c15a[_0x1df20c(0x2bd)]]=_0x2d4da4,testhubUtils[_0x1df20c(0x2b1)](FRAMEWORKS[_0x1df20c(0x2cd)],_0x5a270c),await SessionHandler[_0x1df20c(0x2e3)](_0x5a270c);}catch(_0x4cecbb){_0x25c15a['VEvmw'](debug,_0x1df20c(0x1e0)+_0x259500+_0x1df20c(0x2e0)+_0x4cecbb);}};[a31_0x555121(0x222)](_0x46c01d){const _0x240bf0=a31_0x555121,_0x5dd3cc={};_0x5dd3cc[_0x240bf0(0x1ef)]=function(_0x2dae84,_0x3d8836){return _0x2dae84===_0x3d8836;},_0x5dd3cc[_0x240bf0(0x2e1)]=function(_0x455d78,_0x1c8efe){return _0x455d78===_0x1c8efe;},_0x5dd3cc[_0x240bf0(0x22c)]=_0x240bf0(0x2c8),_0x5dd3cc[_0x240bf0(0x2db)]=_0x240bf0(0x1ce);const _0x17c618=_0x5dd3cc,_0x43b9b4=path['sep'];if(_0x17c618[_0x240bf0(0x1ef)](_0x46c01d,null)||_0x17c618[_0x240bf0(0x1ef)](_0x46c01d,'')||_0x17c618[_0x240bf0(0x1ef)](_0x46c01d,_0x43b9b4)||_0x17c618['yTfge'](_0x46c01d,path[_0x240bf0(0x1f2)](_0x46c01d)))return null;try{return fs[_0x240bf0(0x26c)](path[_0x240bf0(0x209)](_0x46c01d,_0x17c618[_0x240bf0(0x22c)],_0x17c618[_0x240bf0(0x2db)])),_0x46c01d;}catch(_0x326de0){const _0x2c9a82=path['dirname'](_0x46c01d);return this[_0x240bf0(0x222)](_0x2c9a82);}}[a31_0x555121(0x1d3)]=async _0xab6f2a=>{const _0x5c2d6e=a31_0x555121,_0x300833={'tWTCJ':_0x5c2d6e(0x2c6),'ZxgNt':function(_0xf7feb9,_0x468972){return _0xf7feb9(_0x468972);}};try{this[_0x5c2d6e(0x221)]&&!this[_0x5c2d6e(0x221)]['markedStatus']&&(_0xab6f2a['hook_run_uuid']=this[_0x5c2d6e(0x221)]['hookAnalyticsId']);!_0xab6f2a['hook_run_uuid']&&this[_0x5c2d6e(0x298)]&&!this[_0x5c2d6e(0x298)][_0x5c2d6e(0x255)]&&(_0xab6f2a[_0x5c2d6e(0x300)]=this[_0x5c2d6e(0x298)][_0x5c2d6e(0x223)]);if(_0xab6f2a['hook_run_uuid']||_0xab6f2a[_0x5c2d6e(0x300)]){const _0x2eb99f={};_0x2eb99f['event_type']=_0x300833[_0x5c2d6e(0x2ab)],_0x2eb99f[_0x5c2d6e(0x1f5)]=[_0xab6f2a],await SessionHandler[_0x5c2d6e(0x2e3)](_0x2eb99f);}}catch(_0x228c2c){_0x300833['ZxgNt'](debug,_0x5c2d6e(0x1db)+constants[_0x5c2d6e(0x2cf)]+_0x5c2d6e(0x2e0)+_0x228c2c);}};['appendTestPlatform']=async _0x508deb=>{const _0xcfdfa6=a31_0x555121,_0x1ce982={'cjRsh':_0xcfdfa6(0x1fc),'wrrTT':_0xcfdfa6(0x1fe),'ioQQN':function(_0x1f1fa3,_0x4a93b6){return _0x1f1fa3(_0x4a93b6);}};try{const _0x48af8b={};_0x48af8b[_0xcfdfa6(0x1e2)]=_0x508deb[_0xcfdfa6(0x1e2)]||this[_0xcfdfa6(0x298)][_0xcfdfa6(0x223)],_0x48af8b[_0xcfdfa6(0x264)]=_0x508deb[_0x1ce982[_0xcfdfa6(0x2fc)]];const _0x1c160a=_0x48af8b,_0x2ead7e={};_0x2ead7e[_0xcfdfa6(0x242)]=_0x1ce982[_0xcfdfa6(0x1e4)],_0x2ead7e[_0xcfdfa6(0x2b8)]=_0x1c160a,await SessionHandler[_0xcfdfa6(0x2e3)](_0x2ead7e);}catch(_0x36a260){_0x1ce982[_0xcfdfa6(0x2f3)](debug,_0xcfdfa6(0x2d4)+constants[_0xcfdfa6(0x2cf)]+_0xcfdfa6(0x2e0)+_0x36a260);}};[a31_0x555121(0x235)](_0x45526b){const _0x1759c9=a31_0x555121,_0x1c99e3={};_0x1c99e3['qxokQ']=_0x1759c9(0x1d5),_0x1c99e3['pSRvk']=_0x1759c9(0x218),_0x1c99e3[_0x1759c9(0x23e)]=_0x1759c9(0x2ed);const _0x40fe47=_0x1c99e3,_0x833ef2={};return _0x833ef2[STATE_PASSED]=_0x40fe47[_0x1759c9(0x2dc)],_0x833ef2[STATE_PENDING]=_0x40fe47[_0x1759c9(0x1e9)],_0x833ef2[STATE_FAILED]=_0x40fe47[_0x1759c9(0x23e)],_0x833ef2[_0x45526b];}[a31_0x555121(0x2b9)](_0x4a41ab){const _0x4d3497=a31_0x555121,_0x1c3fd9={};_0x1c3fd9[_0x4d3497(0x1c7)]=function(_0x473684,_0x52b4ec){return _0x473684-_0x52b4ec;};const _0x555d4f=_0x1c3fd9,_0x1dd2b7=_0x4a41ab['titlePath']();return _0x1dd2b7[_0x4d3497(0x1f4)](0x0,_0x555d4f[_0x4d3497(0x1c7)](_0x1dd2b7[_0x4d3497(0x273)],0x1))[_0x4d3497(0x209)]('\x20');}[a31_0x555121(0x2e5)](_0x317079){const _0x240e3e=a31_0x555121,_0x291774={};_0x291774[_0x240e3e(0x214)]=function(_0x71f180,_0x25dbe7){return _0x71f180-_0x25dbe7;};const _0x1c8f07=_0x291774,_0x3ee07d=_0x317079['titlePath']();return _0x3ee07d['slice'](0x0,_0x1c8f07[_0x240e3e(0x214)](_0x3ee07d[_0x240e3e(0x273)],0x1));}['getRootParentFile'](_0x41c394){const _0x262256=a31_0x555121,_0x530d8a={};_0x530d8a[_0x262256(0x238)]=function(_0x3ced0a,_0x23d47d){return _0x3ced0a>_0x23d47d;};const _0x2bf8ce=_0x530d8a;if(_0x41c394[_0x262256(0x24f)])return _0x41c394[_0x262256(0x24f)];if(_0x41c394[_0x262256(0x303)]){const _0x54a9ba=_0x41c394['ctx'][_0x262256(0x25b)]?this[_0x262256(0x287)](_0x41c394[_0x262256(0x303)][_0x262256(0x25b)]):null;if(_0x54a9ba)return _0x54a9ba;}if(_0x41c394[_0x262256(0x1ff)]){const _0x27e859=this[_0x262256(0x287)](_0x41c394[_0x262256(0x1ff)])||(_0x41c394[_0x262256(0x1ff)]['ctx']&&_0x41c394[_0x262256(0x1ff)]['ctx'][_0x262256(0x25b)]?this[_0x262256(0x287)](_0x41c394['parent'][_0x262256(0x303)][_0x262256(0x25b)]):null);if(_0x27e859)return _0x27e859;_0x41c394[_0x262256(0x1ff)][_0x262256(0x212)]&&_0x2bf8ce[_0x262256(0x238)](_0x41c394[_0x262256(0x1ff)]['suites']['length'],0x0)&&_0x41c394[_0x262256(0x1ff)][_0x262256(0x212)][_0x262256(0x26d)](_0x46077d=>{const _0x285391=_0x46077d['ctx']?this['getRootParentFile'](_0x46077d['ctx']):null;if(_0x285391)return _0x285391;});}return null;}}module[a31_0x555121(0x2eb)]=MyReporter;