browserstack-node-sdk 1.65.4 → 1.65.6

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
- const a38_0x3bdaaf=a38_0x5ede;(function(_0x51cfd6,_0x360b94){const _0x1f2d40=a38_0x5ede,_0x379efe=_0x51cfd6();while(!![]){try{const _0x4c7e39=-parseInt(_0x1f2d40(0xd8))/0x1*(parseInt(_0x1f2d40(0xae))/0x2)+parseInt(_0x1f2d40(0x81))/0x3*(-parseInt(_0x1f2d40(0xc3))/0x4)+parseInt(_0x1f2d40(0x99))/0x5*(-parseInt(_0x1f2d40(0xd7))/0x6)+-parseInt(_0x1f2d40(0x95))/0x7+parseInt(_0x1f2d40(0x85))/0x8+-parseInt(_0x1f2d40(0xd6))/0x9+parseInt(_0x1f2d40(0x8f))/0xa*(parseInt(_0x1f2d40(0x89))/0xb);if(_0x4c7e39===_0x360b94)break;else _0x379efe['push'](_0x379efe['shift']());}catch(_0x20b21a){_0x379efe['push'](_0x379efe['shift']());}}}(a38_0x27aa,0xdeb2b));function a38_0x27aa(){const _0x4b512b=['36923090DVxGXt','substring','../../utils/logPatcher','__cloud_provider___','SBkNO','toISOString','9873465nRKiQH','platformVersion','_beforeEach','bGRMA','3430xBdaWx','Xpimd','nTYzN','markedStatus','hook:','TEST_PLATFORM','MvJkt','sendPlatformDetails','uuid','getHooksForTest','pYJIW','NnpNG','bs:addPlatformDetails:','vORgn','suites','getHookDetails','_afterAll','bfXRC','generic','filter','string','69074pUAMgU','getBrowserName','uCygN','slice','MzgJa','../../../helpers/test-observability/utils','getSession','hook','Gpqll','bAdXP','unknown_grid','js-','get','pid','TJZEX','getCapabilities','../../../helpers/helper','toJSON','failed','map_','AxwhR','4EJpTJj','EJXNb','getHookSkippedTests','ScXZx','hgFID','lTCWh','type','IINik','zPpSA','indexOf','forEach','../../../helpers/testhub/utils','_beforeAll','mapTestHooks','GBgmh','split','kWXvh','tests','passed','7562574RUgSuh','528GMlGAh','17jdUDLR','parent','state','emit','../../../../package.json','ssdOM','concat','2211843RBXAlL','bjytE','hookAnalyticsId','push','6843368PQqFRZ','browserstack','zVWRE','getPlatform','11GKSVsY','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','CfZWK','Xsftq','iSSEn','lnVKt'];a38_0x27aa=function(){return _0x4b512b;};return a38_0x27aa();}function a38_0x5ede(_0x10eea1,_0xd92649){const _0x27aa2a=a38_0x27aa();return a38_0x5ede=function(_0x5edebf,_0x218cc5){_0x5edebf=_0x5edebf-0x80;let _0x2751ef=_0x27aa2a[_0x5edebf];return _0x2751ef;},a38_0x5ede(_0x10eea1,_0xd92649);}const {v4:uuidv4}=require(a38_0x3bdaaf(0xa1)),{name,version}=require(a38_0x3bdaaf(0xdc)),logPatcher=require(a38_0x3bdaaf(0x91)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a38_0x3bdaaf(0xb3)),{consoleHolder}=require('../../../helpers/test-observability/constants'),{getPlatformVersion}=require(a38_0x3bdaaf(0xbe)),{shouldProcessEventForTesthub}=require(a38_0x3bdaaf(0xce)),{isFunction}=require('lodash'),{patchConsoleLogger}=require(a38_0x3bdaaf(0xb3));patchConsoleLogger(),exports['getTestEnv']=()=>{const _0xd1b861=a38_0x3bdaaf,_0x2ac2f3={'bjytE':_0xd1b861(0xab),'TJZEX':function(_0xca0aa6){return _0xca0aa6();}};return{'ci':_0x2ac2f3[_0xd1b861(0x82)],'key':_0x2ac2f3[_0xd1b861(0xbc)](uuidv4),'version':version,'collector':_0xd1b861(0xb9)+name};},exports[a38_0x3bdaaf(0xa8)]=_0x181f4d=>{const _0x35c04c=a38_0x3bdaaf,_0x4e1191={};_0x4e1191[_0x35c04c(0x8d)]=function(_0x35f513,_0x194b3f){return _0x35f513!==_0x194b3f;},_0x4e1191[_0x35c04c(0xd3)]=_0x35c04c(0xad),_0x4e1191['Gpqll']=_0x35c04c(0x9d),_0x4e1191[_0x35c04c(0xa6)]=_0x35c04c(0xb5);const _0x1a4b4e=_0x4e1191;if(!_0x181f4d||_0x1a4b4e[_0x35c04c(0x8d)](typeof _0x181f4d,_0x1a4b4e[_0x35c04c(0xd3)]))return[null,null];if(_0x1a4b4e[_0x35c04c(0x8d)](_0x181f4d[_0x35c04c(0xcc)](_0x1a4b4e[_0x35c04c(0xb6)]),-0x1)){const _0x1554eb=_0x181f4d[_0x35c04c(0xd2)](_0x1a4b4e[_0x35c04c(0xb6)]);return[_0x1554eb[0x0][_0x35c04c(0xb1)](0x0,-0x1)[_0x35c04c(0xd2)]('\x22')[0x1],_0x1554eb[0x1][_0x35c04c(0x90)](0x1)];}else{if(_0x1a4b4e['iSSEn'](_0x181f4d[_0x35c04c(0xcc)](_0x1a4b4e[_0x35c04c(0xa6)]),-0x1)){const _0x15417d=_0x181f4d[_0x35c04c(0xd2)](_0x1a4b4e[_0x35c04c(0xa6)]);return[_0x15417d[0x0][_0x35c04c(0xb1)](0x0,-0x1)[_0x35c04c(0xd2)]('\x22')[0x1],_0x181f4d];}}return[null,null];},exports[a38_0x3bdaaf(0xa2)]=_0x3a694e=>{const _0x38663d=a38_0x3bdaaf,_0x5b97bc={'NnpNG':function(_0x346cb0,_0x331cac){return _0x346cb0(_0x331cac);},'bAdXP':_0x38663d(0xcf),'TswPU':_0x38663d(0xa9),'pYJIW':_0x38663d(0x97),'hgFID':'_afterEach'};if(!_0x3a694e||!_0x3a694e[_0x38663d(0xd9)])return[];const _0x31ae5a=[];return[_0x5b97bc[_0x38663d(0xb7)],_0x5b97bc['TswPU'],_0x5b97bc[_0x38663d(0xa3)],_0x5b97bc[_0x38663d(0xc7)]][_0x38663d(0xcd)](_0x5414b4=>{const _0x4dbe00=_0x38663d,_0x16e549=_0x3a694e['parent'][_0x5414b4]||[];_0x16e549[_0x4dbe00(0xcd)](_0x1becc4=>{const _0x29f629=_0x4dbe00;_0x1becc4[_0x29f629(0x83)]&&!_0x5b97bc[_0x29f629(0xa4)](isInternalHook,_0x1becc4['fn'])&&_0x31ae5a[_0x29f629(0x84)](_0x1becc4[_0x29f629(0x83)]);});}),[..._0x31ae5a,...exports['getHooksForTest'](_0x3a694e['parent'])];},exports[a38_0x3bdaaf(0xd0)]=_0x4f1a69=>{const _0x153508=a38_0x3bdaaf,_0x3010e4={'ssdOM':function(_0x122a2c){return _0x122a2c();},'lTCWh':function(_0x431860,_0x122b69){return _0x431860===_0x122b69;},'Xpimd':'_afterEach','EJXNb':'_beforeAll','MzgJa':_0x153508(0xa9),'bfXRC':_0x153508(0x97)};if(!_0x4f1a69||!_0x4f1a69[_0x153508(0xd9)])return;[_0x3010e4[_0x153508(0xc4)],_0x3010e4[_0x153508(0xb2)],_0x3010e4[_0x153508(0xaa)],_0x3010e4[_0x153508(0x9a)]][_0x153508(0xcd)](_0x4ad372=>{const _0x39eff5=_0x153508,_0x109a7f={'SBkNO':function(_0x35436e){const _0x577e1b=a38_0x5ede;return _0x3010e4[_0x577e1b(0xdd)](_0x35436e);},'lnVKt':function(_0x5406f1,_0x40507e){const _0x263069=a38_0x5ede;return _0x3010e4[_0x263069(0xc8)](_0x5406f1,_0x40507e);},'ScXZx':_0x3010e4[_0x39eff5(0x9a)]},_0x1a8e12=_0x4f1a69[_0x39eff5(0xd9)][_0x4ad372]||[];_0x1a8e12[_0x39eff5(0xcd)](_0xc07d31=>{const _0x3a0a76=_0x39eff5;if(!_0xc07d31[_0x3a0a76(0x83)])_0xc07d31['hookAnalyticsId']=_0x109a7f[_0x3a0a76(0x93)](uuidv4);else _0xc07d31[_0x3a0a76(0x9c)]&&_0x109a7f[_0x3a0a76(0x8e)](_0x4ad372,_0x109a7f[_0x3a0a76(0xc6)])&&(_0xc07d31[_0x3a0a76(0x83)]=_0x109a7f[_0x3a0a76(0x93)](uuidv4),delete _0xc07d31['markedStatus']);});}),exports[_0x153508(0xd0)](_0x4f1a69[_0x153508(0xd9)]);},exports[a38_0x3bdaaf(0xa0)]=async(_0x1a4ee7,_0x25a795)=>{const _0x3c60ec=a38_0x3bdaaf,_0x5b5f9c={'pGrPH':function(_0x50ab47){return _0x50ab47();},'tDmJa':function(_0x5be6cc,_0x35dea1){return _0x5be6cc(_0x35dea1);},'GBgmh':_0x3c60ec(0x96),'IINik':function(_0x143955,_0x167e78){return _0x143955(_0x167e78);},'CfZWK':function(_0x550c6f,_0xe8a75b){return _0x550c6f===_0xe8a75b;},'TSXCv':_0x3c60ec(0x86),'zVWRE':_0x3c60ec(0xb8),'bGRMA':_0x3c60ec(0x9e),'zPpSA':function(_0x5ec29e,_0x2abd9b){return _0x5ec29e(_0x2abd9b);}};try{if(!_0x5b5f9c['pGrPH'](shouldProcessEventForTesthub))return;const _0x4669b6=await _0x1a4ee7[_0x3c60ec(0xbd)](),_0x2ec825=await _0x1a4ee7[_0x3c60ec(0xb4)](),_0x55d421={},_0x3b252f=Object['fromEntries'](_0x2ec825[_0x3c60ec(0xbd)]()[_0x3c60ec(0xc1)]),_0x424f21={'product':_0x5b5f9c['tDmJa'](getObservabilityLinkedProductName,_0x3b252f),'capabilities':_0x3b252f,'platform':_0x4669b6[_0x3c60ec(0x88)](),'platform_version':_0x4669b6[_0x3c60ec(0xba)](_0x5b5f9c[_0x3c60ec(0xd1)])?_0x4669b6[_0x3c60ec(0xba)](_0x5b5f9c[_0x3c60ec(0xd1)]):_0x5b5f9c[_0x3c60ec(0xca)](getPlatformVersion,_0x5b5f9c[_0x3c60ec(0x8b)](global[_0x3c60ec(0x92)],_0x5b5f9c['TSXCv'])),'browser':_0x4669b6[_0x3c60ec(0xaf)](),'browser_version':_0x4669b6['getBrowserVersion'](),'session_id':_0x2ec825[_0x3c60ec(0xbf)]()};global[_0x3c60ec(0x92)]?_0x55d421[global['__cloud_provider___']]=_0x424f21:_0x55d421[_0x5b5f9c[_0x3c60ec(0x87)]]=_0x424f21,process[_0x3c60ec(0xdb)](_0x3c60ec(0xa5)+process[_0x3c60ec(0xbb)],{'timestamp':new Date()[_0x3c60ec(0x94)](),'level':null,'message':null,'kind':_0x5b5f9c[_0x3c60ec(0x98)],'http_response':_0x55d421,'uuid':_0x25a795});}catch(_0x4b593d){_0x5b5f9c[_0x3c60ec(0xcb)](debug,_0x3c60ec(0x8a)+_0x4b593d);}},exports[a38_0x3bdaaf(0xc5)]=_0x39287f=>{const _0x40e00c=a38_0x3bdaaf,_0x129d3a={};_0x129d3a['Xsftq']=function(_0x2e563c,_0x129bd8){return _0x2e563c!==_0x129bd8;},_0x129d3a[_0x40e00c(0xb0)]=_0x40e00c(0xb5),_0x129d3a[_0x40e00c(0xc2)]=_0x40e00c(0xd5),_0x129d3a[_0x40e00c(0x9b)]=function(_0x10076c,_0x3ddb48){return _0x10076c!==_0x3ddb48;},_0x129d3a[_0x40e00c(0x9f)]=_0x40e00c(0xc0);const _0x2b04cb=_0x129d3a,_0x4292a6=_0x39287f[_0x40e00c(0xa7)]['reduce']((_0x1c8185,_0xaa4cce)=>{const _0x459f06=_0x40e00c,_0x211cb4=exports[_0x459f06(0xc5)](_0xaa4cce);return _0x211cb4&&(_0x1c8185=_0x1c8185[_0x459f06(0x80)](_0x211cb4)),_0x1c8185;},[]),_0x7eab7f=_0x39287f[_0x40e00c(0xd4)][_0x40e00c(0xac)](_0x263149=>{const _0x17163b=_0x40e00c,_0xaa5f9d=_0x2b04cb[_0x17163b(0x8c)](_0x263149[_0x17163b(0xc9)],_0x2b04cb['uCygN'])&&!_0x263149[_0x17163b(0x9c)]&&_0x2b04cb['Xsftq'](_0x263149['state'],_0x2b04cb['AxwhR'])&&_0x2b04cb[_0x17163b(0x9b)](_0x263149[_0x17163b(0xda)],_0x2b04cb[_0x17163b(0x9f)])&&!_0x263149['pending'];return _0xaa5f9d;});return _0x7eab7f[_0x40e00c(0x80)](_0x4292a6);};
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 +1 @@
1
- const a39_0xf07db2=a39_0x3831;function a39_0x3831(_0x28ca86,_0x5416f8){const _0x37214f=a39_0x3721();return a39_0x3831=function(_0x38312e,_0x28ec33){_0x38312e=_0x38312e-0x1b0;let _0x2aa860=_0x37214f[_0x38312e];return _0x2aa860;},a39_0x3831(_0x28ca86,_0x5416f8);}function a39_0x3721(){const _0x381946=['../../helpers/helper','qyqiU','Failed\x20to\x20store\x20session\x20name:\x20','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','PKUMk','__drivers','UqrFS','ObservabilitySync:','command','JwgoK','__error_messages__','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','format','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','getGlobal','saveAccessibilityResultsWithRetry','sGOAR','../utils/constants','vyGMG','__skipSessionName','isAccessibilityPlatform','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','ySyMi','gIhTx','gKXZP','beforeAll','1208676BBvykI','testcase','http:','then','app','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','TFhsP','../../helpers/globals','WJnmi','UWQTh','mnCdf','Mocha','BROWSERSTACK_TESTHUB_UUID','qGtJZ','util','WCQvs','XZBhi','QkjEg','Automate\x20test\x20case\x20execution\x20has\x20started.','afterEach','36387mlfyDi','XLwqs','session_','installAll','__sessionFailed','QzDiG','zaiia','Buppl','debug','../../helpers/performance/performance-tester','ENV_VAR','DaZZs','shouldScanTestForAccessibility','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','SDK_HOOK','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','timeout','browserstackSessionName','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','eidwS','beforeEach','qEkaH','465RlssJU','../../helpers/testhub/constants','xpoba','[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','3027784iZqgLV','thTestRunUuid','finally','cHdtV','passed','THxDJ','sessionName','startMonitoring','afterTest','bstackA11yShouldScan','isArray','\x20-\x20','MdJGO','YtzBF','testAnalyticsId','index','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','VbWyt','stringify','mhCcg','gHGrI','state','LfYCR','Accessibility\x20scan\x20completed\x20successfully','currentTest','driver-init\x20capture\x20install\x20failed:\x20','getCurrentUrl','472828KsRzel','https:','browserstackTestName','bXllY','setGlobal','__platformCaps','measureWrapper','AsliJ','TZfgC','../../helpers/accessibility-automation/accessibilityRetryHelper','winstonLogger','396560RNjtKW','sessionNameSet__','zuBxt','nbeLc','dQyIz','DvAaO','CzpuS','appium:app','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','zoqZn','GogKy','SAVE_RESULTS','bstackA11yScanOptions','executeScript','prsOj','MFPjU','join','sVmbw','err','TUxgK','dXnWD','MKyOo','mochaHooks','titlePath','start','PERFORM_SCAN','accessibilityScanStarted','HFeXk','SYNC','lXNkG','../../helpers/logger','3vamsIl','info','MAkyY','percyCaptureMode','UQIkS','VCPSC','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','171812jHmLws','mWDlQ','initQuit','driverCleanup','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','warn','SjgMz','VMrys','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','3090pMXWfh','failed','quitCount_','shift','capabilities','../../helpers/performance/constants','JpIuM','end','DpcQL','now','ThEAq','../../helpers/testhub/utils','error','push','VTxbm','CZxSk','MmOCW','mJoYU','pOCSU','eOADI','message','length','afterAll','./test-observability/mochaUtils','1510ZHCCXA','protocol','env','\x22}}','kfMRS','BROWSERSTACK_TESTHUB_JWT','BHKfw'];a39_0x3721=function(){return _0x381946;};return a39_0x3721();}(function(_0x1b11ac,_0xc668e3){const _0x26d99e=a39_0x3831,_0x5761e5=_0x1b11ac();while(!![]){try{const _0x4fc422=parseInt(_0x26d99e(0x1c5))/0x1+parseInt(_0x26d99e(0x25c))/0x2*(-parseInt(_0x26d99e(0x1be))/0x3)+-parseInt(_0x26d99e(0x251))/0x4+parseInt(_0x26d99e(0x232))/0x5*(-parseInt(_0x26d99e(0x1ce))/0x6)+parseInt(_0x26d99e(0x207))/0x7+-parseInt(_0x26d99e(0x236))/0x8+parseInt(_0x26d99e(0x21b))/0x9*(parseInt(_0x26d99e(0x1e6))/0xa);if(_0x4fc422===_0xc668e3)break;else _0x5761e5['push'](_0x5761e5['shift']());}catch(_0x2c3000){_0x5761e5['push'](_0x5761e5['shift']());}}}(a39_0x3721,0x33c96));const util=require(a39_0xf07db2(0x215)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a39_0xf07db2(0x25a)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a39_0xf07db2(0x1fe)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a39_0xf07db2(0x1e5)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a39_0xf07db2(0x1ed)),PerformanceTester=require(a39_0xf07db2(0x224)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a39_0xf07db2(0x1d3)),globals=require(a39_0xf07db2(0x20e)),logger=require(a39_0xf07db2(0x1bd))[a39_0xf07db2(0x25b)],{shouldProcessEventForTesthub}=require(a39_0xf07db2(0x1d9)),testHubConstants=require(a39_0xf07db2(0x233));try{require('../../helpers/driverInitErrorReporter')[a39_0xf07db2(0x21e)]('mocha');}catch(a39_0x492170){logger[a39_0xf07db2(0x223)](a39_0xf07db2(0x24f)+(a39_0x492170&&a39_0x492170[a39_0xf07db2(0x1e2)]));}exports[a39_0xf07db2(0x1b5)]={'beforeAll'(){const _0x4ed2e9=a39_0xf07db2,_0x5e9f19={'TUxgK':function(_0xa3e9c4,_0x239dc8,_0x430d7a,_0x3d3a84){return _0xa3e9c4(_0x239dc8,_0x430d7a,_0x3d3a84);},'yTtmj':_0x4ed2e9(0x1cf),'djEXF':'\x20|\x20','VMrys':function(_0x1b2ee8,_0x573f46,_0x303559){return _0x1b2ee8(_0x573f46,_0x303559);},'mjGqx':_0x4ed2e9(0x23a),'JwgoK':function(_0x582793){return _0x582793();},'DvAaO':function(_0x5dd924,_0x36565b,_0x55f265){return _0x5dd924(_0x36565b,_0x55f265);},'JpIuM':_0x4ed2e9(0x245),'mhCcg':_0x4ed2e9(0x206)};PerformanceTester[_0x4ed2e9(0x23d)]();const _0x4a6c22='browserstack internal helper hook';PerformanceTester[_0x4ed2e9(0x257)](PerformanceSdkEvents[_0x4ed2e9(0x229)],()=>{const _0xa22c62=_0x4ed2e9;global['__error_messages__']=[],global[_0xa22c62(0x21f)]=![],global['driverCleanup']=async()=>{const _0x1c63e3=_0xa22c62;let _0x1971cf=![];try{await global['__drivers'][0x0][_0x1c63e3(0x21d)],_0x1971cf=!![],global[_0x1c63e3(0x21f)]?await _0x5e9f19[_0x1c63e3(0x1b2)](markSessionStatus,global[_0x1c63e3(0x1f2)][0x0],_0x5e9f19['yTtmj'],global[_0x1c63e3(0x1f7)][_0x1c63e3(0x26c)](_0x5e9f19['djEXF'])):await _0x5e9f19['VMrys'](markSessionStatus,global[_0x1c63e3(0x1f2)][0x0],_0x5e9f19['mjGqx']);}catch(_0x1f4109){logger[_0x1c63e3(0x223)](_0x1c63e3(0x22a)+_0x1f4109);}global[_0x1c63e3(0x1f7)]=[],global[_0x1c63e3(0x21f)]=![];if(_0x1971cf)try{try{_0x5e9f19[_0x1c63e3(0x1f6)](shouldProcessEventForTesthub)&&(global[_0x1c63e3(0x1f2)][0x0]&&await _0x5e9f19[_0x1c63e3(0x261)](sendPlatformDetails,global[_0x1c63e3(0x1f2)][0x0],this[_0x1c63e3(0x24e)]?this[_0x1c63e3(0x24e)][_0x1c63e3(0x244)]:null));}catch(_0x47db32){logger[_0x1c63e3(0x223)]('Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20'+_0x47db32);}await global[_0x1c63e3(0x1f2)][0x0][_0x1c63e3(0x1c7)]();}catch(_0x4c3b3a){logger[_0x1c63e3(0x223)](_0x1c63e3(0x1fa)+_0x4c3b3a);}};},{'platform':_0x5e9f19[_0x4ed2e9(0x1cc)](nestedKeyValue,global['__platformCaps'],[_0x5e9f19[_0x4ed2e9(0x1d4)]]),'hookType':_0x5e9f19[_0x4ed2e9(0x249)]})();},'beforeEach'(_0x521a87){const _0x10e5c3=a39_0xf07db2,_0x5eebd0={'dQyIz':function(_0x74338b,_0x2c6f4f){return _0x74338b>_0x2c6f4f;},'VTxbm':'\x20-\x20','XZBhi':function(_0x4e3ca9,_0x5860af,_0x527d30){return _0x4e3ca9(_0x5860af,_0x527d30);},'WJnmi':function(_0x5cde91,_0x5b57fa){return _0x5cde91===_0x5b57fa;},'CzpuS':_0x10e5c3(0x23f),'UVWHX':_0x10e5c3(0x268),'gHGrI':function(_0xa7aba){return _0xa7aba();},'MFPjU':function(_0x2c3a88,_0x376b90){return _0x2c3a88>_0x376b90;},'zuBxt':_0x10e5c3(0x201),'gKXZP':function(_0x1be0ba,_0x31ca70){return _0x1be0ba===_0x31ca70;},'qyqiU':_0x10e5c3(0x209),'qEkaH':function(_0x222fd0,_0x57473e){return _0x222fd0===_0x57473e;},'eOADI':_0x10e5c3(0x252),'UqrFS':_0x10e5c3(0x246),'QzDiG':_0x10e5c3(0x219),'VbWyt':_0x10e5c3(0x253),'prsOj':function(_0x779096,_0x1e72ce,_0x5d76d8){return _0x779096(_0x1e72ce,_0x5d76d8);},'dXnWD':_0x10e5c3(0x245),'mWDlQ':_0x10e5c3(0x230)};globals['setGlobal'](_0x5eebd0[_0x10e5c3(0x247)],this[_0x10e5c3(0x24e)][_0x10e5c3(0x1b6)]()['join'](_0x5eebd0[_0x10e5c3(0x1dc)])),PerformanceTester['measureWrapper'](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x181b35=_0x10e5c3,_0x3df98a={'BHKfw':function(_0x1fb325){const _0x5c091c=a39_0x3831;return _0x5eebd0[_0x5c091c(0x24a)](_0x1fb325);}},_0x696ccb='browserstack internal helper hook';new Promise(async _0x5d5573=>{const _0x1b484a=a39_0x3831;let _0x37e3f6=!![];try{_0x5eebd0[_0x1b484a(0x260)](global[_0x1b484a(0x1f2)][_0x1b484a(0x1e3)],0x1)&&(await global[_0x1b484a(0x1c8)](),global[_0x1b484a(0x1f2)][_0x1b484a(0x1d1)]()),_0x5eebd0[_0x1b484a(0x260)](global[_0x1b484a(0x1f2)][0x0]['quitCount_'],0x0)&&(_0x37e3f6=![],await global[_0x1b484a(0x1c8)]());}catch(_0x1cd118){logger[_0x1b484a(0x223)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x1cd118);}try{Array[_0x1b484a(0x240)](global['__drivers'])&&global[_0x1b484a(0x1f2)][0x0]&&(global[_0x1b484a(0x1f2)][0x0]['browserstackSessionName']=this['currentTest'][_0x1b484a(0x1b6)]()[_0x1b484a(0x26c)](_0x5eebd0[_0x1b484a(0x1dc)])),global[_0x1b484a(0x22d)]=this[_0x1b484a(0x24e)]['titlePath']()[_0x1b484a(0x26c)](_0x5eebd0[_0x1b484a(0x1dc)]);}catch(_0xf3cc0b){logger['debug'](_0x1b484a(0x1ef)+_0xf3cc0b);}this[_0x1b484a(0x24e)][_0x1b484a(0x227)]=_0x5eebd0[_0x1b484a(0x217)](shouldScanTestForAccessibility,this[_0x1b484a(0x24e)]['titlePath'](),!![]);let _0x397149=!![];try{const _0x7cd314=JSON['parse'](process[_0x1b484a(0x1e8)][_0x1b484a(0x20c)]||'{}');_0x5eebd0[_0x1b484a(0x20f)](_0x7cd314['autoScanning'],![])&&(_0x397149=![]);}catch(_0x560137){logger['debug']('Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20'+_0x560137[_0x1b484a(0x1e2)]);}const _0x28de8c=_0x397149&&this[_0x1b484a(0x24e)][_0x1b484a(0x227)];globals[_0x1b484a(0x255)](_0x5eebd0[_0x1b484a(0x262)],_0x28de8c),globals['setGlobal'](_0x5eebd0['UVWHX'],null),this[_0x1b484a(0x24e)][_0x1b484a(0x1b9)]=this[_0x1b484a(0x24e)][_0x1b484a(0x227)];if(_0x5eebd0[_0x1b484a(0x24a)](isAccessibilityAutomationSession)&&_0x37e3f6&&Array[_0x1b484a(0x240)](global[_0x1b484a(0x1f2)])&&_0x5eebd0[_0x1b484a(0x26b)](global[_0x1b484a(0x1f2)][_0x1b484a(0x1e3)],0x0)&&globals[_0x1b484a(0x1fb)](_0x5eebd0[_0x1b484a(0x25e)]))try{const _0x2e72a0=await global[_0x1b484a(0x1f2)][0x0][_0x1b484a(0x21d)];if(_0x2e72a0){let _0x245eb4=!![];const _0x4a8644=await global['__drivers'][0x0][_0x1b484a(0x250)]();let _0x439e75;try{_0x439e75=new URL(_0x4a8644),_0x245eb4=_0x5eebd0[_0x1b484a(0x205)](_0x439e75[_0x1b484a(0x1e7)],_0x5eebd0[_0x1b484a(0x1ee)])||_0x5eebd0[_0x1b484a(0x231)](_0x439e75[_0x1b484a(0x1e7)],_0x5eebd0[_0x1b484a(0x1e1)]);}catch(_0x58b08d){_0x245eb4=![];}_0x245eb4&&(this[_0x1b484a(0x24e)][_0x1b484a(0x227)]&&logger[_0x1b484a(0x1bf)](_0x5eebd0[_0x1b484a(0x1f3)])),this['currentTest'][_0x1b484a(0x1b9)]=this[_0x1b484a(0x24e)][_0x1b484a(0x227)],_0x28de8c&&logger[_0x1b484a(0x1bf)](_0x5eebd0[_0x1b484a(0x220)]);}}catch(_0x498640){logger[_0x1b484a(0x1da)](_0x1b484a(0x1cd)+util[_0x1b484a(0x1f9)](_0x498640));}_0x5eebd0[_0x1b484a(0x24a)](_0x5d5573);})[_0x181b35(0x20a)](()=>{const _0x4f09fc=_0x181b35;_0x3df98a[_0x4f09fc(0x1ec)](_0x521a87);});},{'platform':_0x5eebd0[_0x10e5c3(0x26a)](nestedKeyValue,global['__platformCaps'],[_0x5eebd0[_0x10e5c3(0x1b3)]]),'hookType':_0x5eebd0[_0x10e5c3(0x1c6)]})();},'afterEach'(_0x9f5963){const _0x3e149d=a39_0xf07db2,_0x3516e7={'QkjEg':_0x3e149d(0x241),'lXNkG':function(_0x14aeb4,_0x8b0668){return _0x14aeb4>_0x8b0668;},'VTmBw':function(_0x5e6e76,_0xd79bd9){return _0x5e6e76===_0xd79bd9;},'PKUMk':_0x3e149d(0x208),'zoqZn':_0x3e149d(0x263),'THVjk':function(_0x3a2293,_0x127492,_0x1eaae1,_0x781cc4){return _0x3a2293(_0x127492,_0x1eaae1,_0x781cc4);},'pOCSU':_0x3e149d(0x201),'qGtJZ':_0x3e149d(0x1f8),'sGOAR':_0x3e149d(0x23f),'CBkHb':_0x3e149d(0x228),'DaZZs':_0x3e149d(0x23e),'kfMRS':_0x3e149d(0x24d),'vyGMG':'Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','ySyMi':_0x3e149d(0x235),'XLwqs':'Accessibility\x20results\x20saved\x20successfully','XiTix':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','DgkGK':_0x3e149d(0x1c9),'UQIkS':function(_0x5b0251){return _0x5b0251();},'bXllY':function(_0x4ea263,_0x42db82,_0x47387){return _0x4ea263(_0x42db82,_0x47387);},'TFhsP':function(_0x440b42,_0x46033f,_0x265006){return _0x440b42(_0x46033f,_0x265006);},'GogKy':'debug','mnCdf':function(_0x37d606){return _0x37d606();},'THxDJ':function(_0x39b16b){return _0x39b16b();},'TZfgC':function(_0x5526b0,_0x1b6bbf){return _0x5526b0!==_0x1b6bbf;},'ThEAq':_0x3e149d(0x23a),'nbeLc':function(_0x203ba5,_0x205cf9,_0x413d52){return _0x203ba5(_0x205cf9,_0x413d52);},'cHdtV':function(_0x589000,_0x3e12a2){return _0x589000+_0x3e12a2;},'zaiia':'Failed:\x20','SjgMz':_0x3e149d(0x1da),'UWQTh':function(_0x330d0a,_0x153486,_0x36cbac){return _0x330d0a(_0x153486,_0x36cbac);},'eidwS':'Passed','MKyOo':_0x3e149d(0x1bf),'toukf':'Mocha','oPaDl':function(_0x5d99a1,_0x31049f,_0x54252f){return _0x5d99a1(_0x31049f,_0x54252f);},'gIhTx':_0x3e149d(0x245),'WCQvs':_0x3e149d(0x21a)},_0x312c12='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x3516e7['toukf']]),global[_0x3e149d(0x23c)]=this[_0x3e149d(0x24e)][_0x3e149d(0x1b6)]()[_0x3e149d(0x26c)](_0x3516e7[_0x3e149d(0x218)]),PerformanceTester[_0x3e149d(0x257)](PerformanceSdkEvents[_0x3e149d(0x229)],()=>{const _0x748bb8=_0x3e149d,_0x502f8a={'HFeXk':function(_0x87e823,_0x53609e){const _0x30a0d4=a39_0x3831;return _0x3516e7[_0x30a0d4(0x259)](_0x87e823,_0x53609e);},'Buppl':_0x3516e7[_0x748bb8(0x1d8)],'xpoba':function(_0x2e9ba0,_0x58d9d9,_0xda9604){const _0x4adf78=_0x748bb8;return _0x3516e7[_0x4adf78(0x25f)](_0x2e9ba0,_0x58d9d9,_0xda9604);},'QsrCn':function(_0x3103a1,_0x54ecc0){const _0x57621b=_0x748bb8;return _0x3516e7[_0x57621b(0x239)](_0x3103a1,_0x54ecc0);},'MmOCW':_0x3516e7[_0x748bb8(0x221)],'mJoYU':_0x3516e7[_0x748bb8(0x1cb)],'AsliJ':function(_0x41609e,_0x54f175,_0x49a4b2){const _0x1d662a=_0x748bb8;return _0x3516e7[_0x1d662a(0x210)](_0x41609e,_0x54f175,_0x49a4b2);},'sVmbw':_0x3516e7[_0x748bb8(0x22f)],'OwwOb':_0x3516e7[_0x748bb8(0x1b4)]},_0x5edaa1=async(_0x2b6634,_0x2ab804)=>{const _0xf8ff3f=_0x748bb8;await global['__drivers'][0x0][_0xf8ff3f(0x269)](_0xf8ff3f(0x1c4)+_0x2b6634+',\x22level\x22:\x20\x22'+_0x2ab804+_0xf8ff3f(0x1e9));};new Promise(async _0x2a73ed=>{const _0x2faebe=_0x748bb8,_0x236bef={};_0x236bef['MdJGO']=_0x3516e7[_0x2faebe(0x218)];const _0x48bbc6=_0x236bef;try{_0x3516e7[_0x2faebe(0x1bc)](global[_0x2faebe(0x1f2)]['length'],0x1)&&(await global[_0x2faebe(0x1c8)](),global[_0x2faebe(0x1f2)][_0x2faebe(0x1d1)](),global['__error_messages__']=[],global[_0x2faebe(0x21f)]=![]);try{if(global['percy']&&_0x3516e7['VTmBw'](global[_0x2faebe(0x1c1)],_0x3516e7[_0x2faebe(0x1f1)])&&global[_0x2faebe(0x1f2)][0x0]){const _0x4250db=_0x3516e7['lXNkG'](global[_0x2faebe(0x1d2)][_0x2faebe(0x1e3)],0x0)?!!global['capabilities'][0x0][_0x2faebe(0x20b)]||!!global['capabilities'][0x0][_0x3516e7[_0x2faebe(0x265)]]:![],_0x531dab={};_0x531dab[_0x2faebe(0x20b)]=_0x4250db,await _0x3516e7['THVjk'](percyAutoCapture,global['__drivers'][0x0],_0x3516e7['PKUMk'],_0x531dab);}}catch(_0x31fab6){logger[_0x2faebe(0x223)](_0x2faebe(0x22e)+_0x31fab6);}!global[_0x2faebe(0x200)]&&(await PerformanceTester[_0x2faebe(0x257)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x10d3d0=_0x2faebe;await global[_0x10d3d0(0x1f2)][0x0][_0x10d3d0(0x269)](_0x10d3d0(0x1f0)+JSON[_0x10d3d0(0x248)](this[_0x10d3d0(0x24e)][_0x10d3d0(0x1b6)]()['join'](_0x48bbc6[_0x10d3d0(0x242)]))+'}}');})(),global[_0x2faebe(0x1f2)][0x0][_0x2faebe(0x25d)]=!![]),await PerformanceTester[_0x2faebe(0x257)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x1386ba=_0x2faebe,_0x1cd5e8=_0x502f8a[_0x1386ba(0x1ba)](this[_0x1386ba(0x24e)][_0x1386ba(0x24b)],_0x502f8a[_0x1386ba(0x222)]);_0x1cd5e8?(global[_0x1386ba(0x21f)]=!![],global['__error_messages__'][_0x1386ba(0x1db)](this['currentTest']['err'][_0x1386ba(0x1e2)]),await _0x502f8a[_0x1386ba(0x234)](_0x5edaa1,JSON[_0x1386ba(0x248)](_0x502f8a['QsrCn'](_0x502f8a[_0x1386ba(0x1de)],this[_0x1386ba(0x24e)][_0x1386ba(0x1b1)][_0x1386ba(0x1e2)])),_0x502f8a[_0x1386ba(0x1df)])):await _0x502f8a[_0x1386ba(0x258)](_0x5edaa1,JSON[_0x1386ba(0x248)](_0x502f8a[_0x1386ba(0x1b0)]),_0x502f8a['OwwOb']);})();}catch(_0x556ff8){logger['debug'](_0x2faebe(0x264)+_0x556ff8);}try{if(this[_0x2faebe(0x24e)]['accessibilityScanStarted']&&globals[_0x2faebe(0x1fb)](_0x3516e7[_0x2faebe(0x1e0)])){logger[_0x2faebe(0x1bf)](_0x3516e7[_0x2faebe(0x214)]);const _0x13fdff={};_0x13fdff[_0x2faebe(0x237)]=this['currentTest'][_0x2faebe(0x244)],_0x13fdff['thBuildUuid']=process[_0x2faebe(0x1e8)][testHubConstants[_0x2faebe(0x225)][_0x2faebe(0x213)]],_0x13fdff['thJwtToken']=process['env'][testHubConstants[_0x2faebe(0x225)][_0x2faebe(0x1eb)]];const _0x5cb832=_0x13fdff;logger[_0x2faebe(0x223)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x2faebe(0x248)](_0x5cb832));if(globals[_0x2faebe(0x1fb)](_0x3516e7[_0x2faebe(0x1fd)])){logger[_0x2faebe(0x223)](_0x3516e7['CBkHb']);const _0x3eb32a={};_0x3eb32a[_0x2faebe(0x1f5)]=_0x3516e7[_0x2faebe(0x226)];const _0x12d248=await PerformanceTester[_0x2faebe(0x257)](PerformanceA11yEvents[_0x2faebe(0x1b8)],async()=>{const _0x45cd11=_0x2faebe;return await accessibilityRetryHelper['performScanWithRetry'](global['__drivers'][0x0],global[_0x45cd11(0x22d)]);},_0x3eb32a)();_0x12d248?logger[_0x2faebe(0x223)](_0x3516e7[_0x2faebe(0x1ea)]):logger[_0x2faebe(0x1ca)](_0x3516e7[_0x2faebe(0x1ff)]);}else logger[_0x2faebe(0x223)](_0x3516e7[_0x2faebe(0x203)]);const _0x126f07=await PerformanceTester[_0x2faebe(0x257)](PerformanceA11yEvents[_0x2faebe(0x267)],async()=>{const _0x7045be=_0x2faebe;return await accessibilityRetryHelper[_0x7045be(0x1fc)](global['__drivers'][0x0],_0x5cb832);})();_0x126f07?logger[_0x2faebe(0x223)](_0x3516e7[_0x2faebe(0x21c)]):logger['warn'](_0x3516e7['XiTix']),logger[_0x2faebe(0x1bf)](_0x3516e7['DgkGK']);}}catch(_0x4952e7){logger[_0x2faebe(0x1da)](_0x2faebe(0x202)+this['currentTest'][_0x2faebe(0x1b6)]()+'.\x20Error\x20:',_0x4952e7);}try{try{if(_0x3516e7[_0x2faebe(0x1c2)](shouldProcessEventForTesthub)){global[_0x2faebe(0x1f2)][0x0]&&await _0x3516e7[_0x2faebe(0x254)](sendPlatformDetails,global[_0x2faebe(0x1f2)][0x0],this[_0x2faebe(0x24e)]?this[_0x2faebe(0x24e)][_0x2faebe(0x244)]:null);if(_0x3516e7[_0x2faebe(0x1c2)](isBrowserstackInfra)){PerformanceTester[_0x2faebe(0x1b7)](PerformanceO11yEvents[_0x2faebe(0x1bb)]);const _0x3dd35f=_0x2faebe(0x1f4)+Date[_0x2faebe(0x1d7)]();await _0x3516e7[_0x2faebe(0x20d)](_0x5edaa1,JSON[_0x2faebe(0x248)](_0x3dd35f),_0x3516e7[_0x2faebe(0x266)]),PerformanceTester[_0x2faebe(0x1d5)](PerformanceO11yEvents['SYNC']);}}}catch(_0x21e669){logger['debug'](_0x2faebe(0x22b)+_0x21e669),PerformanceTester['end'](PerformanceO11yEvents['SYNC'],![],_0x21e669);}_0x3516e7[_0x2faebe(0x1bc)](global['__drivers'][0x0][_0x2faebe(0x1d0)],0x0)&&await global[_0x2faebe(0x1c8)]();}catch(_0x37469f){logger[_0x2faebe(0x223)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x37469f);}_0x3516e7[_0x2faebe(0x211)](_0x2a73ed);})[_0x748bb8(0x20a)](()=>{const _0x540352=_0x748bb8;_0x3516e7[_0x540352(0x23b)](_0x9f5963);});},{'platform':_0x3516e7['oPaDl'](nestedKeyValue,global[_0x3e149d(0x256)],[_0x3516e7[_0x3e149d(0x204)]]),'hookType':_0x3516e7[_0x3e149d(0x216)]})();},'afterAll'(_0x34471c){const _0x303408=a39_0xf07db2,_0x3fa95d={'YtzBF':function(_0x3053af){return _0x3053af();},'DpcQL':_0x303408(0x212),'slaMq':function(_0x368e3b,_0x134462,_0x386bca){return _0x368e3b(_0x134462,_0x386bca);},'CZxSk':_0x303408(0x245),'LfYCR':_0x303408(0x1e4)},_0x10c883='browserstack internal helper hook';this[_0x303408(0x22c)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x3fa95d[_0x303408(0x1d6)]]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x303408(0x229)],()=>{const _0x586836=_0x303408,_0x5cd488={'VCPSC':function(_0x3648ec){const _0x36c8e7=a39_0x3831;return _0x3fa95d[_0x36c8e7(0x243)](_0x3648ec);},'MAkyY':function(_0x254717){const _0x49ce68=a39_0x3831;return _0x3fa95d[_0x49ce68(0x243)](_0x254717);}};new Promise(async _0x4dbbdb=>{const _0x38851c=a39_0x3831;await global[_0x38851c(0x1c8)](),_0x5cd488[_0x38851c(0x1c3)](_0x4dbbdb);})['then']()[_0x586836(0x238)](()=>{const _0x3b23dc=_0x586836;_0x5cd488[_0x3b23dc(0x1c0)](_0x34471c);});},{'platform':_0x3fa95d['slaMq'](nestedKeyValue,global['__platformCaps'],[_0x3fa95d[_0x303408(0x1dd)]]),'hookType':_0x3fa95d[_0x303408(0x24c)]})();}};
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,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a40_0x31cc(){const _0x3ce748=['exitCode','2860240VfGrQc','mPPOE','MNuLs','mkIWX','../../helpers/test-observability/requestQueueHandler','../../helpers/testhub/testhubHandler','setFrameworkDetail','sBbkq','Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','OocLh','message','requireModule','assign','launchBuild','run','reporter','indexOf','testObservability','OTMTY','null','scriptRunner.js','slice','cfEVz','wmNcm','../v2/cliUtils','lVvJb','module','true','PNLTw','oyBjA','path','AaHEp','cliConfig','jaMPh','concat','cNNZw','getInstance','QWAZL','qzICJ','node','.js','128422GPqdIU','../../helpers/test-observability/utils','taAHM','shutdown','configPath','call','YLYya','setBrowserstackConfig','FyeBn','bUFns','22ShJrgz','XKXKy','[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','2811572ocWDNu','TrAmi','close','jPCna','exports','zNIlG','JdLmF','rbwyc','mcmbl','uMtuU','RiCAM','oyaLZ','error','3OHjvDQ','gTueq','2912157CUGbSi','HLhzh','FBNVz','_resolveFilename','stop','../../helpers/test-observability/constants','--reporters','wuarM','BROWSERSTACK_TEST_OBSERVABILITY_YML','cwd','bnPTY','O11yHashedID','5856tDnLhf','Failed\x20to\x20bootstrap\x20CLI:\x20','3956676pTideX','config','newman/bin/newman','JllcB','inherit','length','ORHOv','../v2/browserstackCLI','BROWSERSTACK_TESTHUB_JWT','join','warn','UwlPM','MeDoP',',browserstack','68rbxgDc','pFwcw','AydcX','FpEoa','browserstack','vDvIr','env','../../helpers/helper','haySi','parallelsPerPlatform','index.js','JxShf','createRequire','etVPv','YbtBe','child_process','ygmgn','newman-reporter-browserstack','545MGVqVo','jKZWg','failures','isRunning','package.json','4163VYnymq','32wPLWpF','newman','OJQUT'];a40_0x31cc=function(){return _0x3ce748;};return a40_0x31cc();}function a40_0x3c0a(_0xb69e5,_0x5aada4){const _0x31cc71=a40_0x31cc();return a40_0x3c0a=function(_0x3c0aa7,_0x32c0e4){_0x3c0aa7=_0x3c0aa7-0xe2;let _0x32e116=_0x31cc71[_0x3c0aa7];return _0x32e116;},a40_0x3c0a(_0xb69e5,_0x5aada4);}const a40_0xb9b6e=a40_0x3c0a;(function(_0x644204,_0x5448c3){const _0x2a1d84=a40_0x3c0a,_0x4f1721=_0x644204();while(!![]){try{const _0x6b9d7f=-parseInt(_0x2a1d84(0x14c))/0x1*(parseInt(_0x2a1d84(0x135))/0x2)+parseInt(_0x2a1d84(0x117))/0x3*(parseInt(_0x2a1d84(0x10a))/0x4)+-parseInt(_0x2a1d84(0x147))/0x5*(parseInt(_0x2a1d84(0x125))/0x6)+-parseInt(_0x2a1d84(0xfd))/0x7*(-parseInt(_0x2a1d84(0x14d))/0x8)+-parseInt(_0x2a1d84(0x119))/0x9+-parseInt(_0x2a1d84(0x151))/0xa+-parseInt(_0x2a1d84(0x107))/0xb*(-parseInt(_0x2a1d84(0x127))/0xc);if(_0x6b9d7f===_0x5448c3)break;else _0x4f1721['push'](_0x4f1721['shift']());}catch(_0x23eda8){_0x4f1721['push'](_0x4f1721['shift']());}}}(a40_0x31cc,0x8d298));const path=require(a40_0xb9b6e(0xf2)),Module=require(a40_0xb9b6e(0xee)),{fork}=require(a40_0xb9b6e(0x144)),logger=require('../../helpers/logger')['winstonLogger'],helper=require(a40_0xb9b6e(0x13c)),TestHubHandler=require(a40_0xb9b6e(0x156)),RequestQueueHandler=require(a40_0xb9b6e(0x155)),{FRAMEWORKS}=require(a40_0xb9b6e(0x11e)),{printBuildLink}=require(a40_0xb9b6e(0xfe)),BrowserstackCLI=require(a40_0xb9b6e(0x12e)),CLIUtils=require(a40_0xb9b6e(0xec));function registerBrowserStackReporter(){const _0x2966a7=a40_0xb9b6e,_0x1c08f3={};_0x1c08f3[_0x2966a7(0x137)]=function(_0x43d70a,_0x8dc97d){return _0x43d70a===_0x8dc97d;},_0x1c08f3[_0x2966a7(0xff)]=_0x2966a7(0x146),_0x1c08f3[_0x2966a7(0xf3)]=_0x2966a7(0xe3),_0x1c08f3[_0x2966a7(0x142)]=_0x2966a7(0x13f);const _0xcbfbd6=_0x1c08f3,_0x243b1d=path[_0x2966a7(0x130)](__dirname,_0xcbfbd6[_0x2966a7(0xf3)],_0xcbfbd6['etVPv']),_0x4733d0=Module['_resolveFilename'];Module[_0x2966a7(0x11c)]=function(_0x710080,_0x1fee41,_0x51d891,_0x5bbbd0){const _0x4cea28=_0x2966a7;if(_0xcbfbd6['AydcX'](_0x710080,_0xcbfbd6['taAHM']))return _0x243b1d;return _0x4733d0[_0x4cea28(0x102)](this,_0x710080,_0x1fee41,_0x51d891,_0x5bbbd0);};}function injectReporterIntoArgs(_0x4c3878){const _0x225333=a40_0xb9b6e,_0x39743c={};_0x39743c[_0x225333(0x158)]=function(_0x1bac95,_0x501177){return _0x1bac95<_0x501177;},_0x39743c[_0x225333(0x112)]=function(_0x1e9644,_0x431fbd){return _0x1e9644===_0x431fbd;},_0x39743c['YLYya']=_0x225333(0x11f),_0x39743c[_0x225333(0x145)]=function(_0x3529da,_0x56f2ee){return _0x3529da+_0x56f2ee;},_0x39743c[_0x225333(0x12a)]=function(_0x14a75e,_0x202f17){return _0x14a75e===_0x202f17;},_0x39743c[_0x225333(0x110)]=function(_0x487cbb,_0x3322ac){return _0x487cbb+_0x3322ac;},_0x39743c[_0x225333(0x123)]=_0x225333(0x139),_0x39743c[_0x225333(0x154)]=_0x225333(0x134),_0x39743c[_0x225333(0x12d)]='cli,browserstack';const _0x357f6c=_0x39743c,_0x23e99f=_0x4c3878[_0x225333(0xe9)]();for(let _0x253d8e=0x0;_0x357f6c[_0x225333(0x158)](_0x253d8e,_0x23e99f['length']);_0x253d8e++){if(_0x357f6c[_0x225333(0x112)](_0x23e99f[_0x253d8e],'-r')||_0x357f6c[_0x225333(0x112)](_0x23e99f[_0x253d8e],_0x357f6c[_0x225333(0x103)]))return _0x23e99f[_0x357f6c[_0x225333(0x145)](_0x253d8e,0x1)]&&_0x357f6c[_0x225333(0x12a)](_0x23e99f[_0x357f6c[_0x225333(0x110)](_0x253d8e,0x1)][_0x225333(0xe4)](_0x357f6c['bnPTY']),-0x1)&&(_0x23e99f[_0x357f6c[_0x225333(0x110)](_0x253d8e,0x1)]+=_0x357f6c[_0x225333(0x154)]),_0x23e99f;}return _0x23e99f['push']('-r',_0x357f6c[_0x225333(0x12d)]),_0x23e99f;}function runNewmanCLI(_0x387779){const _0x3c5b01=a40_0xb9b6e,_0x3f3884={'gTueq':function(_0x7c7590,_0x28706e){return _0x7c7590>_0x28706e;},'oyaLZ':function(_0x31ebf6,_0x15c527){return _0x31ebf6(_0x15c527);},'mPPOE':function(_0x101b94,_0x4fe21e,_0x532f82){return _0x101b94(_0x4fe21e,_0x532f82);},'pJqjl':_0x3c5b01(0x14e),'FBNVz':_0x3c5b01(0x159),'oyBjA':_0x3c5b01(0xee),'HLhzh':_0x3c5b01(0x14b),'JBbVx':_0x3c5b01(0x129),'bUFns':_0x3c5b01(0xfb),'uMtuU':function(_0x5bf199,_0xe45ca7){return _0x5bf199+_0xe45ca7;},'rbwyc':'Newman\x20CLI\x20not\x20found:\x20'};return new Promise(_0xafd6bc=>{const _0x5ea251=_0x3c5b01,_0x439d93={'JxShf':function(_0x19f2b5,_0x2c84ee){const _0x40f270=a40_0x3c0a;return _0x3f3884[_0x40f270(0x118)](_0x19f2b5,_0x2c84ee);},'UwlPM':function(_0xc1345a,_0x44b2fd){return _0x3f3884['oyaLZ'](_0xc1345a,_0x44b2fd);},'wuarM':function(_0xd21553,_0x1f7dbb,_0x2a27c9){const _0x5b222a=a40_0x3c0a;return _0x3f3884[_0x5b222a(0x152)](_0xd21553,_0x1f7dbb,_0x2a27c9);}};let _0x5e15ab;try{_0x5e15ab=helper[_0x5ea251(0x15c)](_0x3f3884['pJqjl'],_0x3f3884['pJqjl']);}catch(_0x48aace){return logger[_0x5ea251(0x116)](_0x3f3884[_0x5ea251(0x11b)]),_0x3f3884[_0x5ea251(0x115)](_0xafd6bc,0x1);}const _0x1e22c5=_0x5e15ab[_0x5ea251(0xe2)];_0x5e15ab[_0x5ea251(0xe2)]=function(_0x241d91,_0x36f5f2){const _0x126eb8=_0x5ea251;return _0x5e15ab[_0x126eb8(0xe2)]=_0x1e22c5,_0x1e22c5[_0x126eb8(0x102)](_0x5e15ab,_0x241d91,(_0x155f29,_0x15c630)=>{const _0x283051=_0x126eb8,_0x28d623=_0x15c630&&_0x15c630[_0x283051(0xe2)]&&(_0x15c630['run'][_0x283051(0x116)]||_0x15c630[_0x283051(0xe2)]['failures']&&_0x439d93[_0x283051(0x140)](_0x15c630[_0x283051(0xe2)][_0x283051(0x149)][_0x283051(0x12c)],0x0));_0x439d93[_0x283051(0x132)](_0xafd6bc,_0x28d623?0x1:0x0),_0x36f5f2&&_0x439d93[_0x283051(0x120)](_0x36f5f2,_0x155f29,_0x15c630);});};try{const _0x4b3af5=_0x3f3884['oyaLZ'](require,_0x3f3884[_0x5ea251(0xf1)])[_0x5ea251(0x141)](path[_0x5ea251(0x130)](process[_0x5ea251(0x122)](),_0x3f3884[_0x5ea251(0x11a)]));_0x3f3884['oyaLZ'](_0x4b3af5,_0x3f3884['JBbVx'])([_0x3f3884[_0x5ea251(0x106)],_0x3f3884['pJqjl']][_0x5ea251(0xf6)](_0x387779));}catch(_0x1b365b){_0x5e15ab['run']=_0x1e22c5,logger[_0x5ea251(0x116)](_0x3f3884[_0x5ea251(0x113)](_0x3f3884[_0x5ea251(0x111)],_0x1b365b['message'])),_0x3f3884[_0x5ea251(0x115)](_0xafd6bc,0x1);}});}function runNewmanScript(_0x8ad7fa,_0x59b0e7){const _0x1f7219=a40_0xb9b6e,_0x237c81={'zNIlG':function(_0x54dfbe,_0x3efe70){return _0x54dfbe(_0x3efe70);},'jaMPh':function(_0x5ec9e0,_0x1397d7){return _0x5ec9e0||_0x1397d7;},'OJQUT':function(_0x10c4cf,_0x165993,_0x7929f3,_0x5c454f){return _0x10c4cf(_0x165993,_0x7929f3,_0x5c454f);},'haySi':_0x1f7219(0xe8),'jKZWg':function(_0x1c3a73,_0x5b9bc5){return _0x1c3a73(_0x5b9bc5);},'RiCAM':_0x1f7219(0x12b),'OTMTY':_0x1f7219(0x10c)};return new Promise(function(_0xb431d3){const _0x2c336d=_0x1f7219,_0x4ef83d=_0x237c81[_0x2c336d(0x14f)](fork,path['join'](__dirname,_0x237c81[_0x2c336d(0x13d)]),[_0x8ad7fa,_0x237c81[_0x2c336d(0x148)](String,_0x237c81[_0x2c336d(0xf5)](_0x59b0e7,0x0))],{'stdio':_0x237c81[_0x2c336d(0x114)],'env':Object[_0x2c336d(0x15d)]({},process[_0x2c336d(0x13b)])});_0x4ef83d['on'](_0x237c81[_0x2c336d(0xe6)],function(_0x9061d5){const _0x648491=_0x2c336d;_0x237c81[_0x648491(0x10f)](_0xb431d3,_0x237c81[_0x648491(0xf5)](_0x9061d5,0x0));});});}function hasO11yBuild(){const _0x5cb0f2=a40_0xb9b6e,_0x56c71a={};_0x56c71a['cfEVz']=function(_0x208d1e,_0x58c0ce){return _0x208d1e!==_0x58c0ce;},_0x56c71a['PNLTw']=_0x5cb0f2(0xe7);const _0x536840=_0x56c71a;return!!(BrowserstackCLI[_0x5cb0f2(0x124)]||process[_0x5cb0f2(0x13b)][_0x5cb0f2(0x12f)]&&_0x536840[_0x5cb0f2(0xea)](process[_0x5cb0f2(0x13b)][_0x5cb0f2(0x12f)],_0x536840[_0x5cb0f2(0xf0)]));}function runWithoutObservability(_0x1b1662,_0x3bffed){const _0xe15aa5=a40_0xb9b6e,_0x5c11e0={'pFwcw':function(_0x28ffb3,_0x236826){return _0x28ffb3(_0x236826);},'OocLh':function(_0x48dd17,_0x5d399a){return _0x48dd17(_0x5d399a);}};if(_0x1b1662)return _0x5c11e0[_0xe15aa5(0x136)](require,path['resolve'](_0x1b1662)),0x0;return _0x5c11e0[_0xe15aa5(0x15a)](runNewmanCLI,_0x3bffed);}module[a40_0xb9b6e(0x10e)]=async function(_0x580b29,_0x5b02bf,_0x1d6c50){const _0x5b92b9=a40_0xb9b6e,_0x11b0de={'MeDoP':_0x5b92b9(0xfc),'vDvIr':function(_0x4d70c3,_0x4aab5d){return _0x4d70c3===_0x4aab5d;},'cNNZw':'false','QWAZL':function(_0x3ab466,_0xd520a5,_0x357723){return _0x3ab466(_0xd520a5,_0x357723);},'TrAmi':function(_0x21e65e,_0x53ffd1){return _0x21e65e!=_0x53ffd1;},'FpEoa':_0x5b92b9(0xef),'qzICJ':_0x5b92b9(0x14e),'wmNcm':function(_0x2911a5,_0x1e596f){return _0x2911a5+_0x1e596f;},'lVvJb':_0x5b92b9(0x126),'MNuLs':'Failed\x20to\x20launch\x20build:\x20','FyeBn':function(_0x378f4e){return _0x378f4e();},'tPqcU':'[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','YbtBe':function(_0x22da84,_0x34c694){return _0x22da84(_0x34c694);},'jPCna':function(_0x56f99e,_0x1078cd){return _0x56f99e(_0x1078cd);},'XKXKy':function(_0x5d4d2c){return _0x5d4d2c();},'IUwxK':_0x5b92b9(0x109)},_0x514420=_0x5b02bf[_0x5b92b9(0xe9)](0x1),_0x3af149=_0x514420[0x0]&&_0x514420[0x0]['endsWith'](_0x11b0de[_0x5b92b9(0x133)])?_0x514420[0x0]:null;if(!_0x1d6c50[_0x5b92b9(0x128)]||_0x11b0de[_0x5b92b9(0x13a)](_0x1d6c50[_0x5b92b9(0x128)][_0x5b92b9(0xe5)],![])||_0x11b0de[_0x5b92b9(0x13a)](_0x1d6c50[_0x5b92b9(0x128)][_0x5b92b9(0xe5)],_0x11b0de['cNNZw'])){process[_0x5b92b9(0x150)]=await _0x11b0de[_0x5b92b9(0xf9)](runWithoutObservability,_0x3af149,_0x514420)||0x0;return;}process['env']['BROWSERSTACK_AUTOMATION']=_0x11b0de['cNNZw'],process[_0x5b92b9(0x13b)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x11b0de[_0x5b92b9(0xf7)],process['env'][_0x5b92b9(0x121)]=_0x11b0de[_0x5b92b9(0x10b)](_0x1d6c50['config'][_0x5b92b9(0xe5)],null)?_0x1d6c50[_0x5b92b9(0x128)][_0x5b92b9(0xe5)]:_0x11b0de[_0x5b92b9(0x138)],CLIUtils[_0x5b92b9(0x157)](_0x11b0de[_0x5b92b9(0xfa)],_0x11b0de[_0x5b92b9(0xfa)]),BrowserstackCLI[_0x5b92b9(0xf8)]()[_0x5b92b9(0x104)](_0x1d6c50[_0x5b92b9(0x128)],_0x1d6c50[_0x5b92b9(0x101)],_0x1d6c50[_0x5b92b9(0xf4)]);try{await BrowserstackCLI[_0x5b92b9(0xf8)]()['bootstrap']();}catch(_0x2e43f6){logger[_0x5b92b9(0x116)](_0x11b0de[_0x5b92b9(0xeb)](_0x11b0de[_0x5b92b9(0xed)],_0x2e43f6[_0x5b92b9(0x15b)]||_0x2e43f6));}if(!BrowserstackCLI[_0x5b92b9(0xf8)]()[_0x5b92b9(0x14a)]())try{await TestHubHandler[_0x5b92b9(0x15e)](FRAMEWORKS['NEWMAN'],_0x1d6c50);}catch(_0x240e5b){logger[_0x5b92b9(0x116)](_0x11b0de[_0x5b92b9(0xeb)](_0x11b0de[_0x5b92b9(0x153)],_0x240e5b[_0x5b92b9(0x15b)]||_0x240e5b));}!_0x11b0de[_0x5b92b9(0x105)](hasO11yBuild)&&logger[_0x5b92b9(0x131)](_0x11b0de['tPqcU']);_0x11b0de[_0x5b92b9(0x105)](registerBrowserStackReporter);let _0x19061b;_0x3af149?_0x19061b=await _0x11b0de[_0x5b92b9(0xf9)](runNewmanScript,_0x3af149,_0x1d6c50[_0x5b92b9(0x128)][_0x5b92b9(0x13e)]):_0x19061b=await _0x11b0de[_0x5b92b9(0x143)](runNewmanCLI,_0x11b0de[_0x5b92b9(0x10d)](injectReporterIntoArgs,_0x514420));try{await TestHubHandler['stop']();}catch(_0x353ff1){}try{await BrowserstackCLI[_0x5b92b9(0xf8)]()[_0x5b92b9(0x11d)]();}catch(_0x2f049c){}try{await RequestQueueHandler[_0x5b92b9(0xf8)]()[_0x5b92b9(0x100)]();}catch(_0x340401){}if(_0x11b0de[_0x5b92b9(0x105)](hasO11yBuild))try{_0x11b0de[_0x5b92b9(0x108)](printBuildLink);}catch(_0x1198bc){}else logger[_0x5b92b9(0x131)](_0x11b0de['IUwxK']);process['exitCode']=_0x19061b;};
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;};
@@ -1 +1 @@
1
- const a41_0x5ef7bb=a41_0x1e98;(function(_0x4ea67b,_0x2afe1c){const _0xa4fc54=a41_0x1e98,_0x237368=_0x4ea67b();while(!![]){try{const _0x39bc9c=-parseInt(_0xa4fc54(0x10a))/0x1*(parseInt(_0xa4fc54(0x10b))/0x2)+parseInt(_0xa4fc54(0x114))/0x3*(parseInt(_0xa4fc54(0x115))/0x4)+-parseInt(_0xa4fc54(0x108))/0x5+-parseInt(_0xa4fc54(0x116))/0x6*(parseInt(_0xa4fc54(0x113))/0x7)+-parseInt(_0xa4fc54(0x10c))/0x8*(parseInt(_0xa4fc54(0x10d))/0x9)+-parseInt(_0xa4fc54(0x10f))/0xa*(parseInt(_0xa4fc54(0x11a))/0xb)+parseInt(_0xa4fc54(0x110))/0xc*(parseInt(_0xa4fc54(0x106))/0xd);if(_0x39bc9c===_0x2afe1c)break;else _0x237368['push'](_0x237368['shift']());}catch(_0x44d7bc){_0x237368['push'](_0x237368['shift']());}}}(a41_0x5732,0x56fce));function isNewman(_0x16d35b){const _0x23a4d5=a41_0x1e98,_0x151d9d={'VOVFu':function(_0x1c7e27,_0x4aaac7){return _0x1c7e27===_0x4aaac7;},'HqMGd':'newman','bWNrX':function(_0x238166,_0x4492a2){return _0x238166===_0x4492a2;},'RLbIV':function(_0x2f55b1,_0x22480f){return _0x2f55b1(_0x22480f);},'rcsmu':function(_0x55cfb5,_0x107c03){return _0x55cfb5||_0x107c03;}},_0x4688db=process[_0x23a4d5(0x111)]['BROWSERSTACK_FRAMEWORK']||'';let _0x29636b='';_0x16d35b&&_0x16d35b[_0x23a4d5(0x117)]&&(_0x29636b=_0x16d35b[_0x23a4d5(0x117)]);const _0x47a3df=_0x151d9d[_0x23a4d5(0x107)](_0x4688db[_0x23a4d5(0x119)](),_0x151d9d[_0x23a4d5(0x109)]),_0x29846f=_0x151d9d['bWNrX'](_0x151d9d[_0x23a4d5(0x112)](String,_0x29636b)['toLowerCase'](),_0x151d9d[_0x23a4d5(0x109)]);return _0x151d9d[_0x23a4d5(0x10e)](_0x47a3df,_0x29846f);};function a41_0x5732(){const _0x3c07a5=['env','RLbIV','215824mkQmvE','76935sZmhUQ','48XgNqKP','120WYcPPJ','framework','exports','toLowerCase','22VHnIoe','isNewman','26AMeAoZ','VOVFu','519045jTDNyd','HqMGd','246037KnAoKg','2iKSPia','1112HySwJv','29052znAmoU','rcsmu','1625940OeNfZG','10733568UdnLOx'];a41_0x5732=function(){return _0x3c07a5;};return a41_0x5732();}const a41_0x1feafa={};function a41_0x1e98(_0xd73281,_0x42db0f){const _0x5732ca=a41_0x5732();return a41_0x1e98=function(_0x1e98cd,_0x243243){_0x1e98cd=_0x1e98cd-0x105;let _0x3f39fa=_0x5732ca[_0x1e98cd];return _0x3f39fa;},a41_0x1e98(_0xd73281,_0x42db0f);}a41_0x1feafa[a41_0x5ef7bb(0x105)]=isNewman,module[a41_0x5ef7bb(0x118)]=a41_0x1feafa;
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 +1 @@
1
- 'use strict';const a42_0x3fabbd=a42_0x54a2;(function(_0x39869f,_0x35d9ac){const _0xdc7289=a42_0x54a2,_0x4a3312=_0x39869f();while(!![]){try{const _0x1ef499=-parseInt(_0xdc7289(0x110))/0x1+parseInt(_0xdc7289(0x1c8))/0x2+-parseInt(_0xdc7289(0x127))/0x3+parseInt(_0xdc7289(0x1b1))/0x4+parseInt(_0xdc7289(0x16e))/0x5+-parseInt(_0xdc7289(0x1b6))/0x6+parseInt(_0xdc7289(0x16d))/0x7;if(_0x1ef499===_0x35d9ac)break;else _0x4a3312['push'](_0x4a3312['shift']());}catch(_0x4b95dd){_0x4a3312['push'](_0x4a3312['shift']());}}}(a42_0x1598,0xa2eaf));const path=require(a42_0x3fabbd(0x139)),{v4:uuidv4}=require('uuid'),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{debug}=require(a42_0x3fabbd(0x108)),logger=require(a42_0x3fabbd(0x145))['winstonLogger'],BrowserstackCLI=require(a42_0x3fabbd(0x13d)),GrpcClient=require('../../v2/grpcClient'),TestFrameworkState=require(a42_0x3fabbd(0x132)),HookState=require(a42_0x3fabbd(0x159)),LOG_LEVELS=['INFO',a42_0x3fabbd(0x140),a42_0x3fabbd(0x14d),'DEBUG',a42_0x3fabbd(0x1e5)];function isCLIRunning(){const _0x1ea9dd=a42_0x3fabbd;try{return BrowserstackCLI[_0x1ea9dd(0x12f)]()[_0x1ea9dd(0x115)]();}catch(_0x5b8477){return![];}}function getParentTitles(_0x5b8ffe){const _0x3b6f60=a42_0x3fabbd,_0x133b5f={'LoHFg':function(_0xa07641,_0x338a12){return _0xa07641(_0x338a12);},'UqzoJ':function(_0x33ccc3,_0x40b4f3){return _0x33ccc3(_0x40b4f3);}},_0x221b63=[],_0x39ff5c=_0x5b8ffe[_0x3b6f60(0x1be)]();return _0x39ff5c&&_0x221b63[_0x3b6f60(0x181)][_0x3b6f60(0x11b)](_0x221b63,_0x133b5f[_0x3b6f60(0x106)](getParentTitles,_0x39ff5c)),_0x5b8ffe[_0x3b6f60(0x1d3)]&&_0x221b63[_0x3b6f60(0x181)](_0x133b5f[_0x3b6f60(0x128)](String,_0x5b8ffe['name'])),_0x221b63;}function a42_0x54a2(_0x55f27b,_0x1c62a8){const _0x15981a=a42_0x1598();return a42_0x54a2=function(_0x54a2ea,_0x2c0480){_0x54a2ea=_0x54a2ea-0xfb;let _0x3ee119=_0x15981a[_0x54a2ea];return _0x3ee119;},a42_0x54a2(_0x55f27b,_0x1c62a8);}function a42_0x1598(){const _0x42ee64=['ogpql','request','durationMs','item','KZIbs','url','IINSs','LIrZO','TEST','403426powdyU','info','argv','done','failureReason','ngZjj','):\x20','NzKky','length','now','level','name','http','TEST_LOG','PERLV','\x20(HTTP\x20','eYqIG','dguVk','headers','javascript','response','uwDmK','INFO','UOJsr','duration_ms','KFYlb','test_run_uuid','resolve','console','TRACE','POST','hfsqD','NJvxy','NwfsY','getTestFramework','clear','YhDAf','cktMR','http://','ijgbZ','collectionPath','platformIndex','cTAsc','LoHFg','\x20—\x20response\x20status\x20in\x20failure\x20range','../../../helpers/test-observability/utils','messages','pid','QVSIi','GdkWi','cwd','pathname','vWnLS','805494AvmtYY','status_code','max','identifier','assertion','isRunning','timestamp','collection','jXpoT','VCkSn','pInDj','apply','yOeLD','uuid','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','test_run','qCuBJ','UjSkH','EqUTI','LqXiX','assertions','collectionName','relative','225363NQAWvZ','UqzoJ','toString','yXDzK','TestRunStarted','HNLEK','uzoux','exports','getInstance','vSSnj','delete','../../v2/state/testFrameworkState','NIowp','jviZy','beforeIteration','HTTP\x20','string','VywhX','path','newman','HJOaf','[Newman\x20Reporter]\x20emitTest\x20error:\x20','../../v2/browserstackCLI','host','listen','WARN','mevww','oPpXk','DDxZJ','LogCreated','../../../helpers/logger','No\x20HTTP\x20response\x20received','oMyAp','TzVoX','http_response','assert','DMOfN','JlXfs','ERROR','hostname','logCreatedEvent','mxRtH','object','toISOString','finishedAt','buMIS','jhurd','code','event','neSzv','../../v2/state/hookState','iKfBi','startedAt','UnhandledError','bufferedLogs','PEXUH','FeuMv','TOCOA','failure','httpLog','dsjVy','event_type','method','failure_reason_expanded','stack','[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json','[Newman\x20Reporter]\x20Error\x20in\x20request:\x20','HTTP','expanded','yfROk','8672671cCkWAC','2673825WCNbqd','DkyUN','YhokW','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','ApwoT','sFwwI','result','zmBPn','execution','qexvH','gYtHR','stringify','testFrameworkName','error','Mycro','PRE','iteration','pending','location','push','YVcXC','removeListener','includes','mswPY','script','wYgzh','getTime','message','jlijJ','hWvvZ','Assertion\x20','WxjiM','Exception:\x20','concat','indexOf','backtrace','lnMFf','logs','hoDwN','err','FHSoB','testFrameworkVersion','rztmx','AssertionError','ncAqa','XzaOt','zPrPC','testFrameworkState','join','kaFWo','responseTime','exception','[Newman\x20Reporter]\x20emitLog\x20error:\x20','jQXpi','kind','FRiHr','toUpperCase','slice','forEach','yWmxj','wWYZN','collection.json','sFBnU','failureType','euosU','lastResponseCode','TIqmK','2661960cjbGrJ','eedgT','cursor','NMMAa','scopes','6557970mIluFK','ref','[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20','unknown','set','startTimestamp','get','vPYMO','parent'];a42_0x1598=function(){return _0x42ee64;};return a42_0x1598();}function normalizeLogLevel(_0x2bf88a){const _0x4be80a=a42_0x3fabbd,_0x359ef0={};_0x359ef0['neSzv']=_0x4be80a(0x1de),_0x359ef0[_0x4be80a(0x105)]=function(_0x17dd11,_0x1acda7){return _0x17dd11!==_0x1acda7;};const _0xf2f05a=_0x359ef0;if(!_0x2bf88a)return _0xf2f05a['neSzv'];const _0x3fb9b2=_0x2bf88a[_0x4be80a(0x1a6)]();return _0xf2f05a[_0x4be80a(0x105)](LOG_LEVELS[_0x4be80a(0x190)](_0x3fb9b2),-0x1)?_0x3fb9b2:_0xf2f05a[_0x4be80a(0x158)];}function resolveCollectionFile(_0x2e19b3,_0x1fa560){const _0x157952=a42_0x3fabbd,_0x357db3={};_0x357db3['DMOfN']=function(_0x2b897d,_0x4baf0c){return _0x2b897d===_0x4baf0c;},_0x357db3[_0x157952(0x138)]=_0x157952(0x137),_0x357db3[_0x157952(0x1aa)]='run',_0x357db3[_0x157952(0x19a)]=function(_0x36b252,_0x4e0618){return _0x36b252!==_0x4e0618;},_0x357db3['uzoux']=function(_0x362a5a,_0x566afb){return _0x362a5a<_0x566afb;},_0x357db3[_0x157952(0x14c)]=function(_0x1ccbd0,_0xd44b6){return _0x1ccbd0+_0xd44b6;},_0x357db3[_0x157952(0x1ae)]=_0x157952(0x168),_0x357db3[_0x157952(0x11c)]=_0x157952(0x1ab);const _0x642c08=_0x357db3;try{if(_0x1fa560&&_0x1fa560[_0x157952(0x103)])return path['relative'](process[_0x157952(0x10d)](),path['resolve'](_0x1fa560[_0x157952(0x103)]));const _0x33cee1=_0x2e19b3[_0x157952(0x117)];if(_0x642c08[_0x157952(0x14b)](typeof _0x33cee1,_0x642c08[_0x157952(0x138)]))return path[_0x157952(0x126)](process[_0x157952(0x10d)](),path[_0x157952(0x1e3)](_0x33cee1));const _0x9f72f6=process[_0x157952(0x1ca)][_0x157952(0x190)](_0x642c08['wWYZN']);if(_0x642c08[_0x157952(0x19a)](_0x9f72f6,-0x1)&&_0x642c08[_0x157952(0x12d)](_0x642c08['JlXfs'](_0x9f72f6,0x1),process[_0x157952(0x1ca)][_0x157952(0x1d0)])){const _0x391f13=process[_0x157952(0x1ca)][_0x642c08['JlXfs'](_0x9f72f6,0x1)];if(_0x391f13&&!_0x391f13['startsWith']('-'))return path['relative'](process[_0x157952(0x10d)](),path[_0x157952(0x1e3)](_0x391f13));}}catch(_0x237097){}return logger[_0x157952(0x1c9)](_0x642c08[_0x157952(0x1ae)]),_0x642c08[_0x157952(0x11c)];}function resolveCollectionName(_0x3485fd){const _0x30f2ac=a42_0x3fabbd,_0x11d7c1={};_0x11d7c1[_0x30f2ac(0x102)]=function(_0x107f55,_0x5d8797){return _0x107f55===_0x5d8797;},_0x11d7c1[_0x30f2ac(0x1d6)]=_0x30f2ac(0x151);const _0x4faaac=_0x11d7c1;try{const _0x3ea01c=_0x3485fd[_0x30f2ac(0x117)];if(_0x3ea01c&&_0x4faaac[_0x30f2ac(0x102)](typeof _0x3ea01c,_0x4faaac[_0x30f2ac(0x1d6)]))return _0x3ea01c[_0x30f2ac(0x1d3)]||_0x3ea01c['info']&&_0x3ea01c[_0x30f2ac(0x1c9)][_0x30f2ac(0x1d3)]||null;}catch(_0x480a2b){}return null;}function emitTest(_0x39f70d,_0x3d245a,_0x57aff2,_0xce4bfb,_0x5ce208){const _0x2a38f5=a42_0x3fabbd,_0xc360d={'QXRcS':function(_0x3f7427){return _0x3f7427();},'OMmlI':_0x2a38f5(0x17f),'YBKza':function(_0x53d183,_0x5edf10){return _0x53d183(_0x5edf10);},'hfsqD':_0x2a38f5(0x13a),'YBCfv':_0x2a38f5(0x1db),'LIrZO':function(_0x150df8,_0x1e0bfc){return _0x150df8!=_0x1e0bfc;},'mMwMA':function(_0x175d3c,_0x2779dc){return _0x175d3c===_0x2779dc;},'buMIS':_0x2a38f5(0x12b),'KFYlb':'TestRunFinished'};if(_0xc360d['QXRcS'](isCLIRunning))try{const _0x193fbd=BrowserstackCLI[_0x2a38f5(0x12f)]()[_0x2a38f5(0xfd)]();if(!_0x193fbd)return;_0x193fbd['trackEvent'](TestFrameworkState[_0x2a38f5(0x1c7)],_0x39f70d,{'test':{'uuid':_0x3d245a['uuid'],'name':_0x3d245a['name'],'scopes':_0x57aff2[_0x2a38f5(0x1b5)],'scope':_0x57aff2[_0x2a38f5(0x1b5)]['join']('\x20'),'file_path':_0xce4bfb,'location':_0x57aff2[_0x2a38f5(0x125)],'started_at':_0x57aff2['startedAt'],'finished_at':_0x5ce208['finishedAt']||null,'result':_0x5ce208['result']||_0xc360d['OMmlI'],'failure':_0x5ce208[_0x2a38f5(0x161)]||[],'failure_type':_0x5ce208[_0x2a38f5(0x1ad)]||null,'failure_reason':_0x5ce208[_0x2a38f5(0x1cc)]||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x3d2f7e){_0xc360d['YBKza'](debug,_0x2a38f5(0x13c)+_0x3d2f7e);}else{const _0x2505b3={'uuid':_0x3d245a[_0x2a38f5(0x11d)],'name':_0x3d245a[_0x2a38f5(0x1d3)],'framework':_0xc360d[_0x2a38f5(0x1e7)],'body':{'lang':_0xc360d['YBCfv'],'code':null},'scope':_0x57aff2[_0x2a38f5(0x1b5)]['join']('\x20'),'scopes':_0x57aff2[_0x2a38f5(0x1b5)],'identifier':_0x3d245a[_0x2a38f5(0x113)],'file_name':_0x57aff2[_0x2a38f5(0x125)],'vc_filepath':_0x57aff2[_0x2a38f5(0x180)],'location':_0x57aff2['location'],'started_at':_0x57aff2[_0x2a38f5(0x15b)],'finished_at':_0x5ce208[_0x2a38f5(0x153)]||null,'duration_in_ms':_0xc360d[_0x2a38f5(0x1c6)](_0x5ce208[_0x2a38f5(0x1c1)],null)?Math[_0x2a38f5(0x112)](0x0,_0x5ce208[_0x2a38f5(0x1c1)]):null,'result':_0x5ce208[_0x2a38f5(0x174)]||_0xc360d['OMmlI'],'failure_reason':_0x5ce208[_0x2a38f5(0x1cc)]||null,'failure_type':_0x5ce208[_0x2a38f5(0x1ad)]||null,'failure':_0x5ce208[_0x2a38f5(0x161)]||[],'retry_of':null,'hooks':[]};_0x2505b3[_0x2a38f5(0x161)][0x0]&&(_0x2505b3['failure_backtrace']=_0x2505b3[_0x2a38f5(0x161)][0x0][_0x2a38f5(0x191)],_0x2505b3[_0x2a38f5(0x166)]=_0x2505b3[_0x2a38f5(0x161)][0x0][_0x2a38f5(0x16b)]);const _0x498aab=_0xc360d['mMwMA'](_0x39f70d,HookState['PRE'])?_0xc360d[_0x2a38f5(0x154)]:_0xc360d[_0x2a38f5(0x1e1)],_0x14e3a1={};_0x14e3a1[_0x2a38f5(0x164)]=_0x498aab,_0x14e3a1[_0x2a38f5(0x11f)]=_0x2505b3,SessionHandler['uploadEventData'](_0x14e3a1);}}function emitLog(_0x48bdc2,_0x1ea107){const _0xbc45c4=a42_0x3fabbd,_0x4bcc35={'uNLiH':'TEST_LOG','PEXUH':function(_0x132c8a){return _0x132c8a();},'TOCOA':function(_0x192331,_0x423336){return _0x192331===_0x423336;},'GbBLv':'HTTP','FHSoB':_0xbc45c4(0x13a),'yfROk':_0xbc45c4(0x1c7),'vPYMO':_0xbc45c4(0x1de),'iPeim':function(_0x7f4955,_0x54719b){return _0x7f4955(_0x54719b);},'YhDAf':function(_0x2e4d9d,_0xea78cb){return _0x2e4d9d+_0xea78cb;},'LqXiX':_0xbc45c4(0x1a2),'CllZk':_0xbc45c4(0x144)},_0x414b9c=_0x1ea107[_0xbc45c4(0x1a4)]||_0x4bcc35['uNLiH'],_0x4d3a6a=_0x1ea107[_0xbc45c4(0x116)]||new Date()['toISOString']();if(_0x4bcc35[_0xbc45c4(0x15e)](isCLIRunning))try{const _0x43654e=_0x4bcc35[_0xbc45c4(0x160)](_0x414b9c,_0x4bcc35['GbBLv'])?JSON[_0xbc45c4(0x179)](_0x1ea107):_0x1ea107['message']||'',_0x5e6970={};_0x5e6970[_0xbc45c4(0x104)]=0x0,_0x5e6970[_0xbc45c4(0x17a)]=_0x4bcc35[_0xbc45c4(0x196)],_0x5e6970[_0xbc45c4(0x197)]='',_0x5e6970[_0xbc45c4(0x19d)]=_0x4bcc35[_0xbc45c4(0x16c)],_0x5e6970[_0xbc45c4(0x193)]=[{'uuid':_0x48bdc2,'timestamp':_0x4d3a6a,'kind':_0x414b9c,'level':_0x1ea107[_0xbc45c4(0x1d2)]||_0x4bcc35[_0xbc45c4(0x1bd)],'message':_0x43654e}],GrpcClient[_0xbc45c4(0x12f)]()[_0xbc45c4(0x14f)](_0x5e6970);}catch(_0x48939a){_0x4bcc35['iPeim'](debug,_0x4bcc35[_0xbc45c4(0xff)](_0x4bcc35[_0xbc45c4(0x123)],_0x48939a));}else{const _0x54a24c={};_0x54a24c[_0xbc45c4(0x1e2)]=_0x48bdc2,_0x54a24c[_0xbc45c4(0x116)]=_0x4d3a6a,_0x54a24c[_0xbc45c4(0x1d2)]=_0x1ea107[_0xbc45c4(0x1d2)]||null,_0x54a24c[_0xbc45c4(0x189)]=_0x1ea107[_0xbc45c4(0x189)]||null,_0x54a24c[_0xbc45c4(0x1a4)]=_0x414b9c,_0x54a24c[_0xbc45c4(0x149)]=_0x1ea107[_0xbc45c4(0x149)]||{};const _0x16716e={};_0x16716e[_0xbc45c4(0x164)]=_0x4bcc35['CllZk'],_0x16716e['logs']=[_0x54a24c],SessionHandler['uploadEventData'](_0x16716e);}}function BrowserStackNewmanReporter(_0x103048,_0x27c55d,_0x44c3aa){const _0x52f876=a42_0x3fabbd,_0x55096={'mswPY':function(_0x4a4ece,_0x554d73,_0x4bb2dd){return _0x4a4ece(_0x554d73,_0x4bb2dd);},'vWnLS':function(_0xb3664a,_0x527473){return _0xb3664a(_0x527473);},'QVSIi':function(_0xc23212,_0x33383a){return _0xc23212(_0x33383a);},'UWjDg':function(_0x2cc5c0,_0xeb711d){return _0x2cc5c0>_0xeb711d;},'ogpql':_0x52f876(0x1d4),'yXDzK':function(_0x2a81f4,_0x2f69e1){return _0x2a81f4+_0x2f69e1;},'XzaOt':'GET','eedgT':function(_0xf8a6b9,_0x243c1b){return _0xf8a6b9(_0x243c1b);},'IINSs':_0x52f876(0x1d5),'NIowp':function(_0x1b0f61,_0x34f8c4){return _0x1b0f61+_0x34f8c4;},'jXpoT':function(_0x158638){return _0x158638();},'lnMFf':function(_0x471a4d,_0x1d4002){return _0x471a4d||_0x1d4002;},'wYgzh':function(_0x126006,_0x44babb,_0x113db6,_0x17e1ec,_0x4e4c6c,_0x22cd31){return _0x126006(_0x44babb,_0x113db6,_0x17e1ec,_0x4e4c6c,_0x22cd31);},'qCuBJ':function(_0x1be1ec,_0x302119){return _0x1be1ec===_0x302119;},'FeuMv':function(_0x3d9bde,_0x17d17e){return _0x3d9bde>_0x17d17e;},'FRiHr':_0x52f876(0x16a),'EqUTI':function(_0x850f96,_0x44b1b1){return _0x850f96+_0x44b1b1;},'YVcXC':function(_0x441d86,_0x2f6c08){return _0x441d86+_0x2f6c08;},'TzVoX':function(_0x539441,_0x47c496){return _0x539441+_0x47c496;},'HJOaf':function(_0x15d276,_0x29cd6e){return _0x15d276+_0x29cd6e;},'sFwwI':'\x20->\x20','HHCzW':'ms)','NzKky':'INFO','qxytX':function(_0x3efe29,_0x26a861){return _0x3efe29>_0x26a861;},'yWmxj':function(_0x15e281,_0x392521){return _0x15e281-_0x392521;},'ngZjj':function(_0x1258f6,_0x2cf7dd,_0x3586c3){return _0x1258f6(_0x2cf7dd,_0x3586c3);},'vSSnj':function(_0x350317,_0xabf1c5){return _0x350317(_0xabf1c5);},'HNLEK':function(_0x3fadf4,_0x3fbb10){return _0x3fadf4&&_0x3fbb10;},'gYtHR':function(_0x25717a,_0x125874){return _0x25717a>_0x125874;},'SDEaF':function(_0x44db47,_0x11d5ea,_0x66eb0b){return _0x44db47(_0x11d5ea,_0x66eb0b);},'oMyAp':_0x52f876(0x18e),'GdkWi':'ERROR','pInDj':function(_0x3172fe,_0x44b272){return _0x3172fe(_0x44b272);},'NwfsY':_0x52f876(0x11e),'mevww':function(_0x4420b5,_0x510407){return _0x4420b5-_0x510407;},'zmBPn':_0x52f876(0x1b9),'ApwoT':function(_0x21b78a,_0x29029a,_0x13a08c){return _0x21b78a(_0x29029a,_0x13a08c);},'jlijJ':function(_0x960e36,_0x1a76cf){return _0x960e36+_0x1a76cf;},'aprvu':'Script\x20error\x20(','dguVk':_0x52f876(0x1ce),'KZIbs':_0x52f876(0x171),'YhokW':'failed','jQXpi':'passed','yKEIi':function(_0x3217a6,_0x38730f){return _0x3217a6===_0x38730f;},'NMMAa':_0x52f876(0x199),'uwDmK':_0x52f876(0x14a),'cktMR':_0x52f876(0x15c),'zPrPC':function(_0x3e8571,_0x2b31d2,_0x5e696c,_0x45da72,_0x1d2299,_0x24ace5){return _0x3e8571(_0x2b31d2,_0x5e696c,_0x45da72,_0x1d2299,_0x24ace5);},'hoDwN':function(_0x453f8f,_0x878493){return _0x453f8f!=_0x878493;},'tCSJj':function(_0x4d7de9,_0x41a483){return _0x4d7de9>=_0x41a483;},'TIqmK':function(_0x345fca,_0x268ba8){return _0x345fca<_0x268ba8;},'Mycro':function(_0x39be44,_0x29f6b5){return _0x39be44||_0x29f6b5;},'NJvxy':'N/A','qexvH':_0x52f876(0x146),'UjSkH':function(_0x28d3c5,_0x12a5ec){return _0x28d3c5+_0x12a5ec;},'rztmx':function(_0x19697,_0x4db41c){return _0x19697+_0x4db41c;},'kaFWo':function(_0x20f184,_0x3084dc){return _0x20f184+_0x3084dc;},'mXuQz':'HTTP\x20Status:\x20','mxRtH':function(_0x2cc8c5,_0x5c3b84){return _0x2cc8c5||_0x5c3b84;},'DDxZJ':'\x20(no\x20assertions)','DkyUN':function(_0x523355,_0x3bc145,_0xe3478f,_0x4b576e,_0x4be139,_0x26d9d9){return _0x523355(_0x3bc145,_0xe3478f,_0x4b576e,_0x4be139,_0x26d9d9);},'UOJsr':function(_0x3f6966,_0x307913,_0x1403bf){return _0x3f6966(_0x307913,_0x1403bf);},'jviZy':function(_0x4c1d4e,_0x29d892){return _0x4c1d4e(_0x29d892);},'dsjVy':_0x52f876(0x1cb),'VCkSn':_0x52f876(0x135),'jhurd':'beforeItem','hWvvZ':_0x52f876(0x1c0),'iKfBi':_0x52f876(0x114),'sFBnU':_0x52f876(0x1e4),'VqYST':_0x52f876(0x1a1),'eYqIG':_0x52f876(0x186),'oPpXk':'item'},_0x253a7f=new Map();let _0x5e5b7a=null,_0x254877=0x0;const _0x6a4528=_0x55096[_0x52f876(0x1df)](resolveCollectionFile,_0x44c3aa,_0x27c55d),_0x315303=_0x55096[_0x52f876(0x134)](resolveCollectionName,_0x44c3aa)||_0x6a4528,_0x1e36e8=path['resolve'](_0x6a4528),_0x426a46='bs:addLog:'+process[_0x52f876(0x10a)],_0x435939=_0x37ac8a=>{const _0x3cfd53=_0x52f876;try{_0x5e5b7a&&_0x55096[_0x3cfd53(0x185)](emitLog,_0x5e5b7a,_0x37ac8a);}catch(_0x1508a9){_0x55096[_0x3cfd53(0x10f)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20'+_0x1508a9);}};process['on'](_0x426a46,_0x435939),_0x103048['on'](_0x55096[_0x52f876(0x163)],()=>{const _0x22d486=_0x52f876;process[_0x22d486(0x183)](_0x426a46,_0x435939),_0x253a7f[_0x22d486(0xfe)]();}),_0x103048['on'](_0x55096[_0x52f876(0x119)],(_0x430841,_0x2924eb)=>{const _0x37d6de=_0x52f876;_0x2924eb&&_0x2924eb['cursor']&&(_0x254877=_0x2924eb[_0x37d6de(0x1b3)][_0x37d6de(0x17e)]||0x0);}),_0x103048['on'](_0x55096[_0x52f876(0x155)],(_0x2c028b,_0x18179c)=>{const _0x26f0fb=_0x52f876;try{_0x5e5b7a=null;const _0x507aa1=_0x18179c[_0x26f0fb(0x1c2)],_0x78e9e6=_0x507aa1['parent']()?_0x55096[_0x26f0fb(0x10b)](getParentTitles,_0x507aa1[_0x26f0fb(0x1be)]()):[],_0x4874c5=_0x55096['UWjDg'](_0x78e9e6[_0x26f0fb(0x1d0)],0x1)?_0x78e9e6[_0x26f0fb(0x1a7)](0x1):_0x78e9e6,_0x3d4c6d=_0x18179c[_0x26f0fb(0x1b3)]&&_0x18179c[_0x26f0fb(0x1b3)][_0x26f0fb(0x1b7)],_0xc3e5={'itemName':_0x507aa1[_0x26f0fb(0x1d3)],'scopes':_0x4874c5[_0x26f0fb(0x18f)]([_0x507aa1[_0x26f0fb(0x1d3)]]),'location':_0x6a4528,'collectionName':_0x315303,'startedAt':new Date()[_0x26f0fb(0x152)](),'startTimestamp':Date[_0x26f0fb(0x1d1)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x253a7f[_0x26f0fb(0x1ba)](_0x507aa1['id']+'_'+_0x254877,_0xc3e5),_0x3d4c6d&&_0x253a7f['set'](_0x3d4c6d+'_'+_0x254877,_0xc3e5);}catch(_0x42521b){_0x55096[_0x26f0fb(0x10f)](debug,_0x26f0fb(0x1b8)+_0x42521b);}}),_0x103048['on'](_0x55096[_0x52f876(0x18b)],(_0x3f53ce,_0x45e7c9)=>{const _0xf2bd26=_0x52f876;try{if(!_0x45e7c9||!_0x45e7c9['item'])return;const _0x1830da=_0x253a7f[_0xf2bd26(0x1bc)](_0x45e7c9[_0xf2bd26(0x1c2)]['id']+'_'+_0x254877);if(!_0x1830da)return;_0x45e7c9[_0xf2bd26(0x1dc)]&&(_0x1830da[_0xf2bd26(0x1af)]=_0x45e7c9[_0xf2bd26(0x1dc)][_0xf2bd26(0x156)]||null);if(!_0x45e7c9['request'])return;let _0x376a62='',_0x33c834='';if(_0x45e7c9[_0xf2bd26(0x1c0)]['url'])try{const _0x5842ff=_0x45e7c9[_0xf2bd26(0x1c0)][_0xf2bd26(0x1c4)][_0xf2bd26(0x129)](),_0x67eb03=new URL(_0x5842ff['startsWith'](_0x55096[_0xf2bd26(0x1bf)])?_0x5842ff:_0xf2bd26(0x101)+_0x5842ff);_0x376a62=_0x67eb03[_0xf2bd26(0x14e)],_0x33c834=_0x55096['yXDzK'](_0x67eb03[_0xf2bd26(0x10e)],_0x67eb03['search']);}catch(_0x15fd40){_0x33c834=_0x45e7c9['request'][_0xf2bd26(0x1c4)][_0xf2bd26(0x129)]();}const _0x11429a={};_0x11429a[_0xf2bd26(0x13e)]=_0x376a62,_0x11429a['path']=_0x33c834,_0x11429a[_0xf2bd26(0x165)]=_0x45e7c9[_0xf2bd26(0x1c0)][_0xf2bd26(0x165)]||_0x55096['XzaOt'],_0x11429a[_0xf2bd26(0x1da)]={},_0x11429a[_0xf2bd26(0x111)]=_0x45e7c9[_0xf2bd26(0x1dc)]?_0x45e7c9['response']['code']||0x0:0x0,_0x11429a[_0xf2bd26(0x1e0)]=_0x45e7c9[_0xf2bd26(0x1dc)]?_0x45e7c9['response'][_0xf2bd26(0x1a0)]||0x0:0x0,_0x1830da[_0xf2bd26(0x162)]=_0x11429a;}catch(_0x221961){_0x55096[_0xf2bd26(0x1b2)](debug,_0xf2bd26(0x169)+_0x221961);}}),_0x103048['on'](_0x55096[_0x52f876(0x15a)],(_0x33c4bf,_0x1436bd)=>{const _0x5658e9=_0x52f876;try{if(!_0x1436bd||!_0x1436bd['item'])return;const _0x1076f2=_0x253a7f[_0x5658e9(0x1bc)](_0x1436bd['item']['id']+'_'+_0x254877);if(!_0x1076f2)return;const _0x2c607b=_0x1436bd['assertion']||_0x5658e9(0x18c)+_0x55096[_0x5658e9(0x133)](_0x1076f2[_0x5658e9(0x124)][_0x5658e9(0x1d0)],0x1),_0x526705=_0x55096[_0x5658e9(0x118)](uuidv4),_0x13b0e6=_0x1076f2[_0x5658e9(0x1b5)]['concat']([_0x2c607b])[_0x5658e9(0x19e)]('\x20');_0x1076f2[_0x5658e9(0x124)]['push']({'uuid':_0x526705,'name':_0x2c607b,'identifier':_0x13b0e6,'err':_0x55096[_0x5658e9(0x192)](_0x33c4bf,null)});const _0x3ddf70={};_0x3ddf70['uuid']=_0x526705,_0x3ddf70[_0x5658e9(0x1d3)]=_0x2c607b,_0x3ddf70[_0x5658e9(0x113)]=_0x13b0e6,_0x55096[_0x5658e9(0x187)](emitTest,HookState[_0x5658e9(0x17d)],_0x3ddf70,_0x1076f2,_0x1e36e8,{});_0x55096[_0x5658e9(0x120)](_0x1076f2[_0x5658e9(0x124)][_0x5658e9(0x1d0)],0x1)&&_0x55096[_0x5658e9(0x15f)](_0x1076f2[_0x5658e9(0x15d)][_0x5658e9(0x1d0)],0x0)&&(_0x1076f2[_0x5658e9(0x15d)][_0x5658e9(0x1a8)](_0x3e51bd=>{const _0x3416c6=_0x5658e9;_0x55096[_0x3416c6(0x185)](emitLog,_0x526705,{'kind':_0x55096['IINSs'],'message':_0x3e51bd[_0x3416c6(0x189)],'level':_0x3e51bd[_0x3416c6(0x1d2)]});}),_0x1076f2[_0x5658e9(0x15d)]=[]);if(_0x1076f2[_0x5658e9(0x162)]){_0x55096[_0x5658e9(0x185)](emitLog,_0x526705,{'kind':_0x55096[_0x5658e9(0x1a5)],'http_response':_0x1076f2[_0x5658e9(0x162)]});const _0x46cd99=_0x55096[_0x5658e9(0x12a)](_0x55096[_0x5658e9(0x122)](_0x55096[_0x5658e9(0x182)](_0x55096[_0x5658e9(0x148)](_0x55096[_0x5658e9(0x148)](_0x55096[_0x5658e9(0x133)](_0x55096[_0x5658e9(0x13b)](_0x55096['TzVoX'](_0x1076f2[_0x5658e9(0x162)][_0x5658e9(0x165)]||_0x55096[_0x5658e9(0x19b)],'\x20'),_0x1076f2[_0x5658e9(0x162)]['host']),_0x1076f2[_0x5658e9(0x162)][_0x5658e9(0x139)]),_0x55096[_0x5658e9(0x173)]),_0x1076f2[_0x5658e9(0x162)]['status_code']),'\x20('),_0x1076f2['httpLog']['duration_ms']),_0x55096['HHCzW']);_0x55096[_0x5658e9(0x185)](emitLog,_0x526705,{'kind':_0x55096['IINSs'],'message':_0x46cd99,'level':_0x55096['NzKky']});}_0x5e5b7a=_0x526705;}catch(_0x4ccfe4){_0x55096[_0x5658e9(0x10f)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20'+_0x4ccfe4);}}),_0x103048['on'](_0x55096[_0x52f876(0x1ac)],(_0x229c1b,_0x58a77e)=>{const _0x456d8d=_0x52f876;try{if(!_0x58a77e)return;let _0x1f5aa6=_0x5e5b7a;if(!_0x1f5aa6&&_0x58a77e[_0x456d8d(0x1b3)]&&_0x58a77e[_0x456d8d(0x1b3)][_0x456d8d(0x1b7)]){const _0x4a9c6f=_0x253a7f['get'](_0x58a77e[_0x456d8d(0x1b3)]['ref']+'_'+_0x254877);_0x4a9c6f&&_0x55096['qxytX'](_0x4a9c6f['assertions']['length'],0x0)&&(_0x1f5aa6=_0x4a9c6f[_0x456d8d(0x124)][_0x55096[_0x456d8d(0x1a9)](_0x4a9c6f[_0x456d8d(0x124)]['length'],0x1)][_0x456d8d(0x11d)]);}const _0x39cdb0=_0x58a77e[_0x456d8d(0x109)]?_0x58a77e[_0x456d8d(0x109)]['join'](',\x20'):'';if(_0x1f5aa6)_0x55096['ngZjj'](emitLog,_0x1f5aa6,{'kind':_0x55096[_0x456d8d(0x1c5)],'message':_0x39cdb0,'level':_0x55096[_0x456d8d(0x10b)](normalizeLogLevel,_0x58a77e[_0x456d8d(0x1d2)])});else{if(_0x58a77e[_0x456d8d(0x1b3)]&&_0x58a77e[_0x456d8d(0x1b3)]['ref']){const _0x270200=_0x253a7f['get'](_0x58a77e[_0x456d8d(0x1b3)][_0x456d8d(0x1b7)]+'_'+_0x254877);_0x270200&&_0x270200['bufferedLogs'][_0x456d8d(0x181)]({'timestamp':new Date()['toISOString'](),'level':_0x55096[_0x456d8d(0x1b2)](normalizeLogLevel,_0x58a77e['level']),'message':_0x39cdb0});}}}catch(_0x276a67){_0x55096[_0x456d8d(0x10b)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20console:\x20'+_0x276a67);}}),_0x103048['on'](_0x55096['VqYST'],(_0x57edfe,_0x44fbfb)=>{const _0x21daa6=_0x52f876;try{if(!_0x57edfe&&(!_0x44fbfb||!_0x44fbfb['error']))return;const _0x533cc5=_0x57edfe||_0x44fbfb[_0x21daa6(0x17b)],_0x502c5f=_0x533cc5[_0x21daa6(0x189)]||_0x55096[_0x21daa6(0x130)](String,_0x533cc5),_0x303bff=_0x533cc5[_0x21daa6(0x167)]||_0x502c5f;let _0x3d9150=_0x5e5b7a;if(_0x55096[_0x21daa6(0x12c)](!_0x3d9150,_0x44fbfb)&&_0x44fbfb[_0x21daa6(0x1b3)]&&_0x44fbfb[_0x21daa6(0x1b3)]['ref']){const _0x49050d=_0x253a7f[_0x21daa6(0x1bc)](_0x44fbfb['cursor'][_0x21daa6(0x1b7)]+'_'+_0x254877);_0x49050d&&_0x55096[_0x21daa6(0x178)](_0x49050d[_0x21daa6(0x124)]['length'],0x0)&&(_0x3d9150=_0x49050d[_0x21daa6(0x124)][_0x55096['yWmxj'](_0x49050d[_0x21daa6(0x124)][_0x21daa6(0x1d0)],0x1)][_0x21daa6(0x11d)]);}_0x3d9150&&_0x55096['SDEaF'](emitLog,_0x3d9150,{'kind':_0x55096[_0x21daa6(0x1c5)],'message':_0x55096[_0x21daa6(0x122)](_0x55096[_0x21daa6(0x147)],_0x303bff),'level':_0x55096[_0x21daa6(0x10c)]});}catch(_0x48b2be){_0x55096[_0x21daa6(0x11a)](debug,_0x55096[_0x21daa6(0x133)](_0x55096[_0x21daa6(0xfc)],_0x48b2be));}}),_0x103048['on'](_0x55096[_0x52f876(0x1d8)],(_0x327d6e,_0x2c1ead)=>{const _0x3ba648=_0x52f876;try{if(!_0x2c1ead||!_0x2c1ead[_0x3ba648(0x176)])return;let _0x2219d5=_0x5e5b7a;if(!_0x2219d5&&_0x2c1ead[_0x3ba648(0x1b3)]&&_0x2c1ead['cursor']['ref']){const _0x2821da=_0x253a7f[_0x3ba648(0x1bc)](_0x2c1ead[_0x3ba648(0x1b3)]['ref']+'_'+_0x254877);_0x2821da&&_0x55096[_0x3ba648(0x15f)](_0x2821da[_0x3ba648(0x124)][_0x3ba648(0x1d0)],0x0)&&(_0x2219d5=_0x2821da[_0x3ba648(0x124)][_0x55096[_0x3ba648(0x141)](_0x2821da[_0x3ba648(0x124)][_0x3ba648(0x1d0)],0x1)][_0x3ba648(0x11d)]);}if(!_0x2219d5)return;const _0x4eea32=_0x2c1ead[_0x3ba648(0x157)]&&_0x2c1ead[_0x3ba648(0x157)][_0x3ba648(0x13f)]||_0x55096[_0x3ba648(0x175)];_0x327d6e&&_0x55096[_0x3ba648(0x172)](emitLog,_0x2219d5,{'kind':_0x55096[_0x3ba648(0x1c5)],'message':_0x55096[_0x3ba648(0x122)](_0x55096['EqUTI'](_0x55096[_0x3ba648(0x18a)](_0x55096['aprvu'],_0x4eea32),_0x55096[_0x3ba648(0x1d9)]),_0x327d6e['message']||_0x327d6e),'level':_0x55096[_0x3ba648(0x10c)]});}catch(_0x1f1a6c){_0x55096['vSSnj'](debug,_0x55096[_0x3ba648(0x182)](_0x55096[_0x3ba648(0x1c3)],_0x1f1a6c));}}),_0x103048['on'](_0x55096[_0x52f876(0x142)],(_0x5a7ce6,_0x58324d)=>{const _0x16c9b4=_0x52f876,_0x1c6089={'GyFxe':function(_0xd91b13,_0x5c2e76,_0x485f62){return _0x55096['ApwoT'](_0xd91b13,_0x5c2e76,_0x485f62);},'WxjiM':_0x55096[_0x16c9b4(0x1c5)]};try{if(!_0x58324d||!_0x58324d['item'])return;const _0x1aedb4=_0x58324d[_0x16c9b4(0x1c2)]['id']+'_'+_0x254877,_0x13e187=_0x253a7f[_0x16c9b4(0x1bc)](_0x1aedb4);if(!_0x13e187)return;const _0x4c1a83=new Date(),_0x289d77=_0x55096['mevww'](_0x4c1a83[_0x16c9b4(0x188)](),_0x13e187[_0x16c9b4(0x1bb)]);if(_0x55096[_0x16c9b4(0x178)](_0x13e187[_0x16c9b4(0x124)][_0x16c9b4(0x1d0)],0x0))_0x13e187['assertions']['forEach'](_0x2df052=>{const _0x237532=_0x16c9b4,_0x545d2b=!!_0x2df052['err'],_0x41365c={'finishedAt':_0x4c1a83[_0x237532(0x152)](),'durationMs':_0x289d77,'result':_0x545d2b?_0x55096[_0x237532(0x170)]:_0x55096[_0x237532(0x1a3)]};_0x545d2b&&(_0x41365c['failureReason']=_0x2df052[_0x237532(0x195)][_0x237532(0x189)]||'',_0x41365c[_0x237532(0x1ad)]=_0x55096['yKEIi'](_0x2df052['err'][_0x237532(0x1d3)],_0x55096[_0x237532(0x1b4)])||_0x2df052[_0x237532(0x195)][_0x237532(0x189)]&&_0x2df052[_0x237532(0x195)][_0x237532(0x189)][_0x237532(0x184)](_0x55096[_0x237532(0x1dd)])?_0x55096[_0x237532(0x1b4)]:_0x55096[_0x237532(0x100)],_0x41365c[_0x237532(0x161)]=[{'backtrace':_0x2df052[_0x237532(0x195)][_0x237532(0x167)]?_0x2df052[_0x237532(0x195)][_0x237532(0x167)]['split']('\x0a'):[_0x2df052['err'][_0x237532(0x189)]||''],'expanded':[]}]),_0x55096['zPrPC'](emitTest,HookState[_0x237532(0x1e6)],_0x2df052,_0x13e187,_0x1e36e8,_0x41365c);});else{const _0x450087=_0x55096[_0x16c9b4(0x118)](uuidv4),_0xfa2b27=_0x13e187[_0x16c9b4(0x1af)],_0x4ca943=_0x55096[_0x16c9b4(0x194)](_0xfa2b27,null)&&_0x55096['tCSJj'](_0xfa2b27,0xc8)&&_0x55096[_0x16c9b4(0x1b0)](_0xfa2b27,0x190),_0x1ab757=_0x13e187['itemName']+_0x16c9b4(0x1d7)+_0x55096[_0x16c9b4(0x17c)](_0xfa2b27,_0x55096[_0x16c9b4(0xfb)])+')',_0xb15319={'uuid':_0x450087,'name':_0x1ab757,'identifier':_0x13e187[_0x16c9b4(0x1b5)][_0x16c9b4(0x18f)]([_0x1ab757])[_0x16c9b4(0x19e)]('\x20')},_0x9406ef={'finishedAt':_0x4c1a83[_0x16c9b4(0x152)](),'durationMs':_0x289d77,'result':_0x4ca943?_0x55096['jQXpi']:_0x55096[_0x16c9b4(0x170)]};!_0x4ca943&&(_0x9406ef['failureReason']=_0x55096[_0x16c9b4(0x194)](_0xfa2b27,null)?_0x16c9b4(0x136)+_0xfa2b27+_0x16c9b4(0x107):_0x55096[_0x16c9b4(0x177)],_0x9406ef[_0x16c9b4(0x1ad)]=_0x55096[_0x16c9b4(0x100)],_0x9406ef[_0x16c9b4(0x161)]=[{'backtrace':[_0x9406ef[_0x16c9b4(0x1cc)]],'expanded':[]}]);_0x55096[_0x16c9b4(0x19c)](emitTest,HookState[_0x16c9b4(0x17d)],_0xb15319,_0x13e187,_0x1e36e8,{}),_0x13e187[_0x16c9b4(0x15d)][_0x16c9b4(0x1a8)](_0x5e78a5=>{const _0x5ee34f=_0x16c9b4;_0x1c6089['GyFxe'](emitLog,_0x450087,{'kind':_0x1c6089[_0x5ee34f(0x18d)],'message':_0x5e78a5[_0x5ee34f(0x189)],'level':_0x5e78a5['level']});});if(_0x13e187[_0x16c9b4(0x162)]){_0x55096[_0x16c9b4(0x185)](emitLog,_0x450087,{'kind':_0x55096['FRiHr'],'http_response':_0x13e187[_0x16c9b4(0x162)]});const _0x2060b4=_0x55096[_0x16c9b4(0x121)](_0x55096[_0x16c9b4(0x12a)](_0x55096[_0x16c9b4(0x133)](_0x55096[_0x16c9b4(0x12a)](_0x55096[_0x16c9b4(0x18a)](_0x55096['NIowp'](_0x55096[_0x16c9b4(0x122)](_0x55096[_0x16c9b4(0x198)](_0x13e187[_0x16c9b4(0x162)][_0x16c9b4(0x165)]||_0x55096[_0x16c9b4(0x19b)],'\x20'),_0x13e187[_0x16c9b4(0x162)][_0x16c9b4(0x13e)]),_0x13e187[_0x16c9b4(0x162)][_0x16c9b4(0x139)]),_0x55096['sFwwI']),_0x13e187[_0x16c9b4(0x162)][_0x16c9b4(0x111)]),'\x20('),_0x13e187['httpLog'][_0x16c9b4(0x1e0)]),_0x55096['HHCzW']);_0x55096[_0x16c9b4(0x172)](emitLog,_0x450087,{'kind':_0x55096[_0x16c9b4(0x1c5)],'message':_0x2060b4,'level':_0x55096['NzKky']});}else _0x55096[_0x16c9b4(0x1cd)](emitLog,_0x450087,{'kind':_0x55096[_0x16c9b4(0x1c5)],'message':_0x55096[_0x16c9b4(0x13b)](_0x55096[_0x16c9b4(0x19f)](_0x55096['mXuQz'],_0x55096[_0x16c9b4(0x150)](_0xfa2b27,_0x55096[_0x16c9b4(0xfb)])),_0x55096[_0x16c9b4(0x143)]),'level':_0x55096[_0x16c9b4(0x1cf)]});_0x55096[_0x16c9b4(0x16f)](emitTest,HookState['POST'],_0xb15319,_0x13e187,_0x1e36e8,_0x9406ef);}_0x253a7f[_0x16c9b4(0x131)](_0x1aedb4),_0x58324d[_0x16c9b4(0x1b3)]&&_0x58324d[_0x16c9b4(0x1b3)][_0x16c9b4(0x1b7)]&&_0x253a7f[_0x16c9b4(0x131)](_0x58324d[_0x16c9b4(0x1b3)][_0x16c9b4(0x1b7)]+'_'+_0x254877);}catch(_0x4107c3){_0x55096[_0x16c9b4(0x11a)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20item:\x20'+_0x4107c3);}});}module[a42_0x3fabbd(0x12e)]=BrowserStackNewmanReporter;
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,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a43_0x48e4b7=a43_0x3bf6;(function(_0x508f50,_0x520ec8){const _0x36e772=a43_0x3bf6,_0x4c13c1=_0x508f50();while(!![]){try{const _0x59634c=-parseInt(_0x36e772(0x199))/0x1+parseInt(_0x36e772(0x1a5))/0x2+parseInt(_0x36e772(0x198))/0x3*(-parseInt(_0x36e772(0x19a))/0x4)+-parseInt(_0x36e772(0x190))/0x5+parseInt(_0x36e772(0x186))/0x6*(-parseInt(_0x36e772(0x192))/0x7)+parseInt(_0x36e772(0x1a7))/0x8*(-parseInt(_0x36e772(0x1a6))/0x9)+parseInt(_0x36e772(0x18d))/0xa;if(_0x59634c===_0x520ec8)break;else _0x4c13c1['push'](_0x4c13c1['shift']());}catch(_0x339145){_0x4c13c1['push'](_0x4c13c1['shift']());}}}(a43_0x2b55,0x88d0b));function a43_0x2b55(){const _0x139e20=['DnHMT','string','resolve','cli','call','assign','run','message','DRwPo','cVgaq','DClZt','write','12822kqOTkD','browserstack','WoSTw','stderr','exitCode','failures','p-limit','27330590ETRsJP','hgTAO','_resolveFilename','2057815RvKRrm','concat','105iKVTVt','beforeExit','fVmNr','../v2/browserstackCLI','reporters','joboL','84mLgvBC','748116DGjTfT','151244Popngd','reporter','qHdcF','collection','fFGtB','eEkeF','deIox','LghiS','BODMb','gyGlE','mjMrt','1190036mIFLJe','465516cjPCLs','80qkdCai','BLmuT','argv','newman','join','aBTvC','wVkmE','collectionPath','exit','error','getInstance','create','_load','module','bind','yGKuT'];a43_0x2b55=function(){return _0x139e20;};return a43_0x2b55();}const path=require('path'),Module=require(a43_0x48e4b7(0x1b4)),BrowserstackCLI=require(a43_0x48e4b7(0x195)),scriptFile=process[a43_0x48e4b7(0x1a9)][0x2],maxParallel=parseInt(process[a43_0x48e4b7(0x1a9)][0x3])||0x0;!scriptFile&&(process['stderr'][a43_0x48e4b7(0x185)]('[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a'),process[a43_0x48e4b7(0x1af)](0x1));const reporterPath=path[a43_0x48e4b7(0x1ab)](__dirname,a43_0x48e4b7(0x19b),'index.js'),originalResolveFilename=Module[a43_0x48e4b7(0x18f)];Module[a43_0x48e4b7(0x18f)]=function(_0x254917,_0x5e3926,_0x596e06,_0x19b5a0){const _0x35a6d3=a43_0x48e4b7,_0x4dc481={};_0x4dc481[_0x35a6d3(0x197)]=function(_0x5a4a24,_0x277e9d){return _0x5a4a24===_0x277e9d;},_0x4dc481[_0x35a6d3(0x1a4)]='newman-reporter-browserstack';const _0x16cc84=_0x4dc481;if(_0x16cc84[_0x35a6d3(0x197)](_0x254917,_0x16cc84[_0x35a6d3(0x1a4)]))return reporterPath;return originalResolveFilename[_0x35a6d3(0x17e)](this,_0x254917,_0x5e3926,_0x596e06,_0x19b5a0);};let limit;try{const pLimit=require(a43_0x48e4b7(0x18c)),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a43_0x544cbd){limit=function(_0x2f4cc0){const _0x2d29f1=a43_0x48e4b7,_0x1127fa={'wVkmE':function(_0x441c85){return _0x441c85();}};return _0x1127fa[_0x2d29f1(0x1ad)](_0x2f4cc0);};}let wrappedNewman=null,hasFailure=![];const originalLoad=Module[a43_0x48e4b7(0x1b3)];function a43_0x3bf6(_0x3a7910,_0x2f225b){const _0x2b5573=a43_0x2b55();return a43_0x3bf6=function(_0x3bf6c8,_0x45ddac){_0x3bf6c8=_0x3bf6c8-0x178;let _0x4af4b4=_0x2b5573[_0x3bf6c8];return _0x4af4b4;},a43_0x3bf6(_0x3a7910,_0x2f225b);}Module[a43_0x48e4b7(0x1b3)]=function(_0x310248,_0x1d06e0,_0x2b623f){const _0x1e5802=a43_0x48e4b7,_0x551b48={'fFGtB':function(_0x2f5ebd,_0x30352f){return _0x2f5ebd>_0x30352f;},'gyGlE':function(_0x3d4308,_0x4fa91f){return _0x3d4308||_0x4fa91f;},'DClZt':function(_0x365bed,_0x4ca703,_0x389558){return _0x365bed(_0x4ca703,_0x389558);},'deIox':function(_0x16b3c7,_0x245993){return _0x16b3c7(_0x245993);},'cVgaq':function(_0x4eaaec,_0x2bc3cf,_0x30ba3d){return _0x4eaaec(_0x2bc3cf,_0x30ba3d);},'fVmNr':_0x1e5802(0x17d),'DRwPo':function(_0x177ded,_0x49218b){return _0x177ded===_0x49218b;},'yGKuT':_0x1e5802(0x187),'DnHMT':function(_0x5aed61,_0x2dbb01){return _0x5aed61===_0x2dbb01;},'mnnYZ':_0x1e5802(0x17b),'YpLzS':function(_0x5932b8,_0x311745){return _0x5932b8!==_0x311745;},'aBTvC':_0x1e5802(0x1aa)},_0x5ccdfe=originalLoad['call'](this,_0x310248,_0x1d06e0,_0x2b623f);if(_0x551b48['YpLzS'](_0x310248,_0x551b48[_0x1e5802(0x1ac)]))return _0x5ccdfe;if(wrappedNewman)return wrappedNewman;const _0x30709e=_0x5ccdfe['run'][_0x1e5802(0x178)](_0x5ccdfe);return wrappedNewman=Object[_0x1e5802(0x1b2)](_0x5ccdfe),wrappedNewman[_0x1e5802(0x180)]=function(_0x3a959d,_0x15a958){const _0x4b0ec5=_0x1e5802,_0x111cf3={'ausxf':function(_0x3f82d5,_0x1cccb3,_0x142fb3){const _0x1c03b4=a43_0x3bf6;return _0x551b48[_0x1c03b4(0x183)](_0x3f82d5,_0x1cccb3,_0x142fb3);}};let _0x160ce8=_0x3a959d[_0x4b0ec5(0x196)]||[_0x551b48[_0x4b0ec5(0x194)]];_0x551b48[_0x4b0ec5(0x182)](_0x160ce8['indexOf'](_0x551b48['yGKuT']),-0x1)&&(_0x160ce8=_0x160ce8[_0x4b0ec5(0x191)]([_0x551b48[_0x4b0ec5(0x179)]]));const _0x155654=_0x551b48[_0x4b0ec5(0x17a)](typeof _0x3a959d[_0x4b0ec5(0x19d)],_0x551b48['mnnYZ'])?_0x3a959d['collection']:undefined,_0x72f4e1={};_0x72f4e1[_0x4b0ec5(0x1ae)]=_0x155654;const _0x50156e=Object['assign']({},_0x3a959d[_0x4b0ec5(0x19b)],{'browserstack':Object[_0x4b0ec5(0x17f)]({},_0x3a959d[_0x4b0ec5(0x19b)]&&_0x3a959d[_0x4b0ec5(0x19b)]['browserstack'],_0x72f4e1)}),_0x24f1ec={};return _0x24f1ec['reporters']=_0x160ce8,_0x24f1ec[_0x4b0ec5(0x19b)]=_0x50156e,_0x3a959d=Object['assign']({},_0x3a959d,_0x24f1ec),_0x551b48['deIox'](limit,function(){const _0x3b7601={'WoSTw':function(_0x301cbe,_0x396e0a){const _0xf0150c=a43_0x3bf6;return _0x551b48[_0xf0150c(0x19e)](_0x301cbe,_0x396e0a);},'MeABM':function(_0x165676,_0x5c6de0){const _0x21517f=a43_0x3bf6;return _0x551b48[_0x21517f(0x1a3)](_0x165676,_0x5c6de0);},'rQoNH':function(_0x5b28b,_0x4cd176,_0x35a01e){const _0x25f7d7=a43_0x3bf6;return _0x551b48[_0x25f7d7(0x184)](_0x5b28b,_0x4cd176,_0x35a01e);},'BODMb':function(_0x3157bf,_0x2357e6){const _0xcc981d=a43_0x3bf6;return _0x551b48[_0xcc981d(0x1a0)](_0x3157bf,_0x2357e6);}};return new Promise(function(_0xdd44c8){_0x111cf3['ausxf'](_0x30709e,_0x3a959d,function(_0x3bfb99,_0x36266f){const _0x47bea2=a43_0x3bf6,_0x5485cc=_0x36266f&&_0x36266f['run']&&(_0x36266f['run'][_0x47bea2(0x1b0)]||_0x36266f[_0x47bea2(0x180)][_0x47bea2(0x18b)]&&_0x3b7601[_0x47bea2(0x188)](_0x36266f[_0x47bea2(0x180)]['failures']['length'],0x0));_0x3b7601['MeABM'](_0x5485cc,_0x3bfb99)&&(hasFailure=!![]),_0x15a958&&_0x3b7601['rQoNH'](_0x15a958,_0x3bfb99,_0x36266f),_0x3b7601[_0x47bea2(0x1a2)](_0xdd44c8,_0x36266f);});});});},wrappedNewman;};async function main(){const _0x1b1c3b=a43_0x48e4b7,_0x2b3ef4={'LghiS':function(_0x1b9666,_0x1584e4){return _0x1b9666(_0x1584e4);},'qHdcF':function(_0xe443c4,_0x1457f4){return _0xe443c4+_0x1457f4;},'eEkeF':function(_0x1ad132,_0x46b439){return _0x1ad132+_0x46b439;},'hgTAO':'[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20'};try{await BrowserstackCLI[_0x1b1c3b(0x1b1)]()['bootstrap']();}catch(_0xf9bdeb){}try{_0x2b3ef4[_0x1b1c3b(0x1a1)](require,path[_0x1b1c3b(0x17c)](scriptFile));}catch(_0x3b8941){process[_0x1b1c3b(0x189)]['write'](_0x2b3ef4[_0x1b1c3b(0x19c)](_0x2b3ef4[_0x1b1c3b(0x19f)](_0x2b3ef4[_0x1b1c3b(0x18e)],_0x3b8941[_0x1b1c3b(0x181)]||_0x3b8941),'\x0a')),process[_0x1b1c3b(0x18a)]=0x1;}}main(),process['on'](a43_0x48e4b7(0x193),function(){const _0x2472fe=a43_0x48e4b7;hasFailure&&(process[_0x2472fe(0x18a)]=0x1);}),process['on'](a43_0x48e4b7(0x1af),function(){const _0x53abbf=a43_0x48e4b7,_0x569fc0={};_0x569fc0[_0x53abbf(0x1a8)]=function(_0x5d8eda,_0x3dd592){return _0x5d8eda===_0x3dd592;};const _0x568581=_0x569fc0;hasFailure&&_0x568581[_0x53abbf(0x1a8)](process['exitCode'],0x0)&&(process['exitCode']=0x1);});
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);});