browserstack-node-sdk 1.42.2 → 1.42.4

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
+ const a34_0x4c6e3f=a34_0x1237;(function(_0x49eb11,_0x5498ab){const _0x414b64=a34_0x1237,_0x48252e=_0x49eb11();while(!![]){try{const _0x4d5982=parseInt(_0x414b64(0x107))/0x1+parseInt(_0x414b64(0x129))/0x2+-parseInt(_0x414b64(0x123))/0x3*(-parseInt(_0x414b64(0xea))/0x4)+parseInt(_0x414b64(0x120))/0x5+-parseInt(_0x414b64(0x11b))/0x6+parseInt(_0x414b64(0x12d))/0x7*(-parseInt(_0x414b64(0xf5))/0x8)+-parseInt(_0x414b64(0x13a))/0x9*(-parseInt(_0x414b64(0xf1))/0xa);if(_0x4d5982===_0x5498ab)break;else _0x48252e['push'](_0x48252e['shift']());}catch(_0x163e8f){_0x48252e['push'](_0x48252e['shift']());}}}(a34_0x331b,0x96729));function a34_0x331b(){const _0x40891e=['path','DpIyO','proxySettings','/session','proxyUrl','getAccessibilityResults','Lmlgu','EyCkq','goog:chromeOptions','kkotw','isPacProxy','EzCGe','6789120IcEeRV','edgeOptions_','getAccessibilityResultsSummary','info','global','2415600WgqUVq','set','ieOptions_','19545wXwLNf','TQOoL','akxqJ','egjke','__drivers','__setBrowserOptions','2462136jEFSDB','4|1|2|5|3|0','MOmSH','firefoxOptions','7vAtKGJ','qTGfi','get','split','CAPABILITY_KEY','ms:edgeOptions','optimalHubUrl','setServer','NEdmR','mergeDeep','../../../helpers/patchHelpers','DmiGn','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','27zXCCvc','keys','../../../helpers/accessibility-automation/helper','options_','OOVay','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','../accessibility-automation/helper','Hub\x20url\x20set\x20to\x20','requireHttpClient','safariOptions_','Modifying\x20webdriver\x20builder','capabilities_','TeuqF','emCtG','newHubUrl','browserStackLogLevel','__driver','browserstackAgentObservability','firefoxOptions_','WbEqK','Builder','setCapabilities','originalBuilder','../../../bin/utils/constants','safari.options','ieOptions','../../../helpers/globals','exports','isUndefined','zoujq','build','GZFmP','winstonLogger','overrideGet','IWbBN','push','https://','New\x20hub\x20url\x20set\x20to\x20','then','capability','debug','Setting\x20Browserstack\x20capabilities','chromeOptions_','logLevel','188TxpVTk','se:ieOptions','Pmvdc','getGlobal','edgeOptions','RNZeA','url_','970080BRUuLv','proxy_','/wd/hub','moz:firefoxOptions','5579984FUJfaJ','ychpx','chromeOptions','mCcbs','isBrowserstackInfra','send','setLogLevel','OwQee','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','../../../helpers/helper','AjiUU','quitCount_','caps_','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','session_','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','getRequestOptions','TdMzv','133834JitFyq','__driversArray','object','vXDlg','../../../helpers/logger','requireSeleniumWebdriver','setGlobal','pamdC'];a34_0x331b=function(){return _0x40891e;};return a34_0x331b();}const logger=require(a34_0x4c6e3f(0x10b))[a34_0x4c6e3f(0xde)],helper=require(a34_0x4c6e3f(0xfe)),constants=require(a34_0x4c6e3f(0xd5)),hubAllocator=require('../../../hubAllocationMethods'),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a34_0x4c6e3f(0x137)),{setAccessibilityCapabilities,setExtension}=require(a34_0x4c6e3f(0x140)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a34_0x4c6e3f(0x13c)),globals=require(a34_0x4c6e3f(0xd8)),{overrideExecute}=require('./helpers/patchHelper'),modify=(_0x55a7ca,_0x867fc=null,_0x47143f=![])=>{const _0x5e5195=a34_0x4c6e3f,_0x2e5e0d={'AjiUU':function(_0x2810ed,_0x209cbb){return _0x2810ed!==_0x209cbb;},'zoujq':_0x5e5195(0x112),'ychpx':function(_0x2e72cf,_0x144a37){return _0x2e72cf!==_0x144a37;},'DpIyO':function(_0x426ea2,_0x23e0a8){return _0x426ea2+_0x23e0a8;},'VIpiW':function(_0x51cef9,_0x38dafe){return _0x51cef9+_0x38dafe;},'RNZeA':_0x5e5195(0xe2),'NMRZo':_0x5e5195(0xf3),'EzCGe':_0x5e5195(0x117),'Eawmr':_0x5e5195(0xf7),'ZymOv':_0x5e5195(0x132),'IWbBN':_0x5e5195(0xee),'qGpvK':_0x5e5195(0xf4),'MOmSH':_0x5e5195(0x12c),'Hcnvk':_0x5e5195(0xd6),'TQOoL':_0x5e5195(0xeb),'WHFxn':_0x5e5195(0xd7),'qTGfi':function(_0x21fd63,_0x4c453e){return _0x21fd63===_0x4c453e;},'emCtG':_0x5e5195(0x109),'KaeNl':_0x5e5195(0xe7),'pamdC':function(_0x12f5fb,_0x42bc5f,_0x5c06da){return _0x12f5fb(_0x42bc5f,_0x5c06da);},'WbEqK':_0x5e5195(0x133),'egjke':_0x5e5195(0x139),'mCcbs':function(_0x1525a4,_0x3b70e6,_0x33d51e){return _0x1525a4(_0x3b70e6,_0x33d51e);},'akxqJ':function(_0x3af3c3,_0x465edf){return _0x3af3c3(_0x465edf);},'GZFmP':_0x5e5195(0x12a),'QMceQ':_0x5e5195(0x13f),'NEdmR':'isAccessibilityPlatform','TdMzv':function(_0x34a962,_0x2e7add,_0x31fa27){return _0x34a962(_0x2e7add,_0x31fa27);},'OwQee':function(_0x42b358){return _0x42b358();},'DmiGn':function(_0x2093b7,_0x196718){return _0x2093b7(_0x196718);},'bQfHC':function(_0x2c8ad9,_0x2b46cc){return _0x2c8ad9(_0x2b46cc);},'vXDlg':function(_0xf80546,_0x5230a0){return _0xf80546!==_0x5230a0;},'Lmlgu':_0x5e5195(0x102),'YsMGP':_0x5e5195(0xc8)},_0x4a1924=helper[_0x5e5195(0x142)]();let _0x31c88f;try{_0x31c88f=helper[_0x5e5195(0x10c)](),_0x31c88f[_0x5e5195(0xd4)]&&(_0x31c88f[_0x5e5195(0xd2)]=_0x31c88f[_0x5e5195(0xd4)]);}catch(_0x25d462){return;}if(helper[_0x5e5195(0xf9)]()){const _0x2c6d29={};_0x2c6d29[_0x5e5195(0xe9)]=_0x55a7ca[_0x5e5195(0xcd)],helper[_0x5e5195(0xfb)](_0x2c6d29,new Map(),new Map()),logger[_0x5e5195(0x11e)](_0x2e5e0d[_0x5e5195(0x115)]),logger[_0x5e5195(0xe6)](_0x2e5e0d['YsMGP']);}class _0x5ecc1d extends _0x4a1924['HttpClient']{[_0x5e5195(0xfa)](_0x15cff9){const _0x488a5c=_0x5e5195;if(_0x2e5e0d[_0x488a5c(0xff)](_0x15cff9[_0x488a5c(0x10f)],_0x2e5e0d[_0x488a5c(0xdb)])&&_0x2e5e0d[_0x488a5c(0xf6)](global['newHubUrl'],''))try{global[_0x488a5c(0xcc)]=_0x2e5e0d[_0x488a5c(0x110)](_0x2e5e0d['VIpiW'](_0x2e5e0d[_0x488a5c(0xef)],global[_0x488a5c(0xcc)]),_0x2e5e0d['NMRZo']),this[_0x488a5c(0x13d)]=hubAllocator[_0x488a5c(0x105)](global[_0x488a5c(0xcc)]),logger[_0x488a5c(0xe6)](_0x488a5c(0xe3)+global['newHubUrl']),global[_0x488a5c(0xcc)]='';}catch(_0x58327a){logger['error'](_0x58327a);}return super[_0x488a5c(0xfa)](_0x15cff9);}}class _0x29b9a2 extends _0x31c88f[_0x5e5195(0xd2)]{[_0x5e5195(0x134)](){const _0xb0c5a4=_0x5e5195;return this['url_']=helper['getHubUrl'](_0x55a7ca),logger[_0xb0c5a4(0xe6)](_0xb0c5a4(0x141)+this[_0xb0c5a4(0xf0)]),this;}[_0x5e5195(0x128)](_0xd9d388){const _0x56762d=_0x5e5195;let _0x233584={};for(const _0x23ea66 in _0xd9d388){switch(_0x23ea66){case _0x2e5e0d[_0x56762d(0x11a)]:case _0x2e5e0d['Eawmr']:this[_0x56762d(0xe8)]&&(_0x233584=this[_0x56762d(0xe8)][_0x56762d(0x12f)](this[_0x56762d(0xe8)]['CAPABILITY_KEY'])||{},this[_0x56762d(0xe8)][_0x56762d(0x121)](this[_0x56762d(0xe8)][_0x56762d(0x131)],helper['mergeDeep'](_0x233584,_0xd9d388[_0x23ea66])));break;case _0x2e5e0d['ZymOv']:case _0x2e5e0d[_0x56762d(0xe0)]:this['edgeOptions_']&&(_0x233584=this[_0x56762d(0x11c)][_0x56762d(0x12f)](this['edgeOptions_']['CAPABILITY_KEY'])||{},this[_0x56762d(0x11c)][_0x56762d(0x121)](this[_0x56762d(0x11c)][_0x56762d(0x131)],helper[_0x56762d(0x136)](_0x233584,_0xd9d388[_0x23ea66])));break;case _0x2e5e0d['qGpvK']:case _0x2e5e0d[_0x56762d(0x12b)]:this['firefoxOptions_']&&(_0x233584=this[_0x56762d(0xd0)]['get'](this[_0x56762d(0xd0)][_0x56762d(0x131)])||{},this[_0x56762d(0xd0)][_0x56762d(0x121)](this[_0x56762d(0xd0)][_0x56762d(0x131)],helper[_0x56762d(0x136)](_0x233584,_0xd9d388[_0x23ea66])));break;case _0x2e5e0d['Hcnvk']:this[_0x56762d(0xc7)]&&(_0x233584=this[_0x56762d(0xc7)][_0x56762d(0x12f)](this[_0x56762d(0xc7)]['CAPABILITY_KEY'])||{},this[_0x56762d(0xc7)][_0x56762d(0x121)](this[_0x56762d(0xc7)][_0x56762d(0x131)],helper[_0x56762d(0x136)](_0x233584,_0xd9d388[_0x23ea66])));break;case _0x2e5e0d[_0x56762d(0x124)]:case _0x2e5e0d['WHFxn']:this[_0x56762d(0x122)]&&(_0x233584=this[_0x56762d(0x122)][_0x56762d(0x12f)](this['ieOptions_'][_0x56762d(0x131)])||{},this[_0x56762d(0x122)][_0x56762d(0x121)](this['ieOptions_'][_0x56762d(0x131)],helper[_0x56762d(0x136)](_0x233584,_0xd9d388[_0x23ea66])));break;}}}[_0x5e5195(0xd3)](){const _0x25624f=_0x5e5195;return logger[_0x25624f(0xe6)](_0x2e5e0d['KaeNl']),this[_0x25624f(0x128)](_0x55a7ca['capability']),Object[_0x25624f(0x13b)](_0x55a7ca[_0x25624f(0xe5)])['forEach'](_0x3a93a1=>{const _0x29be9b=_0x25624f,_0xb7f727=this['capabilities_'][_0x29be9b(0x12f)](_0x3a93a1);_0x2e5e0d[_0x29be9b(0x12e)](typeof _0xb7f727,_0x2e5e0d[_0x29be9b(0xcb)])?this['capabilities_'][_0x29be9b(0x121)](_0x3a93a1,helper[_0x29be9b(0x136)](_0xb7f727,_0x55a7ca['capability'][_0x3a93a1])):this[_0x29be9b(0xc9)][_0x29be9b(0x121)](_0x3a93a1,_0x55a7ca[_0x29be9b(0xe5)][_0x3a93a1]);}),this;}['build'](){const _0x3b48c4=_0x5e5195,_0x5e27a2={'Pmvdc':_0x2e5e0d[_0x3b48c4(0xd1)],'TeuqF':_0x2e5e0d[_0x3b48c4(0x126)],'OOVay':function(_0x369116,_0x2c779e,_0x379ade){const _0x3166b8=_0x3b48c4;return _0x2e5e0d[_0x3166b8(0xf8)](_0x369116,_0x2c779e,_0x379ade);},'EbdSW':function(_0x3eb144,_0x4e3dcb){const _0x4b8e25=_0x3b48c4;return _0x2e5e0d[_0x4b8e25(0x125)](_0x3eb144,_0x4e3dcb);},'EyCkq':function(_0x1439e6,_0x277cd9,_0x10467a){const _0x1db0b6=_0x3b48c4;return _0x2e5e0d[_0x1db0b6(0x10e)](_0x1439e6,_0x277cd9,_0x10467a);}};if(helper[_0x3b48c4(0xf9)]()){const _0x5ee01e=_0x2e5e0d[_0x3b48c4(0xdd)][_0x3b48c4(0x130)]('|');let _0x2fbfed=0x0;while(!![]){switch(_0x5ee01e[_0x2fbfed++]){case'0':logger['debug'](_0x2e5e0d['QMceQ']);continue;case'1':this[_0x3b48c4(0x134)]();continue;case'2':this[_0x3b48c4(0xd3)]();continue;case'3':globals[_0x3b48c4(0xed)](_0x2e5e0d[_0x3b48c4(0x135)])&&(!_0x2e5e0d[_0x3b48c4(0x106)](setExtension,this,_0x55a7ca)&&globals[_0x3b48c4(0x10d)](_0x2e5e0d['NEdmR'],![]));continue;case'4':_0x2e5e0d[_0x3b48c4(0xfc)](isAccessibilityAutomationSession)&&_0x2e5e0d[_0x3b48c4(0x125)](setAccessibilityCapabilities,_0x55a7ca);continue;case'5':if(helper[_0x3b48c4(0x119)](_0x55a7ca[_0x3b48c4(0x111)]['proxyUrl']))this['agent_']=helper['getHttpAgent'](_0x55a7ca[_0x3b48c4(0x111)][_0x3b48c4(0x113)]);else _0x55a7ca[_0x3b48c4(0x111)][_0x3b48c4(0x113)]&&(this[_0x3b48c4(0xf2)]=_0x55a7ca[_0x3b48c4(0x111)][_0x3b48c4(0x113)],logger[_0x3b48c4(0xe6)]('Proxy\x20set\x20to\x20'+this[_0x3b48c4(0xf2)]));continue;}break;}}const _0x54e1d5=super[_0x3b48c4(0xdc)]();return _0x54e1d5[_0x3b48c4(0x103)][_0x3b48c4(0xe4)](_0x24c41e=>{const _0x44902c=_0x3b48c4;try{const _0x3a79dc=_0x24c41e[_0x44902c(0x101)][_0x44902c(0x12f)](_0x5e27a2[_0x44902c(0xec)]);_0x3a79dc?(logger[_0x44902c(0xe6)](_0x44902c(0xfd)+_0x3a79dc),hubAllocator['updateHubUrl'](_0x3a79dc),helper['storeOptimalHubUrl'](_0x3a79dc)):logger[_0x44902c(0xe6)](_0x5e27a2[_0x44902c(0xca)]);}catch(_0x4b4d03){logger['debug'](_0x44902c(0x104)+_0x4b4d03);}}),_0x54e1d5[_0x3b48c4(0x100)]=0x0,_0x54e1d5[_0x3b48c4(0xe4)]&&_0x54e1d5[_0x3b48c4(0xe4)](_0x485631=>{const _0x1f465b=_0x3b48c4,_0x5aae4a={'kkotw':function(_0x2cb12c,_0x263c3d,_0x2a843e){const _0x49dddc=a34_0x1237;return _0x5e27a2[_0x49dddc(0x13e)](_0x2cb12c,_0x263c3d,_0x2a843e);}};_0x5e27a2[_0x1f465b(0x13e)](overrideQuit,_0x485631,_0x54e1d5),_0x5e27a2['EbdSW'](overrideTakeScreenshot,_0x485631),helper['overrideGet'](_0x485631,_0x55a7ca),_0x5e27a2[_0x1f465b(0x116)](overrideExecute,_0x485631,_0x55a7ca),_0x485631[_0x1f465b(0x11d)]=async()=>{const _0x1dc217=_0x1f465b;return await _0x5e27a2[_0x1dc217(0x13e)](getAccessibilityResultsSummary,_0x485631,global);},_0x485631[_0x1f465b(0x114)]=async()=>{const _0x4cd55c=_0x1f465b;return await _0x5aae4a[_0x4cd55c(0x118)](getAccessibilityResults,_0x485631,global);};}),_0x54e1d5[_0x3b48c4(0x11d)]=async()=>{const _0x22c060=_0x3b48c4;return await _0x2e5e0d[_0x22c060(0x10e)](getAccessibilityResultsSummary,_0x54e1d5,global);},_0x54e1d5[_0x3b48c4(0x114)]=async()=>{const _0x17e570=_0x3b48c4;return await _0x2e5e0d[_0x17e570(0x10e)](getAccessibilityResults,_0x54e1d5,global);},_0x2e5e0d[_0x3b48c4(0x138)](overrideTakeScreenshot,_0x54e1d5),_0x2e5e0d['bQfHC'](overrideQuit,_0x54e1d5),helper[_0x3b48c4(0xdf)](_0x54e1d5,_0x55a7ca),_0x2e5e0d[_0x3b48c4(0xf8)](overrideExecute,_0x54e1d5,_0x55a7ca),helper[_0x3b48c4(0xda)](global[_0x3b48c4(0x108)])&&(global[_0x3b48c4(0x108)]=[]),helper[_0x3b48c4(0xda)](global[_0x3b48c4(0x127)])&&(global[_0x3b48c4(0x127)]=[]),global[_0x3b48c4(0x108)][_0x3b48c4(0xe1)](_0x54e1d5),global[_0x3b48c4(0xce)]=_0x54e1d5,_0x2e5e0d['ychpx'](global['__drivers'],undefined)&&global[_0x3b48c4(0x127)]['push'](_0x54e1d5),_0x867fc&&helper[_0x3b48c4(0xda)](_0x867fc[_0x3b48c4(0x11f)][_0x3b48c4(0x108)])&&(_0x867fc['global'][_0x3b48c4(0x108)]=[]),_0x867fc&&_0x2e5e0d[_0x3b48c4(0x10a)](_0x867fc['global'][_0x3b48c4(0x127)],undefined)&&(_0x867fc[_0x3b48c4(0x11f)][_0x3b48c4(0x127)][_0x3b48c4(0xe1)](_0x54e1d5),_0x867fc['global'][_0x3b48c4(0x108)][_0x3b48c4(0xe1)](_0x54e1d5)),_0x54e1d5;}}return _0x31c88f[_0x5e5195(0xd4)]=_0x31c88f[_0x5e5195(0xd2)],_0x31c88f[_0x5e5195(0xd2)]=_0x29b9a2,_0x4a1924['HttpClient']=_0x5ecc1d,_0x31c88f;};function a34_0x1237(_0x26a4d8,_0x17571a){const _0x331b9b=a34_0x331b();return a34_0x1237=function(_0x123723,_0x508f0b){_0x123723=_0x123723-0xc7;let _0xa67557=_0x331b9b[_0x123723];return _0xa67557;},a34_0x1237(_0x26a4d8,_0x17571a);}module[a34_0x4c6e3f(0xd9)][a34_0x4c6e3f(0xcf)]=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_0x2020ef=a35_0x4e0b;function a35_0x4e0b(_0x4c2100,_0x3a0b8c){const _0x39a593=a35_0x39a5();return a35_0x4e0b=function(_0x4e0bd7,_0x2dd2f6){_0x4e0bd7=_0x4e0bd7-0x135;let _0x4008a7=_0x39a593[_0x4e0bd7];return _0x4008a7;},a35_0x4e0b(_0x4c2100,_0x3a0b8c);}(function(_0x404735,_0x376070){const _0x2f8e38=a35_0x4e0b,_0xc6f46e=_0x404735();while(!![]){try{const _0x55e542=parseInt(_0x2f8e38(0x13f))/0x1*(-parseInt(_0x2f8e38(0x143))/0x2)+-parseInt(_0x2f8e38(0x136))/0x3+-parseInt(_0x2f8e38(0x13e))/0x4*(-parseInt(_0x2f8e38(0x13c))/0x5)+-parseInt(_0x2f8e38(0x13a))/0x6*(-parseInt(_0x2f8e38(0x138))/0x7)+-parseInt(_0x2f8e38(0x13b))/0x8+-parseInt(_0x2f8e38(0x142))/0x9*(parseInt(_0x2f8e38(0x139))/0xa)+-parseInt(_0x2f8e38(0x145))/0xb;if(_0x55e542===_0x376070)break;else _0xc6f46e['push'](_0xc6f46e['shift']());}catch(_0x310fd7){_0xc6f46e['push'](_0xc6f46e['shift']());}}}(a35_0x39a5,0x20f41));const requestSpy=require(a35_0x2020ef(0x144)),constants=require(a35_0x2020ef(0x13d)),{addRequestSpy}=require(a35_0x2020ef(0x137));exports[a35_0x2020ef(0x135)]={'beforeAll'(){const _0x21a8e6=a35_0x2020ef,_0x5beb4e={'riTXQ':function(_0x3167a8){return _0x3167a8();}},_0x117777='browserstack internal helper hook';_0x5beb4e[_0x21a8e6(0x141)](addRequestSpy);},'afterAll'(){const _0x367352=a35_0x2020ef,_0xe7aef1='browserstack internal helper hook';this[_0x367352(0x140)](0xea60),requestSpy['restore']();}};function a35_0x39a5(){const _0x49fb0d=['548379xPMQMd','2rPlBIq','../../../helpers/request-spy','655941gQKuKE','mochaHooks','2814NgTbgv','../../../helpers/test-observability/utils','357AIPckM','10OMANQi','28356ehcWUf','627656DASlxz','11715QYtOEt','../../../bin/utils/constants','268FfVBjL','63073jYKuGA','timeout','riTXQ'];a35_0x39a5=function(){return _0x49fb0d;};return a35_0x39a5();}
@@ -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_0x1ed50c=a36_0x9522;(function(_0x3e8dfc,_0x2e5ca9){const _0x1338be=a36_0x9522,_0x4877df=_0x3e8dfc();while(!![]){try{const _0x5d034f=parseInt(_0x1338be(0x1ab))/0x1+parseInt(_0x1338be(0x1a5))/0x2*(parseInt(_0x1338be(0x1c6))/0x3)+parseInt(_0x1338be(0x1ad))/0x4*(-parseInt(_0x1338be(0x1b6))/0x5)+parseInt(_0x1338be(0x18b))/0x6*(parseInt(_0x1338be(0x19f))/0x7)+parseInt(_0x1338be(0x185))/0x8+-parseInt(_0x1338be(0x1b8))/0x9+-parseInt(_0x1338be(0x1a9))/0xa*(parseInt(_0x1338be(0x195))/0xb);if(_0x5d034f===_0x2e5ca9)break;else _0x4877df['push'](_0x4877df['shift']());}catch(_0x597f19){_0x4877df['push'](_0x4877df['shift']());}}}(a36_0x5f4a,0x3354a));const {v4:uuidv4}=require(a36_0x1ed50c(0x184)),{name,version}=require(a36_0x1ed50c(0x190)),logPatcher=require(a36_0x1ed50c(0x1b1)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require('../../../helpers/test-observability/utils'),{consoleHolder}=require(a36_0x1ed50c(0x1d2)),{getPlatformVersion}=require(a36_0x1ed50c(0x1b9)),{shouldProcessEventForTesthub}=require(a36_0x1ed50c(0x1bf)),{isFunction}=require('lodash'),{patchConsoleLogger}=require('../../../helpers/test-observability/utils');function a36_0x9522(_0x3197e5,_0x5c0b41){const _0x5f4a26=a36_0x5f4a();return a36_0x9522=function(_0x95229e,_0x51c63b){_0x95229e=_0x95229e-0x181;let _0x13a900=_0x5f4a26[_0x95229e];return _0x13a900;},a36_0x9522(_0x3197e5,_0x5c0b41);}patchConsoleLogger(),exports[a36_0x1ed50c(0x1b7)]=()=>{const _0xade5ff=a36_0x1ed50c,_0x29eacd={'XICvh':_0xade5ff(0x1bb),'xkHTO':function(_0x4d3483){return _0x4d3483();}};return{'ci':_0x29eacd[_0xade5ff(0x1ca)],'key':_0x29eacd[_0xade5ff(0x1ba)](uuidv4),'version':version,'collector':'js-'+name};},exports['getHookDetails']=_0x10909a=>{const _0x359227=a36_0x1ed50c,_0x393757={};_0x393757['RRelw']=function(_0x253eae,_0x388dda){return _0x253eae!==_0x388dda;},_0x393757[_0x359227(0x194)]=_0x359227(0x192),_0x393757['MAuQB']=function(_0x2c1ca1,_0x4f2a58){return _0x2c1ca1!==_0x4f2a58;},_0x393757[_0x359227(0x199)]=_0x359227(0x1cf),_0x393757[_0x359227(0x1af)]=_0x359227(0x1b2);const _0x3eb944=_0x393757;if(!_0x10909a||_0x3eb944[_0x359227(0x1c7)](typeof _0x10909a,_0x3eb944[_0x359227(0x194)]))return[null,null];if(_0x3eb944['MAuQB'](_0x10909a[_0x359227(0x1b0)](_0x3eb944[_0x359227(0x199)]),-0x1)){const _0x10b875=_0x10909a[_0x359227(0x1a0)](_0x3eb944['GvThO']);return[_0x10b875[0x0][_0x359227(0x1cc)](0x0,-0x1)[_0x359227(0x1a0)]('\x22')[0x1],_0x10b875[0x1]['substring'](0x1)];}else{if(_0x3eb944[_0x359227(0x18f)](_0x10909a['indexOf'](_0x3eb944[_0x359227(0x1af)]),-0x1)){const _0x53ece5=_0x10909a[_0x359227(0x1a0)](_0x3eb944[_0x359227(0x1af)]);return[_0x53ece5[0x0][_0x359227(0x1cc)](0x0,-0x1)[_0x359227(0x1a0)]('\x22')[0x1],_0x10909a];}}return[null,null];},exports[a36_0x1ed50c(0x187)]=_0x5a4ebb=>{const _0x2dbf9c=a36_0x1ed50c,_0x30aeaf={'tQbFu':function(_0x3daf46,_0x2439c5){return _0x3daf46(_0x2439c5);},'aLzyk':'_beforeAll','KTbwI':_0x2dbf9c(0x19d),'CtoEJ':'_beforeEach','SkKsw':'_afterEach'};if(!_0x5a4ebb||!_0x5a4ebb[_0x2dbf9c(0x1d4)])return[];const _0xf88101=[];return[_0x30aeaf[_0x2dbf9c(0x183)],_0x30aeaf[_0x2dbf9c(0x1c2)],_0x30aeaf[_0x2dbf9c(0x1c0)],_0x30aeaf['SkKsw']][_0x2dbf9c(0x1c1)](_0x3299f3=>{const _0x8e6e34=_0x2dbf9c,_0x57d4e2={'VCQMe':function(_0x3364c4,_0x90e861){const _0x3bf845=a36_0x9522;return _0x30aeaf[_0x3bf845(0x18a)](_0x3364c4,_0x90e861);}},_0x1c5276=_0x5a4ebb[_0x8e6e34(0x1d4)][_0x3299f3]||[];_0x1c5276['forEach'](_0x478f88=>{const _0x9a5170=_0x8e6e34;_0x478f88['hookAnalyticsId']&&!_0x57d4e2[_0x9a5170(0x18c)](isInternalHook,_0x478f88['fn'])&&_0xf88101[_0x9a5170(0x1c4)](_0x478f88[_0x9a5170(0x18d)]);});}),[..._0xf88101,...exports[_0x2dbf9c(0x187)](_0x5a4ebb[_0x2dbf9c(0x1d4)])];},exports[a36_0x1ed50c(0x19e)]=_0x1115d9=>{const _0x5a5172=a36_0x1ed50c,_0x283e66={'RJhcV':function(_0x5ec42f){return _0x5ec42f();},'iypHl':function(_0x50a04c,_0x592d75){return _0x50a04c===_0x592d75;},'TVjxW':_0x5a5172(0x1c9),'mLGGK':'_beforeAll','JaZDS':_0x5a5172(0x19d),'nvNpv':_0x5a5172(0x1bc)};if(!_0x1115d9||!_0x1115d9[_0x5a5172(0x1d4)])return;[_0x283e66['mLGGK'],_0x283e66['JaZDS'],_0x283e66[_0x5a5172(0x196)],_0x283e66['TVjxW']][_0x5a5172(0x1c1)](_0x418bca=>{const _0x2b4006=_0x5a5172,_0x547352=_0x1115d9[_0x2b4006(0x1d4)][_0x418bca]||[];_0x547352[_0x2b4006(0x1c1)](_0x2f7b8d=>{const _0x3afa07=_0x2b4006;if(!_0x2f7b8d[_0x3afa07(0x18d)])_0x2f7b8d[_0x3afa07(0x18d)]=_0x283e66[_0x3afa07(0x1be)](uuidv4);else _0x2f7b8d['markedStatus']&&_0x283e66[_0x3afa07(0x18e)](_0x418bca,_0x283e66[_0x3afa07(0x197)])&&(_0x2f7b8d[_0x3afa07(0x18d)]=_0x283e66['RJhcV'](uuidv4),delete _0x2f7b8d['markedStatus']);});}),exports['mapTestHooks'](_0x1115d9[_0x5a5172(0x1d4)]);},exports[a36_0x1ed50c(0x1ce)]=async(_0x1cc71a,_0x319611)=>{const _0x32fffd=a36_0x1ed50c,_0x2fe2cb={'tjQRh':function(_0x4313a8){return _0x4313a8();},'TimBn':function(_0x4fc2ca,_0x6af070){return _0x4fc2ca(_0x6af070);},'nrrBS':_0x32fffd(0x1b3),'mqqdJ':function(_0x165628,_0x335aab){return _0x165628===_0x335aab;},'bRHGd':'browserstack','oSfoA':'unknown_grid','EnyAb':_0x32fffd(0x1a8),'BKtxc':function(_0x565d9f,_0x44123b){return _0x565d9f(_0x44123b);}};try{if(!_0x2fe2cb[_0x32fffd(0x191)](shouldProcessEventForTesthub))return;const _0x352894=await _0x1cc71a['getCapabilities'](),_0x5a1c5f=await _0x1cc71a[_0x32fffd(0x1d0)](),_0x174993={},_0x3f5d25=Object[_0x32fffd(0x1a7)](_0x5a1c5f[_0x32fffd(0x186)]()['map_']),_0x33dbdb={'product':_0x2fe2cb[_0x32fffd(0x1cb)](getObservabilityLinkedProductName,_0x3f5d25),'capabilities':_0x3f5d25,'platform':_0x352894['getPlatform'](),'platform_version':_0x352894['get'](_0x2fe2cb['nrrBS'])?_0x352894[_0x32fffd(0x1c5)](_0x2fe2cb[_0x32fffd(0x1a6)]):_0x2fe2cb[_0x32fffd(0x1cb)](getPlatformVersion,_0x2fe2cb[_0x32fffd(0x1d6)](global[_0x32fffd(0x1ae)],_0x2fe2cb[_0x32fffd(0x1d1)])),'browser':_0x352894['getBrowserName'](),'browser_version':_0x352894[_0x32fffd(0x1b4)](),'session_id':_0x5a1c5f[_0x32fffd(0x1d5)]()};global[_0x32fffd(0x1ae)]?_0x174993[global[_0x32fffd(0x1ae)]]=_0x33dbdb:_0x174993[_0x2fe2cb['oSfoA']]=_0x33dbdb,process[_0x32fffd(0x1a1)](_0x32fffd(0x1a4)+process[_0x32fffd(0x181)],{'timestamp':new Date()[_0x32fffd(0x1d7)](),'level':null,'message':null,'kind':_0x2fe2cb[_0x32fffd(0x19a)],'http_response':_0x174993,'uuid':_0x319611});}catch(_0x33d972){_0x2fe2cb[_0x32fffd(0x1ac)](debug,_0x32fffd(0x1aa)+_0x33d972);}},exports['getHookSkippedTests']=_0x19dc65=>{const _0x2268c1=a36_0x1ed50c,_0x14abca={};_0x14abca[_0x2268c1(0x1a3)]=function(_0x18f9c8,_0x394fd9){return _0x18f9c8!==_0x394fd9;},_0x14abca[_0x2268c1(0x198)]=_0x2268c1(0x1b2),_0x14abca['mzCuK']=_0x2268c1(0x182),_0x14abca['vaUjc']='failed';const _0x331754=_0x14abca,_0x3f5cf6=_0x19dc65[_0x2268c1(0x1cd)][_0x2268c1(0x19b)]((_0x20beb0,_0x5d73af)=>{const _0x494f35=_0x2268c1,_0x50255a=exports[_0x494f35(0x1b5)](_0x5d73af);return _0x50255a&&(_0x20beb0=_0x20beb0['concat'](_0x50255a)),_0x20beb0;},[]),_0x386935=_0x19dc65[_0x2268c1(0x1c3)][_0x2268c1(0x1d3)](_0xec52f9=>{const _0x4aa393=_0x2268c1,_0x471c20=_0x331754[_0x4aa393(0x1a3)](_0xec52f9[_0x4aa393(0x188)],_0x331754[_0x4aa393(0x198)])&&!_0xec52f9[_0x4aa393(0x193)]&&_0x331754[_0x4aa393(0x1a3)](_0xec52f9['state'],_0x331754[_0x4aa393(0x1bd)])&&_0x331754[_0x4aa393(0x1a3)](_0xec52f9[_0x4aa393(0x189)],_0x331754[_0x4aa393(0x1a2)])&&!_0xec52f9[_0x4aa393(0x1c8)];return _0x471c20;});return _0x386935[_0x2268c1(0x19c)](_0x3f5cf6);};function a36_0x5f4a(){const _0x2f0c94=['_beforeEach','mzCuK','RJhcV','../../../helpers/testhub/utils','CtoEJ','forEach','KTbwI','tests','push','get','3acvGgT','RRelw','pending','_afterEach','XICvh','TimBn','slice','suites','sendPlatformDetails','hook:','getSession','bRHGd','../../../helpers/test-observability/constants','filter','parent','toJSON','mqqdJ','toISOString','pid','passed','aLzyk','uuid','2835696nfcDKC','getCapabilities','getHooksForTest','type','state','tQbFu','143886ibZWKz','VCQMe','hookAnalyticsId','iypHl','MAuQB','../../../../package.json','tjQRh','string','markedStatus','nfytz','5882503aZTYLr','nvNpv','TVjxW','ldxWm','GvThO','EnyAb','reduce','concat','_afterAll','mapTestHooks','42XjJKKe','split','emit','vaUjc','aePXY','bs:addPlatformDetails:','787394TwKysV','nrrBS','fromEntries','TEST_PLATFORM','10xxBHRU','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','273777Chcojv','BKtxc','356WQuuuV','__cloud_provider___','hgqUK','indexOf','../../utils/logPatcher','hook','platformVersion','getBrowserVersion','getHookSkippedTests','10515jyFCaw','getTestEnv','2102688LDPwUS','../../../helpers/helper','xkHTO','generic'];a36_0x5f4a=function(){return _0x2f0c94;};return a36_0x5f4a();}
@@ -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
+ const a37_0x55547a=a37_0x5551;(function(_0x556bcb,_0x14a4be){const _0x120bd1=a37_0x5551,_0x480084=_0x556bcb();while(!![]){try{const _0x3da35c=parseInt(_0x120bd1(0x1d2))/0x1*(parseInt(_0x120bd1(0x185))/0x2)+parseInt(_0x120bd1(0x168))/0x3*(parseInt(_0x120bd1(0x1a8))/0x4)+parseInt(_0x120bd1(0x1ae))/0x5+-parseInt(_0x120bd1(0x165))/0x6+-parseInt(_0x120bd1(0x1b7))/0x7+-parseInt(_0x120bd1(0x179))/0x8*(parseInt(_0x120bd1(0x14e))/0x9)+parseInt(_0x120bd1(0x15b))/0xa*(-parseInt(_0x120bd1(0x183))/0xb);if(_0x3da35c===_0x14a4be)break;else _0x480084['push'](_0x480084['shift']());}catch(_0x380f5b){_0x480084['push'](_0x480084['shift']());}}}(a37_0x59c3,0xc47ba));const util=require(a37_0x55547a(0x15f)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a37_0x55547a(0x1de)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require('../utils/constants'),{percyAutoCapture}=require(a37_0x55547a(0x190)),{sendPlatformDetails}=require(a37_0x55547a(0x157)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a37_0x55547a(0x166)),PerformanceTester=require('../../helpers/performance/performance-tester'),{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_0x55547a(0x144))['winstonLogger'],{shouldProcessEventForTesthub}=require(a37_0x55547a(0x1e0)),testHubConstants=require(a37_0x55547a(0x19a));function a37_0x5551(_0x11576a,_0x1f82cf){const _0x59c3b2=a37_0x59c3();return a37_0x5551=function(_0x555132,_0x55dadd){_0x555132=_0x555132-0x141;let _0x3907df=_0x59c3b2[_0x555132];return _0x3907df;},a37_0x5551(_0x11576a,_0x1f82cf);}exports[a37_0x55547a(0x1af)]={'beforeAll'(){const _0x28b9a2=a37_0x55547a,_0x37151a={'PyPFK':function(_0x40ec13,_0x4e3d5b,_0x280cf7,_0x58f319){return _0x40ec13(_0x4e3d5b,_0x280cf7,_0x58f319);},'vpTtp':_0x28b9a2(0x162),'CrOEu':_0x28b9a2(0x189),'XnFJH':function(_0x4f63db,_0x454be4,_0x579fa5){return _0x4f63db(_0x454be4,_0x579fa5);},'ceMkz':'passed','UbuZq':function(_0x5a0bdf){return _0x5a0bdf();},'hXqgD':_0x28b9a2(0x1c4),'nSmUl':_0x28b9a2(0x178)};PerformanceTester['startMonitoring']();const _0x2766ea='browserstack internal helper hook';PerformanceTester[_0x28b9a2(0x152)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x594c68=_0x28b9a2,_0x2ebd07={'SFzPO':function(_0x12d778,_0x280ca6,_0xf89ea1,_0x3d0153){const _0x9f85c7=a37_0x5551;return _0x37151a[_0x9f85c7(0x14b)](_0x12d778,_0x280ca6,_0xf89ea1,_0x3d0153);},'kfUdM':_0x37151a[_0x594c68(0x1bd)],'JLBgA':_0x37151a[_0x594c68(0x1a9)],'yTuZu':function(_0x388b26,_0x58a6ec,_0x560a3e){const _0x3abbb0=_0x594c68;return _0x37151a[_0x3abbb0(0x193)](_0x388b26,_0x58a6ec,_0x560a3e);},'YAQSy':_0x37151a[_0x594c68(0x1d7)],'DhiYn':function(_0x1377ce){return _0x37151a['UbuZq'](_0x1377ce);},'TIfeN':function(_0x56030a,_0x5dddbb,_0x4d4a75){const _0x3ac773=_0x594c68;return _0x37151a[_0x3ac773(0x193)](_0x56030a,_0x5dddbb,_0x4d4a75);}};global[_0x594c68(0x1dc)]=[],global[_0x594c68(0x1c7)]=![],global[_0x594c68(0x1b2)]=async()=>{const _0x2ce539=_0x594c68;let _0x5a3971=![];try{await global[_0x2ce539(0x169)][0x0][_0x2ce539(0x1e2)],_0x5a3971=!![],global[_0x2ce539(0x1c7)]?await _0x2ebd07[_0x2ce539(0x19d)](markSessionStatus,global[_0x2ce539(0x169)][0x0],_0x2ebd07['kfUdM'],global[_0x2ce539(0x1dc)][_0x2ce539(0x1a1)](_0x2ebd07[_0x2ce539(0x17d)])):await _0x2ebd07[_0x2ce539(0x18c)](markSessionStatus,global[_0x2ce539(0x169)][0x0],_0x2ebd07['YAQSy']);}catch(_0x469baa){logger['debug'](_0x2ce539(0x176)+_0x469baa);}global[_0x2ce539(0x1dc)]=[],global[_0x2ce539(0x1c7)]=![];if(_0x5a3971)try{try{_0x2ebd07['DhiYn'](shouldProcessEventForTesthub)&&(global[_0x2ce539(0x169)][0x0]&&await _0x2ebd07[_0x2ce539(0x1d3)](sendPlatformDetails,global[_0x2ce539(0x169)][0x0],this['currentTest']?this[_0x2ce539(0x188)]['testAnalyticsId']:null));}catch(_0x21c1f8){logger['debug'](_0x2ce539(0x16d)+_0x21c1f8);}await global[_0x2ce539(0x169)][0x0][_0x2ce539(0x15d)]();}catch(_0x301c2d){logger[_0x2ce539(0x194)](_0x2ce539(0x145)+_0x301c2d);}};},{'platform':_0x37151a[_0x28b9a2(0x193)](nestedKeyValue,global[_0x28b9a2(0x161)],[_0x37151a[_0x28b9a2(0x1c6)]]),'hookType':_0x37151a['nSmUl']})();},'beforeEach'(_0x32809e){const _0x20d52a=a37_0x55547a,_0x27e695={'VpkIF':function(_0x49cf2b,_0x273b1a){return _0x49cf2b>_0x273b1a;},'ZPsKI':'\x20-\x20','UZQJx':function(_0xdead9c,_0x39bebd,_0x4979bd){return _0xdead9c(_0x39bebd,_0x4979bd);},'tUYZv':'bstackA11yShouldScan','GzDOW':function(_0x125ca5){return _0x125ca5();},'YRZnE':_0x20d52a(0x197),'QPxiZ':function(_0x3dfc4a,_0x206d2a){return _0x3dfc4a===_0x206d2a;},'spuUb':'http:','MnvKO':function(_0x5f0522,_0x1931e6){return _0x5f0522===_0x1931e6;},'TnLQc':_0x20d52a(0x158),'nHDnW':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','snitX':_0x20d52a(0x1aa),'MKFaN':function(_0x81898e){return _0x81898e();},'NtywC':function(_0x35acba){return _0x35acba();},'YGjvi':_0x20d52a(0x154),'bUAhP':'index','coTai':'beforeEach'};globals[_0x20d52a(0x1a3)](_0x27e695[_0x20d52a(0x1a5)],this[_0x20d52a(0x188)][_0x20d52a(0x181)]()['join'](_0x27e695[_0x20d52a(0x160)])),PerformanceTester[_0x20d52a(0x152)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x2dbc7b={'GSyUd':function(_0x4f1cc0){const _0x2caf46=a37_0x5551;return _0x27e695[_0x2caf46(0x1bf)](_0x4f1cc0);}},_0x3a5681='browserstack internal helper hook';new Promise(async _0x3c7ffe=>{const _0x4e90ce=a37_0x5551;let _0x5ec22d=!![];try{_0x27e695[_0x4e90ce(0x1b9)](global[_0x4e90ce(0x169)]['length'],0x1)&&(await global['driverCleanup'](),global[_0x4e90ce(0x169)]['shift']()),_0x27e695[_0x4e90ce(0x1b9)](global[_0x4e90ce(0x169)][0x0][_0x4e90ce(0x182)],0x0)&&(_0x5ec22d=![],await global[_0x4e90ce(0x1b2)]());}catch(_0x3edcf2){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x3edcf2);}try{Array[_0x4e90ce(0x19b)](global['__drivers'])&&global['__drivers'][0x0]&&(global['__drivers'][0x0][_0x4e90ce(0x1ce)]=this[_0x4e90ce(0x188)][_0x4e90ce(0x181)]()['join'](_0x27e695[_0x4e90ce(0x160)])),global['browserstackSessionName']=this[_0x4e90ce(0x188)][_0x4e90ce(0x181)]()[_0x4e90ce(0x1a1)](_0x27e695[_0x4e90ce(0x160)]);}catch(_0x3c38bb){logger['debug']('Failed\x20to\x20store\x20session\x20name:\x20'+_0x3c38bb);}this[_0x4e90ce(0x188)][_0x4e90ce(0x156)]=_0x27e695[_0x4e90ce(0x1e1)](shouldScanTestForAccessibility,this[_0x4e90ce(0x188)][_0x4e90ce(0x181)](),!![]),globals['setGlobal'](_0x27e695[_0x4e90ce(0x18b)],this[_0x4e90ce(0x188)][_0x4e90ce(0x156)]),this[_0x4e90ce(0x188)]['accessibilityScanStarted']=!![];if(_0x27e695[_0x4e90ce(0x1c0)](isAccessibilityAutomationSession)&&_0x5ec22d&&Array[_0x4e90ce(0x19b)](global[_0x4e90ce(0x169)])&&_0x27e695[_0x4e90ce(0x1b9)](global[_0x4e90ce(0x169)][_0x4e90ce(0x18f)],0x0)&&globals['getGlobal'](_0x27e695[_0x4e90ce(0x18d)]))try{const _0x5bc343=await global[_0x4e90ce(0x169)][0x0]['session_'];if(_0x5bc343){let _0xf92677=!![];const _0x484f63=await global['__drivers'][0x0][_0x4e90ce(0x1d4)]();let _0x1b490a;try{_0x1b490a=new URL(_0x484f63);}catch(_0x1d7bbe){_0xf92677=![];}_0xf92677=_0x27e695[_0x4e90ce(0x198)](_0x1b490a[_0x4e90ce(0x142)],_0x27e695[_0x4e90ce(0x1c9)])||_0x27e695[_0x4e90ce(0x1ad)](_0x1b490a[_0x4e90ce(0x142)],_0x27e695[_0x4e90ce(0x173)]),_0xf92677&&(this['currentTest'][_0x4e90ce(0x156)]&&logger[_0x4e90ce(0x1ac)](_0x27e695[_0x4e90ce(0x1bc)])),this['currentTest']['accessibilityScanStarted']=this[_0x4e90ce(0x188)][_0x4e90ce(0x156)],this[_0x4e90ce(0x188)][_0x4e90ce(0x156)]&&logger['info'](_0x27e695[_0x4e90ce(0x1b4)]);}}catch(_0x3d519e){logger[_0x4e90ce(0x174)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x4e90ce(0x163)](_0x3d519e));}_0x27e695['MKFaN'](_0x3c7ffe);})['then'](()=>{const _0x19fa61=a37_0x5551;_0x2dbc7b[_0x19fa61(0x1a7)](_0x32809e);});},{'platform':_0x27e695[_0x20d52a(0x1e1)](nestedKeyValue,global[_0x20d52a(0x161)],[_0x27e695[_0x20d52a(0x191)]]),'hookType':_0x27e695[_0x20d52a(0x19f)]})();},'afterEach'(_0x8e731a){const _0x5f15da=a37_0x55547a,_0xab6eb0={'WYQfA':function(_0x48a97b,_0x45e1a6){return _0x48a97b>_0x45e1a6;},'rztqO':function(_0x14f12d,_0xc649a3){return _0x14f12d===_0xc649a3;},'TElTR':_0x5f15da(0x175),'JalDz':function(_0x22dc4a,_0x4c29fa){return _0x22dc4a>_0x4c29fa;},'SSlWS':'appium:app','QtUJo':function(_0x3dadd6,_0x2673b7,_0x3ebcef,_0x2c591c){return _0x3dadd6(_0x2673b7,_0x3ebcef,_0x2c591c);},'xJnLM':'isAccessibilityPlatform','mzfWw':_0x5f15da(0x1b5),'Cmajv':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','SDEEk':'Performing\x20scan\x20before\x20saving\x20results','eBVxF':'afterTest','sPSZD':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','AVeTY':function(_0x202a55){return _0x202a55();},'zzGgA':function(_0x23f8da,_0x247d4c,_0x3dd083){return _0x23f8da(_0x247d4c,_0x3dd083);},'EoGdX':function(_0x359785){return _0x359785();},'MIoqr':function(_0x2d6d57,_0x1156e3,_0x567b7c){return _0x2d6d57(_0x1156e3,_0x567b7c);},'Zxufr':_0x5f15da(0x194),'esYLj':function(_0x1645e3){return _0x1645e3();},'pPJzb':_0x5f15da(0x1cf),'WtnAr':function(_0x55f1aa,_0x84c466){return _0x55f1aa!==_0x84c466;},'lgdLs':'passed','PbBHL':function(_0x24a56d,_0x4b2e8b){return _0x24a56d+_0x4b2e8b;},'EWmnY':_0x5f15da(0x14f),'AATCH':'error','TDrfa':function(_0x509934,_0x474e94,_0x33349c){return _0x509934(_0x474e94,_0x33349c);},'KATfE':'Passed','QddaG':'info','jnGoc':'Mocha','jbAXh':function(_0x34f6cf,_0x5681d8,_0x532fde){return _0x34f6cf(_0x5681d8,_0x532fde);},'UbhvP':_0x5f15da(0x1c4),'HFXYh':_0x5f15da(0x187)},_0xc3e3d9='browserstack internal helper hook';this[_0x5f15da(0x159)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0xab6eb0['jnGoc']]),global[_0x5f15da(0x1d8)]=this[_0x5f15da(0x188)]['titlePath']()[_0x5f15da(0x1a1)](_0xab6eb0[_0x5f15da(0x1e3)]),PerformanceTester[_0x5f15da(0x152)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x5de956=_0x5f15da,_0x22615f={'zwDrI':_0xab6eb0[_0x5de956(0x1e3)],'zAptR':function(_0x20a937,_0xc21e8d){const _0x47ce3c=_0x5de956;return _0xab6eb0[_0x47ce3c(0x171)](_0x20a937,_0xc21e8d);},'dwQEj':_0xab6eb0['lgdLs'],'iuMjQ':function(_0x1540a6,_0x4d66f8,_0x5567d0){const _0x3d48c4=_0x5de956;return _0xab6eb0[_0x3d48c4(0x1a4)](_0x1540a6,_0x4d66f8,_0x5567d0);},'BqAUH':function(_0x25b3de,_0x4ee306){const _0x1dd2f4=_0x5de956;return _0xab6eb0[_0x1dd2f4(0x15e)](_0x25b3de,_0x4ee306);},'rGQEA':_0xab6eb0[_0x5de956(0x1db)],'yvrwO':_0xab6eb0[_0x5de956(0x16b)],'wSyta':function(_0x3ffd9e,_0x3a78f5,_0x57d637){const _0x3ed55d=_0x5de956;return _0xab6eb0[_0x3ed55d(0x1d6)](_0x3ffd9e,_0x3a78f5,_0x57d637);},'XRcmj':_0xab6eb0['KATfE'],'pLyXU':_0xab6eb0[_0x5de956(0x1a0)]},_0x446b4f=async(_0x397836,_0x2c79b8)=>{const _0x1352d7=_0x5de956;await global['__drivers'][0x0][_0x1352d7(0x143)](_0x1352d7(0x184)+_0x397836+',\x22level\x22:\x20\x22'+_0x2c79b8+_0x1352d7(0x1c3));};new Promise(async _0x6b3eba=>{const _0xd632ac=_0x5de956;try{_0xab6eb0[_0xd632ac(0x148)](global[_0xd632ac(0x169)][_0xd632ac(0x18f)],0x1)&&(await global['driverCleanup'](),global[_0xd632ac(0x169)]['shift'](),global['__error_messages__']=[],global[_0xd632ac(0x1c7)]=![]);try{if(global['percy']&&_0xab6eb0[_0xd632ac(0x146)](global[_0xd632ac(0x1c2)],_0xab6eb0['TElTR'])&&global['__drivers'][0x0]){const _0x11d259=_0xab6eb0['JalDz'](global[_0xd632ac(0x1d9)]['length'],0x0)?!!global['capabilities'][0x0][_0xd632ac(0x180)]||!!global['capabilities'][0x0][_0xab6eb0[_0xd632ac(0x141)]]:![],_0x569a2e={};_0x569a2e[_0xd632ac(0x180)]=_0x11d259,await _0xab6eb0[_0xd632ac(0x192)](percyAutoCapture,global[_0xd632ac(0x169)][0x0],_0xab6eb0[_0xd632ac(0x150)],_0x569a2e);}}catch(_0x501151){logger[_0xd632ac(0x194)](_0xd632ac(0x1a2)+_0x501151);}!global['__skipSessionName']&&(await PerformanceTester[_0xd632ac(0x152)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x4cb2aa=_0xd632ac;await global[_0x4cb2aa(0x169)][0x0][_0x4cb2aa(0x143)](_0x4cb2aa(0x1ba)+JSON[_0x4cb2aa(0x1b8)](this[_0x4cb2aa(0x188)][_0x4cb2aa(0x181)]()[_0x4cb2aa(0x1a1)](_0x22615f[_0x4cb2aa(0x153)]))+'}}');})(),global['__drivers'][0x0][_0xd632ac(0x196)]=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0xd632ac(0x167)],async()=>{const _0x3b9950=_0xd632ac,_0x441700=_0x22615f[_0x3b9950(0x1d5)](this[_0x3b9950(0x188)]['state'],_0x22615f['dwQEj']);_0x441700?(global[_0x3b9950(0x1c7)]=!![],global[_0x3b9950(0x1dc)]['push'](this[_0x3b9950(0x188)][_0x3b9950(0x18a)][_0x3b9950(0x14c)]),await _0x22615f[_0x3b9950(0x147)](_0x446b4f,JSON[_0x3b9950(0x1b8)](_0x22615f['BqAUH'](_0x22615f[_0x3b9950(0x1da)],this[_0x3b9950(0x188)][_0x3b9950(0x18a)][_0x3b9950(0x14c)])),_0x22615f[_0x3b9950(0x155)])):await _0x22615f['wSyta'](_0x446b4f,JSON[_0x3b9950(0x1b8)](_0x22615f[_0x3b9950(0x14a)]),_0x22615f[_0x3b9950(0x17b)]);})();}catch(_0x4879ef){logger[_0xd632ac(0x194)](_0xd632ac(0x18e)+_0x4879ef);}try{if(this[_0xd632ac(0x188)]['accessibilityScanStarted']&&globals['getGlobal'](_0xab6eb0[_0xd632ac(0x1cb)])&&globals[_0xd632ac(0x164)](_0xab6eb0['mzfWw'])){logger[_0xd632ac(0x1ac)](_0xab6eb0[_0xd632ac(0x1b1)]);const _0x5ac085={};_0x5ac085[_0xd632ac(0x16c)]=this[_0xd632ac(0x188)][_0xd632ac(0x17e)],_0x5ac085[_0xd632ac(0x1c1)]=process[_0xd632ac(0x199)][testHubConstants[_0xd632ac(0x1d1)][_0xd632ac(0x17c)]],_0x5ac085[_0xd632ac(0x1d0)]=process[_0xd632ac(0x199)][testHubConstants['ENV_VAR'][_0xd632ac(0x19c)]];const _0x33fc20=_0x5ac085;logger[_0xd632ac(0x194)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0xd632ac(0x1b8)](_0x33fc20)),logger[_0xd632ac(0x194)](_0xab6eb0['SDEEk']);const _0x586c09={};_0x586c09[_0xd632ac(0x1df)]=_0xab6eb0[_0xd632ac(0x1b3)],await PerformanceTester[_0xd632ac(0x152)](PerformanceA11yEvents[_0xd632ac(0x16e)],async()=>{const _0x138ecd=_0xd632ac;logger['debug'](util[_0x138ecd(0x163)](await global['__drivers'][0x0][_0x138ecd(0x1b6)](scripts[_0x138ecd(0x16a)],{'method':global[_0x138ecd(0x1ce)]})));},_0x586c09)(),await PerformanceTester[_0xd632ac(0x152)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x56c7f9=_0xd632ac;await global[_0x56c7f9(0x169)][0x0]['executeAsyncScript'](scripts[_0x56c7f9(0x195)],_0x33fc20);})(),logger[_0xd632ac(0x1ac)](_0xab6eb0[_0xd632ac(0x177)]);}}catch(_0x598889){logger[_0xd632ac(0x174)](_0xd632ac(0x15c)+this[_0xd632ac(0x188)][_0xd632ac(0x181)]()+_0xd632ac(0x1dd),_0x598889);}try{try{if(_0xab6eb0['AVeTY'](shouldProcessEventForTesthub)){global['__drivers'][0x0]&&await _0xab6eb0[_0xd632ac(0x1a4)](sendPlatformDetails,global[_0xd632ac(0x169)][0x0],this['currentTest']?this['currentTest'][_0xd632ac(0x17e)]:null);if(_0xab6eb0[_0xd632ac(0x1cd)](isBrowserstackInfra)){PerformanceTester[_0xd632ac(0x1be)](PerformanceO11yEvents[_0xd632ac(0x1b0)]);const _0x3946cf=_0xd632ac(0x149)+Date[_0xd632ac(0x170)]();await _0xab6eb0['MIoqr'](_0x446b4f,JSON['stringify'](_0x3946cf),_0xab6eb0[_0xd632ac(0x1ab)]),PerformanceTester['end'](PerformanceO11yEvents[_0xd632ac(0x1b0)]);}}}catch(_0x5e1940){logger[_0xd632ac(0x194)](_0xd632ac(0x1cc)+_0x5e1940),PerformanceTester[_0xd632ac(0x172)](PerformanceO11yEvents['SYNC'],![],_0x5e1940);}_0xab6eb0[_0xd632ac(0x1ca)](global[_0xd632ac(0x169)][0x0][_0xd632ac(0x182)],0x0)&&await global[_0xd632ac(0x1b2)]();}catch(_0x31aca4){logger[_0xd632ac(0x194)](_0xd632ac(0x145)+_0x31aca4);}_0xab6eb0[_0xd632ac(0x1c5)](_0x6b3eba);})[_0x5de956(0x186)](()=>{const _0x3d4570=_0x5de956;_0xab6eb0[_0x3d4570(0x1cd)](_0x8e731a);});},{'platform':_0xab6eb0[_0x5f15da(0x1a6)](nestedKeyValue,global['__platformCaps'],[_0xab6eb0[_0x5f15da(0x15a)]]),'hookType':_0xab6eb0[_0x5f15da(0x19e)]})();},'afterAll'(_0x21ec46){const _0x4e7328=a37_0x55547a,_0x4ff8cd={'ReDiy':function(_0x1ffde3){return _0x1ffde3();},'mJAQV':function(_0x567d9e){return _0x567d9e();},'OEvYr':_0x4e7328(0x151),'xkmQK':function(_0x3aaf0d,_0x57b2fe,_0x4f7f65){return _0x3aaf0d(_0x57b2fe,_0x4f7f65);},'VpUVk':'index','AHVka':'afterAll'},_0x55e914='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x4ff8cd[_0x4e7328(0x1bb)]]),PerformanceTester[_0x4e7328(0x152)](PerformanceSdkEvents[_0x4e7328(0x1c8)],()=>{const _0x248c7f=_0x4e7328;new Promise(async _0x11e465=>{const _0x3cbf5f=a37_0x5551;await global['driverCleanup'](),_0x4ff8cd[_0x3cbf5f(0x14d)](_0x11e465);})[_0x248c7f(0x186)]()[_0x248c7f(0x17a)](()=>{const _0xb33c84=_0x248c7f;_0x4ff8cd[_0xb33c84(0x16f)](_0x21ec46);});},{'platform':_0x4ff8cd[_0x4e7328(0x17f)](nestedKeyValue,global[_0x4e7328(0x161)],[_0x4ff8cd['VpUVk']]),'hookType':_0x4ff8cd['AHVka']})();}};function a37_0x59c3(){const _0x9b0b26=['jbAXh','GSyUd','76nrYjZT','CrOEu','Automate\x20test\x20case\x20execution\x20has\x20started.','Zxufr','info','MnvKO','3060520ZuCXku','mochaHooks','SYNC','Cmajv','driverCleanup','eBVxF','snitX','bstackA11yShouldScan','executeAsyncScript','10289160ecuCat','stringify','VpkIF','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','OEvYr','nHDnW','vpTtp','start','NtywC','GzDOW','thBuildUuid','percyCaptureMode','\x22}}','index','esYLj','hXqgD','__sessionFailed','SDK_HOOK','spuUb','JalDz','xJnLM','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','EoGdX','browserstackSessionName','\x20-\x20','thJwtToken','ENV_VAR','349sVpjBN','TIfeN','getCurrentUrl','zAptR','TDrfa','ceMkz','sessionName','capabilities','rGQEA','EWmnY','__error_messages__','.\x20Error\x20:','../../helpers/accessibility-automation/helper','command','../../helpers/testhub/utils','UZQJx','session_','pPJzb','SSlWS','protocol','executeScript','../../helpers/logger','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','rztqO','iuMjQ','WYQfA','ObservabilitySync:','XRcmj','PyPFK','message','ReDiy','63IwOzwb','Failed:\x20','TElTR','Mocha','measureWrapper','zwDrI','browserstackTestName','yvrwO','shouldScanTestForAccessibility','./test-observability/mochaUtils','https:','timeout','UbhvP','496180JGaBJD','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','initQuit','PbBHL','util','ZPsKI','__platformCaps','failed','format','getGlobal','407586nsdyCo','../../helpers/helper','SESSION_STATUS','209823NJIpdc','__drivers','performScan','AATCH','thTestRunUuid','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','PERFORM_SCAN','mJAQV','now','WtnAr','end','TnLQc','error','testcase','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','sPSZD','beforeAll','643432chtfhs','finally','pLyXU','BROWSERSTACK_TESTHUB_UUID','JLBgA','testAnalyticsId','xkmQK','app','titlePath','quitCount_','66tTqYFN','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','7234AlRqnh','then','afterEach','currentTest','\x20|\x20','err','tUYZv','yTuZu','YRZnE','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','length','../../helpers/percy/utils','bUAhP','QtUJo','XnFJH','debug','saveTestResults','sessionNameSet__','isAccessibilityPlatform','QPxiZ','env','../../helpers/testhub/constants','isArray','BROWSERSTACK_TESTHUB_JWT','SFzPO','HFXYh','coTai','QddaG','join','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','setGlobal','zzGgA','YGjvi'];a37_0x59c3=function(){return _0x9b0b26;};return a37_0x59c3();}
@@ -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_0x18b0b2=a38_0x4866;(function(_0x381a7c,_0xbc5d88){const _0x350079=a38_0x4866,_0x439894=_0x381a7c();while(!![]){try{const _0x3e00ef=-parseInt(_0x350079(0x17a))/0x1*(parseInt(_0x350079(0x184))/0x2)+parseInt(_0x350079(0x187))/0x3+parseInt(_0x350079(0x16d))/0x4+-parseInt(_0x350079(0x15f))/0x5+parseInt(_0x350079(0x17b))/0x6+-parseInt(_0x350079(0x15b))/0x7+parseInt(_0x350079(0x166))/0x8;if(_0x3e00ef===_0xbc5d88)break;else _0x439894['push'](_0x439894['shift']());}catch(_0x3e48fb){_0x439894['push'](_0x439894['shift']());}}}(a38_0x4ad8,0x71d54));const fs=require('fs'),path=require(a38_0x18b0b2(0x143)),{spawn}=require(a38_0x18b0b2(0x146)),logger=require(a38_0x18b0b2(0x173))[a38_0x18b0b2(0x154)],{default:BrowserStackSetup}=require(a38_0x18b0b2(0x16f)),helper=require(a38_0x18b0b2(0x160)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x8703ba,_0x1e4642)=>{const _0x12457a=a38_0x18b0b2,_0x2484f2={'JiltD':_0x12457a(0x17c),'psegh':_0x12457a(0x17e),'PWlNF':function(_0x389bf7,_0x18097f){return _0x389bf7(_0x18097f);},'GPRmm':_0x12457a(0x156)};let _0xe0f264=null,_0x56b268={};const _0x23d063=_0x1e4642[_0x12457a(0x165)](_0x4c5ee5=>_0x4c5ee5===_0x12457a(0x16b));if(!helper[_0x12457a(0x17d)](_0x8703ba[_0x12457a(0x189)])&&fs[_0x12457a(0x150)](path[_0x12457a(0x157)](process['cwd'](),_0x8703ba[_0x12457a(0x189)])))_0xe0f264=path[_0x12457a(0x157)](process['cwd'](),_0x8703ba[_0x12457a(0x189)]),_0x1e4642['splice'](_0x23d063,0x2);else{if(fs[_0x12457a(0x150)](path[_0x12457a(0x157)](process[_0x12457a(0x179)](),_0x2484f2[_0x12457a(0x148)])))_0xe0f264=path[_0x12457a(0x157)](process[_0x12457a(0x179)](),_0x2484f2[_0x12457a(0x148)]);else fs[_0x12457a(0x150)](path[_0x12457a(0x157)](process[_0x12457a(0x179)](),_0x2484f2['psegh']))&&(_0xe0f264=path[_0x12457a(0x157)](process[_0x12457a(0x179)](),_0x2484f2[_0x12457a(0x15d)]));}return _0xe0f264?(logger[_0x12457a(0x169)](_0x12457a(0x162)+_0xe0f264),_0x56b268=_0x2484f2[_0x12457a(0x177)](require,_0xe0f264)):logger[_0x12457a(0x169)](_0x2484f2['GPRmm']),_0x56b268;},removeExistingEnvs=_0x466144=>{const _0x42a568=a38_0x18b0b2,_0x501665={};_0x501665['arMuL']=function(_0x539563,_0x4bc77c){return _0x539563>_0x4bc77c;},_0x501665['Kptgc']=function(_0x474c1b,_0x1e797f){return _0x474c1b>_0x1e797f;};const _0x15a307=_0x501665;let _0x28f955=_0x466144[_0x42a568(0x165)](_0x23a0f6=>_0x23a0f6===_0x42a568(0x15e));_0x15a307[_0x42a568(0x145)](_0x28f955,-0x1)&&_0x466144[_0x42a568(0x153)](_0x28f955,0x2),_0x28f955=_0x466144[_0x42a568(0x165)](_0x5ec972=>_0x5ec972==='-e'),_0x15a307[_0x42a568(0x14f)](_0x28f955,-0x1)&&_0x466144[_0x42a568(0x153)](_0x28f955,0x2);};function run(_0x3b3321,_0x446cb4,_0x4c0c16){const _0x2d9e93=a38_0x18b0b2,_0x4273c9={'woJPg':_0x2d9e93(0x14c),'JnSGl':function(_0x46fe27,_0x381f98){return _0x46fe27+_0x381f98;},'gYZVX':_0x2d9e93(0x188),'GnmuT':function(_0x23a82e,_0x34e2f2,_0x523533){return _0x23a82e(_0x34e2f2,_0x523533);},'muywL':_0x2d9e93(0x170),'RZcTa':_0x2d9e93(0x186),'mZCQl':function(_0x54c96a,_0x29fa86){return _0x54c96a===_0x29fa86;},'VpObt':_0x2d9e93(0x15c),'yqwXG':function(_0x3526c5,_0x5c6e47){return _0x3526c5(_0x5c6e47);},'UtHXC':function(_0x583ca4,_0x1baaa4,_0x37ada8,_0x1aa9fc){return _0x583ca4(_0x1baaa4,_0x37ada8,_0x1aa9fc);},'AFBrd':_0x2d9e93(0x14e),'qkUsA':_0x2d9e93(0x16b),'LsgOo':'--env','ZOkXV':_0x2d9e93(0x17f),'ocjRg':'close'};if(!_0x4c0c16[_0x2d9e93(0x189)])return;const _0x13b49d=_0x4273c9['GnmuT'](getUserNightwatchConfigs,_0x3b3321,_0x446cb4),_0x1a6f82={};_0x1a6f82[_0x2d9e93(0x178)]=![];const _0x220130={};_0x220130['host']=_0x4273c9['muywL'],_0x220130[_0x2d9e93(0x182)]=0x1bb;const _0x397a46={};_0x397a46[_0x2d9e93(0x16a)]=_0x1a6f82,_0x397a46[_0x2d9e93(0x181)]=_0x220130;const _0x3998ac=_0x397a46;logger[_0x2d9e93(0x169)](_0x4273c9['RZcTa']);const _0x3a4d9e={..._0x13b49d},_0x5dc725=_0x3a4d9e,_0x3b30c2=helper[_0x2d9e93(0x14a)](_0x4c0c16['config']),_0x5a0fe3=[];_0x4c0c16['config'][_0x2d9e93(0x180)][_0x2d9e93(0x175)]((_0x30c585,_0x3af151)=>{const _0x206de8=_0x2d9e93;_0x3b30c2?_0x5a0fe3[_0x206de8(0x18c)](helper[_0x206de8(0x168)](_0x4c0c16['config'],_0x4273c9[_0x206de8(0x172)],_0x3af151)):_0x5a0fe3[_0x206de8(0x18c)](helper[_0x206de8(0x183)](_0x4c0c16[_0x206de8(0x189)],_0x4273c9['woJPg'],_0x3af151));});const _0x10e0e8={},_0x3f5b57=[];_0x3b3321['env']=_0x3b3321['env']||_0x3b3321['e'];const _0x2386c8=_0x3b3321[_0x2d9e93(0x16e)]?_0x3b3321['env'][_0x2d9e93(0x161)]()['split'](',')['map'](_0x4dfab1=>_0x4dfab1['trim']())[_0x2d9e93(0x155)](_0xa6c7cc=>_0xa6c7cc!==''):[''];_0x4273c9[_0x2d9e93(0x159)](_0x2386c8[_0x2d9e93(0x149)],0x0)&&_0x2386c8[_0x2d9e93(0x18c)]('');_0x2386c8[_0x2d9e93(0x175)](_0x47dcac=>{_0x5a0fe3['forEach'](_0xdab292=>{const _0x570785=a38_0x4866;let _0x39d833=_0x4273c9[_0x570785(0x185)](helper[_0x570785(0x171)](_0xdab292,'_'),'_'+Date[_0x570785(0x18a)]());_0x47dcac&&(_0x39d833+='_'+_0x47dcac);if(_0x47dcac&&(!_0x13b49d[_0x4273c9[_0x570785(0x163)]]||!_0x13b49d[_0x4273c9[_0x570785(0x163)]][_0x47dcac]))return;const _0x38ff2e={..._0x3998ac};_0x38ff2e[_0x570785(0x18b)]=_0xdab292;const _0x2f567d=_0x38ff2e;_0x10e0e8[_0x39d833]=_0x47dcac?helper[_0x570785(0x164)](_0x13b49d[_0x4273c9[_0x570785(0x163)]][_0x47dcac],_0x2f567d):_0x2f567d,_0x3f5b57['push'](_0x39d833);});});!_0x5dc725[_0x2d9e93(0x188)]&&(_0x5dc725[_0x2d9e93(0x188)]={});_0x5dc725[_0x2d9e93(0x188)]={..._0x5dc725[_0x2d9e93(0x188)],..._0x10e0e8};const _0x3da51e=path[_0x2d9e93(0x157)](__dirname,_0x4273c9[_0x2d9e93(0x158)]);fs[_0x2d9e93(0x147)](_0x3da51e,JSON[_0x2d9e93(0x16c)](_0x5dc725)),_0x4273c9['yqwXG'](removeExistingEnvs,_0x446cb4);const _0x25ce8f=_0x4273c9[_0x2d9e93(0x151)](spawn,/^win/[_0x2d9e93(0x15a)](process[_0x2d9e93(0x144)])?_0x4273c9['AFBrd']:_0x4273c9[_0x2d9e93(0x172)],[_0x4273c9[_0x2d9e93(0x174)],_0x3da51e,..._0x446cb4['slice'](0x1),_0x4273c9[_0x2d9e93(0x14b)],_0x3f5b57[_0x2d9e93(0x157)](',')],{'stdio':_0x4273c9[_0x2d9e93(0x14d)]});_0x25ce8f['on'](_0x4273c9['ocjRg'],async _0x26be86=>{const _0x48744c=_0x2d9e93;logger[_0x48744c(0x176)](_0x48744c(0x167)+_0x26be86),logger[_0x48744c(0x169)]('Deleting\x20'+_0x3da51e),fs[_0x48744c(0x152)](_0x3da51e);});}function a38_0x4866(_0x530ac7,_0x55210c){const _0x4ad804=a38_0x4ad8();return a38_0x4866=function(_0x4866af,_0x427dfb){_0x4866af=_0x4866af-0x143;let _0x3e137b=_0x4ad804[_0x4866af];return _0x3e137b;},a38_0x4866(_0x530ac7,_0x55210c);}module['exports']=run;function a38_0x4ad8(){const _0x3f75d4=['nightwatch.json','inherit','platforms','selenium','port','modifyBrowserStackCaps','560058XzvYXy','JnSGl','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','734487lPnLgq','test_settings','config','now','desiredCapabilities','push','path','platform','arMuL','child_process','writeFileSync','JiltD','length','useW3C','LsgOo','nightwatch','ZOkXV','nightwatch.cmd','Kptgc','existsSync','UtHXC','unlinkSync','splice','winstonLogger','filter','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','join','VpObt','mZCQl','test','5340881scCHDy','nightwatch-browserstack.json','psegh','--env','1693435GQNZVb','../../helpers/helper','trim','Getting\x20your\x20nightwatch\x20configs\x20from\x20','gYZVX','mergeDeep','findIndex','5753088jFSZHT','child\x20process\x20exited\x20with\x20code\x20','modifyBrowserStackW3CCaps','info','webdriver','--config','stringify','1941272rOBEJV','env','../../helpers/BrowserStackSetup','hub.browserstack.com','getPlatformName','woJPg','../../helpers/logger','qkUsA','forEach','debug','PWlNF','start_process','cwd','1ZXeFxg','2392056uBltpr','nightwatch.conf.js','isUndefined'];a38_0x4ad8=function(){return _0x3f75d4;};return a38_0x4ad8();}
@@ -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_0x2454a1=a39_0x2bb4;(function(_0x1e77b7,_0x4029df){const _0x27e72b=a39_0x2bb4,_0xc360c0=_0x1e77b7();while(!![]){try{const _0x5102c1=-parseInt(_0x27e72b(0x236))/0x1*(-parseInt(_0x27e72b(0x23f))/0x2)+parseInt(_0x27e72b(0x21f))/0x3*(parseInt(_0x27e72b(0x20d))/0x4)+-parseInt(_0x27e72b(0x213))/0x5+parseInt(_0x27e72b(0x244))/0x6+parseInt(_0x27e72b(0x255))/0x7*(parseInt(_0x27e72b(0x22d))/0x8)+parseInt(_0x27e72b(0x250))/0x9+-parseInt(_0x27e72b(0x218))/0xa*(parseInt(_0x27e72b(0x21e))/0xb);if(_0x5102c1===_0x4029df)break;else _0xc360c0['push'](_0xc360c0['shift']());}catch(_0x5f0e8d){_0xc360c0['push'](_0xc360c0['shift']());}}}(a39_0x18b2,0x99513));const util=require(a39_0x2454a1(0x233)),logger=require(a39_0x2454a1(0x259))[a39_0x2454a1(0x246)],{isAccessibilityAutomationSession}=require(a39_0x2454a1(0x204)),{isUndefined,isBrowserstackInfra}=require('../../helpers/helper'),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require('../../helpers/performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a39_0x2454a1(0x214));function a39_0x18b2(){const _0x1afafc=['../../helpers/accessibility-automation/helper','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','ldjTr','browserStackExecuteDriver','evaluate','executeAsyncScript','wcagVersion','command','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','52aKZuMr','EGxbx','currentTest','accessibilityOptions.scannerVersion','testInfo','MSkQh','5661405zaaJOQ','../../helpers/performance/constants','jLFEF','oweuu','IFZWz','10pcbCvk','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','cgUhz','performScan','accessibilityPlatform','accessibilityOptions.scannerProcessingTimeout','23084402EcRrIa','145602LOYHCT','lFbhG','CViAg','ZtBIu','bestPractice','accessibilityOptions.authToken','BS_A11Y_JWT','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','chrome','YXMvN','igNIN','browser','warn','DuZfB','407688AGLmsJ','Olfah','bstackSdkArgs','MhNNJ','latest','workerInfo','util','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','getAccessibilityResults','116111yxFRWc','qkakS','accessibilityOptions','includes','tnbIU','YMqKC','YCmpP','LdRWq','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','18mSnyhe','browserStackEvaluate','Performing\x20scan\x20with\x20method:\x20','processAccessibilityCaps','debug','5200278XPUyAV','NyiaS','winstonLogger','qMzHt','WebDriver','SYBnn','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','format','parse','env','PERFORM_SCAN','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','9552519pXDQIo','DJipS','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','browserName','iuGzG','35TKAxTE','No\x20summaryResults\x20found.','browser_version','Hivib','../../helpers/logger','VvZRk','connectOptions','wsEndpoint','XqZKR','akhzc','accessibilityOptions.includeIssueType.bestPractice','Umtjx','tFpRI','platformValidation','ItiGJ','xMvAG','Playwright','stringify','setAccessibilityCapabilities','(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','name','constructor','XGaZJ','wyMjc','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','scannerVersion','qmWct','includeIssueType','playwright-chromium','ARRia','zzGyj','sOpAr','fKhnY'];a39_0x18b2=function(){return _0x1afafc;};return a39_0x18b2();}function a39_0x2bb4(_0x1c0f71,_0x2749ee){const _0x18b200=a39_0x18b2();return a39_0x2bb4=function(_0x2bb4f7,_0x55594e){_0x2bb4f7=_0x2bb4f7-0x1e8;let _0x14c716=_0x18b200[_0x2bb4f7];return _0x14c716;},a39_0x2bb4(_0x1c0f71,_0x2749ee);}exports[a39_0x2454a1(0x240)]=async(_0x51e132,_0x563000,_0x41aa5a={})=>{const _0x56fefa=a39_0x2454a1,_0x3b7e81={};_0x3b7e81[_0x56fefa(0x1f1)]=_0x56fefa(0x22f);const _0x4009fd=_0x3b7e81;return await _0x51e132[_0x56fefa(0x208)]('(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'+_0x563000['replace'](/arguments/g,_0x4009fd[_0x56fefa(0x1f1)])+_0x56fefa(0x23e)+JSON['stringify'](_0x41aa5a)+')');},exports[a39_0x2454a1(0x207)]=async(_0x32dc22,_0x5615ff,_0x365518={})=>{const _0x140da4=a39_0x2454a1,_0x44bd31={};_0x44bd31[_0x140da4(0x1ee)]=function(_0x3471c3,_0x4e8f7c){return _0x3471c3===_0x4e8f7c;},_0x44bd31[_0x140da4(0x203)]=_0x140da4(0x248),_0x44bd31[_0x140da4(0x212)]=_0x140da4(0x1f3),_0x44bd31[_0x140da4(0x1fd)]='bstackSdkArgs';const _0x1f3217=_0x44bd31;if(_0x1f3217[_0x140da4(0x1ee)](_0x32dc22[_0x140da4(0x1f8)][_0x140da4(0x1f7)],_0x1f3217[_0x140da4(0x203)]))return await _0x32dc22[_0x140da4(0x209)](_0x5615ff,_0x365518);else{if(_0x1f3217['Umtjx'](_0x32dc22['constructor'][_0x140da4(0x1f7)],_0x1f3217[_0x140da4(0x212)]))return await _0x32dc22['executeScript'](_0x140da4(0x1f6)+_0x5615ff['replace'](/arguments/g,_0x1f3217[_0x140da4(0x1fd)])+_0x140da4(0x252)+JSON[_0x140da4(0x1f4)](_0x365518)+')');}},exports[a39_0x2454a1(0x1f5)]=async _0x142719=>{const _0x2057db=a39_0x2454a1,_0x1b103c={};_0x1b103c[_0x2057db(0x258)]='accessibilityOptions.wcagVersion',_0x1b103c['igNIN']=_0x2057db(0x21d),_0x1b103c['YMqKC']=_0x2057db(0x1ed),_0x1b103c[_0x2057db(0x215)]='accessibilityOptions.includeIssueType.needsReview',_0x1b103c[_0x2057db(0x201)]=_0x2057db(0x224),_0x1b103c[_0x2057db(0x249)]=_0x2057db(0x210);const _0x3d51f3=_0x1b103c;_0x142719['accessibilityOptions']&&(_0x142719[_0x2057db(0x238)][_0x2057db(0x20a)]&&(_0x142719[_0x3d51f3[_0x2057db(0x258)]]=_0x142719[_0x2057db(0x238)][_0x2057db(0x20a)]),_0x142719[_0x2057db(0x238)]['scannerProcessingTimeout']&&(_0x142719[_0x3d51f3[_0x2057db(0x229)]]=_0x142719[_0x2057db(0x238)]['scannerProcessingTimeout']),_0x142719[_0x2057db(0x238)][_0x2057db(0x1fe)]&&(_0x142719[_0x3d51f3[_0x2057db(0x23b)]]=_0x142719[_0x2057db(0x238)][_0x2057db(0x1fe)][_0x2057db(0x223)],_0x142719[_0x3d51f3[_0x2057db(0x215)]]=_0x142719[_0x2057db(0x238)][_0x2057db(0x1fe)]['needsReview']));const _0x513f97=JSON[_0x2057db(0x24c)](process[_0x2057db(0x24d)][_0x2057db(0x234)])[_0x2057db(0x1fc)];_0x142719[_0x3d51f3[_0x2057db(0x201)]]=process[_0x2057db(0x24d)][_0x2057db(0x225)],_0x142719[_0x3d51f3[_0x2057db(0x249)]]=_0x513f97,delete _0x142719[_0x2057db(0x238)];},exports[a39_0x2454a1(0x235)]=async _0x3af946=>{const _0x4cb369=a39_0x2454a1,_0x5f2370={};_0x5f2370[_0x4cb369(0x222)]='No\x20accessibility\x20results\x20were\x20found.',_0x5f2370[_0x4cb369(0x202)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.';const _0xb2c25a=_0x5f2370;if(global[_0x4cb369(0x21c)])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x3af946,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x3af946,scripts.getResults);})();return res;}catch{return logger['error'](_0xb2c25a[_0x4cb369(0x222)]),[];}else return logger['warn'](_0xb2c25a[_0x4cb369(0x202)]),[];},exports[a39_0x2454a1(0x21b)]=async(_0x524aec,_0x4ab9ef='')=>{const _0x144952=a39_0x2454a1;logger[_0x144952(0x243)](_0x144952(0x241)+_0x4ab9ef+'\x20page:\x20'+_0x524aec);if(global['accessibilityPlatform'])return await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x144952(0x24e)],async()=>{const _0x3e184c=_0x144952,_0x42fc82={};_0x42fc82[_0x3e184c(0x20b)]=_0x4ab9ef,await exports[_0x3e184c(0x240)](_0x524aec,scripts['performScan'],_0x42fc82);},{'command':_0x4ab9ef})();},exports['getAccessibilityResultsSummary']=async _0x1559da=>{const _0xd7276b=a39_0x2454a1,_0x158026={};_0x158026[_0xd7276b(0x247)]=_0xd7276b(0x256),_0x158026[_0xd7276b(0x23d)]=_0xd7276b(0x24a);const _0x51c48e=_0x158026;if(global[_0xd7276b(0x21c)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x1559da,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x1559da,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0xd7276b(0x243)](_0x51c48e['qMzHt']),{};}else return logger['warn'](_0x51c48e[_0xd7276b(0x23d)]),{};},exports[a39_0x2454a1(0x1f0)]=async _0x4024e6=>{const _0xd6d090=a39_0x2454a1,_0x5cd959={'VvZRk':function(_0x36242a,_0x3392dd){return _0x36242a!==_0x3392dd;},'xMvAG':_0xd6d090(0x1fb),'ajEMx':_0xd6d090(0x227),'wyMjc':_0xd6d090(0x1ff),'oweuu':'chromium','ldjTr':_0xd6d090(0x219),'Kmowi':function(_0x5b2337,_0x2ebdff){return _0x5b2337(_0x2ebdff);},'akhzc':function(_0x25f4da){return _0x25f4da();},'MhNNJ':function(_0x32e9f7,_0xc3e490){return _0x32e9f7<_0xc3e490;},'CViAg':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','Olfah':function(_0x14e2b4,_0x2299d9){return _0x14e2b4===_0x2299d9;},'iuGzG':_0xd6d090(0x231),'lFbhG':function(_0xa29a45,_0x3bc66f){return _0xa29a45>_0x3bc66f;},'ifFMX':_0xd6d090(0x20c)};try{if(!_0x5cd959[_0xd6d090(0x1e8)](_0x4024e6['deviceName'],''))return logger['warn'](_0x5cd959[_0xd6d090(0x1f2)]),![];const _0xef768b=_0x4024e6[_0xd6d090(0x22a)];if(![_0x5cd959['ajEMx'],_0x5cd959[_0xd6d090(0x1fa)],_0x5cd959[_0xd6d090(0x216)]][_0xd6d090(0x239)](_0xef768b))return logger['warn'](_0x5cd959[_0xd6d090(0x206)]),![];const _0x2a4608=_0x5cd959['Kmowi'](parseInt,_0x4024e6['browser_version']);!_0x5cd959[_0xd6d090(0x1ec)](isBrowserstackInfra)&&(!_0x5cd959[_0xd6d090(0x230)](_0x2a4608,0x64)&&logger[_0xd6d090(0x22b)](_0x5cd959[_0xd6d090(0x221)]));if(!(_0x5cd959[_0xd6d090(0x22e)](_0x2a4608,_0x5cd959[_0xd6d090(0x254)])||_0x5cd959[_0xd6d090(0x220)](_0x2a4608,0x5e)))return logger['warn'](_0x5cd959['ifFMX']),![];}catch(_0x205edb){logger['debug'](_0xd6d090(0x226)+util[_0xd6d090(0x24b)](_0x205edb));}return!![];},exports[a39_0x2454a1(0x242)]=(_0x32243a,_0xc0ba0d,_0x519957)=>{const _0x32581a=a39_0x2454a1,_0x256e14={'DJipS':function(_0x3d43ae){return _0x3d43ae();},'XGaZJ':'browserstack.accessibility','tnbIU':function(_0x123597,_0x595b33){return _0x123597===_0x595b33;},'YXMvN':_0x32581a(0x227),'YCmpP':function(_0x2fde3c,_0x1415d7){return _0x2fde3c===_0x1415d7;},'cgUhz':'playwright-chromium','EGxbx':function(_0x37cca8,_0x168c77){return _0x37cca8===_0x168c77;},'IFZWz':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','DuZfB':function(_0x6d72dd,_0x1d065d){return _0x6d72dd>_0x1d065d;},'VwcRl':_0x32581a(0x24f),'XqZKR':_0x32581a(0x231),'qkakS':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','tFpRI':function(_0x249994,_0x392adf){return _0x249994(_0x392adf);},'ARRia':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','NyiaS':function(_0x542d16,_0x383d62){return _0x542d16+_0x383d62;},'XRlZa':function(_0x366cc1,_0x4881d1){return _0x366cc1(_0x4881d1);}};try{if(_0x256e14[_0x32581a(0x251)](isAccessibilityAutomationSession)){global[_0x32581a(0x21c)]=!![];!_0x32243a[_0x256e14[_0x32581a(0x1f9)]]&&(global[_0x32581a(0x21c)]=![]);!(_0x256e14[_0x32581a(0x23a)](_0x32243a[_0x32581a(0x253)],_0x256e14[_0x32581a(0x228)])||_0x256e14[_0x32581a(0x23c)](_0x32243a[_0x32581a(0x253)],_0x256e14[_0x32581a(0x21a)])||_0x256e14['EGxbx'](_0x32243a[_0x32581a(0x22a)],_0x256e14['YXMvN'])||_0x256e14[_0x32581a(0x20e)](_0x32243a[_0x32581a(0x22a)],_0x256e14['cgUhz']))&&(logger[_0x32581a(0x22b)](_0x256e14[_0x32581a(0x217)]),global['accessibilityPlatform']=![]);!_0x256e14[_0x32581a(0x251)](isBrowserstackInfra)&&(!_0x256e14[_0x32581a(0x22c)](_0x32243a['browser_version'],0x64)&&logger[_0x32581a(0x22b)](_0x256e14['VwcRl']));!(_0x256e14['YCmpP'](_0x32243a[_0x32581a(0x257)],_0x256e14[_0x32581a(0x1eb)])||_0x256e14[_0x32581a(0x22c)](_0x32243a['browser_version'],0x5e))&&(logger['warn'](_0x256e14[_0x32581a(0x237)]),global[_0x32581a(0x21c)]=![]);!_0x256e14[_0x32581a(0x1ef)](isUndefined,_0x32243a['deviceName'])&&(logger[_0x32581a(0x22b)](_0x256e14[_0x32581a(0x200)]),global[_0x32581a(0x21c)]=![]);if(!global['accessibilityPlatform']){_0x32243a[_0x256e14[_0x32581a(0x1f9)]]=![];const _0x3ebf00=_0x256e14[_0x32581a(0x245)](_0xc0ba0d,_0x256e14['XRlZa'](encodeURIComponent,JSON[_0x32581a(0x1f4)](_0x32243a)));_0x519957&&(_0x519957[_0x32581a(0x20f)][_0x32581a(0x211)]['project']['use'][_0x32581a(0x1e9)]['wsEndpoint']=_0x3ebf00,_0x519957[_0x32581a(0x232)]['project']['use']['connectOptions'][_0x32581a(0x1ea)]=_0x3ebf00);}}else global['accessibilityPlatform']=![];}catch(_0x17b7d6){logger[_0x32581a(0x243)](_0x32581a(0x205)+util[_0x32581a(0x24b)](_0x17b7d6));}};
@@ -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';const a40_0x9abcf4=a40_0x3856;(function(_0x19d62e,_0xfd4005){const _0xa1f69f=a40_0x3856,_0x919dff=_0x19d62e();while(!![]){try{const _0x8c8be8=-parseInt(_0xa1f69f(0x204))/0x1*(-parseInt(_0xa1f69f(0x1ce))/0x2)+parseInt(_0xa1f69f(0x191))/0x3*(parseInt(_0xa1f69f(0x1f6))/0x4)+-parseInt(_0xa1f69f(0x1d6))/0x5+parseInt(_0xa1f69f(0x1ee))/0x6*(parseInt(_0xa1f69f(0x1f5))/0x7)+-parseInt(_0xa1f69f(0x192))/0x8*(-parseInt(_0xa1f69f(0x1be))/0x9)+-parseInt(_0xa1f69f(0x183))/0xa*(parseInt(_0xa1f69f(0x1b1))/0xb)+parseInt(_0xa1f69f(0x172))/0xc;if(_0x8c8be8===_0xfd4005)break;else _0x919dff['push'](_0x919dff['shift']());}catch(_0x30234b){_0x919dff['push'](_0x919dff['shift']());}}}(a40_0x1a48,0xe6365));const fs=require('fs'),path=require(a40_0x9abcf4(0x1ea)),{spawn}=require(a40_0x9abcf4(0x1bf)),{format}=require(a40_0x9abcf4(0x1ec)),logger=require(a40_0x9abcf4(0x1f8))[a40_0x9abcf4(0x196)],{default:BrowserStackSetup}=require(a40_0x9abcf4(0x1bc)),helper=require('../../helpers/helper'),utilities=require(a40_0x9abcf4(0x174)),constants=require(a40_0x9abcf4(0x1b6)),{FRAMEWORKS}=require(a40_0x9abcf4(0x1e0)),{getConfigLoaderPath}=require('./reporter/pwUtils'),{checkAccessibilityPlatformConfig}=require(a40_0x9abcf4(0x173)),{setAccessibilityCapabilities}=require(a40_0x9abcf4(0x178)),{printBuildLink}=require(a40_0x9abcf4(0x203)),TestDetails=require(a40_0x9abcf4(0x162)),TestHubHandler=require(a40_0x9abcf4(0x161)),PerformanceTester=require(a40_0x9abcf4(0x18a)),BrowserstackCLI=require(a40_0x9abcf4(0x1ac)),PerformanceEvents=require(a40_0x9abcf4(0x1e9))[a40_0x9abcf4(0x159)],CLIUtils=require(a40_0x9abcf4(0x1c7)),TestInfo=require(a40_0x9abcf4(0x1fa)),getUserPlaywrightConfig=async(_0x270888,_0x50b669)=>{const _0x3ce68d=a40_0x9abcf4,_0x40d9be={'cmwIU':function(_0x11331a){return _0x11331a();},'fEZiS':function(_0x21c6ee,_0x4722d4){return _0x21c6ee(_0x4722d4);},'byacj':function(_0x4ea7c6,_0x140dc9){return _0x4ea7c6(_0x140dc9);},'BlzUu':_0x3ce68d(0x166),'ARJtC':_0x3ce68d(0x1e4)},_0x1d0b68=!helper[_0x3ce68d(0x1ba)](_0x270888['config']),_0x1e802e=_0x1d0b68?path[_0x3ce68d(0x164)](process['cwd'](),_0x270888['config']):process[_0x3ce68d(0x1d5)](),{resolveConfigFile:_0x4dfda4,resolveConfigLocation:_0x56084f}=helper[_0x3ce68d(0x156)][_0x3ce68d(0x18e)](null,_0x40d9be[_0x3ce68d(0x1d0)](getConfigLoaderPath)),_0x33d886=_0x4dfda4?_0x40d9be['fEZiS'](_0x4dfda4,_0x1e802e):helper[_0x3ce68d(0x201)](_0x40d9be[_0x3ce68d(0x18f)](_0x56084f,_0x1e802e),[_0x40d9be[_0x3ce68d(0x1a6)]]),_0x561aef={};if(_0x1d0b68){const _0x5eae29=_0x50b669['findIndex'](_0x2463be=>_0x2463be===_0x3ce68d(0x1de)||_0x2463be==='-c'||_0x2463be['startsWith'](_0x3ce68d(0x1e4)));_0x50b669['splice'](_0x5eae29,_0x50b669[_0x5eae29][_0x3ce68d(0x200)](_0x40d9be[_0x3ce68d(0x1cc)])?0x1:0x2);}const _0x3553c4={};return _0x3553c4['path']=_0x33d886,_0x3553c4['config']=_0x561aef,_0x3553c4;},handleO11yRerun=_0x1fab91=>{const _0x21f078=a40_0x9abcf4,_0x1a556a={};_0x1a556a[_0x21f078(0x1aa)]=_0x21f078(0x15d);const _0x1e9812=_0x1a556a,_0xfaa899=helper['isTrue'](process[_0x21f078(0x186)][_0x21f078(0x16f)]);if(_0xfaa899){const _0x2512ab=process[_0x21f078(0x186)]['BROWSERSTACK_RERUN_TESTS'],_0x3e9a4e=[];if(helper[_0x21f078(0x1d3)](_0x2512ab)&&!helper[_0x21f078(0x1ba)](_0x2512ab)){_0x2512ab[_0x21f078(0x175)](',')[_0x21f078(0x1f7)](_0x1118cb=>{const _0x1911a0=_0x21f078;_0x3e9a4e[_0x1911a0(0x1a0)]('('+_0x1118cb[_0x1911a0(0x1e6)]()+')');});const _0x5a08c3='^'+_0x3e9a4e[_0x21f078(0x193)]('|')+'$';_0x1fab91[_0x21f078(0x1a0)](_0x1e9812[_0x21f078(0x1aa)],_0x5a08c3);}}},spawnOriginalProcess=_0x180bd0=>{const _0x37bd73=a40_0x9abcf4,_0x2522a5={'gDoEC':function(_0x2ecc0e,_0x3d46ee,_0x56b657,_0x4f4476){return _0x2ecc0e(_0x3d46ee,_0x56b657,_0x4f4476);},'HkmWv':'npx','GPyzm':_0x37bd73(0x1d7),'ETnaN':function(_0x57ae99,_0x3fe362){return _0x57ae99===_0x3fe362;},'Ockwj':'win32','ssENc':_0x37bd73(0x1c0)};_0x2522a5['gDoEC'](spawn,_0x2522a5[_0x37bd73(0x1a7)],[_0x2522a5[_0x37bd73(0x15f)],..._0x180bd0[_0x37bd73(0x1a5)](0x1)],{'shell':_0x2522a5[_0x37bd73(0x18c)](process[_0x37bd73(0x1d4)],_0x2522a5['Ockwj']),'stdio':_0x2522a5[_0x37bd73(0x176)],'cwd':process[_0x37bd73(0x1d5)]()});},isTestCommand=(_0x23a7dc,_0x112e8f)=>{const _0x463ee5=a40_0x9abcf4,_0x598fc8={};_0x598fc8[_0x463ee5(0x1b5)]=function(_0x2df1ed,_0x4d5273){return _0x2df1ed>_0x4d5273;},_0x598fc8[_0x463ee5(0x202)]=function(_0xa97c12,_0x26951c){return _0xa97c12===_0x26951c;},_0x598fc8[_0x463ee5(0x1b4)]=_0x463ee5(0x171);const _0x281cb6=_0x598fc8;if(_0x281cb6[_0x463ee5(0x1b5)](_0x112e8f[_0x463ee5(0x1c5)],0x1)&&_0x281cb6['GBPrg'](_0x112e8f[0x1],_0x281cb6[_0x463ee5(0x1b4)]))return!![];return![];};function a40_0x1a48(){const _0x1cfd1d=['wYipJ','env','fiQvR','ISqsV','accessibilityOptions','../../helpers/performance/performance-tester','mxPlg','ETnaN','logLevel','apply','byacj','skipSessionName','5575938nTlcVd','297464xAbbOP','join','Playwright\x20process\x20exited\x20with\x20code\x20','msmSQ','winstonLogger','npx','MPZxG','fuSPU','CQlNF','finalExecution','ozypQ','liAFJ','yTssY','BROWSERSTACK_PW_CONFIG_DIR','push','browserstackSetupConfig.json','getConfigPath','tXUNE','SQoOD','slice','BlzUu','HkmWv','automation','skipSessionStatus','Iycsg','PACKAGE_TYPE','../v2/browserstackCLI','shutdown','XWLiY','playwright-browserstack-sdk.config.cjs','dirname','1861893dalWlW','enwOT','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','neYte','AMRDz','../utils/constants','filter','isRunning','assign','isUndefined','DzGLo','../../helpers/BrowserStackSetup','egtrM','90jolRUk','child_process','inherit','stop','end','exitCode','getProxyUrl','length','kPJrc','../v2/cliUtils','debug','unlinkSync','browserstackAutomation','trace_','ARJtC','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','5794OTWgjm','homedir','cmwIU','forEach','getPackageType','validateRerunTestList','platform','cwd','8995675MDrwsm','playwright','cliConfig','FuDJX','sgwCR','ddMnR','HNWkn','Oxhtk','--config','readdirSync','../../helpers/test-observability/constants','UWIqI','playwright-browserstack-sdk.config.js','nRMRa','--config=','start','trim','exports','isTypescriptProject','../../helpers/performance/constants','path','CxJor','util','close','18DtuXAP','config','--disable-browserstack-automation','XHIjk','testObservability','BROWSERSTACK_AUTOMATION','win32','444472xByMWq','4BTbfdx','map','../../helpers/logger','info','../v2/TestInfo','has','isFalse','BROWSERSTACK_TEST_OBSERVABILITY','leFGO','VJLSA','startsWith','nestedKeyValue','GBPrg','../../helpers/test-observability/utils','167XMliZh','BROWSERSTACK_TEST_ACCESSIBILITY_YML','lGPkU','concat','requirePWModule','existsSync','CkMYX','EVENTS','accessibility','--disable-test-observability','LXbJV','--grep','FCwaR','GPyzm','xFWBk','../../helpers/testhub/testhubHandler','./reporter/test-details','clearTempPWConfig','resolve','setBrowserstackConfig','resolvedConfigFile','readFileSync','errorMessage','MODULE','bootstrap','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','\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();','measureWrapper','JNjRQ','BROWSERSTACK_RERUN','BrowserStack\x20config\x20file\x20not\x20found.','test','16328256KmiGAw','../../helpers/accessibility-automation/helper','../../helpers/utilities','split','ssENc','stringify','./accessibility-helper','getInstance','PLAYWRIGHT','WIqXx','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','nbBYB','IIcuF','writeFileSync','Error\x20in\x20closing\x20playwright','error','SDK_SETUP','90exMEvB','filterBrowserstackArgs'];a40_0x1a48=function(){return _0x1cfd1d;};return a40_0x1a48();}function a40_0x3856(_0x4516b0,_0xdec825){const _0x1a4828=a40_0x1a48();return a40_0x3856=function(_0x385618,_0x2d1305){_0x385618=_0x385618-0x153;let _0xe26264=_0x1a4828[_0x385618];return _0xe26264;},a40_0x3856(_0x4516b0,_0xdec825);}async function run(_0x4034c3,_0x1b823b,_0x240445){const _0x1ac4ef=a40_0x9abcf4,_0x582dd4={'tXUNE':function(_0x294b5d,_0xa1cf1){return _0x294b5d(_0xa1cf1);},'nbBYB':'.browserstack','enwOT':function(_0x1c5961){return _0x1c5961();},'lGPkU':function(_0x4bf6a3){return _0x4bf6a3();},'SQoOD':function(_0x4a6c16,_0x50ee7b){return _0x4a6c16+_0x50ee7b;},'XHIjk':_0x1ac4ef(0x180),'yTssY':'pw_result.json','bLlXf':'Error\x20in\x20getting\x20funnel\x20data\x20results','fuSPU':_0x1ac4ef(0x170),'wYipJ':function(_0x1cabfd,_0x529edc){return _0x1cabfd===_0x529edc;},'nRMRa':'false','DzGLo':_0x1ac4ef(0x15b),'XWLiY':function(_0x40b800,_0x5482f5){return _0x40b800>=_0x5482f5;},'kPJrc':function(_0x4e7ffc,_0x10a7df){return _0x4e7ffc===_0x10a7df;},'FuDJX':_0x1ac4ef(0x1a8),'CQlNF':function(_0x5bbbe9,_0x39f3eb){return _0x5bbbe9!=_0x39f3eb;},'ISqsV':function(_0x13be99,_0x48caaf,_0x1b6e64){return _0x13be99(_0x48caaf,_0x1b6e64);},'LXbJV':function(_0x1f0e36,_0x585423){return _0x1f0e36(_0x585423);},'FCwaR':function(_0x4bb6b8,_0x184e45){return _0x4bb6b8===_0x184e45;},'MPZxG':'true','ddMnR':_0x1ac4ef(0x1a1),'CxJor':_0x1ac4ef(0x1af),'egtrM':_0x1ac4ef(0x1e2),'UWIqI':function(_0x28e8cf,_0x16f50c){return _0x28e8cf-_0x16f50c;},'CkMYX':'Updated\x20config\x20file\x20name\x20to\x20-\x20','xFWBk':function(_0x451b2a,_0x732b08){return _0x451b2a>_0x732b08;},'Oxhtk':function(_0x605f91,_0x22c852){return _0x605f91+_0x22c852;},'msmSQ':function(_0x3b7da0,_0x17cb60,_0x55e423,_0x5793a3){return _0x3b7da0(_0x17cb60,_0x55e423,_0x5793a3);},'APTRq':_0x1ac4ef(0x197),'VJLSA':'playwright','sgwCR':'test','HNWkn':_0x1ac4ef(0x1de),'jDCdL':_0x1ac4ef(0x1f4),'FGjWQ':_0x1ac4ef(0x1c0),'liAFJ':_0x1ac4ef(0x1ed),'mxPlg':'Error\x20in\x20deleting\x20playwright\x20results','fiQvR':function(_0x112218,_0x542122,_0x3a7a06){return _0x112218(_0x542122,_0x3a7a06);},'leFGO':function(_0xfe2796,_0xa3ec24){return _0xfe2796(_0xa3ec24);}};try{const _0x2dfcad=path[_0x1ac4ef(0x193)](helper[_0x1ac4ef(0x1cf)](),_0x582dd4['nbBYB'],_0x582dd4[_0x1ac4ef(0x19e)]);fs[_0x1ac4ef(0x157)](_0x2dfcad)&&fs['unlinkSync'](_0x2dfcad);}catch(_0x1edd03){logger[_0x1ac4ef(0x1c8)](_0x582dd4[_0x1ac4ef(0x1dd)](_0x582dd4[_0x1ac4ef(0x18b)],_0x1edd03));}if(!_0x582dd4[_0x1ac4ef(0x187)](isTestCommand,_0x4034c3,_0x1b823b)){_0x582dd4[_0x1ac4ef(0x1fe)](spawnOriginalProcess,_0x1b823b);return;}await PerformanceTester[_0x1ac4ef(0x16d)](PerformanceEvents['SDK_PRE_INITIALIZE'],async()=>{const _0x3d918a=_0x1ac4ef,_0x228134={'WIqXx':_0x582dd4[_0x3d918a(0x17d)],'IIcuF':_0x582dd4[_0x3d918a(0x19e)],'ozypQ':function(_0x3771a3,_0x5e507b){const _0x55806b=_0x3d918a;return _0x582dd4[_0x55806b(0x1a4)](_0x3771a3,_0x5e507b);},'cgYac':_0x582dd4['bLlXf']};if(!_0x240445['config']){logger[_0x3d918a(0x181)](_0x582dd4[_0x3d918a(0x199)]);return;}await _0x240445['initialize'](_0x4034c3),CLIUtils['setFrameworkDetail'](FRAMEWORKS['PLAYWRIGHT'],FRAMEWORKS[_0x3d918a(0x17a)]),BrowserstackCLI[_0x3d918a(0x179)]()[_0x3d918a(0x165)](_0x240445['config'],_0x240445[_0x3d918a(0x1d8)]),await BrowserstackCLI[_0x3d918a(0x179)]()[_0x3d918a(0x16a)]();const _0x2d8e3b=BrowserstackCLI[_0x3d918a(0x179)]()['getConfig']();!helper[_0x3d918a(0x1fc)](_0x2d8e3b[_0x3d918a(0x1ca)])&&(process[_0x3d918a(0x186)]['BROWSERSTACK_AUTOMATION']=!![]);_0x582dd4[_0x3d918a(0x185)](_0x2d8e3b['browserstackAutomation'],![])&&(process[_0x3d918a(0x186)][_0x3d918a(0x1f3)]=_0x582dd4[_0x3d918a(0x1e3)],_0x1b823b=_0x1b823b[_0x3d918a(0x1b7)](_0x1f7709=>_0x1f7709!==_0x3d918a(0x1f0)));const _0x1d7232=_0x1b823b['indexOf'](_0x582dd4[_0x3d918a(0x1bb)]);(_0x582dd4[_0x3d918a(0x1ae)](_0x1d7232,0x0)||_0x582dd4[_0x3d918a(0x1c6)](_0x2d8e3b[_0x3d918a(0x1f2)],![]))&&(process[_0x3d918a(0x186)][_0x3d918a(0x1fd)]=_0x582dd4['nRMRa'],_0x1b823b=_0x1b823b['filter'](_0x328677=>_0x328677!==_0x3d918a(0x15b)));!helper[_0x3d918a(0x1ba)](_0x240445[_0x3d918a(0x1d8)])&&_0x240445[_0x3d918a(0x1d8)][_0x3d918a(0x1fb)](_0x582dd4[_0x3d918a(0x1d9)])&&(process[_0x3d918a(0x186)][_0x3d918a(0x1f3)]=_0x240445[_0x3d918a(0x1d8)]['get'](_0x582dd4[_0x3d918a(0x1d9)])||!![]);_0x582dd4[_0x3d918a(0x19a)](_0x240445[_0x3d918a(0x1ef)]['testObservability'],null)&&!helper['isTrue'](process[_0x3d918a(0x186)][_0x3d918a(0x1fd)])&&(process['env'][_0x3d918a(0x1fd)]=process['env'][_0x3d918a(0x1fd)]||_0x240445[_0x3d918a(0x1ef)][_0x3d918a(0x1f2)]);const _0x139527=!helper[_0x3d918a(0x1fc)](process['env'][_0x3d918a(0x1fd)]);_0x240445['config'][_0x3d918a(0x189)]&&(process[_0x3d918a(0x186)][_0x3d918a(0x17c)]=JSON[_0x3d918a(0x177)](_0x240445[_0x3d918a(0x1ef)][_0x3d918a(0x189)]));let _0x26480a=![];_0x240445[_0x3d918a(0x1ef)][_0x3d918a(0x15a)]&&(_0x26480a=!![],process[_0x3d918a(0x186)][_0x3d918a(0x153)]=_0x240445[_0x3d918a(0x1ef)][_0x3d918a(0x15a)]);const _0x52571c=_0x1b823b[_0x3d918a(0x155)](),_0x2b6773=await _0x582dd4[_0x3d918a(0x188)](getUserPlaywrightConfig,_0x4034c3,_0x1b823b);if(helper[_0x3d918a(0x1ba)](_0x2b6773)){_0x582dd4[_0x3d918a(0x15c)](spawnOriginalProcess,_0x52571c);return;}const _0x464049=_0x2b6773['path']?path[_0x3d918a(0x1b0)](_0x2b6773[_0x3d918a(0x1ea)]):process['cwd']();process[_0x3d918a(0x186)][_0x3d918a(0x19f)]=_0x464049,await PerformanceTester[_0x3d918a(0x16d)](PerformanceEvents['SDK_POST_INITIALIZE'],async()=>{const _0x338768=_0x3d918a;!BrowserstackCLI[_0x338768(0x179)]()[_0x338768(0x1b8)]()&&await TestHubHandler['launchBuild'](FRAMEWORKS[_0x338768(0x17a)],_0x240445),_0x139527&&_0x582dd4['tXUNE'](handleO11yRerun,_0x1b823b);})();if(!BrowserstackCLI[_0x3d918a(0x179)]()['isRunning']()){let _0x386b38=_0x582dd4[_0x3d918a(0x15e)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x582dd4[_0x3d918a(0x198)]);_0x386b38=_0x386b38||_0x582dd4[_0x3d918a(0x15c)](checkAccessibilityPlatformConfig,_0x240445[_0x3d918a(0x1ef)]),process[_0x3d918a(0x186)][_0x3d918a(0x153)]=_0x386b38,_0x386b38&&_0x582dd4[_0x3d918a(0x1a3)](setAccessibilityCapabilities,_0x240445['config']);}const _0x27b2f6=path['join'](_0x2b6773[_0x3d918a(0x1ea)]?path['dirname'](_0x2b6773['path']):process['cwd'](),_0x582dd4[_0x3d918a(0x1db)]);fs['writeFileSync'](_0x27b2f6,helper['serializeToYamlString'](_0x240445[_0x3d918a(0x1ef)])),process['env']['BROWSERSTACK_SETUP_CONFIG_PATH']=_0x27b2f6,helper[_0x3d918a(0x163)]();let _0x23afc5='';_0x582dd4[_0x3d918a(0x15e)](helper[_0x3d918a(0x1d2)](),constants[_0x3d918a(0x1ab)][_0x3d918a(0x169)])?_0x23afc5=_0x582dd4[_0x3d918a(0x1eb)]:_0x23afc5=_0x582dd4[_0x3d918a(0x1bd)];let _0x9bd793='';if(helper[_0x3d918a(0x1e8)](_0x2b6773[_0x3d918a(0x1ea)])){_0x9bd793=_0x3d918a(0x1b3);const _0x1ec666=_0x23afc5[_0x3d918a(0x175)]('.');_0x1ec666[_0x582dd4[_0x3d918a(0x1e1)](_0x1ec666[_0x3d918a(0x1c5)],0x1)]='ts',_0x23afc5=_0x1ec666[_0x3d918a(0x193)]('.'),logger[_0x3d918a(0x1c8)](_0x582dd4[_0x3d918a(0x1a4)](_0x582dd4[_0x3d918a(0x158)],_0x23afc5));}else _0x9bd793=_0x3d918a(0x16b);const _0x23389e=path[_0x3d918a(0x193)](_0x2b6773[_0x3d918a(0x1ea)]?path[_0x3d918a(0x1b0)](_0x2b6773[_0x3d918a(0x1ea)]):process[_0x3d918a(0x1d5)](),_0x23afc5);let _0x3f47b0=_0x2b6773[_0x3d918a(0x1ea)]?_0x2b6773[_0x3d918a(0x1ea)]:'';_0x3f47b0=_0x582dd4[_0x3d918a(0x160)](_0x3f47b0['length'],0x0)?path[_0x3d918a(0x164)](_0x3f47b0):'',process['env']['USER_CONFIG_DETAILS_PATH']=_0x3f47b0;const _0x388ee0=helper[_0x3d918a(0x1c4)](_0x240445[_0x3d918a(0x1ef)]);_0x388ee0&&(_0x9bd793=_0x582dd4['Oxhtk'](_0x3d918a(0x1cd)+_0x388ee0+_0x3d918a(0x16c),_0x9bd793));helper[_0x3d918a(0x184)]({},_0x1b823b),fs[_0x3d918a(0x17f)](_0x23389e,_0x9bd793),PerformanceTester[_0x3d918a(0x1c2)](PerformanceEvents[_0x3d918a(0x182)]);const _0x333b40=_0x582dd4[_0x3d918a(0x195)](spawn,_0x582dd4['APTRq'],[_0x582dd4[_0x3d918a(0x1ff)],_0x582dd4[_0x3d918a(0x1da)],_0x582dd4[_0x3d918a(0x1dc)],_0x23389e,..._0x1b823b[_0x3d918a(0x1a5)](0x2)],{'shell':_0x582dd4[_0x3d918a(0x1c6)](process[_0x3d918a(0x1d4)],_0x582dd4['jDCdL']),'stdio':_0x582dd4['FGjWQ'],'cwd':process[_0x3d918a(0x1d5)](),'env':Object[_0x3d918a(0x1b9)]({},process[_0x3d918a(0x186)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x3d918a(0x1a2)](_0x4034c3),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x240445[_0x3d918a(0x1ef)]['testContextOptions'][_0x3d918a(0x1a9)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x240445[_0x3d918a(0x1ef)]['testContextOptions'][_0x3d918a(0x190)],'BROWSERSTACK_LOG_LEVEL':_0x240445[_0x3d918a(0x1ef)][_0x3d918a(0x18d)]})}),_0x42121e=()=>{const _0x1f6aaa=_0x3d918a;try{const _0x2f4e91=path[_0x1f6aaa(0x193)](helper[_0x1f6aaa(0x1cf)](),_0x228134[_0x1f6aaa(0x17b)],_0x228134[_0x1f6aaa(0x17e)]);if(fs[_0x1f6aaa(0x157)](_0x2f4e91)){let _0x1b5417=fs[_0x1f6aaa(0x167)](_0x2f4e91);_0x1b5417=JSON['parse'](_0x1b5417),_0x240445[_0x1f6aaa(0x168)]=_0x1b5417,fs[_0x1f6aaa(0x1c9)](_0x2f4e91);}}catch(_0x17c7f5){logger['debug'](_0x228134[_0x1f6aaa(0x19c)](_0x228134['cgYac'],_0x17c7f5));}};_0x333b40['on'](_0x582dd4[_0x3d918a(0x19d)],async _0x3ffb94=>{const _0x4c6087=_0x3d918a,_0x3a29cb={};_0x3a29cb[_0x4c6087(0x16e)]=_0x582dd4[_0x4c6087(0x17d)];const _0x5b7982=_0x3a29cb;try{PerformanceTester[_0x4c6087(0x1e5)](PerformanceEvents['SDK_CLEANUP']),_0x582dd4[_0x4c6087(0x1b2)](_0x42121e),await TestHubHandler[_0x4c6087(0x1c1)](),await BrowserstackCLI[_0x4c6087(0x179)]()['stop'](),TestDetails[_0x4c6087(0x1ad)](),_0x582dd4[_0x4c6087(0x154)](printBuildLink),await utilities[_0x4c6087(0x19b)](_0x240445),process[_0x4c6087(0x1c3)]=_0x3ffb94,logger['debug'](_0x4c6087(0x194)+_0x3ffb94),logger[_0x4c6087(0x1f9)]('Deleting\x20'+_0x23389e),fs[_0x4c6087(0x1c9)](_0x23389e);fs['existsSync'](_0x27b2f6)&&(logger[_0x4c6087(0x1c8)]('Deleting\x20'+_0x27b2f6),fs[_0x4c6087(0x1c9)](_0x27b2f6));const _0x217942=fs[_0x4c6087(0x1df)](path[_0x4c6087(0x193)](helper[_0x4c6087(0x1cf)](),_0x582dd4[_0x4c6087(0x17d)]))[_0x4c6087(0x1b7)](_0x1f3a07=>_0x1f3a07[_0x4c6087(0x200)](_0x4c6087(0x1cb)));_0x217942[_0x4c6087(0x1d1)](_0x2276db=>{const _0x4ddfef=_0x4c6087;fs['unlinkSync'](path[_0x4ddfef(0x193)](helper['homedir'](),_0x5b7982[_0x4ddfef(0x16e)],_0x2276db));});}catch(_0x5cb78b){logger['debug'](_0x582dd4[_0x4c6087(0x1a4)](_0x582dd4[_0x4c6087(0x1f1)],_0x5cb78b));}});})();}module[a40_0x9abcf4(0x1e7)]=run;
@@ -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
+ const a41_0x21c9cb=a41_0x3611;function a41_0xc03c(){const _0x51811b=['hvRyg','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','6973824oBGPAa','fork','1069056IwBAco','./mock-process.js','\x20is\x20not\x20found','Running\x20existing\x20global\x20setup','config','yANaT','Call\x20to\x20child\x20fork\x20with\x20args\x20','PLAYWRIGHT','env','jHBgv','toString','IygnG','error','./patches','./reporter/pwUtils','RdfDR','Path\x20','1267oTXjho','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','../../helpers/test-observability/constants','AbXXT','compareVersions','Not\x20able\x20to\x20import\x20globalSetup','pwSNQ','function','1830nfXlzz','3961330drptrf','requirePWModule','debug','../../helpers/test-observability/utils','598599KSVXGv','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','OIIcz','winstonLogger','child_process','../../helpers/helper','isHandlePWErrorSet','apply','1640436oZHFzm','2543712hCrlQR','dVBUq','exports','QlTYh','lhmtF','MMxRS','1.33.0'];a41_0xc03c=function(){return _0x51811b;};return a41_0xc03c();}(function(_0x43cab0,_0x59ade7){const _0x1dd448=a41_0x3611,_0x44bbd5=_0x43cab0();while(!![]){try{const _0x2fe847=parseInt(_0x1dd448(0xd3))/0x1+-parseInt(_0x1dd448(0xb5))/0x2+-parseInt(_0x1dd448(0xdc))/0x3+-parseInt(_0x1dd448(0xdb))/0x4+parseInt(_0x1dd448(0xcf))/0x5+-parseInt(_0x1dd448(0xce))/0x6*(-parseInt(_0x1dd448(0xc6))/0x7)+parseInt(_0x1dd448(0xb3))/0x8;if(_0x2fe847===_0x59ade7)break;else _0x44bbd5['push'](_0x44bbd5['shift']());}catch(_0x3416d1){_0x44bbd5['push'](_0x44bbd5['shift']());}}}(a41_0xc03c,0x803c9));const util=require('util'),child_process=require(a41_0x21c9cb(0xd7)),{FRAMEWORKS}=require(a41_0x21c9cb(0xc8)),{getFrameworkVersion,debug}=require(a41_0x21c9cb(0xd2)),helper=require(a41_0x21c9cb(0xd8)),{getLoadUtilsPath,getForkProcessPath}=require(a41_0x21c9cb(0xc3)),{mockIsWorkerRedundant}=require(a41_0x21c9cb(0xc2)),logger=require('../../helpers/logger')[a41_0x21c9cb(0xd6)];function a41_0x3611(_0x36d119,_0x3f3ab7){const _0xc03c11=a41_0xc03c();return a41_0x3611=function(_0x3611b2,_0x569ab8){_0x3611b2=_0x3611b2-0xac;let _0xec702d=_0xc03c11[_0x3611b2];return _0xec702d;},a41_0x3611(_0x36d119,_0x3f3ab7);}module[a41_0x21c9cb(0xac)]=async function(_0x15b6a5){const _0x542aa9=a41_0x21c9cb,_0x4f46ff={'yANaT':function(_0x50e549,_0x1bd17b){return _0x50e549(_0x1bd17b);},'OIIcz':function(_0x2d99d8){return _0x2d99d8();},'AbXXT':_0x542aa9(0xb6),'IygnG':function(_0x925b3b){return _0x925b3b();},'CJXYh':function(_0x39c55d,_0x6ef85d){return _0x39c55d(_0x6ef85d);},'QlTYh':_0x542aa9(0xb8),'lhmtF':function(_0x1f86e9){return _0x1f86e9();},'pwSNQ':function(_0x33a0dc,_0x5cbf3d){return _0x33a0dc>=_0x5cbf3d;},'MMxRS':_0x542aa9(0xb0),'jHBgv':function(_0x5cb40e,_0x2fca9f,_0x1895f4){return _0x5cb40e(_0x2fca9f,_0x1895f4);},'hvRyg':function(_0x299746,_0x226468){return _0x299746!==_0x226468;},'dVBUq':_0x542aa9(0xcd),'RdfDR':_0x542aa9(0xcb)},_0x2508f2=child_process['fork'];if(helper[_0x542aa9(0xd9)]())try{_0x4f46ff[_0x542aa9(0xc0)](mockIsWorkerRedundant);}catch(_0x8184f7){logger[_0x542aa9(0xd1)](_0x542aa9(0xc7)+util['format'](_0x8184f7));}child_process[_0x542aa9(0xb4)]=function(){const _0x5e72d1=_0x542aa9;return _0x4f46ff['yANaT'](debug,_0x5e72d1(0xbb)+arguments[0x0]),arguments[0x0]['includes'](_0x4f46ff[_0x5e72d1(0xd5)](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x4f46ff[_0x5e72d1(0xc9)]):logger[_0x5e72d1(0xc1)](_0x5e72d1(0xc5)+_0x4f46ff[_0x5e72d1(0xd5)](getForkProcessPath)+_0x5e72d1(0xb7)),_0x2508f2[_0x5e72d1(0xda)](null,arguments);};if(process[_0x542aa9(0xbd)][_0x542aa9(0xb2)]){_0x4f46ff['CJXYh'](debug,_0x4f46ff[_0x542aa9(0xad)]);try{const {loadGlobalHook:_0x5ad78a}=helper[_0x542aa9(0xd0)]['apply'](null,_0x4f46ff[_0x542aa9(0xae)](getLoadUtilsPath)),_0x6256e3=_0x4f46ff['yANaT'](getFrameworkVersion,FRAMEWORKS[_0x542aa9(0xbc)]);let _0x2b0568=_0x15b6a5;if(_0x4f46ff[_0x542aa9(0xcc)](helper[_0x542aa9(0xca)](_0x6256e3,_0x4f46ff[_0x542aa9(0xaf)]),0x0)){const _0x1c8e4d={};_0x1c8e4d[_0x542aa9(0xb9)]=_0x15b6a5,_0x2b0568=_0x1c8e4d;}const _0x594d36=await _0x4f46ff[_0x542aa9(0xbe)](_0x5ad78a,_0x2b0568,process[_0x542aa9(0xbd)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']);if(_0x4f46ff[_0x542aa9(0xb1)](typeof _0x594d36,_0x4f46ff[_0x542aa9(0xdd)]))throw new Error(_0x4f46ff[_0x542aa9(0xc4)]);return _0x594d36['apply'](null,arguments);}catch(_0x10704d){_0x4f46ff[_0x542aa9(0xba)](debug,_0x542aa9(0xd4)+_0x10704d[_0x542aa9(0xbf)]());}}};