browserstack-node-sdk 1.46.4 → 1.46.6

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_0x136ba8=a33_0x5792;function a33_0x5792(_0x354ad9,_0x268049){const _0x1803aa=a33_0x1803();return a33_0x5792=function(_0x57923c,_0x25ac6b){_0x57923c=_0x57923c-0x8d;let _0x3aef30=_0x1803aa[_0x57923c];return _0x3aef30;},a33_0x5792(_0x354ad9,_0x268049);}(function(_0x43f315,_0x61122c){const _0x1ab68c=a33_0x5792,_0x63e3f1=_0x43f315();while(!![]){try{const _0x50b0d8=-parseInt(_0x1ab68c(0xbe))/0x1*(-parseInt(_0x1ab68c(0xa6))/0x2)+parseInt(_0x1ab68c(0xf7))/0x3+-parseInt(_0x1ab68c(0xe5))/0x4+parseInt(_0x1ab68c(0x9a))/0x5+-parseInt(_0x1ab68c(0xbb))/0x6+-parseInt(_0x1ab68c(0xaf))/0x7*(parseInt(_0x1ab68c(0xc5))/0x8)+parseInt(_0x1ab68c(0xb9))/0x9*(parseInt(_0x1ab68c(0xd1))/0xa);if(_0x50b0d8===_0x61122c)break;else _0x63e3f1['push'](_0x63e3f1['shift']());}catch(_0x3d8149){_0x63e3f1['push'](_0x63e3f1['shift']());}}}(a33_0x1803,0xf1529));const logger=require(a33_0x136ba8(0xc9))[a33_0x136ba8(0x9e)],helper=require(a33_0x136ba8(0xde)),constants=require(a33_0x136ba8(0xdd)),hubAllocator=require(a33_0x136ba8(0x107)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require(a33_0x136ba8(0xa9)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a33_0x136ba8(0xb7)),globals=require(a33_0x136ba8(0x98)),{overrideExecute}=require('./helpers/patchHelper'),modify=(_0x409590,_0xc3ed94=null,_0x4d5293=![])=>{const _0x3ee6e0=a33_0x136ba8,_0x2f9634={'zEzZY':function(_0x1b6508,_0x3d753a){return _0x1b6508!==_0x3d753a;},'xLflg':_0x3ee6e0(0xb2),'cNNio':function(_0x5d9b07,_0x4922bc){return _0x5d9b07!==_0x4922bc;},'lHBYv':function(_0x54fbdd,_0x524abe){return _0x54fbdd+_0x524abe;},'Qecac':function(_0xefc9fd,_0x25ed36){return _0xefc9fd+_0x25ed36;},'lbkPR':'https://','LcTwT':_0x3ee6e0(0x103),'CBPCP':'goog:chromeOptions','OlTib':_0x3ee6e0(0xeb),'eZplu':_0x3ee6e0(0x8f),'shqfC':_0x3ee6e0(0xcc),'ByQPt':_0x3ee6e0(0x8e),'wNPLA':_0x3ee6e0(0xbc),'GlbQc':_0x3ee6e0(0x100),'tkIcC':_0x3ee6e0(0x90),'XneoQ':_0x3ee6e0(0xdf),'PakAS':function(_0x1122e7,_0x46615c){return _0x1122e7===_0x46615c;},'cOxbo':_0x3ee6e0(0xc0),'Kywoe':'Setting\x20Browserstack\x20capabilities','rpVdi':function(_0x14f96b,_0x5138cc,_0x2f6fa5){return _0x14f96b(_0x5138cc,_0x2f6fa5);},'SNDXv':function(_0x4b5947,_0x3c6d89,_0x47a2b3){return _0x4b5947(_0x3c6d89,_0x47a2b3);},'PFYwH':_0x3ee6e0(0xa2),'uspgR':_0x3ee6e0(0xb6),'OmNVB':function(_0x4e4fc6,_0x2aa258,_0x2d266d){return _0x4e4fc6(_0x2aa258,_0x2d266d);},'KHyzA':function(_0x5b313e,_0x1bcaa5){return _0x5b313e(_0x1bcaa5);},'hnNWi':'2|5|1|3|4|0','dSkVh':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','KMiRz':function(_0x49930d){return _0x49930d();},'GQJke':_0x3ee6e0(0xc7),'QFQxr':function(_0x5b0791,_0x104a4d,_0x5564ef){return _0x5b0791(_0x104a4d,_0x5564ef);},'TAhLm':function(_0x5d3f6a,_0x1e0fe6){return _0x5d3f6a(_0x1e0fe6);},'lOulw':function(_0x39c48c,_0x2a8afe,_0x2173c9){return _0x39c48c(_0x2a8afe,_0x2173c9);},'DgZJx':function(_0x5e285a,_0x49f8eb){return _0x5e285a!==_0x49f8eb;},'XmIOZ':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','nFjXT':_0x3ee6e0(0xc6)},_0x5a33fa=helper[_0x3ee6e0(0xb5)]();let _0x70be42;try{_0x70be42=helper['requireSeleniumWebdriver'](),_0x70be42[_0x3ee6e0(0xc1)]&&(_0x70be42['Builder']=_0x70be42[_0x3ee6e0(0xc1)]);}catch(_0x9dbec0){return;}if(helper[_0x3ee6e0(0x9b)]()){const _0x1a6b22={};_0x1a6b22[_0x3ee6e0(0x102)]=_0x409590[_0x3ee6e0(0xd5)],helper[_0x3ee6e0(0xfc)](_0x1a6b22,new Map(),new Map()),logger[_0x3ee6e0(0xf5)](_0x2f9634[_0x3ee6e0(0x106)]),logger[_0x3ee6e0(0xcf)](_0x2f9634[_0x3ee6e0(0xa7)]);}class _0x3effe1 extends _0x5a33fa[_0x3ee6e0(0xe9)]{[_0x3ee6e0(0xd9)](_0x22db32){const _0x366ac3=_0x3ee6e0;if(_0x2f9634[_0x366ac3(0xac)](_0x22db32[_0x366ac3(0xc2)],_0x2f9634['xLflg'])&&_0x2f9634[_0x366ac3(0xf8)](global[_0x366ac3(0xb3)],''))try{global['newHubUrl']=_0x2f9634[_0x366ac3(0xcd)](_0x2f9634[_0x366ac3(0xbd)](_0x2f9634['lbkPR'],global[_0x366ac3(0xb3)]),_0x2f9634['LcTwT']),this[_0x366ac3(0xe7)]=hubAllocator['getRequestOptions'](global[_0x366ac3(0xb3)]),logger['debug'](_0x366ac3(0x91)+global[_0x366ac3(0xb3)]),global[_0x366ac3(0xb3)]='';}catch(_0x383ef5){logger['error'](_0x383ef5);}return super['send'](_0x22db32);}}class _0x30f730 extends _0x70be42[_0x3ee6e0(0xa8)]{[_0x3ee6e0(0xce)](){const _0x54274b=_0x3ee6e0;return this['url_']=helper['getHubUrl'](_0x409590),logger['debug'](_0x54274b(0xdb)+this[_0x54274b(0x99)]),this;}[_0x3ee6e0(0xe3)](_0x4f6823){const _0x55f9be=_0x3ee6e0;let _0x4a1172={};for(const _0x2e041b in _0x4f6823){switch(_0x2e041b){case _0x2f9634[_0x55f9be(0xcb)]:case _0x2f9634[_0x55f9be(0xe2)]:this[_0x55f9be(0xca)]&&(_0x4a1172=this[_0x55f9be(0xca)][_0x55f9be(0x8d)](this['chromeOptions_']['CAPABILITY_KEY'])||{},this['chromeOptions_']['set'](this['chromeOptions_'][_0x55f9be(0xaa)],helper[_0x55f9be(0xe8)](_0x4a1172,_0x4f6823[_0x2e041b])));break;case _0x2f9634[_0x55f9be(0xad)]:case _0x2f9634[_0x55f9be(0xf9)]:this['edgeOptions_']&&(_0x4a1172=this[_0x55f9be(0x95)][_0x55f9be(0x8d)](this[_0x55f9be(0x95)][_0x55f9be(0xaa)])||{},this[_0x55f9be(0x95)][_0x55f9be(0xec)](this['edgeOptions_'][_0x55f9be(0xaa)],helper[_0x55f9be(0xe8)](_0x4a1172,_0x4f6823[_0x2e041b])));break;case _0x2f9634[_0x55f9be(0xf3)]:case _0x2f9634['wNPLA']:this[_0x55f9be(0xb8)]&&(_0x4a1172=this[_0x55f9be(0xb8)][_0x55f9be(0x8d)](this[_0x55f9be(0xb8)][_0x55f9be(0xaa)])||{},this['firefoxOptions_']['set'](this[_0x55f9be(0xb8)][_0x55f9be(0xaa)],helper[_0x55f9be(0xe8)](_0x4a1172,_0x4f6823[_0x2e041b])));break;case _0x2f9634['GlbQc']:this['safariOptions_']&&(_0x4a1172=this['safariOptions_']['get'](this['safariOptions_'][_0x55f9be(0xaa)])||{},this[_0x55f9be(0x94)][_0x55f9be(0xec)](this[_0x55f9be(0x94)][_0x55f9be(0xaa)],helper['mergeDeep'](_0x4a1172,_0x4f6823[_0x2e041b])));break;case _0x2f9634[_0x55f9be(0x9c)]:case _0x2f9634['XneoQ']:this[_0x55f9be(0xc4)]&&(_0x4a1172=this[_0x55f9be(0xc4)][_0x55f9be(0x8d)](this[_0x55f9be(0xc4)][_0x55f9be(0xaa)])||{},this['ieOptions_'][_0x55f9be(0xec)](this['ieOptions_'][_0x55f9be(0xaa)],helper['mergeDeep'](_0x4a1172,_0x4f6823[_0x2e041b])));break;}}}['setCapabilities'](){const _0x43e54e=_0x3ee6e0,_0x1ea2f8={'gWkGQ':function(_0x51ddfb,_0x1d5606){const _0x167153=a33_0x5792;return _0x2f9634[_0x167153(0xb4)](_0x51ddfb,_0x1d5606);},'mfsrt':_0x2f9634[_0x43e54e(0xd6)]};return logger[_0x43e54e(0xcf)](_0x2f9634[_0x43e54e(0xfa)]),this[_0x43e54e(0xe3)](_0x409590[_0x43e54e(0xed)]),Object[_0x43e54e(0xef)](_0x409590['capability'])[_0x43e54e(0xea)](_0xb319fa=>{const _0x4f5dfe=_0x43e54e,_0x55f9db=this['capabilities_'][_0x4f5dfe(0x8d)](_0xb319fa);_0x1ea2f8[_0x4f5dfe(0xbf)](typeof _0x55f9db,_0x1ea2f8['mfsrt'])?this[_0x4f5dfe(0xab)][_0x4f5dfe(0xec)](_0xb319fa,helper[_0x4f5dfe(0xe8)](_0x55f9db,_0x409590[_0x4f5dfe(0xed)][_0xb319fa])):this[_0x4f5dfe(0xab)][_0x4f5dfe(0xec)](_0xb319fa,_0x409590[_0x4f5dfe(0xed)][_0xb319fa]);}),this;}[_0x3ee6e0(0xc8)](){const _0x3e9130=_0x3ee6e0,_0x43641c={'zJsny':_0x2f9634[_0x3e9130(0xe0)],'KBdmg':_0x2f9634[_0x3e9130(0x101)],'sYFGr':function(_0x5f2585,_0x55056e,_0x75ba88){const _0x3f4d19=_0x3e9130;return _0x2f9634[_0x3f4d19(0xee)](_0x5f2585,_0x55056e,_0x75ba88);},'YKiyQ':function(_0x2c032c,_0x5020a6,_0x526201){const _0xfcd39c=_0x3e9130;return _0x2f9634[_0xfcd39c(0xd3)](_0x2c032c,_0x5020a6,_0x526201);},'rcCIb':function(_0x43dc0e,_0x55575c){return _0x2f9634['KHyzA'](_0x43dc0e,_0x55575c);},'MkDee':function(_0x1af35d,_0xe5d172,_0x25c742){const _0x403239=_0x3e9130;return _0x2f9634[_0x403239(0xd3)](_0x1af35d,_0xe5d172,_0x25c742);}};if(helper[_0x3e9130(0x9b)]()){const _0x33c825=_0x2f9634['hnNWi'][_0x3e9130(0x93)]('|');let _0x3e1a71=0x0;while(!![]){switch(_0x33c825[_0x3e1a71++]){case'0':logger[_0x3e9130(0xcf)](_0x2f9634[_0x3e9130(0xfe)]);continue;case'1':this[_0x3e9130(0xf4)]();continue;case'2':_0x2f9634[_0x3e9130(0xd7)](isAccessibilityAutomationSession)&&_0x2f9634[_0x3e9130(0x92)](setAccessibilityCapabilities,_0x409590);continue;case'3':if(helper[_0x3e9130(0xa4)](_0x409590[_0x3e9130(0x104)][_0x3e9130(0xa0)]))this[_0x3e9130(0x9f)]=helper[_0x3e9130(0xf1)](_0x409590[_0x3e9130(0x104)]['proxyUrl']);else _0x409590[_0x3e9130(0x104)][_0x3e9130(0xa0)]&&(this[_0x3e9130(0x96)]=_0x409590[_0x3e9130(0x104)][_0x3e9130(0xa0)],logger[_0x3e9130(0xcf)]('Proxy\x20set\x20to\x20'+this[_0x3e9130(0x96)]));continue;case'4':globals[_0x3e9130(0x105)](_0x2f9634['GQJke'])&&(!_0x2f9634[_0x3e9130(0x9d)](setExtension,this,_0x409590)&&globals[_0x3e9130(0xff)](_0x2f9634['GQJke'],![]));continue;case'5':this['setServer']();continue;}break;}}const _0x3ea5a6=super[_0x3e9130(0xc8)]();return _0x3ea5a6[_0x3e9130(0xd0)][_0x3e9130(0xa1)](_0x32bee4=>{const _0x1a11a9=_0x3e9130;try{const _0x43bce1=_0x32bee4['caps_'][_0x1a11a9(0x8d)](_0x43641c[_0x1a11a9(0xe6)]);_0x43bce1?(logger[_0x1a11a9(0xcf)](_0x1a11a9(0xd8)+_0x43bce1),hubAllocator[_0x1a11a9(0xa3)](_0x43bce1),helper[_0x1a11a9(0x108)](_0x43bce1)):logger['debug'](_0x43641c[_0x1a11a9(0xb1)]);}catch(_0x4ef9f5){logger[_0x1a11a9(0xcf)]('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x4ef9f5);}}),_0x3ea5a6[_0x3e9130(0x97)]=0x0,_0x3ea5a6[_0x3e9130(0xa1)]&&_0x3ea5a6['then'](_0x2a9582=>{const _0x7842fb=_0x3e9130,_0x489ae1={'gwGSl':function(_0x1ffebd,_0xd43bc5,_0x5e977d){return _0x43641c['sYFGr'](_0x1ffebd,_0xd43bc5,_0x5e977d);}};_0x43641c[_0x7842fb(0xe1)](overrideQuit,_0x2a9582,_0x3ea5a6),_0x43641c[_0x7842fb(0xb0)](overrideTakeScreenshot,_0x2a9582),helper[_0x7842fb(0xba)](_0x2a9582,_0x409590),_0x43641c['MkDee'](overrideExecute,_0x2a9582,_0x409590),_0x2a9582[_0x7842fb(0xfb)]=async()=>{const _0x4529c1=_0x7842fb;return await _0x489ae1[_0x4529c1(0xd2)](getAccessibilityResultsSummary,_0x2a9582,global);},_0x2a9582['getAccessibilityResults']=async()=>{const _0x340961=_0x7842fb;return await _0x489ae1[_0x340961(0xd2)](getAccessibilityResults,_0x2a9582,global);};}),_0x3ea5a6['getAccessibilityResultsSummary']=async()=>{const _0x4e9e1e=_0x3e9130;return await _0x2f9634[_0x4e9e1e(0xae)](getAccessibilityResultsSummary,_0x3ea5a6,global);},_0x3ea5a6[_0x3e9130(0xa5)]=async()=>{const _0xcd2d0f=_0x3e9130;return await _0x2f9634[_0xcd2d0f(0xee)](getAccessibilityResults,_0x3ea5a6,global);},_0x2f9634[_0x3e9130(0xf2)](overrideTakeScreenshot,_0x3ea5a6),_0x2f9634['KHyzA'](overrideQuit,_0x3ea5a6),helper[_0x3e9130(0xba)](_0x3ea5a6,_0x409590),_0x2f9634[_0x3e9130(0xf6)](overrideExecute,_0x3ea5a6,_0x409590),helper[_0x3e9130(0xf0)](global[_0x3e9130(0xc3)])&&(global[_0x3e9130(0xc3)]=[]),helper['isUndefined'](global[_0x3e9130(0xe4)])&&(global[_0x3e9130(0xe4)]=[]),global[_0x3e9130(0xc3)]['push'](_0x3ea5a6),global[_0x3e9130(0xd4)]=_0x3ea5a6,_0x2f9634['DgZJx'](global['__drivers'],undefined)&&global[_0x3e9130(0xe4)][_0x3e9130(0xda)](_0x3ea5a6),_0xc3ed94&&helper[_0x3e9130(0xf0)](_0xc3ed94[_0x3e9130(0xdc)][_0x3e9130(0xc3)])&&(_0xc3ed94['global'][_0x3e9130(0xc3)]=[]),_0xc3ed94&&_0x2f9634['zEzZY'](_0xc3ed94[_0x3e9130(0xdc)]['__drivers'],undefined)&&(_0xc3ed94['global'][_0x3e9130(0xe4)][_0x3e9130(0xda)](_0x3ea5a6),_0xc3ed94[_0x3e9130(0xdc)][_0x3e9130(0xc3)]['push'](_0x3ea5a6)),_0x3ea5a6;}}return _0x70be42[_0x3ee6e0(0xc1)]=_0x70be42['Builder'],_0x70be42['Builder']=_0x30f730,_0x5a33fa[_0x3ee6e0(0xe9)]=_0x3effe1,_0x70be42;};module[a33_0x136ba8(0xfd)]['browserstackAgentObservability']=modify;function a33_0x1803(){const _0x2dec12=['requireHttpClient','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','../../../helpers/accessibility-automation/helper','firefoxOptions_','3879Jejtwn','overrideGet','5883978WnZsdg','firefoxOptions','Qecac','460501ZEbNxl','gWkGQ','object','originalBuilder','path','__driversArray','ieOptions_','127384jKrJQP','Modifying\x20webdriver\x20builder','isAccessibilityPlatform','build','../../../helpers/logger','chromeOptions_','CBPCP','edgeOptions','lHBYv','setServer','debug','session_','21670cpBngP','gwGSl','OmNVB','__driver','browserStackLogLevel','cOxbo','KMiRz','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','send','push','Hub\x20url\x20set\x20to\x20','global','../../../bin/utils/constants','../../../helpers/helper','ieOptions','PFYwH','YKiyQ','OlTib','__setBrowserOptions','__drivers','2288480DfDTuE','zJsny','options_','mergeDeep','HttpClient','forEach','chromeOptions','set','capability','SNDXv','keys','isUndefined','getHttpAgent','TAhLm','ByQPt','setCapabilities','info','lOulw','2085456glcOhw','cNNio','shqfC','Kywoe','getAccessibilityResultsSummary','setLogLevel','exports','dSkVh','setGlobal','safari.options','uspgR','logLevel','/wd/hub','proxySettings','getGlobal','XmIOZ','../../../hubAllocationMethods','storeOptimalHubUrl','get','moz:firefoxOptions','ms:edgeOptions','se:ieOptions','New\x20hub\x20url\x20set\x20to\x20','KHyzA','split','safariOptions_','edgeOptions_','proxy_','quitCount_','../../../helpers/globals','url_','7114565Qbuomv','isBrowserstackInfra','tkIcC','QFQxr','winstonLogger','agent_','proxyUrl','then','optimalHubUrl','updateHubUrl','isPacProxy','getAccessibilityResults','2HcEVpI','nFjXT','Builder','../accessibility-automation/helper','CAPABILITY_KEY','capabilities_','zEzZY','eZplu','rpVdi','427Wvpwul','rcCIb','KBdmg','/session','newHubUrl','PakAS'];a33_0x1803=function(){return _0x2dec12;};return a33_0x1803();}
@@ -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
+ function a34_0x5ea2(_0x25c749,_0xa2faf2){const _0x5ebaa6=a34_0x5eba();return a34_0x5ea2=function(_0x5ea2e1,_0x3cb67a){_0x5ea2e1=_0x5ea2e1-0x141;let _0x5ab9fc=_0x5ebaa6[_0x5ea2e1];return _0x5ab9fc;},a34_0x5ea2(_0x25c749,_0xa2faf2);}const a34_0x4d4e0d=a34_0x5ea2;(function(_0x4c62e1,_0x5cae70){const _0x5bfafa=a34_0x5ea2,_0x4910af=_0x4c62e1();while(!![]){try{const _0x1dab73=parseInt(_0x5bfafa(0x143))/0x1*(parseInt(_0x5bfafa(0x148))/0x2)+-parseInt(_0x5bfafa(0x14b))/0x3*(-parseInt(_0x5bfafa(0x147))/0x4)+-parseInt(_0x5bfafa(0x141))/0x5+parseInt(_0x5bfafa(0x14e))/0x6+parseInt(_0x5bfafa(0x146))/0x7+-parseInt(_0x5bfafa(0x14a))/0x8*(-parseInt(_0x5bfafa(0x145))/0x9)+-parseInt(_0x5bfafa(0x14d))/0xa;if(_0x1dab73===_0x5cae70)break;else _0x4910af['push'](_0x4910af['shift']());}catch(_0x1bd4d6){_0x4910af['push'](_0x4910af['shift']());}}}(a34_0x5eba,0x7dd2c));const requestSpy=require(a34_0x4d4e0d(0x144)),constants=require(a34_0x4d4e0d(0x149)),{addRequestSpy}=require('../../../helpers/test-observability/utils');exports[a34_0x4d4e0d(0x142)]={'beforeAll'(){const _0x446122=a34_0x4d4e0d,_0x18691b={'VqYRq':function(_0x252054){return _0x252054();}},_0x248122='browserstack internal helper hook';_0x18691b[_0x446122(0x14f)](addRequestSpy);},'afterAll'(){const _0x1d9fac=a34_0x4d4e0d,_0x2973c6='browserstack internal helper hook';this[_0x1d9fac(0x14c)](0xea60),requestSpy['restore']();}};function a34_0x5eba(){const _0x5377e5=['18oquQJw','../../../helpers/request-spy','4550022eXYDYQ','4859428zQKGoj','16JyaUhV','39430hjlMbM','../../../bin/utils/constants','16AHfjzA','518172WMEmuz','timeout','20236140rnqgSD','1382700JbhDrm','VqYRq','2212750fWsYMf','mochaHooks'];a34_0x5eba=function(){return _0x5377e5;};return a34_0x5eba();}
@@ -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
+ const a35_0x507c55=a35_0x1b47;(function(_0x221e28,_0x292113){const _0x9b2e97=a35_0x1b47,_0x3f8fb9=_0x221e28();while(!![]){try{const _0x439aa0=-parseInt(_0x9b2e97(0x98))/0x1*(-parseInt(_0x9b2e97(0x82))/0x2)+parseInt(_0x9b2e97(0x99))/0x3+-parseInt(_0x9b2e97(0x73))/0x4*(-parseInt(_0x9b2e97(0xb4))/0x5)+parseInt(_0x9b2e97(0x9c))/0x6*(-parseInt(_0x9b2e97(0x72))/0x7)+parseInt(_0x9b2e97(0xaf))/0x8+parseInt(_0x9b2e97(0x85))/0x9*(parseInt(_0x9b2e97(0x86))/0xa)+-parseInt(_0x9b2e97(0xc2))/0xb;if(_0x439aa0===_0x292113)break;else _0x3f8fb9['push'](_0x3f8fb9['shift']());}catch(_0x21c8ea){_0x3f8fb9['push'](_0x3f8fb9['shift']());}}}(a35_0x48c7,0x50d7f));function a35_0x48c7(){const _0x3d524d=['GKtFj','map_','2700593bFHLBW','97028VGwkgv','eoeQC','pending','indexOf','zLhDi','getBrowserVersion','slice','lodash','bxhSv','pjLuu','hookAnalyticsId','sEAfs','concat','reduce','SOZfi','2wGJkXw','hook','getBrowserName','27qEQAdw','908340DHBzzy','WSCfb','QOHai','getTestEnv','zuKNL','push','umlJr','getPlatform','parent','emit','getCapabilities','teBQP','DPizd','unknown_grid','rplSl','platformVersion','../../../../package.json','_afterAll','645703bNZKiq','1936596oOcvyN','split','toISOString','6AhYEon','NLySl','pid','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','jnwBc','_afterEach','hook:','substring','get','../../../helpers/test-observability/constants','mapTestHooks','kPJBE','YTDUG','state','forEach','_beforeEach','__cloud_provider___','tests','JpBgF','802064gMIyOg','lWZbD','YeaPh','generic','kybPY','5fbvSpP','browserstack','passed','_beforeAll','failed','lpxDq','markedStatus','../../../helpers/test-observability/utils','getHookSkippedTests','getHooksForTest','filter','YSSWH','sendPlatformDetails','LFegI','10684498BPaBzf','gehrh','BKczk','KazwT'];a35_0x48c7=function(){return _0x3d524d;};return a35_0x48c7();}const {v4:uuidv4}=require('uuid'),{name,version}=require(a35_0x507c55(0x96)),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require('../../../helpers/test-observability/utils'),{consoleHolder}=require(a35_0x507c55(0xa5)),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils'),{isFunction}=require(a35_0x507c55(0x7a)),{patchConsoleLogger}=require(a35_0x507c55(0xbb));function a35_0x1b47(_0x1e5232,_0x4b53fc){const _0x48c7d0=a35_0x48c7();return a35_0x1b47=function(_0x1b47c5,_0x18aeaa){_0x1b47c5=_0x1b47c5-0x6d;let _0x16aa22=_0x48c7d0[_0x1b47c5];return _0x16aa22;},a35_0x1b47(_0x1e5232,_0x4b53fc);}patchConsoleLogger(),exports[a35_0x507c55(0x89)]=()=>{const _0x3c6679=a35_0x507c55,_0x57a906={'DPizd':_0x3c6679(0xb2),'YSSWH':function(_0x1cd73a){return _0x1cd73a();}};return{'ci':_0x57a906[_0x3c6679(0x92)],'key':_0x57a906[_0x3c6679(0xbf)](uuidv4),'version':version,'collector':'js-'+name};},exports['getHookDetails']=_0x12fad7=>{const _0x1c0147=a35_0x507c55,_0x4bc162={};_0x4bc162[_0x1c0147(0x9d)]=function(_0x5bc86a,_0x1a8a0c){return _0x5bc86a!==_0x1a8a0c;},_0x4bc162['kPJBE']='string',_0x4bc162['GKtFj']=_0x1c0147(0xa2),_0x4bc162[_0x1c0147(0x87)]=_0x1c0147(0x83);const _0x3c0292=_0x4bc162;if(!_0x12fad7||_0x3c0292[_0x1c0147(0x9d)](typeof _0x12fad7,_0x3c0292[_0x1c0147(0xa7)]))return[null,null];if(_0x3c0292[_0x1c0147(0x9d)](_0x12fad7['indexOf'](_0x3c0292['GKtFj']),-0x1)){const _0x42c509=_0x12fad7[_0x1c0147(0x9a)](_0x3c0292[_0x1c0147(0x70)]);return[_0x42c509[0x0][_0x1c0147(0x79)](0x0,-0x1)[_0x1c0147(0x9a)]('\x22')[0x1],_0x42c509[0x1][_0x1c0147(0xa3)](0x1)];}else{if(_0x3c0292[_0x1c0147(0x9d)](_0x12fad7[_0x1c0147(0x76)](_0x3c0292[_0x1c0147(0x87)]),-0x1)){const _0x2c2fb2=_0x12fad7['split'](_0x3c0292[_0x1c0147(0x87)]);return[_0x2c2fb2[0x0][_0x1c0147(0x79)](0x0,-0x1)['split']('\x22')[0x1],_0x12fad7];}}return[null,null];},exports[a35_0x507c55(0xbd)]=_0x3874fd=>{const _0x304dbe=a35_0x507c55,_0x95f3d8={'eoeQC':function(_0x3133ca,_0x4ca11c){return _0x3133ca(_0x4ca11c);},'JOkUi':_0x304dbe(0xb7),'BKczk':_0x304dbe(0x97),'QOHai':_0x304dbe(0xab),'PRuQf':_0x304dbe(0xa1)};if(!_0x3874fd||!_0x3874fd[_0x304dbe(0x8e)])return[];const _0x367ddf=[];return[_0x95f3d8['JOkUi'],_0x95f3d8[_0x304dbe(0x6e)],_0x95f3d8[_0x304dbe(0x88)],_0x95f3d8['PRuQf']]['forEach'](_0x14a0de=>{const _0x39212b=_0x304dbe,_0x166e28={'lWZbD':function(_0x34f4b4,_0x49b4e2){const _0x261c49=a35_0x1b47;return _0x95f3d8[_0x261c49(0x74)](_0x34f4b4,_0x49b4e2);}},_0x25c13e=_0x3874fd['parent'][_0x14a0de]||[];_0x25c13e[_0x39212b(0xaa)](_0x3282a7=>{const _0x2f4037=_0x39212b;_0x3282a7[_0x2f4037(0x7d)]&&!_0x166e28[_0x2f4037(0xb0)](isInternalHook,_0x3282a7['fn'])&&_0x367ddf[_0x2f4037(0x8b)](_0x3282a7[_0x2f4037(0x7d)]);});}),[..._0x367ddf,...exports['getHooksForTest'](_0x3874fd['parent'])];},exports[a35_0x507c55(0xa6)]=_0x3ef7c6=>{const _0x4e20ab=a35_0x507c55,_0x2f130b={'zLhDi':function(_0x39f8bd){return _0x39f8bd();},'umlJr':function(_0x4d4acf,_0x4158e4){return _0x4d4acf===_0x4158e4;},'hLhzJ':_0x4e20ab(0xa1),'bxhSv':_0x4e20ab(0xb7),'SOZfi':_0x4e20ab(0x97),'LFegI':_0x4e20ab(0xab)};if(!_0x3ef7c6||!_0x3ef7c6[_0x4e20ab(0x8e)])return;[_0x2f130b[_0x4e20ab(0x7b)],_0x2f130b[_0x4e20ab(0x81)],_0x2f130b[_0x4e20ab(0xc1)],_0x2f130b['hLhzJ']][_0x4e20ab(0xaa)](_0x1663a2=>{const _0x38dfdc=_0x4e20ab,_0x1a0fb6={'lHsfV':function(_0x36a85a){const _0x50cf5b=a35_0x1b47;return _0x2f130b[_0x50cf5b(0x77)](_0x36a85a);},'JpBgF':function(_0x2178c3,_0xae4157){const _0x2f8958=a35_0x1b47;return _0x2f130b[_0x2f8958(0x8c)](_0x2178c3,_0xae4157);},'sEAfs':_0x2f130b['hLhzJ'],'KazwT':function(_0x15ed4f){return _0x2f130b['zLhDi'](_0x15ed4f);}},_0x19e729=_0x3ef7c6['parent'][_0x1663a2]||[];_0x19e729[_0x38dfdc(0xaa)](_0x20b139=>{const _0x3b0e4d=_0x38dfdc;if(!_0x20b139[_0x3b0e4d(0x7d)])_0x20b139[_0x3b0e4d(0x7d)]=_0x1a0fb6['lHsfV'](uuidv4);else _0x20b139[_0x3b0e4d(0xba)]&&_0x1a0fb6[_0x3b0e4d(0xae)](_0x1663a2,_0x1a0fb6[_0x3b0e4d(0x7e)])&&(_0x20b139['hookAnalyticsId']=_0x1a0fb6[_0x3b0e4d(0x6f)](uuidv4),delete _0x20b139[_0x3b0e4d(0xba)]);});}),exports[_0x4e20ab(0xa6)](_0x3ef7c6[_0x4e20ab(0x8e)]);},exports[a35_0x507c55(0xc0)]=async(_0x147cbe,_0x31bd4a)=>{const _0x2d1f39=a35_0x507c55,_0x1a6a13={'lpxDq':function(_0x4f635c){return _0x4f635c();},'gehrh':function(_0x297856,_0x174758){return _0x297856(_0x174758);},'zuKNL':_0x2d1f39(0x95),'svoFS':function(_0x12fe80,_0x4ea64a){return _0x12fe80(_0x4ea64a);},'xnEsO':function(_0x431ce6,_0x12c013){return _0x431ce6===_0x12c013;},'zdblA':_0x2d1f39(0xb5),'jnwBc':_0x2d1f39(0x93),'YTDUG':'TEST_PLATFORM','rplSl':function(_0x179f05,_0x189962){return _0x179f05(_0x189962);}};try{if(!_0x1a6a13[_0x2d1f39(0xb9)](shouldProcessEventForTesthub))return;const _0x1a8de0=await _0x147cbe['getCapabilities'](),_0x31da61=await _0x147cbe['getSession'](),_0x8cffdd={},_0x1bbc78=Object['fromEntries'](_0x31da61[_0x2d1f39(0x90)]()[_0x2d1f39(0x71)]),_0xda7bac={'product':_0x1a6a13[_0x2d1f39(0x6d)](getObservabilityLinkedProductName,_0x1bbc78),'capabilities':_0x1bbc78,'platform':_0x1a8de0[_0x2d1f39(0x8d)](),'platform_version':_0x1a8de0['get'](_0x1a6a13['zuKNL'])?_0x1a8de0[_0x2d1f39(0xa4)](_0x1a6a13[_0x2d1f39(0x8a)]):_0x1a6a13['svoFS'](getPlatformVersion,_0x1a6a13['xnEsO'](global['__cloud_provider___'],_0x1a6a13['zdblA'])),'browser':_0x1a8de0[_0x2d1f39(0x84)](),'browser_version':_0x1a8de0[_0x2d1f39(0x78)](),'session_id':_0x31da61['toJSON']()};global[_0x2d1f39(0xac)]?_0x8cffdd[global[_0x2d1f39(0xac)]]=_0xda7bac:_0x8cffdd[_0x1a6a13[_0x2d1f39(0xa0)]]=_0xda7bac,process[_0x2d1f39(0x8f)]('bs:addPlatformDetails:'+process[_0x2d1f39(0x9e)],{'timestamp':new Date()[_0x2d1f39(0x9b)](),'level':null,'message':null,'kind':_0x1a6a13[_0x2d1f39(0xa8)],'http_response':_0x8cffdd,'uuid':_0x31bd4a});}catch(_0x24e09f){_0x1a6a13[_0x2d1f39(0x94)](debug,_0x2d1f39(0x9f)+_0x24e09f);}},exports['getHookSkippedTests']=_0xc1f854=>{const _0x5241e9=a35_0x507c55,_0x3bc667={};_0x3bc667['IyOhP']=function(_0x880f09,_0x5a7454){return _0x880f09!==_0x5a7454;},_0x3bc667[_0x5241e9(0x91)]=_0x5241e9(0x83),_0x3bc667[_0x5241e9(0xb1)]=function(_0x5d7e08,_0x2331d2){return _0x5d7e08!==_0x2331d2;},_0x3bc667['pjLuu']=_0x5241e9(0xb6),_0x3bc667[_0x5241e9(0xb3)]=_0x5241e9(0xb8);const _0x3529cf=_0x3bc667,_0x2d9e8a=_0xc1f854['suites'][_0x5241e9(0x80)]((_0x5bfc6d,_0x12f9cb)=>{const _0x40af8c=_0x5241e9,_0x1b0e0b=exports[_0x40af8c(0xbc)](_0x12f9cb);return _0x1b0e0b&&(_0x5bfc6d=_0x5bfc6d[_0x40af8c(0x7f)](_0x1b0e0b)),_0x5bfc6d;},[]),_0x4f7c31=_0xc1f854[_0x5241e9(0xad)][_0x5241e9(0xbe)](_0x2d19c6=>{const _0x303de5=_0x5241e9,_0x432c89=_0x3529cf['IyOhP'](_0x2d19c6['type'],_0x3529cf[_0x303de5(0x91)])&&!_0x2d19c6[_0x303de5(0xba)]&&_0x3529cf[_0x303de5(0xb1)](_0x2d19c6[_0x303de5(0xa9)],_0x3529cf[_0x303de5(0x7c)])&&_0x3529cf[_0x303de5(0xb1)](_0x2d19c6[_0x303de5(0xa9)],_0x3529cf[_0x303de5(0xb3)])&&!_0x2d19c6[_0x303de5(0x75)];return _0x432c89;});return _0x4f7c31[_0x5241e9(0x7f)](_0x2d9e8a);};
@@ -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_0x34b5(_0x9223c9,_0x1c77a7){const _0x311fb4=a36_0x311f();return a36_0x34b5=function(_0x34b56c,_0x1e1466){_0x34b56c=_0x34b56c-0xe4;let _0x395c8f=_0x311fb4[_0x34b56c];return _0x395c8f;},a36_0x34b5(_0x9223c9,_0x1c77a7);}function a36_0x311f(){const _0x42951c=['Passed','util','../../helpers/helper','pVKqq','JhxuB','protocol','capabilities','driverCleanup','err','103278NeQAfd','testAnalyticsId','KTBZr','dKYSP','ZApsk','__sessionFailed','then','thTestRunUuid','thJwtToken','112nwzLyv','executeScript','mochaHooks','SMqhW','currentTest','Mocha','afterAll','__drivers','CaBWP','ObservabilitySync:','SYNC','AKWwO','bTwlE','hMmkR','ZRGMZ','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','join','appium:app','session_','length','saveAccessibilityResultsWithRetry','BROWSERSTACK_TESTHUB_JWT','initQuit','Eiint','index','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','error','push','gSdUj','DpAxq','info','ExViE','NuPnm','XRwIO','warn','4167jATWCI','zJsjt','app','cboEN','../../helpers/testhub/utils','Failed:\x20','startMonitoring','NfMhU','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','../../helpers/performance/performance-tester','__error_messages__','rACbw','3959972xXWEmU','aOaMt','MPWRp','ntSJm','YUeuA','debug','PRAii','Echtr','Gevby','isArray','now','47660KTnxly','hKKVH','VHyrS','../../helpers/accessibility-automation/accessibilityRetryHelper','NwvIA','fVhWl','JzshD','uMNnS','FdIUB','winstonLogger','passed',',\x22level\x22:\x20\x22','RPueZ','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','timeout','ESKZt','jUVOY','../../helpers/percy/utils','getGlobal','../../helpers/globals','fhBCp','tZdvc','\x20-\x20','3CafZXE','tbmeu','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','isAccessibilityPlatform','VtJAv','fzHof','Ledcf','stringify','jUUED','.\x20Error\x20:','http:','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','browserstackTestName','keESe','6409176WcDgkh','measureWrapper','shouldScanTestForAccessibility','../../helpers/testhub/constants','eCBfI','beforeEach','SDK_HOOK','mOKsS','sNvYV','1223288yPrkQn','end','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','mYkOt','WOTxK','4329210PqTOgl','BWBcH','finally','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','Failed\x20to\x20store\x20session\x20name:\x20','sqmQJ','xySOY','kDzIS','accessibilityScanStarted','RsLAP','jVxQP','browserstackSessionName','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','failed','bstackA11yShouldScan','MSwOv','performScanWithRetry','setGlobal','wkiQM','start','YkEKt','__skipSessionName','quitCount_','percy','ShSbD','shift','bTEkE','ENV_VAR','format','../../helpers/accessibility-automation/helper','MwYAq','sAcyb','PERFORM_SCAN','rlkNZ','thBuildUuid','percyCaptureMode','nkPYX','Accessibility\x20results\x20saved\x20successfully','TedZJ','anJVx','sessionNameSet__','635356hZkCTE','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','KUStz','state','titlePath','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','cYQcM','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','KGrBZ','MrRGP','env','GNLSL','urmFz','yjAeT','OZdiP','vXQGW','../utils/constants','SbAWE','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','gDxqP','cmCzX','IIRSj','hwhMN','testcase','__platformCaps','PHJAq','hINcb','WUNOY','moxni'];a36_0x311f=function(){return _0x42951c;};return a36_0x311f();}const a36_0x466a57=a36_0x34b5;(function(_0xb0854e,_0x429b61){const _0x505da6=a36_0x34b5,_0x14e2f9=_0xb0854e();while(!![]){try{const _0x4c3b7f=-parseInt(_0x505da6(0x195))/0x1+-parseInt(_0x505da6(0x167))/0x2+-parseInt(_0x505da6(0x14f))/0x3*(-parseInt(_0x505da6(0x12d))/0x4)+-parseInt(_0x505da6(0x16c))/0x5+-parseInt(_0x505da6(0xf5))/0x6*(-parseInt(_0x505da6(0xfe))/0x7)+-parseInt(_0x505da6(0x15e))/0x8+parseInt(_0x505da6(0x121))/0x9*(parseInt(_0x505da6(0x138))/0xa);if(_0x4c3b7f===_0x429b61)break;else _0x14e2f9['push'](_0x14e2f9['shift']());}catch(_0x3c1c87){_0x14e2f9['push'](_0x14e2f9['shift']());}}}(a36_0x311f,0x883f6));const util=require(a36_0x466a57(0xed)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x466a57(0x189)),accessibilityRetryHelper=require(a36_0x466a57(0x13b)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x466a57(0x1a5)),{percyAutoCapture}=require(a36_0x466a57(0x149)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x466a57(0xee)),PerformanceTester=require(a36_0x466a57(0x12a)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require('../../helpers/performance/constants'),globals=require(a36_0x466a57(0x14b)),logger=require('../../helpers/logger')[a36_0x466a57(0x141)],{shouldProcessEventForTesthub}=require(a36_0x466a57(0x125)),testHubConstants=require(a36_0x466a57(0x161));exports[a36_0x466a57(0x100)]={'beforeAll'(){const _0xc7b0b8=a36_0x466a57,_0x1a76cd={'urmFz':function(_0x4a787d,_0x2a3970,_0x4440ca,_0x10b000){return _0x4a787d(_0x2a3970,_0x4440ca,_0x10b000);},'MwYAq':_0xc7b0b8(0x179),'YbHzx':'\x20|\x20','tZdvc':function(_0x15445a,_0x5b3125,_0x9d4a73){return _0x15445a(_0x5b3125,_0x9d4a73);},'YSoZx':_0xc7b0b8(0x142),'AKWwO':function(_0x48b20d){return _0x48b20d();},'dKYSP':function(_0x4df50c,_0x4de2ba,_0x1b26aa){return _0x4df50c(_0x4de2ba,_0x1b26aa);},'mOKsS':_0xc7b0b8(0x116),'KTBZr':'beforeAll'};PerformanceTester[_0xc7b0b8(0x127)]();const _0x4ff348='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0xc7b0b8(0x164)],()=>{const _0x79ba90=_0xc7b0b8;global['__error_messages__']=[],global[_0x79ba90(0xfa)]=![],global[_0x79ba90(0xf3)]=async()=>{const _0x7bee71=_0x79ba90;let _0x21d301=![];try{await global[_0x7bee71(0x105)][0x0][_0x7bee71(0x110)],_0x21d301=!![],global[_0x7bee71(0xfa)]?await _0x1a76cd[_0x7bee71(0x1a1)](markSessionStatus,global[_0x7bee71(0x105)][0x0],_0x1a76cd[_0x7bee71(0x18a)],global['__error_messages__'][_0x7bee71(0x10e)](_0x1a76cd['YbHzx'])):await _0x1a76cd[_0x7bee71(0x14d)](markSessionStatus,global['__drivers'][0x0],_0x1a76cd['YSoZx']);}catch(_0x331ceb){logger[_0x7bee71(0x132)](_0x7bee71(0x151)+_0x331ceb);}global['__error_messages__']=[],global['__sessionFailed']=![];if(_0x21d301)try{try{_0x1a76cd[_0x7bee71(0x109)](shouldProcessEventForTesthub)&&(global[_0x7bee71(0x105)][0x0]&&await _0x1a76cd['tZdvc'](sendPlatformDetails,global[_0x7bee71(0x105)][0x0],this[_0x7bee71(0x102)]?this['currentTest'][_0x7bee71(0xf6)]:null));}catch(_0x463be9){logger[_0x7bee71(0x132)](_0x7bee71(0x129)+_0x463be9);}await global[_0x7bee71(0x105)][0x0][_0x7bee71(0x114)]();}catch(_0x24cfd9){logger[_0x7bee71(0x132)](_0x7bee71(0x15a)+_0x24cfd9);}};},{'platform':_0x1a76cd[_0xc7b0b8(0xf8)](nestedKeyValue,global[_0xc7b0b8(0xe7)],[_0x1a76cd[_0xc7b0b8(0x165)]]),'hookType':_0x1a76cd[_0xc7b0b8(0xf7)]})();},'beforeEach'(_0x2560f1){const _0x56ab5a=a36_0x466a57,_0x190f67={'NuPnm':function(_0x163eb5){return _0x163eb5();},'JzshD':function(_0x2bd89c,_0x476ed1){return _0x2bd89c>_0x476ed1;},'YkEKt':_0x56ab5a(0x14e),'CaBWP':function(_0x1fd4bf,_0x333422,_0x1f0535){return _0x1fd4bf(_0x333422,_0x1f0535);},'hwhMN':'bstackA11yShouldScan','BWBcH':_0x56ab5a(0x152),'Echtr':function(_0x296c9d,_0xdb1afd){return _0x296c9d===_0xdb1afd;},'ntSJm':_0x56ab5a(0x159),'xySOY':function(_0x254c24,_0xe3a9b){return _0x254c24===_0xe3a9b;},'Eiint':'https:','ExViE':_0x56ab5a(0x196),'aXWVp':'Automate\x20test\x20case\x20execution\x20has\x20started.','yjAeT':_0x56ab5a(0x15c),'bTwlE':function(_0xbd6eca,_0x3f9e1d,_0x1dc6b1){return _0xbd6eca(_0x3f9e1d,_0x1dc6b1);},'ESKZt':_0x56ab5a(0x116),'OZKuv':_0x56ab5a(0x163)};globals[_0x56ab5a(0x17d)](_0x190f67[_0x56ab5a(0x1a2)],this['currentTest'][_0x56ab5a(0x199)]()[_0x56ab5a(0x10e)](_0x190f67[_0x56ab5a(0x180)])),PerformanceTester[_0x56ab5a(0x15f)](PerformanceSdkEvents[_0x56ab5a(0x164)],()=>{const _0x3a36ae=_0x56ab5a,_0x372b61={'kDzIS':function(_0x3dd1b8,_0x5bc11e){const _0x40d7ce=a36_0x34b5;return _0x190f67[_0x40d7ce(0x13e)](_0x3dd1b8,_0x5bc11e);},'WUNOY':_0x190f67[_0x3a36ae(0x180)],'FcKHP':function(_0x8bba6c,_0xb85e85,_0x206f0e){const _0x1dac4a=_0x3a36ae;return _0x190f67[_0x1dac4a(0x106)](_0x8bba6c,_0xb85e85,_0x206f0e);},'Ledcf':_0x190f67[_0x3a36ae(0xe5)],'VtJAv':function(_0x274141){return _0x190f67['NuPnm'](_0x274141);},'vXQGW':function(_0x2129c5,_0x3be1f8){return _0x190f67['JzshD'](_0x2129c5,_0x3be1f8);},'jzoMS':_0x190f67[_0x3a36ae(0x16d)],'BSdkL':function(_0x142c7c,_0x15db95){const _0x1cb8e4=_0x3a36ae;return _0x190f67[_0x1cb8e4(0x134)](_0x142c7c,_0x15db95);},'XRwIO':_0x190f67[_0x3a36ae(0x130)],'cboEN':function(_0x286a8a,_0x2c559e){const _0x4968f3=_0x3a36ae;return _0x190f67[_0x4968f3(0x172)](_0x286a8a,_0x2c559e);},'hINcb':_0x190f67[_0x3a36ae(0x115)],'MSwOv':_0x190f67[_0x3a36ae(0x11d)],'pVKqq':_0x190f67['aXWVp']},_0x387f4e='browserstack internal helper hook';new Promise(async _0x1bcba1=>{const _0x1321da=_0x3a36ae;let _0x11e773=!![];try{_0x372b61[_0x1321da(0x173)](global['__drivers']['length'],0x1)&&(await global[_0x1321da(0xf3)](),global[_0x1321da(0x105)][_0x1321da(0x185)]()),_0x372b61[_0x1321da(0x173)](global[_0x1321da(0x105)][0x0][_0x1321da(0x182)],0x0)&&(_0x11e773=![],await global[_0x1321da(0xf3)]());}catch(_0x46ed0b){logger['debug'](_0x1321da(0x15a)+_0x46ed0b);}try{Array['isArray'](global['__drivers'])&&global[_0x1321da(0x105)][0x0]&&(global[_0x1321da(0x105)][0x0][_0x1321da(0x177)]=this[_0x1321da(0x102)][_0x1321da(0x199)]()['join'](_0x372b61[_0x1321da(0xea)])),global[_0x1321da(0x177)]=this[_0x1321da(0x102)][_0x1321da(0x199)]()[_0x1321da(0x10e)](_0x372b61['WUNOY']);}catch(_0x44423c){logger[_0x1321da(0x132)](_0x1321da(0x170)+_0x44423c);}this['currentTest'][_0x1321da(0x160)]=_0x372b61['FcKHP'](shouldScanTestForAccessibility,this[_0x1321da(0x102)][_0x1321da(0x199)](),!![]),globals['setGlobal'](_0x372b61[_0x1321da(0x155)],this[_0x1321da(0x102)]['shouldScanTestForAccessibility']),this[_0x1321da(0x102)][_0x1321da(0x174)]=!![];if(_0x372b61[_0x1321da(0x153)](isAccessibilityAutomationSession)&&_0x11e773&&Array[_0x1321da(0x136)](global[_0x1321da(0x105)])&&_0x372b61[_0x1321da(0x1a4)](global[_0x1321da(0x105)][_0x1321da(0x111)],0x0)&&globals[_0x1321da(0x14a)](_0x372b61['jzoMS']))try{const _0x363ca7=await global['__drivers'][0x0][_0x1321da(0x110)];if(_0x363ca7){let _0x8106a5=!![];const _0x302044=await global['__drivers'][0x0]['getCurrentUrl']();let _0xf96f16;try{_0xf96f16=new URL(_0x302044);}catch(_0x355257){_0x8106a5=![];}_0x8106a5=_0x372b61['BSdkL'](_0xf96f16[_0x1321da(0xf1)],_0x372b61[_0x1321da(0x11f)])||_0x372b61[_0x1321da(0x124)](_0xf96f16['protocol'],_0x372b61[_0x1321da(0xe9)]),_0x8106a5&&(this['currentTest']['shouldScanTestForAccessibility']&&logger[_0x1321da(0x11c)](_0x372b61[_0x1321da(0x17b)])),this['currentTest'][_0x1321da(0x174)]=this[_0x1321da(0x102)][_0x1321da(0x160)],this['currentTest'][_0x1321da(0x160)]&&logger['info'](_0x372b61[_0x1321da(0xef)]);}}catch(_0x4018e0){logger[_0x1321da(0x118)](_0x1321da(0x145)+util[_0x1321da(0x188)](_0x4018e0));}_0x372b61[_0x1321da(0x153)](_0x1bcba1);})['then'](()=>{const _0x7a3d6d=_0x3a36ae;_0x190f67[_0x7a3d6d(0x11e)](_0x2560f1);});},{'platform':_0x190f67[_0x56ab5a(0x10a)](nestedKeyValue,global[_0x56ab5a(0xe7)],[_0x190f67[_0x56ab5a(0x147)]]),'hookType':_0x190f67['OZKuv']})();},'afterEach'(_0x3323e3){const _0x8483af=a36_0x466a57,_0x3b0728={'Gevby':function(_0xddaa3){return _0xddaa3();},'tbmeu':function(_0x33cc5c,_0x5120ba){return _0x33cc5c!==_0x5120ba;},'fzHof':_0x8483af(0x142),'jVxQP':function(_0x9516e6,_0x8b24f9,_0x5a5b7f){return _0x9516e6(_0x8b24f9,_0x5a5b7f);},'sqmQJ':function(_0xd72175,_0x4fc641){return _0xd72175+_0x4fc641;},'mYkOt':_0x8483af(0x126),'GNLSL':_0x8483af(0x118),'hKKVH':function(_0x178a47,_0x218083,_0x4f8a0c){return _0x178a47(_0x218083,_0x4f8a0c);},'sNvYV':_0x8483af(0xec),'PPbDu':'info','IIRSj':'\x20-\x20','YUeuA':function(_0x127d92,_0xef5a28){return _0x127d92>_0xef5a28;},'aOaMt':function(_0x3b3689,_0x2542bd){return _0x3b3689===_0x2542bd;},'YAPQg':_0x8483af(0xe6),'MrRGP':_0x8483af(0x10f),'WIFCg':function(_0x55890c,_0x52df05,_0x451238,_0x701057){return _0x55890c(_0x52df05,_0x451238,_0x701057);},'sAcyb':_0x8483af(0x152),'KGrBZ':_0x8483af(0x17a),'PRAii':_0x8483af(0x169),'NfMhU':_0x8483af(0x15b),'RsLAP':'afterTest','RPueZ':'Accessibility\x20scan\x20completed\x20successfully','DpAxq':_0x8483af(0x10d),'anJVx':_0x8483af(0x191),'ZApsk':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','ShSbD':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','kZKpD':function(_0x151917){return _0x151917();},'jKbcR':_0x8483af(0x132),'SLYcb':function(_0x56fbe5){return _0x56fbe5();},'FXmgg':_0x8483af(0x103),'Dawms':'index','jUUED':'afterEach'},_0x2bfd85='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x3b0728['FXmgg']]),global['sessionName']=this['currentTest'][_0x8483af(0x199)]()['join'](_0x3b0728[_0x8483af(0xe4)]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x8483af(0x164)],()=>{const _0x59a96c=_0x8483af,_0x21cb11={'TedZJ':function(_0x3ff603,_0x5c8ced){const _0x1d6f5f=a36_0x34b5;return _0x3b0728[_0x1d6f5f(0x150)](_0x3ff603,_0x5c8ced);},'rBLJg':_0x3b0728[_0x59a96c(0x154)],'fhBCp':function(_0x3fea30,_0x5b9a3a,_0x3f2047){const _0x33c546=_0x59a96c;return _0x3b0728[_0x33c546(0x176)](_0x3fea30,_0x5b9a3a,_0x3f2047);},'wkiQM':function(_0x5871f0,_0x322514){const _0x4bb815=_0x59a96c;return _0x3b0728[_0x4bb815(0x171)](_0x5871f0,_0x322514);},'SMqhW':_0x3b0728[_0x59a96c(0x16a)],'keESe':_0x3b0728[_0x59a96c(0x1a0)],'cmCzX':function(_0x6d0816,_0x18af49,_0x14cedc){const _0x41bcd6=_0x59a96c;return _0x3b0728[_0x41bcd6(0x139)](_0x6d0816,_0x18af49,_0x14cedc);},'JTakR':_0x3b0728[_0x59a96c(0x166)],'OZdiP':_0x3b0728['PPbDu'],'ZRGMZ':_0x3b0728['IIRSj'],'PHJAq':function(_0x21275a,_0xd4f490){const _0x251a75=_0x59a96c;return _0x3b0728[_0x251a75(0x131)](_0x21275a,_0xd4f490);},'cYQcM':function(_0x21cd28,_0xb8901c){const _0x243119=_0x59a96c;return _0x3b0728[_0x243119(0x12e)](_0x21cd28,_0xb8901c);},'VHyrS':_0x3b0728['YAPQg'],'rACbw':_0x3b0728[_0x59a96c(0x19e)],'moxni':function(_0xe63086,_0x49c4d2,_0x2060e9,_0x19d83f){return _0x3b0728['WIFCg'](_0xe63086,_0x49c4d2,_0x2060e9,_0x19d83f);},'QQREz':_0x3b0728[_0x59a96c(0x18b)],'SbAWE':_0x3b0728[_0x59a96c(0x19d)],'fVhWl':_0x3b0728[_0x59a96c(0x133)],'eCBfI':_0x3b0728[_0x59a96c(0x128)],'FdIUB':_0x3b0728[_0x59a96c(0x175)],'gDxqP':_0x3b0728[_0x59a96c(0x144)],'mwKop':_0x3b0728[_0x59a96c(0x11b)],'zJsjt':_0x3b0728[_0x59a96c(0x193)],'jUVOY':_0x3b0728[_0x59a96c(0xf9)],'nkPYX':_0x3b0728[_0x59a96c(0x184)],'NwvIA':function(_0x263cc2){const _0x691005=_0x59a96c;return _0x3b0728[_0x691005(0x135)](_0x263cc2);},'JhxuB':function(_0x238fce){return _0x3b0728['kZKpD'](_0x238fce);},'rlkNZ':function(_0x9922eb,_0x26ac14,_0x51145b){const _0x3dc2b3=_0x59a96c;return _0x3b0728[_0x3dc2b3(0x176)](_0x9922eb,_0x26ac14,_0x51145b);},'hMmkR':_0x3b0728['jKbcR'],'MPWRp':function(_0x7dc9ee,_0x4d4bc0){const _0x59b669=_0x59a96c;return _0x3b0728[_0x59b669(0x131)](_0x7dc9ee,_0x4d4bc0);},'uMNnS':function(_0x4f1e25){return _0x3b0728['SLYcb'](_0x4f1e25);}},_0x4e9012=async(_0x534a37,_0x498356)=>{const _0x4c4128=_0x59a96c;await global[_0x4c4128(0x105)][0x0][_0x4c4128(0xff)](_0x4c4128(0x19c)+_0x534a37+_0x4c4128(0x143)+_0x498356+'\x22}}');};new Promise(async _0xab4c4e=>{const _0x2beb40=_0x59a96c,_0x21ba91={};_0x21ba91[_0x2beb40(0x16b)]=_0x21cb11[_0x2beb40(0x10c)];const _0x306b06=_0x21ba91;try{_0x21cb11[_0x2beb40(0xe8)](global[_0x2beb40(0x105)][_0x2beb40(0x111)],0x1)&&(await global[_0x2beb40(0xf3)](),global[_0x2beb40(0x105)][_0x2beb40(0x185)](),global['__error_messages__']=[],global[_0x2beb40(0xfa)]=![]);try{if(global[_0x2beb40(0x183)]&&_0x21cb11[_0x2beb40(0x19b)](global[_0x2beb40(0x18f)],_0x21cb11[_0x2beb40(0x13a)])&&global[_0x2beb40(0x105)][0x0]){const _0x1e15fd=_0x21cb11['PHJAq'](global[_0x2beb40(0xf2)][_0x2beb40(0x111)],0x0)?!!global[_0x2beb40(0xf2)][0x0][_0x2beb40(0x123)]||!!global[_0x2beb40(0xf2)][0x0][_0x21cb11[_0x2beb40(0x12c)]]:![],_0x5b8e42={};_0x5b8e42[_0x2beb40(0x123)]=_0x1e15fd,await _0x21cb11[_0x2beb40(0xeb)](percyAutoCapture,global[_0x2beb40(0x105)][0x0],_0x21cb11[_0x2beb40(0x13a)],_0x5b8e42);}}catch(_0x4741aa){logger['debug'](_0x2beb40(0x16f)+_0x4741aa);}!global[_0x2beb40(0x181)]&&(await PerformanceTester[_0x2beb40(0x15f)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x20750d=_0x2beb40;await global[_0x20750d(0x105)][0x0][_0x20750d(0xff)](_0x20750d(0x117)+JSON['stringify'](this[_0x20750d(0x102)][_0x20750d(0x199)]()[_0x20750d(0x10e)](_0x306b06[_0x20750d(0x16b)]))+'}}');})(),global[_0x2beb40(0x105)][0x0][_0x2beb40(0x194)]=!![]),await PerformanceTester[_0x2beb40(0x15f)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x1ae270=_0x2beb40,_0x202130=_0x21cb11[_0x1ae270(0x192)](this[_0x1ae270(0x102)][_0x1ae270(0x198)],_0x21cb11['rBLJg']);_0x202130?(global[_0x1ae270(0xfa)]=!![],global[_0x1ae270(0x12b)][_0x1ae270(0x119)](this[_0x1ae270(0x102)][_0x1ae270(0xf4)]['message']),await _0x21cb11[_0x1ae270(0x14c)](_0x4e9012,JSON[_0x1ae270(0x156)](_0x21cb11[_0x1ae270(0x17e)](_0x21cb11[_0x1ae270(0x101)],this[_0x1ae270(0x102)][_0x1ae270(0xf4)]['message'])),_0x21cb11[_0x1ae270(0x15d)])):await _0x21cb11[_0x1ae270(0x1a9)](_0x4e9012,JSON[_0x1ae270(0x156)](_0x21cb11['JTakR']),_0x21cb11[_0x1ae270(0x1a3)]);})();}catch(_0x405812){logger[_0x2beb40(0x132)]('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x405812);}try{if(this[_0x2beb40(0x102)]['accessibilityScanStarted']&&globals[_0x2beb40(0x14a)](_0x21cb11['QQREz'])&&globals[_0x2beb40(0x14a)](_0x21cb11[_0x2beb40(0x1a6)])){logger[_0x2beb40(0x11c)](_0x21cb11[_0x2beb40(0x13d)]);const _0x55ebc3={};_0x55ebc3[_0x2beb40(0xfc)]=this[_0x2beb40(0x102)][_0x2beb40(0xf6)],_0x55ebc3[_0x2beb40(0x18e)]=process[_0x2beb40(0x19f)][testHubConstants[_0x2beb40(0x187)]['BROWSERSTACK_TESTHUB_UUID']],_0x55ebc3[_0x2beb40(0xfd)]=process[_0x2beb40(0x19f)][testHubConstants[_0x2beb40(0x187)][_0x2beb40(0x113)]];const _0x2f39ad=_0x55ebc3;logger['debug'](_0x2beb40(0x19a)+JSON[_0x2beb40(0x156)](_0x2f39ad)),logger[_0x2beb40(0x132)](_0x21cb11[_0x2beb40(0x162)]);const _0x33dba5={};_0x33dba5['command']=_0x21cb11[_0x2beb40(0x140)];const _0x37d5a1=await PerformanceTester[_0x2beb40(0x15f)](PerformanceA11yEvents[_0x2beb40(0x18c)],async()=>{const _0xfb6264=_0x2beb40;return await accessibilityRetryHelper[_0xfb6264(0x17c)](global[_0xfb6264(0x105)][0x0],global[_0xfb6264(0x177)]);},_0x33dba5)();_0x37d5a1?logger['debug'](_0x21cb11[_0x2beb40(0x1a8)]):logger[_0x2beb40(0x120)](_0x21cb11['mwKop']);const _0x527f21=await PerformanceTester[_0x2beb40(0x15f)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x2c255c=_0x2beb40;return await accessibilityRetryHelper[_0x2c255c(0x112)](global[_0x2c255c(0x105)][0x0],_0x2f39ad);})();_0x527f21?logger[_0x2beb40(0x132)](_0x21cb11[_0x2beb40(0x122)]):logger[_0x2beb40(0x120)](_0x21cb11[_0x2beb40(0x148)]),logger[_0x2beb40(0x11c)](_0x21cb11[_0x2beb40(0x190)]);}}catch(_0x3f7a44){logger[_0x2beb40(0x118)](_0x2beb40(0x178)+this['currentTest'][_0x2beb40(0x199)]()+_0x2beb40(0x158),_0x3f7a44);}try{try{if(_0x21cb11[_0x2beb40(0x13c)](shouldProcessEventForTesthub)){global[_0x2beb40(0x105)][0x0]&&await _0x21cb11['cmCzX'](sendPlatformDetails,global[_0x2beb40(0x105)][0x0],this[_0x2beb40(0x102)]?this['currentTest'][_0x2beb40(0xf6)]:null);if(_0x21cb11[_0x2beb40(0xf0)](isBrowserstackInfra)){PerformanceTester[_0x2beb40(0x17f)](PerformanceO11yEvents['SYNC']);const _0xc513b3=_0x2beb40(0x107)+Date[_0x2beb40(0x137)]();await _0x21cb11[_0x2beb40(0x18d)](_0x4e9012,JSON['stringify'](_0xc513b3),_0x21cb11[_0x2beb40(0x10b)]),PerformanceTester[_0x2beb40(0x168)](PerformanceO11yEvents['SYNC']);}}}catch(_0x21ea05){logger[_0x2beb40(0x132)](_0x2beb40(0x1a7)+_0x21ea05),PerformanceTester['end'](PerformanceO11yEvents[_0x2beb40(0x108)],![],_0x21ea05);}_0x21cb11[_0x2beb40(0x12f)](global[_0x2beb40(0x105)][0x0][_0x2beb40(0x182)],0x0)&&await global[_0x2beb40(0xf3)]();}catch(_0x3e61d9){logger[_0x2beb40(0x132)](_0x2beb40(0x15a)+_0x3e61d9);}_0x21cb11[_0x2beb40(0x13f)](_0xab4c4e);})[_0x59a96c(0xfb)](()=>{const _0x8a063b=_0x59a96c;_0x3b0728[_0x8a063b(0x135)](_0x3323e3);});},{'platform':_0x3b0728['hKKVH'](nestedKeyValue,global[_0x8483af(0xe7)],[_0x3b0728['Dawms']]),'hookType':_0x3b0728[_0x8483af(0x157)]})();},'afterAll'(_0x14d053){const _0x1c56d5=a36_0x466a57,_0x1a1611={'SfHFv':function(_0x414811){return _0x414811();},'UoKer':function(_0x4832a8){return _0x4832a8();},'WNYtO':'Mocha','JWyoJ':function(_0x24a3e6,_0x4ee36b,_0x370476){return _0x24a3e6(_0x4ee36b,_0x370476);},'KUStz':_0x1c56d5(0x116),'gSdUj':_0x1c56d5(0x104)},_0x1d99d0='browserstack internal helper hook';this[_0x1c56d5(0x146)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x1a1611['WNYtO']]),PerformanceTester[_0x1c56d5(0x15f)](PerformanceSdkEvents[_0x1c56d5(0x164)],()=>{const _0xf10d26=_0x1c56d5,_0x3d3ed1={'bTEkE':function(_0x43bc6c){return _0x1a1611['UoKer'](_0x43bc6c);}};new Promise(async _0x4f611f=>{const _0x58d22b=a36_0x34b5;await global[_0x58d22b(0xf3)](),_0x3d3ed1[_0x58d22b(0x186)](_0x4f611f);})[_0xf10d26(0xfb)]()[_0xf10d26(0x16e)](()=>{_0x1a1611['SfHFv'](_0x14d053);});},{'platform':_0x1a1611['JWyoJ'](nestedKeyValue,global[_0x1c56d5(0xe7)],[_0x1a1611[_0x1c56d5(0x197)]]),'hookType':_0x1a1611[_0x1c56d5(0x11a)]})();}};
@@ -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_0xa819bf=a37_0x1b17;function a37_0x21fa(){const _0x4456d5=['slice','path','1260300kztPwZ','13bTwTxQ','orBMx','../../helpers/BrowserStackSetup','isUndefined','now','../../helpers/logger','Getting\x20your\x20nightwatch\x20configs\x20from\x20','nightwatch-browserstack.json','4186179uphhuT','../utils/constants','IBnxI','nightwatch','50858IXlicY','nightwatch.conf.js','debug','nightwatch.json','nihnU','hub.browserstack.com','info','--config','winstonLogger','300738rnJbUw','stringify','mergeDeep','ygEDq','splice','existsSync','test','desiredCapabilities','hxxUI','port','NgRkH','config','oeWHg','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','644416glnBVW','test_settings','webdriver','inherit','lJesL','push','join','child_process','env','trim','findIndex','cwd','UHAQd','--env','exports','JJlQP','AlZcR','split','Deleting\x20','platforms','BRTNM','bdgaW','map','forEach','653328Jmpoai','../../helpers/helper','start_process','getPlatformName','modifyBrowserStackW3CCaps','28fhNMFh','selenium','YoqQg','FETFt','nGUFg','filter','1060484QeOuGI','gPXqP','unlinkSync'];a37_0x21fa=function(){return _0x4456d5;};return a37_0x21fa();}(function(_0x28fffe,_0x1e4890){const _0x1fae27=a37_0x1b17,_0x32eef3=_0x28fffe();while(!![]){try{const _0x493e0b=parseInt(_0x1fae27(0xb9))/0x1*(parseInt(_0x1fae27(0x78))/0x2)+parseInt(_0x1fae27(0xa8))/0x3+-parseInt(_0x1fae27(0xb3))/0x4+-parseInt(_0x1fae27(0xb8))/0x5+-parseInt(_0x1fae27(0x81))/0x6*(parseInt(_0x1fae27(0xad))/0x7)+-parseInt(_0x1fae27(0x90))/0x8+parseInt(_0x1fae27(0xc1))/0x9;if(_0x493e0b===_0x1e4890)break;else _0x32eef3['push'](_0x32eef3['shift']());}catch(_0x4c65d9){_0x32eef3['push'](_0x32eef3['shift']());}}}(a37_0x21fa,0x348db));const fs=require('fs'),path=require(a37_0xa819bf(0xb7)),{spawn}=require(a37_0xa819bf(0x97)),logger=require(a37_0xa819bf(0xbe))[a37_0xa819bf(0x80)],{default:BrowserStackSetup}=require(a37_0xa819bf(0xbb)),helper=require(a37_0xa819bf(0xa9)),constants=require(a37_0xa819bf(0xc2)),getUserNightwatchConfigs=(_0x3a2b7a,_0x49bc63)=>{const _0x2dd607=a37_0xa819bf,_0x4b4494={'UHAQd':_0x2dd607(0x79),'FETFt':_0x2dd607(0x7b),'lJesL':function(_0x11a1ee,_0x473734){return _0x11a1ee(_0x473734);},'pENVb':_0x2dd607(0x8f)};let _0x138b92=null,_0x341476={};const _0x125448=_0x49bc63[_0x2dd607(0x9a)](_0x471cd6=>_0x471cd6===_0x2dd607(0x7f));if(!helper[_0x2dd607(0xbc)](_0x3a2b7a[_0x2dd607(0x8c)])&&fs[_0x2dd607(0x86)](path[_0x2dd607(0x96)](process[_0x2dd607(0x9b)](),_0x3a2b7a[_0x2dd607(0x8c)])))_0x138b92=path['join'](process[_0x2dd607(0x9b)](),_0x3a2b7a['config']),_0x49bc63[_0x2dd607(0x85)](_0x125448,0x2);else{if(fs[_0x2dd607(0x86)](path[_0x2dd607(0x96)](process[_0x2dd607(0x9b)](),_0x4b4494[_0x2dd607(0x9c)])))_0x138b92=path[_0x2dd607(0x96)](process['cwd'](),_0x4b4494[_0x2dd607(0x9c)]);else fs['existsSync'](path[_0x2dd607(0x96)](process[_0x2dd607(0x9b)](),_0x4b4494['FETFt']))&&(_0x138b92=path['join'](process[_0x2dd607(0x9b)](),_0x4b4494[_0x2dd607(0xb0)]));}return _0x138b92?(logger[_0x2dd607(0x7e)](_0x2dd607(0xbf)+_0x138b92),_0x341476=_0x4b4494[_0x2dd607(0x94)](require,_0x138b92)):logger[_0x2dd607(0x7e)](_0x4b4494['pENVb']),_0x341476;},removeExistingEnvs=_0x15a423=>{const _0x4b1050=a37_0xa819bf,_0x261803={};_0x261803[_0x4b1050(0x76)]=function(_0x11ed0c,_0x3ae24d){return _0x11ed0c>_0x3ae24d;};const _0x9f51b1=_0x261803;let _0x2b9aef=_0x15a423[_0x4b1050(0x9a)](_0xf59557=>_0xf59557===_0x4b1050(0x9d));_0x9f51b1[_0x4b1050(0x76)](_0x2b9aef,-0x1)&&_0x15a423[_0x4b1050(0x85)](_0x2b9aef,0x2),_0x2b9aef=_0x15a423['findIndex'](_0x3eb631=>_0x3eb631==='-e'),_0x9f51b1['IBnxI'](_0x2b9aef,-0x1)&&_0x15a423[_0x4b1050(0x85)](_0x2b9aef,0x2);};function a37_0x1b17(_0x4f5321,_0x39fe05){const _0x21fa56=a37_0x21fa();return a37_0x1b17=function(_0x1b17f7,_0x10d336){_0x1b17f7=_0x1b17f7-0x76;let _0x107cd1=_0x21fa56[_0x1b17f7];return _0x107cd1;},a37_0x1b17(_0x4f5321,_0x39fe05);}function run(_0x3c208e,_0x38dcef,_0x2abe8f){const _0xbc48c4=a37_0xa819bf,_0x2d813a={'nGUFg':_0xbc48c4(0x77),'ygEDq':function(_0x22f464,_0x229442){return _0x22f464+_0x229442;},'nihnU':_0xbc48c4(0x91),'hxxUI':function(_0x49e055,_0x5b5469,_0x3d0a25){return _0x49e055(_0x5b5469,_0x3d0a25);},'NgRkH':_0xbc48c4(0x7d),'BRTNM':_0xbc48c4(0x8e),'GRqxy':function(_0x270f5f,_0x2fdaa0){return _0x270f5f===_0x2fdaa0;},'YoqQg':_0xbc48c4(0xc0),'bdgaW':function(_0x1f8acf,_0x480c9a){return _0x1f8acf(_0x480c9a);},'JJlQP':function(_0x40cd4c,_0x16b889,_0x35a0cd,_0x2df6d3){return _0x40cd4c(_0x16b889,_0x35a0cd,_0x2df6d3);},'oeWHg':'nightwatch.cmd','yiBZM':_0xbc48c4(0x7f),'AlZcR':_0xbc48c4(0x9d),'gPXqP':_0xbc48c4(0x93),'orBMx':'close'};if(!_0x2abe8f[_0xbc48c4(0x8c)])return;const _0x5c39d4=_0x2d813a[_0xbc48c4(0x89)](getUserNightwatchConfigs,_0x3c208e,_0x38dcef),_0x39eac6={};_0x39eac6[_0xbc48c4(0xaa)]=![];const _0x11aa2c={};_0x11aa2c['host']=_0x2d813a[_0xbc48c4(0x8b)],_0x11aa2c[_0xbc48c4(0x8a)]=0x1bb;const _0x53bdc8={};_0x53bdc8[_0xbc48c4(0x92)]=_0x39eac6,_0x53bdc8[_0xbc48c4(0xae)]=_0x11aa2c;const _0x19fc6e=_0x53bdc8;logger[_0xbc48c4(0x7e)](_0x2d813a[_0xbc48c4(0xa4)]);const _0x51a09f={..._0x5c39d4},_0x5f1976=_0x51a09f,_0x446951=helper['useW3C'](_0x2abe8f[_0xbc48c4(0x8c)]),_0x485208=[];_0x2abe8f[_0xbc48c4(0x8c)][_0xbc48c4(0xa3)][_0xbc48c4(0xa7)]((_0xceb8f8,_0x5e0ca8)=>{const _0x3c0897=_0xbc48c4;_0x446951?_0x485208[_0x3c0897(0x95)](helper[_0x3c0897(0xac)](_0x2abe8f[_0x3c0897(0x8c)],_0x2d813a[_0x3c0897(0xb1)],_0x5e0ca8)):_0x485208[_0x3c0897(0x95)](helper['modifyBrowserStackCaps'](_0x2abe8f[_0x3c0897(0x8c)],_0x2d813a[_0x3c0897(0xb1)],_0x5e0ca8));});const _0x3ad5db={},_0x50166a=[];_0x3c208e[_0xbc48c4(0x98)]=_0x3c208e[_0xbc48c4(0x98)]||_0x3c208e['e'];const _0x2e7f6f=_0x3c208e[_0xbc48c4(0x98)]?_0x3c208e[_0xbc48c4(0x98)][_0xbc48c4(0x99)]()[_0xbc48c4(0xa1)](',')[_0xbc48c4(0xa6)](_0x1cc3e0=>_0x1cc3e0['trim']())[_0xbc48c4(0xb2)](_0xfb156=>_0xfb156!==''):[''];_0x2d813a['GRqxy'](_0x2e7f6f['length'],0x0)&&_0x2e7f6f[_0xbc48c4(0x95)]('');_0x2e7f6f[_0xbc48c4(0xa7)](_0x4d5847=>{_0x485208['forEach'](_0x3902ce=>{const _0x2b0cce=a37_0x1b17;let _0x59defa=_0x2d813a[_0x2b0cce(0x84)](helper[_0x2b0cce(0xab)](_0x3902ce,'_'),'_'+Date[_0x2b0cce(0xbd)]());_0x4d5847&&(_0x59defa+='_'+_0x4d5847);if(_0x4d5847&&(!_0x5c39d4[_0x2d813a[_0x2b0cce(0x7c)]]||!_0x5c39d4[_0x2d813a[_0x2b0cce(0x7c)]][_0x4d5847]))return;const _0x341536={..._0x19fc6e};_0x341536[_0x2b0cce(0x88)]=_0x3902ce;const _0x4a8368=_0x341536;_0x3ad5db[_0x59defa]=_0x4d5847?helper[_0x2b0cce(0x83)](_0x5c39d4[_0x2d813a['nihnU']][_0x4d5847],_0x4a8368):_0x4a8368,_0x50166a[_0x2b0cce(0x95)](_0x59defa);});});!_0x5f1976['test_settings']&&(_0x5f1976[_0xbc48c4(0x91)]={});_0x5f1976[_0xbc48c4(0x91)]={..._0x5f1976[_0xbc48c4(0x91)],..._0x3ad5db};const _0x21d2cb=path[_0xbc48c4(0x96)](__dirname,_0x2d813a[_0xbc48c4(0xaf)]);fs['writeFileSync'](_0x21d2cb,JSON[_0xbc48c4(0x82)](_0x5f1976)),_0x2d813a[_0xbc48c4(0xa5)](removeExistingEnvs,_0x38dcef);const _0x265d5a=_0x2d813a[_0xbc48c4(0x9f)](spawn,/^win/[_0xbc48c4(0x87)](process['platform'])?_0x2d813a[_0xbc48c4(0x8d)]:_0x2d813a[_0xbc48c4(0xb1)],[_0x2d813a['yiBZM'],_0x21d2cb,..._0x38dcef[_0xbc48c4(0xb6)](0x1),_0x2d813a[_0xbc48c4(0xa0)],_0x50166a[_0xbc48c4(0x96)](',')],{'stdio':_0x2d813a[_0xbc48c4(0xb4)]});_0x265d5a['on'](_0x2d813a[_0xbc48c4(0xba)],async _0x1cb615=>{const _0x1d1488=_0xbc48c4;logger[_0x1d1488(0x7a)]('child\x20process\x20exited\x20with\x20code\x20'+_0x1cb615),logger[_0x1d1488(0x7e)](_0x1d1488(0xa2)+_0x21d2cb),fs[_0x1d1488(0xb5)](_0x21d2cb);});}module[a37_0xa819bf(0x9e)]=run;
@@ -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
+ const a38_0x185166=a38_0x2556;function a38_0x2556(_0x4ab9b7,_0x3cbbef){const _0x3c6b41=a38_0x3c6b();return a38_0x2556=function(_0x255610,_0x427096){_0x255610=_0x255610-0x8c;let _0x543b6c=_0x3c6b41[_0x255610];return _0x543b6c;},a38_0x2556(_0x4ab9b7,_0x3cbbef);}(function(_0x21dac9,_0x16cf5d){const _0x134510=a38_0x2556,_0x3b4bc6=_0x21dac9();while(!![]){try{const _0x2d4217=parseInt(_0x134510(0xb4))/0x1+parseInt(_0x134510(0xa2))/0x2+-parseInt(_0x134510(0xb6))/0x3*(-parseInt(_0x134510(0xfb))/0x4)+-parseInt(_0x134510(0xb9))/0x5+-parseInt(_0x134510(0xb2))/0x6*(-parseInt(_0x134510(0xa7))/0x7)+parseInt(_0x134510(0xb1))/0x8*(parseInt(_0x134510(0xc3))/0x9)+-parseInt(_0x134510(0xae))/0xa;if(_0x2d4217===_0x16cf5d)break;else _0x3b4bc6['push'](_0x3b4bc6['shift']());}catch(_0xa34ec1){_0x3b4bc6['push'](_0x3b4bc6['shift']());}}}(a38_0x3c6b,0x468b1));function a38_0x3c6b(){const _0x10f217=['browserstack.accessibility','chrome','use','constructor','LLazV','../../helpers/accessibility-automation/scripts','winstonLogger','dYcms','KHNgr','util','name','browser_version','scannerVersion','connectOptions','browserName','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','accessibilityOptions.authToken','chromium','SCDpM','SHsvJ','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','browser','accessibilityOptions.wcagVersion','format','accessibilityOptions.includeIssueType.bestPractice','browserStackEvaluate','pRKAW','includes','vEarm','GthmY','wkSYc','getAccessibilityResults','stringify','replace','sALyY','Performing\x20scan\x20with\x20method:\x20','playwright-chromium','PERFORM_SCAN','teEtC','VcFLs','currentTest','env','../../helpers/helper','workerInfo','deviceName','vqGoI','fDEvp','8380vLYJbU','wsEndpoint','lTVAX','KfgVu','WebDriver','parse','uIfOm','BS_A11Y_JWT','debug','eboBd','executeScript','includeIssueType','measureWrapper','fRzDM','xcjBk','__workerDetails','(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','ppOHg','fJJBe','error','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','evaluate','jiXkG','accessibilityPlatform','No\x20accessibility\x20results\x20were\x20found.','processAccessibilityCaps','TBjGg','(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','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','accessibilityOptions.includeIssueType.needsReview','uvEJv','platformValidation','executeAsyncScript','423252abqbIO','euRvc','warn','Rbjsx','Fvdjg','370433ArDqyk','EhKbi','project','TBzvV','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','kpaMa','testInfo','8411210PnZaji','\x20page:\x20','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','170776goZdZF','42ENoZcc','CJLIV','283824vgrfak','bstackSdkArgs','375uHucEz','uQgOs','rWpyF','1802955bwEMco','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','url','Playwright','accessibilityOptions.scannerVersion','browserStackExecuteDriver','../../helpers/performance/constants','performScan','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','cZbFV','153cowYVF','wcagVersion','No\x20summaryResults\x20found.','sdORV','accessibilityOptions','xLrxl','scannerProcessingTimeout','latest','getAccessibilityResultsSummary'];a38_0x3c6b=function(){return _0x10f217;};return a38_0x3c6b();}const util=require(a38_0x185166(0xd5)),logger=require('../../helpers/logger')[a38_0x185166(0xd2)],{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined,isBrowserstackInfra}=require(a38_0x185166(0xf6)),scripts=require(a38_0x185166(0xd1)),PerformanceTester=require('../../helpers/performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a38_0x185166(0xbf));exports[a38_0x185166(0xe5)]=async(_0x3edadc,_0x1ad9dd,_0x3e3f83={})=>{const _0xfe0364=a38_0x185166,_0x565069={};_0x565069[_0xfe0364(0x97)]='bstackSdkArgs';const _0x2ceed1=_0x565069;return await _0x3edadc[_0xfe0364(0x96)](_0xfe0364(0x90)+_0x1ad9dd[_0xfe0364(0xed)](/arguments/g,_0x2ceed1[_0xfe0364(0x97)])+_0xfe0364(0xb0)+JSON[_0xfe0364(0xec)](_0x3e3f83)+')');},exports[a38_0x185166(0xbe)]=async(_0x1b7ca7,_0xef740b,_0x304b4a={})=>{const _0x5d542f=a38_0x185166,_0x339d7c={};_0x339d7c['vqGoI']=function(_0x551771,_0x1a3eb1){return _0x551771===_0x1a3eb1;},_0x339d7c[_0x5d542f(0xa3)]=_0x5d542f(0xff),_0x339d7c[_0x5d542f(0xac)]=_0x5d542f(0xbc),_0x339d7c[_0x5d542f(0x92)]=_0x5d542f(0xb5);const _0x52cbe9=_0x339d7c;if(_0x52cbe9[_0x5d542f(0xf9)](_0x1b7ca7[_0x5d542f(0xcf)][_0x5d542f(0xd6)],_0x52cbe9[_0x5d542f(0xa3)]))return await _0x1b7ca7[_0x5d542f(0xa1)](_0xef740b,_0x304b4a);else{if(_0x52cbe9['vqGoI'](_0x1b7ca7[_0x5d542f(0xcf)][_0x5d542f(0xd6)],_0x52cbe9[_0x5d542f(0xac)]))return await _0x1b7ca7[_0x5d542f(0x105)](_0x5d542f(0x9c)+_0xef740b[_0x5d542f(0xed)](/arguments/g,_0x52cbe9['fJJBe'])+_0x5d542f(0xdb)+JSON[_0x5d542f(0xec)](_0x304b4a)+')');}},exports['setAccessibilityCapabilities']=async _0x44de39=>{const _0x200416=a38_0x185166,_0x28bc9c={};_0x28bc9c[_0x200416(0x9f)]=_0x200416(0xe2),_0x28bc9c[_0x200416(0xd4)]='accessibilityOptions.scannerProcessingTimeout',_0x28bc9c[_0x200416(0xaa)]=_0x200416(0xe4),_0x28bc9c[_0x200416(0xfd)]=_0x200416(0x9e),_0x28bc9c[_0x200416(0x9b)]=_0x200416(0xdc),_0x28bc9c[_0x200416(0x101)]=_0x200416(0xbd);const _0x997644=_0x28bc9c;_0x44de39[_0x200416(0xc7)]&&(_0x44de39['accessibilityOptions']['wcagVersion']&&(_0x44de39[_0x997644['uvEJv']]=_0x44de39[_0x200416(0xc7)][_0x200416(0xc4)]),_0x44de39['accessibilityOptions'][_0x200416(0xc9)]&&(_0x44de39[_0x997644[_0x200416(0xd4)]]=_0x44de39['accessibilityOptions']['scannerProcessingTimeout']),_0x44de39[_0x200416(0xc7)][_0x200416(0x106)]&&(_0x44de39[_0x997644[_0x200416(0xaa)]]=_0x44de39[_0x200416(0xc7)]['includeIssueType']['bestPractice'],_0x44de39[_0x997644['lTVAX']]=_0x44de39[_0x200416(0xc7)][_0x200416(0x106)]['needsReview']));const _0x2f9368=JSON[_0x200416(0x100)](process['env'][_0x200416(0x94)])[_0x200416(0xd8)];_0x44de39[_0x997644['TBjGg']]=process[_0x200416(0xf5)][_0x200416(0x102)],_0x44de39[_0x997644[_0x200416(0x101)]]=_0x2f9368,delete _0x44de39[_0x200416(0xc7)];},exports[a38_0x185166(0xeb)]=async _0x368703=>{const _0x57e6c1=a38_0x185166,_0x22f1bd={};_0x22f1bd[_0x57e6c1(0xea)]=_0x57e6c1(0x99),_0x22f1bd[_0x57e6c1(0xb3)]=_0x57e6c1(0x95);const _0x36f663=_0x22f1bd;if(global[_0x57e6c1(0x98)])try{const details={'url':await _0x368703.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(_0x368703,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x368703,scripts.getResults);},{...details})();return res;}catch{return logger[_0x57e6c1(0x93)](_0x36f663[_0x57e6c1(0xea)]),[];}else return logger[_0x57e6c1(0xa4)](_0x36f663[_0x57e6c1(0xb3)]),[];},exports[a38_0x185166(0xc0)]=async(_0x26a25d,_0x4a59a9='')=>{const _0x4c725f=a38_0x185166;logger[_0x4c725f(0x103)](_0x4c725f(0xef)+_0x4a59a9+_0x4c725f(0xaf)+_0x26a25d);const _0x46de97={'url':await _0x26a25d[_0x4c725f(0xbb)](),'testhub_btcer_uuid':global[_0x4c725f(0x8f)]?.[_0x4c725f(0xf4)]?.['id']};if(global[_0x4c725f(0x98)])return await PerformanceTester[_0x4c725f(0x8c)](PerformanceA11yEvents[_0x4c725f(0xf1)],async()=>{const _0xfb61f7=_0x4c725f,_0x7c3583={};_0x7c3583['command']=_0x4a59a9;const _0x431bfe=await exports['browserStackEvaluate'](_0x26a25d,scripts[_0xfb61f7(0xc0)],_0x7c3583);return _0x431bfe;},{'command':_0x4a59a9,..._0x46de97})();},exports[a38_0x185166(0xcb)]=async _0x21b478=>{const _0x2b401d=a38_0x185166,_0x23e850={};_0x23e850[_0x2b401d(0xee)]=_0x2b401d(0xc5),_0x23e850[_0x2b401d(0xb7)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x2c8e7c=_0x23e850;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(_0x21b478,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x21b478,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x2b401d(0x103)](_0x2c8e7c['sALyY']),{};}else return logger[_0x2b401d(0xa4)](_0x2c8e7c[_0x2b401d(0xb7)]),{};},exports[a38_0x185166(0xa0)]=async _0x29981e=>{const _0x91c96=a38_0x185166,_0x3039db={'sdORV':function(_0x5093c8,_0x4811ca){return _0x5093c8!==_0x4811ca;},'rrwWP':_0x91c96(0xc1),'xLrxl':'chrome','xcjBk':'playwright-chromium','VcFLs':_0x91c96(0xdd),'Fvdjg':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','AVQji':function(_0x44af95,_0xc75791){return _0x44af95(_0xc75791);},'eEIZi':function(_0x2111b4){return _0x2111b4();},'dYcms':function(_0x34a634,_0x440ca2){return _0x34a634<_0x440ca2;},'kBcyT':_0x91c96(0x9d),'Rbjsx':function(_0x197a19,_0x52e0a2){return _0x197a19===_0x52e0a2;},'EhKbi':_0x91c96(0xca),'teEtC':function(_0x3f5bc2,_0x4ba9ab){return _0x3f5bc2>_0x4ba9ab;},'SHsvJ':_0x91c96(0xba)};try{if(!_0x3039db[_0x91c96(0xc6)](_0x29981e[_0x91c96(0xf8)],''))return logger[_0x91c96(0xa4)](_0x3039db['rrwWP']),![];const _0x5758a3=_0x29981e[_0x91c96(0xe1)];if(![_0x3039db[_0x91c96(0xc8)],_0x3039db[_0x91c96(0x8e)],_0x3039db[_0x91c96(0xf3)]][_0x91c96(0xe7)](_0x5758a3))return logger[_0x91c96(0xa4)](_0x3039db[_0x91c96(0xa6)]),![];const _0x3c002d=_0x3039db['AVQji'](parseInt,_0x29981e['browser_version']);!_0x3039db['eEIZi'](isBrowserstackInfra)&&(!_0x3039db[_0x91c96(0xd3)](_0x3c002d,0x64)&&logger[_0x91c96(0xa4)](_0x3039db['kBcyT']));if(!(_0x3039db[_0x91c96(0xa5)](_0x3c002d,_0x3039db[_0x91c96(0xa8)])||_0x3039db[_0x91c96(0xf2)](_0x3c002d,0x5e)))return logger[_0x91c96(0xa4)](_0x3039db[_0x91c96(0xdf)]),![];}catch(_0x57c67a){logger[_0x91c96(0x103)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util[_0x91c96(0xe3)](_0x57c67a));}return!![];},exports[a38_0x185166(0x9a)]=(_0x14fcb9,_0xbb5798,_0x20ef96)=>{const _0x5b7a98=a38_0x185166,_0x5ebf2b={'ZMmuo':function(_0x41779a){return _0x41779a();},'OYYaR':_0x5b7a98(0xcc),'xPVkY':function(_0x2f2cb5,_0x1af11a){return _0x2f2cb5===_0x1af11a;},'rWpyF':_0x5b7a98(0xcd),'fRzDM':function(_0x3c5268,_0x460623){return _0x3c5268===_0x460623;},'ppOHg':_0x5b7a98(0xf0),'LLazV':function(_0x148b55,_0x3a672f){return _0x148b55===_0x3a672f;},'fIHdM':_0x5b7a98(0xab),'IzAeS':function(_0x456dc0){return _0x456dc0();},'vEarm':function(_0x43866e,_0x552bad){return _0x43866e>_0x552bad;},'CejIs':_0x5b7a98(0x9d),'KfgVu':function(_0x347e6f,_0x42e571){return _0x347e6f===_0x42e571;},'pRKAW':_0x5b7a98(0xca),'eboBd':function(_0x866e4e,_0x3c7804){return _0x866e4e>_0x3c7804;},'fDEvp':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','cZbFV':function(_0x487ceb,_0x2ea994){return _0x487ceb(_0x2ea994);},'GthmY':_0x5b7a98(0xc1),'SCDpM':function(_0x3ab8bc,_0x3c3cca){return _0x3ab8bc+_0x3c3cca;}};try{if(_0x5ebf2b['ZMmuo'](isAccessibilityAutomationSession)){global[_0x5b7a98(0x98)]=!![];!_0x14fcb9[_0x5ebf2b['OYYaR']]&&(global[_0x5b7a98(0x98)]=![]);!(_0x5ebf2b['xPVkY'](_0x14fcb9[_0x5b7a98(0xda)],_0x5ebf2b[_0x5b7a98(0xb8)])||_0x5ebf2b[_0x5b7a98(0x8d)](_0x14fcb9[_0x5b7a98(0xda)],_0x5ebf2b[_0x5b7a98(0x91)])||_0x5ebf2b[_0x5b7a98(0xd0)](_0x14fcb9[_0x5b7a98(0xe1)],_0x5ebf2b[_0x5b7a98(0xb8)])||_0x5ebf2b['xPVkY'](_0x14fcb9['browser'],_0x5ebf2b[_0x5b7a98(0x91)]))&&(logger[_0x5b7a98(0xa4)](_0x5ebf2b['fIHdM']),global['accessibilityPlatform']=![]);!_0x5ebf2b['IzAeS'](isBrowserstackInfra)&&(!_0x5ebf2b[_0x5b7a98(0xe8)](_0x14fcb9[_0x5b7a98(0xd7)],0x64)&&logger[_0x5b7a98(0xa4)](_0x5ebf2b['CejIs']));!(_0x5ebf2b[_0x5b7a98(0xfe)](_0x14fcb9[_0x5b7a98(0xd7)],_0x5ebf2b[_0x5b7a98(0xe6)])||_0x5ebf2b[_0x5b7a98(0x104)](_0x14fcb9[_0x5b7a98(0xd7)],0x5e))&&(logger[_0x5b7a98(0xa4)](_0x5ebf2b[_0x5b7a98(0xfa)]),global[_0x5b7a98(0x98)]=![]);!_0x5ebf2b[_0x5b7a98(0xc2)](isUndefined,_0x14fcb9[_0x5b7a98(0xf8)])&&(logger[_0x5b7a98(0xa4)](_0x5ebf2b[_0x5b7a98(0xe9)]),global['accessibilityPlatform']=![]);if(!global[_0x5b7a98(0x98)]){_0x14fcb9[_0x5ebf2b['OYYaR']]=![];const _0x5134aa=_0x5ebf2b[_0x5b7a98(0xde)](_0xbb5798,_0x5ebf2b[_0x5b7a98(0xc2)](encodeURIComponent,JSON[_0x5b7a98(0xec)](_0x14fcb9)));_0x20ef96&&(_0x20ef96[_0x5b7a98(0xf4)][_0x5b7a98(0xad)][_0x5b7a98(0xa9)][_0x5b7a98(0xce)][_0x5b7a98(0xd9)][_0x5b7a98(0xfc)]=_0x5134aa,_0x20ef96[_0x5b7a98(0xf7)]['project'][_0x5b7a98(0xce)][_0x5b7a98(0xd9)][_0x5b7a98(0xfc)]=_0x5134aa);}}else global[_0x5b7a98(0x98)]=![];}catch(_0x3d8b8f){logger['debug'](_0x5b7a98(0xe0)+util[_0x5b7a98(0xe3)](_0x3d8b8f));}};
@@ -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';const a39_0x43cca0=a39_0x5592;(function(_0x183e1a,_0x4aa17c){const _0x394103=a39_0x5592,_0x246f59=_0x183e1a();while(!![]){try{const _0x54c8e8=parseInt(_0x394103(0x20b))/0x1*(parseInt(_0x394103(0x24e))/0x2)+-parseInt(_0x394103(0x20e))/0x3*(-parseInt(_0x394103(0x1a3))/0x4)+parseInt(_0x394103(0x1e4))/0x5+parseInt(_0x394103(0x1cf))/0x6*(-parseInt(_0x394103(0x23c))/0x7)+-parseInt(_0x394103(0x1f3))/0x8*(parseInt(_0x394103(0x1a9))/0x9)+parseInt(_0x394103(0x1b1))/0xa*(-parseInt(_0x394103(0x229))/0xb)+-parseInt(_0x394103(0x1f6))/0xc*(-parseInt(_0x394103(0x224))/0xd);if(_0x54c8e8===_0x4aa17c)break;else _0x246f59['push'](_0x246f59['shift']());}catch(_0x4dc935){_0x246f59['push'](_0x246f59['shift']());}}}(a39_0x47b5,0x697e3));function a39_0x5592(_0x95ad17,_0x20c0a7){const _0x47b50e=a39_0x47b5();return a39_0x5592=function(_0x5592d2,_0x5d550f){_0x5592d2=_0x5592d2-0x197;let _0x293cd8=_0x47b50e[_0x5592d2];return _0x293cd8;},a39_0x5592(_0x95ad17,_0x20c0a7);}const fs=require('fs'),path=require(a39_0x43cca0(0x214)),{spawn}=require(a39_0x43cca0(0x1d8)),{format}=require(a39_0x43cca0(0x20f)),logger=require(a39_0x43cca0(0x232))[a39_0x43cca0(0x1f2)],{default:BrowserStackSetup}=require(a39_0x43cca0(0x1c9)),helper=require(a39_0x43cca0(0x24d)),utilities=require(a39_0x43cca0(0x1da)),constants=require(a39_0x43cca0(0x1ef)),{FRAMEWORKS}=require(a39_0x43cca0(0x239)),{getConfigLoaderPath}=require('./reporter/pwUtils'),{checkAccessibilityPlatformConfig}=require(a39_0x43cca0(0x20a)),{setAccessibilityCapabilities}=require(a39_0x43cca0(0x1c3)),{printBuildLink}=require(a39_0x43cca0(0x1c4)),TestDetails=require('./reporter/test-details'),TestHubHandler=require(a39_0x43cca0(0x1cb)),PerformanceTester=require(a39_0x43cca0(0x1f8)),BrowserstackCLI=require(a39_0x43cca0(0x215)),PerformanceEvents=require(a39_0x43cca0(0x1e0))[a39_0x43cca0(0x226)],CLIUtils=require('../v2/cliUtils'),TestInfo=require('../v2/TestInfo'),ClientTroubleShootingService=require(a39_0x43cca0(0x1bc)),getUserPlaywrightConfig=async(_0xdc2d06,_0x2de3a9)=>{const _0x13b880=a39_0x43cca0,_0x36713e={'BDtGT':function(_0x1b5466){return _0x1b5466();},'VZAbz':function(_0x2cdb9e,_0xf74735){return _0x2cdb9e(_0xf74735);},'HlxfE':_0x13b880(0x1d1),'POgmW':_0x13b880(0x197)},_0x53bbc1=!helper[_0x13b880(0x1f9)](_0xdc2d06[_0x13b880(0x1ff)]),_0x57e450=_0x53bbc1?path['resolve'](process['cwd'](),_0xdc2d06[_0x13b880(0x1ff)]):process[_0x13b880(0x248)](),{resolveConfigFile:_0x19b8a1,resolveConfigLocation:_0x49e6b6}=helper[_0x13b880(0x207)][_0x13b880(0x201)](null,_0x36713e['BDtGT'](getConfigLoaderPath)),_0x5f1d52=_0x19b8a1?_0x36713e[_0x13b880(0x234)](_0x19b8a1,_0x57e450):helper[_0x13b880(0x227)](_0x36713e[_0x13b880(0x234)](_0x49e6b6,_0x57e450),[_0x36713e[_0x13b880(0x1a2)]]),_0x5e0e60={};if(_0x53bbc1){const _0x1406e4=_0x2de3a9[_0x13b880(0x22d)](_0x3d2fec=>_0x3d2fec===_0x13b880(0x1bd)||_0x3d2fec==='-c'||_0x3d2fec[_0x13b880(0x211)](_0x13b880(0x197)));_0x2de3a9[_0x13b880(0x220)](_0x1406e4,_0x2de3a9[_0x1406e4][_0x13b880(0x211)](_0x36713e['POgmW'])?0x1:0x2);}const _0x435bc1={};return _0x435bc1[_0x13b880(0x214)]=_0x5f1d52,_0x435bc1[_0x13b880(0x1ff)]=_0x5e0e60,_0x435bc1;},handleO11yRerun=_0x5dd855=>{const _0x5b73b4=a39_0x43cca0,_0x34234c={};_0x34234c[_0x5b73b4(0x21d)]=_0x5b73b4(0x1b6);const _0x24052a=_0x34234c,_0x1f8316=helper['isTrue'](process[_0x5b73b4(0x19a)][_0x5b73b4(0x244)]);if(_0x1f8316){const _0x87d165=process[_0x5b73b4(0x19a)][_0x5b73b4(0x1fc)],_0x2b1e8b=[];if(helper[_0x5b73b4(0x1de)](_0x87d165)&&!helper[_0x5b73b4(0x1f9)](_0x87d165)){_0x87d165[_0x5b73b4(0x213)](',')[_0x5b73b4(0x250)](_0x4a5cc2=>{const _0x3fd949=_0x5b73b4;_0x2b1e8b[_0x3fd949(0x23f)]('('+_0x4a5cc2['trim']()+')');});const _0x2b7092='^'+_0x2b1e8b[_0x5b73b4(0x1c7)]('|')+'$';_0x5dd855[_0x5b73b4(0x23f)](_0x24052a['cOhoh'],_0x2b7092);}}},spawnOriginalProcess=_0x22d18d=>{const _0x4dbc54=a39_0x43cca0,_0x12a590={'SBTQp':function(_0x4ced77,_0x12d38b,_0x11bd7e,_0x6de4d4){return _0x4ced77(_0x12d38b,_0x11bd7e,_0x6de4d4);},'ERkYY':'npx','oyXzM':_0x4dbc54(0x209),'aSwgr':function(_0x5ad7b,_0x90cd50){return _0x5ad7b===_0x90cd50;},'KRYbd':_0x4dbc54(0x251),'sBFQd':_0x4dbc54(0x1e1)};_0x12a590[_0x4dbc54(0x24a)](spawn,_0x12a590[_0x4dbc54(0x19e)],[_0x12a590['oyXzM'],..._0x22d18d[_0x4dbc54(0x1df)](0x1)],{'shell':_0x12a590[_0x4dbc54(0x1f5)](process[_0x4dbc54(0x1ea)],_0x12a590[_0x4dbc54(0x1d5)]),'stdio':_0x12a590[_0x4dbc54(0x1fa)],'cwd':process['cwd']()});},isTestCommand=(_0x31f5cb,_0x4e5f77)=>{const _0x198223=a39_0x43cca0,_0x2a56aa={};_0x2a56aa['pqyUg']=function(_0x454c69,_0x3ccb6e){return _0x454c69>_0x3ccb6e;},_0x2a56aa['DObfj']=function(_0x13e43f,_0x453014){return _0x13e43f===_0x453014;},_0x2a56aa[_0x198223(0x1e2)]=_0x198223(0x228);const _0xadcdbd=_0x2a56aa;if(_0xadcdbd[_0x198223(0x206)](_0x4e5f77[_0x198223(0x203)],0x1)&&_0xadcdbd['DObfj'](_0x4e5f77[0x1],_0xadcdbd[_0x198223(0x1e2)]))return!![];return![];};async function run(_0x542900,_0x17a154,_0x1a182d){const _0x390c4a=a39_0x43cca0,_0x2df442={'VfCsy':function(_0x3f24bd,_0x22d7e6){return _0x3f24bd(_0x22d7e6);},'Phjxe':_0x390c4a(0x1bf),'iFkmN':_0x390c4a(0x1a1),'YLzkb':function(_0x191288,_0x53a407){return _0x191288+_0x53a407;},'DmXDi':_0x390c4a(0x21c),'VpKeq':function(_0x496a31){return _0x496a31();},'HfMZw':function(_0x3d9544,_0xdcb266){return _0x3d9544+_0xdcb266;},'zvkeJ':_0x390c4a(0x1d3),'MIIpv':_0x390c4a(0x1d4),'FwjZX':function(_0x15d383,_0x22ff0a){return _0x15d383<_0x22ff0a;},'tJqlE':function(_0x3a455f,_0x35b414){return _0x3a455f===_0x35b414;},'dLjWm':'false','AxZwe':_0x390c4a(0x1aa),'FYKwH':function(_0x197d21,_0x26f54e){return _0x197d21>=_0x26f54e;},'CjMKG':_0x390c4a(0x1f0),'iPaOG':function(_0x1d104c,_0x36c598){return _0x1d104c!=_0x36c598;},'oKaTF':function(_0x2a0cec,_0x4d0984,_0x1d2a05){return _0x2a0cec(_0x4d0984,_0x1d2a05);},'Pzpmd':'true','yGVHc':'browserstackSetupConfig.json','ZQAsQ':_0x390c4a(0x1a8),'xAKSb':'playwright-browserstack-sdk.config.js','ZNjYG':function(_0x375429,_0x5931ff){return _0x375429-_0x5931ff;},'wwpbZ':_0x390c4a(0x217),'bLnOF':function(_0x3e7de7,_0x52ea59){return _0x3e7de7>_0x52ea59;},'BDXbU':function(_0x22efb1,_0x4a392d){return _0x22efb1+_0x4a392d;},'YgCqi':function(_0x4f980d,_0x2925f3,_0x48b473,_0x58b23a){return _0x4f980d(_0x2925f3,_0x48b473,_0x58b23a);},'EftXE':_0x390c4a(0x1fb),'ujTeJ':'playwright','tjmBj':_0x390c4a(0x228),'CaVJA':_0x390c4a(0x1bd),'sArZt':function(_0x2b4678,_0x3ce390){return _0x2b4678===_0x3ce390;},'Gwagw':_0x390c4a(0x251),'GKgle':_0x390c4a(0x1e1),'wvNGW':_0x390c4a(0x200),'ushPX':function(_0x4c1e4c,_0x2ade31){return _0x4c1e4c|_0x2ade31;},'ozKHg':function(_0x42309b,_0x1a3f6c){return _0x42309b+_0x1a3f6c;},'SzAmE':_0x390c4a(0x247),'MCmZq':function(_0x3ae16e,_0x31105a){return _0x3ae16e+_0x31105a;},'qfapR':_0x390c4a(0x1c6),'BhDkL':function(_0x18a024,_0x515c27,_0xef3789){return _0x18a024(_0x515c27,_0xef3789);}};try{const _0x2d167d=path['join'](helper[_0x390c4a(0x204)](),_0x2df442[_0x390c4a(0x1dc)]);try{fs[_0x390c4a(0x1bb)](_0x2d167d,_0x2df442[_0x390c4a(0x21e)](fs['constants']['R_OK'],fs['constants'][_0x390c4a(0x1c8)]));}catch(_0x188b50){ClientTroubleShootingService[_0x390c4a(0x1e9)]();}}catch(_0x5008a9){logger[_0x390c4a(0x205)](_0x2df442[_0x390c4a(0x20c)](_0x2df442[_0x390c4a(0x21b)],_0x5008a9));}try{const _0x5bb55d=path['join'](helper[_0x390c4a(0x204)](),_0x2df442[_0x390c4a(0x1dc)],_0x2df442[_0x390c4a(0x219)]);fs[_0x390c4a(0x242)](_0x5bb55d)&&fs[_0x390c4a(0x19c)](_0x5bb55d);}catch(_0x5473da){logger[_0x390c4a(0x205)](_0x2df442[_0x390c4a(0x1ab)](_0x2df442[_0x390c4a(0x1f4)],_0x5473da));}if(!_0x2df442[_0x390c4a(0x1ca)](isTestCommand,_0x542900,_0x17a154)){_0x2df442['VfCsy'](spawnOriginalProcess,_0x17a154);return;}await PerformanceTester[_0x390c4a(0x235)](PerformanceEvents[_0x390c4a(0x1d7)],async()=>{const _0x43e4ac=_0x390c4a,_0x4386d8={'JRkrZ':_0x2df442[_0x43e4ac(0x1dc)],'Vfmnh':_0x2df442[_0x43e4ac(0x219)],'TpobT':function(_0x4763b8,_0x32a5b5){const _0x589106=_0x43e4ac;return _0x2df442[_0x589106(0x253)](_0x4763b8,_0x32a5b5);},'zNdzy':_0x2df442[_0x43e4ac(0x249)],'GQcns':function(_0x4ac85b){const _0x441599=_0x43e4ac;return _0x2df442[_0x441599(0x240)](_0x4ac85b);},'XNRWb':function(_0x4aa7e8){const _0x35ab5f=_0x43e4ac;return _0x2df442[_0x35ab5f(0x240)](_0x4aa7e8);},'ayACq':function(_0x3a778e,_0x58e4c3){return _0x2df442['HfMZw'](_0x3a778e,_0x58e4c3);},'SUdJE':_0x2df442[_0x43e4ac(0x1be)]};if(!_0x1a182d[_0x43e4ac(0x1ff)]){logger[_0x43e4ac(0x1b0)](_0x2df442[_0x43e4ac(0x245)]);return;}await _0x1a182d[_0x43e4ac(0x22a)](_0x542900),CLIUtils['setFrameworkDetail'](FRAMEWORKS[_0x43e4ac(0x1a7)],FRAMEWORKS['PLAYWRIGHT']),BrowserstackCLI['getInstance']()[_0x43e4ac(0x1b8)](_0x1a182d[_0x43e4ac(0x1ff)],_0x1a182d['cliConfig']),await BrowserstackCLI[_0x43e4ac(0x1a0)]()[_0x43e4ac(0x1dd)]();for(var _0x18708a=0x0;_0x2df442[_0x43e4ac(0x22f)](_0x18708a,constants['INTERNALLY_USED_ENV_VARS'][_0x43e4ac(0x203)]);_0x18708a++){var _0x1aa206=constants['INTERNALLY_USED_ENV_VARS'][_0x18708a];process[_0x43e4ac(0x19a)][_0x1aa206]&&await ClientTroubleShootingService['reportConflictingEnvVarIssue'](_0x1aa206);}const _0x276038=BrowserstackCLI['getInstance']()[_0x43e4ac(0x1a6)]();!helper['isFalse'](_0x276038['browserstackAutomation'])&&(process[_0x43e4ac(0x19a)][_0x43e4ac(0x1eb)]=!![]);_0x2df442[_0x43e4ac(0x1a4)](_0x276038['browserstackAutomation'],![])&&(process[_0x43e4ac(0x19a)]['BROWSERSTACK_AUTOMATION']=_0x2df442[_0x43e4ac(0x243)],_0x17a154=_0x17a154[_0x43e4ac(0x1ae)](_0x25a88c=>_0x25a88c!=='--disable-browserstack-automation'));const _0x490f91=_0x17a154[_0x43e4ac(0x1e3)](_0x2df442[_0x43e4ac(0x231)]);(_0x2df442['FYKwH'](_0x490f91,0x0)||_0x2df442[_0x43e4ac(0x1a4)](_0x276038[_0x43e4ac(0x23b)],![]))&&(process['env']['BROWSERSTACK_TEST_OBSERVABILITY']=_0x2df442[_0x43e4ac(0x243)],_0x17a154=_0x17a154[_0x43e4ac(0x1ae)](_0x1220d7=>_0x1220d7!==_0x43e4ac(0x1aa)));!helper[_0x43e4ac(0x1f9)](_0x1a182d[_0x43e4ac(0x1b5)])&&_0x1a182d['cliConfig'][_0x43e4ac(0x1e8)](_0x2df442[_0x43e4ac(0x22e)])&&(process['env']['BROWSERSTACK_AUTOMATION']=_0x1a182d[_0x43e4ac(0x1b5)]['get'](_0x2df442[_0x43e4ac(0x22e)])||!![]);_0x2df442[_0x43e4ac(0x199)](_0x1a182d[_0x43e4ac(0x1ff)]['testObservability'],null)&&!helper[_0x43e4ac(0x1e6)](process[_0x43e4ac(0x19a)][_0x43e4ac(0x252)])&&(process[_0x43e4ac(0x19a)][_0x43e4ac(0x252)]=process['env'][_0x43e4ac(0x252)]||_0x1a182d[_0x43e4ac(0x1ff)][_0x43e4ac(0x23b)]);const _0x344111=!helper[_0x43e4ac(0x1f1)](process[_0x43e4ac(0x19a)][_0x43e4ac(0x252)]);_0x1a182d[_0x43e4ac(0x1ff)][_0x43e4ac(0x22b)]&&(process[_0x43e4ac(0x19a)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x43e4ac(0x21f)](_0x1a182d[_0x43e4ac(0x1ff)][_0x43e4ac(0x22b)]));let _0x3df341=![];_0x1a182d[_0x43e4ac(0x1ff)][_0x43e4ac(0x20d)]&&(_0x3df341=!![],process['env'][_0x43e4ac(0x1ce)]=_0x1a182d[_0x43e4ac(0x1ff)][_0x43e4ac(0x20d)]);const _0x3285ee=_0x17a154[_0x43e4ac(0x24c)](),_0x5bf7cd=await _0x2df442[_0x43e4ac(0x233)](getUserPlaywrightConfig,_0x542900,_0x17a154);if(helper[_0x43e4ac(0x1f9)](_0x5bf7cd)){_0x2df442[_0x43e4ac(0x24f)](spawnOriginalProcess,_0x3285ee);return;}const _0x5039b4=_0x5bf7cd['path']?path[_0x43e4ac(0x1b4)](_0x5bf7cd[_0x43e4ac(0x214)]):process['cwd']();process[_0x43e4ac(0x19a)]['BROWSERSTACK_PW_CONFIG_DIR']=_0x5039b4,await PerformanceTester['measureWrapper'](PerformanceEvents['SDK_POST_INITIALIZE'],async()=>{const _0x3b1897=_0x43e4ac;!BrowserstackCLI['getInstance']()[_0x3b1897(0x1a5)]()&&await TestHubHandler['launchBuild'](FRAMEWORKS['PLAYWRIGHT'],_0x1a182d),_0x344111&&_0x2df442[_0x3b1897(0x24f)](handleO11yRerun,_0x17a154);})();if(!BrowserstackCLI[_0x43e4ac(0x1a0)]()['isRunning']()){let _0xf26d6f=_0x2df442['tJqlE'](process[_0x43e4ac(0x19a)][_0x43e4ac(0x1ce)],_0x2df442[_0x43e4ac(0x230)]);_0xf26d6f=_0xf26d6f||_0x2df442[_0x43e4ac(0x24f)](checkAccessibilityPlatformConfig,_0x1a182d[_0x43e4ac(0x1ff)]),process[_0x43e4ac(0x19a)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0xf26d6f,_0xf26d6f&&_0x2df442[_0x43e4ac(0x24f)](setAccessibilityCapabilities,_0x1a182d[_0x43e4ac(0x1ff)]);}const _0x55ca9c=path[_0x43e4ac(0x1c7)](_0x5bf7cd['path']?path[_0x43e4ac(0x1b4)](_0x5bf7cd['path']):process[_0x43e4ac(0x248)](),_0x2df442[_0x43e4ac(0x208)]);fs['writeFileSync'](_0x55ca9c,helper[_0x43e4ac(0x1e5)](_0x1a182d[_0x43e4ac(0x1ff)])),process[_0x43e4ac(0x19a)]['BROWSERSTACK_SETUP_CONFIG_PATH']=_0x55ca9c,helper['clearTempPWConfig']();let _0x22c670='';_0x2df442[_0x43e4ac(0x1a4)](helper[_0x43e4ac(0x1d6)](),constants[_0x43e4ac(0x223)][_0x43e4ac(0x221)])?_0x22c670=_0x2df442[_0x43e4ac(0x1ee)]:_0x22c670=_0x2df442['xAKSb'];let _0x465eaf='';if(helper[_0x43e4ac(0x21a)](_0x5bf7cd[_0x43e4ac(0x214)])){_0x465eaf=_0x43e4ac(0x1c0);const _0x160053=_0x22c670['split']('.');_0x160053[_0x2df442[_0x43e4ac(0x1b3)](_0x160053[_0x43e4ac(0x203)],0x1)]='ts',_0x22c670=_0x160053[_0x43e4ac(0x1c7)]('.'),logger[_0x43e4ac(0x205)](_0x2df442[_0x43e4ac(0x253)](_0x2df442[_0x43e4ac(0x23a)],_0x22c670));}else _0x465eaf=_0x43e4ac(0x22c);const _0x12ee3a=path[_0x43e4ac(0x1c7)](_0x5bf7cd['path']?path[_0x43e4ac(0x1b4)](_0x5bf7cd['path']):process[_0x43e4ac(0x248)](),_0x22c670);let _0xaad1ec=_0x5bf7cd[_0x43e4ac(0x214)]?_0x5bf7cd[_0x43e4ac(0x214)]:'';_0xaad1ec=_0x2df442[_0x43e4ac(0x1cd)](_0xaad1ec[_0x43e4ac(0x203)],0x0)?path['resolve'](_0xaad1ec):'',process[_0x43e4ac(0x19a)][_0x43e4ac(0x19f)]=_0xaad1ec;const _0x21a248=helper[_0x43e4ac(0x241)](_0x1a182d['config']),_0x1b726=helper['getNoProxy'](_0x1a182d[_0x43e4ac(0x1ff)]);logger[_0x43e4ac(0x205)]('Proxy\x20url\x20:\x20'+_0x21a248),logger['debug'](_0x43e4ac(0x1ed)+_0x1b726);_0x21a248&&(_0x465eaf=_0x2df442[_0x43e4ac(0x1fe)](_0x43e4ac(0x1b7)+_0x21a248+_0x43e4ac(0x1ba)+_0x1b726+_0x43e4ac(0x246),_0x465eaf));helper[_0x43e4ac(0x222)]({},_0x17a154),fs[_0x43e4ac(0x1fd)](_0x12ee3a,_0x465eaf),PerformanceTester[_0x43e4ac(0x210)](PerformanceEvents['SDK_SETUP']);const _0x300308=_0x2df442[_0x43e4ac(0x1ad)](spawn,_0x2df442['EftXE'],[_0x2df442[_0x43e4ac(0x238)],_0x2df442['tjmBj'],_0x2df442['CaVJA'],_0x12ee3a,..._0x17a154[_0x43e4ac(0x1df)](0x2)],{'shell':_0x2df442[_0x43e4ac(0x1d2)](process[_0x43e4ac(0x1ea)],_0x2df442['Gwagw']),'stdio':_0x2df442[_0x43e4ac(0x19d)],'cwd':process[_0x43e4ac(0x248)](),'env':Object[_0x43e4ac(0x1c2)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x43e4ac(0x212)](_0x542900),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x1a182d['config'][_0x43e4ac(0x1b9)][_0x43e4ac(0x1b2)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x1a182d[_0x43e4ac(0x1ff)]['testContextOptions'][_0x43e4ac(0x1af)],'BROWSERSTACK_LOG_LEVEL':_0x1a182d[_0x43e4ac(0x1ff)]['logLevel']})}),_0x57d5c1=()=>{const _0x10e732=_0x43e4ac;try{const _0x16b5ff=path[_0x10e732(0x1c7)](helper[_0x10e732(0x204)](),_0x4386d8['JRkrZ'],_0x4386d8[_0x10e732(0x202)]);if(fs['existsSync'](_0x16b5ff)){let _0xee7f1=fs[_0x10e732(0x1c5)](_0x16b5ff);_0xee7f1=JSON[_0x10e732(0x1db)](_0xee7f1),_0x1a182d['errorMessage']=_0xee7f1,fs['unlinkSync'](_0x16b5ff);}}catch(_0x44f520){logger[_0x10e732(0x205)](_0x4386d8[_0x10e732(0x23d)](_0x4386d8['zNdzy'],_0x44f520));}};_0x300308['on'](_0x2df442[_0x43e4ac(0x198)],async _0x2b11b4=>{const _0xc7ab01=_0x43e4ac;try{PerformanceTester[_0xc7ab01(0x225)](PerformanceEvents[_0xc7ab01(0x1cc)]),_0x4386d8[_0xc7ab01(0x1ac)](_0x57d5c1),await TestHubHandler[_0xc7ab01(0x1d9)](),await ClientTroubleShootingService[_0xc7ab01(0x236)](),await BrowserstackCLI['getInstance']()[_0xc7ab01(0x1d9)](),TestDetails['shutdown'](),_0x4386d8['XNRWb'](printBuildLink),await utilities[_0xc7ab01(0x1f7)](_0x1a182d),process[_0xc7ab01(0x237)]=_0x2b11b4,logger['debug']('Playwright\x20process\x20exited\x20with\x20code\x20'+_0x2b11b4),logger[_0xc7ab01(0x23e)]('Deleting\x20'+_0x12ee3a),fs[_0xc7ab01(0x19c)](_0x12ee3a);fs['existsSync'](_0x55ca9c)&&(logger[_0xc7ab01(0x205)](_0xc7ab01(0x216)+_0x55ca9c),fs[_0xc7ab01(0x19c)](_0x55ca9c));const _0x16de28=fs[_0xc7ab01(0x24b)](path[_0xc7ab01(0x1c7)](helper[_0xc7ab01(0x204)](),_0x4386d8[_0xc7ab01(0x19b)]))['filter'](_0x1d08bf=>_0x1d08bf[_0xc7ab01(0x211)](_0xc7ab01(0x218)));_0x16de28[_0xc7ab01(0x1e7)](_0x349275=>{const _0x2866ec=_0xc7ab01;fs[_0x2866ec(0x19c)](path[_0x2866ec(0x1c7)](helper[_0x2866ec(0x204)](),_0x4386d8[_0x2866ec(0x19b)],_0x349275));});}catch(_0x43fb26){logger[_0xc7ab01(0x205)](_0x4386d8[_0xc7ab01(0x1ec)](_0x4386d8[_0xc7ab01(0x1d0)],_0x43fb26));}});})();}function a39_0x47b5(){const _0x521f9e=['skipSessionStatus','ZNjYG','dirname','cliConfig','--grep','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','setBrowserstackConfig','testContextOptions','\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','accessSync','../utils/clientTroubleshootingService','--config','zvkeJ','.browserstack','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','exports','assign','./accessibility-helper','../../helpers/test-observability/utils','readFileSync','Error\x20in\x20deleting\x20playwright\x20results','join','W_OK','../../helpers/BrowserStackSetup','BhDkL','../../helpers/testhub/testhubHandler','SDK_CLEANUP','bLnOF','BROWSERSTACK_TEST_ACCESSIBILITY_YML','6eQnAdh','SUdJE','resolvedConfigFile','sArZt','Error\x20in\x20closing\x20playwright','BrowserStack\x20config\x20file\x20not\x20found.','KRYbd','getPackageType','SDK_PRE_INITIALIZE','child_process','stop','../../helpers/utilities','parse','Phjxe','bootstrap','validateRerunTestList','slice','../../helpers/performance/constants','inherit','vrpnE','indexOf','1139700OGcvLn','serializeToYamlString','isTrue','forEach','has','reportDotBrowserStackFolderNotAccessibleIssue','platform','BROWSERSTACK_AUTOMATION','ayACq','No\x20Proxy\x20:\x20','ZQAsQ','../utils/constants','automation','isFalse','winstonLogger','232072daDYVB','qfapR','aSwgr','120xLTXli','finalExecution','../../helpers/performance/performance-tester','isUndefined','sBFQd','npx','BROWSERSTACK_RERUN_TESTS','writeFileSync','BDXbU','config','close','apply','Vfmnh','length','homedir','debug','pqyUg','requirePWModule','yGVHc','playwright','../../helpers/accessibility-automation/helper','65NAQBbP','ozKHg','accessibility','9TitpPt','util','end','startsWith','getConfigPath','split','path','../v2/browserstackCLI','Deleting\x20','Updated\x20config\x20file\x20name\x20to\x20-\x20','trace_','iFkmN','isTypescriptProject','SzAmE','Error\x20in\x20getting\x20funnel\x20data\x20results','cOhoh','ushPX','stringify','splice','MODULE','filterBrowserstackArgs','PACKAGE_TYPE','1357759SBnuHA','start','EVENTS','nestedKeyValue','test','154506Sbzbzj','initialize','accessibilityOptions','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','findIndex','CjMKG','FwjZX','Pzpmd','AxZwe','../../helpers/logger','oKaTF','VZAbz','measureWrapper','reportFinalDetectionState','exitCode','ujTeJ','../../helpers/test-observability/constants','wwpbZ','testObservability','3282314ozjtpN','TpobT','info','push','VpKeq','getProxyUrl','existsSync','dLjWm','BROWSERSTACK_RERUN','MIIpv','\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();','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','cwd','DmXDi','SBTQp','readdirSync','concat','../../helpers/helper','3110DFhJQX','VfCsy','map','win32','BROWSERSTACK_TEST_OBSERVABILITY','YLzkb','--config=','wvNGW','iPaOG','env','JRkrZ','unlinkSync','GKgle','ERkYY','USER_CONFIG_DETAILS_PATH','getInstance','pw_result.json','HlxfE','525932vbmXCC','tJqlE','isRunning','getConfig','PLAYWRIGHT','playwright-browserstack-sdk.config.cjs','99DWcyZZ','--disable-test-observability','MCmZq','GQcns','YgCqi','filter','skipSessionName','error','390FcPdYZ'];a39_0x47b5=function(){return _0x521f9e;};return a39_0x47b5();}module[a39_0x43cca0(0x1c1)]=run;