browserstack-node-sdk 1.63.2 → 1.63.3

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 (218) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  56. package/src/bin/jasmine/command.js +1 -1
  57. package/src/bin/jasmine/test.setup.js +1 -1
  58. package/src/bin/jasmine/testRunMap.js +1 -1
  59. package/src/bin/jest/command.js +1 -1
  60. package/src/bin/jest/customImplements/customCircus.js +1 -1
  61. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  62. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  63. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  64. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  65. package/src/bin/jest/jest.setup.js +1 -1
  66. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  67. package/src/bin/jest/test-observability/helper.js +1 -1
  68. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  69. package/src/bin/jest/test-observability/test-details.js +1 -1
  70. package/src/bin/jest/test.setup.js +1 -1
  71. package/src/bin/jest/test_before.setup.js +1 -1
  72. package/src/bin/launcher/launcher.js +1 -1
  73. package/src/bin/load/index.js +1 -1
  74. package/src/bin/load/loadErrors.js +1 -1
  75. package/src/bin/load/loadUtils.js +1 -1
  76. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  77. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  78. package/src/bin/mocha/command.js +1 -1
  79. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  80. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  81. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  82. package/src/bin/mocha/test.setup.js +1 -1
  83. package/src/bin/newman/command.js +1 -1
  84. package/src/bin/newman/helper.js +1 -1
  85. package/src/bin/newman/reporter/index.js +1 -1
  86. package/src/bin/newman/scriptRunner.js +1 -1
  87. package/src/bin/nightwatch/command.js +1 -1
  88. package/src/bin/playwright/accessibility-helper.js +1 -1
  89. package/src/bin/playwright/command.js +1 -1
  90. package/src/bin/playwright/globalSetup.js +1 -1
  91. package/src/bin/playwright/mock-process.js +1 -1
  92. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  93. package/src/bin/playwright/patches.js +1 -1
  94. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  95. package/src/bin/playwright/reporter/reporter.js +1 -1
  96. package/src/bin/playwright/reporter/test-details.js +1 -1
  97. package/src/bin/playwright/sessionDetails.js +1 -1
  98. package/src/bin/puppeteer/patches.js +1 -1
  99. package/src/bin/puppeteer/sessionDetails.js +1 -1
  100. package/src/bin/puppeteer/test.setup.js +1 -1
  101. package/src/bin/runner.js +1 -1
  102. package/src/bin/setup.js +1 -1
  103. package/src/bin/test-runner/index.js +1 -1
  104. package/src/bin/test-runner/runTest.js +1 -1
  105. package/src/bin/test-runner/testWorker.js +1 -1
  106. package/src/bin/testcafe/a11y-runner.js +1 -1
  107. package/src/bin/testcafe/command.js +1 -1
  108. package/src/bin/testcafe/reporter/index.js +1 -1
  109. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  110. package/src/bin/testcafe/session-registry.js +1 -1
  111. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  112. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  113. package/src/bin/testcafe/w3c-driver.js +1 -1
  114. package/src/bin/utils/apiUtilityMethods.js +1 -1
  115. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  116. package/src/bin/utils/constants.js +1 -1
  117. package/src/bin/utils/log4jsAppender.js +1 -1
  118. package/src/bin/utils/logPatcher.js +1 -1
  119. package/src/bin/utils/logReportingAPI.js +1 -1
  120. package/src/bin/utils/playwright-patcher.js +1 -1
  121. package/src/bin/utils/puppeteer-patcher.js +1 -1
  122. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  123. package/src/bin/utils/sharedUtils.js +1 -1
  124. package/src/bin/v2/TestInfo.js +1 -1
  125. package/src/bin/v2/browserstackCLI.js +1 -1
  126. package/src/bin/v2/cliUtils.js +1 -1
  127. package/src/bin/v2/customTagManager.js +1 -1
  128. package/src/bin/v2/eventDispatcher.js +1 -1
  129. package/src/bin/v2/framework/automationFramework.js +1 -1
  130. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  131. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  132. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  133. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  134. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  135. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  136. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  137. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  138. package/src/bin/v2/framework/testFramework.js +1 -1
  139. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  140. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  141. package/src/bin/v2/grpcClient.js +1 -1
  142. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  143. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  144. package/src/bin/v2/instances/trackedContext.js +1 -1
  145. package/src/bin/v2/instances/trackedInstance.js +1 -1
  146. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  147. package/src/bin/v2/modules/baseModule.js +1 -1
  148. package/src/bin/v2/modules/loadTestModule.js +1 -1
  149. package/src/bin/v2/modules/observabilityModule.js +1 -1
  150. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  151. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  152. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  153. package/src/bin/v2/modules/testhubModule.js +1 -1
  154. package/src/bin/v2/sdkErrorHandler.js +1 -1
  155. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  156. package/src/bin/v2/state/hookState.js +1 -1
  157. package/src/bin/v2/state/testFrameworkState.js +1 -1
  158. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  159. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  160. package/src/bin/v2/utils/jest-utils.js +1 -1
  161. package/src/bin/vanilla-js/command.js +1 -1
  162. package/src/browserStackSdk.js +1 -1
  163. package/src/helpers/BrowserStackSetup.js +1 -1
  164. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  165. package/src/helpers/accessibility-automation/constants.js +1 -1
  166. package/src/helpers/accessibility-automation/helper.js +1 -1
  167. package/src/helpers/accessibility-automation/scripts.js +1 -1
  168. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  169. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  170. package/src/helpers/ats/constants.js +1 -1
  171. package/src/helpers/ats/helper.js +1 -1
  172. package/src/helpers/caCertHelper.js +1 -1
  173. package/src/helpers/capsMapping.js +1 -1
  174. package/src/helpers/central-scanner/constants.js +1 -1
  175. package/src/helpers/central-scanner/helpers.js +1 -1
  176. package/src/helpers/classLogger.js +1 -1
  177. package/src/helpers/driverInitErrorReporter.js +1 -1
  178. package/src/helpers/globals.js +1 -1
  179. package/src/helpers/helper.js +1 -1
  180. package/src/helpers/logger.js +1 -1
  181. package/src/helpers/metadata.js +1 -1
  182. package/src/helpers/patchHelper.js +1 -1
  183. package/src/helpers/patchHelpers.js +1 -1
  184. package/src/helpers/percy/Percy.js +1 -1
  185. package/src/helpers/percy/PercyBinary.js +1 -1
  186. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  187. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  188. package/src/helpers/percy/PercySDK.js +1 -1
  189. package/src/helpers/percy/index.js +1 -1
  190. package/src/helpers/percy/utils.js +1 -1
  191. package/src/helpers/performance/constants.js +1 -1
  192. package/src/helpers/performance/performance-tester.js +1 -1
  193. package/src/helpers/playwright-helper.js +1 -1
  194. package/src/helpers/processHelper.js +1 -1
  195. package/src/helpers/puppeteer-helper.js +1 -1
  196. package/src/helpers/request-spy.js +1 -1
  197. package/src/helpers/setKeepAlive.js +1 -1
  198. package/src/helpers/stackFrameUtils.js +1 -1
  199. package/src/helpers/test-observability/constants.js +1 -1
  200. package/src/helpers/test-observability/error-handler.js +1 -1
  201. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  202. package/src/helpers/test-observability/sessionHandler.js +1 -1
  203. package/src/helpers/test-observability/utils.js +1 -1
  204. package/src/helpers/test-orchestration/constants.js +1 -1
  205. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  206. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  207. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  208. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  209. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  210. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  211. package/src/helpers/testhub/constants.js +1 -1
  212. package/src/helpers/testhub/testhubHandler.js +1 -1
  213. package/src/helpers/testhub/utils.js +1 -1
  214. package/src/helpers/timeoutPromise.js +1 -1
  215. package/src/helpers/utilities.js +1 -1
  216. package/src/helpers/w3cMapping.js +1 -1
  217. package/src/hubAllocationMethods.js +1 -1
  218. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a41_0x4f38c4=a41_0x5c90;(function(_0x533c48,_0x23807b){const _0x5ecf7f=a41_0x5c90,_0x2c40f1=_0x533c48();while(!![]){try{const _0x1585af=parseInt(_0x5ecf7f(0x14a))/0x1*(-parseInt(_0x5ecf7f(0xbb))/0x2)+parseInt(_0x5ecf7f(0x8a))/0x3+-parseInt(_0x5ecf7f(0xe0))/0x4+parseInt(_0x5ecf7f(0x8d))/0x5+parseInt(_0x5ecf7f(0xff))/0x6*(parseInt(_0x5ecf7f(0xcf))/0x7)+parseInt(_0x5ecf7f(0x10b))/0x8*(-parseInt(_0x5ecf7f(0x9d))/0x9)+-parseInt(_0x5ecf7f(0xfb))/0xa*(-parseInt(_0x5ecf7f(0x12a))/0xb);if(_0x1585af===_0x23807b)break;else _0x2c40f1['push'](_0x2c40f1['shift']());}catch(_0x5e4c50){_0x2c40f1['push'](_0x2c40f1['shift']());}}}(a41_0x1678,0x4c680));const util=require(a41_0x4f38c4(0x121)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a41_0x4f38c4(0x14b)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a41_0x4f38c4(0x99)),{percyAutoCapture}=require(a41_0x4f38c4(0xd4)),{sendPlatformDetails}=require(a41_0x4f38c4(0x13b)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require('../../helpers/performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a41_0x4f38c4(0x140)),globals=require('../../helpers/globals'),logger=require(a41_0x4f38c4(0x95))[a41_0x4f38c4(0xb5)],{shouldProcessEventForTesthub}=require(a41_0x4f38c4(0x116)),testHubConstants=require('../../helpers/testhub/constants');try{require(a41_0x4f38c4(0x13c))[a41_0x4f38c4(0xde)](a41_0x4f38c4(0x9e));}catch(a41_0xf37809){logger['debug'](a41_0x4f38c4(0x13f)+(a41_0xf37809&&a41_0xf37809[a41_0x4f38c4(0x124)]));}function a41_0x5c90(_0xacfda6,_0x33c634){const _0x167825=a41_0x1678();return a41_0x5c90=function(_0x5c90bd,_0x3ecaf2){_0x5c90bd=_0x5c90bd-0x83;let _0x38f843=_0x167825[_0x5c90bd];return _0x38f843;},a41_0x5c90(_0xacfda6,_0x33c634);}function a41_0x1678(){const _0x3b76c3=['oNBVH','zlvBK','session_','driverCleanup','umPyZ','yUGeg','xRkTt','VVady','ObservabilitySync:','1760270NcANPq','vdWoJ','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','WuqfC','34014yfAiCo','accessibilityScanStarted','\x20|\x20','performScanWithRetry','flkTC','cDDNJ','owqhV','now','SYNC','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','__platformCaps','__error_messages__','16OSYRDU','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','tbroW','bstackA11yScanOptions','SESSION_NAME','beforeAll','lSMdO','capabilities','qzeBq','oGjXy','SESSION_STATUS','../../helpers/testhub/utils','vzfPZ','UIqAd','ENV_VAR','percyCaptureMode','EJhnI','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','err','__drivers','info','MLFEZ','util','FUGps','app','message','SAVE_RESULTS','GtTVB','Accessibility\x20scan\x20completed\x20successfully','AvUFi','TgLeQ','44JgPVRf','zKHay','isArray','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','start','punYU','ZmbKW','format','Failed\x20to\x20store\x20session\x20name:\x20','timeout','YPbsw','HysjY','iGBMv','shift','__sessionFailed','FYVcY','measureWrapper','./test-observability/mochaUtils','../../helpers/driverInitErrorReporter','getGlobal','env','driver-init\x20capture\x20install\x20failed:\x20','../../helpers/performance/constants','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','cGrwY','cAeCO','BROWSERSTACK_TESTHUB_JWT','UWIHJ','Automate\x20test\x20case\x20execution\x20has\x20started.','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','sessionNameSet__','bkghQ','3JmlFFy','../../helpers/accessibility-automation/accessibilityRetryHelper','http:','TxbAB','gZAbZ','BROWSERSTACK_TESTHUB_UUID','uaNVp','YLfmi','LfSZv','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','1102425tlkIKy','EjJRB','__skipSessionName','594175OMCMys','EFBIa','BUsYo','bstackA11yShouldScan','thBuildUuid','BurxY','testAnalyticsId','browserstackTestName','../../helpers/logger','\x20-\x20','azlUA','EZmRf','../utils/constants','finally','VTxaI','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','2388942YubPdK','mocha','Failed:\x20','parse','protocol','xeaIb','OhKjc','vsLCd','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','LoAgU','browserstackSessionName','command','eovZD','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','sBhgL','saveAccessibilityResultsWithRetry','end','xvfGr','PERFORM_SCAN','testcase','uSxoJ','join','then','PZfXO','winstonLogger','IcEVT','adKLE','initQuit','ESJTk','bIAfP','355678LMmAXK','push','YFxjM','afterTest','ZonwL','Passed','ipnSI','oXdqJ','thTestRunUuid','SPEEP','hJofe','startMonitoring','NvdPV','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','stringify','kxVeA','shouldScanTestForAccessibility','dqMNk','eBPyG','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','357dBJXZi','SDK_HOOK','setGlobal','index','UlAUi','../../helpers/percy/utils','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','\x22}}','currentTest','titlePath','WQxsY','nXkPC','bzJLk','afterAll','dZrpj','installAll','jluAm','408736ssfxYU','isAccessibilityPlatform','autoScanning','dnvnH','Mocha','appium:app','kdcSv','nGPKI','sessionName','OyIZU','AvfBm','DCCQI','oIamc','nwbvk','Aonbq','length','yBsXa','debug'];a41_0x1678=function(){return _0x3b76c3;};return a41_0x1678();}exports['mochaHooks']={'beforeAll'(){const _0x1773e7=a41_0x4f38c4,_0x2e87b7={'NvdPV':function(_0x497809,_0x5bd429,_0x2b109c,_0x15de80){return _0x497809(_0x5bd429,_0x2b109c,_0x15de80);},'tpNDi':'failed','EjJRB':_0x1773e7(0x101),'WuqfC':function(_0x2a646d,_0x284e8f,_0x6f8aec){return _0x2a646d(_0x284e8f,_0x6f8aec);},'VmmWt':'passed','TxbAB':function(_0x337123){return _0x337123();},'uaNVp':function(_0x5b452c,_0x2daf2f,_0x3c473f){return _0x5b452c(_0x2daf2f,_0x3c473f);},'yBsXa':_0x1773e7(0xd2),'ESJTk':_0x1773e7(0x110)};PerformanceTester[_0x1773e7(0xc6)]();const _0x3ec1db='browserstack internal helper hook';PerformanceTester[_0x1773e7(0x13a)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x4acbd9=_0x1773e7;global[_0x4acbd9(0x10a)]=[],global[_0x4acbd9(0x138)]=![],global[_0x4acbd9(0xf5)]=async()=>{const _0x431b8d=_0x4acbd9;let _0x1231d6=![];try{await global[_0x431b8d(0x11e)][0x0][_0x431b8d(0xf4)],_0x1231d6=!![],global[_0x431b8d(0x138)]?await _0x2e87b7[_0x431b8d(0xc7)](markSessionStatus,global[_0x431b8d(0x11e)][0x0],_0x2e87b7['tpNDi'],global[_0x431b8d(0x10a)]['join'](_0x2e87b7[_0x431b8d(0x8b)])):await _0x2e87b7[_0x431b8d(0xfe)](markSessionStatus,global[_0x431b8d(0x11e)][0x0],_0x2e87b7['VmmWt']);}catch(_0x96863a){logger['debug'](_0x431b8d(0xce)+_0x96863a);}global[_0x431b8d(0x10a)]=[],global[_0x431b8d(0x138)]=![];if(_0x1231d6)try{try{_0x2e87b7[_0x431b8d(0x14d)](shouldProcessEventForTesthub)&&(global[_0x431b8d(0x11e)][0x0]&&await _0x2e87b7[_0x431b8d(0xfe)](sendPlatformDetails,global[_0x431b8d(0x11e)][0x0],this[_0x431b8d(0xd7)]?this[_0x431b8d(0xd7)]['testAnalyticsId']:null));}catch(_0x492da1){logger[_0x431b8d(0xf1)](_0x431b8d(0x147)+_0x492da1);}await global[_0x431b8d(0x11e)][0x0][_0x431b8d(0xb8)]();}catch(_0x3c614f){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x3c614f);}};},{'platform':_0x2e87b7[_0x1773e7(0x85)](nestedKeyValue,global['__platformCaps'],[_0x2e87b7[_0x1773e7(0xf0)]]),'hookType':_0x2e87b7[_0x1773e7(0xb9)]})();},'beforeEach'(_0x19931b){const _0x347e76=a41_0x4f38c4,_0x5bba80={'eovZD':function(_0x5290b5,_0x27503c){return _0x5290b5>_0x27503c;},'jluAm':_0x347e76(0x96),'DCCQI':function(_0x57935e,_0x37fde7,_0x552320){return _0x57935e(_0x37fde7,_0x552320);},'dZrpj':function(_0x1b45c6,_0x2a3a0e){return _0x1b45c6===_0x2a3a0e;},'CmecC':_0x347e76(0x90),'xxeau':_0x347e76(0x10e),'kxVeA':function(_0x2f8cbe){return _0x2f8cbe();},'kkMGb':_0x347e76(0xe1),'UlAUi':_0x347e76(0x14c),'GtTVB':'https:','bzJLk':_0x347e76(0x10c),'dqMNk':_0x347e76(0x146),'oNBVH':function(_0x3d884d){return _0x3d884d();},'oqnRT':_0x347e76(0x94),'vsLCd':function(_0x452014,_0x548be9,_0x4e1683){return _0x452014(_0x548be9,_0x4e1683);},'ZqQHV':_0x347e76(0xd2),'ZmbKW':'beforeEach'};globals['setGlobal'](_0x5bba80['oqnRT'],this[_0x347e76(0xd7)]['titlePath']()[_0x347e76(0xb2)](_0x5bba80[_0x347e76(0xdf)])),PerformanceTester[_0x347e76(0x13a)](PerformanceSdkEvents[_0x347e76(0xd0)],()=>{const _0x77959d=_0x347e76,_0x47da06={'WQxsY':function(_0x5edf0f,_0x88341b){const _0xce68f1=a41_0x5c90;return _0x5bba80[_0xce68f1(0xa9)](_0x5edf0f,_0x88341b);},'MpRlw':function(_0x3a870e,_0x1f4d77){const _0x2a174b=a41_0x5c90;return _0x5bba80[_0x2a174b(0xa9)](_0x3a870e,_0x1f4d77);},'lSMdO':_0x5bba80[_0x77959d(0xdf)],'gZAbZ':function(_0x375d2d,_0xfd9523,_0x72303e){const _0xe487c6=_0x77959d;return _0x5bba80[_0xe487c6(0xeb)](_0x375d2d,_0xfd9523,_0x72303e);},'FUGps':function(_0x32dde2,_0x5446b4){const _0x2723f0=_0x77959d;return _0x5bba80[_0x2723f0(0xdd)](_0x32dde2,_0x5446b4);},'AvUFi':_0x5bba80['CmecC'],'dnvnH':_0x5bba80['xxeau'],'cnDmW':function(_0x372d1a){const _0x4f31cd=_0x77959d;return _0x5bba80[_0x4f31cd(0xca)](_0x372d1a);},'Aonbq':function(_0xc9b63,_0x17b9cb){const _0x2efac5=_0x77959d;return _0x5bba80[_0x2efac5(0xa9)](_0xc9b63,_0x17b9cb);},'bKjFg':_0x5bba80['kkMGb'],'BurxY':_0x5bba80[_0x77959d(0xd3)],'oXdqJ':_0x5bba80[_0x77959d(0x126)],'sBhgL':_0x5bba80[_0x77959d(0xdb)],'UWIHJ':_0x5bba80[_0x77959d(0xcc)],'OyIZU':function(_0x65f30b){const _0x7c82ac=_0x77959d;return _0x5bba80[_0x7c82ac(0xca)](_0x65f30b);},'mNhnN':function(_0x52559b){const _0x5e5b88=_0x77959d;return _0x5bba80[_0x5e5b88(0xf2)](_0x52559b);}},_0x5186c9='browserstack internal helper hook';new Promise(async _0x121c15=>{const _0x19ba42=_0x77959d;let _0x20e82d=!![];try{_0x47da06[_0x19ba42(0xd9)](global[_0x19ba42(0x11e)][_0x19ba42(0xef)],0x1)&&(await global[_0x19ba42(0xf5)](),global['__drivers'][_0x19ba42(0x137)]()),_0x47da06['MpRlw'](global[_0x19ba42(0x11e)][0x0]['quitCount_'],0x0)&&(_0x20e82d=![],await global[_0x19ba42(0xf5)]());}catch(_0x45057e){logger[_0x19ba42(0xf1)](_0x19ba42(0xfd)+_0x45057e);}try{Array[_0x19ba42(0x12c)](global[_0x19ba42(0x11e)])&&global[_0x19ba42(0x11e)][0x0]&&(global[_0x19ba42(0x11e)][0x0]['browserstackSessionName']=this['currentTest'][_0x19ba42(0xd8)]()[_0x19ba42(0xb2)](_0x47da06['lSMdO'])),global[_0x19ba42(0xa7)]=this[_0x19ba42(0xd7)][_0x19ba42(0xd8)]()['join'](_0x47da06[_0x19ba42(0x111)]);}catch(_0xa278ee){logger['debug'](_0x19ba42(0x132)+_0xa278ee);}this['currentTest']['shouldScanTestForAccessibility']=_0x47da06[_0x19ba42(0x83)](shouldScanTestForAccessibility,this[_0x19ba42(0xd7)][_0x19ba42(0xd8)](),!![]);let _0x120045=!![];try{const _0x52e36e=JSON[_0x19ba42(0xa0)](process[_0x19ba42(0x13e)][_0x19ba42(0x12d)]||'{}');_0x47da06[_0x19ba42(0x122)](_0x52e36e[_0x19ba42(0xe2)],![])&&(_0x120045=![]);}catch(_0x385680){logger[_0x19ba42(0xf1)](_0x19ba42(0x9c)+_0x385680['message']);}const _0x1007ef=_0x120045&&this[_0x19ba42(0xd7)][_0x19ba42(0xcb)];globals['setGlobal'](_0x47da06[_0x19ba42(0x128)],_0x1007ef),globals[_0x19ba42(0xd1)](_0x47da06[_0x19ba42(0xe3)],null),this['currentTest'][_0x19ba42(0x100)]=this['currentTest'][_0x19ba42(0xcb)];if(_0x47da06['cnDmW'](isAccessibilityAutomationSession)&&_0x20e82d&&Array[_0x19ba42(0x12c)](global[_0x19ba42(0x11e)])&&_0x47da06[_0x19ba42(0xee)](global[_0x19ba42(0x11e)]['length'],0x0)&&globals[_0x19ba42(0x13d)](_0x47da06['bKjFg']))try{const _0xa9feef=await global[_0x19ba42(0x11e)][0x0][_0x19ba42(0xf4)];if(_0xa9feef){let _0x255171=!![];const _0x3613c5=await global[_0x19ba42(0x11e)][0x0]['getCurrentUrl']();let _0x2391ca;try{_0x2391ca=new URL(_0x3613c5),_0x255171=_0x47da06[_0x19ba42(0x122)](_0x2391ca[_0x19ba42(0xa1)],_0x47da06[_0x19ba42(0x92)])||_0x47da06[_0x19ba42(0x122)](_0x2391ca[_0x19ba42(0xa1)],_0x47da06[_0x19ba42(0xc2)]);}catch(_0x4b641d){_0x255171=![];}_0x255171&&(this[_0x19ba42(0xd7)]['shouldScanTestForAccessibility']&&logger['info'](_0x47da06[_0x19ba42(0xab)])),this[_0x19ba42(0xd7)]['accessibilityScanStarted']=this[_0x19ba42(0xd7)][_0x19ba42(0xcb)],_0x1007ef&&logger[_0x19ba42(0x11f)](_0x47da06[_0x19ba42(0x145)]);}}catch(_0x23c314){logger['error'](_0x19ba42(0x108)+util[_0x19ba42(0x131)](_0x23c314));}_0x47da06[_0x19ba42(0xe9)](_0x121c15);})['then'](()=>{_0x47da06['mNhnN'](_0x19931b);});},{'platform':_0x5bba80[_0x347e76(0xa4)](nestedKeyValue,global[_0x347e76(0x109)],[_0x5bba80['ZqQHV']]),'hookType':_0x5bba80[_0x347e76(0x130)]})();},'afterEach'(_0x306d72){const _0x59245f=a41_0x4f38c4,_0x300956={'OhKjc':function(_0x2ec7c7){return _0x2ec7c7();},'vdWoJ':'\x20-\x20','oIamc':function(_0x39128c,_0x31b853){return _0x39128c!==_0x31b853;},'EFBIa':'passed','zKHay':function(_0x110413,_0x31f5c7,_0xb22a1e){return _0x110413(_0x31f5c7,_0xb22a1e);},'sqsmy':function(_0x33a85c,_0xa46d0){return _0x33a85c+_0xa46d0;},'eBPyG':_0x59245f(0x9f),'nXkPC':'error','tbroW':_0x59245f(0xc0),'SPEEP':_0x59245f(0x11f),'ZonwL':function(_0x2a9150,_0x32c27f){return _0x2a9150>_0x32c27f;},'YFxjM':function(_0x18f0d8,_0x4a97c1){return _0x18f0d8===_0x4a97c1;},'VVady':_0x59245f(0xb0),'xvfGr':_0x59245f(0xe5),'punYU':function(_0x1e6a45,_0x5e1a15,_0x4ff2bc,_0x57df66){return _0x1e6a45(_0x5e1a15,_0x4ff2bc,_0x57df66);},'kdcSv':_0x59245f(0xe1),'eGkRm':_0x59245f(0xaa),'iGBMv':'bstackA11yShouldScan','VTxaI':_0x59245f(0x88),'LfSZv':_0x59245f(0xbe),'hJofe':_0x59245f(0x127),'DcAmZ':'Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','zlvBK':_0x59245f(0x89),'nGPKI':'Accessibility\x20results\x20saved\x20successfully','EZmRf':_0x59245f(0xc8),'oGjXy':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','xeaIb':function(_0x5b3365){return _0x5b3365();},'EJhnI':_0x59245f(0xf1),'qzeBq':function(_0x526191,_0x3221fe){return _0x526191>_0x3221fe;},'MLFEZ':function(_0x4d01be){return _0x4d01be();},'PZfXO':_0x59245f(0xe4),'iVOFV':function(_0x3148f9,_0x58d788,_0x5e6e1f){return _0x3148f9(_0x58d788,_0x5e6e1f);},'bkghQ':_0x59245f(0xd2),'azlUA':'afterEach'},_0x14032a='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x300956[_0x59245f(0xb4)]]),global[_0x59245f(0xe8)]=this['currentTest'][_0x59245f(0xd8)]()[_0x59245f(0xb2)](_0x300956[_0x59245f(0xfc)]),PerformanceTester[_0x59245f(0x13a)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x3c6abe=_0x59245f,_0x50a121={'SHtjh':_0x300956['vdWoJ'],'IcEVT':function(_0x1b0908,_0x1262f3){const _0x5158fd=a41_0x5c90;return _0x300956[_0x5158fd(0xec)](_0x1b0908,_0x1262f3);},'BUsYo':_0x300956[_0x3c6abe(0x8e)],'ipnSI':function(_0x5f7034,_0x288a77,_0x59da94){const _0x561655=_0x3c6abe;return _0x300956[_0x561655(0x12b)](_0x5f7034,_0x288a77,_0x59da94);},'ChvcS':function(_0x141f53,_0x232fc5){return _0x300956['sqsmy'](_0x141f53,_0x232fc5);},'uSxoJ':_0x300956[_0x3c6abe(0xcd)],'YPbsw':_0x300956[_0x3c6abe(0xda)],'flkTC':_0x300956[_0x3c6abe(0x10d)],'vzfPZ':_0x300956[_0x3c6abe(0xc4)],'LoAgU':function(_0xe83ea3,_0x1f52ac){const _0x5b5238=_0x3c6abe;return _0x300956[_0x5b5238(0xbf)](_0xe83ea3,_0x1f52ac);},'AvfBm':function(_0x27d8bf,_0x3c3514){const _0x55a73a=_0x3c6abe;return _0x300956[_0x55a73a(0xbd)](_0x27d8bf,_0x3c3514);},'nwbvk':_0x300956[_0x3c6abe(0xf9)],'cAeCO':_0x300956[_0x3c6abe(0xae)],'GArKE':function(_0x58a050,_0x572212,_0x2f8731,_0x4c6414){const _0x3d85db=_0x3c6abe;return _0x300956[_0x3d85db(0x12f)](_0x58a050,_0x572212,_0x2f8731,_0x4c6414);},'UIqAd':_0x300956[_0x3c6abe(0xe6)],'oZODd':_0x300956['eGkRm'],'xRkTt':_0x300956[_0x3c6abe(0x136)],'TmAux':_0x300956[_0x3c6abe(0x9b)],'owqhV':_0x300956[_0x3c6abe(0x87)],'zJePI':_0x300956[_0x3c6abe(0xc5)],'cDDNJ':_0x300956['DcAmZ'],'wVzfY':_0x300956[_0x3c6abe(0xf3)],'umPyZ':_0x300956[_0x3c6abe(0xe7)],'bIAfP':_0x300956[_0x3c6abe(0x98)],'LPqVx':_0x300956[_0x3c6abe(0x114)],'LgsHu':function(_0x39e626){const _0x5c1a3e=_0x3c6abe;return _0x300956[_0x5c1a3e(0xa2)](_0x39e626);},'YLfmi':_0x300956[_0x3c6abe(0x11b)],'yUGeg':function(_0x151bdf,_0x47a305){const _0x278308=_0x3c6abe;return _0x300956[_0x278308(0x113)](_0x151bdf,_0x47a305);},'adKLE':function(_0x2bc9b0){const _0x24b90a=_0x3c6abe;return _0x300956[_0x24b90a(0x120)](_0x2bc9b0);}},_0x56e7f5=async(_0x4fd852,_0xfdccaf)=>{const _0x28ffac=_0x3c6abe;await global['__drivers'][0x0]['executeScript'](_0x28ffac(0xa5)+_0x4fd852+',\x22level\x22:\x20\x22'+_0xfdccaf+_0x28ffac(0xd6));};new Promise(async _0x1e66af=>{const _0x48be22=_0x3c6abe;try{_0x50a121[_0x48be22(0xa6)](global['__drivers'][_0x48be22(0xef)],0x1)&&(await global[_0x48be22(0xf5)](),global[_0x48be22(0x11e)]['shift'](),global[_0x48be22(0x10a)]=[],global[_0x48be22(0x138)]=![]);try{if(global['percy']&&_0x50a121[_0x48be22(0xea)](global[_0x48be22(0x11a)],_0x50a121[_0x48be22(0xed)])&&global[_0x48be22(0x11e)][0x0]){const _0x5a796d=_0x50a121[_0x48be22(0xa6)](global[_0x48be22(0x112)][_0x48be22(0xef)],0x0)?!!global[_0x48be22(0x112)][0x0]['app']||!!global[_0x48be22(0x112)][0x0][_0x50a121[_0x48be22(0x143)]]:![],_0xef3193={};_0xef3193[_0x48be22(0x123)]=_0x5a796d,await _0x50a121['GArKE'](percyAutoCapture,global[_0x48be22(0x11e)][0x0],_0x50a121[_0x48be22(0xed)],_0xef3193);}}catch(_0x2f4451){logger[_0x48be22(0xf1)]('Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20'+_0x2f4451);}!global[_0x48be22(0x8c)]&&(await PerformanceTester[_0x48be22(0x13a)](PerformanceAutEvents[_0x48be22(0x10f)],async()=>{const _0x307ba0=_0x48be22;await global[_0x307ba0(0x11e)][0x0]['executeScript'](_0x307ba0(0x11c)+JSON[_0x307ba0(0xc9)](this[_0x307ba0(0xd7)][_0x307ba0(0xd8)]()['join'](_0x50a121['SHtjh']))+'}}');})(),global[_0x48be22(0x11e)][0x0][_0x48be22(0x148)]=!![]),await PerformanceTester[_0x48be22(0x13a)](PerformanceAutEvents[_0x48be22(0x115)],async()=>{const _0x5b7ae8=_0x48be22,_0x153c82=_0x50a121[_0x5b7ae8(0xb6)](this[_0x5b7ae8(0xd7)]['state'],_0x50a121[_0x5b7ae8(0x8f)]);_0x153c82?(global[_0x5b7ae8(0x138)]=!![],global[_0x5b7ae8(0x10a)][_0x5b7ae8(0xbc)](this[_0x5b7ae8(0xd7)][_0x5b7ae8(0x11d)][_0x5b7ae8(0x124)]),await _0x50a121[_0x5b7ae8(0xc1)](_0x56e7f5,JSON[_0x5b7ae8(0xc9)](_0x50a121['ChvcS'](_0x50a121[_0x5b7ae8(0xb1)],this[_0x5b7ae8(0xd7)][_0x5b7ae8(0x11d)][_0x5b7ae8(0x124)])),_0x50a121[_0x5b7ae8(0x134)])):await _0x50a121[_0x5b7ae8(0xc1)](_0x56e7f5,JSON['stringify'](_0x50a121[_0x5b7ae8(0x103)]),_0x50a121[_0x5b7ae8(0x117)]);})();}catch(_0x35e3ed){logger[_0x48be22(0xf1)]('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x35e3ed);}try{if(this[_0x48be22(0xd7)][_0x48be22(0x100)]&&globals[_0x48be22(0x13d)](_0x50a121[_0x48be22(0x118)])){logger[_0x48be22(0x11f)](_0x50a121['oZODd']);const _0x54d3a6={};_0x54d3a6[_0x48be22(0xc3)]=this[_0x48be22(0xd7)]['testAnalyticsId'],_0x54d3a6[_0x48be22(0x91)]=process[_0x48be22(0x13e)][testHubConstants[_0x48be22(0x119)][_0x48be22(0x84)]],_0x54d3a6['thJwtToken']=process['env'][testHubConstants[_0x48be22(0x119)][_0x48be22(0x144)]];const _0x21f885=_0x54d3a6;logger[_0x48be22(0xf1)](_0x48be22(0xd5)+JSON[_0x48be22(0xc9)](_0x21f885));if(globals[_0x48be22(0x13d)](_0x50a121[_0x48be22(0xf8)])){logger[_0x48be22(0xf1)](_0x50a121['TmAux']);const _0x438e3a={};_0x438e3a[_0x48be22(0xa8)]=_0x50a121[_0x48be22(0x105)];const _0x284b60=await PerformanceTester[_0x48be22(0x13a)](PerformanceA11yEvents[_0x48be22(0xaf)],async()=>{const _0x188688=_0x48be22;return await accessibilityRetryHelper[_0x188688(0x102)](global[_0x188688(0x11e)][0x0],global[_0x188688(0xa7)]);},_0x438e3a)();_0x284b60?logger[_0x48be22(0xf1)](_0x50a121['zJePI']):logger['warn'](_0x50a121[_0x48be22(0x104)]);}else logger['debug'](_0x50a121['wVzfY']);const _0x28bd80=await PerformanceTester[_0x48be22(0x13a)](PerformanceA11yEvents[_0x48be22(0x125)],async()=>{const _0x14b3be=_0x48be22;return await accessibilityRetryHelper[_0x14b3be(0xac)](global[_0x14b3be(0x11e)][0x0],_0x21f885);})();_0x28bd80?logger['debug'](_0x50a121[_0x48be22(0xf6)]):logger['warn'](_0x50a121[_0x48be22(0xba)]),logger[_0x48be22(0x11f)](_0x50a121['LPqVx']);}}catch(_0x3b0b7f){logger['error'](_0x48be22(0x141)+this[_0x48be22(0xd7)]['titlePath']()+'.\x20Error\x20:',_0x3b0b7f);}try{try{if(_0x50a121['LgsHu'](shouldProcessEventForTesthub)){global[_0x48be22(0x11e)][0x0]&&await _0x50a121['ipnSI'](sendPlatformDetails,global[_0x48be22(0x11e)][0x0],this[_0x48be22(0xd7)]?this['currentTest'][_0x48be22(0x93)]:null);if(_0x50a121['LgsHu'](isBrowserstackInfra)){PerformanceTester[_0x48be22(0x12e)](PerformanceO11yEvents[_0x48be22(0x107)]);const _0xa52660=_0x48be22(0xfa)+Date[_0x48be22(0x106)]();await _0x50a121[_0x48be22(0xc1)](_0x56e7f5,JSON['stringify'](_0xa52660),_0x50a121[_0x48be22(0x86)]),PerformanceTester[_0x48be22(0xad)](PerformanceO11yEvents[_0x48be22(0x107)]);}}}catch(_0x2b2500){logger[_0x48be22(0xf1)]('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x2b2500),PerformanceTester['end'](PerformanceO11yEvents['SYNC'],![],_0x2b2500);}_0x50a121[_0x48be22(0xf7)](global[_0x48be22(0x11e)][0x0]['quitCount_'],0x0)&&await global[_0x48be22(0xf5)]();}catch(_0x1df1b9){logger[_0x48be22(0xf1)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x1df1b9);}_0x50a121[_0x48be22(0xb7)](_0x1e66af);})[_0x3c6abe(0xb3)](()=>{const _0x5e1bd6=_0x3c6abe;_0x300956[_0x5e1bd6(0xa3)](_0x306d72);});},{'platform':_0x300956['iVOFV'](nestedKeyValue,global[_0x59245f(0x109)],[_0x300956[_0x59245f(0x149)]]),'hookType':_0x300956[_0x59245f(0x97)]})();},'afterAll'(_0x20c1b3){const _0x38021c=a41_0x4f38c4,_0x3a17e1={'FYVcY':function(_0x13ac67){return _0x13ac67();},'HysjY':'Mocha','TgLeQ':function(_0x5c3bf9,_0x63681b,_0x48e46e){return _0x5c3bf9(_0x63681b,_0x48e46e);},'cGrwY':_0x38021c(0xd2),'eqCNu':_0x38021c(0xdc)},_0x420062='browserstack internal helper hook';this[_0x38021c(0x133)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x3a17e1[_0x38021c(0x135)]]),PerformanceTester[_0x38021c(0x13a)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x80909=_0x38021c;new Promise(async _0x2517c3=>{await global['driverCleanup'](),_0x3a17e1['FYVcY'](_0x2517c3);})['then']()[_0x80909(0x9a)](()=>{const _0x5d216f=_0x80909;_0x3a17e1[_0x5d216f(0x139)](_0x20c1b3);});},{'platform':_0x3a17e1[_0x38021c(0x129)](nestedKeyValue,global['__platformCaps'],[_0x3a17e1[_0x38021c(0x142)]]),'hookType':_0x3a17e1['eqCNu']})();}};
1
+ const a41_0x3a8139=a41_0x55ed;(function(_0x2b9851,_0x365368){const _0x1b6c94=a41_0x55ed,_0x4a67a9=_0x2b9851();while(!![]){try{const _0x220a02=-parseInt(_0x1b6c94(0x174))/0x1+parseInt(_0x1b6c94(0x148))/0x2+parseInt(_0x1b6c94(0xf8))/0x3*(-parseInt(_0x1b6c94(0x19d))/0x4)+parseInt(_0x1b6c94(0x1b4))/0x5*(-parseInt(_0x1b6c94(0x128))/0x6)+parseInt(_0x1b6c94(0xf2))/0x7+parseInt(_0x1b6c94(0x146))/0x8+-parseInt(_0x1b6c94(0x13e))/0x9*(-parseInt(_0x1b6c94(0x14b))/0xa);if(_0x220a02===_0x365368)break;else _0x4a67a9['push'](_0x4a67a9['shift']());}catch(_0x343423){_0x4a67a9['push'](_0x4a67a9['shift']());}}}(a41_0x309e,0xe0a9d));function a41_0x55ed(_0x2fba29,_0x3f3a19){const _0x309e6b=a41_0x309e();return a41_0x55ed=function(_0x55ed12,_0x2f0b18){_0x55ed12=_0x55ed12-0xea;let _0x13ab42=_0x309e6b[_0x55ed12];return _0x13ab42;},a41_0x55ed(_0x2fba29,_0x3f3a19);}const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a41_0x3a8139(0x1ac)),accessibilityRetryHelper=require(a41_0x3a8139(0x123)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require('../utils/constants'),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a41_0x3a8139(0x129)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a41_0x3a8139(0xfd)),PerformanceTester=require(a41_0x3a8139(0x19a)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a41_0x3a8139(0x112)),globals=require(a41_0x3a8139(0x186)),logger=require(a41_0x3a8139(0x1b0))[a41_0x3a8139(0x18f)],{shouldProcessEventForTesthub}=require(a41_0x3a8139(0x111)),testHubConstants=require('../../helpers/testhub/constants');function a41_0x309e(){const _0x509411=['debug','env','thJwtToken','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','../../helpers/testhub/utils','../../helpers/performance/constants','Accessibility\x20results\x20saved\x20successfully','SESSION_NAME','mTOlX','cqDBw','PaHpL','lXKyn','iKhyF','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','ILTRP','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','end','Kjunj','UvAST','ZCRNb','Vdypi','stringify','../../helpers/accessibility-automation/accessibilityRetryHelper','orhzn','LUVbQ','getCurrentUrl','cDUXw','216012NXSkUb','./test-observability/mochaUtils','SESSION_STATUS','Mocha','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','bstackA11yShouldScan','ResCu','npsov','upuJU','__drivers','titlePath','http:','Ubbrq','__sessionFailed','Passed','startMonitoring','info','RpWQK','utXkf','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','quitCount_','NYrva','3365577jldHsc','lZTdc','prANx','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','mochaHooks','.\x20Error\x20:','ENV_VAR','jZRPj','7877096pEdQso','mVhhV','539664PohCft','XhmWx','wNdsW','90XmHuCU','heUWu','INjui','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','finally','VNpoV','timeout','protocol','VTkVl','now','kGZZT','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','performScanWithRetry','mocha','shouldScanTestForAccessibility','testAnalyticsId','__platformCaps','SKoVo','sxoPG','app','GEYbq','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','accessibilityScanStarted','beforeEach','command','length','iyaLH','setGlobal','beforeAll','XiUze','srSWE','LCXUd','browserstackSessionName','warn','izHkc','SDK_HOOK','isAccessibilityPlatform','BROWSERSTACK_TESTHUB_JWT','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','Automate\x20test\x20case\x20execution\x20has\x20started.','eMsyp','1613416ldxsBw','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','MlneJ','ZfruR','join','percyCaptureMode','installAll','JJwrg','PaysT','QBbqN','kMioq','BROWSERSTACK_TESTHUB_UUID','testcase','thTestRunUuid','NPUug','failed','Jwarw','../../helpers/globals','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','driverCleanup','aKTuE','afterEach','parse','OyYln','capabilities','err','winstonLogger','LWkuo','passed','HmcaA','oZQwZ','hsQzz','autoScanning','FscXx','LIOcE','laLYT','xGfoX','../../helpers/performance/performance-tester','push','appium:app','327672goXuUq','isArray','start','kCfaK','vwUyC','AzLOM','measureWrapper','aflRf','HWQZv','mnrTc','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','EUKRn','ncxTK','Vhkbo','juGLf','../../helpers/accessibility-automation/helper','hFuib','currentTest','thBuildUuid','../../helpers/logger','../../helpers/driverInitErrorReporter','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','sessionName','215DsppiN','pOgGZ','error','Accessibility\x20scan\x20completed\x20successfully','then','KBAAb','SAVE_RESULTS','IyYfD','afterTest','__skipSessionName','getGlobal','Abqzh','ZFUSh','QRUAs','sessionNameSet__','[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','iTfKh','eXqpB','6553407WmvQST','percy','browserstackTestName','GUkyE','executeScript','shift','54CSIMUB','OLIea','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','XgHrG','\x20|\x20','../../helpers/helper','XDYRn','index','vZwAz','SYNC','lThZI','session_','__error_messages__','OVqVP','xBpSy','IGjUa','message','Failed:\x20','CYAIP','Adadh','\x20-\x20'];a41_0x309e=function(){return _0x509411;};return a41_0x309e();}try{require(a41_0x3a8139(0x1b1))[a41_0x3a8139(0x17b)](a41_0x3a8139(0x158));}catch(a41_0x26d7fd){logger['debug']('driver-init\x20capture\x20install\x20failed:\x20'+(a41_0x26d7fd&&a41_0x26d7fd[a41_0x3a8139(0x108)]));}exports[a41_0x3a8139(0x142)]={'beforeAll'(){const _0x306c06=a41_0x3a8139,_0x58dd48={'ZfruR':function(_0x3a676e,_0x1ca34d,_0xaa3394,_0x46db18){return _0x3a676e(_0x1ca34d,_0xaa3394,_0x46db18);},'orhzn':_0x306c06(0x184),'mytEX':_0x306c06(0xfc),'HWQZv':function(_0x57c69d,_0x1e18b8,_0x354387){return _0x57c69d(_0x1e18b8,_0x354387);},'NPUug':_0x306c06(0x191),'PaHpL':function(_0x2c0011){return _0x2c0011();},'mTOlX':'index','bXCdK':_0x306c06(0x167)};PerformanceTester[_0x306c06(0x137)]();const _0x25c808='browserstack internal helper hook';PerformanceTester[_0x306c06(0x1a3)](PerformanceSdkEvents[_0x306c06(0x16e)],()=>{const _0xb21e00=_0x306c06;global[_0xb21e00(0x104)]=[],global['__sessionFailed']=![],global[_0xb21e00(0x188)]=async()=>{const _0x4c05e6=_0xb21e00;let _0x1f4211=![];try{await global['__drivers'][0x0][_0x4c05e6(0x103)],_0x1f4211=!![],global[_0x4c05e6(0x135)]?await _0x58dd48[_0x4c05e6(0x178)](markSessionStatus,global['__drivers'][0x0],_0x58dd48[_0x4c05e6(0x124)],global[_0x4c05e6(0x104)][_0x4c05e6(0x179)](_0x58dd48['mytEX'])):await _0x58dd48[_0x4c05e6(0x1a5)](markSessionStatus,global[_0x4c05e6(0x131)][0x0],_0x58dd48[_0x4c05e6(0x183)]);}catch(_0x553a53){logger[_0x4c05e6(0x10d)](_0x4c05e6(0x187)+_0x553a53);}global['__error_messages__']=[],global[_0x4c05e6(0x135)]=![];if(_0x1f4211)try{try{_0x58dd48[_0x4c05e6(0x117)](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0x58dd48[_0x4c05e6(0x1a5)](sendPlatformDetails,global[_0x4c05e6(0x131)][0x0],this['currentTest']?this[_0x4c05e6(0x1ae)][_0x4c05e6(0x15a)]:null));}catch(_0x2445f4){logger[_0x4c05e6(0x10d)](_0x4c05e6(0x1a7)+_0x2445f4);}await global[_0x4c05e6(0x131)][0x0]['initQuit']();}catch(_0x6a74db){logger['debug'](_0x4c05e6(0x141)+_0x6a74db);}};},{'platform':_0x58dd48['HWQZv'](nestedKeyValue,global[_0x306c06(0x15b)],[_0x58dd48[_0x306c06(0x115)]]),'hookType':_0x58dd48['bXCdK']})();},'beforeEach'(_0x24d47e){const _0x5a5569=a41_0x3a8139,_0x1c5160={'OyYln':function(_0x1de708,_0x4b16d4){return _0x1de708>_0x4b16d4;},'lZTdc':'\x20-\x20','OLIea':function(_0x1af98d,_0x113ae9,_0x513b1b){return _0x1af98d(_0x113ae9,_0x513b1b);},'mVhhV':function(_0x29f696,_0x3f831d){return _0x29f696===_0x3f831d;},'NdVkn':_0x5a5569(0x12d),'aKTuE':'bstackA11yScanOptions','LWkuo':function(_0xb42531){return _0xb42531();},'GeIGg':function(_0x2bb2b8,_0x1ae01f){return _0x2bb2b8>_0x1ae01f;},'upuJU':'isAccessibilityPlatform','juGLf':_0x5a5569(0x133),'XDYRn':function(_0x2bc4b1,_0x831b36){return _0x2bc4b1===_0x831b36;},'iTfKh':'https:','XiUze':_0x5a5569(0x14e),'Jwarw':_0x5a5569(0x172),'GEYbq':_0x5a5569(0xf4),'EfqOV':_0x5a5569(0xff),'utXkf':_0x5a5569(0x162)};globals[_0x5a5569(0x166)](_0x1c5160[_0x5a5569(0x15f)],this[_0x5a5569(0x1ae)][_0x5a5569(0x132)]()[_0x5a5569(0x179)](_0x1c5160[_0x5a5569(0x13f)])),PerformanceTester[_0x5a5569(0x1a3)](PerformanceSdkEvents[_0x5a5569(0x16e)],()=>{const _0x1f9470=_0x5a5569,_0x553b95={'mpEYR':function(_0x5c6953,_0x31a889){const _0xcb512f=a41_0x55ed;return _0x1c5160[_0xcb512f(0x18c)](_0x5c6953,_0x31a889);},'KIqJN':function(_0x285293,_0x4d5ab0){return _0x1c5160['OyYln'](_0x285293,_0x4d5ab0);},'ZCRNb':_0x1c5160[_0x1f9470(0x13f)],'QRUAs':function(_0x27a153,_0x184458,_0x4ba7d2){const _0x38e141=_0x1f9470;return _0x1c5160[_0x38e141(0xf9)](_0x27a153,_0x184458,_0x4ba7d2);},'nhxBB':function(_0x31ec72,_0x5cd1a4){const _0x10efd7=_0x1f9470;return _0x1c5160[_0x10efd7(0x147)](_0x31ec72,_0x5cd1a4);},'GUkyE':_0x1c5160['NdVkn'],'LOhoo':_0x1c5160[_0x1f9470(0x189)],'MlneJ':function(_0x2cca1e){const _0x4cd30e=_0x1f9470;return _0x1c5160[_0x4cd30e(0x190)](_0x2cca1e);},'Adadh':function(_0x4d4bbc,_0x350078){return _0x1c5160['GeIGg'](_0x4d4bbc,_0x350078);},'lXKyn':_0x1c5160[_0x1f9470(0x130)],'npsov':_0x1c5160[_0x1f9470(0x1ab)],'VTkVl':function(_0x4f36d1,_0x80a715){const _0x47a5c9=_0x1f9470;return _0x1c5160[_0x47a5c9(0xfe)](_0x4f36d1,_0x80a715);},'xGfoX':_0x1c5160[_0x1f9470(0xf0)],'ncxTK':_0x1c5160[_0x1f9470(0x168)],'URnZK':_0x1c5160[_0x1f9470(0x185)],'hFuib':function(_0x22e919){const _0x456b84=_0x1f9470;return _0x1c5160[_0x456b84(0x190)](_0x22e919);}},_0x4e3c2a='browserstack internal helper hook';new Promise(async _0x10db61=>{const _0x45479c=_0x1f9470;let _0x34e4b2=!![];try{_0x553b95['mpEYR'](global[_0x45479c(0x131)][_0x45479c(0x164)],0x1)&&(await global[_0x45479c(0x188)](),global[_0x45479c(0x131)][_0x45479c(0xf7)]()),_0x553b95['KIqJN'](global[_0x45479c(0x131)][0x0][_0x45479c(0x13c)],0x0)&&(_0x34e4b2=![],await global[_0x45479c(0x188)]());}catch(_0x3b20cb){logger[_0x45479c(0x10d)](_0x45479c(0x141)+_0x3b20cb);}try{Array[_0x45479c(0x19e)](global[_0x45479c(0x131)])&&global[_0x45479c(0x131)][0x0]&&(global['__drivers'][0x0][_0x45479c(0x16b)]=this['currentTest'][_0x45479c(0x132)]()['join'](_0x553b95[_0x45479c(0x120)])),global[_0x45479c(0x16b)]=this['currentTest'][_0x45479c(0x132)]()['join'](_0x553b95[_0x45479c(0x120)]);}catch(_0x2b09c2){logger['debug']('Failed\x20to\x20store\x20session\x20name:\x20'+_0x2b09c2);}this['currentTest'][_0x45479c(0x159)]=_0x553b95[_0x45479c(0xed)](shouldScanTestForAccessibility,this[_0x45479c(0x1ae)]['titlePath'](),!![]);let _0x2bb885=!![];try{const _0x4768c5=JSON[_0x45479c(0x18b)](process[_0x45479c(0x10e)][_0x45479c(0x11c)]||'{}');_0x553b95['nhxBB'](_0x4768c5[_0x45479c(0x195)],![])&&(_0x2bb885=![]);}catch(_0x363c33){logger[_0x45479c(0x10d)](_0x45479c(0x175)+_0x363c33['message']);}const _0x7a4f89=_0x2bb885&&this['currentTest'][_0x45479c(0x159)];globals[_0x45479c(0x166)](_0x553b95[_0x45479c(0xf5)],_0x7a4f89),globals[_0x45479c(0x166)](_0x553b95['LOhoo'],null),this[_0x45479c(0x1ae)][_0x45479c(0x161)]=this['currentTest'][_0x45479c(0x159)];if(_0x553b95[_0x45479c(0x177)](isAccessibilityAutomationSession)&&_0x34e4b2&&Array[_0x45479c(0x19e)](global[_0x45479c(0x131)])&&_0x553b95[_0x45479c(0x10b)](global['__drivers']['length'],0x0)&&globals[_0x45479c(0xea)](_0x553b95[_0x45479c(0x118)]))try{const _0x4f246d=await global[_0x45479c(0x131)][0x0][_0x45479c(0x103)];if(_0x4f246d){let _0x98fda5=!![];const _0x58e3ea=await global[_0x45479c(0x131)][0x0][_0x45479c(0x126)]();let _0x67a776;try{_0x67a776=new URL(_0x58e3ea),_0x98fda5=_0x553b95['nhxBB'](_0x67a776[_0x45479c(0x152)],_0x553b95[_0x45479c(0x12f)])||_0x553b95[_0x45479c(0x153)](_0x67a776['protocol'],_0x553b95[_0x45479c(0x199)]);}catch(_0xd32988){_0x98fda5=![];}_0x98fda5&&(this[_0x45479c(0x1ae)][_0x45479c(0x159)]&&logger[_0x45479c(0x138)](_0x553b95[_0x45479c(0x1a9)])),this[_0x45479c(0x1ae)][_0x45479c(0x161)]=this[_0x45479c(0x1ae)][_0x45479c(0x159)],_0x7a4f89&&logger[_0x45479c(0x138)](_0x553b95['URnZK']);}}catch(_0x2eb7a9){logger[_0x45479c(0x1b6)](_0x45479c(0x11a)+util['format'](_0x2eb7a9));}_0x553b95[_0x45479c(0x1ad)](_0x10db61);})['then'](()=>{_0x553b95['MlneJ'](_0x24d47e);});},{'platform':_0x1c5160[_0x5a5569(0xf9)](nestedKeyValue,global['__platformCaps'],[_0x1c5160['EfqOV']]),'hookType':_0x1c5160[_0x5a5569(0x13a)]})();},'afterEach'(_0x2c73a1){const _0xcd443c=a41_0x3a8139,_0x82f591={'jZRPj':_0xcd443c(0x10c),'iyaLH':function(_0x5458da,_0x8b5866){return _0x5458da!==_0x8b5866;},'HmcaA':_0xcd443c(0x191),'FscXx':function(_0x124501,_0x21469e,_0x300009){return _0x124501(_0x21469e,_0x300009);},'PaysT':function(_0x109e7e,_0x4a91e2){return _0x109e7e+_0x4a91e2;},'Rlkdl':_0xcd443c(0x109),'aflRf':_0xcd443c(0x1b6),'vAZTW':_0xcd443c(0x136),'heUWu':_0xcd443c(0x138),'KBAAb':function(_0x208f16,_0xafcd61){return _0x208f16>_0xafcd61;},'AzLOM':function(_0x11e34f,_0x2ebf9b){return _0x11e34f===_0x2ebf9b;},'LUVbQ':_0xcd443c(0x181),'jJmTZ':_0xcd443c(0x19c),'sWCun':function(_0x1f9ada,_0x44f990,_0x1e378d,_0x33f84a){return _0x1f9ada(_0x44f990,_0x1e378d,_0x33f84a);},'Vdypi':_0xcd443c(0x16f),'XgHrG':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','INjui':'bstackA11yShouldScan','kGZZT':'Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','atBCm':_0xcd443c(0x1bc),'ZFUSh':_0xcd443c(0x1b7),'eXqpB':_0xcd443c(0x1b2),'Brzdm':_0xcd443c(0xef),'jieDu':_0xcd443c(0x113),'SKoVo':_0xcd443c(0x13b),'wNdsW':_0xcd443c(0x12c),'jhunx':function(_0x59ceed){return _0x59ceed();},'JJwrg':function(_0x4f335c,_0x4ce79b,_0x4d2120){return _0x4f335c(_0x4ce79b,_0x4d2120);},'kMioq':function(_0x55b5da){return _0x55b5da();},'CFJad':_0xcd443c(0x10d),'pOgGZ':function(_0x2671be){return _0x2671be();},'LIOcE':_0xcd443c(0x12b),'Vhkbo':'index','RpWQK':_0xcd443c(0x18a)},_0x3e7b2f='browserstack internal helper hook';this[_0xcd443c(0x151)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x82f591[_0xcd443c(0x197)]]),global[_0xcd443c(0x1b3)]=this[_0xcd443c(0x1ae)][_0xcd443c(0x132)]()[_0xcd443c(0x179)](_0x82f591[_0xcd443c(0x145)]),PerformanceTester[_0xcd443c(0x1a3)](PerformanceSdkEvents[_0xcd443c(0x16e)],()=>{const _0x9a6d5e=_0xcd443c,_0x378ea0={'iKhyF':_0x82f591['jZRPj'],'LCXUd':function(_0xb8863,_0x2eebdc){const _0x14e14b=a41_0x55ed;return _0x82f591[_0x14e14b(0x165)](_0xb8863,_0x2eebdc);},'IGjUa':_0x82f591[_0x9a6d5e(0x192)],'UvAST':function(_0x259a73,_0x360317,_0xaa95bb){const _0x55aeef=_0x9a6d5e;return _0x82f591[_0x55aeef(0x196)](_0x259a73,_0x360317,_0xaa95bb);},'ILTRP':function(_0x4352ea,_0x56e490){const _0x595a9e=_0x9a6d5e;return _0x82f591[_0x595a9e(0x17d)](_0x4352ea,_0x56e490);},'dlrme':_0x82f591['Rlkdl'],'LybaX':_0x82f591[_0x9a6d5e(0x1a4)],'vZwAz':function(_0x15832f,_0x555aff,_0x479293){const _0x55444a=_0x9a6d5e;return _0x82f591[_0x55444a(0x196)](_0x15832f,_0x555aff,_0x479293);},'kCfaK':_0x82f591['vAZTW'],'hsQzz':_0x82f591[_0x9a6d5e(0x14c)],'lISlq':function(_0x1ead28,_0x19d05c){return _0x82f591['KBAAb'](_0x1ead28,_0x19d05c);},'XWOyd':function(_0x2286c7,_0x2caad6){const _0xec5b0=_0x9a6d5e;return _0x82f591[_0xec5b0(0x1a2)](_0x2286c7,_0x2caad6);},'xBpSy':_0x82f591[_0x9a6d5e(0x125)],'sxoPG':function(_0x106bea,_0x282c44){const _0x244214=_0x9a6d5e;return _0x82f591[_0x244214(0x1b9)](_0x106bea,_0x282c44);},'lThZI':_0x82f591['jJmTZ'],'Kjunj':function(_0x4a1c1c,_0x22ced3,_0x4d5559,_0x1b6d4d){return _0x82f591['sWCun'](_0x4a1c1c,_0x22ced3,_0x4d5559,_0x1b6d4d);},'prANx':_0x82f591[_0x9a6d5e(0x121)],'mnrTc':_0x82f591[_0x9a6d5e(0xfb)],'XhmWx':_0x82f591[_0x9a6d5e(0x14d)],'CYAIP':_0x82f591[_0x9a6d5e(0x155)],'ResCu':_0x82f591['atBCm'],'cDUXw':_0x82f591[_0x9a6d5e(0xec)],'Abqzh':_0x82f591[_0x9a6d5e(0xf1)],'oZQwZ':_0x82f591['Brzdm'],'izHkc':_0x82f591['jieDu'],'XaKMd':_0x82f591[_0x9a6d5e(0x15c)],'eMsyp':_0x82f591[_0x9a6d5e(0x14a)],'VNpoV':function(_0x8e3be9){return _0x82f591['jhunx'](_0x8e3be9);},'jUJwE':function(_0x226f4c,_0x22205b,_0x3e0d0f){const _0x584486=_0x9a6d5e;return _0x82f591[_0x584486(0x17c)](_0x226f4c,_0x22205b,_0x3e0d0f);},'Ubbrq':function(_0x3b1e2f){const _0x536b65=_0x9a6d5e;return _0x82f591[_0x536b65(0x17f)](_0x3b1e2f);},'OVqVP':function(_0x15ba35,_0x4f221b,_0x239a24){return _0x82f591['JJwrg'](_0x15ba35,_0x4f221b,_0x239a24);},'cqDBw':_0x82f591['CFJad'],'srSWE':function(_0x26451f,_0x3cf3e8){const _0x3b9f15=_0x9a6d5e;return _0x82f591[_0x3b9f15(0x1b9)](_0x26451f,_0x3cf3e8);},'vwUyC':function(_0x385f5a){const _0x392926=_0x9a6d5e;return _0x82f591[_0x392926(0x1b5)](_0x385f5a);}},_0x2fa3ac=async(_0x39a6ba,_0x109772)=>{const _0xfefeaf=_0x9a6d5e;await global[_0xfefeaf(0x131)][0x0][_0xfefeaf(0xf6)](_0xfefeaf(0x110)+_0x39a6ba+',\x22level\x22:\x20\x22'+_0x109772+'\x22}}');};new Promise(async _0x1dd9b6=>{const _0x5ed4cb=_0x9a6d5e;try{_0x378ea0['lISlq'](global['__drivers'][_0x5ed4cb(0x164)],0x1)&&(await global[_0x5ed4cb(0x188)](),global[_0x5ed4cb(0x131)]['shift'](),global[_0x5ed4cb(0x104)]=[],global['__sessionFailed']=![]);try{if(global[_0x5ed4cb(0xf3)]&&_0x378ea0['XWOyd'](global[_0x5ed4cb(0x17a)],_0x378ea0[_0x5ed4cb(0x106)])&&global[_0x5ed4cb(0x131)][0x0]){const _0x5464d5=_0x378ea0[_0x5ed4cb(0x15d)](global['capabilities'][_0x5ed4cb(0x164)],0x0)?!!global[_0x5ed4cb(0x18d)][0x0][_0x5ed4cb(0x15e)]||!!global[_0x5ed4cb(0x18d)][0x0][_0x378ea0[_0x5ed4cb(0x102)]]:![],_0x2a8028={};_0x2a8028['app']=_0x5464d5,await _0x378ea0[_0x5ed4cb(0x11e)](percyAutoCapture,global[_0x5ed4cb(0x131)][0x0],_0x378ea0[_0x5ed4cb(0x106)],_0x2a8028);}}catch(_0x51cf24){logger[_0x5ed4cb(0x10d)]('Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20'+_0x51cf24);}!global[_0x5ed4cb(0x1bd)]&&(await PerformanceTester[_0x5ed4cb(0x1a3)](PerformanceAutEvents[_0x5ed4cb(0x114)],async()=>{const _0x3a42a3=_0x5ed4cb;await global[_0x3a42a3(0x131)][0x0][_0x3a42a3(0xf6)](_0x3a42a3(0x171)+JSON[_0x3a42a3(0x122)](this['currentTest'][_0x3a42a3(0x132)]()[_0x3a42a3(0x179)](_0x378ea0[_0x3a42a3(0x119)]))+'}}');})(),global['__drivers'][0x0][_0x5ed4cb(0xee)]=!![]),await PerformanceTester[_0x5ed4cb(0x1a3)](PerformanceAutEvents[_0x5ed4cb(0x12a)],async()=>{const _0x420272=_0x5ed4cb,_0x46e5c9=_0x378ea0[_0x420272(0x16a)](this['currentTest']['state'],_0x378ea0[_0x420272(0x107)]);_0x46e5c9?(global[_0x420272(0x135)]=!![],global[_0x420272(0x104)][_0x420272(0x19b)](this[_0x420272(0x1ae)][_0x420272(0x18e)][_0x420272(0x108)]),await _0x378ea0[_0x420272(0x11f)](_0x2fa3ac,JSON[_0x420272(0x122)](_0x378ea0[_0x420272(0x11b)](_0x378ea0['dlrme'],this[_0x420272(0x1ae)]['err']['message'])),_0x378ea0['LybaX'])):await _0x378ea0[_0x420272(0x100)](_0x2fa3ac,JSON['stringify'](_0x378ea0[_0x420272(0x1a0)]),_0x378ea0[_0x420272(0x194)]);})();}catch(_0x24a35b){logger['debug'](_0x5ed4cb(0x176)+_0x24a35b);}try{if(this[_0x5ed4cb(0x1ae)]['accessibilityScanStarted']&&globals['getGlobal'](_0x378ea0[_0x5ed4cb(0x140)])){logger[_0x5ed4cb(0x138)](_0x378ea0[_0x5ed4cb(0x1a6)]);const _0x2ec251={};_0x2ec251[_0x5ed4cb(0x182)]=this[_0x5ed4cb(0x1ae)][_0x5ed4cb(0x15a)],_0x2ec251[_0x5ed4cb(0x1af)]=process[_0x5ed4cb(0x10e)][testHubConstants[_0x5ed4cb(0x144)][_0x5ed4cb(0x180)]],_0x2ec251[_0x5ed4cb(0x10f)]=process[_0x5ed4cb(0x10e)][testHubConstants['ENV_VAR'][_0x5ed4cb(0x170)]];const _0x58f046=_0x2ec251;logger[_0x5ed4cb(0x10d)](_0x5ed4cb(0x156)+JSON['stringify'](_0x58f046));if(globals['getGlobal'](_0x378ea0[_0x5ed4cb(0x149)])){logger['debug'](_0x378ea0[_0x5ed4cb(0x10a)]);const _0x3d51c={};_0x3d51c[_0x5ed4cb(0x163)]=_0x378ea0[_0x5ed4cb(0x12e)];const _0x2ce863=await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x3e7db9=_0x5ed4cb;return await accessibilityRetryHelper[_0x3e7db9(0x157)](global[_0x3e7db9(0x131)][0x0],global['browserstackSessionName']);},_0x3d51c)();_0x2ce863?logger[_0x5ed4cb(0x10d)](_0x378ea0[_0x5ed4cb(0x127)]):logger['warn'](_0x378ea0[_0x5ed4cb(0xeb)]);}else logger[_0x5ed4cb(0x10d)](_0x378ea0[_0x5ed4cb(0x193)]);const _0xb69d97=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x5ed4cb(0x1ba)],async()=>{const _0x2107b1=_0x5ed4cb;return await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global[_0x2107b1(0x131)][0x0],_0x58f046);})();_0xb69d97?logger[_0x5ed4cb(0x10d)](_0x378ea0[_0x5ed4cb(0x16d)]):logger[_0x5ed4cb(0x16c)](_0x378ea0['XaKMd']),logger[_0x5ed4cb(0x138)](_0x378ea0[_0x5ed4cb(0x173)]);}}catch(_0x38f6cd){logger['error'](_0x5ed4cb(0x160)+this[_0x5ed4cb(0x1ae)][_0x5ed4cb(0x132)]()+_0x5ed4cb(0x143),_0x38f6cd);}try{try{if(_0x378ea0[_0x5ed4cb(0x150)](shouldProcessEventForTesthub)){global[_0x5ed4cb(0x131)][0x0]&&await _0x378ea0['jUJwE'](sendPlatformDetails,global[_0x5ed4cb(0x131)][0x0],this['currentTest']?this['currentTest']['testAnalyticsId']:null);if(_0x378ea0[_0x5ed4cb(0x134)](isBrowserstackInfra)){PerformanceTester[_0x5ed4cb(0x19f)](PerformanceO11yEvents[_0x5ed4cb(0x101)]);const _0x47c058='ObservabilitySync:'+Date[_0x5ed4cb(0x154)]();await _0x378ea0[_0x5ed4cb(0x105)](_0x2fa3ac,JSON['stringify'](_0x47c058),_0x378ea0[_0x5ed4cb(0x116)]),PerformanceTester[_0x5ed4cb(0x11d)](PerformanceO11yEvents[_0x5ed4cb(0x101)]);}}}catch(_0x43e5f9){logger['debug'](_0x5ed4cb(0xfa)+_0x43e5f9),PerformanceTester['end'](PerformanceO11yEvents[_0x5ed4cb(0x101)],![],_0x43e5f9);}_0x378ea0[_0x5ed4cb(0x169)](global[_0x5ed4cb(0x131)][0x0][_0x5ed4cb(0x13c)],0x0)&&await global[_0x5ed4cb(0x188)]();}catch(_0x57d112){logger[_0x5ed4cb(0x10d)](_0x5ed4cb(0x141)+_0x57d112);}_0x378ea0[_0x5ed4cb(0x1a1)](_0x1dd9b6);})[_0x9a6d5e(0x1b8)](()=>{_0x378ea0['vwUyC'](_0x2c73a1);});},{'platform':_0x82f591[_0xcd443c(0x196)](nestedKeyValue,global['__platformCaps'],[_0x82f591[_0xcd443c(0x1aa)]]),'hookType':_0x82f591[_0xcd443c(0x139)]})();},'afterAll'(_0x3391e3){const _0x3a624d=a41_0x3a8139,_0x255174={'laLYT':function(_0x4eb7ec){return _0x4eb7ec();},'qeDEV':function(_0x59bafc){return _0x59bafc();},'NYrva':_0x3a624d(0x12b),'EUKRn':function(_0x5866de,_0x464d63,_0x31774c){return _0x5866de(_0x464d63,_0x31774c);},'QBbqN':_0x3a624d(0xff),'IyYfD':'afterAll'},_0x2c4e26='browserstack internal helper hook';this[_0x3a624d(0x151)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x255174[_0x3a624d(0x13d)]]),PerformanceTester[_0x3a624d(0x1a3)](PerformanceSdkEvents[_0x3a624d(0x16e)],()=>{const _0x2c7f3a=_0x3a624d;new Promise(async _0x5c2568=>{const _0x58b688=a41_0x55ed;await global['driverCleanup'](),_0x255174[_0x58b688(0x198)](_0x5c2568);})[_0x2c7f3a(0x1b8)]()[_0x2c7f3a(0x14f)](()=>{_0x255174['qeDEV'](_0x3391e3);});},{'platform':_0x255174[_0x3a624d(0x1a8)](nestedKeyValue,global['__platformCaps'],[_0x255174[_0x3a624d(0x17e)]]),'hookType':_0x255174[_0x3a624d(0x1bb)]})();}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a42_0x4eb707=a42_0x3784;(function(_0x37e6aa,_0x1ac015){const _0x371c41=a42_0x3784,_0x1a5888=_0x37e6aa();while(!![]){try{const _0x171a58=-parseInt(_0x371c41(0xd3))/0x1+parseInt(_0x371c41(0x132))/0x2*(-parseInt(_0x371c41(0xd1))/0x3)+parseInt(_0x371c41(0x109))/0x4*(parseInt(_0x371c41(0x102))/0x5)+parseInt(_0x371c41(0xd5))/0x6+parseInt(_0x371c41(0x142))/0x7+-parseInt(_0x371c41(0xdf))/0x8*(-parseInt(_0x371c41(0xeb))/0x9)+parseInt(_0x371c41(0x104))/0xa;if(_0x171a58===_0x1ac015)break;else _0x1a5888['push'](_0x1a5888['shift']());}catch(_0x215ae9){_0x1a5888['push'](_0x1a5888['shift']());}}}(a42_0x1478,0x3afd5));function a42_0x1478(){const _0xb3d283=['cXLiV','obBwW','failures','BDWgI','index.js','true','BjSJt','YWwOk','bAWrh','winstonLogger','BROWSERSTACK_TEST_OBSERVABILITY_YML','iigha','scriptRunner.js','configPath','Enhbe','slice','join','../../helpers/test-observability/requestQueueHandler','browserstack','exports','../v2/cliUtils','isRunning','run','createRequire','message','shutdown','cliConfig','child_process','../../helpers/testhub/testhubHandler','pkOmR','_resolveFilename','2cmpGGc','QiwRT','newman/bin/newman','exitCode','DhbMM','vXvoD','oXPba','PkxMk','call','WHbIu','package.json','yvWmx','rcaFT','setBrowserstackConfig','tcuVW','BROWSERSTACK_AUTOMATION','1061319pnuiOX','QaLWn','zUPDb','DNgId','GFPoR','Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','GbAOI','GGSOT','rUlxf','length','config','1176828HBVLMq','assign','263410GVEKRa','cnFre','1139628GfAmIx','concat','jFqFV','.js','warn','setFrameworkDetail','twqDg','--reporters','getInstance','bootstrap','72zSBCQq','../../helpers/helper','newman-reporter-browserstack','WNxvj','NXbKF','null','false','hrbpx','ZOGyE','resolve','grvjO','nujLu','422622XiPwGu','parallelsPerPlatform','Wfghv','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','indexOf','LoWDU','KgYwF','blMwc','close','module','cBocb','OXNNN','NWEQJ','error','push','newman','Failed\x20to\x20launch\x20build:\x20','BRDLS','[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','stop','Failed\x20to\x20bootstrap\x20CLI:\x20','LefHF','endsWith','17385jnDOmf','testObservability','1087910MemFCp','FzaPE','NEWMAN','Newman\x20CLI\x20not\x20found:\x20','oWlNo','28rqxPAS','rarSq','sbkpB','env','leuqW','BROWSERSTACK_TESTHUB_JWT','zETKt','jsUBe','RsNcs','NerRO'];a42_0x1478=function(){return _0xb3d283;};return a42_0x1478();}const path=require('path'),Module=require(a42_0x4eb707(0xf4)),{fork}=require(a42_0x4eb707(0x12e)),logger=require('../../helpers/logger')[a42_0x4eb707(0x11c)],helper=require(a42_0x4eb707(0xe0)),TestHubHandler=require(a42_0x4eb707(0x12f)),RequestQueueHandler=require(a42_0x4eb707(0x124)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{printBuildLink}=require('../../helpers/test-observability/utils'),BrowserstackCLI=require('../v2/browserstackCLI'),CLIUtils=require(a42_0x4eb707(0x127));function registerBrowserStackReporter(){const _0xde98e8=a42_0x4eb707,_0xf6ea52={};_0xf6ea52['rarSq']=function(_0xe20b20,_0x403fc3){return _0xe20b20===_0x403fc3;},_0xf6ea52[_0xde98e8(0x133)]=_0xde98e8(0xe1),_0xf6ea52['WNxvj']='reporter',_0xf6ea52[_0xde98e8(0xd4)]=_0xde98e8(0x117);const _0x30c3f3=_0xf6ea52,_0x34ffab=path[_0xde98e8(0x123)](__dirname,_0x30c3f3[_0xde98e8(0xe2)],_0x30c3f3[_0xde98e8(0xd4)]),_0x13369d=Module[_0xde98e8(0x131)];Module[_0xde98e8(0x131)]=function(_0x52eae5,_0x497756,_0x561019,_0x56c36b){const _0x4abbea=_0xde98e8;if(_0x30c3f3[_0x4abbea(0x10a)](_0x52eae5,_0x30c3f3['QiwRT']))return _0x34ffab;return _0x13369d[_0x4abbea(0x13a)](this,_0x52eae5,_0x497756,_0x561019,_0x56c36b);};}function injectReporterIntoArgs(_0x178c2c){const _0x3e5379=a42_0x4eb707,_0x3f39af={};_0x3f39af[_0x3e5379(0x111)]=function(_0xbf6f7e,_0x5f4f6d){return _0xbf6f7e<_0x5f4f6d;},_0x3f39af[_0x3e5379(0xe6)]=function(_0x15a88a,_0x3ed215){return _0x15a88a===_0x3ed215;},_0x3f39af[_0x3e5379(0x13d)]=function(_0x71581b,_0x2be7ce){return _0x71581b===_0x2be7ce;},_0x3f39af[_0x3e5379(0xe3)]=_0x3e5379(0xdc),_0x3f39af[_0x3e5379(0x140)]=function(_0x560aa3,_0x2da932){return _0x560aa3+_0x2da932;},_0x3f39af[_0x3e5379(0x119)]=function(_0x26f533,_0x5986a3){return _0x26f533===_0x5986a3;},_0x3f39af[_0x3e5379(0x11a)]=_0x3e5379(0x125),_0x3f39af[_0x3e5379(0x13e)]=',browserstack',_0x3f39af[_0x3e5379(0xf6)]='cli,browserstack';const _0xfe505d=_0x3f39af,_0x4b96a1=_0x178c2c[_0x3e5379(0x122)]();for(let _0x30e4aa=0x0;_0xfe505d[_0x3e5379(0x111)](_0x30e4aa,_0x4b96a1['length']);_0x30e4aa++){if(_0xfe505d[_0x3e5379(0xe6)](_0x4b96a1[_0x30e4aa],'-r')||_0xfe505d[_0x3e5379(0x13d)](_0x4b96a1[_0x30e4aa],_0xfe505d[_0x3e5379(0xe3)]))return _0x4b96a1[_0xfe505d[_0x3e5379(0x140)](_0x30e4aa,0x1)]&&_0xfe505d['BjSJt'](_0x4b96a1[_0xfe505d[_0x3e5379(0x140)](_0x30e4aa,0x1)][_0x3e5379(0xef)](_0xfe505d[_0x3e5379(0x11a)]),-0x1)&&(_0x4b96a1[_0xfe505d[_0x3e5379(0x140)](_0x30e4aa,0x1)]+=_0xfe505d[_0x3e5379(0x13e)]),_0x4b96a1;}return _0x4b96a1[_0x3e5379(0xf9)]('-r',_0xfe505d[_0x3e5379(0xf6)]),_0x4b96a1;}function runNewmanCLI(_0xa76f8c){const _0x4bd14c=a42_0x4eb707,_0x251462={'cdAei':function(_0x113998,_0x516f93){return _0x113998>_0x516f93;},'Wfghv':function(_0x152ff6,_0x2853eb){return _0x152ff6(_0x2853eb);},'sbkpB':function(_0x2db3be,_0x35fe28,_0x505985){return _0x2db3be(_0x35fe28,_0x505985);},'WHbIu':_0x4bd14c(0xfa),'iigha':_0x4bd14c(0xcb),'twqDg':_0x4bd14c(0xf4),'zUPDb':_0x4bd14c(0x13c),'DNgId':function(_0x256160,_0x41545d){return _0x256160(_0x41545d);},'bAWrh':_0x4bd14c(0x134),'grvjO':'node','oXPba':function(_0x5d3767,_0x1eb545){return _0x5d3767+_0x1eb545;},'jFqFV':_0x4bd14c(0x107),'zETKt':function(_0x2da0c4,_0x329f54){return _0x2da0c4(_0x329f54);}};return new Promise(_0x480960=>{const _0x577759=_0x4bd14c,_0x2c8e00={'cXLiV':function(_0xc1cfb7,_0x35194e){return _0x251462['cdAei'](_0xc1cfb7,_0x35194e);},'MIhFz':function(_0x1222fc,_0x146cd4){return _0x251462['Wfghv'](_0x1222fc,_0x146cd4);},'NerRO':function(_0x3209bc,_0x16380e,_0x347c08){const _0x2b905b=a42_0x3784;return _0x251462[_0x2b905b(0x10b)](_0x3209bc,_0x16380e,_0x347c08);}};let _0x143de4;try{_0x143de4=helper['requireModule'](_0x251462[_0x577759(0x13b)],_0x251462[_0x577759(0x13b)]);}catch(_0x2e6a06){return logger[_0x577759(0xf8)](_0x251462[_0x577759(0x11e)]),_0x251462[_0x577759(0xed)](_0x480960,0x1);}const _0x14c33e=_0x143de4[_0x577759(0x129)];_0x143de4['run']=function(_0x1debab,_0x7e88be){const _0x194a69=_0x577759,_0x10c391={'BRDLS':function(_0x23a9d5,_0x362b0a){const _0x994849=a42_0x3784;return _0x2c8e00[_0x994849(0x113)](_0x23a9d5,_0x362b0a);},'QaLWn':function(_0x2bbe44,_0x4edf53){return _0x2c8e00['MIhFz'](_0x2bbe44,_0x4edf53);},'NWEQJ':function(_0x43ba36,_0x543b1d,_0x1c4f4f){const _0x3cd21c=a42_0x3784;return _0x2c8e00[_0x3cd21c(0x112)](_0x43ba36,_0x543b1d,_0x1c4f4f);}};return _0x143de4[_0x194a69(0x129)]=_0x14c33e,_0x14c33e[_0x194a69(0x13a)](_0x143de4,_0x1debab,(_0x444d3a,_0x33d85)=>{const _0x46aa06=_0x194a69,_0x2727c3=_0x33d85&&_0x33d85[_0x46aa06(0x129)]&&(_0x33d85[_0x46aa06(0x129)][_0x46aa06(0xf8)]||_0x33d85[_0x46aa06(0x129)][_0x46aa06(0x115)]&&_0x10c391[_0x46aa06(0xfc)](_0x33d85['run'][_0x46aa06(0x115)][_0x46aa06(0xcf)],0x0));_0x10c391[_0x46aa06(0x143)](_0x480960,_0x2727c3?0x1:0x0),_0x7e88be&&_0x10c391[_0x46aa06(0xf7)](_0x7e88be,_0x444d3a,_0x33d85);});};try{const _0x56dd92=_0x251462[_0x577759(0xed)](require,_0x251462[_0x577759(0xdb)])[_0x577759(0x12a)](path[_0x577759(0x123)](process['cwd'](),_0x251462[_0x577759(0x144)]));_0x251462[_0x577759(0x145)](_0x56dd92,_0x251462[_0x577759(0x11b)])([_0x251462[_0x577759(0xe9)],_0x251462['WHbIu']][_0x577759(0xd6)](_0xa76f8c));}catch(_0x5eeaea){_0x143de4[_0x577759(0x129)]=_0x14c33e,logger[_0x577759(0xf8)](_0x251462[_0x577759(0x138)](_0x251462[_0x577759(0xd7)],_0x5eeaea[_0x577759(0x12b)])),_0x251462[_0x577759(0x10f)](_0x480960,0x1);}});}function runNewmanScript(_0x17cfbc,_0x31b6c7){const _0x2d8f19=a42_0x4eb707,_0x729eae={'ZOGyE':function(_0x2545c3,_0x5d8631){return _0x2545c3(_0x5d8631);},'GbAOI':function(_0x5f03f5,_0x191b14){return _0x5f03f5||_0x191b14;},'nujLu':function(_0x10e14b,_0x208b77,_0x311e96,_0x544e44){return _0x10e14b(_0x208b77,_0x311e96,_0x544e44);},'obBwW':_0x2d8f19(0x11f),'KgYwF':function(_0x2ca3d2,_0x3c7992){return _0x2ca3d2(_0x3c7992);},'cBocb':'inherit','jsUBe':_0x2d8f19(0xf3)};return new Promise(function(_0x13d9ad){const _0x5d31d8=_0x2d8f19,_0x1030b5=_0x729eae[_0x5d31d8(0xea)](fork,path[_0x5d31d8(0x123)](__dirname,_0x729eae[_0x5d31d8(0x114)]),[_0x17cfbc,_0x729eae[_0x5d31d8(0xf1)](String,_0x729eae[_0x5d31d8(0xcc)](_0x31b6c7,0x0))],{'stdio':_0x729eae[_0x5d31d8(0xf5)],'env':Object[_0x5d31d8(0xd2)]({},process['env'])});_0x1030b5['on'](_0x729eae[_0x5d31d8(0x110)],function(_0x426265){const _0x28adef=_0x5d31d8;_0x729eae[_0x28adef(0xe7)](_0x13d9ad,_0x729eae[_0x28adef(0xcc)](_0x426265,0x0));});});}function hasO11yBuild(){const _0x58a3d5=a42_0x4eb707,_0x1e1ccf={};_0x1e1ccf[_0x58a3d5(0x116)]=function(_0x257d7a,_0xc2acfd){return _0x257d7a!==_0xc2acfd;},_0x1e1ccf[_0x58a3d5(0x136)]=_0x58a3d5(0xe4);const _0x302e94=_0x1e1ccf;return!!(BrowserstackCLI['O11yHashedID']||process[_0x58a3d5(0x10c)][_0x58a3d5(0x10e)]&&_0x302e94[_0x58a3d5(0x116)](process['env']['BROWSERSTACK_TESTHUB_JWT'],_0x302e94[_0x58a3d5(0x136)]));}function a42_0x3784(_0x1da524,_0x47dc92){const _0x147867=a42_0x1478();return a42_0x3784=function(_0x378413,_0x3abb7a){_0x378413=_0x378413-0xca;let _0x372958=_0x147867[_0x378413];return _0x372958;},a42_0x3784(_0x1da524,_0x47dc92);}function runWithoutObservability(_0x10cb97,_0x215cb3){const _0x5f3e3a=a42_0x4eb707,_0x657ea5={'leuqW':function(_0x21ff0d,_0x38798e){return _0x21ff0d(_0x38798e);}};if(_0x10cb97)return _0x657ea5['leuqW'](require,path[_0x5f3e3a(0xe8)](_0x10cb97)),0x0;return _0x657ea5[_0x5f3e3a(0x10d)](runNewmanCLI,_0x215cb3);}module[a42_0x4eb707(0x126)]=async function(_0x2e613c,_0x353e0c,_0x57fdf4){const _0x2e1ffe=a42_0x4eb707,_0x26b71c={'VSpzj':_0x2e1ffe(0xd8),'LefHF':function(_0x3032d4,_0xf3cba){return _0x3032d4===_0xf3cba;},'oWlNo':_0x2e1ffe(0xe5),'rUlxf':function(_0x16ada8,_0x4d70f9,_0x1cf54d){return _0x16ada8(_0x4d70f9,_0x1cf54d);},'GSpyc':function(_0x4bddd5,_0x455b0e){return _0x4bddd5!=_0x455b0e;},'GGSOT':_0x2e1ffe(0x118),'blMwc':'newman','azWKx':function(_0x312721,_0x12c2a0){return _0x312721+_0x12c2a0;},'BHQwS':_0x2e1ffe(0xff),'xxMEE':function(_0x2a40f0,_0x5acb33){return _0x2a40f0+_0x5acb33;},'Enhbe':_0x2e1ffe(0xfb),'GFPoR':function(_0x212129){return _0x212129();},'pkOmR':'[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','LoWDU':function(_0x5a8e20){return _0x5a8e20();},'FzaPE':function(_0x4db95a,_0x1a6e7c){return _0x4db95a(_0x1a6e7c);},'dkrYL':function(_0x1823aa,_0x321676){return _0x1823aa(_0x321676);},'vXvoD':function(_0x3c4c06){return _0x3c4c06();},'PkxMk':_0x2e1ffe(0xfd)},_0x3d7f9a=_0x353e0c[_0x2e1ffe(0x122)](0x1),_0x11ee92=_0x3d7f9a[0x0]&&_0x3d7f9a[0x0][_0x2e1ffe(0x101)](_0x26b71c['VSpzj'])?_0x3d7f9a[0x0]:null;if(!_0x57fdf4[_0x2e1ffe(0xd0)]||_0x26b71c[_0x2e1ffe(0x100)](_0x57fdf4[_0x2e1ffe(0xd0)][_0x2e1ffe(0x103)],![])||_0x26b71c[_0x2e1ffe(0x100)](_0x57fdf4[_0x2e1ffe(0xd0)][_0x2e1ffe(0x103)],_0x26b71c[_0x2e1ffe(0x108)])){process[_0x2e1ffe(0x135)]=await _0x26b71c[_0x2e1ffe(0xce)](runWithoutObservability,_0x11ee92,_0x3d7f9a)||0x0;return;}process[_0x2e1ffe(0x10c)][_0x2e1ffe(0x141)]=_0x26b71c['oWlNo'],process[_0x2e1ffe(0x10c)][_0x2e1ffe(0xee)]=_0x26b71c[_0x2e1ffe(0x108)],process[_0x2e1ffe(0x10c)][_0x2e1ffe(0x11d)]=_0x26b71c['GSpyc'](_0x57fdf4[_0x2e1ffe(0xd0)][_0x2e1ffe(0x103)],null)?_0x57fdf4['config'][_0x2e1ffe(0x103)]:_0x26b71c[_0x2e1ffe(0xcd)],CLIUtils[_0x2e1ffe(0xda)](_0x26b71c[_0x2e1ffe(0xf2)],_0x26b71c['blMwc']),BrowserstackCLI[_0x2e1ffe(0xdd)]()[_0x2e1ffe(0x13f)](_0x57fdf4['config'],_0x57fdf4[_0x2e1ffe(0x120)],_0x57fdf4[_0x2e1ffe(0x12d)]);try{await BrowserstackCLI['getInstance']()[_0x2e1ffe(0xde)]();}catch(_0x3ba53f){logger[_0x2e1ffe(0xf8)](_0x26b71c['azWKx'](_0x26b71c['BHQwS'],_0x3ba53f[_0x2e1ffe(0x12b)]||_0x3ba53f));}if(!BrowserstackCLI[_0x2e1ffe(0xdd)]()[_0x2e1ffe(0x128)]())try{await TestHubHandler['launchBuild'](FRAMEWORKS[_0x2e1ffe(0x106)],_0x57fdf4);}catch(_0x2c717f){logger[_0x2e1ffe(0xf8)](_0x26b71c['xxMEE'](_0x26b71c[_0x2e1ffe(0x121)],_0x2c717f['message']||_0x2c717f));}!_0x26b71c[_0x2e1ffe(0xca)](hasO11yBuild)&&logger[_0x2e1ffe(0xd9)](_0x26b71c[_0x2e1ffe(0x130)]);_0x26b71c[_0x2e1ffe(0xf0)](registerBrowserStackReporter);let _0x1f6f82;_0x11ee92?_0x1f6f82=await _0x26b71c[_0x2e1ffe(0xce)](runNewmanScript,_0x11ee92,_0x57fdf4[_0x2e1ffe(0xd0)][_0x2e1ffe(0xec)]):_0x1f6f82=await _0x26b71c[_0x2e1ffe(0x105)](runNewmanCLI,_0x26b71c['dkrYL'](injectReporterIntoArgs,_0x3d7f9a));try{await TestHubHandler['stop']();}catch(_0x369001){}try{await BrowserstackCLI[_0x2e1ffe(0xdd)]()[_0x2e1ffe(0xfe)]();}catch(_0x2a9baa){}try{await RequestQueueHandler[_0x2e1ffe(0xdd)]()[_0x2e1ffe(0x12c)]();}catch(_0x5819e9){}if(_0x26b71c['vXvoD'](hasO11yBuild))try{_0x26b71c[_0x2e1ffe(0x137)](printBuildLink);}catch(_0x113a81){}else logger[_0x2e1ffe(0xd9)](_0x26b71c[_0x2e1ffe(0x139)]);process[_0x2e1ffe(0x135)]=_0x1f6f82;};
2
+ 'use strict';const a42_0x1b4269=a42_0xba3f;(function(_0x35bf7d,_0x2fb0b7){const _0x1d7f91=a42_0xba3f,_0x1d67a4=_0x35bf7d();while(!![]){try{const _0x2719d4=-parseInt(_0x1d7f91(0x20f))/0x1+parseInt(_0x1d7f91(0x1cc))/0x2*(-parseInt(_0x1d7f91(0x225))/0x3)+parseInt(_0x1d7f91(0x207))/0x4+-parseInt(_0x1d7f91(0x1e5))/0x5+parseInt(_0x1d7f91(0x1c8))/0x6+-parseInt(_0x1d7f91(0x1e4))/0x7+-parseInt(_0x1d7f91(0x1eb))/0x8*(-parseInt(_0x1d7f91(0x1ce))/0x9);if(_0x2719d4===_0x2fb0b7)break;else _0x1d67a4['push'](_0x1d67a4['shift']());}catch(_0x4050aa){_0x1d67a4['push'](_0x1d67a4['shift']());}}}(a42_0x2dae,0x62513));const path=require('path'),Module=require(a42_0x1b4269(0x1dc)),{fork}=require(a42_0x1b4269(0x1c4)),logger=require(a42_0x1b4269(0x22d))[a42_0x1b4269(0x1ea)],helper=require(a42_0x1b4269(0x1f5)),TestHubHandler=require(a42_0x1b4269(0x1c5)),RequestQueueHandler=require(a42_0x1b4269(0x1ef)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{printBuildLink}=require(a42_0x1b4269(0x216)),BrowserstackCLI=require(a42_0x1b4269(0x215)),CLIUtils=require('../v2/cliUtils');function a42_0xba3f(_0x5c1b93,_0x1d5330){const _0x2dae9a=a42_0x2dae();return a42_0xba3f=function(_0xba3f7e,_0x597366){_0xba3f7e=_0xba3f7e-0x1c3;let _0x177100=_0x2dae9a[_0xba3f7e];return _0x177100;},a42_0xba3f(_0x5c1b93,_0x1d5330);}function registerBrowserStackReporter(){const _0x259f3c=a42_0x1b4269,_0x1a409f={};_0x1a409f['KkpUp']=function(_0x2e1e91,_0x3a1a31){return _0x2e1e91===_0x3a1a31;},_0x1a409f['SXmLY']=_0x259f3c(0x1f1),_0x1a409f[_0x259f3c(0x1e2)]=_0x259f3c(0x1f8),_0x1a409f['yLtPq']=_0x259f3c(0x213);const _0x445070=_0x1a409f,_0x30e202=path[_0x259f3c(0x1d4)](__dirname,_0x445070[_0x259f3c(0x1e2)],_0x445070[_0x259f3c(0x230)]),_0x577f4b=Module[_0x259f3c(0x219)];Module['_resolveFilename']=function(_0x52f001,_0x31f995,_0x369b17,_0x2d7c6c){const _0x5520dc=_0x259f3c;if(_0x445070[_0x5520dc(0x1c6)](_0x52f001,_0x445070[_0x5520dc(0x1f0)]))return _0x30e202;return _0x577f4b[_0x5520dc(0x217)](this,_0x52f001,_0x31f995,_0x369b17,_0x2d7c6c);};}function injectReporterIntoArgs(_0x1ac6fe){const _0x4faa9a=a42_0x1b4269,_0x472e3f={};_0x472e3f['RTrQf']=function(_0x5e182a,_0x579f2d){return _0x5e182a<_0x579f2d;},_0x472e3f[_0x4faa9a(0x1d0)]=function(_0x3d92da,_0x2dcc1b){return _0x3d92da===_0x2dcc1b;},_0x472e3f['AygEt']=_0x4faa9a(0x233),_0x472e3f[_0x4faa9a(0x1c9)]=function(_0xfd077d,_0x13cd15){return _0xfd077d+_0x13cd15;},_0x472e3f[_0x4faa9a(0x20a)]=function(_0x348e99,_0x31409f){return _0x348e99+_0x31409f;},_0x472e3f['rtLzA']=_0x4faa9a(0x221),_0x472e3f[_0x4faa9a(0x1ee)]=function(_0x284f81,_0x55edb4){return _0x284f81+_0x55edb4;},_0x472e3f['MPnaD']=',browserstack',_0x472e3f['OryAW']=_0x4faa9a(0x210);const _0x3e851a=_0x472e3f,_0x14dc5a=_0x1ac6fe[_0x4faa9a(0x1c3)]();for(let _0x31bc1a=0x0;_0x3e851a[_0x4faa9a(0x220)](_0x31bc1a,_0x14dc5a[_0x4faa9a(0x1e7)]);_0x31bc1a++){if(_0x3e851a[_0x4faa9a(0x1d0)](_0x14dc5a[_0x31bc1a],'-r')||_0x3e851a[_0x4faa9a(0x1d0)](_0x14dc5a[_0x31bc1a],_0x3e851a[_0x4faa9a(0x1fc)]))return _0x14dc5a[_0x3e851a[_0x4faa9a(0x1c9)](_0x31bc1a,0x1)]&&_0x3e851a[_0x4faa9a(0x1d0)](_0x14dc5a[_0x3e851a[_0x4faa9a(0x20a)](_0x31bc1a,0x1)]['indexOf'](_0x3e851a[_0x4faa9a(0x1e6)]),-0x1)&&(_0x14dc5a[_0x3e851a[_0x4faa9a(0x1ee)](_0x31bc1a,0x1)]+=_0x3e851a[_0x4faa9a(0x206)]),_0x14dc5a;}return _0x14dc5a[_0x4faa9a(0x211)]('-r',_0x3e851a[_0x4faa9a(0x232)]),_0x14dc5a;}function runNewmanCLI(_0x17542d){const _0x5a40e7=a42_0x1b4269,_0x24fca9={'iBtys':function(_0x2d37d9,_0x4fb754){return _0x2d37d9>_0x4fb754;},'kfiWk':function(_0x37155d,_0x764da){return _0x37155d(_0x764da);},'uhvUu':function(_0x6a7f1f,_0x567814,_0xbd7c62){return _0x6a7f1f(_0x567814,_0xbd7c62);},'fXyQW':_0x5a40e7(0x200),'Gwqnm':_0x5a40e7(0x1fb),'UsEZI':'module','JEMDt':'package.json','erjtm':_0x5a40e7(0x1cb),'ADkcj':'node','zunKX':function(_0x372aca,_0x58e62){return _0x372aca+_0x58e62;},'jUyQy':_0x5a40e7(0x224)};return new Promise(_0x264502=>{const _0x2288b8=_0x5a40e7,_0x4e7681={'zboTx':function(_0x25edbb,_0x59bd6d){return _0x24fca9['iBtys'](_0x25edbb,_0x59bd6d);},'zzrzz':function(_0x1e0cc4,_0x4e68c5){const _0x5de1c3=a42_0xba3f;return _0x24fca9[_0x5de1c3(0x218)](_0x1e0cc4,_0x4e68c5);},'ChZUe':function(_0x4073c2,_0x1ece31,_0x1fa852){const _0x279a41=a42_0xba3f;return _0x24fca9[_0x279a41(0x1de)](_0x4073c2,_0x1ece31,_0x1fa852);}};let _0x20d90a;try{_0x20d90a=helper['requireModule'](_0x24fca9[_0x2288b8(0x1da)],_0x24fca9[_0x2288b8(0x1da)]);}catch(_0x44dfd0){return logger[_0x2288b8(0x22a)](_0x24fca9['Gwqnm']),_0x24fca9['kfiWk'](_0x264502,0x1);}const _0x212a55=_0x20d90a[_0x2288b8(0x229)];_0x20d90a[_0x2288b8(0x229)]=function(_0x5a7555,_0xbeda7f){const _0x29b347=_0x2288b8;return _0x20d90a[_0x29b347(0x229)]=_0x212a55,_0x212a55['call'](_0x20d90a,_0x5a7555,(_0x342890,_0x4d544b)=>{const _0x2e806e=_0x29b347,_0x1744bd=_0x4d544b&&_0x4d544b[_0x2e806e(0x229)]&&(_0x4d544b[_0x2e806e(0x229)][_0x2e806e(0x22a)]||_0x4d544b[_0x2e806e(0x229)]['failures']&&_0x4e7681[_0x2e806e(0x209)](_0x4d544b[_0x2e806e(0x229)][_0x2e806e(0x1df)][_0x2e806e(0x1e7)],0x0));_0x4e7681[_0x2e806e(0x1f7)](_0x264502,_0x1744bd?0x1:0x0),_0xbeda7f&&_0x4e7681['ChZUe'](_0xbeda7f,_0x342890,_0x4d544b);});};try{const _0x3443af=_0x24fca9[_0x2288b8(0x218)](require,_0x24fca9[_0x2288b8(0x1ca)])[_0x2288b8(0x1ec)](path[_0x2288b8(0x1d4)](process[_0x2288b8(0x205)](),_0x24fca9['JEMDt']));_0x24fca9['kfiWk'](_0x3443af,_0x24fca9[_0x2288b8(0x1db)])([_0x24fca9[_0x2288b8(0x1f2)],_0x24fca9[_0x2288b8(0x1da)]][_0x2288b8(0x1e3)](_0x17542d));}catch(_0x423d08){_0x20d90a[_0x2288b8(0x229)]=_0x212a55,logger[_0x2288b8(0x22a)](_0x24fca9[_0x2288b8(0x1fe)](_0x24fca9['jUyQy'],_0x423d08['message'])),_0x24fca9[_0x2288b8(0x218)](_0x264502,0x1);}});}function runNewmanScript(_0x13d513,_0xdda318){const _0x571ea5=a42_0x1b4269,_0x4499d8={'yWqQR':function(_0x3ec834,_0x5b221d){return _0x3ec834(_0x5b221d);},'wmDDI':function(_0x3ec6e0,_0x3a895e){return _0x3ec6e0||_0x3a895e;},'slgkc':function(_0x587bd1,_0x1d5598,_0xc26c52,_0x1cc02a){return _0x587bd1(_0x1d5598,_0xc26c52,_0x1cc02a);},'kNvBr':_0x571ea5(0x231),'vEBNM':function(_0xb0ccf1,_0x2dddfe){return _0xb0ccf1||_0x2dddfe;},'hAvLx':'inherit','rdTUf':_0x571ea5(0x22f)};return new Promise(function(_0x6fb0a4){const _0x37df07=_0x571ea5,_0x5cb1fb=_0x4499d8[_0x37df07(0x204)](fork,path[_0x37df07(0x1d4)](__dirname,_0x4499d8[_0x37df07(0x20b)]),[_0x13d513,_0x4499d8[_0x37df07(0x22c)](String,_0x4499d8[_0x37df07(0x21c)](_0xdda318,0x0))],{'stdio':_0x4499d8['hAvLx'],'env':Object[_0x37df07(0x235)]({},process['env'])});_0x5cb1fb['on'](_0x4499d8[_0x37df07(0x201)],function(_0x4cba85){const _0x4a7cdb=_0x37df07;_0x4499d8[_0x4a7cdb(0x22c)](_0x6fb0a4,_0x4499d8[_0x4a7cdb(0x1e1)](_0x4cba85,0x0));});});}function hasO11yBuild(){const _0x297710=a42_0x1b4269,_0x204099={};_0x204099['AGPaf']=function(_0x5c8bbd,_0x7cd799){return _0x5c8bbd!==_0x7cd799;},_0x204099['JWFby']='null';const _0x396f19=_0x204099;return!!(BrowserstackCLI[_0x297710(0x1d8)]||process[_0x297710(0x21e)][_0x297710(0x20e)]&&_0x396f19[_0x297710(0x222)](process[_0x297710(0x21e)]['BROWSERSTACK_TESTHUB_JWT'],_0x396f19[_0x297710(0x21b)]));}function runWithoutObservability(_0x301658,_0x548ee4){const _0x49cc01=a42_0x1b4269,_0x3971fd={'rnPCZ':function(_0x3a983e,_0x326e5b){return _0x3a983e(_0x326e5b);}};if(_0x301658)return _0x3971fd[_0x49cc01(0x1d9)](require,path[_0x49cc01(0x1d6)](_0x301658)),0x0;return _0x3971fd[_0x49cc01(0x1d9)](runNewmanCLI,_0x548ee4);}module[a42_0x1b4269(0x1fa)]=async function(_0x5ec699,_0x1cadc1,_0x3fddab){const _0x26202e=a42_0x1b4269,_0x2ed506={'NBXQe':_0x26202e(0x203),'SelmS':function(_0x1debb2,_0x5be3e9){return _0x1debb2===_0x5be3e9;},'iVkTN':_0x26202e(0x234),'MkTAJ':function(_0x364063,_0x53d69,_0x3db59f){return _0x364063(_0x53d69,_0x3db59f);},'JSgjy':function(_0x48d531,_0x2e54b8){return _0x48d531!=_0x2e54b8;},'KkdzT':_0x26202e(0x1d2),'DcoOg':_0x26202e(0x200),'MOirg':function(_0x2ad715,_0x2e78f5){return _0x2ad715+_0x2e78f5;},'KQbTz':'Failed\x20to\x20bootstrap\x20CLI:\x20','yDWPs':'Failed\x20to\x20launch\x20build:\x20','ikpDi':function(_0x472ede){return _0x472ede();},'HTTDs':_0x26202e(0x20c),'MnEss':function(_0x7a16ce,_0x1c1d60){return _0x7a16ce(_0x1c1d60);},'gIDvl':function(_0x51534d){return _0x51534d();},'WSlIO':function(_0x599d95){return _0x599d95();},'OyAju':_0x26202e(0x1f3)},_0x1cb905=_0x1cadc1[_0x26202e(0x1c3)](0x1),_0x4a1e54=_0x1cb905[0x0]&&_0x1cb905[0x0][_0x26202e(0x1e9)](_0x2ed506['NBXQe'])?_0x1cb905[0x0]:null;if(!_0x3fddab[_0x26202e(0x1f6)]||_0x2ed506['SelmS'](_0x3fddab[_0x26202e(0x1f6)][_0x26202e(0x1d7)],![])||_0x2ed506[_0x26202e(0x1c7)](_0x3fddab[_0x26202e(0x1f6)][_0x26202e(0x1d7)],_0x2ed506[_0x26202e(0x1f4)])){process[_0x26202e(0x1fd)]=await _0x2ed506[_0x26202e(0x228)](runWithoutObservability,_0x4a1e54,_0x1cb905)||0x0;return;}process[_0x26202e(0x21e)][_0x26202e(0x1d1)]=_0x2ed506['iVkTN'],process['env'][_0x26202e(0x1e8)]=_0x2ed506[_0x26202e(0x1f4)],process[_0x26202e(0x21e)][_0x26202e(0x1cd)]=_0x2ed506[_0x26202e(0x208)](_0x3fddab[_0x26202e(0x1f6)][_0x26202e(0x1d7)],null)?_0x3fddab[_0x26202e(0x1f6)][_0x26202e(0x1d7)]:_0x2ed506['KkdzT'],CLIUtils[_0x26202e(0x1d3)](_0x2ed506[_0x26202e(0x1cf)],_0x2ed506[_0x26202e(0x1cf)]),BrowserstackCLI[_0x26202e(0x1dd)]()[_0x26202e(0x212)](_0x3fddab[_0x26202e(0x1f6)],_0x3fddab[_0x26202e(0x21a)],_0x3fddab['cliConfig']);try{await BrowserstackCLI['getInstance']()[_0x26202e(0x1f9)]();}catch(_0x30adf0){logger[_0x26202e(0x22a)](_0x2ed506[_0x26202e(0x214)](_0x2ed506[_0x26202e(0x226)],_0x30adf0['message']||_0x30adf0));}if(!BrowserstackCLI[_0x26202e(0x1dd)]()[_0x26202e(0x202)]())try{await TestHubHandler[_0x26202e(0x21f)](FRAMEWORKS['NEWMAN'],_0x3fddab);}catch(_0x387139){logger[_0x26202e(0x22a)](_0x2ed506[_0x26202e(0x214)](_0x2ed506[_0x26202e(0x1d5)],_0x387139[_0x26202e(0x21d)]||_0x387139));}!_0x2ed506[_0x26202e(0x22e)](hasO11yBuild)&&logger[_0x26202e(0x20d)](_0x2ed506['HTTDs']);_0x2ed506[_0x26202e(0x22e)](registerBrowserStackReporter);let _0x146b61;_0x4a1e54?_0x146b61=await _0x2ed506[_0x26202e(0x228)](runNewmanScript,_0x4a1e54,_0x3fddab['config'][_0x26202e(0x1e0)]):_0x146b61=await _0x2ed506[_0x26202e(0x227)](runNewmanCLI,_0x2ed506[_0x26202e(0x227)](injectReporterIntoArgs,_0x1cb905));try{await TestHubHandler[_0x26202e(0x223)]();}catch(_0x476ed1){}try{await BrowserstackCLI[_0x26202e(0x1dd)]()[_0x26202e(0x223)]();}catch(_0x11e9f3){}try{await RequestQueueHandler[_0x26202e(0x1dd)]()[_0x26202e(0x1ff)]();}catch(_0x612765){}if(_0x2ed506[_0x26202e(0x236)](hasO11yBuild))try{_0x2ed506[_0x26202e(0x22b)](printBuildLink);}catch(_0x3a4103){}else logger['warn'](_0x2ed506[_0x26202e(0x1ed)]);process[_0x26202e(0x1fd)]=_0x146b61;};function a42_0x2dae(){const _0x5dab35=['reporter','bootstrap','exports','Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','AygEt','exitCode','zunKX','shutdown','newman','rdTUf','isRunning','.js','slgkc','cwd','MPnaD','58336gXyzyK','JSgjy','zboTx','mbiVY','kNvBr','[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','warn','BROWSERSTACK_TESTHUB_JWT','344617fnJsXP','cli,browserstack','push','setBrowserstackConfig','index.js','MOirg','../v2/browserstackCLI','../../helpers/test-observability/utils','call','kfiWk','_resolveFilename','configPath','JWFby','vEBNM','message','env','launchBuild','RTrQf','browserstack','AGPaf','stop','Newman\x20CLI\x20not\x20found:\x20','9syniPx','KQbTz','MnEss','MkTAJ','run','error','WSlIO','yWqQR','../../helpers/logger','ikpDi','close','yLtPq','scriptRunner.js','OryAW','--reporters','false','assign','gIDvl','slice','child_process','../../helpers/testhub/testhubHandler','KkpUp','SelmS','2363196DiVtSj','SvueT','UsEZI','newman/bin/newman','306084OTbVcw','BROWSERSTACK_TEST_OBSERVABILITY_YML','40221YCMLKx','DcoOg','OZtcI','BROWSERSTACK_AUTOMATION','true','setFrameworkDetail','join','yDWPs','resolve','testObservability','O11yHashedID','rnPCZ','fXyQW','erjtm','module','getInstance','uhvUu','failures','parallelsPerPlatform','wmDDI','Bmfan','concat','4707787WGFERH','2322680upRHxx','rtLzA','length','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','endsWith','winstonLogger','3464mgUQWy','createRequire','OyAju','lgkkQ','../../helpers/test-observability/requestQueueHandler','SXmLY','newman-reporter-browserstack','ADkcj','[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','iVkTN','../../helpers/helper','config','zzrzz'];a42_0x2dae=function(){return _0x5dab35;};return a42_0x2dae();}
@@ -1 +1 @@
1
- const a43_0x52c6cb=a43_0x2c2d;(function(_0x3b7047,_0x261c4d){const _0x9802f9=a43_0x2c2d,_0xca3c3b=_0x3b7047();while(!![]){try{const _0x4494c5=parseInt(_0x9802f9(0xd6))/0x1*(-parseInt(_0x9802f9(0xd1))/0x2)+parseInt(_0x9802f9(0xcd))/0x3*(-parseInt(_0x9802f9(0xd7))/0x4)+-parseInt(_0x9802f9(0xd9))/0x5*(parseInt(_0x9802f9(0xca))/0x6)+-parseInt(_0x9802f9(0xdc))/0x7+parseInt(_0x9802f9(0xd5))/0x8*(parseInt(_0x9802f9(0xcf))/0x9)+-parseInt(_0x9802f9(0xce))/0xa*(parseInt(_0x9802f9(0xc7))/0xb)+parseInt(_0x9802f9(0xc8))/0xc*(parseInt(_0x9802f9(0xd8))/0xd);if(_0x4494c5===_0x261c4d)break;else _0xca3c3b['push'](_0xca3c3b['shift']());}catch(_0xae7992){_0xca3c3b['push'](_0xca3c3b['shift']());}}}(a43_0x3811,0xd4c7d));function a43_0x3811(){const _0x41c2df=['6wOMxIp','toLowerCase','isNewman','BROWSERSTACK_FRAMEWORK','481408JBdCpN','336529PTZbQt','8332QXKDuB','76153597CbRdaY','5RVwTTa','newman','env','8793505pSwrKl','ZQxlT','gFOwC','44VcREsB','12VMwWDT','QPpUx','3183306vLTfZL','framework','exports','1779OLYGlk','3590640hONBci','72ghkOjo','Tvida'];a43_0x3811=function(){return _0x41c2df;};return a43_0x3811();}function isNewman(_0x74b987){const _0x4d8ca9=a43_0x2c2d,_0x38e51b={'tTshW':function(_0x5d65e1,_0x3c25d3){return _0x5d65e1===_0x3c25d3;},'gFOwC':_0x4d8ca9(0xda),'Tvida':function(_0x2c2278,_0x54983f){return _0x2c2278===_0x54983f;},'ZQxlT':function(_0xbfd661,_0x47bcf0){return _0xbfd661(_0x47bcf0);},'QPpUx':function(_0x5841e4,_0xb9cde1){return _0x5841e4||_0xb9cde1;}},_0x20f1be=process[_0x4d8ca9(0xdb)][_0x4d8ca9(0xd4)]||'';let _0xa27908='';_0x74b987&&_0x74b987[_0x4d8ca9(0xcb)]&&(_0xa27908=_0x74b987[_0x4d8ca9(0xcb)]);const _0x2f8c9a=_0x38e51b['tTshW'](_0x20f1be['toLowerCase'](),_0x38e51b[_0x4d8ca9(0xc6)]),_0x355186=_0x38e51b[_0x4d8ca9(0xd0)](_0x38e51b[_0x4d8ca9(0xdd)](String,_0xa27908)[_0x4d8ca9(0xd2)](),_0x38e51b[_0x4d8ca9(0xc6)]);return _0x38e51b[_0x4d8ca9(0xc9)](_0x2f8c9a,_0x355186);}function a43_0x2c2d(_0x2b6b07,_0x230168){const _0x3811b6=a43_0x3811();return a43_0x2c2d=function(_0x2c2d72,_0x4c0d61){_0x2c2d72=_0x2c2d72-0xc6;let _0x2fc853=_0x3811b6[_0x2c2d72];return _0x2fc853;},a43_0x2c2d(_0x2b6b07,_0x230168);};const a43_0x4c27bf={};a43_0x4c27bf[a43_0x52c6cb(0xd3)]=isNewman,module[a43_0x52c6cb(0xcc)]=a43_0x4c27bf;
1
+ const a43_0x4b5c4e=a43_0x2392;(function(_0x4bd7e6,_0x18c2b5){const _0x32a890=a43_0x2392,_0x46c5bc=_0x4bd7e6();while(!![]){try{const _0x26b8bc=parseInt(_0x32a890(0xee))/0x1*(parseInt(_0x32a890(0xe3))/0x2)+-parseInt(_0x32a890(0xe2))/0x3+-parseInt(_0x32a890(0xe1))/0x4+parseInt(_0x32a890(0xe6))/0x5+parseInt(_0x32a890(0xed))/0x6+parseInt(_0x32a890(0xe9))/0x7*(-parseInt(_0x32a890(0xe7))/0x8)+-parseInt(_0x32a890(0xf1))/0x9*(parseInt(_0x32a890(0xe0))/0xa);if(_0x26b8bc===_0x18c2b5)break;else _0x46c5bc['push'](_0x46c5bc['shift']());}catch(_0x346c5b){_0x46c5bc['push'](_0x46c5bc['shift']());}}}(a43_0x587a,0x645e0));function a43_0x587a(){const _0x2cd3ee=['13iITqKF','BROWSERSTACK_FRAMEWORK','gnJOb','3299841OnyTUZ','10CKzUQz','1908368TfiaoS','271596wTFXsE','86374BcdnLg','toLowerCase','framework','1501970HYzuiX','16GLilWr','hIIjp','435001COsZEE','exports','env','Kzstm','3647028VgfUJu'];a43_0x587a=function(){return _0x2cd3ee;};return a43_0x587a();}function a43_0x2392(_0x1dc3c9,_0x5da01f){const _0x587a44=a43_0x587a();return a43_0x2392=function(_0x23928a,_0x3ab308){_0x23928a=_0x23928a-0xe0;let _0x230210=_0x587a44[_0x23928a];return _0x230210;},a43_0x2392(_0x1dc3c9,_0x5da01f);}function isNewman(_0x25d30a){const _0x476e73=a43_0x2392,_0x149b17={'gnJOb':function(_0x2706aa,_0x33b354){return _0x2706aa===_0x33b354;},'hIIjp':'newman','Kzstm':function(_0x24ac77,_0x27b4fe){return _0x24ac77(_0x27b4fe);},'kaLle':function(_0x4cf657,_0x33c69b){return _0x4cf657||_0x33c69b;}},_0x46aa8c=process[_0x476e73(0xeb)][_0x476e73(0xef)]||'';let _0x330e67='';_0x25d30a&&_0x25d30a[_0x476e73(0xe5)]&&(_0x330e67=_0x25d30a[_0x476e73(0xe5)]);const _0x66ccc5=_0x149b17['gnJOb'](_0x46aa8c[_0x476e73(0xe4)](),_0x149b17[_0x476e73(0xe8)]),_0x33ebd6=_0x149b17[_0x476e73(0xf0)](_0x149b17[_0x476e73(0xec)](String,_0x330e67)[_0x476e73(0xe4)](),_0x149b17[_0x476e73(0xe8)]);return _0x149b17['kaLle'](_0x66ccc5,_0x33ebd6);};const a43_0xb5b3c0={};a43_0xb5b3c0['isNewman']=isNewman,module[a43_0x4b5c4e(0xea)]=a43_0xb5b3c0;
@@ -1 +1 @@
1
- 'use strict';const a44_0x4e39a0=a44_0x1ea6;(function(_0x5437ca,_0xe8b8a1){const _0x4b18bd=a44_0x1ea6,_0x3684fe=_0x5437ca();while(!![]){try{const _0x39834d=-parseInt(_0x4b18bd(0x249))/0x1*(-parseInt(_0x4b18bd(0x1d1))/0x2)+-parseInt(_0x4b18bd(0x244))/0x3*(-parseInt(_0x4b18bd(0x2a9))/0x4)+parseInt(_0x4b18bd(0x2b8))/0x5*(parseInt(_0x4b18bd(0x1e3))/0x6)+parseInt(_0x4b18bd(0x274))/0x7*(parseInt(_0x4b18bd(0x20e))/0x8)+-parseInt(_0x4b18bd(0x27f))/0x9*(parseInt(_0x4b18bd(0x279))/0xa)+parseInt(_0x4b18bd(0x21c))/0xb*(-parseInt(_0x4b18bd(0x1fc))/0xc)+parseInt(_0x4b18bd(0x2aa))/0xd*(parseInt(_0x4b18bd(0x242))/0xe);if(_0x39834d===_0xe8b8a1)break;else _0x3684fe['push'](_0x3684fe['shift']());}catch(_0x79ab17){_0x3684fe['push'](_0x3684fe['shift']());}}}(a44_0x33be,0xd9bb7));const path=require(a44_0x4e39a0(0x2a7)),{v4:uuidv4}=require('uuid'),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{debug}=require(a44_0x4e39a0(0x266)),logger=require(a44_0x4e39a0(0x24c))[a44_0x4e39a0(0x296)],BrowserstackCLI=require(a44_0x4e39a0(0x29e)),GrpcClient=require(a44_0x4e39a0(0x2af)),TestFrameworkState=require(a44_0x4e39a0(0x205)),HookState=require(a44_0x4e39a0(0x229)),LOG_LEVELS=[a44_0x4e39a0(0x1ee),a44_0x4e39a0(0x26a),'ERROR',a44_0x4e39a0(0x23a),'TRACE'];function isCLIRunning(){const _0x82cbf5=a44_0x4e39a0;try{return BrowserstackCLI[_0x82cbf5(0x265)]()[_0x82cbf5(0x1f8)]();}catch(_0x59281a){return![];}}function getParentTitles(_0x1e212){const _0x23a7e0=a44_0x4e39a0,_0x3cd256={'hdRPS':function(_0x1a8f8f,_0x5b2484){return _0x1a8f8f(_0x5b2484);},'UOtCI':function(_0x27214e,_0x43f52f){return _0x27214e(_0x43f52f);}},_0x9c8c5=[],_0x5af62b=_0x1e212[_0x23a7e0(0x291)]();return _0x5af62b&&_0x9c8c5[_0x23a7e0(0x1ef)]['apply'](_0x9c8c5,_0x3cd256[_0x23a7e0(0x2b3)](getParentTitles,_0x5af62b)),_0x1e212[_0x23a7e0(0x26b)]&&_0x9c8c5[_0x23a7e0(0x1ef)](_0x3cd256['UOtCI'](String,_0x1e212[_0x23a7e0(0x26b)])),_0x9c8c5;}function normalizeLogLevel(_0x2844f5){const _0x4b653e=a44_0x4e39a0,_0x4280a2={};_0x4280a2['qcAXo']=_0x4b653e(0x1ee),_0x4280a2['vIHNz']=function(_0x5a0956,_0x39e376){return _0x5a0956!==_0x39e376;};const _0x5119a0=_0x4280a2;if(!_0x2844f5)return _0x5119a0[_0x4b653e(0x203)];const _0x1e871e=_0x2844f5[_0x4b653e(0x233)]();return _0x5119a0[_0x4b653e(0x295)](LOG_LEVELS[_0x4b653e(0x283)](_0x1e871e),-0x1)?_0x1e871e:_0x5119a0[_0x4b653e(0x203)];}function resolveCollectionFile(_0x3c2351,_0x22b89d){const _0x5592ae=a44_0x4e39a0,_0x3ec475={};_0x3ec475[_0x5592ae(0x264)]=function(_0x3440aa,_0x1076fd){return _0x3440aa===_0x1076fd;},_0x3ec475['ldObk']='string',_0x3ec475[_0x5592ae(0x293)]=_0x5592ae(0x28e),_0x3ec475[_0x5592ae(0x246)]=function(_0x30052b,_0x20714c){return _0x30052b!==_0x20714c;},_0x3ec475['qbFjk']=function(_0x4ea165,_0x3bc79b){return _0x4ea165<_0x3bc79b;},_0x3ec475[_0x5592ae(0x22f)]=function(_0x24b276,_0x20481f){return _0x24b276+_0x20481f;},_0x3ec475['xjljY']=function(_0x44db1a,_0x54e092){return _0x44db1a+_0x54e092;},_0x3ec475[_0x5592ae(0x206)]=_0x5592ae(0x219),_0x3ec475[_0x5592ae(0x27c)]='collection.json';const _0xec6ca8=_0x3ec475;try{if(_0x22b89d&&_0x22b89d[_0x5592ae(0x269)])return path[_0x5592ae(0x1d2)](process[_0x5592ae(0x2b4)](),path['resolve'](_0x22b89d[_0x5592ae(0x269)]));const _0x4f5cfd=_0x3c2351[_0x5592ae(0x22b)];if(_0xec6ca8['kKspX'](typeof _0x4f5cfd,_0xec6ca8[_0x5592ae(0x214)]))return path['relative'](process['cwd'](),path[_0x5592ae(0x2a6)](_0x4f5cfd));const _0x102cb1=process[_0x5592ae(0x223)][_0x5592ae(0x283)](_0xec6ca8[_0x5592ae(0x293)]);if(_0xec6ca8[_0x5592ae(0x246)](_0x102cb1,-0x1)&&_0xec6ca8[_0x5592ae(0x2b6)](_0xec6ca8[_0x5592ae(0x22f)](_0x102cb1,0x1),process[_0x5592ae(0x223)][_0x5592ae(0x1d0)])){const _0x70f458=process[_0x5592ae(0x223)][_0xec6ca8[_0x5592ae(0x1e8)](_0x102cb1,0x1)];if(_0x70f458&&!_0x70f458['startsWith']('-'))return path[_0x5592ae(0x1d2)](process[_0x5592ae(0x2b4)](),path['resolve'](_0x70f458));}}catch(_0x23b146){}return logger[_0x5592ae(0x2bf)](_0xec6ca8['cGfui']),_0xec6ca8['eUqCT'];}function resolveCollectionName(_0x5459aa){const _0x5c0bc7=a44_0x4e39a0,_0x4c6579={};_0x4c6579[_0x5c0bc7(0x299)]=function(_0xd9c342,_0x217971){return _0xd9c342===_0x217971;},_0x4c6579[_0x5c0bc7(0x215)]=_0x5c0bc7(0x23d);const _0x3fa521=_0x4c6579;try{const _0xef4b1b=_0x5459aa[_0x5c0bc7(0x22b)];if(_0xef4b1b&&_0x3fa521[_0x5c0bc7(0x299)](typeof _0xef4b1b,_0x3fa521['Xnwvq']))return _0xef4b1b[_0x5c0bc7(0x26b)]||_0xef4b1b['info']&&_0xef4b1b['info'][_0x5c0bc7(0x26b)]||null;}catch(_0x1c55a9){}return null;}function a44_0x33be(){const _0x2f7128=['[Newman\x20Reporter]\x20emitLog\x20error:\x20','tvaOo','failure','getTestFramework','durationMs','PRE','roRSj','YpqQC','expanded','bQpFJ','510kUwVLg','evefu','max','request','wDEUu','xjljY','hkBrF','listen','hLvOS','JxfyE','code','INFO','push','HTTP','qtcpF','iDMit','hostname','uploadEventData','jdKdF','kind','GET','isRunning','script','startTimestamp','level','84jzOeJc','gfBSa','exception','cursor','[Newman\x20Reporter]\x20Error\x20in\x20request:\x20','collectionName','pIJXQ','qcAXo','finishedAt','../../v2/state/testFrameworkState','cGfui','tztyY','toString','failureType','http://','[Newman\x20Reporter]\x20Error\x20in\x20console:\x20','uuid','LDGdC','16ZwRpLj','delete','lastResponseCode','pathname','event','TzKTv','ldObk','Xnwvq','kofcC','rnkMk','ERROR','[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json','response','eDxUc','613569sLvJNI','StKmy','hVjhl','CRrDW','\x20(no\x20assertions)','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','EMZiU','argv','MEigd','HTTP\x20Status:\x20','startedAt','TEST_LOG','[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20','../../v2/state/hookState','cHUuM','collection','lKKOY','N/A','identifier','EJwlX','failure_reason_expanded','JBIUb','scopes','toUpperCase','http_response','duration_ms','ZCWnP','newman','location','CNUpO','DEBUG','testFrameworkName','NujSl','object','ovblC','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','bufferedLogs','Ztlkc','141134HHQMSc','httpLog','174oDrqdP','join','FxTGF','search','testFrameworkVersion','193ujOUJU','status_code','logs','../../../helpers/logger','TestRunStarted','McmGE','item','kFcre','WIyQP','PXHte','fUbCQ','err','beforeIteration','exports','KZLRI','JLKIa','http','toISOString','messages','method','url','sGngu','assertion','[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20','OrwCg','now','eJhXg','kKspX','getInstance','../../../helpers/test-observability/utils','mkKQL','assertions','collectionPath','WARN','name','OcBXM','gRuud','getTime','platformIndex','failure_backtrace','trackEvent','logCreatedEvent','message','22953XmPPcT','passed','AssertionError','result','BhWsM','10LwnkCC','AyxCA','IdrZP','eUqCT','JKczA','ubCvR','13735935qxKiDb','execution','stack','error','indexOf','ZvTrd','NGtEA','pid','failed','console','IJfMs','YLMhY','bs:addLog:','bbGmG','test_run_uuid','run','ZDLUq','host','parent','concat','GVxUw','ref','vIHNz','winstonLogger','Assertion\x20','TEST','yyeKZ','includes','tFkmm','OHhuy','sobbL','../../v2/browserstackCLI','timestamp','removeListener','fqxwl','sBcba','):\x20','snbAO','Script\x20error\x20(','resolve','path','Btqxl','48292zNRgYh','13lYEJwY','lBdbJ','failureReason','Exception:\x20','javascript','../../v2/grpcClient','pending','clear','EUnbt','hdRPS','cwd','rcIYt','qbFjk','responseTime','25095pCtHOz','OSMYV','POST','BCfTw','RlFGl','assert','PGtOo','info','\x20->\x20','DFjpd','startsWith','GXdir','length','17254rJBvnR','relative','forEach','get','pZwpO','set','kWSns','No\x20HTTP\x20response\x20received'];a44_0x33be=function(){return _0x2f7128;};return a44_0x33be();}function a44_0x1ea6(_0x451fea,_0x2a822d){const _0x33be56=a44_0x33be();return a44_0x1ea6=function(_0x1ea613,_0x1c1e88){_0x1ea613=_0x1ea613-0x1cd;let _0x2b0f59=_0x33be56[_0x1ea613];return _0x2b0f59;},a44_0x1ea6(_0x451fea,_0x2a822d);}function emitTest(_0x4ada48,_0x483847,_0x14474f,_0xfd190a,_0x118fd7){const _0x4b7bb2=a44_0x4e39a0,_0xf93be7={'YLMhY':function(_0x32e21d){return _0x32e21d();},'TzKTv':_0x4b7bb2(0x2b0),'HtnrZ':function(_0x21325e,_0x4187f0){return _0x21325e(_0x4187f0);},'BCfTw':_0x4b7bb2(0x237),'EpDFw':_0x4b7bb2(0x2ae),'ZDLUq':function(_0x1a830d,_0x424b1b){return _0x1a830d!=_0x424b1b;},'Exrqq':function(_0x4c509a,_0x5e5671){return _0x4c509a===_0x5e5671;},'lBdbJ':_0x4b7bb2(0x24d),'sHbsw':'TestRunFinished'};if(_0xf93be7[_0x4b7bb2(0x28a)](isCLIRunning))try{const _0x191e1b=BrowserstackCLI[_0x4b7bb2(0x265)]()[_0x4b7bb2(0x1dc)]();if(!_0x191e1b)return;_0x191e1b[_0x4b7bb2(0x271)](TestFrameworkState[_0x4b7bb2(0x298)],_0x4ada48,{'test':{'uuid':_0x483847[_0x4b7bb2(0x20c)],'name':_0x483847[_0x4b7bb2(0x26b)],'scopes':_0x14474f['scopes'],'scope':_0x14474f['scopes'][_0x4b7bb2(0x245)]('\x20'),'file_path':_0xfd190a,'location':_0x14474f[_0x4b7bb2(0x201)],'started_at':_0x14474f[_0x4b7bb2(0x226)],'finished_at':_0x118fd7[_0x4b7bb2(0x204)]||null,'result':_0x118fd7['result']||_0xf93be7['TzKTv'],'failure':_0x118fd7[_0x4b7bb2(0x1db)]||[],'failure_type':_0x118fd7['failureType']||null,'failure_reason':_0x118fd7[_0x4b7bb2(0x2ac)]||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x5c09d5){_0xf93be7['HtnrZ'](debug,'[Newman\x20Reporter]\x20emitTest\x20error:\x20'+_0x5c09d5);}else{const _0x30edd9={'uuid':_0x483847[_0x4b7bb2(0x20c)],'name':_0x483847[_0x4b7bb2(0x26b)],'framework':_0xf93be7[_0x4b7bb2(0x2bb)],'body':{'lang':_0xf93be7['EpDFw'],'code':null},'scope':_0x14474f[_0x4b7bb2(0x232)][_0x4b7bb2(0x245)]('\x20'),'scopes':_0x14474f['scopes'],'identifier':_0x483847[_0x4b7bb2(0x22e)],'file_name':_0x14474f['collectionName'],'vc_filepath':_0x14474f[_0x4b7bb2(0x238)],'location':_0x14474f[_0x4b7bb2(0x238)],'started_at':_0x14474f[_0x4b7bb2(0x226)],'finished_at':_0x118fd7[_0x4b7bb2(0x204)]||null,'duration_in_ms':_0xf93be7[_0x4b7bb2(0x28f)](_0x118fd7[_0x4b7bb2(0x1dd)],null)?Math[_0x4b7bb2(0x1e5)](0x0,_0x118fd7['durationMs']):null,'result':_0x118fd7[_0x4b7bb2(0x277)]||_0xf93be7[_0x4b7bb2(0x213)],'failure_reason':_0x118fd7[_0x4b7bb2(0x2ac)]||null,'failure_type':_0x118fd7[_0x4b7bb2(0x209)]||null,'failure':_0x118fd7['failure']||[],'retry_of':null,'hooks':[]};_0x30edd9[_0x4b7bb2(0x1db)][0x0]&&(_0x30edd9[_0x4b7bb2(0x270)]=_0x30edd9[_0x4b7bb2(0x1db)][0x0]['backtrace'],_0x30edd9[_0x4b7bb2(0x230)]=_0x30edd9['failure'][0x0][_0x4b7bb2(0x1e1)]);const _0x4aa06b=_0xf93be7['Exrqq'](_0x4ada48,HookState['PRE'])?_0xf93be7[_0x4b7bb2(0x2ab)]:_0xf93be7['sHbsw'],_0x4ab326={};_0x4ab326['event_type']=_0x4aa06b,_0x4ab326['test_run']=_0x30edd9,SessionHandler[_0x4b7bb2(0x1f4)](_0x4ab326);}}function emitLog(_0x4745bf,_0x4b41e2){const _0x175ace=a44_0x4e39a0,_0x3052c8={'fUbCQ':'TEST_LOG','CRrDW':function(_0x37466d){return _0x37466d();},'bQpFJ':function(_0x284a9f,_0x1469ba){return _0x284a9f===_0x1469ba;},'kWSns':_0x175ace(0x1f0),'NGtEA':'newman','wDEUu':'TEST','hQikI':'INFO','LtGIH':function(_0x4f807f,_0x57a1ae){return _0x4f807f(_0x57a1ae);},'bbGmG':function(_0x129033,_0x56bb33){return _0x129033+_0x56bb33;},'ubCvR':_0x175ace(0x1d9),'NipEQ':'LogCreated'},_0x32a3b5=_0x4b41e2['kind']||_0x3052c8[_0x175ace(0x253)],_0x1226e6=_0x4b41e2[_0x175ace(0x29f)]||new Date()[_0x175ace(0x25a)]();if(_0x3052c8[_0x175ace(0x21f)](isCLIRunning))try{const _0x4c3385=_0x3052c8[_0x175ace(0x1e2)](_0x32a3b5,_0x3052c8[_0x175ace(0x1d7)])?JSON['stringify'](_0x4b41e2):_0x4b41e2['message']||'',_0xaa3bdb={};_0xaa3bdb[_0x175ace(0x26f)]=0x0,_0xaa3bdb[_0x175ace(0x23b)]=_0x3052c8[_0x175ace(0x285)],_0xaa3bdb[_0x175ace(0x248)]='',_0xaa3bdb['testFrameworkState']=_0x3052c8[_0x175ace(0x1e7)],_0xaa3bdb['logs']=[{'uuid':_0x4745bf,'timestamp':_0x1226e6,'kind':_0x32a3b5,'level':_0x4b41e2[_0x175ace(0x1fb)]||_0x3052c8['hQikI'],'message':_0x4c3385}],GrpcClient[_0x175ace(0x265)]()[_0x175ace(0x272)](_0xaa3bdb);}catch(_0x4f73a1){_0x3052c8['LtGIH'](debug,_0x3052c8[_0x175ace(0x28c)](_0x3052c8[_0x175ace(0x27e)],_0x4f73a1));}else{const _0x411bcd={};_0x411bcd[_0x175ace(0x28d)]=_0x4745bf,_0x411bcd[_0x175ace(0x29f)]=_0x1226e6,_0x411bcd[_0x175ace(0x1fb)]=_0x4b41e2[_0x175ace(0x1fb)]||null,_0x411bcd[_0x175ace(0x273)]=_0x4b41e2[_0x175ace(0x273)]||null,_0x411bcd[_0x175ace(0x1f6)]=_0x32a3b5,_0x411bcd[_0x175ace(0x234)]=_0x4b41e2[_0x175ace(0x234)]||{};const _0x5274f4={};_0x5274f4['event_type']=_0x3052c8['NipEQ'],_0x5274f4[_0x175ace(0x24b)]=[_0x411bcd],SessionHandler[_0x175ace(0x1f4)](_0x5274f4);}}function BrowserStackNewmanReporter(_0x2adf03,_0x5496d5,_0x450b2b){const _0x1a709d=a44_0x4e39a0,_0x50be3c={'roRSj':function(_0x2c5f9a,_0xdbe92f,_0x1c083d){return _0x2c5f9a(_0xdbe92f,_0x1c083d);},'gRuud':function(_0x3d4447,_0x1598cf){return _0x3d4447(_0x1598cf);},'tztyY':function(_0x23308d,_0x53e770){return _0x23308d>_0x53e770;},'JxfyE':_0x1a709d(0x259),'fqxwl':function(_0x31fdd6,_0x4f1e99){return _0x31fdd6+_0x4f1e99;},'StKmy':_0x1a709d(0x1f7),'JBIUb':_0x1a709d(0x227),'DnKGh':function(_0x70f0){return _0x70f0();},'pZwpO':function(_0x5e14d6,_0x56f9d5){return _0x5e14d6||_0x56f9d5;},'cHUuM':function(_0x459ec5,_0x3508ac,_0x10addd,_0xf92490,_0x4fb824,_0x467d7a){return _0x459ec5(_0x3508ac,_0x10addd,_0xf92490,_0x4fb824,_0x467d7a);},'WIyQP':function(_0x12c4fe,_0xf94ac8){return _0x12c4fe===_0xf94ac8;},'XpvPp':function(_0x46c975,_0x1f8961){return _0x46c975>_0x1f8961;},'Ztlkc':'HTTP','MEigd':function(_0x3c7561,_0x15690b){return _0x3c7561+_0x15690b;},'ZvTrd':function(_0x58b9da,_0xf9668a){return _0x58b9da+_0xf9668a;},'CNUpO':function(_0x561b15,_0x362e5a){return _0x561b15+_0x362e5a;},'AyxCA':function(_0x2ee2b0,_0x4163e7){return _0x2ee2b0+_0x4163e7;},'OHhuy':function(_0x3b2889,_0x924416){return _0x3b2889+_0x924416;},'hLvOS':_0x1a709d(0x2c0),'PXHte':'ms)','IJfMs':_0x1a709d(0x1ee),'YpqQC':function(_0x5f3ea3,_0x53f914){return _0x5f3ea3>_0x53f914;},'snbAO':function(_0x5add19,_0x334755){return _0x5add19-_0x334755;},'PGtOo':function(_0x52fd8a,_0x3457d3){return _0x52fd8a(_0x3457d3);},'cZzUa':function(_0x19469d,_0x242a03){return _0x19469d(_0x242a03);},'IawLd':function(_0x110608,_0x3ea13b){return _0x110608&&_0x3ea13b;},'ovblC':function(_0x2725b0,_0x36615f){return _0x2725b0-_0x36615f;},'dJDKQ':function(_0x487d3b,_0xaa5116){return _0x487d3b+_0xaa5116;},'mkKQL':_0x1a709d(0x2ad),'OcBXM':_0x1a709d(0x218),'ZCWnP':function(_0x5288e8,_0x27a9dd){return _0x5288e8+_0x27a9dd;},'JsRfS':'[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','sBcba':function(_0x5a0763,_0x256377){return _0x5a0763>_0x256377;},'BhWsM':function(_0x1f2976,_0x59d48a){return _0x1f2976-_0x59d48a;},'IwnoD':'unknown','pIJXQ':function(_0x412e9e,_0x5d14bc,_0x2d83e2){return _0x412e9e(_0x5d14bc,_0x2d83e2);},'gfBSa':function(_0x4cdbad,_0x4b0396){return _0x4cdbad+_0x4b0396;},'eJhXg':_0x1a709d(0x2a5),'DFjpd':_0x1a709d(0x2a3),'rcIYt':_0x1a709d(0x23f),'McmGE':_0x1a709d(0x287),'lKKOY':_0x1a709d(0x275),'OrwCg':function(_0x5a1f76,_0x1d63ec){return _0x5a1f76===_0x1d63ec;},'evefu':_0x1a709d(0x276),'PeHOj':_0x1a709d(0x2bd),'fcJBg':'UnhandledError','GTZQt':function(_0x4b4d2c,_0x57e033,_0x1edcdf){return _0x4b4d2c(_0x57e033,_0x1edcdf);},'IdrZP':function(_0x2c7714,_0x1676df){return _0x2c7714-_0x1676df;},'GXdir':function(_0x2a1f7b){return _0x2a1f7b();},'EMZiU':function(_0x4ea22d,_0x5388ba){return _0x4ea22d!=_0x5388ba;},'eDxUc':function(_0x1b6ebe,_0x52cb46){return _0x1b6ebe>=_0x52cb46;},'RlFGl':function(_0x13ffe7,_0x46d47b){return _0x13ffe7<_0x46d47b;},'sobbL':function(_0x38580b,_0x3be8fd){return _0x38580b||_0x3be8fd;},'qtcpF':_0x1a709d(0x22d),'uSsvK':function(_0x52cfc2,_0x33af95){return _0x52cfc2!=_0x33af95;},'NujSl':_0x1a709d(0x1d8),'RDyII':function(_0x42ba5e,_0x1704fc){return _0x42ba5e+_0x1704fc;},'hkBrF':function(_0x37ef9f,_0x10acc2){return _0x37ef9f+_0x10acc2;},'tvaOo':function(_0x5f0fc7,_0x37cfa4){return _0x5f0fc7+_0x37cfa4;},'fPUTq':function(_0x52d4a3,_0x8d3a57){return _0x52d4a3+_0x8d3a57;},'hVjhl':function(_0x43d004,_0xae803){return _0x43d004+_0xae803;},'sGngu':function(_0x3778bf,_0x112e90){return _0x3778bf+_0x112e90;},'kofcC':_0x1a709d(0x225),'KZLRI':function(_0x1498ee,_0xb60c2){return _0x1498ee||_0xb60c2;},'tFkmm':_0x1a709d(0x220),'JLKIa':function(_0x4a22b2,_0x3c3f4e){return _0x4a22b2(_0x3c3f4e);},'vhnqE':'done','iDMit':_0x1a709d(0x255),'kFcre':'beforeItem','rnkMk':_0x1a709d(0x1e6),'EUnbt':_0x1a709d(0x25f),'LDGdC':_0x1a709d(0x288),'rHvCi':_0x1a709d(0x1fe),'jdKdF':_0x1a709d(0x1f9),'DYwtm':_0x1a709d(0x24f)},_0x5a1f81=new Map();let _0xe3f462=null,_0x523b16=0x0;const _0x2c7a1f=_0x50be3c['pIJXQ'](resolveCollectionFile,_0x450b2b,_0x5496d5),_0x2fe6a0=_0x50be3c['gRuud'](resolveCollectionName,_0x450b2b)||_0x2c7a1f,_0x54857f=path['resolve'](_0x2c7a1f),_0x576c83=_0x1a709d(0x28b)+process[_0x1a709d(0x286)],_0x5d2daf=_0x318331=>{const _0x2389d6=_0x1a709d;try{_0xe3f462&&_0x50be3c[_0x2389d6(0x1df)](emitLog,_0xe3f462,_0x318331);}catch(_0x372dc1){_0x50be3c[_0x2389d6(0x26d)](debug,_0x2389d6(0x228)+_0x372dc1);}};process['on'](_0x576c83,_0x5d2daf),_0x2adf03['on'](_0x50be3c['vhnqE'],()=>{const _0x212a7f=_0x1a709d;process[_0x212a7f(0x2a0)](_0x576c83,_0x5d2daf),_0x5a1f81[_0x212a7f(0x2b1)]();}),_0x2adf03['on'](_0x50be3c[_0x1a709d(0x1f2)],(_0xc19efe,_0x339ee)=>{const _0x4e870d=_0x1a709d;_0x339ee&&_0x339ee[_0x4e870d(0x1ff)]&&(_0x523b16=_0x339ee[_0x4e870d(0x1ff)]['iteration']||0x0);}),_0x2adf03['on'](_0x50be3c[_0x1a709d(0x250)],(_0x1f9c37,_0xd8615f)=>{const _0x140f53=_0x1a709d;try{_0xe3f462=null;const _0x425946=_0xd8615f[_0x140f53(0x24f)],_0x461b4c=_0x425946[_0x140f53(0x291)]()?_0x50be3c[_0x140f53(0x26d)](getParentTitles,_0x425946[_0x140f53(0x291)]()):[],_0x3b98f3=_0x50be3c[_0x140f53(0x207)](_0x461b4c[_0x140f53(0x1d0)],0x1)?_0x461b4c['slice'](0x1):_0x461b4c,_0x3cbcff=_0xd8615f[_0x140f53(0x1ff)]&&_0xd8615f['cursor'][_0x140f53(0x294)],_0x565df8={'itemName':_0x425946[_0x140f53(0x26b)],'scopes':_0x3b98f3[_0x140f53(0x292)]([_0x425946[_0x140f53(0x26b)]]),'location':_0x2c7a1f,'collectionName':_0x2fe6a0,'startedAt':new Date()[_0x140f53(0x25a)](),'startTimestamp':Date[_0x140f53(0x262)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x5a1f81['set'](_0x425946['id']+'_'+_0x523b16,_0x565df8),_0x3cbcff&&_0x5a1f81[_0x140f53(0x1d6)](_0x3cbcff+'_'+_0x523b16,_0x565df8);}catch(_0x11376e){_0x50be3c['gRuud'](debug,_0x140f53(0x260)+_0x11376e);}}),_0x2adf03['on'](_0x50be3c[_0x1a709d(0x217)],(_0x4961d5,_0x1d0e8f)=>{const _0x341a55=_0x1a709d;try{if(!_0x1d0e8f||!_0x1d0e8f[_0x341a55(0x24f)])return;const _0x6c6730=_0x5a1f81['get'](_0x1d0e8f['item']['id']+'_'+_0x523b16);if(!_0x6c6730)return;_0x1d0e8f[_0x341a55(0x21a)]&&(_0x6c6730[_0x341a55(0x210)]=_0x1d0e8f[_0x341a55(0x21a)][_0x341a55(0x1ed)]||null);if(!_0x1d0e8f[_0x341a55(0x1e6)])return;let _0x1b436b='',_0x320213='';if(_0x1d0e8f[_0x341a55(0x1e6)][_0x341a55(0x25d)])try{const _0x31d860=_0x1d0e8f[_0x341a55(0x1e6)][_0x341a55(0x25d)][_0x341a55(0x208)](),_0x2c99a6=new URL(_0x31d860[_0x341a55(0x1ce)](_0x50be3c[_0x341a55(0x1ec)])?_0x31d860:_0x341a55(0x20a)+_0x31d860);_0x1b436b=_0x2c99a6[_0x341a55(0x1f3)],_0x320213=_0x50be3c[_0x341a55(0x2a1)](_0x2c99a6[_0x341a55(0x211)],_0x2c99a6[_0x341a55(0x247)]);}catch(_0x19eb5d){_0x320213=_0x1d0e8f[_0x341a55(0x1e6)][_0x341a55(0x25d)]['toString']();}const _0x453aa1={};_0x453aa1[_0x341a55(0x290)]=_0x1b436b,_0x453aa1[_0x341a55(0x2a7)]=_0x320213,_0x453aa1[_0x341a55(0x25c)]=_0x1d0e8f[_0x341a55(0x1e6)]['method']||_0x50be3c[_0x341a55(0x21d)],_0x453aa1['headers']={},_0x453aa1['status_code']=_0x1d0e8f[_0x341a55(0x21a)]?_0x1d0e8f[_0x341a55(0x21a)][_0x341a55(0x1ed)]||0x0:0x0,_0x453aa1['duration_ms']=_0x1d0e8f[_0x341a55(0x21a)]?_0x1d0e8f[_0x341a55(0x21a)][_0x341a55(0x2b7)]||0x0:0x0,_0x6c6730[_0x341a55(0x243)]=_0x453aa1;}catch(_0x353e97){_0x50be3c['gRuud'](debug,_0x341a55(0x200)+_0x353e97);}}),_0x2adf03['on'](_0x50be3c[_0x1a709d(0x2b2)],(_0x49604d,_0x96d1fc)=>{const _0x5a5dc4=_0x1a709d,_0x53d555={'Btqxl':function(_0x35cf96,_0x4619d3,_0x4ec874){return _0x50be3c['roRSj'](_0x35cf96,_0x4619d3,_0x4ec874);},'OSMYV':_0x50be3c[_0x5a5dc4(0x231)]};try{if(!_0x96d1fc||!_0x96d1fc[_0x5a5dc4(0x24f)])return;const _0xa9b4e0=_0x5a1f81[_0x5a5dc4(0x1d4)](_0x96d1fc[_0x5a5dc4(0x24f)]['id']+'_'+_0x523b16);if(!_0xa9b4e0)return;const _0x2efa30=_0x96d1fc[_0x5a5dc4(0x25f)]||_0x5a5dc4(0x297)+_0x50be3c[_0x5a5dc4(0x2a1)](_0xa9b4e0[_0x5a5dc4(0x268)][_0x5a5dc4(0x1d0)],0x1),_0x22f867=_0x50be3c['DnKGh'](uuidv4),_0x506857=_0xa9b4e0[_0x5a5dc4(0x232)][_0x5a5dc4(0x292)]([_0x2efa30])['join']('\x20');_0xa9b4e0[_0x5a5dc4(0x268)]['push']({'uuid':_0x22f867,'name':_0x2efa30,'identifier':_0x506857,'err':_0x50be3c[_0x5a5dc4(0x1d5)](_0x49604d,null)});const _0x3dff24={};_0x3dff24[_0x5a5dc4(0x20c)]=_0x22f867,_0x3dff24['name']=_0x2efa30,_0x3dff24[_0x5a5dc4(0x22e)]=_0x506857,_0x50be3c[_0x5a5dc4(0x22a)](emitTest,HookState[_0x5a5dc4(0x1de)],_0x3dff24,_0xa9b4e0,_0x54857f,{});_0x50be3c[_0x5a5dc4(0x251)](_0xa9b4e0[_0x5a5dc4(0x268)]['length'],0x1)&&_0x50be3c['XpvPp'](_0xa9b4e0['bufferedLogs'][_0x5a5dc4(0x1d0)],0x0)&&(_0xa9b4e0['bufferedLogs'][_0x5a5dc4(0x1d3)](_0x2a2dd0=>{const _0x213ba7=_0x5a5dc4;_0x53d555[_0x213ba7(0x2a8)](emitLog,_0x22f867,{'kind':_0x53d555[_0x213ba7(0x2b9)],'message':_0x2a2dd0[_0x213ba7(0x273)],'level':_0x2a2dd0[_0x213ba7(0x1fb)]});}),_0xa9b4e0[_0x5a5dc4(0x240)]=[]);if(_0xa9b4e0[_0x5a5dc4(0x243)]){_0x50be3c[_0x5a5dc4(0x1df)](emitLog,_0x22f867,{'kind':_0x50be3c[_0x5a5dc4(0x241)],'http_response':_0xa9b4e0[_0x5a5dc4(0x243)]});const _0x497d27=_0x50be3c[_0x5a5dc4(0x224)](_0x50be3c[_0x5a5dc4(0x284)](_0x50be3c[_0x5a5dc4(0x2a1)](_0x50be3c[_0x5a5dc4(0x239)](_0x50be3c[_0x5a5dc4(0x27a)](_0x50be3c[_0x5a5dc4(0x239)](_0x50be3c['MEigd'](_0x50be3c[_0x5a5dc4(0x29c)](_0xa9b4e0[_0x5a5dc4(0x243)][_0x5a5dc4(0x25c)]||_0x50be3c[_0x5a5dc4(0x21d)],'\x20'),_0xa9b4e0['httpLog'][_0x5a5dc4(0x290)]),_0xa9b4e0[_0x5a5dc4(0x243)][_0x5a5dc4(0x2a7)]),_0x50be3c[_0x5a5dc4(0x1eb)]),_0xa9b4e0['httpLog'][_0x5a5dc4(0x24a)]),'\x20('),_0xa9b4e0['httpLog'][_0x5a5dc4(0x235)]),_0x50be3c[_0x5a5dc4(0x252)]);_0x50be3c[_0x5a5dc4(0x1df)](emitLog,_0x22f867,{'kind':_0x50be3c[_0x5a5dc4(0x231)],'message':_0x497d27,'level':_0x50be3c[_0x5a5dc4(0x289)]});}_0xe3f462=_0x22f867;}catch(_0x31faa4){_0x50be3c['gRuud'](debug,'[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20'+_0x31faa4);}}),_0x2adf03['on'](_0x50be3c[_0x1a709d(0x20d)],(_0x4f9d02,_0x2daa97)=>{const _0x108de4=_0x1a709d;try{if(!_0x2daa97)return;let _0x4180fe=_0xe3f462;if(!_0x4180fe&&_0x2daa97[_0x108de4(0x1ff)]&&_0x2daa97['cursor'][_0x108de4(0x294)]){const _0x55f29b=_0x5a1f81[_0x108de4(0x1d4)](_0x2daa97[_0x108de4(0x1ff)][_0x108de4(0x294)]+'_'+_0x523b16);_0x55f29b&&_0x50be3c[_0x108de4(0x1e0)](_0x55f29b[_0x108de4(0x268)]['length'],0x0)&&(_0x4180fe=_0x55f29b['assertions'][_0x50be3c[_0x108de4(0x2a4)](_0x55f29b[_0x108de4(0x268)]['length'],0x1)][_0x108de4(0x20c)]);}const _0x17b6bf=_0x2daa97['messages']?_0x2daa97[_0x108de4(0x25b)]['join'](',\x20'):'';if(_0x4180fe)_0x50be3c[_0x108de4(0x1df)](emitLog,_0x4180fe,{'kind':_0x50be3c['JBIUb'],'message':_0x17b6bf,'level':_0x50be3c['gRuud'](normalizeLogLevel,_0x2daa97[_0x108de4(0x1fb)])});else{if(_0x2daa97[_0x108de4(0x1ff)]&&_0x2daa97[_0x108de4(0x1ff)][_0x108de4(0x294)]){const _0x187782=_0x5a1f81[_0x108de4(0x1d4)](_0x2daa97['cursor']['ref']+'_'+_0x523b16);_0x187782&&_0x187782['bufferedLogs'][_0x108de4(0x1ef)]({'timestamp':new Date()[_0x108de4(0x25a)](),'level':_0x50be3c[_0x108de4(0x2be)](normalizeLogLevel,_0x2daa97[_0x108de4(0x1fb)]),'message':_0x17b6bf});}}}catch(_0x1ff48c){_0x50be3c['cZzUa'](debug,_0x108de4(0x20b)+_0x1ff48c);}}),_0x2adf03['on'](_0x50be3c['rHvCi'],(_0x22207b,_0x456e98)=>{const _0x4363eb=_0x1a709d;try{if(!_0x22207b&&(!_0x456e98||!_0x456e98['error']))return;const _0x1f02f3=_0x22207b||_0x456e98[_0x4363eb(0x282)],_0x17144c=_0x1f02f3[_0x4363eb(0x273)]||_0x50be3c[_0x4363eb(0x2be)](String,_0x1f02f3),_0x65f198=_0x1f02f3[_0x4363eb(0x281)]||_0x17144c;let _0x26e261=_0xe3f462;if(_0x50be3c['IawLd'](!_0x26e261,_0x456e98)&&_0x456e98['cursor']&&_0x456e98[_0x4363eb(0x1ff)][_0x4363eb(0x294)]){const _0x14aa39=_0x5a1f81['get'](_0x456e98[_0x4363eb(0x1ff)][_0x4363eb(0x294)]+'_'+_0x523b16);_0x14aa39&&_0x50be3c[_0x4363eb(0x207)](_0x14aa39[_0x4363eb(0x268)][_0x4363eb(0x1d0)],0x0)&&(_0x26e261=_0x14aa39[_0x4363eb(0x268)][_0x50be3c[_0x4363eb(0x23e)](_0x14aa39[_0x4363eb(0x268)][_0x4363eb(0x1d0)],0x1)][_0x4363eb(0x20c)]);}_0x26e261&&_0x50be3c['roRSj'](emitLog,_0x26e261,{'kind':_0x50be3c[_0x4363eb(0x231)],'message':_0x50be3c['dJDKQ'](_0x50be3c[_0x4363eb(0x267)],_0x65f198),'level':_0x50be3c[_0x4363eb(0x26c)]});}catch(_0x46b950){_0x50be3c[_0x4363eb(0x26d)](debug,_0x50be3c[_0x4363eb(0x236)](_0x50be3c['JsRfS'],_0x46b950));}}),_0x2adf03['on'](_0x50be3c[_0x1a709d(0x1f5)],(_0x1e72dc,_0x4ea838)=>{const _0x4f0294=_0x1a709d;try{if(!_0x4ea838||!_0x4ea838[_0x4f0294(0x280)])return;let _0x5e0286=_0xe3f462;if(!_0x5e0286&&_0x4ea838[_0x4f0294(0x1ff)]&&_0x4ea838['cursor']['ref']){const _0x287864=_0x5a1f81[_0x4f0294(0x1d4)](_0x4ea838[_0x4f0294(0x1ff)][_0x4f0294(0x294)]+'_'+_0x523b16);_0x287864&&_0x50be3c[_0x4f0294(0x2a2)](_0x287864[_0x4f0294(0x268)][_0x4f0294(0x1d0)],0x0)&&(_0x5e0286=_0x287864[_0x4f0294(0x268)][_0x50be3c[_0x4f0294(0x278)](_0x287864[_0x4f0294(0x268)][_0x4f0294(0x1d0)],0x1)]['uuid']);}if(!_0x5e0286)return;const _0x5a662d=_0x4ea838[_0x4f0294(0x212)]&&_0x4ea838['event'][_0x4f0294(0x1ea)]||_0x50be3c['IwnoD'];_0x1e72dc&&_0x50be3c[_0x4f0294(0x202)](emitLog,_0x5e0286,{'kind':_0x50be3c['JBIUb'],'message':_0x50be3c[_0x4f0294(0x1fd)](_0x50be3c[_0x4f0294(0x1fd)](_0x50be3c['AyxCA'](_0x50be3c[_0x4f0294(0x263)],_0x5a662d),_0x50be3c[_0x4f0294(0x1cd)]),_0x1e72dc[_0x4f0294(0x273)]||_0x1e72dc),'level':_0x50be3c[_0x4f0294(0x26c)]});}catch(_0x2a77b1){_0x50be3c['cZzUa'](debug,_0x50be3c['fqxwl'](_0x50be3c[_0x4f0294(0x2b5)],_0x2a77b1));}}),_0x2adf03['on'](_0x50be3c['DYwtm'],(_0x4ce7c8,_0x5d310c)=>{const _0x314dd0=_0x1a709d,_0x4c8f6f={'JKczA':function(_0x5b0e07,_0x1f78f7,_0x320a1e){return _0x50be3c['GTZQt'](_0x5b0e07,_0x1f78f7,_0x320a1e);},'oKCCU':_0x50be3c[_0x314dd0(0x231)]};try{if(!_0x5d310c||!_0x5d310c[_0x314dd0(0x24f)])return;const _0x16ae5d=_0x5d310c[_0x314dd0(0x24f)]['id']+'_'+_0x523b16,_0x341cdb=_0x5a1f81['get'](_0x16ae5d);if(!_0x341cdb)return;const _0x380000=new Date(),_0x5003ef=_0x50be3c[_0x314dd0(0x27b)](_0x380000[_0x314dd0(0x26e)](),_0x341cdb[_0x314dd0(0x1fa)]);if(_0x50be3c[_0x314dd0(0x1e0)](_0x341cdb[_0x314dd0(0x268)]['length'],0x0))_0x341cdb[_0x314dd0(0x268)][_0x314dd0(0x1d3)](_0x424441=>{const _0x4abc42=_0x314dd0,_0x2b5924=!!_0x424441[_0x4abc42(0x254)],_0x5d36a4={'finishedAt':_0x380000[_0x4abc42(0x25a)](),'durationMs':_0x5003ef,'result':_0x2b5924?_0x50be3c[_0x4abc42(0x24e)]:_0x50be3c[_0x4abc42(0x22c)]};_0x2b5924&&(_0x5d36a4[_0x4abc42(0x2ac)]=_0x424441[_0x4abc42(0x254)][_0x4abc42(0x273)]||'',_0x5d36a4[_0x4abc42(0x209)]=_0x50be3c[_0x4abc42(0x261)](_0x424441[_0x4abc42(0x254)][_0x4abc42(0x26b)],_0x50be3c[_0x4abc42(0x1e4)])||_0x424441[_0x4abc42(0x254)][_0x4abc42(0x273)]&&_0x424441['err'][_0x4abc42(0x273)][_0x4abc42(0x29a)](_0x50be3c['PeHOj'])?_0x50be3c[_0x4abc42(0x1e4)]:_0x50be3c['fcJBg'],_0x5d36a4['failure']=[{'backtrace':_0x424441['err'][_0x4abc42(0x281)]?_0x424441[_0x4abc42(0x254)][_0x4abc42(0x281)]['split']('\x0a'):[_0x424441[_0x4abc42(0x254)][_0x4abc42(0x273)]||''],'expanded':[]}]),_0x50be3c[_0x4abc42(0x22a)](emitTest,HookState[_0x4abc42(0x2ba)],_0x424441,_0x341cdb,_0x54857f,_0x5d36a4);});else{const _0x6a3166=_0x50be3c[_0x314dd0(0x1cf)](uuidv4),_0x533396=_0x341cdb[_0x314dd0(0x210)],_0x41f2f8=_0x50be3c[_0x314dd0(0x222)](_0x533396,null)&&_0x50be3c[_0x314dd0(0x21b)](_0x533396,0xc8)&&_0x50be3c[_0x314dd0(0x2bc)](_0x533396,0x190),_0x111fb9=_0x341cdb['itemName']+'\x20(HTTP\x20'+_0x50be3c[_0x314dd0(0x29d)](_0x533396,_0x50be3c[_0x314dd0(0x1f1)])+')',_0x5e3f96={'uuid':_0x6a3166,'name':_0x111fb9,'identifier':_0x341cdb[_0x314dd0(0x232)][_0x314dd0(0x292)]([_0x111fb9])[_0x314dd0(0x245)]('\x20')},_0x369b89={'finishedAt':_0x380000[_0x314dd0(0x25a)](),'durationMs':_0x5003ef,'result':_0x41f2f8?_0x50be3c[_0x314dd0(0x22c)]:_0x50be3c['McmGE']};!_0x41f2f8&&(_0x369b89[_0x314dd0(0x2ac)]=_0x50be3c['uSsvK'](_0x533396,null)?'HTTP\x20'+_0x533396+'\x20—\x20response\x20status\x20in\x20failure\x20range':_0x50be3c[_0x314dd0(0x23c)],_0x369b89['failureType']=_0x50be3c['fcJBg'],_0x369b89[_0x314dd0(0x1db)]=[{'backtrace':[_0x369b89[_0x314dd0(0x2ac)]],'expanded':[]}]);_0x50be3c['cHUuM'](emitTest,HookState[_0x314dd0(0x1de)],_0x5e3f96,_0x341cdb,_0x54857f,{}),_0x341cdb[_0x314dd0(0x240)][_0x314dd0(0x1d3)](_0x581ecd=>{const _0x95e548=_0x314dd0;_0x4c8f6f[_0x95e548(0x27d)](emitLog,_0x6a3166,{'kind':_0x4c8f6f['oKCCU'],'message':_0x581ecd[_0x95e548(0x273)],'level':_0x581ecd['level']});});if(_0x341cdb[_0x314dd0(0x243)]){_0x50be3c['roRSj'](emitLog,_0x6a3166,{'kind':_0x50be3c['Ztlkc'],'http_response':_0x341cdb[_0x314dd0(0x243)]});const _0x29e2c8=_0x50be3c[_0x314dd0(0x236)](_0x50be3c[_0x314dd0(0x29c)](_0x50be3c['RDyII'](_0x50be3c[_0x314dd0(0x1e9)](_0x50be3c[_0x314dd0(0x1da)](_0x50be3c['fPUTq'](_0x50be3c['ZvTrd'](_0x50be3c[_0x314dd0(0x21e)](_0x341cdb[_0x314dd0(0x243)]['method']||_0x50be3c[_0x314dd0(0x21d)],'\x20'),_0x341cdb[_0x314dd0(0x243)][_0x314dd0(0x290)]),_0x341cdb['httpLog'][_0x314dd0(0x2a7)]),_0x50be3c[_0x314dd0(0x1eb)]),_0x341cdb[_0x314dd0(0x243)]['status_code']),'\x20('),_0x341cdb[_0x314dd0(0x243)][_0x314dd0(0x235)]),_0x50be3c[_0x314dd0(0x252)]);_0x50be3c['GTZQt'](emitLog,_0x6a3166,{'kind':_0x50be3c[_0x314dd0(0x231)],'message':_0x29e2c8,'level':_0x50be3c[_0x314dd0(0x289)]});}else _0x50be3c[_0x314dd0(0x202)](emitLog,_0x6a3166,{'kind':_0x50be3c[_0x314dd0(0x231)],'message':_0x50be3c[_0x314dd0(0x25e)](_0x50be3c['CNUpO'](_0x50be3c[_0x314dd0(0x216)],_0x50be3c[_0x314dd0(0x257)](_0x533396,_0x50be3c['qtcpF'])),_0x50be3c[_0x314dd0(0x29b)]),'level':_0x50be3c['IJfMs']});_0x50be3c['cHUuM'](emitTest,HookState[_0x314dd0(0x2ba)],_0x5e3f96,_0x341cdb,_0x54857f,_0x369b89);}_0x5a1f81['delete'](_0x16ae5d),_0x5d310c[_0x314dd0(0x1ff)]&&_0x5d310c['cursor'][_0x314dd0(0x294)]&&_0x5a1f81[_0x314dd0(0x20f)](_0x5d310c[_0x314dd0(0x1ff)][_0x314dd0(0x294)]+'_'+_0x523b16);}catch(_0x14b7c7){_0x50be3c[_0x314dd0(0x258)](debug,_0x314dd0(0x221)+_0x14b7c7);}});}module[a44_0x4e39a0(0x256)]=BrowserStackNewmanReporter;
1
+ 'use strict';function a44_0x86c9(){const _0xc4850c=['logs','DqhSK','vToeM','POTIy','KYtcy','uuid','failureReason','WELaK','feKHm','fcsAz','jrMzm','now','vaeFs','rVFSK','toISOString','VCKis','expanded','unknown','removeListener','pid','headers','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','DaXxI','[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20','slice','toString','uIxoI','durationMs','AHtbl','wLznt','iJquN','startedAt','identifier','split','testFrameworkVersion','location','uploadEventData','creqY','odmSs','collectionName','frjAR','RrIdj','collectionPath','ref','LogCreated','zGvFw','length','bZNij','done','OGRRk','qJvgE','EgvcU','HXllT','ypAuK','387574RyRAnG','JNDai','clear','izcYl','http_response','hostname','SYPvv','join','console','lLCpU','../../v2/state/hookState','argv','info','Ubtju','YBoJg','hOHdA','concat','veTnR','gRBsl','search','beforeItem','startTimestamp','failureType','path','aUlAk','DEBUG','url','yWhte','toUpperCase','[Newman\x20Reporter]\x20Error\x20in\x20request:\x20','ThsAW','trackEvent','AvUld','UnhandledError','listen','cNwCg','13722LGytUd','TestRunStarted','resolve','LTYWN','EiIWe','NARSC','DiRKs','failure_backtrace','HJiWk','hoZml','VsXwR','failure','forEach','../../../helpers/logger','parent','876912TdHHDc','[Newman\x20Reporter]\x20Error\x20in\x20console:\x20','spqqT','WARN','DhfBb','name','9988376BKNUbI','kind','event_type','bufferedLogs','RONnl','../../v2/grpcClient','host','OFvMe','logCreatedEvent','error','../../../helpers/test-observability/utils','HTTP','EzPHd','AssertionError','iteration','set','err','timestamp','push','http','rKzJP','TRACE','\x20(HTTP\x20','finishedAt','DbGIm','9410MsRvRj','lkikP','[Newman\x20Reporter]\x20emitTest\x20error:\x20','sbSoz','No\x20HTTP\x20response\x20received','assertions','getTime','event','includes','../../v2/state/testFrameworkState','Script\x20error\x20(','newman','collection.json','POST','NsUZS','[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20','item','SgZDS','\x20—\x20response\x20status\x20in\x20failure\x20range','Exception:\x20','UzMeS','qoVbw','pending','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','HTTP\x20Status:\x20','INFO','UYbTP','ms)','PbAeu','PmNlG','lastResponseCode','../../v2/browserstackCLI','LjFbU','rHPIY','BqFEk','DJBhU','httpLog','execution','isRunning','N/A','duration_ms','rgnuS','relative','rasNt','indexOf','string','method','response','object','[Newman\x20Reporter]\x20emitLog\x20error:\x20','zMjIJ','bs:addLog:','\x20->\x20','TEST_LOG','\x20(no\x20assertions)','KZeLb','result','NAIKF','stack','../../../helpers/test-observability/sessionHandler','testFrameworkName','hMlFH','exception','DCcCg','getInstance','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','messages','code','javascript','request','script','2498237sNntXf','IYHcJ','YjuPz','startsWith','SOnBX','hTvcY','collection','TestRunFinished','message','15093mPLWDT','3125GsAQRa','DnDtL','passed','qDrLJ','Bdzbh','cwd','cursor','get','hnEig','PRE','SOFnt','TEST','16kpvVDb','assert','GgyFi','HTTP\x20','Agjaf','status_code','assertion','delete','GQOnm','dZosE','failed','scopes','beforeIteration','level','QFRBd','3442920WTTetX','atAKc'];a44_0x86c9=function(){return _0xc4850c;};return a44_0x86c9();}const a44_0x3cb38e=a44_0x2b8f;(function(_0x296654,_0x2c1f02){const _0x107b9a=a44_0x2b8f,_0x57934a=_0x296654();while(!![]){try{const _0x20dcc7=parseInt(_0x107b9a(0xe4))/0x1+-parseInt(_0x107b9a(0xac))/0x2+-parseInt(_0x107b9a(0x117))/0x3*(-parseInt(_0x107b9a(0x9d))/0x4)+-parseInt(_0x107b9a(0x187))/0x5*(parseInt(_0x107b9a(0x108))/0x6)+-parseInt(_0x107b9a(0x17d))/0x7+parseInt(_0x107b9a(0x11d))/0x8+parseInt(_0x107b9a(0x186))/0x9*(parseInt(_0x107b9a(0x136))/0xa);if(_0x20dcc7===_0x2c1f02)break;else _0x57934a['push'](_0x57934a['shift']());}catch(_0x1484bd){_0x57934a['push'](_0x57934a['shift']());}}}(a44_0x86c9,0xd5c94));const path=require(a44_0x3cb38e(0xfb)),{v4:uuidv4}=require(a44_0x3cb38e(0xb3)),SessionHandler=require(a44_0x3cb38e(0x171)),{debug}=require(a44_0x3cb38e(0x127)),logger=require(a44_0x3cb38e(0x115))['winstonLogger'],BrowserstackCLI=require(a44_0x3cb38e(0x155)),GrpcClient=require(a44_0x3cb38e(0x122)),TestFrameworkState=require(a44_0x3cb38e(0x13f)),HookState=require(a44_0x3cb38e(0xee)),LOG_LEVELS=[a44_0x3cb38e(0x14f),a44_0x3cb38e(0x11a),'ERROR',a44_0x3cb38e(0xfd),a44_0x3cb38e(0x132)];function isCLIRunning(){const _0xb61386=a44_0x3cb38e;try{return BrowserstackCLI[_0xb61386(0x176)]()[_0xb61386(0x15c)]();}catch(_0xa1ab67){return![];}}function getParentTitles(_0x42a90b){const _0x9bfce7=a44_0x3cb38e,_0x205bb1={'REwqu':function(_0x2e413c,_0x196165){return _0x2e413c(_0x196165);},'AHtbl':function(_0x1e3114,_0x3062f2){return _0x1e3114(_0x3062f2);}},_0x4561a9=[],_0x4951ef=_0x42a90b[_0x9bfce7(0x116)]();return _0x4951ef&&_0x4561a9['push']['apply'](_0x4561a9,_0x205bb1['REwqu'](getParentTitles,_0x4951ef)),_0x42a90b[_0x9bfce7(0x11c)]&&_0x4561a9[_0x9bfce7(0x12f)](_0x205bb1[_0x9bfce7(0xca)](String,_0x42a90b[_0x9bfce7(0x11c)])),_0x4561a9;}function normalizeLogLevel(_0x144cfd){const _0x4827cc=a44_0x3cb38e,_0x1aa7f7={};_0x1aa7f7[_0x4827cc(0x152)]='INFO',_0x1aa7f7[_0x4827cc(0xe1)]=function(_0x12d7a9,_0x5d776e){return _0x12d7a9!==_0x5d776e;};const _0x890e67=_0x1aa7f7;if(!_0x144cfd)return _0x890e67[_0x4827cc(0x152)];const _0xf8248e=_0x144cfd[_0x4827cc(0x100)]();return _0x890e67[_0x4827cc(0xe1)](LOG_LEVELS[_0x4827cc(0x162)](_0xf8248e),-0x1)?_0xf8248e:_0x890e67['PbAeu'];}function a44_0x2b8f(_0x17c592,_0x24a1de){const _0x86c950=a44_0x86c9();return a44_0x2b8f=function(_0x2b8ff2,_0x4fe73b){_0x2b8ff2=_0x2b8ff2-0x97;let _0x4d649d=_0x86c950[_0x2b8ff2];return _0x4d649d;},a44_0x2b8f(_0x17c592,_0x24a1de);}function resolveCollectionFile(_0x1b9d0f,_0xb081c0){const _0x4b8a15=a44_0x3cb38e,_0xd5e1c8={};_0xd5e1c8[_0x4b8a15(0xed)]=function(_0x7a557b,_0x2ff772){return _0x7a557b===_0x2ff772;},_0xd5e1c8['hnEig']=_0x4b8a15(0x163),_0xd5e1c8[_0x4b8a15(0x110)]='run',_0xd5e1c8[_0x4b8a15(0x17e)]=function(_0x4dce85,_0x39cab6){return _0x4dce85!==_0x39cab6;},_0xd5e1c8[_0x4b8a15(0x158)]=function(_0x31d9a9,_0x21d8a5){return _0x31d9a9<_0x21d8a5;},_0xd5e1c8[_0x4b8a15(0x137)]=function(_0x385c49,_0x5dc827){return _0x385c49+_0x5dc827;},_0xd5e1c8['sbSoz']='[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json',_0xd5e1c8[_0x4b8a15(0xb6)]=_0x4b8a15(0x142);const _0x53eb4c=_0xd5e1c8;try{if(_0xb081c0&&_0xb081c0[_0x4b8a15(0xd8)])return path[_0x4b8a15(0x160)](process[_0x4b8a15(0x18c)](),path[_0x4b8a15(0x10a)](_0xb081c0[_0x4b8a15(0xd8)]));const _0x769e21=_0x1b9d0f[_0x4b8a15(0x183)];if(_0x53eb4c[_0x4b8a15(0xed)](typeof _0x769e21,_0x53eb4c[_0x4b8a15(0x99)]))return path[_0x4b8a15(0x160)](process[_0x4b8a15(0x18c)](),path[_0x4b8a15(0x10a)](_0x769e21));const _0x1c969b=process[_0x4b8a15(0xef)][_0x4b8a15(0x162)](_0x53eb4c['HJiWk']);if(_0x53eb4c[_0x4b8a15(0x17e)](_0x1c969b,-0x1)&&_0x53eb4c[_0x4b8a15(0x158)](_0x53eb4c[_0x4b8a15(0x137)](_0x1c969b,0x1),process['argv'][_0x4b8a15(0xdc)])){const _0x279392=process[_0x4b8a15(0xef)][_0x53eb4c[_0x4b8a15(0x137)](_0x1c969b,0x1)];if(_0x279392&&!_0x279392['startsWith']('-'))return path[_0x4b8a15(0x160)](process[_0x4b8a15(0x18c)](),path['resolve'](_0x279392));}}catch(_0xe93469){}return logger[_0x4b8a15(0xf0)](_0x53eb4c[_0x4b8a15(0x139)]),_0x53eb4c[_0x4b8a15(0xb6)];}function resolveCollectionName(_0x112590){const _0x354f4b=a44_0x3cb38e,_0x26c792={};_0x26c792[_0x354f4b(0xa1)]=function(_0x1359c2,_0x55430b){return _0x1359c2===_0x55430b;},_0x26c792[_0x354f4b(0x18a)]=_0x354f4b(0x166);const _0x218089=_0x26c792;try{const _0x3fcd3a=_0x112590['collection'];if(_0x3fcd3a&&_0x218089['Agjaf'](typeof _0x3fcd3a,_0x218089[_0x354f4b(0x18a)]))return _0x3fcd3a[_0x354f4b(0x11c)]||_0x3fcd3a['info']&&_0x3fcd3a[_0x354f4b(0xf0)][_0x354f4b(0x11c)]||null;}catch(_0x2aa1c3){}return null;}function emitTest(_0x2791f9,_0x2e6f88,_0x5703af,_0x2aa809,_0x3aac91){const _0x437f2f=a44_0x3cb38e,_0x1e2cd6={'zGvFw':function(_0x458317){return _0x458317();},'veTnR':_0x437f2f(0x14c),'DnDtL':function(_0x5d1742,_0x5cd93e){return _0x5d1742(_0x5cd93e);},'spqqT':_0x437f2f(0x141),'ujtnF':_0x437f2f(0x17a),'MEvIR':function(_0x120619,_0x137714){return _0x120619!=_0x137714;},'qJvgE':function(_0x34c35b,_0xeae939){return _0x34c35b===_0xeae939;},'LTYWN':_0x437f2f(0x109),'DbGIm':_0x437f2f(0x184)};if(_0x1e2cd6[_0x437f2f(0xdb)](isCLIRunning))try{const _0x54797b=BrowserstackCLI['getInstance']()['getTestFramework']();if(!_0x54797b)return;_0x54797b[_0x437f2f(0x103)](TestFrameworkState['TEST'],_0x2791f9,{'test':{'uuid':_0x2e6f88[_0x437f2f(0xb3)],'name':_0x2e6f88['name'],'scopes':_0x5703af[_0x437f2f(0xa8)],'scope':_0x5703af['scopes'][_0x437f2f(0xeb)]('\x20'),'file_path':_0x2aa809,'location':_0x5703af[_0x437f2f(0xd5)],'started_at':_0x5703af[_0x437f2f(0xcd)],'finished_at':_0x3aac91[_0x437f2f(0x134)]||null,'result':_0x3aac91[_0x437f2f(0x16e)]||_0x1e2cd6[_0x437f2f(0xf5)],'failure':_0x3aac91[_0x437f2f(0x113)]||[],'failure_type':_0x3aac91[_0x437f2f(0xfa)]||null,'failure_reason':_0x3aac91['failureReason']||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x573f82){_0x1e2cd6[_0x437f2f(0x188)](debug,_0x437f2f(0x138)+_0x573f82);}else{const _0x58fcc8={'uuid':_0x2e6f88['uuid'],'name':_0x2e6f88['name'],'framework':_0x1e2cd6[_0x437f2f(0x119)],'body':{'lang':_0x1e2cd6['ujtnF'],'code':null},'scope':_0x5703af[_0x437f2f(0xa8)]['join']('\x20'),'scopes':_0x5703af[_0x437f2f(0xa8)],'identifier':_0x2e6f88[_0x437f2f(0xce)],'file_name':_0x5703af[_0x437f2f(0xd5)],'vc_filepath':_0x5703af[_0x437f2f(0xd1)],'location':_0x5703af[_0x437f2f(0xd1)],'started_at':_0x5703af[_0x437f2f(0xcd)],'finished_at':_0x3aac91[_0x437f2f(0x134)]||null,'duration_in_ms':_0x1e2cd6['MEvIR'](_0x3aac91[_0x437f2f(0xc9)],null)?Math['max'](0x0,_0x3aac91[_0x437f2f(0xc9)]):null,'result':_0x3aac91[_0x437f2f(0x16e)]||_0x1e2cd6['veTnR'],'failure_reason':_0x3aac91[_0x437f2f(0xb4)]||null,'failure_type':_0x3aac91[_0x437f2f(0xfa)]||null,'failure':_0x3aac91[_0x437f2f(0x113)]||[],'retry_of':null,'hooks':[]};_0x58fcc8['failure'][0x0]&&(_0x58fcc8[_0x437f2f(0x10f)]=_0x58fcc8['failure'][0x0]['backtrace'],_0x58fcc8['failure_reason_expanded']=_0x58fcc8[_0x437f2f(0x113)][0x0][_0x437f2f(0xbe)]);const _0x64a3ae=_0x1e2cd6[_0x437f2f(0xe0)](_0x2791f9,HookState[_0x437f2f(0x9a)])?_0x1e2cd6[_0x437f2f(0x10b)]:_0x1e2cd6[_0x437f2f(0x135)],_0x2d1b61={};_0x2d1b61[_0x437f2f(0x11f)]=_0x64a3ae,_0x2d1b61['test_run']=_0x58fcc8,SessionHandler[_0x437f2f(0xd2)](_0x2d1b61);}}function emitLog(_0x16a5c1,_0x1e72e0){const _0x243472=a44_0x3cb38e,_0x471cce={'rVFSK':_0x243472(0x16b),'gRBsl':function(_0x154d40){return _0x154d40();},'qRhDK':function(_0x1eecd6,_0x5e2cda){return _0x1eecd6===_0x5e2cda;},'sDMdU':'HTTP','rgnuS':_0x243472(0x141),'hoZml':_0x243472(0x9c),'dZosE':_0x243472(0x14f),'YBoJg':function(_0x3a6091,_0x164cd3){return _0x3a6091(_0x164cd3);},'ijsFO':function(_0x134ada,_0x477be7){return _0x134ada+_0x477be7;},'WELaK':_0x243472(0x167),'frjAR':_0x243472(0xda)},_0x6030c=_0x1e72e0[_0x243472(0x11e)]||_0x471cce[_0x243472(0xbb)],_0x48e2e5=_0x1e72e0[_0x243472(0x12e)]||new Date()[_0x243472(0xbc)]();if(_0x471cce[_0x243472(0xf6)](isCLIRunning))try{const _0x3f65bd=_0x471cce['qRhDK'](_0x6030c,_0x471cce['sDMdU'])?JSON['stringify'](_0x1e72e0):_0x1e72e0[_0x243472(0x185)]||'',_0x511e92={};_0x511e92['platformIndex']=0x0,_0x511e92[_0x243472(0x172)]=_0x471cce[_0x243472(0x15f)],_0x511e92[_0x243472(0xd0)]='',_0x511e92['testFrameworkState']=_0x471cce[_0x243472(0x111)],_0x511e92[_0x243472(0xae)]=[{'uuid':_0x16a5c1,'timestamp':_0x48e2e5,'kind':_0x6030c,'level':_0x1e72e0['level']||_0x471cce[_0x243472(0xa6)],'message':_0x3f65bd}],GrpcClient[_0x243472(0x176)]()[_0x243472(0x125)](_0x511e92);}catch(_0x5ad995){_0x471cce[_0x243472(0xf2)](debug,_0x471cce['ijsFO'](_0x471cce[_0x243472(0xb5)],_0x5ad995));}else{const _0x33a679={};_0x33a679['test_run_uuid']=_0x16a5c1,_0x33a679[_0x243472(0x12e)]=_0x48e2e5,_0x33a679[_0x243472(0xaa)]=_0x1e72e0['level']||null,_0x33a679[_0x243472(0x185)]=_0x1e72e0['message']||null,_0x33a679[_0x243472(0x11e)]=_0x6030c,_0x33a679[_0x243472(0xe8)]=_0x1e72e0[_0x243472(0xe8)]||{};const _0x460910={};_0x460910[_0x243472(0x11f)]=_0x471cce[_0x243472(0xd6)],_0x460910[_0x243472(0xae)]=[_0x33a679],SessionHandler[_0x243472(0xd2)](_0x460910);}}function BrowserStackNewmanReporter(_0x577bcc,_0xe830ec,_0x397621){const _0x216fc3=a44_0x3cb38e,_0x25c838={'SOFnt':function(_0x795707,_0x3b1e90,_0x63d27c){return _0x795707(_0x3b1e90,_0x63d27c);},'Bdzbh':function(_0x4636aa,_0x4094c0){return _0x4636aa(_0x4094c0);},'yWhte':function(_0xa2866c,_0x459bb9){return _0xa2866c(_0x459bb9);},'hTvcY':function(_0x449821,_0x545207){return _0x449821>_0x545207;},'POTIy':_0x216fc3(0x130),'UzMeS':function(_0x3cb76c,_0x3d24f6){return _0x3cb76c+_0x3d24f6;},'NARSC':'GET','atAKc':_0x216fc3(0x16b),'EiIWe':function(_0x568e72,_0x2814bf){return _0x568e72+_0x2814bf;},'izcYl':function(_0x3e295f){return _0x3e295f();},'RrIdj':function(_0x4f7ec4,_0x553a4d){return _0x4f7ec4||_0x553a4d;},'SYPvv':function(_0x95748,_0x2a0764,_0x49db96,_0x12e3c0,_0x567fdb,_0xd6bd1d){return _0x95748(_0x2a0764,_0x49db96,_0x12e3c0,_0x567fdb,_0xd6bd1d);},'rHPIY':function(_0x24adc7,_0x4cd893){return _0x24adc7===_0x4cd893;},'OGRRk':function(_0x10a9bb,_0x4e9da1){return _0x10a9bb>_0x4e9da1;},'jrMzm':_0x216fc3(0x128),'OFvMe':function(_0x347f22,_0x3ae735){return _0x347f22+_0x3ae735;},'SOnBX':function(_0x4e92f9,_0x32a39e){return _0x4e92f9+_0x32a39e;},'iJquN':function(_0x4ce5da,_0x503a4d){return _0x4ce5da+_0x503a4d;},'rasNt':_0x216fc3(0x16a),'GgyFi':_0x216fc3(0x151),'RONnl':function(_0x59dcf0,_0x2b1f89,_0x56dfcb){return _0x59dcf0(_0x2b1f89,_0x56dfcb);},'PmNlG':_0x216fc3(0x14f),'DaXxI':function(_0x3e6a3c,_0x4f4a7d){return _0x3e6a3c(_0x4f4a7d);},'RyVsI':function(_0x21c6cc,_0x1fbb72){return _0x21c6cc>_0x1fbb72;},'wLznt':function(_0x1bc143,_0x135894){return _0x1bc143-_0x135894;},'uIxoI':function(_0x59fe64,_0x280053,_0x34e1cf){return _0x59fe64(_0x280053,_0x34e1cf);},'DhfBb':function(_0xb7863a,_0x4e0cc3){return _0xb7863a&&_0x4e0cc3;},'DqhSK':function(_0x24b94e,_0xf7d667){return _0x24b94e-_0xf7d667;},'lTiLw':function(_0x490e90,_0x4b31f4,_0x38534c){return _0x490e90(_0x4b31f4,_0x38534c);},'GQOnm':_0x216fc3(0x149),'vToeM':'ERROR','pUPIv':function(_0x26f9d7,_0x59c11e){return _0x26f9d7+_0x59c11e;},'zMjIJ':_0x216fc3(0xc3),'HXllT':_0x216fc3(0xbf),'QFRBd':function(_0x59ac86,_0x109816){return _0x59ac86+_0x109816;},'DCcCg':function(_0x276d56,_0x18eb51){return _0x276d56+_0x18eb51;},'creqY':function(_0x37f712,_0x4e76d0){return _0x37f712+_0x4e76d0;},'cNwCg':_0x216fc3(0x140),'KYtcy':'):\x20','FCMoB':_0x216fc3(0x14d),'SgZDS':_0x216fc3(0xa7),'DJBhU':_0x216fc3(0x189),'KZeLb':_0x216fc3(0x12a),'fcsAz':_0x216fc3(0x9e),'VsXwR':_0x216fc3(0x105),'ypAuK':function(_0x1236b5){return _0x1236b5();},'bcekE':function(_0x2be2d6,_0x50a823){return _0x2be2d6!=_0x50a823;},'Ubtju':function(_0x32d8e4,_0x5b3ee4){return _0x32d8e4>=_0x5b3ee4;},'DiRKs':function(_0x56111b,_0x3036a4){return _0x56111b<_0x3036a4;},'ThsAW':_0x216fc3(0x15d),'sxRkP':_0x216fc3(0x13a),'JNDai':function(_0x46f240,_0x708002,_0x3910f4,_0x7119b7,_0x1e19d2,_0x13ff5a){return _0x46f240(_0x708002,_0x3910f4,_0x7119b7,_0x1e19d2,_0x13ff5a);},'aUlAk':function(_0x5cc677,_0x508b44,_0x353c8c){return _0x5cc677(_0x508b44,_0x353c8c);},'KeTyQ':function(_0x38f84b,_0x4e5c51){return _0x38f84b+_0x4e5c51;},'vaeFs':function(_0x3dc687,_0x55e594){return _0x3dc687+_0x55e594;},'NAIKF':function(_0x654117,_0x4fcd9c){return _0x654117+_0x4fcd9c;},'pEXdo':function(_0x4c91d0,_0x4b272f){return _0x4c91d0+_0x4b272f;},'bZNij':function(_0x1b6eca,_0x18997b,_0x551a3b){return _0x1b6eca(_0x18997b,_0x551a3b);},'hMlFH':function(_0x2eb4cd,_0x59feab){return _0x2eb4cd+_0x59feab;},'UYbTP':_0x216fc3(0x14e),'tkUtm':_0x216fc3(0x16c),'qoVbw':function(_0x220297,_0x1e5224,_0x233e98,_0x39eb9b,_0x4ec3fd,_0x1bab57){return _0x220297(_0x1e5224,_0x233e98,_0x39eb9b,_0x4ec3fd,_0x1bab57);},'NsUZS':function(_0x3657d1,_0x331780){return _0x3657d1(_0x331780);},'VCKis':function(_0x3243bd,_0x361cd5){return _0x3243bd(_0x361cd5);},'yktTR':_0x216fc3(0xde),'AvUld':_0x216fc3(0xa9),'vHpds':_0x216fc3(0xf8),'EzPHd':_0x216fc3(0x17b),'odmSs':_0x216fc3(0xa3),'rKzJP':_0x216fc3(0xec),'LjFbU':_0x216fc3(0x174),'hOHdA':_0x216fc3(0x17c),'YjuPz':_0x216fc3(0x146)},_0x24b3fe=new Map();let _0x43c247=null,_0x5ef670=0x0;const _0x24a7f1=_0x25c838[_0x216fc3(0xdd)](resolveCollectionFile,_0x397621,_0xe830ec),_0x3164d5=_0x25c838[_0x216fc3(0xbd)](resolveCollectionName,_0x397621)||_0x24a7f1,_0x237778=path[_0x216fc3(0x10a)](_0x24a7f1),_0x4cf7b5=_0x216fc3(0x169)+process[_0x216fc3(0xc1)],_0x527b7c=_0x5dd049=>{const _0x262f26=_0x216fc3;try{_0x43c247&&_0x25c838[_0x262f26(0x9b)](emitLog,_0x43c247,_0x5dd049);}catch(_0xb515cd){_0x25c838[_0x262f26(0x18b)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20'+_0xb515cd);}};process['on'](_0x4cf7b5,_0x527b7c),_0x577bcc['on'](_0x25c838['yktTR'],()=>{const _0x23aa22=_0x216fc3;process[_0x23aa22(0xc0)](_0x4cf7b5,_0x527b7c),_0x24b3fe[_0x23aa22(0xe6)]();}),_0x577bcc['on'](_0x25c838[_0x216fc3(0x104)],(_0x104451,_0xeb4b08)=>{const _0x485bde=_0x216fc3;_0xeb4b08&&_0xeb4b08['cursor']&&(_0x5ef670=_0xeb4b08[_0x485bde(0x97)][_0x485bde(0x12b)]||0x0);}),_0x577bcc['on'](_0x25c838['vHpds'],(_0x2c889c,_0x5ae0dd)=>{const _0x29c52b=_0x216fc3;try{_0x43c247=null;const _0xf1f196=_0x5ae0dd[_0x29c52b(0x146)],_0x420b1b=_0xf1f196[_0x29c52b(0x116)]()?_0x25c838[_0x29c52b(0xff)](getParentTitles,_0xf1f196[_0x29c52b(0x116)]()):[],_0x2344c0=_0x25c838['hTvcY'](_0x420b1b[_0x29c52b(0xdc)],0x1)?_0x420b1b[_0x29c52b(0xc6)](0x1):_0x420b1b,_0x524252=_0x5ae0dd[_0x29c52b(0x97)]&&_0x5ae0dd[_0x29c52b(0x97)][_0x29c52b(0xd9)],_0x456ded={'itemName':_0xf1f196[_0x29c52b(0x11c)],'scopes':_0x2344c0[_0x29c52b(0xf4)]([_0xf1f196[_0x29c52b(0x11c)]]),'location':_0x24a7f1,'collectionName':_0x3164d5,'startedAt':new Date()[_0x29c52b(0xbc)](),'startTimestamp':Date[_0x29c52b(0xb9)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x24b3fe[_0x29c52b(0x12c)](_0xf1f196['id']+'_'+_0x5ef670,_0x456ded),_0x524252&&_0x24b3fe[_0x29c52b(0x12c)](_0x524252+'_'+_0x5ef670,_0x456ded);}catch(_0x1ca9b0){_0x25c838[_0x29c52b(0x18b)](debug,_0x29c52b(0xc5)+_0x1ca9b0);}}),_0x577bcc['on'](_0x25c838[_0x216fc3(0x129)],(_0x1142dd,_0x10d666)=>{const _0x5cc32e=_0x216fc3;try{if(!_0x10d666||!_0x10d666[_0x5cc32e(0x146)])return;const _0x3574dd=_0x24b3fe['get'](_0x10d666[_0x5cc32e(0x146)]['id']+'_'+_0x5ef670);if(!_0x3574dd)return;_0x10d666['response']&&(_0x3574dd[_0x5cc32e(0x154)]=_0x10d666[_0x5cc32e(0x165)][_0x5cc32e(0x179)]||null);if(!_0x10d666[_0x5cc32e(0x17b)])return;let _0x1be389='',_0x397704='';if(_0x10d666[_0x5cc32e(0x17b)][_0x5cc32e(0xfe)])try{const _0x25b722=_0x10d666['request'][_0x5cc32e(0xfe)][_0x5cc32e(0xc7)](),_0x42ff8a=new URL(_0x25b722[_0x5cc32e(0x180)](_0x25c838[_0x5cc32e(0xb1)])?_0x25b722:'http://'+_0x25b722);_0x1be389=_0x42ff8a[_0x5cc32e(0xe9)],_0x397704=_0x25c838[_0x5cc32e(0x14a)](_0x42ff8a['pathname'],_0x42ff8a[_0x5cc32e(0xf7)]);}catch(_0x33c547){_0x397704=_0x10d666[_0x5cc32e(0x17b)]['url']['toString']();}const _0x20cf60={};_0x20cf60[_0x5cc32e(0x123)]=_0x1be389,_0x20cf60[_0x5cc32e(0xfb)]=_0x397704,_0x20cf60[_0x5cc32e(0x164)]=_0x10d666[_0x5cc32e(0x17b)][_0x5cc32e(0x164)]||_0x25c838[_0x5cc32e(0x10d)],_0x20cf60[_0x5cc32e(0xc2)]={},_0x20cf60[_0x5cc32e(0xa2)]=_0x10d666[_0x5cc32e(0x165)]?_0x10d666[_0x5cc32e(0x165)][_0x5cc32e(0x179)]||0x0:0x0,_0x20cf60[_0x5cc32e(0x15e)]=_0x10d666[_0x5cc32e(0x165)]?_0x10d666['response']['responseTime']||0x0:0x0,_0x3574dd[_0x5cc32e(0x15a)]=_0x20cf60;}catch(_0x20ac52){_0x25c838['Bdzbh'](debug,_0x5cc32e(0x101)+_0x20ac52);}}),_0x577bcc['on'](_0x25c838[_0x216fc3(0xd4)],(_0x1aaadd,_0x5619ef)=>{const _0x33301a=_0x216fc3;try{if(!_0x5619ef||!_0x5619ef['item'])return;const _0x35f535=_0x24b3fe[_0x33301a(0x98)](_0x5619ef['item']['id']+'_'+_0x5ef670);if(!_0x35f535)return;const _0x12bef7=_0x5619ef[_0x33301a(0xa3)]||'Assertion\x20'+_0x25c838['EiIWe'](_0x35f535[_0x33301a(0x13b)][_0x33301a(0xdc)],0x1),_0x304a00=_0x25c838[_0x33301a(0xe7)](uuidv4),_0x4a3721=_0x35f535['scopes'][_0x33301a(0xf4)]([_0x12bef7])['join']('\x20');_0x35f535['assertions'][_0x33301a(0x12f)]({'uuid':_0x304a00,'name':_0x12bef7,'identifier':_0x4a3721,'err':_0x25c838['RrIdj'](_0x1aaadd,null)});const _0xcdb907={};_0xcdb907[_0x33301a(0xb3)]=_0x304a00,_0xcdb907[_0x33301a(0x11c)]=_0x12bef7,_0xcdb907[_0x33301a(0xce)]=_0x4a3721,_0x25c838[_0x33301a(0xea)](emitTest,HookState['PRE'],_0xcdb907,_0x35f535,_0x237778,{});_0x25c838[_0x33301a(0x157)](_0x35f535['assertions'][_0x33301a(0xdc)],0x1)&&_0x25c838[_0x33301a(0xdf)](_0x35f535[_0x33301a(0x120)]['length'],0x0)&&(_0x35f535[_0x33301a(0x120)]['forEach'](_0x2c142d=>{const _0x3945f2=_0x33301a;_0x25c838[_0x3945f2(0x9b)](emitLog,_0x304a00,{'kind':_0x25c838[_0x3945f2(0xad)],'message':_0x2c142d[_0x3945f2(0x185)],'level':_0x2c142d[_0x3945f2(0xaa)]});}),_0x35f535[_0x33301a(0x120)]=[]);if(_0x35f535[_0x33301a(0x15a)]){_0x25c838['SOFnt'](emitLog,_0x304a00,{'kind':_0x25c838['jrMzm'],'http_response':_0x35f535[_0x33301a(0x15a)]});const _0x356fd0=_0x25c838[_0x33301a(0x10c)](_0x25c838[_0x33301a(0x124)](_0x25c838['OFvMe'](_0x25c838[_0x33301a(0x181)](_0x25c838['UzMeS'](_0x25c838[_0x33301a(0x124)](_0x25c838[_0x33301a(0xcc)](_0x25c838[_0x33301a(0x124)](_0x35f535[_0x33301a(0x15a)][_0x33301a(0x164)]||_0x25c838[_0x33301a(0x10d)],'\x20'),_0x35f535['httpLog'][_0x33301a(0x123)]),_0x35f535[_0x33301a(0x15a)][_0x33301a(0xfb)]),_0x25c838[_0x33301a(0x161)]),_0x35f535[_0x33301a(0x15a)]['status_code']),'\x20('),_0x35f535[_0x33301a(0x15a)]['duration_ms']),_0x25c838['GgyFi']);_0x25c838[_0x33301a(0x121)](emitLog,_0x304a00,{'kind':_0x25c838[_0x33301a(0xad)],'message':_0x356fd0,'level':_0x25c838[_0x33301a(0x153)]});}_0x43c247=_0x304a00;}catch(_0x2263da){_0x25c838[_0x33301a(0xc4)](debug,_0x33301a(0x145)+_0x2263da);}}),_0x577bcc['on'](_0x25c838[_0x216fc3(0x131)],(_0xcb6192,_0x58f036)=>{const _0x3ed8c2=_0x216fc3;try{if(!_0x58f036)return;let _0xae3c9d=_0x43c247;if(!_0xae3c9d&&_0x58f036[_0x3ed8c2(0x97)]&&_0x58f036[_0x3ed8c2(0x97)][_0x3ed8c2(0xd9)]){const _0x2bde20=_0x24b3fe['get'](_0x58f036[_0x3ed8c2(0x97)]['ref']+'_'+_0x5ef670);_0x2bde20&&_0x25c838['RyVsI'](_0x2bde20[_0x3ed8c2(0x13b)][_0x3ed8c2(0xdc)],0x0)&&(_0xae3c9d=_0x2bde20[_0x3ed8c2(0x13b)][_0x25c838[_0x3ed8c2(0xcb)](_0x2bde20['assertions'][_0x3ed8c2(0xdc)],0x1)][_0x3ed8c2(0xb3)]);}const _0x515128=_0x58f036['messages']?_0x58f036[_0x3ed8c2(0x178)][_0x3ed8c2(0xeb)](',\x20'):'';if(_0xae3c9d)_0x25c838[_0x3ed8c2(0xc8)](emitLog,_0xae3c9d,{'kind':_0x25c838['atAKc'],'message':_0x515128,'level':_0x25c838[_0x3ed8c2(0x18b)](normalizeLogLevel,_0x58f036[_0x3ed8c2(0xaa)])});else{if(_0x58f036[_0x3ed8c2(0x97)]&&_0x58f036[_0x3ed8c2(0x97)]['ref']){const _0x1d1d1b=_0x24b3fe[_0x3ed8c2(0x98)](_0x58f036[_0x3ed8c2(0x97)][_0x3ed8c2(0xd9)]+'_'+_0x5ef670);_0x1d1d1b&&_0x1d1d1b[_0x3ed8c2(0x120)][_0x3ed8c2(0x12f)]({'timestamp':new Date()[_0x3ed8c2(0xbc)](),'level':_0x25c838[_0x3ed8c2(0x18b)](normalizeLogLevel,_0x58f036[_0x3ed8c2(0xaa)]),'message':_0x515128});}}}catch(_0x5b1f74){_0x25c838[_0x3ed8c2(0xff)](debug,_0x3ed8c2(0x118)+_0x5b1f74);}}),_0x577bcc['on'](_0x25c838[_0x216fc3(0x156)],(_0x2660bd,_0x2993e2)=>{const _0x5b29a2=_0x216fc3;try{if(!_0x2660bd&&(!_0x2993e2||!_0x2993e2[_0x5b29a2(0x126)]))return;const _0x5ed853=_0x2660bd||_0x2993e2['error'],_0x57ac8d=_0x5ed853['message']||_0x25c838['Bdzbh'](String,_0x5ed853),_0x7764d7=_0x5ed853['stack']||_0x57ac8d;let _0x255810=_0x43c247;if(_0x25c838[_0x5b29a2(0x11b)](!_0x255810,_0x2993e2)&&_0x2993e2[_0x5b29a2(0x97)]&&_0x2993e2[_0x5b29a2(0x97)]['ref']){const _0x5d9f22=_0x24b3fe['get'](_0x2993e2[_0x5b29a2(0x97)]['ref']+'_'+_0x5ef670);_0x5d9f22&&_0x25c838['OGRRk'](_0x5d9f22[_0x5b29a2(0x13b)][_0x5b29a2(0xdc)],0x0)&&(_0x255810=_0x5d9f22[_0x5b29a2(0x13b)][_0x25c838[_0x5b29a2(0xaf)](_0x5d9f22[_0x5b29a2(0x13b)][_0x5b29a2(0xdc)],0x1)][_0x5b29a2(0xb3)]);}_0x255810&&_0x25c838['lTiLw'](emitLog,_0x255810,{'kind':_0x25c838[_0x5b29a2(0xad)],'message':_0x25c838[_0x5b29a2(0x10c)](_0x25c838[_0x5b29a2(0xa5)],_0x7764d7),'level':_0x25c838['vToeM']});}catch(_0x4ad7fe){_0x25c838[_0x5b29a2(0xff)](debug,_0x25c838['pUPIv'](_0x25c838[_0x5b29a2(0x168)],_0x4ad7fe));}}),_0x577bcc['on'](_0x25c838[_0x216fc3(0xf3)],(_0x5cd112,_0x1a0df5)=>{const _0x5cf9c7=_0x216fc3;try{if(!_0x1a0df5||!_0x1a0df5[_0x5cf9c7(0x15b)])return;let _0xb3c9cc=_0x43c247;if(!_0xb3c9cc&&_0x1a0df5[_0x5cf9c7(0x97)]&&_0x1a0df5[_0x5cf9c7(0x97)][_0x5cf9c7(0xd9)]){const _0xa08c9c=_0x24b3fe['get'](_0x1a0df5[_0x5cf9c7(0x97)][_0x5cf9c7(0xd9)]+'_'+_0x5ef670);_0xa08c9c&&_0x25c838[_0x5cf9c7(0xdf)](_0xa08c9c['assertions'][_0x5cf9c7(0xdc)],0x0)&&(_0xb3c9cc=_0xa08c9c['assertions'][_0x25c838['wLznt'](_0xa08c9c[_0x5cf9c7(0x13b)][_0x5cf9c7(0xdc)],0x1)][_0x5cf9c7(0xb3)]);}if(!_0xb3c9cc)return;const _0x26d104=_0x1a0df5[_0x5cf9c7(0x13d)]&&_0x1a0df5[_0x5cf9c7(0x13d)][_0x5cf9c7(0x106)]||_0x25c838[_0x5cf9c7(0xe2)];_0x5cd112&&_0x25c838[_0x5cf9c7(0x121)](emitLog,_0xb3c9cc,{'kind':_0x25c838[_0x5cf9c7(0xad)],'message':_0x25c838['QFRBd'](_0x25c838[_0x5cf9c7(0x175)](_0x25c838[_0x5cf9c7(0xd3)](_0x25c838[_0x5cf9c7(0x107)],_0x26d104),_0x25c838[_0x5cf9c7(0xb2)]),_0x5cd112[_0x5cf9c7(0x185)]||_0x5cd112),'level':_0x25c838[_0x5cf9c7(0xb0)]});}catch(_0x37e5b8){_0x25c838[_0x5cf9c7(0x18b)](debug,_0x25c838[_0x5cf9c7(0x10c)](_0x25c838['FCMoB'],_0x37e5b8));}}),_0x577bcc['on'](_0x25c838[_0x216fc3(0x17f)],(_0x18c3c0,_0x56c620)=>{const _0x494bca=_0x216fc3;try{if(!_0x56c620||!_0x56c620[_0x494bca(0x146)])return;const _0x36a575=_0x56c620[_0x494bca(0x146)]['id']+'_'+_0x5ef670,_0x4532b4=_0x24b3fe['get'](_0x36a575);if(!_0x4532b4)return;const _0xda53a7=new Date(),_0x19b8a4=_0x25c838[_0x494bca(0xcb)](_0xda53a7[_0x494bca(0x13c)](),_0x4532b4[_0x494bca(0xf9)]);if(_0x25c838[_0x494bca(0x182)](_0x4532b4[_0x494bca(0x13b)][_0x494bca(0xdc)],0x0))_0x4532b4[_0x494bca(0x13b)]['forEach'](_0x4c2ae9=>{const _0x177005=_0x494bca,_0x147cde=!!_0x4c2ae9[_0x177005(0x12d)],_0xdbe90f={'finishedAt':_0xda53a7[_0x177005(0xbc)](),'durationMs':_0x19b8a4,'result':_0x147cde?_0x25c838[_0x177005(0x147)]:_0x25c838[_0x177005(0x159)]};_0x147cde&&(_0xdbe90f[_0x177005(0xb4)]=_0x4c2ae9[_0x177005(0x12d)][_0x177005(0x185)]||'',_0xdbe90f['failureType']=_0x25c838[_0x177005(0x157)](_0x4c2ae9[_0x177005(0x12d)][_0x177005(0x11c)],_0x25c838[_0x177005(0x16d)])||_0x4c2ae9[_0x177005(0x12d)][_0x177005(0x185)]&&_0x4c2ae9[_0x177005(0x12d)][_0x177005(0x185)][_0x177005(0x13e)](_0x25c838[_0x177005(0xb7)])?_0x25c838[_0x177005(0x16d)]:_0x25c838[_0x177005(0x112)],_0xdbe90f['failure']=[{'backtrace':_0x4c2ae9['err'][_0x177005(0x170)]?_0x4c2ae9[_0x177005(0x12d)][_0x177005(0x170)][_0x177005(0xcf)]('\x0a'):[_0x4c2ae9['err'][_0x177005(0x185)]||''],'expanded':[]}]),_0x25c838[_0x177005(0xea)](emitTest,HookState[_0x177005(0x143)],_0x4c2ae9,_0x4532b4,_0x237778,_0xdbe90f);});else{const _0x8c90d0=_0x25c838[_0x494bca(0xe3)](uuidv4),_0x48184d=_0x4532b4[_0x494bca(0x154)],_0x1849fd=_0x25c838['bcekE'](_0x48184d,null)&&_0x25c838[_0x494bca(0xf1)](_0x48184d,0xc8)&&_0x25c838[_0x494bca(0x10e)](_0x48184d,0x190),_0x5b6ae4=_0x4532b4['itemName']+_0x494bca(0x133)+_0x25c838[_0x494bca(0xd7)](_0x48184d,_0x25c838[_0x494bca(0x102)])+')',_0x42e153={'uuid':_0x8c90d0,'name':_0x5b6ae4,'identifier':_0x4532b4['scopes']['concat']([_0x5b6ae4])[_0x494bca(0xeb)]('\x20')},_0x2527a5={'finishedAt':_0xda53a7[_0x494bca(0xbc)](),'durationMs':_0x19b8a4,'result':_0x1849fd?_0x25c838['DJBhU']:_0x25c838[_0x494bca(0x147)]};!_0x1849fd&&(_0x2527a5[_0x494bca(0xb4)]=_0x25c838['bcekE'](_0x48184d,null)?_0x494bca(0xa0)+_0x48184d+_0x494bca(0x148):_0x25c838['sxRkP'],_0x2527a5[_0x494bca(0xfa)]=_0x25c838[_0x494bca(0x112)],_0x2527a5[_0x494bca(0x113)]=[{'backtrace':[_0x2527a5[_0x494bca(0xb4)]],'expanded':[]}]);_0x25c838[_0x494bca(0xe5)](emitTest,HookState[_0x494bca(0x9a)],_0x42e153,_0x4532b4,_0x237778,{}),_0x4532b4['bufferedLogs'][_0x494bca(0x114)](_0x287356=>{const _0x26a5f0=_0x494bca;_0x25c838['lTiLw'](emitLog,_0x8c90d0,{'kind':_0x25c838['atAKc'],'message':_0x287356[_0x26a5f0(0x185)],'level':_0x287356[_0x26a5f0(0xaa)]});});if(_0x4532b4[_0x494bca(0x15a)]){_0x25c838[_0x494bca(0xfc)](emitLog,_0x8c90d0,{'kind':_0x25c838[_0x494bca(0xb8)],'http_response':_0x4532b4[_0x494bca(0x15a)]});const _0x289a22=_0x25c838[_0x494bca(0xab)](_0x25c838[_0x494bca(0xab)](_0x25c838['KeTyQ'](_0x25c838[_0x494bca(0xba)](_0x25c838[_0x494bca(0xab)](_0x25c838[_0x494bca(0x14a)](_0x25c838[_0x494bca(0x16f)](_0x25c838['pEXdo'](_0x4532b4[_0x494bca(0x15a)]['method']||_0x25c838[_0x494bca(0x10d)],'\x20'),_0x4532b4[_0x494bca(0x15a)][_0x494bca(0x123)]),_0x4532b4[_0x494bca(0x15a)]['path']),_0x25c838[_0x494bca(0x161)]),_0x4532b4[_0x494bca(0x15a)][_0x494bca(0xa2)]),'\x20('),_0x4532b4[_0x494bca(0x15a)][_0x494bca(0x15e)]),_0x25c838[_0x494bca(0x9f)]);_0x25c838[_0x494bca(0x121)](emitLog,_0x8c90d0,{'kind':_0x25c838['atAKc'],'message':_0x289a22,'level':_0x25c838[_0x494bca(0x153)]});}else _0x25c838[_0x494bca(0xdd)](emitLog,_0x8c90d0,{'kind':_0x25c838[_0x494bca(0xad)],'message':_0x25c838[_0x494bca(0x175)](_0x25c838[_0x494bca(0x173)](_0x25c838[_0x494bca(0x150)],_0x25c838[_0x494bca(0xd7)](_0x48184d,_0x25c838[_0x494bca(0x102)])),_0x25c838['tkUtm']),'level':_0x25c838[_0x494bca(0x153)]});_0x25c838[_0x494bca(0x14b)](emitTest,HookState[_0x494bca(0x143)],_0x42e153,_0x4532b4,_0x237778,_0x2527a5);}_0x24b3fe[_0x494bca(0xa4)](_0x36a575),_0x56c620[_0x494bca(0x97)]&&_0x56c620[_0x494bca(0x97)][_0x494bca(0xd9)]&&_0x24b3fe[_0x494bca(0xa4)](_0x56c620['cursor'][_0x494bca(0xd9)]+'_'+_0x5ef670);}catch(_0x2ac86e){_0x25c838[_0x494bca(0x144)](debug,_0x494bca(0x177)+_0x2ac86e);}});}module['exports']=BrowserStackNewmanReporter;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a45_0x44cab6=a45_0x274f;(function(_0x3de9df,_0x1bcf6a){const _0x2454d2=a45_0x274f,_0x2f8d1e=_0x3de9df();while(!![]){try{const _0x1fb7f7=parseInt(_0x2454d2(0x197))/0x1+-parseInt(_0x2454d2(0x19d))/0x2+-parseInt(_0x2454d2(0x19e))/0x3*(-parseInt(_0x2454d2(0x178))/0x4)+-parseInt(_0x2454d2(0x19c))/0x5*(-parseInt(_0x2454d2(0x17a))/0x6)+-parseInt(_0x2454d2(0x1a7))/0x7+parseInt(_0x2454d2(0x1ae))/0x8+parseInt(_0x2454d2(0x1b0))/0x9*(-parseInt(_0x2454d2(0x17c))/0xa);if(_0x1fb7f7===_0x1bcf6a)break;else _0x2f8d1e['push'](_0x2f8d1e['shift']());}catch(_0x458d0c){_0x2f8d1e['push'](_0x2f8d1e['shift']());}}}(a45_0x1f35,0xbfb19));function a45_0x274f(_0x1b6857,_0x1f0ca1){const _0x1f3563=a45_0x1f35();return a45_0x274f=function(_0x274f37,_0x251e60){_0x274f37=_0x274f37-0x173;let _0x398d81=_0x1f3563[_0x274f37];return _0x398d81;},a45_0x274f(_0x1b6857,_0x1f0ca1);}const path=require('path'),Module=require(a45_0x44cab6(0x179)),BrowserstackCLI=require(a45_0x44cab6(0x187)),scriptFile=process[a45_0x44cab6(0x186)][0x2],maxParallel=parseInt(process[a45_0x44cab6(0x186)][0x3])||0x0;!scriptFile&&(process['stderr'][a45_0x44cab6(0x198)](a45_0x44cab6(0x18b)),process[a45_0x44cab6(0x1a3)](0x1));const reporterPath=path[a45_0x44cab6(0x1a9)](__dirname,a45_0x44cab6(0x195),a45_0x44cab6(0x18c)),originalResolveFilename=Module['_resolveFilename'];function a45_0x1f35(){const _0x1db16b=['PIrsU','[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20','exit','newman','AutZu','nngUn','3174542EFQuLC','create','join','browserstack','concat','call','BtLQO','2411352UNLRUr','collection','567450ThxBWZ','exitCode','OeWEw','failures','error','NbjaA','160heQDPq','module','72fKRekg','fJZSF','40eeocMq','indexOf','reporters','YJiTE','p-limit','fzPiV','GAapO','ClDKp','message','lZggA','argv','../v2/browserstackCLI','_load','string','rRomB','[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a','index.js','itIoQ','JXodk','beforeExit','assign','hihXX','ObvPH','aoJAg','nnQkm','reporter','ujcNU','1130602AoMIjT','write','ybyeu','collectionPath','zTBWD','43270cFDxXr','2146132PoGPRb','77106arhTOP','run','hRWIp'];a45_0x1f35=function(){return _0x1db16b;};return a45_0x1f35();}Module['_resolveFilename']=function(_0x44bad2,_0x16d217,_0x532b53,_0x45efb9){const _0x5173ca=a45_0x44cab6,_0x3233dc={};_0x3233dc[_0x5173ca(0x183)]=function(_0x3f9b89,_0x4113bd){return _0x3f9b89===_0x4113bd;},_0x3233dc[_0x5173ca(0x17b)]='newman-reporter-browserstack';const _0x2d36b6=_0x3233dc;if(_0x2d36b6['ClDKp'](_0x44bad2,_0x2d36b6[_0x5173ca(0x17b)]))return reporterPath;return originalResolveFilename[_0x5173ca(0x1ac)](this,_0x44bad2,_0x16d217,_0x532b53,_0x45efb9);};let limit;try{const pLimit=require(a45_0x44cab6(0x180)),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a45_0x33bf0f){limit=function(_0x56c6fd){const _0x1fa5b6=a45_0x44cab6,_0x21a8d6={'nngUn':function(_0x21baa6){return _0x21baa6();}};return _0x21a8d6[_0x1fa5b6(0x1a6)](_0x56c6fd);};}let wrappedNewman=null,hasFailure=![];const originalLoad=Module['_load'];Module[a45_0x44cab6(0x188)]=function(_0xcfe08a,_0x4a7dfa,_0x3ff1d7){const _0x51aeb6=a45_0x44cab6,_0x1d7190={'nnQkm':function(_0x21396d,_0x4bafdd){return _0x21396d>_0x4bafdd;},'itIoQ':function(_0x4a528c,_0x19bddc){return _0x4a528c||_0x19bddc;},'JXodk':function(_0x3b6d29,_0x3459b7,_0x175876){return _0x3b6d29(_0x3459b7,_0x175876);},'PIrsU':function(_0x3e16f2,_0x5465cd){return _0x3e16f2(_0x5465cd);},'theVZ':'cli','aoJAg':function(_0x14d349,_0x87a39){return _0x14d349===_0x87a39;},'NbjaA':_0x51aeb6(0x1aa),'ZORbe':_0x51aeb6(0x189),'hRWIp':function(_0x1095b6,_0x53d493){return _0x1095b6(_0x53d493);},'ybyeu':function(_0xea39d9,_0x535bae){return _0xea39d9!==_0x535bae;},'hihXX':_0x51aeb6(0x1a4)},_0x509155=originalLoad['call'](this,_0xcfe08a,_0x4a7dfa,_0x3ff1d7);if(_0x1d7190[_0x51aeb6(0x199)](_0xcfe08a,_0x1d7190[_0x51aeb6(0x191)]))return _0x509155;if(wrappedNewman)return wrappedNewman;const _0x54f776=_0x509155[_0x51aeb6(0x19f)]['bind'](_0x509155);return wrappedNewman=Object[_0x51aeb6(0x1a8)](_0x509155),wrappedNewman[_0x51aeb6(0x19f)]=function(_0x5a9cfa,_0x26c0ae){const _0x4ff9b4=_0x51aeb6,_0xe7f0ca={'ObvPH':function(_0x27c075,_0x4a8489){const _0x1816ad=a45_0x274f;return _0x1d7190[_0x1816ad(0x194)](_0x27c075,_0x4a8489);},'lZggA':function(_0x329d62,_0x153da9){const _0x821d7d=a45_0x274f;return _0x1d7190[_0x821d7d(0x18d)](_0x329d62,_0x153da9);},'ipTPg':function(_0x2f88c6,_0x2d4b06,_0x5a3d42){const _0x5ce395=a45_0x274f;return _0x1d7190[_0x5ce395(0x18e)](_0x2f88c6,_0x2d4b06,_0x5a3d42);},'GAapO':function(_0x6fef00,_0x5772b6){const _0x49ca5d=a45_0x274f;return _0x1d7190[_0x49ca5d(0x1a1)](_0x6fef00,_0x5772b6);}};let _0x27fb82=_0x5a9cfa[_0x4ff9b4(0x17e)]||[_0x1d7190['theVZ']];_0x1d7190[_0x4ff9b4(0x193)](_0x27fb82[_0x4ff9b4(0x17d)](_0x1d7190[_0x4ff9b4(0x177)]),-0x1)&&(_0x27fb82=_0x27fb82[_0x4ff9b4(0x1ab)]([_0x1d7190['NbjaA']]));const _0x1d44f3=_0x1d7190[_0x4ff9b4(0x193)](typeof _0x5a9cfa[_0x4ff9b4(0x1af)],_0x1d7190['ZORbe'])?_0x5a9cfa[_0x4ff9b4(0x1af)]:undefined,_0x596a47={};_0x596a47[_0x4ff9b4(0x19a)]=_0x1d44f3;const _0x3a22b8=Object[_0x4ff9b4(0x190)]({},_0x5a9cfa[_0x4ff9b4(0x195)],{'browserstack':Object['assign']({},_0x5a9cfa[_0x4ff9b4(0x195)]&&_0x5a9cfa[_0x4ff9b4(0x195)][_0x4ff9b4(0x1aa)],_0x596a47)}),_0x150b63={};return _0x150b63[_0x4ff9b4(0x17e)]=_0x27fb82,_0x150b63[_0x4ff9b4(0x195)]=_0x3a22b8,_0x5a9cfa=Object[_0x4ff9b4(0x190)]({},_0x5a9cfa,_0x150b63),_0x1d7190[_0x4ff9b4(0x1a0)](limit,function(){return new Promise(function(_0x1f435f){const _0x246013={'YJiTE':function(_0x12b1b4,_0x8963e8){const _0xa0abba=a45_0x274f;return _0xe7f0ca[_0xa0abba(0x192)](_0x12b1b4,_0x8963e8);},'BtLQO':function(_0x31e6e6,_0x1eb84a){const _0x49f4cb=a45_0x274f;return _0xe7f0ca[_0x49f4cb(0x185)](_0x31e6e6,_0x1eb84a);},'rRomB':function(_0x2c83ad,_0xcda434,_0x571aef){return _0xe7f0ca['ipTPg'](_0x2c83ad,_0xcda434,_0x571aef);},'AutZu':function(_0x457b5a,_0x246c3b){const _0x2500be=a45_0x274f;return _0xe7f0ca[_0x2500be(0x182)](_0x457b5a,_0x246c3b);}};_0xe7f0ca['ipTPg'](_0x54f776,_0x5a9cfa,function(_0x32aeea,_0xdcb1be){const _0x54b005=a45_0x274f,_0x3b496a=_0xdcb1be&&_0xdcb1be[_0x54b005(0x19f)]&&(_0xdcb1be[_0x54b005(0x19f)][_0x54b005(0x176)]||_0xdcb1be[_0x54b005(0x19f)][_0x54b005(0x175)]&&_0x246013[_0x54b005(0x17f)](_0xdcb1be[_0x54b005(0x19f)][_0x54b005(0x175)]['length'],0x0));_0x246013[_0x54b005(0x1ad)](_0x3b496a,_0x32aeea)&&(hasFailure=!![]),_0x26c0ae&&_0x246013[_0x54b005(0x18a)](_0x26c0ae,_0x32aeea,_0xdcb1be),_0x246013[_0x54b005(0x1a5)](_0x1f435f,_0xdcb1be);});});});},wrappedNewman;};async function main(){const _0x10bbd9=a45_0x44cab6,_0x2c7864={'OeWEw':function(_0x308226,_0x2795d8){return _0x308226(_0x2795d8);},'ujcNU':function(_0x4203fc,_0x1275ef){return _0x4203fc+_0x1275ef;},'fzPiV':_0x10bbd9(0x1a2)};try{await BrowserstackCLI['getInstance']()['bootstrap']();}catch(_0x5cbacc){}try{_0x2c7864[_0x10bbd9(0x174)](require,path['resolve'](scriptFile));}catch(_0x3172bf){process['stderr'][_0x10bbd9(0x198)](_0x2c7864[_0x10bbd9(0x196)](_0x2c7864['ujcNU'](_0x2c7864[_0x10bbd9(0x181)],_0x3172bf[_0x10bbd9(0x184)]||_0x3172bf),'\x0a')),process[_0x10bbd9(0x173)]=0x1;}}main(),process['on'](a45_0x44cab6(0x18f),function(){const _0x501c61=a45_0x44cab6;hasFailure&&(process[_0x501c61(0x173)]=0x1);}),process['on'](a45_0x44cab6(0x1a3),function(){const _0x58bb3b=a45_0x44cab6,_0x21e9f5={};_0x21e9f5[_0x58bb3b(0x19b)]=function(_0x1e15aa,_0x2df127){return _0x1e15aa===_0x2df127;};const _0x4adc07=_0x21e9f5;hasFailure&&_0x4adc07[_0x58bb3b(0x19b)](process[_0x58bb3b(0x173)],0x0)&&(process[_0x58bb3b(0x173)]=0x1);});
2
+ 'use strict';const a45_0x214344=a45_0x3568;(function(_0x553419,_0x5cceb8){const _0x150917=a45_0x3568,_0x4a914d=_0x553419();while(!![]){try{const _0x53532b=-parseInt(_0x150917(0xa3))/0x1*(-parseInt(_0x150917(0xa4))/0x2)+-parseInt(_0x150917(0xb6))/0x3+-parseInt(_0x150917(0x9c))/0x4+-parseInt(_0x150917(0x9e))/0x5+-parseInt(_0x150917(0xb2))/0x6*(parseInt(_0x150917(0xaa))/0x7)+parseInt(_0x150917(0xb3))/0x8+parseInt(_0x150917(0x98))/0x9;if(_0x53532b===_0x5cceb8)break;else _0x4a914d['push'](_0x4a914d['shift']());}catch(_0x18a59c){_0x4a914d['push'](_0x4a914d['shift']());}}}(a45_0xdcb6,0x3afb9));const path=require(a45_0x214344(0x9a)),Module=require(a45_0x214344(0x9f)),BrowserstackCLI=require(a45_0x214344(0x94)),scriptFile=process[a45_0x214344(0xb8)][0x2],maxParallel=parseInt(process[a45_0x214344(0xb8)][0x3])||0x0;!scriptFile&&(process[a45_0x214344(0xc4)][a45_0x214344(0xc5)](a45_0x214344(0xb7)),process['exit'](0x1));const reporterPath=path[a45_0x214344(0xa8)](__dirname,'reporter','index.js'),originalResolveFilename=Module[a45_0x214344(0xd0)];Module[a45_0x214344(0xd0)]=function(_0x34e442,_0x451047,_0x5ca169,_0xb83b27){const _0x55db09=a45_0x214344,_0xebb7eb={};_0xebb7eb[_0x55db09(0xa5)]=function(_0x5eff22,_0x593401){return _0x5eff22===_0x593401;},_0xebb7eb[_0x55db09(0xa7)]=_0x55db09(0xae);const _0x2f07d6=_0xebb7eb;if(_0x2f07d6['xqUCR'](_0x34e442,_0x2f07d6[_0x55db09(0xa7)]))return reporterPath;return originalResolveFilename[_0x55db09(0xb4)](this,_0x34e442,_0x451047,_0x5ca169,_0xb83b27);};let limit;try{const pLimit=require(a45_0x214344(0xbf)),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a45_0x405d93){limit=function(_0x59d44){const _0x1c1f4e=a45_0x214344,_0x31720f={'NgnKP':function(_0x26857c){return _0x26857c();}};return _0x31720f[_0x1c1f4e(0xbe)](_0x59d44);};}let wrappedNewman=null,hasFailure=![];function a45_0x3568(_0x160d81,_0x34de12){const _0xdcb64e=a45_0xdcb6();return a45_0x3568=function(_0x356865,_0x236da6){_0x356865=_0x356865-0x94;let _0x3530e3=_0xdcb64e[_0x356865];return _0x3530e3;},a45_0x3568(_0x160d81,_0x34de12);}function a45_0xdcb6(){const _0x2c529a=['write','browserstack','exit','iepSm','pkaRr','UoSDs','reporters','nninH','GqbXZ','bootstrap','collection','_resolveFilename','run','../v2/browserstackCLI','xPTGl','failures','reporter','8037513qMXpIB','XTdgH','path','OelHU','843908ZlUpPI','SCzpo','2235460WrriSM','module','message','length','jLeel','1pRbRUM','246832zCNYBt','xqUCR','newman','rvdqj','join','MXOFQ','1258544VdxuXv','string','[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20','nnjSJ','newman-reporter-browserstack','yyHfV','nQbMK','indexOf','6eMsUqd','1487616ysLXaD','call','concat','368913EfJmJb','[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a','argv','BdjCa','_load','cli','assign','sYLDV','NgnKP','p-limit','error','lLfia','exitCode','TqsBt','stderr'];a45_0xdcb6=function(){return _0x2c529a;};return a45_0xdcb6();}const originalLoad=Module[a45_0x214344(0xba)];Module[a45_0x214344(0xba)]=function(_0x215680,_0x41a332,_0x11a13c){const _0x4dda94=a45_0x214344,_0x57a87a={'SCzpo':function(_0x332be9,_0xbcc432){return _0x332be9>_0xbcc432;},'UoSDs':function(_0x13a09f,_0x251fea){return _0x13a09f||_0x251fea;},'tnuan':function(_0x2c6b27,_0x2e61e5,_0x1f981e){return _0x2c6b27(_0x2e61e5,_0x1f981e);},'MXOFQ':function(_0x552b0b,_0x2bda0f){return _0x552b0b(_0x2bda0f);},'sYLDV':_0x4dda94(0xbb),'nQbMK':function(_0xcdf747,_0x30d3b2){return _0xcdf747===_0x30d3b2;},'pkaRr':_0x4dda94(0xc6),'xPTGl':function(_0x369049,_0x86a94d){return _0x369049===_0x86a94d;},'jLeel':_0x4dda94(0xab),'nninH':function(_0x396b1d,_0x5440e2){return _0x396b1d(_0x5440e2);},'nnjSJ':function(_0x45547e,_0xe15c1d){return _0x45547e!==_0xe15c1d;},'GqbXZ':_0x4dda94(0xa6)},_0x37debd=originalLoad[_0x4dda94(0xb4)](this,_0x215680,_0x41a332,_0x11a13c);if(_0x57a87a[_0x4dda94(0xad)](_0x215680,_0x57a87a[_0x4dda94(0xcd)]))return _0x37debd;if(wrappedNewman)return wrappedNewman;const _0x1ea5f0=_0x37debd[_0x4dda94(0xd1)]['bind'](_0x37debd);return wrappedNewman=Object['create'](_0x37debd),wrappedNewman[_0x4dda94(0xd1)]=function(_0x5658c1,_0xc3527d){const _0x4ba30b=_0x4dda94;let _0x2659aa=_0x5658c1[_0x4ba30b(0xcb)]||[_0x57a87a[_0x4ba30b(0xbd)]];_0x57a87a[_0x4ba30b(0xb0)](_0x2659aa[_0x4ba30b(0xb1)](_0x57a87a[_0x4ba30b(0xc9)]),-0x1)&&(_0x2659aa=_0x2659aa[_0x4ba30b(0xb5)]([_0x57a87a['pkaRr']]));const _0x134815=_0x57a87a[_0x4ba30b(0x95)](typeof _0x5658c1[_0x4ba30b(0xcf)],_0x57a87a[_0x4ba30b(0xa2)])?_0x5658c1[_0x4ba30b(0xcf)]:undefined,_0x55636c={};_0x55636c['collectionPath']=_0x134815;const _0x2eee43=Object[_0x4ba30b(0xbc)]({},_0x5658c1[_0x4ba30b(0x97)],{'browserstack':Object[_0x4ba30b(0xbc)]({},_0x5658c1[_0x4ba30b(0x97)]&&_0x5658c1[_0x4ba30b(0x97)][_0x4ba30b(0xc6)],_0x55636c)}),_0x516eca={};return _0x516eca[_0x4ba30b(0xcb)]=_0x2659aa,_0x516eca['reporter']=_0x2eee43,_0x5658c1=Object[_0x4ba30b(0xbc)]({},_0x5658c1,_0x516eca),_0x57a87a[_0x4ba30b(0xcc)](limit,function(){const _0x178538={'iepSm':function(_0x2f3dfc,_0x19bd17){const _0xaa59df=a45_0x3568;return _0x57a87a[_0xaa59df(0x9d)](_0x2f3dfc,_0x19bd17);},'XTdgH':function(_0x6aa1a0,_0x24ef84){const _0x28a8e2=a45_0x3568;return _0x57a87a[_0x28a8e2(0xca)](_0x6aa1a0,_0x24ef84);},'BdjCa':function(_0x31e88d,_0x3a3e3c,_0x34fb44){return _0x57a87a['tnuan'](_0x31e88d,_0x3a3e3c,_0x34fb44);},'pXIbs':function(_0xc2eb24,_0x396101){const _0x11ca3c=a45_0x3568;return _0x57a87a[_0x11ca3c(0xa9)](_0xc2eb24,_0x396101);}};return new Promise(function(_0x240863){const _0x219872=a45_0x3568;_0x178538[_0x219872(0xb9)](_0x1ea5f0,_0x5658c1,function(_0x27f1ea,_0xb6e3a0){const _0x135d92=_0x219872,_0xebc849=_0xb6e3a0&&_0xb6e3a0[_0x135d92(0xd1)]&&(_0xb6e3a0[_0x135d92(0xd1)][_0x135d92(0xc0)]||_0xb6e3a0['run']['failures']&&_0x178538[_0x135d92(0xc8)](_0xb6e3a0[_0x135d92(0xd1)][_0x135d92(0x96)][_0x135d92(0xa1)],0x0));_0x178538[_0x135d92(0x99)](_0xebc849,_0x27f1ea)&&(hasFailure=!![]),_0xc3527d&&_0x178538[_0x135d92(0xb9)](_0xc3527d,_0x27f1ea,_0xb6e3a0),_0x178538['pXIbs'](_0x240863,_0xb6e3a0);});});});},wrappedNewman;};async function main(){const _0x129610=a45_0x214344,_0x37014f={'OelHU':function(_0x45929c,_0x17902a){return _0x45929c(_0x17902a);},'yyHfV':function(_0x1652da,_0x2d1d42){return _0x1652da+_0x2d1d42;},'TqsBt':_0x129610(0xac)};try{await BrowserstackCLI['getInstance']()[_0x129610(0xce)]();}catch(_0x3fcf8a){}try{_0x37014f[_0x129610(0x9b)](require,path['resolve'](scriptFile));}catch(_0x505229){process[_0x129610(0xc4)][_0x129610(0xc5)](_0x37014f[_0x129610(0xaf)](_0x37014f[_0x129610(0xaf)](_0x37014f[_0x129610(0xc3)],_0x505229[_0x129610(0xa0)]||_0x505229),'\x0a')),process['exitCode']=0x1;}}main(),process['on']('beforeExit',function(){const _0x5b6701=a45_0x214344;hasFailure&&(process[_0x5b6701(0xc2)]=0x1);}),process['on'](a45_0x214344(0xc7),function(){const _0x109fe8=a45_0x214344,_0x1e17cf={};_0x1e17cf['lLfia']=function(_0xe5b844,_0xec1115){return _0xe5b844===_0xec1115;};const _0xa733fd=_0x1e17cf;hasFailure&&_0xa733fd[_0x109fe8(0xc1)](process[_0x109fe8(0xc2)],0x0)&&(process[_0x109fe8(0xc2)]=0x1);});
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a46_0x373cd9=a46_0x47ec;(function(_0x9d57e8,_0x3789d9){const _0x1d586b=a46_0x47ec,_0x450140=_0x9d57e8();while(!![]){try{const _0xcf0c38=-parseInt(_0x1d586b(0x15d))/0x1*(-parseInt(_0x1d586b(0x164))/0x2)+-parseInt(_0x1d586b(0x16b))/0x3*(parseInt(_0x1d586b(0x18f))/0x4)+parseInt(_0x1d586b(0x170))/0x5*(-parseInt(_0x1d586b(0x199))/0x6)+parseInt(_0x1d586b(0x16c))/0x7*(parseInt(_0x1d586b(0x19d))/0x8)+parseInt(_0x1d586b(0x1a5))/0x9*(parseInt(_0x1d586b(0x18c))/0xa)+-parseInt(_0x1d586b(0x161))/0xb*(-parseInt(_0x1d586b(0x184))/0xc)+parseInt(_0x1d586b(0x195))/0xd*(-parseInt(_0x1d586b(0x194))/0xe);if(_0xcf0c38===_0x3789d9)break;else _0x450140['push'](_0x450140['shift']());}catch(_0x5c7edb){_0x450140['push'](_0x450140['shift']());}}}(a46_0x4a30,0x4387a));function a46_0x47ec(_0x4474e4,_0x2f60a6){const _0x4a3032=a46_0x4a30();return a46_0x47ec=function(_0x47ec3d,_0x1a87b1){_0x47ec3d=_0x47ec3d-0x15b;let _0x5da70a=_0x4a3032[_0x47ec3d];return _0x5da70a;},a46_0x47ec(_0x4474e4,_0x2f60a6);}const fs=require('fs'),path=require(a46_0x373cd9(0x17a)),{spawn}=require('child_process'),logger=require('../../helpers/logger')[a46_0x373cd9(0x187)],{default:BrowserStackSetup}=require(a46_0x373cd9(0x197)),helper=require(a46_0x373cd9(0x1aa)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x3d6cea,_0x1f4f0d)=>{const _0x50c64c=a46_0x373cd9,_0x51a71e={'fDgmR':'nightwatch.conf.js','YgcqF':_0x50c64c(0x191),'MBSBW':function(_0x1e58e9,_0x4178c3){return _0x1e58e9(_0x4178c3);},'wSktu':_0x50c64c(0x174)};let _0x41a905=null,_0x3a9fba={};const _0x16eaa5=_0x1f4f0d[_0x50c64c(0x1a2)](_0x2a6a2d=>_0x2a6a2d==='--config'),_0x3791d9=!helper[_0x50c64c(0x176)](_0x3d6cea[_0x50c64c(0x17b)])?helper[_0x50c64c(0x186)](_0x3d6cea[_0x50c64c(0x17b)]):null;!helper['isUndefined'](_0x3d6cea[_0x50c64c(0x17b)])&&!_0x3791d9&&logger[_0x50c64c(0x18a)](_0x50c64c(0x193)+_0x3d6cea[_0x50c64c(0x17b)]+_0x50c64c(0x167));if(_0x3791d9&&fs[_0x50c64c(0x179)](_0x3791d9))_0x41a905=_0x3791d9,_0x1f4f0d['splice'](_0x16eaa5,0x2);else{if(fs[_0x50c64c(0x179)](path['join'](process[_0x50c64c(0x198)](),_0x51a71e['fDgmR'])))_0x41a905=path[_0x50c64c(0x1a9)](process['cwd'](),_0x51a71e[_0x50c64c(0x19b)]);else fs[_0x50c64c(0x179)](path[_0x50c64c(0x1a9)](process[_0x50c64c(0x198)](),_0x51a71e[_0x50c64c(0x173)]))&&(_0x41a905=path[_0x50c64c(0x1a9)](process[_0x50c64c(0x198)](),_0x51a71e[_0x50c64c(0x173)]));}return _0x41a905?(logger['info']('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x41a905),_0x3a9fba=_0x51a71e[_0x50c64c(0x16d)](require,_0x41a905)):logger[_0x50c64c(0x192)](_0x51a71e[_0x50c64c(0x162)]),_0x3a9fba;},removeExistingEnvs=_0x24ac35=>{const _0x233423=a46_0x373cd9,_0x230818={};_0x230818['YBYkw']=function(_0x2c2ba9,_0x39a851){return _0x2c2ba9>_0x39a851;};const _0x14fa9d=_0x230818;let _0x88fd79=_0x24ac35[_0x233423(0x1a2)](_0x3ffd1f=>_0x3ffd1f===_0x233423(0x189));_0x14fa9d[_0x233423(0x183)](_0x88fd79,-0x1)&&_0x24ac35[_0x233423(0x1a1)](_0x88fd79,0x2),_0x88fd79=_0x24ac35[_0x233423(0x1a2)](_0x23a325=>_0x23a325==='-e'),_0x14fa9d[_0x233423(0x183)](_0x88fd79,-0x1)&&_0x24ac35['splice'](_0x88fd79,0x2);};function a46_0x4a30(){const _0x552cc6=['splice','findIndex','length','modifyBrowserStackW3CCaps','11862YOygCM','nightwatch','webdriver','test','join','../../helpers/helper','../../index','mergeDeep','XVWmJ','trim','42595fUBcCK','exports','platform','obexb','56771aqKwae','wSktu','WolUP','6CsIeWn','host','platforms','\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.','BROWSERSTACK_FRAMEWORK','debug','nhKIO','3IXuuRb','21aLnHUI','MBSBW','modifyBrowserStackCaps','split','5CuIEbb','getPlatformName','slice','YgcqF','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','KHanY','isUndefined','now','DbYFS','existsSync','path','config','stringify','PdSPl','pKZff','push','inherit','port','ZFpez','YBYkw','924gxMKZa','env','resolveWithinCwd','winstonLogger','test_settings','--env','warn','hub.browserstack.com','3610UXDcWo','nightwatch.cmd','child\x20process\x20exited\x20with\x20code\x20','258276dmfLiu','close','nightwatch.json','info','Ignoring\x20--config\x20path\x20\x22','65044sXuzic','1703LEkJtt','filter','../../helpers/BrowserStackSetup','cwd','1823832GmRDCw','AxOfe','fDgmR','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','674104jKzxQD','selenium','xKUgr','forEach'];a46_0x4a30=function(){return _0x552cc6;};return a46_0x4a30();}function run(_0x49b269,_0x313f30,_0x42dfbd){const _0x1d8d7a=a46_0x373cd9,_0x4b334c={'KHanY':_0x1d8d7a(0x1a6),'XfmpJ':function(_0xdaf222,_0x29dc38){return _0xdaf222+_0x29dc38;},'nhKIO':_0x1d8d7a(0x188),'quEWS':function(_0x23fca6,_0x248bd8,_0x2da784){return _0x23fca6(_0x248bd8,_0x2da784);},'ZFpez':_0x1d8d7a(0x18b),'PdSPl':_0x1d8d7a(0x19c),'ZUHfM':function(_0x4cf127,_0x136389){return _0x4cf127===_0x136389;},'NKIcv':'nightwatch-browserstack.json','obexb':function(_0x49b04b,_0x16ddd6){return _0x49b04b(_0x16ddd6);},'Cvtpz':_0x1d8d7a(0x1ab),'xKUgr':function(_0x1555f1,_0x3fcade,_0x541658,_0x256234){return _0x1555f1(_0x3fcade,_0x541658,_0x256234);},'jpvqV':_0x1d8d7a(0x18d),'DbYFS':'--config','XVWmJ':_0x1d8d7a(0x189),'WolUP':_0x1d8d7a(0x180),'EfuYH':_0x1d8d7a(0x190)};if(!_0x42dfbd[_0x1d8d7a(0x17b)])return;const _0x18511e=_0x4b334c['quEWS'](getUserNightwatchConfigs,_0x49b269,_0x313f30),_0x217265={};_0x217265['start_process']=![];const _0x47afc9={};_0x47afc9[_0x1d8d7a(0x165)]=_0x4b334c[_0x1d8d7a(0x182)],_0x47afc9[_0x1d8d7a(0x181)]=0x1bb;const _0x454959={};_0x454959[_0x1d8d7a(0x1a7)]=_0x217265,_0x454959[_0x1d8d7a(0x19e)]=_0x47afc9;const _0x567374=_0x454959;logger[_0x1d8d7a(0x192)](_0x4b334c[_0x1d8d7a(0x17d)]);const _0x3afa9e={..._0x18511e},_0x2f05db=_0x3afa9e,_0x4caa1a=helper['useW3C'](_0x42dfbd[_0x1d8d7a(0x17b)]),_0x15d1a0=[];_0x42dfbd[_0x1d8d7a(0x17b)][_0x1d8d7a(0x166)][_0x1d8d7a(0x1a0)]((_0x1b6713,_0x5ce3fb)=>{const _0x34f9c6=_0x1d8d7a;_0x4caa1a?_0x15d1a0[_0x34f9c6(0x17f)](helper[_0x34f9c6(0x1a4)](_0x42dfbd['config'],_0x4b334c['KHanY'],_0x5ce3fb)):_0x15d1a0[_0x34f9c6(0x17f)](helper[_0x34f9c6(0x16e)](_0x42dfbd['config'],_0x4b334c[_0x34f9c6(0x175)],_0x5ce3fb));});const _0x359f77={},_0x5550db=[];_0x49b269[_0x1d8d7a(0x185)]=_0x49b269[_0x1d8d7a(0x185)]||_0x49b269['e'];const _0x112b1e=_0x49b269[_0x1d8d7a(0x185)]?_0x49b269[_0x1d8d7a(0x185)][_0x1d8d7a(0x15c)]()[_0x1d8d7a(0x16f)](',')['map'](_0x2e3b53=>_0x2e3b53[_0x1d8d7a(0x15c)]())[_0x1d8d7a(0x196)](_0x10ee86=>_0x10ee86!==''):[''];_0x4b334c['ZUHfM'](_0x112b1e[_0x1d8d7a(0x1a3)],0x0)&&_0x112b1e[_0x1d8d7a(0x17f)]('');_0x112b1e['forEach'](_0xd65ca=>{const _0x4002ae=_0x1d8d7a,_0x188974={'pKZff':function(_0x27a4a6,_0x5743fe){return _0x4b334c['XfmpJ'](_0x27a4a6,_0x5743fe);},'AxOfe':_0x4b334c[_0x4002ae(0x16a)]};_0x15d1a0[_0x4002ae(0x1a0)](_0x2e45b8=>{const _0x52dcbf=_0x4002ae;let _0x2da7fe=_0x188974[_0x52dcbf(0x17e)](helper[_0x52dcbf(0x171)](_0x2e45b8,'_'),'_'+Date[_0x52dcbf(0x177)]());_0xd65ca&&(_0x2da7fe+='_'+_0xd65ca);if(_0xd65ca&&(!_0x18511e[_0x188974['AxOfe']]||!_0x18511e[_0x188974[_0x52dcbf(0x19a)]][_0xd65ca]))return;const _0x3089ee={..._0x567374};_0x3089ee['desiredCapabilities']=_0x2e45b8;const _0xb6c32b=_0x3089ee;_0x359f77[_0x2da7fe]=_0xd65ca?helper[_0x52dcbf(0x1ac)](_0x18511e[_0x188974['AxOfe']][_0xd65ca],_0xb6c32b):_0xb6c32b,_0x5550db[_0x52dcbf(0x17f)](_0x2da7fe);});});!_0x2f05db[_0x1d8d7a(0x188)]&&(_0x2f05db[_0x1d8d7a(0x188)]={});_0x2f05db[_0x1d8d7a(0x188)]={..._0x2f05db[_0x1d8d7a(0x188)],..._0x359f77};const _0x104142=path[_0x1d8d7a(0x1a9)](__dirname,_0x4b334c['NKIcv']);fs['writeFileSync'](_0x104142,JSON[_0x1d8d7a(0x17c)](_0x2f05db)),_0x4b334c[_0x1d8d7a(0x160)](removeExistingEnvs,_0x313f30);const _0x131ca0=require['resolve'](_0x4b334c['Cvtpz']),_0x138220=process[_0x1d8d7a(0x185)]['NODE_OPTIONS']||'',_0x349e23='--require\x20'+JSON['stringify'](_0x131ca0),_0x485eba=_0x138220?_0x138220+'\x20'+_0x349e23:_0x349e23,_0x14b6fc=Object['assign']({},process[_0x1d8d7a(0x185)],{'NODE_OPTIONS':_0x485eba,'BROWSERSTACK_FRAMEWORK':process[_0x1d8d7a(0x185)][_0x1d8d7a(0x168)]||_0x4b334c[_0x1d8d7a(0x175)]}),_0x4eaa98=_0x4b334c[_0x1d8d7a(0x19f)](spawn,/^win/[_0x1d8d7a(0x1a8)](process[_0x1d8d7a(0x15f)])?_0x4b334c['jpvqV']:_0x4b334c[_0x1d8d7a(0x175)],[_0x4b334c[_0x1d8d7a(0x178)],_0x104142,..._0x313f30[_0x1d8d7a(0x172)](0x1),_0x4b334c[_0x1d8d7a(0x15b)],_0x5550db['join'](',')],{'stdio':_0x4b334c[_0x1d8d7a(0x163)],'env':_0x14b6fc});_0x4eaa98['on'](_0x4b334c['EfuYH'],async _0x8b54e6=>{const _0x428d2c=_0x1d8d7a;logger[_0x428d2c(0x169)](_0x428d2c(0x18e)+_0x8b54e6),logger[_0x428d2c(0x192)]('Deleting\x20'+_0x104142),fs['unlinkSync'](_0x104142);});}module[a46_0x373cd9(0x15e)]=run;
2
+ 'use strict';const a46_0x11950f=a46_0x4543;(function(_0xdbc9b7,_0x223f76){const _0x788238=a46_0x4543,_0x3e2320=_0xdbc9b7();while(!![]){try{const _0x36221b=parseInt(_0x788238(0xd8))/0x1+parseInt(_0x788238(0x104))/0x2+-parseInt(_0x788238(0x112))/0x3*(-parseInt(_0x788238(0x106))/0x4)+parseInt(_0x788238(0xec))/0x5+parseInt(_0x788238(0xd6))/0x6*(parseInt(_0x788238(0x102))/0x7)+parseInt(_0x788238(0xca))/0x8*(-parseInt(_0x788238(0xcd))/0x9)+parseInt(_0x788238(0x108))/0xa*(-parseInt(_0x788238(0xda))/0xb);if(_0x36221b===_0x223f76)break;else _0x3e2320['push'](_0x3e2320['shift']());}catch(_0x345126){_0x3e2320['push'](_0x3e2320['shift']());}}}(a46_0x3dfa,0xcaa18));const fs=require('fs'),path=require(a46_0x11950f(0xcb)),{spawn}=require(a46_0x11950f(0x113)),logger=require(a46_0x11950f(0x109))[a46_0x11950f(0xfb)],{default:BrowserStackSetup}=require(a46_0x11950f(0xea)),helper=require('../../helpers/helper'),constants=require(a46_0x11950f(0x10f)),getUserNightwatchConfigs=(_0x19f92c,_0x15d8e4)=>{const _0x16e777=a46_0x11950f,_0x23b162={'SkpZI':_0x16e777(0x100),'jNFiR':'nightwatch.json','pDBvg':function(_0x56e65c,_0x27062a){return _0x56e65c(_0x27062a);},'VKjWJ':_0x16e777(0xc2)};let _0x33019a=null,_0x474f1f={};const _0x631cd6=_0x15d8e4[_0x16e777(0xd9)](_0x5cdf5f=>_0x5cdf5f==='--config'),_0x39c1e5=!helper[_0x16e777(0xee)](_0x19f92c[_0x16e777(0xd5)])?helper[_0x16e777(0xd1)](_0x19f92c[_0x16e777(0xd5)]):null;!helper[_0x16e777(0xee)](_0x19f92c['config'])&&!_0x39c1e5&&logger[_0x16e777(0x111)](_0x16e777(0xdd)+_0x19f92c['config']+_0x16e777(0xe3));if(_0x39c1e5&&fs['existsSync'](_0x39c1e5))_0x33019a=_0x39c1e5,_0x15d8e4['splice'](_0x631cd6,0x2);else{if(fs['existsSync'](path['join'](process[_0x16e777(0xfc)](),_0x23b162['SkpZI'])))_0x33019a=path[_0x16e777(0xc4)](process['cwd'](),_0x23b162[_0x16e777(0xf1)]);else fs[_0x16e777(0xe5)](path[_0x16e777(0xc4)](process[_0x16e777(0xfc)](),_0x23b162[_0x16e777(0xf8)]))&&(_0x33019a=path[_0x16e777(0xc4)](process[_0x16e777(0xfc)](),_0x23b162[_0x16e777(0xf8)]));}return _0x33019a?(logger[_0x16e777(0x10c)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x33019a),_0x474f1f=_0x23b162[_0x16e777(0xe0)](require,_0x33019a)):logger[_0x16e777(0x10c)](_0x23b162['VKjWJ']),_0x474f1f;},removeExistingEnvs=_0x331a21=>{const _0xba9954=a46_0x11950f,_0x59cbcb={};_0x59cbcb[_0xba9954(0xfd)]=function(_0x1ab661,_0x4b99a2){return _0x1ab661>_0x4b99a2;},_0x59cbcb[_0xba9954(0xc6)]=function(_0x170fe4,_0x4adc97){return _0x170fe4>_0x4adc97;};const _0x3f5c11=_0x59cbcb;let _0x149840=_0x331a21[_0xba9954(0xd9)](_0x296ff8=>_0x296ff8==='--env');_0x3f5c11['xXkUZ'](_0x149840,-0x1)&&_0x331a21[_0xba9954(0x114)](_0x149840,0x2),_0x149840=_0x331a21[_0xba9954(0xd9)](_0x19eed5=>_0x19eed5==='-e'),_0x3f5c11['CSWuG'](_0x149840,-0x1)&&_0x331a21['splice'](_0x149840,0x2);};function a46_0x4543(_0x501cd1,_0x349e7a){const _0x3dfac1=a46_0x3dfa();return a46_0x4543=function(_0x4543fc,_0x2c8e38){_0x4543fc=_0x4543fc-0xc2;let _0x179e3c=_0x3dfac1[_0x4543fc];return _0x179e3c;},a46_0x4543(_0x501cd1,_0x349e7a);}function a46_0x3dfa(){const _0x2e56ac=['1211jCwKKn','gOODx','2689838KAlbRB','resolve','4UICYiX','forEach','10pAmqtf','../../helpers/logger','env','now','info','start_process','writeFileSync','../utils/constants','webdriver','warn','1933239QmEfuM','child_process','splice','useW3C','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','host','join','port','CSWuG','getPlatformName','--require\x20','WUxHY','40jvLYaa','path','KJpvS','1335861IRJlOz','debug','--env','KxZPr','resolveWithinCwd','length','PrueQ','ZcRwm','config','43488QeAXNB','xnhqr','552128WZnGLH','findIndex','30457526xNKAQV','Klsvp','child\x20process\x20exited\x20with\x20code\x20','Ignoring\x20--config\x20path\x20\x22','mergeDeep','BROWSERSTACK_FRAMEWORK','pDBvg','slice','hub.browserstack.com','\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.','pjUNC','existsSync','assign','modifyBrowserStackW3CCaps','NODE_OPTIONS','HUNZz','../../helpers/BrowserStackSetup','nightwatch.cmd','2728115vBehRl','map','isUndefined','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','trim','SkpZI','unlinkSync','nightwatch','exports','NhRrB','platform','DcAzn','jNFiR','KgGPm','selenium','winstonLogger','cwd','xXkUZ','stringify','test_settings','nightwatch.conf.js','push'];a46_0x3dfa=function(){return _0x2e56ac;};return a46_0x3dfa();}function run(_0x2a9208,_0x2dc4e5,_0x2b027e){const _0x3e0a7d=a46_0x11950f,_0x519ecc={'DcAzn':_0x3e0a7d(0xf3),'jzgxN':function(_0x9a3a03,_0xd0fc76){return _0x9a3a03+_0xd0fc76;},'PrueQ':_0x3e0a7d(0xff),'ZcRwm':function(_0x1fcfa9,_0x23a1b6,_0x45910e){return _0x1fcfa9(_0x23a1b6,_0x45910e);},'Klsvp':_0x3e0a7d(0xe2),'xnhqr':_0x3e0a7d(0xef),'NhRrB':function(_0xf69cd7,_0x5e7961){return _0xf69cd7===_0x5e7961;},'pjUNC':'nightwatch-browserstack.json','naNCg':function(_0x4907db,_0x596648){return _0x4907db(_0x596648);},'KgGPm':'../../index','KxZPr':function(_0x3d3be1,_0x2fe597,_0x473f61,_0x3a951e){return _0x3d3be1(_0x2fe597,_0x473f61,_0x3a951e);},'WUxHY':_0x3e0a7d(0xeb),'HUNZz':'--config','KJpvS':_0x3e0a7d(0xcf),'qcTsq':'inherit','gOODx':'close'};if(!_0x2b027e['config'])return;const _0x639dac=_0x519ecc[_0x3e0a7d(0xd4)](getUserNightwatchConfigs,_0x2a9208,_0x2dc4e5),_0x13ef6c={};_0x13ef6c[_0x3e0a7d(0x10d)]=![];const _0x3b12af={};_0x3b12af[_0x3e0a7d(0xc3)]=_0x519ecc[_0x3e0a7d(0xdb)],_0x3b12af[_0x3e0a7d(0xc5)]=0x1bb;const _0x4cf23d={};_0x4cf23d[_0x3e0a7d(0x110)]=_0x13ef6c,_0x4cf23d[_0x3e0a7d(0xfa)]=_0x3b12af;const _0x2e1edd=_0x4cf23d;logger[_0x3e0a7d(0x10c)](_0x519ecc[_0x3e0a7d(0xd7)]);const _0x4aab27={..._0x639dac},_0x10fb4e=_0x4aab27,_0x49fd01=helper[_0x3e0a7d(0x115)](_0x2b027e[_0x3e0a7d(0xd5)]),_0x5e443=[];_0x2b027e[_0x3e0a7d(0xd5)]['platforms']['forEach']((_0x5790fd,_0x52b288)=>{const _0x56ba3d=_0x3e0a7d;_0x49fd01?_0x5e443[_0x56ba3d(0x101)](helper[_0x56ba3d(0xe7)](_0x2b027e[_0x56ba3d(0xd5)],_0x519ecc['DcAzn'],_0x52b288)):_0x5e443[_0x56ba3d(0x101)](helper['modifyBrowserStackCaps'](_0x2b027e[_0x56ba3d(0xd5)],_0x519ecc[_0x56ba3d(0xf7)],_0x52b288));});const _0x351542={},_0x164a2c=[];_0x2a9208[_0x3e0a7d(0x10a)]=_0x2a9208[_0x3e0a7d(0x10a)]||_0x2a9208['e'];const _0x4df690=_0x2a9208[_0x3e0a7d(0x10a)]?_0x2a9208[_0x3e0a7d(0x10a)][_0x3e0a7d(0xf0)]()['split'](',')[_0x3e0a7d(0xed)](_0x580a40=>_0x580a40[_0x3e0a7d(0xf0)]())['filter'](_0x1224f6=>_0x1224f6!==''):[''];_0x519ecc[_0x3e0a7d(0xf5)](_0x4df690[_0x3e0a7d(0xd2)],0x0)&&_0x4df690[_0x3e0a7d(0x101)]('');_0x4df690[_0x3e0a7d(0x107)](_0x2bcc98=>{const _0x41f9c8=_0x3e0a7d;_0x5e443[_0x41f9c8(0x107)](_0xb96822=>{const _0x5abeba=_0x41f9c8;let _0x2d8bcb=_0x519ecc['jzgxN'](helper[_0x5abeba(0xc7)](_0xb96822,'_'),'_'+Date[_0x5abeba(0x10b)]());_0x2bcc98&&(_0x2d8bcb+='_'+_0x2bcc98);if(_0x2bcc98&&(!_0x639dac[_0x519ecc['PrueQ']]||!_0x639dac[_0x519ecc[_0x5abeba(0xd3)]][_0x2bcc98]))return;const _0x4b1f2c={..._0x2e1edd};_0x4b1f2c['desiredCapabilities']=_0xb96822;const _0x305a51=_0x4b1f2c;_0x351542[_0x2d8bcb]=_0x2bcc98?helper[_0x5abeba(0xde)](_0x639dac[_0x519ecc['PrueQ']][_0x2bcc98],_0x305a51):_0x305a51,_0x164a2c[_0x5abeba(0x101)](_0x2d8bcb);});});!_0x10fb4e[_0x3e0a7d(0xff)]&&(_0x10fb4e[_0x3e0a7d(0xff)]={});_0x10fb4e[_0x3e0a7d(0xff)]={..._0x10fb4e['test_settings'],..._0x351542};const _0x26efb2=path[_0x3e0a7d(0xc4)](__dirname,_0x519ecc[_0x3e0a7d(0xe4)]);fs[_0x3e0a7d(0x10e)](_0x26efb2,JSON['stringify'](_0x10fb4e)),_0x519ecc['naNCg'](removeExistingEnvs,_0x2dc4e5);const _0x1e64f0=require[_0x3e0a7d(0x105)](_0x519ecc[_0x3e0a7d(0xf9)]),_0x2a1bf6=process[_0x3e0a7d(0x10a)][_0x3e0a7d(0xe8)]||'',_0x5b13c6=_0x3e0a7d(0xc8)+JSON[_0x3e0a7d(0xfe)](_0x1e64f0),_0x5a2dfd=_0x2a1bf6?_0x2a1bf6+'\x20'+_0x5b13c6:_0x5b13c6,_0x152fb9=Object[_0x3e0a7d(0xe6)]({},process[_0x3e0a7d(0x10a)],{'NODE_OPTIONS':_0x5a2dfd,'BROWSERSTACK_FRAMEWORK':process[_0x3e0a7d(0x10a)][_0x3e0a7d(0xdf)]||_0x519ecc[_0x3e0a7d(0xf7)]}),_0x5ada35=_0x519ecc[_0x3e0a7d(0xd0)](spawn,/^win/['test'](process[_0x3e0a7d(0xf6)])?_0x519ecc[_0x3e0a7d(0xc9)]:_0x519ecc[_0x3e0a7d(0xf7)],[_0x519ecc[_0x3e0a7d(0xe9)],_0x26efb2,..._0x2dc4e5[_0x3e0a7d(0xe1)](0x1),_0x519ecc[_0x3e0a7d(0xcc)],_0x164a2c[_0x3e0a7d(0xc4)](',')],{'stdio':_0x519ecc['qcTsq'],'env':_0x152fb9});_0x5ada35['on'](_0x519ecc[_0x3e0a7d(0x103)],async _0xcaaeff=>{const _0x21e3d0=_0x3e0a7d;logger[_0x21e3d0(0xce)](_0x21e3d0(0xdc)+_0xcaaeff),logger[_0x21e3d0(0x10c)]('Deleting\x20'+_0x26efb2),fs[_0x21e3d0(0xf2)](_0x26efb2);});}module[a46_0x11950f(0xf4)]=run;