browserstack-node-sdk 1.49.0 → 1.49.2

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 (186) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  115. package/src/bin/v2/framework/testFramework.js +1 -1
  116. package/src/bin/v2/grpcClient.js +1 -1
  117. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/trackedContext.js +1 -1
  120. package/src/bin/v2/instances/trackedInstance.js +1 -1
  121. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  122. package/src/bin/v2/modules/baseModule.js +1 -1
  123. package/src/bin/v2/modules/loadTestModule.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/v2/utils/jest-utils.js +1 -1
  133. package/src/bin/vanilla-js/command.js +1 -1
  134. package/src/browserStackSdk.js +1 -1
  135. package/src/helpers/BrowserStackSetup.js +1 -1
  136. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  137. package/src/helpers/accessibility-automation/constants.js +1 -1
  138. package/src/helpers/accessibility-automation/helper.js +1 -1
  139. package/src/helpers/accessibility-automation/scripts.js +1 -1
  140. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  141. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  142. package/src/helpers/ats/constants.js +1 -1
  143. package/src/helpers/ats/helper.js +1 -1
  144. package/src/helpers/capsMapping.js +1 -1
  145. package/src/helpers/central-scanner/constants.js +1 -1
  146. package/src/helpers/central-scanner/helpers.js +1 -1
  147. package/src/helpers/classLogger.js +1 -1
  148. package/src/helpers/globals.js +1 -1
  149. package/src/helpers/helper.js +1 -1
  150. package/src/helpers/logger.js +1 -1
  151. package/src/helpers/metadata.js +1 -1
  152. package/src/helpers/patchHelper.js +1 -1
  153. package/src/helpers/patchHelpers.js +1 -1
  154. package/src/helpers/percy/Percy.js +1 -1
  155. package/src/helpers/percy/PercyBinary.js +1 -1
  156. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  157. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  158. package/src/helpers/percy/PercySDK.js +1 -1
  159. package/src/helpers/percy/index.js +1 -1
  160. package/src/helpers/percy/utils.js +1 -1
  161. package/src/helpers/performance/constants.js +1 -1
  162. package/src/helpers/performance/performance-tester.js +1 -1
  163. package/src/helpers/playwright-helper.js +1 -1
  164. package/src/helpers/processHelper.js +1 -1
  165. package/src/helpers/request-spy.js +1 -1
  166. package/src/helpers/setKeepAlive.js +1 -1
  167. package/src/helpers/test-observability/constants.js +1 -1
  168. package/src/helpers/test-observability/error-handler.js +1 -1
  169. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  170. package/src/helpers/test-observability/sessionHandler.js +1 -1
  171. package/src/helpers/test-observability/utils.js +1 -1
  172. package/src/helpers/test-orchestration/constants.js +1 -1
  173. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  174. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  175. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  176. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  177. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  178. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  179. package/src/helpers/testhub/constants.js +1 -1
  180. package/src/helpers/testhub/testhubHandler.js +1 -1
  181. package/src/helpers/testhub/utils.js +1 -1
  182. package/src/helpers/timeoutPromise.js +1 -1
  183. package/src/helpers/utilities.js +1 -1
  184. package/src/helpers/w3cMapping.js +1 -1
  185. package/src/hubAllocationMethods.js +1 -1
  186. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a33_0x3e9814=a33_0x5bd1;(function(_0x214dd4,_0x967572){const _0x3e8ed6=a33_0x5bd1,_0x526c1e=_0x214dd4();while(!![]){try{const _0x1f1bc4=parseInt(_0x3e8ed6(0x19a))/0x1*(parseInt(_0x3e8ed6(0x194))/0x2)+-parseInt(_0x3e8ed6(0x186))/0x3*(-parseInt(_0x3e8ed6(0x189))/0x4)+parseInt(_0x3e8ed6(0x1ab))/0x5*(parseInt(_0x3e8ed6(0x1c4))/0x6)+parseInt(_0x3e8ed6(0x195))/0x7*(parseInt(_0x3e8ed6(0x177))/0x8)+parseInt(_0x3e8ed6(0x181))/0x9+parseInt(_0x3e8ed6(0x188))/0xa*(parseInt(_0x3e8ed6(0x192))/0xb)+parseInt(_0x3e8ed6(0x1b0))/0xc*(-parseInt(_0x3e8ed6(0x160))/0xd);if(_0x1f1bc4===_0x967572)break;else _0x526c1e['push'](_0x526c1e['shift']());}catch(_0x78a1db){_0x526c1e['push'](_0x526c1e['shift']());}}}(a33_0x4c26,0xa9056));const logger=require('../../../helpers/logger')[a33_0x3e9814(0x1c0)],helper=require(a33_0x3e9814(0x176)),constants=require(a33_0x3e9814(0x1ca)),hubAllocator=require(a33_0x3e9814(0x1ce)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a33_0x3e9814(0x1ad)),{setAccessibilityCapabilities,setExtension}=require(a33_0x3e9814(0x17b)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require('../../../helpers/globals'),{overrideExecute}=require(a33_0x3e9814(0x1a0)),modify=(_0x551008,_0x4cacfa=null,_0x1ebe46=![])=>{const _0x32cdbf=a33_0x3e9814,_0x202c64={'XiSGB':function(_0xe0ebe3,_0x489947){return _0xe0ebe3!==_0x489947;},'rbrQH':_0x32cdbf(0x1c5),'kKstz':function(_0x52bb88,_0xf2ee70){return _0x52bb88+_0xf2ee70;},'DZQZB':function(_0x1f7a28,_0x312c4f){return _0x1f7a28+_0x312c4f;},'tjngU':_0x32cdbf(0x1d0),'eZxIY':'/wd/hub','TsGKo':_0x32cdbf(0x1a1),'eWCZf':_0x32cdbf(0x15c),'Wmxrz':_0x32cdbf(0x179),'kcdqE':_0x32cdbf(0x171),'rvxUI':_0x32cdbf(0x168),'EsxlU':'firefoxOptions','DWhtX':'safari.options','ypFIj':_0x32cdbf(0x172),'yIBmw':'ieOptions','GVEJz':function(_0x333063,_0x16f7b9){return _0x333063===_0x16f7b9;},'lHiIR':_0x32cdbf(0x169),'VrBCB':_0x32cdbf(0x1b2),'UhknO':_0x32cdbf(0x1a6),'MbNod':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','QPXaB':function(_0x4ff09a,_0x251e9a,_0x1215e2){return _0x4ff09a(_0x251e9a,_0x1215e2);},'dqPQJ':function(_0xe338df,_0x2ed5eb,_0x15fb2a){return _0xe338df(_0x2ed5eb,_0x15fb2a);},'YgZWE':_0x32cdbf(0x184),'YbhSw':function(_0x2763be,_0x53d377){return _0x2763be(_0x53d377);},'XoDUW':function(_0x28fd0f,_0x4c4590,_0x2c6a79){return _0x28fd0f(_0x4c4590,_0x2c6a79);},'ONiNk':function(_0x4be459,_0x31a338,_0x55f968){return _0x4be459(_0x31a338,_0x55f968);},'NNwCp':_0x32cdbf(0x1a7),'ZLkeO':_0x32cdbf(0x16d),'nfHNl':_0x32cdbf(0x175),'AmSLp':function(_0x5cb8d7,_0x5c9a91,_0x1b6e8d){return _0x5cb8d7(_0x5c9a91,_0x1b6e8d);},'tSXHs':function(_0x342d36){return _0x342d36();},'QFtox':function(_0x866794,_0x17ae25){return _0x866794(_0x17ae25);},'cDiSp':function(_0x9981a9,_0x263225){return _0x9981a9!==_0x263225;},'dcxPW':function(_0x36f767,_0x5b53e4){return _0x36f767!==_0x5b53e4;},'nWevt':_0x32cdbf(0x1b3),'Ubdbp':_0x32cdbf(0x16f)},_0x60688b=helper[_0x32cdbf(0x1d5)]();let _0x555d67;try{_0x555d67=helper[_0x32cdbf(0x1c1)](),_0x555d67[_0x32cdbf(0x1aa)]&&(_0x555d67[_0x32cdbf(0x1b8)]=_0x555d67[_0x32cdbf(0x1aa)]);}catch(_0x224930){return;}if(helper[_0x32cdbf(0x164)]()){const _0x5b4068={};_0x5b4068[_0x32cdbf(0x198)]=_0x551008[_0x32cdbf(0x18d)],helper[_0x32cdbf(0x1a5)](_0x5b4068,new Map(),new Map()),logger[_0x32cdbf(0x162)](_0x202c64[_0x32cdbf(0x1a2)]),logger[_0x32cdbf(0x1cf)](_0x202c64[_0x32cdbf(0x16b)]);}class _0x4076fe extends _0x60688b[_0x32cdbf(0x1cc)]{['send'](_0x936584){const _0x384790=_0x32cdbf;if(_0x202c64[_0x384790(0x1d4)](_0x936584['path'],_0x202c64['rbrQH'])&&_0x202c64[_0x384790(0x1d4)](global['newHubUrl'],''))try{global[_0x384790(0x19d)]=_0x202c64['kKstz'](_0x202c64[_0x384790(0x1c3)](_0x202c64[_0x384790(0x1d3)],global['newHubUrl']),_0x202c64[_0x384790(0x1b1)]),this[_0x384790(0x165)]=hubAllocator['getRequestOptions'](global[_0x384790(0x19d)]),logger[_0x384790(0x1cf)]('New\x20hub\x20url\x20set\x20to\x20'+global[_0x384790(0x19d)]),global[_0x384790(0x19d)]='';}catch(_0x39079c){logger[_0x384790(0x16a)](_0x39079c);}return super['send'](_0x936584);}}class _0x4e2201 extends _0x555d67['Builder']{[_0x32cdbf(0x180)](){const _0x37b9b8=_0x32cdbf;return this[_0x37b9b8(0x19e)]=helper[_0x37b9b8(0x18c)](_0x551008),logger[_0x37b9b8(0x1cf)](_0x37b9b8(0x197)+this[_0x37b9b8(0x19e)]),this;}[_0x32cdbf(0x163)](_0x22522c){const _0x310708=_0x32cdbf;let _0x149f7f={};for(const _0x2be44d in _0x22522c){switch(_0x2be44d){case _0x202c64['TsGKo']:case _0x202c64[_0x310708(0x1bb)]:this[_0x310708(0x17f)]&&(_0x149f7f=this['chromeOptions_'][_0x310708(0x19f)](this[_0x310708(0x17f)][_0x310708(0x18f)])||{},this[_0x310708(0x17f)][_0x310708(0x1bc)](this[_0x310708(0x17f)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x149f7f,_0x22522c[_0x2be44d])));break;case _0x202c64[_0x310708(0x18b)]:case _0x202c64[_0x310708(0x1af)]:this[_0x310708(0x1d6)]&&(_0x149f7f=this[_0x310708(0x1d6)][_0x310708(0x19f)](this['edgeOptions_'][_0x310708(0x18f)])||{},this[_0x310708(0x1d6)][_0x310708(0x1bc)](this[_0x310708(0x1d6)]['CAPABILITY_KEY'],helper[_0x310708(0x1ba)](_0x149f7f,_0x22522c[_0x2be44d])));break;case _0x202c64[_0x310708(0x1ac)]:case _0x202c64[_0x310708(0x19b)]:this[_0x310708(0x1a3)]&&(_0x149f7f=this[_0x310708(0x1a3)][_0x310708(0x19f)](this['firefoxOptions_']['CAPABILITY_KEY'])||{},this[_0x310708(0x1a3)][_0x310708(0x1bc)](this[_0x310708(0x1a3)]['CAPABILITY_KEY'],helper[_0x310708(0x1ba)](_0x149f7f,_0x22522c[_0x2be44d])));break;case _0x202c64[_0x310708(0x1c9)]:this['safariOptions_']&&(_0x149f7f=this[_0x310708(0x15b)][_0x310708(0x19f)](this[_0x310708(0x15b)][_0x310708(0x18f)])||{},this[_0x310708(0x15b)]['set'](this[_0x310708(0x15b)]['CAPABILITY_KEY'],helper[_0x310708(0x1ba)](_0x149f7f,_0x22522c[_0x2be44d])));break;case _0x202c64[_0x310708(0x190)]:case _0x202c64[_0x310708(0x1b5)]:this[_0x310708(0x173)]&&(_0x149f7f=this[_0x310708(0x173)][_0x310708(0x19f)](this[_0x310708(0x173)]['CAPABILITY_KEY'])||{},this[_0x310708(0x173)]['set'](this[_0x310708(0x173)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x149f7f,_0x22522c[_0x2be44d])));break;}}}[_0x32cdbf(0x1d1)](){const _0x83e510=_0x32cdbf;return logger[_0x83e510(0x1cf)](_0x202c64['VrBCB']),this[_0x83e510(0x163)](_0x551008[_0x83e510(0x1be)]),Object[_0x83e510(0x17e)](_0x551008[_0x83e510(0x1be)])[_0x83e510(0x183)](_0x350388=>{const _0x17914a=_0x83e510,_0x531246=this['capabilities_']['get'](_0x350388);_0x202c64['GVEJz'](typeof _0x531246,_0x202c64[_0x17914a(0x1a9)])?this['capabilities_'][_0x17914a(0x1bc)](_0x350388,helper[_0x17914a(0x1ba)](_0x531246,_0x551008[_0x17914a(0x1be)][_0x350388])):this[_0x17914a(0x18a)][_0x17914a(0x1bc)](_0x350388,_0x551008[_0x17914a(0x1be)][_0x350388]);}),this;}[_0x32cdbf(0x185)](){const _0x2c8786=_0x32cdbf,_0x931b38={'DiOZn':function(_0x3131a8,_0x535a9f,_0x27e366){const _0x30cf94=a33_0x5bd1;return _0x202c64[_0x30cf94(0x1bf)](_0x3131a8,_0x535a9f,_0x27e366);},'EpoTS':function(_0x286f8c,_0x2720b6,_0x13d888){return _0x202c64['dqPQJ'](_0x286f8c,_0x2720b6,_0x13d888);},'iKScd':_0x202c64[_0x2c8786(0x196)],'aOfdw':function(_0x4b2b6c,_0x253d47){const _0xd31440=_0x2c8786;return _0x202c64[_0xd31440(0x16c)](_0x4b2b6c,_0x253d47);},'wrdiU':function(_0x1e6391,_0x369abc,_0x440af5){return _0x202c64['XoDUW'](_0x1e6391,_0x369abc,_0x440af5);},'LHPPy':function(_0x528cd8,_0x4fe530,_0x48ef5f){return _0x202c64['ONiNk'](_0x528cd8,_0x4fe530,_0x48ef5f);}};if(helper[_0x2c8786(0x164)]()){const _0x2ed62d=_0x202c64[_0x2c8786(0x18e)]['split']('|');let _0x42ead6=0x0;while(!![]){switch(_0x2ed62d[_0x42ead6++]){case'0':logger[_0x2c8786(0x1cf)](_0x202c64[_0x2c8786(0x1a4)]);continue;case'1':globals[_0x2c8786(0x1cb)](_0x202c64[_0x2c8786(0x1ae)])&&(!_0x202c64[_0x2c8786(0x1d7)](setExtension,this,_0x551008)&&globals['setGlobal'](_0x202c64[_0x2c8786(0x1ae)],![]));continue;case'2':this['setServer']();continue;case'3':if(helper[_0x2c8786(0x15e)](_0x551008['proxySettings']['proxyUrl']))this[_0x2c8786(0x1cd)]=helper[_0x2c8786(0x17d)](_0x551008[_0x2c8786(0x1c8)]['proxyUrl']);else _0x551008['proxySettings']['proxyUrl']&&(this[_0x2c8786(0x19c)]=_0x551008[_0x2c8786(0x1c8)][_0x2c8786(0x187)],logger[_0x2c8786(0x1cf)]('Proxy\x20set\x20to\x20'+this[_0x2c8786(0x19c)]));continue;case'4':this[_0x2c8786(0x1d1)]();continue;case'5':_0x202c64[_0x2c8786(0x182)](isAccessibilityAutomationSession)&&_0x202c64[_0x2c8786(0x16c)](setAccessibilityCapabilities,_0x551008);continue;}break;}}const _0x1bbff2=super[_0x2c8786(0x185)]();return _0x1bbff2[_0x2c8786(0x174)][_0x2c8786(0x1c6)](_0x54143e=>{const _0x2faff1=_0x2c8786;try{const _0x295fe9=_0x54143e['caps_'][_0x2faff1(0x19f)](_0x202c64[_0x2faff1(0x199)]);_0x295fe9?(logger['debug'](_0x2faff1(0x178)+_0x295fe9),hubAllocator[_0x2faff1(0x16e)](_0x295fe9),helper[_0x2faff1(0x1bd)](_0x295fe9)):logger[_0x2faff1(0x1cf)](_0x202c64['MbNod']);}catch(_0x569d4b){logger[_0x2faff1(0x1cf)]('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x569d4b);}}),_0x1bbff2[_0x2c8786(0x1b6)]=0x0,_0x1bbff2[_0x2c8786(0x1c6)]&&_0x1bbff2['then'](_0x43c226=>{const _0x4d202f=_0x2c8786,_0x35128b=_0x931b38[_0x4d202f(0x1a8)]['split']('|');let _0x529dd6=0x0;while(!![]){switch(_0x35128b[_0x529dd6++]){case'0':helper[_0x4d202f(0x1c7)](_0x43c226,_0x551008);continue;case'1':_0x931b38['aOfdw'](overrideTakeScreenshot,_0x43c226);continue;case'2':_0x43c226['getAccessibilityResults']=async()=>{const _0x3101b9=_0x4d202f;return await _0x931b38[_0x3101b9(0x161)](getAccessibilityResults,_0x43c226,global);};continue;case'3':_0x931b38[_0x4d202f(0x170)](overrideExecute,_0x43c226,_0x551008);continue;case'4':_0x43c226['getAccessibilityResultsSummary']=async()=>{const _0x2d52e2=_0x4d202f;return await _0x931b38[_0x2d52e2(0x1b9)](getAccessibilityResultsSummary,_0x43c226,global);};continue;case'5':_0x931b38[_0x4d202f(0x15f)](overrideQuit,_0x43c226,_0x1bbff2);continue;}break;}}),_0x1bbff2[_0x2c8786(0x1b7)]=async()=>{return await _0x931b38['EpoTS'](getAccessibilityResultsSummary,_0x1bbff2,global);},_0x1bbff2['getAccessibilityResults']=async()=>{const _0x186d52=_0x2c8786;return await _0x202c64[_0x186d52(0x1bf)](getAccessibilityResults,_0x1bbff2,global);},_0x202c64['YbhSw'](overrideTakeScreenshot,_0x1bbff2),_0x202c64[_0x2c8786(0x1d2)](overrideQuit,_0x1bbff2),helper[_0x2c8786(0x1c7)](_0x1bbff2,_0x551008),_0x202c64[_0x2c8786(0x1d7)](overrideExecute,_0x1bbff2,_0x551008),helper[_0x2c8786(0x17a)](global[_0x2c8786(0x15d)])&&(global[_0x2c8786(0x15d)]=[]),helper['isUndefined'](global['__drivers'])&&(global['__drivers']=[]),global[_0x2c8786(0x15d)][_0x2c8786(0x191)](_0x1bbff2),global[_0x2c8786(0x17c)]=_0x1bbff2,_0x202c64[_0x2c8786(0x1c2)](global[_0x2c8786(0x166)],undefined)&&global['__drivers'][_0x2c8786(0x191)](_0x1bbff2),_0x4cacfa&&helper['isUndefined'](_0x4cacfa[_0x2c8786(0x167)][_0x2c8786(0x15d)])&&(_0x4cacfa[_0x2c8786(0x167)][_0x2c8786(0x15d)]=[]),_0x4cacfa&&_0x202c64[_0x2c8786(0x1b4)](_0x4cacfa['global'][_0x2c8786(0x166)],undefined)&&(_0x4cacfa[_0x2c8786(0x167)][_0x2c8786(0x166)][_0x2c8786(0x191)](_0x1bbff2),_0x4cacfa[_0x2c8786(0x167)]['__driversArray'][_0x2c8786(0x191)](_0x1bbff2)),_0x1bbff2;}}return _0x555d67[_0x32cdbf(0x1aa)]=_0x555d67['Builder'],_0x555d67[_0x32cdbf(0x1b8)]=_0x4e2201,_0x60688b[_0x32cdbf(0x1cc)]=_0x4076fe,_0x555d67;};function a33_0x4c26(){const _0x3de7d6=['originalBuilder','35rLgmKN','rvxUI','../../../helpers/patchHelpers','nfHNl','kcdqE','38599236YwArgs','eZxIY','Setting\x20Browserstack\x20capabilities','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','dcxPW','yIBmw','quitCount_','getAccessibilityResultsSummary','Builder','DiOZn','mergeDeep','eWCZf','set','storeOptimalHubUrl','capability','QPXaB','winstonLogger','requireSeleniumWebdriver','cDiSp','DZQZB','874974djkmvw','/session','then','overrideGet','proxySettings','DWhtX','../../../bin/utils/constants','getGlobal','HttpClient','agent_','../../../hubAllocationMethods','debug','https://','setCapabilities','QFtox','tjngU','XiSGB','requireHttpClient','edgeOptions_','AmSLp','safariOptions_','chromeOptions','__driversArray','isPacProxy','LHPPy','13zxafjc','EpoTS','info','__setBrowserOptions','isBrowserstackInfra','options_','__drivers','global','moz:firefoxOptions','object','error','Ubdbp','YbhSw','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','updateHubUrl','Modifying\x20webdriver\x20builder','wrdiU','edgeOptions','se:ieOptions','ieOptions_','session_','isAccessibilityPlatform','../../../helpers/helper','6570416EGkviZ','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','ms:edgeOptions','isUndefined','../accessibility-automation/helper','__driver','getHttpAgent','keys','chromeOptions_','setServer','5137803mBFURw','tSXHs','forEach','5|1|0|3|4|2','build','3MyJFhq','proxyUrl','10DbpoiG','1699160wdVYjY','capabilities_','Wmxrz','getHubUrl','browserStackLogLevel','NNwCp','CAPABILITY_KEY','ypFIj','push','11655457JriDbG','browserstackAgentObservability','11564KHykJS','7FEfyvd','YgZWE','Hub\x20url\x20set\x20to\x20','logLevel','UhknO','2rMOBed','EsxlU','proxy_','newHubUrl','url_','get','./helpers/patchHelper','goog:chromeOptions','nWevt','firefoxOptions_','ZLkeO','setLogLevel','optimalHubUrl','5|2|4|3|1|0','iKScd','lHiIR'];a33_0x4c26=function(){return _0x3de7d6;};return a33_0x4c26();}function a33_0x5bd1(_0xe51e44,_0x3406e0){const _0x4c2635=a33_0x4c26();return a33_0x5bd1=function(_0x5bd1ff,_0x23f4b9){_0x5bd1ff=_0x5bd1ff-0x15b;let _0x2b1ed=_0x4c2635[_0x5bd1ff];return _0x2b1ed;},a33_0x5bd1(_0xe51e44,_0x3406e0);}module['exports'][a33_0x3e9814(0x193)]=modify;
1
+ const a33_0x21c847=a33_0x5bb0;(function(_0x9cc661,_0x105b94){const _0x2c5fd4=a33_0x5bb0,_0x31e7af=_0x9cc661();while(!![]){try{const _0x2af673=parseInt(_0x2c5fd4(0x103))/0x1+-parseInt(_0x2c5fd4(0x96))/0x2*(parseInt(_0x2c5fd4(0xfc))/0x3)+parseInt(_0x2c5fd4(0xe6))/0x4*(-parseInt(_0x2c5fd4(0xac))/0x5)+-parseInt(_0x2c5fd4(0xe7))/0x6+parseInt(_0x2c5fd4(0xec))/0x7+parseInt(_0x2c5fd4(0xcf))/0x8+-parseInt(_0x2c5fd4(0xed))/0x9*(parseInt(_0x2c5fd4(0xdf))/0xa);if(_0x2af673===_0x105b94)break;else _0x31e7af['push'](_0x31e7af['shift']());}catch(_0x3978dd){_0x31e7af['push'](_0x31e7af['shift']());}}}(a33_0x2a1c,0xcf015));const logger=require('../../../helpers/logger')[a33_0x21c847(0xc5)],helper=require(a33_0x21c847(0xd6)),constants=require(a33_0x21c847(0xae)),hubAllocator=require(a33_0x21c847(0xa3)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require(a33_0x21c847(0xfb)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require(a33_0x21c847(0xc9)),{overrideExecute}=require(a33_0x21c847(0x9b)),modify=(_0x5d30ac,_0x24730e=null,_0x34a364=![])=>{const _0x59aed3=a33_0x21c847,_0x24c03d={'nYjRF':function(_0xa35093,_0x1062db){return _0xa35093!==_0x1062db;},'hjJIY':_0x59aed3(0xde),'OYtvH':function(_0x59e200,_0x5971ca){return _0x59e200!==_0x5971ca;},'KTPJR':function(_0x53e4cc,_0x282768){return _0x53e4cc+_0x282768;},'LuEgY':function(_0x43587d,_0x16c58e){return _0x43587d+_0x16c58e;},'ueFBn':_0x59aed3(0xa4),'HotpC':_0x59aed3(0xb6),'SchXC':'goog:chromeOptions','MtQTk':_0x59aed3(0xba),'fewgf':'ms:edgeOptions','BtkUC':_0x59aed3(0xbb),'swPwP':_0x59aed3(0xf2),'OFaFL':_0x59aed3(0xc1),'BMhDM':_0x59aed3(0xd2),'xfLJQ':_0x59aed3(0xb9),'zENtD':_0x59aed3(0x10a),'nwUeG':function(_0x3b1f25,_0x1e0ef7){return _0x3b1f25===_0x1e0ef7;},'LxDgj':_0x59aed3(0xcd),'HputJ':_0x59aed3(0xdd),'dBzEm':_0x59aed3(0xaf),'mKeqm':_0x59aed3(0xc4),'lxrap':function(_0x199c11,_0x4b0999,_0x451132){return _0x199c11(_0x4b0999,_0x451132);},'XkBKF':function(_0x8bd34f,_0x5f1e53){return _0x8bd34f(_0x5f1e53);},'AMyWJ':_0x59aed3(0xc2),'YOETY':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','xImGm':function(_0xfccda9){return _0xfccda9();},'KmWHL':function(_0x526f51,_0xdc59d3){return _0x526f51(_0xdc59d3);},'tpqsr':'isAccessibilityPlatform','lpMPL':function(_0x4416bd,_0x3e1104){return _0x4416bd(_0x3e1104);},'LwSFt':function(_0x310d87,_0x7ff6fa,_0x26719e){return _0x310d87(_0x7ff6fa,_0x26719e);},'uYXvv':_0x59aed3(0xe5),'UNKRX':'Modifying\x20webdriver\x20builder'},_0x5f3d41=helper[_0x59aed3(0xaa)]();let _0x4c6424;try{_0x4c6424=helper['requireSeleniumWebdriver'](),_0x4c6424[_0x59aed3(0xa5)]&&(_0x4c6424[_0x59aed3(0x100)]=_0x4c6424[_0x59aed3(0xa5)]);}catch(_0x22620e){return;}if(helper[_0x59aed3(0xe0)]()){const _0x5a251b={};_0x5a251b['logLevel']=_0x5d30ac[_0x59aed3(0xa0)],helper['setLogLevel'](_0x5a251b,new Map(),new Map()),logger['info'](_0x24c03d[_0x59aed3(0xbf)]),logger[_0x59aed3(0x9a)](_0x24c03d[_0x59aed3(0xf9)]);}class _0x31d591 extends _0x5f3d41[_0x59aed3(0xee)]{[_0x59aed3(0xd0)](_0x2150f9){const _0x4e301f=_0x59aed3;if(_0x24c03d[_0x4e301f(0xf0)](_0x2150f9[_0x4e301f(0xeb)],_0x24c03d[_0x4e301f(0xe4)])&&_0x24c03d[_0x4e301f(0xb1)](global[_0x4e301f(0xc6)],''))try{global[_0x4e301f(0xc6)]=_0x24c03d['KTPJR'](_0x24c03d[_0x4e301f(0xf8)](_0x24c03d[_0x4e301f(0xc8)],global[_0x4e301f(0xc6)]),_0x24c03d[_0x4e301f(0xd7)]),this[_0x4e301f(0x9f)]=hubAllocator['getRequestOptions'](global[_0x4e301f(0xc6)]),logger[_0x4e301f(0x9a)](_0x4e301f(0xb8)+global[_0x4e301f(0xc6)]),global['newHubUrl']='';}catch(_0x270122){logger[_0x4e301f(0xc3)](_0x270122);}return super[_0x4e301f(0xd0)](_0x2150f9);}}class _0x9e72dd extends _0x4c6424[_0x59aed3(0x100)]{[_0x59aed3(0xce)](){const _0xb7b7e6=_0x59aed3;return this[_0xb7b7e6(0xfe)]=helper[_0xb7b7e6(0xe9)](_0x5d30ac),logger[_0xb7b7e6(0x9a)](_0xb7b7e6(0xf4)+this[_0xb7b7e6(0xfe)]),this;}['__setBrowserOptions'](_0x2a43c8){const _0x560eec=_0x59aed3;let _0x2e03fc={};for(const _0x58fc5e in _0x2a43c8){switch(_0x58fc5e){case _0x24c03d[_0x560eec(0x98)]:case _0x24c03d['MtQTk']:this['chromeOptions_']&&(_0x2e03fc=this[_0x560eec(0xbe)][_0x560eec(0xf3)](this[_0x560eec(0xbe)]['CAPABILITY_KEY'])||{},this[_0x560eec(0xbe)][_0x560eec(0xdb)](this[_0x560eec(0xbe)]['CAPABILITY_KEY'],helper[_0x560eec(0xad)](_0x2e03fc,_0x2a43c8[_0x58fc5e])));break;case _0x24c03d['fewgf']:case _0x24c03d[_0x560eec(0xa7)]:this[_0x560eec(0xb4)]&&(_0x2e03fc=this['edgeOptions_'][_0x560eec(0xf3)](this['edgeOptions_'][_0x560eec(0xd9)])||{},this[_0x560eec(0xb4)]['set'](this[_0x560eec(0xb4)][_0x560eec(0xd9)],helper['mergeDeep'](_0x2e03fc,_0x2a43c8[_0x58fc5e])));break;case _0x24c03d[_0x560eec(0xb3)]:case _0x24c03d[_0x560eec(0xbc)]:this[_0x560eec(0xa2)]&&(_0x2e03fc=this['firefoxOptions_']['get'](this[_0x560eec(0xa2)][_0x560eec(0xd9)])||{},this['firefoxOptions_'][_0x560eec(0xdb)](this[_0x560eec(0xa2)][_0x560eec(0xd9)],helper['mergeDeep'](_0x2e03fc,_0x2a43c8[_0x58fc5e])));break;case _0x24c03d['BMhDM']:this[_0x560eec(0xd3)]&&(_0x2e03fc=this[_0x560eec(0xd3)]['get'](this[_0x560eec(0xd3)][_0x560eec(0xd9)])||{},this['safariOptions_'][_0x560eec(0xdb)](this[_0x560eec(0xd3)]['CAPABILITY_KEY'],helper[_0x560eec(0xad)](_0x2e03fc,_0x2a43c8[_0x58fc5e])));break;case _0x24c03d[_0x560eec(0xca)]:case _0x24c03d[_0x560eec(0x109)]:this['ieOptions_']&&(_0x2e03fc=this[_0x560eec(0xe3)]['get'](this[_0x560eec(0xe3)][_0x560eec(0xd9)])||{},this[_0x560eec(0xe3)]['set'](this[_0x560eec(0xe3)]['CAPABILITY_KEY'],helper[_0x560eec(0xad)](_0x2e03fc,_0x2a43c8[_0x58fc5e])));break;}}}[_0x59aed3(0xf7)](){const _0x51be4f=_0x59aed3;return logger[_0x51be4f(0x9a)](_0x24c03d[_0x51be4f(0xab)]),this[_0x51be4f(0xa1)](_0x5d30ac[_0x51be4f(0xdc)]),Object['keys'](_0x5d30ac[_0x51be4f(0xdc)])[_0x51be4f(0xb7)](_0x1d7936=>{const _0x647fde=_0x51be4f,_0x2275ed=this['capabilities_'][_0x647fde(0xf3)](_0x1d7936);_0x24c03d[_0x647fde(0x9e)](typeof _0x2275ed,_0x24c03d[_0x647fde(0xe2)])?this[_0x647fde(0x9c)]['set'](_0x1d7936,helper[_0x647fde(0xad)](_0x2275ed,_0x5d30ac[_0x647fde(0xdc)][_0x1d7936])):this[_0x647fde(0x9c)][_0x647fde(0xdb)](_0x1d7936,_0x5d30ac[_0x647fde(0xdc)][_0x1d7936]);}),this;}['build'](){const _0x4d2037=_0x59aed3,_0x4ebdcd={'KoYwk':function(_0x33924e,_0x23a75c,_0x247a35){return _0x24c03d['lxrap'](_0x33924e,_0x23a75c,_0x247a35);},'fmbXl':function(_0x23539d,_0x3fcda2){return _0x24c03d['XkBKF'](_0x23539d,_0x3fcda2);}};if(helper[_0x4d2037(0xe0)]()){const _0x2e5992=_0x24c03d[_0x4d2037(0xda)][_0x4d2037(0x9d)]('|');let _0xac3c1=0x0;while(!![]){switch(_0x2e5992[_0xac3c1++]){case'0':this[_0x4d2037(0xce)]();continue;case'1':logger[_0x4d2037(0x9a)](_0x24c03d[_0x4d2037(0x101)]);continue;case'2':_0x24c03d['xImGm'](isAccessibilityAutomationSession)&&_0x24c03d[_0x4d2037(0x108)](setAccessibilityCapabilities,_0x5d30ac);continue;case'3':globals[_0x4d2037(0xd8)](_0x24c03d[_0x4d2037(0x97)])&&(!_0x24c03d[_0x4d2037(0xd1)](setExtension,this,_0x5d30ac)&&globals[_0x4d2037(0x107)](_0x24c03d[_0x4d2037(0x97)],![]));continue;case'4':this[_0x4d2037(0xf7)]();continue;case'5':if(helper[_0x4d2037(0xe8)](_0x5d30ac[_0x4d2037(0xf6)][_0x4d2037(0xa6)]))this[_0x4d2037(0xef)]=helper[_0x4d2037(0xfd)](_0x5d30ac[_0x4d2037(0xf6)]['proxyUrl']);else _0x5d30ac['proxySettings']['proxyUrl']&&(this[_0x4d2037(0xb5)]=_0x5d30ac['proxySettings'][_0x4d2037(0xa6)],logger[_0x4d2037(0x9a)](_0x4d2037(0x105)+this['proxy_']));continue;}break;}}const _0x440fd4=super[_0x4d2037(0xa8)]();return _0x440fd4['session_'][_0x4d2037(0xd5)](_0x5a86f8=>{const _0x214075=_0x4d2037;try{const _0x27eb2f=_0x5a86f8[_0x214075(0xb2)]['get'](_0x24c03d['dBzEm']);_0x27eb2f?(logger[_0x214075(0x9a)](_0x214075(0x106)+_0x27eb2f),hubAllocator['updateHubUrl'](_0x27eb2f),helper[_0x214075(0xc7)](_0x27eb2f)):logger[_0x214075(0x9a)](_0x24c03d[_0x214075(0xd4)]);}catch(_0x50005e){logger[_0x214075(0x9a)](_0x214075(0xcc)+_0x50005e);}}),_0x440fd4['quitCount_']=0x0,_0x440fd4[_0x4d2037(0xd5)]&&_0x440fd4[_0x4d2037(0xd5)](_0x4ea97b=>{const _0x755ad=_0x4d2037,_0x179830={'rWxAN':function(_0x1fb41d,_0x1aa50f,_0x2bd029){const _0x25c958=a33_0x5bb0;return _0x4ebdcd[_0x25c958(0xbd)](_0x1fb41d,_0x1aa50f,_0x2bd029);}};_0x4ebdcd['KoYwk'](overrideQuit,_0x4ea97b,_0x440fd4),_0x4ebdcd[_0x755ad(0xcb)](overrideTakeScreenshot,_0x4ea97b),helper['overrideGet'](_0x4ea97b,_0x5d30ac),_0x4ebdcd[_0x755ad(0xbd)](overrideExecute,_0x4ea97b,_0x5d30ac),_0x4ea97b[_0x755ad(0xff)]=async()=>{const _0x52efef=_0x755ad;return await _0x179830[_0x52efef(0x102)](getAccessibilityResultsSummary,_0x4ea97b,global);},_0x4ea97b[_0x755ad(0xe1)]=async()=>{return await _0x179830['rWxAN'](getAccessibilityResults,_0x4ea97b,global);};}),_0x440fd4[_0x4d2037(0xff)]=async()=>{const _0x51ddcc=_0x4d2037;return await _0x4ebdcd[_0x51ddcc(0xbd)](getAccessibilityResultsSummary,_0x440fd4,global);},_0x440fd4[_0x4d2037(0xe1)]=async()=>{const _0x1d5395=_0x4d2037;return await _0x24c03d[_0x1d5395(0xd1)](getAccessibilityResults,_0x440fd4,global);},_0x24c03d[_0x4d2037(0x99)](overrideTakeScreenshot,_0x440fd4),_0x24c03d[_0x4d2037(0xf1)](overrideQuit,_0x440fd4),helper['overrideGet'](_0x440fd4,_0x5d30ac),_0x24c03d[_0x4d2037(0x104)](overrideExecute,_0x440fd4,_0x5d30ac),helper[_0x4d2037(0xea)](global[_0x4d2037(0xc0)])&&(global[_0x4d2037(0xc0)]=[]),helper['isUndefined'](global[_0x4d2037(0xfa)])&&(global[_0x4d2037(0xfa)]=[]),global[_0x4d2037(0xc0)][_0x4d2037(0xf5)](_0x440fd4),global['__driver']=_0x440fd4,_0x24c03d['nYjRF'](global[_0x4d2037(0xfa)],undefined)&&global[_0x4d2037(0xfa)][_0x4d2037(0xf5)](_0x440fd4),_0x24730e&&helper[_0x4d2037(0xea)](_0x24730e[_0x4d2037(0xb0)][_0x4d2037(0xc0)])&&(_0x24730e['global'][_0x4d2037(0xc0)]=[]),_0x24730e&&_0x24c03d['nYjRF'](_0x24730e[_0x4d2037(0xb0)]['__drivers'],undefined)&&(_0x24730e['global']['__drivers'][_0x4d2037(0xf5)](_0x440fd4),_0x24730e[_0x4d2037(0xb0)][_0x4d2037(0xc0)][_0x4d2037(0xf5)](_0x440fd4)),_0x440fd4;}}return _0x4c6424[_0x59aed3(0xa5)]=_0x4c6424[_0x59aed3(0x100)],_0x4c6424[_0x59aed3(0x100)]=_0x9e72dd,_0x5f3d41[_0x59aed3(0xee)]=_0x31d591,_0x4c6424;};function a33_0x2a1c(){const _0x3867b5=['agent_','nYjRF','XkBKF','moz:firefoxOptions','get','Hub\x20url\x20set\x20to\x20','push','proxySettings','setCapabilities','LuEgY','UNKRX','__drivers','../accessibility-automation/helper','423483xUVQRr','getHttpAgent','url_','getAccessibilityResultsSummary','Builder','YOETY','rWxAN','1328006WqVulP','LwSFt','Proxy\x20set\x20to\x20','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','setGlobal','KmWHL','zENtD','ieOptions','14TvBKcX','tpqsr','SchXC','lpMPL','debug','./helpers/patchHelper','capabilities_','split','nwUeG','options_','browserStackLogLevel','__setBrowserOptions','firefoxOptions_','../../../hubAllocationMethods','https://','originalBuilder','proxyUrl','BtkUC','build','exports','requireHttpClient','HputJ','657170ZHrENF','mergeDeep','../../../bin/utils/constants','optimalHubUrl','global','OYtvH','caps_','swPwP','edgeOptions_','proxy_','/wd/hub','forEach','New\x20hub\x20url\x20set\x20to\x20','se:ieOptions','chromeOptions','edgeOptions','OFaFL','KoYwk','chromeOptions_','uYXvv','__driversArray','firefoxOptions','2|0|4|5|3|1','error','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','winstonLogger','newHubUrl','storeOptimalHubUrl','ueFBn','../../../helpers/globals','xfLJQ','fmbXl','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','object','setServer','10968456gBfBYY','send','lxrap','safari.options','safariOptions_','mKeqm','then','../../../helpers/helper','HotpC','getGlobal','CAPABILITY_KEY','AMyWJ','set','capability','Setting\x20Browserstack\x20capabilities','/session','10AeKJML','isBrowserstackInfra','getAccessibilityResults','LxDgj','ieOptions_','hjJIY','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','16kTWzTA','3488748aXDPAo','isPacProxy','getHubUrl','isUndefined','path','9676338Lorljs','10243647kfAPJS','HttpClient'];a33_0x2a1c=function(){return _0x3867b5;};return a33_0x2a1c();}function a33_0x5bb0(_0x48c174,_0x2947a0){const _0x2a1c8a=a33_0x2a1c();return a33_0x5bb0=function(_0x5bb0b0,_0x28fff3){_0x5bb0b0=_0x5bb0b0-0x96;let _0x27f731=_0x2a1c8a[_0x5bb0b0];return _0x27f731;},a33_0x5bb0(_0x48c174,_0x2947a0);}module[a33_0x21c847(0xa9)]['browserstackAgentObservability']=modify;
@@ -1 +1 @@
1
- function a34_0x3e8b(_0x1d822f,_0x5d70d1){const _0x5d850e=a34_0x5d85();return a34_0x3e8b=function(_0x3e8b2c,_0x49f02f){_0x3e8b2c=_0x3e8b2c-0x14c;let _0x44df61=_0x5d850e[_0x3e8b2c];return _0x44df61;},a34_0x3e8b(_0x1d822f,_0x5d70d1);}const a34_0x3777d1=a34_0x3e8b;(function(_0x6a05f8,_0x18a4de){const _0x2558e0=a34_0x3e8b,_0x148db6=_0x6a05f8();while(!![]){try{const _0x515036=-parseInt(_0x2558e0(0x154))/0x1*(parseInt(_0x2558e0(0x157))/0x2)+parseInt(_0x2558e0(0x14c))/0x3+parseInt(_0x2558e0(0x151))/0x4*(-parseInt(_0x2558e0(0x158))/0x5)+-parseInt(_0x2558e0(0x152))/0x6*(-parseInt(_0x2558e0(0x14e))/0x7)+-parseInt(_0x2558e0(0x156))/0x8*(-parseInt(_0x2558e0(0x159))/0x9)+parseInt(_0x2558e0(0x150))/0xa+-parseInt(_0x2558e0(0x14d))/0xb;if(_0x515036===_0x18a4de)break;else _0x148db6['push'](_0x148db6['shift']());}catch(_0xd05e92){_0x148db6['push'](_0x148db6['shift']());}}}(a34_0x5d85,0xcc93e));function a34_0x5d85(){const _0x4094f0=['3282760vYAHmN','6GuHPKN','mochaHooks','34349gBkyQt','timeout','2364776bbdpeo','10sJgxSm','10WRZblW','18aNEuSN','2603931wkzEEf','8121993DdTnBI','10737587ngyuNW','../../../helpers/request-spy','3963260ozdNyq'];a34_0x5d85=function(){return _0x4094f0;};return a34_0x5d85();}const requestSpy=require(a34_0x3777d1(0x14f)),constants=require('../../../bin/utils/constants'),{addRequestSpy}=require('../../../helpers/test-observability/utils');exports[a34_0x3777d1(0x153)]={'beforeAll'(){const _0x56efb0={'iEGja':function(_0xe002f){return _0xe002f();}},_0x2f967d='browserstack internal helper hook';_0x56efb0['iEGja'](addRequestSpy);},'afterAll'(){const _0x159069=a34_0x3777d1,_0x20b039='browserstack internal helper hook';this[_0x159069(0x155)](0xea60),requestSpy['restore']();}};
1
+ const a34_0x41d349=a34_0x3cf8;(function(_0x4d447f,_0x5d106e){const _0x184324=a34_0x3cf8,_0x419b08=_0x4d447f();while(!![]){try{const _0x57fbd3=parseInt(_0x184324(0xd3))/0x1*(parseInt(_0x184324(0xc8))/0x2)+parseInt(_0x184324(0xd4))/0x3*(-parseInt(_0x184324(0xd2))/0x4)+parseInt(_0x184324(0xd5))/0x5*(parseInt(_0x184324(0xca))/0x6)+parseInt(_0x184324(0xd6))/0x7+-parseInt(_0x184324(0xcd))/0x8+parseInt(_0x184324(0xce))/0x9+parseInt(_0x184324(0xcf))/0xa*(parseInt(_0x184324(0xcc))/0xb);if(_0x57fbd3===_0x5d106e)break;else _0x419b08['push'](_0x419b08['shift']());}catch(_0x4a65f3){_0x419b08['push'](_0x419b08['shift']());}}}(a34_0x2cb2,0x3c93e));const requestSpy=require(a34_0x41d349(0xd9)),constants=require(a34_0x41d349(0xd0)),{addRequestSpy}=require(a34_0x41d349(0xd7));function a34_0x2cb2(){const _0x529929=['1979474EDyUmU','../../../helpers/test-observability/utils','timeout','../../../helpers/request-spy','683498SPjHOa','iyIWf','585294JxRQID','mochaHooks','3858151WxNisv','3743536zImUxq','304344rPdYZR','10zZidmc','../../../bin/utils/constants','restore','650824shRXrw','1OFMvvq','9DmEcAb','10pRDkgN'];a34_0x2cb2=function(){return _0x529929;};return a34_0x2cb2();}function a34_0x3cf8(_0x315e53,_0x32c0a2){const _0x2cb236=a34_0x2cb2();return a34_0x3cf8=function(_0x3cf8db,_0x21353e){_0x3cf8db=_0x3cf8db-0xc8;let _0x389616=_0x2cb236[_0x3cf8db];return _0x389616;},a34_0x3cf8(_0x315e53,_0x32c0a2);}exports[a34_0x41d349(0xcb)]={'beforeAll'(){const _0x5a6840=a34_0x41d349,_0x5bd144={'iyIWf':function(_0x4cd8a8){return _0x4cd8a8();}},_0x3b6eda='browserstack internal helper hook';_0x5bd144[_0x5a6840(0xc9)](addRequestSpy);},'afterAll'(){const _0x32a184=a34_0x41d349,_0x5b4f1f='browserstack internal helper hook';this[_0x32a184(0xd8)](0xea60),requestSpy[_0x32a184(0xd1)]();}};
@@ -1 +1 @@
1
- function a35_0x59e1(_0x3b2d94,_0x6cffb1){const _0x4d7749=a35_0x4d77();return a35_0x59e1=function(_0x59e1d9,_0x4d0779){_0x59e1d9=_0x59e1d9-0x14b;let _0x45380f=_0x4d7749[_0x59e1d9];return _0x45380f;},a35_0x59e1(_0x3b2d94,_0x6cffb1);}const a35_0x5348b6=a35_0x59e1;(function(_0x44c8c7,_0x22bee2){const _0x5c97a2=a35_0x59e1,_0x363c3b=_0x44c8c7();while(!![]){try{const _0x395c2b=-parseInt(_0x5c97a2(0x168))/0x1+-parseInt(_0x5c97a2(0x1a1))/0x2*(-parseInt(_0x5c97a2(0x199))/0x3)+parseInt(_0x5c97a2(0x188))/0x4+-parseInt(_0x5c97a2(0x19a))/0x5*(parseInt(_0x5c97a2(0x185))/0x6)+parseInt(_0x5c97a2(0x16b))/0x7+parseInt(_0x5c97a2(0x174))/0x8*(parseInt(_0x5c97a2(0x17a))/0x9)+parseInt(_0x5c97a2(0x169))/0xa*(-parseInt(_0x5c97a2(0x181))/0xb);if(_0x395c2b===_0x22bee2)break;else _0x363c3b['push'](_0x363c3b['shift']());}catch(_0x10b3b1){_0x363c3b['push'](_0x363c3b['shift']());}}}(a35_0x4d77,0x53303));function a35_0x4d77(){const _0x195a13=['AKivZ','toJSON','../../../helpers/test-observability/constants','WBQeV','2uVBREF','failed','toISOString','../../../helpers/testhub/utils','hookAnalyticsId','concat','bs:addPlatformDetails:','jbHMF','GbITz','../../../../package.json','generic','djcsL','DkqKZ','lZIFt','UKHKg','parent','slice','Rqcgl','QJgWV','state','sendPlatformDetails','tEWLD','_afterEach','hook:','cYAaY','pending','../../../helpers/helper','TQWZC','passed','ofwQU','map_','TEST_PLATFORM','461412iytFYV','890xFHqju','suites','2316356xmdHxT','indexOf','HrieY','js-','__cloud_provider___','split','getHookDetails','yGiJJ','getSession','2344zoIPwk','fromEntries','lodash','TjKCS','aYocY','forEach','14076BMJQBk','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','wHUrq','getBrowserVersion','platformVersion','WklYi','pid','71357NgyqHs','push','yNuBx','tests','6rJFusO','TZLRJ','type','1367424DxTbRI','get','../../../helpers/test-observability/utils','mapTestHooks','filter','hook','IPACZ','_afterAll','vWfTw','getBrowserName','_beforeAll','string','isvcR','sooUj','getHooksForTest','markedStatus','_beforeEach','940227schynI','324655tGGyTb','getHookSkippedTests','emit'];a35_0x4d77=function(){return _0x195a13;};return a35_0x4d77();}const {v4:uuidv4}=require('uuid'),{name,version}=require(a35_0x5348b6(0x151)),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a35_0x5348b6(0x18a)),{consoleHolder}=require(a35_0x5348b6(0x19f)),{getPlatformVersion}=require(a35_0x5348b6(0x162)),{shouldProcessEventForTesthub}=require(a35_0x5348b6(0x14b)),{isFunction}=require(a35_0x5348b6(0x176)),{patchConsoleLogger}=require(a35_0x5348b6(0x18a));patchConsoleLogger(),exports['getTestEnv']=()=>{const _0x349870=a35_0x5348b6,_0x45fb36={'rlFmv':_0x349870(0x152),'yXnpk':function(_0x3e9da6){return _0x3e9da6();}};return{'ci':_0x45fb36['rlFmv'],'key':_0x45fb36['yXnpk'](uuidv4),'version':version,'collector':_0x349870(0x16e)+name};},exports[a35_0x5348b6(0x171)]=_0x48de12=>{const _0x449bcf=a35_0x5348b6,_0x26b0aa={};_0x26b0aa[_0x449bcf(0x17f)]=function(_0x5c3623,_0x20ac15){return _0x5c3623!==_0x20ac15;},_0x26b0aa['WVEKC']=_0x449bcf(0x193),_0x26b0aa[_0x449bcf(0x14f)]=function(_0x107fee,_0x193f35){return _0x107fee!==_0x193f35;},_0x26b0aa[_0x449bcf(0x195)]=_0x449bcf(0x15f),_0x26b0aa['Rqcgl']=function(_0x477300,_0x4ec545){return _0x477300!==_0x4ec545;},_0x26b0aa[_0x449bcf(0x156)]=_0x449bcf(0x18d);const _0x226826=_0x26b0aa;if(!_0x48de12||_0x226826[_0x449bcf(0x17f)](typeof _0x48de12,_0x226826['WVEKC']))return[null,null];if(_0x226826[_0x449bcf(0x14f)](_0x48de12[_0x449bcf(0x16c)](_0x226826[_0x449bcf(0x195)]),-0x1)){const _0x13129c=_0x48de12['split'](_0x226826[_0x449bcf(0x195)]);return[_0x13129c[0x0][_0x449bcf(0x158)](0x0,-0x1)['split']('\x22')[0x1],_0x13129c[0x1]['substring'](0x1)];}else{if(_0x226826[_0x449bcf(0x159)](_0x48de12[_0x449bcf(0x16c)](_0x226826['UKHKg']),-0x1)){const _0x448b33=_0x48de12[_0x449bcf(0x170)](_0x226826[_0x449bcf(0x156)]);return[_0x448b33[0x0][_0x449bcf(0x158)](0x0,-0x1)['split']('\x22')[0x1],_0x48de12];}}return[null,null];},exports[a35_0x5348b6(0x196)]=_0x128f66=>{const _0x459a18=a35_0x5348b6,_0x2d958e={'bVxLL':function(_0xbef0c2,_0x119f24){return _0xbef0c2(_0x119f24);},'HrieY':_0x459a18(0x192),'lZIFt':'_afterAll','CRqHJ':_0x459a18(0x198),'TjKCS':_0x459a18(0x15e)};if(!_0x128f66||!_0x128f66[_0x459a18(0x157)])return[];const _0x4c615d=[];return[_0x2d958e[_0x459a18(0x16d)],_0x2d958e[_0x459a18(0x155)],_0x2d958e['CRqHJ'],_0x2d958e[_0x459a18(0x177)]]['forEach'](_0x9acc1a=>{const _0x2b3712=_0x459a18,_0x11c237=_0x128f66[_0x2b3712(0x157)][_0x9acc1a]||[];_0x11c237[_0x2b3712(0x179)](_0x20f397=>{const _0x69941a=_0x2b3712;_0x20f397['hookAnalyticsId']&&!_0x2d958e['bVxLL'](isInternalHook,_0x20f397['fn'])&&_0x4c615d[_0x69941a(0x182)](_0x20f397['hookAnalyticsId']);});}),[..._0x4c615d,...exports[_0x459a18(0x196)](_0x128f66[_0x459a18(0x157)])];},exports[a35_0x5348b6(0x18b)]=_0x513a4b=>{const _0x49d5e1=a35_0x5348b6,_0x567200={'TQWZC':function(_0x10073f){return _0x10073f();},'DkqKZ':function(_0x11b37d,_0x199e58){return _0x11b37d===_0x199e58;},'yGiJJ':_0x49d5e1(0x15e),'TZLRJ':_0x49d5e1(0x192),'ofwQU':_0x49d5e1(0x18f),'GbITz':'_beforeEach'};if(!_0x513a4b||!_0x513a4b[_0x49d5e1(0x157)])return;[_0x567200[_0x49d5e1(0x186)],_0x567200[_0x49d5e1(0x165)],_0x567200[_0x49d5e1(0x150)],_0x567200['yGiJJ']][_0x49d5e1(0x179)](_0x3d3ae1=>{const _0x36099d=_0x49d5e1,_0x2c860d=_0x513a4b['parent'][_0x3d3ae1]||[];_0x2c860d[_0x36099d(0x179)](_0x5d027f=>{const _0x57f2dc=_0x36099d;if(!_0x5d027f[_0x57f2dc(0x14c)])_0x5d027f[_0x57f2dc(0x14c)]=_0x567200[_0x57f2dc(0x163)](uuidv4);else _0x5d027f['markedStatus']&&_0x567200[_0x57f2dc(0x154)](_0x3d3ae1,_0x567200[_0x57f2dc(0x172)])&&(_0x5d027f[_0x57f2dc(0x14c)]=_0x567200[_0x57f2dc(0x163)](uuidv4),delete _0x5d027f[_0x57f2dc(0x197)]);});}),exports[_0x49d5e1(0x18b)](_0x513a4b[_0x49d5e1(0x157)]);},exports[a35_0x5348b6(0x15c)]=async(_0x1ec843,_0x29fa7e)=>{const _0x12a34a=a35_0x5348b6,_0x21760b={'IPACZ':function(_0xe6175e){return _0xe6175e();},'cYAaY':function(_0x465122,_0x27e60a){return _0x465122(_0x27e60a);},'wHUrq':_0x12a34a(0x17e),'tEWLD':function(_0x41a1db,_0x53825b){return _0x41a1db(_0x53825b);},'isvcR':function(_0x34e6f5,_0x40db21){return _0x34e6f5===_0x40db21;},'djcsL':'browserstack','vWfTw':'unknown_grid','yNuBx':_0x12a34a(0x167)};try{if(!_0x21760b[_0x12a34a(0x18e)](shouldProcessEventForTesthub))return;const _0x3fa939=await _0x1ec843['getCapabilities'](),_0x12f0d8=await _0x1ec843[_0x12a34a(0x173)](),_0x232573={},_0x43c3ba=Object[_0x12a34a(0x175)](_0x12f0d8['getCapabilities']()[_0x12a34a(0x166)]),_0x4ec191={'product':_0x21760b[_0x12a34a(0x160)](getObservabilityLinkedProductName,_0x43c3ba),'capabilities':_0x43c3ba,'platform':_0x3fa939['getPlatform'](),'platform_version':_0x3fa939[_0x12a34a(0x189)](_0x21760b[_0x12a34a(0x17c)])?_0x3fa939['get'](_0x21760b[_0x12a34a(0x17c)]):_0x21760b[_0x12a34a(0x15d)](getPlatformVersion,_0x21760b[_0x12a34a(0x194)](global[_0x12a34a(0x16f)],_0x21760b[_0x12a34a(0x153)])),'browser':_0x3fa939[_0x12a34a(0x191)](),'browser_version':_0x3fa939[_0x12a34a(0x17d)](),'session_id':_0x12f0d8[_0x12a34a(0x19e)]()};global[_0x12a34a(0x16f)]?_0x232573[global['__cloud_provider___']]=_0x4ec191:_0x232573[_0x21760b[_0x12a34a(0x190)]]=_0x4ec191,process[_0x12a34a(0x19c)](_0x12a34a(0x14e)+process[_0x12a34a(0x180)],{'timestamp':new Date()[_0x12a34a(0x1a3)](),'level':null,'message':null,'kind':_0x21760b[_0x12a34a(0x183)],'http_response':_0x232573,'uuid':_0x29fa7e});}catch(_0x4c9577){_0x21760b[_0x12a34a(0x160)](debug,_0x12a34a(0x17b)+_0x4c9577);}},exports[a35_0x5348b6(0x19b)]=_0x3e92e8=>{const _0x1c5d99=a35_0x5348b6,_0x39d1cf={};_0x39d1cf['AKivZ']=function(_0x55b7bc,_0x1b8898){return _0x55b7bc!==_0x1b8898;},_0x39d1cf[_0x1c5d99(0x178)]=_0x1c5d99(0x18d),_0x39d1cf[_0x1c5d99(0x15a)]=_0x1c5d99(0x164),_0x39d1cf[_0x1c5d99(0x1a0)]=_0x1c5d99(0x1a2);const _0x1680e4=_0x39d1cf,_0x53f681=_0x3e92e8[_0x1c5d99(0x16a)]['reduce']((_0x5cb70d,_0x3e4def)=>{const _0x3cc9b2=_0x1c5d99,_0x561e4a=exports[_0x3cc9b2(0x19b)](_0x3e4def);return _0x561e4a&&(_0x5cb70d=_0x5cb70d[_0x3cc9b2(0x14d)](_0x561e4a)),_0x5cb70d;},[]),_0x2cbd15=_0x3e92e8[_0x1c5d99(0x184)][_0x1c5d99(0x18c)](_0x3a07a6=>{const _0x193935=_0x1c5d99,_0x301057=_0x1680e4[_0x193935(0x19d)](_0x3a07a6[_0x193935(0x187)],_0x1680e4[_0x193935(0x178)])&&!_0x3a07a6['markedStatus']&&_0x1680e4[_0x193935(0x19d)](_0x3a07a6[_0x193935(0x15b)],_0x1680e4[_0x193935(0x15a)])&&_0x1680e4[_0x193935(0x19d)](_0x3a07a6[_0x193935(0x15b)],_0x1680e4[_0x193935(0x1a0)])&&!_0x3a07a6[_0x193935(0x161)];return _0x301057;});return _0x2cbd15[_0x1c5d99(0x14d)](_0x53f681);};
1
+ const a35_0x4c2b04=a35_0x2582;function a35_0x2582(_0x4f9500,_0x15daa3){const _0x3fe9f2=a35_0x3fe9();return a35_0x2582=function(_0x2582cb,_0x1e8e4c){_0x2582cb=_0x2582cb-0x1a8;let _0x4d8fc8=_0x3fe9f2[_0x2582cb];return _0x4d8fc8;},a35_0x2582(_0x4f9500,_0x15daa3);}(function(_0x1db005,_0x561ee3){const _0x14473f=a35_0x2582,_0x15be15=_0x1db005();while(!![]){try{const _0x58ee24=-parseInt(_0x14473f(0x1d7))/0x1*(parseInt(_0x14473f(0x1bd))/0x2)+-parseInt(_0x14473f(0x1f3))/0x3*(parseInt(_0x14473f(0x1c6))/0x4)+parseInt(_0x14473f(0x1e2))/0x5+-parseInt(_0x14473f(0x1d4))/0x6+-parseInt(_0x14473f(0x1e3))/0x7*(parseInt(_0x14473f(0x1f9))/0x8)+parseInt(_0x14473f(0x1bf))/0x9+parseInt(_0x14473f(0x1dc))/0xa;if(_0x58ee24===_0x561ee3)break;else _0x15be15['push'](_0x15be15['shift']());}catch(_0x990ce0){_0x15be15['push'](_0x15be15['shift']());}}}(a35_0x3fe9,0xcb251));const {v4:uuidv4}=require(a35_0x4c2b04(0x1ec)),{name,version}=require(a35_0x4c2b04(0x1b2)),logPatcher=require(a35_0x4c2b04(0x1cd)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a35_0x4c2b04(0x1e7)),{consoleHolder}=require(a35_0x4c2b04(0x1ca)),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require(a35_0x4c2b04(0x1eb)),{isFunction}=require(a35_0x4c2b04(0x1e9)),{patchConsoleLogger}=require(a35_0x4c2b04(0x1e7));function a35_0x3fe9(){const _0x3c11d6=['state','platformVersion','emit','853505flUlvO','46606sScCDH','leDoP','slcAB','getCapabilities','../../../helpers/test-observability/utils','tQBUy','lodash','sGOHY','../../../helpers/testhub/utils','uuid','__cloud_provider___','lJHKq','zThck','getHookSkippedTests','erfYT','mapTestHooks','3tDkSCl','parent','KFMLA','_afterAll','AUFTT','hook','1480zfeClH','indexOf','hookAnalyticsId','xqBVy','UmIUh','push','pid','hook:','getHooksForTest','markedStatus','slice','../../../../package.json','_beforeAll','whysx','SavTx','passed','DZrlx','getBrowserName','_afterEach','filter','string','substring','252294KdCPvL','getPlatform','617436KxlAMC','KkPqk','map_','forEach','tOvNz','bs:addPlatformDetails:','TEST_PLATFORM','5353996rkJbrI','ErMUZ','split','LZySZ','../../../helpers/test-observability/constants','HsRZl','DQRpn','../../utils/logPatcher','pending','sUOVI','reduce','getTestEnv','concat','CesdU','8883468OiIynz','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','NkaaS','2hXDOml','IpEOj','type','dxsMg','_beforeEach','48958770epkYTI','failed','toJSON'];a35_0x3fe9=function(){return _0x3c11d6;};return a35_0x3fe9();}patchConsoleLogger(),exports[a35_0x4c2b04(0x1d1)]=()=>{const _0x27446f=a35_0x4c2b04,_0x51f469={'JYkDX':'generic','zThck':function(_0x1d5cb0){return _0x1d5cb0();}};return{'ci':_0x51f469['JYkDX'],'key':_0x51f469[_0x27446f(0x1ef)](uuidv4),'version':version,'collector':'js-'+name};},exports['getHookDetails']=_0x1d9777=>{const _0x48abfb=a35_0x4c2b04,_0x3f2828={};_0x3f2828['IpEOj']=function(_0x4c6de0,_0x4c55ee){return _0x4c6de0!==_0x4c55ee;},_0x3f2828[_0x48abfb(0x1f7)]=_0x48abfb(0x1bb),_0x3f2828['slcAB']=function(_0x23acf2,_0x1916c0){return _0x23acf2!==_0x1916c0;},_0x3f2828['ErMUZ']=_0x48abfb(0x1ae),_0x3f2828[_0x48abfb(0x1c0)]=_0x48abfb(0x1f8);const _0x59a184=_0x3f2828;if(!_0x1d9777||_0x59a184['IpEOj'](typeof _0x1d9777,_0x59a184[_0x48abfb(0x1f7)]))return[null,null];if(_0x59a184[_0x48abfb(0x1e5)](_0x1d9777['indexOf'](_0x59a184['ErMUZ']),-0x1)){const _0x43c255=_0x1d9777[_0x48abfb(0x1c8)](_0x59a184[_0x48abfb(0x1c7)]);return[_0x43c255[0x0][_0x48abfb(0x1b1)](0x0,-0x1)[_0x48abfb(0x1c8)]('\x22')[0x1],_0x43c255[0x1][_0x48abfb(0x1bc)](0x1)];}else{if(_0x59a184[_0x48abfb(0x1d8)](_0x1d9777[_0x48abfb(0x1a8)](_0x59a184['KkPqk']),-0x1)){const _0x4a8ca3=_0x1d9777[_0x48abfb(0x1c8)](_0x59a184[_0x48abfb(0x1c0)]);return[_0x4a8ca3[0x0]['slice'](0x0,-0x1)[_0x48abfb(0x1c8)]('\x22')[0x1],_0x1d9777];}}return[null,null];},exports[a35_0x4c2b04(0x1af)]=_0x4fb4a4=>{const _0x59ca0f=a35_0x4c2b04,_0x4b2369={'sGOHY':function(_0x306983,_0xd5a711){return _0x306983(_0xd5a711);},'KFMLA':_0x59ca0f(0x1b3),'fNCTO':'_afterAll','DZrlx':_0x59ca0f(0x1db),'tOvNz':_0x59ca0f(0x1b9)};if(!_0x4fb4a4||!_0x4fb4a4[_0x59ca0f(0x1f4)])return[];const _0x3639de=[];return[_0x4b2369[_0x59ca0f(0x1f5)],_0x4b2369['fNCTO'],_0x4b2369[_0x59ca0f(0x1b7)],_0x4b2369[_0x59ca0f(0x1c3)]][_0x59ca0f(0x1c2)](_0x424b60=>{const _0x4d5b63=_0x59ca0f,_0x3b01e8={'FcrwY':function(_0x2682e2,_0x274514){const _0x968ce5=a35_0x2582;return _0x4b2369[_0x968ce5(0x1ea)](_0x2682e2,_0x274514);}},_0x1427f4=_0x4fb4a4[_0x4d5b63(0x1f4)][_0x424b60]||[];_0x1427f4['forEach'](_0x1f5248=>{const _0x14a0a0=_0x4d5b63;_0x1f5248[_0x14a0a0(0x1a9)]&&!_0x3b01e8['FcrwY'](isInternalHook,_0x1f5248['fn'])&&_0x3639de[_0x14a0a0(0x1ac)](_0x1f5248[_0x14a0a0(0x1a9)]);});}),[..._0x3639de,...exports['getHooksForTest'](_0x4fb4a4['parent'])];},exports[a35_0x4c2b04(0x1f2)]=_0x19be9c=>{const _0x4bc1a8=a35_0x4c2b04,_0x434ea9={'HsRZl':function(_0x4e8cfe){return _0x4e8cfe();},'DQRpn':function(_0x2e5029,_0x42fb9a){return _0x2e5029===_0x42fb9a;},'erfYT':'_afterEach','tQBUy':_0x4bc1a8(0x1b3),'leDoP':_0x4bc1a8(0x1f6),'UmIUh':_0x4bc1a8(0x1db)};if(!_0x19be9c||!_0x19be9c[_0x4bc1a8(0x1f4)])return;[_0x434ea9[_0x4bc1a8(0x1e8)],_0x434ea9[_0x4bc1a8(0x1e4)],_0x434ea9[_0x4bc1a8(0x1ab)],_0x434ea9[_0x4bc1a8(0x1f1)]]['forEach'](_0x4f7dd5=>{const _0x599415=_0x4bc1a8,_0x34a953=_0x19be9c[_0x599415(0x1f4)][_0x4f7dd5]||[];_0x34a953[_0x599415(0x1c2)](_0x39457c=>{const _0x27d57f=_0x599415;if(!_0x39457c[_0x27d57f(0x1a9)])_0x39457c[_0x27d57f(0x1a9)]=_0x434ea9[_0x27d57f(0x1cb)](uuidv4);else _0x39457c['markedStatus']&&_0x434ea9[_0x27d57f(0x1cc)](_0x4f7dd5,_0x434ea9[_0x27d57f(0x1f1)])&&(_0x39457c[_0x27d57f(0x1a9)]=_0x434ea9['HsRZl'](uuidv4),delete _0x39457c[_0x27d57f(0x1b0)]);});}),exports['mapTestHooks'](_0x19be9c[_0x4bc1a8(0x1f4)]);},exports['sendPlatformDetails']=async(_0x4af782,_0x173cf4)=>{const _0xe2780a=a35_0x4c2b04,_0x5a7e40={'DgVee':function(_0x3d86b3){return _0x3d86b3();},'CesdU':function(_0x537bda,_0x3f3cad){return _0x537bda(_0x3f3cad);},'lJHKq':_0xe2780a(0x1e0),'whysx':function(_0x3c3e2f,_0x11c664){return _0x3c3e2f(_0x11c664);},'NkaaS':function(_0x577bec,_0x1aeebf){return _0x577bec===_0x1aeebf;},'dxsMg':'browserstack','OZsLK':'unknown_grid','oqcWf':_0xe2780a(0x1c5)};try{if(!_0x5a7e40['DgVee'](shouldProcessEventForTesthub))return;const _0x503c6e=await _0x4af782[_0xe2780a(0x1e6)](),_0x3aa705=await _0x4af782['getSession'](),_0x59040c={},_0x30b565=Object['fromEntries'](_0x3aa705[_0xe2780a(0x1e6)]()[_0xe2780a(0x1c1)]),_0x4ebc29={'product':_0x5a7e40[_0xe2780a(0x1d3)](getObservabilityLinkedProductName,_0x30b565),'capabilities':_0x30b565,'platform':_0x503c6e[_0xe2780a(0x1be)](),'platform_version':_0x503c6e['get'](_0x5a7e40[_0xe2780a(0x1ee)])?_0x503c6e['get'](_0x5a7e40['lJHKq']):_0x5a7e40['whysx'](getPlatformVersion,_0x5a7e40[_0xe2780a(0x1d6)](global[_0xe2780a(0x1ed)],_0x5a7e40[_0xe2780a(0x1da)])),'browser':_0x503c6e[_0xe2780a(0x1b8)](),'browser_version':_0x503c6e['getBrowserVersion'](),'session_id':_0x3aa705[_0xe2780a(0x1de)]()};global[_0xe2780a(0x1ed)]?_0x59040c[global[_0xe2780a(0x1ed)]]=_0x4ebc29:_0x59040c[_0x5a7e40['OZsLK']]=_0x4ebc29,process[_0xe2780a(0x1e1)](_0xe2780a(0x1c4)+process[_0xe2780a(0x1ad)],{'timestamp':new Date()['toISOString'](),'level':null,'message':null,'kind':_0x5a7e40['oqcWf'],'http_response':_0x59040c,'uuid':_0x173cf4});}catch(_0x136879){_0x5a7e40[_0xe2780a(0x1b4)](debug,_0xe2780a(0x1d5)+_0x136879);}},exports[a35_0x4c2b04(0x1f0)]=_0x433f92=>{const _0x590c3b=a35_0x4c2b04,_0x441c5a={};_0x441c5a[_0x590c3b(0x1cf)]=function(_0x32c486,_0xeaf3a0){return _0x32c486!==_0xeaf3a0;},_0x441c5a[_0x590c3b(0x1b5)]='hook',_0x441c5a['xqBVy']=_0x590c3b(0x1b6),_0x441c5a[_0x590c3b(0x1c9)]=_0x590c3b(0x1dd);const _0x580d8e=_0x441c5a,_0x2e0b22=_0x433f92['suites'][_0x590c3b(0x1d0)]((_0x391e3a,_0x548652)=>{const _0x1e10f9=_0x590c3b,_0x542c3f=exports[_0x1e10f9(0x1f0)](_0x548652);return _0x542c3f&&(_0x391e3a=_0x391e3a[_0x1e10f9(0x1d2)](_0x542c3f)),_0x391e3a;},[]),_0x1beec2=_0x433f92['tests'][_0x590c3b(0x1ba)](_0x3ca5a5=>{const _0x238b2f=_0x590c3b,_0x5ce0fa=_0x580d8e[_0x238b2f(0x1cf)](_0x3ca5a5[_0x238b2f(0x1d9)],_0x580d8e['SavTx'])&&!_0x3ca5a5[_0x238b2f(0x1b0)]&&_0x580d8e['sUOVI'](_0x3ca5a5[_0x238b2f(0x1df)],_0x580d8e[_0x238b2f(0x1aa)])&&_0x580d8e['sUOVI'](_0x3ca5a5[_0x238b2f(0x1df)],_0x580d8e[_0x238b2f(0x1c9)])&&!_0x3ca5a5[_0x238b2f(0x1ce)];return _0x5ce0fa;});return _0x1beec2[_0x590c3b(0x1d2)](_0x2e0b22);};
@@ -1 +1 @@
1
- function a36_0x5251(_0x1484df,_0x49bf75){const _0x39656e=a36_0x3965();return a36_0x5251=function(_0x5251e6,_0x5194cb){_0x5251e6=_0x5251e6-0x1e7;let _0x495b72=_0x39656e[_0x5251e6];return _0x495b72;},a36_0x5251(_0x1484df,_0x49bf75);}const a36_0x33fbff=a36_0x5251;(function(_0x34922a,_0x1830df){const _0x1e50bc=a36_0x5251,_0xb8cb1=_0x34922a();while(!![]){try{const _0x237963=parseInt(_0x1e50bc(0x25f))/0x1+parseInt(_0x1e50bc(0x2a8))/0x2+-parseInt(_0x1e50bc(0x203))/0x3*(parseInt(_0x1e50bc(0x236))/0x4)+parseInt(_0x1e50bc(0x22f))/0x5+parseInt(_0x1e50bc(0x201))/0x6*(parseInt(_0x1e50bc(0x216))/0x7)+-parseInt(_0x1e50bc(0x234))/0x8*(-parseInt(_0x1e50bc(0x231))/0x9)+-parseInt(_0x1e50bc(0x23b))/0xa;if(_0x237963===_0x1830df)break;else _0xb8cb1['push'](_0xb8cb1['shift']());}catch(_0xa80ab2){_0xb8cb1['push'](_0xb8cb1['shift']());}}}(a36_0x3965,0x3d38f));const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x33fbff(0x239)),accessibilityRetryHelper=require(a36_0x33fbff(0x24a)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require('../utils/constants'),{percyAutoCapture}=require(a36_0x33fbff(0x22c)),{sendPlatformDetails}=require(a36_0x33fbff(0x260)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x33fbff(0x21a)),PerformanceTester=require(a36_0x33fbff(0x27f)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x33fbff(0x27e)),globals=require(a36_0x33fbff(0x286)),logger=require(a36_0x33fbff(0x240))[a36_0x33fbff(0x274)],{shouldProcessEventForTesthub}=require(a36_0x33fbff(0x1f8)),testHubConstants=require('../../helpers/testhub/constants');function a36_0x3965(){const _0x2fbc5f=['../../helpers/percy/utils','then','KAEfL','1755360pBbFzx','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','3321DrBWNh','getCurrentUrl','err','9816dDAjSg','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','1679340ocQTJM','KYdRu','command','../../helpers/accessibility-automation/helper','yormV','9637170vpwMmz','khOyD','pRbup','zMgFK','ODxxv','../../helpers/logger','\x22}}','boqQk','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','protocol','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','oeZSN','zypYd','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','ZLrHh','../../helpers/accessibility-automation/accessibilityRetryHelper','fDJMY','lISUF','testcase','LYzaH','__sessionFailed','quitCount_','lZpaj','KshrJ','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','env','__drivers','cezVP','thTestRunUuid','timeout','mdZzL','__skipSessionName','SAVE_RESULTS','initQuit','performScanWithRetry','410046iMradB','./test-observability/mochaUtils','Pqeag','TjFIZ','TlGyl','sessionNameSet__','thBuildUuid','SYNC','OlOjb','ENV_VAR','xHQQH','rOZaR','KTYiR','YZVYO','shift','shouldScanTestForAccessibility','Automate\x20test\x20case\x20execution\x20has\x20started.','wFqIH','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','bdBAR','tqkon','winstonLogger','\x20-\x20','setGlobal','Hjhkq','ASSwK','SDK_HOOK','AQglw','nXIFV','DWces','isArray','../../helpers/performance/constants','../../helpers/performance/performance-tester','join','bneia','Tgxzb','capabilities','iDVdS','http:','../../helpers/globals','aSnNQ','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','passed','UjMbn','failed','Failed\x20to\x20store\x20session\x20name:\x20','length','spepT','session_','getGlobal','percyCaptureMode','dYRKY','message','ahayZ','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','lAvrI','OKGYp','warn','oXNas','paDol','KrXwa','IaSxa','CkRcm','WCnKP','thJwtToken','measureWrapper','EWDkS','afterTest','VCFrM','zeWSD','afterEach',',\x22level\x22:\x20\x22','saveAccessibilityResultsWithRetry','124152ucOFSw','driverCleanup','LdyJc','Failed:\x20','YfBzX','LikAz','LLGZt','startMonitoring','JPrEx','mochaHooks','Accessibility\x20results\x20saved\x20successfully','TNFHz','HdsjB','info','yovzw','WoZkU','hIArk','bstackA11yShouldScan','isAccessibilityPlatform','uwJJM','IJmFG','../../helpers/testhub/utils','error','UKuBs','start','Accessibility\x20scan\x20completed\x20successfully','testAnalyticsId','PERFORM_SCAN','browserstackTestName','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','516IqWIxR','ahfRc','3bWjqOg','browserstackSessionName','unKwi','accessibilityScanStarted','FHZWd','__platformCaps','GWNTM','EJrPb','tnkpA','index','\x20|\x20','CJHdV','ZYbTS','push','qmSpn','.\x20Error\x20:','app','end','https:','29169UjsSoq','executeScript','currentTest','__error_messages__','../../helpers/helper','xgcVU','format','xzanu','Mocha','stringify','GoITK','ECKcu','wujJd','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','titlePath','EGciN','ucZHx','debug','SESSION_NAME','beforeEach','aKntM','pVmWx'];a36_0x3965=function(){return _0x2fbc5f;};return a36_0x3965();}exports[a36_0x33fbff(0x1ec)]={'beforeAll'(){const _0x1c26bb=a36_0x33fbff,_0x459874={'iDVdS':function(_0x4d6274,_0x5380b0,_0xf5d9bb,_0x200f92){return _0x4d6274(_0x5380b0,_0xf5d9bb,_0x200f92);},'lRhjc':_0x1c26bb(0x28b),'wKoEB':_0x1c26bb(0x20d),'khOyD':function(_0x1e6d73,_0x265404,_0x27e4b1){return _0x1e6d73(_0x265404,_0x27e4b1);},'sumXc':'passed','unKwi':function(_0x3f946f){return _0x3f946f();},'NWvcQ':_0x1c26bb(0x20c),'dYRKY':'beforeAll'};PerformanceTester[_0x1c26bb(0x1ea)]();const _0x3ea965='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x2b99cc=_0x1c26bb;global[_0x2b99cc(0x219)]=[],global[_0x2b99cc(0x24f)]=![],global['driverCleanup']=async()=>{const _0x30f2c8=_0x2b99cc;let _0x5836e4=![];try{await global[_0x30f2c8(0x256)][0x0][_0x30f2c8(0x28f)],_0x5836e4=!![],global['__sessionFailed']?await _0x459874[_0x30f2c8(0x284)](markSessionStatus,global[_0x30f2c8(0x256)][0x0],_0x459874['lRhjc'],global[_0x30f2c8(0x219)][_0x30f2c8(0x280)](_0x459874['wKoEB'])):await _0x459874[_0x30f2c8(0x23c)](markSessionStatus,global['__drivers'][0x0],_0x459874['sumXc']);}catch(_0x4725d0){logger[_0x30f2c8(0x227)](_0x30f2c8(0x243)+_0x4725d0);}global['__error_messages__']=[],global[_0x30f2c8(0x24f)]=![];if(_0x5836e4)try{try{_0x459874[_0x30f2c8(0x205)](shouldProcessEventForTesthub)&&(global[_0x30f2c8(0x256)][0x0]&&await _0x459874[_0x30f2c8(0x23c)](sendPlatformDetails,global[_0x30f2c8(0x256)][0x0],this[_0x30f2c8(0x218)]?this[_0x30f2c8(0x218)][_0x30f2c8(0x1fd)]:null));}catch(_0x32bb87){logger[_0x30f2c8(0x227)](_0x30f2c8(0x235)+_0x32bb87);}await global[_0x30f2c8(0x256)][0x0][_0x30f2c8(0x25d)]();}catch(_0x3bd4f9){logger[_0x30f2c8(0x227)](_0x30f2c8(0x288)+_0x3bd4f9);}};},{'platform':_0x459874[_0x1c26bb(0x23c)](nestedKeyValue,global[_0x1c26bb(0x208)],[_0x459874['NWvcQ']]),'hookType':_0x459874[_0x1c26bb(0x292)]})();},'beforeEach'(_0x2c4eb2){const _0x38373f=a36_0x33fbff,_0x5c3670={'KswVu':function(_0x1bb190){return _0x1bb190();},'TlGyl':function(_0x4499a7,_0x2daf07){return _0x4499a7>_0x2daf07;},'rOZaR':_0x38373f(0x275),'lAvrI':function(_0x3e9686,_0x17da36,_0x34cfae){return _0x3e9686(_0x17da36,_0x34cfae);},'bneia':_0x38373f(0x1f4),'WCnKP':function(_0x1c230f,_0x48d67b){return _0x1c230f>_0x48d67b;},'wujJd':_0x38373f(0x1f5),'paDol':function(_0x693ed1,_0x5750f0){return _0x693ed1===_0x5750f0;},'GoITK':_0x38373f(0x285),'yovzw':_0x38373f(0x215),'KAEfL':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','uwJJM':_0x38373f(0x26f),'ZLrHh':_0x38373f(0x1ff),'OuGed':_0x38373f(0x20c),'bdBAR':_0x38373f(0x229)};globals[_0x38373f(0x276)](_0x5c3670[_0x38373f(0x249)],this[_0x38373f(0x218)][_0x38373f(0x224)]()[_0x38373f(0x280)](_0x5c3670[_0x38373f(0x26a)])),PerformanceTester[_0x38373f(0x2a0)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x127e49=_0x38373f,_0x49d307={'sJuqd':function(_0x59a8f8,_0x2a3cc8){const _0x4858bd=a36_0x5251;return _0x5c3670[_0x4858bd(0x263)](_0x59a8f8,_0x2a3cc8);},'TjFIZ':function(_0x1d5993,_0x3df3bc){const _0x290873=a36_0x5251;return _0x5c3670[_0x290873(0x263)](_0x1d5993,_0x3df3bc);},'ahfRc':_0x5c3670[_0x127e49(0x26a)],'xgcVU':function(_0x143302,_0x2c4a80,_0xf9bd53){const _0x393ec0=_0x127e49;return _0x5c3670[_0x393ec0(0x296)](_0x143302,_0x2c4a80,_0xf9bd53);},'GWNTM':_0x5c3670[_0x127e49(0x281)],'cmtET':function(_0x359be4){return _0x5c3670['KswVu'](_0x359be4);},'Hjhkq':function(_0x334b7a,_0x525513){const _0x2d189c=_0x127e49;return _0x5c3670[_0x2d189c(0x29e)](_0x334b7a,_0x525513);},'ASSwK':_0x5c3670[_0x127e49(0x222)],'LdyJc':function(_0x51a884,_0x42dc83){const _0x17d963=_0x127e49;return _0x5c3670[_0x17d963(0x29a)](_0x51a884,_0x42dc83);},'EWDkS':_0x5c3670[_0x127e49(0x220)],'KTYiR':_0x5c3670[_0x127e49(0x1f1)],'psDwu':_0x5c3670[_0x127e49(0x22e)],'qmSpn':_0x5c3670[_0x127e49(0x1f6)]},_0x59d5d4='browserstack internal helper hook';new Promise(async _0x15d729=>{const _0x291d7e=_0x127e49;let _0x6ce43e=!![];try{_0x49d307['sJuqd'](global[_0x291d7e(0x256)]['length'],0x1)&&(await global['driverCleanup'](),global[_0x291d7e(0x256)][_0x291d7e(0x26d)]()),_0x49d307[_0x291d7e(0x262)](global[_0x291d7e(0x256)][0x0]['quitCount_'],0x0)&&(_0x6ce43e=![],await global[_0x291d7e(0x2a9)]());}catch(_0x2db1b2){logger[_0x291d7e(0x227)](_0x291d7e(0x288)+_0x2db1b2);}try{Array[_0x291d7e(0x27d)](global[_0x291d7e(0x256)])&&global[_0x291d7e(0x256)][0x0]&&(global['__drivers'][0x0][_0x291d7e(0x204)]=this['currentTest'][_0x291d7e(0x224)]()['join'](_0x49d307['ahfRc'])),global[_0x291d7e(0x204)]=this['currentTest'][_0x291d7e(0x224)]()[_0x291d7e(0x280)](_0x49d307[_0x291d7e(0x202)]);}catch(_0x4fef9b){logger[_0x291d7e(0x227)](_0x291d7e(0x28c)+_0x4fef9b);}this[_0x291d7e(0x218)][_0x291d7e(0x26e)]=_0x49d307[_0x291d7e(0x21b)](shouldScanTestForAccessibility,this[_0x291d7e(0x218)][_0x291d7e(0x224)](),!![]),globals[_0x291d7e(0x276)](_0x49d307[_0x291d7e(0x209)],this[_0x291d7e(0x218)][_0x291d7e(0x26e)]),this['currentTest']['accessibilityScanStarted']=!![];if(_0x49d307['cmtET'](isAccessibilityAutomationSession)&&_0x6ce43e&&Array['isArray'](global[_0x291d7e(0x256)])&&_0x49d307[_0x291d7e(0x277)](global['__drivers'][_0x291d7e(0x28d)],0x0)&&globals[_0x291d7e(0x290)](_0x49d307[_0x291d7e(0x278)]))try{const _0x5b9a0f=await global['__drivers'][0x0][_0x291d7e(0x28f)];if(_0x5b9a0f){let _0x17ac36=!![];const _0x20c384=await global[_0x291d7e(0x256)][0x0][_0x291d7e(0x232)]();let _0x4477df;try{_0x4477df=new URL(_0x20c384);}catch(_0x27c291){_0x17ac36=![];}_0x17ac36=_0x49d307['LdyJc'](_0x4477df[_0x291d7e(0x244)],_0x49d307[_0x291d7e(0x2a1)])||_0x49d307[_0x291d7e(0x2aa)](_0x4477df[_0x291d7e(0x244)],_0x49d307[_0x291d7e(0x26b)]),_0x17ac36&&(this['currentTest']['shouldScanTestForAccessibility']&&logger[_0x291d7e(0x1f0)](_0x49d307['psDwu'])),this[_0x291d7e(0x218)][_0x291d7e(0x206)]=this[_0x291d7e(0x218)][_0x291d7e(0x26e)],this['currentTest'][_0x291d7e(0x26e)]&&logger[_0x291d7e(0x1f0)](_0x49d307[_0x291d7e(0x211)]);}}catch(_0x325ba3){logger[_0x291d7e(0x1f9)](_0x291d7e(0x200)+util[_0x291d7e(0x21c)](_0x325ba3));}_0x49d307['cmtET'](_0x15d729);})[_0x127e49(0x22d)](()=>{_0x5c3670['KswVu'](_0x2c4eb2);});},{'platform':_0x5c3670['lAvrI'](nestedKeyValue,global[_0x38373f(0x208)],[_0x5c3670['OuGed']]),'hookType':_0x5c3670[_0x38373f(0x272)]})();},'afterEach'(_0x2d0c5d){const _0x834cbf=a36_0x33fbff,_0x2d8604={'oeZSN':function(_0x508dae){return _0x508dae();},'WoZkU':_0x834cbf(0x275),'wspUx':function(_0x1899c7,_0x18db34){return _0x1899c7!==_0x18db34;},'GVooP':_0x834cbf(0x289),'xloWl':function(_0x57c4c3,_0x2eee4b,_0x496f9a){return _0x57c4c3(_0x2eee4b,_0x496f9a);},'xHQQH':function(_0xaecd67,_0x579940){return _0xaecd67+_0x579940;},'OfJJB':_0x834cbf(0x2ab),'LYzaH':_0x834cbf(0x1f9),'TrByk':'Passed','gBIEi':_0x834cbf(0x1f0),'EJrPb':function(_0x4dac6d,_0x1ca8c6){return _0x4dac6d>_0x1ca8c6;},'HdsjB':function(_0x121745,_0x757ba8){return _0x121745===_0x757ba8;},'HAmfw':_0x834cbf(0x24d),'KYdRu':function(_0x5ec6f9,_0x120172){return _0x5ec6f9>_0x120172;},'pRbup':'appium:app','tnkpA':function(_0x1b40d8,_0x41edcf,_0x267ef1,_0x114895){return _0x1b40d8(_0x41edcf,_0x267ef1,_0x114895);},'FHZWd':_0x834cbf(0x1f5),'gCKIS':'bstackA11yShouldScan','UjMbn':_0x834cbf(0x248),'nXIFV':'Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','IJmFG':_0x834cbf(0x2a2),'LLGZt':_0x834cbf(0x1fc),'hIArk':_0x834cbf(0x230),'TNFHz':_0x834cbf(0x1ed),'kvDYJ':_0x834cbf(0x254),'xzanu':_0x834cbf(0x295),'tqkon':function(_0x5967f7,_0x1d0c73,_0x306719){return _0x5967f7(_0x1d0c73,_0x306719);},'aKntM':_0x834cbf(0x227),'Pqeag':function(_0x318e23){return _0x318e23();},'pVmWx':_0x834cbf(0x21e),'cezVP':function(_0x3c4e09,_0x1f3cf9,_0x5208ac){return _0x3c4e09(_0x1f3cf9,_0x5208ac);},'zypYd':_0x834cbf(0x20c),'DWces':_0x834cbf(0x2a5)},_0x1127bc='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x2d8604[_0x834cbf(0x22b)]]),global['sessionName']=this['currentTest'][_0x834cbf(0x224)]()[_0x834cbf(0x280)](_0x2d8604[_0x834cbf(0x1f2)]),PerformanceTester[_0x834cbf(0x2a0)](PerformanceSdkEvents[_0x834cbf(0x279)],()=>{const _0xfcec5d=_0x834cbf,_0x40475f={'VpwyC':_0x2d8604[_0xfcec5d(0x1f2)],'YfBzX':function(_0x26610b,_0x1db913){return _0x2d8604['wspUx'](_0x26610b,_0x1db913);},'lZpaj':_0x2d8604['GVooP'],'ODxxv':function(_0x4c1b10,_0x1d2d30,_0x3fa89a){return _0x2d8604['xloWl'](_0x4c1b10,_0x1d2d30,_0x3fa89a);},'LikAz':function(_0x2b8a31,_0x53a5ff){const _0x3f4553=_0xfcec5d;return _0x2d8604[_0x3f4553(0x269)](_0x2b8a31,_0x53a5ff);},'yormV':_0x2d8604['OfJJB'],'wFqIH':_0x2d8604[_0xfcec5d(0x24e)],'LweVH':_0x2d8604['TrByk'],'BMviP':_0x2d8604['gBIEi'],'IaSxa':function(_0x49aced,_0x2ac5a0){const _0x2cae41=_0xfcec5d;return _0x2d8604[_0x2cae41(0x20a)](_0x49aced,_0x2ac5a0);},'EGciN':function(_0x2e329a,_0x13db5d){const _0x447273=_0xfcec5d;return _0x2d8604[_0x447273(0x1ef)](_0x2e329a,_0x13db5d);},'ZYbTS':_0x2d8604['HAmfw'],'wwEHu':function(_0x530662,_0x3f9d5d){const _0x358707=_0xfcec5d;return _0x2d8604[_0x358707(0x237)](_0x530662,_0x3f9d5d);},'UKuBs':_0x2d8604[_0xfcec5d(0x23d)],'ECKcu':function(_0x345f65,_0x119dd3,_0x2b22cb,_0x35da9f){const _0x1e12aa=_0xfcec5d;return _0x2d8604[_0x1e12aa(0x20b)](_0x345f65,_0x119dd3,_0x2b22cb,_0x35da9f);},'YZVYO':_0x2d8604[_0xfcec5d(0x207)],'boqQk':_0x2d8604['gCKIS'],'zeWSD':_0x2d8604[_0xfcec5d(0x28a)],'ctyaF':_0x2d8604[_0xfcec5d(0x27b)],'KshrJ':_0x2d8604[_0xfcec5d(0x1f7)],'syePu':_0x2d8604[_0xfcec5d(0x1e9)],'fDJMY':_0x2d8604[_0xfcec5d(0x1f3)],'AQglw':_0x2d8604[_0xfcec5d(0x1ee)],'YcnUI':_0x2d8604['kvDYJ'],'OKGYp':_0x2d8604[_0xfcec5d(0x21d)],'ucZHx':function(_0x2f3160){const _0x2e9c26=_0xfcec5d;return _0x2d8604[_0x2e9c26(0x246)](_0x2f3160);},'Tgxzb':function(_0x4292e9,_0x41c522,_0x471e30){const _0x5a3986=_0xfcec5d;return _0x2d8604[_0x5a3986(0x273)](_0x4292e9,_0x41c522,_0x471e30);},'mdZzL':_0x2d8604[_0xfcec5d(0x22a)],'CJHdV':function(_0x1bb024){const _0x2a915e=_0xfcec5d;return _0x2d8604[_0x2a915e(0x261)](_0x1bb024);}},_0x2648cc=async(_0x5e4026,_0x46fdf0)=>{const _0x2a6c02=_0xfcec5d;await global[_0x2a6c02(0x256)][0x0][_0x2a6c02(0x217)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x5e4026+_0x2a6c02(0x2a6)+_0x46fdf0+_0x2a6c02(0x241));};new Promise(async _0x20eeae=>{const _0x52495c=_0xfcec5d,_0x5af313={'VCFrM':_0x40475f['VpwyC'],'jXMIf':function(_0x4319c1,_0x469274){const _0x10a706=a36_0x5251;return _0x40475f[_0x10a706(0x1e7)](_0x4319c1,_0x469274);},'CkRcm':_0x40475f[_0x52495c(0x251)],'KrXwa':function(_0x13f3c3,_0x2bb6bc,_0x2dca44){const _0x2a742f=_0x52495c;return _0x40475f[_0x2a742f(0x23f)](_0x13f3c3,_0x2bb6bc,_0x2dca44);},'zMgFK':function(_0x3e0597,_0x57b817){const _0x1d55ef=_0x52495c;return _0x40475f[_0x1d55ef(0x1e8)](_0x3e0597,_0x57b817);},'aWHBR':_0x40475f[_0x52495c(0x23a)],'ZkwEH':_0x40475f[_0x52495c(0x270)],'lISUF':_0x40475f['LweVH'],'spepT':_0x40475f['BMviP']};try{_0x40475f['IaSxa'](global[_0x52495c(0x256)][_0x52495c(0x28d)],0x1)&&(await global[_0x52495c(0x2a9)](),global[_0x52495c(0x256)][_0x52495c(0x26d)](),global[_0x52495c(0x219)]=[],global[_0x52495c(0x24f)]=![]);try{if(global['percy']&&_0x40475f[_0x52495c(0x225)](global[_0x52495c(0x291)],_0x40475f[_0x52495c(0x20f)])&&global['__drivers'][0x0]){const _0x486347=_0x40475f['wwEHu'](global['capabilities'][_0x52495c(0x28d)],0x0)?!!global['capabilities'][0x0][_0x52495c(0x213)]||!!global[_0x52495c(0x283)][0x0][_0x40475f[_0x52495c(0x1fa)]]:![],_0x1c885e={};_0x1c885e[_0x52495c(0x213)]=_0x486347,await _0x40475f[_0x52495c(0x221)](percyAutoCapture,global['__drivers'][0x0],_0x40475f['ZYbTS'],_0x1c885e);}}catch(_0x1f28fc){logger[_0x52495c(0x227)](_0x52495c(0x253)+_0x1f28fc);}!global[_0x52495c(0x25b)]&&(await PerformanceTester[_0x52495c(0x2a0)](PerformanceAutEvents[_0x52495c(0x228)],async()=>{const _0x119823=_0x52495c;await global['__drivers'][0x0][_0x119823(0x217)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON['stringify'](this['currentTest'][_0x119823(0x224)]()['join'](_0x5af313[_0x119823(0x2a3)]))+'}}');})(),global['__drivers'][0x0][_0x52495c(0x264)]=!![]),await PerformanceTester[_0x52495c(0x2a0)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x279882=_0x52495c,_0x1752d7=_0x5af313['jXMIf'](this[_0x279882(0x218)]['state'],_0x5af313[_0x279882(0x29d)]);_0x1752d7?(global[_0x279882(0x24f)]=!![],global[_0x279882(0x219)][_0x279882(0x210)](this[_0x279882(0x218)][_0x279882(0x233)][_0x279882(0x293)]),await _0x5af313[_0x279882(0x29b)](_0x2648cc,JSON[_0x279882(0x21f)](_0x5af313[_0x279882(0x23e)](_0x5af313['aWHBR'],this[_0x279882(0x218)][_0x279882(0x233)][_0x279882(0x293)])),_0x5af313['ZkwEH'])):await _0x5af313[_0x279882(0x29b)](_0x2648cc,JSON[_0x279882(0x21f)](_0x5af313[_0x279882(0x24c)]),_0x5af313[_0x279882(0x28e)]);})();}catch(_0x55d269){logger[_0x52495c(0x227)]('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x55d269);}try{if(this[_0x52495c(0x218)][_0x52495c(0x206)]&&globals[_0x52495c(0x290)](_0x40475f[_0x52495c(0x26c)])&&globals[_0x52495c(0x290)](_0x40475f[_0x52495c(0x242)])){logger[_0x52495c(0x1f0)](_0x40475f[_0x52495c(0x2a4)]);const _0x1bf749={};_0x1bf749[_0x52495c(0x258)]=this[_0x52495c(0x218)][_0x52495c(0x1fd)],_0x1bf749[_0x52495c(0x265)]=process[_0x52495c(0x255)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']],_0x1bf749[_0x52495c(0x29f)]=process[_0x52495c(0x255)][testHubConstants[_0x52495c(0x268)]['BROWSERSTACK_TESTHUB_JWT']];const _0x46b524=_0x1bf749;logger[_0x52495c(0x227)](_0x52495c(0x245)+JSON['stringify'](_0x46b524)),logger[_0x52495c(0x227)](_0x40475f['ctyaF']);const _0xa08f77={};_0xa08f77[_0x52495c(0x238)]=_0x40475f[_0x52495c(0x252)];const _0x1d7b4e=await PerformanceTester[_0x52495c(0x2a0)](PerformanceA11yEvents[_0x52495c(0x1fe)],async()=>{const _0x5d3555=_0x52495c;return await accessibilityRetryHelper[_0x5d3555(0x25e)](global[_0x5d3555(0x256)][0x0],global[_0x5d3555(0x204)]);},_0xa08f77)();_0x1d7b4e?logger['debug'](_0x40475f['syePu']):logger[_0x52495c(0x298)](_0x40475f[_0x52495c(0x24b)]);const _0x315962=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x52495c(0x25c)],async()=>{const _0x2b044e=_0x52495c;return await accessibilityRetryHelper[_0x2b044e(0x2a7)](global[_0x2b044e(0x256)][0x0],_0x46b524);})();_0x315962?logger['debug'](_0x40475f[_0x52495c(0x27a)]):logger[_0x52495c(0x298)](_0x40475f['YcnUI']),logger[_0x52495c(0x1f0)](_0x40475f[_0x52495c(0x297)]);}}catch(_0x23e1c6){logger[_0x52495c(0x1f9)](_0x52495c(0x223)+this[_0x52495c(0x218)][_0x52495c(0x224)]()+_0x52495c(0x212),_0x23e1c6);}try{try{if(_0x40475f['ucZHx'](shouldProcessEventForTesthub)){global[_0x52495c(0x256)][0x0]&&await _0x40475f[_0x52495c(0x23f)](sendPlatformDetails,global[_0x52495c(0x256)][0x0],this[_0x52495c(0x218)]?this[_0x52495c(0x218)][_0x52495c(0x1fd)]:null);if(_0x40475f[_0x52495c(0x226)](isBrowserstackInfra)){PerformanceTester[_0x52495c(0x1fb)](PerformanceO11yEvents[_0x52495c(0x266)]);const _0x3d8a04='ObservabilitySync:'+Date['now']();await _0x40475f[_0x52495c(0x282)](_0x2648cc,JSON[_0x52495c(0x21f)](_0x3d8a04),_0x40475f[_0x52495c(0x25a)]),PerformanceTester[_0x52495c(0x214)](PerformanceO11yEvents['SYNC']);}}}catch(_0x2614f2){logger['debug'](_0x52495c(0x271)+_0x2614f2),PerformanceTester[_0x52495c(0x214)](PerformanceO11yEvents[_0x52495c(0x266)],![],_0x2614f2);}_0x40475f[_0x52495c(0x29c)](global[_0x52495c(0x256)][0x0][_0x52495c(0x250)],0x0)&&await global['driverCleanup']();}catch(_0x59ecab){logger['debug'](_0x52495c(0x288)+_0x59ecab);}_0x40475f[_0x52495c(0x20e)](_0x20eeae);})[_0xfcec5d(0x22d)](()=>{const _0x4d0e53=_0xfcec5d;_0x2d8604[_0x4d0e53(0x246)](_0x2d0c5d);});},{'platform':_0x2d8604[_0x834cbf(0x257)](nestedKeyValue,global[_0x834cbf(0x208)],[_0x2d8604[_0x834cbf(0x247)]]),'hookType':_0x2d8604[_0x834cbf(0x27c)]})();},'afterAll'(_0x221010){const _0x281633=a36_0x33fbff,_0x240d9d={'oXNas':function(_0x3b2cd0){return _0x3b2cd0();},'ahayZ':_0x281633(0x21e),'aSnNQ':function(_0x546d56,_0x3eb5e3,_0x22873c){return _0x546d56(_0x3eb5e3,_0x22873c);},'OlOjb':_0x281633(0x20c),'JPrEx':'afterAll'},_0x892882='browserstack internal helper hook';this[_0x281633(0x259)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x240d9d[_0x281633(0x294)]]),PerformanceTester[_0x281633(0x2a0)](PerformanceSdkEvents[_0x281633(0x279)],()=>{new Promise(async _0x46ca07=>{const _0xa7e496=a36_0x5251;await global['driverCleanup'](),_0x240d9d[_0xa7e496(0x299)](_0x46ca07);})['then']()['finally'](()=>{const _0x4bac4e=a36_0x5251;_0x240d9d[_0x4bac4e(0x299)](_0x221010);});},{'platform':_0x240d9d[_0x281633(0x287)](nestedKeyValue,global[_0x281633(0x208)],[_0x240d9d[_0x281633(0x267)]]),'hookType':_0x240d9d[_0x281633(0x1eb)]})();}};
1
+ function a36_0x2572(_0x2dba10,_0x4bad48){const _0x38c3cf=a36_0x38c3();return a36_0x2572=function(_0x257256,_0x3f965a){_0x257256=_0x257256-0x1a8;let _0x45d70=_0x38c3cf[_0x257256];return _0x45d70;},a36_0x2572(_0x2dba10,_0x4bad48);}const a36_0x3e9656=a36_0x2572;function a36_0x38c3(){const _0x1513a0=['qYdtM','state','XwWoy','afterTest','bstackA11yShouldScan','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','beforeEach','initQuit','woYXp','4207175YJZpok','info','winstonLogger','VsreS','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','command','qIALd','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','UCSLa','Passed','PcnjO','percy','yHhjz','uhhwD','.\x20Error\x20:','beforeAll','Utwpk','yOYqN','WTvll','AITIn','4770840nEXJDx','dWqJb','Failed\x20to\x20store\x20session\x20name:\x20','../../helpers/accessibility-automation/accessibilityRetryHelper','measureWrapper','jHtvD','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','failed','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','GfAnF','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','setGlobal','HnASf','TDRXe','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','32737440DVuyuZ','wijJW','cMKxi','../../helpers/performance/performance-tester','accessibilityScanStarted','afterAll','thTestRunUuid','nmPbK','Ahdpw','jlbGz','testcase','browserstackSessionName','jUrsa','pEokH','jnNSK','isAccessibilityPlatform','afterEach','amVYk','ENV_VAR','loQrR','getGlobal','\x22}}','index','DAvCM','../../helpers/globals','fTIPA','sessionName','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','error','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','quitCount_','./test-observability/mochaUtils','rXZDh','ibltn','\x20|\x20','saveAccessibilityResultsWithRetry','startMonitoring','push','Dmknw','../../helpers/performance/constants','https:','VAzLB','OFvvN','length','138743jndaUp','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','9WkvMGe','../../helpers/logger','stringify','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','thJwtToken','NbBub','passed','percyCaptureMode','debug','Accessibility\x20scan\x20completed\x20successfully','env',',\x22level\x22:\x20\x22','mochaHooks','SIXLp','__skipSessionName','UCElh','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','Zjmmt','titlePath','driverCleanup','2431248iTfjqW','protocol','capabilities','JOyZV','MULRK','rBdgV','BGMPd','../../helpers/testhub/constants','cafoB','ppQbE','4tPIUvm','moqZb','thBuildUuid','kdFpH','../../helpers/accessibility-automation/helper','xzHNE','IDMig','app','SYNC','executeScript','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','Mocha','__error_messages__','sGSpW','gTGWw','err','Automate\x20test\x20case\x20execution\x20has\x20started.','SAVE_RESULTS','../../helpers/helper','SESSION_STATUS','eqdtz','isArray','warn','join','48AViUgs','rcLHs','aWLsu','SESSION_NAME','util','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','ykerv','QUiZl','wUtqS','__drivers','../../helpers/percy/utils','message','Accessibility\x20results\x20saved\x20successfully','browserstackTestName','WWeJZ','shouldScanTestForAccessibility','__platformCaps','vDJtM','then','IEAgc','709275vfStPd','session_','nYkLv','hKnuZ','now','testAnalyticsId','USJIi','rRpmQ','\x20-\x20','fdksd','end','RJXyD','performScanWithRetry','__sessionFailed','currentTest','kHpSr','3054675goAhIq','shift','LXSKL','timeout','sIyeR','xtVTw','PERFORM_SCAN','XUyYs','SDK_HOOK','aaLCt'];a36_0x38c3=function(){return _0x1513a0;};return a36_0x38c3();}(function(_0x328ebc,_0x424b5f){const _0x8e4336=a36_0x2572,_0x417b08=_0x328ebc();while(!![]){try{const _0x3fdfdd=parseInt(_0x8e4336(0x238))/0x1*(parseInt(_0x8e4336(0x258))/0x2)+-parseInt(_0x8e4336(0x1d5))/0x3+-parseInt(_0x8e4336(0x24e))/0x4+parseInt(_0x8e4336(0x1c5))/0x5*(-parseInt(_0x8e4336(0x1b1))/0x6)+parseInt(_0x8e4336(0x1e8))/0x7+-parseInt(_0x8e4336(0x1fc))/0x8+parseInt(_0x8e4336(0x23a))/0x9*(parseInt(_0x8e4336(0x20b))/0xa);if(_0x3fdfdd===_0x424b5f)break;else _0x417b08['push'](_0x417b08['shift']());}catch(_0x38c19a){_0x417b08['push'](_0x417b08['shift']());}}}(a36_0x38c3,0xc218f));const util=require(a36_0x3e9656(0x1b5)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x3e9656(0x25c)),accessibilityRetryHelper=require(a36_0x3e9656(0x1ff)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require('../utils/constants'),{percyAutoCapture}=require(a36_0x3e9656(0x1bb)),{sendPlatformDetails}=require(a36_0x3e9656(0x22b)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x3e9656(0x1ab)),PerformanceTester=require(a36_0x3e9656(0x20e)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x3e9656(0x233)),globals=require(a36_0x3e9656(0x223)),logger=require(a36_0x3e9656(0x23b))[a36_0x3e9656(0x1ea)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a36_0x3e9656(0x255));exports[a36_0x3e9656(0x246)]={'beforeAll'(){const _0x13793c=a36_0x3e9656,_0x409cc4={'HnASf':function(_0x2cc25c,_0x594855,_0x36bbf5,_0x24909d){return _0x2cc25c(_0x594855,_0x36bbf5,_0x24909d);},'aaLCt':_0x13793c(0x203),'hKnuZ':_0x13793c(0x22e),'pEokH':function(_0x4dd68a,_0x2afd16,_0x1583c2){return _0x4dd68a(_0x2afd16,_0x1583c2);},'loQrR':_0x13793c(0x240),'XJDqW':function(_0x3d4ba9){return _0x3d4ba9();},'UCSLa':function(_0x5b6a3d,_0x3f5d36,_0x38faa1){return _0x5b6a3d(_0x3f5d36,_0x38faa1);},'kdFpH':function(_0x4bf744,_0xbc5616,_0x29b206){return _0x4bf744(_0xbc5616,_0x29b206);},'woYXp':_0x13793c(0x221),'jHtvD':_0x13793c(0x1f7)};PerformanceTester[_0x13793c(0x230)]();const _0x4fad3c='browserstack internal helper hook';PerformanceTester[_0x13793c(0x200)](PerformanceSdkEvents[_0x13793c(0x1dd)],()=>{const _0x24a32d=_0x13793c,_0x3c4b0d={'jlbGz':function(_0x219bc7,_0x4003fd,_0x331ef2,_0x5190c8){const _0x342502=a36_0x2572;return _0x409cc4[_0x342502(0x208)](_0x219bc7,_0x4003fd,_0x331ef2,_0x5190c8);},'Zjmmt':_0x409cc4[_0x24a32d(0x1de)],'USJIi':_0x409cc4[_0x24a32d(0x1c8)],'Ahdpw':function(_0x566cac,_0x5c5883,_0x289284){const _0x31ccbc=_0x24a32d;return _0x409cc4[_0x31ccbc(0x218)](_0x566cac,_0x5c5883,_0x289284);},'BGMPd':_0x409cc4[_0x24a32d(0x21e)],'QUiZl':function(_0x1a7a3a){return _0x409cc4['XJDqW'](_0x1a7a3a);},'DNYHE':function(_0x2b14ef,_0x17f95a,_0x3df1a1){const _0x145aeb=_0x24a32d;return _0x409cc4[_0x145aeb(0x1f0)](_0x2b14ef,_0x17f95a,_0x3df1a1);}};global['__error_messages__']=[],global[_0x24a32d(0x1d2)]=![],global[_0x24a32d(0x24d)]=async()=>{const _0xd5e75c=_0x24a32d;let _0x45ef53=![];try{await global[_0xd5e75c(0x1ba)][0x0]['session_'],_0x45ef53=!![],global[_0xd5e75c(0x1d2)]?await _0x3c4b0d[_0xd5e75c(0x214)](markSessionStatus,global[_0xd5e75c(0x1ba)][0x0],_0x3c4b0d[_0xd5e75c(0x24b)],global[_0xd5e75c(0x264)][_0xd5e75c(0x1b0)](_0x3c4b0d[_0xd5e75c(0x1cb)])):await _0x3c4b0d[_0xd5e75c(0x213)](markSessionStatus,global[_0xd5e75c(0x1ba)][0x0],_0x3c4b0d[_0xd5e75c(0x254)]);}catch(_0x227a77){logger[_0xd5e75c(0x242)](_0xd5e75c(0x262)+_0x227a77);}global['__error_messages__']=[],global[_0xd5e75c(0x1d2)]=![];if(_0x45ef53)try{try{_0x3c4b0d[_0xd5e75c(0x1b8)](shouldProcessEventForTesthub)&&(global[_0xd5e75c(0x1ba)][0x0]&&await _0x3c4b0d['DNYHE'](sendPlatformDetails,global[_0xd5e75c(0x1ba)][0x0],this[_0xd5e75c(0x1d3)]?this[_0xd5e75c(0x1d3)][_0xd5e75c(0x1ca)]:null));}catch(_0x55b3eb){logger[_0xd5e75c(0x242)](_0xd5e75c(0x23d)+_0x55b3eb);}await global[_0xd5e75c(0x1ba)][0x0][_0xd5e75c(0x1e6)]();}catch(_0x34d868){logger[_0xd5e75c(0x242)](_0xd5e75c(0x239)+_0x34d868);}};},{'platform':_0x409cc4[_0x13793c(0x25b)](nestedKeyValue,global[_0x13793c(0x1c1)],[_0x409cc4[_0x13793c(0x1e7)]]),'hookType':_0x409cc4[_0x13793c(0x201)]})();},'beforeEach'(_0x11a38e){const _0x3a16a3=a36_0x3e9656,_0x46ff51={'XwWoy':function(_0x2931e6,_0x4736b5){return _0x2931e6>_0x4736b5;},'VAzLB':function(_0x22c7cd,_0xa2b466){return _0x22c7cd>_0xa2b466;},'yHhjz':_0x3a16a3(0x1cd),'nYkLv':function(_0x2468ee,_0x319bfd,_0x58bad3){return _0x2468ee(_0x319bfd,_0x58bad3);},'IDMig':_0x3a16a3(0x1e3),'eqdtz':function(_0x1478c3){return _0x1478c3();},'nmPbK':_0x3a16a3(0x21a),'xwmgK':function(_0x4f597d,_0x4d3b76){return _0x4f597d===_0x4d3b76;},'rBdgV':'http:','xzHNE':function(_0x5c20e1,_0x61a91){return _0x5c20e1===_0x61a91;},'vDJtM':_0x3a16a3(0x234),'vAkTe':_0x3a16a3(0x226),'UCElh':_0x3a16a3(0x1a9),'JOyZV':_0x3a16a3(0x1be),'IEAgc':_0x3a16a3(0x221),'sGSpW':_0x3a16a3(0x1e5)};globals[_0x3a16a3(0x207)](_0x46ff51[_0x3a16a3(0x251)],this[_0x3a16a3(0x1d3)]['titlePath']()[_0x3a16a3(0x1b0)](_0x46ff51[_0x3a16a3(0x1f4)])),PerformanceTester[_0x3a16a3(0x200)](PerformanceSdkEvents[_0x3a16a3(0x1dd)],()=>{const _0x28f06e=_0x3a16a3,_0x56d9ed='browserstack internal helper hook';new Promise(async _0x546355=>{const _0x38452a=a36_0x2572;let _0x570e25=!![];try{_0x46ff51[_0x38452a(0x1e1)](global['__drivers'][_0x38452a(0x237)],0x1)&&(await global['driverCleanup'](),global['__drivers']['shift']()),_0x46ff51['VAzLB'](global['__drivers'][0x0][_0x38452a(0x22a)],0x0)&&(_0x570e25=![],await global[_0x38452a(0x24d)]());}catch(_0x32209d){logger[_0x38452a(0x242)](_0x38452a(0x239)+_0x32209d);}try{Array[_0x38452a(0x1ae)](global[_0x38452a(0x1ba)])&&global['__drivers'][0x0]&&(global[_0x38452a(0x1ba)][0x0][_0x38452a(0x216)]=this['currentTest'][_0x38452a(0x24c)]()['join'](_0x46ff51['yHhjz'])),global['browserstackSessionName']=this[_0x38452a(0x1d3)][_0x38452a(0x24c)]()['join'](_0x46ff51[_0x38452a(0x1f4)]);}catch(_0xdae989){logger[_0x38452a(0x242)](_0x38452a(0x1fe)+_0xdae989);}this[_0x38452a(0x1d3)][_0x38452a(0x1c0)]=_0x46ff51[_0x38452a(0x1c7)](shouldScanTestForAccessibility,this[_0x38452a(0x1d3)][_0x38452a(0x24c)](),!![]),globals['setGlobal'](_0x46ff51[_0x38452a(0x25e)],this[_0x38452a(0x1d3)][_0x38452a(0x1c0)]),this[_0x38452a(0x1d3)][_0x38452a(0x20f)]=!![];if(_0x46ff51[_0x38452a(0x1ad)](isAccessibilityAutomationSession)&&_0x570e25&&Array[_0x38452a(0x1ae)](global[_0x38452a(0x1ba)])&&_0x46ff51[_0x38452a(0x235)](global[_0x38452a(0x1ba)][_0x38452a(0x237)],0x0)&&globals['getGlobal'](_0x46ff51[_0x38452a(0x212)]))try{const _0x403e24=await global['__drivers'][0x0][_0x38452a(0x1c6)];if(_0x403e24){let _0x190433=!![];const _0x2077bb=await global[_0x38452a(0x1ba)][0x0]['getCurrentUrl']();let _0x46a835;try{_0x46a835=new URL(_0x2077bb);}catch(_0x5d060e){_0x190433=![];}_0x190433=_0x46ff51['xwmgK'](_0x46a835[_0x38452a(0x24f)],_0x46ff51[_0x38452a(0x253)])||_0x46ff51[_0x38452a(0x25d)](_0x46a835[_0x38452a(0x24f)],_0x46ff51[_0x38452a(0x1c2)]),_0x190433&&(this[_0x38452a(0x1d3)][_0x38452a(0x1c0)]&&logger[_0x38452a(0x1e9)](_0x46ff51['vAkTe'])),this[_0x38452a(0x1d3)][_0x38452a(0x20f)]=this[_0x38452a(0x1d3)][_0x38452a(0x1c0)],this[_0x38452a(0x1d3)][_0x38452a(0x1c0)]&&logger[_0x38452a(0x1e9)](_0x46ff51[_0x38452a(0x249)]);}}catch(_0xd5571f){logger[_0x38452a(0x227)](_0x38452a(0x1ec)+util['format'](_0xd5571f));}_0x46ff51[_0x38452a(0x1ad)](_0x546355);})[_0x28f06e(0x1c3)](()=>{const _0xcff0ba=_0x28f06e;_0x46ff51[_0xcff0ba(0x1ad)](_0x11a38e);});},{'platform':_0x46ff51[_0x3a16a3(0x1c7)](nestedKeyValue,global[_0x3a16a3(0x1c1)],[_0x46ff51[_0x3a16a3(0x1c4)]]),'hookType':_0x46ff51[_0x3a16a3(0x265)]})();},'afterEach'(_0x2d92e3){const _0x489f1a=a36_0x3e9656,_0x4bdb54={'fdksd':function(_0x53a108,_0x5ac065){return _0x53a108>_0x5ac065;},'qIALd':function(_0x26982c,_0x1d988a){return _0x26982c===_0x1d988a;},'XUyYs':_0x489f1a(0x215),'uhhwD':'appium:app','ibltn':function(_0xd9848d,_0x39cef7,_0x3b1350,_0xd3dad){return _0xd9848d(_0x39cef7,_0x3b1350,_0xd3dad);},'SIXLp':_0x489f1a(0x21a),'Utwpk':_0x489f1a(0x1e3),'TDRXe':_0x489f1a(0x228),'gTGWw':_0x489f1a(0x1b6),'DezYf':_0x489f1a(0x1e2),'cafoB':_0x489f1a(0x243),'WWeJZ':'Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','ZkMBq':_0x489f1a(0x1bd),'amVYk':_0x489f1a(0x1e4),'DAvCM':_0x489f1a(0x20a),'MULRK':function(_0x21691f){return _0x21691f();},'VsreS':function(_0x10f97f,_0x3bac9e,_0x49b41f){return _0x10f97f(_0x3bac9e,_0x49b41f);},'rRpmQ':function(_0x4a0fbc){return _0x4a0fbc();},'jUrsa':_0x489f1a(0x242),'aWLsu':function(_0x52fbec,_0x4bf468){return _0x52fbec>_0x4bf468;},'ppQbE':function(_0x48b559){return _0x48b559();},'BHlqK':function(_0x10a825){return _0x10a825();},'WTvll':_0x489f1a(0x1cd),'yOYqN':function(_0x44f888,_0x528fca){return _0x44f888!==_0x528fca;},'rcLHs':_0x489f1a(0x240),'LXSKL':function(_0x2fc51b,_0x34cac7){return _0x2fc51b+_0x34cac7;},'NhREt':'Failed:\x20','wUtqS':_0x489f1a(0x227),'NbBub':_0x489f1a(0x1f1),'xtVTw':_0x489f1a(0x1e9),'PcnjO':_0x489f1a(0x263),'rXZDh':function(_0x445659,_0x1f47b9,_0xa40bf4){return _0x445659(_0x1f47b9,_0xa40bf4);},'gsPGt':_0x489f1a(0x221),'RJXyD':_0x489f1a(0x21b)},_0x492787='browserstack internal helper hook';this[_0x489f1a(0x1d8)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x4bdb54[_0x489f1a(0x1f2)]]),global[_0x489f1a(0x225)]=this['currentTest'][_0x489f1a(0x24c)]()[_0x489f1a(0x1b0)](_0x4bdb54[_0x489f1a(0x1fa)]),PerformanceTester[_0x489f1a(0x200)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x4ee943=_0x489f1a,_0x92b347={'ykerv':_0x4bdb54[_0x4ee943(0x1fa)],'sIyeR':function(_0x428786,_0x1dc3d1){const _0x5607d0=_0x4ee943;return _0x4bdb54[_0x5607d0(0x1f9)](_0x428786,_0x1dc3d1);},'Dmknw':_0x4bdb54[_0x4ee943(0x1b2)],'AITIn':function(_0x52a588,_0x520a80,_0x209ecf){const _0x3e5dc8=_0x4ee943;return _0x4bdb54[_0x3e5dc8(0x1eb)](_0x52a588,_0x520a80,_0x209ecf);},'jnNSK':function(_0x46e828,_0x2dd243){const _0xc4a88e=_0x4ee943;return _0x4bdb54[_0xc4a88e(0x1d7)](_0x46e828,_0x2dd243);},'WDrmU':_0x4bdb54['NhREt'],'OFvvN':_0x4bdb54[_0x4ee943(0x1b9)],'dWqJb':_0x4bdb54[_0x4ee943(0x23f)],'cMKxi':_0x4bdb54[_0x4ee943(0x1da)]},_0x20115e=async(_0x171c06,_0x1c4b16)=>{const _0x119b86=_0x4ee943;await global['__drivers'][0x0][_0x119b86(0x261)](_0x119b86(0x204)+_0x171c06+_0x119b86(0x245)+_0x1c4b16+_0x119b86(0x220));};new Promise(async _0x28cdcf=>{const _0x51cccf=_0x4ee943;try{_0x4bdb54[_0x51cccf(0x1ce)](global[_0x51cccf(0x1ba)][_0x51cccf(0x237)],0x1)&&(await global[_0x51cccf(0x24d)](),global[_0x51cccf(0x1ba)][_0x51cccf(0x1d6)](),global['__error_messages__']=[],global[_0x51cccf(0x1d2)]=![]);try{if(global[_0x51cccf(0x1f3)]&&_0x4bdb54[_0x51cccf(0x1ee)](global[_0x51cccf(0x241)],_0x4bdb54[_0x51cccf(0x1dc)])&&global['__drivers'][0x0]){const _0x3ed49f=_0x4bdb54[_0x51cccf(0x1ce)](global['capabilities'][_0x51cccf(0x237)],0x0)?!!global[_0x51cccf(0x250)][0x0][_0x51cccf(0x25f)]||!!global[_0x51cccf(0x250)][0x0][_0x4bdb54[_0x51cccf(0x1f5)]]:![],_0x2c9b48={};_0x2c9b48[_0x51cccf(0x25f)]=_0x3ed49f,await _0x4bdb54[_0x51cccf(0x22d)](percyAutoCapture,global[_0x51cccf(0x1ba)][0x0],_0x4bdb54[_0x51cccf(0x1dc)],_0x2c9b48);}}catch(_0x235daa){logger['debug'](_0x51cccf(0x229)+_0x235daa);}!global[_0x51cccf(0x248)]&&(await PerformanceTester[_0x51cccf(0x200)](PerformanceAutEvents[_0x51cccf(0x1b4)],async()=>{const _0x17efd5=_0x51cccf;await global['__drivers'][0x0]['executeScript'](_0x17efd5(0x24a)+JSON[_0x17efd5(0x23c)](this[_0x17efd5(0x1d3)][_0x17efd5(0x24c)]()[_0x17efd5(0x1b0)](_0x92b347[_0x17efd5(0x1b7)]))+'}}');})(),global[_0x51cccf(0x1ba)][0x0]['sessionNameSet__']=!![]),await PerformanceTester[_0x51cccf(0x200)](PerformanceAutEvents[_0x51cccf(0x1ac)],async()=>{const _0x368ba3=_0x51cccf,_0x583986=_0x92b347[_0x368ba3(0x1d9)](this[_0x368ba3(0x1d3)][_0x368ba3(0x1e0)],_0x92b347[_0x368ba3(0x232)]);_0x583986?(global[_0x368ba3(0x1d2)]=!![],global['__error_messages__'][_0x368ba3(0x231)](this[_0x368ba3(0x1d3)]['err'][_0x368ba3(0x1bc)]),await _0x92b347[_0x368ba3(0x1fb)](_0x20115e,JSON['stringify'](_0x92b347[_0x368ba3(0x219)](_0x92b347['WDrmU'],this[_0x368ba3(0x1d3)][_0x368ba3(0x1a8)][_0x368ba3(0x1bc)])),_0x92b347[_0x368ba3(0x236)])):await _0x92b347['AITIn'](_0x20115e,JSON[_0x368ba3(0x23c)](_0x92b347[_0x368ba3(0x1fd)]),_0x92b347[_0x368ba3(0x20d)]);})();}catch(_0x478312){logger['debug'](_0x51cccf(0x206)+_0x478312);}try{if(this['currentTest'][_0x51cccf(0x20f)]&&globals[_0x51cccf(0x21f)](_0x4bdb54[_0x51cccf(0x247)])&&globals[_0x51cccf(0x21f)](_0x4bdb54[_0x51cccf(0x1f8)])){logger[_0x51cccf(0x1e9)](_0x4bdb54[_0x51cccf(0x209)]);const _0x75a6d0={};_0x75a6d0[_0x51cccf(0x211)]=this[_0x51cccf(0x1d3)][_0x51cccf(0x1ca)],_0x75a6d0[_0x51cccf(0x25a)]=process[_0x51cccf(0x244)][testHubConstants[_0x51cccf(0x21d)]['BROWSERSTACK_TESTHUB_UUID']],_0x75a6d0[_0x51cccf(0x23e)]=process[_0x51cccf(0x244)][testHubConstants[_0x51cccf(0x21d)]['BROWSERSTACK_TESTHUB_JWT']];const _0x23847d=_0x75a6d0;logger[_0x51cccf(0x242)](_0x51cccf(0x202)+JSON[_0x51cccf(0x23c)](_0x23847d)),logger[_0x51cccf(0x242)](_0x4bdb54[_0x51cccf(0x266)]);const _0x584924={};_0x584924[_0x51cccf(0x1ed)]=_0x4bdb54['DezYf'];const _0x5647c7=await PerformanceTester[_0x51cccf(0x200)](PerformanceA11yEvents[_0x51cccf(0x1db)],async()=>{const _0x42c906=_0x51cccf;return await accessibilityRetryHelper[_0x42c906(0x1d1)](global[_0x42c906(0x1ba)][0x0],global['browserstackSessionName']);},_0x584924)();_0x5647c7?logger['debug'](_0x4bdb54[_0x51cccf(0x256)]):logger[_0x51cccf(0x1af)](_0x4bdb54[_0x51cccf(0x1bf)]);const _0x166d73=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x51cccf(0x1aa)],async()=>{const _0x1678f8=_0x51cccf;return await accessibilityRetryHelper[_0x1678f8(0x22f)](global['__drivers'][0x0],_0x23847d);})();_0x166d73?logger['debug'](_0x4bdb54['ZkMBq']):logger[_0x51cccf(0x1af)](_0x4bdb54[_0x51cccf(0x21c)]),logger[_0x51cccf(0x1e9)](_0x4bdb54[_0x51cccf(0x222)]);}}catch(_0x2e0ebe){logger[_0x51cccf(0x227)](_0x51cccf(0x1ef)+this['currentTest']['titlePath']()+_0x51cccf(0x1f6),_0x2e0ebe);}try{try{if(_0x4bdb54[_0x51cccf(0x252)](shouldProcessEventForTesthub)){global[_0x51cccf(0x1ba)][0x0]&&await _0x4bdb54[_0x51cccf(0x1eb)](sendPlatformDetails,global['__drivers'][0x0],this[_0x51cccf(0x1d3)]?this[_0x51cccf(0x1d3)]['testAnalyticsId']:null);if(_0x4bdb54[_0x51cccf(0x1cc)](isBrowserstackInfra)){PerformanceTester['start'](PerformanceO11yEvents[_0x51cccf(0x260)]);const _0x6d0222='ObservabilitySync:'+Date[_0x51cccf(0x1c9)]();await _0x4bdb54[_0x51cccf(0x1eb)](_0x20115e,JSON['stringify'](_0x6d0222),_0x4bdb54[_0x51cccf(0x217)]),PerformanceTester[_0x51cccf(0x1cf)](PerformanceO11yEvents['SYNC']);}}}catch(_0x517629){logger['debug']('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x517629),PerformanceTester[_0x51cccf(0x1cf)](PerformanceO11yEvents[_0x51cccf(0x260)],![],_0x517629);}_0x4bdb54[_0x51cccf(0x1b3)](global[_0x51cccf(0x1ba)][0x0]['quitCount_'],0x0)&&await global[_0x51cccf(0x24d)]();}catch(_0x46b1a0){logger[_0x51cccf(0x242)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x46b1a0);}_0x4bdb54[_0x51cccf(0x257)](_0x28cdcf);})[_0x4ee943(0x1c3)](()=>{_0x4bdb54['BHlqK'](_0x2d92e3);});},{'platform':_0x4bdb54[_0x489f1a(0x22c)](nestedKeyValue,global[_0x489f1a(0x1c1)],[_0x4bdb54['gsPGt']]),'hookType':_0x4bdb54[_0x489f1a(0x1d0)]})();},'afterAll'(_0x399cde){const _0x16be39=a36_0x3e9656,_0x21a46e={'moqZb':function(_0x5d72dd){return _0x5d72dd();},'qYdtM':function(_0x264815){return _0x264815();},'pDHGs':_0x16be39(0x263),'kHpSr':function(_0x11def0,_0x3e9d94,_0x3cd522){return _0x11def0(_0x3e9d94,_0x3cd522);},'fTIPA':_0x16be39(0x221),'wijJW':_0x16be39(0x210)},_0xdd147d='browserstack internal helper hook';this[_0x16be39(0x1d8)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x21a46e['pDHGs']]),PerformanceTester[_0x16be39(0x200)](PerformanceSdkEvents[_0x16be39(0x1dd)],()=>{const _0x486bfd={'GfAnF':function(_0x78a0d7){const _0x242bb6=a36_0x2572;return _0x21a46e[_0x242bb6(0x1df)](_0x78a0d7);}};new Promise(async _0xc8e8d0=>{const _0x25e0ce=a36_0x2572;await global[_0x25e0ce(0x24d)](),_0x21a46e[_0x25e0ce(0x259)](_0xc8e8d0);})['then']()['finally'](()=>{const _0x33570f=a36_0x2572;_0x486bfd[_0x33570f(0x205)](_0x399cde);});},{'platform':_0x21a46e[_0x16be39(0x1d4)](nestedKeyValue,global['__platformCaps'],[_0x21a46e[_0x16be39(0x224)]]),'hookType':_0x21a46e[_0x16be39(0x20c)]})();}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a37_0x1cdaa6=a37_0x4f5d;function a37_0x40ad(){const _0x13c471=['split','--config','webdriver','nightwatch.cmd','debug','existsSync','2086587FKvdbF','mhvjA','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','nightwatch.conf.js','36yZiaSW','../../helpers/BrowserStackSetup','writeFileSync','child\x20process\x20exited\x20with\x20code\x20','RotKz','unlinkSync','config','map','start_process','useW3C','test_settings','child_process','1544037eolkqV','mwhXe','platforms','mergeDeep','nightwatch.json','dOFBW','MsFxC','341PqwYIB','QmTyz','lbSnl','close','ghhkp','info','kIpoJ','MEvoU','dEdEa','cwd','10370EzeDCH','modifyBrowserStackCaps','getPlatformName','join','now','selenium','hub.browserstack.com','zmSlz','RXiGf','Getting\x20your\x20nightwatch\x20configs\x20from\x20','--env','50031dsjvMJ','path','zVful','stringify','../../helpers/helper','winstonLogger','486WIffGS','818UVGiBL','../../helpers/logger','modifyBrowserStackW3CCaps','env','findIndex','inherit','vJNze','splice','desiredCapabilities','21760URIYGr','test','slice','push','393281GwoqRN','filter','8PVFrZz','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack'];a37_0x40ad=function(){return _0x13c471;};return a37_0x40ad();}(function(_0x4870dc,_0x11b49){const _0x354ad7=a37_0x4f5d,_0x36e0f0=_0x4870dc();while(!![]){try{const _0x42493a=-parseInt(_0x354ad7(0xcb))/0x1*(parseInt(_0x354ad7(0x9d))/0x2)+parseInt(_0x354ad7(0xe0))/0x3*(parseInt(_0x354ad7(0xb8))/0x4)+-parseInt(_0x354ad7(0xd5))/0x5*(parseInt(_0x354ad7(0xe6))/0x6)+-parseInt(_0x354ad7(0xaa))/0x7+-parseInt(_0x354ad7(0xac))/0x8*(-parseInt(_0x354ad7(0xb4))/0x9)+-parseInt(_0x354ad7(0xa6))/0xa+parseInt(_0x354ad7(0xc4))/0xb;if(_0x42493a===_0x11b49)break;else _0x36e0f0['push'](_0x36e0f0['shift']());}catch(_0x1ee2e6){_0x36e0f0['push'](_0x36e0f0['shift']());}}}(a37_0x40ad,0x26341));const fs=require('fs'),path=require(a37_0x1cdaa6(0xe1)),{spawn}=require(a37_0x1cdaa6(0xc3)),logger=require(a37_0x1cdaa6(0x9e))[a37_0x1cdaa6(0xe5)],{default:BrowserStackSetup}=require(a37_0x1cdaa6(0xb9)),helper=require(a37_0x1cdaa6(0xe4)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x1a3e87,_0x4557c7)=>{const _0x2ade94=a37_0x1cdaa6,_0x4f8ff8={'QmTyz':_0x2ade94(0xb7),'SheiX':_0x2ade94(0xc8),'mwhXe':function(_0x4a5df8,_0x4af0db){return _0x4a5df8(_0x4af0db);},'MsFxC':_0x2ade94(0xb6)};let _0x74b86f=null,_0x4627c9={};const _0x44bdab=_0x4557c7[_0x2ade94(0xa1)](_0xf88d26=>_0xf88d26===_0x2ade94(0xaf));if(!helper['isUndefined'](_0x1a3e87['config'])&&fs[_0x2ade94(0xb3)](path[_0x2ade94(0xd8)](process[_0x2ade94(0xd4)](),_0x1a3e87[_0x2ade94(0xbe)])))_0x74b86f=path[_0x2ade94(0xd8)](process[_0x2ade94(0xd4)](),_0x1a3e87[_0x2ade94(0xbe)]),_0x4557c7['splice'](_0x44bdab,0x2);else{if(fs[_0x2ade94(0xb3)](path[_0x2ade94(0xd8)](process['cwd'](),_0x4f8ff8[_0x2ade94(0xcc)])))_0x74b86f=path['join'](process[_0x2ade94(0xd4)](),_0x4f8ff8[_0x2ade94(0xcc)]);else fs[_0x2ade94(0xb3)](path[_0x2ade94(0xd8)](process[_0x2ade94(0xd4)](),_0x4f8ff8['SheiX']))&&(_0x74b86f=path['join'](process['cwd'](),_0x4f8ff8['SheiX']));}return _0x74b86f?(logger['info'](_0x2ade94(0xde)+_0x74b86f),_0x4627c9=_0x4f8ff8[_0x2ade94(0xc5)](require,_0x74b86f)):logger[_0x2ade94(0xd0)](_0x4f8ff8[_0x2ade94(0xca)]),_0x4627c9;},removeExistingEnvs=_0x11323e=>{const _0x725fe1=a37_0x1cdaa6,_0x16d17e={};_0x16d17e['dOFBW']=function(_0x446585,_0x34bfd7){return _0x446585>_0x34bfd7;},_0x16d17e[_0x725fe1(0xbc)]=function(_0x59101b,_0x3b8f07){return _0x59101b>_0x3b8f07;};const _0x153296=_0x16d17e;let _0x326bc6=_0x11323e[_0x725fe1(0xa1)](_0x2fd1d0=>_0x2fd1d0===_0x725fe1(0xdf));_0x153296[_0x725fe1(0xc9)](_0x326bc6,-0x1)&&_0x11323e['splice'](_0x326bc6,0x2),_0x326bc6=_0x11323e[_0x725fe1(0xa1)](_0x1cf6f3=>_0x1cf6f3==='-e'),_0x153296[_0x725fe1(0xbc)](_0x326bc6,-0x1)&&_0x11323e[_0x725fe1(0xa4)](_0x326bc6,0x2);};function run(_0x2bc8b1,_0x50ac85,_0x3af385){const _0x224259=a37_0x1cdaa6,_0x595e74={'dEdEa':'nightwatch','DPVcr':function(_0x583383,_0x55ea59){return _0x583383+_0x55ea59;},'MEvoU':_0x224259(0xc2),'zVful':function(_0x38dfe4,_0x2c4c4e,_0x2f6884){return _0x38dfe4(_0x2c4c4e,_0x2f6884);},'mhvjA':_0x224259(0xdb),'kaUqn':_0x224259(0xad),'zmSlz':function(_0x46351f,_0x45cd66){return _0x46351f===_0x45cd66;},'vJNze':'nightwatch-browserstack.json','ghhkp':function(_0x526f49,_0x36e363){return _0x526f49(_0x36e363);},'RXiGf':function(_0x5476ca,_0x14b34b,_0x1da6b6,_0x3c1eab){return _0x5476ca(_0x14b34b,_0x1da6b6,_0x3c1eab);},'JibJN':_0x224259(0xb1),'lbSnl':'--config','kIpoJ':'--env','nCCcw':_0x224259(0xa2),'BdPgU':_0x224259(0xce)};if(!_0x3af385[_0x224259(0xbe)])return;const _0x43877c=_0x595e74[_0x224259(0xe2)](getUserNightwatchConfigs,_0x2bc8b1,_0x50ac85),_0x119cdf={};_0x119cdf[_0x224259(0xc0)]=![];const _0xc6ec4={};_0xc6ec4['host']=_0x595e74[_0x224259(0xb5)],_0xc6ec4['port']=0x1bb;const _0x2ec67a={};_0x2ec67a[_0x224259(0xb0)]=_0x119cdf,_0x2ec67a[_0x224259(0xda)]=_0xc6ec4;const _0x1909a9=_0x2ec67a;logger[_0x224259(0xd0)](_0x595e74['kaUqn']);const _0x2c210a={..._0x43877c},_0x8b6c04=_0x2c210a,_0xd08464=helper[_0x224259(0xc1)](_0x3af385[_0x224259(0xbe)]),_0x2aa8dd=[];_0x3af385[_0x224259(0xbe)][_0x224259(0xc6)]['forEach']((_0x7a6d4c,_0x525ac6)=>{const _0x58cf9c=_0x224259;_0xd08464?_0x2aa8dd[_0x58cf9c(0xa9)](helper[_0x58cf9c(0x9f)](_0x3af385[_0x58cf9c(0xbe)],_0x595e74[_0x58cf9c(0xd3)],_0x525ac6)):_0x2aa8dd[_0x58cf9c(0xa9)](helper[_0x58cf9c(0xd6)](_0x3af385[_0x58cf9c(0xbe)],_0x595e74[_0x58cf9c(0xd3)],_0x525ac6));});const _0x295581={},_0xfa7934=[];_0x2bc8b1[_0x224259(0xa0)]=_0x2bc8b1[_0x224259(0xa0)]||_0x2bc8b1['e'];const _0x58ac98=_0x2bc8b1[_0x224259(0xa0)]?_0x2bc8b1[_0x224259(0xa0)]['trim']()[_0x224259(0xae)](',')[_0x224259(0xbf)](_0xcadf2d=>_0xcadf2d['trim']())[_0x224259(0xab)](_0x1b32ec=>_0x1b32ec!==''):[''];_0x595e74[_0x224259(0xdc)](_0x58ac98['length'],0x0)&&_0x58ac98['push']('');_0x58ac98['forEach'](_0x9f9d9b=>{_0x2aa8dd['forEach'](_0x2fcfc4=>{const _0x250ca1=a37_0x4f5d;let _0x324749=_0x595e74['DPVcr'](helper[_0x250ca1(0xd7)](_0x2fcfc4,'_'),'_'+Date[_0x250ca1(0xd9)]());_0x9f9d9b&&(_0x324749+='_'+_0x9f9d9b);if(_0x9f9d9b&&(!_0x43877c[_0x595e74[_0x250ca1(0xd2)]]||!_0x43877c[_0x595e74[_0x250ca1(0xd2)]][_0x9f9d9b]))return;const _0x126f95={..._0x1909a9};_0x126f95[_0x250ca1(0xa5)]=_0x2fcfc4;const _0x3e5499=_0x126f95;_0x295581[_0x324749]=_0x9f9d9b?helper[_0x250ca1(0xc7)](_0x43877c[_0x595e74[_0x250ca1(0xd2)]][_0x9f9d9b],_0x3e5499):_0x3e5499,_0xfa7934[_0x250ca1(0xa9)](_0x324749);});});!_0x8b6c04[_0x224259(0xc2)]&&(_0x8b6c04[_0x224259(0xc2)]={});_0x8b6c04[_0x224259(0xc2)]={..._0x8b6c04['test_settings'],..._0x295581};const _0x4a3cb7=path['join'](__dirname,_0x595e74[_0x224259(0xa3)]);fs[_0x224259(0xba)](_0x4a3cb7,JSON[_0x224259(0xe3)](_0x8b6c04)),_0x595e74[_0x224259(0xcf)](removeExistingEnvs,_0x50ac85);const _0x501598=_0x595e74[_0x224259(0xdd)](spawn,/^win/[_0x224259(0xa7)](process['platform'])?_0x595e74['JibJN']:_0x595e74[_0x224259(0xd3)],[_0x595e74[_0x224259(0xcd)],_0x4a3cb7,..._0x50ac85[_0x224259(0xa8)](0x1),_0x595e74[_0x224259(0xd1)],_0xfa7934[_0x224259(0xd8)](',')],{'stdio':_0x595e74['nCCcw']});_0x501598['on'](_0x595e74['BdPgU'],async _0x32567d=>{const _0x175bcd=_0x224259;logger[_0x175bcd(0xb2)](_0x175bcd(0xbb)+_0x32567d),logger[_0x175bcd(0xd0)]('Deleting\x20'+_0x4a3cb7),fs[_0x175bcd(0xbd)](_0x4a3cb7);});}function a37_0x4f5d(_0x5815f3,_0x3dac59){const _0x40ad8c=a37_0x40ad();return a37_0x4f5d=function(_0x4f5d9f,_0x326d29){_0x4f5d9f=_0x4f5d9f-0x9d;let _0x2ee5a7=_0x40ad8c[_0x4f5d9f];return _0x2ee5a7;},a37_0x4f5d(_0x5815f3,_0x3dac59);}module['exports']=run;
2
+ 'use strict';const a37_0x49ff23=a37_0x3f4d;(function(_0x353a9d,_0x2b7b3b){const _0x1307eb=a37_0x3f4d,_0x5cf347=_0x353a9d();while(!![]){try{const _0x33b8ca=-parseInt(_0x1307eb(0x1c5))/0x1+parseInt(_0x1307eb(0x1d9))/0x2+parseInt(_0x1307eb(0x1e3))/0x3*(parseInt(_0x1307eb(0x1cd))/0x4)+parseInt(_0x1307eb(0x1f9))/0x5*(parseInt(_0x1307eb(0x1d6))/0x6)+-parseInt(_0x1307eb(0x200))/0x7+parseInt(_0x1307eb(0x1eb))/0x8*(parseInt(_0x1307eb(0x1fc))/0x9)+parseInt(_0x1307eb(0x1d1))/0xa;if(_0x33b8ca===_0x2b7b3b)break;else _0x5cf347['push'](_0x5cf347['shift']());}catch(_0x272d84){_0x5cf347['push'](_0x5cf347['shift']());}}}(a37_0x2276,0xe90c0));const fs=require('fs'),path=require(a37_0x49ff23(0x205)),{spawn}=require(a37_0x49ff23(0x1d7)),logger=require(a37_0x49ff23(0x1c4))[a37_0x49ff23(0x1fd)],{default:BrowserStackSetup}=require(a37_0x49ff23(0x1e5)),helper=require(a37_0x49ff23(0x1ef)),constants=require(a37_0x49ff23(0x208)),getUserNightwatchConfigs=(_0x5da777,_0xe6b7d9)=>{const _0x752c7b=a37_0x49ff23,_0x1891e8={'ekojO':_0x752c7b(0x1ff),'JvuwU':_0x752c7b(0x203),'QGgmK':function(_0x91094e,_0x4587aa){return _0x91094e(_0x4587aa);},'WaogO':_0x752c7b(0x1d2)};let _0x19c594=null,_0x21f781={};const _0x1a87d6=_0xe6b7d9[_0x752c7b(0x1d3)](_0x580ab9=>_0x580ab9===_0x752c7b(0x1fb));if(!helper[_0x752c7b(0x1c9)](_0x5da777[_0x752c7b(0x1e7)])&&fs[_0x752c7b(0x1f3)](path['join'](process[_0x752c7b(0x1e0)](),_0x5da777[_0x752c7b(0x1e7)])))_0x19c594=path['join'](process[_0x752c7b(0x1e0)](),_0x5da777[_0x752c7b(0x1e7)]),_0xe6b7d9[_0x752c7b(0x206)](_0x1a87d6,0x2);else{if(fs[_0x752c7b(0x1f3)](path[_0x752c7b(0x1d4)](process[_0x752c7b(0x1e0)](),_0x1891e8[_0x752c7b(0x1dd)])))_0x19c594=path['join'](process['cwd'](),_0x1891e8[_0x752c7b(0x1dd)]);else fs[_0x752c7b(0x1f3)](path[_0x752c7b(0x1d4)](process[_0x752c7b(0x1e0)](),_0x1891e8[_0x752c7b(0x1c7)]))&&(_0x19c594=path[_0x752c7b(0x1d4)](process[_0x752c7b(0x1e0)](),_0x1891e8[_0x752c7b(0x1c7)]));}return _0x19c594?(logger['info'](_0x752c7b(0x1ce)+_0x19c594),_0x21f781=_0x1891e8['QGgmK'](require,_0x19c594)):logger[_0x752c7b(0x1da)](_0x1891e8['WaogO']),_0x21f781;},removeExistingEnvs=_0x45fbd9=>{const _0x383d7e=a37_0x49ff23,_0x173fff={};_0x173fff[_0x383d7e(0x1ec)]=function(_0x507271,_0xf429d6){return _0x507271>_0xf429d6;};const _0x541475=_0x173fff;let _0x1833fb=_0x45fbd9[_0x383d7e(0x1d3)](_0x563659=>_0x563659==='--env');_0x541475[_0x383d7e(0x1ec)](_0x1833fb,-0x1)&&_0x45fbd9[_0x383d7e(0x206)](_0x1833fb,0x2),_0x1833fb=_0x45fbd9[_0x383d7e(0x1d3)](_0x4134ea=>_0x4134ea==='-e'),_0x541475[_0x383d7e(0x1ec)](_0x1833fb,-0x1)&&_0x45fbd9['splice'](_0x1833fb,0x2);};function a37_0x3f4d(_0x3fe65e,_0x15ec4a){const _0x227638=a37_0x2276();return a37_0x3f4d=function(_0x3f4de6,_0x1aeea2){_0x3f4de6=_0x3f4de6-0x1c3;let _0x59cfba=_0x227638[_0x3f4de6];return _0x59cfba;},a37_0x3f4d(_0x3fe65e,_0x15ec4a);}function run(_0x56a630,_0x256dbe,_0x1cafdf){const _0x527f7d=a37_0x49ff23,_0x5c2309={'dcQIj':_0x527f7d(0x1ea),'DSLAj':function(_0x2d7e3c,_0x3e55b0){return _0x2d7e3c+_0x3e55b0;},'haQnh':_0x527f7d(0x1dc),'HhYwH':function(_0x2e8afb,_0x219e6b,_0x550853){return _0x2e8afb(_0x219e6b,_0x550853);},'bAyXC':'hub.browserstack.com','mWCum':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','CzXpD':function(_0x1b3b85,_0x3b2c14){return _0x1b3b85===_0x3b2c14;},'OcHsg':_0x527f7d(0x1f7),'NIzQz':function(_0x268266,_0x39246b){return _0x268266(_0x39246b);},'IGyDg':function(_0x151f30,_0x561c15,_0x95bee2,_0x1c0bca){return _0x151f30(_0x561c15,_0x95bee2,_0x1c0bca);},'freLc':_0x527f7d(0x1db),'GXlDT':_0x527f7d(0x1fb),'qDSXn':'--env','HCyLB':'inherit','IYlIe':'close'};if(!_0x1cafdf[_0x527f7d(0x1e7)])return;const _0x5d4ae4=_0x5c2309[_0x527f7d(0x1f1)](getUserNightwatchConfigs,_0x56a630,_0x256dbe),_0x5eabb7={};_0x5eabb7[_0x527f7d(0x1fe)]=![];const _0x4d5cf9={};_0x4d5cf9[_0x527f7d(0x204)]=_0x5c2309[_0x527f7d(0x1e8)],_0x4d5cf9[_0x527f7d(0x1ca)]=0x1bb;const _0x16dec5={};_0x16dec5['webdriver']=_0x5eabb7,_0x16dec5[_0x527f7d(0x1c6)]=_0x4d5cf9;const _0x16a9f1=_0x16dec5;logger[_0x527f7d(0x1da)](_0x5c2309[_0x527f7d(0x1f4)]);const _0x1c9ce0={..._0x5d4ae4},_0x49ddd7=_0x1c9ce0,_0x5d6963=helper[_0x527f7d(0x1c8)](_0x1cafdf[_0x527f7d(0x1e7)]),_0x232ffa=[];_0x1cafdf[_0x527f7d(0x1e7)][_0x527f7d(0x1cb)]['forEach']((_0xb1eb18,_0x11c466)=>{const _0x45bddb=_0x527f7d;_0x5d6963?_0x232ffa[_0x45bddb(0x1f8)](helper[_0x45bddb(0x1c3)](_0x1cafdf[_0x45bddb(0x1e7)],_0x5c2309[_0x45bddb(0x1df)],_0x11c466)):_0x232ffa[_0x45bddb(0x1f8)](helper[_0x45bddb(0x1f0)](_0x1cafdf[_0x45bddb(0x1e7)],_0x5c2309[_0x45bddb(0x1df)],_0x11c466));});const _0x47b64c={},_0x716f43=[];_0x56a630[_0x527f7d(0x1d8)]=_0x56a630['env']||_0x56a630['e'];const _0x46e52e=_0x56a630[_0x527f7d(0x1d8)]?_0x56a630[_0x527f7d(0x1d8)]['trim']()[_0x527f7d(0x1f5)](',')['map'](_0x2a0820=>_0x2a0820[_0x527f7d(0x1e6)]())[_0x527f7d(0x1cc)](_0x40295b=>_0x40295b!==''):[''];_0x5c2309[_0x527f7d(0x202)](_0x46e52e[_0x527f7d(0x1e1)],0x0)&&_0x46e52e[_0x527f7d(0x1f8)]('');_0x46e52e[_0x527f7d(0x1d0)](_0x465224=>{const _0x4de707=_0x527f7d;_0x232ffa[_0x4de707(0x1d0)](_0x198465=>{const _0x2e2c48=_0x4de707;let _0x3ae969=_0x5c2309['DSLAj'](helper['getPlatformName'](_0x198465,'_'),'_'+Date[_0x2e2c48(0x201)]());_0x465224&&(_0x3ae969+='_'+_0x465224);if(_0x465224&&(!_0x5d4ae4[_0x5c2309[_0x2e2c48(0x207)]]||!_0x5d4ae4[_0x5c2309['haQnh']][_0x465224]))return;const _0x2bf679={..._0x16a9f1};_0x2bf679['desiredCapabilities']=_0x198465;const _0x20442d=_0x2bf679;_0x47b64c[_0x3ae969]=_0x465224?helper[_0x2e2c48(0x1f2)](_0x5d4ae4[_0x5c2309[_0x2e2c48(0x207)]][_0x465224],_0x20442d):_0x20442d,_0x716f43[_0x2e2c48(0x1f8)](_0x3ae969);});});!_0x49ddd7['test_settings']&&(_0x49ddd7[_0x527f7d(0x1dc)]={});_0x49ddd7['test_settings']={..._0x49ddd7[_0x527f7d(0x1dc)],..._0x47b64c};const _0x4b2939=path[_0x527f7d(0x1d4)](__dirname,_0x5c2309['OcHsg']);fs['writeFileSync'](_0x4b2939,JSON[_0x527f7d(0x1e9)](_0x49ddd7)),_0x5c2309['NIzQz'](removeExistingEnvs,_0x256dbe);const _0x47e53d=_0x5c2309[_0x527f7d(0x1fa)](spawn,/^win/[_0x527f7d(0x1d5)](process['platform'])?_0x5c2309[_0x527f7d(0x1e4)]:_0x5c2309['dcQIj'],[_0x5c2309[_0x527f7d(0x1e2)],_0x4b2939,..._0x256dbe[_0x527f7d(0x1cf)](0x1),_0x5c2309[_0x527f7d(0x1ed)],_0x716f43[_0x527f7d(0x1d4)](',')],{'stdio':_0x5c2309[_0x527f7d(0x1ee)]});_0x47e53d['on'](_0x5c2309['IYlIe'],async _0x322ade=>{const _0x3b59ad=_0x527f7d;logger['debug'](_0x3b59ad(0x1de)+_0x322ade),logger[_0x3b59ad(0x1da)]('Deleting\x20'+_0x4b2939),fs['unlinkSync'](_0x4b2939);});}function a37_0x2276(){const _0x3ea05f=['start_process','nightwatch.conf.js','11880190ABuXXo','now','CzXpD','nightwatch.json','host','path','splice','haQnh','../utils/constants','modifyBrowserStackW3CCaps','../../helpers/logger','1606685ovQQzO','selenium','JvuwU','useW3C','isUndefined','port','platforms','filter','20NQdsXS','Getting\x20your\x20nightwatch\x20configs\x20from\x20','slice','forEach','15961650XyvkoI','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','findIndex','join','test','38916llGpUx','child_process','env','2498594ODkPlH','info','nightwatch.cmd','test_settings','ekojO','child\x20process\x20exited\x20with\x20code\x20','dcQIj','cwd','length','GXlDT','306303xQVSZj','freLc','../../helpers/BrowserStackSetup','trim','config','bAyXC','stringify','nightwatch','24dLqqri','EamzB','qDSXn','HCyLB','../../helpers/helper','modifyBrowserStackCaps','HhYwH','mergeDeep','existsSync','mWCum','split','exports','nightwatch-browserstack.json','push','535tvYEnj','IGyDg','--config','625338sUsblT','winstonLogger'];a37_0x2276=function(){return _0x3ea05f;};return a37_0x2276();}module[a37_0x49ff23(0x1f6)]=run;
@@ -1 +1 @@
1
- function a38_0x6955(){const _0x2bd274=['134732JGjVAl','currentTest','542049eyHJkN','measureWrapper','accessibilityPlatform','xrIxP','BBBbC','parse','browser_version','EXrNf','accessibilityOptions.includeIssueType.needsReview','RartC','fnbLo','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','buact','scannerProcessingTimeout','wcagVersion','5jvmtoT','accessibilityOptions.scannerProcessingTimeout','1432585tjsAHX','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','browser','name','getAccessibilityResultsSummary','GsVjV','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','UcUKW','kvJwx','browserstack.accessibility','chromium','accessibilityOptions','Performing\x20scan\x20with\x20method:\x20','bznNM','bstackSdkArgs','getAccessibilityResults','../../helpers/logger','wsEndpoint','iyqiq','util','WebDriver','JTatU','debug','HbVTg','accessibilityOptions.includeIssueType.bestPractice','dweoQ','scannerVersion','../../helpers/helper','executeAsyncScript','AwQDT','GdLcQ','workerInfo','setAccessibilityCapabilities','format','plDre','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','cjxJp','agMHL','dscur','FvoUI','winstonLogger','(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','691688CLuzwG','connectOptions','QOKSc','dVNNZ','pihzt','stringify','accessibilityOptions.wcagVersion','PERFORM_SCAN','testInfo','chrome','playwright-chromium','144061NSMlzA','error','PVbjY','No\x20summaryResults\x20found.','includes','429762SEoeai','rcCOf','command','replace','(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','includeIssueType','env','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','latest','evaluate','constructor','browserName','izprz','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','LOdwA','rrHJx','processAccessibilityCaps','__workerDetails','accessibilityOptions.authToken','dyRsl','../../helpers/performance/performance-tester','BzOcU','MiJqC','../../helpers/accessibility-automation/scripts','aNKJW','127114LmpXEM','No\x20accessibility\x20results\x20were\x20found.','performScan','use','XDAUB','\x20page:\x20','PlpKN','deviceName','warn','nDAlL','FJeNg','jmsGi','ZHnuH','browserStackExecuteDriver','IZOAJ'];a38_0x6955=function(){return _0x2bd274;};return a38_0x6955();}const a38_0x19977c=a38_0x43cb;(function(_0x525aa5,_0x5bbb6e){const _0x49cc67=a38_0x43cb,_0x1d3154=_0x525aa5();while(!![]){try{const _0xec3535=parseInt(_0x49cc67(0x181))/0x1+parseInt(_0x49cc67(0x19f))/0x2+-parseInt(_0x49cc67(0x1b0))/0x3+parseInt(_0x49cc67(0x1ae))/0x4+parseInt(_0x49cc67(0x1bf))/0x5*(-parseInt(_0x49cc67(0x186))/0x6)+parseInt(_0x49cc67(0x1c1))/0x7+-parseInt(_0x49cc67(0x176))/0x8;if(_0xec3535===_0x5bbb6e)break;else _0x1d3154['push'](_0x1d3154['shift']());}catch(_0x588474){_0x1d3154['push'](_0x1d3154['shift']());}}}(a38_0x6955,0x1a2b1));function a38_0x43cb(_0x3c7699,_0x1ae9d0){const _0x69553f=a38_0x6955();return a38_0x43cb=function(_0x43cb41,_0x3bb068){_0x43cb41=_0x43cb41-0x155;let _0x569fcc=_0x69553f[_0x43cb41];return _0x569fcc;},a38_0x43cb(_0x3c7699,_0x1ae9d0);}const util=require(a38_0x19977c(0x15f)),logger=require(a38_0x19977c(0x15c))[a38_0x19977c(0x174)],{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined,isBrowserstackInfra}=require(a38_0x19977c(0x167)),scripts=require(a38_0x19977c(0x19d)),PerformanceTester=require(a38_0x19977c(0x19a)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../../helpers/performance/constants');exports['browserStackEvaluate']=async(_0x2d29d5,_0x31fb69,_0x12c0ca={})=>{const _0x165ceb=a38_0x19977c,_0x381ea7={};_0x381ea7[_0x165ceb(0x173)]=_0x165ceb(0x15a);const _0x1458ce=_0x381ea7;return await _0x2d29d5[_0x165ceb(0x18f)](_0x165ceb(0x175)+_0x31fb69[_0x165ceb(0x189)](/arguments/g,_0x1458ce[_0x165ceb(0x173)])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON[_0x165ceb(0x17b)](_0x12c0ca)+')');},exports[a38_0x19977c(0x1ac)]=async(_0x3ed0ca,_0x294f33,_0x3d874f={})=>{const _0x1f887d=a38_0x19977c,_0x322100={};_0x322100['aNKJW']=function(_0x5861c7,_0xeb3691){return _0x5861c7===_0xeb3691;},_0x322100['TtWzR']=_0x1f887d(0x160),_0x322100[_0x1f887d(0x1a3)]='Playwright',_0x322100[_0x1f887d(0x171)]=_0x1f887d(0x15a);const _0x384b51=_0x322100;if(_0x384b51[_0x1f887d(0x19e)](_0x3ed0ca[_0x1f887d(0x190)]['name'],_0x384b51['TtWzR']))return await _0x3ed0ca[_0x1f887d(0x168)](_0x294f33,_0x3d874f);else{if(_0x384b51[_0x1f887d(0x19e)](_0x3ed0ca[_0x1f887d(0x190)][_0x1f887d(0x1c6)],_0x384b51['XDAUB']))return await _0x3ed0ca['executeScript'](_0x1f887d(0x18a)+_0x294f33[_0x1f887d(0x189)](/arguments/g,_0x384b51[_0x1f887d(0x171)])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON[_0x1f887d(0x17b)](_0x3d874f)+')');}},exports[a38_0x19977c(0x16c)]=async _0xbdc414=>{const _0x52b9e6=a38_0x19977c,_0x36d5dd={};_0x36d5dd[_0x52b9e6(0x1ca)]=_0x52b9e6(0x17c),_0x36d5dd[_0x52b9e6(0x169)]=_0x52b9e6(0x1c0),_0x36d5dd[_0x52b9e6(0x1aa)]=_0x52b9e6(0x164),_0x36d5dd[_0x52b9e6(0x1b9)]=_0x52b9e6(0x1b8),_0x36d5dd['PlpKN']=_0x52b9e6(0x198),_0x36d5dd[_0x52b9e6(0x16a)]='accessibilityOptions.scannerVersion';const _0x23614b=_0x36d5dd;_0xbdc414[_0x52b9e6(0x157)]&&(_0xbdc414[_0x52b9e6(0x157)][_0x52b9e6(0x1be)]&&(_0xbdc414[_0x23614b['UcUKW']]=_0xbdc414[_0x52b9e6(0x157)][_0x52b9e6(0x1be)]),_0xbdc414[_0x52b9e6(0x157)][_0x52b9e6(0x1bd)]&&(_0xbdc414[_0x23614b[_0x52b9e6(0x169)]]=_0xbdc414[_0x52b9e6(0x157)][_0x52b9e6(0x1bd)]),_0xbdc414[_0x52b9e6(0x157)][_0x52b9e6(0x18b)]&&(_0xbdc414[_0x23614b['jmsGi']]=_0xbdc414[_0x52b9e6(0x157)][_0x52b9e6(0x18b)]['bestPractice'],_0xbdc414[_0x23614b[_0x52b9e6(0x1b9)]]=_0xbdc414[_0x52b9e6(0x157)][_0x52b9e6(0x18b)]['needsReview']));const _0x77ceb7=JSON[_0x52b9e6(0x1b5)](process[_0x52b9e6(0x18c)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x52b9e6(0x166)];_0xbdc414[_0x23614b[_0x52b9e6(0x1a5)]]=process[_0x52b9e6(0x18c)]['BS_A11Y_JWT'],_0xbdc414[_0x23614b[_0x52b9e6(0x16a)]]=_0x77ceb7,delete _0xbdc414[_0x52b9e6(0x157)];},exports[a38_0x19977c(0x15b)]=async _0x5b9535=>{const _0x3b1c2c=a38_0x19977c,_0x55cb1f={};_0x55cb1f[_0x3b1c2c(0x19c)]=_0x3b1c2c(0x1a0),_0x55cb1f['bznNM']=_0x3b1c2c(0x18d);const _0x35bdb3=_0x55cb1f;if(global[_0x3b1c2c(0x1b2)])try{const details={'url':await _0x5b9535.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(_0x5b9535,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x5b9535,scripts.getResults);},{...details})();return res;}catch{return logger[_0x3b1c2c(0x182)](_0x35bdb3[_0x3b1c2c(0x19c)]),[];}else return logger[_0x3b1c2c(0x1a7)](_0x35bdb3[_0x3b1c2c(0x159)]),[];},exports['performScan']=async(_0x3b5ee0,_0x24196d='')=>{const _0x4ec8f6=a38_0x19977c;logger['debug'](_0x4ec8f6(0x158)+_0x24196d+_0x4ec8f6(0x1a4)+_0x3b5ee0);const _0x4358dd={'url':await _0x3b5ee0['url'](),'testhub_btcer_uuid':global[_0x4ec8f6(0x197)]?.[_0x4ec8f6(0x1af)]?.['id']};if(global['accessibilityPlatform'])return await PerformanceTester[_0x4ec8f6(0x1b1)](PerformanceA11yEvents[_0x4ec8f6(0x17d)],async()=>{const _0xb02ec1=_0x4ec8f6,_0x5c057d={};_0x5c057d[_0xb02ec1(0x188)]=_0x24196d;const _0x55cf37=await exports['browserStackEvaluate'](_0x3b5ee0,scripts[_0xb02ec1(0x1a1)],_0x5c057d);return _0x55cf37;},{'command':_0x24196d,..._0x4358dd})();},exports[a38_0x19977c(0x1c7)]=async _0x378feb=>{const _0x367b5f=a38_0x19977c,_0x1e874c={};_0x1e874c[_0x367b5f(0x1bc)]=_0x367b5f(0x184),_0x1e874c['LOdwA']=_0x367b5f(0x1c9);const _0x5b6b27=_0x1e874c;if(global[_0x367b5f(0x1b2)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x378feb,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x378feb,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x367b5f(0x162)](_0x5b6b27[_0x367b5f(0x1bc)]),{};}else return logger[_0x367b5f(0x1a7)](_0x5b6b27[_0x367b5f(0x194)]),{};},exports['platformValidation']=async _0x23955a=>{const _0x109b40=a38_0x19977c,_0x4ff666={'fnbLo':function(_0x4f84a0,_0x59dfcf){return _0x4f84a0!==_0x59dfcf;},'rcCOf':_0x109b40(0x1c3),'GsVjV':_0x109b40(0x17f),'rrHJx':_0x109b40(0x180),'HbVTg':_0x109b40(0x156),'htmql':_0x109b40(0x193),'BBBbC':function(_0xe8c19d,_0x380e30){return _0xe8c19d(_0x380e30);},'wfqSD':function(_0x20aaf1){return _0x20aaf1();},'mwdhW':function(_0x1889dc,_0x159b5f){return _0x1889dc<_0x159b5f;},'dVNNZ':_0x109b40(0x1bb),'cjxJp':function(_0x58f0bc,_0x4dfe09){return _0x58f0bc===_0x4dfe09;},'dyRsl':_0x109b40(0x18e),'JTatU':function(_0x138817,_0x4ad160){return _0x138817>_0x4ad160;},'xrIxP':_0x109b40(0x1c4)};try{if(!_0x4ff666[_0x109b40(0x1ba)](_0x23955a[_0x109b40(0x1a6)],''))return logger[_0x109b40(0x1a7)](_0x4ff666[_0x109b40(0x187)]),![];const _0x4c9a67=_0x23955a[_0x109b40(0x1c5)];if(![_0x4ff666[_0x109b40(0x1c8)],_0x4ff666[_0x109b40(0x195)],_0x4ff666[_0x109b40(0x163)]][_0x109b40(0x185)](_0x4c9a67))return logger[_0x109b40(0x1a7)](_0x4ff666['htmql']),![];const _0x43e6f6=_0x4ff666[_0x109b40(0x1b4)](parseInt,_0x23955a[_0x109b40(0x1b6)]);!_0x4ff666['wfqSD'](isBrowserstackInfra)&&(!_0x4ff666['mwdhW'](_0x43e6f6,0x64)&&logger[_0x109b40(0x1a7)](_0x4ff666[_0x109b40(0x179)]));if(!(_0x4ff666[_0x109b40(0x170)](_0x43e6f6,_0x4ff666[_0x109b40(0x199)])||_0x4ff666[_0x109b40(0x161)](_0x43e6f6,0x5e)))return logger[_0x109b40(0x1a7)](_0x4ff666[_0x109b40(0x1b3)]),![];}catch(_0x1abe98){logger[_0x109b40(0x162)](_0x109b40(0x1c2)+util[_0x109b40(0x16d)](_0x1abe98));}return!![];},exports[a38_0x19977c(0x196)]=(_0x29607e,_0x53bc48,_0x51df00)=>{const _0x2795cd=a38_0x19977c,_0x565ffd={'QOKSc':function(_0x41d43e){return _0x41d43e();},'BzOcU':_0x2795cd(0x155),'FJeNg':function(_0x31eca2,_0x31a0ab){return _0x31eca2===_0x31a0ab;},'plDre':'chrome','iyqiq':function(_0x2e87c7,_0x4945cc){return _0x2e87c7===_0x4945cc;},'kvJwx':_0x2795cd(0x180),'ikVhS':function(_0x3b2d1e,_0x391461){return _0x3b2d1e===_0x391461;},'IZOAJ':_0x2795cd(0x193),'PVbjY':function(_0x394f70){return _0x394f70();},'izprz':function(_0x16c79d,_0x266586){return _0x16c79d>_0x266586;},'ZHnuH':_0x2795cd(0x1bb),'dscur':_0x2795cd(0x18e),'nDAlL':_0x2795cd(0x1c4),'EXrNf':function(_0x1c4de0,_0x18bc0a){return _0x1c4de0(_0x18bc0a);},'pihzt':_0x2795cd(0x1c3),'dweoQ':function(_0x353664,_0x2135ee){return _0x353664+_0x2135ee;}};try{if(_0x565ffd[_0x2795cd(0x178)](isAccessibilityAutomationSession)){global[_0x2795cd(0x1b2)]=!![];!_0x29607e[_0x565ffd[_0x2795cd(0x19b)]]&&(global[_0x2795cd(0x1b2)]=![]);!(_0x565ffd[_0x2795cd(0x1a9)](_0x29607e[_0x2795cd(0x191)],_0x565ffd['plDre'])||_0x565ffd[_0x2795cd(0x15e)](_0x29607e[_0x2795cd(0x191)],_0x565ffd['kvJwx'])||_0x565ffd[_0x2795cd(0x15e)](_0x29607e['browser'],_0x565ffd[_0x2795cd(0x16e)])||_0x565ffd['ikVhS'](_0x29607e[_0x2795cd(0x1c5)],_0x565ffd[_0x2795cd(0x1cb)]))&&(logger[_0x2795cd(0x1a7)](_0x565ffd[_0x2795cd(0x1ad)]),global[_0x2795cd(0x1b2)]=![]);!_0x565ffd[_0x2795cd(0x183)](isBrowserstackInfra)&&(!_0x565ffd[_0x2795cd(0x192)](_0x29607e[_0x2795cd(0x1b6)],0x64)&&logger[_0x2795cd(0x1a7)](_0x565ffd[_0x2795cd(0x1ab)]));!(_0x565ffd['ikVhS'](_0x29607e[_0x2795cd(0x1b6)],_0x565ffd[_0x2795cd(0x172)])||_0x565ffd[_0x2795cd(0x192)](_0x29607e['browser_version'],0x5e))&&(logger['warn'](_0x565ffd[_0x2795cd(0x1a8)]),global[_0x2795cd(0x1b2)]=![]);!_0x565ffd['EXrNf'](isUndefined,_0x29607e[_0x2795cd(0x1a6)])&&(logger['warn'](_0x565ffd[_0x2795cd(0x17a)]),global[_0x2795cd(0x1b2)]=![]);if(!global[_0x2795cd(0x1b2)]){_0x29607e[_0x565ffd[_0x2795cd(0x19b)]]=![];const _0x42766d=_0x565ffd[_0x2795cd(0x165)](_0x53bc48,_0x565ffd[_0x2795cd(0x1b7)](encodeURIComponent,JSON['stringify'](_0x29607e)));_0x51df00&&(_0x51df00[_0x2795cd(0x1af)][_0x2795cd(0x17e)]['project'][_0x2795cd(0x1a2)][_0x2795cd(0x177)][_0x2795cd(0x15d)]=_0x42766d,_0x51df00[_0x2795cd(0x16b)]['project'][_0x2795cd(0x1a2)][_0x2795cd(0x177)][_0x2795cd(0x15d)]=_0x42766d);}}else global[_0x2795cd(0x1b2)]=![];}catch(_0xa44fa5){logger['debug'](_0x2795cd(0x16f)+util[_0x2795cd(0x16d)](_0xa44fa5));}};
1
+ const a38_0x4aa73b=a38_0x3278;(function(_0x32fdde,_0x46de48){const _0x253d68=a38_0x3278,_0x425016=_0x32fdde();while(!![]){try{const _0xa655f2=parseInt(_0x253d68(0x1df))/0x1*(-parseInt(_0x253d68(0x1a9))/0x2)+parseInt(_0x253d68(0x1aa))/0x3+parseInt(_0x253d68(0x1ca))/0x4+parseInt(_0x253d68(0x1d8))/0x5*(-parseInt(_0x253d68(0x20d))/0x6)+parseInt(_0x253d68(0x19b))/0x7*(-parseInt(_0x253d68(0x1a8))/0x8)+-parseInt(_0x253d68(0x199))/0x9+-parseInt(_0x253d68(0x1e3))/0xa*(-parseInt(_0x253d68(0x1f3))/0xb);if(_0xa655f2===_0x46de48)break;else _0x425016['push'](_0x425016['shift']());}catch(_0x4879f0){_0x425016['push'](_0x425016['shift']());}}}(a38_0xab91,0x319a2));function a38_0x3278(_0x7bd4b,_0x3ef28f){const _0xab91c1=a38_0xab91();return a38_0x3278=function(_0x327817,_0x194148){_0x327817=_0x327817-0x199;let _0xb43aab=_0xab91c1[_0x327817];return _0xb43aab;},a38_0x3278(_0x7bd4b,_0x3ef28f);}function a38_0xab91(){const _0x1902d3=['WebDriver','../../helpers/performance/constants','FMOcX','replace','playwright-chromium','browserStackEvaluate','accessibilityOptions.wcagVersion','Urhlv','IfBcf','YNmsf','scannerProcessingTimeout','SjFmP','debug','winstonLogger','currentTest','iuBpG','HBBes','\x20page:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','browserstack.accessibility','name','ODaRh','fespl','12logJHT','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','No\x20summaryResults\x20found.','includeIssueType','3353742thZtNS','HPUOk','1656802NFQPrS','FPjUR','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','performScan','measureWrapper','accessibilityOptions.includeIssueType.needsReview','browserName','BHmBf','needsReview','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','latest','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','warn','8ONyUja','14988dZXGRc','984060vLWVJH','format','JfbsR','AWSsq','getAccessibilityResults','LYMnY','executeScript','accessibilityOptions.includeIssueType.bestPractice','project','sALUh','command','No\x20accessibility\x20results\x20were\x20found.','Agpgl','NatLY','../../helpers/accessibility-automation/scripts','../../helpers/helper','platformValidation','bstackSdkArgs','../../helpers/logger','SRKUv','browser_version','QOWSU','deviceName','AsSoS','bestPractice','getAccessibilityResultsSummary','accessibilityOptions','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','iaAoe','stringify','error','sBVqJ','385048ITEjHm','env','RYQFL','browser','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','zKSZB','MGRZz','accessibilityPlatform','ZtmBf','JaCIA','../../helpers/accessibility-automation/helper','AcQFp','testInfo','wcagVersion','25760Bbizmb','ShWWz','pqTfD','accessibilityOptions.scannerProcessingTimeout','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','parse','chrome','19VDidyV','jIPVu','zytgw','accessibilityOptions.scannerVersion','5409020jFfIGR','ZjuGz','ZSAwA','PERFORM_SCAN','util','connectOptions','EYqvn','ttfjy','setAccessibilityCapabilities','constructor','__workerDetails','lWvnA','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','accessibilityOptions.authToken','Playwright','11uiBQip','use','evaluate'];a38_0xab91=function(){return _0x1902d3;};return a38_0xab91();}const util=require(a38_0x4aa73b(0x1e7)),logger=require(a38_0x4aa73b(0x1bc))[a38_0x4aa73b(0x203)],{isAccessibilityAutomationSession}=require(a38_0x4aa73b(0x1d4)),{isUndefined,isBrowserstackInfra}=require(a38_0x4aa73b(0x1b9)),scripts=require(a38_0x4aa73b(0x1b8)),PerformanceTester=require('../../helpers/performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a38_0x4aa73b(0x1f7));exports['browserStackEvaluate']=async(_0x48613f,_0x57b500,_0xdcb608={})=>{const _0x34e9b9=a38_0x4aa73b,_0x1abe44={};_0x1abe44[_0x34e9b9(0x201)]='bstackSdkArgs';const _0x18d8a6=_0x1abe44;return await _0x48613f[_0x34e9b9(0x1f5)]('(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'+_0x57b500[_0x34e9b9(0x1f9)](/arguments/g,_0x18d8a6['SjFmP'])+_0x34e9b9(0x1dc)+JSON[_0x34e9b9(0x1c7)](_0xdcb608)+')');},exports['browserStackExecuteDriver']=async(_0x209f58,_0x102e4b,_0x35c1bf={})=>{const _0x383ef5=a38_0x4aa73b,_0x35a3aa={};_0x35a3aa[_0x383ef5(0x1c1)]=function(_0xe8ad00,_0x39f800){return _0xe8ad00===_0x39f800;},_0x35a3aa[_0x383ef5(0x1ee)]=_0x383ef5(0x1f6),_0x35a3aa[_0x383ef5(0x1c6)]=function(_0x2fa999,_0x87bff9){return _0x2fa999===_0x87bff9;},_0x35a3aa[_0x383ef5(0x20b)]=_0x383ef5(0x1f2),_0x35a3aa['ShWWz']=_0x383ef5(0x1bb);const _0x27c05c=_0x35a3aa;if(_0x27c05c[_0x383ef5(0x1c1)](_0x209f58['constructor']['name'],_0x27c05c[_0x383ef5(0x1ee)]))return await _0x209f58['executeAsyncScript'](_0x102e4b,_0x35c1bf);else{if(_0x27c05c['iaAoe'](_0x209f58[_0x383ef5(0x1ec)][_0x383ef5(0x20a)],_0x27c05c[_0x383ef5(0x20b)]))return await _0x209f58[_0x383ef5(0x1b0)]('(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'+_0x102e4b[_0x383ef5(0x1f9)](/arguments/g,_0x27c05c[_0x383ef5(0x1d9)])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON[_0x383ef5(0x1c7)](_0x35c1bf)+')');}},exports[a38_0x4aa73b(0x1eb)]=async _0x1af24d=>{const _0x466067=a38_0x4aa73b,_0x2226a0={};_0x2226a0[_0x466067(0x1d0)]=_0x466067(0x1fc),_0x2226a0[_0x466067(0x1ad)]=_0x466067(0x1db),_0x2226a0[_0x466067(0x206)]=_0x466067(0x1b1),_0x2226a0['ZSAwA']=_0x466067(0x1a0),_0x2226a0[_0x466067(0x1d3)]=_0x466067(0x1f1),_0x2226a0[_0x466067(0x1ac)]=_0x466067(0x1e2);const _0x1ba829=_0x2226a0;_0x1af24d[_0x466067(0x1c4)]&&(_0x1af24d[_0x466067(0x1c4)][_0x466067(0x1d7)]&&(_0x1af24d[_0x1ba829[_0x466067(0x1d0)]]=_0x1af24d['accessibilityOptions'][_0x466067(0x1d7)]),_0x1af24d[_0x466067(0x1c4)][_0x466067(0x200)]&&(_0x1af24d[_0x1ba829[_0x466067(0x1ad)]]=_0x1af24d['accessibilityOptions']['scannerProcessingTimeout']),_0x1af24d[_0x466067(0x1c4)]['includeIssueType']&&(_0x1af24d[_0x1ba829[_0x466067(0x206)]]=_0x1af24d[_0x466067(0x1c4)][_0x466067(0x210)][_0x466067(0x1c2)],_0x1af24d[_0x1ba829[_0x466067(0x1e5)]]=_0x1af24d['accessibilityOptions']['includeIssueType'][_0x466067(0x1a3)]));const _0x471896=JSON[_0x466067(0x1dd)](process[_0x466067(0x1cb)][_0x466067(0x208)])['scannerVersion'];_0x1af24d[_0x1ba829[_0x466067(0x1d3)]]=process['env']['BS_A11Y_JWT'],_0x1af24d[_0x1ba829['JfbsR']]=_0x471896,delete _0x1af24d[_0x466067(0x1c4)];},exports[a38_0x4aa73b(0x1ae)]=async _0x403cc1=>{const _0x4774d6=a38_0x4aa73b,_0x3d68b6={};_0x3d68b6[_0x4774d6(0x19c)]=_0x4774d6(0x1b5),_0x3d68b6[_0x4774d6(0x1a2)]=_0x4774d6(0x1ce);const _0x23a6d3=_0x3d68b6;if(global[_0x4774d6(0x1d1)])try{const details={'url':await _0x403cc1.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(_0x403cc1,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x403cc1,scripts.getResults);},{...details})();return res;}catch{return logger[_0x4774d6(0x1c8)](_0x23a6d3['FPjUR']),[];}else return logger['warn'](_0x23a6d3[_0x4774d6(0x1a2)]),[];},exports[a38_0x4aa73b(0x19e)]=async(_0x1854a7,_0x3dc005='')=>{const _0x2b10ad=a38_0x4aa73b;logger['debug']('Performing\x20scan\x20with\x20method:\x20'+_0x3dc005+_0x2b10ad(0x207)+_0x1854a7);const _0x2a2464={'url':await _0x1854a7['url'](),'testhub_btcer_uuid':global[_0x2b10ad(0x1ed)]?.['currentTest']?.['id']};if(global[_0x2b10ad(0x1d1)])return await PerformanceTester[_0x2b10ad(0x19f)](PerformanceA11yEvents[_0x2b10ad(0x1e6)],async()=>{const _0x2f02c6=_0x2b10ad,_0x4d04f2={};_0x4d04f2[_0x2f02c6(0x1b4)]=_0x3dc005;const _0x2c4a32=await exports[_0x2f02c6(0x1fb)](_0x1854a7,scripts[_0x2f02c6(0x19e)],_0x4d04f2);return _0x2c4a32;},{'command':_0x3dc005,..._0x2a2464})();},exports[a38_0x4aa73b(0x1c3)]=async _0x4ad4c9=>{const _0x12c33e=a38_0x4aa73b,_0x4a582e={};_0x4a582e['pqTfD']=_0x12c33e(0x20f),_0x4a582e[_0x12c33e(0x1bd)]=_0x12c33e(0x20e);const _0x11cfed=_0x4a582e;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(_0x4ad4c9,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x4ad4c9,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x12c33e(0x202)](_0x11cfed[_0x12c33e(0x1da)]),{};}else return logger[_0x12c33e(0x1a7)](_0x11cfed[_0x12c33e(0x1bd)]),{};},exports[a38_0x4aa73b(0x1ba)]=async _0x127ff4=>{const _0x2c8d39=a38_0x4aa73b,_0x4c3961={'BGJAK':function(_0x2de1e,_0x1b1497){return _0x2de1e!==_0x1b1497;},'qyfjz':_0x2c8d39(0x1c5),'LYMnY':_0x2c8d39(0x1de),'Agpgl':_0x2c8d39(0x1fa),'zKSZB':'chromium','HFoVO':_0x2c8d39(0x1f0),'EYqvn':function(_0x1c26c7,_0x43d4c4){return _0x1c26c7(_0x43d4c4);},'AcQFp':function(_0x2e0563){return _0x2e0563();},'YNmsf':function(_0x381459,_0x4aaf1c){return _0x381459<_0x4aaf1c;},'RYQFL':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','IfBcf':function(_0x484866,_0x50cead){return _0x484866===_0x50cead;},'sALUh':_0x2c8d39(0x1a5),'ZtmBf':function(_0x17a803,_0x2ed9d6){return _0x17a803>_0x2ed9d6;},'HPUOk':_0x2c8d39(0x1a6)};try{if(!_0x4c3961['BGJAK'](_0x127ff4[_0x2c8d39(0x1c0)],''))return logger[_0x2c8d39(0x1a7)](_0x4c3961['qyfjz']),![];const _0xc68097=_0x127ff4['browser'];if(![_0x4c3961[_0x2c8d39(0x1af)],_0x4c3961[_0x2c8d39(0x1b6)],_0x4c3961[_0x2c8d39(0x1cf)]]['includes'](_0xc68097))return logger[_0x2c8d39(0x1a7)](_0x4c3961['HFoVO']),![];const _0x46c8f7=_0x4c3961[_0x2c8d39(0x1e9)](parseInt,_0x127ff4[_0x2c8d39(0x1be)]);!_0x4c3961[_0x2c8d39(0x1d5)](isBrowserstackInfra)&&(!_0x4c3961[_0x2c8d39(0x1ff)](_0x46c8f7,0x64)&&logger[_0x2c8d39(0x1a7)](_0x4c3961[_0x2c8d39(0x1cc)]));if(!(_0x4c3961[_0x2c8d39(0x1fe)](_0x46c8f7,_0x4c3961[_0x2c8d39(0x1b3)])||_0x4c3961[_0x2c8d39(0x1d2)](_0x46c8f7,0x5e)))return logger[_0x2c8d39(0x1a7)](_0x4c3961[_0x2c8d39(0x19a)]),![];}catch(_0x4550fb){logger[_0x2c8d39(0x202)](_0x2c8d39(0x1a4)+util[_0x2c8d39(0x1ab)](_0x4550fb));}return!![];},exports['processAccessibilityCaps']=(_0x12e452,_0x5661d4,_0x22c627)=>{const _0x3e6adb=a38_0x4aa73b,_0x47e103={'jIPVu':function(_0x1eb7ff){return _0x1eb7ff();},'FMOcX':_0x3e6adb(0x209),'zytgw':function(_0xf80275,_0x1fcc9e){return _0xf80275===_0x1fcc9e;},'dKBfv':_0x3e6adb(0x1de),'ZjuGz':_0x3e6adb(0x1fa),'NatLY':_0x3e6adb(0x1f0),'fespl':function(_0x15a0e5,_0x1c1952){return _0x15a0e5>_0x1c1952;},'kIbLd':_0x3e6adb(0x19d),'iuBpG':_0x3e6adb(0x1a5),'sBVqJ':_0x3e6adb(0x1a6),'Urhlv':function(_0x168d26,_0xc2964c){return _0x168d26(_0xc2964c);},'ttfjy':_0x3e6adb(0x1c5),'QOWSU':function(_0x6d7008,_0xff8a35){return _0x6d7008+_0xff8a35;}};try{if(_0x47e103[_0x3e6adb(0x1e0)](isAccessibilityAutomationSession)){global[_0x3e6adb(0x1d1)]=!![];!_0x12e452[_0x47e103[_0x3e6adb(0x1f8)]]&&(global[_0x3e6adb(0x1d1)]=![]);!(_0x47e103[_0x3e6adb(0x1e1)](_0x12e452[_0x3e6adb(0x1a1)],_0x47e103['dKBfv'])||_0x47e103[_0x3e6adb(0x1e1)](_0x12e452[_0x3e6adb(0x1a1)],_0x47e103[_0x3e6adb(0x1e4)])||_0x47e103[_0x3e6adb(0x1e1)](_0x12e452[_0x3e6adb(0x1cd)],_0x47e103['dKBfv'])||_0x47e103['zytgw'](_0x12e452[_0x3e6adb(0x1cd)],_0x47e103['ZjuGz']))&&(logger[_0x3e6adb(0x1a7)](_0x47e103[_0x3e6adb(0x1b7)]),global[_0x3e6adb(0x1d1)]=![]);!_0x47e103[_0x3e6adb(0x1e0)](isBrowserstackInfra)&&(!_0x47e103[_0x3e6adb(0x20c)](_0x12e452[_0x3e6adb(0x1be)],0x64)&&logger[_0x3e6adb(0x1a7)](_0x47e103['kIbLd']));!(_0x47e103[_0x3e6adb(0x1e1)](_0x12e452[_0x3e6adb(0x1be)],_0x47e103[_0x3e6adb(0x205)])||_0x47e103[_0x3e6adb(0x20c)](_0x12e452[_0x3e6adb(0x1be)],0x5e))&&(logger[_0x3e6adb(0x1a7)](_0x47e103[_0x3e6adb(0x1c9)]),global[_0x3e6adb(0x1d1)]=![]);!_0x47e103['Urhlv'](isUndefined,_0x12e452['deviceName'])&&(logger['warn'](_0x47e103[_0x3e6adb(0x1ea)]),global[_0x3e6adb(0x1d1)]=![]);if(!global[_0x3e6adb(0x1d1)]){_0x12e452[_0x47e103[_0x3e6adb(0x1f8)]]=![];const _0xbb9a51=_0x47e103[_0x3e6adb(0x1bf)](_0x5661d4,_0x47e103[_0x3e6adb(0x1fd)](encodeURIComponent,JSON['stringify'](_0x12e452)));_0x22c627&&(_0x22c627[_0x3e6adb(0x204)][_0x3e6adb(0x1d6)][_0x3e6adb(0x1b2)][_0x3e6adb(0x1f4)][_0x3e6adb(0x1e8)]['wsEndpoint']=_0xbb9a51,_0x22c627['workerInfo']['project'][_0x3e6adb(0x1f4)][_0x3e6adb(0x1e8)]['wsEndpoint']=_0xbb9a51);}}else global['accessibilityPlatform']=![];}catch(_0x147c87){logger[_0x3e6adb(0x202)](_0x3e6adb(0x1ef)+util[_0x3e6adb(0x1ab)](_0x147c87));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a39_0x11e2c6=a39_0x4e34;(function(_0x2d4da8,_0x3d77ca){const _0x18e49c=a39_0x4e34,_0x18fde9=_0x2d4da8();while(!![]){try{const _0x56f0b5=parseInt(_0x18e49c(0xd4))/0x1+-parseInt(_0x18e49c(0xb7))/0x2*(parseInt(_0x18e49c(0xbd))/0x3)+parseInt(_0x18e49c(0x160))/0x4+parseInt(_0x18e49c(0x15d))/0x5*(parseInt(_0x18e49c(0xca))/0x6)+-parseInt(_0x18e49c(0xbb))/0x7+-parseInt(_0x18e49c(0x138))/0x8+-parseInt(_0x18e49c(0x157))/0x9*(-parseInt(_0x18e49c(0x152))/0xa);if(_0x56f0b5===_0x3d77ca)break;else _0x18fde9['push'](_0x18fde9['shift']());}catch(_0x185064){_0x18fde9['push'](_0x18fde9['shift']());}}}(a39_0x3741,0xd88fb));function a39_0x3741(){const _0x528df6=['exitCode','BJRIa','ucwfW','W_OK','taahS','filter','constants','start','SDK_CLEANUP','win32','ndzui','../../helpers/helper','accessSync','hDqxi','measureWrapper','setBrowserstackConfig','homedir','npx','../v2/TestInfo','logLevel','DWgFz','BROWSERSTACK_SETUP_CONFIG_PATH','testContextOptions','3744400swPtsA','unlinkSync','end','PACKAGE_TYPE','KWeHb','join','filterBrowserstackArgs','./reporter/pwUtils','isYarnPnP','lhSTB','--disable-browserstack-automation','winstonLogger','./accessibility-helper','xXaLD','isUndefined','uNtRA','reportDotBrowserStackFolderNotAccessibleIssue','.browserstack','nNxYl','YkOWE','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','../v2/browserstackCLI','playwright','ZYRWN','trace_','requirePWModule','430efhSnn','concat','RufKo','../../helpers/test-observability/utils','accessibility','44181hRomyX','close','zUXzl','Ckbpd','initialize','configPath','111125iZnrEW','--grep','serializeToYamlString','3749192mlTzXv','../utils/constants','wrERa','mCNDl','../../helpers/utilities','forEach','slice','BROWSERSTACK_TEST_ACCESSIBILITY_YML','QlrKu','resolve','iCIzS','WEjpM','Proxy\x20url\x20:\x20','push','PLAYWRIGHT','writeFileSync','MODULE','readdirSync','dirname','cwd','config','startsWith','platform','USER_CONFIG_DETAILS_PATH','2RybrIZ','setFrameworkDetail','accessibilityOptions','SDK_PRE_INITIALIZE','6269228NtrrRy','nestedKeyValue','1625601FpUwTp','readFileSync','BROWSERSTACK_TEST_OBSERVABILITY','split','path','playwright-browserstack-sdk.config.cjs','exports','--disable-test-observability','Error\x20in\x20getting\x20funnel\x20data\x20results','getConfigPath','map','isFalse','dcnbJ','294tynIBt','reportConflictingEnvVarIssue','browserstackSetupConfig.json','GIDXd','../../helpers/performance/constants','inherit','env','OaWQr','debug','child_process','555146WWzSqw','apply','pw_result.json','cliConfig','indexOf','yarn','PlrRj','--config=','wwpVq','No\x20Proxy\x20:\x20','oWAYl','splice','vqScc','true','./reporter/test-details','findIndex','FYcYR','resolvedConfigFile','TyBbW','getPackageType','--config','BROWSERSTACK_PW_CONFIG_DIR','HTKSX','iiOSP','../../helpers/performance/performance-tester','playwright-browserstack-sdk.config.js','BROWSERSTACK_AUTOMATION','../v2/cliUtils','stop','existsSync','qKSgo','../utils/clientTroubleshootingService','bootstrap','../../helpers/BrowserStackSetup','Playwright\x20process\x20exited\x20with\x20code\x20','Deleting\x20','length','isRunning','yClXg','shutdown','Error\x20in\x20closing\x20playwright','browserstackAutomation','bCCKn','OpIPb','../../helpers/testhub/testhubHandler','getNoProxy','\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','launchBuild','QrWdA','BROWSERSTACK_RERUN','../../helpers/accessibility-automation/helper','testObservability','error','BrowserStack\x20config\x20file\x20not\x20found.','skipSessionName','finalExecution','getInstance','sPLGh','Gxumj','parse','QuNNi','BROWSERSTACK_RERUN_TESTS','SGzHn','validateRerunTestList','info','QYfti','errorMessage','qSXEx','HVlHn','FqdLR','getConfig','RPzua','OjJUs','eBDLU','Uyyzk','EVENTS','get'];a39_0x3741=function(){return _0x528df6;};return a39_0x3741();}const fs=require('fs'),path=require(a39_0x11e2c6(0xc1)),{spawn}=require(a39_0x11e2c6(0xd3)),{format}=require('util'),logger=require('../../helpers/logger')[a39_0x11e2c6(0x143)],{default:BrowserStackSetup}=require(a39_0x11e2c6(0xf5)),helper=require(a39_0x11e2c6(0x12c)),utilities=require(a39_0x11e2c6(0x164)),constants=require(a39_0x11e2c6(0x161)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getConfigLoaderPath}=require(a39_0x11e2c6(0x13f)),{checkAccessibilityPlatformConfig}=require(a39_0x11e2c6(0x106)),{setAccessibilityCapabilities}=require(a39_0x11e2c6(0x144)),{printBuildLink}=require(a39_0x11e2c6(0x155)),TestDetails=require(a39_0x11e2c6(0xe2)),TestHubHandler=require(a39_0x11e2c6(0x100)),PerformanceTester=require(a39_0x11e2c6(0xec)),BrowserstackCLI=require(a39_0x11e2c6(0x14d)),PerformanceEvents=require(a39_0x11e2c6(0xce))[a39_0x11e2c6(0x11f)],CLIUtils=require(a39_0x11e2c6(0xef)),TestInfo=require(a39_0x11e2c6(0x133)),ClientTroubleShootingService=require(a39_0x11e2c6(0xf3)),getUserPlaywrightConfig=async(_0x24beca,_0x3c0bbe)=>{const _0x46c162=a39_0x11e2c6,_0x2cbd37={'VRyiJ':function(_0x13ed83){return _0x13ed83();},'SGzHn':function(_0x102a75,_0x34a50d){return _0x102a75(_0x34a50d);},'QYfti':_0x46c162(0xe5),'iiOSP':_0x46c162(0xdb)},_0x120161=!helper['isUndefined'](_0x24beca['config']),_0x161da3=_0x120161?path['resolve'](process[_0x46c162(0xb2)](),_0x24beca[_0x46c162(0xb3)]):process[_0x46c162(0xb2)](),{resolveConfigFile:_0xe53d9b,resolveConfigLocation:_0x291ebf}=helper[_0x46c162(0x151)][_0x46c162(0xd5)](null,_0x2cbd37['VRyiJ'](getConfigLoaderPath)),_0x2eb9e0=_0xe53d9b?_0x2cbd37[_0x46c162(0x112)](_0xe53d9b,_0x161da3):helper[_0x46c162(0xbc)](_0x2cbd37['SGzHn'](_0x291ebf,_0x161da3),[_0x2cbd37[_0x46c162(0x115)]]),_0x2a3faf={};if(_0x120161){const _0x32e81b=_0x3c0bbe[_0x46c162(0xe3)](_0x51227d=>_0x51227d===_0x46c162(0xe8)||_0x51227d==='-c'||_0x51227d[_0x46c162(0xb4)](_0x46c162(0xdb)));_0x3c0bbe[_0x46c162(0xdf)](_0x32e81b,_0x3c0bbe[_0x32e81b][_0x46c162(0xb4)](_0x2cbd37[_0x46c162(0xeb)])?0x1:0x2);}const _0x5ac3da={};return _0x5ac3da[_0x46c162(0xc1)]=_0x2eb9e0,_0x5ac3da[_0x46c162(0xb3)]=_0x2a3faf,_0x5ac3da;},handleO11yRerun=_0x47847a=>{const _0x4c4526=a39_0x11e2c6,_0x13cb9d={};_0x13cb9d['qKSgo']=_0x4c4526(0x15e);const _0x1cc119=_0x13cb9d,_0x192cae=helper['isTrue'](process[_0x4c4526(0xd0)][_0x4c4526(0x105)]);if(_0x192cae){const _0x37e4cb=process['env'][_0x4c4526(0x111)],_0x5d724a=[];if(helper[_0x4c4526(0x113)](_0x37e4cb)&&!helper[_0x4c4526(0x146)](_0x37e4cb)){_0x37e4cb['split'](',')[_0x4c4526(0xc7)](_0x1af7b9=>{const _0x1a5e60=_0x4c4526;_0x5d724a[_0x1a5e60(0xac)]('('+_0x1af7b9['trim']()+')');});const _0x44f67d='^'+_0x5d724a[_0x4c4526(0x13d)]('|')+'$';_0x47847a[_0x4c4526(0xac)](_0x1cc119[_0x4c4526(0xf2)],_0x44f67d);}}},spawnOriginalProcess=_0x536db0=>{const _0x2cdeb7=a39_0x11e2c6,_0x36499d={'hDqxi':function(_0x3ad84d,_0x58676a,_0x12bbca,_0x29d5a6){return _0x3ad84d(_0x58676a,_0x12bbca,_0x29d5a6);},'TyBbW':_0x2cdeb7(0xd9),'HVlHn':_0x2cdeb7(0x132),'OUkLe':_0x2cdeb7(0x14e),'RPzua':function(_0x57e356,_0x198026){return _0x57e356===_0x198026;},'ZYRWN':_0x2cdeb7(0x12a),'YkOWE':_0x2cdeb7(0xcf)};_0x36499d[_0x2cdeb7(0x12e)](spawn,helper[_0x2cdeb7(0x140)]()?_0x36499d[_0x2cdeb7(0xe6)]:_0x36499d[_0x2cdeb7(0x118)],[_0x36499d['OUkLe'],..._0x536db0[_0x2cdeb7(0x166)](0x1)],{'shell':_0x36499d[_0x2cdeb7(0x11b)](process[_0x2cdeb7(0xb5)],_0x36499d[_0x2cdeb7(0x14f)]),'stdio':_0x36499d[_0x2cdeb7(0x14b)],'cwd':process['cwd']()});},isTestCommand=(_0xcbb52,_0x184482)=>{const _0x13f40d=a39_0x11e2c6,_0x536357={};_0x536357['NuYCy']=function(_0xeb7062,_0x264d1a){return _0xeb7062>_0x264d1a;},_0x536357['taahS']=function(_0x53f042,_0x2c4ef8){return _0x53f042===_0x2c4ef8;},_0x536357[_0x13f40d(0xcd)]='test';const _0x50232b=_0x536357;if(_0x50232b['NuYCy'](_0x184482[_0x13f40d(0xf8)],0x1)&&_0x50232b[_0x13f40d(0x125)](_0x184482[0x1],_0x50232b[_0x13f40d(0xcd)]))return!![];return![];};function a39_0x4e34(_0x2b9f70,_0x209245){const _0x3741a2=a39_0x3741();return a39_0x4e34=function(_0x4e3498,_0x166b16){_0x4e3498=_0x4e3498-0xa6;let _0x3e5188=_0x3741a2[_0x4e3498];return _0x3e5188;},a39_0x4e34(_0x2b9f70,_0x209245);}async function run(_0x2a5706,_0x229793,_0x17ca08){const _0xdc4117=a39_0x11e2c6,_0x3966f1={'FqdLR':function(_0x4156dc,_0x11cb85){return _0x4156dc(_0x11cb85);},'ndzui':_0xdc4117(0x149),'OjJUs':_0xdc4117(0xd6),'dcnbJ':function(_0x308265,_0x1b470c){return _0x308265+_0x1b470c;},'Uyyzk':_0xdc4117(0xc5),'KWeHb':function(_0x3d80b3){return _0x3d80b3();},'xXaLD':function(_0x4c584c,_0x2eed0d){return _0x4c584c+_0x2eed0d;},'qSXEx':_0xdc4117(0xfc),'Tjvvh':_0xdc4117(0x109),'iAxNV':function(_0x216728,_0x262433){return _0x216728<_0x262433;},'xvvcG':function(_0x1c591a,_0x58768b){return _0x1c591a===_0x58768b;},'ucwfW':'false','RufKo':_0xdc4117(0xc4),'Gxumj':function(_0x4d72e4,_0x192328){return _0x4d72e4>=_0x192328;},'QuNNi':function(_0x329ff2,_0x34d76a){return _0x329ff2===_0x34d76a;},'bCCKn':'automation','BJRIa':function(_0xb832b,_0x5d463b){return _0xb832b!=_0x5d463b;},'vqScc':function(_0x1bfc5f,_0x5c4c06,_0x961bf1){return _0x1bfc5f(_0x5c4c06,_0x961bf1);},'HTKSX':function(_0x3138be,_0x2e3b33){return _0x3138be(_0x2e3b33);},'PlrRj':_0xdc4117(0xe1),'QlrKu':function(_0xfca808,_0x12883c){return _0xfca808(_0x12883c);},'OaWQr':_0xdc4117(0xcc),'dYGkZ':_0xdc4117(0xc2),'ZFWOe':_0xdc4117(0xed),'lhSTB':function(_0x3eea02,_0x3e4710){return _0x3eea02-_0x3e4710;},'Ckbpd':'Updated\x20config\x20file\x20name\x20to\x20-\x20','xMgYk':function(_0x1b41a7,_0x59d8ce){return _0x1b41a7>_0x59d8ce;},'OGmRp':function(_0x183292,_0x162e8a,_0x57d338,_0x7bfe3a){return _0x183292(_0x162e8a,_0x57d338,_0x7bfe3a);},'khBKQ':_0xdc4117(0xd9),'lelfs':_0xdc4117(0x132),'oWAYl':_0xdc4117(0x14e),'yClXg':'test','zUXzl':_0xdc4117(0xe8),'OpIPb':_0xdc4117(0x12a),'sPLGh':_0xdc4117(0xcf),'FYcYR':_0xdc4117(0x158),'kTVrk':function(_0x3cce72,_0x40c406){return _0x3cce72|_0x40c406;},'iCIzS':'Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','DGGyc':function(_0x2dc07e,_0x462037){return _0x2dc07e+_0x462037;},'uNtRA':'Error\x20in\x20deleting\x20playwright\x20results','mCNDl':function(_0x2fc658,_0x225c51,_0x3fbb66){return _0x2fc658(_0x225c51,_0x3fbb66);},'DWgFz':function(_0x555969,_0x472513){return _0x555969(_0x472513);}};try{const _0x39390e=path[_0xdc4117(0x13d)](helper[_0xdc4117(0x131)](),_0x3966f1[_0xdc4117(0x12b)]);try{fs[_0xdc4117(0x12d)](_0x39390e,_0x3966f1['kTVrk'](fs[_0xdc4117(0x127)]['R_OK'],fs[_0xdc4117(0x127)][_0xdc4117(0x124)]));}catch(_0x6919da){ClientTroubleShootingService[_0xdc4117(0x148)]();}}catch(_0x31afa1){logger[_0xdc4117(0xd2)](_0x3966f1[_0xdc4117(0xc9)](_0x3966f1[_0xdc4117(0xa9)],_0x31afa1));}try{const _0x1154e3=path[_0xdc4117(0x13d)](helper[_0xdc4117(0x131)](),_0x3966f1[_0xdc4117(0x12b)],_0x3966f1[_0xdc4117(0x11c)]);fs[_0xdc4117(0xf1)](_0x1154e3)&&fs[_0xdc4117(0x139)](_0x1154e3);}catch(_0x121626){logger['debug'](_0x3966f1['DGGyc'](_0x3966f1[_0xdc4117(0x147)],_0x121626));}if(!_0x3966f1[_0xdc4117(0x163)](isTestCommand,_0x2a5706,_0x229793)){_0x3966f1[_0xdc4117(0x135)](spawnOriginalProcess,_0x229793);return;}await PerformanceTester[_0xdc4117(0x12f)](PerformanceEvents[_0xdc4117(0xba)],async()=>{const _0x4e7944=_0xdc4117,_0x52bd65={'wrERa':_0x3966f1['ndzui'],'eBDLU':_0x3966f1[_0x4e7944(0x11c)],'uTMET':function(_0x59a3a3,_0x53e2c3){const _0x512040=_0x4e7944;return _0x3966f1[_0x512040(0xc9)](_0x59a3a3,_0x53e2c3);},'GgEfV':_0x3966f1[_0x4e7944(0x11e)],'wwpVq':function(_0x2718e4){return _0x3966f1['KWeHb'](_0x2718e4);},'nNxYl':function(_0x3cd6af){const _0x34f26c=_0x4e7944;return _0x3966f1[_0x34f26c(0x13c)](_0x3cd6af);},'QrWdA':function(_0x181b12,_0x4ce640){const _0x38c9ee=_0x4e7944;return _0x3966f1[_0x38c9ee(0x145)](_0x181b12,_0x4ce640);},'WEjpM':_0x3966f1[_0x4e7944(0x117)]};if(!_0x17ca08[_0x4e7944(0xb3)]){logger[_0x4e7944(0x108)](_0x3966f1['Tjvvh']);return;}await _0x17ca08[_0x4e7944(0x15b)](_0x2a5706),CLIUtils[_0x4e7944(0xb8)](FRAMEWORKS[_0x4e7944(0xad)],FRAMEWORKS[_0x4e7944(0xad)]),BrowserstackCLI['getInstance']()[_0x4e7944(0x130)](_0x17ca08[_0x4e7944(0xb3)],_0x17ca08[_0x4e7944(0x15c)],_0x17ca08[_0x4e7944(0xd7)]),await BrowserstackCLI[_0x4e7944(0x10c)]()[_0x4e7944(0xf4)]();for(var _0x3b2291=0x0;_0x3966f1['iAxNV'](_0x3b2291,constants['INTERNALLY_USED_ENV_VARS'][_0x4e7944(0xf8)]);_0x3b2291++){var _0x50aba4=constants['INTERNALLY_USED_ENV_VARS'][_0x3b2291];process[_0x4e7944(0xd0)][_0x50aba4]&&await ClientTroubleShootingService[_0x4e7944(0xcb)](_0x50aba4);}const _0x5a244d=BrowserstackCLI['getInstance']()[_0x4e7944(0x11a)]();!helper[_0x4e7944(0xc8)](_0x5a244d[_0x4e7944(0xfd)])&&(process[_0x4e7944(0xd0)][_0x4e7944(0xee)]=!![]);_0x3966f1['xvvcG'](_0x5a244d[_0x4e7944(0xfd)],![])&&(process[_0x4e7944(0xd0)][_0x4e7944(0xee)]=_0x3966f1[_0x4e7944(0x123)],_0x229793=_0x229793[_0x4e7944(0x126)](_0x2eb29e=>_0x2eb29e!==_0x4e7944(0x142)));const _0x2626a5=_0x229793[_0x4e7944(0xd8)](_0x3966f1[_0x4e7944(0x154)]);(_0x3966f1[_0x4e7944(0x10e)](_0x2626a5,0x0)||_0x3966f1[_0x4e7944(0x110)](_0x5a244d['testObservability'],![]))&&(process[_0x4e7944(0xd0)][_0x4e7944(0xbf)]=_0x3966f1['ucwfW'],_0x229793=_0x229793[_0x4e7944(0x126)](_0x736ece=>_0x736ece!==_0x4e7944(0xc4)));!helper[_0x4e7944(0x146)](_0x17ca08[_0x4e7944(0xd7)])&&_0x17ca08[_0x4e7944(0xd7)]['has'](_0x3966f1['bCCKn'])&&(process[_0x4e7944(0xd0)][_0x4e7944(0xee)]=_0x17ca08[_0x4e7944(0xd7)][_0x4e7944(0x120)](_0x3966f1[_0x4e7944(0xfe)])||!![]);_0x3966f1[_0x4e7944(0x122)](_0x17ca08[_0x4e7944(0xb3)]['testObservability'],null)&&!helper['isTrue'](process[_0x4e7944(0xd0)][_0x4e7944(0xbf)])&&(process[_0x4e7944(0xd0)]['BROWSERSTACK_TEST_OBSERVABILITY']=process['env'][_0x4e7944(0xbf)]||_0x17ca08[_0x4e7944(0xb3)][_0x4e7944(0x107)]);const _0x122a0b=!helper['isFalse'](process[_0x4e7944(0xd0)][_0x4e7944(0xbf)]);_0x17ca08[_0x4e7944(0xb3)][_0x4e7944(0xb9)]&&(process[_0x4e7944(0xd0)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x17ca08['config']['accessibilityOptions']));let _0x213e86=![];_0x17ca08[_0x4e7944(0xb3)][_0x4e7944(0x156)]&&(_0x213e86=!![],process[_0x4e7944(0xd0)][_0x4e7944(0xa6)]=_0x17ca08[_0x4e7944(0xb3)]['accessibility']);const _0x2f0e84=_0x229793[_0x4e7944(0x153)](),_0x3aa4f7=await _0x3966f1[_0x4e7944(0xe0)](getUserPlaywrightConfig,_0x2a5706,_0x229793);if(helper[_0x4e7944(0x146)](_0x3aa4f7)){_0x3966f1[_0x4e7944(0xea)](spawnOriginalProcess,_0x2f0e84);return;}const _0x49e32f=_0x3aa4f7[_0x4e7944(0xc1)]?path['dirname'](_0x3aa4f7[_0x4e7944(0xc1)]):process[_0x4e7944(0xb2)]();process[_0x4e7944(0xd0)][_0x4e7944(0xe9)]=_0x49e32f,await PerformanceTester[_0x4e7944(0x12f)](PerformanceEvents['SDK_POST_INITIALIZE'],async()=>{const _0x5f5d31=_0x4e7944;!BrowserstackCLI[_0x5f5d31(0x10c)]()[_0x5f5d31(0xf9)]()&&await TestHubHandler[_0x5f5d31(0x103)](FRAMEWORKS[_0x5f5d31(0xad)],_0x17ca08),_0x122a0b&&_0x3966f1[_0x5f5d31(0x119)](handleO11yRerun,_0x229793);})();if(!BrowserstackCLI[_0x4e7944(0x10c)]()['isRunning']()){let _0x4a3ebe=_0x3966f1[_0x4e7944(0x110)](process[_0x4e7944(0xd0)][_0x4e7944(0xa6)],_0x3966f1[_0x4e7944(0xda)]);_0x4a3ebe=_0x4a3ebe||_0x3966f1[_0x4e7944(0xea)](checkAccessibilityPlatformConfig,_0x17ca08[_0x4e7944(0xb3)]),process[_0x4e7944(0xd0)][_0x4e7944(0xa6)]=_0x4a3ebe,_0x4a3ebe&&_0x3966f1[_0x4e7944(0xa7)](setAccessibilityCapabilities,_0x17ca08[_0x4e7944(0xb3)]);}const _0x466718=path[_0x4e7944(0x13d)](_0x3aa4f7[_0x4e7944(0xc1)]?path[_0x4e7944(0xb1)](_0x3aa4f7[_0x4e7944(0xc1)]):process[_0x4e7944(0xb2)](),_0x3966f1[_0x4e7944(0xd1)]);fs['writeFileSync'](_0x466718,helper[_0x4e7944(0x15f)](_0x17ca08[_0x4e7944(0xb3)])),process[_0x4e7944(0xd0)][_0x4e7944(0x136)]=_0x466718,helper['clearTempPWConfig']();let _0x12aa5c='';_0x3966f1['QuNNi'](helper[_0x4e7944(0xe7)](),constants[_0x4e7944(0x13b)][_0x4e7944(0xaf)])?_0x12aa5c=_0x3966f1['dYGkZ']:_0x12aa5c=_0x3966f1['ZFWOe'];let _0x1f0794='';if(helper['isTypescriptProject'](_0x3aa4f7['path'])){_0x1f0794=_0x4e7944(0x14c);const _0x44301d=_0x12aa5c[_0x4e7944(0xc0)]('.');_0x44301d[_0x3966f1[_0x4e7944(0x141)](_0x44301d[_0x4e7944(0xf8)],0x1)]='ts',_0x12aa5c=_0x44301d[_0x4e7944(0x13d)]('.'),logger[_0x4e7944(0xd2)](_0x3966f1['xXaLD'](_0x3966f1[_0x4e7944(0x15a)],_0x12aa5c));}else _0x1f0794='\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 _0x3f1afa=path[_0x4e7944(0x13d)](_0x3aa4f7['path']?path[_0x4e7944(0xb1)](_0x3aa4f7['path']):process[_0x4e7944(0xb2)](),_0x12aa5c);let _0xb07e1f=_0x3aa4f7[_0x4e7944(0xc1)]?_0x3aa4f7[_0x4e7944(0xc1)]:'';_0xb07e1f=_0x3966f1['xMgYk'](_0xb07e1f[_0x4e7944(0xf8)],0x0)?path[_0x4e7944(0xa8)](_0xb07e1f):'',process[_0x4e7944(0xd0)][_0x4e7944(0xb6)]=_0xb07e1f;const _0x5bb573=helper['getProxyUrl'](_0x17ca08[_0x4e7944(0xb3)]),_0x40531f=helper[_0x4e7944(0x101)](_0x17ca08[_0x4e7944(0xb3)]);logger[_0x4e7944(0xd2)](_0x4e7944(0xab)+_0x5bb573),logger[_0x4e7944(0xd2)](_0x4e7944(0xdd)+_0x40531f);_0x5bb573&&(_0x1f0794=_0x3966f1[_0x4e7944(0xc9)]('process.env.GLOBAL_AGENT_HTTP_PROXY=\x22'+_0x5bb573+_0x4e7944(0x102)+_0x40531f+'\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();',_0x1f0794));helper[_0x4e7944(0x13e)]({},_0x229793),fs[_0x4e7944(0xae)](_0x3f1afa,_0x1f0794),PerformanceTester[_0x4e7944(0x13a)](PerformanceEvents['SDK_SETUP']);const _0x43d91a=_0x3966f1['OGmRp'](spawn,helper['isYarnPnP']()?_0x3966f1['khBKQ']:_0x3966f1['lelfs'],[_0x3966f1[_0x4e7944(0xde)],_0x3966f1[_0x4e7944(0xfa)],_0x3966f1[_0x4e7944(0x159)],_0x3966f1[_0x4e7944(0x110)](process[_0x4e7944(0xb5)],_0x3966f1['OpIPb'])?'\x22'+_0x3f1afa+'\x22':_0x3f1afa,..._0x229793['slice'](0x2)],{'shell':_0x3966f1[_0x4e7944(0x110)](process[_0x4e7944(0xb5)],_0x3966f1[_0x4e7944(0xff)]),'stdio':_0x3966f1[_0x4e7944(0x10d)],'cwd':process[_0x4e7944(0xb2)](),'env':Object['assign']({},process[_0x4e7944(0xd0)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x4e7944(0xc6)](_0x2a5706),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x17ca08[_0x4e7944(0xb3)][_0x4e7944(0x137)]['skipSessionStatus'],'BROWSERSTACK_SKIP_SESSION_NAME':_0x17ca08[_0x4e7944(0xb3)][_0x4e7944(0x137)][_0x4e7944(0x10a)],'BROWSERSTACK_LOG_LEVEL':_0x17ca08[_0x4e7944(0xb3)][_0x4e7944(0x134)]})}),_0x1f0762=()=>{const _0x2454d5=_0x4e7944;try{const _0x100f11=path[_0x2454d5(0x13d)](helper[_0x2454d5(0x131)](),_0x52bd65[_0x2454d5(0x162)],_0x52bd65[_0x2454d5(0x11d)]);if(fs[_0x2454d5(0xf1)](_0x100f11)){let _0x5288d8=fs[_0x2454d5(0xbe)](_0x100f11);_0x5288d8=JSON[_0x2454d5(0x10f)](_0x5288d8),_0x17ca08[_0x2454d5(0x116)]=_0x5288d8,fs[_0x2454d5(0x139)](_0x100f11);}}catch(_0x20e3a1){logger[_0x2454d5(0xd2)](_0x52bd65['uTMET'](_0x52bd65['GgEfV'],_0x20e3a1));}};_0x43d91a['on'](_0x3966f1[_0x4e7944(0xe4)],async _0x3420ce=>{const _0x475afb=_0x4e7944;try{PerformanceTester[_0x475afb(0x128)](PerformanceEvents[_0x475afb(0x129)]),_0x52bd65[_0x475afb(0xdc)](_0x1f0762),await TestHubHandler[_0x475afb(0xf0)](),await ClientTroubleShootingService['reportFinalDetectionState'](),await BrowserstackCLI[_0x475afb(0x10c)]()['stop'](),TestDetails[_0x475afb(0xfb)](),_0x52bd65[_0x475afb(0x14a)](printBuildLink),await utilities[_0x475afb(0x10b)](_0x17ca08),process[_0x475afb(0x121)]=_0x3420ce,logger['debug'](_0x475afb(0xf6)+_0x3420ce),logger[_0x475afb(0x114)]('Deleting\x20'+_0x3f1afa),fs['unlinkSync'](_0x3f1afa);fs[_0x475afb(0xf1)](_0x466718)&&(logger['debug'](_0x475afb(0xf7)+_0x466718),fs[_0x475afb(0x139)](_0x466718));const _0x3385fa=fs[_0x475afb(0xb0)](path['join'](helper[_0x475afb(0x131)](),_0x52bd65[_0x475afb(0x162)]))[_0x475afb(0x126)](_0x41265a=>_0x41265a[_0x475afb(0xb4)](_0x475afb(0x150)));_0x3385fa[_0x475afb(0x165)](_0x160549=>{const _0x27c13b=_0x475afb;fs[_0x27c13b(0x139)](path[_0x27c13b(0x13d)](helper[_0x27c13b(0x131)](),_0x52bd65[_0x27c13b(0x162)],_0x160549));});}catch(_0x1d4d76){logger['debug'](_0x52bd65[_0x475afb(0x104)](_0x52bd65[_0x475afb(0xaa)],_0x1d4d76));}});})();}module[a39_0x11e2c6(0xc3)]=run;
2
+ 'use strict';const a39_0x3f9d06=a39_0xb7d1;(function(_0x4ed536,_0x11a03f){const _0x26af88=a39_0xb7d1,_0x2d63fe=_0x4ed536();while(!![]){try{const _0x420066=-parseInt(_0x26af88(0x188))/0x1+parseInt(_0x26af88(0xe7))/0x2*(parseInt(_0x26af88(0x13c))/0x3)+parseInt(_0x26af88(0x179))/0x4+-parseInt(_0x26af88(0x158))/0x5*(parseInt(_0x26af88(0x121))/0x6)+-parseInt(_0x26af88(0x18d))/0x7+-parseInt(_0x26af88(0x190))/0x8*(parseInt(_0x26af88(0x17d))/0x9)+parseInt(_0x26af88(0x111))/0xa;if(_0x420066===_0x11a03f)break;else _0x2d63fe['push'](_0x2d63fe['shift']());}catch(_0xbb81e0){_0x2d63fe['push'](_0x2d63fe['shift']());}}}(a39_0x2490,0x78124));const fs=require('fs'),path=require(a39_0x3f9d06(0x112)),{spawn}=require(a39_0x3f9d06(0x183)),{format}=require(a39_0x3f9d06(0x148)),logger=require(a39_0x3f9d06(0x113))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),utilities=require(a39_0x3f9d06(0x149)),constants=require('../utils/constants'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getConfigLoaderPath}=require('./reporter/pwUtils'),{checkAccessibilityPlatformConfig}=require(a39_0x3f9d06(0x14b)),{setAccessibilityCapabilities}=require(a39_0x3f9d06(0x118)),{printBuildLink}=require('../../helpers/test-observability/utils'),TestDetails=require(a39_0x3f9d06(0x163)),TestHubHandler=require(a39_0x3f9d06(0x168)),PerformanceTester=require('../../helpers/performance/performance-tester'),BrowserstackCLI=require(a39_0x3f9d06(0x177)),PerformanceEvents=require('../../helpers/performance/constants')['EVENTS'],CLIUtils=require('../v2/cliUtils'),TestInfo=require(a39_0x3f9d06(0x10b)),ClientTroubleShootingService=require(a39_0x3f9d06(0x17f)),getUserPlaywrightConfig=async(_0x5b86c4,_0x143ff4)=>{const _0x589151=a39_0x3f9d06,_0x248f30={'cExNY':function(_0x5c4083){return _0x5c4083();},'PpqEE':function(_0x51993a,_0x5a513a){return _0x51993a(_0x5a513a);},'OwyVY':function(_0xdcfd2b,_0x5086ac){return _0xdcfd2b(_0x5086ac);},'IGXai':'resolvedConfigFile','cfKJr':'--config='},_0x29a261=!helper['isUndefined'](_0x5b86c4[_0x589151(0xdd)]),_0x376076=_0x29a261?path[_0x589151(0x181)](process[_0x589151(0x194)](),_0x5b86c4[_0x589151(0xdd)]):process['cwd'](),{resolveConfigFile:_0x441675,resolveConfigLocation:_0x4af271}=helper[_0x589151(0xf6)]()?helper['requireConfigLoaderYarnPnP'](..._0x248f30[_0x589151(0xf2)](getConfigLoaderPath)):helper[_0x589151(0x143)][_0x589151(0x124)](null,_0x248f30[_0x589151(0xf2)](getConfigLoaderPath)),_0x1bc40a=_0x441675?_0x248f30[_0x589151(0x185)](_0x441675,_0x376076):helper[_0x589151(0x152)](_0x248f30[_0x589151(0x171)](_0x4af271,_0x376076),[_0x248f30[_0x589151(0xea)]]),_0x29df84={};if(_0x29a261){const _0x1e5217=_0x143ff4[_0x589151(0x187)](_0x1967aa=>_0x1967aa===_0x589151(0x115)||_0x1967aa==='-c'||_0x1967aa['startsWith'](_0x589151(0x155)));_0x143ff4['splice'](_0x1e5217,_0x143ff4[_0x1e5217][_0x589151(0x100)](_0x248f30[_0x589151(0x169)])?0x1:0x2);}const _0x116ada={};return _0x116ada[_0x589151(0x112)]=_0x1bc40a,_0x116ada[_0x589151(0xdd)]=_0x29df84,_0x116ada;},handleO11yRerun=_0x5d5c61=>{const _0x3650bd=a39_0x3f9d06,_0x5a5e50={};_0x5a5e50[_0x3650bd(0x174)]='--grep';const _0xef0202=_0x5a5e50,_0x5cc5b2=helper['isTrue'](process['env'][_0x3650bd(0xf5)]);if(_0x5cc5b2){const _0x371561=process['env']['BROWSERSTACK_RERUN_TESTS'],_0x28afd6=[];if(helper[_0x3650bd(0xf0)](_0x371561)&&!helper['isUndefined'](_0x371561)){_0x371561['split'](',')[_0x3650bd(0xfb)](_0x2f1682=>{const _0x5dae60=_0x3650bd;_0x28afd6[_0x5dae60(0x117)]('('+_0x2f1682[_0x5dae60(0x142)]()+')');});const _0x10264e='^'+_0x28afd6['join']('|')+'$';_0x5d5c61[_0x3650bd(0x117)](_0xef0202[_0x3650bd(0x174)],_0x10264e);}}},spawnOriginalProcess=_0x5e2bc2=>{const _0xb322e8=a39_0x3f9d06,_0x43cc63={'fyMmS':function(_0x4847d1,_0x1b272e,_0x45ae00,_0xd3b512){return _0x4847d1(_0x1b272e,_0x45ae00,_0xd3b512);},'OCIjR':_0xb322e8(0x18f),'rHFHw':_0xb322e8(0x173),'QCdyz':_0xb322e8(0x132),'ZZRML':function(_0x109493,_0x4c7997){return _0x109493===_0x4c7997;},'ilsOf':_0xb322e8(0x19d),'RrWXu':_0xb322e8(0x164)};_0x43cc63[_0xb322e8(0x153)](spawn,helper[_0xb322e8(0xf6)]()?_0x43cc63[_0xb322e8(0x196)]:_0x43cc63[_0xb322e8(0x156)],[_0x43cc63['QCdyz'],..._0x5e2bc2[_0xb322e8(0x17e)](0x1)],{'shell':_0x43cc63[_0xb322e8(0x141)](process[_0xb322e8(0x116)],_0x43cc63[_0xb322e8(0x145)]),'stdio':_0x43cc63['RrWXu'],'cwd':process['cwd']()});},isTestCommand=(_0x43b124,_0x54168b)=>{const _0x18a5a3=a39_0x3f9d06,_0x4ca4a1={};_0x4ca4a1['FvAQL']=function(_0x1647af,_0x36829e){return _0x1647af>_0x36829e;},_0x4ca4a1[_0x18a5a3(0x18e)]=function(_0x532c03,_0x659488){return _0x532c03===_0x659488;},_0x4ca4a1['seZdY']=_0x18a5a3(0x154);const _0x2ba586=_0x4ca4a1;if(_0x2ba586[_0x18a5a3(0x14e)](_0x54168b[_0x18a5a3(0x15c)],0x1)&&_0x2ba586[_0x18a5a3(0x18e)](_0x54168b[0x1],_0x2ba586[_0x18a5a3(0x10a)]))return!![];return![];};async function run(_0x327a98,_0x16c980,_0x4dbde1){const _0x5d998e=a39_0x3f9d06,_0x5cb645={'dVnBr':function(_0x44c33f,_0xc63c28){return _0x44c33f(_0xc63c28);},'woJlK':_0x5d998e(0x157),'EbWBe':_0x5d998e(0x109),'ZRZrv':function(_0x20f372,_0x132a34){return _0x20f372+_0x132a34;},'Zhwzm':_0x5d998e(0x15d),'fiOCs':function(_0x2127fe){return _0x2127fe();},'cmpZB':function(_0x5170f5){return _0x5170f5();},'qGUZt':function(_0xd018e9,_0x29337d){return _0xd018e9+_0x29337d;},'amgyb':_0x5d998e(0x12b),'blcqA':_0x5d998e(0xe1),'oeGkv':function(_0x244caf,_0x1e2cf1){return _0x244caf<_0x1e2cf1;},'yqEXe':function(_0x433747,_0x3f5824){return _0x433747===_0x3f5824;},'RooWI':_0x5d998e(0x105),'zAzOZ':_0x5d998e(0x175),'ZEkQJ':function(_0xbd5931,_0xf9ba24){return _0xbd5931>=_0xf9ba24;},'rgbHd':function(_0x46e61b,_0x36a233){return _0x46e61b===_0x36a233;},'WpOPJ':_0x5d998e(0x139),'AWTyX':function(_0x473283,_0x4e9d96){return _0x473283!=_0x4e9d96;},'YuZLX':function(_0x4a83d5,_0x579890,_0x4b7154){return _0x4a83d5(_0x579890,_0x4b7154);},'yEOTs':function(_0x422c8c,_0xee054b){return _0x422c8c(_0xee054b);},'MXTLa':function(_0x2b8c03,_0x27e18a){return _0x2b8c03===_0x27e18a;},'PTUvc':'true','RpHZW':function(_0x1d1be9,_0x2b6eda){return _0x1d1be9(_0x2b6eda);},'wBpCt':function(_0x256038,_0x19d705){return _0x256038(_0x19d705);},'ihJnd':_0x5d998e(0x19e),'qybqt':_0x5d998e(0x167),'jFXcS':_0x5d998e(0x199),'jgSII':function(_0x2cbe4f,_0x3a5b53){return _0x2cbe4f-_0x3a5b53;},'qGlMS':'Updated\x20config\x20file\x20name\x20to\x20-\x20','PTEeZ':function(_0x20039d,_0x452053){return _0x20039d>_0x452053;},'mbQHP':function(_0x17bed1,_0x366e7){return _0x17bed1+_0x366e7;},'sNFIl':function(_0x10cb9c,_0x2a1e06,_0x5e4b6e,_0x1d47cf){return _0x10cb9c(_0x2a1e06,_0x5e4b6e,_0x1d47cf);},'SMfAJ':'yarn','VIESc':_0x5d998e(0x173),'dCMbF':_0x5d998e(0x132),'TIEcS':_0x5d998e(0x154),'YyEMD':'--config','XoLUY':'win32','bvzCB':function(_0x174624,_0x1eae4b){return _0x174624===_0x1eae4b;},'RDNhz':_0x5d998e(0x164),'KrOiL':_0x5d998e(0x170),'MGJjF':function(_0x54a6a8,_0x2c1f7c){return _0x54a6a8|_0x2c1f7c;},'nZRdB':_0x5d998e(0x130),'iwEcg':function(_0x4f6e5e,_0x59bc46){return _0x4f6e5e+_0x59bc46;},'fxqXt':_0x5d998e(0x10e),'PXaUH':function(_0x2450fd,_0x2838ee,_0xc2b4b7){return _0x2450fd(_0x2838ee,_0xc2b4b7);},'vHCcx':function(_0x153b7c,_0x4781a6){return _0x153b7c(_0x4781a6);}};try{const _0x1cd495=path[_0x5d998e(0x11a)](helper[_0x5d998e(0x165)](),_0x5cb645[_0x5d998e(0x122)]);try{fs[_0x5d998e(0xe3)](_0x1cd495,_0x5cb645[_0x5d998e(0x19b)](fs[_0x5d998e(0x150)][_0x5d998e(0x16a)],fs['constants'][_0x5d998e(0xeb)]));}catch(_0x43ba74){ClientTroubleShootingService[_0x5d998e(0x127)]();}}catch(_0x19ce62){logger[_0x5d998e(0x108)](_0x5cb645[_0x5d998e(0x16f)](_0x5cb645[_0x5d998e(0x120)],_0x19ce62));}try{const _0x45627d=path[_0x5d998e(0x11a)](helper[_0x5d998e(0x165)](),_0x5cb645['woJlK'],_0x5cb645[_0x5d998e(0x191)]);fs[_0x5d998e(0xf8)](_0x45627d)&&fs[_0x5d998e(0x106)](_0x45627d);}catch(_0x24f42e){logger['debug'](_0x5cb645[_0x5d998e(0x178)](_0x5cb645[_0x5d998e(0x13b)],_0x24f42e));}if(!_0x5cb645[_0x5d998e(0xdc)](isTestCommand,_0x327a98,_0x16c980)){_0x5cb645[_0x5d998e(0x12c)](spawnOriginalProcess,_0x16c980);return;}await PerformanceTester[_0x5d998e(0x147)](PerformanceEvents[_0x5d998e(0x12f)],async()=>{const _0xc1d3f3=_0x5d998e,_0x55baa2={'GOQMo':function(_0x15c9bb,_0x521671){const _0x55aa7a=a39_0xb7d1;return _0x5cb645[_0x55aa7a(0x104)](_0x15c9bb,_0x521671);},'xPuWc':_0x5cb645[_0xc1d3f3(0x122)],'koQma':_0x5cb645[_0xc1d3f3(0x191)],'YAAye':function(_0x3c6d62,_0x12695f){const _0x24c3f8=_0xc1d3f3;return _0x5cb645[_0x24c3f8(0x133)](_0x3c6d62,_0x12695f);},'dYynf':_0x5cb645[_0xc1d3f3(0xf4)],'dobzl':function(_0x17af52){return _0x5cb645['fiOCs'](_0x17af52);},'iMQvU':function(_0x85bc77){return _0x5cb645['cmpZB'](_0x85bc77);},'XddYI':function(_0x3a5745,_0x282231){const _0x2431d6=_0xc1d3f3;return _0x5cb645[_0x2431d6(0x14a)](_0x3a5745,_0x282231);},'VFUtL':_0x5cb645['amgyb']};if(!_0x4dbde1[_0xc1d3f3(0xdd)]){logger[_0xc1d3f3(0x11d)](_0x5cb645[_0xc1d3f3(0xe2)]);return;}await _0x4dbde1[_0xc1d3f3(0x102)](_0x327a98),CLIUtils[_0xc1d3f3(0x176)](FRAMEWORKS[_0xc1d3f3(0x182)],FRAMEWORKS[_0xc1d3f3(0x182)]),BrowserstackCLI[_0xc1d3f3(0x16b)]()[_0xc1d3f3(0xdf)](_0x4dbde1[_0xc1d3f3(0xdd)],_0x4dbde1[_0xc1d3f3(0xe0)],_0x4dbde1['cliConfig']),await BrowserstackCLI[_0xc1d3f3(0x16b)]()[_0xc1d3f3(0x13f)]();for(var _0x2629cd=0x0;_0x5cb645[_0xc1d3f3(0x138)](_0x2629cd,constants[_0xc1d3f3(0x197)][_0xc1d3f3(0x15c)]);_0x2629cd++){var _0x2e2e44=constants[_0xc1d3f3(0x197)][_0x2629cd];process[_0xc1d3f3(0x159)][_0x2e2e44]&&await ClientTroubleShootingService[_0xc1d3f3(0x161)](_0x2e2e44);}const _0x27ca8a=BrowserstackCLI[_0xc1d3f3(0x16b)]()[_0xc1d3f3(0x128)]();!helper[_0xc1d3f3(0x16e)](_0x27ca8a[_0xc1d3f3(0x114)])&&(process[_0xc1d3f3(0x159)][_0xc1d3f3(0x17a)]=!![]);_0x5cb645['yqEXe'](_0x27ca8a['browserstackAutomation'],![])&&(process[_0xc1d3f3(0x159)][_0xc1d3f3(0x17a)]=_0x5cb645[_0xc1d3f3(0xec)],_0x16c980=_0x16c980['filter'](_0x24eac3=>_0x24eac3!==_0xc1d3f3(0x10c)));const _0x138d17=_0x16c980['indexOf'](_0x5cb645[_0xc1d3f3(0x13a)]);(_0x5cb645[_0xc1d3f3(0x126)](_0x138d17,0x0)||_0x5cb645[_0xc1d3f3(0x186)](_0x27ca8a[_0xc1d3f3(0x14f)],![]))&&(process[_0xc1d3f3(0x159)][_0xc1d3f3(0x184)]=_0x5cb645[_0xc1d3f3(0xec)],_0x16c980=_0x16c980[_0xc1d3f3(0x10d)](_0xd74217=>_0xd74217!==_0xc1d3f3(0x175)));!helper[_0xc1d3f3(0x14c)](_0x4dbde1[_0xc1d3f3(0x16c)])&&_0x4dbde1['cliConfig'][_0xc1d3f3(0x15f)](_0x5cb645['WpOPJ'])&&(process[_0xc1d3f3(0x159)][_0xc1d3f3(0x17a)]=_0x4dbde1[_0xc1d3f3(0x16c)][_0xc1d3f3(0xf3)](_0x5cb645[_0xc1d3f3(0xfc)])||!![]);_0x5cb645[_0xc1d3f3(0xe6)](_0x4dbde1[_0xc1d3f3(0xdd)][_0xc1d3f3(0x14f)],null)&&!helper[_0xc1d3f3(0xfd)](process[_0xc1d3f3(0x159)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&(process[_0xc1d3f3(0x159)][_0xc1d3f3(0x184)]=process[_0xc1d3f3(0x159)][_0xc1d3f3(0x184)]||_0x4dbde1['config'][_0xc1d3f3(0x14f)]);const _0x460edf=!helper['isFalse'](process[_0xc1d3f3(0x159)]['BROWSERSTACK_TEST_OBSERVABILITY']);_0x4dbde1[_0xc1d3f3(0xdd)]['accessibilityOptions']&&(process[_0xc1d3f3(0x159)][_0xc1d3f3(0xef)]=JSON['stringify'](_0x4dbde1[_0xc1d3f3(0xdd)][_0xc1d3f3(0x18b)]));let _0x424c44=![];_0x4dbde1['config'][_0xc1d3f3(0x151)]&&(_0x424c44=!![],process['env'][_0xc1d3f3(0x162)]=_0x4dbde1[_0xc1d3f3(0xdd)]['accessibility']);const _0x3f7ddf=_0x16c980['concat'](),_0x1167fe=await _0x5cb645[_0xc1d3f3(0x144)](getUserPlaywrightConfig,_0x327a98,_0x16c980);if(helper[_0xc1d3f3(0x14c)](_0x1167fe)){_0x5cb645[_0xc1d3f3(0x136)](spawnOriginalProcess,_0x3f7ddf);return;}const _0x2d4a12=_0x1167fe[_0xc1d3f3(0x112)]?path[_0xc1d3f3(0x19a)](_0x1167fe[_0xc1d3f3(0x112)]):process['cwd']();process[_0xc1d3f3(0x159)][_0xc1d3f3(0x12e)]=_0x2d4a12,await PerformanceTester['measureWrapper'](PerformanceEvents[_0xc1d3f3(0xee)],async()=>{const _0x45753a=_0xc1d3f3;!BrowserstackCLI[_0x45753a(0x16b)]()[_0x45753a(0x17b)]()&&await TestHubHandler[_0x45753a(0x13d)](FRAMEWORKS[_0x45753a(0x182)],_0x4dbde1),_0x460edf&&_0x55baa2[_0x45753a(0x103)](handleO11yRerun,_0x16c980);})();if(!BrowserstackCLI['getInstance']()[_0xc1d3f3(0x17b)]()){let _0x3b35d9=_0x5cb645[_0xc1d3f3(0x17c)](process[_0xc1d3f3(0x159)][_0xc1d3f3(0x162)],_0x5cb645[_0xc1d3f3(0x137)]);_0x3b35d9=_0x3b35d9||_0x5cb645['RpHZW'](checkAccessibilityPlatformConfig,_0x4dbde1[_0xc1d3f3(0xdd)]),process[_0xc1d3f3(0x159)][_0xc1d3f3(0x162)]=_0x3b35d9,_0x3b35d9&&_0x5cb645['wBpCt'](setAccessibilityCapabilities,_0x4dbde1[_0xc1d3f3(0xdd)]);}const _0x491ad8=path[_0xc1d3f3(0x11a)](_0x1167fe[_0xc1d3f3(0x112)]?path['dirname'](_0x1167fe[_0xc1d3f3(0x112)]):process[_0xc1d3f3(0x194)](),_0x5cb645['ihJnd']);fs[_0xc1d3f3(0xf9)](_0x491ad8,helper[_0xc1d3f3(0x160)](_0x4dbde1[_0xc1d3f3(0xdd)])),process[_0xc1d3f3(0x159)][_0xc1d3f3(0xff)]=_0x491ad8,helper[_0xc1d3f3(0x18c)]();let _0xb5ed45='';_0x5cb645[_0xc1d3f3(0x17c)](helper[_0xc1d3f3(0xe8)](),constants['PACKAGE_TYPE'][_0xc1d3f3(0x11e)])?_0xb5ed45=_0x5cb645[_0xc1d3f3(0x125)]:_0xb5ed45=_0x5cb645[_0xc1d3f3(0x198)];let _0x5abf48='';if(helper[_0xc1d3f3(0x16d)](_0x1167fe[_0xc1d3f3(0x112)])){_0x5abf48=_0xc1d3f3(0xe4);const _0xf0a7ab=_0xb5ed45[_0xc1d3f3(0x11f)]('.');_0xf0a7ab[_0x5cb645[_0xc1d3f3(0x10f)](_0xf0a7ab[_0xc1d3f3(0x15c)],0x1)]='ts',_0xb5ed45=_0xf0a7ab[_0xc1d3f3(0x11a)]('.'),logger[_0xc1d3f3(0x108)](_0x5cb645[_0xc1d3f3(0x14a)](_0x5cb645[_0xc1d3f3(0x101)],_0xb5ed45));}else _0x5abf48=_0xc1d3f3(0x180);const _0x3fce94=path[_0xc1d3f3(0x11a)](_0x1167fe[_0xc1d3f3(0x112)]?path['dirname'](_0x1167fe[_0xc1d3f3(0x112)]):process[_0xc1d3f3(0x194)](),_0xb5ed45);let _0x344e29=_0x1167fe[_0xc1d3f3(0x112)]?_0x1167fe[_0xc1d3f3(0x112)]:'';_0x344e29=_0x5cb645[_0xc1d3f3(0x11b)](_0x344e29[_0xc1d3f3(0x15c)],0x0)?path['resolve'](_0x344e29):'',process[_0xc1d3f3(0x159)][_0xc1d3f3(0x166)]=_0x344e29;const _0x97b626=helper[_0xc1d3f3(0xf1)](_0x4dbde1[_0xc1d3f3(0xdd)]),_0x3ca573=helper[_0xc1d3f3(0x13e)](_0x4dbde1[_0xc1d3f3(0xdd)]);logger[_0xc1d3f3(0x108)]('Proxy\x20url\x20:\x20'+_0x97b626),logger[_0xc1d3f3(0x108)]('No\x20Proxy\x20:\x20'+_0x3ca573);_0x97b626&&(_0x5abf48=_0x5cb645['mbQHP'](_0xc1d3f3(0x146)+_0x97b626+_0xc1d3f3(0x15a)+_0x3ca573+_0xc1d3f3(0x123),_0x5abf48));helper[_0xc1d3f3(0x14d)]({},_0x16c980),fs[_0xc1d3f3(0xf9)](_0x3fce94,_0x5abf48),PerformanceTester[_0xc1d3f3(0x15e)](PerformanceEvents[_0xc1d3f3(0x134)]);const _0x5643a9=_0x5cb645['sNFIl'](spawn,helper[_0xc1d3f3(0xf6)]()?_0x5cb645[_0xc1d3f3(0x107)]:_0x5cb645['VIESc'],[_0x5cb645['dCMbF'],_0x5cb645[_0xc1d3f3(0x135)],_0x5cb645['YyEMD'],_0x5cb645[_0xc1d3f3(0x17c)](process[_0xc1d3f3(0x116)],_0x5cb645['XoLUY'])?'\x22'+_0x3fce94+'\x22':_0x3fce94,..._0x16c980[_0xc1d3f3(0x17e)](0x2)],{'shell':_0x5cb645[_0xc1d3f3(0x15b)](process['platform'],_0x5cb645[_0xc1d3f3(0x195)]),'stdio':_0x5cb645[_0xc1d3f3(0x12a)],'cwd':process[_0xc1d3f3(0x194)](),'env':Object[_0xc1d3f3(0x172)]({},process[_0xc1d3f3(0x159)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x327a98),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x4dbde1[_0xc1d3f3(0xdd)][_0xc1d3f3(0xe9)][_0xc1d3f3(0x140)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x4dbde1[_0xc1d3f3(0xdd)]['testContextOptions'][_0xc1d3f3(0x192)],'BROWSERSTACK_LOG_LEVEL':_0x4dbde1[_0xc1d3f3(0xdd)]['logLevel']})}),_0x107e15=()=>{const _0x35cc93=_0xc1d3f3;try{const _0x62213c=path[_0x35cc93(0x11a)](helper['homedir'](),_0x55baa2[_0x35cc93(0x11c)],_0x55baa2['koQma']);if(fs[_0x35cc93(0xf8)](_0x62213c)){let _0x40be9c=fs['readFileSync'](_0x62213c);_0x40be9c=JSON['parse'](_0x40be9c),_0x4dbde1['errorMessage']=_0x40be9c,fs[_0x35cc93(0x106)](_0x62213c);}}catch(_0x1d7dc9){logger['debug'](_0x55baa2['YAAye'](_0x55baa2[_0x35cc93(0xfe)],_0x1d7dc9));}};_0x5643a9['on'](_0x5cb645['KrOiL'],async _0x1986a4=>{const _0x38c6a5=_0xc1d3f3;try{PerformanceTester[_0x38c6a5(0x110)](PerformanceEvents[_0x38c6a5(0x129)]),_0x55baa2[_0x38c6a5(0xe5)](_0x107e15),await TestHubHandler[_0x38c6a5(0x18a)](),await ClientTroubleShootingService['reportFinalDetectionState'](),await BrowserstackCLI['getInstance']()[_0x38c6a5(0x18a)](),TestDetails[_0x38c6a5(0xed)](),_0x55baa2['iMQvU'](printBuildLink),await utilities[_0x38c6a5(0x131)](_0x4dbde1),process[_0x38c6a5(0x19c)]=_0x1986a4,logger[_0x38c6a5(0x108)](_0x38c6a5(0x12d)+_0x1986a4),logger[_0x38c6a5(0x189)](_0x38c6a5(0xfa)+_0x3fce94),fs[_0x38c6a5(0x106)](_0x3fce94);fs[_0x38c6a5(0xf8)](_0x491ad8)&&(logger['debug']('Deleting\x20'+_0x491ad8),fs[_0x38c6a5(0x106)](_0x491ad8));const _0x112659=fs[_0x38c6a5(0xf7)](path[_0x38c6a5(0x11a)](helper[_0x38c6a5(0x165)](),_0x55baa2[_0x38c6a5(0x11c)]))[_0x38c6a5(0x10d)](_0xe3431a=>_0xe3431a[_0x38c6a5(0x100)](_0x38c6a5(0x119)));_0x112659['forEach'](_0xcd4bf4=>{const _0x892ff8=_0x38c6a5;fs[_0x892ff8(0x106)](path[_0x892ff8(0x11a)](helper['homedir'](),_0x55baa2['xPuWc'],_0xcd4bf4));});}catch(_0x11f2dd){logger[_0x38c6a5(0x108)](_0x55baa2['XddYI'](_0x55baa2[_0x38c6a5(0xde)],_0x11f2dd));}});})();}function a39_0xb7d1(_0x2f3dbc,_0x4cabd8){const _0x249087=a39_0x2490();return a39_0xb7d1=function(_0xb7d12,_0x537a0e){_0xb7d12=_0xb7d12-0xdc;let _0x2ed180=_0x249087[_0xb7d12];return _0x2ed180;},a39_0xb7d1(_0x2f3dbc,_0x4cabd8);}function a39_0x2490(){const _0x1ae214=['AalMd','--disable-test-observability','setFrameworkDetail','../v2/browserstackCLI','iwEcg','2696368SiELpX','BROWSERSTACK_AUTOMATION','isRunning','MXTLa','828iwplFX','slice','../utils/clientTroubleshootingService','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','resolve','PLAYWRIGHT','child_process','BROWSERSTACK_TEST_OBSERVABILITY','PpqEE','rgbHd','findIndex','420347pUgaou','info','stop','accessibilityOptions','clearTempPWConfig','2862930VQWtKt','adAud','yarn','49968TRyoxv','EbWBe','skipSessionName','exports','cwd','XoLUY','OCIjR','INTERNALLY_USED_ENV_VARS','jFXcS','playwright-browserstack-sdk.config.js','dirname','MGJjF','exitCode','win32','browserstackSetupConfig.json','PXaUH','config','VFUtL','setBrowserstackConfig','configPath','BrowserStack\x20config\x20file\x20not\x20found.','blcqA','accessSync','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','dobzl','AWTyX','260118uUsXPL','getPackageType','testContextOptions','IGXai','W_OK','RooWI','shutdown','SDK_POST_INITIALIZE','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','validateRerunTestList','getProxyUrl','cExNY','get','Zhwzm','BROWSERSTACK_RERUN','isYarnPnP','readdirSync','existsSync','writeFileSync','Deleting\x20','map','WpOPJ','isTrue','dYynf','BROWSERSTACK_SETUP_CONFIG_PATH','startsWith','qGlMS','initialize','GOQMo','dVnBr','false','unlinkSync','SMfAJ','debug','pw_result.json','seZdY','../v2/TestInfo','--disable-browserstack-automation','filter','Error\x20in\x20deleting\x20playwright\x20results','jgSII','start','9184740YpGoTl','path','../../helpers/logger','browserstackAutomation','--config','platform','push','./accessibility-helper','trace_','join','PTEeZ','xPuWc','error','MODULE','split','nZRdB','6GQEuQy','woJlK','\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();','apply','qybqt','ZEkQJ','reportDotBrowserStackFolderNotAccessibleIssue','getConfig','SDK_CLEANUP','RDNhz','Error\x20in\x20closing\x20playwright','vHCcx','Playwright\x20process\x20exited\x20with\x20code\x20','BROWSERSTACK_PW_CONFIG_DIR','SDK_PRE_INITIALIZE','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','finalExecution','playwright','ZRZrv','SDK_SETUP','TIEcS','yEOTs','PTUvc','oeGkv','automation','zAzOZ','fxqXt','9WMHrvr','launchBuild','getNoProxy','bootstrap','skipSessionStatus','ZZRML','trim','requirePWModule','YuZLX','ilsOf','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','measureWrapper','util','../../helpers/utilities','qGUZt','../../helpers/accessibility-automation/helper','isUndefined','filterBrowserstackArgs','FvAQL','testObservability','constants','accessibility','nestedKeyValue','fyMmS','test','--config=','rHFHw','.browserstack','434810LPYybS','env','\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','bvzCB','length','Error\x20in\x20getting\x20funnel\x20data\x20results','end','has','serializeToYamlString','reportConflictingEnvVarIssue','BROWSERSTACK_TEST_ACCESSIBILITY_YML','./reporter/test-details','inherit','homedir','USER_CONFIG_DETAILS_PATH','playwright-browserstack-sdk.config.cjs','../../helpers/testhub/testhubHandler','cfKJr','R_OK','getInstance','cliConfig','isTypescriptProject','isFalse','mbQHP','close','OwyVY','assign','npx'];a39_0x2490=function(){return _0x1ae214;};return a39_0x2490();}module[a39_0x3f9d06(0x193)]=run;