browserstack-node-sdk 1.65.6 → 1.65.7

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 (216) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  42. package/src/bin/codeceptjs/command.js +1 -1
  43. package/src/bin/codeceptjs/helper.js +1 -1
  44. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  45. package/src/bin/cucumber-js/command.js +1 -1
  46. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  48. package/src/bin/cucumber-js/test-observability.js +1 -1
  49. package/src/bin/cucumber-js/test.setup.js +1 -1
  50. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  51. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  52. package/src/bin/integrations/command.js +1 -1
  53. package/src/bin/integrations/constants.js +1 -1
  54. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  55. package/src/bin/jasmine/command.js +1 -1
  56. package/src/bin/jasmine/test.setup.js +1 -1
  57. package/src/bin/jasmine/testRunMap.js +1 -1
  58. package/src/bin/jest/command.js +1 -1
  59. package/src/bin/jest/customImplements/customCircus.js +1 -1
  60. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  61. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  62. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  63. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  64. package/src/bin/jest/jest.setup.js +1 -1
  65. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  66. package/src/bin/jest/test-observability/helper.js +1 -1
  67. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  68. package/src/bin/jest/test-observability/test-details.js +1 -1
  69. package/src/bin/jest/test.setup.js +1 -1
  70. package/src/bin/jest/test_before.setup.js +1 -1
  71. package/src/bin/launcher/launcher.js +1 -1
  72. package/src/bin/load/index.js +1 -1
  73. package/src/bin/load/loadErrors.js +1 -1
  74. package/src/bin/load/loadUtils.js +1 -1
  75. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  76. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  77. package/src/bin/mocha/command.js +1 -1
  78. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  79. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  80. package/src/bin/mocha/test.setup.js +1 -1
  81. package/src/bin/newman/command.js +1 -1
  82. package/src/bin/newman/helper.js +1 -1
  83. package/src/bin/newman/reporter/index.js +1 -1
  84. package/src/bin/newman/scriptRunner.js +1 -1
  85. package/src/bin/nightwatch/command.js +1 -1
  86. package/src/bin/node-generic/client.js +1 -1
  87. package/src/bin/playwright/accessibility-helper.js +1 -1
  88. package/src/bin/playwright/command.js +1 -1
  89. package/src/bin/playwright/globalSetup.js +1 -1
  90. package/src/bin/playwright/mock-process.js +1 -1
  91. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  92. package/src/bin/playwright/patches.js +1 -1
  93. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  94. package/src/bin/playwright/reporter/reporter.js +1 -1
  95. package/src/bin/playwright/reporter/test-details.js +1 -1
  96. package/src/bin/playwright/reporterArgs.js +1 -1
  97. package/src/bin/playwright/sessionDetails.js +1 -1
  98. package/src/bin/puppeteer/patches.js +1 -1
  99. package/src/bin/puppeteer/sessionDetails.js +1 -1
  100. package/src/bin/puppeteer/test.setup.js +1 -1
  101. package/src/bin/runner.js +1 -1
  102. package/src/bin/setup.js +1 -1
  103. package/src/bin/test-runner/index.js +1 -1
  104. package/src/bin/test-runner/runTest.js +1 -1
  105. package/src/bin/test-runner/testWorker.js +1 -1
  106. package/src/bin/testcafe/a11y-runner.js +1 -1
  107. package/src/bin/testcafe/command.js +1 -1
  108. package/src/bin/testcafe/reporter/index.js +1 -1
  109. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  110. package/src/bin/testcafe/session-registry.js +1 -1
  111. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  112. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  113. package/src/bin/testcafe/w3c-driver.js +1 -1
  114. package/src/bin/utils/apiUtilityMethods.js +1 -1
  115. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  116. package/src/bin/utils/constants.js +1 -1
  117. package/src/bin/utils/log4jsAppender.js +1 -1
  118. package/src/bin/utils/logPatcher.js +1 -1
  119. package/src/bin/utils/logReportingAPI.js +1 -1
  120. package/src/bin/utils/playwright-patcher.js +1 -1
  121. package/src/bin/utils/puppeteer-patcher.js +1 -1
  122. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  123. package/src/bin/utils/sharedUtils.js +1 -1
  124. package/src/bin/v2/TestInfo.js +1 -1
  125. package/src/bin/v2/browserstackCLI.js +1 -1
  126. package/src/bin/v2/cliUtils.js +1 -1
  127. package/src/bin/v2/customTagManager.js +1 -1
  128. package/src/bin/v2/eventDispatcher.js +1 -1
  129. package/src/bin/v2/framework/automationFramework.js +1 -1
  130. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  131. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  132. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  133. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  134. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  135. package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
  136. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  137. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  138. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  139. package/src/bin/v2/framework/testFramework.js +1 -1
  140. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  141. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  142. package/src/bin/v2/grpcClient.js +1 -1
  143. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  144. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  145. package/src/bin/v2/instances/trackedContext.js +1 -1
  146. package/src/bin/v2/instances/trackedInstance.js +1 -1
  147. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  148. package/src/bin/v2/modules/baseModule.js +1 -1
  149. package/src/bin/v2/modules/loadTestModule.js +1 -1
  150. package/src/bin/v2/modules/observabilityModule.js +1 -1
  151. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  152. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  153. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  154. package/src/bin/v2/modules/testhubModule.js +1 -1
  155. package/src/bin/v2/sdkErrorHandler.js +1 -1
  156. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  157. package/src/bin/v2/state/hookState.js +1 -1
  158. package/src/bin/v2/state/testFrameworkState.js +1 -1
  159. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  160. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  161. package/src/bin/v2/utils/jest-utils.js +1 -1
  162. package/src/bin/vanilla-js/command.js +1 -1
  163. package/src/browserStackSdk.js +1 -1
  164. package/src/helpers/BrowserStackSetup.js +1 -1
  165. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  166. package/src/helpers/accessibility-automation/constants.js +1 -1
  167. package/src/helpers/accessibility-automation/helper.js +1 -1
  168. package/src/helpers/accessibility-automation/scripts.js +1 -1
  169. package/src/helpers/ats/constants.js +1 -1
  170. package/src/helpers/ats/helper.js +1 -1
  171. package/src/helpers/caCertHelper.js +1 -1
  172. package/src/helpers/capsMapping.js +1 -1
  173. package/src/helpers/central-scanner/constants.js +1 -1
  174. package/src/helpers/central-scanner/helpers.js +1 -1
  175. package/src/helpers/classLogger.js +1 -1
  176. package/src/helpers/driverInitErrorReporter.js +1 -1
  177. package/src/helpers/globals.js +1 -1
  178. package/src/helpers/helper.js +1 -1
  179. package/src/helpers/logger.js +1 -1
  180. package/src/helpers/metadata.js +1 -1
  181. package/src/helpers/patchHelper.js +1 -1
  182. package/src/helpers/patchHelpers.js +1 -1
  183. package/src/helpers/percy/Percy.js +1 -1
  184. package/src/helpers/percy/PercyBinary.js +1 -1
  185. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  186. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  187. package/src/helpers/percy/PercySDK.js +1 -1
  188. package/src/helpers/percy/index.js +1 -1
  189. package/src/helpers/percy/utils.js +1 -1
  190. package/src/helpers/performance/constants.js +1 -1
  191. package/src/helpers/performance/performance-tester.js +1 -1
  192. package/src/helpers/playwright-helper.js +1 -1
  193. package/src/helpers/processHelper.js +1 -1
  194. package/src/helpers/puppeteer-helper.js +1 -1
  195. package/src/helpers/request-spy.js +1 -1
  196. package/src/helpers/setKeepAlive.js +1 -1
  197. package/src/helpers/stackFrameUtils.js +1 -1
  198. package/src/helpers/test-observability/constants.js +1 -1
  199. package/src/helpers/test-observability/error-handler.js +1 -1
  200. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  201. package/src/helpers/test-observability/sessionHandler.js +1 -1
  202. package/src/helpers/test-observability/utils.js +1 -1
  203. package/src/helpers/test-orchestration/constants.js +1 -1
  204. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  205. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  206. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  207. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  208. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  209. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  210. package/src/helpers/testhub/constants.js +1 -1
  211. package/src/helpers/testhub/testhubHandler.js +1 -1
  212. package/src/helpers/testhub/utils.js +1 -1
  213. package/src/helpers/utilities.js +1 -1
  214. package/src/helpers/w3cMapping.js +1 -1
  215. package/src/hubAllocationMethods.js +1 -1
  216. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a38_0x16cf(_0xde9f90,_0x8c834c){const _0x2c0f08=a38_0x2c0f();return a38_0x16cf=function(_0x16cfd9,_0x56c3cd){_0x16cfd9=_0x16cfd9-0x121;let _0x113aad=_0x2c0f08[_0x16cfd9];return _0x113aad;},a38_0x16cf(_0xde9f90,_0x8c834c);}const a38_0x2de968=a38_0x16cf;function a38_0x2c0f(){const _0x141cd4=['filter','qzBoV','suites','oBIhl','hoHuT','hook','hook:','125955bBbKSp','TEST_PLATFORM','markedStatus','pMiHC','qlgmC','ZQYun','LteqL','get','js-','getHookSkippedTests','../../../helpers/helper','ipUdR','platformVersion','browserstack','mapTestHooks','fromEntries','GoQdZ','state','ojcNs','EslWA','188fKMDOV','parent','getHookDetails','getHooksForTest','map_','LCyBb','TyfQI','sendPlatformDetails','hmMdT','21BqkZZO','nfQqH','gRPmp','getBrowserName','7635XPMzqt','5317sJrSus','WHmVY','_afterAll','generic','concat','_beforeEach','push','10bMeKPu','getBrowserVersion','lodash','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','cFqNs','_beforeAll','unknown_grid','_afterEach','156696yUkJTo','137493yiFwHT','TsnGe','6884647lbZsLE','EYnmC','slice','../../../helpers/test-observability/utils','LlWHd','28zhDzmU','1567716uVXanp','forEach','PQqPj','WBqAn','uuid','toJSON','hookAnalyticsId','gFpXd','failed','split','pending','type','SAMxX','getPlatform','hFbuw','qFuWW','tests','../../../helpers/testhub/utils','reduce','__cloud_provider___','pid','../../../helpers/test-observability/constants','getSession','toISOString','EvIcl','emit','indexOf','PHDGw'];a38_0x2c0f=function(){return _0x141cd4;};return a38_0x2c0f();}(function(_0xea747b,_0x3ab0bc){const _0x109078=a38_0x16cf,_0x4c4282=_0xea747b();while(!![]){try{const _0x2aa7a2=parseInt(_0x109078(0x16b))/0x1*(-parseInt(_0x109078(0x125))/0x2)+-parseInt(_0x109078(0x16a))/0x3*(parseInt(_0x109078(0x15d))/0x4)+parseInt(_0x109078(0x149))/0x5+-parseInt(_0x109078(0x126))/0x6+parseInt(_0x109078(0x166))/0x7*(-parseInt(_0x109078(0x17a))/0x8)+-parseInt(_0x109078(0x17b))/0x9*(-parseInt(_0x109078(0x172))/0xa)+parseInt(_0x109078(0x17d))/0xb;if(_0x2aa7a2===_0x3ab0bc)break;else _0x4c4282['push'](_0x4c4282['shift']());}catch(_0x2799ea){_0x4c4282['push'](_0x4c4282['shift']());}}}(a38_0x2c0f,0x252b5));const {v4:uuidv4}=require(a38_0x2de968(0x12a)),{name,version}=require('../../../../package.json'),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a38_0x2de968(0x123)),{consoleHolder}=require(a38_0x2de968(0x13b)),{getPlatformVersion,isBrowserstackInfra}=require(a38_0x2de968(0x153)),{shouldProcessEventForTesthub}=require(a38_0x2de968(0x137)),{isFunction}=require(a38_0x2de968(0x174)),{patchConsoleLogger}=require(a38_0x2de968(0x123));patchConsoleLogger(),exports['getTestEnv']=()=>{const _0x4dcf3c=a38_0x2de968,_0x565821={'LteqL':_0x4dcf3c(0x16e),'cFqNs':function(_0x93d414){return _0x93d414();}};return{'ci':_0x565821[_0x4dcf3c(0x14f)],'key':_0x565821[_0x4dcf3c(0x176)](uuidv4),'version':version,'collector':_0x4dcf3c(0x151)+name};},exports[a38_0x2de968(0x15f)]=_0x51dc24=>{const _0x4dd63e=a38_0x2de968,_0x5be1ae={};_0x5be1ae['EslWA']=function(_0x8fe72,_0x577783){return _0x8fe72!==_0x577783;},_0x5be1ae[_0x4dd63e(0x141)]='string',_0x5be1ae['gQebZ']=function(_0x9afa04,_0x1918f9){return _0x9afa04!==_0x1918f9;},_0x5be1ae[_0x4dd63e(0x13e)]=_0x4dd63e(0x148),_0x5be1ae['TsnGe']=function(_0x1e580a,_0x498cb7){return _0x1e580a!==_0x498cb7;},_0x5be1ae[_0x4dd63e(0x124)]='hook';const _0x49cc7c=_0x5be1ae;if(!_0x51dc24||_0x49cc7c[_0x4dd63e(0x15c)](typeof _0x51dc24,_0x49cc7c[_0x4dd63e(0x141)]))return[null,null];if(_0x49cc7c['gQebZ'](_0x51dc24[_0x4dd63e(0x140)](_0x49cc7c[_0x4dd63e(0x13e)]),-0x1)){const _0x5bce82=_0x51dc24['split'](_0x49cc7c[_0x4dd63e(0x13e)]);return[_0x5bce82[0x0][_0x4dd63e(0x122)](0x0,-0x1)[_0x4dd63e(0x12f)]('\x22')[0x1],_0x5bce82[0x1]['substring'](0x1)];}else{if(_0x49cc7c[_0x4dd63e(0x17c)](_0x51dc24[_0x4dd63e(0x140)](_0x49cc7c[_0x4dd63e(0x124)]),-0x1)){const _0x1b9080=_0x51dc24[_0x4dd63e(0x12f)](_0x49cc7c[_0x4dd63e(0x124)]);return[_0x1b9080[0x0][_0x4dd63e(0x122)](0x0,-0x1)['split']('\x22')[0x1],_0x51dc24];}}return[null,null];},exports['getHooksForTest']=_0x5dd0e5=>{const _0x1d3e51=a38_0x2de968,_0x3721cb={'qzBoV':function(_0x222f87,_0x3ad947){return _0x222f87(_0x3ad947);},'cPVvP':_0x1d3e51(0x177),'TyfQI':_0x1d3e51(0x16d),'hFbuw':_0x1d3e51(0x170),'nfQqH':_0x1d3e51(0x179)};if(!_0x5dd0e5||!_0x5dd0e5[_0x1d3e51(0x15e)])return[];const _0x14f1a3=[];return[_0x3721cb['cPVvP'],_0x3721cb[_0x1d3e51(0x163)],_0x3721cb[_0x1d3e51(0x134)],_0x3721cb[_0x1d3e51(0x167)]]['forEach'](_0x20a53=>{const _0x25328c={'Hchux':function(_0x4ced29,_0x4ba44a){const _0x223550=a38_0x16cf;return _0x3721cb[_0x223550(0x143)](_0x4ced29,_0x4ba44a);}},_0x402390=_0x5dd0e5['parent'][_0x20a53]||[];_0x402390['forEach'](_0x5c401d=>{const _0x2c132e=a38_0x16cf;_0x5c401d['hookAnalyticsId']&&!_0x25328c['Hchux'](isInternalHook,_0x5c401d['fn'])&&_0x14f1a3[_0x2c132e(0x171)](_0x5c401d[_0x2c132e(0x12c)]);});}),[..._0x14f1a3,...exports[_0x1d3e51(0x160)](_0x5dd0e5[_0x1d3e51(0x15e)])];},exports['mapTestHooks']=_0x3c664a=>{const _0x5a824a=a38_0x2de968,_0x580a68={'hoHuT':function(_0x24aded){return _0x24aded();},'ipUdR':function(_0xf9effb,_0x5bed71){return _0xf9effb===_0x5bed71;},'sWnEQ':_0x5a824a(0x179),'gFpXd':'_beforeAll','ojcNs':'_afterAll','qlgmC':_0x5a824a(0x170)};if(!_0x3c664a||!_0x3c664a['parent'])return;[_0x580a68[_0x5a824a(0x12d)],_0x580a68[_0x5a824a(0x15b)],_0x580a68[_0x5a824a(0x14d)],_0x580a68['sWnEQ']][_0x5a824a(0x127)](_0x2bb875=>{const _0x1e8778=_0x5a824a,_0x3f2a0d=_0x3c664a[_0x1e8778(0x15e)][_0x2bb875]||[];_0x3f2a0d[_0x1e8778(0x127)](_0x3fdea3=>{const _0x1e9432=_0x1e8778;if(!_0x3fdea3[_0x1e9432(0x12c)])_0x3fdea3[_0x1e9432(0x12c)]=_0x580a68[_0x1e9432(0x146)](uuidv4);else _0x3fdea3['markedStatus']&&_0x580a68[_0x1e9432(0x154)](_0x2bb875,_0x580a68['sWnEQ'])&&(_0x3fdea3[_0x1e9432(0x12c)]=_0x580a68[_0x1e9432(0x146)](uuidv4),delete _0x3fdea3['markedStatus']);});}),exports[_0x5a824a(0x157)](_0x3c664a['parent']);},exports[a38_0x2de968(0x164)]=async(_0x47ab32,_0x4d37f1)=>{const _0x505b6f=a38_0x2de968,_0x1763f3={'WHmVY':function(_0x139277){return _0x139277();},'qFuWW':_0x505b6f(0x156),'SAMxX':function(_0x1e83e8,_0x55c794,_0x2edc1d){return _0x1e83e8(_0x55c794,_0x2edc1d);},'LCyBb':_0x505b6f(0x155),'GoQdZ':function(_0x15047e,_0x5ae2df){return _0x15047e(_0x5ae2df);},'gRPmp':function(_0xa0989,_0x10c59c){return _0xa0989===_0x10c59c;},'WBqAn':_0x505b6f(0x178),'hmMdT':_0x505b6f(0x14a)};try{if(!_0x1763f3[_0x505b6f(0x16c)](shouldProcessEventForTesthub))return;const _0x6b6996=await _0x47ab32['getCapabilities'](),_0x923bc0=await _0x47ab32[_0x505b6f(0x13c)](),_0xdf8c38={},_0x231f7d=Object[_0x505b6f(0x158)](_0x923bc0['getCapabilities']()[_0x505b6f(0x161)]),_0x333198=_0x1763f3[_0x505b6f(0x16c)](isBrowserstackInfra)?_0x1763f3[_0x505b6f(0x135)]:global[_0x505b6f(0x139)],_0x5904df={'product':_0x1763f3[_0x505b6f(0x132)](getObservabilityLinkedProductName,_0x231f7d,_0x333198),'capabilities':_0x231f7d,'platform':_0x6b6996[_0x505b6f(0x133)](),'platform_version':_0x6b6996[_0x505b6f(0x150)](_0x1763f3[_0x505b6f(0x162)])?_0x6b6996['get'](_0x1763f3['LCyBb']):_0x1763f3[_0x505b6f(0x159)](getPlatformVersion,_0x1763f3[_0x505b6f(0x168)](_0x333198,_0x1763f3[_0x505b6f(0x135)])),'browser':_0x6b6996[_0x505b6f(0x169)](),'browser_version':_0x6b6996[_0x505b6f(0x173)](),'session_id':_0x923bc0[_0x505b6f(0x12b)]()};_0x333198?_0xdf8c38[_0x333198]=_0x5904df:_0xdf8c38[_0x1763f3[_0x505b6f(0x129)]]=_0x5904df,process[_0x505b6f(0x13f)]('bs:addPlatformDetails:'+process[_0x505b6f(0x13a)],{'timestamp':new Date()[_0x505b6f(0x13d)](),'level':null,'message':null,'kind':_0x1763f3[_0x505b6f(0x165)],'http_response':_0xdf8c38,'uuid':_0x4d37f1});}catch(_0x2f798c){_0x1763f3[_0x505b6f(0x159)](debug,_0x505b6f(0x175)+_0x2f798c);}},exports[a38_0x2de968(0x152)]=_0x49f3d5=>{const _0x3167ea=a38_0x2de968,_0x17d9e1={};_0x17d9e1['ZQYun']=function(_0x33b39f,_0x32a0d9){return _0x33b39f!==_0x32a0d9;},_0x17d9e1[_0x3167ea(0x14c)]=_0x3167ea(0x147),_0x17d9e1[_0x3167ea(0x128)]='passed',_0x17d9e1[_0x3167ea(0x121)]=function(_0x1c1477,_0x5e93f4){return _0x1c1477!==_0x5e93f4;},_0x17d9e1[_0x3167ea(0x145)]=_0x3167ea(0x12e);const _0x2ecd6c=_0x17d9e1,_0x625ddd=_0x49f3d5[_0x3167ea(0x144)][_0x3167ea(0x138)]((_0x19af05,_0x172e09)=>{const _0x7af642=_0x3167ea,_0x5a6737=exports[_0x7af642(0x152)](_0x172e09);return _0x5a6737&&(_0x19af05=_0x19af05[_0x7af642(0x16f)](_0x5a6737)),_0x19af05;},[]),_0x4152aa=_0x49f3d5[_0x3167ea(0x136)][_0x3167ea(0x142)](_0x560c8b=>{const _0x26b883=_0x3167ea,_0x4cd091=_0x2ecd6c[_0x26b883(0x14e)](_0x560c8b[_0x26b883(0x131)],_0x2ecd6c[_0x26b883(0x14c)])&&!_0x560c8b[_0x26b883(0x14b)]&&_0x2ecd6c[_0x26b883(0x14e)](_0x560c8b[_0x26b883(0x15a)],_0x2ecd6c['PQqPj'])&&_0x2ecd6c[_0x26b883(0x121)](_0x560c8b['state'],_0x2ecd6c[_0x26b883(0x145)])&&!_0x560c8b[_0x26b883(0x130)];return _0x4cd091;});return _0x4152aa[_0x3167ea(0x16f)](_0x625ddd);};
1
+ const a38_0x53cc2a=a38_0xccfc;(function(_0x5b167b,_0x1aca2b){const _0x5c35d1=a38_0xccfc,_0x58efa3=_0x5b167b();while(!![]){try{const _0x3129be=-parseInt(_0x5c35d1(0xca))/0x1*(parseInt(_0x5c35d1(0xb6))/0x2)+-parseInt(_0x5c35d1(0xbc))/0x3+parseInt(_0x5c35d1(0xec))/0x4+-parseInt(_0x5c35d1(0xc3))/0x5*(-parseInt(_0x5c35d1(0xbd))/0x6)+-parseInt(_0x5c35d1(0xc9))/0x7*(parseInt(_0x5c35d1(0xcd))/0x8)+-parseInt(_0x5c35d1(0xea))/0x9*(parseInt(_0x5c35d1(0xd6))/0xa)+parseInt(_0x5c35d1(0xd3))/0xb;if(_0x3129be===_0x1aca2b)break;else _0x58efa3['push'](_0x58efa3['shift']());}catch(_0x36eb0c){_0x58efa3['push'](_0x58efa3['shift']());}}}(a38_0x358c,0x28e7d));const {v4:uuidv4}=require(a38_0x53cc2a(0xd0)),{name,version}=require(a38_0x53cc2a(0xbb)),logPatcher=require(a38_0x53cc2a(0xe7)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a38_0x53cc2a(0xe3)),{consoleHolder}=require('../../../helpers/test-observability/constants'),{getPlatformVersion,isBrowserstackInfra}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require(a38_0x53cc2a(0xb4)),{isFunction}=require(a38_0x53cc2a(0xcb)),{patchConsoleLogger}=require(a38_0x53cc2a(0xe3));patchConsoleLogger(),exports[a38_0x53cc2a(0xd5)]=()=>{const _0xf62719=a38_0x53cc2a,_0x2d0412={'dfMNz':_0xf62719(0x101),'ITNKw':function(_0x67703b){return _0x67703b();}};return{'ci':_0x2d0412[_0xf62719(0xf5)],'key':_0x2d0412['ITNKw'](uuidv4),'version':version,'collector':'js-'+name};},exports[a38_0x53cc2a(0xcc)]=_0x514d2c=>{const _0x3aaf25=a38_0x53cc2a,_0x4249ae={};_0x4249ae[_0x3aaf25(0x104)]=function(_0x209278,_0x300a98){return _0x209278!==_0x300a98;},_0x4249ae['qxmZv']='string',_0x4249ae['HGVFU']=_0x3aaf25(0xf2),_0x4249ae[_0x3aaf25(0xed)]='hook';const _0x3518b6=_0x4249ae;if(!_0x514d2c||_0x3518b6[_0x3aaf25(0x104)](typeof _0x514d2c,_0x3518b6[_0x3aaf25(0xf0)]))return[null,null];if(_0x3518b6['issGa'](_0x514d2c[_0x3aaf25(0xb9)](_0x3518b6['HGVFU']),-0x1)){const _0x280853=_0x514d2c[_0x3aaf25(0xd8)](_0x3518b6[_0x3aaf25(0x102)]);return[_0x280853[0x0]['slice'](0x0,-0x1)[_0x3aaf25(0xd8)]('\x22')[0x1],_0x280853[0x1]['substring'](0x1)];}else{if(_0x3518b6[_0x3aaf25(0x104)](_0x514d2c[_0x3aaf25(0xb9)](_0x3518b6[_0x3aaf25(0xed)]),-0x1)){const _0x22bc65=_0x514d2c[_0x3aaf25(0xd8)](_0x3518b6[_0x3aaf25(0xed)]);return[_0x22bc65[0x0][_0x3aaf25(0xd2)](0x0,-0x1)[_0x3aaf25(0xd8)]('\x22')[0x1],_0x514d2c];}}return[null,null];},exports['getHooksForTest']=_0x4d3028=>{const _0x1e896e=a38_0x53cc2a,_0x40a364={'MViYV':function(_0x5a6859,_0x471055){return _0x5a6859(_0x471055);},'ZbijV':'_beforeAll','GhbtX':_0x1e896e(0xe5),'IKVSy':'_beforeEach','LmiVh':'_afterEach'};if(!_0x4d3028||!_0x4d3028[_0x1e896e(0xe9)])return[];const _0x4fc793=[];return[_0x40a364[_0x1e896e(0xb1)],_0x40a364[_0x1e896e(0xe8)],_0x40a364[_0x1e896e(0xe0)],_0x40a364['LmiVh']]['forEach'](_0x45939d=>{const _0x22f495=_0x1e896e,_0x4062fb={'HuQDB':function(_0x198abb,_0x2a51f0){const _0xfc815e=a38_0xccfc;return _0x40a364[_0xfc815e(0xda)](_0x198abb,_0x2a51f0);}},_0x594c69=_0x4d3028['parent'][_0x45939d]||[];_0x594c69[_0x22f495(0xdb)](_0x4acae8=>{const _0x6f5260=_0x22f495;_0x4acae8[_0x6f5260(0xeb)]&&!_0x4062fb['HuQDB'](isInternalHook,_0x4acae8['fn'])&&_0x4fc793[_0x6f5260(0xbf)](_0x4acae8[_0x6f5260(0xeb)]);});}),[..._0x4fc793,...exports[_0x1e896e(0xc1)](_0x4d3028['parent'])];},exports[a38_0x53cc2a(0xb2)]=_0x110d07=>{const _0x2d8c43=a38_0x53cc2a,_0x259b84={'giNPB':function(_0x55efe8){return _0x55efe8();},'cTdIb':function(_0x3d3d17,_0x1fc320){return _0x3d3d17===_0x1fc320;},'eXkSK':'_afterEach','BgQsy':function(_0x59e8b5){return _0x59e8b5();},'CDudd':_0x2d8c43(0xfc),'tDlhR':_0x2d8c43(0xe5),'bDATq':_0x2d8c43(0xb5)};if(!_0x110d07||!_0x110d07[_0x2d8c43(0xe9)])return;[_0x259b84[_0x2d8c43(0xff)],_0x259b84[_0x2d8c43(0xd9)],_0x259b84[_0x2d8c43(0xe2)],_0x259b84[_0x2d8c43(0xc0)]][_0x2d8c43(0xdb)](_0x46570e=>{const _0x3b6998=_0x2d8c43,_0x5838a0=_0x110d07[_0x3b6998(0xe9)][_0x46570e]||[];_0x5838a0['forEach'](_0x1d5a40=>{const _0x5e4ba4=_0x3b6998;if(!_0x1d5a40[_0x5e4ba4(0xeb)])_0x1d5a40[_0x5e4ba4(0xeb)]=_0x259b84[_0x5e4ba4(0xc5)](uuidv4);else _0x1d5a40[_0x5e4ba4(0xbe)]&&_0x259b84['cTdIb'](_0x46570e,_0x259b84[_0x5e4ba4(0xc0)])&&(_0x1d5a40[_0x5e4ba4(0xeb)]=_0x259b84[_0x5e4ba4(0xf8)](uuidv4),delete _0x1d5a40[_0x5e4ba4(0xbe)]);});}),exports['mapTestHooks'](_0x110d07[_0x2d8c43(0xe9)]);},exports[a38_0x53cc2a(0xcf)]=async(_0x2d8568,_0x15c2d5)=>{const _0xa80780=a38_0x53cc2a,_0x190536={'KYIAp':function(_0x231bbb){return _0x231bbb();},'OoAFn':function(_0x15436f){return _0x15436f();},'tCKOG':_0xa80780(0xdf),'VMUid':function(_0x388039,_0x285fdb,_0x5aa090){return _0x388039(_0x285fdb,_0x5aa090);},'SJjws':_0xa80780(0xc8),'nFoQo':function(_0x200452,_0x57d7f5){return _0x200452(_0x57d7f5);},'TnJig':function(_0x45343d,_0x50343a){return _0x45343d===_0x50343a;},'EkcMJ':'unknown_grid','jPWNb':_0xa80780(0xfa),'mIsfM':function(_0x2103be,_0x4d11e3){return _0x2103be(_0x4d11e3);}};try{if(!_0x190536[_0xa80780(0x100)](shouldProcessEventForTesthub))return;const _0x5257b8=await _0x2d8568[_0xa80780(0x107)](),_0x26c6e3=await _0x2d8568[_0xa80780(0xce)](),_0x1bc24b={},_0x55e9ae=Object[_0xa80780(0xe6)](_0x26c6e3[_0xa80780(0x107)]()[_0xa80780(0x103)]),_0x463fc5=_0x190536[_0xa80780(0xdc)](isBrowserstackInfra)?_0x190536['tCKOG']:global[_0xa80780(0xef)],_0x1737c4={'product':_0x190536[_0xa80780(0x105)](getObservabilityLinkedProductName,_0x55e9ae,_0x463fc5),'capabilities':_0x55e9ae,'platform':_0x5257b8['getPlatform'](),'platform_version':_0x5257b8[_0xa80780(0xf9)](_0x190536[_0xa80780(0xc7)])?_0x5257b8[_0xa80780(0xf9)](_0x190536['SJjws']):_0x190536['nFoQo'](getPlatformVersion,_0x190536[_0xa80780(0xd7)](_0x463fc5,_0x190536[_0xa80780(0xf1)])),'browser':_0x5257b8['getBrowserName'](),'browser_version':_0x5257b8[_0xa80780(0xf4)](),'session_id':_0x26c6e3[_0xa80780(0xdd)]()};_0x463fc5?_0x1bc24b[_0x463fc5]=_0x1737c4:_0x1bc24b[_0x190536[_0xa80780(0xf6)]]=_0x1737c4,process[_0xa80780(0xe4)]('bs:addPlatformDetails:'+process[_0xa80780(0xfd)],{'timestamp':new Date()[_0xa80780(0x106)](),'level':null,'message':null,'kind':_0x190536['jPWNb'],'http_response':_0x1bc24b,'uuid':_0x15c2d5});}catch(_0x348aa4){_0x190536[_0xa80780(0xc2)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x348aa4);}},exports[a38_0x53cc2a(0xd4)]=_0x2f6664=>{const _0x5e1a1a=a38_0x53cc2a,_0x48b5e7={};_0x48b5e7[_0x5e1a1a(0xb7)]=function(_0x439d95,_0x977b67){return _0x439d95!==_0x977b67;},_0x48b5e7['ovCIT']='hook',_0x48b5e7[_0x5e1a1a(0xd1)]=function(_0x26cdd6,_0x30ad57){return _0x26cdd6!==_0x30ad57;},_0x48b5e7[_0x5e1a1a(0xfe)]=_0x5e1a1a(0xba),_0x48b5e7[_0x5e1a1a(0xe1)]=function(_0x33be66,_0x1c1e73){return _0x33be66!==_0x1c1e73;},_0x48b5e7[_0x5e1a1a(0xf3)]=_0x5e1a1a(0xf7);const _0x2f1cd4=_0x48b5e7,_0x419e83=_0x2f6664['suites'][_0x5e1a1a(0xb8)]((_0x1b93d5,_0x4b61f4)=>{const _0x3b0247=_0x5e1a1a,_0x32e6c5=exports[_0x3b0247(0xd4)](_0x4b61f4);return _0x32e6c5&&(_0x1b93d5=_0x1b93d5['concat'](_0x32e6c5)),_0x1b93d5;},[]),_0x347da2=_0x2f6664[_0x5e1a1a(0xfb)][_0x5e1a1a(0xb3)](_0x154bc4=>{const _0x45738c=_0x5e1a1a,_0x2105b6=_0x2f1cd4[_0x45738c(0xb7)](_0x154bc4[_0x45738c(0xc6)],_0x2f1cd4[_0x45738c(0xee)])&&!_0x154bc4[_0x45738c(0xbe)]&&_0x2f1cd4[_0x45738c(0xd1)](_0x154bc4[_0x45738c(0xde)],_0x2f1cd4[_0x45738c(0xfe)])&&_0x2f1cd4[_0x45738c(0xe1)](_0x154bc4['state'],_0x2f1cd4[_0x45738c(0xf3)])&&!_0x154bc4['pending'];return _0x2105b6;});return _0x347da2[_0x5e1a1a(0xc4)](_0x419e83);};function a38_0xccfc(_0x3db522,_0x521087){const _0x358c2f=a38_0x358c();return a38_0xccfc=function(_0xccfc2,_0x2403e9){_0xccfc2=_0xccfc2-0xb1;let _0x59e937=_0x358c2f[_0xccfc2];return _0x59e937;},a38_0xccfc(_0x3db522,_0x521087);}function a38_0x358c(){const _0x44f3e1=['16izWnVn','getSession','sendPlatformDetails','uuid','Khbky','slice','6028110bpyagI','getHookSkippedTests','getTestEnv','2412590fshGDL','TnJig','split','tDlhR','MViYV','forEach','OoAFn','toJSON','state','browserstack','IKVSy','WYYKw','bDATq','../../../helpers/test-observability/utils','emit','_afterAll','fromEntries','../../utils/logPatcher','GhbtX','parent','9UkaYmm','hookAnalyticsId','1245732Fwerqo','SAyKH','ovCIT','__cloud_provider___','qxmZv','tCKOG','hook:','qnCgq','getBrowserVersion','dfMNz','EkcMJ','failed','BgQsy','get','TEST_PLATFORM','tests','_beforeAll','pid','WQnzd','CDudd','KYIAp','generic','HGVFU','map_','issGa','VMUid','toISOString','getCapabilities','ZbijV','mapTestHooks','filter','../../../helpers/testhub/utils','_beforeEach','415132rWUJzb','WUgjY','reduce','indexOf','passed','../../../../package.json','499428iVOVGO','30ktuMLx','markedStatus','push','eXkSK','getHooksForTest','mIsfM','138035yuQNVL','concat','giNPB','type','SJjws','platformVersion','751198IryBmH','1ECdtXX','lodash','getHookDetails'];a38_0x358c=function(){return _0x44f3e1;};return a38_0x358c();}
@@ -1 +1 @@
1
- function a39_0x46ee(){const _0x2c4abc=['\x20|\x20','index','yYoIx','join','./test-observability/mochaUtils','app','eJNSe','2844680jFmWJc','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','dqPBM','zyDMr','percy','hxwdv','winstonLogger','Asqyf','testcase','LxNqO','MBDvf','finally','../utils/constants','getGlobal','SESSION_STATUS','457013YSQHHU','Zqhgx','PDVEA','titlePath','Accessibility\x20scan\x20completed\x20successfully','getCurrentUrl','tftdj','stringify','thBuildUuid','gpZbu','atkiO','UiyyD','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','XJZLC','JhIPu','driverCleanup','IafIc','jHMFz','command','VeLMX','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','\x20-\x20','shift','JrxHD','timeout','../../helpers/globals','isAccessibilityPlatform','QpRUB','PERFORM_SCAN','quitCount_','__platformCaps','sessionName','beforeEach','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','bstackA11yScanOptions','1202086QDZlvQ','__error_messages__','BROWSERSTACK_TESTHUB_UUID','iZPoz','__sessionFailed','564624iNOKGx','../../helpers/testhub/utils','browserstackSessionName','length','GTkNm','parse','AltKT','Failed\x20to\x20store\x20session\x20name:\x20','slIti','appium:app','CILGf','\x22}}','ieQdG','EMhtB','QshzW','nnFCR','PPPsi','cFXxA','format','../../helpers/accessibility-automation/helper','SESSION_NAME','mAyrA','isArray','message','__drivers',',\x22level\x22:\x20\x22','http:','FEXvJ','thTestRunUuid','info','Mocha','95wvzkCu','bNYUM','wEjTT','Accessibility\x20results\x20saved\x20successfully','JsUIr','CdLgo','FRWDw','BROWSERSTACK_TESTHUB_JWT','nxsMK','aozqz','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','https:','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','KHtRM','iJlgZ','testAnalyticsId','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','51888bDfBRS','YgPEi','uPRcA','wditY','Automate\x20test\x20case\x20execution\x20has\x20started.','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','EyBfD','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','pguJX','passed','../../helpers/testhub/constants','autoScanning','then','env','mocha','setGlobal','bstackA11yShouldScan','eRgdE','currentTest','fzUwS','../../helpers/logger','NPZnO','IfZEk','ObservabilitySync:','start','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','iqfdQ','hOdnF','error','shouldScanTestForAccessibility','sEJHf','Failed:\x20','ThPQk','77tuyCzb','performScanWithRetry','installAll','state','tXxtU','util','bOtcW','HbkSd','WTOYL','push','session_','BCueZ','WRWKm','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','__skipSessionName','KYcKd','SDK_HOOK','UaznL','NzmAE','afterTest','thJwtToken','executeScript','ajcNj','ruYQH','warn','qTBSw','jLgcA','GtkVD','Passed','yclbT','egkYU','IogLi','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','135092QEhvaG','YVkrK','../../helpers/performance/constants','GKpky','oODil','SYNC','measureWrapper','cYShq','end','jIpRC','afterEach','mochaHooks','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','QJVIi','yXBEk','rnglG','beforeAll','foyKT','99318uQtKgq','err','UgRJC','XeaRt','../../helpers/accessibility-automation/accessibilityRetryHelper','failed','now','driver-init\x20capture\x20install\x20failed:\x20','Ockym','startMonitoring','mIIEM','debug','PLbTu','sNePa'];a39_0x46ee=function(){return _0x2c4abc;};return a39_0x46ee();}const a39_0x2f605a=a39_0xb330;(function(_0x102833,_0x412f82){const _0x22c766=a39_0xb330,_0x531f71=_0x102833();while(!![]){try{const _0x109d72=parseInt(_0x22c766(0x242))/0x1+parseInt(_0x22c766(0x265))/0x2+parseInt(_0x22c766(0x1c9))/0x3+parseInt(_0x22c766(0x20c))/0x4*(-parseInt(_0x22c766(0x1b8))/0x5)+-parseInt(_0x22c766(0x21e))/0x6*(-parseInt(_0x22c766(0x1eb))/0x7)+-parseInt(_0x22c766(0x233))/0x8+parseInt(_0x22c766(0x26a))/0x9;if(_0x109d72===_0x412f82)break;else _0x531f71['push'](_0x531f71['shift']());}catch(_0x567ae9){_0x531f71['push'](_0x531f71['shift']());}}}(a39_0x46ee,0x4ed53));function a39_0xb330(_0x4c761d,_0x5b7916){const _0x46eec4=a39_0x46ee();return a39_0xb330=function(_0xb3302b,_0x42ea03){_0xb3302b=_0xb3302b-0x19a;let _0x384436=_0x46eec4[_0xb3302b];return _0x384436;},a39_0xb330(_0x4c761d,_0x5b7916);}const util=require(a39_0x2f605a(0x1f0)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a39_0x2f605a(0x1ac)),accessibilityRetryHelper=require(a39_0x2f605a(0x222)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a39_0x2f605a(0x23f)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a39_0x2f605a(0x230)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require('../../helpers/performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a39_0x2f605a(0x20e)),globals=require(a39_0x2f605a(0x25b)),logger=require(a39_0x2f605a(0x1de))[a39_0x2f605a(0x239)],{shouldProcessEventForTesthub}=require(a39_0x2f605a(0x19a)),testHubConstants=require(a39_0x2f605a(0x1d4));try{require('../../helpers/driverInitErrorReporter')[a39_0x2f605a(0x1ed)](a39_0x2f605a(0x1d8));}catch(a39_0xe91688){logger[a39_0x2f605a(0x229)](a39_0x2f605a(0x225)+(a39_0xe91688&&a39_0xe91688[a39_0x2f605a(0x1b0)]));}exports[a39_0x2f605a(0x217)]={'beforeAll'(){const _0x1969ae=a39_0x2f605a,_0x3420d9={'ThPQk':function(_0x58eb1e,_0x213345,_0x32f585,_0x861cb){return _0x58eb1e(_0x213345,_0x32f585,_0x861cb);},'pguJX':_0x1969ae(0x223),'WTOYL':_0x1969ae(0x22c),'CdLgo':function(_0x21f699,_0x1939a0,_0x204272){return _0x21f699(_0x1939a0,_0x204272);},'Asqyf':_0x1969ae(0x1d3),'KUdFE':function(_0x212a0f){return _0x212a0f();},'GtkVD':_0x1969ae(0x22d),'ajcNj':_0x1969ae(0x21c)};PerformanceTester[_0x1969ae(0x227)]();const _0x54f41c='browserstack internal helper hook';PerformanceTester[_0x1969ae(0x212)](PerformanceSdkEvents[_0x1969ae(0x1fb)],()=>{const _0x36583b=_0x1969ae,_0x49c69c={'JsUIr':function(_0x17cc10,_0x3b8da9,_0x668d1e,_0x313f28){const _0x5d7f42=a39_0xb330;return _0x3420d9[_0x5d7f42(0x1ea)](_0x17cc10,_0x3b8da9,_0x668d1e,_0x313f28);},'sNePa':_0x3420d9[_0x36583b(0x1d2)],'jIpRC':_0x3420d9[_0x36583b(0x1f3)],'HaHny':function(_0x4c0bb9,_0x106627,_0x219cb8){const _0x31418b=_0x36583b;return _0x3420d9[_0x31418b(0x1bd)](_0x4c0bb9,_0x106627,_0x219cb8);},'VoYbY':_0x3420d9[_0x36583b(0x23a)],'iJlgZ':function(_0x277fff){return _0x3420d9['KUdFE'](_0x277fff);}};global[_0x36583b(0x266)]=[],global[_0x36583b(0x269)]=![],global[_0x36583b(0x251)]=async()=>{const _0x12ae63=_0x36583b;let _0x135ab3=![];try{await global[_0x12ae63(0x1b1)][0x0][_0x12ae63(0x1f5)],_0x135ab3=!![],global[_0x12ae63(0x269)]?await _0x49c69c[_0x12ae63(0x1bc)](markSessionStatus,global['__drivers'][0x0],_0x49c69c[_0x12ae63(0x22b)],global[_0x12ae63(0x266)][_0x12ae63(0x22f)](_0x49c69c[_0x12ae63(0x215)])):await _0x49c69c['HaHny'](markSessionStatus,global[_0x12ae63(0x1b1)][0x0],_0x49c69c['VoYbY']);}catch(_0x56f97a){logger[_0x12ae63(0x229)](_0x12ae63(0x234)+_0x56f97a);}global['__error_messages__']=[],global[_0x12ae63(0x269)]=![];if(_0x135ab3)try{try{_0x49c69c[_0x12ae63(0x1c6)](shouldProcessEventForTesthub)&&(global[_0x12ae63(0x1b1)][0x0]&&await _0x49c69c['HaHny'](sendPlatformDetails,global[_0x12ae63(0x1b1)][0x0],this[_0x12ae63(0x1dc)]?this[_0x12ae63(0x1dc)][_0x12ae63(0x1c7)]:null));}catch(_0x34470b){logger[_0x12ae63(0x229)](_0x12ae63(0x1f8)+_0x34470b);}await global[_0x12ae63(0x1b1)][0x0]['initQuit']();}catch(_0x1b022b){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x1b022b);}};},{'platform':_0x3420d9['CdLgo'](nestedKeyValue,global[_0x1969ae(0x260)],[_0x3420d9[_0x1969ae(0x206)]]),'hookType':_0x3420d9[_0x1969ae(0x201)]})();},'beforeEach'(_0x29ecd4){const _0x4b9ee3=a39_0x2f605a,_0x5687f7={'IafIc':function(_0x4a67db){return _0x4a67db();},'pbNuw':function(_0x1547fd,_0x3f2778){return _0x1547fd>_0x3f2778;},'slIti':function(_0x7255ce,_0x1c9647){return _0x7255ce>_0x1c9647;},'BCueZ':_0x4b9ee3(0x257),'HbkSd':function(_0x3dc6d8,_0xecaa97,_0x264d29){return _0x3dc6d8(_0xecaa97,_0x264d29);},'bNYUM':function(_0x1384b4,_0x4308f4){return _0x1384b4===_0x4308f4;},'iZPoz':_0x4b9ee3(0x1da),'Ztwwa':_0x4b9ee3(0x264),'CILGf':_0x4b9ee3(0x25c),'tftdj':_0x4b9ee3(0x1b3),'UiyyD':_0x4b9ee3(0x1c3),'JrxHD':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','SzUwf':_0x4b9ee3(0x1cd),'QshzW':'browserstackTestName','IfZEk':'index','CvXZN':_0x4b9ee3(0x262)};globals[_0x4b9ee3(0x1d9)](_0x5687f7[_0x4b9ee3(0x1a7)],this[_0x4b9ee3(0x1dc)][_0x4b9ee3(0x245)]()['join'](_0x5687f7[_0x4b9ee3(0x1f6)])),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x4b9ee3(0x1fb)],()=>{const _0x4678e1=_0x4b9ee3,_0x32f7c1={'JhIPu':function(_0x49e5c1,_0x3996ca){return _0x5687f7['pbNuw'](_0x49e5c1,_0x3996ca);},'yYoIx':function(_0x1cc36f,_0x1f9c36){const _0x1d1e7e=a39_0xb330;return _0x5687f7[_0x1d1e7e(0x1a1)](_0x1cc36f,_0x1f9c36);},'UgRJC':_0x5687f7[_0x4678e1(0x1f6)],'nnFCR':function(_0x8331a1,_0x2d5690,_0x116ec9){const _0x3a01e9=_0x4678e1;return _0x5687f7[_0x3a01e9(0x1f2)](_0x8331a1,_0x2d5690,_0x116ec9);},'uPRcA':function(_0x1029db,_0x3a095e){const _0x54ac2a=_0x4678e1;return _0x5687f7[_0x54ac2a(0x1b9)](_0x1029db,_0x3a095e);},'LCcjF':_0x5687f7[_0x4678e1(0x268)],'yXBEk':_0x5687f7['Ztwwa'],'NPZnO':function(_0x113d06){const _0xa012ba=_0x4678e1;return _0x5687f7[_0xa012ba(0x252)](_0x113d06);},'gpZbu':_0x5687f7[_0x4678e1(0x1a3)],'QJVIi':_0x5687f7[_0x4678e1(0x248)],'JGjoo':function(_0x1253ff,_0x4479cf){return _0x5687f7['bNYUM'](_0x1253ff,_0x4479cf);},'KiwxG':_0x5687f7[_0x4678e1(0x24d)],'ieQdG':_0x5687f7[_0x4678e1(0x259)],'baBZe':_0x5687f7['SzUwf']},_0x9160dd='browserstack internal helper hook';new Promise(async _0x554928=>{const _0x2464c5=_0x4678e1;let _0x1ca0f6=!![];try{_0x32f7c1[_0x2464c5(0x250)](global[_0x2464c5(0x1b1)][_0x2464c5(0x19c)],0x1)&&(await global[_0x2464c5(0x251)](),global[_0x2464c5(0x1b1)][_0x2464c5(0x258)]()),_0x32f7c1[_0x2464c5(0x22e)](global[_0x2464c5(0x1b1)][0x0][_0x2464c5(0x25f)],0x0)&&(_0x1ca0f6=![],await global['driverCleanup']());}catch(_0x5a2190){logger[_0x2464c5(0x229)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x5a2190);}try{Array[_0x2464c5(0x1af)](global['__drivers'])&&global[_0x2464c5(0x1b1)][0x0]&&(global[_0x2464c5(0x1b1)][0x0][_0x2464c5(0x19b)]=this[_0x2464c5(0x1dc)][_0x2464c5(0x245)]()[_0x2464c5(0x22f)](_0x32f7c1[_0x2464c5(0x220)])),global[_0x2464c5(0x19b)]=this[_0x2464c5(0x1dc)]['titlePath']()[_0x2464c5(0x22f)](_0x32f7c1['UgRJC']);}catch(_0xc39f6b){logger[_0x2464c5(0x229)](_0x2464c5(0x1a0)+_0xc39f6b);}this[_0x2464c5(0x1dc)][_0x2464c5(0x1e7)]=_0x32f7c1[_0x2464c5(0x1a8)](shouldScanTestForAccessibility,this['currentTest'][_0x2464c5(0x245)](),!![]);let _0x3d4e9f=!![];try{const _0x32d72f=JSON[_0x2464c5(0x19e)](process[_0x2464c5(0x1d7)][_0x2464c5(0x1d1)]||'{}');_0x32f7c1[_0x2464c5(0x1cb)](_0x32d72f[_0x2464c5(0x1d5)],![])&&(_0x3d4e9f=![]);}catch(_0x1ad862){logger['debug'](_0x2464c5(0x1cf)+_0x1ad862[_0x2464c5(0x1b0)]);}const _0x13f8b4=_0x3d4e9f&&this[_0x2464c5(0x1dc)][_0x2464c5(0x1e7)];globals['setGlobal'](_0x32f7c1['LCcjF'],_0x13f8b4),globals['setGlobal'](_0x32f7c1[_0x2464c5(0x21a)],null),this[_0x2464c5(0x1dc)]['accessibilityScanStarted']=this[_0x2464c5(0x1dc)]['shouldScanTestForAccessibility'];if(_0x32f7c1[_0x2464c5(0x1df)](isAccessibilityAutomationSession)&&_0x1ca0f6&&Array[_0x2464c5(0x1af)](global[_0x2464c5(0x1b1)])&&_0x32f7c1[_0x2464c5(0x250)](global[_0x2464c5(0x1b1)][_0x2464c5(0x19c)],0x0)&&globals['getGlobal'](_0x32f7c1[_0x2464c5(0x24b)]))try{const _0x330406=await global['__drivers'][0x0]['session_'];if(_0x330406){let _0xb21b8e=!![];const _0x148ef3=await global['__drivers'][0x0][_0x2464c5(0x247)]();let _0x4292eb;try{_0x4292eb=new URL(_0x148ef3),_0xb21b8e=_0x32f7c1[_0x2464c5(0x1cb)](_0x4292eb['protocol'],_0x32f7c1[_0x2464c5(0x219)])||_0x32f7c1['JGjoo'](_0x4292eb['protocol'],_0x32f7c1['KiwxG']);}catch(_0x26ba75){_0xb21b8e=![];}_0xb21b8e&&(this[_0x2464c5(0x1dc)][_0x2464c5(0x1e7)]&&logger[_0x2464c5(0x1b6)](_0x32f7c1[_0x2464c5(0x1a5)])),this[_0x2464c5(0x1dc)]['accessibilityScanStarted']=this['currentTest'][_0x2464c5(0x1e7)],_0x13f8b4&&logger['info'](_0x32f7c1['baBZe']);}}catch(_0x2757d6){logger[_0x2464c5(0x1e6)](_0x2464c5(0x1c4)+util[_0x2464c5(0x1ab)](_0x2757d6));}_0x32f7c1[_0x2464c5(0x1df)](_0x554928);})[_0x4678e1(0x1d6)](()=>{_0x5687f7['IafIc'](_0x29ecd4);});},{'platform':_0x5687f7[_0x4b9ee3(0x1f2)](nestedKeyValue,global[_0x4b9ee3(0x260)],[_0x5687f7[_0x4b9ee3(0x1e0)]]),'hookType':_0x5687f7['CvXZN']})();},'afterEach'(_0x17786e){const _0x3d1282=a39_0x2f605a,_0x358f75={'hxwdv':function(_0x1226ee){return _0x1226ee();},'Ockym':_0x3d1282(0x257),'UUthP':function(_0x2ca2fd,_0x349293){return _0x2ca2fd!==_0x349293;},'qTBSw':'passed','AltKT':function(_0x41bfcb,_0x41b04a,_0x3d705e){return _0x41bfcb(_0x41b04a,_0x3d705e);},'VeLMX':function(_0x3d837e,_0x4342eb){return _0x3d837e+_0x4342eb;},'bSRpJ':_0x3d1282(0x1e9),'JHLDJ':_0x3d1282(0x1e6),'jLgcA':_0x3d1282(0x207),'zyDMr':_0x3d1282(0x1b6),'rnglG':function(_0x585e2c,_0x850806){return _0x585e2c>_0x850806;},'XJZLC':function(_0x320407,_0x9a050e){return _0x320407===_0x9a050e;},'egkYU':_0x3d1282(0x23b),'fzUwS':function(_0x4ad1a9,_0x1a0982){return _0x4ad1a9>_0x1a0982;},'eRgdE':_0x3d1282(0x1a2),'cYShq':function(_0x2d9186,_0x252be8,_0xaaec55,_0x28cc3f){return _0x2d9186(_0x252be8,_0xaaec55,_0x28cc3f);},'IogLi':'isAccessibilityPlatform','tXxtU':_0x3d1282(0x1e3),'mIIEM':'bstackA11yShouldScan','LxNqO':_0x3d1282(0x218),'FRWDw':_0x3d1282(0x1fe),'okzLV':_0x3d1282(0x246),'QpRUB':_0x3d1282(0x263),'bOtcW':'[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','jMDoX':_0x3d1282(0x1bb),'aozqz':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','nxsMK':_0x3d1282(0x1c8),'WiKUZ':function(_0x579671){return _0x579671();},'iqfdQ':function(_0x2cb106){return _0x2cb106();},'grsZv':_0x3d1282(0x229),'IDiXb':_0x3d1282(0x1b7),'YgPEi':_0x3d1282(0x22d),'sEJHf':_0x3d1282(0x216)},_0x7f15c8='browserstack internal helper hook';this[_0x3d1282(0x25a)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x358f75['IDiXb']]),global[_0x3d1282(0x261)]=this[_0x3d1282(0x1dc)]['titlePath']()[_0x3d1282(0x22f)](_0x358f75[_0x3d1282(0x226)]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x3d1282(0x1fb)],()=>{const _0x1697d9=_0x3d1282,_0x4d7ea3={'dqPBM':_0x358f75['Ockym'],'FEXvJ':function(_0x556894,_0x34c04a){return _0x358f75['UUthP'](_0x556894,_0x34c04a);},'KHtRM':_0x358f75[_0x1697d9(0x204)],'UIuoh':function(_0xbab6a1,_0x170932,_0x4e6757){return _0x358f75['AltKT'](_0xbab6a1,_0x170932,_0x4e6757);},'foyKT':function(_0xbab8c5,_0x10a4b0){const _0x368317=_0x1697d9;return _0x358f75[_0x368317(0x255)](_0xbab8c5,_0x10a4b0);},'wEjTT':_0x358f75['bSRpJ'],'GKpky':_0x358f75['JHLDJ'],'lEJdQ':_0x358f75[_0x1697d9(0x205)],'mAyrA':_0x358f75[_0x1697d9(0x236)],'zubNO':function(_0xc2f6d4,_0x38db2b){const _0x5ac87b=_0x1697d9;return _0x358f75[_0x5ac87b(0x21b)](_0xc2f6d4,_0x38db2b);},'NzmAE':function(_0xd6da2d,_0x356340){const _0x385a2e=_0x1697d9;return _0x358f75[_0x385a2e(0x24f)](_0xd6da2d,_0x356340);},'MBDvf':_0x358f75[_0x1697d9(0x209)],'jLMkS':function(_0x5141a5,_0x306908){const _0x2412e2=_0x1697d9;return _0x358f75[_0x2412e2(0x1dd)](_0x5141a5,_0x306908);},'eJNSe':_0x358f75[_0x1697d9(0x1db)],'WRWKm':function(_0x3fada2,_0x49b2c4,_0x17e6d1,_0x333a1e){const _0x4b920c=_0x1697d9;return _0x358f75[_0x4b920c(0x213)](_0x3fada2,_0x49b2c4,_0x17e6d1,_0x333a1e);},'TqFXj':_0x358f75[_0x1697d9(0x20a)],'atkiO':_0x358f75[_0x1697d9(0x1ef)],'UaznL':_0x358f75[_0x1697d9(0x228)],'fXKkl':_0x358f75[_0x1697d9(0x23c)],'cFXxA':_0x358f75[_0x1697d9(0x1be)],'NSVvO':_0x358f75['okzLV'],'GTkNm':_0x358f75[_0x1697d9(0x25d)],'JdOni':_0x358f75[_0x1697d9(0x1f1)],'XeaRt':_0x358f75['jMDoX'],'EyBfD':_0x358f75[_0x1697d9(0x1c1)],'EMhtB':_0x358f75[_0x1697d9(0x1c0)],'jHMFz':function(_0x1ffd64){return _0x358f75['WiKUZ'](_0x1ffd64);},'wditY':function(_0x149cf4,_0x2fbeda,_0x1a3bde){const _0x2220f7=_0x1697d9;return _0x358f75[_0x2220f7(0x19f)](_0x149cf4,_0x2fbeda,_0x1a3bde);},'MuVef':function(_0x9abd){const _0x55b978=_0x1697d9;return _0x358f75[_0x55b978(0x1e4)](_0x9abd);},'eMgqQ':_0x358f75['grsZv'],'XEDqu':function(_0x9f5b38,_0x4bcf4b){const _0x62b879=_0x1697d9;return _0x358f75[_0x62b879(0x21b)](_0x9f5b38,_0x4bcf4b);}},_0x253af2=async(_0x167749,_0x18e236)=>{const _0x15ea1c=_0x1697d9;await global['__drivers'][0x0][_0x15ea1c(0x200)](_0x15ea1c(0x256)+_0x167749+_0x15ea1c(0x1b2)+_0x18e236+_0x15ea1c(0x1a4));};new Promise(async _0x5ab305=>{const _0x5b7a59=_0x1697d9,_0x2f2d9d={'LkivJ':function(_0x2484c4,_0xd8f0e1){const _0x1224ee=a39_0xb330;return _0x4d7ea3[_0x1224ee(0x1b4)](_0x2484c4,_0xd8f0e1);},'PLbTu':_0x4d7ea3[_0x5b7a59(0x1c5)],'ruYQH':function(_0x22dfef,_0x75a765,_0x379751){return _0x4d7ea3['UIuoh'](_0x22dfef,_0x75a765,_0x379751);},'YVkrK':function(_0x530479,_0x402bd4){const _0x34897a=_0x5b7a59;return _0x4d7ea3[_0x34897a(0x21d)](_0x530479,_0x402bd4);},'yclbT':_0x4d7ea3[_0x5b7a59(0x1ba)],'PDVEA':_0x4d7ea3[_0x5b7a59(0x20f)],'pLhLb':_0x4d7ea3['lEJdQ'],'Zqhgx':_0x4d7ea3[_0x5b7a59(0x1ae)]};try{_0x4d7ea3['zubNO'](global['__drivers']['length'],0x1)&&(await global[_0x5b7a59(0x251)](),global[_0x5b7a59(0x1b1)][_0x5b7a59(0x258)](),global[_0x5b7a59(0x266)]=[],global['__sessionFailed']=![]);try{if(global[_0x5b7a59(0x237)]&&_0x4d7ea3[_0x5b7a59(0x1fd)](global['percyCaptureMode'],_0x4d7ea3[_0x5b7a59(0x23d)])&&global[_0x5b7a59(0x1b1)][0x0]){const _0x34eaf7=_0x4d7ea3['jLMkS'](global['capabilities'][_0x5b7a59(0x19c)],0x0)?!!global['capabilities'][0x0][_0x5b7a59(0x231)]||!!global['capabilities'][0x0][_0x4d7ea3[_0x5b7a59(0x232)]]:![],_0x2384be={};_0x2384be[_0x5b7a59(0x231)]=_0x34eaf7,await _0x4d7ea3[_0x5b7a59(0x1f7)](percyAutoCapture,global[_0x5b7a59(0x1b1)][0x0],_0x4d7ea3['MBDvf'],_0x2384be);}}catch(_0x40ddfb){logger[_0x5b7a59(0x229)]('Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20'+_0x40ddfb);}!global[_0x5b7a59(0x1f9)]&&(await PerformanceTester[_0x5b7a59(0x212)](PerformanceAutEvents[_0x5b7a59(0x1ad)],async()=>{const _0x52217b=_0x5b7a59;await global[_0x52217b(0x1b1)][0x0][_0x52217b(0x200)](_0x52217b(0x24e)+JSON[_0x52217b(0x249)](this[_0x52217b(0x1dc)][_0x52217b(0x245)]()[_0x52217b(0x22f)](_0x4d7ea3[_0x52217b(0x235)]))+'}}');})(),global[_0x5b7a59(0x1b1)][0x0]['sessionNameSet__']=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x5b7a59(0x241)],async()=>{const _0x36ddce=_0x5b7a59,_0x1f57b7=_0x2f2d9d['LkivJ'](this[_0x36ddce(0x1dc)][_0x36ddce(0x1ee)],_0x2f2d9d[_0x36ddce(0x22a)]);_0x1f57b7?(global[_0x36ddce(0x269)]=!![],global[_0x36ddce(0x266)][_0x36ddce(0x1f4)](this[_0x36ddce(0x1dc)][_0x36ddce(0x21f)]['message']),await _0x2f2d9d['ruYQH'](_0x253af2,JSON['stringify'](_0x2f2d9d[_0x36ddce(0x20d)](_0x2f2d9d[_0x36ddce(0x208)],this['currentTest'][_0x36ddce(0x21f)][_0x36ddce(0x1b0)])),_0x2f2d9d[_0x36ddce(0x244)])):await _0x2f2d9d[_0x36ddce(0x202)](_0x253af2,JSON[_0x36ddce(0x249)](_0x2f2d9d['pLhLb']),_0x2f2d9d[_0x36ddce(0x243)]);})();}catch(_0x1cc50c){logger[_0x5b7a59(0x229)](_0x5b7a59(0x1c2)+_0x1cc50c);}try{if(this[_0x5b7a59(0x1dc)]['accessibilityScanStarted']&&globals[_0x5b7a59(0x240)](_0x4d7ea3['TqFXj'])){logger[_0x5b7a59(0x1b6)](_0x4d7ea3[_0x5b7a59(0x24c)]);const _0x4ce537={};_0x4ce537[_0x5b7a59(0x1b5)]=this[_0x5b7a59(0x1dc)][_0x5b7a59(0x1c7)],_0x4ce537[_0x5b7a59(0x24a)]=process[_0x5b7a59(0x1d7)][testHubConstants['ENV_VAR'][_0x5b7a59(0x267)]],_0x4ce537[_0x5b7a59(0x1ff)]=process[_0x5b7a59(0x1d7)][testHubConstants['ENV_VAR'][_0x5b7a59(0x1bf)]];const _0x486704=_0x4ce537;logger[_0x5b7a59(0x229)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x5b7a59(0x249)](_0x486704));if(globals[_0x5b7a59(0x240)](_0x4d7ea3[_0x5b7a59(0x1fc)])){logger['debug'](_0x4d7ea3['fXKkl']);const _0x34bab5={};_0x34bab5[_0x5b7a59(0x254)]=_0x4d7ea3[_0x5b7a59(0x1aa)];const _0x591ade=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x5b7a59(0x25e)],async()=>{const _0x331fa4=_0x5b7a59;return await accessibilityRetryHelper[_0x331fa4(0x1ec)](global[_0x331fa4(0x1b1)][0x0],global[_0x331fa4(0x19b)]);},_0x34bab5)();_0x591ade?logger[_0x5b7a59(0x229)](_0x4d7ea3['NSVvO']):logger[_0x5b7a59(0x203)](_0x4d7ea3[_0x5b7a59(0x19d)]);}else logger[_0x5b7a59(0x229)](_0x4d7ea3['JdOni']);const _0x56115a=await PerformanceTester[_0x5b7a59(0x212)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x9f3c80=_0x5b7a59;return await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global[_0x9f3c80(0x1b1)][0x0],_0x486704);})();_0x56115a?logger[_0x5b7a59(0x229)](_0x4d7ea3[_0x5b7a59(0x221)]):logger[_0x5b7a59(0x203)](_0x4d7ea3[_0x5b7a59(0x1d0)]),logger[_0x5b7a59(0x1b6)](_0x4d7ea3[_0x5b7a59(0x1a6)]);}}catch(_0x7bb943){logger[_0x5b7a59(0x1e6)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x5b7a59(0x1dc)][_0x5b7a59(0x245)]()+'.\x20Error\x20:',_0x7bb943);}try{try{if(_0x4d7ea3[_0x5b7a59(0x253)](shouldProcessEventForTesthub)){global[_0x5b7a59(0x1b1)][0x0]&&await _0x4d7ea3[_0x5b7a59(0x1cc)](sendPlatformDetails,global[_0x5b7a59(0x1b1)][0x0],this[_0x5b7a59(0x1dc)]?this[_0x5b7a59(0x1dc)][_0x5b7a59(0x1c7)]:null);if(_0x4d7ea3['MuVef'](isBrowserstackInfra)){PerformanceTester[_0x5b7a59(0x1e2)](PerformanceO11yEvents[_0x5b7a59(0x211)]);const _0x2e7cec=_0x5b7a59(0x1e1)+Date[_0x5b7a59(0x224)]();await _0x4d7ea3['UIuoh'](_0x253af2,JSON['stringify'](_0x2e7cec),_0x4d7ea3['eMgqQ']),PerformanceTester[_0x5b7a59(0x214)](PerformanceO11yEvents[_0x5b7a59(0x211)]);}}}catch(_0x2a09f4){logger['debug'](_0x5b7a59(0x20b)+_0x2a09f4),PerformanceTester[_0x5b7a59(0x214)](PerformanceO11yEvents[_0x5b7a59(0x211)],![],_0x2a09f4);}_0x4d7ea3['XEDqu'](global[_0x5b7a59(0x1b1)][0x0][_0x5b7a59(0x25f)],0x0)&&await global[_0x5b7a59(0x251)]();}catch(_0x50b8e6){logger[_0x5b7a59(0x229)](_0x5b7a59(0x1ce)+_0x50b8e6);}_0x4d7ea3[_0x5b7a59(0x253)](_0x5ab305);})[_0x1697d9(0x1d6)](()=>{const _0x157dce=_0x1697d9;_0x358f75[_0x157dce(0x238)](_0x17786e);});},{'platform':_0x358f75[_0x3d1282(0x19f)](nestedKeyValue,global[_0x3d1282(0x260)],[_0x358f75[_0x3d1282(0x1ca)]]),'hookType':_0x358f75[_0x3d1282(0x1e8)]})();},'afterAll'(_0x17e8fa){const _0x444ce4=a39_0x2f605a,_0x380e2b={'KYcKd':function(_0x4c226d){return _0x4c226d();},'oODil':function(_0x331e78){return _0x331e78();},'JWMyT':'Mocha','PPPsi':function(_0x15f225,_0x42d166,_0x41666c){return _0x15f225(_0x42d166,_0x41666c);},'hOdnF':_0x444ce4(0x22d),'EyqHz':'afterAll'},_0x15ab20='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x380e2b['JWMyT']]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x444ce4(0x1fb)],()=>{const _0x36358c=_0x444ce4;new Promise(async _0x3f1a56=>{const _0x2c3d6b=a39_0xb330;await global[_0x2c3d6b(0x251)](),_0x380e2b[_0x2c3d6b(0x1fa)](_0x3f1a56);})[_0x36358c(0x1d6)]()[_0x36358c(0x23e)](()=>{const _0x4261f6=_0x36358c;_0x380e2b[_0x4261f6(0x210)](_0x17e8fa);});},{'platform':_0x380e2b[_0x444ce4(0x1a9)](nestedKeyValue,global['__platformCaps'],[_0x380e2b[_0x444ce4(0x1e5)]]),'hookType':_0x380e2b['EyqHz']})();}};
1
+ const a39_0x4b157f=a39_0x1610;function a39_0x1610(_0x10b467,_0x57902f){const _0x545eb3=a39_0x545e();return a39_0x1610=function(_0x161015,_0x534ff1){_0x161015=_0x161015-0x16e;let _0x200ff3=_0x545eb3[_0x161015];return _0x200ff3;},a39_0x1610(_0x10b467,_0x57902f);}(function(_0x206b29,_0x5350c4){const _0x4f15ad=a39_0x1610,_0x1a43a4=_0x206b29();while(!![]){try{const _0x2782ca=parseInt(_0x4f15ad(0x171))/0x1+parseInt(_0x4f15ad(0x1e3))/0x2+parseInt(_0x4f15ad(0x1d8))/0x3*(-parseInt(_0x4f15ad(0x202))/0x4)+-parseInt(_0x4f15ad(0x214))/0x5+-parseInt(_0x4f15ad(0x192))/0x6+-parseInt(_0x4f15ad(0x1c2))/0x7*(parseInt(_0x4f15ad(0x1b3))/0x8)+parseInt(_0x4f15ad(0x221))/0x9;if(_0x2782ca===_0x5350c4)break;else _0x1a43a4['push'](_0x1a43a4['shift']());}catch(_0x44ff1e){_0x1a43a4['push'](_0x1a43a4['shift']());}}}(a39_0x545e,0x681c6));const util=require(a39_0x4b157f(0x20d)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a39_0x4b157f(0x1cc)),accessibilityRetryHelper=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a39_0x4b157f(0x1f9)),{percyAutoCapture}=require(a39_0x4b157f(0x174)),{sendPlatformDetails}=require(a39_0x4b157f(0x232)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require('../../helpers/performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a39_0x4b157f(0x207)),globals=require(a39_0x4b157f(0x1f6)),logger=require(a39_0x4b157f(0x19d))[a39_0x4b157f(0x1b2)],{shouldProcessEventForTesthub}=require(a39_0x4b157f(0x1ac)),testHubConstants=require(a39_0x4b157f(0x172));try{require(a39_0x4b157f(0x1d2))[a39_0x4b157f(0x189)](a39_0x4b157f(0x22d));}catch(a39_0x3a623){logger[a39_0x4b157f(0x21d)](a39_0x4b157f(0x1e2)+(a39_0x3a623&&a39_0x3a623[a39_0x4b157f(0x18d)]));}exports[a39_0x4b157f(0x16f)]={'beforeAll'(){const _0xd098e6=a39_0x4b157f,_0x25dbc4={'CTJeK':function(_0xe638e2,_0x2da198,_0x24e630,_0x3611c7){return _0xe638e2(_0x2da198,_0x24e630,_0x3611c7);},'pVwop':_0xd098e6(0x199),'QXszJ':_0xd098e6(0x1a6),'YaNwf':function(_0x3bdb4e,_0x1b76bf,_0x357546){return _0x3bdb4e(_0x1b76bf,_0x357546);},'uPgBy':_0xd098e6(0x1c5),'dCTOp':function(_0x1230fe){return _0x1230fe();},'rVnzD':function(_0x1abee6,_0x5d9987,_0x2a1245){return _0x1abee6(_0x5d9987,_0x2a1245);},'ctVut':_0xd098e6(0x183),'TmTpo':_0xd098e6(0x21f)};PerformanceTester[_0xd098e6(0x222)]();const _0x5a26d1='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0xd098e6(0x21c)],()=>{const _0x1ce897=_0xd098e6;global['__error_messages__']=[],global[_0x1ce897(0x1b5)]=![],global[_0x1ce897(0x18a)]=async()=>{const _0x3b5570=_0x1ce897;let _0x1ee5b3=![];try{await global[_0x3b5570(0x1de)][0x0][_0x3b5570(0x1e7)],_0x1ee5b3=!![],global[_0x3b5570(0x1b5)]?await _0x25dbc4[_0x3b5570(0x212)](markSessionStatus,global[_0x3b5570(0x1de)][0x0],_0x25dbc4[_0x3b5570(0x1da)],global[_0x3b5570(0x1a3)]['join'](_0x25dbc4[_0x3b5570(0x208)])):await _0x25dbc4[_0x3b5570(0x225)](markSessionStatus,global[_0x3b5570(0x1de)][0x0],_0x25dbc4[_0x3b5570(0x213)]);}catch(_0x4f99e7){logger['debug'](_0x3b5570(0x1cd)+_0x4f99e7);}global[_0x3b5570(0x1a3)]=[],global['__sessionFailed']=![];if(_0x1ee5b3)try{try{_0x25dbc4[_0x3b5570(0x1d7)](shouldProcessEventForTesthub)&&(global[_0x3b5570(0x1de)][0x0]&&await _0x25dbc4[_0x3b5570(0x1eb)](sendPlatformDetails,global['__drivers'][0x0],this[_0x3b5570(0x1fb)]?this[_0x3b5570(0x1fb)][_0x3b5570(0x19c)]:null));}catch(_0x38a949){logger[_0x3b5570(0x21d)]('Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20'+_0x38a949);}await global[_0x3b5570(0x1de)][0x0][_0x3b5570(0x231)]();}catch(_0x3fe7a5){logger[_0x3b5570(0x21d)](_0x3b5570(0x1db)+_0x3fe7a5);}};},{'platform':_0x25dbc4[_0xd098e6(0x1eb)](nestedKeyValue,global[_0xd098e6(0x17f)],[_0x25dbc4[_0xd098e6(0x1d0)]]),'hookType':_0x25dbc4[_0xd098e6(0x1f8)]})();},'beforeEach'(_0x1a5bf1){const _0x2edc52=a39_0x4b157f,_0x1f8982={'dhtZM':function(_0x48db5e,_0x1e9adc){return _0x48db5e>_0x1e9adc;},'fcEAq':_0x2edc52(0x21b),'vFcnu':function(_0x2a45ec,_0x176d35,_0x2b4725){return _0x2a45ec(_0x176d35,_0x2b4725);},'FTQkQ':function(_0x335df4,_0x16b1a1){return _0x335df4===_0x16b1a1;},'LkCrk':'bstackA11yShouldScan','TnJWr':_0x2edc52(0x17c),'DMCRV':function(_0x165a24){return _0x165a24();},'aLBar':function(_0x439de5,_0x524474){return _0x439de5>_0x524474;},'GGfVO':_0x2edc52(0x1a2),'naxnb':_0x2edc52(0x227),'tAtML':_0x2edc52(0x233),'YuvoD':_0x2edc52(0x1ef),'evGpo':_0x2edc52(0x223),'srEnZ':function(_0x125a43){return _0x125a43();},'MxWdP':_0x2edc52(0x1bc),'vlTDa':function(_0x26875c,_0x299903,_0x160ac8){return _0x26875c(_0x299903,_0x160ac8);},'cnfyn':_0x2edc52(0x183),'pFrbN':_0x2edc52(0x216)};globals['setGlobal'](_0x1f8982[_0x2edc52(0x196)],this[_0x2edc52(0x1fb)][_0x2edc52(0x195)]()[_0x2edc52(0x1fa)](_0x1f8982['fcEAq'])),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x2edc52(0x21c)],()=>{const _0x174011=_0x2edc52,_0x203397='browserstack internal helper hook';new Promise(async _0x10cf39=>{const _0x22ce84=a39_0x1610;let _0xf912ce=!![];try{_0x1f8982[_0x22ce84(0x1b0)](global[_0x22ce84(0x1de)]['length'],0x1)&&(await global[_0x22ce84(0x18a)](),global[_0x22ce84(0x1de)][_0x22ce84(0x1a9)]()),_0x1f8982[_0x22ce84(0x1b0)](global[_0x22ce84(0x1de)][0x0][_0x22ce84(0x1f4)],0x0)&&(_0xf912ce=![],await global[_0x22ce84(0x18a)]());}catch(_0x1b26c8){logger[_0x22ce84(0x21d)](_0x22ce84(0x1db)+_0x1b26c8);}try{Array[_0x22ce84(0x1bb)](global[_0x22ce84(0x1de)])&&global['__drivers'][0x0]&&(global[_0x22ce84(0x1de)][0x0][_0x22ce84(0x1e9)]=this[_0x22ce84(0x1fb)][_0x22ce84(0x195)]()[_0x22ce84(0x1fa)](_0x1f8982['fcEAq'])),global[_0x22ce84(0x1e9)]=this[_0x22ce84(0x1fb)][_0x22ce84(0x195)]()[_0x22ce84(0x1fa)](_0x1f8982[_0x22ce84(0x1fc)]);}catch(_0xe690c7){logger['debug'](_0x22ce84(0x226)+_0xe690c7);}this[_0x22ce84(0x1fb)]['shouldScanTestForAccessibility']=_0x1f8982[_0x22ce84(0x1a4)](shouldScanTestForAccessibility,this['currentTest'][_0x22ce84(0x195)](),!![]);let _0x37b002=!![];try{const _0x50549e=JSON['parse'](process[_0x22ce84(0x1ea)][_0x22ce84(0x1ad)]||'{}');_0x1f8982[_0x22ce84(0x173)](_0x50549e[_0x22ce84(0x1b4)],![])&&(_0x37b002=![]);}catch(_0x320e3e){logger[_0x22ce84(0x21d)]('Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20'+_0x320e3e[_0x22ce84(0x18d)]);}const _0x34dd16=_0x37b002&&this[_0x22ce84(0x1fb)][_0x22ce84(0x219)];globals['setGlobal'](_0x1f8982[_0x22ce84(0x1f2)],_0x34dd16),globals[_0x22ce84(0x1a7)](_0x1f8982[_0x22ce84(0x1b9)],null),this[_0x22ce84(0x1fb)][_0x22ce84(0x1bd)]=this['currentTest']['shouldScanTestForAccessibility'];if(_0x1f8982[_0x22ce84(0x17b)](isAccessibilityAutomationSession)&&_0xf912ce&&Array['isArray'](global['__drivers'])&&_0x1f8982[_0x22ce84(0x229)](global[_0x22ce84(0x1de)][_0x22ce84(0x228)],0x0)&&globals[_0x22ce84(0x22e)](_0x1f8982[_0x22ce84(0x1e0)]))try{const _0x9db899=await global['__drivers'][0x0][_0x22ce84(0x1e7)];if(_0x9db899){let _0x4b565e=!![];const _0x4c8e9c=await global[_0x22ce84(0x1de)][0x0][_0x22ce84(0x20c)]();let _0x36ed0b;try{_0x36ed0b=new URL(_0x4c8e9c),_0x4b565e=_0x1f8982[_0x22ce84(0x173)](_0x36ed0b[_0x22ce84(0x1d9)],_0x1f8982[_0x22ce84(0x200)])||_0x1f8982['FTQkQ'](_0x36ed0b[_0x22ce84(0x1d9)],_0x1f8982['tAtML']);}catch(_0x4ff587){_0x4b565e=![];}_0x4b565e&&(this[_0x22ce84(0x1fb)]['shouldScanTestForAccessibility']&&logger['info'](_0x1f8982['YuvoD'])),this[_0x22ce84(0x1fb)][_0x22ce84(0x1bd)]=this['currentTest'][_0x22ce84(0x219)],_0x34dd16&&logger[_0x22ce84(0x178)](_0x1f8982[_0x22ce84(0x1a8)]);}}catch(_0x583adf){logger[_0x22ce84(0x190)](_0x22ce84(0x1c6)+util[_0x22ce84(0x181)](_0x583adf));}_0x1f8982[_0x22ce84(0x1dd)](_0x10cf39);})[_0x174011(0x16e)](()=>{_0x1f8982['srEnZ'](_0x1a5bf1);});},{'platform':_0x1f8982[_0x2edc52(0x1ab)](nestedKeyValue,global[_0x2edc52(0x17f)],[_0x1f8982[_0x2edc52(0x1af)]]),'hookType':_0x1f8982[_0x2edc52(0x1b8)]})();},'afterEach'(_0x2bfefc){const _0x1a5b3c=a39_0x4b157f,_0x123f6e={'aPjbC':function(_0x299e98,_0x580c2c){return _0x299e98!==_0x580c2c;},'YRdvM':_0x1a5b3c(0x1c5),'qDcIp':function(_0xf57805,_0x11e0e6,_0x547b78){return _0xf57805(_0x11e0e6,_0x547b78);},'NzSFa':function(_0x158672,_0x58d477){return _0x158672+_0x58d477;},'PHGbB':'Failed:\x20','JZwDE':_0x1a5b3c(0x190),'GfeXv':'Passed','DKmry':_0x1a5b3c(0x178),'PqMCf':_0x1a5b3c(0x21b),'ozDWM':function(_0x51175c,_0x2334f4){return _0x51175c>_0x2334f4;},'nTImx':function(_0x3330ef,_0x324872){return _0x3330ef===_0x324872;},'vaESx':_0x1a5b3c(0x1ce),'FYQOd':_0x1a5b3c(0x22f),'XaJKg':function(_0x6ce62f,_0x5be7c5,_0xcb0283,_0x33c074){return _0x6ce62f(_0x5be7c5,_0xcb0283,_0x33c074);},'HjbQF':_0x1a5b3c(0x1a2),'YZopU':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','YYemJ':_0x1a5b3c(0x1c0),'FQlPj':_0x1a5b3c(0x1c8),'CWEAz':_0x1a5b3c(0x1e5),'pWbpW':'Accessibility\x20scan\x20completed\x20successfully','YgDAy':_0x1a5b3c(0x19e),'hbMRj':_0x1a5b3c(0x20f),'fhPqN':_0x1a5b3c(0x1f0),'qRJoZ':_0x1a5b3c(0x1c9),'IpCXh':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','blULb':function(_0x2d0e6a){return _0x2d0e6a();},'wsdfz':_0x1a5b3c(0x21d),'dQywe':function(_0x5cbe55,_0x2e9607){return _0x5cbe55>_0x2e9607;},'dqtxy':'Mocha','zViSb':function(_0x22a7f2,_0x5aa663,_0x5588c2){return _0x22a7f2(_0x5aa663,_0x5588c2);},'BeknL':_0x1a5b3c(0x183),'YFhos':_0x1a5b3c(0x1e6)},_0x128684='browserstack internal helper hook';this[_0x1a5b3c(0x176)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x123f6e[_0x1a5b3c(0x18b)]]),global[_0x1a5b3c(0x1a0)]=this[_0x1a5b3c(0x1fb)][_0x1a5b3c(0x195)]()[_0x1a5b3c(0x1fa)](_0x123f6e[_0x1a5b3c(0x20b)]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x1a5b3c(0x21c)],()=>{const _0x44875b=_0x1a5b3c,_0x312ff4={'WLyay':function(_0x402afe,_0x24b8ea){const _0x537ca2=a39_0x1610;return _0x123f6e[_0x537ca2(0x204)](_0x402afe,_0x24b8ea);},'cwWuE':_0x123f6e[_0x44875b(0x198)],'TYlOa':function(_0x599928,_0x493984,_0x1d6ba9){const _0x50c3cb=_0x44875b;return _0x123f6e[_0x50c3cb(0x1a5)](_0x599928,_0x493984,_0x1d6ba9);},'Wizhj':function(_0x190944,_0x4174a6){const _0x22bc55=_0x44875b;return _0x123f6e[_0x22bc55(0x20a)](_0x190944,_0x4174a6);},'SeKDz':_0x123f6e[_0x44875b(0x1fe)],'fJfzo':_0x123f6e['JZwDE'],'jzzcN':_0x123f6e[_0x44875b(0x1d3)],'QAliM':_0x123f6e[_0x44875b(0x185)],'sHcYW':_0x123f6e[_0x44875b(0x20b)],'bzwse':function(_0x1d55fd,_0x42bd37){return _0x123f6e['ozDWM'](_0x1d55fd,_0x42bd37);},'sOADV':function(_0x5dd31d,_0x12205e){return _0x123f6e['nTImx'](_0x5dd31d,_0x12205e);},'TaRfl':_0x123f6e[_0x44875b(0x218)],'Htysg':_0x123f6e[_0x44875b(0x209)],'STpSm':function(_0x9a873e,_0x1d85be,_0x4fca9a,_0x2309dc){return _0x123f6e['XaJKg'](_0x9a873e,_0x1d85be,_0x4fca9a,_0x2309dc);},'msjee':_0x123f6e['HjbQF'],'tQqnI':_0x123f6e[_0x44875b(0x175)],'nZclm':_0x123f6e['YYemJ'],'cxHpe':_0x123f6e['FQlPj'],'qCSQr':_0x123f6e[_0x44875b(0x201)],'mLgXD':_0x123f6e[_0x44875b(0x17d)],'GjRSh':_0x123f6e[_0x44875b(0x1c4)],'VhmKZ':_0x123f6e[_0x44875b(0x17e)],'xegea':_0x123f6e['fhPqN'],'Mevbq':_0x123f6e[_0x44875b(0x1bf)],'JubMt':_0x123f6e[_0x44875b(0x184)],'VrSdV':function(_0x3f11f7){const _0x2fdf74=_0x44875b;return _0x123f6e[_0x2fdf74(0x1b1)](_0x3f11f7);},'hvpDz':function(_0x2b656d){const _0x14d3b2=_0x44875b;return _0x123f6e[_0x14d3b2(0x1b1)](_0x2b656d);},'iOtHp':_0x123f6e[_0x44875b(0x1b7)],'zgCQu':function(_0x4b12a2,_0x14aad5){const _0x5e068b=_0x44875b;return _0x123f6e[_0x5e068b(0x1d4)](_0x4b12a2,_0x14aad5);}},_0x3a2a12=async(_0xa6271,_0x5000a5)=>{const _0x32ef8b=_0x44875b;await global[_0x32ef8b(0x1de)][0x0]['executeScript'](_0x32ef8b(0x187)+_0xa6271+_0x32ef8b(0x1ff)+_0x5000a5+'\x22}}');};new Promise(async _0x89efb6=>{const _0xd96e3f=_0x44875b,_0x2dd5fe={};_0x2dd5fe[_0xd96e3f(0x1f7)]=_0x312ff4['sHcYW'];const _0x26c3ca=_0x2dd5fe;try{_0x312ff4[_0xd96e3f(0x1c7)](global['__drivers']['length'],0x1)&&(await global['driverCleanup'](),global[_0xd96e3f(0x1de)]['shift'](),global[_0xd96e3f(0x1a3)]=[],global[_0xd96e3f(0x1b5)]=![]);try{if(global[_0xd96e3f(0x1e1)]&&_0x312ff4[_0xd96e3f(0x224)](global[_0xd96e3f(0x180)],_0x312ff4[_0xd96e3f(0x21e)])&&global['__drivers'][0x0]){const _0x4432e3=_0x312ff4['bzwse'](global[_0xd96e3f(0x18e)][_0xd96e3f(0x228)],0x0)?!!global['capabilities'][0x0][_0xd96e3f(0x1cf)]||!!global[_0xd96e3f(0x18e)][0x0][_0x312ff4[_0xd96e3f(0x1f5)]]:![],_0x24af0c={};_0x24af0c['app']=_0x4432e3,await _0x312ff4[_0xd96e3f(0x220)](percyAutoCapture,global[_0xd96e3f(0x1de)][0x0],_0x312ff4['TaRfl'],_0x24af0c);}}catch(_0xb48afe){logger[_0xd96e3f(0x21d)](_0xd96e3f(0x206)+_0xb48afe);}!global[_0xd96e3f(0x203)]&&(await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0xd96e3f(0x19b)],async()=>{const _0x3236d2=_0xd96e3f;await global[_0x3236d2(0x1de)][0x0][_0x3236d2(0x191)](_0x3236d2(0x194)+JSON[_0x3236d2(0x1fd)](this[_0x3236d2(0x1fb)][_0x3236d2(0x195)]()['join'](_0x26c3ca[_0x3236d2(0x1f7)]))+'}}');})(),global[_0xd96e3f(0x1de)][0x0][_0xd96e3f(0x1e8)]=!![]),await PerformanceTester[_0xd96e3f(0x22c)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x2025a2=_0xd96e3f,_0x5b3dcb=_0x312ff4[_0x2025a2(0x1ba)](this[_0x2025a2(0x1fb)][_0x2025a2(0x1dc)],_0x312ff4['cwWuE']);_0x5b3dcb?(global[_0x2025a2(0x1b5)]=!![],global['__error_messages__'][_0x2025a2(0x211)](this[_0x2025a2(0x1fb)][_0x2025a2(0x186)][_0x2025a2(0x18d)]),await _0x312ff4['TYlOa'](_0x3a2a12,JSON[_0x2025a2(0x1fd)](_0x312ff4[_0x2025a2(0x210)](_0x312ff4[_0x2025a2(0x234)],this[_0x2025a2(0x1fb)][_0x2025a2(0x186)][_0x2025a2(0x18d)])),_0x312ff4[_0x2025a2(0x1f1)])):await _0x312ff4[_0x2025a2(0x1d1)](_0x3a2a12,JSON[_0x2025a2(0x1fd)](_0x312ff4['jzzcN']),_0x312ff4[_0x2025a2(0x20e)]);})();}catch(_0x5b82d0){logger['debug'](_0xd96e3f(0x205)+_0x5b82d0);}try{if(this[_0xd96e3f(0x1fb)][_0xd96e3f(0x1bd)]&&globals[_0xd96e3f(0x22e)](_0x312ff4['msjee'])){logger[_0xd96e3f(0x178)](_0x312ff4[_0xd96e3f(0x1aa)]);const _0x57bfed={};_0x57bfed[_0xd96e3f(0x17a)]=this[_0xd96e3f(0x1fb)][_0xd96e3f(0x19c)],_0x57bfed['thBuildUuid']=process[_0xd96e3f(0x1ea)][testHubConstants[_0xd96e3f(0x1e4)]['BROWSERSTACK_TESTHUB_UUID']],_0x57bfed[_0xd96e3f(0x22b)]=process[_0xd96e3f(0x1ea)][testHubConstants[_0xd96e3f(0x1e4)]['BROWSERSTACK_TESTHUB_JWT']];const _0x1bfb39=_0x57bfed;logger[_0xd96e3f(0x21d)](_0xd96e3f(0x22a)+JSON[_0xd96e3f(0x1fd)](_0x1bfb39));if(globals[_0xd96e3f(0x22e)](_0x312ff4[_0xd96e3f(0x170)])){logger[_0xd96e3f(0x21d)](_0x312ff4[_0xd96e3f(0x19f)]);const _0x474dfe={};_0x474dfe[_0xd96e3f(0x1be)]=_0x312ff4['qCSQr'];const _0xd40f82=await PerformanceTester[_0xd96e3f(0x22c)](PerformanceA11yEvents[_0xd96e3f(0x197)],async()=>{const _0x1934e6=_0xd96e3f;return await accessibilityRetryHelper[_0x1934e6(0x177)](global[_0x1934e6(0x1de)][0x0],global['browserstackSessionName']);},_0x474dfe)();_0xd40f82?logger[_0xd96e3f(0x21d)](_0x312ff4['mLgXD']):logger[_0xd96e3f(0x1d6)](_0x312ff4[_0xd96e3f(0x1c3)]);}else logger[_0xd96e3f(0x21d)](_0x312ff4['VhmKZ']);const _0x5b9c4b=await PerformanceTester[_0xd96e3f(0x22c)](PerformanceA11yEvents[_0xd96e3f(0x1cb)],async()=>{const _0x12a65e=_0xd96e3f;return await accessibilityRetryHelper[_0x12a65e(0x1d5)](global[_0x12a65e(0x1de)][0x0],_0x1bfb39);})();_0x5b9c4b?logger[_0xd96e3f(0x21d)](_0x312ff4['xegea']):logger[_0xd96e3f(0x1d6)](_0x312ff4[_0xd96e3f(0x1ec)]),logger[_0xd96e3f(0x178)](_0x312ff4['JubMt']);}}catch(_0x19512e){logger[_0xd96e3f(0x190)](_0xd96e3f(0x1ed)+this[_0xd96e3f(0x1fb)][_0xd96e3f(0x195)]()+'.\x20Error\x20:',_0x19512e);}try{try{if(_0x312ff4[_0xd96e3f(0x1f3)](shouldProcessEventForTesthub)){global[_0xd96e3f(0x1de)][0x0]&&await _0x312ff4[_0xd96e3f(0x1d1)](sendPlatformDetails,global[_0xd96e3f(0x1de)][0x0],this[_0xd96e3f(0x1fb)]?this['currentTest'][_0xd96e3f(0x19c)]:null);if(_0x312ff4[_0xd96e3f(0x182)](isBrowserstackInfra)){PerformanceTester[_0xd96e3f(0x1ae)](PerformanceO11yEvents[_0xd96e3f(0x1ca)]);const _0x5671fc=_0xd96e3f(0x1ee)+Date[_0xd96e3f(0x230)]();await _0x312ff4[_0xd96e3f(0x1d1)](_0x3a2a12,JSON[_0xd96e3f(0x1fd)](_0x5671fc),_0x312ff4[_0xd96e3f(0x21a)]),PerformanceTester[_0xd96e3f(0x18c)](PerformanceO11yEvents[_0xd96e3f(0x1ca)]);}}}catch(_0x9964c5){logger[_0xd96e3f(0x21d)](_0xd96e3f(0x1b6)+_0x9964c5),PerformanceTester[_0xd96e3f(0x18c)](PerformanceO11yEvents[_0xd96e3f(0x1ca)],![],_0x9964c5);}_0x312ff4['zgCQu'](global[_0xd96e3f(0x1de)][0x0]['quitCount_'],0x0)&&await global[_0xd96e3f(0x18a)]();}catch(_0x6dce56){logger[_0xd96e3f(0x21d)](_0xd96e3f(0x1db)+_0x6dce56);}_0x312ff4[_0xd96e3f(0x182)](_0x89efb6);})[_0x44875b(0x16e)](()=>{const _0x4518fb=_0x44875b;_0x312ff4[_0x4518fb(0x182)](_0x2bfefc);});},{'platform':_0x123f6e[_0x1a5b3c(0x217)](nestedKeyValue,global[_0x1a5b3c(0x17f)],[_0x123f6e[_0x1a5b3c(0x18f)]]),'hookType':_0x123f6e[_0x1a5b3c(0x188)]})();},'afterAll'(_0x546212){const _0x300fa8=a39_0x4b157f,_0x1465f3={'Eanvo':function(_0x1d38d1){return _0x1d38d1();},'uNrbv':_0x300fa8(0x1a1),'NfFoA':function(_0xef93fc,_0x16e813,_0x437801){return _0xef93fc(_0x16e813,_0x437801);},'wIWVt':_0x300fa8(0x183),'AeyyP':'afterAll'},_0x26d542='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x1465f3[_0x300fa8(0x215)]]),PerformanceTester[_0x300fa8(0x22c)](PerformanceSdkEvents[_0x300fa8(0x21c)],()=>{const _0x3c61ee=_0x300fa8,_0x40664a={'cEjgp':function(_0x1eae21){const _0x4b91f5=a39_0x1610;return _0x1465f3[_0x4b91f5(0x193)](_0x1eae21);},'fCfan':function(_0x198569){return _0x1465f3['Eanvo'](_0x198569);}};new Promise(async _0x304434=>{const _0x1ab710=a39_0x1610;await global[_0x1ab710(0x18a)](),_0x40664a[_0x1ab710(0x1c1)](_0x304434);})[_0x3c61ee(0x16e)]()['finally'](()=>{const _0x374138=_0x3c61ee;_0x40664a[_0x374138(0x19a)](_0x546212);});},{'platform':_0x1465f3[_0x300fa8(0x1df)](nestedKeyValue,global[_0x300fa8(0x17f)],[_0x1465f3[_0x300fa8(0x179)]]),'hookType':_0x1465f3['AeyyP']})();}};function a39_0x545e(){const _0x467c12=['Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','../../helpers/performance/constants','QXszJ','FYQOd','NzSFa','PqMCf','getCurrentUrl','util','QAliM','[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','Wizhj','push','CTJeK','uPgBy','1023220uxAekq','uNrbv','beforeEach','zViSb','vaESx','shouldScanTestForAccessibility','iOtHp','\x20-\x20','SDK_HOOK','debug','TaRfl','beforeAll','STpSm','9470844EOMAKY','startMonitoring','Automate\x20test\x20case\x20execution\x20has\x20started.','sOADV','YaNwf','Failed\x20to\x20store\x20session\x20name:\x20','http:','length','aLBar','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','thJwtToken','measureWrapper','mocha','getGlobal','appium:app','now','initQuit','./test-observability/mochaUtils','https:','SeKDz','then','mochaHooks','nZclm','641291pRfOZv','../../helpers/testhub/constants','FTQkQ','../../helpers/percy/utils','YZopU','timeout','performScanWithRetry','info','wIWVt','thTestRunUuid','DMCRV','bstackA11yScanOptions','pWbpW','hbMRj','__platformCaps','percyCaptureMode','format','hvpDz','index','IpCXh','DKmry','err','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','YFhos','installAll','driverCleanup','dqtxy','end','message','capabilities','BeknL','error','executeScript','1997964ouVkky','Eanvo','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','titlePath','MxWdP','PERFORM_SCAN','YRdvM','failed','fCfan','SESSION_NAME','testAnalyticsId','../../helpers/logger','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','cxHpe','sessionName','Mocha','isAccessibilityPlatform','__error_messages__','vFcnu','qDcIp','\x20|\x20','setGlobal','evGpo','shift','tQqnI','vlTDa','../../helpers/testhub/utils','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','start','cnfyn','dhtZM','blULb','winstonLogger','88rcsoAG','autoScanning','__sessionFailed','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','wsdfz','pFrbN','TnJWr','WLyay','isArray','browserstackTestName','accessibilityScanStarted','command','qRJoZ','bstackA11yShouldScan','cEjgp','198709QfCaCT','GjRSh','YgDAy','passed','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','bzwse','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','SYNC','SAVE_RESULTS','../../helpers/accessibility-automation/helper','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','testcase','app','ctVut','TYlOa','../../helpers/driverInitErrorReporter','GfeXv','dQywe','saveAccessibilityResultsWithRetry','warn','dCTOp','1184406xpzLiI','protocol','pVwop','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','state','srEnZ','__drivers','NfFoA','GGfVO','percy','driver-init\x20capture\x20install\x20failed:\x20','744660GQHWKq','ENV_VAR','afterTest','afterEach','session_','sessionNameSet__','browserstackSessionName','env','rVnzD','Mevbq','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','ObservabilitySync:','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','Accessibility\x20results\x20saved\x20successfully','fJfzo','LkCrk','VrSdV','quitCount_','Htysg','../../helpers/globals','FYLhF','TmTpo','../utils/constants','join','currentTest','fcEAq','stringify','PHGbB',',\x22level\x22:\x20\x22','naxnb','CWEAz','8VcPJZv','__skipSessionName','aPjbC'];a39_0x545e=function(){return _0x467c12;};return a39_0x545e();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a40_0x474d7c=a40_0x4064;(function(_0x9ec2e,_0x43d7d8){const _0x1abc8c=a40_0x4064,_0x44f524=_0x9ec2e();while(!![]){try{const _0x4cedc1=parseInt(_0x1abc8c(0xde))/0x1+-parseInt(_0x1abc8c(0xd9))/0x2*(-parseInt(_0x1abc8c(0x76))/0x3)+-parseInt(_0x1abc8c(0xbc))/0x4*(parseInt(_0x1abc8c(0xc9))/0x5)+parseInt(_0x1abc8c(0x7f))/0x6+parseInt(_0x1abc8c(0xcd))/0x7*(-parseInt(_0x1abc8c(0x98))/0x8)+parseInt(_0x1abc8c(0x8f))/0x9+-parseInt(_0x1abc8c(0xa4))/0xa;if(_0x4cedc1===_0x43d7d8)break;else _0x44f524['push'](_0x44f524['shift']());}catch(_0x159c20){_0x44f524['push'](_0x44f524['shift']());}}}(a40_0x345d,0xd8f7f));function a40_0x345d(){const _0x206e40=['null','testObservability','FPdiQ','browserstack','getInstance','kocqy','VDgzk','26802250HaqkQg','cli,browserstack','Failed\x20to\x20bootstrap\x20CLI:\x20','shutdown','true','ozsyf','qkhan','lhfCT','ZYTan','plExs','length','RHnWV','false','setBrowserstackConfig','env','uizJQ','createRequire','parallelsPerPlatform','isRunning','BROWSERSTACK_TEST_OBSERVABILITY_YML','failures','nSUNK','path','exports','12TtFzEq','Failed\x20to\x20launch\x20build:\x20','izFtR','dSFDX','Newman\x20CLI\x20not\x20found:\x20','newman-reporter-browserstack','close','slice','jwyHN','LwFLY','mBhkZ','[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','../../helpers/helper','912485rxUEBT','index.js','AutVe','package.json','14QChMSn','OsLTX','CURgm','lBSDK','../../helpers/logger','[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','cliConfig','EvNTB','JVqDb','exitCode','launchBuild','message','2739190xJMbnO','push','--reporters','KhTFn','setFrameworkDetail','792261hiOtZb','xoQoY','concat','EcmKf','AiVXq','xKiOq','../../helpers/test-observability/utils','ijIpr','configPath','WSlNk','O11yHashedID','requireModule','bootstrap','hDbrw','Wourk','wEpVQ','HbWTG','resolve','newman','_resolveFilename','assign','../v2/browserstackCLI','bClWD','3voNjdW','XoNRe','reporter','sQZna','module','JbiKT','../../helpers/test-observability/requestQueueHandler','kugvc','mJpmn','7536486Usqrfm','IwTwa','cwd','Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','../../helpers/testhub/testhubHandler','config','../v2/cliUtils','OILuV','indexOf','NEWMAN','join','child_process','warn','DcQHR','eNmFc','SoFmf','12864150lFyJIO','run','PKclv','MzxgX','node','error','scriptRunner.js','kcgjR','UNpUs','2923472WVDGdl',',browserstack','stop','DAiUR','.js'];a40_0x345d=function(){return _0x206e40;};return a40_0x345d();}const path=require(a40_0x474d7c(0xba)),Module=require(a40_0x474d7c(0x7a)),{fork}=require(a40_0x474d7c(0x8a)),logger=require(a40_0x474d7c(0xd1))['winstonLogger'],helper=require(a40_0x474d7c(0xc8)),TestHubHandler=require(a40_0x474d7c(0x83)),RequestQueueHandler=require(a40_0x474d7c(0x7c)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{printBuildLink}=require(a40_0x474d7c(0xe4)),BrowserstackCLI=require(a40_0x474d7c(0x74)),CLIUtils=require(a40_0x474d7c(0x85));function registerBrowserStackReporter(){const _0xf71ec3=a40_0x474d7c,_0x446430={};_0x446430['ozsyf']=function(_0x586bd5,_0x304e9d){return _0x586bd5===_0x304e9d;},_0x446430[_0xf71ec3(0xc4)]=_0xf71ec3(0xc1),_0x446430['WTYJJ']=_0xf71ec3(0x78),_0x446430[_0xf71ec3(0xb3)]=_0xf71ec3(0xca);const _0x5bcbdc=_0x446430,_0x15c517=path['join'](__dirname,_0x5bcbdc['WTYJJ'],_0x5bcbdc[_0xf71ec3(0xb3)]),_0x1f9568=Module['_resolveFilename'];Module[_0xf71ec3(0x72)]=function(_0xeaebfc,_0x464ad9,_0x345a44,_0x1035c6){const _0x37ec03=_0xf71ec3;if(_0x5bcbdc[_0x37ec03(0xa9)](_0xeaebfc,_0x5bcbdc[_0x37ec03(0xc4)]))return _0x15c517;return _0x1f9568['call'](this,_0xeaebfc,_0x464ad9,_0x345a44,_0x1035c6);};}function injectReporterIntoArgs(_0x36ecc4){const _0x5d93d6=a40_0x474d7c,_0x3882cc={};_0x3882cc['bxVjw']=function(_0x44d44c,_0x142d94){return _0x44d44c<_0x142d94;},_0x3882cc[_0x5d93d6(0xa3)]=function(_0x155918,_0x1f5090){return _0x155918===_0x1f5090;},_0x3882cc['RJlDb']=function(_0xb4f5cd,_0x10631d){return _0xb4f5cd===_0x10631d;},_0x3882cc[_0x5d93d6(0xe3)]=_0x5d93d6(0xdb),_0x3882cc[_0x5d93d6(0xbe)]=function(_0x10ec56,_0x3f9b0a){return _0x10ec56+_0x3f9b0a;},_0x3882cc[_0x5d93d6(0x9b)]=function(_0x567e7e,_0x17346f){return _0x567e7e===_0x17346f;},_0x3882cc[_0x5d93d6(0x6c)]=function(_0xc94f37,_0x4f3965){return _0xc94f37+_0x4f3965;},_0x3882cc[_0x5d93d6(0x7b)]=_0x5d93d6(0xa0),_0x3882cc[_0x5d93d6(0x6f)]=function(_0x38dd1d,_0x5d139a){return _0x38dd1d+_0x5d139a;},_0x3882cc[_0x5d93d6(0xc5)]=_0x5d93d6(0x99),_0x3882cc['OsLTX']=_0x5d93d6(0xa5);const _0x3959b0=_0x3882cc,_0x261ecf=_0x36ecc4[_0x5d93d6(0xc3)]();for(let _0x28e69e=0x0;_0x3959b0['bxVjw'](_0x28e69e,_0x261ecf[_0x5d93d6(0xae)]);_0x28e69e++){if(_0x3959b0[_0x5d93d6(0xa3)](_0x261ecf[_0x28e69e],'-r')||_0x3959b0['RJlDb'](_0x261ecf[_0x28e69e],_0x3959b0['xKiOq']))return _0x261ecf[_0x3959b0[_0x5d93d6(0xbe)](_0x28e69e,0x1)]&&_0x3959b0[_0x5d93d6(0x9b)](_0x261ecf[_0x3959b0[_0x5d93d6(0x6c)](_0x28e69e,0x1)][_0x5d93d6(0x87)](_0x3959b0[_0x5d93d6(0x7b)]),-0x1)&&(_0x261ecf[_0x3959b0[_0x5d93d6(0x6f)](_0x28e69e,0x1)]+=_0x3959b0[_0x5d93d6(0xc5)]),_0x261ecf;}return _0x261ecf[_0x5d93d6(0xda)]('-r',_0x3959b0[_0x5d93d6(0xce)]),_0x261ecf;}function runNewmanCLI(_0x239f48){const _0x100622=a40_0x474d7c,_0x36d717={'lBSDK':function(_0x276bcc,_0x331273){return _0x276bcc>_0x331273;},'MzxgX':function(_0x508f27,_0x974ae0){return _0x508f27(_0x974ae0);},'ZYTan':function(_0x3b34cf,_0x19e007,_0x18f502){return _0x3b34cf(_0x19e007,_0x18f502);},'RHnWV':_0x100622(0x71),'eeuzQ':_0x100622(0x82),'AutVe':function(_0xac944c,_0x51b366){return _0xac944c(_0x51b366);},'PKclv':_0x100622(0x7a),'XBtID':_0x100622(0xcc),'plExs':'newman/bin/newman','ijIpr':_0x100622(0x93),'kugvc':function(_0x276c6a,_0x17b2d2){return _0x276c6a+_0x17b2d2;},'kocqy':_0x100622(0xc0)};return new Promise(_0xc42d55=>{const _0x42381a=_0x100622,_0x214030={'qkhan':function(_0x157175,_0x319cca){const _0x399af8=a40_0x4064;return _0x36d717[_0x399af8(0xd0)](_0x157175,_0x319cca);},'WSlNk':function(_0x4af198,_0x2f9193){const _0x1b1e73=a40_0x4064;return _0x36d717[_0x1b1e73(0x92)](_0x4af198,_0x2f9193);},'CURgm':function(_0x5e5e62,_0x4305f9,_0x3cf8d9){const _0x44e90e=a40_0x4064;return _0x36d717[_0x44e90e(0xac)](_0x5e5e62,_0x4305f9,_0x3cf8d9);}};let _0x42df0f;try{_0x42df0f=helper[_0x42381a(0x6a)](_0x36d717[_0x42381a(0xaf)],_0x36d717[_0x42381a(0xaf)]);}catch(_0x55e8ef){return logger[_0x42381a(0x94)](_0x36d717['eeuzQ']),_0x36d717[_0x42381a(0xcb)](_0xc42d55,0x1);}const _0x1c00bd=_0x42df0f[_0x42381a(0x90)];_0x42df0f[_0x42381a(0x90)]=function(_0x4f1f40,_0x5e60a2){const _0x5ddfd2=_0x42381a;return _0x42df0f[_0x5ddfd2(0x90)]=_0x1c00bd,_0x1c00bd['call'](_0x42df0f,_0x4f1f40,(_0x30c56d,_0xa9e036)=>{const _0x4a3ed7=_0x5ddfd2,_0x5e4241=_0xa9e036&&_0xa9e036[_0x4a3ed7(0x90)]&&(_0xa9e036['run'][_0x4a3ed7(0x94)]||_0xa9e036['run']['failures']&&_0x214030[_0x4a3ed7(0xaa)](_0xa9e036[_0x4a3ed7(0x90)][_0x4a3ed7(0xb8)][_0x4a3ed7(0xae)],0x0));_0x214030[_0x4a3ed7(0x68)](_0xc42d55,_0x5e4241?0x1:0x0),_0x5e60a2&&_0x214030[_0x4a3ed7(0xcf)](_0x5e60a2,_0x30c56d,_0xa9e036);});};try{const _0x1d5ec3=_0x36d717[_0x42381a(0xcb)](require,_0x36d717[_0x42381a(0x91)])[_0x42381a(0xb4)](path['join'](process[_0x42381a(0x81)](),_0x36d717['XBtID']));_0x36d717[_0x42381a(0xcb)](_0x1d5ec3,_0x36d717[_0x42381a(0xad)])([_0x36d717[_0x42381a(0xe5)],_0x36d717[_0x42381a(0xaf)]][_0x42381a(0xe0)](_0x239f48));}catch(_0x346148){_0x42df0f['run']=_0x1c00bd,logger[_0x42381a(0x94)](_0x36d717[_0x42381a(0x7d)](_0x36d717[_0x42381a(0xa2)],_0x346148[_0x42381a(0xd8)])),_0x36d717[_0x42381a(0x92)](_0xc42d55,0x1);}});}function runNewmanScript(_0x170d24,_0x50f0ae){const _0x15a9f8=a40_0x474d7c,_0x2523a3={'EcmKf':function(_0x22a445,_0x5b8e09){return _0x22a445(_0x5b8e09);},'OILuV':function(_0x21616c,_0x5ee005){return _0x21616c||_0x5ee005;},'sQZna':function(_0x134748,_0xb38243,_0x209ba7,_0x551b24){return _0x134748(_0xb38243,_0x209ba7,_0x551b24);},'Wourk':_0x15a9f8(0x95),'DcQHR':'inherit','FPdiQ':_0x15a9f8(0xc2)};return new Promise(function(_0x5cb8fe){const _0xa927e3=_0x15a9f8,_0x23fbef=_0x2523a3[_0xa927e3(0x79)](fork,path[_0xa927e3(0x89)](__dirname,_0x2523a3[_0xa927e3(0x6d)]),[_0x170d24,_0x2523a3['EcmKf'](String,_0x2523a3['OILuV'](_0x50f0ae,0x0))],{'stdio':_0x2523a3[_0xa927e3(0x8c)],'env':Object[_0xa927e3(0x73)]({},process['env'])});_0x23fbef['on'](_0x2523a3[_0xa927e3(0x9f)],function(_0x4d0155){const _0x15b309=_0xa927e3;_0x2523a3[_0x15b309(0xe1)](_0x5cb8fe,_0x2523a3[_0x15b309(0x86)](_0x4d0155,0x0));});});}function hasO11yBuild(){const _0x102d2e=a40_0x474d7c,_0x1f4996={};_0x1f4996[_0x102d2e(0x8d)]=function(_0x5e3e8b,_0x5cdeee){return _0x5e3e8b!==_0x5cdeee;},_0x1f4996[_0x102d2e(0x96)]=_0x102d2e(0x9d);const _0x48a0fc=_0x1f4996;return!!(BrowserstackCLI[_0x102d2e(0x69)]||process[_0x102d2e(0xb2)]['BROWSERSTACK_TESTHUB_JWT']&&_0x48a0fc[_0x102d2e(0x8d)](process[_0x102d2e(0xb2)]['BROWSERSTACK_TESTHUB_JWT'],_0x48a0fc['kcgjR']));}function runWithoutObservability(_0xe06e45,_0x555c06){const _0x19bac9=a40_0x474d7c,_0x16b04e={'JVqDb':function(_0x38e61d,_0x2ff743){return _0x38e61d(_0x2ff743);},'vhYMj':function(_0x30093,_0x3fe93b){return _0x30093(_0x3fe93b);}};if(_0xe06e45)return _0x16b04e[_0x19bac9(0xd5)](require,path[_0x19bac9(0x70)](_0xe06e45)),0x0;return _0x16b04e['vhYMj'](runNewmanCLI,_0x555c06);}function a40_0x4064(_0x3f1b4e,_0x33b5e0){const _0x345d84=a40_0x345d();return a40_0x4064=function(_0x406476,_0x39c5c3){_0x406476=_0x406476-0x68;let _0x2bf174=_0x345d84[_0x406476];return _0x2bf174;},a40_0x4064(_0x3f1b4e,_0x33b5e0);}module[a40_0x474d7c(0xbb)]=async function(_0x79fd16,_0xbb5574,_0x522fdd){const _0x28bfc8=a40_0x474d7c,_0x18ab59={'IwTwa':_0x28bfc8(0x9c),'ANuQb':function(_0x29e5f6,_0x40d454){return _0x29e5f6===_0x40d454;},'EvNTB':function(_0x1de543,_0x4400b2){return _0x1de543===_0x4400b2;},'bClWD':_0x28bfc8(0xb0),'XoNRe':function(_0x3f7ade,_0x2b6ed3,_0x54e006){return _0x3f7ade(_0x2b6ed3,_0x54e006);},'mBhkZ':function(_0x5872da,_0x2ba2d8){return _0x5872da!=_0x2ba2d8;},'AiVXq':_0x28bfc8(0xa8),'UNpUs':_0x28bfc8(0x71),'NhIux':function(_0x4085dc,_0x2c9bff){return _0x4085dc+_0x2c9bff;},'xoQoY':_0x28bfc8(0xa6),'lhfCT':function(_0x373297,_0x30c334){return _0x373297+_0x30c334;},'dSFDX':_0x28bfc8(0xbd),'XVVpo':function(_0x975bdf){return _0x975bdf();},'wEpVQ':_0x28bfc8(0xc7),'SoFmf':function(_0x3b8eed){return _0x3b8eed();},'KhTFn':function(_0x4dbc6a,_0x10b5ee){return _0x4dbc6a(_0x10b5ee);},'mJpmn':function(_0x16ef37,_0x4e90e8){return _0x16ef37(_0x4e90e8);},'qIbuy':function(_0x293a99){return _0x293a99();},'nSUNK':_0x28bfc8(0xd2)},_0x1c1f17=_0xbb5574[_0x28bfc8(0xc3)](0x1),_0x388210=_0x1c1f17[0x0]&&_0x1c1f17[0x0]['endsWith'](_0x18ab59[_0x28bfc8(0x80)])?_0x1c1f17[0x0]:null;if(!_0x522fdd[_0x28bfc8(0x84)]||_0x18ab59['ANuQb'](_0x522fdd[_0x28bfc8(0x84)][_0x28bfc8(0x9e)],![])||_0x18ab59[_0x28bfc8(0xd4)](_0x522fdd[_0x28bfc8(0x84)][_0x28bfc8(0x9e)],_0x18ab59['bClWD'])){process[_0x28bfc8(0xd6)]=await _0x18ab59[_0x28bfc8(0x77)](runWithoutObservability,_0x388210,_0x1c1f17)||0x0;return;}process[_0x28bfc8(0xb2)]['BROWSERSTACK_AUTOMATION']=_0x18ab59[_0x28bfc8(0x75)],process[_0x28bfc8(0xb2)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x18ab59[_0x28bfc8(0x75)],process[_0x28bfc8(0xb2)][_0x28bfc8(0xb7)]=_0x18ab59[_0x28bfc8(0xc6)](_0x522fdd[_0x28bfc8(0x84)][_0x28bfc8(0x9e)],null)?_0x522fdd[_0x28bfc8(0x84)][_0x28bfc8(0x9e)]:_0x18ab59[_0x28bfc8(0xe2)],CLIUtils[_0x28bfc8(0xdd)](_0x18ab59['UNpUs'],_0x18ab59[_0x28bfc8(0x97)]),BrowserstackCLI[_0x28bfc8(0xa1)]()[_0x28bfc8(0xb1)](_0x522fdd['config'],_0x522fdd[_0x28bfc8(0xe6)],_0x522fdd[_0x28bfc8(0xd3)]);try{await BrowserstackCLI['getInstance']()[_0x28bfc8(0x6b)]();}catch(_0x141bdd){logger['error'](_0x18ab59['NhIux'](_0x18ab59[_0x28bfc8(0xdf)],_0x141bdd['message']||_0x141bdd));}if(!BrowserstackCLI[_0x28bfc8(0xa1)]()[_0x28bfc8(0xb6)]())try{await TestHubHandler[_0x28bfc8(0xd7)](FRAMEWORKS[_0x28bfc8(0x88)],_0x522fdd);}catch(_0x25e74b){logger[_0x28bfc8(0x94)](_0x18ab59[_0x28bfc8(0xab)](_0x18ab59[_0x28bfc8(0xbf)],_0x25e74b['message']||_0x25e74b));}!_0x18ab59['XVVpo'](hasO11yBuild)&&logger['warn'](_0x18ab59[_0x28bfc8(0x6e)]);_0x18ab59[_0x28bfc8(0x8e)](registerBrowserStackReporter);let _0x5dfcb8;_0x388210?_0x5dfcb8=await _0x18ab59[_0x28bfc8(0x77)](runNewmanScript,_0x388210,_0x522fdd[_0x28bfc8(0x84)][_0x28bfc8(0xb5)]):_0x5dfcb8=await _0x18ab59[_0x28bfc8(0xdc)](runNewmanCLI,_0x18ab59[_0x28bfc8(0x7e)](injectReporterIntoArgs,_0x1c1f17));try{await TestHubHandler[_0x28bfc8(0x9a)]();}catch(_0x4c36e9){}try{await BrowserstackCLI[_0x28bfc8(0xa1)]()['stop']();}catch(_0x1dd035){}try{await RequestQueueHandler[_0x28bfc8(0xa1)]()[_0x28bfc8(0xa7)]();}catch(_0x553dd2){}if(_0x18ab59['qIbuy'](hasO11yBuild))try{_0x18ab59['SoFmf'](printBuildLink);}catch(_0xe9646c){}else logger[_0x28bfc8(0x8b)](_0x18ab59[_0x28bfc8(0xb9)]);process[_0x28bfc8(0xd6)]=_0x5dfcb8;};
2
+ 'use strict';const a40_0x20c97c=a40_0x5569;(function(_0x127d3b,_0xf17243){const _0xc7dddd=a40_0x5569,_0x520046=_0x127d3b();while(!![]){try{const _0x445671=-parseInt(_0xc7dddd(0xe3))/0x1*(-parseInt(_0xc7dddd(0xd3))/0x2)+-parseInt(_0xc7dddd(0xa3))/0x3+-parseInt(_0xc7dddd(0x8c))/0x4+parseInt(_0xc7dddd(0xd9))/0x5+-parseInt(_0xc7dddd(0xd5))/0x6+parseInt(_0xc7dddd(0xb6))/0x7+parseInt(_0xc7dddd(0x87))/0x8;if(_0x445671===_0xf17243)break;else _0x520046['push'](_0x520046['shift']());}catch(_0x14cec5){_0x520046['push'](_0x520046['shift']());}}}(a40_0x39f3,0xabfdc));const path=require(a40_0x20c97c(0xae)),Module=require(a40_0x20c97c(0xa0)),{fork}=require(a40_0x20c97c(0xe1)),logger=require(a40_0x20c97c(0x76))[a40_0x20c97c(0xb1)],helper=require('../../helpers/helper'),TestHubHandler=require(a40_0x20c97c(0x9f)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{FRAMEWORKS}=require(a40_0x20c97c(0xcd)),{printBuildLink}=require(a40_0x20c97c(0xc5)),BrowserstackCLI=require(a40_0x20c97c(0xd6)),CLIUtils=require(a40_0x20c97c(0x7a));function registerBrowserStackReporter(){const _0x1e6573=a40_0x20c97c,_0x59d390={};_0x59d390[_0x1e6573(0x83)]=function(_0x1565fb,_0x43ad63){return _0x1565fb===_0x43ad63;},_0x59d390[_0x1e6573(0xb0)]=_0x1e6573(0x94),_0x59d390[_0x1e6573(0xe6)]=_0x1e6573(0xb7),_0x59d390[_0x1e6573(0x89)]='index.js';const _0x17530a=_0x59d390,_0x293b66=path[_0x1e6573(0xdb)](__dirname,_0x17530a[_0x1e6573(0xe6)],_0x17530a[_0x1e6573(0x89)]),_0x3231d4=Module[_0x1e6573(0xe8)];Module[_0x1e6573(0xe8)]=function(_0x2e3fdd,_0x4d7c61,_0x1281df,_0x1b04f6){const _0x1488e8=_0x1e6573;if(_0x17530a[_0x1488e8(0x83)](_0x2e3fdd,_0x17530a[_0x1488e8(0xb0)]))return _0x293b66;return _0x3231d4[_0x1488e8(0xa5)](this,_0x2e3fdd,_0x4d7c61,_0x1281df,_0x1b04f6);};}function injectReporterIntoArgs(_0x2d9b87){const _0x53a144=a40_0x20c97c,_0x46a11a={};_0x46a11a[_0x53a144(0xc7)]=function(_0x15a8da,_0x5a5127){return _0x15a8da<_0x5a5127;},_0x46a11a[_0x53a144(0x9c)]=function(_0x5be96d,_0xdaf946){return _0x5be96d===_0xdaf946;},_0x46a11a[_0x53a144(0x90)]=function(_0x7adf68,_0x343749){return _0x7adf68===_0x343749;},_0x46a11a[_0x53a144(0xd0)]=_0x53a144(0xa6),_0x46a11a['jvKND']=function(_0x3355fc,_0x211929){return _0x3355fc+_0x211929;},_0x46a11a[_0x53a144(0xca)]=function(_0x3b1c98,_0x438741){return _0x3b1c98===_0x438741;},_0x46a11a[_0x53a144(0x85)]=function(_0x120c05,_0x283ad9){return _0x120c05+_0x283ad9;},_0x46a11a['fsLdm']=_0x53a144(0xe2),_0x46a11a[_0x53a144(0xd8)]=function(_0x4a1fcb,_0x292cb2){return _0x4a1fcb+_0x292cb2;},_0x46a11a[_0x53a144(0xc1)]=_0x53a144(0xd4),_0x46a11a[_0x53a144(0xa2)]=_0x53a144(0x9a);const _0x405761=_0x46a11a,_0x5a736f=_0x2d9b87[_0x53a144(0x8f)]();for(let _0x4db81e=0x0;_0x405761[_0x53a144(0xc7)](_0x4db81e,_0x5a736f['length']);_0x4db81e++){if(_0x405761[_0x53a144(0x9c)](_0x5a736f[_0x4db81e],'-r')||_0x405761[_0x53a144(0x90)](_0x5a736f[_0x4db81e],_0x405761[_0x53a144(0xd0)]))return _0x5a736f[_0x405761[_0x53a144(0xaa)](_0x4db81e,0x1)]&&_0x405761[_0x53a144(0xca)](_0x5a736f[_0x405761['gqQXk'](_0x4db81e,0x1)][_0x53a144(0xa1)](_0x405761[_0x53a144(0x96)]),-0x1)&&(_0x5a736f[_0x405761[_0x53a144(0xd8)](_0x4db81e,0x1)]+=_0x405761[_0x53a144(0xc1)]),_0x5a736f;}return _0x5a736f['push']('-r',_0x405761['rknEV']),_0x5a736f;}function runNewmanCLI(_0x6b9480){const _0x5165bb=a40_0x20c97c,_0x23f9a8={'LJxFF':function(_0x248ebb,_0x5792fa){return _0x248ebb>_0x5792fa;},'AsjYK':function(_0x1aa853,_0x58332a){return _0x1aa853(_0x58332a);},'RFTiR':function(_0xd1b264,_0x5ce852,_0x52ec61){return _0xd1b264(_0x5ce852,_0x52ec61);},'RHsqO':_0x5165bb(0x8a),'UdMRk':_0x5165bb(0x79),'piZSL':function(_0x212c5c,_0x56a917){return _0x212c5c(_0x56a917);},'KKCPW':_0x5165bb(0xa0),'FJZLn':'package.json','qrtdx':function(_0x1ec02c,_0x43b622){return _0x1ec02c(_0x43b622);},'wmwoS':'newman/bin/newman','PSxKg':_0x5165bb(0xd7),'vFqIN':function(_0x3a91ee,_0x2f81e5){return _0x3a91ee+_0x2f81e5;},'lUrwi':'Newman\x20CLI\x20not\x20found:\x20','dDpOY':function(_0x5c8e49,_0xcdfe34){return _0x5c8e49(_0xcdfe34);}};return new Promise(_0x4089d0=>{const _0x23a14b=_0x5165bb,_0x27ffbf={'ORqlT':function(_0x1adf35,_0x96c9a7){const _0x81fe5b=a40_0x5569;return _0x23f9a8[_0x81fe5b(0xc8)](_0x1adf35,_0x96c9a7);},'nDjEq':function(_0x5a1245,_0x39c337){const _0x56c250=a40_0x5569;return _0x23f9a8[_0x56c250(0xcc)](_0x5a1245,_0x39c337);},'VGczo':function(_0x1bb69b,_0x396869,_0x3ea1c3){return _0x23f9a8['RFTiR'](_0x1bb69b,_0x396869,_0x3ea1c3);}};let _0x386090;try{_0x386090=helper[_0x23a14b(0xdf)](_0x23f9a8[_0x23a14b(0xbf)],_0x23f9a8[_0x23a14b(0xbf)]);}catch(_0x549805){return logger[_0x23a14b(0xc0)](_0x23f9a8[_0x23a14b(0xcf)]),_0x23f9a8[_0x23a14b(0xcc)](_0x4089d0,0x1);}const _0x432c12=_0x386090[_0x23a14b(0x7c)];_0x386090[_0x23a14b(0x7c)]=function(_0x483459,_0xb45d28){const _0x424e82=_0x23a14b;return _0x386090[_0x424e82(0x7c)]=_0x432c12,_0x432c12[_0x424e82(0xa5)](_0x386090,_0x483459,(_0x574736,_0x540b37)=>{const _0x595a3b=_0x424e82,_0x5a6223=_0x540b37&&_0x540b37['run']&&(_0x540b37['run']['error']||_0x540b37[_0x595a3b(0x7c)]['failures']&&_0x27ffbf['ORqlT'](_0x540b37[_0x595a3b(0x7c)][_0x595a3b(0x8e)]['length'],0x0));_0x27ffbf[_0x595a3b(0xea)](_0x4089d0,_0x5a6223?0x1:0x0),_0xb45d28&&_0x27ffbf['VGczo'](_0xb45d28,_0x574736,_0x540b37);});};try{const _0x313e98=_0x23f9a8['piZSL'](require,_0x23f9a8[_0x23a14b(0x7b)])[_0x23a14b(0xa9)](path[_0x23a14b(0xdb)](process[_0x23a14b(0x80)](),_0x23f9a8[_0x23a14b(0x99)]));_0x23f9a8[_0x23a14b(0xce)](_0x313e98,_0x23f9a8[_0x23a14b(0xac)])([_0x23f9a8[_0x23a14b(0x8b)],_0x23f9a8[_0x23a14b(0xbf)]][_0x23a14b(0xaf)](_0x6b9480));}catch(_0x1d89e1){_0x386090[_0x23a14b(0x7c)]=_0x432c12,logger[_0x23a14b(0xc0)](_0x23f9a8['vFqIN'](_0x23f9a8['lUrwi'],_0x1d89e1[_0x23a14b(0x7e)])),_0x23f9a8[_0x23a14b(0xb8)](_0x4089d0,0x1);}});}function a40_0x5569(_0x28f544,_0x48501a){const _0x39f3ea=a40_0x39f3();return a40_0x5569=function(_0x5569a2,_0x6e2c46){_0x5569a2=_0x5569a2-0x74;let _0x5186e1=_0x39f3ea[_0x5569a2];return _0x5186e1;},a40_0x5569(_0x28f544,_0x48501a);}function runNewmanScript(_0x30fa95,_0x500918){const _0x5e0768=a40_0x20c97c,_0x5d33bf={'YlVMx':function(_0x1b18a4,_0xc80a34){return _0x1b18a4(_0xc80a34);},'HqeOy':function(_0x20def3,_0x8c6e55){return _0x20def3||_0x8c6e55;},'XgbRP':function(_0x52d81a,_0x2ebe91,_0x3e2f74,_0x41f5a8){return _0x52d81a(_0x2ebe91,_0x3e2f74,_0x41f5a8);},'mzvZV':_0x5e0768(0xbd),'DsEHQ':function(_0x5fc8d7,_0x16460d){return _0x5fc8d7(_0x16460d);},'EPHtH':function(_0x5ba07d,_0x5de91a){return _0x5ba07d||_0x5de91a;},'jEJLt':'inherit','dfDne':_0x5e0768(0xe7)};return new Promise(function(_0x176d46){const _0x4a0545=_0x5e0768,_0x4634a5=_0x5d33bf[_0x4a0545(0xa7)](fork,path[_0x4a0545(0xdb)](__dirname,_0x5d33bf[_0x4a0545(0xab)]),[_0x30fa95,_0x5d33bf[_0x4a0545(0xe4)](String,_0x5d33bf[_0x4a0545(0x9e)](_0x500918,0x0))],{'stdio':_0x5d33bf[_0x4a0545(0x98)],'env':Object[_0x4a0545(0xd2)]({},process['env'])});_0x4634a5['on'](_0x5d33bf[_0x4a0545(0xc3)],function(_0x184ebc){const _0x104495=_0x4a0545;_0x5d33bf[_0x104495(0xe9)](_0x176d46,_0x5d33bf[_0x104495(0x78)](_0x184ebc,0x0));});});}function hasO11yBuild(){const _0x3d3f8e=a40_0x20c97c,_0x43f14a={};_0x43f14a[_0x3d3f8e(0x8d)]=function(_0x5205aa,_0x2c9d73){return _0x5205aa!==_0x2c9d73;},_0x43f14a['ekptU']=_0x3d3f8e(0xb3);const _0x520f81=_0x43f14a;return!!(BrowserstackCLI[_0x3d3f8e(0x9b)]||process[_0x3d3f8e(0xba)][_0x3d3f8e(0x86)]&&_0x520f81[_0x3d3f8e(0x8d)](process['env'][_0x3d3f8e(0x86)],_0x520f81[_0x3d3f8e(0xda)]));}function runWithoutObservability(_0x50ac6f,_0x76083a){const _0x1442cc=a40_0x20c97c,_0x12c3ea={'ghKYv':function(_0x28538b,_0xb5636d){return _0x28538b(_0xb5636d);},'OZYiP':function(_0x2abceb,_0xa68874){return _0x2abceb(_0xa68874);}};if(_0x50ac6f)return _0x12c3ea[_0x1442cc(0xdd)](require,path[_0x1442cc(0xd1)](_0x50ac6f)),0x0;return _0x12c3ea[_0x1442cc(0x97)](runNewmanCLI,_0x76083a);}module[a40_0x20c97c(0xa8)]=async function(_0xa31af,_0x34cb61,_0x31b003){const _0x342a86=a40_0x20c97c,_0x318b4f={'IrWiL':'.js','mNyBT':function(_0x115d78,_0x5907fb){return _0x115d78===_0x5907fb;},'ZhSul':function(_0x34b556,_0x483721){return _0x34b556===_0x483721;},'UVqdB':'false','JDxKg':function(_0x4bf689,_0x15c58e,_0x3c0182){return _0x4bf689(_0x15c58e,_0x3c0182);},'heCAW':function(_0x35efaa,_0x37a63a){return _0x35efaa!=_0x37a63a;},'bgAhb':_0x342a86(0xb2),'iXjPT':_0x342a86(0x8a),'IRjJg':function(_0x2e3422,_0xfff1d5){return _0x2e3422+_0xfff1d5;},'sJKvZ':_0x342a86(0xad),'NRZHE':'Failed\x20to\x20launch\x20build:\x20','DcsMF':function(_0x53c4b8){return _0x53c4b8();},'sgvas':_0x342a86(0xbb),'oIMqE':function(_0x30e2ed,_0x591ad2,_0x48bd82){return _0x30e2ed(_0x591ad2,_0x48bd82);},'wbwVq':function(_0x1e946b,_0x137639){return _0x1e946b(_0x137639);},'vcULo':function(_0x499c1a){return _0x499c1a();},'HQHMM':_0x342a86(0x82)},_0x333012=_0x34cb61['slice'](0x1),_0x3e5f7c=_0x333012[0x0]&&_0x333012[0x0][_0x342a86(0x93)](_0x318b4f['IrWiL'])?_0x333012[0x0]:null;if(!_0x31b003['config']||_0x318b4f['mNyBT'](_0x31b003[_0x342a86(0x91)][_0x342a86(0xbe)],![])||_0x318b4f[_0x342a86(0xe0)](_0x31b003['config'][_0x342a86(0xbe)],_0x318b4f['UVqdB'])){process[_0x342a86(0x7d)]=await _0x318b4f['JDxKg'](runWithoutObservability,_0x3e5f7c,_0x333012)||0x0;return;}process['env'][_0x342a86(0xb4)]=_0x318b4f[_0x342a86(0xc6)],process[_0x342a86(0xba)][_0x342a86(0x75)]=_0x318b4f[_0x342a86(0xc6)],process['env'][_0x342a86(0xbc)]=_0x318b4f[_0x342a86(0xcb)](_0x31b003['config'][_0x342a86(0xbe)],null)?_0x31b003['config'][_0x342a86(0xbe)]:_0x318b4f[_0x342a86(0x74)],CLIUtils[_0x342a86(0x84)](_0x318b4f[_0x342a86(0xc4)],_0x318b4f[_0x342a86(0xc4)]),BrowserstackCLI[_0x342a86(0xa4)]()['setBrowserstackConfig'](_0x31b003[_0x342a86(0x91)],_0x31b003[_0x342a86(0xde)],_0x31b003['cliConfig']);try{await BrowserstackCLI['getInstance']()[_0x342a86(0xc2)]();}catch(_0x34da76){logger['error'](_0x318b4f[_0x342a86(0x81)](_0x318b4f[_0x342a86(0xb9)],_0x34da76[_0x342a86(0x7e)]||_0x34da76));}if(!BrowserstackCLI[_0x342a86(0xa4)]()[_0x342a86(0x9d)]())try{await TestHubHandler['launchBuild'](FRAMEWORKS['NEWMAN'],_0x31b003);}catch(_0x509e30){logger[_0x342a86(0xc0)](_0x318b4f[_0x342a86(0x81)](_0x318b4f['NRZHE'],_0x509e30[_0x342a86(0x7e)]||_0x509e30));}!_0x318b4f[_0x342a86(0xc9)](hasO11yBuild)&&logger[_0x342a86(0xb5)](_0x318b4f[_0x342a86(0x95)]);_0x318b4f[_0x342a86(0xc9)](registerBrowserStackReporter);let _0x535312;_0x3e5f7c?_0x535312=await _0x318b4f[_0x342a86(0x7f)](runNewmanScript,_0x3e5f7c,_0x31b003[_0x342a86(0x91)]['parallelsPerPlatform']):_0x535312=await _0x318b4f[_0x342a86(0xdc)](runNewmanCLI,_0x318b4f[_0x342a86(0xdc)](injectReporterIntoArgs,_0x333012));try{await TestHubHandler[_0x342a86(0xe5)]();}catch(_0x4a8455){}try{await BrowserstackCLI[_0x342a86(0xa4)]()[_0x342a86(0xe5)]();}catch(_0x5811a4){}try{await RequestQueueHandler[_0x342a86(0xa4)]()[_0x342a86(0x88)]();}catch(_0x1a9810){}if(_0x318b4f[_0x342a86(0xc9)](hasO11yBuild))try{_0x318b4f[_0x342a86(0x77)](printBuildLink);}catch(_0x199c53){}else logger[_0x342a86(0xb5)](_0x318b4f[_0x342a86(0x92)]);process['exitCode']=_0x535312;};function a40_0x39f3(){const _0x2eef70=['testObservability','RHsqO','error','gxQGY','bootstrap','dfDne','iXjPT','../../helpers/test-observability/utils','UVqdB','frmeq','LJxFF','DcsMF','xRQtE','heCAW','AsjYK','../../helpers/test-observability/constants','qrtdx','UdMRk','uDYyZ','resolve','assign','171082MTHMrI',',browserstack','2693706BIvkbK','../v2/browserstackCLI','node','nPNUt','3154155pBYUfY','ekptU','join','wbwVq','ghKYv','configPath','requireModule','ZhSul','child_process','browserstack','1jgBpgL','DsEHQ','stop','CqFjm','close','_resolveFilename','YlVMx','nDjEq','bgAhb','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','../../helpers/logger','vcULo','HqeOy','Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','../v2/cliUtils','KKCPW','run','exitCode','message','oIMqE','cwd','IRjJg','[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','PZwOa','setFrameworkDetail','gqQXk','BROWSERSTACK_TESTHUB_JWT','12393632MbgaRI','shutdown','jiYDT','newman','PSxKg','4840044Clevgc','JblCa','failures','slice','DygHl','config','HQHMM','endsWith','newman-reporter-browserstack','sgvas','fsLdm','OZYiP','jEJLt','FJZLn','cli,browserstack','O11yHashedID','QOkmQ','isRunning','EPHtH','../../helpers/testhub/testhubHandler','module','indexOf','rknEV','2306748uDGaGF','getInstance','call','--reporters','XgbRP','exports','createRequire','jvKND','mzvZV','wmwoS','Failed\x20to\x20bootstrap\x20CLI:\x20','path','concat','WOSuT','winstonLogger','true','null','BROWSERSTACK_AUTOMATION','warn','6067446SHPRuB','reporter','dDpOY','sJKvZ','env','[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','BROWSERSTACK_TEST_OBSERVABILITY_YML','scriptRunner.js'];a40_0x39f3=function(){return _0x2eef70;};return a40_0x39f3();}
@@ -1 +1 @@
1
- const a41_0x50c215=a41_0x192e;(function(_0x5b0d48,_0x1b39fc){const _0x2f5512=a41_0x192e,_0x3f4140=_0x5b0d48();while(!![]){try{const _0x439c9c=parseInt(_0x2f5512(0x129))/0x1+parseInt(_0x2f5512(0x12e))/0x2*(parseInt(_0x2f5512(0x12d))/0x3)+parseInt(_0x2f5512(0x127))/0x4+parseInt(_0x2f5512(0x130))/0x5*(-parseInt(_0x2f5512(0x133))/0x6)+parseInt(_0x2f5512(0x125))/0x7*(-parseInt(_0x2f5512(0x122))/0x8)+-parseInt(_0x2f5512(0x126))/0x9*(-parseInt(_0x2f5512(0x121))/0xa)+-parseInt(_0x2f5512(0x120))/0xb*(parseInt(_0x2f5512(0x124))/0xc);if(_0x439c9c===_0x1b39fc)break;else _0x3f4140['push'](_0x3f4140['shift']());}catch(_0xee387b){_0x3f4140['push'](_0x3f4140['shift']());}}}(a41_0x4e5b,0x25042));function isNewman(_0x179379){const _0x1f8760=a41_0x192e,_0x32fa66={'aVQZp':function(_0x5cbf49,_0x21fc23){return _0x5cbf49===_0x21fc23;},'sgqjw':_0x1f8760(0x123),'uGkiI':function(_0x26b347,_0x484a6d){return _0x26b347===_0x484a6d;},'eBuOh':function(_0x31f85e,_0x1fba43){return _0x31f85e(_0x1fba43);},'ePHMz':function(_0x359933,_0x305432){return _0x359933||_0x305432;}},_0x40b17e=process[_0x1f8760(0x131)][_0x1f8760(0x132)]||'';let _0xf6a95d='';_0x179379&&_0x179379['framework']&&(_0xf6a95d=_0x179379[_0x1f8760(0x12a)]);const _0xb12eca=_0x32fa66[_0x1f8760(0x128)](_0x40b17e[_0x1f8760(0x135)](),_0x32fa66[_0x1f8760(0x134)]),_0x2b7554=_0x32fa66[_0x1f8760(0x12c)](_0x32fa66['eBuOh'](String,_0xf6a95d)[_0x1f8760(0x135)](),_0x32fa66[_0x1f8760(0x134)]);return _0x32fa66[_0x1f8760(0x12f)](_0xb12eca,_0x2b7554);};function a41_0x4e5b(){const _0x1e1792=['env','BROWSERSTACK_FRAMEWORK','2106csHTvQ','sgqjw','toLowerCase','541277FLlcna','4830UaCOWY','656crDvcT','newman','12GiqKhE','22078NIrqxv','693QFSHWZ','526232WAcZLk','aVQZp','242215ZOxaZM','framework','isNewman','uGkiI','339HUSzgI','2958bEhFfF','ePHMz','1690bTFhMI'];a41_0x4e5b=function(){return _0x1e1792;};return a41_0x4e5b();}const a41_0x14a6cc={};function a41_0x192e(_0x47de62,_0x3810aa){const _0x4e5bc2=a41_0x4e5b();return a41_0x192e=function(_0x192e5d,_0x2f777a){_0x192e5d=_0x192e5d-0x120;let _0x397e6f=_0x4e5bc2[_0x192e5d];return _0x397e6f;},a41_0x192e(_0x47de62,_0x3810aa);}a41_0x14a6cc[a41_0x50c215(0x12b)]=isNewman,module['exports']=a41_0x14a6cc;
1
+ const a41_0xfa2a47=a41_0x2fcd;function a41_0x2fcd(_0x37c6d9,_0x51bd6c){const _0x21010e=a41_0x2101();return a41_0x2fcd=function(_0x2fcdc0,_0x338611){_0x2fcdc0=_0x2fcdc0-0x173;let _0x270ed6=_0x21010e[_0x2fcdc0];return _0x270ed6;},a41_0x2fcd(_0x37c6d9,_0x51bd6c);}function a41_0x2101(){const _0x2c8305=['WDkfV','10ILOLhZ','116703GcvFZM','5441937WmROmH','toLowerCase','29763dkqjqQ','GGAQS','1608fhDoVS','2021996NPsshS','241186KoyTOj','env','10VjRYtj','72966gbIBow','exports','735bRsBTG','IKTkh','framework','MPYBU','TUvRm','9784620DiYcSO','432cbbivA'];a41_0x2101=function(){return _0x2c8305;};return a41_0x2101();}(function(_0x5831ec,_0x4a3b07){const _0x207ba9=a41_0x2fcd,_0x248bed=_0x5831ec();while(!![]){try{const _0x4a75af=parseInt(_0x207ba9(0x176))/0x1*(parseInt(_0x207ba9(0x17c))/0x2)+parseInt(_0x207ba9(0x174))/0x3+parseInt(_0x207ba9(0x179))/0x4*(-parseInt(_0x207ba9(0x187))/0x5)+-parseInt(_0x207ba9(0x17d))/0x6*(parseInt(_0x207ba9(0x17f))/0x7)+-parseInt(_0x207ba9(0x185))/0x8*(parseInt(_0x207ba9(0x173))/0x9)+-parseInt(_0x207ba9(0x184))/0xa+-parseInt(_0x207ba9(0x17a))/0xb*(-parseInt(_0x207ba9(0x178))/0xc);if(_0x4a75af===_0x4a3b07)break;else _0x248bed['push'](_0x248bed['shift']());}catch(_0x49c9dc){_0x248bed['push'](_0x248bed['shift']());}}}(a41_0x2101,0xe4197));function isNewman(_0x2ab0c){const _0xd922a1=a41_0x2fcd,_0x5f5792={'WDkfV':function(_0x275388,_0x5d2cfe){return _0x275388===_0x5d2cfe;},'IKTkh':'newman','TUvRm':function(_0x3afac9,_0x516b8c){return _0x3afac9===_0x516b8c;},'MPYBU':function(_0x54d0f7,_0x6fed05){return _0x54d0f7(_0x6fed05);},'GGAQS':function(_0x3b504b,_0x32ab35){return _0x3b504b||_0x32ab35;}},_0x5f372b=process[_0xd922a1(0x17b)]['BROWSERSTACK_FRAMEWORK']||'';let _0xe3ac19='';_0x2ab0c&&_0x2ab0c[_0xd922a1(0x181)]&&(_0xe3ac19=_0x2ab0c[_0xd922a1(0x181)]);const _0x137bd5=_0x5f5792[_0xd922a1(0x186)](_0x5f372b[_0xd922a1(0x175)](),_0x5f5792[_0xd922a1(0x180)]),_0x39d48c=_0x5f5792[_0xd922a1(0x183)](_0x5f5792[_0xd922a1(0x182)](String,_0xe3ac19)[_0xd922a1(0x175)](),_0x5f5792['IKTkh']);return _0x5f5792[_0xd922a1(0x177)](_0x137bd5,_0x39d48c);};const a41_0x4c1dc6={};a41_0x4c1dc6['isNewman']=isNewman,module[a41_0xfa2a47(0x17e)]=a41_0x4c1dc6;
@@ -1 +1 @@
1
- 'use strict';const a42_0x3a5ade=a42_0x89e9;(function(_0xa9f79c,_0xf5156){const _0x67c4ed=a42_0x89e9,_0x354a0b=_0xa9f79c();while(!![]){try{const _0x343b47=-parseInt(_0x67c4ed(0x219))/0x1*(parseInt(_0x67c4ed(0x21a))/0x2)+parseInt(_0x67c4ed(0x180))/0x3*(parseInt(_0x67c4ed(0x1f9))/0x4)+-parseInt(_0x67c4ed(0x1c1))/0x5+-parseInt(_0x67c4ed(0x191))/0x6+parseInt(_0x67c4ed(0x209))/0x7+-parseInt(_0x67c4ed(0x16d))/0x8+parseInt(_0x67c4ed(0x210))/0x9;if(_0x343b47===_0xf5156)break;else _0x354a0b['push'](_0x354a0b['shift']());}catch(_0x12977b){_0x354a0b['push'](_0x354a0b['shift']());}}}(a42_0xa1bb,0xcf78b));const path=require(a42_0x3a5ade(0x18f)),{v4:uuidv4}=require(a42_0x3a5ade(0x237)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{debug}=require(a42_0x3a5ade(0x22c)),logger=require('../../../helpers/logger')[a42_0x3a5ade(0x1fa)],BrowserstackCLI=require('../../v2/browserstackCLI'),GrpcClient=require('../../v2/grpcClient'),TestFrameworkState=require('../../v2/state/testFrameworkState'),HookState=require(a42_0x3a5ade(0x1c5)),LOG_LEVELS=['INFO',a42_0x3a5ade(0x1e2),a42_0x3a5ade(0x1f8),'DEBUG',a42_0x3a5ade(0x1dd)];function isCLIRunning(){const _0x228d33=a42_0x3a5ade;try{return BrowserstackCLI[_0x228d33(0x204)]()['isRunning']();}catch(_0x22a9c6){return![];}}function getParentTitles(_0x1b5825){const _0x4166ec=a42_0x3a5ade,_0x37c441={'yYFYu':function(_0x25919f,_0x4521f3){return _0x25919f(_0x4521f3);}},_0x205b9f=[],_0x1947fb=_0x1b5825['parent']();return _0x1947fb&&_0x205b9f[_0x4166ec(0x20f)]['apply'](_0x205b9f,_0x37c441[_0x4166ec(0x223)](getParentTitles,_0x1947fb)),_0x1b5825[_0x4166ec(0x1bf)]&&_0x205b9f[_0x4166ec(0x20f)](_0x37c441[_0x4166ec(0x223)](String,_0x1b5825['name'])),_0x205b9f;}function normalizeLogLevel(_0x2072bb){const _0x859761=a42_0x3a5ade,_0x16b7dd={};_0x16b7dd[_0x859761(0x18c)]=_0x859761(0x231),_0x16b7dd['zAxtT']=function(_0x4b3f43,_0x3e7179){return _0x4b3f43!==_0x3e7179;};const _0x4b3937=_0x16b7dd;if(!_0x2072bb)return _0x4b3937[_0x859761(0x18c)];const _0x121c9a=_0x2072bb[_0x859761(0x208)]();return _0x4b3937[_0x859761(0x1fe)](LOG_LEVELS[_0x859761(0x1cc)](_0x121c9a),-0x1)?_0x121c9a:_0x4b3937[_0x859761(0x18c)];}function resolveCollectionFile(_0x2ed8b4,_0x337650){const _0x8d4ce9=a42_0x3a5ade,_0x1299c2={};_0x1299c2['UEQmd']=function(_0x12e27c,_0x480e5d){return _0x12e27c===_0x480e5d;},_0x1299c2[_0x8d4ce9(0x1a4)]=_0x8d4ce9(0x20c),_0x1299c2['CtjbB']=_0x8d4ce9(0x22d),_0x1299c2[_0x8d4ce9(0x1e9)]=function(_0x4cddbc,_0x30e031){return _0x4cddbc!==_0x30e031;},_0x1299c2[_0x8d4ce9(0x213)]=function(_0x58e3e0,_0xfeb024){return _0x58e3e0<_0xfeb024;},_0x1299c2[_0x8d4ce9(0x164)]=function(_0x5f23c0,_0x71a0f1){return _0x5f23c0+_0x71a0f1;},_0x1299c2[_0x8d4ce9(0x222)]=_0x8d4ce9(0x1d2),_0x1299c2[_0x8d4ce9(0x1df)]=_0x8d4ce9(0x1b2);const _0xd8486=_0x1299c2;try{if(_0x337650&&_0x337650[_0x8d4ce9(0x239)])return path[_0x8d4ce9(0x221)](process['cwd'](),path[_0x8d4ce9(0x19b)](_0x337650[_0x8d4ce9(0x239)]));const _0x3bfd49=_0x2ed8b4[_0x8d4ce9(0x1cd)];if(_0xd8486['UEQmd'](typeof _0x3bfd49,_0xd8486[_0x8d4ce9(0x1a4)]))return path[_0x8d4ce9(0x221)](process[_0x8d4ce9(0x192)](),path['resolve'](_0x3bfd49));const _0x1d6b7d=process[_0x8d4ce9(0x1da)][_0x8d4ce9(0x1cc)](_0xd8486[_0x8d4ce9(0x1e7)]);if(_0xd8486[_0x8d4ce9(0x1e9)](_0x1d6b7d,-0x1)&&_0xd8486[_0x8d4ce9(0x213)](_0xd8486['nZjNO'](_0x1d6b7d,0x1),process['argv']['length'])){const _0x19fa56=process[_0x8d4ce9(0x1da)][_0xd8486[_0x8d4ce9(0x164)](_0x1d6b7d,0x1)];if(_0x19fa56&&!_0x19fa56['startsWith']('-'))return path[_0x8d4ce9(0x221)](process['cwd'](),path[_0x8d4ce9(0x19b)](_0x19fa56));}}catch(_0x1a01c7){}return logger[_0x8d4ce9(0x19c)](_0xd8486[_0x8d4ce9(0x222)]),_0xd8486[_0x8d4ce9(0x1df)];}function resolveCollectionName(_0x277364){const _0x510724=a42_0x3a5ade,_0x552c47={};_0x552c47[_0x510724(0x23a)]=function(_0x3435e2,_0x462650){return _0x3435e2===_0x462650;},_0x552c47[_0x510724(0x1ef)]=_0x510724(0x17f);const _0x4a07b3=_0x552c47;try{const _0x73d75c=_0x277364[_0x510724(0x1cd)];if(_0x73d75c&&_0x4a07b3[_0x510724(0x23a)](typeof _0x73d75c,_0x4a07b3[_0x510724(0x1ef)]))return _0x73d75c[_0x510724(0x1bf)]||_0x73d75c['info']&&_0x73d75c['info'][_0x510724(0x1bf)]||null;}catch(_0x5c3b1b){}return null;}function a42_0x89e9(_0x2f3e3f,_0x386658){const _0xa1bb31=a42_0xa1bb();return a42_0x89e9=function(_0x89e918,_0x5e61f9){_0x89e918=_0x89e918-0x160;let _0x2bea43=_0xa1bb31[_0x89e918];return _0x2bea43;},a42_0x89e9(_0x2f3e3f,_0x386658);}function emitTest(_0x27f00a,_0x39ef31,_0x4b3059,_0x597da6,_0x18a1b8){const _0x36a853=a42_0x3a5ade,_0x323388={'tzJsl':function(_0x173aac){return _0x173aac();},'YgeXg':_0x36a853(0x16e),'inHDD':function(_0x5f410b,_0x12b4a7){return _0x5f410b(_0x12b4a7);},'hSfvY':_0x36a853(0x1b3),'Rcwgr':_0x36a853(0x1f3),'iWmYI':function(_0x101a39,_0x3e675e){return _0x101a39!=_0x3e675e;},'LmFEJ':function(_0x531107,_0x3f60f5){return _0x531107===_0x3f60f5;},'ubsSj':_0x36a853(0x206),'CMYrx':_0x36a853(0x21b)};if(_0x323388[_0x36a853(0x1af)](isCLIRunning))try{const _0x352159=BrowserstackCLI[_0x36a853(0x204)]()[_0x36a853(0x201)]();if(!_0x352159)return;_0x352159['trackEvent'](TestFrameworkState[_0x36a853(0x230)],_0x27f00a,{'test':{'uuid':_0x39ef31[_0x36a853(0x237)],'name':_0x39ef31[_0x36a853(0x1bf)],'scopes':_0x4b3059[_0x36a853(0x1f2)],'scope':_0x4b3059[_0x36a853(0x1f2)][_0x36a853(0x20b)]('\x20'),'file_path':_0x597da6,'location':_0x4b3059[_0x36a853(0x1ac)],'started_at':_0x4b3059[_0x36a853(0x1d6)],'finished_at':_0x18a1b8[_0x36a853(0x1ba)]||null,'result':_0x18a1b8[_0x36a853(0x1ca)]||_0x323388[_0x36a853(0x175)],'failure':_0x18a1b8[_0x36a853(0x165)]||[],'failure_type':_0x18a1b8['failureType']||null,'failure_reason':_0x18a1b8[_0x36a853(0x232)]||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x1dcc4a){_0x323388[_0x36a853(0x1b6)](debug,_0x36a853(0x1fd)+_0x1dcc4a);}else{const _0x1f72be={'uuid':_0x39ef31[_0x36a853(0x237)],'name':_0x39ef31['name'],'framework':_0x323388[_0x36a853(0x1b8)],'body':{'lang':_0x323388['Rcwgr'],'code':null},'scope':_0x4b3059['scopes'][_0x36a853(0x20b)]('\x20'),'scopes':_0x4b3059[_0x36a853(0x1f2)],'identifier':_0x39ef31[_0x36a853(0x217)],'file_name':_0x4b3059[_0x36a853(0x1ac)],'vc_filepath':_0x4b3059['location'],'location':_0x4b3059[_0x36a853(0x236)],'started_at':_0x4b3059[_0x36a853(0x1d6)],'finished_at':_0x18a1b8['finishedAt']||null,'duration_in_ms':_0x323388['iWmYI'](_0x18a1b8[_0x36a853(0x1a5)],null)?Math['max'](0x0,_0x18a1b8[_0x36a853(0x1a5)]):null,'result':_0x18a1b8[_0x36a853(0x1ca)]||_0x323388[_0x36a853(0x175)],'failure_reason':_0x18a1b8[_0x36a853(0x232)]||null,'failure_type':_0x18a1b8[_0x36a853(0x17b)]||null,'failure':_0x18a1b8[_0x36a853(0x165)]||[],'retry_of':null,'hooks':[]};_0x1f72be[_0x36a853(0x165)][0x0]&&(_0x1f72be[_0x36a853(0x228)]=_0x1f72be[_0x36a853(0x165)][0x0]['backtrace'],_0x1f72be['failure_reason_expanded']=_0x1f72be[_0x36a853(0x165)][0x0][_0x36a853(0x1c7)]);const _0x2efb8a=_0x323388[_0x36a853(0x214)](_0x27f00a,HookState['PRE'])?_0x323388['ubsSj']:_0x323388['CMYrx'],_0x460d03={};_0x460d03['event_type']=_0x2efb8a,_0x460d03[_0x36a853(0x226)]=_0x1f72be,SessionHandler['uploadEventData'](_0x460d03);}}function emitLog(_0x29d084,_0x5aad66){const _0x1bdd12=a42_0x3a5ade,_0x76052f={'PKUeo':'TEST_LOG','bCmdD':function(_0x3668d1){return _0x3668d1();},'WrRjt':function(_0x13cac4,_0x2d1950){return _0x13cac4===_0x2d1950;},'vihDo':_0x1bdd12(0x1a9),'tJoJJ':_0x1bdd12(0x1b3),'oJDXv':'TEST','HmdzY':'INFO','DcuUT':function(_0xda226f,_0x341be1){return _0xda226f(_0x341be1);},'vIjkT':function(_0x2191b8,_0x312ad6){return _0x2191b8+_0x312ad6;},'KurLN':_0x1bdd12(0x179),'qHpXv':_0x1bdd12(0x189)},_0x5ea74e=_0x5aad66[_0x1bdd12(0x1f5)]||_0x76052f['PKUeo'],_0x311b22=_0x5aad66[_0x1bdd12(0x1a6)]||new Date()[_0x1bdd12(0x224)]();if(_0x76052f[_0x1bdd12(0x1cf)](isCLIRunning))try{const _0x2b92a1=_0x76052f[_0x1bdd12(0x247)](_0x5ea74e,_0x76052f[_0x1bdd12(0x243)])?JSON[_0x1bdd12(0x23d)](_0x5aad66):_0x5aad66['message']||'',_0x18ca35={};_0x18ca35[_0x1bdd12(0x193)]=0x0,_0x18ca35[_0x1bdd12(0x1aa)]=_0x76052f[_0x1bdd12(0x1a0)],_0x18ca35['testFrameworkVersion']='',_0x18ca35['testFrameworkState']=_0x76052f[_0x1bdd12(0x1b7)],_0x18ca35['logs']=[{'uuid':_0x29d084,'timestamp':_0x311b22,'kind':_0x5ea74e,'level':_0x5aad66['level']||_0x76052f[_0x1bdd12(0x17a)],'message':_0x2b92a1}],GrpcClient[_0x1bdd12(0x204)]()['logCreatedEvent'](_0x18ca35);}catch(_0x4f9fa4){_0x76052f['DcuUT'](debug,_0x76052f['vIjkT'](_0x76052f['KurLN'],_0x4f9fa4));}else{const _0x43c3b7={};_0x43c3b7[_0x1bdd12(0x1c2)]=_0x29d084,_0x43c3b7[_0x1bdd12(0x1a6)]=_0x311b22,_0x43c3b7['level']=_0x5aad66[_0x1bdd12(0x1eb)]||null,_0x43c3b7['message']=_0x5aad66[_0x1bdd12(0x1d5)]||null,_0x43c3b7[_0x1bdd12(0x1f5)]=_0x5ea74e,_0x43c3b7['http_response']=_0x5aad66[_0x1bdd12(0x1f1)]||{};const _0x4c082e={};_0x4c082e['event_type']=_0x76052f[_0x1bdd12(0x1ab)],_0x4c082e[_0x1bdd12(0x1a8)]=[_0x43c3b7],SessionHandler['uploadEventData'](_0x4c082e);}}function BrowserStackNewmanReporter(_0x8f3ba,_0x5a7974,_0x2bd700){const _0x5a4fd2=a42_0x3a5ade,_0x146cf8={'nECpE':function(_0x1c1bcd,_0x4b833f,_0x33362c){return _0x1c1bcd(_0x4b833f,_0x33362c);},'RCWMw':function(_0x262b7c,_0x11015c){return _0x262b7c(_0x11015c);},'WxvcS':function(_0x58c4df,_0x298f02){return _0x58c4df(_0x298f02);},'nWfOI':function(_0x22b0ca,_0x499eec){return _0x22b0ca>_0x499eec;},'AkpUO':_0x5a4fd2(0x1d4),'rdTKT':function(_0x5d6195,_0x4ac4e9){return _0x5d6195+_0x4ac4e9;},'ALJKB':'GET','hikio':function(_0x3be6cc,_0x303d7e){return _0x3be6cc(_0x303d7e);},'EcaKE':_0x5a4fd2(0x170),'yaHxy':function(_0x4050ae,_0x21ac2a){return _0x4050ae+_0x21ac2a;},'WjSuR':function(_0x4fe653){return _0x4fe653();},'hljEq':function(_0x1eee35,_0x3e3cf5){return _0x1eee35||_0x3e3cf5;},'NhHRd':function(_0xfd7382,_0x5d40a3,_0x349bbf,_0x5cb195,_0x17c63a,_0x579d1a){return _0xfd7382(_0x5d40a3,_0x349bbf,_0x5cb195,_0x17c63a,_0x579d1a);},'tDOBt':function(_0x533766,_0xbc58c6){return _0x533766===_0xbc58c6;},'nYoIM':_0x5a4fd2(0x1a9),'npwyq':function(_0x315ba7,_0x11cfd6){return _0x315ba7+_0x11cfd6;},'bagag':function(_0x451348,_0x5888d0){return _0x451348+_0x5888d0;},'hcnMb':function(_0x187255,_0x38590b){return _0x187255+_0x38590b;},'vbYPl':function(_0x21fcde,_0x47ebcd){return _0x21fcde+_0x47ebcd;},'YfJOz':_0x5a4fd2(0x1ec),'nnAQo':'ms)','rZbRA':_0x5a4fd2(0x231),'rajzG':function(_0x595795,_0x3e1e52){return _0x595795-_0x3e1e52;},'GSoei':function(_0x448093,_0x44cc89){return _0x448093(_0x44cc89);},'kpnFP':function(_0x3981e3,_0x3039b7){return _0x3981e3(_0x3039b7);},'SGsKJ':function(_0x335b3d,_0x4d7482){return _0x335b3d(_0x4d7482);},'mHTNF':function(_0x5afb48,_0xffd441){return _0x5afb48&&_0xffd441;},'xkIJW':function(_0x2a947a,_0x643a81,_0x2db79a){return _0x2a947a(_0x643a81,_0x2db79a);},'ywXSa':_0x5a4fd2(0x163),'bdQjx':_0x5a4fd2(0x1f8),'GVOMy':function(_0x68ea28,_0x3fcab1){return _0x68ea28(_0x3fcab1);},'QaIHA':_0x5a4fd2(0x162),'Wrwvn':function(_0x42cce9,_0x7cc072){return _0x42cce9>_0x7cc072;},'YCNVr':function(_0x4e454b,_0x57e516){return _0x4e454b-_0x57e516;},'zyqXA':_0x5a4fd2(0x1d8),'vGXlR':function(_0x4e137c,_0x31b78f,_0xb2230a){return _0x4e137c(_0x31b78f,_0xb2230a);},'kAwkr':function(_0x3a5673,_0x3874b5){return _0x3a5673+_0x3874b5;},'uFPNB':'Script\x20error\x20(','FZTUg':_0x5a4fd2(0x17d),'edWOk':'[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','TyqqT':_0x5a4fd2(0x177),'vvsbC':_0x5a4fd2(0x1e5),'SESff':_0x5a4fd2(0x19d),'LzUWi':_0x5a4fd2(0x172),'GmRQb':_0x5a4fd2(0x16b),'nRPKB':function(_0x2cc23a,_0x229dd8,_0xfeeee2){return _0x2cc23a(_0x229dd8,_0xfeeee2);},'NFPny':function(_0x751699,_0x3165ea){return _0x751699-_0x3165ea;},'ouEnN':function(_0x3c818f,_0x3ab781){return _0x3c818f!=_0x3ab781;},'GGfXf':function(_0x45be7e,_0x322ecc){return _0x45be7e>=_0x322ecc;},'UFsXC':function(_0x2da53c,_0x309b63){return _0x2da53c<_0x309b63;},'dLZdi':_0x5a4fd2(0x1e4),'PHQVg':_0x5a4fd2(0x215),'isDQz':function(_0x55ca99,_0x76ec8b,_0x33ab12,_0x3d979b,_0x48184a,_0x131161){return _0x55ca99(_0x76ec8b,_0x33ab12,_0x3d979b,_0x48184a,_0x131161);},'wylJX':function(_0xbbf1e0,_0x5f3da8,_0x585211){return _0xbbf1e0(_0x5f3da8,_0x585211);},'CmFNv':function(_0x5f318f,_0xb51bc1){return _0x5f318f+_0xb51bc1;},'DVVXj':function(_0x361b8c,_0x1ecd6d){return _0x361b8c+_0x1ecd6d;},'yWIAw':function(_0x310c31,_0x551341){return _0x310c31+_0x551341;},'LKrsK':function(_0x147641,_0x25b51b){return _0x147641+_0x25b51b;},'mBKct':function(_0x2661b3,_0x3e11cf){return _0x2661b3+_0x3e11cf;},'MDrRN':function(_0x36b092,_0x32d24b,_0x524b81){return _0x36b092(_0x32d24b,_0x524b81);},'Stjvt':'HTTP\x20Status:\x20','OhKTn':function(_0x366f6c,_0x3f0cdc){return _0x366f6c||_0x3f0cdc;},'kXzDp':_0x5a4fd2(0x169),'bfKHt':function(_0x4afedf,_0x46646f){return _0x4afedf(_0x46646f);},'lYIDW':'done','TAweo':_0x5a4fd2(0x1d1),'nmoIn':'beforeItem','qPLyJ':_0x5a4fd2(0x1e1),'RJeDP':_0x5a4fd2(0x245),'SlLOP':_0x5a4fd2(0x198),'mpUPZ':_0x5a4fd2(0x1f4),'KhkCr':_0x5a4fd2(0x186),'xIvwz':_0x5a4fd2(0x227)},_0xd71b8=new Map();let _0x4aedb9=null,_0x5d4f84=0x0;const _0x31c306=_0x146cf8[_0x5a4fd2(0x1d0)](resolveCollectionFile,_0x2bd700,_0x5a7974),_0x474787=_0x146cf8[_0x5a4fd2(0x196)](resolveCollectionName,_0x2bd700)||_0x31c306,_0x134339=path['resolve'](_0x31c306),_0x44f251='bs:addLog:'+process[_0x5a4fd2(0x1d7)],_0x42c621=_0x4b4ae3=>{const _0x5b01af=_0x5a4fd2;try{_0x4aedb9&&_0x146cf8[_0x5b01af(0x1a2)](emitLog,_0x4aedb9,_0x4b4ae3);}catch(_0xdad138){_0x146cf8[_0x5b01af(0x181)](debug,_0x5b01af(0x23e)+_0xdad138);}};process['on'](_0x44f251,_0x42c621),_0x8f3ba['on'](_0x146cf8['lYIDW'],()=>{const _0x424126=_0x5a4fd2;process['removeListener'](_0x44f251,_0x42c621),_0xd71b8[_0x424126(0x161)]();}),_0x8f3ba['on'](_0x146cf8[_0x5a4fd2(0x1bc)],(_0x31c225,_0x292722)=>{_0x292722&&_0x292722['cursor']&&(_0x5d4f84=_0x292722['cursor']['iteration']||0x0);}),_0x8f3ba['on'](_0x146cf8[_0x5a4fd2(0x202)],(_0x1fb0c8,_0x70ebf2)=>{const _0x25775a=_0x5a4fd2;try{_0x4aedb9=null;const _0x5e4518=_0x70ebf2[_0x25775a(0x227)],_0x247ab8=_0x5e4518[_0x25775a(0x1cb)]()?_0x146cf8[_0x25775a(0x1c3)](getParentTitles,_0x5e4518[_0x25775a(0x1cb)]()):[],_0x505127=_0x146cf8[_0x25775a(0x19e)](_0x247ab8[_0x25775a(0x238)],0x1)?_0x247ab8[_0x25775a(0x1e0)](0x1):_0x247ab8,_0x54a38e=_0x70ebf2['cursor']&&_0x70ebf2[_0x25775a(0x20e)][_0x25775a(0x225)],_0x7419e7={'itemName':_0x5e4518[_0x25775a(0x1bf)],'scopes':_0x505127['concat']([_0x5e4518[_0x25775a(0x1bf)]]),'location':_0x31c306,'collectionName':_0x474787,'startedAt':new Date()[_0x25775a(0x224)](),'startTimestamp':Date[_0x25775a(0x1b0)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0xd71b8[_0x25775a(0x22a)](_0x5e4518['id']+'_'+_0x5d4f84,_0x7419e7),_0x54a38e&&_0xd71b8[_0x25775a(0x22a)](_0x54a38e+'_'+_0x5d4f84,_0x7419e7);}catch(_0x44be53){_0x146cf8['RCWMw'](debug,_0x25775a(0x200)+_0x44be53);}}),_0x8f3ba['on'](_0x146cf8['qPLyJ'],(_0x1ec426,_0x9150fe)=>{const _0x39b141=_0x5a4fd2;try{if(!_0x9150fe||!_0x9150fe[_0x39b141(0x227)])return;const _0x5546a0=_0xd71b8['get'](_0x9150fe['item']['id']+'_'+_0x5d4f84);if(!_0x5546a0)return;_0x9150fe[_0x39b141(0x234)]&&(_0x5546a0['lastResponseCode']=_0x9150fe[_0x39b141(0x234)][_0x39b141(0x166)]||null);if(!_0x9150fe[_0x39b141(0x1e1)])return;let _0x301ea6='',_0x1f6558='';if(_0x9150fe['request'][_0x39b141(0x174)])try{const _0x345e5e=_0x9150fe[_0x39b141(0x1e1)][_0x39b141(0x174)][_0x39b141(0x199)](),_0x2cb8ba=new URL(_0x345e5e[_0x39b141(0x216)](_0x146cf8[_0x39b141(0x16f)])?_0x345e5e:'http://'+_0x345e5e);_0x301ea6=_0x2cb8ba[_0x39b141(0x242)],_0x1f6558=_0x146cf8[_0x39b141(0x1e6)](_0x2cb8ba[_0x39b141(0x1e8)],_0x2cb8ba[_0x39b141(0x229)]);}catch(_0x875491){_0x1f6558=_0x9150fe[_0x39b141(0x1e1)]['url'][_0x39b141(0x199)]();}const _0x57c5c2={};_0x57c5c2[_0x39b141(0x176)]=_0x301ea6,_0x57c5c2['path']=_0x1f6558,_0x57c5c2[_0x39b141(0x1f6)]=_0x9150fe[_0x39b141(0x1e1)]['method']||_0x146cf8['ALJKB'],_0x57c5c2[_0x39b141(0x1ff)]={},_0x57c5c2[_0x39b141(0x22b)]=_0x9150fe['response']?_0x9150fe[_0x39b141(0x234)][_0x39b141(0x166)]||0x0:0x0,_0x57c5c2[_0x39b141(0x1a3)]=_0x9150fe[_0x39b141(0x234)]?_0x9150fe['response']['responseTime']||0x0:0x0,_0x5546a0[_0x39b141(0x20a)]=_0x57c5c2;}catch(_0x41661f){_0x146cf8[_0x39b141(0x1b9)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20request:\x20'+_0x41661f);}}),_0x8f3ba['on'](_0x146cf8['RJeDP'],(_0x362a51,_0x4dd647)=>{const _0x1cb6db=_0x5a4fd2,_0x3f7c63={'hdKjS':function(_0x4f6fcf,_0x5a1dff,_0x3b0bea){const _0x19d5e1=a42_0x89e9;return _0x146cf8[_0x19d5e1(0x1a2)](_0x4f6fcf,_0x5a1dff,_0x3b0bea);},'PSqbM':_0x146cf8['EcaKE']};try{if(!_0x4dd647||!_0x4dd647['item'])return;const _0x4c4e50=_0xd71b8[_0x1cb6db(0x233)](_0x4dd647[_0x1cb6db(0x227)]['id']+'_'+_0x5d4f84);if(!_0x4c4e50)return;const _0x34fae7=_0x4dd647[_0x1cb6db(0x245)]||_0x1cb6db(0x185)+_0x146cf8[_0x1cb6db(0x1de)](_0x4c4e50[_0x1cb6db(0x197)][_0x1cb6db(0x238)],0x1),_0x50d5b9=_0x146cf8['WjSuR'](uuidv4),_0x38ab4a=_0x4c4e50['scopes'][_0x1cb6db(0x211)]([_0x34fae7])[_0x1cb6db(0x20b)]('\x20');_0x4c4e50[_0x1cb6db(0x197)]['push']({'uuid':_0x50d5b9,'name':_0x34fae7,'identifier':_0x38ab4a,'err':_0x146cf8[_0x1cb6db(0x246)](_0x362a51,null)});const _0x162233={};_0x162233[_0x1cb6db(0x237)]=_0x50d5b9,_0x162233[_0x1cb6db(0x1bf)]=_0x34fae7,_0x162233[_0x1cb6db(0x217)]=_0x38ab4a,_0x146cf8[_0x1cb6db(0x1a7)](emitTest,HookState['PRE'],_0x162233,_0x4c4e50,_0x134339,{});_0x146cf8[_0x1cb6db(0x1b1)](_0x4c4e50[_0x1cb6db(0x197)][_0x1cb6db(0x238)],0x1)&&_0x146cf8[_0x1cb6db(0x19e)](_0x4c4e50[_0x1cb6db(0x244)][_0x1cb6db(0x238)],0x0)&&(_0x4c4e50[_0x1cb6db(0x244)]['forEach'](_0x5577a8=>{const _0xdbc0d9=_0x1cb6db;_0x3f7c63['hdKjS'](emitLog,_0x50d5b9,{'kind':_0x3f7c63[_0xdbc0d9(0x1bd)],'message':_0x5577a8['message'],'level':_0x5577a8['level']});}),_0x4c4e50[_0x1cb6db(0x244)]=[]);if(_0x4c4e50[_0x1cb6db(0x20a)]){_0x146cf8[_0x1cb6db(0x1a2)](emitLog,_0x50d5b9,{'kind':_0x146cf8[_0x1cb6db(0x23f)],'http_response':_0x4c4e50[_0x1cb6db(0x20a)]});const _0x179c30=_0x146cf8[_0x1cb6db(0x17c)](_0x146cf8[_0x1cb6db(0x1d3)](_0x146cf8[_0x1cb6db(0x220)](_0x146cf8['yaHxy'](_0x146cf8['vbYPl'](_0x146cf8[_0x1cb6db(0x17c)](_0x146cf8[_0x1cb6db(0x17c)](_0x146cf8[_0x1cb6db(0x1a1)](_0x4c4e50[_0x1cb6db(0x20a)]['method']||_0x146cf8['ALJKB'],'\x20'),_0x4c4e50['httpLog']['host']),_0x4c4e50[_0x1cb6db(0x20a)][_0x1cb6db(0x18f)]),_0x146cf8[_0x1cb6db(0x18d)]),_0x4c4e50[_0x1cb6db(0x20a)][_0x1cb6db(0x22b)]),'\x20('),_0x4c4e50[_0x1cb6db(0x20a)][_0x1cb6db(0x1a3)]),_0x146cf8[_0x1cb6db(0x183)]);_0x146cf8[_0x1cb6db(0x1a2)](emitLog,_0x50d5b9,{'kind':_0x146cf8[_0x1cb6db(0x248)],'message':_0x179c30,'level':_0x146cf8[_0x1cb6db(0x194)]});}_0x4aedb9=_0x50d5b9;}catch(_0x4a4121){_0x146cf8[_0x1cb6db(0x1c3)](debug,_0x1cb6db(0x21c)+_0x4a4121);}}),_0x8f3ba['on'](_0x146cf8[_0x5a4fd2(0x1c8)],(_0x2d9626,_0x4d37fd)=>{const _0x5e91c8=_0x5a4fd2;try{if(!_0x4d37fd)return;let _0x593aee=_0x4aedb9;if(!_0x593aee&&_0x4d37fd['cursor']&&_0x4d37fd['cursor']['ref']){const _0x587984=_0xd71b8[_0x5e91c8(0x233)](_0x4d37fd[_0x5e91c8(0x20e)][_0x5e91c8(0x225)]+'_'+_0x5d4f84);_0x587984&&_0x146cf8[_0x5e91c8(0x19e)](_0x587984[_0x5e91c8(0x197)][_0x5e91c8(0x238)],0x0)&&(_0x593aee=_0x587984['assertions'][_0x146cf8[_0x5e91c8(0x1c4)](_0x587984[_0x5e91c8(0x197)][_0x5e91c8(0x238)],0x1)][_0x5e91c8(0x237)]);}const _0x5533b2=_0x4d37fd['messages']?_0x4d37fd['messages']['join'](',\x20'):'';if(_0x593aee)_0x146cf8['nECpE'](emitLog,_0x593aee,{'kind':_0x146cf8[_0x5e91c8(0x248)],'message':_0x5533b2,'level':_0x146cf8[_0x5e91c8(0x196)](normalizeLogLevel,_0x4d37fd[_0x5e91c8(0x1eb)])});else{if(_0x4d37fd[_0x5e91c8(0x20e)]&&_0x4d37fd['cursor']['ref']){const _0x414d15=_0xd71b8[_0x5e91c8(0x233)](_0x4d37fd[_0x5e91c8(0x20e)]['ref']+'_'+_0x5d4f84);_0x414d15&&_0x414d15[_0x5e91c8(0x244)]['push']({'timestamp':new Date()['toISOString'](),'level':_0x146cf8[_0x5e91c8(0x18b)](normalizeLogLevel,_0x4d37fd['level']),'message':_0x5533b2});}}}catch(_0x51c258){_0x146cf8[_0x5e91c8(0x182)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20console:\x20'+_0x51c258);}}),_0x8f3ba['on'](_0x146cf8[_0x5a4fd2(0x18e)],(_0x19dc05,_0x4279e3)=>{const _0x1b0907=_0x5a4fd2;try{if(!_0x19dc05&&(!_0x4279e3||!_0x4279e3[_0x1b0907(0x1ea)]))return;const _0x282b56=_0x19dc05||_0x4279e3[_0x1b0907(0x1ea)],_0x4faae2=_0x282b56[_0x1b0907(0x1d5)]||_0x146cf8[_0x1b0907(0x1c3)](String,_0x282b56),_0xa54de3=_0x282b56[_0x1b0907(0x1ed)]||_0x4faae2;let _0x2d73f6=_0x4aedb9;if(_0x146cf8[_0x1b0907(0x212)](!_0x2d73f6,_0x4279e3)&&_0x4279e3[_0x1b0907(0x20e)]&&_0x4279e3['cursor'][_0x1b0907(0x225)]){const _0x138bad=_0xd71b8[_0x1b0907(0x233)](_0x4279e3['cursor']['ref']+'_'+_0x5d4f84);_0x138bad&&_0x146cf8['nWfOI'](_0x138bad[_0x1b0907(0x197)][_0x1b0907(0x238)],0x0)&&(_0x2d73f6=_0x138bad[_0x1b0907(0x197)][_0x146cf8[_0x1b0907(0x1c4)](_0x138bad[_0x1b0907(0x197)][_0x1b0907(0x238)],0x1)][_0x1b0907(0x237)]);}_0x2d73f6&&_0x146cf8[_0x1b0907(0x1ae)](emitLog,_0x2d73f6,{'kind':_0x146cf8[_0x1b0907(0x248)],'message':_0x146cf8['hcnMb'](_0x146cf8[_0x1b0907(0x1b5)],_0xa54de3),'level':_0x146cf8[_0x1b0907(0x241)]});}catch(_0x191f56){_0x146cf8[_0x1b0907(0x1f7)](debug,_0x146cf8[_0x1b0907(0x17c)](_0x146cf8[_0x1b0907(0x190)],_0x191f56));}}),_0x8f3ba['on'](_0x146cf8[_0x5a4fd2(0x160)],(_0x57f249,_0x48337a)=>{const _0x54bdf0=_0x5a4fd2;try{if(!_0x48337a||!_0x48337a[_0x54bdf0(0x207)])return;let _0x2c55ff=_0x4aedb9;if(!_0x2c55ff&&_0x48337a[_0x54bdf0(0x20e)]&&_0x48337a[_0x54bdf0(0x20e)][_0x54bdf0(0x225)]){const _0x5809a3=_0xd71b8[_0x54bdf0(0x233)](_0x48337a[_0x54bdf0(0x20e)][_0x54bdf0(0x225)]+'_'+_0x5d4f84);_0x5809a3&&_0x146cf8['Wrwvn'](_0x5809a3[_0x54bdf0(0x197)][_0x54bdf0(0x238)],0x0)&&(_0x2c55ff=_0x5809a3[_0x54bdf0(0x197)][_0x146cf8[_0x54bdf0(0x168)](_0x5809a3['assertions']['length'],0x1)][_0x54bdf0(0x237)]);}if(!_0x2c55ff)return;const _0x46988f=_0x48337a['event']&&_0x48337a[_0x54bdf0(0x1bb)][_0x54bdf0(0x1ce)]||_0x146cf8['zyqXA'];_0x57f249&&_0x146cf8[_0x54bdf0(0x1ee)](emitLog,_0x2c55ff,{'kind':_0x146cf8[_0x54bdf0(0x248)],'message':_0x146cf8[_0x54bdf0(0x1db)](_0x146cf8['rdTKT'](_0x146cf8[_0x54bdf0(0x1e6)](_0x146cf8[_0x54bdf0(0x1d9)],_0x46988f),_0x146cf8[_0x54bdf0(0x203)]),_0x57f249['message']||_0x57f249),'level':_0x146cf8[_0x54bdf0(0x241)]});}catch(_0x41aa56){_0x146cf8['GSoei'](debug,_0x146cf8['hcnMb'](_0x146cf8[_0x54bdf0(0x1dc)],_0x41aa56));}}),_0x8f3ba['on'](_0x146cf8[_0x5a4fd2(0x187)],(_0x294f43,_0x395da2)=>{const _0x2ff83e=_0x5a4fd2,_0x38edf3={'ltkXN':function(_0x4e04e4,_0x5e849d,_0x4dca1f){const _0x3f9e9a=a42_0x89e9;return _0x146cf8[_0x3f9e9a(0x1ad)](_0x4e04e4,_0x5e849d,_0x4dca1f);},'ffLiL':_0x146cf8[_0x2ff83e(0x248)]};try{if(!_0x395da2||!_0x395da2[_0x2ff83e(0x227)])return;const _0x1faf0f=_0x395da2['item']['id']+'_'+_0x5d4f84,_0x534cd1=_0xd71b8[_0x2ff83e(0x233)](_0x1faf0f);if(!_0x534cd1)return;const _0x69010d=new Date(),_0x4cc4c8=_0x146cf8[_0x2ff83e(0x16a)](_0x69010d['getTime'](),_0x534cd1[_0x2ff83e(0x21f)]);if(_0x146cf8[_0x2ff83e(0x19e)](_0x534cd1[_0x2ff83e(0x197)]['length'],0x0))_0x534cd1[_0x2ff83e(0x197)][_0x2ff83e(0x23c)](_0x17cb34=>{const _0x3e310b=_0x2ff83e,_0x7b3372=!!_0x17cb34['err'],_0x5ba85a={'finishedAt':_0x69010d[_0x3e310b(0x224)](),'durationMs':_0x4cc4c8,'result':_0x7b3372?_0x146cf8[_0x3e310b(0x21e)]:_0x146cf8[_0x3e310b(0x1fc)]};_0x7b3372&&(_0x5ba85a[_0x3e310b(0x232)]=_0x17cb34[_0x3e310b(0x1b4)][_0x3e310b(0x1d5)]||'',_0x5ba85a['failureType']=_0x146cf8['tDOBt'](_0x17cb34[_0x3e310b(0x1b4)][_0x3e310b(0x1bf)],_0x146cf8[_0x3e310b(0x1be)])||_0x17cb34[_0x3e310b(0x1b4)][_0x3e310b(0x1d5)]&&_0x17cb34[_0x3e310b(0x1b4)][_0x3e310b(0x1d5)][_0x3e310b(0x240)](_0x146cf8[_0x3e310b(0x22e)])?_0x146cf8[_0x3e310b(0x1be)]:_0x146cf8[_0x3e310b(0x218)],_0x5ba85a[_0x3e310b(0x165)]=[{'backtrace':_0x17cb34[_0x3e310b(0x1b4)][_0x3e310b(0x1ed)]?_0x17cb34[_0x3e310b(0x1b4)][_0x3e310b(0x1ed)][_0x3e310b(0x21d)]('\x0a'):[_0x17cb34[_0x3e310b(0x1b4)][_0x3e310b(0x1d5)]||''],'expanded':[]}]),_0x146cf8[_0x3e310b(0x1a7)](emitTest,HookState['POST'],_0x17cb34,_0x534cd1,_0x134339,_0x5ba85a);});else{const _0xcab4b3=_0x146cf8[_0x2ff83e(0x23b)](uuidv4),_0x3a4703=_0x534cd1[_0x2ff83e(0x184)],_0x22bd74=_0x146cf8[_0x2ff83e(0x1c6)](_0x3a4703,null)&&_0x146cf8['GGfXf'](_0x3a4703,0xc8)&&_0x146cf8[_0x2ff83e(0x16c)](_0x3a4703,0x190),_0x5ee656=_0x534cd1['itemName']+'\x20(HTTP\x20'+_0x146cf8[_0x2ff83e(0x246)](_0x3a4703,_0x146cf8['dLZdi'])+')',_0x4c8cbb={'uuid':_0xcab4b3,'name':_0x5ee656,'identifier':_0x534cd1['scopes'][_0x2ff83e(0x211)]([_0x5ee656])['join']('\x20')},_0x19bfc5={'finishedAt':_0x69010d['toISOString'](),'durationMs':_0x4cc4c8,'result':_0x22bd74?_0x146cf8['vvsbC']:_0x146cf8[_0x2ff83e(0x21e)]};!_0x22bd74&&(_0x19bfc5[_0x2ff83e(0x232)]=_0x146cf8[_0x2ff83e(0x1c6)](_0x3a4703,null)?'HTTP\x20'+_0x3a4703+_0x2ff83e(0x1c9):_0x146cf8[_0x2ff83e(0x195)],_0x19bfc5['failureType']=_0x146cf8[_0x2ff83e(0x218)],_0x19bfc5['failure']=[{'backtrace':[_0x19bfc5[_0x2ff83e(0x232)]],'expanded':[]}]);_0x146cf8[_0x2ff83e(0x1e3)](emitTest,HookState[_0x2ff83e(0x171)],_0x4c8cbb,_0x534cd1,_0x134339,{}),_0x534cd1[_0x2ff83e(0x244)][_0x2ff83e(0x23c)](_0x48dc4d=>{const _0x3767da=_0x2ff83e;_0x38edf3['ltkXN'](emitLog,_0xcab4b3,{'kind':_0x38edf3[_0x3767da(0x235)],'message':_0x48dc4d['message'],'level':_0x48dc4d[_0x3767da(0x1eb)]});});if(_0x534cd1[_0x2ff83e(0x20a)]){_0x146cf8[_0x2ff83e(0x178)](emitLog,_0xcab4b3,{'kind':_0x146cf8[_0x2ff83e(0x23f)],'http_response':_0x534cd1[_0x2ff83e(0x20a)]});const _0x18ee1c=_0x146cf8[_0x2ff83e(0x167)](_0x146cf8['DVVXj'](_0x146cf8[_0x2ff83e(0x18a)](_0x146cf8[_0x2ff83e(0x19f)](_0x146cf8[_0x2ff83e(0x19f)](_0x146cf8[_0x2ff83e(0x17c)](_0x146cf8[_0x2ff83e(0x205)](_0x146cf8[_0x2ff83e(0x20d)](_0x534cd1[_0x2ff83e(0x20a)]['method']||_0x146cf8[_0x2ff83e(0x1f0)],'\x20'),_0x534cd1[_0x2ff83e(0x20a)][_0x2ff83e(0x176)]),_0x534cd1[_0x2ff83e(0x20a)][_0x2ff83e(0x18f)]),_0x146cf8[_0x2ff83e(0x18d)]),_0x534cd1[_0x2ff83e(0x20a)]['status_code']),'\x20('),_0x534cd1['httpLog'][_0x2ff83e(0x1a3)]),_0x146cf8[_0x2ff83e(0x183)]);_0x146cf8['MDrRN'](emitLog,_0xcab4b3,{'kind':_0x146cf8['EcaKE'],'message':_0x18ee1c,'level':_0x146cf8[_0x2ff83e(0x194)]});}else _0x146cf8[_0x2ff83e(0x1a2)](emitLog,_0xcab4b3,{'kind':_0x146cf8['EcaKE'],'message':_0x146cf8[_0x2ff83e(0x167)](_0x146cf8[_0x2ff83e(0x167)](_0x146cf8[_0x2ff83e(0x22f)],_0x146cf8[_0x2ff83e(0x1fb)](_0x3a4703,_0x146cf8[_0x2ff83e(0x1c0)])),_0x146cf8[_0x2ff83e(0x173)]),'level':_0x146cf8['rZbRA']});_0x146cf8[_0x2ff83e(0x1e3)](emitTest,HookState[_0x2ff83e(0x17e)],_0x4c8cbb,_0x534cd1,_0x134339,_0x19bfc5);}_0xd71b8['delete'](_0x1faf0f),_0x395da2[_0x2ff83e(0x20e)]&&_0x395da2['cursor']['ref']&&_0xd71b8[_0x2ff83e(0x19a)](_0x395da2[_0x2ff83e(0x20e)]['ref']+'_'+_0x5d4f84);}catch(_0x5a36ee){_0x146cf8['bfKHt'](debug,_0x2ff83e(0x188)+_0x5a36ee);}});}module['exports']=BrowserStackNewmanReporter;function a42_0xa1bb(){const _0x946058=['object','27Kdnxcp','RCWMw','SGsKJ','nnAQo','lastResponseCode','Assertion\x20','script','xIvwz','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','LogCreated','yWIAw','kpnFP','EEsQB','YfJOz','mpUPZ','path','QaIHA','7567680UDDboF','cwd','platformIndex','rZbRA','PHQVg','GSoei','assertions','console','toString','delete','resolve','info','AssertionError','nWfOI','LKrsK','tJoJJ','vbYPl','nECpE','duration_ms','tFYtF','durationMs','timestamp','NhHRd','logs','HTTP','testFrameworkName','qHpXv','collectionName','nRPKB','xkIJW','tzJsl','now','tDOBt','collection.json','newman','err','ywXSa','inHDD','oJDXv','hSfvY','hikio','finishedAt','event','TAweo','PSqbM','SESff','name','dLZdi','2339550iKRTTb','test_run_uuid','WxvcS','rajzG','../../v2/state/hookState','ouEnN','expanded','SlLOP','\x20—\x20response\x20status\x20in\x20failure\x20range','result','parent','indexOf','collection','listen','bCmdD','MDrRN','beforeIteration','[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json','bagag','http','message','startedAt','pid','unknown','uFPNB','argv','kAwkr','edWOk','TRACE','yaHxy','KQJyd','slice','request','WARN','isDQz','N/A','passed','rdTKT','CtjbB','pathname','DHIaR','error','level','\x20->\x20','stack','vGXlR','lDvsh','ALJKB','http_response','scopes','javascript','exception','kind','method','GVOMy','ERROR','350816frvGXe','winstonLogger','OhKTn','vvsbC','[Newman\x20Reporter]\x20emitTest\x20error:\x20','zAxtT','headers','[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20','getTestFramework','nmoIn','FZTUg','getInstance','DVVXj','TestRunStarted','execution','toUpperCase','9476047ydyQJj','httpLog','join','string','mBKct','cursor','push','14514300SwDpvi','concat','mHTNF','FPSkH','LmFEJ','No\x20HTTP\x20response\x20received','startsWith','identifier','GmRQb','2VwRYmv','128290UJGzHp','TestRunFinished','[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20','split','TyqqT','startTimestamp','hcnMb','relative','uIxSA','yYFYu','toISOString','ref','test_run','item','failure_backtrace','search','set','status_code','../../../helpers/test-observability/utils','run','LzUWi','Stjvt','TEST','INFO','failureReason','get','response','ffLiL','location','uuid','length','collectionPath','Fvadg','WjSuR','forEach','stringify','[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20','nYoIM','includes','bdQjx','hostname','vihDo','bufferedLogs','assertion','hljEq','WrRjt','EcaKE','KhkCr','clear','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','Exception:\x20','nZjNO','failure','code','CmFNv','YCNVr','\x20(no\x20assertions)','NFPny','UnhandledError','UFsXC','8387792etSEYm','pending','AkpUO','TEST_LOG','PRE','assert','kXzDp','url','YgeXg','host','failed','wylJX','[Newman\x20Reporter]\x20emitLog\x20error:\x20','HmdzY','failureType','npwyq','):\x20','POST'];a42_0xa1bb=function(){return _0x946058;};return a42_0xa1bb();}
1
+ 'use strict';function a42_0x5150(){const _0x1ebc44=['pending','failed','TRACE','munBb','event','testFrameworkState','jTqgv','join','nEmbP','stringify','LkyYd','durationMs','No\x20HTTP\x20response\x20received','Assertion\x20','SUTSH','toString','response','hrqfM','QLBdH','ruKxt','scopes','xUUVc','txfhV','get','assertions','N/A','toISOString','lKUqT','http_response','JIHqv','DEBUG','ebPWa','[Newman\x20Reporter]\x20Error\x20in\x20request:\x20','pPtEr','woKMI','expanded','[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json','dMZpT','\x20(no\x20assertions)','forEach','dyFNJ','XpoWi','IWMTn','yfLzl','toUpperCase','[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20','1434VNaVhL','tipAb','logCreatedEvent','url','request','bufferedLogs','tmkXr','847WtjMxd','getInstance','winstonLogger','duration_ms','jrqvw','collectionPath','XzsPI','vHTmw','NUQwS','[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20','TQBqe','event_type','collectionName','beforeIteration','FMclp','TEST','IJZtm','EMXiV','GkZQI','split','apply','CvoPR','[Newman\x20Reporter]\x20emitLog\x20error:\x20','XVrPx','set','[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20','clear','method','length','YcKwU','XNHnZ','info','yLoVD','TdCyh','failureReason','test_run','trackEvent','HJRfl','tGaJl','vyrsq','Script\x20error\x20(','IyZHf','assertion','push','indexOf','failure','item','YIqjN','console','fRkZG','failure_reason_expanded','yLAxc','exception','6720KIZDZB','uploadEventData','script','uuid','beforeItem','timestamp','LSWRo','rWoZf','jwxGF','uVbLQ','stack','phWqU','xYVLA','message','UWlft','qsXdl','TestRunFinished','parent','fQGUF','startedAt','test_run_uuid','now','identifier','argv','POST','1FAnnIZ','AnPZL','):\x20','execution','ceiHo','exports','level','cCTKK','pioGy','3159405VddbDv','done','pathname','ToyIh','collection.json','XesVW','testFrameworkVersion','search','http://','WRuPx','AssertionError','HXzAy','HTTP','httpLog','path','cDVPr','774986WCXOaj','\x20->\x20','TEST_LOG','LogCreated','cursor','LXGxW','dTIom','Fyxpq','resolve','error','zumTU','kind','2307550VllFsK','lastResponseCode','INFO','229740rnLQZu','KDVgR','getTime','host','1056432oBqCps','uTJdR','err','javascript','hostname','result','HTTP\x20Status:\x20','Vhuus','responseTime','status_code','name','pRPFJ','dLItC','concat','sKWMa','PRE','backtrace','AoVAx','pLpwo','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','gTKMn','ms)','newman','failureType','cwd','VgXoS','ELxjh','TestRunStarted','../../../helpers/test-observability/utils','UEzge','../../../helpers/logger','code','includes','xJuTh','WQNFc','ref','ZsmLc','itemName','[Newman\x20Reporter]\x20Error\x20in\x20console:\x20','RTXmE','SCioF','startsWith','GCvPa','HTTP\x20','location','../../v2/browserstackCLI','voiRI','IIsTf','aypEj','relative','MFtVI','messages','delete','ERROR','../../v2/state/hookState','\x20—\x20response\x20status\x20in\x20failure\x20range','OatsY','finishedAt','passed','35248ayaizi','collection','\x20(HTTP\x20','listen','YhCoc','AWgew','../../v2/grpcClient','max','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','slice','XCFNf','qIvhc'];a42_0x5150=function(){return _0x1ebc44;};return a42_0x5150();}const a42_0x5eca49=a42_0x5b31;(function(_0x9199a4,_0x47086d){const _0xbd30b4=a42_0x5b31,_0x44bfd3=_0x9199a4();while(!![]){try{const _0x4a5e5c=-parseInt(_0xbd30b4(0x18e))/0x1*(-parseInt(_0xbd30b4(0x1a7))/0x2)+parseInt(_0xbd30b4(0x1b6))/0x3+-parseInt(_0xbd30b4(0x1ba))/0x4+-parseInt(_0xbd30b4(0x175))/0x5*(parseInt(_0xbd30b4(0x139))/0x6)+-parseInt(_0xbd30b4(0x140))/0x7*(-parseInt(_0xbd30b4(0x1f5))/0x8)+-parseInt(_0xbd30b4(0x197))/0x9+parseInt(_0xbd30b4(0x1b3))/0xa;if(_0x4a5e5c===_0x47086d)break;else _0x44bfd3['push'](_0x44bfd3['shift']());}catch(_0x1499f1){_0x44bfd3['push'](_0x44bfd3['shift']());}}}(a42_0x5150,0x47301));const path=require(a42_0x5eca49(0x1a5)),{v4:uuidv4}=require(a42_0x5eca49(0x178)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{debug}=require(a42_0x5eca49(0x1d6)),logger=require(a42_0x5eca49(0x1d8))[a42_0x5eca49(0x142)],BrowserstackCLI=require(a42_0x5eca49(0x1e7)),GrpcClient=require(a42_0x5eca49(0x1fb)),TestFrameworkState=require('../../v2/state/testFrameworkState'),HookState=require(a42_0x5eca49(0x1f0)),LOG_LEVELS=[a42_0x5eca49(0x1b5),'WARN','ERROR',a42_0x5eca49(0x129),a42_0x5eca49(0x10d)];function isCLIRunning(){try{return BrowserstackCLI['getInstance']()['isRunning']();}catch(_0x358316){return![];}}function a42_0x5b31(_0x32647a,_0x1684ed){const _0x51501c=a42_0x5150();return a42_0x5b31=function(_0x5b3166,_0x4be30d){_0x5b3166=_0x5b3166-0x106;let _0x29803a=_0x51501c[_0x5b3166];return _0x29803a;},a42_0x5b31(_0x32647a,_0x1684ed);}function getParentTitles(_0x4b8e55){const _0x134d64=a42_0x5eca49,_0x5218a4={'LXGxW':function(_0x5f4ae5,_0x30e5ec){return _0x5f4ae5(_0x30e5ec);},'oqoVg':function(_0x556858,_0x30d96c){return _0x556858(_0x30d96c);}},_0x4fa488=[],_0x3aef2c=_0x4b8e55[_0x134d64(0x186)]();return _0x3aef2c&&_0x4fa488[_0x134d64(0x16b)][_0x134d64(0x154)](_0x4fa488,_0x5218a4[_0x134d64(0x1ac)](getParentTitles,_0x3aef2c)),_0x4b8e55[_0x134d64(0x1c4)]&&_0x4fa488['push'](_0x5218a4['oqoVg'](String,_0x4b8e55[_0x134d64(0x1c4)])),_0x4fa488;}function normalizeLogLevel(_0x3b3ac5){const _0x5f32b9=a42_0x5eca49,_0x56c45d={};_0x56c45d[_0x5f32b9(0x14e)]=_0x5f32b9(0x1b5),_0x56c45d[_0x5f32b9(0x150)]=function(_0x9df896,_0xc80601){return _0x9df896!==_0xc80601;};const _0x403829=_0x56c45d;if(!_0x3b3ac5)return _0x403829[_0x5f32b9(0x14e)];const _0x1568d7=_0x3b3ac5[_0x5f32b9(0x137)]();return _0x403829[_0x5f32b9(0x150)](LOG_LEVELS[_0x5f32b9(0x16c)](_0x1568d7),-0x1)?_0x1568d7:_0x403829['FMclp'];}function resolveCollectionFile(_0x4e9ac5,_0x3b1ce2){const _0x2aacac=a42_0x5eca49,_0x5ddf30={};_0x5ddf30[_0x2aacac(0x171)]=function(_0x3e6c6c,_0x229227){return _0x3e6c6c===_0x229227;},_0x5ddf30['xYVLA']='string',_0x5ddf30[_0x2aacac(0x12d)]='run',_0x5ddf30[_0x2aacac(0x1db)]=function(_0x4bc99a,_0x40210b){return _0x4bc99a!==_0x40210b;},_0x5ddf30['phWqU']=function(_0x15a207,_0x5ef517){return _0x15a207<_0x5ef517;},_0x5ddf30[_0x2aacac(0x1fa)]=function(_0x2a884b,_0x293f68){return _0x2a884b+_0x293f68;},_0x5ddf30[_0x2aacac(0x169)]=_0x2aacac(0x12f),_0x5ddf30[_0x2aacac(0x151)]=_0x2aacac(0x19b);const _0x5d7c5c=_0x5ddf30;try{if(_0x3b1ce2&&_0x3b1ce2['collectionPath'])return path[_0x2aacac(0x1eb)](process[_0x2aacac(0x1d2)](),path[_0x2aacac(0x1af)](_0x3b1ce2[_0x2aacac(0x145)]));const _0x3231ca=_0x4e9ac5[_0x2aacac(0x1f6)];if(_0x5d7c5c[_0x2aacac(0x171)](typeof _0x3231ca,_0x5d7c5c[_0x2aacac(0x181)]))return path[_0x2aacac(0x1eb)](process[_0x2aacac(0x1d2)](),path[_0x2aacac(0x1af)](_0x3231ca));const _0x104665=process[_0x2aacac(0x18c)][_0x2aacac(0x16c)](_0x5d7c5c[_0x2aacac(0x12d)]);if(_0x5d7c5c[_0x2aacac(0x1db)](_0x104665,-0x1)&&_0x5d7c5c[_0x2aacac(0x180)](_0x5d7c5c[_0x2aacac(0x1fa)](_0x104665,0x1),process['argv']['length'])){const _0x1d130b=process[_0x2aacac(0x18c)][_0x5d7c5c['AWgew'](_0x104665,0x1)];if(_0x1d130b&&!_0x1d130b[_0x2aacac(0x1e3)]('-'))return path[_0x2aacac(0x1eb)](process['cwd'](),path[_0x2aacac(0x1af)](_0x1d130b));}}catch(_0x1857c0){}return logger[_0x2aacac(0x15f)](_0x5d7c5c[_0x2aacac(0x169)]),_0x5d7c5c['EMXiV'];}function resolveCollectionName(_0x586d0d){const _0x5ffa17=a42_0x5eca49,_0x2d40ae={};_0x2d40ae[_0x5ffa17(0x120)]=function(_0x339029,_0x134e8b){return _0x339029===_0x134e8b;},_0x2d40ae[_0x5ffa17(0x1e8)]='object';const _0x1f780f=_0x2d40ae;try{const _0xc82aa2=_0x586d0d['collection'];if(_0xc82aa2&&_0x1f780f['xUUVc'](typeof _0xc82aa2,_0x1f780f['voiRI']))return _0xc82aa2[_0x5ffa17(0x1c4)]||_0xc82aa2[_0x5ffa17(0x15f)]&&_0xc82aa2[_0x5ffa17(0x15f)][_0x5ffa17(0x1c4)]||null;}catch(_0x1b3dec){}return null;}function emitTest(_0x138854,_0x284bcb,_0x3dd468,_0x204d61,_0x12145b){const _0x21f1f6=a42_0x5eca49,_0x3a2672={'GQVEs':function(_0x3a7c7d){return _0x3a7c7d();},'dTIom':_0x21f1f6(0x10b),'pioGy':function(_0xc9e2ea,_0x4fac23){return _0xc9e2ea(_0x4fac23);},'qIvhc':'newman','XpoWi':_0x21f1f6(0x1bd),'GkZQI':function(_0x3afb97,_0x57aef1){return _0x3afb97!=_0x57aef1;},'NUQwS':function(_0x5a879c,_0x116eb7){return _0x5a879c===_0x116eb7;},'hrqfM':_0x21f1f6(0x1d5),'MPbtr':_0x21f1f6(0x185)};if(_0x3a2672['GQVEs'](isCLIRunning))try{const _0x2c45b0=BrowserstackCLI['getInstance']()['getTestFramework']();if(!_0x2c45b0)return;_0x2c45b0[_0x21f1f6(0x164)](TestFrameworkState[_0x21f1f6(0x14f)],_0x138854,{'test':{'uuid':_0x284bcb[_0x21f1f6(0x178)],'name':_0x284bcb['name'],'scopes':_0x3dd468[_0x21f1f6(0x11f)],'scope':_0x3dd468[_0x21f1f6(0x11f)][_0x21f1f6(0x112)]('\x20'),'file_path':_0x204d61,'location':_0x3dd468[_0x21f1f6(0x14c)],'started_at':_0x3dd468[_0x21f1f6(0x188)],'finished_at':_0x12145b[_0x21f1f6(0x1f3)]||null,'result':_0x12145b['result']||_0x3a2672[_0x21f1f6(0x1ad)],'failure':_0x12145b[_0x21f1f6(0x16d)]||[],'failure_type':_0x12145b['failureType']||null,'failure_reason':_0x12145b[_0x21f1f6(0x162)]||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x1378a4){_0x3a2672[_0x21f1f6(0x196)](debug,'[Newman\x20Reporter]\x20emitTest\x20error:\x20'+_0x1378a4);}else{const _0xc8acc4={'uuid':_0x284bcb[_0x21f1f6(0x178)],'name':_0x284bcb[_0x21f1f6(0x1c4)],'framework':_0x3a2672[_0x21f1f6(0x10a)],'body':{'lang':_0x3a2672[_0x21f1f6(0x134)],'code':null},'scope':_0x3dd468[_0x21f1f6(0x11f)]['join']('\x20'),'scopes':_0x3dd468[_0x21f1f6(0x11f)],'identifier':_0x284bcb['identifier'],'file_name':_0x3dd468[_0x21f1f6(0x14c)],'vc_filepath':_0x3dd468[_0x21f1f6(0x1e6)],'location':_0x3dd468[_0x21f1f6(0x1e6)],'started_at':_0x3dd468[_0x21f1f6(0x188)],'finished_at':_0x12145b[_0x21f1f6(0x1f3)]||null,'duration_in_ms':_0x3a2672[_0x21f1f6(0x152)](_0x12145b[_0x21f1f6(0x116)],null)?Math[_0x21f1f6(0x106)](0x0,_0x12145b[_0x21f1f6(0x116)]):null,'result':_0x12145b[_0x21f1f6(0x1bf)]||_0x3a2672[_0x21f1f6(0x1ad)],'failure_reason':_0x12145b[_0x21f1f6(0x162)]||null,'failure_type':_0x12145b[_0x21f1f6(0x1d1)]||null,'failure':_0x12145b[_0x21f1f6(0x16d)]||[],'retry_of':null,'hooks':[]};_0xc8acc4[_0x21f1f6(0x16d)][0x0]&&(_0xc8acc4['failure_backtrace']=_0xc8acc4[_0x21f1f6(0x16d)][0x0][_0x21f1f6(0x1ca)],_0xc8acc4[_0x21f1f6(0x172)]=_0xc8acc4['failure'][0x0][_0x21f1f6(0x12e)]);const _0x514446=_0x3a2672[_0x21f1f6(0x148)](_0x138854,HookState[_0x21f1f6(0x1c9)])?_0x3a2672[_0x21f1f6(0x11c)]:_0x3a2672['MPbtr'],_0x38b0eb={};_0x38b0eb[_0x21f1f6(0x14b)]=_0x514446,_0x38b0eb[_0x21f1f6(0x163)]=_0xc8acc4,SessionHandler[_0x21f1f6(0x176)](_0x38b0eb);}}function emitLog(_0x5a9063,_0x5486d8){const _0x156f0d=a42_0x5eca49,_0x134f78={'YIqjN':'TEST_LOG','xKiGM':function(_0x1a0887){return _0x1a0887();},'Vhuus':function(_0x5aa0f4,_0x493377){return _0x5aa0f4===_0x493377;},'FnLgd':'HTTP','sKWMa':_0x156f0d(0x1d0),'GBoQG':_0x156f0d(0x14f),'YhCoc':_0x156f0d(0x1b5),'RTXmE':function(_0x447c2f,_0x25484b){return _0x447c2f(_0x25484b);},'lKUqT':function(_0x273be0,_0x4ac6ba){return _0x273be0+_0x4ac6ba;},'yfLzl':_0x156f0d(0x156),'WRuPx':_0x156f0d(0x1aa)},_0x531c89=_0x5486d8[_0x156f0d(0x1b2)]||_0x134f78[_0x156f0d(0x16f)],_0x15c06a=_0x5486d8[_0x156f0d(0x17a)]||new Date()[_0x156f0d(0x125)]();if(_0x134f78['xKiGM'](isCLIRunning))try{const _0x3a4048=_0x134f78[_0x156f0d(0x1c1)](_0x531c89,_0x134f78['FnLgd'])?JSON[_0x156f0d(0x114)](_0x5486d8):_0x5486d8[_0x156f0d(0x182)]||'',_0x31a85c={};_0x31a85c['platformIndex']=0x0,_0x31a85c['testFrameworkName']=_0x134f78[_0x156f0d(0x1c8)],_0x31a85c[_0x156f0d(0x19d)]='',_0x31a85c[_0x156f0d(0x110)]=_0x134f78['GBoQG'],_0x31a85c['logs']=[{'uuid':_0x5a9063,'timestamp':_0x15c06a,'kind':_0x531c89,'level':_0x5486d8['level']||_0x134f78[_0x156f0d(0x1f9)],'message':_0x3a4048}],GrpcClient[_0x156f0d(0x141)]()[_0x156f0d(0x13b)](_0x31a85c);}catch(_0x2431fb){_0x134f78[_0x156f0d(0x1e1)](debug,_0x134f78[_0x156f0d(0x126)](_0x134f78[_0x156f0d(0x136)],_0x2431fb));}else{const _0x1257f4={};_0x1257f4[_0x156f0d(0x189)]=_0x5a9063,_0x1257f4[_0x156f0d(0x17a)]=_0x15c06a,_0x1257f4[_0x156f0d(0x194)]=_0x5486d8[_0x156f0d(0x194)]||null,_0x1257f4[_0x156f0d(0x182)]=_0x5486d8[_0x156f0d(0x182)]||null,_0x1257f4['kind']=_0x531c89,_0x1257f4[_0x156f0d(0x127)]=_0x5486d8[_0x156f0d(0x127)]||{};const _0x1fa5da={};_0x1fa5da[_0x156f0d(0x14b)]=_0x134f78[_0x156f0d(0x1a0)],_0x1fa5da['logs']=[_0x1257f4],SessionHandler[_0x156f0d(0x176)](_0x1fa5da);}}function BrowserStackNewmanReporter(_0xd2e64d,_0x587139,_0xedbaf){const _0x4ed7c6=a42_0x5eca49,_0x3ef1c6={'tipAb':function(_0x52c4f4,_0x14b541,_0x5bfb39){return _0x52c4f4(_0x14b541,_0x5bfb39);},'XNHnZ':function(_0x14c5b5,_0x2ddd97){return _0x14c5b5(_0x2ddd97);},'uVbLQ':function(_0x42f1c6,_0x1f7341){return _0x42f1c6>_0x1f7341;},'OatsY':function(_0x548d56,_0x5d7abc){return _0x548d56(_0x5d7abc);},'qxKUp':'http','vyrsq':function(_0xbe0f9a,_0x5d6e33){return _0xbe0f9a+_0x5d6e33;},'pLpwo':'GET','TdCyh':_0x4ed7c6(0x1a9),'gTKMn':function(_0x5beebf){return _0x5beebf();},'yLAxc':function(_0x4d6c3c,_0x3a9aae){return _0x4d6c3c||_0x3a9aae;},'LkyYd':function(_0x2568d7,_0x1ea6f9,_0x30d611,_0x57822f,_0x5504ed,_0x5c1a21){return _0x2568d7(_0x1ea6f9,_0x30d611,_0x57822f,_0x5504ed,_0x5c1a21);},'TQBqe':function(_0xa3ab50,_0x509e1a){return _0xa3ab50===_0x509e1a;},'IWMTn':function(_0x565fe5,_0x30c29e,_0x529b53){return _0x565fe5(_0x30c29e,_0x529b53);},'AnPZL':_0x4ed7c6(0x1a3),'tmkXr':function(_0x5c2970,_0x1940d9){return _0x5c2970+_0x1940d9;},'aypEj':function(_0x5976b0,_0x2dbf76){return _0x5976b0+_0x2dbf76;},'LSWRo':_0x4ed7c6(0x1a8),'vHTmw':_0x4ed7c6(0x1cf),'nGUSo':function(_0x50c92f,_0x1463fa,_0x305f75){return _0x50c92f(_0x1463fa,_0x305f75);},'SUTSH':'INFO','DyfFc':function(_0x3288a7,_0x473ac4){return _0x3288a7>_0x473ac4;},'CvoPR':function(_0x7ae68d,_0x1489fb){return _0x7ae68d-_0x1489fb;},'GCvPa':function(_0x3d10ac,_0x558eb1,_0x1c6950){return _0x3d10ac(_0x558eb1,_0x1c6950);},'ZsmLc':function(_0xec29a3,_0xff05aa){return _0xec29a3(_0xff05aa);},'UWlft':function(_0x3a241a,_0x3dbdc9){return _0x3a241a(_0x3dbdc9);},'yLoVD':function(_0x4eb3dc,_0x4d3020){return _0x4eb3dc&&_0x4d3020;},'cIQPA':function(_0x2b0a61,_0x36d76b){return _0x2b0a61>_0x36d76b;},'cpeIA':function(_0x171832,_0x1bebe5){return _0x171832-_0x1bebe5;},'JIHqv':function(_0x23bbfe,_0x1b3e36,_0x53b9ba){return _0x23bbfe(_0x1b3e36,_0x53b9ba);},'dLItC':function(_0x12cc67,_0x3344b7){return _0x12cc67+_0x3344b7;},'WQNFc':'Exception:\x20','dyFNJ':_0x4ed7c6(0x1ef),'jTqgv':function(_0x1f43c1,_0x5309fe){return _0x1f43c1(_0x5309fe);},'QLBdH':_0x4ed7c6(0x1cd),'jwxGF':function(_0x5d734a,_0x539098){return _0x5d734a>_0x539098;},'jrqvw':'unknown','IoYdX':function(_0x259232,_0x58179a){return _0x259232+_0x58179a;},'fQGUF':_0x4ed7c6(0x168),'cCTKK':_0x4ed7c6(0x190),'zCTJZ':_0x4ed7c6(0x107),'UEzge':_0x4ed7c6(0x10c),'ceiHo':_0x4ed7c6(0x1f4),'ruKxt':_0x4ed7c6(0x1a1),'RzMyM':'assert','pRPFJ':'UnhandledError','pPtEr':function(_0x138265,_0x3a760c){return _0x138265>_0x3a760c;},'sbCNi':function(_0x29dfd5,_0x6c9d23){return _0x29dfd5!=_0x6c9d23;},'qsXdl':function(_0xdce4b7,_0x18f5ca){return _0xdce4b7>=_0x18f5ca;},'rWoZf':function(_0x1e2d48,_0xfed66c){return _0x1e2d48<_0xfed66c;},'HXzAy':_0x4ed7c6(0x124),'dMZpT':function(_0x28807e,_0xd1911f){return _0x28807e!=_0xd1911f;},'XzsPI':_0x4ed7c6(0x117),'nEmbP':function(_0x3b9e6c,_0x4b608f,_0x4293d0){return _0x3b9e6c(_0x4b608f,_0x4293d0);},'KDVgR':function(_0x5be8b8,_0x2e7d5b){return _0x5be8b8+_0x2e7d5b;},'IIsTf':function(_0x4cf59b,_0x36cdd0){return _0x4cf59b+_0x36cdd0;},'XesVW':function(_0x16dca0,_0x3fd5fc){return _0x16dca0+_0x3fd5fc;},'Fyxpq':function(_0x212362,_0x5e1d50,_0x218fb9){return _0x212362(_0x5e1d50,_0x218fb9);},'uTJdR':function(_0x39fac6,_0x288b9e,_0xd9996e){return _0x39fac6(_0x288b9e,_0xd9996e);},'txfhV':function(_0x3cc01e,_0x21560f){return _0x3cc01e+_0x21560f;},'XVrPx':_0x4ed7c6(0x1c0),'zumTU':function(_0x1ce64e,_0x5661d5){return _0x1ce64e||_0x5661d5;},'VgXoS':_0x4ed7c6(0x131),'MFtVI':function(_0x21a77a,_0x1b7621){return _0x21a77a(_0x1b7621);},'cDVPr':function(_0x3fe3d0,_0x27217a){return _0x3fe3d0(_0x27217a);},'SCioF':_0x4ed7c6(0x198),'ebPWa':_0x4ed7c6(0x14d),'ELxjh':_0x4ed7c6(0x179),'YcKwU':_0x4ed7c6(0x13d),'VMKlX':_0x4ed7c6(0x16a),'tGaJl':_0x4ed7c6(0x170),'munBb':_0x4ed7c6(0x174),'XCFNf':_0x4ed7c6(0x177),'HJRfl':_0x4ed7c6(0x16e)},_0x3690cf=new Map();let _0x476b49=null,_0x5349e8=0x0;const _0x253119=_0x3ef1c6['JIHqv'](resolveCollectionFile,_0xedbaf,_0x587139),_0x3877d7=_0x3ef1c6[_0x4ed7c6(0x1a6)](resolveCollectionName,_0xedbaf)||_0x253119,_0x3e9b13=path[_0x4ed7c6(0x1af)](_0x253119),_0x31f805='bs:addLog:'+process['pid'],_0xf77c0=_0x19efe3=>{const _0x5eb83e=_0x4ed7c6;try{_0x476b49&&_0x3ef1c6[_0x5eb83e(0x13a)](emitLog,_0x476b49,_0x19efe3);}catch(_0x2877a7){_0x3ef1c6['XNHnZ'](debug,_0x5eb83e(0x138)+_0x2877a7);}};process['on'](_0x31f805,_0xf77c0),_0xd2e64d['on'](_0x3ef1c6[_0x4ed7c6(0x1e2)],()=>{const _0xc38b95=_0x4ed7c6;process['removeListener'](_0x31f805,_0xf77c0),_0x3690cf[_0xc38b95(0x15a)]();}),_0xd2e64d['on'](_0x3ef1c6[_0x4ed7c6(0x12a)],(_0x94b6e8,_0x28a933)=>{const _0x49e4b2=_0x4ed7c6;_0x28a933&&_0x28a933[_0x49e4b2(0x1ab)]&&(_0x5349e8=_0x28a933['cursor']['iteration']||0x0);}),_0xd2e64d['on'](_0x3ef1c6[_0x4ed7c6(0x1d4)],(_0x3a94bc,_0x21d252)=>{const _0x1a7b47=_0x4ed7c6;try{_0x476b49=null;const _0x329ac0=_0x21d252['item'],_0x3206fc=_0x329ac0[_0x1a7b47(0x186)]()?_0x3ef1c6[_0x1a7b47(0x15e)](getParentTitles,_0x329ac0[_0x1a7b47(0x186)]()):[],_0x1adf53=_0x3ef1c6[_0x1a7b47(0x17e)](_0x3206fc[_0x1a7b47(0x15c)],0x1)?_0x3206fc[_0x1a7b47(0x108)](0x1):_0x3206fc,_0x4e50be=_0x21d252[_0x1a7b47(0x1ab)]&&_0x21d252['cursor'][_0x1a7b47(0x1dd)],_0xeabc3={'itemName':_0x329ac0[_0x1a7b47(0x1c4)],'scopes':_0x1adf53[_0x1a7b47(0x1c7)]([_0x329ac0[_0x1a7b47(0x1c4)]]),'location':_0x253119,'collectionName':_0x3877d7,'startedAt':new Date()[_0x1a7b47(0x125)](),'startTimestamp':Date[_0x1a7b47(0x18a)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x3690cf[_0x1a7b47(0x158)](_0x329ac0['id']+'_'+_0x5349e8,_0xeabc3),_0x4e50be&&_0x3690cf['set'](_0x4e50be+'_'+_0x5349e8,_0xeabc3);}catch(_0x1f10db){_0x3ef1c6[_0x1a7b47(0x1f2)](debug,_0x1a7b47(0x159)+_0x1f10db);}}),_0xd2e64d['on'](_0x3ef1c6[_0x4ed7c6(0x15d)],(_0x1c1868,_0x151e5a)=>{const _0x5e88a7=_0x4ed7c6;try{if(!_0x151e5a||!_0x151e5a[_0x5e88a7(0x16e)])return;const _0x1d133c=_0x3690cf[_0x5e88a7(0x122)](_0x151e5a[_0x5e88a7(0x16e)]['id']+'_'+_0x5349e8);if(!_0x1d133c)return;_0x151e5a[_0x5e88a7(0x11b)]&&(_0x1d133c[_0x5e88a7(0x1b4)]=_0x151e5a[_0x5e88a7(0x11b)]['code']||null);if(!_0x151e5a[_0x5e88a7(0x13d)])return;let _0x124fb3='',_0x52c67c='';if(_0x151e5a[_0x5e88a7(0x13d)][_0x5e88a7(0x13c)])try{const _0x26eda6=_0x151e5a[_0x5e88a7(0x13d)]['url'][_0x5e88a7(0x11a)](),_0xd00adb=new URL(_0x26eda6[_0x5e88a7(0x1e3)](_0x3ef1c6['qxKUp'])?_0x26eda6:_0x5e88a7(0x19f)+_0x26eda6);_0x124fb3=_0xd00adb[_0x5e88a7(0x1be)],_0x52c67c=_0x3ef1c6[_0x5e88a7(0x167)](_0xd00adb[_0x5e88a7(0x199)],_0xd00adb[_0x5e88a7(0x19e)]);}catch(_0x27be3e){_0x52c67c=_0x151e5a['request'][_0x5e88a7(0x13c)][_0x5e88a7(0x11a)]();}const _0x36df6f={};_0x36df6f['host']=_0x124fb3,_0x36df6f[_0x5e88a7(0x1a5)]=_0x52c67c,_0x36df6f['method']=_0x151e5a['request'][_0x5e88a7(0x15b)]||_0x3ef1c6[_0x5e88a7(0x1cc)],_0x36df6f['headers']={},_0x36df6f[_0x5e88a7(0x1c3)]=_0x151e5a[_0x5e88a7(0x11b)]?_0x151e5a[_0x5e88a7(0x11b)][_0x5e88a7(0x1d9)]||0x0:0x0,_0x36df6f[_0x5e88a7(0x143)]=_0x151e5a[_0x5e88a7(0x11b)]?_0x151e5a[_0x5e88a7(0x11b)][_0x5e88a7(0x1c2)]||0x0:0x0,_0x1d133c[_0x5e88a7(0x1a4)]=_0x36df6f;}catch(_0x50cf50){_0x3ef1c6[_0x5e88a7(0x15e)](debug,_0x5e88a7(0x12b)+_0x50cf50);}}),_0xd2e64d['on'](_0x3ef1c6['VMKlX'],(_0xe76377,_0x47f9a7)=>{const _0x5b8364=_0x4ed7c6;try{if(!_0x47f9a7||!_0x47f9a7['item'])return;const _0x3cd896=_0x3690cf[_0x5b8364(0x122)](_0x47f9a7[_0x5b8364(0x16e)]['id']+'_'+_0x5349e8);if(!_0x3cd896)return;const _0x268f2e=_0x47f9a7[_0x5b8364(0x16a)]||_0x5b8364(0x118)+_0x3ef1c6['vyrsq'](_0x3cd896[_0x5b8364(0x123)][_0x5b8364(0x15c)],0x1),_0x2473de=_0x3ef1c6[_0x5b8364(0x1ce)](uuidv4),_0x1da7c3=_0x3cd896[_0x5b8364(0x11f)][_0x5b8364(0x1c7)]([_0x268f2e])[_0x5b8364(0x112)]('\x20');_0x3cd896['assertions'][_0x5b8364(0x16b)]({'uuid':_0x2473de,'name':_0x268f2e,'identifier':_0x1da7c3,'err':_0x3ef1c6[_0x5b8364(0x173)](_0xe76377,null)});const _0x330bca={};_0x330bca[_0x5b8364(0x178)]=_0x2473de,_0x330bca[_0x5b8364(0x1c4)]=_0x268f2e,_0x330bca[_0x5b8364(0x18b)]=_0x1da7c3,_0x3ef1c6[_0x5b8364(0x115)](emitTest,HookState[_0x5b8364(0x1c9)],_0x330bca,_0x3cd896,_0x3e9b13,{});_0x3ef1c6[_0x5b8364(0x14a)](_0x3cd896[_0x5b8364(0x123)]['length'],0x1)&&_0x3ef1c6['uVbLQ'](_0x3cd896['bufferedLogs'][_0x5b8364(0x15c)],0x0)&&(_0x3cd896[_0x5b8364(0x13e)][_0x5b8364(0x132)](_0x39fb25=>{const _0x13b619=_0x5b8364;_0x3ef1c6[_0x13b619(0x13a)](emitLog,_0x2473de,{'kind':_0x3ef1c6[_0x13b619(0x161)],'message':_0x39fb25[_0x13b619(0x182)],'level':_0x39fb25[_0x13b619(0x194)]});}),_0x3cd896[_0x5b8364(0x13e)]=[]);if(_0x3cd896[_0x5b8364(0x1a4)]){_0x3ef1c6[_0x5b8364(0x135)](emitLog,_0x2473de,{'kind':_0x3ef1c6['AnPZL'],'http_response':_0x3cd896[_0x5b8364(0x1a4)]});const _0x51894e=_0x3ef1c6[_0x5b8364(0x167)](_0x3ef1c6[_0x5b8364(0x167)](_0x3ef1c6[_0x5b8364(0x167)](_0x3ef1c6[_0x5b8364(0x167)](_0x3ef1c6[_0x5b8364(0x167)](_0x3ef1c6[_0x5b8364(0x13f)](_0x3ef1c6[_0x5b8364(0x167)](_0x3ef1c6[_0x5b8364(0x1ea)](_0x3cd896['httpLog'][_0x5b8364(0x15b)]||_0x3ef1c6[_0x5b8364(0x1cc)],'\x20'),_0x3cd896[_0x5b8364(0x1a4)][_0x5b8364(0x1b9)]),_0x3cd896[_0x5b8364(0x1a4)][_0x5b8364(0x1a5)]),_0x3ef1c6[_0x5b8364(0x17b)]),_0x3cd896[_0x5b8364(0x1a4)][_0x5b8364(0x1c3)]),'\x20('),_0x3cd896[_0x5b8364(0x1a4)][_0x5b8364(0x143)]),_0x3ef1c6[_0x5b8364(0x147)]);_0x3ef1c6['nGUSo'](emitLog,_0x2473de,{'kind':_0x3ef1c6[_0x5b8364(0x161)],'message':_0x51894e,'level':_0x3ef1c6[_0x5b8364(0x119)]});}_0x476b49=_0x2473de;}catch(_0x3a87d5){_0x3ef1c6[_0x5b8364(0x15e)](debug,_0x5b8364(0x149)+_0x3a87d5);}}),_0xd2e64d['on'](_0x3ef1c6[_0x4ed7c6(0x166)],(_0x53b6b6,_0x214471)=>{const _0x3bfe93=_0x4ed7c6;try{if(!_0x214471)return;let _0x4132f9=_0x476b49;if(!_0x4132f9&&_0x214471[_0x3bfe93(0x1ab)]&&_0x214471['cursor'][_0x3bfe93(0x1dd)]){const _0x58111c=_0x3690cf[_0x3bfe93(0x122)](_0x214471[_0x3bfe93(0x1ab)][_0x3bfe93(0x1dd)]+'_'+_0x5349e8);_0x58111c&&_0x3ef1c6['DyfFc'](_0x58111c['assertions'][_0x3bfe93(0x15c)],0x0)&&(_0x4132f9=_0x58111c[_0x3bfe93(0x123)][_0x3ef1c6[_0x3bfe93(0x155)](_0x58111c['assertions'][_0x3bfe93(0x15c)],0x1)][_0x3bfe93(0x178)]);}const _0x193dbb=_0x214471[_0x3bfe93(0x1ed)]?_0x214471[_0x3bfe93(0x1ed)][_0x3bfe93(0x112)](',\x20'):'';if(_0x4132f9)_0x3ef1c6['GCvPa'](emitLog,_0x4132f9,{'kind':_0x3ef1c6['TdCyh'],'message':_0x193dbb,'level':_0x3ef1c6[_0x3bfe93(0x15e)](normalizeLogLevel,_0x214471[_0x3bfe93(0x194)])});else{if(_0x214471['cursor']&&_0x214471[_0x3bfe93(0x1ab)][_0x3bfe93(0x1dd)]){const _0x1a6f12=_0x3690cf[_0x3bfe93(0x122)](_0x214471['cursor'][_0x3bfe93(0x1dd)]+'_'+_0x5349e8);_0x1a6f12&&_0x1a6f12[_0x3bfe93(0x13e)]['push']({'timestamp':new Date()[_0x3bfe93(0x125)](),'level':_0x3ef1c6[_0x3bfe93(0x1de)](normalizeLogLevel,_0x214471[_0x3bfe93(0x194)]),'message':_0x193dbb});}}}catch(_0x44bdc6){_0x3ef1c6[_0x3bfe93(0x1f2)](debug,_0x3bfe93(0x1e0)+_0x44bdc6);}}),_0xd2e64d['on'](_0x3ef1c6[_0x4ed7c6(0x10e)],(_0x405024,_0x218d43)=>{const _0x4d1e03=_0x4ed7c6;try{if(!_0x405024&&(!_0x218d43||!_0x218d43[_0x4d1e03(0x1b0)]))return;const _0x578ef0=_0x405024||_0x218d43[_0x4d1e03(0x1b0)],_0x44a410=_0x578ef0[_0x4d1e03(0x182)]||_0x3ef1c6[_0x4d1e03(0x183)](String,_0x578ef0),_0x4ad4bb=_0x578ef0[_0x4d1e03(0x17f)]||_0x44a410;let _0x1ee1b7=_0x476b49;if(_0x3ef1c6[_0x4d1e03(0x160)](!_0x1ee1b7,_0x218d43)&&_0x218d43[_0x4d1e03(0x1ab)]&&_0x218d43[_0x4d1e03(0x1ab)][_0x4d1e03(0x1dd)]){const _0x28dae7=_0x3690cf[_0x4d1e03(0x122)](_0x218d43[_0x4d1e03(0x1ab)][_0x4d1e03(0x1dd)]+'_'+_0x5349e8);_0x28dae7&&_0x3ef1c6['cIQPA'](_0x28dae7[_0x4d1e03(0x123)][_0x4d1e03(0x15c)],0x0)&&(_0x1ee1b7=_0x28dae7[_0x4d1e03(0x123)][_0x3ef1c6['cpeIA'](_0x28dae7[_0x4d1e03(0x123)][_0x4d1e03(0x15c)],0x1)][_0x4d1e03(0x178)]);}_0x1ee1b7&&_0x3ef1c6[_0x4d1e03(0x128)](emitLog,_0x1ee1b7,{'kind':_0x3ef1c6['TdCyh'],'message':_0x3ef1c6[_0x4d1e03(0x1c6)](_0x3ef1c6[_0x4d1e03(0x1dc)],_0x4ad4bb),'level':_0x3ef1c6[_0x4d1e03(0x133)]});}catch(_0x5176fd){_0x3ef1c6[_0x4d1e03(0x111)](debug,_0x3ef1c6[_0x4d1e03(0x1c6)](_0x3ef1c6[_0x4d1e03(0x11d)],_0x5176fd));}}),_0xd2e64d['on'](_0x3ef1c6[_0x4ed7c6(0x109)],(_0x59cd02,_0x13201b)=>{const _0x2684f3=_0x4ed7c6;try{if(!_0x13201b||!_0x13201b[_0x2684f3(0x191)])return;let _0x2caafc=_0x476b49;if(!_0x2caafc&&_0x13201b[_0x2684f3(0x1ab)]&&_0x13201b[_0x2684f3(0x1ab)]['ref']){const _0x46dcfd=_0x3690cf['get'](_0x13201b[_0x2684f3(0x1ab)]['ref']+'_'+_0x5349e8);_0x46dcfd&&_0x3ef1c6[_0x2684f3(0x17d)](_0x46dcfd[_0x2684f3(0x123)][_0x2684f3(0x15c)],0x0)&&(_0x2caafc=_0x46dcfd[_0x2684f3(0x123)][_0x3ef1c6['cpeIA'](_0x46dcfd[_0x2684f3(0x123)]['length'],0x1)][_0x2684f3(0x178)]);}if(!_0x2caafc)return;const _0x47614c=_0x13201b['event']&&_0x13201b[_0x2684f3(0x10f)][_0x2684f3(0x1f8)]||_0x3ef1c6[_0x2684f3(0x144)];_0x59cd02&&_0x3ef1c6[_0x2684f3(0x135)](emitLog,_0x2caafc,{'kind':_0x3ef1c6[_0x2684f3(0x161)],'message':_0x3ef1c6['vyrsq'](_0x3ef1c6[_0x2684f3(0x13f)](_0x3ef1c6['IoYdX'](_0x3ef1c6[_0x2684f3(0x187)],_0x47614c),_0x3ef1c6[_0x2684f3(0x195)]),_0x59cd02['message']||_0x59cd02),'level':_0x3ef1c6[_0x2684f3(0x133)]});}catch(_0x4de245){_0x3ef1c6[_0x2684f3(0x1de)](debug,_0x3ef1c6[_0x2684f3(0x1ea)](_0x3ef1c6['zCTJZ'],_0x4de245));}}),_0xd2e64d['on'](_0x3ef1c6[_0x4ed7c6(0x165)],(_0x31c223,_0x550a4c)=>{const _0x43eb61=_0x4ed7c6,_0x3af81b={'ToyIh':function(_0x501f7c,_0x2b2d77,_0x39a0a7){const _0x155be4=a42_0x5b31;return _0x3ef1c6[_0x155be4(0x1e4)](_0x501f7c,_0x2b2d77,_0x39a0a7);},'AoVAx':_0x3ef1c6[_0x43eb61(0x161)]};try{if(!_0x550a4c||!_0x550a4c[_0x43eb61(0x16e)])return;const _0x1bfb8d=_0x550a4c[_0x43eb61(0x16e)]['id']+'_'+_0x5349e8,_0x569982=_0x3690cf[_0x43eb61(0x122)](_0x1bfb8d);if(!_0x569982)return;const _0x1668b2=new Date(),_0x3ee0f7=_0x3ef1c6['cpeIA'](_0x1668b2[_0x43eb61(0x1b8)](),_0x569982['startTimestamp']);if(_0x3ef1c6[_0x43eb61(0x12c)](_0x569982[_0x43eb61(0x123)]['length'],0x0))_0x569982[_0x43eb61(0x123)][_0x43eb61(0x132)](_0x5d7e9a=>{const _0x27f31e=_0x43eb61,_0x36dece=!!_0x5d7e9a[_0x27f31e(0x1bc)],_0x4eb0dd={'finishedAt':_0x1668b2[_0x27f31e(0x125)](),'durationMs':_0x3ee0f7,'result':_0x36dece?_0x3ef1c6[_0x27f31e(0x1d7)]:_0x3ef1c6[_0x27f31e(0x192)]};_0x36dece&&(_0x4eb0dd[_0x27f31e(0x162)]=_0x5d7e9a['err'][_0x27f31e(0x182)]||'',_0x4eb0dd[_0x27f31e(0x1d1)]=_0x3ef1c6[_0x27f31e(0x14a)](_0x5d7e9a[_0x27f31e(0x1bc)][_0x27f31e(0x1c4)],_0x3ef1c6[_0x27f31e(0x11e)])||_0x5d7e9a[_0x27f31e(0x1bc)]['message']&&_0x5d7e9a[_0x27f31e(0x1bc)][_0x27f31e(0x182)][_0x27f31e(0x1da)](_0x3ef1c6['RzMyM'])?_0x3ef1c6['ruKxt']:_0x3ef1c6['pRPFJ'],_0x4eb0dd[_0x27f31e(0x16d)]=[{'backtrace':_0x5d7e9a[_0x27f31e(0x1bc)][_0x27f31e(0x17f)]?_0x5d7e9a[_0x27f31e(0x1bc)]['stack'][_0x27f31e(0x153)]('\x0a'):[_0x5d7e9a[_0x27f31e(0x1bc)][_0x27f31e(0x182)]||''],'expanded':[]}]),_0x3ef1c6[_0x27f31e(0x115)](emitTest,HookState[_0x27f31e(0x18d)],_0x5d7e9a,_0x569982,_0x3e9b13,_0x4eb0dd);});else{const _0x92d63e=_0x3ef1c6[_0x43eb61(0x1ce)](uuidv4),_0x23190d=_0x569982[_0x43eb61(0x1b4)],_0x232c46=_0x3ef1c6['sbCNi'](_0x23190d,null)&&_0x3ef1c6[_0x43eb61(0x184)](_0x23190d,0xc8)&&_0x3ef1c6[_0x43eb61(0x17c)](_0x23190d,0x190),_0x374802=_0x569982[_0x43eb61(0x1df)]+_0x43eb61(0x1f7)+_0x3ef1c6[_0x43eb61(0x173)](_0x23190d,_0x3ef1c6[_0x43eb61(0x1a2)])+')',_0x48df09={'uuid':_0x92d63e,'name':_0x374802,'identifier':_0x569982['scopes'][_0x43eb61(0x1c7)]([_0x374802])[_0x43eb61(0x112)]('\x20')},_0x3091e4={'finishedAt':_0x1668b2[_0x43eb61(0x125)](),'durationMs':_0x3ee0f7,'result':_0x232c46?_0x3ef1c6[_0x43eb61(0x192)]:_0x3ef1c6[_0x43eb61(0x1d7)]};!_0x232c46&&(_0x3091e4[_0x43eb61(0x162)]=_0x3ef1c6[_0x43eb61(0x130)](_0x23190d,null)?_0x43eb61(0x1e5)+_0x23190d+_0x43eb61(0x1f1):_0x3ef1c6[_0x43eb61(0x146)],_0x3091e4[_0x43eb61(0x1d1)]=_0x3ef1c6[_0x43eb61(0x1c5)],_0x3091e4[_0x43eb61(0x16d)]=[{'backtrace':[_0x3091e4[_0x43eb61(0x162)]],'expanded':[]}]);_0x3ef1c6[_0x43eb61(0x115)](emitTest,HookState['PRE'],_0x48df09,_0x569982,_0x3e9b13,{}),_0x569982['bufferedLogs'][_0x43eb61(0x132)](_0x587f7f=>{const _0xb8fcff=_0x43eb61;_0x3af81b[_0xb8fcff(0x19a)](emitLog,_0x92d63e,{'kind':_0x3af81b[_0xb8fcff(0x1cb)],'message':_0x587f7f[_0xb8fcff(0x182)],'level':_0x587f7f[_0xb8fcff(0x194)]});});if(_0x569982[_0x43eb61(0x1a4)]){_0x3ef1c6[_0x43eb61(0x113)](emitLog,_0x92d63e,{'kind':_0x3ef1c6[_0x43eb61(0x18f)],'http_response':_0x569982[_0x43eb61(0x1a4)]});const _0x38b841=_0x3ef1c6[_0x43eb61(0x1b7)](_0x3ef1c6[_0x43eb61(0x13f)](_0x3ef1c6[_0x43eb61(0x1e9)](_0x3ef1c6[_0x43eb61(0x1ea)](_0x3ef1c6['XesVW'](_0x3ef1c6['KDVgR'](_0x3ef1c6[_0x43eb61(0x19c)](_0x3ef1c6['dLItC'](_0x569982['httpLog'][_0x43eb61(0x15b)]||_0x3ef1c6[_0x43eb61(0x1cc)],'\x20'),_0x569982[_0x43eb61(0x1a4)][_0x43eb61(0x1b9)]),_0x569982['httpLog'][_0x43eb61(0x1a5)]),_0x3ef1c6[_0x43eb61(0x17b)]),_0x569982[_0x43eb61(0x1a4)][_0x43eb61(0x1c3)]),'\x20('),_0x569982[_0x43eb61(0x1a4)][_0x43eb61(0x143)]),_0x3ef1c6[_0x43eb61(0x147)]);_0x3ef1c6[_0x43eb61(0x1ae)](emitLog,_0x92d63e,{'kind':_0x3ef1c6[_0x43eb61(0x161)],'message':_0x38b841,'level':_0x3ef1c6[_0x43eb61(0x119)]});}else _0x3ef1c6[_0x43eb61(0x1bb)](emitLog,_0x92d63e,{'kind':_0x3ef1c6[_0x43eb61(0x161)],'message':_0x3ef1c6[_0x43eb61(0x121)](_0x3ef1c6[_0x43eb61(0x1e9)](_0x3ef1c6[_0x43eb61(0x157)],_0x3ef1c6[_0x43eb61(0x1b1)](_0x23190d,_0x3ef1c6[_0x43eb61(0x1a2)])),_0x3ef1c6[_0x43eb61(0x1d3)]),'level':_0x3ef1c6[_0x43eb61(0x119)]});_0x3ef1c6[_0x43eb61(0x115)](emitTest,HookState[_0x43eb61(0x18d)],_0x48df09,_0x569982,_0x3e9b13,_0x3091e4);}_0x3690cf['delete'](_0x1bfb8d),_0x550a4c[_0x43eb61(0x1ab)]&&_0x550a4c[_0x43eb61(0x1ab)][_0x43eb61(0x1dd)]&&_0x3690cf[_0x43eb61(0x1ee)](_0x550a4c[_0x43eb61(0x1ab)][_0x43eb61(0x1dd)]+'_'+_0x5349e8);}catch(_0x534515){_0x3ef1c6[_0x43eb61(0x1ec)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20item:\x20'+_0x534515);}});}module[a42_0x5eca49(0x193)]=BrowserStackNewmanReporter;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a43_0x40be46=a43_0x916c;(function(_0x14a518,_0x20376f){const _0x492d16=a43_0x916c,_0x47fb86=_0x14a518();while(!![]){try{const _0x4aa7ba=-parseInt(_0x492d16(0x12b))/0x1*(parseInt(_0x492d16(0x100))/0x2)+parseInt(_0x492d16(0x10d))/0x3*(parseInt(_0x492d16(0x11f))/0x4)+-parseInt(_0x492d16(0xff))/0x5*(-parseInt(_0x492d16(0xfb))/0x6)+parseInt(_0x492d16(0x106))/0x7*(parseInt(_0x492d16(0x115))/0x8)+-parseInt(_0x492d16(0x122))/0x9+-parseInt(_0x492d16(0x13d))/0xa+parseInt(_0x492d16(0x119))/0xb*(parseInt(_0x492d16(0x114))/0xc);if(_0x4aa7ba===_0x20376f)break;else _0x47fb86['push'](_0x47fb86['shift']());}catch(_0x1bdb16){_0x47fb86['push'](_0x47fb86['shift']());}}}(a43_0x1894,0xeaab2));function a43_0x916c(_0xfd0b1c,_0x458b9e){const _0x18940e=a43_0x1894();return a43_0x916c=function(_0x916c08,_0x458ca1){_0x916c08=_0x916c08-0xfb;let _0x208c71=_0x18940e[_0x916c08];return _0x208c71;},a43_0x916c(_0xfd0b1c,_0x458b9e);}const path=require(a43_0x40be46(0x10a)),Module=require('module'),BrowserstackCLI=require(a43_0x40be46(0x101)),scriptFile=process[a43_0x40be46(0x113)][0x2],maxParallel=parseInt(process[a43_0x40be46(0x113)][0x3])||0x0;!scriptFile&&(process[a43_0x40be46(0x128)][a43_0x40be46(0x132)]('[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a'),process[a43_0x40be46(0x131)](0x1));const reporterPath=path[a43_0x40be46(0x129)](__dirname,a43_0x40be46(0x138),a43_0x40be46(0x12c)),originalResolveFilename=Module[a43_0x40be46(0x12d)];Module[a43_0x40be46(0x12d)]=function(_0xca6fd5,_0x502a1d,_0x555407,_0x41804a){const _0x28a526=a43_0x40be46,_0x58474d={};_0x58474d[_0x28a526(0x125)]=function(_0x1ca26d,_0x3c9d3c){return _0x1ca26d===_0x3c9d3c;},_0x58474d[_0x28a526(0x12f)]='newman-reporter-browserstack';const _0x9a51c1=_0x58474d;if(_0x9a51c1['aEbhn'](_0xca6fd5,_0x9a51c1['NWrGy']))return reporterPath;return originalResolveFilename[_0x28a526(0x10c)](this,_0xca6fd5,_0x502a1d,_0x555407,_0x41804a);};let limit;try{const pLimit=require('p-limit'),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a43_0x1d9806){limit=function(_0x2df2b7){const _0x36c9bb=a43_0x40be46,_0x5166a9={'GjXKk':function(_0xa786fe){return _0xa786fe();}};return _0x5166a9[_0x36c9bb(0x105)](_0x2df2b7);};}let wrappedNewman=null,hasFailure=![];const originalLoad=Module[a43_0x40be46(0x136)];Module['_load']=function(_0x5205ce,_0x3a7454,_0xf73a4c){const _0x260e1a=a43_0x40be46,_0x1365be={'saTFQ':function(_0x40b784,_0x59d9c1){return _0x40b784>_0x59d9c1;},'fTYrd':function(_0x1f8da5,_0xfb28e){return _0x1f8da5||_0xfb28e;},'qHLZe':function(_0x325b4,_0x303c2e,_0x166fe0){return _0x325b4(_0x303c2e,_0x166fe0);},'IULLn':function(_0x33c879,_0x808315){return _0x33c879(_0x808315);},'NrFsq':_0x260e1a(0x130),'WExSs':function(_0x18d6f3,_0x40bc84){return _0x18d6f3===_0x40bc84;},'cMQHY':_0x260e1a(0x121),'ixuue':function(_0x1b95c9,_0x550e94){return _0x1b95c9===_0x550e94;},'ocWYt':_0x260e1a(0x135),'TVsUp':function(_0x5da5b9,_0xd7cd56){return _0x5da5b9(_0xd7cd56);},'IbuRj':function(_0x1cd1e2,_0x45f459){return _0x1cd1e2!==_0x45f459;},'ZVhGE':_0x260e1a(0x110)},_0x5eecac=originalLoad[_0x260e1a(0x10c)](this,_0x5205ce,_0x3a7454,_0xf73a4c);if(_0x1365be[_0x260e1a(0x126)](_0x5205ce,_0x1365be['ZVhGE']))return _0x5eecac;if(wrappedNewman)return wrappedNewman;const _0x45c652=_0x5eecac[_0x260e1a(0x139)]['bind'](_0x5eecac);return wrappedNewman=Object[_0x260e1a(0x133)](_0x5eecac),wrappedNewman[_0x260e1a(0x139)]=function(_0x4836d6,_0x5b20c1){const _0x2fcef7=_0x260e1a,_0x9c80f9={'xDNQT':function(_0x567812,_0xbbc3c){const _0x4525=a43_0x916c;return _0x1365be[_0x4525(0x10e)](_0x567812,_0xbbc3c);},'ymcBG':function(_0x36dc07,_0x116637){const _0x34cfdd=a43_0x916c;return _0x1365be[_0x34cfdd(0xfe)](_0x36dc07,_0x116637);},'NPDmu':function(_0x2b69c6,_0x3bb240,_0x3ad454){const _0x132d96=a43_0x916c;return _0x1365be[_0x132d96(0x109)](_0x2b69c6,_0x3bb240,_0x3ad454);},'nDzZt':function(_0x2c602b,_0x216db6){const _0x41e3cc=a43_0x916c;return _0x1365be[_0x41e3cc(0x10b)](_0x2c602b,_0x216db6);}};let _0x197122=_0x4836d6[_0x2fcef7(0x134)]||[_0x1365be[_0x2fcef7(0x118)]];_0x1365be[_0x2fcef7(0x11a)](_0x197122[_0x2fcef7(0x120)](_0x1365be[_0x2fcef7(0x11d)]),-0x1)&&(_0x197122=_0x197122['concat']([_0x1365be[_0x2fcef7(0x11d)]]));const _0x5310aa=_0x1365be[_0x2fcef7(0x107)](typeof _0x4836d6[_0x2fcef7(0x102)],_0x1365be['ocWYt'])?_0x4836d6[_0x2fcef7(0x102)]:undefined,_0x5b4c9f={};_0x5b4c9f[_0x2fcef7(0x13a)]=_0x5310aa;const _0x201595=Object[_0x2fcef7(0x11b)]({},_0x4836d6[_0x2fcef7(0x138)],{'browserstack':Object[_0x2fcef7(0x11b)]({},_0x4836d6[_0x2fcef7(0x138)]&&_0x4836d6[_0x2fcef7(0x138)]['browserstack'],_0x5b4c9f)}),_0x1bff6e={};return _0x1bff6e[_0x2fcef7(0x134)]=_0x197122,_0x1bff6e[_0x2fcef7(0x138)]=_0x201595,_0x4836d6=Object[_0x2fcef7(0x11b)]({},_0x4836d6,_0x1bff6e),_0x1365be['TVsUp'](limit,function(){const _0x47826c={'SFLSy':function(_0x398839,_0x1332a5){const _0x1aa3c8=a43_0x916c;return _0x9c80f9[_0x1aa3c8(0x13b)](_0x398839,_0x1332a5);},'bMwKk':function(_0x130909,_0x501a0d){const _0x4ac3dc=a43_0x916c;return _0x9c80f9[_0x4ac3dc(0x10f)](_0x130909,_0x501a0d);},'riPpk':function(_0x1b3765,_0x345876,_0x570c69){const _0x2e47dc=a43_0x916c;return _0x9c80f9[_0x2e47dc(0x124)](_0x1b3765,_0x345876,_0x570c69);},'ERdci':function(_0x1a5650,_0x361867){const _0x13ce8b=a43_0x916c;return _0x9c80f9[_0x13ce8b(0x11e)](_0x1a5650,_0x361867);}};return new Promise(function(_0x1574e8){const _0x3db4f5=a43_0x916c;_0x47826c[_0x3db4f5(0x137)](_0x45c652,_0x4836d6,function(_0x18e989,_0x34b1c1){const _0x224cba=_0x3db4f5,_0x1d59db=_0x34b1c1&&_0x34b1c1[_0x224cba(0x139)]&&(_0x34b1c1[_0x224cba(0x139)][_0x224cba(0x103)]||_0x34b1c1[_0x224cba(0x139)][_0x224cba(0x11c)]&&_0x47826c[_0x224cba(0x117)](_0x34b1c1[_0x224cba(0x139)]['failures'][_0x224cba(0x13c)],0x0));_0x47826c[_0x224cba(0xfc)](_0x1d59db,_0x18e989)&&(hasFailure=!![]),_0x5b20c1&&_0x47826c[_0x224cba(0x137)](_0x5b20c1,_0x18e989,_0x34b1c1),_0x47826c[_0x224cba(0x104)](_0x1574e8,_0x34b1c1);});});});},wrappedNewman;};function a43_0x1894(){const _0x168117=['bMwKk','exitCode','fTYrd','5EsITwh','164YyjSkx','../v2/browserstackCLI','collection','error','ERdci','GjXKk','21xjNXhm','ixuue','message','qHLZe','path','IULLn','call','1443qVFYrq','saTFQ','ymcBG','newman','ivXfA','beforeExit','argv','3036HgPVLk','144768XLQyPb','resolve','SFLSy','NrFsq','47069SbxKmB','WExSs','assign','failures','cMQHY','nDzZt','11028YkPeCR','indexOf','browserstack','906579LcHaCb','vCpJV','NPDmu','aEbhn','IbuRj','OwAMC','stderr','join','bootstrap','20024TkjjOE','index.js','_resolveFilename','[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20','NWrGy','cli','exit','write','create','reporters','string','_load','riPpk','reporter','run','collectionPath','xDNQT','length','7083080fSvQct','5695302ZttCxN'];a43_0x1894=function(){return _0x168117;};return a43_0x1894();}async function main(){const _0x29af9d=a43_0x40be46,_0x2fe436={'vCpJV':function(_0x10fe30,_0x206039){return _0x10fe30(_0x206039);},'OwAMC':function(_0x26ba48,_0x112f98){return _0x26ba48+_0x112f98;},'kTCca':function(_0x14ccc2,_0x1f765d){return _0x14ccc2+_0x1f765d;},'YBvit':_0x29af9d(0x12e)};try{await BrowserstackCLI['getInstance']()[_0x29af9d(0x12a)]();}catch(_0x5103e1){}try{_0x2fe436[_0x29af9d(0x123)](require,path[_0x29af9d(0x116)](scriptFile));}catch(_0x2668d6){process[_0x29af9d(0x128)][_0x29af9d(0x132)](_0x2fe436[_0x29af9d(0x127)](_0x2fe436['kTCca'](_0x2fe436['YBvit'],_0x2668d6[_0x29af9d(0x108)]||_0x2668d6),'\x0a')),process[_0x29af9d(0xfd)]=0x1;}}main(),process['on'](a43_0x40be46(0x112),function(){const _0x239e21=a43_0x40be46;hasFailure&&(process[_0x239e21(0xfd)]=0x1);}),process['on'](a43_0x40be46(0x131),function(){const _0x3d0bc=a43_0x40be46,_0x1d196f={};_0x1d196f[_0x3d0bc(0x111)]=function(_0x6d66ba,_0x305ada){return _0x6d66ba===_0x305ada;};const _0x45ea31=_0x1d196f;hasFailure&&_0x45ea31[_0x3d0bc(0x111)](process[_0x3d0bc(0xfd)],0x0)&&(process[_0x3d0bc(0xfd)]=0x1);});
2
+ 'use strict';function a43_0x5eb8(_0x510d13,_0x3b3d01){const _0x5d4a94=a43_0x5d4a();return a43_0x5eb8=function(_0x5eb8a0,_0x4d22a9){_0x5eb8a0=_0x5eb8a0-0x1ee;let _0x3c09d8=_0x5d4a94[_0x5eb8a0];return _0x3c09d8;},a43_0x5eb8(_0x510d13,_0x3b3d01);}const a43_0x52689f=a43_0x5eb8;(function(_0x1ac0ae,_0x9cc347){const _0x86906b=a43_0x5eb8,_0x1538cb=_0x1ac0ae();while(!![]){try{const _0x184018=parseInt(_0x86906b(0x226))/0x1+parseInt(_0x86906b(0x1fd))/0x2*(parseInt(_0x86906b(0x218))/0x3)+-parseInt(_0x86906b(0x219))/0x4*(parseInt(_0x86906b(0x214))/0x5)+parseInt(_0x86906b(0x216))/0x6+-parseInt(_0x86906b(0x22d))/0x7+-parseInt(_0x86906b(0x207))/0x8*(-parseInt(_0x86906b(0x208))/0x9)+-parseInt(_0x86906b(0x202))/0xa*(parseInt(_0x86906b(0x1f7))/0xb);if(_0x184018===_0x9cc347)break;else _0x1538cb['push'](_0x1538cb['shift']());}catch(_0x4b7e03){_0x1538cb['push'](_0x1538cb['shift']());}}}(a43_0x5d4a,0x8dd58));const path=require(a43_0x52689f(0x203)),Module=require(a43_0x52689f(0x1f4)),BrowserstackCLI=require(a43_0x52689f(0x227)),scriptFile=process[a43_0x52689f(0x221)][0x2],maxParallel=parseInt(process[a43_0x52689f(0x221)][0x3])||0x0;!scriptFile&&(process[a43_0x52689f(0x1f9)][a43_0x52689f(0x224)](a43_0x52689f(0x22e)),process['exit'](0x1));const reporterPath=path[a43_0x52689f(0x21b)](__dirname,a43_0x52689f(0x225),a43_0x52689f(0x201)),originalResolveFilename=Module[a43_0x52689f(0x1fc)];Module['_resolveFilename']=function(_0x4967de,_0x800b99,_0x3b3a00,_0x1f3ce0){const _0x3d66c3=a43_0x52689f,_0x5ad55c={};_0x5ad55c[_0x3d66c3(0x20f)]=function(_0x2c183f,_0x16e679){return _0x2c183f===_0x16e679;},_0x5ad55c[_0x3d66c3(0x205)]='newman-reporter-browserstack';const _0x20854b=_0x5ad55c;if(_0x20854b[_0x3d66c3(0x20f)](_0x4967de,_0x20854b[_0x3d66c3(0x205)]))return reporterPath;return originalResolveFilename[_0x3d66c3(0x20e)](this,_0x4967de,_0x800b99,_0x3b3a00,_0x1f3ce0);};let limit;try{const pLimit=require(a43_0x52689f(0x209)),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a43_0x4bc0c1){limit=function(_0x4527d7){const _0x4f872b={'gOCaQ':function(_0x7e5059){return _0x7e5059();}};return _0x4f872b['gOCaQ'](_0x4527d7);};}let wrappedNewman=null,hasFailure=![];const originalLoad=Module['_load'];function a43_0x5d4a(){const _0x30e4d2=['../v2/browserstackCLI','_load','exitCode','getInstance','resolve','failures','2811676wNqyTR','[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a','error','gROon','beforeExit','ONJHG','SDOEp','string','assign','module','PSVwY','reporters','234883TsNKlK','message','stderr','browserstack','EiAbZ','_resolveFilename','554RYdAxX','gEqJV','collection','imdKq','index.js','10zumoAj','path','cli','bFPOa','length','152pRUVFH','111681JEpfqB','p-limit','create','TlIZv','collectionPath','indexOf','call','KrGBJ','run','exit','newman','EKvwg','5uHuEiu','ARAWL','1255842dVakyn','[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20','5127KdpEEt','155708TuTjHE','Svcgf','join','bind','bootstrap','RqPEA','CuKyb','daRXR','argv','fLxBI','Esqcp','write','reporter','124429uKqLgP'];a43_0x5d4a=function(){return _0x30e4d2;};return a43_0x5d4a();}Module[a43_0x52689f(0x228)]=function(_0x16d9f1,_0x1a2665,_0xd9cf5c){const _0x10f73e=a43_0x52689f,_0xfb329d={'CuKyb':function(_0x58a688,_0x4b0bb6){return _0x58a688>_0x4b0bb6;},'AyEXR':function(_0x46a070,_0x273214){return _0x46a070||_0x273214;},'RqPEA':function(_0x59c7d2,_0x1c5bc8,_0x44ff4c){return _0x59c7d2(_0x1c5bc8,_0x44ff4c);},'EiAbZ':function(_0x57ca73,_0x10fa91){return _0x57ca73(_0x10fa91);},'daRXR':function(_0x3a4d32,_0x58f957,_0x5e6933){return _0x3a4d32(_0x58f957,_0x5e6933);},'ARAWL':_0x10f73e(0x204),'ONJHG':function(_0x7157ff,_0x41cd85){return _0x7157ff===_0x41cd85;},'gROon':_0x10f73e(0x1fa),'Esqcp':_0x10f73e(0x1f2),'Oakwo':function(_0x1d03e3,_0x28d445){return _0x1d03e3!==_0x28d445;},'SDOEp':_0x10f73e(0x212)},_0x26ff7d=originalLoad['call'](this,_0x16d9f1,_0x1a2665,_0xd9cf5c);if(_0xfb329d['Oakwo'](_0x16d9f1,_0xfb329d[_0x10f73e(0x1f1)]))return _0x26ff7d;if(wrappedNewman)return wrappedNewman;const _0x56e504=_0x26ff7d['run'][_0x10f73e(0x21c)](_0x26ff7d);return wrappedNewman=Object[_0x10f73e(0x20a)](_0x26ff7d),wrappedNewman[_0x10f73e(0x210)]=function(_0x461091,_0x1acf94){const _0x18c5b0=_0x10f73e,_0x19e97d={'fLxBI':function(_0x594b18,_0xf71b9b,_0x516ebf){const _0x4cc9b7=a43_0x5eb8;return _0xfb329d[_0x4cc9b7(0x220)](_0x594b18,_0xf71b9b,_0x516ebf);}};let _0x5700c1=_0x461091[_0x18c5b0(0x1f6)]||[_0xfb329d[_0x18c5b0(0x215)]];_0xfb329d['ONJHG'](_0x5700c1[_0x18c5b0(0x20d)](_0xfb329d[_0x18c5b0(0x1ee)]),-0x1)&&(_0x5700c1=_0x5700c1['concat']([_0xfb329d[_0x18c5b0(0x1ee)]]));const _0x515f43=_0xfb329d[_0x18c5b0(0x1f0)](typeof _0x461091[_0x18c5b0(0x1ff)],_0xfb329d[_0x18c5b0(0x223)])?_0x461091[_0x18c5b0(0x1ff)]:undefined,_0x4f27d0={};_0x4f27d0[_0x18c5b0(0x20c)]=_0x515f43;const _0x8364b9=Object[_0x18c5b0(0x1f3)]({},_0x461091[_0x18c5b0(0x225)],{'browserstack':Object['assign']({},_0x461091[_0x18c5b0(0x225)]&&_0x461091[_0x18c5b0(0x225)][_0x18c5b0(0x1fa)],_0x4f27d0)}),_0x476a38={};return _0x476a38['reporters']=_0x5700c1,_0x476a38[_0x18c5b0(0x225)]=_0x8364b9,_0x461091=Object[_0x18c5b0(0x1f3)]({},_0x461091,_0x476a38),_0xfb329d[_0x18c5b0(0x1fb)](limit,function(){const _0x4deaa3={'EKvwg':function(_0x2523d1,_0x25983e){const _0x57113f=a43_0x5eb8;return _0xfb329d[_0x57113f(0x21f)](_0x2523d1,_0x25983e);},'gEqJV':function(_0x4ee748,_0x3e7be7){return _0xfb329d['AyEXR'](_0x4ee748,_0x3e7be7);},'imdKq':function(_0x474c43,_0x40dc0e,_0x138432){const _0x2909bf=a43_0x5eb8;return _0xfb329d[_0x2909bf(0x21e)](_0x474c43,_0x40dc0e,_0x138432);},'redKW':function(_0x3ea957,_0x36225e){return _0xfb329d['EiAbZ'](_0x3ea957,_0x36225e);}};return new Promise(function(_0x5589aa){const _0x3dc07e=a43_0x5eb8;_0x19e97d[_0x3dc07e(0x222)](_0x56e504,_0x461091,function(_0x57800d,_0xb25c49){const _0x18a107=_0x3dc07e,_0x305826=_0xb25c49&&_0xb25c49[_0x18a107(0x210)]&&(_0xb25c49['run'][_0x18a107(0x22f)]||_0xb25c49[_0x18a107(0x210)]['failures']&&_0x4deaa3[_0x18a107(0x213)](_0xb25c49[_0x18a107(0x210)][_0x18a107(0x22c)][_0x18a107(0x206)],0x0));_0x4deaa3[_0x18a107(0x1fe)](_0x305826,_0x57800d)&&(hasFailure=!![]),_0x1acf94&&_0x4deaa3[_0x18a107(0x200)](_0x1acf94,_0x57800d,_0xb25c49),_0x4deaa3['redKW'](_0x5589aa,_0xb25c49);});});});},wrappedNewman;};async function main(){const _0x80bdd6=a43_0x52689f,_0x2a9899={'kmxcE':function(_0x5bdbbb,_0x11963f){return _0x5bdbbb(_0x11963f);},'Svcgf':function(_0x345077,_0x4854c6){return _0x345077+_0x4854c6;},'PSVwY':function(_0x534b34,_0x297fd9){return _0x534b34+_0x297fd9;},'BLkjh':_0x80bdd6(0x217)};try{await BrowserstackCLI[_0x80bdd6(0x22a)]()[_0x80bdd6(0x21d)]();}catch(_0x5fc951){}try{_0x2a9899['kmxcE'](require,path[_0x80bdd6(0x22b)](scriptFile));}catch(_0x34f8c5){process[_0x80bdd6(0x1f9)]['write'](_0x2a9899[_0x80bdd6(0x21a)](_0x2a9899[_0x80bdd6(0x1f5)](_0x2a9899['BLkjh'],_0x34f8c5[_0x80bdd6(0x1f8)]||_0x34f8c5),'\x0a')),process['exitCode']=0x1;}}main(),process['on'](a43_0x52689f(0x1ef),function(){const _0x26d208=a43_0x52689f;hasFailure&&(process[_0x26d208(0x229)]=0x1);}),process['on'](a43_0x52689f(0x211),function(){const _0x1d9280=a43_0x52689f,_0x3e5ea7={};_0x3e5ea7[_0x1d9280(0x20b)]=function(_0x1b71da,_0xa8b824){return _0x1b71da===_0xa8b824;};const _0x543688=_0x3e5ea7;hasFailure&&_0x543688['TlIZv'](process['exitCode'],0x0)&&(process['exitCode']=0x1);});