browserstack-node-sdk 1.42.2 → 1.42.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (176) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/cucumber-sessionDetails.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  50. package/src/bin/cucumber-js/playwright-patcher.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/jest/command.js +1 -1
  58. package/src/bin/jest/customImplements/customCircus.js +1 -1
  59. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  60. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  61. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  62. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  63. package/src/bin/jest/jest.setup.js +1 -1
  64. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  65. package/src/bin/jest/test-observability/helper.js +1 -1
  66. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  67. package/src/bin/jest/test-observability/test-details.js +1 -1
  68. package/src/bin/jest/test_before.setup.js +1 -1
  69. package/src/bin/launcher/launcher.js +1 -1
  70. package/src/bin/load/index.js +1 -1
  71. package/src/bin/load/loadUtils.js +1 -1
  72. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  73. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  74. package/src/bin/mocha/command.js +1 -1
  75. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  76. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  77. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  78. package/src/bin/mocha/test.setup.js +1 -1
  79. package/src/bin/nightwatch/command.js +1 -1
  80. package/src/bin/playwright/accessibility-helper.js +1 -1
  81. package/src/bin/playwright/command.js +1 -1
  82. package/src/bin/playwright/globalSetup.js +1 -1
  83. package/src/bin/playwright/mock-process.js +1 -1
  84. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  85. package/src/bin/playwright/patches.js +1 -1
  86. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  87. package/src/bin/playwright/reporter/reporter.js +1 -1
  88. package/src/bin/playwright/reporter/test-details.js +1 -1
  89. package/src/bin/playwright/sessionDetails.js +1 -1
  90. package/src/bin/runner.js +1 -1
  91. package/src/bin/setup.js +1 -1
  92. package/src/bin/test-runner/index.js +1 -1
  93. package/src/bin/test-runner/runTest.js +1 -1
  94. package/src/bin/test-runner/testWorker.js +1 -1
  95. package/src/bin/utils/constants.js +1 -1
  96. package/src/bin/utils/log4jsAppender.js +1 -1
  97. package/src/bin/utils/logPatcher.js +1 -1
  98. package/src/bin/utils/logReportingAPI.js +1 -1
  99. package/src/bin/v2/TestInfo.js +1 -1
  100. package/src/bin/v2/browserstackCLI.js +1 -1
  101. package/src/bin/v2/cliUtils.js +1 -1
  102. package/src/bin/v2/customTagManager.js +1 -1
  103. package/src/bin/v2/eventDispatcher.js +1 -1
  104. package/src/bin/v2/framework/automationFramework.js +1 -1
  105. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  106. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  107. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  108. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  109. package/src/bin/v2/framework/testFramework.js +1 -1
  110. package/src/bin/v2/grpcClient.js +1 -1
  111. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  112. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  113. package/src/bin/v2/instances/trackedContext.js +1 -1
  114. package/src/bin/v2/instances/trackedInstance.js +1 -1
  115. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  116. package/src/bin/v2/modules/baseModule.js +1 -1
  117. package/src/bin/v2/modules/observabilityModule.js +1 -1
  118. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  119. package/src/bin/v2/modules/testhubModule.js +1 -1
  120. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  121. package/src/bin/v2/state/hookState.js +1 -1
  122. package/src/bin/v2/state/testFrameworkState.js +1 -1
  123. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  124. package/src/bin/vanilla-js/command.js +1 -1
  125. package/src/browserStackSdk.js +1 -1
  126. package/src/helpers/BrowserStackSetup.js +1 -1
  127. package/src/helpers/accessibility-automation/constants.js +1 -1
  128. package/src/helpers/accessibility-automation/helper.js +1 -1
  129. package/src/helpers/accessibility-automation/scripts.js +1 -1
  130. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  131. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  132. package/src/helpers/ats/constants.js +1 -1
  133. package/src/helpers/ats/helper.js +1 -1
  134. package/src/helpers/capsMapping.js +1 -1
  135. package/src/helpers/central-scanner/constants.js +1 -1
  136. package/src/helpers/central-scanner/helpers.js +1 -1
  137. package/src/helpers/classLogger.js +1 -1
  138. package/src/helpers/globals.js +1 -1
  139. package/src/helpers/helper.js +1 -1
  140. package/src/helpers/logger.js +1 -1
  141. package/src/helpers/metadata.js +1 -1
  142. package/src/helpers/patchHelper.js +1 -1
  143. package/src/helpers/patchHelpers.js +1 -1
  144. package/src/helpers/percy/Percy.js +1 -1
  145. package/src/helpers/percy/PercyBinary.js +1 -1
  146. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  147. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  148. package/src/helpers/percy/PercySDK.js +1 -1
  149. package/src/helpers/percy/index.js +1 -1
  150. package/src/helpers/percy/utils.js +1 -1
  151. package/src/helpers/performance/constants.js +1 -1
  152. package/src/helpers/performance/performance-tester.js +1 -1
  153. package/src/helpers/playwright-helper.js +1 -1
  154. package/src/helpers/processHelper.js +1 -1
  155. package/src/helpers/request-spy.js +1 -1
  156. package/src/helpers/setKeepAlive.js +1 -1
  157. package/src/helpers/test-observability/constants.js +1 -1
  158. package/src/helpers/test-observability/error-handler.js +1 -1
  159. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  160. package/src/helpers/test-observability/sessionHandler.js +1 -1
  161. package/src/helpers/test-observability/utils.js +1 -1
  162. package/src/helpers/test-orchestration/constants.js +1 -1
  163. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  164. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  165. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  166. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  167. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  168. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  169. package/src/helpers/testhub/constants.js +1 -1
  170. package/src/helpers/testhub/testhubHandler.js +1 -1
  171. package/src/helpers/testhub/utils.js +1 -1
  172. package/src/helpers/timeoutPromise.js +1 -1
  173. package/src/helpers/utilities.js +1 -1
  174. package/src/helpers/w3cMapping.js +1 -1
  175. package/src/hubAllocationMethods.js +1 -1
  176. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a34_0x52d4(_0x593487,_0x186298){const _0x15edd3=a34_0x15ed();return a34_0x52d4=function(_0x52d489,_0x52d617){_0x52d489=_0x52d489-0x111;let _0x3e7f0a=_0x15edd3[_0x52d489];return _0x3e7f0a;},a34_0x52d4(_0x593487,_0x186298);}function a34_0x15ed(){const _0xffb7f7=['7NqLbEW','setCapabilities','FpuLj','updateHubUrl','5QqtdBQ','771471MwRQUQ','Modifying\x20webdriver\x20builder','getRequestOptions','getAccessibilityResultsSummary','setLogLevel','../../../helpers/helper','NVAFn','pPMhj','forEach','get','../../../hubAllocationMethods','Setting\x20Browserstack\x20capabilities','object','isUndefined','jKlTz','https://','/session','wodjn','CansP','setServer','ZDwnk','HttpClient','moz:firefoxOptions','UCWdl','browserstackAgentObservability','getHubUrl','ONRyO','cCQNN','send','New\x20hub\x20url\x20set\x20to\x20','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','originalBuilder','__setBrowserOptions','tJhkz','push','__driver','capability','safari.options','chromeOptions','__drivers','set','safariOptions_','getGlobal','agent_','dIdVg','url_','../../../helpers/patchHelpers','getHttpAgent','movxo','caps_','newHubUrl','ieOptions','605zPKcQA','__driversArray','firefoxOptions','EPlol','iTNme','logLevel','edgeOptions_','xfVfc','exports','overrideGet','error','fWFTE','proxySettings','capabilities_','77070NmYCBL','path','mergeDeep','browserStackLogLevel','proxyUrl','Builder','ieOptions_','../../../helpers/logger','goog:chromeOptions','492slsJgy','/wd/hub','CAPABILITY_KEY','isPacProxy','Proxy\x20set\x20to\x20','urHBr','KZBpq','Hub\x20url\x20set\x20to\x20','hVpmE','ILoxf','requireHttpClient','keys','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','quitCount_','yOfJJ','../accessibility-automation/helper','then','global','proxy_','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','wexDr','../../../helpers/accessibility-automation/helper','isBrowserstackInfra','debug','788826REkLWU','1111716gFvvmH','xDHFq','850744SMcSAE','chromeOptions_','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','se:ieOptions','2995OzvvqE','kyWGx','DSuyc','storeOptimalHubUrl','split','ZwFTa','build','Qawyu','firefoxOptions_','edgeOptions','55530xXHAla','getAccessibilityResults','setGlobal','qdhRT','info'];a34_0x15ed=function(){return _0xffb7f7;};return a34_0x15ed();}const a34_0x27d948=a34_0x52d4;(function(_0x4ba155,_0x4a38ab){const _0x5855bb=a34_0x52d4,_0x123e47=_0x4ba155();while(!![]){try{const _0x5e970e=-parseInt(_0x5855bb(0x164))/0x1*(parseInt(_0x5855bb(0x129))/0x2)+parseInt(_0x5855bb(0x165))/0x3+-parseInt(_0x5855bb(0x132))/0x4*(parseInt(_0x5855bb(0x151))/0x5)+-parseInt(_0x5855bb(0x14a))/0x6+-parseInt(_0x5855bb(0x160))/0x7*(-parseInt(_0x5855bb(0x14d))/0x8)+-parseInt(_0x5855bb(0x14b))/0x9+parseInt(_0x5855bb(0x15b))/0xa*(parseInt(_0x5855bb(0x11b))/0xb);if(_0x5e970e===_0x4a38ab)break;else _0x123e47['push'](_0x123e47['shift']());}catch(_0x2ef307){_0x123e47['push'](_0x123e47['shift']());}}}(a34_0x15ed,0x24070));const logger=require(a34_0x27d948(0x130))['winstonLogger'],helper=require(a34_0x27d948(0x16a)),constants=require('../../../bin/utils/constants'),hubAllocator=require(a34_0x27d948(0x16f)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a34_0x27d948(0x115)),{setAccessibilityCapabilities,setExtension}=require(a34_0x27d948(0x141)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a34_0x27d948(0x147)),globals=require('../../../helpers/globals'),{overrideExecute}=require('./helpers/patchHelper'),modify=(_0x1afaa4,_0x5b73ce=null,_0x5842b2=![])=>{const _0x257c6c=a34_0x27d948,_0x3b953d={'ILoxf':function(_0x4cada8,_0x5801f6){return _0x4cada8!==_0x5801f6;},'DSuyc':_0x257c6c(0x175),'xfVfc':function(_0x4475d1,_0x355b76){return _0x4475d1+_0x355b76;},'tJhkz':_0x257c6c(0x174),'xDHFq':_0x257c6c(0x133),'wexDr':_0x257c6c(0x131),'Qawyu':_0x257c6c(0x18b),'FpuLj':'ms:edgeOptions','iTNme':_0x257c6c(0x15a),'EdZCr':_0x257c6c(0x17b),'qdhRT':_0x257c6c(0x11d),'ViMOf':_0x257c6c(0x18a),'oVOYr':_0x257c6c(0x150),'cCQNN':_0x257c6c(0x11a),'TQqVQ':function(_0x3de724,_0x25b2ab){return _0x3de724===_0x25b2ab;},'CansP':_0x257c6c(0x171),'yOfJJ':_0x257c6c(0x170),'ZwFTa':'optimalHubUrl','pPMhj':_0x257c6c(0x183),'epyOm':function(_0x5142d7,_0x3312f3,_0x171984){return _0x5142d7(_0x3312f3,_0x171984);},'urHBr':function(_0x16ad81,_0xa549db,_0x20bbdb){return _0x16ad81(_0xa549db,_0x20bbdb);},'TqMSR':function(_0x220923,_0x4c16b8){return _0x220923(_0x4c16b8);},'mBPOQ':function(_0x3bcc5d,_0x240ce3,_0x258572){return _0x3bcc5d(_0x240ce3,_0x258572);},'RLXYL':'4|5|0|1|2|3','hVpmE':'isAccessibilityPlatform','KZBpq':function(_0x128f06,_0x32e6c8,_0x94420b){return _0x128f06(_0x32e6c8,_0x94420b);},'fWFTE':_0x257c6c(0x14f),'jKlTz':function(_0x4fba96){return _0x4fba96();},'ZDwnk':function(_0x5982d1,_0x4493ba,_0xb8ca21){return _0x5982d1(_0x4493ba,_0xb8ca21);},'sMYxQ':function(_0x3500f5,_0x25bcb6){return _0x3500f5!==_0x25bcb6;},'kyWGx':function(_0x5194b2,_0x8cc53b){return _0x5194b2!==_0x8cc53b;},'EPlol':_0x257c6c(0x145),'movxo':_0x257c6c(0x166)},_0x2b31ca=helper[_0x257c6c(0x13c)]();let _0x2ba40c;try{_0x2ba40c=helper['requireSeleniumWebdriver'](),_0x2ba40c[_0x257c6c(0x184)]&&(_0x2ba40c['Builder']=_0x2ba40c[_0x257c6c(0x184)]);}catch(_0xd13bd5){return;}if(helper[_0x257c6c(0x148)]()){const _0x5b6373={};_0x5b6373[_0x257c6c(0x120)]=_0x1afaa4[_0x257c6c(0x12c)],helper[_0x257c6c(0x169)](_0x5b6373,new Map(),new Map()),logger[_0x257c6c(0x15f)](_0x3b953d[_0x257c6c(0x11e)]),logger['debug'](_0x3b953d[_0x257c6c(0x117)]);}class _0x4f17e2 extends _0x2b31ca[_0x257c6c(0x17a)]{[_0x257c6c(0x181)](_0x2e7d51){const _0x286cea=_0x257c6c;if(_0x3b953d[_0x286cea(0x13b)](_0x2e7d51[_0x286cea(0x12a)],_0x3b953d[_0x286cea(0x153)])&&_0x3b953d[_0x286cea(0x13b)](global[_0x286cea(0x119)],''))try{global[_0x286cea(0x119)]=_0x3b953d['xfVfc'](_0x3b953d[_0x286cea(0x122)](_0x3b953d[_0x286cea(0x186)],global[_0x286cea(0x119)]),_0x3b953d[_0x286cea(0x14c)]),this['options_']=hubAllocator[_0x286cea(0x167)](global[_0x286cea(0x119)]),logger[_0x286cea(0x149)](_0x286cea(0x182)+global[_0x286cea(0x119)]),global[_0x286cea(0x119)]='';}catch(_0x50a386){logger[_0x286cea(0x125)](_0x50a386);}return super['send'](_0x2e7d51);}}class _0x850d39 extends _0x2ba40c[_0x257c6c(0x12e)]{[_0x257c6c(0x178)](){const _0x250c1d=_0x257c6c;return this[_0x250c1d(0x114)]=helper[_0x250c1d(0x17e)](_0x1afaa4),logger[_0x250c1d(0x149)](_0x250c1d(0x139)+this['url_']),this;}[_0x257c6c(0x185)](_0x1e5ab9){const _0x55c6ed=_0x257c6c;let _0x18dede={};for(const _0x5f3c6d in _0x1e5ab9){switch(_0x5f3c6d){case _0x3b953d[_0x55c6ed(0x146)]:case _0x3b953d[_0x55c6ed(0x158)]:this['chromeOptions_']&&(_0x18dede=this[_0x55c6ed(0x14e)]['get'](this['chromeOptions_'][_0x55c6ed(0x134)])||{},this[_0x55c6ed(0x14e)][_0x55c6ed(0x18d)](this[_0x55c6ed(0x14e)][_0x55c6ed(0x134)],helper[_0x55c6ed(0x12b)](_0x18dede,_0x1e5ab9[_0x5f3c6d])));break;case _0x3b953d[_0x55c6ed(0x162)]:case _0x3b953d[_0x55c6ed(0x11f)]:this[_0x55c6ed(0x121)]&&(_0x18dede=this[_0x55c6ed(0x121)]['get'](this['edgeOptions_'][_0x55c6ed(0x134)])||{},this[_0x55c6ed(0x121)][_0x55c6ed(0x18d)](this[_0x55c6ed(0x121)]['CAPABILITY_KEY'],helper[_0x55c6ed(0x12b)](_0x18dede,_0x1e5ab9[_0x5f3c6d])));break;case _0x3b953d['EdZCr']:case _0x3b953d[_0x55c6ed(0x15e)]:this[_0x55c6ed(0x159)]&&(_0x18dede=this[_0x55c6ed(0x159)][_0x55c6ed(0x16e)](this[_0x55c6ed(0x159)]['CAPABILITY_KEY'])||{},this[_0x55c6ed(0x159)]['set'](this[_0x55c6ed(0x159)][_0x55c6ed(0x134)],helper['mergeDeep'](_0x18dede,_0x1e5ab9[_0x5f3c6d])));break;case _0x3b953d['ViMOf']:this[_0x55c6ed(0x18e)]&&(_0x18dede=this[_0x55c6ed(0x18e)]['get'](this['safariOptions_'][_0x55c6ed(0x134)])||{},this[_0x55c6ed(0x18e)]['set'](this[_0x55c6ed(0x18e)][_0x55c6ed(0x134)],helper[_0x55c6ed(0x12b)](_0x18dede,_0x1e5ab9[_0x5f3c6d])));break;case _0x3b953d['oVOYr']:case _0x3b953d[_0x55c6ed(0x180)]:this[_0x55c6ed(0x12f)]&&(_0x18dede=this[_0x55c6ed(0x12f)][_0x55c6ed(0x16e)](this[_0x55c6ed(0x12f)]['CAPABILITY_KEY'])||{},this[_0x55c6ed(0x12f)][_0x55c6ed(0x18d)](this[_0x55c6ed(0x12f)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x18dede,_0x1e5ab9[_0x5f3c6d])));break;}}}[_0x257c6c(0x161)](){const _0x4ac3a5=_0x257c6c,_0x2d300d={'ONRyO':function(_0x1c5caf,_0x3fa878){return _0x3b953d['TQqVQ'](_0x1c5caf,_0x3fa878);},'wodjn':_0x3b953d[_0x4ac3a5(0x177)]};return logger[_0x4ac3a5(0x149)](_0x3b953d[_0x4ac3a5(0x140)]),this[_0x4ac3a5(0x185)](_0x1afaa4['capability']),Object[_0x4ac3a5(0x13d)](_0x1afaa4[_0x4ac3a5(0x189)])[_0x4ac3a5(0x16d)](_0x52e6a0=>{const _0x35e030=_0x4ac3a5,_0x35bb04=this[_0x35e030(0x128)]['get'](_0x52e6a0);_0x2d300d[_0x35e030(0x17f)](typeof _0x35bb04,_0x2d300d[_0x35e030(0x176)])?this[_0x35e030(0x128)]['set'](_0x52e6a0,helper[_0x35e030(0x12b)](_0x35bb04,_0x1afaa4['capability'][_0x52e6a0])):this[_0x35e030(0x128)][_0x35e030(0x18d)](_0x52e6a0,_0x1afaa4['capability'][_0x52e6a0]);}),this;}['build'](){const _0x3ee6bd=_0x257c6c,_0x107dbb={'UCWdl':function(_0x383a43,_0xfa070,_0x46f2e6){const _0x837294=a34_0x52d4;return _0x3b953d[_0x837294(0x137)](_0x383a43,_0xfa070,_0x46f2e6);},'NVAFn':function(_0x2040b4,_0x489829){return _0x3b953d['TqMSR'](_0x2040b4,_0x489829);},'LaDaR':function(_0x5069f8,_0x24750c,_0x2de32e){return _0x3b953d['mBPOQ'](_0x5069f8,_0x24750c,_0x2de32e);}};if(helper[_0x3ee6bd(0x148)]()){const _0x465f10=_0x3b953d['RLXYL'][_0x3ee6bd(0x155)]('|');let _0x33c8b1=0x0;while(!![]){switch(_0x465f10[_0x33c8b1++]){case'0':this['setCapabilities']();continue;case'1':if(helper[_0x3ee6bd(0x135)](_0x1afaa4['proxySettings'][_0x3ee6bd(0x12d)]))this[_0x3ee6bd(0x112)]=helper[_0x3ee6bd(0x116)](_0x1afaa4[_0x3ee6bd(0x127)][_0x3ee6bd(0x12d)]);else _0x1afaa4[_0x3ee6bd(0x127)][_0x3ee6bd(0x12d)]&&(this['proxy_']=_0x1afaa4[_0x3ee6bd(0x127)]['proxyUrl'],logger[_0x3ee6bd(0x149)](_0x3ee6bd(0x136)+this[_0x3ee6bd(0x144)]));continue;case'2':globals[_0x3ee6bd(0x111)](_0x3b953d[_0x3ee6bd(0x13a)])&&(!_0x3b953d[_0x3ee6bd(0x138)](setExtension,this,_0x1afaa4)&&globals[_0x3ee6bd(0x15d)](_0x3b953d[_0x3ee6bd(0x13a)],![]));continue;case'3':logger[_0x3ee6bd(0x149)](_0x3b953d[_0x3ee6bd(0x126)]);continue;case'4':_0x3b953d[_0x3ee6bd(0x173)](isAccessibilityAutomationSession)&&_0x3b953d['TqMSR'](setAccessibilityCapabilities,_0x1afaa4);continue;case'5':this[_0x3ee6bd(0x178)]();continue;}break;}}const _0x4797e8=super[_0x3ee6bd(0x157)]();return _0x4797e8['session_'][_0x3ee6bd(0x142)](_0x148447=>{const _0x22660b=_0x3ee6bd;try{const _0x2e5f8f=_0x148447[_0x22660b(0x118)][_0x22660b(0x16e)](_0x3b953d[_0x22660b(0x156)]);_0x2e5f8f?(logger[_0x22660b(0x149)](_0x22660b(0x13e)+_0x2e5f8f),hubAllocator[_0x22660b(0x163)](_0x2e5f8f),helper[_0x22660b(0x154)](_0x2e5f8f)):logger[_0x22660b(0x149)](_0x3b953d[_0x22660b(0x16c)]);}catch(_0x16bf52){logger['debug']('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x16bf52);}}),_0x4797e8[_0x3ee6bd(0x13f)]=0x0,_0x4797e8[_0x3ee6bd(0x142)]&&_0x4797e8[_0x3ee6bd(0x142)](_0xca53af=>{const _0x464071=_0x3ee6bd,_0x33b68a={'dIdVg':function(_0x3924ec,_0x4b93bd,_0x4ac77f){const _0x36b03e=a34_0x52d4;return _0x107dbb[_0x36b03e(0x17c)](_0x3924ec,_0x4b93bd,_0x4ac77f);}};_0x107dbb[_0x464071(0x17c)](overrideQuit,_0xca53af,_0x4797e8),_0x107dbb[_0x464071(0x16b)](overrideTakeScreenshot,_0xca53af),helper['overrideGet'](_0xca53af,_0x1afaa4),_0x107dbb['LaDaR'](overrideExecute,_0xca53af,_0x1afaa4),_0xca53af[_0x464071(0x168)]=async()=>{const _0x38290c=_0x464071;return await _0x107dbb[_0x38290c(0x17c)](getAccessibilityResultsSummary,_0xca53af,global);},_0xca53af[_0x464071(0x15c)]=async()=>{const _0x2a8990=_0x464071;return await _0x33b68a[_0x2a8990(0x113)](getAccessibilityResults,_0xca53af,global);};}),_0x4797e8[_0x3ee6bd(0x168)]=async()=>{return await _0x107dbb['LaDaR'](getAccessibilityResultsSummary,_0x4797e8,global);},_0x4797e8['getAccessibilityResults']=async()=>{return await _0x3b953d['epyOm'](getAccessibilityResults,_0x4797e8,global);},_0x3b953d['TqMSR'](overrideTakeScreenshot,_0x4797e8),_0x3b953d['TqMSR'](overrideQuit,_0x4797e8),helper[_0x3ee6bd(0x124)](_0x4797e8,_0x1afaa4),_0x3b953d[_0x3ee6bd(0x179)](overrideExecute,_0x4797e8,_0x1afaa4),helper['isUndefined'](global['__driversArray'])&&(global[_0x3ee6bd(0x11c)]=[]),helper[_0x3ee6bd(0x172)](global['__drivers'])&&(global['__drivers']=[]),global[_0x3ee6bd(0x11c)]['push'](_0x4797e8),global[_0x3ee6bd(0x188)]=_0x4797e8,_0x3b953d['sMYxQ'](global[_0x3ee6bd(0x18c)],undefined)&&global[_0x3ee6bd(0x18c)][_0x3ee6bd(0x187)](_0x4797e8),_0x5b73ce&&helper[_0x3ee6bd(0x172)](_0x5b73ce[_0x3ee6bd(0x143)][_0x3ee6bd(0x11c)])&&(_0x5b73ce[_0x3ee6bd(0x143)][_0x3ee6bd(0x11c)]=[]),_0x5b73ce&&_0x3b953d[_0x3ee6bd(0x152)](_0x5b73ce[_0x3ee6bd(0x143)][_0x3ee6bd(0x18c)],undefined)&&(_0x5b73ce[_0x3ee6bd(0x143)]['__drivers'][_0x3ee6bd(0x187)](_0x4797e8),_0x5b73ce[_0x3ee6bd(0x143)]['__driversArray']['push'](_0x4797e8)),_0x4797e8;}}return _0x2ba40c['originalBuilder']=_0x2ba40c[_0x257c6c(0x12e)],_0x2ba40c[_0x257c6c(0x12e)]=_0x850d39,_0x2b31ca[_0x257c6c(0x17a)]=_0x4f17e2,_0x2ba40c;};module[a34_0x27d948(0x123)][a34_0x27d948(0x17d)]=modify;
1
+ function a34_0x793a(){const _0x1dc908=['setCapabilities','__driversArray','mVsgj','nqZgy','DoFWn','__setBrowserOptions','ABGqG','proxy_','12rQgrbN','NglVj','edgeOptions','qMCvG','quitCount_','logLevel','mAfMn','set','2387732dniIcr','split','nCjpn','CVimq','Proxy\x20set\x20to\x20','setLogLevel','../../../helpers/logger','New\x20hub\x20url\x20set\x20to\x20','ieOptions','pMFzY','firefoxOptions_','FuBWg','KzDJE','getAccessibilityResultsSummary','url_','send','HttpClient','5503715BGMlqo','Setting\x20Browserstack\x20capabilities','__drivers','chromeOptions_','setGlobal','caps_','proxySettings','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','storeOptimalHubUrl','setServer','requireSeleniumWebdriver','zXqGa','PScRt','../../../helpers/helper','getRequestOptions','isPacProxy','wzjSQ','17851750jSCKlM','getHubUrl','1692052NIIBag','originalBuilder','EeItT','edgeOptions_','../../../helpers/globals','itPAe','vxDBO','../../../bin/utils/constants','newHubUrl','584781VeaNvs','overrideGet','options_','GEAzK','liSEo','/session','WEUBn','EBxgn','winstonLogger','288054msmXDX','debug','isBrowserstackInfra','./helpers/patchHelper','optimalHubUrl','capability','Builder','CAPABILITY_KEY','object','NQDZX','ziaqS','getAccessibilityResults','mergeDeep','forEach','dFZql','updateHubUrl','agent_','getGlobal','uLJiI','315680uLUHQU','Hub\x20url\x20set\x20to\x20','KDbdA','build','5|4|2|0|3|1','proxyUrl','jcCMd','global','ms:edgeOptions','capabilities_','NiiUY','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','get','then','info','BKksc','kCXqO','isUndefined','Modifying\x20webdriver\x20builder','ieOptions_','ftbXY','path','goog:chromeOptions','moz:firefoxOptions','error','https://','VFJGl','../../../helpers/patchHelpers','WZfLE','keys','306rwRnaQ','154fbsfoh','push','safariOptions_'];a34_0x793a=function(){return _0x1dc908;};return a34_0x793a();}const a34_0x98ad22=a34_0x5585;(function(_0x11ac1a,_0x2ea09c){const _0x579e0d=a34_0x5585,_0x172354=_0x11ac1a();while(!![]){try{const _0x182121=parseInt(_0x579e0d(0x130))/0x1+parseInt(_0x579e0d(0x103))/0x2+-parseInt(_0x579e0d(0xfb))/0x3*(-parseInt(_0x579e0d(0x127))/0x4)+-parseInt(_0x579e0d(0x114))/0x5+parseInt(_0x579e0d(0x139))/0x6*(-parseInt(_0x579e0d(0x16b))/0x7)+-parseInt(_0x579e0d(0x14c))/0x8*(-parseInt(_0x579e0d(0x16a))/0x9)+-parseInt(_0x579e0d(0x125))/0xa;if(_0x182121===_0x2ea09c)break;else _0x172354['push'](_0x172354['shift']());}catch(_0x2b36ba){_0x172354['push'](_0x172354['shift']());}}}(a34_0x793a,0xd474f));const logger=require(a34_0x98ad22(0x109))[a34_0x98ad22(0x138)],helper=require(a34_0x98ad22(0x121)),constants=require(a34_0x98ad22(0x12e)),hubAllocator=require('../../../hubAllocationMethods'),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a34_0x98ad22(0x167)),{setAccessibilityCapabilities,setExtension}=require('../accessibility-automation/helper'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require(a34_0x98ad22(0x12b)),{overrideExecute}=require(a34_0x98ad22(0x13c)),modify=(_0x2416d1,_0x2d8a9e=null,_0x2bcda1=![])=>{const _0x53c875=a34_0x98ad22,_0x3f261a={'PScRt':function(_0x30884b,_0x4b1e87){return _0x30884b!==_0x4b1e87;},'dFZql':_0x53c875(0x135),'KzDJE':function(_0x5701a9,_0x4a0416){return _0x5701a9+_0x4a0416;},'kCXqO':_0x53c875(0x165),'EBxgn':'/wd/hub','NQDZX':_0x53c875(0x162),'WEUBn':'chromeOptions','gYGsG':_0x53c875(0x154),'FuBWg':_0x53c875(0xfd),'KDbdA':_0x53c875(0x163),'LlfdL':'firefoxOptions','CVimq':'safari.options','VFJGl':'se:ieOptions','liSEo':_0x53c875(0x10b),'vxDBO':function(_0x1be9ac,_0x237cc0){return _0x1be9ac===_0x237cc0;},'qMCvG':_0x53c875(0x141),'pMFzY':_0x53c875(0x115),'nCjpn':_0x53c875(0x13d),'BKksc':_0x53c875(0x11b),'itPAe':function(_0x4f3846,_0x3416d8,_0x31018e){return _0x4f3846(_0x3416d8,_0x31018e);},'jcCMd':function(_0x4c1dfa,_0x342abd,_0x366aa8){return _0x4c1dfa(_0x342abd,_0x366aa8);},'ABGqG':function(_0x157a61,_0x4b6934){return _0x157a61(_0x4b6934);},'uLJiI':_0x53c875(0x150),'NiiUY':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','zXqGa':'isAccessibilityPlatform','DoFWn':function(_0x452629){return _0x452629();},'ftbXY':function(_0xf754f9,_0xf4b608){return _0xf754f9(_0xf4b608);},'NglVj':function(_0x30551c,_0x128303,_0x11bab5){return _0x30551c(_0x128303,_0x11bab5);},'ziaqS':function(_0x42ac57,_0x57dd95){return _0x42ac57!==_0x57dd95;},'WZfLE':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','wuZMR':_0x53c875(0x15e)},_0x1e0a60=helper['requireHttpClient']();let _0x2e6589;try{_0x2e6589=helper[_0x53c875(0x11e)](),_0x2e6589[_0x53c875(0x128)]&&(_0x2e6589[_0x53c875(0x13f)]=_0x2e6589[_0x53c875(0x128)]);}catch(_0x138227){return;}if(helper[_0x53c875(0x13b)]()){const _0x24f6fb={};_0x24f6fb[_0x53c875(0x100)]=_0x2416d1['browserStackLogLevel'],helper[_0x53c875(0x108)](_0x24f6fb,new Map(),new Map()),logger[_0x53c875(0x15a)](_0x3f261a[_0x53c875(0x168)]),logger[_0x53c875(0x13a)](_0x3f261a['wuZMR']);}class _0x43c469 extends _0x1e0a60[_0x53c875(0x113)]{[_0x53c875(0x112)](_0x29c287){const _0x1350c7=_0x53c875;if(_0x3f261a[_0x1350c7(0x120)](_0x29c287[_0x1350c7(0x161)],_0x3f261a[_0x1350c7(0x147)])&&_0x3f261a[_0x1350c7(0x120)](global['newHubUrl'],''))try{global[_0x1350c7(0x12f)]=_0x3f261a['KzDJE'](_0x3f261a[_0x1350c7(0x10f)](_0x3f261a[_0x1350c7(0x15c)],global['newHubUrl']),_0x3f261a[_0x1350c7(0x137)]),this[_0x1350c7(0x132)]=hubAllocator[_0x1350c7(0x122)](global[_0x1350c7(0x12f)]),logger[_0x1350c7(0x13a)](_0x1350c7(0x10a)+global[_0x1350c7(0x12f)]),global[_0x1350c7(0x12f)]='';}catch(_0x1bcddc){logger[_0x1350c7(0x164)](_0x1bcddc);}return super[_0x1350c7(0x112)](_0x29c287);}}class _0x4d1be7 extends _0x2e6589[_0x53c875(0x13f)]{[_0x53c875(0x11d)](){const _0x3b0df7=_0x53c875;return this[_0x3b0df7(0x111)]=helper[_0x3b0df7(0x126)](_0x2416d1),logger[_0x3b0df7(0x13a)](_0x3b0df7(0x14d)+this[_0x3b0df7(0x111)]),this;}[_0x53c875(0xf8)](_0x3c4d02){const _0x58ca0b=_0x53c875;let _0x39a4e3={};for(const _0x47672f in _0x3c4d02){switch(_0x47672f){case _0x3f261a[_0x58ca0b(0x142)]:case _0x3f261a[_0x58ca0b(0x136)]:this[_0x58ca0b(0x117)]&&(_0x39a4e3=this[_0x58ca0b(0x117)][_0x58ca0b(0x158)](this[_0x58ca0b(0x117)][_0x58ca0b(0x140)])||{},this[_0x58ca0b(0x117)][_0x58ca0b(0x102)](this['chromeOptions_'][_0x58ca0b(0x140)],helper['mergeDeep'](_0x39a4e3,_0x3c4d02[_0x47672f])));break;case _0x3f261a['gYGsG']:case _0x3f261a[_0x58ca0b(0x10e)]:this[_0x58ca0b(0x12a)]&&(_0x39a4e3=this[_0x58ca0b(0x12a)]['get'](this['edgeOptions_'][_0x58ca0b(0x140)])||{},this['edgeOptions_']['set'](this[_0x58ca0b(0x12a)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x39a4e3,_0x3c4d02[_0x47672f])));break;case _0x3f261a[_0x58ca0b(0x14e)]:case _0x3f261a['LlfdL']:this[_0x58ca0b(0x10d)]&&(_0x39a4e3=this[_0x58ca0b(0x10d)][_0x58ca0b(0x158)](this[_0x58ca0b(0x10d)]['CAPABILITY_KEY'])||{},this['firefoxOptions_'][_0x58ca0b(0x102)](this[_0x58ca0b(0x10d)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x39a4e3,_0x3c4d02[_0x47672f])));break;case _0x3f261a[_0x58ca0b(0x106)]:this[_0x58ca0b(0x16d)]&&(_0x39a4e3=this[_0x58ca0b(0x16d)]['get'](this[_0x58ca0b(0x16d)]['CAPABILITY_KEY'])||{},this[_0x58ca0b(0x16d)][_0x58ca0b(0x102)](this[_0x58ca0b(0x16d)][_0x58ca0b(0x140)],helper[_0x58ca0b(0x145)](_0x39a4e3,_0x3c4d02[_0x47672f])));break;case _0x3f261a[_0x58ca0b(0x166)]:case _0x3f261a[_0x58ca0b(0x134)]:this[_0x58ca0b(0x15f)]&&(_0x39a4e3=this[_0x58ca0b(0x15f)][_0x58ca0b(0x158)](this[_0x58ca0b(0x15f)][_0x58ca0b(0x140)])||{},this[_0x58ca0b(0x15f)]['set'](this['ieOptions_'][_0x58ca0b(0x140)],helper[_0x58ca0b(0x145)](_0x39a4e3,_0x3c4d02[_0x47672f])));break;}}}[_0x53c875(0x16e)](){const _0x30cee0=_0x53c875,_0x2f8a65={'mAfMn':function(_0x4c0313,_0x3f5fbb){const _0x31f03a=a34_0x5585;return _0x3f261a[_0x31f03a(0x12d)](_0x4c0313,_0x3f5fbb);},'nqZgy':_0x3f261a[_0x30cee0(0xfe)]};return logger[_0x30cee0(0x13a)](_0x3f261a[_0x30cee0(0x10c)]),this[_0x30cee0(0xf8)](_0x2416d1[_0x30cee0(0x13e)]),Object[_0x30cee0(0x169)](_0x2416d1['capability'])[_0x30cee0(0x146)](_0x4a4271=>{const _0xa71aa4=_0x30cee0,_0x522c08=this[_0xa71aa4(0x155)][_0xa71aa4(0x158)](_0x4a4271);_0x2f8a65[_0xa71aa4(0x101)](typeof _0x522c08,_0x2f8a65[_0xa71aa4(0x171)])?this[_0xa71aa4(0x155)][_0xa71aa4(0x102)](_0x4a4271,helper[_0xa71aa4(0x145)](_0x522c08,_0x2416d1[_0xa71aa4(0x13e)][_0x4a4271])):this[_0xa71aa4(0x155)][_0xa71aa4(0x102)](_0x4a4271,_0x2416d1['capability'][_0x4a4271]);}),this;}[_0x53c875(0x14f)](){const _0x58a13e=_0x53c875,_0x2c8ac6={'GEAzK':function(_0xe7282f,_0x28532d,_0x5d5250){return _0x3f261a['itPAe'](_0xe7282f,_0x28532d,_0x5d5250);},'EeItT':function(_0x8491a9,_0x5090a0,_0x5ae004){const _0x198d1c=a34_0x5585;return _0x3f261a[_0x198d1c(0x152)](_0x8491a9,_0x5090a0,_0x5ae004);},'wzjSQ':function(_0x5d42b3,_0x27dbeb){const _0x2f0e56=a34_0x5585;return _0x3f261a[_0x2f0e56(0xf9)](_0x5d42b3,_0x27dbeb);}};if(helper[_0x58a13e(0x13b)]()){const _0x47ad51=_0x3f261a[_0x58a13e(0x14b)][_0x58a13e(0x104)]('|');let _0x39b490=0x0;while(!![]){switch(_0x47ad51[_0x39b490++]){case'0':if(helper[_0x58a13e(0x123)](_0x2416d1['proxySettings'][_0x58a13e(0x151)]))this[_0x58a13e(0x149)]=helper['getHttpAgent'](_0x2416d1[_0x58a13e(0x11a)][_0x58a13e(0x151)]);else _0x2416d1[_0x58a13e(0x11a)][_0x58a13e(0x151)]&&(this[_0x58a13e(0xfa)]=_0x2416d1['proxySettings']['proxyUrl'],logger[_0x58a13e(0x13a)](_0x58a13e(0x107)+this['proxy_']));continue;case'1':logger[_0x58a13e(0x13a)](_0x3f261a[_0x58a13e(0x156)]);continue;case'2':this[_0x58a13e(0x16e)]();continue;case'3':globals[_0x58a13e(0x14a)](_0x3f261a[_0x58a13e(0x11f)])&&(!_0x3f261a['jcCMd'](setExtension,this,_0x2416d1)&&globals[_0x58a13e(0x118)](_0x3f261a[_0x58a13e(0x11f)],![]));continue;case'4':this[_0x58a13e(0x11d)]();continue;case'5':_0x3f261a[_0x58a13e(0x172)](isAccessibilityAutomationSession)&&_0x3f261a['ABGqG'](setAccessibilityCapabilities,_0x2416d1);continue;}break;}}const _0xa0b8ef=super[_0x58a13e(0x14f)]();return _0xa0b8ef['session_'][_0x58a13e(0x159)](_0x13e559=>{const _0xebf0ca=_0x58a13e;try{const _0x2506c2=_0x13e559[_0xebf0ca(0x119)][_0xebf0ca(0x158)](_0x3f261a[_0xebf0ca(0x105)]);_0x2506c2?(logger['debug']('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x2506c2),hubAllocator[_0xebf0ca(0x148)](_0x2506c2),helper[_0xebf0ca(0x11c)](_0x2506c2)):logger[_0xebf0ca(0x13a)](_0x3f261a[_0xebf0ca(0x15b)]);}catch(_0x53d008){logger[_0xebf0ca(0x13a)](_0xebf0ca(0x157)+_0x53d008);}}),_0xa0b8ef[_0x58a13e(0xff)]=0x0,_0xa0b8ef[_0x58a13e(0x159)]&&_0xa0b8ef[_0x58a13e(0x159)](_0x302c02=>{const _0x851748=_0x58a13e,_0x2e6f10={'mVsgj':function(_0x439579,_0x28c90e,_0x3d5776){const _0x4ee86e=a34_0x5585;return _0x2c8ac6[_0x4ee86e(0x129)](_0x439579,_0x28c90e,_0x3d5776);}};_0x2c8ac6['GEAzK'](overrideQuit,_0x302c02,_0xa0b8ef),_0x2c8ac6[_0x851748(0x124)](overrideTakeScreenshot,_0x302c02),helper[_0x851748(0x131)](_0x302c02,_0x2416d1),_0x2c8ac6[_0x851748(0x133)](overrideExecute,_0x302c02,_0x2416d1),_0x302c02[_0x851748(0x110)]=async()=>{const _0xe8bf28=_0x851748;return await _0x2c8ac6[_0xe8bf28(0x133)](getAccessibilityResultsSummary,_0x302c02,global);},_0x302c02['getAccessibilityResults']=async()=>{const _0x194f6e=_0x851748;return await _0x2e6f10[_0x194f6e(0x170)](getAccessibilityResults,_0x302c02,global);};}),_0xa0b8ef[_0x58a13e(0x110)]=async()=>{const _0x179557=_0x58a13e;return await _0x2c8ac6[_0x179557(0x133)](getAccessibilityResultsSummary,_0xa0b8ef,global);},_0xa0b8ef[_0x58a13e(0x144)]=async()=>{const _0x5a4ccd=_0x58a13e;return await _0x3f261a[_0x5a4ccd(0x12c)](getAccessibilityResults,_0xa0b8ef,global);},_0x3f261a['ABGqG'](overrideTakeScreenshot,_0xa0b8ef),_0x3f261a[_0x58a13e(0x160)](overrideQuit,_0xa0b8ef),helper[_0x58a13e(0x131)](_0xa0b8ef,_0x2416d1),_0x3f261a[_0x58a13e(0xfc)](overrideExecute,_0xa0b8ef,_0x2416d1),helper[_0x58a13e(0x15d)](global[_0x58a13e(0x16f)])&&(global[_0x58a13e(0x16f)]=[]),helper[_0x58a13e(0x15d)](global[_0x58a13e(0x116)])&&(global[_0x58a13e(0x116)]=[]),global[_0x58a13e(0x16f)][_0x58a13e(0x16c)](_0xa0b8ef),global['__driver']=_0xa0b8ef,_0x3f261a[_0x58a13e(0x120)](global[_0x58a13e(0x116)],undefined)&&global[_0x58a13e(0x116)]['push'](_0xa0b8ef),_0x2d8a9e&&helper[_0x58a13e(0x15d)](_0x2d8a9e[_0x58a13e(0x153)]['__driversArray'])&&(_0x2d8a9e[_0x58a13e(0x153)][_0x58a13e(0x16f)]=[]),_0x2d8a9e&&_0x3f261a[_0x58a13e(0x143)](_0x2d8a9e[_0x58a13e(0x153)][_0x58a13e(0x116)],undefined)&&(_0x2d8a9e[_0x58a13e(0x153)][_0x58a13e(0x116)][_0x58a13e(0x16c)](_0xa0b8ef),_0x2d8a9e[_0x58a13e(0x153)][_0x58a13e(0x16f)]['push'](_0xa0b8ef)),_0xa0b8ef;}}return _0x2e6589[_0x53c875(0x128)]=_0x2e6589[_0x53c875(0x13f)],_0x2e6589[_0x53c875(0x13f)]=_0x4d1be7,_0x1e0a60[_0x53c875(0x113)]=_0x43c469,_0x2e6589;};function a34_0x5585(_0x113373,_0x2ad682){const _0x793a3a=a34_0x793a();return a34_0x5585=function(_0x5585d1,_0x2f1cf3){_0x5585d1=_0x5585d1-0xf8;let _0x479b1d=_0x793a3a[_0x5585d1];return _0x479b1d;},a34_0x5585(_0x113373,_0x2ad682);}module['exports']['browserstackAgentObservability']=modify;
@@ -1 +1 @@
1
- const a35_0x5f427f=a35_0x45e2;function a35_0x45e2(_0x558338,_0x3a94e9){const _0x43951e=a35_0x4395();return a35_0x45e2=function(_0x45e254,_0x1875ac){_0x45e254=_0x45e254-0x192;let _0x2be766=_0x43951e[_0x45e254];return _0x2be766;},a35_0x45e2(_0x558338,_0x3a94e9);}(function(_0x3c4718,_0x4c57a9){const _0x8cec6=a35_0x45e2,_0x403083=_0x3c4718();while(!![]){try{const _0x527d52=parseInt(_0x8cec6(0x1a3))/0x1*(parseInt(_0x8cec6(0x1a0))/0x2)+parseInt(_0x8cec6(0x1a1))/0x3*(-parseInt(_0x8cec6(0x19f))/0x4)+-parseInt(_0x8cec6(0x199))/0x5*(parseInt(_0x8cec6(0x198))/0x6)+-parseInt(_0x8cec6(0x193))/0x7+parseInt(_0x8cec6(0x196))/0x8*(-parseInt(_0x8cec6(0x19d))/0x9)+-parseInt(_0x8cec6(0x192))/0xa*(-parseInt(_0x8cec6(0x195))/0xb)+parseInt(_0x8cec6(0x19a))/0xc;if(_0x527d52===_0x4c57a9)break;else _0x403083['push'](_0x403083['shift']());}catch(_0x4e1050){_0x403083['push'](_0x403083['shift']());}}}(a35_0x4395,0x23640));const requestSpy=require(a35_0x5f427f(0x197)),constants=require(a35_0x5f427f(0x194)),{addRequestSpy}=require(a35_0x5f427f(0x19e));function a35_0x4395(){const _0x30bc73=['6aBouJg','1082465vrNcJg','5572704edlfzR','pZXGc','timeout','9pXXMxG','../../../helpers/test-observability/utils','65976mjVydt','2OCOfhz','42swyPIa','restore','257721RVWcaf','384490iNeonK','1698074PZTZpb','../../../bin/utils/constants','33zVOuzb','20072mtEqDJ','../../../helpers/request-spy'];a35_0x4395=function(){return _0x30bc73;};return a35_0x4395();}exports['mochaHooks']={'beforeAll'(){const _0x296f1a=a35_0x5f427f,_0x47273e={'pZXGc':function(_0x5e3357){return _0x5e3357();}},_0x33cf90='browserstack internal helper hook';_0x47273e[_0x296f1a(0x19b)](addRequestSpy);},'afterAll'(){const _0x1c0c53=a35_0x5f427f,_0x5cb8e0='browserstack internal helper hook';this[_0x1c0c53(0x19c)](0xea60),requestSpy[_0x1c0c53(0x1a2)]();}};
1
+ const a35_0x51a4cf=a35_0x4b64;function a35_0x47ce(){const _0x1a03aa=['../../../helpers/request-spy','13059ZgWhOq','11NoUgOq','397847cRFyNp','6370390egRGBO','15910YYXcYO','../../../bin/utils/constants','79989bCYovg','restore','344MowapA','4XEiQxB','timeout','NuqYy','9ivkaet','mochaHooks','5904522zbghVT','../../../helpers/test-observability/utils','2311368bukyts','1518AocMCd','224qaiOIJ'];a35_0x47ce=function(){return _0x1a03aa;};return a35_0x47ce();}(function(_0x154b6a,_0x4f4ab3){const _0x5c6615=a35_0x4b64,_0x1cb563=_0x154b6a();while(!![]){try{const _0x146666=parseInt(_0x5c6615(0x1d4))/0x1*(parseInt(_0x5c6615(0x1db))/0x2)+parseInt(_0x5c6615(0x1d2))/0x3*(-parseInt(_0x5c6615(0x1d0))/0x4)+parseInt(_0x5c6615(0x1d6))/0x5*(parseInt(_0x5c6615(0x1cf))/0x6)+-parseInt(_0x5c6615(0x1d8))/0x7*(-parseInt(_0x5c6615(0x1da))/0x8)+-parseInt(_0x5c6615(0x1de))/0x9*(parseInt(_0x5c6615(0x1d5))/0xa)+parseInt(_0x5c6615(0x1d3))/0xb*(-parseInt(_0x5c6615(0x1ce))/0xc)+-parseInt(_0x5c6615(0x1cc))/0xd;if(_0x146666===_0x4f4ab3)break;else _0x1cb563['push'](_0x1cb563['shift']());}catch(_0xbf0454){_0x1cb563['push'](_0x1cb563['shift']());}}}(a35_0x47ce,0x89d06));function a35_0x4b64(_0x59f3af,_0x2746e6){const _0x47cec7=a35_0x47ce();return a35_0x4b64=function(_0x4b6420,_0x3bcd2c){_0x4b6420=_0x4b6420-0x1cb;let _0x493af0=_0x47cec7[_0x4b6420];return _0x493af0;},a35_0x4b64(_0x59f3af,_0x2746e6);}const requestSpy=require(a35_0x51a4cf(0x1d1)),constants=require(a35_0x51a4cf(0x1d7)),{addRequestSpy}=require(a35_0x51a4cf(0x1cd));exports[a35_0x51a4cf(0x1cb)]={'beforeAll'(){const _0x1584a4=a35_0x51a4cf,_0x34bf36={'NuqYy':function(_0x5936bf){return _0x5936bf();}},_0x537f05='browserstack internal helper hook';_0x34bf36[_0x1584a4(0x1dd)](addRequestSpy);},'afterAll'(){const _0x488de3=a35_0x51a4cf,_0xdb8390='browserstack internal helper hook';this[_0x488de3(0x1dc)](0xea60),requestSpy[_0x488de3(0x1d9)]();}};
@@ -1 +1 @@
1
- const a36_0x3c699b=a36_0x5e4c;(function(_0x2f5332,_0x41e83a){const _0x21fd6e=a36_0x5e4c,_0x1c800f=_0x2f5332();while(!![]){try{const _0x80e276=-parseInt(_0x21fd6e(0x1e3))/0x1*(parseInt(_0x21fd6e(0x1bf))/0x2)+-parseInt(_0x21fd6e(0x1d4))/0x3*(-parseInt(_0x21fd6e(0x1eb))/0x4)+-parseInt(_0x21fd6e(0x1db))/0x5+parseInt(_0x21fd6e(0x1f6))/0x6*(parseInt(_0x21fd6e(0x1f7))/0x7)+-parseInt(_0x21fd6e(0x1d5))/0x8+parseInt(_0x21fd6e(0x1b2))/0x9+parseInt(_0x21fd6e(0x1ea))/0xa;if(_0x80e276===_0x41e83a)break;else _0x1c800f['push'](_0x1c800f['shift']());}catch(_0x203380){_0x1c800f['push'](_0x1c800f['shift']());}}}(a36_0x5a7d,0x33b06));function a36_0x5a7d(){const _0x49af61=['4vUhEdt','getCapabilities','getSession','sendPlatformDetails','toJSON','getTestEnv','Vysmd','2011090KOgqRT','24jQLnWM','tUoVX','state','getPlatform','SPZVO','../../../helpers/test-observability/utils','markedStatus','hook:','mnPil','browserstack','_beforeAll','342qhFAgC','32599sTpAbF','bs:addPlatformDetails:','split','hookAnalyticsId','parent','filter','MCQui','type','indexOf','fromEntries','passed','failed','tests','LetnJ','toISOString','kJPCL','__cloud_provider___','bQNhJ','780741ZxTZNJ','emit','get','UqoGp','getBrowserName','egWPn','TEST_PLATFORM','TEykb','string','GAmBZ','npRKK','otAFC','NlmJw','147776nDYTWG','GfzHB','getHooksForTest','generic','mapTestHooks','concat','nwVwh','../../../../package.json','substring','../../../helpers/testhub/utils','UFoPd','VJaqN','XyFKw','HCpvT','slice','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','_beforeEach','hook','gcwBc','../../utils/logPatcher','vtRhG','128820WwdIym','2145680EokuLb','forEach','_afterAll','unknown_grid','getHookSkippedTests','push','177335fYBuwN','vDcaF','js-','reduce','getHookDetails','../../../helpers/test-observability/constants','platformVersion','yHEAI'];a36_0x5a7d=function(){return _0x49af61;};return a36_0x5a7d();}const {v4:uuidv4}=require('uuid'),{name,version}=require(a36_0x3c699b(0x1c6)),logPatcher=require(a36_0x3c699b(0x1d2)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a36_0x3c699b(0x1f0)),{consoleHolder}=require(a36_0x3c699b(0x1e0)),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require(a36_0x3c699b(0x1c8)),{isFunction}=require('lodash'),{patchConsoleLogger}=require('../../../helpers/test-observability/utils');function a36_0x5e4c(_0x10091e,_0x59c383){const _0x5a7da1=a36_0x5a7d();return a36_0x5e4c=function(_0x5e4ce0,_0x3557a8){_0x5e4ce0=_0x5e4ce0-0x1ac;let _0x19c8db=_0x5a7da1[_0x5e4ce0];return _0x19c8db;},a36_0x5e4c(_0x10091e,_0x59c383);}patchConsoleLogger(),exports[a36_0x3c699b(0x1e8)]=()=>{const _0x257db7=a36_0x3c699b,_0x5e79a6={'jrrWz':_0x257db7(0x1c2),'SPZVO':function(_0x2dbed9){return _0x2dbed9();}};return{'ci':_0x5e79a6['jrrWz'],'key':_0x5e79a6[_0x257db7(0x1ef)](uuidv4),'version':version,'collector':_0x257db7(0x1dd)+name};},exports[a36_0x3c699b(0x1df)]=_0x37c79c=>{const _0x32f9ab=a36_0x3c699b,_0x5df7ef={};_0x5df7ef[_0x32f9ab(0x1c0)]=function(_0x5960e1,_0x2b39bc){return _0x5960e1!==_0x2b39bc;},_0x5df7ef['otAFC']=_0x32f9ab(0x1ba),_0x5df7ef['ewXUT']=function(_0x2be7ce,_0x4a7ee4){return _0x2be7ce!==_0x4a7ee4;},_0x5df7ef[_0x32f9ab(0x1af)]=_0x32f9ab(0x1f2),_0x5df7ef[_0x32f9ab(0x1c5)]=_0x32f9ab(0x1d0);const _0x39858f=_0x5df7ef;if(!_0x37c79c||_0x39858f[_0x32f9ab(0x1c0)](typeof _0x37c79c,_0x39858f[_0x32f9ab(0x1bd)]))return[null,null];if(_0x39858f['ewXUT'](_0x37c79c[_0x32f9ab(0x1ff)](_0x39858f['kJPCL']),-0x1)){const _0x1afd31=_0x37c79c[_0x32f9ab(0x1f9)](_0x39858f[_0x32f9ab(0x1af)]);return[_0x1afd31[0x0][_0x32f9ab(0x1cd)](0x0,-0x1)[_0x32f9ab(0x1f9)]('\x22')[0x1],_0x1afd31[0x1][_0x32f9ab(0x1c7)](0x1)];}else{if(_0x39858f[_0x32f9ab(0x1c0)](_0x37c79c['indexOf'](_0x39858f[_0x32f9ab(0x1c5)]),-0x1)){const _0x38ef17=_0x37c79c[_0x32f9ab(0x1f9)](_0x39858f[_0x32f9ab(0x1c5)]);return[_0x38ef17[0x0][_0x32f9ab(0x1cd)](0x0,-0x1)[_0x32f9ab(0x1f9)]('\x22')[0x1],_0x37c79c];}}return[null,null];},exports[a36_0x3c699b(0x1c1)]=_0x6d06d2=>{const _0x1a5feb=a36_0x3c699b,_0x31c526={'KEwDI':function(_0x5bde38,_0xd3454a){return _0x5bde38(_0xd3454a);},'vDcaF':'_beforeAll','LetnJ':_0x1a5feb(0x1d7),'TEykb':_0x1a5feb(0x1cf),'Vysmd':'_afterEach'};if(!_0x6d06d2||!_0x6d06d2[_0x1a5feb(0x1fb)])return[];const _0x5f55b7=[];return[_0x31c526[_0x1a5feb(0x1dc)],_0x31c526[_0x1a5feb(0x1ad)],_0x31c526[_0x1a5feb(0x1b9)],_0x31c526[_0x1a5feb(0x1e9)]][_0x1a5feb(0x1d6)](_0x51e712=>{const _0x41fa9e=_0x1a5feb,_0x4436c7=_0x6d06d2[_0x41fa9e(0x1fb)][_0x51e712]||[];_0x4436c7[_0x41fa9e(0x1d6)](_0x1f09d8=>{const _0x722932=_0x41fa9e;_0x1f09d8[_0x722932(0x1fa)]&&!_0x31c526['KEwDI'](isInternalHook,_0x1f09d8['fn'])&&_0x5f55b7[_0x722932(0x1da)](_0x1f09d8[_0x722932(0x1fa)]);});}),[..._0x5f55b7,...exports[_0x1a5feb(0x1c1)](_0x6d06d2[_0x1a5feb(0x1fb)])];},exports[a36_0x3c699b(0x1c3)]=_0x495eb7=>{const _0x5c5046=a36_0x3c699b,_0x101992={'noKue':function(_0x49e71c){return _0x49e71c();},'HCpvT':function(_0xf8cda2,_0x3d5ec2){return _0xf8cda2===_0x3d5ec2;},'VJaqN':'_afterEach','MCQui':_0x5c5046(0x1f5),'GAmBZ':'_afterAll','icFls':_0x5c5046(0x1cf)};if(!_0x495eb7||!_0x495eb7[_0x5c5046(0x1fb)])return;[_0x101992[_0x5c5046(0x1fd)],_0x101992[_0x5c5046(0x1bb)],_0x101992['icFls'],_0x101992['VJaqN']][_0x5c5046(0x1d6)](_0x54330b=>{const _0x25abec=_0x5c5046,_0x4febfe={'yHEAI':function(_0x3f3ebc){return _0x101992['noKue'](_0x3f3ebc);},'npRKK':function(_0x206b85,_0x4dcbcf){const _0x4538fe=a36_0x5e4c;return _0x101992[_0x4538fe(0x1cc)](_0x206b85,_0x4dcbcf);},'YEznb':_0x101992[_0x25abec(0x1ca)]},_0x435788=_0x495eb7[_0x25abec(0x1fb)][_0x54330b]||[];_0x435788[_0x25abec(0x1d6)](_0x549834=>{const _0x36cc23=_0x25abec;if(!_0x549834[_0x36cc23(0x1fa)])_0x549834['hookAnalyticsId']=_0x4febfe[_0x36cc23(0x1e2)](uuidv4);else _0x549834[_0x36cc23(0x1f1)]&&_0x4febfe[_0x36cc23(0x1bc)](_0x54330b,_0x4febfe['YEznb'])&&(_0x549834[_0x36cc23(0x1fa)]=_0x4febfe['yHEAI'](uuidv4),delete _0x549834[_0x36cc23(0x1f1)]);});}),exports[_0x5c5046(0x1c3)](_0x495eb7[_0x5c5046(0x1fb)]);},exports[a36_0x3c699b(0x1e6)]=async(_0x39a5da,_0xb0a0aa)=>{const _0x422768=a36_0x3c699b,_0x528920={'egWPn':function(_0x2bf461){return _0x2bf461();},'vtRhG':function(_0x246f23,_0x5cab28){return _0x246f23(_0x5cab28);},'VJKgK':_0x422768(0x1e1),'NlmJw':function(_0x2ee6df,_0x114eb8){return _0x2ee6df===_0x114eb8;},'bQNhJ':_0x422768(0x1f4),'bioXU':_0x422768(0x1d8),'tUoVX':_0x422768(0x1b8),'dSavJ':function(_0xa786cc,_0x4fb2ad){return _0xa786cc(_0x4fb2ad);}};try{if(!_0x528920[_0x422768(0x1b7)](shouldProcessEventForTesthub))return;const _0x1096ca=await _0x39a5da['getCapabilities'](),_0x58727d=await _0x39a5da[_0x422768(0x1e5)](),_0x2f4468={},_0x51cd58=Object[_0x422768(0x200)](_0x58727d[_0x422768(0x1e4)]()['map_']),_0x45f10f={'product':_0x528920[_0x422768(0x1d3)](getObservabilityLinkedProductName,_0x51cd58),'capabilities':_0x51cd58,'platform':_0x1096ca[_0x422768(0x1ee)](),'platform_version':_0x1096ca[_0x422768(0x1b4)](_0x528920['VJKgK'])?_0x1096ca[_0x422768(0x1b4)](_0x528920['VJKgK']):_0x528920[_0x422768(0x1d3)](getPlatformVersion,_0x528920[_0x422768(0x1be)](global[_0x422768(0x1b0)],_0x528920[_0x422768(0x1b1)])),'browser':_0x1096ca[_0x422768(0x1b6)](),'browser_version':_0x1096ca['getBrowserVersion'](),'session_id':_0x58727d[_0x422768(0x1e7)]()};global['__cloud_provider___']?_0x2f4468[global[_0x422768(0x1b0)]]=_0x45f10f:_0x2f4468[_0x528920['bioXU']]=_0x45f10f,process[_0x422768(0x1b3)](_0x422768(0x1f8)+process['pid'],{'timestamp':new Date()[_0x422768(0x1ae)](),'level':null,'message':null,'kind':_0x528920[_0x422768(0x1ec)],'http_response':_0x2f4468,'uuid':_0xb0a0aa});}catch(_0x568bf2){_0x528920['dSavJ'](debug,_0x422768(0x1ce)+_0x568bf2);}},exports[a36_0x3c699b(0x1d9)]=_0x222d2a=>{const _0x4fab62=a36_0x3c699b,_0x1a0bd4={};_0x1a0bd4[_0x4fab62(0x1d1)]=function(_0x428afc,_0x1eed2d){return _0x428afc!==_0x1eed2d;},_0x1a0bd4[_0x4fab62(0x1b5)]=_0x4fab62(0x1d0),_0x1a0bd4[_0x4fab62(0x1f3)]=_0x4fab62(0x201),_0x1a0bd4[_0x4fab62(0x1c9)]=function(_0x550c72,_0x526fc1){return _0x550c72!==_0x526fc1;},_0x1a0bd4[_0x4fab62(0x1cb)]=_0x4fab62(0x202);const _0x3ee05d=_0x1a0bd4,_0x1c5106=_0x222d2a['suites'][_0x4fab62(0x1de)]((_0x1e7e7b,_0x3ef23e)=>{const _0x4e4252=_0x4fab62,_0x2079c6=exports[_0x4e4252(0x1d9)](_0x3ef23e);return _0x2079c6&&(_0x1e7e7b=_0x1e7e7b['concat'](_0x2079c6)),_0x1e7e7b;},[]),_0x402ff4=_0x222d2a[_0x4fab62(0x1ac)][_0x4fab62(0x1fc)](_0x5d4ec8=>{const _0x5a3695=_0x4fab62,_0x33e042=_0x3ee05d[_0x5a3695(0x1d1)](_0x5d4ec8[_0x5a3695(0x1fe)],_0x3ee05d[_0x5a3695(0x1b5)])&&!_0x5d4ec8[_0x5a3695(0x1f1)]&&_0x3ee05d['gcwBc'](_0x5d4ec8[_0x5a3695(0x1ed)],_0x3ee05d[_0x5a3695(0x1f3)])&&_0x3ee05d[_0x5a3695(0x1c9)](_0x5d4ec8[_0x5a3695(0x1ed)],_0x3ee05d['XyFKw'])&&!_0x5d4ec8['pending'];return _0x33e042;});return _0x402ff4[_0x4fab62(0x1c4)](_0x1c5106);};
1
+ const a36_0x82bc80=a36_0xef87;function a36_0x5002(){const _0x39d6d7=['hook','GEXDI','344326vTcAhj','_beforeEach','4AHKmtp','1390835oclHKO','RyfDd','generic','757420qbgKsH','jvqaS','SaOdh','4973464MNCvbg','vSSqi','browserstack','rROSo','_afterAll','markedStatus','concat','getHookSkippedTests','getBrowserVersion','hook:','parent','DQdvW','getHooksForTest','map_','getHookDetails','mapTestHooks','DHDoi','failed','rIsBL','dXzlg','reduce','get','platformVersion','JftxJ','nakQP','YcAqX','AWCPj','ewylw','hookAnalyticsId','VIyCN','3618588AGEHqA','MCuOw','tAfxT','KeGGC','bs:addPlatformDetails:','Mksvc','state','ejqWA','../../../../package.json','1037877QggzvW','uuid','emit','OvcNY','__cloud_provider___','QHLmA','ZPhGR','_afterEach','forEach','PGOpT','unknown_grid','GgPWL','2213470lDJwCx','OdLzQ','kQKtb','passed','_beforeAll','TEST_PLATFORM','toJSON','../../../helpers/test-observability/constants','tests','sendPlatformDetails','../../../helpers/test-observability/utils','split','../../../helpers/helper','getCapabilities','RtBpS','slice','indexOf'];a36_0x5002=function(){return _0x39d6d7;};return a36_0x5002();}function a36_0xef87(_0x25f584,_0x2a1de5){const _0x50023d=a36_0x5002();return a36_0xef87=function(_0xef87cf,_0x6c63e){_0xef87cf=_0xef87cf-0x19c;let _0x756f9d=_0x50023d[_0xef87cf];return _0x756f9d;},a36_0xef87(_0x25f584,_0x2a1de5);}(function(_0x894bb,_0x25d2df){const _0x3a4658=a36_0xef87,_0x39eefe=_0x894bb();while(!![]){try{const _0x420777=-parseInt(_0x3a4658(0x1ea))/0x1+parseInt(_0x3a4658(0x1a1))/0x2+parseInt(_0x3a4658(0x1cb))/0x3*(parseInt(_0x3a4658(0x19d))/0x4)+parseInt(_0x3a4658(0x19e))/0x5+parseInt(_0x3a4658(0x1c2))/0x6+-parseInt(_0x3a4658(0x1d7))/0x7+-parseInt(_0x3a4658(0x1a4))/0x8;if(_0x420777===_0x25d2df)break;else _0x39eefe['push'](_0x39eefe['shift']());}catch(_0xfa698b){_0x39eefe['push'](_0x39eefe['shift']());}}}(a36_0x5002,0x4f083));const {v4:uuidv4}=require(a36_0x82bc80(0x1cc)),{name,version}=require(a36_0x82bc80(0x1ca)),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a36_0x82bc80(0x1e1)),{consoleHolder}=require(a36_0x82bc80(0x1de)),{getPlatformVersion}=require(a36_0x82bc80(0x1e3)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils'),{isFunction}=require('lodash'),{patchConsoleLogger}=require(a36_0x82bc80(0x1e1));patchConsoleLogger(),exports['getTestEnv']=()=>{const _0x277b9c=a36_0x82bc80,_0x2964db={'DHDoi':_0x277b9c(0x1a0),'sklKK':function(_0x4229e3){return _0x4229e3();}};return{'ci':_0x2964db[_0x277b9c(0x1b4)],'key':_0x2964db['sklKK'](uuidv4),'version':version,'collector':'js-'+name};},exports[a36_0x82bc80(0x1b2)]=_0x113056=>{const _0x27d4f9=a36_0x82bc80,_0xfc82cb={};_0xfc82cb[_0x27d4f9(0x1bd)]=function(_0x122b8a,_0x2e468c){return _0x122b8a!==_0x2e468c;},_0xfc82cb['AWCPj']='string',_0xfc82cb[_0x27d4f9(0x1bf)]=function(_0x11b838,_0x3802d8){return _0x11b838!==_0x3802d8;},_0xfc82cb[_0x27d4f9(0x1a3)]=_0x27d4f9(0x1ad),_0xfc82cb['vSSqi']=function(_0x7249f4,_0x2698ad){return _0x7249f4!==_0x2698ad;},_0xfc82cb[_0x27d4f9(0x1c7)]=_0x27d4f9(0x1e8);const _0x4de810=_0xfc82cb;if(!_0x113056||_0x4de810[_0x27d4f9(0x1bd)](typeof _0x113056,_0x4de810[_0x27d4f9(0x1be)]))return[null,null];if(_0x4de810[_0x27d4f9(0x1bf)](_0x113056[_0x27d4f9(0x1e7)](_0x4de810[_0x27d4f9(0x1a3)]),-0x1)){const _0x4c0468=_0x113056[_0x27d4f9(0x1e2)](_0x4de810[_0x27d4f9(0x1a3)]);return[_0x4c0468[0x0][_0x27d4f9(0x1e6)](0x0,-0x1)[_0x27d4f9(0x1e2)]('\x22')[0x1],_0x4c0468[0x1]['substring'](0x1)];}else{if(_0x4de810[_0x27d4f9(0x1a5)](_0x113056[_0x27d4f9(0x1e7)](_0x4de810[_0x27d4f9(0x1c7)]),-0x1)){const _0x14ba0a=_0x113056[_0x27d4f9(0x1e2)](_0x4de810['Mksvc']);return[_0x14ba0a[0x0][_0x27d4f9(0x1e6)](0x0,-0x1)['split']('\x22')[0x1],_0x113056];}}return[null,null];},exports[a36_0x82bc80(0x1b0)]=_0x387f79=>{const _0x3e6ddf=a36_0x82bc80,_0x5301e8={'OvcNY':function(_0x4aada6,_0x152d0d){return _0x4aada6(_0x152d0d);},'GgPWL':'_beforeAll','DQdvW':_0x3e6ddf(0x1a8),'tAfxT':_0x3e6ddf(0x19c),'RyfDd':'_afterEach'};if(!_0x387f79||!_0x387f79[_0x3e6ddf(0x1ae)])return[];const _0xd4fbdd=[];return[_0x5301e8[_0x3e6ddf(0x1d6)],_0x5301e8[_0x3e6ddf(0x1af)],_0x5301e8[_0x3e6ddf(0x1c4)],_0x5301e8[_0x3e6ddf(0x19f)]][_0x3e6ddf(0x1d3)](_0xd46d5b=>{const _0x399651=_0x3e6ddf,_0x32f688=_0x387f79[_0x399651(0x1ae)][_0xd46d5b]||[];_0x32f688[_0x399651(0x1d3)](_0x385c0d=>{const _0x2e3317=_0x399651;_0x385c0d['hookAnalyticsId']&&!_0x5301e8[_0x2e3317(0x1ce)](isInternalHook,_0x385c0d['fn'])&&_0xd4fbdd['push'](_0x385c0d[_0x2e3317(0x1c0)]);});}),[..._0xd4fbdd,...exports[_0x3e6ddf(0x1b0)](_0x387f79[_0x3e6ddf(0x1ae)])];},exports['mapTestHooks']=_0x67c8f2=>{const _0x7bda51=a36_0x82bc80,_0x9a98cc={'KeGGC':function(_0x4c599d){return _0x4c599d();},'rIsBL':function(_0x1f1525,_0x222b19){return _0x1f1525===_0x222b19;},'PGOpT':_0x7bda51(0x1d2),'dXzlg':function(_0x5cd79b){return _0x5cd79b();},'SIBPL':_0x7bda51(0x1db),'ZPhGR':'_afterAll','OdLzQ':_0x7bda51(0x19c)};if(!_0x67c8f2||!_0x67c8f2[_0x7bda51(0x1ae)])return;[_0x9a98cc['SIBPL'],_0x9a98cc[_0x7bda51(0x1d1)],_0x9a98cc[_0x7bda51(0x1d8)],_0x9a98cc['PGOpT']][_0x7bda51(0x1d3)](_0x1f8cab=>{const _0x36533a=_0x7bda51,_0x113328=_0x67c8f2[_0x36533a(0x1ae)][_0x1f8cab]||[];_0x113328['forEach'](_0x59eb14=>{const _0x513e06=_0x36533a;if(!_0x59eb14['hookAnalyticsId'])_0x59eb14[_0x513e06(0x1c0)]=_0x9a98cc[_0x513e06(0x1c5)](uuidv4);else _0x59eb14[_0x513e06(0x1a9)]&&_0x9a98cc[_0x513e06(0x1b6)](_0x1f8cab,_0x9a98cc[_0x513e06(0x1d4)])&&(_0x59eb14[_0x513e06(0x1c0)]=_0x9a98cc[_0x513e06(0x1b7)](uuidv4),delete _0x59eb14[_0x513e06(0x1a9)]);});}),exports[_0x7bda51(0x1b3)](_0x67c8f2[_0x7bda51(0x1ae)]);},exports[a36_0x82bc80(0x1e0)]=async(_0xc1f1de,_0x562d4f)=>{const _0x2ec330=a36_0x82bc80,_0xa3dc54={'bSoqq':function(_0x1c5fd9){return _0x1c5fd9();},'RtBpS':function(_0x169f68,_0xbf1b06){return _0x169f68(_0xbf1b06);},'jvqaS':_0x2ec330(0x1ba),'QHLmA':function(_0x3307e7,_0x56e921){return _0x3307e7===_0x56e921;},'JftxJ':_0x2ec330(0x1a6),'rROSo':_0x2ec330(0x1d5),'ejqWA':_0x2ec330(0x1dc)};try{if(!_0xa3dc54['bSoqq'](shouldProcessEventForTesthub))return;const _0x550f03=await _0xc1f1de[_0x2ec330(0x1e4)](),_0x431a53=await _0xc1f1de['getSession'](),_0x13cd6f={},_0x21527e=Object['fromEntries'](_0x431a53[_0x2ec330(0x1e4)]()[_0x2ec330(0x1b1)]),_0x15cc7f={'product':_0xa3dc54['RtBpS'](getObservabilityLinkedProductName,_0x21527e),'capabilities':_0x21527e,'platform':_0x550f03['getPlatform'](),'platform_version':_0x550f03[_0x2ec330(0x1b9)](_0xa3dc54[_0x2ec330(0x1a2)])?_0x550f03[_0x2ec330(0x1b9)](_0xa3dc54[_0x2ec330(0x1a2)]):_0xa3dc54[_0x2ec330(0x1e5)](getPlatformVersion,_0xa3dc54[_0x2ec330(0x1d0)](global[_0x2ec330(0x1cf)],_0xa3dc54[_0x2ec330(0x1bb)])),'browser':_0x550f03['getBrowserName'](),'browser_version':_0x550f03[_0x2ec330(0x1ac)](),'session_id':_0x431a53[_0x2ec330(0x1dd)]()};global[_0x2ec330(0x1cf)]?_0x13cd6f[global[_0x2ec330(0x1cf)]]=_0x15cc7f:_0x13cd6f[_0xa3dc54[_0x2ec330(0x1a7)]]=_0x15cc7f,process[_0x2ec330(0x1cd)](_0x2ec330(0x1c6)+process['pid'],{'timestamp':new Date()['toISOString'](),'level':null,'message':null,'kind':_0xa3dc54[_0x2ec330(0x1c9)],'http_response':_0x13cd6f,'uuid':_0x562d4f});}catch(_0x5d513d){_0xa3dc54[_0x2ec330(0x1e5)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x5d513d);}},exports['getHookSkippedTests']=_0x67854e=>{const _0x6efd5=a36_0x82bc80,_0x1de42f={};_0x1de42f[_0x6efd5(0x1c3)]=function(_0xc7397,_0x507e31){return _0xc7397!==_0x507e31;},_0x1de42f[_0x6efd5(0x1e9)]=_0x6efd5(0x1e8),_0x1de42f['kQKtb']=_0x6efd5(0x1da),_0x1de42f[_0x6efd5(0x1c1)]=function(_0x1d25c7,_0x3a8a5d){return _0x1d25c7!==_0x3a8a5d;},_0x1de42f[_0x6efd5(0x1bc)]=_0x6efd5(0x1b5);const _0x3f881b=_0x1de42f,_0x11840b=_0x67854e['suites'][_0x6efd5(0x1b8)]((_0xfb4747,_0x9a84cc)=>{const _0x1765b0=_0x6efd5,_0x1ea64f=exports[_0x1765b0(0x1ab)](_0x9a84cc);return _0x1ea64f&&(_0xfb4747=_0xfb4747[_0x1765b0(0x1aa)](_0x1ea64f)),_0xfb4747;},[]),_0x3812b2=_0x67854e[_0x6efd5(0x1df)]['filter'](_0x429a18=>{const _0x309001=_0x6efd5,_0x310f21=_0x3f881b['MCuOw'](_0x429a18['type'],_0x3f881b['GEXDI'])&&!_0x429a18[_0x309001(0x1a9)]&&_0x3f881b[_0x309001(0x1c3)](_0x429a18[_0x309001(0x1c8)],_0x3f881b[_0x309001(0x1d9)])&&_0x3f881b[_0x309001(0x1c1)](_0x429a18['state'],_0x3f881b[_0x309001(0x1bc)])&&!_0x429a18['pending'];return _0x310f21;});return _0x3812b2[_0x6efd5(0x1aa)](_0x11840b);};
@@ -1 +1 @@
1
- const a37_0x502318=a37_0x2b31;function a37_0x2b31(_0x154d30,_0x3d873e){const _0x14940b=a37_0x1494();return a37_0x2b31=function(_0x2b3113,_0x31b2c1){_0x2b3113=_0x2b3113-0x9d;let _0x4e903d=_0x14940b[_0x2b3113];return _0x4e903d;},a37_0x2b31(_0x154d30,_0x3d873e);}function a37_0x1494(){const _0x16334a=['CWOFj','thRHC','MDmqQ','testAnalyticsId','JWWbv','currentTest','afterAll','accessibilityScanStarted','pJjgB','isAccessibilityPlatform','getCurrentUrl','app','measureWrapper','setGlobal','__platformCaps','\x20-\x20','112234tDTrET','ZYaCP','yueeA','capabilities','start','winstonLogger','BROWSERSTACK_TESTHUB_UUID','OeObx','SDK_HOOK','fQHHZ','length','faQOx','lZjrG','HwmYJ','../../helpers/performance/performance-tester','6DFcSZx','12AwLhbG','2412468OpTHpC','uRPHT','info','klAWH','aisEb','fnzFr','now','SYNC','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','zPCsE','join','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','SreOG','beforeEach','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','MWRHP','Ywfvr','Passed','dsPkZ','QCFhT','IhurE','format','LmbNj','executeAsyncScript','then','ObservabilitySync:','protocol','oMdfv','state','jtnMW','index','FyFcl','error','bBZJn','vhjBF','bstackA11yShouldScan','gNnKd','DbaWI','../../helpers/logger','__error_messages__','titlePath','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','https:','__sessionFailed','jCuTV','getGlobal','passed','67275hpYUTA','stringify','YqpFp','ckgxp','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','browserstackSessionName','finally','SESSION_STATUS','percy','shouldScanTestForAccessibility','session_','836715xGsFlp','driverCleanup','kXesL','timeout','shift','executeScript','initQuit','message','http:','fkbWw','mochaHooks','ikUVG','qQLof','OnvGM','\x20|\x20','percyCaptureMode','isArray','Mocha','Performing\x20scan\x20before\x20saving\x20results','ENV_VAR','WxHiF','debug','kUcPi','../utils/constants','beforeAll','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','thBuildUuid','../../helpers/helper','WNzlm','Failed:\x20','QJJZK','wtcSA','RXEma','failed','__drivers','util','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','.\x20Error\x20:','SkBYh','jCreF','afterEach','761684zxZTUl','uTzML','afterTest','err','\x22}}','XDBPZ','./test-observability/mochaUtils','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','ULLLS','cBDGU','dGnbI','PJInR',',\x22level\x22:\x20\x22','729952jcXiau','__skipSessionName','SXzzl','quitCount_','676774aByymE','CwQdB','sessionName','ZkHoL','startMonitoring','browserstackTestName','env','abCvF','BROWSERSTACK_TESTHUB_JWT','testcase','UXwcR','../../helpers/accessibility-automation/helper','qXagJ','PLjmf','MSuxM','MULKx','zcAIp','SAVE_RESULTS','push'];a37_0x1494=function(){return _0x16334a;};return a37_0x1494();}(function(_0x4ab87b,_0x3f490e){const _0x1d3e21=a37_0x2b31,_0x102edc=_0x4ab87b();while(!![]){try{const _0x3dd6c4=parseInt(_0x1d3e21(0xcd))/0x1+parseInt(_0x1d3e21(0x135))/0x2*(-parseInt(_0x1d3e21(0x144))/0x3)+parseInt(_0x1d3e21(0x101))/0x4+parseInt(_0x1d3e21(0xd8))/0x5+parseInt(_0x1d3e21(0x145))/0x6*(parseInt(_0x1d3e21(0x112))/0x7)+-parseInt(_0x1d3e21(0x10e))/0x8+-parseInt(_0x1d3e21(0x9d))/0x9;if(_0x3dd6c4===_0x3f490e)break;else _0x102edc['push'](_0x102edc['shift']());}catch(_0xf83926){_0x102edc['push'](_0x102edc['shift']());}}}(a37_0x1494,0x23db9));const util=require(a37_0x502318(0xfb)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a37_0x502318(0x11d)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a37_0x502318(0xef)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a37_0x502318(0x107)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a37_0x502318(0xf3)),PerformanceTester=require(a37_0x502318(0x143)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require('../../helpers/performance/constants'),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require('../../helpers/globals'),logger=require(a37_0x502318(0xc4))[a37_0x502318(0x13a)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require('../../helpers/testhub/constants');exports[a37_0x502318(0xe2)]={'beforeAll'(){const _0x18f339=a37_0x502318,_0x1bb342={'zvwYI':function(_0x55eda1,_0x1a5d10,_0x20bdf4,_0x5f2512){return _0x55eda1(_0x1a5d10,_0x20bdf4,_0x5f2512);},'QJJZK':_0x18f339(0xf9),'HwmYJ':_0x18f339(0xe6),'wNHUm':function(_0x2c7d2c,_0x477e92,_0x3fac24){return _0x2c7d2c(_0x477e92,_0x3fac24);},'zPCsE':'passed','BdHWa':function(_0x17ca12){return _0x17ca12();},'uTzML':function(_0x559b70,_0x50d451,_0x53a322){return _0x559b70(_0x50d451,_0x53a322);},'SXzzl':'index','ZKBVR':_0x18f339(0xf0)};PerformanceTester[_0x18f339(0x116)]();const _0x26d39a='browserstack internal helper hook';PerformanceTester[_0x18f339(0x131)](PerformanceSdkEvents[_0x18f339(0x13d)],()=>{const _0x3e20cb=_0x18f339,_0x224fa7={'eeysy':function(_0x49eb82,_0x122567,_0x390ce8,_0x4bd8ec){return _0x1bb342['zvwYI'](_0x49eb82,_0x122567,_0x390ce8,_0x4bd8ec);},'QCFhT':_0x1bb342[_0x3e20cb(0xf6)],'jCreF':_0x1bb342[_0x3e20cb(0x142)],'mmORq':function(_0x3e6a06,_0x428c2e,_0x3bc049){return _0x1bb342['wNHUm'](_0x3e6a06,_0x428c2e,_0x3bc049);},'LmbNj':_0x1bb342[_0x3e20cb(0xa6)],'MULKx':function(_0x5efb6f){return _0x1bb342['BdHWa'](_0x5efb6f);},'FACfk':function(_0x12cbc4,_0x2b99c7,_0x47780f){const _0x1935b8=_0x3e20cb;return _0x1bb342[_0x1935b8(0x102)](_0x12cbc4,_0x2b99c7,_0x47780f);}};global[_0x3e20cb(0xc5)]=[],global[_0x3e20cb(0xc9)]=![],global['driverCleanup']=async()=>{const _0x3fb242=_0x3e20cb;let _0xa19231=![];try{await global[_0x3fb242(0xfa)][0x0][_0x3fb242(0xd7)],_0xa19231=!![],global[_0x3fb242(0xc9)]?await _0x224fa7['eeysy'](markSessionStatus,global[_0x3fb242(0xfa)][0x0],_0x224fa7[_0x3fb242(0xb1)],global[_0x3fb242(0xc5)][_0x3fb242(0xa7)](_0x224fa7[_0x3fb242(0xff)])):await _0x224fa7['mmORq'](markSessionStatus,global[_0x3fb242(0xfa)][0x0],_0x224fa7[_0x3fb242(0xb4)]);}catch(_0x1d21b9){logger[_0x3fb242(0xed)](_0x3fb242(0xf1)+_0x1d21b9);}global[_0x3fb242(0xc5)]=[],global[_0x3fb242(0xc9)]=![];if(_0xa19231)try{try{_0x224fa7[_0x3fb242(0x121)](shouldProcessEventForTesthub)&&(global[_0x3fb242(0xfa)][0x0]&&await _0x224fa7['FACfk'](sendPlatformDetails,global['__drivers'][0x0],this[_0x3fb242(0x12a)]?this[_0x3fb242(0x12a)][_0x3fb242(0x128)]:null));}catch(_0x1b7c67){logger[_0x3fb242(0xed)]('Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20'+_0x1b7c67);}await global['__drivers'][0x0][_0x3fb242(0xde)]();}catch(_0xb18591){logger[_0x3fb242(0xed)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0xb18591);}};},{'platform':_0x1bb342[_0x18f339(0x102)](nestedKeyValue,global['__platformCaps'],[_0x1bb342[_0x18f339(0x110)]]),'hookType':_0x1bb342['ZKBVR']})();},'beforeEach'(_0x834ca){const _0x527eb2=a37_0x502318,_0xdd8af6={'WNzlm':function(_0x483073,_0x5a8173){return _0x483073>_0x5a8173;},'FyFcl':function(_0xc8a933,_0x8ebd7b){return _0xc8a933>_0x8ebd7b;},'ckgxp':_0x527eb2(0x134),'uRPHT':function(_0x2ef95f,_0x374bf2,_0x4db249){return _0x2ef95f(_0x374bf2,_0x4db249);},'ZYaCP':_0x527eb2(0xc1),'OnvGM':function(_0xfb60d2){return _0xfb60d2();},'jCuTV':_0x527eb2(0x12e),'JWWbv':function(_0x384819,_0x11c28c){return _0x384819===_0x11c28c;},'SkBYh':_0x527eb2(0xe0),'zcAIp':_0x527eb2(0xc8),'IJwhK':_0x527eb2(0x108),'IRghb':'Automate\x20test\x20case\x20execution\x20has\x20started.','IhurE':function(_0x53dfcb){return _0x53dfcb();},'qXagJ':_0x527eb2(0x117),'cBDGU':function(_0x4f4bf8,_0x3abafd,_0x2529db){return _0x4f4bf8(_0x3abafd,_0x2529db);},'dsPkZ':'index','OeObx':_0x527eb2(0xaa)};globals['setGlobal'](_0xdd8af6[_0x527eb2(0x11e)],this[_0x527eb2(0x12a)][_0x527eb2(0xc6)]()[_0x527eb2(0xa7)](_0xdd8af6[_0x527eb2(0xd0)])),PerformanceTester[_0x527eb2(0x131)](PerformanceSdkEvents[_0x527eb2(0x13d)],()=>{const _0x15face={'XDBPZ':function(_0x310d0e){return _0xdd8af6['OnvGM'](_0x310d0e);}},_0x2c7193='browserstack internal helper hook';new Promise(async _0x122319=>{const _0x106c11=a37_0x2b31;let _0x121cbf=!![];try{_0xdd8af6[_0x106c11(0xf4)](global[_0x106c11(0xfa)][_0x106c11(0x13f)],0x1)&&(await global[_0x106c11(0xd9)](),global[_0x106c11(0xfa)]['shift']()),_0xdd8af6[_0x106c11(0xbd)](global[_0x106c11(0xfa)][0x0][_0x106c11(0x111)],0x0)&&(_0x121cbf=![],await global[_0x106c11(0xd9)]());}catch(_0x4421fa){logger[_0x106c11(0xed)](_0x106c11(0xac)+_0x4421fa);}try{Array[_0x106c11(0xe8)](global[_0x106c11(0xfa)])&&global[_0x106c11(0xfa)][0x0]&&(global['__drivers'][0x0][_0x106c11(0xd2)]=this[_0x106c11(0x12a)][_0x106c11(0xc6)]()[_0x106c11(0xa7)](_0xdd8af6[_0x106c11(0xd0)])),global[_0x106c11(0xd2)]=this[_0x106c11(0x12a)][_0x106c11(0xc6)]()[_0x106c11(0xa7)](_0xdd8af6['ckgxp']);}catch(_0x5dca9b){logger[_0x106c11(0xed)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0x5dca9b);}this[_0x106c11(0x12a)][_0x106c11(0xd6)]=_0xdd8af6[_0x106c11(0x9e)](shouldScanTestForAccessibility,this['currentTest'][_0x106c11(0xc6)](),!![]),globals[_0x106c11(0x132)](_0xdd8af6[_0x106c11(0x136)],this[_0x106c11(0x12a)][_0x106c11(0xd6)]),this[_0x106c11(0x12a)][_0x106c11(0x12c)]=!![];if(_0xdd8af6[_0x106c11(0xe5)](isAccessibilityAutomationSession)&&_0x121cbf&&Array[_0x106c11(0xe8)](global[_0x106c11(0xfa)])&&_0xdd8af6[_0x106c11(0xf4)](global[_0x106c11(0xfa)][_0x106c11(0x13f)],0x0)&&globals[_0x106c11(0xcb)](_0xdd8af6[_0x106c11(0xca)]))try{const _0x1cbf03=await global[_0x106c11(0xfa)][0x0][_0x106c11(0xd7)];if(_0x1cbf03){let _0x10aaf8=!![];const _0x1fa5fc=await global[_0x106c11(0xfa)][0x0][_0x106c11(0x12f)]();let _0x353531;try{_0x353531=new URL(_0x1fa5fc);}catch(_0x530edc){_0x10aaf8=![];}_0x10aaf8=_0xdd8af6[_0x106c11(0x129)](_0x353531[_0x106c11(0xb8)],_0xdd8af6[_0x106c11(0xfe)])||_0xdd8af6[_0x106c11(0x129)](_0x353531['protocol'],_0xdd8af6[_0x106c11(0x122)]),_0x10aaf8&&(this['currentTest'][_0x106c11(0xd6)]&&logger[_0x106c11(0x9f)](_0xdd8af6['IJwhK'])),this['currentTest'][_0x106c11(0x12c)]=this[_0x106c11(0x12a)][_0x106c11(0xd6)],this[_0x106c11(0x12a)][_0x106c11(0xd6)]&&logger[_0x106c11(0x9f)](_0xdd8af6['IRghb']);}}catch(_0x301419){logger[_0x106c11(0xbe)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x106c11(0xb3)](_0x301419));}_0xdd8af6[_0x106c11(0xb2)](_0x122319);})['then'](()=>{const _0x366f71=a37_0x2b31;_0x15face[_0x366f71(0x106)](_0x834ca);});},{'platform':_0xdd8af6[_0x527eb2(0x10a)](nestedKeyValue,global[_0x527eb2(0x133)],[_0xdd8af6[_0x527eb2(0xb0)]]),'hookType':_0xdd8af6[_0x527eb2(0x13c)]})();},'afterEach'(_0x1c05ad){const _0x5e5af0=a37_0x502318,_0x553f94={'RXEma':function(_0x421c93,_0x500e73){return _0x421c93!==_0x500e73;},'vhjBF':_0x5e5af0(0xcc),'oMdfv':function(_0x1b7ea1,_0x306a85,_0x468603){return _0x1b7ea1(_0x306a85,_0x468603);},'kUcPi':function(_0x4d30db,_0x8956b7){return _0x4d30db+_0x8956b7;},'MDmqQ':_0x5e5af0(0xf5),'wtcSA':_0x5e5af0(0xbe),'UXwcR':_0x5e5af0(0xaf),'CwQdB':_0x5e5af0(0x9f),'DbaWI':function(_0x2cf816,_0x44df6c){return _0x2cf816>_0x44df6c;},'fnzFr':function(_0x30084d,_0x4fd186){return _0x30084d===_0x4fd186;},'ZkHoL':_0x5e5af0(0x11b),'kXesL':function(_0x1934fb,_0x81ccfe){return _0x1934fb>_0x81ccfe;},'YqpFp':'appium:app','aisEb':function(_0x53fe6f,_0x18fb2c,_0x5f323d,_0x4d440b){return _0x53fe6f(_0x18fb2c,_0x5f323d,_0x4d440b);},'PJInR':'isAccessibilityPlatform','PLjmf':'bstackA11yShouldScan','ULLLS':_0x5e5af0(0xfc),'XcwTY':_0x5e5af0(0xea),'MSuxM':_0x5e5af0(0x103),'qQLof':_0x5e5af0(0xa5),'yueeA':function(_0x198cae){return _0x198cae();},'WxHiF':function(_0x40f7f7){return _0x40f7f7();},'bBZJn':function(_0x4116cc,_0x573ab9,_0x4d9a9c){return _0x4116cc(_0x573ab9,_0x4d9a9c);},'MWRHP':_0x5e5af0(0xed),'kBJLZ':'\x20-\x20','klAWH':_0x5e5af0(0xe9),'fQHHZ':function(_0x1b94af,_0xd513ac,_0x5f5410){return _0x1b94af(_0xd513ac,_0x5f5410);},'fkbWw':_0x5e5af0(0xbc),'dGnbI':_0x5e5af0(0x100)},_0x5ec25d='browserstack internal helper hook';this[_0x5e5af0(0xdb)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x553f94[_0x5e5af0(0xa0)]]),global[_0x5e5af0(0x114)]=this[_0x5e5af0(0x12a)]['titlePath']()[_0x5e5af0(0xa7)](_0x553f94['kBJLZ']),PerformanceTester[_0x5e5af0(0x131)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x3ddc37={'SreOG':_0x553f94['kBJLZ'],'pJjgB':function(_0x2a9497){const _0x1c16cd=a37_0x2b31;return _0x553f94[_0x1c16cd(0x137)](_0x2a9497);}},_0x32710d=async(_0x876182,_0x1149cd)=>{const _0x2de3cf=a37_0x2b31;await global[_0x2de3cf(0xfa)][0x0][_0x2de3cf(0xdd)](_0x2de3cf(0xc7)+_0x876182+_0x2de3cf(0x10d)+_0x1149cd+_0x2de3cf(0x105));};new Promise(async _0x4f57a0=>{const _0x5a072a=a37_0x2b31,_0x31a22c={'CWOFj':function(_0x1a662b,_0xc1eff7){const _0x4e2dba=a37_0x2b31;return _0x553f94[_0x4e2dba(0xf8)](_0x1a662b,_0xc1eff7);},'thRHC':_0x553f94[_0x5a072a(0xc0)],'gNnKd':function(_0x29bdb1,_0x448b97,_0x43c6e7){const _0x33fd2b=_0x5a072a;return _0x553f94[_0x33fd2b(0xb9)](_0x29bdb1,_0x448b97,_0x43c6e7);},'amTCs':function(_0xdf4a1a,_0x1397e8){const _0x1b7de1=_0x5a072a;return _0x553f94[_0x1b7de1(0xee)](_0xdf4a1a,_0x1397e8);},'faQOx':_0x553f94[_0x5a072a(0x127)],'ikUVG':_0x553f94[_0x5a072a(0xf7)],'WsSOr':_0x553f94[_0x5a072a(0x11c)],'sfPmg':_0x553f94[_0x5a072a(0x113)]};try{_0x553f94[_0x5a072a(0xc3)](global['__drivers'][_0x5a072a(0x13f)],0x1)&&(await global[_0x5a072a(0xd9)](),global[_0x5a072a(0xfa)][_0x5a072a(0xdc)](),global[_0x5a072a(0xc5)]=[],global[_0x5a072a(0xc9)]=![]);try{if(global[_0x5a072a(0xd5)]&&_0x553f94[_0x5a072a(0xa2)](global[_0x5a072a(0xe7)],_0x553f94[_0x5a072a(0x115)])&&global[_0x5a072a(0xfa)][0x0]){const _0x171709=_0x553f94[_0x5a072a(0xda)](global[_0x5a072a(0x138)]['length'],0x0)?!!global['capabilities'][0x0][_0x5a072a(0x130)]||!!global[_0x5a072a(0x138)][0x0][_0x553f94[_0x5a072a(0xcf)]]:![],_0x7f52cd={};_0x7f52cd[_0x5a072a(0x130)]=_0x171709,await _0x553f94[_0x5a072a(0xa1)](percyAutoCapture,global[_0x5a072a(0xfa)][0x0],_0x553f94['ZkHoL'],_0x7f52cd);}}catch(_0x52aa7a){logger[_0x5a072a(0xed)](_0x5a072a(0xab)+_0x52aa7a);}!global[_0x5a072a(0x10f)]&&(await PerformanceTester[_0x5a072a(0x131)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x17cef6=_0x5a072a;await global[_0x17cef6(0xfa)][0x0][_0x17cef6(0xdd)](_0x17cef6(0xa8)+JSON['stringify'](this[_0x17cef6(0x12a)]['titlePath']()['join'](_0x3ddc37[_0x17cef6(0xa9)]))+'}}');})(),global['__drivers'][0x0]['sessionNameSet__']=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x5a072a(0xd4)],async()=>{const _0x2f8b72=_0x5a072a,_0x14e199=_0x31a22c[_0x2f8b72(0x125)](this['currentTest'][_0x2f8b72(0xba)],_0x31a22c[_0x2f8b72(0x126)]);_0x14e199?(global['__sessionFailed']=!![],global[_0x2f8b72(0xc5)][_0x2f8b72(0x124)](this[_0x2f8b72(0x12a)]['err'][_0x2f8b72(0xdf)]),await _0x31a22c[_0x2f8b72(0xc2)](_0x32710d,JSON[_0x2f8b72(0xce)](_0x31a22c['amTCs'](_0x31a22c[_0x2f8b72(0x140)],this[_0x2f8b72(0x12a)][_0x2f8b72(0x104)]['message'])),_0x31a22c[_0x2f8b72(0xe3)])):await _0x31a22c[_0x2f8b72(0xc2)](_0x32710d,JSON[_0x2f8b72(0xce)](_0x31a22c['WsSOr']),_0x31a22c['sfPmg']);})();}catch(_0x568b6f){logger[_0x5a072a(0xed)](_0x5a072a(0xd1)+_0x568b6f);}try{if(this[_0x5a072a(0x12a)][_0x5a072a(0x12c)]&&globals[_0x5a072a(0xcb)](_0x553f94[_0x5a072a(0x10c)])&&globals[_0x5a072a(0xcb)](_0x553f94[_0x5a072a(0x11f)])){logger[_0x5a072a(0x9f)](_0x553f94[_0x5a072a(0x109)]);const _0x3bcc80={};_0x3bcc80['thTestRunUuid']=this['currentTest'][_0x5a072a(0x128)],_0x3bcc80[_0x5a072a(0xf2)]=process[_0x5a072a(0x118)][testHubConstants['ENV_VAR'][_0x5a072a(0x13b)]],_0x3bcc80['thJwtToken']=process[_0x5a072a(0x118)][testHubConstants[_0x5a072a(0xeb)][_0x5a072a(0x11a)]];const _0x9b9f0b=_0x3bcc80;logger['debug']('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x5a072a(0xce)](_0x9b9f0b)),logger[_0x5a072a(0xed)](_0x553f94['XcwTY']);const _0xad997d={};_0xad997d['command']=_0x553f94[_0x5a072a(0x120)],await PerformanceTester[_0x5a072a(0x131)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x27ca56=_0x5a072a;logger['debug'](util[_0x27ca56(0xb3)](await global[_0x27ca56(0xfa)][0x0]['executeAsyncScript'](scripts['performScan'],{'method':global['browserstackSessionName']})));},_0xad997d)(),await PerformanceTester[_0x5a072a(0x131)](PerformanceA11yEvents[_0x5a072a(0x123)],async()=>{const _0x28d71a=_0x5a072a;await global[_0x28d71a(0xfa)][0x0][_0x28d71a(0xb5)](scripts['saveTestResults'],_0x9b9f0b);})(),logger[_0x5a072a(0x9f)](_0x553f94[_0x5a072a(0xe4)]);}}catch(_0x3a1830){logger['error']('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this['currentTest'][_0x5a072a(0xc6)]()+_0x5a072a(0xfd),_0x3a1830);}try{try{if(_0x553f94[_0x5a072a(0x137)](shouldProcessEventForTesthub)){global[_0x5a072a(0xfa)][0x0]&&await _0x553f94[_0x5a072a(0xb9)](sendPlatformDetails,global[_0x5a072a(0xfa)][0x0],this['currentTest']?this['currentTest']['testAnalyticsId']:null);if(_0x553f94[_0x5a072a(0xec)](isBrowserstackInfra)){PerformanceTester[_0x5a072a(0x139)](PerformanceO11yEvents['SYNC']);const _0x11bb00=_0x5a072a(0xb7)+Date[_0x5a072a(0xa3)]();await _0x553f94[_0x5a072a(0xbf)](_0x32710d,JSON[_0x5a072a(0xce)](_0x11bb00),_0x553f94[_0x5a072a(0xad)]),PerformanceTester['end'](PerformanceO11yEvents[_0x5a072a(0xa4)]);}}}catch(_0x5f52eb){logger[_0x5a072a(0xed)]('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x5f52eb),PerformanceTester['end'](PerformanceO11yEvents[_0x5a072a(0xa4)],![],_0x5f52eb);}_0x553f94[_0x5a072a(0xc3)](global[_0x5a072a(0xfa)][0x0]['quitCount_'],0x0)&&await global[_0x5a072a(0xd9)]();}catch(_0x5db4fe){logger[_0x5a072a(0xed)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x5db4fe);}_0x553f94[_0x5a072a(0xec)](_0x4f57a0);})['then'](()=>{const _0x18871e=a37_0x2b31;_0x3ddc37[_0x18871e(0x12d)](_0x1c05ad);});},{'platform':_0x553f94[_0x5e5af0(0x13e)](nestedKeyValue,global[_0x5e5af0(0x133)],[_0x553f94[_0x5e5af0(0xe1)]]),'hookType':_0x553f94[_0x5e5af0(0x10b)]})();},'afterAll'(_0x2e1a4d){const _0x218acd=a37_0x502318,_0x3a315e={'IcPOg':function(_0x369810){return _0x369810();},'jtnMW':_0x218acd(0xe9),'gNKHX':function(_0x199600,_0x10eb21,_0xc4a2a3){return _0x199600(_0x10eb21,_0xc4a2a3);},'abCvF':_0x218acd(0xbc),'Ywfvr':_0x218acd(0x12b)},_0x4bf27e='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x3a315e[_0x218acd(0xbb)]]),PerformanceTester[_0x218acd(0x131)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x17816d=_0x218acd,_0x302a60={'lZjrG':function(_0x354d98){return _0x3a315e['IcPOg'](_0x354d98);}};new Promise(async _0x16af57=>{const _0x43c1cd=a37_0x2b31;await global[_0x43c1cd(0xd9)](),_0x302a60[_0x43c1cd(0x141)](_0x16af57);})[_0x17816d(0xb6)]()[_0x17816d(0xd3)](()=>{_0x3a315e['IcPOg'](_0x2e1a4d);});},{'platform':_0x3a315e['gNKHX'](nestedKeyValue,global[_0x218acd(0x133)],[_0x3a315e[_0x218acd(0x119)]]),'hookType':_0x3a315e[_0x218acd(0xae)]})();}};
1
+ function a37_0x3057(_0x5d8d26,_0x15c3c1){const _0x2ff004=a37_0x2ff0();return a37_0x3057=function(_0x305754,_0x3aaf7b){_0x305754=_0x305754-0x8d;let _0x5adc04=_0x2ff004[_0x305754];return _0x5adc04;},a37_0x3057(_0x5d8d26,_0x15c3c1);}const a37_0x27f424=a37_0x3057;(function(_0x171f3d,_0x1aeea0){const _0x493cbe=a37_0x3057,_0x589714=_0x171f3d();while(!![]){try{const _0x1388a0=-parseInt(_0x493cbe(0x90))/0x1+parseInt(_0x493cbe(0xf0))/0x2*(parseInt(_0x493cbe(0x92))/0x3)+parseInt(_0x493cbe(0xe8))/0x4+parseInt(_0x493cbe(0xa0))/0x5+-parseInt(_0x493cbe(0x125))/0x6+parseInt(_0x493cbe(0x12c))/0x7+parseInt(_0x493cbe(0x95))/0x8;if(_0x1388a0===_0x1aeea0)break;else _0x589714['push'](_0x589714['shift']());}catch(_0x52e9a3){_0x589714['push'](_0x589714['shift']());}}}(a37_0x2ff0,0x3b4f4));function a37_0x2ff0(){const _0x328bb3=['SESSION_STATUS','RcEVq','vsTni','HbDJR','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','__drivers','winstonLogger','message','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','IvVlA','KAvFG','XVuEn','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','info','measureWrapper','../../helpers/logger','fodhA','uCmii','CFPRa','BYUeC','isArray','bIXgS','eOpfK','Passed','afterEach','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','thTestRunUuid','afterAll','percyCaptureMode','fiOuQ','iNQoj','Zuaua','FaPdU','error','UMwUR','PERFORM_SCAN','executeScript','afterTest','CCMOt','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','LleVr','mochaHooks','../utils/constants','hrmhz','MTzty','TafZZ','DQgip','sessionNameSet__','executeAsyncScript','MTnPG','Performing\x20scan\x20before\x20saving\x20results','../../helpers/globals','nRsUT','length','NQXAX','app','YrweN','vXGkG','.\x20Error\x20:','Failed:\x20','shouldScanTestForAccessibility','start','percy','morxK','ObservabilitySync:','794752YvKAHF','zPDPC','zlJSE','end','aKnlW','KdeUs','util','WCauU','190CciKwY','appium:app','PyyIZ','currentTest','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','jeMTT','state','aEUfO','protocol','GAEkB','OrMki','\x20-\x20','Failed\x20to\x20store\x20session\x20name:\x20','GtQot','shift','BROWSERSTACK_TESTHUB_UUID','ncEvh','then','Mocha','jkZcf','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','../../helpers/percy/utils','LjnNB','WIKyi','iHyBa',',\x22level\x22:\x20\x22','Kobkz','titlePath','GNrEN','Automate\x20test\x20case\x20execution\x20has\x20started.','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','BROWSERSTACK_TESTHUB_JWT','JeqLd','finally','debug','oiAzv','fmsNs','NTyFn','oQOxQ','getGlobal','err','EJaXE','__platformCaps','kvOFy','UVOzH','performScan','env','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','xqLTQ','testAnalyticsId','../../helpers/testhub/utils','__error_messages__','command','1098900UVFUVD','isAccessibilityPlatform','../../helpers/helper','KNEPp','browserstackSessionName','setGlobal','initQuit','1590764dLRjnO','LZWig','https:','rzHkN','LAZAF','wETpq','SYNC','../../helpers/performance/performance-tester','capabilities','./test-observability/mochaUtils','ulFgs','../../helpers/performance/constants','driverCleanup','http:','\x22}}','session_','browserstackTestName','quitCount_','rmoFI','format','471226CyvdXv','SDK_HOOK','1752UbYzvY','accessibilityScanStarted','index','2180424HQDBYp','timeout','sessionName','thBuildUuid','saveTestResults','hwWyZ','__sessionFailed','stringify','push','beforeEach','ZLPxO','716675oezckg','ENV_VAR','QuqWV','lakNW','SDkHG','join'];a37_0x2ff0=function(){return _0x328bb3;};return a37_0x2ff0();}const util=require(a37_0x27f424(0xee)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a37_0x27f424(0xd1)),{percyAutoCapture}=require(a37_0x27f424(0x105)),{sendPlatformDetails}=require(a37_0x27f424(0x135)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a37_0x27f424(0x127)),PerformanceTester=require(a37_0x27f424(0x133)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a37_0x27f424(0x137)),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require(a37_0x27f424(0xda)),logger=require(a37_0x27f424(0xb6))[a37_0x27f424(0xad)],{shouldProcessEventForTesthub}=require(a37_0x27f424(0x122)),testHubConstants=require('../../helpers/testhub/constants');exports[a37_0x27f424(0xd0)]={'beforeAll'(){const _0x2512f5=a37_0x27f424,_0x3379c0={'BYUeC':function(_0xcc1ae2,_0x33826e,_0x26335d,_0x5ec5a7){return _0xcc1ae2(_0x33826e,_0x26335d,_0x5ec5a7);},'ulFgs':'failed','duyZs':'\x20|\x20','aKnlW':function(_0x30264b,_0x4f337b,_0x24c247){return _0x30264b(_0x4f337b,_0x24c247);},'UVOzH':'passed','fmsNs':function(_0x31da69){return _0x31da69();},'KNEPp':function(_0x431da1,_0x44a098,_0x442e68){return _0x431da1(_0x44a098,_0x442e68);},'vsTni':'index','kvOFy':'beforeAll'};PerformanceTester['startMonitoring']();const _0x73fa9e='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x2512f5(0x91)],()=>{const _0x5f4bbb=_0x2512f5;global[_0x5f4bbb(0x123)]=[],global[_0x5f4bbb(0x9b)]=![],global[_0x5f4bbb(0x138)]=async()=>{const _0x14a13a=_0x5f4bbb;let _0x573b72=![];try{await global[_0x14a13a(0xac)][0x0][_0x14a13a(0x13b)],_0x573b72=!![],global[_0x14a13a(0x9b)]?await _0x3379c0[_0x14a13a(0xba)](markSessionStatus,global[_0x14a13a(0xac)][0x0],_0x3379c0[_0x14a13a(0x136)],global[_0x14a13a(0x123)]['join'](_0x3379c0['duyZs'])):await _0x3379c0[_0x14a13a(0xec)](markSessionStatus,global[_0x14a13a(0xac)][0x0],_0x3379c0[_0x14a13a(0x11c)]);}catch(_0x23343c){logger[_0x14a13a(0x112)](_0x14a13a(0x10e)+_0x23343c);}global[_0x14a13a(0x123)]=[],global[_0x14a13a(0x9b)]=![];if(_0x573b72)try{try{_0x3379c0[_0x14a13a(0x114)](shouldProcessEventForTesthub)&&(global[_0x14a13a(0xac)][0x0]&&await _0x3379c0[_0x14a13a(0xec)](sendPlatformDetails,global[_0x14a13a(0xac)][0x0],this[_0x14a13a(0xf3)]?this[_0x14a13a(0xf3)]['testAnalyticsId']:null));}catch(_0x1a4a20){logger[_0x14a13a(0x112)]('Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20'+_0x1a4a20);}await global[_0x14a13a(0xac)][0x0][_0x14a13a(0x12b)]();}catch(_0x3c6375){logger['debug'](_0x14a13a(0xaf)+_0x3c6375);}};},{'platform':_0x3379c0[_0x2512f5(0x128)](nestedKeyValue,global[_0x2512f5(0x11a)],[_0x3379c0[_0x2512f5(0xa8)]]),'hookType':_0x3379c0[_0x2512f5(0x11b)]})();},'beforeEach'(_0x3b4398){const _0x5bb323=a37_0x27f424,_0x3a13a4={'aEUfO':function(_0x17fe53){return _0x17fe53();},'Kobkz':function(_0x48c911,_0x4e968f){return _0x48c911>_0x4e968f;},'ZLPxO':_0x5bb323(0xfb),'iHyBa':function(_0x42202d,_0x4a86e7,_0x34cd33){return _0x42202d(_0x4a86e7,_0x34cd33);},'ncEvh':'bstackA11yShouldScan','hrmhz':function(_0x2588fc){return _0x2588fc();},'jkZcf':_0x5bb323(0x126),'Zuaua':function(_0x4b9b28,_0x8fd46f){return _0x4b9b28===_0x8fd46f;},'BZFgx':_0x5bb323(0x139),'LjnNB':_0x5bb323(0x12e),'MfyXu':_0x5bb323(0x104),'NTyFn':_0x5bb323(0x10d),'HbDJR':function(_0x182b58){return _0x182b58();},'ROEsS':_0x5bb323(0x13c),'vXGkG':function(_0x424b88,_0x41d595,_0x45eb57){return _0x424b88(_0x41d595,_0x45eb57);},'CFPRa':_0x5bb323(0x94),'MTnPG':_0x5bb323(0x9e)};globals[_0x5bb323(0x12a)](_0x3a13a4['ROEsS'],this['currentTest'][_0x5bb323(0x10b)]()[_0x5bb323(0xa5)](_0x3a13a4[_0x5bb323(0x9f)])),PerformanceTester[_0x5bb323(0xb5)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x19dac3=_0x5bb323,_0x24a1d1={'PyyIZ':function(_0x3d62c8,_0x14bc53){const _0x639604=a37_0x3057;return _0x3a13a4[_0x639604(0x10a)](_0x3d62c8,_0x14bc53);},'fodhA':function(_0x122519,_0x4f9777){const _0x531d85=a37_0x3057;return _0x3a13a4[_0x531d85(0x10a)](_0x122519,_0x4f9777);},'LZWig':_0x3a13a4[_0x19dac3(0x9f)],'LleVr':function(_0x551927,_0x3573cf,_0xa8ff5e){const _0xa2d35d=_0x19dac3;return _0x3a13a4[_0xa2d35d(0x108)](_0x551927,_0x3573cf,_0xa8ff5e);},'hRvUG':_0x3a13a4[_0x19dac3(0x100)],'eOpfK':function(_0x4daec1){const _0x1ef14e=_0x19dac3;return _0x3a13a4[_0x1ef14e(0xd2)](_0x4daec1);},'JZJge':_0x3a13a4[_0x19dac3(0x103)],'MTzty':function(_0x1670f6,_0x3aa0bd){const _0x4e2236=_0x19dac3;return _0x3a13a4[_0x4e2236(0xc6)](_0x1670f6,_0x3aa0bd);},'WIKyi':_0x3a13a4['BZFgx'],'okWvB':_0x3a13a4[_0x19dac3(0x106)],'ZrKeN':_0x3a13a4['MfyXu'],'OrMki':_0x3a13a4[_0x19dac3(0x115)],'FaPdU':function(_0x2c2473){const _0x24ea1a=_0x19dac3;return _0x3a13a4[_0x24ea1a(0xa9)](_0x2c2473);}},_0x3dad13='browserstack internal helper hook';new Promise(async _0x3c84d0=>{const _0x5de492=_0x19dac3;let _0x39f997=!![];try{_0x24a1d1[_0x5de492(0xf2)](global[_0x5de492(0xac)][_0x5de492(0xdc)],0x1)&&(await global[_0x5de492(0x138)](),global[_0x5de492(0xac)]['shift']()),_0x24a1d1['fodhA'](global[_0x5de492(0xac)][0x0][_0x5de492(0x8d)],0x0)&&(_0x39f997=![],await global[_0x5de492(0x138)]());}catch(_0x2a00ea){logger['debug'](_0x5de492(0xaf)+_0x2a00ea);}try{Array[_0x5de492(0xbb)](global[_0x5de492(0xac)])&&global[_0x5de492(0xac)][0x0]&&(global[_0x5de492(0xac)][0x0][_0x5de492(0x129)]=this[_0x5de492(0xf3)][_0x5de492(0x10b)]()['join'](_0x24a1d1[_0x5de492(0x12d)])),global[_0x5de492(0x129)]=this[_0x5de492(0xf3)]['titlePath']()['join'](_0x24a1d1[_0x5de492(0x12d)]);}catch(_0x4a2b69){logger[_0x5de492(0x112)](_0x5de492(0xfc)+_0x4a2b69);}this['currentTest'][_0x5de492(0xe3)]=_0x24a1d1[_0x5de492(0xcf)](shouldScanTestForAccessibility,this[_0x5de492(0xf3)][_0x5de492(0x10b)](),!![]),globals[_0x5de492(0x12a)](_0x24a1d1['hRvUG'],this[_0x5de492(0xf3)][_0x5de492(0xe3)]),this[_0x5de492(0xf3)]['accessibilityScanStarted']=!![];if(_0x24a1d1[_0x5de492(0xbd)](isAccessibilityAutomationSession)&&_0x39f997&&Array[_0x5de492(0xbb)](global[_0x5de492(0xac)])&&_0x24a1d1[_0x5de492(0xb7)](global[_0x5de492(0xac)]['length'],0x0)&&globals['getGlobal'](_0x24a1d1['JZJge']))try{const _0x3c3b8d=await global['__drivers'][0x0]['session_'];if(_0x3c3b8d){let _0x44dfa7=!![];const _0x3e954d=await global[_0x5de492(0xac)][0x0]['getCurrentUrl']();let _0x58a3ad;try{_0x58a3ad=new URL(_0x3e954d);}catch(_0x4932ab){_0x44dfa7=![];}_0x44dfa7=_0x24a1d1['MTzty'](_0x58a3ad[_0x5de492(0xf8)],_0x24a1d1[_0x5de492(0x107)])||_0x24a1d1[_0x5de492(0xd3)](_0x58a3ad[_0x5de492(0xf8)],_0x24a1d1['okWvB']),_0x44dfa7&&(this[_0x5de492(0xf3)][_0x5de492(0xe3)]&&logger['info'](_0x24a1d1['ZrKeN'])),this[_0x5de492(0xf3)][_0x5de492(0x93)]=this[_0x5de492(0xf3)][_0x5de492(0xe3)],this[_0x5de492(0xf3)][_0x5de492(0xe3)]&&logger[_0x5de492(0xb4)](_0x24a1d1[_0x5de492(0xfa)]);}}catch(_0x575be3){logger[_0x5de492(0xc8)](_0x5de492(0xf4)+util[_0x5de492(0x8f)](_0x575be3));}_0x24a1d1[_0x5de492(0xc7)](_0x3c84d0);})[_0x19dac3(0x101)](()=>{const _0x5f18b9=_0x19dac3;_0x3a13a4[_0x5f18b9(0xf7)](_0x3b4398);});},{'platform':_0x3a13a4[_0x5bb323(0xe0)](nestedKeyValue,global[_0x5bb323(0x11a)],[_0x3a13a4[_0x5bb323(0xb9)]]),'hookType':_0x3a13a4[_0x5bb323(0xd8)]})();},'afterEach'(_0x3969ee){const _0x2f4af2=a37_0x27f424,_0xbcd95f={'wETpq':'\x20-\x20','RcEVq':function(_0x54ee93,_0x52fe2e){return _0x54ee93!==_0x52fe2e;},'DcYsE':'passed','morxK':function(_0x46a58e,_0x1ba198,_0x4c5e44){return _0x46a58e(_0x1ba198,_0x4c5e44);},'rmoFI':function(_0x4f8820,_0x38ea8e){return _0x4f8820+_0x38ea8e;},'KAvFG':_0x2f4af2(0xe2),'WCauU':_0x2f4af2(0xc8),'JeqLd':_0x2f4af2(0xbe),'CCMOt':_0x2f4af2(0xb4),'oQOxQ':function(_0x3b86f7,_0x378410){return _0x3b86f7>_0x378410;},'eccSb':function(_0x2d77bd,_0x5d9011){return _0x2d77bd===_0x5d9011;},'UMwUR':'testcase','jeMTT':_0x2f4af2(0xf1),'hwWyZ':function(_0x3133d3,_0x218957,_0x1b0fe3,_0x46281f){return _0x3133d3(_0x218957,_0x1b0fe3,_0x46281f);},'GAEkB':_0x2f4af2(0x126),'bIXgS':'bstackA11yShouldScan','oiAzv':_0x2f4af2(0xb3),'lakNW':_0x2f4af2(0xd9),'zpwBy':_0x2f4af2(0xcc),'ZcVfP':_0x2f4af2(0xce),'XVuEn':function(_0x474eaf){return _0x474eaf();},'DQgip':function(_0x323f60,_0x112184,_0x396ed1){return _0x323f60(_0x112184,_0x396ed1);},'GtQot':function(_0x55c0e8,_0x509f82,_0x5038e7){return _0x55c0e8(_0x509f82,_0x5038e7);},'fvmeI':_0x2f4af2(0x112),'QuqWV':function(_0xdcdbc8){return _0xdcdbc8();},'fiOuQ':'Mocha','rzHkN':function(_0x5401f5,_0x34dbec,_0x32aa3d){return _0x5401f5(_0x34dbec,_0x32aa3d);},'EJaXE':_0x2f4af2(0x94),'zlJSE':_0x2f4af2(0xbf)},_0xe2817b='browserstack internal helper hook';this[_0x2f4af2(0x96)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0xbcd95f[_0x2f4af2(0xc4)]]),global[_0x2f4af2(0x97)]=this[_0x2f4af2(0xf3)][_0x2f4af2(0x10b)]()[_0x2f4af2(0xa5)](_0xbcd95f[_0x2f4af2(0x131)]),PerformanceTester[_0x2f4af2(0xb5)](PerformanceSdkEvents[_0x2f4af2(0x91)],()=>{const _0x215a60=_0x2f4af2,_0xefebae=async(_0x3a383b,_0x2b5a6c)=>{const _0x5204b0=a37_0x3057;await global[_0x5204b0(0xac)][0x0][_0x5204b0(0xcb)](_0x5204b0(0xc0)+_0x3a383b+_0x5204b0(0x109)+_0x2b5a6c+_0x5204b0(0x13a));};new Promise(async _0x31a133=>{const _0x12ffd8=a37_0x3057,_0x13990b={'RWfGp':_0xbcd95f[_0x12ffd8(0x131)],'iNQoj':function(_0x257b54,_0x553599){const _0x2f2d5d=_0x12ffd8;return _0xbcd95f[_0x2f2d5d(0xa7)](_0x257b54,_0x553599);},'TafZZ':_0xbcd95f['DcYsE'],'IvVlA':function(_0x8b7e90,_0x26c7c6,_0x29be46){const _0x3cf069=_0x12ffd8;return _0xbcd95f[_0x3cf069(0xe6)](_0x8b7e90,_0x26c7c6,_0x29be46);},'KdeUs':function(_0x28c74b,_0x6edcf3){const _0x17cbc0=_0x12ffd8;return _0xbcd95f[_0x17cbc0(0x8e)](_0x28c74b,_0x6edcf3);},'TwoTA':_0xbcd95f[_0x12ffd8(0xb1)],'xqLTQ':_0xbcd95f[_0x12ffd8(0xef)],'nRsUT':_0xbcd95f[_0x12ffd8(0x110)],'LAZAF':_0xbcd95f[_0x12ffd8(0xcd)]};try{_0xbcd95f[_0x12ffd8(0x116)](global['__drivers'][_0x12ffd8(0xdc)],0x1)&&(await global[_0x12ffd8(0x138)](),global[_0x12ffd8(0xac)][_0x12ffd8(0xfe)](),global[_0x12ffd8(0x123)]=[],global[_0x12ffd8(0x9b)]=![]);try{if(global[_0x12ffd8(0xe5)]&&_0xbcd95f['eccSb'](global[_0x12ffd8(0xc3)],_0xbcd95f[_0x12ffd8(0xc9)])&&global[_0x12ffd8(0xac)][0x0]){const _0x38bda7=_0xbcd95f['oQOxQ'](global['capabilities'][_0x12ffd8(0xdc)],0x0)?!!global[_0x12ffd8(0x134)][0x0][_0x12ffd8(0xde)]||!!global[_0x12ffd8(0x134)][0x0][_0xbcd95f[_0x12ffd8(0xf5)]]:![],_0x2dc1ba={};_0x2dc1ba[_0x12ffd8(0xde)]=_0x38bda7,await _0xbcd95f[_0x12ffd8(0x9a)](percyAutoCapture,global['__drivers'][0x0],_0xbcd95f[_0x12ffd8(0xc9)],_0x2dc1ba);}}catch(_0x4bed92){logger['debug']('Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20'+_0x4bed92);}!global['__skipSessionName']&&(await PerformanceTester[_0x12ffd8(0xb5)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x3672c6=_0x12ffd8;await global[_0x3672c6(0xac)][0x0][_0x3672c6(0xcb)](_0x3672c6(0x11f)+JSON[_0x3672c6(0x9c)](this[_0x3672c6(0xf3)][_0x3672c6(0x10b)]()[_0x3672c6(0xa5)](_0x13990b['RWfGp']))+'}}');})(),global['__drivers'][0x0][_0x12ffd8(0xd6)]=!![]),await PerformanceTester[_0x12ffd8(0xb5)](PerformanceAutEvents[_0x12ffd8(0xa6)],async()=>{const _0x253065=_0x12ffd8,_0x2ab47f=_0x13990b[_0x253065(0xc5)](this[_0x253065(0xf3)][_0x253065(0xf6)],_0x13990b[_0x253065(0xd4)]);_0x2ab47f?(global[_0x253065(0x9b)]=!![],global['__error_messages__'][_0x253065(0x9d)](this['currentTest'][_0x253065(0x118)][_0x253065(0xae)]),await _0x13990b['IvVlA'](_0xefebae,JSON[_0x253065(0x9c)](_0x13990b[_0x253065(0xed)](_0x13990b['TwoTA'],this['currentTest'][_0x253065(0x118)][_0x253065(0xae)])),_0x13990b[_0x253065(0x120)])):await _0x13990b[_0x253065(0xb0)](_0xefebae,JSON[_0x253065(0x9c)](_0x13990b[_0x253065(0xdb)]),_0x13990b[_0x253065(0x130)]);})();}catch(_0x45a875){logger[_0x12ffd8(0x112)](_0x12ffd8(0xaa)+_0x45a875);}try{if(this[_0x12ffd8(0xf3)][_0x12ffd8(0x93)]&&globals['getGlobal'](_0xbcd95f[_0x12ffd8(0xf9)])&&globals[_0x12ffd8(0x117)](_0xbcd95f[_0x12ffd8(0xbc)])){logger[_0x12ffd8(0xb4)](_0xbcd95f[_0x12ffd8(0x113)]);const _0x52e5a5={};_0x52e5a5[_0x12ffd8(0xc1)]=this[_0x12ffd8(0xf3)][_0x12ffd8(0x121)],_0x52e5a5[_0x12ffd8(0x98)]=process['env'][testHubConstants[_0x12ffd8(0xa1)][_0x12ffd8(0xff)]],_0x52e5a5['thJwtToken']=process[_0x12ffd8(0x11e)][testHubConstants[_0x12ffd8(0xa1)][_0x12ffd8(0x10f)]];const _0x2dae6e=_0x52e5a5;logger[_0x12ffd8(0x112)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x12ffd8(0x9c)](_0x2dae6e)),logger[_0x12ffd8(0x112)](_0xbcd95f[_0x12ffd8(0xa3)]);const _0x8a96d7={};_0x8a96d7[_0x12ffd8(0x124)]=_0xbcd95f['zpwBy'],await PerformanceTester[_0x12ffd8(0xb5)](PerformanceA11yEvents[_0x12ffd8(0xca)],async()=>{const _0x445560=_0x12ffd8;logger[_0x445560(0x112)](util[_0x445560(0x8f)](await global[_0x445560(0xac)][0x0][_0x445560(0xd7)](scripts[_0x445560(0x11d)],{'method':global[_0x445560(0x129)]})));},_0x8a96d7)(),await PerformanceTester[_0x12ffd8(0xb5)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x3806f9=_0x12ffd8;await global[_0x3806f9(0xac)][0x0]['executeAsyncScript'](scripts[_0x3806f9(0x99)],_0x2dae6e);})(),logger['info'](_0xbcd95f['ZcVfP']);}}catch(_0x1fcdc7){logger[_0x12ffd8(0xc8)](_0x12ffd8(0xab)+this[_0x12ffd8(0xf3)]['titlePath']()+_0x12ffd8(0xe1),_0x1fcdc7);}try{try{if(_0xbcd95f[_0x12ffd8(0xb2)](shouldProcessEventForTesthub)){global[_0x12ffd8(0xac)][0x0]&&await _0xbcd95f[_0x12ffd8(0xd5)](sendPlatformDetails,global[_0x12ffd8(0xac)][0x0],this['currentTest']?this[_0x12ffd8(0xf3)][_0x12ffd8(0x121)]:null);if(_0xbcd95f[_0x12ffd8(0xb2)](isBrowserstackInfra)){PerformanceTester[_0x12ffd8(0xe4)](PerformanceO11yEvents['SYNC']);const _0x12ff85=_0x12ffd8(0xe7)+Date['now']();await _0xbcd95f[_0x12ffd8(0xfd)](_0xefebae,JSON[_0x12ffd8(0x9c)](_0x12ff85),_0xbcd95f['fvmeI']),PerformanceTester[_0x12ffd8(0xeb)](PerformanceO11yEvents[_0x12ffd8(0x132)]);}}}catch(_0x3a6fbf){logger['debug']('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x3a6fbf),PerformanceTester[_0x12ffd8(0xeb)](PerformanceO11yEvents[_0x12ffd8(0x132)],![],_0x3a6fbf);}_0xbcd95f['oQOxQ'](global[_0x12ffd8(0xac)][0x0][_0x12ffd8(0x8d)],0x0)&&await global[_0x12ffd8(0x138)]();}catch(_0x4dc69d){logger[_0x12ffd8(0x112)](_0x12ffd8(0xaf)+_0x4dc69d);}_0xbcd95f[_0x12ffd8(0xa2)](_0x31a133);})[_0x215a60(0x101)](()=>{const _0x391def=_0x215a60;_0xbcd95f[_0x391def(0xa2)](_0x3969ee);});},{'platform':_0xbcd95f[_0x2f4af2(0x12f)](nestedKeyValue,global[_0x2f4af2(0x11a)],[_0xbcd95f[_0x2f4af2(0x119)]]),'hookType':_0xbcd95f[_0x2f4af2(0xea)]})();},'afterAll'(_0x5e53a2){const _0x480466=a37_0x27f424,_0x5b20d7={'uCmii':function(_0x23f9d6){return _0x23f9d6();},'vUgab':function(_0x5795f1){return _0x5795f1();},'zPDPC':_0x480466(0x102),'YrweN':function(_0x50d3c1,_0x37f265,_0x366e4f){return _0x50d3c1(_0x37f265,_0x366e4f);},'GNrEN':'index','NQXAX':_0x480466(0xc2)},_0x36810d='browserstack internal helper hook';this[_0x480466(0x96)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x5b20d7[_0x480466(0xe9)]]),PerformanceTester[_0x480466(0xb5)](PerformanceSdkEvents[_0x480466(0x91)],()=>{const _0x390ab5=_0x480466,_0x1c803a={'SDkHG':function(_0x3c59b2){return _0x5b20d7['vUgab'](_0x3c59b2);}};new Promise(async _0x33ee70=>{const _0x2a44e4=a37_0x3057;await global[_0x2a44e4(0x138)](),_0x1c803a[_0x2a44e4(0xa4)](_0x33ee70);})['then']()[_0x390ab5(0x111)](()=>{const _0x24e382=_0x390ab5;_0x5b20d7[_0x24e382(0xb8)](_0x5e53a2);});},{'platform':_0x5b20d7[_0x480466(0xdf)](nestedKeyValue,global[_0x480466(0x11a)],[_0x5b20d7[_0x480466(0x10c)]]),'hookType':_0x5b20d7[_0x480466(0xdd)]})();}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a38_0x47b0b0=a38_0x4423;(function(_0x55fcaf,_0x2c6b26){const _0x26d4c5=a38_0x4423,_0x193660=_0x55fcaf();while(!![]){try{const _0x36b5da=parseInt(_0x26d4c5(0xad))/0x1+-parseInt(_0x26d4c5(0xbb))/0x2+-parseInt(_0x26d4c5(0xc9))/0x3*(-parseInt(_0x26d4c5(0x84))/0x4)+parseInt(_0x26d4c5(0xc4))/0x5+parseInt(_0x26d4c5(0xbf))/0x6+parseInt(_0x26d4c5(0xc6))/0x7*(parseInt(_0x26d4c5(0x96))/0x8)+-parseInt(_0x26d4c5(0xa7))/0x9;if(_0x36b5da===_0x2c6b26)break;else _0x193660['push'](_0x193660['shift']());}catch(_0x97cd79){_0x193660['push'](_0x193660['shift']());}}}(a38_0x37b0,0x22d9c));const fs=require('fs'),path=require('path'),{spawn}=require(a38_0x47b0b0(0x93)),logger=require(a38_0x47b0b0(0xa3))[a38_0x47b0b0(0x8f)],{default:BrowserStackSetup}=require(a38_0x47b0b0(0x94)),helper=require('../../helpers/helper'),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x1ccba9,_0x3b317d)=>{const _0x28aa83=a38_0x47b0b0,_0xc1bc13={'OUcgH':_0x28aa83(0xa8),'cJauy':_0x28aa83(0x9a),'HCtNE':function(_0x2b2b52,_0x504e88){return _0x2b2b52(_0x504e88);},'oLLlS':_0x28aa83(0x99)};let _0x20bb6f=null,_0x2a210d={};const _0x21f041=_0x3b317d[_0x28aa83(0xb4)](_0xa91d39=>_0xa91d39===_0x28aa83(0x85));if(!helper[_0x28aa83(0xc1)](_0x1ccba9[_0x28aa83(0xce)])&&fs['existsSync'](path[_0x28aa83(0xb2)](process[_0x28aa83(0xb1)](),_0x1ccba9[_0x28aa83(0xce)])))_0x20bb6f=path[_0x28aa83(0xb2)](process[_0x28aa83(0xb1)](),_0x1ccba9['config']),_0x3b317d[_0x28aa83(0x89)](_0x21f041,0x2);else{if(fs['existsSync'](path[_0x28aa83(0xb2)](process[_0x28aa83(0xb1)](),_0xc1bc13[_0x28aa83(0x88)])))_0x20bb6f=path[_0x28aa83(0xb2)](process[_0x28aa83(0xb1)](),_0xc1bc13[_0x28aa83(0x88)]);else fs[_0x28aa83(0x9b)](path[_0x28aa83(0xb2)](process[_0x28aa83(0xb1)](),_0xc1bc13['cJauy']))&&(_0x20bb6f=path['join'](process[_0x28aa83(0xb1)](),_0xc1bc13['cJauy']));}return _0x20bb6f?(logger[_0x28aa83(0xcb)](_0x28aa83(0xbe)+_0x20bb6f),_0x2a210d=_0xc1bc13[_0x28aa83(0xb5)](require,_0x20bb6f)):logger[_0x28aa83(0xcb)](_0xc1bc13[_0x28aa83(0x9f)]),_0x2a210d;},removeExistingEnvs=_0x24debf=>{const _0x4661cc=a38_0x47b0b0,_0x2c7bb5={};_0x2c7bb5[_0x4661cc(0xaf)]=function(_0x12150f,_0x489dc6){return _0x12150f>_0x489dc6;},_0x2c7bb5[_0x4661cc(0xb3)]=function(_0x541989,_0x4efeaa){return _0x541989>_0x4efeaa;};const _0xd129a7=_0x2c7bb5;let _0x117e81=_0x24debf[_0x4661cc(0xb4)](_0x2d7895=>_0x2d7895===_0x4661cc(0x8e));_0xd129a7[_0x4661cc(0xaf)](_0x117e81,-0x1)&&_0x24debf[_0x4661cc(0x89)](_0x117e81,0x2),_0x117e81=_0x24debf[_0x4661cc(0xb4)](_0x4645e3=>_0x4645e3==='-e'),_0xd129a7[_0x4661cc(0xb3)](_0x117e81,-0x1)&&_0x24debf[_0x4661cc(0x89)](_0x117e81,0x2);};function run(_0x3b802,_0x24e26b,_0x34a721){const _0x5f379d=a38_0x47b0b0,_0x1430f1={'ChXjl':_0x5f379d(0x87),'jmNOS':function(_0x4af2ff,_0x43624b){return _0x4af2ff+_0x43624b;},'LPLuX':_0x5f379d(0xa2),'IgRoI':function(_0x18a4ec,_0xc68b87,_0x46df4f){return _0x18a4ec(_0xc68b87,_0x46df4f);},'IIyhc':_0x5f379d(0xab),'iPZJK':_0x5f379d(0xbc),'RXWdZ':function(_0x5a94d5,_0x49ced0){return _0x5a94d5===_0x49ced0;},'smomO':_0x5f379d(0xaa),'ZVICr':function(_0x36005b,_0x540dee){return _0x36005b(_0x540dee);},'hzyGQ':function(_0x38cf77,_0x3d0eab,_0x21776d,_0x361b92){return _0x38cf77(_0x3d0eab,_0x21776d,_0x361b92);},'SNwaA':_0x5f379d(0xc7),'dQxSl':_0x5f379d(0x85),'RgOHK':'--env','UFIPj':_0x5f379d(0xbd),'lPRow':_0x5f379d(0x95)};if(!_0x34a721['config'])return;const _0x594c87=_0x1430f1[_0x5f379d(0xba)](getUserNightwatchConfigs,_0x3b802,_0x24e26b),_0x205802={};_0x205802['start_process']=![];const _0x37b7e3={};_0x37b7e3['host']=_0x1430f1['IIyhc'],_0x37b7e3[_0x5f379d(0x8a)]=0x1bb;const _0xd3cd8f={};_0xd3cd8f[_0x5f379d(0x8c)]=_0x205802,_0xd3cd8f[_0x5f379d(0xa5)]=_0x37b7e3;const _0x235f4a=_0xd3cd8f;logger[_0x5f379d(0xcb)](_0x1430f1[_0x5f379d(0xca)]);const _0x47bda8={..._0x594c87},_0x2bb355=_0x47bda8,_0x2dd3c6=helper['useW3C'](_0x34a721['config']),_0xfd99b6=[];_0x34a721[_0x5f379d(0xce)][_0x5f379d(0xb9)][_0x5f379d(0xc3)]((_0x12ad43,_0x353909)=>{const _0xe9c936=_0x5f379d;_0x2dd3c6?_0xfd99b6[_0xe9c936(0xa4)](helper[_0xe9c936(0xae)](_0x34a721[_0xe9c936(0xce)],_0x1430f1[_0xe9c936(0xa0)],_0x353909)):_0xfd99b6[_0xe9c936(0xa4)](helper['modifyBrowserStackCaps'](_0x34a721[_0xe9c936(0xce)],_0x1430f1[_0xe9c936(0xa0)],_0x353909));});const _0x30ef3e={},_0x2c3cce=[];_0x3b802[_0x5f379d(0x91)]=_0x3b802[_0x5f379d(0x91)]||_0x3b802['e'];const _0xd98a59=_0x3b802['env']?_0x3b802[_0x5f379d(0x91)][_0x5f379d(0xcd)]()[_0x5f379d(0x90)](',')[_0x5f379d(0xc5)](_0x24be8f=>_0x24be8f[_0x5f379d(0xcd)]())[_0x5f379d(0xc0)](_0x44974a=>_0x44974a!==''):[''];_0x1430f1[_0x5f379d(0xa1)](_0xd98a59[_0x5f379d(0x9e)],0x0)&&_0xd98a59[_0x5f379d(0xa4)]('');_0xd98a59['forEach'](_0x21b869=>{const _0x488ce4=_0x5f379d;_0xfd99b6[_0x488ce4(0xc3)](_0x4c5a08=>{const _0x7d718e=_0x488ce4;let _0x22c496=_0x1430f1[_0x7d718e(0xa6)](helper[_0x7d718e(0x9d)](_0x4c5a08,'_'),'_'+Date['now']());_0x21b869&&(_0x22c496+='_'+_0x21b869);if(_0x21b869&&(!_0x594c87[_0x1430f1[_0x7d718e(0x8b)]]||!_0x594c87[_0x1430f1[_0x7d718e(0x8b)]][_0x21b869]))return;const _0x1379a6={..._0x235f4a};_0x1379a6[_0x7d718e(0x8d)]=_0x4c5a08;const _0x28801d=_0x1379a6;_0x30ef3e[_0x22c496]=_0x21b869?helper['mergeDeep'](_0x594c87[_0x1430f1['LPLuX']][_0x21b869],_0x28801d):_0x28801d,_0x2c3cce[_0x7d718e(0xa4)](_0x22c496);});});!_0x2bb355[_0x5f379d(0xa2)]&&(_0x2bb355[_0x5f379d(0xa2)]={});_0x2bb355[_0x5f379d(0xa2)]={..._0x2bb355[_0x5f379d(0xa2)],..._0x30ef3e};const _0x3c7b03=path[_0x5f379d(0xb2)](__dirname,_0x1430f1[_0x5f379d(0xc8)]);fs['writeFileSync'](_0x3c7b03,JSON['stringify'](_0x2bb355)),_0x1430f1[_0x5f379d(0x98)](removeExistingEnvs,_0x24e26b);const _0x511156=_0x1430f1[_0x5f379d(0xac)](spawn,/^win/[_0x5f379d(0x9c)](process[_0x5f379d(0xb7)])?_0x1430f1[_0x5f379d(0x86)]:_0x1430f1[_0x5f379d(0xa0)],[_0x1430f1['dQxSl'],_0x3c7b03,..._0x24e26b[_0x5f379d(0xcc)](0x1),_0x1430f1[_0x5f379d(0x92)],_0x2c3cce[_0x5f379d(0xb2)](',')],{'stdio':_0x1430f1[_0x5f379d(0xb0)]});_0x511156['on'](_0x1430f1[_0x5f379d(0xb6)],async _0x17ac01=>{const _0x3d3dff=_0x5f379d;logger[_0x3d3dff(0xa9)](_0x3d3dff(0x97)+_0x17ac01),logger[_0x3d3dff(0xcb)]('Deleting\x20'+_0x3c7b03),fs[_0x3d3dff(0xb8)](_0x3c7b03);});}function a38_0x4423(_0x101c2b,_0x542049){const _0x37b083=a38_0x37b0();return a38_0x4423=function(_0x4423c2,_0x5c8488){_0x4423c2=_0x4423c2-0x84;let _0xad375a=_0x37b083[_0x4423c2];return _0xad375a;},a38_0x4423(_0x101c2b,_0x542049);}module[a38_0x47b0b0(0xc2)]=run;function a38_0x37b0(){const _0x506c70=['RXWdZ','test_settings','../../helpers/logger','push','selenium','jmNOS','774027XqqHaS','nightwatch.conf.js','debug','nightwatch-browserstack.json','hub.browserstack.com','hzyGQ','125678icquXs','modifyBrowserStackW3CCaps','NamGN','UFIPj','cwd','join','cBgzK','findIndex','HCtNE','lPRow','platform','unlinkSync','platforms','IgRoI','446572sCVWaB','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','inherit','Getting\x20your\x20nightwatch\x20configs\x20from\x20','503346TdLOWh','filter','isUndefined','exports','forEach','207135ubDjCO','map','98IDNutx','nightwatch.cmd','smomO','411iDupwf','iPZJK','info','slice','trim','config','2780cqgwcK','--config','SNwaA','nightwatch','OUcgH','splice','port','LPLuX','webdriver','desiredCapabilities','--env','winstonLogger','split','env','RgOHK','child_process','../../helpers/BrowserStackSetup','close','60472xIhCUo','child\x20process\x20exited\x20with\x20code\x20','ZVICr','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','nightwatch.json','existsSync','test','getPlatformName','length','oLLlS','ChXjl'];a38_0x37b0=function(){return _0x506c70;};return a38_0x37b0();}
2
+ 'use strict';const a38_0x1b5ad1=a38_0x5a87;(function(_0x5060fb,_0x5e44d1){const _0x36c1be=a38_0x5a87,_0x53447e=_0x5060fb();while(!![]){try{const _0x4f5630=-parseInt(_0x36c1be(0xa7))/0x1*(parseInt(_0x36c1be(0x88))/0x2)+parseInt(_0x36c1be(0xc5))/0x3*(-parseInt(_0x36c1be(0xb7))/0x4)+-parseInt(_0x36c1be(0x8a))/0x5*(-parseInt(_0x36c1be(0x8b))/0x6)+-parseInt(_0x36c1be(0x9f))/0x7*(-parseInt(_0x36c1be(0xd5))/0x8)+-parseInt(_0x36c1be(0xaa))/0x9+-parseInt(_0x36c1be(0xc3))/0xa+parseInt(_0x36c1be(0xa1))/0xb*(parseInt(_0x36c1be(0xa0))/0xc);if(_0x4f5630===_0x5e44d1)break;else _0x53447e['push'](_0x53447e['shift']());}catch(_0x294d7b){_0x53447e['push'](_0x53447e['shift']());}}}(a38_0x499e,0xb7d5a));function a38_0x5a87(_0x2f061e,_0x204ac5){const _0x499e43=a38_0x499e();return a38_0x5a87=function(_0x5a87ea,_0x22eac5){_0x5a87ea=_0x5a87ea-0x87;let _0x27284a=_0x499e43[_0x5a87ea];return _0x27284a;},a38_0x5a87(_0x2f061e,_0x204ac5);}function a38_0x499e(){const _0x3fb583=['winstonLogger','stringify','MUqOc','hub.browserstack.com','split','test_settings','4cSRZqL','test','child\x20process\x20exited\x20with\x20code\x20','cwd','now','path','Qnmoy','inherit','close','xbNcb','getPlatformName','DhTcO','11873780qeukmT','atOrx','402228YIIdKk','exports','platform','push','--env','OYkFr','uAiJY','host','nightwatch.conf.js','govMA','useW3C','findIndex','NqTMP','join','../utils/constants','splice','16712AAObPW','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','info','../../helpers/BrowserStackSetup','config','existsSync','2615516TvTsEY','--config','5fbVtUH','7260222kAbThT','csbeX','writeFileSync','length','OIKZX','nightwatch.cmd','env','../../helpers/helper','forEach','HPJwE','unlinkSync','debug','trim','webdriver','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','mergeDeep','platforms','nightwatch','SFtOy','CnYqT','1890RJxJoc','2896788qeeTPI','121xSTZku','wSZzn','WOVrV','slice','yhQOp','selenium','1CFZJoc','iOGiF','dJyXy','9425322RMNevC','map','modifyBrowserStackCaps','GgbKI','start_process','caQvc','child_process'];a38_0x499e=function(){return _0x3fb583;};return a38_0x499e();}const fs=require('fs'),path=require(a38_0x1b5ad1(0xbc)),{spawn}=require(a38_0x1b5ad1(0xb0)),logger=require('../../helpers/logger')[a38_0x1b5ad1(0xb1)],{default:BrowserStackSetup}=require(a38_0x1b5ad1(0xd8)),helper=require(a38_0x1b5ad1(0x92)),constants=require(a38_0x1b5ad1(0xd3)),getUserNightwatchConfigs=(_0x80407b,_0x1bd5fa)=>{const _0x4745a8=a38_0x1b5ad1,_0x3e9fc3={'Qnmoy':_0x4745a8(0xcd),'DhTcO':'nightwatch.json','xbNcb':function(_0x38a3ad,_0x4f8ddd){return _0x38a3ad(_0x4f8ddd);},'HPJwE':_0x4745a8(0x99)};let _0x1eb354=null,_0x51879b={};const _0x33dde9=_0x1bd5fa[_0x4745a8(0xd0)](_0x1cdc9c=>_0x1cdc9c===_0x4745a8(0x89));if(!helper['isUndefined'](_0x80407b[_0x4745a8(0xd9)])&&fs[_0x4745a8(0x87)](path['join'](process['cwd'](),_0x80407b[_0x4745a8(0xd9)])))_0x1eb354=path[_0x4745a8(0xd2)](process[_0x4745a8(0xba)](),_0x80407b[_0x4745a8(0xd9)]),_0x1bd5fa['splice'](_0x33dde9,0x2);else{if(fs['existsSync'](path[_0x4745a8(0xd2)](process[_0x4745a8(0xba)](),_0x3e9fc3[_0x4745a8(0xbd)])))_0x1eb354=path[_0x4745a8(0xd2)](process[_0x4745a8(0xba)](),_0x3e9fc3['Qnmoy']);else fs[_0x4745a8(0x87)](path[_0x4745a8(0xd2)](process[_0x4745a8(0xba)](),_0x3e9fc3[_0x4745a8(0xc2)]))&&(_0x1eb354=path[_0x4745a8(0xd2)](process['cwd'](),_0x3e9fc3['DhTcO']));}return _0x1eb354?(logger[_0x4745a8(0xd7)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x1eb354),_0x51879b=_0x3e9fc3[_0x4745a8(0xc0)](require,_0x1eb354)):logger['info'](_0x3e9fc3[_0x4745a8(0x94)]),_0x51879b;},removeExistingEnvs=_0x21aa88=>{const _0x3bc81c=a38_0x1b5ad1,_0x3cf58e={};_0x3cf58e['cBNSJ']=function(_0x10a43e,_0x2940cc){return _0x10a43e>_0x2940cc;},_0x3cf58e[_0x3bc81c(0xa5)]=function(_0x400d88,_0x4349a9){return _0x400d88>_0x4349a9;};const _0x504269=_0x3cf58e;let _0x227251=_0x21aa88[_0x3bc81c(0xd0)](_0x38ce7d=>_0x38ce7d===_0x3bc81c(0xc9));_0x504269['cBNSJ'](_0x227251,-0x1)&&_0x21aa88['splice'](_0x227251,0x2),_0x227251=_0x21aa88[_0x3bc81c(0xd0)](_0x5b2906=>_0x5b2906==='-e'),_0x504269[_0x3bc81c(0xa5)](_0x227251,-0x1)&&_0x21aa88[_0x3bc81c(0xd4)](_0x227251,0x2);};function run(_0x25e03e,_0x32360d,_0x109f25){const _0x5eadde=a38_0x1b5ad1,_0xd0df09={'NqTMP':_0x5eadde(0x9c),'uAiJY':function(_0x217775,_0x450c8a){return _0x217775+_0x450c8a;},'OIKZX':_0x5eadde(0xb6),'WOVrV':function(_0xabf07c,_0x5e3d5e,_0x4d60c4){return _0xabf07c(_0x5e3d5e,_0x4d60c4);},'dJyXy':_0x5eadde(0xb4),'SFtOy':_0x5eadde(0xd6),'govMA':function(_0x3ccf07,_0x101f5a){return _0x3ccf07===_0x101f5a;},'mVGuY':'nightwatch-browserstack.json','csbeX':function(_0x245b0d,_0x4a9606){return _0x245b0d(_0x4a9606);},'atOrx':function(_0x3d33d5,_0x162b76,_0x3979f0,_0x14adc6){return _0x3d33d5(_0x162b76,_0x3979f0,_0x14adc6);},'GgbKI':_0x5eadde(0x90),'OYkFr':_0x5eadde(0x89),'CnYqT':_0x5eadde(0xc9),'iOGiF':_0x5eadde(0xbe),'MUqOc':_0x5eadde(0xbf)};if(!_0x109f25[_0x5eadde(0xd9)])return;const _0x3f30cf=_0xd0df09[_0x5eadde(0xa3)](getUserNightwatchConfigs,_0x25e03e,_0x32360d),_0x51b6a4={};_0x51b6a4[_0x5eadde(0xae)]=![];const _0x5c6278={};_0x5c6278[_0x5eadde(0xcc)]=_0xd0df09[_0x5eadde(0xa9)],_0x5c6278['port']=0x1bb;const _0x44c968={};_0x44c968[_0x5eadde(0x98)]=_0x51b6a4,_0x44c968[_0x5eadde(0xa6)]=_0x5c6278;const _0x5b5575=_0x44c968;logger[_0x5eadde(0xd7)](_0xd0df09[_0x5eadde(0x9d)]);const _0x481ef={..._0x3f30cf},_0x86d273=_0x481ef,_0x57ee02=helper[_0x5eadde(0xcf)](_0x109f25['config']),_0x4148d7=[];_0x109f25[_0x5eadde(0xd9)][_0x5eadde(0x9b)][_0x5eadde(0x93)]((_0x130600,_0x5237ea)=>{const _0x261761=_0x5eadde;_0x57ee02?_0x4148d7[_0x261761(0xc8)](helper['modifyBrowserStackW3CCaps'](_0x109f25[_0x261761(0xd9)],_0xd0df09[_0x261761(0xd1)],_0x5237ea)):_0x4148d7[_0x261761(0xc8)](helper[_0x261761(0xac)](_0x109f25[_0x261761(0xd9)],_0xd0df09[_0x261761(0xd1)],_0x5237ea));});const _0x5591af={},_0x3c4a4a=[];_0x25e03e[_0x5eadde(0x91)]=_0x25e03e[_0x5eadde(0x91)]||_0x25e03e['e'];const _0x39f68c=_0x25e03e[_0x5eadde(0x91)]?_0x25e03e['env']['trim']()[_0x5eadde(0xb5)](',')[_0x5eadde(0xab)](_0x534adb=>_0x534adb[_0x5eadde(0x97)]())['filter'](_0x47c49f=>_0x47c49f!==''):[''];_0xd0df09[_0x5eadde(0xce)](_0x39f68c[_0x5eadde(0x8e)],0x0)&&_0x39f68c[_0x5eadde(0xc8)]('');_0x39f68c[_0x5eadde(0x93)](_0x49e547=>{const _0x3074f7=_0x5eadde,_0x34befe={'caQvc':function(_0x2de553,_0x1c697b){const _0x86364d=a38_0x5a87;return _0xd0df09[_0x86364d(0xcb)](_0x2de553,_0x1c697b);},'wSZzn':_0xd0df09[_0x3074f7(0x8f)]};_0x4148d7[_0x3074f7(0x93)](_0x47847f=>{const _0x3fd449=_0x3074f7;let _0xf08d6b=_0x34befe[_0x3fd449(0xaf)](helper[_0x3fd449(0xc1)](_0x47847f,'_'),'_'+Date[_0x3fd449(0xbb)]());_0x49e547&&(_0xf08d6b+='_'+_0x49e547);if(_0x49e547&&(!_0x3f30cf[_0x34befe[_0x3fd449(0xa2)]]||!_0x3f30cf[_0x34befe['wSZzn']][_0x49e547]))return;const _0x5a3c0c={..._0x5b5575};_0x5a3c0c['desiredCapabilities']=_0x47847f;const _0x5cc042=_0x5a3c0c;_0x5591af[_0xf08d6b]=_0x49e547?helper[_0x3fd449(0x9a)](_0x3f30cf[_0x34befe[_0x3fd449(0xa2)]][_0x49e547],_0x5cc042):_0x5cc042,_0x3c4a4a[_0x3fd449(0xc8)](_0xf08d6b);});});!_0x86d273[_0x5eadde(0xb6)]&&(_0x86d273[_0x5eadde(0xb6)]={});_0x86d273[_0x5eadde(0xb6)]={..._0x86d273[_0x5eadde(0xb6)],..._0x5591af};const _0x55584d=path['join'](__dirname,_0xd0df09['mVGuY']);fs[_0x5eadde(0x8d)](_0x55584d,JSON[_0x5eadde(0xb2)](_0x86d273)),_0xd0df09[_0x5eadde(0x8c)](removeExistingEnvs,_0x32360d);const _0x42a6a2=_0xd0df09[_0x5eadde(0xc4)](spawn,/^win/[_0x5eadde(0xb8)](process[_0x5eadde(0xc7)])?_0xd0df09[_0x5eadde(0xad)]:_0xd0df09[_0x5eadde(0xd1)],[_0xd0df09[_0x5eadde(0xca)],_0x55584d,..._0x32360d[_0x5eadde(0xa4)](0x1),_0xd0df09[_0x5eadde(0x9e)],_0x3c4a4a[_0x5eadde(0xd2)](',')],{'stdio':_0xd0df09[_0x5eadde(0xa8)]});_0x42a6a2['on'](_0xd0df09[_0x5eadde(0xb3)],async _0x4b5a78=>{const _0x380d74=_0x5eadde;logger[_0x380d74(0x96)](_0x380d74(0xb9)+_0x4b5a78),logger[_0x380d74(0xd7)]('Deleting\x20'+_0x55584d),fs[_0x380d74(0x95)](_0x55584d);});}module[a38_0x1b5ad1(0xc6)]=run;
@@ -1 +1 @@
1
- const a39_0x3da545=a39_0x2afd;function a39_0x4b6a(){const _0x49bfa9=['executeScript','Playwright','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','5658594mmIjXs','yFtER','browserName','error','65mJfCiU','accessibilityOptions.scannerVersion','platformValidation','getAccessibilityResultsSummary','browser_version','gwAwO','jvLZy','getAccessibilityResults','FLOxc','testInfo','connectOptions','OqIWQ','798280CgnmNg','scannerVersion','ijyzi','SxHyq','../../helpers/performance/performance-tester','HsmyS','PERFORM_SCAN','wGRvl','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','accessibilityPlatform','28023822brvbHk','accessibilityOptions.wcagVersion','oGBse','NTIGD','bstackSdkArgs','browserstack.accessibility','jAtFh','vwiFO','stringify','measureWrapper','project','wKxBH','347056GagCQP','use','VgTnr','setAccessibilityCapabilities','JWPdt','ocNeC','\x20page:\x20','browserStackEvaluate','1288800qPKRzs','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','aJFCf','includes','HTgpi','mXFGj','warn','18BuvdfS','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','NipaV','3422040EHRJXq','env','../../helpers/accessibility-automation/helper','accessibilityOptions.authToken','util','BS_A11Y_JWT','browserStackExecuteDriver','winstonLogger','wcagVersion','replace','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','constructor','processAccessibilityCaps','wsEndpoint','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','MRMJp','debug','name','accessibilityOptions.scannerProcessingTimeout','rVGhU','yytcw','UTveK','(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','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','currentTest','jIxau','chromium','ZKvmk','No\x20accessibility\x20results\x20were\x20found.','LMTgG','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','KEBsv','qOztf','bestPractice','needsReview','sokFM','JSVOd','AiQnZ','accessibilityOptions.includeIssueType.needsReview','executeAsyncScript','parse','epZPc','format','scannerProcessingTimeout','deviceName','468194COZhPm','KtLdh','browser','includeIssueType','command','HFmWu','chrome','playwright-chromium','latest','performScan','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','accessibilityOptions'];a39_0x4b6a=function(){return _0x49bfa9;};return a39_0x4b6a();}function a39_0x2afd(_0x270457,_0x16374d){const _0x4b6a4c=a39_0x4b6a();return a39_0x2afd=function(_0x2afd8f,_0x59b6c4){_0x2afd8f=_0x2afd8f-0xad;let _0x5642c3=_0x4b6a4c[_0x2afd8f];return _0x5642c3;},a39_0x2afd(_0x270457,_0x16374d);}(function(_0x38ef95,_0x13456a){const _0xbb3c22=a39_0x2afd,_0x5b3eea=_0x38ef95();while(!![]){try{const _0x381477=-parseInt(_0xbb3c22(0xc9))/0x1+-parseInt(_0xbb3c22(0x100))/0x2*(parseInt(_0xbb3c22(0xd0))/0x3)+-parseInt(_0xbb3c22(0xc1))/0x4*(parseInt(_0xbb3c22(0x113))/0x5)+parseInt(_0xbb3c22(0x10f))/0x6+parseInt(_0xbb3c22(0x11f))/0x7+parseInt(_0xbb3c22(0xd3))/0x8+parseInt(_0xbb3c22(0xb5))/0x9;if(_0x381477===_0x13456a)break;else _0x5b3eea['push'](_0x5b3eea['shift']());}catch(_0x339b42){_0x5b3eea['push'](_0x5b3eea['shift']());}}}(a39_0x4b6a,0xbdc7a));const util=require(a39_0x3da545(0xd7)),logger=require('../../helpers/logger')[a39_0x3da545(0xda)],{isAccessibilityAutomationSession}=require(a39_0x3da545(0xd5)),{isUndefined,isBrowserstackInfra}=require('../../helpers/helper'),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a39_0x3da545(0xaf)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../../helpers/performance/constants');exports['browserStackEvaluate']=async(_0x369fb6,_0xc1d0f0,_0x2a5572={})=>{const _0xc299d2=a39_0x3da545,_0x2f1e1d={};_0x2f1e1d[_0xc299d2(0xb7)]=_0xc299d2(0xb9);const _0x47c114=_0x2f1e1d;return await _0x369fb6['evaluate'](_0xc299d2(0xe9)+_0xc1d0f0['replace'](/arguments/g,_0x47c114[_0xc299d2(0xb7)])+_0xc299d2(0x10e)+JSON[_0xc299d2(0xbd)](_0x2a5572)+')');},exports[a39_0x3da545(0xd9)]=async(_0x49bc55,_0x30262c,_0x91d7ee={})=>{const _0xd986f5=a39_0x3da545,_0x414c51={};_0x414c51[_0xd986f5(0x105)]=function(_0x27c524,_0x19cb6f){return _0x27c524===_0x19cb6f;},_0x414c51['tYEXI']='WebDriver',_0x414c51[_0xd986f5(0xc5)]=function(_0x22774b,_0x485864){return _0x22774b===_0x485864;},_0x414c51['jvLZy']=_0xd986f5(0x10d),_0x414c51['JaQxn']=_0xd986f5(0xb9);const _0x16de37=_0x414c51;if(_0x16de37[_0xd986f5(0x105)](_0x49bc55[_0xd986f5(0xde)][_0xd986f5(0xe4)],_0x16de37['tYEXI']))return await _0x49bc55[_0xd986f5(0xfa)](_0x30262c,_0x91d7ee);else{if(_0x16de37['JWPdt'](_0x49bc55['constructor']['name'],_0x16de37[_0xd986f5(0x119)]))return await _0x49bc55[_0xd986f5(0x10c)]('(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'+_0x30262c[_0xd986f5(0xdc)](/arguments/g,_0x16de37['JaQxn'])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON[_0xd986f5(0xbd)](_0x91d7ee)+')');}},exports[a39_0x3da545(0xc4)]=async _0x31b089=>{const _0x45cb9a=a39_0x3da545,_0x42653a={};_0x42653a[_0x45cb9a(0xb8)]=_0x45cb9a(0xb6),_0x42653a[_0x45cb9a(0xfc)]=_0x45cb9a(0xe5),_0x42653a[_0x45cb9a(0xcb)]='accessibilityOptions.includeIssueType.bestPractice',_0x42653a[_0x45cb9a(0xce)]=_0x45cb9a(0xf9),_0x42653a[_0x45cb9a(0x110)]=_0x45cb9a(0xd6),_0x42653a[_0x45cb9a(0x11e)]=_0x45cb9a(0x114);const _0x40eaf5=_0x42653a;_0x31b089['accessibilityOptions']&&(_0x31b089['accessibilityOptions'][_0x45cb9a(0xdb)]&&(_0x31b089[_0x40eaf5['NTIGD']]=_0x31b089[_0x45cb9a(0x10b)]['wcagVersion']),_0x31b089['accessibilityOptions'][_0x45cb9a(0xfe)]&&(_0x31b089[_0x40eaf5['epZPc']]=_0x31b089[_0x45cb9a(0x10b)][_0x45cb9a(0xfe)]),_0x31b089[_0x45cb9a(0x10b)][_0x45cb9a(0x103)]&&(_0x31b089[_0x40eaf5[_0x45cb9a(0xcb)]]=_0x31b089[_0x45cb9a(0x10b)][_0x45cb9a(0x103)][_0x45cb9a(0xf4)],_0x31b089[_0x40eaf5['mXFGj']]=_0x31b089[_0x45cb9a(0x10b)][_0x45cb9a(0x103)][_0x45cb9a(0xf5)]));const _0x566dfc=JSON[_0x45cb9a(0xfb)](process[_0x45cb9a(0xd4)][_0x45cb9a(0x10a)])[_0x45cb9a(0x120)];_0x31b089[_0x40eaf5[_0x45cb9a(0x110)]]=process[_0x45cb9a(0xd4)][_0x45cb9a(0xd8)],_0x31b089[_0x40eaf5['OqIWQ']]=_0x566dfc,delete _0x31b089[_0x45cb9a(0x10b)];},exports[a39_0x3da545(0x11a)]=async _0x41243a=>{const _0x48c35a=a39_0x3da545,_0x514820={};_0x514820['skgRw']=_0x48c35a(0xef),_0x514820[_0x48c35a(0xf7)]=_0x48c35a(0xea);const _0x8cbba9=_0x514820;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x41243a,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x41243a,scripts.getResults);})();return res;}catch{return logger[_0x48c35a(0x112)](_0x8cbba9['skgRw']),[];}else return logger[_0x48c35a(0xcf)](_0x8cbba9[_0x48c35a(0xf7)]),[];},exports[a39_0x3da545(0x109)]=async(_0x4ef43c,_0x5ba3a3='')=>{const _0x9ea494=a39_0x3da545;logger[_0x9ea494(0xe3)]('Performing\x20scan\x20with\x20method:\x20'+_0x5ba3a3+_0x9ea494(0xc7)+_0x4ef43c);if(global[_0x9ea494(0xb4)])return await PerformanceTester[_0x9ea494(0xbe)](PerformanceA11yEvents[_0x9ea494(0xb1)],async()=>{const _0x13d573=_0x9ea494,_0x1793f8={};_0x1793f8[_0x13d573(0x104)]=_0x5ba3a3,await exports[_0x13d573(0xc8)](_0x4ef43c,scripts[_0x13d573(0x109)],_0x1793f8);},{'command':_0x5ba3a3})();},exports[a39_0x3da545(0x116)]=async _0x571c4c=>{const _0x13216c=a39_0x3da545,_0x2e54f2={};_0x2e54f2['KEBsv']='No\x20summaryResults\x20found.',_0x2e54f2[_0x13216c(0xbc)]=_0x13216c(0xe1);const _0x3ee8bb=_0x2e54f2;if(global['accessibilityPlatform'])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x571c4c,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x571c4c,scripts.getResultsSummary);})();return summaryResults;}catch{return logger['debug'](_0x3ee8bb[_0x13216c(0xf2)]),{};}else return logger[_0x13216c(0xcf)](_0x3ee8bb[_0x13216c(0xbc)]),{};},exports[a39_0x3da545(0x115)]=async _0x4829d6=>{const _0x1cfa66=a39_0x3da545,_0x355688={'MRMJp':function(_0x353c72,_0x8c19d9){return _0x353c72!==_0x8c19d9;},'EvLvQ':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','wKxBH':_0x1cfa66(0x106),'LMTgG':_0x1cfa66(0x107),'HsmyS':_0x1cfa66(0xed),'gGBZK':_0x1cfa66(0xb3),'gwAwO':function(_0x28a245,_0x4d2fc4){return _0x28a245(_0x4d2fc4);},'EzUKO':function(_0x274d58){return _0x274d58();},'qDwNj':function(_0x17af59,_0x38cc50){return _0x17af59<_0x38cc50;},'UTveK':_0x1cfa66(0xd1),'NipaV':function(_0x4ed356,_0x379888){return _0x4ed356===_0x379888;},'FLOxc':_0x1cfa66(0x108),'yytcw':function(_0x4909b9,_0x227846){return _0x4909b9>_0x227846;},'rVGhU':_0x1cfa66(0xdd)};try{if(!_0x355688[_0x1cfa66(0xe2)](_0x4829d6[_0x1cfa66(0xff)],''))return logger['warn'](_0x355688['EvLvQ']),![];const _0x349e73=_0x4829d6[_0x1cfa66(0x102)];if(![_0x355688[_0x1cfa66(0xc0)],_0x355688[_0x1cfa66(0xf0)],_0x355688[_0x1cfa66(0xb0)]][_0x1cfa66(0xcc)](_0x349e73))return logger[_0x1cfa66(0xcf)](_0x355688['gGBZK']),![];const _0x3928aa=_0x355688[_0x1cfa66(0x118)](parseInt,_0x4829d6[_0x1cfa66(0x117)]);!_0x355688['EzUKO'](isBrowserstackInfra)&&(!_0x355688['qDwNj'](_0x3928aa,0x64)&&logger[_0x1cfa66(0xcf)](_0x355688[_0x1cfa66(0xe8)]));if(!(_0x355688[_0x1cfa66(0xd2)](_0x3928aa,_0x355688[_0x1cfa66(0x11b)])||_0x355688[_0x1cfa66(0xe7)](_0x3928aa,0x5e)))return logger[_0x1cfa66(0xcf)](_0x355688[_0x1cfa66(0xe6)]),![];}catch(_0x2ad7ac){logger['debug'](_0x1cfa66(0xf1)+util[_0x1cfa66(0xfd)](_0x2ad7ac));}return!![];},exports[a39_0x3da545(0xdf)]=(_0x19f76c,_0x594409,_0x1d9380)=>{const _0xce8888=a39_0x3da545,_0x1f83e5={'ijyzi':function(_0x4ec356){return _0x4ec356();},'sokFM':_0xce8888(0xba),'jAtFh':function(_0x16932e,_0x445eb4){return _0x16932e===_0x445eb4;},'wGRvl':_0xce8888(0x106),'KtLdh':function(_0x53f43a,_0x26e35b){return _0x53f43a===_0x26e35b;},'jIxau':'playwright-chromium','wOAaA':function(_0x48bd6f,_0x2d289c){return _0x48bd6f===_0x2d289c;},'HTgpi':_0xce8888(0xb3),'ZKvmk':function(_0x216822,_0xf94dc){return _0x216822>_0xf94dc;},'ocNeC':_0xce8888(0xd1),'ozTEp':_0xce8888(0x108),'VgTnr':_0xce8888(0xdd),'AiQnZ':function(_0x48eb5d,_0x5995cd){return _0x48eb5d(_0x5995cd);},'SxHyq':_0xce8888(0xca),'qOztf':function(_0x3a7b07,_0x5827fd){return _0x3a7b07+_0x5827fd;}};try{if(_0x1f83e5[_0xce8888(0xad)](isAccessibilityAutomationSession)){global[_0xce8888(0xb4)]=!![];!_0x19f76c[_0x1f83e5[_0xce8888(0xf6)]]&&(global['accessibilityPlatform']=![]);!(_0x1f83e5[_0xce8888(0xbb)](_0x19f76c[_0xce8888(0x111)],_0x1f83e5[_0xce8888(0xb2)])||_0x1f83e5[_0xce8888(0x101)](_0x19f76c[_0xce8888(0x111)],_0x1f83e5[_0xce8888(0xec)])||_0x1f83e5['wOAaA'](_0x19f76c[_0xce8888(0x102)],_0x1f83e5[_0xce8888(0xb2)])||_0x1f83e5[_0xce8888(0xbb)](_0x19f76c[_0xce8888(0x102)],_0x1f83e5[_0xce8888(0xec)]))&&(logger['warn'](_0x1f83e5[_0xce8888(0xcd)]),global[_0xce8888(0xb4)]=![]);!_0x1f83e5['ijyzi'](isBrowserstackInfra)&&(!_0x1f83e5[_0xce8888(0xee)](_0x19f76c[_0xce8888(0x117)],0x64)&&logger[_0xce8888(0xcf)](_0x1f83e5[_0xce8888(0xc6)]));!(_0x1f83e5[_0xce8888(0x101)](_0x19f76c['browser_version'],_0x1f83e5['ozTEp'])||_0x1f83e5['ZKvmk'](_0x19f76c['browser_version'],0x5e))&&(logger[_0xce8888(0xcf)](_0x1f83e5[_0xce8888(0xc3)]),global['accessibilityPlatform']=![]);!_0x1f83e5['AiQnZ'](isUndefined,_0x19f76c[_0xce8888(0xff)])&&(logger[_0xce8888(0xcf)](_0x1f83e5[_0xce8888(0xae)]),global[_0xce8888(0xb4)]=![]);if(!global[_0xce8888(0xb4)]){_0x19f76c[_0x1f83e5[_0xce8888(0xf6)]]=![];const _0x36d356=_0x1f83e5[_0xce8888(0xf3)](_0x594409,_0x1f83e5[_0xce8888(0xf8)](encodeURIComponent,JSON['stringify'](_0x19f76c)));_0x1d9380&&(_0x1d9380[_0xce8888(0xeb)][_0xce8888(0x11c)][_0xce8888(0xbf)][_0xce8888(0xc2)][_0xce8888(0x11d)][_0xce8888(0xe0)]=_0x36d356,_0x1d9380['workerInfo'][_0xce8888(0xbf)]['use'][_0xce8888(0x11d)][_0xce8888(0xe0)]=_0x36d356);}}else global[_0xce8888(0xb4)]=![];}catch(_0x508fae){logger[_0xce8888(0xe3)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util['format'](_0x508fae));}};
1
+ const a39_0x1c0d71=a39_0x20d6;(function(_0x252ada,_0x2b02a1){const _0x30c5a0=a39_0x20d6,_0x298d6c=_0x252ada();while(!![]){try{const _0xc41259=-parseInt(_0x30c5a0(0x23b))/0x1*(parseInt(_0x30c5a0(0x1f7))/0x2)+-parseInt(_0x30c5a0(0x217))/0x3*(-parseInt(_0x30c5a0(0x1ec))/0x4)+parseInt(_0x30c5a0(0x201))/0x5+parseInt(_0x30c5a0(0x248))/0x6*(parseInt(_0x30c5a0(0x1f5))/0x7)+parseInt(_0x30c5a0(0x1ff))/0x8*(parseInt(_0x30c5a0(0x214))/0x9)+-parseInt(_0x30c5a0(0x210))/0xa+-parseInt(_0x30c5a0(0x1ee))/0xb;if(_0xc41259===_0x2b02a1)break;else _0x298d6c['push'](_0x298d6c['shift']());}catch(_0x33eafa){_0x298d6c['push'](_0x298d6c['shift']());}}}(a39_0x24a0,0xc6c19));const util=require('util'),logger=require(a39_0x1c0d71(0x1e9))['winstonLogger'],{isAccessibilityAutomationSession}=require(a39_0x1c0d71(0x208)),{isUndefined,isBrowserstackInfra}=require(a39_0x1c0d71(0x247)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a39_0x1c0d71(0x24c)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a39_0x1c0d71(0x1fc));function a39_0x20d6(_0x124c66,_0x4ab656){const _0x24a075=a39_0x24a0();return a39_0x20d6=function(_0x20d685,_0x393294){_0x20d685=_0x20d685-0x1df;let _0x1075e0=_0x24a075[_0x20d685];return _0x1075e0;},a39_0x20d6(_0x124c66,_0x4ab656);}exports[a39_0x1c0d71(0x1ea)]=async(_0x20029f,_0x12d458,_0x2263b6={})=>{const _0x53b2f6=a39_0x1c0d71,_0x1e2699={};_0x1e2699[_0x53b2f6(0x23a)]=_0x53b2f6(0x1f0);const _0x401494=_0x1e2699;return await _0x20029f[_0x53b2f6(0x213)]('(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'+_0x12d458['replace'](/arguments/g,_0x401494[_0x53b2f6(0x23a)])+_0x53b2f6(0x215)+JSON['stringify'](_0x2263b6)+')');},exports[a39_0x1c0d71(0x234)]=async(_0x140113,_0x26a2b2,_0x1b3447={})=>{const _0x2dd6e5=a39_0x1c0d71,_0x21f26e={};_0x21f26e[_0x2dd6e5(0x236)]=function(_0x4f8a7d,_0x52867a){return _0x4f8a7d===_0x52867a;},_0x21f26e[_0x2dd6e5(0x224)]=_0x2dd6e5(0x22b),_0x21f26e['ttrVN']=function(_0x1212b6,_0x2a631b){return _0x1212b6===_0x2a631b;},_0x21f26e[_0x2dd6e5(0x1f2)]=_0x2dd6e5(0x1f9),_0x21f26e['WJRUt']=_0x2dd6e5(0x1f0);const _0x3ab153=_0x21f26e;if(_0x3ab153[_0x2dd6e5(0x236)](_0x140113[_0x2dd6e5(0x241)][_0x2dd6e5(0x1e6)],_0x3ab153[_0x2dd6e5(0x224)]))return await _0x140113['executeAsyncScript'](_0x26a2b2,_0x1b3447);else{if(_0x3ab153[_0x2dd6e5(0x23d)](_0x140113[_0x2dd6e5(0x241)][_0x2dd6e5(0x1e6)],_0x3ab153[_0x2dd6e5(0x1f2)]))return await _0x140113['executeScript'](_0x2dd6e5(0x245)+_0x26a2b2[_0x2dd6e5(0x21e)](/arguments/g,_0x3ab153[_0x2dd6e5(0x1df)])+_0x2dd6e5(0x235)+JSON['stringify'](_0x1b3447)+')');}},exports[a39_0x1c0d71(0x24f)]=async _0x1e8c7d=>{const _0x4d979f=a39_0x1c0d71,_0xc7379e={};_0xc7379e[_0x4d979f(0x244)]=_0x4d979f(0x22e),_0xc7379e[_0x4d979f(0x220)]=_0x4d979f(0x1e2),_0xc7379e[_0x4d979f(0x20c)]='accessibilityOptions.includeIssueType.bestPractice',_0xc7379e[_0x4d979f(0x237)]=_0x4d979f(0x1ed),_0xc7379e[_0x4d979f(0x1ef)]=_0x4d979f(0x252),_0xc7379e[_0x4d979f(0x227)]='accessibilityOptions.scannerVersion';const _0x2c96f6=_0xc7379e;_0x1e8c7d['accessibilityOptions']&&(_0x1e8c7d[_0x4d979f(0x229)][_0x4d979f(0x24b)]&&(_0x1e8c7d[_0x2c96f6[_0x4d979f(0x244)]]=_0x1e8c7d[_0x4d979f(0x229)]['wcagVersion']),_0x1e8c7d[_0x4d979f(0x229)][_0x4d979f(0x226)]&&(_0x1e8c7d[_0x2c96f6[_0x4d979f(0x220)]]=_0x1e8c7d['accessibilityOptions'][_0x4d979f(0x226)]),_0x1e8c7d[_0x4d979f(0x229)]['includeIssueType']&&(_0x1e8c7d[_0x2c96f6[_0x4d979f(0x20c)]]=_0x1e8c7d['accessibilityOptions'][_0x4d979f(0x222)][_0x4d979f(0x223)],_0x1e8c7d[_0x2c96f6['BgiRj']]=_0x1e8c7d[_0x4d979f(0x229)][_0x4d979f(0x222)][_0x4d979f(0x23c)]));const _0x342d6b=JSON['parse'](process[_0x4d979f(0x21a)][_0x4d979f(0x1eb)])[_0x4d979f(0x20e)];_0x1e8c7d[_0x2c96f6[_0x4d979f(0x1ef)]]=process[_0x4d979f(0x21a)][_0x4d979f(0x22a)],_0x1e8c7d[_0x2c96f6[_0x4d979f(0x227)]]=_0x342d6b,delete _0x1e8c7d[_0x4d979f(0x229)];},exports[a39_0x1c0d71(0x212)]=async _0x13f4a9=>{const _0x4da872=a39_0x1c0d71,_0x5d1bac={};_0x5d1bac[_0x4da872(0x211)]=_0x4da872(0x1e3),_0x5d1bac[_0x4da872(0x202)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.';const _0x405262=_0x5d1bac;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x13f4a9,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x13f4a9,scripts.getResults);})();return res;}catch{return logger['error'](_0x405262[_0x4da872(0x211)]),[];}else return logger[_0x4da872(0x21b)](_0x405262[_0x4da872(0x202)]),[];},exports[a39_0x1c0d71(0x22c)]=async(_0x531b8c,_0x4e8cb0='')=>{const _0x539de1=a39_0x1c0d71;logger[_0x539de1(0x1f3)]('Performing\x20scan\x20with\x20method:\x20'+_0x4e8cb0+_0x539de1(0x206)+_0x531b8c);if(global[_0x539de1(0x1f8)])return await PerformanceTester[_0x539de1(0x209)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x399e4b=_0x539de1,_0x3d0269={};_0x3d0269[_0x399e4b(0x251)]=_0x4e8cb0,await exports[_0x399e4b(0x1ea)](_0x531b8c,scripts[_0x399e4b(0x22c)],_0x3d0269);},{'command':_0x4e8cb0})();},exports[a39_0x1c0d71(0x207)]=async _0x4421c6=>{const _0x47eae0=a39_0x1c0d71,_0x3dc69c={};_0x3dc69c[_0x47eae0(0x231)]='No\x20summaryResults\x20found.',_0x3dc69c['THkGd']=_0x47eae0(0x1e7);const _0x212232=_0x3dc69c;if(global[_0x47eae0(0x1f8)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x4421c6,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x4421c6,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x47eae0(0x1f3)](_0x212232[_0x47eae0(0x231)]),{};}else return logger[_0x47eae0(0x21b)](_0x212232['THkGd']),{};},exports[a39_0x1c0d71(0x219)]=async _0x5b9e1e=>{const _0x19eb9a=a39_0x1c0d71,_0x508a79={'QrjVK':function(_0x13b4bd,_0x2dead0){return _0x13b4bd!==_0x2dead0;},'efRms':_0x19eb9a(0x22d),'OmHLA':_0x19eb9a(0x242),'xesTB':_0x19eb9a(0x218),'dUWpn':_0x19eb9a(0x1f4),'nOckt':_0x19eb9a(0x1e0),'RBQhy':function(_0x2d7ec5,_0x176be6){return _0x2d7ec5(_0x176be6);},'kognY':function(_0x5d29c6){return _0x5d29c6();},'fXwsu':function(_0x1ba2e7,_0x1f4f30){return _0x1ba2e7<_0x1f4f30;},'jLhPi':_0x19eb9a(0x20a),'zOpDT':function(_0x5a1845,_0x29b7bb){return _0x5a1845===_0x29b7bb;},'LOTQy':_0x19eb9a(0x24a),'uSesP':function(_0x4c5bc2,_0x36e59b){return _0x4c5bc2>_0x36e59b;},'BiwkD':_0x19eb9a(0x203)};try{if(!_0x508a79['QrjVK'](_0x5b9e1e[_0x19eb9a(0x240)],''))return logger['warn'](_0x508a79['efRms']),![];const _0x56f5a2=_0x5b9e1e['browser'];if(![_0x508a79['OmHLA'],_0x508a79['xesTB'],_0x508a79[_0x19eb9a(0x1e5)]][_0x19eb9a(0x1e1)](_0x56f5a2))return logger['warn'](_0x508a79[_0x19eb9a(0x21d)]),![];const _0x4d23b3=_0x508a79[_0x19eb9a(0x1e4)](parseInt,_0x5b9e1e[_0x19eb9a(0x243)]);!_0x508a79[_0x19eb9a(0x20d)](isBrowserstackInfra)&&(!_0x508a79['fXwsu'](_0x4d23b3,0x64)&&logger[_0x19eb9a(0x21b)](_0x508a79[_0x19eb9a(0x1f1)]));if(!(_0x508a79[_0x19eb9a(0x24d)](_0x4d23b3,_0x508a79[_0x19eb9a(0x23f)])||_0x508a79[_0x19eb9a(0x1fd)](_0x4d23b3,0x5e)))return logger[_0x19eb9a(0x21b)](_0x508a79[_0x19eb9a(0x233)]),![];}catch(_0x58dc12){logger['debug'](_0x19eb9a(0x1fe)+util[_0x19eb9a(0x204)](_0x58dc12));}return!![];},exports[a39_0x1c0d71(0x250)]=(_0x41789c,_0x4aceee,_0x1b0468)=>{const _0x59b6b9=a39_0x1c0d71,_0x254cf7={'GEdbg':function(_0x111a04){return _0x111a04();},'zntuI':_0x59b6b9(0x22f),'SwtGY':function(_0x3d8850,_0x1fa75e){return _0x3d8850===_0x1fa75e;},'aNZnu':_0x59b6b9(0x242),'QEoTr':function(_0x2c338d,_0x384444){return _0x2c338d===_0x384444;},'vdGSh':_0x59b6b9(0x218),'tzcTm':function(_0x536111,_0x2d2995){return _0x536111===_0x2d2995;},'npXzt':_0x59b6b9(0x1e0),'jlfDj':function(_0x15fc67){return _0x15fc67();},'YiEpL':function(_0x194c88,_0x5bd4e8){return _0x194c88>_0x5bd4e8;},'ubBGq':_0x59b6b9(0x20a),'THHrB':function(_0x3660d7,_0xeb6c1d){return _0x3660d7===_0xeb6c1d;},'jLMLv':_0x59b6b9(0x24a),'gixsg':function(_0x3eeaa3,_0x198a52){return _0x3eeaa3>_0x198a52;},'dSXRQ':_0x59b6b9(0x203),'cKdsZ':function(_0x2d6e55,_0x1f09de){return _0x2d6e55(_0x1f09de);},'uomrW':_0x59b6b9(0x22d),'pzRsM':function(_0x24f06e,_0xfffe5){return _0x24f06e+_0xfffe5;},'xnTBK':function(_0x1204ad,_0x48c94d){return _0x1204ad(_0x48c94d);}};try{if(_0x254cf7[_0x59b6b9(0x1fa)](isAccessibilityAutomationSession)){global[_0x59b6b9(0x1f8)]=!![];!_0x41789c[_0x254cf7[_0x59b6b9(0x221)]]&&(global[_0x59b6b9(0x1f8)]=![]);!(_0x254cf7[_0x59b6b9(0x21c)](_0x41789c['browserName'],_0x254cf7[_0x59b6b9(0x205)])||_0x254cf7[_0x59b6b9(0x1fb)](_0x41789c['browserName'],_0x254cf7[_0x59b6b9(0x225)])||_0x254cf7['SwtGY'](_0x41789c[_0x59b6b9(0x20b)],_0x254cf7[_0x59b6b9(0x205)])||_0x254cf7[_0x59b6b9(0x253)](_0x41789c[_0x59b6b9(0x20b)],_0x254cf7[_0x59b6b9(0x225)]))&&(logger['warn'](_0x254cf7[_0x59b6b9(0x200)]),global[_0x59b6b9(0x1f8)]=![]);!_0x254cf7[_0x59b6b9(0x23e)](isBrowserstackInfra)&&(!_0x254cf7[_0x59b6b9(0x1e8)](_0x41789c[_0x59b6b9(0x243)],0x64)&&logger[_0x59b6b9(0x21b)](_0x254cf7[_0x59b6b9(0x239)]));!(_0x254cf7[_0x59b6b9(0x216)](_0x41789c[_0x59b6b9(0x243)],_0x254cf7[_0x59b6b9(0x232)])||_0x254cf7[_0x59b6b9(0x246)](_0x41789c[_0x59b6b9(0x243)],0x5e))&&(logger[_0x59b6b9(0x21b)](_0x254cf7['dSXRQ']),global[_0x59b6b9(0x1f8)]=![]);!_0x254cf7['cKdsZ'](isUndefined,_0x41789c['deviceName'])&&(logger['warn'](_0x254cf7[_0x59b6b9(0x20f)]),global[_0x59b6b9(0x1f8)]=![]);if(!global[_0x59b6b9(0x1f8)]){_0x41789c[_0x254cf7[_0x59b6b9(0x221)]]=![];const _0x11c937=_0x254cf7[_0x59b6b9(0x228)](_0x4aceee,_0x254cf7['xnTBK'](encodeURIComponent,JSON[_0x59b6b9(0x24e)](_0x41789c)));_0x1b0468&&(_0x1b0468[_0x59b6b9(0x1f6)]['testInfo'][_0x59b6b9(0x249)]['use']['connectOptions']['wsEndpoint']=_0x11c937,_0x1b0468['workerInfo'][_0x59b6b9(0x249)][_0x59b6b9(0x21f)][_0x59b6b9(0x238)]['wsEndpoint']=_0x11c937);}}else global['accessibilityPlatform']=![];}catch(_0xbc1f66){logger[_0x59b6b9(0x1f3)](_0x59b6b9(0x230)+util[_0x59b6b9(0x204)](_0xbc1f66));}};function a39_0x24a0(){const _0xc9bd9f=['../../helpers/accessibility-automation/helper','measureWrapper','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','browser','TgzgF','kognY','scannerVersion','uomrW','4970500AhVoig','xwYXs','getAccessibilityResults','evaluate','14266143LYLDWl','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','THHrB','201KSqppn','playwright-chromium','platformValidation','env','warn','SwtGY','nOckt','replace','use','eSgha','zntuI','includeIssueType','bestPractice','ZINBd','vdGSh','scannerProcessingTimeout','cCqgk','pzRsM','accessibilityOptions','BS_A11Y_JWT','WebDriver','performScan','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','accessibilityOptions.wcagVersion','browserstack.accessibility','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','lJrsD','jLMLv','BiwkD','browserStackExecuteDriver','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','wavwk','BgiRj','connectOptions','ubBGq','NswiE','24957GCvwTL','needsReview','ttrVN','jlfDj','LOTQy','deviceName','constructor','chrome','browser_version','nHjCk','(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','gixsg','../../helpers/helper','9546aCyrID','project','latest','wcagVersion','../../helpers/performance/performance-tester','zOpDT','stringify','setAccessibilityCapabilities','processAccessibilityCaps','command','accessibilityOptions.authToken','tzcTm','WJRUt','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','includes','accessibilityOptions.scannerProcessingTimeout','No\x20accessibility\x20results\x20were\x20found.','RBQhy','dUWpn','name','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','YiEpL','../../helpers/logger','browserStackEvaluate','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','20520nKmxbs','accessibilityOptions.includeIssueType.needsReview','26032391aGaAgx','ZJSCI','bstackSdkArgs','jLhPi','ZcbQx','debug','chromium','3829YuXxzx','currentTest','52HNryCa','accessibilityPlatform','Playwright','GEdbg','QEoTr','../../helpers/performance/constants','uSesP','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','8AjYVgY','npXzt','7637520TpzuHX','FwOHv','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','format','aNZnu','\x20page:\x20','getAccessibilityResultsSummary'];a39_0x24a0=function(){return _0xc9bd9f;};return a39_0x24a0();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a40_0x3b3c(_0x22b690,_0x17d813){const _0xa8cc5e=a40_0xa8cc();return a40_0x3b3c=function(_0x3b3c84,_0x3ad03c){_0x3b3c84=_0x3b3c84-0xcf;let _0x51c43d=_0xa8cc5e[_0x3b3c84];return _0x51c43d;},a40_0x3b3c(_0x22b690,_0x17d813);}function a40_0xa8cc(){const _0x17853a=['true','6PIQSlt','testContextOptions','Error\x20in\x20getting\x20funnel\x20data\x20results','finalExecution','../../helpers/helper','debug','pWvKV','FqfTh','trim','apply','RUknp','assign','THBdI','uUdej','Jspra','isFalse','isTypescriptProject','4328vBIoPJ','exports','writeFileSync','BROWSERSTACK_TEST_OBSERVABILITY','readFileSync','initialize','config','ftYpS','WuxVY','slice','playwright','split','7571508LAsDYp','xdcVj','ffkAp','Playwright\x20process\x20exited\x20with\x20code\x20','../v2/browserstackCLI','--disable-browserstack-automation','BROWSERSTACK_SETUP_CONFIG_PATH','SDK_POST_INITIALIZE','findIndex','homedir','--disable-test-observability','validateRerunTestList','getPackageType','SDK_SETUP','IVKyU','accessibility','IKfPE','clearTempPWConfig','BROWSERSTACK_PW_CONFIG_DIR','908801jMDNcf','2380590DsauUk','join','xZZHK','pw_result.json','VSDBm','logLevel','setFrameworkDetail','path','zjZlG','EVENTS','parse','Error\x20in\x20closing\x20playwright','browserstackAutomation','XvHdz','splice','UIKKB','test','18yTiGEU','YIVZA','../../helpers/test-observability/utils','measureWrapper','indexOf','filter','../../helpers/performance/performance-tester','44033rFDaBP','GLLQF','readdirSync','nestedKeyValue','exitCode','2820epIqrV','--config=','JNwAd','unlinkSync','end','hVVCI','PLAYWRIGHT','getProxyUrl','browserstackSetupConfig.json','aRYLn','Ruzmu','MODULE','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','Hrxdt','has','error','trace_','BROWSERSTACK_RERUN_TESTS','skipSessionName','BROWSERSTACK_RERUN','isUndefined','JekSk','playwright-browserstack-sdk.config.js','errorMessage','cliConfig','../v2/TestInfo','inherit','YcsAq','../../helpers/performance/constants','isTrue','map','BROWSERSTACK_TEST_ACCESSIBILITY_YML','platform','MFOMb','skipSessionStatus','bootstrap','--config','stop','stringify','Deleting\x20','WdIbt','startsWith','xWusH','shutdown','push','738pQcrge','filterBrowserstackArgs','get','91215DIemjO','concat','getInstance','launchBuild','resolve','setBrowserstackConfig','3954580AbuPVR','../utils/constants','wrLJv','../../helpers/testhub/testhubHandler','KDzGv','start','BROWSERSTACK_AUTOMATION','JLPoC','dcAsJ','util','\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();','playwright-browserstack-sdk.config.cjs','NSjgM','yMUql','../../helpers/test-observability/constants','close','Tqefg','--grep','dirname','eViTv','AdKGT','length','./reporter/pwUtils','testObservability','accessibilityOptions','cwd','isRunning','BrowserStack\x20config\x20file\x20not\x20found.','PUJHJ','env','../../helpers/logger','../../helpers/BrowserStackSetup','KyQYj','../../helpers/accessibility-automation/helper','npx','BPcMo','existsSync'];a40_0xa8cc=function(){return _0x17853a;};return a40_0xa8cc();}const a40_0x4e53c9=a40_0x3b3c;(function(_0x2e5a6a,_0x1437e5){const _0x3d435a=a40_0x3b3c,_0x414c2d=_0x2e5a6a();while(!![]){try{const _0x2cd430=parseInt(_0x3d435a(0x157))/0x1+parseInt(_0x3d435a(0x127))/0x2*(-parseInt(_0x3d435a(0xfb))/0x3)+-parseInt(_0x3d435a(0x144))/0x4+-parseInt(_0x3d435a(0x158))/0x5*(-parseInt(_0x3d435a(0x169))/0x6)+-parseInt(_0x3d435a(0x101))/0x7+parseInt(_0x3d435a(0x138))/0x8*(parseInt(_0x3d435a(0xf8))/0x9)+parseInt(_0x3d435a(0x175))/0xa*(parseInt(_0x3d435a(0x170))/0xb);if(_0x2cd430===_0x1437e5)break;else _0x414c2d['push'](_0x414c2d['shift']());}catch(_0x479ff4){_0x414c2d['push'](_0x414c2d['shift']());}}}(a40_0xa8cc,0xeab33));const fs=require('fs'),path=require('path'),{spawn}=require('child_process'),{format}=require(a40_0x4e53c9(0x10a)),logger=require(a40_0x4e53c9(0x11f))['winstonLogger'],{default:BrowserStackSetup}=require(a40_0x4e53c9(0x120)),helper=require(a40_0x4e53c9(0x12b)),utilities=require('../../helpers/utilities'),constants=require(a40_0x4e53c9(0x102)),{FRAMEWORKS}=require(a40_0x4e53c9(0x10f)),{getConfigLoaderPath}=require(a40_0x4e53c9(0x117)),{checkAccessibilityPlatformConfig}=require(a40_0x4e53c9(0x122)),{setAccessibilityCapabilities}=require('./accessibility-helper'),{printBuildLink}=require(a40_0x4e53c9(0x16b)),TestDetails=require('./reporter/test-details'),TestHubHandler=require(a40_0x4e53c9(0x104)),PerformanceTester=require(a40_0x4e53c9(0x16f)),BrowserstackCLI=require(a40_0x4e53c9(0x148)),PerformanceEvents=require(a40_0x4e53c9(0xe7))[a40_0x4e53c9(0x161)],CLIUtils=require('../v2/cliUtils'),TestInfo=require(a40_0x4e53c9(0xe4)),getUserPlaywrightConfig=async(_0x5a1e3c,_0x562277)=>{const _0x23735a=a40_0x4e53c9,_0x16bcb6={'wrLJv':function(_0x435182){return _0x435182();},'WdIbt':function(_0x4928bf,_0xab331f){return _0x4928bf(_0xab331f);},'MRoSB':'resolvedConfigFile','FqfTh':'--config='},_0x537db5=!helper[_0x23735a(0xdf)](_0x5a1e3c[_0x23735a(0x13e)]),_0x569368=_0x537db5?path[_0x23735a(0xff)](process[_0x23735a(0x11a)](),_0x5a1e3c[_0x23735a(0x13e)]):process[_0x23735a(0x11a)](),{resolveConfigFile:_0x1e8120,resolveConfigLocation:_0x83c202}=helper['requirePWModule'][_0x23735a(0x130)](null,_0x16bcb6[_0x23735a(0x103)](getConfigLoaderPath)),_0x50bad2=_0x1e8120?_0x16bcb6[_0x23735a(0xf3)](_0x1e8120,_0x569368):helper[_0x23735a(0x173)](_0x16bcb6[_0x23735a(0xf3)](_0x83c202,_0x569368),[_0x16bcb6['MRoSB']]),_0xc96c3e={};if(_0x537db5){const _0x4973ad=_0x562277[_0x23735a(0x14c)](_0x3336b5=>_0x3336b5==='--config'||_0x3336b5==='-c'||_0x3336b5['startsWith'](_0x23735a(0x176)));_0x562277[_0x23735a(0x166)](_0x4973ad,_0x562277[_0x4973ad][_0x23735a(0xf4)](_0x16bcb6[_0x23735a(0x12e)])?0x1:0x2);}const _0x489d7f={};return _0x489d7f[_0x23735a(0x15f)]=_0x50bad2,_0x489d7f['config']=_0xc96c3e,_0x489d7f;},handleO11yRerun=_0x20ec86=>{const _0x1e6843=a40_0x4e53c9,_0x221175={};_0x221175[_0x1e6843(0x146)]=_0x1e6843(0x112);const _0x527742=_0x221175,_0x1a7a34=helper['isTrue'](process['env'][_0x1e6843(0xde)]);if(_0x1a7a34){const _0x360a65=process['env'][_0x1e6843(0xdc)],_0x3979fb=[];if(helper[_0x1e6843(0x14f)](_0x360a65)&&!helper[_0x1e6843(0xdf)](_0x360a65)){_0x360a65[_0x1e6843(0x143)](',')[_0x1e6843(0xe9)](_0x3056d9=>{const _0x34fcd1=_0x1e6843;_0x3979fb['push']('('+_0x3056d9[_0x34fcd1(0x12f)]()+')');});const _0x17612f='^'+_0x3979fb['join']('|')+'$';_0x20ec86[_0x1e6843(0xf7)](_0x527742[_0x1e6843(0x146)],_0x17612f);}}},spawnOriginalProcess=_0x2c62af=>{const _0x42f721=a40_0x4e53c9,_0x5719d1={'THBdI':function(_0x1faff5,_0x3a638a,_0x1471cf,_0x181625){return _0x1faff5(_0x3a638a,_0x1471cf,_0x181625);},'KyQYj':'npx','aYzuH':_0x42f721(0x142),'XvHdz':function(_0x2e465f,_0x3697b4){return _0x2e465f===_0x3697b4;},'aRYLn':'win32','GLLQF':'inherit'};_0x5719d1[_0x42f721(0x133)](spawn,_0x5719d1[_0x42f721(0x121)],[_0x5719d1['aYzuH'],..._0x2c62af[_0x42f721(0x141)](0x1)],{'shell':_0x5719d1[_0x42f721(0x165)](process[_0x42f721(0xeb)],_0x5719d1[_0x42f721(0xd4)]),'stdio':_0x5719d1[_0x42f721(0x171)],'cwd':process[_0x42f721(0x11a)]()});},isTestCommand=(_0x560dfd,_0x49263e)=>{const _0x461492=a40_0x4e53c9,_0x33f97e={};_0x33f97e[_0x461492(0x15c)]=function(_0x5b0147,_0x3f6537){return _0x5b0147>_0x3f6537;},_0x33f97e[_0x461492(0xf5)]=function(_0x5aa994,_0x4a753c){return _0x5aa994===_0x4a753c;},_0x33f97e[_0x461492(0x16a)]=_0x461492(0x168);const _0x341c91=_0x33f97e;if(_0x341c91[_0x461492(0x15c)](_0x49263e[_0x461492(0x116)],0x1)&&_0x341c91['xWusH'](_0x49263e[0x1],_0x341c91[_0x461492(0x16a)]))return!![];return![];};async function run(_0x1e2d14,_0x4cb75e,_0x33e863){const _0x9e86d=a40_0x4e53c9,_0x1db709={'Hrxdt':function(_0x134fad,_0x4be63a){return _0x134fad(_0x4be63a);},'IKfPE':'.browserstack','yMUql':_0x9e86d(0x15b),'RUknp':function(_0x3e2766,_0x5a2950){return _0x3e2766+_0x5a2950;},'Tqefg':_0x9e86d(0x129),'UIKKB':function(_0x2f69b3){return _0x2f69b3();},'JNwAd':_0x9e86d(0x163),'dcAsJ':_0x9e86d(0x11c),'AdKGT':function(_0x15a1b8,_0x1c4dca){return _0x15a1b8===_0x1c4dca;},'KDzGv':'false','Ruzmu':_0x9e86d(0x14e),'xZZHK':function(_0x53d99c,_0x5bce2f){return _0x53d99c>=_0x5bce2f;},'pWvKV':'automation','wtRCs':function(_0x139b70,_0x478a0a){return _0x139b70!=_0x478a0a;},'BPcMo':function(_0x56a6ea,_0x587bb8,_0x4280d1){return _0x56a6ea(_0x587bb8,_0x4280d1);},'JekSk':_0x9e86d(0x126),'WuxVY':function(_0x10f789,_0x266f82){return _0x10f789(_0x266f82);},'jyyqb':_0x9e86d(0xd3),'QTJTd':_0x9e86d(0x10c),'uUdej':_0x9e86d(0xe1),'hVVCI':function(_0x281f86,_0x28a845){return _0x281f86-_0x28a845;},'IVKyU':'Updated\x20config\x20file\x20name\x20to\x20-\x20','Jspra':function(_0x564536,_0x5d5662){return _0x564536>_0x5d5662;},'ftYpS':function(_0x532ae5,_0x472732,_0x47d91e,_0xb07ff){return _0x532ae5(_0x472732,_0x47d91e,_0xb07ff);},'JLPoC':_0x9e86d(0x123),'HwFYp':'playwright','eViTv':_0x9e86d(0x168),'xdcVj':_0x9e86d(0xef),'MFOMb':'win32','NSjgM':_0x9e86d(0xe5),'mgDBH':_0x9e86d(0x110),'zjZlG':function(_0x261b19,_0x465e0f){return _0x261b19+_0x465e0f;},'PUJHJ':'Error\x20in\x20deleting\x20playwright\x20results'};try{const _0x47354c=path[_0x9e86d(0x159)](helper['homedir'](),_0x1db709[_0x9e86d(0x154)],_0x1db709[_0x9e86d(0x10e)]);fs[_0x9e86d(0x125)](_0x47354c)&&fs['unlinkSync'](_0x47354c);}catch(_0x211043){logger[_0x9e86d(0x12c)](_0x1db709[_0x9e86d(0x160)](_0x1db709[_0x9e86d(0x11d)],_0x211043));}if(!_0x1db709[_0x9e86d(0x124)](isTestCommand,_0x1e2d14,_0x4cb75e)){_0x1db709[_0x9e86d(0x140)](spawnOriginalProcess,_0x4cb75e);return;}await PerformanceTester[_0x9e86d(0x16c)](PerformanceEvents['SDK_PRE_INITIALIZE'],async()=>{const _0x4505bd=_0x9e86d;if(!_0x33e863[_0x4505bd(0x13e)]){logger[_0x4505bd(0xda)](_0x1db709[_0x4505bd(0x109)]);return;}await _0x33e863[_0x4505bd(0x13d)](_0x1e2d14),CLIUtils[_0x4505bd(0x15e)](FRAMEWORKS[_0x4505bd(0xd1)],FRAMEWORKS[_0x4505bd(0xd1)]),BrowserstackCLI[_0x4505bd(0xfd)]()[_0x4505bd(0x100)](_0x33e863['config'],_0x33e863[_0x4505bd(0xe3)]),await BrowserstackCLI[_0x4505bd(0xfd)]()[_0x4505bd(0xee)]();const _0x20b70b=BrowserstackCLI['getInstance']()['getConfig']();!helper[_0x4505bd(0x136)](_0x20b70b[_0x4505bd(0x164)])&&(process[_0x4505bd(0x11e)][_0x4505bd(0x107)]=!![]);_0x1db709[_0x4505bd(0x115)](_0x20b70b['browserstackAutomation'],![])&&(process[_0x4505bd(0x11e)][_0x4505bd(0x107)]=_0x1db709[_0x4505bd(0x105)],_0x4cb75e=_0x4cb75e['filter'](_0x5a0714=>_0x5a0714!==_0x4505bd(0x149)));const _0x161908=_0x4cb75e[_0x4505bd(0x16d)](_0x1db709[_0x4505bd(0xd5)]);(_0x1db709[_0x4505bd(0x15a)](_0x161908,0x0)||_0x1db709[_0x4505bd(0x115)](_0x20b70b[_0x4505bd(0x118)],![]))&&(process['env'][_0x4505bd(0x13b)]=_0x1db709[_0x4505bd(0x105)],_0x4cb75e=_0x4cb75e[_0x4505bd(0x16e)](_0x357d94=>_0x357d94!==_0x4505bd(0x14e)));!helper[_0x4505bd(0xdf)](_0x33e863[_0x4505bd(0xe3)])&&_0x33e863[_0x4505bd(0xe3)][_0x4505bd(0xd9)](_0x1db709[_0x4505bd(0x12d)])&&(process[_0x4505bd(0x11e)]['BROWSERSTACK_AUTOMATION']=_0x33e863[_0x4505bd(0xe3)][_0x4505bd(0xfa)](_0x1db709[_0x4505bd(0x12d)])||!![]);_0x1db709['wtRCs'](_0x33e863['config'][_0x4505bd(0x118)],null)&&!helper[_0x4505bd(0xe8)](process[_0x4505bd(0x11e)][_0x4505bd(0x13b)])&&(process['env'][_0x4505bd(0x13b)]=process['env'][_0x4505bd(0x13b)]||_0x33e863['config'][_0x4505bd(0x118)]);const _0x5ae82a=!helper['isFalse'](process[_0x4505bd(0x11e)][_0x4505bd(0x13b)]);_0x33e863[_0x4505bd(0x13e)][_0x4505bd(0x119)]&&(process[_0x4505bd(0x11e)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x4505bd(0xf1)](_0x33e863[_0x4505bd(0x13e)][_0x4505bd(0x119)]));let _0x38afc2=![];_0x33e863[_0x4505bd(0x13e)][_0x4505bd(0x153)]&&(_0x38afc2=!![],process[_0x4505bd(0x11e)][_0x4505bd(0xea)]=_0x33e863[_0x4505bd(0x13e)]['accessibility']);const _0x4f7c2e=_0x4cb75e[_0x4505bd(0xfc)](),_0x34ea11=await _0x1db709[_0x4505bd(0x124)](getUserPlaywrightConfig,_0x1e2d14,_0x4cb75e);if(helper['isUndefined'](_0x34ea11)){_0x1db709['Hrxdt'](spawnOriginalProcess,_0x4f7c2e);return;}const _0x21b5ee=_0x34ea11[_0x4505bd(0x15f)]?path['dirname'](_0x34ea11['path']):process[_0x4505bd(0x11a)]();process[_0x4505bd(0x11e)][_0x4505bd(0x156)]=_0x21b5ee,await PerformanceTester[_0x4505bd(0x16c)](PerformanceEvents[_0x4505bd(0x14b)],async()=>{const _0x5199d0=_0x4505bd;!BrowserstackCLI[_0x5199d0(0xfd)]()[_0x5199d0(0x11b)]()&&await TestHubHandler[_0x5199d0(0xfe)](FRAMEWORKS[_0x5199d0(0xd1)],_0x33e863),_0x5ae82a&&_0x1db709[_0x5199d0(0xd8)](handleO11yRerun,_0x4cb75e);})();if(!BrowserstackCLI[_0x4505bd(0xfd)]()[_0x4505bd(0x11b)]()){let _0x461920=_0x1db709[_0x4505bd(0x115)](process[_0x4505bd(0x11e)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x1db709[_0x4505bd(0xe0)]);_0x461920=_0x461920||_0x1db709['WuxVY'](checkAccessibilityPlatformConfig,_0x33e863['config']),process[_0x4505bd(0x11e)][_0x4505bd(0xea)]=_0x461920,_0x461920&&_0x1db709['WuxVY'](setAccessibilityCapabilities,_0x33e863[_0x4505bd(0x13e)]);}const _0x1dc137=path[_0x4505bd(0x159)](_0x34ea11[_0x4505bd(0x15f)]?path['dirname'](_0x34ea11[_0x4505bd(0x15f)]):process[_0x4505bd(0x11a)](),_0x1db709['jyyqb']);fs[_0x4505bd(0x13a)](_0x1dc137,helper['serializeToYamlString'](_0x33e863[_0x4505bd(0x13e)])),process[_0x4505bd(0x11e)][_0x4505bd(0x14a)]=_0x1dc137,helper[_0x4505bd(0x155)]();let _0x1a1cbe='';_0x1db709['AdKGT'](helper[_0x4505bd(0x150)](),constants['PACKAGE_TYPE'][_0x4505bd(0xd6)])?_0x1a1cbe=_0x1db709['QTJTd']:_0x1a1cbe=_0x1db709[_0x4505bd(0x134)];let _0x1d9df7='';if(helper[_0x4505bd(0x137)](_0x34ea11[_0x4505bd(0x15f)])){_0x1d9df7='\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a';const _0x2b3723=_0x1a1cbe[_0x4505bd(0x143)]('.');_0x2b3723[_0x1db709[_0x4505bd(0xd0)](_0x2b3723[_0x4505bd(0x116)],0x1)]='ts',_0x1a1cbe=_0x2b3723[_0x4505bd(0x159)]('.'),logger[_0x4505bd(0x12c)](_0x1db709['RUknp'](_0x1db709[_0x4505bd(0x152)],_0x1a1cbe));}else _0x1d9df7=_0x4505bd(0xd7);const _0x1cd81f=path['join'](_0x34ea11[_0x4505bd(0x15f)]?path[_0x4505bd(0x113)](_0x34ea11['path']):process[_0x4505bd(0x11a)](),_0x1a1cbe);let _0x30547f=_0x34ea11[_0x4505bd(0x15f)]?_0x34ea11[_0x4505bd(0x15f)]:'';_0x30547f=_0x1db709[_0x4505bd(0x135)](_0x30547f[_0x4505bd(0x116)],0x0)?path['resolve'](_0x30547f):'',process[_0x4505bd(0x11e)]['USER_CONFIG_DETAILS_PATH']=_0x30547f;const _0xc27557=helper[_0x4505bd(0xd2)](_0x33e863[_0x4505bd(0x13e)]);_0xc27557&&(_0x1d9df7=_0x1db709[_0x4505bd(0x131)]('process.env.GLOBAL_AGENT_HTTP_PROXY=\x22'+_0xc27557+_0x4505bd(0x10b),_0x1d9df7));helper[_0x4505bd(0xf9)]({},_0x4cb75e),fs['writeFileSync'](_0x1cd81f,_0x1d9df7),PerformanceTester[_0x4505bd(0xcf)](PerformanceEvents[_0x4505bd(0x151)]);const _0x3dfa73=_0x1db709[_0x4505bd(0x13f)](spawn,_0x1db709[_0x4505bd(0x108)],[_0x1db709['HwFYp'],_0x1db709[_0x4505bd(0x114)],_0x1db709[_0x4505bd(0x145)],_0x1cd81f,..._0x4cb75e[_0x4505bd(0x141)](0x2)],{'shell':_0x1db709[_0x4505bd(0x115)](process[_0x4505bd(0xeb)],_0x1db709[_0x4505bd(0xec)]),'stdio':_0x1db709[_0x4505bd(0x10d)],'cwd':process[_0x4505bd(0x11a)](),'env':Object[_0x4505bd(0x132)]({},process[_0x4505bd(0x11e)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x1e2d14),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x33e863[_0x4505bd(0x13e)][_0x4505bd(0x128)][_0x4505bd(0xed)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x33e863[_0x4505bd(0x13e)][_0x4505bd(0x128)][_0x4505bd(0xdd)],'BROWSERSTACK_LOG_LEVEL':_0x33e863[_0x4505bd(0x13e)][_0x4505bd(0x15d)]})}),_0x5e6266=()=>{const _0x1bf596=_0x4505bd;try{const _0x55374f=path[_0x1bf596(0x159)](helper[_0x1bf596(0x14d)](),_0x1db709[_0x1bf596(0x154)],_0x1db709[_0x1bf596(0x10e)]);if(fs['existsSync'](_0x55374f)){let _0x40f0f3=fs[_0x1bf596(0x13c)](_0x55374f);_0x40f0f3=JSON[_0x1bf596(0x162)](_0x40f0f3),_0x33e863[_0x1bf596(0xe2)]=_0x40f0f3,fs[_0x1bf596(0x178)](_0x55374f);}}catch(_0x1dfe8c){logger[_0x1bf596(0x12c)](_0x1db709[_0x1bf596(0x131)](_0x1db709[_0x1bf596(0x111)],_0x1dfe8c));}};_0x3dfa73['on'](_0x1db709['mgDBH'],async _0x11ea39=>{const _0x4a3613=_0x4505bd,_0x438f76={};_0x438f76[_0x4a3613(0xe6)]=_0x1db709[_0x4a3613(0x154)];const _0x485ea9=_0x438f76;try{PerformanceTester[_0x4a3613(0x106)](PerformanceEvents['SDK_CLEANUP']),_0x1db709[_0x4a3613(0x167)](_0x5e6266),await TestHubHandler[_0x4a3613(0xf0)](),await BrowserstackCLI[_0x4a3613(0xfd)]()[_0x4a3613(0xf0)](),TestDetails[_0x4a3613(0xf6)](),_0x1db709['UIKKB'](printBuildLink),await utilities[_0x4a3613(0x12a)](_0x33e863),process[_0x4a3613(0x174)]=_0x11ea39,logger[_0x4a3613(0x12c)](_0x4a3613(0x147)+_0x11ea39),logger['info'](_0x4a3613(0xf2)+_0x1cd81f),fs[_0x4a3613(0x178)](_0x1cd81f);fs[_0x4a3613(0x125)](_0x1dc137)&&(logger['debug'](_0x4a3613(0xf2)+_0x1dc137),fs[_0x4a3613(0x178)](_0x1dc137));const _0x1c718c=fs[_0x4a3613(0x172)](path[_0x4a3613(0x159)](helper[_0x4a3613(0x14d)](),_0x1db709[_0x4a3613(0x154)]))[_0x4a3613(0x16e)](_0x32177b=>_0x32177b[_0x4a3613(0xf4)](_0x4a3613(0xdb)));_0x1c718c['forEach'](_0x41d60b=>{const _0x528c65=_0x4a3613;fs[_0x528c65(0x178)](path[_0x528c65(0x159)](helper[_0x528c65(0x14d)](),_0x485ea9['YcsAq'],_0x41d60b));});}catch(_0x59d393){logger[_0x4a3613(0x12c)](_0x1db709[_0x4a3613(0x131)](_0x1db709[_0x4a3613(0x177)],_0x59d393));}});})();}module[a40_0x4e53c9(0x139)]=run;
2
+ 'use strict';function a40_0x25f8(_0x100a80,_0x3a2cb3){const _0x398e6f=a40_0x398e();return a40_0x25f8=function(_0x25f87e,_0x461adc){_0x25f87e=_0x25f87e-0x1f0;let _0x57577b=_0x398e6f[_0x25f87e];return _0x57577b;},a40_0x25f8(_0x100a80,_0x3a2cb3);}const a40_0x4e3469=a40_0x25f8;(function(_0x576c6a,_0x1cc8be){const _0xc4df4f=a40_0x25f8,_0x27ae24=_0x576c6a();while(!![]){try{const _0x22de46=parseInt(_0xc4df4f(0x290))/0x1*(-parseInt(_0xc4df4f(0x254))/0x2)+parseInt(_0xc4df4f(0x26b))/0x3+parseInt(_0xc4df4f(0x25b))/0x4*(-parseInt(_0xc4df4f(0x25a))/0x5)+parseInt(_0xc4df4f(0x22f))/0x6+parseInt(_0xc4df4f(0x260))/0x7*(-parseInt(_0xc4df4f(0x23e))/0x8)+parseInt(_0xc4df4f(0x20c))/0x9+-parseInt(_0xc4df4f(0x284))/0xa*(-parseInt(_0xc4df4f(0x24d))/0xb);if(_0x22de46===_0x1cc8be)break;else _0x27ae24['push'](_0x27ae24['shift']());}catch(_0x3f7dd1){_0x27ae24['push'](_0x27ae24['shift']());}}}(a40_0x398e,0x2c6e8));const fs=require('fs'),path=require(a40_0x4e3469(0x298)),{spawn}=require(a40_0x4e3469(0x253)),{format}=require(a40_0x4e3469(0x274)),logger=require(a40_0x4e3469(0x1fe))['winstonLogger'],{default:BrowserStackSetup}=require(a40_0x4e3469(0x294)),helper=require(a40_0x4e3469(0x23b)),utilities=require(a40_0x4e3469(0x1f5)),constants=require('../utils/constants'),{FRAMEWORKS}=require(a40_0x4e3469(0x217)),{getConfigLoaderPath}=require(a40_0x4e3469(0x266)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a40_0x4e3469(0x25e)),{printBuildLink}=require(a40_0x4e3469(0x279)),TestDetails=require(a40_0x4e3469(0x282)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),PerformanceTester=require(a40_0x4e3469(0x236)),BrowserstackCLI=require(a40_0x4e3469(0x200)),PerformanceEvents=require(a40_0x4e3469(0x211))[a40_0x4e3469(0x273)],CLIUtils=require('../v2/cliUtils'),TestInfo=require(a40_0x4e3469(0x281)),getUserPlaywrightConfig=async(_0x47e856,_0x2c70ed)=>{const _0x285f2f=a40_0x4e3469,_0xe532fd={'kDdzg':function(_0x5e7d75){return _0x5e7d75();},'YJLFJ':function(_0x5b198f,_0x5943f4){return _0x5b198f(_0x5943f4);},'gbIsO':_0x285f2f(0x226),'mhCUp':_0x285f2f(0x223)},_0x5cb58a=!helper[_0x285f2f(0x270)](_0x47e856[_0x285f2f(0x247)]),_0x3f32dc=_0x5cb58a?path[_0x285f2f(0x22c)](process['cwd'](),_0x47e856[_0x285f2f(0x247)]):process[_0x285f2f(0x22b)](),{resolveConfigFile:_0x55a311,resolveConfigLocation:_0x18ccc5}=helper[_0x285f2f(0x20a)][_0x285f2f(0x26f)](null,_0xe532fd[_0x285f2f(0x24a)](getConfigLoaderPath)),_0x450852=_0x55a311?_0xe532fd[_0x285f2f(0x21e)](_0x55a311,_0x3f32dc):helper['nestedKeyValue'](_0xe532fd[_0x285f2f(0x21e)](_0x18ccc5,_0x3f32dc),[_0xe532fd['gbIsO']]),_0x958738={};if(_0x5cb58a){const _0x6f9442=_0x2c70ed['findIndex'](_0x1dcb94=>_0x1dcb94===_0x285f2f(0x277)||_0x1dcb94==='-c'||_0x1dcb94[_0x285f2f(0x280)]('--config='));_0x2c70ed[_0x285f2f(0x29a)](_0x6f9442,_0x2c70ed[_0x6f9442]['startsWith'](_0xe532fd[_0x285f2f(0x21d)])?0x1:0x2);}const _0xe460f6={};return _0xe460f6[_0x285f2f(0x298)]=_0x450852,_0xe460f6[_0x285f2f(0x247)]=_0x958738,_0xe460f6;},handleO11yRerun=_0x3445fb=>{const _0x495e08=a40_0x4e3469,_0x315a67={};_0x315a67[_0x495e08(0x245)]=_0x495e08(0x1f3);const _0x55cde7=_0x315a67,_0x1dd1a9=helper[_0x495e08(0x24f)](process[_0x495e08(0x257)][_0x495e08(0x210)]);if(_0x1dd1a9){const _0xd6a39b=process[_0x495e08(0x257)][_0x495e08(0x261)],_0x5a95cb=[];if(helper[_0x495e08(0x1f6)](_0xd6a39b)&&!helper[_0x495e08(0x270)](_0xd6a39b)){_0xd6a39b[_0x495e08(0x26c)](',')[_0x495e08(0x1f4)](_0x37fa6b=>{const _0x14b9b6=_0x495e08;_0x5a95cb[_0x14b9b6(0x265)]('('+_0x37fa6b[_0x14b9b6(0x221)]()+')');});const _0x2f2ba9='^'+_0x5a95cb[_0x495e08(0x29b)]('|')+'$';_0x3445fb['push'](_0x55cde7[_0x495e08(0x245)],_0x2f2ba9);}}},spawnOriginalProcess=_0x404948=>{const _0xc6334=a40_0x4e3469,_0x3664fd={'nzCrb':function(_0x1c22e0,_0x4d7231,_0x125572,_0x4c85d4){return _0x1c22e0(_0x4d7231,_0x125572,_0x4c85d4);},'fIgRw':_0xc6334(0x1f2),'gjNIA':_0xc6334(0x222),'NBYlj':function(_0x41d779,_0x3e91f1){return _0x41d779===_0x3e91f1;},'qWqsF':'win32','jHwAe':_0xc6334(0x275)};_0x3664fd[_0xc6334(0x23a)](spawn,_0x3664fd['fIgRw'],[_0x3664fd['gjNIA'],..._0x404948[_0xc6334(0x21c)](0x1)],{'shell':_0x3664fd[_0xc6334(0x27a)](process[_0xc6334(0x1ff)],_0x3664fd[_0xc6334(0x1f9)]),'stdio':_0x3664fd['jHwAe'],'cwd':process[_0xc6334(0x22b)]()});},isTestCommand=(_0x24eac8,_0x11341c)=>{const _0x41b8b9=a40_0x4e3469,_0x1f6d3b={};_0x1f6d3b[_0x41b8b9(0x28a)]=function(_0x46fedf,_0x4c8571){return _0x46fedf>_0x4c8571;},_0x1f6d3b['jbrra']=function(_0x3ee6e6,_0x241a53){return _0x3ee6e6===_0x241a53;},_0x1f6d3b[_0x41b8b9(0x27f)]='test';const _0x44377d=_0x1f6d3b;if(_0x44377d[_0x41b8b9(0x28a)](_0x11341c[_0x41b8b9(0x225)],0x1)&&_0x44377d[_0x41b8b9(0x1f1)](_0x11341c[0x1],_0x44377d[_0x41b8b9(0x27f)]))return!![];return![];};async function run(_0x41f29a,_0x235988,_0xa220e3){const _0x367129=a40_0x4e3469,_0x49ba4b={'VVUbe':function(_0x2e02b4){return _0x2e02b4();},'ISiBu':'.browserstack','Qsufw':function(_0xaa1bff,_0x2e1a19){return _0xaa1bff+_0x2e1a19;},'eAnaB':_0x367129(0x1fb),'tvvZO':function(_0x3dc832,_0x268266){return _0x3dc832(_0x268266);},'dAzVl':_0x367129(0x220),'ofWqq':function(_0x2c8970,_0x1401d8){return _0x2c8970+_0x1401d8;},'VEIgR':_0x367129(0x259),'RJMJx':_0x367129(0x22e),'lrIci':function(_0x14d110,_0x285c9c){return _0x14d110===_0x285c9c;},'rdDez':_0x367129(0x227),'FTmKO':_0x367129(0x1fa),'dqpQc':function(_0x4145c1,_0x46ce8b){return _0x4145c1>=_0x46ce8b;},'hUBev':function(_0x359346,_0x32414d){return _0x359346===_0x32414d;},'MwFdo':_0x367129(0x269),'kWQiF':function(_0x40297f,_0x4a76f4){return _0x40297f!=_0x4a76f4;},'KHiHi':function(_0x4a9f4d,_0x45ae19,_0x15984a){return _0x4a9f4d(_0x45ae19,_0x15984a);},'KRvZs':_0x367129(0x271),'vaUNZ':function(_0x3dbee9,_0x213321){return _0x3dbee9(_0x213321);},'nnGnS':_0x367129(0x23c),'GCDcv':_0x367129(0x20e),'ARWdS':_0x367129(0x297),'tPueX':function(_0x50bfe8,_0x47a204){return _0x50bfe8-_0x47a204;},'GDWtk':_0x367129(0x203),'kbtcs':function(_0x5f17b8,_0x1f2c1e){return _0x5f17b8>_0x1f2c1e;},'vTAKV':function(_0x2fb053,_0x4af086){return _0x2fb053+_0x4af086;},'knKkU':function(_0x17608c,_0xf778ff,_0x1ea536,_0x2ebf1e){return _0x17608c(_0xf778ff,_0x1ea536,_0x2ebf1e);},'pAFRK':_0x367129(0x1f2),'FFMEq':_0x367129(0x222),'HKtqd':_0x367129(0x289),'SfWND':_0x367129(0x277),'ycyiO':function(_0x28ca90,_0x5cb0af){return _0x28ca90===_0x5cb0af;},'oGIaB':_0x367129(0x24b),'jBKaR':'inherit','SkkxN':_0x367129(0x278),'SIsIP':_0x367129(0x207),'axYlg':function(_0x51fb0c,_0x41b33c,_0x1a82a4){return _0x51fb0c(_0x41b33c,_0x1a82a4);}};try{const _0x158b18=path['join'](helper[_0x367129(0x26a)](),_0x49ba4b[_0x367129(0x22d)],_0x49ba4b['dAzVl']);fs[_0x367129(0x214)](_0x158b18)&&fs['unlinkSync'](_0x158b18);}catch(_0x385579){logger['debug'](_0x49ba4b['Qsufw'](_0x49ba4b[_0x367129(0x242)],_0x385579));}if(!_0x49ba4b[_0x367129(0x256)](isTestCommand,_0x41f29a,_0x235988)){_0x49ba4b[_0x367129(0x268)](spawnOriginalProcess,_0x235988);return;}await PerformanceTester[_0x367129(0x240)](PerformanceEvents[_0x367129(0x1fc)],async()=>{const _0x28ad51=_0x367129,_0x25d63e={'hjZQA':function(_0x3bf92a,_0x488595){return _0x49ba4b['tvvZO'](_0x3bf92a,_0x488595);},'xuYrX':_0x49ba4b[_0x28ad51(0x22d)],'LgXIK':_0x49ba4b[_0x28ad51(0x27d)],'qmQeE':function(_0x325879,_0x41c2d4){return _0x49ba4b['ofWqq'](_0x325879,_0x41c2d4);},'WiQuQ':_0x49ba4b['VEIgR']};if(!_0xa220e3[_0x28ad51(0x247)]){logger[_0x28ad51(0x237)](_0x49ba4b[_0x28ad51(0x286)]);return;}await _0xa220e3['initialize'](_0x41f29a),CLIUtils[_0x28ad51(0x216)](FRAMEWORKS[_0x28ad51(0x299)],FRAMEWORKS[_0x28ad51(0x299)]),BrowserstackCLI[_0x28ad51(0x287)]()['setBrowserstackConfig'](_0xa220e3[_0x28ad51(0x247)],_0xa220e3[_0x28ad51(0x28f)]),await BrowserstackCLI[_0x28ad51(0x287)]()[_0x28ad51(0x25c)]();const _0x352c11=BrowserstackCLI[_0x28ad51(0x287)]()[_0x28ad51(0x20b)]();!helper[_0x28ad51(0x28e)](_0x352c11[_0x28ad51(0x285)])&&(process[_0x28ad51(0x257)][_0x28ad51(0x229)]=!![]);_0x49ba4b[_0x28ad51(0x243)](_0x352c11[_0x28ad51(0x285)],![])&&(process[_0x28ad51(0x257)][_0x28ad51(0x229)]=_0x49ba4b[_0x28ad51(0x204)],_0x235988=_0x235988[_0x28ad51(0x292)](_0x59cf17=>_0x59cf17!=='--disable-browserstack-automation'));const _0x575698=_0x235988[_0x28ad51(0x28d)](_0x49ba4b[_0x28ad51(0x251)]);(_0x49ba4b['dqpQc'](_0x575698,0x0)||_0x49ba4b[_0x28ad51(0x20d)](_0x352c11['testObservability'],![]))&&(process[_0x28ad51(0x257)]['BROWSERSTACK_TEST_OBSERVABILITY']=_0x49ba4b[_0x28ad51(0x204)],_0x235988=_0x235988[_0x28ad51(0x292)](_0x467724=>_0x467724!==_0x28ad51(0x1fa)));!helper[_0x28ad51(0x270)](_0xa220e3['cliConfig'])&&_0xa220e3[_0x28ad51(0x28f)][_0x28ad51(0x238)](_0x49ba4b[_0x28ad51(0x258)])&&(process[_0x28ad51(0x257)][_0x28ad51(0x229)]=_0xa220e3['cliConfig'][_0x28ad51(0x246)](_0x49ba4b[_0x28ad51(0x258)])||!![]);_0x49ba4b[_0x28ad51(0x232)](_0xa220e3[_0x28ad51(0x247)][_0x28ad51(0x212)],null)&&!helper['isTrue'](process[_0x28ad51(0x257)][_0x28ad51(0x244)])&&(process[_0x28ad51(0x257)][_0x28ad51(0x244)]=process[_0x28ad51(0x257)][_0x28ad51(0x244)]||_0xa220e3[_0x28ad51(0x247)][_0x28ad51(0x212)]);const _0x4f0452=!helper[_0x28ad51(0x28e)](process[_0x28ad51(0x257)]['BROWSERSTACK_TEST_OBSERVABILITY']);_0xa220e3['config'][_0x28ad51(0x262)]&&(process[_0x28ad51(0x257)][_0x28ad51(0x283)]=JSON['stringify'](_0xa220e3['config']['accessibilityOptions']));let _0x174c5d=![];_0xa220e3[_0x28ad51(0x247)][_0x28ad51(0x27b)]&&(_0x174c5d=!![],process['env'][_0x28ad51(0x25f)]=_0xa220e3['config'][_0x28ad51(0x27b)]);const _0x240507=_0x235988['concat'](),_0x3bb19a=await _0x49ba4b[_0x28ad51(0x264)](getUserPlaywrightConfig,_0x41f29a,_0x235988);if(helper[_0x28ad51(0x270)](_0x3bb19a)){_0x49ba4b[_0x28ad51(0x268)](spawnOriginalProcess,_0x240507);return;}const _0xcd7ca6=_0x3bb19a['path']?path[_0x28ad51(0x28b)](_0x3bb19a[_0x28ad51(0x298)]):process[_0x28ad51(0x22b)]();process['env'][_0x28ad51(0x1f8)]=_0xcd7ca6,await PerformanceTester[_0x28ad51(0x240)](PerformanceEvents[_0x28ad51(0x239)],async()=>{const _0x591a17=_0x28ad51;!BrowserstackCLI[_0x591a17(0x287)]()['isRunning']()&&await TestHubHandler['launchBuild'](FRAMEWORKS['PLAYWRIGHT'],_0xa220e3),_0x4f0452&&_0x25d63e[_0x591a17(0x224)](handleO11yRerun,_0x235988);})();if(!BrowserstackCLI[_0x28ad51(0x287)]()[_0x28ad51(0x250)]()){let _0x2051f8=_0x49ba4b[_0x28ad51(0x243)](process[_0x28ad51(0x257)][_0x28ad51(0x25f)],_0x49ba4b[_0x28ad51(0x213)]);_0x2051f8=_0x2051f8||_0x49ba4b['tvvZO'](checkAccessibilityPlatformConfig,_0xa220e3['config']),process[_0x28ad51(0x257)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x2051f8,_0x2051f8&&_0x49ba4b[_0x28ad51(0x21b)](setAccessibilityCapabilities,_0xa220e3[_0x28ad51(0x247)]);}const _0x26f0f4=path['join'](_0x3bb19a[_0x28ad51(0x298)]?path[_0x28ad51(0x28b)](_0x3bb19a[_0x28ad51(0x298)]):process[_0x28ad51(0x22b)](),_0x49ba4b[_0x28ad51(0x206)]);fs[_0x28ad51(0x241)](_0x26f0f4,helper['serializeToYamlString'](_0xa220e3[_0x28ad51(0x247)])),process[_0x28ad51(0x257)][_0x28ad51(0x1fd)]=_0x26f0f4,helper['clearTempPWConfig']();let _0x270669='';_0x49ba4b[_0x28ad51(0x243)](helper['getPackageType'](),constants[_0x28ad51(0x248)][_0x28ad51(0x202)])?_0x270669=_0x49ba4b[_0x28ad51(0x26d)]:_0x270669=_0x49ba4b[_0x28ad51(0x235)];let _0x49ca71='';if(helper[_0x28ad51(0x276)](_0x3bb19a[_0x28ad51(0x298)])){_0x49ca71=_0x28ad51(0x201);const _0x59dcc2=_0x270669[_0x28ad51(0x26c)]('.');_0x59dcc2[_0x49ba4b[_0x28ad51(0x296)](_0x59dcc2[_0x28ad51(0x225)],0x1)]='ts',_0x270669=_0x59dcc2['join']('.'),logger['debug'](_0x49ba4b[_0x28ad51(0x230)](_0x49ba4b[_0x28ad51(0x25d)],_0x270669));}else _0x49ca71='\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a';const _0x193d8c=path[_0x28ad51(0x29b)](_0x3bb19a[_0x28ad51(0x298)]?path[_0x28ad51(0x28b)](_0x3bb19a[_0x28ad51(0x298)]):process['cwd'](),_0x270669);let _0x5c6983=_0x3bb19a[_0x28ad51(0x298)]?_0x3bb19a[_0x28ad51(0x298)]:'';_0x5c6983=_0x49ba4b['kbtcs'](_0x5c6983[_0x28ad51(0x225)],0x0)?path[_0x28ad51(0x22c)](_0x5c6983):'',process[_0x28ad51(0x257)][_0x28ad51(0x218)]=_0x5c6983;const _0x4be001=helper[_0x28ad51(0x255)](_0xa220e3[_0x28ad51(0x247)]);_0x4be001&&(_0x49ca71=_0x49ba4b['vTAKV']('process.env.GLOBAL_AGENT_HTTP_PROXY=\x22'+_0x4be001+_0x28ad51(0x29c),_0x49ca71));helper['filterBrowserstackArgs']({},_0x235988),fs[_0x28ad51(0x241)](_0x193d8c,_0x49ca71),PerformanceTester[_0x28ad51(0x252)](PerformanceEvents[_0x28ad51(0x20f)]);const _0x136cfe=_0x49ba4b[_0x28ad51(0x205)](spawn,_0x49ba4b[_0x28ad51(0x24c)],[_0x49ba4b[_0x28ad51(0x27c)],_0x49ba4b[_0x28ad51(0x23f)],_0x49ba4b[_0x28ad51(0x288)],_0x193d8c,..._0x235988[_0x28ad51(0x21c)](0x2)],{'shell':_0x49ba4b[_0x28ad51(0x21f)](process[_0x28ad51(0x1ff)],_0x49ba4b[_0x28ad51(0x21a)]),'stdio':_0x49ba4b['jBKaR'],'cwd':process[_0x28ad51(0x22b)](),'env':Object['assign']({},process[_0x28ad51(0x257)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x28ad51(0x208)](_0x41f29a),'BROWSERSTACK_SKIP_SESSION_STATUS':_0xa220e3['config'][_0x28ad51(0x27e)][_0x28ad51(0x23d)],'BROWSERSTACK_SKIP_SESSION_NAME':_0xa220e3['config'][_0x28ad51(0x27e)][_0x28ad51(0x234)],'BROWSERSTACK_LOG_LEVEL':_0xa220e3[_0x28ad51(0x247)]['logLevel']})}),_0x3aa836=()=>{const _0xc9b639=_0x28ad51;try{const _0x39c346=path[_0xc9b639(0x29b)](helper[_0xc9b639(0x26a)](),_0x25d63e[_0xc9b639(0x209)],_0x25d63e[_0xc9b639(0x233)]);if(fs[_0xc9b639(0x214)](_0x39c346)){let _0x55d88e=fs[_0xc9b639(0x293)](_0x39c346);_0x55d88e=JSON[_0xc9b639(0x231)](_0x55d88e),_0xa220e3[_0xc9b639(0x1f0)]=_0x55d88e,fs[_0xc9b639(0x28c)](_0x39c346);}}catch(_0x12274c){logger[_0xc9b639(0x26e)](_0x25d63e[_0xc9b639(0x249)](_0x25d63e[_0xc9b639(0x263)],_0x12274c));}};_0x136cfe['on'](_0x49ba4b['SkkxN'],async _0x2fd896=>{const _0x5041dc=_0x28ad51;try{PerformanceTester[_0x5041dc(0x215)](PerformanceEvents[_0x5041dc(0x291)]),_0x49ba4b[_0x5041dc(0x29d)](_0x3aa836),await TestHubHandler[_0x5041dc(0x267)](),await BrowserstackCLI[_0x5041dc(0x287)]()[_0x5041dc(0x267)](),TestDetails['shutdown'](),_0x49ba4b[_0x5041dc(0x29d)](printBuildLink),await utilities['finalExecution'](_0xa220e3),process[_0x5041dc(0x22a)]=_0x2fd896,logger[_0x5041dc(0x26e)](_0x5041dc(0x295)+_0x2fd896),logger[_0x5041dc(0x272)](_0x5041dc(0x219)+_0x193d8c),fs['unlinkSync'](_0x193d8c);fs[_0x5041dc(0x214)](_0x26f0f4)&&(logger[_0x5041dc(0x26e)](_0x5041dc(0x219)+_0x26f0f4),fs[_0x5041dc(0x28c)](_0x26f0f4));const _0x5b10ea=fs[_0x5041dc(0x24e)](path[_0x5041dc(0x29b)](helper[_0x5041dc(0x26a)](),_0x49ba4b['ISiBu']))[_0x5041dc(0x292)](_0x41f45c=>_0x41f45c[_0x5041dc(0x280)]('trace_'));_0x5b10ea[_0x5041dc(0x228)](_0x121b1c=>{const _0x2e45d8=_0x5041dc;fs[_0x2e45d8(0x28c)](path[_0x2e45d8(0x29b)](helper[_0x2e45d8(0x26a)](),_0x25d63e['xuYrX'],_0x121b1c));});}catch(_0x3087ae){logger[_0x5041dc(0x26e)](_0x49ba4b[_0x5041dc(0x230)](_0x49ba4b[_0x5041dc(0x1f7)],_0x3087ae));}});})();}module['exports']=run;function a40_0x398e(){const _0xfb27fa=['xuYrX','requirePWModule','getConfig','860571Ivxhsz','hUBev','playwright-browserstack-sdk.config.cjs','SDK_SETUP','BROWSERSTACK_RERUN','../../helpers/performance/constants','testObservability','KRvZs','existsSync','start','setFrameworkDetail','../../helpers/test-observability/constants','USER_CONFIG_DETAILS_PATH','Deleting\x20','oGIaB','vaUNZ','slice','mhCUp','YJLFJ','ycyiO','pw_result.json','trim','playwright','--config=','hjZQA','length','resolvedConfigFile','false','forEach','BROWSERSTACK_AUTOMATION','exitCode','cwd','resolve','ISiBu','BrowserStack\x20config\x20file\x20not\x20found.','145908kLPnbw','Qsufw','parse','kWQiF','LgXIK','skipSessionName','ARWdS','../../helpers/performance/performance-tester','error','has','SDK_POST_INITIALIZE','nzCrb','../../helpers/helper','browserstackSetupConfig.json','skipSessionStatus','1144yWExIk','HKtqd','measureWrapper','writeFileSync','SIsIP','lrIci','BROWSERSTACK_TEST_OBSERVABILITY','jqwtK','get','config','PACKAGE_TYPE','qmQeE','kDdzg','win32','pAFRK','11fLnpGH','readdirSync','isTrue','isRunning','FTmKO','end','child_process','10250WDqXca','getProxyUrl','axYlg','env','MwFdo','Error\x20in\x20getting\x20funnel\x20data\x20results','5yJXIpK','1233956PCCZrv','bootstrap','GDWtk','./accessibility-helper','BROWSERSTACK_TEST_ACCESSIBILITY_YML','11494eduyPT','BROWSERSTACK_RERUN_TESTS','accessibilityOptions','WiQuQ','KHiHi','push','./reporter/pwUtils','stop','tvvZO','automation','homedir','424212ahtjDq','split','GCDcv','debug','apply','isUndefined','true','info','EVENTS','util','inherit','isTypescriptProject','--config','close','../../helpers/test-observability/utils','NBYlj','accessibility','FFMEq','dAzVl','testContextOptions','VxedM','startsWith','../v2/TestInfo','./reporter/test-details','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','7355710XXQIsy','browserstackAutomation','RJMJx','getInstance','SfWND','test','kZcqt','dirname','unlinkSync','indexOf','isFalse','cliConfig','53QSBwMu','SDK_CLEANUP','filter','readFileSync','../../helpers/BrowserStackSetup','Playwright\x20process\x20exited\x20with\x20code\x20','tPueX','playwright-browserstack-sdk.config.js','path','PLAYWRIGHT','splice','join','\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();','VVUbe','errorMessage','jbrra','npx','--grep','map','../../helpers/utilities','validateRerunTestList','eAnaB','BROWSERSTACK_PW_CONFIG_DIR','qWqsF','--disable-test-observability','Error\x20in\x20closing\x20playwright','SDK_PRE_INITIALIZE','BROWSERSTACK_SETUP_CONFIG_PATH','../../helpers/logger','platform','../v2/browserstackCLI','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','MODULE','Updated\x20config\x20file\x20name\x20to\x20-\x20','rdDez','knKkU','nnGnS','Error\x20in\x20deleting\x20playwright\x20results','getConfigPath'];a40_0x398e=function(){return _0xfb27fa;};return a40_0x398e();}
@@ -1 +1 @@
1
- const a41_0x577aff=a41_0xcb4c;(function(_0x1abb4f,_0x4a5670){const _0x5c6564=a41_0xcb4c,_0x291fe7=_0x1abb4f();while(!![]){try{const _0x1ac55b=parseInt(_0x5c6564(0x1ad))/0x1*(parseInt(_0x5c6564(0x1a4))/0x2)+parseInt(_0x5c6564(0x1be))/0x3+-parseInt(_0x5c6564(0x1a1))/0x4+parseInt(_0x5c6564(0x1bc))/0x5+parseInt(_0x5c6564(0x1b7))/0x6+-parseInt(_0x5c6564(0x19d))/0x7*(-parseInt(_0x5c6564(0x1bb))/0x8)+-parseInt(_0x5c6564(0x1ba))/0x9;if(_0x1ac55b===_0x4a5670)break;else _0x291fe7['push'](_0x291fe7['shift']());}catch(_0x25f5c5){_0x291fe7['push'](_0x291fe7['shift']());}}}(a41_0x4475,0x7d444));function a41_0xcb4c(_0x4c572b,_0x33f9b0){const _0x44758c=a41_0x4475();return a41_0xcb4c=function(_0xcb4c3,_0x1b2b6a){_0xcb4c3=_0xcb4c3-0x19c;let _0x3b437b=_0x44758c[_0xcb4c3];return _0x3b437b;},a41_0xcb4c(_0x4c572b,_0x33f9b0);}function a41_0x4475(){const _0x36ff9b=['../../helpers/logger','ddlsW','./mock-process.js','error','child_process','YmhFd','winstonLogger','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','lvauZ','../../helpers/test-observability/constants','Running\x20existing\x20global\x20setup','wkvHx','util','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','4841417nNOuiD','requirePWModule','format','isHandlePWErrorSet','1193452UiExpf','Not\x20able\x20to\x20import\x20globalSetup','fetEC','1182lbNQpU','Call\x20to\x20child\x20fork\x20with\x20args\x20','debug','PLAYWRIGHT','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','1.33.0','function','Path\x20','toString','1471vivJKR','./patches','AeGfi','config','FANhT','apply','./reporter/pwUtils','ofVWU','compareVersions','GCKNu','5774784kjfbiQ','fork','includes','28316286ndKeIM','8tiDMOV','5049730QZqWrg','\x20is\x20not\x20found','1272921OKnSzB','MScmn','resolve','../../helpers/test-observability/utils','env'];a41_0x4475=function(){return _0x36ff9b;};return a41_0x4475();}const util=require(a41_0x577aff(0x1cf)),child_process=require(a41_0x577aff(0x1c7)),{FRAMEWORKS}=require(a41_0x577aff(0x1cc)),{getFrameworkVersion,debug}=require(a41_0x577aff(0x1c1)),helper=require('../../helpers/helper'),{getLoadUtilsPath,getForkProcessPath}=require(a41_0x577aff(0x1b3)),{mockIsWorkerRedundant}=require(a41_0x577aff(0x1ae)),logger=require(a41_0x577aff(0x1c3))[a41_0x577aff(0x1c9)];module['exports']=async function(_0x3f1337){const _0x4cf2b8=a41_0x577aff,_0x460c8d={'ofVWU':function(_0x2b9235,_0x5ef8bc){return _0x2b9235(_0x5ef8bc);},'FANhT':function(_0x455d05){return _0x455d05();},'lvauZ':_0x4cf2b8(0x1c5),'GCKNu':function(_0x59c3d0){return _0x59c3d0();},'AeGfi':_0x4cf2b8(0x1cd),'fetEC':function(_0x50b76b){return _0x50b76b();},'hucDw':function(_0x2537da,_0x50f0fe){return _0x2537da>=_0x50f0fe;},'wkvHx':_0x4cf2b8(0x1a9),'ddlsW':function(_0x441e8e,_0x3c2464,_0x427060){return _0x441e8e(_0x3c2464,_0x427060);},'zoHBM':function(_0x293532,_0x3ca878){return _0x293532!==_0x3ca878;},'lYssa':_0x4cf2b8(0x1aa),'MScmn':_0x4cf2b8(0x1a2),'YmhFd':function(_0x558f3f,_0x45b0d0){return _0x558f3f(_0x45b0d0);}},_0x25acff=child_process[_0x4cf2b8(0x1b8)];if(helper[_0x4cf2b8(0x1a0)]())try{_0x460c8d[_0x4cf2b8(0x1b6)](mockIsWorkerRedundant);}catch(_0x369924){logger[_0x4cf2b8(0x1a6)](_0x4cf2b8(0x1a8)+util[_0x4cf2b8(0x19f)](_0x369924));}child_process['fork']=function(){const _0x569019=_0x4cf2b8;return _0x460c8d[_0x569019(0x1b4)](debug,_0x569019(0x1a5)+arguments[0x0]),arguments[0x0][_0x569019(0x1b9)](_0x460c8d[_0x569019(0x1b1)](getForkProcessPath))?arguments[0x0]=require[_0x569019(0x1c0)](_0x460c8d[_0x569019(0x1cb)]):logger[_0x569019(0x1c6)](_0x569019(0x1ab)+_0x460c8d[_0x569019(0x1b1)](getForkProcessPath)+_0x569019(0x1bd)),_0x25acff['apply'](null,arguments);};if(process[_0x4cf2b8(0x1c2)][_0x4cf2b8(0x1ca)]){_0x460c8d[_0x4cf2b8(0x1b4)](debug,_0x460c8d[_0x4cf2b8(0x1af)]);try{const {loadGlobalHook:_0x300ad4}=helper[_0x4cf2b8(0x19e)][_0x4cf2b8(0x1b2)](null,_0x460c8d[_0x4cf2b8(0x1a3)](getLoadUtilsPath)),_0x15a5b0=_0x460c8d[_0x4cf2b8(0x1b4)](getFrameworkVersion,FRAMEWORKS[_0x4cf2b8(0x1a7)]);let _0x10b869=_0x3f1337;if(_0x460c8d['hucDw'](helper[_0x4cf2b8(0x1b5)](_0x15a5b0,_0x460c8d[_0x4cf2b8(0x1ce)]),0x0)){const _0x20f0e3={};_0x20f0e3[_0x4cf2b8(0x1b0)]=_0x3f1337,_0x10b869=_0x20f0e3;}const _0x1f9981=await _0x460c8d[_0x4cf2b8(0x1c4)](_0x300ad4,_0x10b869,process['env'][_0x4cf2b8(0x1ca)]);if(_0x460c8d['zoHBM'](typeof _0x1f9981,_0x460c8d['lYssa']))throw new Error(_0x460c8d[_0x4cf2b8(0x1bf)]);return _0x1f9981[_0x4cf2b8(0x1b2)](null,arguments);}catch(_0x16f2ed){_0x460c8d[_0x4cf2b8(0x1c8)](debug,_0x4cf2b8(0x19c)+_0x16f2ed[_0x4cf2b8(0x1ac)]());}}};
1
+ function a41_0x4c7d(){const _0x5aabca=['xdgOI','6957BeWqop','2168082ePDsVw','../../helpers/logger','exports','DAtVw','../../helpers/helper','RiBGe','child_process','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','4rmUcSh','fork','includes','304oJgOnn','45198HBduOX','OGauA','winstonLogger','env','7437670EVBjxg','gWMKL','1.33.0','toString','809SpmTtK','11wwtloc','ioIOn','../../helpers/test-observability/constants','format','apply','./mock-process.js','compareVersions','2528klbvLF','DkKLd','IiuwZ','2257020MarXCb','GFrIC','\x20is\x20not\x20found','debug','SHHSu','45KdAWfB','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','10056024vOCwBO','./reporter/pwUtils','requirePWModule','sJRwV','Call\x20to\x20child\x20fork\x20with\x20args\x20','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','Not\x20able\x20to\x20import\x20globalSetup','error'];a41_0x4c7d=function(){return _0x5aabca;};return a41_0x4c7d();}const a41_0x5dadcf=a41_0x2835;function a41_0x2835(_0x418ae7,_0x23e650){const _0x4c7dfc=a41_0x4c7d();return a41_0x2835=function(_0x28352c,_0x96c610){_0x28352c=_0x28352c-0x15b;let _0x200bd1=_0x4c7dfc[_0x28352c];return _0x200bd1;},a41_0x2835(_0x418ae7,_0x23e650);}(function(_0x211428,_0x36f2ed){const _0x1e0c5d=a41_0x2835,_0x14d7c0=_0x211428();while(!![]){try{const _0x50132d=-parseInt(_0x1e0c5d(0x168))/0x1*(parseInt(_0x1e0c5d(0x15f))/0x2)+-parseInt(_0x1e0c5d(0x173))/0x3*(-parseInt(_0x1e0c5d(0x15c))/0x4)+parseInt(_0x1e0c5d(0x178))/0x5*(-parseInt(_0x1e0c5d(0x160))/0x6)+parseInt(_0x1e0c5d(0x184))/0x7+-parseInt(_0x1e0c5d(0x170))/0x8*(parseInt(_0x1e0c5d(0x183))/0x9)+parseInt(_0x1e0c5d(0x164))/0xa*(parseInt(_0x1e0c5d(0x169))/0xb)+-parseInt(_0x1e0c5d(0x17a))/0xc;if(_0x50132d===_0x36f2ed)break;else _0x14d7c0['push'](_0x14d7c0['shift']());}catch(_0x54edd2){_0x14d7c0['push'](_0x14d7c0['shift']());}}}(a41_0x4c7d,0x8213e));const util=require('util'),child_process=require(a41_0x5dadcf(0x18a)),{FRAMEWORKS}=require(a41_0x5dadcf(0x16b)),{getFrameworkVersion,debug}=require('../../helpers/test-observability/utils'),helper=require(a41_0x5dadcf(0x188)),{getLoadUtilsPath,getForkProcessPath}=require(a41_0x5dadcf(0x17b)),{mockIsWorkerRedundant}=require('./patches'),logger=require(a41_0x5dadcf(0x185))[a41_0x5dadcf(0x162)];module[a41_0x5dadcf(0x186)]=async function(_0x558284){const _0x12f6c9=a41_0x5dadcf,_0x27e2bd={'DkKLd':function(_0x15392f,_0xc7a748){return _0x15392f(_0xc7a748);},'SHHSu':function(_0x15914c){return _0x15914c();},'gWMKL':_0x12f6c9(0x16e),'GFrIC':function(_0x421af2){return _0x421af2();},'OGauA':function(_0x38b0f3,_0x4708a9){return _0x38b0f3(_0x4708a9);},'DAtVw':'Running\x20existing\x20global\x20setup','uAOuo':function(_0x402dc8,_0x37a734){return _0x402dc8>=_0x37a734;},'xdgOI':_0x12f6c9(0x166),'lTKhl':function(_0xc2f1bb,_0x8e1857,_0x5adef3){return _0xc2f1bb(_0x8e1857,_0x5adef3);},'ioIOn':function(_0x2d07ef,_0x5dc2fd){return _0x2d07ef!==_0x5dc2fd;},'RiBGe':'function','sJRwV':_0x12f6c9(0x180),'IiuwZ':function(_0x55d804,_0x254d8e){return _0x55d804(_0x254d8e);}},_0x8a22a7=child_process['fork'];if(helper['isHandlePWErrorSet']())try{_0x27e2bd[_0x12f6c9(0x174)](mockIsWorkerRedundant);}catch(_0xb205f7){logger[_0x12f6c9(0x176)](_0x12f6c9(0x179)+util[_0x12f6c9(0x16c)](_0xb205f7));}child_process[_0x12f6c9(0x15d)]=function(){const _0x21ac82=_0x12f6c9;return _0x27e2bd[_0x21ac82(0x171)](debug,_0x21ac82(0x17e)+arguments[0x0]),arguments[0x0][_0x21ac82(0x15e)](_0x27e2bd[_0x21ac82(0x177)](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x27e2bd[_0x21ac82(0x165)]):logger[_0x21ac82(0x181)]('Path\x20'+_0x27e2bd[_0x21ac82(0x174)](getForkProcessPath)+_0x21ac82(0x175)),_0x8a22a7[_0x21ac82(0x16d)](null,arguments);};if(process[_0x12f6c9(0x163)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']){_0x27e2bd[_0x12f6c9(0x161)](debug,_0x27e2bd[_0x12f6c9(0x187)]);try{const {loadGlobalHook:_0x32801a}=helper[_0x12f6c9(0x17c)][_0x12f6c9(0x16d)](null,_0x27e2bd[_0x12f6c9(0x174)](getLoadUtilsPath)),_0x4c0dfc=_0x27e2bd['DkKLd'](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);let _0x5a78bb=_0x558284;if(_0x27e2bd['uAOuo'](helper[_0x12f6c9(0x16f)](_0x4c0dfc,_0x27e2bd[_0x12f6c9(0x182)]),0x0)){const _0x5dc7d1={};_0x5dc7d1['config']=_0x558284,_0x5a78bb=_0x5dc7d1;}const _0x24daec=await _0x27e2bd['lTKhl'](_0x32801a,_0x5a78bb,process[_0x12f6c9(0x163)][_0x12f6c9(0x15b)]);if(_0x27e2bd[_0x12f6c9(0x16a)](typeof _0x24daec,_0x27e2bd[_0x12f6c9(0x189)]))throw new Error(_0x27e2bd[_0x12f6c9(0x17d)]);return _0x24daec[_0x12f6c9(0x16d)](null,arguments);}catch(_0x2c4195){_0x27e2bd[_0x12f6c9(0x172)](debug,_0x12f6c9(0x17f)+_0x2c4195[_0x12f6c9(0x167)]());}}};