browserstack-node-sdk 1.46.3 → 1.46.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (187) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/generated/sdk-messages_pb.d.ts +108 -0
  41. package/generated/sdk-messages_pb.js +830 -0
  42. package/generated/sdk_grpc_pb.d.ts +10 -0
  43. package/generated/sdk_grpc_pb.js +66 -0
  44. package/package.json +1 -1
  45. package/src/ai-sdk-node/bundle.js +1 -1
  46. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  47. package/src/bin/codeceptjs/command.js +1 -1
  48. package/src/bin/codeceptjs/helper.js +1 -1
  49. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  50. package/src/bin/cucumber-js/command.js +1 -1
  51. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  52. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  53. package/src/bin/cucumber-js/test-observability.js +1 -1
  54. package/src/bin/cucumber-js/test.setup.js +1 -1
  55. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  56. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  57. package/src/bin/integrations/command.js +1 -1
  58. package/src/bin/integrations/constants.js +1 -1
  59. package/src/bin/jest/command.js +1 -1
  60. package/src/bin/jest/customImplements/customCircus.js +1 -1
  61. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  62. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  63. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  64. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  65. package/src/bin/jest/jest.setup.js +1 -1
  66. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  67. package/src/bin/jest/test-observability/helper.js +1 -1
  68. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  69. package/src/bin/jest/test-observability/test-details.js +1 -1
  70. package/src/bin/jest/test.setup.js +1 -1
  71. package/src/bin/jest/test_before.setup.js +1 -1
  72. package/src/bin/launcher/launcher.js +1 -1
  73. package/src/bin/load/index.js +1 -1
  74. package/src/bin/load/loadUtils.js +1 -1
  75. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  76. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  77. package/src/bin/mocha/command.js +1 -1
  78. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  79. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  80. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  81. package/src/bin/mocha/test.setup.js +1 -1
  82. package/src/bin/nightwatch/command.js +1 -1
  83. package/src/bin/playwright/accessibility-helper.js +1 -1
  84. package/src/bin/playwright/command.js +1 -1
  85. package/src/bin/playwright/globalSetup.js +1 -1
  86. package/src/bin/playwright/mock-process.js +1 -1
  87. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  88. package/src/bin/playwright/patches.js +1 -1
  89. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  90. package/src/bin/playwright/reporter/reporter.js +1 -1
  91. package/src/bin/playwright/reporter/test-details.js +1 -1
  92. package/src/bin/playwright/sessionDetails.js +1 -1
  93. package/src/bin/runner.js +1 -1
  94. package/src/bin/setup.js +1 -1
  95. package/src/bin/test-runner/index.js +1 -1
  96. package/src/bin/test-runner/runTest.js +1 -1
  97. package/src/bin/test-runner/testWorker.js +1 -1
  98. package/src/bin/utils/apiUtilityMethods.js +1 -1
  99. package/src/bin/utils/clientTroubleshootingService.js +1 -0
  100. package/src/bin/utils/constants.js +1 -1
  101. package/src/bin/utils/log4jsAppender.js +1 -1
  102. package/src/bin/utils/logPatcher.js +1 -1
  103. package/src/bin/utils/logReportingAPI.js +1 -1
  104. package/src/bin/utils/playwright-patcher.js +1 -1
  105. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  106. package/src/bin/utils/sharedUtils.js +1 -1
  107. package/src/bin/v2/TestInfo.js +1 -1
  108. package/src/bin/v2/browserstackCLI.js +1 -1
  109. package/src/bin/v2/cliUtils.js +1 -1
  110. package/src/bin/v2/customTagManager.js +1 -1
  111. package/src/bin/v2/eventDispatcher.js +1 -1
  112. package/src/bin/v2/framework/automationFramework.js +1 -1
  113. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  114. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  115. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  116. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  117. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  118. package/src/bin/v2/framework/testFramework.js +1 -1
  119. package/src/bin/v2/grpcClient.js +1 -1
  120. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  121. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  122. package/src/bin/v2/instances/trackedContext.js +1 -1
  123. package/src/bin/v2/instances/trackedInstance.js +1 -1
  124. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  125. package/src/bin/v2/modules/baseModule.js +1 -1
  126. package/src/bin/v2/modules/observabilityModule.js +1 -1
  127. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  128. package/src/bin/v2/modules/testhubModule.js +1 -1
  129. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  130. package/src/bin/v2/state/hookState.js +1 -1
  131. package/src/bin/v2/state/testFrameworkState.js +1 -1
  132. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  133. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  134. package/src/bin/vanilla-js/command.js +1 -1
  135. package/src/browserStackSdk.js +1 -1
  136. package/src/helpers/BrowserStackSetup.js +1 -1
  137. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  138. package/src/helpers/accessibility-automation/constants.js +1 -1
  139. package/src/helpers/accessibility-automation/helper.js +1 -1
  140. package/src/helpers/accessibility-automation/scripts.js +1 -1
  141. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  142. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  143. package/src/helpers/ats/constants.js +1 -1
  144. package/src/helpers/ats/helper.js +1 -1
  145. package/src/helpers/capsMapping.js +1 -1
  146. package/src/helpers/central-scanner/constants.js +1 -1
  147. package/src/helpers/central-scanner/helpers.js +1 -1
  148. package/src/helpers/classLogger.js +1 -1
  149. package/src/helpers/globals.js +1 -1
  150. package/src/helpers/helper.js +1 -1
  151. package/src/helpers/logger.js +1 -1
  152. package/src/helpers/metadata.js +1 -1
  153. package/src/helpers/patchHelper.js +1 -1
  154. package/src/helpers/patchHelpers.js +1 -1
  155. package/src/helpers/percy/Percy.js +1 -1
  156. package/src/helpers/percy/PercyBinary.js +1 -1
  157. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  158. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  159. package/src/helpers/percy/PercySDK.js +1 -1
  160. package/src/helpers/percy/index.js +1 -1
  161. package/src/helpers/percy/utils.js +1 -1
  162. package/src/helpers/performance/constants.js +1 -1
  163. package/src/helpers/performance/performance-tester.js +1 -1
  164. package/src/helpers/playwright-helper.js +1 -1
  165. package/src/helpers/processHelper.js +1 -1
  166. package/src/helpers/request-spy.js +1 -1
  167. package/src/helpers/setKeepAlive.js +1 -1
  168. package/src/helpers/test-observability/constants.js +1 -1
  169. package/src/helpers/test-observability/error-handler.js +1 -1
  170. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  171. package/src/helpers/test-observability/sessionHandler.js +1 -1
  172. package/src/helpers/test-observability/utils.js +1 -1
  173. package/src/helpers/test-orchestration/constants.js +1 -1
  174. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  175. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  176. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  177. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  178. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  179. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  180. package/src/helpers/testhub/constants.js +1 -1
  181. package/src/helpers/testhub/testhubHandler.js +1 -1
  182. package/src/helpers/testhub/utils.js +1 -1
  183. package/src/helpers/timeoutPromise.js +1 -1
  184. package/src/helpers/utilities.js +1 -1
  185. package/src/helpers/w3cMapping.js +1 -1
  186. package/src/hubAllocationMethods.js +1 -1
  187. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a33_0x545a(){const _0x14d07a=['jObFQ','https://','../../../helpers/logger','bRVXc','isAccessibilityPlatform','then','options_','qZDIg','OPPAe','1379329wqVciV','../accessibility-automation/helper','10UvbSfc','Builder','exports','__drivers','BDgBU','CKxcq','build','ms:edgeOptions','getHubUrl','goog:chromeOptions','hmlFY','safari.options','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','se:ieOptions','IrIKi','forEach','getAccessibilityResults','setLogLevel','umdaK','../../../bin/utils/constants','keys','firefoxOptions_','getHttpAgent','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','CAPABILITY_KEY','get','Setting\x20Browserstack\x20capabilities','nxupZ','zBsLL','setCapabilities','eXVrU','storeOptimalHubUrl','New\x20hub\x20url\x20set\x20to\x20','176ooQSGI','path','split','requireHttpClient','updateHubUrl','Hub\x20url\x20set\x20to\x20','Modifying\x20webdriver\x20builder','../../../hubAllocationMethods','ieOptions_','mergeDeep','getGlobal','proxy_','set','Vuziw','../../../helpers/globals','info','rYjOe','XAaxE','Proxy\x20set\x20to\x20','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','isUndefined','overrideGet','send','originalBuilder','IjSNw','/session','chromeOptions','isBrowserstackInfra','../../../helpers/patchHelpers','capabilities_','KXdbh','752178PwCXOT','winstonLogger','15706030GQGHYj','url_','__driversArray','UuaKc','proxySettings','238392NXFkNo','mmChT','setGlobal','edgeOptions','/wd/hub','jEsDQ','newHubUrl','proxyUrl','getAccessibilityResultsSummary','AGIfc','firefoxOptions','__driver','chromeOptions_','quitCount_','187154LHYDpD','VKAoK','4674zZwWAT','setServer','safariOptions_','push','aMNYh','__setBrowserOptions','DUMsl','../../../helpers/helper','global','HttpClient','capability','372184FsARuE','782cRalBd','debug','Kmzkp','edgeOptions_','5|4|2|1|0|3'];a33_0x545a=function(){return _0x14d07a;};return a33_0x545a();}function a33_0x2745(_0x3b3a81,_0x4bcf47){const _0x545adf=a33_0x545a();return a33_0x2745=function(_0x2745bb,_0x1cd2d5){_0x2745bb=_0x2745bb-0x106;let _0x1d6840=_0x545adf[_0x2745bb];return _0x1d6840;},a33_0x2745(_0x3b3a81,_0x4bcf47);}const a33_0x2bf550=a33_0x2745;(function(_0x492460,_0x58d934){const _0x4a3388=a33_0x2745,_0x208a4e=_0x492460();while(!![]){try{const _0x2f11da=parseInt(_0x4a3388(0x13d))/0x1+parseInt(_0x4a3388(0x14b))/0x2*(-parseInt(_0x4a3388(0x13f))/0x3)+-parseInt(_0x4a3388(0x14a))/0x4*(parseInt(_0x4a3388(0x15b))/0x5)+parseInt(_0x4a3388(0x128))/0x6+-parseInt(_0x4a3388(0x159))/0x7+-parseInt(_0x4a3388(0x109))/0x8*(parseInt(_0x4a3388(0x12f))/0x9)+parseInt(_0x4a3388(0x12a))/0xa;if(_0x2f11da===_0x58d934)break;else _0x208a4e['push'](_0x208a4e['shift']());}catch(_0x28149e){_0x208a4e['push'](_0x208a4e['shift']());}}}(a33_0x545a,0x4b363));const logger=require(a33_0x2bf550(0x152))[a33_0x2bf550(0x129)],helper=require(a33_0x2bf550(0x146)),constants=require(a33_0x2bf550(0x16e)),hubAllocator=require(a33_0x2bf550(0x110)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a33_0x2bf550(0x125)),{setAccessibilityCapabilities,setExtension}=require(a33_0x2bf550(0x15a)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require(a33_0x2bf550(0x117)),{overrideExecute}=require('./helpers/patchHelper'),modify=(_0x381a28,_0x3b6a16=null,_0x28891b=![])=>{const _0x3a7f44=a33_0x2bf550,_0x4684b6={'OPPAe':function(_0x25acfc,_0x482ccd){return _0x25acfc!==_0x482ccd;},'zBsLL':_0x3a7f44(0x122),'qZDIg':function(_0x3120e9,_0x3333a7){return _0x3120e9+_0x3333a7;},'nNnND':function(_0x1fd4a3,_0x41173c){return _0x1fd4a3+_0x41173c;},'QejXf':_0x3a7f44(0x151),'wfrIl':_0x3a7f44(0x133),'EAnTr':_0x3a7f44(0x164),'onQpH':_0x3a7f44(0x123),'bRVXc':_0x3a7f44(0x162),'hmlFY':_0x3a7f44(0x132),'NcgIS':'moz:firefoxOptions','SGUzV':_0x3a7f44(0x139),'VKAoK':_0x3a7f44(0x166),'UuaKc':_0x3a7f44(0x168),'aMNYh':'ieOptions','KXdbh':function(_0x43b231,_0x3595fa){return _0x43b231===_0x3595fa;},'BDgBU':'object','meyuN':_0x3a7f44(0x176),'rYjOe':'optimalHubUrl','Vuziw':_0x3a7f44(0x172),'IrIKi':function(_0x38af18,_0x2d20a1,_0x194188){return _0x38af18(_0x2d20a1,_0x194188);},'qYiLk':function(_0x12ab18,_0x26bf94,_0xdfbcb6){return _0x12ab18(_0x26bf94,_0xdfbcb6);},'TbpjP':function(_0x5f49ce,_0x601db,_0x28b851){return _0x5f49ce(_0x601db,_0x28b851);},'umdaK':function(_0x4db849,_0x442ca5){return _0x4db849(_0x442ca5);},'DUMsl':function(_0x5283ce,_0x2645cc,_0x275ac7){return _0x5283ce(_0x2645cc,_0x275ac7);},'AGIfc':function(_0x5842b1,_0x381151,_0x7bcb8){return _0x5842b1(_0x381151,_0x7bcb8);},'nxupZ':_0x3a7f44(0x14f),'eXVrU':_0x3a7f44(0x154),'jZTPd':function(_0x183f2b,_0x324193,_0xe7cf80){return _0x183f2b(_0x324193,_0xe7cf80);},'CKxcq':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','ixNIm':function(_0x4a9dde){return _0x4a9dde();},'mmChT':function(_0x54f35f,_0x261028){return _0x54f35f(_0x261028);},'jEsDQ':function(_0x1875a5,_0xf9c67a,_0x426af4){return _0x1875a5(_0xf9c67a,_0x426af4);},'jObFQ':function(_0x1b7630,_0x430882){return _0x1b7630!==_0x430882;},'XrUKn':_0x3a7f44(0x167),'pchLD':_0x3a7f44(0x10f)},_0x187b7a=helper[_0x3a7f44(0x10c)]();let _0x136adf;try{_0x136adf=helper['requireSeleniumWebdriver'](),_0x136adf['originalBuilder']&&(_0x136adf[_0x3a7f44(0x15c)]=_0x136adf[_0x3a7f44(0x120)]);}catch(_0x400096){return;}if(helper[_0x3a7f44(0x124)]()){const _0x269b4d={};_0x269b4d['logLevel']=_0x381a28['browserStackLogLevel'],helper[_0x3a7f44(0x16c)](_0x269b4d,new Map(),new Map()),logger[_0x3a7f44(0x118)](_0x4684b6['XrUKn']),logger[_0x3a7f44(0x14c)](_0x4684b6['pchLD']);}class _0xd4d10c extends _0x187b7a[_0x3a7f44(0x148)]{[_0x3a7f44(0x11f)](_0x17ce07){const _0x1fe03c=_0x3a7f44;if(_0x4684b6[_0x1fe03c(0x158)](_0x17ce07[_0x1fe03c(0x10a)],_0x4684b6[_0x1fe03c(0x178)])&&_0x4684b6['OPPAe'](global['newHubUrl'],''))try{global[_0x1fe03c(0x135)]=_0x4684b6[_0x1fe03c(0x157)](_0x4684b6['nNnND'](_0x4684b6['QejXf'],global[_0x1fe03c(0x135)]),_0x4684b6['wfrIl']),this[_0x1fe03c(0x156)]=hubAllocator['getRequestOptions'](global[_0x1fe03c(0x135)]),logger[_0x1fe03c(0x14c)](_0x1fe03c(0x108)+global[_0x1fe03c(0x135)]),global[_0x1fe03c(0x135)]='';}catch(_0x40ce59){logger['error'](_0x40ce59);}return super[_0x1fe03c(0x11f)](_0x17ce07);}}class _0x58572e extends _0x136adf[_0x3a7f44(0x15c)]{[_0x3a7f44(0x140)](){const _0x1f462a=_0x3a7f44;return this[_0x1f462a(0x12b)]=helper[_0x1f462a(0x163)](_0x381a28),logger[_0x1f462a(0x14c)](_0x1f462a(0x10e)+this[_0x1f462a(0x12b)]),this;}[_0x3a7f44(0x144)](_0x2a90c0){const _0x2396cc=_0x3a7f44;let _0x182121={};for(const _0x4f8090 in _0x2a90c0){switch(_0x4f8090){case _0x4684b6['EAnTr']:case _0x4684b6['onQpH']:this[_0x2396cc(0x13b)]&&(_0x182121=this[_0x2396cc(0x13b)]['get'](this[_0x2396cc(0x13b)][_0x2396cc(0x174)])||{},this[_0x2396cc(0x13b)][_0x2396cc(0x115)](this[_0x2396cc(0x13b)][_0x2396cc(0x174)],helper[_0x2396cc(0x112)](_0x182121,_0x2a90c0[_0x4f8090])));break;case _0x4684b6[_0x2396cc(0x153)]:case _0x4684b6[_0x2396cc(0x165)]:this[_0x2396cc(0x14e)]&&(_0x182121=this[_0x2396cc(0x14e)][_0x2396cc(0x175)](this['edgeOptions_']['CAPABILITY_KEY'])||{},this[_0x2396cc(0x14e)]['set'](this[_0x2396cc(0x14e)]['CAPABILITY_KEY'],helper[_0x2396cc(0x112)](_0x182121,_0x2a90c0[_0x4f8090])));break;case _0x4684b6['NcgIS']:case _0x4684b6['SGUzV']:this[_0x2396cc(0x170)]&&(_0x182121=this[_0x2396cc(0x170)]['get'](this['firefoxOptions_'][_0x2396cc(0x174)])||{},this[_0x2396cc(0x170)]['set'](this['firefoxOptions_'][_0x2396cc(0x174)],helper[_0x2396cc(0x112)](_0x182121,_0x2a90c0[_0x4f8090])));break;case _0x4684b6[_0x2396cc(0x13e)]:this[_0x2396cc(0x141)]&&(_0x182121=this[_0x2396cc(0x141)][_0x2396cc(0x175)](this[_0x2396cc(0x141)]['CAPABILITY_KEY'])||{},this[_0x2396cc(0x141)][_0x2396cc(0x115)](this[_0x2396cc(0x141)]['CAPABILITY_KEY'],helper[_0x2396cc(0x112)](_0x182121,_0x2a90c0[_0x4f8090])));break;case _0x4684b6[_0x2396cc(0x12d)]:case _0x4684b6[_0x2396cc(0x143)]:this['ieOptions_']&&(_0x182121=this[_0x2396cc(0x111)][_0x2396cc(0x175)](this['ieOptions_']['CAPABILITY_KEY'])||{},this[_0x2396cc(0x111)]['set'](this['ieOptions_'][_0x2396cc(0x174)],helper[_0x2396cc(0x112)](_0x182121,_0x2a90c0[_0x4f8090])));break;}}}[_0x3a7f44(0x179)](){const _0xe36a11=_0x3a7f44;return logger['debug'](_0x4684b6['meyuN']),this[_0xe36a11(0x144)](_0x381a28[_0xe36a11(0x149)]),Object[_0xe36a11(0x16f)](_0x381a28[_0xe36a11(0x149)])[_0xe36a11(0x16a)](_0x5e381b=>{const _0x51d8ed=_0xe36a11,_0x37fb47=this[_0x51d8ed(0x126)][_0x51d8ed(0x175)](_0x5e381b);_0x4684b6[_0x51d8ed(0x127)](typeof _0x37fb47,_0x4684b6[_0x51d8ed(0x15f)])?this['capabilities_'][_0x51d8ed(0x115)](_0x5e381b,helper[_0x51d8ed(0x112)](_0x37fb47,_0x381a28[_0x51d8ed(0x149)][_0x5e381b])):this[_0x51d8ed(0x126)][_0x51d8ed(0x115)](_0x5e381b,_0x381a28[_0x51d8ed(0x149)][_0x5e381b]);}),this;}['build'](){const _0x190a45=_0x3a7f44,_0x141ea0={'XAaxE':function(_0x22176f,_0x54f40a,_0x278c6a){const _0x10a6d4=a33_0x2745;return _0x4684b6[_0x10a6d4(0x138)](_0x22176f,_0x54f40a,_0x278c6a);}};if(helper[_0x190a45(0x124)]()){const _0x5e24a6=_0x4684b6[_0x190a45(0x177)][_0x190a45(0x10b)]('|');let _0x4b4e66=0x0;while(!![]){switch(_0x5e24a6[_0x4b4e66++]){case'0':globals[_0x190a45(0x113)](_0x4684b6[_0x190a45(0x106)])&&(!_0x4684b6['jZTPd'](setExtension,this,_0x381a28)&&globals[_0x190a45(0x131)](_0x4684b6['eXVrU'],![]));continue;case'1':if(helper['isPacProxy'](_0x381a28['proxySettings'][_0x190a45(0x136)]))this['agent_']=helper[_0x190a45(0x171)](_0x381a28[_0x190a45(0x12e)][_0x190a45(0x136)]);else _0x381a28[_0x190a45(0x12e)]['proxyUrl']&&(this['proxy_']=_0x381a28['proxySettings']['proxyUrl'],logger[_0x190a45(0x14c)](_0x190a45(0x11b)+this[_0x190a45(0x114)]));continue;case'2':this[_0x190a45(0x179)]();continue;case'3':logger[_0x190a45(0x14c)](_0x4684b6[_0x190a45(0x160)]);continue;case'4':this['setServer']();continue;case'5':_0x4684b6['ixNIm'](isAccessibilityAutomationSession)&&_0x4684b6[_0x190a45(0x16d)](setAccessibilityCapabilities,_0x381a28);continue;}break;}}const _0xd0bef6=super[_0x190a45(0x161)]();return _0xd0bef6['session_']['then'](_0x1253d1=>{const _0xe82e33=_0x190a45;try{const _0x179a0f=_0x1253d1['caps_']['get'](_0x4684b6[_0xe82e33(0x119)]);_0x179a0f?(logger[_0xe82e33(0x14c)](_0xe82e33(0x11c)+_0x179a0f),hubAllocator[_0xe82e33(0x10d)](_0x179a0f),helper[_0xe82e33(0x107)](_0x179a0f)):logger[_0xe82e33(0x14c)](_0x4684b6[_0xe82e33(0x116)]);}catch(_0x278f34){logger[_0xe82e33(0x14c)](_0xe82e33(0x173)+_0x278f34);}}),_0xd0bef6[_0x190a45(0x13c)]=0x0,_0xd0bef6[_0x190a45(0x155)]&&_0xd0bef6['then'](_0x1b51c6=>{const _0x3f151c=_0x190a45,_0x177aeb={'IjSNw':function(_0x32a1b2,_0x21caa0,_0x586107){const _0x19df84=a33_0x2745;return _0x4684b6[_0x19df84(0x169)](_0x32a1b2,_0x21caa0,_0x586107);},'Kmzkp':function(_0x131de6,_0x402e28,_0x542620){return _0x4684b6['qYiLk'](_0x131de6,_0x402e28,_0x542620);}};_0x4684b6['TbpjP'](overrideQuit,_0x1b51c6,_0xd0bef6),_0x4684b6['umdaK'](overrideTakeScreenshot,_0x1b51c6),helper[_0x3f151c(0x11e)](_0x1b51c6,_0x381a28),_0x4684b6[_0x3f151c(0x145)](overrideExecute,_0x1b51c6,_0x381a28),_0x1b51c6[_0x3f151c(0x137)]=async()=>{const _0x3e7f22=_0x3f151c;return await _0x177aeb[_0x3e7f22(0x121)](getAccessibilityResultsSummary,_0x1b51c6,global);},_0x1b51c6['getAccessibilityResults']=async()=>{const _0x721f16=_0x3f151c;return await _0x177aeb[_0x721f16(0x14d)](getAccessibilityResults,_0x1b51c6,global);};}),_0xd0bef6[_0x190a45(0x137)]=async()=>{return await _0x4684b6['DUMsl'](getAccessibilityResultsSummary,_0xd0bef6,global);},_0xd0bef6[_0x190a45(0x16b)]=async()=>{const _0x45eb50=_0x190a45;return await _0x141ea0[_0x45eb50(0x11a)](getAccessibilityResults,_0xd0bef6,global);},_0x4684b6[_0x190a45(0x130)](overrideTakeScreenshot,_0xd0bef6),_0x4684b6[_0x190a45(0x16d)](overrideQuit,_0xd0bef6),helper[_0x190a45(0x11e)](_0xd0bef6,_0x381a28),_0x4684b6[_0x190a45(0x134)](overrideExecute,_0xd0bef6,_0x381a28),helper[_0x190a45(0x11d)](global[_0x190a45(0x12c)])&&(global[_0x190a45(0x12c)]=[]),helper['isUndefined'](global[_0x190a45(0x15e)])&&(global[_0x190a45(0x15e)]=[]),global[_0x190a45(0x12c)][_0x190a45(0x142)](_0xd0bef6),global[_0x190a45(0x13a)]=_0xd0bef6,_0x4684b6[_0x190a45(0x150)](global['__drivers'],undefined)&&global[_0x190a45(0x15e)][_0x190a45(0x142)](_0xd0bef6),_0x3b6a16&&helper['isUndefined'](_0x3b6a16[_0x190a45(0x147)][_0x190a45(0x12c)])&&(_0x3b6a16[_0x190a45(0x147)][_0x190a45(0x12c)]=[]),_0x3b6a16&&_0x4684b6[_0x190a45(0x150)](_0x3b6a16[_0x190a45(0x147)][_0x190a45(0x15e)],undefined)&&(_0x3b6a16['global'][_0x190a45(0x15e)]['push'](_0xd0bef6),_0x3b6a16[_0x190a45(0x147)][_0x190a45(0x12c)]['push'](_0xd0bef6)),_0xd0bef6;}}return _0x136adf['originalBuilder']=_0x136adf[_0x3a7f44(0x15c)],_0x136adf[_0x3a7f44(0x15c)]=_0x58572e,_0x187b7a[_0x3a7f44(0x148)]=_0xd4d10c,_0x136adf;};module[a33_0x2bf550(0x15d)]['browserstackAgentObservability']=modify;
1
+ const a33_0x2c1cd2=a33_0x350a;(function(_0x20162a,_0x16f5c6){const _0x8ae16d=a33_0x350a,_0x53e59d=_0x20162a();while(!![]){try{const _0x295d08=-parseInt(_0x8ae16d(0x14b))/0x1*(-parseInt(_0x8ae16d(0x11d))/0x2)+parseInt(_0x8ae16d(0x101))/0x3*(parseInt(_0x8ae16d(0x149))/0x4)+parseInt(_0x8ae16d(0x11c))/0x5+parseInt(_0x8ae16d(0x134))/0x6+parseInt(_0x8ae16d(0xf8))/0x7+parseInt(_0x8ae16d(0xf9))/0x8+parseInt(_0x8ae16d(0xea))/0x9*(-parseInt(_0x8ae16d(0x13d))/0xa);if(_0x295d08===_0x16f5c6)break;else _0x53e59d['push'](_0x53e59d['shift']());}catch(_0x1b8834){_0x53e59d['push'](_0x53e59d['shift']());}}}(a33_0x4d4f,0xb3652));function a33_0x350a(_0x1a9389,_0x1b0c0d){const _0x4d4f1a=a33_0x4d4f();return a33_0x350a=function(_0x350aa9,_0x3b71d3){_0x350aa9=_0x350aa9-0xde;let _0x92dce4=_0x4d4f1a[_0x350aa9];return _0x92dce4;},a33_0x350a(_0x1a9389,_0x1b0c0d);}const logger=require(a33_0x2c1cd2(0x131))[a33_0x2c1cd2(0x133)],helper=require('../../../helpers/helper'),constants=require('../../../bin/utils/constants'),hubAllocator=require('../../../hubAllocationMethods'),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require(a33_0x2c1cd2(0xe5)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a33_0x2c1cd2(0xf4)),globals=require(a33_0x2c1cd2(0xe2)),{overrideExecute}=require('./helpers/patchHelper'),modify=(_0x54a711,_0x2588dd=null,_0x101183=![])=>{const _0x2467bd=a33_0x2c1cd2,_0x1a5676={'Vkmpi':function(_0x95c3af,_0x485684){return _0x95c3af!==_0x485684;},'neNsH':_0x2467bd(0xf2),'hGipP':function(_0x409568,_0x25e5cf){return _0x409568!==_0x25e5cf;},'FvQef':function(_0x487ecf,_0x35233e){return _0x487ecf+_0x35233e;},'VzRkc':'https://','HyMGM':_0x2467bd(0x120),'ujFkG':_0x2467bd(0x11f),'Osgzc':_0x2467bd(0xff),'CZOmn':_0x2467bd(0x14a),'mgZuK':_0x2467bd(0x11a),'yBOLC':_0x2467bd(0x137),'ZqtSW':_0x2467bd(0x130),'eFEbl':_0x2467bd(0x14d),'dHqbn':_0x2467bd(0x117),'tMeGx':_0x2467bd(0xe4),'yjTaT':function(_0x31729e,_0x5ca350){return _0x31729e===_0x5ca350;},'eRbXY':_0x2467bd(0x102),'MGCaP':'Setting\x20Browserstack\x20capabilities','VMRRa':'optimalHubUrl','eDGgW':_0x2467bd(0x107),'CrNCU':function(_0x2a7fe6,_0x2bc3ce,_0x1c238d){return _0x2a7fe6(_0x2bc3ce,_0x1c238d);},'GGTFs':function(_0x4b1155,_0x566f52){return _0x4b1155(_0x566f52);},'MlMlF':function(_0x515385,_0xe464c4,_0x6432d7){return _0x515385(_0xe464c4,_0x6432d7);},'ZcquI':function(_0x3e02bf,_0x5713a3,_0x42a5fe){return _0x3e02bf(_0x5713a3,_0x42a5fe);},'hOcwi':function(_0x1a3daa,_0x398a07,_0x52025c){return _0x1a3daa(_0x398a07,_0x52025c);},'erZqp':'3|0|4|1|2|5','KgbeG':'isAccessibilityPlatform','WbtEl':function(_0x5bd3cd,_0x8b5294,_0x256eab){return _0x5bd3cd(_0x8b5294,_0x256eab);},'TKcqF':function(_0x556e35){return _0x556e35();},'hqnrg':function(_0x74fa79,_0x500895){return _0x74fa79(_0x500895);},'UawbA':_0x2467bd(0xed),'MXGUm':function(_0x12b6f5,_0x3bad32){return _0x12b6f5!==_0x3bad32;},'HmIcO':_0x2467bd(0x11b),'kqApS':'Modifying\x20webdriver\x20builder'},_0x155632=helper[_0x2467bd(0x121)]();let _0x31aae9;try{_0x31aae9=helper['requireSeleniumWebdriver'](),_0x31aae9[_0x2467bd(0x112)]&&(_0x31aae9[_0x2467bd(0x12b)]=_0x31aae9[_0x2467bd(0x112)]);}catch(_0x96ad29){return;}if(helper['isBrowserstackInfra']()){const _0x489c20={};_0x489c20[_0x2467bd(0x13c)]=_0x54a711[_0x2467bd(0x13b)],helper['setLogLevel'](_0x489c20,new Map(),new Map()),logger[_0x2467bd(0xdf)](_0x1a5676['HmIcO']),logger[_0x2467bd(0x127)](_0x1a5676[_0x2467bd(0x12f)]);}class _0xac7207 extends _0x155632[_0x2467bd(0x118)]{[_0x2467bd(0x139)](_0x1b348c){const _0x110ebb=_0x2467bd;if(_0x1a5676[_0x110ebb(0x115)](_0x1b348c[_0x110ebb(0xfd)],_0x1a5676[_0x110ebb(0x105)])&&_0x1a5676[_0x110ebb(0xe6)](global[_0x110ebb(0x136)],''))try{global[_0x110ebb(0x136)]=_0x1a5676['FvQef'](_0x1a5676[_0x110ebb(0x119)](_0x1a5676[_0x110ebb(0x138)],global[_0x110ebb(0x136)]),_0x1a5676['HyMGM']),this[_0x110ebb(0x150)]=hubAllocator['getRequestOptions'](global[_0x110ebb(0x136)]),logger[_0x110ebb(0x127)]('New\x20hub\x20url\x20set\x20to\x20'+global[_0x110ebb(0x136)]),global['newHubUrl']='';}catch(_0x573c43){logger['error'](_0x573c43);}return super['send'](_0x1b348c);}}class _0x4b310c extends _0x31aae9[_0x2467bd(0x12b)]{[_0x2467bd(0xf6)](){const _0x45f4f3=_0x2467bd;return this[_0x45f4f3(0x13a)]=helper['getHubUrl'](_0x54a711),logger[_0x45f4f3(0x127)](_0x45f4f3(0x10e)+this[_0x45f4f3(0x13a)]),this;}['__setBrowserOptions'](_0xc04523){const _0x4a8aac=_0x2467bd;let _0x33a7c8={};for(const _0x51e5aa in _0xc04523){switch(_0x51e5aa){case _0x1a5676[_0x4a8aac(0xe0)]:case _0x1a5676[_0x4a8aac(0x128)]:this['chromeOptions_']&&(_0x33a7c8=this[_0x4a8aac(0x146)][_0x4a8aac(0xe7)](this[_0x4a8aac(0x146)]['CAPABILITY_KEY'])||{},this[_0x4a8aac(0x146)][_0x4a8aac(0x12a)](this[_0x4a8aac(0x146)][_0x4a8aac(0xf0)],helper['mergeDeep'](_0x33a7c8,_0xc04523[_0x51e5aa])));break;case _0x1a5676[_0x4a8aac(0x114)]:case _0x1a5676['mgZuK']:this['edgeOptions_']&&(_0x33a7c8=this[_0x4a8aac(0x148)][_0x4a8aac(0xe7)](this[_0x4a8aac(0x148)]['CAPABILITY_KEY'])||{},this[_0x4a8aac(0x148)][_0x4a8aac(0x12a)](this[_0x4a8aac(0x148)]['CAPABILITY_KEY'],helper[_0x4a8aac(0x14f)](_0x33a7c8,_0xc04523[_0x51e5aa])));break;case _0x1a5676[_0x4a8aac(0x14c)]:case _0x1a5676[_0x4a8aac(0x11e)]:this[_0x4a8aac(0xe8)]&&(_0x33a7c8=this['firefoxOptions_'][_0x4a8aac(0xe7)](this[_0x4a8aac(0xe8)]['CAPABILITY_KEY'])||{},this[_0x4a8aac(0xe8)][_0x4a8aac(0x12a)](this[_0x4a8aac(0xe8)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x33a7c8,_0xc04523[_0x51e5aa])));break;case _0x1a5676[_0x4a8aac(0x113)]:this[_0x4a8aac(0xef)]&&(_0x33a7c8=this[_0x4a8aac(0xef)][_0x4a8aac(0xe7)](this['safariOptions_']['CAPABILITY_KEY'])||{},this[_0x4a8aac(0xef)][_0x4a8aac(0x12a)](this['safariOptions_'][_0x4a8aac(0xf0)],helper[_0x4a8aac(0x14f)](_0x33a7c8,_0xc04523[_0x51e5aa])));break;case _0x1a5676[_0x4a8aac(0xe1)]:case _0x1a5676[_0x4a8aac(0x13e)]:this[_0x4a8aac(0x125)]&&(_0x33a7c8=this[_0x4a8aac(0x125)][_0x4a8aac(0xe7)](this['ieOptions_'][_0x4a8aac(0xf0)])||{},this['ieOptions_'][_0x4a8aac(0x12a)](this['ieOptions_'][_0x4a8aac(0xf0)],helper[_0x4a8aac(0x14f)](_0x33a7c8,_0xc04523[_0x51e5aa])));break;}}}[_0x2467bd(0x109)](){const _0x33417e=_0x2467bd;return logger[_0x33417e(0x127)](_0x1a5676[_0x33417e(0x132)]),this[_0x33417e(0xee)](_0x54a711[_0x33417e(0xfa)]),Object['keys'](_0x54a711[_0x33417e(0xfa)])[_0x33417e(0x10b)](_0x497004=>{const _0x56fbee=_0x33417e,_0x500c82=this['capabilities_']['get'](_0x497004);_0x1a5676[_0x56fbee(0x151)](typeof _0x500c82,_0x1a5676[_0x56fbee(0xe9)])?this['capabilities_']['set'](_0x497004,helper[_0x56fbee(0x14f)](_0x500c82,_0x54a711['capability'][_0x497004])):this[_0x56fbee(0xf3)][_0x56fbee(0x12a)](_0x497004,_0x54a711[_0x56fbee(0xfa)][_0x497004]);}),this;}[_0x2467bd(0x14e)](){const _0x3347fe=_0x2467bd,_0x202d0a={'AENfi':function(_0x59b736,_0x1d30a2,_0x13ddec){const _0x3de836=a33_0x350a;return _0x1a5676[_0x3de836(0x10d)](_0x59b736,_0x1d30a2,_0x13ddec);},'zuJWM':function(_0x3ebe76,_0x57174a,_0x224a87){const _0x1d1524=a33_0x350a;return _0x1a5676[_0x1d1524(0x116)](_0x3ebe76,_0x57174a,_0x224a87);}};if(helper[_0x3347fe(0x104)]()){const _0x397ba8=_0x1a5676['erZqp'][_0x3347fe(0x135)]('|');let _0x40d321=0x0;while(!![]){switch(_0x397ba8[_0x40d321++]){case'0':this['setServer']();continue;case'1':if(helper[_0x3347fe(0x129)](_0x54a711['proxySettings'][_0x3347fe(0x108)]))this[_0x3347fe(0x12e)]=helper[_0x3347fe(0xfe)](_0x54a711[_0x3347fe(0x103)][_0x3347fe(0x108)]);else _0x54a711[_0x3347fe(0x103)][_0x3347fe(0x108)]&&(this[_0x3347fe(0x110)]=_0x54a711[_0x3347fe(0x103)]['proxyUrl'],logger[_0x3347fe(0x127)](_0x3347fe(0xe3)+this[_0x3347fe(0x110)]));continue;case'2':globals['getGlobal'](_0x1a5676['KgbeG'])&&(!_0x1a5676[_0x3347fe(0xde)](setExtension,this,_0x54a711)&&globals[_0x3347fe(0x111)](_0x1a5676[_0x3347fe(0x13f)],![]));continue;case'3':_0x1a5676[_0x3347fe(0x123)](isAccessibilityAutomationSession)&&_0x1a5676[_0x3347fe(0x143)](setAccessibilityCapabilities,_0x54a711);continue;case'4':this[_0x3347fe(0x109)]();continue;case'5':logger[_0x3347fe(0x127)](_0x1a5676[_0x3347fe(0x100)]);continue;}break;}}const _0x1b392c=super[_0x3347fe(0x14e)]();return _0x1b392c[_0x3347fe(0x140)][_0x3347fe(0x10f)](_0x3d57af=>{const _0x59987a=_0x3347fe;try{const _0x5265de=_0x3d57af[_0x59987a(0x10a)][_0x59987a(0xe7)](_0x1a5676[_0x59987a(0x126)]);_0x5265de?(logger['debug']('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x5265de),hubAllocator['updateHubUrl'](_0x5265de),helper[_0x59987a(0xf7)](_0x5265de)):logger[_0x59987a(0x127)](_0x1a5676['eDGgW']);}catch(_0x356e4b){logger[_0x59987a(0x127)](_0x59987a(0x147)+_0x356e4b);}}),_0x1b392c[_0x3347fe(0x141)]=0x0,_0x1b392c[_0x3347fe(0x10f)]&&_0x1b392c['then'](_0x402c06=>{const _0x3ed04b=_0x3347fe,_0x2915a8={'NiSHm':function(_0x42474b,_0x32a0ac,_0x437300){const _0x174d32=a33_0x350a;return _0x1a5676[_0x174d32(0x10c)](_0x42474b,_0x32a0ac,_0x437300);}};_0x1a5676['CrNCU'](overrideQuit,_0x402c06,_0x1b392c),_0x1a5676[_0x3ed04b(0xfc)](overrideTakeScreenshot,_0x402c06),helper['overrideGet'](_0x402c06,_0x54a711),_0x1a5676['CrNCU'](overrideExecute,_0x402c06,_0x54a711),_0x402c06['getAccessibilityResultsSummary']=async()=>{const _0x429b45=_0x3ed04b;return await _0x202d0a[_0x429b45(0xeb)](getAccessibilityResultsSummary,_0x402c06,global);},_0x402c06[_0x3ed04b(0x122)]=async()=>{return await _0x2915a8['NiSHm'](getAccessibilityResults,_0x402c06,global);};}),_0x1b392c[_0x3347fe(0xf5)]=async()=>{const _0x561787=_0x3347fe;return await _0x202d0a[_0x561787(0x12d)](getAccessibilityResultsSummary,_0x1b392c,global);},_0x1b392c[_0x3347fe(0x122)]=async()=>{const _0x558748=_0x3347fe;return await _0x1a5676[_0x558748(0x12c)](getAccessibilityResults,_0x1b392c,global);},_0x1a5676['hqnrg'](overrideTakeScreenshot,_0x1b392c),_0x1a5676[_0x3347fe(0x143)](overrideQuit,_0x1b392c),helper[_0x3347fe(0xf1)](_0x1b392c,_0x54a711),_0x1a5676[_0x3347fe(0x12c)](overrideExecute,_0x1b392c,_0x54a711),helper[_0x3347fe(0x124)](global[_0x3347fe(0x144)])&&(global['__driversArray']=[]),helper[_0x3347fe(0x124)](global[_0x3347fe(0xec)])&&(global[_0x3347fe(0xec)]=[]),global[_0x3347fe(0x144)][_0x3347fe(0x106)](_0x1b392c),global['__driver']=_0x1b392c,_0x1a5676[_0x3347fe(0xe6)](global[_0x3347fe(0xec)],undefined)&&global[_0x3347fe(0xec)][_0x3347fe(0x106)](_0x1b392c),_0x2588dd&&helper[_0x3347fe(0x124)](_0x2588dd[_0x3347fe(0x145)][_0x3347fe(0x144)])&&(_0x2588dd[_0x3347fe(0x145)]['__driversArray']=[]),_0x2588dd&&_0x1a5676[_0x3347fe(0x142)](_0x2588dd[_0x3347fe(0x145)][_0x3347fe(0xec)],undefined)&&(_0x2588dd[_0x3347fe(0x145)][_0x3347fe(0xec)][_0x3347fe(0x106)](_0x1b392c),_0x2588dd[_0x3347fe(0x145)][_0x3347fe(0x144)]['push'](_0x1b392c)),_0x1b392c;}}return _0x31aae9['originalBuilder']=_0x31aae9[_0x2467bd(0x12b)],_0x31aae9[_0x2467bd(0x12b)]=_0x4b310c,_0x155632[_0x2467bd(0x118)]=_0xac7207,_0x31aae9;};module[a33_0x2c1cd2(0xfb)]['browserstackAgentObservability']=modify;function a33_0x4d4f(){const _0x28c29a=['2535210HmpBid','split','newHubUrl','moz:firefoxOptions','VzRkc','send','url_','browserStackLogLevel','logLevel','10TtoLWd','tMeGx','KgbeG','session_','quitCount_','MXGUm','hqnrg','__driversArray','global','chromeOptions_','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','edgeOptions_','31704aFzjxY','ms:edgeOptions','33QTRpek','yBOLC','safari.options','build','mergeDeep','options_','yjTaT','WbtEl','info','ujFkG','dHqbn','../../../helpers/globals','Proxy\x20set\x20to\x20','ieOptions','../accessibility-automation/helper','hGipP','get','firefoxOptions_','eRbXY','29213262WsDwoc','AENfi','__drivers','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','__setBrowserOptions','safariOptions_','CAPABILITY_KEY','overrideGet','/session','capabilities_','../../../helpers/accessibility-automation/helper','getAccessibilityResultsSummary','setServer','storeOptimalHubUrl','127407NaUjun','11304888nvZFdo','capability','exports','GGTFs','path','getHttpAgent','chromeOptions','UawbA','291YEBvOn','object','proxySettings','isBrowserstackInfra','neNsH','push','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','proxyUrl','setCapabilities','caps_','forEach','CrNCU','ZcquI','Hub\x20url\x20set\x20to\x20','then','proxy_','setGlobal','originalBuilder','eFEbl','CZOmn','Vkmpi','hOcwi','se:ieOptions','HttpClient','FvQef','edgeOptions','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','4457485IxGrFm','28276fJztJv','ZqtSW','goog:chromeOptions','/wd/hub','requireHttpClient','getAccessibilityResults','TKcqF','isUndefined','ieOptions_','VMRRa','debug','Osgzc','isPacProxy','set','Builder','MlMlF','zuJWM','agent_','kqApS','firefoxOptions','../../../helpers/logger','MGCaP','winstonLogger'];a33_0x4d4f=function(){return _0x28c29a;};return a33_0x4d4f();}
@@ -1 +1 @@
1
- function a34_0x46aa(_0x3b9333,_0x2baa31){const _0x15fcfb=a34_0x15fc();return a34_0x46aa=function(_0x46aaa6,_0x2fbc99){_0x46aaa6=_0x46aaa6-0x18d;let _0x5a494c=_0x15fcfb[_0x46aaa6];return _0x5a494c;},a34_0x46aa(_0x3b9333,_0x2baa31);}const a34_0x65dae8=a34_0x46aa;function a34_0x15fc(){const _0xe8af0d=['AedLa','../../../helpers/test-observability/utils','283885iMIdzZ','2285187JEhvyr','7617088YHhgKb','10940881ejdOKX','restore','556eHSbvi','timeout','mochaHooks','1900GegdOi','92ptZmsg','5580450PCSLrz','135NhxObE','210890XXgHmJ'];a34_0x15fc=function(){return _0xe8af0d;};return a34_0x15fc();}(function(_0xafba35,_0x3fa266){const _0x55350f=a34_0x46aa,_0x59e28a=_0xafba35();while(!![]){try{const _0x317107=parseInt(_0x55350f(0x190))/0x1*(-parseInt(_0x55350f(0x18d))/0x2)+parseInt(_0x55350f(0x198))/0x3+-parseInt(_0x55350f(0x191))/0x4*(parseInt(_0x55350f(0x197))/0x5)+parseInt(_0x55350f(0x192))/0x6+parseInt(_0x55350f(0x19a))/0x7+-parseInt(_0x55350f(0x199))/0x8+-parseInt(_0x55350f(0x193))/0x9*(-parseInt(_0x55350f(0x194))/0xa);if(_0x317107===_0x3fa266)break;else _0x59e28a['push'](_0x59e28a['shift']());}catch(_0xdfe258){_0x59e28a['push'](_0x59e28a['shift']());}}}(a34_0x15fc,0xbfa13));const requestSpy=require('../../../helpers/request-spy'),constants=require('../../../bin/utils/constants'),{addRequestSpy}=require(a34_0x65dae8(0x196));exports[a34_0x65dae8(0x18f)]={'beforeAll'(){const _0x50b621=a34_0x65dae8,_0x14d6cf={'AedLa':function(_0x3cd287){return _0x3cd287();}},_0x460274='browserstack internal helper hook';_0x14d6cf[_0x50b621(0x195)](addRequestSpy);},'afterAll'(){const _0x412bc5=a34_0x65dae8,_0x1d387e='browserstack internal helper hook';this[_0x412bc5(0x18e)](0xea60),requestSpy[_0x412bc5(0x19b)]();}};
1
+ const a34_0x12c921=a34_0x2970;(function(_0x38a8c0,_0xc46209){const _0x128695=a34_0x2970,_0x141ef1=_0x38a8c0();while(!![]){try{const _0x9521df=-parseInt(_0x128695(0x1cf))/0x1*(-parseInt(_0x128695(0x1de))/0x2)+-parseInt(_0x128695(0x1db))/0x3+parseInt(_0x128695(0x1dd))/0x4+-parseInt(_0x128695(0x1d5))/0x5*(-parseInt(_0x128695(0x1d0))/0x6)+-parseInt(_0x128695(0x1d9))/0x7+parseInt(_0x128695(0x1dc))/0x8*(-parseInt(_0x128695(0x1d8))/0x9)+-parseInt(_0x128695(0x1ce))/0xa*(parseInt(_0x128695(0x1d4))/0xb);if(_0x9521df===_0xc46209)break;else _0x141ef1['push'](_0x141ef1['shift']());}catch(_0x1b252a){_0x141ef1['push'](_0x141ef1['shift']());}}}(a34_0x442d,0x1f0fe));function a34_0x442d(){const _0x2d0dfd=['98385TnVIth','restore','153321DpTdTn','348872NgBOia','814544vteEUb','66wRhxyk','10aMAKEI','184ajIcIN','612558pwRTAK','../../../bin/utils/constants','timeout','../../../helpers/request-spy','354101IfTBCz','5MuWqMZ','mochaHooks','../../../helpers/test-observability/utils','18cAQYdk'];a34_0x442d=function(){return _0x2d0dfd;};return a34_0x442d();}const requestSpy=require(a34_0x12c921(0x1d3)),constants=require(a34_0x12c921(0x1d1)),{addRequestSpy}=require(a34_0x12c921(0x1d7));function a34_0x2970(_0x248d9e,_0x5ddbe4){const _0x442df1=a34_0x442d();return a34_0x2970=function(_0x2970ac,_0x54b5e3){_0x2970ac=_0x2970ac-0x1ce;let _0x29cdfa=_0x442df1[_0x2970ac];return _0x29cdfa;},a34_0x2970(_0x248d9e,_0x5ddbe4);}exports[a34_0x12c921(0x1d6)]={'beforeAll'(){const _0x35bc21={'ZOWcB':function(_0x3e93cd){return _0x3e93cd();}},_0x3b6055='browserstack internal helper hook';_0x35bc21['ZOWcB'](addRequestSpy);},'afterAll'(){const _0x969b3d=a34_0x12c921,_0x14b2d2='browserstack internal helper hook';this[_0x969b3d(0x1d2)](0xea60),requestSpy[_0x969b3d(0x1da)]();}};
@@ -1 +1 @@
1
- function a35_0x2ce9(_0x5973af,_0x9075f6){const _0x23a998=a35_0x23a9();return a35_0x2ce9=function(_0x2ce903,_0x1ce280){_0x2ce903=_0x2ce903-0x11d;let _0x4d3637=_0x23a998[_0x2ce903];return _0x4d3637;},a35_0x2ce9(_0x5973af,_0x9075f6);}const a35_0x154c76=a35_0x2ce9;(function(_0x407186,_0x3d5c0b){const _0x54b81f=a35_0x2ce9,_0x5bcd44=_0x407186();while(!![]){try{const _0x4d61e7=-parseInt(_0x54b81f(0x156))/0x1*(parseInt(_0x54b81f(0x11f))/0x2)+parseInt(_0x54b81f(0x13e))/0x3+parseInt(_0x54b81f(0x123))/0x4*(parseInt(_0x54b81f(0x126))/0x5)+parseInt(_0x54b81f(0x133))/0x6*(parseInt(_0x54b81f(0x170))/0x7)+parseInt(_0x54b81f(0x131))/0x8*(-parseInt(_0x54b81f(0x130))/0x9)+parseInt(_0x54b81f(0x136))/0xa*(-parseInt(_0x54b81f(0x16b))/0xb)+parseInt(_0x54b81f(0x167))/0xc;if(_0x4d61e7===_0x3d5c0b)break;else _0x5bcd44['push'](_0x5bcd44['shift']());}catch(_0x52471a){_0x5bcd44['push'](_0x5bcd44['shift']());}}}(a35_0x23a9,0x84144));function a35_0x23a9(){const _0x4b864a=['mapTestHooks','split','getBrowserName','indexOf','getCapabilities','fWMUN','9VMVLfo','4845560XMJXCo','getHookSkippedTests','363036JPKOCY','ovkvY','getBrowserVersion','3191830ayIDRo','hook:','GJgrC','toJSON','getHooksForTest','DZyRm','forEach','browserstack','1182630hVBhPu','toISOString','_beforeEach','CBxPT','../../../helpers/testhub/utils','substring','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','mntUC','js-','../../../helpers/test-observability/constants','nDvYT','pending','getTestEnv','getHookDetails','NHQYx','generic','GajFg','concat','get','emit','loWBp','fromEntries','KdbAR','wDrdi','365PtmCYh','SWgge','asEqV','tests','Wevdj','state','XdYTF','getSession','slice','markedStatus','sendPlatformDetails','nbpmI','map_','passed','parent','pYenh','tpegC','11722008EKLGZR','getPlatform','JZzkB','wcajD','33OuEmOP','bs:addPlatformDetails:','type','LBGeM','_afterAll','7amKtnm','DCAes','../../../helpers/test-observability/utils','GOIxN','1354SFIKUf','aMZft','hook','hookAnalyticsId','3679180tlkVca','uuid','push','5ZXbSFC','../../../helpers/helper','_afterEach','WIkHa'];a35_0x23a9=function(){return _0x4b864a;};return a35_0x23a9();}const {v4:uuidv4}=require(a35_0x154c76(0x124)),{name,version}=require('../../../../package.json'),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a35_0x154c76(0x11d)),{consoleHolder}=require(a35_0x154c76(0x147)),{getPlatformVersion}=require(a35_0x154c76(0x127)),{shouldProcessEventForTesthub}=require(a35_0x154c76(0x142)),{isFunction}=require('lodash'),{patchConsoleLogger}=require(a35_0x154c76(0x11d));patchConsoleLogger(),exports[a35_0x154c76(0x14a)]=()=>{const _0x3043b8=a35_0x154c76,_0x5b6bc6={'WVgVY':_0x3043b8(0x14d),'NHQYx':function(_0x71732c){return _0x71732c();}};return{'ci':_0x5b6bc6['WVgVY'],'key':_0x5b6bc6[_0x3043b8(0x14c)](uuidv4),'version':version,'collector':_0x3043b8(0x146)+name};},exports[a35_0x154c76(0x14b)]=_0x3fd124=>{const _0x41080f=a35_0x154c76,_0x29bb27={};_0x29bb27[_0x41080f(0x155)]=function(_0x38b319,_0x3083a0){return _0x38b319!==_0x3083a0;},_0x29bb27[_0x41080f(0x134)]='string',_0x29bb27[_0x41080f(0x152)]=_0x41080f(0x137),_0x29bb27['XdYTF']=function(_0x354eb2,_0x492d59){return _0x354eb2!==_0x492d59;},_0x29bb27['aMZft']=_0x41080f(0x121);const _0x57c70f=_0x29bb27;if(!_0x3fd124||_0x57c70f[_0x41080f(0x155)](typeof _0x3fd124,_0x57c70f['ovkvY']))return[null,null];if(_0x57c70f['wDrdi'](_0x3fd124[_0x41080f(0x12d)](_0x57c70f[_0x41080f(0x152)]),-0x1)){const _0x1e22c1=_0x3fd124['split'](_0x57c70f['loWBp']);return[_0x1e22c1[0x0][_0x41080f(0x15e)](0x0,-0x1)[_0x41080f(0x12b)]('\x22')[0x1],_0x1e22c1[0x1][_0x41080f(0x143)](0x1)];}else{if(_0x57c70f[_0x41080f(0x15c)](_0x3fd124[_0x41080f(0x12d)](_0x57c70f[_0x41080f(0x120)]),-0x1)){const _0x506524=_0x3fd124[_0x41080f(0x12b)](_0x57c70f[_0x41080f(0x120)]);return[_0x506524[0x0]['slice'](0x0,-0x1)[_0x41080f(0x12b)]('\x22')[0x1],_0x3fd124];}}return[null,null];},exports[a35_0x154c76(0x13a)]=_0x4a364c=>{const _0x50cd73=a35_0x154c76,_0x5582ae={'GOIxN':function(_0x524bb2,_0x26e037){return _0x524bb2(_0x26e037);},'nDvYT':'_beforeAll','Wevdj':'_afterAll','nbpmI':_0x50cd73(0x140),'fWMUN':_0x50cd73(0x128)};if(!_0x4a364c||!_0x4a364c[_0x50cd73(0x164)])return[];const _0xab361=[];return[_0x5582ae[_0x50cd73(0x148)],_0x5582ae[_0x50cd73(0x15a)],_0x5582ae[_0x50cd73(0x161)],_0x5582ae[_0x50cd73(0x12f)]][_0x50cd73(0x13c)](_0x4dceb6=>{const _0x3bf270=_0x50cd73,_0x3e2055=_0x4a364c[_0x3bf270(0x164)][_0x4dceb6]||[];_0x3e2055[_0x3bf270(0x13c)](_0x38216e=>{const _0x3172d0=_0x3bf270;_0x38216e[_0x3172d0(0x122)]&&!_0x5582ae[_0x3172d0(0x11e)](isInternalHook,_0x38216e['fn'])&&_0xab361[_0x3172d0(0x125)](_0x38216e[_0x3172d0(0x122)]);});}),[..._0xab361,...exports[_0x50cd73(0x13a)](_0x4a364c['parent'])];},exports[a35_0x154c76(0x12a)]=_0x2a202a=>{const _0x5456c6=a35_0x154c76,_0x4613db={'DCAes':function(_0x385c1b){return _0x385c1b();},'kLLuB':function(_0x9dc5f5,_0x22aeaa){return _0x9dc5f5===_0x22aeaa;},'LBGeM':_0x5456c6(0x128),'pYenh':'_beforeAll','lGBNu':_0x5456c6(0x16f),'CBxPT':_0x5456c6(0x140)};if(!_0x2a202a||!_0x2a202a[_0x5456c6(0x164)])return;[_0x4613db[_0x5456c6(0x165)],_0x4613db['lGBNu'],_0x4613db[_0x5456c6(0x141)],_0x4613db[_0x5456c6(0x16e)]][_0x5456c6(0x13c)](_0x434e44=>{const _0x3c8de4=_0x5456c6,_0x33b871=_0x2a202a[_0x3c8de4(0x164)][_0x434e44]||[];_0x33b871[_0x3c8de4(0x13c)](_0x11ea03=>{const _0x85d5de=_0x3c8de4;if(!_0x11ea03[_0x85d5de(0x122)])_0x11ea03[_0x85d5de(0x122)]=_0x4613db[_0x85d5de(0x171)](uuidv4);else _0x11ea03['markedStatus']&&_0x4613db['kLLuB'](_0x434e44,_0x4613db[_0x85d5de(0x16e)])&&(_0x11ea03[_0x85d5de(0x122)]=_0x4613db['DCAes'](uuidv4),delete _0x11ea03[_0x85d5de(0x15f)]);});}),exports['mapTestHooks'](_0x2a202a[_0x5456c6(0x164)]);},exports[a35_0x154c76(0x160)]=async(_0x2e6cc3,_0x40cd52)=>{const _0x592725=a35_0x154c76,_0x2b6dae={'DZyRm':function(_0x41ec9d){return _0x41ec9d();},'QUTGW':function(_0x1c1b42,_0x545f54){return _0x1c1b42(_0x545f54);},'GajFg':'platformVersion','mntUC':function(_0x544ed2,_0x2ef9f1){return _0x544ed2(_0x2ef9f1);},'ZofVi':function(_0x10e477,_0x40683e){return _0x10e477===_0x40683e;},'tpegC':_0x592725(0x13d),'JZzkB':'unknown_grid','asEqV':'TEST_PLATFORM'};try{if(!_0x2b6dae[_0x592725(0x13b)](shouldProcessEventForTesthub))return;const _0x10b3be=await _0x2e6cc3[_0x592725(0x12e)](),_0x3e409e=await _0x2e6cc3[_0x592725(0x15d)](),_0xbc9ba={},_0x346b77=Object[_0x592725(0x153)](_0x3e409e[_0x592725(0x12e)]()[_0x592725(0x162)]),_0x520dae={'product':_0x2b6dae['QUTGW'](getObservabilityLinkedProductName,_0x346b77),'capabilities':_0x346b77,'platform':_0x10b3be[_0x592725(0x168)](),'platform_version':_0x10b3be[_0x592725(0x150)](_0x2b6dae[_0x592725(0x14e)])?_0x10b3be[_0x592725(0x150)](_0x2b6dae[_0x592725(0x14e)]):_0x2b6dae[_0x592725(0x145)](getPlatformVersion,_0x2b6dae['ZofVi'](global['__cloud_provider___'],_0x2b6dae[_0x592725(0x166)])),'browser':_0x10b3be[_0x592725(0x12c)](),'browser_version':_0x10b3be[_0x592725(0x135)](),'session_id':_0x3e409e[_0x592725(0x139)]()};global['__cloud_provider___']?_0xbc9ba[global['__cloud_provider___']]=_0x520dae:_0xbc9ba[_0x2b6dae[_0x592725(0x169)]]=_0x520dae,process[_0x592725(0x151)](_0x592725(0x16c)+process['pid'],{'timestamp':new Date()[_0x592725(0x13f)](),'level':null,'message':null,'kind':_0x2b6dae[_0x592725(0x158)],'http_response':_0xbc9ba,'uuid':_0x40cd52});}catch(_0x52177d){_0x2b6dae[_0x592725(0x145)](debug,_0x592725(0x144)+_0x52177d);}},exports[a35_0x154c76(0x132)]=_0x1eb1df=>{const _0x2fd8cc=a35_0x154c76,_0x5671cf={};_0x5671cf[_0x2fd8cc(0x129)]=function(_0x2385df,_0x2f2df9){return _0x2385df!==_0x2f2df9;},_0x5671cf[_0x2fd8cc(0x16a)]='hook',_0x5671cf['KdbAR']=function(_0x503c58,_0x253a60){return _0x503c58!==_0x253a60;},_0x5671cf[_0x2fd8cc(0x138)]=_0x2fd8cc(0x163),_0x5671cf[_0x2fd8cc(0x157)]='failed';const _0x3292c4=_0x5671cf,_0x53bbde=_0x1eb1df['suites']['reduce']((_0x4e2d31,_0x3c6c6b)=>{const _0x487cb8=_0x2fd8cc,_0x22dd46=exports[_0x487cb8(0x132)](_0x3c6c6b);return _0x22dd46&&(_0x4e2d31=_0x4e2d31[_0x487cb8(0x14f)](_0x22dd46)),_0x4e2d31;},[]),_0x162b3a=_0x1eb1df[_0x2fd8cc(0x159)]['filter'](_0x4073b3=>{const _0x32fb0f=_0x2fd8cc,_0x29ecb4=_0x3292c4[_0x32fb0f(0x129)](_0x4073b3[_0x32fb0f(0x16d)],_0x3292c4['wcajD'])&&!_0x4073b3[_0x32fb0f(0x15f)]&&_0x3292c4[_0x32fb0f(0x154)](_0x4073b3[_0x32fb0f(0x15b)],_0x3292c4[_0x32fb0f(0x138)])&&_0x3292c4[_0x32fb0f(0x129)](_0x4073b3[_0x32fb0f(0x15b)],_0x3292c4[_0x32fb0f(0x157)])&&!_0x4073b3[_0x32fb0f(0x149)];return _0x29ecb4;});return _0x162b3a[_0x2fd8cc(0x14f)](_0x53bbde);};
1
+ const a35_0x4095fc=a35_0x126a;(function(_0x2b4c81,_0xbbbfc5){const _0x4f3966=a35_0x126a,_0x4a571b=_0x2b4c81();while(!![]){try{const _0x5a6314=-parseInt(_0x4f3966(0x11a))/0x1+parseInt(_0x4f3966(0x123))/0x2*(parseInt(_0x4f3966(0x135))/0x3)+parseInt(_0x4f3966(0x124))/0x4+-parseInt(_0x4f3966(0x13f))/0x5*(parseInt(_0x4f3966(0x122))/0x6)+parseInt(_0x4f3966(0x143))/0x7*(parseInt(_0x4f3966(0x131))/0x8)+-parseInt(_0x4f3966(0x126))/0x9*(-parseInt(_0x4f3966(0x128))/0xa)+-parseInt(_0x4f3966(0x116))/0xb;if(_0x5a6314===_0xbbbfc5)break;else _0x4a571b['push'](_0x4a571b['shift']());}catch(_0x1e067e){_0x4a571b['push'](_0x4a571b['shift']());}}}(a35_0x3122,0x856b5));const {v4:uuidv4}=require('uuid'),{name,version}=require(a35_0x4095fc(0x13a)),logPatcher=require(a35_0x4095fc(0x120)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require('../../../helpers/test-observability/utils'),{consoleHolder}=require('../../../helpers/test-observability/constants'),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils'),{isFunction}=require(a35_0x4095fc(0x14e)),{patchConsoleLogger}=require(a35_0x4095fc(0x108));function a35_0x126a(_0x53f18d,_0x1278cd){const _0x3122cc=a35_0x3122();return a35_0x126a=function(_0x126a09,_0x66a0d3){_0x126a09=_0x126a09-0xfb;let _0x501351=_0x3122cc[_0x126a09];return _0x501351;},a35_0x126a(_0x53f18d,_0x1278cd);}function a35_0x3122(){const _0x1b112f=['slice','711972MNXQAK','UQBYc','10LRXlHy','eSChq','VgiFZ','getHooksForTest','aqzBA','getHookDetails','platformVersion','uipHV','concat','1080JkpKuj','pbQME','getSession','dqVJt','340035RycfYK','pending','Cysrk','markedStatus','indexOf','../../../../package.json','pjhME','NnAQB','zKshd','qgbCF','1600135DKRAMp','browserstack','getBrowserVersion','aVzqs','41461JzQyPo','mapTestHooks','EHdUH','_afterEach','state','string','sendPlatformDetails','jSdFS','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','getTestEnv','_beforeAll','lodash','peuhy','failed','VKmlc','xcKCZ','jLuJH','parent','__cloud_provider___','qvxUG','split','unknown_grid','KPIzS','getCapabilities','hookAnalyticsId','getPlatform','bs:addPlatformDetails:','passed','mTCuo','YBokP','yCMea','../../../helpers/test-observability/utils','forEach','toJSON','substring','_afterAll','map_','tests','toISOString','SZLUr','js-','hook','wkDUi','aIYQl','nmTaa','11045925UzSkXX','_beforeEach','HJqFL','DxUpz','313557SDlTrB','fromEntries','getHookSkippedTests','getBrowserName','rzGpW','ovQmV','../../utils/logPatcher','UIcAV','6fRTxGA','8iMfKKG','3408604ganSXM'];a35_0x3122=function(){return _0x1b112f;};return a35_0x3122();}patchConsoleLogger(),exports[a35_0x4095fc(0x14c)]=()=>{const _0x22e7df=a35_0x4095fc,_0x1df009={'LgaBN':'generic','jLuJH':function(_0x507189){return _0x507189();}};return{'ci':_0x1df009['LgaBN'],'key':_0x1df009[_0x22e7df(0x153)](uuidv4),'version':version,'collector':_0x22e7df(0x111)+name};},exports[a35_0x4095fc(0x12d)]=_0x349cca=>{const _0x47d2e0=a35_0x4095fc,_0x1b61b3={};_0x1b61b3[_0x47d2e0(0x152)]=function(_0x2eba16,_0x4c5d1b){return _0x2eba16!==_0x4c5d1b;},_0x1b61b3[_0x47d2e0(0x115)]=_0x47d2e0(0x148),_0x1b61b3['DxUpz']=function(_0x233b95,_0x2f1b2c){return _0x233b95!==_0x2f1b2c;},_0x1b61b3[_0x47d2e0(0x110)]='hook:',_0x1b61b3[_0x47d2e0(0x12f)]=function(_0xf68348,_0x558a0d){return _0xf68348!==_0x558a0d;},_0x1b61b3[_0x47d2e0(0x127)]=_0x47d2e0(0x112);const _0x4dac92=_0x1b61b3;if(!_0x349cca||_0x4dac92[_0x47d2e0(0x152)](typeof _0x349cca,_0x4dac92[_0x47d2e0(0x115)]))return[null,null];if(_0x4dac92[_0x47d2e0(0x119)](_0x349cca[_0x47d2e0(0x139)](_0x4dac92[_0x47d2e0(0x110)]),-0x1)){const _0x277695=_0x349cca[_0x47d2e0(0xfd)](_0x4dac92[_0x47d2e0(0x110)]);return[_0x277695[0x0][_0x47d2e0(0x125)](0x0,-0x1)[_0x47d2e0(0xfd)]('\x22')[0x1],_0x277695[0x1][_0x47d2e0(0x10b)](0x1)];}else{if(_0x4dac92[_0x47d2e0(0x12f)](_0x349cca[_0x47d2e0(0x139)](_0x4dac92[_0x47d2e0(0x127)]),-0x1)){const _0x1aa2f0=_0x349cca[_0x47d2e0(0xfd)](_0x4dac92[_0x47d2e0(0x127)]);return[_0x1aa2f0[0x0][_0x47d2e0(0x125)](0x0,-0x1)[_0x47d2e0(0xfd)]('\x22')[0x1],_0x349cca];}}return[null,null];},exports[a35_0x4095fc(0x12b)]=_0x20a90b=>{const _0x2ba383=a35_0x4095fc,_0x3daf86={'MsTuq':function(_0xc18b0e,_0x401ab8){return _0xc18b0e(_0x401ab8);},'UIcAV':_0x2ba383(0x14d),'rzGpW':_0x2ba383(0x10c),'kpylZ':_0x2ba383(0x117),'dqVJt':_0x2ba383(0x146)};if(!_0x20a90b||!_0x20a90b['parent'])return[];const _0x4e703e=[];return[_0x3daf86[_0x2ba383(0x121)],_0x3daf86[_0x2ba383(0x11e)],_0x3daf86['kpylZ'],_0x3daf86[_0x2ba383(0x134)]][_0x2ba383(0x109)](_0x52201b=>{const _0x185edc=_0x2ba383,_0x34f0ee={'EHdUH':function(_0x5c7629,_0x36af4a){return _0x3daf86['MsTuq'](_0x5c7629,_0x36af4a);}},_0x26349e=_0x20a90b[_0x185edc(0x154)][_0x52201b]||[];_0x26349e[_0x185edc(0x109)](_0x549e23=>{const _0x1b341b=_0x185edc;_0x549e23[_0x1b341b(0x101)]&&!_0x34f0ee[_0x1b341b(0x145)](isInternalHook,_0x549e23['fn'])&&_0x4e703e['push'](_0x549e23[_0x1b341b(0x101)]);});}),[..._0x4e703e,...exports[_0x2ba383(0x12b)](_0x20a90b[_0x2ba383(0x154)])];},exports['mapTestHooks']=_0x24c308=>{const _0x270dc8=a35_0x4095fc,_0x44e03b={'ovQmV':function(_0x109a20){return _0x109a20();},'eSChq':function(_0x58789b,_0x3e0ddb){return _0x58789b===_0x3e0ddb;},'wkDUi':_0x270dc8(0x146),'ChGCS':function(_0x517525){return _0x517525();},'pjhME':'_beforeAll','yCMea':_0x270dc8(0x10c),'aIYQl':'_beforeEach'};if(!_0x24c308||!_0x24c308[_0x270dc8(0x154)])return;[_0x44e03b[_0x270dc8(0x13b)],_0x44e03b[_0x270dc8(0x107)],_0x44e03b[_0x270dc8(0x114)],_0x44e03b[_0x270dc8(0x113)]]['forEach'](_0x21a244=>{const _0x381503=_0x270dc8,_0x43e6f2={'qgbCF':function(_0x330132){const _0x429084=a35_0x126a;return _0x44e03b[_0x429084(0x11f)](_0x330132);},'KPIzS':function(_0x1609e2,_0x5cf9dd){const _0x4c785b=a35_0x126a;return _0x44e03b[_0x4c785b(0x129)](_0x1609e2,_0x5cf9dd);},'HJqFL':_0x44e03b[_0x381503(0x113)],'aqzBA':function(_0x240637){return _0x44e03b['ChGCS'](_0x240637);}},_0x132534=_0x24c308[_0x381503(0x154)][_0x21a244]||[];_0x132534[_0x381503(0x109)](_0x28ae0a=>{const _0x5a396a=_0x381503;if(!_0x28ae0a[_0x5a396a(0x101)])_0x28ae0a[_0x5a396a(0x101)]=_0x43e6f2[_0x5a396a(0x13e)](uuidv4);else _0x28ae0a[_0x5a396a(0x138)]&&_0x43e6f2[_0x5a396a(0xff)](_0x21a244,_0x43e6f2[_0x5a396a(0x118)])&&(_0x28ae0a['hookAnalyticsId']=_0x43e6f2[_0x5a396a(0x12c)](uuidv4),delete _0x28ae0a['markedStatus']);});}),exports[_0x270dc8(0x144)](_0x24c308[_0x270dc8(0x154)]);},exports[a35_0x4095fc(0x149)]=async(_0x218169,_0x37c962)=>{const _0x40cebc=a35_0x4095fc,_0x2be7dd={'zKshd':function(_0x2eaf8e){return _0x2eaf8e();},'pbQME':function(_0x55b50d,_0x226775){return _0x55b50d(_0x226775);},'VKmlc':_0x40cebc(0x12e),'NnAQB':function(_0x5813a0,_0xe8c682){return _0x5813a0===_0xe8c682;},'Cysrk':_0x40cebc(0x140),'qvxUG':_0x40cebc(0xfe),'YBokP':'TEST_PLATFORM'};try{if(!_0x2be7dd[_0x40cebc(0x13d)](shouldProcessEventForTesthub))return;const _0x57e410=await _0x218169[_0x40cebc(0x100)](),_0x2abc18=await _0x218169[_0x40cebc(0x133)](),_0x55c936={},_0x27472a=Object[_0x40cebc(0x11b)](_0x2abc18[_0x40cebc(0x100)]()[_0x40cebc(0x10d)]),_0x2c7196={'product':_0x2be7dd[_0x40cebc(0x132)](getObservabilityLinkedProductName,_0x27472a),'capabilities':_0x27472a,'platform':_0x57e410[_0x40cebc(0x102)](),'platform_version':_0x57e410['get'](_0x2be7dd[_0x40cebc(0x151)])?_0x57e410['get'](_0x2be7dd[_0x40cebc(0x151)]):_0x2be7dd['pbQME'](getPlatformVersion,_0x2be7dd[_0x40cebc(0x13c)](global['__cloud_provider___'],_0x2be7dd[_0x40cebc(0x137)])),'browser':_0x57e410[_0x40cebc(0x11d)](),'browser_version':_0x57e410[_0x40cebc(0x141)](),'session_id':_0x2abc18[_0x40cebc(0x10a)]()};global[_0x40cebc(0xfb)]?_0x55c936[global[_0x40cebc(0xfb)]]=_0x2c7196:_0x55c936[_0x2be7dd[_0x40cebc(0xfc)]]=_0x2c7196,process['emit'](_0x40cebc(0x103)+process['pid'],{'timestamp':new Date()[_0x40cebc(0x10f)](),'level':null,'message':null,'kind':_0x2be7dd[_0x40cebc(0x106)],'http_response':_0x55c936,'uuid':_0x37c962});}catch(_0x12740f){_0x2be7dd[_0x40cebc(0x132)](debug,_0x40cebc(0x14b)+_0x12740f);}},exports['getHookSkippedTests']=_0x68e418=>{const _0x1be5b8=a35_0x4095fc,_0x1986e2={};_0x1986e2[_0x1be5b8(0x12a)]=function(_0x1861fb,_0x5f45e6){return _0x1861fb!==_0x5f45e6;},_0x1986e2[_0x1be5b8(0x14f)]=_0x1be5b8(0x112),_0x1986e2[_0x1be5b8(0x14a)]=function(_0x279e69,_0x46427a){return _0x279e69!==_0x46427a;},_0x1986e2[_0x1be5b8(0x105)]=_0x1be5b8(0x104),_0x1986e2['aVzqs']=function(_0x25ffeb,_0x4ce962){return _0x25ffeb!==_0x4ce962;},_0x1986e2['RMHrg']=_0x1be5b8(0x150);const _0x1c17e4=_0x1986e2,_0x108e79=_0x68e418['suites']['reduce']((_0x3f21f0,_0xa7354f)=>{const _0xf40a24=_0x1be5b8,_0x190149=exports[_0xf40a24(0x11c)](_0xa7354f);return _0x190149&&(_0x3f21f0=_0x3f21f0[_0xf40a24(0x130)](_0x190149)),_0x3f21f0;},[]),_0x9824f=_0x68e418[_0x1be5b8(0x10e)]['filter'](_0x19806b=>{const _0x30ee36=_0x1be5b8,_0x4c9146=_0x1c17e4[_0x30ee36(0x12a)](_0x19806b['type'],_0x1c17e4['peuhy'])&&!_0x19806b['markedStatus']&&_0x1c17e4['jSdFS'](_0x19806b[_0x30ee36(0x147)],_0x1c17e4['mTCuo'])&&_0x1c17e4[_0x30ee36(0x142)](_0x19806b[_0x30ee36(0x147)],_0x1c17e4['RMHrg'])&&!_0x19806b[_0x30ee36(0x136)];return _0x4c9146;});return _0x9824f[_0x1be5b8(0x130)](_0x108e79);};
@@ -1 +1 @@
1
- const a36_0x4c640b=a36_0x2785;function a36_0x545c(){const _0xe3612b=['esCUT','5403811lXFAbA','1HQdGNg','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','bstackA11yShouldScan','TngFX','KvAXe','VOSCi','uQftB','../../helpers/performance/constants','../../helpers/accessibility-automation/helper','SwqMm','GbRHJ','afterAll','MbCll','wvIDU','qMzfS','aeXZL','../../helpers/helper','WkrjK','join','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','636MCZNnd','info','Passed','browserstackSessionName','Mocha','820sTEqzr','PVoVs','state','saveAccessibilityResultsWithRetry','finally','NUcRx','ENV_VAR','FYFkM','kzCPx','UMWPt','startMonitoring','../../helpers/testhub/constants','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','oridE','setGlobal','../../helpers/accessibility-automation/accessibilityRetryHelper','passed','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','cfELE','testAnalyticsId','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','command','oxXBf','push','\x20-\x20','sessionNameSet__','getCurrentUrl','shift','PNYFQ','xCLSt','err','now','Failed\x20to\x20store\x20session\x20name:\x20',',\x22level\x22:\x20\x22','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','4693257wBzbEO','env','util','thJwtToken','10aKaUux','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','start','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','app','mHcRM','eAKzZ','ISgLE','LNyCu','beforeAll','azrWu','993795saFZfQ','percyCaptureMode','getGlobal','\x20|\x20','PVSwT','__sessionFailed','rCvTU','error','Accessibility\x20scan\x20completed\x20successfully','appium:app','quitCount_','timeout','isAccessibilityPlatform','.\x20Error\x20:','govjm','bGYmg','spzgH','measureWrapper','ObservabilitySync:','then','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','SDK_HOOK','12715HOvpdK','Uxhsh','GUZFV','UXwvh','SESSION_STATUS','JWLAg','executeScript','winstonLogger','KRbTA','http:','1834148Juhfgm','pUCxD','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','iojmr','trjnp','zwkrO','BEUdp','Automate\x20test\x20case\x20execution\x20has\x20started.','protocol','PLkIT','debug','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','BROWSERSTACK_TESTHUB_JWT','ILXYr','dSjMH','8vXLjfY','wLVmP','capabilities','WETEl','__platformCaps','xykQc','jMnRx','lRADN','aUxFi','Edmyc','SYNC','index','session_','kunLR','mUBRm','../../helpers/globals','failed','isArray','zQXOL','__error_messages__','Failed:\x20','message','AzaUj','\x22}}','browserstackTestName','warn','BROWSERSTACK_TESTHUB_UUID','__drivers','../../helpers/logger','stringify','cFJau','accessibilityScanStarted','rribU','vZMGv','ysrTT','exvgL','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','AzOfK','kpQpu','dwkRy','pelnc','17457MOpvNZ','percy','driverCleanup','format','../../helpers/percy/utils','Accessibility\x20results\x20saved\x20successfully','__skipSessionName','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','hnqLn','16153248rsZmpX','QQFFv','SAVE_RESULTS','xyTcE','./test-observability/mochaUtils','length','../../helpers/performance/performance-tester','titlePath','sessionName','thTestRunUuid','end','currentTest','shouldScanTestForAccessibility','SESSION_NAME','XBbWN','grYaM','JVATM','IfVKj'];a36_0x545c=function(){return _0xe3612b;};return a36_0x545c();}function a36_0x2785(_0x500061,_0x452373){const _0x545c8f=a36_0x545c();return a36_0x2785=function(_0x278551,_0x30d86f){_0x278551=_0x278551-0xae;let _0x2c3681=_0x545c8f[_0x278551];return _0x2c3681;},a36_0x2785(_0x500061,_0x452373);}(function(_0x50fb6f,_0x48fd29){const _0xa9db76=a36_0x2785,_0x328b4e=_0x50fb6f();while(!![]){try{const _0x3c2015=-parseInt(_0xa9db76(0x12e))/0x1*(-parseInt(_0xa9db76(0xd9))/0x2)+-parseInt(_0xa9db76(0x111))/0x3*(parseInt(_0xa9db76(0x147))/0x4)+-parseInt(_0xa9db76(0xcf))/0x5*(parseInt(_0xa9db76(0x142))/0x6)+-parseInt(_0xa9db76(0x12d))/0x7*(parseInt(_0xa9db76(0xe8))/0x8)+-parseInt(_0xa9db76(0x16a))/0x9*(-parseInt(_0xa9db76(0x16e))/0xa)+parseInt(_0xa9db76(0xb9))/0xb+parseInt(_0xa9db76(0x11a))/0xc;if(_0x3c2015===_0x48fd29)break;else _0x328b4e['push'](_0x328b4e['shift']());}catch(_0x4c9956){_0x328b4e['push'](_0x328b4e['shift']());}}}(a36_0x545c,0x9c63a));const util=require(a36_0x4c640b(0x16c)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x4c640b(0x136)),accessibilityRetryHelper=require(a36_0x4c640b(0x156)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require('../utils/constants'),{percyAutoCapture}=require(a36_0x4c640b(0x115)),{sendPlatformDetails}=require(a36_0x4c640b(0x11e)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x4c640b(0x13e)),PerformanceTester=require(a36_0x4c640b(0x120)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x4c640b(0x135)),globals=require(a36_0x4c640b(0xf7)),logger=require(a36_0x4c640b(0x104))[a36_0x4c640b(0xd6)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a36_0x4c640b(0x152));exports['mochaHooks']={'beforeAll'(){const _0x54f908=a36_0x4c640b,_0x25a678={'esCUT':function(_0x193c71,_0x404e44,_0x464335,_0x44cfb){return _0x193c71(_0x404e44,_0x464335,_0x44cfb);},'ILXYr':_0x54f908(0xf8),'aeXZL':_0x54f908(0xbc),'NUcRx':function(_0x154128,_0x6bacfd,_0x12df81){return _0x154128(_0x6bacfd,_0x12df81);},'PNYFQ':_0x54f908(0x157),'TngFX':function(_0x460837){return _0x460837();},'ygUvp':function(_0x20ed4e,_0x2146fc,_0x4cd6ce){return _0x20ed4e(_0x2146fc,_0x4cd6ce);},'xykQc':function(_0x523de8,_0x5e2c9b,_0xf7f72f){return _0x523de8(_0x5e2c9b,_0xf7f72f);},'kpQpu':_0x54f908(0xf3),'PVoVs':_0x54f908(0xb7)};PerformanceTester[_0x54f908(0x151)]();const _0x5050b1='browserstack internal helper hook';PerformanceTester[_0x54f908(0xca)](PerformanceSdkEvents[_0x54f908(0xce)],()=>{const _0x158f78=_0x54f908;global[_0x158f78(0xfb)]=[],global[_0x158f78(0xbe)]=![],global[_0x158f78(0x113)]=async()=>{const _0x437c56=_0x158f78;let _0x54e860=![];try{await global[_0x437c56(0x103)][0x0][_0x437c56(0xf4)],_0x54e860=!![],global[_0x437c56(0xbe)]?await _0x25a678[_0x437c56(0x12c)](markSessionStatus,global[_0x437c56(0x103)][0x0],_0x25a678[_0x437c56(0xe6)],global[_0x437c56(0xfb)][_0x437c56(0x140)](_0x25a678[_0x437c56(0x13d)])):await _0x25a678[_0x437c56(0x14c)](markSessionStatus,global[_0x437c56(0x103)][0x0],_0x25a678[_0x437c56(0x163)]);}catch(_0x5dd6d0){logger[_0x437c56(0xe3)]('Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20'+_0x5dd6d0);}global[_0x437c56(0xfb)]=[],global[_0x437c56(0xbe)]=![];if(_0x54e860)try{try{_0x25a678[_0x437c56(0x131)](shouldProcessEventForTesthub)&&(global[_0x437c56(0x103)][0x0]&&await _0x25a678['ygUvp'](sendPlatformDetails,global[_0x437c56(0x103)][0x0],this['currentTest']?this[_0x437c56(0x125)][_0x437c56(0x15a)]:null));}catch(_0x139266){logger[_0x437c56(0xe3)](_0x437c56(0x15b)+_0x139266);}await global[_0x437c56(0x103)][0x0]['initQuit']();}catch(_0x363ae1){logger['debug'](_0x437c56(0x158)+_0x363ae1);}};},{'platform':_0x25a678[_0x54f908(0xed)](nestedKeyValue,global[_0x54f908(0xec)],[_0x25a678[_0x54f908(0x10e)]]),'hookType':_0x25a678[_0x54f908(0x148)]})();},'beforeEach'(_0x2f2d2e){const _0x124f38=a36_0x4c640b,_0x278f47={'AzaUj':function(_0x484363,_0x3922b6){return _0x484363>_0x3922b6;},'iojmr':_0x124f38(0x15f),'wLVmP':function(_0x454139,_0x1b8e24,_0x1e054e){return _0x454139(_0x1b8e24,_0x1e054e);},'jNrLM':'bstackA11yShouldScan','JWLAg':function(_0x41e309){return _0x41e309();},'IfVKj':_0x124f38(0xc5),'uQftB':function(_0x50efe2,_0x7b98a1){return _0x50efe2===_0x7b98a1;},'eAKzZ':_0x124f38(0xd8),'uxlRQ':'https:','AzOfK':_0x124f38(0x10c),'HfqCo':_0x124f38(0xe0),'BEUdp':_0x124f38(0x100),'kzCPx':function(_0x6cc81d,_0xc139c7,_0xa33165){return _0x6cc81d(_0xc139c7,_0xa33165);},'pelnc':_0x124f38(0xf3),'KvAXe':'beforeEach'};globals[_0x124f38(0x155)](_0x278f47[_0x124f38(0xdf)],this[_0x124f38(0x125)][_0x124f38(0x121)]()[_0x124f38(0x140)](_0x278f47[_0x124f38(0xdc)])),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x124f38(0xce)],()=>{const _0x582d36=_0x124f38,_0x1db34d={'dSjMH':function(_0x2a9911,_0x3f5c49){const _0x3d47c0=a36_0x2785;return _0x278f47[_0x3d47c0(0xfe)](_0x2a9911,_0x3f5c49);},'exvgL':_0x278f47[_0x582d36(0xdc)],'XBbWN':function(_0x33a2ef,_0x1749bf,_0x154811){const _0x4009b0=_0x582d36;return _0x278f47[_0x4009b0(0xe9)](_0x33a2ef,_0x1749bf,_0x154811);},'cFJau':_0x278f47['jNrLM'],'LNyCu':function(_0x3a65b9){const _0x119b60=_0x582d36;return _0x278f47[_0x119b60(0xd4)](_0x3a65b9);},'lRADN':_0x278f47[_0x582d36(0x12b)],'PLkIT':function(_0x2f4f81,_0x13f4d6){const _0x1b472e=_0x582d36;return _0x278f47[_0x1b472e(0x134)](_0x2f4f81,_0x13f4d6);},'xCLSt':_0x278f47[_0x582d36(0xb4)],'zwkrO':function(_0x873f62,_0x5af606){const _0x207e38=_0x582d36;return _0x278f47[_0x207e38(0x134)](_0x873f62,_0x5af606);},'KRbTA':_0x278f47['uxlRQ'],'GbRHJ':_0x278f47[_0x582d36(0x10d)],'hnqLn':_0x278f47['HfqCo'],'dwkRy':function(_0x4e262d){const _0x258c53=_0x582d36;return _0x278f47[_0x258c53(0xd4)](_0x4e262d);}},_0x53a463='browserstack internal helper hook';new Promise(async _0x324c5a=>{const _0x203558=_0x582d36;let _0x335dd8=!![];try{_0x1db34d[_0x203558(0xe7)](global[_0x203558(0x103)][_0x203558(0x11f)],0x1)&&(await global[_0x203558(0x113)](),global[_0x203558(0x103)][_0x203558(0x162)]()),_0x1db34d['dSjMH'](global[_0x203558(0x103)][0x0][_0x203558(0xc3)],0x0)&&(_0x335dd8=![],await global[_0x203558(0x113)]());}catch(_0x2b89d1){logger[_0x203558(0xe3)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x2b89d1);}try{Array[_0x203558(0xf9)](global['__drivers'])&&global['__drivers'][0x0]&&(global[_0x203558(0x103)][0x0][_0x203558(0x145)]=this[_0x203558(0x125)]['titlePath']()[_0x203558(0x140)](_0x1db34d[_0x203558(0x10b)])),global[_0x203558(0x145)]=this[_0x203558(0x125)]['titlePath']()[_0x203558(0x140)](_0x1db34d[_0x203558(0x10b)]);}catch(_0x372105){logger[_0x203558(0xe3)](_0x203558(0x167)+_0x372105);}this[_0x203558(0x125)][_0x203558(0x126)]=_0x1db34d[_0x203558(0x128)](shouldScanTestForAccessibility,this[_0x203558(0x125)][_0x203558(0x121)](),!![]),globals[_0x203558(0x155)](_0x1db34d[_0x203558(0x106)],this[_0x203558(0x125)]['shouldScanTestForAccessibility']),this[_0x203558(0x125)][_0x203558(0x107)]=!![];if(_0x1db34d[_0x203558(0xb6)](isAccessibilityAutomationSession)&&_0x335dd8&&Array['isArray'](global[_0x203558(0x103)])&&_0x1db34d[_0x203558(0xe7)](global[_0x203558(0x103)][_0x203558(0x11f)],0x0)&&globals[_0x203558(0xbb)](_0x1db34d[_0x203558(0xef)]))try{const _0x5fea3c=await global['__drivers'][0x0]['session_'];if(_0x5fea3c){let _0x5d9785=!![];const _0x4f72b6=await global[_0x203558(0x103)][0x0][_0x203558(0x161)]();let _0x459139;try{_0x459139=new URL(_0x4f72b6);}catch(_0x3dcf32){_0x5d9785=![];}_0x5d9785=_0x1db34d[_0x203558(0xe2)](_0x459139[_0x203558(0xe1)],_0x1db34d[_0x203558(0x164)])||_0x1db34d[_0x203558(0xde)](_0x459139[_0x203558(0xe1)],_0x1db34d[_0x203558(0xd7)]),_0x5d9785&&(this['currentTest']['shouldScanTestForAccessibility']&&logger['info'](_0x1db34d[_0x203558(0x138)])),this[_0x203558(0x125)][_0x203558(0x107)]=this[_0x203558(0x125)][_0x203558(0x126)],this[_0x203558(0x125)][_0x203558(0x126)]&&logger[_0x203558(0x143)](_0x1db34d[_0x203558(0x119)]);}}catch(_0x3b27ab){logger['error'](_0x203558(0xae)+util[_0x203558(0x114)](_0x3b27ab));}_0x1db34d['LNyCu'](_0x324c5a);})[_0x582d36(0xcc)](()=>{const _0x42f41a=_0x582d36;_0x1db34d[_0x42f41a(0x10f)](_0x2f2d2e);});},{'platform':_0x278f47[_0x124f38(0x14f)](nestedKeyValue,global[_0x124f38(0xec)],[_0x278f47[_0x124f38(0x110)]]),'hookType':_0x278f47[_0x124f38(0x132)]})();},'afterEach'(_0x41eefc){const _0xdfb4ed=a36_0x4c640b,_0x34bf9c={'cfELE':_0xdfb4ed(0x15f),'TVLbr':function(_0xa3e8b9,_0x1b897b){return _0xa3e8b9!==_0x1b897b;},'IgLXV':_0xdfb4ed(0x157),'MbCll':function(_0x15c810,_0x36896b,_0x1f45a6){return _0x15c810(_0x36896b,_0x1f45a6);},'JVATM':function(_0x5e5cdc,_0x32f18c){return _0x5e5cdc+_0x32f18c;},'trjnp':_0xdfb4ed(0xfc),'wvIDU':'error','kunLR':_0xdfb4ed(0x144),'rPeyC':_0xdfb4ed(0x143),'Edmyc':function(_0x5bb75a,_0x5a652c){return _0x5bb75a>_0x5a652c;},'Uxhsh':function(_0x4d3b40,_0x10f23a){return _0x4d3b40===_0x10f23a;},'aUxFi':'testcase','spzgH':function(_0x32501a,_0x3d7d8b){return _0x32501a>_0x3d7d8b;},'WkrjK':_0xdfb4ed(0xc2),'GUZFV':function(_0x2bd0a8,_0x4489c2,_0x387c48,_0x48b028){return _0x2bd0a8(_0x4489c2,_0x387c48,_0x48b028);},'jMnRx':_0xdfb4ed(0xc5),'xyTcE':_0xdfb4ed(0x130),'qMzfS':_0xdfb4ed(0xdb),'SwqMm':_0xdfb4ed(0xb0),'CrhxN':'afterTest','zQXOL':_0xdfb4ed(0xc1),'oxXBf':_0xdfb4ed(0xb1),'UXwvh':_0xdfb4ed(0x116),'grytp':_0xdfb4ed(0x141),'mUBRm':_0xdfb4ed(0x153),'WETEl':function(_0xbf4152){return _0xbf4152();},'grYaM':function(_0x526795,_0x574e9d,_0xd1210){return _0x526795(_0x574e9d,_0xd1210);},'bGYmg':_0xdfb4ed(0xe3),'pUCxD':function(_0x1eb857){return _0x1eb857();},'oridE':function(_0x4ccca7){return _0x4ccca7();},'ISgLE':_0xdfb4ed(0x146),'uyecZ':_0xdfb4ed(0xf3),'vZMGv':'afterEach'},_0x5a271b='browserstack internal helper hook';this[_0xdfb4ed(0xc4)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x34bf9c[_0xdfb4ed(0xb5)]]),global[_0xdfb4ed(0x122)]=this['currentTest'][_0xdfb4ed(0x121)]()['join'](_0x34bf9c['cfELE']),PerformanceTester[_0xdfb4ed(0xca)](PerformanceSdkEvents[_0xdfb4ed(0xce)],()=>{const _0x202fd4={'govjm':function(_0xeb3b25){const _0xb2950b=a36_0x2785;return _0x34bf9c[_0xb2950b(0x154)](_0xeb3b25);}},_0x38eb59=async(_0x5a60d3,_0x28f7a7)=>{const _0x1a8805=a36_0x2785;await global['__drivers'][0x0][_0x1a8805(0xd5)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x5a60d3+_0x1a8805(0x168)+_0x28f7a7+_0x1a8805(0xff));};new Promise(async _0x12cd64=>{const _0x250c99=a36_0x2785,_0x15d039={'mHcRM':_0x34bf9c[_0x250c99(0x159)],'FXTzc':function(_0x47661b,_0x402541){return _0x34bf9c['TVLbr'](_0x47661b,_0x402541);},'rribU':_0x34bf9c['IgLXV'],'PVSwT':function(_0x281bef,_0x52f2dd,_0xdef0ca){return _0x34bf9c['MbCll'](_0x281bef,_0x52f2dd,_0xdef0ca);},'pKjDZ':function(_0x1773ac,_0x57b07d){const _0x2198e9=_0x250c99;return _0x34bf9c[_0x2198e9(0x12a)](_0x1773ac,_0x57b07d);},'VOSCi':_0x34bf9c[_0x250c99(0xdd)],'PjjNP':_0x34bf9c[_0x250c99(0x13b)],'UMWPt':_0x34bf9c[_0x250c99(0xf5)],'gnLEW':_0x34bf9c['rPeyC']};try{_0x34bf9c[_0x250c99(0xf1)](global[_0x250c99(0x103)]['length'],0x1)&&(await global[_0x250c99(0x113)](),global[_0x250c99(0x103)][_0x250c99(0x162)](),global[_0x250c99(0xfb)]=[],global[_0x250c99(0xbe)]=![]);try{if(global[_0x250c99(0x112)]&&_0x34bf9c[_0x250c99(0xd0)](global[_0x250c99(0xba)],_0x34bf9c['aUxFi'])&&global[_0x250c99(0x103)][0x0]){const _0x4b8fa3=_0x34bf9c[_0x250c99(0xc9)](global[_0x250c99(0xea)][_0x250c99(0x11f)],0x0)?!!global[_0x250c99(0xea)][0x0][_0x250c99(0xb2)]||!!global[_0x250c99(0xea)][0x0][_0x34bf9c[_0x250c99(0x13f)]]:![],_0x142a61={};_0x142a61[_0x250c99(0xb2)]=_0x4b8fa3,await _0x34bf9c[_0x250c99(0xd1)](percyAutoCapture,global[_0x250c99(0x103)][0x0],_0x34bf9c[_0x250c99(0xf0)],_0x142a61);}}catch(_0x491e77){logger[_0x250c99(0xe3)](_0x250c99(0xcd)+_0x491e77);}!global[_0x250c99(0x117)]&&(await PerformanceTester[_0x250c99(0xca)](PerformanceAutEvents[_0x250c99(0x127)],async()=>{const _0xc0e326=_0x250c99;await global['__drivers'][0x0][_0xc0e326(0xd5)](_0xc0e326(0x118)+JSON[_0xc0e326(0x105)](this[_0xc0e326(0x125)][_0xc0e326(0x121)]()[_0xc0e326(0x140)](_0x15d039[_0xc0e326(0xb3)]))+'}}');})(),global[_0x250c99(0x103)][0x0][_0x250c99(0x160)]=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x250c99(0xd3)],async()=>{const _0xa447b=_0x250c99,_0x5d8fb8=_0x15d039['FXTzc'](this['currentTest'][_0xa447b(0x149)],_0x15d039[_0xa447b(0x108)]);_0x5d8fb8?(global[_0xa447b(0xbe)]=!![],global[_0xa447b(0xfb)][_0xa447b(0x15e)](this[_0xa447b(0x125)][_0xa447b(0x165)]['message']),await _0x15d039[_0xa447b(0xbd)](_0x38eb59,JSON[_0xa447b(0x105)](_0x15d039['pKjDZ'](_0x15d039[_0xa447b(0x133)],this[_0xa447b(0x125)][_0xa447b(0x165)][_0xa447b(0xfd)])),_0x15d039['PjjNP'])):await _0x15d039['PVSwT'](_0x38eb59,JSON[_0xa447b(0x105)](_0x15d039[_0xa447b(0x150)]),_0x15d039['gnLEW']);})();}catch(_0x20d14b){logger['debug'](_0x250c99(0x169)+_0x20d14b);}try{if(this[_0x250c99(0x125)]['accessibilityScanStarted']&&globals[_0x250c99(0xbb)](_0x34bf9c[_0x250c99(0xee)])&&globals[_0x250c99(0xbb)](_0x34bf9c[_0x250c99(0x11d)])){logger[_0x250c99(0x143)](_0x34bf9c[_0x250c99(0x13c)]);const _0x5a02dc={};_0x5a02dc[_0x250c99(0x123)]=this[_0x250c99(0x125)]['testAnalyticsId'],_0x5a02dc['thBuildUuid']=process[_0x250c99(0x16b)][testHubConstants[_0x250c99(0x14d)][_0x250c99(0x102)]],_0x5a02dc[_0x250c99(0x16d)]=process['env'][testHubConstants[_0x250c99(0x14d)][_0x250c99(0xe5)]];const _0x21b26a=_0x5a02dc;logger[_0x250c99(0xe3)](_0x250c99(0x12f)+JSON[_0x250c99(0x105)](_0x21b26a)),logger[_0x250c99(0xe3)](_0x34bf9c[_0x250c99(0x137)]);const _0x2cf022={};_0x2cf022[_0x250c99(0x15c)]=_0x34bf9c['CrhxN'];const _0x2cbae1=await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x287e39=_0x250c99;return await accessibilityRetryHelper['performScanWithRetry'](global[_0x287e39(0x103)][0x0],global['browserstackSessionName']);},_0x2cf022)();_0x2cbae1?logger[_0x250c99(0xe3)](_0x34bf9c[_0x250c99(0xfa)]):logger[_0x250c99(0x101)](_0x34bf9c[_0x250c99(0x15d)]);const _0x48ca5d=await PerformanceTester[_0x250c99(0xca)](PerformanceA11yEvents[_0x250c99(0x11c)],async()=>{const _0x361c5f=_0x250c99;return await accessibilityRetryHelper[_0x361c5f(0x14a)](global[_0x361c5f(0x103)][0x0],_0x21b26a);})();_0x48ca5d?logger[_0x250c99(0xe3)](_0x34bf9c[_0x250c99(0xd2)]):logger[_0x250c99(0x101)](_0x34bf9c['grytp']),logger[_0x250c99(0x143)](_0x34bf9c[_0x250c99(0xf6)]);}}catch(_0x1bfc7c){logger[_0x250c99(0xc0)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x250c99(0x125)][_0x250c99(0x121)]()+_0x250c99(0xc6),_0x1bfc7c);}try{try{if(_0x34bf9c['WETEl'](shouldProcessEventForTesthub)){global['__drivers'][0x0]&&await _0x34bf9c[_0x250c99(0x129)](sendPlatformDetails,global[_0x250c99(0x103)][0x0],this['currentTest']?this[_0x250c99(0x125)][_0x250c99(0x15a)]:null);if(_0x34bf9c[_0x250c99(0xeb)](isBrowserstackInfra)){PerformanceTester[_0x250c99(0xaf)](PerformanceO11yEvents[_0x250c99(0xf2)]);const _0x3caa90=_0x250c99(0xcb)+Date[_0x250c99(0x166)]();await _0x34bf9c[_0x250c99(0x129)](_0x38eb59,JSON[_0x250c99(0x105)](_0x3caa90),_0x34bf9c[_0x250c99(0xc8)]),PerformanceTester['end'](PerformanceO11yEvents[_0x250c99(0xf2)]);}}}catch(_0xd50da6){logger[_0x250c99(0xe3)](_0x250c99(0xe4)+_0xd50da6),PerformanceTester[_0x250c99(0x124)](PerformanceO11yEvents['SYNC'],![],_0xd50da6);}_0x34bf9c['spzgH'](global[_0x250c99(0x103)][0x0][_0x250c99(0xc3)],0x0)&&await global[_0x250c99(0x113)]();}catch(_0x34482f){logger[_0x250c99(0xe3)](_0x250c99(0x158)+_0x34482f);}_0x34bf9c[_0x250c99(0xda)](_0x12cd64);})['then'](()=>{const _0x517f9a=a36_0x2785;_0x202fd4[_0x517f9a(0xc7)](_0x41eefc);});},{'platform':_0x34bf9c[_0xdfb4ed(0x13a)](nestedKeyValue,global[_0xdfb4ed(0xec)],[_0x34bf9c['uyecZ']]),'hookType':_0x34bf9c[_0xdfb4ed(0x109)]})();},'afterAll'(_0x16e21c){const _0x314e60=a36_0x4c640b,_0x5baedb={'OGoQc':function(_0x2be411){return _0x2be411();},'QQFFv':function(_0x14081e){return _0x14081e();},'ysrTT':_0x314e60(0x146),'azrWu':function(_0x2e6020,_0x18b00c,_0x204279){return _0x2e6020(_0x18b00c,_0x204279);},'rCvTU':'index','qDtYw':_0x314e60(0x139)},_0x35877d='browserstack internal helper hook';this[_0x314e60(0xc4)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x5baedb[_0x314e60(0x10a)]]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x314e60(0xce)],()=>{const _0x51b835=_0x314e60,_0x247473={'FYFkM':function(_0x4f62c8){const _0x4d7d58=a36_0x2785;return _0x5baedb[_0x4d7d58(0x11b)](_0x4f62c8);}};new Promise(async _0x910881=>{const _0x321c47=a36_0x2785;await global[_0x321c47(0x113)](),_0x247473[_0x321c47(0x14e)](_0x910881);})[_0x51b835(0xcc)]()[_0x51b835(0x14b)](()=>{_0x5baedb['OGoQc'](_0x16e21c);});},{'platform':_0x5baedb[_0x314e60(0xb8)](nestedKeyValue,global['__platformCaps'],[_0x5baedb[_0x314e60(0xbf)]]),'hookType':_0x5baedb['qDtYw']})();}};
1
+ const a36_0x5aa89c=a36_0x5cde;(function(_0x1e9833,_0x48decd){const _0x4eb952=a36_0x5cde,_0x4053ae=_0x1e9833();while(!![]){try{const _0x309d9d=-parseInt(_0x4eb952(0x1d8))/0x1+-parseInt(_0x4eb952(0x1cf))/0x2*(parseInt(_0x4eb952(0x22d))/0x3)+-parseInt(_0x4eb952(0x1da))/0x4*(parseInt(_0x4eb952(0x1c5))/0x5)+parseInt(_0x4eb952(0x183))/0x6*(parseInt(_0x4eb952(0x1d5))/0x7)+-parseInt(_0x4eb952(0x22c))/0x8*(-parseInt(_0x4eb952(0x186))/0x9)+-parseInt(_0x4eb952(0x1ea))/0xa+parseInt(_0x4eb952(0x1d4))/0xb;if(_0x309d9d===_0x48decd)break;else _0x4053ae['push'](_0x4053ae['shift']());}catch(_0x395f79){_0x4053ae['push'](_0x4053ae['shift']());}}}(a36_0x212b,0x5cde7));const util=require(a36_0x5aa89c(0x20c)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x5aa89c(0x19f)),accessibilityRetryHelper=require(a36_0x5aa89c(0x175)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x5aa89c(0x1e7)),{percyAutoCapture}=require(a36_0x5aa89c(0x1bf)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x5aa89c(0x237)),PerformanceTester=require(a36_0x5aa89c(0x1ae)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x5aa89c(0x1db)),globals=require(a36_0x5aa89c(0x1dd)),logger=require(a36_0x5aa89c(0x1b9))['winstonLogger'],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a36_0x5aa89c(0x1a2));function a36_0x5cde(_0xbddab2,_0x2dd0fa){const _0x212b87=a36_0x212b();return a36_0x5cde=function(_0x5cde69,_0x124f8f){_0x5cde69=_0x5cde69-0x16f;let _0x5c0ba5=_0x212b87[_0x5cde69];return _0x5c0ba5;},a36_0x5cde(_0xbddab2,_0x2dd0fa);}exports[a36_0x5aa89c(0x1c8)]={'beforeAll'(){const _0x202818=a36_0x5aa89c,_0x1d5622={'ZeOjS':function(_0x7a8a7,_0x46e22f,_0x335d4d,_0x1ae644){return _0x7a8a7(_0x46e22f,_0x335d4d,_0x1ae644);},'vAmJs':_0x202818(0x191),'RRcEd':_0x202818(0x1e5),'LVDxf':function(_0x1bfc76,_0x5dc021,_0x40bb67){return _0x1bfc76(_0x5dc021,_0x40bb67);},'WVeti':'passed','zXNYQ':function(_0x50c2a5){return _0x50c2a5();},'YnmJh':function(_0x22219a,_0x2fb560,_0x3921fa){return _0x22219a(_0x2fb560,_0x3921fa);},'OdzHO':_0x202818(0x20e),'iguGu':_0x202818(0x1c4)};PerformanceTester[_0x202818(0x1e4)]();const _0xc92b9d='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x202818(0x187)],()=>{const _0x13010f=_0x202818,_0x3a3b1f={'MZkeN':function(_0x131ac6,_0x20c4db,_0xae01c1,_0x493a06){const _0x238e6e=a36_0x5cde;return _0x1d5622[_0x238e6e(0x171)](_0x131ac6,_0x20c4db,_0xae01c1,_0x493a06);},'AqNNv':_0x1d5622[_0x13010f(0x1ee)],'kJBaJ':_0x1d5622[_0x13010f(0x1f2)],'OOIQn':function(_0x304a6d,_0x50f3f9,_0x32f531){return _0x1d5622['LVDxf'](_0x304a6d,_0x50f3f9,_0x32f531);},'ZViyR':_0x1d5622[_0x13010f(0x1fe)],'XnMsb':function(_0x10dc46){return _0x1d5622['zXNYQ'](_0x10dc46);},'SdZew':function(_0x36cd05,_0x3dbdc8,_0x2a217f){return _0x1d5622['LVDxf'](_0x36cd05,_0x3dbdc8,_0x2a217f);}};global[_0x13010f(0x221)]=[],global[_0x13010f(0x19b)]=![],global[_0x13010f(0x170)]=async()=>{const _0xb69dc0=_0x13010f;let _0x704c8d=![];try{await global[_0xb69dc0(0x19d)][0x0][_0xb69dc0(0x210)],_0x704c8d=!![],global[_0xb69dc0(0x19b)]?await _0x3a3b1f[_0xb69dc0(0x231)](markSessionStatus,global['__drivers'][0x0],_0x3a3b1f[_0xb69dc0(0x1d6)],global['__error_messages__']['join'](_0x3a3b1f['kJBaJ'])):await _0x3a3b1f[_0xb69dc0(0x204)](markSessionStatus,global[_0xb69dc0(0x19d)][0x0],_0x3a3b1f['ZViyR']);}catch(_0x5b0bff){logger[_0xb69dc0(0x1e9)](_0xb69dc0(0x1ca)+_0x5b0bff);}global[_0xb69dc0(0x221)]=[],global[_0xb69dc0(0x19b)]=![];if(_0x704c8d)try{try{_0x3a3b1f[_0xb69dc0(0x176)](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0x3a3b1f['SdZew'](sendPlatformDetails,global[_0xb69dc0(0x19d)][0x0],this[_0xb69dc0(0x218)]?this[_0xb69dc0(0x218)][_0xb69dc0(0x236)]:null));}catch(_0x4094fa){logger['debug'](_0xb69dc0(0x1d0)+_0x4094fa);}await global[_0xb69dc0(0x19d)][0x0][_0xb69dc0(0x1b1)]();}catch(_0x3a7e39){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x3a7e39);}};},{'platform':_0x1d5622[_0x202818(0x17b)](nestedKeyValue,global[_0x202818(0x207)],[_0x1d5622['OdzHO']]),'hookType':_0x1d5622[_0x202818(0x233)]})();},'beforeEach'(_0x40fb4f){const _0x234499=a36_0x5aa89c,_0x4c0ea6={'gicYP':function(_0x11742f,_0x3b56bf){return _0x11742f>_0x3b56bf;},'CuBqg':'\x20-\x20','yRZAs':function(_0x2d7baa,_0x25eee9,_0x1581e8){return _0x2d7baa(_0x25eee9,_0x1581e8);},'Cohev':_0x234499(0x1a9),'TtGUS':function(_0xcfda2b){return _0xcfda2b();},'NAOPh':_0x234499(0x211),'WHxyI':function(_0x4af1f9,_0x3ef1b7){return _0x4af1f9===_0x3ef1b7;},'kApYN':'http:','nbchy':function(_0x31efcb,_0x330ac3){return _0x31efcb===_0x330ac3;},'BZBfX':_0x234499(0x214),'uTFot':_0x234499(0x18f),'hiqCB':_0x234499(0x225),'yzJay':_0x234499(0x1aa),'MgGct':function(_0x153aa7,_0x40775d,_0x15d983){return _0x153aa7(_0x40775d,_0x15d983);},'PRMOp':_0x234499(0x20e),'dMBXD':_0x234499(0x1ec)};globals['setGlobal'](_0x4c0ea6[_0x234499(0x1a5)],this[_0x234499(0x218)][_0x234499(0x1ba)]()[_0x234499(0x174)](_0x4c0ea6[_0x234499(0x1b8)])),PerformanceTester[_0x234499(0x217)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0xd39042={'yRfcr':function(_0x3cc345){const _0x23e81e=a36_0x5cde;return _0x4c0ea6[_0x23e81e(0x226)](_0x3cc345);}},_0x3a2281='browserstack internal helper hook';new Promise(async _0x3b29af=>{const _0x4fae64=a36_0x5cde;let _0x4069ef=!![];try{_0x4c0ea6[_0x4fae64(0x1b6)](global[_0x4fae64(0x19d)][_0x4fae64(0x185)],0x1)&&(await global['driverCleanup'](),global[_0x4fae64(0x19d)][_0x4fae64(0x21e)]()),_0x4c0ea6[_0x4fae64(0x1b6)](global[_0x4fae64(0x19d)][0x0][_0x4fae64(0x229)],0x0)&&(_0x4069ef=![],await global['driverCleanup']());}catch(_0x23aa3c){logger[_0x4fae64(0x1e9)](_0x4fae64(0x1b0)+_0x23aa3c);}try{Array[_0x4fae64(0x20d)](global['__drivers'])&&global[_0x4fae64(0x19d)][0x0]&&(global[_0x4fae64(0x19d)][0x0][_0x4fae64(0x200)]=this[_0x4fae64(0x218)][_0x4fae64(0x1ba)]()[_0x4fae64(0x174)](_0x4c0ea6[_0x4fae64(0x1b8)])),global['browserstackSessionName']=this[_0x4fae64(0x218)]['titlePath']()[_0x4fae64(0x174)](_0x4c0ea6[_0x4fae64(0x1b8)]);}catch(_0x11d6da){logger[_0x4fae64(0x1e9)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0x11d6da);}this[_0x4fae64(0x218)][_0x4fae64(0x21f)]=_0x4c0ea6[_0x4fae64(0x1f7)](shouldScanTestForAccessibility,this[_0x4fae64(0x218)][_0x4fae64(0x1ba)](),!![]),globals[_0x4fae64(0x1c7)](_0x4c0ea6[_0x4fae64(0x235)],this['currentTest'][_0x4fae64(0x21f)]),this['currentTest'][_0x4fae64(0x188)]=!![];if(_0x4c0ea6[_0x4fae64(0x226)](isAccessibilityAutomationSession)&&_0x4069ef&&Array['isArray'](global[_0x4fae64(0x19d)])&&_0x4c0ea6['gicYP'](global['__drivers'][_0x4fae64(0x185)],0x0)&&globals[_0x4fae64(0x1d7)](_0x4c0ea6[_0x4fae64(0x215)]))try{const _0x1d0351=await global[_0x4fae64(0x19d)][0x0][_0x4fae64(0x210)];if(_0x1d0351){let _0x6824b8=!![];const _0x3c0e55=await global[_0x4fae64(0x19d)][0x0]['getCurrentUrl']();let _0x5cc1f5;try{_0x5cc1f5=new URL(_0x3c0e55);}catch(_0x3c46f3){_0x6824b8=![];}_0x6824b8=_0x4c0ea6['WHxyI'](_0x5cc1f5[_0x4fae64(0x1f6)],_0x4c0ea6['kApYN'])||_0x4c0ea6[_0x4fae64(0x193)](_0x5cc1f5['protocol'],_0x4c0ea6[_0x4fae64(0x213)]),_0x6824b8&&(this[_0x4fae64(0x218)][_0x4fae64(0x21f)]&&logger[_0x4fae64(0x1d3)](_0x4c0ea6[_0x4fae64(0x1fb)])),this[_0x4fae64(0x218)][_0x4fae64(0x188)]=this[_0x4fae64(0x218)]['shouldScanTestForAccessibility'],this[_0x4fae64(0x218)]['shouldScanTestForAccessibility']&&logger['info'](_0x4c0ea6[_0x4fae64(0x19e)]);}}catch(_0x32763d){logger[_0x4fae64(0x1c3)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x4fae64(0x1c9)](_0x32763d));}_0x4c0ea6[_0x4fae64(0x226)](_0x3b29af);})['then'](()=>{const _0x2b5ac2=a36_0x5cde;_0xd39042[_0x2b5ac2(0x22e)](_0x40fb4f);});},{'platform':_0x4c0ea6[_0x234499(0x18e)](nestedKeyValue,global[_0x234499(0x207)],[_0x4c0ea6[_0x234499(0x20a)]]),'hookType':_0x4c0ea6['dMBXD']})();},'afterEach'(_0x3976d6){const _0x5b3ce7=a36_0x5aa89c,_0x3cc799={'bRoDe':function(_0x3c66cd){return _0x3c66cd();},'Dmbqc':'\x20-\x20','MMSQn':function(_0x1ab7fe,_0x3acaa2){return _0x1ab7fe!==_0x3acaa2;},'YfHry':'passed','OgHLP':function(_0x5100cc,_0x4fa8ff,_0x443700){return _0x5100cc(_0x4fa8ff,_0x443700);},'MnMxh':function(_0x472914,_0x5c4237){return _0x472914+_0x5c4237;},'EvSDg':_0x5b3ce7(0x1cc),'Xhyee':'error','PSbKq':function(_0x2ffd36,_0x4a189c,_0xa1a573){return _0x2ffd36(_0x4a189c,_0xa1a573);},'eJBQU':'Passed','alCec':'info','uJMFf':function(_0x1e999b,_0x99ee64){return _0x1e999b>_0x99ee64;},'qcMLR':function(_0x3fbc78,_0x2ca7e3){return _0x3fbc78===_0x2ca7e3;},'QyJgq':_0x5b3ce7(0x1fa),'gYWbV':function(_0x1d35db,_0x2c46d3){return _0x1d35db>_0x2c46d3;},'wACXp':_0x5b3ce7(0x197),'Ffgdn':function(_0x28d930,_0x247779,_0xd7efdc,_0x328b20){return _0x28d930(_0x247779,_0xd7efdc,_0x328b20);},'MLPuL':_0x5b3ce7(0x211),'jQFoC':_0x5b3ce7(0x1a9),'FoyRX':_0x5b3ce7(0x1a4),'utHRF':_0x5b3ce7(0x21a),'mkIdP':_0x5b3ce7(0x17d),'qumRj':_0x5b3ce7(0x1b7),'WuiWT':_0x5b3ce7(0x1a7),'RmtPk':_0x5b3ce7(0x199),'OKCIa':_0x5b3ce7(0x1b2),'Vvyuf':_0x5b3ce7(0x1ef),'kaSrg':_0x5b3ce7(0x1e9),'hRtbD':function(_0x22b222,_0x515eb6){return _0x22b222>_0x515eb6;},'wMvgD':function(_0xce1230){return _0xce1230();},'yuBbv':_0x5b3ce7(0x224),'tpjrv':_0x5b3ce7(0x20e),'VIFbJ':_0x5b3ce7(0x1f0)},_0x3b858f='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x3cc799[_0x5b3ce7(0x1fd)]]),global[_0x5b3ce7(0x206)]=this[_0x5b3ce7(0x218)][_0x5b3ce7(0x1ba)]()[_0x5b3ce7(0x174)](_0x3cc799[_0x5b3ce7(0x178)]),PerformanceTester[_0x5b3ce7(0x217)](PerformanceSdkEvents[_0x5b3ce7(0x187)],()=>{const _0x573004=_0x5b3ce7,_0x17c60e={'yGJuD':_0x3cc799[_0x573004(0x178)],'ILTPt':function(_0x3b6186,_0x1d9311){return _0x3cc799['MMSQn'](_0x3b6186,_0x1d9311);},'wzEMR':_0x3cc799[_0x573004(0x202)],'XGjOw':function(_0x23190a,_0x443d75,_0x457a66){const _0x44b078=_0x573004;return _0x3cc799[_0x44b078(0x19c)](_0x23190a,_0x443d75,_0x457a66);},'xaOUk':function(_0x329d5d,_0xc80e7f){return _0x3cc799['MnMxh'](_0x329d5d,_0xc80e7f);},'BwVuj':_0x3cc799[_0x573004(0x18a)],'hnYDU':_0x3cc799['Xhyee'],'MkQHC':function(_0x5c3356,_0x3bddf3,_0x2f09e0){const _0x301ced=_0x573004;return _0x3cc799[_0x301ced(0x201)](_0x5c3356,_0x3bddf3,_0x2f09e0);},'EJFwu':_0x3cc799['eJBQU'],'CvyKI':_0x3cc799[_0x573004(0x1df)],'BwKYc':function(_0x53bd54,_0x382551){const _0x2e6f01=_0x573004;return _0x3cc799[_0x2e6f01(0x1bc)](_0x53bd54,_0x382551);},'RZoyD':function(_0x74c09f,_0x1a02db){const _0x863a0e=_0x573004;return _0x3cc799[_0x863a0e(0x1b5)](_0x74c09f,_0x1a02db);},'GAMzW':_0x3cc799[_0x573004(0x196)],'Jnnjd':function(_0xa7f55f,_0x15d0ec){const _0x17ecaa=_0x573004;return _0x3cc799[_0x17ecaa(0x1f8)](_0xa7f55f,_0x15d0ec);},'NFArV':_0x3cc799[_0x573004(0x17c)],'JoCtw':function(_0x413276,_0xcf265e,_0x498a34,_0x290b07){const _0x7b4e6b=_0x573004;return _0x3cc799[_0x7b4e6b(0x1be)](_0x413276,_0xcf265e,_0x498a34,_0x290b07);},'POkcQ':_0x3cc799[_0x573004(0x1d1)],'QUbrk':_0x3cc799[_0x573004(0x18b)],'BsXEr':_0x3cc799['FoyRX'],'hNupm':_0x3cc799[_0x573004(0x1ac)],'AigJa':_0x3cc799[_0x573004(0x1ce)],'GTUfn':_0x3cc799[_0x573004(0x223)],'wsdOS':_0x3cc799[_0x573004(0x20b)],'WmHLk':_0x3cc799[_0x573004(0x17a)],'VvdTG':_0x3cc799[_0x573004(0x1a6)],'basJt':_0x3cc799[_0x573004(0x1b3)],'sWWis':function(_0x448b1a){const _0x58707b=_0x573004;return _0x3cc799[_0x58707b(0x227)](_0x448b1a);},'FczTm':function(_0x5c977f,_0x147449,_0x24f660){const _0x14d959=_0x573004;return _0x3cc799[_0x14d959(0x201)](_0x5c977f,_0x147449,_0x24f660);},'oZakP':function(_0x39b67d){const _0x430c4f=_0x573004;return _0x3cc799[_0x430c4f(0x227)](_0x39b67d);},'EYKyR':_0x3cc799[_0x573004(0x1c6)],'sIlbP':function(_0x4edf31,_0x529aa8){const _0x7db22=_0x573004;return _0x3cc799[_0x7db22(0x1a1)](_0x4edf31,_0x529aa8);},'nBUui':function(_0x23e40c){const _0x1642b9=_0x573004;return _0x3cc799[_0x1642b9(0x173)](_0x23e40c);}},_0x3a08d5=async(_0x25c866,_0x2c164e)=>{const _0x26ecbc=_0x573004;await global[_0x26ecbc(0x19d)][0x0][_0x26ecbc(0x172)](_0x26ecbc(0x17f)+_0x25c866+',\x22level\x22:\x20\x22'+_0x2c164e+_0x26ecbc(0x1a3));};new Promise(async _0x36e82d=>{const _0x3985ff=_0x573004,_0x306417={'hZObD':_0x17c60e[_0x3985ff(0x21b)],'TeuYF':function(_0x9428c8,_0x1dc9cb){return _0x17c60e['ILTPt'](_0x9428c8,_0x1dc9cb);},'cNEVx':_0x17c60e[_0x3985ff(0x1e6)],'xGiMY':function(_0x38fee8,_0x40be60,_0x5b58b5){const _0x40b57f=_0x3985ff;return _0x17c60e[_0x40b57f(0x222)](_0x38fee8,_0x40be60,_0x5b58b5);},'RmrKV':function(_0x26d1a7,_0x583dfc){return _0x17c60e['xaOUk'](_0x26d1a7,_0x583dfc);},'NjcSp':_0x17c60e[_0x3985ff(0x184)],'qUpUI':_0x17c60e['hnYDU'],'rJhWo':function(_0x12c4be,_0x427899,_0x36713f){const _0x44d9d5=_0x3985ff;return _0x17c60e[_0x44d9d5(0x1ff)](_0x12c4be,_0x427899,_0x36713f);},'XYVaA':_0x17c60e['EJFwu'],'MwYgH':_0x17c60e[_0x3985ff(0x228)]};try{_0x17c60e[_0x3985ff(0x1f1)](global['__drivers'][_0x3985ff(0x185)],0x1)&&(await global[_0x3985ff(0x170)](),global[_0x3985ff(0x19d)][_0x3985ff(0x21e)](),global[_0x3985ff(0x221)]=[],global['__sessionFailed']=![]);try{if(global['percy']&&_0x17c60e[_0x3985ff(0x219)](global[_0x3985ff(0x195)],_0x17c60e[_0x3985ff(0x1a8)])&&global[_0x3985ff(0x19d)][0x0]){const _0x2c77fc=_0x17c60e[_0x3985ff(0x1c0)](global[_0x3985ff(0x198)]['length'],0x0)?!!global[_0x3985ff(0x198)][0x0][_0x3985ff(0x1e2)]||!!global['capabilities'][0x0][_0x17c60e[_0x3985ff(0x21d)]]:![],_0x26abec={};_0x26abec[_0x3985ff(0x1e2)]=_0x2c77fc,await _0x17c60e['JoCtw'](percyAutoCapture,global[_0x3985ff(0x19d)][0x0],_0x17c60e[_0x3985ff(0x1a8)],_0x26abec);}}catch(_0x41f294){logger['debug'](_0x3985ff(0x179)+_0x41f294);}!global[_0x3985ff(0x212)]&&(await PerformanceTester[_0x3985ff(0x217)](PerformanceAutEvents[_0x3985ff(0x234)],async()=>{const _0x2f8eac=_0x3985ff;await global[_0x2f8eac(0x19d)][0x0][_0x2f8eac(0x172)](_0x2f8eac(0x189)+JSON['stringify'](this[_0x2f8eac(0x218)][_0x2f8eac(0x1ba)]()[_0x2f8eac(0x174)](_0x306417[_0x2f8eac(0x1e1)]))+'}}');})(),global['__drivers'][0x0][_0x3985ff(0x1f3)]=!![]),await PerformanceTester[_0x3985ff(0x217)](PerformanceAutEvents[_0x3985ff(0x1e3)],async()=>{const _0x472523=_0x3985ff,_0x5eb925=_0x306417[_0x472523(0x194)](this['currentTest'][_0x472523(0x208)],_0x306417[_0x472523(0x182)]);_0x5eb925?(global[_0x472523(0x19b)]=!![],global[_0x472523(0x221)]['push'](this[_0x472523(0x218)][_0x472523(0x220)][_0x472523(0x230)]),await _0x306417[_0x472523(0x232)](_0x3a08d5,JSON['stringify'](_0x306417[_0x472523(0x1ed)](_0x306417['NjcSp'],this[_0x472523(0x218)][_0x472523(0x220)][_0x472523(0x230)])),_0x306417['qUpUI'])):await _0x306417[_0x472523(0x1b4)](_0x3a08d5,JSON[_0x472523(0x1a0)](_0x306417['XYVaA']),_0x306417[_0x472523(0x16f)]);})();}catch(_0x2faf3f){logger[_0x3985ff(0x1e9)]('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x2faf3f);}try{if(this[_0x3985ff(0x218)][_0x3985ff(0x188)]&&globals[_0x3985ff(0x1d7)](_0x17c60e[_0x3985ff(0x216)])&&globals['getGlobal'](_0x17c60e[_0x3985ff(0x209)])){logger[_0x3985ff(0x1d3)](_0x17c60e[_0x3985ff(0x180)]);const _0x51d678={};_0x51d678[_0x3985ff(0x192)]=this[_0x3985ff(0x218)][_0x3985ff(0x236)],_0x51d678[_0x3985ff(0x1cd)]=process[_0x3985ff(0x1dc)][testHubConstants[_0x3985ff(0x1fc)]['BROWSERSTACK_TESTHUB_UUID']],_0x51d678['thJwtToken']=process[_0x3985ff(0x1dc)][testHubConstants['ENV_VAR'][_0x3985ff(0x1f9)]];const _0x1bc827=_0x51d678;logger[_0x3985ff(0x1e9)](_0x3985ff(0x22a)+JSON[_0x3985ff(0x1a0)](_0x1bc827)),logger[_0x3985ff(0x1e9)](_0x17c60e[_0x3985ff(0x1eb)]);const _0x4b0bd8={};_0x4b0bd8['command']=_0x17c60e[_0x3985ff(0x1ab)];const _0x2751f9=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x3985ff(0x18c)],async()=>{const _0x487351=_0x3985ff;return await accessibilityRetryHelper[_0x487351(0x1d2)](global['__drivers'][0x0],global[_0x487351(0x200)]);},_0x4b0bd8)();_0x2751f9?logger[_0x3985ff(0x1e9)](_0x17c60e[_0x3985ff(0x1cb)]):logger[_0x3985ff(0x1e8)](_0x17c60e[_0x3985ff(0x1bb)]);const _0xeec3ca=await PerformanceTester[_0x3985ff(0x217)](PerformanceA11yEvents[_0x3985ff(0x190)],async()=>{const _0x372ba9=_0x3985ff;return await accessibilityRetryHelper[_0x372ba9(0x1c2)](global['__drivers'][0x0],_0x1bc827);})();_0xeec3ca?logger[_0x3985ff(0x1e9)](_0x17c60e['WmHLk']):logger[_0x3985ff(0x1e8)](_0x17c60e[_0x3985ff(0x18d)]),logger[_0x3985ff(0x1d3)](_0x17c60e[_0x3985ff(0x1bd)]);}}catch(_0x5b6d85){logger['error'](_0x3985ff(0x21c)+this[_0x3985ff(0x218)][_0x3985ff(0x1ba)]()+'.\x20Error\x20:',_0x5b6d85);}try{try{if(_0x17c60e['sWWis'](shouldProcessEventForTesthub)){global[_0x3985ff(0x19d)][0x0]&&await _0x17c60e[_0x3985ff(0x1ad)](sendPlatformDetails,global[_0x3985ff(0x19d)][0x0],this[_0x3985ff(0x218)]?this[_0x3985ff(0x218)][_0x3985ff(0x236)]:null);if(_0x17c60e['oZakP'](isBrowserstackInfra)){PerformanceTester[_0x3985ff(0x20f)](PerformanceO11yEvents[_0x3985ff(0x205)]);const _0x4d0dcb=_0x3985ff(0x22b)+Date[_0x3985ff(0x1c1)]();await _0x17c60e[_0x3985ff(0x222)](_0x3a08d5,JSON[_0x3985ff(0x1a0)](_0x4d0dcb),_0x17c60e['EYKyR']),PerformanceTester[_0x3985ff(0x1d9)](PerformanceO11yEvents[_0x3985ff(0x205)]);}}}catch(_0x534f3f){logger[_0x3985ff(0x1e9)](_0x3985ff(0x177)+_0x534f3f),PerformanceTester['end'](PerformanceO11yEvents[_0x3985ff(0x205)],![],_0x534f3f);}_0x17c60e[_0x3985ff(0x1de)](global['__drivers'][0x0]['quitCount_'],0x0)&&await global['driverCleanup']();}catch(_0x1fb0f7){logger[_0x3985ff(0x1e9)](_0x3985ff(0x1b0)+_0x1fb0f7);}_0x17c60e[_0x3985ff(0x181)](_0x36e82d);})['then'](()=>{const _0x130178=_0x573004;_0x3cc799[_0x130178(0x227)](_0x3976d6);});},{'platform':_0x3cc799['OgHLP'](nestedKeyValue,global[_0x5b3ce7(0x207)],[_0x3cc799[_0x5b3ce7(0x19a)]]),'hookType':_0x3cc799[_0x5b3ce7(0x1e0)]})();},'afterAll'(_0x14f0c5){const _0xfa9fba=a36_0x5aa89c,_0x10f4f2={'gwpdG':function(_0x4e2432){return _0x4e2432();},'NKhzB':function(_0x53f833){return _0x53f833();},'IUCxO':_0xfa9fba(0x224),'eBRun':function(_0xb888d7,_0x4a4e48,_0x28b016){return _0xb888d7(_0x4a4e48,_0x28b016);},'fiwrS':'index','xZnfM':_0xfa9fba(0x17e)},_0x110de9='browserstack internal helper hook';this[_0xfa9fba(0x1af)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x10f4f2['IUCxO']]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0xfa9fba(0x187)],()=>{const _0x2394f2=_0xfa9fba,_0x1f2d37={'yFalD':function(_0xc8d352){return _0x10f4f2['NKhzB'](_0xc8d352);}};new Promise(async _0x3eeefb=>{const _0x2b835c=a36_0x5cde;await global[_0x2b835c(0x170)](),_0x10f4f2['gwpdG'](_0x3eeefb);})[_0x2394f2(0x1f5)]()[_0x2394f2(0x1f4)](()=>{const _0x3c71b5=_0x2394f2;_0x1f2d37[_0x3c71b5(0x22f)](_0x14f0c5);});},{'platform':_0x10f4f2[_0xfa9fba(0x203)](nestedKeyValue,global[_0xfa9fba(0x207)],[_0x10f4f2['fiwrS']]),'hookType':_0x10f4f2['xZnfM']})();}};function a36_0x212b(){const _0x3e5413=['executeScript','wMvgD','join','../../helpers/accessibility-automation/accessibilityRetryHelper','XnMsb','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','Dmbqc','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','RmtPk','YnmJh','wACXp','afterTest','afterAll','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','BsXEr','nBUui','cNEVx','4195086dPVJgH','BwVuj','length','126090ADWorX','SDK_HOOK','accessibilityScanStarted','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','EvSDg','jQFoC','PERFORM_SCAN','VvdTG','MgGct','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','SAVE_RESULTS','failed','thTestRunUuid','nbchy','TeuYF','percyCaptureMode','QyJgq','appium:app','capabilities','Accessibility\x20results\x20saved\x20successfully','tpjrv','__sessionFailed','OgHLP','__drivers','hiqCB','../../helpers/accessibility-automation/helper','stringify','hRtbD','../../helpers/testhub/constants','\x22}}','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','yzJay','OKCIa','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','GAMzW','bstackA11yShouldScan','browserstackTestName','AigJa','utHRF','FczTm','../../helpers/performance/performance-tester','timeout','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','initQuit','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','Vvyuf','rJhWo','qcMLR','gicYP','Accessibility\x20scan\x20completed\x20successfully','CuBqg','../../helpers/logger','titlePath','wsdOS','uJMFf','basJt','Ffgdn','../../helpers/percy/utils','Jnnjd','now','saveAccessibilityResultsWithRetry','error','beforeAll','80qvAqPd','kaSrg','setGlobal','mochaHooks','format','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','GTUfn','Failed:\x20','thBuildUuid','mkIdP','122xZuZag','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','MLPuL','performScanWithRetry','info','7512879dGkYrb','7fZJIVL','AqNNv','getGlobal','620423BOoaaK','end','104204GGsiml','../../helpers/performance/constants','env','../../helpers/globals','sIlbP','alCec','VIFbJ','hZObD','app','SESSION_STATUS','startMonitoring','\x20|\x20','wzEMR','../utils/constants','warn','debug','5020650wYYYHX','hNupm','beforeEach','RmrKV','vAmJs','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','afterEach','BwKYc','RRcEd','sessionNameSet__','finally','then','protocol','yRZAs','gYWbV','BROWSERSTACK_TESTHUB_JWT','testcase','uTFot','ENV_VAR','yuBbv','WVeti','MkQHC','browserstackSessionName','PSbKq','YfHry','eBRun','OOIQn','SYNC','sessionName','__platformCaps','state','QUbrk','PRMOp','WuiWT','util','isArray','index','start','session_','isAccessibilityPlatform','__skipSessionName','BZBfX','https:','NAOPh','POkcQ','measureWrapper','currentTest','RZoyD','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','yGJuD','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','NFArV','shift','shouldScanTestForAccessibility','err','__error_messages__','XGjOw','qumRj','Mocha','Automate\x20test\x20case\x20execution\x20has\x20started.','TtGUS','bRoDe','CvyKI','quitCount_','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','ObservabilitySync:','320ezkhGH','1125RzErib','yRfcr','yFalD','message','MZkeN','xGiMY','iguGu','SESSION_NAME','Cohev','testAnalyticsId','../../helpers/helper','MwYgH','driverCleanup','ZeOjS'];a36_0x212b=function(){return _0x3e5413;};return a36_0x212b();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a37_0x2f3c31=a37_0xc6f7;(function(_0x5330d4,_0xae5116){const _0x141175=a37_0xc6f7,_0x180ceb=_0x5330d4();while(!![]){try{const _0x48d487=parseInt(_0x141175(0xac))/0x1*(parseInt(_0x141175(0xae))/0x2)+-parseInt(_0x141175(0xba))/0x3*(-parseInt(_0x141175(0xef))/0x4)+-parseInt(_0x141175(0xc4))/0x5*(-parseInt(_0x141175(0xc8))/0x6)+-parseInt(_0x141175(0xf1))/0x7+-parseInt(_0x141175(0xbd))/0x8*(-parseInt(_0x141175(0xce))/0x9)+parseInt(_0x141175(0xa6))/0xa+-parseInt(_0x141175(0xb6))/0xb;if(_0x48d487===_0xae5116)break;else _0x180ceb['push'](_0x180ceb['shift']());}catch(_0x32fd99){_0x180ceb['push'](_0x180ceb['shift']());}}}(a37_0x2102,0x3336e));const fs=require('fs'),path=require('path'),{spawn}=require(a37_0x2f3c31(0xb1)),logger=require(a37_0x2f3c31(0xd7))[a37_0x2f3c31(0xc5)],{default:BrowserStackSetup}=require(a37_0x2f3c31(0xcc)),helper=require(a37_0x2f3c31(0xc0)),constants=require(a37_0x2f3c31(0xe1)),getUserNightwatchConfigs=(_0x403ef5,_0x74d07d)=>{const _0x56c42d=a37_0x2f3c31,_0x14bc07={'gIzrc':_0x56c42d(0xc7),'xyMjE':'nightwatch.json','TaZcq':function(_0x4c4e89,_0x1bde15){return _0x4c4e89(_0x1bde15);},'QDrDy':_0x56c42d(0xcf)};let _0x5b7832=null,_0x97d2a6={};const _0x48f148=_0x74d07d[_0x56c42d(0xf4)](_0x116159=>_0x116159===_0x56c42d(0xeb));if(!helper[_0x56c42d(0xc6)](_0x403ef5[_0x56c42d(0xb3)])&&fs[_0x56c42d(0xb0)](path['join'](process[_0x56c42d(0xa9)](),_0x403ef5[_0x56c42d(0xb3)])))_0x5b7832=path[_0x56c42d(0xda)](process[_0x56c42d(0xa9)](),_0x403ef5['config']),_0x74d07d['splice'](_0x48f148,0x2);else{if(fs[_0x56c42d(0xb0)](path[_0x56c42d(0xda)](process['cwd'](),_0x14bc07[_0x56c42d(0xe5)])))_0x5b7832=path[_0x56c42d(0xda)](process['cwd'](),_0x14bc07[_0x56c42d(0xe5)]);else fs[_0x56c42d(0xb0)](path[_0x56c42d(0xda)](process[_0x56c42d(0xa9)](),_0x14bc07[_0x56c42d(0xd8)]))&&(_0x5b7832=path[_0x56c42d(0xda)](process[_0x56c42d(0xa9)](),_0x14bc07[_0x56c42d(0xd8)]));}return _0x5b7832?(logger[_0x56c42d(0xb2)](_0x56c42d(0xde)+_0x5b7832),_0x97d2a6=_0x14bc07[_0x56c42d(0xc1)](require,_0x5b7832)):logger[_0x56c42d(0xb2)](_0x14bc07[_0x56c42d(0xbc)]),_0x97d2a6;},removeExistingEnvs=_0x17c618=>{const _0xf6a941=a37_0x2f3c31,_0x36c12c={};_0x36c12c[_0xf6a941(0xd6)]=function(_0xfd623e,_0x3dd3ac){return _0xfd623e>_0x3dd3ac;};const _0x2a2bd9=_0x36c12c;let _0x5c9ecd=_0x17c618[_0xf6a941(0xf4)](_0x1c1341=>_0x1c1341==='--env');_0x2a2bd9[_0xf6a941(0xd6)](_0x5c9ecd,-0x1)&&_0x17c618[_0xf6a941(0xea)](_0x5c9ecd,0x2),_0x5c9ecd=_0x17c618[_0xf6a941(0xf4)](_0x4d648d=>_0x4d648d==='-e'),_0x2a2bd9[_0xf6a941(0xd6)](_0x5c9ecd,-0x1)&&_0x17c618[_0xf6a941(0xea)](_0x5c9ecd,0x2);};function run(_0x2dd275,_0x18a8ee,_0x410dc7){const _0x369503=a37_0x2f3c31,_0x26050b={'rBwQK':'nightwatch','hbUaG':function(_0x116bcb,_0x25d2e1){return _0x116bcb+_0x25d2e1;},'WVsGF':_0x369503(0xd9),'HUkyq':function(_0x257eec,_0x3c5104,_0x369a6b){return _0x257eec(_0x3c5104,_0x369a6b);},'Fozeo':'hub.browserstack.com','Kpllc':_0x369503(0xc9),'mACNZ':function(_0x31bd4a,_0x15ce15){return _0x31bd4a===_0x15ce15;},'NKtGO':'nightwatch-browserstack.json','XUqAM':function(_0x7f45b8,_0x4ba37d){return _0x7f45b8(_0x4ba37d);},'tFskV':function(_0x355ec7,_0x4e2a5c,_0x4df5f2,_0x2499aa){return _0x355ec7(_0x4e2a5c,_0x4df5f2,_0x2499aa);},'pnaxr':_0x369503(0xcb),'ZlsLe':'--config','FsMPv':_0x369503(0xec),'EoAHn':_0x369503(0xaf),'cBSrt':'close'};if(!_0x410dc7['config'])return;const _0x2e1919=_0x26050b[_0x369503(0xbb)](getUserNightwatchConfigs,_0x2dd275,_0x18a8ee),_0x510f37={};_0x510f37[_0x369503(0xb4)]=![];const _0x3f88a0={};_0x3f88a0['host']=_0x26050b['Fozeo'],_0x3f88a0[_0x369503(0xee)]=0x1bb;const _0x5b3ee6={};_0x5b3ee6[_0x369503(0xdc)]=_0x510f37,_0x5b3ee6[_0x369503(0xd2)]=_0x3f88a0;const _0x45f0ee=_0x5b3ee6;logger[_0x369503(0xb2)](_0x26050b[_0x369503(0xf3)]);const _0x525cf2={..._0x2e1919},_0x52217c=_0x525cf2,_0x27275e=helper[_0x369503(0xed)](_0x410dc7['config']),_0x4bcb4f=[];_0x410dc7['config']['platforms']['forEach']((_0x58f31b,_0x362342)=>{const _0x46a323=_0x369503;_0x27275e?_0x4bcb4f[_0x46a323(0xe6)](helper[_0x46a323(0xa7)](_0x410dc7[_0x46a323(0xb3)],_0x26050b[_0x46a323(0xc2)],_0x362342)):_0x4bcb4f[_0x46a323(0xe6)](helper[_0x46a323(0xb5)](_0x410dc7[_0x46a323(0xb3)],_0x26050b['rBwQK'],_0x362342));});const _0x54fe4a={},_0x5ee92c=[];_0x2dd275[_0x369503(0xcd)]=_0x2dd275[_0x369503(0xcd)]||_0x2dd275['e'];const _0x2671b6=_0x2dd275[_0x369503(0xcd)]?_0x2dd275[_0x369503(0xcd)][_0x369503(0xd1)]()[_0x369503(0xbe)](',')[_0x369503(0xe2)](_0xf70dd2=>_0xf70dd2['trim']())['filter'](_0x28ebfa=>_0x28ebfa!==''):[''];_0x26050b[_0x369503(0xe8)](_0x2671b6[_0x369503(0xad)],0x0)&&_0x2671b6[_0x369503(0xe6)]('');_0x2671b6[_0x369503(0xdf)](_0x5746d9=>{const _0x1c0ad1=_0x369503,_0x2b0598={'kVGqC':function(_0x23819d,_0x505303){const _0x1e772b=a37_0xc6f7;return _0x26050b[_0x1e772b(0xdd)](_0x23819d,_0x505303);},'tRhai':_0x26050b[_0x1c0ad1(0xaa)]};_0x4bcb4f[_0x1c0ad1(0xdf)](_0x512e63=>{const _0xc83145=_0x1c0ad1;let _0xf8dcfa=_0x2b0598[_0xc83145(0xa8)](helper[_0xc83145(0xf2)](_0x512e63,'_'),'_'+Date['now']());_0x5746d9&&(_0xf8dcfa+='_'+_0x5746d9);if(_0x5746d9&&(!_0x2e1919[_0x2b0598['tRhai']]||!_0x2e1919[_0x2b0598[_0xc83145(0xdb)]][_0x5746d9]))return;const _0x241ca2={..._0x45f0ee};_0x241ca2[_0xc83145(0xb9)]=_0x512e63;const _0x19ba13=_0x241ca2;_0x54fe4a[_0xf8dcfa]=_0x5746d9?helper[_0xc83145(0xd4)](_0x2e1919[_0x2b0598[_0xc83145(0xdb)]][_0x5746d9],_0x19ba13):_0x19ba13,_0x5ee92c[_0xc83145(0xe6)](_0xf8dcfa);});});!_0x52217c[_0x369503(0xd9)]&&(_0x52217c[_0x369503(0xd9)]={});_0x52217c[_0x369503(0xd9)]={..._0x52217c['test_settings'],..._0x54fe4a};const _0x3ab33e=path[_0x369503(0xda)](__dirname,_0x26050b[_0x369503(0xc3)]);fs[_0x369503(0xf5)](_0x3ab33e,JSON[_0x369503(0xe7)](_0x52217c)),_0x26050b[_0x369503(0xb7)](removeExistingEnvs,_0x18a8ee);const _0x34e933=_0x26050b[_0x369503(0xd0)](spawn,/^win/[_0x369503(0xf0)](process[_0x369503(0xe9)])?_0x26050b[_0x369503(0xd3)]:_0x26050b[_0x369503(0xc2)],[_0x26050b[_0x369503(0xb8)],_0x3ab33e,..._0x18a8ee[_0x369503(0xd5)](0x1),_0x26050b['FsMPv'],_0x5ee92c[_0x369503(0xda)](',')],{'stdio':_0x26050b[_0x369503(0xe4)]});_0x34e933['on'](_0x26050b[_0x369503(0xe0)],async _0x39bc17=>{const _0x57ce34=_0x369503;logger[_0x57ce34(0xab)](_0x57ce34(0xbf)+_0x39bc17),logger[_0x57ce34(0xb2)](_0x57ce34(0xe3)+_0x3ab33e),fs[_0x57ce34(0xca)](_0x3ab33e);});}function a37_0x2102(){const _0x5efba6=['tRhai','webdriver','hbUaG','Getting\x20your\x20nightwatch\x20configs\x20from\x20','forEach','cBSrt','../utils/constants','map','Deleting\x20','EoAHn','gIzrc','push','stringify','mACNZ','platform','splice','--config','--env','useW3C','port','902636QnfjDu','test','1943613QFxFiR','getPlatformName','Kpllc','findIndex','writeFileSync','874900KUTxJa','modifyBrowserStackW3CCaps','kVGqC','cwd','WVsGF','debug','12PqjuCv','length','12284jBAxAa','inherit','existsSync','child_process','info','config','start_process','modifyBrowserStackCaps','3924305nwABLY','XUqAM','ZlsLe','desiredCapabilities','3aqjXyg','HUkyq','QDrDy','136QlSgIE','split','child\x20process\x20exited\x20with\x20code\x20','../../helpers/helper','TaZcq','rBwQK','NKtGO','17825rLZPtc','winstonLogger','isUndefined','nightwatch.conf.js','570QwIEPG','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','unlinkSync','nightwatch.cmd','../../helpers/BrowserStackSetup','env','62820HNroEo','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','tFskV','trim','selenium','pnaxr','mergeDeep','slice','TUYvG','../../helpers/logger','xyMjE','test_settings','join'];a37_0x2102=function(){return _0x5efba6;};return a37_0x2102();}function a37_0xc6f7(_0x37979e,_0x1c15e6){const _0x210276=a37_0x2102();return a37_0xc6f7=function(_0xc6f76f,_0x25def0){_0xc6f76f=_0xc6f76f-0xa6;let _0x10e76e=_0x210276[_0xc6f76f];return _0x10e76e;},a37_0xc6f7(_0x37979e,_0x1c15e6);}module['exports']=run;
2
+ 'use strict';const a37_0x1c2a3f=a37_0x37a3;function a37_0x5534(){const _0x254c7d=['stringify','nightwatch.cmd','13321CnWUyP','modifyBrowserStackW3CCaps','getPlatformName','selenium','bxjNw','nightwatch-browserstack.json','exports','CXIpP','join','splice','platform','test','unlinkSync','../../helpers/helper','forEach','findIndex','inherit','Deleting\x20','XXnEs','debug','pMBea','1097lhDbZH','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','EmoXp','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','258249fjUiWP','info','5790RVKgBy','WAxAr','43984gjEwCp','anfkv','../../helpers/BrowserStackSetup','BJxUu','nightwatch.json','2521752QohJnY','child_process','1547076QqkJVL','7LyUvqm','VfWav','writeFileSync','map','port','trim','zUkSm','winstonLogger','504iLuXVl','../../helpers/logger','pyeEw','isUndefined','cwd','sFmAs','desiredCapabilities','test_settings','622DazJUM','host','now','push','existsSync','--config','xtDAY','PaLIh','--env','RmmsD','oLCIG','useW3C','env','start_process','../utils/constants','Getting\x20your\x20nightwatch\x20configs\x20from\x20','mergeDeep','close','vykyL','modifyBrowserStackCaps','913500vkuZfx','CGBqH','hub.browserstack.com','config'];a37_0x5534=function(){return _0x254c7d;};return a37_0x5534();}function a37_0x37a3(_0x859ce1,_0x47db30){const _0x553498=a37_0x5534();return a37_0x37a3=function(_0x37a3c0,_0x410651){_0x37a3c0=_0x37a3c0-0x15d;let _0x3e5b67=_0x553498[_0x37a3c0];return _0x3e5b67;},a37_0x37a3(_0x859ce1,_0x47db30);}(function(_0x795b6a,_0x2a5800){const _0x2d737f=a37_0x37a3,_0x5501cf=_0x795b6a();while(!![]){try{const _0x46b105=-parseInt(_0x2d737f(0x16c))/0x1*(parseInt(_0x2d737f(0x18c))/0x2)+parseInt(_0x2d737f(0x170))/0x3+parseInt(_0x2d737f(0x179))/0x4+parseInt(_0x2d737f(0x1a0))/0x5+-parseInt(_0x2d737f(0x17b))/0x6*(-parseInt(_0x2d737f(0x17c))/0x7)+-parseInt(_0x2d737f(0x174))/0x8*(-parseInt(_0x2d737f(0x184))/0x9)+parseInt(_0x2d737f(0x172))/0xa*(-parseInt(_0x2d737f(0x1a6))/0xb);if(_0x46b105===_0x2a5800)break;else _0x5501cf['push'](_0x5501cf['shift']());}catch(_0xf61da5){_0x5501cf['push'](_0x5501cf['shift']());}}}(a37_0x5534,0x672db));const fs=require('fs'),path=require('path'),{spawn}=require(a37_0x1c2a3f(0x17a)),logger=require(a37_0x1c2a3f(0x185))[a37_0x1c2a3f(0x183)],{default:BrowserStackSetup}=require(a37_0x1c2a3f(0x176)),helper=require(a37_0x1c2a3f(0x164)),constants=require(a37_0x1c2a3f(0x19a)),getUserNightwatchConfigs=(_0xf85c8,_0x30a12b)=>{const _0x234393=a37_0x1c2a3f,_0x4a9e2c={'sFmAs':'nightwatch.conf.js','pMBea':_0x234393(0x178),'EmoXp':function(_0x46535c,_0x216d0c){return _0x46535c(_0x216d0c);},'CXIpP':_0x234393(0x16f)};let _0x1e5104=null,_0x43cfc8={};const _0x564c04=_0x30a12b[_0x234393(0x166)](_0x5f5b07=>_0x5f5b07===_0x234393(0x191));if(!helper[_0x234393(0x187)](_0xf85c8[_0x234393(0x1a3)])&&fs[_0x234393(0x190)](path['join'](process['cwd'](),_0xf85c8[_0x234393(0x1a3)])))_0x1e5104=path['join'](process[_0x234393(0x188)](),_0xf85c8[_0x234393(0x1a3)]),_0x30a12b[_0x234393(0x160)](_0x564c04,0x2);else{if(fs['existsSync'](path[_0x234393(0x15f)](process[_0x234393(0x188)](),_0x4a9e2c[_0x234393(0x189)])))_0x1e5104=path[_0x234393(0x15f)](process['cwd'](),_0x4a9e2c[_0x234393(0x189)]);else fs[_0x234393(0x190)](path[_0x234393(0x15f)](process[_0x234393(0x188)](),_0x4a9e2c[_0x234393(0x16b)]))&&(_0x1e5104=path[_0x234393(0x15f)](process[_0x234393(0x188)](),_0x4a9e2c[_0x234393(0x16b)]));}return _0x1e5104?(logger['info'](_0x234393(0x19b)+_0x1e5104),_0x43cfc8=_0x4a9e2c[_0x234393(0x16e)](require,_0x1e5104)):logger[_0x234393(0x171)](_0x4a9e2c[_0x234393(0x15e)]),_0x43cfc8;},removeExistingEnvs=_0x1bf94d=>{const _0x308a9d=a37_0x1c2a3f,_0x33c486={};_0x33c486[_0x308a9d(0x17d)]=function(_0x56a972,_0x4e1735){return _0x56a972>_0x4e1735;};const _0x513531=_0x33c486;let _0xa88a08=_0x1bf94d[_0x308a9d(0x166)](_0x2b34ab=>_0x2b34ab===_0x308a9d(0x194));_0x513531[_0x308a9d(0x17d)](_0xa88a08,-0x1)&&_0x1bf94d[_0x308a9d(0x160)](_0xa88a08,0x2),_0xa88a08=_0x1bf94d['findIndex'](_0x4c4fa1=>_0x4c4fa1==='-e'),_0x513531['VfWav'](_0xa88a08,-0x1)&&_0x1bf94d[_0x308a9d(0x160)](_0xa88a08,0x2);};function run(_0x222b06,_0x4e25f5,_0x5c7e1f){const _0x3e0135=a37_0x1c2a3f,_0x4cf50e={'vykyL':'nightwatch','AMJaY':function(_0x15732e,_0xb23513){return _0x15732e+_0xb23513;},'CGBqH':_0x3e0135(0x18b),'oLCIG':function(_0x27e76a,_0x1ddf95,_0xe6044f){return _0x27e76a(_0x1ddf95,_0xe6044f);},'BJxUu':_0x3e0135(0x1a2),'PaLIh':_0x3e0135(0x16d),'pyeEw':function(_0xe09ee8,_0x3fe538){return _0xe09ee8===_0x3fe538;},'anfkv':_0x3e0135(0x1ab),'zUkSm':function(_0x39ba14,_0x33c883){return _0x39ba14(_0x33c883);},'BkbuR':function(_0x483968,_0x19d9d9,_0x520e03,_0x396324){return _0x483968(_0x19d9d9,_0x520e03,_0x396324);},'RmmsD':_0x3e0135(0x1a5),'xtDAY':_0x3e0135(0x191),'WAxAr':_0x3e0135(0x194),'jdDFu':_0x3e0135(0x167),'RGRKJ':_0x3e0135(0x19d)};if(!_0x5c7e1f['config'])return;const _0x4afb34=_0x4cf50e[_0x3e0135(0x196)](getUserNightwatchConfigs,_0x222b06,_0x4e25f5),_0x465eec={};_0x465eec[_0x3e0135(0x199)]=![];const _0x3527e8={};_0x3527e8[_0x3e0135(0x18d)]=_0x4cf50e[_0x3e0135(0x177)],_0x3527e8[_0x3e0135(0x180)]=0x1bb;const _0x54fc53={};_0x54fc53['webdriver']=_0x465eec,_0x54fc53[_0x3e0135(0x1a9)]=_0x3527e8;const _0x3e1aa1=_0x54fc53;logger['info'](_0x4cf50e[_0x3e0135(0x193)]);const _0x452129={..._0x4afb34},_0x38030d=_0x452129,_0x41ca7f=helper[_0x3e0135(0x197)](_0x5c7e1f[_0x3e0135(0x1a3)]),_0x2db3e0=[];_0x5c7e1f[_0x3e0135(0x1a3)]['platforms']['forEach']((_0x9edfcf,_0x29ad63)=>{const _0x7e6ee8=_0x3e0135;_0x41ca7f?_0x2db3e0['push'](helper[_0x7e6ee8(0x1a7)](_0x5c7e1f[_0x7e6ee8(0x1a3)],_0x4cf50e[_0x7e6ee8(0x19e)],_0x29ad63)):_0x2db3e0[_0x7e6ee8(0x18f)](helper[_0x7e6ee8(0x19f)](_0x5c7e1f[_0x7e6ee8(0x1a3)],_0x4cf50e[_0x7e6ee8(0x19e)],_0x29ad63));});const _0x1c3f7b={},_0x59c9c8=[];_0x222b06[_0x3e0135(0x198)]=_0x222b06[_0x3e0135(0x198)]||_0x222b06['e'];const _0x59961f=_0x222b06[_0x3e0135(0x198)]?_0x222b06['env'][_0x3e0135(0x181)]()['split'](',')[_0x3e0135(0x17f)](_0x1c8977=>_0x1c8977[_0x3e0135(0x181)]())['filter'](_0x197b36=>_0x197b36!==''):[''];_0x4cf50e[_0x3e0135(0x186)](_0x59961f['length'],0x0)&&_0x59961f[_0x3e0135(0x18f)]('');_0x59961f['forEach'](_0x2efef5=>{const _0x2ac817=_0x3e0135,_0x56f0b5={'XXnEs':function(_0x42cf93,_0x56ade3){return _0x4cf50e['AMJaY'](_0x42cf93,_0x56ade3);},'bxjNw':_0x4cf50e[_0x2ac817(0x1a1)]};_0x2db3e0[_0x2ac817(0x165)](_0x19f297=>{const _0x39f741=_0x2ac817;let _0x309ff1=_0x56f0b5[_0x39f741(0x169)](helper[_0x39f741(0x1a8)](_0x19f297,'_'),'_'+Date[_0x39f741(0x18e)]());_0x2efef5&&(_0x309ff1+='_'+_0x2efef5);if(_0x2efef5&&(!_0x4afb34[_0x56f0b5[_0x39f741(0x1aa)]]||!_0x4afb34[_0x56f0b5[_0x39f741(0x1aa)]][_0x2efef5]))return;const _0x270aa4={..._0x3e1aa1};_0x270aa4[_0x39f741(0x18a)]=_0x19f297;const _0x11f249=_0x270aa4;_0x1c3f7b[_0x309ff1]=_0x2efef5?helper[_0x39f741(0x19c)](_0x4afb34[_0x56f0b5[_0x39f741(0x1aa)]][_0x2efef5],_0x11f249):_0x11f249,_0x59c9c8[_0x39f741(0x18f)](_0x309ff1);});});!_0x38030d[_0x3e0135(0x18b)]&&(_0x38030d[_0x3e0135(0x18b)]={});_0x38030d[_0x3e0135(0x18b)]={..._0x38030d['test_settings'],..._0x1c3f7b};const _0x33be91=path[_0x3e0135(0x15f)](__dirname,_0x4cf50e[_0x3e0135(0x175)]);fs[_0x3e0135(0x17e)](_0x33be91,JSON[_0x3e0135(0x1a4)](_0x38030d)),_0x4cf50e[_0x3e0135(0x182)](removeExistingEnvs,_0x4e25f5);const _0x1deb5f=_0x4cf50e['BkbuR'](spawn,/^win/[_0x3e0135(0x162)](process[_0x3e0135(0x161)])?_0x4cf50e[_0x3e0135(0x195)]:_0x4cf50e[_0x3e0135(0x19e)],[_0x4cf50e[_0x3e0135(0x192)],_0x33be91,..._0x4e25f5['slice'](0x1),_0x4cf50e[_0x3e0135(0x173)],_0x59c9c8[_0x3e0135(0x15f)](',')],{'stdio':_0x4cf50e['jdDFu']});_0x1deb5f['on'](_0x4cf50e['RGRKJ'],async _0x398bb9=>{const _0x32d2fe=_0x3e0135;logger[_0x32d2fe(0x16a)]('child\x20process\x20exited\x20with\x20code\x20'+_0x398bb9),logger[_0x32d2fe(0x171)](_0x32d2fe(0x168)+_0x33be91),fs[_0x32d2fe(0x163)](_0x33be91);});}module[a37_0x1c2a3f(0x15d)]=run;
@@ -1 +1 @@
1
- const a38_0x1f2359=a38_0xfdcd;function a38_0x5cd7(){const _0x38c265=['bstackSdkArgs','(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','4753917fPnbEn','AYXix','browser','AKkJv','cfzBV','project','name','dSPOy','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','debug','command','replace','../../helpers/performance/constants','accessibilityOptions','PERFORM_SCAN','warn','measureWrapper','gpciU','556409BjKNyK','processAccessibilityCaps','url','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','winstonLogger','\x20page:\x20','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','TmQeE','DiXTl','__workerDetails','QbCMq','scannerProcessingTimeout','../../helpers/helper','fvTDN','currentTest','JnrDi','kDWcW','308368wdwcwo','iNqSx','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','env','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','connectOptions','../../helpers/logger','tlKBU','486576ITBrTE','wnpnZ','sRqJG','2820258SoCxUR','workerInfo','oTxfP','2757490deWxoE','vjGct','constructor','browser_version','tqdNv','playwright-chromium','dvLNJ','accessibilityOptions.includeIssueType.bestPractice','../../helpers/accessibility-automation/scripts','bestPractice','KDuhZ','dvZad','cxHaT','needsReview','JzSNh','browserName','platformValidation','browserStackEvaluate','scannerVersion','use','parse','126pUTVOj','chrome','accessibilityOptions.wcagVersion','BSxUh','KrVjL','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','executeAsyncScript','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','latest','accessibilityOptions.scannerProcessingTimeout','ggbxR','BS_A11Y_JWT','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','No\x20summaryResults\x20found.','testInfo','CclNy','kAtUk','accessibilityPlatform','wcagVersion','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','3333EGueij','KfVcW','SLCRA','VPkCy','setAccessibilityCapabilities','performScan','deviceName','stringify','browserStackExecuteDriver','OAYNs','equgz','includeIssueType','wsEndpoint','Ixalz','368WGjCgR','accessibilityOptions.authToken','RIpfP'];a38_0x5cd7=function(){return _0x38c265;};return a38_0x5cd7();}(function(_0x284a0c,_0x54b899){const _0x2e302e=a38_0xfdcd,_0x4393a7=_0x284a0c();while(!![]){try{const _0x515c6f=parseInt(_0x2e302e(0x16e))/0x1+parseInt(_0x2e302e(0x157))/0x2*(parseInt(_0x2e302e(0x149))/0x3)+-parseInt(_0x2e302e(0x188))/0x4+-parseInt(_0x2e302e(0x18e))/0x5+parseInt(_0x2e302e(0x18b))/0x6+parseInt(_0x2e302e(0x1a3))/0x7*(-parseInt(_0x2e302e(0x180))/0x8)+parseInt(_0x2e302e(0x15c))/0x9;if(_0x515c6f===_0x54b899)break;else _0x4393a7['push'](_0x4393a7['shift']());}catch(_0x2b62e7){_0x4393a7['push'](_0x4393a7['shift']());}}}(a38_0x5cd7,0x5fbb7));const util=require('util'),logger=require(a38_0x1f2359(0x186))[a38_0x1f2359(0x172)],{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined,isBrowserstackInfra}=require(a38_0x1f2359(0x17b)),scripts=require(a38_0x1f2359(0x196)),PerformanceTester=require('../../helpers/performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a38_0x1f2359(0x168));function a38_0xfdcd(_0x1d3e02,_0x172108){const _0x5cd74d=a38_0x5cd7();return a38_0xfdcd=function(_0xfdcd3,_0x5f43d5){_0xfdcd3=_0xfdcd3-0x141;let _0x7b4c9c=_0x5cd74d[_0xfdcd3];return _0x7b4c9c;},a38_0xfdcd(_0x1d3e02,_0x172108);}exports[a38_0x1f2359(0x19f)]=async(_0x6052e,_0x5e95e9,_0x14fbc0={})=>{const _0x12cd9a=a38_0x1f2359,_0x580f36={};_0x580f36['gpciU']=_0x12cd9a(0x15a);const _0x5292ef=_0x580f36;return await _0x6052e['evaluate'](_0x12cd9a(0x15b)+_0x5e95e9['replace'](/arguments/g,_0x5292ef[_0x12cd9a(0x16d)])+_0x12cd9a(0x184)+JSON[_0x12cd9a(0x150)](_0x14fbc0)+')');},exports[a38_0x1f2359(0x151)]=async(_0x46aec0,_0xf7e209,_0x295b11={})=>{const _0x4ed5fe=a38_0x1f2359,_0x357b2c={};_0x357b2c[_0x4ed5fe(0x14b)]=function(_0x4b3060,_0x5af9dd){return _0x4b3060===_0x5af9dd;},_0x357b2c[_0x4ed5fe(0x145)]='WebDriver',_0x357b2c[_0x4ed5fe(0x15f)]='Playwright',_0x357b2c[_0x4ed5fe(0x163)]=_0x4ed5fe(0x15a);const _0x4a615b=_0x357b2c;if(_0x4a615b[_0x4ed5fe(0x14b)](_0x46aec0[_0x4ed5fe(0x190)]['name'],_0x4a615b['kAtUk']))return await _0x46aec0[_0x4ed5fe(0x1a9)](_0xf7e209,_0x295b11);else{if(_0x4a615b[_0x4ed5fe(0x14b)](_0x46aec0[_0x4ed5fe(0x190)][_0x4ed5fe(0x162)],_0x4a615b[_0x4ed5fe(0x15f)]))return await _0x46aec0['executeScript']('(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'+_0xf7e209[_0x4ed5fe(0x167)](/arguments/g,_0x4a615b[_0x4ed5fe(0x163)])+_0x4ed5fe(0x171)+JSON['stringify'](_0x295b11)+')');}},exports[a38_0x1f2359(0x14d)]=async _0x247f75=>{const _0x42e9bc=a38_0x1f2359,_0x44be53={};_0x44be53[_0x42e9bc(0x198)]=_0x42e9bc(0x1a5),_0x44be53['JnrDi']=_0x42e9bc(0x1ac),_0x44be53[_0x42e9bc(0x19c)]=_0x42e9bc(0x195),_0x44be53[_0x42e9bc(0x14a)]='accessibilityOptions.includeIssueType.needsReview',_0x44be53[_0x42e9bc(0x192)]=_0x42e9bc(0x158),_0x44be53[_0x42e9bc(0x181)]='accessibilityOptions.scannerVersion';const _0x296707=_0x44be53;_0x247f75[_0x42e9bc(0x169)]&&(_0x247f75[_0x42e9bc(0x169)][_0x42e9bc(0x147)]&&(_0x247f75[_0x296707['KDuhZ']]=_0x247f75[_0x42e9bc(0x169)][_0x42e9bc(0x147)]),_0x247f75[_0x42e9bc(0x169)]['scannerProcessingTimeout']&&(_0x247f75[_0x296707[_0x42e9bc(0x17e)]]=_0x247f75[_0x42e9bc(0x169)][_0x42e9bc(0x17a)]),_0x247f75[_0x42e9bc(0x169)][_0x42e9bc(0x154)]&&(_0x247f75[_0x296707['JzSNh']]=_0x247f75['accessibilityOptions'][_0x42e9bc(0x154)][_0x42e9bc(0x197)],_0x247f75[_0x296707[_0x42e9bc(0x14a)]]=_0x247f75[_0x42e9bc(0x169)][_0x42e9bc(0x154)][_0x42e9bc(0x19b)]));const _0x46733f=JSON[_0x42e9bc(0x1a2)](process[_0x42e9bc(0x183)][_0x42e9bc(0x182)])[_0x42e9bc(0x1a0)];_0x247f75[_0x296707[_0x42e9bc(0x192)]]=process[_0x42e9bc(0x183)][_0x42e9bc(0x1ae)],_0x247f75[_0x296707[_0x42e9bc(0x181)]]=_0x46733f,delete _0x247f75['accessibilityOptions'];},exports['getAccessibilityResults']=async _0xf70e8c=>{const _0x608499=a38_0x1f2359,_0x490610={};_0x490610[_0x608499(0x17f)]='No\x20accessibility\x20results\x20were\x20found.',_0x490610[_0x608499(0x153)]=_0x608499(0x175);const _0x1e391c=_0x490610;if(global['accessibilityPlatform'])try{const details={'url':await _0xf70e8c.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(_0xf70e8c,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0xf70e8c,scripts.getResults);},{...details})();return res;}catch{return logger['error'](_0x1e391c[_0x608499(0x17f)]),[];}else return logger[_0x608499(0x16b)](_0x1e391c[_0x608499(0x153)]),[];},exports[a38_0x1f2359(0x14e)]=async(_0x26b2bd,_0x2dff33='')=>{const _0x2da3f0=a38_0x1f2359;logger[_0x2da3f0(0x165)]('Performing\x20scan\x20with\x20method:\x20'+_0x2dff33+_0x2da3f0(0x173)+_0x26b2bd);const _0x32d5e8={'url':await _0x26b2bd[_0x2da3f0(0x170)](),'testhub_btcer_uuid':global[_0x2da3f0(0x178)]?.[_0x2da3f0(0x17d)]?.['id']};if(global[_0x2da3f0(0x146)])return await PerformanceTester[_0x2da3f0(0x16c)](PerformanceA11yEvents[_0x2da3f0(0x16a)],async()=>{const _0x21bb1c=_0x2da3f0,_0x48e415={};_0x48e415[_0x21bb1c(0x166)]=_0x2dff33;const _0x57c629=await exports[_0x21bb1c(0x19f)](_0x26b2bd,scripts[_0x21bb1c(0x14e)],_0x48e415);return _0x57c629;},{'command':_0x2dff33,..._0x32d5e8})();},exports['getAccessibilityResultsSummary']=async _0x2019d9=>{const _0x5c62f3=a38_0x1f2359,_0x2460fb={};_0x2460fb[_0x5c62f3(0x1ad)]=_0x5c62f3(0x142),_0x2460fb[_0x5c62f3(0x144)]=_0x5c62f3(0x1a8);const _0x1f3c6c=_0x2460fb;if(global[_0x5c62f3(0x146)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x2019d9,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x2019d9,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x5c62f3(0x165)](_0x1f3c6c[_0x5c62f3(0x1ad)]),{};}else return logger['warn'](_0x1f3c6c[_0x5c62f3(0x144)]),{};},exports[a38_0x1f2359(0x19e)]=async _0x1c885b=>{const _0x1b9534=a38_0x1f2359,_0x1a18a0={'fTXxv':function(_0x575cb8,_0x29d35d){return _0x575cb8!==_0x29d35d;},'POvma':_0x1b9534(0x148),'dvLNJ':_0x1b9534(0x1a4),'TmQeE':'playwright-chromium','sRqJG':'chromium','ChHLN':_0x1b9534(0x141),'BSxUh':function(_0x4b15b6,_0x58bbd2){return _0x4b15b6(_0x58bbd2);},'DiXTl':function(_0x10c067){return _0x10c067();},'tlKBU':function(_0x1bfadb,_0x216339){return _0x1bfadb<_0x216339;},'dvZad':_0x1b9534(0x1aa),'Dskte':function(_0x559820,_0x184777){return _0x559820===_0x184777;},'noVLD':_0x1b9534(0x1ab),'cfMpZ':function(_0x5170eb,_0x956536){return _0x5170eb>_0x956536;},'cxHaT':_0x1b9534(0x164)};try{if(!_0x1a18a0['fTXxv'](_0x1c885b[_0x1b9534(0x14f)],''))return logger[_0x1b9534(0x16b)](_0x1a18a0['POvma']),![];const _0xae1b4f=_0x1c885b['browser'];if(![_0x1a18a0[_0x1b9534(0x194)],_0x1a18a0[_0x1b9534(0x176)],_0x1a18a0[_0x1b9534(0x18a)]]['includes'](_0xae1b4f))return logger[_0x1b9534(0x16b)](_0x1a18a0['ChHLN']),![];const _0x49bbc8=_0x1a18a0[_0x1b9534(0x1a6)](parseInt,_0x1c885b[_0x1b9534(0x191)]);!_0x1a18a0[_0x1b9534(0x177)](isBrowserstackInfra)&&(!_0x1a18a0[_0x1b9534(0x187)](_0x49bbc8,0x64)&&logger[_0x1b9534(0x16b)](_0x1a18a0[_0x1b9534(0x199)]));if(!(_0x1a18a0['Dskte'](_0x49bbc8,_0x1a18a0['noVLD'])||_0x1a18a0['cfMpZ'](_0x49bbc8,0x5e)))return logger[_0x1b9534(0x16b)](_0x1a18a0[_0x1b9534(0x19a)]),![];}catch(_0x271dae){logger[_0x1b9534(0x165)](_0x1b9534(0x174)+util['format'](_0x271dae));}return!![];},exports[a38_0x1f2359(0x16f)]=(_0x13a6af,_0x37b337,_0x353ad9)=>{const _0x47b184=a38_0x1f2359,_0x1b7a1f={'fvTDN':function(_0x1e3093){return _0x1e3093();},'VPkCy':'browserstack.accessibility','AYXix':function(_0xe58235,_0x32eca5){return _0xe58235===_0x32eca5;},'QbCMq':_0x47b184(0x1a4),'OAYNs':function(_0x20231e,_0x29e3ba){return _0x20231e===_0x29e3ba;},'wnpnZ':_0x47b184(0x193),'vjGct':_0x47b184(0x141),'ZtCnt':function(_0x26049d,_0xbf4525){return _0x26049d>_0xbf4525;},'oTxfP':_0x47b184(0x1aa),'Ixalz':'latest','RIpfP':function(_0x2820b8,_0x3c8621){return _0x2820b8>_0x3c8621;},'KrVjL':_0x47b184(0x164),'cfzBV':function(_0x51c109,_0x24d949){return _0x51c109(_0x24d949);},'iuUEZ':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','ocsFK':function(_0x9cbdb8,_0x4e010e){return _0x9cbdb8+_0x4e010e;}};try{if(_0x1b7a1f[_0x47b184(0x17c)](isAccessibilityAutomationSession)){global[_0x47b184(0x146)]=!![];!_0x13a6af[_0x1b7a1f[_0x47b184(0x14c)]]&&(global[_0x47b184(0x146)]=![]);!(_0x1b7a1f[_0x47b184(0x15d)](_0x13a6af[_0x47b184(0x19d)],_0x1b7a1f[_0x47b184(0x179)])||_0x1b7a1f[_0x47b184(0x152)](_0x13a6af['browserName'],_0x1b7a1f[_0x47b184(0x189)])||_0x1b7a1f['AYXix'](_0x13a6af[_0x47b184(0x15e)],_0x1b7a1f[_0x47b184(0x179)])||_0x1b7a1f[_0x47b184(0x15d)](_0x13a6af[_0x47b184(0x15e)],_0x1b7a1f[_0x47b184(0x189)]))&&(logger[_0x47b184(0x16b)](_0x1b7a1f[_0x47b184(0x18f)]),global[_0x47b184(0x146)]=![]);!_0x1b7a1f['fvTDN'](isBrowserstackInfra)&&(!_0x1b7a1f['ZtCnt'](_0x13a6af['browser_version'],0x64)&&logger[_0x47b184(0x16b)](_0x1b7a1f[_0x47b184(0x18d)]));!(_0x1b7a1f['OAYNs'](_0x13a6af['browser_version'],_0x1b7a1f[_0x47b184(0x156)])||_0x1b7a1f[_0x47b184(0x159)](_0x13a6af[_0x47b184(0x191)],0x5e))&&(logger[_0x47b184(0x16b)](_0x1b7a1f[_0x47b184(0x1a7)]),global['accessibilityPlatform']=![]);!_0x1b7a1f['cfzBV'](isUndefined,_0x13a6af[_0x47b184(0x14f)])&&(logger[_0x47b184(0x16b)](_0x1b7a1f['iuUEZ']),global[_0x47b184(0x146)]=![]);if(!global['accessibilityPlatform']){_0x13a6af[_0x1b7a1f[_0x47b184(0x14c)]]=![];const _0x3514c3=_0x1b7a1f['ocsFK'](_0x37b337,_0x1b7a1f[_0x47b184(0x160)](encodeURIComponent,JSON[_0x47b184(0x150)](_0x13a6af)));_0x353ad9&&(_0x353ad9[_0x47b184(0x17d)][_0x47b184(0x143)][_0x47b184(0x161)][_0x47b184(0x1a1)][_0x47b184(0x185)][_0x47b184(0x155)]=_0x3514c3,_0x353ad9[_0x47b184(0x18c)][_0x47b184(0x161)][_0x47b184(0x1a1)][_0x47b184(0x185)][_0x47b184(0x155)]=_0x3514c3);}}else global[_0x47b184(0x146)]=![];}catch(_0x5caf53){logger[_0x47b184(0x165)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util['format'](_0x5caf53));}};
1
+ const a38_0x288266=a38_0x1bc8;function a38_0x1bc8(_0x4901df,_0x37b587){const _0x333148=a38_0x3331();return a38_0x1bc8=function(_0x1bc841,_0x398769){_0x1bc841=_0x1bc841-0x10a;let _0x274522=_0x333148[_0x1bc841];return _0x274522;},a38_0x1bc8(_0x4901df,_0x37b587);}function a38_0x3331(){const _0x5c9c14=['Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','accessibilityPlatform','cHSkX','latest','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','yeDfB','xLDsL','scannerProcessingTimeout','iMuve','browserStackEvaluate','bZIcZ','__workerDetails','uBoNM','CqYCq','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20','oTQqe','1601188yBOdar','CHiXz','warn','../../helpers/performance/constants','6267YTAcPB','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','566016iBpOKC','ljqtL','connectOptions','util','accessibilityOptions','cIWeH','browserName','ViSkL','bestPractice','No\x20accessibility\x20results\x20were\x20found.','measureWrapper','614XQgppY','includeIssueType','use','parse','WebDriver','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','bstackSdkArgs','pFBKl','AZNEC','Performing\x20scan\x20with\x20method:\x20','xhCra','../../helpers/performance/performance-tester','wcagVersion','yvyAP','3597153IYPvGu','chrome','\x20page:\x20','env','USGyY','jyvrF','Wprxd','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','tEZxa','project','name','processAccessibilityCaps','accessibilityOptions.authToken','stringify','cErzv','performScan','needsReview','debug','jMZOz','deviceName','testInfo','shEnI','chromium','wsEndpoint','YEJld','browserStackExecuteDriver','ADvnI','accessibilityOptions.scannerVersion','5512122aYWvEo','scannerVersion','igLRD','15fxWsdd','accessibilityOptions.includeIssueType.needsReview','719777LziQSu','VJAce','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','acuTM','Playwright','accessibilityOptions.includeIssueType.bestPractice','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','../../helpers/accessibility-automation/scripts','RCTLk','command','jIoxI','setAccessibilityCapabilities','PERFORM_SCAN','KktLO','BS_A11Y_JWT','IHpYk','replace','../../helpers/logger','executeAsyncScript','workerInfo','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','tIKTK','8DNAuPe','format','tXdUX','grXnF','accessibilityOptions.scannerProcessingTimeout','currentTest','15153710rCDUzC','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','url','bvGoo','browser','accessibilityOptions.wcagVersion','fzLpI','constructor','pvxnc','rrGcq','browser_version','getAccessibilityResultsSummary'];a38_0x3331=function(){return _0x5c9c14;};return a38_0x3331();}(function(_0x258467,_0x5492c4){const _0x588670=a38_0x1bc8,_0x336f1e=_0x258467();while(!![]){try{const _0x14bcec=parseInt(_0x588670(0x142))/0x1+-parseInt(_0x588670(0x113))/0x2*(parseInt(_0x588670(0x17e))/0x3)+parseInt(_0x588670(0x17a))/0x4+parseInt(_0x588670(0x140))/0x5*(parseInt(_0x588670(0x180))/0x6)+parseInt(_0x588670(0x121))/0x7+-parseInt(_0x588670(0x158))/0x8*(-parseInt(_0x588670(0x13d))/0x9)+-parseInt(_0x588670(0x15e))/0xa;if(_0x14bcec===_0x5492c4)break;else _0x336f1e['push'](_0x336f1e['shift']());}catch(_0x2278ae){_0x336f1e['push'](_0x336f1e['shift']());}}}(a38_0x3331,0x5aff5));const util=require(a38_0x288266(0x10b)),logger=require(a38_0x288266(0x153))['winstonLogger'],{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined,isBrowserstackInfra}=require('../../helpers/helper'),scripts=require(a38_0x288266(0x149)),PerformanceTester=require(a38_0x288266(0x11e)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a38_0x288266(0x17d));exports[a38_0x288266(0x173)]=async(_0x477b88,_0x3ebc2d,_0x59ac12={})=>{const _0x28291d=a38_0x288266,_0x355858={};_0x355858[_0x28291d(0x11a)]='bstackSdkArgs';const _0xef3b10=_0x355858;return await _0x477b88['evaluate'](_0x28291d(0x178)+_0x3ebc2d[_0x28291d(0x152)](/arguments/g,_0xef3b10[_0x28291d(0x11a)])+_0x28291d(0x128)+JSON[_0x28291d(0x12e)](_0x59ac12)+')');},exports[a38_0x288266(0x13a)]=async(_0x486c56,_0x34626d,_0x5f3486={})=>{const _0x846240=a38_0x288266,_0x1c8328={};_0x1c8328[_0x846240(0x139)]=function(_0x5af1c2,_0x41eb0a){return _0x5af1c2===_0x41eb0a;},_0x1c8328[_0x846240(0x11d)]=_0x846240(0x117),_0x1c8328['sKgtA']=function(_0xd1a290,_0x1cfefd){return _0xd1a290===_0x1cfefd;},_0x1c8328['jHbCK']=_0x846240(0x146),_0x1c8328[_0x846240(0x17b)]=_0x846240(0x119);const _0x54ea36=_0x1c8328;if(_0x54ea36[_0x846240(0x139)](_0x486c56[_0x846240(0x165)]['name'],_0x54ea36[_0x846240(0x11d)]))return await _0x486c56[_0x846240(0x154)](_0x34626d,_0x5f3486);else{if(_0x54ea36['sKgtA'](_0x486c56[_0x846240(0x165)][_0x846240(0x12b)],_0x54ea36['jHbCK']))return await _0x486c56['executeScript'](_0x846240(0x156)+_0x34626d[_0x846240(0x152)](/arguments/g,_0x54ea36[_0x846240(0x17b)])+_0x846240(0x17f)+JSON[_0x846240(0x12e)](_0x5f3486)+')');}},exports[a38_0x288266(0x14d)]=async _0x48693d=>{const _0x5885df=a38_0x288266,_0x4e2fc6={};_0x4e2fc6[_0x5885df(0x10d)]=_0x5885df(0x163),_0x4e2fc6[_0x5885df(0x133)]=_0x5885df(0x15c),_0x4e2fc6[_0x5885df(0x170)]=_0x5885df(0x147),_0x4e2fc6[_0x5885df(0x167)]=_0x5885df(0x141),_0x4e2fc6[_0x5885df(0x172)]=_0x5885df(0x12d),_0x4e2fc6['ViSkL']=_0x5885df(0x13c);const _0x26778c=_0x4e2fc6;_0x48693d[_0x5885df(0x10c)]&&(_0x48693d['accessibilityOptions'][_0x5885df(0x11f)]&&(_0x48693d[_0x26778c['cIWeH']]=_0x48693d[_0x5885df(0x10c)]['wcagVersion']),_0x48693d[_0x5885df(0x10c)][_0x5885df(0x171)]&&(_0x48693d[_0x26778c[_0x5885df(0x133)]]=_0x48693d['accessibilityOptions'][_0x5885df(0x171)]),_0x48693d[_0x5885df(0x10c)][_0x5885df(0x114)]&&(_0x48693d[_0x26778c['xLDsL']]=_0x48693d['accessibilityOptions']['includeIssueType'][_0x5885df(0x110)],_0x48693d[_0x26778c[_0x5885df(0x167)]]=_0x48693d[_0x5885df(0x10c)]['includeIssueType'][_0x5885df(0x131)]));const _0x1d4186=JSON[_0x5885df(0x116)](process[_0x5885df(0x124)][_0x5885df(0x15f)])[_0x5885df(0x13e)];_0x48693d[_0x26778c['iMuve']]=process['env'][_0x5885df(0x150)],_0x48693d[_0x26778c[_0x5885df(0x10f)]]=_0x1d4186,delete _0x48693d[_0x5885df(0x10c)];},exports['getAccessibilityResults']=async _0x4e02a2=>{const _0x4ec343=a38_0x288266,_0x47e5cc={};_0x47e5cc['cErzv']=_0x4ec343(0x111),_0x47e5cc[_0x4ec343(0x174)]=_0x4ec343(0x144);const _0x2cd599=_0x47e5cc;if(global[_0x4ec343(0x16b)])try{const details={'url':await _0x4e02a2.url(),'testhub_btcer_uuid':global.__workerDetails?.currentTest?.id};logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x4e02a2,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x4e02a2,scripts.getResults);},{...details})();return res;}catch{return logger['error'](_0x2cd599[_0x4ec343(0x12f)]),[];}else return logger['warn'](_0x2cd599[_0x4ec343(0x174)]),[];},exports[a38_0x288266(0x130)]=async(_0x202cec,_0x4c4491='')=>{const _0x12471f=a38_0x288266;logger[_0x12471f(0x132)](_0x12471f(0x11c)+_0x4c4491+_0x12471f(0x123)+_0x202cec);const _0x482fdf={'url':await _0x202cec[_0x12471f(0x160)](),'testhub_btcer_uuid':global[_0x12471f(0x175)]?.[_0x12471f(0x15d)]?.['id']};if(global[_0x12471f(0x16b)])return await PerformanceTester[_0x12471f(0x112)](PerformanceA11yEvents[_0x12471f(0x14e)],async()=>{const _0x92eb84=_0x12471f,_0x1fc4c9={};_0x1fc4c9[_0x92eb84(0x14b)]=_0x4c4491;const _0x4fbb3d=await exports[_0x92eb84(0x173)](_0x202cec,scripts['performScan'],_0x1fc4c9);return _0x4fbb3d;},{'command':_0x4c4491,..._0x482fdf})();},exports[a38_0x288266(0x169)]=async _0x3df015=>{const _0x2eab3e=a38_0x288266,_0x310252={};_0x310252['jIoxI']='No\x20summaryResults\x20found.',_0x310252[_0x2eab3e(0x11b)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x544eac=_0x310252;if(global['accessibilityPlatform'])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x3df015,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x3df015,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x2eab3e(0x132)](_0x544eac[_0x2eab3e(0x14c)]),{};}else return logger['warn'](_0x544eac[_0x2eab3e(0x11b)]),{};},exports['platformValidation']=async _0x16d602=>{const _0x51cb84=a38_0x288266,_0x262368={'tXdUX':function(_0x3a074c,_0x4b3a59){return _0x3a074c!==_0x4b3a59;},'bvGoo':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','pvxnc':_0x51cb84(0x122),'rfzWH':'playwright-chromium','CqYCq':_0x51cb84(0x137),'ljqtL':_0x51cb84(0x148),'jyvrF':function(_0x1f3da7,_0xf78765){return _0x1f3da7(_0xf78765);},'VJAce':function(_0x8cc330){return _0x8cc330();},'ADvnI':function(_0x20b91d,_0xab4917){return _0x20b91d<_0xab4917;},'Wprxd':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','RCTLk':function(_0x2774c8,_0x546b21){return _0x2774c8===_0x546b21;},'oTQqe':'latest','cHSkX':function(_0xe95aee,_0x1e2afc){return _0xe95aee>_0x1e2afc;},'grXnF':_0x51cb84(0x16e)};try{if(!_0x262368[_0x51cb84(0x15a)](_0x16d602[_0x51cb84(0x134)],''))return logger[_0x51cb84(0x17c)](_0x262368[_0x51cb84(0x161)]),![];const _0x3d1d69=_0x16d602[_0x51cb84(0x162)];if(![_0x262368[_0x51cb84(0x166)],_0x262368['rfzWH'],_0x262368[_0x51cb84(0x177)]]['includes'](_0x3d1d69))return logger[_0x51cb84(0x17c)](_0x262368[_0x51cb84(0x181)]),![];const _0x56ca8e=_0x262368[_0x51cb84(0x126)](parseInt,_0x16d602[_0x51cb84(0x168)]);!_0x262368[_0x51cb84(0x143)](isBrowserstackInfra)&&(!_0x262368[_0x51cb84(0x13b)](_0x56ca8e,0x64)&&logger[_0x51cb84(0x17c)](_0x262368[_0x51cb84(0x127)]));if(!(_0x262368[_0x51cb84(0x14a)](_0x56ca8e,_0x262368[_0x51cb84(0x179)])||_0x262368[_0x51cb84(0x16c)](_0x56ca8e,0x5e)))return logger[_0x51cb84(0x17c)](_0x262368[_0x51cb84(0x15b)]),![];}catch(_0x3b89e4){logger[_0x51cb84(0x132)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util['format'](_0x3b89e4));}return!![];},exports[a38_0x288266(0x12c)]=(_0x4b243a,_0x54309d,_0x2e2d0a)=>{const _0x19b1dc=a38_0x288266,_0x4f7b36={'IHpYk':function(_0x1020a1){return _0x1020a1();},'yvyAP':'browserstack.accessibility','igLRD':function(_0x11b9cc,_0x1daf41){return _0x11b9cc===_0x1daf41;},'yeDfB':_0x19b1dc(0x122),'acuTM':'playwright-chromium','cmKhV':function(_0x469221,_0x7528ee){return _0x469221===_0x7528ee;},'USGyY':_0x19b1dc(0x148),'shEnI':function(_0x5c11fa,_0x1a3621){return _0x5c11fa>_0x1a3621;},'uBoNM':_0x19b1dc(0x16a),'GigfV':_0x19b1dc(0x16d),'tIKTK':_0x19b1dc(0x16e),'KktLO':function(_0xb5f623,_0xb1a4ff){return _0xb5f623(_0xb1a4ff);},'tEZxa':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','fzLpI':function(_0x7ae03f,_0x1e089c){return _0x7ae03f+_0x1e089c;},'flmCj':function(_0xd45fde,_0x416f90){return _0xd45fde(_0x416f90);}};try{if(_0x4f7b36['IHpYk'](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0x4b243a[_0x4f7b36['yvyAP']]&&(global['accessibilityPlatform']=![]);!(_0x4f7b36[_0x19b1dc(0x13f)](_0x4b243a[_0x19b1dc(0x10e)],_0x4f7b36[_0x19b1dc(0x16f)])||_0x4f7b36[_0x19b1dc(0x13f)](_0x4b243a['browserName'],_0x4f7b36[_0x19b1dc(0x145)])||_0x4f7b36['igLRD'](_0x4b243a['browser'],_0x4f7b36[_0x19b1dc(0x16f)])||_0x4f7b36['cmKhV'](_0x4b243a[_0x19b1dc(0x162)],_0x4f7b36[_0x19b1dc(0x145)]))&&(logger[_0x19b1dc(0x17c)](_0x4f7b36[_0x19b1dc(0x125)]),global['accessibilityPlatform']=![]);!_0x4f7b36[_0x19b1dc(0x151)](isBrowserstackInfra)&&(!_0x4f7b36['shEnI'](_0x4b243a[_0x19b1dc(0x168)],0x64)&&logger[_0x19b1dc(0x17c)](_0x4f7b36[_0x19b1dc(0x176)]));!(_0x4f7b36['cmKhV'](_0x4b243a[_0x19b1dc(0x168)],_0x4f7b36['GigfV'])||_0x4f7b36[_0x19b1dc(0x136)](_0x4b243a[_0x19b1dc(0x168)],0x5e))&&(logger[_0x19b1dc(0x17c)](_0x4f7b36[_0x19b1dc(0x157)]),global[_0x19b1dc(0x16b)]=![]);!_0x4f7b36[_0x19b1dc(0x14f)](isUndefined,_0x4b243a[_0x19b1dc(0x134)])&&(logger[_0x19b1dc(0x17c)](_0x4f7b36[_0x19b1dc(0x129)]),global[_0x19b1dc(0x16b)]=![]);if(!global['accessibilityPlatform']){_0x4b243a[_0x4f7b36[_0x19b1dc(0x120)]]=![];const _0x549189=_0x4f7b36[_0x19b1dc(0x164)](_0x54309d,_0x4f7b36['flmCj'](encodeURIComponent,JSON[_0x19b1dc(0x12e)](_0x4b243a)));_0x2e2d0a&&(_0x2e2d0a[_0x19b1dc(0x15d)][_0x19b1dc(0x135)][_0x19b1dc(0x12a)][_0x19b1dc(0x115)][_0x19b1dc(0x10a)][_0x19b1dc(0x138)]=_0x549189,_0x2e2d0a[_0x19b1dc(0x155)][_0x19b1dc(0x12a)]['use'][_0x19b1dc(0x10a)][_0x19b1dc(0x138)]=_0x549189);}}else global[_0x19b1dc(0x16b)]=![];}catch(_0x2205a3){logger[_0x19b1dc(0x132)](_0x19b1dc(0x118)+util[_0x19b1dc(0x159)](_0x2205a3));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a39_0x3d9499=a39_0x23af;(function(_0x58b607,_0xc2c107){const _0x465af0=a39_0x23af,_0x25db08=_0x58b607();while(!![]){try{const _0x7ce931=-parseInt(_0x465af0(0x266))/0x1+-parseInt(_0x465af0(0x22a))/0x2*(-parseInt(_0x465af0(0x25c))/0x3)+parseInt(_0x465af0(0x23d))/0x4*(-parseInt(_0x465af0(0x21e))/0x5)+parseInt(_0x465af0(0x274))/0x6+-parseInt(_0x465af0(0x280))/0x7*(-parseInt(_0x465af0(0x208))/0x8)+-parseInt(_0x465af0(0x277))/0x9*(parseInt(_0x465af0(0x1f8))/0xa)+parseInt(_0x465af0(0x20f))/0xb;if(_0x7ce931===_0xc2c107)break;else _0x25db08['push'](_0x25db08['shift']());}catch(_0x57f63e){_0x25db08['push'](_0x25db08['shift']());}}}(a39_0x3d1c,0xeba33));const fs=require('fs'),path=require(a39_0x3d9499(0x28b)),{spawn}=require(a39_0x3d9499(0x213)),{format}=require(a39_0x3d9499(0x1f6)),logger=require(a39_0x3d9499(0x275))['winstonLogger'],{default:BrowserStackSetup}=require(a39_0x3d9499(0x200)),helper=require(a39_0x3d9499(0x1e7)),utilities=require('../../helpers/utilities'),constants=require(a39_0x3d9499(0x273)),{FRAMEWORKS}=require(a39_0x3d9499(0x1fb)),{getConfigLoaderPath}=require('./reporter/pwUtils'),{checkAccessibilityPlatformConfig}=require(a39_0x3d9499(0x231)),{setAccessibilityCapabilities}=require(a39_0x3d9499(0x240)),{printBuildLink}=require('../../helpers/test-observability/utils'),TestDetails=require(a39_0x3d9499(0x282)),TestHubHandler=require(a39_0x3d9499(0x214)),PerformanceTester=require('../../helpers/performance/performance-tester'),BrowserstackCLI=require(a39_0x3d9499(0x249)),PerformanceEvents=require('../../helpers/performance/constants')[a39_0x3d9499(0x1e9)],CLIUtils=require(a39_0x3d9499(0x27c)),TestInfo=require(a39_0x3d9499(0x23b)),getUserPlaywrightConfig=async(_0x4daea7,_0x1b9339)=>{const _0x5a8773=a39_0x3d9499,_0xe7128d={'CygCe':function(_0x262f81){return _0x262f81();},'eHhUB':function(_0x511c25,_0x4de268){return _0x511c25(_0x4de268);},'gWwdK':'resolvedConfigFile','Blupo':_0x5a8773(0x232)},_0x2b28b4=!helper[_0x5a8773(0x262)](_0x4daea7[_0x5a8773(0x24a)]),_0x5702a8=_0x2b28b4?path['resolve'](process[_0x5a8773(0x203)](),_0x4daea7[_0x5a8773(0x24a)]):process['cwd'](),{resolveConfigFile:_0x4c951e,resolveConfigLocation:_0x593613}=helper[_0x5a8773(0x243)][_0x5a8773(0x21b)](null,_0xe7128d[_0x5a8773(0x269)](getConfigLoaderPath)),_0x40afd6=_0x4c951e?_0xe7128d['eHhUB'](_0x4c951e,_0x5702a8):helper['nestedKeyValue'](_0xe7128d['eHhUB'](_0x593613,_0x5702a8),[_0xe7128d['gWwdK']]),_0x23fac3={};if(_0x2b28b4){const _0x45fe8a=_0x1b9339[_0x5a8773(0x290)](_0x4bfd02=>_0x4bfd02===_0x5a8773(0x23c)||_0x4bfd02==='-c'||_0x4bfd02[_0x5a8773(0x1e6)](_0x5a8773(0x232)));_0x1b9339[_0x5a8773(0x20a)](_0x45fe8a,_0x1b9339[_0x45fe8a]['startsWith'](_0xe7128d['Blupo'])?0x1:0x2);}const _0xd8ada3={};return _0xd8ada3[_0x5a8773(0x28b)]=_0x40afd6,_0xd8ada3['config']=_0x23fac3,_0xd8ada3;},handleO11yRerun=_0x3527bf=>{const _0x2d590a=a39_0x3d9499,_0x3c1d75={};_0x3c1d75[_0x2d590a(0x25a)]=_0x2d590a(0x211);const _0x41cd20=_0x3c1d75,_0x393505=helper[_0x2d590a(0x24d)](process['env'][_0x2d590a(0x204)]);if(_0x393505){const _0x54f3c7=process[_0x2d590a(0x254)][_0x2d590a(0x272)],_0x32b613=[];if(helper[_0x2d590a(0x253)](_0x54f3c7)&&!helper[_0x2d590a(0x262)](_0x54f3c7)){_0x54f3c7[_0x2d590a(0x246)](',')[_0x2d590a(0x22c)](_0x6dbf29=>{const _0x5e0dbd=_0x2d590a;_0x32b613['push']('('+_0x6dbf29[_0x5e0dbd(0x24c)]()+')');});const _0x137147='^'+_0x32b613['join']('|')+'$';_0x3527bf[_0x2d590a(0x221)](_0x41cd20['hMugx'],_0x137147);}}},spawnOriginalProcess=_0x1cb578=>{const _0xc58dd1=a39_0x3d9499,_0xd882aa={'rdknc':function(_0x26f737,_0x254b73,_0xae5ece,_0x1c6144){return _0x26f737(_0x254b73,_0xae5ece,_0x1c6144);},'faocQ':_0xc58dd1(0x247),'WJzuN':_0xc58dd1(0x289),'iphKF':function(_0x2daf30,_0x58c9df){return _0x2daf30===_0x58c9df;},'XicPb':_0xc58dd1(0x265),'FKmpj':_0xc58dd1(0x295)};_0xd882aa[_0xc58dd1(0x233)](spawn,_0xd882aa['faocQ'],[_0xd882aa[_0xc58dd1(0x26c)],..._0x1cb578[_0xc58dd1(0x28f)](0x1)],{'shell':_0xd882aa[_0xc58dd1(0x23e)](process['platform'],_0xd882aa['XicPb']),'stdio':_0xd882aa[_0xc58dd1(0x21f)],'cwd':process[_0xc58dd1(0x203)]()});},isTestCommand=(_0x11a989,_0xd3ed36)=>{const _0x42f636=a39_0x3d9499,_0x1dcaaa={};_0x1dcaaa[_0x42f636(0x1fe)]=function(_0x289a2a,_0x219253){return _0x289a2a>_0x219253;},_0x1dcaaa[_0x42f636(0x21c)]=function(_0x5b35a7,_0x3c1fb2){return _0x5b35a7===_0x3c1fb2;},_0x1dcaaa[_0x42f636(0x284)]=_0x42f636(0x1f3);const _0xfe82dc=_0x1dcaaa;if(_0xfe82dc[_0x42f636(0x1fe)](_0xd3ed36[_0x42f636(0x1ed)],0x1)&&_0xfe82dc[_0x42f636(0x21c)](_0xd3ed36[0x1],_0xfe82dc[_0x42f636(0x284)]))return!![];return![];};function a39_0x3d1c(){const _0x18c741=['dirname','concat','existsSync','../../helpers/accessibility-automation/helper','--config=','rdknc','close','unlinkSync','lvpnR','gEqtw','setBrowserstackConfig','--disable-browserstack-automation','end','../v2/TestInfo','--config','4pxEIYZ','iphKF','pwmlU','./accessibility-helper','playwright-browserstack-sdk.config.cjs','parse','requirePWModule','pw_result.json','filter','split','npx','cGgTI','../v2/browserstackCLI','config','start','trim','isTrue','SDK_SETUP','getInstance','BROWSERSTACK_TEST_OBSERVABILITY','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','Error\x20in\x20getting\x20funnel\x20data\x20results','validateRerunTestList','env','SDK_POST_INITIALIZE','error','filterBrowserstackArgs','BkjyH','launchBuild','hMugx','accessibility','78849KQFLUL','--disable-test-observability','getPackageType','homedir','rCWgo','measureWrapper','isUndefined','PACKAGE_TYPE','rRjkG','win32','1737299VfNRgc','irmak','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','CygCe','indexOf','errorMessage','WJzuN','platform','MODULE','getNoProxy','browserstackAutomation','stop','BROWSERSTACK_RERUN_TESTS','../utils/constants','3636132TzJgRo','../../helpers/logger','has','84573uRxtDk','cliConfig','SDK_CLEANUP','BROWSERSTACK_TEST_ACCESSIBILITY_YML','playwright-browserstack-sdk.config.js','../v2/cliUtils','forEach','EJgwq','info','28854SzAPuN','clearTempPWConfig','./reporter/test-details','automation','hWqac','mahnl','USER_CONFIG_DETAILS_PATH','BROWSERSTACK_PW_CONFIG_DIR','sNXlK','playwright','false','path','SgALQ','geRaD','MydIt','slice','findIndex','dkquy','fwhjM','LdUOj','readdirSync','inherit','logLevel','bootstrap','accessibilityOptions','startsWith','../../helpers/helper','aRycM','EVENTS','BROWSERSTACK_AUTOMATION','\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','isRunning','length','resolve','gVJaB','Error\x20in\x20closing\x20playwright','efRgB','isTypescriptProject','test','AoVuS','skipSessionStatus','util','setFrameworkDetail','150CiIxdC','readFileSync','testContextOptions','../../helpers/test-observability/constants','writeFileSync','Updated\x20config\x20file\x20name\x20to\x20-\x20','cwhBC','DcDid','../../helpers/BrowserStackSetup','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','ptlDN','cwd','BROWSERSTACK_RERUN','mmmDL','exitCode','SDK_PRE_INITIALIZE','3736luiLfS','Playwright\x20process\x20exited\x20with\x20code\x20','splice','getConfigPath','PLAYWRIGHT','serializeToYamlString','debug','514030FHfVWi','ElVlw','--grep','qfwPS','child_process','../../helpers/testhub/testhubHandler','trace_','Lmzjt','testObservability','gaBfW','EqElb','BROWSERSTACK_SETUP_CONFIG_PATH','apply','JtOlk','XapVh','1168390LITORd','FKmpj','true','push','initialize','join','fFdsF','NSjSq','BrowserStack\x20config\x20file\x20not\x20found.','browserstackSetupConfig.json','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','UWuDf','38nZWxEV','pCNYC','map','shutdown'];a39_0x3d1c=function(){return _0x18c741;};return a39_0x3d1c();}function a39_0x23af(_0x52e34e,_0x4f8c0a){const _0x3d1cf9=a39_0x3d1c();return a39_0x23af=function(_0x23af94,_0x4cefb3){_0x23af94=_0x23af94-0x1e6;let _0x5b1bcf=_0x3d1cf9[_0x23af94];return _0x5b1bcf;},a39_0x23af(_0x52e34e,_0x4f8c0a);}async function run(_0x111f4f,_0x3cbe56,_0x580a68){const _0x5d605a=a39_0x3d9499,_0x555096={'gVJaB':function(_0x23744b,_0x415bee){return _0x23744b(_0x415bee);},'MydIt':'.browserstack','dkquy':_0x5d605a(0x244),'Rhuqb':function(_0x32dea8,_0x500c99){return _0x32dea8+_0x500c99;},'BkjyH':_0x5d605a(0x252),'UWuDf':function(_0x170018){return _0x170018();},'gaBfW':function(_0x1ff0cc,_0x135485){return _0x1ff0cc+_0x135485;},'VDLhJ':_0x5d605a(0x1f0),'ahQFh':_0x5d605a(0x226),'qfwPS':function(_0x5f19bf,_0x3b5415){return _0x5f19bf===_0x3b5415;},'mmmDL':_0x5d605a(0x28a),'geRaD':_0x5d605a(0x25d),'lvpnR':function(_0x3ff8a1,_0xd409c2){return _0x3ff8a1>=_0xd409c2;},'fFdsF':_0x5d605a(0x283),'cQkUp':function(_0x49c656,_0x83b3a9){return _0x49c656!=_0x83b3a9;},'efRgB':function(_0x88bf4d,_0x1cf914,_0x29e79b){return _0x88bf4d(_0x1cf914,_0x29e79b);},'ObGkS':function(_0x13639d,_0x3273aa){return _0x13639d===_0x3273aa;},'STgrY':_0x5d605a(0x220),'XapVh':function(_0x2ea30a,_0x184caa){return _0x2ea30a(_0x184caa);},'aRycM':_0x5d605a(0x227),'rRjkG':function(_0x161530,_0x163993){return _0x161530===_0x163993;},'NSjSq':_0x5d605a(0x241),'pCNYC':_0x5d605a(0x27b),'sckzd':function(_0x52e99e,_0x58425c){return _0x52e99e-_0x58425c;},'gIIJS':function(_0x101972,_0x25fee5){return _0x101972+_0x25fee5;},'LdUOj':_0x5d605a(0x1fd),'cGgTI':function(_0x5a162e,_0x26a1c7){return _0x5a162e>_0x26a1c7;},'irmak':function(_0x1969bc,_0x5ac8fc){return _0x1969bc+_0x5ac8fc;},'mahnl':function(_0x474cae,_0x29ac64,_0x32d6bb,_0x57a349){return _0x474cae(_0x29ac64,_0x32d6bb,_0x57a349);},'AoVuS':_0x5d605a(0x247),'ptlDN':_0x5d605a(0x289),'pwmlU':_0x5d605a(0x1f3),'BULte':_0x5d605a(0x23c),'yufwZ':_0x5d605a(0x265),'ElVlw':'inherit','Lmzjt':_0x5d605a(0x234),'gEqtw':'Error\x20in\x20deleting\x20playwright\x20results','EJgwq':function(_0x51c646,_0x84d4cb,_0x51aeab){return _0x51c646(_0x84d4cb,_0x51aeab);},'rCWgo':function(_0x509a96,_0x409721){return _0x509a96(_0x409721);}};try{const _0x59def3=path[_0x5d605a(0x223)](helper[_0x5d605a(0x25f)](),_0x555096[_0x5d605a(0x28e)],_0x555096[_0x5d605a(0x291)]);fs['existsSync'](_0x59def3)&&fs[_0x5d605a(0x235)](_0x59def3);}catch(_0x2e92d3){logger[_0x5d605a(0x20e)](_0x555096['Rhuqb'](_0x555096[_0x5d605a(0x237)],_0x2e92d3));}if(!_0x555096[_0x5d605a(0x27e)](isTestCommand,_0x111f4f,_0x3cbe56)){_0x555096[_0x5d605a(0x260)](spawnOriginalProcess,_0x3cbe56);return;}await PerformanceTester[_0x5d605a(0x261)](PerformanceEvents[_0x5d605a(0x207)],async()=>{const _0x567d44=_0x5d605a,_0x44dc28={'DcDid':_0x555096[_0x567d44(0x28e)],'sNXlK':function(_0x175886){const _0x54fe93=_0x567d44;return _0x555096[_0x54fe93(0x229)](_0x175886);},'fwhjM':function(_0x339323,_0xa48ffe){const _0x310422=_0x567d44;return _0x555096[_0x310422(0x218)](_0x339323,_0xa48ffe);},'EqElb':_0x555096['VDLhJ']};if(!_0x580a68['config']){logger[_0x567d44(0x256)](_0x555096['ahQFh']);return;}await _0x580a68[_0x567d44(0x222)](_0x111f4f),CLIUtils[_0x567d44(0x1f7)](FRAMEWORKS['PLAYWRIGHT'],FRAMEWORKS[_0x567d44(0x20c)]),BrowserstackCLI[_0x567d44(0x24f)]()[_0x567d44(0x238)](_0x580a68['config'],_0x580a68[_0x567d44(0x278)]),await BrowserstackCLI[_0x567d44(0x24f)]()[_0x567d44(0x297)]();const _0x5b6f61=BrowserstackCLI[_0x567d44(0x24f)]()['getConfig']();!helper['isFalse'](_0x5b6f61[_0x567d44(0x270)])&&(process[_0x567d44(0x254)][_0x567d44(0x1ea)]=!![]);_0x555096[_0x567d44(0x212)](_0x5b6f61['browserstackAutomation'],![])&&(process['env'][_0x567d44(0x1ea)]=_0x555096[_0x567d44(0x205)],_0x3cbe56=_0x3cbe56[_0x567d44(0x245)](_0x5aca43=>_0x5aca43!==_0x567d44(0x239)));const _0x5f5d84=_0x3cbe56[_0x567d44(0x26a)](_0x555096[_0x567d44(0x28d)]);(_0x555096[_0x567d44(0x236)](_0x5f5d84,0x0)||_0x555096[_0x567d44(0x212)](_0x5b6f61[_0x567d44(0x217)],![]))&&(process[_0x567d44(0x254)]['BROWSERSTACK_TEST_OBSERVABILITY']=_0x555096['mmmDL'],_0x3cbe56=_0x3cbe56['filter'](_0x2b486a=>_0x2b486a!==_0x567d44(0x25d)));!helper[_0x567d44(0x262)](_0x580a68[_0x567d44(0x278)])&&_0x580a68[_0x567d44(0x278)][_0x567d44(0x276)](_0x555096['fFdsF'])&&(process[_0x567d44(0x254)][_0x567d44(0x1ea)]=_0x580a68[_0x567d44(0x278)]['get'](_0x555096[_0x567d44(0x224)])||!![]);_0x555096['cQkUp'](_0x580a68['config'][_0x567d44(0x217)],null)&&!helper[_0x567d44(0x24d)](process['env'][_0x567d44(0x250)])&&(process[_0x567d44(0x254)]['BROWSERSTACK_TEST_OBSERVABILITY']=process['env']['BROWSERSTACK_TEST_OBSERVABILITY']||_0x580a68[_0x567d44(0x24a)][_0x567d44(0x217)]);const _0x4416cd=!helper['isFalse'](process['env'][_0x567d44(0x250)]);_0x580a68[_0x567d44(0x24a)]['accessibilityOptions']&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x580a68[_0x567d44(0x24a)][_0x567d44(0x298)]));let _0x277441=![];_0x580a68['config']['accessibility']&&(_0x277441=!![],process[_0x567d44(0x254)][_0x567d44(0x27a)]=_0x580a68[_0x567d44(0x24a)][_0x567d44(0x25b)]);const _0x2f34cf=_0x3cbe56[_0x567d44(0x22f)](),_0x34bde9=await _0x555096[_0x567d44(0x1f1)](getUserPlaywrightConfig,_0x111f4f,_0x3cbe56);if(helper[_0x567d44(0x262)](_0x34bde9)){_0x555096['gVJaB'](spawnOriginalProcess,_0x2f34cf);return;}const _0x3845af=_0x34bde9[_0x567d44(0x28b)]?path[_0x567d44(0x22e)](_0x34bde9['path']):process[_0x567d44(0x203)]();process[_0x567d44(0x254)][_0x567d44(0x287)]=_0x3845af,await PerformanceTester['measureWrapper'](PerformanceEvents[_0x567d44(0x255)],async()=>{const _0x3097d8=_0x567d44;!BrowserstackCLI[_0x3097d8(0x24f)]()[_0x3097d8(0x1ec)]()&&await TestHubHandler[_0x3097d8(0x259)](FRAMEWORKS[_0x3097d8(0x20c)],_0x580a68),_0x4416cd&&_0x555096[_0x3097d8(0x1ef)](handleO11yRerun,_0x3cbe56);})();if(!BrowserstackCLI['getInstance']()[_0x567d44(0x1ec)]()){let _0x3e2f06=_0x555096['ObGkS'](process[_0x567d44(0x254)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x555096['STgrY']);_0x3e2f06=_0x3e2f06||_0x555096[_0x567d44(0x1ef)](checkAccessibilityPlatformConfig,_0x580a68[_0x567d44(0x24a)]),process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x3e2f06,_0x3e2f06&&_0x555096[_0x567d44(0x21d)](setAccessibilityCapabilities,_0x580a68[_0x567d44(0x24a)]);}const _0x286b2f=path[_0x567d44(0x223)](_0x34bde9['path']?path[_0x567d44(0x22e)](_0x34bde9['path']):process[_0x567d44(0x203)](),_0x555096[_0x567d44(0x1e8)]);fs['writeFileSync'](_0x286b2f,helper[_0x567d44(0x20d)](_0x580a68['config'])),process[_0x567d44(0x254)][_0x567d44(0x21a)]=_0x286b2f,helper[_0x567d44(0x281)]();let _0x5b14b2='';_0x555096[_0x567d44(0x264)](helper[_0x567d44(0x25e)](),constants[_0x567d44(0x263)][_0x567d44(0x26e)])?_0x5b14b2=_0x555096[_0x567d44(0x225)]:_0x5b14b2=_0x555096[_0x567d44(0x22b)];let _0x2f1035='';if(helper[_0x567d44(0x1f2)](_0x34bde9[_0x567d44(0x28b)])){_0x2f1035=_0x567d44(0x228);const _0x520648=_0x5b14b2[_0x567d44(0x246)]('.');_0x520648[_0x555096['sckzd'](_0x520648[_0x567d44(0x1ed)],0x1)]='ts',_0x5b14b2=_0x520648[_0x567d44(0x223)]('.'),logger['debug'](_0x555096['gIIJS'](_0x555096[_0x567d44(0x293)],_0x5b14b2));}else _0x2f1035=_0x567d44(0x268);const _0x409566=path[_0x567d44(0x223)](_0x34bde9[_0x567d44(0x28b)]?path[_0x567d44(0x22e)](_0x34bde9[_0x567d44(0x28b)]):process[_0x567d44(0x203)](),_0x5b14b2);let _0x164900=_0x34bde9[_0x567d44(0x28b)]?_0x34bde9['path']:'';_0x164900=_0x555096[_0x567d44(0x248)](_0x164900['length'],0x0)?path[_0x567d44(0x1ee)](_0x164900):'',process[_0x567d44(0x254)][_0x567d44(0x286)]=_0x164900;const _0x3f9280=helper['getProxyUrl'](_0x580a68[_0x567d44(0x24a)]),_0x5c7819=helper[_0x567d44(0x26f)](_0x580a68[_0x567d44(0x24a)]);logger[_0x567d44(0x20e)]('Proxy\x20url\x20:\x20'+_0x3f9280),logger['debug']('No\x20Proxy\x20:\x20'+_0x5c7819);_0x3f9280&&(_0x2f1035=_0x555096[_0x567d44(0x267)](_0x567d44(0x201)+_0x3f9280+_0x567d44(0x1eb)+_0x5c7819+_0x567d44(0x251),_0x2f1035));helper[_0x567d44(0x257)]({},_0x3cbe56),fs[_0x567d44(0x1fc)](_0x409566,_0x2f1035),PerformanceTester[_0x567d44(0x23a)](PerformanceEvents[_0x567d44(0x24e)]);const _0x25488e=_0x555096[_0x567d44(0x285)](spawn,_0x555096[_0x567d44(0x1f4)],[_0x555096[_0x567d44(0x202)],_0x555096[_0x567d44(0x23f)],_0x555096['BULte'],_0x409566,..._0x3cbe56[_0x567d44(0x28f)](0x2)],{'shell':_0x555096[_0x567d44(0x264)](process[_0x567d44(0x26d)],_0x555096['yufwZ']),'stdio':_0x555096[_0x567d44(0x210)],'cwd':process[_0x567d44(0x203)](),'env':Object['assign']({},process[_0x567d44(0x254)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x567d44(0x20b)](_0x111f4f),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x580a68['config'][_0x567d44(0x1fa)][_0x567d44(0x1f5)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x580a68[_0x567d44(0x24a)][_0x567d44(0x1fa)]['skipSessionName'],'BROWSERSTACK_LOG_LEVEL':_0x580a68[_0x567d44(0x24a)][_0x567d44(0x296)]})}),_0x15fab5=()=>{const _0x8cbcb6=_0x567d44;try{const _0x2fc320=path['join'](helper[_0x8cbcb6(0x25f)](),_0x555096[_0x8cbcb6(0x28e)],_0x555096[_0x8cbcb6(0x291)]);if(fs['existsSync'](_0x2fc320)){let _0x1dcae5=fs[_0x8cbcb6(0x1f9)](_0x2fc320);_0x1dcae5=JSON[_0x8cbcb6(0x242)](_0x1dcae5),_0x580a68[_0x8cbcb6(0x26b)]=_0x1dcae5,fs['unlinkSync'](_0x2fc320);}}catch(_0x1358bb){logger[_0x8cbcb6(0x20e)](_0x555096['Rhuqb'](_0x555096[_0x8cbcb6(0x258)],_0x1358bb));}};_0x25488e['on'](_0x555096[_0x567d44(0x216)],async _0x181eef=>{const _0xeaaa0a=_0x567d44,_0x4664df={};_0x4664df[_0xeaaa0a(0x28c)]=_0x44dc28[_0xeaaa0a(0x1ff)];const _0x4047ef=_0x4664df;try{PerformanceTester[_0xeaaa0a(0x24b)](PerformanceEvents[_0xeaaa0a(0x279)]),_0x44dc28['sNXlK'](_0x15fab5),await TestHubHandler['stop'](),await BrowserstackCLI['getInstance']()[_0xeaaa0a(0x271)](),TestDetails[_0xeaaa0a(0x22d)](),_0x44dc28[_0xeaaa0a(0x288)](printBuildLink),await utilities['finalExecution'](_0x580a68),process[_0xeaaa0a(0x206)]=_0x181eef,logger[_0xeaaa0a(0x20e)](_0xeaaa0a(0x209)+_0x181eef),logger[_0xeaaa0a(0x27f)]('Deleting\x20'+_0x409566),fs[_0xeaaa0a(0x235)](_0x409566);fs[_0xeaaa0a(0x230)](_0x286b2f)&&(logger['debug']('Deleting\x20'+_0x286b2f),fs[_0xeaaa0a(0x235)](_0x286b2f));const _0x5f5c0c=fs[_0xeaaa0a(0x294)](path[_0xeaaa0a(0x223)](helper[_0xeaaa0a(0x25f)](),_0x44dc28[_0xeaaa0a(0x1ff)]))['filter'](_0x202126=>_0x202126[_0xeaaa0a(0x1e6)](_0xeaaa0a(0x215)));_0x5f5c0c[_0xeaaa0a(0x27d)](_0x14ca01=>{const _0x56c010=_0xeaaa0a;fs[_0x56c010(0x235)](path[_0x56c010(0x223)](helper[_0x56c010(0x25f)](),_0x4047ef[_0x56c010(0x28c)],_0x14ca01));});}catch(_0x2ffc9a){logger[_0xeaaa0a(0x20e)](_0x44dc28[_0xeaaa0a(0x292)](_0x44dc28[_0xeaaa0a(0x219)],_0x2ffc9a));}});})();}module['exports']=run;
2
+ 'use strict';const a39_0x22d653=a39_0x4641;(function(_0x8132d0,_0x4142fa){const _0x3fb12d=a39_0x4641,_0x5ee4e6=_0x8132d0();while(!![]){try{const _0x39c031=-parseInt(_0x3fb12d(0x124))/0x1*(-parseInt(_0x3fb12d(0x12d))/0x2)+-parseInt(_0x3fb12d(0x10a))/0x3*(-parseInt(_0x3fb12d(0x143))/0x4)+parseInt(_0x3fb12d(0x10d))/0x5+parseInt(_0x3fb12d(0x1a3))/0x6+-parseInt(_0x3fb12d(0x194))/0x7+parseInt(_0x3fb12d(0x139))/0x8+parseInt(_0x3fb12d(0x190))/0x9*(-parseInt(_0x3fb12d(0x19d))/0xa);if(_0x39c031===_0x4142fa)break;else _0x5ee4e6['push'](_0x5ee4e6['shift']());}catch(_0x203df0){_0x5ee4e6['push'](_0x5ee4e6['shift']());}}}(a39_0x1bf5,0x5de03));function a39_0x1bf5(){const _0x1e9f2e=['playwright','cliConfig','../../helpers/performance/performance-tester','./accessibility-helper','skipSessionName','reportFinalDetectionState','../../helpers/BrowserStackSetup','rgiiy','../../helpers/performance/constants','../../helpers/utilities','BROWSERSTACK_AUTOMATION','UQkgE','Error\x20in\x20deleting\x20playwright\x20results','yePIC','LvpCS','DJEcV','error','getConfig','dehcR','slice','stop','clearTempPWConfig','push','Error\x20in\x20getting\x20funnel\x20data\x20results','QxWyy','shutdown','fBJmb','getPackageType','concat','getInstance','measureWrapper','existsSync','346392fEZpNb','zIZNb','VxWcz','Proxy\x20url\x20:\x20','4812514gQzksX','mtYiD','unlinkSync','child_process','homedir','GexyC','gPBeC','isTypescriptProject','tDirM','230VABwQM','browserstackAutomation','EVENTS','false','pw_result.json','iLesv','2295108iPJSJl','USER_CONFIG_DETAILS_PATH','../../helpers/test-observability/utils','map','config','writeFileSync','SDK_SETUP','split','apply','platform','launchBuild','hZqYL','winstonLogger','getConfigPath','join','playwright-browserstack-sdk.config.cjs','PLAYWRIGHT','QyPTa','upHaX','cwd','isFalse','testObservability','get','forEach','inherit','155199FBNlLB','JwLiz','GKzsJ','3222295evYcrF','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20process.env.GLOBAL_AGENT_NO_PROXY=\x22','dqDZa','logLevel','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','--config','./reporter/test-details','TWEVy','isRunning','SDK_POST_INITIALIZE','WXuGl','finalExecution','QKOeA','XEDWS','initialize','findIndex','WCRAq','readdirSync','../../helpers/testhub/testhubHandler','test','info','--config=','filterBrowserstackArgs','1UWzIeI','iSCtB','win32','BAZan','close','../v2/browserstackCLI','../v2/cliUtils','Updated\x20config\x20file\x20name\x20to\x20-\x20','BROWSERSTACK_TEST_ACCESSIBILITY_YML','15398DAdaET','browserstackSetupConfig.json','resolvedConfigFile','skipSessionStatus','.browserstack','QHmnQ','TUZVC','testContextOptions','IYFoN','LTTFR','BROWSERSTACK_TEST_OBSERVABILITY','bootstrap','2000288OEIVzN','indexOf','Deleting\x20','filter','Error\x20in\x20closing\x20playwright','NVIur','splice','errorMessage','dirname','YXoys','52oVvgVM','debug','Playwright\x20process\x20exited\x20with\x20code\x20','VpBns','bupxd','LIWFx','../../helpers/accessibility-automation/helper','BcpIB','--grep','../v2/TestInfo','../../helpers/logger','resolve','BrowserStack\x20config\x20file\x20not\x20found.','readFileSync','WsxAn','tRbdY','serializeToYamlString','BROWSERSTACK_RERUN','--disable-browserstack-automation','rXexa','has','trim','end','hJsjq','BROWSERSTACK_PW_CONFIG_DIR','./reporter/pwUtils','trace_','npx','setBrowserstackConfig','--disable-test-observability','startsWith','accessibility','PACKAGE_TYPE','exports','path','DbYmW','util','isTrue','accessibilityOptions','../utils/clientTroubleshootingService','wnMhv','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','isUndefined','env','getNoProxy'];a39_0x1bf5=function(){return _0x1e9f2e;};return a39_0x1bf5();}function a39_0x4641(_0x53fd3a,_0x57fd37){const _0x1bf5ca=a39_0x1bf5();return a39_0x4641=function(_0x464182,_0x3471dd){_0x464182=_0x464182-0x107;let _0x4e4d8d=_0x1bf5ca[_0x464182];return _0x4e4d8d;},a39_0x4641(_0x53fd3a,_0x57fd37);}const fs=require('fs'),path=require(a39_0x22d653(0x165)),{spawn}=require(a39_0x22d653(0x197)),{format}=require(a39_0x22d653(0x167)),logger=require(a39_0x22d653(0x14d))[a39_0x22d653(0x1af)],{default:BrowserStackSetup}=require(a39_0x22d653(0x176)),helper=require('../../helpers/helper'),utilities=require(a39_0x22d653(0x179)),constants=require('../utils/constants'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getConfigLoaderPath}=require(a39_0x22d653(0x15c)),{checkAccessibilityPlatformConfig}=require(a39_0x22d653(0x149)),{setAccessibilityCapabilities}=require(a39_0x22d653(0x173)),{printBuildLink}=require(a39_0x22d653(0x1a5)),TestDetails=require(a39_0x22d653(0x113)),TestHubHandler=require(a39_0x22d653(0x11f)),PerformanceTester=require(a39_0x22d653(0x172)),BrowserstackCLI=require(a39_0x22d653(0x129)),PerformanceEvents=require(a39_0x22d653(0x178))[a39_0x22d653(0x19f)],CLIUtils=require(a39_0x22d653(0x12a)),TestInfo=require(a39_0x22d653(0x14c)),ClientTroubleShootingService=require(a39_0x22d653(0x16a)),getUserPlaywrightConfig=async(_0x3d69f6,_0x7162a3)=>{const _0x256ee6=a39_0x22d653,_0x4d1f26={'IYFoN':function(_0x4759e2){return _0x4759e2();},'bupxd':function(_0x429eeb,_0xdae8e8){return _0x429eeb(_0xdae8e8);},'hJsjq':function(_0x23b6e5,_0x3be8b1){return _0x23b6e5(_0x3be8b1);},'SYQCE':_0x256ee6(0x12f),'VpBns':_0x256ee6(0x122)},_0x2d3731=!helper[_0x256ee6(0x16d)](_0x3d69f6[_0x256ee6(0x1a7)]),_0xad2639=_0x2d3731?path[_0x256ee6(0x14e)](process[_0x256ee6(0x1b6)](),_0x3d69f6[_0x256ee6(0x1a7)]):process[_0x256ee6(0x1b6)](),{resolveConfigFile:_0x709c16,resolveConfigLocation:_0x1b07b3}=helper['requirePWModule'][_0x256ee6(0x1ab)](null,_0x4d1f26[_0x256ee6(0x135)](getConfigLoaderPath)),_0x54a9a3=_0x709c16?_0x4d1f26[_0x256ee6(0x147)](_0x709c16,_0xad2639):helper['nestedKeyValue'](_0x4d1f26[_0x256ee6(0x15a)](_0x1b07b3,_0xad2639),[_0x4d1f26['SYQCE']]),_0x49536f={};if(_0x2d3731){const _0x4d833a=_0x7162a3[_0x256ee6(0x11c)](_0x4b0a04=>_0x4b0a04===_0x256ee6(0x112)||_0x4b0a04==='-c'||_0x4b0a04['startsWith'](_0x256ee6(0x122)));_0x7162a3[_0x256ee6(0x13f)](_0x4d833a,_0x7162a3[_0x4d833a][_0x256ee6(0x161)](_0x4d1f26[_0x256ee6(0x146)])?0x1:0x2);}const _0x181990={};return _0x181990['path']=_0x54a9a3,_0x181990[_0x256ee6(0x1a7)]=_0x49536f,_0x181990;},handleO11yRerun=_0x5daa58=>{const _0x2a3c1e=a39_0x22d653,_0x243f75={};_0x243f75[_0x2a3c1e(0x133)]=_0x2a3c1e(0x14b);const _0x472f62=_0x243f75,_0x5af9ce=helper[_0x2a3c1e(0x168)](process[_0x2a3c1e(0x16e)][_0x2a3c1e(0x154)]);if(_0x5af9ce){const _0x1f64ce=process['env']['BROWSERSTACK_RERUN_TESTS'],_0xad5e2b=[];if(helper['validateRerunTestList'](_0x1f64ce)&&!helper[_0x2a3c1e(0x16d)](_0x1f64ce)){_0x1f64ce[_0x2a3c1e(0x1aa)](',')[_0x2a3c1e(0x1a6)](_0x1578e6=>{const _0x5be799=_0x2a3c1e;_0xad5e2b['push']('('+_0x1578e6[_0x5be799(0x158)]()+')');});const _0x5303a9='^'+_0xad5e2b[_0x2a3c1e(0x1b1)]('|')+'$';_0x5daa58[_0x2a3c1e(0x186)](_0x472f62[_0x2a3c1e(0x133)],_0x5303a9);}}},spawnOriginalProcess=_0x2671ec=>{const _0x4ccdd1=a39_0x22d653,_0x225419={'mtYiD':function(_0x2fc1de,_0x1b6bc3,_0x4721ee,_0x4e0f5d){return _0x2fc1de(_0x1b6bc3,_0x4721ee,_0x4e0f5d);},'QyPTa':_0x4ccdd1(0x15e),'YXoys':_0x4ccdd1(0x170),'WsxAn':function(_0x4cd853,_0x579ead){return _0x4cd853===_0x579ead;},'lwCrl':'win32','JwLiz':_0x4ccdd1(0x109)};_0x225419[_0x4ccdd1(0x195)](spawn,_0x225419[_0x4ccdd1(0x1b4)],[_0x225419[_0x4ccdd1(0x142)],..._0x2671ec[_0x4ccdd1(0x183)](0x1)],{'shell':_0x225419[_0x4ccdd1(0x151)](process[_0x4ccdd1(0x1ac)],_0x225419['lwCrl']),'stdio':_0x225419[_0x4ccdd1(0x10b)],'cwd':process[_0x4ccdd1(0x1b6)]()});},isTestCommand=(_0x2bbd71,_0x1d50f5)=>{const _0x48c796=a39_0x22d653,_0x31a4fd={};_0x31a4fd[_0x48c796(0x11a)]=function(_0x58acb9,_0x1727c1){return _0x58acb9>_0x1727c1;},_0x31a4fd[_0x48c796(0x191)]=function(_0x2b6fdc,_0x4a2b82){return _0x2b6fdc===_0x4a2b82;},_0x31a4fd[_0x48c796(0x10f)]=_0x48c796(0x120);const _0x59ce27=_0x31a4fd;if(_0x59ce27[_0x48c796(0x11a)](_0x1d50f5['length'],0x1)&&_0x59ce27[_0x48c796(0x191)](_0x1d50f5[0x1],_0x59ce27[_0x48c796(0x10f)]))return!![];return![];};async function run(_0x34d3f1,_0x2ee6c8,_0x3266e8){const _0x474628=a39_0x22d653,_0x51cfce={'DJEcV':function(_0x4b2a2a,_0xe557a1){return _0x4b2a2a(_0xe557a1);},'QxWyy':_0x474628(0x131),'upHaX':function(_0x5e32a3){return _0x5e32a3();},'LTTFR':function(_0xa8e4d6,_0x531793){return _0xa8e4d6+_0x531793;},'WXuGl':_0x474628(0x13d),'QHmnQ':_0x474628(0x1a1),'iSCtB':_0x474628(0x187),'GKzsJ':_0x474628(0x14f),'BcpIB':function(_0x2a20d3,_0x5c21c5){return _0x2a20d3===_0x5c21c5;},'tRbdY':_0x474628(0x1a0),'rgiiy':_0x474628(0x160),'TWEVy':function(_0x5ef7a5,_0x596cd7){return _0x5ef7a5>=_0x596cd7;},'gPBeC':function(_0x1c6e90,_0x5426ce){return _0x1c6e90===_0x5426ce;},'rXexa':'automation','dehcR':function(_0x1ec7ca,_0xfad458){return _0x1ec7ca!=_0xfad458;},'WCRAq':function(_0x5e8d7f,_0x1d1762,_0x2f8a6d){return _0x5e8d7f(_0x1d1762,_0x2f8a6d);},'UQkgE':'true','iLesv':function(_0x1293b5,_0x267688){return _0x1293b5(_0x267688);},'fyfNA':_0x474628(0x12e),'wnMhv':function(_0x4638e4,_0x3c5b08){return _0x4638e4===_0x3c5b08;},'yePIC':_0x474628(0x1b2),'apzro':'playwright-browserstack-sdk.config.js','hZqYL':function(_0x5634fa,_0x4f3d65){return _0x5634fa-_0x4f3d65;},'tDirM':function(_0x27dd07,_0x4d611a){return _0x27dd07+_0x4d611a;},'LvpCS':_0x474628(0x12b),'LwfYz':function(_0x3b9f01,_0x9a3e0){return _0x3b9f01>_0x9a3e0;},'eyuGr':function(_0x329fb7,_0x481884){return _0x329fb7+_0x481884;},'BAZan':function(_0x209176,_0x22e7b8,_0xddc24f,_0x4b8846){return _0x209176(_0x22e7b8,_0xddc24f,_0x4b8846);},'SpZTu':_0x474628(0x15e),'DbYmW':_0x474628(0x170),'LIWFx':_0x474628(0x120),'NVIur':_0x474628(0x112),'pelfQ':_0x474628(0x126),'mxfpF':'inherit','HPuQW':_0x474628(0x128),'fBJmb':_0x474628(0x17c),'mKqme':function(_0x51ba17,_0x3758b4){return _0x51ba17(_0x3758b4);}};try{const _0x38ca3c=path['join'](helper[_0x474628(0x198)](),_0x51cfce[_0x474628(0x188)],_0x51cfce[_0x474628(0x132)]);fs[_0x474628(0x18f)](_0x38ca3c)&&fs[_0x474628(0x196)](_0x38ca3c);}catch(_0x51a04d){logger[_0x474628(0x144)](_0x51cfce[_0x474628(0x136)](_0x51cfce[_0x474628(0x18a)],_0x51a04d));}if(!_0x51cfce[_0x474628(0x11d)](isTestCommand,_0x34d3f1,_0x2ee6c8)){_0x51cfce['mKqme'](spawnOriginalProcess,_0x2ee6c8);return;}await PerformanceTester[_0x474628(0x18e)](PerformanceEvents['SDK_PRE_INITIALIZE'],async()=>{const _0x68aac0=_0x474628,_0x4e45c0={'GexyC':_0x51cfce[_0x68aac0(0x188)],'LDUzW':_0x51cfce['QHmnQ'],'FFPmw':function(_0x3023c4,_0x7225f8){const _0x3cb24f=_0x68aac0;return _0x51cfce[_0x3cb24f(0x136)](_0x3023c4,_0x7225f8);},'QKOeA':_0x51cfce[_0x68aac0(0x125)]};if(!_0x3266e8[_0x68aac0(0x1a7)]){logger[_0x68aac0(0x180)](_0x51cfce[_0x68aac0(0x10c)]);return;}await _0x3266e8[_0x68aac0(0x11b)](_0x34d3f1),CLIUtils['setFrameworkDetail'](FRAMEWORKS['PLAYWRIGHT'],FRAMEWORKS['PLAYWRIGHT']),BrowserstackCLI[_0x68aac0(0x18d)]()[_0x68aac0(0x15f)](_0x3266e8[_0x68aac0(0x1a7)],_0x3266e8[_0x68aac0(0x171)]),await BrowserstackCLI[_0x68aac0(0x18d)]()[_0x68aac0(0x138)]();const _0x1834ab=BrowserstackCLI['getInstance']()[_0x68aac0(0x181)]();!helper[_0x68aac0(0x1b7)](_0x1834ab['browserstackAutomation'])&&(process['env']['BROWSERSTACK_AUTOMATION']=!![]);_0x51cfce[_0x68aac0(0x14a)](_0x1834ab[_0x68aac0(0x19e)],![])&&(process[_0x68aac0(0x16e)][_0x68aac0(0x17a)]=_0x51cfce[_0x68aac0(0x152)],_0x2ee6c8=_0x2ee6c8[_0x68aac0(0x13c)](_0x29af72=>_0x29af72!==_0x68aac0(0x155)));const _0x1c15cc=_0x2ee6c8[_0x68aac0(0x13a)](_0x51cfce[_0x68aac0(0x177)]);(_0x51cfce[_0x68aac0(0x114)](_0x1c15cc,0x0)||_0x51cfce[_0x68aac0(0x19a)](_0x1834ab[_0x68aac0(0x1b8)],![]))&&(process[_0x68aac0(0x16e)]['BROWSERSTACK_TEST_OBSERVABILITY']=_0x51cfce[_0x68aac0(0x152)],_0x2ee6c8=_0x2ee6c8['filter'](_0x5114e8=>_0x5114e8!==_0x68aac0(0x160)));!helper['isUndefined'](_0x3266e8[_0x68aac0(0x171)])&&_0x3266e8[_0x68aac0(0x171)][_0x68aac0(0x157)](_0x51cfce[_0x68aac0(0x156)])&&(process[_0x68aac0(0x16e)]['BROWSERSTACK_AUTOMATION']=_0x3266e8['cliConfig'][_0x68aac0(0x107)](_0x51cfce[_0x68aac0(0x156)])||!![]);_0x51cfce[_0x68aac0(0x182)](_0x3266e8[_0x68aac0(0x1a7)]['testObservability'],null)&&!helper['isTrue'](process[_0x68aac0(0x16e)][_0x68aac0(0x137)])&&(process['env']['BROWSERSTACK_TEST_OBSERVABILITY']=process[_0x68aac0(0x16e)]['BROWSERSTACK_TEST_OBSERVABILITY']||_0x3266e8[_0x68aac0(0x1a7)][_0x68aac0(0x1b8)]);const _0x350b89=!helper[_0x68aac0(0x1b7)](process[_0x68aac0(0x16e)][_0x68aac0(0x137)]);_0x3266e8[_0x68aac0(0x1a7)]['accessibilityOptions']&&(process[_0x68aac0(0x16e)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x3266e8[_0x68aac0(0x1a7)][_0x68aac0(0x169)]));let _0x1f271e=![];_0x3266e8[_0x68aac0(0x1a7)][_0x68aac0(0x162)]&&(_0x1f271e=!![],process[_0x68aac0(0x16e)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x3266e8[_0x68aac0(0x1a7)][_0x68aac0(0x162)]);const _0x47f66d=_0x2ee6c8[_0x68aac0(0x18c)](),_0x13d1c9=await _0x51cfce[_0x68aac0(0x11d)](getUserPlaywrightConfig,_0x34d3f1,_0x2ee6c8);if(helper[_0x68aac0(0x16d)](_0x13d1c9)){_0x51cfce[_0x68aac0(0x17f)](spawnOriginalProcess,_0x47f66d);return;}const _0x38dcf8=_0x13d1c9[_0x68aac0(0x165)]?path['dirname'](_0x13d1c9[_0x68aac0(0x165)]):process['cwd']();process[_0x68aac0(0x16e)][_0x68aac0(0x15b)]=_0x38dcf8,await PerformanceTester[_0x68aac0(0x18e)](PerformanceEvents[_0x68aac0(0x116)],async()=>{const _0x44b782=_0x68aac0;!BrowserstackCLI[_0x44b782(0x18d)]()[_0x44b782(0x115)]()&&await TestHubHandler[_0x44b782(0x1ad)](FRAMEWORKS[_0x44b782(0x1b3)],_0x3266e8),_0x350b89&&_0x51cfce[_0x44b782(0x17f)](handleO11yRerun,_0x2ee6c8);})();if(!BrowserstackCLI[_0x68aac0(0x18d)]()[_0x68aac0(0x115)]()){let _0x454211=_0x51cfce[_0x68aac0(0x14a)](process['env'][_0x68aac0(0x12c)],_0x51cfce[_0x68aac0(0x17b)]);_0x454211=_0x454211||_0x51cfce[_0x68aac0(0x1a2)](checkAccessibilityPlatformConfig,_0x3266e8[_0x68aac0(0x1a7)]),process[_0x68aac0(0x16e)][_0x68aac0(0x12c)]=_0x454211,_0x454211&&_0x51cfce[_0x68aac0(0x17f)](setAccessibilityCapabilities,_0x3266e8[_0x68aac0(0x1a7)]);}const _0x2f4170=path[_0x68aac0(0x1b1)](_0x13d1c9[_0x68aac0(0x165)]?path[_0x68aac0(0x141)](_0x13d1c9['path']):process[_0x68aac0(0x1b6)](),_0x51cfce['fyfNA']);fs[_0x68aac0(0x1a8)](_0x2f4170,helper[_0x68aac0(0x153)](_0x3266e8[_0x68aac0(0x1a7)])),process['env']['BROWSERSTACK_SETUP_CONFIG_PATH']=_0x2f4170,helper[_0x68aac0(0x185)]();let _0x2054e9='';_0x51cfce[_0x68aac0(0x16b)](helper[_0x68aac0(0x18b)](),constants[_0x68aac0(0x163)]['MODULE'])?_0x2054e9=_0x51cfce[_0x68aac0(0x17d)]:_0x2054e9=_0x51cfce['apzro'];let _0x592c26='';if(helper[_0x68aac0(0x19b)](_0x13d1c9['path'])){_0x592c26=_0x68aac0(0x111);const _0x174f13=_0x2054e9[_0x68aac0(0x1aa)]('.');_0x174f13[_0x51cfce[_0x68aac0(0x1ae)](_0x174f13['length'],0x1)]='ts',_0x2054e9=_0x174f13[_0x68aac0(0x1b1)]('.'),logger[_0x68aac0(0x144)](_0x51cfce[_0x68aac0(0x19c)](_0x51cfce[_0x68aac0(0x17e)],_0x2054e9));}else _0x592c26='\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a';const _0x33eefd=path[_0x68aac0(0x1b1)](_0x13d1c9[_0x68aac0(0x165)]?path['dirname'](_0x13d1c9[_0x68aac0(0x165)]):process[_0x68aac0(0x1b6)](),_0x2054e9);let _0x3fd025=_0x13d1c9['path']?_0x13d1c9['path']:'';_0x3fd025=_0x51cfce['LwfYz'](_0x3fd025['length'],0x0)?path[_0x68aac0(0x14e)](_0x3fd025):'',process['env'][_0x68aac0(0x1a4)]=_0x3fd025;const _0x28c71e=helper['getProxyUrl'](_0x3266e8['config']),_0x237938=helper[_0x68aac0(0x16f)](_0x3266e8[_0x68aac0(0x1a7)]);logger[_0x68aac0(0x144)](_0x68aac0(0x193)+_0x28c71e),logger[_0x68aac0(0x144)]('No\x20Proxy\x20:\x20'+_0x237938);_0x28c71e&&(_0x592c26=_0x51cfce['eyuGr']('process.env.GLOBAL_AGENT_HTTP_PROXY=\x22'+_0x28c71e+_0x68aac0(0x10e)+_0x237938+_0x68aac0(0x16c),_0x592c26));helper[_0x68aac0(0x123)]({},_0x2ee6c8),fs[_0x68aac0(0x1a8)](_0x33eefd,_0x592c26),PerformanceTester[_0x68aac0(0x159)](PerformanceEvents[_0x68aac0(0x1a9)]);const _0x341a21=_0x51cfce[_0x68aac0(0x127)](spawn,_0x51cfce['SpZTu'],[_0x51cfce[_0x68aac0(0x166)],_0x51cfce[_0x68aac0(0x148)],_0x51cfce[_0x68aac0(0x13e)],_0x33eefd,..._0x2ee6c8[_0x68aac0(0x183)](0x2)],{'shell':_0x51cfce[_0x68aac0(0x14a)](process[_0x68aac0(0x1ac)],_0x51cfce['pelfQ']),'stdio':_0x51cfce['mxfpF'],'cwd':process[_0x68aac0(0x1b6)](),'env':Object['assign']({},process[_0x68aac0(0x16e)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x68aac0(0x1b0)](_0x34d3f1),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x3266e8['config']['testContextOptions'][_0x68aac0(0x130)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x3266e8[_0x68aac0(0x1a7)][_0x68aac0(0x134)][_0x68aac0(0x174)],'BROWSERSTACK_LOG_LEVEL':_0x3266e8[_0x68aac0(0x1a7)][_0x68aac0(0x110)]})}),_0x3c7f82=()=>{const _0x1d92a5=_0x68aac0;try{const _0x1b3cda=path['join'](helper[_0x1d92a5(0x198)](),_0x4e45c0[_0x1d92a5(0x199)],_0x4e45c0['LDUzW']);if(fs[_0x1d92a5(0x18f)](_0x1b3cda)){let _0x2b0b5c=fs[_0x1d92a5(0x150)](_0x1b3cda);_0x2b0b5c=JSON['parse'](_0x2b0b5c),_0x3266e8[_0x1d92a5(0x140)]=_0x2b0b5c,fs['unlinkSync'](_0x1b3cda);}}catch(_0x35e0d2){logger[_0x1d92a5(0x144)](_0x4e45c0['FFPmw'](_0x4e45c0[_0x1d92a5(0x119)],_0x35e0d2));}};_0x341a21['on'](_0x51cfce['HPuQW'],async _0x562e1b=>{const _0x1b7778=_0x68aac0,_0x468a7c={};_0x468a7c['VxWcz']=_0x51cfce['QxWyy'];const _0x39953f=_0x468a7c;try{PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),_0x51cfce['upHaX'](_0x3c7f82),await TestHubHandler[_0x1b7778(0x184)](),await ClientTroubleShootingService[_0x1b7778(0x175)](),await BrowserstackCLI['getInstance']()[_0x1b7778(0x184)](),TestDetails[_0x1b7778(0x189)](),_0x51cfce[_0x1b7778(0x1b5)](printBuildLink),await utilities[_0x1b7778(0x118)](_0x3266e8),process['exitCode']=_0x562e1b,logger['debug'](_0x1b7778(0x145)+_0x562e1b),logger[_0x1b7778(0x121)](_0x1b7778(0x13b)+_0x33eefd),fs[_0x1b7778(0x196)](_0x33eefd);fs[_0x1b7778(0x18f)](_0x2f4170)&&(logger[_0x1b7778(0x144)]('Deleting\x20'+_0x2f4170),fs['unlinkSync'](_0x2f4170));const _0x2275ea=fs[_0x1b7778(0x11e)](path[_0x1b7778(0x1b1)](helper['homedir'](),_0x51cfce[_0x1b7778(0x188)]))[_0x1b7778(0x13c)](_0x46ab6b=>_0x46ab6b['startsWith'](_0x1b7778(0x15d)));_0x2275ea[_0x1b7778(0x108)](_0x1d66cb=>{const _0x4feb9c=_0x1b7778;fs['unlinkSync'](path[_0x4feb9c(0x1b1)](helper[_0x4feb9c(0x198)](),_0x39953f[_0x4feb9c(0x192)],_0x1d66cb));});}catch(_0x4ff230){logger[_0x1b7778(0x144)](_0x51cfce[_0x1b7778(0x136)](_0x51cfce[_0x1b7778(0x117)],_0x4ff230));}});})();}module[a39_0x22d653(0x164)]=run;