browserstack-node-sdk 1.67.0 → 1.68.1

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 (221) 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/browserstack.yml.sample +34 -1
  41. package/package.json +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/detox/a11ySetup.js +1 -1
  54. package/src/bin/detox/command.js +1 -1
  55. package/src/bin/detox/modifyDetoxConf.js +1 -1
  56. package/src/bin/detox/traEmitter.js +1 -1
  57. package/src/bin/integrations/command.js +1 -1
  58. package/src/bin/integrations/constants.js +1 -1
  59. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  60. package/src/bin/jasmine/command.js +1 -1
  61. package/src/bin/jasmine/test.setup.js +1 -1
  62. package/src/bin/jasmine/testRunMap.js +1 -1
  63. package/src/bin/jest/command.js +1 -1
  64. package/src/bin/jest/customImplements/customCircus.js +1 -1
  65. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  66. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  67. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  68. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  69. package/src/bin/jest/jest.setup.js +1 -1
  70. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  71. package/src/bin/jest/test-observability/helper.js +1 -1
  72. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  73. package/src/bin/jest/test-observability/test-details.js +1 -1
  74. package/src/bin/jest/test.setup.js +1 -1
  75. package/src/bin/jest/test_before.setup.js +1 -1
  76. package/src/bin/launcher/launcher.js +1 -1
  77. package/src/bin/load/index.js +1 -1
  78. package/src/bin/load/loadErrors.js +1 -1
  79. package/src/bin/load/loadUtils.js +1 -1
  80. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  81. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  82. package/src/bin/mocha/command.js +1 -1
  83. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  84. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  85. package/src/bin/mocha/test.setup.js +1 -1
  86. package/src/bin/newman/command.js +1 -1
  87. package/src/bin/newman/helper.js +1 -1
  88. package/src/bin/newman/reporter/index.js +1 -1
  89. package/src/bin/newman/scriptRunner.js +1 -1
  90. package/src/bin/nightwatch/command.js +1 -1
  91. package/src/bin/node-generic/client.js +1 -1
  92. package/src/bin/playwright/accessibility-helper.js +1 -1
  93. package/src/bin/playwright/command.js +1 -1
  94. package/src/bin/playwright/globalSetup.js +1 -1
  95. package/src/bin/playwright/mock-process.js +1 -1
  96. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  97. package/src/bin/playwright/patches.js +1 -1
  98. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  99. package/src/bin/playwright/reporter/reporter.js +1 -1
  100. package/src/bin/playwright/reporter/test-details.js +1 -1
  101. package/src/bin/playwright/reporterArgs.js +1 -1
  102. package/src/bin/playwright/sessionDetails.js +1 -1
  103. package/src/bin/puppeteer/patches.js +1 -1
  104. package/src/bin/puppeteer/sessionDetails.js +1 -1
  105. package/src/bin/puppeteer/test.setup.js +1 -1
  106. package/src/bin/runner.js +1 -1
  107. package/src/bin/setup.js +1 -1
  108. package/src/bin/test-runner/index.js +1 -1
  109. package/src/bin/test-runner/runTest.js +1 -1
  110. package/src/bin/test-runner/testWorker.js +1 -1
  111. package/src/bin/testcafe/a11y-runner.js +1 -1
  112. package/src/bin/testcafe/command.js +1 -1
  113. package/src/bin/testcafe/reporter/index.js +1 -1
  114. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  115. package/src/bin/testcafe/session-registry.js +1 -1
  116. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  117. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  118. package/src/bin/testcafe/w3c-driver.js +1 -1
  119. package/src/bin/utils/apiUtilityMethods.js +1 -1
  120. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  121. package/src/bin/utils/constants.js +1 -1
  122. package/src/bin/utils/log4jsAppender.js +1 -1
  123. package/src/bin/utils/logPatcher.js +1 -1
  124. package/src/bin/utils/logReportingAPI.js +1 -1
  125. package/src/bin/utils/playwright-patcher.js +1 -1
  126. package/src/bin/utils/puppeteer-patcher.js +1 -1
  127. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  128. package/src/bin/utils/sharedUtils.js +1 -1
  129. package/src/bin/v2/TestInfo.js +1 -1
  130. package/src/bin/v2/browserstackCLI.js +1 -1
  131. package/src/bin/v2/cliUtils.js +1 -1
  132. package/src/bin/v2/customTagManager.js +1 -1
  133. package/src/bin/v2/eventDispatcher.js +1 -1
  134. package/src/bin/v2/framework/automationFramework.js +1 -1
  135. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  136. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  137. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  138. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  139. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  140. package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
  141. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  142. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  143. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  144. package/src/bin/v2/framework/testFramework.js +1 -1
  145. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  146. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  147. package/src/bin/v2/grpcClient.js +1 -1
  148. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  149. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  150. package/src/bin/v2/instances/trackedContext.js +1 -1
  151. package/src/bin/v2/instances/trackedInstance.js +1 -1
  152. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  153. package/src/bin/v2/modules/baseModule.js +1 -1
  154. package/src/bin/v2/modules/loadTestModule.js +1 -1
  155. package/src/bin/v2/modules/observabilityModule.js +1 -1
  156. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  157. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  158. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  159. package/src/bin/v2/modules/testhubModule.js +1 -1
  160. package/src/bin/v2/sdkErrorHandler.js +1 -1
  161. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  162. package/src/bin/v2/state/hookState.js +1 -1
  163. package/src/bin/v2/state/testFrameworkState.js +1 -1
  164. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  165. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  166. package/src/bin/v2/utils/jest-utils.js +1 -1
  167. package/src/bin/vanilla-js/command.js +1 -1
  168. package/src/browserStackSdk.js +1 -1
  169. package/src/helpers/BrowserStackSetup.js +1 -1
  170. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  171. package/src/helpers/accessibility-automation/constants.js +1 -1
  172. package/src/helpers/accessibility-automation/helper.js +1 -1
  173. package/src/helpers/accessibility-automation/scripts.js +1 -1
  174. package/src/helpers/ats/constants.js +1 -1
  175. package/src/helpers/ats/helper.js +1 -1
  176. package/src/helpers/caCertHelper.js +1 -1
  177. package/src/helpers/capsMapping.js +1 -1
  178. package/src/helpers/central-scanner/constants.js +1 -1
  179. package/src/helpers/central-scanner/helpers.js +1 -1
  180. package/src/helpers/classLogger.js +1 -1
  181. package/src/helpers/driverInitErrorReporter.js +1 -1
  182. package/src/helpers/globals.js +1 -1
  183. package/src/helpers/helper.js +1 -1
  184. package/src/helpers/logger.js +1 -1
  185. package/src/helpers/metadata.js +1 -1
  186. package/src/helpers/patchHelper.js +1 -1
  187. package/src/helpers/patchHelpers.js +1 -1
  188. package/src/helpers/percy/Percy.js +1 -1
  189. package/src/helpers/percy/PercyBinary.js +1 -1
  190. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  191. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  192. package/src/helpers/percy/PercySDK.js +1 -1
  193. package/src/helpers/percy/index.js +1 -1
  194. package/src/helpers/percy/utils.js +1 -1
  195. package/src/helpers/performance/constants.js +1 -1
  196. package/src/helpers/performance/performance-tester.js +1 -1
  197. package/src/helpers/playwright-helper.js +1 -1
  198. package/src/helpers/processHelper.js +1 -1
  199. package/src/helpers/puppeteer-helper.js +1 -1
  200. package/src/helpers/request-spy.js +1 -1
  201. package/src/helpers/setKeepAlive.js +1 -1
  202. package/src/helpers/stackFrameUtils.js +1 -1
  203. package/src/helpers/test-observability/constants.js +1 -1
  204. package/src/helpers/test-observability/error-handler.js +1 -1
  205. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  206. package/src/helpers/test-observability/sessionHandler.js +1 -1
  207. package/src/helpers/test-observability/utils.js +1 -1
  208. package/src/helpers/test-orchestration/constants.js +1 -1
  209. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  210. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  211. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  212. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  213. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  214. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  215. package/src/helpers/testhub/constants.js +1 -1
  216. package/src/helpers/testhub/testhubHandler.js +1 -1
  217. package/src/helpers/testhub/utils.js +1 -1
  218. package/src/helpers/utilities.js +1 -1
  219. package/src/helpers/w3cMapping.js +1 -1
  220. package/src/hubAllocationMethods.js +1 -1
  221. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a42_0x1cd11a=a42_0x2871;(function(_0x2aee69,_0x174647){const _0x31f130=a42_0x2871,_0x2e288b=_0x2aee69();while(!![]){try{const _0x2a3ffa=parseInt(_0x31f130(0x14a))/0x1*(parseInt(_0x31f130(0x128))/0x2)+-parseInt(_0x31f130(0x122))/0x3*(parseInt(_0x31f130(0x149))/0x4)+parseInt(_0x31f130(0x13d))/0x5+parseInt(_0x31f130(0x163))/0x6+-parseInt(_0x31f130(0x160))/0x7*(parseInt(_0x31f130(0x148))/0x8)+-parseInt(_0x31f130(0x139))/0x9*(-parseInt(_0x31f130(0x125))/0xa)+-parseInt(_0x31f130(0x164))/0xb;if(_0x2a3ffa===_0x174647)break;else _0x2e288b['push'](_0x2e288b['shift']());}catch(_0x2dd7d0){_0x2e288b['push'](_0x2e288b['shift']());}}}(a42_0x1b15,0xb20c3));const {v4:uuidv4}=require(a42_0x1cd11a(0x11c)),{name,version}=require('../../../../package.json'),logPatcher=require(a42_0x1cd11a(0x150)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a42_0x1cd11a(0x14f)),{consoleHolder}=require(a42_0x1cd11a(0x165)),{getPlatformVersion,isBrowserstackInfra}=require(a42_0x1cd11a(0x126)),{shouldProcessEventForTesthub}=require(a42_0x1cd11a(0x179)),{isFunction}=require(a42_0x1cd11a(0x168)),{patchConsoleLogger}=require('../../../helpers/test-observability/utils');function a42_0x2871(_0x44ee40,_0x103092){const _0x1b157f=a42_0x1b15();return a42_0x2871=function(_0x28711a,_0x268a7b){_0x28711a=_0x28711a-0x11c;let _0x42b78a=_0x1b157f[_0x28711a];return _0x42b78a;},a42_0x2871(_0x44ee40,_0x103092);}function a42_0x1b15(){const _0x433a9b=['failed','getPlatform','lodash','getHooksForTest','oWlLx','CBQLj','_beforeAll','getHookSkippedTests','tIpvH','hookAnalyticsId','KRADZ','ZHSUn','getSession','RXVya','AgXnR','mapTestHooks','sXLmn','ZDEUy','pid','../../../helpers/testhub/utils','uuid','QEXIG','npOUI','indexOf','slice','SrruI','519897KCAvaV','generic','Qxxlk','26620VylviY','../../../helpers/helper','\x20reported\x20against\x20run=','4dQLQeX','reduce','getBrowserVersion','markedStatus','jcLKw','ZEyjC','get','string','concat','hook','aUrtd','PRWFK','suites','parent','state','hFdeu','aHKUx','1683dSZiGa','rUvum','getHookDetails','DRCYY','6701175ioXARM','_afterEach','getCapabilities','fromEntries','tujJG','getTestEnv','wVaPo','Lxlfc','WFhMM','platformVersion','ascvU','88184cPQLlT','4BqiSdd','58452MPobwc','sendPlatformDetails','stringify','forEach','split','../../../helpers/test-observability/utils','../../utils/logPatcher','TEST_PLATFORM','browserstack','toISOString','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','getBrowserName','CnRKH','rTgZE','NNpRo','hqQrm','_beforeEach','type','PuCdZ','toJSON','sendPlatformDetails:\x20session=','substring','455QLUKfn','SINFz','sVspD','4121694gpQfwL','11250855uvAHNy','../../../helpers/test-observability/constants'];a42_0x1b15=function(){return _0x433a9b;};return a42_0x1b15();}patchConsoleLogger(),exports[a42_0x1cd11a(0x142)]=()=>{const _0xf9057e=a42_0x1cd11a,_0x40cfde={'SrruI':_0xf9057e(0x123),'HhZCB':function(_0x5a50af){return _0x5a50af();}};return{'ci':_0x40cfde[_0xf9057e(0x121)],'key':_0x40cfde['HhZCB'](uuidv4),'version':version,'collector':'js-'+name};},exports[a42_0x1cd11a(0x13b)]=_0x39e101=>{const _0x3285fe=a42_0x1cd11a,_0x559b32={};_0x559b32[_0x3285fe(0x171)]=function(_0x45bd45,_0x3442b7){return _0x45bd45!==_0x3442b7;},_0x559b32[_0x3285fe(0x124)]=_0x3285fe(0x12f),_0x559b32[_0x3285fe(0x157)]=function(_0x43602d,_0x10a142){return _0x43602d!==_0x10a142;},_0x559b32[_0x3285fe(0x144)]='hook:',_0x559b32[_0x3285fe(0x13c)]=_0x3285fe(0x131);const _0x4dd18f=_0x559b32;if(!_0x39e101||_0x4dd18f[_0x3285fe(0x171)](typeof _0x39e101,_0x4dd18f[_0x3285fe(0x124)]))return[null,null];if(_0x4dd18f[_0x3285fe(0x157)](_0x39e101[_0x3285fe(0x11f)](_0x4dd18f['Lxlfc']),-0x1)){const _0x5b82c3=_0x39e101[_0x3285fe(0x14e)](_0x4dd18f[_0x3285fe(0x144)]);return[_0x5b82c3[0x0][_0x3285fe(0x120)](0x0,-0x1)['split']('\x22')[0x1],_0x5b82c3[0x1][_0x3285fe(0x15f)](0x1)];}else{if(_0x4dd18f[_0x3285fe(0x157)](_0x39e101[_0x3285fe(0x11f)](_0x4dd18f[_0x3285fe(0x13c)]),-0x1)){const _0x145eab=_0x39e101[_0x3285fe(0x14e)](_0x4dd18f[_0x3285fe(0x13c)]);return[_0x145eab[0x0][_0x3285fe(0x120)](0x0,-0x1)[_0x3285fe(0x14e)]('\x22')[0x1],_0x39e101];}}return[null,null];},exports[a42_0x1cd11a(0x169)]=_0x39dcb8=>{const _0x42b262=a42_0x1cd11a,_0x15aaf8={'AgXnR':function(_0x3469dd,_0x54a94f){return _0x3469dd(_0x54a94f);},'XdlgV':_0x42b262(0x16c),'aUrtd':'_afterAll','KRADZ':'_beforeEach','wVaPo':_0x42b262(0x13e)};if(!_0x39dcb8||!_0x39dcb8['parent'])return[];const _0x5a0703=[];return[_0x15aaf8['XdlgV'],_0x15aaf8[_0x42b262(0x132)],_0x15aaf8[_0x42b262(0x170)],_0x15aaf8[_0x42b262(0x143)]][_0x42b262(0x14d)](_0xf9ddca=>{const _0x460e8d=_0x42b262,_0x4b9688={'hqQrm':function(_0x557215,_0x278d05){const _0x1fb5cf=a42_0x2871;return _0x15aaf8[_0x1fb5cf(0x174)](_0x557215,_0x278d05);}},_0x198e7b=_0x39dcb8[_0x460e8d(0x135)][_0xf9ddca]||[];_0x198e7b['forEach'](_0x5e8b23=>{const _0x20685d=_0x460e8d;_0x5e8b23[_0x20685d(0x16f)]&&!_0x4b9688[_0x20685d(0x159)](isInternalHook,_0x5e8b23['fn'])&&_0x5a0703['push'](_0x5e8b23[_0x20685d(0x16f)]);});}),[..._0x5a0703,...exports['getHooksForTest'](_0x39dcb8['parent'])];},exports[a42_0x1cd11a(0x175)]=_0x29307c=>{const _0x460d08=a42_0x1cd11a,_0x4b59ed={'RXVya':function(_0x448e29){return _0x448e29();},'PuCdZ':function(_0x34f276,_0x1be1e0){return _0x34f276===_0x1be1e0;},'ZEyjC':_0x460d08(0x13e),'XcILj':'_beforeAll','hFdeu':'_afterAll','jcLKw':_0x460d08(0x15a)};if(!_0x29307c||!_0x29307c[_0x460d08(0x135)])return;[_0x4b59ed['XcILj'],_0x4b59ed[_0x460d08(0x137)],_0x4b59ed[_0x460d08(0x12c)],_0x4b59ed[_0x460d08(0x12d)]][_0x460d08(0x14d)](_0x2aaf3b=>{const _0x18d8db=_0x460d08,_0x15ac38={'tujJG':function(_0x389e97){const _0x5a1d8d=a42_0x2871;return _0x4b59ed[_0x5a1d8d(0x173)](_0x389e97);},'sVspD':function(_0x459706,_0x5589aa){const _0x3dd272=a42_0x2871;return _0x4b59ed[_0x3dd272(0x15c)](_0x459706,_0x5589aa);},'tIpvH':_0x4b59ed['ZEyjC']},_0x5ea13f=_0x29307c['parent'][_0x2aaf3b]||[];_0x5ea13f[_0x18d8db(0x14d)](_0x191d09=>{const _0x316201=_0x18d8db;if(!_0x191d09[_0x316201(0x16f)])_0x191d09[_0x316201(0x16f)]=_0x15ac38[_0x316201(0x141)](uuidv4);else _0x191d09[_0x316201(0x12b)]&&_0x15ac38[_0x316201(0x162)](_0x2aaf3b,_0x15ac38[_0x316201(0x16e)])&&(_0x191d09[_0x316201(0x16f)]=_0x15ac38[_0x316201(0x141)](uuidv4),delete _0x191d09['markedStatus']);});}),exports[_0x460d08(0x175)](_0x29307c['parent']);},exports[a42_0x1cd11a(0x14b)]=async(_0xc3a268,_0x1759b6)=>{const _0x37338a=a42_0x1cd11a,_0x5a094a={'fZNFe':function(_0x1514e4){return _0x1514e4();},'QEXIG':function(_0x4b639d){return _0x4b639d();},'PRWFK':_0x37338a(0x152),'rUvum':function(_0x5d26fb,_0xe9f774,_0x4ae018){return _0x5d26fb(_0xe9f774,_0x4ae018);},'npOUI':_0x37338a(0x146),'CBQLj':function(_0x177313,_0x3a5a43){return _0x177313(_0x3a5a43);},'lVTLU':function(_0xda6244,_0x44ee90){return _0xda6244===_0x44ee90;},'sXLmn':'unknown_grid','CnRKH':_0x37338a(0x151),'NNpRo':function(_0x311aaa,_0x140b77){return _0x311aaa(_0x140b77);}};try{if(!_0x5a094a['fZNFe'](shouldProcessEventForTesthub))return;const _0x474442=await _0xc3a268[_0x37338a(0x13f)](),_0x206ad0=await _0xc3a268[_0x37338a(0x172)](),_0x50eef3={},_0xa770d1=Object[_0x37338a(0x140)](_0x206ad0[_0x37338a(0x13f)]()['map_']),_0xea62ee=_0x5a094a[_0x37338a(0x11d)](isBrowserstackInfra)?_0x5a094a[_0x37338a(0x133)]:global['__cloud_provider___'],_0x549af0={'product':_0x5a094a[_0x37338a(0x13a)](getObservabilityLinkedProductName,_0xa770d1,_0xea62ee),'capabilities':_0xa770d1,'platform':_0x474442[_0x37338a(0x167)](),'platform_version':_0x474442[_0x37338a(0x12e)](_0x5a094a[_0x37338a(0x11e)])?_0x474442[_0x37338a(0x12e)](_0x5a094a[_0x37338a(0x11e)]):_0x5a094a[_0x37338a(0x16b)](getPlatformVersion,_0x5a094a['lVTLU'](_0xea62ee,_0x5a094a[_0x37338a(0x133)])),'browser':_0x474442[_0x37338a(0x155)](),'browser_version':_0x474442[_0x37338a(0x12a)](),'session_id':_0x206ad0[_0x37338a(0x15d)]()};return _0xea62ee?_0x50eef3[_0xea62ee]=_0x549af0:_0x50eef3[_0x5a094a[_0x37338a(0x176)]]=_0x549af0,_0x5a094a[_0x37338a(0x16b)](debug,_0x37338a(0x15e)+JSON[_0x37338a(0x14c)](_0x549af0['session_id'])+_0x37338a(0x127)+_0x1759b6),process['emit']('bs:addPlatformDetails:'+process[_0x37338a(0x178)],{'timestamp':new Date()[_0x37338a(0x153)](),'level':null,'message':null,'kind':_0x5a094a[_0x37338a(0x156)],'http_response':_0x50eef3,'uuid':_0x1759b6}),!![];}catch(_0x357269){return _0x5a094a[_0x37338a(0x158)](debug,_0x37338a(0x154)+_0x357269),![];}},exports[a42_0x1cd11a(0x16d)]=_0x5e1445=>{const _0x1219dd=a42_0x1cd11a,_0xd775db={};_0xd775db[_0x1219dd(0x147)]=function(_0x168766,_0x257032){return _0x168766!==_0x257032;},_0xd775db[_0x1219dd(0x177)]=_0x1219dd(0x131),_0xd775db[_0x1219dd(0x145)]=function(_0x54ecb2,_0x92cdc7){return _0x54ecb2!==_0x92cdc7;},_0xd775db[_0x1219dd(0x16a)]='passed',_0xd775db[_0x1219dd(0x161)]=function(_0x1ec7d4,_0x3e7c6d){return _0x1ec7d4!==_0x3e7c6d;},_0xd775db[_0x1219dd(0x138)]=_0x1219dd(0x166);const _0x321316=_0xd775db,_0x332c45=_0x5e1445[_0x1219dd(0x134)][_0x1219dd(0x129)]((_0x5e103c,_0x4fef3a)=>{const _0x4a1fe4=_0x1219dd,_0x211628=exports[_0x4a1fe4(0x16d)](_0x4fef3a);return _0x211628&&(_0x5e103c=_0x5e103c['concat'](_0x211628)),_0x5e103c;},[]),_0x44ae21=_0x5e1445['tests']['filter'](_0x31a79e=>{const _0x3c8f90=_0x1219dd,_0x25f64b=_0x321316[_0x3c8f90(0x147)](_0x31a79e[_0x3c8f90(0x15b)],_0x321316[_0x3c8f90(0x177)])&&!_0x31a79e[_0x3c8f90(0x12b)]&&_0x321316[_0x3c8f90(0x145)](_0x31a79e[_0x3c8f90(0x136)],_0x321316[_0x3c8f90(0x16a)])&&_0x321316[_0x3c8f90(0x161)](_0x31a79e[_0x3c8f90(0x136)],_0x321316['aHKUx'])&&!_0x31a79e['pending'];return _0x25f64b;});return _0x44ae21[_0x1219dd(0x130)](_0x332c45);};
1
+ const a42_0x33f8ce=a42_0x3f4f;(function(_0x44f955,_0x11378b){const _0x439352=a42_0x3f4f,_0x16924f=_0x44f955();while(!![]){try{const _0x3b4d1a=-parseInt(_0x439352(0xe6))/0x1+parseInt(_0x439352(0xe2))/0x2+parseInt(_0x439352(0xb0))/0x3+parseInt(_0x439352(0xee))/0x4*(-parseInt(_0x439352(0xeb))/0x5)+-parseInt(_0x439352(0xba))/0x6*(parseInt(_0x439352(0xa0))/0x7)+-parseInt(_0x439352(0xc5))/0x8*(-parseInt(_0x439352(0xd5))/0x9)+-parseInt(_0x439352(0xdf))/0xa*(parseInt(_0x439352(0xed))/0xb);if(_0x3b4d1a===_0x11378b)break;else _0x16924f['push'](_0x16924f['shift']());}catch(_0x33df4c){_0x16924f['push'](_0x16924f['shift']());}}}(a42_0x5cbe,0x3b33b));function a42_0x3f4f(_0x3eac6b,_0x335d42){const _0x5cbe87=a42_0x5cbe();return a42_0x3f4f=function(_0x3f4f30,_0x23bccb){_0x3f4f30=_0x3f4f30-0x9d;let _0x3acdb9=_0x5cbe87[_0x3f4f30];return _0x3acdb9;},a42_0x3f4f(_0x3eac6b,_0x335d42);}function a42_0x5cbe(){const _0xa21bbd=['xITZS','MdjAZ','slice','smJpg','JbDXT','uuid','mapTestHooks','getSession','lvRjZ','UrjGE','mbUfb','type','map_','forEach','getHooksForTest','52317sBmZuE','YalhQ','sendPlatformDetails:\x20session=','TEST_PLATFORM','xMPjm','WNwOc','_beforeAll','__cloud_provider___','get','RiBgj','53400WgdnGO','zPCGB','indexOf','444828nSSsgh','getHookDetails','fromEntries','eBMXD','34722YGmAql','komBd','reduce','stringify','getBrowserName','38345UyhgOt','RrAVn','33jgzbRr','84EuTDTK','getBrowserVersion','passed','markedStatus','hook','getPlatform','lodash','Qpqjr','oBtOG','parent','pid','hook:','GbzQl','concat','toJSON','28DGhAIO','split','string','tests','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','uycTs','generic','browserstack','../../../helpers/test-observability/utils','push','ZyTyG','failed','suites','state','session_id','vcVuk','566304bVXvoY','OryRe','../../utils/logPatcher','VlzPE','hookAnalyticsId','NrCSd','getTestEnv','toISOString','pending','voJTP','458520chlyRt','xlzyP','ItpnW','_afterAll','XjMdo','../../../helpers/test-observability/constants','../../../../package.json','_beforeEach','platformVersion','\x20reported\x20against\x20run=','getCapabilities','480YQetyX'];a42_0x5cbe=function(){return _0xa21bbd;};return a42_0x5cbe();}const {v4:uuidv4}=require(a42_0x33f8ce(0xcb)),{name,version}=require(a42_0x33f8ce(0xc0)),logPatcher=require(a42_0x33f8ce(0xb2)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a42_0x33f8ce(0xa8)),{consoleHolder}=require(a42_0x33f8ce(0xbf)),{getPlatformVersion,isBrowserstackInfra}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils'),{isFunction}=require(a42_0x33f8ce(0xf4)),{patchConsoleLogger}=require(a42_0x33f8ce(0xa8));patchConsoleLogger(),exports[a42_0x33f8ce(0xb6)]=()=>{const _0x3e853f=a42_0x33f8ce,_0x37f204={'YoIdm':_0x3e853f(0xa6),'aDHlf':function(_0x311540){return _0x311540();}};return{'ci':_0x37f204['YoIdm'],'key':_0x37f204['aDHlf'](uuidv4),'version':version,'collector':'js-'+name};},exports[a42_0x33f8ce(0xe3)]=_0x569601=>{const _0x418c25=a42_0x33f8ce,_0x2de3b5={};_0x2de3b5[_0x418c25(0xca)]=function(_0x2c426f,_0x3db930){return _0x2c426f!==_0x3db930;},_0x2de3b5[_0x418c25(0xc7)]=_0x418c25(0xa2),_0x2de3b5['NVROd']=function(_0x4ce06f,_0x499eb6){return _0x4ce06f!==_0x499eb6;},_0x2de3b5[_0x418c25(0xe5)]=_0x418c25(0xf9),_0x2de3b5[_0x418c25(0xc9)]=function(_0xc75c62,_0xd8e565){return _0xc75c62!==_0xd8e565;},_0x2de3b5[_0x418c25(0xf5)]='hook';const _0x224fd0=_0x2de3b5;if(!_0x569601||_0x224fd0[_0x418c25(0xca)](typeof _0x569601,_0x224fd0[_0x418c25(0xc7)]))return[null,null];if(_0x224fd0['NVROd'](_0x569601['indexOf'](_0x224fd0[_0x418c25(0xe5)]),-0x1)){const _0x10e642=_0x569601[_0x418c25(0xa1)](_0x224fd0[_0x418c25(0xe5)]);return[_0x10e642[0x0]['slice'](0x0,-0x1)['split']('\x22')[0x1],_0x10e642[0x1]['substring'](0x1)];}else{if(_0x224fd0[_0x418c25(0xc9)](_0x569601[_0x418c25(0xe1)](_0x224fd0['Qpqjr']),-0x1)){const _0x55fee9=_0x569601[_0x418c25(0xa1)](_0x224fd0[_0x418c25(0xf5)]);return[_0x55fee9[0x0][_0x418c25(0xc8)](0x0,-0x1)[_0x418c25(0xa1)]('\x22')[0x1],_0x569601];}}return[null,null];},exports[a42_0x33f8ce(0xd4)]=_0x4e2387=>{const _0x38c5c0=a42_0x33f8ce,_0x41fbf3={'oBtOG':function(_0x4a68e5,_0x3f9dc2){return _0x4a68e5(_0x3f9dc2);},'RiBgj':'_beforeAll','RrAVn':_0x38c5c0(0xbd),'mpRuM':_0x38c5c0(0xc1),'xMPjm':'_afterEach'};if(!_0x4e2387||!_0x4e2387[_0x38c5c0(0xf7)])return[];const _0x12bcfc=[];return[_0x41fbf3[_0x38c5c0(0xde)],_0x41fbf3[_0x38c5c0(0xec)],_0x41fbf3['mpRuM'],_0x41fbf3[_0x38c5c0(0xd9)]][_0x38c5c0(0xd3)](_0x1473c9=>{const _0x40586a=_0x38c5c0,_0x20a24a=_0x4e2387[_0x40586a(0xf7)][_0x1473c9]||[];_0x20a24a[_0x40586a(0xd3)](_0x32c55c=>{const _0x1a67be=_0x40586a;_0x32c55c[_0x1a67be(0xb4)]&&!_0x41fbf3[_0x1a67be(0xf6)](isInternalHook,_0x32c55c['fn'])&&_0x12bcfc[_0x1a67be(0xa9)](_0x32c55c[_0x1a67be(0xb4)]);});}),[..._0x12bcfc,...exports['getHooksForTest'](_0x4e2387[_0x38c5c0(0xf7)])];},exports['mapTestHooks']=_0x5d63dd=>{const _0x257cbb=a42_0x33f8ce,_0x5d8f08={'komBd':function(_0x19b74b){return _0x19b74b();},'NrCSd':function(_0x13c2fd,_0x100394){return _0x13c2fd===_0x100394;},'voJTP':'_afterEach','UrjGE':_0x257cbb(0xdb),'zPCGB':_0x257cbb(0xbd),'GbzQl':_0x257cbb(0xc1)};if(!_0x5d63dd||!_0x5d63dd[_0x257cbb(0xf7)])return;[_0x5d8f08[_0x257cbb(0xcf)],_0x5d8f08[_0x257cbb(0xe0)],_0x5d8f08[_0x257cbb(0x9d)],_0x5d8f08[_0x257cbb(0xb9)]][_0x257cbb(0xd3)](_0x12d1e9=>{const _0x89cb96=_0x257cbb,_0x3bc98d={'xITZS':function(_0x5cf66f){return _0x5d8f08['komBd'](_0x5cf66f);},'OryRe':function(_0x5bee3d,_0x321c76){const _0x4ed437=a42_0x3f4f;return _0x5d8f08[_0x4ed437(0xb5)](_0x5bee3d,_0x321c76);},'bFjkS':_0x5d8f08['voJTP'],'xlzyP':function(_0x3acf75){const _0x856536=a42_0x3f4f;return _0x5d8f08[_0x856536(0xe7)](_0x3acf75);}},_0x3015b9=_0x5d63dd[_0x89cb96(0xf7)][_0x12d1e9]||[];_0x3015b9[_0x89cb96(0xd3)](_0x29ca7a=>{const _0x18f6cb=_0x89cb96;if(!_0x29ca7a[_0x18f6cb(0xb4)])_0x29ca7a['hookAnalyticsId']=_0x3bc98d[_0x18f6cb(0xc6)](uuidv4);else _0x29ca7a[_0x18f6cb(0xf1)]&&_0x3bc98d[_0x18f6cb(0xb1)](_0x12d1e9,_0x3bc98d['bFjkS'])&&(_0x29ca7a[_0x18f6cb(0xb4)]=_0x3bc98d[_0x18f6cb(0xbb)](uuidv4),delete _0x29ca7a[_0x18f6cb(0xf1)]);});}),exports[_0x257cbb(0xcc)](_0x5d63dd['parent']);},exports['sendPlatformDetails']=async(_0x2f4665,_0x52b15e)=>{const _0x333750=a42_0x33f8ce,_0x3c737f={'ItpnW':function(_0x2f7944){return _0x2f7944();},'WNwOc':_0x333750(0xa7),'JLuNc':function(_0x17d5a8,_0x3f4e51,_0x44ed15){return _0x17d5a8(_0x3f4e51,_0x44ed15);},'VlzPE':_0x333750(0xc2),'ZyTyG':function(_0xe7da89,_0x5d2a55){return _0xe7da89(_0x5d2a55);},'BqRIY':function(_0x314aa0,_0x39319b){return _0x314aa0===_0x39319b;},'mbUfb':'unknown_grid','tFRpa':_0x333750(0xd8)};try{if(!_0x3c737f[_0x333750(0xbc)](shouldProcessEventForTesthub))return;const _0x31b302=await _0x2f4665[_0x333750(0xc4)](),_0x527e93=await _0x2f4665[_0x333750(0xcd)](),_0x43ef91={},_0x4e97a9=Object[_0x333750(0xe4)](_0x527e93[_0x333750(0xc4)]()[_0x333750(0xd2)]),_0x3765e5=_0x3c737f[_0x333750(0xbc)](isBrowserstackInfra)?_0x3c737f[_0x333750(0xda)]:global[_0x333750(0xdc)],_0x227170={'product':_0x3c737f['JLuNc'](getObservabilityLinkedProductName,_0x4e97a9,_0x3765e5),'capabilities':_0x4e97a9,'platform':_0x31b302[_0x333750(0xf3)](),'platform_version':_0x31b302[_0x333750(0xdd)](_0x3c737f[_0x333750(0xb3)])?_0x31b302['get'](_0x3c737f[_0x333750(0xb3)]):_0x3c737f[_0x333750(0xaa)](getPlatformVersion,_0x3c737f['BqRIY'](_0x3765e5,_0x3c737f[_0x333750(0xda)])),'browser':_0x31b302[_0x333750(0xea)](),'browser_version':_0x31b302[_0x333750(0xef)](),'session_id':_0x527e93[_0x333750(0x9f)]()};return _0x3765e5?_0x43ef91[_0x3765e5]=_0x227170:_0x43ef91[_0x3c737f[_0x333750(0xd0)]]=_0x227170,_0x3c737f[_0x333750(0xaa)](debug,_0x333750(0xd7)+JSON[_0x333750(0xe9)](_0x227170[_0x333750(0xae)])+_0x333750(0xc3)+_0x52b15e),process['emit']('bs:addPlatformDetails:'+process[_0x333750(0xf8)],{'timestamp':new Date()[_0x333750(0xb7)](),'level':null,'message':null,'kind':_0x3c737f['tFRpa'],'http_response':_0x43ef91,'uuid':_0x52b15e}),!![];}catch(_0x484446){return _0x3c737f['ZyTyG'](debug,_0x333750(0xa4)+_0x484446),![];}},exports['getHookSkippedTests']=_0x35c134=>{const _0x493211=a42_0x33f8ce,_0x5d82d7={};_0x5d82d7[_0x493211(0xd6)]=function(_0xbffefa,_0x116ed9){return _0xbffefa!==_0x116ed9;},_0x5d82d7[_0x493211(0xa5)]=_0x493211(0xf2),_0x5d82d7['vcVuk']=_0x493211(0xf0),_0x5d82d7[_0x493211(0xce)]=function(_0x301b96,_0x5f2ee0){return _0x301b96!==_0x5f2ee0;},_0x5d82d7[_0x493211(0xbe)]=_0x493211(0xab);const _0x48f965=_0x5d82d7,_0x162675=_0x35c134[_0x493211(0xac)][_0x493211(0xe8)]((_0x51f1bd,_0x48fe53)=>{const _0x2ea408=_0x493211,_0x151d7e=exports['getHookSkippedTests'](_0x48fe53);return _0x151d7e&&(_0x51f1bd=_0x51f1bd[_0x2ea408(0x9e)](_0x151d7e)),_0x51f1bd;},[]),_0x12de21=_0x35c134[_0x493211(0xa3)]['filter'](_0x1d12d0=>{const _0x523f2a=_0x493211,_0x2f6a47=_0x48f965['YalhQ'](_0x1d12d0[_0x523f2a(0xd1)],_0x48f965['uycTs'])&&!_0x1d12d0[_0x523f2a(0xf1)]&&_0x48f965[_0x523f2a(0xd6)](_0x1d12d0[_0x523f2a(0xad)],_0x48f965[_0x523f2a(0xaf)])&&_0x48f965[_0x523f2a(0xce)](_0x1d12d0[_0x523f2a(0xad)],_0x48f965[_0x523f2a(0xbe)])&&!_0x1d12d0[_0x523f2a(0xb8)];return _0x2f6a47;});return _0x12de21[_0x493211(0x9e)](_0x162675);};
@@ -1 +1 @@
1
- const a43_0x37df49=a43_0x5dd3;function a43_0x3455(){const _0x2edcf2=['jqqYV','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','qVWpx','IgrVw','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','WXexb','uMnTO','bstackA11yShouldScan','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','../utils/constants','tgbui','__error_messages__','FMKdD','shift','2099185iKQLsT','winstonLogger','https:','getCurrentUrl','42QpDwex','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','protocol','ObservabilitySync:','wttRG','Mocha','SAVE_RESULTS','YVfaH','lReVF','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','EHBLy','shouldScanTestForAccessibility','Asufm','mocha','WvulV','../../helpers/helper','TJRAr','debug','\x20|\x20','session_','format','index','__sessionFailed','Accessibility\x20scan\x20completed\x20successfully','OfQYs','__platformCaps','cceMB','./test-observability/mochaUtils','QaxvL','oeWNE','end','FMrsP','HuZSr','gbnrC','sessionName','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','accessibilityScanStarted','kWGdz','push','CwOpZ','../../helpers/driverInitErrorReporter','133PVFcCH','measureWrapper','PfjiA','BEiHe','PIspJ','18NELsBB','message','browserstackSessionName','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','length','Nhrdj','__bstackPlatformReported','titlePath','RPvKC','ffexk','setGlobal','isAccessibilityPlatform','BROWSERSTACK_TESTHUB_UUID','RWUfc','error','Automate\x20test\x20case\x20execution\x20has\x20started.','appium:app','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','../../helpers/accessibility-automation/accessibilityRetryHelper','EkixU','135517WecsjT','qKAfM','testAnalyticsId','gogUf','Passed','executeScript','uzOxZ','../../helpers/testhub/constants','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','VPZOa','ZPKwK','YEBFK','browserstackTestName','uOWPG','getGlobal','SESSION_STATUS','46736eFUMJE','util','Failed\x20to\x20store\x20session\x20name:\x20','finally','uTsNi','passed','afterTest','../../helpers/percy/utils','2617684wtfWUs','BDZKU','jFQjn','currentTest','bVIdv','failed','RAsOc','saveAccessibilityResultsWithRetry','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','percyCaptureMode','2697070KWpFSz','oGBbz','SDK_HOOK','twgNr','OdADS','bFxda','tXpqi','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','vBbQU','eHAIy','afterEach','parse','GRvDp','command','env','BROWSERSTACK_TESTHUB_JWT','driver-init\x20capture\x20install\x20failed:\x20','gRaXq','warn','capabilities','SYNC','../../helpers/logger','\x20-\x20','isArray','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','bWkXv','wlGAh',',\x22level\x22:\x20\x22','fBdbh','ENV_VAR','../../helpers/testhub/utils','../../helpers/performance/constants','dDNly','InwaA','fnaGP','info','now','qMwXc','__drivers','daXXi','BEnaJ','qovfs','mgONX','326915IyUOHc','SxBYW','timeout','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','beforeAll','stringify','KMilM','initQuit','lQQSC','dwObT','state','ekwFJ','JESea','then','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','YzUHe','autoScanning','obaSc','VdfhK','xyDUd','err','UQuNb','418521GeNruL','juTFU','2WJVezF','join','YEwAN','quitCount_','BceQf','driverCleanup','SdnMb','percy','dVQRD','IyBoi','__bstackOwningRunUuid','umtmZ','UyDgp'];a43_0x3455=function(){return _0x2edcf2;};return a43_0x3455();}(function(_0x32a999,_0x46bc53){const _0x897715=a43_0x5dd3,_0x102e32=_0x32a999();while(!![]){try{const _0x270508=-parseInt(_0x897715(0x1b5))/0x1*(parseInt(_0x897715(0x21a))/0x2)+parseInt(_0x897715(0x218))/0x3+-parseInt(_0x897715(0x1cd))/0x4+-parseInt(_0x897715(0x202))/0x5*(-parseInt(_0x897715(0x239))/0x6)+parseInt(_0x897715(0x262))/0x7*(-parseInt(_0x897715(0x1c5))/0x8)+-parseInt(_0x897715(0x1a1))/0x9*(-parseInt(_0x897715(0x1d7))/0xa)+parseInt(_0x897715(0x235))/0xb;if(_0x270508===_0x46bc53)break;else _0x102e32['push'](_0x102e32['shift']());}catch(_0x4d5922){_0x102e32['push'](_0x102e32['shift']());}}}(a43_0x3455,0x68205));const util=require(a43_0x37df49(0x1c6)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a43_0x37df49(0x1b3)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a43_0x37df49(0x230)),{percyAutoCapture}=require(a43_0x37df49(0x1cc)),{sendPlatformDetails}=require(a43_0x37df49(0x254)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a43_0x37df49(0x248)),PerformanceTester=require('../../helpers/performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a43_0x37df49(0x1f6)),globals=require('../../helpers/globals'),logger=require(a43_0x37df49(0x1ec))[a43_0x37df49(0x236)],{shouldProcessEventForTesthub}=require(a43_0x37df49(0x1f5)),testHubConstants=require(a43_0x37df49(0x1bc));try{require(a43_0x37df49(0x261))['installAll'](a43_0x37df49(0x246));}catch(a43_0x1c8372){logger[a43_0x37df49(0x24a)](a43_0x37df49(0x1e7)+(a43_0x1c8372&&a43_0x1c8372[a43_0x37df49(0x1a2)]));}function a43_0x5dd3(_0x3b76d7,_0x3152ed){const _0x345550=a43_0x3455();return a43_0x5dd3=function(_0x5dd39a,_0x33ae36){_0x5dd39a=_0x5dd39a-0x1a0;let _0x940f29=_0x345550[_0x5dd39a];return _0x940f29;},a43_0x5dd3(_0x3b76d7,_0x3152ed);}exports['mochaHooks']={'beforeAll'(){const _0x620b99=a43_0x37df49,_0x1af817={'IgrVw':function(_0x3e14f5,_0xc97a6,_0x3487f0,_0x537cb9){return _0x3e14f5(_0xc97a6,_0x3487f0,_0x537cb9);},'qVWpx':_0x620b99(0x1d2),'qovfs':_0x620b99(0x24b),'LROcw':function(_0x21b475,_0x5c7681,_0x507dfd){return _0x21b475(_0x5c7681,_0x507dfd);},'IqkUN':_0x620b99(0x1ca),'CwOpZ':function(_0xb85243){return _0xb85243();},'NHBvN':function(_0x1c09f8,_0x20d08f,_0x25ed20){return _0x1c09f8(_0x20d08f,_0x25ed20);},'tAfgK':function(_0x438a59,_0x259c81,_0x175f46){return _0x438a59(_0x259c81,_0x175f46);},'oGBbz':_0x620b99(0x24e),'EHBLy':_0x620b99(0x206)};PerformanceTester['startMonitoring']();const _0x59e52e='browserstack internal helper hook';PerformanceTester[_0x620b99(0x263)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x56e9f7=_0x620b99;global['__error_messages__']=[],global[_0x56e9f7(0x24f)]=![],global[_0x56e9f7(0x21f)]=async()=>{const _0x59e666=_0x56e9f7;let _0x549abb=![];try{await global[_0x59e666(0x1fd)][0x0]['session_'],_0x549abb=!![],global[_0x59e666(0x24f)]?await _0x1af817[_0x59e666(0x22a)](markSessionStatus,global[_0x59e666(0x1fd)][0x0],_0x1af817[_0x59e666(0x229)],global[_0x59e666(0x232)][_0x59e666(0x21b)](_0x1af817[_0x59e666(0x200)])):await _0x1af817['LROcw'](markSessionStatus,global[_0x59e666(0x1fd)][0x0],_0x1af817['IqkUN']);}catch(_0x54c83e){logger[_0x59e666(0x24a)](_0x59e666(0x242)+_0x54c83e);}global['__error_messages__']=[],global[_0x59e666(0x24f)]=![];if(_0x549abb)try{try{if(_0x1af817[_0x59e666(0x260)](shouldProcessEventForTesthub)){const _0x6074fb=global[_0x59e666(0x1fd)][0x0];if(_0x6074fb&&!_0x6074fb[_0x59e666(0x1a7)]&&_0x6074fb[_0x59e666(0x224)]){const _0x28f3cb=await _0x1af817['NHBvN'](sendPlatformDetails,_0x6074fb,_0x6074fb['__bstackOwningRunUuid']);_0x28f3cb&&(_0x6074fb[_0x59e666(0x1a7)]=!![]);}}}catch(_0x374927){logger[_0x59e666(0x24a)]('Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20'+_0x374927);}await global[_0x59e666(0x1fd)][0x0][_0x59e666(0x209)]();}catch(_0x2f3be2){logger[_0x59e666(0x24a)](_0x59e666(0x1b2)+_0x2f3be2);}};},{'platform':_0x1af817['tAfgK'](nestedKeyValue,global['__platformCaps'],[_0x1af817[_0x620b99(0x1d8)]]),'hookType':_0x1af817[_0x620b99(0x243)]})();},'beforeEach'(_0x199c19){const _0x2cf362=a43_0x37df49,_0x4bcb32={'wlGAh':function(_0x432696){return _0x432696();},'ffexk':function(_0x5c1ac7,_0x4c0df5){return _0x5c1ac7>_0x4c0df5;},'eHAIy':'\x20-\x20','VWqAB':function(_0x4f8412,_0x3834cc,_0x1c3778){return _0x4f8412(_0x3834cc,_0x1c3778);},'LSvYQ':function(_0x9c289f,_0x326f18){return _0x9c289f===_0x326f18;},'QcPsi':'bstackA11yShouldScan','BEnaJ':'bstackA11yScanOptions','XnoKo':_0x2cf362(0x1ac),'UyDgp':'http:','JESea':function(_0xb1fec7,_0x421678){return _0xb1fec7===_0x421678;},'Nhrdj':_0x2cf362(0x237),'SxBYW':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','SdnMb':_0x2cf362(0x1b0),'ekwFJ':_0x2cf362(0x1c1),'bFxda':function(_0x27d9c4,_0x4e6280,_0x270c45){return _0x27d9c4(_0x4e6280,_0x270c45);},'FMrsP':_0x2cf362(0x24e),'xGKVq':'beforeEach'};globals[_0x2cf362(0x1ab)](_0x4bcb32[_0x2cf362(0x20d)],this[_0x2cf362(0x1d0)][_0x2cf362(0x1a8)]()[_0x2cf362(0x21b)](_0x4bcb32[_0x2cf362(0x1e0)])),PerformanceTester[_0x2cf362(0x263)](PerformanceSdkEvents[_0x2cf362(0x1d9)],()=>{const _0x5fde92=_0x2cf362,_0x98e469={'RWUfc':function(_0x95e3db,_0x1d6a33){const _0x10a66b=a43_0x5dd3;return _0x4bcb32[_0x10a66b(0x1aa)](_0x95e3db,_0x1d6a33);},'GRvDp':_0x4bcb32[_0x5fde92(0x1e0)],'UVIcc':function(_0x5c952d,_0x243b29,_0x1c8a2a){return _0x4bcb32['VWqAB'](_0x5c952d,_0x243b29,_0x1c8a2a);},'YtYDw':function(_0x3fe185,_0x33ab5d){return _0x4bcb32['LSvYQ'](_0x3fe185,_0x33ab5d);},'IyBoi':_0x4bcb32['QcPsi'],'EkixU':_0x4bcb32[_0x5fde92(0x1ff)],'KMilM':function(_0x2a3e22){return _0x4bcb32['wlGAh'](_0x2a3e22);},'wttRG':_0x4bcb32['XnoKo'],'WvulV':_0x4bcb32[_0x5fde92(0x226)],'VHbIM':function(_0x542410,_0x212c28){const _0x26e2dd=_0x5fde92;return _0x4bcb32[_0x26e2dd(0x20e)](_0x542410,_0x212c28);},'gRaXq':_0x4bcb32[_0x5fde92(0x1a6)],'yrAxH':_0x4bcb32[_0x5fde92(0x203)],'pVOlW':_0x4bcb32[_0x5fde92(0x220)],'uTsNi':function(_0x3864ba){return _0x4bcb32['wlGAh'](_0x3864ba);}},_0x64aced='browserstack internal helper hook';new Promise(async _0x5d0e28=>{const _0x4e7e89=_0x5fde92;let _0x57a848=!![];try{_0x98e469[_0x4e7e89(0x1ae)](global[_0x4e7e89(0x1fd)][_0x4e7e89(0x1a5)],0x1)&&(await global[_0x4e7e89(0x21f)](),global[_0x4e7e89(0x1fd)][_0x4e7e89(0x234)]()),_0x98e469[_0x4e7e89(0x1ae)](global['__drivers'][0x0][_0x4e7e89(0x21d)],0x0)&&(_0x57a848=![],await global[_0x4e7e89(0x21f)]());}catch(_0x584394){logger[_0x4e7e89(0x24a)](_0x4e7e89(0x1b2)+_0x584394);}try{Array[_0x4e7e89(0x1ee)](global[_0x4e7e89(0x1fd)])&&global[_0x4e7e89(0x1fd)][0x0]&&(global[_0x4e7e89(0x1fd)][0x0][_0x4e7e89(0x1a3)]=this[_0x4e7e89(0x1d0)][_0x4e7e89(0x1a8)]()['join'](_0x98e469[_0x4e7e89(0x1e3)])),global[_0x4e7e89(0x1a3)]=this[_0x4e7e89(0x1d0)][_0x4e7e89(0x1a8)]()['join'](_0x98e469['GRvDp']);}catch(_0x52d7c0){logger[_0x4e7e89(0x24a)](_0x4e7e89(0x1c7)+_0x52d7c0);}this[_0x4e7e89(0x1d0)][_0x4e7e89(0x244)]=_0x98e469['UVIcc'](shouldScanTestForAccessibility,this[_0x4e7e89(0x1d0)][_0x4e7e89(0x1a8)](),!![]);let _0x184589=!![];try{const _0x470fdb=JSON[_0x4e7e89(0x1e2)](process[_0x4e7e89(0x1e5)][_0x4e7e89(0x1a4)]||'{}');_0x98e469['YtYDw'](_0x470fdb[_0x4e7e89(0x212)],![])&&(_0x184589=![]);}catch(_0x1f61ca){logger[_0x4e7e89(0x24a)](_0x4e7e89(0x1ef)+_0x1f61ca['message']);}const _0x82956a=_0x184589&&this[_0x4e7e89(0x1d0)][_0x4e7e89(0x244)];globals['setGlobal'](_0x98e469[_0x4e7e89(0x223)],_0x82956a),globals[_0x4e7e89(0x1ab)](_0x98e469[_0x4e7e89(0x1b4)],null),this[_0x4e7e89(0x1d0)][_0x4e7e89(0x25d)]=this[_0x4e7e89(0x1d0)][_0x4e7e89(0x244)];if(_0x98e469[_0x4e7e89(0x208)](isAccessibilityAutomationSession)&&_0x57a848&&Array['isArray'](global[_0x4e7e89(0x1fd)])&&_0x98e469[_0x4e7e89(0x1ae)](global[_0x4e7e89(0x1fd)][_0x4e7e89(0x1a5)],0x0)&&globals[_0x4e7e89(0x1c3)](_0x98e469[_0x4e7e89(0x23d)]))try{const _0xa2c425=await global[_0x4e7e89(0x1fd)][0x0][_0x4e7e89(0x24c)];if(_0xa2c425){let _0x5137d2=!![];const _0x428fbf=await global[_0x4e7e89(0x1fd)][0x0][_0x4e7e89(0x238)]();let _0x5bc03a;try{_0x5bc03a=new URL(_0x428fbf),_0x5137d2=_0x98e469['YtYDw'](_0x5bc03a[_0x4e7e89(0x23b)],_0x98e469[_0x4e7e89(0x247)])||_0x98e469['VHbIM'](_0x5bc03a[_0x4e7e89(0x23b)],_0x98e469[_0x4e7e89(0x1e8)]);}catch(_0x190786){_0x5137d2=![];}_0x5137d2&&(this['currentTest'][_0x4e7e89(0x244)]&&logger[_0x4e7e89(0x1fa)](_0x98e469['yrAxH'])),this['currentTest']['accessibilityScanStarted']=this[_0x4e7e89(0x1d0)][_0x4e7e89(0x244)],_0x82956a&&logger['info'](_0x98e469['pVOlW']);}}catch(_0xec51ad){logger['error']('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x4e7e89(0x24d)](_0xec51ad));}_0x98e469[_0x4e7e89(0x1c9)](_0x5d0e28);})[_0x5fde92(0x20f)](()=>{const _0x1d96bf=_0x5fde92;_0x4bcb32[_0x1d96bf(0x1f1)](_0x199c19);});},{'platform':_0x4bcb32[_0x2cf362(0x1dc)](nestedKeyValue,global['__platformCaps'],[_0x4bcb32[_0x2cf362(0x258)]]),'hookType':_0x4bcb32['xGKVq']})();},'afterEach'(_0x3f4043){const _0x44332a=a43_0x37df49,_0x564125={'FMKdD':function(_0x2d13ef){return _0x2d13ef();},'qKAfM':function(_0x4e4253,_0x1272b2){return _0x4e4253!==_0x1272b2;},'BEiHe':_0x44332a(0x1ca),'vbrWV':function(_0x1edc99,_0x3c1163,_0x4b2ec0){return _0x1edc99(_0x3c1163,_0x4b2ec0);},'PIspJ':function(_0x36256e,_0x4f959d){return _0x36256e+_0x4f959d;},'mgONX':'Failed:\x20','TJRAr':_0x44332a(0x1af),'YzUHe':_0x44332a(0x1b9),'PfjiA':'info','sawJu':_0x44332a(0x1ed),'twgNr':function(_0x4f922a,_0x23985e){return _0x4f922a>_0x23985e;},'WXexb':function(_0x59ea9a,_0x16ba12){return _0x59ea9a===_0x16ba12;},'bVIdv':'testcase','tXpqi':_0x44332a(0x1b1),'dwObT':function(_0x5c3941,_0x470f61,_0x5c2811,_0x781c5){return _0x5c3941(_0x470f61,_0x5c2811,_0x781c5);},'vBbQU':_0x44332a(0x1ac),'BceQf':_0x44332a(0x23a),'VPZOa':_0x44332a(0x22e),'jJLib':'Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','EIiuc':_0x44332a(0x1cb),'qMwXc':_0x44332a(0x250),'UQuNb':_0x44332a(0x228),'YEwAN':'[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','umtmZ':'Accessibility\x20results\x20saved\x20successfully','QXYAr':_0x44332a(0x25c),'lReVF':_0x44332a(0x22b),'cceMB':function(_0x1d6ccc){return _0x1d6ccc();},'UTChE':function(_0x2cff02){return _0x2cff02();},'fnaGP':'debug','jFQjn':function(_0x14588a){return _0x14588a();},'OfQYs':_0x44332a(0x23e),'uEMhe':'index','daXXi':_0x44332a(0x1e1)},_0x12204e='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x564125[_0x44332a(0x251)]]),global[_0x44332a(0x25b)]=this[_0x44332a(0x1d0)][_0x44332a(0x1a8)]()['join'](_0x564125['sawJu']),PerformanceTester[_0x44332a(0x263)](PerformanceSdkEvents[_0x44332a(0x1d9)],()=>{const _0x59964f=_0x44332a,_0x1268bd={'OdADS':function(_0x10e912,_0x585dcc){const _0xb1d20=a43_0x5dd3;return _0x564125[_0xb1d20(0x1b6)](_0x10e912,_0x585dcc);},'fBdbh':_0x564125[_0x59964f(0x265)],'dVQRD':function(_0x35e055,_0x36257c,_0xf34c20){return _0x564125['vbrWV'](_0x35e055,_0x36257c,_0xf34c20);},'BDZKU':function(_0x2700f9,_0x1887bb){const _0x4210e3=_0x59964f;return _0x564125[_0x4210e3(0x1a0)](_0x2700f9,_0x1887bb);},'KFwbQ':_0x564125[_0x59964f(0x201)],'uOWPG':_0x564125[_0x59964f(0x249)],'YdyxL':_0x564125[_0x59964f(0x211)],'ZPKwK':_0x564125[_0x59964f(0x264)],'dDNly':_0x564125['sawJu'],'HuZSr':function(_0x40cd18,_0x556815){return _0x564125['twgNr'](_0x40cd18,_0x556815);},'YVfaH':function(_0x2f161b,_0x12e6ce){const _0x161168=_0x59964f;return _0x564125[_0x161168(0x22c)](_0x2f161b,_0x12e6ce);},'jDWTw':_0x564125[_0x59964f(0x1d1)],'VdfhK':function(_0x15048f,_0x46caec){const _0x168bd8=_0x59964f;return _0x564125[_0x168bd8(0x1da)](_0x15048f,_0x46caec);},'uzOxZ':_0x564125[_0x59964f(0x1dd)],'bWkXv':function(_0x52791d,_0x292882,_0x3776f7,_0x2eb2fc){const _0x22afc4=_0x59964f;return _0x564125[_0x22afc4(0x20b)](_0x52791d,_0x292882,_0x3776f7,_0x2eb2fc);},'gogUf':_0x564125[_0x59964f(0x1df)],'gbnrC':_0x564125[_0x59964f(0x21e)],'Asufm':_0x564125[_0x59964f(0x1be)],'jqqYV':_0x564125['jJLib'],'QaxvL':_0x564125['EIiuc'],'YEBFK':_0x564125[_0x59964f(0x1fc)],'obaSc':_0x564125[_0x59964f(0x217)],'RPvKC':_0x564125[_0x59964f(0x21c)],'lQQSC':_0x564125[_0x59964f(0x225)],'DAHID':_0x564125['QXYAr'],'AuiVG':_0x564125[_0x59964f(0x241)],'oeWNE':function(_0x5c7f0a){const _0x1e54b4=_0x59964f;return _0x564125[_0x1e54b4(0x253)](_0x5c7f0a);},'InwaA':function(_0x185b50){return _0x564125['UTChE'](_0x185b50);},'RAsOc':_0x564125[_0x59964f(0x1f9)],'uMnTO':function(_0x20b5d7){const _0x3cbbd0=_0x59964f;return _0x564125[_0x3cbbd0(0x1cf)](_0x20b5d7);}},_0x19d924=async(_0x5a842f,_0x541cc3)=>{const _0x280be2=_0x59964f;await global[_0x280be2(0x1fd)][0x0][_0x280be2(0x1ba)](_0x280be2(0x22f)+_0x5a842f+_0x280be2(0x1f2)+_0x541cc3+'\x22}}');};new Promise(async _0x3df2aa=>{const _0x4479a7=_0x59964f,_0x342434={};_0x342434[_0x4479a7(0x231)]=_0x1268bd[_0x4479a7(0x1f7)];const _0x2c7f20=_0x342434;try{_0x1268bd[_0x4479a7(0x259)](global[_0x4479a7(0x1fd)][_0x4479a7(0x1a5)],0x1)&&(await global[_0x4479a7(0x21f)](),global[_0x4479a7(0x1fd)][_0x4479a7(0x234)](),global['__error_messages__']=[],global[_0x4479a7(0x24f)]=![]);try{if(global[_0x4479a7(0x221)]&&_0x1268bd[_0x4479a7(0x240)](global[_0x4479a7(0x1d6)],_0x1268bd['jDWTw'])&&global['__drivers'][0x0]){const _0xa1f8bf=_0x1268bd[_0x4479a7(0x214)](global[_0x4479a7(0x1ea)][_0x4479a7(0x1a5)],0x0)?!!global['capabilities'][0x0]['app']||!!global[_0x4479a7(0x1ea)][0x0][_0x1268bd[_0x4479a7(0x1bb)]]:![],_0x273e59={};_0x273e59['app']=_0xa1f8bf,await _0x1268bd[_0x4479a7(0x1f0)](percyAutoCapture,global['__drivers'][0x0],_0x1268bd['jDWTw'],_0x273e59);}}catch(_0x5d7a4c){logger[_0x4479a7(0x24a)](_0x4479a7(0x210)+_0x5d7a4c);}!global['__skipSessionName']&&(await PerformanceTester[_0x4479a7(0x263)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x537d4e=_0x4479a7;await global[_0x537d4e(0x1fd)][0x0][_0x537d4e(0x1ba)](_0x537d4e(0x205)+JSON[_0x537d4e(0x207)](this[_0x537d4e(0x1d0)][_0x537d4e(0x1a8)]()[_0x537d4e(0x21b)](_0x2c7f20[_0x537d4e(0x231)]))+'}}');})(),global[_0x4479a7(0x1fd)][0x0]['sessionNameSet__']=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x4479a7(0x1c4)],async()=>{const _0x4e461e=_0x4479a7,_0x1b8847=_0x1268bd[_0x4e461e(0x1db)](this[_0x4e461e(0x1d0)][_0x4e461e(0x20c)],_0x1268bd[_0x4e461e(0x1f3)]);_0x1b8847?(global[_0x4e461e(0x24f)]=!![],global['__error_messages__'][_0x4e461e(0x25f)](this['currentTest'][_0x4e461e(0x216)]['message']),await _0x1268bd[_0x4e461e(0x222)](_0x19d924,JSON[_0x4e461e(0x207)](_0x1268bd[_0x4e461e(0x1ce)](_0x1268bd['KFwbQ'],this[_0x4e461e(0x1d0)]['err'][_0x4e461e(0x1a2)])),_0x1268bd[_0x4e461e(0x1c2)])):await _0x1268bd['dVQRD'](_0x19d924,JSON[_0x4e461e(0x207)](_0x1268bd['YdyxL']),_0x1268bd[_0x4e461e(0x1bf)]);})();}catch(_0x341a95){logger[_0x4479a7(0x24a)](_0x4479a7(0x1de)+_0x341a95);}try{if(this[_0x4479a7(0x1d0)][_0x4479a7(0x25d)]&&globals['getGlobal'](_0x1268bd[_0x4479a7(0x1b8)])){logger[_0x4479a7(0x1fa)](_0x1268bd[_0x4479a7(0x25a)]);const _0x14359d={};_0x14359d['thTestRunUuid']=this[_0x4479a7(0x1d0)][_0x4479a7(0x1b7)],_0x14359d['thBuildUuid']=process[_0x4479a7(0x1e5)][testHubConstants[_0x4479a7(0x1f4)][_0x4479a7(0x1ad)]],_0x14359d['thJwtToken']=process['env'][testHubConstants[_0x4479a7(0x1f4)][_0x4479a7(0x1e6)]];const _0x3d24a8=_0x14359d;logger[_0x4479a7(0x24a)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x4479a7(0x207)](_0x3d24a8));if(globals[_0x4479a7(0x1c3)](_0x1268bd[_0x4479a7(0x245)])){logger['debug'](_0x1268bd[_0x4479a7(0x227)]);const _0x5bb239={};_0x5bb239[_0x4479a7(0x1e4)]=_0x1268bd[_0x4479a7(0x255)];const _0x4f6403=await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x24d982=_0x4479a7;return await accessibilityRetryHelper['performScanWithRetry'](global['__drivers'][0x0],global[_0x24d982(0x1a3)]);},_0x5bb239)();_0x4f6403?logger[_0x4479a7(0x24a)](_0x1268bd[_0x4479a7(0x1c0)]):logger[_0x4479a7(0x1e9)](_0x1268bd[_0x4479a7(0x213)]);}else logger[_0x4479a7(0x24a)](_0x1268bd[_0x4479a7(0x1a9)]);const _0x38ecc2=await PerformanceTester[_0x4479a7(0x263)](PerformanceA11yEvents[_0x4479a7(0x23f)],async()=>{const _0x1d0aa7=_0x4479a7;return await accessibilityRetryHelper[_0x1d0aa7(0x1d4)](global[_0x1d0aa7(0x1fd)][0x0],_0x3d24a8);})();_0x38ecc2?logger[_0x4479a7(0x24a)](_0x1268bd[_0x4479a7(0x20a)]):logger[_0x4479a7(0x1e9)](_0x1268bd['DAHID']),logger[_0x4479a7(0x1fa)](_0x1268bd['AuiVG']);}}catch(_0x18b653){logger['error'](_0x4479a7(0x1d5)+this[_0x4479a7(0x1d0)][_0x4479a7(0x1a8)]()+'.\x20Error\x20:',_0x18b653);}try{try{if(_0x1268bd[_0x4479a7(0x256)](shouldProcessEventForTesthub)){const _0x43d6f2=global[_0x4479a7(0x1fd)][0x0];if(_0x43d6f2){const _0x52575c=await _0x1268bd[_0x4479a7(0x222)](sendPlatformDetails,_0x43d6f2,this[_0x4479a7(0x1d0)]?this[_0x4479a7(0x1d0)][_0x4479a7(0x1b7)]:null);_0x52575c&&(_0x43d6f2[_0x4479a7(0x1a7)]=!![]);}if(_0x1268bd[_0x4479a7(0x1f8)](isBrowserstackInfra)){PerformanceTester['start'](PerformanceO11yEvents[_0x4479a7(0x1eb)]);const _0x591888=_0x4479a7(0x23c)+Date[_0x4479a7(0x1fb)]();await _0x1268bd[_0x4479a7(0x222)](_0x19d924,JSON['stringify'](_0x591888),_0x1268bd[_0x4479a7(0x1d3)]),PerformanceTester[_0x4479a7(0x257)](PerformanceO11yEvents['SYNC']);}}}catch(_0x2ab4a4){logger[_0x4479a7(0x24a)](_0x4479a7(0x1bd)+_0x2ab4a4),PerformanceTester[_0x4479a7(0x257)](PerformanceO11yEvents['SYNC'],![],_0x2ab4a4);}_0x1268bd[_0x4479a7(0x214)](global[_0x4479a7(0x1fd)][0x0][_0x4479a7(0x21d)],0x0)&&await global[_0x4479a7(0x21f)]();}catch(_0x2b8839){logger[_0x4479a7(0x24a)](_0x4479a7(0x1b2)+_0x2b8839);}_0x1268bd[_0x4479a7(0x22d)](_0x3df2aa);})['then'](()=>{const _0x5b199e=_0x59964f;_0x564125[_0x5b199e(0x233)](_0x3f4043);});},{'platform':_0x564125['vbrWV'](nestedKeyValue,global[_0x44332a(0x252)],[_0x564125['uEMhe']]),'hookType':_0x564125[_0x44332a(0x1fe)]})();},'afterAll'(_0x5e0470){const _0x403f03=a43_0x37df49,_0x340c9a={'rvQsS':function(_0x4fd324){return _0x4fd324();},'juTFU':function(_0x3bd7e4){return _0x3bd7e4();},'jiCsC':'Mocha','bxjzu':function(_0x4635c8,_0x381337,_0x1299b9){return _0x4635c8(_0x381337,_0x1299b9);},'xyDUd':'index','uGLnF':'afterAll'},_0x40b77d='browserstack internal helper hook';this[_0x403f03(0x204)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x340c9a['jiCsC']]),PerformanceTester[_0x403f03(0x263)](PerformanceSdkEvents[_0x403f03(0x1d9)],()=>{const _0x13987b=_0x403f03,_0xb8b0c0={'kWGdz':function(_0x21bbd7){const _0x5aaa8f=a43_0x5dd3;return _0x340c9a[_0x5aaa8f(0x219)](_0x21bbd7);}};new Promise(async _0x5b31ac=>{const _0x25e018=a43_0x5dd3;await global[_0x25e018(0x21f)](),_0xb8b0c0[_0x25e018(0x25e)](_0x5b31ac);})[_0x13987b(0x20f)]()[_0x13987b(0x1c8)](()=>{_0x340c9a['rvQsS'](_0x5e0470);});},{'platform':_0x340c9a['bxjzu'](nestedKeyValue,global[_0x403f03(0x252)],[_0x340c9a[_0x403f03(0x215)]]),'hookType':_0x340c9a['uGLnF']})();}};
1
+ const a43_0x366a1f=a43_0x5102;(function(_0xa7100d,_0x1adbbc){const _0x12873b=a43_0x5102,_0x2634d3=_0xa7100d();while(!![]){try{const _0x7b5a8a=-parseInt(_0x12873b(0x1b8))/0x1*(-parseInt(_0x12873b(0x1a8))/0x2)+parseInt(_0x12873b(0x116))/0x3+-parseInt(_0x12873b(0x1d1))/0x4+-parseInt(_0x12873b(0x1cd))/0x5*(parseInt(_0x12873b(0x16e))/0x6)+parseInt(_0x12873b(0x146))/0x7*(parseInt(_0x12873b(0x19c))/0x8)+-parseInt(_0x12873b(0x1b2))/0x9*(-parseInt(_0x12873b(0x118))/0xa)+parseInt(_0x12873b(0x1a6))/0xb*(-parseInt(_0x12873b(0x1ba))/0xc);if(_0x7b5a8a===_0x1adbbc)break;else _0x2634d3['push'](_0x2634d3['shift']());}catch(_0x613dec){_0x2634d3['push'](_0x2634d3['shift']());}}}(a43_0x363b,0xcd154));function a43_0x5102(_0x271c28,_0x29f51e){const _0x363be6=a43_0x363b();return a43_0x5102=function(_0x5102f0,_0x4b7322){_0x5102f0=_0x5102f0-0x110;let _0x29f700=_0x363be6[_0x5102f0];return _0x29f700;},a43_0x5102(_0x271c28,_0x29f51e);}function a43_0x363b(){const _0x1e6605=['percyCaptureMode','MLEno','start','currentTest','__platformCaps','env','rNhlc','ObservabilitySync:','bstackA11yScanOptions','index','27601EqweDz','../../helpers/performance/constants','WuPcd','qUzlB','state','BLcIt','kkeGV','WZJnh','isArray','tJAYv','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','afterEach','Passed','.\x20Error\x20:','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','XKKts','WKTcr','uqxJI','RMrFm','TZLPr','kJlhR','browserstackSessionName','heDaQ','Dstrj','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','pFYJc','eBNwW','rSWKU','executeScript','TTTpc','GivKN','tcqjB','YcuAS','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','SESSION_NAME','xRYAQ','zOQtD','bturV','beforeEach','20370IFjHqj','rnEWu','measureWrapper','kzWeY','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','message','testcase','Mocha','zJRzu','LgbMV','gaCVR','QjqTC','then','VkWHT','beforeAll','__sessionFailed','hGUaN','jXVyU','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','error','GqskV','percy','bstackA11yShouldScan','UaqXT','parse','qkZoT','ywbKz','../utils/constants','../../helpers/percy/utils','length','OyTBK','VdRwu','HiHrL','thTestRunUuid','[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','thBuildUuid','saveAccessibilityResultsWithRetry','Automate\x20test\x20case\x20execution\x20has\x20started.','aAnDX','LNLZy','rSsYE','startMonitoring','OogBi','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','EqDjm','2840PCnSib','passed','../../helpers/accessibility-automation/accessibilityRetryHelper','isAccessibilityPlatform','NSHvN','../../helpers/testhub/utils','push','../../helpers/performance/performance-tester','Sjcah','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','44jiyATh','Echsd','4KJzrbx','JEPxo','eSiep','__drivers','poqOF','Accessibility\x20results\x20saved\x20successfully','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','winstonLogger','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','xcnvs','117ijtGUe','timeout','join','YpSui','wTmNw','titlePath','24634XsumWN','lXaVc','5559348JzQqRW','oumnI','fSjpl','XFkrU','XUIKC','session_','../../helpers/driverInitErrorReporter','setGlobal','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','Eqbav','protocol','VQGSe','YyFwe','\x20-\x20','https:','faVEB','Vxuud','__bstackPlatformReported','driverCleanup','1765pqnLFc','warn','http:','info','1636620ZPWczg','err','mochaHooks','__error_messages__','BVAIt','SDK_HOOK','ZteXo','shift','hXrrQ','AWXjw','afterAll','stringify','YkVWk','sessionNameSet__','end','getCurrentUrl','sessionName','accessibilityScanStarted','EfAFt','iiXwF','4844970Axskod','vKqiE','951310DLzabe','mWhbB','getGlobal','util','Failed:\x20','ENV_VAR','SYNC','PERFORM_SCAN','tPilp','../../helpers/globals','LjvkF','CILqv','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','Failed\x20to\x20store\x20session\x20name:\x20','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','ApjiB','QuURB','finally','debug','Accessibility\x20scan\x20completed\x20successfully','dIEHv','LKqQd','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','SESSION_STATUS','BROWSERSTACK_TESTHUB_UUID','lGvud','shouldScanTestForAccessibility','pNIDc','ewrpG','testAnalyticsId','BROWSERSTACK_TESTHUB_JWT','hRXDx','yhFPv','capabilities','ThFCU','__bstackOwningRunUuid'];a43_0x363b=function(){return _0x1e6605;};return a43_0x363b();}const util=require(a43_0x366a1f(0x11b)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a43_0x366a1f(0x19e)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a43_0x366a1f(0x18a)),{percyAutoCapture}=require(a43_0x366a1f(0x18b)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a43_0x366a1f(0x1a3)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a43_0x366a1f(0x147)),globals=require(a43_0x366a1f(0x121)),logger=require('../../helpers/logger')[a43_0x366a1f(0x1af)],{shouldProcessEventForTesthub}=require(a43_0x366a1f(0x1a1)),testHubConstants=require('../../helpers/testhub/constants');try{require(a43_0x366a1f(0x1c0))['installAll']('mocha');}catch(a43_0x48ca54){logger[a43_0x366a1f(0x12a)]('driver-init\x20capture\x20install\x20failed:\x20'+(a43_0x48ca54&&a43_0x48ca54[a43_0x366a1f(0x173)]));}exports[a43_0x366a1f(0x1d3)]={'beforeAll'(){const _0x202172=a43_0x366a1f,_0x5b1975={'LKqQd':function(_0x5d02f3,_0x26e508,_0x50ec88,_0x576b9a){return _0x5d02f3(_0x26e508,_0x50ec88,_0x576b9a);},'cBjxz':'failed','vKqiE':'\x20|\x20','VkWHT':function(_0x13890b,_0x78bb7e,_0x2c90d7){return _0x13890b(_0x78bb7e,_0x2c90d7);},'iiRmN':_0x202172(0x19d),'QuURB':function(_0x1ed7b3){return _0x1ed7b3();},'yhFPv':function(_0x1c8423,_0x414cd3,_0x2ab73d){return _0x1c8423(_0x414cd3,_0x2ab73d);},'wTmNw':'index','eBNwW':_0x202172(0x17c)};PerformanceTester[_0x202172(0x198)]();const _0x10451e='browserstack internal helper hook';PerformanceTester[_0x202172(0x170)](PerformanceSdkEvents[_0x202172(0x1d6)],()=>{const _0x2fea15=_0x202172;global[_0x2fea15(0x1d4)]=[],global[_0x2fea15(0x17d)]=![],global['driverCleanup']=async()=>{const _0x3781df=_0x2fea15;let _0x5b39c6=![];try{await global[_0x3781df(0x1ab)][0x0][_0x3781df(0x1bf)],_0x5b39c6=!![],global[_0x3781df(0x17d)]?await _0x5b1975[_0x3781df(0x12d)](markSessionStatus,global[_0x3781df(0x1ab)][0x0],_0x5b1975['cBjxz'],global[_0x3781df(0x1d4)]['join'](_0x5b1975[_0x3781df(0x117)])):await _0x5b1975[_0x3781df(0x17b)](markSessionStatus,global[_0x3781df(0x1ab)][0x0],_0x5b1975['iiRmN']);}catch(_0x4cd9c8){logger[_0x3781df(0x12a)](_0x3781df(0x19a)+_0x4cd9c8);}global[_0x3781df(0x1d4)]=[],global[_0x3781df(0x17d)]=![];if(_0x5b39c6)try{try{if(_0x5b1975[_0x3781df(0x128)](shouldProcessEventForTesthub)){const _0x10b5e3=global[_0x3781df(0x1ab)][0x0];if(_0x10b5e3&&!_0x10b5e3[_0x3781df(0x1cb)]&&_0x10b5e3[_0x3781df(0x13b)]){const _0x54a154=await _0x5b1975[_0x3781df(0x138)](sendPlatformDetails,_0x10b5e3,_0x10b5e3['__bstackOwningRunUuid']);_0x54a154&&(_0x10b5e3[_0x3781df(0x1cb)]=!![]);}}}catch(_0x31cf4e){logger[_0x3781df(0x12a)](_0x3781df(0x1c2)+_0x31cf4e);}await global[_0x3781df(0x1ab)][0x0]['initQuit']();}catch(_0x223f01){logger[_0x3781df(0x12a)](_0x3781df(0x172)+_0x223f01);}};},{'platform':_0x5b1975[_0x202172(0x138)](nestedKeyValue,global['__platformCaps'],[_0x5b1975[_0x202172(0x1b6)]]),'hookType':_0x5b1975[_0x202172(0x161)]})();},'beforeEach'(_0x4d56b2){const _0x454f8f=a43_0x366a1f,_0x3332bb={'kkeGV':function(_0x1d3842,_0x460a23){return _0x1d3842>_0x460a23;},'GqskV':_0x454f8f(0x1c7),'eSiep':function(_0x3e2e27,_0x32ebe9,_0x15c35f){return _0x3e2e27(_0x32ebe9,_0x15c35f);},'ysMEz':function(_0x4c96b8,_0x356f1d){return _0x4c96b8===_0x356f1d;},'YyFwe':_0x454f8f(0x185),'pFYJc':_0x454f8f(0x144),'nJlFL':function(_0x20c627){return _0x20c627();},'pNIDc':_0x454f8f(0x19f),'ytzHj':_0x454f8f(0x1cf),'vTHDw':function(_0x26ae16,_0x1a0147){return _0x26ae16===_0x1a0147;},'BLcIt':_0x454f8f(0x1c8),'XKKts':_0x454f8f(0x124),'dIEHv':_0x454f8f(0x194),'rSWKU':function(_0x339cbb){return _0x339cbb();},'TZLPr':'browserstackTestName','hXrrQ':_0x454f8f(0x145),'UaqXT':_0x454f8f(0x16d)};globals[_0x454f8f(0x1c1)](_0x3332bb[_0x454f8f(0x159)],this[_0x454f8f(0x13f)]['titlePath']()[_0x454f8f(0x1b4)](_0x3332bb[_0x454f8f(0x183)])),PerformanceTester[_0x454f8f(0x170)](PerformanceSdkEvents[_0x454f8f(0x1d6)],()=>{const _0x16696e=_0x454f8f,_0x4da90e={'ApjiB':function(_0x378ef2,_0x5ed4ab){const _0x22eda5=a43_0x5102;return _0x3332bb[_0x22eda5(0x14c)](_0x378ef2,_0x5ed4ab);},'poqOF':_0x3332bb['GqskV'],'QjqTC':function(_0x26ab54,_0xa22cb0,_0x1f0a84){const _0x535e4d=a43_0x5102;return _0x3332bb[_0x535e4d(0x1aa)](_0x26ab54,_0xa22cb0,_0x1f0a84);},'CFBZh':function(_0x59159c,_0x2aa383){return _0x3332bb['ysMEz'](_0x59159c,_0x2aa383);},'ThFCU':_0x3332bb[_0x16696e(0x1c6)],'WePhB':_0x3332bb[_0x16696e(0x160)],'tepvL':function(_0x39d491){return _0x3332bb['nJlFL'](_0x39d491);},'Sjcah':function(_0x2d6435,_0x221bf7){const _0x4755be=_0x16696e;return _0x3332bb[_0x4755be(0x14c)](_0x2d6435,_0x221bf7);},'tJAYv':_0x3332bb[_0x16696e(0x133)],'YcuAS':_0x3332bb['ytzHj'],'VnNPT':function(_0x2a0cdd,_0x1da664){return _0x3332bb['vTHDw'](_0x2a0cdd,_0x1da664);},'SOBaJ':_0x3332bb[_0x16696e(0x14b)],'sXAcp':_0x3332bb[_0x16696e(0x155)],'rRKkI':_0x3332bb[_0x16696e(0x12c)],'mWhbB':function(_0x5b7427){const _0x26d98e=_0x16696e;return _0x3332bb[_0x26d98e(0x162)](_0x5b7427);}},_0x31d5b9='browserstack internal helper hook';new Promise(async _0x54384c=>{const _0x35abe2=_0x16696e;let _0x54afde=!![];try{_0x4da90e[_0x35abe2(0x127)](global['__drivers'][_0x35abe2(0x18c)],0x1)&&(await global[_0x35abe2(0x1cc)](),global[_0x35abe2(0x1ab)][_0x35abe2(0x1d8)]()),_0x4da90e[_0x35abe2(0x127)](global[_0x35abe2(0x1ab)][0x0]['quitCount_'],0x0)&&(_0x54afde=![],await global['driverCleanup']());}catch(_0x1ae3bf){logger[_0x35abe2(0x12a)](_0x35abe2(0x172)+_0x1ae3bf);}try{Array['isArray'](global[_0x35abe2(0x1ab)])&&global[_0x35abe2(0x1ab)][0x0]&&(global[_0x35abe2(0x1ab)][0x0][_0x35abe2(0x15b)]=this[_0x35abe2(0x13f)][_0x35abe2(0x1b7)]()[_0x35abe2(0x1b4)](_0x4da90e[_0x35abe2(0x1ac)])),global[_0x35abe2(0x15b)]=this['currentTest'][_0x35abe2(0x1b7)]()['join'](_0x4da90e[_0x35abe2(0x1ac)]);}catch(_0xf9da9a){logger[_0x35abe2(0x12a)](_0x35abe2(0x125)+_0xf9da9a);}this[_0x35abe2(0x13f)][_0x35abe2(0x132)]=_0x4da90e[_0x35abe2(0x179)](shouldScanTestForAccessibility,this[_0x35abe2(0x13f)][_0x35abe2(0x1b7)](),!![]);let _0x29daaa=!![];try{const _0xfd0695=JSON[_0x35abe2(0x187)](process[_0x35abe2(0x141)][_0x35abe2(0x1ae)]||'{}');_0x4da90e['CFBZh'](_0xfd0695['autoScanning'],![])&&(_0x29daaa=![]);}catch(_0xb002ae){logger[_0x35abe2(0x12a)](_0x35abe2(0x15e)+_0xb002ae['message']);}const _0x22314f=_0x29daaa&&this[_0x35abe2(0x13f)][_0x35abe2(0x132)];globals[_0x35abe2(0x1c1)](_0x4da90e[_0x35abe2(0x13a)],_0x22314f),globals[_0x35abe2(0x1c1)](_0x4da90e['WePhB'],null),this[_0x35abe2(0x13f)][_0x35abe2(0x113)]=this[_0x35abe2(0x13f)]['shouldScanTestForAccessibility'];if(_0x4da90e['tepvL'](isAccessibilityAutomationSession)&&_0x54afde&&Array[_0x35abe2(0x14e)](global[_0x35abe2(0x1ab)])&&_0x4da90e[_0x35abe2(0x1a4)](global[_0x35abe2(0x1ab)][_0x35abe2(0x18c)],0x0)&&globals['getGlobal'](_0x4da90e[_0x35abe2(0x14f)]))try{const _0x1f8b74=await global[_0x35abe2(0x1ab)][0x0]['session_'];if(_0x1f8b74){let _0x181529=!![];const _0x454f35=await global[_0x35abe2(0x1ab)][0x0][_0x35abe2(0x111)]();let _0x1e1583;try{_0x1e1583=new URL(_0x454f35),_0x181529=_0x4da90e['CFBZh'](_0x1e1583[_0x35abe2(0x1c4)],_0x4da90e[_0x35abe2(0x167)])||_0x4da90e['VnNPT'](_0x1e1583[_0x35abe2(0x1c4)],_0x4da90e['SOBaJ']);}catch(_0x22dfeb){_0x181529=![];}_0x181529&&(this[_0x35abe2(0x13f)][_0x35abe2(0x132)]&&logger[_0x35abe2(0x1d0)](_0x4da90e['sXAcp'])),this[_0x35abe2(0x13f)][_0x35abe2(0x113)]=this['currentTest']['shouldScanTestForAccessibility'],_0x22314f&&logger[_0x35abe2(0x1d0)](_0x4da90e['rRKkI']);}}catch(_0x59763c){logger[_0x35abe2(0x182)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util['format'](_0x59763c));}_0x4da90e[_0x35abe2(0x119)](_0x54384c);})[_0x16696e(0x17a)](()=>{const _0x22cbc3=_0x16696e;_0x4da90e[_0x22cbc3(0x119)](_0x4d56b2);});},{'platform':_0x3332bb[_0x454f8f(0x1aa)](nestedKeyValue,global[_0x454f8f(0x140)],[_0x3332bb[_0x454f8f(0x1d9)]]),'hookType':_0x3332bb[_0x454f8f(0x186)]})();},'afterEach'(_0x353689){const _0x4a81b2=a43_0x366a1f,_0x15222d={'WuPcd':function(_0x80eed9){return _0x80eed9();},'Echsd':_0x4a81b2(0x1c7),'TTTpc':function(_0x2715c8,_0x11cb8c){return _0x2715c8!==_0x11cb8c;},'Vxuud':_0x4a81b2(0x19d),'ywbKz':function(_0x352596,_0x2ec0d8,_0x1680a4){return _0x352596(_0x2ec0d8,_0x1680a4);},'oumnI':function(_0x432def,_0xef50ad){return _0x432def+_0xef50ad;},'tPilp':_0x4a81b2(0x11c),'BVAIt':_0x4a81b2(0x182),'ZteXo':_0x4a81b2(0x152),'OogBi':_0x4a81b2(0x1d0),'cspRt':function(_0x4f5027,_0x315fcd){return _0x4f5027>_0x315fcd;},'LgbMV':function(_0x196905,_0x46b218){return _0x196905===_0x46b218;},'aAnDX':_0x4a81b2(0x174),'RMrFm':'appium:app','hRXDx':function(_0x21e4f9,_0x1ca044,_0x521f0e,_0x20c3f3){return _0x21e4f9(_0x1ca044,_0x521f0e,_0x20c3f3);},'bturV':_0x4a81b2(0x19f),'xRYAQ':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','esKtZ':_0x4a81b2(0x185),'NSHvN':_0x4a81b2(0x181),'uOhVV':'afterTest','XFkrU':_0x4a81b2(0x12b),'CItVF':_0x4a81b2(0x180),'kzWeY':_0x4a81b2(0x191),'Ugudr':_0x4a81b2(0x1ad),'XUIKC':_0x4a81b2(0x154),'xcnvs':_0x4a81b2(0x168),'bEDWV':function(_0x2a8403,_0x2296fa,_0x4b1857){return _0x2a8403(_0x2296fa,_0x4b1857);},'LXfIu':_0x4a81b2(0x12a),'FlpoG':function(_0x99ebca){return _0x99ebca();},'zOQtD':_0x4a81b2(0x175),'faVEB':_0x4a81b2(0x145),'TCsee':_0x4a81b2(0x151)},_0x312bad='browserstack internal helper hook';this[_0x4a81b2(0x1b3)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x15222d[_0x4a81b2(0x16b)]]),global[_0x4a81b2(0x112)]=this['currentTest'][_0x4a81b2(0x1b7)]()[_0x4a81b2(0x1b4)](_0x15222d[_0x4a81b2(0x1a7)]),PerformanceTester[_0x4a81b2(0x170)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x22d74a=_0x4a81b2,_0x240517={'qUzlB':_0x15222d[_0x22d74a(0x1a7)],'rNhlc':function(_0x1eb1e6,_0x956230){const _0x3affa7=_0x22d74a;return _0x15222d[_0x3affa7(0x164)](_0x1eb1e6,_0x956230);},'rnEWu':_0x15222d[_0x22d74a(0x1ca)],'GivKN':function(_0x177191,_0x3f636c,_0x1be13a){const _0xb72130=_0x22d74a;return _0x15222d[_0xb72130(0x189)](_0x177191,_0x3f636c,_0x1be13a);},'zxDIJ':function(_0x35d750,_0x5c75a8){const _0x17d6ce=_0x22d74a;return _0x15222d[_0x17d6ce(0x1bb)](_0x35d750,_0x5c75a8);},'gTgcm':_0x15222d[_0x22d74a(0x120)],'Dstrj':_0x15222d[_0x22d74a(0x1d5)],'lGvud':_0x15222d[_0x22d74a(0x1d7)],'LNLZy':_0x15222d[_0x22d74a(0x199)],'heDaQ':function(_0xa3d2dc,_0x1e858a){return _0x15222d['cspRt'](_0xa3d2dc,_0x1e858a);},'HiHrL':function(_0x2f13c5,_0x5170ad){const _0x3c298d=_0x22d74a;return _0x15222d[_0x3c298d(0x177)](_0x2f13c5,_0x5170ad);},'AWXjw':_0x15222d[_0x22d74a(0x195)],'uqxJI':_0x15222d[_0x22d74a(0x158)],'iiXwF':function(_0x37870f,_0x398e88,_0x303a1d,_0x3c8c70){const _0x4b256a=_0x22d74a;return _0x15222d[_0x4b256a(0x137)](_0x37870f,_0x398e88,_0x303a1d,_0x3c8c70);},'EfAFt':_0x15222d[_0x22d74a(0x16c)],'CILqv':_0x15222d[_0x22d74a(0x16a)],'jXVyU':_0x15222d['esKtZ'],'fSjpl':_0x15222d[_0x22d74a(0x1a0)],'xmHsw':_0x15222d['uOhVV'],'YkVWk':_0x15222d[_0x22d74a(0x1bd)],'WZJnh':_0x15222d['CItVF'],'gaCVR':_0x15222d[_0x22d74a(0x171)],'HNDir':_0x15222d['Ugudr'],'YpSui':_0x15222d[_0x22d74a(0x1be)],'tcqjB':_0x15222d[_0x22d74a(0x1b1)],'rSsYE':function(_0x24048b){const _0x169418=_0x22d74a;return _0x15222d[_0x169418(0x148)](_0x24048b);},'oTSgG':function(_0x384544){const _0x135d6c=_0x22d74a;return _0x15222d[_0x135d6c(0x148)](_0x384544);},'plYWi':function(_0x3b477e,_0x52b6ca,_0x3be644){return _0x15222d['bEDWV'](_0x3b477e,_0x52b6ca,_0x3be644);},'JEPxo':_0x15222d['LXfIu'],'Eqbav':function(_0x53f239){return _0x15222d['FlpoG'](_0x53f239);}},_0x5283b8=async(_0x1db764,_0x5f58e7)=>{const _0x5dfa23=_0x22d74a;await global[_0x5dfa23(0x1ab)][0x0][_0x5dfa23(0x163)](_0x5dfa23(0x1b0)+_0x1db764+',\x22level\x22:\x20\x22'+_0x5f58e7+'\x22}}');};new Promise(async _0x4aaffe=>{const _0x29babe=_0x22d74a,_0x39faea={'LjvkF':function(_0x3bd397,_0x1bcb09){const _0x231538=a43_0x5102;return _0x240517[_0x231538(0x142)](_0x3bd397,_0x1bcb09);},'zJRzu':_0x240517[_0x29babe(0x16f)],'PlrPv':function(_0x542505,_0x39dc89,_0x2d4807){return _0x240517['GivKN'](_0x542505,_0x39dc89,_0x2d4807);},'VQGSe':function(_0xcf0b03,_0x52b9a0){return _0x240517['zxDIJ'](_0xcf0b03,_0x52b9a0);},'OyTBK':_0x240517['gTgcm'],'SVGFf':_0x240517[_0x29babe(0x15d)],'ewrpG':function(_0x4ac54a,_0x2ce83c,_0x305329){const _0x2746cc=_0x29babe;return _0x240517[_0x2746cc(0x165)](_0x4ac54a,_0x2ce83c,_0x305329);},'UdWAo':_0x240517[_0x29babe(0x131)],'MLEno':_0x240517[_0x29babe(0x196)]};try{_0x240517[_0x29babe(0x15c)](global[_0x29babe(0x1ab)][_0x29babe(0x18c)],0x1)&&(await global[_0x29babe(0x1cc)](),global[_0x29babe(0x1ab)][_0x29babe(0x1d8)](),global[_0x29babe(0x1d4)]=[],global[_0x29babe(0x17d)]=![]);try{if(global[_0x29babe(0x184)]&&_0x240517[_0x29babe(0x18f)](global[_0x29babe(0x13c)],_0x240517[_0x29babe(0x1da)])&&global[_0x29babe(0x1ab)][0x0]){const _0x182e37=_0x240517[_0x29babe(0x15c)](global[_0x29babe(0x139)][_0x29babe(0x18c)],0x0)?!!global[_0x29babe(0x139)][0x0]['app']||!!global[_0x29babe(0x139)][0x0][_0x240517[_0x29babe(0x157)]]:![],_0x1b335c={};_0x1b335c['app']=_0x182e37,await _0x240517[_0x29babe(0x115)](percyAutoCapture,global[_0x29babe(0x1ab)][0x0],_0x240517[_0x29babe(0x1da)],_0x1b335c);}}catch(_0x6c3030){logger[_0x29babe(0x12a)](_0x29babe(0x15f)+_0x6c3030);}!global['__skipSessionName']&&(await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x29babe(0x169)],async()=>{const _0x5d93fc=_0x29babe;await global[_0x5d93fc(0x1ab)][0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x5d93fc(0x1dc)](this['currentTest'][_0x5d93fc(0x1b7)]()[_0x5d93fc(0x1b4)](_0x240517[_0x5d93fc(0x149)]))+'}}');})(),global[_0x29babe(0x1ab)][0x0][_0x29babe(0x1de)]=!![]),await PerformanceTester[_0x29babe(0x170)](PerformanceAutEvents[_0x29babe(0x12f)],async()=>{const _0x5c2b28=_0x29babe,_0x229723=_0x39faea[_0x5c2b28(0x122)](this['currentTest'][_0x5c2b28(0x14a)],_0x39faea[_0x5c2b28(0x176)]);_0x229723?(global[_0x5c2b28(0x17d)]=!![],global[_0x5c2b28(0x1d4)][_0x5c2b28(0x1a2)](this['currentTest'][_0x5c2b28(0x1d2)][_0x5c2b28(0x173)]),await _0x39faea['PlrPv'](_0x5283b8,JSON[_0x5c2b28(0x1dc)](_0x39faea[_0x5c2b28(0x1c5)](_0x39faea[_0x5c2b28(0x18d)],this['currentTest'][_0x5c2b28(0x1d2)][_0x5c2b28(0x173)])),_0x39faea['SVGFf'])):await _0x39faea[_0x5c2b28(0x134)](_0x5283b8,JSON[_0x5c2b28(0x1dc)](_0x39faea['UdWAo']),_0x39faea[_0x5c2b28(0x13d)]);})();}catch(_0x44646d){logger[_0x29babe(0x12a)](_0x29babe(0x12e)+_0x44646d);}try{if(this[_0x29babe(0x13f)][_0x29babe(0x113)]&&globals[_0x29babe(0x11a)](_0x240517[_0x29babe(0x114)])){logger[_0x29babe(0x1d0)](_0x240517[_0x29babe(0x123)]);const _0x2b44ce={};_0x2b44ce[_0x29babe(0x190)]=this[_0x29babe(0x13f)][_0x29babe(0x135)],_0x2b44ce[_0x29babe(0x192)]=process['env'][testHubConstants['ENV_VAR'][_0x29babe(0x130)]],_0x2b44ce['thJwtToken']=process[_0x29babe(0x141)][testHubConstants[_0x29babe(0x11d)][_0x29babe(0x136)]];const _0x1f0f1e=_0x2b44ce;logger[_0x29babe(0x12a)](_0x29babe(0x150)+JSON[_0x29babe(0x1dc)](_0x1f0f1e));if(globals['getGlobal'](_0x240517[_0x29babe(0x17f)])){logger['debug'](_0x240517[_0x29babe(0x1bc)]);const _0x6d7c26={};_0x6d7c26['command']=_0x240517['xmHsw'];const _0x2bac01=await PerformanceTester[_0x29babe(0x170)](PerformanceA11yEvents[_0x29babe(0x11f)],async()=>{const _0x2d75de=_0x29babe;return await accessibilityRetryHelper['performScanWithRetry'](global[_0x2d75de(0x1ab)][0x0],global[_0x2d75de(0x15b)]);},_0x6d7c26)();_0x2bac01?logger[_0x29babe(0x12a)](_0x240517[_0x29babe(0x1dd)]):logger[_0x29babe(0x1ce)](_0x240517[_0x29babe(0x14d)]);}else logger[_0x29babe(0x12a)](_0x240517[_0x29babe(0x178)]);const _0x46de38=await PerformanceTester[_0x29babe(0x170)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x16b0e2=_0x29babe;return await accessibilityRetryHelper[_0x16b0e2(0x193)](global['__drivers'][0x0],_0x1f0f1e);})();_0x46de38?logger[_0x29babe(0x12a)](_0x240517['HNDir']):logger[_0x29babe(0x1ce)](_0x240517[_0x29babe(0x1b5)]),logger[_0x29babe(0x1d0)](_0x240517[_0x29babe(0x166)]);}}catch(_0x558011){logger[_0x29babe(0x182)](_0x29babe(0x1a5)+this['currentTest']['titlePath']()+_0x29babe(0x153),_0x558011);}try{try{if(_0x240517[_0x29babe(0x197)](shouldProcessEventForTesthub)){const _0xacc83d=global[_0x29babe(0x1ab)][0x0];if(_0xacc83d){const _0x315ea1=await _0x240517[_0x29babe(0x165)](sendPlatformDetails,_0xacc83d,this['currentTest']?this['currentTest'][_0x29babe(0x135)]:null);_0x315ea1&&(_0xacc83d[_0x29babe(0x1cb)]=!![]);}if(_0x240517['oTSgG'](isBrowserstackInfra)){PerformanceTester[_0x29babe(0x13e)](PerformanceO11yEvents[_0x29babe(0x11e)]);const _0x29eb67=_0x29babe(0x143)+Date['now']();await _0x240517['plYWi'](_0x5283b8,JSON[_0x29babe(0x1dc)](_0x29eb67),_0x240517[_0x29babe(0x1a9)]),PerformanceTester[_0x29babe(0x110)](PerformanceO11yEvents[_0x29babe(0x11e)]);}}}catch(_0x1a412f){logger[_0x29babe(0x12a)](_0x29babe(0x126)+_0x1a412f),PerformanceTester['end'](PerformanceO11yEvents[_0x29babe(0x11e)],![],_0x1a412f);}_0x240517['heDaQ'](global['__drivers'][0x0]['quitCount_'],0x0)&&await global[_0x29babe(0x1cc)]();}catch(_0x4bd148){logger[_0x29babe(0x12a)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x4bd148);}_0x240517[_0x29babe(0x1c3)](_0x4aaffe);})['then'](()=>{const _0x5e4520=_0x22d74a;_0x15222d[_0x5e4520(0x148)](_0x353689);});},{'platform':_0x15222d[_0x4a81b2(0x189)](nestedKeyValue,global[_0x4a81b2(0x140)],[_0x15222d[_0x4a81b2(0x1c9)]]),'hookType':_0x15222d['TCsee']})();},'afterAll'(_0x493f15){const _0x43f81a=a43_0x366a1f,_0x4ac8fa={'VdRwu':function(_0x34a75c){return _0x34a75c();},'EqDjm':_0x43f81a(0x175),'qkZoT':function(_0x3369c3,_0x1c2af3,_0x50c18b){return _0x3369c3(_0x1c2af3,_0x50c18b);},'kJlhR':_0x43f81a(0x145),'WKTcr':_0x43f81a(0x1db)},_0x125c1b='browserstack internal helper hook';this[_0x43f81a(0x1b3)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x4ac8fa[_0x43f81a(0x19b)]]),PerformanceTester[_0x43f81a(0x170)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x2aa998=_0x43f81a,_0x54e9f8={'hGUaN':function(_0x34d0c9){const _0x1d35f4=a43_0x5102;return _0x4ac8fa[_0x1d35f4(0x18e)](_0x34d0c9);},'lXaVc':function(_0x5a1bf1){const _0x5e1851=a43_0x5102;return _0x4ac8fa[_0x5e1851(0x18e)](_0x5a1bf1);}};new Promise(async _0x81eac5=>{const _0x43f5c0=a43_0x5102;await global[_0x43f5c0(0x1cc)](),_0x54e9f8[_0x43f5c0(0x17e)](_0x81eac5);})[_0x2aa998(0x17a)]()[_0x2aa998(0x129)](()=>{const _0x35e4bd=_0x2aa998;_0x54e9f8[_0x35e4bd(0x1b9)](_0x493f15);});},{'platform':_0x4ac8fa[_0x43f81a(0x188)](nestedKeyValue,global[_0x43f81a(0x140)],[_0x4ac8fa[_0x43f81a(0x15a)]]),'hookType':_0x4ac8fa[_0x43f81a(0x156)]})();}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a44_0x51bdd9=a44_0x51f3;(function(_0x2288a3,_0x1b6eeb){const _0x310235=a44_0x51f3,_0x4f409f=_0x2288a3();while(!![]){try{const _0xe462de=-parseInt(_0x310235(0x207))/0x1+-parseInt(_0x310235(0x237))/0x2+parseInt(_0x310235(0x21d))/0x3*(parseInt(_0x310235(0x1f2))/0x4)+parseInt(_0x310235(0x236))/0x5+-parseInt(_0x310235(0x1fb))/0x6+-parseInt(_0x310235(0x20e))/0x7+-parseInt(_0x310235(0x267))/0x8*(-parseInt(_0x310235(0x1f8))/0x9);if(_0xe462de===_0x1b6eeb)break;else _0x4f409f['push'](_0x4f409f['shift']());}catch(_0x4cf75c){_0x4f409f['push'](_0x4f409f['shift']());}}}(a44_0x1f20,0x66662));const path=require(a44_0x51bdd9(0x204)),Module=require(a44_0x51bdd9(0x245)),{fork}=require('child_process'),logger=require(a44_0x51bdd9(0x240))[a44_0x51bdd9(0x1f4)],helper=require('../../helpers/helper'),TestHubHandler=require(a44_0x51bdd9(0x1f5)),RequestQueueHandler=require(a44_0x51bdd9(0x25d)),{FRAMEWORKS}=require(a44_0x51bdd9(0x208)),{printBuildLink}=require(a44_0x51bdd9(0x23d)),BrowserstackCLI=require(a44_0x51bdd9(0x22a)),CLIUtils=require(a44_0x51bdd9(0x259));function registerBrowserStackReporter(){const _0xf0488=a44_0x51bdd9,_0x35441f={};_0x35441f['aEmBj']=function(_0x14b3ce,_0xcf44d4){return _0x14b3ce===_0xcf44d4;},_0x35441f[_0xf0488(0x203)]='newman-reporter-browserstack',_0x35441f[_0xf0488(0x231)]=_0xf0488(0x22b),_0x35441f[_0xf0488(0x239)]=_0xf0488(0x24f);const _0x58fc67=_0x35441f,_0x507f69=path[_0xf0488(0x230)](__dirname,_0x58fc67[_0xf0488(0x231)],_0x58fc67['UaWgX']),_0x3a1aae=Module[_0xf0488(0x201)];Module[_0xf0488(0x201)]=function(_0x296f2a,_0x10e6b2,_0x4b692b,_0x1300c7){const _0x15c816=_0xf0488;if(_0x58fc67[_0x15c816(0x24d)](_0x296f2a,_0x58fc67[_0x15c816(0x203)]))return _0x507f69;return _0x3a1aae['call'](this,_0x296f2a,_0x10e6b2,_0x4b692b,_0x1300c7);};}function injectReporterIntoArgs(_0x1c87fa){const _0x144577=a44_0x51bdd9,_0x2a45b2={};_0x2a45b2['cmIZE']=function(_0x2cba0f,_0xf03aa){return _0x2cba0f<_0xf03aa;},_0x2a45b2[_0x144577(0x253)]=function(_0x4740d5,_0x2b13a5){return _0x4740d5===_0x2b13a5;},_0x2a45b2[_0x144577(0x25c)]=function(_0x3ac973,_0x4110b3){return _0x3ac973===_0x4110b3;},_0x2a45b2[_0x144577(0x232)]='--reporters',_0x2a45b2[_0x144577(0x22d)]=function(_0x2b9a96,_0x384d53){return _0x2b9a96+_0x384d53;},_0x2a45b2[_0x144577(0x25f)]=function(_0x5b30fd,_0x2040a4){return _0x5b30fd===_0x2040a4;},_0x2a45b2[_0x144577(0x21f)]=function(_0x109e32,_0x60e09f){return _0x109e32+_0x60e09f;},_0x2a45b2[_0x144577(0x256)]=_0x144577(0x257),_0x2a45b2['cfYfu']=function(_0x5ee56f,_0x5ee849){return _0x5ee56f+_0x5ee849;},_0x2a45b2['oHxOv']=_0x144577(0x228),_0x2a45b2['RZXfI']='cli,browserstack';const _0x23ab80=_0x2a45b2,_0x1502e0=_0x1c87fa[_0x144577(0x264)]();for(let _0x335a37=0x0;_0x23ab80[_0x144577(0x252)](_0x335a37,_0x1502e0['length']);_0x335a37++){if(_0x23ab80[_0x144577(0x253)](_0x1502e0[_0x335a37],'-r')||_0x23ab80[_0x144577(0x25c)](_0x1502e0[_0x335a37],_0x23ab80[_0x144577(0x232)]))return _0x1502e0[_0x23ab80[_0x144577(0x22d)](_0x335a37,0x1)]&&_0x23ab80[_0x144577(0x25f)](_0x1502e0[_0x23ab80['NgxPL'](_0x335a37,0x1)]['indexOf'](_0x23ab80[_0x144577(0x256)]),-0x1)&&(_0x1502e0[_0x23ab80['cfYfu'](_0x335a37,0x1)]+=_0x23ab80[_0x144577(0x250)]),_0x1502e0;}return _0x1502e0['push']('-r',_0x23ab80[_0x144577(0x213)]),_0x1502e0;}function a44_0x51f3(_0x6011f4,_0x1db48a){const _0x1f2071=a44_0x1f20();return a44_0x51f3=function(_0x51f38e,_0x1116ea){_0x51f38e=_0x51f38e-0x1f2;let _0x1d532f=_0x1f2071[_0x51f38e];return _0x1d532f;},a44_0x51f3(_0x6011f4,_0x1db48a);}function runNewmanCLI(_0x1c56bc){const _0x3979f1=a44_0x51bdd9,_0x272f8d={'Mzexo':function(_0x5b1979,_0x48d36e){return _0x5b1979>_0x48d36e;},'NaKHy':function(_0xf25371,_0x44f7b6){return _0xf25371(_0x44f7b6);},'eqNAQ':function(_0x2bff69,_0x2cd447,_0x5d078d){return _0x2bff69(_0x2cd447,_0x5d078d);},'dNzuX':_0x3979f1(0x248),'bmCsU':_0x3979f1(0x24a),'CFBNI':_0x3979f1(0x245),'ZhTrm':'package.json','ejGJh':function(_0x5dcab4,_0x16f88e){return _0x5dcab4(_0x16f88e);},'wEVTU':_0x3979f1(0x255),'sLFVf':_0x3979f1(0x20f),'BUYow':function(_0xb44217,_0x406c7b){return _0xb44217+_0x406c7b;},'xcMCR':_0x3979f1(0x1ff),'YOlIE':function(_0x3d2b17,_0x320e2b){return _0x3d2b17(_0x320e2b);}};return new Promise(_0x4172c0=>{const _0x585870=_0x3979f1,_0x4bc136={'yhPQl':function(_0x2b4c56,_0x1295ba){return _0x272f8d['Mzexo'](_0x2b4c56,_0x1295ba);},'Jyptr':function(_0x2345e0,_0xf51ee){const _0x16b3d6=a44_0x51f3;return _0x272f8d[_0x16b3d6(0x214)](_0x2345e0,_0xf51ee);},'YlXyG':function(_0x58f917,_0x1df12d,_0x1c5525){const _0x46c57d=a44_0x51f3;return _0x272f8d[_0x46c57d(0x205)](_0x58f917,_0x1df12d,_0x1c5525);}};let _0x27e270;try{_0x27e270=helper[_0x585870(0x223)](_0x272f8d['dNzuX'],_0x272f8d[_0x585870(0x246)]);}catch(_0x452f85){return logger[_0x585870(0x20c)](_0x272f8d[_0x585870(0x1fc)]),_0x272f8d[_0x585870(0x214)](_0x4172c0,0x1);}const _0x37baee=_0x27e270['run'];_0x27e270[_0x585870(0x211)]=function(_0x466e8f,_0x4381d9){const _0x1186d5=_0x585870,_0x6d017a={'msCTt':function(_0x46a3d3,_0x4c21bf){const _0x19a01b=a44_0x51f3;return _0x4bc136[_0x19a01b(0x1f6)](_0x46a3d3,_0x4c21bf);},'tGekw':function(_0x239234,_0x21f39e){const _0x323210=a44_0x51f3;return _0x4bc136[_0x323210(0x242)](_0x239234,_0x21f39e);},'nppEz':function(_0x2827c5,_0x4c80d4,_0xa2b8f){const _0x3ff3ef=a44_0x51f3;return _0x4bc136[_0x3ff3ef(0x233)](_0x2827c5,_0x4c80d4,_0xa2b8f);}};return _0x27e270['run']=_0x37baee,_0x37baee[_0x1186d5(0x1f3)](_0x27e270,_0x466e8f,(_0x592fe7,_0x456ce7)=>{const _0x214194=_0x1186d5,_0x12236f=_0x456ce7&&_0x456ce7[_0x214194(0x211)]&&(_0x456ce7[_0x214194(0x211)][_0x214194(0x20c)]||_0x456ce7[_0x214194(0x211)][_0x214194(0x260)]&&_0x6d017a['msCTt'](_0x456ce7[_0x214194(0x211)][_0x214194(0x260)][_0x214194(0x258)],0x0));_0x6d017a['tGekw'](_0x4172c0,_0x12236f?0x1:0x0),_0x4381d9&&_0x6d017a[_0x214194(0x1f7)](_0x4381d9,_0x592fe7,_0x456ce7);});};try{const _0xfb3d88=_0x272f8d[_0x585870(0x214)](require,_0x272f8d[_0x585870(0x247)])[_0x585870(0x206)](path[_0x585870(0x230)](process['cwd'](),_0x272f8d[_0x585870(0x218)]));_0x272f8d[_0x585870(0x268)](_0xfb3d88,_0x272f8d['wEVTU'])([_0x272f8d[_0x585870(0x20b)],_0x272f8d[_0x585870(0x246)]]['concat'](_0x1c56bc));}catch(_0x14f709){_0x27e270[_0x585870(0x211)]=_0x37baee,logger[_0x585870(0x20c)](_0x272f8d[_0x585870(0x235)](_0x272f8d[_0x585870(0x1fe)],_0x14f709[_0x585870(0x241)])),_0x272f8d[_0x585870(0x249)](_0x4172c0,0x1);}});}function runNewmanScript(_0x4e77c3,_0x577382){const _0x5425f5=a44_0x51bdd9,_0x209213={'FDUfQ':function(_0x1db132,_0xccbbb0){return _0x1db132(_0xccbbb0);},'gsQaD':function(_0x19832e,_0x505ba5){return _0x19832e||_0x505ba5;},'AGPKD':function(_0x16bf51,_0x2a3bc6,_0x31fea4,_0x331ef1){return _0x16bf51(_0x2a3bc6,_0x31fea4,_0x331ef1);},'Jsbqb':_0x5425f5(0x217),'hijJn':function(_0x47c08f,_0x4821aa){return _0x47c08f(_0x4821aa);},'eKMqj':_0x5425f5(0x21e),'oHblQ':_0x5425f5(0x226)};return new Promise(function(_0x4c4967){const _0x4897a8=_0x5425f5,_0x5d3ad7={'PeTqW':function(_0x3cabd8,_0x118870){const _0x2d25fc=a44_0x51f3;return _0x209213[_0x2d25fc(0x25a)](_0x3cabd8,_0x118870);},'SMCEy':function(_0x4c09a7,_0x54a967){const _0x202725=a44_0x51f3;return _0x209213[_0x202725(0x25b)](_0x4c09a7,_0x54a967);}},_0x5b8522=_0x209213[_0x4897a8(0x220)](fork,path[_0x4897a8(0x230)](__dirname,_0x209213[_0x4897a8(0x1fa)]),[_0x4e77c3,_0x209213[_0x4897a8(0x261)](String,_0x209213[_0x4897a8(0x25b)](_0x577382,0x0))],{'stdio':_0x209213[_0x4897a8(0x265)],'env':Object[_0x4897a8(0x200)]({},process[_0x4897a8(0x1fd)])});_0x5b8522['on'](_0x209213['oHblQ'],function(_0x26049b){const _0xa3a3cb=_0x4897a8;_0x5d3ad7[_0xa3a3cb(0x25e)](_0x4c4967,_0x5d3ad7['SMCEy'](_0x26049b,0x0));});});}function hasO11yBuild(){const _0x192d97=a44_0x51bdd9,_0x388d21={};_0x388d21['sWyPD']=function(_0x4a36e2,_0x52faf6){return _0x4a36e2!==_0x52faf6;},_0x388d21[_0x192d97(0x234)]='null';const _0xb47213=_0x388d21;return!!(BrowserstackCLI[_0x192d97(0x244)]||process['env'][_0x192d97(0x251)]&&_0xb47213[_0x192d97(0x209)](process[_0x192d97(0x1fd)]['BROWSERSTACK_TESTHUB_JWT'],_0xb47213[_0x192d97(0x234)]));}function runWithoutObservability(_0x22c855,_0x43651d){const _0x37d7fe=a44_0x51bdd9,_0x24c6db={'IicTP':function(_0x35444a,_0x303eb6){return _0x35444a(_0x303eb6);},'YtaWk':function(_0x3dd444,_0x201623){return _0x3dd444(_0x201623);}};if(_0x22c855)return _0x24c6db[_0x37d7fe(0x215)](require,path[_0x37d7fe(0x238)](_0x22c855)),0x0;return _0x24c6db['YtaWk'](runNewmanCLI,_0x43651d);}module[a44_0x51bdd9(0x229)]=async function(_0x427550,_0x198f64,_0x2b69c9){const _0x230864=a44_0x51bdd9,_0x18613d={'SQTfb':_0x230864(0x222),'cUVsy':function(_0x2781d4,_0x268bd3){return _0x2781d4===_0x268bd3;},'MCaCc':_0x230864(0x20a),'eSwTe':function(_0x543cfc,_0x589a96,_0x13a775){return _0x543cfc(_0x589a96,_0x13a775);},'iLOMJ':function(_0x485079,_0x252169){return _0x485079!=_0x252169;},'qIqxb':_0x230864(0x212),'qkXGS':_0x230864(0x248),'GgNEo':function(_0x2b7b7d,_0x232912){return _0x2b7b7d+_0x232912;},'xJZrJ':_0x230864(0x221),'bDcQm':function(_0x53af7e,_0x40a6b5){return _0x53af7e+_0x40a6b5;},'SvoBr':'Failed\x20to\x20launch\x20build:\x20','YHsCV':function(_0x84842c){return _0x84842c();},'tkNDo':_0x230864(0x202),'kjZnZ':function(_0x76b7b,_0x13d2f1){return _0x76b7b(_0x13d2f1);},'SXtok':function(_0x275dab,_0xbb4691){return _0x275dab(_0xbb4691);},'eyQgC':'[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.'},_0xd76262=_0x198f64['slice'](0x1),_0x18c0fc=_0xd76262[0x0]&&_0xd76262[0x0][_0x230864(0x24c)](_0x18613d[_0x230864(0x225)])?_0xd76262[0x0]:null;if(!_0x2b69c9['config']||_0x18613d['cUVsy'](_0x2b69c9[_0x230864(0x22f)]['testObservability'],![])||_0x18613d[_0x230864(0x243)](_0x2b69c9[_0x230864(0x22f)][_0x230864(0x23f)],_0x18613d['MCaCc'])){process[_0x230864(0x210)]=await _0x18613d[_0x230864(0x266)](runWithoutObservability,_0x18c0fc,_0xd76262)||0x0;return;}process[_0x230864(0x1fd)][_0x230864(0x23c)]=_0x18613d['MCaCc'],process[_0x230864(0x1fd)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x18613d['MCaCc'],process[_0x230864(0x1fd)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x18613d[_0x230864(0x23b)](_0x2b69c9['config'][_0x230864(0x23f)],null)?_0x2b69c9[_0x230864(0x22f)][_0x230864(0x23f)]:_0x18613d[_0x230864(0x22e)],CLIUtils['setFrameworkDetail'](_0x18613d['qkXGS'],_0x18613d['qkXGS']),BrowserstackCLI['getInstance']()[_0x230864(0x227)](_0x2b69c9[_0x230864(0x22f)],_0x2b69c9[_0x230864(0x20d)],_0x2b69c9['cliConfig']);try{await BrowserstackCLI['getInstance']()[_0x230864(0x21a)]();}catch(_0x3db2c0){logger[_0x230864(0x20c)](_0x18613d[_0x230864(0x22c)](_0x18613d['xJZrJ'],_0x3db2c0[_0x230864(0x241)]||_0x3db2c0));}if(!BrowserstackCLI[_0x230864(0x21c)]()['isRunning']())try{await TestHubHandler[_0x230864(0x23e)](FRAMEWORKS[_0x230864(0x254)],_0x2b69c9);}catch(_0x37b826){logger[_0x230864(0x20c)](_0x18613d[_0x230864(0x23a)](_0x18613d[_0x230864(0x1f9)],_0x37b826[_0x230864(0x241)]||_0x37b826));}!_0x18613d[_0x230864(0x219)](hasO11yBuild)&&logger[_0x230864(0x216)](_0x18613d[_0x230864(0x24b)]);_0x18613d[_0x230864(0x219)](registerBrowserStackReporter);let _0x1c5638;_0x18c0fc?_0x1c5638=await _0x18613d[_0x230864(0x266)](runNewmanScript,_0x18c0fc,_0x2b69c9[_0x230864(0x22f)][_0x230864(0x21b)]):_0x1c5638=await _0x18613d['kjZnZ'](runNewmanCLI,_0x18613d[_0x230864(0x263)](injectReporterIntoArgs,_0xd76262));try{await TestHubHandler['stop']();}catch(_0x345f57){}try{await BrowserstackCLI[_0x230864(0x21c)]()[_0x230864(0x24e)]();}catch(_0xe7888e){}try{await RequestQueueHandler[_0x230864(0x21c)]()[_0x230864(0x224)]();}catch(_0x5c7543){}if(_0x18613d[_0x230864(0x219)](hasO11yBuild))try{_0x18613d[_0x230864(0x219)](printBuildLink);}catch(_0x6f3a0e){}else logger[_0x230864(0x216)](_0x18613d[_0x230864(0x262)]);process['exitCode']=_0x1c5638;};function a44_0x1f20(){const _0x3b4efe=['gsQaD','aFLrB','../../helpers/test-observability/requestQueueHandler','PeTqW','ZsNBv','failures','hijJn','eyQgC','SXtok','slice','eKMqj','eSwTe','8184TOvsQF','ejGJh','40740FXbBAa','call','winstonLogger','../../helpers/testhub/testhubHandler','yhPQl','nppEz','13878oxlLIf','SvoBr','Jsbqb','1420992KfkEWz','bmCsU','env','xcMCR','Newman\x20CLI\x20not\x20found:\x20','assign','_resolveFilename','[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','NCjqX','path','eqNAQ','createRequire','477748vfkMLK','../../helpers/test-observability/constants','sWyPD','false','sLFVf','error','configPath','2906281ywgQEx','node','exitCode','run','true','RZXfI','NaKHy','IicTP','warn','scriptRunner.js','ZhTrm','YHsCV','bootstrap','parallelsPerPlatform','getInstance','18AXmJJy','inherit','NgxPL','AGPKD','Failed\x20to\x20bootstrap\x20CLI:\x20','.js','requireModule','shutdown','SQTfb','close','setBrowserstackConfig',',browserstack','exports','../v2/browserstackCLI','reporter','GgNEo','lTQne','qIqxb','config','join','jEaSk','qVxBR','YlXyG','banTL','BUYow','1708100wgzBgS','862014KTazbF','resolve','UaWgX','bDcQm','iLOMJ','BROWSERSTACK_AUTOMATION','../../helpers/test-observability/utils','launchBuild','testObservability','../../helpers/logger','message','Jyptr','cUVsy','O11yHashedID','module','dNzuX','CFBNI','newman','YOlIE','Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','tkNDo','endsWith','aEmBj','stop','index.js','oHxOv','BROWSERSTACK_TESTHUB_JWT','cmIZE','oWnUh','NEWMAN','newman/bin/newman','MOdQT','browserstack','length','../v2/cliUtils','FDUfQ'];a44_0x1f20=function(){return _0x3b4efe;};return a44_0x1f20();}
2
+ 'use strict';const a44_0x562451=a44_0x2e67;(function(_0x2f77d9,_0x46a630){const _0x12c1e6=a44_0x2e67,_0x5c1e05=_0x2f77d9();while(!![]){try{const _0x42f5c2=-parseInt(_0x12c1e6(0x205))/0x1+-parseInt(_0x12c1e6(0x1c3))/0x2+parseInt(_0x12c1e6(0x1fd))/0x3*(parseInt(_0x12c1e6(0x206))/0x4)+parseInt(_0x12c1e6(0x21c))/0x5+-parseInt(_0x12c1e6(0x1ba))/0x6+parseInt(_0x12c1e6(0x1eb))/0x7+parseInt(_0x12c1e6(0x1f9))/0x8*(parseInt(_0x12c1e6(0x213))/0x9);if(_0x42f5c2===_0x46a630)break;else _0x5c1e05['push'](_0x5c1e05['shift']());}catch(_0x14d348){_0x5c1e05['push'](_0x5c1e05['shift']());}}}(a44_0x3bcc,0xc3903));const path=require(a44_0x562451(0x21b)),Module=require('module'),{fork}=require(a44_0x562451(0x21f)),logger=require(a44_0x562451(0x220))[a44_0x562451(0x1db)],helper=require(a44_0x562451(0x207)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),RequestQueueHandler=require(a44_0x562451(0x1df)),{FRAMEWORKS}=require(a44_0x562451(0x1e6)),{printBuildLink}=require('../../helpers/test-observability/utils'),BrowserstackCLI=require(a44_0x562451(0x1fc)),CLIUtils=require(a44_0x562451(0x20a));function registerBrowserStackReporter(){const _0x32ac4e=a44_0x562451,_0x457997={};_0x457997['cUyCS']=function(_0x5c8a90,_0x25c7b8){return _0x5c8a90===_0x25c7b8;},_0x457997[_0x32ac4e(0x1dc)]='newman-reporter-browserstack',_0x457997['NTKmK']=_0x32ac4e(0x1ec),_0x457997[_0x32ac4e(0x1b1)]=_0x32ac4e(0x1bb);const _0x2dc524=_0x457997,_0x4f346c=path[_0x32ac4e(0x1bf)](__dirname,_0x2dc524[_0x32ac4e(0x1be)],_0x2dc524[_0x32ac4e(0x1b1)]),_0x43844f=Module[_0x32ac4e(0x201)];Module[_0x32ac4e(0x201)]=function(_0x93d3ef,_0x2da132,_0xe23183,_0x3f6b22){const _0x4efd7f=_0x32ac4e;if(_0x2dc524['cUyCS'](_0x93d3ef,_0x2dc524['TcarW']))return _0x4f346c;return _0x43844f[_0x4efd7f(0x1e7)](this,_0x93d3ef,_0x2da132,_0xe23183,_0x3f6b22);};}function injectReporterIntoArgs(_0x4fb367){const _0x4eeee8=a44_0x562451,_0x2ebcc6={};_0x2ebcc6['qldXc']=function(_0x513d0a,_0x163fb9){return _0x513d0a<_0x163fb9;},_0x2ebcc6['zscTJ']=function(_0x45a461,_0x1cf8dc){return _0x45a461===_0x1cf8dc;},_0x2ebcc6[_0x4eeee8(0x211)]=function(_0x5906b5,_0x7263da){return _0x5906b5===_0x7263da;},_0x2ebcc6[_0x4eeee8(0x20f)]=_0x4eeee8(0x1da),_0x2ebcc6[_0x4eeee8(0x1af)]=function(_0x1580cc,_0xe117d2){return _0x1580cc+_0xe117d2;},_0x2ebcc6[_0x4eeee8(0x1d2)]=function(_0x3dd536,_0x3c0063){return _0x3dd536===_0x3c0063;},_0x2ebcc6[_0x4eeee8(0x1f8)]=function(_0x41f0ad,_0x21584d){return _0x41f0ad+_0x21584d;},_0x2ebcc6[_0x4eeee8(0x1f2)]='browserstack',_0x2ebcc6['tkuhu']=function(_0x4d8eb7,_0x43b888){return _0x4d8eb7+_0x43b888;},_0x2ebcc6['isfIn']=_0x4eeee8(0x1b8),_0x2ebcc6[_0x4eeee8(0x1cc)]=_0x4eeee8(0x1f7);const _0x5812f8=_0x2ebcc6,_0x446f05=_0x4fb367[_0x4eeee8(0x208)]();for(let _0x44fbff=0x0;_0x5812f8['qldXc'](_0x44fbff,_0x446f05[_0x4eeee8(0x1ca)]);_0x44fbff++){if(_0x5812f8[_0x4eeee8(0x1e9)](_0x446f05[_0x44fbff],'-r')||_0x5812f8[_0x4eeee8(0x211)](_0x446f05[_0x44fbff],_0x5812f8[_0x4eeee8(0x20f)]))return _0x446f05[_0x5812f8[_0x4eeee8(0x1af)](_0x44fbff,0x1)]&&_0x5812f8[_0x4eeee8(0x1d2)](_0x446f05[_0x5812f8['ktgyz'](_0x44fbff,0x1)]['indexOf'](_0x5812f8[_0x4eeee8(0x1f2)]),-0x1)&&(_0x446f05[_0x5812f8['tkuhu'](_0x44fbff,0x1)]+=_0x5812f8[_0x4eeee8(0x219)]),_0x446f05;}return _0x446f05[_0x4eeee8(0x216)]('-r',_0x5812f8[_0x4eeee8(0x1cc)]),_0x446f05;}function a44_0x2e67(_0x433162,_0x25327e){const _0x3bcc6a=a44_0x3bcc();return a44_0x2e67=function(_0x2e67f2,_0x5ce96a){_0x2e67f2=_0x2e67f2-0x1ac;let _0x165e76=_0x3bcc6a[_0x2e67f2];return _0x165e76;},a44_0x2e67(_0x433162,_0x25327e);}function runNewmanCLI(_0x4e9d5f){const _0x5f11c5=a44_0x562451,_0x83f6b9={'kqmhp':function(_0x303a82,_0x2f146e){return _0x303a82>_0x2f146e;},'GunXe':function(_0x542159,_0xf1c2e8){return _0x542159(_0xf1c2e8);},'nReog':function(_0x5284ed,_0x1f1454,_0x23872c){return _0x5284ed(_0x1f1454,_0x23872c);},'NEXdo':_0x5f11c5(0x1b2),'rkVPD':_0x5f11c5(0x1fe),'BkdhE':function(_0x329687,_0x1b1012){return _0x329687(_0x1b1012);},'ikUVQ':function(_0x31b53d,_0x22ad6b){return _0x31b53d(_0x22ad6b);},'FgrRc':_0x5f11c5(0x1cb),'nPLBb':'package.json','jbJzE':_0x5f11c5(0x222),'OmRCP':'node','Nfztc':function(_0x54c170,_0x5555a8){return _0x54c170+_0x5555a8;},'MsJlX':_0x5f11c5(0x21d)};return new Promise(_0x55c949=>{const _0x4ceaaf=_0x5f11c5;let _0x3873d9;try{_0x3873d9=helper[_0x4ceaaf(0x1ff)](_0x83f6b9[_0x4ceaaf(0x203)],_0x83f6b9[_0x4ceaaf(0x203)]);}catch(_0x3d9d6b){return logger[_0x4ceaaf(0x20b)](_0x83f6b9[_0x4ceaaf(0x1f4)]),_0x83f6b9[_0x4ceaaf(0x1cf)](_0x55c949,0x1);}const _0x3ee7e9=_0x3873d9[_0x4ceaaf(0x1f3)];_0x3873d9[_0x4ceaaf(0x1f3)]=function(_0x3421b4,_0x5a52b6){const _0x40cc41=_0x4ceaaf,_0x128d6d={'sqrTq':function(_0x4de72e,_0x26fe2a){const _0x10b222=a44_0x2e67;return _0x83f6b9[_0x10b222(0x209)](_0x4de72e,_0x26fe2a);},'WbCPq':function(_0x2723ae,_0x5897d8){const _0x3ed356=a44_0x2e67;return _0x83f6b9[_0x3ed356(0x217)](_0x2723ae,_0x5897d8);},'kIMph':function(_0x286d4a,_0x3f418f,_0xc3a159){const _0x751fba=a44_0x2e67;return _0x83f6b9[_0x751fba(0x1ce)](_0x286d4a,_0x3f418f,_0xc3a159);}};return _0x3873d9[_0x40cc41(0x1f3)]=_0x3ee7e9,_0x3ee7e9[_0x40cc41(0x1e7)](_0x3873d9,_0x3421b4,(_0x5b6f50,_0x27b7c2)=>{const _0x2e62b0=_0x40cc41,_0x4424e1=_0x27b7c2&&_0x27b7c2[_0x2e62b0(0x1f3)]&&(_0x27b7c2[_0x2e62b0(0x1f3)][_0x2e62b0(0x20b)]||_0x27b7c2[_0x2e62b0(0x1f3)][_0x2e62b0(0x1b4)]&&_0x128d6d[_0x2e62b0(0x204)](_0x27b7c2[_0x2e62b0(0x1f3)][_0x2e62b0(0x1b4)][_0x2e62b0(0x1ca)],0x0));_0x128d6d[_0x2e62b0(0x214)](_0x55c949,_0x4424e1?0x1:0x0),_0x5a52b6&&_0x128d6d[_0x2e62b0(0x1de)](_0x5a52b6,_0x5b6f50,_0x27b7c2);});};try{const _0x58c2e1=_0x83f6b9[_0x4ceaaf(0x1ac)](require,_0x83f6b9[_0x4ceaaf(0x1e3)])['createRequire'](path[_0x4ceaaf(0x1bf)](process[_0x4ceaaf(0x1c6)](),_0x83f6b9[_0x4ceaaf(0x1e4)]));_0x83f6b9['ikUVQ'](_0x58c2e1,_0x83f6b9['jbJzE'])([_0x83f6b9[_0x4ceaaf(0x1d4)],_0x83f6b9[_0x4ceaaf(0x203)]]['concat'](_0x4e9d5f));}catch(_0xf58933){_0x3873d9[_0x4ceaaf(0x1f3)]=_0x3ee7e9,logger[_0x4ceaaf(0x20b)](_0x83f6b9[_0x4ceaaf(0x1d5)](_0x83f6b9[_0x4ceaaf(0x1c8)],_0xf58933['message'])),_0x83f6b9['BkdhE'](_0x55c949,0x1);}});}function a44_0x3bcc(){const _0x87d207=['Jkefw','newman','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','failures','testObservability','lUaUc','setBrowserstackConfig',',browserstack','Failed\x20to\x20bootstrap\x20CLI:\x20','5953134wgvxWw','index.js','[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','ZUOdI','NTKmK','join','AbfZZ','xPtTS','OrgCb','3080466qAeuhz','exports','env','cwd','true','MsJlX','bootstrap','length','module','tnSre','warn','nReog','BkdhE','BROWSERSTACK_TESTHUB_JWT','assign','gqdAC','BROWSERSTACK_TEST_OBSERVABILITY_YML','OmRCP','Nfztc','parallelsPerPlatform','MaSJH','QJvaO','RSKyX','--reporters','winstonLogger','TcarW','config','kIMph','../../helpers/test-observability/requestQueueHandler','ukkjH','cliConfig','JMmKC','FgrRc','nPLBb','sZVLm','../../helpers/test-observability/constants','call','ZkKEa','zscTJ','GlXEV','4415712aGTOII','reporter','RRJYw','null','EbCMw','Failed\x20to\x20launch\x20build:\x20','fLaIv','ccoHE','run','rkVPD','message','OwSOq','cli,browserstack','ktgyz','16xrVadr','.js','[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','../v2/browserstackCLI','66930AlZGaw','Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','requireModule','shutdown','_resolveFilename','endsWith','NEXdo','sqrTq','253583wAeHki','156GUdvlC','../../helpers/helper','slice','kqmhp','../v2/cliUtils','error','IQIOQ','stop','HTADi','arAXE','NEWMAN','Fhskv','aJsoj','6165522Npoehs','WbCPq','O11yHashedID','push','GunXe','GyNsG','isfIn','ewGXj','path','3580050nnBNpY','Newman\x20CLI\x20not\x20found:\x20','aBgVz','child_process','../../helpers/logger','configPath','newman/bin/newman','ikUVQ','GquyH','close','AsbPv','getInstance'];a44_0x3bcc=function(){return _0x87d207;};return a44_0x3bcc();}function runNewmanScript(_0x2dfafe,_0xb517ad){const _0x33a81c=a44_0x562451,_0x439381={'xPtTS':function(_0x119ace,_0x2c3fbc){return _0x119ace(_0x2c3fbc);},'KUwLs':function(_0x3a601d,_0x37671d){return _0x3a601d||_0x37671d;},'QvhMW':function(_0x546e46,_0x573e68,_0x550f2c,_0x4c4c65){return _0x546e46(_0x573e68,_0x550f2c,_0x4c4c65);},'fLaIv':'scriptRunner.js','IQIOQ':function(_0x14b2ea,_0x4be7cb){return _0x14b2ea(_0x4be7cb);},'NzAaq':function(_0x10657a,_0x4bee3c){return _0x10657a||_0x4bee3c;},'dywYX':'inherit','fMbkW':_0x33a81c(0x1ae)};return new Promise(function(_0x4d6ad5){const _0x465c8b=_0x33a81c,_0x2b4fb0={'ZUOdI':function(_0x48d162,_0x3e033b){const _0x3a0448=a44_0x2e67;return _0x439381[_0x3a0448(0x1c1)](_0x48d162,_0x3e033b);},'OwSOq':function(_0x509c44,_0x2c589c){return _0x439381['KUwLs'](_0x509c44,_0x2c589c);}},_0x1675a8=_0x439381['QvhMW'](fork,path[_0x465c8b(0x1bf)](__dirname,_0x439381[_0x465c8b(0x1f1)]),[_0x2dfafe,_0x439381[_0x465c8b(0x20c)](String,_0x439381['NzAaq'](_0xb517ad,0x0))],{'stdio':_0x439381['dywYX'],'env':Object[_0x465c8b(0x1d1)]({},process[_0x465c8b(0x1c5)])});_0x1675a8['on'](_0x439381['fMbkW'],function(_0x3841f6){const _0xa4e93f=_0x465c8b;_0x2b4fb0[_0xa4e93f(0x1bd)](_0x4d6ad5,_0x2b4fb0[_0xa4e93f(0x1f6)](_0x3841f6,0x0));});});}function hasO11yBuild(){const _0x58baa4=a44_0x562451,_0x417852={};_0x417852[_0x58baa4(0x1e0)]=function(_0x3eb9ec,_0x53726f){return _0x3eb9ec!==_0x53726f;},_0x417852[_0x58baa4(0x20e)]=_0x58baa4(0x1ee);const _0x5c21ac=_0x417852;return!!(BrowserstackCLI[_0x58baa4(0x215)]||process[_0x58baa4(0x1c5)][_0x58baa4(0x1d0)]&&_0x5c21ac[_0x58baa4(0x1e0)](process[_0x58baa4(0x1c5)]['BROWSERSTACK_TESTHUB_JWT'],_0x5c21ac[_0x58baa4(0x20e)]));}function runWithoutObservability(_0x539dde,_0xa7cac){const _0x41bf1f=a44_0x562451,_0x652a00={'GlXEV':function(_0x42e315,_0x343f44){return _0x42e315(_0x343f44);}};if(_0x539dde)return _0x652a00[_0x41bf1f(0x1ea)](require,path['resolve'](_0x539dde)),0x0;return _0x652a00[_0x41bf1f(0x1ea)](runNewmanCLI,_0xa7cac);}module[a44_0x562451(0x1c4)]=async function(_0x1bb5d8,_0x49a34b,_0x319c54){const _0x195e19=a44_0x562451,_0x58fa12={'QJvaO':_0x195e19(0x1fa),'aBgVz':function(_0x3e8c5d,_0x45c5d9){return _0x3e8c5d===_0x45c5d9;},'lUaUc':function(_0x4c31cc,_0x3c5ef0){return _0x4c31cc===_0x3c5ef0;},'MaSJH':'false','EbCMw':function(_0x3f3b8c,_0x31c672,_0x624c04){return _0x3f3b8c(_0x31c672,_0x624c04);},'sZVLm':function(_0x7f7ba,_0x239d60){return _0x7f7ba!=_0x239d60;},'GyNsG':_0x195e19(0x1c7),'JMmKC':'newman','ZkKEa':function(_0x3f842b,_0x36d572){return _0x3f842b+_0x36d572;},'ewGXj':_0x195e19(0x1b9),'qGRFC':_0x195e19(0x1f0),'RSKyX':function(_0x29b6dd){return _0x29b6dd();},'YhMEA':_0x195e19(0x1fb),'aJsoj':function(_0x3b0278){return _0x3b0278();},'RRJYw':function(_0x3fb06e,_0x26bf06,_0x3d1448){return _0x3fb06e(_0x26bf06,_0x3d1448);},'AbfZZ':function(_0x533183,_0x2848c3){return _0x533183(_0x2848c3);},'GquyH':function(_0x932b27,_0x32a286){return _0x932b27(_0x32a286);},'OrgCb':_0x195e19(0x1bc)},_0x18d789=_0x49a34b[_0x195e19(0x208)](0x1),_0x116b19=_0x18d789[0x0]&&_0x18d789[0x0][_0x195e19(0x202)](_0x58fa12[_0x195e19(0x1d8)])?_0x18d789[0x0]:null;if(!_0x319c54[_0x195e19(0x1dd)]||_0x58fa12[_0x195e19(0x21e)](_0x319c54[_0x195e19(0x1dd)]['testObservability'],![])||_0x58fa12[_0x195e19(0x1b6)](_0x319c54[_0x195e19(0x1dd)][_0x195e19(0x1b5)],_0x58fa12[_0x195e19(0x1d7)])){process['exitCode']=await _0x58fa12[_0x195e19(0x1ef)](runWithoutObservability,_0x116b19,_0x18d789)||0x0;return;}process[_0x195e19(0x1c5)]['BROWSERSTACK_AUTOMATION']=_0x58fa12[_0x195e19(0x1d7)],process[_0x195e19(0x1c5)][_0x195e19(0x1b3)]=_0x58fa12[_0x195e19(0x1d7)],process[_0x195e19(0x1c5)][_0x195e19(0x1d3)]=_0x58fa12[_0x195e19(0x1e5)](_0x319c54[_0x195e19(0x1dd)][_0x195e19(0x1b5)],null)?_0x319c54['config'][_0x195e19(0x1b5)]:_0x58fa12[_0x195e19(0x218)],CLIUtils['setFrameworkDetail'](_0x58fa12[_0x195e19(0x1e2)],_0x58fa12['JMmKC']),BrowserstackCLI['getInstance']()[_0x195e19(0x1b7)](_0x319c54[_0x195e19(0x1dd)],_0x319c54[_0x195e19(0x221)],_0x319c54[_0x195e19(0x1e1)]);try{await BrowserstackCLI[_0x195e19(0x1b0)]()[_0x195e19(0x1c9)]();}catch(_0x1e6f16){logger['error'](_0x58fa12[_0x195e19(0x1e8)](_0x58fa12[_0x195e19(0x21a)],_0x1e6f16[_0x195e19(0x1f5)]||_0x1e6f16));}if(!BrowserstackCLI[_0x195e19(0x1b0)]()['isRunning']())try{await TestHubHandler['launchBuild'](FRAMEWORKS[_0x195e19(0x210)],_0x319c54);}catch(_0x2ce0db){logger[_0x195e19(0x20b)](_0x58fa12[_0x195e19(0x1e8)](_0x58fa12['qGRFC'],_0x2ce0db[_0x195e19(0x1f5)]||_0x2ce0db));}!_0x58fa12[_0x195e19(0x1d9)](hasO11yBuild)&&logger[_0x195e19(0x1cd)](_0x58fa12['YhMEA']);_0x58fa12[_0x195e19(0x212)](registerBrowserStackReporter);let _0x12a9f4;_0x116b19?_0x12a9f4=await _0x58fa12[_0x195e19(0x1ed)](runNewmanScript,_0x116b19,_0x319c54[_0x195e19(0x1dd)][_0x195e19(0x1d6)]):_0x12a9f4=await _0x58fa12[_0x195e19(0x1c0)](runNewmanCLI,_0x58fa12[_0x195e19(0x1ad)](injectReporterIntoArgs,_0x18d789));try{await TestHubHandler[_0x195e19(0x20d)]();}catch(_0x41d569){}try{await BrowserstackCLI[_0x195e19(0x1b0)]()['stop']();}catch(_0x45c704){}try{await RequestQueueHandler[_0x195e19(0x1b0)]()[_0x195e19(0x200)]();}catch(_0x2b3bcf){}if(_0x58fa12[_0x195e19(0x1d9)](hasO11yBuild))try{_0x58fa12[_0x195e19(0x1d9)](printBuildLink);}catch(_0x369d79){}else logger['warn'](_0x58fa12[_0x195e19(0x1c2)]);process['exitCode']=_0x12a9f4;};
@@ -1 +1 @@
1
- const a45_0x35e80f=a45_0x51b2;function a45_0x1454(){const _0x34802d=['env','8252188qYZTqq','toLowerCase','16218400ihXmTm','YULVb','40448XacXgO','1713040stqvza','772dLcEUU','3taTGFA','BROWSERSTACK_FRAMEWORK','isNewman','12DgROxg','exports','VJPSs','aFmVz','oeYnG','12975huJMUh','330235sLdSzY','6830397WkixqJ','newman'];a45_0x1454=function(){return _0x34802d;};return a45_0x1454();}(function(_0x14437b,_0x73896c){const _0x42f388=a45_0x51b2,_0x4f251f=_0x14437b();while(!![]){try{const _0x323425=-parseInt(_0x42f388(0xbe))/0x1*(parseInt(_0x42f388(0xbb))/0x2)+parseInt(_0x42f388(0xb2))/0x3*(parseInt(_0x42f388(0xbd))/0x4)+parseInt(_0x42f388(0xb3))/0x5*(-parseInt(_0x42f388(0xc1))/0x6)+parseInt(_0x42f388(0xb7))/0x7+-parseInt(_0x42f388(0xbc))/0x8+parseInt(_0x42f388(0xb4))/0x9+-parseInt(_0x42f388(0xb9))/0xa;if(_0x323425===_0x73896c)break;else _0x4f251f['push'](_0x4f251f['shift']());}catch(_0x1f4776){_0x4f251f['push'](_0x4f251f['shift']());}}}(a45_0x1454,0xb597e));function isNewman(_0x3ecb25){const _0x35d69b=a45_0x51b2,_0xb371b4={'VJPSs':function(_0x2cdf1c,_0x1e6488){return _0x2cdf1c===_0x1e6488;},'oeYnG':_0x35d69b(0xb5),'YULVb':function(_0x2adee0,_0x4d2307){return _0x2adee0(_0x4d2307);},'aFmVz':function(_0x5178c3,_0x1a2a5e){return _0x5178c3||_0x1a2a5e;}},_0x272990=process[_0x35d69b(0xb6)][_0x35d69b(0xbf)]||'';let _0x948422='';_0x3ecb25&&_0x3ecb25['framework']&&(_0x948422=_0x3ecb25['framework']);const _0xd9efd1=_0xb371b4[_0x35d69b(0xaf)](_0x272990[_0x35d69b(0xb8)](),_0xb371b4[_0x35d69b(0xb1)]),_0x5696fa=_0xb371b4[_0x35d69b(0xaf)](_0xb371b4[_0x35d69b(0xba)](String,_0x948422)['toLowerCase'](),_0xb371b4['oeYnG']);return _0xb371b4[_0x35d69b(0xb0)](_0xd9efd1,_0x5696fa);}function a45_0x51b2(_0x74b673,_0x17cd43){const _0x1454d0=a45_0x1454();return a45_0x51b2=function(_0x51b262,_0x74304f){_0x51b262=_0x51b262-0xaf;let _0x3483e7=_0x1454d0[_0x51b262];return _0x3483e7;},a45_0x51b2(_0x74b673,_0x17cd43);};const a45_0x2b65f4={};a45_0x2b65f4[a45_0x35e80f(0xc0)]=isNewman,module[a45_0x35e80f(0xc2)]=a45_0x2b65f4;
1
+ const a45_0x4f1fab=a45_0x212d;(function(_0x484c17,_0x3c3d47){const _0xa8e896=a45_0x212d,_0x1aea3a=_0x484c17();while(!![]){try{const _0x12844c=-parseInt(_0xa8e896(0x16c))/0x1+parseInt(_0xa8e896(0x167))/0x2*(-parseInt(_0xa8e896(0x15e))/0x3)+parseInt(_0xa8e896(0x165))/0x4*(parseInt(_0xa8e896(0x170))/0x5)+parseInt(_0xa8e896(0x16a))/0x6+-parseInt(_0xa8e896(0x160))/0x7+-parseInt(_0xa8e896(0x169))/0x8*(parseInt(_0xa8e896(0x166))/0x9)+parseInt(_0xa8e896(0x16e))/0xa;if(_0x12844c===_0x3c3d47)break;else _0x1aea3a['push'](_0x1aea3a['shift']());}catch(_0x5aacb2){_0x1aea3a['push'](_0x1aea3a['shift']());}}}(a45_0x2d74,0xb0d0b));function isNewman(_0x146ff5){const _0x576da8=a45_0x212d,_0x4d9b64={'EqXlF':function(_0x2ed9fe,_0x581a1c){return _0x2ed9fe===_0x581a1c;},'aJgNW':_0x576da8(0x15f),'lgavx':function(_0x4ae244,_0x59ead8){return _0x4ae244===_0x59ead8;},'ttsur':function(_0x3f7fb4,_0x542960){return _0x3f7fb4(_0x542960);},'JgzRa':function(_0x2415ff,_0xf674ce){return _0x2415ff||_0xf674ce;}},_0x7bc5c3=process[_0x576da8(0x16b)][_0x576da8(0x168)]||'';let _0x1771ea='';_0x146ff5&&_0x146ff5[_0x576da8(0x162)]&&(_0x1771ea=_0x146ff5['framework']);const _0x4f1607=_0x4d9b64[_0x576da8(0x16d)](_0x7bc5c3[_0x576da8(0x164)](),_0x4d9b64[_0x576da8(0x15c)]),_0x24d2ca=_0x4d9b64[_0x576da8(0x161)](_0x4d9b64[_0x576da8(0x163)](String,_0x1771ea)['toLowerCase'](),_0x4d9b64['aJgNW']);return _0x4d9b64[_0x576da8(0x15d)](_0x4f1607,_0x24d2ca);}function a45_0x212d(_0x4c31f5,_0x5ea9e5){const _0x2d7411=a45_0x2d74();return a45_0x212d=function(_0x212db3,_0x39e828){_0x212db3=_0x212db3-0x15c;let _0x26d5d6=_0x2d7411[_0x212db3];return _0x26d5d6;},a45_0x212d(_0x4c31f5,_0x5ea9e5);};function a45_0x2d74(){const _0x2541df=['27kWAIBK','newman','2856091szuTqR','lgavx','framework','ttsur','toLowerCase','164516iLVenV','126ZNpwqF','96610suvxcc','BROWSERSTACK_FRAMEWORK','322768fSQyrt','4636836GpedgX','env','1077350UEVzgi','EqXlF','17783170eLXApl','isNewman','80bZyeKM','aJgNW','JgzRa'];a45_0x2d74=function(){return _0x2541df;};return a45_0x2d74();}const a45_0x3cf7f2={};a45_0x3cf7f2[a45_0x4f1fab(0x16f)]=isNewman,module['exports']=a45_0x3cf7f2;
@@ -1 +1 @@
1
- 'use strict';const a46_0x2a505a=a46_0x4491;(function(_0x30b2a5,_0x36f9b4){const _0x29b36b=a46_0x4491,_0x52d710=_0x30b2a5();while(!![]){try{const _0x4c9fd0=parseInt(_0x29b36b(0x1c0))/0x1+parseInt(_0x29b36b(0x18d))/0x2*(parseInt(_0x29b36b(0x119))/0x3)+parseInt(_0x29b36b(0x1f1))/0x4+parseInt(_0x29b36b(0x188))/0x5+-parseInt(_0x29b36b(0x144))/0x6*(-parseInt(_0x29b36b(0x183))/0x7)+-parseInt(_0x29b36b(0x1e5))/0x8*(parseInt(_0x29b36b(0x133))/0x9)+-parseInt(_0x29b36b(0x1ec))/0xa;if(_0x4c9fd0===_0x36f9b4)break;else _0x52d710['push'](_0x52d710['shift']());}catch(_0x15a8a9){_0x52d710['push'](_0x52d710['shift']());}}}(a46_0xe3ff,0xc1a34));function a46_0xe3ff(){const _0x498cd9=['testFrameworkState','forEach','assertion','httpLog','vvjaF','ItVUZ','TEST','get','startsWith','TestRunFinished','YJrMA','bs:addLog:','627816dGsjQC','failureType','object','[Newman\x20Reporter]\x20emitLog\x20error:\x20','TEST_LOG','mIFqT','pending','method','xfLLk','ETLxR','QBiNz','ref','concat','mnHgB','apply','itemName','HUTMs','../../../helpers/test-observability/sessionHandler','failure','ucDbI','FYEAM','UnhandledError','ikWpD','unknown','DzMHG','dBvnD','NXQxG','UVBAr','passed','listen','relative','info','HTTP','test_run_uuid','ERMuM','duration_ms','err','2125840wSJgtx','uuid','AQbIS','stbAm','WXUlz','Qftsr','search','20391710vlkfhD','INFO','cwd','KyhkW','host','1841028dYQyqw','isRunning','UeMeH','length','XGHiM','stringify','VmvHy','bufferedLogs','message','collectionPath','VAbhW','name','jPlRE','SnxhH','aZJLk','join','error','[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20','location','failure_reason_expanded','xCEnK','TWjeV','finishedAt','HQOwT','reTnI','Assertion\x20','3492813TTTsni','LVECJ','epIuP','../../v2/state/testFrameworkState','lvrXH','url','HTTP\x20','level','VbgGr','kind','result','yGNOd','winstonLogger','durationMs','zMKuz','status_code','timestamp','item','OTafZ','GrMRe','bJWRn','nmOaX','http_response','Frtgv','stack','toISOString','9UEBESz','identifier','KNQSe','PRE','responseTime','request','failed','ugajP','zlgot','SbHdT','lastResponseCode','WARN','cursor','TFMjz','collection.json','code','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','4873782WYRASA','toString','failure_backtrace','dEzid','BIWlL','ghEKV','NEaXd','includes','Ikpgl','TestRunStarted','IOySR','DEBUG','gkYpw','\x20->\x20','UQcjm','slice','hostname','bkkDK','N/A','collection','failureReason','KYFwu','Script\x20error\x20(','headers','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','URMkM','akuKa','collectionName','WplOx','dcyPD','response','javascript','argv','startTimestamp','testFrameworkVersion','http','pAnTo','test_run','run','eMirH','backtrace','startedAt','NHhcf','HTTP\x20Status:\x20','NalgF','aOgnk','dkPsS','QckHj','LZDWV','OuPbo','UVxTY','FZcXY','logCreatedEvent','[Newman\x20Reporter]\x20Error\x20in\x20request:\x20','expanded','toUpperCase','LeEqK','CjLjo','execution','YSnqr','now','vlhtu','nCgIv','7cAUICa','max','string','HnZpk','done','167000SJMjsC','[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20','rzBSr','path','push','2oamLuV','oDXGB','delete','parent','oJZxe','AssertionError','mduDK','OrmqB','uploadEventData','../../v2/state/hookState','ms)','LvSlx','../../../helpers/logger','avzjP','\x20(HTTP\x20','QVzyf','hOziu','ERROR','sqDrr','resolve','logs','indexOf','exception','hgMEE','fTWLv','platformIndex','assertions','getInstance','ZzjYb','set','EfPjt','newman','GET','removeListener','testFrameworkName','):\x20','scopes','NBgPd','getTime'];a46_0xe3ff=function(){return _0x498cd9;};return a46_0xe3ff();}const path=require(a46_0x2a505a(0x18b)),{v4:uuidv4}=require(a46_0x2a505a(0x1e6)),SessionHandler=require(a46_0x2a505a(0x1d1)),{debug}=require('../../../helpers/test-observability/utils'),logger=require(a46_0x2a505a(0x199))[a46_0x2a505a(0x125)],BrowserstackCLI=require('../../v2/browserstackCLI'),GrpcClient=require('../../v2/grpcClient'),TestFrameworkState=require(a46_0x2a505a(0x11c)),HookState=require(a46_0x2a505a(0x196)),LOG_LEVELS=[a46_0x2a505a(0x1ed),a46_0x2a505a(0x13e),a46_0x2a505a(0x19e),a46_0x2a505a(0x14f),'TRACE'];function isCLIRunning(){const _0x19df10=a46_0x2a505a;try{return BrowserstackCLI[_0x19df10(0x1a8)]()[_0x19df10(0x1f2)]();}catch(_0x3b1548){return![];}}function getParentTitles(_0x3b7d10){const _0x432647=a46_0x2a505a,_0x520b07={'reTnI':function(_0x535ed4,_0x80c8fd){return _0x535ed4(_0x80c8fd);},'epIuP':function(_0x4e920f,_0x5dd9ee){return _0x4e920f(_0x5dd9ee);}},_0x3efea0=[],_0x1aca26=_0x3b7d10[_0x432647(0x190)]();return _0x1aca26&&_0x3efea0[_0x432647(0x18c)][_0x432647(0x1ce)](_0x3efea0,_0x520b07[_0x432647(0x117)](getParentTitles,_0x1aca26)),_0x3b7d10[_0x432647(0x1fc)]&&_0x3efea0['push'](_0x520b07[_0x432647(0x11b)](String,_0x3b7d10[_0x432647(0x1fc)])),_0x3efea0;}function a46_0x4491(_0x16351f,_0x5cf363){const _0xe3ff0b=a46_0xe3ff();return a46_0x4491=function(_0x4491e5,_0x596fb7){_0x4491e5=_0x4491e5-0x112;let _0x5537b4=_0xe3ff0b[_0x4491e5];return _0x5537b4;},a46_0x4491(_0x16351f,_0x5cf363);}function normalizeLogLevel(_0x258e03){const _0x431cc3=a46_0x2a505a,_0x3036a={};_0x3036a[_0x431cc3(0x198)]='INFO',_0x3036a[_0x431cc3(0x12d)]=function(_0x4acb89,_0x2d21f8){return _0x4acb89!==_0x2d21f8;};const _0x520499=_0x3036a;if(!_0x258e03)return _0x520499[_0x431cc3(0x198)];const _0x2fd65b=_0x258e03[_0x431cc3(0x17b)]();return _0x520499[_0x431cc3(0x12d)](LOG_LEVELS[_0x431cc3(0x1a2)](_0x2fd65b),-0x1)?_0x2fd65b:_0x520499['LvSlx'];}function resolveCollectionFile(_0x3eba32,_0x207c47){const _0x455e0c=a46_0x2a505a,_0xe69b37={};_0xe69b37['YIeeR']=function(_0x3d4135,_0x3c506b){return _0x3d4135===_0x3c506b;},_0xe69b37[_0x455e0c(0x148)]=_0x455e0c(0x185),_0xe69b37[_0x455e0c(0x191)]=_0x455e0c(0x16a),_0xe69b37[_0x455e0c(0x15e)]=function(_0x1d13e2,_0x62bc78){return _0x1d13e2!==_0x62bc78;},_0xe69b37[_0x455e0c(0x1da)]=function(_0xfb089f,_0x5468e5){return _0xfb089f<_0x5468e5;},_0xe69b37[_0x455e0c(0x1b9)]=function(_0x5f0ba0,_0x206bd1){return _0x5f0ba0+_0x206bd1;},_0xe69b37[_0x455e0c(0x11d)]='[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json',_0xe69b37[_0x455e0c(0x1c8)]=_0x455e0c(0x141);const _0x4ede50=_0xe69b37;try{if(_0x207c47&&_0x207c47[_0x455e0c(0x1fa)])return path[_0x455e0c(0x1de)](process[_0x455e0c(0x1ee)](),path['resolve'](_0x207c47['collectionPath']));const _0x3755df=_0x3eba32[_0x455e0c(0x157)];if(_0x4ede50['YIeeR'](typeof _0x3755df,_0x4ede50[_0x455e0c(0x148)]))return path[_0x455e0c(0x1de)](process['cwd'](),path[_0x455e0c(0x1a0)](_0x3755df));const _0x51a50a=process[_0x455e0c(0x164)][_0x455e0c(0x1a2)](_0x4ede50[_0x455e0c(0x191)]);if(_0x4ede50['akuKa'](_0x51a50a,-0x1)&&_0x4ede50[_0x455e0c(0x1da)](_0x4ede50[_0x455e0c(0x1b9)](_0x51a50a,0x1),process['argv']['length'])){const _0x291800=process['argv'][_0x4ede50['ItVUZ'](_0x51a50a,0x1)];if(_0x291800&&!_0x291800[_0x455e0c(0x1bc)]('-'))return path[_0x455e0c(0x1de)](process[_0x455e0c(0x1ee)](),path['resolve'](_0x291800));}}catch(_0x451c95){}return logger[_0x455e0c(0x1df)](_0x4ede50[_0x455e0c(0x11d)]),_0x4ede50[_0x455e0c(0x1c8)];}function resolveCollectionName(_0x281b22){const _0x43da1e=a46_0x2a505a,_0x5cbb65={};_0x5cbb65[_0x43da1e(0x1a5)]=function(_0x138f93,_0xf628ad){return _0x138f93===_0xf628ad;},_0x5cbb65['vvjaF']=_0x43da1e(0x1c2);const _0x2999c1=_0x5cbb65;try{const _0x50200b=_0x281b22['collection'];if(_0x50200b&&_0x2999c1[_0x43da1e(0x1a5)](typeof _0x50200b,_0x2999c1[_0x43da1e(0x1b8)]))return _0x50200b[_0x43da1e(0x1fc)]||_0x50200b[_0x43da1e(0x1df)]&&_0x50200b[_0x43da1e(0x1df)][_0x43da1e(0x1fc)]||null;}catch(_0x175c7b){}return null;}function emitTest(_0x59253f,_0x5775f1,_0x5ddd97,_0x398d2d,_0x3a04d5){const _0x14dedc=a46_0x2a505a,_0x490d3c={'hgMEE':function(_0x1b8493){return _0x1b8493();},'Frtgv':_0x14dedc(0x1c6),'jzMwq':function(_0x1d0453,_0x133bf0){return _0x1d0453(_0x133bf0);},'TFMjz':_0x14dedc(0x1ac),'oDXGB':_0x14dedc(0x163),'QckHj':function(_0x339ee2,_0x3e605a){return _0x339ee2!=_0x3e605a;},'NEaXd':function(_0x43080e,_0x37de71){return _0x43080e===_0x37de71;},'SnxhH':_0x14dedc(0x14d),'aOgnk':_0x14dedc(0x1bd)};if(_0x490d3c[_0x14dedc(0x1a4)](isCLIRunning))try{const _0x288458=BrowserstackCLI[_0x14dedc(0x1a8)]()['getTestFramework']();if(!_0x288458)return;_0x288458['trackEvent'](TestFrameworkState[_0x14dedc(0x1ba)],_0x59253f,{'test':{'uuid':_0x5775f1['uuid'],'name':_0x5775f1[_0x14dedc(0x1fc)],'scopes':_0x5ddd97['scopes'],'scope':_0x5ddd97[_0x14dedc(0x1b1)][_0x14dedc(0x200)]('\x20'),'file_path':_0x398d2d,'location':_0x5ddd97[_0x14dedc(0x15f)],'started_at':_0x5ddd97[_0x14dedc(0x16d)],'finished_at':_0x3a04d5['finishedAt']||null,'result':_0x3a04d5[_0x14dedc(0x123)]||_0x490d3c[_0x14dedc(0x130)],'failure':_0x3a04d5[_0x14dedc(0x1d2)]||[],'failure_type':_0x3a04d5[_0x14dedc(0x1c1)]||null,'failure_reason':_0x3a04d5[_0x14dedc(0x158)]||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x577aea){_0x490d3c['jzMwq'](debug,'[Newman\x20Reporter]\x20emitTest\x20error:\x20'+_0x577aea);}else{const _0x48eac8={'uuid':_0x5775f1[_0x14dedc(0x1e6)],'name':_0x5775f1[_0x14dedc(0x1fc)],'framework':_0x490d3c[_0x14dedc(0x140)],'body':{'lang':_0x490d3c[_0x14dedc(0x18e)],'code':null},'scope':_0x5ddd97[_0x14dedc(0x1b1)][_0x14dedc(0x200)]('\x20'),'scopes':_0x5ddd97['scopes'],'identifier':_0x5775f1[_0x14dedc(0x134)],'file_name':_0x5ddd97['collectionName'],'vc_filepath':_0x5ddd97[_0x14dedc(0x203)],'location':_0x5ddd97[_0x14dedc(0x203)],'started_at':_0x5ddd97[_0x14dedc(0x16d)],'finished_at':_0x3a04d5[_0x14dedc(0x115)]||null,'duration_in_ms':_0x490d3c[_0x14dedc(0x173)](_0x3a04d5[_0x14dedc(0x126)],null)?Math[_0x14dedc(0x184)](0x0,_0x3a04d5['durationMs']):null,'result':_0x3a04d5[_0x14dedc(0x123)]||_0x490d3c[_0x14dedc(0x130)],'failure_reason':_0x3a04d5[_0x14dedc(0x158)]||null,'failure_type':_0x3a04d5[_0x14dedc(0x1c1)]||null,'failure':_0x3a04d5[_0x14dedc(0x1d2)]||[],'retry_of':null,'hooks':[]};_0x48eac8[_0x14dedc(0x1d2)][0x0]&&(_0x48eac8[_0x14dedc(0x146)]=_0x48eac8[_0x14dedc(0x1d2)][0x0][_0x14dedc(0x16c)],_0x48eac8[_0x14dedc(0x112)]=_0x48eac8['failure'][0x0][_0x14dedc(0x17a)]);const _0x5f2100=_0x490d3c[_0x14dedc(0x14a)](_0x59253f,HookState[_0x14dedc(0x136)])?_0x490d3c[_0x14dedc(0x1fe)]:_0x490d3c[_0x14dedc(0x171)],_0x2fa77d={};_0x2fa77d['event_type']=_0x5f2100,_0x2fa77d[_0x14dedc(0x169)]=_0x48eac8,SessionHandler[_0x14dedc(0x195)](_0x2fa77d);}}function emitLog(_0x23ee80,_0x21efb7){const _0x48f8af=a46_0x2a505a,_0x1bd9c2={'VAbhW':_0x48f8af(0x1c4),'haCHz':function(_0x1185ae){return _0x1185ae();},'pAnTo':function(_0x5e3223,_0x34fc02){return _0x5e3223===_0x34fc02;},'LeEqK':'HTTP','Abjvs':_0x48f8af(0x1ac),'QBiNz':_0x48f8af(0x1ba),'dcyPD':_0x48f8af(0x1ed),'tMRwb':function(_0x4d6640,_0xe17e37){return _0x4d6640(_0xe17e37);},'aZJLk':function(_0x43cc01,_0x117ff6){return _0x43cc01+_0x117ff6;},'jfBPI':_0x48f8af(0x1c3),'QVzyf':'LogCreated'},_0x5d495a=_0x21efb7['kind']||_0x1bd9c2[_0x48f8af(0x1fb)],_0x3940cc=_0x21efb7[_0x48f8af(0x129)]||new Date()[_0x48f8af(0x132)]();if(_0x1bd9c2['haCHz'](isCLIRunning))try{const _0x54ad52=_0x1bd9c2[_0x48f8af(0x168)](_0x5d495a,_0x1bd9c2[_0x48f8af(0x17c)])?JSON[_0x48f8af(0x1f6)](_0x21efb7):_0x21efb7[_0x48f8af(0x1f9)]||'',_0x5af63f={};_0x5af63f[_0x48f8af(0x1a6)]=0x0,_0x5af63f[_0x48f8af(0x1af)]=_0x1bd9c2['Abjvs'],_0x5af63f[_0x48f8af(0x166)]='',_0x5af63f[_0x48f8af(0x1b4)]=_0x1bd9c2[_0x48f8af(0x1ca)],_0x5af63f[_0x48f8af(0x1a1)]=[{'uuid':_0x23ee80,'timestamp':_0x3940cc,'kind':_0x5d495a,'level':_0x21efb7[_0x48f8af(0x120)]||_0x1bd9c2[_0x48f8af(0x161)],'message':_0x54ad52}],GrpcClient[_0x48f8af(0x1a8)]()[_0x48f8af(0x178)](_0x5af63f);}catch(_0x2a0443){_0x1bd9c2['tMRwb'](debug,_0x1bd9c2[_0x48f8af(0x1ff)](_0x1bd9c2['jfBPI'],_0x2a0443));}else{const _0x5b327c={};_0x5b327c[_0x48f8af(0x1e1)]=_0x23ee80,_0x5b327c[_0x48f8af(0x129)]=_0x3940cc,_0x5b327c[_0x48f8af(0x120)]=_0x21efb7[_0x48f8af(0x120)]||null,_0x5b327c[_0x48f8af(0x1f9)]=_0x21efb7[_0x48f8af(0x1f9)]||null,_0x5b327c[_0x48f8af(0x122)]=_0x5d495a,_0x5b327c[_0x48f8af(0x12f)]=_0x21efb7[_0x48f8af(0x12f)]||{};const _0x218f58={};_0x218f58['event_type']=_0x1bd9c2[_0x48f8af(0x19c)],_0x218f58['logs']=[_0x5b327c],SessionHandler[_0x48f8af(0x195)](_0x218f58);}}function BrowserStackNewmanReporter(_0x56d3f4,_0xdc1c92,_0x4ef2dc){const _0x37f484=a46_0x2a505a,_0x2c834f={'avzjP':function(_0x23194c,_0x1d138f,_0x156a92){return _0x23194c(_0x1d138f,_0x156a92);},'nmOaX':function(_0x3943e8,_0x45cad1){return _0x3943e8(_0x45cad1);},'bkkDK':function(_0x42661e,_0x38dad7){return _0x42661e>_0x38dad7;},'SbHdT':function(_0x133409,_0x5d96c9){return _0x133409(_0x5d96c9);},'YJrMA':_0x37f484(0x167),'ZzjYb':function(_0x5e0ac1,_0x355ee1){return _0x5e0ac1+_0x355ee1;},'dkPsS':_0x37f484(0x1ad),'jPlRE':function(_0x360bd8,_0x575b80){return _0x360bd8(_0x575b80);},'WXUlz':function(_0x4575e4,_0x843445,_0x24b83f){return _0x4575e4(_0x843445,_0x24b83f);},'ERMuM':'TEST_LOG','sqDrr':function(_0x9cf8bc){return _0x9cf8bc();},'LVECJ':function(_0x413b3b,_0x545394){return _0x413b3b||_0x545394;},'vlhtu':function(_0x43139b,_0xc84fc3,_0x1b367f,_0xe5814c,_0x3c0aa5,_0x4fbb3e){return _0x43139b(_0xc84fc3,_0x1b367f,_0xe5814c,_0x3c0aa5,_0x4fbb3e);},'NalgF':function(_0x2c73af,_0x40f563){return _0x2c73af===_0x40f563;},'CjLjo':function(_0x34f22b,_0x5ec3c2){return _0x34f22b>_0x5ec3c2;},'mnHgB':function(_0x2a6a68,_0x1778a9,_0x287334){return _0x2a6a68(_0x1778a9,_0x287334);},'zMKuz':_0x37f484(0x1e0),'VmvHy':function(_0xefcdc6,_0xe03796){return _0xefcdc6+_0xe03796;},'mIFqT':function(_0x10e9c5,_0x46dbca){return _0x10e9c5+_0x46dbca;},'yGNOd':function(_0x42f6ef,_0x4ce4ff){return _0x42f6ef+_0x4ce4ff;},'hOziu':function(_0x5268db,_0xfa8b01){return _0x5268db+_0xfa8b01;},'gkYpw':_0x37f484(0x151),'KyhkW':_0x37f484(0x197),'DzMHG':function(_0x20e69e,_0x49ee99,_0x1f2c20){return _0x20e69e(_0x49ee99,_0x1f2c20);},'UVBAr':_0x37f484(0x1ed),'NBgPd':function(_0x5067ed,_0xa34031){return _0x5067ed>_0xa34031;},'rzBSr':function(_0xd864f6,_0x5635ee){return _0xd864f6-_0x5635ee;},'EgZKN':function(_0x4ef89d,_0x5ca4d6,_0x3df7fc){return _0x4ef89d(_0x5ca4d6,_0x3df7fc);},'KYFwu':function(_0x11c9c8,_0x1c8e01){return _0x11c9c8(_0x1c8e01);},'FZcXY':function(_0xdbc295,_0x576601){return _0xdbc295(_0x576601);},'WplOx':function(_0x3ae004,_0x14edbb){return _0x3ae004&&_0x14edbb;},'GrMRe':function(_0x13fefc,_0x4e4097){return _0x13fefc-_0x4e4097;},'URMkM':function(_0x3fbc6b,_0x297ec1){return _0x3fbc6b+_0x297ec1;},'OrmqB':'Exception:\x20','OuPbo':_0x37f484(0x19e),'HQOwT':'[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','ikWpD':function(_0x202f06,_0x378fe2){return _0x202f06-_0x378fe2;},'eUzvm':_0x37f484(0x1d7),'HnZpk':function(_0x11d93c,_0x42c9a1){return _0x11d93c+_0x42c9a1;},'FVmGA':_0x37f484(0x15a),'ugajP':_0x37f484(0x1b0),'IOySR':function(_0x65e377,_0x136de5){return _0x65e377(_0x136de5);},'YSnqr':_0x37f484(0x15c),'mduDK':_0x37f484(0x139),'nCgIv':_0x37f484(0x1dc),'AQbIS':function(_0x438dc8,_0x20d8d6){return _0x438dc8===_0x20d8d6;},'eMirH':_0x37f484(0x192),'FYEAM':'assert','jnRCM':_0x37f484(0x1d5),'TWjeV':function(_0xb8cd14,_0x3bf297){return _0xb8cd14>_0x3bf297;},'ucDbI':function(_0x58c1c1,_0x3779aa){return _0x58c1c1!=_0x3779aa;},'GJwlD':function(_0x7390b7,_0x41912b){return _0x7390b7>=_0x41912b;},'stbAm':function(_0x3696c5,_0x59f834){return _0x3696c5<_0x59f834;},'Ikpgl':function(_0x31f358,_0x30cba1){return _0x31f358||_0x30cba1;},'YPhhj':_0x37f484(0x156),'OTafZ':function(_0xc77fb7,_0x585065){return _0xc77fb7!=_0x585065;},'ZkPVl':'No\x20HTTP\x20response\x20received','ETLxR':function(_0x5bbfc3,_0x104594,_0x106fcf){return _0x5bbfc3(_0x104594,_0x106fcf);},'HUTMs':function(_0x4ce415,_0x4dcdb4){return _0x4ce415+_0x4dcdb4;},'ghEKV':function(_0x16abc1,_0x25e965){return _0x16abc1+_0x25e965;},'KpFBK':function(_0x1d2a9f,_0x3aaf4a){return _0x1d2a9f+_0x3aaf4a;},'VbgGr':function(_0x56dd27,_0xee70d7){return _0x56dd27+_0xee70d7;},'PXkyh':function(_0x20427d,_0xcb6f6f){return _0x20427d+_0xcb6f6f;},'dBvnD':function(_0x314c57,_0x156910,_0x408056){return _0x314c57(_0x156910,_0x408056);},'zlgot':_0x37f484(0x16f),'EfPjt':function(_0x233c1c,_0x79b861){return _0x233c1c||_0x79b861;},'dEzid':'\x20(no\x20assertions)','XGHiM':function(_0x18067f,_0x566dd6,_0xa0fb95){return _0x18067f(_0x566dd6,_0xa0fb95);},'UQcjm':_0x37f484(0x187),'UVxTY':'beforeIteration','xCEnK':'beforeItem','QwcPf':_0x37f484(0x138),'UeMeH':_0x37f484(0x1b6),'KNQSe':'console','Qftsr':_0x37f484(0x1a3),'NHhcf':'script','GbpyB':'item'},_0x3e2d11=new Map();let _0x4035f5=null,_0x3f313c=0x0;const _0x3540c9=_0x2c834f[_0x37f484(0x1f5)](resolveCollectionFile,_0x4ef2dc,_0xdc1c92),_0x2c2441=_0x2c834f[_0x37f484(0x14e)](resolveCollectionName,_0x4ef2dc)||_0x3540c9,_0x2837bd=path['resolve'](_0x3540c9),_0x36e6da=_0x37f484(0x1bf)+process['pid'],_0x3850c0=_0x8e7880=>{const _0x403790=_0x37f484;try{_0x4035f5&&_0x2c834f[_0x403790(0x19a)](emitLog,_0x4035f5,_0x8e7880);}catch(_0x35173e){_0x2c834f[_0x403790(0x12e)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20'+_0x35173e);}};process['on'](_0x36e6da,_0x3850c0),_0x56d3f4['on'](_0x2c834f[_0x37f484(0x152)],()=>{const _0x283566=_0x37f484;process[_0x283566(0x1ae)](_0x36e6da,_0x3850c0),_0x3e2d11['clear']();}),_0x56d3f4['on'](_0x2c834f[_0x37f484(0x176)],(_0x39513d,_0x5726f0)=>{const _0x39d6a3=_0x37f484;_0x5726f0&&_0x5726f0[_0x39d6a3(0x13f)]&&(_0x3f313c=_0x5726f0[_0x39d6a3(0x13f)]['iteration']||0x0);}),_0x56d3f4['on'](_0x2c834f[_0x37f484(0x113)],(_0xfa271f,_0x5a625d)=>{const _0x292f61=_0x37f484;try{_0x4035f5=null;const _0xbd33d2=_0x5a625d[_0x292f61(0x12a)],_0x3eff95=_0xbd33d2[_0x292f61(0x190)]()?_0x2c834f[_0x292f61(0x12e)](getParentTitles,_0xbd33d2[_0x292f61(0x190)]()):[],_0x4e453f=_0x2c834f[_0x292f61(0x155)](_0x3eff95[_0x292f61(0x1f4)],0x1)?_0x3eff95[_0x292f61(0x153)](0x1):_0x3eff95,_0x4da2ea=_0x5a625d[_0x292f61(0x13f)]&&_0x5a625d[_0x292f61(0x13f)][_0x292f61(0x1cb)],_0x19339f={'itemName':_0xbd33d2[_0x292f61(0x1fc)],'scopes':_0x4e453f[_0x292f61(0x1cc)]([_0xbd33d2[_0x292f61(0x1fc)]]),'location':_0x3540c9,'collectionName':_0x2c2441,'startedAt':new Date()[_0x292f61(0x132)](),'startTimestamp':Date[_0x292f61(0x180)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x3e2d11[_0x292f61(0x1aa)](_0xbd33d2['id']+'_'+_0x3f313c,_0x19339f),_0x4da2ea&&_0x3e2d11[_0x292f61(0x1aa)](_0x4da2ea+'_'+_0x3f313c,_0x19339f);}catch(_0x12ff91){_0x2c834f[_0x292f61(0x13c)](debug,_0x292f61(0x202)+_0x12ff91);}}),_0x56d3f4['on'](_0x2c834f['QwcPf'],(_0x631dd4,_0x133fdb)=>{const _0x1e1b37=_0x37f484;try{if(!_0x133fdb||!_0x133fdb[_0x1e1b37(0x12a)])return;const _0x32d435=_0x3e2d11[_0x1e1b37(0x1bb)](_0x133fdb[_0x1e1b37(0x12a)]['id']+'_'+_0x3f313c);if(!_0x32d435)return;_0x133fdb[_0x1e1b37(0x162)]&&(_0x32d435[_0x1e1b37(0x13d)]=_0x133fdb[_0x1e1b37(0x162)][_0x1e1b37(0x142)]||null);if(!_0x133fdb[_0x1e1b37(0x138)])return;let _0x1cdba4='',_0x420cfe='';if(_0x133fdb[_0x1e1b37(0x138)][_0x1e1b37(0x11e)])try{const _0x51d910=_0x133fdb[_0x1e1b37(0x138)][_0x1e1b37(0x11e)][_0x1e1b37(0x145)](),_0x3b3ef5=new URL(_0x51d910[_0x1e1b37(0x1bc)](_0x2c834f[_0x1e1b37(0x1be)])?_0x51d910:'http://'+_0x51d910);_0x1cdba4=_0x3b3ef5[_0x1e1b37(0x154)],_0x420cfe=_0x2c834f[_0x1e1b37(0x1a9)](_0x3b3ef5['pathname'],_0x3b3ef5[_0x1e1b37(0x1eb)]);}catch(_0xf487d4){_0x420cfe=_0x133fdb[_0x1e1b37(0x138)][_0x1e1b37(0x11e)][_0x1e1b37(0x145)]();}const _0x1a92a3={};_0x1a92a3['host']=_0x1cdba4,_0x1a92a3[_0x1e1b37(0x18b)]=_0x420cfe,_0x1a92a3['method']=_0x133fdb[_0x1e1b37(0x138)]['method']||_0x2c834f[_0x1e1b37(0x172)],_0x1a92a3[_0x1e1b37(0x15b)]={},_0x1a92a3['status_code']=_0x133fdb[_0x1e1b37(0x162)]?_0x133fdb[_0x1e1b37(0x162)][_0x1e1b37(0x142)]||0x0:0x0,_0x1a92a3['duration_ms']=_0x133fdb[_0x1e1b37(0x162)]?_0x133fdb[_0x1e1b37(0x162)][_0x1e1b37(0x137)]||0x0:0x0,_0x32d435['httpLog']=_0x1a92a3;}catch(_0x1af00e){_0x2c834f[_0x1e1b37(0x1fd)](debug,_0x1e1b37(0x179)+_0x1af00e);}}),_0x56d3f4['on'](_0x2c834f[_0x37f484(0x1f3)],(_0x5a7734,_0x57187a)=>{const _0x120469=_0x37f484;try{if(!_0x57187a||!_0x57187a[_0x120469(0x12a)])return;const _0x24b5f0=_0x3e2d11[_0x120469(0x1bb)](_0x57187a['item']['id']+'_'+_0x3f313c);if(!_0x24b5f0)return;const _0x45d83c=_0x57187a[_0x120469(0x1b6)]||_0x120469(0x118)+_0x2c834f[_0x120469(0x1a9)](_0x24b5f0[_0x120469(0x1a7)]['length'],0x1),_0x3e03de=_0x2c834f[_0x120469(0x19f)](uuidv4),_0x2e068e=_0x24b5f0[_0x120469(0x1b1)]['concat']([_0x45d83c])[_0x120469(0x200)]('\x20');_0x24b5f0[_0x120469(0x1a7)][_0x120469(0x18c)]({'uuid':_0x3e03de,'name':_0x45d83c,'identifier':_0x2e068e,'err':_0x2c834f[_0x120469(0x11a)](_0x5a7734,null)});const _0x431bd3={};_0x431bd3[_0x120469(0x1e6)]=_0x3e03de,_0x431bd3[_0x120469(0x1fc)]=_0x45d83c,_0x431bd3[_0x120469(0x134)]=_0x2e068e,_0x2c834f[_0x120469(0x181)](emitTest,HookState[_0x120469(0x136)],_0x431bd3,_0x24b5f0,_0x2837bd,{});_0x2c834f[_0x120469(0x170)](_0x24b5f0[_0x120469(0x1a7)]['length'],0x1)&&_0x2c834f[_0x120469(0x17d)](_0x24b5f0['bufferedLogs']['length'],0x0)&&(_0x24b5f0[_0x120469(0x1f8)][_0x120469(0x1b5)](_0x5074c6=>{const _0x32dad0=_0x120469;_0x2c834f[_0x32dad0(0x1e9)](emitLog,_0x3e03de,{'kind':_0x2c834f[_0x32dad0(0x1e2)],'message':_0x5074c6[_0x32dad0(0x1f9)],'level':_0x5074c6[_0x32dad0(0x120)]});}),_0x24b5f0['bufferedLogs']=[]);if(_0x24b5f0[_0x120469(0x1b7)]){_0x2c834f[_0x120469(0x1cd)](emitLog,_0x3e03de,{'kind':_0x2c834f[_0x120469(0x127)],'http_response':_0x24b5f0[_0x120469(0x1b7)]});const _0x43c1f5=_0x2c834f[_0x120469(0x1f7)](_0x2c834f[_0x120469(0x1c5)](_0x2c834f[_0x120469(0x1c5)](_0x2c834f['yGNOd'](_0x2c834f[_0x120469(0x124)](_0x2c834f['hOziu'](_0x2c834f[_0x120469(0x124)](_0x2c834f['ZzjYb'](_0x24b5f0[_0x120469(0x1b7)][_0x120469(0x1c7)]||_0x2c834f['dkPsS'],'\x20'),_0x24b5f0[_0x120469(0x1b7)][_0x120469(0x1f0)]),_0x24b5f0[_0x120469(0x1b7)][_0x120469(0x18b)]),_0x2c834f[_0x120469(0x150)]),_0x24b5f0[_0x120469(0x1b7)][_0x120469(0x128)]),'\x20('),_0x24b5f0[_0x120469(0x1b7)][_0x120469(0x1e3)]),_0x2c834f[_0x120469(0x1ef)]);_0x2c834f[_0x120469(0x1d8)](emitLog,_0x3e03de,{'kind':_0x2c834f[_0x120469(0x1e2)],'message':_0x43c1f5,'level':_0x2c834f[_0x120469(0x1db)]});}_0x4035f5=_0x3e03de;}catch(_0x10c94f){_0x2c834f[_0x120469(0x13c)](debug,_0x120469(0x189)+_0x10c94f);}}),_0x56d3f4['on'](_0x2c834f[_0x37f484(0x135)],(_0x32456c,_0x387d17)=>{const _0x2f3e4f=_0x37f484;try{if(!_0x387d17)return;let _0x51098e=_0x4035f5;if(!_0x51098e&&_0x387d17[_0x2f3e4f(0x13f)]&&_0x387d17[_0x2f3e4f(0x13f)][_0x2f3e4f(0x1cb)]){const _0x51c00c=_0x3e2d11[_0x2f3e4f(0x1bb)](_0x387d17[_0x2f3e4f(0x13f)][_0x2f3e4f(0x1cb)]+'_'+_0x3f313c);_0x51c00c&&_0x2c834f[_0x2f3e4f(0x1b2)](_0x51c00c['assertions'][_0x2f3e4f(0x1f4)],0x0)&&(_0x51098e=_0x51c00c['assertions'][_0x2c834f[_0x2f3e4f(0x18a)](_0x51c00c['assertions'][_0x2f3e4f(0x1f4)],0x1)][_0x2f3e4f(0x1e6)]);}const _0x21909c=_0x387d17['messages']?_0x387d17['messages']['join'](',\x20'):'';if(_0x51098e)_0x2c834f['EgZKN'](emitLog,_0x51098e,{'kind':_0x2c834f['ERMuM'],'message':_0x21909c,'level':_0x2c834f[_0x2f3e4f(0x159)](normalizeLogLevel,_0x387d17[_0x2f3e4f(0x120)])});else{if(_0x387d17[_0x2f3e4f(0x13f)]&&_0x387d17[_0x2f3e4f(0x13f)][_0x2f3e4f(0x1cb)]){const _0x4b152a=_0x3e2d11[_0x2f3e4f(0x1bb)](_0x387d17[_0x2f3e4f(0x13f)][_0x2f3e4f(0x1cb)]+'_'+_0x3f313c);_0x4b152a&&_0x4b152a[_0x2f3e4f(0x1f8)]['push']({'timestamp':new Date()['toISOString'](),'level':_0x2c834f[_0x2f3e4f(0x177)](normalizeLogLevel,_0x387d17[_0x2f3e4f(0x120)]),'message':_0x21909c});}}}catch(_0x4fc22e){_0x2c834f[_0x2f3e4f(0x159)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20console:\x20'+_0x4fc22e);}}),_0x56d3f4['on'](_0x2c834f[_0x37f484(0x1ea)],(_0x57f463,_0x4f63f5)=>{const _0x21ac63=_0x37f484;try{if(!_0x57f463&&(!_0x4f63f5||!_0x4f63f5[_0x21ac63(0x201)]))return;const _0x205484=_0x57f463||_0x4f63f5[_0x21ac63(0x201)],_0x504843=_0x205484[_0x21ac63(0x1f9)]||_0x2c834f['jPlRE'](String,_0x205484),_0x363bdb=_0x205484[_0x21ac63(0x131)]||_0x504843;let _0x3b17b0=_0x4035f5;if(_0x2c834f[_0x21ac63(0x160)](!_0x3b17b0,_0x4f63f5)&&_0x4f63f5[_0x21ac63(0x13f)]&&_0x4f63f5[_0x21ac63(0x13f)][_0x21ac63(0x1cb)]){const _0x1c47ba=_0x3e2d11[_0x21ac63(0x1bb)](_0x4f63f5[_0x21ac63(0x13f)][_0x21ac63(0x1cb)]+'_'+_0x3f313c);_0x1c47ba&&_0x2c834f['bkkDK'](_0x1c47ba[_0x21ac63(0x1a7)][_0x21ac63(0x1f4)],0x0)&&(_0x3b17b0=_0x1c47ba['assertions'][_0x2c834f[_0x21ac63(0x12c)](_0x1c47ba[_0x21ac63(0x1a7)]['length'],0x1)]['uuid']);}_0x3b17b0&&_0x2c834f[_0x21ac63(0x1d8)](emitLog,_0x3b17b0,{'kind':_0x2c834f[_0x21ac63(0x1e2)],'message':_0x2c834f[_0x21ac63(0x15d)](_0x2c834f[_0x21ac63(0x194)],_0x363bdb),'level':_0x2c834f['OuPbo']});}catch(_0x36cc22){_0x2c834f[_0x21ac63(0x12e)](debug,_0x2c834f[_0x21ac63(0x1f7)](_0x2c834f[_0x21ac63(0x116)],_0x36cc22));}}),_0x56d3f4['on'](_0x2c834f[_0x37f484(0x16e)],(_0x29fa93,_0x459313)=>{const _0x502478=_0x37f484;try{if(!_0x459313||!_0x459313[_0x502478(0x17e)])return;let _0xce5773=_0x4035f5;if(!_0xce5773&&_0x459313[_0x502478(0x13f)]&&_0x459313['cursor'][_0x502478(0x1cb)]){const _0x1c9523=_0x3e2d11[_0x502478(0x1bb)](_0x459313[_0x502478(0x13f)]['ref']+'_'+_0x3f313c);_0x1c9523&&_0x2c834f[_0x502478(0x155)](_0x1c9523[_0x502478(0x1a7)]['length'],0x0)&&(_0xce5773=_0x1c9523[_0x502478(0x1a7)][_0x2c834f[_0x502478(0x1d6)](_0x1c9523['assertions'][_0x502478(0x1f4)],0x1)]['uuid']);}if(!_0xce5773)return;const _0x3f1009=_0x459313['event']&&_0x459313['event'][_0x502478(0x1dd)]||_0x2c834f['eUzvm'];_0x29fa93&&_0x2c834f['DzMHG'](emitLog,_0xce5773,{'kind':_0x2c834f[_0x502478(0x1e2)],'message':_0x2c834f[_0x502478(0x1c5)](_0x2c834f[_0x502478(0x1c5)](_0x2c834f[_0x502478(0x186)](_0x2c834f['FVmGA'],_0x3f1009),_0x2c834f[_0x502478(0x13a)]),_0x29fa93['message']||_0x29fa93),'level':_0x2c834f[_0x502478(0x175)]});}catch(_0xee784c){_0x2c834f['IOySR'](debug,_0x2c834f[_0x502478(0x124)](_0x2c834f[_0x502478(0x17f)],_0xee784c));}}),_0x56d3f4['on'](_0x2c834f['GbpyB'],(_0x59ad82,_0x3a55e)=>{const _0x3e9759=_0x37f484,_0x1d4748={'LZDWV':function(_0x8e4dfd,_0x32529f,_0x52b2df){return _0x2c834f['EgZKN'](_0x8e4dfd,_0x32529f,_0x52b2df);},'OUHML':_0x2c834f['ERMuM']};try{if(!_0x3a55e||!_0x3a55e[_0x3e9759(0x12a)])return;const _0x16bdfd=_0x3a55e[_0x3e9759(0x12a)]['id']+'_'+_0x3f313c,_0x51a3a0=_0x3e2d11[_0x3e9759(0x1bb)](_0x16bdfd);if(!_0x51a3a0)return;const _0x8bcfe6=new Date(),_0x4de5dd=_0x2c834f[_0x3e9759(0x1d6)](_0x8bcfe6[_0x3e9759(0x1b3)](),_0x51a3a0[_0x3e9759(0x165)]);if(_0x2c834f[_0x3e9759(0x114)](_0x51a3a0[_0x3e9759(0x1a7)][_0x3e9759(0x1f4)],0x0))_0x51a3a0[_0x3e9759(0x1a7)]['forEach'](_0x15acc1=>{const _0xfc4287=_0x3e9759,_0x1533e2=!!_0x15acc1['err'],_0x162f5a={'finishedAt':_0x8bcfe6[_0xfc4287(0x132)](),'durationMs':_0x4de5dd,'result':_0x1533e2?_0x2c834f[_0xfc4287(0x193)]:_0x2c834f[_0xfc4287(0x182)]};_0x1533e2&&(_0x162f5a[_0xfc4287(0x158)]=_0x15acc1[_0xfc4287(0x1e4)][_0xfc4287(0x1f9)]||'',_0x162f5a['failureType']=_0x2c834f[_0xfc4287(0x1e7)](_0x15acc1[_0xfc4287(0x1e4)][_0xfc4287(0x1fc)],_0x2c834f[_0xfc4287(0x16b)])||_0x15acc1[_0xfc4287(0x1e4)][_0xfc4287(0x1f9)]&&_0x15acc1[_0xfc4287(0x1e4)][_0xfc4287(0x1f9)][_0xfc4287(0x14b)](_0x2c834f[_0xfc4287(0x1d4)])?_0x2c834f[_0xfc4287(0x16b)]:_0x2c834f['jnRCM'],_0x162f5a[_0xfc4287(0x1d2)]=[{'backtrace':_0x15acc1[_0xfc4287(0x1e4)][_0xfc4287(0x131)]?_0x15acc1['err']['stack']['split']('\x0a'):[_0x15acc1['err'][_0xfc4287(0x1f9)]||''],'expanded':[]}]),_0x2c834f[_0xfc4287(0x181)](emitTest,HookState['POST'],_0x15acc1,_0x51a3a0,_0x2837bd,_0x162f5a);});else{const _0x4d0806=_0x2c834f[_0x3e9759(0x19f)](uuidv4),_0x4288ca=_0x51a3a0['lastResponseCode'],_0x27b644=_0x2c834f[_0x3e9759(0x1d3)](_0x4288ca,null)&&_0x2c834f['GJwlD'](_0x4288ca,0xc8)&&_0x2c834f[_0x3e9759(0x1e8)](_0x4288ca,0x190),_0x15929e=_0x51a3a0[_0x3e9759(0x1cf)]+_0x3e9759(0x19b)+_0x2c834f[_0x3e9759(0x14c)](_0x4288ca,_0x2c834f['YPhhj'])+')',_0x372fff={'uuid':_0x4d0806,'name':_0x15929e,'identifier':_0x51a3a0[_0x3e9759(0x1b1)][_0x3e9759(0x1cc)]([_0x15929e])[_0x3e9759(0x200)]('\x20')},_0x16e58e={'finishedAt':_0x8bcfe6['toISOString'](),'durationMs':_0x4de5dd,'result':_0x27b644?_0x2c834f[_0x3e9759(0x182)]:_0x2c834f[_0x3e9759(0x193)]};!_0x27b644&&(_0x16e58e[_0x3e9759(0x158)]=_0x2c834f[_0x3e9759(0x12b)](_0x4288ca,null)?_0x3e9759(0x11f)+_0x4288ca+'\x20—\x20response\x20status\x20in\x20failure\x20range':_0x2c834f['ZkPVl'],_0x16e58e['failureType']=_0x2c834f['jnRCM'],_0x16e58e[_0x3e9759(0x1d2)]=[{'backtrace':[_0x16e58e[_0x3e9759(0x158)]],'expanded':[]}]);_0x2c834f['vlhtu'](emitTest,HookState[_0x3e9759(0x136)],_0x372fff,_0x51a3a0,_0x2837bd,{}),_0x51a3a0['bufferedLogs'][_0x3e9759(0x1b5)](_0xf04a7a=>{const _0x3fbb9e=_0x3e9759;_0x1d4748[_0x3fbb9e(0x174)](emitLog,_0x4d0806,{'kind':_0x1d4748['OUHML'],'message':_0xf04a7a[_0x3fbb9e(0x1f9)],'level':_0xf04a7a['level']});});if(_0x51a3a0[_0x3e9759(0x1b7)]){_0x2c834f[_0x3e9759(0x1c9)](emitLog,_0x4d0806,{'kind':_0x2c834f[_0x3e9759(0x127)],'http_response':_0x51a3a0['httpLog']});const _0x2f3d1e=_0x2c834f[_0x3e9759(0x124)](_0x2c834f[_0x3e9759(0x1d0)](_0x2c834f[_0x3e9759(0x149)](_0x2c834f['KpFBK'](_0x2c834f[_0x3e9759(0x186)](_0x2c834f[_0x3e9759(0x121)](_0x2c834f[_0x3e9759(0x19d)](_0x2c834f['PXkyh'](_0x51a3a0[_0x3e9759(0x1b7)][_0x3e9759(0x1c7)]||_0x2c834f[_0x3e9759(0x172)],'\x20'),_0x51a3a0[_0x3e9759(0x1b7)]['host']),_0x51a3a0['httpLog']['path']),_0x2c834f[_0x3e9759(0x150)]),_0x51a3a0[_0x3e9759(0x1b7)][_0x3e9759(0x128)]),'\x20('),_0x51a3a0['httpLog'][_0x3e9759(0x1e3)]),_0x2c834f[_0x3e9759(0x1ef)]);_0x2c834f[_0x3e9759(0x19a)](emitLog,_0x4d0806,{'kind':_0x2c834f[_0x3e9759(0x1e2)],'message':_0x2f3d1e,'level':_0x2c834f[_0x3e9759(0x1db)]});}else _0x2c834f[_0x3e9759(0x1d9)](emitLog,_0x4d0806,{'kind':_0x2c834f[_0x3e9759(0x1e2)],'message':_0x2c834f[_0x3e9759(0x15d)](_0x2c834f[_0x3e9759(0x186)](_0x2c834f[_0x3e9759(0x13b)],_0x2c834f[_0x3e9759(0x1ab)](_0x4288ca,_0x2c834f['YPhhj'])),_0x2c834f[_0x3e9759(0x147)]),'level':_0x2c834f['UVBAr']});_0x2c834f[_0x3e9759(0x181)](emitTest,HookState['POST'],_0x372fff,_0x51a3a0,_0x2837bd,_0x16e58e);}_0x3e2d11[_0x3e9759(0x18f)](_0x16bdfd),_0x3a55e[_0x3e9759(0x13f)]&&_0x3a55e[_0x3e9759(0x13f)][_0x3e9759(0x1cb)]&&_0x3e2d11[_0x3e9759(0x18f)](_0x3a55e[_0x3e9759(0x13f)][_0x3e9759(0x1cb)]+'_'+_0x3f313c);}catch(_0x1a0a4d){_0x2c834f[_0x3e9759(0x12e)](debug,_0x3e9759(0x143)+_0x1a0a4d);}});}module['exports']=BrowserStackNewmanReporter;
1
+ 'use strict';const a46_0x378cf2=a46_0x3669;(function(_0x148e5a,_0x2323ab){const _0x192d65=a46_0x3669,_0xb6c856=_0x148e5a();while(!![]){try{const _0x591ea3=-parseInt(_0x192d65(0x1a5))/0x1+-parseInt(_0x192d65(0x197))/0x2+-parseInt(_0x192d65(0x1f2))/0x3*(parseInt(_0x192d65(0x157))/0x4)+-parseInt(_0x192d65(0x1fb))/0x5*(parseInt(_0x192d65(0x1ea))/0x6)+parseInt(_0x192d65(0x206))/0x7*(-parseInt(_0x192d65(0x242))/0x8)+parseInt(_0x192d65(0x159))/0x9+parseInt(_0x192d65(0x18e))/0xa;if(_0x591ea3===_0x2323ab)break;else _0xb6c856['push'](_0xb6c856['shift']());}catch(_0x550485){_0xb6c856['push'](_0xb6c856['shift']());}}}(a46_0x5df2,0x9d248));const path=require(a46_0x378cf2(0x1bf)),{v4:uuidv4}=require(a46_0x378cf2(0x223)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{debug}=require(a46_0x378cf2(0x21a)),logger=require(a46_0x378cf2(0x1d2))['winstonLogger'],BrowserstackCLI=require(a46_0x378cf2(0x247)),GrpcClient=require('../../v2/grpcClient'),TestFrameworkState=require(a46_0x378cf2(0x1d9)),HookState=require(a46_0x378cf2(0x19c)),LOG_LEVELS=['INFO',a46_0x378cf2(0x1e6),a46_0x378cf2(0x207),'DEBUG','TRACE'];function isCLIRunning(){const _0x397ce1=a46_0x378cf2;try{return BrowserstackCLI['getInstance']()[_0x397ce1(0x199)]();}catch(_0x453b6e){return![];}}function getParentTitles(_0x3dcdf6){const _0x1edac4=a46_0x378cf2,_0xab7839={'GRzfL':function(_0x407694,_0x5853cb){return _0x407694(_0x5853cb);},'EDrKZ':function(_0x3f0df0,_0x3dcc88){return _0x3f0df0(_0x3dcc88);}},_0x11536b=[],_0x195c9e=_0x3dcdf6[_0x1edac4(0x22e)]();return _0x195c9e&&_0x11536b['push'][_0x1edac4(0x18d)](_0x11536b,_0xab7839[_0x1edac4(0x14e)](getParentTitles,_0x195c9e)),_0x3dcdf6['name']&&_0x11536b[_0x1edac4(0x212)](_0xab7839[_0x1edac4(0x220)](String,_0x3dcdf6[_0x1edac4(0x238)])),_0x11536b;}function a46_0x3669(_0xd62bab,_0x73db3c){const _0x5df2d4=a46_0x5df2();return a46_0x3669=function(_0x36695c,_0x3399ac){_0x36695c=_0x36695c-0x14c;let _0x126c2d=_0x5df2d4[_0x36695c];return _0x126c2d;},a46_0x3669(_0xd62bab,_0x73db3c);}function normalizeLogLevel(_0x54ad97){const _0x5796bd=a46_0x378cf2,_0xe656a7={};_0xe656a7[_0x5796bd(0x23e)]=_0x5796bd(0x23d),_0xe656a7[_0x5796bd(0x20f)]=function(_0x34f0e7,_0x5f0710){return _0x34f0e7!==_0x5f0710;};const _0x56252a=_0xe656a7;if(!_0x54ad97)return _0x56252a[_0x5796bd(0x23e)];const _0x39e905=_0x54ad97[_0x5796bd(0x1a9)]();return _0x56252a[_0x5796bd(0x20f)](LOG_LEVELS[_0x5796bd(0x1bc)](_0x39e905),-0x1)?_0x39e905:_0x56252a['JMUGq'];}function a46_0x5df2(){const _0x58b908=['RpwGQ','YsoiZ','duration_ms','finishedAt','\x20(HTTP\x20','AkWnc','tOzRv','timestamp','stringify','err','EWPMw','messages','hMmxS','MZxKd','KcTqn','pending','cwd','apply','28258110jgSPtv','backtrace','ref','javascript','No\x20HTTP\x20response\x20received','delete','beforeIteration','PidMA','GbCEk','1855154pOMPoZ','kind','isRunning','forEach','WpQXP','../../v2/state/hookState','[Newman\x20Reporter]\x20emitTest\x20error:\x20','http://','Fzzjf','testFrameworkName','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','NfpLL','trackEvent','Luvcr','50547Gsuuaa','level','afhQC','event_type','toUpperCase','hKyrS','gsJnz','expanded','EIdJA','assert','hostname','EqPnV','DMMwE','jNDHk','durationMs','GKzsn','Iwktb','RWwwx','pClAa','assertion','ZGSqz','matZL','axdnQ','indexOf','error','WJsmK','path','script','hektZ','cursor','platformIndex','failureReason','xtMJE','lastResponseCode','SXXbw','RTRTq','XNAvi','method','string','N/A','HTTP','request','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','KSjIS','console','../../../helpers/logger','TEST_LOG','[Newman\x20Reporter]\x20Error\x20in\x20request:\x20','knaft','info','message','nvSGF','../../v2/state/testFrameworkState','logs','tspLX','HTTP\x20','exception','BojWJ','pid','[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20','failure_backtrace','location','eHBnI','bs:addLog:','uPfBI','WARN','toString','collectionPath','collection.json','6bcwLWb','TestRunStarted','nOhrs','):\x20','wFLyx','get','TJYKi','POST','3MBiQqn','SQKCY','httpLog','pEUJR','bufferedLogs','startedAt','logCreatedEvent','IndHt','AssertionError','3258910FSaGjG','PSZGY','object','getTestFramework','exports','responseTime','Euhoh','test_run','KbHMx','HrkJc','JQydI','407603NaZJqL','ERROR','code','EKpIP','svcnZ','beforeItem','EgJHR','getInstance','yQPcb','lloWB','host','MBXrL','push','[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20','KPtgD','nCAAs','listen','gJlRg','result','scopes','../../../helpers/test-observability/utils','JglbD','join','failureType','TbXlS','ydBhd','EDrKZ','HyQhy','[Newman\x20Reporter]\x20Error\x20in\x20console:\x20','uuid','startsWith','LogCreated','http_response','qLDzF','search','oJpNz','qyRQm','length','includes','qJGGM','parent','JseyJ','getTime','identifier','\x20(no\x20assertions)','\x20->\x20','hnDgb','collectionName','response','HTwCk','name','WSxus','status_code','XlHas','gOVsk','INFO','JMUGq','clear','run','Exception:\x20','8ufidkS','PRE','item','split','toISOString','../../v2/browserstackCLI','YPuvG','OkeTk','TestRunFinished','GRzfL','NLXMR','vKbna','VGPTP','TEST','newman','ZKlDM','wAyXY','testFrameworkVersion','5078252whXPEU','HTTP\x20Status:\x20','6979887lqfqGf','cpRns','failure','assertions','GiFmF','lWNay','uploadEventData','pathname','itemName','TGMSF','resolve','DZiNU','done','Script\x20error\x20(','LecSK','[Newman\x20Reporter]\x20emitLog\x20error:\x20','now','collection','rYXrc','JyKKK','BTMiP','event','GET','unknown','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','HqodI','UHbYp','yEoPZ','concat','url','startTimestamp','argv','relative','stack','kBvxm'];a46_0x5df2=function(){return _0x58b908;};return a46_0x5df2();}function resolveCollectionFile(_0xb05f58,_0x384cda){const _0x4870cb=a46_0x378cf2,_0x4a541c={};_0x4a541c[_0x4870cb(0x17d)]=function(_0x11209,_0x48b1f5){return _0x11209===_0x48b1f5;},_0x4a541c[_0x4870cb(0x186)]=_0x4870cb(0x1cb),_0x4a541c['xtMJE']=_0x4870cb(0x240),_0x4a541c['WSxus']=function(_0x3b7e4b,_0x5e39cb){return _0x3b7e4b!==_0x5e39cb;},_0x4a541c[_0x4870cb(0x203)]=function(_0x2632dc,_0x5d5f2b){return _0x2632dc<_0x5d5f2b;},_0x4a541c[_0x4870cb(0x217)]=function(_0x5507b3,_0x1309d2){return _0x5507b3+_0x1309d2;},_0x4a541c[_0x4870cb(0x1e3)]='[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json',_0x4a541c[_0x4870cb(0x17c)]=_0x4870cb(0x1e9);const _0x39543e=_0x4a541c;try{if(_0x384cda&&_0x384cda[_0x4870cb(0x1e8)])return path[_0x4870cb(0x179)](process[_0x4870cb(0x18c)](),path['resolve'](_0x384cda[_0x4870cb(0x1e8)]));const _0x2572c4=_0xb05f58[_0x4870cb(0x16a)];if(_0x39543e[_0x4870cb(0x17d)](typeof _0x2572c4,_0x39543e['EWPMw']))return path[_0x4870cb(0x179)](process[_0x4870cb(0x18c)](),path[_0x4870cb(0x163)](_0x2572c4));const _0x22f313=process[_0x4870cb(0x178)][_0x4870cb(0x1bc)](_0x39543e[_0x4870cb(0x1c5)]);if(_0x39543e[_0x4870cb(0x239)](_0x22f313,-0x1)&&_0x39543e[_0x4870cb(0x203)](_0x39543e[_0x4870cb(0x217)](_0x22f313,0x1),process[_0x4870cb(0x178)][_0x4870cb(0x22b)])){const _0x2b3fc1=process[_0x4870cb(0x178)][_0x39543e['gJlRg'](_0x22f313,0x1)];if(_0x2b3fc1&&!_0x2b3fc1[_0x4870cb(0x224)]('-'))return path['relative'](process['cwd'](),path[_0x4870cb(0x163)](_0x2b3fc1));}}catch(_0x345ac9){}return logger[_0x4870cb(0x1d6)](_0x39543e[_0x4870cb(0x1e3)]),_0x39543e[_0x4870cb(0x17c)];}function resolveCollectionName(_0x4fb08c){const _0x515c28=a46_0x378cf2,_0xab100={};_0xab100['ZYYWI']=function(_0xe12836,_0x133503){return _0xe12836===_0x133503;},_0xab100[_0x515c28(0x1be)]=_0x515c28(0x1fd);const _0x30d910=_0xab100;try{const _0x6b9e61=_0x4fb08c[_0x515c28(0x16a)];if(_0x6b9e61&&_0x30d910['ZYYWI'](typeof _0x6b9e61,_0x30d910[_0x515c28(0x1be)]))return _0x6b9e61['name']||_0x6b9e61[_0x515c28(0x1d6)]&&_0x6b9e61[_0x515c28(0x1d6)]['name']||null;}catch(_0x1d5ff7){}return null;}function emitTest(_0x1a3563,_0x5edf49,_0x3ae1f9,_0x1b1802,_0x315458){const _0x2f6b3b=a46_0x378cf2,_0x2406f8={'PSZGY':function(_0x224b40){return _0x224b40();},'hKyrS':_0x2f6b3b(0x18b),'kEgRw':function(_0x32a026,_0x163f39){return _0x32a026(_0x163f39);},'UHbYp':_0x2f6b3b(0x153),'JseyJ':_0x2f6b3b(0x191),'uYhXg':function(_0x3cdd34,_0x147d68){return _0x3cdd34!=_0x147d68;},'PidMA':function(_0x1f8463,_0x24bbec){return _0x1f8463===_0x24bbec;},'ICXcC':_0x2f6b3b(0x1eb),'GKzsn':_0x2f6b3b(0x14d)};if(_0x2406f8[_0x2f6b3b(0x1fc)](isCLIRunning))try{const _0x1aadd4=BrowserstackCLI[_0x2f6b3b(0x20d)]()[_0x2f6b3b(0x1fe)]();if(!_0x1aadd4)return;_0x1aadd4[_0x2f6b3b(0x1a3)](TestFrameworkState[_0x2f6b3b(0x152)],_0x1a3563,{'test':{'uuid':_0x5edf49[_0x2f6b3b(0x223)],'name':_0x5edf49['name'],'scopes':_0x3ae1f9[_0x2f6b3b(0x219)],'scope':_0x3ae1f9[_0x2f6b3b(0x219)][_0x2f6b3b(0x21c)]('\x20'),'file_path':_0x1b1802,'location':_0x3ae1f9['collectionName'],'started_at':_0x3ae1f9[_0x2f6b3b(0x1f7)],'finished_at':_0x315458[_0x2f6b3b(0x17f)]||null,'result':_0x315458[_0x2f6b3b(0x218)]||_0x2406f8[_0x2f6b3b(0x1aa)],'failure':_0x315458[_0x2f6b3b(0x15b)]||[],'failure_type':_0x315458[_0x2f6b3b(0x21d)]||null,'failure_reason':_0x315458['failureReason']||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x3c6951){_0x2406f8['kEgRw'](debug,_0x2f6b3b(0x19d)+_0x3c6951);}else{const _0x5dfab2={'uuid':_0x5edf49['uuid'],'name':_0x5edf49[_0x2f6b3b(0x238)],'framework':_0x2406f8[_0x2f6b3b(0x173)],'body':{'lang':_0x2406f8[_0x2f6b3b(0x22f)],'code':null},'scope':_0x3ae1f9['scopes'][_0x2f6b3b(0x21c)]('\x20'),'scopes':_0x3ae1f9[_0x2f6b3b(0x219)],'identifier':_0x5edf49[_0x2f6b3b(0x231)],'file_name':_0x3ae1f9[_0x2f6b3b(0x235)],'vc_filepath':_0x3ae1f9[_0x2f6b3b(0x1e2)],'location':_0x3ae1f9[_0x2f6b3b(0x1e2)],'started_at':_0x3ae1f9[_0x2f6b3b(0x1f7)],'finished_at':_0x315458['finishedAt']||null,'duration_in_ms':_0x2406f8['uYhXg'](_0x315458[_0x2f6b3b(0x1b3)],null)?Math['max'](0x0,_0x315458[_0x2f6b3b(0x1b3)]):null,'result':_0x315458['result']||_0x2406f8[_0x2f6b3b(0x1aa)],'failure_reason':_0x315458[_0x2f6b3b(0x1c4)]||null,'failure_type':_0x315458[_0x2f6b3b(0x21d)]||null,'failure':_0x315458[_0x2f6b3b(0x15b)]||[],'retry_of':null,'hooks':[]};_0x5dfab2[_0x2f6b3b(0x15b)][0x0]&&(_0x5dfab2[_0x2f6b3b(0x1e1)]=_0x5dfab2[_0x2f6b3b(0x15b)][0x0][_0x2f6b3b(0x18f)],_0x5dfab2['failure_reason_expanded']=_0x5dfab2[_0x2f6b3b(0x15b)][0x0][_0x2f6b3b(0x1ac)]);const _0x29aabb=_0x2406f8[_0x2f6b3b(0x195)](_0x1a3563,HookState[_0x2f6b3b(0x243)])?_0x2406f8['ICXcC']:_0x2406f8[_0x2f6b3b(0x1b4)],_0x5e12e7={};_0x5e12e7[_0x2f6b3b(0x1a8)]=_0x29aabb,_0x5e12e7[_0x2f6b3b(0x202)]=_0x5dfab2,SessionHandler[_0x2f6b3b(0x15f)](_0x5e12e7);}}function emitLog(_0x2e6f17,_0x56cf20){const _0x15cb9a=a46_0x378cf2,_0x3e6b38={'wAyXY':_0x15cb9a(0x1d3),'AgAYg':function(_0x4f5510){return _0x4f5510();},'DZiNU':function(_0xe43e87,_0x3afc20){return _0xe43e87===_0x3afc20;},'nvSGF':_0x15cb9a(0x1cd),'XlHas':_0x15cb9a(0x153),'XNAvi':_0x15cb9a(0x152),'KcTqn':'INFO','zSPjz':function(_0x58180b,_0x3d3326){return _0x58180b(_0x3d3326);},'NfpLL':function(_0x820611,_0x56c075){return _0x820611+_0x56c075;},'afhQC':_0x15cb9a(0x168),'vKbna':_0x15cb9a(0x225)},_0x1b7c5b=_0x56cf20['kind']||_0x3e6b38[_0x15cb9a(0x155)],_0x241f36=_0x56cf20['timestamp']||new Date()[_0x15cb9a(0x246)]();if(_0x3e6b38['AgAYg'](isCLIRunning))try{const _0x4a526a=_0x3e6b38[_0x15cb9a(0x164)](_0x1b7c5b,_0x3e6b38[_0x15cb9a(0x1d8)])?JSON[_0x15cb9a(0x184)](_0x56cf20):_0x56cf20[_0x15cb9a(0x1d7)]||'',_0x4daaa1={};_0x4daaa1[_0x15cb9a(0x1c3)]=0x0,_0x4daaa1[_0x15cb9a(0x1a0)]=_0x3e6b38[_0x15cb9a(0x23b)],_0x4daaa1[_0x15cb9a(0x156)]='',_0x4daaa1['testFrameworkState']=_0x3e6b38[_0x15cb9a(0x1c9)],_0x4daaa1[_0x15cb9a(0x1da)]=[{'uuid':_0x2e6f17,'timestamp':_0x241f36,'kind':_0x1b7c5b,'level':_0x56cf20['level']||_0x3e6b38[_0x15cb9a(0x18a)],'message':_0x4a526a}],GrpcClient[_0x15cb9a(0x20d)]()[_0x15cb9a(0x1f8)](_0x4daaa1);}catch(_0x81b055){_0x3e6b38['zSPjz'](debug,_0x3e6b38[_0x15cb9a(0x1a2)](_0x3e6b38[_0x15cb9a(0x1a7)],_0x81b055));}else{const _0x51dfb3={};_0x51dfb3['test_run_uuid']=_0x2e6f17,_0x51dfb3[_0x15cb9a(0x183)]=_0x241f36,_0x51dfb3[_0x15cb9a(0x1a6)]=_0x56cf20['level']||null,_0x51dfb3['message']=_0x56cf20[_0x15cb9a(0x1d7)]||null,_0x51dfb3[_0x15cb9a(0x198)]=_0x1b7c5b,_0x51dfb3[_0x15cb9a(0x226)]=_0x56cf20[_0x15cb9a(0x226)]||{};const _0x25e50a={};_0x25e50a[_0x15cb9a(0x1a8)]=_0x3e6b38[_0x15cb9a(0x150)],_0x25e50a[_0x15cb9a(0x1da)]=[_0x51dfb3],SessionHandler[_0x15cb9a(0x15f)](_0x25e50a);}}function BrowserStackNewmanReporter(_0x11b270,_0x985ed7,_0x247388){const _0x11d00f=a46_0x378cf2,_0x11eba8={'hMmxS':function(_0x28f223,_0x33e045,_0x120b6c){return _0x28f223(_0x33e045,_0x120b6c);},'kpZUQ':function(_0x456683,_0x11d437){return _0x456683(_0x11d437);},'KPtgD':function(_0x381c69,_0x23eae2){return _0x381c69(_0x23eae2);},'EqPnV':function(_0x19c515,_0x1564af){return _0x19c515>_0x1564af;},'tOzRv':'http','HqodI':function(_0x386ea2,_0x208d3d){return _0x386ea2+_0x208d3d;},'svcnZ':_0x11d00f(0x16f),'GbCEk':function(_0xef52f0,_0x321875){return _0xef52f0(_0x321875);},'ZGSqz':_0x11d00f(0x1d3),'qLDzF':function(_0xc40a09){return _0xc40a09();},'pClAa':function(_0x25b71c,_0x2c2db6){return _0x25b71c||_0x2c2db6;},'Luvcr':function(_0x25fa96,_0x289b60,_0x497fb9,_0xaa3236,_0x4adcad,_0x793f79){return _0x25fa96(_0x289b60,_0x497fb9,_0xaa3236,_0x4adcad,_0x793f79);},'Fzzjf':function(_0x204454,_0x200d07){return _0x204454===_0x200d07;},'YPuvG':function(_0x1de22e,_0x10d74f){return _0x1de22e>_0x10d74f;},'TJYKi':function(_0x5c5963,_0x2fe2cc,_0x354f2d){return _0x5c5963(_0x2fe2cc,_0x354f2d);},'ydBhd':_0x11d00f(0x1cd),'LecSK':function(_0x4bee04,_0x50fd0b){return _0x4bee04+_0x50fd0b;},'NLXMR':function(_0x39668e,_0x317223){return _0x39668e+_0x317223;},'GiFmF':function(_0x227238,_0x880b84){return _0x227238+_0x880b84;},'Vjwfa':function(_0xa2877c,_0xbea3c3){return _0xa2877c+_0xbea3c3;},'OkeTk':function(_0x43235d,_0x354224){return _0x43235d+_0x354224;},'hnDgb':_0x11d00f(0x233),'BojWJ':'ms)','JyKKK':function(_0x470874,_0x109477,_0x3f541a){return _0x470874(_0x109477,_0x3f541a);},'HTwCk':_0x11d00f(0x23d),'Iwktb':function(_0x324307,_0x3553e4){return _0x324307(_0x3553e4);},'hhVDX':function(_0xad9bce,_0x4042a5){return _0xad9bce>_0x4042a5;},'uPfBI':function(_0x1bd3a9,_0x12940d){return _0x1bd3a9-_0x12940d;},'IndHt':function(_0x4ed9e9,_0x36e18f,_0x11c6ea){return _0x4ed9e9(_0x36e18f,_0x11c6ea);},'matZL':function(_0x56f868,_0x541fcd){return _0x56f868(_0x541fcd);},'xTBRL':function(_0x290520,_0x4cd582){return _0x290520&&_0x4cd582;},'yEoPZ':function(_0x239d7a,_0x1a3324){return _0x239d7a>_0x1a3324;},'XXaNr':function(_0x3e4654,_0x1c2562){return _0x3e4654-_0x1c2562;},'SBGaM':_0x11d00f(0x241),'HyQhy':_0x11d00f(0x207),'EgJHR':function(_0x56ad2f,_0xd14766){return _0x56ad2f(_0xd14766);},'hektZ':function(_0x1fefd1,_0x2d1be6){return _0x1fefd1+_0x2d1be6;},'aMznN':_0x11d00f(0x1a1),'Euhoh':function(_0x44ff9e,_0x25a28b){return _0x44ff9e>_0x25a28b;},'HrkJc':_0x11d00f(0x170),'SQKCY':function(_0xe86cb,_0x5ae237){return _0xe86cb+_0x5ae237;},'qJGGM':function(_0x18ae78,_0x53b75d){return _0x18ae78+_0x53b75d;},'oJpNz':_0x11d00f(0x166),'VGPTP':_0x11d00f(0x1ed),'OKlpt':function(_0x1cfba3,_0x578a3b){return _0x1cfba3+_0x578a3b;},'RWwwx':_0x11d00f(0x1cf),'nCAAs':'failed','axdnQ':'passed','nOhrs':_0x11d00f(0x1fa),'DMMwE':_0x11d00f(0x1ae),'jNDHk':'UnhandledError','MZxKd':function(_0x55be01,_0xeff95d,_0x364b8b,_0x24d34b,_0x33c308,_0x16062a){return _0x55be01(_0xeff95d,_0x364b8b,_0x24d34b,_0x33c308,_0x16062a);},'qyRQm':function(_0x552031,_0x29ae83){return _0x552031-_0x29ae83;},'rYXrc':function(_0x235723,_0x5853e9){return _0x235723>_0x5853e9;},'lWNay':function(_0x3c7cd5){return _0x3c7cd5();},'wFLyx':function(_0x53f866,_0x227477){return _0x53f866!=_0x227477;},'EKpIP':function(_0x1bcbae,_0x4cb67){return _0x1bcbae>=_0x4cb67;},'KSjIS':function(_0x205933,_0x15032e){return _0x205933<_0x15032e;},'cpRns':_0x11d00f(0x1cc),'mJQkO':_0x11d00f(0x192),'RTRTq':function(_0x20c0b6,_0x2f4031,_0x453aa3,_0x2f8abb,_0x108594,_0x18989b){return _0x20c0b6(_0x2f4031,_0x453aa3,_0x2f8abb,_0x108594,_0x18989b);},'SXXbw':function(_0x173c39,_0x108269){return _0x173c39+_0x108269;},'kBvxm':function(_0xa6e13,_0x1b2388){return _0xa6e13+_0x1b2388;},'gsJnz':function(_0x54f661,_0x4c26c7){return _0x54f661+_0x4c26c7;},'pEUJR':function(_0x23e6db,_0x3e8653,_0x273592){return _0x23e6db(_0x3e8653,_0x273592);},'ZKlDM':_0x11d00f(0x158),'JQydI':_0x11d00f(0x232),'WpQXP':function(_0x3c9eba,_0x331488){return _0x3c9eba(_0x331488);},'JglbD':function(_0x30f08f,_0x5ba549,_0x170914){return _0x30f08f(_0x5ba549,_0x170914);},'EIdJA':_0x11d00f(0x165),'TGMSF':_0x11d00f(0x194),'gOVsk':_0x11d00f(0x20b),'yQPcb':_0x11d00f(0x1ce),'LBNcc':_0x11d00f(0x1b8),'IFfkM':_0x11d00f(0x1d1),'Vcbit':_0x11d00f(0x1dd),'BTMiP':_0x11d00f(0x1c0),'knaft':_0x11d00f(0x244)},_0x1b22b9=new Map();let _0x482cf1=null,_0x26c681=0x0;const _0x173b9d=_0x11eba8[_0x11d00f(0x21b)](resolveCollectionFile,_0x247388,_0x985ed7),_0x5510ab=_0x11eba8[_0x11d00f(0x20c)](resolveCollectionName,_0x247388)||_0x173b9d,_0x40c02d=path[_0x11d00f(0x163)](_0x173b9d),_0x48235d=_0x11d00f(0x1e4)+process[_0x11d00f(0x1df)],_0x38873e=_0x35da46=>{const _0x3eab86=_0x11d00f;try{_0x482cf1&&_0x11eba8[_0x3eab86(0x188)](emitLog,_0x482cf1,_0x35da46);}catch(_0x4f2515){_0x11eba8['kpZUQ'](debug,'[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20'+_0x4f2515);}};process['on'](_0x48235d,_0x38873e),_0x11b270['on'](_0x11eba8[_0x11d00f(0x1ad)],()=>{const _0x28b902=_0x11d00f;process['removeListener'](_0x48235d,_0x38873e),_0x1b22b9[_0x28b902(0x23f)]();}),_0x11b270['on'](_0x11eba8[_0x11d00f(0x162)],(_0x4d9ff9,_0x3452e3)=>{const _0x367ec7=_0x11d00f;_0x3452e3&&_0x3452e3[_0x367ec7(0x1c2)]&&(_0x26c681=_0x3452e3[_0x367ec7(0x1c2)]['iteration']||0x0);}),_0x11b270['on'](_0x11eba8[_0x11d00f(0x23c)],(_0xc2c54e,_0x1a3bd1)=>{const _0x5ce9bc=_0x11d00f;try{_0x482cf1=null;const _0x35d0f8=_0x1a3bd1[_0x5ce9bc(0x244)],_0x20fcf1=_0x35d0f8['parent']()?_0x11eba8['KPtgD'](getParentTitles,_0x35d0f8[_0x5ce9bc(0x22e)]()):[],_0x5d38b5=_0x11eba8[_0x5ce9bc(0x1b0)](_0x20fcf1[_0x5ce9bc(0x22b)],0x1)?_0x20fcf1['slice'](0x1):_0x20fcf1,_0x1368f9=_0x1a3bd1[_0x5ce9bc(0x1c2)]&&_0x1a3bd1['cursor'][_0x5ce9bc(0x190)],_0x53a752={'itemName':_0x35d0f8['name'],'scopes':_0x5d38b5['concat']([_0x35d0f8[_0x5ce9bc(0x238)]]),'location':_0x173b9d,'collectionName':_0x5510ab,'startedAt':new Date()['toISOString'](),'startTimestamp':Date[_0x5ce9bc(0x169)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x1b22b9['set'](_0x35d0f8['id']+'_'+_0x26c681,_0x53a752),_0x1368f9&&_0x1b22b9['set'](_0x1368f9+'_'+_0x26c681,_0x53a752);}catch(_0x163303){_0x11eba8[_0x5ce9bc(0x214)](debug,_0x5ce9bc(0x213)+_0x163303);}}),_0x11b270['on'](_0x11eba8[_0x11d00f(0x20e)],(_0x16682e,_0x1c9a51)=>{const _0x15c08b=_0x11d00f;try{if(!_0x1c9a51||!_0x1c9a51['item'])return;const _0x4347b9=_0x1b22b9['get'](_0x1c9a51[_0x15c08b(0x244)]['id']+'_'+_0x26c681);if(!_0x4347b9)return;_0x1c9a51[_0x15c08b(0x236)]&&(_0x4347b9[_0x15c08b(0x1c6)]=_0x1c9a51['response'][_0x15c08b(0x208)]||null);if(!_0x1c9a51['request'])return;let _0x47eed2='',_0x4a1f2f='';if(_0x1c9a51[_0x15c08b(0x1ce)][_0x15c08b(0x176)])try{const _0x31ea02=_0x1c9a51[_0x15c08b(0x1ce)]['url']['toString'](),_0x297ffe=new URL(_0x31ea02[_0x15c08b(0x224)](_0x11eba8[_0x15c08b(0x182)])?_0x31ea02:_0x15c08b(0x19e)+_0x31ea02);_0x47eed2=_0x297ffe[_0x15c08b(0x1af)],_0x4a1f2f=_0x11eba8[_0x15c08b(0x172)](_0x297ffe[_0x15c08b(0x160)],_0x297ffe[_0x15c08b(0x228)]);}catch(_0x2c89a8){_0x4a1f2f=_0x1c9a51[_0x15c08b(0x1ce)][_0x15c08b(0x176)][_0x15c08b(0x1e7)]();}const _0x3faf6f={};_0x3faf6f[_0x15c08b(0x210)]=_0x47eed2,_0x3faf6f[_0x15c08b(0x1bf)]=_0x4a1f2f,_0x3faf6f[_0x15c08b(0x1ca)]=_0x1c9a51[_0x15c08b(0x1ce)][_0x15c08b(0x1ca)]||_0x11eba8[_0x15c08b(0x20a)],_0x3faf6f['headers']={},_0x3faf6f[_0x15c08b(0x23a)]=_0x1c9a51['response']?_0x1c9a51[_0x15c08b(0x236)][_0x15c08b(0x208)]||0x0:0x0,_0x3faf6f[_0x15c08b(0x17e)]=_0x1c9a51[_0x15c08b(0x236)]?_0x1c9a51[_0x15c08b(0x236)][_0x15c08b(0x200)]||0x0:0x0,_0x4347b9[_0x15c08b(0x1f4)]=_0x3faf6f;}catch(_0x3173ee){_0x11eba8[_0x15c08b(0x196)](debug,_0x15c08b(0x1d4)+_0x3173ee);}}),_0x11b270['on'](_0x11eba8['LBNcc'],(_0x16fe69,_0x21b68a)=>{const _0x1ae9f1=_0x11d00f,_0x3694fe={'MBXrL':function(_0x2659d6,_0x1266fe,_0x49ef43){const _0x3ab25f=a46_0x3669;return _0x11eba8[_0x3ab25f(0x188)](_0x2659d6,_0x1266fe,_0x49ef43);},'YCQnB':_0x11eba8['ZGSqz']};try{if(!_0x21b68a||!_0x21b68a[_0x1ae9f1(0x244)])return;const _0x310ff5=_0x1b22b9[_0x1ae9f1(0x1ef)](_0x21b68a[_0x1ae9f1(0x244)]['id']+'_'+_0x26c681);if(!_0x310ff5)return;const _0x24ccad=_0x21b68a['assertion']||'Assertion\x20'+_0x11eba8[_0x1ae9f1(0x172)](_0x310ff5['assertions'][_0x1ae9f1(0x22b)],0x1),_0x4c65b2=_0x11eba8[_0x1ae9f1(0x227)](uuidv4),_0x1c9565=_0x310ff5['scopes'][_0x1ae9f1(0x175)]([_0x24ccad])[_0x1ae9f1(0x21c)]('\x20');_0x310ff5[_0x1ae9f1(0x15c)][_0x1ae9f1(0x212)]({'uuid':_0x4c65b2,'name':_0x24ccad,'identifier':_0x1c9565,'err':_0x11eba8[_0x1ae9f1(0x1b7)](_0x16fe69,null)});const _0x411459={};_0x411459[_0x1ae9f1(0x223)]=_0x4c65b2,_0x411459[_0x1ae9f1(0x238)]=_0x24ccad,_0x411459[_0x1ae9f1(0x231)]=_0x1c9565,_0x11eba8[_0x1ae9f1(0x1a4)](emitTest,HookState['PRE'],_0x411459,_0x310ff5,_0x40c02d,{});_0x11eba8[_0x1ae9f1(0x19f)](_0x310ff5[_0x1ae9f1(0x15c)][_0x1ae9f1(0x22b)],0x1)&&_0x11eba8[_0x1ae9f1(0x248)](_0x310ff5['bufferedLogs'][_0x1ae9f1(0x22b)],0x0)&&(_0x310ff5[_0x1ae9f1(0x1f6)]['forEach'](_0x588e6b=>{const _0x4e08cb=_0x1ae9f1;_0x3694fe[_0x4e08cb(0x211)](emitLog,_0x4c65b2,{'kind':_0x3694fe['YCQnB'],'message':_0x588e6b['message'],'level':_0x588e6b[_0x4e08cb(0x1a6)]});}),_0x310ff5[_0x1ae9f1(0x1f6)]=[]);if(_0x310ff5[_0x1ae9f1(0x1f4)]){_0x11eba8[_0x1ae9f1(0x1f0)](emitLog,_0x4c65b2,{'kind':_0x11eba8['ydBhd'],'http_response':_0x310ff5[_0x1ae9f1(0x1f4)]});const _0x1394fe=_0x11eba8[_0x1ae9f1(0x167)](_0x11eba8['LecSK'](_0x11eba8['HqodI'](_0x11eba8[_0x1ae9f1(0x14f)](_0x11eba8[_0x1ae9f1(0x15d)](_0x11eba8['Vjwfa'](_0x11eba8[_0x1ae9f1(0x14c)](_0x11eba8[_0x1ae9f1(0x15d)](_0x310ff5['httpLog'][_0x1ae9f1(0x1ca)]||_0x11eba8[_0x1ae9f1(0x20a)],'\x20'),_0x310ff5['httpLog'][_0x1ae9f1(0x210)]),_0x310ff5[_0x1ae9f1(0x1f4)][_0x1ae9f1(0x1bf)]),_0x11eba8[_0x1ae9f1(0x234)]),_0x310ff5[_0x1ae9f1(0x1f4)][_0x1ae9f1(0x23a)]),'\x20('),_0x310ff5['httpLog'][_0x1ae9f1(0x17e)]),_0x11eba8[_0x1ae9f1(0x1de)]);_0x11eba8[_0x1ae9f1(0x16c)](emitLog,_0x4c65b2,{'kind':_0x11eba8['ZGSqz'],'message':_0x1394fe,'level':_0x11eba8[_0x1ae9f1(0x237)]});}_0x482cf1=_0x4c65b2;}catch(_0x532b76){_0x11eba8[_0x1ae9f1(0x1b5)](debug,_0x1ae9f1(0x1e0)+_0x532b76);}}),_0x11b270['on'](_0x11eba8['IFfkM'],(_0x22372c,_0x25de81)=>{const _0x4b8954=_0x11d00f;try{if(!_0x25de81)return;let _0x522aab=_0x482cf1;if(!_0x522aab&&_0x25de81[_0x4b8954(0x1c2)]&&_0x25de81[_0x4b8954(0x1c2)][_0x4b8954(0x190)]){const _0x4ccaf1=_0x1b22b9[_0x4b8954(0x1ef)](_0x25de81[_0x4b8954(0x1c2)]['ref']+'_'+_0x26c681);_0x4ccaf1&&_0x11eba8['hhVDX'](_0x4ccaf1[_0x4b8954(0x15c)]['length'],0x0)&&(_0x522aab=_0x4ccaf1[_0x4b8954(0x15c)][_0x11eba8[_0x4b8954(0x1e5)](_0x4ccaf1['assertions'][_0x4b8954(0x22b)],0x1)][_0x4b8954(0x223)]);}const _0x1a8040=_0x25de81[_0x4b8954(0x187)]?_0x25de81[_0x4b8954(0x187)][_0x4b8954(0x21c)](',\x20'):'';if(_0x522aab)_0x11eba8[_0x4b8954(0x1f9)](emitLog,_0x522aab,{'kind':_0x11eba8[_0x4b8954(0x1b9)],'message':_0x1a8040,'level':_0x11eba8[_0x4b8954(0x214)](normalizeLogLevel,_0x25de81[_0x4b8954(0x1a6)])});else{if(_0x25de81[_0x4b8954(0x1c2)]&&_0x25de81[_0x4b8954(0x1c2)][_0x4b8954(0x190)]){const _0x3fb4d1=_0x1b22b9[_0x4b8954(0x1ef)](_0x25de81[_0x4b8954(0x1c2)]['ref']+'_'+_0x26c681);_0x3fb4d1&&_0x3fb4d1[_0x4b8954(0x1f6)][_0x4b8954(0x212)]({'timestamp':new Date()[_0x4b8954(0x246)](),'level':_0x11eba8['GbCEk'](normalizeLogLevel,_0x25de81[_0x4b8954(0x1a6)]),'message':_0x1a8040});}}}catch(_0x4c2e3a){_0x11eba8[_0x4b8954(0x1ba)](debug,_0x4b8954(0x222)+_0x4c2e3a);}}),_0x11b270['on'](_0x11eba8['Vcbit'],(_0x3ddb9f,_0x216711)=>{const _0x5aab7f=_0x11d00f;try{if(!_0x3ddb9f&&(!_0x216711||!_0x216711[_0x5aab7f(0x1bd)]))return;const _0xe714ca=_0x3ddb9f||_0x216711['error'],_0x410a15=_0xe714ca[_0x5aab7f(0x1d7)]||_0x11eba8[_0x5aab7f(0x1ba)](String,_0xe714ca),_0x3c1c7f=_0xe714ca[_0x5aab7f(0x17a)]||_0x410a15;let _0xfcb070=_0x482cf1;if(_0x11eba8['xTBRL'](!_0xfcb070,_0x216711)&&_0x216711[_0x5aab7f(0x1c2)]&&_0x216711['cursor'][_0x5aab7f(0x190)]){const _0x3d1712=_0x1b22b9[_0x5aab7f(0x1ef)](_0x216711[_0x5aab7f(0x1c2)][_0x5aab7f(0x190)]+'_'+_0x26c681);_0x3d1712&&_0x11eba8[_0x5aab7f(0x174)](_0x3d1712[_0x5aab7f(0x15c)][_0x5aab7f(0x22b)],0x0)&&(_0xfcb070=_0x3d1712[_0x5aab7f(0x15c)][_0x11eba8['XXaNr'](_0x3d1712['assertions'][_0x5aab7f(0x22b)],0x1)]['uuid']);}_0xfcb070&&_0x11eba8[_0x5aab7f(0x1f9)](emitLog,_0xfcb070,{'kind':_0x11eba8['ZGSqz'],'message':_0x11eba8[_0x5aab7f(0x172)](_0x11eba8['SBGaM'],_0x3c1c7f),'level':_0x11eba8[_0x5aab7f(0x221)]});}catch(_0x12a944){_0x11eba8[_0x5aab7f(0x20c)](debug,_0x11eba8[_0x5aab7f(0x1c1)](_0x11eba8['aMznN'],_0x12a944));}}),_0x11b270['on'](_0x11eba8[_0x11d00f(0x16d)],(_0x19d63b,_0x3453f1)=>{const _0x3d7161=_0x11d00f;try{if(!_0x3453f1||!_0x3453f1['execution'])return;let _0x36bcb6=_0x482cf1;if(!_0x36bcb6&&_0x3453f1[_0x3d7161(0x1c2)]&&_0x3453f1[_0x3d7161(0x1c2)][_0x3d7161(0x190)]){const _0x53a7b7=_0x1b22b9[_0x3d7161(0x1ef)](_0x3453f1[_0x3d7161(0x1c2)]['ref']+'_'+_0x26c681);_0x53a7b7&&_0x11eba8[_0x3d7161(0x201)](_0x53a7b7[_0x3d7161(0x15c)][_0x3d7161(0x22b)],0x0)&&(_0x36bcb6=_0x53a7b7[_0x3d7161(0x15c)][_0x11eba8[_0x3d7161(0x1e5)](_0x53a7b7[_0x3d7161(0x15c)][_0x3d7161(0x22b)],0x1)][_0x3d7161(0x223)]);}if(!_0x36bcb6)return;const _0x53c781=_0x3453f1[_0x3d7161(0x16e)]&&_0x3453f1[_0x3d7161(0x16e)][_0x3d7161(0x216)]||_0x11eba8[_0x3d7161(0x204)];_0x19d63b&&_0x11eba8['JyKKK'](emitLog,_0x36bcb6,{'kind':_0x11eba8[_0x3d7161(0x1b9)],'message':_0x11eba8[_0x3d7161(0x1f3)](_0x11eba8[_0x3d7161(0x22d)](_0x11eba8['qJGGM'](_0x11eba8[_0x3d7161(0x229)],_0x53c781),_0x11eba8[_0x3d7161(0x151)]),_0x19d63b['message']||_0x19d63b),'level':_0x11eba8['HyQhy']});}catch(_0x540d72){_0x11eba8[_0x3d7161(0x20c)](debug,_0x11eba8['OKlpt'](_0x11eba8[_0x3d7161(0x1b6)],_0x540d72));}}),_0x11b270['on'](_0x11eba8[_0x11d00f(0x1d5)],(_0x43181a,_0x30de75)=>{const _0x5005ea=_0x11d00f,_0x3e6d48={'jwSMN':_0x11eba8['nCAAs'],'tspLX':_0x11eba8[_0x5005ea(0x1bb)],'ipIkw':function(_0x415306,_0x2f6b8f){const _0x1ff6ea=_0x5005ea;return _0x11eba8[_0x1ff6ea(0x19f)](_0x415306,_0x2f6b8f);},'AkWnc':_0x11eba8[_0x5005ea(0x1ec)],'nOPoj':_0x11eba8[_0x5005ea(0x1b1)],'TbXlS':_0x11eba8['jNDHk'],'IGItX':function(_0x3808f0,_0x1f92a4,_0x105403,_0x429c57,_0x29b4b9,_0x1dafbb){const _0x116553=_0x5005ea;return _0x11eba8[_0x116553(0x189)](_0x3808f0,_0x1f92a4,_0x105403,_0x429c57,_0x29b4b9,_0x1dafbb);}};try{if(!_0x30de75||!_0x30de75[_0x5005ea(0x244)])return;const _0x1bda80=_0x30de75[_0x5005ea(0x244)]['id']+'_'+_0x26c681,_0x2083f0=_0x1b22b9['get'](_0x1bda80);if(!_0x2083f0)return;const _0x5e6f24=new Date(),_0x4e0a74=_0x11eba8[_0x5005ea(0x22a)](_0x5e6f24[_0x5005ea(0x230)](),_0x2083f0[_0x5005ea(0x177)]);if(_0x11eba8[_0x5005ea(0x16b)](_0x2083f0[_0x5005ea(0x15c)][_0x5005ea(0x22b)],0x0))_0x2083f0['assertions'][_0x5005ea(0x19a)](_0x2a256c=>{const _0x509a21=_0x5005ea,_0x78933d=!!_0x2a256c[_0x509a21(0x185)],_0x156d2f={'finishedAt':_0x5e6f24['toISOString'](),'durationMs':_0x4e0a74,'result':_0x78933d?_0x3e6d48['jwSMN']:_0x3e6d48[_0x509a21(0x1db)]};_0x78933d&&(_0x156d2f['failureReason']=_0x2a256c[_0x509a21(0x185)][_0x509a21(0x1d7)]||'',_0x156d2f[_0x509a21(0x21d)]=_0x3e6d48['ipIkw'](_0x2a256c['err'][_0x509a21(0x238)],_0x3e6d48['AkWnc'])||_0x2a256c['err'][_0x509a21(0x1d7)]&&_0x2a256c[_0x509a21(0x185)][_0x509a21(0x1d7)][_0x509a21(0x22c)](_0x3e6d48['nOPoj'])?_0x3e6d48[_0x509a21(0x181)]:_0x3e6d48[_0x509a21(0x21e)],_0x156d2f[_0x509a21(0x15b)]=[{'backtrace':_0x2a256c[_0x509a21(0x185)][_0x509a21(0x17a)]?_0x2a256c[_0x509a21(0x185)][_0x509a21(0x17a)][_0x509a21(0x245)]('\x0a'):[_0x2a256c['err']['message']||''],'expanded':[]}]),_0x3e6d48['IGItX'](emitTest,HookState[_0x509a21(0x1f1)],_0x2a256c,_0x2083f0,_0x40c02d,_0x156d2f);});else{const _0x5ca6fb=_0x11eba8[_0x5005ea(0x15e)](uuidv4),_0x40fc8b=_0x2083f0[_0x5005ea(0x1c6)],_0x393538=_0x11eba8[_0x5005ea(0x1ee)](_0x40fc8b,null)&&_0x11eba8[_0x5005ea(0x209)](_0x40fc8b,0xc8)&&_0x11eba8[_0x5005ea(0x1d0)](_0x40fc8b,0x190),_0xa86017=_0x2083f0[_0x5005ea(0x161)]+_0x5005ea(0x180)+_0x11eba8[_0x5005ea(0x1b7)](_0x40fc8b,_0x11eba8[_0x5005ea(0x15a)])+')',_0x3b24ea={'uuid':_0x5ca6fb,'name':_0xa86017,'identifier':_0x2083f0[_0x5005ea(0x219)][_0x5005ea(0x175)]([_0xa86017])[_0x5005ea(0x21c)]('\x20')},_0x3c0cae={'finishedAt':_0x5e6f24['toISOString'](),'durationMs':_0x4e0a74,'result':_0x393538?_0x11eba8['axdnQ']:_0x11eba8[_0x5005ea(0x215)]};!_0x393538&&(_0x3c0cae[_0x5005ea(0x1c4)]=_0x11eba8['wFLyx'](_0x40fc8b,null)?_0x5005ea(0x1dc)+_0x40fc8b+'\x20—\x20response\x20status\x20in\x20failure\x20range':_0x11eba8['mJQkO'],_0x3c0cae[_0x5005ea(0x21d)]=_0x11eba8[_0x5005ea(0x1b2)],_0x3c0cae[_0x5005ea(0x15b)]=[{'backtrace':[_0x3c0cae['failureReason']],'expanded':[]}]);_0x11eba8[_0x5005ea(0x1c8)](emitTest,HookState['PRE'],_0x3b24ea,_0x2083f0,_0x40c02d,{}),_0x2083f0[_0x5005ea(0x1f6)][_0x5005ea(0x19a)](_0x1facf2=>{const _0x50a6d4=_0x5005ea;_0x11eba8[_0x50a6d4(0x188)](emitLog,_0x5ca6fb,{'kind':_0x11eba8[_0x50a6d4(0x1b9)],'message':_0x1facf2[_0x50a6d4(0x1d7)],'level':_0x1facf2[_0x50a6d4(0x1a6)]});});if(_0x2083f0[_0x5005ea(0x1f4)]){_0x11eba8[_0x5005ea(0x1f9)](emitLog,_0x5ca6fb,{'kind':_0x11eba8[_0x5005ea(0x21f)],'http_response':_0x2083f0[_0x5005ea(0x1f4)]});const _0x3af2a0=_0x11eba8[_0x5005ea(0x1f3)](_0x11eba8['OkeTk'](_0x11eba8['NLXMR'](_0x11eba8[_0x5005ea(0x1c7)](_0x11eba8[_0x5005ea(0x17b)](_0x11eba8[_0x5005ea(0x14f)](_0x11eba8[_0x5005ea(0x167)](_0x11eba8[_0x5005ea(0x1ab)](_0x2083f0['httpLog'][_0x5005ea(0x1ca)]||_0x11eba8[_0x5005ea(0x20a)],'\x20'),_0x2083f0['httpLog'][_0x5005ea(0x210)]),_0x2083f0['httpLog']['path']),_0x11eba8['hnDgb']),_0x2083f0[_0x5005ea(0x1f4)][_0x5005ea(0x23a)]),'\x20('),_0x2083f0[_0x5005ea(0x1f4)][_0x5005ea(0x17e)]),_0x11eba8[_0x5005ea(0x1de)]);_0x11eba8['hMmxS'](emitLog,_0x5ca6fb,{'kind':_0x11eba8[_0x5005ea(0x1b9)],'message':_0x3af2a0,'level':_0x11eba8[_0x5005ea(0x237)]});}else _0x11eba8[_0x5005ea(0x1f5)](emitLog,_0x5ca6fb,{'kind':_0x11eba8[_0x5005ea(0x1b9)],'message':_0x11eba8['qJGGM'](_0x11eba8[_0x5005ea(0x15d)](_0x11eba8[_0x5005ea(0x154)],_0x11eba8[_0x5005ea(0x1b7)](_0x40fc8b,_0x11eba8['cpRns'])),_0x11eba8[_0x5005ea(0x205)]),'level':_0x11eba8[_0x5005ea(0x237)]});_0x11eba8[_0x5005ea(0x1c8)](emitTest,HookState['POST'],_0x3b24ea,_0x2083f0,_0x40c02d,_0x3c0cae);}_0x1b22b9[_0x5005ea(0x193)](_0x1bda80),_0x30de75['cursor']&&_0x30de75[_0x5005ea(0x1c2)][_0x5005ea(0x190)]&&_0x1b22b9['delete'](_0x30de75['cursor'][_0x5005ea(0x190)]+'_'+_0x26c681);}catch(_0x1e76a6){_0x11eba8[_0x5005ea(0x19b)](debug,_0x5005ea(0x171)+_0x1e76a6);}});}module[a46_0x378cf2(0x1ff)]=BrowserStackNewmanReporter;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a47_0x2950(_0x2ceeb8,_0x175ea3){const _0x1ece19=a47_0x1ece();return a47_0x2950=function(_0x29501f,_0x2ad1c6){_0x29501f=_0x29501f-0x192;let _0x349bd9=_0x1ece19[_0x29501f];return _0x349bd9;},a47_0x2950(_0x2ceeb8,_0x175ea3);}const a47_0x465eca=a47_0x2950;(function(_0x59d1eb,_0x3561e3){const _0x280a32=a47_0x2950,_0x4cc403=_0x59d1eb();while(!![]){try{const _0x716359=-parseInt(_0x280a32(0x1cf))/0x1*(-parseInt(_0x280a32(0x1d1))/0x2)+parseInt(_0x280a32(0x1af))/0x3*(parseInt(_0x280a32(0x1a8))/0x4)+-parseInt(_0x280a32(0x196))/0x5*(-parseInt(_0x280a32(0x1a1))/0x6)+-parseInt(_0x280a32(0x1bd))/0x7+parseInt(_0x280a32(0x1c4))/0x8+-parseInt(_0x280a32(0x1c7))/0x9*(-parseInt(_0x280a32(0x1ab))/0xa)+-parseInt(_0x280a32(0x1cb))/0xb;if(_0x716359===_0x3561e3)break;else _0x4cc403['push'](_0x4cc403['shift']());}catch(_0x30151c){_0x4cc403['push'](_0x4cc403['shift']());}}}(a47_0x1ece,0xa702c));const path=require(a47_0x465eca(0x1b6)),Module=require(a47_0x465eca(0x1b1)),BrowserstackCLI=require(a47_0x465eca(0x1ae)),scriptFile=process[a47_0x465eca(0x1ac)][0x2],maxParallel=parseInt(process[a47_0x465eca(0x1ac)][0x3])||0x0;!scriptFile&&(process['stderr'][a47_0x465eca(0x1a2)](a47_0x465eca(0x19c)),process[a47_0x465eca(0x1bb)](0x1));const reporterPath=path[a47_0x465eca(0x1d0)](__dirname,'reporter',a47_0x465eca(0x1cd)),originalResolveFilename=Module[a47_0x465eca(0x1cc)];Module[a47_0x465eca(0x1cc)]=function(_0xc664c8,_0x24979e,_0x52fc20,_0x471c42){const _0x63529=a47_0x465eca,_0x527080={};_0x527080['VnOzI']=function(_0x268fd6,_0x5180a0){return _0x268fd6===_0x5180a0;},_0x527080['iiZpY']=_0x63529(0x1c8);const _0x534fbd=_0x527080;if(_0x534fbd['VnOzI'](_0xc664c8,_0x534fbd[_0x63529(0x19f)]))return reporterPath;return originalResolveFilename[_0x63529(0x1c6)](this,_0xc664c8,_0x24979e,_0x52fc20,_0x471c42);};let limit;try{const pLimit=require(a47_0x465eca(0x197)),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a47_0x3c0a93){limit=function(_0x498a85){const _0x3bc569={'SLSnr':function(_0x25c5d9){return _0x25c5d9();}};return _0x3bc569['SLSnr'](_0x498a85);};}let wrappedNewman=null,hasFailure=![];const originalLoad=Module[a47_0x465eca(0x1bf)];function a47_0x1ece(){const _0x8fdbd5=['resolve','gKmSn','1739584OWeRGq','stderr','call','639jzVUgA','newman-reporter-browserstack','QICSs','RhIcw','19893544xqcFwY','_resolveFilename','index.js','UcmSM','1ZGvgYV','join','549226vwOblg','kBWeW','string','failures','usOVY','85vvFJFL','p-limit','run','collection','nUuJi','xgcws','[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a','GlVTC','exitCode','iiZpY','reporter','450390CvJDxN','write','beforeExit','eivif','browserstack','length','assign','38084UBQyhl','cli','EGwZv','85530vDZIwj','argv','bind','../v2/browserstackCLI','69oVJTUk','message','module','dwplY','error','iLBlI','JUByH','path','create','getInstance','newman','reporters','exit','eCGaa','712824QabWXA','collectionPath','_load','EaaUO','HsBCx'];a47_0x1ece=function(){return _0x8fdbd5;};return a47_0x1ece();}Module[a47_0x465eca(0x1bf)]=function(_0x4ee77e,_0x37f144,_0x202533){const _0x18f7fb=a47_0x465eca,_0x38eb43={'eivif':function(_0x4e0b73,_0xdea970){return _0x4e0b73>_0xdea970;},'JUByH':function(_0x155dcb,_0x1645d8){return _0x155dcb||_0x1645d8;},'QICSs':function(_0x5a1528,_0x49e2f8,_0x50181a){return _0x5a1528(_0x49e2f8,_0x50181a);},'kBWeW':function(_0x1aa791,_0x14572f){return _0x1aa791(_0x14572f);},'eCGaa':_0x18f7fb(0x1a9),'iLBlI':function(_0x4d090c,_0x23818f){return _0x4d090c===_0x23818f;},'HsBCx':_0x18f7fb(0x1a5),'BAmdM':_0x18f7fb(0x193),'xgcws':function(_0x4af115,_0x1e0923){return _0x4af115(_0x1e0923);},'EGwZv':function(_0x106920,_0x103fc6){return _0x106920!==_0x103fc6;},'EaaUO':_0x18f7fb(0x1b9)},_0xa77c23=originalLoad[_0x18f7fb(0x1c6)](this,_0x4ee77e,_0x37f144,_0x202533);if(_0x38eb43[_0x18f7fb(0x1aa)](_0x4ee77e,_0x38eb43[_0x18f7fb(0x1c0)]))return _0xa77c23;if(wrappedNewman)return wrappedNewman;const _0x55de75=_0xa77c23['run'][_0x18f7fb(0x1ad)](_0xa77c23);return wrappedNewman=Object[_0x18f7fb(0x1b7)](_0xa77c23),wrappedNewman[_0x18f7fb(0x198)]=function(_0x235cab,_0x3d1449){const _0x4378cf=_0x18f7fb;let _0x353f5c=_0x235cab[_0x4378cf(0x1ba)]||[_0x38eb43[_0x4378cf(0x1bc)]];_0x38eb43[_0x4378cf(0x1b4)](_0x353f5c['indexOf'](_0x38eb43[_0x4378cf(0x1c1)]),-0x1)&&(_0x353f5c=_0x353f5c['concat']([_0x38eb43['HsBCx']]));const _0x3b324d=_0x38eb43['iLBlI'](typeof _0x235cab[_0x4378cf(0x199)],_0x38eb43['BAmdM'])?_0x235cab[_0x4378cf(0x199)]:undefined,_0x60a931={};_0x60a931[_0x4378cf(0x1be)]=_0x3b324d;const _0x108e63=Object[_0x4378cf(0x1a7)]({},_0x235cab[_0x4378cf(0x1a0)],{'browserstack':Object['assign']({},_0x235cab[_0x4378cf(0x1a0)]&&_0x235cab[_0x4378cf(0x1a0)][_0x4378cf(0x1a5)],_0x60a931)}),_0xaa1766={};return _0xaa1766[_0x4378cf(0x1ba)]=_0x353f5c,_0xaa1766[_0x4378cf(0x1a0)]=_0x108e63,_0x235cab=Object[_0x4378cf(0x1a7)]({},_0x235cab,_0xaa1766),_0x38eb43[_0x4378cf(0x19b)](limit,function(){const _0x3bea47={'WuKQU':function(_0x202481,_0x5b49c0){const _0x55741e=a47_0x2950;return _0x38eb43[_0x55741e(0x1a4)](_0x202481,_0x5b49c0);},'GlVTC':function(_0x205b0c,_0x246b63){const _0x9baf16=a47_0x2950;return _0x38eb43[_0x9baf16(0x1b5)](_0x205b0c,_0x246b63);},'UcmSM':function(_0x19b059,_0x3ad17f,_0x2e4ac1){return _0x38eb43['QICSs'](_0x19b059,_0x3ad17f,_0x2e4ac1);},'dwplY':function(_0x40b81c,_0x3ca958){const _0x2f5906=a47_0x2950;return _0x38eb43[_0x2f5906(0x192)](_0x40b81c,_0x3ca958);},'blmfm':function(_0x2b4057,_0xfa1eff,_0x501078){const _0x247866=a47_0x2950;return _0x38eb43[_0x247866(0x1c9)](_0x2b4057,_0xfa1eff,_0x501078);}};return new Promise(function(_0x3ebcae){_0x3bea47['blmfm'](_0x55de75,_0x235cab,function(_0x21f540,_0x272c0f){const _0x5421ee=a47_0x2950,_0x3bc806=_0x272c0f&&_0x272c0f[_0x5421ee(0x198)]&&(_0x272c0f['run'][_0x5421ee(0x1b3)]||_0x272c0f[_0x5421ee(0x198)][_0x5421ee(0x194)]&&_0x3bea47['WuKQU'](_0x272c0f[_0x5421ee(0x198)][_0x5421ee(0x194)][_0x5421ee(0x1a6)],0x0));_0x3bea47[_0x5421ee(0x19d)](_0x3bc806,_0x21f540)&&(hasFailure=!![]),_0x3d1449&&_0x3bea47[_0x5421ee(0x1ce)](_0x3d1449,_0x21f540,_0x272c0f),_0x3bea47[_0x5421ee(0x1b2)](_0x3ebcae,_0x272c0f);});});});},wrappedNewman;};async function main(){const _0xa89010=a47_0x465eca,_0x397dcf={'RhIcw':function(_0x1920e1,_0x377a8f){return _0x1920e1(_0x377a8f);},'Rmwmn':function(_0xaed72c,_0x27c4c3){return _0xaed72c+_0x27c4c3;},'usOVY':function(_0x61c8da,_0xe50e66){return _0x61c8da+_0xe50e66;},'nUuJi':'[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20'};try{await BrowserstackCLI[_0xa89010(0x1b8)]()['bootstrap']();}catch(_0x5c08c6){}try{_0x397dcf[_0xa89010(0x1ca)](require,path[_0xa89010(0x1c2)](scriptFile));}catch(_0x11f9e1){process[_0xa89010(0x1c5)][_0xa89010(0x1a2)](_0x397dcf['Rmwmn'](_0x397dcf[_0xa89010(0x195)](_0x397dcf[_0xa89010(0x19a)],_0x11f9e1[_0xa89010(0x1b0)]||_0x11f9e1),'\x0a')),process[_0xa89010(0x19e)]=0x1;}}main(),process['on'](a47_0x465eca(0x1a3),function(){const _0x280d9b=a47_0x465eca;hasFailure&&(process[_0x280d9b(0x19e)]=0x1);}),process['on']('exit',function(){const _0x2f5a10=a47_0x465eca,_0x36e5d3={};_0x36e5d3[_0x2f5a10(0x1c3)]=function(_0x1a9d24,_0x104815){return _0x1a9d24===_0x104815;};const _0x3494cd=_0x36e5d3;hasFailure&&_0x3494cd[_0x2f5a10(0x1c3)](process[_0x2f5a10(0x19e)],0x0)&&(process[_0x2f5a10(0x19e)]=0x1);});
2
+ 'use strict';function a47_0x37c4(){const _0x204146=['sTnbi','8929907ThHPIk','eKbFY','reporter','_load','awIRg','exit','assign','NeHNj','message','index.js','wGziI','create','RumKT','8KNMnbm','call','388902AppGPe','LPDBv','2421660BGHXHm','oCONi','WrDRx','rlllR','bootstrap','_resolveFilename','cli','argv','exitCode','length','LDriu','4484350wYAWuJ','NgCZE','pMJZk','[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a','313758cqKVvP','collectionPath','resolve','error','beforeExit','BCuNj','write','rsdEI','collection','join','ydjdu','stderr','OLsSS','../v2/browserstackCLI','613878fpBATi','newman-reporter-browserstack','getInstance','OYiHD','indexOf','run','634096hrnsHb','csMyD'];a47_0x37c4=function(){return _0x204146;};return a47_0x37c4();}function a47_0x266a(_0x39a00b,_0x4b37fe){const _0x37c44b=a47_0x37c4();return a47_0x266a=function(_0x266aa0,_0x3da389){_0x266aa0=_0x266aa0-0x149;let _0x292b13=_0x37c44b[_0x266aa0];return _0x292b13;},a47_0x266a(_0x39a00b,_0x4b37fe);}const a47_0x408321=a47_0x266a;(function(_0x19f12f,_0x3b82df){const _0x5c2b9b=a47_0x266a,_0x298d09=_0x19f12f();while(!![]){try{const _0x4a0939=-parseInt(_0x5c2b9b(0x178))/0x1+parseInt(_0x5c2b9b(0x17e))/0x2+-parseInt(_0x5c2b9b(0x16a))/0x3+parseInt(_0x5c2b9b(0x15b))/0x4+-parseInt(_0x5c2b9b(0x166))/0x5+-parseInt(_0x5c2b9b(0x159))/0x6+-parseInt(_0x5c2b9b(0x14a))/0x7*(-parseInt(_0x5c2b9b(0x157))/0x8);if(_0x4a0939===_0x3b82df)break;else _0x298d09['push'](_0x298d09['shift']());}catch(_0x3ac126){_0x298d09['push'](_0x298d09['shift']());}}}(a47_0x37c4,0x7e77d));const path=require('path'),Module=require('module'),BrowserstackCLI=require(a47_0x408321(0x177)),scriptFile=process[a47_0x408321(0x162)][0x2],maxParallel=parseInt(process['argv'][0x3])||0x0;!scriptFile&&(process[a47_0x408321(0x175)][a47_0x408321(0x170)](a47_0x408321(0x169)),process[a47_0x408321(0x14f)](0x1));const reporterPath=path[a47_0x408321(0x173)](__dirname,'reporter',a47_0x408321(0x153)),originalResolveFilename=Module['_resolveFilename'];Module[a47_0x408321(0x160)]=function(_0x8be427,_0x2a1fe7,_0x4e5abd,_0xd5f29){const _0x67cc07=a47_0x408321,_0x4466e4={};_0x4466e4[_0x67cc07(0x154)]=function(_0x535eed,_0x1eea94){return _0x535eed===_0x1eea94;},_0x4466e4['LDriu']=_0x67cc07(0x179);const _0x4bec23=_0x4466e4;if(_0x4bec23[_0x67cc07(0x154)](_0x8be427,_0x4bec23[_0x67cc07(0x165)]))return reporterPath;return originalResolveFilename[_0x67cc07(0x158)](this,_0x8be427,_0x2a1fe7,_0x4e5abd,_0xd5f29);};let limit;try{const pLimit=require('p-limit'),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a47_0x1ce11a){limit=function(_0x5aade0){const _0x4ed2f4={'mstFR':function(_0x4d5b80){return _0x4d5b80();}};return _0x4ed2f4['mstFR'](_0x5aade0);};}let wrappedNewman=null,hasFailure=![];const originalLoad=Module[a47_0x408321(0x14d)];Module[a47_0x408321(0x14d)]=function(_0x111096,_0x4f884c,_0x43a306){const _0x199276=a47_0x408321,_0x52ecfa={'LPDBv':function(_0x411927,_0x319cd8){return _0x411927>_0x319cd8;},'EYoRJ':function(_0x410db9,_0x3babbd){return _0x410db9||_0x3babbd;},'BCuNj':function(_0x566854,_0xc3e0a5,_0x571266){return _0x566854(_0xc3e0a5,_0x571266);},'ydjdu':function(_0x506a4b,_0x454a11){return _0x506a4b(_0x454a11);},'OLsSS':_0x199276(0x161),'rsdEI':function(_0x4769cf,_0x376ea7){return _0x4769cf===_0x376ea7;},'oCONi':'browserstack','YYptm':'string','WrDRx':function(_0x2a789f,_0x233ed1){return _0x2a789f!==_0x233ed1;},'eKbFY':'newman'},_0x1dd354=originalLoad[_0x199276(0x158)](this,_0x111096,_0x4f884c,_0x43a306);if(_0x52ecfa[_0x199276(0x15d)](_0x111096,_0x52ecfa[_0x199276(0x14b)]))return _0x1dd354;if(wrappedNewman)return wrappedNewman;const _0xb044e7=_0x1dd354[_0x199276(0x17d)]['bind'](_0x1dd354);return wrappedNewman=Object[_0x199276(0x155)](_0x1dd354),wrappedNewman[_0x199276(0x17d)]=function(_0x54eb6f,_0x1275c6){const _0x3b5cc9=_0x199276,_0x23c9ed={'pMJZk':function(_0x218f58,_0x3e382b){const _0x11ce31=a47_0x266a;return _0x52ecfa[_0x11ce31(0x15a)](_0x218f58,_0x3e382b);},'NgCZE':function(_0x2f7efb,_0x25a2e5){return _0x52ecfa['EYoRJ'](_0x2f7efb,_0x25a2e5);},'csMyD':function(_0x13e315,_0xfc0902,_0x32a1b3){const _0x4301df=a47_0x266a;return _0x52ecfa[_0x4301df(0x16f)](_0x13e315,_0xfc0902,_0x32a1b3);},'QyGlI':function(_0x46c651,_0x4e8b24){const _0x3e055a=a47_0x266a;return _0x52ecfa[_0x3e055a(0x174)](_0x46c651,_0x4e8b24);}};let _0x158cac=_0x54eb6f['reporters']||[_0x52ecfa[_0x3b5cc9(0x176)]];_0x52ecfa[_0x3b5cc9(0x171)](_0x158cac[_0x3b5cc9(0x17c)](_0x52ecfa[_0x3b5cc9(0x15c)]),-0x1)&&(_0x158cac=_0x158cac['concat']([_0x52ecfa[_0x3b5cc9(0x15c)]]));const _0x4e117e=_0x52ecfa[_0x3b5cc9(0x171)](typeof _0x54eb6f[_0x3b5cc9(0x172)],_0x52ecfa['YYptm'])?_0x54eb6f[_0x3b5cc9(0x172)]:undefined,_0x231b0f={};_0x231b0f[_0x3b5cc9(0x16b)]=_0x4e117e;const _0x2649e2=Object['assign']({},_0x54eb6f[_0x3b5cc9(0x14c)],{'browserstack':Object[_0x3b5cc9(0x150)]({},_0x54eb6f[_0x3b5cc9(0x14c)]&&_0x54eb6f[_0x3b5cc9(0x14c)]['browserstack'],_0x231b0f)}),_0x2b88b0={};return _0x2b88b0['reporters']=_0x158cac,_0x2b88b0[_0x3b5cc9(0x14c)]=_0x2649e2,_0x54eb6f=Object[_0x3b5cc9(0x150)]({},_0x54eb6f,_0x2b88b0),_0x52ecfa['ydjdu'](limit,function(){const _0x2fbaec={'awIRg':function(_0x1586c8,_0x108800){const _0x403e90=a47_0x266a;return _0x23c9ed[_0x403e90(0x168)](_0x1586c8,_0x108800);},'RumKT':function(_0x1193bc,_0x3cba45){const _0x163fb6=a47_0x266a;return _0x23c9ed[_0x163fb6(0x167)](_0x1193bc,_0x3cba45);},'rlllR':function(_0x32d2f0,_0x41310c,_0x2ea22a){return _0x23c9ed['csMyD'](_0x32d2f0,_0x41310c,_0x2ea22a);},'HwEzU':function(_0x2f8213,_0x2d5f9e){return _0x23c9ed['QyGlI'](_0x2f8213,_0x2d5f9e);},'sTnbi':function(_0x367b00,_0x47e2f8,_0x306701){const _0x26f8d6=a47_0x266a;return _0x23c9ed[_0x26f8d6(0x17f)](_0x367b00,_0x47e2f8,_0x306701);}};return new Promise(function(_0x27c07e){const _0x58e5bb=a47_0x266a;_0x2fbaec[_0x58e5bb(0x149)](_0xb044e7,_0x54eb6f,function(_0x38c7cc,_0x306c2f){const _0x12fe9d=_0x58e5bb,_0x1de7d3=_0x306c2f&&_0x306c2f[_0x12fe9d(0x17d)]&&(_0x306c2f['run'][_0x12fe9d(0x16d)]||_0x306c2f[_0x12fe9d(0x17d)]['failures']&&_0x2fbaec[_0x12fe9d(0x14e)](_0x306c2f[_0x12fe9d(0x17d)]['failures'][_0x12fe9d(0x164)],0x0));_0x2fbaec[_0x12fe9d(0x156)](_0x1de7d3,_0x38c7cc)&&(hasFailure=!![]),_0x1275c6&&_0x2fbaec[_0x12fe9d(0x15e)](_0x1275c6,_0x38c7cc,_0x306c2f),_0x2fbaec['HwEzU'](_0x27c07e,_0x306c2f);});});});},wrappedNewman;};async function main(){const _0x579be0=a47_0x408321,_0x49512b={'LGBfh':function(_0xa7f592,_0x3cd04c){return _0xa7f592(_0x3cd04c);},'NeHNj':function(_0x1b33d5,_0x22ed7c){return _0x1b33d5+_0x22ed7c;},'lOzhe':'[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20'};try{await BrowserstackCLI[_0x579be0(0x17a)]()[_0x579be0(0x15f)]();}catch(_0x14148d){}try{_0x49512b['LGBfh'](require,path[_0x579be0(0x16c)](scriptFile));}catch(_0x552978){process[_0x579be0(0x175)]['write'](_0x49512b['NeHNj'](_0x49512b[_0x579be0(0x151)](_0x49512b['lOzhe'],_0x552978[_0x579be0(0x152)]||_0x552978),'\x0a')),process[_0x579be0(0x163)]=0x1;}}main(),process['on'](a47_0x408321(0x16e),function(){const _0xd875bf=a47_0x408321;hasFailure&&(process[_0xd875bf(0x163)]=0x1);}),process['on'](a47_0x408321(0x14f),function(){const _0x4bedd9=a47_0x408321,_0x4800db={};_0x4800db[_0x4bedd9(0x17b)]=function(_0x922e3c,_0x529d2d){return _0x922e3c===_0x529d2d;};const _0x3c152a=_0x4800db;hasFailure&&_0x3c152a[_0x4bedd9(0x17b)](process[_0x4bedd9(0x163)],0x0)&&(process[_0x4bedd9(0x163)]=0x1);});