browserstack-node-sdk 1.55.3 → 1.55.5

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 (199) 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 +3 -2
  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/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/newman/command.js +1 -1
  79. package/src/bin/newman/helper.js +1 -1
  80. package/src/bin/newman/reporter/index.js +1 -1
  81. package/src/bin/newman/scriptRunner.js +1 -1
  82. package/src/bin/nightwatch/command.js +1 -1
  83. package/src/bin/playwright/accessibility-helper.js +1 -1
  84. package/src/bin/playwright/command.js +1 -1
  85. package/src/bin/playwright/globalSetup.js +1 -1
  86. package/src/bin/playwright/mock-process.js +1 -1
  87. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  88. package/src/bin/playwright/patches.js +1 -1
  89. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  90. package/src/bin/playwright/reporter/reporter.js +1 -1
  91. package/src/bin/playwright/reporter/test-details.js +1 -1
  92. package/src/bin/playwright/sessionDetails.js +1 -1
  93. package/src/bin/puppeteer/patches.js +1 -1
  94. package/src/bin/puppeteer/sessionDetails.js +1 -1
  95. package/src/bin/puppeteer/test.setup.js +1 -1
  96. package/src/bin/runner.js +1 -1
  97. package/src/bin/setup.js +1 -1
  98. package/src/bin/test-runner/index.js +1 -1
  99. package/src/bin/test-runner/runTest.js +1 -1
  100. package/src/bin/test-runner/testWorker.js +1 -1
  101. package/src/bin/utils/apiUtilityMethods.js +1 -1
  102. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  103. package/src/bin/utils/constants.js +1 -1
  104. package/src/bin/utils/log4jsAppender.js +1 -1
  105. package/src/bin/utils/logPatcher.js +1 -1
  106. package/src/bin/utils/logReportingAPI.js +1 -1
  107. package/src/bin/utils/playwright-patcher.js +1 -1
  108. package/src/bin/utils/puppeteer-patcher.js +1 -1
  109. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  110. package/src/bin/utils/sharedUtils.js +1 -1
  111. package/src/bin/v2/TestInfo.js +1 -1
  112. package/src/bin/v2/browserstackCLI.js +1 -1
  113. package/src/bin/v2/cliUtils.js +1 -1
  114. package/src/bin/v2/customTagManager.js +1 -1
  115. package/src/bin/v2/eventDispatcher.js +1 -1
  116. package/src/bin/v2/framework/automationFramework.js +1 -1
  117. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  118. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  119. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  120. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  121. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  122. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  123. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  124. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  125. package/src/bin/v2/framework/testFramework.js +1 -1
  126. package/src/bin/v2/grpcClient.js +1 -1
  127. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  128. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  129. package/src/bin/v2/instances/trackedContext.js +1 -1
  130. package/src/bin/v2/instances/trackedInstance.js +1 -1
  131. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  132. package/src/bin/v2/modules/baseModule.js +1 -1
  133. package/src/bin/v2/modules/loadTestModule.js +1 -1
  134. package/src/bin/v2/modules/observabilityModule.js +1 -1
  135. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  136. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  137. package/src/bin/v2/modules/testhubModule.js +1 -1
  138. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  139. package/src/bin/v2/state/hookState.js +1 -1
  140. package/src/bin/v2/state/testFrameworkState.js +1 -1
  141. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  142. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  143. package/src/bin/v2/utils/jest-utils.js +1 -1
  144. package/src/bin/vanilla-js/command.js +1 -1
  145. package/src/browserStackSdk.js +1 -1
  146. package/src/helpers/BrowserStackSetup.js +1 -1
  147. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  148. package/src/helpers/accessibility-automation/constants.js +1 -1
  149. package/src/helpers/accessibility-automation/helper.js +1 -1
  150. package/src/helpers/accessibility-automation/scripts.js +1 -1
  151. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  152. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  153. package/src/helpers/ats/constants.js +1 -1
  154. package/src/helpers/ats/helper.js +1 -1
  155. package/src/helpers/capsMapping.js +1 -1
  156. package/src/helpers/central-scanner/constants.js +1 -1
  157. package/src/helpers/central-scanner/helpers.js +1 -1
  158. package/src/helpers/classLogger.js +1 -1
  159. package/src/helpers/globals.js +1 -1
  160. package/src/helpers/helper.js +1 -1
  161. package/src/helpers/logger.js +1 -1
  162. package/src/helpers/metadata.js +1 -1
  163. package/src/helpers/patchHelper.js +1 -1
  164. package/src/helpers/patchHelpers.js +1 -1
  165. package/src/helpers/percy/Percy.js +1 -1
  166. package/src/helpers/percy/PercyBinary.js +1 -1
  167. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  168. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  169. package/src/helpers/percy/PercySDK.js +1 -1
  170. package/src/helpers/percy/index.js +1 -1
  171. package/src/helpers/percy/utils.js +1 -1
  172. package/src/helpers/performance/constants.js +1 -1
  173. package/src/helpers/performance/performance-tester.js +1 -1
  174. package/src/helpers/playwright-helper.js +1 -1
  175. package/src/helpers/processHelper.js +1 -1
  176. package/src/helpers/puppeteer-helper.js +1 -1
  177. package/src/helpers/request-spy.js +1 -1
  178. package/src/helpers/setKeepAlive.js +1 -1
  179. package/src/helpers/stackFrameUtils.js +1 -0
  180. package/src/helpers/test-observability/constants.js +1 -1
  181. package/src/helpers/test-observability/error-handler.js +1 -1
  182. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  183. package/src/helpers/test-observability/sessionHandler.js +1 -1
  184. package/src/helpers/test-observability/utils.js +1 -1
  185. package/src/helpers/test-orchestration/constants.js +1 -1
  186. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  187. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  188. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  189. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  190. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  191. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  192. package/src/helpers/testhub/constants.js +1 -1
  193. package/src/helpers/testhub/testhubHandler.js +1 -1
  194. package/src/helpers/testhub/utils.js +1 -1
  195. package/src/helpers/timeoutPromise.js +1 -1
  196. package/src/helpers/utilities.js +1 -1
  197. package/src/helpers/w3cMapping.js +1 -1
  198. package/src/hubAllocationMethods.js +1 -1
  199. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a36_0x19eff0=a36_0x3502;function a36_0x3502(_0xe466fa,_0x470e91){const _0x23871e=a36_0x2387();return a36_0x3502=function(_0x3502be,_0x528d40){_0x3502be=_0x3502be-0x1b8;let _0x106762=_0x23871e[_0x3502be];return _0x106762;},a36_0x3502(_0xe466fa,_0x470e91);}(function(_0x3993e1,_0x5bf07c){const _0x181dd2=a36_0x3502,_0x198d44=_0x3993e1();while(!![]){try{const _0x287310=parseInt(_0x181dd2(0x1eb))/0x1*(parseInt(_0x181dd2(0x28a))/0x2)+parseInt(_0x181dd2(0x1d1))/0x3+parseInt(_0x181dd2(0x1e6))/0x4+parseInt(_0x181dd2(0x261))/0x5+parseInt(_0x181dd2(0x25c))/0x6*(-parseInt(_0x181dd2(0x1c7))/0x7)+-parseInt(_0x181dd2(0x1f9))/0x8+parseInt(_0x181dd2(0x271))/0x9;if(_0x287310===_0x5bf07c)break;else _0x198d44['push'](_0x198d44['shift']());}catch(_0x311176){_0x198d44['push'](_0x198d44['shift']());}}}(a36_0x2387,0x2bef3));const util=require(a36_0x19eff0(0x224)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x19eff0(0x278)),accessibilityRetryHelper=require(a36_0x19eff0(0x25d)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x19eff0(0x285)),{percyAutoCapture}=require(a36_0x19eff0(0x1dc)),{sendPlatformDetails}=require(a36_0x19eff0(0x1ec)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x19eff0(0x244)),PerformanceTester=require(a36_0x19eff0(0x26f)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x19eff0(0x207)),globals=require(a36_0x19eff0(0x21f)),logger=require('../../helpers/logger')[a36_0x19eff0(0x1c2)],{shouldProcessEventForTesthub}=require(a36_0x19eff0(0x1fb)),testHubConstants=require(a36_0x19eff0(0x215));function a36_0x2387(){const _0x5af0ba=['NmMsM','lqTDs','pIprH','../../helpers/testhub/constants','now','aadjJ','YQOoC','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','HRfvW','hsogM','kZxZW','nSByC','ZgZsg','../../helpers/globals','NAGek','EBcVO','beforeAll','pilXa','util','shift','rINiy','http:','DELTo','fvoBN','EfsYp','uBAEF','SDK_HOOK','aaLXE','CKLSZ','ENV_VAR','titlePath','setGlobal','uzHoW','TSXdX','PERFORM_SCAN','VznrT','cQkdv','tKUOM','uqrvi','NceBX','MiqiY','rVFrL','LVxoy','__drivers','xqZpZ','isArray','YjNBx','sQmWy','push','AShnm','../../helpers/helper','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','percyCaptureMode','quitCount_','SYNC','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','FCOXJ','mgxEp','YOgIt','then','Mocha','index','YMJbl','thTestRunUuid','pZYWl','vxkGL','Jxdyi','dTTeZ','Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','performScanWithRetry','nydbP','gkVkX','hAbFX','RUWkC','784266LiTtBc','../../helpers/accessibility-automation/accessibilityRetryHelper','end','SAVE_RESULTS','BROWSERSTACK_TESTHUB_UUID','510800dVbqYM','bstackA11yScanOptions','getGlobal','yjCob','vZgId','Failed\x20to\x20store\x20session\x20name:\x20','length','GhlTv','nFCao','percy','PVEZs','XeKEl','message','fRBuf','../../helpers/performance/performance-tester','measureWrapper','766179CZjTuT','finally','join','env','rhKrh','aSQgy','command','../../helpers/accessibility-automation/helper','STANx','warn','SESSION_STATUS','zHIhq','jAcVp','https:','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','lEeWF','appium:app','Tktbm','FeqQm','NDWSV','../utils/constants','ypMsO','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','autoScanning','2aWKYQm','Vssmi','zlqzh','afterTest','mochaHooks','\x22}}','currentTest','browserstackSessionName','timeout','aFRIf','error','lpWDi','tiMmv','CKliH','TYUwn','sessionName','BwVpz','RPpZi','isAccessibilityPlatform','__error_messages__','woiti','kbQNu','pakDo','oQIEo','EtgGX','afterAll','session_','getCurrentUrl','winstonLogger','shouldScanTestForAccessibility','executeScript','browserstackTestName','start','7KRXYjw','__skipSessionName','debug','info','testAnalyticsId','thJwtToken','\x20-\x20','app','format','ObservabilitySync:','152967KTYgcp','kYoTa','OxWxr','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','mLiPS','EZoOg','jqGmB','Automate\x20test\x20case\x20execution\x20has\x20started.','GtSoU','Obfge','OIXoI','../../helpers/percy/utils','Failed:\x20','aNlsI','uNASe','TQyBW','HMEfC','.\x20Error\x20:','testcase','xeTnc','bqeGW','85772HOewvw','mvNcW','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','DQFhd','Accessibility\x20scan\x20completed\x20successfully','148727krYiat','./test-observability/mochaUtils','sgFJg','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','EOjEJ','startMonitoring','lRctX','failed','sessionNameSet__','ZgZip','__sessionFailed','bstackA11yShouldScan','quASM','IpdCJ','782272sxOnFa','passed','../../helpers/testhub/utils','CNFQX','Passed','BjENV','beforeEach','WYtXS','capabilities','apkdC','__platformCaps','CUQGQ','stringify','bxONF','../../helpers/performance/constants','BMuSH','\x20|\x20','initQuit','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','tVnRD','UqbxX','driverCleanup','err','accessibilityScanStarted'];a36_0x2387=function(){return _0x5af0ba;};return a36_0x2387();}exports[a36_0x19eff0(0x28e)]={'beforeAll'(){const _0x25a35f=a36_0x19eff0,_0x40cd63={'xUBGx':function(_0x59d509,_0x141b68,_0x2a6a54,_0x34a532){return _0x59d509(_0x141b68,_0x2a6a54,_0x34a532);},'uBAEF':_0x25a35f(0x1f2),'NThWh':_0x25a35f(0x209),'pZYWl':function(_0x3f5e92,_0x522a0b,_0x23bf61){return _0x3f5e92(_0x522a0b,_0x23bf61);},'jqGmB':_0x25a35f(0x1fa),'NAGek':function(_0x1ae201){return _0x1ae201();},'DQFhd':'index','MiqiY':_0x25a35f(0x222)};PerformanceTester[_0x25a35f(0x1f0)]();const _0x2f6a53='browserstack internal helper hook';PerformanceTester[_0x25a35f(0x270)](PerformanceSdkEvents[_0x25a35f(0x22c)],()=>{const _0x1d92ba=_0x25a35f,_0x4b02f6={'BwVpz':function(_0x5b816a,_0x247a11,_0x4c067e,_0x296e94){return _0x40cd63['xUBGx'](_0x5b816a,_0x247a11,_0x4c067e,_0x296e94);},'XeKEl':_0x40cd63[_0x1d92ba(0x22b)],'EBcVO':_0x40cd63['NThWh'],'bxONF':function(_0x508f2b,_0x2c15df,_0x221798){const _0x4ad95c=_0x1d92ba;return _0x40cd63[_0x4ad95c(0x252)](_0x508f2b,_0x2c15df,_0x221798);},'ZhuVI':_0x40cd63[_0x1d92ba(0x1d7)],'jAcVp':function(_0x3b6367){const _0x556685=_0x1d92ba;return _0x40cd63[_0x556685(0x220)](_0x3b6367);}};global[_0x1d92ba(0x1b9)]=[],global[_0x1d92ba(0x1f5)]=![],global[_0x1d92ba(0x20f)]=async()=>{const _0x4c752e=_0x1d92ba;let _0x5b5327=![];try{await global[_0x4c752e(0x23d)][0x0][_0x4c752e(0x1c0)],_0x5b5327=!![],global[_0x4c752e(0x1f5)]?await _0x4b02f6[_0x4c752e(0x29a)](markSessionStatus,global[_0x4c752e(0x23d)][0x0],_0x4b02f6[_0x4c752e(0x26c)],global[_0x4c752e(0x1b9)][_0x4c752e(0x273)](_0x4b02f6[_0x4c752e(0x221)])):await _0x4b02f6[_0x4c752e(0x206)](markSessionStatus,global['__drivers'][0x0],_0x4b02f6['ZhuVI']);}catch(_0x2998b6){logger[_0x4c752e(0x1c9)](_0x4c752e(0x1ee)+_0x2998b6);}global[_0x4c752e(0x1b9)]=[],global[_0x4c752e(0x1f5)]=![];if(_0x5b5327)try{try{_0x4b02f6[_0x4c752e(0x27d)](shouldProcessEventForTesthub)&&(global[_0x4c752e(0x23d)][0x0]&&await _0x4b02f6[_0x4c752e(0x206)](sendPlatformDetails,global[_0x4c752e(0x23d)][0x0],this[_0x4c752e(0x290)]?this['currentTest'][_0x4c752e(0x1cb)]:null));}catch(_0x26fd7c){logger[_0x4c752e(0x1c9)](_0x4c752e(0x219)+_0x26fd7c);}await global[_0x4c752e(0x23d)][0x0][_0x4c752e(0x20a)]();}catch(_0x261d77){logger[_0x4c752e(0x1c9)](_0x4c752e(0x245)+_0x261d77);}};},{'platform':_0x40cd63[_0x25a35f(0x252)](nestedKeyValue,global[_0x25a35f(0x203)],[_0x40cd63[_0x25a35f(0x1e9)]]),'hookType':_0x40cd63[_0x25a35f(0x23a)]})();},'beforeEach'(_0x474acf){const _0x3e0ed1=a36_0x19eff0,_0x17fe44={'IpdCJ':function(_0x2b6a78){return _0x2b6a78();},'fRBuf':function(_0x30077f,_0x2f3825){return _0x30077f>_0x2f3825;},'lRctX':function(_0x23432e,_0x3d8949){return _0x23432e>_0x3d8949;},'zlqzh':'\x20-\x20','mLiPS':function(_0x1bb6de,_0x59e707,_0x5f097d){return _0x1bb6de(_0x59e707,_0x5f097d);},'nydbP':function(_0x22db0e,_0xf6e621){return _0x22db0e===_0xf6e621;},'RPpZi':_0x3e0ed1(0x1f6),'YMJbl':_0x3e0ed1(0x262),'YQOoC':function(_0x1c8dc8){return _0x1c8dc8();},'Vssmi':_0x3e0ed1(0x1b8),'aFRIf':function(_0x3aa25f,_0x482717){return _0x3aa25f===_0x482717;},'CNFQX':_0x3e0ed1(0x227),'apkdC':_0x3e0ed1(0x27e),'Tktbm':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','xqZpZ':_0x3e0ed1(0x1d8),'pIprH':_0x3e0ed1(0x1c5),'lqTDs':_0x3e0ed1(0x24f),'dTTeZ':_0x3e0ed1(0x1ff)};globals[_0x3e0ed1(0x231)](_0x17fe44[_0x3e0ed1(0x214)],this[_0x3e0ed1(0x290)][_0x3e0ed1(0x230)]()[_0x3e0ed1(0x273)](_0x17fe44[_0x3e0ed1(0x28c)])),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x3e0ed1(0x22c)],()=>{const _0x562081=_0x3e0ed1,_0x4d9017={'uzHoW':function(_0x5d232b,_0x441c28){const _0x1eea82=a36_0x3502;return _0x17fe44[_0x1eea82(0x26e)](_0x5d232b,_0x441c28);},'hsogM':function(_0x3409f6,_0xa64d3f){const _0x472a59=a36_0x3502;return _0x17fe44[_0x472a59(0x1f1)](_0x3409f6,_0xa64d3f);},'YCswL':_0x17fe44[_0x562081(0x28c)],'ZgZsg':function(_0x594d6f,_0x224751,_0x218a80){const _0xd15afc=_0x562081;return _0x17fe44[_0xd15afc(0x1d5)](_0x594d6f,_0x224751,_0x218a80);},'gkVkX':function(_0x5cb12a,_0x175bab){const _0x3be381=_0x562081;return _0x17fe44[_0x3be381(0x258)](_0x5cb12a,_0x175bab);},'STANx':_0x17fe44[_0x562081(0x29b)],'tiMmv':_0x17fe44[_0x562081(0x250)],'sQmWy':function(_0x382595){const _0x1adcaf=_0x562081;return _0x17fe44[_0x1adcaf(0x218)](_0x382595);},'bqeGW':_0x17fe44[_0x562081(0x28b)],'KyExQ':function(_0x3c9740,_0x5a4e68){const _0x2029a7=_0x562081;return _0x17fe44[_0x2029a7(0x293)](_0x3c9740,_0x5a4e68);},'fGIls':_0x17fe44[_0x562081(0x1fc)],'MYZOV':_0x17fe44[_0x562081(0x202)],'hWsCw':_0x17fe44[_0x562081(0x282)],'Obfge':_0x17fe44[_0x562081(0x23e)]},_0x1330da='browserstack internal helper hook';new Promise(async _0x27a6a2=>{const _0x599e09=_0x562081;let _0x5b1da9=!![];try{_0x4d9017[_0x599e09(0x232)](global[_0x599e09(0x23d)][_0x599e09(0x267)],0x1)&&(await global[_0x599e09(0x20f)](),global[_0x599e09(0x23d)][_0x599e09(0x225)]()),_0x4d9017[_0x599e09(0x21b)](global['__drivers'][0x0][_0x599e09(0x247)],0x0)&&(_0x5b1da9=![],await global['driverCleanup']());}catch(_0x2e995f){logger[_0x599e09(0x1c9)](_0x599e09(0x245)+_0x2e995f);}try{Array['isArray'](global['__drivers'])&&global[_0x599e09(0x23d)][0x0]&&(global[_0x599e09(0x23d)][0x0][_0x599e09(0x291)]=this['currentTest'][_0x599e09(0x230)]()['join'](_0x4d9017['YCswL'])),global[_0x599e09(0x291)]=this[_0x599e09(0x290)]['titlePath']()[_0x599e09(0x273)](_0x4d9017['YCswL']);}catch(_0x3b998e){logger[_0x599e09(0x1c9)](_0x599e09(0x266)+_0x3b998e);}this[_0x599e09(0x290)][_0x599e09(0x1c3)]=_0x4d9017[_0x599e09(0x21e)](shouldScanTestForAccessibility,this['currentTest'][_0x599e09(0x230)](),!![]);let _0x4a7933=!![];try{const _0x900188=JSON['parse'](process[_0x599e09(0x274)][_0x599e09(0x288)]||'{}');_0x4d9017[_0x599e09(0x259)](_0x900188[_0x599e09(0x289)],![])&&(_0x4a7933=![]);}catch(_0x238f8c){logger[_0x599e09(0x1c9)](_0x599e09(0x256)+_0x238f8c[_0x599e09(0x26d)]);}const _0x56d3e2=_0x4a7933&&this[_0x599e09(0x290)][_0x599e09(0x1c3)];globals[_0x599e09(0x231)](_0x4d9017[_0x599e09(0x279)],_0x56d3e2),globals[_0x599e09(0x231)](_0x4d9017[_0x599e09(0x296)],null),this[_0x599e09(0x290)][_0x599e09(0x211)]=this['currentTest'][_0x599e09(0x1c3)];if(_0x4d9017[_0x599e09(0x241)](isAccessibilityAutomationSession)&&_0x5b1da9&&Array[_0x599e09(0x23f)](global[_0x599e09(0x23d)])&&_0x4d9017[_0x599e09(0x232)](global['__drivers'][_0x599e09(0x267)],0x0)&&globals[_0x599e09(0x263)](_0x4d9017[_0x599e09(0x1e5)]))try{const _0x2424f3=await global[_0x599e09(0x23d)][0x0]['session_'];if(_0x2424f3){let _0x2a4ceb=!![];const _0x3c51c6=await global['__drivers'][0x0][_0x599e09(0x1c1)]();let _0x1a087c;try{_0x1a087c=new URL(_0x3c51c6),_0x2a4ceb=_0x4d9017['KyExQ'](_0x1a087c['protocol'],_0x4d9017['fGIls'])||_0x4d9017['KyExQ'](_0x1a087c['protocol'],_0x4d9017['MYZOV']);}catch(_0x23f6c7){_0x2a4ceb=![];}_0x2a4ceb&&(this[_0x599e09(0x290)][_0x599e09(0x1c3)]&&logger[_0x599e09(0x1ca)](_0x4d9017['hWsCw'])),this[_0x599e09(0x290)][_0x599e09(0x211)]=this[_0x599e09(0x290)]['shouldScanTestForAccessibility'],_0x56d3e2&&logger[_0x599e09(0x1ca)](_0x4d9017[_0x599e09(0x1da)]);}}catch(_0x13b6d6){logger[_0x599e09(0x294)](_0x599e09(0x27f)+util[_0x599e09(0x1cf)](_0x13b6d6));}_0x4d9017[_0x599e09(0x241)](_0x27a6a2);})[_0x562081(0x24d)](()=>{const _0x449f9f=_0x562081;_0x17fe44[_0x449f9f(0x1f8)](_0x474acf);});},{'platform':_0x17fe44['mLiPS'](nestedKeyValue,global[_0x3e0ed1(0x203)],[_0x17fe44[_0x3e0ed1(0x213)]]),'hookType':_0x17fe44[_0x3e0ed1(0x255)]})();},'afterEach'(_0x1f337b){const _0x266d25=a36_0x19eff0,_0x7c8c00={'kYoTa':_0x266d25(0x1cd),'NmMsM':function(_0xebb333,_0x36c6a7){return _0xebb333!==_0x36c6a7;},'yjCob':'passed','lEeWF':function(_0x29e512,_0x476848,_0x50afbc){return _0x29e512(_0x476848,_0x50afbc);},'TYUwn':function(_0x49d096,_0x3f7720){return _0x49d096+_0x3f7720;},'mgxEp':_0x266d25(0x1dd),'rhKrh':'error','HRfvW':_0x266d25(0x1fd),'kbQNu':_0x266d25(0x1ca),'tPJeE':function(_0x40a676,_0xcc23b){return _0x40a676>_0xcc23b;},'LVxoy':function(_0xea0fdc,_0x2c57d5){return _0xea0fdc===_0x2c57d5;},'FCOXJ':_0x266d25(0x1e3),'PVEZs':_0x266d25(0x281),'ZgZip':function(_0x1b2da3,_0xbde988,_0x2ff42e,_0x47bbc1){return _0x1b2da3(_0xbde988,_0x2ff42e,_0x47bbc1);},'hAbFX':_0x266d25(0x1b8),'woiti':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','TQyBW':'bstackA11yShouldScan','HMEfC':_0x266d25(0x249),'YOgIt':_0x266d25(0x28d),'EtgGX':_0x266d25(0x1ea),'tKUOM':'Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','aSQgy':'[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','tVnRD':'Accessibility\x20results\x20saved\x20successfully','oQIEo':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','mvNcW':_0x266d25(0x1d4),'quASM':function(_0xe3d41){return _0xe3d41();},'ODBNL':_0x266d25(0x1c9),'lpWDi':function(_0x13e766){return _0x13e766();},'pilXa':function(_0x5f50f8){return _0x5f50f8();},'cQkdv':_0x266d25(0x24e),'aNlsI':'index','kZxZW':'afterEach'},_0x4152d6='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x7c8c00[_0x266d25(0x236)]]),global[_0x266d25(0x299)]=this['currentTest']['titlePath']()['join'](_0x7c8c00[_0x266d25(0x1d2)]),PerformanceTester[_0x266d25(0x270)](PerformanceSdkEvents[_0x266d25(0x22c)],()=>{const _0x517b57=_0x266d25,_0x2a650b={'GtSoU':_0x7c8c00[_0x517b57(0x1d2)],'EZoOg':function(_0x566234,_0x8e6c8c){const _0xd3ca6a=_0x517b57;return _0x7c8c00[_0xd3ca6a(0x212)](_0x566234,_0x8e6c8c);},'Jxdyi':_0x7c8c00[_0x517b57(0x264)],'EOjEJ':function(_0xb9725,_0x57b396,_0x36c52c){const _0x5107ec=_0x517b57;return _0x7c8c00[_0x5107ec(0x280)](_0xb9725,_0x57b396,_0x36c52c);},'GhlTv':function(_0x38b3c9,_0x3af6a3){const _0x4a543f=_0x517b57;return _0x7c8c00[_0x4a543f(0x298)](_0x38b3c9,_0x3af6a3);},'VznrT':_0x7c8c00[_0x517b57(0x24b)],'UqbxX':_0x7c8c00[_0x517b57(0x275)],'FeqQm':_0x7c8c00[_0x517b57(0x21a)],'CKliH':_0x7c8c00[_0x517b57(0x1bb)],'YjNBx':function(_0xdb2d05,_0x556977){return _0x7c8c00['tPJeE'](_0xdb2d05,_0x556977);},'uqrvi':function(_0x562b66,_0x4832d1){const _0x3c41a1=_0x517b57;return _0x7c8c00[_0x3c41a1(0x23c)](_0x562b66,_0x4832d1);},'xeTnc':_0x7c8c00[_0x517b57(0x24a)],'sCfey':function(_0x100d4b,_0x10d0cb){return _0x7c8c00['tPJeE'](_0x100d4b,_0x10d0cb);},'NDWSV':_0x7c8c00[_0x517b57(0x26b)],'vZgId':function(_0x42609f,_0x2e7dc8,_0x2f4e53,_0x14e3d1){const _0xcd2934=_0x517b57;return _0x7c8c00[_0xcd2934(0x1f4)](_0x42609f,_0x2e7dc8,_0x2f4e53,_0x14e3d1);},'lkCHN':_0x7c8c00[_0x517b57(0x25a)],'NceBX':_0x7c8c00[_0x517b57(0x1ba)],'mzKKi':_0x7c8c00[_0x517b57(0x1e0)],'fvoBN':_0x7c8c00[_0x517b57(0x1e1)],'rINiy':_0x7c8c00[_0x517b57(0x24c)],'VeGRn':_0x7c8c00[_0x517b57(0x1be)],'BMuSH':_0x7c8c00[_0x517b57(0x237)],'TSXdX':_0x7c8c00[_0x517b57(0x276)],'rVFrL':_0x7c8c00[_0x517b57(0x20d)],'zHIhq':_0x7c8c00[_0x517b57(0x1bd)],'CUQGQ':_0x7c8c00[_0x517b57(0x1e7)],'uNASe':function(_0x109757){const _0x350faf=_0x517b57;return _0x7c8c00[_0x350faf(0x1f7)](_0x109757);},'aadjJ':function(_0x5ec2c5,_0x5639bb,_0xb9723c){const _0x1f869e=_0x517b57;return _0x7c8c00[_0x1f869e(0x280)](_0x5ec2c5,_0x5639bb,_0xb9723c);},'BjENV':_0x7c8c00['ODBNL'],'pakDo':function(_0x59633f){const _0x4fb433=_0x517b57;return _0x7c8c00[_0x4fb433(0x295)](_0x59633f);},'SATje':function(_0x1c8653){const _0x31d2=_0x517b57;return _0x7c8c00[_0x31d2(0x223)](_0x1c8653);}},_0x49160b=async(_0x19055a,_0x557401)=>{const _0x3add52=_0x517b57;await global[_0x3add52(0x23d)][0x0][_0x3add52(0x1c4)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x19055a+',\x22level\x22:\x20\x22'+_0x557401+_0x3add52(0x28f));};new Promise(async _0xc4a4f5=>{const _0x1337a4=_0x517b57,_0x321f64={'XpQvR':function(_0x415807,_0x4d541a){const _0x4b4b4a=a36_0x3502;return _0x2a650b[_0x4b4b4a(0x1d6)](_0x415807,_0x4d541a);},'WYtXS':_0x2a650b[_0x1337a4(0x254)],'vxkGL':function(_0x3d36f0,_0x52b78c,_0x477589){const _0x3b0f06=_0x1337a4;return _0x2a650b[_0x3b0f06(0x1ef)](_0x3d36f0,_0x52b78c,_0x477589);},'aaLXE':function(_0x5c729a,_0x3f7142){const _0x5656a9=_0x1337a4;return _0x2a650b[_0x5656a9(0x268)](_0x5c729a,_0x3f7142);},'RUWkC':_0x2a650b[_0x1337a4(0x235)],'CKLSZ':_0x2a650b[_0x1337a4(0x20e)],'nFCao':_0x2a650b[_0x1337a4(0x283)],'OIXoI':_0x2a650b[_0x1337a4(0x297)]};try{_0x2a650b[_0x1337a4(0x240)](global[_0x1337a4(0x23d)][_0x1337a4(0x267)],0x1)&&(await global['driverCleanup'](),global['__drivers'][_0x1337a4(0x225)](),global[_0x1337a4(0x1b9)]=[],global[_0x1337a4(0x1f5)]=![]);try{if(global[_0x1337a4(0x26a)]&&_0x2a650b[_0x1337a4(0x238)](global[_0x1337a4(0x246)],_0x2a650b[_0x1337a4(0x1e4)])&&global[_0x1337a4(0x23d)][0x0]){const _0x1d41a2=_0x2a650b['sCfey'](global[_0x1337a4(0x201)][_0x1337a4(0x267)],0x0)?!!global[_0x1337a4(0x201)][0x0]['app']||!!global['capabilities'][0x0][_0x2a650b[_0x1337a4(0x284)]]:![],_0x316218={};_0x316218[_0x1337a4(0x1ce)]=_0x1d41a2,await _0x2a650b[_0x1337a4(0x265)](percyAutoCapture,global[_0x1337a4(0x23d)][0x0],_0x2a650b['xeTnc'],_0x316218);}}catch(_0x1c9152){logger[_0x1337a4(0x1c9)](_0x1337a4(0x287)+_0x1c9152);}!global[_0x1337a4(0x1c8)]&&(await PerformanceTester[_0x1337a4(0x270)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x1e74ff=_0x1337a4;await global[_0x1e74ff(0x23d)][0x0][_0x1e74ff(0x1c4)](_0x1e74ff(0x1e8)+JSON[_0x1e74ff(0x205)](this['currentTest'][_0x1e74ff(0x230)]()[_0x1e74ff(0x273)](_0x2a650b[_0x1e74ff(0x1d9)]))+'}}');})(),global['__drivers'][0x0][_0x1337a4(0x1f3)]=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x1337a4(0x27b)],async()=>{const _0x5b6541=_0x1337a4,_0x4e2259=_0x321f64['XpQvR'](this[_0x5b6541(0x290)]['state'],_0x321f64[_0x5b6541(0x200)]);_0x4e2259?(global[_0x5b6541(0x1f5)]=!![],global[_0x5b6541(0x1b9)][_0x5b6541(0x242)](this[_0x5b6541(0x290)][_0x5b6541(0x210)]['message']),await _0x321f64[_0x5b6541(0x253)](_0x49160b,JSON[_0x5b6541(0x205)](_0x321f64[_0x5b6541(0x22d)](_0x321f64[_0x5b6541(0x25b)],this[_0x5b6541(0x290)][_0x5b6541(0x210)][_0x5b6541(0x26d)])),_0x321f64[_0x5b6541(0x22e)])):await _0x321f64['vxkGL'](_0x49160b,JSON[_0x5b6541(0x205)](_0x321f64[_0x5b6541(0x269)]),_0x321f64[_0x5b6541(0x1db)]);})();}catch(_0x35808d){logger['debug'](_0x1337a4(0x20c)+_0x35808d);}try{if(this[_0x1337a4(0x290)]['accessibilityScanStarted']&&globals[_0x1337a4(0x263)](_0x2a650b['lkCHN'])){logger[_0x1337a4(0x1ca)](_0x2a650b[_0x1337a4(0x239)]);const _0x4db449={};_0x4db449[_0x1337a4(0x251)]=this[_0x1337a4(0x290)][_0x1337a4(0x1cb)],_0x4db449['thBuildUuid']=process[_0x1337a4(0x274)][testHubConstants[_0x1337a4(0x22f)][_0x1337a4(0x260)]],_0x4db449[_0x1337a4(0x1cc)]=process[_0x1337a4(0x274)][testHubConstants[_0x1337a4(0x22f)]['BROWSERSTACK_TESTHUB_JWT']];const _0xa28fda=_0x4db449;logger[_0x1337a4(0x1c9)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON['stringify'](_0xa28fda));if(globals[_0x1337a4(0x263)](_0x2a650b['mzKKi'])){logger[_0x1337a4(0x1c9)](_0x2a650b[_0x1337a4(0x229)]);const _0x389b4a={};_0x389b4a[_0x1337a4(0x277)]=_0x2a650b[_0x1337a4(0x226)];const _0x170539=await PerformanceTester[_0x1337a4(0x270)](PerformanceA11yEvents[_0x1337a4(0x234)],async()=>{const _0x28564d=_0x1337a4;return await accessibilityRetryHelper[_0x28564d(0x257)](global['__drivers'][0x0],global[_0x28564d(0x291)]);},_0x389b4a)();_0x170539?logger[_0x1337a4(0x1c9)](_0x2a650b['VeGRn']):logger[_0x1337a4(0x27a)](_0x2a650b[_0x1337a4(0x208)]);}else logger[_0x1337a4(0x1c9)](_0x2a650b[_0x1337a4(0x233)]);const _0x3c10a8=await PerformanceTester[_0x1337a4(0x270)](PerformanceA11yEvents[_0x1337a4(0x25f)],async()=>{return await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global['__drivers'][0x0],_0xa28fda);})();_0x3c10a8?logger[_0x1337a4(0x1c9)](_0x2a650b[_0x1337a4(0x23b)]):logger['warn'](_0x2a650b[_0x1337a4(0x27c)]),logger[_0x1337a4(0x1ca)](_0x2a650b[_0x1337a4(0x204)]);}}catch(_0x58b987){logger[_0x1337a4(0x294)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x1337a4(0x290)][_0x1337a4(0x230)]()+_0x1337a4(0x1e2),_0x58b987);}try{try{if(_0x2a650b['uNASe'](shouldProcessEventForTesthub)){global[_0x1337a4(0x23d)][0x0]&&await _0x2a650b[_0x1337a4(0x217)](sendPlatformDetails,global[_0x1337a4(0x23d)][0x0],this[_0x1337a4(0x290)]?this['currentTest'][_0x1337a4(0x1cb)]:null);if(_0x2a650b[_0x1337a4(0x1df)](isBrowserstackInfra)){PerformanceTester[_0x1337a4(0x1c6)](PerformanceO11yEvents['SYNC']);const _0x5c5d08=_0x1337a4(0x1d0)+Date[_0x1337a4(0x216)]();await _0x2a650b[_0x1337a4(0x1ef)](_0x49160b,JSON[_0x1337a4(0x205)](_0x5c5d08),_0x2a650b[_0x1337a4(0x1fe)]),PerformanceTester[_0x1337a4(0x25e)](PerformanceO11yEvents[_0x1337a4(0x248)]);}}}catch(_0x50c49d){logger['debug'](_0x1337a4(0x20b)+_0x50c49d),PerformanceTester[_0x1337a4(0x25e)](PerformanceO11yEvents[_0x1337a4(0x248)],![],_0x50c49d);}_0x2a650b['sCfey'](global[_0x1337a4(0x23d)][0x0][_0x1337a4(0x247)],0x0)&&await global[_0x1337a4(0x20f)]();}catch(_0x4a027e){logger['debug'](_0x1337a4(0x245)+_0x4a027e);}_0x2a650b[_0x1337a4(0x1bc)](_0xc4a4f5);})[_0x517b57(0x24d)](()=>{_0x2a650b['SATje'](_0x1f337b);});},{'platform':_0x7c8c00['lEeWF'](nestedKeyValue,global[_0x266d25(0x203)],[_0x7c8c00[_0x266d25(0x1de)]]),'hookType':_0x7c8c00[_0x266d25(0x21c)]})();},'afterAll'(_0x1dd4a9){const _0x311a76=a36_0x19eff0,_0x59b04d={'AShnm':function(_0x53cfb7){return _0x53cfb7();},'nSByC':function(_0xa300b1){return _0xa300b1();},'ypMsO':_0x311a76(0x24e),'sgFJg':function(_0x422d2d,_0x2fd062,_0x44d75d){return _0x422d2d(_0x2fd062,_0x44d75d);},'EfsYp':'index','DELTo':_0x311a76(0x1bf)},_0x1b5960='browserstack internal helper hook';this[_0x311a76(0x292)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x59b04d[_0x311a76(0x286)]]),PerformanceTester[_0x311a76(0x270)](PerformanceSdkEvents[_0x311a76(0x22c)],()=>{const _0x5d7c9c=_0x311a76,_0x33d49b={'OxWxr':function(_0x10215c){const _0x36b8d5=a36_0x3502;return _0x59b04d[_0x36b8d5(0x21d)](_0x10215c);}};new Promise(async _0x180beb=>{const _0x521afe=a36_0x3502;await global[_0x521afe(0x20f)](),_0x59b04d[_0x521afe(0x243)](_0x180beb);})[_0x5d7c9c(0x24d)]()[_0x5d7c9c(0x272)](()=>{const _0x1c8b19=_0x5d7c9c;_0x33d49b[_0x1c8b19(0x1d3)](_0x1dd4a9);});},{'platform':_0x59b04d[_0x311a76(0x1ed)](nestedKeyValue,global['__platformCaps'],[_0x59b04d[_0x311a76(0x22a)]]),'hookType':_0x59b04d[_0x311a76(0x228)]})();}};
1
+ function a36_0x5254(){const _0x20afe5=['join','setGlobal','GwokK','Mocha','executeScript','isAccessibilityPlatform','PrymQ','gKXlA','104bqFvLR','GqkrU','capabilities','bstackA11yScanOptions','txHNz','getGlobal','tFKHx','3758643RkWiia','initQuit','SESSION_STATUS','UTWkn','xGlei','afterTest','zWvwM','jmKAi','env','bRiRh','\x20-\x20','SAVE_RESULTS','yFtiV','parse','end','protocol','PERFORM_SCAN','Accessibility\x20scan\x20completed\x20successfully','IDsmj','dyFUC','Krqxa','rqXyj','winstonLogger','aFmKo','tjtNh','../../helpers/testhub/constants','PyVox',',\x22level\x22:\x20\x22','UPvBr','7143433iGgbPh','LSZPy','vKTPV','failed','DuxBB','currentTest','wzhgO','__error_messages__','lcwhk','MfkzT','../../helpers/performance/performance-tester','DJDOS','autoScanning','zYOtn','UMbFV','cKbRi','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','state','MqJYT','xAQnv','SsjLZ','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','app','cuUQS','../utils/constants','bstackA11yShouldScan','warn','startMonitoring','4780756YaZufe','iXbqx','EqHyF','command','ARGRi','accessibilityScanStarted','sessionNameSet__','oEmDB','YqkvD','lTJOA','QhXcH','stringify','\x20|\x20','OvwWG','message','TShpj','gGUpm','aJaIf','Failed\x20to\x20store\x20session\x20name:\x20','../../helpers/testhub/utils','afterEach','debug','Automate\x20test\x20case\x20execution\x20has\x20started.','HltBe','PgNCT','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','timeout','kGbSz','http:','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','ZzpgH','error','uogwJ','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','BtgdZ','SDK_HOOK','10cEpTyX','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','__sessionFailed','rLVNS','wuTLR','vtNXd','TYSFH','appium:app','SYNC','oiLNS','pZEoN','beforeAll','ktkTB','format','now','index','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','5945Krvchh','kBsck','kkLTm','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','aUjmz','https:','Arqtm','bjKsp','DChYC','start','yXIvh','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','BROWSERSTACK_TESTHUB_JWT','CMyso','142712RrpwHv','kVpUW','DsTIt','util','driverCleanup','shouldScanTestForAccessibility','../../helpers/logger','saveAccessibilityResultsWithRetry','length','4622814HurxEG','browserstackSessionName','beforeEach','1086RLtFzg','../../helpers/performance/constants','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','../../helpers/accessibility-automation/accessibilityRetryHelper','percyCaptureMode','quitCount_','XoyQh','__platformCaps','finally','__drivers','thJwtToken','info','isArray','thTestRunUuid','browserstackTestName','mJUkG','[Accessibility]\x20Auto\x20scan\x20is\x20disabled;\x20skipping\x20final\x20scan\x20and\x20saving\x20current\x20accumulated\x20results','HwFrX','DvvBP','KvZoU','push','../../helpers/helper','Accessibility\x20results\x20saved\x20successfully','ENV_VAR','session_','.\x20Error\x20:','rzyyb','../../helpers/percy/utils','../../helpers/accessibility-automation/helper','../../helpers/globals','then','measureWrapper','9EAAzMG','sessionName','ttCKZ','EGBfg','CnwBr','xTMgb','testAnalyticsId','aAbRT','ObservabilitySync:','passed','jQHIl','err','afterAll','KiyWB','bRzMo','AieMc','209349bUZFIw','titlePath','\x22}}','MXaAk','Failed:\x20','AbPMC','cNijd','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','PjVRY','testcase','thBuildUuid','VRuAA','LnZQr','PztOT','RKEAD'];a36_0x5254=function(){return _0x20afe5;};return a36_0x5254();}function a36_0x4d4d(_0x38a651,_0x3a7c9d){const _0x525440=a36_0x5254();return a36_0x4d4d=function(_0x4d4d5a,_0x13507e){_0x4d4d5a=_0x4d4d5a-0x18e;let _0x1ad4a5=_0x525440[_0x4d4d5a];return _0x1ad4a5;},a36_0x4d4d(_0x38a651,_0x3a7c9d);}const a36_0x2ba5de=a36_0x4d4d;(function(_0x1e62fd,_0x34c547){const _0xdf4a66=a36_0x4d4d,_0x563d39=_0x1e62fd();while(!![]){try{const _0x1f6e6d=-parseInt(_0xdf4a66(0x1e2))/0x1*(parseInt(_0xdf4a66(0x1b6))/0x2)+parseInt(_0xdf4a66(0x210))/0x3+-parseInt(_0xdf4a66(0x249))/0x4+parseInt(_0xdf4a66(0x1a7))/0x5*(-parseInt(_0xdf4a66(0x1c2))/0x6)+parseInt(_0xdf4a66(0x1f2))/0x7*(parseInt(_0xdf4a66(0x209))/0x8)+parseInt(_0xdf4a66(0x1bf))/0x9+parseInt(_0xdf4a66(0x196))/0xa*(parseInt(_0xdf4a66(0x22d))/0xb);if(_0x1f6e6d===_0x34c547)break;else _0x563d39['push'](_0x563d39['shift']());}catch(_0x20ac06){_0x563d39['push'](_0x563d39['shift']());}}}(a36_0x5254,0xb79f7));const util=require(a36_0x2ba5de(0x1b9)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x2ba5de(0x1de)),accessibilityRetryHelper=require(a36_0x2ba5de(0x1c5)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x2ba5de(0x245)),{percyAutoCapture}=require(a36_0x2ba5de(0x1dd)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x2ba5de(0x1d7)),PerformanceTester=require(a36_0x2ba5de(0x237)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x2ba5de(0x1c3)),globals=require(a36_0x2ba5de(0x1df)),logger=require(a36_0x2ba5de(0x1bc))[a36_0x2ba5de(0x226)],{shouldProcessEventForTesthub}=require(a36_0x2ba5de(0x25c)),testHubConstants=require(a36_0x2ba5de(0x229));exports['mochaHooks']={'beforeAll'(){const _0x29eacf=a36_0x2ba5de,_0x5ef5ef={'wuTLR':function(_0x5e0bd5,_0x32f3d6,_0x4769bf,_0x532169){return _0x5e0bd5(_0x32f3d6,_0x4769bf,_0x532169);},'GwokK':_0x29eacf(0x230),'TYSFH':_0x29eacf(0x255),'PyVox':function(_0x59eb91,_0x33a3e3,_0x47d03c){return _0x59eb91(_0x33a3e3,_0x47d03c);},'QGZEw':_0x29eacf(0x1eb),'URVaI':function(_0x14b9d0){return _0x14b9d0();},'PjVRY':function(_0x3fc2c2,_0x5b9a54,_0x21a9e5){return _0x3fc2c2(_0x5b9a54,_0x21a9e5);},'olshF':'index','PrymQ':_0x29eacf(0x1a1)};PerformanceTester[_0x29eacf(0x248)]();const _0x462ff7='browserstack internal helper hook';PerformanceTester[_0x29eacf(0x1e1)](PerformanceSdkEvents[_0x29eacf(0x195)],()=>{const _0x1bbacc=_0x29eacf;global[_0x1bbacc(0x234)]=[],global[_0x1bbacc(0x198)]=![],global['driverCleanup']=async()=>{const _0x294eab=_0x1bbacc;let _0x4cdbc5=![];try{await global[_0x294eab(0x1cb)][0x0][_0x294eab(0x1da)],_0x4cdbc5=!![],global[_0x294eab(0x198)]?await _0x5ef5ef[_0x294eab(0x19a)](markSessionStatus,global['__drivers'][0x0],_0x5ef5ef[_0x294eab(0x203)],global['__error_messages__'][_0x294eab(0x201)](_0x5ef5ef[_0x294eab(0x19c)])):await _0x5ef5ef[_0x294eab(0x22a)](markSessionStatus,global['__drivers'][0x0],_0x5ef5ef['QGZEw']);}catch(_0x5357ac){logger['debug']('Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20'+_0x5357ac);}global[_0x294eab(0x234)]=[],global['__sessionFailed']=![];if(_0x4cdbc5)try{try{_0x5ef5ef['URVaI'](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0x5ef5ef['PjVRY'](sendPlatformDetails,global[_0x294eab(0x1cb)][0x0],this[_0x294eab(0x232)]?this['currentTest'][_0x294eab(0x1e8)]:null));}catch(_0x1d9fe){logger['debug']('Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20'+_0x1d9fe);}await global[_0x294eab(0x1cb)][0x0][_0x294eab(0x211)]();}catch(_0x33b701){logger[_0x294eab(0x25e)](_0x294eab(0x193)+_0x33b701);}};},{'platform':_0x5ef5ef[_0x29eacf(0x1fa)](nestedKeyValue,global[_0x29eacf(0x1c9)],[_0x5ef5ef['olshF']]),'hookType':_0x5ef5ef[_0x29eacf(0x207)]})();},'beforeEach'(_0x2e083f){const _0x4fae30=a36_0x2ba5de,_0x21ebde={'tFKHx':function(_0x133389){return _0x133389();},'xTMgb':function(_0x1ef482,_0x24410f){return _0x1ef482>_0x24410f;},'LSZPy':_0x4fae30(0x21a),'pZEoN':function(_0x5e18b2,_0x45fd1e,_0x58b268){return _0x5e18b2(_0x45fd1e,_0x58b268);},'SUtIL':function(_0xd4782d,_0x1d23ba){return _0xd4782d===_0x1d23ba;},'klEtO':_0x4fae30(0x246),'gGUpm':_0x4fae30(0x20c),'PDCmS':_0x4fae30(0x206),'AieMc':_0x4fae30(0x18e),'mJUkG':_0x4fae30(0x1ad),'kGbSz':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','MqJYT':_0x4fae30(0x25f),'aAbRT':_0x4fae30(0x1d0),'jmKAi':function(_0x19f325,_0x1bef25,_0x362350){return _0x19f325(_0x1bef25,_0x362350);},'BtgdZ':_0x4fae30(0x1a5),'bRzMo':_0x4fae30(0x1c1)};globals[_0x4fae30(0x202)](_0x21ebde[_0x4fae30(0x1e9)],this[_0x4fae30(0x232)][_0x4fae30(0x1f3)]()[_0x4fae30(0x201)](_0x21ebde['LSZPy'])),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x4fae30(0x195)],()=>{const _0x2d7ece=_0x4fae30,_0x4b253e={'lcwhk':function(_0x5e00d5,_0x43d455){const _0x58c9d6=a36_0x4d4d;return _0x21ebde[_0x58c9d6(0x1e7)](_0x5e00d5,_0x43d455);},'ARGRi':function(_0x490b08,_0x32c562){return _0x21ebde['xTMgb'](_0x490b08,_0x32c562);},'xAQnv':_0x21ebde[_0x2d7ece(0x22e)],'GqkrU':function(_0x64200f,_0x228a9a,_0x3912b3){const _0x1a6309=_0x2d7ece;return _0x21ebde[_0x1a6309(0x1a0)](_0x64200f,_0x228a9a,_0x3912b3);},'MXaAk':function(_0x3239e3,_0x2587d3){return _0x21ebde['SUtIL'](_0x3239e3,_0x2587d3);},'lDxCU':_0x21ebde['klEtO'],'kkLTm':_0x21ebde[_0x2d7ece(0x259)],'PgNCT':function(_0x23267b){return _0x21ebde['tFKHx'](_0x23267b);},'iXbqx':_0x21ebde['PDCmS'],'zYOtn':_0x21ebde[_0x2d7ece(0x1f1)],'jQHIl':_0x21ebde[_0x2d7ece(0x1d1)],'yXIvh':_0x21ebde[_0x2d7ece(0x264)],'HltBe':_0x21ebde[_0x2d7ece(0x23f)],'xGlei':function(_0x98dea2){const _0x2c091b=_0x2d7ece;return _0x21ebde[_0x2c091b(0x20f)](_0x98dea2);}},_0xd5ce67='browserstack internal helper hook';new Promise(async _0x436a95=>{const _0x100683=_0x2d7ece;let _0x4dde63=!![];try{_0x4b253e[_0x100683(0x235)](global['__drivers'][_0x100683(0x1be)],0x1)&&(await global['driverCleanup'](),global[_0x100683(0x1cb)]['shift']()),_0x4b253e[_0x100683(0x24d)](global['__drivers'][0x0]['quitCount_'],0x0)&&(_0x4dde63=![],await global[_0x100683(0x1ba)]());}catch(_0x449619){logger[_0x100683(0x25e)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x449619);}try{Array['isArray'](global[_0x100683(0x1cb)])&&global[_0x100683(0x1cb)][0x0]&&(global[_0x100683(0x1cb)][0x0][_0x100683(0x1c0)]=this[_0x100683(0x232)][_0x100683(0x1f3)]()[_0x100683(0x201)](_0x4b253e[_0x100683(0x240)])),global['browserstackSessionName']=this[_0x100683(0x232)][_0x100683(0x1f3)]()[_0x100683(0x201)](_0x4b253e[_0x100683(0x240)]);}catch(_0x4b7381){logger[_0x100683(0x25e)](_0x100683(0x25b)+_0x4b7381);}this[_0x100683(0x232)][_0x100683(0x1bb)]=_0x4b253e[_0x100683(0x20a)](shouldScanTestForAccessibility,this['currentTest'][_0x100683(0x1f3)](),!![]);let _0x210e11=!![];try{const _0x273c45=JSON[_0x100683(0x21d)](process['env'][_0x100683(0x1f9)]||'{}');_0x4b253e[_0x100683(0x1f5)](_0x273c45[_0x100683(0x239)],![])&&(_0x210e11=![]);}catch(_0x2c3ccd){logger[_0x100683(0x25e)]('Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20'+_0x2c3ccd[_0x100683(0x257)]);}const _0x175160=_0x210e11&&this['currentTest']['shouldScanTestForAccessibility'];globals[_0x100683(0x202)](_0x4b253e['lDxCU'],_0x175160),globals[_0x100683(0x202)](_0x4b253e[_0x100683(0x1a9)],null),this[_0x100683(0x232)][_0x100683(0x24e)]=this[_0x100683(0x232)][_0x100683(0x1bb)];if(_0x4b253e[_0x100683(0x261)](isAccessibilityAutomationSession)&&_0x4dde63&&Array[_0x100683(0x1ce)](global['__drivers'])&&_0x4b253e[_0x100683(0x24d)](global[_0x100683(0x1cb)][_0x100683(0x1be)],0x0)&&globals[_0x100683(0x20e)](_0x4b253e[_0x100683(0x24a)]))try{const _0x1bfb5a=await global['__drivers'][0x0][_0x100683(0x1da)];if(_0x1bfb5a){let _0x1cb05f=!![];const _0x430906=await global[_0x100683(0x1cb)][0x0]['getCurrentUrl']();let _0x1ac908;try{_0x1ac908=new URL(_0x430906),_0x1cb05f=_0x4b253e[_0x100683(0x1f5)](_0x1ac908['protocol'],_0x4b253e[_0x100683(0x23a)])||_0x4b253e[_0x100683(0x1f5)](_0x1ac908[_0x100683(0x21f)],_0x4b253e[_0x100683(0x1ec)]);}catch(_0x10cd93){_0x1cb05f=![];}_0x1cb05f&&(this[_0x100683(0x232)][_0x100683(0x1bb)]&&logger['info'](_0x4b253e[_0x100683(0x1b2)])),this[_0x100683(0x232)][_0x100683(0x24e)]=this[_0x100683(0x232)][_0x100683(0x1bb)],_0x175160&&logger[_0x100683(0x1cd)](_0x4b253e[_0x100683(0x260)]);}}catch(_0x252c54){logger['error'](_0x100683(0x1b3)+util[_0x100683(0x1a3)](_0x252c54));}_0x4b253e[_0x100683(0x214)](_0x436a95);})[_0x2d7ece(0x1e0)](()=>{const _0x16e0d6=_0x2d7ece;_0x21ebde[_0x16e0d6(0x20f)](_0x2e083f);});},{'platform':_0x21ebde[_0x4fae30(0x217)](nestedKeyValue,global['__platformCaps'],[_0x21ebde[_0x4fae30(0x194)]]),'hookType':_0x21ebde[_0x4fae30(0x1f0)]})();},'afterEach'(_0x16de82){const _0x4d70da=a36_0x2ba5de,_0x49e4f3={'CnwBr':'\x20-\x20','DChYC':function(_0x3f27a0,_0x5ce269){return _0x3f27a0!==_0x5ce269;},'fXXSm':_0x4d70da(0x1eb),'bRiRh':function(_0x5833f3,_0x158e3e,_0x1e4a18){return _0x5833f3(_0x158e3e,_0x1e4a18);},'MfkzT':function(_0x3024e3,_0x12a41b){return _0x3024e3+_0x12a41b;},'KvZoU':_0x4d70da(0x1f6),'wzhgO':_0x4d70da(0x191),'dyFUC':'Passed','ZMsvz':_0x4d70da(0x1cd),'uogwJ':function(_0x208058,_0x578aa7){return _0x208058>_0x578aa7;},'bQqdY':function(_0x37354f,_0x449839){return _0x37354f===_0x449839;},'EGBfg':_0x4d70da(0x1fb),'Aikzs':_0x4d70da(0x19d),'vNXDx':function(_0x2a67f6,_0x4627ef,_0x533220,_0x46bd73){return _0x2a67f6(_0x4627ef,_0x533220,_0x46bd73);},'OvwWG':_0x4d70da(0x206),'yFtiV':_0x4d70da(0x1c4),'cuUQS':'bstackA11yShouldScan','vtNXd':'Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','VRuAA':_0x4d70da(0x215),'bjKsp':_0x4d70da(0x221),'Krqxa':_0x4d70da(0x197),'CMyso':_0x4d70da(0x1d2),'rLVNS':_0x4d70da(0x1d8),'cKbRi':_0x4d70da(0x262),'UMbFV':_0x4d70da(0x242),'AbPMC':function(_0x47ad59){return _0x47ad59();},'TShpj':function(_0x395bec){return _0x395bec();},'HhhAQ':_0x4d70da(0x25e),'eFQQp':function(_0x3ff313){return _0x3ff313();},'XoyQh':_0x4d70da(0x204),'SsjLZ':function(_0x4495c0,_0x388dc3,_0x3df0e2){return _0x4495c0(_0x388dc3,_0x3df0e2);},'tjtNh':'index','DvvBP':_0x4d70da(0x25d)},_0xcecdf='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x49e4f3[_0x4d70da(0x1c8)]]),global[_0x4d70da(0x1e3)]=this[_0x4d70da(0x232)]['titlePath']()[_0x4d70da(0x201)](_0x49e4f3[_0x4d70da(0x1e6)]),PerformanceTester[_0x4d70da(0x1e1)](PerformanceSdkEvents[_0x4d70da(0x195)],()=>{const _0x4f96c8=_0x4d70da,_0x31abd8={'iGtYV':_0x49e4f3[_0x4f96c8(0x1e6)],'vKTPV':function(_0x94249d,_0x205da8){const _0x16d10b=_0x4f96c8;return _0x49e4f3[_0x16d10b(0x1b0)](_0x94249d,_0x205da8);},'lTJOA':_0x49e4f3['fXXSm'],'aFmKo':function(_0xf9e059,_0x493d6b,_0xd75f58){const _0xe9e9a6=_0x4f96c8;return _0x49e4f3[_0xe9e9a6(0x219)](_0xf9e059,_0x493d6b,_0xd75f58);},'cNijd':function(_0x5bba16,_0x2ae281){const _0x1a3132=_0x4f96c8;return _0x49e4f3[_0x1a3132(0x236)](_0x5bba16,_0x2ae281);},'YqkvD':_0x49e4f3[_0x4f96c8(0x1d5)],'rqXyj':_0x49e4f3[_0x4f96c8(0x233)],'KiyWB':function(_0x11e718,_0xb210eb,_0x45291a){const _0x5668db=_0x4f96c8;return _0x49e4f3[_0x5668db(0x219)](_0x11e718,_0xb210eb,_0x45291a);},'QhXcH':_0x49e4f3[_0x4f96c8(0x223)],'gKXlA':_0x49e4f3['ZMsvz'],'aUjmz':function(_0x3f435d,_0xca56de){const _0x1d096c=_0x4f96c8;return _0x49e4f3[_0x1d096c(0x192)](_0x3f435d,_0xca56de);},'oEmDB':function(_0x304133,_0x531636){return _0x49e4f3['bQqdY'](_0x304133,_0x531636);},'txHNz':_0x49e4f3[_0x4f96c8(0x1e5)],'rzyyb':_0x49e4f3['Aikzs'],'jHiKM':function(_0x1822e2,_0x4f33f8,_0x16b0f4,_0x256e9a){return _0x49e4f3['vNXDx'](_0x1822e2,_0x4f33f8,_0x16b0f4,_0x256e9a);},'uXamZ':_0x49e4f3[_0x4f96c8(0x256)],'RKEAD':_0x49e4f3[_0x4f96c8(0x21c)],'Arqtm':_0x49e4f3[_0x4f96c8(0x244)],'oiLNS':_0x49e4f3[_0x4f96c8(0x19b)],'UTWkn':_0x49e4f3[_0x4f96c8(0x1fd)],'ttCKZ':_0x49e4f3[_0x4f96c8(0x1af)],'LnZQr':_0x49e4f3[_0x4f96c8(0x224)],'DsTIt':_0x49e4f3[_0x4f96c8(0x1b5)],'DuxBB':_0x49e4f3[_0x4f96c8(0x199)],'PztOT':_0x49e4f3[_0x4f96c8(0x23c)],'GYhgq':_0x49e4f3[_0x4f96c8(0x23b)],'kVpUW':function(_0x4ce5a3){const _0x521909=_0x4f96c8;return _0x49e4f3[_0x521909(0x1f7)](_0x4ce5a3);},'DJDOS':function(_0x55880f,_0x578ac4,_0x22bbbe){const _0x3eea21=_0x4f96c8;return _0x49e4f3[_0x3eea21(0x219)](_0x55880f,_0x578ac4,_0x22bbbe);},'UPvBr':function(_0xc89ffc){const _0x1117ac=_0x4f96c8;return _0x49e4f3[_0x1117ac(0x258)](_0xc89ffc);},'EqHyF':_0x49e4f3['HhhAQ'],'ktkTB':function(_0x40bc59,_0x3595f6){const _0x56325c=_0x4f96c8;return _0x49e4f3[_0x56325c(0x192)](_0x40bc59,_0x3595f6);},'aJaIf':function(_0x19162b){return _0x49e4f3['eFQQp'](_0x19162b);}},_0x530dc0=async(_0x2aec86,_0x42ebed)=>{const _0x5a674c=_0x4f96c8;await global[_0x5a674c(0x1cb)][0x0]['executeScript'](_0x5a674c(0x1ab)+_0x2aec86+_0x5a674c(0x22b)+_0x42ebed+_0x5a674c(0x1f4));};new Promise(async _0x1b7e48=>{const _0x3ad047=_0x4f96c8;try{_0x31abd8[_0x3ad047(0x1ac)](global[_0x3ad047(0x1cb)][_0x3ad047(0x1be)],0x1)&&(await global[_0x3ad047(0x1ba)](),global[_0x3ad047(0x1cb)]['shift'](),global[_0x3ad047(0x234)]=[],global['__sessionFailed']=![]);try{if(global['percy']&&_0x31abd8[_0x3ad047(0x250)](global[_0x3ad047(0x1c6)],_0x31abd8[_0x3ad047(0x20d)])&&global[_0x3ad047(0x1cb)][0x0]){const _0x13b56c=_0x31abd8['aUjmz'](global[_0x3ad047(0x20b)][_0x3ad047(0x1be)],0x0)?!!global[_0x3ad047(0x20b)][0x0][_0x3ad047(0x243)]||!!global[_0x3ad047(0x20b)][0x0][_0x31abd8[_0x3ad047(0x1dc)]]:![],_0x264635={};_0x264635['app']=_0x13b56c,await _0x31abd8['jHiKM'](percyAutoCapture,global[_0x3ad047(0x1cb)][0x0],_0x31abd8[_0x3ad047(0x20d)],_0x264635);}}catch(_0x31385c){logger[_0x3ad047(0x25e)](_0x3ad047(0x1aa)+_0x31385c);}!global['__skipSessionName']&&(await PerformanceTester[_0x3ad047(0x1e1)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x2fb94a=_0x3ad047;await global['__drivers'][0x0][_0x2fb94a(0x205)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON['stringify'](this['currentTest'][_0x2fb94a(0x1f3)]()['join'](_0x31abd8['iGtYV']))+'}}');})(),global[_0x3ad047(0x1cb)][0x0][_0x3ad047(0x24f)]=!![]),await PerformanceTester[_0x3ad047(0x1e1)](PerformanceAutEvents[_0x3ad047(0x212)],async()=>{const _0x39b38f=_0x3ad047,_0x43b202=_0x31abd8[_0x39b38f(0x22f)](this[_0x39b38f(0x232)][_0x39b38f(0x23e)],_0x31abd8[_0x39b38f(0x252)]);_0x43b202?(global[_0x39b38f(0x198)]=!![],global[_0x39b38f(0x234)][_0x39b38f(0x1d6)](this['currentTest']['err'][_0x39b38f(0x257)]),await _0x31abd8[_0x39b38f(0x227)](_0x530dc0,JSON['stringify'](_0x31abd8[_0x39b38f(0x1f8)](_0x31abd8[_0x39b38f(0x251)],this[_0x39b38f(0x232)][_0x39b38f(0x1ed)]['message'])),_0x31abd8[_0x39b38f(0x225)])):await _0x31abd8[_0x39b38f(0x1ef)](_0x530dc0,JSON[_0x39b38f(0x254)](_0x31abd8[_0x39b38f(0x253)]),_0x31abd8[_0x39b38f(0x208)]);})();}catch(_0xc6fa09){logger[_0x3ad047(0x25e)](_0x3ad047(0x1a6)+_0xc6fa09);}try{if(this[_0x3ad047(0x232)]['accessibilityScanStarted']&&globals[_0x3ad047(0x20e)](_0x31abd8['uXamZ'])){logger[_0x3ad047(0x1cd)](_0x31abd8[_0x3ad047(0x200)]);const _0x51d337={};_0x51d337[_0x3ad047(0x1cf)]=this[_0x3ad047(0x232)]['testAnalyticsId'],_0x51d337[_0x3ad047(0x1fc)]=process[_0x3ad047(0x218)][testHubConstants[_0x3ad047(0x1d9)]['BROWSERSTACK_TESTHUB_UUID']],_0x51d337[_0x3ad047(0x1cc)]=process['env'][testHubConstants['ENV_VAR'][_0x3ad047(0x1b4)]];const _0x17e49b=_0x51d337;logger[_0x3ad047(0x25e)](_0x3ad047(0x18f)+JSON['stringify'](_0x17e49b));if(globals['getGlobal'](_0x31abd8[_0x3ad047(0x1ae)])){logger[_0x3ad047(0x25e)](_0x31abd8[_0x3ad047(0x19f)]);const _0x4dae0a={};_0x4dae0a[_0x3ad047(0x24c)]=_0x31abd8[_0x3ad047(0x213)];const _0x311d8c=await PerformanceTester[_0x3ad047(0x1e1)](PerformanceA11yEvents[_0x3ad047(0x220)],async()=>{const _0x33c125=_0x3ad047;return await accessibilityRetryHelper['performScanWithRetry'](global[_0x33c125(0x1cb)][0x0],global[_0x33c125(0x1c0)]);},_0x4dae0a)();_0x311d8c?logger['debug'](_0x31abd8[_0x3ad047(0x1e4)]):logger[_0x3ad047(0x247)](_0x31abd8[_0x3ad047(0x1fe)]);}else logger['debug'](_0x31abd8[_0x3ad047(0x1b8)]);const _0x3e5882=await PerformanceTester[_0x3ad047(0x1e1)](PerformanceA11yEvents[_0x3ad047(0x21b)],async()=>{const _0x3d3bcd=_0x3ad047;return await accessibilityRetryHelper[_0x3d3bcd(0x1bd)](global[_0x3d3bcd(0x1cb)][0x0],_0x17e49b);})();_0x3e5882?logger[_0x3ad047(0x25e)](_0x31abd8[_0x3ad047(0x231)]):logger[_0x3ad047(0x247)](_0x31abd8[_0x3ad047(0x1ff)]),logger[_0x3ad047(0x1cd)](_0x31abd8['GYhgq']);}}catch(_0x2292ed){logger[_0x3ad047(0x191)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x3ad047(0x232)][_0x3ad047(0x1f3)]()+_0x3ad047(0x1db),_0x2292ed);}try{try{if(_0x31abd8[_0x3ad047(0x1b7)](shouldProcessEventForTesthub)){global[_0x3ad047(0x1cb)][0x0]&&await _0x31abd8[_0x3ad047(0x238)](sendPlatformDetails,global['__drivers'][0x0],this[_0x3ad047(0x232)]?this[_0x3ad047(0x232)][_0x3ad047(0x1e8)]:null);if(_0x31abd8[_0x3ad047(0x22c)](isBrowserstackInfra)){PerformanceTester[_0x3ad047(0x1b1)](PerformanceO11yEvents[_0x3ad047(0x19e)]);const _0x1cf519=_0x3ad047(0x1ea)+Date[_0x3ad047(0x1a4)]();await _0x31abd8[_0x3ad047(0x227)](_0x530dc0,JSON[_0x3ad047(0x254)](_0x1cf519),_0x31abd8[_0x3ad047(0x24b)]),PerformanceTester[_0x3ad047(0x21e)](PerformanceO11yEvents[_0x3ad047(0x19e)]);}}}catch(_0x40a173){logger[_0x3ad047(0x25e)](_0x3ad047(0x23d)+_0x40a173),PerformanceTester[_0x3ad047(0x21e)](PerformanceO11yEvents[_0x3ad047(0x19e)],![],_0x40a173);}_0x31abd8[_0x3ad047(0x1a2)](global[_0x3ad047(0x1cb)][0x0][_0x3ad047(0x1c7)],0x0)&&await global[_0x3ad047(0x1ba)]();}catch(_0xe469f5){logger[_0x3ad047(0x25e)](_0x3ad047(0x193)+_0xe469f5);}_0x31abd8[_0x3ad047(0x22c)](_0x1b7e48);})[_0x4f96c8(0x1e0)](()=>{const _0x3d66eb=_0x4f96c8;_0x31abd8[_0x3d66eb(0x25a)](_0x16de82);});},{'platform':_0x49e4f3[_0x4d70da(0x241)](nestedKeyValue,global['__platformCaps'],[_0x49e4f3[_0x4d70da(0x228)]]),'hookType':_0x49e4f3[_0x4d70da(0x1d4)]})();},'afterAll'(_0x5f2ac9){const _0x20688e=a36_0x2ba5de,_0x5ae233={'pmPvC':function(_0x1e7ec8){return _0x1e7ec8();},'IDsmj':function(_0x17334f){return _0x17334f();},'ZzpgH':_0x20688e(0x204),'kBsck':function(_0x276460,_0x2fbd7a,_0x17c854){return _0x276460(_0x2fbd7a,_0x17c854);},'zWvwM':_0x20688e(0x1a5),'HwFrX':_0x20688e(0x1ee)},_0x150bfb='browserstack internal helper hook';this[_0x20688e(0x263)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x5ae233[_0x20688e(0x190)]]),PerformanceTester[_0x20688e(0x1e1)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x2b9cbc=_0x20688e;new Promise(async _0x48486d=>{const _0x4684f9=a36_0x4d4d;await global[_0x4684f9(0x1ba)](),_0x5ae233['pmPvC'](_0x48486d);})[_0x2b9cbc(0x1e0)]()[_0x2b9cbc(0x1ca)](()=>{const _0x175b12=_0x2b9cbc;_0x5ae233[_0x175b12(0x222)](_0x5f2ac9);});},{'platform':_0x5ae233[_0x20688e(0x1a8)](nestedKeyValue,global['__platformCaps'],[_0x5ae233[_0x20688e(0x216)]]),'hookType':_0x5ae233[_0x20688e(0x1d3)]})();}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a37_0x182404=a37_0xf5f0;(function(_0x271385,_0x5ace7a){const _0x776f5=a37_0xf5f0,_0x3c299f=_0x271385();while(!![]){try{const _0x234181=parseInt(_0x776f5(0x20f))/0x1*(parseInt(_0x776f5(0x1f1))/0x2)+parseInt(_0x776f5(0x1ec))/0x3+parseInt(_0x776f5(0x22d))/0x4*(-parseInt(_0x776f5(0x244))/0x5)+-parseInt(_0x776f5(0x207))/0x6+parseInt(_0x776f5(0x23f))/0x7*(-parseInt(_0x776f5(0x23b))/0x8)+-parseInt(_0x776f5(0x1e5))/0x9+parseInt(_0x776f5(0x222))/0xa;if(_0x234181===_0x5ace7a)break;else _0x3c299f['push'](_0x3c299f['shift']());}catch(_0x28b260){_0x3c299f['push'](_0x3c299f['shift']());}}}(a37_0x4903,0xedfb0));function a37_0x4903(){const _0x568165=['null','module','parallelsPerPlatform','../../helpers/testhub/testhubHandler','join','testObservability','createRequire','oDBgx','failures','WmMFQ','iYamS','[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','99368zSXMJe','../../helpers/helper','assign','.js','469QmlENB','indexOf','cXmVx','Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','config','15ymILvn','JUcxK','../../helpers/test-observability/utils','scriptRunner.js','SkuVZ','env','jUgZk','getInstance','stop','newman','yqZbv','uWBoA','VpLxI','tTwrL','Uxtvg','newman/bin/newman','TXByO','Lakyw','iFpTG','gKaVw','jAxHB','exports','node','905634MhLdNp','hNnhT','resolve','inherit','newman-reporter-browserstack','BROWSERSTACK_TESTHUB_JWT','concat','26118DlqLmb','--reporters','true','Aikyl','../v2/browserstackCLI','6yvlEgn','iklbR','ZSYxb','error','cwd','BTdYt','setBrowserstackConfig','cliConfig','bhAWi','cli,browserstack','call','winstonLogger','Failed\x20to\x20bootstrap\x20CLI:\x20','dllBI','lfpux','pZSYJ','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','message','IKGWH','../../helpers/test-observability/requestQueueHandler','BJJQQ','ivlOJ','10622340eABZeb','close','index.js','MbYjk','EqGTX','haGul','BROWSERSTACK_TEST_OBSERVABILITY_YML','bootstrap','259179wlNHCN','../../helpers/logger','gxpWn','Failed\x20to\x20launch\x20build:\x20','setFrameworkDetail','xjUwV','endsWith','../v2/cliUtils','VYMAM','uAKVg','exitCode','warn','path','ehzYd','rAGch','isRunning','[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','nMNrc','XeWHN','47397690rsfRot','vLdMA','BVyXo','configPath','Newman\x20CLI\x20not\x20found:\x20','package.json','_resolveFilename','run','launchBuild','browserstack','AUkge','2464028cNGFiF','ulMAa'];a37_0x4903=function(){return _0x568165;};return a37_0x4903();}function a37_0xf5f0(_0x11270c,_0x42afa3){const _0x490386=a37_0x4903();return a37_0xf5f0=function(_0xf5f056,_0x27e8c2){_0xf5f056=_0xf5f056-0x1e0;let _0x3295b8=_0x490386[_0xf5f056];return _0x3295b8;},a37_0xf5f0(_0x11270c,_0x42afa3);}const path=require(a37_0x182404(0x21b)),Module=require('module'),{fork}=require('child_process'),logger=require(a37_0x182404(0x210))[a37_0x182404(0x1fc)],helper=require(a37_0x182404(0x23c)),TestHubHandler=require(a37_0x182404(0x232)),RequestQueueHandler=require(a37_0x182404(0x204)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{printBuildLink}=require(a37_0x182404(0x246)),BrowserstackCLI=require(a37_0x182404(0x1f0)),CLIUtils=require(a37_0x182404(0x216));function registerBrowserStackReporter(){const _0x3e355b=a37_0x182404,_0x2c2780={};_0x2c2780['AUkge']=function(_0x9989e4,_0x3d6b79){return _0x9989e4===_0x3d6b79;},_0x2c2780[_0x3e355b(0x239)]=_0x3e355b(0x1e9),_0x2c2780[_0x3e355b(0x241)]='reporter',_0x2c2780[_0x3e355b(0x24a)]=_0x3e355b(0x209);const _0x5293a3=_0x2c2780,_0x40025c=path[_0x3e355b(0x233)](__dirname,_0x5293a3[_0x3e355b(0x241)],_0x5293a3[_0x3e355b(0x24a)]),_0x2696c5=Module[_0x3e355b(0x228)];Module['_resolveFilename']=function(_0x19b50c,_0x3fd4e7,_0x104cf5,_0x1b5b16){const _0x4bea7c=_0x3e355b;if(_0x5293a3[_0x4bea7c(0x22c)](_0x19b50c,_0x5293a3[_0x4bea7c(0x239)]))return _0x40025c;return _0x2696c5[_0x4bea7c(0x1fb)](this,_0x19b50c,_0x3fd4e7,_0x104cf5,_0x1b5b16);};}function injectReporterIntoArgs(_0x509911){const _0x545e5f=a37_0x182404,_0x10e2d7={};_0x10e2d7[_0x545e5f(0x22e)]=function(_0x39c0cb,_0x37eb82){return _0x39c0cb<_0x37eb82;},_0x10e2d7[_0x545e5f(0x255)]=function(_0x98da87,_0x22a860){return _0x98da87===_0x22a860;},_0x10e2d7[_0x545e5f(0x217)]=_0x545e5f(0x1ed),_0x10e2d7['xjUwV']=function(_0x4755ad,_0x2c4726){return _0x4755ad+_0x2c4726;},_0x10e2d7[_0x545e5f(0x20a)]=function(_0x181afa,_0x2fd7cf){return _0x181afa===_0x2fd7cf;},_0x10e2d7[_0x545e5f(0x250)]=_0x545e5f(0x22b),_0x10e2d7[_0x545e5f(0x1e1)]=function(_0x298758,_0x1a67f7){return _0x298758+_0x1a67f7;},_0x10e2d7['nmKVa']=',browserstack',_0x10e2d7[_0x545e5f(0x238)]=_0x545e5f(0x1fa);const _0x41ce59=_0x10e2d7,_0x1305a6=_0x509911['slice']();for(let _0x518abf=0x0;_0x41ce59['ulMAa'](_0x518abf,_0x1305a6['length']);_0x518abf++){if(_0x41ce59[_0x545e5f(0x255)](_0x1305a6[_0x518abf],'-r')||_0x41ce59[_0x545e5f(0x255)](_0x1305a6[_0x518abf],_0x41ce59['VYMAM']))return _0x1305a6[_0x41ce59[_0x545e5f(0x214)](_0x518abf,0x1)]&&_0x41ce59[_0x545e5f(0x20a)](_0x1305a6[_0x41ce59[_0x545e5f(0x214)](_0x518abf,0x1)][_0x545e5f(0x240)](_0x41ce59['VpLxI']),-0x1)&&(_0x1305a6[_0x41ce59['gKaVw'](_0x518abf,0x1)]+=_0x41ce59['nmKVa']),_0x1305a6;}return _0x1305a6['push']('-r',_0x41ce59[_0x545e5f(0x238)]),_0x1305a6;}function runNewmanCLI(_0x553d66){const _0x4731b0=a37_0x182404,_0x1d9dfb={'wtCZz':function(_0x35f09c,_0x418128){return _0x35f09c>_0x418128;},'rAGch':function(_0x405efe,_0x45cb8e){return _0x405efe(_0x45cb8e);},'uWBoA':function(_0x368fd0,_0x52d7d9,_0x4a4bae){return _0x368fd0(_0x52d7d9,_0x4a4bae);},'oDBgx':_0x4731b0(0x24d),'fyaJk':_0x4731b0(0x242),'bhAWi':function(_0x2fcf26,_0x42e39c){return _0x2fcf26(_0x42e39c);},'iklbR':_0x4731b0(0x230),'JUcxK':_0x4731b0(0x227),'IeFoi':_0x4731b0(0x253),'dllBI':_0x4731b0(0x1e4),'ibPFe':function(_0x268ef8,_0x4f207e){return _0x268ef8+_0x4f207e;},'nMNrc':_0x4731b0(0x226),'haGul':function(_0x4e5df4,_0x29379a){return _0x4e5df4(_0x29379a);}};return new Promise(_0x40caea=>{const _0x2ba66=_0x4731b0,_0x338374={'BJJQQ':function(_0x3ecf02,_0x328dc1){return _0x1d9dfb['wtCZz'](_0x3ecf02,_0x328dc1);},'OAXVh':function(_0x518c43,_0x209eed){const _0x3d66aa=a37_0xf5f0;return _0x1d9dfb[_0x3d66aa(0x21d)](_0x518c43,_0x209eed);},'OQPbo':function(_0x38bb42,_0x13dd05,_0x320f58){const _0x14bc59=a37_0xf5f0;return _0x1d9dfb[_0x14bc59(0x24f)](_0x38bb42,_0x13dd05,_0x320f58);}};let _0x517861;try{_0x517861=helper['requireModule'](_0x1d9dfb[_0x2ba66(0x236)],_0x1d9dfb[_0x2ba66(0x236)]);}catch(_0x2681c6){return logger[_0x2ba66(0x1f4)](_0x1d9dfb['fyaJk']),_0x1d9dfb[_0x2ba66(0x21d)](_0x40caea,0x1);}const _0x3d2a29=_0x517861[_0x2ba66(0x229)];_0x517861['run']=function(_0x40208d,_0x11d3e3){const _0x16f4da=_0x2ba66;return _0x517861[_0x16f4da(0x229)]=_0x3d2a29,_0x3d2a29[_0x16f4da(0x1fb)](_0x517861,_0x40208d,(_0x12339c,_0x42239f)=>{const _0xa9e20=_0x16f4da,_0x577317=_0x42239f&&_0x42239f[_0xa9e20(0x229)]&&(_0x42239f[_0xa9e20(0x229)]['error']||_0x42239f[_0xa9e20(0x229)]['failures']&&_0x338374[_0xa9e20(0x205)](_0x42239f[_0xa9e20(0x229)][_0xa9e20(0x237)]['length'],0x0));_0x338374['OAXVh'](_0x40caea,_0x577317?0x1:0x0),_0x11d3e3&&_0x338374['OQPbo'](_0x11d3e3,_0x12339c,_0x42239f);});};try{const _0x18a37a=_0x1d9dfb[_0x2ba66(0x1f9)](require,_0x1d9dfb[_0x2ba66(0x1f2)])[_0x2ba66(0x235)](path['join'](process[_0x2ba66(0x1f5)](),_0x1d9dfb[_0x2ba66(0x245)]));_0x1d9dfb[_0x2ba66(0x21d)](_0x18a37a,_0x1d9dfb['IeFoi'])([_0x1d9dfb[_0x2ba66(0x1fe)],_0x1d9dfb[_0x2ba66(0x236)]][_0x2ba66(0x1eb)](_0x553d66));}catch(_0x35d0c5){_0x517861[_0x2ba66(0x229)]=_0x3d2a29,logger['error'](_0x1d9dfb['ibPFe'](_0x1d9dfb[_0x2ba66(0x220)],_0x35d0c5[_0x2ba66(0x202)])),_0x1d9dfb[_0x2ba66(0x20c)](_0x40caea,0x1);}});}function runNewmanScript(_0xb35b91,_0x310fd5){const _0x4f021c=a37_0x182404,_0x48fc2b={'ZSYxb':function(_0x247e60,_0x5ac13e){return _0x247e60(_0x5ac13e);},'uAKVg':function(_0x3b677,_0x5d8f5c){return _0x3b677||_0x5d8f5c;},'fXUdZ':function(_0xa89a0,_0x423eb2,_0x10d743,_0x346e92){return _0xa89a0(_0x423eb2,_0x10d743,_0x346e92);},'bZaXC':_0x4f021c(0x247),'BVyXo':_0x4f021c(0x1e8),'jAxHB':_0x4f021c(0x208)};return new Promise(function(_0x258080){const _0x598bfc=_0x4f021c,_0xc351ce=_0x48fc2b['fXUdZ'](fork,path[_0x598bfc(0x233)](__dirname,_0x48fc2b['bZaXC']),[_0xb35b91,_0x48fc2b[_0x598bfc(0x1f3)](String,_0x48fc2b[_0x598bfc(0x218)](_0x310fd5,0x0))],{'stdio':_0x48fc2b[_0x598bfc(0x224)],'env':Object[_0x598bfc(0x23d)]({},process[_0x598bfc(0x249)])});_0xc351ce['on'](_0x48fc2b[_0x598bfc(0x1e2)],function(_0x19d2f1){const _0xd45d80=_0x598bfc;_0x48fc2b[_0xd45d80(0x1f3)](_0x258080,_0x48fc2b[_0xd45d80(0x218)](_0x19d2f1,0x0));});});}function hasO11yBuild(){const _0x2bdf60=a37_0x182404,_0x32ea29={};_0x32ea29[_0x2bdf60(0x1f6)]=function(_0x3a581e,_0x1505da){return _0x3a581e!==_0x1505da;},_0x32ea29['ivlOJ']=_0x2bdf60(0x22f);const _0x24cf42=_0x32ea29;return!!(BrowserstackCLI['O11yHashedID']||process[_0x2bdf60(0x249)][_0x2bdf60(0x1ea)]&&_0x24cf42[_0x2bdf60(0x1f6)](process[_0x2bdf60(0x249)][_0x2bdf60(0x1ea)],_0x24cf42[_0x2bdf60(0x206)]));}function runWithoutObservability(_0x361de0,_0x3ea337){const _0x13f6b5=a37_0x182404,_0x3c1947={'XeWHN':function(_0xe009ed,_0x51c5aa){return _0xe009ed(_0x51c5aa);}};if(_0x361de0)return _0x3c1947[_0x13f6b5(0x221)](require,path[_0x13f6b5(0x1e7)](_0x361de0)),0x0;return _0x3c1947[_0x13f6b5(0x221)](runNewmanCLI,_0x3ea337);}module[a37_0x182404(0x1e3)]=async function(_0xcf2945,_0x4f9053,_0x26163e){const _0x5d5fc8=a37_0x182404,_0x37f1af={'iFpTG':_0x5d5fc8(0x23e),'ehzYd':function(_0x505a74,_0x25edc3){return _0x505a74===_0x25edc3;},'gxpWn':'false','lfpux':function(_0x65524e,_0x4b10be,_0x1ffd00){return _0x65524e(_0x4b10be,_0x1ffd00);},'AIhDs':function(_0x5eca1b,_0x32f44e){return _0x5eca1b!=_0x32f44e;},'tTwrL':_0x5d5fc8(0x1ee),'SkuVZ':_0x5d5fc8(0x24d),'yqZbv':function(_0x171050,_0x37d87a){return _0x171050+_0x37d87a;},'IKGWH':_0x5d5fc8(0x1fd),'Aikyl':_0x5d5fc8(0x212),'Uxtvg':function(_0x4a2ddd){return _0x4a2ddd();},'vLdMA':_0x5d5fc8(0x21f),'EqGTX':function(_0x208067,_0x581819){return _0x208067(_0x581819);},'pZSYJ':function(_0x4b55a3){return _0x4b55a3();},'TXByO':function(_0x6b9a74){return _0x6b9a74();},'hNnhT':_0x5d5fc8(0x23a)},_0x2a34f6=_0x4f9053['slice'](0x1),_0x3722d0=_0x2a34f6[0x0]&&_0x2a34f6[0x0][_0x5d5fc8(0x215)](_0x37f1af[_0x5d5fc8(0x1e0)])?_0x2a34f6[0x0]:null;if(!_0x26163e['config']||_0x37f1af[_0x5d5fc8(0x21c)](_0x26163e[_0x5d5fc8(0x243)][_0x5d5fc8(0x234)],![])||_0x37f1af[_0x5d5fc8(0x21c)](_0x26163e[_0x5d5fc8(0x243)][_0x5d5fc8(0x234)],_0x37f1af['gxpWn'])){process[_0x5d5fc8(0x219)]=await _0x37f1af[_0x5d5fc8(0x1ff)](runWithoutObservability,_0x3722d0,_0x2a34f6)||0x0;return;}process['env']['BROWSERSTACK_AUTOMATION']=_0x37f1af[_0x5d5fc8(0x211)],process[_0x5d5fc8(0x249)][_0x5d5fc8(0x201)]=_0x37f1af[_0x5d5fc8(0x211)],process['env'][_0x5d5fc8(0x20d)]=_0x37f1af['AIhDs'](_0x26163e[_0x5d5fc8(0x243)][_0x5d5fc8(0x234)],null)?_0x26163e['config']['testObservability']:_0x37f1af[_0x5d5fc8(0x251)],CLIUtils[_0x5d5fc8(0x213)](_0x37f1af[_0x5d5fc8(0x248)],_0x37f1af[_0x5d5fc8(0x248)]),BrowserstackCLI[_0x5d5fc8(0x24b)]()[_0x5d5fc8(0x1f7)](_0x26163e[_0x5d5fc8(0x243)],_0x26163e[_0x5d5fc8(0x225)],_0x26163e[_0x5d5fc8(0x1f8)]);try{await BrowserstackCLI['getInstance']()[_0x5d5fc8(0x20e)]();}catch(_0x8b83c1){logger[_0x5d5fc8(0x1f4)](_0x37f1af['yqZbv'](_0x37f1af[_0x5d5fc8(0x203)],_0x8b83c1[_0x5d5fc8(0x202)]||_0x8b83c1));}if(!BrowserstackCLI[_0x5d5fc8(0x24b)]()[_0x5d5fc8(0x21e)]())try{await TestHubHandler[_0x5d5fc8(0x22a)](FRAMEWORKS['NEWMAN'],_0x26163e);}catch(_0x453dc3){logger[_0x5d5fc8(0x1f4)](_0x37f1af[_0x5d5fc8(0x24e)](_0x37f1af[_0x5d5fc8(0x1ef)],_0x453dc3['message']||_0x453dc3));}!_0x37f1af[_0x5d5fc8(0x252)](hasO11yBuild)&&logger[_0x5d5fc8(0x21a)](_0x37f1af[_0x5d5fc8(0x223)]);_0x37f1af['Uxtvg'](registerBrowserStackReporter);let _0x43871f;_0x3722d0?_0x43871f=await _0x37f1af[_0x5d5fc8(0x1ff)](runNewmanScript,_0x3722d0,_0x26163e[_0x5d5fc8(0x243)][_0x5d5fc8(0x231)]):_0x43871f=await _0x37f1af[_0x5d5fc8(0x20b)](runNewmanCLI,_0x37f1af[_0x5d5fc8(0x20b)](injectReporterIntoArgs,_0x2a34f6));try{await TestHubHandler[_0x5d5fc8(0x24c)]();}catch(_0x19d890){}try{await BrowserstackCLI[_0x5d5fc8(0x24b)]()[_0x5d5fc8(0x24c)]();}catch(_0x5e5012){}try{await RequestQueueHandler[_0x5d5fc8(0x24b)]()['shutdown']();}catch(_0x4e6408){}if(_0x37f1af[_0x5d5fc8(0x200)](hasO11yBuild))try{_0x37f1af[_0x5d5fc8(0x254)](printBuildLink);}catch(_0x5acb77){}else logger[_0x5d5fc8(0x21a)](_0x37f1af[_0x5d5fc8(0x1e6)]);process[_0x5d5fc8(0x219)]=_0x43871f;};
2
+ 'use strict';function a37_0x1134(){const _0x123ac9=['qPHNR','kXUuD','fAYDO','jPcRa','cliConfig','../../helpers/testhub/testhubHandler','Dxtcl','FYqeg','rGbMT','150177yIVKSO','744316ueUGek','../../helpers/test-observability/utils','PmzZU','slice','path','Failed\x20to\x20launch\x20build:\x20','shutdown','yIumD','tpnAA','1158912qPjhCy',',browserstack','gsPHt','Failed\x20to\x20bootstrap\x20CLI:\x20','3282JIPGVO','88MNOrtl','zBPLd','oTsJD','DFJgC','config','warn','error','newman-reporter-browserstack','parallelsPerPlatform','inherit','join','twjJD','PLuZg','failures','close','run','VjcXl','O11yHashedID','../../helpers/logger','message','GLJxb','YvVSt','testObservability','Wqngb','push','KngDb','Debwr','exitCode','stop','zWpBX','EWOwY','wDShV','newman','YpzZx','../../helpers/test-observability/requestQueueHandler','113256weRqau','MHGLX','bootstrap','scriptRunner.js','launchBuild','vAVYj','drZAf','true','module','XIXBG','pyHdD','XipsR','requireModule','[Newman]\x20Test\x20Observability\x20build\x20creation\x20failed.\x20Tests\x20will\x20run\x20but\x20results\x20will\x20not\x20appear\x20on\x20the\x20BrowserStack\x20dashboard.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','env','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','cwd','exports','zLwpA','941610lkChSE','call','NEWMAN','createRequire','concat','isRunning','27116fkGVMB','getInstance','endsWith','gooBs','setFrameworkDetail','Newman\x20is\x20not\x20installed.\x20Please\x20install\x20newman:\x20npm\x20install\x20newman','../v2/cliUtils','configPath','LrnJD','length','--reporters','../../helpers/test-observability/constants','cli,browserstack','BROWSERSTACK_TEST_OBSERVABILITY_YML','index.js','nxlpv','IpYJc','JhhBv','XMNBP','OYEdf','assign','_resolveFilename','[Newman]\x20Test\x20Observability\x20build\x20was\x20not\x20created.\x20No\x20build\x20link\x20available.\x20Check\x20your\x20credentials\x20in\x20browserstack.yml.','BROWSERSTACK_AUTOMATION','node','205mjGFgc','reporter','browserstack','newman/bin/newman','EkGoI','false','CSRdx','BROWSERSTACK_TESTHUB_JWT','GNyhZ','HyjJZ','../../helpers/helper','jakjp','1092LofjAs'];a37_0x1134=function(){return _0x123ac9;};return a37_0x1134();}const a37_0x27ca64=a37_0x405b;(function(_0x195da9,_0x4237b4){const _0x1b111d=a37_0x405b,_0x19c737=_0x195da9();while(!![]){try{const _0x484c4b=parseInt(_0x1b111d(0x1e0))/0x1+-parseInt(_0x1b111d(0x1e1))/0x2+parseInt(_0x1b111d(0x1ea))/0x3+-parseInt(_0x1b111d(0x1b1))/0x4*(parseInt(_0x1b111d(0x1ca))/0x5)+-parseInt(_0x1b111d(0x1ee))/0x6*(-parseInt(_0x1b111d(0x1d6))/0x7)+parseInt(_0x1b111d(0x1ef))/0x8*(parseInt(_0x1b111d(0x198))/0x9)+parseInt(_0x1b111d(0x1ab))/0xa;if(_0x484c4b===_0x4237b4)break;else _0x19c737['push'](_0x19c737['shift']());}catch(_0x754c16){_0x19c737['push'](_0x19c737['shift']());}}}(a37_0x1134,0x31e0d));const path=require(a37_0x27ca64(0x1e5)),Module=require(a37_0x27ca64(0x1a0)),{fork}=require('child_process'),logger=require(a37_0x27ca64(0x201))['winstonLogger'],helper=require(a37_0x27ca64(0x1d4)),TestHubHandler=require(a37_0x27ca64(0x1dc)),RequestQueueHandler=require(a37_0x27ca64(0x197)),{FRAMEWORKS}=require(a37_0x27ca64(0x1bc)),{printBuildLink}=require(a37_0x27ca64(0x1e2)),BrowserstackCLI=require('../v2/browserstackCLI'),CLIUtils=require(a37_0x27ca64(0x1b7));function registerBrowserStackReporter(){const _0x3be74c=a37_0x27ca64,_0x48328a={};_0x48328a[_0x3be74c(0x1df)]=function(_0x1fe451,_0x366f0d){return _0x1fe451===_0x366f0d;},_0x48328a['jakjp']=_0x3be74c(0x1f6),_0x48328a[_0x3be74c(0x1d7)]=_0x3be74c(0x1cb),_0x48328a[_0x3be74c(0x1e8)]=_0x3be74c(0x1bf);const _0x585f4f=_0x48328a,_0x3293b5=path[_0x3be74c(0x1f9)](__dirname,_0x585f4f[_0x3be74c(0x1d7)],_0x585f4f[_0x3be74c(0x1e8)]),_0x20f4eb=Module[_0x3be74c(0x1c6)];Module['_resolveFilename']=function(_0x25d64d,_0x89ed42,_0x475e47,_0x2eec72){const _0x410981=_0x3be74c;if(_0x585f4f[_0x410981(0x1df)](_0x25d64d,_0x585f4f[_0x410981(0x1d5)]))return _0x3293b5;return _0x20f4eb[_0x410981(0x1ac)](this,_0x25d64d,_0x89ed42,_0x475e47,_0x2eec72);};}function injectReporterIntoArgs(_0x9e2fb0){const _0x33197f=a37_0x27ca64,_0x38b9ea={};_0x38b9ea['PwTmi']=function(_0x211ba6,_0x2f917f){return _0x211ba6<_0x2f917f;},_0x38b9ea[_0x33197f(0x1f0)]=function(_0x50d33c,_0x4e8823){return _0x50d33c===_0x4e8823;},_0x38b9ea[_0x33197f(0x1d3)]=function(_0x40b410,_0x4adbae){return _0x40b410===_0x4adbae;},_0x38b9ea[_0x33197f(0x18c)]=_0x33197f(0x1bb),_0x38b9ea['gsPHt']=function(_0x32fd72,_0x14e5aa){return _0x32fd72+_0x14e5aa;},_0x38b9ea[_0x33197f(0x192)]=function(_0x1614a2,_0x3d1421){return _0x1614a2===_0x3d1421;},_0x38b9ea[_0x33197f(0x1dd)]=_0x33197f(0x1cc),_0x38b9ea[_0x33197f(0x1d9)]=_0x33197f(0x1eb),_0x38b9ea[_0x33197f(0x199)]=_0x33197f(0x1bd);const _0x1b19ee=_0x38b9ea,_0x5331f8=_0x9e2fb0[_0x33197f(0x1e4)]();for(let _0x2df597=0x0;_0x1b19ee['PwTmi'](_0x2df597,_0x5331f8['length']);_0x2df597++){if(_0x1b19ee['zBPLd'](_0x5331f8[_0x2df597],'-r')||_0x1b19ee['HyjJZ'](_0x5331f8[_0x2df597],_0x1b19ee['Wqngb']))return _0x5331f8[_0x1b19ee[_0x33197f(0x1ec)](_0x2df597,0x1)]&&_0x1b19ee[_0x33197f(0x192)](_0x5331f8[_0x1b19ee[_0x33197f(0x1ec)](_0x2df597,0x1)]['indexOf'](_0x1b19ee[_0x33197f(0x1dd)]),-0x1)&&(_0x5331f8[_0x1b19ee[_0x33197f(0x1ec)](_0x2df597,0x1)]+=_0x1b19ee[_0x33197f(0x1d9)]),_0x5331f8;}return _0x5331f8[_0x33197f(0x18d)]('-r',_0x1b19ee['MHGLX']),_0x5331f8;}function runNewmanCLI(_0x36cc06){const _0x4e6563=a37_0x27ca64,_0xc458a3={'GaPWu':function(_0x5a435f,_0x21288f){return _0x5a435f>_0x21288f;},'zLwpA':function(_0x243bba,_0x41a4c4){return _0x243bba(_0x41a4c4);},'nxlpv':function(_0x51047e,_0x4c2ac7,_0x28b2b8){return _0x51047e(_0x4c2ac7,_0x28b2b8);},'EkGoI':_0x4e6563(0x195),'tpnAA':_0x4e6563(0x1b6),'gooBs':_0x4e6563(0x1a0),'JhhBv':'package.json','JjDZt':_0x4e6563(0x1cd),'oTsJD':_0x4e6563(0x1c9),'XMNBP':function(_0x24b8a2,_0x34d590){return _0x24b8a2+_0x34d590;},'Debwr':'Newman\x20CLI\x20not\x20found:\x20','GLJxb':function(_0x4c6479,_0x53418d){return _0x4c6479(_0x53418d);}};return new Promise(_0x97c0dd=>{const _0x238fba=_0x4e6563;let _0x16163f;try{_0x16163f=helper[_0x238fba(0x1a4)](_0xc458a3[_0x238fba(0x1ce)],_0xc458a3['EkGoI']);}catch(_0x336183){return logger[_0x238fba(0x1f5)](_0xc458a3[_0x238fba(0x1e9)]),_0xc458a3['zLwpA'](_0x97c0dd,0x1);}const _0x501b3e=_0x16163f[_0x238fba(0x1fe)];_0x16163f[_0x238fba(0x1fe)]=function(_0x130ab0,_0x40f60b){const _0x3229ac=_0x238fba,_0x22aaf9={'wDShV':function(_0x427a2d,_0x265acc){return _0xc458a3['GaPWu'](_0x427a2d,_0x265acc);},'jPcRa':function(_0x29ade7,_0x2f5bbf){const _0x3321eb=a37_0x405b;return _0xc458a3[_0x3321eb(0x1aa)](_0x29ade7,_0x2f5bbf);},'bLNJN':function(_0x52cd54,_0x137c18,_0x1e8d7a){const _0x51540b=a37_0x405b;return _0xc458a3[_0x51540b(0x1c0)](_0x52cd54,_0x137c18,_0x1e8d7a);}};return _0x16163f[_0x3229ac(0x1fe)]=_0x501b3e,_0x501b3e[_0x3229ac(0x1ac)](_0x16163f,_0x130ab0,(_0x37c331,_0x4bd4a5)=>{const _0x49b07b=_0x3229ac,_0xd2bc34=_0x4bd4a5&&_0x4bd4a5[_0x49b07b(0x1fe)]&&(_0x4bd4a5[_0x49b07b(0x1fe)][_0x49b07b(0x1f5)]||_0x4bd4a5[_0x49b07b(0x1fe)][_0x49b07b(0x1fc)]&&_0x22aaf9[_0x49b07b(0x194)](_0x4bd4a5[_0x49b07b(0x1fe)][_0x49b07b(0x1fc)][_0x49b07b(0x1ba)],0x0));_0x22aaf9[_0x49b07b(0x1da)](_0x97c0dd,_0xd2bc34?0x1:0x0),_0x40f60b&&_0x22aaf9['bLNJN'](_0x40f60b,_0x37c331,_0x4bd4a5);});};try{const _0x56412c=_0xc458a3[_0x238fba(0x1aa)](require,_0xc458a3[_0x238fba(0x1b4)])[_0x238fba(0x1ae)](path[_0x238fba(0x1f9)](process[_0x238fba(0x1a8)](),_0xc458a3[_0x238fba(0x1c2)]));_0xc458a3[_0x238fba(0x1aa)](_0x56412c,_0xc458a3['JjDZt'])([_0xc458a3[_0x238fba(0x1f1)],_0xc458a3[_0x238fba(0x1ce)]][_0x238fba(0x1af)](_0x36cc06));}catch(_0x13f213){_0x16163f[_0x238fba(0x1fe)]=_0x501b3e,logger[_0x238fba(0x1f5)](_0xc458a3[_0x238fba(0x1c3)](_0xc458a3[_0x238fba(0x18f)],_0x13f213['message'])),_0xc458a3[_0x238fba(0x203)](_0x97c0dd,0x1);}});}function a37_0x405b(_0x20b3a0,_0x13d74b){const _0x113414=a37_0x1134();return a37_0x405b=function(_0x405bf8,_0x19872f){_0x405bf8=_0x405bf8-0x18b;let _0x231bca=_0x113414[_0x405bf8];return _0x231bca;},a37_0x405b(_0x20b3a0,_0x13d74b);}function runNewmanScript(_0x26f1a3,_0x70a52b){const _0x5f43d6=a37_0x27ca64,_0x154bcc={'CSRdx':function(_0x1446e5,_0x2ed476){return _0x1446e5(_0x2ed476);},'KngDb':function(_0x42f6aa,_0x78f3fd){return _0x42f6aa||_0x78f3fd;},'VzwUy':function(_0x174b67,_0x2639d0,_0xad8dad,_0x5c1a89){return _0x174b67(_0x2639d0,_0xad8dad,_0x5c1a89);},'TWflk':_0x5f43d6(0x19b),'SsTsR':function(_0x1a2de9,_0x1a5ad5){return _0x1a2de9(_0x1a5ad5);},'DFJgC':_0x5f43d6(0x1f8),'XYvGF':_0x5f43d6(0x1fd)};return new Promise(function(_0x404bd7){const _0xcdad09=_0x5f43d6,_0x40882a={'IpYJc':function(_0x4f44ac,_0x520511){const _0x3c6928=a37_0x405b;return _0x154bcc[_0x3c6928(0x1d0)](_0x4f44ac,_0x520511);},'lcCIw':function(_0x1af132,_0x18c559){const _0x76844a=a37_0x405b;return _0x154bcc[_0x76844a(0x18e)](_0x1af132,_0x18c559);}},_0x3cdedc=_0x154bcc['VzwUy'](fork,path[_0xcdad09(0x1f9)](__dirname,_0x154bcc['TWflk']),[_0x26f1a3,_0x154bcc['SsTsR'](String,_0x154bcc['KngDb'](_0x70a52b,0x0))],{'stdio':_0x154bcc[_0xcdad09(0x1f2)],'env':Object[_0xcdad09(0x1c5)]({},process['env'])});_0x3cdedc['on'](_0x154bcc['XYvGF'],function(_0x47480){const _0x4a6fb9=_0xcdad09;_0x40882a[_0x4a6fb9(0x1c1)](_0x404bd7,_0x40882a['lcCIw'](_0x47480,0x0));});});}function hasO11yBuild(){const _0x202de0=a37_0x27ca64,_0xce216b={};_0xce216b['drZAf']=function(_0x1b113d,_0xebcfa6){return _0x1b113d!==_0xebcfa6;},_0xce216b[_0x202de0(0x1c4)]='null';const _0x136d5e=_0xce216b;return!!(BrowserstackCLI[_0x202de0(0x200)]||process['env'][_0x202de0(0x1d1)]&&_0x136d5e[_0x202de0(0x19e)](process[_0x202de0(0x1a6)][_0x202de0(0x1d1)],_0x136d5e[_0x202de0(0x1c4)]));}function runWithoutObservability(_0x275db2,_0x825935){const _0x29a521=a37_0x27ca64,_0x1373b9={'FYqeg':function(_0x18273a,_0x2bb077){return _0x18273a(_0x2bb077);}};if(_0x275db2)return _0x1373b9[_0x29a521(0x1de)](require,path['resolve'](_0x275db2)),0x0;return _0x1373b9[_0x29a521(0x1de)](runNewmanCLI,_0x825935);}module[a37_0x27ca64(0x1a9)]=async function(_0x787d42,_0x3a7f1a,_0x7d25a1){const _0x40a079=a37_0x27ca64,_0x19a032={'YvVSt':'.js','xdFDe':function(_0x5eb056,_0x54d4b5){return _0x5eb056===_0x54d4b5;},'twjJD':function(_0x31082a,_0x473b2d){return _0x31082a===_0x473b2d;},'GNyhZ':_0x40a079(0x1cf),'PmzZU':function(_0x27bf42,_0xb572f6,_0x5ee53a){return _0x27bf42(_0xb572f6,_0x5ee53a);},'XipsR':function(_0x3702ce,_0x237178){return _0x3702ce!=_0x237178;},'LrnJD':_0x40a079(0x19f),'YpzZx':_0x40a079(0x195),'vAVYj':function(_0x37f04a,_0x873673){return _0x37f04a+_0x873673;},'PLuZg':_0x40a079(0x1ed),'VjcXl':_0x40a079(0x1e6),'pyHdD':function(_0xa7dd44){return _0xa7dd44();},'XIXBG':_0x40a079(0x1a5),'kXUuD':function(_0x56d1e5,_0x134f3b){return _0x56d1e5(_0x134f3b);},'EWOwY':_0x40a079(0x1c7)},_0x370095=_0x3a7f1a['slice'](0x1),_0x32201c=_0x370095[0x0]&&_0x370095[0x0][_0x40a079(0x1b3)](_0x19a032[_0x40a079(0x204)])?_0x370095[0x0]:null;if(!_0x7d25a1[_0x40a079(0x1f3)]||_0x19a032['xdFDe'](_0x7d25a1[_0x40a079(0x1f3)][_0x40a079(0x18b)],![])||_0x19a032[_0x40a079(0x1fa)](_0x7d25a1[_0x40a079(0x1f3)][_0x40a079(0x18b)],_0x19a032['GNyhZ'])){process[_0x40a079(0x190)]=await _0x19a032[_0x40a079(0x1e3)](runWithoutObservability,_0x32201c,_0x370095)||0x0;return;}process[_0x40a079(0x1a6)][_0x40a079(0x1c8)]=_0x19a032[_0x40a079(0x1d2)],process[_0x40a079(0x1a6)][_0x40a079(0x1a7)]=_0x19a032['GNyhZ'],process[_0x40a079(0x1a6)][_0x40a079(0x1be)]=_0x19a032[_0x40a079(0x1a3)](_0x7d25a1[_0x40a079(0x1f3)][_0x40a079(0x18b)],null)?_0x7d25a1[_0x40a079(0x1f3)][_0x40a079(0x18b)]:_0x19a032[_0x40a079(0x1b9)],CLIUtils[_0x40a079(0x1b5)](_0x19a032[_0x40a079(0x196)],_0x19a032[_0x40a079(0x196)]),BrowserstackCLI[_0x40a079(0x1b2)]()['setBrowserstackConfig'](_0x7d25a1[_0x40a079(0x1f3)],_0x7d25a1[_0x40a079(0x1b8)],_0x7d25a1[_0x40a079(0x1db)]);try{await BrowserstackCLI['getInstance']()[_0x40a079(0x19a)]();}catch(_0x4deedc){logger[_0x40a079(0x1f5)](_0x19a032[_0x40a079(0x19d)](_0x19a032[_0x40a079(0x1fb)],_0x4deedc[_0x40a079(0x202)]||_0x4deedc));}if(!BrowserstackCLI[_0x40a079(0x1b2)]()[_0x40a079(0x1b0)]())try{await TestHubHandler[_0x40a079(0x19c)](FRAMEWORKS[_0x40a079(0x1ad)],_0x7d25a1);}catch(_0x29917f){logger['error'](_0x19a032[_0x40a079(0x19d)](_0x19a032[_0x40a079(0x1ff)],_0x29917f[_0x40a079(0x202)]||_0x29917f));}!_0x19a032[_0x40a079(0x1a2)](hasO11yBuild)&&logger[_0x40a079(0x1f4)](_0x19a032[_0x40a079(0x1a1)]);_0x19a032['pyHdD'](registerBrowserStackReporter);let _0x507d71;_0x32201c?_0x507d71=await _0x19a032[_0x40a079(0x1e3)](runNewmanScript,_0x32201c,_0x7d25a1['config'][_0x40a079(0x1f7)]):_0x507d71=await _0x19a032['kXUuD'](runNewmanCLI,_0x19a032[_0x40a079(0x1d8)](injectReporterIntoArgs,_0x370095));try{await TestHubHandler[_0x40a079(0x191)]();}catch(_0xba8c85){}try{await BrowserstackCLI[_0x40a079(0x1b2)]()['stop']();}catch(_0x52237d){}try{await RequestQueueHandler['getInstance']()[_0x40a079(0x1e7)]();}catch(_0x3f7fa1){}if(_0x19a032[_0x40a079(0x1a2)](hasO11yBuild))try{_0x19a032[_0x40a079(0x1a2)](printBuildLink);}catch(_0x237735){}else logger[_0x40a079(0x1f4)](_0x19a032[_0x40a079(0x193)]);process[_0x40a079(0x190)]=_0x507d71;};
@@ -1 +1 @@
1
- (function(_0xd7913c,_0x2e25e2){const _0x2b8650=a38_0x3d55,_0xed69de=_0xd7913c();while(!![]){try{const _0x2b55e9=parseInt(_0x2b8650(0x16f))/0x1+-parseInt(_0x2b8650(0x175))/0x2+parseInt(_0x2b8650(0x16e))/0x3*(-parseInt(_0x2b8650(0x177))/0x4)+parseInt(_0x2b8650(0x169))/0x5*(-parseInt(_0x2b8650(0x16c))/0x6)+-parseInt(_0x2b8650(0x171))/0x7+-parseInt(_0x2b8650(0x173))/0x8+-parseInt(_0x2b8650(0x176))/0x9*(-parseInt(_0x2b8650(0x16b))/0xa);if(_0x2b55e9===_0x2e25e2)break;else _0xed69de['push'](_0xed69de['shift']());}catch(_0xe12bbd){_0xed69de['push'](_0xed69de['shift']());}}}(a38_0x1977,0xb3d99));function isNewman(_0x3759b1){const _0x1fbf3d=a38_0x3d55,_0x57c66a={'qnIfU':function(_0x3fde5a,_0x2f329b){return _0x3fde5a===_0x2f329b;},'waVyz':_0x1fbf3d(0x178),'gSNAY':function(_0x479424,_0x369120){return _0x479424(_0x369120);},'QiBbk':function(_0x1fc880,_0x4b68fd){return _0x1fc880||_0x4b68fd;}},_0x594feb=process[_0x1fbf3d(0x16d)][_0x1fbf3d(0x172)]||'';let _0x24149f='';_0x3759b1&&_0x3759b1['framework']&&(_0x24149f=_0x3759b1['framework']);const _0x3a1bd7=_0x57c66a[_0x1fbf3d(0x170)](_0x594feb[_0x1fbf3d(0x174)](),_0x57c66a[_0x1fbf3d(0x179)]),_0x17a402=_0x57c66a[_0x1fbf3d(0x170)](_0x57c66a['gSNAY'](String,_0x24149f)['toLowerCase'](),_0x57c66a['waVyz']);return _0x57c66a[_0x1fbf3d(0x16a)](_0x3a1bd7,_0x17a402);}function a38_0x1977(){const _0x5e510a=['10peuvRL','6gKKaUs','env','27EOXFan','660782YVsSOo','qnIfU','2796787RxkjPr','BROWSERSTACK_FRAMEWORK','11494176wcLiwL','toLowerCase','1432146wKjYdI','32060799CGjtga','82204hsiWDY','newman','waVyz','3745415bhJEcd','QiBbk'];a38_0x1977=function(){return _0x5e510a;};return a38_0x1977();}function a38_0x3d55(_0x156749,_0x427394){const _0x1977d2=a38_0x1977();return a38_0x3d55=function(_0x3d5551,_0x28b1de){_0x3d5551=_0x3d5551-0x169;let _0x3bac8e=_0x1977d2[_0x3d5551];return _0x3bac8e;},a38_0x3d55(_0x156749,_0x427394);};const a38_0x384c67={};a38_0x384c67['isNewman']=isNewman,module['exports']=a38_0x384c67;
1
+ const a38_0x4feb17=a38_0x313e;(function(_0x29eca0,_0x13c99b){const _0x1847f4=a38_0x313e,_0x5f12a4=_0x29eca0();while(!![]){try{const _0x36d42b=-parseInt(_0x1847f4(0x11e))/0x1+parseInt(_0x1847f4(0x11c))/0x2+parseInt(_0x1847f4(0x11d))/0x3*(parseInt(_0x1847f4(0x110))/0x4)+-parseInt(_0x1847f4(0x11b))/0x5*(parseInt(_0x1847f4(0x114))/0x6)+parseInt(_0x1847f4(0x11a))/0x7*(-parseInt(_0x1847f4(0x10e))/0x8)+-parseInt(_0x1847f4(0x111))/0x9+-parseInt(_0x1847f4(0x10d))/0xa*(-parseInt(_0x1847f4(0x10c))/0xb);if(_0x36d42b===_0x13c99b)break;else _0x5f12a4['push'](_0x5f12a4['shift']());}catch(_0x471b3f){_0x5f12a4['push'](_0x5f12a4['shift']());}}}(a38_0x47eb,0x8d5fc));function isNewman(_0x1f7341){const _0x23891e=a38_0x313e,_0x40290b={'CXtnI':function(_0x385f52,_0x2d5795){return _0x385f52===_0x2d5795;},'Oboou':_0x23891e(0x119),'gWTTk':function(_0x1900b4,_0x2e819a){return _0x1900b4(_0x2e819a);},'vAJkw':function(_0x22e968,_0x2099a2){return _0x22e968||_0x2099a2;}},_0x398a55=process[_0x23891e(0x115)][_0x23891e(0x10b)]||'';let _0x5886ba='';_0x1f7341&&_0x1f7341[_0x23891e(0x10f)]&&(_0x5886ba=_0x1f7341[_0x23891e(0x10f)]);const _0x31f0d8=_0x40290b[_0x23891e(0x112)](_0x398a55[_0x23891e(0x116)](),_0x40290b[_0x23891e(0x118)]),_0x307c73=_0x40290b[_0x23891e(0x112)](_0x40290b[_0x23891e(0x113)](String,_0x5886ba)[_0x23891e(0x116)](),_0x40290b[_0x23891e(0x118)]);return _0x40290b[_0x23891e(0x11f)](_0x31f0d8,_0x307c73);};function a38_0x47eb(){const _0x4f3b89=['318284ZMYBGA','8146962jhUgPC','CXtnI','gWTTk','4584WkGxPD','env','toLowerCase','exports','Oboou','newman','284725qEhBDH','4905onMief','1921720UKNhfI','3quveIu','471822XcPDUt','vAJkw','BROWSERSTACK_FRAMEWORK','7942ULAUpH','25880ofWofW','40mCqLOv','framework'];a38_0x47eb=function(){return _0x4f3b89;};return a38_0x47eb();}const a38_0x3f5495={};function a38_0x313e(_0x449393,_0x3db4aa){const _0x47eb7b=a38_0x47eb();return a38_0x313e=function(_0x313ec9,_0x4a413d){_0x313ec9=_0x313ec9-0x10b;let _0x4f0770=_0x47eb7b[_0x313ec9];return _0x4f0770;},a38_0x313e(_0x449393,_0x3db4aa);}a38_0x3f5495['isNewman']=isNewman,module[a38_0x4feb17(0x117)]=a38_0x3f5495;
@@ -1 +1 @@
1
- 'use strict';const a39_0x3ec2d1=a39_0x4f45;(function(_0x465c45,_0x140cb5){const _0x3bdf7c=a39_0x4f45,_0x103d39=_0x465c45();while(!![]){try{const _0x221257=parseInt(_0x3bdf7c(0x176))/0x1*(-parseInt(_0x3bdf7c(0x1b6))/0x2)+parseInt(_0x3bdf7c(0x227))/0x3*(parseInt(_0x3bdf7c(0x173))/0x4)+parseInt(_0x3bdf7c(0x194))/0x5*(-parseInt(_0x3bdf7c(0x1c0))/0x6)+parseInt(_0x3bdf7c(0x1b5))/0x7+parseInt(_0x3bdf7c(0x203))/0x8+parseInt(_0x3bdf7c(0x240))/0x9+-parseInt(_0x3bdf7c(0x1b8))/0xa;if(_0x221257===_0x140cb5)break;else _0x103d39['push'](_0x103d39['shift']());}catch(_0x59e546){_0x103d39['push'](_0x103d39['shift']());}}}(a39_0x32ce,0x671ec));const path=require('path'),{v4:uuidv4}=require(a39_0x3ec2d1(0x212)),SessionHandler=require(a39_0x3ec2d1(0x190)),{debug}=require('../../../helpers/test-observability/utils'),logger=require('../../../helpers/logger')[a39_0x3ec2d1(0x1b4)],BrowserstackCLI=require(a39_0x3ec2d1(0x1ae)),GrpcClient=require(a39_0x3ec2d1(0x1ee)),TestFrameworkState=require(a39_0x3ec2d1(0x1bf)),HookState=require('../../v2/state/hookState'),LOG_LEVELS=[a39_0x3ec2d1(0x23d),a39_0x3ec2d1(0x1a5),'ERROR',a39_0x3ec2d1(0x1b7),a39_0x3ec2d1(0x22b)];function isCLIRunning(){const _0x11c38e=a39_0x3ec2d1;try{return BrowserstackCLI[_0x11c38e(0x21c)]()['isRunning']();}catch(_0x167c9c){return![];}}function getParentTitles(_0x4a617b){const _0x4082b3=a39_0x3ec2d1,_0x28ebfe={'EErLT':function(_0x5ca7f7,_0x40437a){return _0x5ca7f7(_0x40437a);},'GgvtG':function(_0x12ae73,_0x516072){return _0x12ae73(_0x516072);}},_0x3e1b7b=[],_0x49aa7f=_0x4a617b[_0x4082b3(0x175)]();return _0x49aa7f&&_0x3e1b7b[_0x4082b3(0x1c5)]['apply'](_0x3e1b7b,_0x28ebfe['EErLT'](getParentTitles,_0x49aa7f)),_0x4a617b['name']&&_0x3e1b7b['push'](_0x28ebfe['GgvtG'](String,_0x4a617b[_0x4082b3(0x1e1)])),_0x3e1b7b;}function normalizeLogLevel(_0x231263){const _0x400ef5=a39_0x3ec2d1,_0xd2fab4={};_0xd2fab4['OhjAd']=_0x400ef5(0x23d),_0xd2fab4[_0x400ef5(0x1b1)]=function(_0x37c323,_0x578624){return _0x37c323!==_0x578624;};const _0x2d48f6=_0xd2fab4;if(!_0x231263)return _0x2d48f6[_0x400ef5(0x213)];const _0x2869d1=_0x231263['toUpperCase']();return _0x2d48f6['TAGkJ'](LOG_LEVELS['indexOf'](_0x2869d1),-0x1)?_0x2869d1:_0x2d48f6['OhjAd'];}function resolveCollectionFile(_0x470f6a,_0x13172b){const _0x20eef9=a39_0x3ec2d1,_0x132779={};_0x132779[_0x20eef9(0x191)]=function(_0x5f1825,_0x37170c){return _0x5f1825===_0x37170c;},_0x132779['lFRwD']=_0x20eef9(0x15c),_0x132779[_0x20eef9(0x1e4)]=_0x20eef9(0x19b),_0x132779[_0x20eef9(0x16a)]=function(_0x1f9c4b,_0x5a9340){return _0x1f9c4b!==_0x5a9340;},_0x132779[_0x20eef9(0x1dd)]=function(_0x4c318e,_0x5a8c1c){return _0x4c318e<_0x5a8c1c;},_0x132779['NteuS']=function(_0xaa860d,_0x3e2fec){return _0xaa860d+_0x3e2fec;},_0x132779[_0x20eef9(0x170)]=function(_0x4e8392,_0x456667){return _0x4e8392+_0x456667;},_0x132779['YdnUh']='[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json',_0x132779['WZDYW']=_0x20eef9(0x1cb);const _0x113f21=_0x132779;try{if(_0x13172b&&_0x13172b[_0x20eef9(0x200)])return path['relative'](process[_0x20eef9(0x235)](),path[_0x20eef9(0x177)](_0x13172b[_0x20eef9(0x200)]));const _0x5d28d2=_0x470f6a[_0x20eef9(0x1a1)];if(_0x113f21[_0x20eef9(0x191)](typeof _0x5d28d2,_0x113f21['lFRwD']))return path[_0x20eef9(0x164)](process[_0x20eef9(0x235)](),path[_0x20eef9(0x177)](_0x5d28d2));const _0x550291=process[_0x20eef9(0x19c)][_0x20eef9(0x180)](_0x113f21[_0x20eef9(0x1e4)]);if(_0x113f21['EJowb'](_0x550291,-0x1)&&_0x113f21['LTzab'](_0x113f21[_0x20eef9(0x168)](_0x550291,0x1),process[_0x20eef9(0x19c)][_0x20eef9(0x236)])){const _0x2de06d=process[_0x20eef9(0x19c)][_0x113f21[_0x20eef9(0x170)](_0x550291,0x1)];if(_0x2de06d&&!_0x2de06d[_0x20eef9(0x187)]('-'))return path[_0x20eef9(0x164)](process[_0x20eef9(0x235)](),path[_0x20eef9(0x177)](_0x2de06d));}}catch(_0x17e6aa){}return logger['info'](_0x113f21[_0x20eef9(0x1a9)]),_0x113f21['WZDYW'];}function resolveCollectionName(_0x3de4e3){const _0x269097=a39_0x3ec2d1,_0x2a7d95={};_0x2a7d95['nBfNH']=function(_0x33af11,_0x1baabb){return _0x33af11===_0x1baabb;},_0x2a7d95['znuMY']=_0x269097(0x1f3);const _0x47ebad=_0x2a7d95;try{const _0x11d717=_0x3de4e3['collection'];if(_0x11d717&&_0x47ebad['nBfNH'](typeof _0x11d717,_0x47ebad[_0x269097(0x1dc)]))return _0x11d717[_0x269097(0x1e1)]||_0x11d717[_0x269097(0x179)]&&_0x11d717[_0x269097(0x179)][_0x269097(0x1e1)]||null;}catch(_0x3e2e1f){}return null;}function a39_0x4f45(_0x264b51,_0x23c50d){const _0x32ce4d=a39_0x32ce();return a39_0x4f45=function(_0x4f45b3,_0x44da60){_0x4f45b3=_0x4f45b3-0x15c;let _0x2c5982=_0x32ce4d[_0x4f45b3];return _0x2c5982;},a39_0x4f45(_0x264b51,_0x23c50d);}function a39_0x32ce(){const _0x126f49=['LTzab','Assertion\x20','max','DZPPY','name','oMAOW','ZfKpE','KcMmk','ms)','LogCreated','dHaTn','YWBhJ','aMxPW','TEST','JCjFl','knHPx','collectionName','../../v2/grpcClient','location','slice','iVnGw','result','object','jarKo','BqsYq','vBlTw','ref','UPlyU','failed','nEBSa','TestRunStarted','bxaTH','url','PQiWL','TEST_LOG','collectionPath','fPvbu','messages','2599440YovsBX','HTTP','zXrTI','stringify','CYuWe','pending','ODiFu','event_type','code','xwWDb','BUGUi','delete','lLkFt','exception','axloo','uuid','OhjAd','lmDBJ','split','startTimestamp','gHMUu','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','request','nzZfx','ligGr','getInstance','cSouB','concat','listen','ZYBzQ','\x20->\x20','ECTBN','jVhwJ','now','\x20—\x20response\x20status\x20in\x20failure\x20range','N/A','3aFkGeH','toString','Surkn','expanded','TRACE','XzRyK','assertion','[Newman\x20Reporter]\x20emitTest\x20error:\x20','YHHXu','HTTP\x20','cursor','XhtKD','[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20','AFssQ','cwd','length','duration_ms','getTime','exFbX','HZTzY','bufferedLogs','OLzhx','INFO','qylJr','test_run','3341592uexzyL','uploadEventData','):\x20','RZKCa','backtrace','script','PRE','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','status_code','YDnGu','QPXmX','WAoml','bs:addLog:','qwsyH','KESGf','jjnfC','string','event','Script\x20error\x20(','javascript','pzVqB','axULh','nYJdI','logs','relative','mrRbu','aEwaz','join','NteuS','scopes','EJowb','beforeItem','PcPQX','set','LokmC','testFrameworkName','aoJhV','headers','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','1439476ceUkcX','path','parent','21599TibUFy','resolve','TkbLt','info','CFrcb','execution','wqiKz','iteration','method','failure','indexOf','nImuf','YxndE','fThBB','failureType','[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20','InvWD','startsWith','get','beforeIteration','boefm','removeListener','kctEL','stack','[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20','testFrameworkVersion','../../../helpers/test-observability/sessionHandler','GqUpz','item','err','3830SOfcYv','TWetq','Exception:\x20','clear','nunUr','fasIF','zxLOS','run','argv','rZblD','hawWu','testFrameworkState','durationMs','collection','POST','jrNNI','lastResponseCode','WARN','nBgFQ','assertions','startedAt','YdnUh','console','toISOString','search','Abaqp','../../v2/browserstackCLI','\x20(no\x20assertions)','zoekI','TAGkJ','VBqQx','\x20(HTTP\x20','winstonLogger','2730553honWuC','46IBApOj','DEBUG','4404510jGfuhf','RyYES','response','uCmSU','failure_backtrace','MbrGr','kind','../../v2/state/testFrameworkState','678qCZgdS','iAXiH','timestamp','failureReason','[Newman\x20Reporter]\x20Error\x20in\x20console:\x20','push','error','message','itemName','hhomS','zyeAT','collection.json','SdHpW','httpLog','finishedAt','YgDfo','platformIndex','test_run_uuid','hqscR','HTTP\x20Status:\x20','unknown','newman','ezRwQ','level','uapgC','host','btzrm','forEach','znuMY'];a39_0x32ce=function(){return _0x126f49;};return a39_0x32ce();}function emitTest(_0x3b94b4,_0x29272e,_0x50257f,_0x1b94df,_0x3e405b){const _0x1f8d0a=a39_0x3ec2d1,_0x20978a={'UPlyU':function(_0x11949c){return _0x11949c();},'ZYBzQ':_0x1f8d0a(0x208),'jrNNI':function(_0x53975d,_0x1803a6){return _0x53975d(_0x1803a6);},'nYJdI':'newman','mrRbu':_0x1f8d0a(0x15f),'zyeAT':function(_0x5e3599,_0x2e10b6){return _0x5e3599!=_0x2e10b6;},'OLzhx':function(_0x1a9fc,_0x24d3fc){return _0x1a9fc===_0x24d3fc;},'cSouB':_0x1f8d0a(0x1fb),'zoekI':'TestRunFinished'};if(_0x20978a[_0x1f8d0a(0x1f8)](isCLIRunning))try{const _0x39f7f2=BrowserstackCLI['getInstance']()['getTestFramework']();if(!_0x39f7f2)return;_0x39f7f2['trackEvent'](TestFrameworkState[_0x1f8d0a(0x1ea)],_0x3b94b4,{'test':{'uuid':_0x29272e[_0x1f8d0a(0x212)],'name':_0x29272e[_0x1f8d0a(0x1e1)],'scopes':_0x50257f[_0x1f8d0a(0x169)],'scope':_0x50257f[_0x1f8d0a(0x169)][_0x1f8d0a(0x167)]('\x20'),'file_path':_0x1b94df,'location':_0x50257f[_0x1f8d0a(0x1ed)],'started_at':_0x50257f[_0x1f8d0a(0x1a8)],'finished_at':_0x3e405b[_0x1f8d0a(0x1ce)]||null,'result':_0x3e405b[_0x1f8d0a(0x1f2)]||_0x20978a[_0x1f8d0a(0x220)],'failure':_0x3e405b['failure']||[],'failure_type':_0x3e405b[_0x1f8d0a(0x184)]||null,'failure_reason':_0x3e405b[_0x1f8d0a(0x1c3)]||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x224f97){_0x20978a[_0x1f8d0a(0x1a3)](debug,_0x1f8d0a(0x22e)+_0x224f97);}else{const _0x10ccd5={'uuid':_0x29272e[_0x1f8d0a(0x212)],'name':_0x29272e[_0x1f8d0a(0x1e1)],'framework':_0x20978a[_0x1f8d0a(0x162)],'body':{'lang':_0x20978a[_0x1f8d0a(0x165)],'code':null},'scope':_0x50257f[_0x1f8d0a(0x169)][_0x1f8d0a(0x167)]('\x20'),'scopes':_0x50257f['scopes'],'identifier':_0x29272e['identifier'],'file_name':_0x50257f[_0x1f8d0a(0x1ed)],'vc_filepath':_0x50257f['location'],'location':_0x50257f[_0x1f8d0a(0x1ef)],'started_at':_0x50257f[_0x1f8d0a(0x1a8)],'finished_at':_0x3e405b[_0x1f8d0a(0x1ce)]||null,'duration_in_ms':_0x20978a[_0x1f8d0a(0x1ca)](_0x3e405b[_0x1f8d0a(0x1a0)],null)?Math[_0x1f8d0a(0x1df)](0x0,_0x3e405b[_0x1f8d0a(0x1a0)]):null,'result':_0x3e405b[_0x1f8d0a(0x1f2)]||_0x20978a[_0x1f8d0a(0x220)],'failure_reason':_0x3e405b[_0x1f8d0a(0x1c3)]||null,'failure_type':_0x3e405b[_0x1f8d0a(0x184)]||null,'failure':_0x3e405b[_0x1f8d0a(0x17f)]||[],'retry_of':null,'hooks':[]};_0x10ccd5['failure'][0x0]&&(_0x10ccd5[_0x1f8d0a(0x1bc)]=_0x10ccd5[_0x1f8d0a(0x17f)][0x0][_0x1f8d0a(0x244)],_0x10ccd5['failure_reason_expanded']=_0x10ccd5[_0x1f8d0a(0x17f)][0x0][_0x1f8d0a(0x22a)]);const _0x26be17=_0x20978a[_0x1f8d0a(0x23c)](_0x3b94b4,HookState['PRE'])?_0x20978a[_0x1f8d0a(0x21d)]:_0x20978a[_0x1f8d0a(0x1b0)],_0x353497={};_0x353497[_0x1f8d0a(0x20a)]=_0x26be17,_0x353497[_0x1f8d0a(0x23f)]=_0x10ccd5,SessionHandler['uploadEventData'](_0x353497);}}function emitLog(_0x300f4a,_0x560939){const _0x2c6169=a39_0x3ec2d1,_0x4c14e3={'zfYvl':'TEST_LOG','RZKCa':function(_0x47881e){return _0x47881e();},'ezRwQ':function(_0x410840,_0x1a9f71){return _0x410840===_0x1a9f71;},'nImuf':_0x2c6169(0x204),'InvWD':_0x2c6169(0x1d5),'iWVXn':'TEST','vBlTw':_0x2c6169(0x23d),'ZbbTH':function(_0x460c60,_0x2fea76){return _0x460c60(_0x2fea76);},'pcwsm':function(_0x2e7ab0,_0x58a7f0){return _0x2e7ab0+_0x58a7f0;},'YWBhJ':'[Newman\x20Reporter]\x20emitLog\x20error:\x20','LokmC':_0x2c6169(0x1e6)},_0x10da36=_0x560939[_0x2c6169(0x1be)]||_0x4c14e3['zfYvl'],_0x117795=_0x560939[_0x2c6169(0x1c2)]||new Date()[_0x2c6169(0x1ab)]();if(_0x4c14e3[_0x2c6169(0x243)](isCLIRunning))try{const _0x3e0d8e=_0x4c14e3[_0x2c6169(0x1d6)](_0x10da36,_0x4c14e3[_0x2c6169(0x181)])?JSON[_0x2c6169(0x206)](_0x560939):_0x560939[_0x2c6169(0x1c7)]||'',_0x11fc33={};_0x11fc33[_0x2c6169(0x1d0)]=0x0,_0x11fc33[_0x2c6169(0x16f)]=_0x4c14e3[_0x2c6169(0x186)],_0x11fc33[_0x2c6169(0x18f)]='',_0x11fc33[_0x2c6169(0x19f)]=_0x4c14e3['iWVXn'],_0x11fc33[_0x2c6169(0x163)]=[{'uuid':_0x300f4a,'timestamp':_0x117795,'kind':_0x10da36,'level':_0x560939[_0x2c6169(0x1d7)]||_0x4c14e3[_0x2c6169(0x1f6)],'message':_0x3e0d8e}],GrpcClient[_0x2c6169(0x21c)]()['logCreatedEvent'](_0x11fc33);}catch(_0x3eafa2){_0x4c14e3['ZbbTH'](debug,_0x4c14e3['pcwsm'](_0x4c14e3[_0x2c6169(0x1e8)],_0x3eafa2));}else{const _0x590805={};_0x590805[_0x2c6169(0x1d1)]=_0x300f4a,_0x590805['timestamp']=_0x117795,_0x590805['level']=_0x560939['level']||null,_0x590805[_0x2c6169(0x1c7)]=_0x560939[_0x2c6169(0x1c7)]||null,_0x590805[_0x2c6169(0x1be)]=_0x10da36,_0x590805['http_response']=_0x560939['http_response']||{};const _0x3eb529={};_0x3eb529[_0x2c6169(0x20a)]=_0x4c14e3[_0x2c6169(0x16e)],_0x3eb529['logs']=[_0x590805],SessionHandler[_0x2c6169(0x241)](_0x3eb529);}}function BrowserStackNewmanReporter(_0x25fbff,_0x46d389,_0x420ad2){const _0x5b8533=a39_0x3ec2d1,_0x2c2fcb={'qwsyH':function(_0x5271e1,_0x59d63e,_0x33661d){return _0x5271e1(_0x59d63e,_0x33661d);},'lLkFt':function(_0x120016,_0x5b61dd){return _0x120016(_0x5b61dd);},'QPXmX':function(_0x5e8bec,_0x15d7a6){return _0x5e8bec>_0x15d7a6;},'AFssQ':function(_0x25774c,_0x126bca){return _0x25774c(_0x126bca);},'aEwaz':'http','BqsYq':function(_0xd1590,_0x2a1c0b){return _0xd1590+_0x2a1c0b;},'WAoml':'GET','VBqQx':function(_0x18dbf4,_0x4872d0){return _0x18dbf4(_0x4872d0);},'jarKo':_0x5b8533(0x1ff),'iAXiH':function(_0x5680d6,_0x28aeb8){return _0x5680d6+_0x28aeb8;},'TkbLt':function(_0x445891){return _0x445891();},'YxndE':function(_0x1e1dda,_0x19c383){return _0x1e1dda||_0x19c383;},'exFbX':function(_0x4d5644,_0x283fd0,_0x27a06c,_0x117e6b,_0x4030ad,_0x3111ce){return _0x4d5644(_0x283fd0,_0x27a06c,_0x117e6b,_0x4030ad,_0x3111ce);},'wqiKz':function(_0xc78318,_0x2e4b2b){return _0xc78318===_0x2e4b2b;},'pzVqB':function(_0x25e156,_0x5745ec,_0x62c0fa){return _0x25e156(_0x5745ec,_0x62c0fa);},'SdHpW':'HTTP','BUGUi':function(_0x9d1b8d,_0x22f49f){return _0x9d1b8d+_0x22f49f;},'YDnGu':function(_0x51e267,_0x1de20b){return _0x51e267+_0x1de20b;},'nunUr':function(_0x45b4c5,_0x299119){return _0x45b4c5+_0x299119;},'sQiSi':function(_0xe2c880,_0xb332f4){return _0xe2c880+_0xb332f4;},'YHHXu':_0x5b8533(0x221),'dHaTn':_0x5b8533(0x1e5),'boefm':function(_0x3037fe,_0x1fc4d8,_0x4a1404){return _0x3037fe(_0x1fc4d8,_0x4a1404);},'Abaqp':_0x5b8533(0x23d),'JCjFl':function(_0x2ac55f,_0x5e993b){return _0x2ac55f>_0x5e993b;},'ligGr':function(_0x8d508b,_0x3033e2){return _0x8d508b-_0x3033e2;},'btzrm':function(_0x25d2b3,_0x4290aa,_0x55f75b){return _0x25d2b3(_0x4290aa,_0x55f75b);},'nEBSa':function(_0x1c8c80,_0x211f3c){return _0x1c8c80(_0x211f3c);},'ODiFu':function(_0x142c3f,_0xe2a0dc){return _0x142c3f(_0xe2a0dc);},'iVnGw':function(_0x4b49a6,_0x3731a0){return _0x4b49a6&&_0x3731a0;},'jVhwJ':function(_0x2d2e2c,_0x7c3a3c,_0x4c9a7f){return _0x2d2e2c(_0x7c3a3c,_0x4c9a7f);},'GYZlh':function(_0x5b2d70,_0x4b0ed0){return _0x5b2d70+_0x4b0ed0;},'kctEL':_0x5b8533(0x196),'DZPPY':'ERROR','zXrTI':function(_0x2d33f4,_0x688acd){return _0x2d33f4(_0x688acd);},'axULh':function(_0x5e8581,_0x2e9fbf){return _0x5e8581+_0x2e9fbf;},'CYuWe':_0x5b8533(0x218),'CFrcb':function(_0x111682,_0x3208ab){return _0x111682>_0x3208ab;},'hhomS':function(_0xc9bccf,_0x1caf6b){return _0xc9bccf-_0x1caf6b;},'axloo':_0x5b8533(0x1d4),'hcSOd':function(_0x277131,_0x4173bb,_0x45767e){return _0x277131(_0x4173bb,_0x45767e);},'bxaTH':function(_0x1c7c7d,_0xa8df69){return _0x1c7c7d+_0xa8df69;},'PcPQX':_0x5b8533(0x15e),'hawWu':_0x5b8533(0x242),'TWetq':function(_0x2d0dcd,_0x4de7ba){return _0x2d0dcd(_0x4de7ba);},'Surkn':_0x5b8533(0x247),'jjnfC':function(_0x36eff4,_0x358ec1,_0x594d08){return _0x36eff4(_0x358ec1,_0x594d08);},'zxLOS':_0x5b8533(0x1f9),'fasIF':'passed','WvdlJ':'AssertionError','wMNFQ':'assert','xwWDb':'UnhandledError','ECTBN':function(_0x25c871,_0x2fdd02){return _0x25c871>_0x2fdd02;},'SSsSL':function(_0x4c571d){return _0x4c571d();},'XhtKD':function(_0x474ce4,_0x3b5d99){return _0x474ce4!=_0x3b5d99;},'JpXDS':function(_0x4a95c4,_0x291b6e){return _0x4a95c4>=_0x291b6e;},'YgDfo':function(_0x5e74d0,_0x44056a){return _0x5e74d0<_0x44056a;},'aMxPW':_0x5b8533(0x226),'nBgFQ':function(_0x5232d5,_0x264db6){return _0x5232d5!=_0x264db6;},'oMAOW':'No\x20HTTP\x20response\x20received','WVKwr':function(_0xb3b858,_0x29ce56){return _0xb3b858+_0x29ce56;},'lmDBJ':function(_0x383c34,_0x4b8f42){return _0x383c34+_0x4b8f42;},'uapgC':function(_0x3febb2,_0x1ef605){return _0x3febb2+_0x1ef605;},'rTQMc':function(_0x49d063,_0x409467,_0x327dbb){return _0x49d063(_0x409467,_0x327dbb);},'jaVhz':function(_0x30e810,_0x531bb1,_0x84fe01){return _0x30e810(_0x531bb1,_0x84fe01);},'tDSOL':_0x5b8533(0x1d3),'NGQxv':function(_0xb40488,_0x1e83c9){return _0xb40488||_0x1e83c9;},'qylJr':_0x5b8533(0x1af),'MbrGr':function(_0x564c3d,_0xba88e9,_0xc1a259){return _0x564c3d(_0xba88e9,_0xc1a259);},'RyYES':function(_0x2f6bd6,_0x3ce13a){return _0x2f6bd6(_0x3ce13a);},'XzRyK':'done','ZfKpE':_0x5b8533(0x189),'eMPtT':_0x5b8533(0x16b),'knHPx':_0x5b8533(0x219),'HZTzY':_0x5b8533(0x22d),'KESGf':_0x5b8533(0x1aa),'hqscR':_0x5b8533(0x210),'nzZfx':_0x5b8533(0x245),'uCmSU':_0x5b8533(0x192)},_0x3f12ec=new Map();let _0x357460=null,_0x22eeaa=0x0;const _0x4559e6=_0x2c2fcb[_0x5b8533(0x1bd)](resolveCollectionFile,_0x420ad2,_0x46d389),_0x1ab3ef=_0x2c2fcb[_0x5b8533(0x1b9)](resolveCollectionName,_0x420ad2)||_0x4559e6,_0x441ebb=path['resolve'](_0x4559e6),_0x54b33f=_0x5b8533(0x24c)+process['pid'],_0xd12b4c=_0x599970=>{const _0x59726b=_0x5b8533;try{_0x357460&&_0x2c2fcb[_0x59726b(0x24d)](emitLog,_0x357460,_0x599970);}catch(_0x129a2a){_0x2c2fcb['lLkFt'](debug,_0x59726b(0x185)+_0x129a2a);}};process['on'](_0x54b33f,_0xd12b4c),_0x25fbff['on'](_0x2c2fcb[_0x5b8533(0x22c)],()=>{const _0x5106f0=_0x5b8533;process[_0x5106f0(0x18b)](_0x54b33f,_0xd12b4c),_0x3f12ec[_0x5106f0(0x197)]();}),_0x25fbff['on'](_0x2c2fcb[_0x5b8533(0x1e3)],(_0x3d5f0e,_0x1fdcbb)=>{const _0x10fd2a=_0x5b8533;_0x1fdcbb&&_0x1fdcbb[_0x10fd2a(0x231)]&&(_0x22eeaa=_0x1fdcbb[_0x10fd2a(0x231)][_0x10fd2a(0x17d)]||0x0);}),_0x25fbff['on'](_0x2c2fcb['eMPtT'],(_0x76ebad,_0x4a73c0)=>{const _0xc453bd=_0x5b8533;try{_0x357460=null;const _0xb20e75=_0x4a73c0[_0xc453bd(0x192)],_0x345a3e=_0xb20e75[_0xc453bd(0x175)]()?_0x2c2fcb[_0xc453bd(0x20f)](getParentTitles,_0xb20e75[_0xc453bd(0x175)]()):[],_0x4b0f37=_0x2c2fcb[_0xc453bd(0x24a)](_0x345a3e[_0xc453bd(0x236)],0x1)?_0x345a3e[_0xc453bd(0x1f0)](0x1):_0x345a3e,_0x109ba5=_0x4a73c0[_0xc453bd(0x231)]&&_0x4a73c0[_0xc453bd(0x231)]['ref'],_0x4a3bce={'itemName':_0xb20e75[_0xc453bd(0x1e1)],'scopes':_0x4b0f37[_0xc453bd(0x21e)]([_0xb20e75[_0xc453bd(0x1e1)]]),'location':_0x4559e6,'collectionName':_0x1ab3ef,'startedAt':new Date()[_0xc453bd(0x1ab)](),'startTimestamp':Date[_0xc453bd(0x224)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x3f12ec[_0xc453bd(0x16d)](_0xb20e75['id']+'_'+_0x22eeaa,_0x4a3bce),_0x109ba5&&_0x3f12ec[_0xc453bd(0x16d)](_0x109ba5+'_'+_0x22eeaa,_0x4a3bce);}catch(_0x111a3d){_0x2c2fcb[_0xc453bd(0x234)](debug,_0xc453bd(0x233)+_0x111a3d);}}),_0x25fbff['on'](_0x2c2fcb[_0x5b8533(0x1ec)],(_0x359120,_0x44f301)=>{const _0x181c60=_0x5b8533;try{if(!_0x44f301||!_0x44f301[_0x181c60(0x192)])return;const _0x1b573f=_0x3f12ec['get'](_0x44f301['item']['id']+'_'+_0x22eeaa);if(!_0x1b573f)return;_0x44f301['response']&&(_0x1b573f[_0x181c60(0x1a4)]=_0x44f301[_0x181c60(0x1ba)][_0x181c60(0x20b)]||null);if(!_0x44f301[_0x181c60(0x219)])return;let _0x4fba5f='',_0x3de449='';if(_0x44f301[_0x181c60(0x219)][_0x181c60(0x1fd)])try{const _0x4da647=_0x44f301['request'][_0x181c60(0x1fd)][_0x181c60(0x228)](),_0x242eb4=new URL(_0x4da647[_0x181c60(0x187)](_0x2c2fcb[_0x181c60(0x166)])?_0x4da647:'http://'+_0x4da647);_0x4fba5f=_0x242eb4['hostname'],_0x3de449=_0x2c2fcb['BqsYq'](_0x242eb4['pathname'],_0x242eb4[_0x181c60(0x1ac)]);}catch(_0x3ae9ed){_0x3de449=_0x44f301[_0x181c60(0x219)][_0x181c60(0x1fd)][_0x181c60(0x228)]();}const _0x3bf67a={};_0x3bf67a[_0x181c60(0x1d9)]=_0x4fba5f,_0x3bf67a[_0x181c60(0x174)]=_0x3de449,_0x3bf67a[_0x181c60(0x17e)]=_0x44f301[_0x181c60(0x219)][_0x181c60(0x17e)]||_0x2c2fcb[_0x181c60(0x24b)],_0x3bf67a[_0x181c60(0x171)]={},_0x3bf67a[_0x181c60(0x248)]=_0x44f301['response']?_0x44f301[_0x181c60(0x1ba)]['code']||0x0:0x0,_0x3bf67a[_0x181c60(0x237)]=_0x44f301[_0x181c60(0x1ba)]?_0x44f301[_0x181c60(0x1ba)]['responseTime']||0x0:0x0,_0x1b573f['httpLog']=_0x3bf67a;}catch(_0x48acb3){_0x2c2fcb[_0x181c60(0x1b2)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20request:\x20'+_0x48acb3);}}),_0x25fbff['on'](_0x2c2fcb[_0x5b8533(0x23a)],(_0x5e519a,_0x3baa29)=>{const _0x544445=_0x5b8533;try{if(!_0x3baa29||!_0x3baa29[_0x544445(0x192)])return;const _0x2baf14=_0x3f12ec[_0x544445(0x188)](_0x3baa29[_0x544445(0x192)]['id']+'_'+_0x22eeaa);if(!_0x2baf14)return;const _0x5615f7=_0x3baa29[_0x544445(0x22d)]||_0x544445(0x1de)+_0x2c2fcb[_0x544445(0x1c1)](_0x2baf14[_0x544445(0x1a7)]['length'],0x1),_0x54f500=_0x2c2fcb[_0x544445(0x178)](uuidv4),_0x4608ed=_0x2baf14[_0x544445(0x169)][_0x544445(0x21e)]([_0x5615f7])[_0x544445(0x167)]('\x20');_0x2baf14[_0x544445(0x1a7)]['push']({'uuid':_0x54f500,'name':_0x5615f7,'identifier':_0x4608ed,'err':_0x2c2fcb[_0x544445(0x182)](_0x5e519a,null)});const _0x57fb3e={};_0x57fb3e[_0x544445(0x212)]=_0x54f500,_0x57fb3e[_0x544445(0x1e1)]=_0x5615f7,_0x57fb3e['identifier']=_0x4608ed,_0x2c2fcb[_0x544445(0x239)](emitTest,HookState[_0x544445(0x246)],_0x57fb3e,_0x2baf14,_0x441ebb,{});_0x2c2fcb['wqiKz'](_0x2baf14[_0x544445(0x1a7)][_0x544445(0x236)],0x1)&&_0x2c2fcb[_0x544445(0x24a)](_0x2baf14[_0x544445(0x23b)]['length'],0x0)&&(_0x2baf14[_0x544445(0x23b)][_0x544445(0x1db)](_0x25a216=>{const _0x97f895=_0x544445;_0x2c2fcb[_0x97f895(0x24d)](emitLog,_0x54f500,{'kind':_0x2c2fcb['jarKo'],'message':_0x25a216['message'],'level':_0x25a216[_0x97f895(0x1d7)]});}),_0x2baf14[_0x544445(0x23b)]=[]);if(_0x2baf14[_0x544445(0x1cd)]){_0x2c2fcb[_0x544445(0x160)](emitLog,_0x54f500,{'kind':_0x2c2fcb[_0x544445(0x1cc)],'http_response':_0x2baf14[_0x544445(0x1cd)]});const _0x5b7c63=_0x2c2fcb[_0x544445(0x1f5)](_0x2c2fcb['iAXiH'](_0x2c2fcb[_0x544445(0x20d)](_0x2c2fcb[_0x544445(0x249)](_0x2c2fcb['BqsYq'](_0x2c2fcb[_0x544445(0x198)](_0x2c2fcb[_0x544445(0x1c1)](_0x2c2fcb['sQiSi'](_0x2baf14[_0x544445(0x1cd)][_0x544445(0x17e)]||_0x2c2fcb['WAoml'],'\x20'),_0x2baf14[_0x544445(0x1cd)][_0x544445(0x1d9)]),_0x2baf14[_0x544445(0x1cd)][_0x544445(0x174)]),_0x2c2fcb[_0x544445(0x22f)]),_0x2baf14['httpLog'][_0x544445(0x248)]),'\x20('),_0x2baf14[_0x544445(0x1cd)]['duration_ms']),_0x2c2fcb[_0x544445(0x1e7)]);_0x2c2fcb[_0x544445(0x18a)](emitLog,_0x54f500,{'kind':_0x2c2fcb['jarKo'],'message':_0x5b7c63,'level':_0x2c2fcb[_0x544445(0x1ad)]});}_0x357460=_0x54f500;}catch(_0xf61a0b){_0x2c2fcb[_0x544445(0x20f)](debug,_0x544445(0x18e)+_0xf61a0b);}}),_0x25fbff['on'](_0x2c2fcb[_0x5b8533(0x24e)],(_0x2ed614,_0x204ff5)=>{const _0x1ae37d=_0x5b8533;try{if(!_0x204ff5)return;let _0x277a9e=_0x357460;if(!_0x277a9e&&_0x204ff5['cursor']&&_0x204ff5['cursor']['ref']){const _0x12a977=_0x3f12ec[_0x1ae37d(0x188)](_0x204ff5['cursor'][_0x1ae37d(0x1f7)]+'_'+_0x22eeaa);_0x12a977&&_0x2c2fcb[_0x1ae37d(0x1eb)](_0x12a977[_0x1ae37d(0x1a7)][_0x1ae37d(0x236)],0x0)&&(_0x277a9e=_0x12a977[_0x1ae37d(0x1a7)][_0x2c2fcb[_0x1ae37d(0x21b)](_0x12a977[_0x1ae37d(0x1a7)][_0x1ae37d(0x236)],0x1)][_0x1ae37d(0x212)]);}const _0x5311a1=_0x204ff5[_0x1ae37d(0x202)]?_0x204ff5[_0x1ae37d(0x202)][_0x1ae37d(0x167)](',\x20'):'';if(_0x277a9e)_0x2c2fcb[_0x1ae37d(0x1da)](emitLog,_0x277a9e,{'kind':_0x2c2fcb['jarKo'],'message':_0x5311a1,'level':_0x2c2fcb['nEBSa'](normalizeLogLevel,_0x204ff5[_0x1ae37d(0x1d7)])});else{if(_0x204ff5['cursor']&&_0x204ff5[_0x1ae37d(0x231)][_0x1ae37d(0x1f7)]){const _0x3b26e3=_0x3f12ec[_0x1ae37d(0x188)](_0x204ff5[_0x1ae37d(0x231)]['ref']+'_'+_0x22eeaa);_0x3b26e3&&_0x3b26e3[_0x1ae37d(0x23b)][_0x1ae37d(0x1c5)]({'timestamp':new Date()[_0x1ae37d(0x1ab)](),'level':_0x2c2fcb[_0x1ae37d(0x20f)](normalizeLogLevel,_0x204ff5[_0x1ae37d(0x1d7)]),'message':_0x5311a1});}}}catch(_0x5c2725){_0x2c2fcb[_0x1ae37d(0x1fa)](debug,_0x1ae37d(0x1c4)+_0x5c2725);}}),_0x25fbff['on'](_0x2c2fcb[_0x5b8533(0x1d2)],(_0x4f32a3,_0x356bbd)=>{const _0x1f992f=_0x5b8533;try{if(!_0x4f32a3&&(!_0x356bbd||!_0x356bbd[_0x1f992f(0x1c6)]))return;const _0x3c10fa=_0x4f32a3||_0x356bbd[_0x1f992f(0x1c6)],_0x70345a=_0x3c10fa['message']||_0x2c2fcb[_0x1f992f(0x209)](String,_0x3c10fa),_0x41a276=_0x3c10fa[_0x1f992f(0x18d)]||_0x70345a;let _0x201212=_0x357460;if(_0x2c2fcb[_0x1f992f(0x1f1)](!_0x201212,_0x356bbd)&&_0x356bbd[_0x1f992f(0x231)]&&_0x356bbd['cursor'][_0x1f992f(0x1f7)]){const _0x5c4f44=_0x3f12ec[_0x1f992f(0x188)](_0x356bbd[_0x1f992f(0x231)][_0x1f992f(0x1f7)]+'_'+_0x22eeaa);_0x5c4f44&&_0x2c2fcb[_0x1f992f(0x24a)](_0x5c4f44[_0x1f992f(0x1a7)]['length'],0x0)&&(_0x201212=_0x5c4f44['assertions'][_0x2c2fcb[_0x1f992f(0x21b)](_0x5c4f44['assertions'][_0x1f992f(0x236)],0x1)]['uuid']);}_0x201212&&_0x2c2fcb[_0x1f992f(0x223)](emitLog,_0x201212,{'kind':_0x2c2fcb[_0x1f992f(0x1f4)],'message':_0x2c2fcb['GYZlh'](_0x2c2fcb[_0x1f992f(0x18c)],_0x41a276),'level':_0x2c2fcb[_0x1f992f(0x1e0)]});}catch(_0x3ef548){_0x2c2fcb[_0x1f992f(0x205)](debug,_0x2c2fcb['axULh'](_0x2c2fcb[_0x1f992f(0x207)],_0x3ef548));}}),_0x25fbff['on'](_0x2c2fcb[_0x5b8533(0x21a)],(_0x56112d,_0x5193de)=>{const _0x2491b7=_0x5b8533;try{if(!_0x5193de||!_0x5193de[_0x2491b7(0x17b)])return;let _0x3aa964=_0x357460;if(!_0x3aa964&&_0x5193de[_0x2491b7(0x231)]&&_0x5193de[_0x2491b7(0x231)]['ref']){const _0x5e5c00=_0x3f12ec[_0x2491b7(0x188)](_0x5193de[_0x2491b7(0x231)][_0x2491b7(0x1f7)]+'_'+_0x22eeaa);_0x5e5c00&&_0x2c2fcb[_0x2491b7(0x17a)](_0x5e5c00[_0x2491b7(0x1a7)]['length'],0x0)&&(_0x3aa964=_0x5e5c00['assertions'][_0x2c2fcb[_0x2491b7(0x1c9)](_0x5e5c00[_0x2491b7(0x1a7)][_0x2491b7(0x236)],0x1)][_0x2491b7(0x212)]);}if(!_0x3aa964)return;const _0x5f4d6b=_0x5193de['event']&&_0x5193de[_0x2491b7(0x15d)][_0x2491b7(0x21f)]||_0x2c2fcb[_0x2491b7(0x211)];_0x56112d&&_0x2c2fcb['hcSOd'](emitLog,_0x3aa964,{'kind':_0x2c2fcb[_0x2491b7(0x1f4)],'message':_0x2c2fcb['iAXiH'](_0x2c2fcb[_0x2491b7(0x1c1)](_0x2c2fcb['bxaTH'](_0x2c2fcb[_0x2491b7(0x16c)],_0x5f4d6b),_0x2c2fcb[_0x2491b7(0x19e)]),_0x56112d[_0x2491b7(0x1c7)]||_0x56112d),'level':_0x2c2fcb[_0x2491b7(0x1e0)]});}catch(_0x1fc717){_0x2c2fcb[_0x2491b7(0x195)](debug,_0x2c2fcb[_0x2491b7(0x1c1)](_0x2c2fcb[_0x2491b7(0x229)],_0x1fc717));}}),_0x25fbff['on'](_0x2c2fcb[_0x5b8533(0x1bb)],(_0x2a5cec,_0x33e34e)=>{const _0x4d4c82=_0x5b8533,_0x1c43ba={'NBuUs':_0x2c2fcb[_0x4d4c82(0x19a)],'uxZPj':_0x2c2fcb[_0x4d4c82(0x199)],'PQiWL':function(_0x18aade,_0x46cfbe){const _0x5b299e=_0x4d4c82;return _0x2c2fcb[_0x5b299e(0x17c)](_0x18aade,_0x46cfbe);},'fThBB':_0x2c2fcb['WvdlJ'],'rZblD':_0x2c2fcb['wMNFQ'],'gHMUu':_0x2c2fcb[_0x4d4c82(0x20c)],'fPvbu':function(_0x242707,_0x4c41f8,_0xa1085d,_0x14f000,_0x4120e3,_0x3ac820){const _0x5a0ddf=_0x4d4c82;return _0x2c2fcb[_0x5a0ddf(0x239)](_0x242707,_0x4c41f8,_0xa1085d,_0x14f000,_0x4120e3,_0x3ac820);}};try{if(!_0x33e34e||!_0x33e34e[_0x4d4c82(0x192)])return;const _0x164b97=_0x33e34e['item']['id']+'_'+_0x22eeaa,_0x12c5df=_0x3f12ec['get'](_0x164b97);if(!_0x12c5df)return;const _0x59130d=new Date(),_0x9d6060=_0x2c2fcb[_0x4d4c82(0x21b)](_0x59130d[_0x4d4c82(0x238)](),_0x12c5df[_0x4d4c82(0x216)]);if(_0x2c2fcb[_0x4d4c82(0x222)](_0x12c5df[_0x4d4c82(0x1a7)][_0x4d4c82(0x236)],0x0))_0x12c5df[_0x4d4c82(0x1a7)][_0x4d4c82(0x1db)](_0x499e4c=>{const _0x409cb2=_0x4d4c82,_0x4f6b26=!!_0x499e4c[_0x409cb2(0x193)],_0x248ecd={'finishedAt':_0x59130d[_0x409cb2(0x1ab)](),'durationMs':_0x9d6060,'result':_0x4f6b26?_0x1c43ba['NBuUs']:_0x1c43ba['uxZPj']};_0x4f6b26&&(_0x248ecd['failureReason']=_0x499e4c['err'][_0x409cb2(0x1c7)]||'',_0x248ecd[_0x409cb2(0x184)]=_0x1c43ba[_0x409cb2(0x1fe)](_0x499e4c[_0x409cb2(0x193)][_0x409cb2(0x1e1)],_0x1c43ba['fThBB'])||_0x499e4c[_0x409cb2(0x193)]['message']&&_0x499e4c[_0x409cb2(0x193)][_0x409cb2(0x1c7)]['includes'](_0x1c43ba[_0x409cb2(0x19d)])?_0x1c43ba[_0x409cb2(0x183)]:_0x1c43ba[_0x409cb2(0x217)],_0x248ecd[_0x409cb2(0x17f)]=[{'backtrace':_0x499e4c[_0x409cb2(0x193)][_0x409cb2(0x18d)]?_0x499e4c['err']['stack'][_0x409cb2(0x215)]('\x0a'):[_0x499e4c['err'][_0x409cb2(0x1c7)]||''],'expanded':[]}]),_0x1c43ba[_0x409cb2(0x201)](emitTest,HookState[_0x409cb2(0x1a2)],_0x499e4c,_0x12c5df,_0x441ebb,_0x248ecd);});else{const _0x52cc8b=_0x2c2fcb['SSsSL'](uuidv4),_0x9527aa=_0x12c5df[_0x4d4c82(0x1a4)],_0x2b01c8=_0x2c2fcb[_0x4d4c82(0x232)](_0x9527aa,null)&&_0x2c2fcb['JpXDS'](_0x9527aa,0xc8)&&_0x2c2fcb[_0x4d4c82(0x1cf)](_0x9527aa,0x190),_0x5446e5=_0x12c5df[_0x4d4c82(0x1c8)]+_0x4d4c82(0x1b3)+_0x2c2fcb['YxndE'](_0x9527aa,_0x2c2fcb[_0x4d4c82(0x1e9)])+')',_0x495089={'uuid':_0x52cc8b,'name':_0x5446e5,'identifier':_0x12c5df[_0x4d4c82(0x169)]['concat']([_0x5446e5])[_0x4d4c82(0x167)]('\x20')},_0x3b51b8={'finishedAt':_0x59130d['toISOString'](),'durationMs':_0x9d6060,'result':_0x2b01c8?_0x2c2fcb[_0x4d4c82(0x199)]:_0x2c2fcb[_0x4d4c82(0x19a)]};!_0x2b01c8&&(_0x3b51b8[_0x4d4c82(0x1c3)]=_0x2c2fcb[_0x4d4c82(0x1a6)](_0x9527aa,null)?_0x4d4c82(0x230)+_0x9527aa+_0x4d4c82(0x225):_0x2c2fcb[_0x4d4c82(0x1e2)],_0x3b51b8[_0x4d4c82(0x184)]=_0x2c2fcb['xwWDb'],_0x3b51b8[_0x4d4c82(0x17f)]=[{'backtrace':[_0x3b51b8[_0x4d4c82(0x1c3)]],'expanded':[]}]);_0x2c2fcb[_0x4d4c82(0x239)](emitTest,HookState[_0x4d4c82(0x246)],_0x495089,_0x12c5df,_0x441ebb,{}),_0x12c5df['bufferedLogs'][_0x4d4c82(0x1db)](_0x24387a=>{const _0x22b974=_0x4d4c82;_0x2c2fcb[_0x22b974(0x24f)](emitLog,_0x52cc8b,{'kind':_0x2c2fcb[_0x22b974(0x1f4)],'message':_0x24387a['message'],'level':_0x24387a[_0x22b974(0x1d7)]});});if(_0x12c5df[_0x4d4c82(0x1cd)]){_0x2c2fcb[_0x4d4c82(0x1da)](emitLog,_0x52cc8b,{'kind':_0x2c2fcb[_0x4d4c82(0x1cc)],'http_response':_0x12c5df[_0x4d4c82(0x1cd)]});const _0x418c02=_0x2c2fcb['WVKwr'](_0x2c2fcb[_0x4d4c82(0x1fc)](_0x2c2fcb[_0x4d4c82(0x249)](_0x2c2fcb[_0x4d4c82(0x214)](_0x2c2fcb[_0x4d4c82(0x198)](_0x2c2fcb[_0x4d4c82(0x20d)](_0x2c2fcb['lmDBJ'](_0x2c2fcb[_0x4d4c82(0x1d8)](_0x12c5df['httpLog']['method']||_0x2c2fcb[_0x4d4c82(0x24b)],'\x20'),_0x12c5df[_0x4d4c82(0x1cd)]['host']),_0x12c5df['httpLog'][_0x4d4c82(0x174)]),_0x2c2fcb['YHHXu']),_0x12c5df[_0x4d4c82(0x1cd)][_0x4d4c82(0x248)]),'\x20('),_0x12c5df['httpLog'][_0x4d4c82(0x237)]),_0x2c2fcb[_0x4d4c82(0x1e7)]);_0x2c2fcb['rTQMc'](emitLog,_0x52cc8b,{'kind':_0x2c2fcb[_0x4d4c82(0x1f4)],'message':_0x418c02,'level':_0x2c2fcb[_0x4d4c82(0x1ad)]});}else _0x2c2fcb['jaVhz'](emitLog,_0x52cc8b,{'kind':_0x2c2fcb[_0x4d4c82(0x1f4)],'message':_0x2c2fcb[_0x4d4c82(0x1c1)](_0x2c2fcb[_0x4d4c82(0x161)](_0x2c2fcb['tDSOL'],_0x2c2fcb['NGQxv'](_0x9527aa,_0x2c2fcb[_0x4d4c82(0x1e9)])),_0x2c2fcb[_0x4d4c82(0x23e)]),'level':_0x2c2fcb[_0x4d4c82(0x1ad)]});_0x2c2fcb[_0x4d4c82(0x239)](emitTest,HookState[_0x4d4c82(0x1a2)],_0x495089,_0x12c5df,_0x441ebb,_0x3b51b8);}_0x3f12ec[_0x4d4c82(0x20e)](_0x164b97),_0x33e34e['cursor']&&_0x33e34e[_0x4d4c82(0x231)][_0x4d4c82(0x1f7)]&&_0x3f12ec[_0x4d4c82(0x20e)](_0x33e34e[_0x4d4c82(0x231)][_0x4d4c82(0x1f7)]+'_'+_0x22eeaa);}catch(_0x20de98){_0x2c2fcb['AFssQ'](debug,_0x4d4c82(0x172)+_0x20de98);}});}module['exports']=BrowserStackNewmanReporter;
1
+ 'use strict';function a39_0x58bc(_0x2e66db,_0x2f4d4c){const _0x28d7c2=a39_0x28d7();return a39_0x58bc=function(_0x58bc29,_0x2d1fbf){_0x58bc29=_0x58bc29-0x133;let _0x524dc2=_0x28d7c2[_0x58bc29];return _0x524dc2;},a39_0x58bc(_0x2e66db,_0x2f4d4c);}const a39_0x49af34=a39_0x58bc;(function(_0x3fa1e4,_0x4ad1e2){const _0x3c628c=a39_0x58bc,_0x5f400f=_0x3fa1e4();while(!![]){try{const _0xef1c64=-parseInt(_0x3c628c(0x141))/0x1*(parseInt(_0x3c628c(0x1d5))/0x2)+parseInt(_0x3c628c(0x1ba))/0x3+parseInt(_0x3c628c(0x1d6))/0x4+parseInt(_0x3c628c(0x174))/0x5*(parseInt(_0x3c628c(0x216))/0x6)+parseInt(_0x3c628c(0x150))/0x7+-parseInt(_0x3c628c(0x1f2))/0x8+-parseInt(_0x3c628c(0x1bd))/0x9;if(_0xef1c64===_0x4ad1e2)break;else _0x5f400f['push'](_0x5f400f['shift']());}catch(_0x37911a){_0x5f400f['push'](_0x5f400f['shift']());}}}(a39_0x28d7,0x4c686));const path=require(a39_0x49af34(0x203)),{v4:uuidv4}=require(a39_0x49af34(0x163)),SessionHandler=require(a39_0x49af34(0x13a)),{debug}=require(a39_0x49af34(0x161)),logger=require(a39_0x49af34(0x1a7))['winstonLogger'],BrowserstackCLI=require(a39_0x49af34(0x14c)),GrpcClient=require(a39_0x49af34(0x207)),TestFrameworkState=require(a39_0x49af34(0x196)),HookState=require('../../v2/state/hookState'),LOG_LEVELS=[a39_0x49af34(0x1ad),a39_0x49af34(0x1c7),a39_0x49af34(0x1cb),'DEBUG',a39_0x49af34(0x14e)];function isCLIRunning(){const _0xac4039=a39_0x49af34;try{return BrowserstackCLI[_0xac4039(0x13f)]()['isRunning']();}catch(_0x32a0f7){return![];}}function getParentTitles(_0x71619a){const _0x37d8ad=a39_0x49af34,_0x2d7d01={'Eglji':function(_0x2ba5d0,_0x5a26ed){return _0x2ba5d0(_0x5a26ed);},'hYMje':function(_0x3454af,_0x207852){return _0x3454af(_0x207852);}},_0x4844cd=[],_0x31e197=_0x71619a[_0x37d8ad(0x137)]();return _0x31e197&&_0x4844cd[_0x37d8ad(0x1a9)]['apply'](_0x4844cd,_0x2d7d01[_0x37d8ad(0x188)](getParentTitles,_0x31e197)),_0x71619a[_0x37d8ad(0x1f3)]&&_0x4844cd[_0x37d8ad(0x1a9)](_0x2d7d01[_0x37d8ad(0x211)](String,_0x71619a['name'])),_0x4844cd;}function normalizeLogLevel(_0x7de6a2){const _0x4873f8=a39_0x49af34,_0x4b5dde={};_0x4b5dde['SXdAe']=_0x4873f8(0x1ad),_0x4b5dde[_0x4873f8(0x21a)]=function(_0x277e30,_0x108810){return _0x277e30!==_0x108810;};const _0x402e3a=_0x4b5dde;if(!_0x7de6a2)return _0x402e3a[_0x4873f8(0x1c4)];const _0x54a05e=_0x7de6a2[_0x4873f8(0x1d0)]();return _0x402e3a[_0x4873f8(0x21a)](LOG_LEVELS['indexOf'](_0x54a05e),-0x1)?_0x54a05e:_0x402e3a['SXdAe'];}function resolveCollectionFile(_0x448977,_0x2e8553){const _0x19ad9e=a39_0x49af34,_0x2682bc={};_0x2682bc[_0x19ad9e(0x17f)]=function(_0x1d43bc,_0x3c419c){return _0x1d43bc===_0x3c419c;},_0x2682bc[_0x19ad9e(0x200)]='string',_0x2682bc[_0x19ad9e(0x1df)]=_0x19ad9e(0x1e4),_0x2682bc[_0x19ad9e(0x15b)]=function(_0x254337,_0x3c2a61){return _0x254337!==_0x3c2a61;},_0x2682bc[_0x19ad9e(0x193)]=function(_0x10bd46,_0x4be454){return _0x10bd46<_0x4be454;},_0x2682bc[_0x19ad9e(0x1af)]=function(_0xa7b8df,_0x23e6e6){return _0xa7b8df+_0x23e6e6;},_0x2682bc[_0x19ad9e(0x1cf)]=_0x19ad9e(0x1cd),_0x2682bc[_0x19ad9e(0x215)]='collection.json';const _0x153c0d=_0x2682bc;try{if(_0x2e8553&&_0x2e8553[_0x19ad9e(0x1b9)])return path['relative'](process[_0x19ad9e(0x146)](),path[_0x19ad9e(0x1ff)](_0x2e8553['collectionPath']));const _0x1dc1c6=_0x448977['collection'];if(_0x153c0d[_0x19ad9e(0x17f)](typeof _0x1dc1c6,_0x153c0d[_0x19ad9e(0x200)]))return path[_0x19ad9e(0x221)](process[_0x19ad9e(0x146)](),path['resolve'](_0x1dc1c6));const _0x3e73e0=process[_0x19ad9e(0x194)][_0x19ad9e(0x1b2)](_0x153c0d[_0x19ad9e(0x1df)]);if(_0x153c0d[_0x19ad9e(0x15b)](_0x3e73e0,-0x1)&&_0x153c0d[_0x19ad9e(0x193)](_0x153c0d[_0x19ad9e(0x1af)](_0x3e73e0,0x1),process[_0x19ad9e(0x194)][_0x19ad9e(0x1b1)])){const _0x4f8b5a=process[_0x19ad9e(0x194)][_0x153c0d[_0x19ad9e(0x1af)](_0x3e73e0,0x1)];if(_0x4f8b5a&&!_0x4f8b5a[_0x19ad9e(0x138)]('-'))return path[_0x19ad9e(0x221)](process['cwd'](),path['resolve'](_0x4f8b5a));}}catch(_0x560a01){}return logger['info'](_0x153c0d[_0x19ad9e(0x1cf)]),_0x153c0d[_0x19ad9e(0x215)];}function resolveCollectionName(_0x58d7a2){const _0x2e5083=a39_0x49af34,_0x4f59d7={};_0x4f59d7[_0x2e5083(0x139)]=function(_0x361370,_0x2100f8){return _0x361370===_0x2100f8;},_0x4f59d7['BWQQS']='object';const _0x3851b6=_0x4f59d7;try{const _0x273d77=_0x58d7a2[_0x2e5083(0x17b)];if(_0x273d77&&_0x3851b6['kLWkS'](typeof _0x273d77,_0x3851b6['BWQQS']))return _0x273d77[_0x2e5083(0x1f3)]||_0x273d77[_0x2e5083(0x15a)]&&_0x273d77[_0x2e5083(0x15a)][_0x2e5083(0x1f3)]||null;}catch(_0x37c797){}return null;}function emitTest(_0x4f2b0e,_0x45b799,_0x349741,_0xdcc46a,_0xc60e2e){const _0x22ade8=a39_0x49af34,_0x33c72d={'oXlvi':function(_0x5c0a53){return _0x5c0a53();},'mgIvw':'pending','nhtGb':function(_0x2588e8,_0x5a893d){return _0x2588e8(_0x5a893d);},'sjFcU':'newman','dtvqk':_0x22ade8(0x1d8),'hzqWK':function(_0x4c94d4,_0x1d9d66){return _0x4c94d4!=_0x1d9d66;},'SUABs':function(_0x251d92,_0x37670d){return _0x251d92===_0x37670d;},'APJdB':_0x22ade8(0x187),'uxVst':_0x22ade8(0x15e)};if(_0x33c72d['oXlvi'](isCLIRunning))try{const _0x5e3e76=BrowserstackCLI[_0x22ade8(0x13f)]()[_0x22ade8(0x159)]();if(!_0x5e3e76)return;_0x5e3e76[_0x22ade8(0x13b)](TestFrameworkState['TEST'],_0x4f2b0e,{'test':{'uuid':_0x45b799[_0x22ade8(0x163)],'name':_0x45b799[_0x22ade8(0x1f3)],'scopes':_0x349741['scopes'],'scope':_0x349741['scopes'][_0x22ade8(0x142)]('\x20'),'file_path':_0xdcc46a,'location':_0x349741[_0x22ade8(0x17a)],'started_at':_0x349741[_0x22ade8(0x16b)],'finished_at':_0xc60e2e[_0x22ade8(0x1fa)]||null,'result':_0xc60e2e[_0x22ade8(0x149)]||_0x33c72d[_0x22ade8(0x140)],'failure':_0xc60e2e[_0x22ade8(0x1c2)]||[],'failure_type':_0xc60e2e[_0x22ade8(0x15c)]||null,'failure_reason':_0xc60e2e['failureReason']||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x2a5356){_0x33c72d[_0x22ade8(0x189)](debug,'[Newman\x20Reporter]\x20emitTest\x20error:\x20'+_0x2a5356);}else{const _0x506c17={'uuid':_0x45b799['uuid'],'name':_0x45b799['name'],'framework':_0x33c72d['sjFcU'],'body':{'lang':_0x33c72d[_0x22ade8(0x1b0)],'code':null},'scope':_0x349741[_0x22ade8(0x20d)]['join']('\x20'),'scopes':_0x349741[_0x22ade8(0x20d)],'identifier':_0x45b799['identifier'],'file_name':_0x349741[_0x22ade8(0x17a)],'vc_filepath':_0x349741[_0x22ade8(0x136)],'location':_0x349741[_0x22ade8(0x136)],'started_at':_0x349741[_0x22ade8(0x16b)],'finished_at':_0xc60e2e[_0x22ade8(0x1fa)]||null,'duration_in_ms':_0x33c72d[_0x22ade8(0x1ce)](_0xc60e2e['durationMs'],null)?Math[_0x22ade8(0x1d1)](0x0,_0xc60e2e['durationMs']):null,'result':_0xc60e2e[_0x22ade8(0x149)]||_0x33c72d[_0x22ade8(0x140)],'failure_reason':_0xc60e2e[_0x22ade8(0x208)]||null,'failure_type':_0xc60e2e['failureType']||null,'failure':_0xc60e2e[_0x22ade8(0x1c2)]||[],'retry_of':null,'hooks':[]};_0x506c17[_0x22ade8(0x1c2)][0x0]&&(_0x506c17[_0x22ade8(0x210)]=_0x506c17['failure'][0x0][_0x22ade8(0x17d)],_0x506c17[_0x22ade8(0x1a2)]=_0x506c17[_0x22ade8(0x1c2)][0x0]['expanded']);const _0x48a1a8=_0x33c72d[_0x22ade8(0x171)](_0x4f2b0e,HookState[_0x22ade8(0x1f0)])?_0x33c72d[_0x22ade8(0x20b)]:_0x33c72d[_0x22ade8(0x1fe)],_0x374162={};_0x374162[_0x22ade8(0x1be)]=_0x48a1a8,_0x374162['test_run']=_0x506c17,SessionHandler[_0x22ade8(0x21b)](_0x374162);}}function emitLog(_0x532afe,_0x4a865b){const _0x42d121=a39_0x49af34,_0x329392={'Qxchd':_0x42d121(0x1e1),'ZhJuP':function(_0x5e27f4){return _0x5e27f4();},'HiNOf':function(_0x4bd4f3,_0x30b069){return _0x4bd4f3===_0x30b069;},'utuPc':_0x42d121(0x14f),'uSpsk':_0x42d121(0x212),'ZdAER':_0x42d121(0x1e5),'kiTfT':_0x42d121(0x1ad),'yBMEP':function(_0x43862c,_0x4f9c02){return _0x43862c(_0x4f9c02);},'hpjLD':function(_0x2d3dd6,_0x447b8){return _0x2d3dd6+_0x447b8;},'VbaFB':_0x42d121(0x220),'DYjKP':'LogCreated'},_0x59cd13=_0x4a865b[_0x42d121(0x172)]||_0x329392[_0x42d121(0x153)],_0xc1574e=_0x4a865b[_0x42d121(0x165)]||new Date()[_0x42d121(0x1da)]();if(_0x329392[_0x42d121(0x1e7)](isCLIRunning))try{const _0x28f102=_0x329392[_0x42d121(0x151)](_0x59cd13,_0x329392['utuPc'])?JSON['stringify'](_0x4a865b):_0x4a865b[_0x42d121(0x1ec)]||'',_0x40e661={};_0x40e661[_0x42d121(0x18a)]=0x0,_0x40e661[_0x42d121(0x18e)]=_0x329392[_0x42d121(0x147)],_0x40e661['testFrameworkVersion']='',_0x40e661[_0x42d121(0x1e8)]=_0x329392[_0x42d121(0x1d2)],_0x40e661['logs']=[{'uuid':_0x532afe,'timestamp':_0xc1574e,'kind':_0x59cd13,'level':_0x4a865b[_0x42d121(0x134)]||_0x329392['kiTfT'],'message':_0x28f102}],GrpcClient[_0x42d121(0x13f)]()[_0x42d121(0x148)](_0x40e661);}catch(_0x43970b){_0x329392[_0x42d121(0x1ac)](debug,_0x329392[_0x42d121(0x19d)](_0x329392[_0x42d121(0x186)],_0x43970b));}else{const _0x3aa451={};_0x3aa451[_0x42d121(0x199)]=_0x532afe,_0x3aa451[_0x42d121(0x165)]=_0xc1574e,_0x3aa451[_0x42d121(0x134)]=_0x4a865b[_0x42d121(0x134)]||null,_0x3aa451[_0x42d121(0x1ec)]=_0x4a865b[_0x42d121(0x1ec)]||null,_0x3aa451['kind']=_0x59cd13,_0x3aa451[_0x42d121(0x218)]=_0x4a865b[_0x42d121(0x218)]||{};const _0x3d78bb={};_0x3d78bb[_0x42d121(0x1be)]=_0x329392[_0x42d121(0x158)],_0x3d78bb[_0x42d121(0x177)]=[_0x3aa451],SessionHandler[_0x42d121(0x21b)](_0x3d78bb);}}function BrowserStackNewmanReporter(_0x1ef719,_0x429541,_0x3842c2){const _0x597638=a39_0x49af34,_0x3e5c0f={'dpfty':function(_0x2bb7d1,_0x29760c,_0x197381){return _0x2bb7d1(_0x29760c,_0x197381);},'txllB':function(_0x1b22c0,_0x58cee8){return _0x1b22c0(_0x58cee8);},'DwmCQ':function(_0x5b25b4,_0x254952){return _0x5b25b4(_0x254952);},'YRivo':function(_0x539542,_0x6a6f0){return _0x539542>_0x6a6f0;},'rMSKv':_0x597638(0x201),'nSAtU':function(_0x52b3ed,_0x58a9c0){return _0x52b3ed+_0x58a9c0;},'BVbVD':_0x597638(0x18d),'FRAaB':function(_0x4a34db,_0x49b5a5){return _0x4a34db(_0x49b5a5);},'MdYyo':function(_0x230145,_0x37c466,_0x9fc748){return _0x230145(_0x37c466,_0x9fc748);},'IFgNb':'TEST_LOG','LJOgg':function(_0x4821e0,_0x5f4ad6){return _0x4821e0+_0x5f4ad6;},'ddzgw':function(_0x310088){return _0x310088();},'avIjf':function(_0x7e3f00,_0x1933da){return _0x7e3f00||_0x1933da;},'btpIP':function(_0x15beba,_0x35b6a4,_0x12ba7b,_0x5ac2a0,_0x398437,_0x32d773){return _0x15beba(_0x35b6a4,_0x12ba7b,_0x5ac2a0,_0x398437,_0x32d773);},'CbApn':function(_0x1d194b,_0x612616){return _0x1d194b===_0x612616;},'NRSGx':_0x597638(0x14f),'ZoNPl':function(_0x14f5ff,_0xa019d4){return _0x14f5ff+_0xa019d4;},'fHLPc':function(_0x498dbc,_0x2fc79d){return _0x498dbc+_0x2fc79d;},'zwWBh':function(_0x28c243,_0x96ddd5){return _0x28c243+_0x96ddd5;},'tduVw':function(_0x4934d1,_0x1e1eed){return _0x4934d1+_0x1e1eed;},'nJRge':'\x20->\x20','Szepy':_0x597638(0x19a),'ElCJm':_0x597638(0x1ad),'EhAGi':function(_0x518399,_0x24bbd9){return _0x518399(_0x24bbd9);},'WDrSc':function(_0x161a52,_0x3b22e5){return _0x161a52>_0x3b22e5;},'JRuBR':function(_0x1bbafd,_0xfeb510){return _0x1bbafd-_0xfeb510;},'EtrHq':function(_0xb10b68,_0x3c06c0){return _0xb10b68(_0x3c06c0);},'LERUF':function(_0x1cb583,_0x54fe80){return _0x1cb583(_0x54fe80);},'qqrYR':function(_0x12e2e1,_0x5844f3){return _0x12e2e1(_0x5844f3);},'RdaaS':function(_0x480a4c,_0x1f22f3){return _0x480a4c&&_0x1f22f3;},'WGJgv':function(_0xf43c05,_0x352797){return _0xf43c05-_0x352797;},'HpcuA':function(_0x59c604,_0x1b4791,_0x16f938){return _0x59c604(_0x1b4791,_0x16f938);},'FuICa':_0x597638(0x152),'WMgBm':'ERROR','OBFXO':_0x597638(0x1ab),'MdygW':function(_0x4fabb1,_0x5ac4f3){return _0x4fabb1>_0x5ac4f3;},'iQTEB':function(_0x4c3d5a,_0x106243){return _0x4c3d5a-_0x106243;},'DeOlZ':_0x597638(0x20e),'uWghU':_0x597638(0x21c),'WznZK':_0x597638(0x1d7),'vQTBI':function(_0x3b1a4c,_0x829e87){return _0x3b1a4c(_0x829e87);},'Xfpzn':function(_0x355862,_0xd1f24f){return _0x355862+_0xd1f24f;},'VdIhV':'[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','gQkoN':'failed','ZbtzE':_0x597638(0x219),'YMDNz':function(_0x57fdf6,_0x40db3d){return _0x57fdf6===_0x40db3d;},'nPMxo':_0x597638(0x202),'JKaSR':'assert','peuxk':_0x597638(0x18c),'shNfm':function(_0x473eaa,_0x3b4a02,_0x4dbe84,_0x437707,_0x564d81,_0x2706b0){return _0x473eaa(_0x3b4a02,_0x4dbe84,_0x437707,_0x564d81,_0x2706b0);},'adhpa':function(_0x49a92d,_0x17b8a2){return _0x49a92d-_0x17b8a2;},'bMOxj':function(_0x42bc23,_0x2cbe66){return _0x42bc23>_0x2cbe66;},'cNMbn':function(_0x5dbc2e){return _0x5dbc2e();},'Yhnnt':function(_0x3f738d,_0x573612){return _0x3f738d!=_0x573612;},'tLBVD':function(_0x501a98,_0xcce953){return _0x501a98>=_0xcce953;},'SOftH':function(_0x7a45a3,_0x3aa989){return _0x7a45a3<_0x3aa989;},'yhntu':'N/A','svdDN':_0x597638(0x1c0),'AFYIl':function(_0x2b4dca,_0x2aa5ff){return _0x2b4dca+_0x2aa5ff;},'zxyQb':function(_0x4a7c78,_0x5e7ac2){return _0x4a7c78+_0x5e7ac2;},'sxpaA':function(_0x288c28,_0x160528){return _0x288c28+_0x160528;},'LWELY':function(_0x201293,_0x4c7938){return _0x201293+_0x4c7938;},'TYaxE':function(_0x378f97,_0x6441d5,_0x5eb757){return _0x378f97(_0x6441d5,_0x5eb757);},'rUrAZ':function(_0x338c6b,_0x3a1ccf){return _0x338c6b+_0x3a1ccf;},'XJoCC':function(_0x3908ae,_0x5bb583){return _0x3908ae+_0x5bb583;},'GpNwI':'HTTP\x20Status:\x20','cJOSG':_0x597638(0x1a1),'emlxl':function(_0x13e38e,_0x56045c){return _0x13e38e(_0x56045c);},'EouhZ':_0x597638(0x179),'Xwspn':'beforeIteration','SSOeM':_0x597638(0x1c5),'FWqHr':'request','ZjNRp':_0x597638(0x1b7),'IsCQj':'console','Kcdnf':_0x597638(0x204),'pnJJb':_0x597638(0x14a),'qIOmc':_0x597638(0x1f4)},_0xb5eece=new Map();let _0x3b20d6=null,_0x2c5d1b=0x0;const _0x50ce7c=_0x3e5c0f[_0x597638(0x168)](resolveCollectionFile,_0x3842c2,_0x429541),_0x19b848=_0x3e5c0f['qqrYR'](resolveCollectionName,_0x3842c2)||_0x50ce7c,_0x5be5cb=path['resolve'](_0x50ce7c),_0x247d0f=_0x597638(0x169)+process[_0x597638(0x183)],_0x5b6342=_0x4d8dc1=>{const _0x412425=_0x597638;try{_0x3b20d6&&_0x3e5c0f['dpfty'](emitLog,_0x3b20d6,_0x4d8dc1);}catch(_0xa54c55){_0x3e5c0f[_0x412425(0x1a5)](debug,_0x412425(0x1f8)+_0xa54c55);}};process['on'](_0x247d0f,_0x5b6342),_0x1ef719['on'](_0x3e5c0f[_0x597638(0x135)],()=>{const _0xbf79f2=_0x597638;process['removeListener'](_0x247d0f,_0x5b6342),_0xb5eece[_0xbf79f2(0x1e9)]();}),_0x1ef719['on'](_0x3e5c0f[_0x597638(0x143)],(_0x902d11,_0x340d24)=>{const _0x2fb77c=_0x597638;_0x340d24&&_0x340d24[_0x2fb77c(0x197)]&&(_0x2c5d1b=_0x340d24['cursor'][_0x2fb77c(0x1dd)]||0x0);}),_0x1ef719['on'](_0x3e5c0f['SSOeM'],(_0x395d7b,_0x913394)=>{const _0x30ce1e=_0x597638;try{_0x3b20d6=null;const _0x32edb0=_0x913394[_0x30ce1e(0x1f4)],_0x4bb808=_0x32edb0[_0x30ce1e(0x137)]()?_0x3e5c0f[_0x30ce1e(0x16c)](getParentTitles,_0x32edb0['parent']()):[],_0x2a0e34=_0x3e5c0f[_0x30ce1e(0x1a6)](_0x4bb808[_0x30ce1e(0x1b1)],0x1)?_0x4bb808[_0x30ce1e(0x225)](0x1):_0x4bb808,_0x1e7016=_0x913394['cursor']&&_0x913394['cursor'][_0x30ce1e(0x14b)],_0x452c12={'itemName':_0x32edb0['name'],'scopes':_0x2a0e34[_0x30ce1e(0x1f7)]([_0x32edb0[_0x30ce1e(0x1f3)]]),'location':_0x50ce7c,'collectionName':_0x19b848,'startedAt':new Date()[_0x30ce1e(0x1da)](),'startTimestamp':Date[_0x30ce1e(0x1eb)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0xb5eece[_0x30ce1e(0x213)](_0x32edb0['id']+'_'+_0x2c5d1b,_0x452c12),_0x1e7016&&_0xb5eece['set'](_0x1e7016+'_'+_0x2c5d1b,_0x452c12);}catch(_0xc1c8fb){_0x3e5c0f[_0x30ce1e(0x16c)](debug,_0x30ce1e(0x1d3)+_0xc1c8fb);}}),_0x1ef719['on'](_0x3e5c0f[_0x597638(0x1bb)],(_0x420f54,_0x3b0314)=>{const _0x38a100=_0x597638;try{if(!_0x3b0314||!_0x3b0314[_0x38a100(0x1f4)])return;const _0x1e15be=_0xb5eece[_0x38a100(0x18f)](_0x3b0314['item']['id']+'_'+_0x2c5d1b);if(!_0x1e15be)return;_0x3b0314[_0x38a100(0x1c9)]&&(_0x1e15be[_0x38a100(0x1b5)]=_0x3b0314['response'][_0x38a100(0x18b)]||null);if(!_0x3b0314[_0x38a100(0x175)])return;let _0xabe2c2='',_0x5532c3='';if(_0x3b0314[_0x38a100(0x175)][_0x38a100(0x14d)])try{const _0x27ce6f=_0x3b0314['request'][_0x38a100(0x14d)][_0x38a100(0x16f)](),_0x2b447f=new URL(_0x27ce6f['startsWith'](_0x3e5c0f[_0x38a100(0x205)])?_0x27ce6f:'http://'+_0x27ce6f);_0xabe2c2=_0x2b447f[_0x38a100(0x1aa)],_0x5532c3=_0x3e5c0f[_0x38a100(0x1ea)](_0x2b447f[_0x38a100(0x154)],_0x2b447f[_0x38a100(0x1b6)]);}catch(_0x31579e){_0x5532c3=_0x3b0314['request']['url'][_0x38a100(0x16f)]();}const _0x1a17a2={};_0x1a17a2[_0x38a100(0x1f9)]=_0xabe2c2,_0x1a17a2['path']=_0x5532c3,_0x1a17a2[_0x38a100(0x16a)]=_0x3b0314[_0x38a100(0x175)][_0x38a100(0x16a)]||_0x3e5c0f['BVbVD'],_0x1a17a2[_0x38a100(0x1f1)]={},_0x1a17a2['status_code']=_0x3b0314['response']?_0x3b0314[_0x38a100(0x1c9)]['code']||0x0:0x0,_0x1a17a2[_0x38a100(0x19b)]=_0x3b0314[_0x38a100(0x1c9)]?_0x3b0314[_0x38a100(0x1c9)]['responseTime']||0x0:0x0,_0x1e15be[_0x38a100(0x1e0)]=_0x1a17a2;}catch(_0x4fbffb){_0x3e5c0f[_0x38a100(0x144)](debug,_0x38a100(0x15f)+_0x4fbffb);}}),_0x1ef719['on'](_0x3e5c0f['ZjNRp'],(_0x2a1a2b,_0x135b2b)=>{const _0x421eae=_0x597638;try{if(!_0x135b2b||!_0x135b2b[_0x421eae(0x1f4)])return;const _0x898105=_0xb5eece['get'](_0x135b2b[_0x421eae(0x1f4)]['id']+'_'+_0x2c5d1b);if(!_0x898105)return;const _0x42174e=_0x135b2b[_0x421eae(0x1b7)]||_0x421eae(0x1c3)+_0x3e5c0f[_0x421eae(0x170)](_0x898105[_0x421eae(0x13c)][_0x421eae(0x1b1)],0x1),_0x313c98=_0x3e5c0f[_0x421eae(0x1a0)](uuidv4),_0x43116d=_0x898105['scopes'][_0x421eae(0x1f7)]([_0x42174e])[_0x421eae(0x142)]('\x20');_0x898105['assertions'][_0x421eae(0x1a9)]({'uuid':_0x313c98,'name':_0x42174e,'identifier':_0x43116d,'err':_0x3e5c0f['avIjf'](_0x2a1a2b,null)});const _0x31c22d={};_0x31c22d['uuid']=_0x313c98,_0x31c22d[_0x421eae(0x1f3)]=_0x42174e,_0x31c22d[_0x421eae(0x198)]=_0x43116d,_0x3e5c0f[_0x421eae(0x19c)](emitTest,HookState['PRE'],_0x31c22d,_0x898105,_0x5be5cb,{});_0x3e5c0f['CbApn'](_0x898105[_0x421eae(0x13c)][_0x421eae(0x1b1)],0x1)&&_0x3e5c0f[_0x421eae(0x1a6)](_0x898105['bufferedLogs'][_0x421eae(0x1b1)],0x0)&&(_0x898105[_0x421eae(0x1b8)][_0x421eae(0x184)](_0x3d368a=>{const _0x143f88=_0x421eae;_0x3e5c0f['MdYyo'](emitLog,_0x313c98,{'kind':_0x3e5c0f['IFgNb'],'message':_0x3d368a[_0x143f88(0x1ec)],'level':_0x3d368a[_0x143f88(0x134)]});}),_0x898105[_0x421eae(0x1b8)]=[]);if(_0x898105[_0x421eae(0x1e0)]){_0x3e5c0f[_0x421eae(0x190)](emitLog,_0x313c98,{'kind':_0x3e5c0f[_0x421eae(0x185)],'http_response':_0x898105[_0x421eae(0x1e0)]});const _0x1ce4dd=_0x3e5c0f[_0x421eae(0x1ea)](_0x3e5c0f[_0x421eae(0x1c8)](_0x3e5c0f[_0x421eae(0x1ea)](_0x3e5c0f[_0x421eae(0x1ea)](_0x3e5c0f[_0x421eae(0x1fb)](_0x3e5c0f[_0x421eae(0x1ea)](_0x3e5c0f[_0x421eae(0x178)](_0x3e5c0f[_0x421eae(0x1e6)](_0x898105['httpLog'][_0x421eae(0x16a)]||_0x3e5c0f['BVbVD'],'\x20'),_0x898105[_0x421eae(0x1e0)]['host']),_0x898105[_0x421eae(0x1e0)][_0x421eae(0x203)]),_0x3e5c0f['nJRge']),_0x898105[_0x421eae(0x1e0)][_0x421eae(0x1a3)]),'\x20('),_0x898105['httpLog'][_0x421eae(0x19b)]),_0x3e5c0f[_0x421eae(0x1b3)]);_0x3e5c0f[_0x421eae(0x191)](emitLog,_0x313c98,{'kind':_0x3e5c0f[_0x421eae(0x224)],'message':_0x1ce4dd,'level':_0x3e5c0f[_0x421eae(0x1e3)]});}_0x3b20d6=_0x313c98;}catch(_0x132d94){_0x3e5c0f['EhAGi'](debug,'[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20'+_0x132d94);}}),_0x1ef719['on'](_0x3e5c0f[_0x597638(0x17c)],(_0x145889,_0x2cfa62)=>{const _0x3425b0=_0x597638;try{if(!_0x2cfa62)return;let _0x18af32=_0x3b20d6;if(!_0x18af32&&_0x2cfa62['cursor']&&_0x2cfa62[_0x3425b0(0x197)][_0x3425b0(0x14b)]){const _0x30f03f=_0xb5eece[_0x3425b0(0x18f)](_0x2cfa62[_0x3425b0(0x197)]['ref']+'_'+_0x2c5d1b);_0x30f03f&&_0x3e5c0f[_0x3425b0(0x1de)](_0x30f03f[_0x3425b0(0x13c)]['length'],0x0)&&(_0x18af32=_0x30f03f[_0x3425b0(0x13c)][_0x3e5c0f[_0x3425b0(0x17e)](_0x30f03f[_0x3425b0(0x13c)]['length'],0x1)]['uuid']);}const _0x5e6f04=_0x2cfa62['messages']?_0x2cfa62[_0x3425b0(0x181)][_0x3425b0(0x142)](',\x20'):'';if(_0x18af32)_0x3e5c0f[_0x3425b0(0x190)](emitLog,_0x18af32,{'kind':_0x3e5c0f[_0x3425b0(0x224)],'message':_0x5e6f04,'level':_0x3e5c0f[_0x3425b0(0x1cc)](normalizeLogLevel,_0x2cfa62[_0x3425b0(0x134)])});else{if(_0x2cfa62[_0x3425b0(0x197)]&&_0x2cfa62[_0x3425b0(0x197)][_0x3425b0(0x14b)]){const _0x2dc585=_0xb5eece[_0x3425b0(0x18f)](_0x2cfa62[_0x3425b0(0x197)][_0x3425b0(0x14b)]+'_'+_0x2c5d1b);_0x2dc585&&_0x2dc585[_0x3425b0(0x1b8)][_0x3425b0(0x1a9)]({'timestamp':new Date()[_0x3425b0(0x1da)](),'level':_0x3e5c0f['LERUF'](normalizeLogLevel,_0x2cfa62[_0x3425b0(0x134)]),'message':_0x5e6f04});}}}catch(_0x47aa96){_0x3e5c0f[_0x3425b0(0x1ef)](debug,_0x3425b0(0x1db)+_0x47aa96);}}),_0x1ef719['on'](_0x3e5c0f[_0x597638(0x182)],(_0x139af6,_0xe8c6c5)=>{const _0x4b8e32=_0x597638;try{if(!_0x139af6&&(!_0xe8c6c5||!_0xe8c6c5[_0x4b8e32(0x1ed)]))return;const _0x53e616=_0x139af6||_0xe8c6c5[_0x4b8e32(0x1ed)],_0x516933=_0x53e616[_0x4b8e32(0x1ec)]||_0x3e5c0f[_0x4b8e32(0x1cc)](String,_0x53e616),_0x4bf4fe=_0x53e616[_0x4b8e32(0x167)]||_0x516933;let _0x23b48c=_0x3b20d6;if(_0x3e5c0f[_0x4b8e32(0x20f)](!_0x23b48c,_0xe8c6c5)&&_0xe8c6c5[_0x4b8e32(0x197)]&&_0xe8c6c5[_0x4b8e32(0x197)][_0x4b8e32(0x14b)]){const _0x268eea=_0xb5eece[_0x4b8e32(0x18f)](_0xe8c6c5[_0x4b8e32(0x197)][_0x4b8e32(0x14b)]+'_'+_0x2c5d1b);_0x268eea&&_0x3e5c0f[_0x4b8e32(0x1de)](_0x268eea[_0x4b8e32(0x13c)][_0x4b8e32(0x1b1)],0x0)&&(_0x23b48c=_0x268eea['assertions'][_0x3e5c0f['WGJgv'](_0x268eea[_0x4b8e32(0x13c)]['length'],0x1)][_0x4b8e32(0x163)]);}_0x23b48c&&_0x3e5c0f['HpcuA'](emitLog,_0x23b48c,{'kind':_0x3e5c0f['IFgNb'],'message':_0x3e5c0f['LJOgg'](_0x3e5c0f[_0x4b8e32(0x226)],_0x4bf4fe),'level':_0x3e5c0f[_0x4b8e32(0x222)]});}catch(_0x343c3f){_0x3e5c0f[_0x4b8e32(0x1ee)](debug,_0x3e5c0f['fHLPc'](_0x3e5c0f[_0x4b8e32(0x1bc)],_0x343c3f));}}),_0x1ef719['on'](_0x3e5c0f[_0x597638(0x1bf)],(_0x3be882,_0x2d2924)=>{const _0x2b2f14=_0x597638;try{if(!_0x2d2924||!_0x2d2924[_0x2b2f14(0x1c6)])return;let _0x22d9f1=_0x3b20d6;if(!_0x22d9f1&&_0x2d2924[_0x2b2f14(0x197)]&&_0x2d2924[_0x2b2f14(0x197)][_0x2b2f14(0x14b)]){const _0x1be587=_0xb5eece[_0x2b2f14(0x18f)](_0x2d2924[_0x2b2f14(0x197)]['ref']+'_'+_0x2c5d1b);_0x1be587&&_0x3e5c0f[_0x2b2f14(0x176)](_0x1be587[_0x2b2f14(0x13c)]['length'],0x0)&&(_0x22d9f1=_0x1be587[_0x2b2f14(0x13c)][_0x3e5c0f[_0x2b2f14(0x1ae)](_0x1be587[_0x2b2f14(0x13c)]['length'],0x1)][_0x2b2f14(0x163)]);}if(!_0x22d9f1)return;const _0x78129e=_0x2d2924['event']&&_0x2d2924[_0x2b2f14(0x13d)][_0x2b2f14(0x217)]||_0x3e5c0f[_0x2b2f14(0x192)];_0x3be882&&_0x3e5c0f[_0x2b2f14(0x191)](emitLog,_0x22d9f1,{'kind':_0x3e5c0f[_0x2b2f14(0x224)],'message':_0x3e5c0f[_0x2b2f14(0x1c8)](_0x3e5c0f['LJOgg'](_0x3e5c0f[_0x2b2f14(0x1e6)](_0x3e5c0f[_0x2b2f14(0x157)],_0x78129e),_0x3e5c0f[_0x2b2f14(0x1a4)]),_0x3be882['message']||_0x3be882),'level':_0x3e5c0f[_0x2b2f14(0x222)]});}catch(_0x44abe6){_0x3e5c0f['vQTBI'](debug,_0x3e5c0f['Xfpzn'](_0x3e5c0f[_0x2b2f14(0x156)],_0x44abe6));}}),_0x1ef719['on'](_0x3e5c0f[_0x597638(0x180)],(_0x15e313,_0x132698)=>{const _0x1d5271=_0x597638,_0x2e3a1c={'AglwX':function(_0x1317b0,_0xf5652a,_0x55d01a){const _0x151467=a39_0x58bc;return _0x3e5c0f[_0x151467(0x190)](_0x1317b0,_0xf5652a,_0x55d01a);},'kgKOc':_0x3e5c0f['IFgNb']};try{if(!_0x132698||!_0x132698[_0x1d5271(0x1f4)])return;const _0x50d065=_0x132698[_0x1d5271(0x1f4)]['id']+'_'+_0x2c5d1b,_0x4eca4f=_0xb5eece['get'](_0x50d065);if(!_0x4eca4f)return;const _0x3b1c9d=new Date(),_0x4e5b6a=_0x3e5c0f[_0x1d5271(0x20a)](_0x3b1c9d[_0x1d5271(0x1d9)](),_0x4eca4f[_0x1d5271(0x162)]);if(_0x3e5c0f['bMOxj'](_0x4eca4f[_0x1d5271(0x13c)][_0x1d5271(0x1b1)],0x0))_0x4eca4f[_0x1d5271(0x13c)][_0x1d5271(0x184)](_0x55c446=>{const _0x3a0543=_0x1d5271,_0x6fd686=!!_0x55c446['err'],_0xd6c816={'finishedAt':_0x3b1c9d['toISOString'](),'durationMs':_0x4e5b6a,'result':_0x6fd686?_0x3e5c0f[_0x3a0543(0x1a8)]:_0x3e5c0f[_0x3a0543(0x19f)]};_0x6fd686&&(_0xd6c816[_0x3a0543(0x208)]=_0x55c446[_0x3a0543(0x155)][_0x3a0543(0x1ec)]||'',_0xd6c816[_0x3a0543(0x15c)]=_0x3e5c0f[_0x3a0543(0x1dc)](_0x55c446[_0x3a0543(0x155)][_0x3a0543(0x1f3)],_0x3e5c0f[_0x3a0543(0x173)])||_0x55c446['err'][_0x3a0543(0x1ec)]&&_0x55c446['err'][_0x3a0543(0x1ec)][_0x3a0543(0x1f5)](_0x3e5c0f[_0x3a0543(0x1fc)])?_0x3e5c0f[_0x3a0543(0x173)]:_0x3e5c0f['peuxk'],_0xd6c816['failure']=[{'backtrace':_0x55c446[_0x3a0543(0x155)]['stack']?_0x55c446[_0x3a0543(0x155)][_0x3a0543(0x167)][_0x3a0543(0x195)]('\x0a'):[_0x55c446[_0x3a0543(0x155)]['message']||''],'expanded':[]}]),_0x3e5c0f[_0x3a0543(0x145)](emitTest,HookState['POST'],_0x55c446,_0x4eca4f,_0x5be5cb,_0xd6c816);});else{const _0x271011=_0x3e5c0f[_0x1d5271(0x20c)](uuidv4),_0x9e45be=_0x4eca4f['lastResponseCode'],_0x469d50=_0x3e5c0f[_0x1d5271(0x214)](_0x9e45be,null)&&_0x3e5c0f[_0x1d5271(0x209)](_0x9e45be,0xc8)&&_0x3e5c0f['SOftH'](_0x9e45be,0x190),_0x14c66d=_0x4eca4f[_0x1d5271(0x166)]+_0x1d5271(0x160)+_0x3e5c0f[_0x1d5271(0x164)](_0x9e45be,_0x3e5c0f[_0x1d5271(0x13e)])+')',_0x16d964={'uuid':_0x271011,'name':_0x14c66d,'identifier':_0x4eca4f[_0x1d5271(0x20d)]['concat']([_0x14c66d])[_0x1d5271(0x142)]('\x20')},_0x1815c1={'finishedAt':_0x3b1c9d[_0x1d5271(0x1da)](),'durationMs':_0x4e5b6a,'result':_0x469d50?_0x3e5c0f[_0x1d5271(0x19f)]:_0x3e5c0f[_0x1d5271(0x1a8)]};!_0x469d50&&(_0x1815c1[_0x1d5271(0x208)]=_0x3e5c0f[_0x1d5271(0x214)](_0x9e45be,null)?'HTTP\x20'+_0x9e45be+'\x20—\x20response\x20status\x20in\x20failure\x20range':_0x3e5c0f[_0x1d5271(0x1ca)],_0x1815c1[_0x1d5271(0x15c)]=_0x3e5c0f[_0x1d5271(0x223)],_0x1815c1['failure']=[{'backtrace':[_0x1815c1[_0x1d5271(0x208)]],'expanded':[]}]);_0x3e5c0f[_0x1d5271(0x145)](emitTest,HookState[_0x1d5271(0x1f0)],_0x16d964,_0x4eca4f,_0x5be5cb,{}),_0x4eca4f[_0x1d5271(0x1b8)][_0x1d5271(0x184)](_0x3fef48=>{const _0x201c04=_0x1d5271;_0x2e3a1c[_0x201c04(0x15d)](emitLog,_0x271011,{'kind':_0x2e3a1c[_0x201c04(0x16d)],'message':_0x3fef48[_0x201c04(0x1ec)],'level':_0x3fef48['level']});});if(_0x4eca4f[_0x1d5271(0x1e0)]){_0x3e5c0f[_0x1d5271(0x191)](emitLog,_0x271011,{'kind':_0x3e5c0f[_0x1d5271(0x185)],'http_response':_0x4eca4f['httpLog']});const _0x456e06=_0x3e5c0f[_0x1d5271(0x1f6)](_0x3e5c0f[_0x1d5271(0x21f)](_0x3e5c0f[_0x1d5271(0x21f)](_0x3e5c0f['sxpaA'](_0x3e5c0f[_0x1d5271(0x19e)](_0x3e5c0f[_0x1d5271(0x1ea)](_0x3e5c0f[_0x1d5271(0x1b4)](_0x3e5c0f[_0x1d5271(0x170)](_0x4eca4f[_0x1d5271(0x1e0)][_0x1d5271(0x16a)]||_0x3e5c0f['BVbVD'],'\x20'),_0x4eca4f[_0x1d5271(0x1e0)]['host']),_0x4eca4f[_0x1d5271(0x1e0)]['path']),_0x3e5c0f[_0x1d5271(0x1d4)]),_0x4eca4f[_0x1d5271(0x1e0)]['status_code']),'\x20('),_0x4eca4f[_0x1d5271(0x1e0)]['duration_ms']),_0x3e5c0f[_0x1d5271(0x1b3)]);_0x3e5c0f[_0x1d5271(0x191)](emitLog,_0x271011,{'kind':_0x3e5c0f[_0x1d5271(0x224)],'message':_0x456e06,'level':_0x3e5c0f[_0x1d5271(0x1e3)]});}else _0x3e5c0f[_0x1d5271(0x16e)](emitLog,_0x271011,{'kind':_0x3e5c0f[_0x1d5271(0x224)],'message':_0x3e5c0f[_0x1d5271(0x206)](_0x3e5c0f['XJoCC'](_0x3e5c0f[_0x1d5271(0x1fd)],_0x3e5c0f[_0x1d5271(0x164)](_0x9e45be,_0x3e5c0f['yhntu'])),_0x3e5c0f[_0x1d5271(0x1c1)]),'level':_0x3e5c0f[_0x1d5271(0x1e3)]});_0x3e5c0f[_0x1d5271(0x145)](emitTest,HookState['POST'],_0x16d964,_0x4eca4f,_0x5be5cb,_0x1815c1);}_0xb5eece['delete'](_0x50d065),_0x132698[_0x1d5271(0x197)]&&_0x132698[_0x1d5271(0x197)]['ref']&&_0xb5eece[_0x1d5271(0x21d)](_0x132698[_0x1d5271(0x197)][_0x1d5271(0x14b)]+'_'+_0x2c5d1b);}catch(_0x4913d0){_0x3e5c0f[_0x1d5271(0x1e2)](debug,_0x1d5271(0x133)+_0x4913d0);}});}module[a39_0x49af34(0x21e)]=BrowserStackNewmanReporter;function a39_0x28d7(){const _0xb5e3ef=['zwWBh','done','collectionName','collection','IsCQj','backtrace','JRuBR','umftc','qIOmc','messages','Kcdnf','pid','forEach','NRSGx','VbaFB','TestRunStarted','Eglji','nhtGb','platformIndex','code','UnhandledError','GET','testFrameworkName','get','MdYyo','dpfty','DeOlZ','nGXfW','argv','split','../../v2/state/testFrameworkState','cursor','identifier','test_run_uuid','ms)','duration_ms','btpIP','hpjLD','sxpaA','ZbtzE','ddzgw','\x20(no\x20assertions)','failure_reason_expanded','status_code','WznZK','txllB','YRivo','../../../helpers/logger','gQkoN','push','hostname','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','yBMEP','INFO','iQTEB','XDTCj','dtvqk','length','indexOf','Szepy','LWELY','lastResponseCode','search','assertion','bufferedLogs','collectionPath','1427595ZPYEBU','FWqHr','OBFXO','2270718zEkyUi','event_type','pnJJb','No\x20HTTP\x20response\x20received','cJOSG','failure','Assertion\x20','SXdAe','beforeItem','execution','WARN','ZoNPl','response','svdDN','ERROR','EtrHq','[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json','hzqWK','QuXFy','toUpperCase','max','ZdAER','[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20','nJRge','58mPrCQh','1226592TzKzkG','):\x20','javascript','getTime','toISOString','[Newman\x20Reporter]\x20Error\x20in\x20console:\x20','YMDNz','iteration','WDrSc','DQXoL','httpLog','TEST_LOG','emlxl','ElCJm','run','TEST','tduVw','ZhJuP','testFrameworkState','clear','nSAtU','now','message','error','LERUF','qqrYR','PRE','headers','4152272uEWiSc','name','item','includes','AFYIl','concat','[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20','host','finishedAt','fHLPc','JKaSR','GpNwI','uxVst','resolve','nGoYM','http','AssertionError','path','exception','rMSKv','rUrAZ','../../v2/grpcClient','failureReason','tLBVD','adhpa','APJdB','cNMbn','scopes','unknown','RdaaS','failure_backtrace','hYMje','newman','set','Yhnnt','KQhjU','168UjistK','listen','http_response','passed','bgYQV','uploadEventData','Script\x20error\x20(','delete','exports','zxyQb','[Newman\x20Reporter]\x20emitLog\x20error:\x20','relative','WMgBm','peuxk','IFgNb','slice','FuICa','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','level','EouhZ','location','parent','startsWith','kLWkS','../../../helpers/test-observability/sessionHandler','trackEvent','assertions','event','yhntu','getInstance','mgIvw','15872uhdjyx','join','Xwspn','FRAaB','shNfm','cwd','uSpsk','logCreatedEvent','result','script','ref','../../v2/browserstackCLI','url','TRACE','HTTP','3493903eyJwRU','HiNOf','Exception:\x20','Qxchd','pathname','err','VdIhV','uWghU','DYjKP','getTestFramework','info','cFUEB','failureType','AglwX','TestRunFinished','[Newman\x20Reporter]\x20Error\x20in\x20request:\x20','\x20(HTTP\x20','../../../helpers/test-observability/utils','startTimestamp','uuid','avIjf','timestamp','itemName','stack','HpcuA','bs:addLog:','method','startedAt','DwmCQ','kgKOc','TYaxE','toString','LJOgg','SUABs','kind','nPMxo','46955RGMUts','request','MdygW','logs'];a39_0x28d7=function(){return _0xb5e3ef;};return a39_0x28d7();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a40_0x37c38d=a40_0x4a10;(function(_0x5605d5,_0x488772){const _0x33d6ea=a40_0x4a10,_0x323cdb=_0x5605d5();while(!![]){try{const _0x19e5c7=parseInt(_0x33d6ea(0xa2))/0x1+parseInt(_0x33d6ea(0xc2))/0x2*(parseInt(_0x33d6ea(0x95))/0x3)+parseInt(_0x33d6ea(0xbb))/0x4*(parseInt(_0x33d6ea(0x8f))/0x5)+-parseInt(_0x33d6ea(0xa4))/0x6*(parseInt(_0x33d6ea(0x92))/0x7)+-parseInt(_0x33d6ea(0x99))/0x8*(parseInt(_0x33d6ea(0xbe))/0x9)+parseInt(_0x33d6ea(0x9e))/0xa*(parseInt(_0x33d6ea(0xa3))/0xb)+-parseInt(_0x33d6ea(0xa0))/0xc*(parseInt(_0x33d6ea(0xae))/0xd);if(_0x19e5c7===_0x488772)break;else _0x323cdb['push'](_0x323cdb['shift']());}catch(_0x2ee72a){_0x323cdb['push'](_0x323cdb['shift']());}}}(a40_0x474a,0x22183));const path=require('path'),Module=require(a40_0x37c38d(0xa7)),BrowserstackCLI=require('../v2/browserstackCLI'),scriptFile=process[a40_0x37c38d(0xc4)][0x2],maxParallel=parseInt(process[a40_0x37c38d(0xc4)][0x3])||0x0;!scriptFile&&(process[a40_0x37c38d(0xaf)]['write']('[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a'),process[a40_0x37c38d(0xab)](0x1));function a40_0x474a(){const _0x446f88=['reporters','join','139210MxnFsw','string','SYlzM','14vxUvXM','UIZgq','ujWob','625749pWdHtn','zjSQr','IHjPt','oGhMl','98376ViIKNa','collection','KnEXr','teJyX','DfJHi','8390xdbxUj','_load','516KXriWJ','newman-reporter-browserstack','179262VgYNgR','1331oBKlfD','827724SNszdE','[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20','AwScP','module','SBwZI','failures','zEIcM','exit','concat','newman','12142XrOTPT','stderr','MaJgP','collectionPath','write','exitCode','assign','resolve','message','FQNiY','bFbum','ZXSkv','run','4jhCJvg','reporter','cli','45Lzcyvk','rzeoC','bootstrap','call','2bmnjxi','FGWYF','argv','QScfg','_resolveFilename','IriNG','indexOf','browserstack'];a40_0x474a=function(){return _0x446f88;};return a40_0x474a();}const reporterPath=path[a40_0x37c38d(0x8e)](__dirname,a40_0x37c38d(0xbc),'index.js'),originalResolveFilename=Module[a40_0x37c38d(0x89)];Module['_resolveFilename']=function(_0x22750f,_0x5f4d56,_0x5cbb06,_0x2dc6b0){const _0x40c34a=a40_0x37c38d,_0x24481f={};_0x24481f['bFbum']=function(_0xe8ca1f,_0x52ce01){return _0xe8ca1f===_0x52ce01;},_0x24481f[_0x40c34a(0xb0)]=_0x40c34a(0xa1);const _0x5053d9=_0x24481f;if(_0x5053d9[_0x40c34a(0xb8)](_0x22750f,_0x5053d9['MaJgP']))return reporterPath;return originalResolveFilename[_0x40c34a(0xc1)](this,_0x22750f,_0x5f4d56,_0x5cbb06,_0x2dc6b0);};let limit;function a40_0x4a10(_0x4c4cb5,_0x36fb7a){const _0x474acb=a40_0x474a();return a40_0x4a10=function(_0x4a1074,_0x2b016f){_0x4a1074=_0x4a1074-0x89;let _0x133cf4=_0x474acb[_0x4a1074];return _0x133cf4;},a40_0x4a10(_0x4c4cb5,_0x36fb7a);}try{const pLimit=require('p-limit'),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a40_0x5a33f1){limit=function(_0x4af904){const _0x53240b=a40_0x37c38d,_0x10bfc4={'FGWYF':function(_0x364870){return _0x364870();}};return _0x10bfc4[_0x53240b(0xc3)](_0x4af904);};}let wrappedNewman=null,hasFailure=![];const originalLoad=Module['_load'];Module[a40_0x37c38d(0x9f)]=function(_0x509701,_0x329ab9,_0x12ae80){const _0x23ff3e=a40_0x37c38d,_0x1ca665={'UIZgq':function(_0x429511,_0x482363){return _0x429511>_0x482363;},'QScfg':function(_0x2e7c0d,_0x503f78){return _0x2e7c0d||_0x503f78;},'FQNiY':function(_0x532e6f,_0x8a5307,_0x1c8ac5){return _0x532e6f(_0x8a5307,_0x1c8ac5);},'bMpNa':function(_0x56cbbd,_0x5e3690){return _0x56cbbd(_0x5e3690);},'zEIcM':_0x23ff3e(0xbd),'IriNG':function(_0x307cfd,_0x245595){return _0x307cfd===_0x245595;},'rzeoC':'browserstack','IHjPt':_0x23ff3e(0x90),'DPrcu':function(_0xa768f4,_0x24308e){return _0xa768f4(_0x24308e);},'PFaiW':function(_0xdb3e41,_0x207569){return _0xdb3e41!==_0x207569;},'SQagd':_0x23ff3e(0xad)},_0x12084a=originalLoad[_0x23ff3e(0xc1)](this,_0x509701,_0x329ab9,_0x12ae80);if(_0x1ca665['PFaiW'](_0x509701,_0x1ca665['SQagd']))return _0x12084a;if(wrappedNewman)return wrappedNewman;const _0x21c40d=_0x12084a[_0x23ff3e(0xba)]['bind'](_0x12084a);return wrappedNewman=Object['create'](_0x12084a),wrappedNewman[_0x23ff3e(0xba)]=function(_0x2c1b35,_0x299f69){const _0x3f3567=_0x23ff3e,_0x1afab7={'oGhMl':function(_0x1bd7a9,_0x282707){const _0x332a1e=a40_0x4a10;return _0x1ca665[_0x332a1e(0x93)](_0x1bd7a9,_0x282707);},'KnEXr':function(_0x2ead0b,_0x5c8f36){const _0x5f09a7=a40_0x4a10;return _0x1ca665[_0x5f09a7(0xc5)](_0x2ead0b,_0x5c8f36);},'AwScP':function(_0xa3294e,_0x29e3df,_0x376406){const _0x1b46e4=a40_0x4a10;return _0x1ca665[_0x1b46e4(0xb7)](_0xa3294e,_0x29e3df,_0x376406);},'SBwZI':function(_0x3dc484,_0x57eb2a){return _0x1ca665['bMpNa'](_0x3dc484,_0x57eb2a);}};let _0x582451=_0x2c1b35[_0x3f3567(0x8d)]||[_0x1ca665[_0x3f3567(0xaa)]];_0x1ca665[_0x3f3567(0x8a)](_0x582451[_0x3f3567(0x8b)](_0x1ca665[_0x3f3567(0xbf)]),-0x1)&&(_0x582451=_0x582451[_0x3f3567(0xac)]([_0x1ca665[_0x3f3567(0xbf)]]));const _0x145316=_0x1ca665[_0x3f3567(0x8a)](typeof _0x2c1b35[_0x3f3567(0x9a)],_0x1ca665[_0x3f3567(0x97)])?_0x2c1b35[_0x3f3567(0x9a)]:undefined,_0x51741a={};_0x51741a[_0x3f3567(0xb1)]=_0x145316;const _0xd0b04b=Object[_0x3f3567(0xb4)]({},_0x2c1b35[_0x3f3567(0xbc)],{'browserstack':Object[_0x3f3567(0xb4)]({},_0x2c1b35[_0x3f3567(0xbc)]&&_0x2c1b35[_0x3f3567(0xbc)][_0x3f3567(0x8c)],_0x51741a)}),_0x14efb9={};return _0x14efb9[_0x3f3567(0x8d)]=_0x582451,_0x14efb9[_0x3f3567(0xbc)]=_0xd0b04b,_0x2c1b35=Object[_0x3f3567(0xb4)]({},_0x2c1b35,_0x14efb9),_0x1ca665['DPrcu'](limit,function(){const _0x1e904e={'vLJqs':function(_0x522821,_0x4d65c3){const _0x52313e=a40_0x4a10;return _0x1afab7[_0x52313e(0x98)](_0x522821,_0x4d65c3);},'DFecC':function(_0x39d876,_0xaf1555){const _0x5ce891=a40_0x4a10;return _0x1afab7[_0x5ce891(0x9b)](_0x39d876,_0xaf1555);},'SYlzM':function(_0x45c8eb,_0xee4f96,_0x87a0c3){const _0x3f6765=a40_0x4a10;return _0x1afab7[_0x3f6765(0xa6)](_0x45c8eb,_0xee4f96,_0x87a0c3);},'ujWob':function(_0x1c9b1d,_0x369f99){const _0x130e75=a40_0x4a10;return _0x1afab7[_0x130e75(0xa8)](_0x1c9b1d,_0x369f99);}};return new Promise(function(_0x2b093a){const _0x5d2065=a40_0x4a10;_0x1e904e[_0x5d2065(0x91)](_0x21c40d,_0x2c1b35,function(_0x3ed482,_0x50887b){const _0x560d0e=_0x5d2065,_0x47e51b=_0x50887b&&_0x50887b[_0x560d0e(0xba)]&&(_0x50887b[_0x560d0e(0xba)]['error']||_0x50887b[_0x560d0e(0xba)][_0x560d0e(0xa9)]&&_0x1e904e['vLJqs'](_0x50887b[_0x560d0e(0xba)][_0x560d0e(0xa9)]['length'],0x0));_0x1e904e['DFecC'](_0x47e51b,_0x3ed482)&&(hasFailure=!![]),_0x299f69&&_0x1e904e[_0x560d0e(0x91)](_0x299f69,_0x3ed482,_0x50887b),_0x1e904e[_0x560d0e(0x94)](_0x2b093a,_0x50887b);});});});},wrappedNewman;};async function main(){const _0x5ca84b=a40_0x37c38d,_0x5d9e96={'DfJHi':function(_0x25fa4f,_0x188837){return _0x25fa4f(_0x188837);},'ZXSkv':function(_0x5a3b12,_0x295aa8){return _0x5a3b12+_0x295aa8;},'zjSQr':function(_0x4a9318,_0x3b6e86){return _0x4a9318+_0x3b6e86;},'teJyX':_0x5ca84b(0xa5)};try{await BrowserstackCLI['getInstance']()[_0x5ca84b(0xc0)]();}catch(_0x47e658){}try{_0x5d9e96[_0x5ca84b(0x9d)](require,path[_0x5ca84b(0xb5)](scriptFile));}catch(_0x313bc8){process[_0x5ca84b(0xaf)][_0x5ca84b(0xb2)](_0x5d9e96[_0x5ca84b(0xb9)](_0x5d9e96[_0x5ca84b(0x96)](_0x5d9e96[_0x5ca84b(0x9c)],_0x313bc8[_0x5ca84b(0xb6)]||_0x313bc8),'\x0a')),process[_0x5ca84b(0xb3)]=0x1;}}main(),process['on']('beforeExit',function(){const _0x319f49=a40_0x37c38d;hasFailure&&(process[_0x319f49(0xb3)]=0x1);}),process['on']('exit',function(){const _0x2c8937=a40_0x37c38d,_0x1a3d80={};_0x1a3d80['dXEHJ']=function(_0x1a30ed,_0x150421){return _0x1a30ed===_0x150421;};const _0xbbc389=_0x1a3d80;hasFailure&&_0xbbc389['dXEHJ'](process[_0x2c8937(0xb3)],0x0)&&(process['exitCode']=0x1);});
2
+ 'use strict';const a40_0x2b31f3=a40_0x1d03;(function(_0x146f5f,_0x20360d){const _0x4adbf2=a40_0x1d03,_0x327e30=_0x146f5f();while(!![]){try{const _0x31d881=parseInt(_0x4adbf2(0x166))/0x1+parseInt(_0x4adbf2(0x167))/0x2*(parseInt(_0x4adbf2(0x162))/0x3)+-parseInt(_0x4adbf2(0x16b))/0x4+parseInt(_0x4adbf2(0x13d))/0x5*(parseInt(_0x4adbf2(0x16e))/0x6)+-parseInt(_0x4adbf2(0x142))/0x7+-parseInt(_0x4adbf2(0x153))/0x8*(parseInt(_0x4adbf2(0x172))/0x9)+parseInt(_0x4adbf2(0x146))/0xa;if(_0x31d881===_0x20360d)break;else _0x327e30['push'](_0x327e30['shift']());}catch(_0x2c562b){_0x327e30['push'](_0x327e30['shift']());}}}(a40_0x268d,0xcd670));const path=require(a40_0x2b31f3(0x164)),Module=require('module'),BrowserstackCLI=require('../v2/browserstackCLI'),scriptFile=process['argv'][0x2],maxParallel=parseInt(process[a40_0x2b31f3(0x16f)][0x3])||0x0;!scriptFile&&(process['stderr'][a40_0x2b31f3(0x170)]('[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a'),process['exit'](0x1));function a40_0x268d(){const _0x47b9ff=['HzXIl','Uzotq','indexOf','FJzUe','beforeExit','string','call','index.js','cli','browserstack','[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20','FmUBP','exitCode','DtRpi','3YRzNhL','VbkqI','path','nuZpz','608750hOTfVh','1853394OwODkG','DprxT','_load','bind','5161184CLvcMU','_resolveFilename','wzZyc','258294nSvSNH','argv','write','MFFWq','9GvcTlB','collectionPath','reporters','run','error','sfdSp','35zKbDKi','XXNts','RHkpR','nBELX','create','556878IHejpb','assign','concat','resolve','12668090xVsCKW','wSBNU','message','getInstance','failures','vNxpA','reporter','oeoQk','WxSrV','VeVEg','zHQmn','newman','bootstrap','7139368CrGfLr'];a40_0x268d=function(){return _0x47b9ff;};return a40_0x268d();}function a40_0x1d03(_0x3d2402,_0x296dfc){const _0x268df0=a40_0x268d();return a40_0x1d03=function(_0x1d032b,_0x15ab86){_0x1d032b=_0x1d032b-0x139;let _0x18be22=_0x268df0[_0x1d032b];return _0x18be22;},a40_0x1d03(_0x3d2402,_0x296dfc);}const reporterPath=path['join'](__dirname,'reporter',a40_0x2b31f3(0x15b)),originalResolveFilename=Module[a40_0x2b31f3(0x16c)];Module['_resolveFilename']=function(_0x2cba4b,_0x11ef90,_0x39ce07,_0x47de8e){const _0x3afb36=a40_0x2b31f3,_0x3e98dc={};_0x3e98dc[_0x3afb36(0x14d)]=function(_0xd82a8a,_0x29211b){return _0xd82a8a===_0x29211b;},_0x3e98dc[_0x3afb36(0x157)]='newman-reporter-browserstack';const _0xd06450=_0x3e98dc;if(_0xd06450[_0x3afb36(0x14d)](_0x2cba4b,_0xd06450['FJzUe']))return reporterPath;return originalResolveFilename[_0x3afb36(0x15a)](this,_0x2cba4b,_0x11ef90,_0x39ce07,_0x47de8e);};let limit;try{const pLimit=require('p-limit'),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a40_0x35f67d){limit=function(_0x43f8eb){const _0x2c1689=a40_0x2b31f3,_0x25adf2={'Uzotq':function(_0x1c3e79){return _0x1c3e79();}};return _0x25adf2[_0x2c1689(0x155)](_0x43f8eb);};}let wrappedNewman=null,hasFailure=![];const originalLoad=Module[a40_0x2b31f3(0x169)];Module['_load']=function(_0x59bb4a,_0x4fb171,_0x35ee20){const _0x4f66c8=a40_0x2b31f3,_0x22212a={'wSBNU':function(_0x45c475,_0x9fdb55){return _0x45c475>_0x9fdb55;},'CTlQO':function(_0x1b19ee,_0x1976a3){return _0x1b19ee||_0x1976a3;},'MFFWq':function(_0x2c6171,_0x5baf4e,_0xd0c69e){return _0x2c6171(_0x5baf4e,_0xd0c69e);},'DtRpi':function(_0x3f9529,_0x45e3c8){return _0x3f9529(_0x45e3c8);},'Bedtb':function(_0x667104,_0x29b908,_0x62e05d){return _0x667104(_0x29b908,_0x62e05d);},'VbkqI':_0x4f66c8(0x15c),'DprxT':function(_0xff6082,_0x4011b4){return _0xff6082===_0x4011b4;},'VeVEg':_0x4f66c8(0x15d),'nBELX':_0x4f66c8(0x159),'HzXIl':function(_0x275e0b,_0x140f98){return _0x275e0b(_0x140f98);},'UmNBu':function(_0x29f818,_0x49bd47){return _0x29f818!==_0x49bd47;},'PKpfo':_0x4f66c8(0x151)},_0x302fa0=originalLoad[_0x4f66c8(0x15a)](this,_0x59bb4a,_0x4fb171,_0x35ee20);if(_0x22212a['UmNBu'](_0x59bb4a,_0x22212a['PKpfo']))return _0x302fa0;if(wrappedNewman)return wrappedNewman;const _0x76565c=_0x302fa0['run'][_0x4f66c8(0x16a)](_0x302fa0);return wrappedNewman=Object[_0x4f66c8(0x141)](_0x302fa0),wrappedNewman[_0x4f66c8(0x13a)]=function(_0x5bdac7,_0x524be0){const _0xd7782=_0x4f66c8;let _0x769448=_0x5bdac7[_0xd7782(0x139)]||[_0x22212a[_0xd7782(0x163)]];_0x22212a['DprxT'](_0x769448[_0xd7782(0x156)](_0x22212a[_0xd7782(0x14f)]),-0x1)&&(_0x769448=_0x769448[_0xd7782(0x144)]([_0x22212a[_0xd7782(0x14f)]]));const _0x55ee23=_0x22212a[_0xd7782(0x168)](typeof _0x5bdac7['collection'],_0x22212a[_0xd7782(0x140)])?_0x5bdac7['collection']:undefined,_0x7f4043={};_0x7f4043[_0xd7782(0x173)]=_0x55ee23;const _0x1ad8b6=Object['assign']({},_0x5bdac7[_0xd7782(0x14c)],{'browserstack':Object[_0xd7782(0x143)]({},_0x5bdac7[_0xd7782(0x14c)]&&_0x5bdac7[_0xd7782(0x14c)][_0xd7782(0x15d)],_0x7f4043)}),_0x3935e9={};return _0x3935e9[_0xd7782(0x139)]=_0x769448,_0x3935e9[_0xd7782(0x14c)]=_0x1ad8b6,_0x5bdac7=Object[_0xd7782(0x143)]({},_0x5bdac7,_0x3935e9),_0x22212a[_0xd7782(0x154)](limit,function(){const _0x335684={'XXNts':function(_0x52489d,_0x2ce7b3){const _0x982db4=a40_0x1d03;return _0x22212a[_0x982db4(0x147)](_0x52489d,_0x2ce7b3);},'wzZyc':function(_0x22a57b,_0x32e07e){return _0x22212a['CTlQO'](_0x22a57b,_0x32e07e);},'sfdSp':function(_0x488001,_0x3d9214,_0xae4921){const _0x4b70a9=a40_0x1d03;return _0x22212a[_0x4b70a9(0x171)](_0x488001,_0x3d9214,_0xae4921);},'FmUBP':function(_0x20e68b,_0x3c3e55){const _0x13a907=a40_0x1d03;return _0x22212a[_0x13a907(0x161)](_0x20e68b,_0x3c3e55);},'RHkpR':function(_0x2ff36c,_0x488eee,_0x3fece3){return _0x22212a['Bedtb'](_0x2ff36c,_0x488eee,_0x3fece3);}};return new Promise(function(_0x7a9649){const _0x5f1a98=a40_0x1d03;_0x335684[_0x5f1a98(0x13f)](_0x76565c,_0x5bdac7,function(_0x59e090,_0x21ec74){const _0x26b748=_0x5f1a98,_0x2e0df3=_0x21ec74&&_0x21ec74[_0x26b748(0x13a)]&&(_0x21ec74['run'][_0x26b748(0x13b)]||_0x21ec74[_0x26b748(0x13a)]['failures']&&_0x335684[_0x26b748(0x13e)](_0x21ec74[_0x26b748(0x13a)][_0x26b748(0x14a)]['length'],0x0));_0x335684[_0x26b748(0x16d)](_0x2e0df3,_0x59e090)&&(hasFailure=!![]),_0x524be0&&_0x335684[_0x26b748(0x13c)](_0x524be0,_0x59e090,_0x21ec74),_0x335684[_0x26b748(0x15f)](_0x7a9649,_0x21ec74);});});});},wrappedNewman;};async function main(){const _0x40a785=a40_0x2b31f3,_0x54dd69={'vNxpA':function(_0x59e720,_0x1409de){return _0x59e720(_0x1409de);},'nuZpz':function(_0x5df8d2,_0x4dfdb8){return _0x5df8d2+_0x4dfdb8;},'WxSrV':_0x40a785(0x15e)};try{await BrowserstackCLI[_0x40a785(0x149)]()[_0x40a785(0x152)]();}catch(_0x253f1a){}try{_0x54dd69[_0x40a785(0x14b)](require,path[_0x40a785(0x145)](scriptFile));}catch(_0x15dd12){process['stderr'][_0x40a785(0x170)](_0x54dd69[_0x40a785(0x165)](_0x54dd69[_0x40a785(0x165)](_0x54dd69[_0x40a785(0x14e)],_0x15dd12[_0x40a785(0x148)]||_0x15dd12),'\x0a')),process[_0x40a785(0x160)]=0x1;}}main(),process['on'](a40_0x2b31f3(0x158),function(){hasFailure&&(process['exitCode']=0x1);}),process['on']('exit',function(){const _0x42c310=a40_0x2b31f3,_0xdf8b38={};_0xdf8b38[_0x42c310(0x150)]=function(_0x5ef603,_0x1c4231){return _0x5ef603===_0x1c4231;};const _0x3b5a90=_0xdf8b38;hasFailure&&_0x3b5a90[_0x42c310(0x150)](process[_0x42c310(0x160)],0x0)&&(process[_0x42c310(0x160)]=0x1);});
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a41_0x3f4c(){const _0x4928a1=['JjJyQ','modifyBrowserStackCaps','mergeDeep','hub.browserstack.com','info','length','../../helpers/logger','Deleting\x20','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','nMWRe','trim','slice','platform','platforms','855080qjMaeS','child_process','stringify','close','findIndex','QLEQe','111GdnNTm','nightwatch.cmd','path','webdriver','test','ofXKd','nightwatch','253YUMLfa','splice','../../helpers/helper','BjVpx','IjDKy','520688tjROVG','--config','yvQBE','start_process','MwrGY','nightwatch.json','7390593rSBVTJ','pucca','push','config','1246282ySXwTs','cwd','1384Mjdbbw','nightwatch.conf.js','LdHaW','BLwbM','env','now','modifyBrowserStackW3CCaps','writeFileSync','selenium','port','Getting\x20your\x20nightwatch\x20configs\x20from\x20','existsSync','hxyBy','883490KtinMZ','getPlatformName','kjzJo','join','6489pRxSgK','RjLUu','unlinkSync','JHbFh','6UVoYDB','inherit','test_settings','BaYXU','--env','useW3C','54460TolHDM','forEach'];a41_0x3f4c=function(){return _0x4928a1;};return a41_0x3f4c();}const a41_0x30ec16=a41_0x5795;function a41_0x5795(_0x18bb1d,_0x5c30b3){const _0x3f4c0d=a41_0x3f4c();return a41_0x5795=function(_0x579532,_0x5dd87d){_0x579532=_0x579532-0x148;let _0x4aa744=_0x3f4c0d[_0x579532];return _0x4aa744;},a41_0x5795(_0x18bb1d,_0x5c30b3);}(function(_0x32867f,_0x26df2c){const _0x59dcbb=a41_0x5795,_0xad6718=_0x32867f();while(!![]){try{const _0x355d28=-parseInt(_0x59dcbb(0x18a))/0x1+parseInt(_0x59dcbb(0x15e))/0x2*(parseInt(_0x59dcbb(0x174))/0x3)+-parseInt(_0x59dcbb(0x180))/0x4+parseInt(_0x59dcbb(0x150))/0x5+parseInt(_0x59dcbb(0x158))/0x6*(-parseInt(_0x59dcbb(0x186))/0x7)+parseInt(_0x59dcbb(0x18c))/0x8*(parseInt(_0x59dcbb(0x154))/0x9)+-parseInt(_0x59dcbb(0x16e))/0xa*(-parseInt(_0x59dcbb(0x17b))/0xb);if(_0x355d28===_0x26df2c)break;else _0xad6718['push'](_0xad6718['shift']());}catch(_0x285149){_0xad6718['push'](_0xad6718['shift']());}}}(a41_0x3f4c,0xcde6c));const fs=require('fs'),path=require(a41_0x30ec16(0x176)),{spawn}=require(a41_0x30ec16(0x16f)),logger=require(a41_0x30ec16(0x166))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a41_0x30ec16(0x17d)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x15ec60,_0x1d9fd8)=>{const _0x377017=a41_0x30ec16,_0x435e6f={'yvQBE':_0x377017(0x18d),'JHbFh':_0x377017(0x185),'nMWRe':function(_0x20576a,_0x2fba0c){return _0x20576a(_0x2fba0c);},'RjLUu':_0x377017(0x168)};let _0x270282=null,_0x3d5d7a={};const _0x1cb93d=_0x1d9fd8[_0x377017(0x172)](_0x540a15=>_0x540a15===_0x377017(0x181));if(!helper['isUndefined'](_0x15ec60[_0x377017(0x189)])&&fs[_0x377017(0x14e)](path['join'](process[_0x377017(0x18b)](),_0x15ec60[_0x377017(0x189)])))_0x270282=path[_0x377017(0x153)](process[_0x377017(0x18b)](),_0x15ec60[_0x377017(0x189)]),_0x1d9fd8['splice'](_0x1cb93d,0x2);else{if(fs[_0x377017(0x14e)](path['join'](process['cwd'](),_0x435e6f[_0x377017(0x182)])))_0x270282=path[_0x377017(0x153)](process[_0x377017(0x18b)](),_0x435e6f[_0x377017(0x182)]);else fs[_0x377017(0x14e)](path[_0x377017(0x153)](process[_0x377017(0x18b)](),_0x435e6f['JHbFh']))&&(_0x270282=path['join'](process['cwd'](),_0x435e6f[_0x377017(0x157)]));}return _0x270282?(logger[_0x377017(0x164)](_0x377017(0x14d)+_0x270282),_0x3d5d7a=_0x435e6f[_0x377017(0x169)](require,_0x270282)):logger[_0x377017(0x164)](_0x435e6f[_0x377017(0x155)]),_0x3d5d7a;},removeExistingEnvs=_0x1c0c7c=>{const _0x40ab46=a41_0x30ec16,_0x44ea5d={};_0x44ea5d[_0x40ab46(0x184)]=function(_0x20e626,_0x158d6b){return _0x20e626>_0x158d6b;},_0x44ea5d['ofXKd']=function(_0x9bd7ca,_0x3981ba){return _0x9bd7ca>_0x3981ba;};const _0x5d1550=_0x44ea5d;let _0x12adaf=_0x1c0c7c[_0x40ab46(0x172)](_0x10839e=>_0x10839e===_0x40ab46(0x15c));_0x5d1550[_0x40ab46(0x184)](_0x12adaf,-0x1)&&_0x1c0c7c[_0x40ab46(0x17c)](_0x12adaf,0x2),_0x12adaf=_0x1c0c7c[_0x40ab46(0x172)](_0x88c179=>_0x88c179==='-e'),_0x5d1550[_0x40ab46(0x179)](_0x12adaf,-0x1)&&_0x1c0c7c[_0x40ab46(0x17c)](_0x12adaf,0x2);};function run(_0x1f3f82,_0xad65c1,_0x5946d4){const _0xb93a68=a41_0x30ec16,_0xafdc3a={'IjDKy':_0xb93a68(0x17a),'QLEQe':function(_0x1c36ec,_0x4741aa){return _0x1c36ec+_0x4741aa;},'GqIhk':_0xb93a68(0x15a),'JjJyQ':function(_0xd6c052,_0x14c9ef,_0x2efa43){return _0xd6c052(_0x14c9ef,_0x2efa43);},'gROpK':_0xb93a68(0x163),'kjzJo':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','wKTrz':function(_0x533573,_0x316fee){return _0x533573===_0x316fee;},'pucca':'nightwatch-browserstack.json','BLwbM':function(_0x35ed0c,_0x4cc18c){return _0x35ed0c(_0x4cc18c);},'vhisY':function(_0x3803ce,_0x7b15de,_0x5bab69,_0x382aa6){return _0x3803ce(_0x7b15de,_0x5bab69,_0x382aa6);},'UNNFb':_0xb93a68(0x175),'LdHaW':_0xb93a68(0x181),'BaYXU':'--env','hxyBy':_0xb93a68(0x159),'BjVpx':_0xb93a68(0x171)};if(!_0x5946d4[_0xb93a68(0x189)])return;const _0x38fc7a=_0xafdc3a[_0xb93a68(0x160)](getUserNightwatchConfigs,_0x1f3f82,_0xad65c1),_0x3e29b8={};_0x3e29b8[_0xb93a68(0x183)]=![];const _0x19c27d={};_0x19c27d['host']=_0xafdc3a['gROpK'],_0x19c27d[_0xb93a68(0x14c)]=0x1bb;const _0xde32ed={};_0xde32ed[_0xb93a68(0x177)]=_0x3e29b8,_0xde32ed[_0xb93a68(0x14b)]=_0x19c27d;const _0x42300b=_0xde32ed;logger[_0xb93a68(0x164)](_0xafdc3a[_0xb93a68(0x152)]);const _0x60287f={..._0x38fc7a},_0x28fb8c=_0x60287f,_0x3109d7=helper[_0xb93a68(0x15d)](_0x5946d4[_0xb93a68(0x189)]),_0x2f05a8=[];_0x5946d4['config'][_0xb93a68(0x16d)][_0xb93a68(0x15f)]((_0x23b9b2,_0x8fdefa)=>{const _0x21b554=_0xb93a68;_0x3109d7?_0x2f05a8['push'](helper[_0x21b554(0x149)](_0x5946d4[_0x21b554(0x189)],_0xafdc3a[_0x21b554(0x17f)],_0x8fdefa)):_0x2f05a8[_0x21b554(0x188)](helper[_0x21b554(0x161)](_0x5946d4[_0x21b554(0x189)],_0xafdc3a[_0x21b554(0x17f)],_0x8fdefa));});const _0x1208df={},_0x740e5d=[];_0x1f3f82[_0xb93a68(0x190)]=_0x1f3f82[_0xb93a68(0x190)]||_0x1f3f82['e'];const _0xc6047=_0x1f3f82['env']?_0x1f3f82[_0xb93a68(0x190)][_0xb93a68(0x16a)]()['split'](',')['map'](_0x2a2ba9=>_0x2a2ba9[_0xb93a68(0x16a)]())['filter'](_0xf09ac3=>_0xf09ac3!==''):[''];_0xafdc3a['wKTrz'](_0xc6047[_0xb93a68(0x165)],0x0)&&_0xc6047[_0xb93a68(0x188)]('');_0xc6047['forEach'](_0x23c143=>{const _0x212fef=_0xb93a68;_0x2f05a8[_0x212fef(0x15f)](_0x3c3795=>{const _0x4aa94a=_0x212fef;let _0xb3fc99=_0xafdc3a[_0x4aa94a(0x173)](helper[_0x4aa94a(0x151)](_0x3c3795,'_'),'_'+Date[_0x4aa94a(0x148)]());_0x23c143&&(_0xb3fc99+='_'+_0x23c143);if(_0x23c143&&(!_0x38fc7a[_0xafdc3a['GqIhk']]||!_0x38fc7a[_0xafdc3a['GqIhk']][_0x23c143]))return;const _0x40732e={..._0x42300b};_0x40732e['desiredCapabilities']=_0x3c3795;const _0x965f98=_0x40732e;_0x1208df[_0xb3fc99]=_0x23c143?helper[_0x4aa94a(0x162)](_0x38fc7a[_0xafdc3a['GqIhk']][_0x23c143],_0x965f98):_0x965f98,_0x740e5d[_0x4aa94a(0x188)](_0xb3fc99);});});!_0x28fb8c['test_settings']&&(_0x28fb8c[_0xb93a68(0x15a)]={});_0x28fb8c['test_settings']={..._0x28fb8c['test_settings'],..._0x1208df};const _0x36046e=path[_0xb93a68(0x153)](__dirname,_0xafdc3a[_0xb93a68(0x187)]);fs[_0xb93a68(0x14a)](_0x36046e,JSON[_0xb93a68(0x170)](_0x28fb8c)),_0xafdc3a[_0xb93a68(0x18f)](removeExistingEnvs,_0xad65c1);const _0x34b8fe=_0xafdc3a['vhisY'](spawn,/^win/[_0xb93a68(0x178)](process[_0xb93a68(0x16c)])?_0xafdc3a['UNNFb']:_0xafdc3a[_0xb93a68(0x17f)],[_0xafdc3a[_0xb93a68(0x18e)],_0x36046e,..._0xad65c1[_0xb93a68(0x16b)](0x1),_0xafdc3a[_0xb93a68(0x15b)],_0x740e5d[_0xb93a68(0x153)](',')],{'stdio':_0xafdc3a[_0xb93a68(0x14f)]});_0x34b8fe['on'](_0xafdc3a[_0xb93a68(0x17e)],async _0x50e1bb=>{const _0x164142=_0xb93a68;logger['debug']('child\x20process\x20exited\x20with\x20code\x20'+_0x50e1bb),logger[_0x164142(0x164)](_0x164142(0x167)+_0x36046e),fs[_0x164142(0x156)](_0x36046e);});}module['exports']=run;
2
+ 'use strict';const a41_0x5deb4e=a41_0x1617;(function(_0xeacd35,_0x37bbae){const _0x113a7e=a41_0x1617,_0x302a40=_0xeacd35();while(!![]){try{const _0x3d50d3=parseInt(_0x113a7e(0x224))/0x1*(parseInt(_0x113a7e(0x1fb))/0x2)+-parseInt(_0x113a7e(0x21d))/0x3*(parseInt(_0x113a7e(0x1f7))/0x4)+parseInt(_0x113a7e(0x1f8))/0x5*(parseInt(_0x113a7e(0x1ff))/0x6)+-parseInt(_0x113a7e(0x21e))/0x7+-parseInt(_0x113a7e(0x211))/0x8+-parseInt(_0x113a7e(0x230))/0x9+-parseInt(_0x113a7e(0x22a))/0xa*(-parseInt(_0x113a7e(0x23d))/0xb);if(_0x3d50d3===_0x37bbae)break;else _0x302a40['push'](_0x302a40['shift']());}catch(_0x1ffeed){_0x302a40['push'](_0x302a40['shift']());}}}(a41_0x3846,0x74cdb));const fs=require('fs'),path=require(a41_0x5deb4e(0x20a)),{spawn}=require(a41_0x5deb4e(0x201)),logger=require('../../helpers/logger')[a41_0x5deb4e(0x23a)],{default:BrowserStackSetup}=require(a41_0x5deb4e(0x217)),helper=require(a41_0x5deb4e(0x20f)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x5ad122,_0x5bd204)=>{const _0x1645d8=a41_0x5deb4e,_0x18abdb={'oVWTA':_0x1645d8(0x205),'TMcPu':_0x1645d8(0x22b),'AjcKn':function(_0x34b37d,_0x1a724f){return _0x34b37d(_0x1a724f);},'IbrZq':_0x1645d8(0x218)};let _0x19611c=null,_0x188e02={};const _0x3de8d5=_0x5bd204['findIndex'](_0x5b595f=>_0x5b595f===_0x1645d8(0x239));if(!helper[_0x1645d8(0x22d)](_0x5ad122[_0x1645d8(0x220)])&&fs['existsSync'](path['join'](process[_0x1645d8(0x1fa)](),_0x5ad122[_0x1645d8(0x220)])))_0x19611c=path[_0x1645d8(0x1f6)](process['cwd'](),_0x5ad122[_0x1645d8(0x220)]),_0x5bd204['splice'](_0x3de8d5,0x2);else{if(fs[_0x1645d8(0x238)](path[_0x1645d8(0x1f6)](process[_0x1645d8(0x1fa)](),_0x18abdb[_0x1645d8(0x21b)])))_0x19611c=path[_0x1645d8(0x1f6)](process[_0x1645d8(0x1fa)](),_0x18abdb[_0x1645d8(0x21b)]);else fs['existsSync'](path['join'](process[_0x1645d8(0x1fa)](),_0x18abdb[_0x1645d8(0x208)]))&&(_0x19611c=path[_0x1645d8(0x1f6)](process[_0x1645d8(0x1fa)](),_0x18abdb['TMcPu']));}return _0x19611c?(logger[_0x1645d8(0x232)](_0x1645d8(0x22c)+_0x19611c),_0x188e02=_0x18abdb[_0x1645d8(0x1f5)](require,_0x19611c)):logger['info'](_0x18abdb[_0x1645d8(0x20b)]),_0x188e02;},removeExistingEnvs=_0x5c288c=>{const _0x487613=a41_0x5deb4e,_0x3c0e71={};_0x3c0e71['XxlDX']=function(_0x40c3e0,_0x37be91){return _0x40c3e0>_0x37be91;},_0x3c0e71[_0x487613(0x227)]=function(_0x3b2716,_0x3370e7){return _0x3b2716>_0x3370e7;};const _0x8e8593=_0x3c0e71;let _0x400b6d=_0x5c288c['findIndex'](_0x2d5dda=>_0x2d5dda===_0x487613(0x212));_0x8e8593['XxlDX'](_0x400b6d,-0x1)&&_0x5c288c[_0x487613(0x234)](_0x400b6d,0x2),_0x400b6d=_0x5c288c[_0x487613(0x216)](_0x3d6da4=>_0x3d6da4==='-e'),_0x8e8593[_0x487613(0x227)](_0x400b6d,-0x1)&&_0x5c288c[_0x487613(0x234)](_0x400b6d,0x2);};function a41_0x3846(){const _0x237201=['port','child_process','trim','xrfki','env','nightwatch.conf.js','start_process','hITrY','TMcPu','exports','path','IbrZq','stringify','child\x20process\x20exited\x20with\x20code\x20','now','../../helpers/helper','nightwatch.cmd','4427912uXRrYy','--env','BvpJn','HKaSx','kAENv','findIndex','../../helpers/BrowserStackSetup','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','unlinkSync','DYvUV','oVWTA','webdriver','452157pWpOtJ','1294881hEOFPL','gnNAO','config','useW3C','push','NMjRx','10763xABGib','desiredCapabilities','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','RKsQw','filter','vPWMe','4878850rRZgsV','nightwatch.json','Getting\x20your\x20nightwatch\x20configs\x20from\x20','isUndefined','test_settings','inherit','3747825NWbdDW','getPlatformName','info','forEach','splice','slice','platforms','host','existsSync','--config','winstonLogger','NIkWU','WXNzX','33Uekdmw','test','selenium','AjcKn','join','4wRABMF','10yluDku','nightwatch-browserstack.json','cwd','56RpKbrG','split','map','length','57072OstmmZ'];a41_0x3846=function(){return _0x237201;};return a41_0x3846();}function a41_0x1617(_0x4633ff,_0xc34013){const _0x3846ac=a41_0x3846();return a41_0x1617=function(_0x16178f,_0x48daad){_0x16178f=_0x16178f-0x1f4;let _0x43a62a=_0x3846ac[_0x16178f];return _0x43a62a;},a41_0x1617(_0x4633ff,_0xc34013);}function run(_0x357436,_0x524187,_0x4c3de3){const _0x704045=a41_0x5deb4e,_0x12143a={'NMjRx':'nightwatch','BvpJn':function(_0x2646ad,_0x230f30){return _0x2646ad+_0x230f30;},'DYvUV':'test_settings','NIkWU':function(_0x4c2f2d,_0x535f3e,_0x5b9ffc){return _0x4c2f2d(_0x535f3e,_0x5b9ffc);},'kAENv':'hub.browserstack.com','gnNAO':_0x704045(0x226),'vPWMe':function(_0x3df088,_0xdba3d4){return _0x3df088===_0xdba3d4;},'Csijw':_0x704045(0x1f9),'hOVCW':function(_0x168703,_0x353448){return _0x168703(_0x353448);},'HKaSx':function(_0x499ec5,_0x5d2e02,_0x280180,_0x4f92b4){return _0x499ec5(_0x5d2e02,_0x280180,_0x4f92b4);},'nPJCF':_0x704045(0x210),'xrfki':_0x704045(0x239),'WVjwe':_0x704045(0x212),'hITrY':_0x704045(0x22f),'WXNzX':'close'};if(!_0x4c3de3[_0x704045(0x220)])return;const _0x17a8ce=_0x12143a[_0x704045(0x23b)](getUserNightwatchConfigs,_0x357436,_0x524187),_0x385095={};_0x385095[_0x704045(0x206)]=![];const _0x37379c={};_0x37379c[_0x704045(0x237)]=_0x12143a[_0x704045(0x215)],_0x37379c[_0x704045(0x200)]=0x1bb;const _0x3c88ff={};_0x3c88ff[_0x704045(0x21c)]=_0x385095,_0x3c88ff[_0x704045(0x1f4)]=_0x37379c;const _0x347dd3=_0x3c88ff;logger[_0x704045(0x232)](_0x12143a[_0x704045(0x21f)]);const _0x130199={..._0x17a8ce},_0x2565fc=_0x130199,_0x214178=helper[_0x704045(0x221)](_0x4c3de3[_0x704045(0x220)]),_0x22455a=[];_0x4c3de3['config'][_0x704045(0x236)][_0x704045(0x233)]((_0x16bf7a,_0x383b3d)=>{const _0x9caee4=_0x704045;_0x214178?_0x22455a[_0x9caee4(0x222)](helper['modifyBrowserStackW3CCaps'](_0x4c3de3[_0x9caee4(0x220)],_0x12143a[_0x9caee4(0x223)],_0x383b3d)):_0x22455a[_0x9caee4(0x222)](helper['modifyBrowserStackCaps'](_0x4c3de3[_0x9caee4(0x220)],_0x12143a[_0x9caee4(0x223)],_0x383b3d));});const _0x4f2b07={},_0x3c4d52=[];_0x357436['env']=_0x357436[_0x704045(0x204)]||_0x357436['e'];const _0x2147a5=_0x357436[_0x704045(0x204)]?_0x357436['env'][_0x704045(0x202)]()[_0x704045(0x1fc)](',')[_0x704045(0x1fd)](_0x57008e=>_0x57008e[_0x704045(0x202)]())[_0x704045(0x228)](_0x476787=>_0x476787!==''):[''];_0x12143a[_0x704045(0x229)](_0x2147a5[_0x704045(0x1fe)],0x0)&&_0x2147a5[_0x704045(0x222)]('');_0x2147a5[_0x704045(0x233)](_0x3ece97=>{const _0xac14b5=_0x704045;_0x22455a[_0xac14b5(0x233)](_0x473b14=>{const _0xce6509=_0xac14b5;let _0x2663ba=_0x12143a[_0xce6509(0x213)](helper[_0xce6509(0x231)](_0x473b14,'_'),'_'+Date[_0xce6509(0x20e)]());_0x3ece97&&(_0x2663ba+='_'+_0x3ece97);if(_0x3ece97&&(!_0x17a8ce[_0x12143a[_0xce6509(0x21a)]]||!_0x17a8ce[_0x12143a[_0xce6509(0x21a)]][_0x3ece97]))return;const _0x67049a={..._0x347dd3};_0x67049a[_0xce6509(0x225)]=_0x473b14;const _0xa0936d=_0x67049a;_0x4f2b07[_0x2663ba]=_0x3ece97?helper['mergeDeep'](_0x17a8ce[_0x12143a[_0xce6509(0x21a)]][_0x3ece97],_0xa0936d):_0xa0936d,_0x3c4d52[_0xce6509(0x222)](_0x2663ba);});});!_0x2565fc['test_settings']&&(_0x2565fc['test_settings']={});_0x2565fc['test_settings']={..._0x2565fc[_0x704045(0x22e)],..._0x4f2b07};const _0xcd6a31=path[_0x704045(0x1f6)](__dirname,_0x12143a['Csijw']);fs['writeFileSync'](_0xcd6a31,JSON[_0x704045(0x20c)](_0x2565fc)),_0x12143a['hOVCW'](removeExistingEnvs,_0x524187);const _0x59898a=_0x12143a[_0x704045(0x214)](spawn,/^win/[_0x704045(0x23e)](process['platform'])?_0x12143a['nPJCF']:_0x12143a[_0x704045(0x223)],[_0x12143a[_0x704045(0x203)],_0xcd6a31,..._0x524187[_0x704045(0x235)](0x1),_0x12143a['WVjwe'],_0x3c4d52[_0x704045(0x1f6)](',')],{'stdio':_0x12143a[_0x704045(0x207)]});_0x59898a['on'](_0x12143a[_0x704045(0x23c)],async _0x29a1e9=>{const _0x3ed803=_0x704045;logger['debug'](_0x3ed803(0x20d)+_0x29a1e9),logger[_0x3ed803(0x232)]('Deleting\x20'+_0xcd6a31),fs[_0x3ed803(0x219)](_0xcd6a31);});}module[a41_0x5deb4e(0x209)]=run;