browserstack-node-sdk 1.46.4 → 1.46.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (185) 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/generated/sdk-messages_pb.d.ts +8 -0
  41. package/generated/sdk-messages_pb.js +73 -1
  42. package/package.json +1 -1
  43. package/src/ai-sdk-node/bundle.js +1 -1
  44. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  45. package/src/bin/codeceptjs/command.js +1 -1
  46. package/src/bin/codeceptjs/helper.js +1 -1
  47. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  48. package/src/bin/cucumber-js/command.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  50. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  51. package/src/bin/cucumber-js/test-observability.js +1 -1
  52. package/src/bin/cucumber-js/test.setup.js +1 -1
  53. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  54. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  55. package/src/bin/integrations/command.js +1 -1
  56. package/src/bin/integrations/constants.js +1 -1
  57. package/src/bin/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.setup.js +1 -1
  69. package/src/bin/jest/test_before.setup.js +1 -1
  70. package/src/bin/launcher/launcher.js +1 -1
  71. package/src/bin/load/index.js +1 -1
  72. package/src/bin/load/loadUtils.js +1 -1
  73. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  74. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  75. package/src/bin/mocha/command.js +1 -1
  76. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  77. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  78. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  79. package/src/bin/mocha/test.setup.js +1 -1
  80. package/src/bin/nightwatch/command.js +1 -1
  81. package/src/bin/playwright/accessibility-helper.js +1 -1
  82. package/src/bin/playwright/command.js +1 -1
  83. package/src/bin/playwright/globalSetup.js +1 -1
  84. package/src/bin/playwright/mock-process.js +1 -1
  85. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  86. package/src/bin/playwright/patches.js +1 -1
  87. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  88. package/src/bin/playwright/reporter/reporter.js +1 -1
  89. package/src/bin/playwright/reporter/test-details.js +1 -1
  90. package/src/bin/playwright/sessionDetails.js +1 -1
  91. package/src/bin/runner.js +1 -1
  92. package/src/bin/setup.js +1 -1
  93. package/src/bin/test-runner/index.js +1 -1
  94. package/src/bin/test-runner/runTest.js +1 -1
  95. package/src/bin/test-runner/testWorker.js +1 -1
  96. package/src/bin/utils/apiUtilityMethods.js +1 -1
  97. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  98. package/src/bin/utils/constants.js +1 -1
  99. package/src/bin/utils/log4jsAppender.js +1 -1
  100. package/src/bin/utils/logPatcher.js +1 -1
  101. package/src/bin/utils/logReportingAPI.js +1 -1
  102. package/src/bin/utils/playwright-patcher.js +1 -1
  103. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  104. package/src/bin/utils/sharedUtils.js +1 -1
  105. package/src/bin/v2/TestInfo.js +1 -1
  106. package/src/bin/v2/browserstackCLI.js +1 -1
  107. package/src/bin/v2/cliUtils.js +1 -1
  108. package/src/bin/v2/customTagManager.js +1 -1
  109. package/src/bin/v2/eventDispatcher.js +1 -1
  110. package/src/bin/v2/framework/automationFramework.js +1 -1
  111. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  112. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  113. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  115. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  116. package/src/bin/v2/framework/testFramework.js +1 -1
  117. package/src/bin/v2/grpcClient.js +1 -1
  118. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  120. package/src/bin/v2/instances/trackedContext.js +1 -1
  121. package/src/bin/v2/instances/trackedInstance.js +1 -1
  122. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  123. package/src/bin/v2/modules/baseModule.js +1 -1
  124. package/src/bin/v2/modules/observabilityModule.js +1 -1
  125. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  126. package/src/bin/v2/modules/testhubModule.js +1 -1
  127. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  128. package/src/bin/v2/state/hookState.js +1 -1
  129. package/src/bin/v2/state/testFrameworkState.js +1 -1
  130. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  131. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  132. package/src/bin/vanilla-js/command.js +1 -1
  133. package/src/browserStackSdk.js +1 -1
  134. package/src/helpers/BrowserStackSetup.js +1 -1
  135. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  136. package/src/helpers/accessibility-automation/constants.js +1 -1
  137. package/src/helpers/accessibility-automation/helper.js +1 -1
  138. package/src/helpers/accessibility-automation/scripts.js +1 -1
  139. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  140. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  141. package/src/helpers/ats/constants.js +1 -1
  142. package/src/helpers/ats/helper.js +1 -1
  143. package/src/helpers/capsMapping.js +1 -1
  144. package/src/helpers/central-scanner/constants.js +1 -1
  145. package/src/helpers/central-scanner/helpers.js +1 -1
  146. package/src/helpers/classLogger.js +1 -1
  147. package/src/helpers/globals.js +1 -1
  148. package/src/helpers/helper.js +1 -1
  149. package/src/helpers/logger.js +1 -1
  150. package/src/helpers/metadata.js +1 -1
  151. package/src/helpers/patchHelper.js +1 -1
  152. package/src/helpers/patchHelpers.js +1 -1
  153. package/src/helpers/percy/Percy.js +1 -1
  154. package/src/helpers/percy/PercyBinary.js +1 -1
  155. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  156. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  157. package/src/helpers/percy/PercySDK.js +1 -1
  158. package/src/helpers/percy/index.js +1 -1
  159. package/src/helpers/percy/utils.js +1 -1
  160. package/src/helpers/performance/constants.js +1 -1
  161. package/src/helpers/performance/performance-tester.js +1 -1
  162. package/src/helpers/playwright-helper.js +1 -1
  163. package/src/helpers/processHelper.js +1 -1
  164. package/src/helpers/request-spy.js +1 -1
  165. package/src/helpers/setKeepAlive.js +1 -1
  166. package/src/helpers/test-observability/constants.js +1 -1
  167. package/src/helpers/test-observability/error-handler.js +1 -1
  168. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  169. package/src/helpers/test-observability/sessionHandler.js +1 -1
  170. package/src/helpers/test-observability/utils.js +1 -1
  171. package/src/helpers/test-orchestration/constants.js +1 -1
  172. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  173. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  174. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  175. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  176. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  177. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  178. package/src/helpers/testhub/constants.js +1 -1
  179. package/src/helpers/testhub/testhubHandler.js +1 -1
  180. package/src/helpers/testhub/utils.js +1 -1
  181. package/src/helpers/timeoutPromise.js +1 -1
  182. package/src/helpers/utilities.js +1 -1
  183. package/src/helpers/w3cMapping.js +1 -1
  184. package/src/hubAllocationMethods.js +1 -1
  185. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a33_0x2c1cd2=a33_0x350a;(function(_0x20162a,_0x16f5c6){const _0x8ae16d=a33_0x350a,_0x53e59d=_0x20162a();while(!![]){try{const _0x295d08=-parseInt(_0x8ae16d(0x14b))/0x1*(-parseInt(_0x8ae16d(0x11d))/0x2)+parseInt(_0x8ae16d(0x101))/0x3*(parseInt(_0x8ae16d(0x149))/0x4)+parseInt(_0x8ae16d(0x11c))/0x5+parseInt(_0x8ae16d(0x134))/0x6+parseInt(_0x8ae16d(0xf8))/0x7+parseInt(_0x8ae16d(0xf9))/0x8+parseInt(_0x8ae16d(0xea))/0x9*(-parseInt(_0x8ae16d(0x13d))/0xa);if(_0x295d08===_0x16f5c6)break;else _0x53e59d['push'](_0x53e59d['shift']());}catch(_0x1b8834){_0x53e59d['push'](_0x53e59d['shift']());}}}(a33_0x4d4f,0xb3652));function a33_0x350a(_0x1a9389,_0x1b0c0d){const _0x4d4f1a=a33_0x4d4f();return a33_0x350a=function(_0x350aa9,_0x3b71d3){_0x350aa9=_0x350aa9-0xde;let _0x92dce4=_0x4d4f1a[_0x350aa9];return _0x92dce4;},a33_0x350a(_0x1a9389,_0x1b0c0d);}const logger=require(a33_0x2c1cd2(0x131))[a33_0x2c1cd2(0x133)],helper=require('../../../helpers/helper'),constants=require('../../../bin/utils/constants'),hubAllocator=require('../../../hubAllocationMethods'),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require(a33_0x2c1cd2(0xe5)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a33_0x2c1cd2(0xf4)),globals=require(a33_0x2c1cd2(0xe2)),{overrideExecute}=require('./helpers/patchHelper'),modify=(_0x54a711,_0x2588dd=null,_0x101183=![])=>{const _0x2467bd=a33_0x2c1cd2,_0x1a5676={'Vkmpi':function(_0x95c3af,_0x485684){return _0x95c3af!==_0x485684;},'neNsH':_0x2467bd(0xf2),'hGipP':function(_0x409568,_0x25e5cf){return _0x409568!==_0x25e5cf;},'FvQef':function(_0x487ecf,_0x35233e){return _0x487ecf+_0x35233e;},'VzRkc':'https://','HyMGM':_0x2467bd(0x120),'ujFkG':_0x2467bd(0x11f),'Osgzc':_0x2467bd(0xff),'CZOmn':_0x2467bd(0x14a),'mgZuK':_0x2467bd(0x11a),'yBOLC':_0x2467bd(0x137),'ZqtSW':_0x2467bd(0x130),'eFEbl':_0x2467bd(0x14d),'dHqbn':_0x2467bd(0x117),'tMeGx':_0x2467bd(0xe4),'yjTaT':function(_0x31729e,_0x5ca350){return _0x31729e===_0x5ca350;},'eRbXY':_0x2467bd(0x102),'MGCaP':'Setting\x20Browserstack\x20capabilities','VMRRa':'optimalHubUrl','eDGgW':_0x2467bd(0x107),'CrNCU':function(_0x2a7fe6,_0x2bc3ce,_0x1c238d){return _0x2a7fe6(_0x2bc3ce,_0x1c238d);},'GGTFs':function(_0x4b1155,_0x566f52){return _0x4b1155(_0x566f52);},'MlMlF':function(_0x515385,_0xe464c4,_0x6432d7){return _0x515385(_0xe464c4,_0x6432d7);},'ZcquI':function(_0x3e02bf,_0x5713a3,_0x42a5fe){return _0x3e02bf(_0x5713a3,_0x42a5fe);},'hOcwi':function(_0x1a3daa,_0x398a07,_0x52025c){return _0x1a3daa(_0x398a07,_0x52025c);},'erZqp':'3|0|4|1|2|5','KgbeG':'isAccessibilityPlatform','WbtEl':function(_0x5bd3cd,_0x8b5294,_0x256eab){return _0x5bd3cd(_0x8b5294,_0x256eab);},'TKcqF':function(_0x556e35){return _0x556e35();},'hqnrg':function(_0x74fa79,_0x500895){return _0x74fa79(_0x500895);},'UawbA':_0x2467bd(0xed),'MXGUm':function(_0x12b6f5,_0x3bad32){return _0x12b6f5!==_0x3bad32;},'HmIcO':_0x2467bd(0x11b),'kqApS':'Modifying\x20webdriver\x20builder'},_0x155632=helper[_0x2467bd(0x121)]();let _0x31aae9;try{_0x31aae9=helper['requireSeleniumWebdriver'](),_0x31aae9[_0x2467bd(0x112)]&&(_0x31aae9[_0x2467bd(0x12b)]=_0x31aae9[_0x2467bd(0x112)]);}catch(_0x96ad29){return;}if(helper['isBrowserstackInfra']()){const _0x489c20={};_0x489c20[_0x2467bd(0x13c)]=_0x54a711[_0x2467bd(0x13b)],helper['setLogLevel'](_0x489c20,new Map(),new Map()),logger[_0x2467bd(0xdf)](_0x1a5676['HmIcO']),logger[_0x2467bd(0x127)](_0x1a5676[_0x2467bd(0x12f)]);}class _0xac7207 extends _0x155632[_0x2467bd(0x118)]{[_0x2467bd(0x139)](_0x1b348c){const _0x110ebb=_0x2467bd;if(_0x1a5676[_0x110ebb(0x115)](_0x1b348c[_0x110ebb(0xfd)],_0x1a5676[_0x110ebb(0x105)])&&_0x1a5676[_0x110ebb(0xe6)](global[_0x110ebb(0x136)],''))try{global[_0x110ebb(0x136)]=_0x1a5676['FvQef'](_0x1a5676[_0x110ebb(0x119)](_0x1a5676[_0x110ebb(0x138)],global[_0x110ebb(0x136)]),_0x1a5676['HyMGM']),this[_0x110ebb(0x150)]=hubAllocator['getRequestOptions'](global[_0x110ebb(0x136)]),logger[_0x110ebb(0x127)]('New\x20hub\x20url\x20set\x20to\x20'+global[_0x110ebb(0x136)]),global['newHubUrl']='';}catch(_0x573c43){logger['error'](_0x573c43);}return super['send'](_0x1b348c);}}class _0x4b310c extends _0x31aae9[_0x2467bd(0x12b)]{[_0x2467bd(0xf6)](){const _0x45f4f3=_0x2467bd;return this[_0x45f4f3(0x13a)]=helper['getHubUrl'](_0x54a711),logger[_0x45f4f3(0x127)](_0x45f4f3(0x10e)+this[_0x45f4f3(0x13a)]),this;}['__setBrowserOptions'](_0xc04523){const _0x4a8aac=_0x2467bd;let _0x33a7c8={};for(const _0x51e5aa in _0xc04523){switch(_0x51e5aa){case _0x1a5676[_0x4a8aac(0xe0)]:case _0x1a5676[_0x4a8aac(0x128)]:this['chromeOptions_']&&(_0x33a7c8=this[_0x4a8aac(0x146)][_0x4a8aac(0xe7)](this[_0x4a8aac(0x146)]['CAPABILITY_KEY'])||{},this[_0x4a8aac(0x146)][_0x4a8aac(0x12a)](this[_0x4a8aac(0x146)][_0x4a8aac(0xf0)],helper['mergeDeep'](_0x33a7c8,_0xc04523[_0x51e5aa])));break;case _0x1a5676[_0x4a8aac(0x114)]:case _0x1a5676['mgZuK']:this['edgeOptions_']&&(_0x33a7c8=this[_0x4a8aac(0x148)][_0x4a8aac(0xe7)](this[_0x4a8aac(0x148)]['CAPABILITY_KEY'])||{},this[_0x4a8aac(0x148)][_0x4a8aac(0x12a)](this[_0x4a8aac(0x148)]['CAPABILITY_KEY'],helper[_0x4a8aac(0x14f)](_0x33a7c8,_0xc04523[_0x51e5aa])));break;case _0x1a5676[_0x4a8aac(0x14c)]:case _0x1a5676[_0x4a8aac(0x11e)]:this[_0x4a8aac(0xe8)]&&(_0x33a7c8=this['firefoxOptions_'][_0x4a8aac(0xe7)](this[_0x4a8aac(0xe8)]['CAPABILITY_KEY'])||{},this[_0x4a8aac(0xe8)][_0x4a8aac(0x12a)](this[_0x4a8aac(0xe8)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x33a7c8,_0xc04523[_0x51e5aa])));break;case _0x1a5676[_0x4a8aac(0x113)]:this[_0x4a8aac(0xef)]&&(_0x33a7c8=this[_0x4a8aac(0xef)][_0x4a8aac(0xe7)](this['safariOptions_']['CAPABILITY_KEY'])||{},this[_0x4a8aac(0xef)][_0x4a8aac(0x12a)](this['safariOptions_'][_0x4a8aac(0xf0)],helper[_0x4a8aac(0x14f)](_0x33a7c8,_0xc04523[_0x51e5aa])));break;case _0x1a5676[_0x4a8aac(0xe1)]:case _0x1a5676[_0x4a8aac(0x13e)]:this[_0x4a8aac(0x125)]&&(_0x33a7c8=this[_0x4a8aac(0x125)][_0x4a8aac(0xe7)](this['ieOptions_'][_0x4a8aac(0xf0)])||{},this['ieOptions_'][_0x4a8aac(0x12a)](this['ieOptions_'][_0x4a8aac(0xf0)],helper[_0x4a8aac(0x14f)](_0x33a7c8,_0xc04523[_0x51e5aa])));break;}}}[_0x2467bd(0x109)](){const _0x33417e=_0x2467bd;return logger[_0x33417e(0x127)](_0x1a5676[_0x33417e(0x132)]),this[_0x33417e(0xee)](_0x54a711[_0x33417e(0xfa)]),Object['keys'](_0x54a711[_0x33417e(0xfa)])[_0x33417e(0x10b)](_0x497004=>{const _0x56fbee=_0x33417e,_0x500c82=this['capabilities_']['get'](_0x497004);_0x1a5676[_0x56fbee(0x151)](typeof _0x500c82,_0x1a5676[_0x56fbee(0xe9)])?this['capabilities_']['set'](_0x497004,helper[_0x56fbee(0x14f)](_0x500c82,_0x54a711['capability'][_0x497004])):this[_0x56fbee(0xf3)][_0x56fbee(0x12a)](_0x497004,_0x54a711[_0x56fbee(0xfa)][_0x497004]);}),this;}[_0x2467bd(0x14e)](){const _0x3347fe=_0x2467bd,_0x202d0a={'AENfi':function(_0x59b736,_0x1d30a2,_0x13ddec){const _0x3de836=a33_0x350a;return _0x1a5676[_0x3de836(0x10d)](_0x59b736,_0x1d30a2,_0x13ddec);},'zuJWM':function(_0x3ebe76,_0x57174a,_0x224a87){const _0x1d1524=a33_0x350a;return _0x1a5676[_0x1d1524(0x116)](_0x3ebe76,_0x57174a,_0x224a87);}};if(helper[_0x3347fe(0x104)]()){const _0x397ba8=_0x1a5676['erZqp'][_0x3347fe(0x135)]('|');let _0x40d321=0x0;while(!![]){switch(_0x397ba8[_0x40d321++]){case'0':this['setServer']();continue;case'1':if(helper[_0x3347fe(0x129)](_0x54a711['proxySettings'][_0x3347fe(0x108)]))this[_0x3347fe(0x12e)]=helper[_0x3347fe(0xfe)](_0x54a711[_0x3347fe(0x103)][_0x3347fe(0x108)]);else _0x54a711[_0x3347fe(0x103)][_0x3347fe(0x108)]&&(this[_0x3347fe(0x110)]=_0x54a711[_0x3347fe(0x103)]['proxyUrl'],logger[_0x3347fe(0x127)](_0x3347fe(0xe3)+this[_0x3347fe(0x110)]));continue;case'2':globals['getGlobal'](_0x1a5676['KgbeG'])&&(!_0x1a5676[_0x3347fe(0xde)](setExtension,this,_0x54a711)&&globals[_0x3347fe(0x111)](_0x1a5676[_0x3347fe(0x13f)],![]));continue;case'3':_0x1a5676[_0x3347fe(0x123)](isAccessibilityAutomationSession)&&_0x1a5676[_0x3347fe(0x143)](setAccessibilityCapabilities,_0x54a711);continue;case'4':this[_0x3347fe(0x109)]();continue;case'5':logger[_0x3347fe(0x127)](_0x1a5676[_0x3347fe(0x100)]);continue;}break;}}const _0x1b392c=super[_0x3347fe(0x14e)]();return _0x1b392c[_0x3347fe(0x140)][_0x3347fe(0x10f)](_0x3d57af=>{const _0x59987a=_0x3347fe;try{const _0x5265de=_0x3d57af[_0x59987a(0x10a)][_0x59987a(0xe7)](_0x1a5676[_0x59987a(0x126)]);_0x5265de?(logger['debug']('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x5265de),hubAllocator['updateHubUrl'](_0x5265de),helper[_0x59987a(0xf7)](_0x5265de)):logger[_0x59987a(0x127)](_0x1a5676['eDGgW']);}catch(_0x356e4b){logger[_0x59987a(0x127)](_0x59987a(0x147)+_0x356e4b);}}),_0x1b392c[_0x3347fe(0x141)]=0x0,_0x1b392c[_0x3347fe(0x10f)]&&_0x1b392c['then'](_0x402c06=>{const _0x3ed04b=_0x3347fe,_0x2915a8={'NiSHm':function(_0x42474b,_0x32a0ac,_0x437300){const _0x174d32=a33_0x350a;return _0x1a5676[_0x174d32(0x10c)](_0x42474b,_0x32a0ac,_0x437300);}};_0x1a5676['CrNCU'](overrideQuit,_0x402c06,_0x1b392c),_0x1a5676[_0x3ed04b(0xfc)](overrideTakeScreenshot,_0x402c06),helper['overrideGet'](_0x402c06,_0x54a711),_0x1a5676['CrNCU'](overrideExecute,_0x402c06,_0x54a711),_0x402c06['getAccessibilityResultsSummary']=async()=>{const _0x429b45=_0x3ed04b;return await _0x202d0a[_0x429b45(0xeb)](getAccessibilityResultsSummary,_0x402c06,global);},_0x402c06[_0x3ed04b(0x122)]=async()=>{return await _0x2915a8['NiSHm'](getAccessibilityResults,_0x402c06,global);};}),_0x1b392c[_0x3347fe(0xf5)]=async()=>{const _0x561787=_0x3347fe;return await _0x202d0a[_0x561787(0x12d)](getAccessibilityResultsSummary,_0x1b392c,global);},_0x1b392c[_0x3347fe(0x122)]=async()=>{const _0x558748=_0x3347fe;return await _0x1a5676[_0x558748(0x12c)](getAccessibilityResults,_0x1b392c,global);},_0x1a5676['hqnrg'](overrideTakeScreenshot,_0x1b392c),_0x1a5676[_0x3347fe(0x143)](overrideQuit,_0x1b392c),helper[_0x3347fe(0xf1)](_0x1b392c,_0x54a711),_0x1a5676[_0x3347fe(0x12c)](overrideExecute,_0x1b392c,_0x54a711),helper[_0x3347fe(0x124)](global[_0x3347fe(0x144)])&&(global['__driversArray']=[]),helper[_0x3347fe(0x124)](global[_0x3347fe(0xec)])&&(global[_0x3347fe(0xec)]=[]),global[_0x3347fe(0x144)][_0x3347fe(0x106)](_0x1b392c),global['__driver']=_0x1b392c,_0x1a5676[_0x3347fe(0xe6)](global[_0x3347fe(0xec)],undefined)&&global[_0x3347fe(0xec)][_0x3347fe(0x106)](_0x1b392c),_0x2588dd&&helper[_0x3347fe(0x124)](_0x2588dd[_0x3347fe(0x145)][_0x3347fe(0x144)])&&(_0x2588dd[_0x3347fe(0x145)]['__driversArray']=[]),_0x2588dd&&_0x1a5676[_0x3347fe(0x142)](_0x2588dd[_0x3347fe(0x145)][_0x3347fe(0xec)],undefined)&&(_0x2588dd[_0x3347fe(0x145)][_0x3347fe(0xec)][_0x3347fe(0x106)](_0x1b392c),_0x2588dd[_0x3347fe(0x145)][_0x3347fe(0x144)]['push'](_0x1b392c)),_0x1b392c;}}return _0x31aae9['originalBuilder']=_0x31aae9[_0x2467bd(0x12b)],_0x31aae9[_0x2467bd(0x12b)]=_0x4b310c,_0x155632[_0x2467bd(0x118)]=_0xac7207,_0x31aae9;};module[a33_0x2c1cd2(0xfb)]['browserstackAgentObservability']=modify;function a33_0x4d4f(){const _0x28c29a=['2535210HmpBid','split','newHubUrl','moz:firefoxOptions','VzRkc','send','url_','browserStackLogLevel','logLevel','10TtoLWd','tMeGx','KgbeG','session_','quitCount_','MXGUm','hqnrg','__driversArray','global','chromeOptions_','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','edgeOptions_','31704aFzjxY','ms:edgeOptions','33QTRpek','yBOLC','safari.options','build','mergeDeep','options_','yjTaT','WbtEl','info','ujFkG','dHqbn','../../../helpers/globals','Proxy\x20set\x20to\x20','ieOptions','../accessibility-automation/helper','hGipP','get','firefoxOptions_','eRbXY','29213262WsDwoc','AENfi','__drivers','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','__setBrowserOptions','safariOptions_','CAPABILITY_KEY','overrideGet','/session','capabilities_','../../../helpers/accessibility-automation/helper','getAccessibilityResultsSummary','setServer','storeOptimalHubUrl','127407NaUjun','11304888nvZFdo','capability','exports','GGTFs','path','getHttpAgent','chromeOptions','UawbA','291YEBvOn','object','proxySettings','isBrowserstackInfra','neNsH','push','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','proxyUrl','setCapabilities','caps_','forEach','CrNCU','ZcquI','Hub\x20url\x20set\x20to\x20','then','proxy_','setGlobal','originalBuilder','eFEbl','CZOmn','Vkmpi','hOcwi','se:ieOptions','HttpClient','FvQef','edgeOptions','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','4457485IxGrFm','28276fJztJv','ZqtSW','goog:chromeOptions','/wd/hub','requireHttpClient','getAccessibilityResults','TKcqF','isUndefined','ieOptions_','VMRRa','debug','Osgzc','isPacProxy','set','Builder','MlMlF','zuJWM','agent_','kqApS','firefoxOptions','../../../helpers/logger','MGCaP','winstonLogger'];a33_0x4d4f=function(){return _0x28c29a;};return a33_0x4d4f();}
1
+ const a33_0x15f948=a33_0x4ddd;(function(_0x2df362,_0x2806a7){const _0x54e34b=a33_0x4ddd,_0x2feb0f=_0x2df362();while(!![]){try{const _0xbb106b=-parseInt(_0x54e34b(0x20c))/0x1*(parseInt(_0x54e34b(0x1ef))/0x2)+-parseInt(_0x54e34b(0x1d6))/0x3+parseInt(_0x54e34b(0x1dc))/0x4+parseInt(_0x54e34b(0x1d7))/0x5*(-parseInt(_0x54e34b(0x20a))/0x6)+-parseInt(_0x54e34b(0x1fa))/0x7*(-parseInt(_0x54e34b(0x1f4))/0x8)+parseInt(_0x54e34b(0x21b))/0x9+parseInt(_0x54e34b(0x1ce))/0xa*(parseInt(_0x54e34b(0x1b9))/0xb);if(_0xbb106b===_0x2806a7)break;else _0x2feb0f['push'](_0x2feb0f['shift']());}catch(_0x283a3d){_0x2feb0f['push'](_0x2feb0f['shift']());}}}(a33_0x3787,0xa22e1));const logger=require(a33_0x15f948(0x1d1))[a33_0x15f948(0x1f2)],helper=require(a33_0x15f948(0x20f)),constants=require('../../../bin/utils/constants'),hubAllocator=require(a33_0x15f948(0x1e2)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require(a33_0x15f948(0x1ec)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a33_0x15f948(0x1bc)),globals=require(a33_0x15f948(0x1d9)),{overrideExecute}=require('./helpers/patchHelper'),modify=(_0x5e9654,_0x652e9e=null,_0x587e83=![])=>{const _0x205ce9=a33_0x15f948,_0x1adc23={'tZQxD':function(_0x2b1163,_0x2d25c4){return _0x2b1163!==_0x2d25c4;},'gnRrQ':_0x205ce9(0x224),'FZPcN':function(_0x44821e,_0x832a00){return _0x44821e+_0x832a00;},'sjYKc':_0x205ce9(0x1cd),'vUCxa':_0x205ce9(0x1db),'hJhtH':'goog:chromeOptions','iQsDD':_0x205ce9(0x209),'BToRY':'ms:edgeOptions','xmUiz':_0x205ce9(0x1d2),'GEdIi':_0x205ce9(0x1fb),'BYKYC':_0x205ce9(0x1eb),'UDSXM':_0x205ce9(0x218),'Dqanw':_0x205ce9(0x1c9),'EcSKI':_0x205ce9(0x1e3),'XFJGc':function(_0x6b926b,_0x584ada){return _0x6b926b===_0x584ada;},'gUsnu':_0x205ce9(0x207),'owRLF':_0x205ce9(0x202),'uHCzh':function(_0x43dab7,_0x30e6be,_0x2315a3){return _0x43dab7(_0x30e6be,_0x2315a3);},'WWMVM':function(_0x1fca0f,_0x1e042d,_0x2d3955){return _0x1fca0f(_0x1e042d,_0x2d3955);},'joMsg':function(_0x1cb647,_0x1d747a){return _0x1cb647(_0x1d747a);},'tKJKP':'optimalHubUrl','ngwqa':_0x205ce9(0x1fc),'KVykR':function(_0x2d92b0,_0x27195b,_0x2f4c85){return _0x2d92b0(_0x27195b,_0x2f4c85);},'JALdA':'5|3|1|0|2|4','PPfQF':_0x205ce9(0x1df),'YLsDe':function(_0x232a4d,_0x40e2af,_0x4c7f8c){return _0x232a4d(_0x40e2af,_0x4c7f8c);},'QbXWa':_0x205ce9(0x1ed),'Dvmwh':function(_0x23ad5f){return _0x23ad5f();},'PBZiq':function(_0x2660a3,_0x4c7aa0,_0x3aecde){return _0x2660a3(_0x4c7aa0,_0x3aecde);},'AsLFs':function(_0x3ed84e,_0x458d6e){return _0x3ed84e!==_0x458d6e;},'oEEUG':function(_0x19bdab,_0x39df64){return _0x19bdab!==_0x39df64;},'aRzGy':_0x205ce9(0x1dd),'lmFEq':'Modifying\x20webdriver\x20builder'},_0xcfdd46=helper['requireHttpClient']();let _0x1daa79;try{_0x1daa79=helper[_0x205ce9(0x1d4)](),_0x1daa79[_0x205ce9(0x20d)]&&(_0x1daa79[_0x205ce9(0x1c1)]=_0x1daa79[_0x205ce9(0x20d)]);}catch(_0x11030d){return;}if(helper[_0x205ce9(0x1d8)]()){const _0x18bab1={};_0x18bab1['logLevel']=_0x5e9654[_0x205ce9(0x221)],helper[_0x205ce9(0x1e8)](_0x18bab1,new Map(),new Map()),logger[_0x205ce9(0x1c3)](_0x1adc23['aRzGy']),logger[_0x205ce9(0x213)](_0x1adc23[_0x205ce9(0x1f9)]);}class _0x133b71 extends _0xcfdd46[_0x205ce9(0x1de)]{[_0x205ce9(0x1f1)](_0x187b29){const _0x231ba4=_0x205ce9;if(_0x1adc23[_0x231ba4(0x219)](_0x187b29[_0x231ba4(0x1c7)],_0x1adc23[_0x231ba4(0x1b6)])&&_0x1adc23['tZQxD'](global[_0x231ba4(0x1b8)],''))try{global[_0x231ba4(0x1b8)]=_0x1adc23[_0x231ba4(0x220)](_0x1adc23[_0x231ba4(0x220)](_0x1adc23[_0x231ba4(0x1e4)],global[_0x231ba4(0x1b8)]),_0x1adc23[_0x231ba4(0x1e0)]),this['options_']=hubAllocator['getRequestOptions'](global[_0x231ba4(0x1b8)]),logger['debug'](_0x231ba4(0x1c5)+global[_0x231ba4(0x1b8)]),global[_0x231ba4(0x1b8)]='';}catch(_0x3a2ea3){logger['error'](_0x3a2ea3);}return super['send'](_0x187b29);}}class _0x3d3f2b extends _0x1daa79['Builder']{['setServer'](){const _0x58f709=_0x205ce9;return this[_0x58f709(0x1ff)]=helper[_0x58f709(0x1ee)](_0x5e9654),logger['debug'](_0x58f709(0x1b4)+this[_0x58f709(0x1ff)]),this;}[_0x205ce9(0x1f6)](_0x29a5b8){const _0x584163=_0x205ce9;let _0xe7bb51={};for(const _0x108c35 in _0x29a5b8){switch(_0x108c35){case _0x1adc23['hJhtH']:case _0x1adc23[_0x584163(0x1c0)]:this[_0x584163(0x20e)]&&(_0xe7bb51=this['chromeOptions_']['get'](this[_0x584163(0x20e)]['CAPABILITY_KEY'])||{},this[_0x584163(0x20e)][_0x584163(0x214)](this[_0x584163(0x20e)][_0x584163(0x21c)],helper[_0x584163(0x208)](_0xe7bb51,_0x29a5b8[_0x108c35])));break;case _0x1adc23['BToRY']:case _0x1adc23[_0x584163(0x1cb)]:this[_0x584163(0x1cf)]&&(_0xe7bb51=this[_0x584163(0x1cf)][_0x584163(0x1c4)](this['edgeOptions_']['CAPABILITY_KEY'])||{},this[_0x584163(0x1cf)][_0x584163(0x214)](this[_0x584163(0x1cf)]['CAPABILITY_KEY'],helper[_0x584163(0x208)](_0xe7bb51,_0x29a5b8[_0x108c35])));break;case _0x1adc23[_0x584163(0x204)]:case _0x1adc23[_0x584163(0x200)]:this[_0x584163(0x1e1)]&&(_0xe7bb51=this[_0x584163(0x1e1)][_0x584163(0x1c4)](this[_0x584163(0x1e1)][_0x584163(0x21c)])||{},this['firefoxOptions_'][_0x584163(0x214)](this[_0x584163(0x1e1)][_0x584163(0x21c)],helper[_0x584163(0x208)](_0xe7bb51,_0x29a5b8[_0x108c35])));break;case _0x1adc23[_0x584163(0x1e9)]:this[_0x584163(0x222)]&&(_0xe7bb51=this['safariOptions_']['get'](this['safariOptions_']['CAPABILITY_KEY'])||{},this['safariOptions_'][_0x584163(0x214)](this[_0x584163(0x222)]['CAPABILITY_KEY'],helper[_0x584163(0x208)](_0xe7bb51,_0x29a5b8[_0x108c35])));break;case _0x1adc23['Dqanw']:case _0x1adc23[_0x584163(0x1e5)]:this[_0x584163(0x1c2)]&&(_0xe7bb51=this[_0x584163(0x1c2)]['get'](this[_0x584163(0x1c2)][_0x584163(0x21c)])||{},this[_0x584163(0x1c2)][_0x584163(0x214)](this['ieOptions_'][_0x584163(0x21c)],helper['mergeDeep'](_0xe7bb51,_0x29a5b8[_0x108c35])));break;}}}[_0x205ce9(0x1c6)](){const _0x490bb4=_0x205ce9;return logger[_0x490bb4(0x213)](_0x1adc23['owRLF']),this[_0x490bb4(0x1f6)](_0x5e9654[_0x490bb4(0x217)]),Object[_0x490bb4(0x1ca)](_0x5e9654[_0x490bb4(0x217)])[_0x490bb4(0x1da)](_0x4bdd91=>{const _0x3e7de4=_0x490bb4,_0x4aaeaf=this[_0x3e7de4(0x1f3)][_0x3e7de4(0x1c4)](_0x4bdd91);_0x1adc23[_0x3e7de4(0x20b)](typeof _0x4aaeaf,_0x1adc23['gUsnu'])?this[_0x3e7de4(0x1f3)]['set'](_0x4bdd91,helper['mergeDeep'](_0x4aaeaf,_0x5e9654[_0x3e7de4(0x217)][_0x4bdd91])):this[_0x3e7de4(0x1f3)]['set'](_0x4bdd91,_0x5e9654['capability'][_0x4bdd91]);}),this;}[_0x205ce9(0x211)](){const _0x3126eb=_0x205ce9,_0x22c0d3={'uvARh':_0x1adc23[_0x3126eb(0x1bd)],'EeVCl':_0x1adc23['ngwqa'],'JKSIp':function(_0x2e17dd,_0x5c53c9,_0x41065d){return _0x1adc23['KVykR'](_0x2e17dd,_0x5c53c9,_0x41065d);}};if(helper[_0x3126eb(0x1d8)]()){const _0x555c20=_0x1adc23[_0x3126eb(0x21f)]['split']('|');let _0x2be69f=0x0;while(!![]){switch(_0x555c20[_0x2be69f++]){case'0':if(helper[_0x3126eb(0x216)](_0x5e9654[_0x3126eb(0x1fd)][_0x3126eb(0x1f0)]))this[_0x3126eb(0x1cc)]=helper['getHttpAgent'](_0x5e9654[_0x3126eb(0x1fd)][_0x3126eb(0x1f0)]);else _0x5e9654['proxySettings'][_0x3126eb(0x1f0)]&&(this['proxy_']=_0x5e9654[_0x3126eb(0x1fd)]['proxyUrl'],logger['debug']('Proxy\x20set\x20to\x20'+this['proxy_']));continue;case'1':this[_0x3126eb(0x1c6)]();continue;case'2':globals[_0x3126eb(0x1b7)](_0x1adc23[_0x3126eb(0x223)])&&(!_0x1adc23[_0x3126eb(0x212)](setExtension,this,_0x5e9654)&&globals[_0x3126eb(0x1fe)](_0x1adc23[_0x3126eb(0x223)],![]));continue;case'3':this[_0x3126eb(0x1bf)]();continue;case'4':logger['debug'](_0x1adc23['QbXWa']);continue;case'5':_0x1adc23[_0x3126eb(0x1f8)](isAccessibilityAutomationSession)&&_0x1adc23[_0x3126eb(0x1ba)](setAccessibilityCapabilities,_0x5e9654);continue;}break;}}const _0x581d14=super['build']();return _0x581d14[_0x3126eb(0x21d)]['then'](_0x5adaf0=>{const _0x371ca0=_0x3126eb;try{const _0xced33=_0x5adaf0[_0x371ca0(0x1f7)][_0x371ca0(0x1c4)](_0x22c0d3[_0x371ca0(0x205)]);_0xced33?(logger[_0x371ca0(0x213)]('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0xced33),hubAllocator[_0x371ca0(0x201)](_0xced33),helper['storeOptimalHubUrl'](_0xced33)):logger['debug'](_0x22c0d3['EeVCl']);}catch(_0x3e1900){logger['debug']('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x3e1900);}}),_0x581d14[_0x3126eb(0x1c8)]=0x0,_0x581d14[_0x3126eb(0x225)]&&_0x581d14['then'](_0x5c2676=>{const _0x4f2598=_0x3126eb,_0x4c733b={'yvZRt':function(_0x4b4156,_0x1405fc,_0x184d4f){const _0xe81ded=a33_0x4ddd;return _0x1adc23[_0xe81ded(0x1d3)](_0x4b4156,_0x1405fc,_0x184d4f);}};_0x1adc23['WWMVM'](overrideQuit,_0x5c2676,_0x581d14),_0x1adc23[_0x4f2598(0x1ba)](overrideTakeScreenshot,_0x5c2676),helper[_0x4f2598(0x1d0)](_0x5c2676,_0x5e9654),_0x1adc23[_0x4f2598(0x206)](overrideExecute,_0x5c2676,_0x5e9654),_0x5c2676[_0x4f2598(0x1f5)]=async()=>{return await _0x22c0d3['JKSIp'](getAccessibilityResultsSummary,_0x5c2676,global);},_0x5c2676[_0x4f2598(0x1be)]=async()=>{const _0x39ea26=_0x4f2598;return await _0x4c733b[_0x39ea26(0x21a)](getAccessibilityResults,_0x5c2676,global);};}),_0x581d14[_0x3126eb(0x1f5)]=async()=>{const _0x2f25f4=_0x3126eb;return await _0x1adc23[_0x2f25f4(0x206)](getAccessibilityResultsSummary,_0x581d14,global);},_0x581d14[_0x3126eb(0x1be)]=async()=>{const _0x15a48f=_0x3126eb;return await _0x22c0d3[_0x15a48f(0x1ea)](getAccessibilityResults,_0x581d14,global);},_0x1adc23['joMsg'](overrideTakeScreenshot,_0x581d14),_0x1adc23[_0x3126eb(0x1ba)](overrideQuit,_0x581d14),helper['overrideGet'](_0x581d14,_0x5e9654),_0x1adc23['PBZiq'](overrideExecute,_0x581d14,_0x5e9654),helper[_0x3126eb(0x1d5)](global[_0x3126eb(0x1e6)])&&(global['__driversArray']=[]),helper[_0x3126eb(0x1d5)](global[_0x3126eb(0x1bb)])&&(global[_0x3126eb(0x1bb)]=[]),global['__driversArray'][_0x3126eb(0x203)](_0x581d14),global[_0x3126eb(0x21e)]=_0x581d14,_0x1adc23[_0x3126eb(0x215)](global[_0x3126eb(0x1bb)],undefined)&&global[_0x3126eb(0x1bb)][_0x3126eb(0x203)](_0x581d14),_0x652e9e&&helper[_0x3126eb(0x1d5)](_0x652e9e[_0x3126eb(0x1b5)][_0x3126eb(0x1e6)])&&(_0x652e9e[_0x3126eb(0x1b5)][_0x3126eb(0x1e6)]=[]),_0x652e9e&&_0x1adc23[_0x3126eb(0x1e7)](_0x652e9e['global'][_0x3126eb(0x1bb)],undefined)&&(_0x652e9e[_0x3126eb(0x1b5)][_0x3126eb(0x1bb)][_0x3126eb(0x203)](_0x581d14),_0x652e9e[_0x3126eb(0x1b5)][_0x3126eb(0x1e6)]['push'](_0x581d14)),_0x581d14;}}return _0x1daa79[_0x205ce9(0x20d)]=_0x1daa79['Builder'],_0x1daa79[_0x205ce9(0x1c1)]=_0x3d3f2b,_0xcfdd46['HttpClient']=_0x133b71,_0x1daa79;};function a33_0x4ddd(_0xe133a1,_0x581bdd){const _0x378716=a33_0x3787();return a33_0x4ddd=function(_0x4ddd76,_0x12d361){_0x4ddd76=_0x4ddd76-0x1b4;let _0x5a12c3=_0x378716[_0x4ddd76];return _0x5a12c3;},a33_0x4ddd(_0xe133a1,_0x581bdd);}module[a33_0x15f948(0x210)]['browserstackAgentObservability']=modify;function a33_0x3787(){const _0x4bd1fe=['moz:firefoxOptions','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','proxySettings','setGlobal','url_','BYKYC','updateHubUrl','Setting\x20Browserstack\x20capabilities','push','GEdIi','uvARh','WWMVM','object','mergeDeep','chromeOptions','6MGmpRO','XFJGc','1QKaxGd','originalBuilder','chromeOptions_','../../../helpers/helper','exports','build','YLsDe','debug','set','AsLFs','isPacProxy','capability','safari.options','tZQxD','yvZRt','4334535jFYuAa','CAPABILITY_KEY','session_','__driver','JALdA','FZPcN','browserStackLogLevel','safariOptions_','PPfQF','/session','then','Hub\x20url\x20set\x20to\x20','global','gnRrQ','getGlobal','newHubUrl','11ATYAlz','joMsg','__drivers','../../../helpers/accessibility-automation/helper','tKJKP','getAccessibilityResults','setServer','iQsDD','Builder','ieOptions_','info','get','New\x20hub\x20url\x20set\x20to\x20','setCapabilities','path','quitCount_','se:ieOptions','keys','xmUiz','agent_','https://','24290270mRVCEA','edgeOptions_','overrideGet','../../../helpers/logger','edgeOptions','uHCzh','requireSeleniumWebdriver','isUndefined','3966561mXKCNk','5851695zrHvqT','isBrowserstackInfra','../../../helpers/globals','forEach','/wd/hub','3428112NHaSfb','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','HttpClient','isAccessibilityPlatform','vUCxa','firefoxOptions_','../../../hubAllocationMethods','ieOptions','sjYKc','EcSKI','__driversArray','oEEUG','setLogLevel','UDSXM','JKSIp','firefoxOptions','../accessibility-automation/helper','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','getHubUrl','1460222BMaWhI','proxyUrl','send','winstonLogger','capabilities_','64LvPULn','getAccessibilityResultsSummary','__setBrowserOptions','caps_','Dvmwh','lmFEq','104349PKXqdx'];a33_0x3787=function(){return _0x4bd1fe;};return a33_0x3787();}
@@ -1 +1 @@
1
- const a34_0x12c921=a34_0x2970;(function(_0x38a8c0,_0xc46209){const _0x128695=a34_0x2970,_0x141ef1=_0x38a8c0();while(!![]){try{const _0x9521df=-parseInt(_0x128695(0x1cf))/0x1*(-parseInt(_0x128695(0x1de))/0x2)+-parseInt(_0x128695(0x1db))/0x3+parseInt(_0x128695(0x1dd))/0x4+-parseInt(_0x128695(0x1d5))/0x5*(-parseInt(_0x128695(0x1d0))/0x6)+-parseInt(_0x128695(0x1d9))/0x7+parseInt(_0x128695(0x1dc))/0x8*(-parseInt(_0x128695(0x1d8))/0x9)+-parseInt(_0x128695(0x1ce))/0xa*(parseInt(_0x128695(0x1d4))/0xb);if(_0x9521df===_0xc46209)break;else _0x141ef1['push'](_0x141ef1['shift']());}catch(_0x1b252a){_0x141ef1['push'](_0x141ef1['shift']());}}}(a34_0x442d,0x1f0fe));function a34_0x442d(){const _0x2d0dfd=['98385TnVIth','restore','153321DpTdTn','348872NgBOia','814544vteEUb','66wRhxyk','10aMAKEI','184ajIcIN','612558pwRTAK','../../../bin/utils/constants','timeout','../../../helpers/request-spy','354101IfTBCz','5MuWqMZ','mochaHooks','../../../helpers/test-observability/utils','18cAQYdk'];a34_0x442d=function(){return _0x2d0dfd;};return a34_0x442d();}const requestSpy=require(a34_0x12c921(0x1d3)),constants=require(a34_0x12c921(0x1d1)),{addRequestSpy}=require(a34_0x12c921(0x1d7));function a34_0x2970(_0x248d9e,_0x5ddbe4){const _0x442df1=a34_0x442d();return a34_0x2970=function(_0x2970ac,_0x54b5e3){_0x2970ac=_0x2970ac-0x1ce;let _0x29cdfa=_0x442df1[_0x2970ac];return _0x29cdfa;},a34_0x2970(_0x248d9e,_0x5ddbe4);}exports[a34_0x12c921(0x1d6)]={'beforeAll'(){const _0x35bc21={'ZOWcB':function(_0x3e93cd){return _0x3e93cd();}},_0x3b6055='browserstack internal helper hook';_0x35bc21['ZOWcB'](addRequestSpy);},'afterAll'(){const _0x969b3d=a34_0x12c921,_0x14b2d2='browserstack internal helper hook';this[_0x969b3d(0x1d2)](0xea60),requestSpy[_0x969b3d(0x1da)]();}};
1
+ const a34_0x48ce01=a34_0x13f4;function a34_0xcf11(){const _0x3cd514=['../../../helpers/request-spy','1095diyfnq','291cYmqVt','timeout','1928456KEOOhn','2380383remMSw','mochaHooks','4436dLfcME','246022aYjwer','opUfS','1219314ISnDWd','../../../bin/utils/constants','1206zdyJYR','72674CgRvjr'];a34_0xcf11=function(){return _0x3cd514;};return a34_0xcf11();}(function(_0x278ee5,_0x2e0c5f){const _0x27d480=a34_0x13f4,_0x558580=_0x278ee5();while(!![]){try{const _0x138f02=parseInt(_0x27d480(0xfe))/0x1+-parseInt(_0x27d480(0x102))/0x2*(parseInt(_0x27d480(0xf8))/0x3)+parseInt(_0x27d480(0xfd))/0x4*(-parseInt(_0x27d480(0xf7))/0x5)+-parseInt(_0x27d480(0x100))/0x6+parseInt(_0x27d480(0xf5))/0x7+parseInt(_0x27d480(0xfa))/0x8+parseInt(_0x27d480(0xfb))/0x9;if(_0x138f02===_0x2e0c5f)break;else _0x558580['push'](_0x558580['shift']());}catch(_0x28747b){_0x558580['push'](_0x558580['shift']());}}}(a34_0xcf11,0x3ed57));const requestSpy=require(a34_0x48ce01(0xf6)),constants=require(a34_0x48ce01(0x101)),{addRequestSpy}=require('../../../helpers/test-observability/utils');function a34_0x13f4(_0x2dc718,_0x768728){const _0xcf1115=a34_0xcf11();return a34_0x13f4=function(_0x13f428,_0x474c54){_0x13f428=_0x13f428-0xf5;let _0x318b5b=_0xcf1115[_0x13f428];return _0x318b5b;},a34_0x13f4(_0x2dc718,_0x768728);}exports[a34_0x48ce01(0xfc)]={'beforeAll'(){const _0x4c010d=a34_0x48ce01,_0x205bc4={'opUfS':function(_0x2b26dc){return _0x2b26dc();}},_0x23a193='browserstack internal helper hook';_0x205bc4[_0x4c010d(0xff)](addRequestSpy);},'afterAll'(){const _0x392598=a34_0x48ce01,_0x5b2a61='browserstack internal helper hook';this[_0x392598(0xf9)](0xea60),requestSpy['restore']();}};
@@ -1 +1 @@
1
- const a35_0x4095fc=a35_0x126a;(function(_0x2b4c81,_0xbbbfc5){const _0x4f3966=a35_0x126a,_0x4a571b=_0x2b4c81();while(!![]){try{const _0x5a6314=-parseInt(_0x4f3966(0x11a))/0x1+parseInt(_0x4f3966(0x123))/0x2*(parseInt(_0x4f3966(0x135))/0x3)+parseInt(_0x4f3966(0x124))/0x4+-parseInt(_0x4f3966(0x13f))/0x5*(parseInt(_0x4f3966(0x122))/0x6)+parseInt(_0x4f3966(0x143))/0x7*(parseInt(_0x4f3966(0x131))/0x8)+-parseInt(_0x4f3966(0x126))/0x9*(-parseInt(_0x4f3966(0x128))/0xa)+-parseInt(_0x4f3966(0x116))/0xb;if(_0x5a6314===_0xbbbfc5)break;else _0x4a571b['push'](_0x4a571b['shift']());}catch(_0x1e067e){_0x4a571b['push'](_0x4a571b['shift']());}}}(a35_0x3122,0x856b5));const {v4:uuidv4}=require('uuid'),{name,version}=require(a35_0x4095fc(0x13a)),logPatcher=require(a35_0x4095fc(0x120)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require('../../../helpers/test-observability/utils'),{consoleHolder}=require('../../../helpers/test-observability/constants'),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils'),{isFunction}=require(a35_0x4095fc(0x14e)),{patchConsoleLogger}=require(a35_0x4095fc(0x108));function a35_0x126a(_0x53f18d,_0x1278cd){const _0x3122cc=a35_0x3122();return a35_0x126a=function(_0x126a09,_0x66a0d3){_0x126a09=_0x126a09-0xfb;let _0x501351=_0x3122cc[_0x126a09];return _0x501351;},a35_0x126a(_0x53f18d,_0x1278cd);}function a35_0x3122(){const _0x1b112f=['slice','711972MNXQAK','UQBYc','10LRXlHy','eSChq','VgiFZ','getHooksForTest','aqzBA','getHookDetails','platformVersion','uipHV','concat','1080JkpKuj','pbQME','getSession','dqVJt','340035RycfYK','pending','Cysrk','markedStatus','indexOf','../../../../package.json','pjhME','NnAQB','zKshd','qgbCF','1600135DKRAMp','browserstack','getBrowserVersion','aVzqs','41461JzQyPo','mapTestHooks','EHdUH','_afterEach','state','string','sendPlatformDetails','jSdFS','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','getTestEnv','_beforeAll','lodash','peuhy','failed','VKmlc','xcKCZ','jLuJH','parent','__cloud_provider___','qvxUG','split','unknown_grid','KPIzS','getCapabilities','hookAnalyticsId','getPlatform','bs:addPlatformDetails:','passed','mTCuo','YBokP','yCMea','../../../helpers/test-observability/utils','forEach','toJSON','substring','_afterAll','map_','tests','toISOString','SZLUr','js-','hook','wkDUi','aIYQl','nmTaa','11045925UzSkXX','_beforeEach','HJqFL','DxUpz','313557SDlTrB','fromEntries','getHookSkippedTests','getBrowserName','rzGpW','ovQmV','../../utils/logPatcher','UIcAV','6fRTxGA','8iMfKKG','3408604ganSXM'];a35_0x3122=function(){return _0x1b112f;};return a35_0x3122();}patchConsoleLogger(),exports[a35_0x4095fc(0x14c)]=()=>{const _0x22e7df=a35_0x4095fc,_0x1df009={'LgaBN':'generic','jLuJH':function(_0x507189){return _0x507189();}};return{'ci':_0x1df009['LgaBN'],'key':_0x1df009[_0x22e7df(0x153)](uuidv4),'version':version,'collector':_0x22e7df(0x111)+name};},exports[a35_0x4095fc(0x12d)]=_0x349cca=>{const _0x47d2e0=a35_0x4095fc,_0x1b61b3={};_0x1b61b3[_0x47d2e0(0x152)]=function(_0x2eba16,_0x4c5d1b){return _0x2eba16!==_0x4c5d1b;},_0x1b61b3[_0x47d2e0(0x115)]=_0x47d2e0(0x148),_0x1b61b3['DxUpz']=function(_0x233b95,_0x2f1b2c){return _0x233b95!==_0x2f1b2c;},_0x1b61b3[_0x47d2e0(0x110)]='hook:',_0x1b61b3[_0x47d2e0(0x12f)]=function(_0xf68348,_0x558a0d){return _0xf68348!==_0x558a0d;},_0x1b61b3[_0x47d2e0(0x127)]=_0x47d2e0(0x112);const _0x4dac92=_0x1b61b3;if(!_0x349cca||_0x4dac92[_0x47d2e0(0x152)](typeof _0x349cca,_0x4dac92[_0x47d2e0(0x115)]))return[null,null];if(_0x4dac92[_0x47d2e0(0x119)](_0x349cca[_0x47d2e0(0x139)](_0x4dac92[_0x47d2e0(0x110)]),-0x1)){const _0x277695=_0x349cca[_0x47d2e0(0xfd)](_0x4dac92[_0x47d2e0(0x110)]);return[_0x277695[0x0][_0x47d2e0(0x125)](0x0,-0x1)[_0x47d2e0(0xfd)]('\x22')[0x1],_0x277695[0x1][_0x47d2e0(0x10b)](0x1)];}else{if(_0x4dac92[_0x47d2e0(0x12f)](_0x349cca[_0x47d2e0(0x139)](_0x4dac92[_0x47d2e0(0x127)]),-0x1)){const _0x1aa2f0=_0x349cca[_0x47d2e0(0xfd)](_0x4dac92[_0x47d2e0(0x127)]);return[_0x1aa2f0[0x0][_0x47d2e0(0x125)](0x0,-0x1)[_0x47d2e0(0xfd)]('\x22')[0x1],_0x349cca];}}return[null,null];},exports[a35_0x4095fc(0x12b)]=_0x20a90b=>{const _0x2ba383=a35_0x4095fc,_0x3daf86={'MsTuq':function(_0xc18b0e,_0x401ab8){return _0xc18b0e(_0x401ab8);},'UIcAV':_0x2ba383(0x14d),'rzGpW':_0x2ba383(0x10c),'kpylZ':_0x2ba383(0x117),'dqVJt':_0x2ba383(0x146)};if(!_0x20a90b||!_0x20a90b['parent'])return[];const _0x4e703e=[];return[_0x3daf86[_0x2ba383(0x121)],_0x3daf86[_0x2ba383(0x11e)],_0x3daf86['kpylZ'],_0x3daf86[_0x2ba383(0x134)]][_0x2ba383(0x109)](_0x52201b=>{const _0x185edc=_0x2ba383,_0x34f0ee={'EHdUH':function(_0x5c7629,_0x36af4a){return _0x3daf86['MsTuq'](_0x5c7629,_0x36af4a);}},_0x26349e=_0x20a90b[_0x185edc(0x154)][_0x52201b]||[];_0x26349e[_0x185edc(0x109)](_0x549e23=>{const _0x1b341b=_0x185edc;_0x549e23[_0x1b341b(0x101)]&&!_0x34f0ee[_0x1b341b(0x145)](isInternalHook,_0x549e23['fn'])&&_0x4e703e['push'](_0x549e23[_0x1b341b(0x101)]);});}),[..._0x4e703e,...exports[_0x2ba383(0x12b)](_0x20a90b[_0x2ba383(0x154)])];},exports['mapTestHooks']=_0x24c308=>{const _0x270dc8=a35_0x4095fc,_0x44e03b={'ovQmV':function(_0x109a20){return _0x109a20();},'eSChq':function(_0x58789b,_0x3e0ddb){return _0x58789b===_0x3e0ddb;},'wkDUi':_0x270dc8(0x146),'ChGCS':function(_0x517525){return _0x517525();},'pjhME':'_beforeAll','yCMea':_0x270dc8(0x10c),'aIYQl':'_beforeEach'};if(!_0x24c308||!_0x24c308[_0x270dc8(0x154)])return;[_0x44e03b[_0x270dc8(0x13b)],_0x44e03b[_0x270dc8(0x107)],_0x44e03b[_0x270dc8(0x114)],_0x44e03b[_0x270dc8(0x113)]]['forEach'](_0x21a244=>{const _0x381503=_0x270dc8,_0x43e6f2={'qgbCF':function(_0x330132){const _0x429084=a35_0x126a;return _0x44e03b[_0x429084(0x11f)](_0x330132);},'KPIzS':function(_0x1609e2,_0x5cf9dd){const _0x4c785b=a35_0x126a;return _0x44e03b[_0x4c785b(0x129)](_0x1609e2,_0x5cf9dd);},'HJqFL':_0x44e03b[_0x381503(0x113)],'aqzBA':function(_0x240637){return _0x44e03b['ChGCS'](_0x240637);}},_0x132534=_0x24c308[_0x381503(0x154)][_0x21a244]||[];_0x132534[_0x381503(0x109)](_0x28ae0a=>{const _0x5a396a=_0x381503;if(!_0x28ae0a[_0x5a396a(0x101)])_0x28ae0a[_0x5a396a(0x101)]=_0x43e6f2[_0x5a396a(0x13e)](uuidv4);else _0x28ae0a[_0x5a396a(0x138)]&&_0x43e6f2[_0x5a396a(0xff)](_0x21a244,_0x43e6f2[_0x5a396a(0x118)])&&(_0x28ae0a['hookAnalyticsId']=_0x43e6f2[_0x5a396a(0x12c)](uuidv4),delete _0x28ae0a['markedStatus']);});}),exports[_0x270dc8(0x144)](_0x24c308[_0x270dc8(0x154)]);},exports[a35_0x4095fc(0x149)]=async(_0x218169,_0x37c962)=>{const _0x40cebc=a35_0x4095fc,_0x2be7dd={'zKshd':function(_0x2eaf8e){return _0x2eaf8e();},'pbQME':function(_0x55b50d,_0x226775){return _0x55b50d(_0x226775);},'VKmlc':_0x40cebc(0x12e),'NnAQB':function(_0x5813a0,_0xe8c682){return _0x5813a0===_0xe8c682;},'Cysrk':_0x40cebc(0x140),'qvxUG':_0x40cebc(0xfe),'YBokP':'TEST_PLATFORM'};try{if(!_0x2be7dd[_0x40cebc(0x13d)](shouldProcessEventForTesthub))return;const _0x57e410=await _0x218169[_0x40cebc(0x100)](),_0x2abc18=await _0x218169[_0x40cebc(0x133)](),_0x55c936={},_0x27472a=Object[_0x40cebc(0x11b)](_0x2abc18[_0x40cebc(0x100)]()[_0x40cebc(0x10d)]),_0x2c7196={'product':_0x2be7dd[_0x40cebc(0x132)](getObservabilityLinkedProductName,_0x27472a),'capabilities':_0x27472a,'platform':_0x57e410[_0x40cebc(0x102)](),'platform_version':_0x57e410['get'](_0x2be7dd[_0x40cebc(0x151)])?_0x57e410['get'](_0x2be7dd[_0x40cebc(0x151)]):_0x2be7dd['pbQME'](getPlatformVersion,_0x2be7dd[_0x40cebc(0x13c)](global['__cloud_provider___'],_0x2be7dd[_0x40cebc(0x137)])),'browser':_0x57e410[_0x40cebc(0x11d)](),'browser_version':_0x57e410[_0x40cebc(0x141)](),'session_id':_0x2abc18[_0x40cebc(0x10a)]()};global[_0x40cebc(0xfb)]?_0x55c936[global[_0x40cebc(0xfb)]]=_0x2c7196:_0x55c936[_0x2be7dd[_0x40cebc(0xfc)]]=_0x2c7196,process['emit'](_0x40cebc(0x103)+process['pid'],{'timestamp':new Date()[_0x40cebc(0x10f)](),'level':null,'message':null,'kind':_0x2be7dd[_0x40cebc(0x106)],'http_response':_0x55c936,'uuid':_0x37c962});}catch(_0x12740f){_0x2be7dd[_0x40cebc(0x132)](debug,_0x40cebc(0x14b)+_0x12740f);}},exports['getHookSkippedTests']=_0x68e418=>{const _0x1be5b8=a35_0x4095fc,_0x1986e2={};_0x1986e2[_0x1be5b8(0x12a)]=function(_0x1861fb,_0x5f45e6){return _0x1861fb!==_0x5f45e6;},_0x1986e2[_0x1be5b8(0x14f)]=_0x1be5b8(0x112),_0x1986e2[_0x1be5b8(0x14a)]=function(_0x279e69,_0x46427a){return _0x279e69!==_0x46427a;},_0x1986e2[_0x1be5b8(0x105)]=_0x1be5b8(0x104),_0x1986e2['aVzqs']=function(_0x25ffeb,_0x4ce962){return _0x25ffeb!==_0x4ce962;},_0x1986e2['RMHrg']=_0x1be5b8(0x150);const _0x1c17e4=_0x1986e2,_0x108e79=_0x68e418['suites']['reduce']((_0x3f21f0,_0xa7354f)=>{const _0xf40a24=_0x1be5b8,_0x190149=exports[_0xf40a24(0x11c)](_0xa7354f);return _0x190149&&(_0x3f21f0=_0x3f21f0[_0xf40a24(0x130)](_0x190149)),_0x3f21f0;},[]),_0x9824f=_0x68e418[_0x1be5b8(0x10e)]['filter'](_0x19806b=>{const _0x30ee36=_0x1be5b8,_0x4c9146=_0x1c17e4[_0x30ee36(0x12a)](_0x19806b['type'],_0x1c17e4['peuhy'])&&!_0x19806b['markedStatus']&&_0x1c17e4['jSdFS'](_0x19806b[_0x30ee36(0x147)],_0x1c17e4['mTCuo'])&&_0x1c17e4[_0x30ee36(0x142)](_0x19806b[_0x30ee36(0x147)],_0x1c17e4['RMHrg'])&&!_0x19806b[_0x30ee36(0x136)];return _0x4c9146;});return _0x9824f[_0x1be5b8(0x130)](_0x108e79);};
1
+ function a35_0x288f(){const _0x3c3709=['HPjPQ','_afterAll','../../utils/logPatcher','hook','substring','forEach','pid','_beforeAll','split','reduce','oZgJD','getTestEnv','3108786fOxvUk','PRtUT','suites','fIMOW','__cloud_provider___','generic','getCapabilities','VANMH','state','parent','bZWBS','wztEy','get','APkyD','38LcuUKR','getHookSkippedTests','baoFF','getSession','LbIWq','ZSDMD','YfLXN','../../../helpers/helper','OVSUZ','MIrZo','PzsYJ','YuvlH','string','sendPlatformDetails','DvNKA','../../../helpers/test-observability/constants','getPlatform','kahec','toJSON','iEmiQ','unknown_grid','mapTestHooks','concat','../../../helpers/test-observability/utils','eEkMn','tests','toISOString','222281piBezb','pending','fromEntries','159675UHyaqR','_beforeEach','122017PdvQbG','LKRkD','cTjok','filter','bs:addPlatformDetails:','pdDJA','getBrowserName','_afterEach','62259uvTOqa','OvKTC','getBrowserVersion','lfljE','SugDc','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','indexOf','hookAnalyticsId','push','OffsA','failed','slice','markedStatus','map_','hook:','VFVLP','40pScORY','5866821xFmkYM','uSwov','aJUlh','type','js-','2915916zSbmPJ','emit'];a35_0x288f=function(){return _0x3c3709;};return a35_0x288f();}const a35_0x47ed1f=a35_0x3353;(function(_0x82788a,_0x2d9e9a){const _0x551831=a35_0x3353,_0x17a6f2=_0x82788a();while(!![]){try{const _0x431354=parseInt(_0x551831(0x1e2))/0x1+parseInt(_0x551831(0x221))/0x2*(-parseInt(_0x551831(0x1ef))/0x3)+parseInt(_0x551831(0x205))/0x4+parseInt(_0x551831(0x1e5))/0x5+parseInt(_0x551831(0x213))/0x6+parseInt(_0x551831(0x1e7))/0x7*(-parseInt(_0x551831(0x1ff))/0x8)+-parseInt(_0x551831(0x200))/0x9;if(_0x431354===_0x2d9e9a)break;else _0x17a6f2['push'](_0x17a6f2['shift']());}catch(_0x13a1b2){_0x17a6f2['push'](_0x17a6f2['shift']());}}}(a35_0x288f,0x59d7b));function a35_0x3353(_0x4f34d3,_0x56fbd6){const _0x288fe4=a35_0x288f();return a35_0x3353=function(_0x335357,_0xea1231){_0x335357=_0x335357-0x1da;let _0x3f62dd=_0x288fe4[_0x335357];return _0x3f62dd;},a35_0x3353(_0x4f34d3,_0x56fbd6);}const {v4:uuidv4}=require('uuid'),{name,version}=require('../../../../package.json'),logPatcher=require(a35_0x47ed1f(0x209)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a35_0x47ed1f(0x1de)),{consoleHolder}=require(a35_0x47ed1f(0x230)),{getPlatformVersion}=require(a35_0x47ed1f(0x228)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils'),{isFunction}=require('lodash'),{patchConsoleLogger}=require(a35_0x47ed1f(0x1de));patchConsoleLogger(),exports[a35_0x47ed1f(0x212)]=()=>{const _0x5db114=a35_0x47ed1f,_0x4a452a={'YuvlH':_0x5db114(0x218),'OvKTC':function(_0x142cb8){return _0x142cb8();}};return{'ci':_0x4a452a[_0x5db114(0x22c)],'key':_0x4a452a[_0x5db114(0x1f0)](uuidv4),'version':version,'collector':_0x5db114(0x204)+name};},exports['getHookDetails']=_0x2153f9=>{const _0x3f96cb=a35_0x47ed1f,_0x3920cb={};_0x3920cb[_0x3f96cb(0x1f2)]=function(_0x36d7ce,_0x4c5571){return _0x36d7ce!==_0x4c5571;},_0x3920cb['ZJqOR']=_0x3f96cb(0x22d),_0x3920cb[_0x3f96cb(0x1f3)]=function(_0x59269b,_0x166ca6){return _0x59269b!==_0x166ca6;},_0x3920cb[_0x3f96cb(0x21e)]=_0x3f96cb(0x1fd),_0x3920cb[_0x3f96cb(0x214)]=function(_0x47e78a,_0x24725b){return _0x47e78a!==_0x24725b;},_0x3920cb[_0x3f96cb(0x207)]='hook';const _0x254ebc=_0x3920cb;if(!_0x2153f9||_0x254ebc[_0x3f96cb(0x1f2)](typeof _0x2153f9,_0x254ebc['ZJqOR']))return[null,null];if(_0x254ebc['SugDc'](_0x2153f9['indexOf'](_0x254ebc['wztEy']),-0x1)){const _0x2552ae=_0x2153f9[_0x3f96cb(0x20f)](_0x254ebc[_0x3f96cb(0x21e)]);return[_0x2552ae[0x0][_0x3f96cb(0x1fa)](0x0,-0x1)[_0x3f96cb(0x20f)]('\x22')[0x1],_0x2552ae[0x1][_0x3f96cb(0x20b)](0x1)];}else{if(_0x254ebc[_0x3f96cb(0x214)](_0x2153f9[_0x3f96cb(0x1f5)](_0x254ebc[_0x3f96cb(0x207)]),-0x1)){const _0x4954e9=_0x2153f9['split'](_0x254ebc[_0x3f96cb(0x207)]);return[_0x4954e9[0x0][_0x3f96cb(0x1fa)](0x0,-0x1)[_0x3f96cb(0x20f)]('\x22')[0x1],_0x2153f9];}}return[null,null];},exports['getHooksForTest']=_0x283361=>{const _0x3b5145=a35_0x47ed1f,_0x3394dc={'oZgJD':function(_0x5cc37f,_0x37c002){return _0x5cc37f(_0x37c002);},'PzsYJ':'_beforeAll','JdmjN':_0x3b5145(0x208),'sEDbG':_0x3b5145(0x1e6),'uSwov':_0x3b5145(0x1ee)};if(!_0x283361||!_0x283361[_0x3b5145(0x21c)])return[];const _0x439044=[];return[_0x3394dc[_0x3b5145(0x22b)],_0x3394dc['JdmjN'],_0x3394dc['sEDbG'],_0x3394dc[_0x3b5145(0x201)]]['forEach'](_0xa8cda7=>{const _0x4f0727=_0x3b5145,_0x1665bc=_0x283361[_0x4f0727(0x21c)][_0xa8cda7]||[];_0x1665bc[_0x4f0727(0x20c)](_0x151985=>{const _0x3458ec=_0x4f0727;_0x151985['hookAnalyticsId']&&!_0x3394dc[_0x3458ec(0x211)](isInternalHook,_0x151985['fn'])&&_0x439044[_0x3458ec(0x1f7)](_0x151985[_0x3458ec(0x1f6)]);});}),[..._0x439044,...exports['getHooksForTest'](_0x283361[_0x3b5145(0x21c)])];},exports[a35_0x47ed1f(0x1dc)]=_0x2d6ba4=>{const _0x54c93d=a35_0x47ed1f,_0x3b5150={'bZWBS':function(_0x1ac49a){return _0x1ac49a();},'VFVLP':function(_0x2a0499,_0x504dfe){return _0x2a0499===_0x504dfe;},'kahec':'_afterEach','MIrZo':function(_0x4743b4){return _0x4743b4();},'iEmiQ':_0x54c93d(0x20e),'GprkA':_0x54c93d(0x208),'DvNKA':_0x54c93d(0x1e6)};if(!_0x2d6ba4||!_0x2d6ba4[_0x54c93d(0x21c)])return;[_0x3b5150[_0x54c93d(0x1da)],_0x3b5150['GprkA'],_0x3b5150[_0x54c93d(0x22f)],_0x3b5150[_0x54c93d(0x232)]][_0x54c93d(0x20c)](_0x21ae83=>{const _0x189aef=_0x54c93d,_0x1aa9c0={'LKRkD':function(_0x8fb715){const _0x490c3a=a35_0x3353;return _0x3b5150[_0x490c3a(0x21d)](_0x8fb715);},'fEoak':function(_0xf2f5ed,_0x197037){const _0x2be789=a35_0x3353;return _0x3b5150[_0x2be789(0x1fe)](_0xf2f5ed,_0x197037);},'OVSUZ':_0x3b5150[_0x189aef(0x232)],'ZSDMD':function(_0x42561f){const _0x1a34a9=_0x189aef;return _0x3b5150[_0x1a34a9(0x22a)](_0x42561f);}},_0xec7eee=_0x2d6ba4[_0x189aef(0x21c)][_0x21ae83]||[];_0xec7eee[_0x189aef(0x20c)](_0x4b0ff3=>{const _0x270bed=_0x189aef;if(!_0x4b0ff3[_0x270bed(0x1f6)])_0x4b0ff3['hookAnalyticsId']=_0x1aa9c0[_0x270bed(0x1e8)](uuidv4);else _0x4b0ff3[_0x270bed(0x1fb)]&&_0x1aa9c0['fEoak'](_0x21ae83,_0x1aa9c0[_0x270bed(0x229)])&&(_0x4b0ff3[_0x270bed(0x1f6)]=_0x1aa9c0[_0x270bed(0x226)](uuidv4),delete _0x4b0ff3[_0x270bed(0x1fb)]);});}),exports['mapTestHooks'](_0x2d6ba4[_0x54c93d(0x21c)]);},exports[a35_0x47ed1f(0x22e)]=async(_0x361559,_0x180289)=>{const _0x3ea4a9=a35_0x47ed1f,_0x4bdfe4={'MtgzX':function(_0x13f4a4){return _0x13f4a4();},'VANMH':function(_0x13e459,_0x7fa6b3){return _0x13e459(_0x7fa6b3);},'aJUlh':'platformVersion','fIMOW':function(_0x435192,_0x19c2e0){return _0x435192(_0x19c2e0);},'pdDJA':function(_0x16d665,_0x117542){return _0x16d665===_0x117542;},'LbIWq':'browserstack','baoFF':_0x3ea4a9(0x1db),'cTjok':'TEST_PLATFORM'};try{if(!_0x4bdfe4['MtgzX'](shouldProcessEventForTesthub))return;const _0x7e2287=await _0x361559[_0x3ea4a9(0x219)](),_0x5b7187=await _0x361559[_0x3ea4a9(0x224)](),_0x253fed={},_0x4fdb1e=Object[_0x3ea4a9(0x1e4)](_0x5b7187[_0x3ea4a9(0x219)]()[_0x3ea4a9(0x1fc)]),_0x49219e={'product':_0x4bdfe4[_0x3ea4a9(0x21a)](getObservabilityLinkedProductName,_0x4fdb1e),'capabilities':_0x4fdb1e,'platform':_0x7e2287[_0x3ea4a9(0x231)](),'platform_version':_0x7e2287[_0x3ea4a9(0x21f)](_0x4bdfe4['aJUlh'])?_0x7e2287[_0x3ea4a9(0x21f)](_0x4bdfe4[_0x3ea4a9(0x202)]):_0x4bdfe4[_0x3ea4a9(0x216)](getPlatformVersion,_0x4bdfe4[_0x3ea4a9(0x1ec)](global['__cloud_provider___'],_0x4bdfe4[_0x3ea4a9(0x225)])),'browser':_0x7e2287[_0x3ea4a9(0x1ed)](),'browser_version':_0x7e2287[_0x3ea4a9(0x1f1)](),'session_id':_0x5b7187[_0x3ea4a9(0x233)]()};global[_0x3ea4a9(0x217)]?_0x253fed[global['__cloud_provider___']]=_0x49219e:_0x253fed[_0x4bdfe4[_0x3ea4a9(0x223)]]=_0x49219e,process[_0x3ea4a9(0x206)](_0x3ea4a9(0x1eb)+process[_0x3ea4a9(0x20d)],{'timestamp':new Date()[_0x3ea4a9(0x1e1)](),'level':null,'message':null,'kind':_0x4bdfe4[_0x3ea4a9(0x1e9)],'http_response':_0x253fed,'uuid':_0x180289});}catch(_0x3e75eb){_0x4bdfe4[_0x3ea4a9(0x21a)](debug,_0x3ea4a9(0x1f4)+_0x3e75eb);}},exports[a35_0x47ed1f(0x222)]=_0x49c1fa=>{const _0x989146=a35_0x47ed1f,_0x223e98={};_0x223e98[_0x989146(0x220)]=function(_0x855b02,_0x524735){return _0x855b02!==_0x524735;},_0x223e98[_0x989146(0x1df)]=_0x989146(0x20a),_0x223e98[_0x989146(0x1f8)]='passed',_0x223e98['AaDWt']=function(_0xcee571,_0x2084fa){return _0xcee571!==_0x2084fa;},_0x223e98[_0x989146(0x227)]=_0x989146(0x1f9);const _0x6b12ec=_0x223e98,_0x320a44=_0x49c1fa[_0x989146(0x215)][_0x989146(0x210)]((_0x1784cd,_0x53a6fb)=>{const _0x449a27=_0x989146,_0x347b35=exports[_0x449a27(0x222)](_0x53a6fb);return _0x347b35&&(_0x1784cd=_0x1784cd['concat'](_0x347b35)),_0x1784cd;},[]),_0x49bb67=_0x49c1fa[_0x989146(0x1e0)][_0x989146(0x1ea)](_0x53ee66=>{const _0xfff2c6=_0x989146,_0x390a57=_0x6b12ec[_0xfff2c6(0x220)](_0x53ee66[_0xfff2c6(0x203)],_0x6b12ec[_0xfff2c6(0x1df)])&&!_0x53ee66['markedStatus']&&_0x6b12ec['APkyD'](_0x53ee66[_0xfff2c6(0x21b)],_0x6b12ec[_0xfff2c6(0x1f8)])&&_0x6b12ec['AaDWt'](_0x53ee66[_0xfff2c6(0x21b)],_0x6b12ec[_0xfff2c6(0x227)])&&!_0x53ee66[_0xfff2c6(0x1e3)];return _0x390a57;});return _0x49bb67[_0x989146(0x1dd)](_0x320a44);};
@@ -1 +1 @@
1
- const a36_0x5aa89c=a36_0x5cde;(function(_0x1e9833,_0x48decd){const _0x4eb952=a36_0x5cde,_0x4053ae=_0x1e9833();while(!![]){try{const _0x309d9d=-parseInt(_0x4eb952(0x1d8))/0x1+-parseInt(_0x4eb952(0x1cf))/0x2*(parseInt(_0x4eb952(0x22d))/0x3)+-parseInt(_0x4eb952(0x1da))/0x4*(parseInt(_0x4eb952(0x1c5))/0x5)+parseInt(_0x4eb952(0x183))/0x6*(parseInt(_0x4eb952(0x1d5))/0x7)+-parseInt(_0x4eb952(0x22c))/0x8*(-parseInt(_0x4eb952(0x186))/0x9)+-parseInt(_0x4eb952(0x1ea))/0xa+parseInt(_0x4eb952(0x1d4))/0xb;if(_0x309d9d===_0x48decd)break;else _0x4053ae['push'](_0x4053ae['shift']());}catch(_0x395f79){_0x4053ae['push'](_0x4053ae['shift']());}}}(a36_0x212b,0x5cde7));const util=require(a36_0x5aa89c(0x20c)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x5aa89c(0x19f)),accessibilityRetryHelper=require(a36_0x5aa89c(0x175)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x5aa89c(0x1e7)),{percyAutoCapture}=require(a36_0x5aa89c(0x1bf)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x5aa89c(0x237)),PerformanceTester=require(a36_0x5aa89c(0x1ae)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x5aa89c(0x1db)),globals=require(a36_0x5aa89c(0x1dd)),logger=require(a36_0x5aa89c(0x1b9))['winstonLogger'],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a36_0x5aa89c(0x1a2));function a36_0x5cde(_0xbddab2,_0x2dd0fa){const _0x212b87=a36_0x212b();return a36_0x5cde=function(_0x5cde69,_0x124f8f){_0x5cde69=_0x5cde69-0x16f;let _0x5c0ba5=_0x212b87[_0x5cde69];return _0x5c0ba5;},a36_0x5cde(_0xbddab2,_0x2dd0fa);}exports[a36_0x5aa89c(0x1c8)]={'beforeAll'(){const _0x202818=a36_0x5aa89c,_0x1d5622={'ZeOjS':function(_0x7a8a7,_0x46e22f,_0x335d4d,_0x1ae644){return _0x7a8a7(_0x46e22f,_0x335d4d,_0x1ae644);},'vAmJs':_0x202818(0x191),'RRcEd':_0x202818(0x1e5),'LVDxf':function(_0x1bfc76,_0x5dc021,_0x40bb67){return _0x1bfc76(_0x5dc021,_0x40bb67);},'WVeti':'passed','zXNYQ':function(_0x50c2a5){return _0x50c2a5();},'YnmJh':function(_0x22219a,_0x2fb560,_0x3921fa){return _0x22219a(_0x2fb560,_0x3921fa);},'OdzHO':_0x202818(0x20e),'iguGu':_0x202818(0x1c4)};PerformanceTester[_0x202818(0x1e4)]();const _0xc92b9d='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x202818(0x187)],()=>{const _0x13010f=_0x202818,_0x3a3b1f={'MZkeN':function(_0x131ac6,_0x20c4db,_0xae01c1,_0x493a06){const _0x238e6e=a36_0x5cde;return _0x1d5622[_0x238e6e(0x171)](_0x131ac6,_0x20c4db,_0xae01c1,_0x493a06);},'AqNNv':_0x1d5622[_0x13010f(0x1ee)],'kJBaJ':_0x1d5622[_0x13010f(0x1f2)],'OOIQn':function(_0x304a6d,_0x50f3f9,_0x32f531){return _0x1d5622['LVDxf'](_0x304a6d,_0x50f3f9,_0x32f531);},'ZViyR':_0x1d5622[_0x13010f(0x1fe)],'XnMsb':function(_0x10dc46){return _0x1d5622['zXNYQ'](_0x10dc46);},'SdZew':function(_0x36cd05,_0x3dbdc8,_0x2a217f){return _0x1d5622['LVDxf'](_0x36cd05,_0x3dbdc8,_0x2a217f);}};global[_0x13010f(0x221)]=[],global[_0x13010f(0x19b)]=![],global[_0x13010f(0x170)]=async()=>{const _0xb69dc0=_0x13010f;let _0x704c8d=![];try{await global[_0xb69dc0(0x19d)][0x0][_0xb69dc0(0x210)],_0x704c8d=!![],global[_0xb69dc0(0x19b)]?await _0x3a3b1f[_0xb69dc0(0x231)](markSessionStatus,global['__drivers'][0x0],_0x3a3b1f[_0xb69dc0(0x1d6)],global['__error_messages__']['join'](_0x3a3b1f['kJBaJ'])):await _0x3a3b1f[_0xb69dc0(0x204)](markSessionStatus,global[_0xb69dc0(0x19d)][0x0],_0x3a3b1f['ZViyR']);}catch(_0x5b0bff){logger[_0xb69dc0(0x1e9)](_0xb69dc0(0x1ca)+_0x5b0bff);}global[_0xb69dc0(0x221)]=[],global[_0xb69dc0(0x19b)]=![];if(_0x704c8d)try{try{_0x3a3b1f[_0xb69dc0(0x176)](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0x3a3b1f['SdZew'](sendPlatformDetails,global[_0xb69dc0(0x19d)][0x0],this[_0xb69dc0(0x218)]?this[_0xb69dc0(0x218)][_0xb69dc0(0x236)]:null));}catch(_0x4094fa){logger['debug'](_0xb69dc0(0x1d0)+_0x4094fa);}await global[_0xb69dc0(0x19d)][0x0][_0xb69dc0(0x1b1)]();}catch(_0x3a7e39){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x3a7e39);}};},{'platform':_0x1d5622[_0x202818(0x17b)](nestedKeyValue,global[_0x202818(0x207)],[_0x1d5622['OdzHO']]),'hookType':_0x1d5622[_0x202818(0x233)]})();},'beforeEach'(_0x40fb4f){const _0x234499=a36_0x5aa89c,_0x4c0ea6={'gicYP':function(_0x11742f,_0x3b56bf){return _0x11742f>_0x3b56bf;},'CuBqg':'\x20-\x20','yRZAs':function(_0x2d7baa,_0x25eee9,_0x1581e8){return _0x2d7baa(_0x25eee9,_0x1581e8);},'Cohev':_0x234499(0x1a9),'TtGUS':function(_0xcfda2b){return _0xcfda2b();},'NAOPh':_0x234499(0x211),'WHxyI':function(_0x4af1f9,_0x3ef1b7){return _0x4af1f9===_0x3ef1b7;},'kApYN':'http:','nbchy':function(_0x31efcb,_0x330ac3){return _0x31efcb===_0x330ac3;},'BZBfX':_0x234499(0x214),'uTFot':_0x234499(0x18f),'hiqCB':_0x234499(0x225),'yzJay':_0x234499(0x1aa),'MgGct':function(_0x153aa7,_0x40775d,_0x15d983){return _0x153aa7(_0x40775d,_0x15d983);},'PRMOp':_0x234499(0x20e),'dMBXD':_0x234499(0x1ec)};globals['setGlobal'](_0x4c0ea6[_0x234499(0x1a5)],this[_0x234499(0x218)][_0x234499(0x1ba)]()[_0x234499(0x174)](_0x4c0ea6[_0x234499(0x1b8)])),PerformanceTester[_0x234499(0x217)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0xd39042={'yRfcr':function(_0x3cc345){const _0x23e81e=a36_0x5cde;return _0x4c0ea6[_0x23e81e(0x226)](_0x3cc345);}},_0x3a2281='browserstack internal helper hook';new Promise(async _0x3b29af=>{const _0x4fae64=a36_0x5cde;let _0x4069ef=!![];try{_0x4c0ea6[_0x4fae64(0x1b6)](global[_0x4fae64(0x19d)][_0x4fae64(0x185)],0x1)&&(await global['driverCleanup'](),global[_0x4fae64(0x19d)][_0x4fae64(0x21e)]()),_0x4c0ea6[_0x4fae64(0x1b6)](global[_0x4fae64(0x19d)][0x0][_0x4fae64(0x229)],0x0)&&(_0x4069ef=![],await global['driverCleanup']());}catch(_0x23aa3c){logger[_0x4fae64(0x1e9)](_0x4fae64(0x1b0)+_0x23aa3c);}try{Array[_0x4fae64(0x20d)](global['__drivers'])&&global[_0x4fae64(0x19d)][0x0]&&(global[_0x4fae64(0x19d)][0x0][_0x4fae64(0x200)]=this[_0x4fae64(0x218)][_0x4fae64(0x1ba)]()[_0x4fae64(0x174)](_0x4c0ea6[_0x4fae64(0x1b8)])),global['browserstackSessionName']=this[_0x4fae64(0x218)]['titlePath']()[_0x4fae64(0x174)](_0x4c0ea6[_0x4fae64(0x1b8)]);}catch(_0x11d6da){logger[_0x4fae64(0x1e9)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0x11d6da);}this[_0x4fae64(0x218)][_0x4fae64(0x21f)]=_0x4c0ea6[_0x4fae64(0x1f7)](shouldScanTestForAccessibility,this[_0x4fae64(0x218)][_0x4fae64(0x1ba)](),!![]),globals[_0x4fae64(0x1c7)](_0x4c0ea6[_0x4fae64(0x235)],this['currentTest'][_0x4fae64(0x21f)]),this['currentTest'][_0x4fae64(0x188)]=!![];if(_0x4c0ea6[_0x4fae64(0x226)](isAccessibilityAutomationSession)&&_0x4069ef&&Array['isArray'](global[_0x4fae64(0x19d)])&&_0x4c0ea6['gicYP'](global['__drivers'][_0x4fae64(0x185)],0x0)&&globals[_0x4fae64(0x1d7)](_0x4c0ea6[_0x4fae64(0x215)]))try{const _0x1d0351=await global[_0x4fae64(0x19d)][0x0][_0x4fae64(0x210)];if(_0x1d0351){let _0x6824b8=!![];const _0x3c0e55=await global[_0x4fae64(0x19d)][0x0]['getCurrentUrl']();let _0x5cc1f5;try{_0x5cc1f5=new URL(_0x3c0e55);}catch(_0x3c46f3){_0x6824b8=![];}_0x6824b8=_0x4c0ea6['WHxyI'](_0x5cc1f5[_0x4fae64(0x1f6)],_0x4c0ea6['kApYN'])||_0x4c0ea6[_0x4fae64(0x193)](_0x5cc1f5['protocol'],_0x4c0ea6[_0x4fae64(0x213)]),_0x6824b8&&(this[_0x4fae64(0x218)][_0x4fae64(0x21f)]&&logger[_0x4fae64(0x1d3)](_0x4c0ea6[_0x4fae64(0x1fb)])),this[_0x4fae64(0x218)][_0x4fae64(0x188)]=this[_0x4fae64(0x218)]['shouldScanTestForAccessibility'],this[_0x4fae64(0x218)]['shouldScanTestForAccessibility']&&logger['info'](_0x4c0ea6[_0x4fae64(0x19e)]);}}catch(_0x32763d){logger[_0x4fae64(0x1c3)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x4fae64(0x1c9)](_0x32763d));}_0x4c0ea6[_0x4fae64(0x226)](_0x3b29af);})['then'](()=>{const _0x2b5ac2=a36_0x5cde;_0xd39042[_0x2b5ac2(0x22e)](_0x40fb4f);});},{'platform':_0x4c0ea6[_0x234499(0x18e)](nestedKeyValue,global[_0x234499(0x207)],[_0x4c0ea6[_0x234499(0x20a)]]),'hookType':_0x4c0ea6['dMBXD']})();},'afterEach'(_0x3976d6){const _0x5b3ce7=a36_0x5aa89c,_0x3cc799={'bRoDe':function(_0x3c66cd){return _0x3c66cd();},'Dmbqc':'\x20-\x20','MMSQn':function(_0x1ab7fe,_0x3acaa2){return _0x1ab7fe!==_0x3acaa2;},'YfHry':'passed','OgHLP':function(_0x5100cc,_0x4fa8ff,_0x443700){return _0x5100cc(_0x4fa8ff,_0x443700);},'MnMxh':function(_0x472914,_0x5c4237){return _0x472914+_0x5c4237;},'EvSDg':_0x5b3ce7(0x1cc),'Xhyee':'error','PSbKq':function(_0x2ffd36,_0x4a189c,_0xa1a573){return _0x2ffd36(_0x4a189c,_0xa1a573);},'eJBQU':'Passed','alCec':'info','uJMFf':function(_0x1e999b,_0x99ee64){return _0x1e999b>_0x99ee64;},'qcMLR':function(_0x3fbc78,_0x2ca7e3){return _0x3fbc78===_0x2ca7e3;},'QyJgq':_0x5b3ce7(0x1fa),'gYWbV':function(_0x1d35db,_0x2c46d3){return _0x1d35db>_0x2c46d3;},'wACXp':_0x5b3ce7(0x197),'Ffgdn':function(_0x28d930,_0x247779,_0xd7efdc,_0x328b20){return _0x28d930(_0x247779,_0xd7efdc,_0x328b20);},'MLPuL':_0x5b3ce7(0x211),'jQFoC':_0x5b3ce7(0x1a9),'FoyRX':_0x5b3ce7(0x1a4),'utHRF':_0x5b3ce7(0x21a),'mkIdP':_0x5b3ce7(0x17d),'qumRj':_0x5b3ce7(0x1b7),'WuiWT':_0x5b3ce7(0x1a7),'RmtPk':_0x5b3ce7(0x199),'OKCIa':_0x5b3ce7(0x1b2),'Vvyuf':_0x5b3ce7(0x1ef),'kaSrg':_0x5b3ce7(0x1e9),'hRtbD':function(_0x22b222,_0x515eb6){return _0x22b222>_0x515eb6;},'wMvgD':function(_0xce1230){return _0xce1230();},'yuBbv':_0x5b3ce7(0x224),'tpjrv':_0x5b3ce7(0x20e),'VIFbJ':_0x5b3ce7(0x1f0)},_0x3b858f='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x3cc799[_0x5b3ce7(0x1fd)]]),global[_0x5b3ce7(0x206)]=this[_0x5b3ce7(0x218)][_0x5b3ce7(0x1ba)]()[_0x5b3ce7(0x174)](_0x3cc799[_0x5b3ce7(0x178)]),PerformanceTester[_0x5b3ce7(0x217)](PerformanceSdkEvents[_0x5b3ce7(0x187)],()=>{const _0x573004=_0x5b3ce7,_0x17c60e={'yGJuD':_0x3cc799[_0x573004(0x178)],'ILTPt':function(_0x3b6186,_0x1d9311){return _0x3cc799['MMSQn'](_0x3b6186,_0x1d9311);},'wzEMR':_0x3cc799[_0x573004(0x202)],'XGjOw':function(_0x23190a,_0x443d75,_0x457a66){const _0x44b078=_0x573004;return _0x3cc799[_0x44b078(0x19c)](_0x23190a,_0x443d75,_0x457a66);},'xaOUk':function(_0x329d5d,_0xc80e7f){return _0x3cc799['MnMxh'](_0x329d5d,_0xc80e7f);},'BwVuj':_0x3cc799[_0x573004(0x18a)],'hnYDU':_0x3cc799['Xhyee'],'MkQHC':function(_0x5c3356,_0x3bddf3,_0x2f09e0){const _0x301ced=_0x573004;return _0x3cc799[_0x301ced(0x201)](_0x5c3356,_0x3bddf3,_0x2f09e0);},'EJFwu':_0x3cc799['eJBQU'],'CvyKI':_0x3cc799[_0x573004(0x1df)],'BwKYc':function(_0x53bd54,_0x382551){const _0x2e6f01=_0x573004;return _0x3cc799[_0x2e6f01(0x1bc)](_0x53bd54,_0x382551);},'RZoyD':function(_0x74c09f,_0x1a02db){const _0x863a0e=_0x573004;return _0x3cc799[_0x863a0e(0x1b5)](_0x74c09f,_0x1a02db);},'GAMzW':_0x3cc799[_0x573004(0x196)],'Jnnjd':function(_0xa7f55f,_0x15d0ec){const _0x17ecaa=_0x573004;return _0x3cc799[_0x17ecaa(0x1f8)](_0xa7f55f,_0x15d0ec);},'NFArV':_0x3cc799[_0x573004(0x17c)],'JoCtw':function(_0x413276,_0xcf265e,_0x498a34,_0x290b07){const _0x7b4e6b=_0x573004;return _0x3cc799[_0x7b4e6b(0x1be)](_0x413276,_0xcf265e,_0x498a34,_0x290b07);},'POkcQ':_0x3cc799[_0x573004(0x1d1)],'QUbrk':_0x3cc799[_0x573004(0x18b)],'BsXEr':_0x3cc799['FoyRX'],'hNupm':_0x3cc799[_0x573004(0x1ac)],'AigJa':_0x3cc799[_0x573004(0x1ce)],'GTUfn':_0x3cc799[_0x573004(0x223)],'wsdOS':_0x3cc799[_0x573004(0x20b)],'WmHLk':_0x3cc799[_0x573004(0x17a)],'VvdTG':_0x3cc799[_0x573004(0x1a6)],'basJt':_0x3cc799[_0x573004(0x1b3)],'sWWis':function(_0x448b1a){const _0x58707b=_0x573004;return _0x3cc799[_0x58707b(0x227)](_0x448b1a);},'FczTm':function(_0x5c977f,_0x147449,_0x24f660){const _0x14d959=_0x573004;return _0x3cc799[_0x14d959(0x201)](_0x5c977f,_0x147449,_0x24f660);},'oZakP':function(_0x39b67d){const _0x430c4f=_0x573004;return _0x3cc799[_0x430c4f(0x227)](_0x39b67d);},'EYKyR':_0x3cc799[_0x573004(0x1c6)],'sIlbP':function(_0x4edf31,_0x529aa8){const _0x7db22=_0x573004;return _0x3cc799[_0x7db22(0x1a1)](_0x4edf31,_0x529aa8);},'nBUui':function(_0x23e40c){const _0x1642b9=_0x573004;return _0x3cc799[_0x1642b9(0x173)](_0x23e40c);}},_0x3a08d5=async(_0x25c866,_0x2c164e)=>{const _0x26ecbc=_0x573004;await global[_0x26ecbc(0x19d)][0x0][_0x26ecbc(0x172)](_0x26ecbc(0x17f)+_0x25c866+',\x22level\x22:\x20\x22'+_0x2c164e+_0x26ecbc(0x1a3));};new Promise(async _0x36e82d=>{const _0x3985ff=_0x573004,_0x306417={'hZObD':_0x17c60e[_0x3985ff(0x21b)],'TeuYF':function(_0x9428c8,_0x1dc9cb){return _0x17c60e['ILTPt'](_0x9428c8,_0x1dc9cb);},'cNEVx':_0x17c60e[_0x3985ff(0x1e6)],'xGiMY':function(_0x38fee8,_0x40be60,_0x5b58b5){const _0x40b57f=_0x3985ff;return _0x17c60e[_0x40b57f(0x222)](_0x38fee8,_0x40be60,_0x5b58b5);},'RmrKV':function(_0x26d1a7,_0x583dfc){return _0x17c60e['xaOUk'](_0x26d1a7,_0x583dfc);},'NjcSp':_0x17c60e[_0x3985ff(0x184)],'qUpUI':_0x17c60e['hnYDU'],'rJhWo':function(_0x12c4be,_0x427899,_0x36713f){const _0x44d9d5=_0x3985ff;return _0x17c60e[_0x44d9d5(0x1ff)](_0x12c4be,_0x427899,_0x36713f);},'XYVaA':_0x17c60e['EJFwu'],'MwYgH':_0x17c60e[_0x3985ff(0x228)]};try{_0x17c60e[_0x3985ff(0x1f1)](global['__drivers'][_0x3985ff(0x185)],0x1)&&(await global[_0x3985ff(0x170)](),global[_0x3985ff(0x19d)][_0x3985ff(0x21e)](),global[_0x3985ff(0x221)]=[],global['__sessionFailed']=![]);try{if(global['percy']&&_0x17c60e[_0x3985ff(0x219)](global[_0x3985ff(0x195)],_0x17c60e[_0x3985ff(0x1a8)])&&global[_0x3985ff(0x19d)][0x0]){const _0x2c77fc=_0x17c60e[_0x3985ff(0x1c0)](global[_0x3985ff(0x198)]['length'],0x0)?!!global[_0x3985ff(0x198)][0x0][_0x3985ff(0x1e2)]||!!global['capabilities'][0x0][_0x17c60e[_0x3985ff(0x21d)]]:![],_0x26abec={};_0x26abec[_0x3985ff(0x1e2)]=_0x2c77fc,await _0x17c60e['JoCtw'](percyAutoCapture,global[_0x3985ff(0x19d)][0x0],_0x17c60e[_0x3985ff(0x1a8)],_0x26abec);}}catch(_0x41f294){logger['debug'](_0x3985ff(0x179)+_0x41f294);}!global[_0x3985ff(0x212)]&&(await PerformanceTester[_0x3985ff(0x217)](PerformanceAutEvents[_0x3985ff(0x234)],async()=>{const _0x2f8eac=_0x3985ff;await global[_0x2f8eac(0x19d)][0x0][_0x2f8eac(0x172)](_0x2f8eac(0x189)+JSON['stringify'](this[_0x2f8eac(0x218)][_0x2f8eac(0x1ba)]()[_0x2f8eac(0x174)](_0x306417[_0x2f8eac(0x1e1)]))+'}}');})(),global['__drivers'][0x0][_0x3985ff(0x1f3)]=!![]),await PerformanceTester[_0x3985ff(0x217)](PerformanceAutEvents[_0x3985ff(0x1e3)],async()=>{const _0x472523=_0x3985ff,_0x5eb925=_0x306417[_0x472523(0x194)](this['currentTest'][_0x472523(0x208)],_0x306417[_0x472523(0x182)]);_0x5eb925?(global[_0x472523(0x19b)]=!![],global[_0x472523(0x221)]['push'](this[_0x472523(0x218)][_0x472523(0x220)][_0x472523(0x230)]),await _0x306417[_0x472523(0x232)](_0x3a08d5,JSON['stringify'](_0x306417[_0x472523(0x1ed)](_0x306417['NjcSp'],this[_0x472523(0x218)][_0x472523(0x220)][_0x472523(0x230)])),_0x306417['qUpUI'])):await _0x306417[_0x472523(0x1b4)](_0x3a08d5,JSON[_0x472523(0x1a0)](_0x306417['XYVaA']),_0x306417[_0x472523(0x16f)]);})();}catch(_0x2faf3f){logger[_0x3985ff(0x1e9)]('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x2faf3f);}try{if(this[_0x3985ff(0x218)][_0x3985ff(0x188)]&&globals[_0x3985ff(0x1d7)](_0x17c60e[_0x3985ff(0x216)])&&globals['getGlobal'](_0x17c60e[_0x3985ff(0x209)])){logger[_0x3985ff(0x1d3)](_0x17c60e[_0x3985ff(0x180)]);const _0x51d678={};_0x51d678[_0x3985ff(0x192)]=this[_0x3985ff(0x218)][_0x3985ff(0x236)],_0x51d678[_0x3985ff(0x1cd)]=process[_0x3985ff(0x1dc)][testHubConstants[_0x3985ff(0x1fc)]['BROWSERSTACK_TESTHUB_UUID']],_0x51d678['thJwtToken']=process[_0x3985ff(0x1dc)][testHubConstants['ENV_VAR'][_0x3985ff(0x1f9)]];const _0x1bc827=_0x51d678;logger[_0x3985ff(0x1e9)](_0x3985ff(0x22a)+JSON[_0x3985ff(0x1a0)](_0x1bc827)),logger[_0x3985ff(0x1e9)](_0x17c60e[_0x3985ff(0x1eb)]);const _0x4b0bd8={};_0x4b0bd8['command']=_0x17c60e[_0x3985ff(0x1ab)];const _0x2751f9=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x3985ff(0x18c)],async()=>{const _0x487351=_0x3985ff;return await accessibilityRetryHelper[_0x487351(0x1d2)](global['__drivers'][0x0],global[_0x487351(0x200)]);},_0x4b0bd8)();_0x2751f9?logger[_0x3985ff(0x1e9)](_0x17c60e[_0x3985ff(0x1cb)]):logger[_0x3985ff(0x1e8)](_0x17c60e[_0x3985ff(0x1bb)]);const _0xeec3ca=await PerformanceTester[_0x3985ff(0x217)](PerformanceA11yEvents[_0x3985ff(0x190)],async()=>{const _0x372ba9=_0x3985ff;return await accessibilityRetryHelper[_0x372ba9(0x1c2)](global['__drivers'][0x0],_0x1bc827);})();_0xeec3ca?logger[_0x3985ff(0x1e9)](_0x17c60e['WmHLk']):logger[_0x3985ff(0x1e8)](_0x17c60e[_0x3985ff(0x18d)]),logger[_0x3985ff(0x1d3)](_0x17c60e[_0x3985ff(0x1bd)]);}}catch(_0x5b6d85){logger['error'](_0x3985ff(0x21c)+this[_0x3985ff(0x218)][_0x3985ff(0x1ba)]()+'.\x20Error\x20:',_0x5b6d85);}try{try{if(_0x17c60e['sWWis'](shouldProcessEventForTesthub)){global[_0x3985ff(0x19d)][0x0]&&await _0x17c60e[_0x3985ff(0x1ad)](sendPlatformDetails,global[_0x3985ff(0x19d)][0x0],this[_0x3985ff(0x218)]?this[_0x3985ff(0x218)][_0x3985ff(0x236)]:null);if(_0x17c60e['oZakP'](isBrowserstackInfra)){PerformanceTester[_0x3985ff(0x20f)](PerformanceO11yEvents[_0x3985ff(0x205)]);const _0x4d0dcb=_0x3985ff(0x22b)+Date[_0x3985ff(0x1c1)]();await _0x17c60e[_0x3985ff(0x222)](_0x3a08d5,JSON[_0x3985ff(0x1a0)](_0x4d0dcb),_0x17c60e['EYKyR']),PerformanceTester[_0x3985ff(0x1d9)](PerformanceO11yEvents[_0x3985ff(0x205)]);}}}catch(_0x534f3f){logger[_0x3985ff(0x1e9)](_0x3985ff(0x177)+_0x534f3f),PerformanceTester['end'](PerformanceO11yEvents[_0x3985ff(0x205)],![],_0x534f3f);}_0x17c60e[_0x3985ff(0x1de)](global['__drivers'][0x0]['quitCount_'],0x0)&&await global['driverCleanup']();}catch(_0x1fb0f7){logger[_0x3985ff(0x1e9)](_0x3985ff(0x1b0)+_0x1fb0f7);}_0x17c60e[_0x3985ff(0x181)](_0x36e82d);})['then'](()=>{const _0x130178=_0x573004;_0x3cc799[_0x130178(0x227)](_0x3976d6);});},{'platform':_0x3cc799['OgHLP'](nestedKeyValue,global[_0x5b3ce7(0x207)],[_0x3cc799[_0x5b3ce7(0x19a)]]),'hookType':_0x3cc799[_0x5b3ce7(0x1e0)]})();},'afterAll'(_0x14f0c5){const _0xfa9fba=a36_0x5aa89c,_0x10f4f2={'gwpdG':function(_0x4e2432){return _0x4e2432();},'NKhzB':function(_0x53f833){return _0x53f833();},'IUCxO':_0xfa9fba(0x224),'eBRun':function(_0xb888d7,_0x4a4e48,_0x28b016){return _0xb888d7(_0x4a4e48,_0x28b016);},'fiwrS':'index','xZnfM':_0xfa9fba(0x17e)},_0x110de9='browserstack internal helper hook';this[_0xfa9fba(0x1af)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x10f4f2['IUCxO']]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0xfa9fba(0x187)],()=>{const _0x2394f2=_0xfa9fba,_0x1f2d37={'yFalD':function(_0xc8d352){return _0x10f4f2['NKhzB'](_0xc8d352);}};new Promise(async _0x3eeefb=>{const _0x2b835c=a36_0x5cde;await global[_0x2b835c(0x170)](),_0x10f4f2['gwpdG'](_0x3eeefb);})[_0x2394f2(0x1f5)]()[_0x2394f2(0x1f4)](()=>{const _0x3c71b5=_0x2394f2;_0x1f2d37[_0x3c71b5(0x22f)](_0x14f0c5);});},{'platform':_0x10f4f2[_0xfa9fba(0x203)](nestedKeyValue,global[_0xfa9fba(0x207)],[_0x10f4f2['fiwrS']]),'hookType':_0x10f4f2['xZnfM']})();}};function a36_0x212b(){const _0x3e5413=['executeScript','wMvgD','join','../../helpers/accessibility-automation/accessibilityRetryHelper','XnMsb','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','Dmbqc','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','RmtPk','YnmJh','wACXp','afterTest','afterAll','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','BsXEr','nBUui','cNEVx','4195086dPVJgH','BwVuj','length','126090ADWorX','SDK_HOOK','accessibilityScanStarted','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','EvSDg','jQFoC','PERFORM_SCAN','VvdTG','MgGct','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','SAVE_RESULTS','failed','thTestRunUuid','nbchy','TeuYF','percyCaptureMode','QyJgq','appium:app','capabilities','Accessibility\x20results\x20saved\x20successfully','tpjrv','__sessionFailed','OgHLP','__drivers','hiqCB','../../helpers/accessibility-automation/helper','stringify','hRtbD','../../helpers/testhub/constants','\x22}}','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','yzJay','OKCIa','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','GAMzW','bstackA11yShouldScan','browserstackTestName','AigJa','utHRF','FczTm','../../helpers/performance/performance-tester','timeout','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','initQuit','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','Vvyuf','rJhWo','qcMLR','gicYP','Accessibility\x20scan\x20completed\x20successfully','CuBqg','../../helpers/logger','titlePath','wsdOS','uJMFf','basJt','Ffgdn','../../helpers/percy/utils','Jnnjd','now','saveAccessibilityResultsWithRetry','error','beforeAll','80qvAqPd','kaSrg','setGlobal','mochaHooks','format','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','GTUfn','Failed:\x20','thBuildUuid','mkIdP','122xZuZag','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','MLPuL','performScanWithRetry','info','7512879dGkYrb','7fZJIVL','AqNNv','getGlobal','620423BOoaaK','end','104204GGsiml','../../helpers/performance/constants','env','../../helpers/globals','sIlbP','alCec','VIFbJ','hZObD','app','SESSION_STATUS','startMonitoring','\x20|\x20','wzEMR','../utils/constants','warn','debug','5020650wYYYHX','hNupm','beforeEach','RmrKV','vAmJs','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','afterEach','BwKYc','RRcEd','sessionNameSet__','finally','then','protocol','yRZAs','gYWbV','BROWSERSTACK_TESTHUB_JWT','testcase','uTFot','ENV_VAR','yuBbv','WVeti','MkQHC','browserstackSessionName','PSbKq','YfHry','eBRun','OOIQn','SYNC','sessionName','__platformCaps','state','QUbrk','PRMOp','WuiWT','util','isArray','index','start','session_','isAccessibilityPlatform','__skipSessionName','BZBfX','https:','NAOPh','POkcQ','measureWrapper','currentTest','RZoyD','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','yGJuD','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','NFArV','shift','shouldScanTestForAccessibility','err','__error_messages__','XGjOw','qumRj','Mocha','Automate\x20test\x20case\x20execution\x20has\x20started.','TtGUS','bRoDe','CvyKI','quitCount_','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','ObservabilitySync:','320ezkhGH','1125RzErib','yRfcr','yFalD','message','MZkeN','xGiMY','iguGu','SESSION_NAME','Cohev','testAnalyticsId','../../helpers/helper','MwYgH','driverCleanup','ZeOjS'];a36_0x212b=function(){return _0x3e5413;};return a36_0x212b();}
1
+ function a36_0x56a3(){const _0x2d1571=['sessionNameSet__','LRjUe','message','thBuildUuid','percy','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','measureWrapper','afterAll','../../helpers/performance/performance-tester','shouldScanTestForAccessibility','29666kmXxhA','1835ZmxGrt','currentTest','browserstackSessionName','AvpnU','4746LcoVvK','UcIcS','http:','SYNC','BJzjm','MVxiS','yVyaB','xfnGQ','RDriB','hwkDt','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','error','SLIrx','util','uIppZ','ZcAEp','DQJog','eJqGy','quitCount_','executeScript','bmmzt','\x20|\x20','isAccessibilityPlatform','accessibilityScanStarted','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','11UHtQKj','sUYyz','browserstackTestName','../../helpers/logger','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','debug','Accessibility\x20results\x20saved\x20successfully','thTestRunUuid','RKmOA','ObservabilitySync:','mZzQz','WrqPI','jkepy','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','9fQVLYM','efPuO','__platformCaps','BIYVK','hWOsE','SAVE_RESULTS','err','Diqzh','UvvGW','command','Passed','vHdGe','KAnbS','PxaCs','../utils/constants','testAnalyticsId','XhCPt','Automate\x20test\x20case\x20execution\x20has\x20started.','__error_messages__','STPRs','YBMll','JLtKS','plKTA','\x20-\x20','afterEach','XJaOW','778BhWjEG','3615xytWhu','\x22}}','SihYh','YRtwZ','shift','timeout','performScanWithRetry','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','testcase','jZyXN','startMonitoring','WkbWx','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','qLhFx','wUipB','percyCaptureMode','XfeAs','thJwtToken','yiNpY','geuce','SESSION_STATUS','winstonLogger','isArray','beforeAll','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','10qeRHKR','dXTUE','kRTCw','titlePath','1759980wkXJHC','UjHZu','then','ncWrV','pkMGM','hAcCE','./test-observability/mochaUtils','9985941PueKHE','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','join','MbgRR','ENV_VAR','BfmVx','Failed\x20to\x20store\x20session\x20name:\x20','push','2481492DGnRRs','end','hzHEn','app','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.',',\x22level\x22:\x20\x22','session_','state','vvCqj','byOLl','PERFORM_SCAN','initQuit','GVmsv','https:','qAVAo','protocol','omSTv','Failed:\x20','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','.\x20Error\x20:','QZgxe','vYlmT','OGssl','saveAccessibilityResultsWithRetry','NrdTP','qcHJp','afterTest','DbDYh','info','awSfw','setGlobal','SESSION_NAME','__sessionFailed','finally','__drivers','env','VWPXM','rYbYk','1584IqQcyA','index','WfqtA','../../helpers/testhub/constants','bstackA11yShouldScan','xwCHd','ebmXV','xfKoB','warn','HEilD','../../helpers/percy/utils','ufxiE','driverCleanup','wkOpK','length','../../helpers/globals','52693121wEGAqM','zSzqm','vYBcD','getGlobal','__skipSessionName','giiRJ','IFgAl','SDK_HOOK','stringify','kUheK','capabilities'];a36_0x56a3=function(){return _0x2d1571;};return a36_0x56a3();}function a36_0xac0b(_0x277d0f,_0x159695){const _0x56a364=a36_0x56a3();return a36_0xac0b=function(_0xac0bc8,_0x55148b){_0xac0bc8=_0xac0bc8-0xb2;let _0x34dbc1=_0x56a364[_0xac0bc8];return _0x34dbc1;},a36_0xac0b(_0x277d0f,_0x159695);}const a36_0x5b1763=a36_0xac0b;(function(_0x4396d7,_0x31286d){const _0x5ed9cf=a36_0xac0b,_0x57f6c9=_0x4396d7();while(!![]){try{const _0x11bedc=-parseInt(_0x5ed9cf(0x112))/0x1*(-parseInt(_0x5ed9cf(0x157))/0x2)+-parseInt(_0x5ed9cf(0x13d))/0x3*(-parseInt(_0x5ed9cf(0xb6))/0x4)+-parseInt(_0x5ed9cf(0x158))/0x5*(-parseInt(_0x5ed9cf(0x116))/0x6)+parseInt(_0x5ed9cf(0x111))/0x7*(parseInt(_0x5ed9cf(0xec))/0x8)+parseInt(_0x5ed9cf(0xbd))/0x9*(parseInt(_0x5ed9cf(0xb2))/0xa)+-parseInt(_0x5ed9cf(0x12f))/0xb*(-parseInt(_0x5ed9cf(0xc5))/0xc)+-parseInt(_0x5ed9cf(0xfc))/0xd;if(_0x11bedc===_0x31286d)break;else _0x57f6c9['push'](_0x57f6c9['shift']());}catch(_0x22beb4){_0x57f6c9['push'](_0x57f6c9['shift']());}}}(a36_0x56a3,0xacd00));const util=require(a36_0x5b1763(0x123)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x5b1763(0x14b)),{percyAutoCapture}=require(a36_0x5b1763(0xf6)),{sendPlatformDetails}=require(a36_0x5b1763(0xbc)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a36_0x5b1763(0x10f)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require('../../helpers/performance/constants'),globals=require(a36_0x5b1763(0xfb)),logger=require(a36_0x5b1763(0x132))[a36_0x5b1763(0x16d)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a36_0x5b1763(0xef));exports['mochaHooks']={'beforeAll'(){const _0x5b7144=a36_0x5b1763,_0x928328={'uIppZ':function(_0x7c6b45,_0x2d2381,_0x302d83,_0x299870){return _0x7c6b45(_0x2d2381,_0x302d83,_0x299870);},'xfnGQ':'failed','IFgAl':_0x5b7144(0x12b),'yiNpY':function(_0x537f31,_0x56045a,_0x417e19){return _0x537f31(_0x56045a,_0x417e19);},'XfeAs':'passed','WenNk':function(_0x437c33){return _0x437c33();},'ykdMr':'index','awSfw':_0x5b7144(0x16f)};PerformanceTester[_0x5b7144(0x162)]();const _0x521869='browserstack internal helper hook';PerformanceTester[_0x5b7144(0x10d)](PerformanceSdkEvents[_0x5b7144(0x103)],()=>{const _0x1616c5=_0x5b7144,_0x3566c7={'KAnbS':function(_0x53e8d4,_0x250a8c,_0x50c699,_0x2e8e22){const _0x54fcac=a36_0xac0b;return _0x928328[_0x54fcac(0x124)](_0x53e8d4,_0x250a8c,_0x50c699,_0x2e8e22);},'ebmXV':_0x928328[_0x1616c5(0x11d)],'bmmzt':_0x928328[_0x1616c5(0x102)],'UcIcS':function(_0xeb2ac0,_0x199981,_0x127083){const _0x586022=_0x1616c5;return _0x928328[_0x586022(0x16a)](_0xeb2ac0,_0x199981,_0x127083);},'rSclP':_0x928328[_0x1616c5(0x168)],'GVmsv':function(_0x470f4a){return _0x928328['WenNk'](_0x470f4a);}};global[_0x1616c5(0x14f)]=[],global[_0x1616c5(0xe6)]=![],global[_0x1616c5(0xf8)]=async()=>{const _0x55d819=_0x1616c5;let _0x475a4a=![];try{await global['__drivers'][0x0][_0x55d819(0xcc)],_0x475a4a=!![],global[_0x55d819(0xe6)]?await _0x3566c7[_0x55d819(0x149)](markSessionStatus,global[_0x55d819(0xe8)][0x0],_0x3566c7[_0x55d819(0xf2)],global[_0x55d819(0x14f)][_0x55d819(0xbf)](_0x3566c7[_0x55d819(0x12a)])):await _0x3566c7[_0x55d819(0x117)](markSessionStatus,global[_0x55d819(0xe8)][0x0],_0x3566c7['rSclP']);}catch(_0x2ed2b4){logger[_0x55d819(0x134)](_0x55d819(0x170)+_0x2ed2b4);}global[_0x55d819(0x14f)]=[],global['__sessionFailed']=![];if(_0x475a4a)try{try{_0x3566c7[_0x55d819(0xd2)](shouldProcessEventForTesthub)&&(global[_0x55d819(0xe8)][0x0]&&await _0x3566c7[_0x55d819(0x117)](sendPlatformDetails,global[_0x55d819(0xe8)][0x0],this['currentTest']?this[_0x55d819(0x113)][_0x55d819(0x14c)]:null));}catch(_0x547f5f){logger[_0x55d819(0x134)](_0x55d819(0x120)+_0x547f5f);}await global[_0x55d819(0xe8)][0x0][_0x55d819(0xd1)]();}catch(_0x963202){logger[_0x55d819(0x134)](_0x55d819(0xc9)+_0x963202);}};},{'platform':_0x928328[_0x5b7144(0x16a)](nestedKeyValue,global[_0x5b7144(0x13f)],[_0x928328['ykdMr']]),'hookType':_0x928328[_0x5b7144(0xe3)]})();},'beforeEach'(_0x4fa572){const _0x2d2f23=a36_0x5b1763,_0x4aa53f={'zSzqm':function(_0x40bff4,_0x8ff8db){return _0x40bff4>_0x8ff8db;},'xwCHd':_0x2d2f23(0x154),'ceilA':function(_0x227566,_0x2700ba,_0x8b4bb8){return _0x227566(_0x2700ba,_0x8b4bb8);},'HEilD':_0x2d2f23(0xf0),'JLtKS':function(_0x41ac6e){return _0x41ac6e();},'qLhFx':_0x2d2f23(0x12c),'kkPsf':function(_0x56bc76,_0x339fc0){return _0x56bc76===_0x339fc0;},'PxaCs':_0x2d2f23(0x118),'vHdGe':_0x2d2f23(0xd3),'IVpeK':_0x2d2f23(0xca),'YRtwZ':_0x2d2f23(0x14e),'JlUVL':function(_0x4b2dd7){return _0x4b2dd7();},'ufxiE':_0x2d2f23(0x131),'BIYVK':function(_0x2c110e,_0x2e2e14,_0x3efdfe){return _0x2c110e(_0x2e2e14,_0x3efdfe);},'pNhTC':_0x2d2f23(0xed),'UvvGW':'beforeEach'};globals[_0x2d2f23(0xe4)](_0x4aa53f[_0x2d2f23(0xf7)],this[_0x2d2f23(0x113)][_0x2d2f23(0xb5)]()[_0x2d2f23(0xbf)](_0x4aa53f['xwCHd'])),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x2d2f23(0x103)],()=>{const _0x15a139=_0x2d2f23,_0x129612={'xfKoB':function(_0x529a36){return _0x4aa53f['JlUVL'](_0x529a36);}},_0x4169e8='browserstack internal helper hook';new Promise(async _0x2b8c73=>{const _0x5aab5d=a36_0xac0b;let _0x12ffcf=!![];try{_0x4aa53f['zSzqm'](global[_0x5aab5d(0xe8)][_0x5aab5d(0xfa)],0x1)&&(await global['driverCleanup'](),global[_0x5aab5d(0xe8)][_0x5aab5d(0x15c)]()),_0x4aa53f[_0x5aab5d(0xfd)](global[_0x5aab5d(0xe8)][0x0]['quitCount_'],0x0)&&(_0x12ffcf=![],await global[_0x5aab5d(0xf8)]());}catch(_0x2da297){logger[_0x5aab5d(0x134)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x2da297);}try{Array[_0x5aab5d(0x16e)](global[_0x5aab5d(0xe8)])&&global[_0x5aab5d(0xe8)][0x0]&&(global[_0x5aab5d(0xe8)][0x0][_0x5aab5d(0x114)]=this[_0x5aab5d(0x113)]['titlePath']()[_0x5aab5d(0xbf)](_0x4aa53f[_0x5aab5d(0xf1)])),global['browserstackSessionName']=this[_0x5aab5d(0x113)][_0x5aab5d(0xb5)]()[_0x5aab5d(0xbf)](_0x4aa53f[_0x5aab5d(0xf1)]);}catch(_0x118aa0){logger[_0x5aab5d(0x134)](_0x5aab5d(0xc3)+_0x118aa0);}this[_0x5aab5d(0x113)]['shouldScanTestForAccessibility']=_0x4aa53f['ceilA'](shouldScanTestForAccessibility,this[_0x5aab5d(0x113)][_0x5aab5d(0xb5)](),!![]),globals['setGlobal'](_0x4aa53f[_0x5aab5d(0xf5)],this[_0x5aab5d(0x113)]['shouldScanTestForAccessibility']),this[_0x5aab5d(0x113)][_0x5aab5d(0x12d)]=!![];if(_0x4aa53f[_0x5aab5d(0x152)](isAccessibilityAutomationSession)&&_0x12ffcf&&Array['isArray'](global[_0x5aab5d(0xe8)])&&_0x4aa53f[_0x5aab5d(0xfd)](global[_0x5aab5d(0xe8)]['length'],0x0)&&globals['getGlobal'](_0x4aa53f[_0x5aab5d(0x165)]))try{const _0x5cbc1a=await global['__drivers'][0x0]['session_'];if(_0x5cbc1a){let _0xd1a0b7=!![];const _0x122a31=await global['__drivers'][0x0]['getCurrentUrl']();let _0x177f4b;try{_0x177f4b=new URL(_0x122a31);}catch(_0x266ee5){_0xd1a0b7=![];}_0xd1a0b7=_0x4aa53f['kkPsf'](_0x177f4b[_0x5aab5d(0xd5)],_0x4aa53f[_0x5aab5d(0x14a)])||_0x4aa53f['kkPsf'](_0x177f4b[_0x5aab5d(0xd5)],_0x4aa53f[_0x5aab5d(0x148)]),_0xd1a0b7&&(this[_0x5aab5d(0x113)][_0x5aab5d(0x110)]&&logger[_0x5aab5d(0xe2)](_0x4aa53f['IVpeK'])),this[_0x5aab5d(0x113)][_0x5aab5d(0x12d)]=this[_0x5aab5d(0x113)][_0x5aab5d(0x110)],this[_0x5aab5d(0x113)][_0x5aab5d(0x110)]&&logger['info'](_0x4aa53f[_0x5aab5d(0x15b)]);}}catch(_0x2cafb1){logger[_0x5aab5d(0x121)](_0x5aab5d(0x13c)+util['format'](_0x2cafb1));}_0x4aa53f['JLtKS'](_0x2b8c73);})[_0x15a139(0xb8)](()=>{const _0x40f21a=_0x15a139;_0x129612[_0x40f21a(0xf3)](_0x4fa572);});},{'platform':_0x4aa53f[_0x2d2f23(0x140)](nestedKeyValue,global['__platformCaps'],[_0x4aa53f['pNhTC']]),'hookType':_0x4aa53f[_0x2d2f23(0x145)]})();},'afterEach'(_0x1e0f62){const _0x3aa6a2=a36_0x5b1763,_0x24c7f4={'WfqtA':function(_0x44e2bb){return _0x44e2bb();},'SihYh':_0x3aa6a2(0x154),'vYBcD':function(_0x40d749,_0x87c4bd){return _0x40d749!==_0x87c4bd;},'hwkDt':'passed','eJqGy':function(_0x30e513,_0x34f1bd,_0x1d6baf){return _0x30e513(_0x34f1bd,_0x1d6baf);},'dXTUE':function(_0x334bfa,_0x3b3166){return _0x334bfa+_0x3b3166;},'uoYpB':_0x3aa6a2(0xd7),'LRjUe':_0x3aa6a2(0x121),'KjhfO':_0x3aa6a2(0x147),'KZsjs':_0x3aa6a2(0xe2),'STPRs':function(_0x47c93b,_0x2bbfb7){return _0x47c93b>_0x2bbfb7;},'TMrpK':function(_0x421623,_0x4241a1){return _0x421623===_0x4241a1;},'pkMGM':_0x3aa6a2(0x160),'DbDYh':function(_0x4c951c,_0x982dbb){return _0x4c951c>_0x982dbb;},'XJaOW':'appium:app','plKTA':function(_0x3d66e4,_0x5c58db,_0x108784,_0x278277){return _0x3d66e4(_0x5c58db,_0x108784,_0x278277);},'JYseB':'isAccessibilityPlatform','ovxBS':_0x3aa6a2(0xf0),'YBMll':_0x3aa6a2(0x12e),'efPuO':_0x3aa6a2(0x15f),'OGssl':_0x3aa6a2(0xe0),'cXZAY':'Accessibility\x20scan\x20completed\x20successfully','rTdWx':'Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','wUipB':_0x3aa6a2(0x135),'vYlmT':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','qAVAo':_0x3aa6a2(0x164),'mZzQz':_0x3aa6a2(0x134),'TaZNx':'Mocha','WkbWx':_0x3aa6a2(0xed),'MVxiS':_0x3aa6a2(0x155)},_0xa7fc4f='browserstack internal helper hook';this[_0x3aa6a2(0x15d)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x24c7f4['TaZNx']]),global['sessionName']=this[_0x3aa6a2(0x113)][_0x3aa6a2(0xb5)]()[_0x3aa6a2(0xbf)](_0x24c7f4[_0x3aa6a2(0x15a)]),PerformanceTester[_0x3aa6a2(0x10d)](PerformanceSdkEvents[_0x3aa6a2(0x103)],()=>{const _0x9efd45=_0x3aa6a2,_0xf13980={'giiRJ':_0x24c7f4[_0x9efd45(0x15a)],'qcHJp':function(_0x29d914,_0x189877){const _0x2aed92=_0x9efd45;return _0x24c7f4[_0x2aed92(0xfe)](_0x29d914,_0x189877);},'ncWrV':_0x24c7f4[_0x9efd45(0x11f)],'hWOsE':function(_0x34a5da,_0x4b92fe,_0x2e1116){const _0x54fc2b=_0x9efd45;return _0x24c7f4[_0x54fc2b(0x127)](_0x34a5da,_0x4b92fe,_0x2e1116);},'sUYyz':function(_0x334b53,_0x557a29){const _0x5e326f=_0x9efd45;return _0x24c7f4[_0x5e326f(0xb3)](_0x334b53,_0x557a29);},'AvpnU':_0x24c7f4['uoYpB'],'qYHOR':_0x24c7f4[_0x9efd45(0x108)],'hzHEn':function(_0x27d22c,_0x1ab0a8,_0x1aa114){const _0x550b35=_0x9efd45;return _0x24c7f4[_0x550b35(0x127)](_0x27d22c,_0x1ab0a8,_0x1aa114);},'yVyaB':_0x24c7f4['KjhfO'],'jkepy':_0x24c7f4['KZsjs'],'Diqzh':function(_0x424935,_0xe832b7){const _0x4f9322=_0x9efd45;return _0x24c7f4[_0x4f9322(0x150)](_0x424935,_0xe832b7);},'niRHl':function(_0x3f5d17,_0x142f15){return _0x24c7f4['TMrpK'](_0x3f5d17,_0x142f15);},'BJzjm':_0x24c7f4[_0x9efd45(0xba)],'vvCqj':function(_0x2b83d4,_0x3bebb2){const _0x2e9160=_0x9efd45;return _0x24c7f4[_0x2e9160(0xe1)](_0x2b83d4,_0x3bebb2);},'MbgRR':_0x24c7f4[_0x9efd45(0x156)],'omSTv':function(_0x5414c9,_0x4df2e1,_0x5a754d,_0x3eab8d){const _0x3a33c6=_0x9efd45;return _0x24c7f4[_0x3a33c6(0x153)](_0x5414c9,_0x4df2e1,_0x5a754d,_0x3eab8d);},'jZyXN':_0x24c7f4['JYseB'],'UjHZu':_0x24c7f4['ovxBS'],'WrqPI':_0x24c7f4[_0x9efd45(0x151)],'RKmOA':_0x24c7f4[_0x9efd45(0x13e)],'VWPXM':_0x24c7f4[_0x9efd45(0xdc)],'QlrQc':_0x24c7f4['cXZAY'],'byOLl':_0x24c7f4['rTdWx'],'SLIrx':_0x24c7f4[_0x9efd45(0x166)],'rYbYk':_0x24c7f4[_0x9efd45(0xdb)],'kUheK':_0x24c7f4[_0x9efd45(0xd4)],'QZgxe':function(_0x418231){const _0x1571fc=_0x9efd45;return _0x24c7f4[_0x1571fc(0xee)](_0x418231);},'wkOpK':function(_0x3ced5f){return _0x24c7f4['WfqtA'](_0x3ced5f);},'ZcAEp':function(_0x3b3d3f,_0x5c7f3b,_0x2ae65e){const _0x121977=_0x9efd45;return _0x24c7f4[_0x121977(0x127)](_0x3b3d3f,_0x5c7f3b,_0x2ae65e);},'XhCPt':_0x24c7f4[_0x9efd45(0x139)],'tfmqb':function(_0x29fec2,_0x5c4750){const _0x2daae5=_0x9efd45;return _0x24c7f4[_0x2daae5(0xe1)](_0x29fec2,_0x5c4750);}},_0x9395e=async(_0x4b25f2,_0x24febe)=>{const _0x34cb14=_0x9efd45;await global[_0x34cb14(0xe8)][0x0][_0x34cb14(0x129)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x4b25f2+_0x34cb14(0xcb)+_0x24febe+_0x34cb14(0x159));};new Promise(async _0x3b1d79=>{const _0x8441b7=_0x9efd45;try{_0xf13980[_0x8441b7(0x144)](global[_0x8441b7(0xe8)][_0x8441b7(0xfa)],0x1)&&(await global[_0x8441b7(0xf8)](),global[_0x8441b7(0xe8)]['shift'](),global[_0x8441b7(0x14f)]=[],global[_0x8441b7(0xe6)]=![]);try{if(global[_0x8441b7(0x10b)]&&_0xf13980['niRHl'](global[_0x8441b7(0x167)],_0xf13980[_0x8441b7(0x11a)])&&global['__drivers'][0x0]){const _0x5ef5f2=_0xf13980[_0x8441b7(0xce)](global[_0x8441b7(0x106)]['length'],0x0)?!!global[_0x8441b7(0x106)][0x0][_0x8441b7(0xc8)]||!!global[_0x8441b7(0x106)][0x0][_0xf13980[_0x8441b7(0xc0)]]:![],_0x37e84f={};_0x37e84f[_0x8441b7(0xc8)]=_0x5ef5f2,await _0xf13980[_0x8441b7(0xd6)](percyAutoCapture,global[_0x8441b7(0xe8)][0x0],_0xf13980[_0x8441b7(0x11a)],_0x37e84f);}}catch(_0x56cb8a){logger['debug']('Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20'+_0x56cb8a);}!global[_0x8441b7(0x100)]&&(await PerformanceTester[_0x8441b7(0x10d)](PerformanceAutEvents[_0x8441b7(0xe5)],async()=>{const _0x98a05d=_0x8441b7;await global[_0x98a05d(0xe8)][0x0]['executeScript'](_0x98a05d(0x10c)+JSON[_0x98a05d(0x104)](this[_0x98a05d(0x113)][_0x98a05d(0xb5)]()[_0x98a05d(0xbf)](_0xf13980[_0x98a05d(0x101)]))+'}}');})(),global[_0x8441b7(0xe8)][0x0][_0x8441b7(0x107)]=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x8441b7(0x16c)],async()=>{const _0x395bce=_0x8441b7,_0x592aa5=_0xf13980[_0x395bce(0xdf)](this[_0x395bce(0x113)][_0x395bce(0xcd)],_0xf13980[_0x395bce(0xb9)]);_0x592aa5?(global[_0x395bce(0xe6)]=!![],global[_0x395bce(0x14f)][_0x395bce(0xc4)](this[_0x395bce(0x113)][_0x395bce(0x143)]['message']),await _0xf13980[_0x395bce(0x141)](_0x9395e,JSON['stringify'](_0xf13980[_0x395bce(0x130)](_0xf13980[_0x395bce(0x115)],this[_0x395bce(0x113)][_0x395bce(0x143)][_0x395bce(0x109)])),_0xf13980['qYHOR'])):await _0xf13980[_0x395bce(0xc7)](_0x9395e,JSON[_0x395bce(0x104)](_0xf13980[_0x395bce(0x11c)]),_0xf13980[_0x395bce(0x13b)]);})();}catch(_0xaac218){logger[_0x8441b7(0x134)](_0x8441b7(0xd8)+_0xaac218);}try{if(this[_0x8441b7(0x113)][_0x8441b7(0x12d)]&&globals[_0x8441b7(0xff)](_0xf13980[_0x8441b7(0x161)])&&globals[_0x8441b7(0xff)](_0xf13980[_0x8441b7(0xb7)])){logger[_0x8441b7(0xe2)](_0xf13980[_0x8441b7(0x13a)]);const _0x16c86e={};_0x16c86e[_0x8441b7(0x136)]=this[_0x8441b7(0x113)]['testAnalyticsId'],_0x16c86e[_0x8441b7(0x10a)]=process[_0x8441b7(0xe9)][testHubConstants[_0x8441b7(0xc1)]['BROWSERSTACK_TESTHUB_UUID']],_0x16c86e[_0x8441b7(0x169)]=process[_0x8441b7(0xe9)][testHubConstants[_0x8441b7(0xc1)]['BROWSERSTACK_TESTHUB_JWT']];const _0x1c7f73=_0x16c86e;logger[_0x8441b7(0x134)](_0x8441b7(0x133)+JSON[_0x8441b7(0x104)](_0x1c7f73)),logger['debug'](_0xf13980[_0x8441b7(0x137)]);const _0x21eca2={};_0x21eca2[_0x8441b7(0x146)]=_0xf13980[_0x8441b7(0xea)];const _0x491ebd=await PerformanceTester[_0x8441b7(0x10d)](PerformanceA11yEvents[_0x8441b7(0xd0)],async()=>{const _0x20d428=_0x8441b7;return await accessibilityRetryHelper[_0x20d428(0x15e)](global[_0x20d428(0xe8)][0x0],global[_0x20d428(0x114)]);},_0x21eca2)();_0x491ebd?logger[_0x8441b7(0x134)](_0xf13980['QlrQc']):logger[_0x8441b7(0xf4)](_0xf13980[_0x8441b7(0xcf)]);const _0x1e0b49=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x8441b7(0x142)],async()=>{const _0x3b3d8e=_0x8441b7;return await accessibilityRetryHelper[_0x3b3d8e(0xdd)](global[_0x3b3d8e(0xe8)][0x0],_0x1c7f73);})();_0x1e0b49?logger['debug'](_0xf13980[_0x8441b7(0x122)]):logger[_0x8441b7(0xf4)](_0xf13980[_0x8441b7(0xeb)]),logger[_0x8441b7(0xe2)](_0xf13980[_0x8441b7(0x105)]);}}catch(_0x246775){logger[_0x8441b7(0x121)](_0x8441b7(0xbe)+this[_0x8441b7(0x113)]['titlePath']()+_0x8441b7(0xd9),_0x246775);}try{try{if(_0xf13980[_0x8441b7(0xda)](shouldProcessEventForTesthub)){global[_0x8441b7(0xe8)][0x0]&&await _0xf13980[_0x8441b7(0xc7)](sendPlatformDetails,global[_0x8441b7(0xe8)][0x0],this[_0x8441b7(0x113)]?this[_0x8441b7(0x113)][_0x8441b7(0x14c)]:null);if(_0xf13980[_0x8441b7(0xf9)](isBrowserstackInfra)){PerformanceTester['start'](PerformanceO11yEvents[_0x8441b7(0x119)]);const _0x1c9a78=_0x8441b7(0x138)+Date['now']();await _0xf13980[_0x8441b7(0x125)](_0x9395e,JSON[_0x8441b7(0x104)](_0x1c9a78),_0xf13980[_0x8441b7(0x14d)]),PerformanceTester[_0x8441b7(0xc6)](PerformanceO11yEvents[_0x8441b7(0x119)]);}}}catch(_0x5e1044){logger[_0x8441b7(0x134)]('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x5e1044),PerformanceTester[_0x8441b7(0xc6)](PerformanceO11yEvents[_0x8441b7(0x119)],![],_0x5e1044);}_0xf13980['tfmqb'](global['__drivers'][0x0][_0x8441b7(0x128)],0x0)&&await global['driverCleanup']();}catch(_0x593705){logger[_0x8441b7(0x134)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x593705);}_0xf13980[_0x8441b7(0xf9)](_0x3b1d79);})[_0x9efd45(0xb8)](()=>{const _0x10385f=_0x9efd45;_0x24c7f4[_0x10385f(0xee)](_0x1e0f62);});},{'platform':_0x24c7f4[_0x3aa6a2(0x127)](nestedKeyValue,global[_0x3aa6a2(0x13f)],[_0x24c7f4[_0x3aa6a2(0x163)]]),'hookType':_0x24c7f4[_0x3aa6a2(0x11b)]})();},'afterAll'(_0x5d9de0){const _0x1c13fe=a36_0x5b1763,_0x2ba5c1={'BfmVx':function(_0x2cea60){return _0x2cea60();},'geuce':'Mocha','kRTCw':function(_0x4b9968,_0x471b71,_0x2d9ef3){return _0x4b9968(_0x471b71,_0x2d9ef3);},'NrdTP':'index','hAcCE':_0x1c13fe(0x10e)},_0x132380='browserstack internal helper hook';this[_0x1c13fe(0x15d)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x2ba5c1[_0x1c13fe(0x16b)]]),PerformanceTester[_0x1c13fe(0x10d)](PerformanceSdkEvents[_0x1c13fe(0x103)],()=>{const _0x125113=_0x1c13fe,_0x2ac394={'DQJog':function(_0x1a234a){const _0x4058c5=a36_0xac0b;return _0x2ba5c1[_0x4058c5(0xc2)](_0x1a234a);},'RDriB':function(_0x59f83c){return _0x2ba5c1['BfmVx'](_0x59f83c);}};new Promise(async _0x18e203=>{const _0x107b97=a36_0xac0b;await global['driverCleanup'](),_0x2ac394[_0x107b97(0x126)](_0x18e203);})[_0x125113(0xb8)]()[_0x125113(0xe7)](()=>{const _0x252af5=_0x125113;_0x2ac394[_0x252af5(0x11e)](_0x5d9de0);});},{'platform':_0x2ba5c1[_0x1c13fe(0xb4)](nestedKeyValue,global['__platformCaps'],[_0x2ba5c1[_0x1c13fe(0xde)]]),'hookType':_0x2ba5c1[_0x1c13fe(0xbb)]})();}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a37_0x1c2a3f=a37_0x37a3;function a37_0x5534(){const _0x254c7d=['stringify','nightwatch.cmd','13321CnWUyP','modifyBrowserStackW3CCaps','getPlatformName','selenium','bxjNw','nightwatch-browserstack.json','exports','CXIpP','join','splice','platform','test','unlinkSync','../../helpers/helper','forEach','findIndex','inherit','Deleting\x20','XXnEs','debug','pMBea','1097lhDbZH','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','EmoXp','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','258249fjUiWP','info','5790RVKgBy','WAxAr','43984gjEwCp','anfkv','../../helpers/BrowserStackSetup','BJxUu','nightwatch.json','2521752QohJnY','child_process','1547076QqkJVL','7LyUvqm','VfWav','writeFileSync','map','port','trim','zUkSm','winstonLogger','504iLuXVl','../../helpers/logger','pyeEw','isUndefined','cwd','sFmAs','desiredCapabilities','test_settings','622DazJUM','host','now','push','existsSync','--config','xtDAY','PaLIh','--env','RmmsD','oLCIG','useW3C','env','start_process','../utils/constants','Getting\x20your\x20nightwatch\x20configs\x20from\x20','mergeDeep','close','vykyL','modifyBrowserStackCaps','913500vkuZfx','CGBqH','hub.browserstack.com','config'];a37_0x5534=function(){return _0x254c7d;};return a37_0x5534();}function a37_0x37a3(_0x859ce1,_0x47db30){const _0x553498=a37_0x5534();return a37_0x37a3=function(_0x37a3c0,_0x410651){_0x37a3c0=_0x37a3c0-0x15d;let _0x3e5b67=_0x553498[_0x37a3c0];return _0x3e5b67;},a37_0x37a3(_0x859ce1,_0x47db30);}(function(_0x795b6a,_0x2a5800){const _0x2d737f=a37_0x37a3,_0x5501cf=_0x795b6a();while(!![]){try{const _0x46b105=-parseInt(_0x2d737f(0x16c))/0x1*(parseInt(_0x2d737f(0x18c))/0x2)+parseInt(_0x2d737f(0x170))/0x3+parseInt(_0x2d737f(0x179))/0x4+parseInt(_0x2d737f(0x1a0))/0x5+-parseInt(_0x2d737f(0x17b))/0x6*(-parseInt(_0x2d737f(0x17c))/0x7)+-parseInt(_0x2d737f(0x174))/0x8*(-parseInt(_0x2d737f(0x184))/0x9)+parseInt(_0x2d737f(0x172))/0xa*(-parseInt(_0x2d737f(0x1a6))/0xb);if(_0x46b105===_0x2a5800)break;else _0x5501cf['push'](_0x5501cf['shift']());}catch(_0xf61da5){_0x5501cf['push'](_0x5501cf['shift']());}}}(a37_0x5534,0x672db));const fs=require('fs'),path=require('path'),{spawn}=require(a37_0x1c2a3f(0x17a)),logger=require(a37_0x1c2a3f(0x185))[a37_0x1c2a3f(0x183)],{default:BrowserStackSetup}=require(a37_0x1c2a3f(0x176)),helper=require(a37_0x1c2a3f(0x164)),constants=require(a37_0x1c2a3f(0x19a)),getUserNightwatchConfigs=(_0xf85c8,_0x30a12b)=>{const _0x234393=a37_0x1c2a3f,_0x4a9e2c={'sFmAs':'nightwatch.conf.js','pMBea':_0x234393(0x178),'EmoXp':function(_0x46535c,_0x216d0c){return _0x46535c(_0x216d0c);},'CXIpP':_0x234393(0x16f)};let _0x1e5104=null,_0x43cfc8={};const _0x564c04=_0x30a12b[_0x234393(0x166)](_0x5f5b07=>_0x5f5b07===_0x234393(0x191));if(!helper[_0x234393(0x187)](_0xf85c8[_0x234393(0x1a3)])&&fs[_0x234393(0x190)](path['join'](process['cwd'](),_0xf85c8[_0x234393(0x1a3)])))_0x1e5104=path['join'](process[_0x234393(0x188)](),_0xf85c8[_0x234393(0x1a3)]),_0x30a12b[_0x234393(0x160)](_0x564c04,0x2);else{if(fs['existsSync'](path[_0x234393(0x15f)](process[_0x234393(0x188)](),_0x4a9e2c[_0x234393(0x189)])))_0x1e5104=path[_0x234393(0x15f)](process['cwd'](),_0x4a9e2c[_0x234393(0x189)]);else fs[_0x234393(0x190)](path[_0x234393(0x15f)](process[_0x234393(0x188)](),_0x4a9e2c[_0x234393(0x16b)]))&&(_0x1e5104=path[_0x234393(0x15f)](process[_0x234393(0x188)](),_0x4a9e2c[_0x234393(0x16b)]));}return _0x1e5104?(logger['info'](_0x234393(0x19b)+_0x1e5104),_0x43cfc8=_0x4a9e2c[_0x234393(0x16e)](require,_0x1e5104)):logger[_0x234393(0x171)](_0x4a9e2c[_0x234393(0x15e)]),_0x43cfc8;},removeExistingEnvs=_0x1bf94d=>{const _0x308a9d=a37_0x1c2a3f,_0x33c486={};_0x33c486[_0x308a9d(0x17d)]=function(_0x56a972,_0x4e1735){return _0x56a972>_0x4e1735;};const _0x513531=_0x33c486;let _0xa88a08=_0x1bf94d[_0x308a9d(0x166)](_0x2b34ab=>_0x2b34ab===_0x308a9d(0x194));_0x513531[_0x308a9d(0x17d)](_0xa88a08,-0x1)&&_0x1bf94d[_0x308a9d(0x160)](_0xa88a08,0x2),_0xa88a08=_0x1bf94d['findIndex'](_0x4c4fa1=>_0x4c4fa1==='-e'),_0x513531['VfWav'](_0xa88a08,-0x1)&&_0x1bf94d[_0x308a9d(0x160)](_0xa88a08,0x2);};function run(_0x222b06,_0x4e25f5,_0x5c7e1f){const _0x3e0135=a37_0x1c2a3f,_0x4cf50e={'vykyL':'nightwatch','AMJaY':function(_0x15732e,_0xb23513){return _0x15732e+_0xb23513;},'CGBqH':_0x3e0135(0x18b),'oLCIG':function(_0x27e76a,_0x1ddf95,_0xe6044f){return _0x27e76a(_0x1ddf95,_0xe6044f);},'BJxUu':_0x3e0135(0x1a2),'PaLIh':_0x3e0135(0x16d),'pyeEw':function(_0xe09ee8,_0x3fe538){return _0xe09ee8===_0x3fe538;},'anfkv':_0x3e0135(0x1ab),'zUkSm':function(_0x39ba14,_0x33c883){return _0x39ba14(_0x33c883);},'BkbuR':function(_0x483968,_0x19d9d9,_0x520e03,_0x396324){return _0x483968(_0x19d9d9,_0x520e03,_0x396324);},'RmmsD':_0x3e0135(0x1a5),'xtDAY':_0x3e0135(0x191),'WAxAr':_0x3e0135(0x194),'jdDFu':_0x3e0135(0x167),'RGRKJ':_0x3e0135(0x19d)};if(!_0x5c7e1f['config'])return;const _0x4afb34=_0x4cf50e[_0x3e0135(0x196)](getUserNightwatchConfigs,_0x222b06,_0x4e25f5),_0x465eec={};_0x465eec[_0x3e0135(0x199)]=![];const _0x3527e8={};_0x3527e8[_0x3e0135(0x18d)]=_0x4cf50e[_0x3e0135(0x177)],_0x3527e8[_0x3e0135(0x180)]=0x1bb;const _0x54fc53={};_0x54fc53['webdriver']=_0x465eec,_0x54fc53[_0x3e0135(0x1a9)]=_0x3527e8;const _0x3e1aa1=_0x54fc53;logger['info'](_0x4cf50e[_0x3e0135(0x193)]);const _0x452129={..._0x4afb34},_0x38030d=_0x452129,_0x41ca7f=helper[_0x3e0135(0x197)](_0x5c7e1f[_0x3e0135(0x1a3)]),_0x2db3e0=[];_0x5c7e1f[_0x3e0135(0x1a3)]['platforms']['forEach']((_0x9edfcf,_0x29ad63)=>{const _0x7e6ee8=_0x3e0135;_0x41ca7f?_0x2db3e0['push'](helper[_0x7e6ee8(0x1a7)](_0x5c7e1f[_0x7e6ee8(0x1a3)],_0x4cf50e[_0x7e6ee8(0x19e)],_0x29ad63)):_0x2db3e0[_0x7e6ee8(0x18f)](helper[_0x7e6ee8(0x19f)](_0x5c7e1f[_0x7e6ee8(0x1a3)],_0x4cf50e[_0x7e6ee8(0x19e)],_0x29ad63));});const _0x1c3f7b={},_0x59c9c8=[];_0x222b06[_0x3e0135(0x198)]=_0x222b06[_0x3e0135(0x198)]||_0x222b06['e'];const _0x59961f=_0x222b06[_0x3e0135(0x198)]?_0x222b06['env'][_0x3e0135(0x181)]()['split'](',')[_0x3e0135(0x17f)](_0x1c8977=>_0x1c8977[_0x3e0135(0x181)]())['filter'](_0x197b36=>_0x197b36!==''):[''];_0x4cf50e[_0x3e0135(0x186)](_0x59961f['length'],0x0)&&_0x59961f[_0x3e0135(0x18f)]('');_0x59961f['forEach'](_0x2efef5=>{const _0x2ac817=_0x3e0135,_0x56f0b5={'XXnEs':function(_0x42cf93,_0x56ade3){return _0x4cf50e['AMJaY'](_0x42cf93,_0x56ade3);},'bxjNw':_0x4cf50e[_0x2ac817(0x1a1)]};_0x2db3e0[_0x2ac817(0x165)](_0x19f297=>{const _0x39f741=_0x2ac817;let _0x309ff1=_0x56f0b5[_0x39f741(0x169)](helper[_0x39f741(0x1a8)](_0x19f297,'_'),'_'+Date[_0x39f741(0x18e)]());_0x2efef5&&(_0x309ff1+='_'+_0x2efef5);if(_0x2efef5&&(!_0x4afb34[_0x56f0b5[_0x39f741(0x1aa)]]||!_0x4afb34[_0x56f0b5[_0x39f741(0x1aa)]][_0x2efef5]))return;const _0x270aa4={..._0x3e1aa1};_0x270aa4[_0x39f741(0x18a)]=_0x19f297;const _0x11f249=_0x270aa4;_0x1c3f7b[_0x309ff1]=_0x2efef5?helper[_0x39f741(0x19c)](_0x4afb34[_0x56f0b5[_0x39f741(0x1aa)]][_0x2efef5],_0x11f249):_0x11f249,_0x59c9c8[_0x39f741(0x18f)](_0x309ff1);});});!_0x38030d[_0x3e0135(0x18b)]&&(_0x38030d[_0x3e0135(0x18b)]={});_0x38030d[_0x3e0135(0x18b)]={..._0x38030d['test_settings'],..._0x1c3f7b};const _0x33be91=path[_0x3e0135(0x15f)](__dirname,_0x4cf50e[_0x3e0135(0x175)]);fs[_0x3e0135(0x17e)](_0x33be91,JSON[_0x3e0135(0x1a4)](_0x38030d)),_0x4cf50e[_0x3e0135(0x182)](removeExistingEnvs,_0x4e25f5);const _0x1deb5f=_0x4cf50e['BkbuR'](spawn,/^win/[_0x3e0135(0x162)](process[_0x3e0135(0x161)])?_0x4cf50e[_0x3e0135(0x195)]:_0x4cf50e[_0x3e0135(0x19e)],[_0x4cf50e[_0x3e0135(0x192)],_0x33be91,..._0x4e25f5['slice'](0x1),_0x4cf50e[_0x3e0135(0x173)],_0x59c9c8[_0x3e0135(0x15f)](',')],{'stdio':_0x4cf50e['jdDFu']});_0x1deb5f['on'](_0x4cf50e['RGRKJ'],async _0x398bb9=>{const _0x32d2fe=_0x3e0135;logger[_0x32d2fe(0x16a)]('child\x20process\x20exited\x20with\x20code\x20'+_0x398bb9),logger[_0x32d2fe(0x171)](_0x32d2fe(0x168)+_0x33be91),fs[_0x32d2fe(0x163)](_0x33be91);});}module[a37_0x1c2a3f(0x15d)]=run;
2
+ 'use strict';const a37_0xdc1d21=a37_0x2688;(function(_0x2e85b5,_0xec77b0){const _0xc46ed5=a37_0x2688,_0x4e82d7=_0x2e85b5();while(!![]){try{const _0x2c5b13=parseInt(_0xc46ed5(0x1ac))/0x1*(parseInt(_0xc46ed5(0x1b1))/0x2)+parseInt(_0xc46ed5(0x1c2))/0x3+-parseInt(_0xc46ed5(0x1d6))/0x4*(-parseInt(_0xc46ed5(0x1af))/0x5)+-parseInt(_0xc46ed5(0x1c5))/0x6*(-parseInt(_0xc46ed5(0x1ae))/0x7)+-parseInt(_0xc46ed5(0x1e7))/0x8+parseInt(_0xc46ed5(0x1eb))/0x9+-parseInt(_0xc46ed5(0x1e3))/0xa;if(_0x2c5b13===_0xec77b0)break;else _0x4e82d7['push'](_0x4e82d7['shift']());}catch(_0x1da64f){_0x4e82d7['push'](_0x4e82d7['shift']());}}}(a37_0x3e6c,0x589fc));const fs=require('fs'),path=require(a37_0xdc1d21(0x1aa)),{spawn}=require(a37_0xdc1d21(0x1cb)),logger=require(a37_0xdc1d21(0x1a7))[a37_0xdc1d21(0x1a8)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a37_0xdc1d21(0x1a5)),constants=require(a37_0xdc1d21(0x1e2)),getUserNightwatchConfigs=(_0x1e314c,_0x533741)=>{const _0x3a49ab=a37_0xdc1d21,_0x418f98={'TnfUN':_0x3a49ab(0x1dd),'GtKhc':'nightwatch.json','kDmxv':function(_0x25b955,_0x487c55){return _0x25b955(_0x487c55);},'LqKTI':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x7ea199=null,_0x4ee0c4={};const _0x3daca4=_0x533741[_0x3a49ab(0x1e0)](_0x5cbbcf=>_0x5cbbcf===_0x3a49ab(0x1b0));if(!helper[_0x3a49ab(0x1e4)](_0x1e314c[_0x3a49ab(0x1d8)])&&fs[_0x3a49ab(0x1d5)](path['join'](process[_0x3a49ab(0x1be)](),_0x1e314c[_0x3a49ab(0x1d8)])))_0x7ea199=path[_0x3a49ab(0x1c0)](process['cwd'](),_0x1e314c[_0x3a49ab(0x1d8)]),_0x533741[_0x3a49ab(0x1d0)](_0x3daca4,0x2);else{if(fs['existsSync'](path[_0x3a49ab(0x1c0)](process['cwd'](),_0x418f98[_0x3a49ab(0x1bb)])))_0x7ea199=path[_0x3a49ab(0x1c0)](process[_0x3a49ab(0x1be)](),_0x418f98['TnfUN']);else fs[_0x3a49ab(0x1d5)](path['join'](process['cwd'](),_0x418f98['GtKhc']))&&(_0x7ea199=path[_0x3a49ab(0x1c0)](process[_0x3a49ab(0x1be)](),_0x418f98['GtKhc']));}return _0x7ea199?(logger['info'](_0x3a49ab(0x1db)+_0x7ea199),_0x4ee0c4=_0x418f98['kDmxv'](require,_0x7ea199)):logger['info'](_0x418f98[_0x3a49ab(0x1cf)]),_0x4ee0c4;},removeExistingEnvs=_0x395e8e=>{const _0x55dc05=a37_0xdc1d21,_0x2a75f4={};_0x2a75f4[_0x55dc05(0x1ec)]=function(_0xba278c,_0x55fbde){return _0xba278c>_0x55fbde;};const _0x7871aa=_0x2a75f4;let _0x46a987=_0x395e8e[_0x55dc05(0x1e0)](_0x4d5a6f=>_0x4d5a6f===_0x55dc05(0x1cc));_0x7871aa[_0x55dc05(0x1ec)](_0x46a987,-0x1)&&_0x395e8e['splice'](_0x46a987,0x2),_0x46a987=_0x395e8e[_0x55dc05(0x1e0)](_0x324d26=>_0x324d26==='-e'),_0x7871aa[_0x55dc05(0x1ec)](_0x46a987,-0x1)&&_0x395e8e[_0x55dc05(0x1d0)](_0x46a987,0x2);};function run(_0x4436d4,_0x31c06c,_0x2b19ff){const _0x4da166=a37_0xdc1d21,_0x4d3222={'LiRlj':_0x4da166(0x1c7),'JMgwS':function(_0x910802,_0x90e113){return _0x910802+_0x90e113;},'msGoj':'test_settings','mPHnE':function(_0x58fe33,_0x16cde7,_0x51918e){return _0x58fe33(_0x16cde7,_0x51918e);},'hIyDb':_0x4da166(0x1b7),'EEqvE':_0x4da166(0x1d2),'wrZvL':function(_0x32a8b4,_0x4751b4){return _0x32a8b4===_0x4751b4;},'ghalj':'nightwatch-browserstack.json','AaQNv':function(_0x5363c9,_0x172dd6){return _0x5363c9(_0x172dd6);},'KmvWe':function(_0x57ff5f,_0xe81ad7,_0x10ed23,_0x5af8e6){return _0x57ff5f(_0xe81ad7,_0x10ed23,_0x5af8e6);},'pIvQN':_0x4da166(0x1b8),'QzEoJ':_0x4da166(0x1b0),'XQlcD':'--env','GcCZO':'inherit','jwDtx':_0x4da166(0x1c6)};if(!_0x2b19ff[_0x4da166(0x1d8)])return;const _0x50a6ae=_0x4d3222[_0x4da166(0x1c8)](getUserNightwatchConfigs,_0x4436d4,_0x31c06c),_0x4e5bc6={};_0x4e5bc6['start_process']=![];const _0xf53d3={};_0xf53d3[_0x4da166(0x1bf)]=_0x4d3222['hIyDb'],_0xf53d3['port']=0x1bb;const _0x366aff={};_0x366aff[_0x4da166(0x1e8)]=_0x4e5bc6,_0x366aff[_0x4da166(0x1a4)]=_0xf53d3;const _0x59aaf3=_0x366aff;logger[_0x4da166(0x1e9)](_0x4d3222[_0x4da166(0x1a3)]);const _0x1b2fcf={..._0x50a6ae},_0x3682a4=_0x1b2fcf,_0x157f9b=helper[_0x4da166(0x1e1)](_0x2b19ff[_0x4da166(0x1d8)]),_0x366ac8=[];_0x2b19ff['config'][_0x4da166(0x1b2)][_0x4da166(0x1ba)]((_0x45e25b,_0x362d0f)=>{const _0x2e6263=_0x4da166;_0x157f9b?_0x366ac8[_0x2e6263(0x1ca)](helper['modifyBrowserStackW3CCaps'](_0x2b19ff[_0x2e6263(0x1d8)],_0x4d3222[_0x2e6263(0x1d4)],_0x362d0f)):_0x366ac8[_0x2e6263(0x1ca)](helper[_0x2e6263(0x1dc)](_0x2b19ff['config'],_0x4d3222[_0x2e6263(0x1d4)],_0x362d0f));});const _0x18af0a={},_0x4a86d5=[];_0x4436d4[_0x4da166(0x1d1)]=_0x4436d4[_0x4da166(0x1d1)]||_0x4436d4['e'];const _0xb66654=_0x4436d4[_0x4da166(0x1d1)]?_0x4436d4[_0x4da166(0x1d1)][_0x4da166(0x1a9)]()['split'](',')[_0x4da166(0x1c1)](_0x504c3c=>_0x504c3c[_0x4da166(0x1a9)]())[_0x4da166(0x1b5)](_0x3e9d01=>_0x3e9d01!==''):[''];_0x4d3222[_0x4da166(0x1d7)](_0xb66654[_0x4da166(0x1df)],0x0)&&_0xb66654[_0x4da166(0x1ca)]('');_0xb66654['forEach'](_0x172057=>{const _0x406754=_0x4da166,_0x534299={'eXfaE':function(_0x1ee091,_0x50017c){const _0x4c4cc4=a37_0x2688;return _0x4d3222[_0x4c4cc4(0x1ab)](_0x1ee091,_0x50017c);},'DhkKS':_0x4d3222[_0x406754(0x1a6)]};_0x366ac8[_0x406754(0x1ba)](_0x397700=>{const _0x3ece8a=_0x406754;let _0x54ca44=_0x534299[_0x3ece8a(0x1bc)](helper['getPlatformName'](_0x397700,'_'),'_'+Date['now']());_0x172057&&(_0x54ca44+='_'+_0x172057);if(_0x172057&&(!_0x50a6ae[_0x534299[_0x3ece8a(0x1b4)]]||!_0x50a6ae[_0x534299[_0x3ece8a(0x1b4)]][_0x172057]))return;const _0x189275={..._0x59aaf3};_0x189275[_0x3ece8a(0x1e6)]=_0x397700;const _0x3ec54d=_0x189275;_0x18af0a[_0x54ca44]=_0x172057?helper[_0x3ece8a(0x1ce)](_0x50a6ae[_0x534299['DhkKS']][_0x172057],_0x3ec54d):_0x3ec54d,_0x4a86d5[_0x3ece8a(0x1ca)](_0x54ca44);});});!_0x3682a4['test_settings']&&(_0x3682a4[_0x4da166(0x1cd)]={});_0x3682a4['test_settings']={..._0x3682a4[_0x4da166(0x1cd)],..._0x18af0a};const _0x212e66=path[_0x4da166(0x1c0)](__dirname,_0x4d3222[_0x4da166(0x1ad)]);fs[_0x4da166(0x1bd)](_0x212e66,JSON[_0x4da166(0x1c3)](_0x3682a4)),_0x4d3222['AaQNv'](removeExistingEnvs,_0x31c06c);const _0x5ed474=_0x4d3222[_0x4da166(0x1b9)](spawn,/^win/[_0x4da166(0x1ed)](process['platform'])?_0x4d3222[_0x4da166(0x1c9)]:_0x4d3222[_0x4da166(0x1d4)],[_0x4d3222[_0x4da166(0x1b6)],_0x212e66,..._0x31c06c[_0x4da166(0x1de)](0x1),_0x4d3222[_0x4da166(0x1c4)],_0x4a86d5[_0x4da166(0x1c0)](',')],{'stdio':_0x4d3222[_0x4da166(0x1ea)]});_0x5ed474['on'](_0x4d3222['jwDtx'],async _0x369e8d=>{const _0x437ffd=_0x4da166;logger[_0x437ffd(0x1e5)](_0x437ffd(0x1b3)+_0x369e8d),logger['info'](_0x437ffd(0x1d3)+_0x212e66),fs[_0x437ffd(0x1da)](_0x212e66);});}function a37_0x2688(_0x45b666,_0x20c1f8){const _0x3e6cd1=a37_0x3e6c();return a37_0x2688=function(_0x268848,_0x51c92c){_0x268848=_0x268848-0x1a3;let _0x41820b=_0x3e6cd1[_0x268848];return _0x41820b;},a37_0x2688(_0x45b666,_0x20c1f8);}module[a37_0xdc1d21(0x1d9)]=run;function a37_0x3e6c(){const _0x19a5ac=['1WFDcQo','ghalj','56cpdwRm','10SpCCAd','--config','311138jLLTMD','platforms','child\x20process\x20exited\x20with\x20code\x20','DhkKS','filter','QzEoJ','hub.browserstack.com','nightwatch.cmd','KmvWe','forEach','TnfUN','eXfaE','writeFileSync','cwd','host','join','map','1131792AyAVvy','stringify','XQlcD','342888zXeAkB','close','nightwatch','mPHnE','pIvQN','push','child_process','--env','test_settings','mergeDeep','LqKTI','splice','env','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','Deleting\x20','LiRlj','existsSync','12808zsXXCz','wrZvL','config','exports','unlinkSync','Getting\x20your\x20nightwatch\x20configs\x20from\x20','modifyBrowserStackCaps','nightwatch.conf.js','slice','length','findIndex','useW3C','../utils/constants','4998590DvRkFF','isUndefined','debug','desiredCapabilities','1742576puFXop','webdriver','info','GcCZO','758376zkVirP','PdYFB','test','EEqvE','selenium','../../helpers/helper','msGoj','../../helpers/logger','winstonLogger','trim','path','JMgwS'];a37_0x3e6c=function(){return _0x19a5ac;};return a37_0x3e6c();}
@@ -1 +1 @@
1
- const a38_0x288266=a38_0x1bc8;function a38_0x1bc8(_0x4901df,_0x37b587){const _0x333148=a38_0x3331();return a38_0x1bc8=function(_0x1bc841,_0x398769){_0x1bc841=_0x1bc841-0x10a;let _0x274522=_0x333148[_0x1bc841];return _0x274522;},a38_0x1bc8(_0x4901df,_0x37b587);}function a38_0x3331(){const _0x5c9c14=['Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','accessibilityPlatform','cHSkX','latest','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','yeDfB','xLDsL','scannerProcessingTimeout','iMuve','browserStackEvaluate','bZIcZ','__workerDetails','uBoNM','CqYCq','(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','oTQqe','1601188yBOdar','CHiXz','warn','../../helpers/performance/constants','6267YTAcPB','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','566016iBpOKC','ljqtL','connectOptions','util','accessibilityOptions','cIWeH','browserName','ViSkL','bestPractice','No\x20accessibility\x20results\x20were\x20found.','measureWrapper','614XQgppY','includeIssueType','use','parse','WebDriver','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','bstackSdkArgs','pFBKl','AZNEC','Performing\x20scan\x20with\x20method:\x20','xhCra','../../helpers/performance/performance-tester','wcagVersion','yvyAP','3597153IYPvGu','chrome','\x20page:\x20','env','USGyY','jyvrF','Wprxd','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','tEZxa','project','name','processAccessibilityCaps','accessibilityOptions.authToken','stringify','cErzv','performScan','needsReview','debug','jMZOz','deviceName','testInfo','shEnI','chromium','wsEndpoint','YEJld','browserStackExecuteDriver','ADvnI','accessibilityOptions.scannerVersion','5512122aYWvEo','scannerVersion','igLRD','15fxWsdd','accessibilityOptions.includeIssueType.needsReview','719777LziQSu','VJAce','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','acuTM','Playwright','accessibilityOptions.includeIssueType.bestPractice','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','../../helpers/accessibility-automation/scripts','RCTLk','command','jIoxI','setAccessibilityCapabilities','PERFORM_SCAN','KktLO','BS_A11Y_JWT','IHpYk','replace','../../helpers/logger','executeAsyncScript','workerInfo','(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','tIKTK','8DNAuPe','format','tXdUX','grXnF','accessibilityOptions.scannerProcessingTimeout','currentTest','15153710rCDUzC','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','url','bvGoo','browser','accessibilityOptions.wcagVersion','fzLpI','constructor','pvxnc','rrGcq','browser_version','getAccessibilityResultsSummary'];a38_0x3331=function(){return _0x5c9c14;};return a38_0x3331();}(function(_0x258467,_0x5492c4){const _0x588670=a38_0x1bc8,_0x336f1e=_0x258467();while(!![]){try{const _0x14bcec=parseInt(_0x588670(0x142))/0x1+-parseInt(_0x588670(0x113))/0x2*(parseInt(_0x588670(0x17e))/0x3)+parseInt(_0x588670(0x17a))/0x4+parseInt(_0x588670(0x140))/0x5*(parseInt(_0x588670(0x180))/0x6)+parseInt(_0x588670(0x121))/0x7+-parseInt(_0x588670(0x158))/0x8*(-parseInt(_0x588670(0x13d))/0x9)+-parseInt(_0x588670(0x15e))/0xa;if(_0x14bcec===_0x5492c4)break;else _0x336f1e['push'](_0x336f1e['shift']());}catch(_0x2278ae){_0x336f1e['push'](_0x336f1e['shift']());}}}(a38_0x3331,0x5aff5));const util=require(a38_0x288266(0x10b)),logger=require(a38_0x288266(0x153))['winstonLogger'],{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined,isBrowserstackInfra}=require('../../helpers/helper'),scripts=require(a38_0x288266(0x149)),PerformanceTester=require(a38_0x288266(0x11e)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a38_0x288266(0x17d));exports[a38_0x288266(0x173)]=async(_0x477b88,_0x3ebc2d,_0x59ac12={})=>{const _0x28291d=a38_0x288266,_0x355858={};_0x355858[_0x28291d(0x11a)]='bstackSdkArgs';const _0xef3b10=_0x355858;return await _0x477b88['evaluate'](_0x28291d(0x178)+_0x3ebc2d[_0x28291d(0x152)](/arguments/g,_0xef3b10[_0x28291d(0x11a)])+_0x28291d(0x128)+JSON[_0x28291d(0x12e)](_0x59ac12)+')');},exports[a38_0x288266(0x13a)]=async(_0x486c56,_0x34626d,_0x5f3486={})=>{const _0x846240=a38_0x288266,_0x1c8328={};_0x1c8328[_0x846240(0x139)]=function(_0x5af1c2,_0x41eb0a){return _0x5af1c2===_0x41eb0a;},_0x1c8328[_0x846240(0x11d)]=_0x846240(0x117),_0x1c8328['sKgtA']=function(_0xd1a290,_0x1cfefd){return _0xd1a290===_0x1cfefd;},_0x1c8328['jHbCK']=_0x846240(0x146),_0x1c8328[_0x846240(0x17b)]=_0x846240(0x119);const _0x54ea36=_0x1c8328;if(_0x54ea36[_0x846240(0x139)](_0x486c56[_0x846240(0x165)]['name'],_0x54ea36[_0x846240(0x11d)]))return await _0x486c56[_0x846240(0x154)](_0x34626d,_0x5f3486);else{if(_0x54ea36['sKgtA'](_0x486c56[_0x846240(0x165)][_0x846240(0x12b)],_0x54ea36['jHbCK']))return await _0x486c56['executeScript'](_0x846240(0x156)+_0x34626d[_0x846240(0x152)](/arguments/g,_0x54ea36[_0x846240(0x17b)])+_0x846240(0x17f)+JSON[_0x846240(0x12e)](_0x5f3486)+')');}},exports[a38_0x288266(0x14d)]=async _0x48693d=>{const _0x5885df=a38_0x288266,_0x4e2fc6={};_0x4e2fc6[_0x5885df(0x10d)]=_0x5885df(0x163),_0x4e2fc6[_0x5885df(0x133)]=_0x5885df(0x15c),_0x4e2fc6[_0x5885df(0x170)]=_0x5885df(0x147),_0x4e2fc6[_0x5885df(0x167)]=_0x5885df(0x141),_0x4e2fc6[_0x5885df(0x172)]=_0x5885df(0x12d),_0x4e2fc6['ViSkL']=_0x5885df(0x13c);const _0x26778c=_0x4e2fc6;_0x48693d[_0x5885df(0x10c)]&&(_0x48693d['accessibilityOptions'][_0x5885df(0x11f)]&&(_0x48693d[_0x26778c['cIWeH']]=_0x48693d[_0x5885df(0x10c)]['wcagVersion']),_0x48693d[_0x5885df(0x10c)][_0x5885df(0x171)]&&(_0x48693d[_0x26778c[_0x5885df(0x133)]]=_0x48693d['accessibilityOptions'][_0x5885df(0x171)]),_0x48693d[_0x5885df(0x10c)][_0x5885df(0x114)]&&(_0x48693d[_0x26778c['xLDsL']]=_0x48693d['accessibilityOptions']['includeIssueType'][_0x5885df(0x110)],_0x48693d[_0x26778c[_0x5885df(0x167)]]=_0x48693d[_0x5885df(0x10c)]['includeIssueType'][_0x5885df(0x131)]));const _0x1d4186=JSON[_0x5885df(0x116)](process[_0x5885df(0x124)][_0x5885df(0x15f)])[_0x5885df(0x13e)];_0x48693d[_0x26778c['iMuve']]=process['env'][_0x5885df(0x150)],_0x48693d[_0x26778c[_0x5885df(0x10f)]]=_0x1d4186,delete _0x48693d[_0x5885df(0x10c)];},exports['getAccessibilityResults']=async _0x4e02a2=>{const _0x4ec343=a38_0x288266,_0x47e5cc={};_0x47e5cc['cErzv']=_0x4ec343(0x111),_0x47e5cc[_0x4ec343(0x174)]=_0x4ec343(0x144);const _0x2cd599=_0x47e5cc;if(global[_0x4ec343(0x16b)])try{const details={'url':await _0x4e02a2.url(),'testhub_btcer_uuid':global.__workerDetails?.currentTest?.id};logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x4e02a2,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x4e02a2,scripts.getResults);},{...details})();return res;}catch{return logger['error'](_0x2cd599[_0x4ec343(0x12f)]),[];}else return logger['warn'](_0x2cd599[_0x4ec343(0x174)]),[];},exports[a38_0x288266(0x130)]=async(_0x202cec,_0x4c4491='')=>{const _0x12471f=a38_0x288266;logger[_0x12471f(0x132)](_0x12471f(0x11c)+_0x4c4491+_0x12471f(0x123)+_0x202cec);const _0x482fdf={'url':await _0x202cec[_0x12471f(0x160)](),'testhub_btcer_uuid':global[_0x12471f(0x175)]?.[_0x12471f(0x15d)]?.['id']};if(global[_0x12471f(0x16b)])return await PerformanceTester[_0x12471f(0x112)](PerformanceA11yEvents[_0x12471f(0x14e)],async()=>{const _0x92eb84=_0x12471f,_0x1fc4c9={};_0x1fc4c9[_0x92eb84(0x14b)]=_0x4c4491;const _0x4fbb3d=await exports[_0x92eb84(0x173)](_0x202cec,scripts['performScan'],_0x1fc4c9);return _0x4fbb3d;},{'command':_0x4c4491,..._0x482fdf})();},exports[a38_0x288266(0x169)]=async _0x3df015=>{const _0x2eab3e=a38_0x288266,_0x310252={};_0x310252['jIoxI']='No\x20summaryResults\x20found.',_0x310252[_0x2eab3e(0x11b)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x544eac=_0x310252;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(_0x3df015,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x3df015,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x2eab3e(0x132)](_0x544eac[_0x2eab3e(0x14c)]),{};}else return logger['warn'](_0x544eac[_0x2eab3e(0x11b)]),{};},exports['platformValidation']=async _0x16d602=>{const _0x51cb84=a38_0x288266,_0x262368={'tXdUX':function(_0x3a074c,_0x4b3a59){return _0x3a074c!==_0x4b3a59;},'bvGoo':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','pvxnc':_0x51cb84(0x122),'rfzWH':'playwright-chromium','CqYCq':_0x51cb84(0x137),'ljqtL':_0x51cb84(0x148),'jyvrF':function(_0x1f3da7,_0xf78765){return _0x1f3da7(_0xf78765);},'VJAce':function(_0x8cc330){return _0x8cc330();},'ADvnI':function(_0x20b91d,_0xab4917){return _0x20b91d<_0xab4917;},'Wprxd':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','RCTLk':function(_0x2774c8,_0x546b21){return _0x2774c8===_0x546b21;},'oTQqe':'latest','cHSkX':function(_0xe95aee,_0x1e2afc){return _0xe95aee>_0x1e2afc;},'grXnF':_0x51cb84(0x16e)};try{if(!_0x262368[_0x51cb84(0x15a)](_0x16d602[_0x51cb84(0x134)],''))return logger[_0x51cb84(0x17c)](_0x262368[_0x51cb84(0x161)]),![];const _0x3d1d69=_0x16d602[_0x51cb84(0x162)];if(![_0x262368[_0x51cb84(0x166)],_0x262368['rfzWH'],_0x262368[_0x51cb84(0x177)]]['includes'](_0x3d1d69))return logger[_0x51cb84(0x17c)](_0x262368[_0x51cb84(0x181)]),![];const _0x56ca8e=_0x262368[_0x51cb84(0x126)](parseInt,_0x16d602[_0x51cb84(0x168)]);!_0x262368[_0x51cb84(0x143)](isBrowserstackInfra)&&(!_0x262368[_0x51cb84(0x13b)](_0x56ca8e,0x64)&&logger[_0x51cb84(0x17c)](_0x262368[_0x51cb84(0x127)]));if(!(_0x262368[_0x51cb84(0x14a)](_0x56ca8e,_0x262368[_0x51cb84(0x179)])||_0x262368[_0x51cb84(0x16c)](_0x56ca8e,0x5e)))return logger[_0x51cb84(0x17c)](_0x262368[_0x51cb84(0x15b)]),![];}catch(_0x3b89e4){logger[_0x51cb84(0x132)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util['format'](_0x3b89e4));}return!![];},exports[a38_0x288266(0x12c)]=(_0x4b243a,_0x54309d,_0x2e2d0a)=>{const _0x19b1dc=a38_0x288266,_0x4f7b36={'IHpYk':function(_0x1020a1){return _0x1020a1();},'yvyAP':'browserstack.accessibility','igLRD':function(_0x11b9cc,_0x1daf41){return _0x11b9cc===_0x1daf41;},'yeDfB':_0x19b1dc(0x122),'acuTM':'playwright-chromium','cmKhV':function(_0x469221,_0x7528ee){return _0x469221===_0x7528ee;},'USGyY':_0x19b1dc(0x148),'shEnI':function(_0x5c11fa,_0x1a3621){return _0x5c11fa>_0x1a3621;},'uBoNM':_0x19b1dc(0x16a),'GigfV':_0x19b1dc(0x16d),'tIKTK':_0x19b1dc(0x16e),'KktLO':function(_0xb5f623,_0xb1a4ff){return _0xb5f623(_0xb1a4ff);},'tEZxa':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','fzLpI':function(_0x7ae03f,_0x1e089c){return _0x7ae03f+_0x1e089c;},'flmCj':function(_0xd45fde,_0x416f90){return _0xd45fde(_0x416f90);}};try{if(_0x4f7b36['IHpYk'](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0x4b243a[_0x4f7b36['yvyAP']]&&(global['accessibilityPlatform']=![]);!(_0x4f7b36[_0x19b1dc(0x13f)](_0x4b243a[_0x19b1dc(0x10e)],_0x4f7b36[_0x19b1dc(0x16f)])||_0x4f7b36[_0x19b1dc(0x13f)](_0x4b243a['browserName'],_0x4f7b36[_0x19b1dc(0x145)])||_0x4f7b36['igLRD'](_0x4b243a['browser'],_0x4f7b36[_0x19b1dc(0x16f)])||_0x4f7b36['cmKhV'](_0x4b243a[_0x19b1dc(0x162)],_0x4f7b36[_0x19b1dc(0x145)]))&&(logger[_0x19b1dc(0x17c)](_0x4f7b36[_0x19b1dc(0x125)]),global['accessibilityPlatform']=![]);!_0x4f7b36[_0x19b1dc(0x151)](isBrowserstackInfra)&&(!_0x4f7b36['shEnI'](_0x4b243a[_0x19b1dc(0x168)],0x64)&&logger[_0x19b1dc(0x17c)](_0x4f7b36[_0x19b1dc(0x176)]));!(_0x4f7b36['cmKhV'](_0x4b243a[_0x19b1dc(0x168)],_0x4f7b36['GigfV'])||_0x4f7b36[_0x19b1dc(0x136)](_0x4b243a[_0x19b1dc(0x168)],0x5e))&&(logger[_0x19b1dc(0x17c)](_0x4f7b36[_0x19b1dc(0x157)]),global[_0x19b1dc(0x16b)]=![]);!_0x4f7b36[_0x19b1dc(0x14f)](isUndefined,_0x4b243a[_0x19b1dc(0x134)])&&(logger[_0x19b1dc(0x17c)](_0x4f7b36[_0x19b1dc(0x129)]),global[_0x19b1dc(0x16b)]=![]);if(!global['accessibilityPlatform']){_0x4b243a[_0x4f7b36[_0x19b1dc(0x120)]]=![];const _0x549189=_0x4f7b36[_0x19b1dc(0x164)](_0x54309d,_0x4f7b36['flmCj'](encodeURIComponent,JSON[_0x19b1dc(0x12e)](_0x4b243a)));_0x2e2d0a&&(_0x2e2d0a[_0x19b1dc(0x15d)][_0x19b1dc(0x135)][_0x19b1dc(0x12a)][_0x19b1dc(0x115)][_0x19b1dc(0x10a)][_0x19b1dc(0x138)]=_0x549189,_0x2e2d0a[_0x19b1dc(0x155)][_0x19b1dc(0x12a)]['use'][_0x19b1dc(0x10a)][_0x19b1dc(0x138)]=_0x549189);}}else global[_0x19b1dc(0x16b)]=![];}catch(_0x2205a3){logger[_0x19b1dc(0x132)](_0x19b1dc(0x118)+util[_0x19b1dc(0x159)](_0x2205a3));}};
1
+ function a38_0x3361(_0x522f10,_0x498ea7){const _0x5f5951=a38_0x5f59();return a38_0x3361=function(_0x33617c,_0x1207fe){_0x33617c=_0x33617c-0x75;let _0x4ed741=_0x5f5951[_0x33617c];return _0x4ed741;},a38_0x3361(_0x522f10,_0x498ea7);}const a38_0x37f436=a38_0x3361;(function(_0x217887,_0x4ac671){const _0x35a370=a38_0x3361,_0x169053=_0x217887();while(!![]){try{const _0x45fcf1=-parseInt(_0x35a370(0x9c))/0x1*(parseInt(_0x35a370(0xd9))/0x2)+parseInt(_0x35a370(0xbe))/0x3+parseInt(_0x35a370(0xe7))/0x4+-parseInt(_0x35a370(0xdf))/0x5*(-parseInt(_0x35a370(0xc9))/0x6)+parseInt(_0x35a370(0xef))/0x7*(-parseInt(_0x35a370(0x7c))/0x8)+parseInt(_0x35a370(0xa2))/0x9*(parseInt(_0x35a370(0xac))/0xa)+-parseInt(_0x35a370(0xee))/0xb;if(_0x45fcf1===_0x4ac671)break;else _0x169053['push'](_0x169053['shift']());}catch(_0x5c8cb1){_0x169053['push'](_0x169053['shift']());}}}(a38_0x5f59,0x4404c));const util=require('util'),logger=require('../../helpers/logger')[a38_0x37f436(0xa6)],{isAccessibilityAutomationSession}=require(a38_0x37f436(0xb9)),{isUndefined,isBrowserstackInfra}=require(a38_0x37f436(0x87)),scripts=require(a38_0x37f436(0xb0)),PerformanceTester=require(a38_0x37f436(0xe2)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a38_0x37f436(0x89));function a38_0x5f59(){const _0x3e06ca=['QTviI','project','mhvqM','../../helpers/accessibility-automation/helper','wVjRm','vBiGe','Exhak','cprau','313470lDKwax','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','TUDat','command','ixnKx','setAccessibilityCapabilities','eEnZF','env','PERFORM_SCAN','WebDriver','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','48zcnGBq','evaluate','processAccessibilityCaps','anNnE','browserStackExecuteDriver','jueie','gsywx','stringify','accessibilityOptions.authToken','lUvog','accessibilityPlatform','BS_A11Y_JWT','bestPractice','ORibK','JpbRD','Playwright','10DOqwWv','bstackSdkArgs','deviceName','playwright-chromium','getAccessibilityResultsSummary','currentTest','135530lzMMpy','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','name','../../helpers/performance/performance-tester','ejtLe','performScan','latest','executeAsyncScript','1699408TtycXV','debug','constructor','No\x20summaryResults\x20found.','browserStackEvaluate','WrHbO','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','2391037biMNpi','77WEggsv','mtndI','replace','browser','PqqjR','wRCpS','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','includeIssueType','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','hfFwV','connectOptions','use','chrome','143432YaQJaT','(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','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','scannerVersion','Fxuly','accessibilityOptions.scannerProcessingTimeout','browser_version','accessibilityOptions.includeIssueType.bestPractice','DgRte','RODHz','executeScript','../../helpers/helper','getAccessibilityResults','../../helpers/performance/constants','parse','scannerProcessingTimeout','AVsLI','workerInfo','dqLAx','__workerDetails','error','zqgWk','includes','txOrX','bEJlR','vAriP','ZMdPA','oIRcN','WoVzU','wcagVersion','Emuun','vUrRp','98726XPGlAU','platformValidation','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','browserName','chromium','zkuPB','5706thyxhn','No\x20accessibility\x20results\x20were\x20found.','needsReview','zFjZz','winstonLogger','accessibilityOptions.wcagVersion','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','url','EoYLv','accessibilityOptions.scannerVersion','6950oEFhgy','pdtvB','TJiaC','accessibilityOptions','../../helpers/accessibility-automation/scripts','warn','RNuBz','format','ozynO','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.'];a38_0x5f59=function(){return _0x3e06ca;};return a38_0x5f59();}exports[a38_0x37f436(0xeb)]=async(_0x1ea988,_0x5b1ab2,_0x2c0782={})=>{const _0x4286c6=a38_0x37f436,_0x207b6e={};_0x207b6e['KhWaD']='bstackSdkArgs';const _0x4a5a59=_0x207b6e;return await _0x1ea988[_0x4286c6(0xca)]('(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'+_0x5b1ab2[_0x4286c6(0xf1)](/arguments/g,_0x4a5a59['KhWaD'])+_0x4286c6(0x7e)+JSON[_0x4286c6(0xd0)](_0x2c0782)+')');},exports[a38_0x37f436(0xcd)]=async(_0x32a011,_0x3ebb6a,_0x22f683={})=>{const _0x388da9=a38_0x37f436,_0x17909b={};_0x17909b[_0x388da9(0xec)]=function(_0x4a3878,_0x4bc027){return _0x4a3878===_0x4bc027;},_0x17909b['RNuBz']=_0x388da9(0xc7),_0x17909b[_0x388da9(0x96)]=_0x388da9(0xd8),_0x17909b[_0x388da9(0x85)]=_0x388da9(0xda);const _0x48c115=_0x17909b;if(_0x48c115[_0x388da9(0xec)](_0x32a011[_0x388da9(0xe9)]['name'],_0x48c115[_0x388da9(0xb2)]))return await _0x32a011[_0x388da9(0xe6)](_0x3ebb6a,_0x22f683);else{if(_0x48c115[_0x388da9(0xec)](_0x32a011[_0x388da9(0xe9)][_0x388da9(0xe1)],_0x48c115[_0x388da9(0x96)]))return await _0x32a011[_0x388da9(0x86)](_0x388da9(0x7d)+_0x3ebb6a[_0x388da9(0xf1)](/arguments/g,_0x48c115[_0x388da9(0x85)])+_0x388da9(0x77)+JSON[_0x388da9(0xd0)](_0x22f683)+')');}},exports[a38_0x37f436(0xc3)]=async _0x33546c=>{const _0x530aee=a38_0x37f436,_0xa32a07={};_0xa32a07[_0x530aee(0xcf)]=_0x530aee(0xa7),_0xa32a07[_0x530aee(0xb8)]=_0x530aee(0x81),_0xa32a07[_0x530aee(0xd7)]=_0x530aee(0x83),_0xa32a07['Fxuly']='accessibilityOptions.includeIssueType.needsReview',_0xa32a07[_0x530aee(0xce)]=_0x530aee(0xd1),_0xa32a07[_0x530aee(0x97)]=_0x530aee(0xab);const _0x58129d=_0xa32a07;_0x33546c[_0x530aee(0xaf)]&&(_0x33546c[_0x530aee(0xaf)][_0x530aee(0x99)]&&(_0x33546c[_0x58129d[_0x530aee(0xcf)]]=_0x33546c[_0x530aee(0xaf)][_0x530aee(0x99)]),_0x33546c[_0x530aee(0xaf)][_0x530aee(0x8b)]&&(_0x33546c[_0x58129d[_0x530aee(0xb8)]]=_0x33546c[_0x530aee(0xaf)][_0x530aee(0x8b)]),_0x33546c[_0x530aee(0xaf)][_0x530aee(0x76)]&&(_0x33546c[_0x58129d[_0x530aee(0xd7)]]=_0x33546c[_0x530aee(0xaf)][_0x530aee(0x76)][_0x530aee(0xd5)],_0x33546c[_0x58129d[_0x530aee(0x80)]]=_0x33546c[_0x530aee(0xaf)][_0x530aee(0x76)][_0x530aee(0xa4)]));const _0x5b63eb=JSON[_0x530aee(0x8a)](process[_0x530aee(0xc5)][_0x530aee(0xa8)])[_0x530aee(0x7f)];_0x33546c[_0x58129d[_0x530aee(0xce)]]=process[_0x530aee(0xc5)][_0x530aee(0xd4)],_0x33546c[_0x58129d[_0x530aee(0x97)]]=_0x5b63eb,delete _0x33546c[_0x530aee(0xaf)];},exports[a38_0x37f436(0x88)]=async _0x47e886=>{const _0x839a90=a38_0x37f436,_0x99d73f={};_0x99d73f[_0x839a90(0xd2)]=_0x839a90(0xa3),_0x99d73f[_0x839a90(0x9b)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.';const _0x4bf23d=_0x99d73f;if(global[_0x839a90(0xd3)])try{const details={'url':await _0x47e886.url(),'testhub_btcer_uuid':global.__workerDetails?.currentTest?.id};logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x47e886,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x47e886,scripts.getResults);},{...details})();return res;}catch{return logger[_0x839a90(0x90)](_0x4bf23d['lUvog']),[];}else return logger[_0x839a90(0xb1)](_0x4bf23d[_0x839a90(0x9b)]),[];},exports[a38_0x37f436(0xe4)]=async(_0x180c1f,_0x3a10a7='')=>{const _0x35941d=a38_0x37f436;logger[_0x35941d(0xe8)]('Performing\x20scan\x20with\x20method:\x20'+_0x3a10a7+'\x20page:\x20'+_0x180c1f);const _0x431454={'url':await _0x180c1f[_0x35941d(0xa9)](),'testhub_btcer_uuid':global[_0x35941d(0x8f)]?.[_0x35941d(0xde)]?.['id']};if(global[_0x35941d(0xd3)])return await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x35941d(0xc6)],async()=>{const _0x44d420=_0x35941d,_0x1b9553={};_0x1b9553[_0x44d420(0xc1)]=_0x3a10a7;const _0xba03e1=await exports[_0x44d420(0xeb)](_0x180c1f,scripts[_0x44d420(0xe4)],_0x1b9553);return _0xba03e1;},{'command':_0x3a10a7,..._0x431454})();},exports[a38_0x37f436(0xdd)]=async _0x4a82ee=>{const _0x1dc778=a38_0x37f436,_0x1a067f={};_0x1a067f['qKruK']=_0x1dc778(0xea),_0x1a067f[_0x1dc778(0xa1)]=_0x1dc778(0xed);const _0x4ca80a=_0x1a067f;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(_0x4a82ee,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x4a82ee,scripts.getResultsSummary);})();return summaryResults;}catch{return logger['debug'](_0x4ca80a['qKruK']),{};}else return logger[_0x1dc778(0xb1)](_0x4ca80a[_0x1dc778(0xa1)]),{};},exports[a38_0x37f436(0x9d)]=async _0x4e78cd=>{const _0x560b72=a38_0x37f436,_0x25faaa={'ORibK':function(_0xed7e53,_0x4eef0b){return _0xed7e53!==_0x4eef0b;},'JTHlF':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','eEnZF':_0x560b72(0x7b),'zqgWk':_0x560b72(0xdc),'WoVzU':_0x560b72(0xa0),'cprau':_0x560b72(0xc8),'QTviI':function(_0x36482c,_0x51b3ba){return _0x36482c(_0x51b3ba);},'wVjRm':function(_0x4dd43e){return _0x4dd43e();},'TUDat':function(_0x2f1290,_0x47b170){return _0x2f1290<_0x47b170;},'Exhak':_0x560b72(0x9e),'EoYLv':function(_0x4e4ced,_0x404552){return _0x4e4ced===_0x404552;},'ozynO':'latest','niqwL':function(_0x47660c,_0x26fb1e){return _0x47660c>_0x26fb1e;},'txOrX':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0x25faaa[_0x560b72(0xd6)](_0x4e78cd[_0x560b72(0xdb)],''))return logger[_0x560b72(0xb1)](_0x25faaa['JTHlF']),![];const _0x3fc1f1=_0x4e78cd[_0x560b72(0xf2)];if(![_0x25faaa[_0x560b72(0xc4)],_0x25faaa[_0x560b72(0x91)],_0x25faaa[_0x560b72(0x98)]][_0x560b72(0x92)](_0x3fc1f1))return logger['warn'](_0x25faaa[_0x560b72(0xbd)]),![];const _0x114a04=_0x25faaa[_0x560b72(0xb6)](parseInt,_0x4e78cd[_0x560b72(0x82)]);!_0x25faaa[_0x560b72(0xba)](isBrowserstackInfra)&&(!_0x25faaa[_0x560b72(0xc0)](_0x114a04,0x64)&&logger['warn'](_0x25faaa[_0x560b72(0xbc)]));if(!(_0x25faaa[_0x560b72(0xaa)](_0x114a04,_0x25faaa[_0x560b72(0xb4)])||_0x25faaa['niqwL'](_0x114a04,0x5e)))return logger[_0x560b72(0xb1)](_0x25faaa[_0x560b72(0x93)]),![];}catch(_0x2796ab){logger[_0x560b72(0xe8)](_0x560b72(0x75)+util['format'](_0x2796ab));}return!![];},exports[a38_0x37f436(0xcb)]=(_0x4ff0bc,_0x52394d,_0x17687c)=>{const _0x24f350=a38_0x37f436,_0xdafe9b={'Emuun':function(_0x1ffe58){return _0x1ffe58();},'dqLAx':'browserstack.accessibility','mtndI':function(_0x2a1a9b,_0x3ce3ea){return _0x2a1a9b===_0x3ce3ea;},'anNnE':_0x24f350(0x7b),'ejtLe':function(_0x14f7b6,_0x3c7873){return _0x14f7b6===_0x3c7873;},'srodf':'playwright-chromium','PqqjR':function(_0x4aba22,_0x1087e3){return _0x4aba22===_0x1087e3;},'DgRte':_0x24f350(0xc8),'bEJlR':function(_0x85c1a6,_0x101ca3){return _0x85c1a6>_0x101ca3;},'hfFwV':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','pdtvB':function(_0x4eae17,_0x17beda){return _0x4eae17===_0x17beda;},'ixnKx':_0x24f350(0xe5),'vBiGe':function(_0x147d1c,_0x9dbbe2){return _0x147d1c>_0x9dbbe2;},'TJiaC':_0x24f350(0xe0),'wRCpS':function(_0x411d84,_0x4889a5){return _0x411d84(_0x4889a5);},'AVsLI':_0x24f350(0xb5),'vAriP':function(_0x18808e,_0x13d4ae){return _0x18808e+_0x13d4ae;},'zFjZz':function(_0x4f9042,_0x5351ba){return _0x4f9042(_0x5351ba);}};try{if(_0xdafe9b[_0x24f350(0x9a)](isAccessibilityAutomationSession)){global[_0x24f350(0xd3)]=!![];!_0x4ff0bc[_0xdafe9b[_0x24f350(0x8e)]]&&(global['accessibilityPlatform']=![]);!(_0xdafe9b[_0x24f350(0xf0)](_0x4ff0bc[_0x24f350(0x9f)],_0xdafe9b[_0x24f350(0xcc)])||_0xdafe9b[_0x24f350(0xe3)](_0x4ff0bc[_0x24f350(0x9f)],_0xdafe9b['srodf'])||_0xdafe9b['ejtLe'](_0x4ff0bc['browser'],_0xdafe9b[_0x24f350(0xcc)])||_0xdafe9b[_0x24f350(0xf3)](_0x4ff0bc[_0x24f350(0xf2)],_0xdafe9b['srodf']))&&(logger[_0x24f350(0xb1)](_0xdafe9b[_0x24f350(0x84)]),global[_0x24f350(0xd3)]=![]);!_0xdafe9b[_0x24f350(0x9a)](isBrowserstackInfra)&&(!_0xdafe9b[_0x24f350(0x94)](_0x4ff0bc[_0x24f350(0x82)],0x64)&&logger[_0x24f350(0xb1)](_0xdafe9b[_0x24f350(0x78)]));!(_0xdafe9b[_0x24f350(0xad)](_0x4ff0bc['browser_version'],_0xdafe9b[_0x24f350(0xc2)])||_0xdafe9b[_0x24f350(0xbb)](_0x4ff0bc[_0x24f350(0x82)],0x5e))&&(logger[_0x24f350(0xb1)](_0xdafe9b[_0x24f350(0xae)]),global['accessibilityPlatform']=![]);!_0xdafe9b[_0x24f350(0xf4)](isUndefined,_0x4ff0bc['deviceName'])&&(logger[_0x24f350(0xb1)](_0xdafe9b[_0x24f350(0x8c)]),global[_0x24f350(0xd3)]=![]);if(!global['accessibilityPlatform']){_0x4ff0bc[_0xdafe9b['dqLAx']]=![];const _0x340c24=_0xdafe9b[_0x24f350(0x95)](_0x52394d,_0xdafe9b[_0x24f350(0xa5)](encodeURIComponent,JSON[_0x24f350(0xd0)](_0x4ff0bc)));_0x17687c&&(_0x17687c[_0x24f350(0xde)]['testInfo'][_0x24f350(0xb7)][_0x24f350(0x7a)]['connectOptions']['wsEndpoint']=_0x340c24,_0x17687c[_0x24f350(0x8d)][_0x24f350(0xb7)][_0x24f350(0x7a)][_0x24f350(0x79)]['wsEndpoint']=_0x340c24);}}else global[_0x24f350(0xd3)]=![];}catch(_0x495e84){logger[_0x24f350(0xe8)](_0x24f350(0xbf)+util[_0x24f350(0xb3)](_0x495e84));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a39_0x22d653=a39_0x4641;(function(_0x8132d0,_0x4142fa){const _0x3fb12d=a39_0x4641,_0x5ee4e6=_0x8132d0();while(!![]){try{const _0x39c031=-parseInt(_0x3fb12d(0x124))/0x1*(-parseInt(_0x3fb12d(0x12d))/0x2)+-parseInt(_0x3fb12d(0x10a))/0x3*(-parseInt(_0x3fb12d(0x143))/0x4)+parseInt(_0x3fb12d(0x10d))/0x5+parseInt(_0x3fb12d(0x1a3))/0x6+-parseInt(_0x3fb12d(0x194))/0x7+parseInt(_0x3fb12d(0x139))/0x8+parseInt(_0x3fb12d(0x190))/0x9*(-parseInt(_0x3fb12d(0x19d))/0xa);if(_0x39c031===_0x4142fa)break;else _0x5ee4e6['push'](_0x5ee4e6['shift']());}catch(_0x203df0){_0x5ee4e6['push'](_0x5ee4e6['shift']());}}}(a39_0x1bf5,0x5de03));function a39_0x1bf5(){const _0x1e9f2e=['playwright','cliConfig','../../helpers/performance/performance-tester','./accessibility-helper','skipSessionName','reportFinalDetectionState','../../helpers/BrowserStackSetup','rgiiy','../../helpers/performance/constants','../../helpers/utilities','BROWSERSTACK_AUTOMATION','UQkgE','Error\x20in\x20deleting\x20playwright\x20results','yePIC','LvpCS','DJEcV','error','getConfig','dehcR','slice','stop','clearTempPWConfig','push','Error\x20in\x20getting\x20funnel\x20data\x20results','QxWyy','shutdown','fBJmb','getPackageType','concat','getInstance','measureWrapper','existsSync','346392fEZpNb','zIZNb','VxWcz','Proxy\x20url\x20:\x20','4812514gQzksX','mtYiD','unlinkSync','child_process','homedir','GexyC','gPBeC','isTypescriptProject','tDirM','230VABwQM','browserstackAutomation','EVENTS','false','pw_result.json','iLesv','2295108iPJSJl','USER_CONFIG_DETAILS_PATH','../../helpers/test-observability/utils','map','config','writeFileSync','SDK_SETUP','split','apply','platform','launchBuild','hZqYL','winstonLogger','getConfigPath','join','playwright-browserstack-sdk.config.cjs','PLAYWRIGHT','QyPTa','upHaX','cwd','isFalse','testObservability','get','forEach','inherit','155199FBNlLB','JwLiz','GKzsJ','3222295evYcrF','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20process.env.GLOBAL_AGENT_NO_PROXY=\x22','dqDZa','logLevel','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','--config','./reporter/test-details','TWEVy','isRunning','SDK_POST_INITIALIZE','WXuGl','finalExecution','QKOeA','XEDWS','initialize','findIndex','WCRAq','readdirSync','../../helpers/testhub/testhubHandler','test','info','--config=','filterBrowserstackArgs','1UWzIeI','iSCtB','win32','BAZan','close','../v2/browserstackCLI','../v2/cliUtils','Updated\x20config\x20file\x20name\x20to\x20-\x20','BROWSERSTACK_TEST_ACCESSIBILITY_YML','15398DAdaET','browserstackSetupConfig.json','resolvedConfigFile','skipSessionStatus','.browserstack','QHmnQ','TUZVC','testContextOptions','IYFoN','LTTFR','BROWSERSTACK_TEST_OBSERVABILITY','bootstrap','2000288OEIVzN','indexOf','Deleting\x20','filter','Error\x20in\x20closing\x20playwright','NVIur','splice','errorMessage','dirname','YXoys','52oVvgVM','debug','Playwright\x20process\x20exited\x20with\x20code\x20','VpBns','bupxd','LIWFx','../../helpers/accessibility-automation/helper','BcpIB','--grep','../v2/TestInfo','../../helpers/logger','resolve','BrowserStack\x20config\x20file\x20not\x20found.','readFileSync','WsxAn','tRbdY','serializeToYamlString','BROWSERSTACK_RERUN','--disable-browserstack-automation','rXexa','has','trim','end','hJsjq','BROWSERSTACK_PW_CONFIG_DIR','./reporter/pwUtils','trace_','npx','setBrowserstackConfig','--disable-test-observability','startsWith','accessibility','PACKAGE_TYPE','exports','path','DbYmW','util','isTrue','accessibilityOptions','../utils/clientTroubleshootingService','wnMhv','\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();','isUndefined','env','getNoProxy'];a39_0x1bf5=function(){return _0x1e9f2e;};return a39_0x1bf5();}function a39_0x4641(_0x53fd3a,_0x57fd37){const _0x1bf5ca=a39_0x1bf5();return a39_0x4641=function(_0x464182,_0x3471dd){_0x464182=_0x464182-0x107;let _0x4e4d8d=_0x1bf5ca[_0x464182];return _0x4e4d8d;},a39_0x4641(_0x53fd3a,_0x57fd37);}const fs=require('fs'),path=require(a39_0x22d653(0x165)),{spawn}=require(a39_0x22d653(0x197)),{format}=require(a39_0x22d653(0x167)),logger=require(a39_0x22d653(0x14d))[a39_0x22d653(0x1af)],{default:BrowserStackSetup}=require(a39_0x22d653(0x176)),helper=require('../../helpers/helper'),utilities=require(a39_0x22d653(0x179)),constants=require('../utils/constants'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getConfigLoaderPath}=require(a39_0x22d653(0x15c)),{checkAccessibilityPlatformConfig}=require(a39_0x22d653(0x149)),{setAccessibilityCapabilities}=require(a39_0x22d653(0x173)),{printBuildLink}=require(a39_0x22d653(0x1a5)),TestDetails=require(a39_0x22d653(0x113)),TestHubHandler=require(a39_0x22d653(0x11f)),PerformanceTester=require(a39_0x22d653(0x172)),BrowserstackCLI=require(a39_0x22d653(0x129)),PerformanceEvents=require(a39_0x22d653(0x178))[a39_0x22d653(0x19f)],CLIUtils=require(a39_0x22d653(0x12a)),TestInfo=require(a39_0x22d653(0x14c)),ClientTroubleShootingService=require(a39_0x22d653(0x16a)),getUserPlaywrightConfig=async(_0x3d69f6,_0x7162a3)=>{const _0x256ee6=a39_0x22d653,_0x4d1f26={'IYFoN':function(_0x4759e2){return _0x4759e2();},'bupxd':function(_0x429eeb,_0xdae8e8){return _0x429eeb(_0xdae8e8);},'hJsjq':function(_0x23b6e5,_0x3be8b1){return _0x23b6e5(_0x3be8b1);},'SYQCE':_0x256ee6(0x12f),'VpBns':_0x256ee6(0x122)},_0x2d3731=!helper[_0x256ee6(0x16d)](_0x3d69f6[_0x256ee6(0x1a7)]),_0xad2639=_0x2d3731?path[_0x256ee6(0x14e)](process[_0x256ee6(0x1b6)](),_0x3d69f6[_0x256ee6(0x1a7)]):process[_0x256ee6(0x1b6)](),{resolveConfigFile:_0x709c16,resolveConfigLocation:_0x1b07b3}=helper['requirePWModule'][_0x256ee6(0x1ab)](null,_0x4d1f26[_0x256ee6(0x135)](getConfigLoaderPath)),_0x54a9a3=_0x709c16?_0x4d1f26[_0x256ee6(0x147)](_0x709c16,_0xad2639):helper['nestedKeyValue'](_0x4d1f26[_0x256ee6(0x15a)](_0x1b07b3,_0xad2639),[_0x4d1f26['SYQCE']]),_0x49536f={};if(_0x2d3731){const _0x4d833a=_0x7162a3[_0x256ee6(0x11c)](_0x4b0a04=>_0x4b0a04===_0x256ee6(0x112)||_0x4b0a04==='-c'||_0x4b0a04['startsWith'](_0x256ee6(0x122)));_0x7162a3[_0x256ee6(0x13f)](_0x4d833a,_0x7162a3[_0x4d833a][_0x256ee6(0x161)](_0x4d1f26[_0x256ee6(0x146)])?0x1:0x2);}const _0x181990={};return _0x181990['path']=_0x54a9a3,_0x181990[_0x256ee6(0x1a7)]=_0x49536f,_0x181990;},handleO11yRerun=_0x5daa58=>{const _0x2a3c1e=a39_0x22d653,_0x243f75={};_0x243f75[_0x2a3c1e(0x133)]=_0x2a3c1e(0x14b);const _0x472f62=_0x243f75,_0x5af9ce=helper[_0x2a3c1e(0x168)](process[_0x2a3c1e(0x16e)][_0x2a3c1e(0x154)]);if(_0x5af9ce){const _0x1f64ce=process['env']['BROWSERSTACK_RERUN_TESTS'],_0xad5e2b=[];if(helper['validateRerunTestList'](_0x1f64ce)&&!helper[_0x2a3c1e(0x16d)](_0x1f64ce)){_0x1f64ce[_0x2a3c1e(0x1aa)](',')[_0x2a3c1e(0x1a6)](_0x1578e6=>{const _0x5be799=_0x2a3c1e;_0xad5e2b['push']('('+_0x1578e6[_0x5be799(0x158)]()+')');});const _0x5303a9='^'+_0xad5e2b[_0x2a3c1e(0x1b1)]('|')+'$';_0x5daa58[_0x2a3c1e(0x186)](_0x472f62[_0x2a3c1e(0x133)],_0x5303a9);}}},spawnOriginalProcess=_0x2671ec=>{const _0x4ccdd1=a39_0x22d653,_0x225419={'mtYiD':function(_0x2fc1de,_0x1b6bc3,_0x4721ee,_0x4e0f5d){return _0x2fc1de(_0x1b6bc3,_0x4721ee,_0x4e0f5d);},'QyPTa':_0x4ccdd1(0x15e),'YXoys':_0x4ccdd1(0x170),'WsxAn':function(_0x4cd853,_0x579ead){return _0x4cd853===_0x579ead;},'lwCrl':'win32','JwLiz':_0x4ccdd1(0x109)};_0x225419[_0x4ccdd1(0x195)](spawn,_0x225419[_0x4ccdd1(0x1b4)],[_0x225419[_0x4ccdd1(0x142)],..._0x2671ec[_0x4ccdd1(0x183)](0x1)],{'shell':_0x225419[_0x4ccdd1(0x151)](process[_0x4ccdd1(0x1ac)],_0x225419['lwCrl']),'stdio':_0x225419[_0x4ccdd1(0x10b)],'cwd':process[_0x4ccdd1(0x1b6)]()});},isTestCommand=(_0x2bbd71,_0x1d50f5)=>{const _0x48c796=a39_0x22d653,_0x31a4fd={};_0x31a4fd[_0x48c796(0x11a)]=function(_0x58acb9,_0x1727c1){return _0x58acb9>_0x1727c1;},_0x31a4fd[_0x48c796(0x191)]=function(_0x2b6fdc,_0x4a2b82){return _0x2b6fdc===_0x4a2b82;},_0x31a4fd[_0x48c796(0x10f)]=_0x48c796(0x120);const _0x59ce27=_0x31a4fd;if(_0x59ce27[_0x48c796(0x11a)](_0x1d50f5['length'],0x1)&&_0x59ce27[_0x48c796(0x191)](_0x1d50f5[0x1],_0x59ce27[_0x48c796(0x10f)]))return!![];return![];};async function run(_0x34d3f1,_0x2ee6c8,_0x3266e8){const _0x474628=a39_0x22d653,_0x51cfce={'DJEcV':function(_0x4b2a2a,_0xe557a1){return _0x4b2a2a(_0xe557a1);},'QxWyy':_0x474628(0x131),'upHaX':function(_0x5e32a3){return _0x5e32a3();},'LTTFR':function(_0xa8e4d6,_0x531793){return _0xa8e4d6+_0x531793;},'WXuGl':_0x474628(0x13d),'QHmnQ':_0x474628(0x1a1),'iSCtB':_0x474628(0x187),'GKzsJ':_0x474628(0x14f),'BcpIB':function(_0x2a20d3,_0x5c21c5){return _0x2a20d3===_0x5c21c5;},'tRbdY':_0x474628(0x1a0),'rgiiy':_0x474628(0x160),'TWEVy':function(_0x5ef7a5,_0x596cd7){return _0x5ef7a5>=_0x596cd7;},'gPBeC':function(_0x1c6e90,_0x5426ce){return _0x1c6e90===_0x5426ce;},'rXexa':'automation','dehcR':function(_0x1ec7ca,_0xfad458){return _0x1ec7ca!=_0xfad458;},'WCRAq':function(_0x5e8d7f,_0x1d1762,_0x2f8a6d){return _0x5e8d7f(_0x1d1762,_0x2f8a6d);},'UQkgE':'true','iLesv':function(_0x1293b5,_0x267688){return _0x1293b5(_0x267688);},'fyfNA':_0x474628(0x12e),'wnMhv':function(_0x4638e4,_0x3c5b08){return _0x4638e4===_0x3c5b08;},'yePIC':_0x474628(0x1b2),'apzro':'playwright-browserstack-sdk.config.js','hZqYL':function(_0x5634fa,_0x4f3d65){return _0x5634fa-_0x4f3d65;},'tDirM':function(_0x27dd07,_0x4d611a){return _0x27dd07+_0x4d611a;},'LvpCS':_0x474628(0x12b),'LwfYz':function(_0x3b9f01,_0x9a3e0){return _0x3b9f01>_0x9a3e0;},'eyuGr':function(_0x329fb7,_0x481884){return _0x329fb7+_0x481884;},'BAZan':function(_0x209176,_0x22e7b8,_0xddc24f,_0x4b8846){return _0x209176(_0x22e7b8,_0xddc24f,_0x4b8846);},'SpZTu':_0x474628(0x15e),'DbYmW':_0x474628(0x170),'LIWFx':_0x474628(0x120),'NVIur':_0x474628(0x112),'pelfQ':_0x474628(0x126),'mxfpF':'inherit','HPuQW':_0x474628(0x128),'fBJmb':_0x474628(0x17c),'mKqme':function(_0x51ba17,_0x3758b4){return _0x51ba17(_0x3758b4);}};try{const _0x38ca3c=path['join'](helper[_0x474628(0x198)](),_0x51cfce[_0x474628(0x188)],_0x51cfce[_0x474628(0x132)]);fs[_0x474628(0x18f)](_0x38ca3c)&&fs[_0x474628(0x196)](_0x38ca3c);}catch(_0x51a04d){logger[_0x474628(0x144)](_0x51cfce[_0x474628(0x136)](_0x51cfce[_0x474628(0x18a)],_0x51a04d));}if(!_0x51cfce[_0x474628(0x11d)](isTestCommand,_0x34d3f1,_0x2ee6c8)){_0x51cfce['mKqme'](spawnOriginalProcess,_0x2ee6c8);return;}await PerformanceTester[_0x474628(0x18e)](PerformanceEvents['SDK_PRE_INITIALIZE'],async()=>{const _0x68aac0=_0x474628,_0x4e45c0={'GexyC':_0x51cfce[_0x68aac0(0x188)],'LDUzW':_0x51cfce['QHmnQ'],'FFPmw':function(_0x3023c4,_0x7225f8){const _0x3cb24f=_0x68aac0;return _0x51cfce[_0x3cb24f(0x136)](_0x3023c4,_0x7225f8);},'QKOeA':_0x51cfce[_0x68aac0(0x125)]};if(!_0x3266e8[_0x68aac0(0x1a7)]){logger[_0x68aac0(0x180)](_0x51cfce[_0x68aac0(0x10c)]);return;}await _0x3266e8[_0x68aac0(0x11b)](_0x34d3f1),CLIUtils['setFrameworkDetail'](FRAMEWORKS['PLAYWRIGHT'],FRAMEWORKS['PLAYWRIGHT']),BrowserstackCLI[_0x68aac0(0x18d)]()[_0x68aac0(0x15f)](_0x3266e8[_0x68aac0(0x1a7)],_0x3266e8[_0x68aac0(0x171)]),await BrowserstackCLI[_0x68aac0(0x18d)]()[_0x68aac0(0x138)]();const _0x1834ab=BrowserstackCLI['getInstance']()[_0x68aac0(0x181)]();!helper[_0x68aac0(0x1b7)](_0x1834ab['browserstackAutomation'])&&(process['env']['BROWSERSTACK_AUTOMATION']=!![]);_0x51cfce[_0x68aac0(0x14a)](_0x1834ab[_0x68aac0(0x19e)],![])&&(process[_0x68aac0(0x16e)][_0x68aac0(0x17a)]=_0x51cfce[_0x68aac0(0x152)],_0x2ee6c8=_0x2ee6c8[_0x68aac0(0x13c)](_0x29af72=>_0x29af72!==_0x68aac0(0x155)));const _0x1c15cc=_0x2ee6c8[_0x68aac0(0x13a)](_0x51cfce[_0x68aac0(0x177)]);(_0x51cfce[_0x68aac0(0x114)](_0x1c15cc,0x0)||_0x51cfce[_0x68aac0(0x19a)](_0x1834ab[_0x68aac0(0x1b8)],![]))&&(process[_0x68aac0(0x16e)]['BROWSERSTACK_TEST_OBSERVABILITY']=_0x51cfce[_0x68aac0(0x152)],_0x2ee6c8=_0x2ee6c8['filter'](_0x5114e8=>_0x5114e8!==_0x68aac0(0x160)));!helper['isUndefined'](_0x3266e8[_0x68aac0(0x171)])&&_0x3266e8[_0x68aac0(0x171)][_0x68aac0(0x157)](_0x51cfce[_0x68aac0(0x156)])&&(process[_0x68aac0(0x16e)]['BROWSERSTACK_AUTOMATION']=_0x3266e8['cliConfig'][_0x68aac0(0x107)](_0x51cfce[_0x68aac0(0x156)])||!![]);_0x51cfce[_0x68aac0(0x182)](_0x3266e8[_0x68aac0(0x1a7)]['testObservability'],null)&&!helper['isTrue'](process[_0x68aac0(0x16e)][_0x68aac0(0x137)])&&(process['env']['BROWSERSTACK_TEST_OBSERVABILITY']=process[_0x68aac0(0x16e)]['BROWSERSTACK_TEST_OBSERVABILITY']||_0x3266e8[_0x68aac0(0x1a7)][_0x68aac0(0x1b8)]);const _0x350b89=!helper[_0x68aac0(0x1b7)](process[_0x68aac0(0x16e)][_0x68aac0(0x137)]);_0x3266e8[_0x68aac0(0x1a7)]['accessibilityOptions']&&(process[_0x68aac0(0x16e)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x3266e8[_0x68aac0(0x1a7)][_0x68aac0(0x169)]));let _0x1f271e=![];_0x3266e8[_0x68aac0(0x1a7)][_0x68aac0(0x162)]&&(_0x1f271e=!![],process[_0x68aac0(0x16e)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x3266e8[_0x68aac0(0x1a7)][_0x68aac0(0x162)]);const _0x47f66d=_0x2ee6c8[_0x68aac0(0x18c)](),_0x13d1c9=await _0x51cfce[_0x68aac0(0x11d)](getUserPlaywrightConfig,_0x34d3f1,_0x2ee6c8);if(helper[_0x68aac0(0x16d)](_0x13d1c9)){_0x51cfce[_0x68aac0(0x17f)](spawnOriginalProcess,_0x47f66d);return;}const _0x38dcf8=_0x13d1c9[_0x68aac0(0x165)]?path['dirname'](_0x13d1c9[_0x68aac0(0x165)]):process['cwd']();process[_0x68aac0(0x16e)][_0x68aac0(0x15b)]=_0x38dcf8,await PerformanceTester[_0x68aac0(0x18e)](PerformanceEvents[_0x68aac0(0x116)],async()=>{const _0x44b782=_0x68aac0;!BrowserstackCLI[_0x44b782(0x18d)]()[_0x44b782(0x115)]()&&await TestHubHandler[_0x44b782(0x1ad)](FRAMEWORKS[_0x44b782(0x1b3)],_0x3266e8),_0x350b89&&_0x51cfce[_0x44b782(0x17f)](handleO11yRerun,_0x2ee6c8);})();if(!BrowserstackCLI[_0x68aac0(0x18d)]()[_0x68aac0(0x115)]()){let _0x454211=_0x51cfce[_0x68aac0(0x14a)](process['env'][_0x68aac0(0x12c)],_0x51cfce[_0x68aac0(0x17b)]);_0x454211=_0x454211||_0x51cfce[_0x68aac0(0x1a2)](checkAccessibilityPlatformConfig,_0x3266e8[_0x68aac0(0x1a7)]),process[_0x68aac0(0x16e)][_0x68aac0(0x12c)]=_0x454211,_0x454211&&_0x51cfce[_0x68aac0(0x17f)](setAccessibilityCapabilities,_0x3266e8[_0x68aac0(0x1a7)]);}const _0x2f4170=path[_0x68aac0(0x1b1)](_0x13d1c9[_0x68aac0(0x165)]?path[_0x68aac0(0x141)](_0x13d1c9['path']):process[_0x68aac0(0x1b6)](),_0x51cfce['fyfNA']);fs[_0x68aac0(0x1a8)](_0x2f4170,helper[_0x68aac0(0x153)](_0x3266e8[_0x68aac0(0x1a7)])),process['env']['BROWSERSTACK_SETUP_CONFIG_PATH']=_0x2f4170,helper[_0x68aac0(0x185)]();let _0x2054e9='';_0x51cfce[_0x68aac0(0x16b)](helper[_0x68aac0(0x18b)](),constants[_0x68aac0(0x163)]['MODULE'])?_0x2054e9=_0x51cfce[_0x68aac0(0x17d)]:_0x2054e9=_0x51cfce['apzro'];let _0x592c26='';if(helper[_0x68aac0(0x19b)](_0x13d1c9['path'])){_0x592c26=_0x68aac0(0x111);const _0x174f13=_0x2054e9[_0x68aac0(0x1aa)]('.');_0x174f13[_0x51cfce[_0x68aac0(0x1ae)](_0x174f13['length'],0x1)]='ts',_0x2054e9=_0x174f13[_0x68aac0(0x1b1)]('.'),logger[_0x68aac0(0x144)](_0x51cfce[_0x68aac0(0x19c)](_0x51cfce[_0x68aac0(0x17e)],_0x2054e9));}else _0x592c26='\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a';const _0x33eefd=path[_0x68aac0(0x1b1)](_0x13d1c9[_0x68aac0(0x165)]?path['dirname'](_0x13d1c9[_0x68aac0(0x165)]):process[_0x68aac0(0x1b6)](),_0x2054e9);let _0x3fd025=_0x13d1c9['path']?_0x13d1c9['path']:'';_0x3fd025=_0x51cfce['LwfYz'](_0x3fd025['length'],0x0)?path[_0x68aac0(0x14e)](_0x3fd025):'',process['env'][_0x68aac0(0x1a4)]=_0x3fd025;const _0x28c71e=helper['getProxyUrl'](_0x3266e8['config']),_0x237938=helper[_0x68aac0(0x16f)](_0x3266e8[_0x68aac0(0x1a7)]);logger[_0x68aac0(0x144)](_0x68aac0(0x193)+_0x28c71e),logger[_0x68aac0(0x144)]('No\x20Proxy\x20:\x20'+_0x237938);_0x28c71e&&(_0x592c26=_0x51cfce['eyuGr']('process.env.GLOBAL_AGENT_HTTP_PROXY=\x22'+_0x28c71e+_0x68aac0(0x10e)+_0x237938+_0x68aac0(0x16c),_0x592c26));helper[_0x68aac0(0x123)]({},_0x2ee6c8),fs[_0x68aac0(0x1a8)](_0x33eefd,_0x592c26),PerformanceTester[_0x68aac0(0x159)](PerformanceEvents[_0x68aac0(0x1a9)]);const _0x341a21=_0x51cfce[_0x68aac0(0x127)](spawn,_0x51cfce['SpZTu'],[_0x51cfce[_0x68aac0(0x166)],_0x51cfce[_0x68aac0(0x148)],_0x51cfce[_0x68aac0(0x13e)],_0x33eefd,..._0x2ee6c8[_0x68aac0(0x183)](0x2)],{'shell':_0x51cfce[_0x68aac0(0x14a)](process[_0x68aac0(0x1ac)],_0x51cfce['pelfQ']),'stdio':_0x51cfce['mxfpF'],'cwd':process[_0x68aac0(0x1b6)](),'env':Object['assign']({},process[_0x68aac0(0x16e)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x68aac0(0x1b0)](_0x34d3f1),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x3266e8['config']['testContextOptions'][_0x68aac0(0x130)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x3266e8[_0x68aac0(0x1a7)][_0x68aac0(0x134)][_0x68aac0(0x174)],'BROWSERSTACK_LOG_LEVEL':_0x3266e8[_0x68aac0(0x1a7)][_0x68aac0(0x110)]})}),_0x3c7f82=()=>{const _0x1d92a5=_0x68aac0;try{const _0x1b3cda=path['join'](helper[_0x1d92a5(0x198)](),_0x4e45c0[_0x1d92a5(0x199)],_0x4e45c0['LDUzW']);if(fs[_0x1d92a5(0x18f)](_0x1b3cda)){let _0x2b0b5c=fs[_0x1d92a5(0x150)](_0x1b3cda);_0x2b0b5c=JSON['parse'](_0x2b0b5c),_0x3266e8[_0x1d92a5(0x140)]=_0x2b0b5c,fs['unlinkSync'](_0x1b3cda);}}catch(_0x35e0d2){logger[_0x1d92a5(0x144)](_0x4e45c0['FFPmw'](_0x4e45c0[_0x1d92a5(0x119)],_0x35e0d2));}};_0x341a21['on'](_0x51cfce['HPuQW'],async _0x562e1b=>{const _0x1b7778=_0x68aac0,_0x468a7c={};_0x468a7c['VxWcz']=_0x51cfce['QxWyy'];const _0x39953f=_0x468a7c;try{PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),_0x51cfce['upHaX'](_0x3c7f82),await TestHubHandler[_0x1b7778(0x184)](),await ClientTroubleShootingService[_0x1b7778(0x175)](),await BrowserstackCLI['getInstance']()[_0x1b7778(0x184)](),TestDetails[_0x1b7778(0x189)](),_0x51cfce[_0x1b7778(0x1b5)](printBuildLink),await utilities[_0x1b7778(0x118)](_0x3266e8),process['exitCode']=_0x562e1b,logger['debug'](_0x1b7778(0x145)+_0x562e1b),logger[_0x1b7778(0x121)](_0x1b7778(0x13b)+_0x33eefd),fs[_0x1b7778(0x196)](_0x33eefd);fs[_0x1b7778(0x18f)](_0x2f4170)&&(logger[_0x1b7778(0x144)]('Deleting\x20'+_0x2f4170),fs['unlinkSync'](_0x2f4170));const _0x2275ea=fs[_0x1b7778(0x11e)](path[_0x1b7778(0x1b1)](helper['homedir'](),_0x51cfce[_0x1b7778(0x188)]))[_0x1b7778(0x13c)](_0x46ab6b=>_0x46ab6b['startsWith'](_0x1b7778(0x15d)));_0x2275ea[_0x1b7778(0x108)](_0x1d66cb=>{const _0x4feb9c=_0x1b7778;fs['unlinkSync'](path[_0x4feb9c(0x1b1)](helper[_0x4feb9c(0x198)](),_0x39953f[_0x4feb9c(0x192)],_0x1d66cb));});}catch(_0x4ff230){logger[_0x1b7778(0x144)](_0x51cfce[_0x1b7778(0x136)](_0x51cfce[_0x1b7778(0x117)],_0x4ff230));}});})();}module[a39_0x22d653(0x164)]=run;
2
+ 'use strict';function a39_0x5ef4(_0x1591b0,_0x19a62f){const _0x62bd77=a39_0x62bd();return a39_0x5ef4=function(_0x5ef488,_0x22c656){_0x5ef488=_0x5ef488-0x171;let _0x48af4b=_0x62bd77[_0x5ef488];return _0x48af4b;},a39_0x5ef4(_0x1591b0,_0x19a62f);}const a39_0xe08fa=a39_0x5ef4;(function(_0x334991,_0x207fc8){const _0x3b8e67=a39_0x5ef4,_0x432abd=_0x334991();while(!![]){try{const _0x36c5ea=parseInt(_0x3b8e67(0x214))/0x1+parseInt(_0x3b8e67(0x1e8))/0x2+-parseInt(_0x3b8e67(0x18d))/0x3+parseInt(_0x3b8e67(0x178))/0x4*(-parseInt(_0x3b8e67(0x204))/0x5)+parseInt(_0x3b8e67(0x206))/0x6*(parseInt(_0x3b8e67(0x21d))/0x7)+-parseInt(_0x3b8e67(0x175))/0x8*(-parseInt(_0x3b8e67(0x217))/0x9)+-parseInt(_0x3b8e67(0x1e1))/0xa*(parseInt(_0x3b8e67(0x1aa))/0xb);if(_0x36c5ea===_0x207fc8)break;else _0x432abd['push'](_0x432abd['shift']());}catch(_0x3b8b47){_0x432abd['push'](_0x432abd['shift']());}}}(a39_0x62bd,0xd945a));const fs=require('fs'),path=require(a39_0xe08fa(0x1e9)),{spawn}=require(a39_0xe08fa(0x1bb)),{format}=require(a39_0xe08fa(0x1c0)),logger=require(a39_0xe08fa(0x1dc))[a39_0xe08fa(0x1f7)],{default:BrowserStackSetup}=require(a39_0xe08fa(0x1fb)),helper=require(a39_0xe08fa(0x202)),utilities=require(a39_0xe08fa(0x1d2)),constants=require(a39_0xe08fa(0x18b)),{FRAMEWORKS}=require(a39_0xe08fa(0x198)),{getConfigLoaderPath}=require(a39_0xe08fa(0x1de)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require('./accessibility-helper'),{printBuildLink}=require(a39_0xe08fa(0x19c)),TestDetails=require(a39_0xe08fa(0x21b)),TestHubHandler=require(a39_0xe08fa(0x22f)),PerformanceTester=require(a39_0xe08fa(0x1e6)),BrowserstackCLI=require(a39_0xe08fa(0x1ed)),PerformanceEvents=require(a39_0xe08fa(0x1c8))[a39_0xe08fa(0x1f4)],CLIUtils=require('../v2/cliUtils'),TestInfo=require(a39_0xe08fa(0x1db)),ClientTroubleShootingService=require(a39_0xe08fa(0x1be)),getUserPlaywrightConfig=async(_0x1ebb83,_0x2ecf06)=>{const _0xf8747e=a39_0xe08fa,_0x51cb26={'zCjpR':function(_0x39a700){return _0x39a700();},'gwIwT':function(_0x4e7428,_0x3b34e5){return _0x4e7428(_0x3b34e5);},'VNeMw':function(_0x58bb71,_0x37d9b9){return _0x58bb71(_0x37d9b9);},'wdpRc':'resolvedConfigFile','jdoCf':_0xf8747e(0x228)},_0xc3e8ba=!helper[_0xf8747e(0x1a1)](_0x1ebb83['config']),_0x5aaa8b=_0xc3e8ba?path['resolve'](process[_0xf8747e(0x182)](),_0x1ebb83[_0xf8747e(0x1c3)]):process[_0xf8747e(0x182)](),{resolveConfigFile:_0x508a53,resolveConfigLocation:_0x48baaa}=helper[_0xf8747e(0x1eb)][_0xf8747e(0x1cd)](null,_0x51cb26[_0xf8747e(0x194)](getConfigLoaderPath)),_0x208f3f=_0x508a53?_0x51cb26['gwIwT'](_0x508a53,_0x5aaa8b):helper[_0xf8747e(0x1fd)](_0x51cb26[_0xf8747e(0x1bf)](_0x48baaa,_0x5aaa8b),[_0x51cb26['wdpRc']]),_0xc75bcb={};if(_0xc3e8ba){const _0x5f2097=_0x2ecf06[_0xf8747e(0x220)](_0x291131=>_0x291131==='--config'||_0x291131==='-c'||_0x291131['startsWith'](_0xf8747e(0x228)));_0x2ecf06[_0xf8747e(0x1b5)](_0x5f2097,_0x2ecf06[_0x5f2097][_0xf8747e(0x1bc)](_0x51cb26[_0xf8747e(0x1b2)])?0x1:0x2);}const _0x43c8ae={};return _0x43c8ae[_0xf8747e(0x1e9)]=_0x208f3f,_0x43c8ae[_0xf8747e(0x1c3)]=_0xc75bcb,_0x43c8ae;},handleO11yRerun=_0x260674=>{const _0x28c830=a39_0xe08fa,_0x5a0b60={};_0x5a0b60['mdtIm']='--grep';const _0x3dadab=_0x5a0b60,_0x1b4c95=helper[_0x28c830(0x1df)](process[_0x28c830(0x19b)]['BROWSERSTACK_RERUN']);if(_0x1b4c95){const _0x17ff00=process['env'][_0x28c830(0x1cc)],_0x12449f=[];if(helper[_0x28c830(0x22e)](_0x17ff00)&&!helper[_0x28c830(0x1a1)](_0x17ff00)){_0x17ff00[_0x28c830(0x1a9)](',')[_0x28c830(0x207)](_0x17c317=>{const _0x1e53f2=_0x28c830;_0x12449f['push']('('+_0x17c317[_0x1e53f2(0x203)]()+')');});const _0x1c8b61='^'+_0x12449f['join']('|')+'$';_0x260674[_0x28c830(0x1c6)](_0x3dadab['mdtIm'],_0x1c8b61);}}},spawnOriginalProcess=_0x39809f=>{const _0x406c7f=a39_0xe08fa,_0x3fe2b6={'rbTRU':function(_0x55d5cc,_0x169e69,_0x223ab4,_0x1078bb){return _0x55d5cc(_0x169e69,_0x223ab4,_0x1078bb);},'cqyci':_0x406c7f(0x1ce),'ApwcD':'playwright','fDlgZ':function(_0x46d74a,_0x80a893){return _0x46d74a===_0x80a893;},'SuLlO':_0x406c7f(0x1f1),'HaoiC':_0x406c7f(0x196)};_0x3fe2b6[_0x406c7f(0x1b9)](spawn,_0x3fe2b6['cqyci'],[_0x3fe2b6[_0x406c7f(0x227)],..._0x39809f[_0x406c7f(0x174)](0x1)],{'shell':_0x3fe2b6[_0x406c7f(0x1ba)](process['platform'],_0x3fe2b6[_0x406c7f(0x225)]),'stdio':_0x3fe2b6['HaoiC'],'cwd':process[_0x406c7f(0x182)]()});},isTestCommand=(_0x4e7179,_0x1dbe5e)=>{const _0x15738e=a39_0xe08fa,_0x15279e={};_0x15279e[_0x15738e(0x17f)]=function(_0x19f47e,_0x481cb3){return _0x19f47e>_0x481cb3;},_0x15279e[_0x15738e(0x1d4)]=function(_0x5eba1e,_0x5a4c6c){return _0x5eba1e===_0x5a4c6c;},_0x15279e[_0x15738e(0x205)]=_0x15738e(0x1ec);const _0x5b2871=_0x15279e;if(_0x5b2871[_0x15738e(0x17f)](_0x1dbe5e[_0x15738e(0x18e)],0x1)&&_0x5b2871[_0x15738e(0x1d4)](_0x1dbe5e[0x1],_0x5b2871['AXtvE']))return!![];return![];};async function run(_0x35b2a1,_0x504fa1,_0x5e208c){const _0x4703fe=a39_0xe08fa,_0x30ca3d={'oTShK':function(_0x18ea34,_0x4f9aae){return _0x18ea34(_0x4f9aae);},'lwVSL':_0x4703fe(0x213),'haDZu':_0x4703fe(0x1fc),'PWEJW':function(_0x46e7e8,_0xf2e989){return _0x46e7e8+_0xf2e989;},'KQqXe':'Error\x20in\x20getting\x20funnel\x20data\x20results','YOkco':function(_0xa09e9){return _0xa09e9();},'QiBsr':_0x4703fe(0x1d5),'EuEzp':'BrowserStack\x20config\x20file\x20not\x20found.','ApaKP':function(_0xd90f78,_0x40dc8c){return _0xd90f78<_0x40dc8c;},'RdiDP':function(_0x4290ef,_0x341962){return _0x4290ef===_0x341962;},'jzIAT':'false','zMXgN':'--disable-test-observability','SoIwv':function(_0x2a092a,_0x1bb995){return _0x2a092a>=_0x1bb995;},'qGLwJ':_0x4703fe(0x177),'UjRUk':function(_0x1642e6,_0x5d516d){return _0x1642e6!=_0x5d516d;},'SwEjR':function(_0x60eb4e,_0x51076b,_0x26a650){return _0x60eb4e(_0x51076b,_0x26a650);},'DQWTy':function(_0x366863,_0x470f78){return _0x366863===_0x470f78;},'BWgpJ':'true','cWKuH':function(_0x2bc31e,_0x19c57a){return _0x2bc31e(_0x19c57a);},'eFqNC':_0x4703fe(0x22c),'tEThp':_0x4703fe(0x17c),'IpqEG':'playwright-browserstack-sdk.config.js','ubSzA':function(_0x4f0276,_0x55fb3b){return _0x4f0276-_0x55fb3b;},'KvUqR':function(_0x2fef43,_0x1584f5){return _0x2fef43+_0x1584f5;},'CPLAH':_0x4703fe(0x1ad),'dYyzH':function(_0x25c601,_0x8859eb){return _0x25c601>_0x8859eb;},'dNNrO':function(_0x4eb1a0,_0x3b747b){return _0x4eb1a0+_0x3b747b;},'hheMz':function(_0x1b3a85,_0x3c46e5,_0x273f8f,_0x419874){return _0x1b3a85(_0x3c46e5,_0x273f8f,_0x419874);},'rDRJw':_0x4703fe(0x1ce),'fmAYD':_0x4703fe(0x1a0),'heqvg':_0x4703fe(0x1ec),'ttIcn':'--config','bDyIp':_0x4703fe(0x1f1),'ZlOQc':_0x4703fe(0x196),'CrCnU':_0x4703fe(0x1a4),'anoCS':function(_0x50551c,_0x473a8c){return _0x50551c|_0x473a8c;},'VIYYo':function(_0x3ae189,_0x4de9b8){return _0x3ae189+_0x4de9b8;},'NqDlY':_0x4703fe(0x1a7),'Axjhz':_0x4703fe(0x1a3)};try{const _0x300d57=path[_0x4703fe(0x186)](helper[_0x4703fe(0x20e)](),_0x30ca3d[_0x4703fe(0x1f9)]);try{fs['accessSync'](_0x300d57,_0x30ca3d[_0x4703fe(0x1fa)](fs[_0x4703fe(0x19a)]['R_OK'],fs[_0x4703fe(0x19a)][_0x4703fe(0x20c)]));}catch(_0x3d43f1){ClientTroubleShootingService[_0x4703fe(0x189)]();}}catch(_0x1ce772){logger[_0x4703fe(0x173)](_0x30ca3d['VIYYo'](_0x30ca3d['NqDlY'],_0x1ce772));}try{const _0x5b6df0=path['join'](helper[_0x4703fe(0x20e)](),_0x30ca3d[_0x4703fe(0x1f9)],_0x30ca3d[_0x4703fe(0x18f)]);fs[_0x4703fe(0x1ea)](_0x5b6df0)&&fs[_0x4703fe(0x1ca)](_0x5b6df0);}catch(_0x3e9a13){logger['debug'](_0x30ca3d['dNNrO'](_0x30ca3d[_0x4703fe(0x1af)],_0x3e9a13));}if(!_0x30ca3d[_0x4703fe(0x1e3)](isTestCommand,_0x35b2a1,_0x504fa1)){_0x30ca3d[_0x4703fe(0x1ef)](spawnOriginalProcess,_0x504fa1);return;}await PerformanceTester[_0x4703fe(0x1d0)](PerformanceEvents['SDK_PRE_INITIALIZE'],async()=>{const _0x52a979=_0x4703fe,_0x45d929={'vpgrs':_0x30ca3d[_0x52a979(0x1f9)],'jwJEu':_0x30ca3d[_0x52a979(0x18f)],'rRgLT':function(_0x378402,_0x26fd5d){const _0x2076e7=_0x52a979;return _0x30ca3d[_0x2076e7(0x179)](_0x378402,_0x26fd5d);},'wqAZD':_0x30ca3d[_0x52a979(0x1a8)],'URDgc':function(_0x4e9a8a){const _0x3d3628=_0x52a979;return _0x30ca3d[_0x3d3628(0x219)](_0x4e9a8a);},'gQdNx':function(_0x2862c5,_0x2b1891){const _0x217164=_0x52a979;return _0x30ca3d[_0x217164(0x179)](_0x2862c5,_0x2b1891);},'aIHnz':_0x30ca3d[_0x52a979(0x1e0)]};if(!_0x5e208c[_0x52a979(0x1c3)]){logger[_0x52a979(0x1ae)](_0x30ca3d[_0x52a979(0x20d)]);return;}await _0x5e208c[_0x52a979(0x1f2)](_0x35b2a1),CLIUtils[_0x52a979(0x1d6)](FRAMEWORKS[_0x52a979(0x1f3)],FRAMEWORKS[_0x52a979(0x1f3)]),BrowserstackCLI[_0x52a979(0x1d7)]()[_0x52a979(0x195)](_0x5e208c['config'],_0x5e208c[_0x52a979(0x221)]),await BrowserstackCLI['getInstance']()[_0x52a979(0x1cb)]();for(var _0x1ec7d3=0x0;_0x30ca3d['ApaKP'](_0x1ec7d3,constants[_0x52a979(0x1dd)][_0x52a979(0x18e)]);_0x1ec7d3++){var _0x21845d=constants[_0x52a979(0x1dd)][_0x1ec7d3];process['env'][_0x21845d]&&await ClientTroubleShootingService[_0x52a979(0x1c4)](_0x21845d);}const _0x363e70=BrowserstackCLI[_0x52a979(0x1d7)]()[_0x52a979(0x19e)]();!helper['isFalse'](_0x363e70[_0x52a979(0x1ff)])&&(process[_0x52a979(0x19b)][_0x52a979(0x223)]=!![]);_0x30ca3d['RdiDP'](_0x363e70[_0x52a979(0x1ff)],![])&&(process[_0x52a979(0x19b)][_0x52a979(0x223)]=_0x30ca3d[_0x52a979(0x1f8)],_0x504fa1=_0x504fa1[_0x52a979(0x18a)](_0x349de0=>_0x349de0!=='--disable-browserstack-automation'));const _0x245937=_0x504fa1[_0x52a979(0x197)](_0x30ca3d[_0x52a979(0x229)]);(_0x30ca3d['SoIwv'](_0x245937,0x0)||_0x30ca3d['RdiDP'](_0x363e70[_0x52a979(0x1c5)],![]))&&(process[_0x52a979(0x19b)][_0x52a979(0x20a)]=_0x30ca3d[_0x52a979(0x1f8)],_0x504fa1=_0x504fa1['filter'](_0x2e9d84=>_0x2e9d84!==_0x52a979(0x183)));!helper[_0x52a979(0x1a1)](_0x5e208c['cliConfig'])&&_0x5e208c[_0x52a979(0x221)][_0x52a979(0x188)](_0x30ca3d[_0x52a979(0x1c1)])&&(process[_0x52a979(0x19b)][_0x52a979(0x223)]=_0x5e208c['cliConfig'][_0x52a979(0x22a)](_0x30ca3d[_0x52a979(0x1c1)])||!![]);_0x30ca3d[_0x52a979(0x1b3)](_0x5e208c['config'][_0x52a979(0x1c5)],null)&&!helper[_0x52a979(0x1df)](process['env'][_0x52a979(0x20a)])&&(process[_0x52a979(0x19b)]['BROWSERSTACK_TEST_OBSERVABILITY']=process['env'][_0x52a979(0x20a)]||_0x5e208c[_0x52a979(0x1c3)][_0x52a979(0x1c5)]);const _0x5cf76f=!helper['isFalse'](process[_0x52a979(0x19b)][_0x52a979(0x20a)]);_0x5e208c[_0x52a979(0x1c3)][_0x52a979(0x1ac)]&&(process[_0x52a979(0x19b)][_0x52a979(0x1a6)]=JSON[_0x52a979(0x1e2)](_0x5e208c[_0x52a979(0x1c3)][_0x52a979(0x1ac)]));let _0x3af0a1=![];_0x5e208c['config'][_0x52a979(0x21c)]&&(_0x3af0a1=!![],process[_0x52a979(0x19b)][_0x52a979(0x1b0)]=_0x5e208c['config'][_0x52a979(0x21c)]);const _0x433eb4=_0x504fa1[_0x52a979(0x1ab)](),_0x519ea6=await _0x30ca3d[_0x52a979(0x1e3)](getUserPlaywrightConfig,_0x35b2a1,_0x504fa1);if(helper[_0x52a979(0x1a1)](_0x519ea6)){_0x30ca3d[_0x52a979(0x1ef)](spawnOriginalProcess,_0x433eb4);return;}const _0x339862=_0x519ea6[_0x52a979(0x1e9)]?path[_0x52a979(0x191)](_0x519ea6[_0x52a979(0x1e9)]):process[_0x52a979(0x182)]();process[_0x52a979(0x19b)][_0x52a979(0x211)]=_0x339862,await PerformanceTester[_0x52a979(0x1d0)](PerformanceEvents[_0x52a979(0x18c)],async()=>{const _0x10195f=_0x52a979;!BrowserstackCLI['getInstance']()[_0x10195f(0x1e7)]()&&await TestHubHandler[_0x10195f(0x1b8)](FRAMEWORKS[_0x10195f(0x1f3)],_0x5e208c),_0x5cf76f&&_0x30ca3d[_0x10195f(0x1ef)](handleO11yRerun,_0x504fa1);})();if(!BrowserstackCLI['getInstance']()[_0x52a979(0x1e7)]()){let _0x283d43=_0x30ca3d['DQWTy'](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x30ca3d[_0x52a979(0x176)]);_0x283d43=_0x283d43||_0x30ca3d[_0x52a979(0x1ef)](checkAccessibilityPlatformConfig,_0x5e208c[_0x52a979(0x1c3)]),process[_0x52a979(0x19b)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x283d43,_0x283d43&&_0x30ca3d[_0x52a979(0x17a)](setAccessibilityCapabilities,_0x5e208c[_0x52a979(0x1c3)]);}const _0x2da0e1=path[_0x52a979(0x186)](_0x519ea6['path']?path[_0x52a979(0x191)](_0x519ea6[_0x52a979(0x1e9)]):process['cwd'](),_0x30ca3d[_0x52a979(0x17d)]);fs[_0x52a979(0x1b1)](_0x2da0e1,helper[_0x52a979(0x1cf)](_0x5e208c[_0x52a979(0x1c3)])),process[_0x52a979(0x19b)][_0x52a979(0x22d)]=_0x2da0e1,helper[_0x52a979(0x1d8)]();let _0x144a58='';_0x30ca3d[_0x52a979(0x1f6)](helper[_0x52a979(0x199)](),constants['PACKAGE_TYPE'][_0x52a979(0x1b7)])?_0x144a58=_0x30ca3d[_0x52a979(0x180)]:_0x144a58=_0x30ca3d['IpqEG'];let _0x428e9d='';if(helper[_0x52a979(0x1da)](_0x519ea6[_0x52a979(0x1e9)])){_0x428e9d=_0x52a979(0x187);const _0xc4739b=_0x144a58['split']('.');_0xc4739b[_0x30ca3d[_0x52a979(0x209)](_0xc4739b[_0x52a979(0x18e)],0x1)]='ts',_0x144a58=_0xc4739b[_0x52a979(0x186)]('.'),logger['debug'](_0x30ca3d['KvUqR'](_0x30ca3d[_0x52a979(0x1f0)],_0x144a58));}else _0x428e9d=_0x52a979(0x1c2);const _0x550418=path['join'](_0x519ea6[_0x52a979(0x1e9)]?path[_0x52a979(0x191)](_0x519ea6['path']):process[_0x52a979(0x182)](),_0x144a58);let _0x100905=_0x519ea6[_0x52a979(0x1e9)]?_0x519ea6[_0x52a979(0x1e9)]:'';_0x100905=_0x30ca3d[_0x52a979(0x1fe)](_0x100905['length'],0x0)?path[_0x52a979(0x21e)](_0x100905):'',process[_0x52a979(0x19b)][_0x52a979(0x224)]=_0x100905;const _0x4573d4=helper[_0x52a979(0x222)](_0x5e208c[_0x52a979(0x1c3)]),_0x25e656=helper[_0x52a979(0x1e4)](_0x5e208c[_0x52a979(0x1c3)]);logger[_0x52a979(0x173)](_0x52a979(0x184)+_0x4573d4),logger[_0x52a979(0x173)](_0x52a979(0x1d3)+_0x25e656);_0x4573d4&&(_0x428e9d=_0x30ca3d[_0x52a979(0x208)]('process.env.GLOBAL_AGENT_HTTP_PROXY=\x22'+_0x4573d4+_0x52a979(0x19d)+_0x25e656+_0x52a979(0x17b),_0x428e9d));helper[_0x52a979(0x172)]({},_0x504fa1),fs[_0x52a979(0x1b1)](_0x550418,_0x428e9d),PerformanceTester[_0x52a979(0x1bd)](PerformanceEvents[_0x52a979(0x212)]);const _0x3b332b=_0x30ca3d[_0x52a979(0x20b)](spawn,_0x30ca3d['rDRJw'],[_0x30ca3d[_0x52a979(0x1ee)],_0x30ca3d[_0x52a979(0x210)],_0x30ca3d[_0x52a979(0x17e)],_0x550418,..._0x504fa1[_0x52a979(0x174)](0x2)],{'shell':_0x30ca3d['RdiDP'](process[_0x52a979(0x1b4)],_0x30ca3d['bDyIp']),'stdio':_0x30ca3d[_0x52a979(0x171)],'cwd':process[_0x52a979(0x182)](),'env':Object[_0x52a979(0x1b6)]({},process[_0x52a979(0x19b)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x35b2a1),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x5e208c[_0x52a979(0x1c3)]['testContextOptions'][_0x52a979(0x181)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x5e208c[_0x52a979(0x1c3)][_0x52a979(0x216)][_0x52a979(0x200)],'BROWSERSTACK_LOG_LEVEL':_0x5e208c[_0x52a979(0x1c3)][_0x52a979(0x20f)]})}),_0x1319fd=()=>{const _0x28cd53=_0x52a979;try{const _0x380294=path[_0x28cd53(0x186)](helper[_0x28cd53(0x20e)](),_0x45d929[_0x28cd53(0x1a5)],_0x45d929[_0x28cd53(0x19f)]);if(fs[_0x28cd53(0x1ea)](_0x380294)){let _0x5813c4=fs[_0x28cd53(0x193)](_0x380294);_0x5813c4=JSON[_0x28cd53(0x1d9)](_0x5813c4),_0x5e208c['errorMessage']=_0x5813c4,fs['unlinkSync'](_0x380294);}}catch(_0x2aaf64){logger[_0x28cd53(0x173)](_0x45d929['rRgLT'](_0x45d929[_0x28cd53(0x215)],_0x2aaf64));}};_0x3b332b['on'](_0x30ca3d['CrCnU'],async _0xd3274f=>{const _0x2bdb1c=_0x52a979;try{PerformanceTester[_0x2bdb1c(0x192)](PerformanceEvents[_0x2bdb1c(0x21a)]),_0x45d929[_0x2bdb1c(0x1a2)](_0x1319fd),await TestHubHandler['stop'](),await ClientTroubleShootingService[_0x2bdb1c(0x1c7)](),await BrowserstackCLI['getInstance']()[_0x2bdb1c(0x1d1)](),TestDetails[_0x2bdb1c(0x190)](),_0x45d929[_0x2bdb1c(0x1a2)](printBuildLink),await utilities[_0x2bdb1c(0x201)](_0x5e208c),process[_0x2bdb1c(0x21f)]=_0xd3274f,logger[_0x2bdb1c(0x173)](_0x2bdb1c(0x1f5)+_0xd3274f),logger[_0x2bdb1c(0x22b)](_0x2bdb1c(0x230)+_0x550418),fs[_0x2bdb1c(0x1ca)](_0x550418);fs[_0x2bdb1c(0x1ea)](_0x2da0e1)&&(logger[_0x2bdb1c(0x173)](_0x2bdb1c(0x230)+_0x2da0e1),fs[_0x2bdb1c(0x1ca)](_0x2da0e1));const _0x30b7aa=fs[_0x2bdb1c(0x185)](path[_0x2bdb1c(0x186)](helper[_0x2bdb1c(0x20e)](),_0x45d929['vpgrs']))[_0x2bdb1c(0x18a)](_0x2d2601=>_0x2d2601['startsWith']('trace_'));_0x30b7aa[_0x2bdb1c(0x1c9)](_0x178f7b=>{const _0x196b35=_0x2bdb1c;fs[_0x196b35(0x1ca)](path['join'](helper[_0x196b35(0x20e)](),_0x45d929[_0x196b35(0x1a5)],_0x178f7b));});}catch(_0x2bff34){logger[_0x2bdb1c(0x173)](_0x45d929[_0x2bdb1c(0x218)](_0x45d929[_0x2bdb1c(0x226)],_0x2bff34));}});})();}module[a39_0xe08fa(0x1e5)]=run;function a39_0x62bd(){const _0x23e52d=['isRunning','2629406soiPFS','path','existsSync','requirePWModule','test','../v2/browserstackCLI','fmAYD','oTShK','CPLAH','win32','initialize','PLAYWRIGHT','EVENTS','Playwright\x20process\x20exited\x20with\x20code\x20','RdiDP','winstonLogger','jzIAT','lwVSL','anoCS','../../helpers/BrowserStackSetup','pw_result.json','nestedKeyValue','dYyzH','browserstackAutomation','skipSessionName','finalExecution','../../helpers/helper','trim','10OFngWj','AXtvE','107484XmYZDU','map','dNNrO','ubSzA','BROWSERSTACK_TEST_OBSERVABILITY','hheMz','W_OK','EuEzp','homedir','logLevel','heqvg','BROWSERSTACK_PW_CONFIG_DIR','SDK_SETUP','.browserstack','792808JnVCgI','wqAZD','testContextOptions','657MVZmfR','gQdNx','YOkco','SDK_CLEANUP','./reporter/test-details','accessibility','504ucVius','resolve','exitCode','findIndex','cliConfig','getProxyUrl','BROWSERSTACK_AUTOMATION','USER_CONFIG_DETAILS_PATH','SuLlO','aIHnz','ApwcD','--config=','zMXgN','get','info','browserstackSetupConfig.json','BROWSERSTACK_SETUP_CONFIG_PATH','validateRerunTestList','../../helpers/testhub/testhubHandler','Deleting\x20','ZlOQc','filterBrowserstackArgs','debug','slice','125648XHhqbp','BWgpJ','automation','2922540YGVGDp','PWEJW','cWKuH','\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','eFqNC','ttIcn','bbJJi','tEThp','skipSessionStatus','cwd','--disable-test-observability','Proxy\x20url\x20:\x20','readdirSync','join','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','has','reportDotBrowserStackFolderNotAccessibleIssue','filter','../utils/constants','SDK_POST_INITIALIZE','636003kgugYb','length','haDZu','shutdown','dirname','start','readFileSync','zCjpR','setBrowserstackConfig','inherit','indexOf','../../helpers/test-observability/constants','getPackageType','constants','env','../../helpers/test-observability/utils','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20process.env.GLOBAL_AGENT_NO_PROXY=\x22','getConfig','jwJEu','playwright','isUndefined','URDgc','Error\x20in\x20deleting\x20playwright\x20results','close','vpgrs','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','KQqXe','split','5446760apvrUo','concat','accessibilityOptions','Updated\x20config\x20file\x20name\x20to\x20-\x20','error','Axjhz','BROWSERSTACK_TEST_ACCESSIBILITY_YML','writeFileSync','jdoCf','UjRUk','platform','splice','assign','MODULE','launchBuild','rbTRU','fDlgZ','child_process','startsWith','end','../utils/clientTroubleshootingService','VNeMw','util','qGLwJ','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','config','reportConflictingEnvVarIssue','testObservability','push','reportFinalDetectionState','../../helpers/performance/constants','forEach','unlinkSync','bootstrap','BROWSERSTACK_RERUN_TESTS','apply','npx','serializeToYamlString','measureWrapper','stop','../../helpers/utilities','No\x20Proxy\x20:\x20','vbKsp','Error\x20in\x20closing\x20playwright','setFrameworkDetail','getInstance','clearTempPWConfig','parse','isTypescriptProject','../v2/TestInfo','../../helpers/logger','INTERNALLY_USED_ENV_VARS','./reporter/pwUtils','isTrue','QiBsr','40XvQqWd','stringify','SwEjR','getNoProxy','exports','../../helpers/performance/performance-tester'];a39_0x62bd=function(){return _0x23e52d;};return a39_0x62bd();}