browserstack-node-sdk 1.61.0 → 1.62.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (218) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/browserstack.pw.yml.sample +10 -0
  41. package/browserstack.yml.sample +10 -0
  42. package/package.json +1 -1
  43. package/src/ai-sdk-node/bundle.js +1 -1
  44. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  45. package/src/bin/codeceptjs/command.js +1 -1
  46. package/src/bin/codeceptjs/helper.js +1 -1
  47. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  48. package/src/bin/cucumber-js/command.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  50. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  51. package/src/bin/cucumber-js/test-observability.js +1 -1
  52. package/src/bin/cucumber-js/test.setup.js +1 -1
  53. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  54. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  55. package/src/bin/integrations/command.js +1 -1
  56. package/src/bin/integrations/constants.js +1 -1
  57. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  58. package/src/bin/jasmine/command.js +1 -1
  59. package/src/bin/jasmine/test.setup.js +1 -1
  60. package/src/bin/jasmine/testRunMap.js +1 -1
  61. package/src/bin/jest/command.js +1 -1
  62. package/src/bin/jest/customImplements/customCircus.js +1 -1
  63. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  64. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  65. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  66. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  67. package/src/bin/jest/jest.setup.js +1 -1
  68. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  69. package/src/bin/jest/test-observability/helper.js +1 -1
  70. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  71. package/src/bin/jest/test-observability/test-details.js +1 -1
  72. package/src/bin/jest/test.setup.js +1 -1
  73. package/src/bin/jest/test_before.setup.js +1 -1
  74. package/src/bin/launcher/launcher.js +1 -1
  75. package/src/bin/load/index.js +1 -1
  76. package/src/bin/load/loadUtils.js +1 -1
  77. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  78. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  79. package/src/bin/mocha/command.js +1 -1
  80. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  81. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  82. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  83. package/src/bin/mocha/test.setup.js +1 -1
  84. package/src/bin/newman/command.js +1 -1
  85. package/src/bin/newman/helper.js +1 -1
  86. package/src/bin/newman/reporter/index.js +1 -1
  87. package/src/bin/newman/scriptRunner.js +1 -1
  88. package/src/bin/nightwatch/command.js +1 -1
  89. package/src/bin/playwright/accessibility-helper.js +1 -1
  90. package/src/bin/playwright/command.js +1 -1
  91. package/src/bin/playwright/globalSetup.js +1 -1
  92. package/src/bin/playwright/mock-process.js +1 -1
  93. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  94. package/src/bin/playwright/patches.js +1 -1
  95. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  96. package/src/bin/playwright/reporter/reporter.js +1 -1
  97. package/src/bin/playwright/reporter/test-details.js +1 -1
  98. package/src/bin/playwright/sessionDetails.js +1 -1
  99. package/src/bin/puppeteer/patches.js +1 -1
  100. package/src/bin/puppeteer/sessionDetails.js +1 -1
  101. package/src/bin/puppeteer/test.setup.js +1 -1
  102. package/src/bin/runner.js +1 -1
  103. package/src/bin/setup.js +1 -1
  104. package/src/bin/test-runner/index.js +1 -1
  105. package/src/bin/test-runner/runTest.js +1 -1
  106. package/src/bin/test-runner/testWorker.js +1 -1
  107. package/src/bin/testcafe/a11y-runner.js +1 -1
  108. package/src/bin/testcafe/command.js +1 -1
  109. package/src/bin/testcafe/reporter/index.js +1 -1
  110. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  111. package/src/bin/testcafe/session-registry.js +1 -1
  112. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  113. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  114. package/src/bin/testcafe/w3c-driver.js +1 -1
  115. package/src/bin/utils/apiUtilityMethods.js +1 -1
  116. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  117. package/src/bin/utils/constants.js +1 -1
  118. package/src/bin/utils/log4jsAppender.js +1 -1
  119. package/src/bin/utils/logPatcher.js +1 -1
  120. package/src/bin/utils/logReportingAPI.js +1 -1
  121. package/src/bin/utils/playwright-patcher.js +1 -1
  122. package/src/bin/utils/puppeteer-patcher.js +1 -1
  123. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  124. package/src/bin/utils/sharedUtils.js +1 -1
  125. package/src/bin/v2/TestInfo.js +1 -1
  126. package/src/bin/v2/browserstackCLI.js +1 -1
  127. package/src/bin/v2/cliUtils.js +1 -1
  128. package/src/bin/v2/customTagManager.js +1 -1
  129. package/src/bin/v2/eventDispatcher.js +1 -1
  130. package/src/bin/v2/framework/automationFramework.js +1 -1
  131. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  132. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  133. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  134. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  135. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  136. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  137. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  138. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  139. package/src/bin/v2/framework/testFramework.js +1 -1
  140. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  141. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  142. package/src/bin/v2/grpcClient.js +1 -1
  143. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  144. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  145. package/src/bin/v2/instances/trackedContext.js +1 -1
  146. package/src/bin/v2/instances/trackedInstance.js +1 -1
  147. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  148. package/src/bin/v2/modules/baseModule.js +1 -1
  149. package/src/bin/v2/modules/loadTestModule.js +1 -1
  150. package/src/bin/v2/modules/observabilityModule.js +1 -1
  151. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  152. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  153. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  154. package/src/bin/v2/modules/testhubModule.js +1 -1
  155. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  156. package/src/bin/v2/state/hookState.js +1 -1
  157. package/src/bin/v2/state/testFrameworkState.js +1 -1
  158. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  159. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  160. package/src/bin/v2/utils/jest-utils.js +1 -1
  161. package/src/bin/vanilla-js/command.js +1 -1
  162. package/src/browserStackSdk.js +1 -1
  163. package/src/helpers/BrowserStackSetup.js +1 -1
  164. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  165. package/src/helpers/accessibility-automation/constants.js +1 -1
  166. package/src/helpers/accessibility-automation/helper.js +1 -1
  167. package/src/helpers/accessibility-automation/scripts.js +1 -1
  168. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  169. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  170. package/src/helpers/ats/constants.js +1 -1
  171. package/src/helpers/ats/helper.js +1 -1
  172. package/src/helpers/caCertHelper.js +1 -1
  173. package/src/helpers/capsMapping.js +1 -1
  174. package/src/helpers/central-scanner/constants.js +1 -1
  175. package/src/helpers/central-scanner/helpers.js +1 -1
  176. package/src/helpers/classLogger.js +1 -1
  177. package/src/helpers/driverInitErrorReporter.js +1 -1
  178. package/src/helpers/globals.js +1 -1
  179. package/src/helpers/helper.js +1 -1
  180. package/src/helpers/logger.js +1 -1
  181. package/src/helpers/metadata.js +1 -1
  182. package/src/helpers/patchHelper.js +1 -1
  183. package/src/helpers/patchHelpers.js +1 -1
  184. package/src/helpers/percy/Percy.js +1 -1
  185. package/src/helpers/percy/PercyBinary.js +1 -1
  186. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  187. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  188. package/src/helpers/percy/PercySDK.js +1 -1
  189. package/src/helpers/percy/index.js +1 -1
  190. package/src/helpers/percy/utils.js +1 -1
  191. package/src/helpers/performance/constants.js +1 -1
  192. package/src/helpers/performance/performance-tester.js +1 -1
  193. package/src/helpers/playwright-helper.js +1 -1
  194. package/src/helpers/processHelper.js +1 -1
  195. package/src/helpers/puppeteer-helper.js +1 -1
  196. package/src/helpers/request-spy.js +1 -1
  197. package/src/helpers/setKeepAlive.js +1 -1
  198. package/src/helpers/stackFrameUtils.js +1 -1
  199. package/src/helpers/test-observability/constants.js +1 -1
  200. package/src/helpers/test-observability/error-handler.js +1 -1
  201. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  202. package/src/helpers/test-observability/sessionHandler.js +1 -1
  203. package/src/helpers/test-observability/utils.js +1 -1
  204. package/src/helpers/test-orchestration/constants.js +1 -1
  205. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  206. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  207. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  208. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  209. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  210. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  211. package/src/helpers/testhub/constants.js +1 -1
  212. package/src/helpers/testhub/testhubHandler.js +1 -1
  213. package/src/helpers/testhub/utils.js +1 -1
  214. package/src/helpers/timeoutPromise.js +1 -1
  215. package/src/helpers/utilities.js +1 -1
  216. package/src/helpers/w3cMapping.js +1 -1
  217. package/src/hubAllocationMethods.js +1 -1
  218. package/src/index.js +1 -1
@@ -1 +1 @@
1
- 'use strict';const a43_0x8ea3b7=a43_0x277c;(function(_0x543842,_0x533227){const _0x15d8fc=a43_0x277c,_0x12bba6=_0x543842();while(!![]){try{const _0x42f7b9=parseInt(_0x15d8fc(0x1dd))/0x1*(-parseInt(_0x15d8fc(0x194))/0x2)+parseInt(_0x15d8fc(0x1bd))/0x3+parseInt(_0x15d8fc(0x15f))/0x4*(-parseInt(_0x15d8fc(0x1a0))/0x5)+parseInt(_0x15d8fc(0x211))/0x6*(-parseInt(_0x15d8fc(0x1ee))/0x7)+parseInt(_0x15d8fc(0x16b))/0x8+-parseInt(_0x15d8fc(0x1a7))/0x9+parseInt(_0x15d8fc(0x24f))/0xa;if(_0x42f7b9===_0x533227)break;else _0x12bba6['push'](_0x12bba6['shift']());}catch(_0x1cccc9){_0x12bba6['push'](_0x12bba6['shift']());}}}(a43_0x4f1d,0x5d8ef));function a43_0x277c(_0xdfa52b,_0x146f21){const _0x4f1d6e=a43_0x4f1d();return a43_0x277c=function(_0x277c6a,_0x3aee42){_0x277c6a=_0x277c6a-0x15f;let _0x2d7a93=_0x4f1d6e[_0x277c6a];return _0x2d7a93;},a43_0x277c(_0xdfa52b,_0x146f21);}function a43_0x4f1d(){const _0x134ee9=['now','5043400fdrWuI','../../v2/state/hookState','KbksD','EZKdF','ref','pHQXd','headers','stack','durationMs','iteration','SOKNa','SNhuG','collection.json','http://','ULYYZ','run','pending','612CbZRwA','platformIndex','argv','cigYI','TRACE','resolve','split','set','path','trackEvent','[Newman\x20Reporter]\x20Error\x20in\x20request:\x20','KMbtR','2087800KesArc','dsbWo','qvqwS','PRE','identifier','../../../helpers/test-observability/utils','duration_ms','N/A','testFrameworkState','javascript','get','concat','CSLuc','logs','TYHBK','RWOBl','response','srnvY','VUDyJ','jsVtE','failure','POST','vyHzx','iTsdx','lxUTr','logCreatedEvent','wgVcO','backtrace','VaAyh','FJQdl','startsWith','sghnN','HTTP\x20Status:\x20','tGHOF','TEST','dJAhL','search','failureReason','test_run','udkgo','[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json','310qvpgsK','sXSbu','whgdV','itemName','exception','PPZkn','uHQVO','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','swNUa','pid','vGsVi','passed','14615pGLxFx','hteQL','level','hBGLU','UQTjb','eNzkR','../../v2/state/testFrameworkState','388773ArksQS','BKGny','artGM','code','result','HJURM','htGUg','gZtUg','jTZsb','wGziN','tTBvm','WARN','push','GeQni','responseTime','err','HSZJK','[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20','winstonLogger','assertions','../../../helpers/logger','gpqKQ','2239071KIdldc','dyswz','newman','BIczE','assertion','bs:addLog:','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','pathname','UouzL','sgPAk','stringify','status_code','tTOpf','ezEyp','includes','url','HLoZJ','testFrameworkVersion','location','ERwyO','IsnrN','hmlmU','CzQHN','Hlyia','jHVee','exports','slice','assert','startedAt','CRpRh','test_run_uuid','lnbVs','545HQRXgq','No\x20HTTP\x20response\x20received','OcLXw','forEach','collection','TestRunStarted','http','max','../../v2/browserstackCLI','timestamp','dFBvH','parent','script','gxIan','failed','object','nMoRN','273CFMgWF','qBjCh','error','LogCreated','Script\x20error\x20(','finishedAt','removeListener','unknown','scopes','omeHB','oxzDy','boEIg','hrexh','beforeItem','cwd','\x20(HTTP\x20','message','ms)','uuid','HTTP','ERROR','length','testFrameworkName','indexOf','vFIDV','SJCnb','bufferedLogs','name','uSAbG','LbAKy','\x20->\x20','WMqAk','toString','../../../helpers/test-observability/sessionHandler','qxKUS','85164QipjFt','gIpHV','cdmdP','fILmE','event','SISHj','toISOString','HTTP\x20','host','SwRxS','AfwQZ','):\x20','wGfnW','collectionPath','relative','join','KCWia','HrpFL','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','clear','nSLJJ','FCdmB','DEBUG','YSPvS','AssertionError','INFO','OlsoD','[Newman\x20Reporter]\x20emitLog\x20error:\x20','KtcCU','wXoSH','startTimestamp','getTestFramework','nOZFL','collectionName','request','gDecO','item','expanded','getInstance','method','info','failureType','fFoYE','cursor','[Newman\x20Reporter]\x20Error\x20in\x20console:\x20','toUpperCase','event_type','tuRNy','http_response','TEST_LOG','UnhandledError','wVdrW','hMKMp','httpLog','zEUcg','lastResponseCode','sgEpQ','listen','done','svIUH','console'];a43_0x4f1d=function(){return _0x134ee9;};return a43_0x4f1d();}const path=require(a43_0x8ea3b7(0x167)),{v4:uuidv4}=require(a43_0x8ea3b7(0x200)),SessionHandler=require(a43_0x8ea3b7(0x20f)),{debug}=require(a43_0x8ea3b7(0x170)),logger=require(a43_0x8ea3b7(0x1bb))[a43_0x8ea3b7(0x1b9)],BrowserstackCLI=require(a43_0x8ea3b7(0x1e5)),GrpcClient=require('../../v2/grpcClient'),TestFrameworkState=require(a43_0x8ea3b7(0x1a6)),HookState=require(a43_0x8ea3b7(0x250)),LOG_LEVELS=['INFO',a43_0x8ea3b7(0x1b2),a43_0x8ea3b7(0x202),a43_0x8ea3b7(0x227),a43_0x8ea3b7(0x163)];function isCLIRunning(){const _0x1e8ad7=a43_0x8ea3b7;try{return BrowserstackCLI[_0x1e8ad7(0x237)]()['isRunning']();}catch(_0x183e20){return![];}}function getParentTitles(_0x5ba68e){const _0x1e7a85=a43_0x8ea3b7,_0x57028d={'srnvY':function(_0xa8bbf,_0x1bef50){return _0xa8bbf(_0x1bef50);},'zEUcg':function(_0x5a2ab0,_0x1e3f83){return _0x5a2ab0(_0x1e3f83);}},_0x143965=[],_0x4c1c87=_0x5ba68e[_0x1e7a85(0x1e8)]();return _0x4c1c87&&_0x143965[_0x1e7a85(0x1b3)]['apply'](_0x143965,_0x57028d[_0x1e7a85(0x17c)](getParentTitles,_0x4c1c87)),_0x5ba68e[_0x1e7a85(0x209)]&&_0x143965[_0x1e7a85(0x1b3)](_0x57028d[_0x1e7a85(0x247)](String,_0x5ba68e[_0x1e7a85(0x209)])),_0x143965;}function normalizeLogLevel(_0x233da9){const _0x17df9d=a43_0x8ea3b7,_0x49611d={};_0x49611d[_0x17df9d(0x22d)]=_0x17df9d(0x22a),_0x49611d['dJAhL']=function(_0x19c955,_0x1e9d1f){return _0x19c955!==_0x1e9d1f;};const _0x27e14d=_0x49611d;if(!_0x233da9)return _0x27e14d['KtcCU'];const _0x1fccf9=_0x233da9[_0x17df9d(0x23e)]();return _0x27e14d[_0x17df9d(0x18e)](LOG_LEVELS[_0x17df9d(0x205)](_0x1fccf9),-0x1)?_0x1fccf9:_0x27e14d[_0x17df9d(0x22d)];}function resolveCollectionFile(_0x145589,_0xbbcd5d){const _0x538d24=a43_0x8ea3b7,_0x5b2721={};_0x5b2721[_0x538d24(0x182)]=function(_0x31fad9,_0x52cd17){return _0x31fad9===_0x52cd17;},_0x5b2721[_0x538d24(0x1fa)]='string',_0x5b2721[_0x538d24(0x192)]=_0x538d24(0x25e),_0x5b2721[_0x538d24(0x1c0)]=function(_0x5c8071,_0x4383af){return _0x5c8071!==_0x4383af;},_0x5b2721[_0x538d24(0x17e)]=function(_0x2d42d6,_0x2ee416){return _0x2d42d6<_0x2ee416;},_0x5b2721[_0x538d24(0x195)]=function(_0xa921c,_0x4eb705){return _0xa921c+_0x4eb705;},_0x5b2721[_0x538d24(0x207)]=function(_0x4026ca,_0x30adec){return _0x4026ca+_0x30adec;},_0x5b2721['WMqAk']=_0x538d24(0x193),_0x5b2721[_0x538d24(0x206)]=_0x538d24(0x25b);const _0x27a6ab=_0x5b2721;try{if(_0xbbcd5d&&_0xbbcd5d[_0x538d24(0x21e)])return path['relative'](process[_0x538d24(0x1fc)](),path[_0x538d24(0x164)](_0xbbcd5d[_0x538d24(0x21e)]));const _0xf262fb=_0x145589[_0x538d24(0x1e1)];if(_0x27a6ab['iTsdx'](typeof _0xf262fb,_0x27a6ab[_0x538d24(0x1fa)]))return path[_0x538d24(0x21f)](process[_0x538d24(0x1fc)](),path['resolve'](_0xf262fb));const _0x400b67=process[_0x538d24(0x161)][_0x538d24(0x205)](_0x27a6ab[_0x538d24(0x192)]);if(_0x27a6ab[_0x538d24(0x1c0)](_0x400b67,-0x1)&&_0x27a6ab['jsVtE'](_0x27a6ab[_0x538d24(0x195)](_0x400b67,0x1),process[_0x538d24(0x161)][_0x538d24(0x203)])){const _0x3c7cb0=process[_0x538d24(0x161)][_0x27a6ab[_0x538d24(0x207)](_0x400b67,0x1)];if(_0x3c7cb0&&!_0x3c7cb0[_0x538d24(0x189)]('-'))return path[_0x538d24(0x21f)](process[_0x538d24(0x1fc)](),path[_0x538d24(0x164)](_0x3c7cb0));}}catch(_0xd18ea5){}return logger['info'](_0x27a6ab[_0x538d24(0x20d)]),_0x27a6ab['vFIDV'];}function resolveCollectionName(_0x5effea){const _0x3ae493=a43_0x8ea3b7,_0x2d6454={};_0x2d6454[_0x3ae493(0x1bc)]=function(_0x1ad476,_0x2eb1a9){return _0x1ad476===_0x2eb1a9;},_0x2d6454[_0x3ae493(0x1af)]=_0x3ae493(0x1ec);const _0x5e7147=_0x2d6454;try{const _0x578f10=_0x5effea[_0x3ae493(0x1e1)];if(_0x578f10&&_0x5e7147[_0x3ae493(0x1bc)](typeof _0x578f10,_0x5e7147[_0x3ae493(0x1af)]))return _0x578f10[_0x3ae493(0x209)]||_0x578f10[_0x3ae493(0x239)]&&_0x578f10[_0x3ae493(0x239)][_0x3ae493(0x209)]||null;}catch(_0x385ef0){}return null;}function emitTest(_0x5de430,_0x539a58,_0x27ed0a,_0x1ceee9,_0x23cd11){const _0x2300f6=a43_0x8ea3b7,_0x4ccb32={'vGsVi':function(_0x21b9e1){return _0x21b9e1();},'RWOBl':_0x2300f6(0x25f),'fILmE':function(_0x2e6947,_0x5386c3){return _0x2e6947(_0x5386c3);},'diVLJ':'newman','FCdmB':_0x2300f6(0x174),'tTBvm':function(_0x20ba7c,_0x4c0b31){return _0x20ba7c!=_0x4c0b31;},'vyHzx':function(_0x21fac7,_0x4067b0){return _0x21fac7===_0x4067b0;},'CQmOP':_0x2300f6(0x1e2),'HSZJK':'TestRunFinished'};if(_0x4ccb32[_0x2300f6(0x19e)](isCLIRunning))try{const _0x1def76=BrowserstackCLI[_0x2300f6(0x237)]()[_0x2300f6(0x230)]();if(!_0x1def76)return;_0x1def76[_0x2300f6(0x168)](TestFrameworkState[_0x2300f6(0x18d)],_0x5de430,{'test':{'uuid':_0x539a58['uuid'],'name':_0x539a58['name'],'scopes':_0x27ed0a[_0x2300f6(0x1f6)],'scope':_0x27ed0a[_0x2300f6(0x1f6)]['join']('\x20'),'file_path':_0x1ceee9,'location':_0x27ed0a[_0x2300f6(0x232)],'started_at':_0x27ed0a['startedAt'],'finished_at':_0x23cd11[_0x2300f6(0x1f3)]||null,'result':_0x23cd11[_0x2300f6(0x1ab)]||_0x4ccb32[_0x2300f6(0x17a)],'failure':_0x23cd11[_0x2300f6(0x17f)]||[],'failure_type':_0x23cd11[_0x2300f6(0x23a)]||null,'failure_reason':_0x23cd11['failureReason']||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x2d879e){_0x4ccb32[_0x2300f6(0x214)](debug,'[Newman\x20Reporter]\x20emitTest\x20error:\x20'+_0x2d879e);}else{const _0x19f4ad={'uuid':_0x539a58['uuid'],'name':_0x539a58[_0x2300f6(0x209)],'framework':_0x4ccb32['diVLJ'],'body':{'lang':_0x4ccb32[_0x2300f6(0x226)],'code':null},'scope':_0x27ed0a[_0x2300f6(0x1f6)][_0x2300f6(0x220)]('\x20'),'scopes':_0x27ed0a['scopes'],'identifier':_0x539a58[_0x2300f6(0x16f)],'file_name':_0x27ed0a['collectionName'],'vc_filepath':_0x27ed0a['location'],'location':_0x27ed0a[_0x2300f6(0x1cf)],'started_at':_0x27ed0a[_0x2300f6(0x1d9)],'finished_at':_0x23cd11[_0x2300f6(0x1f3)]||null,'duration_in_ms':_0x4ccb32[_0x2300f6(0x1b1)](_0x23cd11[_0x2300f6(0x257)],null)?Math[_0x2300f6(0x1e4)](0x0,_0x23cd11[_0x2300f6(0x257)]):null,'result':_0x23cd11['result']||_0x4ccb32[_0x2300f6(0x17a)],'failure_reason':_0x23cd11[_0x2300f6(0x190)]||null,'failure_type':_0x23cd11[_0x2300f6(0x23a)]||null,'failure':_0x23cd11[_0x2300f6(0x17f)]||[],'retry_of':null,'hooks':[]};_0x19f4ad[_0x2300f6(0x17f)][0x0]&&(_0x19f4ad['failure_backtrace']=_0x19f4ad['failure'][0x0][_0x2300f6(0x186)],_0x19f4ad['failure_reason_expanded']=_0x19f4ad[_0x2300f6(0x17f)][0x0][_0x2300f6(0x236)]);const _0x462f44=_0x4ccb32[_0x2300f6(0x181)](_0x5de430,HookState['PRE'])?_0x4ccb32['CQmOP']:_0x4ccb32[_0x2300f6(0x1b7)],_0x5b37e9={};_0x5b37e9[_0x2300f6(0x23f)]=_0x462f44,_0x5b37e9[_0x2300f6(0x191)]=_0x19f4ad,SessionHandler['uploadEventData'](_0x5b37e9);}}function emitLog(_0x4f9044,_0x2dfdce){const _0x431436=a43_0x8ea3b7,_0x77f70c={'KMbtR':'TEST_LOG','qBjCh':function(_0x373bed){return _0x373bed();},'CRpRh':function(_0x143d2f,_0x595a34){return _0x143d2f===_0x595a34;},'omeHB':_0x431436(0x201),'UxNWV':_0x431436(0x1bf),'ezEyp':_0x431436(0x18d),'cdmdP':_0x431436(0x22a),'xuGvT':function(_0x2e856f,_0xa50a5){return _0x2e856f(_0xa50a5);},'wGfnW':function(_0x5e2307,_0x47aac8){return _0x5e2307+_0x47aac8;},'SOKNa':_0x431436(0x22c),'tGHOF':_0x431436(0x1f1)},_0x48748b=_0x2dfdce['kind']||_0x77f70c[_0x431436(0x16a)],_0x580234=_0x2dfdce[_0x431436(0x1e6)]||new Date()[_0x431436(0x217)]();if(_0x77f70c[_0x431436(0x1ef)](isCLIRunning))try{const _0x326b38=_0x77f70c[_0x431436(0x1da)](_0x48748b,_0x77f70c[_0x431436(0x1f7)])?JSON[_0x431436(0x1c7)](_0x2dfdce):_0x2dfdce[_0x431436(0x1fe)]||'',_0x2a82e3={};_0x2a82e3[_0x431436(0x160)]=0x0,_0x2a82e3[_0x431436(0x204)]=_0x77f70c['UxNWV'],_0x2a82e3[_0x431436(0x1ce)]='',_0x2a82e3[_0x431436(0x173)]=_0x77f70c[_0x431436(0x1ca)],_0x2a82e3['logs']=[{'uuid':_0x4f9044,'timestamp':_0x580234,'kind':_0x48748b,'level':_0x2dfdce[_0x431436(0x1a2)]||_0x77f70c[_0x431436(0x213)],'message':_0x326b38}],GrpcClient['getInstance']()[_0x431436(0x184)](_0x2a82e3);}catch(_0x2e992d){_0x77f70c['xuGvT'](debug,_0x77f70c[_0x431436(0x21d)](_0x77f70c[_0x431436(0x259)],_0x2e992d));}else{const _0xbb646c={};_0xbb646c[_0x431436(0x1db)]=_0x4f9044,_0xbb646c[_0x431436(0x1e6)]=_0x580234,_0xbb646c[_0x431436(0x1a2)]=_0x2dfdce['level']||null,_0xbb646c[_0x431436(0x1fe)]=_0x2dfdce['message']||null,_0xbb646c['kind']=_0x48748b,_0xbb646c[_0x431436(0x241)]=_0x2dfdce['http_response']||{};const _0x3c6d5f={};_0x3c6d5f[_0x431436(0x23f)]=_0x77f70c[_0x431436(0x18c)],_0x3c6d5f[_0x431436(0x178)]=[_0xbb646c],SessionHandler['uploadEventData'](_0x3c6d5f);}}function BrowserStackNewmanReporter(_0x3fb548,_0x3d5112,_0x276662){const _0x557fc5=a43_0x8ea3b7,_0x5ba59d={'BTZmL':function(_0xda4587,_0x39f8cb,_0x13d936){return _0xda4587(_0x39f8cb,_0x13d936);},'gIpHV':function(_0x949311,_0x59c9d2){return _0x949311(_0x59c9d2);},'sghnN':function(_0x21c761,_0x3dbe19){return _0x21c761(_0x3dbe19);},'artGM':function(_0x57d758,_0x48ce49){return _0x57d758>_0x48ce49;},'qvqwS':function(_0x158a5c,_0x26928e){return _0x158a5c(_0x26928e);},'dFBvH':_0x557fc5(0x1e3),'jHVee':function(_0x1fd7c7,_0x42382b){return _0x1fd7c7+_0x42382b;},'gDecO':'GET','svIUH':function(_0x24087c,_0x37c7b0,_0x48dac5){return _0x24087c(_0x37c7b0,_0x48dac5);},'uHQVO':_0x557fc5(0x242),'lnbVs':function(_0x52dc74,_0x27de07){return _0x52dc74+_0x27de07;},'VaAyh':function(_0x290cda){return _0x290cda();},'boEIg':function(_0x3090df,_0x3b8d05){return _0x3090df||_0x3b8d05;},'wVdrW':function(_0x567fde,_0x5550d5,_0x5a5227,_0x4f36fb,_0xdd09a1,_0x443bf7){return _0x567fde(_0x5550d5,_0x5a5227,_0x4f36fb,_0xdd09a1,_0x443bf7);},'teTbl':function(_0x307b31,_0xcdb43d){return _0x307b31===_0xcdb43d;},'cigYI':function(_0x4a58aa,_0x4bdcdc){return _0x4a58aa>_0x4bdcdc;},'hBGLU':_0x557fc5(0x201),'VUDyJ':function(_0x2753ab,_0x96915e){return _0x2753ab+_0x96915e;},'dYhTx':function(_0x40e1b0,_0x4ef18a){return _0x40e1b0+_0x4ef18a;},'lxUTr':function(_0x220284,_0x24ff87){return _0x220284+_0x24ff87;},'wGziN':_0x557fc5(0x20c),'eNzkR':_0x557fc5(0x1ff),'AfwQZ':_0x557fc5(0x22a),'UQTjb':function(_0x1607da,_0x2eacc2){return _0x1607da-_0x2eacc2;},'PPZkn':function(_0x37f074,_0x24905f,_0x3d294a){return _0x37f074(_0x24905f,_0x3d294a);},'gxIan':function(_0x1176ce,_0x15b613){return _0x1176ce(_0x15b613);},'sgEpQ':function(_0x4198ff,_0x2135c2){return _0x4198ff(_0x2135c2);},'UouzL':function(_0x2671f6,_0x4aa554){return _0x2671f6&&_0x4aa554;},'gZtUg':function(_0x1d18d1,_0x172610){return _0x1d18d1-_0x172610;},'HLoZJ':function(_0x21f3cc,_0x24409f,_0x14ff58){return _0x21f3cc(_0x24409f,_0x14ff58);},'swNUa':'Exception:\x20','wXoSH':'ERROR','YSPvS':_0x557fc5(0x19b),'OlsoD':_0x557fc5(0x1f5),'TYHBK':function(_0x5ba6d6,_0x551432,_0x359d87){return _0x5ba6d6(_0x551432,_0x359d87);},'hteQL':function(_0x55a734,_0x1d915b){return _0x55a734+_0x1d915b;},'CzQHN':function(_0x273b82,_0x9117e3){return _0x273b82+_0x9117e3;},'OcLXw':function(_0x400db7,_0x128bb0){return _0x400db7+_0x128bb0;},'CSLuc':_0x557fc5(0x1f2),'pHQXd':_0x557fc5(0x21c),'dsbWo':function(_0x4bd28e,_0x36a17a){return _0x4bd28e(_0x36a17a);},'tuRNy':_0x557fc5(0x223),'SwRxS':_0x557fc5(0x1eb),'oxzDy':_0x557fc5(0x19f),'IEPWd':_0x557fc5(0x229),'ToWgt':_0x557fc5(0x1d8),'gGTWU':_0x557fc5(0x243),'whgdV':function(_0x2e030b,_0x25b754,_0x5d4691){return _0x2e030b(_0x25b754,_0x5d4691);},'BKGny':function(_0x1fbff7,_0x4af059){return _0x1fbff7-_0x4af059;},'XxtcU':function(_0x2e4b40,_0x3aed5b){return _0x2e4b40!=_0x3aed5b;},'bTmvt':function(_0x3b31ca,_0x349a36){return _0x3b31ca>=_0x349a36;},'OIpjl':function(_0xe7794,_0x2c4634){return _0xe7794<_0x2c4634;},'nMoRN':function(_0x2dc012,_0x3407ed){return _0x2dc012||_0x3407ed;},'qxKUS':_0x557fc5(0x172),'KbksD':function(_0x75439b,_0x3769ed){return _0x75439b!=_0x3769ed;},'uSAbG':_0x557fc5(0x1de),'FJQdl':function(_0x1c1a4a,_0x59e558){return _0x1c1a4a+_0x59e558;},'wgVcO':function(_0xfc2e32,_0x9b1904){return _0xfc2e32+_0x9b1904;},'UEMej':function(_0x3102f3,_0x3a0cc4){return _0x3102f3+_0x3a0cc4;},'HrpFL':function(_0x112414,_0x3a983b){return _0x112414+_0x3a983b;},'EZKdF':function(_0x26e1dc,_0x2d9955){return _0x26e1dc+_0x2d9955;},'Hlyia':function(_0xbf586a,_0x1e42ed,_0x414971){return _0xbf586a(_0x1e42ed,_0x414971);},'ERwyO':function(_0x56f0d6,_0x5c36e0,_0x4fcf06){return _0x56f0d6(_0x5c36e0,_0x4fcf06);},'zJThx':_0x557fc5(0x18b),'LbAKy':function(_0x11baf3,_0x4836ae){return _0x11baf3||_0x4836ae;},'GeQni':'\x20(no\x20assertions)','nOZFL':function(_0x3d668f,_0x40d29f,_0x53093c,_0x58e632,_0x229bc5,_0x5924c8){return _0x3d668f(_0x40d29f,_0x53093c,_0x58e632,_0x229bc5,_0x5924c8);},'dyswz':function(_0x441313,_0x1a1da4,_0xd78f51){return _0x441313(_0x1a1da4,_0xd78f51);},'SISHj':function(_0x176023,_0x3903f0){return _0x176023(_0x3903f0);},'nSLJJ':_0x557fc5(0x24b),'hMKMp':'beforeIteration','fFoYE':_0x557fc5(0x1fb),'htGUg':_0x557fc5(0x233),'SNhuG':_0x557fc5(0x1c1),'tTOpf':_0x557fc5(0x24d),'HJURM':_0x557fc5(0x198),'ULYYZ':_0x557fc5(0x1e9),'KCWia':_0x557fc5(0x235)},_0x1f6ad4=new Map();let _0x4649e3=null,_0x49b4f6=0x0;const _0x459d2d=_0x5ba59d[_0x557fc5(0x1be)](resolveCollectionFile,_0x276662,_0x3d5112),_0x12aff0=_0x5ba59d[_0x557fc5(0x216)](resolveCollectionName,_0x276662)||_0x459d2d,_0x32370e=path['resolve'](_0x459d2d),_0x172acc=_0x557fc5(0x1c2)+process[_0x557fc5(0x19d)],_0x3fb260=_0x2f11b6=>{const _0x214bcf=_0x557fc5;try{_0x4649e3&&_0x5ba59d['BTZmL'](emitLog,_0x4649e3,_0x2f11b6);}catch(_0x1e9574){_0x5ba59d[_0x214bcf(0x212)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20'+_0x1e9574);}};process['on'](_0x172acc,_0x3fb260),_0x3fb548['on'](_0x5ba59d[_0x557fc5(0x225)],()=>{const _0x19e99e=_0x557fc5;process[_0x19e99e(0x1f4)](_0x172acc,_0x3fb260),_0x1f6ad4[_0x19e99e(0x224)]();}),_0x3fb548['on'](_0x5ba59d[_0x557fc5(0x245)],(_0x2e6178,_0x2df562)=>{const _0x35835a=_0x557fc5;_0x2df562&&_0x2df562[_0x35835a(0x23c)]&&(_0x49b4f6=_0x2df562[_0x35835a(0x23c)][_0x35835a(0x258)]||0x0);}),_0x3fb548['on'](_0x5ba59d[_0x557fc5(0x23b)],(_0x513223,_0x10c2af)=>{const _0x621e32=_0x557fc5;try{_0x4649e3=null;const _0x32d9ee=_0x10c2af['item'],_0x48dcba=_0x32d9ee['parent']()?_0x5ba59d['sghnN'](getParentTitles,_0x32d9ee[_0x621e32(0x1e8)]()):[],_0x5a90cb=_0x5ba59d[_0x621e32(0x1a9)](_0x48dcba[_0x621e32(0x203)],0x1)?_0x48dcba[_0x621e32(0x1d7)](0x1):_0x48dcba,_0x150fce=_0x10c2af[_0x621e32(0x23c)]&&_0x10c2af['cursor']['ref'],_0x413938={'itemName':_0x32d9ee['name'],'scopes':_0x5a90cb['concat']([_0x32d9ee['name']]),'location':_0x459d2d,'collectionName':_0x12aff0,'startedAt':new Date()['toISOString'](),'startTimestamp':Date[_0x621e32(0x24e)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x1f6ad4[_0x621e32(0x166)](_0x32d9ee['id']+'_'+_0x49b4f6,_0x413938),_0x150fce&&_0x1f6ad4['set'](_0x150fce+'_'+_0x49b4f6,_0x413938);}catch(_0x16b02b){_0x5ba59d[_0x621e32(0x16d)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20'+_0x16b02b);}}),_0x3fb548['on'](_0x5ba59d[_0x557fc5(0x1ad)],(_0x3fa232,_0x4c5f34)=>{const _0x4e3a61=_0x557fc5;try{if(!_0x4c5f34||!_0x4c5f34['item'])return;const _0x59ac1c=_0x1f6ad4[_0x4e3a61(0x175)](_0x4c5f34[_0x4e3a61(0x235)]['id']+'_'+_0x49b4f6);if(!_0x59ac1c)return;_0x4c5f34['response']&&(_0x59ac1c['lastResponseCode']=_0x4c5f34[_0x4e3a61(0x17b)]['code']||null);if(!_0x4c5f34['request'])return;let _0x21a55b='',_0x32a080='';if(_0x4c5f34[_0x4e3a61(0x233)]['url'])try{const _0x28dd87=_0x4c5f34[_0x4e3a61(0x233)][_0x4e3a61(0x1cc)]['toString'](),_0x41b8e0=new URL(_0x28dd87[_0x4e3a61(0x189)](_0x5ba59d[_0x4e3a61(0x1e7)])?_0x28dd87:_0x4e3a61(0x25c)+_0x28dd87);_0x21a55b=_0x41b8e0['hostname'],_0x32a080=_0x5ba59d['jHVee'](_0x41b8e0[_0x4e3a61(0x1c4)],_0x41b8e0[_0x4e3a61(0x18f)]);}catch(_0x5abf89){_0x32a080=_0x4c5f34[_0x4e3a61(0x233)][_0x4e3a61(0x1cc)][_0x4e3a61(0x20e)]();}const _0x2a8a03={};_0x2a8a03[_0x4e3a61(0x219)]=_0x21a55b,_0x2a8a03['path']=_0x32a080,_0x2a8a03[_0x4e3a61(0x238)]=_0x4c5f34[_0x4e3a61(0x233)][_0x4e3a61(0x238)]||_0x5ba59d['gDecO'],_0x2a8a03[_0x4e3a61(0x255)]={},_0x2a8a03[_0x4e3a61(0x1c8)]=_0x4c5f34[_0x4e3a61(0x17b)]?_0x4c5f34[_0x4e3a61(0x17b)][_0x4e3a61(0x1aa)]||0x0:0x0,_0x2a8a03['duration_ms']=_0x4c5f34[_0x4e3a61(0x17b)]?_0x4c5f34['response'][_0x4e3a61(0x1b5)]||0x0:0x0,_0x59ac1c['httpLog']=_0x2a8a03;}catch(_0x9214d7){_0x5ba59d['sghnN'](debug,_0x4e3a61(0x169)+_0x9214d7);}}),_0x3fb548['on'](_0x5ba59d[_0x557fc5(0x25a)],(_0x33f1a8,_0x46a5c5)=>{const _0x31dae3=_0x557fc5;try{if(!_0x46a5c5||!_0x46a5c5[_0x31dae3(0x235)])return;const _0x4fffe6=_0x1f6ad4[_0x31dae3(0x175)](_0x46a5c5[_0x31dae3(0x235)]['id']+'_'+_0x49b4f6);if(!_0x4fffe6)return;const _0x3d9589=_0x46a5c5[_0x31dae3(0x1c1)]||'Assertion\x20'+_0x5ba59d[_0x31dae3(0x1dc)](_0x4fffe6['assertions'][_0x31dae3(0x203)],0x1),_0xba49c1=_0x5ba59d[_0x31dae3(0x187)](uuidv4),_0x4c24c6=_0x4fffe6[_0x31dae3(0x1f6)][_0x31dae3(0x176)]([_0x3d9589])[_0x31dae3(0x220)]('\x20');_0x4fffe6[_0x31dae3(0x1ba)][_0x31dae3(0x1b3)]({'uuid':_0xba49c1,'name':_0x3d9589,'identifier':_0x4c24c6,'err':_0x5ba59d[_0x31dae3(0x1f9)](_0x33f1a8,null)});const _0x10c99f={};_0x10c99f['uuid']=_0xba49c1,_0x10c99f[_0x31dae3(0x209)]=_0x3d9589,_0x10c99f['identifier']=_0x4c24c6,_0x5ba59d[_0x31dae3(0x244)](emitTest,HookState[_0x31dae3(0x16e)],_0x10c99f,_0x4fffe6,_0x32370e,{});_0x5ba59d['teTbl'](_0x4fffe6[_0x31dae3(0x1ba)]['length'],0x1)&&_0x5ba59d[_0x31dae3(0x162)](_0x4fffe6[_0x31dae3(0x208)][_0x31dae3(0x203)],0x0)&&(_0x4fffe6[_0x31dae3(0x208)][_0x31dae3(0x1e0)](_0x307b15=>{const _0x2c15a7=_0x31dae3;_0x5ba59d[_0x2c15a7(0x24c)](emitLog,_0xba49c1,{'kind':_0x5ba59d['uHQVO'],'message':_0x307b15[_0x2c15a7(0x1fe)],'level':_0x307b15['level']});}),_0x4fffe6[_0x31dae3(0x208)]=[]);if(_0x4fffe6[_0x31dae3(0x246)]){_0x5ba59d[_0x31dae3(0x24c)](emitLog,_0xba49c1,{'kind':_0x5ba59d[_0x31dae3(0x1a3)],'http_response':_0x4fffe6[_0x31dae3(0x246)]});const _0x321c41=_0x5ba59d[_0x31dae3(0x17d)](_0x5ba59d['VUDyJ'](_0x5ba59d['dYhTx'](_0x5ba59d['dYhTx'](_0x5ba59d[_0x31dae3(0x1d5)](_0x5ba59d['lnbVs'](_0x5ba59d[_0x31dae3(0x1dc)](_0x5ba59d[_0x31dae3(0x183)](_0x4fffe6['httpLog'][_0x31dae3(0x238)]||_0x5ba59d[_0x31dae3(0x234)],'\x20'),_0x4fffe6[_0x31dae3(0x246)][_0x31dae3(0x219)]),_0x4fffe6[_0x31dae3(0x246)]['path']),_0x5ba59d['wGziN']),_0x4fffe6[_0x31dae3(0x246)][_0x31dae3(0x1c8)]),'\x20('),_0x4fffe6[_0x31dae3(0x246)]['duration_ms']),_0x5ba59d[_0x31dae3(0x1a5)]);_0x5ba59d[_0x31dae3(0x24c)](emitLog,_0xba49c1,{'kind':_0x5ba59d[_0x31dae3(0x19a)],'message':_0x321c41,'level':_0x5ba59d['AfwQZ']});}_0x4649e3=_0xba49c1;}catch(_0x39f01a){_0x5ba59d[_0x31dae3(0x16d)](debug,_0x31dae3(0x1b8)+_0x39f01a);}}),_0x3fb548['on'](_0x5ba59d[_0x557fc5(0x1c9)],(_0x1b3499,_0x317d1e)=>{const _0x3a77c0=_0x557fc5;try{if(!_0x317d1e)return;let _0x3b1901=_0x4649e3;if(!_0x3b1901&&_0x317d1e[_0x3a77c0(0x23c)]&&_0x317d1e['cursor'][_0x3a77c0(0x253)]){const _0x5a8b1c=_0x1f6ad4['get'](_0x317d1e[_0x3a77c0(0x23c)][_0x3a77c0(0x253)]+'_'+_0x49b4f6);_0x5a8b1c&&_0x5ba59d['artGM'](_0x5a8b1c[_0x3a77c0(0x1ba)][_0x3a77c0(0x203)],0x0)&&(_0x3b1901=_0x5a8b1c[_0x3a77c0(0x1ba)][_0x5ba59d[_0x3a77c0(0x1a4)](_0x5a8b1c[_0x3a77c0(0x1ba)]['length'],0x1)]['uuid']);}const _0x157350=_0x317d1e['messages']?_0x317d1e['messages'][_0x3a77c0(0x220)](',\x20'):'';if(_0x3b1901)_0x5ba59d[_0x3a77c0(0x199)](emitLog,_0x3b1901,{'kind':_0x5ba59d[_0x3a77c0(0x19a)],'message':_0x157350,'level':_0x5ba59d[_0x3a77c0(0x18a)](normalizeLogLevel,_0x317d1e[_0x3a77c0(0x1a2)])});else{if(_0x317d1e[_0x3a77c0(0x23c)]&&_0x317d1e[_0x3a77c0(0x23c)][_0x3a77c0(0x253)]){const _0x1fbfc5=_0x1f6ad4['get'](_0x317d1e['cursor'][_0x3a77c0(0x253)]+'_'+_0x49b4f6);_0x1fbfc5&&_0x1fbfc5[_0x3a77c0(0x208)][_0x3a77c0(0x1b3)]({'timestamp':new Date()[_0x3a77c0(0x217)](),'level':_0x5ba59d[_0x3a77c0(0x16d)](normalizeLogLevel,_0x317d1e['level']),'message':_0x157350});}}}catch(_0x466e30){_0x5ba59d[_0x3a77c0(0x1ea)](debug,_0x3a77c0(0x23d)+_0x466e30);}}),_0x3fb548['on'](_0x5ba59d[_0x557fc5(0x1ac)],(_0x43ef39,_0x142fe4)=>{const _0x1d956a=_0x557fc5;try{if(!_0x43ef39&&(!_0x142fe4||!_0x142fe4[_0x1d956a(0x1f0)]))return;const _0x24c664=_0x43ef39||_0x142fe4['error'],_0x4f81c1=_0x24c664[_0x1d956a(0x1fe)]||_0x5ba59d[_0x1d956a(0x249)](String,_0x24c664),_0x417ea9=_0x24c664[_0x1d956a(0x256)]||_0x4f81c1;let _0xeafe2e=_0x4649e3;if(_0x5ba59d[_0x1d956a(0x1c5)](!_0xeafe2e,_0x142fe4)&&_0x142fe4[_0x1d956a(0x23c)]&&_0x142fe4[_0x1d956a(0x23c)][_0x1d956a(0x253)]){const _0x50ae4f=_0x1f6ad4[_0x1d956a(0x175)](_0x142fe4[_0x1d956a(0x23c)][_0x1d956a(0x253)]+'_'+_0x49b4f6);_0x50ae4f&&_0x5ba59d[_0x1d956a(0x1a9)](_0x50ae4f['assertions'][_0x1d956a(0x203)],0x0)&&(_0xeafe2e=_0x50ae4f[_0x1d956a(0x1ba)][_0x5ba59d[_0x1d956a(0x1ae)](_0x50ae4f['assertions']['length'],0x1)][_0x1d956a(0x200)]);}_0xeafe2e&&_0x5ba59d[_0x1d956a(0x1cd)](emitLog,_0xeafe2e,{'kind':_0x5ba59d[_0x1d956a(0x19a)],'message':_0x5ba59d['jHVee'](_0x5ba59d[_0x1d956a(0x19c)],_0x417ea9),'level':_0x5ba59d['wXoSH']});}catch(_0x4c8ed9){_0x5ba59d[_0x1d956a(0x1ea)](debug,_0x5ba59d[_0x1d956a(0x1dc)](_0x5ba59d[_0x1d956a(0x228)],_0x4c8ed9));}}),_0x3fb548['on'](_0x5ba59d[_0x557fc5(0x25d)],(_0x3bc20f,_0x47e0d1)=>{const _0x145238=_0x557fc5;try{if(!_0x47e0d1||!_0x47e0d1['execution'])return;let _0x219bff=_0x4649e3;if(!_0x219bff&&_0x47e0d1[_0x145238(0x23c)]&&_0x47e0d1[_0x145238(0x23c)][_0x145238(0x253)]){const _0x28d696=_0x1f6ad4[_0x145238(0x175)](_0x47e0d1['cursor'][_0x145238(0x253)]+'_'+_0x49b4f6);_0x28d696&&_0x5ba59d['cigYI'](_0x28d696[_0x145238(0x1ba)][_0x145238(0x203)],0x0)&&(_0x219bff=_0x28d696[_0x145238(0x1ba)][_0x5ba59d[_0x145238(0x1a4)](_0x28d696['assertions'][_0x145238(0x203)],0x1)]['uuid']);}if(!_0x219bff)return;const _0x293f37=_0x47e0d1[_0x145238(0x215)]&&_0x47e0d1[_0x145238(0x215)][_0x145238(0x24a)]||_0x5ba59d[_0x145238(0x22b)];_0x3bc20f&&_0x5ba59d[_0x145238(0x179)](emitLog,_0x219bff,{'kind':_0x5ba59d['uHQVO'],'message':_0x5ba59d[_0x145238(0x1a1)](_0x5ba59d[_0x145238(0x1d3)](_0x5ba59d[_0x145238(0x1df)](_0x5ba59d[_0x145238(0x177)],_0x293f37),_0x5ba59d[_0x145238(0x254)]),_0x3bc20f[_0x145238(0x1fe)]||_0x3bc20f),'level':_0x5ba59d[_0x145238(0x22e)]});}catch(_0x51b732){_0x5ba59d[_0x145238(0x16c)](debug,_0x5ba59d[_0x145238(0x1df)](_0x5ba59d[_0x145238(0x240)],_0x51b732));}}),_0x3fb548['on'](_0x5ba59d[_0x557fc5(0x221)],(_0x4ac9b5,_0x24421e)=>{const _0x35c51e=_0x557fc5,_0x55111b={'TDgHV':_0x5ba59d['SwRxS'],'sgPAk':_0x5ba59d['oxzDy'],'JPhGW':function(_0x278057,_0x12e6ff){return _0x5ba59d['teTbl'](_0x278057,_0x12e6ff);},'lbDsy':_0x5ba59d['IEPWd'],'IsnrN':_0x5ba59d['ToWgt'],'hmlmU':_0x5ba59d['gGTWU'],'FaYfA':function(_0x36e1f8,_0x4c3b0c,_0x37d12d,_0x34b59f,_0x55b569,_0x2194ac){const _0x50a990=a43_0x277c;return _0x5ba59d[_0x50a990(0x244)](_0x36e1f8,_0x4c3b0c,_0x37d12d,_0x34b59f,_0x55b569,_0x2194ac);},'MchjH':function(_0x554a36,_0x4efbc3,_0x27c924){const _0x4741df=a43_0x277c;return _0x5ba59d[_0x4741df(0x196)](_0x554a36,_0x4efbc3,_0x27c924);},'tQUCh':_0x5ba59d[_0x35c51e(0x19a)]};try{if(!_0x24421e||!_0x24421e[_0x35c51e(0x235)])return;const _0x50b77f=_0x24421e[_0x35c51e(0x235)]['id']+'_'+_0x49b4f6,_0x2ae1ed=_0x1f6ad4[_0x35c51e(0x175)](_0x50b77f);if(!_0x2ae1ed)return;const _0x20820d=new Date(),_0x2c53ee=_0x5ba59d[_0x35c51e(0x1a8)](_0x20820d['getTime'](),_0x2ae1ed[_0x35c51e(0x22f)]);if(_0x5ba59d['artGM'](_0x2ae1ed[_0x35c51e(0x1ba)]['length'],0x0))_0x2ae1ed[_0x35c51e(0x1ba)][_0x35c51e(0x1e0)](_0x1ce8b6=>{const _0x188293=_0x35c51e,_0x49902c=!!_0x1ce8b6[_0x188293(0x1b6)],_0x2c85c0={'finishedAt':_0x20820d['toISOString'](),'durationMs':_0x2c53ee,'result':_0x49902c?_0x55111b['TDgHV']:_0x55111b[_0x188293(0x1c6)]};_0x49902c&&(_0x2c85c0[_0x188293(0x190)]=_0x1ce8b6[_0x188293(0x1b6)][_0x188293(0x1fe)]||'',_0x2c85c0['failureType']=_0x55111b['JPhGW'](_0x1ce8b6['err'][_0x188293(0x209)],_0x55111b['lbDsy'])||_0x1ce8b6[_0x188293(0x1b6)]['message']&&_0x1ce8b6[_0x188293(0x1b6)][_0x188293(0x1fe)][_0x188293(0x1cb)](_0x55111b[_0x188293(0x1d1)])?_0x55111b['lbDsy']:_0x55111b[_0x188293(0x1d2)],_0x2c85c0[_0x188293(0x17f)]=[{'backtrace':_0x1ce8b6[_0x188293(0x1b6)][_0x188293(0x256)]?_0x1ce8b6['err'][_0x188293(0x256)][_0x188293(0x165)]('\x0a'):[_0x1ce8b6[_0x188293(0x1b6)][_0x188293(0x1fe)]||''],'expanded':[]}]),_0x55111b['FaYfA'](emitTest,HookState['POST'],_0x1ce8b6,_0x2ae1ed,_0x32370e,_0x2c85c0);});else{const _0x360502=_0x5ba59d[_0x35c51e(0x187)](uuidv4),_0x20ac42=_0x2ae1ed[_0x35c51e(0x248)],_0x3bd797=_0x5ba59d['XxtcU'](_0x20ac42,null)&&_0x5ba59d['bTmvt'](_0x20ac42,0xc8)&&_0x5ba59d['OIpjl'](_0x20ac42,0x190),_0x38856f=_0x2ae1ed[_0x35c51e(0x197)]+_0x35c51e(0x1fd)+_0x5ba59d[_0x35c51e(0x1ed)](_0x20ac42,_0x5ba59d[_0x35c51e(0x210)])+')',_0xbb8a04={'uuid':_0x360502,'name':_0x38856f,'identifier':_0x2ae1ed[_0x35c51e(0x1f6)][_0x35c51e(0x176)]([_0x38856f])[_0x35c51e(0x220)]('\x20')},_0x2a1010={'finishedAt':_0x20820d[_0x35c51e(0x217)](),'durationMs':_0x2c53ee,'result':_0x3bd797?_0x5ba59d[_0x35c51e(0x1f8)]:_0x5ba59d[_0x35c51e(0x21a)]};!_0x3bd797&&(_0x2a1010[_0x35c51e(0x190)]=_0x5ba59d[_0x35c51e(0x251)](_0x20ac42,null)?_0x35c51e(0x218)+_0x20ac42+'\x20—\x20response\x20status\x20in\x20failure\x20range':_0x5ba59d[_0x35c51e(0x20a)],_0x2a1010[_0x35c51e(0x23a)]=_0x5ba59d['gGTWU'],_0x2a1010[_0x35c51e(0x17f)]=[{'backtrace':[_0x2a1010['failureReason']],'expanded':[]}]);_0x5ba59d[_0x35c51e(0x244)](emitTest,HookState['PRE'],_0xbb8a04,_0x2ae1ed,_0x32370e,{}),_0x2ae1ed[_0x35c51e(0x208)][_0x35c51e(0x1e0)](_0x1001b6=>{const _0x27f83e=_0x35c51e;_0x55111b['MchjH'](emitLog,_0x360502,{'kind':_0x55111b['tQUCh'],'message':_0x1001b6[_0x27f83e(0x1fe)],'level':_0x1001b6['level']});});if(_0x2ae1ed[_0x35c51e(0x246)]){_0x5ba59d[_0x35c51e(0x199)](emitLog,_0x360502,{'kind':_0x5ba59d['hBGLU'],'http_response':_0x2ae1ed[_0x35c51e(0x246)]});const _0x3627e2=_0x5ba59d[_0x35c51e(0x188)](_0x5ba59d[_0x35c51e(0x185)](_0x5ba59d['CzQHN'](_0x5ba59d['UEMej'](_0x5ba59d[_0x35c51e(0x17d)](_0x5ba59d[_0x35c51e(0x222)](_0x5ba59d[_0x35c51e(0x252)](_0x5ba59d[_0x35c51e(0x188)](_0x2ae1ed[_0x35c51e(0x246)][_0x35c51e(0x238)]||_0x5ba59d[_0x35c51e(0x234)],'\x20'),_0x2ae1ed['httpLog'][_0x35c51e(0x219)]),_0x2ae1ed[_0x35c51e(0x246)]['path']),_0x5ba59d[_0x35c51e(0x1b0)]),_0x2ae1ed[_0x35c51e(0x246)][_0x35c51e(0x1c8)]),'\x20('),_0x2ae1ed[_0x35c51e(0x246)][_0x35c51e(0x171)]),_0x5ba59d['eNzkR']);_0x5ba59d[_0x35c51e(0x1d4)](emitLog,_0x360502,{'kind':_0x5ba59d[_0x35c51e(0x19a)],'message':_0x3627e2,'level':_0x5ba59d[_0x35c51e(0x21b)]});}else _0x5ba59d[_0x35c51e(0x1d0)](emitLog,_0x360502,{'kind':_0x5ba59d[_0x35c51e(0x19a)],'message':_0x5ba59d[_0x35c51e(0x185)](_0x5ba59d['wgVcO'](_0x5ba59d['zJThx'],_0x5ba59d[_0x35c51e(0x20b)](_0x20ac42,_0x5ba59d[_0x35c51e(0x210)])),_0x5ba59d[_0x35c51e(0x1b4)]),'level':_0x5ba59d['AfwQZ']});_0x5ba59d[_0x35c51e(0x231)](emitTest,HookState[_0x35c51e(0x180)],_0xbb8a04,_0x2ae1ed,_0x32370e,_0x2a1010);}_0x1f6ad4['delete'](_0x50b77f),_0x24421e[_0x35c51e(0x23c)]&&_0x24421e[_0x35c51e(0x23c)][_0x35c51e(0x253)]&&_0x1f6ad4['delete'](_0x24421e[_0x35c51e(0x23c)]['ref']+'_'+_0x49b4f6);}catch(_0x10b728){_0x5ba59d[_0x35c51e(0x1ea)](debug,_0x35c51e(0x1c3)+_0x10b728);}});}module[a43_0x8ea3b7(0x1d6)]=BrowserStackNewmanReporter;
1
+ 'use strict';const a43_0x25de8a=a43_0x14d4;(function(_0x2f6745,_0x58b6f6){const _0x57103f=a43_0x14d4,_0x47ad97=_0x2f6745();while(!![]){try{const _0x52a133=parseInt(_0x57103f(0x2cd))/0x1+-parseInt(_0x57103f(0x20f))/0x2*(parseInt(_0x57103f(0x225))/0x3)+-parseInt(_0x57103f(0x2d5))/0x4+parseInt(_0x57103f(0x2d6))/0x5*(parseInt(_0x57103f(0x27d))/0x6)+-parseInt(_0x57103f(0x1e5))/0x7*(parseInt(_0x57103f(0x2a4))/0x8)+-parseInt(_0x57103f(0x25d))/0x9*(parseInt(_0x57103f(0x21e))/0xa)+parseInt(_0x57103f(0x26b))/0xb;if(_0x52a133===_0x58b6f6)break;else _0x47ad97['push'](_0x47ad97['shift']());}catch(_0x5412b6){_0x47ad97['push'](_0x47ad97['shift']());}}}(a43_0x573f,0x67673));function a43_0x14d4(_0x29e5dd,_0x526b81){const _0x573ff6=a43_0x573f();return a43_0x14d4=function(_0x14d47,_0x184b35){_0x14d47=_0x14d47-0x1e5;let _0x5852eb=_0x573ff6[_0x14d47];return _0x5852eb;},a43_0x14d4(_0x29e5dd,_0x526b81);}const path=require(a43_0x25de8a(0x2c3)),{v4:uuidv4}=require(a43_0x25de8a(0x2ce)),SessionHandler=require(a43_0x25de8a(0x21b)),{debug}=require(a43_0x25de8a(0x259)),logger=require(a43_0x25de8a(0x273))[a43_0x25de8a(0x2c5)],BrowserstackCLI=require(a43_0x25de8a(0x288)),GrpcClient=require(a43_0x25de8a(0x22c)),TestFrameworkState=require(a43_0x25de8a(0x2a1)),HookState=require(a43_0x25de8a(0x281)),LOG_LEVELS=[a43_0x25de8a(0x2c4),'WARN',a43_0x25de8a(0x275),a43_0x25de8a(0x28b),a43_0x25de8a(0x230)];function isCLIRunning(){const _0x2f5d55=a43_0x25de8a;try{return BrowserstackCLI[_0x2f5d55(0x2d7)]()[_0x2f5d55(0x2b8)]();}catch(_0x4cfd05){return![];}}function getParentTitles(_0xb7e8ab){const _0x47962b=a43_0x25de8a,_0x435299={'gyFZo':function(_0x581e34,_0x410396){return _0x581e34(_0x410396);}},_0x18c129=[],_0xd916b5=_0xb7e8ab[_0x47962b(0x244)]();return _0xd916b5&&_0x18c129['push'][_0x47962b(0x1fc)](_0x18c129,_0x435299[_0x47962b(0x2aa)](getParentTitles,_0xd916b5)),_0xb7e8ab[_0x47962b(0x200)]&&_0x18c129[_0x47962b(0x254)](_0x435299[_0x47962b(0x2aa)](String,_0xb7e8ab[_0x47962b(0x200)])),_0x18c129;}function normalizeLogLevel(_0x32c4ee){const _0x32a245=a43_0x25de8a,_0x76c214={};_0x76c214['YWPvA']=_0x32a245(0x2c4),_0x76c214['eaZyT']=function(_0x2ca97b,_0x51e301){return _0x2ca97b!==_0x51e301;};const _0x15f1ca=_0x76c214;if(!_0x32c4ee)return _0x15f1ca[_0x32a245(0x290)];const _0x3a7363=_0x32c4ee[_0x32a245(0x27f)]();return _0x15f1ca['eaZyT'](LOG_LEVELS['indexOf'](_0x3a7363),-0x1)?_0x3a7363:_0x15f1ca[_0x32a245(0x290)];}function resolveCollectionFile(_0x584863,_0x175df3){const _0x39c48b=a43_0x25de8a,_0x2af6d2={};_0x2af6d2[_0x39c48b(0x222)]=function(_0x137253,_0x5d197f){return _0x137253===_0x5d197f;},_0x2af6d2[_0x39c48b(0x2de)]=_0x39c48b(0x2d1),_0x2af6d2[_0x39c48b(0x235)]='run',_0x2af6d2[_0x39c48b(0x270)]=function(_0x51117d,_0x4780ce){return _0x51117d!==_0x4780ce;},_0x2af6d2['XIUMa']=function(_0xc556ed,_0x5b12dd){return _0xc556ed<_0x5b12dd;},_0x2af6d2['GfUoh']=function(_0x110c82,_0x2d0768){return _0x110c82+_0x2d0768;},_0x2af6d2['zRsCx']=_0x39c48b(0x286),_0x2af6d2[_0x39c48b(0x261)]=_0x39c48b(0x2d0);const _0x46aad8=_0x2af6d2;try{if(_0x175df3&&_0x175df3[_0x39c48b(0x236)])return path[_0x39c48b(0x1f5)](process['cwd'](),path[_0x39c48b(0x241)](_0x175df3[_0x39c48b(0x236)]));const _0x3f2214=_0x584863[_0x39c48b(0x24c)];if(_0x46aad8['oKkYO'](typeof _0x3f2214,_0x46aad8['DKsaY']))return path['relative'](process[_0x39c48b(0x27a)](),path[_0x39c48b(0x241)](_0x3f2214));const _0x28e8ae=process[_0x39c48b(0x299)][_0x39c48b(0x277)](_0x46aad8[_0x39c48b(0x235)]);if(_0x46aad8['hHDFd'](_0x28e8ae,-0x1)&&_0x46aad8[_0x39c48b(0x2ad)](_0x46aad8['GfUoh'](_0x28e8ae,0x1),process[_0x39c48b(0x299)]['length'])){const _0x3c10a1=process[_0x39c48b(0x299)][_0x46aad8[_0x39c48b(0x1f3)](_0x28e8ae,0x1)];if(_0x3c10a1&&!_0x3c10a1[_0x39c48b(0x242)]('-'))return path[_0x39c48b(0x1f5)](process[_0x39c48b(0x27a)](),path[_0x39c48b(0x241)](_0x3c10a1));}}catch(_0x198ae8){}return logger[_0x39c48b(0x22e)](_0x46aad8['zRsCx']),_0x46aad8['dpgol'];}function resolveCollectionName(_0x4519a5){const _0xebd855=a43_0x25de8a,_0x47584e={};_0x47584e['qYJqV']=function(_0x102f02,_0x562ce0){return _0x102f02===_0x562ce0;},_0x47584e[_0xebd855(0x1e7)]=_0xebd855(0x282);const _0x5a3d08=_0x47584e;try{const _0x1ee177=_0x4519a5[_0xebd855(0x24c)];if(_0x1ee177&&_0x5a3d08[_0xebd855(0x2b3)](typeof _0x1ee177,_0x5a3d08[_0xebd855(0x1e7)]))return _0x1ee177[_0xebd855(0x200)]||_0x1ee177[_0xebd855(0x22e)]&&_0x1ee177[_0xebd855(0x22e)][_0xebd855(0x200)]||null;}catch(_0x34fb75){}return null;}function a43_0x573f(){const _0x45228f=['join','xFuFZ','finishedAt','rDlKj','message','max','response','GfUoh','ExOdH','relative','concat','err','getTime','pid','messages','AssertionError','apply','OyPsR','pending','zGPTQ','name','host','VDrnW','):\x20','exception','skpGF','EkDBF','nnpJG','identifier','fSADd','oKlDK','Assertion\x20','qvpYo','HTTP\x20','Gpkkj','227274MrJzKn','scopes','pIYCk','failure','pBtWH','GjPdn','[Newman\x20Reporter]\x20Error\x20in\x20exception:\x20','jcAZm','listen','Ocsut','DjOwl','iMrxo','../../../helpers/test-observability/sessionHandler','IwlCB','bs:addLog:','154430gSJRkY','set','DBXdo','itemName','oKkYO','test_run','SOGbi','15yoCPyv','sftsa','zqNiE','POST','vUEJH','Exception:\x20','TestRunStarted','../../v2/grpcClient','hvwLb','info','beforeIteration','TRACE','assertions','durationMs','now','lastResponseCode','grXkM','collectionPath','execution','GET','item','url','kind','GKjvH','vaRXo','lItaj','logCreatedEvent','qKdEF','resolve','startsWith','zAbsv','parent','gMKuF','VSBxc','logs','method','ruBtn','mdylf','LogCreated','collection','JHIlv','jcqcu','AHtJm','failureType','testFrameworkState','KXjqX','failureReason','push','tbHVp','done','testFrameworkName','length','../../../helpers/test-observability/utils','cfFfQ','QPFaR','FqQhT','99OIqUwG','ref','IZpaT','toISOString','dpgol','trackEvent','WIdJt','timestamp','Lfqqt','console','Okxtr','cwCWL','slice','hwftm','10501260rwOEHE','OxJHn','http_response','get','AUkPq','hHDFd','mShVq','inpcM','../../../helpers/logger','NmwXE','ERROR','fnxuV','indexOf','[Newman\x20Reporter]\x20Error\x20in\x20beforeItem:\x20','pbKso','cwd','PRE','RZaAI','222246NWgZjR','beforeItem','toUpperCase','assertion','../../v2/state/hookState','object','duration_ms','UnhandledError','lSlwN','[Newman\x20Reporter]\x20Could\x20not\x20resolve\x20collection\x20file\x20path,\x20falling\x20back\x20to\x20collection.json','request','../../v2/browserstackCLI','failed','pCZON','DEBUG','CBGTs','ADyJm','YdNwC','HTTP\x20Status:\x20','YWPvA','toString','ZIsbz','YQGQN','iteration','expanded','HTTP','LUXLd','kSvBl','argv','yZOPD','result','removeListener','startTimestamp','PVLWb','HDZSy','stack','../../v2/state/testFrameworkState','responseTime','testFrameworkVersion','10312PjGNWU','error','No\x20HTTP\x20response\x20received','\x20(HTTP\x20','uploadEventData','NjuFb','gyFZo','split','dJdis','XIUMa','backtrace','yevLd','Rxdhu','TEST_LOG','WcSoM','qYJqV','event_type','RPXOC','imWFV','headers','isRunning','[Newman\x20Reporter]\x20emitTest\x20error:\x20','newman','code','VqAIJ','status_code','event','raayJ','delete','[Newman\x20Reporter]\x20Error\x20in\x20request:\x20','[Newman\x20Reporter]\x20Error\x20in\x20script:\x20','path','INFO','winstonLogger','[Newman\x20Reporter]\x20Error\x20in\x20bs:addLog\x20handler:\x20','search','passed','level','forEach','fAzyY','location','769458MWIkNO','uuid','[Newman\x20Reporter]\x20Error\x20in\x20item:\x20','collection.json','string','getTestFramework','fKlmv','AYvvs','438968nnIXKd','5AvQTxD','getInstance','aNEbl','collectionName','bufferedLogs','AMDER','LGaWL','cursor','DKsaY','YjXOn','2660JaqKyT','httpLog','adXXU','SqYvI','javascript','failure_reason_expanded','IxnvA'];a43_0x573f=function(){return _0x45228f;};return a43_0x573f();}function emitTest(_0x5bde3e,_0x38326c,_0x529020,_0x31b914,_0x1dd229){const _0x1492dd=a43_0x25de8a,_0x2ef634={'OyPsR':function(_0x11308d){return _0x11308d();},'raayJ':_0x1492dd(0x1fe),'kSvBl':function(_0xa22e8d,_0x1437bb){return _0xa22e8d(_0x1437bb);},'AYvvs':_0x1492dd(0x2ba),'VSBxc':_0x1492dd(0x1e9),'NrltP':function(_0x2a2ea8,_0x3d212d){return _0x2a2ea8!=_0x3d212d;},'zAbsv':function(_0x4f6bf8,_0x156d30){return _0x4f6bf8===_0x156d30;},'AHtJm':_0x1492dd(0x22b),'ExOdH':'TestRunFinished'};if(_0x2ef634[_0x1492dd(0x1fd)](isCLIRunning))try{const _0x2a1e9d=BrowserstackCLI['getInstance']()[_0x1492dd(0x2d2)]();if(!_0x2a1e9d)return;_0x2a1e9d[_0x1492dd(0x262)](TestFrameworkState['TEST'],_0x5bde3e,{'test':{'uuid':_0x38326c[_0x1492dd(0x2ce)],'name':_0x38326c[_0x1492dd(0x200)],'scopes':_0x529020[_0x1492dd(0x210)],'scope':_0x529020[_0x1492dd(0x210)]['join']('\x20'),'file_path':_0x31b914,'location':_0x529020[_0x1492dd(0x2d9)],'started_at':_0x529020['startedAt'],'finished_at':_0x1dd229[_0x1492dd(0x1ee)]||null,'result':_0x1dd229[_0x1492dd(0x29b)]||_0x2ef634[_0x1492dd(0x2bf)],'failure':_0x1dd229[_0x1492dd(0x212)]||[],'failure_type':_0x1dd229[_0x1492dd(0x250)]||null,'failure_reason':_0x1dd229[_0x1492dd(0x253)]||null,'tags':[],'meta':{},'custom_metadata':{}}});}catch(_0x12b683){_0x2ef634[_0x1492dd(0x298)](debug,_0x1492dd(0x2b9)+_0x12b683);}else{const _0x3281f8={'uuid':_0x38326c[_0x1492dd(0x2ce)],'name':_0x38326c[_0x1492dd(0x200)],'framework':_0x2ef634[_0x1492dd(0x2d4)],'body':{'lang':_0x2ef634[_0x1492dd(0x246)],'code':null},'scope':_0x529020[_0x1492dd(0x210)][_0x1492dd(0x1ec)]('\x20'),'scopes':_0x529020['scopes'],'identifier':_0x38326c['identifier'],'file_name':_0x529020[_0x1492dd(0x2d9)],'vc_filepath':_0x529020[_0x1492dd(0x2cc)],'location':_0x529020[_0x1492dd(0x2cc)],'started_at':_0x529020['startedAt'],'finished_at':_0x1dd229[_0x1492dd(0x1ee)]||null,'duration_in_ms':_0x2ef634['NrltP'](_0x1dd229[_0x1492dd(0x232)],null)?Math[_0x1492dd(0x1f1)](0x0,_0x1dd229[_0x1492dd(0x232)]):null,'result':_0x1dd229['result']||_0x2ef634[_0x1492dd(0x2bf)],'failure_reason':_0x1dd229[_0x1492dd(0x253)]||null,'failure_type':_0x1dd229[_0x1492dd(0x250)]||null,'failure':_0x1dd229[_0x1492dd(0x212)]||[],'retry_of':null,'hooks':[]};_0x3281f8[_0x1492dd(0x212)][0x0]&&(_0x3281f8['failure_backtrace']=_0x3281f8['failure'][0x0][_0x1492dd(0x2ae)],_0x3281f8[_0x1492dd(0x1ea)]=_0x3281f8[_0x1492dd(0x212)][0x0][_0x1492dd(0x295)]);const _0x2be764=_0x2ef634[_0x1492dd(0x243)](_0x5bde3e,HookState[_0x1492dd(0x27b)])?_0x2ef634[_0x1492dd(0x24f)]:_0x2ef634[_0x1492dd(0x1f4)],_0x5c9851={};_0x5c9851[_0x1492dd(0x2b4)]=_0x2be764,_0x5c9851[_0x1492dd(0x223)]=_0x3281f8,SessionHandler[_0x1492dd(0x2a8)](_0x5c9851);}}function emitLog(_0xb735b0,_0x56b65b){const _0x154e4=a43_0x25de8a,_0xda31ce={'pbKso':_0x154e4(0x2b1),'OxJHn':function(_0x3fe5d5){return _0x3fe5d5();},'iMrxo':function(_0x487d0f,_0x1d08cb){return _0x487d0f===_0x1d08cb;},'sftsa':_0x154e4(0x296),'qKdEF':_0x154e4(0x2ba),'dJdis':'TEST','HVIka':_0x154e4(0x2c4),'zqNiE':function(_0x3a8e34,_0x3f7fca){return _0x3a8e34(_0x3f7fca);},'BgqcV':function(_0x220ad7,_0x2bb893){return _0x220ad7+_0x2bb893;},'NmwXE':'[Newman\x20Reporter]\x20emitLog\x20error:\x20','fnxuV':_0x154e4(0x24b)},_0x223a5a=_0x56b65b[_0x154e4(0x23b)]||_0xda31ce[_0x154e4(0x279)],_0x396e6c=_0x56b65b[_0x154e4(0x264)]||new Date()[_0x154e4(0x260)]();if(_0xda31ce[_0x154e4(0x26c)](isCLIRunning))try{const _0x42b995=_0xda31ce[_0x154e4(0x21a)](_0x223a5a,_0xda31ce[_0x154e4(0x226)])?JSON['stringify'](_0x56b65b):_0x56b65b['message']||'',_0x223b59={};_0x223b59['platformIndex']=0x0,_0x223b59[_0x154e4(0x257)]=_0xda31ce[_0x154e4(0x240)],_0x223b59[_0x154e4(0x2a3)]='',_0x223b59[_0x154e4(0x251)]=_0xda31ce[_0x154e4(0x2ac)],_0x223b59[_0x154e4(0x247)]=[{'uuid':_0xb735b0,'timestamp':_0x396e6c,'kind':_0x223a5a,'level':_0x56b65b[_0x154e4(0x2c9)]||_0xda31ce['HVIka'],'message':_0x42b995}],GrpcClient[_0x154e4(0x2d7)]()[_0x154e4(0x23f)](_0x223b59);}catch(_0x4583b9){_0xda31ce[_0x154e4(0x227)](debug,_0xda31ce['BgqcV'](_0xda31ce[_0x154e4(0x274)],_0x4583b9));}else{const _0x452fbc={};_0x452fbc['test_run_uuid']=_0xb735b0,_0x452fbc['timestamp']=_0x396e6c,_0x452fbc[_0x154e4(0x2c9)]=_0x56b65b[_0x154e4(0x2c9)]||null,_0x452fbc[_0x154e4(0x1f0)]=_0x56b65b[_0x154e4(0x1f0)]||null,_0x452fbc[_0x154e4(0x23b)]=_0x223a5a,_0x452fbc[_0x154e4(0x26d)]=_0x56b65b[_0x154e4(0x26d)]||{};const _0x188262={};_0x188262['event_type']=_0xda31ce[_0x154e4(0x276)],_0x188262[_0x154e4(0x247)]=[_0x452fbc],SessionHandler['uploadEventData'](_0x188262);}}function BrowserStackNewmanReporter(_0x2f6fca,_0x2fa0b4,_0x282114){const _0x1464ff=a43_0x25de8a,_0x318226={'SqYvI':function(_0x279cd9,_0x3d29ea,_0x5688a1){return _0x279cd9(_0x3d29ea,_0x5688a1);},'mdylf':function(_0x2ba8a1,_0x44a9b9){return _0x2ba8a1(_0x44a9b9);},'jcqcu':function(_0x337f45,_0x9f1234){return _0x337f45>_0x9f1234;},'QPFaR':'http','WIdJt':function(_0x4ef654,_0x24ee14){return _0x4ef654+_0x24ee14;},'cfFfQ':_0x1464ff(0x238),'AUkPq':function(_0x5da867,_0x3785cb,_0x35f581){return _0x5da867(_0x3785cb,_0x35f581);},'DjOwl':'TEST_LOG','pCZON':function(_0x3f8bc1,_0x20520b){return _0x3f8bc1+_0x20520b;},'skpGF':function(_0x2290e1){return _0x2290e1();},'tbHVp':function(_0x44efcf,_0x2f57a2){return _0x44efcf||_0x2f57a2;},'YjXOn':function(_0x52ad95,_0x3d2a62,_0x3ab9b6,_0x101615,_0x238be1,_0x21179e){return _0x52ad95(_0x3d2a62,_0x3ab9b6,_0x101615,_0x238be1,_0x21179e);},'DBXdo':function(_0x195f8f,_0x2e5b0a){return _0x195f8f===_0x2e5b0a;},'ognfj':function(_0x5a0ba3,_0x48b77c){return _0x5a0ba3>_0x48b77c;},'SOGbi':function(_0x5daa4c,_0x2612b3,_0x203e3e){return _0x5daa4c(_0x2612b3,_0x203e3e);},'ZIsbz':'HTTP','aNEbl':function(_0x17100d,_0x21150f){return _0x17100d+_0x21150f;},'ADyJm':function(_0x2b2065,_0xa31d25){return _0x2b2065+_0xa31d25;},'mShVq':function(_0x4db310,_0x2a471b){return _0x4db310+_0x2a471b;},'pIYCk':function(_0x4a1555,_0x7a151f){return _0x4a1555+_0x7a151f;},'rDlKj':function(_0x3f1604,_0x14733e){return _0x3f1604+_0x14733e;},'JHIlv':function(_0x119443,_0x1dd9fd){return _0x119443+_0x1dd9fd;},'yevLd':'\x20->\x20','YQGQN':'ms)','hwftm':function(_0x191ba9,_0x21b655,_0x25dec9){return _0x191ba9(_0x21b655,_0x25dec9);},'fAzyY':_0x1464ff(0x2c4),'cwCWL':function(_0x58ae98,_0x2248c2){return _0x58ae98(_0x2248c2);},'pBtWH':function(_0xd25308,_0x599d12){return _0xd25308>_0x599d12;},'FqQhT':function(_0x49c7f5,_0x5c326c){return _0x49c7f5-_0x5c326c;},'naigC':function(_0x1b5c65,_0x5c92c0,_0x509063){return _0x1b5c65(_0x5c92c0,_0x509063);},'ruBtn':function(_0x2875b4,_0x2e8035){return _0x2875b4(_0x2e8035);},'IwlCB':function(_0x14a194,_0xc6fa5d){return _0x14a194(_0xc6fa5d);},'WcSoM':function(_0xf49085,_0xc6cc5f){return _0xf49085&&_0xc6cc5f;},'inpcM':function(_0x5d0516,_0x5ae720){return _0x5d0516>_0x5ae720;},'qvpYo':function(_0x2b50b3,_0x25a50d){return _0x2b50b3-_0x25a50d;},'IxnvA':function(_0x16a76e,_0x448d27,_0x3f05f2){return _0x16a76e(_0x448d27,_0x3f05f2);},'dRYbY':function(_0x9e8054,_0x53006b){return _0x9e8054+_0x53006b;},'AMDER':_0x1464ff(0x22a),'RZaAI':_0x1464ff(0x275),'GKjvH':_0x1464ff(0x215),'IZpaT':function(_0x593d36,_0x18dabd){return _0x593d36>_0x18dabd;},'gMKuF':function(_0x326286,_0x250f88){return _0x326286-_0x250f88;},'GjPdn':'unknown','LGaWL':function(_0xae3c2e,_0x161ea4){return _0xae3c2e+_0x161ea4;},'SPKLn':'Script\x20error\x20(','lSlwN':_0x1464ff(0x203),'jcAZm':function(_0xd07fa0,_0x203fe5){return _0xd07fa0(_0x203fe5);},'hvwLb':_0x1464ff(0x2c2),'oKlDK':_0x1464ff(0x289),'Gpkkj':_0x1464ff(0x2c8),'LUXLd':function(_0x45119a,_0x2e8852){return _0x45119a===_0x2e8852;},'Rxdhu':_0x1464ff(0x1fb),'EkDBF':'assert','fSADd':_0x1464ff(0x284),'vUEJH':function(_0x593f31,_0xae19b8){return _0x593f31>_0xae19b8;},'xrtXB':function(_0x4d33d5){return _0x4d33d5();},'xFuFZ':function(_0x514981,_0x1bb803){return _0x514981!=_0x1bb803;},'jZvnp':function(_0x27595f,_0x5a3857){return _0x27595f>=_0x5a3857;},'fKlmv':function(_0x51fa10,_0x1da799){return _0x51fa10<_0x1da799;},'lItaj':'N/A','KDMJg':_0x1464ff(0x2a6),'vXctY':function(_0x47fa9a,_0x3ce4e2,_0x31cbce,_0x12a508,_0x5ce6e4,_0x1f545e){return _0x47fa9a(_0x3ce4e2,_0x31cbce,_0x12a508,_0x5ce6e4,_0x1f545e);},'PVLWb':function(_0x20f483,_0x433db5,_0x459b9b){return _0x20f483(_0x433db5,_0x459b9b);},'vaRXo':function(_0x3b2e1d,_0x352a9c){return _0x3b2e1d+_0x352a9c;},'KXjqX':function(_0x4987a7,_0x265b71){return _0x4987a7+_0x265b71;},'zGPTQ':function(_0x36db29,_0x3fde2d){return _0x36db29+_0x3fde2d;},'yZOPD':function(_0x383d3c,_0x253e4b){return _0x383d3c+_0x253e4b;},'xZZMe':function(_0x539474,_0x2f7a94){return _0x539474+_0x2f7a94;},'TBhxB':function(_0x421720,_0x2cd1c0){return _0x421720+_0x2cd1c0;},'nnpJG':function(_0x43f5d6,_0x48884d,_0x3c9562){return _0x43f5d6(_0x48884d,_0x3c9562);},'CBGTs':_0x1464ff(0x28f),'XmyQb':function(_0x5e762c,_0x5d631b){return _0x5e762c||_0x5d631b;},'imWFV':'\x20(no\x20assertions)','RPXOC':function(_0x77e8f5,_0x29e676,_0x262c64){return _0x77e8f5(_0x29e676,_0x262c64);},'FEhlZ':function(_0x1a310d,_0x1e12b7){return _0x1a310d(_0x1e12b7);},'Ocsut':_0x1464ff(0x256),'NjuFb':_0x1464ff(0x22f),'Okxtr':_0x1464ff(0x27e),'VDrnW':_0x1464ff(0x287),'HDZSy':_0x1464ff(0x280),'Lfqqt':_0x1464ff(0x266),'VqAIJ':_0x1464ff(0x204),'slpfX':'script','sYkZg':'item'},_0x5da92c=new Map();let _0xcfe221=null,_0x1c63cc=0x0;const _0x89552e=_0x318226[_0x1464ff(0x2b5)](resolveCollectionFile,_0x282114,_0x2fa0b4),_0x3f8247=_0x318226['FEhlZ'](resolveCollectionName,_0x282114)||_0x89552e,_0x1b814f=path['resolve'](_0x89552e),_0x402270=_0x1464ff(0x21d)+process[_0x1464ff(0x1f9)],_0x2f48f6=_0xeeb0e=>{const _0x578fa4=_0x1464ff;try{_0xcfe221&&_0x318226[_0x578fa4(0x1e8)](emitLog,_0xcfe221,_0xeeb0e);}catch(_0x27a829){_0x318226[_0x578fa4(0x24a)](debug,_0x578fa4(0x2c6)+_0x27a829);}};process['on'](_0x402270,_0x2f48f6),_0x2f6fca['on'](_0x318226[_0x1464ff(0x218)],()=>{const _0x36a9c1=_0x1464ff;process[_0x36a9c1(0x29c)](_0x402270,_0x2f48f6),_0x5da92c['clear']();}),_0x2f6fca['on'](_0x318226[_0x1464ff(0x2a9)],(_0x9fa7d4,_0x4653b4)=>{const _0x4fa3e7=_0x1464ff;_0x4653b4&&_0x4653b4[_0x4fa3e7(0x2dd)]&&(_0x1c63cc=_0x4653b4[_0x4fa3e7(0x2dd)][_0x4fa3e7(0x294)]||0x0);}),_0x2f6fca['on'](_0x318226[_0x1464ff(0x267)],(_0x1caac7,_0x55cfe6)=>{const _0x174c76=_0x1464ff;try{_0xcfe221=null;const _0xc4a9a2=_0x55cfe6[_0x174c76(0x239)],_0xf1d7f0=_0xc4a9a2[_0x174c76(0x244)]()?_0x318226[_0x174c76(0x24a)](getParentTitles,_0xc4a9a2[_0x174c76(0x244)]()):[],_0xb77da1=_0x318226[_0x174c76(0x24e)](_0xf1d7f0[_0x174c76(0x258)],0x1)?_0xf1d7f0[_0x174c76(0x269)](0x1):_0xf1d7f0,_0x44cee0=_0x55cfe6[_0x174c76(0x2dd)]&&_0x55cfe6[_0x174c76(0x2dd)][_0x174c76(0x25e)],_0x5f00f0={'itemName':_0xc4a9a2['name'],'scopes':_0xb77da1['concat']([_0xc4a9a2[_0x174c76(0x200)]]),'location':_0x89552e,'collectionName':_0x3f8247,'startedAt':new Date()[_0x174c76(0x260)](),'startTimestamp':Date[_0x174c76(0x233)](),'lastResponseCode':null,'httpLog':null,'assertions':[],'bufferedLogs':[]};_0x5da92c[_0x174c76(0x21f)](_0xc4a9a2['id']+'_'+_0x1c63cc,_0x5f00f0),_0x44cee0&&_0x5da92c[_0x174c76(0x21f)](_0x44cee0+'_'+_0x1c63cc,_0x5f00f0);}catch(_0x5192be){_0x318226[_0x174c76(0x24a)](debug,_0x174c76(0x278)+_0x5192be);}}),_0x2f6fca['on'](_0x318226[_0x1464ff(0x202)],(_0x2971d7,_0x344943)=>{const _0x487cd4=_0x1464ff;try{if(!_0x344943||!_0x344943[_0x487cd4(0x239)])return;const _0x5c1b97=_0x5da92c[_0x487cd4(0x26e)](_0x344943[_0x487cd4(0x239)]['id']+'_'+_0x1c63cc);if(!_0x5c1b97)return;_0x344943[_0x487cd4(0x1f2)]&&(_0x5c1b97[_0x487cd4(0x234)]=_0x344943[_0x487cd4(0x1f2)][_0x487cd4(0x2bb)]||null);if(!_0x344943[_0x487cd4(0x287)])return;let _0x4a77ec='',_0x24afad='';if(_0x344943[_0x487cd4(0x287)][_0x487cd4(0x23a)])try{const _0x5be60d=_0x344943['request'][_0x487cd4(0x23a)]['toString'](),_0x5b6b60=new URL(_0x5be60d[_0x487cd4(0x242)](_0x318226[_0x487cd4(0x25b)])?_0x5be60d:'http://'+_0x5be60d);_0x4a77ec=_0x5b6b60['hostname'],_0x24afad=_0x318226['WIdJt'](_0x5b6b60['pathname'],_0x5b6b60[_0x487cd4(0x2c7)]);}catch(_0x54fdc4){_0x24afad=_0x344943[_0x487cd4(0x287)]['url'][_0x487cd4(0x291)]();}const _0xad6997={};_0xad6997[_0x487cd4(0x201)]=_0x4a77ec,_0xad6997[_0x487cd4(0x2c3)]=_0x24afad,_0xad6997[_0x487cd4(0x248)]=_0x344943[_0x487cd4(0x287)]['method']||_0x318226[_0x487cd4(0x25a)],_0xad6997[_0x487cd4(0x2b7)]={},_0xad6997[_0x487cd4(0x2bd)]=_0x344943[_0x487cd4(0x1f2)]?_0x344943['response'][_0x487cd4(0x2bb)]||0x0:0x0,_0xad6997[_0x487cd4(0x283)]=_0x344943[_0x487cd4(0x1f2)]?_0x344943[_0x487cd4(0x1f2)][_0x487cd4(0x2a2)]||0x0:0x0,_0x5c1b97[_0x487cd4(0x1e6)]=_0xad6997;}catch(_0x15ef69){_0x318226[_0x487cd4(0x24a)](debug,_0x487cd4(0x2c1)+_0x15ef69);}}),_0x2f6fca['on'](_0x318226[_0x1464ff(0x29f)],(_0x5f5231,_0x2c5c0a)=>{const _0x36dd20=_0x1464ff;try{if(!_0x2c5c0a||!_0x2c5c0a['item'])return;const _0x2faeca=_0x5da92c['get'](_0x2c5c0a['item']['id']+'_'+_0x1c63cc);if(!_0x2faeca)return;const _0x3bd1b9=_0x2c5c0a[_0x36dd20(0x280)]||_0x36dd20(0x20b)+_0x318226[_0x36dd20(0x28a)](_0x2faeca[_0x36dd20(0x231)][_0x36dd20(0x258)],0x1),_0x46dbc0=_0x318226[_0x36dd20(0x205)](uuidv4),_0x18ea03=_0x2faeca['scopes'][_0x36dd20(0x1f6)]([_0x3bd1b9])[_0x36dd20(0x1ec)]('\x20');_0x2faeca[_0x36dd20(0x231)][_0x36dd20(0x254)]({'uuid':_0x46dbc0,'name':_0x3bd1b9,'identifier':_0x18ea03,'err':_0x318226[_0x36dd20(0x255)](_0x5f5231,null)});const _0x40015a={};_0x40015a[_0x36dd20(0x2ce)]=_0x46dbc0,_0x40015a[_0x36dd20(0x200)]=_0x3bd1b9,_0x40015a[_0x36dd20(0x208)]=_0x18ea03,_0x318226[_0x36dd20(0x2df)](emitTest,HookState[_0x36dd20(0x27b)],_0x40015a,_0x2faeca,_0x1b814f,{});_0x318226[_0x36dd20(0x220)](_0x2faeca[_0x36dd20(0x231)][_0x36dd20(0x258)],0x1)&&_0x318226['ognfj'](_0x2faeca[_0x36dd20(0x2da)][_0x36dd20(0x258)],0x0)&&(_0x2faeca[_0x36dd20(0x2da)]['forEach'](_0x6a37f3=>{const _0x338c25=_0x36dd20;_0x318226[_0x338c25(0x26f)](emitLog,_0x46dbc0,{'kind':_0x318226[_0x338c25(0x219)],'message':_0x6a37f3[_0x338c25(0x1f0)],'level':_0x6a37f3[_0x338c25(0x2c9)]});}),_0x2faeca[_0x36dd20(0x2da)]=[]);if(_0x2faeca[_0x36dd20(0x1e6)]){_0x318226[_0x36dd20(0x224)](emitLog,_0x46dbc0,{'kind':_0x318226[_0x36dd20(0x292)],'http_response':_0x2faeca[_0x36dd20(0x1e6)]});const _0x579db9=_0x318226[_0x36dd20(0x2d8)](_0x318226[_0x36dd20(0x28d)](_0x318226[_0x36dd20(0x271)](_0x318226[_0x36dd20(0x263)](_0x318226[_0x36dd20(0x211)](_0x318226[_0x36dd20(0x1ef)](_0x318226[_0x36dd20(0x24d)](_0x318226[_0x36dd20(0x2d8)](_0x2faeca[_0x36dd20(0x1e6)]['method']||_0x318226[_0x36dd20(0x25a)],'\x20'),_0x2faeca[_0x36dd20(0x1e6)][_0x36dd20(0x201)]),_0x2faeca[_0x36dd20(0x1e6)][_0x36dd20(0x2c3)]),_0x318226[_0x36dd20(0x2af)]),_0x2faeca[_0x36dd20(0x1e6)][_0x36dd20(0x2bd)]),'\x20('),_0x2faeca[_0x36dd20(0x1e6)][_0x36dd20(0x283)]),_0x318226[_0x36dd20(0x293)]);_0x318226[_0x36dd20(0x26a)](emitLog,_0x46dbc0,{'kind':_0x318226[_0x36dd20(0x219)],'message':_0x579db9,'level':_0x318226[_0x36dd20(0x2cb)]});}_0xcfe221=_0x46dbc0;}catch(_0x560e43){_0x318226[_0x36dd20(0x268)](debug,'[Newman\x20Reporter]\x20Error\x20in\x20assertion:\x20'+_0x560e43);}}),_0x2f6fca['on'](_0x318226[_0x1464ff(0x265)],(_0x583fd8,_0x12d226)=>{const _0x3173e1=_0x1464ff;try{if(!_0x12d226)return;let _0x22df44=_0xcfe221;if(!_0x22df44&&_0x12d226[_0x3173e1(0x2dd)]&&_0x12d226[_0x3173e1(0x2dd)]['ref']){const _0x1d5542=_0x5da92c[_0x3173e1(0x26e)](_0x12d226[_0x3173e1(0x2dd)][_0x3173e1(0x25e)]+'_'+_0x1c63cc);_0x1d5542&&_0x318226[_0x3173e1(0x213)](_0x1d5542[_0x3173e1(0x231)][_0x3173e1(0x258)],0x0)&&(_0x22df44=_0x1d5542[_0x3173e1(0x231)][_0x318226[_0x3173e1(0x25c)](_0x1d5542[_0x3173e1(0x231)][_0x3173e1(0x258)],0x1)]['uuid']);}const _0xa04d2e=_0x12d226[_0x3173e1(0x1fa)]?_0x12d226[_0x3173e1(0x1fa)][_0x3173e1(0x1ec)](',\x20'):'';if(_0x22df44)_0x318226['naigC'](emitLog,_0x22df44,{'kind':_0x318226[_0x3173e1(0x219)],'message':_0xa04d2e,'level':_0x318226[_0x3173e1(0x24a)](normalizeLogLevel,_0x12d226[_0x3173e1(0x2c9)])});else{if(_0x12d226[_0x3173e1(0x2dd)]&&_0x12d226[_0x3173e1(0x2dd)][_0x3173e1(0x25e)]){const _0x4c969c=_0x5da92c[_0x3173e1(0x26e)](_0x12d226[_0x3173e1(0x2dd)][_0x3173e1(0x25e)]+'_'+_0x1c63cc);_0x4c969c&&_0x4c969c[_0x3173e1(0x2da)][_0x3173e1(0x254)]({'timestamp':new Date()['toISOString'](),'level':_0x318226[_0x3173e1(0x268)](normalizeLogLevel,_0x12d226[_0x3173e1(0x2c9)]),'message':_0xa04d2e});}}}catch(_0x57d7d9){_0x318226['ruBtn'](debug,'[Newman\x20Reporter]\x20Error\x20in\x20console:\x20'+_0x57d7d9);}}),_0x2f6fca['on'](_0x318226[_0x1464ff(0x2bc)],(_0x38979f,_0x274e4c)=>{const _0x35cd10=_0x1464ff;try{if(!_0x38979f&&(!_0x274e4c||!_0x274e4c[_0x35cd10(0x2a5)]))return;const _0x3c99cb=_0x38979f||_0x274e4c['error'],_0x1d2c19=_0x3c99cb[_0x35cd10(0x1f0)]||_0x318226[_0x35cd10(0x21c)](String,_0x3c99cb),_0xfe36b7=_0x3c99cb[_0x35cd10(0x2a0)]||_0x1d2c19;let _0x56da20=_0xcfe221;if(_0x318226[_0x35cd10(0x2b2)](!_0x56da20,_0x274e4c)&&_0x274e4c['cursor']&&_0x274e4c[_0x35cd10(0x2dd)][_0x35cd10(0x25e)]){const _0x54d109=_0x5da92c['get'](_0x274e4c[_0x35cd10(0x2dd)][_0x35cd10(0x25e)]+'_'+_0x1c63cc);_0x54d109&&_0x318226[_0x35cd10(0x272)](_0x54d109[_0x35cd10(0x231)]['length'],0x0)&&(_0x56da20=_0x54d109['assertions'][_0x318226[_0x35cd10(0x20c)](_0x54d109[_0x35cd10(0x231)][_0x35cd10(0x258)],0x1)][_0x35cd10(0x2ce)]);}_0x56da20&&_0x318226[_0x35cd10(0x1eb)](emitLog,_0x56da20,{'kind':_0x318226[_0x35cd10(0x219)],'message':_0x318226['dRYbY'](_0x318226[_0x35cd10(0x2db)],_0xfe36b7),'level':_0x318226[_0x35cd10(0x27c)]});}catch(_0x4f1594){_0x318226[_0x35cd10(0x268)](debug,_0x318226[_0x35cd10(0x24d)](_0x318226[_0x35cd10(0x23c)],_0x4f1594));}}),_0x2f6fca['on'](_0x318226['slpfX'],(_0x1ace2e,_0x8045f)=>{const _0x4eefee=_0x1464ff;try{if(!_0x8045f||!_0x8045f[_0x4eefee(0x237)])return;let _0x4701f2=_0xcfe221;if(!_0x4701f2&&_0x8045f[_0x4eefee(0x2dd)]&&_0x8045f[_0x4eefee(0x2dd)][_0x4eefee(0x25e)]){const _0x48f945=_0x5da92c['get'](_0x8045f[_0x4eefee(0x2dd)][_0x4eefee(0x25e)]+'_'+_0x1c63cc);_0x48f945&&_0x318226[_0x4eefee(0x25f)](_0x48f945['assertions']['length'],0x0)&&(_0x4701f2=_0x48f945[_0x4eefee(0x231)][_0x318226[_0x4eefee(0x245)](_0x48f945[_0x4eefee(0x231)][_0x4eefee(0x258)],0x1)][_0x4eefee(0x2ce)]);}if(!_0x4701f2)return;const _0x4837ab=_0x8045f[_0x4eefee(0x2be)]&&_0x8045f[_0x4eefee(0x2be)][_0x4eefee(0x217)]||_0x318226[_0x4eefee(0x214)];_0x1ace2e&&_0x318226['IxnvA'](emitLog,_0x4701f2,{'kind':_0x318226[_0x4eefee(0x219)],'message':_0x318226[_0x4eefee(0x2dc)](_0x318226[_0x4eefee(0x263)](_0x318226[_0x4eefee(0x1ef)](_0x318226['SPKLn'],_0x4837ab),_0x318226[_0x4eefee(0x285)]),_0x1ace2e[_0x4eefee(0x1f0)]||_0x1ace2e),'level':_0x318226[_0x4eefee(0x27c)]});}catch(_0x1fe6c5){_0x318226[_0x4eefee(0x216)](debug,_0x318226['WIdJt'](_0x318226[_0x4eefee(0x22d)],_0x1fe6c5));}}),_0x2f6fca['on'](_0x318226['sYkZg'],(_0xd5f44c,_0x42767f)=>{const _0x5477ef=_0x1464ff,_0xf6edbe={'YdNwC':function(_0x1553a9,_0x4a9506,_0x76a241){return _0x318226['naigC'](_0x1553a9,_0x4a9506,_0x76a241);},'VOguA':_0x318226[_0x5477ef(0x219)]};try{if(!_0x42767f||!_0x42767f[_0x5477ef(0x239)])return;const _0x43253e=_0x42767f[_0x5477ef(0x239)]['id']+'_'+_0x1c63cc,_0x59deed=_0x5da92c[_0x5477ef(0x26e)](_0x43253e);if(!_0x59deed)return;const _0x1cf925=new Date(),_0x790fb3=_0x318226[_0x5477ef(0x20c)](_0x1cf925[_0x5477ef(0x1f8)](),_0x59deed[_0x5477ef(0x29d)]);if(_0x318226[_0x5477ef(0x229)](_0x59deed[_0x5477ef(0x231)][_0x5477ef(0x258)],0x0))_0x59deed[_0x5477ef(0x231)]['forEach'](_0x356750=>{const _0x216acb=_0x5477ef,_0x467d7d=!!_0x356750[_0x216acb(0x1f7)],_0x291e7d={'finishedAt':_0x1cf925[_0x216acb(0x260)](),'durationMs':_0x790fb3,'result':_0x467d7d?_0x318226[_0x216acb(0x20a)]:_0x318226[_0x216acb(0x20e)]};_0x467d7d&&(_0x291e7d[_0x216acb(0x253)]=_0x356750[_0x216acb(0x1f7)][_0x216acb(0x1f0)]||'',_0x291e7d['failureType']=_0x318226[_0x216acb(0x297)](_0x356750[_0x216acb(0x1f7)][_0x216acb(0x200)],_0x318226[_0x216acb(0x2b0)])||_0x356750[_0x216acb(0x1f7)]['message']&&_0x356750['err']['message']['includes'](_0x318226[_0x216acb(0x206)])?_0x318226[_0x216acb(0x2b0)]:_0x318226[_0x216acb(0x209)],_0x291e7d[_0x216acb(0x212)]=[{'backtrace':_0x356750[_0x216acb(0x1f7)]['stack']?_0x356750[_0x216acb(0x1f7)][_0x216acb(0x2a0)][_0x216acb(0x2ab)]('\x0a'):[_0x356750['err']['message']||''],'expanded':[]}]),_0x318226[_0x216acb(0x2df)](emitTest,HookState[_0x216acb(0x228)],_0x356750,_0x59deed,_0x1b814f,_0x291e7d);});else{const _0x52a4d1=_0x318226['xrtXB'](uuidv4),_0x4fbfd4=_0x59deed['lastResponseCode'],_0x472c60=_0x318226[_0x5477ef(0x1ed)](_0x4fbfd4,null)&&_0x318226['jZvnp'](_0x4fbfd4,0xc8)&&_0x318226[_0x5477ef(0x2d3)](_0x4fbfd4,0x190),_0x3fe715=_0x59deed[_0x5477ef(0x221)]+_0x5477ef(0x2a7)+_0x318226[_0x5477ef(0x255)](_0x4fbfd4,_0x318226[_0x5477ef(0x23e)])+')',_0x42df8b={'uuid':_0x52a4d1,'name':_0x3fe715,'identifier':_0x59deed[_0x5477ef(0x210)]['concat']([_0x3fe715])['join']('\x20')},_0x3d5816={'finishedAt':_0x1cf925[_0x5477ef(0x260)](),'durationMs':_0x790fb3,'result':_0x472c60?_0x318226[_0x5477ef(0x20e)]:_0x318226[_0x5477ef(0x20a)]};!_0x472c60&&(_0x3d5816[_0x5477ef(0x253)]=_0x318226[_0x5477ef(0x1ed)](_0x4fbfd4,null)?_0x5477ef(0x20d)+_0x4fbfd4+'\x20—\x20response\x20status\x20in\x20failure\x20range':_0x318226['KDMJg'],_0x3d5816[_0x5477ef(0x250)]=_0x318226['fSADd'],_0x3d5816[_0x5477ef(0x212)]=[{'backtrace':[_0x3d5816[_0x5477ef(0x253)]],'expanded':[]}]);_0x318226['vXctY'](emitTest,HookState['PRE'],_0x42df8b,_0x59deed,_0x1b814f,{}),_0x59deed[_0x5477ef(0x2da)][_0x5477ef(0x2ca)](_0x5ce4e2=>{const _0x72b87d=_0x5477ef;_0xf6edbe[_0x72b87d(0x28e)](emitLog,_0x52a4d1,{'kind':_0xf6edbe['VOguA'],'message':_0x5ce4e2[_0x72b87d(0x1f0)],'level':_0x5ce4e2[_0x72b87d(0x2c9)]});});if(_0x59deed[_0x5477ef(0x1e6)]){_0x318226[_0x5477ef(0x29e)](emitLog,_0x52a4d1,{'kind':_0x318226['ZIsbz'],'http_response':_0x59deed[_0x5477ef(0x1e6)]});const _0x31b29c=_0x318226[_0x5477ef(0x271)](_0x318226[_0x5477ef(0x23d)](_0x318226[_0x5477ef(0x252)](_0x318226[_0x5477ef(0x1ff)](_0x318226[_0x5477ef(0x2d8)](_0x318226[_0x5477ef(0x29a)](_0x318226['xZZMe'](_0x318226['TBhxB'](_0x59deed[_0x5477ef(0x1e6)][_0x5477ef(0x248)]||_0x318226[_0x5477ef(0x25a)],'\x20'),_0x59deed[_0x5477ef(0x1e6)]['host']),_0x59deed[_0x5477ef(0x1e6)][_0x5477ef(0x2c3)]),_0x318226[_0x5477ef(0x2af)]),_0x59deed[_0x5477ef(0x1e6)][_0x5477ef(0x2bd)]),'\x20('),_0x59deed[_0x5477ef(0x1e6)][_0x5477ef(0x283)]),_0x318226[_0x5477ef(0x293)]);_0x318226[_0x5477ef(0x207)](emitLog,_0x52a4d1,{'kind':_0x318226['DjOwl'],'message':_0x31b29c,'level':_0x318226['fAzyY']});}else _0x318226[_0x5477ef(0x26a)](emitLog,_0x52a4d1,{'kind':_0x318226[_0x5477ef(0x219)],'message':_0x318226[_0x5477ef(0x1ef)](_0x318226[_0x5477ef(0x263)](_0x318226[_0x5477ef(0x28c)],_0x318226['XmyQb'](_0x4fbfd4,_0x318226[_0x5477ef(0x23e)])),_0x318226[_0x5477ef(0x2b6)]),'level':_0x318226[_0x5477ef(0x2cb)]});_0x318226['vXctY'](emitTest,HookState[_0x5477ef(0x228)],_0x42df8b,_0x59deed,_0x1b814f,_0x3d5816);}_0x5da92c['delete'](_0x43253e),_0x42767f[_0x5477ef(0x2dd)]&&_0x42767f[_0x5477ef(0x2dd)][_0x5477ef(0x25e)]&&_0x5da92c[_0x5477ef(0x2c0)](_0x42767f[_0x5477ef(0x2dd)][_0x5477ef(0x25e)]+'_'+_0x1c63cc);}catch(_0x57b72a){_0x318226[_0x5477ef(0x249)](debug,_0x5477ef(0x2cf)+_0x57b72a);}});}module['exports']=BrowserStackNewmanReporter;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a44_0x52e4da=a44_0x5c8e;(function(_0x4e9ff8,_0x6f2dce){const _0x3b4e1f=a44_0x5c8e,_0x3d5a7c=_0x4e9ff8();while(!![]){try{const _0x23d901=-parseInt(_0x3b4e1f(0x1c6))/0x1*(-parseInt(_0x3b4e1f(0x1b4))/0x2)+-parseInt(_0x3b4e1f(0x194))/0x3+-parseInt(_0x3b4e1f(0x18b))/0x4*(parseInt(_0x3b4e1f(0x1ac))/0x5)+parseInt(_0x3b4e1f(0x19a))/0x6*(parseInt(_0x3b4e1f(0x1b6))/0x7)+-parseInt(_0x3b4e1f(0x1b2))/0x8+-parseInt(_0x3b4e1f(0x1b0))/0x9*(-parseInt(_0x3b4e1f(0x1b1))/0xa)+parseInt(_0x3b4e1f(0x1c1))/0xb*(parseInt(_0x3b4e1f(0x19d))/0xc);if(_0x23d901===_0x6f2dce)break;else _0x3d5a7c['push'](_0x3d5a7c['shift']());}catch(_0x3ad5a7){_0x3d5a7c['push'](_0x3d5a7c['shift']());}}}(a44_0x3449,0xd884f));const path=require(a44_0x52e4da(0x1a2)),Module=require('module'),BrowserstackCLI=require(a44_0x52e4da(0x191)),scriptFile=process[a44_0x52e4da(0x18d)][0x2],maxParallel=parseInt(process['argv'][0x3])||0x0;function a44_0x3449(){const _0x7d9ac3=['tyXvN','getInstance','newman','[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a','failures','cli','length','_load','9050ukrtlN','p-limit','reporter','MdrVt','513chFCTB','20030EBeRAb','8478400NPJHld','nMLfj','2QXKapw','AmFNi','7CzVNgk','reporters','cOZFM','string','exitCode','AKAwn','browserstack','dKOrI','OBauv','exit','WGdKJ','517eJcmVg','JbYAL','join','KkVOp','[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20','1112591xVdTGI','bind','collection','ihCWG','write','940FioHAA','message','argv','collectionPath','tjgUe','create','../v2/browserstackCLI','_resolveFilename','resolve','3728994KNBtHW','IXhXH','assign','call','run','RVyyx','9876432bfqVVw','BPfYw','vQwrU','189492NrGYdo','stderr','indexOf','byyFo','newman-reporter-browserstack','path','JKHPF'];a44_0x3449=function(){return _0x7d9ac3;};return a44_0x3449();}function a44_0x5c8e(_0x26046e,_0x32da90){const _0x344913=a44_0x3449();return a44_0x5c8e=function(_0x5c8efb,_0x3088f6){_0x5c8efb=_0x5c8efb-0x189;let _0x14558b=_0x344913[_0x5c8efb];return _0x14558b;},a44_0x5c8e(_0x26046e,_0x32da90);}!scriptFile&&(process[a44_0x52e4da(0x19e)][a44_0x52e4da(0x18a)](a44_0x52e4da(0x1a7)),process[a44_0x52e4da(0x1bf)](0x1));const reporterPath=path[a44_0x52e4da(0x1c3)](__dirname,a44_0x52e4da(0x1ae),'index.js'),originalResolveFilename=Module['_resolveFilename'];Module[a44_0x52e4da(0x192)]=function(_0x1ca3c0,_0x39c459,_0x12456d,_0x35882a){const _0x56aa3d=a44_0x52e4da,_0x4641e8={};_0x4641e8[_0x56aa3d(0x199)]=function(_0x358b1c,_0xa779b6){return _0x358b1c===_0xa779b6;},_0x4641e8[_0x56aa3d(0x1bd)]=_0x56aa3d(0x1a1);const _0x21d96b=_0x4641e8;if(_0x21d96b['RVyyx'](_0x1ca3c0,_0x21d96b[_0x56aa3d(0x1bd)]))return reporterPath;return originalResolveFilename[_0x56aa3d(0x197)](this,_0x1ca3c0,_0x39c459,_0x12456d,_0x35882a);};let limit;try{const pLimit=require(a44_0x52e4da(0x1ad)),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a44_0x101c10){limit=function(_0x21dc67){const _0x28b7e0=a44_0x52e4da,_0x1c9b78={'AKAwn':function(_0x3e43f9){return _0x3e43f9();}};return _0x1c9b78[_0x28b7e0(0x1bb)](_0x21dc67);};}let wrappedNewman=null,hasFailure=![];const originalLoad=Module['_load'];Module[a44_0x52e4da(0x1ab)]=function(_0x19ec76,_0x4837cf,_0x202e1d){const _0x6992e3=a44_0x52e4da,_0x147746={'MdrVt':function(_0x2c0e44,_0x2e2145){return _0x2c0e44>_0x2e2145;},'cOZFM':function(_0x56cf3c,_0x4cb372){return _0x56cf3c||_0x4cb372;},'Rxyyg':function(_0xefd7c,_0x15ccba,_0x192c2c){return _0xefd7c(_0x15ccba,_0x192c2c);},'AmFNi':function(_0x3e5668,_0x541dc9){return _0x3e5668(_0x541dc9);},'GqEnq':function(_0x1b6fc5,_0x203872,_0x2872f8){return _0x1b6fc5(_0x203872,_0x2872f8);},'IXhXH':_0x6992e3(0x1a9),'JKHPF':function(_0x49b163,_0x13dc5a){return _0x49b163===_0x13dc5a;},'tjgUe':_0x6992e3(0x1bc),'nMLfj':_0x6992e3(0x1b9),'KkVOp':function(_0x521780,_0x4a27){return _0x521780(_0x4a27);},'UPjWs':function(_0x294b7b,_0x50b5fa){return _0x294b7b!==_0x50b5fa;},'BPfYw':_0x6992e3(0x1a6)},_0x47d0a1=originalLoad[_0x6992e3(0x197)](this,_0x19ec76,_0x4837cf,_0x202e1d);if(_0x147746['UPjWs'](_0x19ec76,_0x147746[_0x6992e3(0x19b)]))return _0x47d0a1;if(wrappedNewman)return wrappedNewman;const _0x277518=_0x47d0a1[_0x6992e3(0x198)][_0x6992e3(0x1c7)](_0x47d0a1);return wrappedNewman=Object[_0x6992e3(0x190)](_0x47d0a1),wrappedNewman['run']=function(_0xb5a3a5,_0x3498da){const _0x224409=_0x6992e3;let _0x52e9ee=_0xb5a3a5[_0x224409(0x1b7)]||[_0x147746[_0x224409(0x195)]];_0x147746[_0x224409(0x1a3)](_0x52e9ee[_0x224409(0x19f)](_0x147746[_0x224409(0x18f)]),-0x1)&&(_0x52e9ee=_0x52e9ee['concat']([_0x147746[_0x224409(0x18f)]]));const _0x4786b4=_0x147746[_0x224409(0x1a3)](typeof _0xb5a3a5['collection'],_0x147746[_0x224409(0x1b3)])?_0xb5a3a5[_0x224409(0x1c8)]:undefined,_0x1a52ce={};_0x1a52ce[_0x224409(0x18e)]=_0x4786b4;const _0x472544=Object[_0x224409(0x196)]({},_0xb5a3a5[_0x224409(0x1ae)],{'browserstack':Object[_0x224409(0x196)]({},_0xb5a3a5['reporter']&&_0xb5a3a5['reporter']['browserstack'],_0x1a52ce)}),_0x5873c0={};return _0x5873c0['reporters']=_0x52e9ee,_0x5873c0['reporter']=_0x472544,_0xb5a3a5=Object['assign']({},_0xb5a3a5,_0x5873c0),_0x147746[_0x224409(0x1c4)](limit,function(){const _0x4ca867={'byyFo':function(_0x3de601,_0x179d49){const _0x3524ac=a44_0x5c8e;return _0x147746[_0x3524ac(0x1af)](_0x3de601,_0x179d49);},'OBauv':function(_0x3a4cf3,_0x1b388f){const _0x1dba1a=a44_0x5c8e;return _0x147746[_0x1dba1a(0x1b8)](_0x3a4cf3,_0x1b388f);},'tyXvN':function(_0xd90050,_0x2ea68f,_0x4c8573){return _0x147746['Rxyyg'](_0xd90050,_0x2ea68f,_0x4c8573);},'FKbUe':function(_0x570b6d,_0x363db5){const _0x56cdf7=a44_0x5c8e;return _0x147746[_0x56cdf7(0x1b5)](_0x570b6d,_0x363db5);},'MgcVd':function(_0x5558e9,_0x244aa7,_0x44b6e3){return _0x147746['GqEnq'](_0x5558e9,_0x244aa7,_0x44b6e3);}};return new Promise(function(_0x1787d8){_0x4ca867['MgcVd'](_0x277518,_0xb5a3a5,function(_0x4f3319,_0xdb606a){const _0x41797c=a44_0x5c8e,_0x935266=_0xdb606a&&_0xdb606a[_0x41797c(0x198)]&&(_0xdb606a[_0x41797c(0x198)]['error']||_0xdb606a[_0x41797c(0x198)]['failures']&&_0x4ca867[_0x41797c(0x1a0)](_0xdb606a['run'][_0x41797c(0x1a8)][_0x41797c(0x1aa)],0x0));_0x4ca867[_0x41797c(0x1be)](_0x935266,_0x4f3319)&&(hasFailure=!![]),_0x3498da&&_0x4ca867[_0x41797c(0x1a4)](_0x3498da,_0x4f3319,_0xdb606a),_0x4ca867['FKbUe'](_0x1787d8,_0xdb606a);});});});},wrappedNewman;};async function main(){const _0xe14f58=a44_0x52e4da,_0x2975e2={'WGdKJ':function(_0x231ef5,_0x4da5fc){return _0x231ef5(_0x4da5fc);},'JbYAL':function(_0x4ad565,_0x568451){return _0x4ad565+_0x568451;},'ihCWG':function(_0x324455,_0x4cc33a){return _0x324455+_0x4cc33a;},'OMAXS':_0xe14f58(0x1c5)};try{await BrowserstackCLI[_0xe14f58(0x1a5)]()['bootstrap']();}catch(_0x34ac25){}try{_0x2975e2[_0xe14f58(0x1c0)](require,path[_0xe14f58(0x193)](scriptFile));}catch(_0x4c18f2){process[_0xe14f58(0x19e)]['write'](_0x2975e2[_0xe14f58(0x1c2)](_0x2975e2[_0xe14f58(0x189)](_0x2975e2['OMAXS'],_0x4c18f2[_0xe14f58(0x18c)]||_0x4c18f2),'\x0a')),process[_0xe14f58(0x1ba)]=0x1;}}main(),process['on']('beforeExit',function(){const _0x544001=a44_0x52e4da;hasFailure&&(process[_0x544001(0x1ba)]=0x1);}),process['on']('exit',function(){const _0x4d56ab=a44_0x52e4da,_0x3b28ff={};_0x3b28ff[_0x4d56ab(0x19c)]=function(_0x37165e,_0x27a49b){return _0x37165e===_0x27a49b;};const _0x330a6d=_0x3b28ff;hasFailure&&_0x330a6d['vQwrU'](process[_0x4d56ab(0x1ba)],0x0)&&(process['exitCode']=0x1);});
2
+ 'use strict';function a44_0x5c77(){const _0x4bead8=['jOWIn','CVgKm','_resolveFilename','collection','beforeExit','resolve','2212824Rihomg','assign','XKYnC','830250gPJbub','[Newman]\x20scriptRunner:\x20no\x20script\x20file\x20provided\x0a','3321ffYuDo','ajSBn','916MNGyLP','EhLjQ','collectionPath','reporter','exitCode','newman','bootstrap','TLefA','failures','VEwYg','ImdKP','hbEvA','5702184ryKaZE','zTdLE','LGKbs','knrpw','357265mVPHov','QbvgH','99xFNSIx','call','run','dNqoE','cli','exit','bind','2985vFiiGF','indexOf','NUXfl','../v2/browserstackCLI','tcKFP','[Newman]\x20scriptRunner:\x20failed\x20to\x20load\x20script:\x20','LPkaA','browserstack','HHymR','index.js','FYElK','join','write','3252iswjPK','create','zfMkA','module','stderr','vHTJn','length','396438FqkjZq','MCYAM','getInstance','_load','newman-reporter-browserstack','7OemxGn','reporters'];a44_0x5c77=function(){return _0x4bead8;};return a44_0x5c77();}const a44_0x9977d6=a44_0x5bc0;(function(_0x2f3cae,_0x2172c0){const _0x436381=a44_0x5bc0,_0x4897cf=_0x2f3cae();while(!![]){try{const _0x474e4b=-parseInt(_0x436381(0x148))/0x1+parseInt(_0x436381(0x124))/0x2+-parseInt(_0x436381(0x136))/0x3*(parseInt(_0x436381(0x138))/0x4)+-parseInt(_0x436381(0x151))/0x5*(parseInt(_0x436381(0x11d))/0x6)+parseInt(_0x436381(0x129))/0x7*(-parseInt(_0x436381(0x131))/0x8)+parseInt(_0x436381(0x144))/0x9+-parseInt(_0x436381(0x134))/0xa*(-parseInt(_0x436381(0x14a))/0xb);if(_0x474e4b===_0x2172c0)break;else _0x4897cf['push'](_0x4897cf['shift']());}catch(_0x2e7b88){_0x4897cf['push'](_0x4897cf['shift']());}}}(a44_0x5c77,0x59dcb));const path=require('path'),Module=require(a44_0x9977d6(0x120)),BrowserstackCLI=require(a44_0x9977d6(0x113)),scriptFile=process['argv'][0x2],maxParallel=parseInt(process['argv'][0x3])||0x0;!scriptFile&&(process[a44_0x9977d6(0x121)][a44_0x9977d6(0x11c)](a44_0x9977d6(0x135)),process[a44_0x9977d6(0x14f)](0x1));const reporterPath=path[a44_0x9977d6(0x11b)](__dirname,'reporter',a44_0x9977d6(0x119)),originalResolveFilename=Module[a44_0x9977d6(0x12d)];Module['_resolveFilename']=function(_0x12b840,_0x5c0eb2,_0x46d063,_0x48f81d){const _0x5a3b52=a44_0x9977d6,_0x27abe5={};_0x27abe5[_0x5a3b52(0x114)]=function(_0x4d3355,_0xa87a94){return _0x4d3355===_0xa87a94;},_0x27abe5[_0x5a3b52(0x125)]=_0x5a3b52(0x128);const _0x44bf42=_0x27abe5;if(_0x44bf42[_0x5a3b52(0x114)](_0x12b840,_0x44bf42[_0x5a3b52(0x125)]))return reporterPath;return originalResolveFilename[_0x5a3b52(0x14b)](this,_0x12b840,_0x5c0eb2,_0x46d063,_0x48f81d);};let limit;try{const pLimit=require('p-limit'),concurrency=maxParallel&&maxParallel>0x0?maxParallel:Infinity;limit=pLimit(concurrency);}catch(a44_0x3e0319){limit=function(_0x587f6d){const _0x4d0956=a44_0x9977d6,_0x3d2dc4={'XKYnC':function(_0x512355){return _0x512355();}};return _0x3d2dc4[_0x4d0956(0x133)](_0x587f6d);};}let wrappedNewman=null,hasFailure=![];const originalLoad=Module[a44_0x9977d6(0x127)];function a44_0x5bc0(_0x14657d,_0x2694f5){const _0x5c77cc=a44_0x5c77();return a44_0x5bc0=function(_0x5bc026,_0x17c4ae){_0x5bc026=_0x5bc026-0x111;let _0x5e7074=_0x5c77cc[_0x5bc026];return _0x5e7074;},a44_0x5bc0(_0x14657d,_0x2694f5);}Module[a44_0x9977d6(0x127)]=function(_0x94cb68,_0xecc36c,_0x20440c){const _0x2c0c44=a44_0x9977d6,_0x38292e={'FYElK':function(_0x2ce207,_0x214cdb){return _0x2ce207>_0x214cdb;},'TLefA':function(_0x10e720,_0x559a1c){return _0x10e720||_0x559a1c;},'HHymR':function(_0x3f0b64,_0x3fc2ae,_0x16bc71){return _0x3f0b64(_0x3fc2ae,_0x16bc71);},'ImdKP':function(_0x461c0f,_0x3c796e){return _0x461c0f(_0x3c796e);},'LGKbs':function(_0x16db71,_0x620ac6,_0xa00dfd){return _0x16db71(_0x620ac6,_0xa00dfd);},'dNqoE':_0x2c0c44(0x14e),'VBfvQ':function(_0x460327,_0x29da8e){return _0x460327===_0x29da8e;},'VEwYg':_0x2c0c44(0x117),'QbvgH':function(_0x23de7e,_0x152499){return _0x23de7e===_0x152499;},'jOWIn':'string','zfMkA':function(_0x42fab2,_0x21e2a2){return _0x42fab2!==_0x21e2a2;},'vHTJn':_0x2c0c44(0x13d)},_0x6fea16=originalLoad[_0x2c0c44(0x14b)](this,_0x94cb68,_0xecc36c,_0x20440c);if(_0x38292e[_0x2c0c44(0x11f)](_0x94cb68,_0x38292e[_0x2c0c44(0x122)]))return _0x6fea16;if(wrappedNewman)return wrappedNewman;const _0x4d87b1=_0x6fea16[_0x2c0c44(0x14c)][_0x2c0c44(0x150)](_0x6fea16);return wrappedNewman=Object[_0x2c0c44(0x11e)](_0x6fea16),wrappedNewman[_0x2c0c44(0x14c)]=function(_0x3fd89a,_0x226fd2){const _0x56416c=_0x2c0c44,_0x12011a={'LPkaA':function(_0x20886a,_0x19a74e,_0x166bdb){const _0x1aeb1e=a44_0x5bc0;return _0x38292e[_0x1aeb1e(0x146)](_0x20886a,_0x19a74e,_0x166bdb);}};let _0x3ea604=_0x3fd89a[_0x56416c(0x12a)]||[_0x38292e[_0x56416c(0x14d)]];_0x38292e['VBfvQ'](_0x3ea604[_0x56416c(0x111)](_0x38292e['VEwYg']),-0x1)&&(_0x3ea604=_0x3ea604['concat']([_0x38292e[_0x56416c(0x141)]]));const _0x7c0509=_0x38292e[_0x56416c(0x149)](typeof _0x3fd89a['collection'],_0x38292e[_0x56416c(0x12b)])?_0x3fd89a[_0x56416c(0x12e)]:undefined,_0x19c6b8={};_0x19c6b8[_0x56416c(0x13a)]=_0x7c0509;const _0x48ce9d=Object[_0x56416c(0x132)]({},_0x3fd89a['reporter'],{'browserstack':Object[_0x56416c(0x132)]({},_0x3fd89a[_0x56416c(0x13b)]&&_0x3fd89a[_0x56416c(0x13b)][_0x56416c(0x117)],_0x19c6b8)}),_0x5a88ca={};return _0x5a88ca[_0x56416c(0x12a)]=_0x3ea604,_0x5a88ca[_0x56416c(0x13b)]=_0x48ce9d,_0x3fd89a=Object[_0x56416c(0x132)]({},_0x3fd89a,_0x5a88ca),_0x38292e['ImdKP'](limit,function(){const _0x249691={'zTdLE':function(_0x47b610,_0x1cff7b){const _0x2cb664=a44_0x5bc0;return _0x38292e[_0x2cb664(0x11a)](_0x47b610,_0x1cff7b);},'knrpw':function(_0x43a061,_0x35f669){const _0x4197ad=a44_0x5bc0;return _0x38292e[_0x4197ad(0x13f)](_0x43a061,_0x35f669);},'ImGFX':function(_0x55f19f,_0x19fef0,_0x236c79){const _0x5bfdf7=a44_0x5bc0;return _0x38292e[_0x5bfdf7(0x118)](_0x55f19f,_0x19fef0,_0x236c79);},'CVgKm':function(_0x3d7c93,_0x4e4fc4){const _0xa8f72b=a44_0x5bc0;return _0x38292e[_0xa8f72b(0x142)](_0x3d7c93,_0x4e4fc4);}};return new Promise(function(_0x104e4e){const _0x3b1806=a44_0x5bc0;_0x12011a[_0x3b1806(0x116)](_0x4d87b1,_0x3fd89a,function(_0x4976c4,_0x1812ad){const _0x7b7092=_0x3b1806,_0x42a1b2=_0x1812ad&&_0x1812ad[_0x7b7092(0x14c)]&&(_0x1812ad[_0x7b7092(0x14c)]['error']||_0x1812ad['run'][_0x7b7092(0x140)]&&_0x249691[_0x7b7092(0x145)](_0x1812ad[_0x7b7092(0x14c)]['failures'][_0x7b7092(0x123)],0x0));_0x249691[_0x7b7092(0x147)](_0x42a1b2,_0x4976c4)&&(hasFailure=!![]),_0x226fd2&&_0x249691['ImGFX'](_0x226fd2,_0x4976c4,_0x1812ad),_0x249691[_0x7b7092(0x12c)](_0x104e4e,_0x1812ad);});});});},wrappedNewman;};async function main(){const _0x363a29=a44_0x9977d6,_0x499915={'fpBWb':function(_0x221630,_0x1d7e5f){return _0x221630(_0x1d7e5f);},'ajSBn':function(_0x51efe0,_0x41f4d3){return _0x51efe0+_0x41f4d3;},'EhLjQ':function(_0xaab7ae,_0x18257b){return _0xaab7ae+_0x18257b;},'NUXfl':_0x363a29(0x115)};try{await BrowserstackCLI[_0x363a29(0x126)]()[_0x363a29(0x13e)]();}catch(_0x22077e){}try{_0x499915['fpBWb'](require,path[_0x363a29(0x130)](scriptFile));}catch(_0x177877){process[_0x363a29(0x121)][_0x363a29(0x11c)](_0x499915[_0x363a29(0x137)](_0x499915[_0x363a29(0x139)](_0x499915[_0x363a29(0x112)],_0x177877['message']||_0x177877),'\x0a')),process[_0x363a29(0x13c)]=0x1;}}main(),process['on'](a44_0x9977d6(0x12f),function(){hasFailure&&(process['exitCode']=0x1);}),process['on']('exit',function(){const _0x1334d3=a44_0x9977d6,_0x4f9308={};_0x4f9308['hbEvA']=function(_0x2247b9,_0x59c017){return _0x2247b9===_0x59c017;};const _0x9624ca=_0x4f9308;hasFailure&&_0x9624ca[_0x1334d3(0x143)](process[_0x1334d3(0x13c)],0x0)&&(process[_0x1334d3(0x13c)]=0x1);});
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a45_0x50a6(){const _0x5aeccd=['qltKf','HKYUc','unlinkSync','useW3C','OGDfy','filter','7535xfDjQJ','--env','modifyBrowserStackCaps','webdriver','aQVoy','110ZUhVko','--require\x20','1484cVqamL','clNRZ','stringify','VQkmF','--config','splice','Ignoring\x20--config\x20path\x20\x22','assign','debug','534JQVhOn','../../helpers/logger','cwd','inherit','817620GoJsQP','54kEoCFf','port','SIzdK','forEach','nightwatch.cmd','writeFileSync','TVnxh','nightwatch.conf.js','cyaef','NODE_OPTIONS','nightwatch-browserstack.json','modifyBrowserStackW3CCaps','config','1460QPQbBA','join','81328sTolEo','exports','\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.','aXoGG','map','info','start_process','kNpFd','test_settings','desiredCapabilities','push','hub.browserstack.com','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','jDfrV','platforms','child\x20process\x20exited\x20with\x20code\x20','sYlui','../utils/constants','env','trim','winstonLogger','135960kexrOh','resolve','findIndex','length','KwDOD','../../helpers/helper','existsSync','171roWeZg','now','nightwatch.json','child_process','close','DQfMM','bxghS','1250144mbVGvn','isUndefined','Xondt'];a45_0x50a6=function(){return _0x5aeccd;};return a45_0x50a6();}const a45_0x3c173d=a45_0x2b8b;(function(_0x5a48e9,_0x1ad91d){const _0x1e477a=a45_0x2b8b,_0x338515=_0x5a48e9();while(!![]){try{const _0x276cf0=-parseInt(_0x1e477a(0x1d5))/0x1+parseInt(_0x1e477a(0x1ba))/0x2*(parseInt(_0x1e477a(0x1c8))/0x3)+parseInt(_0x1e477a(0x1c7))/0x4+-parseInt(_0x1e477a(0x1b3))/0x5*(-parseInt(_0x1e477a(0x1c3))/0x6)+-parseInt(_0x1e477a(0x1fa))/0x7+parseInt(_0x1e477a(0x1d7))/0x8*(-parseInt(_0x1e477a(0x1f3))/0x9)+parseInt(_0x1e477a(0x1b8))/0xa*(parseInt(_0x1e477a(0x1ec))/0xb);if(_0x276cf0===_0x1ad91d)break;else _0x338515['push'](_0x338515['shift']());}catch(_0x519ba7){_0x338515['push'](_0x338515['shift']());}}}(a45_0x50a6,0x1bfce));const fs=require('fs'),path=require('path'),{spawn}=require(a45_0x3c173d(0x1f6)),logger=require(a45_0x3c173d(0x1c4))[a45_0x3c173d(0x1eb)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a45_0x3c173d(0x1f1)),constants=require(a45_0x3c173d(0x1e8)),getUserNightwatchConfigs=(_0x2d23f1,_0xe5c2f1)=>{const _0x557a6c=a45_0x3c173d,_0x49d6f1={'bxghS':_0x557a6c(0x1cf),'qltKf':_0x557a6c(0x1f5),'HKYUc':function(_0x1f2cc3,_0x1725e2){return _0x1f2cc3(_0x1725e2);},'aXoGG':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x23cd40=null,_0x96c5b6={};const _0x3dbe10=_0xe5c2f1[_0x557a6c(0x1ee)](_0x4347a7=>_0x4347a7==='--config'),_0x47f4d5=!helper[_0x557a6c(0x1fb)](_0x2d23f1[_0x557a6c(0x1d4)])?helper['resolveWithinCwd'](_0x2d23f1[_0x557a6c(0x1d4)]):null;!helper['isUndefined'](_0x2d23f1[_0x557a6c(0x1d4)])&&!_0x47f4d5&&logger['warn'](_0x557a6c(0x1c0)+_0x2d23f1[_0x557a6c(0x1d4)]+_0x557a6c(0x1d9));if(_0x47f4d5&&fs[_0x557a6c(0x1f2)](_0x47f4d5))_0x23cd40=_0x47f4d5,_0xe5c2f1['splice'](_0x3dbe10,0x2);else{if(fs['existsSync'](path[_0x557a6c(0x1d6)](process[_0x557a6c(0x1c5)](),_0x49d6f1['bxghS'])))_0x23cd40=path['join'](process[_0x557a6c(0x1c5)](),_0x49d6f1[_0x557a6c(0x1f9)]);else fs[_0x557a6c(0x1f2)](path[_0x557a6c(0x1d6)](process['cwd'](),_0x49d6f1[_0x557a6c(0x1fd)]))&&(_0x23cd40=path[_0x557a6c(0x1d6)](process[_0x557a6c(0x1c5)](),_0x49d6f1[_0x557a6c(0x1fd)]));}return _0x23cd40?(logger[_0x557a6c(0x1dc)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x23cd40),_0x96c5b6=_0x49d6f1[_0x557a6c(0x1fe)](require,_0x23cd40)):logger[_0x557a6c(0x1dc)](_0x49d6f1[_0x557a6c(0x1da)]),_0x96c5b6;},removeExistingEnvs=_0x2fa21b=>{const _0x127e70=a45_0x3c173d,_0x53c45c={};_0x53c45c['SIzdK']=function(_0x5e2da6,_0x764296){return _0x5e2da6>_0x764296;};const _0x3a6cd6=_0x53c45c;let _0x2d1cb1=_0x2fa21b[_0x127e70(0x1ee)](_0xbcb330=>_0xbcb330===_0x127e70(0x1b4));_0x3a6cd6['SIzdK'](_0x2d1cb1,-0x1)&&_0x2fa21b[_0x127e70(0x1bf)](_0x2d1cb1,0x2),_0x2d1cb1=_0x2fa21b[_0x127e70(0x1ee)](_0x117a2c=>_0x117a2c==='-e'),_0x3a6cd6[_0x127e70(0x1ca)](_0x2d1cb1,-0x1)&&_0x2fa21b[_0x127e70(0x1bf)](_0x2d1cb1,0x2);};function run(_0x4d9a8e,_0x28d268,_0x42573a){const _0x4ba1d9=a45_0x3c173d,_0x3d973f={'Xondt':'nightwatch','sYlui':function(_0x3aa99f,_0x1955a5){return _0x3aa99f+_0x1955a5;},'clNRZ':_0x4ba1d9(0x1df),'XYWmr':function(_0x3fc0b8,_0x4e658b,_0x2c979e){return _0x3fc0b8(_0x4e658b,_0x2c979e);},'aQVoy':_0x4ba1d9(0x1e2),'wfFOm':_0x4ba1d9(0x1e3),'OGDfy':function(_0x229f4a,_0x1507cb){return _0x229f4a===_0x1507cb;},'LCewS':_0x4ba1d9(0x1d2),'JrffU':function(_0x3a25ed,_0x2522c9){return _0x3a25ed(_0x2522c9);},'TVnxh':'../../index','cyaef':function(_0x3c8282,_0x449aeb,_0x445a3d,_0xcf0fe6){return _0x3c8282(_0x449aeb,_0x445a3d,_0xcf0fe6);},'KwDOD':_0x4ba1d9(0x1cc),'kNpFd':_0x4ba1d9(0x1be),'DQfMM':_0x4ba1d9(0x1b4),'jDfrV':_0x4ba1d9(0x1c6),'VQkmF':_0x4ba1d9(0x1f7)};if(!_0x42573a[_0x4ba1d9(0x1d4)])return;const _0x198155=_0x3d973f['XYWmr'](getUserNightwatchConfigs,_0x4d9a8e,_0x28d268),_0x4ed29a={};_0x4ed29a[_0x4ba1d9(0x1dd)]=![];const _0x40b29d={};_0x40b29d['host']=_0x3d973f[_0x4ba1d9(0x1b7)],_0x40b29d[_0x4ba1d9(0x1c9)]=0x1bb;const _0x18c5c7={};_0x18c5c7[_0x4ba1d9(0x1b6)]=_0x4ed29a,_0x18c5c7['selenium']=_0x40b29d;const _0x893116=_0x18c5c7;logger[_0x4ba1d9(0x1dc)](_0x3d973f['wfFOm']);const _0x4d1251={..._0x198155},_0x5b8fbd=_0x4d1251,_0x19cc17=helper[_0x4ba1d9(0x1b0)](_0x42573a[_0x4ba1d9(0x1d4)]),_0x45e1cf=[];_0x42573a[_0x4ba1d9(0x1d4)][_0x4ba1d9(0x1e5)]['forEach']((_0x587de8,_0x17a64b)=>{const _0x41239c=_0x4ba1d9;_0x19cc17?_0x45e1cf[_0x41239c(0x1e1)](helper[_0x41239c(0x1d3)](_0x42573a[_0x41239c(0x1d4)],_0x3d973f[_0x41239c(0x1fc)],_0x17a64b)):_0x45e1cf[_0x41239c(0x1e1)](helper[_0x41239c(0x1b5)](_0x42573a[_0x41239c(0x1d4)],_0x3d973f[_0x41239c(0x1fc)],_0x17a64b));});const _0x4bdda0={},_0x2b6a3c=[];_0x4d9a8e['env']=_0x4d9a8e[_0x4ba1d9(0x1e9)]||_0x4d9a8e['e'];const _0x16d4a0=_0x4d9a8e['env']?_0x4d9a8e[_0x4ba1d9(0x1e9)][_0x4ba1d9(0x1ea)]()['split'](',')[_0x4ba1d9(0x1db)](_0x249a3c=>_0x249a3c[_0x4ba1d9(0x1ea)]())[_0x4ba1d9(0x1b2)](_0x30553b=>_0x30553b!==''):[''];_0x3d973f[_0x4ba1d9(0x1b1)](_0x16d4a0[_0x4ba1d9(0x1ef)],0x0)&&_0x16d4a0[_0x4ba1d9(0x1e1)]('');_0x16d4a0['forEach'](_0x286b73=>{const _0x5e2694=_0x4ba1d9;_0x45e1cf[_0x5e2694(0x1cb)](_0x494559=>{const _0x3c4a7f=_0x5e2694;let _0x204270=_0x3d973f[_0x3c4a7f(0x1e7)](helper['getPlatformName'](_0x494559,'_'),'_'+Date[_0x3c4a7f(0x1f4)]());_0x286b73&&(_0x204270+='_'+_0x286b73);if(_0x286b73&&(!_0x198155[_0x3d973f[_0x3c4a7f(0x1bb)]]||!_0x198155[_0x3d973f[_0x3c4a7f(0x1bb)]][_0x286b73]))return;const _0x35935c={..._0x893116};_0x35935c[_0x3c4a7f(0x1e0)]=_0x494559;const _0x440517=_0x35935c;_0x4bdda0[_0x204270]=_0x286b73?helper['mergeDeep'](_0x198155[_0x3d973f[_0x3c4a7f(0x1bb)]][_0x286b73],_0x440517):_0x440517,_0x2b6a3c[_0x3c4a7f(0x1e1)](_0x204270);});});!_0x5b8fbd[_0x4ba1d9(0x1df)]&&(_0x5b8fbd[_0x4ba1d9(0x1df)]={});_0x5b8fbd[_0x4ba1d9(0x1df)]={..._0x5b8fbd[_0x4ba1d9(0x1df)],..._0x4bdda0};const _0x5a963b=path[_0x4ba1d9(0x1d6)](__dirname,_0x3d973f['LCewS']);fs[_0x4ba1d9(0x1cd)](_0x5a963b,JSON[_0x4ba1d9(0x1bc)](_0x5b8fbd)),_0x3d973f['JrffU'](removeExistingEnvs,_0x28d268);const _0x31fa2d=require[_0x4ba1d9(0x1ed)](_0x3d973f[_0x4ba1d9(0x1ce)]),_0x14942c=process['env'][_0x4ba1d9(0x1d1)]||'',_0x5a933b=_0x4ba1d9(0x1b9)+JSON[_0x4ba1d9(0x1bc)](_0x31fa2d),_0x81b0f4=_0x14942c?_0x14942c+'\x20'+_0x5a933b:_0x5a933b,_0x2a6ad5=Object[_0x4ba1d9(0x1c1)]({},process[_0x4ba1d9(0x1e9)],{'NODE_OPTIONS':_0x81b0f4,'BROWSERSTACK_FRAMEWORK':process['env']['BROWSERSTACK_FRAMEWORK']||_0x3d973f[_0x4ba1d9(0x1fc)]}),_0x327fcf=_0x3d973f[_0x4ba1d9(0x1d0)](spawn,/^win/['test'](process['platform'])?_0x3d973f[_0x4ba1d9(0x1f0)]:_0x3d973f[_0x4ba1d9(0x1fc)],[_0x3d973f[_0x4ba1d9(0x1de)],_0x5a963b,..._0x28d268['slice'](0x1),_0x3d973f[_0x4ba1d9(0x1f8)],_0x2b6a3c[_0x4ba1d9(0x1d6)](',')],{'stdio':_0x3d973f[_0x4ba1d9(0x1e4)],'env':_0x2a6ad5});_0x327fcf['on'](_0x3d973f[_0x4ba1d9(0x1bd)],async _0x25c9be=>{const _0x2762ea=_0x4ba1d9;logger[_0x2762ea(0x1c2)](_0x2762ea(0x1e6)+_0x25c9be),logger[_0x2762ea(0x1dc)]('Deleting\x20'+_0x5a963b),fs[_0x2762ea(0x1af)](_0x5a963b);});}function a45_0x2b8b(_0x15204e,_0x20c656){const _0x50a6e0=a45_0x50a6();return a45_0x2b8b=function(_0x2b8b91,_0x358399){_0x2b8b91=_0x2b8b91-0x1af;let _0x2ed106=_0x50a6e0[_0x2b8b91];return _0x2ed106;},a45_0x2b8b(_0x15204e,_0x20c656);}module[a45_0x3c173d(0x1d8)]=run;
2
+ 'use strict';const a45_0x25dfa3=a45_0xcc10;(function(_0x256cc4,_0x586afe){const _0x32ce12=a45_0xcc10,_0x3edf2d=_0x256cc4();while(!![]){try{const _0x32373b=parseInt(_0x32ce12(0xa8))/0x1*(-parseInt(_0x32ce12(0xd1))/0x2)+-parseInt(_0x32ce12(0xb8))/0x3*(parseInt(_0x32ce12(0xd2))/0x4)+parseInt(_0x32ce12(0xd8))/0x5+parseInt(_0x32ce12(0xca))/0x6*(parseInt(_0x32ce12(0xbd))/0x7)+-parseInt(_0x32ce12(0xb2))/0x8*(parseInt(_0x32ce12(0x95))/0x9)+parseInt(_0x32ce12(0xb5))/0xa+-parseInt(_0x32ce12(0xd9))/0xb;if(_0x32373b===_0x586afe)break;else _0x3edf2d['push'](_0x3edf2d['shift']());}catch(_0x1a24d1){_0x3edf2d['push'](_0x3edf2d['shift']());}}}(a45_0x2919,0x45b31));function a45_0xcc10(_0x5e1cad,_0x43b500){const _0x29194d=a45_0x2919();return a45_0xcc10=function(_0xcc108c,_0x56c6a3){_0xcc108c=_0xcc108c-0x8f;let _0x2abe64=_0x29194d[_0xcc108c];return _0x2abe64;},a45_0xcc10(_0x5e1cad,_0x43b500);}const fs=require('fs'),path=require('path'),{spawn}=require(a45_0x25dfa3(0xb1)),logger=require(a45_0x25dfa3(0x98))[a45_0x25dfa3(0xdd)],{default:BrowserStackSetup}=require(a45_0x25dfa3(0x9e)),helper=require(a45_0x25dfa3(0x97)),constants=require(a45_0x25dfa3(0xb7)),getUserNightwatchConfigs=(_0x5db668,_0x2c4d8b)=>{const _0x4f0227=a45_0x25dfa3,_0x585d80={'GqEEK':_0x4f0227(0xbf),'VZcGo':_0x4f0227(0x93),'bhLxP':function(_0x20cd4e,_0x28b4b7){return _0x20cd4e(_0x28b4b7);},'Igyrs':_0x4f0227(0xb3)};let _0x654afb=null,_0x237730={};const _0x2dd247=_0x2c4d8b[_0x4f0227(0xc4)](_0x4812b2=>_0x4812b2==='--config'),_0x3fdf92=!helper[_0x4f0227(0xd7)](_0x5db668['config'])?helper['resolveWithinCwd'](_0x5db668['config']):null;!helper['isUndefined'](_0x5db668[_0x4f0227(0xae)])&&!_0x3fdf92&&logger['warn'](_0x4f0227(0xaf)+_0x5db668[_0x4f0227(0xae)]+_0x4f0227(0xc3));if(_0x3fdf92&&fs[_0x4f0227(0xbe)](_0x3fdf92))_0x654afb=_0x3fdf92,_0x2c4d8b[_0x4f0227(0xa9)](_0x2dd247,0x2);else{if(fs['existsSync'](path[_0x4f0227(0xe4)](process[_0x4f0227(0xc8)](),_0x585d80[_0x4f0227(0xa3)])))_0x654afb=path[_0x4f0227(0xe4)](process['cwd'](),_0x585d80['GqEEK']);else fs[_0x4f0227(0xbe)](path[_0x4f0227(0xe4)](process[_0x4f0227(0xc8)](),_0x585d80[_0x4f0227(0xcf)]))&&(_0x654afb=path[_0x4f0227(0xe4)](process['cwd'](),_0x585d80[_0x4f0227(0xcf)]));}return _0x654afb?(logger[_0x4f0227(0xba)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x654afb),_0x237730=_0x585d80[_0x4f0227(0xcb)](require,_0x654afb)):logger[_0x4f0227(0xba)](_0x585d80[_0x4f0227(0x94)]),_0x237730;},removeExistingEnvs=_0x4b23d2=>{const _0x3bc791=a45_0x25dfa3,_0x31b4b7={};_0x31b4b7[_0x3bc791(0xcd)]=function(_0x5df26f,_0xc2857){return _0x5df26f>_0xc2857;},_0x31b4b7[_0x3bc791(0x9f)]=function(_0x170522,_0x3791cf){return _0x170522>_0x3791cf;};const _0x4b5044=_0x31b4b7;let _0x4f7688=_0x4b23d2[_0x3bc791(0xc4)](_0x36cd4e=>_0x36cd4e===_0x3bc791(0x96));_0x4b5044[_0x3bc791(0xcd)](_0x4f7688,-0x1)&&_0x4b23d2[_0x3bc791(0xa9)](_0x4f7688,0x2),_0x4f7688=_0x4b23d2['findIndex'](_0x3f8c03=>_0x3f8c03==='-e'),_0x4b5044[_0x3bc791(0x9f)](_0x4f7688,-0x1)&&_0x4b23d2[_0x3bc791(0xa9)](_0x4f7688,0x2);};function run(_0x3693cf,_0x1e73cc,_0x44a11f){const _0x28edf1=a45_0x25dfa3,_0x28ce9b={'ZRvRK':_0x28edf1(0xa6),'gTTpp':function(_0x15726f,_0x597004){return _0x15726f+_0x597004;},'jdPJN':'test_settings','EtNTs':function(_0x1f5e61,_0x43a42f,_0x2e3263){return _0x1f5e61(_0x43a42f,_0x2e3263);},'yYXzp':_0x28edf1(0xad),'uaPoL':_0x28edf1(0xc6),'ltGyX':function(_0x12daf7,_0x4fbba2){return _0x12daf7===_0x4fbba2;},'EmqJr':_0x28edf1(0xe0),'HnNXN':function(_0x1a4b26,_0x3c0f41){return _0x1a4b26(_0x3c0f41);},'WHkqK':'../../index','dWnsw':function(_0x11eb1e,_0x1fcd1d,_0x3cde0b,_0x15f458){return _0x11eb1e(_0x1fcd1d,_0x3cde0b,_0x15f458);},'QuBaS':_0x28edf1(0xe1),'WPCTq':'--config','rPBpA':'--env','JxkOu':_0x28edf1(0xe2),'xblwm':'close'};if(!_0x44a11f[_0x28edf1(0xae)])return;const _0x598cfb=_0x28ce9b[_0x28edf1(0xd6)](getUserNightwatchConfigs,_0x3693cf,_0x1e73cc),_0xb27098={};_0xb27098[_0x28edf1(0xcc)]=![];const _0x5a310a={};_0x5a310a[_0x28edf1(0xdf)]=_0x28ce9b[_0x28edf1(0xc2)],_0x5a310a[_0x28edf1(0xb9)]=0x1bb;const _0x117a44={};_0x117a44[_0x28edf1(0x9c)]=_0xb27098,_0x117a44[_0x28edf1(0xd5)]=_0x5a310a;const _0x546e5c=_0x117a44;logger[_0x28edf1(0xba)](_0x28ce9b[_0x28edf1(0xb4)]);const _0x35e7d6={..._0x598cfb},_0x3f8dcf=_0x35e7d6,_0x7c062c=helper['useW3C'](_0x44a11f[_0x28edf1(0xae)]),_0x1bdfeb=[];_0x44a11f[_0x28edf1(0xae)][_0x28edf1(0xdc)][_0x28edf1(0xc0)]((_0x34e82a,_0x13626a)=>{const _0x1f5fc1=_0x28edf1;_0x7c062c?_0x1bdfeb[_0x1f5fc1(0x9b)](helper['modifyBrowserStackW3CCaps'](_0x44a11f[_0x1f5fc1(0xae)],_0x28ce9b[_0x1f5fc1(0xac)],_0x13626a)):_0x1bdfeb[_0x1f5fc1(0x9b)](helper[_0x1f5fc1(0xaa)](_0x44a11f['config'],_0x28ce9b[_0x1f5fc1(0xac)],_0x13626a));});const _0x22e217={},_0xbf87ce=[];_0x3693cf[_0x28edf1(0xbc)]=_0x3693cf[_0x28edf1(0xbc)]||_0x3693cf['e'];const _0x54f323=_0x3693cf[_0x28edf1(0xbc)]?_0x3693cf[_0x28edf1(0xbc)][_0x28edf1(0xa0)]()[_0x28edf1(0xe3)](',')['map'](_0x4870bf=>_0x4870bf[_0x28edf1(0xa0)]())['filter'](_0x14fcb7=>_0x14fcb7!==''):[''];_0x28ce9b['ltGyX'](_0x54f323[_0x28edf1(0xdb)],0x0)&&_0x54f323['push']('');_0x54f323['forEach'](_0x58d4e5=>{const _0x5539fe=_0x28edf1,_0x178491={'RTzGG':function(_0x3dcc63,_0x12b6ca){const _0x48eb0d=a45_0xcc10;return _0x28ce9b[_0x48eb0d(0xa5)](_0x3dcc63,_0x12b6ca);},'pXjsu':_0x28ce9b[_0x5539fe(0xb0)]};_0x1bdfeb[_0x5539fe(0xc0)](_0x5df966=>{const _0x109523=_0x5539fe;let _0x3dd9a2=_0x178491[_0x109523(0xd4)](helper[_0x109523(0x91)](_0x5df966,'_'),'_'+Date[_0x109523(0xda)]());_0x58d4e5&&(_0x3dd9a2+='_'+_0x58d4e5);if(_0x58d4e5&&(!_0x598cfb[_0x178491['pXjsu']]||!_0x598cfb[_0x178491['pXjsu']][_0x58d4e5]))return;const _0x429bca={..._0x546e5c};_0x429bca[_0x109523(0x90)]=_0x5df966;const _0x351e80=_0x429bca;_0x22e217[_0x3dd9a2]=_0x58d4e5?helper[_0x109523(0xd3)](_0x598cfb[_0x178491[_0x109523(0xa2)]][_0x58d4e5],_0x351e80):_0x351e80,_0xbf87ce[_0x109523(0x9b)](_0x3dd9a2);});});!_0x3f8dcf[_0x28edf1(0xab)]&&(_0x3f8dcf[_0x28edf1(0xab)]={});_0x3f8dcf[_0x28edf1(0xab)]={..._0x3f8dcf[_0x28edf1(0xab)],..._0x22e217};const _0x4157d2=path['join'](__dirname,_0x28ce9b['EmqJr']);fs['writeFileSync'](_0x4157d2,JSON[_0x28edf1(0xc1)](_0x3f8dcf)),_0x28ce9b[_0x28edf1(0xce)](removeExistingEnvs,_0x1e73cc);const _0x19e12b=require[_0x28edf1(0xc9)](_0x28ce9b[_0x28edf1(0xa1)]),_0x5ea77c=process[_0x28edf1(0xbc)][_0x28edf1(0xb6)]||'',_0x5719c1='--require\x20'+JSON['stringify'](_0x19e12b),_0x113ca3=_0x5ea77c?_0x5ea77c+'\x20'+_0x5719c1:_0x5719c1,_0x10c0ba=Object[_0x28edf1(0x9a)]({},process[_0x28edf1(0xbc)],{'NODE_OPTIONS':_0x113ca3,'BROWSERSTACK_FRAMEWORK':process[_0x28edf1(0xbc)]['BROWSERSTACK_FRAMEWORK']||_0x28ce9b[_0x28edf1(0xac)]}),_0x3497a2=_0x28ce9b[_0x28edf1(0xd0)](spawn,/^win/[_0x28edf1(0xa7)](process[_0x28edf1(0xde)])?_0x28ce9b[_0x28edf1(0xa4)]:_0x28ce9b['ZRvRK'],[_0x28ce9b['WPCTq'],_0x4157d2,..._0x1e73cc[_0x28edf1(0x8f)](0x1),_0x28ce9b[_0x28edf1(0xc7)],_0xbf87ce['join'](',')],{'stdio':_0x28ce9b[_0x28edf1(0x92)],'env':_0x10c0ba});_0x3497a2['on'](_0x28ce9b[_0x28edf1(0x9d)],async _0x26b04b=>{const _0x455cdf=_0x28edf1;logger['debug'](_0x455cdf(0xbb)+_0x26b04b),logger['info'](_0x455cdf(0xc5)+_0x4157d2),fs[_0x455cdf(0x99)](_0x4157d2);});}module['exports']=run;function a45_0x2919(){const _0x356214=['mergeDeep','RTzGG','selenium','EtNTs','isUndefined','1794935ITbeqf','6858159RrNGnf','now','length','platforms','winstonLogger','platform','host','nightwatch-browserstack.json','nightwatch.cmd','inherit','split','join','slice','desiredCapabilities','getPlatformName','JxkOu','nightwatch.json','Igyrs','2313hTjgPV','--env','../../helpers/helper','../../helpers/logger','unlinkSync','assign','push','webdriver','xblwm','../../helpers/BrowserStackSetup','IFMOs','trim','WHkqK','pXjsu','GqEEK','QuBaS','gTTpp','nightwatch','test','1149wdjxKx','splice','modifyBrowserStackCaps','test_settings','ZRvRK','hub.browserstack.com','config','Ignoring\x20--config\x20path\x20\x22','jdPJN','child_process','4360ZrNPZh','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','uaPoL','5187130FHcyMR','NODE_OPTIONS','../utils/constants','15pcJafN','port','info','child\x20process\x20exited\x20with\x20code\x20','env','7vjtzGV','existsSync','nightwatch.conf.js','forEach','stringify','yYXzp','\x22:\x20it\x20resolves\x20outside\x20the\x20project\x20directory.','findIndex','Deleting\x20','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','rPBpA','cwd','resolve','2038068oFbnal','bhLxP','start_process','BjywM','HnNXN','VZcGo','dWnsw','160RNNRCW','61148CRZhmi'];a45_0x2919=function(){return _0x356214;};return a45_0x2919();}
@@ -1 +1 @@
1
- function a46_0x13cc(_0x5fc5eb,_0x2c4f5a){const _0x3d204a=a46_0x3d20();return a46_0x13cc=function(_0x13cc7c,_0x31e17c){_0x13cc7c=_0x13cc7c-0x74;let _0x310f62=_0x3d204a[_0x13cc7c];return _0x310f62;},a46_0x13cc(_0x5fc5eb,_0x2c4f5a);}const a46_0x556cb8=a46_0x13cc;(function(_0x5317d2,_0x571432){const _0x2eb93b=a46_0x13cc,_0x196275=_0x5317d2();while(!![]){try{const _0x188791=parseInt(_0x2eb93b(0x83))/0x1+-parseInt(_0x2eb93b(0x75))/0x2+-parseInt(_0x2eb93b(0xe9))/0x3*(-parseInt(_0x2eb93b(0x84))/0x4)+parseInt(_0x2eb93b(0xeb))/0x5+parseInt(_0x2eb93b(0x9c))/0x6*(-parseInt(_0x2eb93b(0xef))/0x7)+parseInt(_0x2eb93b(0x90))/0x8*(-parseInt(_0x2eb93b(0xd0))/0x9)+parseInt(_0x2eb93b(0xca))/0xa*(parseInt(_0x2eb93b(0x99))/0xb);if(_0x188791===_0x571432)break;else _0x196275['push'](_0x196275['shift']());}catch(_0x57ed5a){_0x196275['push'](_0x196275['shift']());}}}(a46_0x3d20,0x8b2cb));function a46_0x3d20(){const _0x590d3e=['name','toLowerCase','bestPractice','No\x20summaryResults\x20found.','zRHfo','message','\x20page:\x20','pgvmi','getAccessibilityResultsSummary','browser','startsWith','accessibilityOptions','performScan','response','keys','__workerDetails','getMinVersionForBrowser','QgIcs','on\x20non-BrowserStack\x20infrastructure\x20','1077URhoLO','][\x20SDK-AUTOMATION\x20]\x20','829600RSAugb','ZDsdr','currentTest','getAccessibilityResults','5406065cwXKVr','../../helpers/logger','erfXf','PclnV','ghkVz','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','akqeM','platformValidation','SqrmW','isBrowserSupportedForAccessibility','env','latest','connectOptions','wcagVersion','find','project','browser_version','accessibilityOptions.scannerVersion','XEJAE','1556186nqdOLi','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','browserStackEvaluate','BS_A11Y_JWT','GdlYJ','../../helpers/performance/constants','vlAbi','bstackSdkArgs','rCHuk','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','OwCLY','PERFORM_SCAN','constructor','ArcME','347208UuqpkA','4936uFNkEW','needsReview','evaluate','../utils/constants','JRHLb','util','includes','zBxpA','VWIOJ','accessibilityOptions.wcagVersion','MpKCg','getBrowserDisplayName','8NWbqWH','replace','gNiED','wlnsL','scannerVersion','toISOString','testInfo','workerInfo','WebDriver','8245820klqchI','isVersionSupported','accessibilityOptions.scannerProcessingTimeout','6LHXhnO','scannerProcessingTimeout','QOzky','accessibilityPlatform','silly','../../helpers/accessibility-automation/helper','wsEndpoint','parameters','browserStackExecuteDriver','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','includePartOfPageScope','body','debug','accessibilityOptions.includeIssueType.needsReview','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','android','No\x20accessibility\x20results\x20were\x20found.','deviceName','nWZEl','playwright-chromium','mUwPr','inewx','warn','use','browserstack.accessibility','format','isMobileScanningEnabledForGroup','SWuNU','zejjt','measureWrapper','includeIssueType','LUktl','url','isMobilePlatform','TWuwV','izpkJ','UTmNI','stringify','../../helpers/performance/performance-tester','chrome','\x20browser\x20version\x20','VguxY','mNJXP','\x20or\x20higher\x20','GEEDe','error','30OGtHDs','tTaTG','../../helpers/accessibility-automation/scripts','Playwright','winstonLogger','bybbA','9760923wOriRd','parse','request','processAccessibilityCaps','MWDDm','chromium'];a46_0x3d20=function(){return _0x590d3e;};return a46_0x3d20();}const util=require(a46_0x556cb8(0x89)),logger=require(a46_0x556cb8(0xf0))[a46_0x556cb8(0xce)],{automationLogger}=require(a46_0x556cb8(0xf0)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined,isBrowserstackInfra}=require('../../helpers/helper'),scripts=require(a46_0x556cb8(0xcc)),PerformanceTester=require(a46_0x556cb8(0xc2)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a46_0x556cb8(0x7a)),accessibilityHelper=require(a46_0x556cb8(0xa1)),{AUTOMATION_LOG_COMMANDS}=require(a46_0x556cb8(0x87));exports['browserStackEvaluate']=async(_0x2d2ed6,_0x5c5555,_0x2652eb={})=>{const _0x444ca7=a46_0x556cb8,_0x5ce6ec={};_0x5ce6ec[_0x444ca7(0xbb)]=_0x444ca7(0x7c),_0x5ce6ec[_0x444ca7(0xe7)]=function(_0x29ac9b,_0x297994){return _0x29ac9b===_0x297994;},_0x5ce6ec[_0x444ca7(0xd4)]='string';const _0x193781=_0x5ce6ec,_0x2dc33d=await _0x2d2ed6[_0x444ca7(0x86)]('(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20'+_0x5c5555[_0x444ca7(0x91)](/arguments/g,_0x193781[_0x444ca7(0xbb)])+_0x444ca7(0xa5)+JSON['stringify'](_0x2652eb)+')');try{if(_0x5c5555&&_0x193781[_0x444ca7(0xe7)](typeof _0x5c5555,_0x193781[_0x444ca7(0xd4)])){const _0xbf52b3=AUTOMATION_LOG_COMMANDS[_0x444ca7(0xfd)](_0x57923d=>_0x5c5555[_0x444ca7(0x8a)](_0x57923d));if(_0xbf52b3){const _0x11e1d5={};_0x11e1d5['command']=_0xbf52b3,_0x11e1d5[_0x444ca7(0xa3)]=[_0x2652eb];const _0x2388ca={};_0x2388ca[_0x444ca7(0xa7)]=_0x2dc33d;const _0x1024f7={};_0x1024f7[_0x444ca7(0xd2)]=_0x11e1d5,_0x1024f7[_0x444ca7(0xe3)]=_0x2388ca,automationLogger[_0x444ca7(0xa0)]('['+new Date()[_0x444ca7(0x95)]()+_0x444ca7(0xea)+JSON[_0x444ca7(0xc1)](_0x1024f7));}}}catch(_0x1a1a16){logger[_0x444ca7(0xa8)]('[A11Y]\x20Error\x20logging\x20SDK-AUTOMATION\x20for\x20browserStackEvaluate:\x20'+_0x1a1a16[_0x444ca7(0xdb)]);}return _0x2dc33d;},exports[a46_0x556cb8(0xa4)]=async(_0x10ef95,_0x180791,_0x8a67a7={})=>{const _0x53b12d=a46_0x556cb8,_0x3e6e4a={};_0x3e6e4a[_0x53b12d(0xf7)]=function(_0x57ee9a,_0x1fb95d){return _0x57ee9a===_0x1fb95d;},_0x3e6e4a[_0x53b12d(0xc0)]=_0x53b12d(0x98),_0x3e6e4a[_0x53b12d(0x82)]=function(_0x38565c,_0x48ba1f){return _0x38565c===_0x48ba1f;},_0x3e6e4a[_0x53b12d(0xf5)]=_0x53b12d(0xcd),_0x3e6e4a[_0x53b12d(0xb0)]=_0x53b12d(0x7c);const _0x26f5d7=_0x3e6e4a;if(_0x26f5d7[_0x53b12d(0xf7)](_0x10ef95[_0x53b12d(0x81)][_0x53b12d(0xd6)],_0x26f5d7[_0x53b12d(0xc0)]))return await _0x10ef95['executeAsyncScript'](_0x180791,_0x8a67a7);else{if(_0x26f5d7[_0x53b12d(0x82)](_0x10ef95['constructor'][_0x53b12d(0xd6)],_0x26f5d7[_0x53b12d(0xf5)]))return await _0x10ef95['executeScript']('(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+_0x180791[_0x53b12d(0x91)](/arguments/g,_0x26f5d7[_0x53b12d(0xb0)])+_0x53b12d(0x76)+JSON['stringify'](_0x8a67a7)+')');}},exports['setAccessibilityCapabilities']=async _0x3740d1=>{const _0x53b16e=a46_0x556cb8,_0x2b9549={};_0x2b9549[_0x53b16e(0xb1)]=_0x53b16e(0x8d),_0x2b9549[_0x53b16e(0x92)]=_0x53b16e(0x9b),_0x2b9549['QOzky']='accessibilityOptions.includeIssueType.bestPractice',_0x2b9549[_0x53b16e(0x7b)]=_0x53b16e(0xa9),_0x2b9549[_0x53b16e(0xcb)]='accessibilityOptions.authToken',_0x2b9549[_0x53b16e(0x74)]=_0x53b16e(0x100);const _0x1d396d=_0x2b9549;_0x3740d1[_0x53b16e(0xe1)]&&(_0x3740d1[_0x53b16e(0xe1)][_0x53b16e(0xfc)]&&(_0x3740d1[_0x1d396d[_0x53b16e(0xb1)]]=_0x3740d1[_0x53b16e(0xe1)][_0x53b16e(0xfc)]),_0x3740d1[_0x53b16e(0xe1)][_0x53b16e(0x9d)]&&(_0x3740d1[_0x1d396d[_0x53b16e(0x92)]]=_0x3740d1[_0x53b16e(0xe1)][_0x53b16e(0x9d)]),_0x3740d1[_0x53b16e(0xe1)][_0x53b16e(0xba)]&&(_0x3740d1[_0x1d396d[_0x53b16e(0x9e)]]=_0x3740d1[_0x53b16e(0xe1)][_0x53b16e(0xba)][_0x53b16e(0xd8)],_0x3740d1[_0x1d396d[_0x53b16e(0x7b)]]=_0x3740d1[_0x53b16e(0xe1)][_0x53b16e(0xba)][_0x53b16e(0x85)]));const _0x486ccc=JSON[_0x53b16e(0xd1)](process[_0x53b16e(0xf9)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']||'{}')[_0x53b16e(0x94)];_0x3740d1[_0x1d396d[_0x53b16e(0xcb)]]=process['env'][_0x53b16e(0x78)],_0x3740d1[_0x1d396d[_0x53b16e(0x74)]]=_0x486ccc,delete _0x3740d1[_0x53b16e(0xe1)];},exports[a46_0x556cb8(0xee)]=async _0x4ac66b=>{const _0x33aa5a=a46_0x556cb8,_0x5719e4={};_0x5719e4[_0x33aa5a(0xc5)]=_0x33aa5a(0xac),_0x5719e4[_0x33aa5a(0x93)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.';const _0x1fedd1=_0x5719e4;if(global[_0x33aa5a(0x9f)])try{const details={'url':await _0x4ac66b.url(),'testhub_btcer_uuid':global.__workerDetails?.currentTest?.id};const mobileArgs=global.isMobilePlatform?{is_mobile_session:true,thTestRunUuid:global.__workerDetails?.currentTest?.thTestRunUuid}:{};logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x4ac66b,scripts.performScan,mobileArgs)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x4ac66b,scripts.getResults,mobileArgs);},{...details})();return res;}catch{return logger[_0x33aa5a(0xc9)](_0x1fedd1[_0x33aa5a(0xc5)]),[];}else return logger[_0x33aa5a(0xb2)](_0x1fedd1[_0x33aa5a(0x93)]),[];},exports[a46_0x556cb8(0xe2)]=async(_0x1cd80b,_0x2a4f3d='',_0x5d936d={},_0x3988e8={})=>{const _0x349572=a46_0x556cb8;logger[_0x349572(0xa8)]('Performing\x20scan\x20with\x20method:\x20'+_0x2a4f3d+_0x349572(0xdc)+_0x1cd80b);const _0x3d90f0={'url':await _0x1cd80b[_0x349572(0xbc)](),'testhub_btcer_uuid':global[_0x349572(0xe5)]?.[_0x349572(0xed)]?.['id']};if(global['accessibilityPlatform'])return await PerformanceTester[_0x349572(0xb9)](PerformanceA11yEvents[_0x349572(0x80)],async()=>{const _0x1b62fc=_0x349572,_0x5ea71e={};_0x5ea71e['command']=_0x2a4f3d;const _0x99abe3=_0x5ea71e;_0x5d936d&&_0x5d936d['includePartOfPageScope']&&(_0x99abe3[_0x1b62fc(0xa6)]=_0x5d936d[_0x1b62fc(0xa6)]);Object['assign'](_0x99abe3,_0x3988e8);const _0x44937c=await exports[_0x1b62fc(0x77)](_0x1cd80b,scripts[_0x1b62fc(0xe2)],_0x99abe3);return _0x44937c;},{'command':_0x2a4f3d,..._0x3d90f0})();},exports[a46_0x556cb8(0xde)]=async _0x4222eb=>{const _0x462743=a46_0x556cb8,_0xcf30a0={};_0xcf30a0['mNJXP']=_0x462743(0xd9),_0xcf30a0[_0x462743(0xbf)]=_0x462743(0x7e);const _0x128301=_0xcf30a0;if(global['accessibilityPlatform'])try{const mobileArgs=global.isMobilePlatform?{is_mobile_session:true,thTestRunUuid:global.__workerDetails?.currentTest?.thTestRunUuid}:{};await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x4222eb,scripts.performScan,mobileArgs)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x4222eb,scripts.getResultsSummary,mobileArgs);})();return summaryResults;}catch{return logger[_0x462743(0xa8)](_0x128301[_0x462743(0xc6)]),{};}else return logger[_0x462743(0xb2)](_0x128301[_0x462743(0xbf)]),{};},exports[a46_0x556cb8(0xf6)]=_0x4e44f8=>{const _0x329898=a46_0x556cb8,_0x251087={'VWIOJ':'platformValidation:\x20Mobile\x20platform\x20already\x20validated.','zBxpA':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','rCHuk':function(_0x4ebb4c,_0x2422ba){return _0x4ebb4c!==_0x2422ba;},'nWZEl':_0x329898(0xfa),'NUeIo':function(_0x32fbbc){return _0x32fbbc();},'TWuwV':_0x329898(0xe8)};try{if(global[_0x329898(0xbd)])return logger[_0x329898(0xa8)](_0x251087[_0x329898(0x8c)]),!![];const _0x24e054=_0x4e44f8[_0x329898(0xdf)],_0x1b1765=_0x4e44f8[_0x329898(0xff)];if(!accessibilityHelper[_0x329898(0xf8)](_0x24e054))return logger[_0x329898(0xb2)](_0x251087[_0x329898(0x8b)]),![];if(_0x251087[_0x329898(0x7d)](_0x1b1765,_0x251087[_0x329898(0xae)])){const _0x183532=_0x251087['NUeIo'](isBrowserstackInfra),_0x54ef9f=accessibilityHelper[_0x329898(0xe6)](_0x24e054,_0x183532),_0x13d709=accessibilityHelper[_0x329898(0x8f)](_0x24e054);if(!accessibilityHelper[_0x329898(0x9a)](_0x1b1765,_0x54ef9f)){const _0xb8f742=_0x183532?'':_0x251087[_0x329898(0xbe)];return logger[_0x329898(0xb2)]('Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20'+_0x13d709+'\x20browser\x20version\x20'+_0x54ef9f+_0x329898(0xc7)+_0xb8f742+'.'),![];}}}catch(_0x133348){logger['debug'](_0x329898(0xaa)+util[_0x329898(0xb5)](_0x133348));}return!![];},exports[a46_0x556cb8(0xd3)]=(_0x5b54de,_0x573c34,_0x5623fa)=>{const _0x4d8f81=a46_0x556cb8,_0x2737e7={'ZDsdr':'browserstack.accessibilityOptions','VfuUS':function(_0x31f73a){return _0x31f73a();},'ghkVz':_0x4d8f81(0xb4),'pgvmi':_0x4d8f81(0xf4),'KDqmE':function(_0x13eead,_0x19bba9){return _0x13eead!==_0x19bba9;},'bybbA':_0x4d8f81(0xfa),'PclnV':function(_0x3acda8){return _0x3acda8();},'GdlYJ':'on\x20non-BrowserStack\x20infrastructure\x20','GEEDe':function(_0x2de5d4,_0x51a0bf){return _0x2de5d4(_0x51a0bf);},'SWuNU':function(_0x200dad,_0xd1c84e){return _0x200dad===_0xd1c84e;},'erfXf':_0x4d8f81(0xab),'MpKCg':_0x4d8f81(0xc3),'JRHLb':_0x4d8f81(0xaf),'OwCLY':_0x4d8f81(0xd5),'zejjt':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers\x20or\x20Android\x20Chrome.','SJQwc':function(_0x1aa3e3,_0x28b9f4){return _0x1aa3e3+_0x28b9f4;},'zRHfo':function(_0x4172d0,_0x1205cd){return _0x4172d0(_0x1205cd);}};try{if(_0x2737e7['VfuUS'](isAccessibilityAutomationSession)){global[_0x4d8f81(0x9f)]=!![];!_0x5b54de[_0x2737e7[_0x4d8f81(0xf3)]]&&(global['accessibilityPlatform']=![]);const _0x4145c7=_0x5b54de['browserName']||_0x5b54de[_0x4d8f81(0xdf)],_0x4491ed=_0x5b54de['browser_version'];!accessibilityHelper['isBrowserSupportedForAccessibility'](_0x4145c7)&&(logger['warn'](_0x2737e7[_0x4d8f81(0xdd)]),global[_0x4d8f81(0x9f)]=![]);if(_0x2737e7['KDqmE'](_0x4491ed,_0x2737e7[_0x4d8f81(0xcf)])){const _0x12aaf8=_0x2737e7[_0x4d8f81(0xf2)](isBrowserstackInfra),_0x10c2ac=accessibilityHelper['getMinVersionForBrowser'](_0x4145c7,_0x12aaf8),_0xa91183=accessibilityHelper[_0x4d8f81(0x8f)](_0x4145c7);if(!accessibilityHelper['isVersionSupported'](_0x4491ed,_0x10c2ac)){const _0x23d5f4=_0x12aaf8?'':_0x2737e7[_0x4d8f81(0x79)];logger['warn']('Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20'+_0xa91183+_0x4d8f81(0xc4)+_0x10c2ac+_0x4d8f81(0xc7)+_0x23d5f4+'.'),global[_0x4d8f81(0x9f)]=![];}}if(!_0x2737e7[_0x4d8f81(0xc8)](isUndefined,_0x5b54de[_0x4d8f81(0xad)])){const _0x596555=(_0x5b54de['os']||'')['toLowerCase'](),_0xd1c6ea=(_0x5b54de['browserName']||_0x5b54de[_0x4d8f81(0xdf)]||'')[_0x4d8f81(0xd7)](),_0x48402d=_0x2737e7[_0x4d8f81(0xb7)](_0x596555,_0x2737e7[_0x4d8f81(0xf1)])&&[_0x2737e7[_0x4d8f81(0x8e)],_0x2737e7[_0x4d8f81(0x88)],_0x2737e7[_0x4d8f81(0x7f)]]['includes'](_0xd1c6ea);if(!_0x48402d)logger[_0x4d8f81(0xb2)](_0x2737e7[_0x4d8f81(0xb8)]),global[_0x4d8f81(0x9f)]=![];else!accessibilityHelper[_0x4d8f81(0xb6)]()&&(logger[_0x4d8f81(0xb2)](accessibilityHelper['MOBILE_SCANNING_DISABLED_WARNING']),global['accessibilityPlatform']=![]);}if(!global['accessibilityPlatform']){_0x5b54de[_0x2737e7['ghkVz']]=![],Object[_0x4d8f81(0xe4)](_0x5b54de)['forEach'](_0x52a199=>{const _0x4e3c8d=_0x4d8f81;_0x52a199[_0x4e3c8d(0xe0)](_0x2737e7[_0x4e3c8d(0xec)])&&delete _0x5b54de[_0x52a199];});const _0x4de993=_0x2737e7['SJQwc'](_0x573c34,_0x2737e7[_0x4d8f81(0xda)](encodeURIComponent,JSON[_0x4d8f81(0xc1)](_0x5b54de)));_0x5623fa&&(_0x5623fa[_0x4d8f81(0xed)][_0x4d8f81(0x96)][_0x4d8f81(0xfe)][_0x4d8f81(0xb3)][_0x4d8f81(0xfb)][_0x4d8f81(0xa2)]=_0x4de993,_0x5623fa[_0x4d8f81(0x97)][_0x4d8f81(0xfe)][_0x4d8f81(0xb3)][_0x4d8f81(0xfb)][_0x4d8f81(0xa2)]=_0x4de993);}}else global[_0x4d8f81(0x9f)]=![];}catch(_0xd7c88){logger['debug']('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util[_0x4d8f81(0xb5)](_0xd7c88));}};
1
+ const a46_0x5026a3=a46_0x5e47;(function(_0xe4e70e,_0x59ddfd){const _0x1cf006=a46_0x5e47,_0x70c344=_0xe4e70e();while(!![]){try{const _0x4ae8c5=-parseInt(_0x1cf006(0xe9))/0x1*(parseInt(_0x1cf006(0x158))/0x2)+parseInt(_0x1cf006(0x110))/0x3+parseInt(_0x1cf006(0x10f))/0x4*(-parseInt(_0x1cf006(0xdc))/0x5)+-parseInt(_0x1cf006(0xe2))/0x6+-parseInt(_0x1cf006(0xe5))/0x7*(-parseInt(_0x1cf006(0x11a))/0x8)+-parseInt(_0x1cf006(0x147))/0x9+-parseInt(_0x1cf006(0xee))/0xa*(-parseInt(_0x1cf006(0x139))/0xb);if(_0x4ae8c5===_0x59ddfd)break;else _0x70c344['push'](_0x70c344['shift']());}catch(_0x476a3b){_0x70c344['push'](_0x70c344['shift']());}}}(a46_0x1035,0x2b35a));const util=require(a46_0x5026a3(0x15d)),logger=require(a46_0x5026a3(0x115))[a46_0x5026a3(0xfc)],{automationLogger}=require(a46_0x5026a3(0x115)),{isAccessibilityAutomationSession}=require(a46_0x5026a3(0x162)),{isUndefined,isBrowserstackInfra}=require('../../helpers/helper'),scripts=require(a46_0x5026a3(0x14c)),PerformanceTester=require(a46_0x5026a3(0xec)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../../helpers/performance/constants'),accessibilityHelper=require(a46_0x5026a3(0x162)),{AUTOMATION_LOG_COMMANDS}=require(a46_0x5026a3(0x103));function a46_0x5e47(_0x2d40d4,_0x59a7aa){const _0x103502=a46_0x1035();return a46_0x5e47=function(_0x5e47ae,_0x298ca1){_0x5e47ae=_0x5e47ae-0xdb;let _0x39b407=_0x103502[_0x5e47ae];return _0x39b407;},a46_0x5e47(_0x2d40d4,_0x59a7aa);}exports[a46_0x5026a3(0x116)]=async(_0x224846,_0x51dab3,_0x14b75a={})=>{const _0x26fcc1=a46_0x5026a3,_0x17e35a={};_0x17e35a[_0x26fcc1(0xe7)]=_0x26fcc1(0x11b),_0x17e35a['YXAHK']=function(_0xc93bad,_0x1eea26){return _0xc93bad===_0x1eea26;},_0x17e35a['qNReb']=_0x26fcc1(0x11e);const _0x2ead7e=_0x17e35a,_0x5b1fbf=await _0x224846[_0x26fcc1(0x12e)]('(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20'+_0x51dab3['replace'](/arguments/g,_0x2ead7e[_0x26fcc1(0xe7)])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON[_0x26fcc1(0x14e)](_0x14b75a)+')');try{if(_0x51dab3&&_0x2ead7e[_0x26fcc1(0x13e)](typeof _0x51dab3,_0x2ead7e[_0x26fcc1(0x151)])){const _0x2f3686=AUTOMATION_LOG_COMMANDS['find'](_0x4840f3=>_0x51dab3[_0x26fcc1(0xdb)](_0x4840f3));if(_0x2f3686){const _0x1d67fc={};_0x1d67fc[_0x26fcc1(0x129)]=_0x2f3686,_0x1d67fc[_0x26fcc1(0x12a)]=[_0x14b75a];const _0x3a21ec={};_0x3a21ec[_0x26fcc1(0x144)]=_0x5b1fbf;const _0x8486a3={};_0x8486a3['request']=_0x1d67fc,_0x8486a3['response']=_0x3a21ec,automationLogger[_0x26fcc1(0x14d)]('['+new Date()[_0x26fcc1(0x150)]()+_0x26fcc1(0xe4)+JSON[_0x26fcc1(0x14e)](_0x8486a3));}}}catch(_0x146c69){logger[_0x26fcc1(0x163)]('[A11Y]\x20Error\x20logging\x20SDK-AUTOMATION\x20for\x20browserStackEvaluate:\x20'+_0x146c69['message']);}return _0x5b1fbf;},exports['browserStackExecuteDriver']=async(_0x5a0fea,_0xdb9b78,_0x3cbbcc={})=>{const _0x8c2b12=a46_0x5026a3,_0x2680cd={};_0x2680cd['OqxRM']=function(_0x421fdd,_0x1909be){return _0x421fdd===_0x1909be;},_0x2680cd[_0x8c2b12(0xfd)]=_0x8c2b12(0x137),_0x2680cd['OnUae']=function(_0x475338,_0x237a3e){return _0x475338===_0x237a3e;},_0x2680cd[_0x8c2b12(0xed)]=_0x8c2b12(0x114),_0x2680cd[_0x8c2b12(0x10a)]='bstackSdkArgs';const _0x76bff=_0x2680cd;if(_0x76bff['OqxRM'](_0x5a0fea[_0x8c2b12(0x112)]['name'],_0x76bff[_0x8c2b12(0xfd)]))return await _0x5a0fea[_0x8c2b12(0x159)](_0xdb9b78,_0x3cbbcc);else{if(_0x76bff['OnUae'](_0x5a0fea[_0x8c2b12(0x112)][_0x8c2b12(0xe6)],_0x76bff['KAFgt']))return await _0x5a0fea[_0x8c2b12(0x15a)]('(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+_0xdb9b78[_0x8c2b12(0x152)](/arguments/g,_0x76bff[_0x8c2b12(0x10a)])+_0x8c2b12(0x105)+JSON[_0x8c2b12(0x14e)](_0x3cbbcc)+')');}},exports[a46_0x5026a3(0xdf)]=async _0x49fa91=>{const _0x10acd0=a46_0x5026a3,_0x2333bc={};_0x2333bc[_0x10acd0(0xf6)]=_0x10acd0(0x11f),_0x2333bc['ksQbw']=_0x10acd0(0xde),_0x2333bc[_0x10acd0(0x125)]=_0x10acd0(0xe3),_0x2333bc[_0x10acd0(0x104)]=_0x10acd0(0x123),_0x2333bc['uyoHX']=_0x10acd0(0x10d),_0x2333bc[_0x10acd0(0x12b)]=_0x10acd0(0x108);const _0x1dd34d=_0x2333bc;_0x49fa91[_0x10acd0(0x153)]&&(_0x49fa91[_0x10acd0(0x153)]['wcagVersion']&&(_0x49fa91[_0x1dd34d[_0x10acd0(0xf6)]]=_0x49fa91[_0x10acd0(0x153)]['wcagVersion']),_0x49fa91[_0x10acd0(0x153)][_0x10acd0(0x10b)]&&(_0x49fa91[_0x1dd34d[_0x10acd0(0x131)]]=_0x49fa91[_0x10acd0(0x153)][_0x10acd0(0x10b)]),_0x49fa91[_0x10acd0(0x153)][_0x10acd0(0x141)]&&(_0x49fa91[_0x1dd34d[_0x10acd0(0x125)]]=_0x49fa91[_0x10acd0(0x153)][_0x10acd0(0x141)]['bestPractice'],_0x49fa91[_0x1dd34d[_0x10acd0(0x104)]]=_0x49fa91[_0x10acd0(0x153)][_0x10acd0(0x141)]['needsReview']));const _0x331b55=JSON[_0x10acd0(0x12d)](process[_0x10acd0(0x133)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']||'{}')['scannerVersion'];_0x49fa91[_0x1dd34d[_0x10acd0(0x154)]]=process[_0x10acd0(0x133)][_0x10acd0(0x128)],_0x49fa91[_0x1dd34d[_0x10acd0(0x12b)]]=_0x331b55,delete _0x49fa91[_0x10acd0(0x153)];},exports[a46_0x5026a3(0xeb)]=async _0x36338a=>{const _0x47961f=a46_0x5026a3,_0x5c5cb6={};_0x5c5cb6[_0x47961f(0xf4)]=_0x47961f(0x119),_0x5c5cb6['VDIST']=_0x47961f(0x121);const _0x32e2fd=_0x5c5cb6;if(global['accessibilityPlatform'])try{const details={'url':await _0x36338a.url(),'testhub_btcer_uuid':global.__workerDetails?.currentTest?.id};const mobileArgs=global.isMobilePlatform?{is_mobile_session:true,thTestRunUuid:global.__workerDetails?.currentTest?.thTestRunUuid}:{};logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x36338a,scripts.performScan,mobileArgs)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x36338a,scripts.getResults,mobileArgs);},{...details})();return res;}catch{return logger[_0x47961f(0x140)](_0x32e2fd['iYGPG']),[];}else return logger[_0x47961f(0xe8)](_0x32e2fd[_0x47961f(0x143)]),[];},exports[a46_0x5026a3(0x11d)]=async(_0x4953e2,_0xf32666='',_0x1b0597={},_0x4ed4b3={})=>{const _0x3b1362=a46_0x5026a3;logger[_0x3b1362(0x163)](_0x3b1362(0xfb)+_0xf32666+_0x3b1362(0x138)+_0x4953e2);const _0x38255f={'url':await _0x4953e2[_0x3b1362(0xf0)](),'testhub_btcer_uuid':global[_0x3b1362(0xf3)]?.[_0x3b1362(0x13f)]?.['id']};if(global['accessibilityPlatform'])return await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x489571=_0x3b1362,_0x5dd4dd={};_0x5dd4dd[_0x489571(0x129)]=_0xf32666;const _0x85f150=_0x5dd4dd;_0x1b0597&&_0x1b0597[_0x489571(0x13c)]&&(_0x85f150[_0x489571(0x13c)]=_0x1b0597[_0x489571(0x13c)]);Object[_0x489571(0x15f)](_0x85f150,_0x4ed4b3);const _0x27b494=await exports[_0x489571(0x116)](_0x4953e2,scripts[_0x489571(0x11d)],_0x85f150);return _0x27b494;},{'command':_0xf32666,..._0x38255f})();},exports[a46_0x5026a3(0x10c)]=async _0x1b0e14=>{const _0x3d83f1=a46_0x5026a3,_0x4cc855={};_0x4cc855[_0x3d83f1(0x14b)]=_0x3d83f1(0xf1),_0x4cc855[_0x3d83f1(0x117)]=_0x3d83f1(0x102);const _0x1560b4=_0x4cc855;if(global[_0x3d83f1(0x135)])try{const mobileArgs=global.isMobilePlatform?{is_mobile_session:true,thTestRunUuid:global.__workerDetails?.currentTest?.thTestRunUuid}:{};await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x1b0e14,scripts.performScan,mobileArgs)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x1b0e14,scripts.getResultsSummary,mobileArgs);})();return summaryResults;}catch{return logger[_0x3d83f1(0x163)](_0x1560b4[_0x3d83f1(0x14b)]),{};}else return logger[_0x3d83f1(0xe8)](_0x1560b4['XJrjM']),{};},exports[a46_0x5026a3(0xff)]=_0x12d6c9=>{const _0x1cca90=a46_0x5026a3,_0x4548b8={'cxSJH':'platformValidation:\x20Mobile\x20platform\x20already\x20validated.','YTUIi':_0x1cca90(0x12c),'zPKDW':function(_0x55be07,_0x577b40){return _0x55be07!==_0x577b40;},'GYhot':_0x1cca90(0x111),'NopUX':function(_0x4ffa77){return _0x4ffa77();},'zJXDg':_0x1cca90(0x164)};try{if(global[_0x1cca90(0x145)])return logger[_0x1cca90(0x163)](_0x4548b8['cxSJH']),!![];const _0x1402ec=_0x12d6c9[_0x1cca90(0x113)],_0x5967de=_0x12d6c9[_0x1cca90(0x15e)];if(!accessibilityHelper[_0x1cca90(0x127)](_0x1402ec))return logger[_0x1cca90(0xe8)](_0x4548b8[_0x1cca90(0x14a)]),![];if(_0x4548b8[_0x1cca90(0xf8)](_0x5967de,_0x4548b8[_0x1cca90(0x160)])){const _0x2586ce=_0x4548b8[_0x1cca90(0x100)](isBrowserstackInfra),_0x20ec2d=accessibilityHelper[_0x1cca90(0xef)](_0x1402ec,_0x2586ce),_0x401860=accessibilityHelper['getBrowserDisplayName'](_0x1402ec);if(!accessibilityHelper[_0x1cca90(0x136)](_0x5967de,_0x20ec2d)){const _0x3c91b0=_0x2586ce?'':_0x4548b8[_0x1cca90(0x134)];return logger['warn'](_0x1cca90(0x11c)+_0x401860+'\x20browser\x20version\x20'+_0x20ec2d+_0x1cca90(0x107)+_0x3c91b0+'.'),![];}}}catch(_0x270f5e){logger[_0x1cca90(0x163)](_0x1cca90(0x148)+util[_0x1cca90(0xe0)](_0x270f5e));}return!![];},exports['processAccessibilityCaps']=(_0x4a0595,_0x571202,_0x1a27ec)=>{const _0x3586ab=a46_0x5026a3,_0x4e6680={'VJduv':_0x3586ab(0x109),'DmpTN':function(_0x2b5e6b){return _0x2b5e6b();},'YMGWV':_0x3586ab(0x161),'gQAmo':_0x3586ab(0x12c),'Eoywd':function(_0x42a46b,_0x582b5e){return _0x42a46b!==_0x582b5e;},'YDgAE':_0x3586ab(0x111),'qdnqe':'on\x20non-BrowserStack\x20infrastructure\x20','ftpKD':function(_0x20d40b,_0x365ea1){return _0x20d40b(_0x365ea1);},'iRkBP':function(_0x14c3e1,_0x1ab2e2){return _0x14c3e1===_0x1ab2e2;},'DhuTy':_0x3586ab(0x155),'ZphFa':_0x3586ab(0xf9),'ySwOW':_0x3586ab(0x10e),'ludbX':_0x3586ab(0x124),'UwyaW':_0x3586ab(0x149),'PrFMU':function(_0x28ae1c,_0x987b49){return _0x28ae1c+_0x987b49;}};try{if(_0x4e6680[_0x3586ab(0x157)](isAccessibilityAutomationSession)){global[_0x3586ab(0x135)]=!![];!_0x4a0595[_0x4e6680[_0x3586ab(0x132)]]&&(global[_0x3586ab(0x135)]=![]);const _0x1702dd=_0x4a0595[_0x3586ab(0x15c)]||_0x4a0595[_0x3586ab(0x113)],_0x29826e=_0x4a0595[_0x3586ab(0x15e)];!accessibilityHelper[_0x3586ab(0x127)](_0x1702dd)&&(logger[_0x3586ab(0xe8)](_0x4e6680['gQAmo']),global[_0x3586ab(0x135)]=![]);if(_0x4e6680[_0x3586ab(0x120)](_0x29826e,_0x4e6680['YDgAE'])){const _0x5e75c6=_0x4e6680[_0x3586ab(0x157)](isBrowserstackInfra),_0x5234bc=accessibilityHelper[_0x3586ab(0xef)](_0x1702dd,_0x5e75c6),_0x3f0a65=accessibilityHelper[_0x3586ab(0x130)](_0x1702dd);if(!accessibilityHelper['isVersionSupported'](_0x29826e,_0x5234bc)){const _0x16e6b8=_0x5e75c6?'':_0x4e6680[_0x3586ab(0x14f)];logger[_0x3586ab(0xe8)](_0x3586ab(0x11c)+_0x3f0a65+_0x3586ab(0x126)+_0x5234bc+_0x3586ab(0x107)+_0x16e6b8+'.'),global[_0x3586ab(0x135)]=![];}}if(!_0x4e6680['ftpKD'](isUndefined,_0x4a0595[_0x3586ab(0x118)])){const _0x378cf1=(_0x4a0595['os']||'')['toLowerCase'](),_0x23d0d2=(_0x4a0595[_0x3586ab(0x15c)]||_0x4a0595[_0x3586ab(0x113)]||'')[_0x3586ab(0x122)](),_0x1a5699=_0x4e6680[_0x3586ab(0x156)](_0x378cf1,_0x4e6680[_0x3586ab(0xf5)])&&[_0x4e6680['ZphFa'],_0x4e6680[_0x3586ab(0xea)],_0x4e6680[_0x3586ab(0x146)]]['includes'](_0x23d0d2);if(!_0x1a5699)logger[_0x3586ab(0xe8)](_0x4e6680['UwyaW']),global[_0x3586ab(0x135)]=![];else!accessibilityHelper['isMobileScanningEnabledForGroup']()&&(logger[_0x3586ab(0xe8)](accessibilityHelper[_0x3586ab(0xfa)]),global['accessibilityPlatform']=![]);}if(!global[_0x3586ab(0x135)]){_0x4a0595[_0x4e6680[_0x3586ab(0x132)]]=![],Object[_0x3586ab(0xdd)](_0x4a0595)[_0x3586ab(0xfe)](_0x58c202=>{const _0x31069e=_0x3586ab;_0x58c202[_0x31069e(0x142)](_0x4e6680[_0x31069e(0x106)])&&delete _0x4a0595[_0x58c202];});const _0xb120f0=_0x4e6680[_0x3586ab(0xe1)](_0x571202,_0x4e6680[_0x3586ab(0xf7)](encodeURIComponent,JSON[_0x3586ab(0x14e)](_0x4a0595)));_0x1a27ec&&(_0x1a27ec[_0x3586ab(0x13f)][_0x3586ab(0x101)][_0x3586ab(0xf2)][_0x3586ab(0x13a)][_0x3586ab(0x13b)][_0x3586ab(0x12f)]=_0xb120f0,_0x1a27ec[_0x3586ab(0x13d)][_0x3586ab(0xf2)][_0x3586ab(0x13a)][_0x3586ab(0x13b)][_0x3586ab(0x12f)]=_0xb120f0);}}else global[_0x3586ab(0x135)]=![];}catch(_0x551c52){logger[_0x3586ab(0x163)](_0x3586ab(0x15b)+util[_0x3586ab(0xe0)](_0x551c52));}};function a46_0x1035(){const _0x1d594f=['\x20browser\x20version\x20','isBrowserSupportedForAccessibility','BS_A11Y_JWT','command','parameters','kjRQC','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','parse','evaluate','wsEndpoint','getBrowserDisplayName','ksQbw','YMGWV','env','zJXDg','accessibilityPlatform','isVersionSupported','WebDriver','\x20page:\x20','946LKYokH','use','connectOptions','includePartOfPageScope','workerInfo','YXAHK','currentTest','error','includeIssueType','startsWith','VDIST','body','isMobilePlatform','ludbX','2077560MrEVwV','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers\x20or\x20Android\x20Chrome.','YTUIi','aNZAC','../../helpers/accessibility-automation/scripts','silly','stringify','qdnqe','toISOString','qNReb','replace','accessibilityOptions','uyoHX','android','iRkBP','DmpTN','44XGlzbx','executeAsyncScript','executeScript','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','browserName','util','browser_version','assign','GYhot','browserstack.accessibility','../../helpers/accessibility-automation/helper','debug','on\x20non-BrowserStack\x20infrastructure\x20','includes','6350AKECWB','keys','accessibilityOptions.scannerProcessingTimeout','setAccessibilityCapabilities','format','PrFMU','1108542IjhyvG','accessibilityOptions.includeIssueType.bestPractice','][\x20SDK-AUTOMATION\x20]\x20','147707pwKcdM','name','RwbwC','warn','2252eCMxyn','ySwOW','getAccessibilityResults','../../helpers/performance/performance-tester','KAFgt','37250dHQEMT','getMinVersionForBrowser','url','No\x20summaryResults\x20found.','project','__workerDetails','iYGPG','DhuTy','kCzdp','ftpKD','zPKDW','chrome','MOBILE_SCANNING_DISABLED_WARNING','Performing\x20scan\x20with\x20method:\x20','winstonLogger','FAWru','forEach','platformValidation','NopUX','testInfo','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','../utils/constants','zDMAK','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','VJduv','\x20or\x20higher\x20','accessibilityOptions.scannerVersion','browserstack.accessibilityOptions','oktye','scannerProcessingTimeout','getAccessibilityResultsSummary','accessibilityOptions.authToken','playwright-chromium','272wZTCxW','781290lSCQEV','latest','constructor','browser','Playwright','../../helpers/logger','browserStackEvaluate','XJrjM','deviceName','No\x20accessibility\x20results\x20were\x20found.','56uSiFlP','bstackSdkArgs','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','performScan','string','accessibilityOptions.wcagVersion','Eoywd','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','toLowerCase','accessibilityOptions.includeIssueType.needsReview','chromium','JKFPS'];a46_0x1035=function(){return _0x1d594f;};return a46_0x1035();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a47_0x25fc83=a47_0x2bb4;(function(_0x1a2727,_0x26d3bd){const _0x48b943=a47_0x2bb4,_0x508c9e=_0x1a2727();while(!![]){try{const _0x201e8c=parseInt(_0x48b943(0x1d8))/0x1+parseInt(_0x48b943(0x1c9))/0x2+parseInt(_0x48b943(0x18e))/0x3*(-parseInt(_0x48b943(0x1d5))/0x4)+parseInt(_0x48b943(0x1e7))/0x5*(parseInt(_0x48b943(0x236))/0x6)+-parseInt(_0x48b943(0x1ad))/0x7+-parseInt(_0x48b943(0x20a))/0x8*(parseInt(_0x48b943(0x24f))/0x9)+parseInt(_0x48b943(0x19e))/0xa*(-parseInt(_0x48b943(0x1f8))/0xb);if(_0x201e8c===_0x26d3bd)break;else _0x508c9e['push'](_0x508c9e['shift']());}catch(_0x3debbd){_0x508c9e['push'](_0x508c9e['shift']());}}}(a47_0x4d99,0x3266e));const fs=require('fs'),path=require(a47_0x25fc83(0x1ea)),{spawn}=require(a47_0x25fc83(0x201)),{format}=require(a47_0x25fc83(0x1b8)),logger=require(a47_0x25fc83(0x1c0))[a47_0x25fc83(0x233)],{default:BrowserStackSetup}=require(a47_0x25fc83(0x249)),helper=require(a47_0x25fc83(0x22e)),utilities=require(a47_0x25fc83(0x243)),constants=require('../utils/constants'),{FRAMEWORKS}=require(a47_0x25fc83(0x1c7)),{getConfigLoaderPath}=require(a47_0x25fc83(0x23e)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a47_0x25fc83(0x1e8)),{printBuildLink}=require(a47_0x25fc83(0x22a)),TestDetails=require(a47_0x25fc83(0x208)),TestHubHandler=require(a47_0x25fc83(0x1e1)),PerformanceTester=require(a47_0x25fc83(0x1ac)),TestOrchestrationHandler=require(a47_0x25fc83(0x217)),BrowserstackCLI=require('../v2/browserstackCLI'),PerformanceEvents=require('../../helpers/performance/constants')[a47_0x25fc83(0x216)],CLIUtils=require('../v2/cliUtils'),TestInfo=require(a47_0x25fc83(0x22f)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),getUserPlaywrightConfig=async(_0x2e6523,_0x3c69f6)=>{const _0x847e22=a47_0x25fc83,_0x479258={'nWFag':function(_0x1f2986){return _0x1f2986();},'QkMJn':function(_0xa8723d){return _0xa8723d();},'bFFNR':function(_0x5d433f,_0x14df61){return _0x5d433f(_0x14df61);},'NLMnh':function(_0x2304b0,_0x4b5c57){return _0x2304b0(_0x4b5c57);},'QkKaC':'resolvedConfigFile','rsxqb':_0x847e22(0x22b)},_0x459652=!helper[_0x847e22(0x1f2)](_0x2e6523[_0x847e22(0x1a6)]),_0x5c894b=_0x459652?path[_0x847e22(0x1fe)](process[_0x847e22(0x20b)](),_0x2e6523[_0x847e22(0x1a6)]):process[_0x847e22(0x20b)](),{resolveConfigFile:_0x47f873,resolveConfigLocation:_0x29dc75}=helper['isYarnPnP']()?helper['requireConfigLoaderYarnPnP'](..._0x479258[_0x847e22(0x1b5)](getConfigLoaderPath)):helper[_0x847e22(0x199)]['apply'](null,_0x479258[_0x847e22(0x1b2)](getConfigLoaderPath)),_0x159f7b=_0x47f873?_0x479258[_0x847e22(0x1f9)](_0x47f873,_0x5c894b):helper[_0x847e22(0x239)](_0x479258['NLMnh'](_0x29dc75,_0x5c894b),[_0x479258[_0x847e22(0x1d9)]]),_0x47f1cb={};if(_0x459652){const _0xa78be4=_0x3c69f6[_0x847e22(0x22d)](_0x5ee3df=>_0x5ee3df===_0x847e22(0x234)||_0x5ee3df==='-c'||_0x5ee3df[_0x847e22(0x238)]('--config='));_0x3c69f6[_0x847e22(0x1eb)](_0xa78be4,_0x3c69f6[_0xa78be4][_0x847e22(0x238)](_0x479258['rsxqb'])?0x1:0x2);}const _0x540904={};return _0x540904[_0x847e22(0x1ea)]=_0x159f7b,_0x540904['config']=_0x47f1cb,_0x540904;},handleO11yRerun=_0x67eb9d=>{const _0x4d9fbc=a47_0x25fc83,_0x2c31d1={};_0x2c31d1[_0x4d9fbc(0x1e4)]=_0x4d9fbc(0x21a);const _0x4513a3=_0x2c31d1,_0x172b94=helper[_0x4d9fbc(0x1f0)](process[_0x4d9fbc(0x1e9)][_0x4d9fbc(0x1fc)]);if(_0x172b94){const _0x2a0d40=process['env'][_0x4d9fbc(0x248)],_0xb0b275=[];if(helper[_0x4d9fbc(0x1a4)](_0x2a0d40)&&!helper[_0x4d9fbc(0x1f2)](_0x2a0d40)){_0x2a0d40[_0x4d9fbc(0x1ec)](',')[_0x4d9fbc(0x22c)](_0x1b19d4=>{const _0x1499b2=_0x4d9fbc;_0xb0b275['push']('('+_0x1b19d4[_0x1499b2(0x1a1)]()+')');});const _0x4b462d='^'+_0xb0b275[_0x4d9fbc(0x24b)]('|')+'$';_0x67eb9d[_0x4d9fbc(0x19d)](_0x4513a3[_0x4d9fbc(0x1e4)],_0x4b462d);}}},spawnOriginalProcess=_0x8ded76=>{const _0x3ffa17=a47_0x25fc83,_0x2dc031={'PzrBQ':function(_0x9ca5e,_0x29654d,_0xff691e,_0x440489){return _0x9ca5e(_0x29654d,_0xff691e,_0x440489);},'JjlpN':_0x3ffa17(0x200),'rAQMu':_0x3ffa17(0x218),'HbVJt':_0x3ffa17(0x18f),'obgVJ':function(_0x4af796,_0xbbed07){return _0x4af796===_0xbbed07;},'HlsUf':_0x3ffa17(0x1b3),'BtFPe':_0x3ffa17(0x1aa)};_0x2dc031[_0x3ffa17(0x191)](spawn,helper[_0x3ffa17(0x247)]()?_0x2dc031['JjlpN']:_0x2dc031[_0x3ffa17(0x222)],[_0x2dc031[_0x3ffa17(0x1e6)],..._0x8ded76[_0x3ffa17(0x240)](0x1)],{'shell':_0x2dc031['obgVJ'](process[_0x3ffa17(0x1f3)],_0x2dc031[_0x3ffa17(0x186)]),'stdio':_0x2dc031[_0x3ffa17(0x185)],'cwd':process[_0x3ffa17(0x20b)]()});},isTestCommand=(_0x5945db,_0x5d4249)=>{const _0x2e95a7=a47_0x25fc83,_0x33071f={};_0x33071f[_0x2e95a7(0x1d6)]=function(_0x5de111,_0x1c1575){return _0x5de111>_0x1c1575;},_0x33071f[_0x2e95a7(0x1ef)]=function(_0x347aae,_0x4fb123){return _0x347aae===_0x4fb123;},_0x33071f[_0x2e95a7(0x1ba)]=_0x2e95a7(0x242);const _0x14d069=_0x33071f;if(_0x14d069[_0x2e95a7(0x1d6)](_0x5d4249[_0x2e95a7(0x1cb)],0x1)&&_0x14d069[_0x2e95a7(0x1ef)](_0x5d4249[0x1],_0x14d069[_0x2e95a7(0x1ba)]))return!![];return![];};async function run(_0x1e814a,_0x596c90,_0x2576a1){const _0x411c90=a47_0x25fc83,_0x4fc170={'JBpIw':_0x411c90(0x1d7),'sTsye':function(_0x51403b){return _0x51403b();},'vEXJZ':function(_0x424b41){return _0x424b41();},'oePWU':function(_0xc27ec5,_0x5d55e1){return _0xc27ec5+_0x5d55e1;},'hhfrB':_0x411c90(0x215),'FUjRD':function(_0xdda228,_0x5bbc2f){return _0xdda228(_0x5bbc2f);},'iLfJE':_0x411c90(0x227),'NtODO':function(_0x4ab29c,_0x3f904c){return _0x4ab29c+_0x3f904c;},'kJjPe':_0x411c90(0x24c),'AlrdS':_0x411c90(0x1ae),'Poqtt':function(_0x512966,_0x460f5f){return _0x512966<_0x460f5f;},'rEvsc':function(_0x48711a,_0x4c5246){return _0x48711a===_0x4c5246;},'ltNte':'false','oZrKR':_0x411c90(0x21f),'OvZQz':function(_0x82aaf1,_0x389576){return _0x82aaf1>=_0x389576;},'RwUgX':function(_0x178e44,_0x22fb68){return _0x178e44===_0x22fb68;},'GiNTp':'automation','wGnDa':function(_0xe94fd4,_0x5f4c04){return _0xe94fd4!=_0x5f4c04;},'HtseB':function(_0x585c70,_0x3b0094,_0x2285a8){return _0x585c70(_0x3b0094,_0x2285a8);},'YBugf':function(_0xc4575a,_0x161755){return _0xc4575a===_0x161755;},'QqZKW':_0x411c90(0x219),'jmXSF':_0x411c90(0x23c),'TBsYI':function(_0x5bc885,_0x598c79){return _0x5bc885===_0x598c79;},'xTrRC':_0x411c90(0x1e5),'xqLQR':_0x411c90(0x21c),'LSWYV':function(_0xb94752,_0x358468){return _0xb94752-_0x358468;},'KjeFm':'Updated\x20config\x20file\x20name\x20to\x20-\x20','qCmlr':function(_0x3ec49e,_0x23b87a){return _0x3ec49e>_0x23b87a;},'qSVvw':function(_0x1a8e52,_0x17eaa1){return _0x1a8e52+_0x17eaa1;},'jfboX':_0x411c90(0x1ca),'ByAge':function(_0x446fa6,_0x214f2){return _0x446fa6<_0x214f2;},'mjmvH':'playwright','NlLxO':function(_0x32c715,_0x2b4922,_0xa7699a,_0x528125){return _0x32c715(_0x2b4922,_0xa7699a,_0x528125);},'BgFUa':_0x411c90(0x200),'uDLmI':'npx','ayuRv':_0x411c90(0x242),'eYqdN':_0x411c90(0x234),'TMLYX':_0x411c90(0x1b3),'BvgYA':_0x411c90(0x1aa),'otqiB':_0x411c90(0x21b),'vVccb':function(_0x10ba60,_0x4eb6eb){return _0x10ba60|_0x4eb6eb;},'qrFjc':function(_0x11e756,_0x1fe3da){return _0x11e756+_0x1fe3da;},'DfZWK':'Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','Jjrbx':function(_0x478bd7,_0x7570cc){return _0x478bd7+_0x7570cc;},'UOWis':_0x411c90(0x1d1),'wQPez':function(_0x52c34c,_0x45603f){return _0x52c34c(_0x45603f);}};try{const _0x58b7b3=path['join'](helper[_0x411c90(0x206)](),_0x4fc170[_0x411c90(0x228)]);try{fs[_0x411c90(0x1ff)](_0x58b7b3,_0x4fc170[_0x411c90(0x193)](fs[_0x411c90(0x212)][_0x411c90(0x1c2)],fs['constants'][_0x411c90(0x221)]));}catch(_0x1391ba){ClientTroubleShootingService['reportDotBrowserStackFolderNotAccessibleIssue']();}}catch(_0x23fa42){logger[_0x411c90(0x197)](_0x4fc170[_0x411c90(0x19a)](_0x4fc170[_0x411c90(0x1bb)],_0x23fa42));}try{const _0x43722f=path[_0x411c90(0x24b)](helper[_0x411c90(0x206)](),_0x4fc170[_0x411c90(0x228)],_0x4fc170[_0x411c90(0x213)]);fs[_0x411c90(0x18a)](_0x43722f)&&fs['unlinkSync'](_0x43722f);}catch(_0x321573){logger['debug'](_0x4fc170[_0x411c90(0x1ab)](_0x4fc170[_0x411c90(0x1de)],_0x321573));}if(!_0x4fc170[_0x411c90(0x220)](isTestCommand,_0x1e814a,_0x596c90)){_0x4fc170[_0x411c90(0x203)](spawnOriginalProcess,_0x596c90);return;}await PerformanceTester[_0x411c90(0x19f)](PerformanceEvents[_0x411c90(0x205)],async()=>{const _0x2466d3=_0x411c90,_0x535a88={'jUYht':function(_0x8e978e,_0x58c039){return _0x4fc170['FUjRD'](_0x8e978e,_0x58c039);},'AWgtl':_0x4fc170[_0x2466d3(0x228)],'KIQmR':_0x4fc170[_0x2466d3(0x213)],'mxdyl':function(_0x35d66c,_0x512d2b){const _0x530efa=_0x2466d3;return _0x4fc170[_0x530efa(0x24e)](_0x35d66c,_0x512d2b);},'waDwH':_0x4fc170[_0x2466d3(0x1af)]};if(!_0x2576a1['config']){logger['error'](_0x4fc170[_0x2466d3(0x18b)]);return;}await _0x2576a1[_0x2466d3(0x20f)](_0x1e814a),CLIUtils['setFrameworkDetail'](FRAMEWORKS[_0x2466d3(0x1b1)],FRAMEWORKS[_0x2466d3(0x1b1)]),BrowserstackCLI['getInstance']()['setBrowserstackConfig'](_0x2576a1['config'],_0x2576a1['configPath'],_0x2576a1[_0x2466d3(0x188)]),await BrowserstackCLI[_0x2466d3(0x251)]()[_0x2466d3(0x209)]();!BrowserstackCLI[_0x2466d3(0x251)]()[_0x2466d3(0x244)]()&&await _0x2576a1[_0x2466d3(0x1dc)]();for(var _0x1f38c2=0x0;_0x4fc170['Poqtt'](_0x1f38c2,constants[_0x2466d3(0x1b0)][_0x2466d3(0x1cb)]);_0x1f38c2++){var _0xcb30ea=constants[_0x2466d3(0x1b0)][_0x1f38c2];process['env'][_0xcb30ea]&&await ClientTroubleShootingService[_0x2466d3(0x1fb)](_0xcb30ea);}const _0x3a09b7=BrowserstackCLI[_0x2466d3(0x251)]()['getConfig']();!helper[_0x2466d3(0x23d)](_0x3a09b7[_0x2466d3(0x1a7)])&&(process[_0x2466d3(0x1e9)][_0x2466d3(0x20d)]=!![]);_0x4fc170[_0x2466d3(0x23a)](_0x3a09b7[_0x2466d3(0x1a7)],![])&&(process[_0x2466d3(0x1e9)][_0x2466d3(0x20d)]=_0x4fc170[_0x2466d3(0x202)],_0x596c90=_0x596c90[_0x2466d3(0x1f5)](_0x18ae71=>_0x18ae71!==_0x2466d3(0x24a)));const _0x5bb014=_0x596c90['indexOf'](_0x4fc170[_0x2466d3(0x1dd)]);(_0x4fc170[_0x2466d3(0x195)](_0x5bb014,0x0)||_0x4fc170[_0x2466d3(0x1d2)](_0x3a09b7[_0x2466d3(0x252)],![]))&&(process[_0x2466d3(0x1e9)][_0x2466d3(0x1bf)]=_0x4fc170[_0x2466d3(0x202)],_0x596c90=_0x596c90[_0x2466d3(0x1f5)](_0x46a549=>_0x46a549!=='--disable-test-observability'));!helper['isUndefined'](_0x2576a1['cliConfig'])&&_0x2576a1[_0x2466d3(0x188)]['has'](_0x4fc170['GiNTp'])&&(process['env'][_0x2466d3(0x20d)]=_0x2576a1[_0x2466d3(0x188)][_0x2466d3(0x1f1)](_0x4fc170[_0x2466d3(0x20e)])||!![]);_0x4fc170[_0x2466d3(0x237)](_0x2576a1[_0x2466d3(0x1a6)][_0x2466d3(0x252)],null)&&!helper['isTrue'](process[_0x2466d3(0x1e9)][_0x2466d3(0x1bf)])&&(process['env'][_0x2466d3(0x1bf)]=process[_0x2466d3(0x1e9)][_0x2466d3(0x1bf)]||_0x2576a1['config'][_0x2466d3(0x252)]);const _0x41f05c=!helper[_0x2466d3(0x23d)](process[_0x2466d3(0x1e9)][_0x2466d3(0x1bf)]);_0x2576a1[_0x2466d3(0x1a6)][_0x2466d3(0x1b9)]&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x2466d3(0x1a9)](_0x2576a1['config'][_0x2466d3(0x1b9)]));let _0x5d668d=![];_0x2576a1[_0x2466d3(0x1a6)]['accessibility']&&(_0x5d668d=!![],process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x2576a1['config'][_0x2466d3(0x1a0)]);const _0x5a73d6=_0x596c90[_0x2466d3(0x1c4)](),_0x327224=await _0x4fc170[_0x2466d3(0x220)](getUserPlaywrightConfig,_0x1e814a,_0x596c90);if(helper[_0x2466d3(0x1f2)](_0x327224)){_0x4fc170[_0x2466d3(0x232)](spawnOriginalProcess,_0x5a73d6);return;}const _0x123619=_0x327224[_0x2466d3(0x1ea)]?path[_0x2466d3(0x18d)](_0x327224[_0x2466d3(0x1ea)]):process[_0x2466d3(0x20b)]();process[_0x2466d3(0x1e9)][_0x2466d3(0x214)]=_0x123619,await PerformanceTester[_0x2466d3(0x19f)](PerformanceEvents[_0x2466d3(0x1a8)],async()=>{const _0x237bc2=_0x2466d3;!BrowserstackCLI['getInstance']()['isRunning']()&&await TestHubHandler[_0x237bc2(0x23b)](FRAMEWORKS['PLAYWRIGHT'],_0x2576a1),_0x41f05c&&_0x535a88['jUYht'](handleO11yRerun,_0x596c90);})();if(!BrowserstackCLI[_0x2466d3(0x251)]()[_0x2466d3(0x244)]()){let _0x4a569f=_0x4fc170[_0x2466d3(0x1df)](process[_0x2466d3(0x1e9)][_0x2466d3(0x1ee)],_0x4fc170[_0x2466d3(0x198)]);_0x4a569f=_0x4a569f||_0x4fc170['FUjRD'](checkAccessibilityPlatformConfig,_0x2576a1[_0x2466d3(0x1a6)]),process[_0x2466d3(0x1e9)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x4a569f,_0x4a569f&&_0x4fc170[_0x2466d3(0x232)](setAccessibilityCapabilities,_0x2576a1[_0x2466d3(0x1a6)]);}const _0x241eec=path[_0x2466d3(0x24b)](_0x327224[_0x2466d3(0x1ea)]?path[_0x2466d3(0x18d)](_0x327224[_0x2466d3(0x1ea)]):process[_0x2466d3(0x20b)](),_0x4fc170['jmXSF']);fs[_0x2466d3(0x1a5)](_0x241eec,helper[_0x2466d3(0x245)](_0x2576a1['config'])),process[_0x2466d3(0x1e9)][_0x2466d3(0x187)]=_0x241eec,helper[_0x2466d3(0x226)]();let _0x3e907c='';_0x4fc170[_0x2466d3(0x1cc)](helper[_0x2466d3(0x211)](),constants['PACKAGE_TYPE'][_0x2466d3(0x204)])?_0x3e907c=_0x4fc170[_0x2466d3(0x1bd)]:_0x3e907c=_0x4fc170[_0x2466d3(0x1e0)];let _0x5a4e7e='';if(helper[_0x2466d3(0x1c8)](_0x327224[_0x2466d3(0x1ea)])){_0x5a4e7e=_0x2466d3(0x1c5);const _0x1e3c38=_0x3e907c['split']('.');_0x1e3c38[_0x4fc170[_0x2466d3(0x1c1)](_0x1e3c38['length'],0x1)]='ts',_0x3e907c=_0x1e3c38[_0x2466d3(0x24b)]('.'),logger[_0x2466d3(0x197)](_0x4fc170[_0x2466d3(0x1f4)](_0x4fc170[_0x2466d3(0x1e3)],_0x3e907c));}else _0x5a4e7e=_0x2466d3(0x1a3);const _0xdb1eb5=path[_0x2466d3(0x24b)](_0x327224[_0x2466d3(0x1ea)]?path['dirname'](_0x327224[_0x2466d3(0x1ea)]):process['cwd'](),_0x3e907c);let _0x5ba0f3=_0x327224[_0x2466d3(0x1ea)]?_0x327224[_0x2466d3(0x1ea)]:'';_0x5ba0f3=_0x4fc170[_0x2466d3(0x192)](_0x5ba0f3[_0x2466d3(0x1cb)],0x0)?path[_0x2466d3(0x1fe)](_0x5ba0f3):'',process[_0x2466d3(0x1e9)][_0x2466d3(0x231)]=_0x5ba0f3;const _0x5e2208=helper[_0x2466d3(0x210)](_0x2576a1[_0x2466d3(0x1a6)]),_0x233721=helper['getNoProxy'](_0x2576a1[_0x2466d3(0x1a6)]);logger['debug']('Proxy\x20url\x20:\x20'+_0x5e2208),logger['debug']('No\x20Proxy\x20:\x20'+_0x233721);_0x5e2208&&(_0x5a4e7e=_0x4fc170[_0x2466d3(0x1d3)](_0x2466d3(0x1be)+_0x5e2208+_0x2466d3(0x20c)+_0x233721+'\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();',_0x5a4e7e));helper[_0x2466d3(0x223)]({},_0x596c90),fs['writeFileSync'](_0xdb1eb5,_0x5a4e7e);let _0x4af732=[];const _0x21558c=new TestOrchestrationHandler(_0x2576a1['config']);if(_0x21558c[_0x2466d3(0x190)]()){logger[_0x2466d3(0x197)](_0x4fc170[_0x2466d3(0x1c6)]);const _0x5b94b5=await _0x21558c[_0x2466d3(0x224)](_0x5ba0f3,_0x596c90['slice'](0x2));logger['debug'](_0x2466d3(0x1b6)+JSON[_0x2466d3(0x1a9)](_0x5b94b5)+'\x20test\x20files\x20to\x20run.');const _0x350f28=await _0x21558c[_0x2466d3(0x1da)](_0x5b94b5);logger[_0x2466d3(0x197)](_0x2466d3(0x18c)+JSON[_0x2466d3(0x1a9)](_0x350f28)),_0x350f28&&_0x4fc170[_0x2466d3(0x192)](_0x350f28[_0x2466d3(0x1cb)],0x0)&&(process[_0x2466d3(0x1e9)][_0x2466d3(0x1a2)]=_0x350f28[_0x2466d3(0x24b)](','),_0x4fc170[_0x2466d3(0x189)](_0x350f28['length'],_0x5b94b5[_0x2466d3(0x1cb)])&&(_0x4af732=_0x350f28['map'](_0x372f05=>path[_0x2466d3(0x194)](process['cwd'](),_0x372f05)['split'](path['sep'])[_0x2466d3(0x24b)]('/'))));}PerformanceTester[_0x2466d3(0x1f6)](PerformanceEvents[_0x2466d3(0x19b)]),process[_0x2466d3(0x1e9)][_0x2466d3(0x230)]=process[_0x2466d3(0x1e9)][_0x2466d3(0x230)]||_0x4fc170[_0x2466d3(0x225)];const _0x125563=_0x4fc170[_0x2466d3(0x1fa)](spawn,helper[_0x2466d3(0x247)]()?_0x4fc170['BgFUa']:_0x4fc170['uDLmI'],[_0x4fc170[_0x2466d3(0x225)],_0x4fc170['ayuRv'],_0x4fc170[_0x2466d3(0x1bc)],_0x4fc170['TBsYI'](process['platform'],_0x4fc170[_0x2466d3(0x250)])?'\x22'+_0xdb1eb5+'\x22':_0xdb1eb5,..._0x596c90[_0x2466d3(0x240)](0x2),..._0x4af732],{'shell':_0x4fc170[_0x2466d3(0x1d2)](process[_0x2466d3(0x1f3)],_0x4fc170['TMLYX']),'stdio':_0x4fc170[_0x2466d3(0x235)],'cwd':process[_0x2466d3(0x20b)](),'env':Object[_0x2466d3(0x1b4)]({},process[_0x2466d3(0x1e9)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x1e814a),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x2576a1[_0x2466d3(0x1a6)]['testContextOptions'][_0x2466d3(0x1d0)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x2576a1['config']['testContextOptions'][_0x2466d3(0x21d)],'BROWSERSTACK_LOG_LEVEL':_0x2576a1[_0x2466d3(0x1a6)][_0x2466d3(0x1f7)]})}),_0x922a2e=()=>{const _0x34ce07=_0x2466d3;try{const _0x479248=path[_0x34ce07(0x24b)](helper[_0x34ce07(0x206)](),_0x535a88['AWgtl'],_0x535a88[_0x34ce07(0x229)]);if(fs[_0x34ce07(0x18a)](_0x479248)){let _0x453a7f=fs[_0x34ce07(0x1c3)](_0x479248);_0x453a7f=JSON[_0x34ce07(0x246)](_0x453a7f),_0x2576a1[_0x34ce07(0x1fd)]=_0x453a7f,fs[_0x34ce07(0x1cf)](_0x479248);}}catch(_0x32024b){logger[_0x34ce07(0x197)](_0x535a88[_0x34ce07(0x1e2)](_0x535a88['waDwH'],_0x32024b));}};_0x125563['on'](_0x4fc170[_0x2466d3(0x23f)],async _0x4f4efd=>{const _0x35a8b2=_0x2466d3,_0xad63cd={};_0xad63cd[_0x35a8b2(0x253)]=_0x4fc170[_0x35a8b2(0x228)];const _0x5baf42=_0xad63cd;try{PerformanceTester[_0x35a8b2(0x207)](PerformanceEvents['SDK_CLEANUP']),_0x4fc170[_0x35a8b2(0x196)](_0x922a2e),await TestHubHandler[_0x35a8b2(0x1cd)](),await ClientTroubleShootingService[_0x35a8b2(0x1b7)]();const _0xfab9ce=BrowserstackCLI[_0x35a8b2(0x21e)]();await BrowserstackCLI[_0x35a8b2(0x251)]()['stop'](),TestDetails[_0x35a8b2(0x1ed)](),_0x4fc170['vEXJZ'](printBuildLink),await utilities[_0x35a8b2(0x24d)](_0x2576a1,_0xfab9ce),process[_0x35a8b2(0x19c)]=_0x4f4efd,logger[_0x35a8b2(0x197)](_0x35a8b2(0x1ce)+_0x4f4efd),logger['info'](_0x35a8b2(0x1d4)+_0xdb1eb5),fs['unlinkSync'](_0xdb1eb5);fs[_0x35a8b2(0x18a)](_0x241eec)&&(logger[_0x35a8b2(0x197)](_0x35a8b2(0x1d4)+_0x241eec),fs[_0x35a8b2(0x1cf)](_0x241eec));const _0x4aefe9=fs['readdirSync'](path[_0x35a8b2(0x24b)](helper[_0x35a8b2(0x206)](),_0x4fc170[_0x35a8b2(0x228)]))[_0x35a8b2(0x1f5)](_0x4ce2f3=>_0x4ce2f3['startsWith'](_0x35a8b2(0x241)));_0x4aefe9[_0x35a8b2(0x1db)](_0x105f81=>{const _0x4ed318=_0x35a8b2;fs[_0x4ed318(0x1cf)](path[_0x4ed318(0x24b)](helper[_0x4ed318(0x206)](),_0x5baf42['asFaI'],_0x105f81));});}catch(_0x581164){logger['debug'](_0x4fc170[_0x35a8b2(0x1f4)](_0x4fc170['hhfrB'],_0x581164));}});})();}module['exports']=run;function a47_0x2bb4(_0x48eac2,_0x1e8f42){const _0x4d9959=a47_0x4d99();return a47_0x2bb4=function(_0x2bb4b2,_0x208964){_0x2bb4b2=_0x2bb4b2-0x185;let _0x1cf505=_0x4d9959[_0x2bb4b2];return _0x1cf505;},a47_0x2bb4(_0x48eac2,_0x1e8f42);}function a47_0x4d99(){const _0x532171=['sTsye','debug','QqZKW','requirePWModule','qrFjc','SDK_SETUP','exitCode','push','10nmralp','measureWrapper','accessibility','trim','BROWSERSTACK_PW_TEST_ORDER','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','validateRerunTestList','writeFileSync','config','browserstackAutomation','SDK_POST_INITIALIZE','stringify','inherit','Jjrbx','../../helpers/performance/performance-tester','11830XktzCx','BrowserStack\x20config\x20file\x20not\x20found.','kJjPe','INTERNALLY_USED_ENV_VARS','PLAYWRIGHT','QkMJn','win32','assign','nWFag','Found:\x20','reportFinalDetectionState','util','accessibilityOptions','gfGii','DfZWK','eYqdN','xTrRC','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','BROWSERSTACK_TEST_OBSERVABILITY','../../helpers/logger','LSWYV','R_OK','readFileSync','concat','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','jfboX','../../helpers/test-observability/constants','isTypescriptProject','814420rmYFet','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','length','TBsYI','stop','Playwright\x20process\x20exited\x20with\x20code\x20','unlinkSync','skipSessionStatus','Error\x20in\x20deleting\x20playwright\x20results','RwUgX','qSVvw','Deleting\x20','20rwGrpR','KZthq','.browserstack','186873DsXTXE','QkKaC','reorderTestFiles','forEach','setupBrowserstackLocal','oZrKR','UOWis','YBugf','xqLQR','../../helpers/testhub/testhubHandler','mxdyl','KjeFm','cNYzk','playwright-browserstack-sdk.config.cjs','HbVJt','1658170KEMwXF','./accessibility-helper','env','path','splice','split','shutdown','BROWSERSTACK_TEST_ACCESSIBILITY_YML','iKHUb','isTrue','get','isUndefined','platform','oePWU','filter','end','logLevel','5052641qMCmeR','bFFNR','NlLxO','reportConflictingEnvVarIssue','BROWSERSTACK_RERUN','errorMessage','resolve','accessSync','yarn','child_process','ltNte','wQPez','MODULE','SDK_PRE_INITIALIZE','homedir','start','./reporter/test-details','bootstrap','356440tQjTWN','cwd','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20process.env.GLOBAL_AGENT_NO_PROXY=\x22','BROWSERSTACK_AUTOMATION','GiNTp','initialize','getProxyUrl','getPackageType','constants','iLfJE','BROWSERSTACK_PW_CONFIG_DIR','Error\x20in\x20closing\x20playwright','EVENTS','../../helpers/test-orchestration/testOrchestrationHandler','npx','true','--grep','close','playwright-browserstack-sdk.config.js','skipSessionName','isCLIEnabled','--disable-test-observability','HtseB','W_OK','rAQMu','filterBrowserstackArgs','findPlaywrightTestFiles','mjmvH','clearTempPWConfig','pw_result.json','JBpIw','KIQmR','../../helpers/test-observability/utils','--config=','map','findIndex','../../helpers/helper','../v2/TestInfo','BROWSERSTACK_FRAMEWORK','USER_CONFIG_DETAILS_PATH','FUjRD','winstonLogger','--config','BvgYA','6OrQDSe','wGnDa','startsWith','nestedKeyValue','rEvsc','launchBuild','browserstackSetupConfig.json','isFalse','./reporter/pwUtils','otqiB','slice','trace_','test','../../helpers/utilities','isRunning','serializeToYamlString','parse','isYarnPnP','BROWSERSTACK_RERUN_TESTS','../../helpers/BrowserStackSetup','--disable-browserstack-automation','join','Error\x20in\x20getting\x20funnel\x20data\x20results','finalExecution','NtODO','18WbEuPK','TMLYX','getInstance','testObservability','asFaI','BtFPe','HlsUf','BROWSERSTACK_SETUP_CONFIG_PATH','cliConfig','ByAge','existsSync','AlrdS','Reordered\x20Test\x20Files:\x20','dirname','101484JYtBpP','playwright','isTestOrchestrationEnabled','PzrBQ','qCmlr','vVccb','relative','OvZQz'];a47_0x4d99=function(){return _0x532171;};return a47_0x4d99();}
2
+ 'use strict';const a47_0x146a7f=a47_0x605c;(function(_0x4bb41a,_0x2a777e){const _0x3eda79=a47_0x605c,_0x1fbf51=_0x4bb41a();while(!![]){try{const _0x69467c=parseInt(_0x3eda79(0x261))/0x1*(parseInt(_0x3eda79(0x1e6))/0x2)+parseInt(_0x3eda79(0x226))/0x3+-parseInt(_0x3eda79(0x26f))/0x4*(parseInt(_0x3eda79(0x1ea))/0x5)+parseInt(_0x3eda79(0x27a))/0x6+-parseInt(_0x3eda79(0x267))/0x7*(-parseInt(_0x3eda79(0x216))/0x8)+-parseInt(_0x3eda79(0x287))/0x9*(-parseInt(_0x3eda79(0x27d))/0xa)+parseInt(_0x3eda79(0x21a))/0xb*(-parseInt(_0x3eda79(0x1dc))/0xc);if(_0x69467c===_0x2a777e)break;else _0x1fbf51['push'](_0x1fbf51['shift']());}catch(_0x520302){_0x1fbf51['push'](_0x1fbf51['shift']());}}}(a47_0x3cbb,0x959af));function a47_0x3cbb(){const _0x43b404=['BROWSERSTACK_FRAMEWORK','--grep','filter','UGuNN','splice','has','Deleting\x20','BROWSERSTACK_RERUN_TESTS','browserstackAutomation','end','testObservability','816GvVjrr','R_OK','JabNN','getProxyUrl','PLAYWRIGHT','Danpl','findIndex','cliConfig','insaU','VysqH','8958ttyWtF','isTrue','EnOfX','BROWSERSTACK_RERUN','5LWcSdK','startsWith','anuve','split','WYZlI','JsbzF','pUlEN','kEJAW','myRLc','concat','nnYHO','XUIBG','isTypescriptProject','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','skipSessionStatus','BROWSERSTACK_PW_CONFIG_DIR','Bntff','wnJLm','../../helpers/test-observability/utils','platform','BROWSERSTACK_TEST_ACCESSIBILITY_YML','playwright','homedir','indexOf','EvelV','../../helpers/accessibility-automation/helper','debug','--config=','.browserstack','push','trace_','clearTempPWConfig','stringify','Found:\x20','slice','RAbYE','testContextOptions','opJhF','finalExecution','Playwright\x20process\x20exited\x20with\x20code\x20','getPackageType','WBwAM','accessSync','playwright-browserstack-sdk.config.js','837536KjEZBQ','../../helpers/test-orchestration/testOrchestrationHandler','child_process','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','184899NJupcX','exitCode','yarn','util','errorMessage','XSCeO','validateRerunTestList','../utils/clientTroubleshootingService','vykkC','SNBwc','isTestOrchestrationEnabled','dirname','1425156YqJiwt','existsSync','Error\x20in\x20getting\x20funnel\x20data\x20results','VpRUW','isYarnPnP','reportConflictingEnvVarIssue','shutdown','exports','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','../../helpers/performance/performance-tester','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20process.env.GLOBAL_AGENT_NO_PROXY=\x22','../v2/TestInfo','readdirSync','error','resolvedConfigFile','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','findPlaywrightTestFiles','readFileSync','test','setupBrowserstackLocal','isCLIEnabled','initialize','aSSoI','bootstrap','ZeDny','SDK_POST_INITIALIZE','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','PPwin','IgRSY','browserstackSetupConfig.json','BROWSERSTACK_SETUP_CONFIG_PATH','./accessibility-helper','BROWSERSTACK_PW_TEST_ORDER','accessibility','reportFinalDetectionState','EVENTS','SSFYB','npx','join','filterBrowserstackArgs','serializeToYamlString','KofFD','winstonLogger','tcAHV','hmxhh','BrowserStack\x20config\x20file\x20not\x20found.','vzvdp','logLevel','skipSessionName','start','requireConfigLoaderYarnPnP','fPFur','rshiZ','slTOa','EJtsN','cyTjP','config','BROWSERSTACK_TEST_OBSERVABILITY','isFalse','233RppdUV','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','true','RUoFb','win32','../v2/browserstackCLI','14aSUStX','nThIn','RTgcE','info','fvzEi','../../helpers/performance/constants','resolve','getInstance','2520324oFiCwx','yLTkN','../../helpers/BrowserStackSetup','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','faVgb','constants','unlinkSync','getConfigPath','isRunning','inherit','diruH','2349816elcQhy','W_OK','uOvhS','9610XQyVrB','USER_CONFIG_DETAILS_PATH','YdWMg','--disable-test-observability','mfuxU','env','INTERNALLY_USED_ENV_VARS','Reordered\x20Test\x20Files:\x20','isUndefined','false','2493DXISyh','apply','../../helpers/test-observability/constants','Mulvv','SDK_CLEANUP','setBrowserstackConfig','length','BROWSERSTACK_AUTOMATION','--config','stop','measureWrapper','iwBYG','reportDotBrowserStackFolderNotAccessibleIssue','path','NYAvB','configPath','playwright-browserstack-sdk.config.cjs','arLtT','Error\x20in\x20deleting\x20playwright\x20results','cwd','./reporter/test-details','writeFileSync'];a47_0x3cbb=function(){return _0x43b404;};return a47_0x3cbb();}function a47_0x605c(_0x23d934,_0x569836){const _0x3cbb97=a47_0x3cbb();return a47_0x605c=function(_0x605cc8,_0x5f3a96){_0x605cc8=_0x605cc8-0x1c5;let _0x17d886=_0x3cbb97[_0x605cc8];return _0x17d886;},a47_0x605c(_0x23d934,_0x569836);}const fs=require('fs'),path=require(a47_0x146a7f(0x1c8)),{spawn}=require(a47_0x146a7f(0x218)),{format}=require(a47_0x146a7f(0x21d)),logger=require('../../helpers/logger')[a47_0x146a7f(0x250)],{default:BrowserStackSetup}=require(a47_0x146a7f(0x271)),helper=require('../../helpers/helper'),utilities=require('../../helpers/utilities'),constants=require('../utils/constants'),{FRAMEWORKS}=require(a47_0x146a7f(0x289)),{getConfigLoaderPath}=require('./reporter/pwUtils'),{checkAccessibilityPlatformConfig}=require(a47_0x146a7f(0x203)),{setAccessibilityCapabilities}=require(a47_0x146a7f(0x245)),{printBuildLink}=require(a47_0x146a7f(0x1fc)),TestDetails=require(a47_0x146a7f(0x1cf)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),PerformanceTester=require(a47_0x146a7f(0x22f)),TestOrchestrationHandler=require(a47_0x146a7f(0x217)),BrowserstackCLI=require(a47_0x146a7f(0x266)),PerformanceEvents=require(a47_0x146a7f(0x26c))[a47_0x146a7f(0x249)],CLIUtils=require('../v2/cliUtils'),TestInfo=require(a47_0x146a7f(0x231)),ClientTroubleShootingService=require(a47_0x146a7f(0x221)),getUserPlaywrightConfig=async(_0x48c7eb,_0x1b8559)=>{const _0x8f28c3=a47_0x146a7f,_0x4bb5b4={'UGuNN':function(_0x1c9a40){return _0x1c9a40();},'PisYR':function(_0x10d92c){return _0x10d92c();},'NYAvB':function(_0x52755e,_0x3a4726){return _0x52755e(_0x3a4726);},'diruH':function(_0x382ea1,_0x59081f){return _0x382ea1(_0x59081f);},'wAxlI':_0x8f28c3(0x234),'fPFur':'--config='},_0x47177c=!helper[_0x8f28c3(0x285)](_0x48c7eb[_0x8f28c3(0x25e)]),_0x125165=_0x47177c?path['resolve'](process[_0x8f28c3(0x1ce)](),_0x48c7eb[_0x8f28c3(0x25e)]):process[_0x8f28c3(0x1ce)](),{resolveConfigFile:_0x2f617b,resolveConfigLocation:_0x38650a}=helper['isYarnPnP']()?helper[_0x8f28c3(0x258)](..._0x4bb5b4[_0x8f28c3(0x1d4)](getConfigLoaderPath)):helper['requirePWModule'][_0x8f28c3(0x288)](null,_0x4bb5b4['PisYR'](getConfigLoaderPath)),_0x1b5cc7=_0x2f617b?_0x4bb5b4[_0x8f28c3(0x1c9)](_0x2f617b,_0x125165):helper['nestedKeyValue'](_0x4bb5b4[_0x8f28c3(0x279)](_0x38650a,_0x125165),[_0x4bb5b4['wAxlI']]),_0x38214b={};if(_0x47177c){const _0x3ade03=_0x1b8559[_0x8f28c3(0x1e2)](_0x762641=>_0x762641==='--config'||_0x762641==='-c'||_0x762641['startsWith'](_0x8f28c3(0x205)));_0x1b8559[_0x8f28c3(0x1d5)](_0x3ade03,_0x1b8559[_0x3ade03][_0x8f28c3(0x1eb)](_0x4bb5b4[_0x8f28c3(0x259)])?0x1:0x2);}const _0x2d66be={};return _0x2d66be[_0x8f28c3(0x1c8)]=_0x1b5cc7,_0x2d66be[_0x8f28c3(0x25e)]=_0x38214b,_0x2d66be;},handleO11yRerun=_0x56dac5=>{const _0x4c2e43=a47_0x146a7f,_0x1f8e56={};_0x1f8e56[_0x4c2e43(0x20f)]=_0x4c2e43(0x1d2);const _0x185241=_0x1f8e56,_0x5da866=helper[_0x4c2e43(0x1e7)](process[_0x4c2e43(0x282)][_0x4c2e43(0x1e9)]);if(_0x5da866){const _0x18e15f=process[_0x4c2e43(0x282)][_0x4c2e43(0x1d8)],_0x11506b=[];if(helper[_0x4c2e43(0x220)](_0x18e15f)&&!helper['isUndefined'](_0x18e15f)){_0x18e15f[_0x4c2e43(0x1ed)](',')['map'](_0x36a36e=>{const _0x27ec91=_0x4c2e43;_0x11506b[_0x27ec91(0x207)]('('+_0x36a36e['trim']()+')');});const _0xcfa4f1='^'+_0x11506b['join']('|')+'$';_0x56dac5[_0x4c2e43(0x207)](_0x185241['opJhF'],_0xcfa4f1);}}},spawnOriginalProcess=_0x488288=>{const _0x291223=a47_0x146a7f,_0x1479e5={'TAyIZ':function(_0x5f30b1,_0x491584,_0x4abc6e,_0x139a2f){return _0x5f30b1(_0x491584,_0x4abc6e,_0x139a2f);},'wnJLm':_0x291223(0x21c),'rshiZ':_0x291223(0x24b),'PbSIC':_0x291223(0x1ff),'cgFCr':function(_0x124204,_0x1a27de){return _0x124204===_0x1a27de;},'SSFYB':_0x291223(0x265),'WBwAM':_0x291223(0x278)};_0x1479e5['TAyIZ'](spawn,helper['isYarnPnP']()?_0x1479e5[_0x291223(0x1fb)]:_0x1479e5[_0x291223(0x25a)],[_0x1479e5['PbSIC'],..._0x488288[_0x291223(0x20c)](0x1)],{'shell':_0x1479e5['cgFCr'](process[_0x291223(0x1fd)],_0x1479e5[_0x291223(0x24a)]),'stdio':_0x1479e5[_0x291223(0x213)],'cwd':process[_0x291223(0x1ce)]()});},isTestCommand=(_0x117c7f,_0x4b1ed4)=>{const _0x5954c4=a47_0x146a7f,_0x1869f4={};_0x1869f4['insaU']=function(_0x2e628d,_0x42cc4c){return _0x2e628d>_0x42cc4c;},_0x1869f4[_0x5954c4(0x25c)]=function(_0x1f89f2,_0xcbc4c9){return _0x1f89f2===_0xcbc4c9;},_0x1869f4['WYZlI']=_0x5954c4(0x238);const _0x37a5bf=_0x1869f4;if(_0x37a5bf[_0x5954c4(0x1e4)](_0x4b1ed4[_0x5954c4(0x28d)],0x1)&&_0x37a5bf['EJtsN'](_0x4b1ed4[0x1],_0x37a5bf[_0x5954c4(0x1ee)]))return!![];return![];};async function run(_0xb673cf,_0x944982,_0x19ba38){const _0x44db0f=a47_0x146a7f,_0x3bb5d7={'vykkC':function(_0x5d8229,_0x3827e3){return _0x5d8229(_0x3827e3);},'JabNN':_0x44db0f(0x206),'tcAHV':'pw_result.json','hmxhh':function(_0x4ba40b,_0x2f8bb5){return _0x4ba40b+_0x2f8bb5;},'PPwin':_0x44db0f(0x228),'aSSoI':function(_0x5740ff){return _0x5740ff();},'MGicG':function(_0xc61447){return _0xc61447();},'Bntff':'Error\x20in\x20closing\x20playwright','vzvdp':_0x44db0f(0x253),'Danpl':function(_0xb4dc89,_0x1b124e){return _0xb4dc89<_0x1b124e;},'ZeDny':function(_0x8d9e83,_0x4783f4){return _0x8d9e83===_0x4783f4;},'faVgb':_0x44db0f(0x286),'anuve':_0x44db0f(0x280),'XSCeO':function(_0x31e8b6,_0x5b3de5){return _0x31e8b6>=_0x5b3de5;},'uOvhS':'automation','HGqnj':function(_0x1d8cde,_0x76241e){return _0x1d8cde!=_0x76241e;},'Mulvv':function(_0xc355b6,_0x7950a4,_0x37e960){return _0xc355b6(_0x7950a4,_0x37e960);},'myRLc':function(_0x343cdf,_0x23df08){return _0x343cdf(_0x23df08);},'XUIBG':function(_0x5cf9a1,_0x41c87b){return _0x5cf9a1===_0x41c87b;},'arLtT':_0x44db0f(0x263),'sHWYn':function(_0x5d55d0,_0x8fc543){return _0x5d55d0(_0x8fc543);},'EnOfX':function(_0x393d99,_0x336bb2){return _0x393d99(_0x336bb2);},'RTgcE':_0x44db0f(0x243),'kEJAW':function(_0xdc60a9,_0x320f65){return _0xdc60a9===_0x320f65;},'pUlEN':_0x44db0f(0x1cb),'JsbzF':_0x44db0f(0x215),'slTOa':function(_0x581db1,_0x1139e4){return _0x581db1-_0x1139e4;},'KofFD':function(_0x2f93be,_0x44f47b){return _0x2f93be+_0x44f47b;},'nnYHO':'Updated\x20config\x20file\x20name\x20to\x20-\x20','LivOM':function(_0x22dac8,_0x16bc08){return _0x22dac8>_0x16bc08;},'RAbYE':function(_0x1750e3,_0x121fdc){return _0x1750e3+_0x121fdc;},'wICEY':_0x44db0f(0x272),'cxOPd':function(_0x992091,_0x4823dc){return _0x992091>_0x4823dc;},'mfuxU':_0x44db0f(0x1ff),'cyTjP':function(_0x2ab2e9,_0x25ef0d,_0x37c353,_0x59bc5b){return _0x2ab2e9(_0x25ef0d,_0x37c353,_0x59bc5b);},'EvelV':_0x44db0f(0x21c),'RUoFb':_0x44db0f(0x24b),'VpRUW':_0x44db0f(0x238),'YdWMg':_0x44db0f(0x28f),'eHOBD':function(_0x200d40,_0xfb8f51){return _0x200d40===_0xfb8f51;},'fvzEi':_0x44db0f(0x265),'SNBwc':function(_0x403508,_0x452127){return _0x403508===_0x452127;},'KLkRn':_0x44db0f(0x278),'iwBYG':'close','ADaZD':function(_0x5e2835,_0x3bfa21){return _0x5e2835|_0x3bfa21;},'VysqH':_0x44db0f(0x219),'IgRSY':_0x44db0f(0x1cd),'nThIn':function(_0x3cf811,_0x191449,_0x4dd3eb){return _0x3cf811(_0x191449,_0x4dd3eb);}};try{const _0x1dfbc0=path[_0x44db0f(0x24c)](helper[_0x44db0f(0x200)](),_0x3bb5d7[_0x44db0f(0x1de)]);try{fs[_0x44db0f(0x214)](_0x1dfbc0,_0x3bb5d7['ADaZD'](fs[_0x44db0f(0x274)][_0x44db0f(0x1dd)],fs[_0x44db0f(0x274)][_0x44db0f(0x27b)]));}catch(_0xc0fd02){ClientTroubleShootingService[_0x44db0f(0x1c7)]();}}catch(_0x30a8d3){logger[_0x44db0f(0x204)](_0x3bb5d7['RAbYE'](_0x3bb5d7[_0x44db0f(0x1e5)],_0x30a8d3));}try{const _0x15979e=path[_0x44db0f(0x24c)](helper[_0x44db0f(0x200)](),_0x3bb5d7['JabNN'],_0x3bb5d7['tcAHV']);fs[_0x44db0f(0x227)](_0x15979e)&&fs[_0x44db0f(0x275)](_0x15979e);}catch(_0x3c1fba){logger[_0x44db0f(0x204)](_0x3bb5d7[_0x44db0f(0x20d)](_0x3bb5d7[_0x44db0f(0x242)],_0x3c1fba));}if(!_0x3bb5d7[_0x44db0f(0x268)](isTestCommand,_0xb673cf,_0x944982)){_0x3bb5d7[_0x44db0f(0x1e8)](spawnOriginalProcess,_0x944982);return;}await PerformanceTester[_0x44db0f(0x1c5)](PerformanceEvents['SDK_PRE_INITIALIZE'],async()=>{const _0x2db995=_0x44db0f;if(!_0x19ba38[_0x2db995(0x25e)]){logger[_0x2db995(0x233)](_0x3bb5d7[_0x2db995(0x254)]);return;}await _0x19ba38[_0x2db995(0x23b)](_0xb673cf),CLIUtils['setFrameworkDetail'](FRAMEWORKS['PLAYWRIGHT'],FRAMEWORKS[_0x2db995(0x1e0)]),BrowserstackCLI[_0x2db995(0x26e)]()[_0x2db995(0x28c)](_0x19ba38[_0x2db995(0x25e)],_0x19ba38[_0x2db995(0x1ca)],_0x19ba38['cliConfig']),await BrowserstackCLI[_0x2db995(0x26e)]()[_0x2db995(0x23d)]();!BrowserstackCLI[_0x2db995(0x26e)]()['isRunning']()&&await _0x19ba38[_0x2db995(0x239)]();for(var _0x3d6434=0x0;_0x3bb5d7[_0x2db995(0x1e1)](_0x3d6434,constants[_0x2db995(0x283)][_0x2db995(0x28d)]);_0x3d6434++){var _0x5d531f=constants[_0x2db995(0x283)][_0x3d6434];process['env'][_0x5d531f]&&await ClientTroubleShootingService[_0x2db995(0x22b)](_0x5d531f);}const _0x4786b=BrowserstackCLI[_0x2db995(0x26e)]()['getConfig']();!helper[_0x2db995(0x260)](_0x4786b[_0x2db995(0x1d9)])&&(process['env'][_0x2db995(0x28e)]=!![]);_0x3bb5d7[_0x2db995(0x23e)](_0x4786b[_0x2db995(0x1d9)],![])&&(process[_0x2db995(0x282)][_0x2db995(0x28e)]=_0x3bb5d7[_0x2db995(0x273)],_0x944982=_0x944982[_0x2db995(0x1d3)](_0x55deef=>_0x55deef!=='--disable-browserstack-automation'));const _0x17fe0e=_0x944982[_0x2db995(0x201)](_0x3bb5d7[_0x2db995(0x1ec)]);(_0x3bb5d7[_0x2db995(0x21f)](_0x17fe0e,0x0)||_0x3bb5d7[_0x2db995(0x23e)](_0x4786b[_0x2db995(0x1db)],![]))&&(process[_0x2db995(0x282)][_0x2db995(0x25f)]=_0x3bb5d7[_0x2db995(0x273)],_0x944982=_0x944982[_0x2db995(0x1d3)](_0x52f0e2=>_0x52f0e2!==_0x2db995(0x280)));!helper[_0x2db995(0x285)](_0x19ba38['cliConfig'])&&_0x19ba38['cliConfig'][_0x2db995(0x1d6)](_0x3bb5d7[_0x2db995(0x27c)])&&(process['env'][_0x2db995(0x28e)]=_0x19ba38[_0x2db995(0x1e3)]['get'](_0x3bb5d7[_0x2db995(0x27c)])||!![]);_0x3bb5d7['HGqnj'](_0x19ba38[_0x2db995(0x25e)][_0x2db995(0x1db)],null)&&!helper[_0x2db995(0x1e7)](process['env'][_0x2db995(0x25f)])&&(process[_0x2db995(0x282)]['BROWSERSTACK_TEST_OBSERVABILITY']=process[_0x2db995(0x282)][_0x2db995(0x25f)]||_0x19ba38[_0x2db995(0x25e)][_0x2db995(0x1db)]);const _0x50141c=!helper[_0x2db995(0x260)](process['env'][_0x2db995(0x25f)]);_0x19ba38['config']['accessibilityOptions']&&(process['env'][_0x2db995(0x240)]=JSON['stringify'](_0x19ba38[_0x2db995(0x25e)]['accessibilityOptions']));let _0x36a40e=![];_0x19ba38[_0x2db995(0x25e)][_0x2db995(0x247)]&&(_0x36a40e=!![],process[_0x2db995(0x282)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x19ba38[_0x2db995(0x25e)][_0x2db995(0x247)]);const _0x81ade9=_0x944982[_0x2db995(0x1f3)](),_0x13030f=await _0x3bb5d7[_0x2db995(0x28a)](getUserPlaywrightConfig,_0xb673cf,_0x944982);if(helper[_0x2db995(0x285)](_0x13030f)){_0x3bb5d7[_0x2db995(0x1f2)](spawnOriginalProcess,_0x81ade9);return;}const _0x13e6cd=_0x13030f['path']?path[_0x2db995(0x225)](_0x13030f[_0x2db995(0x1c8)]):process['cwd']();process[_0x2db995(0x282)][_0x2db995(0x1f9)]=_0x13e6cd,await PerformanceTester[_0x2db995(0x1c5)](PerformanceEvents[_0x2db995(0x23f)],async()=>{const _0x206d9d=_0x2db995;!BrowserstackCLI['getInstance']()[_0x206d9d(0x277)]()&&await TestHubHandler['launchBuild'](FRAMEWORKS[_0x206d9d(0x1e0)],_0x19ba38),_0x50141c&&_0x3bb5d7[_0x206d9d(0x222)](handleO11yRerun,_0x944982);})();if(!BrowserstackCLI[_0x2db995(0x26e)]()[_0x2db995(0x277)]()){let _0x6c23cc=_0x3bb5d7[_0x2db995(0x1f5)](process[_0x2db995(0x282)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x3bb5d7[_0x2db995(0x1cc)]);_0x6c23cc=_0x6c23cc||_0x3bb5d7['sHWYn'](checkAccessibilityPlatformConfig,_0x19ba38[_0x2db995(0x25e)]),process[_0x2db995(0x282)][_0x2db995(0x1fe)]=_0x6c23cc,_0x6c23cc&&_0x3bb5d7[_0x2db995(0x1e8)](setAccessibilityCapabilities,_0x19ba38['config']);}const _0x34f99b=path[_0x2db995(0x24c)](_0x13030f[_0x2db995(0x1c8)]?path['dirname'](_0x13030f[_0x2db995(0x1c8)]):process[_0x2db995(0x1ce)](),_0x3bb5d7[_0x2db995(0x269)]);fs[_0x2db995(0x1d0)](_0x34f99b,helper[_0x2db995(0x24e)](_0x19ba38[_0x2db995(0x25e)])),process['env'][_0x2db995(0x244)]=_0x34f99b,helper[_0x2db995(0x209)]();let _0x5536e4='';_0x3bb5d7[_0x2db995(0x1f1)](helper[_0x2db995(0x212)](),constants['PACKAGE_TYPE']['MODULE'])?_0x5536e4=_0x3bb5d7[_0x2db995(0x1f0)]:_0x5536e4=_0x3bb5d7[_0x2db995(0x1ef)];let _0x4d7b3c='';if(helper[_0x2db995(0x1f6)](_0x13030f[_0x2db995(0x1c8)])){_0x4d7b3c=_0x2db995(0x22e);const _0x31c41d=_0x5536e4[_0x2db995(0x1ed)]('.');_0x31c41d[_0x3bb5d7[_0x2db995(0x25b)](_0x31c41d[_0x2db995(0x28d)],0x1)]='ts',_0x5536e4=_0x31c41d[_0x2db995(0x24c)]('.'),logger['debug'](_0x3bb5d7[_0x2db995(0x24f)](_0x3bb5d7[_0x2db995(0x1f4)],_0x5536e4));}else _0x4d7b3c=_0x2db995(0x235);const _0x9ee935=path[_0x2db995(0x24c)](_0x13030f['path']?path[_0x2db995(0x225)](_0x13030f[_0x2db995(0x1c8)]):process[_0x2db995(0x1ce)](),_0x5536e4);let _0x4f7a31=_0x13030f[_0x2db995(0x1c8)]?_0x13030f[_0x2db995(0x1c8)]:'';_0x4f7a31=_0x3bb5d7['LivOM'](_0x4f7a31[_0x2db995(0x28d)],0x0)?path[_0x2db995(0x26d)](_0x4f7a31):'',process['env'][_0x2db995(0x27e)]=_0x4f7a31;const _0xd00831=helper[_0x2db995(0x1df)](_0x19ba38[_0x2db995(0x25e)]),_0x4cd6f1=helper['getNoProxy'](_0x19ba38[_0x2db995(0x25e)]);logger['debug']('Proxy\x20url\x20:\x20'+_0xd00831),logger[_0x2db995(0x204)]('No\x20Proxy\x20:\x20'+_0x4cd6f1);_0xd00831&&(_0x4d7b3c=_0x3bb5d7[_0x2db995(0x20d)](_0x2db995(0x262)+_0xd00831+_0x2db995(0x230)+_0x4cd6f1+_0x2db995(0x1f7),_0x4d7b3c));helper[_0x2db995(0x24d)]({},_0x944982),fs[_0x2db995(0x1d0)](_0x9ee935,_0x4d7b3c);let _0x1b29e5=[];const _0x4bfcf5=new TestOrchestrationHandler(_0x19ba38[_0x2db995(0x25e)]);if(_0x4bfcf5[_0x2db995(0x224)]()){logger['debug'](_0x3bb5d7['wICEY']);const _0x40b0b0=await _0x4bfcf5[_0x2db995(0x236)](_0x4f7a31,_0x944982[_0x2db995(0x20c)](0x2));logger[_0x2db995(0x204)](_0x2db995(0x20b)+JSON[_0x2db995(0x20a)](_0x40b0b0)+'\x20test\x20files\x20to\x20run.');const _0x2ff190=await _0x4bfcf5['reorderTestFiles'](_0x40b0b0);logger['debug'](_0x2db995(0x284)+JSON['stringify'](_0x2ff190)),_0x2ff190&&_0x3bb5d7['cxOPd'](_0x2ff190[_0x2db995(0x28d)],0x0)&&(process[_0x2db995(0x282)][_0x2db995(0x246)]=_0x2ff190[_0x2db995(0x24c)](','),_0x3bb5d7[_0x2db995(0x1e1)](_0x2ff190[_0x2db995(0x28d)],_0x40b0b0['length'])&&(_0x1b29e5=_0x2ff190['map'](_0x75ce0b=>path['relative'](process[_0x2db995(0x1ce)](),_0x75ce0b)[_0x2db995(0x1ed)](path['sep'])[_0x2db995(0x24c)]('/'))));}PerformanceTester[_0x2db995(0x1da)](PerformanceEvents['SDK_SETUP']),process[_0x2db995(0x282)][_0x2db995(0x1d1)]=process[_0x2db995(0x282)]['BROWSERSTACK_FRAMEWORK']||_0x3bb5d7[_0x2db995(0x281)];const _0x39fa7a=_0x3bb5d7[_0x2db995(0x25d)](spawn,helper[_0x2db995(0x22a)]()?_0x3bb5d7[_0x2db995(0x202)]:_0x3bb5d7[_0x2db995(0x264)],[_0x3bb5d7['mfuxU'],_0x3bb5d7[_0x2db995(0x229)],_0x3bb5d7[_0x2db995(0x27f)],_0x3bb5d7['eHOBD'](process[_0x2db995(0x1fd)],_0x3bb5d7[_0x2db995(0x26b)])?'\x22'+_0x9ee935+'\x22':_0x9ee935,..._0x944982[_0x2db995(0x20c)](0x2),..._0x1b29e5],{'shell':_0x3bb5d7[_0x2db995(0x223)](process[_0x2db995(0x1fd)],_0x3bb5d7[_0x2db995(0x26b)]),'stdio':_0x3bb5d7['KLkRn'],'cwd':process[_0x2db995(0x1ce)](),'env':Object['assign']({},process[_0x2db995(0x282)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x2db995(0x276)](_0xb673cf),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x19ba38['config'][_0x2db995(0x20e)][_0x2db995(0x1f8)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x19ba38[_0x2db995(0x25e)]['testContextOptions'][_0x2db995(0x256)],'BROWSERSTACK_LOG_LEVEL':_0x19ba38[_0x2db995(0x25e)][_0x2db995(0x255)]})}),_0x288e2f=()=>{const _0x275d95=_0x2db995;try{const _0x136ae2=path[_0x275d95(0x24c)](helper['homedir'](),_0x3bb5d7[_0x275d95(0x1de)],_0x3bb5d7[_0x275d95(0x251)]);if(fs[_0x275d95(0x227)](_0x136ae2)){let _0x32d9ed=fs[_0x275d95(0x237)](_0x136ae2);_0x32d9ed=JSON['parse'](_0x32d9ed),_0x19ba38[_0x275d95(0x21e)]=_0x32d9ed,fs[_0x275d95(0x275)](_0x136ae2);}}catch(_0x2ef66f){logger[_0x275d95(0x204)](_0x3bb5d7['hmxhh'](_0x3bb5d7[_0x275d95(0x241)],_0x2ef66f));}};_0x39fa7a['on'](_0x3bb5d7[_0x2db995(0x1c6)],async _0x63d56f=>{const _0xbc6fac=_0x2db995,_0x3b6dbd={};_0x3b6dbd[_0xbc6fac(0x270)]=_0x3bb5d7[_0xbc6fac(0x1de)];const _0x2c34e5=_0x3b6dbd;try{PerformanceTester[_0xbc6fac(0x257)](PerformanceEvents[_0xbc6fac(0x28b)]),_0x3bb5d7[_0xbc6fac(0x23c)](_0x288e2f),await TestHubHandler[_0xbc6fac(0x290)](),await ClientTroubleShootingService[_0xbc6fac(0x248)]();const _0x5e913d=BrowserstackCLI[_0xbc6fac(0x23a)]();await BrowserstackCLI[_0xbc6fac(0x26e)]()[_0xbc6fac(0x290)](),TestDetails[_0xbc6fac(0x22c)](),_0x3bb5d7['MGicG'](printBuildLink),await utilities[_0xbc6fac(0x210)](_0x19ba38,_0x5e913d),process[_0xbc6fac(0x21b)]=_0x63d56f,logger[_0xbc6fac(0x204)](_0xbc6fac(0x211)+_0x63d56f),logger[_0xbc6fac(0x26a)](_0xbc6fac(0x1d7)+_0x9ee935),fs[_0xbc6fac(0x275)](_0x9ee935);fs[_0xbc6fac(0x227)](_0x34f99b)&&(logger[_0xbc6fac(0x204)]('Deleting\x20'+_0x34f99b),fs['unlinkSync'](_0x34f99b));const _0x26dcf8=fs[_0xbc6fac(0x232)](path['join'](helper[_0xbc6fac(0x200)](),_0x3bb5d7[_0xbc6fac(0x1de)]))[_0xbc6fac(0x1d3)](_0x267e9b=>_0x267e9b[_0xbc6fac(0x1eb)](_0xbc6fac(0x208)));_0x26dcf8['forEach'](_0x570fd7=>{const _0x156ccb=_0xbc6fac;fs['unlinkSync'](path[_0x156ccb(0x24c)](helper[_0x156ccb(0x200)](),_0x2c34e5[_0x156ccb(0x270)],_0x570fd7));});}catch(_0xf91c27){logger[_0xbc6fac(0x204)](_0x3bb5d7[_0xbc6fac(0x252)](_0x3bb5d7[_0xbc6fac(0x1fa)],_0xf91c27));}});})();}module[a47_0x146a7f(0x22d)]=run;
@@ -1 +1 @@
1
- const a48_0x2ce56e=a48_0x3590;(function(_0x51334e,_0x144683){const _0x3343bc=a48_0x3590,_0x4b450c=_0x51334e();while(!![]){try{const _0x25cee6=-parseInt(_0x3343bc(0xa7))/0x1+parseInt(_0x3343bc(0x9f))/0x2+-parseInt(_0x3343bc(0x90))/0x3+-parseInt(_0x3343bc(0x97))/0x4+-parseInt(_0x3343bc(0xa9))/0x5+-parseInt(_0x3343bc(0x95))/0x6*(-parseInt(_0x3343bc(0x98))/0x7)+-parseInt(_0x3343bc(0x80))/0x8*(-parseInt(_0x3343bc(0x94))/0x9);if(_0x25cee6===_0x144683)break;else _0x4b450c['push'](_0x4b450c['shift']());}catch(_0x16c40d){_0x4b450c['push'](_0x4b450c['shift']());}}}(a48_0xf959,0x21f13));const util=require(a48_0x2ce56e(0x76)),child_process=require('child_process'),{FRAMEWORKS}=require(a48_0x2ce56e(0x78)),{getFrameworkVersion,debug}=require(a48_0x2ce56e(0x9e)),helper=require('../../helpers/helper'),{getForkProcessPath}=require(a48_0x2ce56e(0x7a)),{mockIsWorkerRedundant}=require(a48_0x2ce56e(0x92)),logger=require(a48_0x2ce56e(0x9c))[a48_0x2ce56e(0xa5)];function a48_0x3590(_0x5a7b5e,_0x290fcc){const _0xf9594f=a48_0xf959();return a48_0x3590=function(_0x35901a,_0x159ccb){_0x35901a=_0x35901a-0x74;let _0x16b3db=_0xf9594f[_0x35901a];return _0x16b3db;},a48_0x3590(_0x5a7b5e,_0x290fcc);}try{require('../../helpers/driverInitErrorReporter')['installAll'](a48_0x2ce56e(0x7d));}catch(a48_0x21cad1){logger[a48_0x2ce56e(0x9d)](a48_0x2ce56e(0x8e)+(a48_0x21cad1&&a48_0x21cad1[a48_0x2ce56e(0x87)]));}module[a48_0x2ce56e(0x86)]=async function(_0x52855d){const _0x22688b=a48_0x2ce56e,_0xdb1e8a={'UegFe':function(_0x3ea8a4,_0xc870ed){return _0x3ea8a4(_0xc870ed);},'dnVxV':function(_0x20231d){return _0x20231d();},'BlcwP':_0x22688b(0x8d),'aLCDq':function(_0x410c18){return _0x410c18();},'lWggF':function(_0x35a4e3){return _0x35a4e3();},'JUKAU':function(_0x7efaeb,_0x30a133){return _0x7efaeb(_0x30a133);},'NotVZ':'Running\x20existing\x20global\x20setup','lvJEu':function(_0x841295,_0x50632d){return _0x841295!==_0x50632d;},'YCGYl':_0x22688b(0xa6),'ujfkZ':_0x22688b(0x88),'thKRK':function(_0x137ea4,_0x45df93){return _0x137ea4>=_0x45df93;},'WJatM':_0x22688b(0xa0),'JnRjx':function(_0x4034bb,_0x41e852,_0x35fcfa){return _0x4034bb(_0x41e852,_0x35fcfa);},'natKG':function(_0x1d8d89,_0x792dd5){return _0x1d8d89!==_0x792dd5;},'OjhTU':_0x22688b(0x93)},_0x53cbb4=child_process[_0x22688b(0xaa)];if(helper[_0x22688b(0x7c)]())try{_0xdb1e8a[_0x22688b(0x79)](mockIsWorkerRedundant);}catch(_0x4ed0c9){logger[_0x22688b(0x9d)](_0x22688b(0x99)+util[_0x22688b(0x7b)](_0x4ed0c9));}child_process[_0x22688b(0xaa)]=function(){const _0x3cd1da=_0x22688b;return _0xdb1e8a[_0x3cd1da(0xa8)](debug,_0x3cd1da(0x77)+arguments[0x0]),arguments[0x0][_0x3cd1da(0xa4)](_0xdb1e8a[_0x3cd1da(0x8f)](getForkProcessPath))?arguments[0x0]=require[_0x3cd1da(0xa2)](_0xdb1e8a['BlcwP']):logger[_0x3cd1da(0xa3)]('Path\x20'+_0xdb1e8a[_0x3cd1da(0x96)](getForkProcessPath)+'\x20is\x20not\x20found'),_0x53cbb4['apply'](null,arguments);};if(process['env']['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']){_0xdb1e8a['JUKAU'](debug,_0xdb1e8a[_0x22688b(0x84)]);try{const _0x2926a0=helper[_0x22688b(0x8b)]();if(_0xdb1e8a[_0x22688b(0x89)](typeof _0x2926a0,_0xdb1e8a[_0x22688b(0x8a)]))throw new Error(_0xdb1e8a[_0x22688b(0x85)]);const _0x2351e7=_0xdb1e8a[_0x22688b(0xa8)](getFrameworkVersion,FRAMEWORKS[_0x22688b(0x75)]);let _0x13d406=_0x52855d;if(_0xdb1e8a[_0x22688b(0x91)](helper[_0x22688b(0x82)](_0x2351e7,_0xdb1e8a[_0x22688b(0x7f)]),0x0)){const _0x4538a8={};_0x4538a8[_0x22688b(0x81)]=_0x52855d,_0x13d406=_0x4538a8;}const _0x3bdd13=await _0xdb1e8a[_0x22688b(0x9a)](_0x2926a0,_0x13d406,process[_0x22688b(0xa1)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']);if(_0xdb1e8a[_0x22688b(0x9b)](typeof _0x3bdd13,_0xdb1e8a[_0x22688b(0x8a)]))throw new Error(_0xdb1e8a[_0x22688b(0x74)]);return _0x3bdd13['apply'](null,arguments);}catch(_0x375583){_0xdb1e8a[_0x22688b(0x83)](debug,_0x22688b(0x8c)+_0x375583[_0x22688b(0x7e)]());}}};function a48_0xf959(){const _0x52a409=['driver-init\x20capture\x20install\x20failed:\x20','dnVxV','182655XibHdP','thKRK','./patches','Not\x20able\x20to\x20import\x20globalSetup','18279jdZlUN','36MigaLD','aLCDq','981880shiRlr','276787McEQru','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','JnRjx','natKG','../../helpers/logger','debug','../../helpers/test-observability/utils','366366akVWGs','1.33.0','env','resolve','error','includes','winstonLogger','function','4763nXFsga','UegFe','105295nHHxbC','fork','OjhTU','PLAYWRIGHT','util','Call\x20to\x20child\x20fork\x20with\x20args\x20','../../helpers/test-observability/constants','lWggF','./reporter/pwUtils','format','isHandlePWErrorSet','playwright','toString','WJatM','200veOlmT','config','compareVersions','JUKAU','NotVZ','ujfkZ','exports','message','Not\x20able\x20to\x20resolve\x20loadGlobalHook\x20for\x20current\x20Playwright\x20version','lvJEu','YCGYl','resolveLoadGlobalHook','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','./mock-process.js'];a48_0xf959=function(){return _0x52a409;};return a48_0xf959();}
1
+ const a48_0x517e84=a48_0x16fc;(function(_0x503bea,_0x2ebd89){const _0x52a00b=a48_0x16fc,_0x52c483=_0x503bea();while(!![]){try{const _0x9fa51e=-parseInt(_0x52a00b(0x1a0))/0x1*(parseInt(_0x52a00b(0x1b3))/0x2)+-parseInt(_0x52a00b(0x1ba))/0x3*(-parseInt(_0x52a00b(0x1ab))/0x4)+parseInt(_0x52a00b(0x1ad))/0x5*(parseInt(_0x52a00b(0x1b5))/0x6)+parseInt(_0x52a00b(0x1ae))/0x7*(-parseInt(_0x52a00b(0x1be))/0x8)+-parseInt(_0x52a00b(0x1a2))/0x9*(-parseInt(_0x52a00b(0x1b2))/0xa)+-parseInt(_0x52a00b(0x1cb))/0xb+parseInt(_0x52a00b(0x1d0))/0xc*(parseInt(_0x52a00b(0x1bd))/0xd);if(_0x9fa51e===_0x2ebd89)break;else _0x52c483['push'](_0x52c483['shift']());}catch(_0xc25a7e){_0x52c483['push'](_0x52c483['shift']());}}}(a48_0x34c1,0x60ea5));function a48_0x34c1(){const _0x3e4121=['Running\x20existing\x20global\x20setup','toString','isHandlePWErrorSet','message','fork','JKpvd','5035349SZqMnm','JrWqn','MntVe','compareVersions','child_process','180vjVhRJ','../../helpers/driverInitErrorReporter','OLdvi','1.33.0','winstonLogger','util','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','uEvQr','115849ywDHAL','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','3278403NGMNyB','env','SKvue','Path\x20','exports','elegG','PwqfJ','Not\x20able\x20to\x20import\x20globalSetup','Not\x20able\x20to\x20resolve\x20loadGlobalHook\x20for\x20current\x20Playwright\x20version','420JvvSBN','Call\x20to\x20child\x20fork\x20with\x20args\x20','5aZRfjQ','2200513qFRTuM','config','apply','function','10jFnCEz','4ULrzmT','installAll','3565614iaYNGG','CyyPx','txkgI','./patches','resolveLoadGlobalHook','10362QlopbA','format','./reporter/pwUtils','68965fpucPg','8ClfkaL','../../helpers/test-observability/constants','debug','driver-init\x20capture\x20install\x20failed:\x20','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','\x20is\x20not\x20found','../../helpers/test-observability/utils'];a48_0x34c1=function(){return _0x3e4121;};return a48_0x34c1();}const util=require(a48_0x517e84(0x19d)),child_process=require(a48_0x517e84(0x1cf)),{FRAMEWORKS}=require(a48_0x517e84(0x1bf)),{getFrameworkVersion,debug}=require(a48_0x517e84(0x1c4)),helper=require('../../helpers/helper'),{getForkProcessPath}=require(a48_0x517e84(0x1bc)),{mockIsWorkerRedundant}=require(a48_0x517e84(0x1b8)),logger=require('../../helpers/logger')[a48_0x517e84(0x19c)];function a48_0x16fc(_0x278757,_0x313afa){const _0x34c18e=a48_0x34c1();return a48_0x16fc=function(_0x16fccc,_0xa0dec4){_0x16fccc=_0x16fccc-0x19c;let _0xc6f76f=_0x34c18e[_0x16fccc];return _0xc6f76f;},a48_0x16fc(_0x278757,_0x313afa);}try{require(a48_0x517e84(0x1d1))[a48_0x517e84(0x1b4)]('playwright');}catch(a48_0x3fdbbc){logger['debug'](a48_0x517e84(0x1c1)+(a48_0x3fdbbc&&a48_0x3fdbbc[a48_0x517e84(0x1c8)]));}module[a48_0x517e84(0x1a6)]=async function(_0x477cf6){const _0x4a9a0f=a48_0x517e84,_0x56fa71={'PwqfJ':function(_0x45ef9b,_0xd1707b){return _0x45ef9b(_0xd1707b);},'JrWqn':function(_0x4afab2){return _0x4afab2();},'CyyPx':'./mock-process.js','SKvue':_0x4a9a0f(0x1c5),'SeEBM':function(_0x283e48,_0x1a35ca){return _0x283e48!==_0x1a35ca;},'MntVe':_0x4a9a0f(0x1b1),'rwxWj':_0x4a9a0f(0x1aa),'uEvQr':function(_0x1c9306,_0x193d3c){return _0x1c9306>=_0x193d3c;},'OLdvi':_0x4a9a0f(0x1d3),'JKpvd':function(_0x193b68,_0x2e411e,_0x42f901){return _0x193b68(_0x2e411e,_0x42f901);},'wHuhB':function(_0x5c410c,_0x1da797){return _0x5c410c!==_0x1da797;},'elegG':_0x4a9a0f(0x1a9),'txkgI':function(_0x5dc695,_0xb5881){return _0x5dc695(_0xb5881);}},_0x4ec273=child_process[_0x4a9a0f(0x1c9)];if(helper[_0x4a9a0f(0x1c7)]())try{_0x56fa71['JrWqn'](mockIsWorkerRedundant);}catch(_0xbd3212){logger[_0x4a9a0f(0x1c0)](_0x4a9a0f(0x1a1)+util[_0x4a9a0f(0x1bb)](_0xbd3212));}child_process['fork']=function(){const _0x14b461=_0x4a9a0f;return _0x56fa71['PwqfJ'](debug,_0x14b461(0x1ac)+arguments[0x0]),arguments[0x0]['includes'](_0x56fa71[_0x14b461(0x1cc)](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x56fa71[_0x14b461(0x1b6)]):logger['error'](_0x14b461(0x1a5)+_0x56fa71[_0x14b461(0x1cc)](getForkProcessPath)+_0x14b461(0x1c3)),_0x4ec273['apply'](null,arguments);};if(process[_0x4a9a0f(0x1a3)][_0x4a9a0f(0x1c2)]){_0x56fa71[_0x4a9a0f(0x1a8)](debug,_0x56fa71[_0x4a9a0f(0x1a4)]);try{const _0x4c825b=helper[_0x4a9a0f(0x1b9)]();if(_0x56fa71['SeEBM'](typeof _0x4c825b,_0x56fa71['MntVe']))throw new Error(_0x56fa71['rwxWj']);const _0x2f6e0b=_0x56fa71[_0x4a9a0f(0x1a8)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);let _0x314c74=_0x477cf6;if(_0x56fa71[_0x4a9a0f(0x19f)](helper[_0x4a9a0f(0x1ce)](_0x2f6e0b,_0x56fa71[_0x4a9a0f(0x1d2)]),0x0)){const _0x3b3b53={};_0x3b3b53[_0x4a9a0f(0x1af)]=_0x477cf6,_0x314c74=_0x3b3b53;}const _0x9abcf4=await _0x56fa71[_0x4a9a0f(0x1ca)](_0x4c825b,_0x314c74,process[_0x4a9a0f(0x1a3)][_0x4a9a0f(0x1c2)]);if(_0x56fa71['wHuhB'](typeof _0x9abcf4,_0x56fa71[_0x4a9a0f(0x1cd)]))throw new Error(_0x56fa71[_0x4a9a0f(0x1a7)]);return _0x9abcf4[_0x4a9a0f(0x1b0)](null,arguments);}catch(_0x4869a4){_0x56fa71[_0x4a9a0f(0x1b7)](debug,_0x4a9a0f(0x19e)+_0x4869a4[_0x4a9a0f(0x1c6)]());}}};