browserstack-node-sdk 1.65.7 → 1.66.0

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 (234) 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/generated/sdk-messages_pb.d.ts +118 -0
  41. package/generated/sdk-messages_pb.js +908 -0
  42. package/generated/sdk_grpc_pb.d.ts +10 -0
  43. package/generated/sdk_grpc_pb.js +74 -0
  44. package/package.json +1 -1
  45. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  46. package/src/bin/codeceptjs/command.js +1 -1
  47. package/src/bin/codeceptjs/helper.js +1 -1
  48. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  49. package/src/bin/cucumber-js/command.js +1 -1
  50. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  51. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  52. package/src/bin/cucumber-js/test-observability.js +1 -1
  53. package/src/bin/cucumber-js/test.setup.js +1 -1
  54. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  55. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  56. package/src/bin/detox/a11ySetup.js +1 -0
  57. package/src/bin/detox/command.js +2 -0
  58. package/src/bin/detox/modifyDetoxConf.js +1 -0
  59. package/src/bin/detox/traEmitter.js +1 -0
  60. package/src/bin/integrations/command.js +1 -1
  61. package/src/bin/integrations/constants.js +1 -1
  62. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  63. package/src/bin/jasmine/command.js +1 -1
  64. package/src/bin/jasmine/test.setup.js +1 -1
  65. package/src/bin/jasmine/testRunMap.js +1 -1
  66. package/src/bin/jest/command.js +1 -1
  67. package/src/bin/jest/customImplements/customCircus.js +1 -1
  68. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  69. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  70. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  71. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  72. package/src/bin/jest/jest.setup.js +1 -1
  73. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  74. package/src/bin/jest/test-observability/helper.js +1 -1
  75. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  76. package/src/bin/jest/test-observability/test-details.js +1 -1
  77. package/src/bin/jest/test.setup.js +1 -1
  78. package/src/bin/jest/test_before.setup.js +1 -1
  79. package/src/bin/launcher/launcher.js +1 -1
  80. package/src/bin/load/index.js +1 -1
  81. package/src/bin/load/loadErrors.js +1 -1
  82. package/src/bin/load/loadUtils.js +1 -1
  83. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  84. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  85. package/src/bin/mocha/command.js +1 -1
  86. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  87. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  88. package/src/bin/mocha/test.setup.js +1 -1
  89. package/src/bin/newman/command.js +1 -1
  90. package/src/bin/newman/helper.js +1 -1
  91. package/src/bin/newman/reporter/index.js +1 -1
  92. package/src/bin/newman/scriptRunner.js +1 -1
  93. package/src/bin/nightwatch/command.js +1 -1
  94. package/src/bin/node-generic/client.js +1 -1
  95. package/src/bin/playwright/accessibility-helper.js +1 -1
  96. package/src/bin/playwright/command.js +1 -1
  97. package/src/bin/playwright/globalSetup.js +1 -1
  98. package/src/bin/playwright/mock-process.js +1 -1
  99. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  100. package/src/bin/playwright/patches.js +1 -1
  101. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  102. package/src/bin/playwright/reporter/reporter.js +1 -1
  103. package/src/bin/playwright/reporter/test-details.js +1 -1
  104. package/src/bin/playwright/reporterArgs.js +1 -1
  105. package/src/bin/playwright/sessionDetails.js +1 -1
  106. package/src/bin/puppeteer/patches.js +1 -1
  107. package/src/bin/puppeteer/sessionDetails.js +1 -1
  108. package/src/bin/puppeteer/test.setup.js +1 -1
  109. package/src/bin/runner.js +1 -1
  110. package/src/bin/setup.js +1 -1
  111. package/src/bin/test-runner/index.js +1 -1
  112. package/src/bin/test-runner/runTest.js +1 -1
  113. package/src/bin/test-runner/testWorker.js +1 -1
  114. package/src/bin/testcafe/a11y-runner.js +1 -1
  115. package/src/bin/testcafe/command.js +1 -1
  116. package/src/bin/testcafe/reporter/index.js +1 -1
  117. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  118. package/src/bin/testcafe/session-registry.js +1 -1
  119. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  120. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  121. package/src/bin/testcafe/w3c-driver.js +1 -1
  122. package/src/bin/utils/apiUtilityMethods.js +1 -1
  123. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  124. package/src/bin/utils/constants.js +1 -1
  125. package/src/bin/utils/log4jsAppender.js +1 -1
  126. package/src/bin/utils/logPatcher.js +1 -1
  127. package/src/bin/utils/logReportingAPI.js +1 -1
  128. package/src/bin/utils/playwright-patcher.js +1 -1
  129. package/src/bin/utils/puppeteer-patcher.js +1 -1
  130. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  131. package/src/bin/utils/sharedUtils.js +1 -1
  132. package/src/bin/v2/TestInfo.js +1 -1
  133. package/src/bin/v2/browserstackCLI.js +1 -1
  134. package/src/bin/v2/cliUtils.js +1 -1
  135. package/src/bin/v2/customTagManager.js +1 -1
  136. package/src/bin/v2/eventDispatcher.js +1 -1
  137. package/src/bin/v2/framework/automationFramework.js +1 -1
  138. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  139. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  140. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  141. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  142. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  143. package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
  144. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  145. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  146. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  147. package/src/bin/v2/framework/testFramework.js +1 -1
  148. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  149. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  150. package/src/bin/v2/grpcClient.js +1 -1
  151. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  152. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  153. package/src/bin/v2/instances/trackedContext.js +1 -1
  154. package/src/bin/v2/instances/trackedInstance.js +1 -1
  155. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  156. package/src/bin/v2/modules/baseModule.js +1 -1
  157. package/src/bin/v2/modules/loadTestModule.js +1 -1
  158. package/src/bin/v2/modules/observabilityModule.js +1 -1
  159. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  160. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  161. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  162. package/src/bin/v2/modules/testhubModule.js +1 -1
  163. package/src/bin/v2/sdkErrorHandler.js +1 -1
  164. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  165. package/src/bin/v2/state/hookState.js +1 -1
  166. package/src/bin/v2/state/testFrameworkState.js +1 -1
  167. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  168. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  169. package/src/bin/v2/utils/jest-utils.js +1 -1
  170. package/src/bin/vanilla-js/command.js +1 -1
  171. package/src/browserStackSdk.js +1 -1
  172. package/src/detox-driver/a11y.js +574 -0
  173. package/src/detox-driver/allocationDriver.js +26 -0
  174. package/src/detox-driver/cloudPlatformAction.js +111 -0
  175. package/src/detox-driver/environment.js +253 -0
  176. package/src/detox-driver/expect.js +44 -0
  177. package/src/detox-driver/index.js +12 -0
  178. package/src/detox-driver/login-timeout-preload.js +25 -0
  179. package/src/detox-driver/runtimeDriver.js +351 -0
  180. package/src/detox-driver/session-reporter.js +41 -0
  181. package/src/detox-driver/tra-capture.js +81 -0
  182. package/src/helpers/BrowserStackSetup.js +1 -1
  183. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  184. package/src/helpers/accessibility-automation/constants.js +1 -1
  185. package/src/helpers/accessibility-automation/helper.js +1 -1
  186. package/src/helpers/accessibility-automation/scripts.js +1 -1
  187. package/src/helpers/ats/constants.js +1 -1
  188. package/src/helpers/ats/helper.js +1 -1
  189. package/src/helpers/caCertHelper.js +1 -1
  190. package/src/helpers/capsMapping.js +1 -1
  191. package/src/helpers/central-scanner/constants.js +1 -1
  192. package/src/helpers/central-scanner/helpers.js +1 -1
  193. package/src/helpers/classLogger.js +1 -1
  194. package/src/helpers/driverInitErrorReporter.js +1 -1
  195. package/src/helpers/globals.js +1 -1
  196. package/src/helpers/helper.js +1 -1
  197. package/src/helpers/logger.js +1 -1
  198. package/src/helpers/metadata.js +1 -1
  199. package/src/helpers/patchHelper.js +1 -1
  200. package/src/helpers/patchHelpers.js +1 -1
  201. package/src/helpers/percy/Percy.js +1 -1
  202. package/src/helpers/percy/PercyBinary.js +1 -1
  203. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  204. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  205. package/src/helpers/percy/PercySDK.js +1 -1
  206. package/src/helpers/percy/index.js +1 -1
  207. package/src/helpers/percy/utils.js +1 -1
  208. package/src/helpers/performance/constants.js +1 -1
  209. package/src/helpers/performance/performance-tester.js +1 -1
  210. package/src/helpers/playwright-helper.js +1 -1
  211. package/src/helpers/processHelper.js +1 -1
  212. package/src/helpers/puppeteer-helper.js +1 -1
  213. package/src/helpers/request-spy.js +1 -1
  214. package/src/helpers/setKeepAlive.js +1 -1
  215. package/src/helpers/stackFrameUtils.js +1 -1
  216. package/src/helpers/test-observability/constants.js +1 -1
  217. package/src/helpers/test-observability/error-handler.js +1 -1
  218. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  219. package/src/helpers/test-observability/sessionHandler.js +1 -1
  220. package/src/helpers/test-observability/utils.js +1 -1
  221. package/src/helpers/test-orchestration/constants.js +1 -1
  222. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  223. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  224. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  225. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  226. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  227. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  228. package/src/helpers/testhub/constants.js +1 -1
  229. package/src/helpers/testhub/testhubHandler.js +1 -1
  230. package/src/helpers/testhub/utils.js +1 -1
  231. package/src/helpers/utilities.js +1 -1
  232. package/src/helpers/w3cMapping.js +1 -1
  233. package/src/hubAllocationMethods.js +1 -1
  234. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a38_0x53cc2a=a38_0xccfc;(function(_0x5b167b,_0x1aca2b){const _0x5c35d1=a38_0xccfc,_0x58efa3=_0x5b167b();while(!![]){try{const _0x3129be=-parseInt(_0x5c35d1(0xca))/0x1*(parseInt(_0x5c35d1(0xb6))/0x2)+-parseInt(_0x5c35d1(0xbc))/0x3+parseInt(_0x5c35d1(0xec))/0x4+-parseInt(_0x5c35d1(0xc3))/0x5*(-parseInt(_0x5c35d1(0xbd))/0x6)+-parseInt(_0x5c35d1(0xc9))/0x7*(parseInt(_0x5c35d1(0xcd))/0x8)+-parseInt(_0x5c35d1(0xea))/0x9*(parseInt(_0x5c35d1(0xd6))/0xa)+parseInt(_0x5c35d1(0xd3))/0xb;if(_0x3129be===_0x1aca2b)break;else _0x58efa3['push'](_0x58efa3['shift']());}catch(_0x36eb0c){_0x58efa3['push'](_0x58efa3['shift']());}}}(a38_0x358c,0x28e7d));const {v4:uuidv4}=require(a38_0x53cc2a(0xd0)),{name,version}=require(a38_0x53cc2a(0xbb)),logPatcher=require(a38_0x53cc2a(0xe7)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a38_0x53cc2a(0xe3)),{consoleHolder}=require('../../../helpers/test-observability/constants'),{getPlatformVersion,isBrowserstackInfra}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require(a38_0x53cc2a(0xb4)),{isFunction}=require(a38_0x53cc2a(0xcb)),{patchConsoleLogger}=require(a38_0x53cc2a(0xe3));patchConsoleLogger(),exports[a38_0x53cc2a(0xd5)]=()=>{const _0xf62719=a38_0x53cc2a,_0x2d0412={'dfMNz':_0xf62719(0x101),'ITNKw':function(_0x67703b){return _0x67703b();}};return{'ci':_0x2d0412[_0xf62719(0xf5)],'key':_0x2d0412['ITNKw'](uuidv4),'version':version,'collector':'js-'+name};},exports[a38_0x53cc2a(0xcc)]=_0x514d2c=>{const _0x3aaf25=a38_0x53cc2a,_0x4249ae={};_0x4249ae[_0x3aaf25(0x104)]=function(_0x209278,_0x300a98){return _0x209278!==_0x300a98;},_0x4249ae['qxmZv']='string',_0x4249ae['HGVFU']=_0x3aaf25(0xf2),_0x4249ae[_0x3aaf25(0xed)]='hook';const _0x3518b6=_0x4249ae;if(!_0x514d2c||_0x3518b6[_0x3aaf25(0x104)](typeof _0x514d2c,_0x3518b6[_0x3aaf25(0xf0)]))return[null,null];if(_0x3518b6['issGa'](_0x514d2c[_0x3aaf25(0xb9)](_0x3518b6['HGVFU']),-0x1)){const _0x280853=_0x514d2c[_0x3aaf25(0xd8)](_0x3518b6[_0x3aaf25(0x102)]);return[_0x280853[0x0]['slice'](0x0,-0x1)[_0x3aaf25(0xd8)]('\x22')[0x1],_0x280853[0x1]['substring'](0x1)];}else{if(_0x3518b6[_0x3aaf25(0x104)](_0x514d2c[_0x3aaf25(0xb9)](_0x3518b6[_0x3aaf25(0xed)]),-0x1)){const _0x22bc65=_0x514d2c[_0x3aaf25(0xd8)](_0x3518b6[_0x3aaf25(0xed)]);return[_0x22bc65[0x0][_0x3aaf25(0xd2)](0x0,-0x1)[_0x3aaf25(0xd8)]('\x22')[0x1],_0x514d2c];}}return[null,null];},exports['getHooksForTest']=_0x4d3028=>{const _0x1e896e=a38_0x53cc2a,_0x40a364={'MViYV':function(_0x5a6859,_0x471055){return _0x5a6859(_0x471055);},'ZbijV':'_beforeAll','GhbtX':_0x1e896e(0xe5),'IKVSy':'_beforeEach','LmiVh':'_afterEach'};if(!_0x4d3028||!_0x4d3028[_0x1e896e(0xe9)])return[];const _0x4fc793=[];return[_0x40a364[_0x1e896e(0xb1)],_0x40a364[_0x1e896e(0xe8)],_0x40a364[_0x1e896e(0xe0)],_0x40a364['LmiVh']]['forEach'](_0x45939d=>{const _0x22f495=_0x1e896e,_0x4062fb={'HuQDB':function(_0x198abb,_0x2a51f0){const _0xfc815e=a38_0xccfc;return _0x40a364[_0xfc815e(0xda)](_0x198abb,_0x2a51f0);}},_0x594c69=_0x4d3028['parent'][_0x45939d]||[];_0x594c69[_0x22f495(0xdb)](_0x4acae8=>{const _0x6f5260=_0x22f495;_0x4acae8[_0x6f5260(0xeb)]&&!_0x4062fb['HuQDB'](isInternalHook,_0x4acae8['fn'])&&_0x4fc793[_0x6f5260(0xbf)](_0x4acae8[_0x6f5260(0xeb)]);});}),[..._0x4fc793,...exports[_0x1e896e(0xc1)](_0x4d3028['parent'])];},exports[a38_0x53cc2a(0xb2)]=_0x110d07=>{const _0x2d8c43=a38_0x53cc2a,_0x259b84={'giNPB':function(_0x55efe8){return _0x55efe8();},'cTdIb':function(_0x3d3d17,_0x1fc320){return _0x3d3d17===_0x1fc320;},'eXkSK':'_afterEach','BgQsy':function(_0x59e8b5){return _0x59e8b5();},'CDudd':_0x2d8c43(0xfc),'tDlhR':_0x2d8c43(0xe5),'bDATq':_0x2d8c43(0xb5)};if(!_0x110d07||!_0x110d07[_0x2d8c43(0xe9)])return;[_0x259b84[_0x2d8c43(0xff)],_0x259b84[_0x2d8c43(0xd9)],_0x259b84[_0x2d8c43(0xe2)],_0x259b84[_0x2d8c43(0xc0)]][_0x2d8c43(0xdb)](_0x46570e=>{const _0x3b6998=_0x2d8c43,_0x5838a0=_0x110d07[_0x3b6998(0xe9)][_0x46570e]||[];_0x5838a0['forEach'](_0x1d5a40=>{const _0x5e4ba4=_0x3b6998;if(!_0x1d5a40[_0x5e4ba4(0xeb)])_0x1d5a40[_0x5e4ba4(0xeb)]=_0x259b84[_0x5e4ba4(0xc5)](uuidv4);else _0x1d5a40[_0x5e4ba4(0xbe)]&&_0x259b84['cTdIb'](_0x46570e,_0x259b84[_0x5e4ba4(0xc0)])&&(_0x1d5a40[_0x5e4ba4(0xeb)]=_0x259b84[_0x5e4ba4(0xf8)](uuidv4),delete _0x1d5a40[_0x5e4ba4(0xbe)]);});}),exports['mapTestHooks'](_0x110d07[_0x2d8c43(0xe9)]);},exports[a38_0x53cc2a(0xcf)]=async(_0x2d8568,_0x15c2d5)=>{const _0xa80780=a38_0x53cc2a,_0x190536={'KYIAp':function(_0x231bbb){return _0x231bbb();},'OoAFn':function(_0x15436f){return _0x15436f();},'tCKOG':_0xa80780(0xdf),'VMUid':function(_0x388039,_0x285fdb,_0x5aa090){return _0x388039(_0x285fdb,_0x5aa090);},'SJjws':_0xa80780(0xc8),'nFoQo':function(_0x200452,_0x57d7f5){return _0x200452(_0x57d7f5);},'TnJig':function(_0x45343d,_0x50343a){return _0x45343d===_0x50343a;},'EkcMJ':'unknown_grid','jPWNb':_0xa80780(0xfa),'mIsfM':function(_0x2103be,_0x4d11e3){return _0x2103be(_0x4d11e3);}};try{if(!_0x190536[_0xa80780(0x100)](shouldProcessEventForTesthub))return;const _0x5257b8=await _0x2d8568[_0xa80780(0x107)](),_0x26c6e3=await _0x2d8568[_0xa80780(0xce)](),_0x1bc24b={},_0x55e9ae=Object[_0xa80780(0xe6)](_0x26c6e3[_0xa80780(0x107)]()[_0xa80780(0x103)]),_0x463fc5=_0x190536[_0xa80780(0xdc)](isBrowserstackInfra)?_0x190536['tCKOG']:global[_0xa80780(0xef)],_0x1737c4={'product':_0x190536[_0xa80780(0x105)](getObservabilityLinkedProductName,_0x55e9ae,_0x463fc5),'capabilities':_0x55e9ae,'platform':_0x5257b8['getPlatform'](),'platform_version':_0x5257b8[_0xa80780(0xf9)](_0x190536[_0xa80780(0xc7)])?_0x5257b8[_0xa80780(0xf9)](_0x190536['SJjws']):_0x190536['nFoQo'](getPlatformVersion,_0x190536[_0xa80780(0xd7)](_0x463fc5,_0x190536[_0xa80780(0xf1)])),'browser':_0x5257b8['getBrowserName'](),'browser_version':_0x5257b8[_0xa80780(0xf4)](),'session_id':_0x26c6e3[_0xa80780(0xdd)]()};_0x463fc5?_0x1bc24b[_0x463fc5]=_0x1737c4:_0x1bc24b[_0x190536[_0xa80780(0xf6)]]=_0x1737c4,process[_0xa80780(0xe4)]('bs:addPlatformDetails:'+process[_0xa80780(0xfd)],{'timestamp':new Date()[_0xa80780(0x106)](),'level':null,'message':null,'kind':_0x190536['jPWNb'],'http_response':_0x1bc24b,'uuid':_0x15c2d5});}catch(_0x348aa4){_0x190536[_0xa80780(0xc2)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x348aa4);}},exports[a38_0x53cc2a(0xd4)]=_0x2f6664=>{const _0x5e1a1a=a38_0x53cc2a,_0x48b5e7={};_0x48b5e7[_0x5e1a1a(0xb7)]=function(_0x439d95,_0x977b67){return _0x439d95!==_0x977b67;},_0x48b5e7['ovCIT']='hook',_0x48b5e7[_0x5e1a1a(0xd1)]=function(_0x26cdd6,_0x30ad57){return _0x26cdd6!==_0x30ad57;},_0x48b5e7[_0x5e1a1a(0xfe)]=_0x5e1a1a(0xba),_0x48b5e7[_0x5e1a1a(0xe1)]=function(_0x33be66,_0x1c1e73){return _0x33be66!==_0x1c1e73;},_0x48b5e7[_0x5e1a1a(0xf3)]=_0x5e1a1a(0xf7);const _0x2f1cd4=_0x48b5e7,_0x419e83=_0x2f6664['suites'][_0x5e1a1a(0xb8)]((_0x1b93d5,_0x4b61f4)=>{const _0x3b0247=_0x5e1a1a,_0x32e6c5=exports[_0x3b0247(0xd4)](_0x4b61f4);return _0x32e6c5&&(_0x1b93d5=_0x1b93d5['concat'](_0x32e6c5)),_0x1b93d5;},[]),_0x347da2=_0x2f6664[_0x5e1a1a(0xfb)][_0x5e1a1a(0xb3)](_0x154bc4=>{const _0x45738c=_0x5e1a1a,_0x2105b6=_0x2f1cd4[_0x45738c(0xb7)](_0x154bc4[_0x45738c(0xc6)],_0x2f1cd4[_0x45738c(0xee)])&&!_0x154bc4[_0x45738c(0xbe)]&&_0x2f1cd4[_0x45738c(0xd1)](_0x154bc4[_0x45738c(0xde)],_0x2f1cd4[_0x45738c(0xfe)])&&_0x2f1cd4[_0x45738c(0xe1)](_0x154bc4['state'],_0x2f1cd4[_0x45738c(0xf3)])&&!_0x154bc4['pending'];return _0x2105b6;});return _0x347da2[_0x5e1a1a(0xc4)](_0x419e83);};function a38_0xccfc(_0x3db522,_0x521087){const _0x358c2f=a38_0x358c();return a38_0xccfc=function(_0xccfc2,_0x2403e9){_0xccfc2=_0xccfc2-0xb1;let _0x59e937=_0x358c2f[_0xccfc2];return _0x59e937;},a38_0xccfc(_0x3db522,_0x521087);}function a38_0x358c(){const _0x44f3e1=['16izWnVn','getSession','sendPlatformDetails','uuid','Khbky','slice','6028110bpyagI','getHookSkippedTests','getTestEnv','2412590fshGDL','TnJig','split','tDlhR','MViYV','forEach','OoAFn','toJSON','state','browserstack','IKVSy','WYYKw','bDATq','../../../helpers/test-observability/utils','emit','_afterAll','fromEntries','../../utils/logPatcher','GhbtX','parent','9UkaYmm','hookAnalyticsId','1245732Fwerqo','SAyKH','ovCIT','__cloud_provider___','qxmZv','tCKOG','hook:','qnCgq','getBrowserVersion','dfMNz','EkcMJ','failed','BgQsy','get','TEST_PLATFORM','tests','_beforeAll','pid','WQnzd','CDudd','KYIAp','generic','HGVFU','map_','issGa','VMUid','toISOString','getCapabilities','ZbijV','mapTestHooks','filter','../../../helpers/testhub/utils','_beforeEach','415132rWUJzb','WUgjY','reduce','indexOf','passed','../../../../package.json','499428iVOVGO','30ktuMLx','markedStatus','push','eXkSK','getHooksForTest','mIsfM','138035yuQNVL','concat','giNPB','type','SJjws','platformVersion','751198IryBmH','1ECdtXX','lodash','getHookDetails'];a38_0x358c=function(){return _0x44f3e1;};return a38_0x358c();}
1
+ function a42_0x347a(){const _0x420beb=['jDHMq','JVQDK','failed','getHookDetails','__cloud_provider___','getHookSkippedTests','PgKCy','filter','SMLxy','split','4953213NzUchr','_afterAll','hook','HIsfF','KRYQV','slice','push','forEach','getCapabilities','sendPlatformDetails','toISOString','concat','NNlfD','wHexp','getSession','gtVfi','pending','5PtgCTM','getBrowserName','getTestEnv','../../utils/logPatcher','rvdxE','state','parent','indexOf','ZTpwi','tSGmt','../../../helpers/test-observability/constants','reduce','DEcqC','4121856YedZAl','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','passed','_beforeAll','suites','5018769iPPEKX','rZCfa','platformVersion','js-','getHooksForTest','kvmOB','BGQyA','map_','../../../../package.json','eyPjT','getBrowserVersion','lodash','type','hQmSJ','TEST_PLATFORM','mapTestHooks','tMKcB','EMasZ','getPlatform','../../../helpers/testhub/utils','substring','hmyMp','generic','markedStatus','gDdKr','../../../helpers/test-observability/utils','EiWTj','browserstack','pbvSf','1PqqqDG','1760271LFgENR','bs:addPlatformDetails:','BGBHK','string','_afterEach','ijUhD','926360bPZxEb','hookAnalyticsId','../../../helpers/helper','3603612WQbWIn','oUQWe','hook:','65664GZkShD','MknNH','get','pid'];a42_0x347a=function(){return _0x420beb;};return a42_0x347a();}const a42_0x592e1e=a42_0x3f32;(function(_0xdbfcc6,_0x229661){const _0x31b78f=a42_0x3f32,_0x113c87=_0xdbfcc6();while(!![]){try{const _0x156eae=parseInt(_0x31b78f(0x139))/0x1*(-parseInt(_0x31b78f(0x140))/0x2)+parseInt(_0x31b78f(0x13a))/0x3+-parseInt(_0x31b78f(0x143))/0x4*(-parseInt(_0x31b78f(0x165))/0x5)+parseInt(_0x31b78f(0x146))/0x6+parseInt(_0x31b78f(0x11c))/0x7+-parseInt(_0x31b78f(0x117))/0x8+-parseInt(_0x31b78f(0x154))/0x9;if(_0x156eae===_0x229661)break;else _0x113c87['push'](_0x113c87['shift']());}catch(_0x1cd7c5){_0x113c87['push'](_0x113c87['shift']());}}}(a42_0x347a,0xa7ad2));const {v4:uuidv4}=require('uuid'),{name,version}=require(a42_0x592e1e(0x124)),logPatcher=require(a42_0x592e1e(0x168)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require('../../../helpers/test-observability/utils'),{consoleHolder}=require(a42_0x592e1e(0x16f)),{getPlatformVersion,isBrowserstackInfra}=require(a42_0x592e1e(0x142)),{shouldProcessEventForTesthub}=require(a42_0x592e1e(0x12f)),{isFunction}=require(a42_0x592e1e(0x127)),{patchConsoleLogger}=require(a42_0x592e1e(0x135));function a42_0x3f32(_0x33057d,_0x3f2a78){const _0x347ab5=a42_0x347a();return a42_0x3f32=function(_0x3f3277,_0x5a7fc7){_0x3f3277=_0x3f3277-0x116;let _0x27cb8c=_0x347ab5[_0x3f3277];return _0x27cb8c;},a42_0x3f32(_0x33057d,_0x3f2a78);}patchConsoleLogger(),exports[a42_0x592e1e(0x167)]=()=>{const _0x16eeff=a42_0x592e1e,_0x31d66f={'rvdxE':_0x16eeff(0x132),'tSGmt':function(_0x23c403){return _0x23c403();}};return{'ci':_0x31d66f[_0x16eeff(0x169)],'key':_0x31d66f[_0x16eeff(0x16e)](uuidv4),'version':version,'collector':_0x16eeff(0x11f)+name};},exports[a42_0x592e1e(0x14d)]=_0x2541f3=>{const _0x20736c=a42_0x592e1e,_0x3e4d8c={};_0x3e4d8c[_0x20736c(0x13f)]=function(_0x45be7e,_0x531f6b){return _0x45be7e!==_0x531f6b;},_0x3e4d8c[_0x20736c(0x116)]=_0x20736c(0x13d),_0x3e4d8c['HIsfF']=_0x20736c(0x145),_0x3e4d8c[_0x20736c(0x160)]=function(_0x4de743,_0x38bb2f){return _0x4de743!==_0x38bb2f;},_0x3e4d8c['BGQyA']=_0x20736c(0x156);const _0x35469f=_0x3e4d8c;if(!_0x2541f3||_0x35469f[_0x20736c(0x13f)](typeof _0x2541f3,_0x35469f[_0x20736c(0x116)]))return[null,null];if(_0x35469f[_0x20736c(0x13f)](_0x2541f3[_0x20736c(0x16c)](_0x35469f[_0x20736c(0x157)]),-0x1)){const _0x2e986a=_0x2541f3[_0x20736c(0x153)](_0x35469f[_0x20736c(0x157)]);return[_0x2e986a[0x0][_0x20736c(0x159)](0x0,-0x1)[_0x20736c(0x153)]('\x22')[0x1],_0x2e986a[0x1][_0x20736c(0x130)](0x1)];}else{if(_0x35469f[_0x20736c(0x160)](_0x2541f3[_0x20736c(0x16c)](_0x35469f[_0x20736c(0x122)]),-0x1)){const _0x53545f=_0x2541f3['split'](_0x35469f[_0x20736c(0x122)]);return[_0x53545f[0x0]['slice'](0x0,-0x1)[_0x20736c(0x153)]('\x22')[0x1],_0x2541f3];}}return[null,null];},exports[a42_0x592e1e(0x120)]=_0x321011=>{const _0x3e5744=a42_0x592e1e,_0x2a78b0={'jDHMq':function(_0x4c46cd,_0x348f9f){return _0x4c46cd(_0x348f9f);},'BwXgm':_0x3e5744(0x11a),'pbvSf':'_afterAll','KRYQV':'_beforeEach','hQmSJ':_0x3e5744(0x13e)};if(!_0x321011||!_0x321011[_0x3e5744(0x16b)])return[];const _0x450a98=[];return[_0x2a78b0['BwXgm'],_0x2a78b0[_0x3e5744(0x138)],_0x2a78b0[_0x3e5744(0x158)],_0x2a78b0[_0x3e5744(0x129)]][_0x3e5744(0x15b)](_0x3b2ac2=>{const _0x8fe405=_0x3e5744,_0x3a5fe4=_0x321011[_0x8fe405(0x16b)][_0x3b2ac2]||[];_0x3a5fe4[_0x8fe405(0x15b)](_0x4d1d87=>{const _0x2de320=_0x8fe405;_0x4d1d87['hookAnalyticsId']&&!_0x2a78b0[_0x2de320(0x14a)](isInternalHook,_0x4d1d87['fn'])&&_0x450a98[_0x2de320(0x15a)](_0x4d1d87[_0x2de320(0x141)]);});}),[..._0x450a98,...exports[_0x3e5744(0x120)](_0x321011[_0x3e5744(0x16b)])];},exports[a42_0x592e1e(0x12b)]=_0x401e99=>{const _0xa943b8=a42_0x592e1e,_0x5459d0={'oUQWe':function(_0x77c3f2){return _0x77c3f2();},'gtVfi':function(_0x464e53,_0x1ac4ba){return _0x464e53===_0x1ac4ba;},'EMasZ':_0xa943b8(0x13e),'QXyVx':function(_0x12a88f){return _0x12a88f();},'SMLxy':'_beforeAll','rZCfa':_0xa943b8(0x155),'BGBHK':'_beforeEach'};if(!_0x401e99||!_0x401e99[_0xa943b8(0x16b)])return;[_0x5459d0[_0xa943b8(0x152)],_0x5459d0[_0xa943b8(0x11d)],_0x5459d0[_0xa943b8(0x13c)],_0x5459d0['EMasZ']]['forEach'](_0x3f3ff0=>{const _0xdc744c=_0x401e99['parent'][_0x3f3ff0]||[];_0xdc744c['forEach'](_0x533112=>{const _0x1ffb12=a42_0x3f32;if(!_0x533112[_0x1ffb12(0x141)])_0x533112[_0x1ffb12(0x141)]=_0x5459d0[_0x1ffb12(0x144)](uuidv4);else _0x533112[_0x1ffb12(0x133)]&&_0x5459d0[_0x1ffb12(0x163)](_0x3f3ff0,_0x5459d0[_0x1ffb12(0x12d)])&&(_0x533112[_0x1ffb12(0x141)]=_0x5459d0['QXyVx'](uuidv4),delete _0x533112['markedStatus']);});}),exports[_0xa943b8(0x12b)](_0x401e99[_0xa943b8(0x16b)]);},exports[a42_0x592e1e(0x15d)]=async(_0x24006a,_0xf0d2db)=>{const _0x521ef5=a42_0x592e1e,_0x5cad9c={'JVQDK':function(_0x3a1ef6){return _0x3a1ef6();},'zWQWp':function(_0xb5d4d0){return _0xb5d4d0();},'kvmOB':_0x521ef5(0x137),'GENMb':function(_0x5d55c2,_0x1022a6,_0x3fe169){return _0x5d55c2(_0x1022a6,_0x3fe169);},'WCxem':_0x521ef5(0x11e),'PgKCy':function(_0x13e701,_0x5e2182){return _0x13e701(_0x5e2182);},'gDdKr':function(_0x5a341e,_0x204655){return _0x5a341e===_0x204655;},'wHexp':'unknown_grid','tMKcB':_0x521ef5(0x12a),'MknNH':function(_0x562331,_0x41d577){return _0x562331(_0x41d577);}};try{if(!_0x5cad9c[_0x521ef5(0x14b)](shouldProcessEventForTesthub))return;const _0x3836c9=await _0x24006a[_0x521ef5(0x15c)](),_0x290943=await _0x24006a[_0x521ef5(0x162)](),_0x457e90={},_0x2ebf55=Object['fromEntries'](_0x290943['getCapabilities']()[_0x521ef5(0x123)]),_0x62db74=_0x5cad9c['zWQWp'](isBrowserstackInfra)?_0x5cad9c[_0x521ef5(0x121)]:global[_0x521ef5(0x14e)],_0x2ab027={'product':_0x5cad9c['GENMb'](getObservabilityLinkedProductName,_0x2ebf55,_0x62db74),'capabilities':_0x2ebf55,'platform':_0x3836c9[_0x521ef5(0x12e)](),'platform_version':_0x3836c9[_0x521ef5(0x148)](_0x5cad9c['WCxem'])?_0x3836c9['get'](_0x5cad9c['WCxem']):_0x5cad9c[_0x521ef5(0x150)](getPlatformVersion,_0x5cad9c[_0x521ef5(0x134)](_0x62db74,_0x5cad9c[_0x521ef5(0x121)])),'browser':_0x3836c9[_0x521ef5(0x166)](),'browser_version':_0x3836c9[_0x521ef5(0x126)](),'session_id':_0x290943['toJSON']()};_0x62db74?_0x457e90[_0x62db74]=_0x2ab027:_0x457e90[_0x5cad9c[_0x521ef5(0x161)]]=_0x2ab027,process['emit'](_0x521ef5(0x13b)+process[_0x521ef5(0x149)],{'timestamp':new Date()[_0x521ef5(0x15e)](),'level':null,'message':null,'kind':_0x5cad9c[_0x521ef5(0x12c)],'http_response':_0x457e90,'uuid':_0xf0d2db});}catch(_0x307429){_0x5cad9c[_0x521ef5(0x147)](debug,_0x521ef5(0x118)+_0x307429);}},exports[a42_0x592e1e(0x14f)]=_0x5200b9=>{const _0x3c4eae=a42_0x592e1e,_0x17814c={};_0x17814c[_0x3c4eae(0x125)]=function(_0x356d5a,_0xb8dce9){return _0x356d5a!==_0xb8dce9;},_0x17814c[_0x3c4eae(0x131)]=_0x3c4eae(0x156),_0x17814c[_0x3c4eae(0x16d)]=_0x3c4eae(0x119),_0x17814c[_0x3c4eae(0x136)]=_0x3c4eae(0x14c);const _0x295bd9=_0x17814c,_0x420a5e=_0x5200b9[_0x3c4eae(0x11b)][_0x3c4eae(0x170)]((_0x1fb628,_0x23a164)=>{const _0x4c1b27=_0x3c4eae,_0x17d3e6=exports[_0x4c1b27(0x14f)](_0x23a164);return _0x17d3e6&&(_0x1fb628=_0x1fb628[_0x4c1b27(0x15f)](_0x17d3e6)),_0x1fb628;},[]),_0x1304ad=_0x5200b9['tests'][_0x3c4eae(0x151)](_0x1c4076=>{const _0x360c59=_0x3c4eae,_0x4b19fd=_0x295bd9[_0x360c59(0x125)](_0x1c4076[_0x360c59(0x128)],_0x295bd9['hmyMp'])&&!_0x1c4076[_0x360c59(0x133)]&&_0x295bd9['eyPjT'](_0x1c4076['state'],_0x295bd9[_0x360c59(0x16d)])&&_0x295bd9[_0x360c59(0x125)](_0x1c4076[_0x360c59(0x16a)],_0x295bd9[_0x360c59(0x136)])&&!_0x1c4076[_0x360c59(0x164)];return _0x4b19fd;});return _0x1304ad['concat'](_0x420a5e);};
@@ -1 +1 @@
1
- const a39_0x4b157f=a39_0x1610;function a39_0x1610(_0x10b467,_0x57902f){const _0x545eb3=a39_0x545e();return a39_0x1610=function(_0x161015,_0x534ff1){_0x161015=_0x161015-0x16e;let _0x200ff3=_0x545eb3[_0x161015];return _0x200ff3;},a39_0x1610(_0x10b467,_0x57902f);}(function(_0x206b29,_0x5350c4){const _0x4f15ad=a39_0x1610,_0x1a43a4=_0x206b29();while(!![]){try{const _0x2782ca=parseInt(_0x4f15ad(0x171))/0x1+parseInt(_0x4f15ad(0x1e3))/0x2+parseInt(_0x4f15ad(0x1d8))/0x3*(-parseInt(_0x4f15ad(0x202))/0x4)+-parseInt(_0x4f15ad(0x214))/0x5+-parseInt(_0x4f15ad(0x192))/0x6+-parseInt(_0x4f15ad(0x1c2))/0x7*(parseInt(_0x4f15ad(0x1b3))/0x8)+parseInt(_0x4f15ad(0x221))/0x9;if(_0x2782ca===_0x5350c4)break;else _0x1a43a4['push'](_0x1a43a4['shift']());}catch(_0x44ff1e){_0x1a43a4['push'](_0x1a43a4['shift']());}}}(a39_0x545e,0x681c6));const util=require(a39_0x4b157f(0x20d)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a39_0x4b157f(0x1cc)),accessibilityRetryHelper=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a39_0x4b157f(0x1f9)),{percyAutoCapture}=require(a39_0x4b157f(0x174)),{sendPlatformDetails}=require(a39_0x4b157f(0x232)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require('../../helpers/performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a39_0x4b157f(0x207)),globals=require(a39_0x4b157f(0x1f6)),logger=require(a39_0x4b157f(0x19d))[a39_0x4b157f(0x1b2)],{shouldProcessEventForTesthub}=require(a39_0x4b157f(0x1ac)),testHubConstants=require(a39_0x4b157f(0x172));try{require(a39_0x4b157f(0x1d2))[a39_0x4b157f(0x189)](a39_0x4b157f(0x22d));}catch(a39_0x3a623){logger[a39_0x4b157f(0x21d)](a39_0x4b157f(0x1e2)+(a39_0x3a623&&a39_0x3a623[a39_0x4b157f(0x18d)]));}exports[a39_0x4b157f(0x16f)]={'beforeAll'(){const _0xd098e6=a39_0x4b157f,_0x25dbc4={'CTJeK':function(_0xe638e2,_0x2da198,_0x24e630,_0x3611c7){return _0xe638e2(_0x2da198,_0x24e630,_0x3611c7);},'pVwop':_0xd098e6(0x199),'QXszJ':_0xd098e6(0x1a6),'YaNwf':function(_0x3bdb4e,_0x1b76bf,_0x357546){return _0x3bdb4e(_0x1b76bf,_0x357546);},'uPgBy':_0xd098e6(0x1c5),'dCTOp':function(_0x1230fe){return _0x1230fe();},'rVnzD':function(_0x1abee6,_0x5d9987,_0x2a1245){return _0x1abee6(_0x5d9987,_0x2a1245);},'ctVut':_0xd098e6(0x183),'TmTpo':_0xd098e6(0x21f)};PerformanceTester[_0xd098e6(0x222)]();const _0x5a26d1='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0xd098e6(0x21c)],()=>{const _0x1ce897=_0xd098e6;global['__error_messages__']=[],global[_0x1ce897(0x1b5)]=![],global[_0x1ce897(0x18a)]=async()=>{const _0x3b5570=_0x1ce897;let _0x1ee5b3=![];try{await global[_0x3b5570(0x1de)][0x0][_0x3b5570(0x1e7)],_0x1ee5b3=!![],global[_0x3b5570(0x1b5)]?await _0x25dbc4[_0x3b5570(0x212)](markSessionStatus,global[_0x3b5570(0x1de)][0x0],_0x25dbc4[_0x3b5570(0x1da)],global[_0x3b5570(0x1a3)]['join'](_0x25dbc4[_0x3b5570(0x208)])):await _0x25dbc4[_0x3b5570(0x225)](markSessionStatus,global[_0x3b5570(0x1de)][0x0],_0x25dbc4[_0x3b5570(0x213)]);}catch(_0x4f99e7){logger['debug'](_0x3b5570(0x1cd)+_0x4f99e7);}global[_0x3b5570(0x1a3)]=[],global['__sessionFailed']=![];if(_0x1ee5b3)try{try{_0x25dbc4[_0x3b5570(0x1d7)](shouldProcessEventForTesthub)&&(global[_0x3b5570(0x1de)][0x0]&&await _0x25dbc4[_0x3b5570(0x1eb)](sendPlatformDetails,global['__drivers'][0x0],this[_0x3b5570(0x1fb)]?this[_0x3b5570(0x1fb)][_0x3b5570(0x19c)]:null));}catch(_0x38a949){logger[_0x3b5570(0x21d)]('Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20'+_0x38a949);}await global[_0x3b5570(0x1de)][0x0][_0x3b5570(0x231)]();}catch(_0x3fe7a5){logger[_0x3b5570(0x21d)](_0x3b5570(0x1db)+_0x3fe7a5);}};},{'platform':_0x25dbc4[_0xd098e6(0x1eb)](nestedKeyValue,global[_0xd098e6(0x17f)],[_0x25dbc4[_0xd098e6(0x1d0)]]),'hookType':_0x25dbc4[_0xd098e6(0x1f8)]})();},'beforeEach'(_0x1a5bf1){const _0x2edc52=a39_0x4b157f,_0x1f8982={'dhtZM':function(_0x48db5e,_0x1e9adc){return _0x48db5e>_0x1e9adc;},'fcEAq':_0x2edc52(0x21b),'vFcnu':function(_0x2a45ec,_0x176d35,_0x2b4725){return _0x2a45ec(_0x176d35,_0x2b4725);},'FTQkQ':function(_0x335df4,_0x16b1a1){return _0x335df4===_0x16b1a1;},'LkCrk':'bstackA11yShouldScan','TnJWr':_0x2edc52(0x17c),'DMCRV':function(_0x165a24){return _0x165a24();},'aLBar':function(_0x439de5,_0x524474){return _0x439de5>_0x524474;},'GGfVO':_0x2edc52(0x1a2),'naxnb':_0x2edc52(0x227),'tAtML':_0x2edc52(0x233),'YuvoD':_0x2edc52(0x1ef),'evGpo':_0x2edc52(0x223),'srEnZ':function(_0x125a43){return _0x125a43();},'MxWdP':_0x2edc52(0x1bc),'vlTDa':function(_0x26875c,_0x299903,_0x160ac8){return _0x26875c(_0x299903,_0x160ac8);},'cnfyn':_0x2edc52(0x183),'pFrbN':_0x2edc52(0x216)};globals['setGlobal'](_0x1f8982[_0x2edc52(0x196)],this[_0x2edc52(0x1fb)][_0x2edc52(0x195)]()[_0x2edc52(0x1fa)](_0x1f8982['fcEAq'])),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x2edc52(0x21c)],()=>{const _0x174011=_0x2edc52,_0x203397='browserstack internal helper hook';new Promise(async _0x10cf39=>{const _0x22ce84=a39_0x1610;let _0xf912ce=!![];try{_0x1f8982[_0x22ce84(0x1b0)](global[_0x22ce84(0x1de)]['length'],0x1)&&(await global[_0x22ce84(0x18a)](),global[_0x22ce84(0x1de)][_0x22ce84(0x1a9)]()),_0x1f8982[_0x22ce84(0x1b0)](global[_0x22ce84(0x1de)][0x0][_0x22ce84(0x1f4)],0x0)&&(_0xf912ce=![],await global[_0x22ce84(0x18a)]());}catch(_0x1b26c8){logger[_0x22ce84(0x21d)](_0x22ce84(0x1db)+_0x1b26c8);}try{Array[_0x22ce84(0x1bb)](global[_0x22ce84(0x1de)])&&global['__drivers'][0x0]&&(global[_0x22ce84(0x1de)][0x0][_0x22ce84(0x1e9)]=this[_0x22ce84(0x1fb)][_0x22ce84(0x195)]()[_0x22ce84(0x1fa)](_0x1f8982['fcEAq'])),global[_0x22ce84(0x1e9)]=this[_0x22ce84(0x1fb)][_0x22ce84(0x195)]()[_0x22ce84(0x1fa)](_0x1f8982[_0x22ce84(0x1fc)]);}catch(_0xe690c7){logger['debug'](_0x22ce84(0x226)+_0xe690c7);}this[_0x22ce84(0x1fb)]['shouldScanTestForAccessibility']=_0x1f8982[_0x22ce84(0x1a4)](shouldScanTestForAccessibility,this['currentTest'][_0x22ce84(0x195)](),!![]);let _0x37b002=!![];try{const _0x50549e=JSON['parse'](process[_0x22ce84(0x1ea)][_0x22ce84(0x1ad)]||'{}');_0x1f8982[_0x22ce84(0x173)](_0x50549e[_0x22ce84(0x1b4)],![])&&(_0x37b002=![]);}catch(_0x320e3e){logger[_0x22ce84(0x21d)]('Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20'+_0x320e3e[_0x22ce84(0x18d)]);}const _0x34dd16=_0x37b002&&this[_0x22ce84(0x1fb)][_0x22ce84(0x219)];globals['setGlobal'](_0x1f8982[_0x22ce84(0x1f2)],_0x34dd16),globals[_0x22ce84(0x1a7)](_0x1f8982[_0x22ce84(0x1b9)],null),this[_0x22ce84(0x1fb)][_0x22ce84(0x1bd)]=this['currentTest']['shouldScanTestForAccessibility'];if(_0x1f8982[_0x22ce84(0x17b)](isAccessibilityAutomationSession)&&_0xf912ce&&Array['isArray'](global['__drivers'])&&_0x1f8982[_0x22ce84(0x229)](global[_0x22ce84(0x1de)][_0x22ce84(0x228)],0x0)&&globals[_0x22ce84(0x22e)](_0x1f8982[_0x22ce84(0x1e0)]))try{const _0x9db899=await global['__drivers'][0x0][_0x22ce84(0x1e7)];if(_0x9db899){let _0x4b565e=!![];const _0x4c8e9c=await global[_0x22ce84(0x1de)][0x0][_0x22ce84(0x20c)]();let _0x36ed0b;try{_0x36ed0b=new URL(_0x4c8e9c),_0x4b565e=_0x1f8982[_0x22ce84(0x173)](_0x36ed0b[_0x22ce84(0x1d9)],_0x1f8982[_0x22ce84(0x200)])||_0x1f8982['FTQkQ'](_0x36ed0b[_0x22ce84(0x1d9)],_0x1f8982['tAtML']);}catch(_0x4ff587){_0x4b565e=![];}_0x4b565e&&(this[_0x22ce84(0x1fb)]['shouldScanTestForAccessibility']&&logger['info'](_0x1f8982['YuvoD'])),this[_0x22ce84(0x1fb)][_0x22ce84(0x1bd)]=this['currentTest'][_0x22ce84(0x219)],_0x34dd16&&logger[_0x22ce84(0x178)](_0x1f8982[_0x22ce84(0x1a8)]);}}catch(_0x583adf){logger[_0x22ce84(0x190)](_0x22ce84(0x1c6)+util[_0x22ce84(0x181)](_0x583adf));}_0x1f8982[_0x22ce84(0x1dd)](_0x10cf39);})[_0x174011(0x16e)](()=>{_0x1f8982['srEnZ'](_0x1a5bf1);});},{'platform':_0x1f8982[_0x2edc52(0x1ab)](nestedKeyValue,global[_0x2edc52(0x17f)],[_0x1f8982[_0x2edc52(0x1af)]]),'hookType':_0x1f8982[_0x2edc52(0x1b8)]})();},'afterEach'(_0x2bfefc){const _0x1a5b3c=a39_0x4b157f,_0x123f6e={'aPjbC':function(_0x299e98,_0x580c2c){return _0x299e98!==_0x580c2c;},'YRdvM':_0x1a5b3c(0x1c5),'qDcIp':function(_0xf57805,_0x11e0e6,_0x547b78){return _0xf57805(_0x11e0e6,_0x547b78);},'NzSFa':function(_0x158672,_0x58d477){return _0x158672+_0x58d477;},'PHGbB':'Failed:\x20','JZwDE':_0x1a5b3c(0x190),'GfeXv':'Passed','DKmry':_0x1a5b3c(0x178),'PqMCf':_0x1a5b3c(0x21b),'ozDWM':function(_0x51175c,_0x2334f4){return _0x51175c>_0x2334f4;},'nTImx':function(_0x3330ef,_0x324872){return _0x3330ef===_0x324872;},'vaESx':_0x1a5b3c(0x1ce),'FYQOd':_0x1a5b3c(0x22f),'XaJKg':function(_0x6ce62f,_0x5be7c5,_0xcb0283,_0x33c074){return _0x6ce62f(_0x5be7c5,_0xcb0283,_0x33c074);},'HjbQF':_0x1a5b3c(0x1a2),'YZopU':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','YYemJ':_0x1a5b3c(0x1c0),'FQlPj':_0x1a5b3c(0x1c8),'CWEAz':_0x1a5b3c(0x1e5),'pWbpW':'Accessibility\x20scan\x20completed\x20successfully','YgDAy':_0x1a5b3c(0x19e),'hbMRj':_0x1a5b3c(0x20f),'fhPqN':_0x1a5b3c(0x1f0),'qRJoZ':_0x1a5b3c(0x1c9),'IpCXh':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','blULb':function(_0x2d0e6a){return _0x2d0e6a();},'wsdfz':_0x1a5b3c(0x21d),'dQywe':function(_0x5cbe55,_0x2e9607){return _0x5cbe55>_0x2e9607;},'dqtxy':'Mocha','zViSb':function(_0x22a7f2,_0x5aa663,_0x5588c2){return _0x22a7f2(_0x5aa663,_0x5588c2);},'BeknL':_0x1a5b3c(0x183),'YFhos':_0x1a5b3c(0x1e6)},_0x128684='browserstack internal helper hook';this[_0x1a5b3c(0x176)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x123f6e[_0x1a5b3c(0x18b)]]),global[_0x1a5b3c(0x1a0)]=this[_0x1a5b3c(0x1fb)][_0x1a5b3c(0x195)]()[_0x1a5b3c(0x1fa)](_0x123f6e[_0x1a5b3c(0x20b)]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x1a5b3c(0x21c)],()=>{const _0x44875b=_0x1a5b3c,_0x312ff4={'WLyay':function(_0x402afe,_0x24b8ea){const _0x537ca2=a39_0x1610;return _0x123f6e[_0x537ca2(0x204)](_0x402afe,_0x24b8ea);},'cwWuE':_0x123f6e[_0x44875b(0x198)],'TYlOa':function(_0x599928,_0x493984,_0x1d6ba9){const _0x50c3cb=_0x44875b;return _0x123f6e[_0x50c3cb(0x1a5)](_0x599928,_0x493984,_0x1d6ba9);},'Wizhj':function(_0x190944,_0x4174a6){const _0x22bc55=_0x44875b;return _0x123f6e[_0x22bc55(0x20a)](_0x190944,_0x4174a6);},'SeKDz':_0x123f6e[_0x44875b(0x1fe)],'fJfzo':_0x123f6e['JZwDE'],'jzzcN':_0x123f6e[_0x44875b(0x1d3)],'QAliM':_0x123f6e[_0x44875b(0x185)],'sHcYW':_0x123f6e[_0x44875b(0x20b)],'bzwse':function(_0x1d55fd,_0x42bd37){return _0x123f6e['ozDWM'](_0x1d55fd,_0x42bd37);},'sOADV':function(_0x5dd31d,_0x12205e){return _0x123f6e['nTImx'](_0x5dd31d,_0x12205e);},'TaRfl':_0x123f6e[_0x44875b(0x218)],'Htysg':_0x123f6e[_0x44875b(0x209)],'STpSm':function(_0x9a873e,_0x1d85be,_0x4fca9a,_0x2309dc){return _0x123f6e['XaJKg'](_0x9a873e,_0x1d85be,_0x4fca9a,_0x2309dc);},'msjee':_0x123f6e['HjbQF'],'tQqnI':_0x123f6e[_0x44875b(0x175)],'nZclm':_0x123f6e['YYemJ'],'cxHpe':_0x123f6e['FQlPj'],'qCSQr':_0x123f6e[_0x44875b(0x201)],'mLgXD':_0x123f6e[_0x44875b(0x17d)],'GjRSh':_0x123f6e[_0x44875b(0x1c4)],'VhmKZ':_0x123f6e[_0x44875b(0x17e)],'xegea':_0x123f6e['fhPqN'],'Mevbq':_0x123f6e[_0x44875b(0x1bf)],'JubMt':_0x123f6e[_0x44875b(0x184)],'VrSdV':function(_0x3f11f7){const _0x2fdf74=_0x44875b;return _0x123f6e[_0x2fdf74(0x1b1)](_0x3f11f7);},'hvpDz':function(_0x2b656d){const _0x14d3b2=_0x44875b;return _0x123f6e[_0x14d3b2(0x1b1)](_0x2b656d);},'iOtHp':_0x123f6e[_0x44875b(0x1b7)],'zgCQu':function(_0x4b12a2,_0x14aad5){const _0x5e068b=_0x44875b;return _0x123f6e[_0x5e068b(0x1d4)](_0x4b12a2,_0x14aad5);}},_0x3a2a12=async(_0xa6271,_0x5000a5)=>{const _0x32ef8b=_0x44875b;await global[_0x32ef8b(0x1de)][0x0]['executeScript'](_0x32ef8b(0x187)+_0xa6271+_0x32ef8b(0x1ff)+_0x5000a5+'\x22}}');};new Promise(async _0x89efb6=>{const _0xd96e3f=_0x44875b,_0x2dd5fe={};_0x2dd5fe[_0xd96e3f(0x1f7)]=_0x312ff4['sHcYW'];const _0x26c3ca=_0x2dd5fe;try{_0x312ff4[_0xd96e3f(0x1c7)](global['__drivers']['length'],0x1)&&(await global['driverCleanup'](),global[_0xd96e3f(0x1de)]['shift'](),global[_0xd96e3f(0x1a3)]=[],global[_0xd96e3f(0x1b5)]=![]);try{if(global[_0xd96e3f(0x1e1)]&&_0x312ff4[_0xd96e3f(0x224)](global[_0xd96e3f(0x180)],_0x312ff4[_0xd96e3f(0x21e)])&&global['__drivers'][0x0]){const _0x4432e3=_0x312ff4['bzwse'](global[_0xd96e3f(0x18e)][_0xd96e3f(0x228)],0x0)?!!global['capabilities'][0x0][_0xd96e3f(0x1cf)]||!!global[_0xd96e3f(0x18e)][0x0][_0x312ff4[_0xd96e3f(0x1f5)]]:![],_0x24af0c={};_0x24af0c['app']=_0x4432e3,await _0x312ff4[_0xd96e3f(0x220)](percyAutoCapture,global[_0xd96e3f(0x1de)][0x0],_0x312ff4['TaRfl'],_0x24af0c);}}catch(_0xb48afe){logger[_0xd96e3f(0x21d)](_0xd96e3f(0x206)+_0xb48afe);}!global[_0xd96e3f(0x203)]&&(await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0xd96e3f(0x19b)],async()=>{const _0x3236d2=_0xd96e3f;await global[_0x3236d2(0x1de)][0x0][_0x3236d2(0x191)](_0x3236d2(0x194)+JSON[_0x3236d2(0x1fd)](this[_0x3236d2(0x1fb)][_0x3236d2(0x195)]()['join'](_0x26c3ca[_0x3236d2(0x1f7)]))+'}}');})(),global[_0xd96e3f(0x1de)][0x0][_0xd96e3f(0x1e8)]=!![]),await PerformanceTester[_0xd96e3f(0x22c)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x2025a2=_0xd96e3f,_0x5b3dcb=_0x312ff4[_0x2025a2(0x1ba)](this[_0x2025a2(0x1fb)][_0x2025a2(0x1dc)],_0x312ff4['cwWuE']);_0x5b3dcb?(global[_0x2025a2(0x1b5)]=!![],global['__error_messages__'][_0x2025a2(0x211)](this[_0x2025a2(0x1fb)][_0x2025a2(0x186)][_0x2025a2(0x18d)]),await _0x312ff4['TYlOa'](_0x3a2a12,JSON[_0x2025a2(0x1fd)](_0x312ff4[_0x2025a2(0x210)](_0x312ff4[_0x2025a2(0x234)],this[_0x2025a2(0x1fb)][_0x2025a2(0x186)][_0x2025a2(0x18d)])),_0x312ff4[_0x2025a2(0x1f1)])):await _0x312ff4[_0x2025a2(0x1d1)](_0x3a2a12,JSON[_0x2025a2(0x1fd)](_0x312ff4['jzzcN']),_0x312ff4[_0x2025a2(0x20e)]);})();}catch(_0x5b82d0){logger['debug'](_0xd96e3f(0x205)+_0x5b82d0);}try{if(this[_0xd96e3f(0x1fb)][_0xd96e3f(0x1bd)]&&globals[_0xd96e3f(0x22e)](_0x312ff4['msjee'])){logger[_0xd96e3f(0x178)](_0x312ff4[_0xd96e3f(0x1aa)]);const _0x57bfed={};_0x57bfed[_0xd96e3f(0x17a)]=this[_0xd96e3f(0x1fb)][_0xd96e3f(0x19c)],_0x57bfed['thBuildUuid']=process[_0xd96e3f(0x1ea)][testHubConstants[_0xd96e3f(0x1e4)]['BROWSERSTACK_TESTHUB_UUID']],_0x57bfed[_0xd96e3f(0x22b)]=process[_0xd96e3f(0x1ea)][testHubConstants[_0xd96e3f(0x1e4)]['BROWSERSTACK_TESTHUB_JWT']];const _0x1bfb39=_0x57bfed;logger[_0xd96e3f(0x21d)](_0xd96e3f(0x22a)+JSON[_0xd96e3f(0x1fd)](_0x1bfb39));if(globals[_0xd96e3f(0x22e)](_0x312ff4[_0xd96e3f(0x170)])){logger[_0xd96e3f(0x21d)](_0x312ff4[_0xd96e3f(0x19f)]);const _0x474dfe={};_0x474dfe[_0xd96e3f(0x1be)]=_0x312ff4['qCSQr'];const _0xd40f82=await PerformanceTester[_0xd96e3f(0x22c)](PerformanceA11yEvents[_0xd96e3f(0x197)],async()=>{const _0x1934e6=_0xd96e3f;return await accessibilityRetryHelper[_0x1934e6(0x177)](global[_0x1934e6(0x1de)][0x0],global['browserstackSessionName']);},_0x474dfe)();_0xd40f82?logger[_0xd96e3f(0x21d)](_0x312ff4['mLgXD']):logger[_0xd96e3f(0x1d6)](_0x312ff4[_0xd96e3f(0x1c3)]);}else logger[_0xd96e3f(0x21d)](_0x312ff4['VhmKZ']);const _0x5b9c4b=await PerformanceTester[_0xd96e3f(0x22c)](PerformanceA11yEvents[_0xd96e3f(0x1cb)],async()=>{const _0x12a65e=_0xd96e3f;return await accessibilityRetryHelper[_0x12a65e(0x1d5)](global[_0x12a65e(0x1de)][0x0],_0x1bfb39);})();_0x5b9c4b?logger[_0xd96e3f(0x21d)](_0x312ff4['xegea']):logger[_0xd96e3f(0x1d6)](_0x312ff4[_0xd96e3f(0x1ec)]),logger[_0xd96e3f(0x178)](_0x312ff4['JubMt']);}}catch(_0x19512e){logger[_0xd96e3f(0x190)](_0xd96e3f(0x1ed)+this[_0xd96e3f(0x1fb)][_0xd96e3f(0x195)]()+'.\x20Error\x20:',_0x19512e);}try{try{if(_0x312ff4[_0xd96e3f(0x1f3)](shouldProcessEventForTesthub)){global[_0xd96e3f(0x1de)][0x0]&&await _0x312ff4[_0xd96e3f(0x1d1)](sendPlatformDetails,global[_0xd96e3f(0x1de)][0x0],this[_0xd96e3f(0x1fb)]?this['currentTest'][_0xd96e3f(0x19c)]:null);if(_0x312ff4[_0xd96e3f(0x182)](isBrowserstackInfra)){PerformanceTester[_0xd96e3f(0x1ae)](PerformanceO11yEvents[_0xd96e3f(0x1ca)]);const _0x5671fc=_0xd96e3f(0x1ee)+Date[_0xd96e3f(0x230)]();await _0x312ff4[_0xd96e3f(0x1d1)](_0x3a2a12,JSON[_0xd96e3f(0x1fd)](_0x5671fc),_0x312ff4[_0xd96e3f(0x21a)]),PerformanceTester[_0xd96e3f(0x18c)](PerformanceO11yEvents[_0xd96e3f(0x1ca)]);}}}catch(_0x9964c5){logger[_0xd96e3f(0x21d)](_0xd96e3f(0x1b6)+_0x9964c5),PerformanceTester[_0xd96e3f(0x18c)](PerformanceO11yEvents[_0xd96e3f(0x1ca)],![],_0x9964c5);}_0x312ff4['zgCQu'](global[_0xd96e3f(0x1de)][0x0]['quitCount_'],0x0)&&await global[_0xd96e3f(0x18a)]();}catch(_0x6dce56){logger[_0xd96e3f(0x21d)](_0xd96e3f(0x1db)+_0x6dce56);}_0x312ff4[_0xd96e3f(0x182)](_0x89efb6);})[_0x44875b(0x16e)](()=>{const _0x4518fb=_0x44875b;_0x312ff4[_0x4518fb(0x182)](_0x2bfefc);});},{'platform':_0x123f6e[_0x1a5b3c(0x217)](nestedKeyValue,global[_0x1a5b3c(0x17f)],[_0x123f6e[_0x1a5b3c(0x18f)]]),'hookType':_0x123f6e[_0x1a5b3c(0x188)]})();},'afterAll'(_0x546212){const _0x300fa8=a39_0x4b157f,_0x1465f3={'Eanvo':function(_0x1d38d1){return _0x1d38d1();},'uNrbv':_0x300fa8(0x1a1),'NfFoA':function(_0xef93fc,_0x16e813,_0x437801){return _0xef93fc(_0x16e813,_0x437801);},'wIWVt':_0x300fa8(0x183),'AeyyP':'afterAll'},_0x26d542='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x1465f3[_0x300fa8(0x215)]]),PerformanceTester[_0x300fa8(0x22c)](PerformanceSdkEvents[_0x300fa8(0x21c)],()=>{const _0x3c61ee=_0x300fa8,_0x40664a={'cEjgp':function(_0x1eae21){const _0x4b91f5=a39_0x1610;return _0x1465f3[_0x4b91f5(0x193)](_0x1eae21);},'fCfan':function(_0x198569){return _0x1465f3['Eanvo'](_0x198569);}};new Promise(async _0x304434=>{const _0x1ab710=a39_0x1610;await global[_0x1ab710(0x18a)](),_0x40664a[_0x1ab710(0x1c1)](_0x304434);})[_0x3c61ee(0x16e)]()['finally'](()=>{const _0x374138=_0x3c61ee;_0x40664a[_0x374138(0x19a)](_0x546212);});},{'platform':_0x1465f3[_0x300fa8(0x1df)](nestedKeyValue,global[_0x300fa8(0x17f)],[_0x1465f3[_0x300fa8(0x179)]]),'hookType':_0x1465f3['AeyyP']})();}};function a39_0x545e(){const _0x467c12=['Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','../../helpers/performance/constants','QXszJ','FYQOd','NzSFa','PqMCf','getCurrentUrl','util','QAliM','[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','Wizhj','push','CTJeK','uPgBy','1023220uxAekq','uNrbv','beforeEach','zViSb','vaESx','shouldScanTestForAccessibility','iOtHp','\x20-\x20','SDK_HOOK','debug','TaRfl','beforeAll','STpSm','9470844EOMAKY','startMonitoring','Automate\x20test\x20case\x20execution\x20has\x20started.','sOADV','YaNwf','Failed\x20to\x20store\x20session\x20name:\x20','http:','length','aLBar','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','thJwtToken','measureWrapper','mocha','getGlobal','appium:app','now','initQuit','./test-observability/mochaUtils','https:','SeKDz','then','mochaHooks','nZclm','641291pRfOZv','../../helpers/testhub/constants','FTQkQ','../../helpers/percy/utils','YZopU','timeout','performScanWithRetry','info','wIWVt','thTestRunUuid','DMCRV','bstackA11yScanOptions','pWbpW','hbMRj','__platformCaps','percyCaptureMode','format','hvpDz','index','IpCXh','DKmry','err','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','YFhos','installAll','driverCleanup','dqtxy','end','message','capabilities','BeknL','error','executeScript','1997964ouVkky','Eanvo','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','titlePath','MxWdP','PERFORM_SCAN','YRdvM','failed','fCfan','SESSION_NAME','testAnalyticsId','../../helpers/logger','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','cxHpe','sessionName','Mocha','isAccessibilityPlatform','__error_messages__','vFcnu','qDcIp','\x20|\x20','setGlobal','evGpo','shift','tQqnI','vlTDa','../../helpers/testhub/utils','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','start','cnfyn','dhtZM','blULb','winstonLogger','88rcsoAG','autoScanning','__sessionFailed','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','wsdfz','pFrbN','TnJWr','WLyay','isArray','browserstackTestName','accessibilityScanStarted','command','qRJoZ','bstackA11yShouldScan','cEjgp','198709QfCaCT','GjRSh','YgDAy','passed','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','bzwse','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','SYNC','SAVE_RESULTS','../../helpers/accessibility-automation/helper','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','testcase','app','ctVut','TYlOa','../../helpers/driverInitErrorReporter','GfeXv','dQywe','saveAccessibilityResultsWithRetry','warn','dCTOp','1184406xpzLiI','protocol','pVwop','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','state','srEnZ','__drivers','NfFoA','GGfVO','percy','driver-init\x20capture\x20install\x20failed:\x20','744660GQHWKq','ENV_VAR','afterTest','afterEach','session_','sessionNameSet__','browserstackSessionName','env','rVnzD','Mevbq','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','ObservabilitySync:','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','Accessibility\x20results\x20saved\x20successfully','fJfzo','LkCrk','VrSdV','quitCount_','Htysg','../../helpers/globals','FYLhF','TmTpo','../utils/constants','join','currentTest','fcEAq','stringify','PHGbB',',\x22level\x22:\x20\x22','naxnb','CWEAz','8VcPJZv','__skipSessionName','aPjbC'];a39_0x545e=function(){return _0x467c12;};return a39_0x545e();}
1
+ const a43_0xea509f=a43_0xfb3e;function a43_0xfb3e(_0xd80e16,_0x474e33){const _0x486a76=a43_0x486a();return a43_0xfb3e=function(_0xfb3ee5,_0x1d366e){_0xfb3ee5=_0xfb3ee5-0xc3;let _0x198579=_0x486a76[_0xfb3ee5];return _0x198579;},a43_0xfb3e(_0xd80e16,_0x474e33);}function a43_0x486a(){const _0x192e69=['.\x20Error\x20:','cxHRt','sfKbk','THWoT','RtEtb','1882390UNcWRL','__sessionFailed','isArray','warn','zyZZN','kyShP','VEvCM','passed','Automate\x20test\x20case\x20execution\x20has\x20started.','KRNug','74398iROSmV','oeklO','stringify','jqbeM','fhxKB','XWGAu','LalQw','kAoWG','paDGy','Umxnn','debug','finally','rHZpL','command','accessibilityScanStarted','tBLre','dQvmJ','length','dPqft','KCIXJ','YSGJd','cqVgH','yIOzi','../../helpers/globals','performScanWithRetry','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','ZTCNB','bstackA11yShouldScan','Failed\x20to\x20store\x20session\x20name:\x20','4221784tllcKl','ENV_VAR','appium:app','gkpcB','1654860FZDCkJ','ORjuT','afterTest','Jjrvt','mocha','410984LlSMES','ywslF','YvvbJ','failed','XWDgs','__drivers','initQuit','YoUYJ','PGFhj','mbaro','thBuildUuid','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','pzVMR','coprK','bBRzS','nhdJZ','Accessibility\x20scan\x20completed\x20successfully','installAll','currentTest','CPods','driver-init\x20capture\x20install\x20failed:\x20','Zphau','OHgfY','Passed','fNiFX','11byjbbL','thTestRunUuid','\x22}}','isAccessibilityPlatform','Mocha','afterEach','browserstackTestName','saveAccessibilityResultsWithRetry','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','jIqsI','\x20-\x20','winstonLogger','rQGIN','XdBrd','titlePath','EcSBv','212442wMyhUO','Accessibility\x20results\x20saved\x20successfully','__error_messages__','ngAYt','twudV','beforeAll','push','luoof','sessionName','ZwbJW','../../helpers/performance/performance-tester','HoaAL','wrgmG','VrFje','then','thJwtToken','PLxaW','iBjxI','MkjRS','qGGIr','SAVE_RESULTS','jQfHp','join','BROWSERSTACK_TESTHUB_UUID','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','WRDEg','driverCleanup','getGlobal','session_','__skipSessionName','bHfrL','AiSvT','bZgLv','shouldScanTestForAccessibility','testcase','eyGMJ','executeScript','EMdQx','SDK_HOOK','DmReL','fRpVc','state','ObservabilitySync:','SHCbf','PERFORM_SCAN','../../helpers/driverInitErrorReporter','shift','ZxZQs','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','pBQcj','DvapN','QOORq','getCurrentUrl','index','format','../../helpers/performance/constants','setGlobal','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','elyIM','xUNOS','percy','UzWjx','./test-observability/mochaUtils','fOHdn','protocol','quitCount_','parse','afterAll','info','SYNC','AYSYV','../../helpers/accessibility-automation/helper','Enhnf','xTcKy','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','KpsCA','rKyFD','OehEo','EhAwz','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','wCzjB','sGtxo','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','startMonitoring','__platformCaps','bstackA11yScanOptions','BROWSERSTACK_TESTHUB_JWT','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','Failed:\x20','error','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','iRAHG','lrhNY','sEbQH','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','hDwiu','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','util','testAnalyticsId','start','3494004kykBeL','opoaP','uecuY','sessionNameSet__','../../helpers/helper','percyCaptureMode','message','QZQRP','measureWrapper','env','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','OUBCN','autoScanning','capabilities','app'];a43_0x486a=function(){return _0x192e69;};return a43_0x486a();}(function(_0x39cf8e,_0x2ebb74){const _0x1f05b3=a43_0xfb3e,_0x23851b=_0x39cf8e();while(!![]){try{const _0x19929c=parseInt(_0x1f05b3(0xc3))/0x1*(parseInt(_0x1f05b3(0x156))/0x2)+-parseInt(_0x1f05b3(0xd3))/0x3+parseInt(_0x1f05b3(0x137))/0x4+-parseInt(_0x1f05b3(0x14c))/0x5+parseInt(_0x1f05b3(0x177))/0x6+-parseInt(_0x1f05b3(0x17c))/0x7+-parseInt(_0x1f05b3(0x173))/0x8;if(_0x19929c===_0x2ebb74)break;else _0x23851b['push'](_0x23851b['shift']());}catch(_0x526123){_0x23851b['push'](_0x23851b['shift']());}}}(a43_0x486a,0x801e5));const util=require(a43_0xea509f(0x134)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a43_0xea509f(0x11a)),accessibilityRetryHelper=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require('../utils/constants'),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a43_0xea509f(0x111)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a43_0xea509f(0x13b)),PerformanceTester=require(a43_0xea509f(0xdd)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a43_0xea509f(0x10a)),globals=require(a43_0xea509f(0x16d)),logger=require('../../helpers/logger')[a43_0xea509f(0xce)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require('../../helpers/testhub/constants');try{require(a43_0xea509f(0x100))[a43_0xea509f(0x18d)](a43_0xea509f(0x17b));}catch(a43_0x208837){logger[a43_0xea509f(0x160)](a43_0xea509f(0x190)+(a43_0x208837&&a43_0x208837[a43_0xea509f(0x13d)]));}exports['mochaHooks']={'beforeAll'(){const _0x15302b=a43_0xea509f,_0x340e8f={'kAoWG':function(_0x4717bc,_0x96387b,_0x1ae7ce,_0x48ede1){return _0x4717bc(_0x96387b,_0x1ae7ce,_0x48ede1);},'OehEo':_0x15302b(0x17f),'sGtxo':'\x20|\x20','elyIM':function(_0x532f66,_0x56e858,_0x267f3c){return _0x532f66(_0x56e858,_0x267f3c);},'MkjRS':'passed','KRNug':function(_0x3f2252){return _0x3f2252();},'fNiFX':'index','ORjuT':_0x15302b(0xd8)};PerformanceTester[_0x15302b(0x126)]();const _0x4f6286='browserstack internal helper hook';PerformanceTester[_0x15302b(0x13f)](PerformanceSdkEvents[_0x15302b(0xf9)],()=>{const _0x6676f7=_0x15302b;global[_0x6676f7(0xd5)]=[],global[_0x6676f7(0x14d)]=![],global[_0x6676f7(0xed)]=async()=>{const _0x1c93f9=_0x6676f7;let _0x1f6c8b=![];try{await global[_0x1c93f9(0x181)][0x0][_0x1c93f9(0xef)],_0x1f6c8b=!![],global[_0x1c93f9(0x14d)]?await _0x340e8f[_0x1c93f9(0x15d)](markSessionStatus,global[_0x1c93f9(0x181)][0x0],_0x340e8f[_0x1c93f9(0x120)],global[_0x1c93f9(0xd5)][_0x1c93f9(0xe9)](_0x340e8f[_0x1c93f9(0x124)])):await _0x340e8f['elyIM'](markSessionStatus,global[_0x1c93f9(0x181)][0x0],_0x340e8f[_0x1c93f9(0xe5)]);}catch(_0x3ea5ac){logger[_0x1c93f9(0x160)](_0x1c93f9(0x125)+_0x3ea5ac);}global[_0x1c93f9(0xd5)]=[],global[_0x1c93f9(0x14d)]=![];if(_0x1f6c8b)try{try{_0x340e8f[_0x1c93f9(0x155)](shouldProcessEventForTesthub)&&(global[_0x1c93f9(0x181)][0x0]&&await _0x340e8f[_0x1c93f9(0x10d)](sendPlatformDetails,global['__drivers'][0x0],this['currentTest']?this[_0x1c93f9(0x18e)][_0x1c93f9(0x135)]:null));}catch(_0x42aad0){logger['debug'](_0x1c93f9(0x12d)+_0x42aad0);}await global['__drivers'][0x0][_0x1c93f9(0x182)]();}catch(_0x393878){logger[_0x1c93f9(0x160)](_0x1c93f9(0xeb)+_0x393878);}};},{'platform':_0x340e8f[_0x15302b(0x10d)](nestedKeyValue,global[_0x15302b(0x127)],[_0x340e8f[_0x15302b(0x194)]]),'hookType':_0x340e8f[_0x15302b(0x178)]})();},'beforeEach'(_0x56f7d4){const _0x452c29=a43_0xea509f,_0x578ebd={'fhxKB':function(_0x57458c){return _0x57458c();},'mbaro':function(_0x4cc800,_0xfe4228){return _0x4cc800>_0xfe4228;},'EMdQx':function(_0x53e6c,_0x3659ae){return _0x53e6c>_0x3659ae;},'zyZZN':_0x452c29(0xcd),'Umxnn':function(_0x39b129,_0x2249e0,_0x18eeb5){return _0x39b129(_0x2249e0,_0x18eeb5);},'nXcrW':function(_0x28b3d0,_0x56ea42){return _0x28b3d0===_0x56ea42;},'AiSvT':_0x452c29(0x171),'opoaP':_0x452c29(0x128),'Jjrvt':function(_0x3921e8,_0x49e10f){return _0x3921e8>_0x49e10f;},'DIHak':_0x452c29(0xc6),'ywslF':'http:','sfKbk':'https:','iWDts':_0x452c29(0x187),'HqWAE':_0x452c29(0x154),'jIqsI':_0x452c29(0xc9),'hDwiu':_0x452c29(0x108),'lrhNY':'beforeEach'};globals[_0x452c29(0x10b)](_0x578ebd[_0x452c29(0xcc)],this[_0x452c29(0x18e)][_0x452c29(0xd1)]()['join'](_0x578ebd[_0x452c29(0x150)])),PerformanceTester[_0x452c29(0x13f)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x29e9c7=_0x452c29,_0x35d07d={'cxHRt':function(_0x227b33,_0x2e9a1d){const _0x456ee0=a43_0xfb3e;return _0x578ebd[_0x456ee0(0x185)](_0x227b33,_0x2e9a1d);},'XaHbS':function(_0x4a9978,_0x3191ce){const _0x34e814=a43_0xfb3e;return _0x578ebd[_0x34e814(0xf8)](_0x4a9978,_0x3191ce);},'CPods':_0x578ebd[_0x29e9c7(0x150)],'HoaAL':function(_0x30c7ef,_0x502624,_0x3e2822){const _0x260984=_0x29e9c7;return _0x578ebd[_0x260984(0x15f)](_0x30c7ef,_0x502624,_0x3e2822);},'jqbeM':function(_0x2a1a51,_0x183efa){return _0x578ebd['nXcrW'](_0x2a1a51,_0x183efa);},'WRDEg':_0x578ebd[_0x29e9c7(0xf2)],'XdBrd':_0x578ebd[_0x29e9c7(0x138)],'ONdeN':function(_0x1350c0){const _0x35e033=_0x29e9c7;return _0x578ebd[_0x35e033(0x15a)](_0x1350c0);},'tBLre':function(_0x4eadcc,_0x4475f1){const _0x74dcd1=_0x29e9c7;return _0x578ebd[_0x74dcd1(0x17a)](_0x4eadcc,_0x4475f1);},'RtEtb':_0x578ebd['DIHak'],'wrgmG':_0x578ebd[_0x29e9c7(0x17d)],'sEbQH':_0x578ebd[_0x29e9c7(0x149)],'SHCbf':_0x578ebd['iWDts'],'bHfrL':_0x578ebd['HqWAE']},_0x3c89a6='browserstack internal helper hook';new Promise(async _0x5d9882=>{const _0x349f54=_0x29e9c7;let _0x270c51=!![];try{_0x35d07d[_0x349f54(0x148)](global[_0x349f54(0x181)][_0x349f54(0x167)],0x1)&&(await global['driverCleanup'](),global[_0x349f54(0x181)][_0x349f54(0x101)]()),_0x35d07d['XaHbS'](global['__drivers'][0x0][_0x349f54(0x114)],0x0)&&(_0x270c51=![],await global[_0x349f54(0xed)]());}catch(_0x32d765){logger[_0x349f54(0x160)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x32d765);}try{Array['isArray'](global[_0x349f54(0x181)])&&global[_0x349f54(0x181)][0x0]&&(global[_0x349f54(0x181)][0x0]['browserstackSessionName']=this[_0x349f54(0x18e)][_0x349f54(0xd1)]()[_0x349f54(0xe9)](_0x35d07d['CPods'])),global['browserstackSessionName']=this[_0x349f54(0x18e)][_0x349f54(0xd1)]()[_0x349f54(0xe9)](_0x35d07d[_0x349f54(0x18f)]);}catch(_0x4ab7f7){logger[_0x349f54(0x160)](_0x349f54(0x172)+_0x4ab7f7);}this[_0x349f54(0x18e)][_0x349f54(0xf4)]=_0x35d07d[_0x349f54(0xde)](shouldScanTestForAccessibility,this[_0x349f54(0x18e)][_0x349f54(0xd1)](),!![]);let _0x4428e7=!![];try{const _0x5821f3=JSON[_0x349f54(0x115)](process['env'][_0x349f54(0x142)]||'{}');_0x35d07d['jqbeM'](_0x5821f3[_0x349f54(0x144)],![])&&(_0x4428e7=![]);}catch(_0x3fc66a){logger[_0x349f54(0x160)](_0x349f54(0x10c)+_0x3fc66a[_0x349f54(0x13d)]);}const _0x292381=_0x4428e7&&this['currentTest'][_0x349f54(0xf4)];globals[_0x349f54(0x10b)](_0x35d07d[_0x349f54(0xec)],_0x292381),globals[_0x349f54(0x10b)](_0x35d07d[_0x349f54(0xd0)],null),this[_0x349f54(0x18e)][_0x349f54(0x164)]=this[_0x349f54(0x18e)][_0x349f54(0xf4)];if(_0x35d07d['ONdeN'](isAccessibilityAutomationSession)&&_0x270c51&&Array[_0x349f54(0x14e)](global[_0x349f54(0x181)])&&_0x35d07d[_0x349f54(0x165)](global['__drivers'][_0x349f54(0x167)],0x0)&&globals[_0x349f54(0xee)](_0x35d07d[_0x349f54(0x14b)]))try{const _0x1188d8=await global['__drivers'][0x0][_0x349f54(0xef)];if(_0x1188d8){let _0x5b6dd5=!![];const _0xb7b3d0=await global['__drivers'][0x0][_0x349f54(0x107)]();let _0xbd1759;try{_0xbd1759=new URL(_0xb7b3d0),_0x5b6dd5=_0x35d07d[_0x349f54(0x159)](_0xbd1759[_0x349f54(0x113)],_0x35d07d[_0x349f54(0xdf)])||_0x35d07d[_0x349f54(0x159)](_0xbd1759['protocol'],_0x35d07d[_0x349f54(0x130)]);}catch(_0x3eaed4){_0x5b6dd5=![];}_0x5b6dd5&&(this[_0x349f54(0x18e)][_0x349f54(0xf4)]&&logger[_0x349f54(0x117)](_0x35d07d[_0x349f54(0xfe)])),this['currentTest'][_0x349f54(0x164)]=this[_0x349f54(0x18e)]['shouldScanTestForAccessibility'],_0x292381&&logger[_0x349f54(0x117)](_0x35d07d[_0x349f54(0xf1)]);}}catch(_0x1868a3){logger[_0x349f54(0x12c)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x349f54(0x109)](_0x1868a3));}_0x35d07d['ONdeN'](_0x5d9882);})[_0x29e9c7(0xe1)](()=>{_0x578ebd['fhxKB'](_0x56f7d4);});},{'platform':_0x578ebd['Umxnn'](nestedKeyValue,global[_0x452c29(0x127)],[_0x578ebd[_0x452c29(0x132)]]),'hookType':_0x578ebd[_0x452c29(0x12f)]})();},'afterEach'(_0xa0276f){const _0x21e848=a43_0xea509f,_0x461e59={'oeklO':'\x20-\x20','UyqbB':function(_0x558d1c,_0x14afeb){return _0x558d1c!==_0x14afeb;},'XAKVu':_0x21e848(0x153),'luoof':function(_0x3eaab8,_0x8bf3af,_0x36e290){return _0x3eaab8(_0x8bf3af,_0x36e290);},'eEnIq':function(_0x1a8527,_0x21079c){return _0x1a8527+_0x21079c;},'ZTCNB':_0x21e848(0x12b),'nNpyj':_0x21e848(0x12c),'cTzcL':_0x21e848(0x193),'twudV':_0x21e848(0x117),'uecuY':function(_0x4b3558,_0x3ef63b){return _0x4b3558>_0x3ef63b;},'QZQRP':function(_0x18c319,_0x3d8302){return _0x18c319===_0x3d8302;},'VetXy':_0x21e848(0xf5),'Enhnf':_0x21e848(0x175),'fOHdn':function(_0x422608,_0x5e5471,_0x4d28b8,_0x55b14b){return _0x422608(_0x5e5471,_0x4d28b8,_0x55b14b);},'XWDgs':'isAccessibilityPlatform','xTcKy':_0x21e848(0x11d),'Knszx':_0x21e848(0x171),'dPqft':'Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','UzWjx':_0x21e848(0x179),'HLELQ':_0x21e848(0x18c),'YSGJd':_0x21e848(0xcb),'bBRzS':'[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','TgPhc':_0x21e848(0xd4),'mJUfN':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','SIRfE':_0x21e848(0x12a),'yIOzi':function(_0x1be05a){return _0x1be05a();},'PGFhj':function(_0x4e7c49,_0x30b4cf,_0x48b155){return _0x4e7c49(_0x30b4cf,_0x48b155);},'PLxaW':function(_0x124e52){return _0x124e52();},'yvkxm':_0x21e848(0x160),'RnifK':function(_0x538e84,_0x40a7f8){return _0x538e84>_0x40a7f8;},'LalQw':_0x21e848(0xc7),'THWoT':_0x21e848(0x108),'VMrMU':_0x21e848(0xc8)},_0x1f8080='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x461e59[_0x21e848(0x15c)]]),global[_0x21e848(0xdb)]=this[_0x21e848(0x18e)]['titlePath']()[_0x21e848(0xe9)](_0x461e59['oeklO']),PerformanceTester[_0x21e848(0x13f)](PerformanceSdkEvents[_0x21e848(0xf9)],()=>{const _0x2a15fe=_0x21e848,_0x531554={'iOYEE':_0x461e59[_0x2a15fe(0x157)],'YoUYJ':function(_0x333ffd,_0x56bb1c){return _0x461e59['UyqbB'](_0x333ffd,_0x56bb1c);},'xUNOS':_0x461e59['XAKVu'],'kyShP':function(_0x1dce75,_0xd49636,_0x2a20f9){return _0x461e59['luoof'](_0x1dce75,_0xd49636,_0x2a20f9);},'wUIfi':function(_0x5f2f3b,_0x598e13){return _0x461e59['eEnIq'](_0x5f2f3b,_0x598e13);},'YvvbJ':_0x461e59[_0x2a15fe(0x170)],'VEvCM':_0x461e59['nNpyj'],'elRIz':_0x461e59['cTzcL'],'EhAwz':_0x461e59[_0x2a15fe(0xd7)],'iBjxI':function(_0x14829c,_0x83ad33){const _0x3a0605=_0x2a15fe;return _0x461e59[_0x3a0605(0x139)](_0x14829c,_0x83ad33);},'fRpVc':function(_0xa623cb,_0x3dacd1){const _0x1c58b1=_0x2a15fe;return _0x461e59[_0x1c58b1(0x13e)](_0xa623cb,_0x3dacd1);},'jQfHp':_0x461e59['VetXy'],'qGGIr':_0x461e59[_0x2a15fe(0x11b)],'pBQcj':function(_0x4a2413,_0x10bf04,_0x312963,_0x49253c){const _0x4df2a3=_0x2a15fe;return _0x461e59[_0x4df2a3(0x112)](_0x4a2413,_0x10bf04,_0x312963,_0x49253c);},'ZwbJW':_0x461e59[_0x2a15fe(0x180)],'rKyFD':_0x461e59[_0x2a15fe(0x11c)],'DmReL':_0x461e59['Knszx'],'OHgfY':_0x461e59[_0x2a15fe(0x168)],'AYSYV':_0x461e59[_0x2a15fe(0x110)],'Zphau':_0x461e59['HLELQ'],'DvapN':_0x461e59[_0x2a15fe(0x16a)],'wCzjB':_0x461e59[_0x2a15fe(0x18a)],'AIoMj':_0x461e59['TgPhc'],'EcSBv':_0x461e59['mJUfN'],'AlsLz':_0x461e59['SIRfE'],'paDGy':function(_0xce1523){const _0x262758=_0x2a15fe;return _0x461e59[_0x262758(0x16c)](_0xce1523);},'gkpcB':function(_0x28e652,_0x2242d7,_0x47c035){const _0x143617=_0x2a15fe;return _0x461e59[_0x143617(0x184)](_0x28e652,_0x2242d7,_0x47c035);},'nhdJZ':function(_0x237d70){const _0x2cde41=_0x2a15fe;return _0x461e59[_0x2cde41(0xe3)](_0x237d70);},'XWGAu':_0x461e59['yvkxm'],'bZgLv':function(_0x3e079b,_0x5ddadb){return _0x461e59['RnifK'](_0x3e079b,_0x5ddadb);},'ngAYt':function(_0x56d10a){const _0x5aea6f=_0x2a15fe;return _0x461e59[_0x5aea6f(0xe3)](_0x56d10a);}},_0x3f0ab9=async(_0x2228fa,_0x2302f8)=>{const _0x21f977=_0x2a15fe;await global[_0x21f977(0x181)][0x0][_0x21f977(0xf7)](_0x21f977(0x141)+_0x2228fa+',\x22level\x22:\x20\x22'+_0x2302f8+_0x21f977(0xc5));};new Promise(async _0x3d68c9=>{const _0x589f2b=_0x2a15fe,_0x49ed02={'VPtov':function(_0xb6f196,_0x5d2248){const _0x5cee32=a43_0xfb3e;return _0x531554[_0x5cee32(0x183)](_0xb6f196,_0x5d2248);},'cqVgH':_0x531554[_0x589f2b(0x10e)],'ZxZQs':function(_0x4cfeef,_0x481e2e,_0x32b095){const _0x1395f6=_0x589f2b;return _0x531554[_0x1395f6(0x151)](_0x4cfeef,_0x481e2e,_0x32b095);},'KpsCA':function(_0x1379ae,_0x3028ae){return _0x531554['wUIfi'](_0x1379ae,_0x3028ae);},'VrFje':_0x531554[_0x589f2b(0x17e)],'dQvmJ':_0x531554[_0x589f2b(0x152)],'iRAHG':function(_0x270e30,_0x2a2762,_0x490892){const _0xc27dd4=_0x589f2b;return _0x531554[_0xc27dd4(0x151)](_0x270e30,_0x2a2762,_0x490892);},'XFAdv':_0x531554['elRIz'],'rQGIN':_0x531554[_0x589f2b(0x121)]};try{_0x531554[_0x589f2b(0xe4)](global[_0x589f2b(0x181)][_0x589f2b(0x167)],0x1)&&(await global[_0x589f2b(0xed)](),global[_0x589f2b(0x181)][_0x589f2b(0x101)](),global[_0x589f2b(0xd5)]=[],global['__sessionFailed']=![]);try{if(global[_0x589f2b(0x10f)]&&_0x531554[_0x589f2b(0xfb)](global[_0x589f2b(0x13c)],_0x531554[_0x589f2b(0xe8)])&&global['__drivers'][0x0]){const _0x3cb73d=_0x531554[_0x589f2b(0xe4)](global[_0x589f2b(0x145)][_0x589f2b(0x167)],0x0)?!!global[_0x589f2b(0x145)][0x0][_0x589f2b(0x146)]||!!global[_0x589f2b(0x145)][0x0][_0x531554[_0x589f2b(0xe6)]]:![],_0x63b1df={};_0x63b1df['app']=_0x3cb73d,await _0x531554[_0x589f2b(0x104)](percyAutoCapture,global[_0x589f2b(0x181)][0x0],_0x531554['jQfHp'],_0x63b1df);}}catch(_0x145c16){logger['debug'](_0x589f2b(0x131)+_0x145c16);}!global[_0x589f2b(0xf0)]&&(await PerformanceTester[_0x589f2b(0x13f)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x379f88=_0x589f2b;await global[_0x379f88(0x181)][0x0][_0x379f88(0xf7)](_0x379f88(0x103)+JSON[_0x379f88(0x158)](this['currentTest'][_0x379f88(0xd1)]()[_0x379f88(0xe9)](_0x531554['iOYEE']))+'}}');})(),global[_0x589f2b(0x181)][0x0][_0x589f2b(0x13a)]=!![]),await PerformanceTester[_0x589f2b(0x13f)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x6bbbee=_0x589f2b,_0xd27bf2=_0x49ed02['VPtov'](this[_0x6bbbee(0x18e)][_0x6bbbee(0xfc)],_0x49ed02[_0x6bbbee(0x16b)]);_0xd27bf2?(global[_0x6bbbee(0x14d)]=!![],global[_0x6bbbee(0xd5)][_0x6bbbee(0xd9)](this['currentTest']['err'][_0x6bbbee(0x13d)]),await _0x49ed02[_0x6bbbee(0x102)](_0x3f0ab9,JSON[_0x6bbbee(0x158)](_0x49ed02[_0x6bbbee(0x11e)](_0x49ed02[_0x6bbbee(0xe0)],this['currentTest']['err']['message'])),_0x49ed02[_0x6bbbee(0x166)])):await _0x49ed02[_0x6bbbee(0x12e)](_0x3f0ab9,JSON[_0x6bbbee(0x158)](_0x49ed02['XFAdv']),_0x49ed02[_0x6bbbee(0xcf)]);})();}catch(_0x101052){logger[_0x589f2b(0x160)](_0x589f2b(0x16f)+_0x101052);}try{if(this[_0x589f2b(0x18e)]['accessibilityScanStarted']&&globals[_0x589f2b(0xee)](_0x531554[_0x589f2b(0xdc)])){logger['info'](_0x531554[_0x589f2b(0x11f)]);const _0x156810={};_0x156810[_0x589f2b(0xc4)]=this['currentTest'][_0x589f2b(0x135)],_0x156810[_0x589f2b(0x186)]=process['env'][testHubConstants[_0x589f2b(0x174)][_0x589f2b(0xea)]],_0x156810[_0x589f2b(0xe2)]=process[_0x589f2b(0x140)][testHubConstants['ENV_VAR'][_0x589f2b(0x129)]];const _0x2130ce=_0x156810;logger[_0x589f2b(0x160)](_0x589f2b(0x133)+JSON['stringify'](_0x2130ce));if(globals['getGlobal'](_0x531554[_0x589f2b(0xfa)])){logger[_0x589f2b(0x160)](_0x531554[_0x589f2b(0x192)]);const _0x3d724e={};_0x3d724e[_0x589f2b(0x163)]=_0x531554[_0x589f2b(0x119)];const _0x34acc6=await PerformanceTester[_0x589f2b(0x13f)](PerformanceA11yEvents[_0x589f2b(0xff)],async()=>{const _0x169efa=_0x589f2b;return await accessibilityRetryHelper[_0x169efa(0x16e)](global[_0x169efa(0x181)][0x0],global['browserstackSessionName']);},_0x3d724e)();_0x34acc6?logger[_0x589f2b(0x160)](_0x531554[_0x589f2b(0x191)]):logger[_0x589f2b(0x14f)](_0x531554[_0x589f2b(0x105)]);}else logger[_0x589f2b(0x160)](_0x531554[_0x589f2b(0x123)]);const _0x17b9a8=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x589f2b(0xe7)],async()=>{const _0x2aad3e=_0x589f2b;return await accessibilityRetryHelper[_0x2aad3e(0xca)](global['__drivers'][0x0],_0x2130ce);})();_0x17b9a8?logger['debug'](_0x531554['AIoMj']):logger[_0x589f2b(0x14f)](_0x531554[_0x589f2b(0xd2)]),logger[_0x589f2b(0x117)](_0x531554['AlsLz']);}}catch(_0x3d24c0){logger[_0x589f2b(0x12c)](_0x589f2b(0x122)+this[_0x589f2b(0x18e)][_0x589f2b(0xd1)]()+_0x589f2b(0x147),_0x3d24c0);}try{try{if(_0x531554[_0x589f2b(0x15e)](shouldProcessEventForTesthub)){global[_0x589f2b(0x181)][0x0]&&await _0x531554[_0x589f2b(0x176)](sendPlatformDetails,global[_0x589f2b(0x181)][0x0],this['currentTest']?this[_0x589f2b(0x18e)]['testAnalyticsId']:null);if(_0x531554[_0x589f2b(0x18b)](isBrowserstackInfra)){PerformanceTester[_0x589f2b(0x136)](PerformanceO11yEvents[_0x589f2b(0x118)]);const _0x1bd8df=_0x589f2b(0xfd)+Date['now']();await _0x531554[_0x589f2b(0x151)](_0x3f0ab9,JSON[_0x589f2b(0x158)](_0x1bd8df),_0x531554[_0x589f2b(0x15b)]),PerformanceTester['end'](PerformanceO11yEvents[_0x589f2b(0x118)]);}}}catch(_0x42d17a){logger[_0x589f2b(0x160)]('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x42d17a),PerformanceTester['end'](PerformanceO11yEvents[_0x589f2b(0x118)],![],_0x42d17a);}_0x531554[_0x589f2b(0xf3)](global[_0x589f2b(0x181)][0x0][_0x589f2b(0x114)],0x0)&&await global[_0x589f2b(0xed)]();}catch(_0x3597a7){logger[_0x589f2b(0x160)](_0x589f2b(0xeb)+_0x3597a7);}_0x531554[_0x589f2b(0xd6)](_0x3d68c9);})[_0x2a15fe(0xe1)](()=>{const _0x314d57=_0x2a15fe;_0x531554[_0x314d57(0xd6)](_0xa0276f);});},{'platform':_0x461e59[_0x21e848(0xda)](nestedKeyValue,global['__platformCaps'],[_0x461e59[_0x21e848(0x14a)]]),'hookType':_0x461e59['VMrMU']})();},'afterAll'(_0x48981d){const _0x458c7d=a43_0xea509f,_0x191569={'pzVMR':function(_0x431505){return _0x431505();},'eyGMJ':function(_0x13597b){return _0x13597b();},'KCIXJ':_0x458c7d(0xc7),'SZGFS':function(_0x260eb7,_0x550f8c,_0x3af7bd){return _0x260eb7(_0x550f8c,_0x3af7bd);},'QOORq':'index','coprK':_0x458c7d(0x116)},_0x4c87d5='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x191569[_0x458c7d(0x169)]]),PerformanceTester[_0x458c7d(0x13f)](PerformanceSdkEvents[_0x458c7d(0xf9)],()=>{const _0x5f00f7=_0x458c7d,_0x3f4bdc={'OUBCN':function(_0xec67ec){const _0x4a7e6b=a43_0xfb3e;return _0x191569[_0x4a7e6b(0x188)](_0xec67ec);},'rHZpL':function(_0x40fcd1){const _0x19241e=a43_0xfb3e;return _0x191569[_0x19241e(0xf6)](_0x40fcd1);}};new Promise(async _0x482b7c=>{const _0x597bbc=a43_0xfb3e;await global['driverCleanup'](),_0x3f4bdc[_0x597bbc(0x143)](_0x482b7c);})[_0x5f00f7(0xe1)]()[_0x5f00f7(0x161)](()=>{const _0x33a826=_0x5f00f7;_0x3f4bdc[_0x33a826(0x162)](_0x48981d);});},{'platform':_0x191569['SZGFS'](nestedKeyValue,global[_0x458c7d(0x127)],[_0x191569[_0x458c7d(0x106)]]),'hookType':_0x191569[_0x458c7d(0x189)]})();}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a40_0x20c97c=a40_0x5569;(function(_0x127d3b,_0xf17243){const _0xc7dddd=a40_0x5569,_0x520046=_0x127d3b();while(!![]){try{const _0x445671=-parseInt(_0xc7dddd(0xe3))/0x1*(-parseInt(_0xc7dddd(0xd3))/0x2)+-parseInt(_0xc7dddd(0xa3))/0x3+-parseInt(_0xc7dddd(0x8c))/0x4+parseInt(_0xc7dddd(0xd9))/0x5+-parseInt(_0xc7dddd(0xd5))/0x6+parseInt(_0xc7dddd(0xb6))/0x7+parseInt(_0xc7dddd(0x87))/0x8;if(_0x445671===_0xf17243)break;else _0x520046['push'](_0x520046['shift']());}catch(_0x14cec5){_0x520046['push'](_0x520046['shift']());}}}(a40_0x39f3,0xabfdc));const path=require(a40_0x20c97c(0xae)),Module=require(a40_0x20c97c(0xa0)),{fork}=require(a40_0x20c97c(0xe1)),logger=require(a40_0x20c97c(0x76))[a40_0x20c97c(0xb1)],helper=require('../../helpers/helper'),TestHubHandler=require(a40_0x20c97c(0x9f)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{FRAMEWORKS}=require(a40_0x20c97c(0xcd)),{printBuildLink}=require(a40_0x20c97c(0xc5)),BrowserstackCLI=require(a40_0x20c97c(0xd6)),CLIUtils=require(a40_0x20c97c(0x7a));function registerBrowserStackReporter(){const _0x1e6573=a40_0x20c97c,_0x59d390={};_0x59d390[_0x1e6573(0x83)]=function(_0x1565fb,_0x43ad63){return _0x1565fb===_0x43ad63;},_0x59d390[_0x1e6573(0xb0)]=_0x1e6573(0x94),_0x59d390[_0x1e6573(0xe6)]=_0x1e6573(0xb7),_0x59d390[_0x1e6573(0x89)]='index.js';const _0x17530a=_0x59d390,_0x293b66=path[_0x1e6573(0xdb)](__dirname,_0x17530a[_0x1e6573(0xe6)],_0x17530a[_0x1e6573(0x89)]),_0x3231d4=Module[_0x1e6573(0xe8)];Module[_0x1e6573(0xe8)]=function(_0x2e3fdd,_0x4d7c61,_0x1281df,_0x1b04f6){const _0x1488e8=_0x1e6573;if(_0x17530a[_0x1488e8(0x83)](_0x2e3fdd,_0x17530a[_0x1488e8(0xb0)]))return _0x293b66;return _0x3231d4[_0x1488e8(0xa5)](this,_0x2e3fdd,_0x4d7c61,_0x1281df,_0x1b04f6);};}function injectReporterIntoArgs(_0x2d9b87){const _0x53a144=a40_0x20c97c,_0x46a11a={};_0x46a11a[_0x53a144(0xc7)]=function(_0x15a8da,_0x5a5127){return _0x15a8da<_0x5a5127;},_0x46a11a[_0x53a144(0x9c)]=function(_0x5be96d,_0xdaf946){return _0x5be96d===_0xdaf946;},_0x46a11a[_0x53a144(0x90)]=function(_0x7adf68,_0x343749){return _0x7adf68===_0x343749;},_0x46a11a[_0x53a144(0xd0)]=_0x53a144(0xa6),_0x46a11a['jvKND']=function(_0x3355fc,_0x211929){return _0x3355fc+_0x211929;},_0x46a11a[_0x53a144(0xca)]=function(_0x3b1c98,_0x438741){return _0x3b1c98===_0x438741;},_0x46a11a[_0x53a144(0x85)]=function(_0x120c05,_0x283ad9){return _0x120c05+_0x283ad9;},_0x46a11a['fsLdm']=_0x53a144(0xe2),_0x46a11a[_0x53a144(0xd8)]=function(_0x4a1fcb,_0x292cb2){return _0x4a1fcb+_0x292cb2;},_0x46a11a[_0x53a144(0xc1)]=_0x53a144(0xd4),_0x46a11a[_0x53a144(0xa2)]=_0x53a144(0x9a);const _0x405761=_0x46a11a,_0x5a736f=_0x2d9b87[_0x53a144(0x8f)]();for(let _0x4db81e=0x0;_0x405761[_0x53a144(0xc7)](_0x4db81e,_0x5a736f['length']);_0x4db81e++){if(_0x405761[_0x53a144(0x9c)](_0x5a736f[_0x4db81e],'-r')||_0x405761[_0x53a144(0x90)](_0x5a736f[_0x4db81e],_0x405761[_0x53a144(0xd0)]))return _0x5a736f[_0x405761[_0x53a144(0xaa)](_0x4db81e,0x1)]&&_0x405761[_0x53a144(0xca)](_0x5a736f[_0x405761['gqQXk'](_0x4db81e,0x1)][_0x53a144(0xa1)](_0x405761[_0x53a144(0x96)]),-0x1)&&(_0x5a736f[_0x405761[_0x53a144(0xd8)](_0x4db81e,0x1)]+=_0x405761[_0x53a144(0xc1)]),_0x5a736f;}return _0x5a736f['push']('-r',_0x405761['rknEV']),_0x5a736f;}function runNewmanCLI(_0x6b9480){const _0x5165bb=a40_0x20c97c,_0x23f9a8={'LJxFF':function(_0x248ebb,_0x5792fa){return _0x248ebb>_0x5792fa;},'AsjYK':function(_0x1aa853,_0x58332a){return _0x1aa853(_0x58332a);},'RFTiR':function(_0xd1b264,_0x5ce852,_0x52ec61){return _0xd1b264(_0x5ce852,_0x52ec61);},'RHsqO':_0x5165bb(0x8a),'UdMRk':_0x5165bb(0x79),'piZSL':function(_0x212c5c,_0x56a917){return _0x212c5c(_0x56a917);},'KKCPW':_0x5165bb(0xa0),'FJZLn':'package.json','qrtdx':function(_0x1ec02c,_0x43b622){return _0x1ec02c(_0x43b622);},'wmwoS':'newman/bin/newman','PSxKg':_0x5165bb(0xd7),'vFqIN':function(_0x3a91ee,_0x2f81e5){return _0x3a91ee+_0x2f81e5;},'lUrwi':'Newman\x20CLI\x20not\x20found:\x20','dDpOY':function(_0x5c8e49,_0xcdfe34){return _0x5c8e49(_0xcdfe34);}};return new Promise(_0x4089d0=>{const _0x23a14b=_0x5165bb,_0x27ffbf={'ORqlT':function(_0x1adf35,_0x96c9a7){const _0x81fe5b=a40_0x5569;return _0x23f9a8[_0x81fe5b(0xc8)](_0x1adf35,_0x96c9a7);},'nDjEq':function(_0x5a1245,_0x39c337){const _0x56c250=a40_0x5569;return _0x23f9a8[_0x56c250(0xcc)](_0x5a1245,_0x39c337);},'VGczo':function(_0x1bb69b,_0x396869,_0x3ea1c3){return _0x23f9a8['RFTiR'](_0x1bb69b,_0x396869,_0x3ea1c3);}};let _0x386090;try{_0x386090=helper[_0x23a14b(0xdf)](_0x23f9a8[_0x23a14b(0xbf)],_0x23f9a8[_0x23a14b(0xbf)]);}catch(_0x549805){return logger[_0x23a14b(0xc0)](_0x23f9a8[_0x23a14b(0xcf)]),_0x23f9a8[_0x23a14b(0xcc)](_0x4089d0,0x1);}const _0x432c12=_0x386090[_0x23a14b(0x7c)];_0x386090[_0x23a14b(0x7c)]=function(_0x483459,_0xb45d28){const _0x424e82=_0x23a14b;return _0x386090[_0x424e82(0x7c)]=_0x432c12,_0x432c12[_0x424e82(0xa5)](_0x386090,_0x483459,(_0x574736,_0x540b37)=>{const _0x595a3b=_0x424e82,_0x5a6223=_0x540b37&&_0x540b37['run']&&(_0x540b37['run']['error']||_0x540b37[_0x595a3b(0x7c)]['failures']&&_0x27ffbf['ORqlT'](_0x540b37[_0x595a3b(0x7c)][_0x595a3b(0x8e)]['length'],0x0));_0x27ffbf[_0x595a3b(0xea)](_0x4089d0,_0x5a6223?0x1:0x0),_0xb45d28&&_0x27ffbf['VGczo'](_0xb45d28,_0x574736,_0x540b37);});};try{const _0x313e98=_0x23f9a8['piZSL'](require,_0x23f9a8[_0x23a14b(0x7b)])[_0x23a14b(0xa9)](path[_0x23a14b(0xdb)](process[_0x23a14b(0x80)](),_0x23f9a8[_0x23a14b(0x99)]));_0x23f9a8[_0x23a14b(0xce)](_0x313e98,_0x23f9a8[_0x23a14b(0xac)])([_0x23f9a8[_0x23a14b(0x8b)],_0x23f9a8[_0x23a14b(0xbf)]][_0x23a14b(0xaf)](_0x6b9480));}catch(_0x1d89e1){_0x386090[_0x23a14b(0x7c)]=_0x432c12,logger[_0x23a14b(0xc0)](_0x23f9a8['vFqIN'](_0x23f9a8['lUrwi'],_0x1d89e1[_0x23a14b(0x7e)])),_0x23f9a8[_0x23a14b(0xb8)](_0x4089d0,0x1);}});}function a40_0x5569(_0x28f544,_0x48501a){const _0x39f3ea=a40_0x39f3();return a40_0x5569=function(_0x5569a2,_0x6e2c46){_0x5569a2=_0x5569a2-0x74;let _0x5186e1=_0x39f3ea[_0x5569a2];return _0x5186e1;},a40_0x5569(_0x28f544,_0x48501a);}function runNewmanScript(_0x30fa95,_0x500918){const _0x5e0768=a40_0x20c97c,_0x5d33bf={'YlVMx':function(_0x1b18a4,_0xc80a34){return _0x1b18a4(_0xc80a34);},'HqeOy':function(_0x20def3,_0x8c6e55){return _0x20def3||_0x8c6e55;},'XgbRP':function(_0x52d81a,_0x2ebe91,_0x3e2f74,_0x41f5a8){return _0x52d81a(_0x2ebe91,_0x3e2f74,_0x41f5a8);},'mzvZV':_0x5e0768(0xbd),'DsEHQ':function(_0x5fc8d7,_0x16460d){return _0x5fc8d7(_0x16460d);},'EPHtH':function(_0x5ba07d,_0x5de91a){return _0x5ba07d||_0x5de91a;},'jEJLt':'inherit','dfDne':_0x5e0768(0xe7)};return new Promise(function(_0x176d46){const _0x4a0545=_0x5e0768,_0x4634a5=_0x5d33bf[_0x4a0545(0xa7)](fork,path[_0x4a0545(0xdb)](__dirname,_0x5d33bf[_0x4a0545(0xab)]),[_0x30fa95,_0x5d33bf[_0x4a0545(0xe4)](String,_0x5d33bf[_0x4a0545(0x9e)](_0x500918,0x0))],{'stdio':_0x5d33bf[_0x4a0545(0x98)],'env':Object[_0x4a0545(0xd2)]({},process['env'])});_0x4634a5['on'](_0x5d33bf[_0x4a0545(0xc3)],function(_0x184ebc){const _0x104495=_0x4a0545;_0x5d33bf[_0x104495(0xe9)](_0x176d46,_0x5d33bf[_0x104495(0x78)](_0x184ebc,0x0));});});}function hasO11yBuild(){const _0x3d3f8e=a40_0x20c97c,_0x43f14a={};_0x43f14a[_0x3d3f8e(0x8d)]=function(_0x5205aa,_0x2c9d73){return _0x5205aa!==_0x2c9d73;},_0x43f14a['ekptU']=_0x3d3f8e(0xb3);const _0x520f81=_0x43f14a;return!!(BrowserstackCLI[_0x3d3f8e(0x9b)]||process[_0x3d3f8e(0xba)][_0x3d3f8e(0x86)]&&_0x520f81[_0x3d3f8e(0x8d)](process['env'][_0x3d3f8e(0x86)],_0x520f81[_0x3d3f8e(0xda)]));}function runWithoutObservability(_0x50ac6f,_0x76083a){const _0x1442cc=a40_0x20c97c,_0x12c3ea={'ghKYv':function(_0x28538b,_0xb5636d){return _0x28538b(_0xb5636d);},'OZYiP':function(_0x2abceb,_0xa68874){return _0x2abceb(_0xa68874);}};if(_0x50ac6f)return _0x12c3ea[_0x1442cc(0xdd)](require,path[_0x1442cc(0xd1)](_0x50ac6f)),0x0;return _0x12c3ea[_0x1442cc(0x97)](runNewmanCLI,_0x76083a);}module[a40_0x20c97c(0xa8)]=async function(_0xa31af,_0x34cb61,_0x31b003){const _0x342a86=a40_0x20c97c,_0x318b4f={'IrWiL':'.js','mNyBT':function(_0x115d78,_0x5907fb){return _0x115d78===_0x5907fb;},'ZhSul':function(_0x34b556,_0x483721){return _0x34b556===_0x483721;},'UVqdB':'false','JDxKg':function(_0x4bf689,_0x15c58e,_0x3c0182){return _0x4bf689(_0x15c58e,_0x3c0182);},'heCAW':function(_0x35efaa,_0x37a63a){return _0x35efaa!=_0x37a63a;},'bgAhb':_0x342a86(0xb2),'iXjPT':_0x342a86(0x8a),'IRjJg':function(_0x2e3422,_0xfff1d5){return _0x2e3422+_0xfff1d5;},'sJKvZ':_0x342a86(0xad),'NRZHE':'Failed\x20to\x20launch\x20build:\x20','DcsMF':function(_0x53c4b8){return _0x53c4b8();},'sgvas':_0x342a86(0xbb),'oIMqE':function(_0x30e2ed,_0x591ad2,_0x48bd82){return _0x30e2ed(_0x591ad2,_0x48bd82);},'wbwVq':function(_0x1e946b,_0x137639){return _0x1e946b(_0x137639);},'vcULo':function(_0x499c1a){return _0x499c1a();},'HQHMM':_0x342a86(0x82)},_0x333012=_0x34cb61['slice'](0x1),_0x3e5f7c=_0x333012[0x0]&&_0x333012[0x0][_0x342a86(0x93)](_0x318b4f['IrWiL'])?_0x333012[0x0]:null;if(!_0x31b003['config']||_0x318b4f['mNyBT'](_0x31b003[_0x342a86(0x91)][_0x342a86(0xbe)],![])||_0x318b4f[_0x342a86(0xe0)](_0x31b003['config'][_0x342a86(0xbe)],_0x318b4f['UVqdB'])){process[_0x342a86(0x7d)]=await _0x318b4f['JDxKg'](runWithoutObservability,_0x3e5f7c,_0x333012)||0x0;return;}process['env'][_0x342a86(0xb4)]=_0x318b4f[_0x342a86(0xc6)],process[_0x342a86(0xba)][_0x342a86(0x75)]=_0x318b4f[_0x342a86(0xc6)],process['env'][_0x342a86(0xbc)]=_0x318b4f[_0x342a86(0xcb)](_0x31b003['config'][_0x342a86(0xbe)],null)?_0x31b003['config'][_0x342a86(0xbe)]:_0x318b4f[_0x342a86(0x74)],CLIUtils[_0x342a86(0x84)](_0x318b4f[_0x342a86(0xc4)],_0x318b4f[_0x342a86(0xc4)]),BrowserstackCLI[_0x342a86(0xa4)]()['setBrowserstackConfig'](_0x31b003[_0x342a86(0x91)],_0x31b003[_0x342a86(0xde)],_0x31b003['cliConfig']);try{await BrowserstackCLI['getInstance']()[_0x342a86(0xc2)]();}catch(_0x34da76){logger['error'](_0x318b4f[_0x342a86(0x81)](_0x318b4f[_0x342a86(0xb9)],_0x34da76[_0x342a86(0x7e)]||_0x34da76));}if(!BrowserstackCLI[_0x342a86(0xa4)]()[_0x342a86(0x9d)]())try{await TestHubHandler['launchBuild'](FRAMEWORKS['NEWMAN'],_0x31b003);}catch(_0x509e30){logger[_0x342a86(0xc0)](_0x318b4f[_0x342a86(0x81)](_0x318b4f['NRZHE'],_0x509e30[_0x342a86(0x7e)]||_0x509e30));}!_0x318b4f[_0x342a86(0xc9)](hasO11yBuild)&&logger[_0x342a86(0xb5)](_0x318b4f[_0x342a86(0x95)]);_0x318b4f[_0x342a86(0xc9)](registerBrowserStackReporter);let _0x535312;_0x3e5f7c?_0x535312=await _0x318b4f[_0x342a86(0x7f)](runNewmanScript,_0x3e5f7c,_0x31b003[_0x342a86(0x91)]['parallelsPerPlatform']):_0x535312=await _0x318b4f[_0x342a86(0xdc)](runNewmanCLI,_0x318b4f[_0x342a86(0xdc)](injectReporterIntoArgs,_0x333012));try{await TestHubHandler[_0x342a86(0xe5)]();}catch(_0x4a8455){}try{await BrowserstackCLI[_0x342a86(0xa4)]()[_0x342a86(0xe5)]();}catch(_0x5811a4){}try{await RequestQueueHandler[_0x342a86(0xa4)]()[_0x342a86(0x88)]();}catch(_0x1a9810){}if(_0x318b4f[_0x342a86(0xc9)](hasO11yBuild))try{_0x318b4f[_0x342a86(0x77)](printBuildLink);}catch(_0x199c53){}else logger[_0x342a86(0xb5)](_0x318b4f[_0x342a86(0x92)]);process['exitCode']=_0x535312;};function a40_0x39f3(){const _0x2eef70=['testObservability','RHsqO','error','gxQGY','bootstrap','dfDne','iXjPT','../../helpers/test-observability/utils','UVqdB','frmeq','LJxFF','DcsMF','xRQtE','heCAW','AsjYK','../../helpers/test-observability/constants','qrtdx','UdMRk','uDYyZ','resolve','assign','171082MTHMrI',',browserstack','2693706BIvkbK','../v2/browserstackCLI','node','nPNUt','3154155pBYUfY','ekptU','join','wbwVq','ghKYv','configPath','requireModule','ZhSul','child_process','browserstack','1jgBpgL','DsEHQ','stop','CqFjm','close','_resolveFilename','YlVMx','nDjEq','bgAhb','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','../../helpers/logger','vcULo','HqeOy','Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','../v2/cliUtils','KKCPW','run','exitCode','message','oIMqE','cwd','IRjJg','[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','PZwOa','setFrameworkDetail','gqQXk','BROWSERSTACK_TESTHUB_JWT','12393632MbgaRI','shutdown','jiYDT','newman','PSxKg','4840044Clevgc','JblCa','failures','slice','DygHl','config','HQHMM','endsWith','newman-reporter-browserstack','sgvas','fsLdm','OZYiP','jEJLt','FJZLn','cli,browserstack','O11yHashedID','QOkmQ','isRunning','EPHtH','../../helpers/testhub/testhubHandler','module','indexOf','rknEV','2306748uDGaGF','getInstance','call','--reporters','XgbRP','exports','createRequire','jvKND','mzvZV','wmwoS','Failed\x20to\x20bootstrap\x20CLI:\x20','path','concat','WOSuT','winstonLogger','true','null','BROWSERSTACK_AUTOMATION','warn','6067446SHPRuB','reporter','dDpOY','sJKvZ','env','[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','BROWSERSTACK_TEST_OBSERVABILITY_YML','scriptRunner.js'];a40_0x39f3=function(){return _0x2eef70;};return a40_0x39f3();}
2
+ 'use strict';const a44_0x29f5df=a44_0x297a;(function(_0x455870,_0x2749d7){const _0x46f11f=a44_0x297a,_0x2904fd=_0x455870();while(!![]){try{const _0x245e71=-parseInt(_0x46f11f(0x20f))/0x1*(-parseInt(_0x46f11f(0x1cb))/0x2)+parseInt(_0x46f11f(0x218))/0x3+-parseInt(_0x46f11f(0x231))/0x4*(parseInt(_0x46f11f(0x1fb))/0x5)+parseInt(_0x46f11f(0x1d3))/0x6+-parseInt(_0x46f11f(0x211))/0x7*(parseInt(_0x46f11f(0x1cd))/0x8)+-parseInt(_0x46f11f(0x234))/0x9+parseInt(_0x46f11f(0x1fc))/0xa;if(_0x245e71===_0x2749d7)break;else _0x2904fd['push'](_0x2904fd['shift']());}catch(_0x3c9d0c){_0x2904fd['push'](_0x2904fd['shift']());}}}(a44_0xe357,0x73541));function a44_0x297a(_0x632a14,_0x11fc8c){const _0xe357cd=a44_0xe357();return a44_0x297a=function(_0x297acb,_0x485e6d){_0x297acb=_0x297acb-0x1c5;let _0x51c5fc=_0xe357cd[_0x297acb];return _0x51c5fc;},a44_0x297a(_0x632a14,_0x11fc8c);}const path=require(a44_0x29f5df(0x1f9)),Module=require(a44_0x29f5df(0x227)),{fork}=require(a44_0x29f5df(0x220)),logger=require('../../helpers/logger')[a44_0x29f5df(0x1c8)],helper=require('../../helpers/helper'),TestHubHandler=require(a44_0x29f5df(0x210)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{FRAMEWORKS}=require(a44_0x29f5df(0x228)),{printBuildLink}=require('../../helpers/test-observability/utils'),BrowserstackCLI=require('../v2/browserstackCLI'),CLIUtils=require(a44_0x29f5df(0x233));function registerBrowserStackReporter(){const _0x29ddb7=a44_0x29f5df,_0x441a79={};_0x441a79[_0x29ddb7(0x203)]=function(_0x4896d8,_0x3eb7e5){return _0x4896d8===_0x3eb7e5;},_0x441a79[_0x29ddb7(0x1f1)]=_0x29ddb7(0x1f2),_0x441a79[_0x29ddb7(0x209)]=_0x29ddb7(0x22e),_0x441a79[_0x29ddb7(0x1ce)]=_0x29ddb7(0x217);const _0x581b20=_0x441a79,_0x515124=path[_0x29ddb7(0x1da)](__dirname,_0x581b20['Mmslu'],_0x581b20['Vjsat']),_0x4cb63a=Module[_0x29ddb7(0x20c)];Module[_0x29ddb7(0x20c)]=function(_0x2253df,_0x2ad97d,_0x369083,_0x52eabc){if(_0x581b20['VBPgO'](_0x2253df,_0x581b20['kzxLv']))return _0x515124;return _0x4cb63a['call'](this,_0x2253df,_0x2ad97d,_0x369083,_0x52eabc);};}function injectReporterIntoArgs(_0x9669d9){const _0x3fc636=a44_0x29f5df,_0x6b06df={};_0x6b06df[_0x3fc636(0x214)]=function(_0x3be190,_0x58c8bf){return _0x3be190<_0x58c8bf;},_0x6b06df[_0x3fc636(0x1e5)]=function(_0x256a5a,_0x4bf6ed){return _0x256a5a===_0x4bf6ed;},_0x6b06df['uSwIJ']=function(_0x1fce5e,_0x4f0337){return _0x1fce5e===_0x4f0337;},_0x6b06df[_0x3fc636(0x1f5)]=_0x3fc636(0x22d),_0x6b06df['gwQOS']=function(_0x117a51,_0x4399d3){return _0x117a51+_0x4399d3;},_0x6b06df['lLceH']=function(_0x58af12,_0x2bf43e){return _0x58af12===_0x2bf43e;},_0x6b06df[_0x3fc636(0x1cf)]=function(_0x2beb9a,_0x52187a){return _0x2beb9a+_0x52187a;},_0x6b06df[_0x3fc636(0x224)]='browserstack',_0x6b06df[_0x3fc636(0x20a)]=',browserstack',_0x6b06df[_0x3fc636(0x219)]=_0x3fc636(0x1d5);const _0x562091=_0x6b06df,_0x29c448=_0x9669d9[_0x3fc636(0x22b)]();for(let _0x5a9da0=0x0;_0x562091[_0x3fc636(0x214)](_0x5a9da0,_0x29c448[_0x3fc636(0x221)]);_0x5a9da0++){if(_0x562091['BJRkb'](_0x29c448[_0x5a9da0],'-r')||_0x562091['uSwIJ'](_0x29c448[_0x5a9da0],_0x562091[_0x3fc636(0x1f5)]))return _0x29c448[_0x562091[_0x3fc636(0x1fe)](_0x5a9da0,0x1)]&&_0x562091[_0x3fc636(0x213)](_0x29c448[_0x562091[_0x3fc636(0x1cf)](_0x5a9da0,0x1)]['indexOf'](_0x562091['pomtF']),-0x1)&&(_0x29c448[_0x562091[_0x3fc636(0x1cf)](_0x5a9da0,0x1)]+=_0x562091[_0x3fc636(0x20a)]),_0x29c448;}return _0x29c448[_0x3fc636(0x1eb)]('-r',_0x562091[_0x3fc636(0x219)]),_0x29c448;}function runNewmanCLI(_0x30eeca){const _0x238a61=a44_0x29f5df,_0x5d45bf={'DuNoh':function(_0x23c051,_0x46118e){return _0x23c051>_0x46118e;},'BzcAE':function(_0x30e679,_0x177fb4){return _0x30e679(_0x177fb4);},'fMAiE':function(_0x361b47,_0x39139b,_0x13ff33){return _0x361b47(_0x39139b,_0x13ff33);},'hPpBQ':_0x238a61(0x232),'fcppq':_0x238a61(0x1d2),'sbHlq':_0x238a61(0x227),'zdqAE':'package.json','OXFAt':_0x238a61(0x1d0),'xezIA':_0x238a61(0x1c6),'ovudB':function(_0x16c9e6,_0x47e0dd){return _0x16c9e6+_0x47e0dd;},'fUBqm':_0x238a61(0x230),'WHBUE':function(_0x45667d,_0x3adc9f){return _0x45667d(_0x3adc9f);}};return new Promise(_0x489ef1=>{const _0x8557af=_0x238a61,_0x3ded9b={'tqqAC':function(_0x2d21f6,_0x5ec66f){const _0x1fbdea=a44_0x297a;return _0x5d45bf[_0x1fbdea(0x1dc)](_0x2d21f6,_0x5ec66f);},'oSgQk':function(_0x5554ba,_0x4bb8d6){const _0x338546=a44_0x297a;return _0x5d45bf[_0x338546(0x1e3)](_0x5554ba,_0x4bb8d6);},'SwCxE':function(_0x125650,_0x1fbaaf,_0x4e679e){const _0x2c0a95=a44_0x297a;return _0x5d45bf[_0x2c0a95(0x1ea)](_0x125650,_0x1fbaaf,_0x4e679e);}};let _0x2466e4;try{_0x2466e4=helper[_0x8557af(0x223)](_0x5d45bf[_0x8557af(0x229)],_0x5d45bf[_0x8557af(0x229)]);}catch(_0x5ea77b){return logger['error'](_0x5d45bf['fcppq']),_0x5d45bf[_0x8557af(0x1e3)](_0x489ef1,0x1);}const _0x41edf3=_0x2466e4[_0x8557af(0x1e2)];_0x2466e4['run']=function(_0xb23c60,_0x4bf2b){const _0x18acec=_0x8557af;return _0x2466e4[_0x18acec(0x1e2)]=_0x41edf3,_0x41edf3['call'](_0x2466e4,_0xb23c60,(_0x38c778,_0x5ec754)=>{const _0x693207=_0x18acec,_0x4313eb=_0x5ec754&&_0x5ec754[_0x693207(0x1e2)]&&(_0x5ec754[_0x693207(0x1e2)][_0x693207(0x1d9)]||_0x5ec754[_0x693207(0x1e2)][_0x693207(0x1c5)]&&_0x3ded9b[_0x693207(0x21c)](_0x5ec754[_0x693207(0x1e2)][_0x693207(0x1c5)]['length'],0x0));_0x3ded9b[_0x693207(0x1f3)](_0x489ef1,_0x4313eb?0x1:0x0),_0x4bf2b&&_0x3ded9b['SwCxE'](_0x4bf2b,_0x38c778,_0x5ec754);});};try{const _0x3c4789=_0x5d45bf[_0x8557af(0x1e3)](require,_0x5d45bf['sbHlq'])[_0x8557af(0x1c9)](path[_0x8557af(0x1da)](process[_0x8557af(0x1e6)](),_0x5d45bf[_0x8557af(0x1d1)]));_0x5d45bf[_0x8557af(0x1e3)](_0x3c4789,_0x5d45bf[_0x8557af(0x206)])([_0x5d45bf[_0x8557af(0x22a)],_0x5d45bf['hPpBQ']]['concat'](_0x30eeca));}catch(_0x3794b0){_0x2466e4[_0x8557af(0x1e2)]=_0x41edf3,logger[_0x8557af(0x1d9)](_0x5d45bf[_0x8557af(0x1f7)](_0x5d45bf[_0x8557af(0x1f4)],_0x3794b0[_0x8557af(0x20b)])),_0x5d45bf[_0x8557af(0x22f)](_0x489ef1,0x1);}});}function runNewmanScript(_0x4efd5c,_0x291a79){const _0x2ff9f0=a44_0x29f5df,_0x59e7d3={'iFxoF':function(_0x57b1cc,_0x56473b){return _0x57b1cc(_0x56473b);},'QCNDB':function(_0x153747,_0x12529a){return _0x153747||_0x12529a;},'vRRgz':function(_0x45fc43,_0x47604f,_0x5cf1e1,_0x334c25){return _0x45fc43(_0x47604f,_0x5cf1e1,_0x334c25);},'nwZTM':'scriptRunner.js','tmLZR':function(_0x5451e7,_0x7f922c){return _0x5451e7(_0x7f922c);},'cAfCQ':'inherit','wBGFf':_0x2ff9f0(0x1db)};return new Promise(function(_0x44e619){const _0x2d6c4c=_0x2ff9f0,_0x219e9d=_0x59e7d3[_0x2d6c4c(0x20d)](fork,path[_0x2d6c4c(0x1da)](__dirname,_0x59e7d3['nwZTM']),[_0x4efd5c,_0x59e7d3[_0x2d6c4c(0x1fd)](String,_0x59e7d3['QCNDB'](_0x291a79,0x0))],{'stdio':_0x59e7d3[_0x2d6c4c(0x1c7)],'env':Object[_0x2d6c4c(0x1e1)]({},process[_0x2d6c4c(0x1ed)])});_0x219e9d['on'](_0x59e7d3['wBGFf'],function(_0x479d13){const _0x3839ff=_0x2d6c4c;_0x59e7d3['iFxoF'](_0x44e619,_0x59e7d3[_0x3839ff(0x1ef)](_0x479d13,0x0));});});}function hasO11yBuild(){const _0x2cea6a=a44_0x29f5df,_0x49699e={};_0x49699e[_0x2cea6a(0x1ee)]=function(_0x356f73,_0x4c9fdd){return _0x356f73!==_0x4c9fdd;},_0x49699e['HDaNf']=_0x2cea6a(0x202);const _0x5465b5=_0x49699e;return!!(BrowserstackCLI[_0x2cea6a(0x201)]||process[_0x2cea6a(0x1ed)]['BROWSERSTACK_TESTHUB_JWT']&&_0x5465b5[_0x2cea6a(0x1ee)](process[_0x2cea6a(0x1ed)][_0x2cea6a(0x21f)],_0x5465b5[_0x2cea6a(0x1d6)]));}function runWithoutObservability(_0x757691,_0x1459c7){const _0x2ff0f2=a44_0x29f5df,_0x2f6c5c={'CdQoK':function(_0x50c09f,_0x38a3b9){return _0x50c09f(_0x38a3b9);}};if(_0x757691)return _0x2f6c5c[_0x2ff0f2(0x1d7)](require,path[_0x2ff0f2(0x215)](_0x757691)),0x0;return _0x2f6c5c['CdQoK'](runNewmanCLI,_0x1459c7);}module[a44_0x29f5df(0x22c)]=async function(_0x35eff8,_0x319c82,_0x5b403e){const _0x291354=a44_0x29f5df,_0x5f5790={'sFmKi':_0x291354(0x1f0),'BGHEY':function(_0x1c6fd7,_0x219ec4){return _0x1c6fd7===_0x219ec4;},'fueed':function(_0x2889c4,_0x5c1586){return _0x2889c4===_0x5c1586;},'rWCwI':'false','oPvTb':function(_0xa76a63,_0x846f21,_0x41e2dd){return _0xa76a63(_0x846f21,_0x41e2dd);},'rzPDL':function(_0x5b6a18,_0x470b2d){return _0x5b6a18!=_0x470b2d;},'YiCWl':_0x291354(0x1df),'ZptBY':_0x291354(0x232),'XGomD':function(_0x357985,_0x3c50fe){return _0x357985+_0x3c50fe;},'avwGz':_0x291354(0x1ff),'VLsNi':function(_0x548ff6,_0xc2fe35){return _0x548ff6+_0xc2fe35;},'rmZTP':'Failed\x20to\x20launch\x20build:\x20','HxrYz':function(_0x481ea7){return _0x481ea7();},'rvsVp':'[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','wrIyU':function(_0x419cf8,_0x58d8c7,_0x34ad62){return _0x419cf8(_0x58d8c7,_0x34ad62);},'HYDCa':function(_0x4a378e,_0x737410){return _0x4a378e(_0x737410);},'wGGdr':function(_0x386d75){return _0x386d75();},'DIfVH':_0x291354(0x1fa)},_0x357e14=_0x319c82[_0x291354(0x22b)](0x1),_0x5f2fb7=_0x357e14[0x0]&&_0x357e14[0x0][_0x291354(0x20e)](_0x5f5790['sFmKi'])?_0x357e14[0x0]:null;if(!_0x5b403e['config']||_0x5f5790[_0x291354(0x1d8)](_0x5b403e[_0x291354(0x1e4)][_0x291354(0x1e7)],![])||_0x5f5790[_0x291354(0x1e0)](_0x5b403e[_0x291354(0x1e4)]['testObservability'],_0x5f5790['rWCwI'])){process['exitCode']=await _0x5f5790['oPvTb'](runWithoutObservability,_0x5f2fb7,_0x357e14)||0x0;return;}process[_0x291354(0x1ed)][_0x291354(0x1cc)]=_0x5f5790[_0x291354(0x208)],process[_0x291354(0x1ed)][_0x291354(0x21e)]=_0x5f5790[_0x291354(0x208)],process[_0x291354(0x1ed)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x5f5790['rzPDL'](_0x5b403e[_0x291354(0x1e4)][_0x291354(0x1e7)],null)?_0x5b403e[_0x291354(0x1e4)]['testObservability']:_0x5f5790[_0x291354(0x1dd)],CLIUtils[_0x291354(0x1f6)](_0x5f5790['ZptBY'],_0x5f5790[_0x291354(0x207)]),BrowserstackCLI[_0x291354(0x1e9)]()[_0x291354(0x1ec)](_0x5b403e[_0x291354(0x1e4)],_0x5b403e[_0x291354(0x21d)],_0x5b403e['cliConfig']);try{await BrowserstackCLI[_0x291354(0x1e9)]()[_0x291354(0x205)]();}catch(_0x2811ab){logger['error'](_0x5f5790[_0x291354(0x212)](_0x5f5790[_0x291354(0x200)],_0x2811ab['message']||_0x2811ab));}if(!BrowserstackCLI[_0x291354(0x1e9)]()[_0x291354(0x216)]())try{await TestHubHandler[_0x291354(0x204)](FRAMEWORKS[_0x291354(0x1ca)],_0x5b403e);}catch(_0x17db88){logger[_0x291354(0x1d9)](_0x5f5790[_0x291354(0x21b)](_0x5f5790['rmZTP'],_0x17db88[_0x291354(0x20b)]||_0x17db88));}!_0x5f5790['HxrYz'](hasO11yBuild)&&logger[_0x291354(0x235)](_0x5f5790[_0x291354(0x1de)]);_0x5f5790[_0x291354(0x1e8)](registerBrowserStackReporter);let _0x5d1632;_0x5f2fb7?_0x5d1632=await _0x5f5790[_0x291354(0x21a)](runNewmanScript,_0x5f2fb7,_0x5b403e[_0x291354(0x1e4)][_0x291354(0x1f8)]):_0x5d1632=await _0x5f5790[_0x291354(0x226)](runNewmanCLI,_0x5f5790[_0x291354(0x226)](injectReporterIntoArgs,_0x357e14));try{await TestHubHandler[_0x291354(0x1d4)]();}catch(_0x3c2d59){}try{await BrowserstackCLI[_0x291354(0x1e9)]()['stop']();}catch(_0x485b17){}try{await RequestQueueHandler[_0x291354(0x1e9)]()[_0x291354(0x225)]();}catch(_0x1b3c4b){}if(_0x5f5790[_0x291354(0x222)](hasO11yBuild))try{_0x5f5790['HxrYz'](printBuildLink);}catch(_0x4a761d){}else logger[_0x291354(0x235)](_0x5f5790['DIfVH']);process['exitCode']=_0x5d1632;};function a44_0xe357(){const _0x32ed80=['tqqAC','configPath','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','BROWSERSTACK_TESTHUB_JWT','child_process','length','wGGdr','requireModule','pomtF','shutdown','HYDCa','module','../../helpers/test-observability/constants','hPpBQ','xezIA','slice','exports','--reporters','reporter','WHBUE','Newman\x20CLI\x20not\x20found:\x20','313756GmbsLS','newman','../v2/cliUtils','3774717foxRui','warn','failures','node','cAfCQ','winstonLogger','createRequire','NEWMAN','28fkjoOI','BROWSERSTACK_AUTOMATION','216sRLVkM','Vjsat','DvQGS','newman/bin/newman','zdqAE','Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','3015894QcZwdi','stop','cli,browserstack','HDaNf','CdQoK','BGHEY','error','join','close','DuNoh','YiCWl','rvsVp','true','fueed','assign','run','BzcAE','config','BJRkb','cwd','testObservability','HxrYz','getInstance','fMAiE','push','setBrowserstackConfig','env','DnjAb','QCNDB','.js','kzxLv','newman-reporter-browserstack','oSgQk','fUBqm','cctYH','setFrameworkDetail','ovudB','parallelsPerPlatform','path','[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','45LyhTNT','13122410AyeMRY','tmLZR','gwQOS','Failed\x20to\x20bootstrap\x20CLI:\x20','avwGz','O11yHashedID','null','VBPgO','launchBuild','bootstrap','OXFAt','ZptBY','rWCwI','Mmslu','DcFdi','message','_resolveFilename','vRRgz','endsWith','22223HGQgHH','../../helpers/testhub/testhubHandler','240947XwegRa','XGomD','lLceH','OUPTE','resolve','isRunning','index.js','1203312uJMwOj','ceIvj','wrIyU','VLsNi'];a44_0xe357=function(){return _0x32ed80;};return a44_0xe357();}
@@ -1 +1 @@
1
- const a41_0xfa2a47=a41_0x2fcd;function a41_0x2fcd(_0x37c6d9,_0x51bd6c){const _0x21010e=a41_0x2101();return a41_0x2fcd=function(_0x2fcdc0,_0x338611){_0x2fcdc0=_0x2fcdc0-0x173;let _0x270ed6=_0x21010e[_0x2fcdc0];return _0x270ed6;},a41_0x2fcd(_0x37c6d9,_0x51bd6c);}function a41_0x2101(){const _0x2c8305=['WDkfV','10ILOLhZ','116703GcvFZM','5441937WmROmH','toLowerCase','29763dkqjqQ','GGAQS','1608fhDoVS','2021996NPsshS','241186KoyTOj','env','10VjRYtj','72966gbIBow','exports','735bRsBTG','IKTkh','framework','MPYBU','TUvRm','9784620DiYcSO','432cbbivA'];a41_0x2101=function(){return _0x2c8305;};return a41_0x2101();}(function(_0x5831ec,_0x4a3b07){const _0x207ba9=a41_0x2fcd,_0x248bed=_0x5831ec();while(!![]){try{const _0x4a75af=parseInt(_0x207ba9(0x176))/0x1*(parseInt(_0x207ba9(0x17c))/0x2)+parseInt(_0x207ba9(0x174))/0x3+parseInt(_0x207ba9(0x179))/0x4*(-parseInt(_0x207ba9(0x187))/0x5)+-parseInt(_0x207ba9(0x17d))/0x6*(parseInt(_0x207ba9(0x17f))/0x7)+-parseInt(_0x207ba9(0x185))/0x8*(parseInt(_0x207ba9(0x173))/0x9)+-parseInt(_0x207ba9(0x184))/0xa+-parseInt(_0x207ba9(0x17a))/0xb*(-parseInt(_0x207ba9(0x178))/0xc);if(_0x4a75af===_0x4a3b07)break;else _0x248bed['push'](_0x248bed['shift']());}catch(_0x49c9dc){_0x248bed['push'](_0x248bed['shift']());}}}(a41_0x2101,0xe4197));function isNewman(_0x2ab0c){const _0xd922a1=a41_0x2fcd,_0x5f5792={'WDkfV':function(_0x275388,_0x5d2cfe){return _0x275388===_0x5d2cfe;},'IKTkh':'newman','TUvRm':function(_0x3afac9,_0x516b8c){return _0x3afac9===_0x516b8c;},'MPYBU':function(_0x54d0f7,_0x6fed05){return _0x54d0f7(_0x6fed05);},'GGAQS':function(_0x3b504b,_0x32ab35){return _0x3b504b||_0x32ab35;}},_0x5f372b=process[_0xd922a1(0x17b)]['BROWSERSTACK_FRAMEWORK']||'';let _0xe3ac19='';_0x2ab0c&&_0x2ab0c[_0xd922a1(0x181)]&&(_0xe3ac19=_0x2ab0c[_0xd922a1(0x181)]);const _0x137bd5=_0x5f5792[_0xd922a1(0x186)](_0x5f372b[_0xd922a1(0x175)](),_0x5f5792[_0xd922a1(0x180)]),_0x39d48c=_0x5f5792[_0xd922a1(0x183)](_0x5f5792[_0xd922a1(0x182)](String,_0xe3ac19)[_0xd922a1(0x175)](),_0x5f5792['IKTkh']);return _0x5f5792[_0xd922a1(0x177)](_0x137bd5,_0x39d48c);};const a41_0x4c1dc6={};a41_0x4c1dc6['isNewman']=isNewman,module[a41_0xfa2a47(0x17e)]=a41_0x4c1dc6;
1
+ const a45_0x3cbc80=a45_0x5984;(function(_0x53b264,_0x5770f0){const _0x39c1a5=a45_0x5984,_0x58a7d6=_0x53b264();while(!![]){try{const _0x44d47c=-parseInt(_0x39c1a5(0x150))/0x1+-parseInt(_0x39c1a5(0x158))/0x2*(-parseInt(_0x39c1a5(0x15b))/0x3)+parseInt(_0x39c1a5(0x157))/0x4+parseInt(_0x39c1a5(0x14e))/0x5*(parseInt(_0x39c1a5(0x155))/0x6)+-parseInt(_0x39c1a5(0x151))/0x7*(-parseInt(_0x39c1a5(0x14d))/0x8)+parseInt(_0x39c1a5(0x15c))/0x9+-parseInt(_0x39c1a5(0x160))/0xa;if(_0x44d47c===_0x5770f0)break;else _0x58a7d6['push'](_0x58a7d6['shift']());}catch(_0x399d39){_0x58a7d6['push'](_0x58a7d6['shift']());}}}(a45_0x109e,0x35a72));function isNewman(_0x1b69d0){const _0x856f8=a45_0x5984,_0x5efa54={'Juckr':function(_0x34197b,_0x27d849){return _0x34197b===_0x27d849;},'molQj':_0x856f8(0x15f),'WXOWA':function(_0x2a02f5,_0x4e2d09){return _0x2a02f5(_0x4e2d09);},'RNhPX':function(_0x393699,_0x1c02f7){return _0x393699||_0x1c02f7;}},_0x506ed0=process['env'][_0x856f8(0x159)]||'';let _0x3641d5='';_0x1b69d0&&_0x1b69d0[_0x856f8(0x15d)]&&(_0x3641d5=_0x1b69d0[_0x856f8(0x15d)]);const _0x24faea=_0x5efa54['Juckr'](_0x506ed0[_0x856f8(0x156)](),_0x5efa54[_0x856f8(0x15e)]),_0x29bbdb=_0x5efa54[_0x856f8(0x14f)](_0x5efa54[_0x856f8(0x153)](String,_0x3641d5)[_0x856f8(0x156)](),_0x5efa54[_0x856f8(0x15e)]);return _0x5efa54[_0x856f8(0x154)](_0x24faea,_0x29bbdb);};function a45_0x5984(_0x20086b,_0x257091){const _0x109e80=a45_0x109e();return a45_0x5984=function(_0x598452,_0x94f11a){_0x598452=_0x598452-0x14d;let _0x448d59=_0x109e80[_0x598452];return _0x448d59;},a45_0x5984(_0x20086b,_0x257091);}function a45_0x109e(){const _0x1be309=['isNewman','9USQAjf','1768221DDaqrt','framework','molQj','newman','3777080oXaAuN','13576dnHQka','1933320DxZKKn','Juckr','368513uTkLFX','553wKfFSN','exports','WXOWA','RNhPX','6MXaiWd','toLowerCase','273000nrGZiV','120358nhfQbm','BROWSERSTACK_FRAMEWORK'];a45_0x109e=function(){return _0x1be309;};return a45_0x109e();}const a45_0x526797={};a45_0x526797[a45_0x3cbc80(0x15a)]=isNewman,module[a45_0x3cbc80(0x152)]=a45_0x526797;
@@ -1 +1 @@
1
- 'use strict';function a42_0x5150(){const _0x1ebc44=['pending','failed','TRACE','munBb','event','testFrameworkState','jTqgv','join','nEmbP','stringify','LkyYd','durationMs','No\x20HTTP\x20response\x20received','Assertion\x20','SUTSH','toString','response','hrqfM','QLBdH','ruKxt','scopes','xUUVc','txfhV','get','assertions','N/A','toISOString','lKUqT','http_response','JIHqv','DEBUG','ebPWa','[Newman\x20Reporter]\x20Error\x20in\x20request:\x20','pPtEr','woKMI','expanded','[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json','dMZpT','\x20(no\x20assertions)','forEach','dyFNJ','XpoWi','IWMTn','yfLzl','toUpperCase','[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20','1434VNaVhL','tipAb','logCreatedEvent','url','request','bufferedLogs','tmkXr','847WtjMxd','getInstance','winstonLogger','duration_ms','jrqvw','collectionPath','XzsPI','vHTmw','NUQwS','[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20','TQBqe','event_type','collectionName','beforeIteration','FMclp','TEST','IJZtm','EMXiV','GkZQI','split','apply','CvoPR','[Newman\x20Reporter]\x20emitLog\x20error:\x20','XVrPx','set','[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20','clear','method','length','YcKwU','XNHnZ','info','yLoVD','TdCyh','failureReason','test_run','trackEvent','HJRfl','tGaJl','vyrsq','Script\x20error\x20(','IyZHf','assertion','push','indexOf','failure','item','YIqjN','console','fRkZG','failure_reason_expanded','yLAxc','exception','6720KIZDZB','uploadEventData','script','uuid','beforeItem','timestamp','LSWRo','rWoZf','jwxGF','uVbLQ','stack','phWqU','xYVLA','message','UWlft','qsXdl','TestRunFinished','parent','fQGUF','startedAt','test_run_uuid','now','identifier','argv','POST','1FAnnIZ','AnPZL','):\x20','execution','ceiHo','exports','level','cCTKK','pioGy','3159405VddbDv','done','pathname','ToyIh','collection.json','XesVW','testFrameworkVersion','search','http://','WRuPx','AssertionError','HXzAy','HTTP','httpLog','path','cDVPr','774986WCXOaj','\x20->\x20','TEST_LOG','LogCreated','cursor','LXGxW','dTIom','Fyxpq','resolve','error','zumTU','kind','2307550VllFsK','lastResponseCode','INFO','229740rnLQZu','KDVgR','getTime','host','1056432oBqCps','uTJdR','err','javascript','hostname','result','HTTP\x20Status:\x20','Vhuus','responseTime','status_code','name','pRPFJ','dLItC','concat','sKWMa','PRE','backtrace','AoVAx','pLpwo','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','gTKMn','ms)','newman','failureType','cwd','VgXoS','ELxjh','TestRunStarted','../../../helpers/test-observability/utils','UEzge','../../../helpers/logger','code','includes','xJuTh','WQNFc','ref','ZsmLc','itemName','[Newman\x20Reporter]\x20Error\x20in\x20console:\x20','RTXmE','SCioF','startsWith','GCvPa','HTTP\x20','location','../../v2/browserstackCLI','voiRI','IIsTf','aypEj','relative','MFtVI','messages','delete','ERROR','../../v2/state/hookState','\x20—\x20response\x20status\x20in\x20failure\x20range','OatsY','finishedAt','passed','35248ayaizi','collection','\x20(HTTP\x20','listen','YhCoc','AWgew','../../v2/grpcClient','max','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','slice','XCFNf','qIvhc'];a42_0x5150=function(){return _0x1ebc44;};return a42_0x5150();}const a42_0x5eca49=a42_0x5b31;(function(_0x9199a4,_0x47086d){const _0xbd30b4=a42_0x5b31,_0x44bfd3=_0x9199a4();while(!![]){try{const _0x4a5e5c=-parseInt(_0xbd30b4(0x18e))/0x1*(-parseInt(_0xbd30b4(0x1a7))/0x2)+parseInt(_0xbd30b4(0x1b6))/0x3+-parseInt(_0xbd30b4(0x1ba))/0x4+-parseInt(_0xbd30b4(0x175))/0x5*(parseInt(_0xbd30b4(0x139))/0x6)+-parseInt(_0xbd30b4(0x140))/0x7*(-parseInt(_0xbd30b4(0x1f5))/0x8)+-parseInt(_0xbd30b4(0x197))/0x9+parseInt(_0xbd30b4(0x1b3))/0xa;if(_0x4a5e5c===_0x47086d)break;else _0x44bfd3['push'](_0x44bfd3['shift']());}catch(_0x1499f1){_0x44bfd3['push'](_0x44bfd3['shift']());}}}(a42_0x5150,0x47301));const path=require(a42_0x5eca49(0x1a5)),{v4:uuidv4}=require(a42_0x5eca49(0x178)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{debug}=require(a42_0x5eca49(0x1d6)),logger=require(a42_0x5eca49(0x1d8))[a42_0x5eca49(0x142)],BrowserstackCLI=require(a42_0x5eca49(0x1e7)),GrpcClient=require(a42_0x5eca49(0x1fb)),TestFrameworkState=require('../../v2/state/testFrameworkState'),HookState=require(a42_0x5eca49(0x1f0)),LOG_LEVELS=[a42_0x5eca49(0x1b5),'WARN','ERROR',a42_0x5eca49(0x129),a42_0x5eca49(0x10d)];function isCLIRunning(){try{return BrowserstackCLI['getInstance']()['isRunning']();}catch(_0x358316){return![];}}function a42_0x5b31(_0x32647a,_0x1684ed){const _0x51501c=a42_0x5150();return a42_0x5b31=function(_0x5b3166,_0x4be30d){_0x5b3166=_0x5b3166-0x106;let _0x29803a=_0x51501c[_0x5b3166];return _0x29803a;},a42_0x5b31(_0x32647a,_0x1684ed);}function getParentTitles(_0x4b8e55){const _0x134d64=a42_0x5eca49,_0x5218a4={'LXGxW':function(_0x5f4ae5,_0x30e5ec){return _0x5f4ae5(_0x30e5ec);},'oqoVg':function(_0x556858,_0x30d96c){return _0x556858(_0x30d96c);}},_0x4fa488=[],_0x3aef2c=_0x4b8e55[_0x134d64(0x186)]();return _0x3aef2c&&_0x4fa488[_0x134d64(0x16b)][_0x134d64(0x154)](_0x4fa488,_0x5218a4[_0x134d64(0x1ac)](getParentTitles,_0x3aef2c)),_0x4b8e55[_0x134d64(0x1c4)]&&_0x4fa488['push'](_0x5218a4['oqoVg'](String,_0x4b8e55[_0x134d64(0x1c4)])),_0x4fa488;}function normalizeLogLevel(_0x3b3ac5){const _0x5f32b9=a42_0x5eca49,_0x56c45d={};_0x56c45d[_0x5f32b9(0x14e)]=_0x5f32b9(0x1b5),_0x56c45d[_0x5f32b9(0x150)]=function(_0x9df896,_0xc80601){return _0x9df896!==_0xc80601;};const _0x403829=_0x56c45d;if(!_0x3b3ac5)return _0x403829[_0x5f32b9(0x14e)];const _0x1568d7=_0x3b3ac5[_0x5f32b9(0x137)]();return _0x403829[_0x5f32b9(0x150)](LOG_LEVELS[_0x5f32b9(0x16c)](_0x1568d7),-0x1)?_0x1568d7:_0x403829['FMclp'];}function resolveCollectionFile(_0x4e9ac5,_0x3b1ce2){const _0x2aacac=a42_0x5eca49,_0x5ddf30={};_0x5ddf30[_0x2aacac(0x171)]=function(_0x3e6c6c,_0x229227){return _0x3e6c6c===_0x229227;},_0x5ddf30['xYVLA']='string',_0x5ddf30[_0x2aacac(0x12d)]='run',_0x5ddf30[_0x2aacac(0x1db)]=function(_0x4bc99a,_0x40210b){return _0x4bc99a!==_0x40210b;},_0x5ddf30['phWqU']=function(_0x15a207,_0x5ef517){return _0x15a207<_0x5ef517;},_0x5ddf30[_0x2aacac(0x1fa)]=function(_0x2a884b,_0x293f68){return _0x2a884b+_0x293f68;},_0x5ddf30[_0x2aacac(0x169)]=_0x2aacac(0x12f),_0x5ddf30[_0x2aacac(0x151)]=_0x2aacac(0x19b);const _0x5d7c5c=_0x5ddf30;try{if(_0x3b1ce2&&_0x3b1ce2['collectionPath'])return path[_0x2aacac(0x1eb)](process[_0x2aacac(0x1d2)](),path[_0x2aacac(0x1af)](_0x3b1ce2[_0x2aacac(0x145)]));const _0x3231ca=_0x4e9ac5[_0x2aacac(0x1f6)];if(_0x5d7c5c[_0x2aacac(0x171)](typeof _0x3231ca,_0x5d7c5c[_0x2aacac(0x181)]))return path[_0x2aacac(0x1eb)](process[_0x2aacac(0x1d2)](),path[_0x2aacac(0x1af)](_0x3231ca));const _0x104665=process[_0x2aacac(0x18c)][_0x2aacac(0x16c)](_0x5d7c5c[_0x2aacac(0x12d)]);if(_0x5d7c5c[_0x2aacac(0x1db)](_0x104665,-0x1)&&_0x5d7c5c[_0x2aacac(0x180)](_0x5d7c5c[_0x2aacac(0x1fa)](_0x104665,0x1),process['argv']['length'])){const _0x1d130b=process[_0x2aacac(0x18c)][_0x5d7c5c['AWgew'](_0x104665,0x1)];if(_0x1d130b&&!_0x1d130b[_0x2aacac(0x1e3)]('-'))return path[_0x2aacac(0x1eb)](process['cwd'](),path[_0x2aacac(0x1af)](_0x1d130b));}}catch(_0x1857c0){}return logger[_0x2aacac(0x15f)](_0x5d7c5c[_0x2aacac(0x169)]),_0x5d7c5c['EMXiV'];}function resolveCollectionName(_0x586d0d){const _0x5ffa17=a42_0x5eca49,_0x2d40ae={};_0x2d40ae[_0x5ffa17(0x120)]=function(_0x339029,_0x134e8b){return _0x339029===_0x134e8b;},_0x2d40ae[_0x5ffa17(0x1e8)]='object';const _0x1f780f=_0x2d40ae;try{const _0xc82aa2=_0x586d0d['collection'];if(_0xc82aa2&&_0x1f780f['xUUVc'](typeof _0xc82aa2,_0x1f780f['voiRI']))return _0xc82aa2[_0x5ffa17(0x1c4)]||_0xc82aa2[_0x5ffa17(0x15f)]&&_0xc82aa2[_0x5ffa17(0x15f)][_0x5ffa17(0x1c4)]||null;}catch(_0x1b3dec){}return null;}function emitTest(_0x138854,_0x284bcb,_0x3dd468,_0x204d61,_0x12145b){const _0x21f1f6=a42_0x5eca49,_0x3a2672={'GQVEs':function(_0x3a7c7d){return _0x3a7c7d();},'dTIom':_0x21f1f6(0x10b),'pioGy':function(_0xc9e2ea,_0x4fac23){return _0xc9e2ea(_0x4fac23);},'qIvhc':'newman','XpoWi':_0x21f1f6(0x1bd),'GkZQI':function(_0x3afb97,_0x57aef1){return _0x3afb97!=_0x57aef1;},'NUQwS':function(_0x5a879c,_0x116eb7){return _0x5a879c===_0x116eb7;},'hrqfM':_0x21f1f6(0x1d5),'MPbtr':_0x21f1f6(0x185)};if(_0x3a2672['GQVEs'](isCLIRunning))try{const _0x2c45b0=BrowserstackCLI['getInstance']()['getTestFramework']();if(!_0x2c45b0)return;_0x2c45b0[_0x21f1f6(0x164)](TestFrameworkState[_0x21f1f6(0x14f)],_0x138854,{'test':{'uuid':_0x284bcb[_0x21f1f6(0x178)],'name':_0x284bcb['name'],'scopes':_0x3dd468[_0x21f1f6(0x11f)],'scope':_0x3dd468[_0x21f1f6(0x11f)][_0x21f1f6(0x112)]('\x20'),'file_path':_0x204d61,'location':_0x3dd468[_0x21f1f6(0x14c)],'started_at':_0x3dd468[_0x21f1f6(0x188)],'finished_at':_0x12145b[_0x21f1f6(0x1f3)]||null,'result':_0x12145b['result']||_0x3a2672[_0x21f1f6(0x1ad)],'failure':_0x12145b[_0x21f1f6(0x16d)]||[],'failure_type':_0x12145b['failureType']||null,'failure_reason':_0x12145b[_0x21f1f6(0x162)]||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x1378a4){_0x3a2672[_0x21f1f6(0x196)](debug,'[Newman\x20Reporter]\x20emitTest\x20error:\x20'+_0x1378a4);}else{const _0xc8acc4={'uuid':_0x284bcb[_0x21f1f6(0x178)],'name':_0x284bcb[_0x21f1f6(0x1c4)],'framework':_0x3a2672[_0x21f1f6(0x10a)],'body':{'lang':_0x3a2672[_0x21f1f6(0x134)],'code':null},'scope':_0x3dd468[_0x21f1f6(0x11f)]['join']('\x20'),'scopes':_0x3dd468[_0x21f1f6(0x11f)],'identifier':_0x284bcb['identifier'],'file_name':_0x3dd468[_0x21f1f6(0x14c)],'vc_filepath':_0x3dd468[_0x21f1f6(0x1e6)],'location':_0x3dd468[_0x21f1f6(0x1e6)],'started_at':_0x3dd468[_0x21f1f6(0x188)],'finished_at':_0x12145b[_0x21f1f6(0x1f3)]||null,'duration_in_ms':_0x3a2672[_0x21f1f6(0x152)](_0x12145b[_0x21f1f6(0x116)],null)?Math[_0x21f1f6(0x106)](0x0,_0x12145b[_0x21f1f6(0x116)]):null,'result':_0x12145b[_0x21f1f6(0x1bf)]||_0x3a2672[_0x21f1f6(0x1ad)],'failure_reason':_0x12145b[_0x21f1f6(0x162)]||null,'failure_type':_0x12145b[_0x21f1f6(0x1d1)]||null,'failure':_0x12145b[_0x21f1f6(0x16d)]||[],'retry_of':null,'hooks':[]};_0xc8acc4[_0x21f1f6(0x16d)][0x0]&&(_0xc8acc4['failure_backtrace']=_0xc8acc4[_0x21f1f6(0x16d)][0x0][_0x21f1f6(0x1ca)],_0xc8acc4[_0x21f1f6(0x172)]=_0xc8acc4['failure'][0x0][_0x21f1f6(0x12e)]);const _0x514446=_0x3a2672[_0x21f1f6(0x148)](_0x138854,HookState[_0x21f1f6(0x1c9)])?_0x3a2672[_0x21f1f6(0x11c)]:_0x3a2672['MPbtr'],_0x38b0eb={};_0x38b0eb[_0x21f1f6(0x14b)]=_0x514446,_0x38b0eb[_0x21f1f6(0x163)]=_0xc8acc4,SessionHandler[_0x21f1f6(0x176)](_0x38b0eb);}}function emitLog(_0x5a9063,_0x5486d8){const _0x156f0d=a42_0x5eca49,_0x134f78={'YIqjN':'TEST_LOG','xKiGM':function(_0x1a0887){return _0x1a0887();},'Vhuus':function(_0x5aa0f4,_0x493377){return _0x5aa0f4===_0x493377;},'FnLgd':'HTTP','sKWMa':_0x156f0d(0x1d0),'GBoQG':_0x156f0d(0x14f),'YhCoc':_0x156f0d(0x1b5),'RTXmE':function(_0x447c2f,_0x25484b){return _0x447c2f(_0x25484b);},'lKUqT':function(_0x273be0,_0x4ac6ba){return _0x273be0+_0x4ac6ba;},'yfLzl':_0x156f0d(0x156),'WRuPx':_0x156f0d(0x1aa)},_0x531c89=_0x5486d8[_0x156f0d(0x1b2)]||_0x134f78[_0x156f0d(0x16f)],_0x15c06a=_0x5486d8[_0x156f0d(0x17a)]||new Date()[_0x156f0d(0x125)]();if(_0x134f78['xKiGM'](isCLIRunning))try{const _0x3a4048=_0x134f78[_0x156f0d(0x1c1)](_0x531c89,_0x134f78['FnLgd'])?JSON[_0x156f0d(0x114)](_0x5486d8):_0x5486d8[_0x156f0d(0x182)]||'',_0x31a85c={};_0x31a85c['platformIndex']=0x0,_0x31a85c['testFrameworkName']=_0x134f78[_0x156f0d(0x1c8)],_0x31a85c[_0x156f0d(0x19d)]='',_0x31a85c[_0x156f0d(0x110)]=_0x134f78['GBoQG'],_0x31a85c['logs']=[{'uuid':_0x5a9063,'timestamp':_0x15c06a,'kind':_0x531c89,'level':_0x5486d8['level']||_0x134f78[_0x156f0d(0x1f9)],'message':_0x3a4048}],GrpcClient[_0x156f0d(0x141)]()[_0x156f0d(0x13b)](_0x31a85c);}catch(_0x2431fb){_0x134f78[_0x156f0d(0x1e1)](debug,_0x134f78[_0x156f0d(0x126)](_0x134f78[_0x156f0d(0x136)],_0x2431fb));}else{const _0x1257f4={};_0x1257f4[_0x156f0d(0x189)]=_0x5a9063,_0x1257f4[_0x156f0d(0x17a)]=_0x15c06a,_0x1257f4[_0x156f0d(0x194)]=_0x5486d8[_0x156f0d(0x194)]||null,_0x1257f4[_0x156f0d(0x182)]=_0x5486d8[_0x156f0d(0x182)]||null,_0x1257f4['kind']=_0x531c89,_0x1257f4[_0x156f0d(0x127)]=_0x5486d8[_0x156f0d(0x127)]||{};const _0x1fa5da={};_0x1fa5da[_0x156f0d(0x14b)]=_0x134f78[_0x156f0d(0x1a0)],_0x1fa5da['logs']=[_0x1257f4],SessionHandler[_0x156f0d(0x176)](_0x1fa5da);}}function BrowserStackNewmanReporter(_0xd2e64d,_0x587139,_0xedbaf){const _0x4ed7c6=a42_0x5eca49,_0x3ef1c6={'tipAb':function(_0x52c4f4,_0x14b541,_0x5bfb39){return _0x52c4f4(_0x14b541,_0x5bfb39);},'XNHnZ':function(_0x14c5b5,_0x2ddd97){return _0x14c5b5(_0x2ddd97);},'uVbLQ':function(_0x42f1c6,_0x1f7341){return _0x42f1c6>_0x1f7341;},'OatsY':function(_0x548d56,_0x5d7abc){return _0x548d56(_0x5d7abc);},'qxKUp':'http','vyrsq':function(_0xbe0f9a,_0x5d6e33){return _0xbe0f9a+_0x5d6e33;},'pLpwo':'GET','TdCyh':_0x4ed7c6(0x1a9),'gTKMn':function(_0x5beebf){return _0x5beebf();},'yLAxc':function(_0x4d6c3c,_0x3a9aae){return _0x4d6c3c||_0x3a9aae;},'LkyYd':function(_0x2568d7,_0x1ea6f9,_0x30d611,_0x57822f,_0x5504ed,_0x5c1a21){return _0x2568d7(_0x1ea6f9,_0x30d611,_0x57822f,_0x5504ed,_0x5c1a21);},'TQBqe':function(_0xa3ab50,_0x509e1a){return _0xa3ab50===_0x509e1a;},'IWMTn':function(_0x565fe5,_0x30c29e,_0x529b53){return _0x565fe5(_0x30c29e,_0x529b53);},'AnPZL':_0x4ed7c6(0x1a3),'tmkXr':function(_0x5c2970,_0x1940d9){return _0x5c2970+_0x1940d9;},'aypEj':function(_0x5976b0,_0x2dbf76){return _0x5976b0+_0x2dbf76;},'LSWRo':_0x4ed7c6(0x1a8),'vHTmw':_0x4ed7c6(0x1cf),'nGUSo':function(_0x50c92f,_0x1463fa,_0x305f75){return _0x50c92f(_0x1463fa,_0x305f75);},'SUTSH':'INFO','DyfFc':function(_0x3288a7,_0x473ac4){return _0x3288a7>_0x473ac4;},'CvoPR':function(_0x7ae68d,_0x1489fb){return _0x7ae68d-_0x1489fb;},'GCvPa':function(_0x3d10ac,_0x558eb1,_0x1c6950){return _0x3d10ac(_0x558eb1,_0x1c6950);},'ZsmLc':function(_0xec29a3,_0xff05aa){return _0xec29a3(_0xff05aa);},'UWlft':function(_0x3a241a,_0x3dbdc9){return _0x3a241a(_0x3dbdc9);},'yLoVD':function(_0x4eb3dc,_0x4d3020){return _0x4eb3dc&&_0x4d3020;},'cIQPA':function(_0x2b0a61,_0x36d76b){return _0x2b0a61>_0x36d76b;},'cpeIA':function(_0x171832,_0x1bebe5){return _0x171832-_0x1bebe5;},'JIHqv':function(_0x23bbfe,_0x1b3e36,_0x53b9ba){return _0x23bbfe(_0x1b3e36,_0x53b9ba);},'dLItC':function(_0x12cc67,_0x3344b7){return _0x12cc67+_0x3344b7;},'WQNFc':'Exception:\x20','dyFNJ':_0x4ed7c6(0x1ef),'jTqgv':function(_0x1f43c1,_0x5309fe){return _0x1f43c1(_0x5309fe);},'QLBdH':_0x4ed7c6(0x1cd),'jwxGF':function(_0x5d734a,_0x539098){return _0x5d734a>_0x539098;},'jrqvw':'unknown','IoYdX':function(_0x259232,_0x58179a){return _0x259232+_0x58179a;},'fQGUF':_0x4ed7c6(0x168),'cCTKK':_0x4ed7c6(0x190),'zCTJZ':_0x4ed7c6(0x107),'UEzge':_0x4ed7c6(0x10c),'ceiHo':_0x4ed7c6(0x1f4),'ruKxt':_0x4ed7c6(0x1a1),'RzMyM':'assert','pRPFJ':'UnhandledError','pPtEr':function(_0x138265,_0x3a760c){return _0x138265>_0x3a760c;},'sbCNi':function(_0x29dfd5,_0x6c9d23){return _0x29dfd5!=_0x6c9d23;},'qsXdl':function(_0xdce4b7,_0x18f5ca){return _0xdce4b7>=_0x18f5ca;},'rWoZf':function(_0x1e2d48,_0xfed66c){return _0x1e2d48<_0xfed66c;},'HXzAy':_0x4ed7c6(0x124),'dMZpT':function(_0x28807e,_0xd1911f){return _0x28807e!=_0xd1911f;},'XzsPI':_0x4ed7c6(0x117),'nEmbP':function(_0x3b9e6c,_0x4b608f,_0x4293d0){return _0x3b9e6c(_0x4b608f,_0x4293d0);},'KDVgR':function(_0x5be8b8,_0x2e7d5b){return _0x5be8b8+_0x2e7d5b;},'IIsTf':function(_0x4cf59b,_0x36cdd0){return _0x4cf59b+_0x36cdd0;},'XesVW':function(_0x16dca0,_0x3fd5fc){return _0x16dca0+_0x3fd5fc;},'Fyxpq':function(_0x212362,_0x5e1d50,_0x218fb9){return _0x212362(_0x5e1d50,_0x218fb9);},'uTJdR':function(_0x39fac6,_0x288b9e,_0xd9996e){return _0x39fac6(_0x288b9e,_0xd9996e);},'txfhV':function(_0x3cc01e,_0x21560f){return _0x3cc01e+_0x21560f;},'XVrPx':_0x4ed7c6(0x1c0),'zumTU':function(_0x1ce64e,_0x5661d5){return _0x1ce64e||_0x5661d5;},'VgXoS':_0x4ed7c6(0x131),'MFtVI':function(_0x21a77a,_0x1b7621){return _0x21a77a(_0x1b7621);},'cDVPr':function(_0x3fe3d0,_0x27217a){return _0x3fe3d0(_0x27217a);},'SCioF':_0x4ed7c6(0x198),'ebPWa':_0x4ed7c6(0x14d),'ELxjh':_0x4ed7c6(0x179),'YcKwU':_0x4ed7c6(0x13d),'VMKlX':_0x4ed7c6(0x16a),'tGaJl':_0x4ed7c6(0x170),'munBb':_0x4ed7c6(0x174),'XCFNf':_0x4ed7c6(0x177),'HJRfl':_0x4ed7c6(0x16e)},_0x3690cf=new Map();let _0x476b49=null,_0x5349e8=0x0;const _0x253119=_0x3ef1c6['JIHqv'](resolveCollectionFile,_0xedbaf,_0x587139),_0x3877d7=_0x3ef1c6[_0x4ed7c6(0x1a6)](resolveCollectionName,_0xedbaf)||_0x253119,_0x3e9b13=path[_0x4ed7c6(0x1af)](_0x253119),_0x31f805='bs:addLog:'+process['pid'],_0xf77c0=_0x19efe3=>{const _0x5eb83e=_0x4ed7c6;try{_0x476b49&&_0x3ef1c6[_0x5eb83e(0x13a)](emitLog,_0x476b49,_0x19efe3);}catch(_0x2877a7){_0x3ef1c6['XNHnZ'](debug,_0x5eb83e(0x138)+_0x2877a7);}};process['on'](_0x31f805,_0xf77c0),_0xd2e64d['on'](_0x3ef1c6[_0x4ed7c6(0x1e2)],()=>{const _0xc38b95=_0x4ed7c6;process['removeListener'](_0x31f805,_0xf77c0),_0x3690cf[_0xc38b95(0x15a)]();}),_0xd2e64d['on'](_0x3ef1c6[_0x4ed7c6(0x12a)],(_0x94b6e8,_0x28a933)=>{const _0x49e4b2=_0x4ed7c6;_0x28a933&&_0x28a933[_0x49e4b2(0x1ab)]&&(_0x5349e8=_0x28a933['cursor']['iteration']||0x0);}),_0xd2e64d['on'](_0x3ef1c6[_0x4ed7c6(0x1d4)],(_0x3a94bc,_0x21d252)=>{const _0x1a7b47=_0x4ed7c6;try{_0x476b49=null;const _0x329ac0=_0x21d252['item'],_0x3206fc=_0x329ac0[_0x1a7b47(0x186)]()?_0x3ef1c6[_0x1a7b47(0x15e)](getParentTitles,_0x329ac0[_0x1a7b47(0x186)]()):[],_0x1adf53=_0x3ef1c6[_0x1a7b47(0x17e)](_0x3206fc[_0x1a7b47(0x15c)],0x1)?_0x3206fc[_0x1a7b47(0x108)](0x1):_0x3206fc,_0x4e50be=_0x21d252[_0x1a7b47(0x1ab)]&&_0x21d252['cursor'][_0x1a7b47(0x1dd)],_0xeabc3={'itemName':_0x329ac0[_0x1a7b47(0x1c4)],'scopes':_0x1adf53[_0x1a7b47(0x1c7)]([_0x329ac0[_0x1a7b47(0x1c4)]]),'location':_0x253119,'collectionName':_0x3877d7,'startedAt':new Date()[_0x1a7b47(0x125)](),'startTimestamp':Date[_0x1a7b47(0x18a)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x3690cf[_0x1a7b47(0x158)](_0x329ac0['id']+'_'+_0x5349e8,_0xeabc3),_0x4e50be&&_0x3690cf['set'](_0x4e50be+'_'+_0x5349e8,_0xeabc3);}catch(_0x1f10db){_0x3ef1c6[_0x1a7b47(0x1f2)](debug,_0x1a7b47(0x159)+_0x1f10db);}}),_0xd2e64d['on'](_0x3ef1c6[_0x4ed7c6(0x15d)],(_0x1c1868,_0x151e5a)=>{const _0x5e88a7=_0x4ed7c6;try{if(!_0x151e5a||!_0x151e5a[_0x5e88a7(0x16e)])return;const _0x1d133c=_0x3690cf[_0x5e88a7(0x122)](_0x151e5a[_0x5e88a7(0x16e)]['id']+'_'+_0x5349e8);if(!_0x1d133c)return;_0x151e5a[_0x5e88a7(0x11b)]&&(_0x1d133c[_0x5e88a7(0x1b4)]=_0x151e5a[_0x5e88a7(0x11b)]['code']||null);if(!_0x151e5a[_0x5e88a7(0x13d)])return;let _0x124fb3='',_0x52c67c='';if(_0x151e5a[_0x5e88a7(0x13d)][_0x5e88a7(0x13c)])try{const _0x26eda6=_0x151e5a[_0x5e88a7(0x13d)]['url'][_0x5e88a7(0x11a)](),_0xd00adb=new URL(_0x26eda6[_0x5e88a7(0x1e3)](_0x3ef1c6['qxKUp'])?_0x26eda6:_0x5e88a7(0x19f)+_0x26eda6);_0x124fb3=_0xd00adb[_0x5e88a7(0x1be)],_0x52c67c=_0x3ef1c6[_0x5e88a7(0x167)](_0xd00adb[_0x5e88a7(0x199)],_0xd00adb[_0x5e88a7(0x19e)]);}catch(_0x27be3e){_0x52c67c=_0x151e5a['request'][_0x5e88a7(0x13c)][_0x5e88a7(0x11a)]();}const _0x36df6f={};_0x36df6f['host']=_0x124fb3,_0x36df6f[_0x5e88a7(0x1a5)]=_0x52c67c,_0x36df6f['method']=_0x151e5a['request'][_0x5e88a7(0x15b)]||_0x3ef1c6[_0x5e88a7(0x1cc)],_0x36df6f['headers']={},_0x36df6f[_0x5e88a7(0x1c3)]=_0x151e5a[_0x5e88a7(0x11b)]?_0x151e5a[_0x5e88a7(0x11b)][_0x5e88a7(0x1d9)]||0x0:0x0,_0x36df6f[_0x5e88a7(0x143)]=_0x151e5a[_0x5e88a7(0x11b)]?_0x151e5a[_0x5e88a7(0x11b)][_0x5e88a7(0x1c2)]||0x0:0x0,_0x1d133c[_0x5e88a7(0x1a4)]=_0x36df6f;}catch(_0x50cf50){_0x3ef1c6[_0x5e88a7(0x15e)](debug,_0x5e88a7(0x12b)+_0x50cf50);}}),_0xd2e64d['on'](_0x3ef1c6['VMKlX'],(_0xe76377,_0x47f9a7)=>{const _0x5b8364=_0x4ed7c6;try{if(!_0x47f9a7||!_0x47f9a7['item'])return;const _0x3cd896=_0x3690cf[_0x5b8364(0x122)](_0x47f9a7[_0x5b8364(0x16e)]['id']+'_'+_0x5349e8);if(!_0x3cd896)return;const _0x268f2e=_0x47f9a7[_0x5b8364(0x16a)]||_0x5b8364(0x118)+_0x3ef1c6['vyrsq'](_0x3cd896[_0x5b8364(0x123)][_0x5b8364(0x15c)],0x1),_0x2473de=_0x3ef1c6[_0x5b8364(0x1ce)](uuidv4),_0x1da7c3=_0x3cd896[_0x5b8364(0x11f)][_0x5b8364(0x1c7)]([_0x268f2e])[_0x5b8364(0x112)]('\x20');_0x3cd896['assertions'][_0x5b8364(0x16b)]({'uuid':_0x2473de,'name':_0x268f2e,'identifier':_0x1da7c3,'err':_0x3ef1c6[_0x5b8364(0x173)](_0xe76377,null)});const _0x330bca={};_0x330bca[_0x5b8364(0x178)]=_0x2473de,_0x330bca[_0x5b8364(0x1c4)]=_0x268f2e,_0x330bca[_0x5b8364(0x18b)]=_0x1da7c3,_0x3ef1c6[_0x5b8364(0x115)](emitTest,HookState[_0x5b8364(0x1c9)],_0x330bca,_0x3cd896,_0x3e9b13,{});_0x3ef1c6[_0x5b8364(0x14a)](_0x3cd896[_0x5b8364(0x123)]['length'],0x1)&&_0x3ef1c6['uVbLQ'](_0x3cd896['bufferedLogs'][_0x5b8364(0x15c)],0x0)&&(_0x3cd896[_0x5b8364(0x13e)][_0x5b8364(0x132)](_0x39fb25=>{const _0x13b619=_0x5b8364;_0x3ef1c6[_0x13b619(0x13a)](emitLog,_0x2473de,{'kind':_0x3ef1c6[_0x13b619(0x161)],'message':_0x39fb25[_0x13b619(0x182)],'level':_0x39fb25[_0x13b619(0x194)]});}),_0x3cd896[_0x5b8364(0x13e)]=[]);if(_0x3cd896[_0x5b8364(0x1a4)]){_0x3ef1c6[_0x5b8364(0x135)](emitLog,_0x2473de,{'kind':_0x3ef1c6['AnPZL'],'http_response':_0x3cd896[_0x5b8364(0x1a4)]});const _0x51894e=_0x3ef1c6[_0x5b8364(0x167)](_0x3ef1c6[_0x5b8364(0x167)](_0x3ef1c6[_0x5b8364(0x167)](_0x3ef1c6[_0x5b8364(0x167)](_0x3ef1c6[_0x5b8364(0x167)](_0x3ef1c6[_0x5b8364(0x13f)](_0x3ef1c6[_0x5b8364(0x167)](_0x3ef1c6[_0x5b8364(0x1ea)](_0x3cd896['httpLog'][_0x5b8364(0x15b)]||_0x3ef1c6[_0x5b8364(0x1cc)],'\x20'),_0x3cd896[_0x5b8364(0x1a4)][_0x5b8364(0x1b9)]),_0x3cd896[_0x5b8364(0x1a4)][_0x5b8364(0x1a5)]),_0x3ef1c6[_0x5b8364(0x17b)]),_0x3cd896[_0x5b8364(0x1a4)][_0x5b8364(0x1c3)]),'\x20('),_0x3cd896[_0x5b8364(0x1a4)][_0x5b8364(0x143)]),_0x3ef1c6[_0x5b8364(0x147)]);_0x3ef1c6['nGUSo'](emitLog,_0x2473de,{'kind':_0x3ef1c6[_0x5b8364(0x161)],'message':_0x51894e,'level':_0x3ef1c6[_0x5b8364(0x119)]});}_0x476b49=_0x2473de;}catch(_0x3a87d5){_0x3ef1c6[_0x5b8364(0x15e)](debug,_0x5b8364(0x149)+_0x3a87d5);}}),_0xd2e64d['on'](_0x3ef1c6[_0x4ed7c6(0x166)],(_0x53b6b6,_0x214471)=>{const _0x3bfe93=_0x4ed7c6;try{if(!_0x214471)return;let _0x4132f9=_0x476b49;if(!_0x4132f9&&_0x214471[_0x3bfe93(0x1ab)]&&_0x214471['cursor'][_0x3bfe93(0x1dd)]){const _0x58111c=_0x3690cf[_0x3bfe93(0x122)](_0x214471[_0x3bfe93(0x1ab)][_0x3bfe93(0x1dd)]+'_'+_0x5349e8);_0x58111c&&_0x3ef1c6['DyfFc'](_0x58111c['assertions'][_0x3bfe93(0x15c)],0x0)&&(_0x4132f9=_0x58111c[_0x3bfe93(0x123)][_0x3ef1c6[_0x3bfe93(0x155)](_0x58111c['assertions'][_0x3bfe93(0x15c)],0x1)][_0x3bfe93(0x178)]);}const _0x193dbb=_0x214471[_0x3bfe93(0x1ed)]?_0x214471[_0x3bfe93(0x1ed)][_0x3bfe93(0x112)](',\x20'):'';if(_0x4132f9)_0x3ef1c6['GCvPa'](emitLog,_0x4132f9,{'kind':_0x3ef1c6['TdCyh'],'message':_0x193dbb,'level':_0x3ef1c6[_0x3bfe93(0x15e)](normalizeLogLevel,_0x214471[_0x3bfe93(0x194)])});else{if(_0x214471['cursor']&&_0x214471[_0x3bfe93(0x1ab)][_0x3bfe93(0x1dd)]){const _0x1a6f12=_0x3690cf[_0x3bfe93(0x122)](_0x214471['cursor'][_0x3bfe93(0x1dd)]+'_'+_0x5349e8);_0x1a6f12&&_0x1a6f12[_0x3bfe93(0x13e)]['push']({'timestamp':new Date()[_0x3bfe93(0x125)](),'level':_0x3ef1c6[_0x3bfe93(0x1de)](normalizeLogLevel,_0x214471[_0x3bfe93(0x194)]),'message':_0x193dbb});}}}catch(_0x44bdc6){_0x3ef1c6[_0x3bfe93(0x1f2)](debug,_0x3bfe93(0x1e0)+_0x44bdc6);}}),_0xd2e64d['on'](_0x3ef1c6[_0x4ed7c6(0x10e)],(_0x405024,_0x218d43)=>{const _0x4d1e03=_0x4ed7c6;try{if(!_0x405024&&(!_0x218d43||!_0x218d43[_0x4d1e03(0x1b0)]))return;const _0x578ef0=_0x405024||_0x218d43[_0x4d1e03(0x1b0)],_0x44a410=_0x578ef0[_0x4d1e03(0x182)]||_0x3ef1c6[_0x4d1e03(0x183)](String,_0x578ef0),_0x4ad4bb=_0x578ef0[_0x4d1e03(0x17f)]||_0x44a410;let _0x1ee1b7=_0x476b49;if(_0x3ef1c6[_0x4d1e03(0x160)](!_0x1ee1b7,_0x218d43)&&_0x218d43[_0x4d1e03(0x1ab)]&&_0x218d43[_0x4d1e03(0x1ab)][_0x4d1e03(0x1dd)]){const _0x28dae7=_0x3690cf[_0x4d1e03(0x122)](_0x218d43[_0x4d1e03(0x1ab)][_0x4d1e03(0x1dd)]+'_'+_0x5349e8);_0x28dae7&&_0x3ef1c6['cIQPA'](_0x28dae7[_0x4d1e03(0x123)][_0x4d1e03(0x15c)],0x0)&&(_0x1ee1b7=_0x28dae7[_0x4d1e03(0x123)][_0x3ef1c6['cpeIA'](_0x28dae7[_0x4d1e03(0x123)][_0x4d1e03(0x15c)],0x1)][_0x4d1e03(0x178)]);}_0x1ee1b7&&_0x3ef1c6[_0x4d1e03(0x128)](emitLog,_0x1ee1b7,{'kind':_0x3ef1c6['TdCyh'],'message':_0x3ef1c6[_0x4d1e03(0x1c6)](_0x3ef1c6[_0x4d1e03(0x1dc)],_0x4ad4bb),'level':_0x3ef1c6[_0x4d1e03(0x133)]});}catch(_0x5176fd){_0x3ef1c6[_0x4d1e03(0x111)](debug,_0x3ef1c6[_0x4d1e03(0x1c6)](_0x3ef1c6[_0x4d1e03(0x11d)],_0x5176fd));}}),_0xd2e64d['on'](_0x3ef1c6[_0x4ed7c6(0x109)],(_0x59cd02,_0x13201b)=>{const _0x2684f3=_0x4ed7c6;try{if(!_0x13201b||!_0x13201b[_0x2684f3(0x191)])return;let _0x2caafc=_0x476b49;if(!_0x2caafc&&_0x13201b[_0x2684f3(0x1ab)]&&_0x13201b[_0x2684f3(0x1ab)]['ref']){const _0x46dcfd=_0x3690cf['get'](_0x13201b[_0x2684f3(0x1ab)]['ref']+'_'+_0x5349e8);_0x46dcfd&&_0x3ef1c6[_0x2684f3(0x17d)](_0x46dcfd[_0x2684f3(0x123)][_0x2684f3(0x15c)],0x0)&&(_0x2caafc=_0x46dcfd[_0x2684f3(0x123)][_0x3ef1c6['cpeIA'](_0x46dcfd[_0x2684f3(0x123)]['length'],0x1)][_0x2684f3(0x178)]);}if(!_0x2caafc)return;const _0x47614c=_0x13201b['event']&&_0x13201b[_0x2684f3(0x10f)][_0x2684f3(0x1f8)]||_0x3ef1c6[_0x2684f3(0x144)];_0x59cd02&&_0x3ef1c6[_0x2684f3(0x135)](emitLog,_0x2caafc,{'kind':_0x3ef1c6[_0x2684f3(0x161)],'message':_0x3ef1c6['vyrsq'](_0x3ef1c6[_0x2684f3(0x13f)](_0x3ef1c6['IoYdX'](_0x3ef1c6[_0x2684f3(0x187)],_0x47614c),_0x3ef1c6[_0x2684f3(0x195)]),_0x59cd02['message']||_0x59cd02),'level':_0x3ef1c6[_0x2684f3(0x133)]});}catch(_0x4de245){_0x3ef1c6[_0x2684f3(0x1de)](debug,_0x3ef1c6[_0x2684f3(0x1ea)](_0x3ef1c6['zCTJZ'],_0x4de245));}}),_0xd2e64d['on'](_0x3ef1c6[_0x4ed7c6(0x165)],(_0x31c223,_0x550a4c)=>{const _0x43eb61=_0x4ed7c6,_0x3af81b={'ToyIh':function(_0x501f7c,_0x2b2d77,_0x39a0a7){const _0x155be4=a42_0x5b31;return _0x3ef1c6[_0x155be4(0x1e4)](_0x501f7c,_0x2b2d77,_0x39a0a7);},'AoVAx':_0x3ef1c6[_0x43eb61(0x161)]};try{if(!_0x550a4c||!_0x550a4c[_0x43eb61(0x16e)])return;const _0x1bfb8d=_0x550a4c[_0x43eb61(0x16e)]['id']+'_'+_0x5349e8,_0x569982=_0x3690cf[_0x43eb61(0x122)](_0x1bfb8d);if(!_0x569982)return;const _0x1668b2=new Date(),_0x3ee0f7=_0x3ef1c6['cpeIA'](_0x1668b2[_0x43eb61(0x1b8)](),_0x569982['startTimestamp']);if(_0x3ef1c6[_0x43eb61(0x12c)](_0x569982[_0x43eb61(0x123)]['length'],0x0))_0x569982[_0x43eb61(0x123)][_0x43eb61(0x132)](_0x5d7e9a=>{const _0x27f31e=_0x43eb61,_0x36dece=!!_0x5d7e9a[_0x27f31e(0x1bc)],_0x4eb0dd={'finishedAt':_0x1668b2[_0x27f31e(0x125)](),'durationMs':_0x3ee0f7,'result':_0x36dece?_0x3ef1c6[_0x27f31e(0x1d7)]:_0x3ef1c6[_0x27f31e(0x192)]};_0x36dece&&(_0x4eb0dd[_0x27f31e(0x162)]=_0x5d7e9a['err'][_0x27f31e(0x182)]||'',_0x4eb0dd[_0x27f31e(0x1d1)]=_0x3ef1c6[_0x27f31e(0x14a)](_0x5d7e9a[_0x27f31e(0x1bc)][_0x27f31e(0x1c4)],_0x3ef1c6[_0x27f31e(0x11e)])||_0x5d7e9a[_0x27f31e(0x1bc)]['message']&&_0x5d7e9a[_0x27f31e(0x1bc)][_0x27f31e(0x182)][_0x27f31e(0x1da)](_0x3ef1c6['RzMyM'])?_0x3ef1c6['ruKxt']:_0x3ef1c6['pRPFJ'],_0x4eb0dd[_0x27f31e(0x16d)]=[{'backtrace':_0x5d7e9a[_0x27f31e(0x1bc)][_0x27f31e(0x17f)]?_0x5d7e9a[_0x27f31e(0x1bc)]['stack'][_0x27f31e(0x153)]('\x0a'):[_0x5d7e9a[_0x27f31e(0x1bc)][_0x27f31e(0x182)]||''],'expanded':[]}]),_0x3ef1c6[_0x27f31e(0x115)](emitTest,HookState[_0x27f31e(0x18d)],_0x5d7e9a,_0x569982,_0x3e9b13,_0x4eb0dd);});else{const _0x92d63e=_0x3ef1c6[_0x43eb61(0x1ce)](uuidv4),_0x23190d=_0x569982[_0x43eb61(0x1b4)],_0x232c46=_0x3ef1c6['sbCNi'](_0x23190d,null)&&_0x3ef1c6[_0x43eb61(0x184)](_0x23190d,0xc8)&&_0x3ef1c6[_0x43eb61(0x17c)](_0x23190d,0x190),_0x374802=_0x569982[_0x43eb61(0x1df)]+_0x43eb61(0x1f7)+_0x3ef1c6[_0x43eb61(0x173)](_0x23190d,_0x3ef1c6[_0x43eb61(0x1a2)])+')',_0x48df09={'uuid':_0x92d63e,'name':_0x374802,'identifier':_0x569982['scopes'][_0x43eb61(0x1c7)]([_0x374802])[_0x43eb61(0x112)]('\x20')},_0x3091e4={'finishedAt':_0x1668b2[_0x43eb61(0x125)](),'durationMs':_0x3ee0f7,'result':_0x232c46?_0x3ef1c6[_0x43eb61(0x192)]:_0x3ef1c6[_0x43eb61(0x1d7)]};!_0x232c46&&(_0x3091e4[_0x43eb61(0x162)]=_0x3ef1c6[_0x43eb61(0x130)](_0x23190d,null)?_0x43eb61(0x1e5)+_0x23190d+_0x43eb61(0x1f1):_0x3ef1c6[_0x43eb61(0x146)],_0x3091e4[_0x43eb61(0x1d1)]=_0x3ef1c6[_0x43eb61(0x1c5)],_0x3091e4[_0x43eb61(0x16d)]=[{'backtrace':[_0x3091e4[_0x43eb61(0x162)]],'expanded':[]}]);_0x3ef1c6[_0x43eb61(0x115)](emitTest,HookState['PRE'],_0x48df09,_0x569982,_0x3e9b13,{}),_0x569982['bufferedLogs'][_0x43eb61(0x132)](_0x587f7f=>{const _0xb8fcff=_0x43eb61;_0x3af81b[_0xb8fcff(0x19a)](emitLog,_0x92d63e,{'kind':_0x3af81b[_0xb8fcff(0x1cb)],'message':_0x587f7f[_0xb8fcff(0x182)],'level':_0x587f7f[_0xb8fcff(0x194)]});});if(_0x569982[_0x43eb61(0x1a4)]){_0x3ef1c6[_0x43eb61(0x113)](emitLog,_0x92d63e,{'kind':_0x3ef1c6[_0x43eb61(0x18f)],'http_response':_0x569982[_0x43eb61(0x1a4)]});const _0x38b841=_0x3ef1c6[_0x43eb61(0x1b7)](_0x3ef1c6[_0x43eb61(0x13f)](_0x3ef1c6[_0x43eb61(0x1e9)](_0x3ef1c6[_0x43eb61(0x1ea)](_0x3ef1c6['XesVW'](_0x3ef1c6['KDVgR'](_0x3ef1c6[_0x43eb61(0x19c)](_0x3ef1c6['dLItC'](_0x569982['httpLog'][_0x43eb61(0x15b)]||_0x3ef1c6[_0x43eb61(0x1cc)],'\x20'),_0x569982[_0x43eb61(0x1a4)][_0x43eb61(0x1b9)]),_0x569982['httpLog'][_0x43eb61(0x1a5)]),_0x3ef1c6[_0x43eb61(0x17b)]),_0x569982[_0x43eb61(0x1a4)][_0x43eb61(0x1c3)]),'\x20('),_0x569982[_0x43eb61(0x1a4)][_0x43eb61(0x143)]),_0x3ef1c6[_0x43eb61(0x147)]);_0x3ef1c6[_0x43eb61(0x1ae)](emitLog,_0x92d63e,{'kind':_0x3ef1c6[_0x43eb61(0x161)],'message':_0x38b841,'level':_0x3ef1c6[_0x43eb61(0x119)]});}else _0x3ef1c6[_0x43eb61(0x1bb)](emitLog,_0x92d63e,{'kind':_0x3ef1c6[_0x43eb61(0x161)],'message':_0x3ef1c6[_0x43eb61(0x121)](_0x3ef1c6[_0x43eb61(0x1e9)](_0x3ef1c6[_0x43eb61(0x157)],_0x3ef1c6[_0x43eb61(0x1b1)](_0x23190d,_0x3ef1c6[_0x43eb61(0x1a2)])),_0x3ef1c6[_0x43eb61(0x1d3)]),'level':_0x3ef1c6[_0x43eb61(0x119)]});_0x3ef1c6[_0x43eb61(0x115)](emitTest,HookState[_0x43eb61(0x18d)],_0x48df09,_0x569982,_0x3e9b13,_0x3091e4);}_0x3690cf['delete'](_0x1bfb8d),_0x550a4c[_0x43eb61(0x1ab)]&&_0x550a4c[_0x43eb61(0x1ab)][_0x43eb61(0x1dd)]&&_0x3690cf[_0x43eb61(0x1ee)](_0x550a4c[_0x43eb61(0x1ab)][_0x43eb61(0x1dd)]+'_'+_0x5349e8);}catch(_0x534515){_0x3ef1c6[_0x43eb61(0x1ec)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20item:\x20'+_0x534515);}});}module[a42_0x5eca49(0x193)]=BrowserStackNewmanReporter;
1
+ 'use strict';function a46_0x1a9b(_0x341a6e,_0x149a89){const _0x1a5ec2=a46_0x1a5e();return a46_0x1a9b=function(_0x1a9bc0,_0x48bb9c){_0x1a9bc0=_0x1a9bc0-0x116;let _0x266244=_0x1a5ec2[_0x1a9bc0];return _0x266244;},a46_0x1a9b(_0x341a6e,_0x149a89);}function a46_0x1a5e(){const _0xfd952e=['\x20(HTTP\x20','ZUedv','PRE','newman','QVmeJ','PzFBc','ms)','AGdCr','lUwng','forEach','bs:addLog:','beforeItem','TEST_LOG','kind','timestamp','result','XDujE','edUeR','code','expanded','HyIBm','dliRu','durationMs','105120gvhGPU','UnhandledError','backtrace','collectionName','199jYyjza','testFrameworkVersion','http','relative','efUiK','RgGDN','EmmYW','../../v2/browserstackCLI','listen','../../../helpers/logger','failureReason','nYCbN','ipdPU','apply','http_response','RhGsr','max','ezCWE','[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20','message','set','Luxjr','MFrbR','1120ZZCeWa','bMkhZ','url','failed','http://','path','Exception:\x20','):\x20','itemName','startedAt','messages','PtdOa','event_type','[Newman\x20Reporter]\x20Error\x20in\x20request:\x20','yBcfu','collection.json','KUDms','LNDfS','GzCjj','pending','collection','HTTP\x20','ucbYo','beforeIteration','meTEG','bufferedLogs','scopes','collectionPath','event','error','SbjJg','request','\x20->\x20','mOHwl','testFrameworkName','cWOba','getInstance','No\x20HTTP\x20response\x20received','mEUaz','TRACE','VOLyc','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20','level','241028NfHOWr','oocUP','length','name','ORwXF','object','pathname','get','jfgFb','indexOf','[Newman\x20Reporter]\x20Error\x20in\x20console:\x20','GzboJ','httpLog','lastResponseCode','platformIndex','XoECG','execution','BPcnM','join','failure_reason_expanded','7678195WgsWyx','host','pid','unknown','Assertion\x20','getTestFramework','assertions','108gOgurI','BBwbn','DEBUG','exception','TestRunStarted','POST','XciZs','KyTkJ','headers','CZsnZ','uploadEventData','method','TestRunFinished','../../v2/state/testFrameworkState','12135lOUImb','iEasD','9640472VsJbAZ','vLPIe','ref','removeListener','identifier','location','parent','HTTP','uPuoi','XWKOy','2918196KADBrD','yNSmo','\x20—\x20response\x20status\x20in\x20failure\x20range','passed','DIBVX','stringify','delete','eWlfX','WAeoi','ABoBe','xctAW','logs','string','javascript','CfwVo','WARN','\x20(no\x20assertions)','uuid','status_code','QFBCU','test_run','includes','TKTeD','cursor','push','ERROR','failure','ZAfYQ','cwd','qShEv','9626WJRnAR','resolve','N/A','../../../helpers/test-observability/utils','item','sZWqk','[Newman\x20Reporter]\x20emitTest\x20error:\x20','assertion','toString','search','VHlez','EzdXH','toUpperCase','IaSPl','luHwO','121oizWPk','tbfpF','KMgfn','finishedAt','../../../helpers/test-observability/sessionHandler','trackEvent','pBFZU','jzMof','TEST','tOfXi','INFO','MtTSb','argv','jkhkN','concat','MsXKt','Oqzey','UjNgf','chRmu','LogCreated','stack','../../v2/state/hookState','KdBxG','err','9kQwdhT','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','gYGLc','now','wlqFQ','console','hostname','IauAO','script','split','AssertionError','FrbfP','failureType','HIKwi','mHxXZ','slice','SyaVv','wqZRN','rHKTb','LfJQC','startsWith','testFrameworkState','../../v2/grpcClient','cERde','responseTime','UnzJO','test_run_uuid','response','USLXy','info','toISOString','exports','duration_ms'];a46_0x1a5e=function(){return _0xfd952e;};return a46_0x1a5e();}const a46_0xe264cc=a46_0x1a9b;(function(_0x32a5ff,_0xafe9e2){const _0x5589ac=a46_0x1a9b,_0x25936a=_0x32a5ff();while(!![]){try{const _0x1eda70=-parseInt(_0x5589ac(0x15c))/0x1*(parseInt(_0x5589ac(0x1f2))/0x2)+parseInt(_0x5589ac(0x120))/0x3*(parseInt(_0x5589ac(0x19f))/0x4)+-parseInt(_0x5589ac(0x1c8))/0x5*(parseInt(_0x5589ac(0x1ba))/0x6)+-parseInt(_0x5589ac(0x1b3))/0x7+parseInt(_0x5589ac(0x1ca))/0x8+parseInt(_0x5589ac(0x158))/0x9*(-parseInt(_0x5589ac(0x173))/0xa)+-parseInt(_0x5589ac(0x201))/0xb*(-parseInt(_0x5589ac(0x1d4))/0xc);if(_0x1eda70===_0xafe9e2)break;else _0x25936a['push'](_0x25936a['shift']());}catch(_0x52775a){_0x25936a['push'](_0x25936a['shift']());}}}(a46_0x1a5e,0x9fbf5));const path=require(a46_0xe264cc(0x178)),{v4:uuidv4}=require('uuid'),SessionHandler=require(a46_0xe264cc(0x205)),{debug}=require(a46_0xe264cc(0x1f5)),logger=require(a46_0xe264cc(0x165))['winstonLogger'],BrowserstackCLI=require(a46_0xe264cc(0x163)),GrpcClient=require(a46_0xe264cc(0x136)),TestFrameworkState=require(a46_0xe264cc(0x1c7)),HookState=require(a46_0xe264cc(0x11d)),LOG_LEVELS=[a46_0xe264cc(0x20b),a46_0xe264cc(0x1e3),a46_0xe264cc(0x1ed),a46_0xe264cc(0x1bc),a46_0xe264cc(0x19a)];function isCLIRunning(){try{return BrowserstackCLI['getInstance']()['isRunning']();}catch(_0x42c475){return![];}}function getParentTitles(_0x4ab2a4){const _0x5dc702=a46_0xe264cc,_0x5d0218={'oocUP':function(_0x3907cd,_0x3b5d9a){return _0x3907cd(_0x3b5d9a);},'UnzJO':function(_0x3e4b29,_0x5d7133){return _0x3e4b29(_0x5d7133);}},_0x5753cc=[],_0x4c4b02=_0x4ab2a4['parent']();return _0x4c4b02&&_0x5753cc[_0x5dc702(0x1ec)][_0x5dc702(0x169)](_0x5753cc,_0x5d0218[_0x5dc702(0x1a0)](getParentTitles,_0x4c4b02)),_0x4ab2a4[_0x5dc702(0x1a2)]&&_0x5753cc[_0x5dc702(0x1ec)](_0x5d0218[_0x5dc702(0x139)](String,_0x4ab2a4[_0x5dc702(0x1a2)])),_0x5753cc;}function normalizeLogLevel(_0x38bb68){const _0x4dfc02=a46_0xe264cc,_0x4bf12b={};_0x4bf12b[_0x4dfc02(0x18b)]=_0x4dfc02(0x20b),_0x4bf12b[_0x4dfc02(0x1e2)]=function(_0x29edd3,_0xee5751){return _0x29edd3!==_0xee5751;};const _0x28e988=_0x4bf12b;if(!_0x38bb68)return _0x28e988[_0x4dfc02(0x18b)];const _0x3fe993=_0x38bb68[_0x4dfc02(0x1fe)]();return _0x28e988['CfwVo'](LOG_LEVELS[_0x4dfc02(0x1a8)](_0x3fe993),-0x1)?_0x3fe993:_0x28e988[_0x4dfc02(0x18b)];}function resolveCollectionFile(_0x2e64ba,_0x42a843){const _0x50a572=a46_0xe264cc,_0xdc1e27={};_0xdc1e27[_0x50a572(0x130)]=function(_0x47c64a,_0x3701bc){return _0x47c64a===_0x3701bc;},_0xdc1e27[_0x50a572(0x1c9)]=_0x50a572(0x1e0),_0xdc1e27[_0x50a572(0x132)]='run',_0xdc1e27[_0x50a572(0x1bb)]=function(_0x41ef4e,_0x3628fc){return _0x41ef4e!==_0x3628fc;},_0xdc1e27['ZVaPY']=function(_0x6c6be3,_0x1bef07){return _0x6c6be3<_0x1bef07;},_0xdc1e27[_0x50a572(0x1d2)]=function(_0xc2313f,_0x3ef364){return _0xc2313f+_0x3ef364;},_0xdc1e27[_0x50a572(0x160)]=function(_0x498e63,_0x4f94b1){return _0x498e63+_0x4f94b1;},_0xdc1e27[_0x50a572(0x1ff)]='[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json',_0xdc1e27['jhfYb']=_0x50a572(0x182);const _0x21b026=_0xdc1e27;try{if(_0x42a843&&_0x42a843[_0x50a572(0x18e)])return path[_0x50a572(0x15f)](process[_0x50a572(0x1f0)](),path[_0x50a572(0x1f3)](_0x42a843['collectionPath']));const _0x4925af=_0x2e64ba['collection'];if(_0x21b026[_0x50a572(0x130)](typeof _0x4925af,_0x21b026[_0x50a572(0x1c9)]))return path[_0x50a572(0x15f)](process[_0x50a572(0x1f0)](),path[_0x50a572(0x1f3)](_0x4925af));const _0x27f1a0=process['argv'][_0x50a572(0x1a8)](_0x21b026[_0x50a572(0x132)]);if(_0x21b026[_0x50a572(0x1bb)](_0x27f1a0,-0x1)&&_0x21b026['ZVaPY'](_0x21b026[_0x50a572(0x1d2)](_0x27f1a0,0x1),process[_0x50a572(0x20d)][_0x50a572(0x1a1)])){const _0x20af77=process['argv'][_0x21b026[_0x50a572(0x160)](_0x27f1a0,0x1)];if(_0x20af77&&!_0x20af77[_0x50a572(0x134)]('-'))return path[_0x50a572(0x15f)](process[_0x50a572(0x1f0)](),path[_0x50a572(0x1f3)](_0x20af77));}}catch(_0x3c2a15){}return logger['info'](_0x21b026[_0x50a572(0x1ff)]),_0x21b026['jhfYb'];}function resolveCollectionName(_0x49b31c){const _0x29cdc7=a46_0xe264cc,_0x424e9f={};_0x424e9f['edUeR']=function(_0x5d3982,_0x13fb0a){return _0x5d3982===_0x13fb0a;},_0x424e9f[_0x29cdc7(0x208)]=_0x29cdc7(0x1a4);const _0x52a384=_0x424e9f;try{const _0x21d39f=_0x49b31c[_0x29cdc7(0x187)];if(_0x21d39f&&_0x52a384[_0x29cdc7(0x152)](typeof _0x21d39f,_0x52a384[_0x29cdc7(0x208)]))return _0x21d39f[_0x29cdc7(0x1a2)]||_0x21d39f[_0x29cdc7(0x13d)]&&_0x21d39f[_0x29cdc7(0x13d)][_0x29cdc7(0x1a2)]||null;}catch(_0xc72a80){}return null;}function emitTest(_0x2cc736,_0xd9d4de,_0x4aa0b,_0x183e05,_0x1c3139){const _0x48c2b9=a46_0xe264cc,_0xbe05ef={'QFBCU':function(_0x282385){return _0x282385();},'lOhOF':_0x48c2b9(0x186),'bMkhZ':function(_0x4b806b,_0x5c3c4f){return _0x4b806b(_0x5c3c4f);},'yBcfu':_0x48c2b9(0x144),'nMbIq':_0x48c2b9(0x1e1),'mHxXZ':function(_0x3cca65,_0x459bf6){return _0x3cca65!=_0x459bf6;},'jkhkN':function(_0x41706a,_0x28d9cb){return _0x41706a===_0x28d9cb;},'iyMDl':_0x48c2b9(0x1be),'KMgfn':_0x48c2b9(0x1c6)};if(_0xbe05ef[_0x48c2b9(0x1e7)](isCLIRunning))try{const _0x516fd8=BrowserstackCLI[_0x48c2b9(0x197)]()[_0x48c2b9(0x1b8)]();if(!_0x516fd8)return;_0x516fd8[_0x48c2b9(0x206)](TestFrameworkState['TEST'],_0x2cc736,{'test':{'uuid':_0xd9d4de['uuid'],'name':_0xd9d4de[_0x48c2b9(0x1a2)],'scopes':_0x4aa0b[_0x48c2b9(0x18d)],'scope':_0x4aa0b[_0x48c2b9(0x18d)]['join']('\x20'),'file_path':_0x183e05,'location':_0x4aa0b[_0x48c2b9(0x15b)],'started_at':_0x4aa0b[_0x48c2b9(0x17c)],'finished_at':_0x1c3139[_0x48c2b9(0x204)]||null,'result':_0x1c3139[_0x48c2b9(0x150)]||_0xbe05ef['lOhOF'],'failure':_0x1c3139[_0x48c2b9(0x1ee)]||[],'failure_type':_0x1c3139['failureType']||null,'failure_reason':_0x1c3139['failureReason']||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x81c9f7){_0xbe05ef[_0x48c2b9(0x174)](debug,_0x48c2b9(0x1f8)+_0x81c9f7);}else{const _0x14b681={'uuid':_0xd9d4de[_0x48c2b9(0x1e5)],'name':_0xd9d4de[_0x48c2b9(0x1a2)],'framework':_0xbe05ef[_0x48c2b9(0x181)],'body':{'lang':_0xbe05ef['nMbIq'],'code':null},'scope':_0x4aa0b[_0x48c2b9(0x18d)][_0x48c2b9(0x1b1)]('\x20'),'scopes':_0x4aa0b[_0x48c2b9(0x18d)],'identifier':_0xd9d4de[_0x48c2b9(0x1ce)],'file_name':_0x4aa0b[_0x48c2b9(0x15b)],'vc_filepath':_0x4aa0b[_0x48c2b9(0x1cf)],'location':_0x4aa0b['location'],'started_at':_0x4aa0b[_0x48c2b9(0x17c)],'finished_at':_0x1c3139['finishedAt']||null,'duration_in_ms':_0xbe05ef[_0x48c2b9(0x12e)](_0x1c3139[_0x48c2b9(0x157)],null)?Math[_0x48c2b9(0x16c)](0x0,_0x1c3139[_0x48c2b9(0x157)]):null,'result':_0x1c3139['result']||_0xbe05ef['lOhOF'],'failure_reason':_0x1c3139[_0x48c2b9(0x166)]||null,'failure_type':_0x1c3139[_0x48c2b9(0x12c)]||null,'failure':_0x1c3139[_0x48c2b9(0x1ee)]||[],'retry_of':null,'hooks':[]};_0x14b681[_0x48c2b9(0x1ee)][0x0]&&(_0x14b681['failure_backtrace']=_0x14b681['failure'][0x0][_0x48c2b9(0x15a)],_0x14b681[_0x48c2b9(0x1b2)]=_0x14b681['failure'][0x0][_0x48c2b9(0x154)]);const _0x50b908=_0xbe05ef[_0x48c2b9(0x20e)](_0x2cc736,HookState[_0x48c2b9(0x143)])?_0xbe05ef['iyMDl']:_0xbe05ef[_0x48c2b9(0x203)],_0x4c0b93={};_0x4c0b93[_0x48c2b9(0x17f)]=_0x50b908,_0x4c0b93[_0x48c2b9(0x1e8)]=_0x14b681,SessionHandler[_0x48c2b9(0x1c4)](_0x4c0b93);}}function emitLog(_0x5225e6,_0x12e99e){const _0x278d16=a46_0xe264cc,_0x2ad04f={'HMuSt':'TEST_LOG','FjtHb':function(_0x37c344){return _0x37c344();},'Etfqi':function(_0x12a4a7,_0x61dcda){return _0x12a4a7===_0x61dcda;},'ORwXF':_0x278d16(0x1d1),'gwAGb':'newman','jfgFb':_0x278d16(0x209),'VOLyc':'INFO','lUwng':function(_0x1e783e,_0x94e022){return _0x1e783e(_0x94e022);},'qShEv':function(_0x4b99cf,_0x29bb4a){return _0x4b99cf+_0x29bb4a;},'ReRIa':'[Newman\x20Reporter]\x20emitLog\x20error:\x20','Suczl':_0x278d16(0x11b)},_0x9b4141=_0x12e99e[_0x278d16(0x14e)]||_0x2ad04f['HMuSt'],_0x4453cd=_0x12e99e['timestamp']||new Date()[_0x278d16(0x13e)]();if(_0x2ad04f['FjtHb'](isCLIRunning))try{const _0x5e09cc=_0x2ad04f['Etfqi'](_0x9b4141,_0x2ad04f[_0x278d16(0x1a3)])?JSON[_0x278d16(0x1d9)](_0x12e99e):_0x12e99e[_0x278d16(0x16f)]||'',_0x3fa8be={};_0x3fa8be[_0x278d16(0x1ad)]=0x0,_0x3fa8be[_0x278d16(0x195)]=_0x2ad04f['gwAGb'],_0x3fa8be[_0x278d16(0x15d)]='',_0x3fa8be[_0x278d16(0x135)]=_0x2ad04f[_0x278d16(0x1a7)],_0x3fa8be['logs']=[{'uuid':_0x5225e6,'timestamp':_0x4453cd,'kind':_0x9b4141,'level':_0x12e99e[_0x278d16(0x19e)]||_0x2ad04f[_0x278d16(0x19b)],'message':_0x5e09cc}],GrpcClient[_0x278d16(0x197)]()['logCreatedEvent'](_0x3fa8be);}catch(_0xecb84e){_0x2ad04f[_0x278d16(0x149)](debug,_0x2ad04f[_0x278d16(0x1f1)](_0x2ad04f['ReRIa'],_0xecb84e));}else{const _0x5b9c8b={};_0x5b9c8b[_0x278d16(0x13a)]=_0x5225e6,_0x5b9c8b[_0x278d16(0x14f)]=_0x4453cd,_0x5b9c8b[_0x278d16(0x19e)]=_0x12e99e[_0x278d16(0x19e)]||null,_0x5b9c8b[_0x278d16(0x16f)]=_0x12e99e['message']||null,_0x5b9c8b[_0x278d16(0x14e)]=_0x9b4141,_0x5b9c8b[_0x278d16(0x16a)]=_0x12e99e[_0x278d16(0x16a)]||{};const _0x1981fc={};_0x1981fc['event_type']=_0x2ad04f['Suczl'],_0x1981fc[_0x278d16(0x1df)]=[_0x5b9c8b],SessionHandler[_0x278d16(0x1c4)](_0x1981fc);}}function BrowserStackNewmanReporter(_0x35bfc7,_0x25057e,_0x523ceb){const _0x5265fa=a46_0xe264cc,_0x28bec6={'pBFZU':function(_0x5c3fce,_0x140d34,_0xd62b97){return _0x5c3fce(_0x140d34,_0xd62b97);},'DIBVX':function(_0x152b31,_0x629d08){return _0x152b31(_0x629d08);},'XDujE':function(_0x407b12,_0x49f621){return _0x407b12(_0x49f621);},'TKTeD':function(_0x22bb9f,_0x14ed81){return _0x22bb9f>_0x14ed81;},'MsXKt':function(_0x5c87ab,_0x55541b){return _0x5c87ab(_0x55541b);},'ezCWE':_0x5265fa(0x15e),'cWOba':function(_0x50d64b,_0x1d722f){return _0x50d64b+_0x1d722f;},'wlqFQ':'GET','QVmeJ':function(_0x19dc29,_0x467312){return _0x19dc29(_0x467312);},'AGdCr':function(_0x2ddaf0,_0x20421f,_0x3c544d){return _0x2ddaf0(_0x20421f,_0x3c544d);},'WAeoi':_0x5265fa(0x14d),'cERde':function(_0x4ad0d8){return _0x4ad0d8();},'PtdOa':function(_0x462a7d,_0x53fdae){return _0x462a7d||_0x53fdae;},'XoECG':function(_0x5bb7ef,_0x52400a,_0x4d7904,_0x5d0176,_0x2f9cbe,_0x17ca45){return _0x5bb7ef(_0x52400a,_0x4d7904,_0x5d0176,_0x2f9cbe,_0x17ca45);},'nYCbN':function(_0x372ee4,_0xeb46a1){return _0x372ee4===_0xeb46a1;},'IauAO':function(_0x5d51f8,_0x398edc){return _0x5d51f8>_0x398edc;},'mOHwl':function(_0x15a615,_0x534a3b,_0x240bf5){return _0x15a615(_0x534a3b,_0x240bf5);},'Luxjr':'HTTP','xctAW':function(_0x84905c,_0xfd5d1d){return _0x84905c+_0xfd5d1d;},'XWKOy':function(_0x53e747,_0x523e3d){return _0x53e747+_0x523e3d;},'SbjJg':_0x5265fa(0x193),'sZWqk':_0x5265fa(0x147),'USLXy':_0x5265fa(0x20b),'eWlfX':function(_0x471cda,_0x182441){return _0x471cda-_0x182441;},'ucbYo':function(_0x26ab04,_0x1ab2ab){return _0x26ab04(_0x1ab2ab);},'FrbfP':function(_0x21df55,_0x55573c){return _0x21df55(_0x55573c);},'CYcYS':function(_0x584615,_0x469770){return _0x584615(_0x469770);},'Dqbqn':function(_0x1b7634,_0x522cdb){return _0x1b7634&&_0x522cdb;},'ipdPU':function(_0x4b7360,_0x5468df,_0x1a7ae5){return _0x4b7360(_0x5468df,_0x1a7ae5);},'dpOhS':_0x5265fa(0x179),'GzCjj':_0x5265fa(0x1ed),'XciZs':function(_0x475b1b,_0x3f8b26){return _0x475b1b+_0x3f8b26;},'BPcnM':_0x5265fa(0x19c),'HIKwi':function(_0x1776d9,_0x38a1b2){return _0x1776d9>_0x38a1b2;},'fFIha':_0x5265fa(0x1b6),'CZsnZ':function(_0x4efea7,_0x563e43,_0x4df8b9){return _0x4efea7(_0x563e43,_0x4df8b9);},'chRmu':'Script\x20error\x20(','RgGDN':_0x5265fa(0x17a),'luHwO':function(_0xd5e1b1,_0x5cc29c){return _0xd5e1b1(_0x5cc29c);},'Oqzey':function(_0x34d00b,_0x3e8216){return _0x34d00b+_0x3e8216;},'mEUaz':'[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','KyTkJ':_0x5265fa(0x176),'ZAfYQ':_0x5265fa(0x1d7),'CnrxX':_0x5265fa(0x12a),'ZUedv':'assert','UjNgf':_0x5265fa(0x159),'pxSyk':function(_0x4e569a,_0x5566cc){return _0x4e569a!=_0x5566cc;},'ABoBe':function(_0x1d51c5,_0x2e16a7){return _0x1d51c5>=_0x2e16a7;},'KUDms':function(_0x507c8d,_0xfc6050){return _0x507c8d<_0xfc6050;},'KdBxG':_0x5265fa(0x1f4),'MtTSb':function(_0x1648f6,_0x5a695e){return _0x1648f6!=_0x5a695e;},'YJTWN':_0x5265fa(0x198),'tebgT':function(_0x1e02be,_0x360e68){return _0x1e02be+_0x360e68;},'GzboJ':function(_0x5b5df7,_0x39d6d3){return _0x5b5df7+_0x39d6d3;},'EmmYW':function(_0x301235,_0x234848){return _0x301235+_0x234848;},'yNSmo':function(_0x38f9a2,_0x2df3fb){return _0x38f9a2+_0x2df3fb;},'gYGLc':function(_0x4af8c4,_0x2de40a,_0x4da3a9){return _0x4af8c4(_0x2de40a,_0x4da3a9);},'wqZRN':function(_0x22dc42,_0x3d0cb9){return _0x22dc42+_0x3d0cb9;},'LNDfS':'HTTP\x20Status:\x20','vLPIe':function(_0x106d4c,_0x1fe5d4){return _0x106d4c||_0x1fe5d4;},'LfJQC':_0x5265fa(0x1e4),'dliRu':function(_0x150c03,_0x2f48fb,_0x546796){return _0x150c03(_0x2f48fb,_0x546796);},'tVpjU':'done','NWwXL':_0x5265fa(0x18a),'MFrbR':_0x5265fa(0x14c),'tbfpF':_0x5265fa(0x192),'pwcMT':_0x5265fa(0x1f9),'HyIBm':_0x5265fa(0x125),'LzjzE':_0x5265fa(0x1bd),'RhGsr':_0x5265fa(0x128),'PzFBc':'item'},_0x19590d=new Map();let _0x230dd6=null,_0x13bd8c=0x0;const _0x36a33d=_0x28bec6[_0x5265fa(0x156)](resolveCollectionFile,_0x523ceb,_0x25057e),_0xcc1547=_0x28bec6[_0x5265fa(0x151)](resolveCollectionName,_0x523ceb)||_0x36a33d,_0x247788=path[_0x5265fa(0x1f3)](_0x36a33d),_0x6098da=_0x5265fa(0x14b)+process[_0x5265fa(0x1b5)],_0x428acf=_0xfd1b61=>{const _0x516687=_0x5265fa;try{_0x230dd6&&_0x28bec6[_0x516687(0x207)](emitLog,_0x230dd6,_0xfd1b61);}catch(_0x342178){_0x28bec6[_0x516687(0x1d8)](debug,_0x516687(0x16e)+_0x342178);}};process['on'](_0x6098da,_0x428acf),_0x35bfc7['on'](_0x28bec6['tVpjU'],()=>{const _0x1be6ce=_0x5265fa;process[_0x1be6ce(0x1cd)](_0x6098da,_0x428acf),_0x19590d['clear']();}),_0x35bfc7['on'](_0x28bec6['NWwXL'],(_0x30a7be,_0x929830)=>{const _0x340ade=_0x5265fa;_0x929830&&_0x929830[_0x340ade(0x1eb)]&&(_0x13bd8c=_0x929830[_0x340ade(0x1eb)]['iteration']||0x0);}),_0x35bfc7['on'](_0x28bec6[_0x5265fa(0x172)],(_0x57c8ba,_0x46314c)=>{const _0x525bb0=_0x5265fa;try{_0x230dd6=null;const _0x46cbe2=_0x46314c[_0x525bb0(0x1f6)],_0x4429df=_0x46cbe2[_0x525bb0(0x1d0)]()?_0x28bec6['XDujE'](getParentTitles,_0x46cbe2[_0x525bb0(0x1d0)]()):[],_0x372d9f=_0x28bec6[_0x525bb0(0x1ea)](_0x4429df['length'],0x1)?_0x4429df[_0x525bb0(0x12f)](0x1):_0x4429df,_0x338bf5=_0x46314c[_0x525bb0(0x1eb)]&&_0x46314c['cursor']['ref'],_0x3274aa={'itemName':_0x46cbe2[_0x525bb0(0x1a2)],'scopes':_0x372d9f['concat']([_0x46cbe2[_0x525bb0(0x1a2)]]),'location':_0x36a33d,'collectionName':_0xcc1547,'startedAt':new Date()[_0x525bb0(0x13e)](),'startTimestamp':Date[_0x525bb0(0x123)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x19590d[_0x525bb0(0x170)](_0x46cbe2['id']+'_'+_0x13bd8c,_0x3274aa),_0x338bf5&&_0x19590d[_0x525bb0(0x170)](_0x338bf5+'_'+_0x13bd8c,_0x3274aa);}catch(_0xdd83a9){_0x28bec6[_0x525bb0(0x117)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20'+_0xdd83a9);}}),_0x35bfc7['on'](_0x28bec6[_0x5265fa(0x202)],(_0x2775a9,_0x314e7d)=>{const _0x33a8be=_0x5265fa;try{if(!_0x314e7d||!_0x314e7d['item'])return;const _0x14445f=_0x19590d[_0x33a8be(0x1a6)](_0x314e7d[_0x33a8be(0x1f6)]['id']+'_'+_0x13bd8c);if(!_0x14445f)return;_0x314e7d['response']&&(_0x14445f['lastResponseCode']=_0x314e7d['response'][_0x33a8be(0x153)]||null);if(!_0x314e7d[_0x33a8be(0x192)])return;let _0x57484c='',_0x880386='';if(_0x314e7d[_0x33a8be(0x192)][_0x33a8be(0x175)])try{const _0x226f44=_0x314e7d[_0x33a8be(0x192)][_0x33a8be(0x175)][_0x33a8be(0x1fa)](),_0x1808af=new URL(_0x226f44[_0x33a8be(0x134)](_0x28bec6[_0x33a8be(0x16d)])?_0x226f44:_0x33a8be(0x177)+_0x226f44);_0x57484c=_0x1808af[_0x33a8be(0x126)],_0x880386=_0x28bec6[_0x33a8be(0x196)](_0x1808af[_0x33a8be(0x1a5)],_0x1808af[_0x33a8be(0x1fb)]);}catch(_0x2581dc){_0x880386=_0x314e7d['request'][_0x33a8be(0x175)][_0x33a8be(0x1fa)]();}const _0x41db9e={};_0x41db9e[_0x33a8be(0x1b4)]=_0x57484c,_0x41db9e[_0x33a8be(0x178)]=_0x880386,_0x41db9e[_0x33a8be(0x1c5)]=_0x314e7d['request'][_0x33a8be(0x1c5)]||_0x28bec6['wlqFQ'],_0x41db9e[_0x33a8be(0x1c2)]={},_0x41db9e[_0x33a8be(0x1e6)]=_0x314e7d[_0x33a8be(0x13b)]?_0x314e7d[_0x33a8be(0x13b)][_0x33a8be(0x153)]||0x0:0x0,_0x41db9e[_0x33a8be(0x140)]=_0x314e7d[_0x33a8be(0x13b)]?_0x314e7d[_0x33a8be(0x13b)][_0x33a8be(0x138)]||0x0:0x0,_0x14445f[_0x33a8be(0x1ab)]=_0x41db9e;}catch(_0x1d5e04){_0x28bec6[_0x33a8be(0x145)](debug,_0x33a8be(0x180)+_0x1d5e04);}}),_0x35bfc7['on'](_0x28bec6['pwcMT'],(_0xe20da4,_0x5001db)=>{const _0x3c777d=_0x5265fa,_0x2298f8={'JaJmL':function(_0x202d32,_0x192fea,_0x1ac69a){const _0x45337f=a46_0x1a9b;return _0x28bec6[_0x45337f(0x148)](_0x202d32,_0x192fea,_0x1ac69a);},'tOfXi':_0x28bec6[_0x3c777d(0x1dc)]};try{if(!_0x5001db||!_0x5001db[_0x3c777d(0x1f6)])return;const _0xf2caa2=_0x19590d[_0x3c777d(0x1a6)](_0x5001db[_0x3c777d(0x1f6)]['id']+'_'+_0x13bd8c);if(!_0xf2caa2)return;const _0x244931=_0x5001db[_0x3c777d(0x1f9)]||_0x3c777d(0x1b7)+_0x28bec6[_0x3c777d(0x196)](_0xf2caa2[_0x3c777d(0x1b9)][_0x3c777d(0x1a1)],0x1),_0x597fa6=_0x28bec6[_0x3c777d(0x137)](uuidv4),_0x45010f=_0xf2caa2['scopes'][_0x3c777d(0x116)]([_0x244931])[_0x3c777d(0x1b1)]('\x20');_0xf2caa2[_0x3c777d(0x1b9)]['push']({'uuid':_0x597fa6,'name':_0x244931,'identifier':_0x45010f,'err':_0x28bec6[_0x3c777d(0x17e)](_0xe20da4,null)});const _0x4c02da={};_0x4c02da[_0x3c777d(0x1e5)]=_0x597fa6,_0x4c02da[_0x3c777d(0x1a2)]=_0x244931,_0x4c02da[_0x3c777d(0x1ce)]=_0x45010f,_0x28bec6[_0x3c777d(0x1ae)](emitTest,HookState[_0x3c777d(0x143)],_0x4c02da,_0xf2caa2,_0x247788,{});_0x28bec6[_0x3c777d(0x167)](_0xf2caa2[_0x3c777d(0x1b9)][_0x3c777d(0x1a1)],0x1)&&_0x28bec6['IauAO'](_0xf2caa2[_0x3c777d(0x18c)][_0x3c777d(0x1a1)],0x0)&&(_0xf2caa2[_0x3c777d(0x18c)][_0x3c777d(0x14a)](_0x4f087d=>{const _0x3e9cc9=_0x3c777d;_0x2298f8['JaJmL'](emitLog,_0x597fa6,{'kind':_0x2298f8[_0x3e9cc9(0x20a)],'message':_0x4f087d[_0x3e9cc9(0x16f)],'level':_0x4f087d[_0x3e9cc9(0x19e)]});}),_0xf2caa2[_0x3c777d(0x18c)]=[]);if(_0xf2caa2[_0x3c777d(0x1ab)]){_0x28bec6[_0x3c777d(0x194)](emitLog,_0x597fa6,{'kind':_0x28bec6[_0x3c777d(0x171)],'http_response':_0xf2caa2[_0x3c777d(0x1ab)]});const _0x8b11ce=_0x28bec6[_0x3c777d(0x196)](_0x28bec6['cWOba'](_0x28bec6[_0x3c777d(0x196)](_0x28bec6[_0x3c777d(0x1de)](_0x28bec6[_0x3c777d(0x1d3)](_0x28bec6['xctAW'](_0x28bec6[_0x3c777d(0x196)](_0x28bec6['xctAW'](_0xf2caa2['httpLog'][_0x3c777d(0x1c5)]||_0x28bec6[_0x3c777d(0x124)],'\x20'),_0xf2caa2['httpLog']['host']),_0xf2caa2['httpLog'][_0x3c777d(0x178)]),_0x28bec6[_0x3c777d(0x191)]),_0xf2caa2[_0x3c777d(0x1ab)]['status_code']),'\x20('),_0xf2caa2[_0x3c777d(0x1ab)]['duration_ms']),_0x28bec6[_0x3c777d(0x1f7)]);_0x28bec6[_0x3c777d(0x207)](emitLog,_0x597fa6,{'kind':_0x28bec6['WAeoi'],'message':_0x8b11ce,'level':_0x28bec6[_0x3c777d(0x13c)]});}_0x230dd6=_0x597fa6;}catch(_0x537995){_0x28bec6[_0x3c777d(0x151)](debug,_0x3c777d(0x19d)+_0x537995);}}),_0x35bfc7['on'](_0x28bec6[_0x5265fa(0x155)],(_0x4c3c3a,_0x172072)=>{const _0x551087=_0x5265fa;try{if(!_0x172072)return;let _0x6571f5=_0x230dd6;if(!_0x6571f5&&_0x172072[_0x551087(0x1eb)]&&_0x172072[_0x551087(0x1eb)][_0x551087(0x1cc)]){const _0x196ac6=_0x19590d[_0x551087(0x1a6)](_0x172072[_0x551087(0x1eb)][_0x551087(0x1cc)]+'_'+_0x13bd8c);_0x196ac6&&_0x28bec6[_0x551087(0x127)](_0x196ac6[_0x551087(0x1b9)][_0x551087(0x1a1)],0x0)&&(_0x6571f5=_0x196ac6[_0x551087(0x1b9)][_0x28bec6[_0x551087(0x1db)](_0x196ac6[_0x551087(0x1b9)][_0x551087(0x1a1)],0x1)][_0x551087(0x1e5)]);}const _0x518859=_0x172072['messages']?_0x172072[_0x551087(0x17d)]['join'](',\x20'):'';if(_0x6571f5)_0x28bec6[_0x551087(0x148)](emitLog,_0x6571f5,{'kind':_0x28bec6['WAeoi'],'message':_0x518859,'level':_0x28bec6['DIBVX'](normalizeLogLevel,_0x172072[_0x551087(0x19e)])});else{if(_0x172072[_0x551087(0x1eb)]&&_0x172072[_0x551087(0x1eb)]['ref']){const _0x175a5c=_0x19590d[_0x551087(0x1a6)](_0x172072[_0x551087(0x1eb)][_0x551087(0x1cc)]+'_'+_0x13bd8c);_0x175a5c&&_0x175a5c[_0x551087(0x18c)][_0x551087(0x1ec)]({'timestamp':new Date()['toISOString'](),'level':_0x28bec6[_0x551087(0x189)](normalizeLogLevel,_0x172072['level']),'message':_0x518859});}}}catch(_0x313183){_0x28bec6[_0x551087(0x12b)](debug,_0x551087(0x1a9)+_0x313183);}}),_0x35bfc7['on'](_0x28bec6['LzjzE'],(_0x4a1861,_0x1d4e2c)=>{const _0x10a49c=_0x5265fa;try{if(!_0x4a1861&&(!_0x1d4e2c||!_0x1d4e2c[_0x10a49c(0x190)]))return;const _0x2bdf9a=_0x4a1861||_0x1d4e2c[_0x10a49c(0x190)],_0x314021=_0x2bdf9a['message']||_0x28bec6['CYcYS'](String,_0x2bdf9a),_0x32f566=_0x2bdf9a[_0x10a49c(0x11c)]||_0x314021;let _0x1ab42c=_0x230dd6;if(_0x28bec6['Dqbqn'](!_0x1ab42c,_0x1d4e2c)&&_0x1d4e2c[_0x10a49c(0x1eb)]&&_0x1d4e2c['cursor']['ref']){const _0x321559=_0x19590d[_0x10a49c(0x1a6)](_0x1d4e2c[_0x10a49c(0x1eb)][_0x10a49c(0x1cc)]+'_'+_0x13bd8c);_0x321559&&_0x28bec6['TKTeD'](_0x321559[_0x10a49c(0x1b9)][_0x10a49c(0x1a1)],0x0)&&(_0x1ab42c=_0x321559[_0x10a49c(0x1b9)][_0x28bec6[_0x10a49c(0x1db)](_0x321559[_0x10a49c(0x1b9)]['length'],0x1)]['uuid']);}_0x1ab42c&&_0x28bec6[_0x10a49c(0x168)](emitLog,_0x1ab42c,{'kind':_0x28bec6[_0x10a49c(0x1dc)],'message':_0x28bec6[_0x10a49c(0x196)](_0x28bec6['dpOhS'],_0x32f566),'level':_0x28bec6[_0x10a49c(0x185)]});}catch(_0x5932e6){_0x28bec6[_0x10a49c(0x189)](debug,_0x28bec6[_0x10a49c(0x1c0)](_0x28bec6[_0x10a49c(0x1b0)],_0x5932e6));}}),_0x35bfc7['on'](_0x28bec6[_0x5265fa(0x16b)],(_0x30784e,_0x3c471a)=>{const _0x573115=_0x5265fa;try{if(!_0x3c471a||!_0x3c471a[_0x573115(0x1af)])return;let _0x27580f=_0x230dd6;if(!_0x27580f&&_0x3c471a[_0x573115(0x1eb)]&&_0x3c471a[_0x573115(0x1eb)][_0x573115(0x1cc)]){const _0x17dff4=_0x19590d[_0x573115(0x1a6)](_0x3c471a[_0x573115(0x1eb)][_0x573115(0x1cc)]+'_'+_0x13bd8c);_0x17dff4&&_0x28bec6[_0x573115(0x12d)](_0x17dff4['assertions'][_0x573115(0x1a1)],0x0)&&(_0x27580f=_0x17dff4['assertions'][_0x28bec6[_0x573115(0x1db)](_0x17dff4['assertions'][_0x573115(0x1a1)],0x1)]['uuid']);}if(!_0x27580f)return;const _0x589d46=_0x3c471a[_0x573115(0x18f)]&&_0x3c471a[_0x573115(0x18f)][_0x573115(0x164)]||_0x28bec6['fFIha'];_0x30784e&&_0x28bec6[_0x573115(0x1c3)](emitLog,_0x27580f,{'kind':_0x28bec6[_0x573115(0x1dc)],'message':_0x28bec6[_0x573115(0x1d3)](_0x28bec6[_0x573115(0x1de)](_0x28bec6[_0x573115(0x1c0)](_0x28bec6[_0x573115(0x11a)],_0x589d46),_0x28bec6[_0x573115(0x161)]),_0x30784e[_0x573115(0x16f)]||_0x30784e),'level':_0x28bec6['GzCjj']});}catch(_0x5e7c20){_0x28bec6[_0x573115(0x200)](debug,_0x28bec6[_0x573115(0x118)](_0x28bec6[_0x573115(0x199)],_0x5e7c20));}}),_0x35bfc7['on'](_0x28bec6[_0x5265fa(0x146)],(_0x107ed8,_0x253f90)=>{const _0x2e251a=_0x5265fa,_0x3912cc={'EzdXH':function(_0x166395,_0x4c8130,_0x171afd){const _0x253f33=a46_0x1a9b;return _0x28bec6[_0x253f33(0x148)](_0x166395,_0x4c8130,_0x171afd);},'VHlez':_0x28bec6['WAeoi']};try{if(!_0x253f90||!_0x253f90[_0x2e251a(0x1f6)])return;const _0x245f39=_0x253f90[_0x2e251a(0x1f6)]['id']+'_'+_0x13bd8c,_0x3a9820=_0x19590d[_0x2e251a(0x1a6)](_0x245f39);if(!_0x3a9820)return;const _0x146d3f=new Date(),_0x29117c=_0x28bec6[_0x2e251a(0x1db)](_0x146d3f['getTime'](),_0x3a9820['startTimestamp']);if(_0x28bec6['TKTeD'](_0x3a9820['assertions'][_0x2e251a(0x1a1)],0x0))_0x3a9820[_0x2e251a(0x1b9)][_0x2e251a(0x14a)](_0x17cce6=>{const _0x29d3f2=_0x2e251a,_0xa396a8=!!_0x17cce6[_0x29d3f2(0x11f)],_0x437fff={'finishedAt':_0x146d3f['toISOString'](),'durationMs':_0x29117c,'result':_0xa396a8?_0x28bec6[_0x29d3f2(0x1c1)]:_0x28bec6[_0x29d3f2(0x1ef)]};_0xa396a8&&(_0x437fff[_0x29d3f2(0x166)]=_0x17cce6[_0x29d3f2(0x11f)][_0x29d3f2(0x16f)]||'',_0x437fff['failureType']=_0x28bec6[_0x29d3f2(0x167)](_0x17cce6['err'][_0x29d3f2(0x1a2)],_0x28bec6['CnrxX'])||_0x17cce6[_0x29d3f2(0x11f)]['message']&&_0x17cce6[_0x29d3f2(0x11f)][_0x29d3f2(0x16f)][_0x29d3f2(0x1e9)](_0x28bec6[_0x29d3f2(0x142)])?_0x28bec6['CnrxX']:_0x28bec6[_0x29d3f2(0x119)],_0x437fff[_0x29d3f2(0x1ee)]=[{'backtrace':_0x17cce6[_0x29d3f2(0x11f)]['stack']?_0x17cce6[_0x29d3f2(0x11f)]['stack'][_0x29d3f2(0x129)]('\x0a'):[_0x17cce6['err'][_0x29d3f2(0x16f)]||''],'expanded':[]}]),_0x28bec6['XoECG'](emitTest,HookState[_0x29d3f2(0x1bf)],_0x17cce6,_0x3a9820,_0x247788,_0x437fff);});else{const _0x8761c=_0x28bec6[_0x2e251a(0x137)](uuidv4),_0x4a080d=_0x3a9820[_0x2e251a(0x1ac)],_0xa74b5e=_0x28bec6['pxSyk'](_0x4a080d,null)&&_0x28bec6[_0x2e251a(0x1dd)](_0x4a080d,0xc8)&&_0x28bec6[_0x2e251a(0x183)](_0x4a080d,0x190),_0x28a90f=_0x3a9820[_0x2e251a(0x17b)]+_0x2e251a(0x141)+_0x28bec6[_0x2e251a(0x17e)](_0x4a080d,_0x28bec6[_0x2e251a(0x11e)])+')',_0x5e285f={'uuid':_0x8761c,'name':_0x28a90f,'identifier':_0x3a9820['scopes'][_0x2e251a(0x116)]([_0x28a90f])[_0x2e251a(0x1b1)]('\x20')},_0x470163={'finishedAt':_0x146d3f[_0x2e251a(0x13e)](),'durationMs':_0x29117c,'result':_0xa74b5e?_0x28bec6[_0x2e251a(0x1ef)]:_0x28bec6[_0x2e251a(0x1c1)]};!_0xa74b5e&&(_0x470163['failureReason']=_0x28bec6[_0x2e251a(0x20c)](_0x4a080d,null)?_0x2e251a(0x188)+_0x4a080d+_0x2e251a(0x1d6):_0x28bec6['YJTWN'],_0x470163[_0x2e251a(0x12c)]=_0x28bec6[_0x2e251a(0x119)],_0x470163[_0x2e251a(0x1ee)]=[{'backtrace':[_0x470163[_0x2e251a(0x166)]],'expanded':[]}]);_0x28bec6[_0x2e251a(0x1ae)](emitTest,HookState[_0x2e251a(0x143)],_0x5e285f,_0x3a9820,_0x247788,{}),_0x3a9820[_0x2e251a(0x18c)][_0x2e251a(0x14a)](_0x2eb44a=>{const _0x22aa4c=_0x2e251a;_0x3912cc[_0x22aa4c(0x1fd)](emitLog,_0x8761c,{'kind':_0x3912cc[_0x22aa4c(0x1fc)],'message':_0x2eb44a[_0x22aa4c(0x16f)],'level':_0x2eb44a[_0x22aa4c(0x19e)]});});if(_0x3a9820['httpLog']){_0x28bec6['CZsnZ'](emitLog,_0x8761c,{'kind':_0x28bec6['Luxjr'],'http_response':_0x3a9820[_0x2e251a(0x1ab)]});const _0x1b77e2=_0x28bec6[_0x2e251a(0x196)](_0x28bec6['cWOba'](_0x28bec6['tebgT'](_0x28bec6[_0x2e251a(0x1aa)](_0x28bec6[_0x2e251a(0x162)](_0x28bec6[_0x2e251a(0x1d5)](_0x28bec6[_0x2e251a(0x1de)](_0x28bec6['XWKOy'](_0x3a9820[_0x2e251a(0x1ab)][_0x2e251a(0x1c5)]||_0x28bec6[_0x2e251a(0x124)],'\x20'),_0x3a9820[_0x2e251a(0x1ab)]['host']),_0x3a9820[_0x2e251a(0x1ab)][_0x2e251a(0x178)]),_0x28bec6['SbjJg']),_0x3a9820[_0x2e251a(0x1ab)][_0x2e251a(0x1e6)]),'\x20('),_0x3a9820[_0x2e251a(0x1ab)][_0x2e251a(0x140)]),_0x28bec6[_0x2e251a(0x1f7)]);_0x28bec6[_0x2e251a(0x122)](emitLog,_0x8761c,{'kind':_0x28bec6[_0x2e251a(0x1dc)],'message':_0x1b77e2,'level':_0x28bec6[_0x2e251a(0x13c)]});}else _0x28bec6[_0x2e251a(0x207)](emitLog,_0x8761c,{'kind':_0x28bec6[_0x2e251a(0x1dc)],'message':_0x28bec6[_0x2e251a(0x131)](_0x28bec6[_0x2e251a(0x131)](_0x28bec6[_0x2e251a(0x184)],_0x28bec6[_0x2e251a(0x1cb)](_0x4a080d,_0x28bec6[_0x2e251a(0x11e)])),_0x28bec6[_0x2e251a(0x133)]),'level':_0x28bec6['USLXy']});_0x28bec6[_0x2e251a(0x1ae)](emitTest,HookState['POST'],_0x5e285f,_0x3a9820,_0x247788,_0x470163);}_0x19590d[_0x2e251a(0x1da)](_0x245f39),_0x253f90[_0x2e251a(0x1eb)]&&_0x253f90[_0x2e251a(0x1eb)]['ref']&&_0x19590d[_0x2e251a(0x1da)](_0x253f90[_0x2e251a(0x1eb)][_0x2e251a(0x1cc)]+'_'+_0x13bd8c);}catch(_0x2af55e){_0x28bec6[_0x2e251a(0x189)](debug,_0x2e251a(0x121)+_0x2af55e);}});}module[a46_0xe264cc(0x13f)]=BrowserStackNewmanReporter;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a43_0x5eb8(_0x510d13,_0x3b3d01){const _0x5d4a94=a43_0x5d4a();return a43_0x5eb8=function(_0x5eb8a0,_0x4d22a9){_0x5eb8a0=_0x5eb8a0-0x1ee;let _0x3c09d8=_0x5d4a94[_0x5eb8a0];return _0x3c09d8;},a43_0x5eb8(_0x510d13,_0x3b3d01);}const a43_0x52689f=a43_0x5eb8;(function(_0x1ac0ae,_0x9cc347){const _0x86906b=a43_0x5eb8,_0x1538cb=_0x1ac0ae();while(!![]){try{const _0x184018=parseInt(_0x86906b(0x226))/0x1+parseInt(_0x86906b(0x1fd))/0x2*(parseInt(_0x86906b(0x218))/0x3)+-parseInt(_0x86906b(0x219))/0x4*(parseInt(_0x86906b(0x214))/0x5)+parseInt(_0x86906b(0x216))/0x6+-parseInt(_0x86906b(0x22d))/0x7+-parseInt(_0x86906b(0x207))/0x8*(-parseInt(_0x86906b(0x208))/0x9)+-parseInt(_0x86906b(0x202))/0xa*(parseInt(_0x86906b(0x1f7))/0xb);if(_0x184018===_0x9cc347)break;else _0x1538cb['push'](_0x1538cb['shift']());}catch(_0x4b7e03){_0x1538cb['push'](_0x1538cb['shift']());}}}(a43_0x5d4a,0x8dd58));const path=require(a43_0x52689f(0x203)),Module=require(a43_0x52689f(0x1f4)),BrowserstackCLI=require(a43_0x52689f(0x227)),scriptFile=process[a43_0x52689f(0x221)][0x2],maxParallel=parseInt(process[a43_0x52689f(0x221)][0x3])||0x0;!scriptFile&&(process[a43_0x52689f(0x1f9)][a43_0x52689f(0x224)](a43_0x52689f(0x22e)),process['exit'](0x1));const reporterPath=path[a43_0x52689f(0x21b)](__dirname,a43_0x52689f(0x225),a43_0x52689f(0x201)),originalResolveFilename=Module[a43_0x52689f(0x1fc)];Module['_resolveFilename']=function(_0x4967de,_0x800b99,_0x3b3a00,_0x1f3ce0){const _0x3d66c3=a43_0x52689f,_0x5ad55c={};_0x5ad55c[_0x3d66c3(0x20f)]=function(_0x2c183f,_0x16e679){return _0x2c183f===_0x16e679;},_0x5ad55c[_0x3d66c3(0x205)]='newman-reporter-browserstack';const _0x20854b=_0x5ad55c;if(_0x20854b[_0x3d66c3(0x20f)](_0x4967de,_0x20854b[_0x3d66c3(0x205)]))return reporterPath;return originalResolveFilename[_0x3d66c3(0x20e)](this,_0x4967de,_0x800b99,_0x3b3a00,_0x1f3ce0);};let limit;try{const pLimit=require(a43_0x52689f(0x209)),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a43_0x4bc0c1){limit=function(_0x4527d7){const _0x4f872b={'gOCaQ':function(_0x7e5059){return _0x7e5059();}};return _0x4f872b['gOCaQ'](_0x4527d7);};}let wrappedNewman=null,hasFailure=![];const originalLoad=Module['_load'];function a43_0x5d4a(){const _0x30e4d2=['../v2/browserstackCLI','_load','exitCode','getInstance','resolve','failures','2811676wNqyTR','[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a','error','gROon','beforeExit','ONJHG','SDOEp','string','assign','module','PSVwY','reporters','234883TsNKlK','message','stderr','browserstack','EiAbZ','_resolveFilename','554RYdAxX','gEqJV','collection','imdKq','index.js','10zumoAj','path','cli','bFPOa','length','152pRUVFH','111681JEpfqB','p-limit','create','TlIZv','collectionPath','indexOf','call','KrGBJ','run','exit','newman','EKvwg','5uHuEiu','ARAWL','1255842dVakyn','[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20','5127KdpEEt','155708TuTjHE','Svcgf','join','bind','bootstrap','RqPEA','CuKyb','daRXR','argv','fLxBI','Esqcp','write','reporter','124429uKqLgP'];a43_0x5d4a=function(){return _0x30e4d2;};return a43_0x5d4a();}Module[a43_0x52689f(0x228)]=function(_0x16d9f1,_0x1a2665,_0xd9cf5c){const _0x10f73e=a43_0x52689f,_0xfb329d={'CuKyb':function(_0x58a688,_0x4b0bb6){return _0x58a688>_0x4b0bb6;},'AyEXR':function(_0x46a070,_0x273214){return _0x46a070||_0x273214;},'RqPEA':function(_0x59c7d2,_0x1c5bc8,_0x44ff4c){return _0x59c7d2(_0x1c5bc8,_0x44ff4c);},'EiAbZ':function(_0x57ca73,_0x10fa91){return _0x57ca73(_0x10fa91);},'daRXR':function(_0x3a4d32,_0x58f957,_0x5e6933){return _0x3a4d32(_0x58f957,_0x5e6933);},'ARAWL':_0x10f73e(0x204),'ONJHG':function(_0x7157ff,_0x41cd85){return _0x7157ff===_0x41cd85;},'gROon':_0x10f73e(0x1fa),'Esqcp':_0x10f73e(0x1f2),'Oakwo':function(_0x1d03e3,_0x28d445){return _0x1d03e3!==_0x28d445;},'SDOEp':_0x10f73e(0x212)},_0x26ff7d=originalLoad['call'](this,_0x16d9f1,_0x1a2665,_0xd9cf5c);if(_0xfb329d['Oakwo'](_0x16d9f1,_0xfb329d[_0x10f73e(0x1f1)]))return _0x26ff7d;if(wrappedNewman)return wrappedNewman;const _0x56e504=_0x26ff7d['run'][_0x10f73e(0x21c)](_0x26ff7d);return wrappedNewman=Object[_0x10f73e(0x20a)](_0x26ff7d),wrappedNewman[_0x10f73e(0x210)]=function(_0x461091,_0x1acf94){const _0x18c5b0=_0x10f73e,_0x19e97d={'fLxBI':function(_0x594b18,_0xf71b9b,_0x516ebf){const _0x4cc9b7=a43_0x5eb8;return _0xfb329d[_0x4cc9b7(0x220)](_0x594b18,_0xf71b9b,_0x516ebf);}};let _0x5700c1=_0x461091[_0x18c5b0(0x1f6)]||[_0xfb329d[_0x18c5b0(0x215)]];_0xfb329d['ONJHG'](_0x5700c1[_0x18c5b0(0x20d)](_0xfb329d[_0x18c5b0(0x1ee)]),-0x1)&&(_0x5700c1=_0x5700c1['concat']([_0xfb329d[_0x18c5b0(0x1ee)]]));const _0x515f43=_0xfb329d[_0x18c5b0(0x1f0)](typeof _0x461091[_0x18c5b0(0x1ff)],_0xfb329d[_0x18c5b0(0x223)])?_0x461091[_0x18c5b0(0x1ff)]:undefined,_0x4f27d0={};_0x4f27d0[_0x18c5b0(0x20c)]=_0x515f43;const _0x8364b9=Object[_0x18c5b0(0x1f3)]({},_0x461091[_0x18c5b0(0x225)],{'browserstack':Object['assign']({},_0x461091[_0x18c5b0(0x225)]&&_0x461091[_0x18c5b0(0x225)][_0x18c5b0(0x1fa)],_0x4f27d0)}),_0x476a38={};return _0x476a38['reporters']=_0x5700c1,_0x476a38[_0x18c5b0(0x225)]=_0x8364b9,_0x461091=Object[_0x18c5b0(0x1f3)]({},_0x461091,_0x476a38),_0xfb329d[_0x18c5b0(0x1fb)](limit,function(){const _0x4deaa3={'EKvwg':function(_0x2523d1,_0x25983e){const _0x57113f=a43_0x5eb8;return _0xfb329d[_0x57113f(0x21f)](_0x2523d1,_0x25983e);},'gEqJV':function(_0x4ee748,_0x3e7be7){return _0xfb329d['AyEXR'](_0x4ee748,_0x3e7be7);},'imdKq':function(_0x474c43,_0x40dc0e,_0x138432){const _0x2909bf=a43_0x5eb8;return _0xfb329d[_0x2909bf(0x21e)](_0x474c43,_0x40dc0e,_0x138432);},'redKW':function(_0x3ea957,_0x36225e){return _0xfb329d['EiAbZ'](_0x3ea957,_0x36225e);}};return new Promise(function(_0x5589aa){const _0x3dc07e=a43_0x5eb8;_0x19e97d[_0x3dc07e(0x222)](_0x56e504,_0x461091,function(_0x57800d,_0xb25c49){const _0x18a107=_0x3dc07e,_0x305826=_0xb25c49&&_0xb25c49[_0x18a107(0x210)]&&(_0xb25c49['run'][_0x18a107(0x22f)]||_0xb25c49[_0x18a107(0x210)]['failures']&&_0x4deaa3[_0x18a107(0x213)](_0xb25c49[_0x18a107(0x210)][_0x18a107(0x22c)][_0x18a107(0x206)],0x0));_0x4deaa3[_0x18a107(0x1fe)](_0x305826,_0x57800d)&&(hasFailure=!![]),_0x1acf94&&_0x4deaa3[_0x18a107(0x200)](_0x1acf94,_0x57800d,_0xb25c49),_0x4deaa3['redKW'](_0x5589aa,_0xb25c49);});});});},wrappedNewman;};async function main(){const _0x80bdd6=a43_0x52689f,_0x2a9899={'kmxcE':function(_0x5bdbbb,_0x11963f){return _0x5bdbbb(_0x11963f);},'Svcgf':function(_0x345077,_0x4854c6){return _0x345077+_0x4854c6;},'PSVwY':function(_0x534b34,_0x297fd9){return _0x534b34+_0x297fd9;},'BLkjh':_0x80bdd6(0x217)};try{await BrowserstackCLI[_0x80bdd6(0x22a)]()[_0x80bdd6(0x21d)]();}catch(_0x5fc951){}try{_0x2a9899['kmxcE'](require,path[_0x80bdd6(0x22b)](scriptFile));}catch(_0x34f8c5){process[_0x80bdd6(0x1f9)]['write'](_0x2a9899[_0x80bdd6(0x21a)](_0x2a9899[_0x80bdd6(0x1f5)](_0x2a9899['BLkjh'],_0x34f8c5[_0x80bdd6(0x1f8)]||_0x34f8c5),'\x0a')),process['exitCode']=0x1;}}main(),process['on'](a43_0x52689f(0x1ef),function(){const _0x26d208=a43_0x52689f;hasFailure&&(process[_0x26d208(0x229)]=0x1);}),process['on'](a43_0x52689f(0x211),function(){const _0x1d9280=a43_0x52689f,_0x3e5ea7={};_0x3e5ea7[_0x1d9280(0x20b)]=function(_0x1b71da,_0xa8b824){return _0x1b71da===_0xa8b824;};const _0x543688=_0x3e5ea7;hasFailure&&_0x543688['TlIZv'](process['exitCode'],0x0)&&(process['exitCode']=0x1);});
2
+ 'use strict';const a47_0x17cca0=a47_0x3622;(function(_0x2707d5,_0x13eae7){const _0x245d77=a47_0x3622,_0x15c8a6=_0x2707d5();while(!![]){try{const _0x166b00=-parseInt(_0x245d77(0x12e))/0x1+parseInt(_0x245d77(0x140))/0x2+-parseInt(_0x245d77(0x139))/0x3+parseInt(_0x245d77(0x12d))/0x4+-parseInt(_0x245d77(0x15e))/0x5*(-parseInt(_0x245d77(0x149))/0x6)+parseInt(_0x245d77(0x14a))/0x7+parseInt(_0x245d77(0x143))/0x8*(-parseInt(_0x245d77(0x147))/0x9);if(_0x166b00===_0x13eae7)break;else _0x15c8a6['push'](_0x15c8a6['shift']());}catch(_0x3445f6){_0x15c8a6['push'](_0x15c8a6['shift']());}}}(a47_0x892e,0x4deab));const path=require('path'),Module=require('module'),BrowserstackCLI=require('../v2/browserstackCLI'),scriptFile=process[a47_0x17cca0(0x129)][0x2],maxParallel=parseInt(process[a47_0x17cca0(0x129)][0x3])||0x0;function a47_0x3622(_0x4f789a,_0x3c41d8){const _0x892e82=a47_0x892e();return a47_0x3622=function(_0x362211,_0x37a256){_0x362211=_0x362211-0x127;let _0xd8ebd9=_0x892e82[_0x362211];return _0xd8ebd9;},a47_0x3622(_0x4f789a,_0x3c41d8);}function a47_0x892e(){const _0x135d9f=['IDzfM','AWzpi','length','kQlUi','5rdPnGR','UhUpb','p-limit','[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a','YheEP','beforeExit','cli','lOVlg','OSWLO','join','argv','newman','_resolveFilename','reporters','2511288sGXFMN','46912uIyTyS','jplKc','bind','_load','write','eFAiI','IKPrq','GiEMA','exitCode','newman-reporter-browserstack','bootstrap','632904oktDDf','browserstack','exit','string','zSsQv','EnIFS','reporter','506356OyIqLz','faNbB','lCZuC','52856JIwTZc','run','indexOf','index.js','1611pjSpgt','assign','2729778qOArZP','2966019pBbYYF','wurHA','yMppM','failures','BmBeG','YocLV','DwTFP','error','zGask','ikTdm','concat','[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20','message','stderr','NcWeg','NtJcl'];a47_0x892e=function(){return _0x135d9f;};return a47_0x892e();}!scriptFile&&(process[a47_0x17cca0(0x157)][a47_0x17cca0(0x132)](a47_0x17cca0(0x161)),process[a47_0x17cca0(0x13b)](0x1));const reporterPath=path[a47_0x17cca0(0x128)](__dirname,a47_0x17cca0(0x13f),a47_0x17cca0(0x146)),originalResolveFilename=Module[a47_0x17cca0(0x12b)];Module[a47_0x17cca0(0x12b)]=function(_0x24efc6,_0x580db3,_0x40c1eb,_0x1a889a){const _0x1a7c9e=a47_0x17cca0,_0x33d9dd={};_0x33d9dd[_0x1a7c9e(0x15d)]=function(_0xa53a17,_0xae0581){return _0xa53a17===_0xae0581;},_0x33d9dd[_0x1a7c9e(0x150)]=_0x1a7c9e(0x137);const _0x198659=_0x33d9dd;if(_0x198659[_0x1a7c9e(0x15d)](_0x24efc6,_0x198659[_0x1a7c9e(0x150)]))return reporterPath;return originalResolveFilename['call'](this,_0x24efc6,_0x580db3,_0x40c1eb,_0x1a889a);};let limit;try{const pLimit=require(a47_0x17cca0(0x160)),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a47_0x23a23f){limit=function(_0x2bb876){const _0x1dbd8e={'yQMBh':function(_0x38ac57){return _0x38ac57();}};return _0x1dbd8e['yQMBh'](_0x2bb876);};}let wrappedNewman=null,hasFailure=![];const originalLoad=Module[a47_0x17cca0(0x131)];Module[a47_0x17cca0(0x131)]=function(_0x58cc60,_0x462dde,_0x1a582a){const _0x4150d5=a47_0x17cca0,_0x24dd70={'bpDPz':function(_0x509b0b,_0x55d34c){return _0x509b0b>_0x55d34c;},'sdbQE':function(_0x479efb,_0x118f02){return _0x479efb||_0x118f02;},'NtJcl':function(_0x4c4418,_0x5ab8de,_0x2af84a){return _0x4c4418(_0x5ab8de,_0x2af84a);},'ENoUC':function(_0xe583c8,_0x45e283){return _0xe583c8(_0x45e283);},'fuUpC':_0x4150d5(0x164),'OSWLO':function(_0x129a53,_0x49262a){return _0x129a53===_0x49262a;},'EnIFS':'browserstack','YheEP':function(_0x3ed3f9,_0x415673){return _0x3ed3f9===_0x415673;},'BmBeG':_0x4150d5(0x13c),'HiBvc':function(_0x1157aa,_0xf4bb92){return _0x1157aa(_0xf4bb92);},'NcWeg':function(_0x1407c0,_0x5805ca){return _0x1407c0!==_0x5805ca;},'ikTdm':_0x4150d5(0x12a)},_0x146dbb=originalLoad['call'](this,_0x58cc60,_0x462dde,_0x1a582a);if(_0x24dd70[_0x4150d5(0x158)](_0x58cc60,_0x24dd70[_0x4150d5(0x153)]))return _0x146dbb;if(wrappedNewman)return wrappedNewman;const _0x5df47a=_0x146dbb[_0x4150d5(0x144)][_0x4150d5(0x130)](_0x146dbb);return wrappedNewman=Object['create'](_0x146dbb),wrappedNewman[_0x4150d5(0x144)]=function(_0x2b108a,_0x25306d){const _0x544911=_0x4150d5,_0x5d11e0={'lCZuC':function(_0x4d02b6,_0x225a31){return _0x24dd70['bpDPz'](_0x4d02b6,_0x225a31);},'AWzpi':function(_0x12950c,_0x35e645){return _0x24dd70['sdbQE'](_0x12950c,_0x35e645);},'UhUpb':function(_0x2f712a,_0x295e84,_0x49ab79){const _0x3d01e8=a47_0x3622;return _0x24dd70[_0x3d01e8(0x159)](_0x2f712a,_0x295e84,_0x49ab79);},'YocLV':function(_0x33f44a,_0x2cfe1f){return _0x24dd70['ENoUC'](_0x33f44a,_0x2cfe1f);}};let _0x670d8a=_0x2b108a[_0x544911(0x12c)]||[_0x24dd70['fuUpC']];_0x24dd70[_0x544911(0x127)](_0x670d8a[_0x544911(0x145)](_0x24dd70[_0x544911(0x13e)]),-0x1)&&(_0x670d8a=_0x670d8a[_0x544911(0x154)]([_0x24dd70[_0x544911(0x13e)]]));const _0x559681=_0x24dd70[_0x544911(0x162)](typeof _0x2b108a['collection'],_0x24dd70[_0x544911(0x14e)])?_0x2b108a['collection']:undefined,_0x779abc={};_0x779abc['collectionPath']=_0x559681;const _0x3c7fad=Object[_0x544911(0x148)]({},_0x2b108a[_0x544911(0x13f)],{'browserstack':Object[_0x544911(0x148)]({},_0x2b108a[_0x544911(0x13f)]&&_0x2b108a[_0x544911(0x13f)][_0x544911(0x13a)],_0x779abc)}),_0x32be1b={};return _0x32be1b[_0x544911(0x12c)]=_0x670d8a,_0x32be1b['reporter']=_0x3c7fad,_0x2b108a=Object[_0x544911(0x148)]({},_0x2b108a,_0x32be1b),_0x24dd70['HiBvc'](limit,function(){const _0x108651={'zSsQv':function(_0x5bb550,_0x5a9fca){const _0x1d9d6a=a47_0x3622;return _0x5d11e0[_0x1d9d6a(0x142)](_0x5bb550,_0x5a9fca);},'zGask':function(_0x2f23e3,_0x140040){const _0x28f2ef=a47_0x3622;return _0x5d11e0[_0x28f2ef(0x15b)](_0x2f23e3,_0x140040);},'LWIqj':function(_0xe66b81,_0x309dc7,_0x246576){const _0x4d0cf7=a47_0x3622;return _0x5d11e0[_0x4d0cf7(0x15f)](_0xe66b81,_0x309dc7,_0x246576);},'IKPrq':function(_0x54c9be,_0x35e3cc){const _0x12abab=a47_0x3622;return _0x5d11e0[_0x12abab(0x14f)](_0x54c9be,_0x35e3cc);}};return new Promise(function(_0x4f9eeb){const _0x4e78a0={'eFAiI':function(_0x24e75,_0x28ed1){const _0x509a94=a47_0x3622;return _0x108651[_0x509a94(0x13d)](_0x24e75,_0x28ed1);},'lOVlg':function(_0x2ff40a,_0x5ab86a){const _0x192758=a47_0x3622;return _0x108651[_0x192758(0x152)](_0x2ff40a,_0x5ab86a);},'IDzfM':function(_0x292fc5,_0x3e961d,_0x3da8fa){return _0x108651['LWIqj'](_0x292fc5,_0x3e961d,_0x3da8fa);},'jplKc':function(_0x58d70c,_0x3abc02){const _0x527196=a47_0x3622;return _0x108651[_0x527196(0x134)](_0x58d70c,_0x3abc02);}};_0x108651['LWIqj'](_0x5df47a,_0x2b108a,function(_0x30822a,_0x3306aa){const _0x5b46cc=a47_0x3622,_0x7ea532=_0x3306aa&&_0x3306aa[_0x5b46cc(0x144)]&&(_0x3306aa['run'][_0x5b46cc(0x151)]||_0x3306aa[_0x5b46cc(0x144)][_0x5b46cc(0x14d)]&&_0x4e78a0[_0x5b46cc(0x133)](_0x3306aa['run']['failures'][_0x5b46cc(0x15c)],0x0));_0x4e78a0[_0x5b46cc(0x165)](_0x7ea532,_0x30822a)&&(hasFailure=!![]),_0x25306d&&_0x4e78a0[_0x5b46cc(0x15a)](_0x25306d,_0x30822a,_0x3306aa),_0x4e78a0[_0x5b46cc(0x12f)](_0x4f9eeb,_0x3306aa);});});});},wrappedNewman;};async function main(){const _0xfed9cc=a47_0x17cca0,_0x4c752d={'faNbB':function(_0x3217f7,_0x4febdc){return _0x3217f7(_0x4febdc);},'yMppM':function(_0x553c42,_0x436e01){return _0x553c42+_0x436e01;},'GiEMA':_0xfed9cc(0x155)};try{await BrowserstackCLI['getInstance']()[_0xfed9cc(0x138)]();}catch(_0x4beae9){}try{_0x4c752d[_0xfed9cc(0x141)](require,path['resolve'](scriptFile));}catch(_0xd8ec9b){process[_0xfed9cc(0x157)][_0xfed9cc(0x132)](_0x4c752d[_0xfed9cc(0x14c)](_0x4c752d[_0xfed9cc(0x14c)](_0x4c752d[_0xfed9cc(0x135)],_0xd8ec9b[_0xfed9cc(0x156)]||_0xd8ec9b),'\x0a')),process[_0xfed9cc(0x136)]=0x1;}}main(),process['on'](a47_0x17cca0(0x163),function(){const _0x3e4ee0=a47_0x17cca0;hasFailure&&(process[_0x3e4ee0(0x136)]=0x1);}),process['on'](a47_0x17cca0(0x13b),function(){const _0x3320f4=a47_0x17cca0,_0x985b34={};_0x985b34['wurHA']=function(_0x5cf304,_0x5a63d4){return _0x5cf304===_0x5a63d4;};const _0x3b38a4=_0x985b34;hasFailure&&_0x3b38a4[_0x3320f4(0x14b)](process['exitCode'],0x0)&&(process[_0x3320f4(0x136)]=0x1);});