browserstack-node-sdk 1.55.1 → 1.55.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 (198) 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 +4 -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/newman/command.js +1 -1
  79. package/src/bin/newman/helper.js +1 -1
  80. package/src/bin/newman/reporter/index.js +1 -1
  81. package/src/bin/newman/scriptRunner.js +1 -1
  82. package/src/bin/nightwatch/command.js +1 -1
  83. package/src/bin/playwright/accessibility-helper.js +1 -1
  84. package/src/bin/playwright/command.js +1 -1
  85. package/src/bin/playwright/globalSetup.js +1 -1
  86. package/src/bin/playwright/mock-process.js +1 -1
  87. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  88. package/src/bin/playwright/patches.js +1 -1
  89. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  90. package/src/bin/playwright/reporter/reporter.js +1 -1
  91. package/src/bin/playwright/reporter/test-details.js +1 -1
  92. package/src/bin/playwright/sessionDetails.js +1 -1
  93. package/src/bin/puppeteer/patches.js +1 -1
  94. package/src/bin/puppeteer/sessionDetails.js +1 -1
  95. package/src/bin/puppeteer/test.setup.js +1 -1
  96. package/src/bin/runner.js +1 -1
  97. package/src/bin/setup.js +1 -1
  98. package/src/bin/test-runner/index.js +1 -1
  99. package/src/bin/test-runner/runTest.js +1 -1
  100. package/src/bin/test-runner/testWorker.js +1 -1
  101. package/src/bin/utils/apiUtilityMethods.js +1 -1
  102. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  103. package/src/bin/utils/constants.js +1 -1
  104. package/src/bin/utils/log4jsAppender.js +1 -1
  105. package/src/bin/utils/logPatcher.js +1 -1
  106. package/src/bin/utils/logReportingAPI.js +1 -1
  107. package/src/bin/utils/playwright-patcher.js +1 -1
  108. package/src/bin/utils/puppeteer-patcher.js +1 -1
  109. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  110. package/src/bin/utils/sharedUtils.js +1 -1
  111. package/src/bin/v2/TestInfo.js +1 -1
  112. package/src/bin/v2/browserstackCLI.js +1 -1
  113. package/src/bin/v2/cliUtils.js +1 -1
  114. package/src/bin/v2/customTagManager.js +1 -1
  115. package/src/bin/v2/eventDispatcher.js +1 -1
  116. package/src/bin/v2/framework/automationFramework.js +1 -1
  117. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  118. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  119. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  120. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  121. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  122. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  123. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  124. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  125. package/src/bin/v2/framework/testFramework.js +1 -1
  126. package/src/bin/v2/grpcClient.js +1 -1
  127. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  128. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  129. package/src/bin/v2/instances/trackedContext.js +1 -1
  130. package/src/bin/v2/instances/trackedInstance.js +1 -1
  131. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  132. package/src/bin/v2/modules/baseModule.js +1 -1
  133. package/src/bin/v2/modules/loadTestModule.js +1 -1
  134. package/src/bin/v2/modules/observabilityModule.js +1 -1
  135. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  136. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  137. package/src/bin/v2/modules/testhubModule.js +1 -1
  138. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  139. package/src/bin/v2/state/hookState.js +1 -1
  140. package/src/bin/v2/state/testFrameworkState.js +1 -1
  141. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  142. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  143. package/src/bin/v2/utils/jest-utils.js +1 -1
  144. package/src/bin/vanilla-js/command.js +1 -1
  145. package/src/browserStackSdk.js +1 -1
  146. package/src/helpers/BrowserStackSetup.js +1 -1
  147. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  148. package/src/helpers/accessibility-automation/constants.js +1 -1
  149. package/src/helpers/accessibility-automation/helper.js +1 -1
  150. package/src/helpers/accessibility-automation/scripts.js +1 -1
  151. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  152. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  153. package/src/helpers/ats/constants.js +1 -1
  154. package/src/helpers/ats/helper.js +1 -1
  155. package/src/helpers/capsMapping.js +1 -1
  156. package/src/helpers/central-scanner/constants.js +1 -1
  157. package/src/helpers/central-scanner/helpers.js +1 -1
  158. package/src/helpers/classLogger.js +1 -1
  159. package/src/helpers/globals.js +1 -1
  160. package/src/helpers/helper.js +1 -1
  161. package/src/helpers/logger.js +1 -1
  162. package/src/helpers/metadata.js +1 -1
  163. package/src/helpers/patchHelper.js +1 -1
  164. package/src/helpers/patchHelpers.js +1 -1
  165. package/src/helpers/percy/Percy.js +1 -1
  166. package/src/helpers/percy/PercyBinary.js +1 -1
  167. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  168. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  169. package/src/helpers/percy/PercySDK.js +1 -1
  170. package/src/helpers/percy/index.js +1 -1
  171. package/src/helpers/percy/utils.js +1 -1
  172. package/src/helpers/performance/constants.js +1 -1
  173. package/src/helpers/performance/performance-tester.js +1 -1
  174. package/src/helpers/playwright-helper.js +1 -1
  175. package/src/helpers/processHelper.js +1 -1
  176. package/src/helpers/puppeteer-helper.js +1 -1
  177. package/src/helpers/request-spy.js +1 -1
  178. package/src/helpers/setKeepAlive.js +1 -1
  179. package/src/helpers/test-observability/constants.js +1 -1
  180. package/src/helpers/test-observability/error-handler.js +1 -1
  181. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  182. package/src/helpers/test-observability/sessionHandler.js +1 -1
  183. package/src/helpers/test-observability/utils.js +1 -1
  184. package/src/helpers/test-orchestration/constants.js +1 -1
  185. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  186. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  187. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  188. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  189. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  190. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  191. package/src/helpers/testhub/constants.js +1 -1
  192. package/src/helpers/testhub/testhubHandler.js +1 -1
  193. package/src/helpers/testhub/utils.js +1 -1
  194. package/src/helpers/timeoutPromise.js +1 -1
  195. package/src/helpers/utilities.js +1 -1
  196. package/src/helpers/w3cMapping.js +1 -1
  197. package/src/hubAllocationMethods.js +1 -1
  198. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a36_0x5bf7(_0x5a134f,_0x59cdbf){const _0x18cdb5=a36_0x18cd();return a36_0x5bf7=function(_0x5bf774,_0xfa3d3e){_0x5bf774=_0x5bf774-0x6c;let _0x3bd7f9=_0x18cdb5[_0x5bf774];return _0x3bd7f9;},a36_0x5bf7(_0x5a134f,_0x59cdbf);}const a36_0x325ee5=a36_0x5bf7;(function(_0x262695,_0x350682){const _0x5c03f5=a36_0x5bf7,_0x50d242=_0x262695();while(!![]){try{const _0x158b7c=-parseInt(_0x5c03f5(0xdb))/0x1+parseInt(_0x5c03f5(0xaa))/0x2+-parseInt(_0x5c03f5(0x90))/0x3+parseInt(_0x5c03f5(0xe4))/0x4+-parseInt(_0x5c03f5(0xec))/0x5+-parseInt(_0x5c03f5(0x102))/0x6*(-parseInt(_0x5c03f5(0x10d))/0x7)+parseInt(_0x5c03f5(0xf9))/0x8*(-parseInt(_0x5c03f5(0xc2))/0x9);if(_0x158b7c===_0x350682)break;else _0x50d242['push'](_0x50d242['shift']());}catch(_0x184d76){_0x50d242['push'](_0x50d242['shift']());}}}(a36_0x18cd,0xf0524));const util=require(a36_0x325ee5(0x79)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x325ee5(0x11d)),accessibilityRetryHelper=require(a36_0x325ee5(0xfa)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x325ee5(0xb0)),{percyAutoCapture}=require(a36_0x325ee5(0x6f)),{sendPlatformDetails}=require(a36_0x325ee5(0xb4)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x325ee5(0x121)),PerformanceTester=require(a36_0x325ee5(0x11a)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x325ee5(0x93)),globals=require(a36_0x325ee5(0x12e)),logger=require(a36_0x325ee5(0x12f))[a36_0x325ee5(0xd6)],{shouldProcessEventForTesthub}=require(a36_0x325ee5(0x12a)),testHubConstants=require(a36_0x325ee5(0x74));exports[a36_0x325ee5(0x129)]={'beforeAll'(){const _0x270709=a36_0x325ee5,_0x2f7934={'ChSMc':function(_0x52d701,_0x53f3c5,_0x571c82,_0x20cdc4){return _0x52d701(_0x53f3c5,_0x571c82,_0x20cdc4);},'XwKev':'failed','wrIOJ':_0x270709(0xb1),'aiQNF':function(_0x270ae2,_0x583e73,_0x51f219){return _0x270ae2(_0x583e73,_0x51f219);},'XZaPY':'passed','PrzOb':function(_0x46df2f){return _0x46df2f();},'Hhlqf':'index','vlvUE':_0x270709(0x9f)};PerformanceTester['startMonitoring']();const _0x273318='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x270709(0xab)],()=>{const _0x262c02=_0x270709,_0x398b25={'SnAzj':function(_0x7962bb,_0x1d5cd3,_0x1a9bd9,_0x4e2995){return _0x2f7934['ChSMc'](_0x7962bb,_0x1d5cd3,_0x1a9bd9,_0x4e2995);},'QalHu':_0x2f7934[_0x262c02(0xe0)],'yLZyr':_0x2f7934[_0x262c02(0xc8)],'goyJr':function(_0x4442e0,_0x27a635,_0xf87a89){const _0x4f2877=_0x262c02;return _0x2f7934[_0x4f2877(0x97)](_0x4442e0,_0x27a635,_0xf87a89);},'SaxAh':_0x2f7934[_0x262c02(0x78)],'AjCuk':function(_0x2ae60b){const _0x4f2142=_0x262c02;return _0x2f7934[_0x4f2142(0xf1)](_0x2ae60b);}};global['__error_messages__']=[],global['__sessionFailed']=![],global[_0x262c02(0x8f)]=async()=>{const _0x383d5f=_0x262c02;let _0x4fd953=![];try{await global['__drivers'][0x0][_0x383d5f(0x133)],_0x4fd953=!![],global[_0x383d5f(0xa0)]?await _0x398b25[_0x383d5f(0xac)](markSessionStatus,global[_0x383d5f(0xc3)][0x0],_0x398b25[_0x383d5f(0x7a)],global[_0x383d5f(0xd7)][_0x383d5f(0xc5)](_0x398b25[_0x383d5f(0x120)])):await _0x398b25['goyJr'](markSessionStatus,global[_0x383d5f(0xc3)][0x0],_0x398b25[_0x383d5f(0xb5)]);}catch(_0x3845bb){logger[_0x383d5f(0xba)](_0x383d5f(0xc9)+_0x3845bb);}global[_0x383d5f(0xd7)]=[],global[_0x383d5f(0xa0)]=![];if(_0x4fd953)try{try{_0x398b25[_0x383d5f(0x6e)](shouldProcessEventForTesthub)&&(global[_0x383d5f(0xc3)][0x0]&&await _0x398b25['goyJr'](sendPlatformDetails,global[_0x383d5f(0xc3)][0x0],this['currentTest']?this[_0x383d5f(0xf3)][_0x383d5f(0xa3)]:null));}catch(_0x3c9f43){logger[_0x383d5f(0xba)]('Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20'+_0x3c9f43);}await global['__drivers'][0x0]['initQuit']();}catch(_0x4300af){logger[_0x383d5f(0xba)](_0x383d5f(0xa8)+_0x4300af);}};},{'platform':_0x2f7934['aiQNF'](nestedKeyValue,global[_0x270709(0xcf)],[_0x2f7934[_0x270709(0xfe)]]),'hookType':_0x2f7934[_0x270709(0x76)]})();},'beforeEach'(_0x1eed2e){const _0x170862=a36_0x325ee5,_0x3a82ad={'qPhIG':function(_0x51fd34,_0x2d5418){return _0x51fd34>_0x2d5418;},'ARfgt':_0x170862(0xa2),'dYrSz':function(_0x18bf13,_0x48c648,_0x437504){return _0x18bf13(_0x48c648,_0x437504);},'fuetl':function(_0xaae37,_0x2582ee){return _0xaae37===_0x2582ee;},'oZhAn':'bstackA11yShouldScan','ddxNc':'bstackA11yScanOptions','MWPAH':function(_0x194bb6){return _0x194bb6();},'PkJRK':function(_0x583fb3,_0x26e899){return _0x583fb3>_0x26e899;},'OReRP':'isAccessibilityPlatform','iMNTA':_0x170862(0x96),'FcaYQ':function(_0x2de6d8,_0x2d2597){return _0x2de6d8===_0x2d2597;},'liKTG':_0x170862(0x9c),'AZNpu':_0x170862(0xb6),'sJdhr':'Automate\x20test\x20case\x20execution\x20has\x20started.','EAlAG':function(_0x54a4a0){return _0x54a4a0();},'KDoeQ':'browserstackTestName','VVnoF':function(_0x4421ec,_0x4c418b,_0x271b81){return _0x4421ec(_0x4c418b,_0x271b81);},'fsIDO':_0x170862(0xd5),'GRnUl':_0x170862(0x9b)};globals[_0x170862(0x10a)](_0x3a82ad['KDoeQ'],this[_0x170862(0xf3)]['titlePath']()[_0x170862(0xc5)](_0x3a82ad[_0x170862(0x8c)])),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x170862(0xab)],()=>{const _0x2f68ba=_0x170862,_0x3949e5='browserstack internal helper hook';new Promise(async _0xcc1426=>{const _0x2ce4e6=a36_0x5bf7;let _0x142f89=!![];try{_0x3a82ad['qPhIG'](global[_0x2ce4e6(0xc3)][_0x2ce4e6(0x12b)],0x1)&&(await global['driverCleanup'](),global[_0x2ce4e6(0xc3)][_0x2ce4e6(0x111)]()),_0x3a82ad[_0x2ce4e6(0x109)](global[_0x2ce4e6(0xc3)][0x0][_0x2ce4e6(0x104)],0x0)&&(_0x142f89=![],await global[_0x2ce4e6(0x8f)]());}catch(_0x5002cb){logger[_0x2ce4e6(0xba)](_0x2ce4e6(0xa8)+_0x5002cb);}try{Array[_0x2ce4e6(0x89)](global['__drivers'])&&global[_0x2ce4e6(0xc3)][0x0]&&(global[_0x2ce4e6(0xc3)][0x0][_0x2ce4e6(0xd9)]=this['currentTest']['titlePath']()[_0x2ce4e6(0xc5)](_0x3a82ad[_0x2ce4e6(0x8c)])),global[_0x2ce4e6(0xd9)]=this[_0x2ce4e6(0xf3)][_0x2ce4e6(0x7e)]()[_0x2ce4e6(0xc5)](_0x3a82ad[_0x2ce4e6(0x8c)]);}catch(_0x315772){logger[_0x2ce4e6(0xba)](_0x2ce4e6(0xd1)+_0x315772);}this[_0x2ce4e6(0xf3)][_0x2ce4e6(0xc0)]=_0x3a82ad[_0x2ce4e6(0xb9)](shouldScanTestForAccessibility,this[_0x2ce4e6(0xf3)][_0x2ce4e6(0x7e)](),!![]);let _0x34888d=!![];try{const _0x49b550=JSON['parse'](process['env'][_0x2ce4e6(0x92)]||'{}');_0x3a82ad['fuetl'](_0x49b550[_0x2ce4e6(0xb7)],![])&&(_0x34888d=![]);}catch(_0x4256a6){logger[_0x2ce4e6(0xba)](_0x2ce4e6(0xde)+_0x4256a6[_0x2ce4e6(0xe3)]);}const _0x4232a4=_0x34888d&&this[_0x2ce4e6(0xf3)]['shouldScanTestForAccessibility'];globals[_0x2ce4e6(0x10a)](_0x3a82ad[_0x2ce4e6(0x7c)],_0x4232a4),globals[_0x2ce4e6(0x10a)](_0x3a82ad[_0x2ce4e6(0xdd)],null),this['currentTest'][_0x2ce4e6(0xef)]=this['currentTest'][_0x2ce4e6(0xc0)];if(_0x3a82ad[_0x2ce4e6(0xf8)](isAccessibilityAutomationSession)&&_0x142f89&&Array[_0x2ce4e6(0x89)](global[_0x2ce4e6(0xc3)])&&_0x3a82ad[_0x2ce4e6(0x101)](global['__drivers'][_0x2ce4e6(0x12b)],0x0)&&globals['getGlobal'](_0x3a82ad[_0x2ce4e6(0xd3)]))try{const _0x1bed46=await global[_0x2ce4e6(0xc3)][0x0][_0x2ce4e6(0x133)];if(_0x1bed46){let _0x5ae8ab=!![];const _0x561cb6=await global[_0x2ce4e6(0xc3)][0x0]['getCurrentUrl']();let _0x5ba616;try{_0x5ba616=new URL(_0x561cb6),_0x5ae8ab=_0x3a82ad[_0x2ce4e6(0xc6)](_0x5ba616[_0x2ce4e6(0xae)],_0x3a82ad[_0x2ce4e6(0x122)])||_0x3a82ad[_0x2ce4e6(0x7b)](_0x5ba616[_0x2ce4e6(0xae)],_0x3a82ad[_0x2ce4e6(0xfb)]);}catch(_0x5b8d8e){_0x5ae8ab=![];}_0x5ae8ab&&(this[_0x2ce4e6(0xf3)]['shouldScanTestForAccessibility']&&logger['info'](_0x3a82ad[_0x2ce4e6(0xd0)])),this[_0x2ce4e6(0xf3)]['accessibilityScanStarted']=this[_0x2ce4e6(0xf3)]['shouldScanTestForAccessibility'],_0x4232a4&&logger[_0x2ce4e6(0x7d)](_0x3a82ad['sJdhr']);}}catch(_0x16b549){logger[_0x2ce4e6(0x6c)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util['format'](_0x16b549));}_0x3a82ad['EAlAG'](_0xcc1426);})[_0x2f68ba(0x9e)](()=>{const _0x31267a=_0x2f68ba;_0x3a82ad[_0x31267a(0xf8)](_0x1eed2e);});},{'platform':_0x3a82ad[_0x170862(0xb2)](nestedKeyValue,global[_0x170862(0xcf)],[_0x3a82ad['fsIDO']]),'hookType':_0x3a82ad[_0x170862(0xf7)]})();},'afterEach'(_0x3b8354){const _0x2a0a10=a36_0x325ee5,_0x39bd98={'AxMpN':'\x20-\x20','RUHEG':function(_0x400271,_0x3ecbe1){return _0x400271!==_0x3ecbe1;},'jJVBL':'passed','GEXAd':function(_0x525462,_0x5ba4b6,_0xc39d79){return _0x525462(_0x5ba4b6,_0xc39d79);},'zqRuA':function(_0x36afa6,_0x30cd2d){return _0x36afa6+_0x30cd2d;},'VTbYa':_0x2a0a10(0x113),'kFKLw':_0x2a0a10(0x6c),'atQAf':'Passed','KTcOy':_0x2a0a10(0x7d),'uMBIr':function(_0x40e50b,_0x582302){return _0x40e50b>_0x582302;},'EsbkV':function(_0xf12a93,_0x36a2f7){return _0xf12a93===_0x36a2f7;},'dqmKS':_0x2a0a10(0xf5),'yBUcS':_0x2a0a10(0x77),'bAoCf':function(_0x4a23bb,_0x4ac60c,_0x38099d,_0x13c96b){return _0x4a23bb(_0x4ac60c,_0x38099d,_0x13c96b);},'FFlwT':'isAccessibilityPlatform','Abguc':_0x2a0a10(0x135),'ChSyn':_0x2a0a10(0x73),'GxZeI':_0x2a0a10(0x11f),'XHrAB':'afterTest','SdIAD':_0x2a0a10(0x137),'ZRQyI':_0x2a0a10(0x117),'poSYK':_0x2a0a10(0x136),'ETtaU':_0x2a0a10(0xeb),'tutcp':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','kHDVf':_0x2a0a10(0x12c),'nxgMY':function(_0x4235a3){return _0x4235a3();},'lClwj':function(_0xfe1bca,_0x1384aa,_0x3a7ce0){return _0xfe1bca(_0x1384aa,_0x3a7ce0);},'NFTAw':_0x2a0a10(0xba),'dSiVd':function(_0x257951,_0x149202){return _0x257951>_0x149202;},'jehrQ':'Mocha','xmmpa':_0x2a0a10(0xd5),'vcKcd':_0x2a0a10(0xe9)},_0x4b56bb='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x39bd98[_0x2a0a10(0x10f)]]),global[_0x2a0a10(0xbd)]=this[_0x2a0a10(0xf3)][_0x2a0a10(0x7e)]()[_0x2a0a10(0xc5)](_0x39bd98['AxMpN']),PerformanceTester[_0x2a0a10(0x70)](PerformanceSdkEvents[_0x2a0a10(0xab)],()=>{const _0xb79580=_0x2a0a10,_0x1b6865={'kPNxn':_0x39bd98[_0xb79580(0x127)],'OgfzJ':function(_0x3ece9a,_0x209456){return _0x39bd98['RUHEG'](_0x3ece9a,_0x209456);},'fCmSt':_0x39bd98[_0xb79580(0xe5)],'CJoGP':function(_0x653e69,_0x53fd6a,_0x42683a){const _0x4fea35=_0xb79580;return _0x39bd98[_0x4fea35(0xf4)](_0x653e69,_0x53fd6a,_0x42683a);},'BEqLA':function(_0x3cb937,_0x44c3a3){const _0x5adf28=_0xb79580;return _0x39bd98[_0x5adf28(0x125)](_0x3cb937,_0x44c3a3);},'KjAcC':_0x39bd98[_0xb79580(0x95)],'eTLto':_0x39bd98[_0xb79580(0x131)],'jUdDM':_0x39bd98[_0xb79580(0xdf)],'Ixytk':_0x39bd98[_0xb79580(0xa5)],'AFtzq':function(_0x59809a,_0x5ab05f){const _0x4f4f98=_0xb79580;return _0x39bd98[_0x4f4f98(0xc7)](_0x59809a,_0x5ab05f);},'gTqUC':function(_0x9bafd5,_0x3f404e){const _0x44d948=_0xb79580;return _0x39bd98[_0x44d948(0xc4)](_0x9bafd5,_0x3f404e);},'qhfCF':_0x39bd98[_0xb79580(0x8e)],'wBrUz':_0x39bd98[_0xb79580(0x81)],'HIldX':function(_0x12b3fe,_0x2f2fd3,_0x11e422,_0x1c9351){const _0x3216fc=_0xb79580;return _0x39bd98[_0x3216fc(0xc1)](_0x12b3fe,_0x2f2fd3,_0x11e422,_0x1c9351);},'bBSoB':_0x39bd98[_0xb79580(0xbc)],'lNEVb':_0x39bd98[_0xb79580(0x86)],'vwRKJ':_0x39bd98[_0xb79580(0x11b)],'QhlpX':_0x39bd98[_0xb79580(0xfc)],'hnHjZ':_0x39bd98[_0xb79580(0x8b)],'GyjSi':_0x39bd98[_0xb79580(0xbb)],'gbBfQ':_0x39bd98[_0xb79580(0xb3)],'IxiSY':_0x39bd98[_0xb79580(0x123)],'FiFqc':_0x39bd98[_0xb79580(0xcb)],'nzqNX':_0x39bd98[_0xb79580(0xe6)],'QwzKJ':_0x39bd98[_0xb79580(0xed)],'gmJdm':function(_0x43f237){const _0x45f2d5=_0xb79580;return _0x39bd98[_0x45f2d5(0x6d)](_0x43f237);},'ResFk':function(_0x369ed2,_0x241c45,_0x127ba9){return _0x39bd98['lClwj'](_0x369ed2,_0x241c45,_0x127ba9);},'cpKbO':_0x39bd98['NFTAw'],'qJWFU':function(_0x4bccff,_0x5901f6){const _0x2df05a=_0xb79580;return _0x39bd98[_0x2df05a(0x118)](_0x4bccff,_0x5901f6);}},_0x1d67ed=async(_0x14ecf7,_0x55a73e)=>{const _0x490061=_0xb79580;await global['__drivers'][0x0][_0x490061(0x119)](_0x490061(0x83)+_0x14ecf7+_0x490061(0x108)+_0x55a73e+'\x22}}');};new Promise(async _0x2cb53e=>{const _0x13aa7e=_0xb79580,_0x5ae088={'xwBFA':_0x1b6865[_0x13aa7e(0xad)],'hyYOS':function(_0x5a6c8d,_0x4ffd44){return _0x1b6865['OgfzJ'](_0x5a6c8d,_0x4ffd44);},'nnAri':_0x1b6865[_0x13aa7e(0x88)],'kmGGe':function(_0x1eeed6,_0x32b8bb,_0x16e128){const _0x476cfb=_0x13aa7e;return _0x1b6865[_0x476cfb(0xea)](_0x1eeed6,_0x32b8bb,_0x16e128);},'BMEMe':function(_0x51b7d2,_0x93bb29){const _0xedab65=_0x13aa7e;return _0x1b6865[_0xedab65(0x8d)](_0x51b7d2,_0x93bb29);},'GMdgz':_0x1b6865['KjAcC'],'NuRSd':_0x1b6865[_0x13aa7e(0xe7)],'ZwRmJ':_0x1b6865[_0x13aa7e(0x138)],'PYQQy':_0x1b6865[_0x13aa7e(0x8a)]};try{_0x1b6865[_0x13aa7e(0x124)](global['__drivers']['length'],0x1)&&(await global['driverCleanup'](),global[_0x13aa7e(0xc3)]['shift'](),global[_0x13aa7e(0xd7)]=[],global['__sessionFailed']=![]);try{if(global[_0x13aa7e(0xca)]&&_0x1b6865[_0x13aa7e(0x139)](global['percyCaptureMode'],_0x1b6865[_0x13aa7e(0xbe)])&&global['__drivers'][0x0]){const _0x2c397b=_0x1b6865['AFtzq'](global[_0x13aa7e(0x106)][_0x13aa7e(0x12b)],0x0)?!!global[_0x13aa7e(0x106)][0x0][_0x13aa7e(0x11c)]||!!global['capabilities'][0x0][_0x1b6865[_0x13aa7e(0xa1)]]:![],_0x24037b={};_0x24037b[_0x13aa7e(0x11c)]=_0x2c397b,await _0x1b6865[_0x13aa7e(0x107)](percyAutoCapture,global[_0x13aa7e(0xc3)][0x0],_0x1b6865[_0x13aa7e(0xbe)],_0x24037b);}}catch(_0x902944){logger[_0x13aa7e(0xba)](_0x13aa7e(0x9d)+_0x902944);}!global[_0x13aa7e(0xd4)]&&(await PerformanceTester[_0x13aa7e(0x70)](PerformanceAutEvents[_0x13aa7e(0x72)],async()=>{const _0x53d19a=_0x13aa7e;await global[_0x53d19a(0xc3)][0x0][_0x53d19a(0x119)](_0x53d19a(0x110)+JSON[_0x53d19a(0xd8)](this['currentTest']['titlePath']()[_0x53d19a(0xc5)](_0x5ae088[_0x53d19a(0xfd)]))+'}}');})(),global[_0x13aa7e(0xc3)][0x0]['sessionNameSet__']=!![]),await PerformanceTester[_0x13aa7e(0x70)](PerformanceAutEvents[_0x13aa7e(0x9a)],async()=>{const _0x1695ba=_0x13aa7e,_0x477ebc=_0x5ae088['hyYOS'](this[_0x1695ba(0xf3)][_0x1695ba(0xa6)],_0x5ae088['nnAri']);_0x477ebc?(global[_0x1695ba(0xa0)]=!![],global[_0x1695ba(0xd7)][_0x1695ba(0x116)](this[_0x1695ba(0xf3)]['err'][_0x1695ba(0xe3)]),await _0x5ae088[_0x1695ba(0x7f)](_0x1d67ed,JSON['stringify'](_0x5ae088[_0x1695ba(0x128)](_0x5ae088[_0x1695ba(0x80)],this[_0x1695ba(0xf3)]['err'][_0x1695ba(0xe3)])),_0x5ae088[_0x1695ba(0xee)])):await _0x5ae088['kmGGe'](_0x1d67ed,JSON[_0x1695ba(0xd8)](_0x5ae088[_0x1695ba(0xdc)]),_0x5ae088[_0x1695ba(0xa9)]);})();}catch(_0x2c33be){logger['debug'](_0x13aa7e(0xf2)+_0x2c33be);}try{if(this[_0x13aa7e(0xf3)]['accessibilityScanStarted']&&globals['getGlobal'](_0x1b6865[_0x13aa7e(0x100)])){logger[_0x13aa7e(0x7d)](_0x1b6865[_0x13aa7e(0xda)]);const _0x309a09={};_0x309a09[_0x13aa7e(0xf6)]=this[_0x13aa7e(0xf3)]['testAnalyticsId'],_0x309a09[_0x13aa7e(0xe8)]=process[_0x13aa7e(0xbf)][testHubConstants[_0x13aa7e(0x134)][_0x13aa7e(0xcd)]],_0x309a09['thJwtToken']=process[_0x13aa7e(0xbf)][testHubConstants[_0x13aa7e(0x134)]['BROWSERSTACK_TESTHUB_JWT']];const _0x3689e4=_0x309a09;logger[_0x13aa7e(0xba)](_0x13aa7e(0xff)+JSON[_0x13aa7e(0xd8)](_0x3689e4));if(globals[_0x13aa7e(0x132)](_0x1b6865[_0x13aa7e(0xaf)])){logger[_0x13aa7e(0xba)](_0x1b6865[_0x13aa7e(0x84)]);const _0xf63be0={};_0xf63be0['command']=_0x1b6865[_0x13aa7e(0x98)];const _0x2bcd76=await PerformanceTester[_0x13aa7e(0x70)](PerformanceA11yEvents[_0x13aa7e(0x126)],async()=>{const _0x2912e2=_0x13aa7e;return await accessibilityRetryHelper[_0x2912e2(0x115)](global[_0x2912e2(0xc3)][0x0],global[_0x2912e2(0xd9)]);},_0xf63be0)();_0x2bcd76?logger['debug'](_0x1b6865['GyjSi']):logger['warn'](_0x1b6865['gbBfQ']);}else logger['debug'](_0x1b6865[_0x13aa7e(0x10c)]);const _0x4dd9c5=await PerformanceTester[_0x13aa7e(0x70)](PerformanceA11yEvents[_0x13aa7e(0xa4)],async()=>{const _0x39b18c=_0x13aa7e;return await accessibilityRetryHelper[_0x39b18c(0x11e)](global[_0x39b18c(0xc3)][0x0],_0x3689e4);})();_0x4dd9c5?logger[_0x13aa7e(0xba)](_0x1b6865['FiFqc']):logger[_0x13aa7e(0x112)](_0x1b6865['nzqNX']),logger[_0x13aa7e(0x7d)](_0x1b6865[_0x13aa7e(0x12d)]);}}catch(_0x2e1755){logger[_0x13aa7e(0x6c)](_0x13aa7e(0x114)+this[_0x13aa7e(0xf3)][_0x13aa7e(0x7e)]()+_0x13aa7e(0x71),_0x2e1755);}try{try{if(_0x1b6865[_0x13aa7e(0xcc)](shouldProcessEventForTesthub)){global[_0x13aa7e(0xc3)][0x0]&&await _0x1b6865[_0x13aa7e(0x10e)](sendPlatformDetails,global[_0x13aa7e(0xc3)][0x0],this[_0x13aa7e(0xf3)]?this[_0x13aa7e(0xf3)][_0x13aa7e(0xa3)]:null);if(_0x1b6865['gmJdm'](isBrowserstackInfra)){PerformanceTester[_0x13aa7e(0xce)](PerformanceO11yEvents['SYNC']);const _0x530856='ObservabilitySync:'+Date[_0x13aa7e(0xe1)]();await _0x1b6865['ResFk'](_0x1d67ed,JSON[_0x13aa7e(0xd8)](_0x530856),_0x1b6865[_0x13aa7e(0x105)]),PerformanceTester[_0x13aa7e(0xe2)](PerformanceO11yEvents['SYNC']);}}}catch(_0x4ef38e){logger[_0x13aa7e(0xba)](_0x13aa7e(0x85)+_0x4ef38e),PerformanceTester['end'](PerformanceO11yEvents['SYNC'],![],_0x4ef38e);}_0x1b6865[_0x13aa7e(0xd2)](global['__drivers'][0x0]['quitCount_'],0x0)&&await global[_0x13aa7e(0x8f)]();}catch(_0x4daf10){logger[_0x13aa7e(0xba)](_0x13aa7e(0xa8)+_0x4daf10);}_0x1b6865[_0x13aa7e(0xcc)](_0x2cb53e);})[_0xb79580(0x9e)](()=>{const _0x23258c=_0xb79580;_0x1b6865[_0x23258c(0xcc)](_0x3b8354);});},{'platform':_0x39bd98[_0x2a0a10(0x130)](nestedKeyValue,global[_0x2a0a10(0xcf)],[_0x39bd98[_0x2a0a10(0x94)]]),'hookType':_0x39bd98[_0x2a0a10(0x75)]})();},'afterAll'(_0x7ca2e8){const _0x1ed1e0=a36_0x325ee5,_0x318d96={'wJLjY':function(_0x5a364e){return _0x5a364e();},'wjzwZ':function(_0x11148b){return _0x11148b();},'ckEJs':_0x1ed1e0(0xb8),'DOJhS':function(_0x1770bf,_0x547d18,_0x80d6f5){return _0x1770bf(_0x547d18,_0x80d6f5);},'WFNzb':'index','mwlPo':_0x1ed1e0(0xa7)},_0x307536='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x318d96[_0x1ed1e0(0x82)]]),PerformanceTester['measureWrapper'](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x364e69=_0x1ed1e0,_0x130ac3={'YuvZG':function(_0x184e18){const _0x26056c=a36_0x5bf7;return _0x318d96[_0x26056c(0x103)](_0x184e18);}};new Promise(async _0x327834=>{const _0xb4423=a36_0x5bf7;await global[_0xb4423(0x8f)](),_0x130ac3[_0xb4423(0x10b)](_0x327834);})[_0x364e69(0x9e)]()[_0x364e69(0x87)](()=>{const _0x370606=_0x364e69;_0x318d96[_0x370606(0xf0)](_0x7ca2e8);});},{'platform':_0x318d96[_0x1ed1e0(0x99)](nestedKeyValue,global[_0x1ed1e0(0xcf)],[_0x318d96['WFNzb']]),'hookType':_0x318d96[_0x1ed1e0(0x91)]})();}};function a36_0x18cd(){const _0x4b05f8=['Failed\x20to\x20store\x20session\x20name:\x20','qJWFU','OReRP','__skipSessionName','index','winstonLogger','__error_messages__','stringify','browserstackSessionName','lNEVb','250549koMuxh','ZwRmJ','ddxNc','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','atQAf','XwKev','now','end','message','7763288eWKMKr','jJVBL','tutcp','eTLto','thBuildUuid','afterEach','CJoGP','Accessibility\x20results\x20saved\x20successfully','2723445nvOTqL','kHDVf','NuRSd','accessibilityScanStarted','wJLjY','PrzOb','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','currentTest','GEXAd','testcase','thTestRunUuid','GRnUl','MWPAH','3280LLLjgb','../../helpers/accessibility-automation/accessibilityRetryHelper','liKTG','GxZeI','xwBFA','Hhlqf','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','bBSoB','PkJRK','18402zWCzJi','wjzwZ','quitCount_','cpKbO','capabilities','HIldX',',\x22level\x22:\x20\x22','qPhIG','setGlobal','YuvZG','IxiSY','2212psEFSV','ResFk','jehrQ','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','shift','warn','Failed:\x20','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','performScanWithRetry','push','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','dSiVd','executeScript','../../helpers/performance/performance-tester','ChSyn','app','../../helpers/accessibility-automation/helper','saveAccessibilityResultsWithRetry','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','yLZyr','../../helpers/helper','iMNTA','poSYK','AFtzq','zqRuA','PERFORM_SCAN','AxMpN','BMEMe','mochaHooks','../../helpers/testhub/utils','length','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','QwzKJ','../../helpers/globals','../../helpers/logger','lClwj','kFKLw','getGlobal','session_','ENV_VAR','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','Accessibility\x20scan\x20completed\x20successfully','jUdDM','gTqUC','error','nxgMY','AjCuk','../../helpers/percy/utils','measureWrapper','.\x20Error\x20:','SESSION_NAME','bstackA11yShouldScan','../../helpers/testhub/constants','vcKcd','vlvUE','appium:app','XZaPY','util','QalHu','FcaYQ','oZhAn','info','titlePath','kmGGe','GMdgz','yBUcS','ckEJs','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','QhlpX','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','Abguc','finally','fCmSt','isArray','Ixytk','XHrAB','ARfgt','BEqLA','dqmKS','driverCleanup','3061008joQUok','mwlPo','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../../helpers/performance/constants','xmmpa','VTbYa','http:','aiQNF','hnHjZ','DOJhS','SESSION_STATUS','beforeEach','https:','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','then','beforeAll','__sessionFailed','wBrUz','\x20-\x20','testAnalyticsId','SAVE_RESULTS','KTcOy','state','afterAll','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','PYQQy','3230432igzyGj','SDK_HOOK','SnAzj','kPNxn','protocol','vwRKJ','../utils/constants','\x20|\x20','VVnoF','ZRQyI','./test-observability/mochaUtils','SaxAh','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','autoScanning','Mocha','dYrSz','debug','SdIAD','FFlwT','sessionName','qhfCF','env','shouldScanTestForAccessibility','bAoCf','37872RacaKC','__drivers','EsbkV','join','fuetl','uMBIr','wrIOJ','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','percy','ETtaU','gmJdm','BROWSERSTACK_TESTHUB_UUID','start','__platformCaps','AZNpu'];a36_0x18cd=function(){return _0x4b05f8;};return a36_0x18cd();}
1
+ const a36_0x4197fa=a36_0x1c19;function a36_0x1c19(_0x2444c0,_0xa4cf28){const _0x7079a9=a36_0x7079();return a36_0x1c19=function(_0x1c19fa,_0x44fe59){_0x1c19fa=_0x1c19fa-0xd8;let _0x4f417d=_0x7079a9[_0x1c19fa];return _0x4f417d;},a36_0x1c19(_0x2444c0,_0xa4cf28);}(function(_0x549185,_0x107705){const _0x13c916=a36_0x1c19,_0x32fb3f=_0x549185();while(!![]){try{const _0x1218fe=parseInt(_0x13c916(0x11a))/0x1+parseInt(_0x13c916(0x19f))/0x2*(-parseInt(_0x13c916(0x176))/0x3)+-parseInt(_0x13c916(0x15d))/0x4*(-parseInt(_0x13c916(0x142))/0x5)+-parseInt(_0x13c916(0x113))/0x6*(parseInt(_0x13c916(0x16c))/0x7)+parseInt(_0x13c916(0x11b))/0x8+-parseInt(_0x13c916(0x10d))/0x9+parseInt(_0x13c916(0x10a))/0xa;if(_0x1218fe===_0x107705)break;else _0x32fb3f['push'](_0x32fb3f['shift']());}catch(_0x45ee02){_0x32fb3f['push'](_0x32fb3f['shift']());}}}(a36_0x7079,0x7f437));const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x4197fa(0x187)),accessibilityRetryHelper=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require('../utils/constants'),{percyAutoCapture}=require(a36_0x4197fa(0xff)),{sendPlatformDetails}=require(a36_0x4197fa(0x163)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x4197fa(0x15e)),PerformanceTester=require(a36_0x4197fa(0x159)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x4197fa(0x123)),globals=require(a36_0x4197fa(0x17f)),logger=require(a36_0x4197fa(0x170))['winstonLogger'],{shouldProcessEventForTesthub}=require(a36_0x4197fa(0xf4)),testHubConstants=require('../../helpers/testhub/constants');function a36_0x7079(){const _0x9d7a6d=['afterEach','thJwtToken','./test-observability/mochaUtils','JQFwS','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','PVndS','\x20-\x20','length','bHfeb','warn','__platformCaps','7AbzkQz','vTJjR','oEeEH','SigKd','../../helpers/logger','qYRgZ','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','push','__error_messages__','getGlobal','66867CBDOBk','thBuildUuid','join','oFtRA','error','Mocha','shouldScanTestForAccessibility','then','HwHUh','../../helpers/globals','__drivers','oIMsS','capabilities','executeScript','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','XQTOf','titlePath','../../helpers/accessibility-automation/helper','env','Accessibility\x20scan\x20completed\x20successfully','WDyqe','getCurrentUrl','XMDhF','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','protocol','DTXVC','stringify','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','mPDuz','measureWrapper','accessibilityScanStarted','YjfJm','start','setGlobal','alhHo','EKiks','SDK_HOOK','index','debug','VHsXI','__skipSessionName','62AxETps','YifHB','rTIKQ','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','hgfMP','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','Accessibility\x20results\x20saved\x20successfully','end','GWqiu','zyIme','quitCount_','pDufD','BpBLN','gOoeU','\x20|\x20','YGNEn','CANpd','SQexQ','LglFL','testAnalyticsId','yqZqO','err','HFskq','\x22}}','lTGtH','state','urMIP','lUSgI','rfQwm','app','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','zrRTw','percy','message','EYBiX','UxHGb','gpoxC','../../helpers/testhub/utils','PJDYX','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','ferVN','__sessionFailed','ZUNqV','passed','fPeGF','soiZN','afterAll','GQjrc','../../helpers/percy/utils','mochaHooks','performScanWithRetry','autoScanning','OWRws','nCLgV','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','NDrXF','EsVFf','OSGat','CbmaB','1930770YObYbW','BROWSERSTACK_TESTHUB_JWT','eAWva','4136229YwVeMw','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','LaeCw','driverCleanup','POFnK','kXmvy','3059538slXlrx','ZcXWO','cJLUe','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','https:','UGXFU','isAccessibilityPlatform','676373OLHCPN','5669432CGTvRF','YjRYY','TKPIY','qMQSn','afterTest','RBWkM','QZEyY','LbquV','../../helpers/performance/constants','bstackA11yShouldScan','aeSuS','browserstackTestName','LcZdg','RVukW','startMonitoring','Automate\x20test\x20case\x20execution\x20has\x20started.','timeout','LmJUy','[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','http:','vyMON','yJshA','FPgQd','session_','SGaeY','PERFORM_SCAN','VtzTG','browserstackSessionName','KozKk','ohbXq','sTiXE','rDPIO','HLrkN','tRbpa','isArray','udAKU','sessionNameSet__','XzusI','currentTest','3018025YBqVvi','SESSION_STATUS','XPVBo','Tibuv','SjXCh','yneIN','Failed:\x20','SYNC','hYbyB','format','dAXyL','percyCaptureMode','ENV_VAR','saveAccessibilityResultsWithRetry','info','VqnaU','FeSxE','BROWSERSTACK_TESTHUB_UUID','JmVhK',',\x22level\x22:\x20\x22','zqwQH','boIwD','zhMAx','../../helpers/performance/performance-tester','command','finally','now','4mLijaV','../../helpers/helper','beforeEach','rRuQj'];a36_0x7079=function(){return _0x9d7a6d;};return a36_0x7079();}exports[a36_0x4197fa(0x100)]={'beforeAll'(){const _0x2c5c78=a36_0x4197fa,_0x5bd000={'SGaeY':function(_0x5628fd,_0xed5467,_0x3e60b4,_0x575791){return _0x5628fd(_0xed5467,_0x3e60b4,_0x575791);},'aeSuS':'failed','vyMON':_0x2c5c78(0xdd),'soiZN':function(_0xb5c948,_0x1b627b,_0x16385c){return _0xb5c948(_0x1b627b,_0x16385c);},'XMDhF':_0x2c5c78(0xfa),'TfqrC':function(_0x85ed9b){return _0x85ed9b();},'hgfMP':function(_0x1c8200,_0x1dc8eb,_0x2afb75){return _0x1c8200(_0x1dc8eb,_0x2afb75);},'mPDuz':_0x2c5c78(0x19b),'UGXFU':'beforeAll'};PerformanceTester[_0x2c5c78(0x129)]();const _0x55b57b='browserstack internal helper hook';PerformanceTester[_0x2c5c78(0x193)](PerformanceSdkEvents[_0x2c5c78(0x19a)],()=>{const _0x493618=_0x2c5c78,_0x1daa6a={'zqwQH':function(_0x430917,_0xd4ce84,_0x2e068e,_0x3c792f){const _0x3c2045=a36_0x1c19;return _0x5bd000[_0x3c2045(0x133)](_0x430917,_0xd4ce84,_0x2e068e,_0x3c792f);},'rDPIO':_0x5bd000[_0x493618(0x125)],'YGNEn':_0x5bd000[_0x493618(0x12f)],'YjRYY':function(_0x3429bf,_0x4ccdd9,_0x35ee58){return _0x5bd000['soiZN'](_0x3429bf,_0x4ccdd9,_0x35ee58);},'aGTOJ':_0x5bd000[_0x493618(0x18c)],'qYRgZ':function(_0x1a689b){return _0x5bd000['TfqrC'](_0x1a689b);},'rJASs':function(_0x13e784,_0x25a387,_0x774371){const _0x3c3880=_0x493618;return _0x5bd000[_0x3c3880(0x1a3)](_0x13e784,_0x25a387,_0x774371);}};global['__error_messages__']=[],global['__sessionFailed']=![],global['driverCleanup']=async()=>{const _0x84d9=_0x493618;let _0x513f71=![];try{await global[_0x84d9(0x180)][0x0][_0x84d9(0x132)],_0x513f71=!![],global[_0x84d9(0xf8)]?await _0x1daa6a[_0x84d9(0x156)](markSessionStatus,global['__drivers'][0x0],_0x1daa6a[_0x84d9(0x13a)],global[_0x84d9(0x174)]['join'](_0x1daa6a[_0x84d9(0xde)])):await _0x1daa6a[_0x84d9(0x11c)](markSessionStatus,global[_0x84d9(0x180)][0x0],_0x1daa6a['aGTOJ']);}catch(_0x407fa0){logger[_0x84d9(0x19c)]('Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20'+_0x407fa0);}global['__error_messages__']=[],global['__sessionFailed']=![];if(_0x513f71)try{try{_0x1daa6a[_0x84d9(0x171)](shouldProcessEventForTesthub)&&(global[_0x84d9(0x180)][0x0]&&await _0x1daa6a['rJASs'](sendPlatformDetails,global[_0x84d9(0x180)][0x0],this[_0x84d9(0x141)]?this['currentTest'][_0x84d9(0xe2)]:null));}catch(_0x1bf97d){logger[_0x84d9(0x19c)](_0x84d9(0xf6)+_0x1bf97d);}await global[_0x84d9(0x180)][0x0]['initQuit']();}catch(_0x526c89){logger[_0x84d9(0x19c)](_0x84d9(0x172)+_0x526c89);}};},{'platform':_0x5bd000[_0x2c5c78(0xfc)](nestedKeyValue,global[_0x2c5c78(0x16b)],[_0x5bd000[_0x2c5c78(0x192)]]),'hookType':_0x5bd000[_0x2c5c78(0x118)]})();},'beforeEach'(_0x15df76){const _0x53fa99=a36_0x4197fa,_0x205939={'OSGat':function(_0x4ee2b1){return _0x4ee2b1();},'pDufD':function(_0x5be43d,_0x2ab6fb){return _0x5be43d>_0x2ab6fb;},'GQjrc':_0x53fa99(0x167),'vTJjR':function(_0x4ec3bf,_0x75b5e5,_0x4de5fc){return _0x4ec3bf(_0x75b5e5,_0x4de5fc);},'uTKwq':function(_0x73d673,_0x40d998){return _0x73d673===_0x40d998;},'UxHGb':_0x53fa99(0x124),'xerDJ':'bstackA11yScanOptions','YjfJm':_0x53fa99(0x119),'jyCRM':function(_0x36d544,_0x3e3380){return _0x36d544===_0x3e3380;},'oFtRA':_0x53fa99(0x12e),'LbquV':function(_0x4c4b06,_0x248c31){return _0x4c4b06===_0x248c31;},'HwHUh':_0x53fa99(0x117),'zhMAx':_0x53fa99(0x165),'nCLgV':_0x53fa99(0x12a),'hYbyB':function(_0x1def95){return _0x1def95();},'dAXyL':_0x53fa99(0x126),'kXmvy':_0x53fa99(0x19b),'HFskq':_0x53fa99(0x15f)};globals[_0x53fa99(0x197)](_0x205939[_0x53fa99(0x14c)],this[_0x53fa99(0x141)]['titlePath']()[_0x53fa99(0x178)](_0x205939[_0x53fa99(0xfe)])),PerformanceTester[_0x53fa99(0x193)](PerformanceSdkEvents[_0x53fa99(0x19a)],()=>{const _0x37c83a=_0x53fa99,_0xea9f00={'gOoeU':function(_0x4fa018,_0x31fe04){const _0x33af80=a36_0x1c19;return _0x205939[_0x33af80(0xda)](_0x4fa018,_0x31fe04);},'rTIKQ':_0x205939[_0x37c83a(0xfe)],'VtzTG':function(_0x30262e,_0x510860,_0x2ed220){const _0x4772ad=_0x37c83a;return _0x205939[_0x4772ad(0x16d)](_0x30262e,_0x510860,_0x2ed220);},'aQXrI':function(_0x275a6a,_0x341783){return _0x205939['uTKwq'](_0x275a6a,_0x341783);},'JmVhK':_0x205939[_0x37c83a(0xf2)],'cJLUe':_0x205939['xerDJ'],'fPeGF':function(_0x3b4895){const _0x25a9ca=_0x37c83a;return _0x205939[_0x25a9ca(0x108)](_0x3b4895);},'eUUjU':function(_0x301893,_0x295e8a){return _0x205939['pDufD'](_0x301893,_0x295e8a);},'alhHo':_0x205939[_0x37c83a(0x195)],'DTXVC':function(_0xee2ba8,_0x24f263){return _0x205939['jyCRM'](_0xee2ba8,_0x24f263);},'CANpd':_0x205939[_0x37c83a(0x179)],'NnrfO':function(_0x59cd20,_0x95538b){const _0x4e48d1=_0x37c83a;return _0x205939[_0x4e48d1(0x122)](_0x59cd20,_0x95538b);},'rfQwm':_0x205939[_0x37c83a(0x17e)],'FWNnF':_0x205939[_0x37c83a(0x158)],'EsVFf':_0x205939[_0x37c83a(0x104)],'aGjHj':function(_0x5c6fd8){const _0x4a5adc=_0x37c83a;return _0x205939[_0x4a5adc(0x14a)](_0x5c6fd8);}},_0xe614ea='browserstack internal helper hook';new Promise(async _0x27631b=>{const _0x50f5c6=_0x37c83a;let _0x79aafe=!![];try{_0xea9f00['gOoeU'](global[_0x50f5c6(0x180)][_0x50f5c6(0x168)],0x1)&&(await global['driverCleanup'](),global[_0x50f5c6(0x180)]['shift']()),_0xea9f00[_0x50f5c6(0xdc)](global[_0x50f5c6(0x180)][0x0][_0x50f5c6(0xd9)],0x0)&&(_0x79aafe=![],await global[_0x50f5c6(0x110)]());}catch(_0x1be52e){logger[_0x50f5c6(0x19c)](_0x50f5c6(0x172)+_0x1be52e);}try{Array['isArray'](global['__drivers'])&&global[_0x50f5c6(0x180)][0x0]&&(global[_0x50f5c6(0x180)][0x0][_0x50f5c6(0x136)]=this[_0x50f5c6(0x141)]['titlePath']()[_0x50f5c6(0x178)](_0xea9f00[_0x50f5c6(0x1a1)])),global[_0x50f5c6(0x136)]=this['currentTest'][_0x50f5c6(0x186)]()['join'](_0xea9f00[_0x50f5c6(0x1a1)]);}catch(_0x4db686){logger[_0x50f5c6(0x19c)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0x4db686);}this[_0x50f5c6(0x141)][_0x50f5c6(0x17c)]=_0xea9f00[_0x50f5c6(0x135)](shouldScanTestForAccessibility,this[_0x50f5c6(0x141)][_0x50f5c6(0x186)](),!![]);let _0x22dc0c=!![];try{const _0x184f5c=JSON['parse'](process[_0x50f5c6(0x188)][_0x50f5c6(0x1a2)]||'{}');_0xea9f00['aQXrI'](_0x184f5c[_0x50f5c6(0x102)],![])&&(_0x22dc0c=![]);}catch(_0x348ce2){logger[_0x50f5c6(0x19c)](_0x50f5c6(0x18d)+_0x348ce2[_0x50f5c6(0xf0)]);}const _0x4a2f03=_0x22dc0c&&this['currentTest'][_0x50f5c6(0x17c)];globals['setGlobal'](_0xea9f00[_0x50f5c6(0x154)],_0x4a2f03),globals['setGlobal'](_0xea9f00[_0x50f5c6(0x115)],null),this[_0x50f5c6(0x141)][_0x50f5c6(0x194)]=this[_0x50f5c6(0x141)][_0x50f5c6(0x17c)];if(_0xea9f00[_0x50f5c6(0xfb)](isAccessibilityAutomationSession)&&_0x79aafe&&Array[_0x50f5c6(0x13d)](global[_0x50f5c6(0x180)])&&_0xea9f00['eUUjU'](global['__drivers']['length'],0x0)&&globals[_0x50f5c6(0x175)](_0xea9f00[_0x50f5c6(0x198)]))try{const _0x5786e0=await global['__drivers'][0x0][_0x50f5c6(0x132)];if(_0x5786e0){let _0x279c56=!![];const _0x1ad66c=await global['__drivers'][0x0][_0x50f5c6(0x18b)]();let _0xe98241;try{_0xe98241=new URL(_0x1ad66c),_0x279c56=_0xea9f00[_0x50f5c6(0x18f)](_0xe98241[_0x50f5c6(0x18e)],_0xea9f00[_0x50f5c6(0xdf)])||_0xea9f00['NnrfO'](_0xe98241[_0x50f5c6(0x18e)],_0xea9f00[_0x50f5c6(0xeb)]);}catch(_0x116318){_0x279c56=![];}_0x279c56&&(this[_0x50f5c6(0x141)]['shouldScanTestForAccessibility']&&logger['info'](_0xea9f00['FWNnF'])),this[_0x50f5c6(0x141)][_0x50f5c6(0x194)]=this[_0x50f5c6(0x141)][_0x50f5c6(0x17c)],_0x4a2f03&&logger[_0x50f5c6(0x150)](_0xea9f00[_0x50f5c6(0x107)]);}}catch(_0xcd2e1b){logger[_0x50f5c6(0x17a)](_0x50f5c6(0xed)+util[_0x50f5c6(0x14b)](_0xcd2e1b));}_0xea9f00['aGjHj'](_0x27631b);})[_0x37c83a(0x17d)](()=>{const _0x214804=_0x37c83a;_0x205939[_0x214804(0x108)](_0x15df76);});},{'platform':_0x205939['vTJjR'](nestedKeyValue,global[_0x53fa99(0x16b)],[_0x205939[_0x53fa99(0x112)]]),'hookType':_0x205939[_0x53fa99(0xe5)]})();},'afterEach'(_0x4d0821){const _0x500640=a36_0x4197fa,_0x4c77d1={'QZEyY':function(_0x4cea7c,_0x1dbb9b){return _0x4cea7c!==_0x1dbb9b;},'RVukW':'passed','LmJUy':function(_0x54990f,_0x28ad17,_0xd4b7a8){return _0x54990f(_0x28ad17,_0xd4b7a8);},'ZUNqV':function(_0x1abb8d,_0x3598b9){return _0x1abb8d+_0x3598b9;},'tRbpa':_0x500640(0x148),'yneIN':_0x500640(0x17a),'EKiks':'Passed','Tibuv':_0x500640(0x150),'LglFL':_0x500640(0x167),'oEeEH':function(_0xd2c9ca,_0x296a14){return _0xd2c9ca>_0x296a14;},'CbmaB':function(_0x2bc512,_0x5690c6){return _0x2bc512===_0x5690c6;},'TTPkk':'testcase','HLrkN':'appium:app','WHKDv':function(_0x4c73f8,_0xe48d73,_0x33eed6,_0x405a5c){return _0x4c73f8(_0xe48d73,_0x33eed6,_0x405a5c);},'PJDYX':_0x500640(0x119),'qMQSn':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','rRuQj':_0x500640(0x124),'oIMsS':'Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','boIwD':_0x500640(0x11f),'hAsxl':_0x500640(0x189),'SQGsV':_0x500640(0x105),'RBWkM':_0x500640(0x12d),'YxsTC':_0x500640(0x1a5),'VFRha':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','YifHB':_0x500640(0x10e),'udAKU':function(_0x57bc16){return _0x57bc16();},'SigKd':function(_0x380038){return _0x380038();},'XPVBo':_0x500640(0x19c),'HPGbS':_0x500640(0x17b),'TKPIY':function(_0xede6d,_0x55ff7f,_0x3952b0){return _0xede6d(_0x55ff7f,_0x3952b0);},'UMqtX':_0x500640(0x19b),'PVndS':_0x500640(0x161)},_0x16d4c4='browserstack internal helper hook';this[_0x500640(0x12b)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x4c77d1['HPGbS']]),global['sessionName']=this[_0x500640(0x141)][_0x500640(0x186)]()[_0x500640(0x178)](_0x4c77d1[_0x500640(0xe1)]),PerformanceTester[_0x500640(0x193)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x3558b9=_0x500640,_0x2f30c0={'lagEN':function(_0x5e7538,_0x2f2c42){const _0x305b3a=a36_0x1c19;return _0x4c77d1[_0x305b3a(0x121)](_0x5e7538,_0x2f2c42);},'LaeCw':_0x4c77d1[_0x3558b9(0x128)],'urMIP':function(_0x52b749,_0x39ab92,_0x1e3aa3){const _0x1a5ac8=_0x3558b9;return _0x4c77d1[_0x1a5ac8(0x12c)](_0x52b749,_0x39ab92,_0x1e3aa3);},'ETqAx':function(_0x582d78,_0x26de28){const _0x251aa6=_0x3558b9;return _0x4c77d1[_0x251aa6(0xf9)](_0x582d78,_0x26de28);},'onIaT':_0x4c77d1[_0x3558b9(0x13c)],'XQTOf':_0x4c77d1[_0x3558b9(0x147)],'fypkF':_0x4c77d1[_0x3558b9(0x199)],'POFnK':_0x4c77d1[_0x3558b9(0x145)],'WDyqe':_0x4c77d1[_0x3558b9(0xe1)],'FeSxE':function(_0x509425,_0x313a02){const _0x5b3cf6=_0x3558b9;return _0x4c77d1[_0x5b3cf6(0x16e)](_0x509425,_0x313a02);},'SQexQ':function(_0x1fd2a1,_0x2e13e8){const _0x4c7781=_0x3558b9;return _0x4c77d1[_0x4c7781(0x109)](_0x1fd2a1,_0x2e13e8);},'sTiXE':_0x4c77d1['TTPkk'],'VHsXI':_0x4c77d1[_0x3558b9(0x13b)],'LcZdg':function(_0x49e964,_0xee39a7,_0x47b6aa,_0x1898af){return _0x4c77d1['WHKDv'](_0x49e964,_0xee39a7,_0x47b6aa,_0x1898af);},'lTGtH':_0x4c77d1[_0x3558b9(0xf5)],'FPgQd':_0x4c77d1[_0x3558b9(0x11e)],'JQFwS':_0x4c77d1[_0x3558b9(0x160)],'VqnaU':_0x4c77d1[_0x3558b9(0x181)],'zrRTw':_0x4c77d1[_0x3558b9(0x157)],'ferVN':_0x4c77d1['hAsxl'],'ZcXWO':_0x4c77d1['SQGsV'],'ohbXq':_0x4c77d1[_0x3558b9(0x120)],'BpBLN':_0x4c77d1['YxsTC'],'SjXCh':_0x4c77d1['VFRha'],'KozKk':_0x4c77d1[_0x3558b9(0x1a0)],'bHfeb':function(_0xb49ffc){return _0x4c77d1['udAKU'](_0xb49ffc);},'NDrXF':function(_0x98c675,_0x15def0,_0x41912e){const _0xbd549b=_0x3558b9;return _0x4c77d1[_0xbd549b(0x12c)](_0x98c675,_0x15def0,_0x41912e);},'lUSgI':function(_0x3e1c1f){const _0x7fa527=_0x3558b9;return _0x4c77d1[_0x7fa527(0x16f)](_0x3e1c1f);},'zyIme':_0x4c77d1[_0x3558b9(0x144)],'eAWva':function(_0x1ffef8,_0x594b1f){return _0x4c77d1['oEeEH'](_0x1ffef8,_0x594b1f);},'yqZqO':function(_0x296f9f){const _0x2c80fb=_0x3558b9;return _0x4c77d1[_0x2c80fb(0x13e)](_0x296f9f);}},_0xf0785a=async(_0x4d348d,_0x17c26d)=>{const _0x583a82=_0x3558b9;await global[_0x583a82(0x180)][0x0][_0x583a82(0x183)](_0x583a82(0x116)+_0x4d348d+_0x583a82(0x155)+_0x17c26d+_0x583a82(0xe6));};new Promise(async _0x3044fc=>{const _0x2868d4=_0x3558b9,_0x138892={};_0x138892[_0x2868d4(0xf3)]=_0x2f30c0[_0x2868d4(0x18a)];const _0x3bc063=_0x138892;try{_0x2f30c0['FeSxE'](global[_0x2868d4(0x180)][_0x2868d4(0x168)],0x1)&&(await global['driverCleanup'](),global[_0x2868d4(0x180)]['shift'](),global[_0x2868d4(0x174)]=[],global[_0x2868d4(0xf8)]=![]);try{if(global[_0x2868d4(0xef)]&&_0x2f30c0[_0x2868d4(0xe0)](global[_0x2868d4(0x14d)],_0x2f30c0[_0x2868d4(0x139)])&&global[_0x2868d4(0x180)][0x0]){const _0x2f1c60=_0x2f30c0[_0x2868d4(0x152)](global[_0x2868d4(0x182)][_0x2868d4(0x168)],0x0)?!!global['capabilities'][0x0][_0x2868d4(0xec)]||!!global[_0x2868d4(0x182)][0x0][_0x2f30c0[_0x2868d4(0x19d)]]:![],_0x70b2c={};_0x70b2c[_0x2868d4(0xec)]=_0x2f1c60,await _0x2f30c0[_0x2868d4(0x127)](percyAutoCapture,global[_0x2868d4(0x180)][0x0],_0x2f30c0[_0x2868d4(0x139)],_0x70b2c);}}catch(_0x3b8ba1){logger[_0x2868d4(0x19c)](_0x2868d4(0x191)+_0x3b8ba1);}!global[_0x2868d4(0x19e)]&&(await PerformanceTester[_0x2868d4(0x193)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x50c0a8=_0x2868d4;await global[_0x50c0a8(0x180)][0x0][_0x50c0a8(0x183)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x50c0a8(0x190)](this[_0x50c0a8(0x141)]['titlePath']()[_0x50c0a8(0x178)](_0x3bc063[_0x50c0a8(0xf3)]))+'}}');})(),global['__drivers'][0x0][_0x2868d4(0x13f)]=!![]),await PerformanceTester[_0x2868d4(0x193)](PerformanceAutEvents[_0x2868d4(0x143)],async()=>{const _0x4a396e=_0x2868d4,_0x3a9492=_0x2f30c0['lagEN'](this['currentTest'][_0x4a396e(0xe8)],_0x2f30c0[_0x4a396e(0x10f)]);_0x3a9492?(global[_0x4a396e(0xf8)]=!![],global[_0x4a396e(0x174)][_0x4a396e(0x173)](this[_0x4a396e(0x141)][_0x4a396e(0xe4)][_0x4a396e(0xf0)]),await _0x2f30c0[_0x4a396e(0xe9)](_0xf0785a,JSON[_0x4a396e(0x190)](_0x2f30c0['ETqAx'](_0x2f30c0['onIaT'],this['currentTest'][_0x4a396e(0xe4)][_0x4a396e(0xf0)])),_0x2f30c0[_0x4a396e(0x185)])):await _0x2f30c0[_0x4a396e(0xe9)](_0xf0785a,JSON[_0x4a396e(0x190)](_0x2f30c0['fypkF']),_0x2f30c0[_0x4a396e(0x111)]);})();}catch(_0xb70a0b){logger[_0x2868d4(0x19c)](_0x2868d4(0x1a4)+_0xb70a0b);}try{if(this[_0x2868d4(0x141)][_0x2868d4(0x194)]&&globals[_0x2868d4(0x175)](_0x2f30c0[_0x2868d4(0xe7)])){logger[_0x2868d4(0x150)](_0x2f30c0[_0x2868d4(0x131)]);const _0x5343bc={};_0x5343bc['thTestRunUuid']=this[_0x2868d4(0x141)]['testAnalyticsId'],_0x5343bc[_0x2868d4(0x177)]=process[_0x2868d4(0x188)][testHubConstants[_0x2868d4(0x14e)][_0x2868d4(0x153)]],_0x5343bc[_0x2868d4(0x162)]=process[_0x2868d4(0x188)][testHubConstants[_0x2868d4(0x14e)][_0x2868d4(0x10b)]];const _0x3ceb71=_0x5343bc;logger['debug']('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x2868d4(0x190)](_0x3ceb71));if(globals[_0x2868d4(0x175)](_0x2f30c0[_0x2868d4(0x164)])){logger[_0x2868d4(0x19c)](_0x2f30c0[_0x2868d4(0x151)]);const _0x32b1ec={};_0x32b1ec[_0x2868d4(0x15a)]=_0x2f30c0[_0x2868d4(0xee)];const _0x3f01c1=await PerformanceTester[_0x2868d4(0x193)](PerformanceA11yEvents[_0x2868d4(0x134)],async()=>{const _0x39092a=_0x2868d4;return await accessibilityRetryHelper[_0x39092a(0x101)](global[_0x39092a(0x180)][0x0],global[_0x39092a(0x136)]);},_0x32b1ec)();_0x3f01c1?logger[_0x2868d4(0x19c)](_0x2f30c0[_0x2868d4(0xf7)]):logger[_0x2868d4(0x16a)](_0x2f30c0[_0x2868d4(0x114)]);}else logger[_0x2868d4(0x19c)](_0x2f30c0[_0x2868d4(0x138)]);const _0x2475b7=await PerformanceTester[_0x2868d4(0x193)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x4da2d3=_0x2868d4;return await accessibilityRetryHelper[_0x4da2d3(0x14f)](global['__drivers'][0x0],_0x3ceb71);})();_0x2475b7?logger[_0x2868d4(0x19c)](_0x2f30c0[_0x2868d4(0xdb)]):logger['warn'](_0x2f30c0[_0x2868d4(0x146)]),logger[_0x2868d4(0x150)](_0x2f30c0[_0x2868d4(0x137)]);}}catch(_0x552593){logger[_0x2868d4(0x17a)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x2868d4(0x141)][_0x2868d4(0x186)]()+'.\x20Error\x20:',_0x552593);}try{try{if(_0x2f30c0[_0x2868d4(0x169)](shouldProcessEventForTesthub)){global[_0x2868d4(0x180)][0x0]&&await _0x2f30c0[_0x2868d4(0x106)](sendPlatformDetails,global[_0x2868d4(0x180)][0x0],this['currentTest']?this[_0x2868d4(0x141)][_0x2868d4(0xe2)]:null);if(_0x2f30c0[_0x2868d4(0xea)](isBrowserstackInfra)){PerformanceTester[_0x2868d4(0x196)](PerformanceO11yEvents[_0x2868d4(0x149)]);const _0xf8f458='ObservabilitySync:'+Date[_0x2868d4(0x15c)]();await _0x2f30c0[_0x2868d4(0x106)](_0xf0785a,JSON['stringify'](_0xf8f458),_0x2f30c0[_0x2868d4(0xd8)]),PerformanceTester['end'](PerformanceO11yEvents[_0x2868d4(0x149)]);}}}catch(_0x564ffb){logger[_0x2868d4(0x19c)](_0x2868d4(0x184)+_0x564ffb),PerformanceTester[_0x2868d4(0x1a6)](PerformanceO11yEvents['SYNC'],![],_0x564ffb);}_0x2f30c0[_0x2868d4(0x10c)](global[_0x2868d4(0x180)][0x0]['quitCount_'],0x0)&&await global[_0x2868d4(0x110)]();}catch(_0x111b19){logger[_0x2868d4(0x19c)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x111b19);}_0x2f30c0[_0x2868d4(0xe3)](_0x3044fc);})['then'](()=>{const _0x6bd3c3=_0x3558b9;_0x2f30c0[_0x6bd3c3(0x169)](_0x4d0821);});},{'platform':_0x4c77d1[_0x500640(0x11d)](nestedKeyValue,global[_0x500640(0x16b)],[_0x4c77d1['UMqtX']]),'hookType':_0x4c77d1[_0x500640(0x166)]})();},'afterAll'(_0x258a73){const _0xecda53=a36_0x4197fa,_0x59d0e7={'GWqiu':function(_0x4535d5){return _0x4535d5();},'OWRws':_0xecda53(0x17b),'WfnuF':function(_0x3803be,_0x15c06f,_0x436ca1){return _0x3803be(_0x15c06f,_0x436ca1);},'EYBiX':'index','yJshA':_0xecda53(0xfd)},_0x2dc183='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x59d0e7[_0xecda53(0x103)]]),PerformanceTester[_0xecda53(0x193)](PerformanceSdkEvents[_0xecda53(0x19a)],()=>{const _0x366a16=_0xecda53,_0x3e424f={'XzusI':function(_0x33693e){const _0x5f2ef5=a36_0x1c19;return _0x59d0e7[_0x5f2ef5(0x1a7)](_0x33693e);}};new Promise(async _0x1e918f=>{const _0x29d9d8=a36_0x1c19;await global['driverCleanup'](),_0x3e424f[_0x29d9d8(0x140)](_0x1e918f);})[_0x366a16(0x17d)]()[_0x366a16(0x15b)](()=>{const _0x1b7bf9=_0x366a16;_0x3e424f[_0x1b7bf9(0x140)](_0x258a73);});},{'platform':_0x59d0e7['WfnuF'](nestedKeyValue,global[_0xecda53(0x16b)],[_0x59d0e7[_0xecda53(0xf1)]]),'hookType':_0x59d0e7[_0xecda53(0x130)]})();}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a37_0x3ef0(_0x3f20f1,_0x42ea8a){const _0x1fb664=a37_0x1fb6();return a37_0x3ef0=function(_0x3ef078,_0x472108){_0x3ef078=_0x3ef078-0xb4;let _0x478189=_0x1fb664[_0x3ef078];return _0x478189;},a37_0x3ef0(_0x3f20f1,_0x42ea8a);}const a37_0x2fa5c7=a37_0x3ef0;(function(_0x408170,_0x7fd64b){const _0x480629=a37_0x3ef0,_0x207457=_0x408170();while(!![]){try{const _0xee3aa0=-parseInt(_0x480629(0xd5))/0x1+parseInt(_0x480629(0x104))/0x2+-parseInt(_0x480629(0xec))/0x3*(parseInt(_0x480629(0xd9))/0x4)+-parseInt(_0x480629(0x127))/0x5+-parseInt(_0x480629(0xcb))/0x6+parseInt(_0x480629(0x116))/0x7+-parseInt(_0x480629(0x119))/0x8*(-parseInt(_0x480629(0x11f))/0x9);if(_0xee3aa0===_0x7fd64b)break;else _0x207457['push'](_0x207457['shift']());}catch(_0x31f42d){_0x207457['push'](_0x207457['shift']());}}}(a37_0x1fb6,0x24dc4));function a37_0x1fb6(){const _0x1baf1d=['oGTHj','parallelsPerPlatform','failures','GnIIH','launchBuild','mdRcx','jPbfy','null','getInstance','UuMHH','child_process','exports','EHqdy','zgpSe','BROWSERSTACK_TESTHUB_JWT','rktRw','browserstack','testObservability','endsWith','requireModule','resolve','lSRTc','BROWSERSTACK_TEST_OBSERVABILITY_YML','423632HOfkla','cli,browserstack','true','pxegl','GJDsT','pLPZT','[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','eagsx','winstonLogger','package.json','error','wWQSa','index.js','Newman\x20CLI\x20not\x20found:\x20','MUqmO','BuNOo','ZjfWZ','run','1711941ewbDdg','iUJXv','cmrMK','42128kMMgio','[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','cnXvn','VPlCp','cwd','../../helpers/test-observability/requestQueueHandler','441ZUcrwf','FDvYJ','module','call','MbJGC','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','ANHGY','reporter','992945vUTdEu','NVQov','inherit','../v2/browserstackCLI','BROWSERSTACK_AUTOMATION','newman','assign','EkTIp','Failed\x20to\x20launch\x20build:\x20','length','config','stop','setBrowserstackConfig','exitCode','qciAh','../../helpers/helper','ianSX','FSCfn','WxNxU','RZNOS','env','path','XCAcy','message','jErVD','oZkZd','wTIAa','FnELu','../v2/cliUtils','xiLXG','vgENX','QWISl','../../helpers/testhub/testhubHandler','960474QFKLtj','bootstrap','lIZVV','newman/bin/newman',',browserstack','IedNY','shutdown','xufWK','TeQWo','warn','202142zmITha','false','vLHAp','newman-reporter-browserstack','172ZLHEKS','isRunning','indexOf','configPath','wfjXM','Scaec','LsCRv','.js','concat','Failed\x20to\x20bootstrap\x20CLI:\x20','setFrameworkDetail','ubIiV','../../helpers/logger','slice','dnfSL','VfxqW','join','WVVDa','_resolveFilename','183lJSTPo'];a37_0x1fb6=function(){return _0x1baf1d;};return a37_0x1fb6();}const path=require(a37_0x2fa5c7(0xbf)),Module=require('module'),{fork}=require(a37_0x2fa5c7(0xf7)),logger=require(a37_0x2fa5c7(0xe5))[a37_0x2fa5c7(0x10c)],helper=require(a37_0x2fa5c7(0xb9)),TestHubHandler=require(a37_0x2fa5c7(0xca)),RequestQueueHandler=require(a37_0x2fa5c7(0x11e)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{printBuildLink}=require('../../helpers/test-observability/utils'),BrowserstackCLI=require(a37_0x2fa5c7(0x12a)),CLIUtils=require(a37_0x2fa5c7(0xc6));function registerBrowserStackReporter(){const _0x35329c=a37_0x2fa5c7,_0x572c31={};_0x572c31['vgENX']=function(_0x486779,_0x273673){return _0x486779===_0x273673;},_0x572c31['beszS']=_0x35329c(0xd8),_0x572c31['LsCRv']=_0x35329c(0x126),_0x572c31[_0x35329c(0x102)]=_0x35329c(0x110);const _0x174864=_0x572c31,_0x4147ed=path[_0x35329c(0xe9)](__dirname,_0x174864[_0x35329c(0xdf)],_0x174864['lSRTc']),_0x5418dc=Module[_0x35329c(0xeb)];Module[_0x35329c(0xeb)]=function(_0x147847,_0x348bad,_0x10c6b7,_0x4c5dcd){const _0x3ccfd1=_0x35329c;if(_0x174864[_0x3ccfd1(0xc8)](_0x147847,_0x174864['beszS']))return _0x4147ed;return _0x5418dc[_0x3ccfd1(0x122)](this,_0x147847,_0x348bad,_0x10c6b7,_0x4c5dcd);};}function injectReporterIntoArgs(_0x43f586){const _0x1c2917=a37_0x2fa5c7,_0x436afa={};_0x436afa[_0x1c2917(0x11c)]=function(_0x42a531,_0x296ecc){return _0x42a531<_0x296ecc;},_0x436afa[_0x1c2917(0x12e)]=function(_0x3f5573,_0x1d9775){return _0x3f5573===_0x1d9775;},_0x436afa[_0x1c2917(0xc7)]=function(_0x4ff869,_0x3050e4){return _0x4ff869===_0x3050e4;},_0x436afa[_0x1c2917(0x113)]='--reporters',_0x436afa['XCAcy']=function(_0x2f27de,_0x2cfc86){return _0x2f27de+_0x2cfc86;},_0x436afa['zgpSe']=function(_0x3b3bb2,_0x5e6648){return _0x3b3bb2+_0x5e6648;},_0x436afa[_0x1c2917(0x10b)]=_0x1c2917(0xfd),_0x436afa['MUqmO']=_0x1c2917(0xcf),_0x436afa[_0x1c2917(0x10f)]=_0x1c2917(0x105);const _0x4fae99=_0x436afa,_0x328cf2=_0x43f586[_0x1c2917(0xe6)]();for(let _0x2e22ea=0x0;_0x4fae99['VPlCp'](_0x2e22ea,_0x328cf2[_0x1c2917(0x130)]);_0x2e22ea++){if(_0x4fae99[_0x1c2917(0x12e)](_0x328cf2[_0x2e22ea],'-r')||_0x4fae99[_0x1c2917(0xc7)](_0x328cf2[_0x2e22ea],_0x4fae99[_0x1c2917(0x113)]))return _0x328cf2[_0x4fae99[_0x1c2917(0xc0)](_0x2e22ea,0x1)]&&_0x4fae99[_0x1c2917(0xc7)](_0x328cf2[_0x4fae99[_0x1c2917(0xfa)](_0x2e22ea,0x1)][_0x1c2917(0xdb)](_0x4fae99[_0x1c2917(0x10b)]),-0x1)&&(_0x328cf2[_0x4fae99[_0x1c2917(0xfa)](_0x2e22ea,0x1)]+=_0x4fae99[_0x1c2917(0x112)]),_0x328cf2;}return _0x328cf2['push']('-r',_0x4fae99['wWQSa']),_0x328cf2;}function runNewmanCLI(_0x2dfbb7){const _0x3c13f1=a37_0x2fa5c7,_0x3c45f5={'NVQov':function(_0x3ab4f1,_0x5d155b){return _0x3ab4f1>_0x5d155b;},'rktRw':function(_0x186303,_0x47ea15){return _0x186303(_0x47ea15);},'dnfSL':function(_0x2e9f70,_0x571660,_0x155458){return _0x2e9f70(_0x571660,_0x155458);},'oZkZd':_0x3c13f1(0x12c),'ubIiV':'Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','mdRcx':function(_0x229dc8,_0x2612a0){return _0x229dc8(_0x2612a0);},'MbJGC':function(_0x54fc7b,_0x19a9be){return _0x54fc7b(_0x19a9be);},'CneCt':_0x3c13f1(0x121),'oGTHj':_0x3c13f1(0x10d),'lIZVV':_0x3c13f1(0xce),'wfjXM':'node','jErVD':function(_0x1e0a8d,_0x465220){return _0x1e0a8d+_0x465220;},'UuMHH':_0x3c13f1(0x111)};return new Promise(_0x410dec=>{const _0x3fffd3=_0x3c13f1,_0xf05805={'VfxqW':function(_0x20815f,_0x2df94f){const _0x15dc7d=a37_0x3ef0;return _0x3c45f5[_0x15dc7d(0x128)](_0x20815f,_0x2df94f);},'iUJXv':function(_0x553193,_0x12f853){return _0x3c45f5['rktRw'](_0x553193,_0x12f853);},'Scaec':function(_0x558f76,_0x28c139,_0x25b25d){const _0x18556e=a37_0x3ef0;return _0x3c45f5[_0x18556e(0xe7)](_0x558f76,_0x28c139,_0x25b25d);}};let _0x1dbd5e;try{_0x1dbd5e=helper[_0x3fffd3(0x100)](_0x3c45f5[_0x3fffd3(0xc3)],_0x3c45f5[_0x3fffd3(0xc3)]);}catch(_0x21dd5c){return logger[_0x3fffd3(0x10e)](_0x3c45f5[_0x3fffd3(0xe4)]),_0x3c45f5[_0x3fffd3(0xf2)](_0x410dec,0x1);}const _0x1af12e=_0x1dbd5e[_0x3fffd3(0x115)];_0x1dbd5e[_0x3fffd3(0x115)]=function(_0x293bc9,_0x58b004){const _0x33b4ff=_0x3fffd3;return _0x1dbd5e[_0x33b4ff(0x115)]=_0x1af12e,_0x1af12e[_0x33b4ff(0x122)](_0x1dbd5e,_0x293bc9,(_0x398b60,_0x77e72c)=>{const _0x462fe7=_0x33b4ff,_0x3ac4a2=_0x77e72c&&_0x77e72c[_0x462fe7(0x115)]&&(_0x77e72c[_0x462fe7(0x115)][_0x462fe7(0x10e)]||_0x77e72c[_0x462fe7(0x115)][_0x462fe7(0xef)]&&_0xf05805[_0x462fe7(0xe8)](_0x77e72c[_0x462fe7(0x115)][_0x462fe7(0xef)][_0x462fe7(0x130)],0x0));_0xf05805[_0x462fe7(0x117)](_0x410dec,_0x3ac4a2?0x1:0x0),_0x58b004&&_0xf05805[_0x462fe7(0xde)](_0x58b004,_0x398b60,_0x77e72c);});};try{const _0x37c1af=_0x3c45f5[_0x3fffd3(0x123)](require,_0x3c45f5['CneCt'])['createRequire'](path[_0x3fffd3(0xe9)](process[_0x3fffd3(0x11d)](),_0x3c45f5[_0x3fffd3(0xed)]));_0x3c45f5[_0x3fffd3(0xfc)](_0x37c1af,_0x3c45f5[_0x3fffd3(0xcd)])([_0x3c45f5[_0x3fffd3(0xdd)],_0x3c45f5[_0x3fffd3(0xc3)]][_0x3fffd3(0xe1)](_0x2dfbb7));}catch(_0x178c26){_0x1dbd5e[_0x3fffd3(0x115)]=_0x1af12e,logger['error'](_0x3c45f5[_0x3fffd3(0xc2)](_0x3c45f5[_0x3fffd3(0xf6)],_0x178c26[_0x3fffd3(0xc1)])),_0x3c45f5[_0x3fffd3(0xfc)](_0x410dec,0x1);}});}function runNewmanScript(_0x3fd421,_0x115aeb){const _0x40b7a3=a37_0x2fa5c7,_0x543699={'EHqdy':function(_0x5ba0b6,_0x3cc472){return _0x5ba0b6(_0x3cc472);},'pLPZT':function(_0x1cde9f,_0x2779a9){return _0x1cde9f||_0x2779a9;},'QWISl':function(_0x5e2206,_0x5ca9b3,_0x262f38,_0x438afd){return _0x5e2206(_0x5ca9b3,_0x262f38,_0x438afd);},'hBkss':'scriptRunner.js','RZNOS':_0x40b7a3(0x129),'XZunH':'close'};return new Promise(function(_0x50ff34){const _0x58c939=_0x40b7a3,_0x4c3ce4={'GJDsT':function(_0x4bba97,_0xf5e74f){const _0x324128=a37_0x3ef0;return _0x543699[_0x324128(0xf9)](_0x4bba97,_0xf5e74f);},'TeQWo':function(_0x1b599a,_0x4fea3c){const _0x13eb8=a37_0x3ef0;return _0x543699[_0x13eb8(0x109)](_0x1b599a,_0x4fea3c);}},_0x92f99b=_0x543699[_0x58c939(0xc9)](fork,path[_0x58c939(0xe9)](__dirname,_0x543699['hBkss']),[_0x3fd421,_0x543699[_0x58c939(0xf9)](String,_0x543699[_0x58c939(0x109)](_0x115aeb,0x0))],{'stdio':_0x543699[_0x58c939(0xbd)],'env':Object[_0x58c939(0x12d)]({},process['env'])});_0x92f99b['on'](_0x543699['XZunH'],function(_0x2d551b){const _0x257a26=_0x58c939;_0x4c3ce4[_0x257a26(0x108)](_0x50ff34,_0x4c3ce4[_0x257a26(0xd3)](_0x2d551b,0x0));});});}function hasO11yBuild(){const _0x22bd13=a37_0x2fa5c7,_0x38e019={};_0x38e019[_0x22bd13(0x114)]=function(_0x113896,_0x23a270){return _0x113896!==_0x23a270;},_0x38e019[_0x22bd13(0x120)]=_0x22bd13(0xf4);const _0x231168=_0x38e019;return!!(BrowserstackCLI['O11yHashedID']||process[_0x22bd13(0xbe)][_0x22bd13(0xfb)]&&_0x231168[_0x22bd13(0x114)](process[_0x22bd13(0xbe)][_0x22bd13(0xfb)],_0x231168[_0x22bd13(0x120)]));}function runWithoutObservability(_0x4b9ae4,_0x5684b8){const _0x32ea18=a37_0x2fa5c7,_0x412474={'qciAh':function(_0x194eab,_0x23c55c){return _0x194eab(_0x23c55c);}};if(_0x4b9ae4)return _0x412474[_0x32ea18(0xb8)](require,path[_0x32ea18(0x101)](_0x4b9ae4)),0x0;return _0x412474[_0x32ea18(0xb8)](runNewmanCLI,_0x5684b8);}module[a37_0x2fa5c7(0xf8)]=async function(_0x666e6b,_0x465ce7,_0x5e664e){const _0x540efa=a37_0x2fa5c7,_0x16bf86={'jPbfy':_0x540efa(0xe0),'IedNY':function(_0x4cd18b,_0x35f82f){return _0x4cd18b===_0x35f82f;},'cmrMK':_0x540efa(0xd6),'wTIAa':function(_0x2a1e43,_0x21b002,_0x14d346){return _0x2a1e43(_0x21b002,_0x14d346);},'GnIIH':function(_0x12c24e,_0x7f5a94){return _0x12c24e!=_0x7f5a94;},'KjsfL':_0x540efa(0x106),'ianSX':_0x540efa(0x12c),'ANHGY':function(_0xfd4e78,_0x44e6ba){return _0xfd4e78+_0x44e6ba;},'cnXvn':_0x540efa(0xe2),'vLHAp':_0x540efa(0x12f),'xufWK':function(_0x2a5251){return _0x2a5251();},'FnELu':_0x540efa(0x10a),'OSvyl':function(_0x76fa1b){return _0x76fa1b();},'pxegl':function(_0x1d165a,_0xc7ba22,_0x2ccf15){return _0x1d165a(_0xc7ba22,_0x2ccf15);},'WVVDa':function(_0x1ea1ad,_0x9c8536){return _0x1ea1ad(_0x9c8536);},'FSCfn':function(_0xf11c1f){return _0xf11c1f();},'WxNxU':_0x540efa(0x11a)},_0x185c37=_0x465ce7[_0x540efa(0xe6)](0x1),_0x19221b=_0x185c37[0x0]&&_0x185c37[0x0][_0x540efa(0xff)](_0x16bf86[_0x540efa(0xf3)])?_0x185c37[0x0]:null;if(!_0x5e664e[_0x540efa(0xb4)]||_0x16bf86[_0x540efa(0xd0)](_0x5e664e['config'][_0x540efa(0xfe)],![])||_0x16bf86[_0x540efa(0xd0)](_0x5e664e[_0x540efa(0xb4)][_0x540efa(0xfe)],_0x16bf86['cmrMK'])){process[_0x540efa(0xb7)]=await _0x16bf86[_0x540efa(0xc4)](runWithoutObservability,_0x19221b,_0x185c37)||0x0;return;}process[_0x540efa(0xbe)][_0x540efa(0x12b)]=_0x16bf86[_0x540efa(0x118)],process[_0x540efa(0xbe)][_0x540efa(0x124)]=_0x16bf86[_0x540efa(0x118)],process['env'][_0x540efa(0x103)]=_0x16bf86[_0x540efa(0xf0)](_0x5e664e['config'][_0x540efa(0xfe)],null)?_0x5e664e[_0x540efa(0xb4)][_0x540efa(0xfe)]:_0x16bf86['KjsfL'],CLIUtils[_0x540efa(0xe3)](_0x16bf86[_0x540efa(0xba)],_0x16bf86[_0x540efa(0xba)]),BrowserstackCLI[_0x540efa(0xf5)]()[_0x540efa(0xb6)](_0x5e664e['config'],_0x5e664e[_0x540efa(0xdc)],_0x5e664e['cliConfig']);try{await BrowserstackCLI[_0x540efa(0xf5)]()[_0x540efa(0xcc)]();}catch(_0x4e3021){logger['error'](_0x16bf86['ANHGY'](_0x16bf86[_0x540efa(0x11b)],_0x4e3021[_0x540efa(0xc1)]||_0x4e3021));}if(!BrowserstackCLI[_0x540efa(0xf5)]()[_0x540efa(0xda)]())try{await TestHubHandler[_0x540efa(0xf1)](FRAMEWORKS['NEWMAN'],_0x5e664e);}catch(_0xa22361){logger[_0x540efa(0x10e)](_0x16bf86[_0x540efa(0x125)](_0x16bf86[_0x540efa(0xd7)],_0xa22361['message']||_0xa22361));}!_0x16bf86[_0x540efa(0xd2)](hasO11yBuild)&&logger[_0x540efa(0xd4)](_0x16bf86[_0x540efa(0xc5)]);_0x16bf86['OSvyl'](registerBrowserStackReporter);let _0x51c8ba;_0x19221b?_0x51c8ba=await _0x16bf86[_0x540efa(0x107)](runNewmanScript,_0x19221b,_0x5e664e[_0x540efa(0xb4)][_0x540efa(0xee)]):_0x51c8ba=await _0x16bf86[_0x540efa(0xea)](runNewmanCLI,_0x16bf86['WVVDa'](injectReporterIntoArgs,_0x185c37));try{await TestHubHandler[_0x540efa(0xb5)]();}catch(_0x48143e){}try{await BrowserstackCLI['getInstance']()[_0x540efa(0xb5)]();}catch(_0x2e745a){}try{await RequestQueueHandler[_0x540efa(0xf5)]()[_0x540efa(0xd1)]();}catch(_0x2b171a){}if(_0x16bf86[_0x540efa(0xbb)](hasO11yBuild))try{_0x16bf86[_0x540efa(0xd2)](printBuildLink);}catch(_0x34a82b){}else logger[_0x540efa(0xd4)](_0x16bf86[_0x540efa(0xbc)]);process['exitCode']=_0x51c8ba;};
2
+ 'use strict';const a37_0x15e097=a37_0x347d;(function(_0x27b7dc,_0x17f0fe){const _0x44619e=a37_0x347d,_0x2ca1b2=_0x27b7dc();while(!![]){try{const _0x304bf0=-parseInt(_0x44619e(0x1cc))/0x1+-parseInt(_0x44619e(0x20b))/0x2*(-parseInt(_0x44619e(0x1ea))/0x3)+parseInt(_0x44619e(0x1e1))/0x4+parseInt(_0x44619e(0x1dd))/0x5+parseInt(_0x44619e(0x209))/0x6+parseInt(_0x44619e(0x213))/0x7*(parseInt(_0x44619e(0x1d0))/0x8)+-parseInt(_0x44619e(0x1e6))/0x9;if(_0x304bf0===_0x17f0fe)break;else _0x2ca1b2['push'](_0x2ca1b2['shift']());}catch(_0x39683f){_0x2ca1b2['push'](_0x2ca1b2['shift']());}}}(a37_0x4dd7,0xb328f));const path=require(a37_0x15e097(0x1c5)),Module=require(a37_0x15e097(0x1c8)),{fork}=require(a37_0x15e097(0x208)),logger=require('../../helpers/logger')[a37_0x15e097(0x219)],helper=require(a37_0x15e097(0x21d)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{FRAMEWORKS}=require(a37_0x15e097(0x1f0)),{printBuildLink}=require(a37_0x15e097(0x1b9)),BrowserstackCLI=require(a37_0x15e097(0x1db)),CLIUtils=require(a37_0x15e097(0x1f5));function a37_0x4dd7(){const _0x4677a6=['false','KVrnd','error','exports','bDrqn','VgjQS','dlOHT','tbSEW','oKlUp','length','MaThU','concat','RjbQQ','OqayL','[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','../../helpers/test-observability/utils','IRRmM','scriptRunner.js','EBgHQ','close','uYckA','endsWith','JuWBb','GNByJ','configPath','newman-reporter-browserstack','blHpM','path','newman','kxUll','module','TkeXM','true','launchBuild','762685MwkKuh','stop','lxIcH','setFrameworkDetail','8gECIEq','OXaoX','--reporters','setBrowserstackConfig','O11yHashedID','node','resolve','Failed\x20to\x20bootstrap\x20CLI:\x20','shutdown','kKpAX','package.json','../v2/browserstackCLI','reporter','971700mHZeNC','UgDZU','aYsks','createRequire','1236884wYoWvT','ayQek','xhfJI','Failed\x20to\x20launch\x20build:\x20','JqaTa','19477548jRLNYX','call','hnUyi','.js','172509NhcUyw','VvQOJ','VxwWu','join','BtZFO','TOhjx','../../helpers/test-observability/constants','run','ukGtP','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','YdSmv','../v2/cliUtils','nLbIL','CAFuD','EtaAY','IaQdy','bVBUF','Ctrtr','NEWMAN','BFywC','GBYna','failures','GAsxO','testObservability','_resolveFilename','BROWSERSTACK_TESTHUB_JWT','jtHJX','bootstrap','inherit','warn','child_process','5885256qVNObA','kYTYW','38SLeIjt','getInstance',',browserstack','WRFSY','parallelsPerPlatform','jdEey','cli,browserstack','PAkYM','7585914EiSHje','Newman\x20CLI\x20not\x20found:\x20','newman/bin/newman','assign','MzPRh','jzoHG','winstonLogger','exitCode','config','message','../../helpers/helper','[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','CxpTx','cliConfig','env'];a37_0x4dd7=function(){return _0x4677a6;};return a37_0x4dd7();}function registerBrowserStackReporter(){const _0x4a0c72=a37_0x15e097,_0x35a66d={};_0x35a66d[_0x4a0c72(0x1ba)]=function(_0xa1ea75,_0x3b41a5){return _0xa1ea75===_0x3b41a5;},_0x35a66d[_0x4a0c72(0x1ec)]=_0x4a0c72(0x1c3),_0x35a66d[_0x4a0c72(0x212)]=_0x4a0c72(0x1dc),_0x35a66d[_0x4a0c72(0x20e)]='index.js';const _0x202536=_0x35a66d,_0x5aaef0=path[_0x4a0c72(0x1ed)](__dirname,_0x202536[_0x4a0c72(0x212)],_0x202536['WRFSY']),_0x3ad2d1=Module[_0x4a0c72(0x202)];Module['_resolveFilename']=function(_0x568b1e,_0x4a1c04,_0x138c25,_0x1bd376){const _0x4fcc6d=_0x4a0c72;if(_0x202536['IRRmM'](_0x568b1e,_0x202536[_0x4fcc6d(0x1ec)]))return _0x5aaef0;return _0x3ad2d1[_0x4fcc6d(0x1e7)](this,_0x568b1e,_0x4a1c04,_0x138c25,_0x1bd376);};}function a37_0x347d(_0x9c012b,_0x3cff30){const _0x4dd79c=a37_0x4dd7();return a37_0x347d=function(_0x347d13,_0x240f08){_0x347d13=_0x347d13-0x1ab;let _0x2b5370=_0x4dd79c[_0x347d13];return _0x2b5370;},a37_0x347d(_0x9c012b,_0x3cff30);}function injectReporterIntoArgs(_0x243097){const _0x2c6002=a37_0x15e097,_0x3c965a={};_0x3c965a[_0x2c6002(0x1be)]=function(_0x475095,_0x160666){return _0x475095<_0x160666;},_0x3c965a[_0x2c6002(0x1ae)]=function(_0x4332a6,_0x34d8fd){return _0x4332a6===_0x34d8fd;},_0x3c965a[_0x2c6002(0x1ee)]=function(_0x121e80,_0x346bcc){return _0x121e80===_0x346bcc;},_0x3c965a[_0x2c6002(0x1f6)]=_0x2c6002(0x1d2),_0x3c965a[_0x2c6002(0x1bc)]=function(_0x1a325d,_0x43fe14){return _0x1a325d+_0x43fe14;},_0x3c965a[_0x2c6002(0x1c9)]=function(_0x58ae58,_0x57ba2d){return _0x58ae58+_0x57ba2d;},_0x3c965a['KVrnd']='browserstack',_0x3c965a[_0x2c6002(0x204)]=function(_0x491988,_0x11adfd){return _0x491988+_0x11adfd;},_0x3c965a[_0x2c6002(0x20a)]=_0x2c6002(0x20d),_0x3c965a[_0x2c6002(0x1d9)]=_0x2c6002(0x211);const _0x2b919d=_0x3c965a,_0x3c6cd1=_0x243097['slice']();for(let _0x5a987a=0x0;_0x2b919d['uYckA'](_0x5a987a,_0x3c6cd1[_0x2c6002(0x1b3)]);_0x5a987a++){if(_0x2b919d['bDrqn'](_0x3c6cd1[_0x5a987a],'-r')||_0x2b919d[_0x2c6002(0x1ee)](_0x3c6cd1[_0x5a987a],_0x2b919d[_0x2c6002(0x1f6)]))return _0x3c6cd1[_0x2b919d['EBgHQ'](_0x5a987a,0x1)]&&_0x2b919d[_0x2c6002(0x1ae)](_0x3c6cd1[_0x2b919d[_0x2c6002(0x1c9)](_0x5a987a,0x1)]['indexOf'](_0x2b919d[_0x2c6002(0x1ab)]),-0x1)&&(_0x3c6cd1[_0x2b919d[_0x2c6002(0x204)](_0x5a987a,0x1)]+=_0x2b919d[_0x2c6002(0x20a)]),_0x3c6cd1;}return _0x3c6cd1['push']('-r',_0x2b919d[_0x2c6002(0x1d9)]),_0x3c6cd1;}function runNewmanCLI(_0x203fd3){const _0x108b38=a37_0x15e097,_0x541411={'UgDZU':function(_0x7ba97c,_0x23acac){return _0x7ba97c>_0x23acac;},'OqayL':function(_0x1475cf,_0xe0437b){return _0x1475cf(_0xe0437b);},'oKlUp':function(_0x1fc5d7,_0x33af88,_0x5fb2a4){return _0x1fc5d7(_0x33af88,_0x5fb2a4);},'VgjQS':_0x108b38(0x1c6),'JuWBb':_0x108b38(0x21f),'DUVCg':_0x108b38(0x1c8),'ukGtP':_0x108b38(0x1da),'RjbQQ':function(_0x50627b,_0x84e1e1){return _0x50627b(_0x84e1e1);},'hnUyi':_0x108b38(0x215),'VvQOJ':_0x108b38(0x1d5),'bVBUF':function(_0x6cf2da,_0x36a586){return _0x6cf2da+_0x36a586;},'aYsks':_0x108b38(0x214)};return new Promise(_0x47e7ea=>{const _0x1dbc27=_0x108b38,_0x2f9b3e={'QCFFV':function(_0x5b4314,_0x5a12aa){const _0x85c69a=a37_0x347d;return _0x541411[_0x85c69a(0x1de)](_0x5b4314,_0x5a12aa);},'OXaoX':function(_0x1e7a53,_0x5eb9dd){const _0x5c8bfb=a37_0x347d;return _0x541411[_0x5c8bfb(0x1b7)](_0x1e7a53,_0x5eb9dd);},'GAsxO':function(_0x2a8410,_0x21fe06,_0x198da7){const _0x37c6b0=a37_0x347d;return _0x541411[_0x37c6b0(0x1b2)](_0x2a8410,_0x21fe06,_0x198da7);}};let _0x143f5b;try{_0x143f5b=helper['requireModule'](_0x541411['VgjQS'],_0x541411[_0x1dbc27(0x1af)]);}catch(_0x6890da){return logger['error'](_0x541411[_0x1dbc27(0x1c0)]),_0x541411[_0x1dbc27(0x1b7)](_0x47e7ea,0x1);}const _0x3aceb7=_0x143f5b[_0x1dbc27(0x1f1)];_0x143f5b[_0x1dbc27(0x1f1)]=function(_0x24261b,_0x588025){const _0x1e5b6a=_0x1dbc27;return _0x143f5b[_0x1e5b6a(0x1f1)]=_0x3aceb7,_0x3aceb7['call'](_0x143f5b,_0x24261b,(_0x34cecf,_0x5b7715)=>{const _0x16e3c9=_0x1e5b6a,_0xa4bfdb=_0x5b7715&&_0x5b7715[_0x16e3c9(0x1f1)]&&(_0x5b7715[_0x16e3c9(0x1f1)][_0x16e3c9(0x1ac)]||_0x5b7715[_0x16e3c9(0x1f1)][_0x16e3c9(0x1ff)]&&_0x2f9b3e['QCFFV'](_0x5b7715[_0x16e3c9(0x1f1)]['failures']['length'],0x0));_0x2f9b3e[_0x16e3c9(0x1d1)](_0x47e7ea,_0xa4bfdb?0x1:0x0),_0x588025&&_0x2f9b3e[_0x16e3c9(0x200)](_0x588025,_0x34cecf,_0x5b7715);});};try{const _0x553bbc=_0x541411['OqayL'](require,_0x541411['DUVCg'])[_0x1dbc27(0x1e0)](path['join'](process['cwd'](),_0x541411[_0x1dbc27(0x1f2)]));_0x541411[_0x1dbc27(0x1b6)](_0x553bbc,_0x541411[_0x1dbc27(0x1e8)])([_0x541411[_0x1dbc27(0x1eb)],_0x541411[_0x1dbc27(0x1af)]][_0x1dbc27(0x1b5)](_0x203fd3));}catch(_0x275358){_0x143f5b['run']=_0x3aceb7,logger[_0x1dbc27(0x1ac)](_0x541411[_0x1dbc27(0x1fa)](_0x541411[_0x1dbc27(0x1df)],_0x275358['message'])),_0x541411[_0x1dbc27(0x1b6)](_0x47e7ea,0x1);}});}function runNewmanScript(_0x3229e0,_0x4d9aa4){const _0x39e290=a37_0x15e097,_0xe6136f={'xhfJI':function(_0x280862,_0x326f4a){return _0x280862(_0x326f4a);},'jzoHG':function(_0x394f38,_0x3b57c6){return _0x394f38||_0x3b57c6;},'Ctrtr':function(_0x5a39ec,_0x50231b,_0x35ee5b,_0x2a39c0){return _0x5a39ec(_0x50231b,_0x35ee5b,_0x2a39c0);},'BFywC':_0x39e290(0x1bb),'GNByJ':function(_0x246621,_0x521796){return _0x246621(_0x521796);},'kxUll':_0x39e290(0x206),'CAFuD':_0x39e290(0x1bd)};return new Promise(function(_0x2ca62e){const _0x3e31ab=_0x39e290,_0x40f456=_0xe6136f[_0x3e31ab(0x1fb)](fork,path['join'](__dirname,_0xe6136f[_0x3e31ab(0x1fd)]),[_0x3229e0,_0xe6136f[_0x3e31ab(0x1c1)](String,_0xe6136f[_0x3e31ab(0x218)](_0x4d9aa4,0x0))],{'stdio':_0xe6136f[_0x3e31ab(0x1c7)],'env':Object[_0x3e31ab(0x216)]({},process[_0x3e31ab(0x222)])});_0x40f456['on'](_0xe6136f[_0x3e31ab(0x1f7)],function(_0x3de930){const _0xaca7cb=_0x3e31ab;_0xe6136f[_0xaca7cb(0x1e3)](_0x2ca62e,_0xe6136f[_0xaca7cb(0x218)](_0x3de930,0x0));});});}function hasO11yBuild(){const _0x14c709=a37_0x15e097,_0x38388d={};_0x38388d[_0x14c709(0x1e5)]=function(_0xbce63e,_0x4c3b45){return _0xbce63e!==_0x4c3b45;},_0x38388d[_0x14c709(0x1f8)]='null';const _0x3eefc1=_0x38388d;return!!(BrowserstackCLI[_0x14c709(0x1d4)]||process[_0x14c709(0x222)][_0x14c709(0x203)]&&_0x3eefc1[_0x14c709(0x1e5)](process[_0x14c709(0x222)][_0x14c709(0x203)],_0x3eefc1[_0x14c709(0x1f8)]));}function runWithoutObservability(_0x227e0c,_0x5bb789){const _0x21e226=a37_0x15e097,_0x455e93={'CxpTx':function(_0x3d108c,_0x1e3a2d){return _0x3d108c(_0x1e3a2d);}};if(_0x227e0c)return _0x455e93[_0x21e226(0x220)](require,path[_0x21e226(0x1d6)](_0x227e0c)),0x0;return _0x455e93[_0x21e226(0x220)](runNewmanCLI,_0x5bb789);}module[a37_0x15e097(0x1ad)]=async function(_0x5a072c,_0x18fd4f,_0x59d452){const _0x50472f=a37_0x15e097,_0x37c2c3={'eVBvS':_0x50472f(0x1e9),'dlOHT':function(_0x526390,_0x46a1dc){return _0x526390===_0x46a1dc;},'MaThU':_0x50472f(0x223),'tbSEW':function(_0x46b8c8,_0x1d1b34,_0x2c3f1b){return _0x46b8c8(_0x1d1b34,_0x2c3f1b);},'MzPRh':function(_0x3a6364,_0x345ce3){return _0x3a6364!=_0x345ce3;},'YdSmv':_0x50472f(0x1ca),'ayQek':_0x50472f(0x1c6),'ftcui':function(_0x3b07e5,_0x3aee9d){return _0x3b07e5+_0x3aee9d;},'blHpM':_0x50472f(0x1d7),'jdEey':_0x50472f(0x1e4),'IaQdy':function(_0x473053){return _0x473053();},'TOhjx':_0x50472f(0x21e),'lxIcH':function(_0x1ce4ff,_0x20f5eb){return _0x1ce4ff(_0x20f5eb);},'GBYna':_0x50472f(0x1b8)},_0x4ae743=_0x18fd4f['slice'](0x1),_0x20d082=_0x4ae743[0x0]&&_0x4ae743[0x0][_0x50472f(0x1bf)](_0x37c2c3['eVBvS'])?_0x4ae743[0x0]:null;if(!_0x59d452['config']||_0x37c2c3[_0x50472f(0x1b0)](_0x59d452[_0x50472f(0x21b)]['testObservability'],![])||_0x37c2c3[_0x50472f(0x1b0)](_0x59d452[_0x50472f(0x21b)][_0x50472f(0x201)],_0x37c2c3[_0x50472f(0x1b4)])){process['exitCode']=await _0x37c2c3[_0x50472f(0x1b1)](runWithoutObservability,_0x20d082,_0x4ae743)||0x0;return;}process[_0x50472f(0x222)]['BROWSERSTACK_AUTOMATION']=_0x37c2c3[_0x50472f(0x1b4)],process[_0x50472f(0x222)][_0x50472f(0x1f3)]=_0x37c2c3[_0x50472f(0x1b4)],process[_0x50472f(0x222)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x37c2c3[_0x50472f(0x217)](_0x59d452[_0x50472f(0x21b)][_0x50472f(0x201)],null)?_0x59d452[_0x50472f(0x21b)][_0x50472f(0x201)]:_0x37c2c3[_0x50472f(0x1f4)],CLIUtils[_0x50472f(0x1cf)](_0x37c2c3[_0x50472f(0x1e2)],_0x37c2c3[_0x50472f(0x1e2)]),BrowserstackCLI[_0x50472f(0x20c)]()[_0x50472f(0x1d3)](_0x59d452[_0x50472f(0x21b)],_0x59d452[_0x50472f(0x1c2)],_0x59d452[_0x50472f(0x221)]);try{await BrowserstackCLI['getInstance']()[_0x50472f(0x205)]();}catch(_0x79fb0e){logger[_0x50472f(0x1ac)](_0x37c2c3['ftcui'](_0x37c2c3[_0x50472f(0x1c4)],_0x79fb0e[_0x50472f(0x21c)]||_0x79fb0e));}if(!BrowserstackCLI[_0x50472f(0x20c)]()['isRunning']())try{await TestHubHandler[_0x50472f(0x1cb)](FRAMEWORKS[_0x50472f(0x1fc)],_0x59d452);}catch(_0x43f26b){logger['error'](_0x37c2c3['ftcui'](_0x37c2c3[_0x50472f(0x210)],_0x43f26b[_0x50472f(0x21c)]||_0x43f26b));}!_0x37c2c3[_0x50472f(0x1f9)](hasO11yBuild)&&logger[_0x50472f(0x207)](_0x37c2c3[_0x50472f(0x1ef)]);_0x37c2c3[_0x50472f(0x1f9)](registerBrowserStackReporter);let _0x5cad27;_0x20d082?_0x5cad27=await _0x37c2c3[_0x50472f(0x1b1)](runNewmanScript,_0x20d082,_0x59d452[_0x50472f(0x21b)][_0x50472f(0x20f)]):_0x5cad27=await _0x37c2c3[_0x50472f(0x1ce)](runNewmanCLI,_0x37c2c3[_0x50472f(0x1ce)](injectReporterIntoArgs,_0x4ae743));try{await TestHubHandler['stop']();}catch(_0x248373){}try{await BrowserstackCLI[_0x50472f(0x20c)]()[_0x50472f(0x1cd)]();}catch(_0x6bafe){}try{await RequestQueueHandler[_0x50472f(0x20c)]()[_0x50472f(0x1d8)]();}catch(_0x5154d4){}if(_0x37c2c3[_0x50472f(0x1f9)](hasO11yBuild))try{_0x37c2c3[_0x50472f(0x1f9)](printBuildLink);}catch(_0x29713b){}else logger[_0x50472f(0x207)](_0x37c2c3[_0x50472f(0x1fe)]);process[_0x50472f(0x21a)]=_0x5cad27;};
@@ -1 +1 @@
1
- const a38_0x4dfc66=a38_0x4954;(function(_0xb680e3,_0x486390){const _0x3f48b2=a38_0x4954,_0x9928e7=_0xb680e3();while(!![]){try{const _0x472863=parseInt(_0x3f48b2(0x129))/0x1*(-parseInt(_0x3f48b2(0x11b))/0x2)+-parseInt(_0x3f48b2(0x11a))/0x3*(parseInt(_0x3f48b2(0x11c))/0x4)+-parseInt(_0x3f48b2(0x12a))/0x5*(-parseInt(_0x3f48b2(0x124))/0x6)+-parseInt(_0x3f48b2(0x122))/0x7*(-parseInt(_0x3f48b2(0x125))/0x8)+-parseInt(_0x3f48b2(0x11d))/0x9*(-parseInt(_0x3f48b2(0x126))/0xa)+parseInt(_0x3f48b2(0x121))/0xb*(-parseInt(_0x3f48b2(0x12c))/0xc)+parseInt(_0x3f48b2(0x11f))/0xd;if(_0x472863===_0x486390)break;else _0x9928e7['push'](_0x9928e7['shift']());}catch(_0xb4ed8f){_0x9928e7['push'](_0x9928e7['shift']());}}}(a38_0x54ff,0x95b85));function isNewman(_0x5660de){const _0x5ecde6=a38_0x4954,_0x5768d5={'sVvmx':function(_0x1990a5,_0x2b983b){return _0x1990a5===_0x2b983b;},'tjail':_0x5ecde6(0x12b),'nMSGS':function(_0x181819,_0x10f182){return _0x181819(_0x10f182);},'tTCwx':function(_0x309aae,_0x4be2bd){return _0x309aae||_0x4be2bd;}},_0x1a91bd=process['env'][_0x5ecde6(0x11e)]||'';let _0x28d826='';_0x5660de&&_0x5660de['framework']&&(_0x28d826=_0x5660de['framework']);const _0x452f2d=_0x5768d5[_0x5ecde6(0x128)](_0x1a91bd[_0x5ecde6(0x123)](),_0x5768d5['tjail']),_0xbb9d97=_0x5768d5[_0x5ecde6(0x128)](_0x5768d5['nMSGS'](String,_0x28d826)[_0x5ecde6(0x123)](),_0x5768d5[_0x5ecde6(0x127)]);return _0x5768d5['tTCwx'](_0x452f2d,_0xbb9d97);}function a38_0x54ff(){const _0x67068b=['2245024ZgFZEz','1704NgMPzE','603AGZefK','BROWSERSTACK_FRAMEWORK','8510190RUcnTD','exports','375353MiWEyb','7743974qbssZD','toLowerCase','1542SSNmIA','8eAhxWw','91850cksMLH','tjail','sVvmx','1ZRiMfS','755sUslKu','newman','204dvZkPH','699sVtlwP'];a38_0x54ff=function(){return _0x67068b;};return a38_0x54ff();};function a38_0x4954(_0x290f94,_0x366e6a){const _0x54ff01=a38_0x54ff();return a38_0x4954=function(_0x495416,_0x3970a3){_0x495416=_0x495416-0x11a;let _0x3da34a=_0x54ff01[_0x495416];return _0x3da34a;},a38_0x4954(_0x290f94,_0x366e6a);}const a38_0x37048e={};a38_0x37048e['isNewman']=isNewman,module[a38_0x4dfc66(0x120)]=a38_0x37048e;
1
+ const a38_0x371124=a38_0x54c1;function a38_0x54c1(_0x202c77,_0x4585ec){const _0x23a884=a38_0x23a8();return a38_0x54c1=function(_0x54c188,_0x47a86c){_0x54c188=_0x54c188-0x69;let _0xf53faf=_0x23a884[_0x54c188];return _0xf53faf;},a38_0x54c1(_0x202c77,_0x4585ec);}(function(_0xaca95f,_0x170c47){const _0x37dd2b=a38_0x54c1,_0x171ca5=_0xaca95f();while(!![]){try{const _0x106b3c=-parseInt(_0x37dd2b(0x76))/0x1*(parseInt(_0x37dd2b(0x7b))/0x2)+-parseInt(_0x37dd2b(0x75))/0x3*(parseInt(_0x37dd2b(0x71))/0x4)+parseInt(_0x37dd2b(0x7d))/0x5*(-parseInt(_0x37dd2b(0x6d))/0x6)+parseInt(_0x37dd2b(0x70))/0x7*(parseInt(_0x37dd2b(0x69))/0x8)+parseInt(_0x37dd2b(0x6e))/0x9*(parseInt(_0x37dd2b(0x6a))/0xa)+parseInt(_0x37dd2b(0x72))/0xb+parseInt(_0x37dd2b(0x74))/0xc;if(_0x106b3c===_0x170c47)break;else _0x171ca5['push'](_0x171ca5['shift']());}catch(_0x3be35e){_0x171ca5['push'](_0x171ca5['shift']());}}}(a38_0x23a8,0x9b3fb));function isNewman(_0x275efe){const _0x51342c=a38_0x54c1,_0x2ab6f2={'EZvvr':function(_0x1811e9,_0x20558b){return _0x1811e9===_0x20558b;},'UxeZM':_0x51342c(0x78),'ECoFX':function(_0x145f36,_0x569b8c){return _0x145f36===_0x569b8c;},'ikEVk':function(_0x4b66d3,_0x5cab34){return _0x4b66d3(_0x5cab34);},'UCQYr':function(_0x1f75dc,_0x2fdd8f){return _0x1f75dc||_0x2fdd8f;}},_0x46875d=process[_0x51342c(0x6f)]['BROWSERSTACK_FRAMEWORK']||'';let _0x32b212='';_0x275efe&&_0x275efe[_0x51342c(0x73)]&&(_0x32b212=_0x275efe[_0x51342c(0x73)]);const _0xfa5b82=_0x2ab6f2['EZvvr'](_0x46875d[_0x51342c(0x6c)](),_0x2ab6f2['UxeZM']),_0x19e689=_0x2ab6f2[_0x51342c(0x77)](_0x2ab6f2[_0x51342c(0x7a)](String,_0x32b212)[_0x51342c(0x6c)](),_0x2ab6f2[_0x51342c(0x79)]);return _0x2ab6f2[_0x51342c(0x7c)](_0xfa5b82,_0x19e689);};const a38_0x54f647={};a38_0x54f647[a38_0x371124(0x6b)]=isNewman,module['exports']=a38_0x54f647;function a38_0x23a8(){const _0x12bb29=['21nZLtgW','7204MsnDwK','2222902sVBRbp','framework','13258152mzmIQO','1503TAtlXt','547401ikKidN','ECoFX','newman','UxeZM','ikEVk','2CrQace','UCQYr','81710IKQeqb','1789864frGPgk','20yadVGl','isNewman','toLowerCase','252NnMhxd','3572271Efzorg','env'];a38_0x23a8=function(){return _0x12bb29;};return a38_0x23a8();}
@@ -1 +1 @@
1
- 'use strict';const a39_0x1c48f6=a39_0x2184;(function(_0x596805,_0x49605d){const _0x6d9bb0=a39_0x2184,_0x31bfc1=_0x596805();while(!![]){try{const _0xb3fdb5=-parseInt(_0x6d9bb0(0x1c4))/0x1+-parseInt(_0x6d9bb0(0x294))/0x2*(-parseInt(_0x6d9bb0(0x237))/0x3)+parseInt(_0x6d9bb0(0x1d2))/0x4+parseInt(_0x6d9bb0(0x279))/0x5+parseInt(_0x6d9bb0(0x202))/0x6*(parseInt(_0x6d9bb0(0x204))/0x7)+parseInt(_0x6d9bb0(0x1b3))/0x8+-parseInt(_0x6d9bb0(0x22f))/0x9;if(_0xb3fdb5===_0x49605d)break;else _0x31bfc1['push'](_0x31bfc1['shift']());}catch(_0x3e2359){_0x31bfc1['push'](_0x31bfc1['shift']());}}}(a39_0x4f18,0xd7d30));const path=require(a39_0x1c48f6(0x1d5)),{v4:uuidv4}=require('uuid'),SessionHandler=require(a39_0x1c48f6(0x23d)),{debug}=require(a39_0x1c48f6(0x1e4)),logger=require('../../../helpers/logger')[a39_0x1c48f6(0x250)],BrowserstackCLI=require('../../v2/browserstackCLI'),GrpcClient=require('../../v2/grpcClient'),TestFrameworkState=require(a39_0x1c48f6(0x212)),HookState=require(a39_0x1c48f6(0x281)),LOG_LEVELS=[a39_0x1c48f6(0x221),a39_0x1c48f6(0x218),a39_0x1c48f6(0x278),a39_0x1c48f6(0x276),'TRACE'];function isCLIRunning(){const _0x4a6739=a39_0x1c48f6;try{return BrowserstackCLI[_0x4a6739(0x253)]()[_0x4a6739(0x1a8)]();}catch(_0x294d9b){return![];}}function a39_0x4f18(){const _0x4cc811=['[Newman\x20Reporter]\x20emitLog\x20error:\x20','../../../helpers/test-observability/sessionHandler','POST','No\x20HTTP\x20response\x20received','erueC','err','\x20(no\x20assertions)','\x20—\x20response\x20status\x20in\x20failure\x20range','toISOString','TEST_LOG','VRJDK','maRoV','assert','kpdRU','pjtEa','dzlOS','[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20','durationMs','url','lZzKN','winstonLogger','push','LRZOw','getInstance','TbsIQ','duration_ms','response','test_run_uuid','apply','result','uuid','hczKR','collectionPath','failure','[Newman\x20Reporter]\x20Error\x20in\x20console:\x20','NYohi','GRyks','PeuIT','Script\x20error\x20(','AssertionError','bufferedLogs','logs','stringify','[Newman\x20Reporter]\x20emitTest\x20error:\x20','InQJP','zzLlu','UghIt','failureType','get','http://','delete','fBOKd','UsDFI','join','startedAt','LRckX','max','Assertion\x20','DEBUG','collection','ERROR','2484965iDSsmV','messages','tpiys','lastResponseCode','uYuKJ','cwd','SfVbk','rlWME','../../v2/state/hookState','ZfXup','stack','RTzib','indexOf','object','VTDjl','collectionName','wyVYD','wUPZz','FQdvM','platformIndex','failureReason','gwpXN','eQLoa','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','EhscA','kind','PCZoK','859766GnIsdx','httpLog','prZGj','logCreatedEvent','OFlwO','NTlaW','code','identifier','fCtBs','zdMeg','isRunning','bs:addLog:','jOqGt','message','console','cfpSB','lMTGE','PXCVc','ctUEZ','status_code','COPps','10988192CBkLFj','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','hAEcl','trackEvent','KmhoN','NmJYW','fxQNw','event_type','IOAtn','[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20','sSGHr','NBtBq','pid','Klsqp','lmUDm','MBOCL','aTjEr','690763ewpQiB','length','bQxHM','hostname','Oyvsp','newman','done','unknown','argv','relative','location','collection.json','HGYrJ','JKDuY','6276752LYcKmk','removeListener','FxgHv','path','lHcCq','cyMtx','WfioC','passed','ZQJqr','host','dtejZ','iteration','\x20(HTTP\x20','parent','xrkkF','timestamp','includes','McWtl','../../../helpers/test-observability/utils','exports','NxFSf','request','wMWmF','item','FMidT','uRKLh','ASFYz','concat','VdShf','eftoc','beforeIteration','method','startsWith','KyGBs','MsEWx','cursor','itemName','GgxCk','jBHeW','N/A','error','getTime','jdIMK','zWpiA','headers','run','Exception:\x20','uploadEventData','6xTkULs','clear','3393292KPPkjS','scopes','uJOJU','forEach','IOyEq','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','responseTime','toUpperCase','test_run','UnhandledError','ref','yzypw','HTTP','uFRRn','../../v2/state/testFrameworkState','resolve','LogCreated','now','pECix','http_response','WARN','\x20->\x20','finishedAt','utuGf','KSiRz','DVhKP','kIivM','kgjPb','backtrace','INFO','toString','info','nLACS','beforeItem','TestRunFinished','event','failure_backtrace','name','testFrameworkState','JQMNT','level','string','assertion','32753979CJQKND','pending','PRE','gHYOM','aKxEU','assertions','MXJSn','sfkLm','9FbOiXs','GET','pathname','HXekn','cqPWR'];a39_0x4f18=function(){return _0x4cc811;};return a39_0x4f18();}function getParentTitles(_0x243b1a){const _0x34ff38=a39_0x1c48f6,_0x5ab965={'TbsIQ':function(_0x4e6393,_0x38116b){return _0x4e6393(_0x38116b);},'KSiRz':function(_0x2bcb6a,_0x2c7a2c){return _0x2bcb6a(_0x2c7a2c);}},_0x37c588=[],_0x3c851b=_0x243b1a[_0x34ff38(0x1df)]();return _0x3c851b&&_0x37c588[_0x34ff38(0x251)][_0x34ff38(0x258)](_0x37c588,_0x5ab965[_0x34ff38(0x254)](getParentTitles,_0x3c851b)),_0x243b1a[_0x34ff38(0x229)]&&_0x37c588[_0x34ff38(0x251)](_0x5ab965[_0x34ff38(0x21c)](String,_0x243b1a[_0x34ff38(0x229)])),_0x37c588;}function normalizeLogLevel(_0x232ee6){const _0x4a0b83=a39_0x1c48f6,_0x373cfd={};_0x373cfd[_0x4a0b83(0x261)]=_0x4a0b83(0x221),_0x373cfd[_0x4a0b83(0x21e)]=function(_0x3c6bcc,_0x2c1090){return _0x3c6bcc!==_0x2c1090;};const _0x584f93=_0x373cfd;if(!_0x232ee6)return _0x584f93['PeuIT'];const _0x112f88=_0x232ee6[_0x4a0b83(0x20b)]();return _0x584f93[_0x4a0b83(0x21e)](LOG_LEVELS[_0x4a0b83(0x285)](_0x112f88),-0x1)?_0x112f88:_0x584f93[_0x4a0b83(0x261)];}function resolveCollectionFile(_0x555f2e,_0x305170){const _0x53ba46=a39_0x1c48f6,_0x54f7af={};_0x54f7af[_0x53ba46(0x270)]=function(_0x399bc0,_0x15aa07){return _0x399bc0===_0x15aa07;},_0x54f7af['JQMNT']=_0x53ba46(0x22d),_0x54f7af[_0x53ba46(0x28a)]=_0x53ba46(0x1ff),_0x54f7af[_0x53ba46(0x280)]=function(_0x51a4e6,_0x93bb8a){return _0x51a4e6!==_0x93bb8a;},_0x54f7af[_0x53ba46(0x246)]=function(_0x52150b,_0x44c1a3){return _0x52150b<_0x44c1a3;},_0x54f7af[_0x53ba46(0x1f7)]=function(_0x38d578,_0x485beb){return _0x38d578+_0x485beb;},_0x54f7af[_0x53ba46(0x291)]='[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json',_0x54f7af[_0x53ba46(0x282)]=_0x53ba46(0x1cf);const _0x49ea2c=_0x54f7af;try{if(_0x305170&&_0x305170[_0x53ba46(0x25c)])return path['relative'](process[_0x53ba46(0x27e)](),path[_0x53ba46(0x213)](_0x305170[_0x53ba46(0x25c)]));const _0x21f4fb=_0x555f2e['collection'];if(_0x49ea2c[_0x53ba46(0x270)](typeof _0x21f4fb,_0x49ea2c[_0x53ba46(0x22b)]))return path[_0x53ba46(0x1cd)](process[_0x53ba46(0x27e)](),path[_0x53ba46(0x213)](_0x21f4fb));const _0x5029e9=process[_0x53ba46(0x1cc)][_0x53ba46(0x285)](_0x49ea2c[_0x53ba46(0x28a)]);if(_0x49ea2c[_0x53ba46(0x280)](_0x5029e9,-0x1)&&_0x49ea2c[_0x53ba46(0x246)](_0x49ea2c['GgxCk'](_0x5029e9,0x1),process['argv'][_0x53ba46(0x1c5)])){const _0x32fa04=process[_0x53ba46(0x1cc)][_0x49ea2c[_0x53ba46(0x1f7)](_0x5029e9,0x1)];if(_0x32fa04&&!_0x32fa04[_0x53ba46(0x1f2)]('-'))return path[_0x53ba46(0x1cd)](process[_0x53ba46(0x27e)](),path[_0x53ba46(0x213)](_0x32fa04));}}catch(_0x355489){}return logger['info'](_0x49ea2c[_0x53ba46(0x291)]),_0x49ea2c[_0x53ba46(0x282)];}function resolveCollectionName(_0xcf87f6){const _0xf65fa=a39_0x1c48f6,_0x41aab9={};_0x41aab9['DjcGE']=function(_0x3ade02,_0x4367a9){return _0x3ade02===_0x4367a9;},_0x41aab9['eftoc']=_0xf65fa(0x286);const _0x58d2db=_0x41aab9;try{const _0x3f20c1=_0xcf87f6[_0xf65fa(0x277)];if(_0x3f20c1&&_0x58d2db['DjcGE'](typeof _0x3f20c1,_0x58d2db[_0xf65fa(0x1ef)]))return _0x3f20c1['name']||_0x3f20c1[_0xf65fa(0x223)]&&_0x3f20c1[_0xf65fa(0x223)][_0xf65fa(0x229)]||null;}catch(_0x478004){}return null;}function emitTest(_0x5f28ba,_0x5bab8c,_0x563d3b,_0x438f64,_0x520960){const _0x2989c6=a39_0x1c48f6,_0x267cd8={'MsEWx':function(_0x29f8ff){return _0x29f8ff();},'dtejZ':_0x2989c6(0x230),'lHcCq':function(_0x2fc3c8,_0x792928){return _0x2fc3c8(_0x792928);},'kpdRU':_0x2989c6(0x1c9),'xrkkF':'javascript','kgjPb':function(_0x32bfce,_0x9edec7){return _0x32bfce!=_0x9edec7;},'cfpSB':function(_0x40aac1,_0x261e29){return _0x40aac1===_0x261e29;},'uFRRn':'TestRunStarted','lmUDm':_0x2989c6(0x226)};if(_0x267cd8[_0x2989c6(0x1f4)](isCLIRunning))try{const _0x13f228=BrowserstackCLI['getInstance']()['getTestFramework']();if(!_0x13f228)return;_0x13f228[_0x2989c6(0x1b6)](TestFrameworkState['TEST'],_0x5f28ba,{'test':{'uuid':_0x5bab8c['uuid'],'name':_0x5bab8c[_0x2989c6(0x229)],'scopes':_0x563d3b[_0x2989c6(0x205)],'scope':_0x563d3b[_0x2989c6(0x205)][_0x2989c6(0x271)]('\x20'),'file_path':_0x438f64,'location':_0x563d3b[_0x2989c6(0x288)],'started_at':_0x563d3b[_0x2989c6(0x272)],'finished_at':_0x520960[_0x2989c6(0x21a)]||null,'result':_0x520960[_0x2989c6(0x259)]||_0x267cd8[_0x2989c6(0x1dc)],'failure':_0x520960[_0x2989c6(0x25d)]||[],'failure_type':_0x520960['failureType']||null,'failure_reason':_0x520960[_0x2989c6(0x28d)]||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x301358){_0x267cd8[_0x2989c6(0x1d6)](debug,_0x2989c6(0x267)+_0x301358);}else{const _0x510b15={'uuid':_0x5bab8c[_0x2989c6(0x25a)],'name':_0x5bab8c[_0x2989c6(0x229)],'framework':_0x267cd8[_0x2989c6(0x249)],'body':{'lang':_0x267cd8[_0x2989c6(0x1e0)],'code':null},'scope':_0x563d3b[_0x2989c6(0x205)][_0x2989c6(0x271)]('\x20'),'scopes':_0x563d3b[_0x2989c6(0x205)],'identifier':_0x5bab8c[_0x2989c6(0x1a5)],'file_name':_0x563d3b[_0x2989c6(0x288)],'vc_filepath':_0x563d3b[_0x2989c6(0x1ce)],'location':_0x563d3b[_0x2989c6(0x1ce)],'started_at':_0x563d3b[_0x2989c6(0x272)],'finished_at':_0x520960[_0x2989c6(0x21a)]||null,'duration_in_ms':_0x267cd8[_0x2989c6(0x21f)](_0x520960[_0x2989c6(0x24d)],null)?Math[_0x2989c6(0x274)](0x0,_0x520960['durationMs']):null,'result':_0x520960['result']||_0x267cd8[_0x2989c6(0x1dc)],'failure_reason':_0x520960[_0x2989c6(0x28d)]||null,'failure_type':_0x520960['failureType']||null,'failure':_0x520960['failure']||[],'retry_of':null,'hooks':[]};_0x510b15['failure'][0x0]&&(_0x510b15[_0x2989c6(0x228)]=_0x510b15[_0x2989c6(0x25d)][0x0][_0x2989c6(0x220)],_0x510b15['failure_reason_expanded']=_0x510b15['failure'][0x0]['expanded']);const _0xadd50f=_0x267cd8[_0x2989c6(0x1ad)](_0x5f28ba,HookState[_0x2989c6(0x231)])?_0x267cd8[_0x2989c6(0x211)]:_0x267cd8[_0x2989c6(0x1c1)],_0xffe447={};_0xffe447[_0x2989c6(0x1ba)]=_0xadd50f,_0xffe447[_0x2989c6(0x20c)]=_0x510b15,SessionHandler[_0x2989c6(0x201)](_0xffe447);}}function emitLog(_0x3b3793,_0x1dd0e8){const _0x1665e5=a39_0x1c48f6,_0x362b7f={'oYliG':_0x1665e5(0x245),'nuGop':function(_0x1e7170){return _0x1e7170();},'pECix':function(_0x4933d7,_0x188610){return _0x4933d7===_0x188610;},'MXJSn':_0x1665e5(0x210),'FQdvM':'newman','WfioC':'TEST','KmhoN':_0x1665e5(0x221),'pjtEa':function(_0x54ee37,_0x481c8f){return _0x54ee37(_0x481c8f);},'VTDjl':function(_0xf06d61,_0x2cc880){return _0xf06d61+_0x2cc880;},'McWtl':_0x1665e5(0x23c),'nKyXH':_0x1665e5(0x214)},_0x3aec32=_0x1dd0e8['kind']||_0x362b7f['oYliG'],_0x29ff7c=_0x1dd0e8[_0x1665e5(0x1e1)]||new Date()[_0x1665e5(0x244)]();if(_0x362b7f['nuGop'](isCLIRunning))try{const _0x21a1ed=_0x362b7f[_0x1665e5(0x216)](_0x3aec32,_0x362b7f[_0x1665e5(0x235)])?JSON[_0x1665e5(0x266)](_0x1dd0e8):_0x1dd0e8[_0x1665e5(0x1ab)]||'',_0x5b6513={};_0x5b6513[_0x1665e5(0x28c)]=0x0,_0x5b6513['testFrameworkName']=_0x362b7f[_0x1665e5(0x28b)],_0x5b6513['testFrameworkVersion']='',_0x5b6513[_0x1665e5(0x22a)]=_0x362b7f[_0x1665e5(0x1d8)],_0x5b6513['logs']=[{'uuid':_0x3b3793,'timestamp':_0x29ff7c,'kind':_0x3aec32,'level':_0x1dd0e8['level']||_0x362b7f[_0x1665e5(0x1b7)],'message':_0x21a1ed}],GrpcClient[_0x1665e5(0x253)]()[_0x1665e5(0x297)](_0x5b6513);}catch(_0xbad4b5){_0x362b7f[_0x1665e5(0x24a)](debug,_0x362b7f[_0x1665e5(0x287)](_0x362b7f[_0x1665e5(0x1e3)],_0xbad4b5));}else{const _0x1850e1={};_0x1850e1[_0x1665e5(0x257)]=_0x3b3793,_0x1850e1[_0x1665e5(0x1e1)]=_0x29ff7c,_0x1850e1['level']=_0x1dd0e8[_0x1665e5(0x22c)]||null,_0x1850e1[_0x1665e5(0x1ab)]=_0x1dd0e8['message']||null,_0x1850e1[_0x1665e5(0x292)]=_0x3aec32,_0x1850e1[_0x1665e5(0x217)]=_0x1dd0e8['http_response']||{};const _0x44ab3d={};_0x44ab3d[_0x1665e5(0x1ba)]=_0x362b7f['nKyXH'],_0x44ab3d[_0x1665e5(0x265)]=[_0x1850e1],SessionHandler['uploadEventData'](_0x44ab3d);}}function a39_0x2184(_0x46b333,_0x76ce21){const _0x4f184e=a39_0x4f18();return a39_0x2184=function(_0x2184db,_0x2e7e12){_0x2184db=_0x2184db-0x1a2;let _0x1f8105=_0x4f184e[_0x2184db];return _0x1f8105;},a39_0x2184(_0x46b333,_0x76ce21);}function BrowserStackNewmanReporter(_0x287369,_0x5a6b76,_0x20b3ac){const _0x543f05=a39_0x1c48f6,_0x2444bf={'NxFSf':function(_0x42de42,_0x5b8915,_0x232d1d){return _0x42de42(_0x5b8915,_0x232d1d);},'ahWqD':function(_0x1b0973,_0x26e285){return _0x1b0973(_0x26e285);},'jBHeW':function(_0x34f263,_0x2f54f1){return _0x34f263(_0x2f54f1);},'jdIMK':function(_0x4ba263,_0x358652){return _0x4ba263>_0x358652;},'cqPWR':function(_0x1a1267,_0x4790c4){return _0x1a1267(_0x4790c4);},'sfkLm':'http','eQLoa':function(_0xa51160,_0x544f7d){return _0xa51160+_0x544f7d;},'OFlwO':_0x543f05(0x238),'yzypw':function(_0x2ab6d6,_0x2ab30f){return _0x2ab6d6(_0x2ab30f);},'zWpiA':_0x543f05(0x245),'bQxHM':function(_0x137002){return _0x137002();},'VdShf':function(_0x4977ef,_0x36690c){return _0x4977ef||_0x36690c;},'DVhKP':function(_0x35b450,_0x288e3d,_0x17f68b,_0x290ddb,_0x468f72,_0x24d99b){return _0x35b450(_0x288e3d,_0x17f68b,_0x290ddb,_0x468f72,_0x24d99b);},'RTzib':function(_0x47ded0,_0x19adea){return _0x47ded0===_0x19adea;},'zzLlu':function(_0x50f1ee,_0x59f161){return _0x50f1ee>_0x59f161;},'hAEcl':function(_0xf9cfb7,_0x2eefc9,_0x5ec954){return _0xf9cfb7(_0x2eefc9,_0x5ec954);},'PXCVc':'HTTP','SfVbk':function(_0x3d376c,_0x2153e3){return _0x3d376c+_0x2153e3;},'InQJP':function(_0x58c919,_0x24c313){return _0x58c919+_0x24c313;},'fxQNw':function(_0x132e28,_0x1c09a2){return _0x132e28+_0x1c09a2;},'maRoV':function(_0x2612d2,_0x379bcf){return _0x2612d2+_0x379bcf;},'NYohi':_0x543f05(0x219),'hczKR':'ms)','fBOKd':function(_0x10c539,_0x326afc,_0x14b7ca){return _0x10c539(_0x326afc,_0x14b7ca);},'IOAtn':_0x543f05(0x221),'ctUEZ':function(_0x577ea9,_0x392c92){return _0x577ea9(_0x392c92);},'GRyks':function(_0x593d24,_0x5930d2){return _0x593d24-_0x5930d2;},'nLACS':function(_0x20d22d,_0x188630,_0x4ee34d){return _0x20d22d(_0x188630,_0x4ee34d);},'kOdBq':function(_0x1e65c8,_0x3db8ef){return _0x1e65c8&&_0x3db8ef;},'MBOCL':function(_0x3ff43e,_0x7c437b){return _0x3ff43e>_0x7c437b;},'UghIt':function(_0x4cc5e5,_0x511f0d){return _0x4cc5e5-_0x511f0d;},'utuGf':function(_0x430b28,_0x1ee4cb,_0x1fcb8d){return _0x430b28(_0x1ee4cb,_0x1fcb8d);},'IOyEq':_0x543f05(0x200),'tpiys':'ERROR','NTlaW':function(_0x3cdf10,_0x2f135b){return _0x3cdf10(_0x2f135b);},'NBtBq':function(_0x3fa9d6,_0xba6821){return _0x3fa9d6+_0xba6821;},'NmJYW':_0x543f05(0x290),'COPps':function(_0x39aab1,_0x39289a){return _0x39aab1-_0x39289a;},'uYuKJ':_0x543f05(0x1cb),'dzlOS':function(_0x48a9c6,_0x16bf53,_0x34edb0){return _0x48a9c6(_0x16bf53,_0x34edb0);},'Klsqp':function(_0x5eaa67,_0x4b4b9d){return _0x5eaa67+_0x4b4b9d;},'aTjEr':function(_0x1f9e5c,_0x59f7a9){return _0x1f9e5c+_0x59f7a9;},'gwpXN':_0x543f05(0x262),'YOcxN':'):\x20','LRZOw':function(_0x2cbb40,_0xddfda4){return _0x2cbb40+_0xddfda4;},'GWWqo':_0x543f05(0x1b4),'sSGHr':'failed','ASFYz':_0x543f05(0x1d9),'uJOJU':_0x543f05(0x263),'PCZoK':_0x543f05(0x248),'lMTGE':_0x543f05(0x20d),'LRckX':function(_0x1533a3,_0x4170c1,_0x40f865,_0x3f2681,_0x42789b,_0x37eadf){return _0x1533a3(_0x4170c1,_0x40f865,_0x3f2681,_0x42789b,_0x37eadf);},'JowOF':function(_0x523d67,_0x1a2d69){return _0x523d67>_0x1a2d69;},'nehrv':function(_0x356432){return _0x356432();},'uRKLh':function(_0x1b0ca8,_0x249a54){return _0x1b0ca8!=_0x249a54;},'JKXYI':function(_0x8979db,_0x4f4f2a){return _0x8979db>=_0x4f4f2a;},'vkJfv':function(_0x46997b,_0xac7667){return _0x46997b<_0xac7667;},'Oyvsp':_0x543f05(0x1f9),'ZnseW':_0x543f05(0x23f),'ZQJqr':function(_0x494063,_0x540d99,_0x5ee173,_0x342f5d,_0x509bf4,_0x3e5aff){return _0x494063(_0x540d99,_0x5ee173,_0x342f5d,_0x509bf4,_0x3e5aff);},'erueC':function(_0x4ce8e5,_0x53a1af){return _0x4ce8e5+_0x53a1af;},'HXekn':function(_0xb8f534,_0x508e9f){return _0xb8f534+_0x508e9f;},'lZzKN':function(_0x3304fe,_0x5d8d42){return _0x3304fe+_0x5d8d42;},'cyMtx':function(_0x18cef9,_0x35efa2){return _0x18cef9+_0x35efa2;},'mJgpr':function(_0x291966,_0x3484ba){return _0x291966+_0x3484ba;},'gHYOM':'HTTP\x20Status:\x20','wKcSI':_0x543f05(0x242),'FxgHv':function(_0x49fa1d,_0x320f95,_0x2da266,_0x563fad,_0x497f26,_0x2d2abf){return _0x49fa1d(_0x320f95,_0x2da266,_0x563fad,_0x497f26,_0x2d2abf);},'KVSjq':function(_0x5d0179,_0x3daa7a){return _0x5d0179(_0x3daa7a);},'iAyMp':_0x543f05(0x1ca),'pLvHf':_0x543f05(0x1f0),'prZGj':_0x543f05(0x225),'FMidT':'request','wMWmF':_0x543f05(0x22e),'aKxEU':_0x543f05(0x1ac),'fCtBs':'exception','jOqGt':'script','wyVYD':_0x543f05(0x1e9)},_0x3c4fb3=new Map();let _0x36240c=null,_0x378df9=0x0;const _0x38a3a6=_0x2444bf[_0x543f05(0x224)](resolveCollectionFile,_0x20b3ac,_0x5a6b76),_0x3adeaa=_0x2444bf[_0x543f05(0x23b)](resolveCollectionName,_0x20b3ac)||_0x38a3a6,_0x28db07=path['resolve'](_0x38a3a6),_0x57eb74=_0x543f05(0x1a9)+process[_0x543f05(0x1bf)],_0x477e62=_0x3d7ebf=>{const _0x16a3b4=_0x543f05;try{_0x36240c&&_0x2444bf[_0x16a3b4(0x1e6)](emitLog,_0x36240c,_0x3d7ebf);}catch(_0x3c23e2){_0x2444bf['ahWqD'](debug,'[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20'+_0x3c23e2);}};process['on'](_0x57eb74,_0x477e62),_0x287369['on'](_0x2444bf['iAyMp'],()=>{const _0x1acb30=_0x543f05;process[_0x1acb30(0x1d3)](_0x57eb74,_0x477e62),_0x3c4fb3[_0x1acb30(0x203)]();}),_0x287369['on'](_0x2444bf['pLvHf'],(_0x493819,_0x1ca2e4)=>{const _0x35c680=_0x543f05;_0x1ca2e4&&_0x1ca2e4[_0x35c680(0x1f5)]&&(_0x378df9=_0x1ca2e4[_0x35c680(0x1f5)][_0x35c680(0x1dd)]||0x0);}),_0x287369['on'](_0x2444bf[_0x543f05(0x296)],(_0x3fb19a,_0x32569)=>{const _0x43ccfd=_0x543f05;try{_0x36240c=null;const _0x12126c=_0x32569[_0x43ccfd(0x1e9)],_0x529c30=_0x12126c[_0x43ccfd(0x1df)]()?_0x2444bf[_0x43ccfd(0x1f8)](getParentTitles,_0x12126c[_0x43ccfd(0x1df)]()):[],_0x2c0944=_0x2444bf[_0x43ccfd(0x1fc)](_0x529c30['length'],0x1)?_0x529c30['slice'](0x1):_0x529c30,_0x26f264=_0x32569['cursor']&&_0x32569[_0x43ccfd(0x1f5)][_0x43ccfd(0x20e)],_0x1e6cdf={'itemName':_0x12126c[_0x43ccfd(0x229)],'scopes':_0x2c0944['concat']([_0x12126c['name']]),'location':_0x38a3a6,'collectionName':_0x3adeaa,'startedAt':new Date()[_0x43ccfd(0x244)](),'startTimestamp':Date[_0x43ccfd(0x215)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x3c4fb3['set'](_0x12126c['id']+'_'+_0x378df9,_0x1e6cdf),_0x26f264&&_0x3c4fb3['set'](_0x26f264+'_'+_0x378df9,_0x1e6cdf);}catch(_0x12163b){_0x2444bf[_0x43ccfd(0x23b)](debug,_0x43ccfd(0x1bc)+_0x12163b);}}),_0x287369['on'](_0x2444bf[_0x543f05(0x1ea)],(_0x332755,_0x5ba9a7)=>{const _0x2f78dc=_0x543f05;try{if(!_0x5ba9a7||!_0x5ba9a7['item'])return;const _0x1be57c=_0x3c4fb3[_0x2f78dc(0x26c)](_0x5ba9a7[_0x2f78dc(0x1e9)]['id']+'_'+_0x378df9);if(!_0x1be57c)return;_0x5ba9a7['response']&&(_0x1be57c[_0x2f78dc(0x27c)]=_0x5ba9a7['response'][_0x2f78dc(0x1a4)]||null);if(!_0x5ba9a7[_0x2f78dc(0x1e7)])return;let _0x2d34c3='',_0x4a2dec='';if(_0x5ba9a7[_0x2f78dc(0x1e7)][_0x2f78dc(0x24e)])try{const _0x962e62=_0x5ba9a7['request'][_0x2f78dc(0x24e)]['toString'](),_0x510064=new URL(_0x962e62[_0x2f78dc(0x1f2)](_0x2444bf[_0x2f78dc(0x236)])?_0x962e62:_0x2f78dc(0x26d)+_0x962e62);_0x2d34c3=_0x510064[_0x2f78dc(0x1c7)],_0x4a2dec=_0x2444bf[_0x2f78dc(0x28f)](_0x510064[_0x2f78dc(0x239)],_0x510064['search']);}catch(_0x44e1d8){_0x4a2dec=_0x5ba9a7[_0x2f78dc(0x1e7)][_0x2f78dc(0x24e)][_0x2f78dc(0x222)]();}const _0x35bc17={};_0x35bc17[_0x2f78dc(0x1db)]=_0x2d34c3,_0x35bc17['path']=_0x4a2dec,_0x35bc17[_0x2f78dc(0x1f1)]=_0x5ba9a7[_0x2f78dc(0x1e7)][_0x2f78dc(0x1f1)]||_0x2444bf[_0x2f78dc(0x1a2)],_0x35bc17[_0x2f78dc(0x1fe)]={},_0x35bc17[_0x2f78dc(0x1b1)]=_0x5ba9a7[_0x2f78dc(0x256)]?_0x5ba9a7[_0x2f78dc(0x256)][_0x2f78dc(0x1a4)]||0x0:0x0,_0x35bc17['duration_ms']=_0x5ba9a7[_0x2f78dc(0x256)]?_0x5ba9a7[_0x2f78dc(0x256)][_0x2f78dc(0x20a)]||0x0:0x0,_0x1be57c[_0x2f78dc(0x295)]=_0x35bc17;}catch(_0x39ff86){_0x2444bf[_0x2f78dc(0x20f)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20request:\x20'+_0x39ff86);}}),_0x287369['on'](_0x2444bf[_0x543f05(0x1e8)],(_0x4cff0b,_0xcc8dad)=>{const _0x244498=_0x543f05,_0x1b70af={'JKDuY':function(_0x1c3ce1,_0x2d114e,_0x31e1b2){return _0x2444bf['NxFSf'](_0x1c3ce1,_0x2d114e,_0x31e1b2);},'KyGBs':_0x2444bf[_0x244498(0x1fd)]};try{if(!_0xcc8dad||!_0xcc8dad[_0x244498(0x1e9)])return;const _0x52032f=_0x3c4fb3[_0x244498(0x26c)](_0xcc8dad[_0x244498(0x1e9)]['id']+'_'+_0x378df9);if(!_0x52032f)return;const _0x2b9228=_0xcc8dad[_0x244498(0x22e)]||_0x244498(0x275)+_0x2444bf['eQLoa'](_0x52032f[_0x244498(0x234)][_0x244498(0x1c5)],0x1),_0x436336=_0x2444bf[_0x244498(0x1c6)](uuidv4),_0x4bbcd9=_0x52032f['scopes'][_0x244498(0x1ed)]([_0x2b9228])[_0x244498(0x271)]('\x20');_0x52032f['assertions'][_0x244498(0x251)]({'uuid':_0x436336,'name':_0x2b9228,'identifier':_0x4bbcd9,'err':_0x2444bf[_0x244498(0x1ee)](_0x4cff0b,null)});const _0x372cc6={};_0x372cc6['uuid']=_0x436336,_0x372cc6[_0x244498(0x229)]=_0x2b9228,_0x372cc6['identifier']=_0x4bbcd9,_0x2444bf[_0x244498(0x21d)](emitTest,HookState[_0x244498(0x231)],_0x372cc6,_0x52032f,_0x28db07,{});_0x2444bf[_0x244498(0x284)](_0x52032f['assertions']['length'],0x1)&&_0x2444bf[_0x244498(0x269)](_0x52032f[_0x244498(0x264)][_0x244498(0x1c5)],0x0)&&(_0x52032f[_0x244498(0x264)][_0x244498(0x207)](_0x590a2c=>{const _0x33e079=_0x244498;_0x1b70af[_0x33e079(0x1d1)](emitLog,_0x436336,{'kind':_0x1b70af[_0x33e079(0x1f3)],'message':_0x590a2c[_0x33e079(0x1ab)],'level':_0x590a2c[_0x33e079(0x22c)]});}),_0x52032f[_0x244498(0x264)]=[]);if(_0x52032f['httpLog']){_0x2444bf[_0x244498(0x1b5)](emitLog,_0x436336,{'kind':_0x2444bf['PXCVc'],'http_response':_0x52032f[_0x244498(0x295)]});const _0xdec252=_0x2444bf[_0x244498(0x27f)](_0x2444bf[_0x244498(0x268)](_0x2444bf['eQLoa'](_0x2444bf[_0x244498(0x1b9)](_0x2444bf[_0x244498(0x247)](_0x2444bf[_0x244498(0x1b9)](_0x2444bf[_0x244498(0x28f)](_0x2444bf[_0x244498(0x1b9)](_0x52032f['httpLog'][_0x244498(0x1f1)]||_0x2444bf[_0x244498(0x1a2)],'\x20'),_0x52032f[_0x244498(0x295)][_0x244498(0x1db)]),_0x52032f[_0x244498(0x295)][_0x244498(0x1d5)]),_0x2444bf[_0x244498(0x25f)]),_0x52032f[_0x244498(0x295)][_0x244498(0x1b1)]),'\x20('),_0x52032f[_0x244498(0x295)]['duration_ms']),_0x2444bf[_0x244498(0x25b)]);_0x2444bf[_0x244498(0x26f)](emitLog,_0x436336,{'kind':_0x2444bf['zWpiA'],'message':_0xdec252,'level':_0x2444bf[_0x244498(0x1bb)]});}_0x36240c=_0x436336;}catch(_0x3b5595){_0x2444bf[_0x244498(0x1b0)](debug,_0x244498(0x24c)+_0x3b5595);}}),_0x287369['on'](_0x2444bf[_0x543f05(0x233)],(_0x32e6f1,_0x5e5639)=>{const _0x7579fe=_0x543f05;try{if(!_0x5e5639)return;let _0x53dbaf=_0x36240c;if(!_0x53dbaf&&_0x5e5639[_0x7579fe(0x1f5)]&&_0x5e5639[_0x7579fe(0x1f5)]['ref']){const _0x1c917e=_0x3c4fb3['get'](_0x5e5639[_0x7579fe(0x1f5)][_0x7579fe(0x20e)]+'_'+_0x378df9);_0x1c917e&&_0x2444bf[_0x7579fe(0x1fc)](_0x1c917e[_0x7579fe(0x234)][_0x7579fe(0x1c5)],0x0)&&(_0x53dbaf=_0x1c917e[_0x7579fe(0x234)][_0x2444bf[_0x7579fe(0x260)](_0x1c917e['assertions'][_0x7579fe(0x1c5)],0x1)][_0x7579fe(0x25a)]);}const _0x2e019d=_0x5e5639[_0x7579fe(0x27a)]?_0x5e5639[_0x7579fe(0x27a)][_0x7579fe(0x271)](',\x20'):'';if(_0x53dbaf)_0x2444bf[_0x7579fe(0x224)](emitLog,_0x53dbaf,{'kind':_0x2444bf[_0x7579fe(0x1fd)],'message':_0x2e019d,'level':_0x2444bf[_0x7579fe(0x1b0)](normalizeLogLevel,_0x5e5639[_0x7579fe(0x22c)])});else{if(_0x5e5639[_0x7579fe(0x1f5)]&&_0x5e5639[_0x7579fe(0x1f5)][_0x7579fe(0x20e)]){const _0x4ffb66=_0x3c4fb3[_0x7579fe(0x26c)](_0x5e5639[_0x7579fe(0x1f5)][_0x7579fe(0x20e)]+'_'+_0x378df9);_0x4ffb66&&_0x4ffb66[_0x7579fe(0x264)][_0x7579fe(0x251)]({'timestamp':new Date()[_0x7579fe(0x244)](),'level':_0x2444bf[_0x7579fe(0x20f)](normalizeLogLevel,_0x5e5639[_0x7579fe(0x22c)]),'message':_0x2e019d});}}}catch(_0x38d7ae){_0x2444bf['ctUEZ'](debug,_0x7579fe(0x25e)+_0x38d7ae);}}),_0x287369['on'](_0x2444bf[_0x543f05(0x1a6)],(_0x30c3ef,_0x5f556a)=>{const _0x491b61=_0x543f05;try{if(!_0x30c3ef&&(!_0x5f556a||!_0x5f556a[_0x491b61(0x1fa)]))return;const _0x3e33c1=_0x30c3ef||_0x5f556a[_0x491b61(0x1fa)],_0x22260f=_0x3e33c1[_0x491b61(0x1ab)]||_0x2444bf[_0x491b61(0x23b)](String,_0x3e33c1),_0x4ccf7a=_0x3e33c1[_0x491b61(0x283)]||_0x22260f;let _0xc03e0e=_0x36240c;if(_0x2444bf['kOdBq'](!_0xc03e0e,_0x5f556a)&&_0x5f556a[_0x491b61(0x1f5)]&&_0x5f556a[_0x491b61(0x1f5)][_0x491b61(0x20e)]){const _0x39dd5a=_0x3c4fb3['get'](_0x5f556a['cursor'][_0x491b61(0x20e)]+'_'+_0x378df9);_0x39dd5a&&_0x2444bf[_0x491b61(0x1c2)](_0x39dd5a['assertions'][_0x491b61(0x1c5)],0x0)&&(_0xc03e0e=_0x39dd5a[_0x491b61(0x234)][_0x2444bf[_0x491b61(0x26a)](_0x39dd5a['assertions']['length'],0x1)]['uuid']);}_0xc03e0e&&_0x2444bf[_0x491b61(0x21b)](emitLog,_0xc03e0e,{'kind':_0x2444bf[_0x491b61(0x1fd)],'message':_0x2444bf[_0x491b61(0x247)](_0x2444bf[_0x491b61(0x208)],_0x4ccf7a),'level':_0x2444bf['tpiys']});}catch(_0xd1caf2){_0x2444bf[_0x491b61(0x1a3)](debug,_0x2444bf[_0x491b61(0x1be)](_0x2444bf[_0x491b61(0x1b8)],_0xd1caf2));}}),_0x287369['on'](_0x2444bf[_0x543f05(0x1aa)],(_0x57562a,_0x3fbc0c)=>{const _0x1b0d51=_0x543f05;try{if(!_0x3fbc0c||!_0x3fbc0c['execution'])return;let _0x36413a=_0x36240c;if(!_0x36413a&&_0x3fbc0c[_0x1b0d51(0x1f5)]&&_0x3fbc0c[_0x1b0d51(0x1f5)][_0x1b0d51(0x20e)]){const _0x4e2d03=_0x3c4fb3[_0x1b0d51(0x26c)](_0x3fbc0c['cursor'][_0x1b0d51(0x20e)]+'_'+_0x378df9);_0x4e2d03&&_0x2444bf[_0x1b0d51(0x1fc)](_0x4e2d03['assertions'][_0x1b0d51(0x1c5)],0x0)&&(_0x36413a=_0x4e2d03[_0x1b0d51(0x234)][_0x2444bf[_0x1b0d51(0x1b2)](_0x4e2d03[_0x1b0d51(0x234)][_0x1b0d51(0x1c5)],0x1)][_0x1b0d51(0x25a)]);}if(!_0x36413a)return;const _0x9f69ab=_0x3fbc0c[_0x1b0d51(0x227)]&&_0x3fbc0c['event']['listen']||_0x2444bf[_0x1b0d51(0x27d)];_0x57562a&&_0x2444bf[_0x1b0d51(0x24b)](emitLog,_0x36413a,{'kind':_0x2444bf[_0x1b0d51(0x1fd)],'message':_0x2444bf['maRoV'](_0x2444bf[_0x1b0d51(0x1c0)](_0x2444bf['aTjEr'](_0x2444bf[_0x1b0d51(0x28e)],_0x9f69ab),_0x2444bf['YOcxN']),_0x57562a[_0x1b0d51(0x1ab)]||_0x57562a),'level':_0x2444bf[_0x1b0d51(0x27b)]});}catch(_0x14a1ee){_0x2444bf[_0x1b0d51(0x1f8)](debug,_0x2444bf[_0x1b0d51(0x252)](_0x2444bf['GWWqo'],_0x14a1ee));}}),_0x287369['on'](_0x2444bf[_0x543f05(0x289)],(_0x11bd11,_0xb8b060)=>{const _0x711c22=_0x543f05,_0x490bd5={'HGYrJ':function(_0x765aae,_0xccb68e,_0x5d0b6e){const _0x26f0d2=a39_0x2184;return _0x2444bf[_0x26f0d2(0x224)](_0x765aae,_0xccb68e,_0x5d0b6e);},'zdMeg':_0x2444bf[_0x711c22(0x1fd)]};try{if(!_0xb8b060||!_0xb8b060[_0x711c22(0x1e9)])return;const _0x4ea3cd=_0xb8b060[_0x711c22(0x1e9)]['id']+'_'+_0x378df9,_0x491434=_0x3c4fb3['get'](_0x4ea3cd);if(!_0x491434)return;const _0x148701=new Date(),_0x10d438=_0x2444bf[_0x711c22(0x260)](_0x148701[_0x711c22(0x1fb)](),_0x491434['startTimestamp']);if(_0x2444bf['JowOF'](_0x491434['assertions'][_0x711c22(0x1c5)],0x0))_0x491434[_0x711c22(0x234)][_0x711c22(0x207)](_0x516387=>{const _0x4c05b0=_0x711c22,_0x253b66=!!_0x516387[_0x4c05b0(0x241)],_0x18a90d={'finishedAt':_0x148701[_0x4c05b0(0x244)](),'durationMs':_0x10d438,'result':_0x253b66?_0x2444bf[_0x4c05b0(0x1bd)]:_0x2444bf['ASFYz']};_0x253b66&&(_0x18a90d[_0x4c05b0(0x28d)]=_0x516387[_0x4c05b0(0x241)][_0x4c05b0(0x1ab)]||'',_0x18a90d[_0x4c05b0(0x26b)]=_0x2444bf[_0x4c05b0(0x284)](_0x516387[_0x4c05b0(0x241)][_0x4c05b0(0x229)],_0x2444bf[_0x4c05b0(0x206)])||_0x516387[_0x4c05b0(0x241)]['message']&&_0x516387[_0x4c05b0(0x241)][_0x4c05b0(0x1ab)][_0x4c05b0(0x1e2)](_0x2444bf[_0x4c05b0(0x293)])?_0x2444bf[_0x4c05b0(0x206)]:_0x2444bf[_0x4c05b0(0x1ae)],_0x18a90d['failure']=[{'backtrace':_0x516387[_0x4c05b0(0x241)][_0x4c05b0(0x283)]?_0x516387['err'][_0x4c05b0(0x283)]['split']('\x0a'):[_0x516387['err'][_0x4c05b0(0x1ab)]||''],'expanded':[]}]),_0x2444bf[_0x4c05b0(0x273)](emitTest,HookState[_0x4c05b0(0x23e)],_0x516387,_0x491434,_0x28db07,_0x18a90d);});else{const _0x1e7993=_0x2444bf['nehrv'](uuidv4),_0x51af0c=_0x491434[_0x711c22(0x27c)],_0x7c1630=_0x2444bf['uRKLh'](_0x51af0c,null)&&_0x2444bf['JKXYI'](_0x51af0c,0xc8)&&_0x2444bf['vkJfv'](_0x51af0c,0x190),_0x574079=_0x491434[_0x711c22(0x1f6)]+_0x711c22(0x1de)+_0x2444bf[_0x711c22(0x1ee)](_0x51af0c,_0x2444bf[_0x711c22(0x1c8)])+')',_0x468e8c={'uuid':_0x1e7993,'name':_0x574079,'identifier':_0x491434[_0x711c22(0x205)][_0x711c22(0x1ed)]([_0x574079])[_0x711c22(0x271)]('\x20')},_0x333164={'finishedAt':_0x148701[_0x711c22(0x244)](),'durationMs':_0x10d438,'result':_0x7c1630?_0x2444bf[_0x711c22(0x1ec)]:_0x2444bf[_0x711c22(0x1bd)]};!_0x7c1630&&(_0x333164[_0x711c22(0x28d)]=_0x2444bf[_0x711c22(0x1eb)](_0x51af0c,null)?'HTTP\x20'+_0x51af0c+_0x711c22(0x243):_0x2444bf['ZnseW'],_0x333164[_0x711c22(0x26b)]=_0x2444bf[_0x711c22(0x1ae)],_0x333164[_0x711c22(0x25d)]=[{'backtrace':[_0x333164[_0x711c22(0x28d)]],'expanded':[]}]);_0x2444bf[_0x711c22(0x1da)](emitTest,HookState[_0x711c22(0x231)],_0x468e8c,_0x491434,_0x28db07,{}),_0x491434[_0x711c22(0x264)][_0x711c22(0x207)](_0x5c48a1=>{const _0x389210=_0x711c22;_0x490bd5[_0x389210(0x1d0)](emitLog,_0x1e7993,{'kind':_0x490bd5[_0x389210(0x1a7)],'message':_0x5c48a1[_0x389210(0x1ab)],'level':_0x5c48a1[_0x389210(0x22c)]});});if(_0x491434[_0x711c22(0x295)]){_0x2444bf[_0x711c22(0x21b)](emitLog,_0x1e7993,{'kind':_0x2444bf[_0x711c22(0x1af)],'http_response':_0x491434[_0x711c22(0x295)]});const _0xca1f57=_0x2444bf['SfVbk'](_0x2444bf[_0x711c22(0x1c3)](_0x2444bf[_0x711c22(0x240)](_0x2444bf['NBtBq'](_0x2444bf[_0x711c22(0x1be)](_0x2444bf[_0x711c22(0x23a)](_0x2444bf[_0x711c22(0x24f)](_0x2444bf['Klsqp'](_0x491434[_0x711c22(0x295)][_0x711c22(0x1f1)]||_0x2444bf[_0x711c22(0x1a2)],'\x20'),_0x491434['httpLog']['host']),_0x491434[_0x711c22(0x295)]['path']),_0x2444bf[_0x711c22(0x25f)]),_0x491434[_0x711c22(0x295)][_0x711c22(0x1b1)]),'\x20('),_0x491434[_0x711c22(0x295)][_0x711c22(0x255)]),_0x2444bf['hczKR']);_0x2444bf[_0x711c22(0x224)](emitLog,_0x1e7993,{'kind':_0x2444bf[_0x711c22(0x1fd)],'message':_0xca1f57,'level':_0x2444bf[_0x711c22(0x1bb)]});}else _0x2444bf[_0x711c22(0x24b)](emitLog,_0x1e7993,{'kind':_0x2444bf[_0x711c22(0x1fd)],'message':_0x2444bf[_0x711c22(0x1d7)](_0x2444bf['mJgpr'](_0x2444bf[_0x711c22(0x232)],_0x2444bf['VdShf'](_0x51af0c,_0x2444bf[_0x711c22(0x1c8)])),_0x2444bf['wKcSI']),'level':_0x2444bf[_0x711c22(0x1bb)]});_0x2444bf[_0x711c22(0x1d4)](emitTest,HookState[_0x711c22(0x23e)],_0x468e8c,_0x491434,_0x28db07,_0x333164);}_0x3c4fb3[_0x711c22(0x26e)](_0x4ea3cd),_0xb8b060[_0x711c22(0x1f5)]&&_0xb8b060['cursor'][_0x711c22(0x20e)]&&_0x3c4fb3[_0x711c22(0x26e)](_0xb8b060[_0x711c22(0x1f5)]['ref']+'_'+_0x378df9);}catch(_0x56c573){_0x2444bf['KVSjq'](debug,_0x711c22(0x209)+_0x56c573);}});}module[a39_0x1c48f6(0x1e5)]=BrowserStackNewmanReporter;
1
+ 'use strict';const a39_0x12bea7=a39_0x148d;(function(_0x4ea479,_0x3a7a15){const _0x37e3da=a39_0x148d,_0x1588af=_0x4ea479();while(!![]){try{const _0x2f48ba=-parseInt(_0x37e3da(0x106))/0x1+parseInt(_0x37e3da(0x191))/0x2*(parseInt(_0x37e3da(0x11f))/0x3)+parseInt(_0x37e3da(0x1a3))/0x4*(parseInt(_0x37e3da(0x116))/0x5)+-parseInt(_0x37e3da(0x1a7))/0x6*(-parseInt(_0x37e3da(0x12a))/0x7)+-parseInt(_0x37e3da(0xe7))/0x8+-parseInt(_0x37e3da(0x193))/0x9+parseInt(_0x37e3da(0x149))/0xa;if(_0x2f48ba===_0x3a7a15)break;else _0x1588af['push'](_0x1588af['shift']());}catch(_0x261fe4){_0x1588af['push'](_0x1588af['shift']());}}}(a39_0x2071,0xa51c2));function a39_0x2071(){const _0x2a370b=['BdmNJ','[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json','BAoyq','JGjgI','HOawj','result','assert','argv','newman','ftmBb','cZXFJ','EqPFM','expanded','fRkZM','ojJrG','ref','POST','scopes','collectionPath','AeCTJ','BeTSA','ydQln','cursor','forEach','eiWME','AssertionError','qZZqh','lastResponseCode','relative','3530860uoAvmD','../../../helpers/test-observability/sessionHandler','timestamp','TXZyn','sMsFh','exports','message','responseTime','\x20(no\x20assertions)','response','GzLtT','OaAUB','http_response','location','console','TestRunStarted','FTNfd','iteration','headers','KpTgO','startedAt','iQSkk','duration_ms','FdkSR','failureReason','itemName','lRygr','method','ZqZFw','HOVFh','DGqNg','http','ERROR','Script\x20error\x20(','pid','CiScB','njDdJ','collection','PRE','nWYBj','[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20','ECrvr','failed','TRACE','../../../helpers/test-observability/utils','done','resolve','cwd','lBGcU','now','toISOString','svybp','messages','LXYIq','IYlFc','set','RJpvW','ngPvh','name','hCOpI','../../v2/state/hookState','YzKRU','httpLog','OIImp','ZadvV','path','logs','search','winstonLogger','toString','event_type','startsWith','2473742ylTIeJ','uKFzI','2128725JsVCti','run','failureType','durationMs','[Newman\x20Reporter]\x20Error\x20in\x20request:\x20','uuid','info','\x20->\x20','url','Assertion\x20','GgeYw','nLywn','N/A','HTTP','toUpperCase','nGTLJ','228BNCjdA','startTimestamp','exception','yoSCD','19626LLyYYp','CnukY','KzWgu','javascript','\x20(HTTP\x20','WKLNF','bs:addLog:','assertions','seSoB','testFrameworkVersion','logCreatedEvent','removeListener','WARN','join','length','bufferedLogs','mhOuA','vesEf','concat','LUvJQ','pxKAl','aoRxe','item','TEST_LOG','pending','ztngv','[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20','GPdQp','repmj','testFrameworkState','nPaXg','uEfAc','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','WwOEw','AmDki','NMnDj','XWQtC','TEST','SjiYp','platformIndex','TPTbb','collectionName','uploadEventData','failure_reason_expanded','status_code','CSvDJ','sRmzt','eyBNv','assertion','No\x20HTTP\x20response\x20received','kVrWW','request','parent','xgRDg','host','isRunning','test_run','get','bzEUm','getInstance','YQmyj','9063904BVjhDo','indexOf','level','../../v2/state/testFrameworkState','stringify','HTTP\x20','DEBUG','identifier','includes','beforeIteration','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','slice','failure_backtrace','XBlcQ','lCIKV','[Newman\x20Reporter]\x20emitTest\x20error:\x20','object','delete','INFO','../../v2/browserstackCLI','owCai','push','xlJaM','\x20—\x20response\x20status\x20in\x20failure\x20range','GyNAB','err','testFrameworkName','pmwAa','RsKxy','getTestFramework','kind','946608MsbpIc','script','bQmWW','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','uGkzu','eMWno','aCNoP','sVJTy','hostname','split','GjLZs','BjTbJ','getTime','qNrMa','pctPn','[Newman\x20Reporter]\x20emitLog\x20error:\x20','107815OZknKQ','PWzqM','GoWuI','pathname','event','lBtJE','JAVQY','vpQOH','MgAbD','3eWccqT','[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20','wsyhX','finishedAt','unknown','../../../helpers/logger','tVTSb','error','listen','SQCFJ','yTyhS','371llqsDE','failure'];a39_0x2071=function(){return _0x2a370b;};return a39_0x2071();}const path=require(a39_0x12bea7(0x18a)),{v4:uuidv4}=require('uuid'),SessionHandler=require(a39_0x12bea7(0x14a)),{debug}=require(a39_0x12bea7(0x175)),logger=require(a39_0x12bea7(0x124))[a39_0x12bea7(0x18d)],BrowserstackCLI=require(a39_0x12bea7(0xfa)),GrpcClient=require('../../v2/grpcClient'),TestFrameworkState=require(a39_0x12bea7(0xea)),HookState=require(a39_0x12bea7(0x185)),LOG_LEVELS=['INFO',a39_0x12bea7(0x1b3),a39_0x12bea7(0x169),a39_0x12bea7(0xed),a39_0x12bea7(0x174)];function isCLIRunning(){const _0xaa18e0=a39_0x12bea7;try{return BrowserstackCLI['getInstance']()[_0xaa18e0(0xe1)]();}catch(_0x3ec661){return![];}}function getParentTitles(_0x155116){const _0x6337f8=a39_0x12bea7,_0x2d1868={'owCai':function(_0x26d4d0,_0x513f9a){return _0x26d4d0(_0x513f9a);},'MgAbD':function(_0x1b1bc3,_0x2e9f40){return _0x1b1bc3(_0x2e9f40);}},_0x3d2ede=[],_0x3205c9=_0x155116['parent']();return _0x3205c9&&_0x3d2ede[_0x6337f8(0xfc)]['apply'](_0x3d2ede,_0x2d1868[_0x6337f8(0xfb)](getParentTitles,_0x3205c9)),_0x155116['name']&&_0x3d2ede['push'](_0x2d1868[_0x6337f8(0x11e)](String,_0x155116['name'])),_0x3d2ede;}function normalizeLogLevel(_0x557d53){const _0x24ea69=a39_0x12bea7,_0xa8d1e9={};_0xa8d1e9[_0x24ea69(0x1a6)]='INFO',_0xa8d1e9['GgeYw']=function(_0x2cb75d,_0x3e045f){return _0x2cb75d!==_0x3e045f;};const _0x45e250=_0xa8d1e9;if(!_0x557d53)return _0x45e250[_0x24ea69(0x1a6)];const _0x4980fd=_0x557d53[_0x24ea69(0x1a1)]();return _0x45e250[_0x24ea69(0x19d)](LOG_LEVELS[_0x24ea69(0xe8)](_0x4980fd),-0x1)?_0x4980fd:_0x45e250[_0x24ea69(0x1a6)];}function resolveCollectionFile(_0x524f9c,_0x4522c4){const _0x61521c=a39_0x12bea7,_0x40da71={};_0x40da71[_0x61521c(0x17f)]=function(_0x3b047d,_0x5c1d7a){return _0x3b047d===_0x5c1d7a;},_0x40da71[_0x61521c(0x1c3)]='string',_0x40da71[_0x61521c(0xff)]=_0x61521c(0x194),_0x40da71['NMnDj']=function(_0x220baf,_0x3e05fe){return _0x220baf!==_0x3e05fe;},_0x40da71[_0x61521c(0x1af)]=function(_0x1ce558,_0x41d182){return _0x1ce558<_0x41d182;},_0x40da71[_0x61521c(0x13a)]=function(_0x61bb14,_0x5628a7){return _0x61bb14+_0x5628a7;},_0x40da71[_0x61521c(0x137)]=function(_0x2e32a3,_0x2f09be){return _0x2e32a3+_0x2f09be;},_0x40da71['FdkSR']=_0x61521c(0x12d),_0x40da71[_0x61521c(0x15c)]='collection.json';const _0x3e8d50=_0x40da71;try{if(_0x4522c4&&_0x4522c4['collectionPath'])return path[_0x61521c(0x148)](process[_0x61521c(0x178)](),path[_0x61521c(0x177)](_0x4522c4[_0x61521c(0x13e)]));const _0x3163c1=_0x524f9c[_0x61521c(0x16e)];if(_0x3e8d50['IYlFc'](typeof _0x3163c1,_0x3e8d50[_0x61521c(0x1c3)]))return path[_0x61521c(0x148)](process[_0x61521c(0x178)](),path[_0x61521c(0x177)](_0x3163c1));const _0x423997=process[_0x61521c(0x133)]['indexOf'](_0x3e8d50['GyNAB']);if(_0x3e8d50[_0x61521c(0x1ca)](_0x423997,-0x1)&&_0x3e8d50[_0x61521c(0x1af)](_0x3e8d50[_0x61521c(0x13a)](_0x423997,0x1),process[_0x61521c(0x133)][_0x61521c(0x1b5)])){const _0x3be84e=process[_0x61521c(0x133)][_0x3e8d50[_0x61521c(0x137)](_0x423997,0x1)];if(_0x3be84e&&!_0x3be84e[_0x61521c(0x190)]('-'))return path[_0x61521c(0x148)](process[_0x61521c(0x178)](),path[_0x61521c(0x177)](_0x3be84e));}}catch(_0x11b48e){}return logger[_0x61521c(0x199)](_0x3e8d50[_0x61521c(0x160)]),_0x3e8d50[_0x61521c(0x15c)];}function resolveCollectionName(_0x531c27){const _0x46d0d0=a39_0x12bea7,_0x3da913={};_0x3da913['sVJTy']=function(_0x44535e,_0x97299){return _0x44535e===_0x97299;},_0x3da913[_0x46d0d0(0x1b7)]=_0x46d0d0(0xf7);const _0x354620=_0x3da913;try{const _0x1b48ab=_0x531c27[_0x46d0d0(0x16e)];if(_0x1b48ab&&_0x354620[_0x46d0d0(0x10d)](typeof _0x1b48ab,_0x354620[_0x46d0d0(0x1b7)]))return _0x1b48ab[_0x46d0d0(0x183)]||_0x1b48ab[_0x46d0d0(0x199)]&&_0x1b48ab[_0x46d0d0(0x199)]['name']||null;}catch(_0x282b07){}return null;}function emitTest(_0xc4c2d5,_0x4be5e5,_0x3f2947,_0x1584b9,_0x4be8fe){const _0x392a28=a39_0x12bea7,_0x251c13={'uZgbw':function(_0x408abf){return _0x408abf();},'sRmzt':_0x392a28(0x1bf),'wsyhX':function(_0x3d23db,_0x331f22){return _0x3d23db(_0x331f22);},'ztngv':_0x392a28(0x134),'RJpvW':_0x392a28(0x1aa),'fgXQv':function(_0x5e07d4,_0x4e45d9){return _0x5e07d4!=_0x4e45d9;},'pctPn':function(_0x5d24b2,_0x16d54e){return _0x5d24b2===_0x16d54e;},'uEfAc':_0x392a28(0x158),'tVTSb':'TestRunFinished'};if(_0x251c13['uZgbw'](isCLIRunning))try{const _0xa5dba7=BrowserstackCLI[_0x392a28(0xe5)]()[_0x392a28(0x104)]();if(!_0xa5dba7)return;_0xa5dba7['trackEvent'](TestFrameworkState[_0x392a28(0x1cc)],_0xc4c2d5,{'test':{'uuid':_0x4be5e5[_0x392a28(0x198)],'name':_0x4be5e5[_0x392a28(0x183)],'scopes':_0x3f2947['scopes'],'scope':_0x3f2947['scopes']['join']('\x20'),'file_path':_0x1584b9,'location':_0x3f2947[_0x392a28(0x1d0)],'started_at':_0x3f2947[_0x392a28(0x15d)],'finished_at':_0x4be8fe['finishedAt']||null,'result':_0x4be8fe['result']||_0x251c13[_0x392a28(0x1d5)],'failure':_0x4be8fe[_0x392a28(0x12b)]||[],'failure_type':_0x4be8fe[_0x392a28(0x195)]||null,'failure_reason':_0x4be8fe[_0x392a28(0x161)]||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x418fd0){_0x251c13[_0x392a28(0x121)](debug,_0x392a28(0xf6)+_0x418fd0);}else{const _0xd9ecaf={'uuid':_0x4be5e5[_0x392a28(0x198)],'name':_0x4be5e5['name'],'framework':_0x251c13[_0x392a28(0x1c0)],'body':{'lang':_0x251c13[_0x392a28(0x181)],'code':null},'scope':_0x3f2947[_0x392a28(0x13d)][_0x392a28(0x1b4)]('\x20'),'scopes':_0x3f2947['scopes'],'identifier':_0x4be5e5[_0x392a28(0xee)],'file_name':_0x3f2947[_0x392a28(0x1d0)],'vc_filepath':_0x3f2947[_0x392a28(0x156)],'location':_0x3f2947[_0x392a28(0x156)],'started_at':_0x3f2947[_0x392a28(0x15d)],'finished_at':_0x4be8fe[_0x392a28(0x122)]||null,'duration_in_ms':_0x251c13['fgXQv'](_0x4be8fe[_0x392a28(0x196)],null)?Math['max'](0x0,_0x4be8fe[_0x392a28(0x196)]):null,'result':_0x4be8fe[_0x392a28(0x131)]||_0x251c13[_0x392a28(0x1d5)],'failure_reason':_0x4be8fe['failureReason']||null,'failure_type':_0x4be8fe['failureType']||null,'failure':_0x4be8fe[_0x392a28(0x12b)]||[],'retry_of':null,'hooks':[]};_0xd9ecaf[_0x392a28(0x12b)][0x0]&&(_0xd9ecaf[_0x392a28(0xf3)]=_0xd9ecaf[_0x392a28(0x12b)][0x0]['backtrace'],_0xd9ecaf[_0x392a28(0x1d2)]=_0xd9ecaf[_0x392a28(0x12b)][0x0][_0x392a28(0x138)]);const _0x375b07=_0x251c13[_0x392a28(0x114)](_0xc4c2d5,HookState[_0x392a28(0x16f)])?_0x251c13[_0x392a28(0x1c6)]:_0x251c13[_0x392a28(0x125)],_0x39c9e9={};_0x39c9e9[_0x392a28(0x18f)]=_0x375b07,_0x39c9e9[_0x392a28(0xe2)]=_0xd9ecaf,SessionHandler[_0x392a28(0x1d1)](_0x39c9e9);}}function emitLog(_0x16ac07,_0x4cf87c){const _0x518d57=a39_0x12bea7,_0x4ba8c9={'GjLZs':_0x518d57(0x1be),'YQmyj':function(_0xd05e13){return _0xd05e13();},'CSvDJ':function(_0x3227cb,_0x37c127){return _0x3227cb===_0x37c127;},'BAoyq':'HTTP','XWQtC':'newman','ydQln':_0x518d57(0x1cc),'ngPvh':'INFO','vesEf':function(_0x3bf93e,_0x42c375){return _0x3bf93e(_0x42c375);},'lRygr':function(_0x127a96,_0x10f1d2){return _0x127a96+_0x10f1d2;},'pxKAl':_0x518d57(0x115),'cZXFJ':'LogCreated'},_0xb111c=_0x4cf87c[_0x518d57(0x105)]||_0x4ba8c9[_0x518d57(0x110)],_0x4216d0=_0x4cf87c[_0x518d57(0x14b)]||new Date()[_0x518d57(0x17b)]();if(_0x4ba8c9[_0x518d57(0xe6)](isCLIRunning))try{const _0x38ff38=_0x4ba8c9[_0x518d57(0x1d4)](_0xb111c,_0x4ba8c9[_0x518d57(0x12e)])?JSON[_0x518d57(0xeb)](_0x4cf87c):_0x4cf87c['message']||'',_0x4a8914={};_0x4a8914[_0x518d57(0x1ce)]=0x0,_0x4a8914[_0x518d57(0x101)]=_0x4ba8c9[_0x518d57(0x1cb)],_0x4a8914[_0x518d57(0x1b0)]='',_0x4a8914[_0x518d57(0x1c4)]=_0x4ba8c9[_0x518d57(0x141)],_0x4a8914[_0x518d57(0x18b)]=[{'uuid':_0x16ac07,'timestamp':_0x4216d0,'kind':_0xb111c,'level':_0x4cf87c[_0x518d57(0xe9)]||_0x4ba8c9[_0x518d57(0x182)],'message':_0x38ff38}],GrpcClient[_0x518d57(0xe5)]()[_0x518d57(0x1b1)](_0x4a8914);}catch(_0x579c53){_0x4ba8c9[_0x518d57(0x1b8)](debug,_0x4ba8c9[_0x518d57(0x163)](_0x4ba8c9[_0x518d57(0x1bb)],_0x579c53));}else{const _0x30d120={};_0x30d120['test_run_uuid']=_0x16ac07,_0x30d120[_0x518d57(0x14b)]=_0x4216d0,_0x30d120[_0x518d57(0xe9)]=_0x4cf87c[_0x518d57(0xe9)]||null,_0x30d120[_0x518d57(0x14f)]=_0x4cf87c[_0x518d57(0x14f)]||null,_0x30d120[_0x518d57(0x105)]=_0xb111c,_0x30d120['http_response']=_0x4cf87c[_0x518d57(0x155)]||{};const _0x3a0f30={};_0x3a0f30[_0x518d57(0x18f)]=_0x4ba8c9[_0x518d57(0x136)],_0x3a0f30[_0x518d57(0x18b)]=[_0x30d120],SessionHandler[_0x518d57(0x1d1)](_0x3a0f30);}}function a39_0x148d(_0x3f7b0c,_0x3eb1f9){const _0x2071d0=a39_0x2071();return a39_0x148d=function(_0x148d98,_0x147f2c){_0x148d98=_0x148d98-0xdf;let _0x6df42b=_0x2071d0[_0x148d98];return _0x6df42b;},a39_0x148d(_0x3f7b0c,_0x3eb1f9);}function BrowserStackNewmanReporter(_0x3b83cf,_0x1d488e,_0x406d05){const _0xa92da4=a39_0x12bea7,_0x11f427={'FTNfd':function(_0x2e5b6f,_0xb854c4,_0x5adb7b){return _0x2e5b6f(_0xb854c4,_0x5adb7b);},'XBlcQ':function(_0xc95c06,_0x4e2945){return _0xc95c06(_0x4e2945);},'iQSkk':function(_0x244c95,_0x566656){return _0x244c95(_0x566656);},'fRkZM':function(_0x133b77,_0x454f21){return _0x133b77>_0x454f21;},'lCIKV':_0xa92da4(0x168),'OLIbs':function(_0x3d20a4,_0x1ec52b){return _0x3d20a4+_0x1ec52b;},'BjTbJ':'GET','WKLNF':function(_0x1da90d,_0x4734c5){return _0x1da90d(_0x4734c5);},'uGkzu':'TEST_LOG','nWYBj':function(_0x57a71b,_0x3094c7){return _0x57a71b+_0x3094c7;},'ZadvV':function(_0x2866e4){return _0x2866e4();},'nGTLJ':function(_0x41b09f,_0x206359){return _0x41b09f||_0x206359;},'CnukY':function(_0x33e07a,_0x19d609,_0x41da9d,_0x354e5c,_0x25c9b6,_0x3076b7){return _0x33e07a(_0x19d609,_0x41da9d,_0x354e5c,_0x25c9b6,_0x3076b7);},'vpQOH':function(_0x52085c,_0x5944db){return _0x52085c===_0x5944db;},'aCNoP':_0xa92da4(0x1a0),'WwOEw':function(_0x293592,_0x25c67a){return _0x293592+_0x25c67a;},'nPaXg':function(_0x58f49b,_0x2ef903){return _0x58f49b+_0x2ef903;},'YzKRU':function(_0x1ec3e7,_0x1e2ed4){return _0x1ec3e7+_0x1e2ed4;},'RsKxy':function(_0x1a45e6,_0x1c80f3){return _0x1a45e6+_0x1c80f3;},'xlJaM':_0xa92da4(0x19a),'eiWME':'ms)','lBGcU':_0xa92da4(0xf9),'HOawj':function(_0x4cd682,_0x40394d){return _0x4cd682>_0x40394d;},'yTyhS':function(_0x26bb6d,_0x225736){return _0x26bb6d-_0x225736;},'LUvJQ':function(_0x4e1da5,_0x55976a,_0x40d3f4){return _0x4e1da5(_0x55976a,_0x40d3f4);},'hCOpI':function(_0x35c1a8,_0x3fcab4){return _0x35c1a8(_0x3fcab4);},'LXYIq':function(_0x1d1335,_0x1d3c44){return _0x1d1335(_0x1d3c44);},'bzEUm':function(_0x5b818a,_0x400ed3){return _0x5b818a&&_0x400ed3;},'BdmNJ':function(_0x3c4583,_0x1aacd8){return _0x3c4583>_0x1aacd8;},'fqDbJ':function(_0xe87d8a,_0x59931c){return _0xe87d8a-_0x59931c;},'AmDki':function(_0x57dc6e,_0x324aff,_0x4bb30){return _0x57dc6e(_0x324aff,_0x4bb30);},'xgRDg':function(_0x44da0a,_0x3c067e){return _0x44da0a+_0x3c067e;},'TXZyn':'Exception:\x20','svybp':'ERROR','aoRxe':function(_0x5de73b,_0x2c5bd3){return _0x5de73b+_0x2c5bd3;},'GPdQp':_0xa92da4(0x1c7),'JGjgI':function(_0xdb4b3a,_0x3e6f55){return _0xdb4b3a>_0x3e6f55;},'bQmWW':function(_0x12a711,_0x175ee6){return _0x12a711-_0x175ee6;},'GoWuI':_0xa92da4(0x123),'BeTSA':function(_0x1f6989,_0x25f085){return _0x1f6989+_0x25f085;},'MJfTo':_0xa92da4(0x16a),'TjDII':'):\x20','PWzqM':function(_0x28e987,_0x116f31){return _0x28e987+_0x116f31;},'SQCFJ':_0xa92da4(0xf1),'qZZqh':_0xa92da4(0x173),'DGqNg':'passed','rpLEl':function(_0x89289a,_0x5675fa){return _0x89289a===_0x5675fa;},'bAOMo':_0xa92da4(0x145),'qNrMa':_0xa92da4(0x132),'AeCTJ':'UnhandledError','uKFzI':function(_0x35f366,_0x89929d,_0x8bcd30,_0x4c9046,_0xe6ce59,_0x581ee4){return _0x35f366(_0x89929d,_0x8bcd30,_0x4c9046,_0xe6ce59,_0x581ee4);},'JAVQY':function(_0xbfe79,_0x46187e){return _0xbfe79!=_0x46187e;},'OIImp':function(_0x1de786,_0x3b20d0){return _0x1de786>=_0x3b20d0;},'sMsFh':function(_0x5a0a7c,_0x202981){return _0x5a0a7c<_0x202981;},'ZqZFw':_0xa92da4(0x19f),'eyBNv':_0xa92da4(0x1d8),'nAZTT':function(_0x76f2aa,_0x26f86b,_0x42105a){return _0x76f2aa(_0x26f86b,_0x42105a);},'TPTbb':function(_0x4d8748,_0x225bf9){return _0x4d8748+_0x225bf9;},'ECrvr':function(_0x112078,_0x36208e){return _0x112078+_0x36208e;},'njDdJ':function(_0x1aacf0,_0x52adb5){return _0x1aacf0+_0x52adb5;},'SjiYp':function(_0x188890,_0x2d52c7){return _0x188890+_0x2d52c7;},'eMWno':function(_0x198a6d,_0x345fe1){return _0x198a6d+_0x345fe1;},'jdjMh':function(_0x29d70a,_0x1582f3){return _0x29d70a+_0x1582f3;},'vBfUA':function(_0x2f847e,_0x1d1909,_0x426157){return _0x2f847e(_0x1d1909,_0x426157);},'KZGzF':function(_0x49544a,_0x5e468b,_0x388779){return _0x49544a(_0x5e468b,_0x388779);},'pmwAa':'HTTP\x20Status:\x20','fMkBI':_0xa92da4(0x151),'WxbDV':function(_0x2299ee,_0x429390,_0x29f2f2){return _0x2299ee(_0x429390,_0x29f2f2);},'GzLtT':function(_0x3736ca,_0x4f58aa){return _0x3736ca(_0x4f58aa);},'lBtJE':_0xa92da4(0x176),'HOVFh':_0xa92da4(0xf0),'OaAUB':'beforeItem','CiScB':_0xa92da4(0x1da),'KzWgu':_0xa92da4(0x1d7),'ftmBb':_0xa92da4(0x157),'trvrx':_0xa92da4(0x1a5),'zxLsO':_0xa92da4(0x107),'kVrWW':'item'},_0xf9f082=new Map();let _0x46da0d=null,_0x1d0fd0=0x0;const _0x7cf0c4=_0x11f427['WxbDV'](resolveCollectionFile,_0x406d05,_0x1d488e),_0x423d75=_0x11f427[_0xa92da4(0x153)](resolveCollectionName,_0x406d05)||_0x7cf0c4,_0x53b23b=path[_0xa92da4(0x177)](_0x7cf0c4),_0x4b4900=_0xa92da4(0x1ad)+process[_0xa92da4(0x16b)],_0x426600=_0x1a3206=>{const _0x3f323c=_0xa92da4;try{_0x46da0d&&_0x11f427[_0x3f323c(0x159)](emitLog,_0x46da0d,_0x1a3206);}catch(_0x3b60cd){_0x11f427[_0x3f323c(0xf4)](debug,_0x3f323c(0x171)+_0x3b60cd);}};process['on'](_0x4b4900,_0x426600),_0x3b83cf['on'](_0x11f427[_0xa92da4(0x11b)],()=>{const _0x3416c7=_0xa92da4;process[_0x3416c7(0x1b2)](_0x4b4900,_0x426600),_0xf9f082['clear']();}),_0x3b83cf['on'](_0x11f427[_0xa92da4(0x166)],(_0x4489f7,_0x351998)=>{const _0x4632ed=_0xa92da4;_0x351998&&_0x351998['cursor']&&(_0x1d0fd0=_0x351998[_0x4632ed(0x142)][_0x4632ed(0x15a)]||0x0);}),_0x3b83cf['on'](_0x11f427[_0xa92da4(0x154)],(_0x1a4685,_0x233acd)=>{const _0xf3d23c=_0xa92da4;try{_0x46da0d=null;const _0x230fa8=_0x233acd[_0xf3d23c(0x1bd)],_0x2069c2=_0x230fa8[_0xf3d23c(0x1db)]()?_0x11f427[_0xf3d23c(0x15e)](getParentTitles,_0x230fa8[_0xf3d23c(0x1db)]()):[],_0x1de0fc=_0x11f427[_0xf3d23c(0x139)](_0x2069c2[_0xf3d23c(0x1b5)],0x1)?_0x2069c2[_0xf3d23c(0xf2)](0x1):_0x2069c2,_0x4e32ad=_0x233acd['cursor']&&_0x233acd[_0xf3d23c(0x142)][_0xf3d23c(0x13b)],_0x2a005e={'itemName':_0x230fa8[_0xf3d23c(0x183)],'scopes':_0x1de0fc[_0xf3d23c(0x1b9)]([_0x230fa8[_0xf3d23c(0x183)]]),'location':_0x7cf0c4,'collectionName':_0x423d75,'startedAt':new Date()[_0xf3d23c(0x17b)](),'startTimestamp':Date[_0xf3d23c(0x17a)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0xf9f082[_0xf3d23c(0x180)](_0x230fa8['id']+'_'+_0x1d0fd0,_0x2a005e),_0x4e32ad&&_0xf9f082[_0xf3d23c(0x180)](_0x4e32ad+'_'+_0x1d0fd0,_0x2a005e);}catch(_0x2cb68e){_0x11f427[_0xf3d23c(0xf4)](debug,_0xf3d23c(0x120)+_0x2cb68e);}}),_0x3b83cf['on'](_0x11f427[_0xa92da4(0x16c)],(_0x36e92b,_0x2722be)=>{const _0x4e1dc6=_0xa92da4;try{if(!_0x2722be||!_0x2722be[_0x4e1dc6(0x1bd)])return;const _0x2393ba=_0xf9f082[_0x4e1dc6(0xe3)](_0x2722be[_0x4e1dc6(0x1bd)]['id']+'_'+_0x1d0fd0);if(!_0x2393ba)return;_0x2722be[_0x4e1dc6(0x152)]&&(_0x2393ba[_0x4e1dc6(0x147)]=_0x2722be[_0x4e1dc6(0x152)]['code']||null);if(!_0x2722be[_0x4e1dc6(0x1da)])return;let _0x5289d3='',_0x2101bc='';if(_0x2722be[_0x4e1dc6(0x1da)][_0x4e1dc6(0x19b)])try{const _0x37a622=_0x2722be[_0x4e1dc6(0x1da)][_0x4e1dc6(0x19b)][_0x4e1dc6(0x18e)](),_0x5c912a=new URL(_0x37a622[_0x4e1dc6(0x190)](_0x11f427[_0x4e1dc6(0xf5)])?_0x37a622:'http://'+_0x37a622);_0x5289d3=_0x5c912a[_0x4e1dc6(0x10e)],_0x2101bc=_0x11f427['OLIbs'](_0x5c912a[_0x4e1dc6(0x119)],_0x5c912a[_0x4e1dc6(0x18c)]);}catch(_0x489843){_0x2101bc=_0x2722be['request']['url'][_0x4e1dc6(0x18e)]();}const _0x4e9348={};_0x4e9348['host']=_0x5289d3,_0x4e9348[_0x4e1dc6(0x18a)]=_0x2101bc,_0x4e9348[_0x4e1dc6(0x164)]=_0x2722be['request'][_0x4e1dc6(0x164)]||_0x11f427[_0x4e1dc6(0x111)],_0x4e9348[_0x4e1dc6(0x15b)]={},_0x4e9348[_0x4e1dc6(0x1d3)]=_0x2722be[_0x4e1dc6(0x152)]?_0x2722be['response']['code']||0x0:0x0,_0x4e9348[_0x4e1dc6(0x15f)]=_0x2722be[_0x4e1dc6(0x152)]?_0x2722be[_0x4e1dc6(0x152)][_0x4e1dc6(0x150)]||0x0:0x0,_0x2393ba['httpLog']=_0x4e9348;}catch(_0x246fea){_0x11f427[_0x4e1dc6(0x1ac)](debug,_0x4e1dc6(0x197)+_0x246fea);}}),_0x3b83cf['on'](_0x11f427[_0xa92da4(0x1a9)],(_0x50ee9c,_0x3108c3)=>{const _0x40f6b5=_0xa92da4;try{if(!_0x3108c3||!_0x3108c3[_0x40f6b5(0x1bd)])return;const _0x533335=_0xf9f082[_0x40f6b5(0xe3)](_0x3108c3[_0x40f6b5(0x1bd)]['id']+'_'+_0x1d0fd0);if(!_0x533335)return;const _0x3396c3=_0x3108c3[_0x40f6b5(0x1d7)]||_0x40f6b5(0x19c)+_0x11f427['nWYBj'](_0x533335[_0x40f6b5(0x1ae)][_0x40f6b5(0x1b5)],0x1),_0x295133=_0x11f427[_0x40f6b5(0x189)](uuidv4),_0x33cc48=_0x533335['scopes'][_0x40f6b5(0x1b9)]([_0x3396c3])['join']('\x20');_0x533335[_0x40f6b5(0x1ae)]['push']({'uuid':_0x295133,'name':_0x3396c3,'identifier':_0x33cc48,'err':_0x11f427[_0x40f6b5(0x1a2)](_0x50ee9c,null)});const _0x31266b={};_0x31266b[_0x40f6b5(0x198)]=_0x295133,_0x31266b[_0x40f6b5(0x183)]=_0x3396c3,_0x31266b[_0x40f6b5(0xee)]=_0x33cc48,_0x11f427[_0x40f6b5(0x1a8)](emitTest,HookState[_0x40f6b5(0x16f)],_0x31266b,_0x533335,_0x53b23b,{});_0x11f427[_0x40f6b5(0x11d)](_0x533335[_0x40f6b5(0x1ae)][_0x40f6b5(0x1b5)],0x1)&&_0x11f427[_0x40f6b5(0x139)](_0x533335[_0x40f6b5(0x1b6)]['length'],0x0)&&(_0x533335['bufferedLogs'][_0x40f6b5(0x143)](_0xce0f11=>{const _0x5ba99b=_0x40f6b5;_0x11f427[_0x5ba99b(0x159)](emitLog,_0x295133,{'kind':_0x11f427[_0x5ba99b(0x10a)],'message':_0xce0f11[_0x5ba99b(0x14f)],'level':_0xce0f11[_0x5ba99b(0xe9)]});}),_0x533335[_0x40f6b5(0x1b6)]=[]);if(_0x533335[_0x40f6b5(0x187)]){_0x11f427['FTNfd'](emitLog,_0x295133,{'kind':_0x11f427[_0x40f6b5(0x10c)],'http_response':_0x533335['httpLog']});const _0x4d7b4f=_0x11f427[_0x40f6b5(0x1c8)](_0x11f427[_0x40f6b5(0x1c8)](_0x11f427[_0x40f6b5(0x1c5)](_0x11f427[_0x40f6b5(0x186)](_0x11f427[_0x40f6b5(0x1c5)](_0x11f427['nWYBj'](_0x11f427[_0x40f6b5(0x103)](_0x11f427[_0x40f6b5(0x186)](_0x533335[_0x40f6b5(0x187)]['method']||_0x11f427[_0x40f6b5(0x111)],'\x20'),_0x533335[_0x40f6b5(0x187)]['host']),_0x533335[_0x40f6b5(0x187)][_0x40f6b5(0x18a)]),_0x11f427[_0x40f6b5(0xfd)]),_0x533335[_0x40f6b5(0x187)][_0x40f6b5(0x1d3)]),'\x20('),_0x533335[_0x40f6b5(0x187)][_0x40f6b5(0x15f)]),_0x11f427[_0x40f6b5(0x144)]);_0x11f427[_0x40f6b5(0x159)](emitLog,_0x295133,{'kind':_0x11f427[_0x40f6b5(0x10a)],'message':_0x4d7b4f,'level':_0x11f427[_0x40f6b5(0x179)]});}_0x46da0d=_0x295133;}catch(_0x55e9c2){_0x11f427['iQSkk'](debug,_0x40f6b5(0x1c1)+_0x55e9c2);}}),_0x3b83cf['on'](_0x11f427[_0xa92da4(0x135)],(_0x2ffcb7,_0xd95e92)=>{const _0x21c71e=_0xa92da4;try{if(!_0xd95e92)return;let _0x52508b=_0x46da0d;if(!_0x52508b&&_0xd95e92[_0x21c71e(0x142)]&&_0xd95e92[_0x21c71e(0x142)][_0x21c71e(0x13b)]){const _0x9578ba=_0xf9f082[_0x21c71e(0xe3)](_0xd95e92[_0x21c71e(0x142)][_0x21c71e(0x13b)]+'_'+_0x1d0fd0);_0x9578ba&&_0x11f427[_0x21c71e(0x130)](_0x9578ba[_0x21c71e(0x1ae)][_0x21c71e(0x1b5)],0x0)&&(_0x52508b=_0x9578ba[_0x21c71e(0x1ae)][_0x11f427[_0x21c71e(0x129)](_0x9578ba[_0x21c71e(0x1ae)][_0x21c71e(0x1b5)],0x1)][_0x21c71e(0x198)]);}const _0x4dddfa=_0xd95e92['messages']?_0xd95e92[_0x21c71e(0x17d)][_0x21c71e(0x1b4)](',\x20'):'';if(_0x52508b)_0x11f427[_0x21c71e(0x1ba)](emitLog,_0x52508b,{'kind':_0x11f427[_0x21c71e(0x10a)],'message':_0x4dddfa,'level':_0x11f427[_0x21c71e(0x1ac)](normalizeLogLevel,_0xd95e92[_0x21c71e(0xe9)])});else{if(_0xd95e92[_0x21c71e(0x142)]&&_0xd95e92[_0x21c71e(0x142)]['ref']){const _0x11d1ac=_0xf9f082[_0x21c71e(0xe3)](_0xd95e92[_0x21c71e(0x142)][_0x21c71e(0x13b)]+'_'+_0x1d0fd0);_0x11d1ac&&_0x11d1ac[_0x21c71e(0x1b6)]['push']({'timestamp':new Date()[_0x21c71e(0x17b)](),'level':_0x11f427[_0x21c71e(0x184)](normalizeLogLevel,_0xd95e92[_0x21c71e(0xe9)]),'message':_0x4dddfa});}}}catch(_0x391f59){_0x11f427[_0x21c71e(0x17e)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20console:\x20'+_0x391f59);}}),_0x3b83cf['on'](_0x11f427['trvrx'],(_0x3fad0a,_0x18e466)=>{const _0x3c5b3a=_0xa92da4;try{if(!_0x3fad0a&&(!_0x18e466||!_0x18e466[_0x3c5b3a(0x126)]))return;const _0x13d024=_0x3fad0a||_0x18e466[_0x3c5b3a(0x126)],_0x380847=_0x13d024['message']||_0x11f427['XBlcQ'](String,_0x13d024),_0x610fe=_0x13d024['stack']||_0x380847;let _0x18fb69=_0x46da0d;if(_0x11f427[_0x3c5b3a(0xe4)](!_0x18fb69,_0x18e466)&&_0x18e466[_0x3c5b3a(0x142)]&&_0x18e466[_0x3c5b3a(0x142)][_0x3c5b3a(0x13b)]){const _0x5ca13e=_0xf9f082[_0x3c5b3a(0xe3)](_0x18e466[_0x3c5b3a(0x142)][_0x3c5b3a(0x13b)]+'_'+_0x1d0fd0);_0x5ca13e&&_0x11f427['BdmNJ'](_0x5ca13e['assertions'][_0x3c5b3a(0x1b5)],0x0)&&(_0x18fb69=_0x5ca13e['assertions'][_0x11f427['fqDbJ'](_0x5ca13e['assertions'][_0x3c5b3a(0x1b5)],0x1)][_0x3c5b3a(0x198)]);}_0x18fb69&&_0x11f427['AmDki'](emitLog,_0x18fb69,{'kind':_0x11f427[_0x3c5b3a(0x10a)],'message':_0x11f427[_0x3c5b3a(0xdf)](_0x11f427[_0x3c5b3a(0x14c)],_0x610fe),'level':_0x11f427[_0x3c5b3a(0x17c)]});}catch(_0x1ecbef){_0x11f427[_0x3c5b3a(0x17e)](debug,_0x11f427[_0x3c5b3a(0x1bc)](_0x11f427[_0x3c5b3a(0x1c2)],_0x1ecbef));}}),_0x3b83cf['on'](_0x11f427['zxLsO'],(_0x139720,_0x6e3ade)=>{const _0x3a3617=_0xa92da4;try{if(!_0x6e3ade||!_0x6e3ade['execution'])return;let _0x402a84=_0x46da0d;if(!_0x402a84&&_0x6e3ade[_0x3a3617(0x142)]&&_0x6e3ade[_0x3a3617(0x142)][_0x3a3617(0x13b)]){const _0x1b684e=_0xf9f082[_0x3a3617(0xe3)](_0x6e3ade['cursor'][_0x3a3617(0x13b)]+'_'+_0x1d0fd0);_0x1b684e&&_0x11f427[_0x3a3617(0x12f)](_0x1b684e[_0x3a3617(0x1ae)][_0x3a3617(0x1b5)],0x0)&&(_0x402a84=_0x1b684e[_0x3a3617(0x1ae)][_0x11f427[_0x3a3617(0x108)](_0x1b684e['assertions'][_0x3a3617(0x1b5)],0x1)]['uuid']);}if(!_0x402a84)return;const _0x9949b5=_0x6e3ade[_0x3a3617(0x11a)]&&_0x6e3ade[_0x3a3617(0x11a)][_0x3a3617(0x127)]||_0x11f427[_0x3a3617(0x118)];_0x139720&&_0x11f427[_0x3a3617(0x1c9)](emitLog,_0x402a84,{'kind':_0x11f427[_0x3a3617(0x10a)],'message':_0x11f427[_0x3a3617(0x140)](_0x11f427[_0x3a3617(0x170)](_0x11f427[_0x3a3617(0x186)](_0x11f427['MJfTo'],_0x9949b5),_0x11f427['TjDII']),_0x139720[_0x3a3617(0x14f)]||_0x139720),'level':_0x11f427[_0x3a3617(0x17c)]});}catch(_0x898760){_0x11f427[_0x3a3617(0xf4)](debug,_0x11f427[_0x3a3617(0x117)](_0x11f427[_0x3a3617(0x128)],_0x898760));}}),_0x3b83cf['on'](_0x11f427[_0xa92da4(0x1d9)],(_0x56f6df,_0x1bc6ce)=>{const _0x1e287e=_0xa92da4,_0x3f2bef={'nLywn':function(_0xfeb4a1,_0xb55f61,_0x77e3f7){const _0x77171=a39_0x148d;return _0x11f427[_0x77171(0x1ba)](_0xfeb4a1,_0xb55f61,_0x77e3f7);},'ZeOei':_0x11f427[_0x1e287e(0x10a)]};try{if(!_0x1bc6ce||!_0x1bc6ce[_0x1e287e(0x1bd)])return;const _0x5367c3=_0x1bc6ce['item']['id']+'_'+_0x1d0fd0,_0x209c79=_0xf9f082['get'](_0x5367c3);if(!_0x209c79)return;const _0x50cc29=new Date(),_0x267455=_0x11f427['fqDbJ'](_0x50cc29[_0x1e287e(0x112)](),_0x209c79[_0x1e287e(0x1a4)]);if(_0x11f427[_0x1e287e(0x12c)](_0x209c79[_0x1e287e(0x1ae)][_0x1e287e(0x1b5)],0x0))_0x209c79[_0x1e287e(0x1ae)][_0x1e287e(0x143)](_0xa239e1=>{const _0xc0ebdd=_0x1e287e,_0x397bad=!!_0xa239e1['err'],_0xc8507={'finishedAt':_0x50cc29[_0xc0ebdd(0x17b)](),'durationMs':_0x267455,'result':_0x397bad?_0x11f427[_0xc0ebdd(0x146)]:_0x11f427['DGqNg']};_0x397bad&&(_0xc8507[_0xc0ebdd(0x161)]=_0xa239e1[_0xc0ebdd(0x100)][_0xc0ebdd(0x14f)]||'',_0xc8507[_0xc0ebdd(0x195)]=_0x11f427['rpLEl'](_0xa239e1[_0xc0ebdd(0x100)][_0xc0ebdd(0x183)],_0x11f427['bAOMo'])||_0xa239e1[_0xc0ebdd(0x100)]['message']&&_0xa239e1['err'][_0xc0ebdd(0x14f)][_0xc0ebdd(0xef)](_0x11f427[_0xc0ebdd(0x113)])?_0x11f427['bAOMo']:_0x11f427[_0xc0ebdd(0x13f)],_0xc8507['failure']=[{'backtrace':_0xa239e1[_0xc0ebdd(0x100)]['stack']?_0xa239e1[_0xc0ebdd(0x100)]['stack'][_0xc0ebdd(0x10f)]('\x0a'):[_0xa239e1['err'][_0xc0ebdd(0x14f)]||''],'expanded':[]}]),_0x11f427[_0xc0ebdd(0x192)](emitTest,HookState[_0xc0ebdd(0x13c)],_0xa239e1,_0x209c79,_0x53b23b,_0xc8507);});else{const _0x24870f=_0x11f427[_0x1e287e(0x189)](uuidv4),_0x1d5e49=_0x209c79[_0x1e287e(0x147)],_0x229405=_0x11f427[_0x1e287e(0x11c)](_0x1d5e49,null)&&_0x11f427[_0x1e287e(0x188)](_0x1d5e49,0xc8)&&_0x11f427[_0x1e287e(0x14d)](_0x1d5e49,0x190),_0x3162d4=_0x209c79[_0x1e287e(0x162)]+_0x1e287e(0x1ab)+_0x11f427['nGTLJ'](_0x1d5e49,_0x11f427['ZqZFw'])+')',_0x5c5fe2={'uuid':_0x24870f,'name':_0x3162d4,'identifier':_0x209c79[_0x1e287e(0x13d)][_0x1e287e(0x1b9)]([_0x3162d4])[_0x1e287e(0x1b4)]('\x20')},_0x1a1b1a={'finishedAt':_0x50cc29[_0x1e287e(0x17b)](),'durationMs':_0x267455,'result':_0x229405?_0x11f427[_0x1e287e(0x167)]:_0x11f427[_0x1e287e(0x146)]};!_0x229405&&(_0x1a1b1a[_0x1e287e(0x161)]=_0x11f427['JAVQY'](_0x1d5e49,null)?_0x1e287e(0xec)+_0x1d5e49+_0x1e287e(0xfe):_0x11f427[_0x1e287e(0x1d6)],_0x1a1b1a[_0x1e287e(0x195)]=_0x11f427[_0x1e287e(0x13f)],_0x1a1b1a[_0x1e287e(0x12b)]=[{'backtrace':[_0x1a1b1a[_0x1e287e(0x161)]],'expanded':[]}]);_0x11f427[_0x1e287e(0x192)](emitTest,HookState[_0x1e287e(0x16f)],_0x5c5fe2,_0x209c79,_0x53b23b,{}),_0x209c79[_0x1e287e(0x1b6)][_0x1e287e(0x143)](_0x54c78d=>{const _0x20b0ec=_0x1e287e;_0x3f2bef[_0x20b0ec(0x19e)](emitLog,_0x24870f,{'kind':_0x3f2bef['ZeOei'],'message':_0x54c78d['message'],'level':_0x54c78d['level']});});if(_0x209c79[_0x1e287e(0x187)]){_0x11f427['nAZTT'](emitLog,_0x24870f,{'kind':_0x11f427['aCNoP'],'http_response':_0x209c79['httpLog']});const _0x2d2d07=_0x11f427[_0x1e287e(0x1cf)](_0x11f427[_0x1e287e(0x172)](_0x11f427[_0x1e287e(0x16d)](_0x11f427[_0x1e287e(0x1cd)](_0x11f427[_0x1e287e(0x1c5)](_0x11f427[_0x1e287e(0x10b)](_0x11f427['jdjMh'](_0x11f427[_0x1e287e(0x117)](_0x209c79[_0x1e287e(0x187)][_0x1e287e(0x164)]||_0x11f427[_0x1e287e(0x111)],'\x20'),_0x209c79[_0x1e287e(0x187)][_0x1e287e(0xe0)]),_0x209c79[_0x1e287e(0x187)]['path']),_0x11f427[_0x1e287e(0xfd)]),_0x209c79[_0x1e287e(0x187)][_0x1e287e(0x1d3)]),'\x20('),_0x209c79[_0x1e287e(0x187)][_0x1e287e(0x15f)]),_0x11f427[_0x1e287e(0x144)]);_0x11f427['vBfUA'](emitLog,_0x24870f,{'kind':_0x11f427['uGkzu'],'message':_0x2d2d07,'level':_0x11f427[_0x1e287e(0x179)]});}else _0x11f427['KZGzF'](emitLog,_0x24870f,{'kind':_0x11f427[_0x1e287e(0x10a)],'message':_0x11f427[_0x1e287e(0xdf)](_0x11f427['PWzqM'](_0x11f427[_0x1e287e(0x102)],_0x11f427[_0x1e287e(0x1a2)](_0x1d5e49,_0x11f427[_0x1e287e(0x165)])),_0x11f427['fMkBI']),'level':_0x11f427['lBGcU']});_0x11f427[_0x1e287e(0x192)](emitTest,HookState[_0x1e287e(0x13c)],_0x5c5fe2,_0x209c79,_0x53b23b,_0x1a1b1a);}_0xf9f082[_0x1e287e(0xf8)](_0x5367c3),_0x1bc6ce['cursor']&&_0x1bc6ce[_0x1e287e(0x142)]['ref']&&_0xf9f082[_0x1e287e(0xf8)](_0x1bc6ce[_0x1e287e(0x142)]['ref']+'_'+_0x1d0fd0);}catch(_0x1e190c){_0x11f427[_0x1e287e(0x184)](debug,_0x1e287e(0x109)+_0x1e190c);}});}module[a39_0x12bea7(0x14e)]=BrowserStackNewmanReporter;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a40_0x421a09=a40_0xa84d;function a40_0x1a53(){const _0x3847cd=['concat','run','307271lKiVvi','vluPo','beforeExit','reporter','56428sEtvKm','cli','BEatH','newman','eGmbA','jvFEd','LGpZV','TSHLS','stderr','_load','collection','CZQVF','collectionPath','6250326gtPIVQ','7YbiGax','assign','vSOGJ','exitCode','10kialfX','resolve','length','889162IlXbXB','newman-reporter-browserstack','module','string','../v2/browserstackCLI','1192872dOufnX','dRVgX','bootstrap','indexOf','reporters','rLvAe','call','auDUh','IrEQt','write','[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20','tdcMz','VoxFG','p-limit','izhIR','NEvhd','DLotY','110QCCHbA','getInstance','argv','exit','browserstack','2497056ddaYBO','2794887pXVBls','path','bKVyB','JgbNb','bGynB','[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a','create'];a40_0x1a53=function(){return _0x3847cd;};return a40_0x1a53();}(function(_0x1a8a62,_0x292985){const _0x2b24ee=a40_0xa84d,_0x5693fd=_0x1a8a62();while(!![]){try{const _0x35df41=parseInt(_0x2b24ee(0x159))/0x1+-parseInt(_0x2b24ee(0x134))/0x2+-parseInt(_0x2b24ee(0x14f))/0x3+-parseInt(_0x2b24ee(0x11f))/0x4*(-parseInt(_0x2b24ee(0x14a))/0x5)+parseInt(_0x2b24ee(0x12c))/0x6+-parseInt(_0x2b24ee(0x12d))/0x7*(parseInt(_0x2b24ee(0x139))/0x8)+parseInt(_0x2b24ee(0x150))/0x9*(parseInt(_0x2b24ee(0x131))/0xa);if(_0x35df41===_0x292985)break;else _0x5693fd['push'](_0x5693fd['shift']());}catch(_0x12d9f7){_0x5693fd['push'](_0x5693fd['shift']());}}}(a40_0x1a53,0x84c67));const path=require(a40_0x421a09(0x151)),Module=require(a40_0x421a09(0x136)),BrowserstackCLI=require(a40_0x421a09(0x138)),scriptFile=process[a40_0x421a09(0x14c)][0x2],maxParallel=parseInt(process[a40_0x421a09(0x14c)][0x3])||0x0;!scriptFile&&(process[a40_0x421a09(0x127)][a40_0x421a09(0x142)](a40_0x421a09(0x155)),process['exit'](0x1));const reporterPath=path['join'](__dirname,a40_0x421a09(0x11e),'index.js'),originalResolveFilename=Module['_resolveFilename'];Module['_resolveFilename']=function(_0x3418cd,_0x3db36b,_0x4b7fee,_0x4b95a5){const _0x2d770=a40_0x421a09,_0x5c52aa={};_0x5c52aa[_0x2d770(0x13e)]=function(_0x5ba1ef,_0x1f2040){return _0x5ba1ef===_0x1f2040;},_0x5c52aa[_0x2d770(0x149)]=_0x2d770(0x135);const _0xa99845=_0x5c52aa;if(_0xa99845[_0x2d770(0x13e)](_0x3418cd,_0xa99845[_0x2d770(0x149)]))return reporterPath;return originalResolveFilename[_0x2d770(0x13f)](this,_0x3418cd,_0x3db36b,_0x4b7fee,_0x4b95a5);};let limit;try{const pLimit=require(a40_0x421a09(0x146)),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a40_0x375ff3){limit=function(_0x4ce068){const _0x4e3b01=a40_0x421a09,_0x58d55e={'BEatH':function(_0x2cd0d4){return _0x2cd0d4();}};return _0x58d55e[_0x4e3b01(0x121)](_0x4ce068);};}let wrappedNewman=null,hasFailure=![];const originalLoad=Module[a40_0x421a09(0x128)];Module[a40_0x421a09(0x128)]=function(_0x16418d,_0x3cc449,_0xebe373){const _0x354bcb=a40_0x421a09,_0x39066a={'vSOGJ':function(_0x2b9ac8,_0x5d40c0){return _0x2b9ac8>_0x5d40c0;},'GcKpy':function(_0x5b75d3,_0x4e53c9){return _0x5b75d3||_0x4e53c9;},'vluPo':function(_0x2e9094,_0x45fb6b,_0x2eef59){return _0x2e9094(_0x45fb6b,_0x2eef59);},'dRVgX':function(_0x22ec94,_0x55976c){return _0x22ec94(_0x55976c);},'JgbNb':_0x354bcb(0x120),'NEvhd':function(_0x5e0977,_0x341b3e){return _0x5e0977===_0x341b3e;},'TSHLS':_0x354bcb(0x14e),'bKVyB':function(_0x1e9c5c,_0x5a45d5){return _0x1e9c5c===_0x5a45d5;},'auDUh':_0x354bcb(0x137),'eGmbA':function(_0x44cada,_0x2507a7){return _0x44cada(_0x2507a7);},'tdcMz':function(_0x37c06a,_0x2b00f8){return _0x37c06a!==_0x2b00f8;},'izhIR':_0x354bcb(0x122)},_0x144515=originalLoad[_0x354bcb(0x13f)](this,_0x16418d,_0x3cc449,_0xebe373);if(_0x39066a[_0x354bcb(0x144)](_0x16418d,_0x39066a[_0x354bcb(0x147)]))return _0x144515;if(wrappedNewman)return wrappedNewman;const _0x1d7081=_0x144515['run']['bind'](_0x144515);return wrappedNewman=Object[_0x354bcb(0x156)](_0x144515),wrappedNewman[_0x354bcb(0x158)]=function(_0x1c2ee5,_0x4b2ed7){const _0x17f3b1=_0x354bcb,_0x440b45={'jvFEd':function(_0x59d9d1,_0x1c113e,_0x572547){const _0x5ce4bd=a40_0xa84d;return _0x39066a[_0x5ce4bd(0x11c)](_0x59d9d1,_0x1c113e,_0x572547);}};let _0x371362=_0x1c2ee5[_0x17f3b1(0x13d)]||[_0x39066a[_0x17f3b1(0x153)]];_0x39066a[_0x17f3b1(0x148)](_0x371362[_0x17f3b1(0x13c)](_0x39066a[_0x17f3b1(0x126)]),-0x1)&&(_0x371362=_0x371362[_0x17f3b1(0x157)]([_0x39066a[_0x17f3b1(0x126)]]));const _0x14f1e7=_0x39066a[_0x17f3b1(0x152)](typeof _0x1c2ee5[_0x17f3b1(0x129)],_0x39066a[_0x17f3b1(0x140)])?_0x1c2ee5[_0x17f3b1(0x129)]:undefined,_0x1dd803={};_0x1dd803[_0x17f3b1(0x12b)]=_0x14f1e7;const _0x1a39f6=Object['assign']({},_0x1c2ee5['reporter'],{'browserstack':Object[_0x17f3b1(0x12e)]({},_0x1c2ee5[_0x17f3b1(0x11e)]&&_0x1c2ee5[_0x17f3b1(0x11e)][_0x17f3b1(0x14e)],_0x1dd803)}),_0x483a76={};return _0x483a76[_0x17f3b1(0x13d)]=_0x371362,_0x483a76[_0x17f3b1(0x11e)]=_0x1a39f6,_0x1c2ee5=Object[_0x17f3b1(0x12e)]({},_0x1c2ee5,_0x483a76),_0x39066a[_0x17f3b1(0x123)](limit,function(){const _0x379398={'LGpZV':function(_0x2486f2,_0x25168d){const _0x20fe59=a40_0xa84d;return _0x39066a[_0x20fe59(0x12f)](_0x2486f2,_0x25168d);},'QYGuz':function(_0x3dc3d2,_0x57aef5){return _0x39066a['GcKpy'](_0x3dc3d2,_0x57aef5);},'VoxFG':function(_0x1f859,_0x5da2ef,_0x26e7b6){const _0x2fecda=a40_0xa84d;return _0x39066a[_0x2fecda(0x11c)](_0x1f859,_0x5da2ef,_0x26e7b6);},'YCYTd':function(_0x25fa19,_0x231212){const _0x3a0316=a40_0xa84d;return _0x39066a[_0x3a0316(0x13a)](_0x25fa19,_0x231212);}};return new Promise(function(_0x639385){const _0x41b4df=a40_0xa84d;_0x440b45[_0x41b4df(0x124)](_0x1d7081,_0x1c2ee5,function(_0x4a2ed6,_0x4e3218){const _0x30d8b8=_0x41b4df,_0x542ab5=_0x4e3218&&_0x4e3218[_0x30d8b8(0x158)]&&(_0x4e3218[_0x30d8b8(0x158)]['error']||_0x4e3218[_0x30d8b8(0x158)]['failures']&&_0x379398[_0x30d8b8(0x125)](_0x4e3218[_0x30d8b8(0x158)]['failures'][_0x30d8b8(0x133)],0x0));_0x379398['QYGuz'](_0x542ab5,_0x4a2ed6)&&(hasFailure=!![]),_0x4b2ed7&&_0x379398[_0x30d8b8(0x145)](_0x4b2ed7,_0x4a2ed6,_0x4e3218),_0x379398['YCYTd'](_0x639385,_0x4e3218);});});});},wrappedNewman;};async function main(){const _0x3b6b1e=a40_0x421a09,_0x4980f4={'IrEQt':function(_0x4b17b4,_0x21c610){return _0x4b17b4(_0x21c610);},'CZQVF':function(_0x4f3189,_0xe1d7e){return _0x4f3189+_0xe1d7e;},'ffvXj':function(_0x223646,_0x4d3897){return _0x223646+_0x4d3897;},'ImTMG':_0x3b6b1e(0x143)};try{await BrowserstackCLI[_0x3b6b1e(0x14b)]()[_0x3b6b1e(0x13b)]();}catch(_0x919c6f){}try{_0x4980f4[_0x3b6b1e(0x141)](require,path[_0x3b6b1e(0x132)](scriptFile));}catch(_0x5e3aa2){process[_0x3b6b1e(0x127)]['write'](_0x4980f4[_0x3b6b1e(0x12a)](_0x4980f4['ffvXj'](_0x4980f4['ImTMG'],_0x5e3aa2['message']||_0x5e3aa2),'\x0a')),process[_0x3b6b1e(0x130)]=0x1;}}function a40_0xa84d(_0x574435,_0x2e37ee){const _0x1a53a0=a40_0x1a53();return a40_0xa84d=function(_0xa84d08,_0x19dc2a){_0xa84d08=_0xa84d08-0x11c;let _0x223c7c=_0x1a53a0[_0xa84d08];return _0x223c7c;},a40_0xa84d(_0x574435,_0x2e37ee);}main(),process['on'](a40_0x421a09(0x11d),function(){const _0x47a3b0=a40_0x421a09;hasFailure&&(process[_0x47a3b0(0x130)]=0x1);}),process['on'](a40_0x421a09(0x14d),function(){const _0x129fe4=a40_0x421a09,_0x19f59e={};_0x19f59e[_0x129fe4(0x154)]=function(_0x2580eb,_0x2976f1){return _0x2580eb===_0x2976f1;};const _0x241742=_0x19f59e;hasFailure&&_0x241742['bGynB'](process[_0x129fe4(0x130)],0x0)&&(process['exitCode']=0x1);});
2
+ 'use strict';function a40_0x3a62(){const _0x37e508=['gMdTY','reporter','ktbWF','twWgg','browserstack','concat','218338HsvWax','mbxnd','collectionPath','message','UYHie','AmMTN','_load','module','cli','create','2001600oLuQhX','aMIdZ','jtRUh','newman','2860716HLpCZp','xUwTG','BprhB','resolve','3zxNMUK','stderr','6ljTIbU','NfRMn','NhXaq','739940ZBiiVX','wbnRm','assign','beforeExit','AsuKU','exit','77823XbXcKG','5503141ITKMxn','460zEJdPl','CjgOv','length','skzuz','kfzOs','error','exitCode','LyhHU','run','bind','gKjyD','path','write','collection','mPcgx','vOMLy','uDJEo','indexOf','7379296BEpSvf','call','p-limit','failures','getInstance','pHFmz','PNXTo'];a40_0x3a62=function(){return _0x37e508;};return a40_0x3a62();}const a40_0x342dd9=a40_0x37e1;(function(_0x297a8a,_0x44de0c){const _0x5a9315=a40_0x37e1,_0x43c476=_0x297a8a();while(!![]){try{const _0x579571=parseInt(_0x5a9315(0x1d8))/0x1*(parseInt(_0x5a9315(0x1c6))/0x2)+-parseInt(_0x5a9315(0x1d4))/0x3+parseInt(_0x5a9315(0x1d0))/0x4+parseInt(_0x5a9315(0x1dd))/0x5*(parseInt(_0x5a9315(0x1da))/0x6)+-parseInt(_0x5a9315(0x1e4))/0x7+parseInt(_0x5a9315(0x1b9))/0x8+-parseInt(_0x5a9315(0x1e3))/0x9*(-parseInt(_0x5a9315(0x1e5))/0xa);if(_0x579571===_0x44de0c)break;else _0x43c476['push'](_0x43c476['shift']());}catch(_0x2b0aae){_0x43c476['push'](_0x43c476['shift']());}}}(a40_0x3a62,0x87d2e));const path=require(a40_0x342dd9(0x1b2)),Module=require(a40_0x342dd9(0x1cd)),BrowserstackCLI=require('../v2/browserstackCLI'),scriptFile=process['argv'][0x2],maxParallel=parseInt(process['argv'][0x3])||0x0;!scriptFile&&(process[a40_0x342dd9(0x1d9)][a40_0x342dd9(0x1b3)]('[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a'),process[a40_0x342dd9(0x1e2)](0x1));const reporterPath=path['join'](__dirname,a40_0x342dd9(0x1c1),'index.js'),originalResolveFilename=Module['_resolveFilename'];Module['_resolveFilename']=function(_0xbb8749,_0x45c7a1,_0x4cc65e,_0x5cd14e){const _0x378b6a=a40_0x342dd9,_0x18e899={};_0x18e899['kfzOs']=function(_0x559166,_0x1a20b8){return _0x559166===_0x1a20b8;},_0x18e899[_0x378b6a(0x1b1)]='newman-reporter-browserstack';const _0x29fc0c=_0x18e899;if(_0x29fc0c[_0x378b6a(0x1ab)](_0xbb8749,_0x29fc0c[_0x378b6a(0x1b1)]))return reporterPath;return originalResolveFilename['call'](this,_0xbb8749,_0x45c7a1,_0x4cc65e,_0x5cd14e);};let limit;try{const pLimit=require(a40_0x342dd9(0x1bb)),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a40_0x4c2e7d){limit=function(_0x12d827){const _0xa1c73c=a40_0x342dd9,_0x2d1325={'NhXaq':function(_0x275f89){return _0x275f89();}};return _0x2d1325[_0xa1c73c(0x1dc)](_0x12d827);};}function a40_0x37e1(_0x5242c8,_0x5a7e34){const _0x3a6232=a40_0x3a62();return a40_0x37e1=function(_0x37e1cc,_0x331bde){_0x37e1cc=_0x37e1cc-0x1a9;let _0x3de02a=_0x3a6232[_0x37e1cc];return _0x3de02a;},a40_0x37e1(_0x5242c8,_0x5a7e34);}let wrappedNewman=null,hasFailure=![];const originalLoad=Module[a40_0x342dd9(0x1cc)];Module[a40_0x342dd9(0x1cc)]=function(_0x23e1ce,_0x32da86,_0x4b0ec5){const _0x4477a7=a40_0x342dd9,_0x56f048={'LyhHU':function(_0x50798a,_0x55ed90){return _0x50798a>_0x55ed90;},'wbnRm':function(_0x4f29c3,_0x4b1230){return _0x4f29c3||_0x4b1230;},'PNXTo':function(_0x3b51d8,_0x32c8d4,_0x5ecdac){return _0x3b51d8(_0x32c8d4,_0x5ecdac);},'aMIdZ':function(_0x5c5629,_0x1252b6){return _0x5c5629(_0x1252b6);},'skzuz':_0x4477a7(0x1ce),'uDJEo':function(_0x3f8155,_0x3a5b7c){return _0x3f8155===_0x3a5b7c;},'vOMLy':_0x4477a7(0x1c4),'PDQFW':function(_0xfd3b7f,_0x3f7df6){return _0xfd3b7f===_0x3f7df6;},'FsxGW':'string','pHFmz':function(_0x4c3c08,_0x4a682e){return _0x4c3c08!==_0x4a682e;},'Vqviy':_0x4477a7(0x1d3)},_0x518222=originalLoad[_0x4477a7(0x1ba)](this,_0x23e1ce,_0x32da86,_0x4b0ec5);if(_0x56f048[_0x4477a7(0x1be)](_0x23e1ce,_0x56f048['Vqviy']))return _0x518222;if(wrappedNewman)return wrappedNewman;const _0x525b0b=_0x518222[_0x4477a7(0x1af)][_0x4477a7(0x1b0)](_0x518222);return wrappedNewman=Object[_0x4477a7(0x1cf)](_0x518222),wrappedNewman[_0x4477a7(0x1af)]=function(_0x3bbde5,_0x23ce4c){const _0x356872=_0x4477a7,_0x34ab6c={'BprhB':function(_0xc2305c,_0x296515){const _0x421bcb=a40_0x37e1;return _0x56f048[_0x421bcb(0x1ae)](_0xc2305c,_0x296515);},'UYHie':function(_0x3f27af,_0x423f55){const _0xa7abb4=a40_0x37e1;return _0x56f048[_0xa7abb4(0x1de)](_0x3f27af,_0x423f55);},'AsuKU':function(_0x58925b,_0x367c85,_0x38dd65){const _0x486c50=a40_0x37e1;return _0x56f048[_0x486c50(0x1bf)](_0x58925b,_0x367c85,_0x38dd65);},'gMdTY':function(_0x3b7f32,_0x48db2a){const _0x3b0687=a40_0x37e1;return _0x56f048[_0x3b0687(0x1d1)](_0x3b7f32,_0x48db2a);}};let _0x141878=_0x3bbde5['reporters']||[_0x56f048[_0x356872(0x1aa)]];_0x56f048[_0x356872(0x1b7)](_0x141878[_0x356872(0x1b8)](_0x56f048[_0x356872(0x1b6)]),-0x1)&&(_0x141878=_0x141878[_0x356872(0x1c5)]([_0x56f048['vOMLy']]));const _0x1c2490=_0x56f048['PDQFW'](typeof _0x3bbde5[_0x356872(0x1b4)],_0x56f048['FsxGW'])?_0x3bbde5[_0x356872(0x1b4)]:undefined,_0x1075dc={};_0x1075dc[_0x356872(0x1c8)]=_0x1c2490;const _0x15f825=Object[_0x356872(0x1df)]({},_0x3bbde5[_0x356872(0x1c1)],{'browserstack':Object['assign']({},_0x3bbde5[_0x356872(0x1c1)]&&_0x3bbde5[_0x356872(0x1c1)]['browserstack'],_0x1075dc)}),_0x1e486a={};return _0x1e486a['reporters']=_0x141878,_0x1e486a[_0x356872(0x1c1)]=_0x15f825,_0x3bbde5=Object[_0x356872(0x1df)]({},_0x3bbde5,_0x1e486a),_0x56f048[_0x356872(0x1d1)](limit,function(){return new Promise(function(_0x223646){const _0x2963f9=a40_0x37e1,_0xfeac48={'mbxnd':function(_0x38fd6f,_0x2ff80e){const _0x592b18=a40_0x37e1;return _0x34ab6c[_0x592b18(0x1d6)](_0x38fd6f,_0x2ff80e);},'ktbWF':function(_0x3718b5,_0x1fa383){const _0x40d721=a40_0x37e1;return _0x34ab6c[_0x40d721(0x1ca)](_0x3718b5,_0x1fa383);},'NfRMn':function(_0x34a209,_0x44febb,_0x11d67a){const _0x593549=a40_0x37e1;return _0x34ab6c[_0x593549(0x1e1)](_0x34a209,_0x44febb,_0x11d67a);},'mPcgx':function(_0x53b2c0,_0x2d0983){const _0x4fefd7=a40_0x37e1;return _0x34ab6c[_0x4fefd7(0x1c0)](_0x53b2c0,_0x2d0983);}};_0x34ab6c[_0x2963f9(0x1e1)](_0x525b0b,_0x3bbde5,function(_0x163aea,_0xff1b51){const _0x24ba83=_0x2963f9,_0x57c2b4=_0xff1b51&&_0xff1b51[_0x24ba83(0x1af)]&&(_0xff1b51[_0x24ba83(0x1af)][_0x24ba83(0x1ac)]||_0xff1b51[_0x24ba83(0x1af)][_0x24ba83(0x1bc)]&&_0xfeac48[_0x24ba83(0x1c7)](_0xff1b51[_0x24ba83(0x1af)][_0x24ba83(0x1bc)][_0x24ba83(0x1a9)],0x0));_0xfeac48[_0x24ba83(0x1c2)](_0x57c2b4,_0x163aea)&&(hasFailure=!![]),_0x23ce4c&&_0xfeac48[_0x24ba83(0x1db)](_0x23ce4c,_0x163aea,_0xff1b51),_0xfeac48[_0x24ba83(0x1b5)](_0x223646,_0xff1b51);});});});},wrappedNewman;};async function main(){const _0x580a3c=a40_0x342dd9,_0x5eb1a8={'AmMTN':function(_0x1ffb03,_0x2dafc6){return _0x1ffb03(_0x2dafc6);},'twWgg':function(_0x54530a,_0x54461f){return _0x54530a+_0x54461f;},'xUwTG':function(_0x14ba74,_0x2e9178){return _0x14ba74+_0x2e9178;},'jtRUh':'[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20'};try{await BrowserstackCLI[_0x580a3c(0x1bd)]()['bootstrap']();}catch(_0x4c5980){}try{_0x5eb1a8[_0x580a3c(0x1cb)](require,path[_0x580a3c(0x1d7)](scriptFile));}catch(_0x40a0c7){process[_0x580a3c(0x1d9)][_0x580a3c(0x1b3)](_0x5eb1a8[_0x580a3c(0x1c3)](_0x5eb1a8[_0x580a3c(0x1d5)](_0x5eb1a8[_0x580a3c(0x1d2)],_0x40a0c7[_0x580a3c(0x1c9)]||_0x40a0c7),'\x0a')),process[_0x580a3c(0x1ad)]=0x1;}}main(),process['on'](a40_0x342dd9(0x1e0),function(){const _0xdbe414=a40_0x342dd9;hasFailure&&(process[_0xdbe414(0x1ad)]=0x1);}),process['on'](a40_0x342dd9(0x1e2),function(){const _0x2a1f85=a40_0x342dd9,_0x4d945f={};_0x4d945f[_0x2a1f85(0x1e6)]=function(_0xbf06fb,_0x2cd9fb){return _0xbf06fb===_0x2cd9fb;};const _0x472b5f=_0x4d945f;hasFailure&&_0x472b5f[_0x2a1f85(0x1e6)](process[_0x2a1f85(0x1ad)],0x0)&&(process[_0x2a1f85(0x1ad)]=0x1);});
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a41_0x4841(_0x1945cc,_0xe69a5c){const _0x39c316=a41_0x39c3();return a41_0x4841=function(_0x484145,_0x877120){_0x484145=_0x484145-0x111;let _0x471e4b=_0x39c316[_0x484145];return _0x471e4b;},a41_0x4841(_0x1945cc,_0xe69a5c);}const a41_0x45549b=a41_0x4841;(function(_0x1ef0d0,_0x44540e){const _0x19c983=a41_0x4841,_0x4c773c=_0x1ef0d0();while(!![]){try{const _0x4811aa=parseInt(_0x19c983(0x15f))/0x1*(-parseInt(_0x19c983(0x156))/0x2)+-parseInt(_0x19c983(0x129))/0x3+-parseInt(_0x19c983(0x125))/0x4+-parseInt(_0x19c983(0x113))/0x5+-parseInt(_0x19c983(0x11c))/0x6*(-parseInt(_0x19c983(0x144))/0x7)+-parseInt(_0x19c983(0x146))/0x8+parseInt(_0x19c983(0x13b))/0x9*(parseInt(_0x19c983(0x145))/0xa);if(_0x4811aa===_0x44540e)break;else _0x4c773c['push'](_0x4c773c['shift']());}catch(_0x42bf6c){_0x4c773c['push'](_0x4c773c['shift']());}}}(a41_0x39c3,0x7cccf));const fs=require('fs'),path=require(a41_0x45549b(0x15a)),{spawn}=require(a41_0x45549b(0x147)),logger=require(a41_0x45549b(0x13e))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),constants=require(a41_0x45549b(0x114)),getUserNightwatchConfigs=(_0x395e3b,_0xf3e19a)=>{const _0x22ab4c=a41_0x45549b,_0x19931e={'WdWcY':'nightwatch.conf.js','gCJrb':_0x22ab4c(0x155),'JMlhl':function(_0x5a3da6,_0x41e3e3){return _0x5a3da6(_0x41e3e3);},'onCgu':_0x22ab4c(0x111)};let _0x295a46=null,_0x501a71={};const _0xbb60e=_0xf3e19a[_0x22ab4c(0x126)](_0x87f117=>_0x87f117===_0x22ab4c(0x122));if(!helper[_0x22ab4c(0x140)](_0x395e3b[_0x22ab4c(0x12d)])&&fs[_0x22ab4c(0x11e)](path[_0x22ab4c(0x151)](process[_0x22ab4c(0x15c)](),_0x395e3b[_0x22ab4c(0x12d)])))_0x295a46=path[_0x22ab4c(0x151)](process[_0x22ab4c(0x15c)](),_0x395e3b[_0x22ab4c(0x12d)]),_0xf3e19a[_0x22ab4c(0x148)](_0xbb60e,0x2);else{if(fs[_0x22ab4c(0x11e)](path[_0x22ab4c(0x151)](process[_0x22ab4c(0x15c)](),_0x19931e[_0x22ab4c(0x12b)])))_0x295a46=path['join'](process[_0x22ab4c(0x15c)](),_0x19931e[_0x22ab4c(0x12b)]);else fs[_0x22ab4c(0x11e)](path['join'](process[_0x22ab4c(0x15c)](),_0x19931e[_0x22ab4c(0x14c)]))&&(_0x295a46=path['join'](process[_0x22ab4c(0x15c)](),_0x19931e[_0x22ab4c(0x14c)]));}return _0x295a46?(logger[_0x22ab4c(0x115)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x295a46),_0x501a71=_0x19931e['JMlhl'](require,_0x295a46)):logger[_0x22ab4c(0x115)](_0x19931e[_0x22ab4c(0x14b)]),_0x501a71;},removeExistingEnvs=_0x5b2028=>{const _0x4871b7=a41_0x45549b,_0x4a4d4e={};_0x4a4d4e[_0x4871b7(0x124)]=function(_0x3a8c40,_0x783ea9){return _0x3a8c40>_0x783ea9;},_0x4a4d4e['KkJzy']=function(_0x5b18c3,_0x5c8e2f){return _0x5b18c3>_0x5c8e2f;};const _0x374630=_0x4a4d4e;let _0x1cb95a=_0x5b2028[_0x4871b7(0x126)](_0x2c8a95=>_0x2c8a95===_0x4871b7(0x159));_0x374630[_0x4871b7(0x124)](_0x1cb95a,-0x1)&&_0x5b2028[_0x4871b7(0x148)](_0x1cb95a,0x2),_0x1cb95a=_0x5b2028[_0x4871b7(0x126)](_0x1b6de0=>_0x1b6de0==='-e'),_0x374630[_0x4871b7(0x154)](_0x1cb95a,-0x1)&&_0x5b2028[_0x4871b7(0x148)](_0x1cb95a,0x2);};function a41_0x39c3(){const _0x36ffb4=['15498234zuMkIj','host','stringify','../../helpers/logger','oTHix','isUndefined','HRBNs','mergeDeep','nightwatch.cmd','2384081WqlHGm','10EDmQCA','1807352owvuIN','child_process','splice','length','child\x20process\x20exited\x20with\x20code\x20','onCgu','gCJrb','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','close','port','start_process','join','inherit','VjSqX','KkJzy','nightwatch.json','6leduQq','getPlatformName','push','--env','path','bFETh','cwd','map','debug','72221MCSLyR','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','DwzcG','291500DrqMjR','../utils/constants','info','ORnJA','now','GFHbC','Deleting\x20','exports','nightwatch-browserstack.json','6VbBbIl','filter','existsSync','hub.browserstack.com','PEQQd','split','--config','useW3C','sxToS','1093692ynoRvf','findIndex','unlinkSync','platforms','2331363oVzaqB','WHFic','WdWcY','nightwatch','config','test_settings','bJnEp','webdriver','env','trim','abooU','slice','modifyBrowserStackW3CCaps','modifyBrowserStackCaps','WmgDf','forEach','desiredCapabilities','test'];a41_0x39c3=function(){return _0x36ffb4;};return a41_0x39c3();}function run(_0x4c8496,_0x1fbc2f,_0x1202f1){const _0x37513a=a41_0x45549b,_0x120b01={'oTHix':_0x37513a(0x12c),'ORnJA':function(_0x24404d,_0x3c8e17){return _0x24404d+_0x3c8e17;},'bFETh':_0x37513a(0x12e),'GFHbC':function(_0x3f64b6,_0x3d0958,_0x4585a4){return _0x3f64b6(_0x3d0958,_0x4585a4);},'DiAHb':_0x37513a(0x11f),'DwzcG':_0x37513a(0x14d),'abooU':function(_0x3ba968,_0x1b1ded){return _0x3ba968===_0x1b1ded;},'QjhMc':_0x37513a(0x11b),'VjSqX':function(_0x514eb4,_0x1d8ff9){return _0x514eb4(_0x1d8ff9);},'BdtPd':function(_0x45602c,_0x12906d,_0x169b73,_0x2bf48a){return _0x45602c(_0x12906d,_0x169b73,_0x2bf48a);},'bJnEp':_0x37513a(0x143),'WHFic':_0x37513a(0x122),'HRBNs':_0x37513a(0x159),'WmgDf':_0x37513a(0x152),'PEQQd':_0x37513a(0x14e)};if(!_0x1202f1['config'])return;const _0x279570=_0x120b01[_0x37513a(0x118)](getUserNightwatchConfigs,_0x4c8496,_0x1fbc2f),_0xe33652={};_0xe33652[_0x37513a(0x150)]=![];const _0x4cb247={};_0x4cb247[_0x37513a(0x13c)]=_0x120b01['DiAHb'],_0x4cb247[_0x37513a(0x14f)]=0x1bb;const _0x1ed232={};_0x1ed232[_0x37513a(0x130)]=_0xe33652,_0x1ed232['selenium']=_0x4cb247;const _0x5cd4d6=_0x1ed232;logger[_0x37513a(0x115)](_0x120b01[_0x37513a(0x112)]);const _0x3dab34={..._0x279570},_0x1c9a29=_0x3dab34,_0x3cd44f=helper[_0x37513a(0x123)](_0x1202f1[_0x37513a(0x12d)]),_0x5f2888=[];_0x1202f1['config'][_0x37513a(0x128)][_0x37513a(0x138)]((_0x3d959a,_0x1f7290)=>{const _0x4a8ef2=_0x37513a;_0x3cd44f?_0x5f2888['push'](helper[_0x4a8ef2(0x135)](_0x1202f1['config'],_0x120b01['oTHix'],_0x1f7290)):_0x5f2888[_0x4a8ef2(0x158)](helper[_0x4a8ef2(0x136)](_0x1202f1[_0x4a8ef2(0x12d)],_0x120b01[_0x4a8ef2(0x13f)],_0x1f7290));});const _0x5edb6e={},_0x16cb74=[];_0x4c8496['env']=_0x4c8496[_0x37513a(0x131)]||_0x4c8496['e'];const _0x5b535a=_0x4c8496[_0x37513a(0x131)]?_0x4c8496[_0x37513a(0x131)][_0x37513a(0x132)]()[_0x37513a(0x121)](',')[_0x37513a(0x15d)](_0x42095a=>_0x42095a[_0x37513a(0x132)]())[_0x37513a(0x11d)](_0x230f96=>_0x230f96!==''):[''];_0x120b01[_0x37513a(0x133)](_0x5b535a[_0x37513a(0x149)],0x0)&&_0x5b535a[_0x37513a(0x158)]('');_0x5b535a[_0x37513a(0x138)](_0x4e9b23=>{const _0x49cc3d=_0x37513a;_0x5f2888[_0x49cc3d(0x138)](_0x3323a4=>{const _0x3f1440=_0x49cc3d;let _0x3c2b7e=_0x120b01[_0x3f1440(0x116)](helper[_0x3f1440(0x157)](_0x3323a4,'_'),'_'+Date[_0x3f1440(0x117)]());_0x4e9b23&&(_0x3c2b7e+='_'+_0x4e9b23);if(_0x4e9b23&&(!_0x279570[_0x120b01['bFETh']]||!_0x279570[_0x120b01['bFETh']][_0x4e9b23]))return;const _0x2e8999={..._0x5cd4d6};_0x2e8999[_0x3f1440(0x139)]=_0x3323a4;const _0x3e0ec1=_0x2e8999;_0x5edb6e[_0x3c2b7e]=_0x4e9b23?helper[_0x3f1440(0x142)](_0x279570[_0x120b01[_0x3f1440(0x15b)]][_0x4e9b23],_0x3e0ec1):_0x3e0ec1,_0x16cb74[_0x3f1440(0x158)](_0x3c2b7e);});});!_0x1c9a29[_0x37513a(0x12e)]&&(_0x1c9a29[_0x37513a(0x12e)]={});_0x1c9a29[_0x37513a(0x12e)]={..._0x1c9a29[_0x37513a(0x12e)],..._0x5edb6e};const _0x54a6fc=path[_0x37513a(0x151)](__dirname,_0x120b01['QjhMc']);fs['writeFileSync'](_0x54a6fc,JSON[_0x37513a(0x13d)](_0x1c9a29)),_0x120b01[_0x37513a(0x153)](removeExistingEnvs,_0x1fbc2f);const _0x3e8494=_0x120b01['BdtPd'](spawn,/^win/[_0x37513a(0x13a)](process['platform'])?_0x120b01[_0x37513a(0x12f)]:_0x120b01[_0x37513a(0x13f)],[_0x120b01[_0x37513a(0x12a)],_0x54a6fc,..._0x1fbc2f[_0x37513a(0x134)](0x1),_0x120b01[_0x37513a(0x141)],_0x16cb74[_0x37513a(0x151)](',')],{'stdio':_0x120b01[_0x37513a(0x137)]});_0x3e8494['on'](_0x120b01[_0x37513a(0x120)],async _0x3ed29c=>{const _0x471132=_0x37513a;logger[_0x471132(0x15e)](_0x471132(0x14a)+_0x3ed29c),logger[_0x471132(0x115)](_0x471132(0x119)+_0x54a6fc),fs[_0x471132(0x127)](_0x54a6fc);});}module[a41_0x45549b(0x11a)]=run;
2
+ 'use strict';const a41_0x57e2c8=a41_0x3d56;(function(_0x37257b,_0x23dea3){const _0x288990=a41_0x3d56,_0x1f4f8f=_0x37257b();while(!![]){try{const _0x3192dc=-parseInt(_0x288990(0x183))/0x1+-parseInt(_0x288990(0x18f))/0x2*(parseInt(_0x288990(0x190))/0x3)+-parseInt(_0x288990(0x17c))/0x4+parseInt(_0x288990(0x1a3))/0x5*(-parseInt(_0x288990(0x17e))/0x6)+parseInt(_0x288990(0x1b3))/0x7+parseInt(_0x288990(0x1a2))/0x8*(-parseInt(_0x288990(0x1b5))/0x9)+parseInt(_0x288990(0x18a))/0xa*(parseInt(_0x288990(0x185))/0xb);if(_0x3192dc===_0x23dea3)break;else _0x1f4f8f['push'](_0x1f4f8f['shift']());}catch(_0x270f34){_0x1f4f8f['push'](_0x1f4f8f['shift']());}}}(a41_0x4c94,0xd2690));const fs=require('fs'),path=require('path'),{spawn}=require(a41_0x57e2c8(0x1be)),logger=require(a41_0x57e2c8(0x1bf))[a41_0x57e2c8(0x186)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a41_0x57e2c8(0x191)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x211c3e,_0x4495c2)=>{const _0x518e16=a41_0x57e2c8,_0x4da9a1={'CMARY':_0x518e16(0x17b),'BFOBB':_0x518e16(0x19c),'KelZz':function(_0x2df397,_0x21a57d){return _0x2df397(_0x21a57d);},'ukeGB':_0x518e16(0x189)};let _0x44b5aa=null,_0x14b5f5={};const _0x5da7cf=_0x4495c2[_0x518e16(0x178)](_0x43968d=>_0x43968d===_0x518e16(0x197));if(!helper[_0x518e16(0x19a)](_0x211c3e['config'])&&fs[_0x518e16(0x17d)](path['join'](process[_0x518e16(0x1ac)](),_0x211c3e[_0x518e16(0x1b8)])))_0x44b5aa=path['join'](process[_0x518e16(0x1ac)](),_0x211c3e[_0x518e16(0x1b8)]),_0x4495c2[_0x518e16(0x19e)](_0x5da7cf,0x2);else{if(fs[_0x518e16(0x17d)](path[_0x518e16(0x1ab)](process[_0x518e16(0x1ac)](),_0x4da9a1[_0x518e16(0x175)])))_0x44b5aa=path[_0x518e16(0x1ab)](process[_0x518e16(0x1ac)](),_0x4da9a1[_0x518e16(0x175)]);else fs[_0x518e16(0x17d)](path[_0x518e16(0x1ab)](process[_0x518e16(0x1ac)](),_0x4da9a1['BFOBB']))&&(_0x44b5aa=path[_0x518e16(0x1ab)](process['cwd'](),_0x4da9a1['BFOBB']));}return _0x44b5aa?(logger[_0x518e16(0x192)](_0x518e16(0x1ad)+_0x44b5aa),_0x14b5f5=_0x4da9a1[_0x518e16(0x1a1)](require,_0x44b5aa)):logger['info'](_0x4da9a1['ukeGB']),_0x14b5f5;},removeExistingEnvs=_0x26f87d=>{const _0x50e141=a41_0x57e2c8,_0x5d08f8={};_0x5d08f8[_0x50e141(0x1ba)]=function(_0x187c14,_0x59f073){return _0x187c14>_0x59f073;},_0x5d08f8[_0x50e141(0x194)]=function(_0x1ee6a4,_0x47cb58){return _0x1ee6a4>_0x47cb58;};const _0x462c95=_0x5d08f8;let _0x2f5901=_0x26f87d['findIndex'](_0x190ed9=>_0x190ed9===_0x50e141(0x193));_0x462c95[_0x50e141(0x1ba)](_0x2f5901,-0x1)&&_0x26f87d['splice'](_0x2f5901,0x2),_0x2f5901=_0x26f87d[_0x50e141(0x178)](_0xfc6a38=>_0xfc6a38==='-e'),_0x462c95['hiacM'](_0x2f5901,-0x1)&&_0x26f87d[_0x50e141(0x19e)](_0x2f5901,0x2);};function a41_0x3d56(_0x365f7d,_0x3eba4d){const _0x4c946f=a41_0x4c94();return a41_0x3d56=function(_0x3d5694,_0x263d4c){_0x3d5694=_0x3d5694-0x171;let _0x14a24e=_0x4c946f[_0x3d5694];return _0x14a24e;},a41_0x3d56(_0x365f7d,_0x3eba4d);}function run(_0x49d6c2,_0x4d83d1,_0x46d456){const _0x327f81=a41_0x57e2c8,_0x467ea9={'UCNZw':_0x327f81(0x1af),'cQeKX':function(_0x401478,_0x1c88e8){return _0x401478+_0x1c88e8;},'nruTg':_0x327f81(0x18c),'hkZrc':function(_0x190e68,_0x36a9c6,_0x3ee855){return _0x190e68(_0x36a9c6,_0x3ee855);},'DeFFf':_0x327f81(0x1a9),'VzoRR':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','pKrJi':function(_0x49b42a,_0x113fad){return _0x49b42a===_0x113fad;},'heGYX':'nightwatch-browserstack.json','ADeak':function(_0x677d82,_0x467ed1){return _0x677d82(_0x467ed1);},'sznRR':function(_0x4c1d58,_0x373d22,_0x182c20,_0x2b7d40){return _0x4c1d58(_0x373d22,_0x182c20,_0x2b7d40);},'ZFdus':_0x327f81(0x176),'rNQaV':_0x327f81(0x197),'nccIl':_0x327f81(0x193),'qrnXN':_0x327f81(0x1a6),'OKqAj':'close'};if(!_0x46d456[_0x327f81(0x1b8)])return;const _0x308477=_0x467ea9[_0x327f81(0x19f)](getUserNightwatchConfigs,_0x49d6c2,_0x4d83d1),_0x3161ab={};_0x3161ab['start_process']=![];const _0x13b470={};_0x13b470[_0x327f81(0x171)]=_0x467ea9[_0x327f81(0x1a5)],_0x13b470[_0x327f81(0x19d)]=0x1bb;const _0xcbe078={};_0xcbe078[_0x327f81(0x18b)]=_0x3161ab,_0xcbe078[_0x327f81(0x187)]=_0x13b470;const _0x3ce21c=_0xcbe078;logger['info'](_0x467ea9[_0x327f81(0x180)]);const _0x2cab75={..._0x308477},_0x1f50b0=_0x2cab75,_0x14e7ab=helper[_0x327f81(0x1a0)](_0x46d456[_0x327f81(0x1b8)]),_0x46932d=[];_0x46d456[_0x327f81(0x1b8)][_0x327f81(0x17f)][_0x327f81(0x1a7)]((_0x16f84b,_0x14bf63)=>{const _0xaa99f=_0x327f81;_0x14e7ab?_0x46932d[_0xaa99f(0x172)](helper[_0xaa99f(0x1aa)](_0x46d456[_0xaa99f(0x1b8)],_0x467ea9[_0xaa99f(0x18e)],_0x14bf63)):_0x46932d[_0xaa99f(0x172)](helper['modifyBrowserStackCaps'](_0x46d456[_0xaa99f(0x1b8)],_0x467ea9[_0xaa99f(0x18e)],_0x14bf63));});const _0xaa64c1={},_0x30da52=[];_0x49d6c2['env']=_0x49d6c2['env']||_0x49d6c2['e'];const _0x1e4f8d=_0x49d6c2[_0x327f81(0x1b9)]?_0x49d6c2[_0x327f81(0x1b9)]['trim']()[_0x327f81(0x1a4)](',')[_0x327f81(0x198)](_0x5efe54=>_0x5efe54[_0x327f81(0x1bc)]())[_0x327f81(0x19b)](_0x5b9773=>_0x5b9773!==''):[''];_0x467ea9[_0x327f81(0x1b7)](_0x1e4f8d[_0x327f81(0x1ae)],0x0)&&_0x1e4f8d[_0x327f81(0x172)]('');_0x1e4f8d[_0x327f81(0x1a7)](_0x49bc10=>{const _0x2823c6=_0x327f81,_0x17c17a={'uoiYS':function(_0x5e2bea,_0x4dd250){const _0x5854b5=a41_0x3d56;return _0x467ea9[_0x5854b5(0x1b6)](_0x5e2bea,_0x4dd250);},'FkEcp':_0x467ea9['nruTg']};_0x46932d[_0x2823c6(0x1a7)](_0x55fa8d=>{const _0x1ccf9c=_0x2823c6;let _0x3d22bb=_0x17c17a['uoiYS'](helper[_0x1ccf9c(0x177)](_0x55fa8d,'_'),'_'+Date[_0x1ccf9c(0x17a)]());_0x49bc10&&(_0x3d22bb+='_'+_0x49bc10);if(_0x49bc10&&(!_0x308477[_0x17c17a['FkEcp']]||!_0x308477[_0x17c17a[_0x1ccf9c(0x1bb)]][_0x49bc10]))return;const _0x3e7e92={..._0x3ce21c};_0x3e7e92[_0x1ccf9c(0x199)]=_0x55fa8d;const _0x2fedc4=_0x3e7e92;_0xaa64c1[_0x3d22bb]=_0x49bc10?helper['mergeDeep'](_0x308477[_0x17c17a['FkEcp']][_0x49bc10],_0x2fedc4):_0x2fedc4,_0x30da52['push'](_0x3d22bb);});});!_0x1f50b0[_0x327f81(0x18c)]&&(_0x1f50b0[_0x327f81(0x18c)]={});_0x1f50b0[_0x327f81(0x18c)]={..._0x1f50b0[_0x327f81(0x18c)],..._0xaa64c1};const _0x2eccb5=path[_0x327f81(0x1ab)](__dirname,_0x467ea9['heGYX']);fs['writeFileSync'](_0x2eccb5,JSON[_0x327f81(0x196)](_0x1f50b0)),_0x467ea9[_0x327f81(0x1b1)](removeExistingEnvs,_0x4d83d1);const _0x33f5be=_0x467ea9[_0x327f81(0x1b4)](spawn,/^win/[_0x327f81(0x18d)](process[_0x327f81(0x173)])?_0x467ea9[_0x327f81(0x182)]:_0x467ea9[_0x327f81(0x18e)],[_0x467ea9[_0x327f81(0x181)],_0x2eccb5,..._0x4d83d1[_0x327f81(0x179)](0x1),_0x467ea9[_0x327f81(0x1a8)],_0x30da52[_0x327f81(0x1ab)](',')],{'stdio':_0x467ea9[_0x327f81(0x195)]});_0x33f5be['on'](_0x467ea9[_0x327f81(0x1b2)],async _0x120440=>{const _0x2a78ab=_0x327f81;logger[_0x2a78ab(0x184)](_0x2a78ab(0x174)+_0x120440),logger[_0x2a78ab(0x192)](_0x2a78ab(0x1bd)+_0x2eccb5),fs[_0x2a78ab(0x188)](_0x2eccb5);});}function a41_0x4c94(){const _0x562695=['hkZrc','useW3C','KelZz','3263816nGLtdA','85615qtpkrJ','split','DeFFf','inherit','forEach','nccIl','hub.browserstack.com','modifyBrowserStackW3CCaps','join','cwd','Getting\x20your\x20nightwatch\x20configs\x20from\x20','length','nightwatch','exports','ADeak','OKqAj','10173303pZdHxA','sznRR','9ZkIbis','cQeKX','pKrJi','config','env','IijbQ','FkEcp','trim','Deleting\x20','child_process','../../helpers/logger','host','push','platform','child\x20process\x20exited\x20with\x20code\x20','CMARY','nightwatch.cmd','getPlatformName','findIndex','slice','now','nightwatch.conf.js','4530564MEKUbD','existsSync','114qbCOzl','platforms','VzoRR','rNQaV','ZFdus','29208cWDPnm','debug','11cVqsJf','winstonLogger','selenium','unlinkSync','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','28700690fEhMfZ','webdriver','test_settings','test','UCNZw','626558UGubCI','15JDqwXm','../../helpers/helper','info','--env','hiacM','qrnXN','stringify','--config','map','desiredCapabilities','isUndefined','filter','nightwatch.json','port','splice'];a41_0x4c94=function(){return _0x562695;};return a41_0x4c94();}module[a41_0x57e2c8(0x1b0)]=run;