browserstack-node-sdk 1.49.12 → 1.50.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (186) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +2 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  115. package/src/bin/v2/framework/testFramework.js +1 -1
  116. package/src/bin/v2/grpcClient.js +1 -1
  117. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/trackedContext.js +1 -1
  120. package/src/bin/v2/instances/trackedInstance.js +1 -1
  121. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  122. package/src/bin/v2/modules/baseModule.js +1 -1
  123. package/src/bin/v2/modules/loadTestModule.js +1 -1
  124. package/src/bin/v2/modules/observabilityModule.js +1 -1
  125. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  126. package/src/bin/v2/modules/testhubModule.js +1 -1
  127. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  128. package/src/bin/v2/state/hookState.js +1 -1
  129. package/src/bin/v2/state/testFrameworkState.js +1 -1
  130. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  131. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  132. package/src/bin/v2/utils/jest-utils.js +1 -1
  133. package/src/bin/vanilla-js/command.js +1 -1
  134. package/src/browserStackSdk.js +1 -1
  135. package/src/helpers/BrowserStackSetup.js +1 -1
  136. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  137. package/src/helpers/accessibility-automation/constants.js +1 -1
  138. package/src/helpers/accessibility-automation/helper.js +1 -1
  139. package/src/helpers/accessibility-automation/scripts.js +1 -1
  140. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  141. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  142. package/src/helpers/ats/constants.js +1 -1
  143. package/src/helpers/ats/helper.js +1 -1
  144. package/src/helpers/capsMapping.js +1 -1
  145. package/src/helpers/central-scanner/constants.js +1 -1
  146. package/src/helpers/central-scanner/helpers.js +1 -1
  147. package/src/helpers/classLogger.js +1 -1
  148. package/src/helpers/globals.js +1 -1
  149. package/src/helpers/helper.js +1 -1
  150. package/src/helpers/logger.js +1 -1
  151. package/src/helpers/metadata.js +1 -1
  152. package/src/helpers/patchHelper.js +1 -1
  153. package/src/helpers/patchHelpers.js +1 -1
  154. package/src/helpers/percy/Percy.js +1 -1
  155. package/src/helpers/percy/PercyBinary.js +1 -1
  156. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  157. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  158. package/src/helpers/percy/PercySDK.js +1 -1
  159. package/src/helpers/percy/index.js +1 -1
  160. package/src/helpers/percy/utils.js +1 -1
  161. package/src/helpers/performance/constants.js +1 -1
  162. package/src/helpers/performance/performance-tester.js +1 -1
  163. package/src/helpers/playwright-helper.js +1 -1
  164. package/src/helpers/processHelper.js +1 -1
  165. package/src/helpers/request-spy.js +1 -1
  166. package/src/helpers/setKeepAlive.js +1 -1
  167. package/src/helpers/test-observability/constants.js +1 -1
  168. package/src/helpers/test-observability/error-handler.js +1 -1
  169. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  170. package/src/helpers/test-observability/sessionHandler.js +1 -1
  171. package/src/helpers/test-observability/utils.js +1 -1
  172. package/src/helpers/test-orchestration/constants.js +1 -1
  173. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  174. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  175. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  176. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  177. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  178. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  179. package/src/helpers/testhub/constants.js +1 -1
  180. package/src/helpers/testhub/testhubHandler.js +1 -1
  181. package/src/helpers/testhub/utils.js +1 -1
  182. package/src/helpers/timeoutPromise.js +1 -1
  183. package/src/helpers/utilities.js +1 -1
  184. package/src/helpers/w3cMapping.js +1 -1
  185. package/src/hubAllocationMethods.js +1 -1
  186. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a33_0x403b(){const _0x2c7754=['dxJzu','BqBPN','browserStackLogLevel','quitCount_','set','then','Proxy\x20set\x20to\x20','HttpClient','firefoxOptions','mUvQT','debug','1710082kSuNXH','CAPABILITY_KEY','ieOptions_','sqSBj','setCapabilities','getGlobal','options_','safari.options','XQvoH','url_','Modifying\x20webdriver\x20builder','originalBuilder','__setBrowserOptions','mPtxT','proxyUrl','__driversArray','se:ieOptions','WCbLV','capabilities_','edgeOptions_','LByDp','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','build','proxySettings','caps_','jrevJ','session_','../accessibility-automation/helper','moz:firefoxOptions','zfGpo','eCdXC','OqZFg','GpudX','updateHubUrl','isAccessibilityPlatform','EwsXK','UAxOj','exports','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','../../../helpers/patchHelpers','brCfR','448659DpXODG','ieOptions','safariOptions_','./helpers/patchHelper','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','rwMFL','EQxBH','6PfeEOf','global','../../../helpers/globals','Builder','/session','requireHttpClient','requireSeleniumWebdriver','/wd/hub','getAccessibilityResults','New\x20hub\x20url\x20set\x20to\x20','overrideGet','hGNDl','100DlJfVw','split','forEach','sKSyY','getAccessibilityResultsSummary','firefoxOptions_','__driver','CjhFi','14628550NIbyLJ','setServer','getRequestOptions','GVsqB','135MbCoTS','chromeOptions_','__drivers','ms:edgeOptions','getHubUrl','isPacProxy','get','mergeDeep','WcoTF','../../../hubAllocationMethods','logLevel','ugnWc','uATkg','capability','send','browserstackAgentObservability','push','setGlobal','Hub\x20url\x20set\x20to\x20','21SMjrvO','newHubUrl','winstonLogger','agent_','setLogLevel','36OLPREN','proxy_','../../../helpers/helper','IQkJC','chromeOptions','4922390VszaaQ','Setting\x20Browserstack\x20capabilities','26141vgVWtf','isUndefined','mCzQp','4|1|0|5|2|3','987032NulnNu','ZIina','info','4360NSgNOV','UrVLH','../../../bin/utils/constants','BGzkH','isBrowserstackInfra','optimalHubUrl','wNFfQ'];a33_0x403b=function(){return _0x2c7754;};return a33_0x403b();}const a33_0x36a00e=a33_0x220a;(function(_0x49006f,_0x2270a8){const _0x11b12f=a33_0x220a,_0x528037=_0x49006f();while(!![]){try{const _0x1cf7f4=-parseInt(_0x11b12f(0x14e))/0x1*(-parseInt(_0x11b12f(0x1a3))/0x2)+parseInt(_0x11b12f(0x1af))/0x3*(-parseInt(_0x11b12f(0x155))/0x4)+-parseInt(_0x11b12f(0x14c))/0x5*(-parseInt(_0x11b12f(0x197))/0x6)+-parseInt(_0x11b12f(0x142))/0x7*(-parseInt(_0x11b12f(0x152))/0x8)+parseInt(_0x11b12f(0x190))/0x9+-parseInt(_0x11b12f(0x1ab))/0xa+parseInt(_0x11b12f(0x167))/0xb*(-parseInt(_0x11b12f(0x147))/0xc);if(_0x1cf7f4===_0x2270a8)break;else _0x528037['push'](_0x528037['shift']());}catch(_0x35ecaa){_0x528037['push'](_0x528037['shift']());}}}(a33_0x403b,0xb3029));function a33_0x220a(_0x3f5587,_0x5c4e60){const _0x403bd9=a33_0x403b();return a33_0x220a=function(_0x220a36,_0x17dd25){_0x220a36=_0x220a36-0x131;let _0xb22ad1=_0x403bd9[_0x220a36];return _0xb22ad1;},a33_0x220a(_0x3f5587,_0x5c4e60);}const logger=require('../../../helpers/logger')[a33_0x36a00e(0x144)],helper=require(a33_0x36a00e(0x149)),constants=require(a33_0x36a00e(0x157)),hubAllocator=require(a33_0x36a00e(0x138)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a33_0x36a00e(0x18e)),{setAccessibilityCapabilities,setExtension}=require(a33_0x36a00e(0x182)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require(a33_0x36a00e(0x199)),{overrideExecute}=require(a33_0x36a00e(0x193)),modify=(_0x1531d9,_0x2c6e41=null,_0x3a6c14=![])=>{const _0x25190d=a33_0x36a00e,_0x4c9344={'OqZFg':function(_0x146d1e,_0x56492c){return _0x146d1e!==_0x56492c;},'sKSyY':_0x25190d(0x19b),'eTWuh':function(_0x50f774,_0x3c3dfb){return _0x50f774!==_0x3c3dfb;},'XQvoH':function(_0x38af30,_0x524d85){return _0x38af30+_0x524d85;},'rwMFL':function(_0x32c81b,_0x4f0db8){return _0x32c81b+_0x4f0db8;},'mPtxT':'https://','wNFfQ':_0x25190d(0x19e),'ugnWc':'goog:chromeOptions','ZIina':_0x25190d(0x14b),'byxOL':_0x25190d(0x132),'uATkg':'edgeOptions','OxDJP':_0x25190d(0x183),'lOVao':_0x25190d(0x164),'RIgPf':_0x25190d(0x16e),'GpudX':_0x25190d(0x177),'GWfkL':_0x25190d(0x191),'UAxOj':function(_0x25b1de,_0xe2fb8d){return _0x25b1de===_0xe2fb8d;},'CjhFi':'object','GVsqB':_0x25190d(0x14d),'eCdXC':_0x25190d(0x151),'jrevJ':function(_0x4417fd,_0x4e4176){return _0x4417fd(_0x4e4176);},'BGzkH':function(_0x3858cd,_0x3c3f33,_0x136db7){return _0x3858cd(_0x3c3f33,_0x136db7);},'nOzvk':function(_0xfbca97,_0x5a5cf8,_0x15d5be){return _0xfbca97(_0x5a5cf8,_0x15d5be);},'WCbLV':_0x25190d(0x15a),'sqSBj':_0x25190d(0x18d),'UrVLH':function(_0x3b86bf,_0xbd9eb,_0x5d6be4){return _0x3b86bf(_0xbd9eb,_0x5d6be4);},'mCzQp':'2|3|4|1|5|0','VCnwf':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','IQkJC':function(_0x47bc04){return _0x47bc04();},'EwsXK':_0x25190d(0x189),'LByDp':function(_0x43d1a5,_0x3831f5,_0x15a440){return _0x43d1a5(_0x3831f5,_0x15a440);},'zfGpo':function(_0x109dd2,_0x4ec2c1){return _0x109dd2(_0x4ec2c1);},'VUuyl':function(_0x23b66d,_0x1320d1,_0x4d219f){return _0x23b66d(_0x1320d1,_0x4d219f);},'DdXHI':function(_0x3df7fd,_0x2141ee){return _0x3df7fd!==_0x2141ee;},'brCfR':function(_0x19e4bc,_0x20ae98){return _0x19e4bc!==_0x20ae98;},'hGNDl':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','BqBPN':_0x25190d(0x171)},_0x336408=helper[_0x25190d(0x19c)]();let _0x5c9680;try{_0x5c9680=helper[_0x25190d(0x19d)](),_0x5c9680[_0x25190d(0x172)]&&(_0x5c9680[_0x25190d(0x19a)]=_0x5c9680['originalBuilder']);}catch(_0x3c395c){return;}if(helper[_0x25190d(0x159)]()){const _0x8520b8={};_0x8520b8[_0x25190d(0x139)]=_0x1531d9[_0x25190d(0x15e)],helper[_0x25190d(0x146)](_0x8520b8,new Map(),new Map()),logger[_0x25190d(0x154)](_0x4c9344[_0x25190d(0x1a2)]),logger['debug'](_0x4c9344[_0x25190d(0x15d)]);}class _0x572c4a extends _0x336408[_0x25190d(0x163)]{['send'](_0x52898a){const _0x57547f=_0x25190d;if(_0x4c9344[_0x57547f(0x186)](_0x52898a['path'],_0x4c9344[_0x57547f(0x1a6)])&&_0x4c9344['eTWuh'](global[_0x57547f(0x143)],''))try{global['newHubUrl']=_0x4c9344[_0x57547f(0x16f)](_0x4c9344[_0x57547f(0x195)](_0x4c9344[_0x57547f(0x174)],global[_0x57547f(0x143)]),_0x4c9344[_0x57547f(0x15b)]),this[_0x57547f(0x16d)]=hubAllocator[_0x57547f(0x1ad)](global[_0x57547f(0x143)]),logger['debug'](_0x57547f(0x1a0)+global[_0x57547f(0x143)]),global[_0x57547f(0x143)]='';}catch(_0x5aeadc){logger['error'](_0x5aeadc);}return super[_0x57547f(0x13d)](_0x52898a);}}class _0x23be1c extends _0x5c9680['Builder']{[_0x25190d(0x1ac)](){const _0x181638=_0x25190d;return this[_0x181638(0x170)]=helper[_0x181638(0x133)](_0x1531d9),logger[_0x181638(0x166)](_0x181638(0x141)+this['url_']),this;}['__setBrowserOptions'](_0x3d27fa){const _0x21f02d=_0x25190d;let _0x2c3018={};for(const _0x50e0f5 in _0x3d27fa){switch(_0x50e0f5){case _0x4c9344[_0x21f02d(0x13a)]:case _0x4c9344[_0x21f02d(0x153)]:this[_0x21f02d(0x1b0)]&&(_0x2c3018=this['chromeOptions_'][_0x21f02d(0x135)](this[_0x21f02d(0x1b0)][_0x21f02d(0x168)])||{},this[_0x21f02d(0x1b0)][_0x21f02d(0x160)](this[_0x21f02d(0x1b0)][_0x21f02d(0x168)],helper['mergeDeep'](_0x2c3018,_0x3d27fa[_0x50e0f5])));break;case _0x4c9344['byxOL']:case _0x4c9344[_0x21f02d(0x13b)]:this[_0x21f02d(0x17a)]&&(_0x2c3018=this[_0x21f02d(0x17a)][_0x21f02d(0x135)](this[_0x21f02d(0x17a)]['CAPABILITY_KEY'])||{},this['edgeOptions_'][_0x21f02d(0x160)](this[_0x21f02d(0x17a)][_0x21f02d(0x168)],helper[_0x21f02d(0x136)](_0x2c3018,_0x3d27fa[_0x50e0f5])));break;case _0x4c9344['OxDJP']:case _0x4c9344['lOVao']:this[_0x21f02d(0x1a8)]&&(_0x2c3018=this[_0x21f02d(0x1a8)][_0x21f02d(0x135)](this[_0x21f02d(0x1a8)][_0x21f02d(0x168)])||{},this[_0x21f02d(0x1a8)][_0x21f02d(0x160)](this[_0x21f02d(0x1a8)][_0x21f02d(0x168)],helper['mergeDeep'](_0x2c3018,_0x3d27fa[_0x50e0f5])));break;case _0x4c9344['RIgPf']:this[_0x21f02d(0x192)]&&(_0x2c3018=this[_0x21f02d(0x192)][_0x21f02d(0x135)](this['safariOptions_']['CAPABILITY_KEY'])||{},this[_0x21f02d(0x192)]['set'](this[_0x21f02d(0x192)][_0x21f02d(0x168)],helper['mergeDeep'](_0x2c3018,_0x3d27fa[_0x50e0f5])));break;case _0x4c9344[_0x21f02d(0x187)]:case _0x4c9344['GWfkL']:this[_0x21f02d(0x169)]&&(_0x2c3018=this['ieOptions_'][_0x21f02d(0x135)](this[_0x21f02d(0x169)][_0x21f02d(0x168)])||{},this['ieOptions_'][_0x21f02d(0x160)](this[_0x21f02d(0x169)][_0x21f02d(0x168)],helper[_0x21f02d(0x136)](_0x2c3018,_0x3d27fa[_0x50e0f5])));break;}}}[_0x25190d(0x16b)](){const _0x11e280=_0x25190d,_0x3a265a={'mUvQT':function(_0x5499d6,_0x379b2d){const _0x234d49=a33_0x220a;return _0x4c9344[_0x234d49(0x18b)](_0x5499d6,_0x379b2d);},'EQxBH':_0x4c9344[_0x11e280(0x1aa)]};return logger[_0x11e280(0x166)](_0x4c9344[_0x11e280(0x1ae)]),this[_0x11e280(0x173)](_0x1531d9[_0x11e280(0x13c)]),Object['keys'](_0x1531d9[_0x11e280(0x13c)])[_0x11e280(0x1a5)](_0x3b4e4e=>{const _0x50d531=_0x11e280,_0x4916bb=this[_0x50d531(0x179)]['get'](_0x3b4e4e);_0x3a265a[_0x50d531(0x165)](typeof _0x4916bb,_0x3a265a[_0x50d531(0x196)])?this[_0x50d531(0x179)][_0x50d531(0x160)](_0x3b4e4e,helper[_0x50d531(0x136)](_0x4916bb,_0x1531d9[_0x50d531(0x13c)][_0x3b4e4e])):this[_0x50d531(0x179)]['set'](_0x3b4e4e,_0x1531d9['capability'][_0x3b4e4e]);}),this;}[_0x25190d(0x17d)](){const _0xa65d3e=_0x25190d,_0x5eff31={'SIwVa':_0x4c9344[_0xa65d3e(0x178)],'xXsEW':_0x4c9344[_0xa65d3e(0x16a)],'WcoTF':function(_0x434b93,_0x38bce5,_0x276472){const _0x940e45=_0xa65d3e;return _0x4c9344[_0x940e45(0x158)](_0x434b93,_0x38bce5,_0x276472);},'CCVet':function(_0x583de3,_0xd35de3,_0x1aeb4c){const _0x401de4=_0xa65d3e;return _0x4c9344[_0x401de4(0x158)](_0x583de3,_0xd35de3,_0x1aeb4c);},'dxJzu':function(_0x61444b,_0xcbc705,_0x30bffc){const _0x167f07=_0xa65d3e;return _0x4c9344[_0x167f07(0x156)](_0x61444b,_0xcbc705,_0x30bffc);}};if(helper['isBrowserstackInfra']()){const _0x4deab7=_0x4c9344[_0xa65d3e(0x150)][_0xa65d3e(0x1a4)]('|');let _0x25fc62=0x0;while(!![]){switch(_0x4deab7[_0x25fc62++]){case'0':logger[_0xa65d3e(0x166)](_0x4c9344['VCnwf']);continue;case'1':if(helper[_0xa65d3e(0x134)](_0x1531d9['proxySettings'][_0xa65d3e(0x175)]))this[_0xa65d3e(0x145)]=helper['getHttpAgent'](_0x1531d9[_0xa65d3e(0x17e)][_0xa65d3e(0x175)]);else _0x1531d9[_0xa65d3e(0x17e)][_0xa65d3e(0x175)]&&(this[_0xa65d3e(0x148)]=_0x1531d9[_0xa65d3e(0x17e)][_0xa65d3e(0x175)],logger[_0xa65d3e(0x166)](_0xa65d3e(0x162)+this[_0xa65d3e(0x148)]));continue;case'2':_0x4c9344[_0xa65d3e(0x14a)](isAccessibilityAutomationSession)&&_0x4c9344[_0xa65d3e(0x180)](setAccessibilityCapabilities,_0x1531d9);continue;case'3':this[_0xa65d3e(0x1ac)]();continue;case'4':this[_0xa65d3e(0x16b)]();continue;case'5':globals[_0xa65d3e(0x16c)](_0x4c9344[_0xa65d3e(0x18a)])&&(!_0x4c9344[_0xa65d3e(0x17b)](setExtension,this,_0x1531d9)&&globals[_0xa65d3e(0x140)](_0x4c9344[_0xa65d3e(0x18a)],![]));continue;}break;}}const _0x3334a2=super[_0xa65d3e(0x17d)]();return _0x3334a2[_0xa65d3e(0x181)][_0xa65d3e(0x161)](_0x3e404b=>{const _0xcef03a=_0xa65d3e;try{const _0x536935=_0x3e404b[_0xcef03a(0x17f)]['get'](_0x5eff31['SIwVa']);_0x536935?(logger['debug'](_0xcef03a(0x194)+_0x536935),hubAllocator[_0xcef03a(0x188)](_0x536935),helper['storeOptimalHubUrl'](_0x536935)):logger[_0xcef03a(0x166)](_0x5eff31['xXsEW']);}catch(_0x4b11ae){logger[_0xcef03a(0x166)](_0xcef03a(0x17c)+_0x4b11ae);}}),_0x3334a2[_0xa65d3e(0x15f)]=0x0,_0x3334a2[_0xa65d3e(0x161)]&&_0x3334a2[_0xa65d3e(0x161)](_0x548682=>{const _0x4af35a=_0xa65d3e,_0x288010=_0x4c9344[_0x4af35a(0x185)][_0x4af35a(0x1a4)]('|');let _0x1689b7=0x0;while(!![]){switch(_0x288010[_0x1689b7++]){case'0':helper[_0x4af35a(0x1a1)](_0x548682,_0x1531d9);continue;case'1':_0x4c9344[_0x4af35a(0x180)](overrideTakeScreenshot,_0x548682);continue;case'2':_0x548682['getAccessibilityResultsSummary']=async()=>{const _0x10ea76=_0x4af35a;return await _0x5eff31[_0x10ea76(0x137)](getAccessibilityResultsSummary,_0x548682,global);};continue;case'3':_0x548682[_0x4af35a(0x19f)]=async()=>{return await _0x5eff31['CCVet'](getAccessibilityResults,_0x548682,global);};continue;case'4':_0x4c9344['BGzkH'](overrideQuit,_0x548682,_0x3334a2);continue;case'5':_0x4c9344['nOzvk'](overrideExecute,_0x548682,_0x1531d9);continue;}break;}}),_0x3334a2[_0xa65d3e(0x1a7)]=async()=>{const _0xf2e9e7=_0xa65d3e;return await _0x5eff31[_0xf2e9e7(0x15c)](getAccessibilityResultsSummary,_0x3334a2,global);},_0x3334a2['getAccessibilityResults']=async()=>{const _0x869b87=_0xa65d3e;return await _0x4c9344[_0x869b87(0x158)](getAccessibilityResults,_0x3334a2,global);},_0x4c9344[_0xa65d3e(0x184)](overrideTakeScreenshot,_0x3334a2),_0x4c9344[_0xa65d3e(0x184)](overrideQuit,_0x3334a2),helper[_0xa65d3e(0x1a1)](_0x3334a2,_0x1531d9),_0x4c9344['VUuyl'](overrideExecute,_0x3334a2,_0x1531d9),helper[_0xa65d3e(0x14f)](global['__driversArray'])&&(global[_0xa65d3e(0x176)]=[]),helper[_0xa65d3e(0x14f)](global[_0xa65d3e(0x131)])&&(global[_0xa65d3e(0x131)]=[]),global[_0xa65d3e(0x176)][_0xa65d3e(0x13f)](_0x3334a2),global[_0xa65d3e(0x1a9)]=_0x3334a2,_0x4c9344['DdXHI'](global['__drivers'],undefined)&&global['__drivers'][_0xa65d3e(0x13f)](_0x3334a2),_0x2c6e41&&helper[_0xa65d3e(0x14f)](_0x2c6e41['global']['__driversArray'])&&(_0x2c6e41['global'][_0xa65d3e(0x176)]=[]),_0x2c6e41&&_0x4c9344[_0xa65d3e(0x18f)](_0x2c6e41[_0xa65d3e(0x198)][_0xa65d3e(0x131)],undefined)&&(_0x2c6e41[_0xa65d3e(0x198)]['__drivers'][_0xa65d3e(0x13f)](_0x3334a2),_0x2c6e41['global'][_0xa65d3e(0x176)][_0xa65d3e(0x13f)](_0x3334a2)),_0x3334a2;}}return _0x5c9680['originalBuilder']=_0x5c9680[_0x25190d(0x19a)],_0x5c9680['Builder']=_0x23be1c,_0x336408[_0x25190d(0x163)]=_0x572c4a,_0x5c9680;};module[a33_0x36a00e(0x18c)][a33_0x36a00e(0x13e)]=modify;
1
+ const a33_0x22448e=a33_0x586f;(function(_0x3d98dd,_0x182372){const _0x41dd51=a33_0x586f,_0x34a54c=_0x3d98dd();while(!![]){try{const _0x427b15=parseInt(_0x41dd51(0x11b))/0x1*(-parseInt(_0x41dd51(0xf0))/0x2)+parseInt(_0x41dd51(0xf8))/0x3+parseInt(_0x41dd51(0x10f))/0x4+-parseInt(_0x41dd51(0x10b))/0x5*(-parseInt(_0x41dd51(0xf7))/0x6)+-parseInt(_0x41dd51(0xef))/0x7*(parseInt(_0x41dd51(0xf2))/0x8)+parseInt(_0x41dd51(0x117))/0x9+-parseInt(_0x41dd51(0xfd))/0xa;if(_0x427b15===_0x182372)break;else _0x34a54c['push'](_0x34a54c['shift']());}catch(_0x22bce8){_0x34a54c['push'](_0x34a54c['shift']());}}}(a33_0x3b25,0x8b4e3));const logger=require(a33_0x22448e(0xb9))[a33_0x22448e(0xe4)],helper=require(a33_0x22448e(0x118)),constants=require(a33_0x22448e(0xc2)),hubAllocator=require(a33_0x22448e(0xfc)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a33_0x22448e(0xcf)),{setAccessibilityCapabilities,setExtension}=require(a33_0x22448e(0xd2)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a33_0x22448e(0xd3)),globals=require('../../../helpers/globals'),{overrideExecute}=require(a33_0x22448e(0xd7)),modify=(_0x3e5a13,_0x5f0c05=null,_0x30b390=![])=>{const _0x173cf5=a33_0x22448e,_0x2b6098={'BQZhm':function(_0x393d2e,_0x38686e){return _0x393d2e!==_0x38686e;},'uaYxW':_0x173cf5(0x108),'aaIOh':function(_0x120fe0,_0x58aeb0){return _0x120fe0!==_0x58aeb0;},'NVeyp':function(_0x14dd4f,_0x1a8833){return _0x14dd4f+_0x1a8833;},'dWadP':'https://','fzUri':'/wd/hub','lzRUW':'goog:chromeOptions','VrLkE':_0x173cf5(0xe6),'ggVhL':'ms:edgeOptions','xUtBf':_0x173cf5(0xe8),'lyxmk':'moz:firefoxOptions','pnFEI':_0x173cf5(0xeb),'Cxdqe':_0x173cf5(0xf6),'xLDsA':'se:ieOptions','bKXES':_0x173cf5(0xf5),'Bckdq':function(_0x4f9a60,_0x4bc62a){return _0x4f9a60===_0x4bc62a;},'bLoZG':'object','qofIe':_0x173cf5(0x100),'RhRXl':_0x173cf5(0xb7),'TEDQx':function(_0x3d15d1,_0x285c30){return _0x3d15d1(_0x285c30);},'gBTQC':function(_0x1aed70,_0x27c337,_0x48e2a2){return _0x1aed70(_0x27c337,_0x48e2a2);},'ybbrp':function(_0x4af556,_0x13648b,_0xf0989a){return _0x4af556(_0x13648b,_0xf0989a);},'jzPUj':'optimalHubUrl','gGYVf':_0x173cf5(0xf4),'WvdCn':function(_0x5ab8b3,_0x39278f,_0x5bc24c){return _0x5ab8b3(_0x39278f,_0x5bc24c);},'WZpVe':_0x173cf5(0x123),'VZjuB':_0x173cf5(0xe7),'RGxQe':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','amSsV':function(_0x4eee34){return _0x4eee34();},'aHtaE':function(_0x3114fd,_0x22ca06){return _0x3114fd(_0x22ca06);},'VxikH':function(_0x55cb2b,_0x477fbe){return _0x55cb2b(_0x477fbe);},'volGs':function(_0x28eb98,_0xbea075,_0x1b6ab0){return _0x28eb98(_0xbea075,_0x1b6ab0);},'bySFU':function(_0x12e0c0,_0x24468f){return _0x12e0c0!==_0x24468f;},'MPpwX':_0x173cf5(0x10d),'DJYAI':_0x173cf5(0xed)},_0x5e497e=helper[_0x173cf5(0x127)]();let _0x2ad076;try{_0x2ad076=helper['requireSeleniumWebdriver'](),_0x2ad076[_0x173cf5(0x11e)]&&(_0x2ad076[_0x173cf5(0x11f)]=_0x2ad076[_0x173cf5(0x11e)]);}catch(_0xb0ff7b){return;}if(helper['isBrowserstackInfra']()){const _0x5724dc={};_0x5724dc[_0x173cf5(0x115)]=_0x3e5a13[_0x173cf5(0xdd)],helper[_0x173cf5(0xbf)](_0x5724dc,new Map(),new Map()),logger['info'](_0x2b6098['MPpwX']),logger[_0x173cf5(0xec)](_0x2b6098[_0x173cf5(0x120)]);}class _0x1c0640 extends _0x5e497e[_0x173cf5(0x111)]{[_0x173cf5(0x103)](_0x267106){const _0x764673=_0x173cf5;if(_0x2b6098[_0x764673(0xe1)](_0x267106[_0x764673(0xea)],_0x2b6098[_0x764673(0x113)])&&_0x2b6098['aaIOh'](global[_0x764673(0x12b)],''))try{global[_0x764673(0x12b)]=_0x2b6098[_0x764673(0x109)](_0x2b6098[_0x764673(0x109)](_0x2b6098[_0x764673(0xe5)],global['newHubUrl']),_0x2b6098[_0x764673(0x10a)]),this['options_']=hubAllocator[_0x764673(0x12a)](global[_0x764673(0x12b)]),logger[_0x764673(0xec)](_0x764673(0xc4)+global[_0x764673(0x12b)]),global['newHubUrl']='';}catch(_0x24fa8b){logger[_0x764673(0xcd)](_0x24fa8b);}return super[_0x764673(0x103)](_0x267106);}}class _0x45c248 extends _0x2ad076[_0x173cf5(0x11f)]{[_0x173cf5(0xd0)](){const _0x58ffe7=_0x173cf5;return this[_0x58ffe7(0xd4)]=helper[_0x58ffe7(0xe0)](_0x3e5a13),logger[_0x58ffe7(0xec)](_0x58ffe7(0x122)+this[_0x58ffe7(0xd4)]),this;}[_0x173cf5(0x131)](_0x525392){const _0x3c0fbf=_0x173cf5;let _0x38b8a6={};for(const _0xf5c5f3 in _0x525392){switch(_0xf5c5f3){case _0x2b6098[_0x3c0fbf(0xde)]:case _0x2b6098[_0x3c0fbf(0x130)]:this[_0x3c0fbf(0xd5)]&&(_0x38b8a6=this[_0x3c0fbf(0xd5)]['get'](this[_0x3c0fbf(0xd5)][_0x3c0fbf(0xc9)])||{},this[_0x3c0fbf(0xd5)]['set'](this[_0x3c0fbf(0xd5)][_0x3c0fbf(0xc9)],helper[_0x3c0fbf(0xce)](_0x38b8a6,_0x525392[_0xf5c5f3])));break;case _0x2b6098[_0x3c0fbf(0x116)]:case _0x2b6098[_0x3c0fbf(0xb8)]:this['edgeOptions_']&&(_0x38b8a6=this[_0x3c0fbf(0xba)][_0x3c0fbf(0xd6)](this[_0x3c0fbf(0xba)][_0x3c0fbf(0xc9)])||{},this['edgeOptions_'][_0x3c0fbf(0xdf)](this[_0x3c0fbf(0xba)][_0x3c0fbf(0xc9)],helper[_0x3c0fbf(0xce)](_0x38b8a6,_0x525392[_0xf5c5f3])));break;case _0x2b6098[_0x3c0fbf(0x12f)]:case _0x2b6098[_0x3c0fbf(0xd9)]:this[_0x3c0fbf(0xe3)]&&(_0x38b8a6=this['firefoxOptions_']['get'](this[_0x3c0fbf(0xe3)][_0x3c0fbf(0xc9)])||{},this[_0x3c0fbf(0xe3)][_0x3c0fbf(0xdf)](this[_0x3c0fbf(0xe3)][_0x3c0fbf(0xc9)],helper['mergeDeep'](_0x38b8a6,_0x525392[_0xf5c5f3])));break;case _0x2b6098['Cxdqe']:this[_0x3c0fbf(0xc7)]&&(_0x38b8a6=this[_0x3c0fbf(0xc7)][_0x3c0fbf(0xd6)](this['safariOptions_']['CAPABILITY_KEY'])||{},this[_0x3c0fbf(0xc7)][_0x3c0fbf(0xdf)](this[_0x3c0fbf(0xc7)][_0x3c0fbf(0xc9)],helper[_0x3c0fbf(0xce)](_0x38b8a6,_0x525392[_0xf5c5f3])));break;case _0x2b6098[_0x3c0fbf(0xc3)]:case _0x2b6098[_0x3c0fbf(0xf9)]:this[_0x3c0fbf(0xbd)]&&(_0x38b8a6=this['ieOptions_'][_0x3c0fbf(0xd6)](this[_0x3c0fbf(0xbd)][_0x3c0fbf(0xc9)])||{},this['ieOptions_'][_0x3c0fbf(0xdf)](this['ieOptions_'][_0x3c0fbf(0xc9)],helper['mergeDeep'](_0x38b8a6,_0x525392[_0xf5c5f3])));break;}}}[_0x173cf5(0x128)](){const _0x3548d2=_0x173cf5;return logger[_0x3548d2(0xec)](_0x2b6098[_0x3548d2(0x10e)]),this[_0x3548d2(0x131)](_0x3e5a13[_0x3548d2(0xc8)]),Object[_0x3548d2(0xe2)](_0x3e5a13[_0x3548d2(0xc8)])[_0x3548d2(0x125)](_0x95c328=>{const _0x30c7a6=_0x3548d2,_0x106e2a=this[_0x30c7a6(0xd1)][_0x30c7a6(0xd6)](_0x95c328);_0x2b6098[_0x30c7a6(0xda)](typeof _0x106e2a,_0x2b6098[_0x30c7a6(0x11a)])?this[_0x30c7a6(0xd1)][_0x30c7a6(0xdf)](_0x95c328,helper[_0x30c7a6(0xce)](_0x106e2a,_0x3e5a13[_0x30c7a6(0xc8)][_0x95c328])):this[_0x30c7a6(0xd1)]['set'](_0x95c328,_0x3e5a13[_0x30c7a6(0xc8)][_0x95c328]);}),this;}[_0x173cf5(0xbc)](){const _0x2fe8bd=_0x173cf5,_0xced6a7={'EGTPr':_0x2b6098[_0x2fe8bd(0xc6)],'hWfNo':_0x2b6098[_0x2fe8bd(0x12e)],'VdDeX':function(_0x548881,_0x363e55,_0x19fb79){const _0x4d5f4f=_0x2fe8bd;return _0x2b6098[_0x4d5f4f(0xfa)](_0x548881,_0x363e55,_0x19fb79);}};if(helper['isBrowserstackInfra']()){const _0x495a54=_0x2b6098[_0x2fe8bd(0x101)][_0x2fe8bd(0x121)]('|');let _0xab0eec=0x0;while(!![]){switch(_0x495a54[_0xab0eec++]){case'0':this['setCapabilities']();continue;case'1':this[_0x2fe8bd(0xd0)]();continue;case'2':globals[_0x2fe8bd(0x119)](_0x2b6098[_0x2fe8bd(0x110)])&&(!_0x2b6098[_0x2fe8bd(0x124)](setExtension,this,_0x3e5a13)&&globals[_0x2fe8bd(0x104)](_0x2b6098['VZjuB'],![]));continue;case'3':logger[_0x2fe8bd(0xec)](_0x2b6098[_0x2fe8bd(0xfb)]);continue;case'4':_0x2b6098[_0x2fe8bd(0x107)](isAccessibilityAutomationSession)&&_0x2b6098[_0x2fe8bd(0xc0)](setAccessibilityCapabilities,_0x3e5a13);continue;case'5':if(helper[_0x2fe8bd(0x112)](_0x3e5a13[_0x2fe8bd(0xfe)][_0x2fe8bd(0x12d)]))this[_0x2fe8bd(0x11c)]=helper[_0x2fe8bd(0xdb)](_0x3e5a13[_0x2fe8bd(0xfe)][_0x2fe8bd(0x12d)]);else _0x3e5a13[_0x2fe8bd(0xfe)][_0x2fe8bd(0x12d)]&&(this['proxy_']=_0x3e5a13['proxySettings'][_0x2fe8bd(0x12d)],logger[_0x2fe8bd(0xec)]('Proxy\x20set\x20to\x20'+this['proxy_']));continue;}break;}}const _0x5f2a1a=super[_0x2fe8bd(0xbc)]();return _0x5f2a1a[_0x2fe8bd(0x102)][_0x2fe8bd(0x105)](_0x31ec45=>{const _0x2c3d7c=_0x2fe8bd;try{const _0x356245=_0x31ec45[_0x2c3d7c(0xe9)][_0x2c3d7c(0xd6)](_0xced6a7['EGTPr']);_0x356245?(logger['debug'](_0x2c3d7c(0xdc)+_0x356245),hubAllocator[_0x2c3d7c(0x12c)](_0x356245),helper['storeOptimalHubUrl'](_0x356245)):logger[_0x2c3d7c(0xec)](_0xced6a7[_0x2c3d7c(0xbe)]);}catch(_0x449658){logger[_0x2c3d7c(0xec)](_0x2c3d7c(0x129)+_0x449658);}}),_0x5f2a1a['quitCount_']=0x0,_0x5f2a1a[_0x2fe8bd(0x105)]&&_0x5f2a1a[_0x2fe8bd(0x105)](_0x310371=>{const _0x348c55=_0x2fe8bd,_0x4f3346=_0x2b6098[_0x348c55(0xcc)]['split']('|');let _0x243ae7=0x0;while(!![]){switch(_0x4f3346[_0x243ae7++]){case'0':_0x310371[_0x348c55(0xca)]=async()=>{return await _0xced6a7['VdDeX'](getAccessibilityResults,_0x310371,global);};continue;case'1':_0x310371[_0x348c55(0xee)]=async()=>{const _0x597625=_0x348c55;return await _0xced6a7[_0x597625(0xff)](getAccessibilityResultsSummary,_0x310371,global);};continue;case'2':helper[_0x348c55(0xd8)](_0x310371,_0x3e5a13);continue;case'3':_0x2b6098['TEDQx'](overrideTakeScreenshot,_0x310371);continue;case'4':_0x2b6098[_0x348c55(0x124)](overrideQuit,_0x310371,_0x5f2a1a);continue;case'5':_0x2b6098[_0x348c55(0x124)](overrideExecute,_0x310371,_0x3e5a13);continue;}break;}}),_0x5f2a1a[_0x2fe8bd(0xee)]=async()=>{return await _0xced6a7['VdDeX'](getAccessibilityResultsSummary,_0x5f2a1a,global);},_0x5f2a1a['getAccessibilityResults']=async()=>{const _0x1b5f98=_0x2fe8bd;return await _0x2b6098[_0x1b5f98(0x126)](getAccessibilityResults,_0x5f2a1a,global);},_0x2b6098['aHtaE'](overrideTakeScreenshot,_0x5f2a1a),_0x2b6098['VxikH'](overrideQuit,_0x5f2a1a),helper[_0x2fe8bd(0xd8)](_0x5f2a1a,_0x3e5a13),_0x2b6098[_0x2fe8bd(0xf3)](overrideExecute,_0x5f2a1a,_0x3e5a13),helper[_0x2fe8bd(0xc1)](global[_0x2fe8bd(0x106)])&&(global[_0x2fe8bd(0x106)]=[]),helper[_0x2fe8bd(0xc1)](global[_0x2fe8bd(0xc5)])&&(global['__drivers']=[]),global[_0x2fe8bd(0x106)][_0x2fe8bd(0xbb)](_0x5f2a1a),global[_0x2fe8bd(0xcb)]=_0x5f2a1a,_0x2b6098[_0x2fe8bd(0x10c)](global['__drivers'],undefined)&&global['__drivers'][_0x2fe8bd(0xbb)](_0x5f2a1a),_0x5f0c05&&helper[_0x2fe8bd(0xc1)](_0x5f0c05[_0x2fe8bd(0x114)][_0x2fe8bd(0x106)])&&(_0x5f0c05[_0x2fe8bd(0x114)][_0x2fe8bd(0x106)]=[]),_0x5f0c05&&_0x2b6098[_0x2fe8bd(0x11d)](_0x5f0c05[_0x2fe8bd(0x114)][_0x2fe8bd(0xc5)],undefined)&&(_0x5f0c05[_0x2fe8bd(0x114)][_0x2fe8bd(0xc5)][_0x2fe8bd(0xbb)](_0x5f2a1a),_0x5f0c05['global']['__driversArray']['push'](_0x5f2a1a)),_0x5f2a1a;}}return _0x2ad076['originalBuilder']=_0x2ad076[_0x173cf5(0x11f)],_0x2ad076[_0x173cf5(0x11f)]=_0x45c248,_0x5e497e[_0x173cf5(0x111)]=_0x1c0640,_0x2ad076;};function a33_0x586f(_0x5dc7b4,_0x2dd917){const _0x3b25c4=a33_0x3b25();return a33_0x586f=function(_0x586f8c,_0xc722c4){_0x586f8c=_0x586f8c-0xb7;let _0x1cbf64=_0x3b25c4[_0x586f8c];return _0x1cbf64;},a33_0x586f(_0x5dc7b4,_0x2dd917);}module['exports'][a33_0x22448e(0xf1)]=modify;function a33_0x3b25(){const _0x52e01a=['caps_','path','firefoxOptions','debug','Modifying\x20webdriver\x20builder','getAccessibilityResultsSummary','140AMTIPu','313078gUZgkS','browserstackAgentObservability','45336nORTbX','volGs','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','ieOptions','safari.options','588axSHAf','416409kemjKR','bKXES','WvdCn','RGxQe','../../../hubAllocationMethods','9111720NXrmuV','proxySettings','VdDeX','Setting\x20Browserstack\x20capabilities','WZpVe','session_','send','setGlobal','then','__driversArray','amSsV','/session','NVeyp','fzUri','42205BYSUGM','aaIOh','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','qofIe','1164636CaDdxK','VZjuB','HttpClient','isPacProxy','uaYxW','global','logLevel','ggVhL','5859045HpndFu','../../../helpers/helper','getGlobal','bLoZG','2ZXzsGt','agent_','bySFU','originalBuilder','Builder','DJYAI','split','Hub\x20url\x20set\x20to\x20','4|1|0|5|2|3','gBTQC','forEach','ybbrp','requireHttpClient','setCapabilities','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','getRequestOptions','newHubUrl','updateHubUrl','proxyUrl','gGYVf','lyxmk','VrLkE','__setBrowserOptions','4|3|2|5|1|0','xUtBf','../../../helpers/logger','edgeOptions_','push','build','ieOptions_','hWfNo','setLogLevel','TEDQx','isUndefined','../../../bin/utils/constants','xLDsA','New\x20hub\x20url\x20set\x20to\x20','__drivers','jzPUj','safariOptions_','capability','CAPABILITY_KEY','getAccessibilityResults','__driver','RhRXl','error','mergeDeep','../../../helpers/patchHelpers','setServer','capabilities_','../accessibility-automation/helper','../../../helpers/accessibility-automation/helper','url_','chromeOptions_','get','./helpers/patchHelper','overrideGet','pnFEI','Bckdq','getHttpAgent','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','browserStackLogLevel','lzRUW','set','getHubUrl','BQZhm','keys','firefoxOptions_','winstonLogger','dWadP','chromeOptions','isAccessibilityPlatform','edgeOptions'];a33_0x3b25=function(){return _0x52e01a;};return a33_0x3b25();}
@@ -1 +1 @@
1
- const a34_0x30f23c=a34_0x1d82;(function(_0xd3fb5e,_0x87cbb3){const _0x5a2a64=a34_0x1d82,_0x588bc4=_0xd3fb5e();while(!![]){try{const _0x5c1a4b=-parseInt(_0x5a2a64(0xf1))/0x1+-parseInt(_0x5a2a64(0xf0))/0x2+parseInt(_0x5a2a64(0xef))/0x3+parseInt(_0x5a2a64(0xe7))/0x4+parseInt(_0x5a2a64(0xeb))/0x5+-parseInt(_0x5a2a64(0xec))/0x6+parseInt(_0x5a2a64(0xee))/0x7*(parseInt(_0x5a2a64(0xea))/0x8);if(_0x5c1a4b===_0x87cbb3)break;else _0x588bc4['push'](_0x588bc4['shift']());}catch(_0x5ef5c3){_0x588bc4['push'](_0x588bc4['shift']());}}}(a34_0x5181,0x216f4));function a34_0x5181(){const _0x18acf4=['timeout','2527vDdKPh','445056LOGPol','494326EJMyPX','86882KhlpHs','15720JUECMl','../../../bin/utils/constants','AdBAF','6600MJlzTH','177675iGncRF','87894buCLMW'];a34_0x5181=function(){return _0x18acf4;};return a34_0x5181();}const requestSpy=require('../../../helpers/request-spy'),constants=require(a34_0x30f23c(0xe8)),{addRequestSpy}=require('../../../helpers/test-observability/utils');function a34_0x1d82(_0x25419e,_0x450623){const _0x5181ac=a34_0x5181();return a34_0x1d82=function(_0x1d82f6,_0x45be79){_0x1d82f6=_0x1d82f6-0xe7;let _0x4a5da4=_0x5181ac[_0x1d82f6];return _0x4a5da4;},a34_0x1d82(_0x25419e,_0x450623);}exports['mochaHooks']={'beforeAll'(){const _0x24c923=a34_0x30f23c,_0x956ccc={'AdBAF':function(_0x5902f5){return _0x5902f5();}},_0x50a55b='browserstack internal helper hook';_0x956ccc[_0x24c923(0xe9)](addRequestSpy);},'afterAll'(){const _0x5424b9=a34_0x30f23c,_0x3b03c='browserstack internal helper hook';this[_0x5424b9(0xed)](0xea60),requestSpy['restore']();}};
1
+ function a34_0x1d05(){const _0x4d7a0a=['mochaHooks','10215096UIwflY','3495486onPAlw','../../../helpers/test-observability/utils','4796RrLwEk','restore','54992fSrMeZ','288086WYjLKP','../../../helpers/request-spy','9iKEhFd','1704IrfOnz','timeout','qLmHu','153982qAmScP','127540JFSVOm'];a34_0x1d05=function(){return _0x4d7a0a;};return a34_0x1d05();}const a34_0x537557=a34_0x5c72;(function(_0x4831c6,_0x53e19f){const _0xb631f3=a34_0x5c72,_0x5cf2b9=_0x4831c6();while(!![]){try{const _0xd28db6=parseInt(_0xb631f3(0x18b))/0x1+parseInt(_0xb631f3(0x182))/0x2+parseInt(_0xb631f3(0x17f))/0x3*(parseInt(_0xb631f3(0x188))/0x4)+parseInt(_0xb631f3(0x183))/0x5+parseInt(_0xb631f3(0x186))/0x6+-parseInt(_0xb631f3(0x18a))/0x7+parseInt(_0xb631f3(0x185))/0x8*(-parseInt(_0xb631f3(0x18d))/0x9);if(_0xd28db6===_0x53e19f)break;else _0x5cf2b9['push'](_0x5cf2b9['shift']());}catch(_0x232b6f){_0x5cf2b9['push'](_0x5cf2b9['shift']());}}}(a34_0x1d05,0x5a32f));const requestSpy=require(a34_0x537557(0x18c)),constants=require('../../../bin/utils/constants'),{addRequestSpy}=require(a34_0x537557(0x187));function a34_0x5c72(_0x220080,_0x144d1b){const _0x1d0509=a34_0x1d05();return a34_0x5c72=function(_0x5c7274,_0x4601e7){_0x5c7274=_0x5c7274-0x17f;let _0x344f38=_0x1d0509[_0x5c7274];return _0x344f38;},a34_0x5c72(_0x220080,_0x144d1b);}exports[a34_0x537557(0x184)]={'beforeAll'(){const _0x28eeee=a34_0x537557,_0x2ecf8f={'qLmHu':function(_0x2f3035){return _0x2f3035();}},_0x459d94='browserstack internal helper hook';_0x2ecf8f[_0x28eeee(0x181)](addRequestSpy);},'afterAll'(){const _0xbbe841=a34_0x537557,_0x5d6a12='browserstack internal helper hook';this[_0xbbe841(0x180)](0xea60),requestSpy[_0xbbe841(0x189)]();}};
@@ -1 +1 @@
1
- const a35_0x509c56=a35_0x9326;function a35_0x9326(_0x70db12,_0x718fed){const _0xc4d790=a35_0xc4d7();return a35_0x9326=function(_0x932658,_0x2f5f7b){_0x932658=_0x932658-0x10c;let _0xc6e04b=_0xc4d790[_0x932658];return _0xc6e04b;},a35_0x9326(_0x70db12,_0x718fed);}(function(_0x301ab1,_0x53108f){const _0x451f73=a35_0x9326,_0x109662=_0x301ab1();while(!![]){try{const _0x4c0715=-parseInt(_0x451f73(0x112))/0x1+-parseInt(_0x451f73(0x164))/0x2+parseInt(_0x451f73(0x12b))/0x3*(parseInt(_0x451f73(0x11f))/0x4)+-parseInt(_0x451f73(0x14c))/0x5*(-parseInt(_0x451f73(0x129))/0x6)+parseInt(_0x451f73(0x125))/0x7*(-parseInt(_0x451f73(0x134))/0x8)+parseInt(_0x451f73(0x147))/0x9*(parseInt(_0x451f73(0x124))/0xa)+-parseInt(_0x451f73(0x15c))/0xb;if(_0x4c0715===_0x53108f)break;else _0x109662['push'](_0x109662['shift']());}catch(_0x746499){_0x109662['push'](_0x109662['shift']());}}}(a35_0xc4d7,0xbe728));const {v4:uuidv4}=require(a35_0x509c56(0x157)),{name,version}=require(a35_0x509c56(0x163)),logPatcher=require(a35_0x509c56(0x150)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a35_0x509c56(0x144)),{consoleHolder}=require(a35_0x509c56(0x115)),{getPlatformVersion}=require(a35_0x509c56(0x10e)),{shouldProcessEventForTesthub}=require(a35_0x509c56(0x111)),{isFunction}=require('lodash'),{patchConsoleLogger}=require(a35_0x509c56(0x144));function a35_0xc4d7(){const _0x2c3f64=['tests','forEach','PFEWD','uuid','cIsRm','zMdAj','bYWrk','PVAVj','15755839StJznt','split','push','SGisR','getHookSkippedTests','reduce','hook','../../../../package.json','698110wRRyRV','EHSoB','WmJTz','../../../helpers/helper','ToGfm','MJtWk','../../../helpers/testhub/utils','322657wQgHqX','slice','RsBcM','../../../helpers/test-observability/constants','wkvJz','getCapabilities','getSession','markedStatus','getTestEnv','hookAnalyticsId','hook:','state','fromEntries','88GbFkDn','IfVpv','get','type','getBrowserName','85930mwdZPE','54866vZTVJG','mapTestHooks','map_','bEvJP','1902lhdkay','IzHQo','200562ijgSwf','heEeP','bBCKI','getBrowserVersion','indexOf','gcjfM','substring','getPlatform','PbFcs','104voTspg','parent','Zcxdv','suites','getHookDetails','AUIkI','browserstack','generic','pending','unknown_grid','WEQul','passed','JdHIF','emit','UdFDW','rgUXW','../../../helpers/test-observability/utils','_afterAll','js-','414vPDZNn','evWtF','wruYJ','TEST_PLATFORM','__cloud_provider___','17665mcROOV','toJSON','_beforeAll','concat','../../utils/logPatcher','aBLjS','bs:addPlatformDetails:','_afterEach'];a35_0xc4d7=function(){return _0x2c3f64;};return a35_0xc4d7();}patchConsoleLogger(),exports[a35_0x509c56(0x11a)]=()=>{const _0x4d2ec4=a35_0x509c56,_0x4236bf={'njvbr':_0x4d2ec4(0x13b),'EHSoB':function(_0x431329){return _0x431329();}};return{'ci':_0x4236bf['njvbr'],'key':_0x4236bf[_0x4d2ec4(0x10c)](uuidv4),'version':version,'collector':_0x4d2ec4(0x146)+name};},exports[a35_0x509c56(0x138)]=_0x68eb46=>{const _0x5a8d89=a35_0x509c56,_0x3a5434={};_0x3a5434[_0x5a8d89(0x136)]=function(_0x3b839c,_0x520820){return _0x3b839c!==_0x520820;},_0x3a5434['UdFDW']='string',_0x3a5434[_0x5a8d89(0x10d)]=function(_0x33ae3f,_0x529529){return _0x33ae3f!==_0x529529;},_0x3a5434[_0x5a8d89(0x12d)]=_0x5a8d89(0x11c),_0x3a5434['PVAVj']=function(_0x50fa2f,_0x5ee367){return _0x50fa2f!==_0x5ee367;},_0x3a5434[_0x5a8d89(0x159)]=_0x5a8d89(0x162);const _0x57f267=_0x3a5434;if(!_0x68eb46||_0x57f267[_0x5a8d89(0x136)](typeof _0x68eb46,_0x57f267[_0x5a8d89(0x142)]))return[null,null];if(_0x57f267[_0x5a8d89(0x10d)](_0x68eb46[_0x5a8d89(0x12f)](_0x57f267['bBCKI']),-0x1)){const _0x5d61e0=_0x68eb46['split'](_0x57f267['bBCKI']);return[_0x5d61e0[0x0][_0x5a8d89(0x113)](0x0,-0x1)[_0x5a8d89(0x15d)]('\x22')[0x1],_0x5d61e0[0x1][_0x5a8d89(0x131)](0x1)];}else{if(_0x57f267[_0x5a8d89(0x15b)](_0x68eb46[_0x5a8d89(0x12f)](_0x57f267['zMdAj']),-0x1)){const _0x117636=_0x68eb46[_0x5a8d89(0x15d)](_0x57f267[_0x5a8d89(0x159)]);return[_0x117636[0x0][_0x5a8d89(0x113)](0x0,-0x1)[_0x5a8d89(0x15d)]('\x22')[0x1],_0x68eb46];}}return[null,null];},exports['getHooksForTest']=_0x1fa759=>{const _0x64c614=a35_0x509c56,_0x142fbe={'RsBcM':function(_0x290ace,_0x196784){return _0x290ace(_0x196784);},'jseTd':'_beforeAll','IfVpv':_0x64c614(0x145),'AUIkI':'_beforeEach','JdHIF':_0x64c614(0x153)};if(!_0x1fa759||!_0x1fa759['parent'])return[];const _0x5a73da=[];return[_0x142fbe['jseTd'],_0x142fbe[_0x64c614(0x120)],_0x142fbe[_0x64c614(0x139)],_0x142fbe[_0x64c614(0x140)]][_0x64c614(0x155)](_0x223ee8=>{const _0x4941d5=_0x64c614,_0x57a56d=_0x1fa759[_0x4941d5(0x135)][_0x223ee8]||[];_0x57a56d['forEach'](_0x1fba76=>{const _0x430c4b=_0x4941d5;_0x1fba76['hookAnalyticsId']&&!_0x142fbe[_0x430c4b(0x114)](isInternalHook,_0x1fba76['fn'])&&_0x5a73da[_0x430c4b(0x15e)](_0x1fba76[_0x430c4b(0x11b)]);});}),[..._0x5a73da,...exports['getHooksForTest'](_0x1fa759[_0x64c614(0x135)])];},exports[a35_0x509c56(0x126)]=_0x13cb45=>{const _0x1b1d3e=a35_0x509c56,_0x2aba5b={'SGisR':function(_0x2311c5){return _0x2311c5();},'rgUXW':function(_0x5dec7d,_0x27bc48){return _0x5dec7d===_0x27bc48;},'bYWrk':'_afterEach','CuuFh':_0x1b1d3e(0x14e),'gcjfM':_0x1b1d3e(0x145),'PFEWD':'_beforeEach'};if(!_0x13cb45||!_0x13cb45[_0x1b1d3e(0x135)])return;[_0x2aba5b['CuuFh'],_0x2aba5b[_0x1b1d3e(0x130)],_0x2aba5b[_0x1b1d3e(0x156)],_0x2aba5b[_0x1b1d3e(0x15a)]]['forEach'](_0x47b0bf=>{const _0x1f0045=_0x1b1d3e,_0x11da3a=_0x13cb45[_0x1f0045(0x135)][_0x47b0bf]||[];_0x11da3a[_0x1f0045(0x155)](_0x3367fb=>{const _0x43aab6=_0x1f0045;if(!_0x3367fb['hookAnalyticsId'])_0x3367fb[_0x43aab6(0x11b)]=_0x2aba5b[_0x43aab6(0x15f)](uuidv4);else _0x3367fb[_0x43aab6(0x119)]&&_0x2aba5b[_0x43aab6(0x143)](_0x47b0bf,_0x2aba5b[_0x43aab6(0x15a)])&&(_0x3367fb['hookAnalyticsId']=_0x2aba5b['SGisR'](uuidv4),delete _0x3367fb['markedStatus']);});}),exports[_0x1b1d3e(0x126)](_0x13cb45['parent']);},exports['sendPlatformDetails']=async(_0x4a136c,_0x17807a)=>{const _0x39120e=a35_0x509c56,_0x4930cb={'rFAsG':function(_0x35e42f){return _0x35e42f();},'wkvJz':function(_0x7a21f3,_0xd76218){return _0x7a21f3(_0xd76218);},'PbFcs':'platformVersion','wruYJ':function(_0x382a4f,_0x3ba4c6){return _0x382a4f===_0x3ba4c6;},'evWtF':_0x39120e(0x13a),'WEQul':_0x39120e(0x13d),'cIsRm':_0x39120e(0x14a)};try{if(!_0x4930cb['rFAsG'](shouldProcessEventForTesthub))return;const _0x126c65=await _0x4a136c[_0x39120e(0x117)](),_0x1c1089=await _0x4a136c[_0x39120e(0x118)](),_0x5179ba={},_0x59be33=Object[_0x39120e(0x11e)](_0x1c1089[_0x39120e(0x117)]()[_0x39120e(0x127)]),_0x5a49fe={'product':_0x4930cb[_0x39120e(0x116)](getObservabilityLinkedProductName,_0x59be33),'capabilities':_0x59be33,'platform':_0x126c65[_0x39120e(0x132)](),'platform_version':_0x126c65[_0x39120e(0x121)](_0x4930cb['PbFcs'])?_0x126c65['get'](_0x4930cb[_0x39120e(0x133)]):_0x4930cb[_0x39120e(0x116)](getPlatformVersion,_0x4930cb[_0x39120e(0x149)](global[_0x39120e(0x14b)],_0x4930cb[_0x39120e(0x148)])),'browser':_0x126c65[_0x39120e(0x123)](),'browser_version':_0x126c65[_0x39120e(0x12e)](),'session_id':_0x1c1089[_0x39120e(0x14d)]()};global[_0x39120e(0x14b)]?_0x5179ba[global[_0x39120e(0x14b)]]=_0x5a49fe:_0x5179ba[_0x4930cb[_0x39120e(0x13e)]]=_0x5a49fe,process[_0x39120e(0x141)](_0x39120e(0x152)+process['pid'],{'timestamp':new Date()['toISOString'](),'level':null,'message':null,'kind':_0x4930cb[_0x39120e(0x158)],'http_response':_0x5179ba,'uuid':_0x17807a});}catch(_0x33f789){_0x4930cb['wkvJz'](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x33f789);}},exports[a35_0x509c56(0x160)]=_0x158313=>{const _0x30d1b1=a35_0x509c56,_0x1a349f={};_0x1a349f[_0x30d1b1(0x128)]=function(_0x8698d1,_0xb7f78e){return _0x8698d1!==_0xb7f78e;},_0x1a349f['IzHQo']=_0x30d1b1(0x162),_0x1a349f[_0x30d1b1(0x10f)]=function(_0x576bed,_0x40eb66){return _0x576bed!==_0x40eb66;},_0x1a349f[_0x30d1b1(0x12c)]=_0x30d1b1(0x13f),_0x1a349f[_0x30d1b1(0x151)]=function(_0x2add80,_0x35a047){return _0x2add80!==_0x35a047;},_0x1a349f[_0x30d1b1(0x110)]='failed';const _0x4561bd=_0x1a349f,_0x5a8ccc=_0x158313[_0x30d1b1(0x137)][_0x30d1b1(0x161)]((_0x3ca5f5,_0x17553a)=>{const _0x356fea=_0x30d1b1,_0x3baf9d=exports[_0x356fea(0x160)](_0x17553a);return _0x3baf9d&&(_0x3ca5f5=_0x3ca5f5[_0x356fea(0x14f)](_0x3baf9d)),_0x3ca5f5;},[]),_0x831076=_0x158313[_0x30d1b1(0x154)]['filter'](_0x17a232=>{const _0x2c72df=_0x30d1b1,_0x362477=_0x4561bd[_0x2c72df(0x128)](_0x17a232[_0x2c72df(0x122)],_0x4561bd[_0x2c72df(0x12a)])&&!_0x17a232['markedStatus']&&_0x4561bd[_0x2c72df(0x10f)](_0x17a232[_0x2c72df(0x11d)],_0x4561bd[_0x2c72df(0x12c)])&&_0x4561bd[_0x2c72df(0x151)](_0x17a232[_0x2c72df(0x11d)],_0x4561bd[_0x2c72df(0x110)])&&!_0x17a232[_0x2c72df(0x13c)];return _0x362477;});return _0x831076[_0x30d1b1(0x14f)](_0x5a8ccc);};
1
+ const a35_0x19baae=a35_0x2953;(function(_0x407c0d,_0xa6089c){const _0x247d4d=a35_0x2953,_0x2e0800=_0x407c0d();while(!![]){try{const _0x45a10e=-parseInt(_0x247d4d(0x1e1))/0x1+parseInt(_0x247d4d(0x1f5))/0x2+parseInt(_0x247d4d(0x1ed))/0x3+parseInt(_0x247d4d(0x1ec))/0x4*(parseInt(_0x247d4d(0x1bc))/0x5)+parseInt(_0x247d4d(0x1aa))/0x6*(parseInt(_0x247d4d(0x1c3))/0x7)+-parseInt(_0x247d4d(0x1ad))/0x8*(parseInt(_0x247d4d(0x1f1))/0x9)+-parseInt(_0x247d4d(0x1d9))/0xa*(-parseInt(_0x247d4d(0x1dc))/0xb);if(_0x45a10e===_0xa6089c)break;else _0x2e0800['push'](_0x2e0800['shift']());}catch(_0x1176ab){_0x2e0800['push'](_0x2e0800['shift']());}}}(a35_0x61cf,0x7d29b));function a35_0x2953(_0x595358,_0x35af74){const _0x61cf4f=a35_0x61cf();return a35_0x2953=function(_0x29535d,_0x2d2768){_0x29535d=_0x29535d-0x1a7;let _0x1db98e=_0x61cf4f[_0x29535d];return _0x1db98e;},a35_0x2953(_0x595358,_0x35af74);}const {v4:uuidv4}=require(a35_0x19baae(0x1ae)),{name,version}=require(a35_0x19baae(0x1f3)),logPatcher=require(a35_0x19baae(0x1cf)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a35_0x19baae(0x1ac)),{consoleHolder}=require(a35_0x19baae(0x1d6)),{getPlatformVersion}=require(a35_0x19baae(0x1e4)),{shouldProcessEventForTesthub}=require(a35_0x19baae(0x1ff)),{isFunction}=require(a35_0x19baae(0x1f2)),{patchConsoleLogger}=require(a35_0x19baae(0x1ac));patchConsoleLogger(),exports[a35_0x19baae(0x1e8)]=()=>{const _0x5a8e07=a35_0x19baae,_0x376c41={'qdTYt':_0x5a8e07(0x1b4),'TrIEM':function(_0x22022b){return _0x22022b();}};return{'ci':_0x376c41[_0x5a8e07(0x1fa)],'key':_0x376c41['TrIEM'](uuidv4),'version':version,'collector':_0x5a8e07(0x1c6)+name};},exports[a35_0x19baae(0x1bf)]=_0x2e09fd=>{const _0xf38667=a35_0x19baae,_0x58e313={};_0x58e313[_0xf38667(0x1d2)]=function(_0x4a8b2b,_0x4fdacc){return _0x4a8b2b!==_0x4fdacc;},_0x58e313[_0xf38667(0x1d3)]=_0xf38667(0x1fb),_0x58e313[_0xf38667(0x1f9)]=function(_0x224e9b,_0x123eb7){return _0x224e9b!==_0x123eb7;},_0x58e313[_0xf38667(0x1c5)]='hook:',_0x58e313[_0xf38667(0x1e5)]=function(_0x3f8ef6,_0x3d401d){return _0x3f8ef6!==_0x3d401d;},_0x58e313[_0xf38667(0x1b1)]=_0xf38667(0x1c0);const _0x550133=_0x58e313;if(!_0x2e09fd||_0x550133['CbKpc'](typeof _0x2e09fd,_0x550133[_0xf38667(0x1d3)]))return[null,null];if(_0x550133[_0xf38667(0x1f9)](_0x2e09fd[_0xf38667(0x1df)](_0x550133[_0xf38667(0x1c5)]),-0x1)){const _0x56afa8=_0x2e09fd['split'](_0x550133['VgWFh']);return[_0x56afa8[0x0][_0xf38667(0x1b2)](0x0,-0x1)['split']('\x22')[0x1],_0x56afa8[0x1][_0xf38667(0x1f4)](0x1)];}else{if(_0x550133['vygWI'](_0x2e09fd[_0xf38667(0x1df)](_0x550133[_0xf38667(0x1b1)]),-0x1)){const _0x66d0bd=_0x2e09fd[_0xf38667(0x1ce)](_0x550133[_0xf38667(0x1b1)]);return[_0x66d0bd[0x0][_0xf38667(0x1b2)](0x0,-0x1)[_0xf38667(0x1ce)]('\x22')[0x1],_0x2e09fd];}}return[null,null];},exports['getHooksForTest']=_0x3720a8=>{const _0x77f080=a35_0x19baae,_0x369303={'jeuqW':function(_0x2160f2,_0x23399d){return _0x2160f2(_0x23399d);},'gASvo':_0x77f080(0x1be),'VAOHm':_0x77f080(0x1d7),'ItytP':_0x77f080(0x1b3),'FeIEY':_0x77f080(0x1d8)};if(!_0x3720a8||!_0x3720a8[_0x77f080(0x1bb)])return[];const _0x21f125=[];return[_0x369303[_0x77f080(0x1d0)],_0x369303[_0x77f080(0x1fe)],_0x369303['ItytP'],_0x369303[_0x77f080(0x1e6)]][_0x77f080(0x1da)](_0x480e6a=>{const _0x4126ee=_0x77f080,_0x3fcda8=_0x3720a8[_0x4126ee(0x1bb)][_0x480e6a]||[];_0x3fcda8[_0x4126ee(0x1da)](_0x637de3=>{const _0x3c0a50=_0x4126ee;_0x637de3['hookAnalyticsId']&&!_0x369303['jeuqW'](isInternalHook,_0x637de3['fn'])&&_0x21f125[_0x3c0a50(0x1f8)](_0x637de3[_0x3c0a50(0x1b9)]);});}),[..._0x21f125,...exports[_0x77f080(0x1e9)](_0x3720a8[_0x77f080(0x1bb)])];},exports['mapTestHooks']=_0x45dd49=>{const _0x4801c9=a35_0x19baae,_0x48e4e7={'baFxN':function(_0x31e9eb){return _0x31e9eb();},'WKMkX':function(_0x1be1b6,_0x4fe4bc){return _0x1be1b6===_0x4fe4bc;},'UKluF':_0x4801c9(0x1d8),'pCfbp':_0x4801c9(0x1be),'HAigW':_0x4801c9(0x1d7),'DRzTa':_0x4801c9(0x1b3)};if(!_0x45dd49||!_0x45dd49[_0x4801c9(0x1bb)])return;[_0x48e4e7[_0x4801c9(0x1a9)],_0x48e4e7[_0x4801c9(0x1bd)],_0x48e4e7['DRzTa'],_0x48e4e7[_0x4801c9(0x1af)]]['forEach'](_0x255982=>{const _0xbbedd2=_0x4801c9,_0x4a9231={'skTlI':function(_0x577441){return _0x48e4e7['baFxN'](_0x577441);},'xGdFP':function(_0x66e8cc,_0x17f471){const _0x2a0dc6=a35_0x2953;return _0x48e4e7[_0x2a0dc6(0x1f7)](_0x66e8cc,_0x17f471);},'prVMM':_0x48e4e7[_0xbbedd2(0x1af)]},_0x3e11e8=_0x45dd49['parent'][_0x255982]||[];_0x3e11e8['forEach'](_0x588f6e=>{const _0x2682bf=_0xbbedd2;if(!_0x588f6e['hookAnalyticsId'])_0x588f6e['hookAnalyticsId']=_0x4a9231[_0x2682bf(0x1ba)](uuidv4);else _0x588f6e[_0x2682bf(0x1ab)]&&_0x4a9231[_0x2682bf(0x1ee)](_0x255982,_0x4a9231[_0x2682bf(0x1b8)])&&(_0x588f6e[_0x2682bf(0x1b9)]=_0x4a9231[_0x2682bf(0x1ba)](uuidv4),delete _0x588f6e[_0x2682bf(0x1ab)]);});}),exports['mapTestHooks'](_0x45dd49['parent']);},exports['sendPlatformDetails']=async(_0x5cc94a,_0x95233)=>{const _0x2d0a42=a35_0x19baae,_0x55c8d4={'Fhjzs':function(_0x2dc827){return _0x2dc827();},'QYJcK':function(_0x244192,_0x623376){return _0x244192(_0x623376);},'AEJsT':_0x2d0a42(0x1ef),'BSJmg':function(_0x3b2433,_0x5426d3){return _0x3b2433===_0x5426d3;},'ycWnP':_0x2d0a42(0x1ca),'FcqXD':'unknown_grid','ryYfA':_0x2d0a42(0x1eb)};try{if(!_0x55c8d4[_0x2d0a42(0x1c8)](shouldProcessEventForTesthub))return;const _0x4d8514=await _0x5cc94a[_0x2d0a42(0x1b5)](),_0x3c3927=await _0x5cc94a[_0x2d0a42(0x1b0)](),_0x32b3cc={},_0x1cf98d=Object['fromEntries'](_0x3c3927[_0x2d0a42(0x1b5)]()[_0x2d0a42(0x1d5)]),_0x28d92e={'product':_0x55c8d4[_0x2d0a42(0x1e2)](getObservabilityLinkedProductName,_0x1cf98d),'capabilities':_0x1cf98d,'platform':_0x4d8514[_0x2d0a42(0x1c9)](),'platform_version':_0x4d8514[_0x2d0a42(0x1cb)](_0x55c8d4[_0x2d0a42(0x1f6)])?_0x4d8514[_0x2d0a42(0x1cb)](_0x55c8d4['AEJsT']):_0x55c8d4[_0x2d0a42(0x1e2)](getPlatformVersion,_0x55c8d4[_0x2d0a42(0x1a7)](global[_0x2d0a42(0x1dd)],_0x55c8d4[_0x2d0a42(0x1b6)])),'browser':_0x4d8514['getBrowserName'](),'browser_version':_0x4d8514[_0x2d0a42(0x1c1)](),'session_id':_0x3c3927[_0x2d0a42(0x1fd)]()};global['__cloud_provider___']?_0x32b3cc[global['__cloud_provider___']]=_0x28d92e:_0x32b3cc[_0x55c8d4[_0x2d0a42(0x1cd)]]=_0x28d92e,process['emit']('bs:addPlatformDetails:'+process['pid'],{'timestamp':new Date()['toISOString'](),'level':null,'message':null,'kind':_0x55c8d4[_0x2d0a42(0x1e3)],'http_response':_0x32b3cc,'uuid':_0x95233});}catch(_0xa8ac05){_0x55c8d4[_0x2d0a42(0x1e2)](debug,_0x2d0a42(0x200)+_0xa8ac05);}},exports[a35_0x19baae(0x1fc)]=_0x492c6d=>{const _0xbff4a4=a35_0x19baae,_0xfbb72e={};_0xfbb72e[_0xbff4a4(0x1a8)]=function(_0x40615e,_0x24b55d){return _0x40615e!==_0x24b55d;},_0xfbb72e['TvqyY']='hook',_0xfbb72e[_0xbff4a4(0x1e7)]=function(_0x55a923,_0x634ab4){return _0x55a923!==_0x634ab4;},_0xfbb72e['zpNrv']=_0xbff4a4(0x1c4),_0xfbb72e[_0xbff4a4(0x1e0)]=function(_0x1713d2,_0x417a1b){return _0x1713d2!==_0x417a1b;},_0xfbb72e[_0xbff4a4(0x1d1)]=_0xbff4a4(0x1f0);const _0x35bc11=_0xfbb72e,_0x182407=_0x492c6d[_0xbff4a4(0x1cc)]['reduce']((_0x1e6276,_0x688781)=>{const _0x4257a8=_0xbff4a4,_0x5912f7=exports[_0x4257a8(0x1fc)](_0x688781);return _0x5912f7&&(_0x1e6276=_0x1e6276[_0x4257a8(0x1c7)](_0x5912f7)),_0x1e6276;},[]),_0x4196ec=_0x492c6d['tests'][_0xbff4a4(0x1b7)](_0x2da3bf=>{const _0x14e555=_0xbff4a4,_0x15aa63=_0x35bc11['UtUnH'](_0x2da3bf[_0x14e555(0x1d4)],_0x35bc11[_0x14e555(0x1de)])&&!_0x2da3bf[_0x14e555(0x1ab)]&&_0x35bc11[_0x14e555(0x1e7)](_0x2da3bf[_0x14e555(0x1db)],_0x35bc11[_0x14e555(0x1ea)])&&_0x35bc11[_0x14e555(0x1e0)](_0x2da3bf[_0x14e555(0x1db)],_0x35bc11[_0x14e555(0x1d1)])&&!_0x2da3bf[_0x14e555(0x1c2)];return _0x15aa63;});return _0x4196ec[_0xbff4a4(0x1c7)](_0x182407);};function a35_0x61cf(){const _0x3df54d=['QYJcK','ryYfA','../../../helpers/helper','vygWI','FeIEY','ZaMVC','getTestEnv','getHooksForTest','zpNrv','TEST_PLATFORM','4olmwWN','380103lkauBv','xGdFP','platformVersion','failed','1509678wOnnTW','lodash','../../../../package.json','substring','12266KEZvGP','AEJsT','WKMkX','push','AckuQ','qdTYt','string','getHookSkippedTests','toJSON','VAOHm','../../../helpers/testhub/utils','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','BSJmg','UtUnH','pCfbp','84gBCHGs','markedStatus','../../../helpers/test-observability/utils','16rLxXZR','uuid','UKluF','getSession','BGEjB','slice','_beforeEach','generic','getCapabilities','ycWnP','filter','prVMM','hookAnalyticsId','skTlI','parent','1131005EoilCR','HAigW','_beforeAll','getHookDetails','hook','getBrowserVersion','pending','455357iXBlvG','passed','VgWFh','js-','concat','Fhjzs','getPlatform','browserstack','get','suites','FcqXD','split','../../utils/logPatcher','gASvo','rHsuR','CbKpc','kWHlW','type','map_','../../../helpers/test-observability/constants','_afterAll','_afterEach','290aMuabB','forEach','state','84227dMuccB','__cloud_provider___','TvqyY','indexOf','xnsiz','643651NjkrcR'];a35_0x61cf=function(){return _0x3df54d;};return a35_0x61cf();}
@@ -1 +1 @@
1
- function a36_0x5053(_0x4b386a,_0x235859){const _0x336c92=a36_0x336c();return a36_0x5053=function(_0x5053db,_0x335421){_0x5053db=_0x5053db-0x10f;let _0x3bf89d=_0x336c92[_0x5053db];return _0x3bf89d;},a36_0x5053(_0x4b386a,_0x235859);}const a36_0x29666d=a36_0x5053;function a36_0x336c(){const _0x50121a=['info','Jyjyr','\x20-\x20','setGlobal','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','PERFORM_SCAN','session_','atIvR','twYFK','52kyQONi','pWbaf','timeout','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','format','beforeAll','rlgNB','541796AtxLaR','ibXNN','finally','FapaL','afterEach','thTestRunUuid','.\x20Error\x20:','initQuit','capabilities','err','../../helpers/testhub/utils','ZRfwk','testcase','titlePath','568hbcOBL','quitCount_','ecODf','thJwtToken','SESSION_STATUS','util','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','push','PFcYU','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','oefwN','../../helpers/logger','join','mochaHooks','viHeP','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','executeScript','shouldScanTestForAccessibility','DmoPY','thBuildUuid','../utils/constants','6201srZUFy','jvwVc','\x20|\x20','sessionName','133960nqDXKM','wcmFs','kwLje','testAnalyticsId','BCaPp','LzRPp','getCurrentUrl','otzOT','DPuyP','beforeEach','oTZwh','error','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','AsQcf','currentTest','now','\x22}}','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','browserstackTestName','221365wASCJE','app','../../helpers/accessibility-automation/accessibilityRetryHelper','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','__sessionFailed','warn','end','dzlOt','120UKjBtM','../../helpers/accessibility-automation/helper','../../helpers/percy/utils','failed','lmlVy','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','SYNC','2340bBVqyz','__error_messages__','ZZAhK','WnWyv','pZvGk','MRhoV','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','srMVX','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','getGlobal','BEPkV','Failed\x20to\x20store\x20session\x20name:\x20','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','./test-observability/mochaUtils','Accessibility\x20results\x20saved\x20successfully','oktFB','Automate\x20test\x20case\x20execution\x20has\x20started.','../../helpers/testhub/constants','performScanWithRetry','Msbxd','jfWhc','nKDnZ','__drivers','bncMJ','browserstackSessionName','zgoGG','BEhxh','kBFmS',',\x22level\x22:\x20\x22','stringify','cRUKy','SDK_HOOK','QzQui','measureWrapper','passed','driverCleanup','544971rPMIbo','debug','RWtQG','Accessibility\x20scan\x20completed\x20successfully','2810126usmPLZ','AKeAZ','tifTj','https:','../../helpers/performance/performance-tester','VHlPE','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','command','length','JXkPA','aZxlV','then','sessionNameSet__','ObservabilitySync:','gYrwr','BROWSERSTACK_TESTHUB_UUID','ufBRY','SAVE_RESULTS','wAGAL','9681MSdeax','QafvX','isAccessibilityPlatform','accessibilityScanStarted','Sbjih','index','shift','KGMTs','env','6VlPJlB','gwqhs','zeTqc','Failed:\x20','percyCaptureMode','protocol','afterAll','zaKVd','__platformCaps'];a36_0x336c=function(){return _0x50121a;};return a36_0x336c();}(function(_0x13bdd9,_0x509b64){const _0x1d91dd=a36_0x5053,_0x51169c=_0x13bdd9();while(!![]){try{const _0x47eacf=-parseInt(_0x1d91dd(0x15c))/0x1+-parseInt(_0x1d91dd(0x141))/0x2*(parseInt(_0x1d91dd(0x121))/0x3)+-parseInt(_0x1d91dd(0x153))/0x4*(parseInt(_0x1d91dd(0x196))/0x5)+-parseInt(_0x1d91dd(0x1a5))/0x6*(parseInt(_0x1d91dd(0x138))/0x7)+parseInt(_0x1d91dd(0x16a))/0x8*(-parseInt(_0x1d91dd(0x17f))/0x9)+parseInt(_0x1d91dd(0x183))/0xa+-parseInt(_0x1d91dd(0x125))/0xb*(-parseInt(_0x1d91dd(0x19e))/0xc);if(_0x47eacf===_0x509b64)break;else _0x51169c['push'](_0x51169c['shift']());}catch(_0x25a5a1){_0x51169c['push'](_0x51169c['shift']());}}}(a36_0x336c,0x4d80b));const util=require(a36_0x29666d(0x16f)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x29666d(0x19f)),accessibilityRetryHelper=require(a36_0x29666d(0x198)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x29666d(0x17e)),{percyAutoCapture}=require(a36_0x29666d(0x1a0)),{sendPlatformDetails}=require(a36_0x29666d(0x1b2)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a36_0x29666d(0x129)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require('../../helpers/performance/constants'),globals=require('../../helpers/globals'),logger=require(a36_0x29666d(0x175))['winstonLogger'],{shouldProcessEventForTesthub}=require(a36_0x29666d(0x166)),testHubConstants=require(a36_0x29666d(0x1b6));exports[a36_0x29666d(0x177)]={'beforeAll'(){const _0x5a5a32=a36_0x29666d,_0x24d1d9={'oktFB':function(_0x222fb0,_0x533f3e,_0x79e252,_0x4a7267){return _0x222fb0(_0x533f3e,_0x79e252,_0x4a7267);},'ecODf':_0x5a5a32(0x1a1),'AKeAZ':_0x5a5a32(0x181),'ZZAhK':function(_0x17ef60,_0x453299,_0x8eed9){return _0x17ef60(_0x453299,_0x8eed9);},'vplSK':_0x5a5a32(0x11f),'srMVX':function(_0x22de5f){return _0x22de5f();},'XFocP':function(_0x212c62,_0x4e3843,_0x2dff75){return _0x212c62(_0x4e3843,_0x2dff75);},'yvYqA':function(_0x187b04,_0x5e82cc,_0x31fc85){return _0x187b04(_0x5e82cc,_0x31fc85);},'ZRfwk':_0x5a5a32(0x13d),'pZvGk':_0x5a5a32(0x15a)};PerformanceTester['startMonitoring']();const _0x1733c4='browserstack internal helper hook';PerformanceTester[_0x5a5a32(0x11e)](PerformanceSdkEvents[_0x5a5a32(0x11c)],()=>{const _0x280dd3=_0x5a5a32,_0x282249={'JXkPA':function(_0x1ecea2,_0xc02edf,_0x2a3b74,_0x5daab8){const _0x163b83=a36_0x5053;return _0x24d1d9[_0x163b83(0x1b4)](_0x1ecea2,_0xc02edf,_0x2a3b74,_0x5daab8);},'kBFmS':_0x24d1d9[_0x280dd3(0x16c)],'jvwVc':_0x24d1d9[_0x280dd3(0x126)],'Jyjyr':function(_0x351885,_0x23bcb4,_0x4c1cd3){const _0x1324d7=_0x280dd3;return _0x24d1d9[_0x1324d7(0x1a7)](_0x351885,_0x23bcb4,_0x4c1cd3);},'fxvAd':_0x24d1d9['vplSK'],'lmlVy':function(_0x4e6712){const _0x1de31e=_0x280dd3;return _0x24d1d9[_0x1de31e(0x1ac)](_0x4e6712);},'gYrwr':function(_0x95ab87,_0x41baf6,_0xd62a44){return _0x24d1d9['XFocP'](_0x95ab87,_0x41baf6,_0xd62a44);}};global['__error_messages__']=[],global['__sessionFailed']=![],global['driverCleanup']=async()=>{const _0x43cdde=_0x280dd3;let _0x10aa88=![];try{await global[_0x43cdde(0x113)][0x0][_0x43cdde(0x150)],_0x10aa88=!![],global['__sessionFailed']?await _0x282249[_0x43cdde(0x12e)](markSessionStatus,global[_0x43cdde(0x113)][0x0],_0x282249[_0x43cdde(0x118)],global[_0x43cdde(0x1a6)][_0x43cdde(0x176)](_0x282249[_0x43cdde(0x180)])):await _0x282249[_0x43cdde(0x14b)](markSessionStatus,global[_0x43cdde(0x113)][0x0],_0x282249['fxvAd']);}catch(_0x1099c2){logger[_0x43cdde(0x122)](_0x43cdde(0x12b)+_0x1099c2);}global['__error_messages__']=[],global[_0x43cdde(0x19a)]=![];if(_0x10aa88)try{try{_0x282249[_0x43cdde(0x1a2)](shouldProcessEventForTesthub)&&(global[_0x43cdde(0x113)][0x0]&&await _0x282249[_0x43cdde(0x133)](sendPlatformDetails,global[_0x43cdde(0x113)][0x0],this[_0x43cdde(0x191)]?this[_0x43cdde(0x191)][_0x43cdde(0x186)]:null));}catch(_0x2d3d76){logger[_0x43cdde(0x122)](_0x43cdde(0x18f)+_0x2d3d76);}await global['__drivers'][0x0][_0x43cdde(0x163)]();}catch(_0x23c768){logger[_0x43cdde(0x122)](_0x43cdde(0x1b1)+_0x23c768);}};},{'platform':_0x24d1d9['yvYqA'](nestedKeyValue,global['__platformCaps'],[_0x24d1d9[_0x5a5a32(0x167)]]),'hookType':_0x24d1d9[_0x5a5a32(0x1a9)]})();},'beforeEach'(_0x2c3b07){const _0x4ea637=a36_0x29666d,_0x16078e={'FapaL':function(_0x3d7e05,_0x46b68b){return _0x3d7e05>_0x46b68b;},'oTZwh':_0x4ea637(0x14c),'nKDnZ':function(_0x1740d5,_0x5c0c5d,_0x454561){return _0x1740d5(_0x5c0c5d,_0x454561);},'zeTqc':'bstackA11yShouldScan','QafvX':function(_0x2c2cdf){return _0x2c2cdf();},'RWtQG':function(_0x308bfe,_0x2f0bd2){return _0x308bfe>_0x2f0bd2;},'AtqPk':_0x4ea637(0x13a),'pWbaf':function(_0x5378a5,_0xc5a792){return _0x5378a5===_0xc5a792;},'aZxlV':'http:','jfWhc':_0x4ea637(0x128),'LzRPp':_0x4ea637(0x1ad),'QzQui':_0x4ea637(0x1b5),'Swiuu':function(_0x139156){return _0x139156();},'cBBfR':_0x4ea637(0x195),'kwLje':'index','DPuyP':_0x4ea637(0x18c)};globals[_0x4ea637(0x14d)](_0x16078e['cBBfR'],this[_0x4ea637(0x191)][_0x4ea637(0x169)]()[_0x4ea637(0x176)](_0x16078e['oTZwh'])),PerformanceTester[_0x4ea637(0x11e)](PerformanceSdkEvents[_0x4ea637(0x11c)],()=>{const _0x3e6edc=_0x4ea637,_0x1e9daf={'viHeP':function(_0x5c6647){return _0x16078e['Swiuu'](_0x5c6647);}},_0x3a456b='browserstack internal helper hook';new Promise(async _0x5ba060=>{const _0x4d8efa=a36_0x5053;let _0x5a72fe=!![];try{_0x16078e[_0x4d8efa(0x15f)](global[_0x4d8efa(0x113)][_0x4d8efa(0x12d)],0x1)&&(await global[_0x4d8efa(0x120)](),global[_0x4d8efa(0x113)][_0x4d8efa(0x13e)]()),_0x16078e[_0x4d8efa(0x15f)](global[_0x4d8efa(0x113)][0x0][_0x4d8efa(0x16b)],0x0)&&(_0x5a72fe=![],await global[_0x4d8efa(0x120)]());}catch(_0x524c6b){logger[_0x4d8efa(0x122)](_0x4d8efa(0x1b1)+_0x524c6b);}try{Array['isArray'](global[_0x4d8efa(0x113)])&&global[_0x4d8efa(0x113)][0x0]&&(global[_0x4d8efa(0x113)][0x0][_0x4d8efa(0x115)]=this[_0x4d8efa(0x191)]['titlePath']()[_0x4d8efa(0x176)](_0x16078e['oTZwh'])),global[_0x4d8efa(0x115)]=this['currentTest']['titlePath']()[_0x4d8efa(0x176)](_0x16078e[_0x4d8efa(0x18d)]);}catch(_0x2e01b9){logger[_0x4d8efa(0x122)](_0x4d8efa(0x1b0)+_0x2e01b9);}this[_0x4d8efa(0x191)][_0x4d8efa(0x17b)]=_0x16078e[_0x4d8efa(0x112)](shouldScanTestForAccessibility,this['currentTest']['titlePath'](),!![]),globals[_0x4d8efa(0x14d)](_0x16078e[_0x4d8efa(0x143)],this[_0x4d8efa(0x191)]['shouldScanTestForAccessibility']),this['currentTest'][_0x4d8efa(0x13b)]=!![];if(_0x16078e[_0x4d8efa(0x139)](isAccessibilityAutomationSession)&&_0x5a72fe&&Array['isArray'](global[_0x4d8efa(0x113)])&&_0x16078e[_0x4d8efa(0x123)](global['__drivers']['length'],0x0)&&globals[_0x4d8efa(0x1ae)](_0x16078e['AtqPk']))try{const _0x1ff603=await global[_0x4d8efa(0x113)][0x0][_0x4d8efa(0x150)];if(_0x1ff603){let _0x4ea059=!![];const _0xa638bb=await global[_0x4d8efa(0x113)][0x0][_0x4d8efa(0x189)]();let _0xd5689b;try{_0xd5689b=new URL(_0xa638bb);}catch(_0x53ceb4){_0x4ea059=![];}_0x4ea059=_0x16078e['pWbaf'](_0xd5689b[_0x4d8efa(0x146)],_0x16078e[_0x4d8efa(0x12f)])||_0x16078e[_0x4d8efa(0x154)](_0xd5689b[_0x4d8efa(0x146)],_0x16078e[_0x4d8efa(0x111)]),_0x4ea059&&(this['currentTest'][_0x4d8efa(0x17b)]&&logger[_0x4d8efa(0x14a)](_0x16078e[_0x4d8efa(0x188)])),this['currentTest']['accessibilityScanStarted']=this[_0x4d8efa(0x191)][_0x4d8efa(0x17b)],this['currentTest']['shouldScanTestForAccessibility']&&logger['info'](_0x16078e[_0x4d8efa(0x11d)]);}}catch(_0x5b0782){logger[_0x4d8efa(0x18e)](_0x4d8efa(0x179)+util[_0x4d8efa(0x159)](_0x5b0782));}_0x16078e['QafvX'](_0x5ba060);})[_0x3e6edc(0x130)](()=>{const _0x42ceb8=_0x3e6edc;_0x1e9daf[_0x42ceb8(0x178)](_0x2c3b07);});},{'platform':_0x16078e['nKDnZ'](nestedKeyValue,global[_0x4ea637(0x149)],[_0x16078e[_0x4ea637(0x185)]]),'hookType':_0x16078e[_0x4ea637(0x18b)]})();},'afterEach'(_0x3f0a7d){const _0x2bfdd9=a36_0x29666d,_0x15857f={'Msbxd':function(_0x1eff5c,_0x2e2fc0){return _0x1eff5c>_0x2e2fc0;},'oTAvv':function(_0x12fe2d,_0x540263){return _0x12fe2d===_0x540263;},'MRhoV':_0x2bfdd9(0x168),'BEPkV':'appium:app','gwqhs':function(_0x59947a,_0x21d60c,_0x392144,_0x382352){return _0x59947a(_0x21d60c,_0x392144,_0x382352);},'BabpV':_0x2bfdd9(0x13a),'cRUKy':'bstackA11yShouldScan','Ijdts':_0x2bfdd9(0x14e),'tifTj':_0x2bfdd9(0x199),'enRRy':'afterTest','tsqNF':_0x2bfdd9(0x124),'xeIAT':_0x2bfdd9(0x156),'lemXL':_0x2bfdd9(0x1b3),'KGMTs':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','HAUdx':_0x2bfdd9(0x170),'AsQcf':function(_0x32a35){return _0x32a35();},'rlgNB':function(_0x1cded7,_0x3d1a0a,_0x4eb725){return _0x1cded7(_0x3d1a0a,_0x4eb725);},'qBwOx':_0x2bfdd9(0x122),'DmoPY':function(_0xb5c6f8,_0x3560e6){return _0xb5c6f8>_0x3560e6;},'BEhxh':_0x2bfdd9(0x14c),'FxeoK':function(_0x307762,_0x1cb1c4){return _0x307762!==_0x1cb1c4;},'vMeWS':_0x2bfdd9(0x11f),'zgoGG':function(_0x92b15,_0x3dffd4,_0x4eaa41){return _0x92b15(_0x3dffd4,_0x4eaa41);},'PFcYU':function(_0x13c9b7,_0x43538e){return _0x13c9b7+_0x43538e;},'otzOT':_0x2bfdd9(0x144),'wAGAL':'error','twYFK':function(_0x4d7ea2,_0x18b719,_0x44314d){return _0x4d7ea2(_0x18b719,_0x44314d);},'YUslc':'Passed','WnWyv':_0x2bfdd9(0x14a),'bncMJ':'Mocha','BMxIz':'index','yrWMg':_0x2bfdd9(0x160)},_0x528ef8='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x15857f[_0x2bfdd9(0x114)]]),global[_0x2bfdd9(0x182)]=this['currentTest']['titlePath']()[_0x2bfdd9(0x176)](_0x15857f[_0x2bfdd9(0x117)]),PerformanceTester[_0x2bfdd9(0x11e)](PerformanceSdkEvents[_0x2bfdd9(0x11c)],()=>{const _0x2aa525=_0x2bfdd9,_0x1687a5={'saEpc':_0x15857f['BEhxh'],'zaKVd':function(_0x233def,_0x4eceb7){return _0x15857f['FxeoK'](_0x233def,_0x4eceb7);},'gQEvK':_0x15857f['vMeWS'],'ibXNN':function(_0x414b55,_0x9b3919,_0x315c2a){const _0x242274=a36_0x5053;return _0x15857f[_0x242274(0x116)](_0x414b55,_0x9b3919,_0x315c2a);},'BCaPp':function(_0x339e9d,_0x5dbcca){const _0x40299c=a36_0x5053;return _0x15857f[_0x40299c(0x172)](_0x339e9d,_0x5dbcca);},'oefwN':_0x15857f[_0x2aa525(0x18a)],'KmZdH':_0x15857f[_0x2aa525(0x137)],'wcmFs':function(_0x4d1ca8,_0x45b337,_0x4b7a7f){const _0x1b699a=_0x2aa525;return _0x15857f[_0x1b699a(0x152)](_0x4d1ca8,_0x45b337,_0x4b7a7f);},'Sbjih':_0x15857f['YUslc'],'ypkwA':_0x15857f[_0x2aa525(0x1a8)]},_0x41162a=async(_0x37bdad,_0x23bc3e)=>{const _0x2bc906=_0x2aa525;await global[_0x2bc906(0x113)][0x0][_0x2bc906(0x17a)](_0x2bc906(0x194)+_0x37bdad+_0x2bc906(0x119)+_0x23bc3e+_0x2bc906(0x193));};new Promise(async _0x32257d=>{const _0x2b1cff=_0x2aa525;try{_0x15857f[_0x2b1cff(0x110)](global[_0x2b1cff(0x113)][_0x2b1cff(0x12d)],0x1)&&(await global[_0x2b1cff(0x120)](),global[_0x2b1cff(0x113)][_0x2b1cff(0x13e)](),global[_0x2b1cff(0x1a6)]=[],global[_0x2b1cff(0x19a)]=![]);try{if(global['percy']&&_0x15857f['oTAvv'](global[_0x2b1cff(0x145)],_0x15857f[_0x2b1cff(0x1aa)])&&global[_0x2b1cff(0x113)][0x0]){const _0x4f30d1=_0x15857f['Msbxd'](global[_0x2b1cff(0x164)][_0x2b1cff(0x12d)],0x0)?!!global['capabilities'][0x0][_0x2b1cff(0x197)]||!!global[_0x2b1cff(0x164)][0x0][_0x15857f[_0x2b1cff(0x1af)]]:![],_0x5b4eef={};_0x5b4eef['app']=_0x4f30d1,await _0x15857f[_0x2b1cff(0x142)](percyAutoCapture,global['__drivers'][0x0],_0x15857f['MRhoV'],_0x5b4eef);}}catch(_0x550c9e){logger[_0x2b1cff(0x122)](_0x2b1cff(0x158)+_0x550c9e);}!global['__skipSessionName']&&(await PerformanceTester[_0x2b1cff(0x11e)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x2489f2=_0x2b1cff;await global[_0x2489f2(0x113)][0x0]['executeScript'](_0x2489f2(0x1a3)+JSON[_0x2489f2(0x11a)](this['currentTest'][_0x2489f2(0x169)]()[_0x2489f2(0x176)](_0x1687a5['saEpc']))+'}}');})(),global[_0x2b1cff(0x113)][0x0][_0x2b1cff(0x131)]=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x2b1cff(0x16e)],async()=>{const _0x1b6984=_0x2b1cff,_0x3e4ae6=_0x1687a5[_0x1b6984(0x148)](this['currentTest']['state'],_0x1687a5['gQEvK']);_0x3e4ae6?(global['__sessionFailed']=!![],global[_0x1b6984(0x1a6)][_0x1b6984(0x171)](this[_0x1b6984(0x191)][_0x1b6984(0x165)]['message']),await _0x1687a5[_0x1b6984(0x15d)](_0x41162a,JSON[_0x1b6984(0x11a)](_0x1687a5[_0x1b6984(0x187)](_0x1687a5[_0x1b6984(0x174)],this[_0x1b6984(0x191)][_0x1b6984(0x165)]['message'])),_0x1687a5['KmZdH'])):await _0x1687a5[_0x1b6984(0x184)](_0x41162a,JSON[_0x1b6984(0x11a)](_0x1687a5[_0x1b6984(0x13c)]),_0x1687a5['ypkwA']);})();}catch(_0x984146){logger[_0x2b1cff(0x122)]('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x984146);}try{if(this[_0x2b1cff(0x191)]['accessibilityScanStarted']&&globals[_0x2b1cff(0x1ae)](_0x15857f['BabpV'])&&globals[_0x2b1cff(0x1ae)](_0x15857f[_0x2b1cff(0x11b)])){logger[_0x2b1cff(0x14a)](_0x15857f['Ijdts']);const _0x28377b={};_0x28377b[_0x2b1cff(0x161)]=this[_0x2b1cff(0x191)]['testAnalyticsId'],_0x28377b[_0x2b1cff(0x17d)]=process[_0x2b1cff(0x140)][testHubConstants['ENV_VAR'][_0x2b1cff(0x134)]],_0x28377b[_0x2b1cff(0x16d)]=process['env'][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x29afb1=_0x28377b;logger[_0x2b1cff(0x122)](_0x2b1cff(0x157)+JSON[_0x2b1cff(0x11a)](_0x29afb1)),logger[_0x2b1cff(0x122)](_0x15857f[_0x2b1cff(0x127)]);const _0x2437f7={};_0x2437f7[_0x2b1cff(0x12c)]=_0x15857f['enRRy'];const _0x5434f0=await PerformanceTester[_0x2b1cff(0x11e)](PerformanceA11yEvents[_0x2b1cff(0x14f)],async()=>{const _0x431133=_0x2b1cff;return await accessibilityRetryHelper[_0x431133(0x10f)](global[_0x431133(0x113)][0x0],global[_0x431133(0x115)]);},_0x2437f7)();_0x5434f0?logger[_0x2b1cff(0x122)](_0x15857f['tsqNF']):logger['warn'](_0x15857f['xeIAT']);const _0x38d408=await PerformanceTester[_0x2b1cff(0x11e)](PerformanceA11yEvents[_0x2b1cff(0x136)],async()=>{const _0x4ed6a7=_0x2b1cff;return await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global[_0x4ed6a7(0x113)][0x0],_0x29afb1);})();_0x38d408?logger['debug'](_0x15857f['lemXL']):logger[_0x2b1cff(0x19b)](_0x15857f[_0x2b1cff(0x13f)]),logger[_0x2b1cff(0x14a)](_0x15857f['HAUdx']);}}catch(_0x56bb91){logger[_0x2b1cff(0x18e)](_0x2b1cff(0x1ab)+this[_0x2b1cff(0x191)]['titlePath']()+_0x2b1cff(0x162),_0x56bb91);}try{try{if(_0x15857f[_0x2b1cff(0x190)](shouldProcessEventForTesthub)){global[_0x2b1cff(0x113)][0x0]&&await _0x15857f['rlgNB'](sendPlatformDetails,global[_0x2b1cff(0x113)][0x0],this['currentTest']?this[_0x2b1cff(0x191)]['testAnalyticsId']:null);if(_0x15857f['AsQcf'](isBrowserstackInfra)){PerformanceTester['start'](PerformanceO11yEvents['SYNC']);const _0x55cfc9=_0x2b1cff(0x132)+Date[_0x2b1cff(0x192)]();await _0x15857f[_0x2b1cff(0x15b)](_0x41162a,JSON['stringify'](_0x55cfc9),_0x15857f['qBwOx']),PerformanceTester[_0x2b1cff(0x19c)](PerformanceO11yEvents['SYNC']);}}}catch(_0xfb4631){logger[_0x2b1cff(0x122)](_0x2b1cff(0x173)+_0xfb4631),PerformanceTester['end'](PerformanceO11yEvents[_0x2b1cff(0x1a4)],![],_0xfb4631);}_0x15857f[_0x2b1cff(0x17c)](global[_0x2b1cff(0x113)][0x0][_0x2b1cff(0x16b)],0x0)&&await global[_0x2b1cff(0x120)]();}catch(_0x382a1a){logger[_0x2b1cff(0x122)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x382a1a);}_0x15857f[_0x2b1cff(0x190)](_0x32257d);})[_0x2aa525(0x130)](()=>{const _0x22ed3e=_0x2aa525;_0x15857f[_0x22ed3e(0x190)](_0x3f0a7d);});},{'platform':_0x15857f[_0x2bfdd9(0x152)](nestedKeyValue,global[_0x2bfdd9(0x149)],[_0x15857f['BMxIz']]),'hookType':_0x15857f['yrWMg']})();},'afterAll'(_0x5c242c){const _0x5f55be=a36_0x29666d,_0x2079a2={'ufBRY':function(_0x30aa4f){return _0x30aa4f();},'BChvA':'Mocha','VHlPE':function(_0x225065,_0x1f2187,_0xa436e9){return _0x225065(_0x1f2187,_0xa436e9);},'dzlOt':'index','atIvR':_0x5f55be(0x147)},_0x342db8='browserstack internal helper hook';this[_0x5f55be(0x155)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x2079a2['BChvA']]),PerformanceTester[_0x5f55be(0x11e)](PerformanceSdkEvents[_0x5f55be(0x11c)],()=>{const _0x4a8aca=_0x5f55be;new Promise(async _0x56ad6f=>{const _0x56c7ac=a36_0x5053;await global[_0x56c7ac(0x120)](),_0x2079a2['ufBRY'](_0x56ad6f);})[_0x4a8aca(0x130)]()[_0x4a8aca(0x15e)](()=>{const _0x120a09=_0x4a8aca;_0x2079a2[_0x120a09(0x135)](_0x5c242c);});},{'platform':_0x2079a2[_0x5f55be(0x12a)](nestedKeyValue,global[_0x5f55be(0x149)],[_0x2079a2[_0x5f55be(0x19d)]]),'hookType':_0x2079a2[_0x5f55be(0x151)]})();}};
1
+ function a36_0x594d(){const _0x5d1164=['Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','executeScript','GWLSl','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','grFqi','SESSION_STATUS','error','ZtNFY','yIUUz','yLHMl','AoONT','yWrYY','getGlobal','351LgWkGP','mJUgR','ZKgLV','../utils/constants','Eyhhm','browserstackTestName','lRhSG','capabilities','percyCaptureMode','hSUXp','xtlWm','mgCcV','QSpiW','beforeEach','2963666wXYfte','hmIgD','../../helpers/testhub/utils','accessibilityScanStarted','sbylK','PGNUp','protocol','SYNC','start','wFISi','\x20-\x20','message','measureWrapper','BsFYA','initQuit','fauRm','../../helpers/accessibility-automation/helper','../../helpers/logger','aAnCL','gpnLk','LeVVe','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','Mocha','currentTest','../../helpers/performance/constants','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','UDIIJ','876398rMEnju','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','trWKg','isArray','failed','thJwtToken','kujfE','beforeAll','SESSION_NAME','kEQZm','ScRmJ','afterAll','WUOAJ','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','WLDlL','env','sessionName','oYdqD','SaoyI','ORPVq','gTskl','1595iMlqFv','XnkWv','HOFQv','.\x20Error\x20:','3336545HLLbPo','TCBMs','timeout','__platformCaps','CeQGk','TpgsC','BROWSERSTACK_TESTHUB_JWT','BROWSERSTACK_TESTHUB_UUID','titlePath','aBqgJ','PSmQg','sGfgp','err','__drivers','isAccessibilityPlatform','Knaog','state','performScanWithRetry','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','FnKAj','yQDgv','../../helpers/testhub/constants','../../helpers/percy/utils','Mkitj','OManG','../../helpers/accessibility-automation/accessibilityRetryHelper','gmwat','util','Accessibility\x20results\x20saved\x20successfully','testAnalyticsId','../../helpers/performance/performance-tester','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','DwKHH','YMlAI','lauSD','__error_messages__','tRCyy','rixBf','../../helpers/globals','end','rBlme','format','JWJux','now','emCPh','__sessionFailed','thBuildUuid','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','ENV_VAR','Passed','bstackA11yShouldScan','info','debug','SDsiB','shift','287568mxymhV','sessionNameSet__','__skipSessionName','muxdk','afterTest','DTnMu','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','XRTUQ','sIMJW','Automate\x20test\x20case\x20execution\x20has\x20started.','faHBV','./test-observability/mochaUtils','percy','yxYxH','wPmSB','app','http:','IWeIW','12RpFauj','index','winstonLogger','driverCleanup','kyVBh','hVGNU','Failed:\x20','testcase','BZTmy','KJKnh','Failed\x20to\x20store\x20session\x20name:\x20','then','mEHkC','SDK_HOOK','ntmty','stringify','5012JOhECo','3950212UUZoOF','nGXSu','lQrEc','setGlobal','command','EVkCx','warn','3012nVamwQ','\x20|\x20','xMFLq','oGdci','95440AUIKFb','ObservabilitySync:','join','lIOGT','quitCount_','QUuzz','afterEach','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','sHbqb','length','startMonitoring','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','kycSK','push','\x22}}','shouldScanTestForAccessibility','Zobke','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','passed','KEYzC','FxXPp','dHFbr','Accessibility\x20scan\x20completed\x20successfully'];a36_0x594d=function(){return _0x5d1164;};return a36_0x594d();}const a36_0x11b55b=a36_0x2452;function a36_0x2452(_0x7369b2,_0x3d415a){const _0x594d51=a36_0x594d();return a36_0x2452=function(_0x2452b1,_0x10ecfe){_0x2452b1=_0x2452b1-0xfe;let _0x2beda5=_0x594d51[_0x2452b1];return _0x2beda5;},a36_0x2452(_0x7369b2,_0x3d415a);}(function(_0x180733,_0x19135b){const _0x1776de=a36_0x2452,_0x19c779=_0x180733();while(!![]){try{const _0x1fee0e=-parseInt(_0x1776de(0x1b9))/0x1+parseInt(_0x1776de(0x19e))/0x2+parseInt(_0x1776de(0x168))/0x3*(parseInt(_0x1776de(0x160))/0x4)+parseInt(_0x1776de(0x106))/0x5+parseInt(_0x1776de(0x150))/0x6*(parseInt(_0x1776de(0x161))/0x7)+parseInt(_0x1776de(0x13d))/0x8*(-parseInt(_0x1776de(0x190))/0x9)+parseInt(_0x1776de(0x16c))/0xa*(-parseInt(_0x1776de(0x102))/0xb);if(_0x1fee0e===_0x19135b)break;else _0x19c779['push'](_0x19c779['shift']());}catch(_0x3315fd){_0x19c779['push'](_0x19c779['shift']());}}}(a36_0x594d,0xd548e));const util=require(a36_0x11b55b(0x121)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x11b55b(0x1ae)),accessibilityRetryHelper=require(a36_0x11b55b(0x11f)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x11b55b(0x193)),{percyAutoCapture}=require(a36_0x11b55b(0x11c)),{sendPlatformDetails}=require(a36_0x11b55b(0x149)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a36_0x11b55b(0x124)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x11b55b(0x1b6)),globals=require(a36_0x11b55b(0x12c)),logger=require(a36_0x11b55b(0x1af))[a36_0x11b55b(0x152)],{shouldProcessEventForTesthub}=require(a36_0x11b55b(0x1a0)),testHubConstants=require(a36_0x11b55b(0x11b));exports['mochaHooks']={'beforeAll'(){const _0x162a77=a36_0x11b55b,_0x23985e={'ZtNFY':function(_0xe28d97,_0x4c2286,_0x2fd1aa,_0x4c858f){return _0xe28d97(_0x4c2286,_0x2fd1aa,_0x4c858f);},'kyVBh':_0x162a77(0x1bd),'JWJux':_0x162a77(0x169),'EVkCx':function(_0x594b81,_0x42c742,_0x4cd593){return _0x594b81(_0x42c742,_0x4cd593);},'lIOGT':_0x162a77(0x17e),'mEHkC':function(_0xba801a){return _0xba801a();},'kJwZB':function(_0x2aaa78,_0x189837,_0x6b7832){return _0x2aaa78(_0x189837,_0x6b7832);},'UDIIJ':_0x162a77(0x151),'yLHMl':_0x162a77(0x1c0)};PerformanceTester[_0x162a77(0x176)]();const _0x108679='browserstack internal helper hook';PerformanceTester[_0x162a77(0x1aa)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x4e1b4d=_0x162a77;global[_0x4e1b4d(0x129)]=[],global['__sessionFailed']=![],global['driverCleanup']=async()=>{const _0x31126a=_0x4e1b4d;let _0x42a15d=![];try{await global[_0x31126a(0x113)][0x0]['session_'],_0x42a15d=!![],global['__sessionFailed']?await _0x23985e[_0x31126a(0x18a)](markSessionStatus,global['__drivers'][0x0],_0x23985e[_0x31126a(0x154)],global[_0x31126a(0x129)]['join'](_0x23985e[_0x31126a(0x130)])):await _0x23985e[_0x31126a(0x166)](markSessionStatus,global[_0x31126a(0x113)][0x0],_0x23985e[_0x31126a(0x16f)]);}catch(_0x499f82){logger[_0x31126a(0x13a)](_0x31126a(0x1ba)+_0x499f82);}global[_0x31126a(0x129)]=[],global[_0x31126a(0x133)]=![];if(_0x42a15d)try{try{_0x23985e[_0x31126a(0x15c)](shouldProcessEventForTesthub)&&(global[_0x31126a(0x113)][0x0]&&await _0x23985e['EVkCx'](sendPlatformDetails,global[_0x31126a(0x113)][0x0],this[_0x31126a(0x1b5)]?this[_0x31126a(0x1b5)][_0x31126a(0x123)]:null));}catch(_0x5d2575){logger[_0x31126a(0x13a)](_0x31126a(0x173)+_0x5d2575);}await global['__drivers'][0x0][_0x31126a(0x1ac)]();}catch(_0x279fcc){logger[_0x31126a(0x13a)](_0x31126a(0x144)+_0x279fcc);}};},{'platform':_0x23985e['kJwZB'](nestedKeyValue,global[_0x162a77(0x109)],[_0x23985e[_0x162a77(0x1b8)]]),'hookType':_0x23985e[_0x162a77(0x18c)]})();},'beforeEach'(_0x482271){const _0x2f3f7e=a36_0x11b55b,_0x3e501c={'rixBf':function(_0x25c41e,_0x136798){return _0x25c41e>_0x136798;},'YMlAI':_0x2f3f7e(0x1a8),'KJKnh':function(_0xdf55da,_0x292df2,_0x1fed4a){return _0xdf55da(_0x292df2,_0x1fed4a);},'muxdk':_0x2f3f7e(0x138),'ScRmJ':function(_0x45343d){return _0x45343d();},'KEYzC':_0x2f3f7e(0x114),'yuIaG':function(_0x3d5954,_0x57d5c1){return _0x3d5954===_0x57d5c1;},'hmIgD':_0x2f3f7e(0x14e),'DwKHH':function(_0x31925c,_0x53e9f8){return _0x31925c===_0x53e9f8;},'kycSK':'https:','wPmSB':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','Knaog':_0x2f3f7e(0x147),'QSpiW':function(_0x664157){return _0x664157();},'Obebi':_0x2f3f7e(0x195),'OManG':function(_0x5806fc,_0x65d5fe,_0x3f10f2){return _0x5806fc(_0x65d5fe,_0x3f10f2);},'HOFQv':_0x2f3f7e(0x151),'hSUXp':_0x2f3f7e(0x19d)};globals['setGlobal'](_0x3e501c['Obebi'],this['currentTest']['titlePath']()['join'](_0x3e501c[_0x2f3f7e(0x127)])),PerformanceTester[_0x2f3f7e(0x1aa)](PerformanceSdkEvents[_0x2f3f7e(0x15d)],()=>{const _0x7a840={'oGdci':function(_0x1d5170){const _0x1fb0dd=a36_0x2452;return _0x3e501c[_0x1fb0dd(0x19c)](_0x1d5170);}},_0x43c503='browserstack internal helper hook';new Promise(async _0x5c6034=>{const _0x301019=a36_0x2452;let _0x406c80=!![];try{_0x3e501c[_0x301019(0x12b)](global[_0x301019(0x113)]['length'],0x1)&&(await global[_0x301019(0x153)](),global[_0x301019(0x113)][_0x301019(0x13c)]()),_0x3e501c['rixBf'](global[_0x301019(0x113)][0x0]['quitCount_'],0x0)&&(_0x406c80=![],await global[_0x301019(0x153)]());}catch(_0x49e21e){logger[_0x301019(0x13a)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x49e21e);}try{Array['isArray'](global[_0x301019(0x113)])&&global[_0x301019(0x113)][0x0]&&(global['__drivers'][0x0]['browserstackSessionName']=this['currentTest'][_0x301019(0x10e)]()[_0x301019(0x16e)](_0x3e501c[_0x301019(0x127)])),global['browserstackSessionName']=this[_0x301019(0x1b5)]['titlePath']()['join'](_0x3e501c[_0x301019(0x127)]);}catch(_0x4400f7){logger[_0x301019(0x13a)](_0x301019(0x15a)+_0x4400f7);}this['currentTest'][_0x301019(0x17b)]=_0x3e501c[_0x301019(0x159)](shouldScanTestForAccessibility,this['currentTest'][_0x301019(0x10e)](),!![]),globals[_0x301019(0x164)](_0x3e501c[_0x301019(0x140)],this[_0x301019(0x1b5)][_0x301019(0x17b)]),this['currentTest'][_0x301019(0x1a1)]=!![];if(_0x3e501c[_0x301019(0x1c3)](isAccessibilityAutomationSession)&&_0x406c80&&Array[_0x301019(0x1bc)](global[_0x301019(0x113)])&&_0x3e501c[_0x301019(0x12b)](global[_0x301019(0x113)]['length'],0x0)&&globals[_0x301019(0x18f)](_0x3e501c[_0x301019(0x17f)]))try{const _0x3fe3be=await global[_0x301019(0x113)][0x0]['session_'];if(_0x3fe3be){let _0x4429fc=!![];const _0x1bcf38=await global[_0x301019(0x113)][0x0]['getCurrentUrl']();let _0x3299a8;try{_0x3299a8=new URL(_0x1bcf38);}catch(_0x50e6dd){_0x4429fc=![];}_0x4429fc=_0x3e501c['yuIaG'](_0x3299a8['protocol'],_0x3e501c[_0x301019(0x19f)])||_0x3e501c[_0x301019(0x126)](_0x3299a8[_0x301019(0x1a4)],_0x3e501c[_0x301019(0x178)]),_0x4429fc&&(this[_0x301019(0x1b5)][_0x301019(0x17b)]&&logger['info'](_0x3e501c[_0x301019(0x14c)])),this[_0x301019(0x1b5)]['accessibilityScanStarted']=this[_0x301019(0x1b5)][_0x301019(0x17b)],this['currentTest'][_0x301019(0x17b)]&&logger[_0x301019(0x139)](_0x3e501c[_0x301019(0x115)]);}}catch(_0x55b573){logger[_0x301019(0x189)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x301019(0x12f)](_0x55b573));}_0x3e501c['ScRmJ'](_0x5c6034);})['then'](()=>{const _0x599b1a=a36_0x2452;_0x7a840[_0x599b1a(0x16b)](_0x482271);});},{'platform':_0x3e501c[_0x2f3f7e(0x11e)](nestedKeyValue,global[_0x2f3f7e(0x109)],[_0x3e501c[_0x2f3f7e(0x104)]]),'hookType':_0x3e501c[_0x2f3f7e(0x199)]})();},'afterEach'(_0x35b7c7){const _0x514c4f=a36_0x11b55b,_0x549131={'LeVVe':'\x20-\x20','KOxTp':function(_0x40b17a,_0x241e3b){return _0x40b17a!==_0x241e3b;},'yIUUz':_0x514c4f(0x17e),'PSmQg':function(_0x3917ee,_0x2f8e67,_0x4cf839){return _0x3917ee(_0x2f8e67,_0x4cf839);},'kujfE':function(_0x9b288f,_0x1e90dc){return _0x9b288f+_0x1e90dc;},'XnkWv':_0x514c4f(0x156),'rfTWu':'error','grFqi':_0x514c4f(0x137),'mJUgR':_0x514c4f(0x139),'sIMJW':function(_0x67f3c3,_0x477be4){return _0x67f3c3>_0x477be4;},'yxYxH':function(_0x50653c,_0x5b7061){return _0x50653c===_0x5b7061;},'Mkitj':_0x514c4f(0x157),'snepj':'appium:app','QUuzz':function(_0x478648,_0x341a99,_0x5a043e,_0xd7760e){return _0x478648(_0x341a99,_0x5a043e,_0xd7760e);},'SaoyI':'isAccessibilityPlatform','sGfgp':_0x514c4f(0x138),'GWLSl':_0x514c4f(0x118),'KuVeh':_0x514c4f(0x135),'AoONT':_0x514c4f(0x141),'Eyhhm':_0x514c4f(0x182),'gpnLk':_0x514c4f(0x17d),'TCBMs':_0x514c4f(0x122),'TpgsC':_0x514c4f(0x1b3),'aBqgJ':_0x514c4f(0x186),'trWKg':function(_0x5be748){return _0x5be748();},'ORPVq':_0x514c4f(0x13a),'XRTUQ':function(_0xfe83f3,_0x43f3af){return _0xfe83f3>_0x43f3af;},'emCPh':function(_0x62e21b){return _0x62e21b();},'PGNUp':_0x514c4f(0x1b4),'eeknh':function(_0x188472,_0x509bc3,_0x411412){return _0x188472(_0x509bc3,_0x411412);},'MeWdw':_0x514c4f(0x151),'gMDbl':_0x514c4f(0x172)},_0x99ea66='browserstack internal helper hook';this[_0x514c4f(0x108)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x549131[_0x514c4f(0x1a3)]]),global[_0x514c4f(0x1c9)]=this['currentTest']['titlePath']()[_0x514c4f(0x16e)](_0x549131['LeVVe']),PerformanceTester['measureWrapper'](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x37363d=_0x514c4f,_0x258786={'yQDgv':_0x549131[_0x37363d(0x1b2)],'BsFYA':function(_0x341b0e,_0x50b513){return _0x549131['KOxTp'](_0x341b0e,_0x50b513);},'ZKgLV':_0x549131[_0x37363d(0x18b)],'kEQZm':function(_0x3474e9,_0xf50afd,_0x4d6bc1){const _0x4fed6b=_0x37363d;return _0x549131[_0x4fed6b(0x110)](_0x3474e9,_0xf50afd,_0x4d6bc1);},'ntmty':function(_0x26b277,_0x180625){const _0x5aff60=_0x37363d;return _0x549131[_0x5aff60(0x1bf)](_0x26b277,_0x180625);},'zCCGU':_0x549131[_0x37363d(0x103)],'wFISi':_0x549131['rfTWu'],'tRCyy':_0x549131[_0x37363d(0x187)],'sHbqb':_0x549131[_0x37363d(0x191)],'WUOAJ':function(_0x292469,_0x15e0d5){const _0x5da54d=_0x37363d;return _0x549131[_0x5da54d(0x146)](_0x292469,_0x15e0d5);},'rBlme':function(_0x5bf1a6,_0xdbf3df){const _0x1e1584=_0x37363d;return _0x549131[_0x1e1584(0x14b)](_0x5bf1a6,_0xdbf3df);},'hVGNU':_0x549131[_0x37363d(0x11d)],'SDsiB':_0x549131['snepj'],'gTskl':function(_0x41da46,_0x3fa4ed,_0x98e0ce,_0x427288){const _0x2e79c8=_0x37363d;return _0x549131[_0x2e79c8(0x171)](_0x41da46,_0x3fa4ed,_0x98e0ce,_0x427288);},'UUJrN':_0x549131[_0x37363d(0xff)],'aAnCL':_0x549131[_0x37363d(0x111)],'Dicey':_0x549131[_0x37363d(0x185)],'dHFbr':_0x549131['KuVeh'],'lQrEc':_0x549131[_0x37363d(0x18d)],'CeQGk':_0x549131[_0x37363d(0x194)],'eiSjB':_0x549131[_0x37363d(0x1b1)],'Zobke':_0x549131[_0x37363d(0x107)],'gmwat':_0x549131[_0x37363d(0x10b)],'oYdqD':_0x549131[_0x37363d(0x10f)],'xMFLq':function(_0x332b98){const _0x3463c9=_0x37363d;return _0x549131[_0x3463c9(0x1bb)](_0x332b98);},'yWrYY':function(_0x269ec1,_0x294da4,_0x3d322d){const _0x16f35e=_0x37363d;return _0x549131[_0x16f35e(0x110)](_0x269ec1,_0x294da4,_0x3d322d);},'FnKAj':function(_0x565094,_0x41064b,_0x5bc90b){const _0x3def79=_0x37363d;return _0x549131[_0x3def79(0x110)](_0x565094,_0x41064b,_0x5bc90b);},'BZTmy':_0x549131[_0x37363d(0x100)],'lRhSG':function(_0x21a4dc,_0x1fd86e){const _0x142996=_0x37363d;return _0x549131[_0x142996(0x145)](_0x21a4dc,_0x1fd86e);},'FxXPp':function(_0xed09eb){const _0x40296f=_0x37363d;return _0x549131[_0x40296f(0x132)](_0xed09eb);}},_0x48958b=async(_0x4d1a91,_0x6d5057)=>{const _0x13eef7=_0x37363d;await global[_0x13eef7(0x113)][0x0][_0x13eef7(0x184)](_0x13eef7(0x125)+_0x4d1a91+',\x22level\x22:\x20\x22'+_0x6d5057+_0x13eef7(0x17a));};new Promise(async _0x25040a=>{const _0x2983f9=_0x37363d,_0xf721a2={'nGXSu':_0x258786[_0x2983f9(0x11a)],'fauRm':function(_0x3581db,_0x6a5c76){const _0xf3022f=_0x2983f9;return _0x258786[_0xf3022f(0x1ab)](_0x3581db,_0x6a5c76);},'sWZFH':_0x258786[_0x2983f9(0x192)],'sbylK':function(_0x2d1a1a,_0x511a09,_0x1135f2){const _0x195ca9=_0x2983f9;return _0x258786[_0x195ca9(0x1c2)](_0x2d1a1a,_0x511a09,_0x1135f2);},'IWeIW':function(_0x5ba20e,_0x3589f3){const _0x5ee2c3=_0x2983f9;return _0x258786[_0x5ee2c3(0x15e)](_0x5ba20e,_0x3589f3);},'JylFz':_0x258786['zCCGU'],'xtlWm':_0x258786[_0x2983f9(0x1a7)],'DTnMu':_0x258786[_0x2983f9(0x12a)],'NKwUw':_0x258786[_0x2983f9(0x174)]};try{_0x258786['WUOAJ'](global['__drivers'][_0x2983f9(0x175)],0x1)&&(await global[_0x2983f9(0x153)](),global[_0x2983f9(0x113)][_0x2983f9(0x13c)](),global[_0x2983f9(0x129)]=[],global['__sessionFailed']=![]);try{if(global[_0x2983f9(0x14a)]&&_0x258786[_0x2983f9(0x12e)](global[_0x2983f9(0x198)],_0x258786['hVGNU'])&&global[_0x2983f9(0x113)][0x0]){const _0x55585a=_0x258786[_0x2983f9(0x1c5)](global['capabilities']['length'],0x0)?!!global[_0x2983f9(0x197)][0x0][_0x2983f9(0x14d)]||!!global[_0x2983f9(0x197)][0x0][_0x258786[_0x2983f9(0x13b)]]:![],_0x377e8f={};_0x377e8f[_0x2983f9(0x14d)]=_0x55585a,await _0x258786[_0x2983f9(0x101)](percyAutoCapture,global['__drivers'][0x0],_0x258786[_0x2983f9(0x155)],_0x377e8f);}}catch(_0x3af553){logger[_0x2983f9(0x13a)](_0x2983f9(0x183)+_0x3af553);}!global[_0x2983f9(0x13f)]&&(await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x2983f9(0x1c1)],async()=>{const _0x373652=_0x2983f9;await global[_0x373652(0x113)][0x0][_0x373652(0x184)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x373652(0x15f)](this[_0x373652(0x1b5)][_0x373652(0x10e)]()['join'](_0xf721a2[_0x373652(0x162)]))+'}}');})(),global[_0x2983f9(0x113)][0x0][_0x2983f9(0x13e)]=!![]),await PerformanceTester[_0x2983f9(0x1aa)](PerformanceAutEvents[_0x2983f9(0x188)],async()=>{const _0x3a3ce6=_0x2983f9,_0x594d2f=_0xf721a2[_0x3a3ce6(0x1ad)](this[_0x3a3ce6(0x1b5)][_0x3a3ce6(0x116)],_0xf721a2['sWZFH']);_0x594d2f?(global['__sessionFailed']=!![],global[_0x3a3ce6(0x129)][_0x3a3ce6(0x179)](this[_0x3a3ce6(0x1b5)][_0x3a3ce6(0x112)][_0x3a3ce6(0x1a9)]),await _0xf721a2['sbylK'](_0x48958b,JSON[_0x3a3ce6(0x15f)](_0xf721a2[_0x3a3ce6(0x14f)](_0xf721a2['JylFz'],this[_0x3a3ce6(0x1b5)][_0x3a3ce6(0x112)][_0x3a3ce6(0x1a9)])),_0xf721a2[_0x3a3ce6(0x19a)])):await _0xf721a2[_0x3a3ce6(0x1a2)](_0x48958b,JSON[_0x3a3ce6(0x15f)](_0xf721a2[_0x3a3ce6(0x142)]),_0xf721a2['NKwUw']);})();}catch(_0x36a130){logger['debug'](_0x2983f9(0x1b7)+_0x36a130);}try{if(this[_0x2983f9(0x1b5)][_0x2983f9(0x1a1)]&&globals['getGlobal'](_0x258786['UUJrN'])&&globals[_0x2983f9(0x18f)](_0x258786[_0x2983f9(0x1b0)])){logger[_0x2983f9(0x139)](_0x258786['Dicey']);const _0x4b5d27={};_0x4b5d27['thTestRunUuid']=this[_0x2983f9(0x1b5)][_0x2983f9(0x123)],_0x4b5d27[_0x2983f9(0x134)]=process[_0x2983f9(0x1c8)][testHubConstants[_0x2983f9(0x136)][_0x2983f9(0x10d)]],_0x4b5d27[_0x2983f9(0x1be)]=process['env'][testHubConstants[_0x2983f9(0x136)][_0x2983f9(0x10c)]];const _0x3ceae3=_0x4b5d27;logger[_0x2983f9(0x13a)](_0x2983f9(0x177)+JSON[_0x2983f9(0x15f)](_0x3ceae3)),logger[_0x2983f9(0x13a)](_0x258786[_0x2983f9(0x181)]);const _0x4aaea1={};_0x4aaea1[_0x2983f9(0x165)]=_0x258786[_0x2983f9(0x163)];const _0x1f1721=await PerformanceTester[_0x2983f9(0x1aa)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x7cb99b=_0x2983f9;return await accessibilityRetryHelper[_0x7cb99b(0x117)](global['__drivers'][0x0],global['browserstackSessionName']);},_0x4aaea1)();_0x1f1721?logger[_0x2983f9(0x13a)](_0x258786[_0x2983f9(0x10a)]):logger[_0x2983f9(0x167)](_0x258786['eiSjB']);const _0x1bbb10=await PerformanceTester['measureWrapper'](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x1dbe70=_0x2983f9;return await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global[_0x1dbe70(0x113)][0x0],_0x3ceae3);})();_0x1bbb10?logger['debug'](_0x258786[_0x2983f9(0x17c)]):logger['warn'](_0x258786[_0x2983f9(0x120)]),logger[_0x2983f9(0x139)](_0x258786[_0x2983f9(0xfe)]);}}catch(_0x4fbce4){logger[_0x2983f9(0x189)](_0x2983f9(0x1c6)+this['currentTest']['titlePath']()+_0x2983f9(0x105),_0x4fbce4);}try{try{if(_0x258786[_0x2983f9(0x16a)](shouldProcessEventForTesthub)){global[_0x2983f9(0x113)][0x0]&&await _0x258786[_0x2983f9(0x18e)](sendPlatformDetails,global[_0x2983f9(0x113)][0x0],this['currentTest']?this['currentTest'][_0x2983f9(0x123)]:null);if(_0x258786[_0x2983f9(0x16a)](isBrowserstackInfra)){PerformanceTester[_0x2983f9(0x1a6)](PerformanceO11yEvents[_0x2983f9(0x1a5)]);const _0x13b49a=_0x2983f9(0x16d)+Date[_0x2983f9(0x131)]();await _0x258786[_0x2983f9(0x119)](_0x48958b,JSON[_0x2983f9(0x15f)](_0x13b49a),_0x258786[_0x2983f9(0x158)]),PerformanceTester[_0x2983f9(0x12d)](PerformanceO11yEvents['SYNC']);}}}catch(_0xefecbf){logger[_0x2983f9(0x13a)](_0x2983f9(0x143)+_0xefecbf),PerformanceTester[_0x2983f9(0x12d)](PerformanceO11yEvents[_0x2983f9(0x1a5)],![],_0xefecbf);}_0x258786[_0x2983f9(0x196)](global[_0x2983f9(0x113)][0x0][_0x2983f9(0x170)],0x0)&&await global[_0x2983f9(0x153)]();}catch(_0x10883d){logger[_0x2983f9(0x13a)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x10883d);}_0x258786[_0x2983f9(0x180)](_0x25040a);})[_0x37363d(0x15b)](()=>{_0x258786['xMFLq'](_0x35b7c7);});},{'platform':_0x549131['eeknh'](nestedKeyValue,global[_0x514c4f(0x109)],[_0x549131['MeWdw']]),'hookType':_0x549131['gMDbl']})();},'afterAll'(_0x55d6e8){const _0x176166=a36_0x11b55b,_0x4c70cd={'WLDlL':function(_0x1525bd){return _0x1525bd();},'faHBV':'Mocha','ZFalg':function(_0x58b806,_0x18d277,_0x4fcab9){return _0x58b806(_0x18d277,_0x4fcab9);},'lauSD':'index','mgCcV':_0x176166(0x1c4)},_0x4960bf='browserstack internal helper hook';this[_0x176166(0x108)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x4c70cd[_0x176166(0x148)]]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x176166(0x15d)],()=>{const _0x59eb77=_0x176166;new Promise(async _0x54dc14=>{const _0x25bcc6=a36_0x2452;await global[_0x25bcc6(0x153)](),_0x4c70cd[_0x25bcc6(0x1c7)](_0x54dc14);})[_0x59eb77(0x15b)]()['finally'](()=>{const _0x2fadba=_0x59eb77;_0x4c70cd[_0x2fadba(0x1c7)](_0x55d6e8);});},{'platform':_0x4c70cd['ZFalg'](nestedKeyValue,global[_0x176166(0x109)],[_0x4c70cd[_0x176166(0x128)]]),'hookType':_0x4c70cd[_0x176166(0x19b)]})();}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a37_0x3a916a=a37_0x47ca;(function(_0x156e9b,_0x8b1605){const _0x2d6cad=a37_0x47ca,_0x37397d=_0x156e9b();while(!![]){try{const _0xac271a=-parseInt(_0x2d6cad(0x106))/0x1*(-parseInt(_0x2d6cad(0xd9))/0x2)+parseInt(_0x2d6cad(0xf9))/0x3*(parseInt(_0x2d6cad(0xf3))/0x4)+parseInt(_0x2d6cad(0xf1))/0x5*(parseInt(_0x2d6cad(0x108))/0x6)+-parseInt(_0x2d6cad(0xd5))/0x7+parseInt(_0x2d6cad(0x105))/0x8+parseInt(_0x2d6cad(0xd6))/0x9*(-parseInt(_0x2d6cad(0xd3))/0xa)+-parseInt(_0x2d6cad(0xd0))/0xb;if(_0xac271a===_0x8b1605)break;else _0x37397d['push'](_0x37397d['shift']());}catch(_0x5d153a){_0x37397d['push'](_0x37397d['shift']());}}}(a37_0x2d8f,0xcea05));function a37_0x47ca(_0x37dd8b,_0x9eaeaa){const _0x2d8ff6=a37_0x2d8f();return a37_0x47ca=function(_0x47cad4,_0x30c385){_0x47cad4=_0x47cad4-0xcd;let _0x350fb2=_0x2d8ff6[_0x47cad4];return _0x350fb2;},a37_0x47ca(_0x37dd8b,_0x9eaeaa);}const fs=require('fs'),path=require(a37_0x3a916a(0xf2)),{spawn}=require(a37_0x3a916a(0x10e)),logger=require(a37_0x3a916a(0xea))[a37_0x3a916a(0xce)],{default:BrowserStackSetup}=require(a37_0x3a916a(0x119)),helper=require(a37_0x3a916a(0xdf)),constants=require(a37_0x3a916a(0x10f)),getUserNightwatchConfigs=(_0x5d3008,_0x3e5352)=>{const _0x2cb120=a37_0x3a916a,_0x265997={'pbYeA':_0x2cb120(0xdd),'uOzXs':_0x2cb120(0x102),'biqqc':function(_0x450f05,_0x289bae){return _0x450f05(_0x289bae);},'DSpDa':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x2845ca=null,_0x5d7c9c={};const _0x545d57=_0x3e5352[_0x2cb120(0xe2)](_0x49100a=>_0x49100a===_0x2cb120(0xd8));if(!helper[_0x2cb120(0xf0)](_0x5d3008[_0x2cb120(0xe6)])&&fs[_0x2cb120(0xd4)](path[_0x2cb120(0xf5)](process[_0x2cb120(0x107)](),_0x5d3008[_0x2cb120(0xe6)])))_0x2845ca=path[_0x2cb120(0xf5)](process[_0x2cb120(0x107)](),_0x5d3008[_0x2cb120(0xe6)]),_0x3e5352[_0x2cb120(0xe1)](_0x545d57,0x2);else{if(fs[_0x2cb120(0xd4)](path[_0x2cb120(0xf5)](process['cwd'](),_0x265997[_0x2cb120(0xee)])))_0x2845ca=path[_0x2cb120(0xf5)](process[_0x2cb120(0x107)](),_0x265997['pbYeA']);else fs[_0x2cb120(0xd4)](path[_0x2cb120(0xf5)](process[_0x2cb120(0x107)](),_0x265997[_0x2cb120(0x114)]))&&(_0x2845ca=path[_0x2cb120(0xf5)](process[_0x2cb120(0x107)](),_0x265997[_0x2cb120(0x114)]));}return _0x2845ca?(logger['info'](_0x2cb120(0x11c)+_0x2845ca),_0x5d7c9c=_0x265997[_0x2cb120(0xfe)](require,_0x2845ca)):logger[_0x2cb120(0xeb)](_0x265997[_0x2cb120(0xcf)]),_0x5d7c9c;},removeExistingEnvs=_0x15cb15=>{const _0x4e2df6=a37_0x3a916a,_0x219a5c={};_0x219a5c['CQxno']=function(_0x59e65c,_0x586206){return _0x59e65c>_0x586206;},_0x219a5c[_0x4e2df6(0xe8)]=function(_0x5ac64d,_0x1696f2){return _0x5ac64d>_0x1696f2;};const _0x42aa5b=_0x219a5c;let _0x3f98f1=_0x15cb15[_0x4e2df6(0xe2)](_0x2237a8=>_0x2237a8==='--env');_0x42aa5b[_0x4e2df6(0x112)](_0x3f98f1,-0x1)&&_0x15cb15['splice'](_0x3f98f1,0x2),_0x3f98f1=_0x15cb15[_0x4e2df6(0xe2)](_0x2e5949=>_0x2e5949==='-e'),_0x42aa5b[_0x4e2df6(0xe8)](_0x3f98f1,-0x1)&&_0x15cb15['splice'](_0x3f98f1,0x2);};function a37_0x2d8f(){const _0x3ec53a=['DSpDa','17663041ILDICd','BsmuE','start_process','60tKSIcV','existsSync','1957004jmgaJz','448956LeQJyU','NmFdS','--config','406wKlgEd','mergeDeep','slice','desiredCapabilities','nightwatch.conf.js','useW3C','../../helpers/helper','DYjBY','splice','findIndex','map','IGWTh','child\x20process\x20exited\x20with\x20code\x20','config','close','erWZd','env','../../helpers/logger','info','modifyBrowserStackCaps','platform','pbYeA','nightwatch','isUndefined','85vbHCWI','path','9904mFEvbc','xiIrI','join','debug','trim','test','1923WmVWdd','getPlatformName','lrGTV','nightwatch.cmd','now','biqqc','WYJOw','unlinkSync','nightwatch-browserstack.json','nightwatch.json','flSUf','push','8153352rADDrU','490ZHOhRM','cwd','114774wFPgFj','length','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','host','test_settings','exports','child_process','../utils/constants','BFBGh','platforms','CQxno','inherit','uOzXs','rFMNI','forEach','gQqjS','modifyBrowserStackW3CCaps','../../helpers/BrowserStackSetup','stringify','UJLGU','Getting\x20your\x20nightwatch\x20configs\x20from\x20','port','winstonLogger'];a37_0x2d8f=function(){return _0x3ec53a;};return a37_0x2d8f();}function run(_0x43f9af,_0x3945a8,_0x59b973){const _0x300aa0=a37_0x3a916a,_0x49122b={'IGWTh':_0x300aa0(0xef),'lQUjl':function(_0x387cf0,_0x65f82e){return _0x387cf0+_0x65f82e;},'DYjBY':_0x300aa0(0x10c),'lrGTV':function(_0x28d274,_0x37e91c,_0x3566d8){return _0x28d274(_0x37e91c,_0x3566d8);},'BFBGh':'hub.browserstack.com','ZLHki':_0x300aa0(0x10a),'rFMNI':function(_0x385736,_0x2bc497){return _0x385736===_0x2bc497;},'UJLGU':_0x300aa0(0x101),'gQqjS':function(_0x3cae6c,_0x289e80){return _0x3cae6c(_0x289e80);},'WYJOw':function(_0x583fbb,_0x4510f3,_0x44a269,_0x371397){return _0x583fbb(_0x4510f3,_0x44a269,_0x371397);},'flSUf':_0x300aa0(0xfc),'NmFdS':'--config','fpaRl':'--env','BsmuE':_0x300aa0(0x113),'xiIrI':_0x300aa0(0xe7)};if(!_0x59b973[_0x300aa0(0xe6)])return;const _0x1f3903=_0x49122b[_0x300aa0(0xfb)](getUserNightwatchConfigs,_0x43f9af,_0x3945a8),_0x20d3f8={};_0x20d3f8[_0x300aa0(0xd2)]=![];const _0x4c9827={};_0x4c9827[_0x300aa0(0x10b)]=_0x49122b[_0x300aa0(0x110)],_0x4c9827[_0x300aa0(0xcd)]=0x1bb;const _0x15e2b5={};_0x15e2b5['webdriver']=_0x20d3f8,_0x15e2b5['selenium']=_0x4c9827;const _0x43276a=_0x15e2b5;logger[_0x300aa0(0xeb)](_0x49122b['ZLHki']);const _0x2ee17b={..._0x1f3903},_0x48b189=_0x2ee17b,_0x2aacee=helper[_0x300aa0(0xde)](_0x59b973[_0x300aa0(0xe6)]),_0x1de026=[];_0x59b973['config'][_0x300aa0(0x111)][_0x300aa0(0x116)]((_0x40f2c0,_0x2d5d7d)=>{const _0x40d1db=_0x300aa0;_0x2aacee?_0x1de026[_0x40d1db(0x104)](helper[_0x40d1db(0x118)](_0x59b973[_0x40d1db(0xe6)],_0x49122b[_0x40d1db(0xe4)],_0x2d5d7d)):_0x1de026[_0x40d1db(0x104)](helper[_0x40d1db(0xec)](_0x59b973['config'],_0x49122b[_0x40d1db(0xe4)],_0x2d5d7d));});const _0x2a07ea={},_0x154c24=[];_0x43f9af[_0x300aa0(0xe9)]=_0x43f9af[_0x300aa0(0xe9)]||_0x43f9af['e'];const _0x46d114=_0x43f9af['env']?_0x43f9af[_0x300aa0(0xe9)][_0x300aa0(0xf7)]()['split'](',')[_0x300aa0(0xe3)](_0x58ea84=>_0x58ea84[_0x300aa0(0xf7)]())['filter'](_0x7dc940=>_0x7dc940!==''):[''];_0x49122b[_0x300aa0(0x115)](_0x46d114[_0x300aa0(0x109)],0x0)&&_0x46d114['push']('');_0x46d114[_0x300aa0(0x116)](_0x109598=>{const _0x2540dc=_0x300aa0;_0x1de026[_0x2540dc(0x116)](_0x23164e=>{const _0x3a8422=_0x2540dc;let _0xc3d53a=_0x49122b['lQUjl'](helper[_0x3a8422(0xfa)](_0x23164e,'_'),'_'+Date[_0x3a8422(0xfd)]());_0x109598&&(_0xc3d53a+='_'+_0x109598);if(_0x109598&&(!_0x1f3903[_0x49122b[_0x3a8422(0xe0)]]||!_0x1f3903[_0x49122b[_0x3a8422(0xe0)]][_0x109598]))return;const _0x33af3a={..._0x43276a};_0x33af3a[_0x3a8422(0xdc)]=_0x23164e;const _0x436ae1=_0x33af3a;_0x2a07ea[_0xc3d53a]=_0x109598?helper[_0x3a8422(0xda)](_0x1f3903[_0x49122b[_0x3a8422(0xe0)]][_0x109598],_0x436ae1):_0x436ae1,_0x154c24[_0x3a8422(0x104)](_0xc3d53a);});});!_0x48b189[_0x300aa0(0x10c)]&&(_0x48b189['test_settings']={});_0x48b189[_0x300aa0(0x10c)]={..._0x48b189[_0x300aa0(0x10c)],..._0x2a07ea};const _0x465ebc=path[_0x300aa0(0xf5)](__dirname,_0x49122b[_0x300aa0(0x11b)]);fs['writeFileSync'](_0x465ebc,JSON[_0x300aa0(0x11a)](_0x48b189)),_0x49122b[_0x300aa0(0x117)](removeExistingEnvs,_0x3945a8);const _0x2ac95a=_0x49122b[_0x300aa0(0xff)](spawn,/^win/[_0x300aa0(0xf8)](process[_0x300aa0(0xed)])?_0x49122b[_0x300aa0(0x103)]:_0x49122b[_0x300aa0(0xe4)],[_0x49122b[_0x300aa0(0xd7)],_0x465ebc,..._0x3945a8[_0x300aa0(0xdb)](0x1),_0x49122b['fpaRl'],_0x154c24[_0x300aa0(0xf5)](',')],{'stdio':_0x49122b[_0x300aa0(0xd1)]});_0x2ac95a['on'](_0x49122b[_0x300aa0(0xf4)],async _0x5dc40a=>{const _0x541c81=_0x300aa0;logger[_0x541c81(0xf6)](_0x541c81(0xe5)+_0x5dc40a),logger[_0x541c81(0xeb)]('Deleting\x20'+_0x465ebc),fs[_0x541c81(0x100)](_0x465ebc);});}module[a37_0x3a916a(0x10d)]=run;
2
+ 'use strict';function a37_0x277e(_0x199981,_0x3b485e){const _0xe254d=a37_0xe254();return a37_0x277e=function(_0x277e23,_0x47137a){_0x277e23=_0x277e23-0x183;let _0x5a3ea5=_0xe254d[_0x277e23];return _0x5a3ea5;},a37_0x277e(_0x199981,_0x3b485e);}const a37_0x20cf8f=a37_0x277e;(function(_0x36c4bf,_0x470b58){const _0x4e68c2=a37_0x277e,_0x3de44c=_0x36c4bf();while(!![]){try{const _0x401c72=parseInt(_0x4e68c2(0x185))/0x1*(parseInt(_0x4e68c2(0x191))/0x2)+parseInt(_0x4e68c2(0x187))/0x3+-parseInt(_0x4e68c2(0x1ae))/0x4*(-parseInt(_0x4e68c2(0x1c3))/0x5)+-parseInt(_0x4e68c2(0x18e))/0x6*(parseInt(_0x4e68c2(0x18d))/0x7)+-parseInt(_0x4e68c2(0x19a))/0x8+-parseInt(_0x4e68c2(0x1a3))/0x9*(parseInt(_0x4e68c2(0x1cf))/0xa)+parseInt(_0x4e68c2(0x189))/0xb*(parseInt(_0x4e68c2(0x1bf))/0xc);if(_0x401c72===_0x470b58)break;else _0x3de44c['push'](_0x3de44c['shift']());}catch(_0x27938f){_0x3de44c['push'](_0x3de44c['shift']());}}}(a37_0xe254,0x4fd67));function a37_0xe254(){const _0x47982a=['Cwzwx','nightwatch.json','KaPfe','nightwatch','trim','splice','BmlFr','XTOQQ','39249caARJc','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','rNcgL','split','start_process','child_process','zxXWb','rDszG','test_settings','slice','GqzAI','229332iaPXEM','join','bxkag','winstonLogger','config','child\x20process\x20exited\x20with\x20code\x20','ttOcZ','SBZor','selenium','env','desiredCapabilities','length','info','modifyBrowserStackW3CCaps','findIndex','port','test','384JWmFxT','hub.browserstack.com','cwd','forEach','5GicaRB','getPlatformName','--env','nightwatch.conf.js','Getting\x20your\x20nightwatch\x20configs\x20from\x20','HyOxA','useW3C','Hdrfq','existsSync','inherit','writeFileSync','debug','1320RvqAmS','platform','yLvtj','oymXx','../../helpers/logger','mergeDeep','1oXSljo','SfAFa','898668epeytG','../../helpers/helper','301191uZQKeA','filter','platforms','zSqpA','176386tTtQMz','126emSuvX','close','path','637190OHaycg','EVnQu','XvzQh','push','../../helpers/BrowserStackSetup','Deleting\x20','unlinkSync','--config','stringify','958808uinZMB'];a37_0xe254=function(){return _0x47982a;};return a37_0xe254();}const fs=require('fs'),path=require(a37_0x20cf8f(0x190)),{spawn}=require(a37_0x20cf8f(0x1a8)),logger=require(a37_0x20cf8f(0x183))[a37_0x20cf8f(0x1b1)],{default:BrowserStackSetup}=require(a37_0x20cf8f(0x195)),helper=require(a37_0x20cf8f(0x188)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x5f51fc,_0xb10217)=>{const _0x335233=a37_0x20cf8f,_0x412e4e={'Hdrfq':_0x335233(0x1c6),'oymXx':_0x335233(0x19c),'EVnQu':function(_0x5922d2,_0x227084){return _0x5922d2(_0x227084);},'rDszG':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x2f624f=null,_0x37668f={};const _0x33041a=_0xb10217[_0x335233(0x1bc)](_0x229ca5=>_0x229ca5===_0x335233(0x198));if(!helper['isUndefined'](_0x5f51fc['config'])&&fs[_0x335233(0x1cb)](path['join'](process[_0x335233(0x1c1)](),_0x5f51fc[_0x335233(0x1b2)])))_0x2f624f=path['join'](process[_0x335233(0x1c1)](),_0x5f51fc['config']),_0xb10217[_0x335233(0x1a0)](_0x33041a,0x2);else{if(fs[_0x335233(0x1cb)](path[_0x335233(0x1af)](process['cwd'](),_0x412e4e[_0x335233(0x1ca)])))_0x2f624f=path['join'](process[_0x335233(0x1c1)](),_0x412e4e[_0x335233(0x1ca)]);else fs[_0x335233(0x1cb)](path[_0x335233(0x1af)](process[_0x335233(0x1c1)](),_0x412e4e[_0x335233(0x1d2)]))&&(_0x2f624f=path[_0x335233(0x1af)](process[_0x335233(0x1c1)](),_0x412e4e['oymXx']));}return _0x2f624f?(logger[_0x335233(0x1ba)](_0x335233(0x1c7)+_0x2f624f),_0x37668f=_0x412e4e[_0x335233(0x192)](require,_0x2f624f)):logger[_0x335233(0x1ba)](_0x412e4e[_0x335233(0x1aa)]),_0x37668f;},removeExistingEnvs=_0x474be8=>{const _0xbed8b2=a37_0x20cf8f,_0x5253ff={};_0x5253ff[_0xbed8b2(0x1b4)]=function(_0xc9d709,_0x26beb6){return _0xc9d709>_0x26beb6;},_0x5253ff['XTOQQ']=function(_0xdd4efe,_0x2068c2){return _0xdd4efe>_0x2068c2;};const _0x5c20ac=_0x5253ff;let _0x3bdccc=_0x474be8[_0xbed8b2(0x1bc)](_0x57f560=>_0x57f560===_0xbed8b2(0x1c5));_0x5c20ac['ttOcZ'](_0x3bdccc,-0x1)&&_0x474be8['splice'](_0x3bdccc,0x2),_0x3bdccc=_0x474be8['findIndex'](_0xaeec0c=>_0xaeec0c==='-e'),_0x5c20ac[_0xbed8b2(0x1a2)](_0x3bdccc,-0x1)&&_0x474be8[_0xbed8b2(0x1a0)](_0x3bdccc,0x2);};function run(_0x250edc,_0x879a9d,_0x5a5059){const _0x321814=a37_0x20cf8f,_0x326848={'zSqpA':_0x321814(0x19e),'rNcgL':function(_0x2f8e3b,_0x2eb76c){return _0x2f8e3b+_0x2eb76c;},'BmlFr':_0x321814(0x1ab),'clHfg':function(_0x3a9e4e,_0x1c9c38,_0x366bb5){return _0x3a9e4e(_0x1c9c38,_0x366bb5);},'Yskbi':_0x321814(0x1c0),'KaPfe':_0x321814(0x1a4),'PoiFX':function(_0x5c4779,_0x41cbfc){return _0x5c4779===_0x41cbfc;},'Cwzwx':'nightwatch-browserstack.json','SfAFa':function(_0x43613a,_0x2c9f14){return _0x43613a(_0x2c9f14);},'HyOxA':function(_0xaec3fb,_0x32fe02,_0x265a73,_0x492cc6){return _0xaec3fb(_0x32fe02,_0x265a73,_0x492cc6);},'bxkag':'nightwatch.cmd','zxXWb':_0x321814(0x198),'oIwmQ':_0x321814(0x1c5),'yLvtj':_0x321814(0x1cc),'GqzAI':_0x321814(0x18f)};if(!_0x5a5059[_0x321814(0x1b2)])return;const _0x499ab5=_0x326848['clHfg'](getUserNightwatchConfigs,_0x250edc,_0x879a9d),_0x450797={};_0x450797[_0x321814(0x1a7)]=![];const _0x8c92df={};_0x8c92df['host']=_0x326848['Yskbi'],_0x8c92df[_0x321814(0x1bd)]=0x1bb;const _0x13d734={};_0x13d734['webdriver']=_0x450797,_0x13d734[_0x321814(0x1b6)]=_0x8c92df;const _0x153c55=_0x13d734;logger[_0x321814(0x1ba)](_0x326848[_0x321814(0x19d)]);const _0x2bf187={..._0x499ab5},_0x1d86cd=_0x2bf187,_0x51be88=helper[_0x321814(0x1c9)](_0x5a5059[_0x321814(0x1b2)]),_0x5d77e0=[];_0x5a5059['config'][_0x321814(0x18b)][_0x321814(0x1c2)]((_0x10c856,_0x33cd49)=>{const _0x52e432=_0x321814;_0x51be88?_0x5d77e0[_0x52e432(0x194)](helper[_0x52e432(0x1bb)](_0x5a5059[_0x52e432(0x1b2)],_0x326848[_0x52e432(0x18c)],_0x33cd49)):_0x5d77e0[_0x52e432(0x194)](helper['modifyBrowserStackCaps'](_0x5a5059[_0x52e432(0x1b2)],_0x326848['zSqpA'],_0x33cd49));});const _0x22d482={},_0x5adf9d=[];_0x250edc[_0x321814(0x1b7)]=_0x250edc[_0x321814(0x1b7)]||_0x250edc['e'];const _0xb1f2b6=_0x250edc[_0x321814(0x1b7)]?_0x250edc[_0x321814(0x1b7)][_0x321814(0x19f)]()[_0x321814(0x1a6)](',')['map'](_0x1c59a9=>_0x1c59a9[_0x321814(0x19f)]())[_0x321814(0x18a)](_0x28ab9b=>_0x28ab9b!==''):[''];_0x326848['PoiFX'](_0xb1f2b6[_0x321814(0x1b9)],0x0)&&_0xb1f2b6[_0x321814(0x194)]('');_0xb1f2b6[_0x321814(0x1c2)](_0x54c364=>{const _0x4abeba=_0x321814,_0x5e4e8e={'SBZor':function(_0x36e09c,_0x11b9ea){const _0x846472=a37_0x277e;return _0x326848[_0x846472(0x1a5)](_0x36e09c,_0x11b9ea);},'XvzQh':_0x326848[_0x4abeba(0x1a1)]};_0x5d77e0[_0x4abeba(0x1c2)](_0x59cfa6=>{const _0x54f000=_0x4abeba;let _0x38b5de=_0x5e4e8e[_0x54f000(0x1b5)](helper[_0x54f000(0x1c4)](_0x59cfa6,'_'),'_'+Date['now']());_0x54c364&&(_0x38b5de+='_'+_0x54c364);if(_0x54c364&&(!_0x499ab5[_0x5e4e8e[_0x54f000(0x193)]]||!_0x499ab5[_0x5e4e8e['XvzQh']][_0x54c364]))return;const _0x1b3ccd={..._0x153c55};_0x1b3ccd[_0x54f000(0x1b8)]=_0x59cfa6;const _0x3a5b41=_0x1b3ccd;_0x22d482[_0x38b5de]=_0x54c364?helper[_0x54f000(0x184)](_0x499ab5[_0x5e4e8e['XvzQh']][_0x54c364],_0x3a5b41):_0x3a5b41,_0x5adf9d[_0x54f000(0x194)](_0x38b5de);});});!_0x1d86cd['test_settings']&&(_0x1d86cd['test_settings']={});_0x1d86cd[_0x321814(0x1ab)]={..._0x1d86cd[_0x321814(0x1ab)],..._0x22d482};const _0x3af1db=path[_0x321814(0x1af)](__dirname,_0x326848[_0x321814(0x19b)]);fs[_0x321814(0x1cd)](_0x3af1db,JSON[_0x321814(0x199)](_0x1d86cd)),_0x326848[_0x321814(0x186)](removeExistingEnvs,_0x879a9d);const _0x17bbe3=_0x326848[_0x321814(0x1c8)](spawn,/^win/[_0x321814(0x1be)](process[_0x321814(0x1d0)])?_0x326848[_0x321814(0x1b0)]:_0x326848[_0x321814(0x18c)],[_0x326848[_0x321814(0x1a9)],_0x3af1db,..._0x879a9d[_0x321814(0x1ac)](0x1),_0x326848['oIwmQ'],_0x5adf9d[_0x321814(0x1af)](',')],{'stdio':_0x326848[_0x321814(0x1d1)]});_0x17bbe3['on'](_0x326848[_0x321814(0x1ad)],async _0x2a605b=>{const _0x3f119a=_0x321814;logger[_0x3f119a(0x1ce)](_0x3f119a(0x1b3)+_0x2a605b),logger[_0x3f119a(0x1ba)](_0x3f119a(0x196)+_0x3af1db),fs[_0x3f119a(0x197)](_0x3af1db);});}module['exports']=run;
@@ -1 +1 @@
1
- const a38_0xd36788=a38_0x512e;(function(_0x15d820,_0x4d3f8a){const _0xec19c=a38_0x512e,_0x4672a5=_0x15d820();while(!![]){try{const _0x3d6bcd=-parseInt(_0xec19c(0x240))/0x1+-parseInt(_0xec19c(0x231))/0x2*(parseInt(_0xec19c(0x1f0))/0x3)+-parseInt(_0xec19c(0x1fd))/0x4+parseInt(_0xec19c(0x222))/0x5*(parseInt(_0xec19c(0x22a))/0x6)+-parseInt(_0xec19c(0x1e2))/0x7*(-parseInt(_0xec19c(0x200))/0x8)+-parseInt(_0xec19c(0x1e4))/0x9+parseInt(_0xec19c(0x243))/0xa;if(_0x3d6bcd===_0x4d3f8a)break;else _0x4672a5['push'](_0x4672a5['shift']());}catch(_0xce8981){_0x4672a5['push'](_0x4672a5['shift']());}}}(a38_0x212f,0x60998));function a38_0x512e(_0x57461f,_0x143864){const _0x212fb5=a38_0x212f();return a38_0x512e=function(_0x512ed0,_0x46864f){_0x512ed0=_0x512ed0-0x1d3;let _0x77f3c3=_0x212fb5[_0x512ed0];return _0x77f3c3;},a38_0x512e(_0x57461f,_0x143864);}const util=require(a38_0xd36788(0x1d6)),logger=require('../../helpers/logger')[a38_0xd36788(0x204)],{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined,isBrowserstackInfra}=require(a38_0xd36788(0x1ec)),scripts=require(a38_0xd36788(0x229)),PerformanceTester=require(a38_0xd36788(0x23b)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../../helpers/performance/constants');function a38_0x212f(){const _0x1bc9aa=['Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','accessibilityPlatform','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','hMJsc','evaluate','XuEsZ','\x20page:\x20','accessibilityOptions.wcagVersion','debug','currentTest','project','HbNGq','browserStackExecuteDriver','hKREQ','GFjwE','scannerVersion','wsEndpoint','browser_version','scannerProcessingTimeout','format','MfpEC','measureWrapper','IcVxB','2915KEgRtJ','use','bBnfF','needsReview','qlnZI','accessibilityOptions.includeIssueType.bestPractice','setAccessibilityCapabilities','../../helpers/accessibility-automation/scripts','1182DZbGne','latest','bstackSdkArgs','getAccessibilityResults','warn','playwright-chromium','replace','5948nLpGxi','LtPsg','cKFiB','BgMmF','ydEVx','oWpEq','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','parse','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','Dvejd','../../helpers/performance/performance-tester','executeScript','rMeDu','accessibilityOptions.includeIssueType.needsReview','tlaJK','564874zgqrSU','PvHAs','__workerDetails','18801990TwBKBt','toYpC','accessibilityOptions','hLbha','browserName','getAccessibilityResultsSummary','faxmv','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','util','name','Playwright','stringify','browserStackEvaluate','eWDMZ','xUgmj','BS_A11Y_JWT','testInfo','CcoAO','LjrMG','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','1428fSZSen','browserstack.accessibility','6812694oySAVW','wcagVersion','(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','BVgfh','error','connectOptions','constructor','rhnNv','../../helpers/helper','BSXUa','ZzSit','includeIssueType','186tiXIWM','platformValidation','bZziu','CEfAI','WebDriver','bestPractice','DmCtc','browser','accessibilityOptions.authToken','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','chrome','command','LSvnK','384840DaVgQK','PERFORM_SCAN','tQCDI','120UKedTg','url','pRxHR','deviceName','winstonLogger','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','workerInfo','YDkrh','performScan','EODSa','Lyzkh'];a38_0x212f=function(){return _0x1bc9aa;};return a38_0x212f();}exports[a38_0xd36788(0x1da)]=async(_0x5a3f2a,_0x6972fb,_0x1667c0={})=>{const _0x6390d=a38_0xd36788,_0x530736={};_0x530736[_0x6390d(0x20a)]=_0x6390d(0x22c);const _0x32ec49=_0x530736;return await _0x5a3f2a[_0x6390d(0x20f)]('(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'+_0x6972fb[_0x6390d(0x230)](/arguments/g,_0x32ec49[_0x6390d(0x20a)])+_0x6390d(0x1f9)+JSON[_0x6390d(0x1d9)](_0x1667c0)+')');},exports[a38_0xd36788(0x217)]=async(_0x4d4aad,_0x1a3092,_0x5b1776={})=>{const _0x4af3fb=a38_0xd36788,_0x504406={};_0x504406[_0x4af3fb(0x1dc)]=function(_0x5aa88c,_0x4135ba){return _0x5aa88c===_0x4135ba;},_0x504406[_0x4af3fb(0x1d4)]=_0x4af3fb(0x1f4),_0x504406[_0x4af3fb(0x1eb)]=_0x4af3fb(0x1d8),_0x504406[_0x4af3fb(0x21f)]='bstackSdkArgs';const _0x16a2dd=_0x504406;if(_0x16a2dd[_0x4af3fb(0x1dc)](_0x4d4aad[_0x4af3fb(0x1ea)][_0x4af3fb(0x1d7)],_0x16a2dd[_0x4af3fb(0x1d4)]))return await _0x4d4aad['executeAsyncScript'](_0x1a3092,_0x5b1776);else{if(_0x16a2dd[_0x4af3fb(0x1dc)](_0x4d4aad[_0x4af3fb(0x1ea)][_0x4af3fb(0x1d7)],_0x16a2dd['rhnNv']))return await _0x4d4aad[_0x4af3fb(0x23c)](_0x4af3fb(0x1e6)+_0x1a3092['replace'](/arguments/g,_0x16a2dd[_0x4af3fb(0x21f)])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON[_0x4af3fb(0x1d9)](_0x5b1776)+')');}},exports[a38_0xd36788(0x228)]=async _0x5cfae5=>{const _0x232f68=a38_0xd36788,_0x590469={};_0x590469[_0x232f68(0x209)]=_0x232f68(0x212),_0x590469[_0x232f68(0x236)]='accessibilityOptions.scannerProcessingTimeout',_0x590469[_0x232f68(0x1ee)]=_0x232f68(0x227),_0x590469[_0x232f68(0x221)]=_0x232f68(0x23e),_0x590469[_0x232f68(0x234)]=_0x232f68(0x1f8),_0x590469[_0x232f68(0x1f3)]='accessibilityOptions.scannerVersion';const _0x17b7ef=_0x590469;_0x5cfae5['accessibilityOptions']&&(_0x5cfae5[_0x232f68(0x245)][_0x232f68(0x1e5)]&&(_0x5cfae5[_0x17b7ef[_0x232f68(0x209)]]=_0x5cfae5['accessibilityOptions'][_0x232f68(0x1e5)]),_0x5cfae5[_0x232f68(0x245)][_0x232f68(0x21d)]&&(_0x5cfae5[_0x17b7ef[_0x232f68(0x236)]]=_0x5cfae5[_0x232f68(0x245)][_0x232f68(0x21d)]),_0x5cfae5['accessibilityOptions'][_0x232f68(0x1ef)]&&(_0x5cfae5[_0x17b7ef[_0x232f68(0x1ee)]]=_0x5cfae5[_0x232f68(0x245)][_0x232f68(0x1ef)][_0x232f68(0x1f5)],_0x5cfae5[_0x17b7ef[_0x232f68(0x221)]]=_0x5cfae5['accessibilityOptions'][_0x232f68(0x1ef)][_0x232f68(0x225)]));const _0x4e2b44=JSON[_0x232f68(0x238)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x232f68(0x21a)];_0x5cfae5[_0x17b7ef['BgMmF']]=process['env'][_0x232f68(0x1dd)],_0x5cfae5[_0x17b7ef[_0x232f68(0x1f3)]]=_0x4e2b44,delete _0x5cfae5['accessibilityOptions'];},exports[a38_0xd36788(0x22d)]=async _0x537e72=>{const _0x9a43bc=a38_0xd36788,_0x5e83cd={};_0x5e83cd['lcKBK']='No\x20accessibility\x20results\x20were\x20found.',_0x5e83cd[_0x9a43bc(0x246)]=_0x9a43bc(0x1d5);const _0x5874af=_0x5e83cd;if(global[_0x9a43bc(0x20c)])try{const details={'url':await _0x537e72.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(_0x537e72,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x537e72,scripts.getResults);},{...details})();return res;}catch{return logger[_0x9a43bc(0x1e8)](_0x5874af['lcKBK']),[];}else return logger[_0x9a43bc(0x22e)](_0x5874af['hLbha']),[];},exports['performScan']=async(_0x173f3d,_0x429ed0='')=>{const _0x4d70a6=a38_0xd36788;logger[_0x4d70a6(0x213)]('Performing\x20scan\x20with\x20method:\x20'+_0x429ed0+_0x4d70a6(0x211)+_0x173f3d);const _0x4901e8={'url':await _0x173f3d[_0x4d70a6(0x201)](),'testhub_btcer_uuid':global[_0x4d70a6(0x242)]?.[_0x4d70a6(0x214)]?.['id']};if(global['accessibilityPlatform'])return await PerformanceTester[_0x4d70a6(0x220)](PerformanceA11yEvents[_0x4d70a6(0x1fe)],async()=>{const _0x33634b=_0x4d70a6,_0x33d1f1={};_0x33d1f1[_0x33634b(0x1fb)]=_0x429ed0;const _0x45ae5=await exports[_0x33634b(0x1da)](_0x173f3d,scripts[_0x33634b(0x208)],_0x33d1f1);return _0x45ae5;},{'command':_0x429ed0,..._0x4901e8})();},exports[a38_0xd36788(0x1d3)]=async _0x2b1975=>{const _0x539646=a38_0xd36788,_0x5cfae6={};_0x5cfae6[_0x539646(0x20e)]='No\x20summaryResults\x20found.',_0x5cfae6['bEkmq']=_0x539646(0x205);const _0x2c5d98=_0x5cfae6;if(global[_0x539646(0x20c)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x2b1975,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x2b1975,scripts.getResultsSummary);})();return summaryResults;}catch{return logger['debug'](_0x2c5d98['hMJsc']),{};}else return logger[_0x539646(0x22e)](_0x2c5d98['bEkmq']),{};},exports[a38_0xd36788(0x1f1)]=async _0x1e644b=>{const _0xaab12e=a38_0xd36788,_0x4a7f04={'xkLvS':function(_0x379770,_0x125dcf){return _0x379770!==_0x125dcf;},'tQCDI':_0xaab12e(0x20b),'qlnZI':_0xaab12e(0x1fa),'bZziu':_0xaab12e(0x22f),'hKREQ':'chromium','tlaJK':_0xaab12e(0x1e1),'DmCtc':function(_0x7e9895,_0x266ace){return _0x7e9895(_0x266ace);},'OCxGQ':function(_0x4572f0){return _0x4572f0();},'bBnfF':function(_0x34cf8e,_0xf03f92){return _0x34cf8e<_0xf03f92;},'toYpC':_0xaab12e(0x239),'GFjwE':function(_0x5c2654,_0x2e8fb2){return _0x5c2654===_0x2e8fb2;},'cKFiB':_0xaab12e(0x22b),'iBJjU':function(_0x4af5c5,_0x421ef6){return _0x4af5c5>_0x421ef6;},'nioko':_0xaab12e(0x20d)};try{if(!_0x4a7f04['xkLvS'](_0x1e644b[_0xaab12e(0x203)],''))return logger[_0xaab12e(0x22e)](_0x4a7f04[_0xaab12e(0x1ff)]),![];const _0xfe7898=_0x1e644b[_0xaab12e(0x1f7)];if(![_0x4a7f04[_0xaab12e(0x226)],_0x4a7f04[_0xaab12e(0x1f2)],_0x4a7f04[_0xaab12e(0x218)]]['includes'](_0xfe7898))return logger['warn'](_0x4a7f04[_0xaab12e(0x23f)]),![];const _0x3b27ce=_0x4a7f04[_0xaab12e(0x1f6)](parseInt,_0x1e644b[_0xaab12e(0x21c)]);!_0x4a7f04['OCxGQ'](isBrowserstackInfra)&&(!_0x4a7f04[_0xaab12e(0x224)](_0x3b27ce,0x64)&&logger['warn'](_0x4a7f04[_0xaab12e(0x244)]));if(!(_0x4a7f04[_0xaab12e(0x219)](_0x3b27ce,_0x4a7f04[_0xaab12e(0x233)])||_0x4a7f04['iBJjU'](_0x3b27ce,0x5e)))return logger['warn'](_0x4a7f04['nioko']),![];}catch(_0x453b74){logger[_0xaab12e(0x213)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util[_0xaab12e(0x21e)](_0x453b74));}return!![];},exports['processAccessibilityCaps']=(_0x1ae566,_0x110aea,_0x2f31a7)=>{const _0x5d74ae=a38_0xd36788,_0x11f60e={'LSvnK':function(_0x59d073){return _0x59d073();},'LtPsg':_0x5d74ae(0x1e3),'CcoAO':function(_0x32f2a5,_0x181258){return _0x32f2a5===_0x181258;},'Dvejd':_0x5d74ae(0x1fa),'XuEsZ':_0x5d74ae(0x22f),'YDkrh':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','PvHAs':function(_0x11bd9f){return _0x11bd9f();},'HbNGq':function(_0x2b0418,_0x2e5753){return _0x2b0418>_0x2e5753;},'eWDMZ':_0x5d74ae(0x239),'pRxHR':function(_0x31266b,_0x2dcd06){return _0x31266b===_0x2dcd06;},'rMeDu':_0x5d74ae(0x22b),'BVgfh':function(_0x10addc,_0x5ef9a0){return _0x10addc>_0x5ef9a0;},'ydEVx':_0x5d74ae(0x20d),'LjrMG':function(_0xac7355,_0x2e4401){return _0xac7355(_0x2e4401);},'BSXUa':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','Nvnep':function(_0x101d90,_0xae524e){return _0x101d90+_0xae524e;}};try{if(_0x11f60e[_0x5d74ae(0x1fc)](isAccessibilityAutomationSession)){global[_0x5d74ae(0x20c)]=!![];!_0x1ae566[_0x11f60e[_0x5d74ae(0x232)]]&&(global['accessibilityPlatform']=![]);!(_0x11f60e[_0x5d74ae(0x1df)](_0x1ae566[_0x5d74ae(0x247)],_0x11f60e[_0x5d74ae(0x23a)])||_0x11f60e[_0x5d74ae(0x1df)](_0x1ae566[_0x5d74ae(0x247)],_0x11f60e[_0x5d74ae(0x210)])||_0x11f60e[_0x5d74ae(0x1df)](_0x1ae566[_0x5d74ae(0x1f7)],_0x11f60e[_0x5d74ae(0x23a)])||_0x11f60e[_0x5d74ae(0x1df)](_0x1ae566['browser'],_0x11f60e['XuEsZ']))&&(logger['warn'](_0x11f60e[_0x5d74ae(0x207)]),global['accessibilityPlatform']=![]);!_0x11f60e[_0x5d74ae(0x241)](isBrowserstackInfra)&&(!_0x11f60e[_0x5d74ae(0x216)](_0x1ae566[_0x5d74ae(0x21c)],0x64)&&logger[_0x5d74ae(0x22e)](_0x11f60e[_0x5d74ae(0x1db)]));!(_0x11f60e[_0x5d74ae(0x202)](_0x1ae566[_0x5d74ae(0x21c)],_0x11f60e[_0x5d74ae(0x23d)])||_0x11f60e[_0x5d74ae(0x1e7)](_0x1ae566['browser_version'],0x5e))&&(logger['warn'](_0x11f60e[_0x5d74ae(0x235)]),global[_0x5d74ae(0x20c)]=![]);!_0x11f60e[_0x5d74ae(0x1e0)](isUndefined,_0x1ae566[_0x5d74ae(0x203)])&&(logger[_0x5d74ae(0x22e)](_0x11f60e[_0x5d74ae(0x1ed)]),global[_0x5d74ae(0x20c)]=![]);if(!global[_0x5d74ae(0x20c)]){_0x1ae566[_0x11f60e[_0x5d74ae(0x232)]]=![];const _0x2bba9b=_0x11f60e['Nvnep'](_0x110aea,_0x11f60e[_0x5d74ae(0x1e0)](encodeURIComponent,JSON['stringify'](_0x1ae566)));_0x2f31a7&&(_0x2f31a7[_0x5d74ae(0x214)][_0x5d74ae(0x1de)][_0x5d74ae(0x215)][_0x5d74ae(0x223)][_0x5d74ae(0x1e9)][_0x5d74ae(0x21b)]=_0x2bba9b,_0x2f31a7[_0x5d74ae(0x206)][_0x5d74ae(0x215)][_0x5d74ae(0x223)][_0x5d74ae(0x1e9)][_0x5d74ae(0x21b)]=_0x2bba9b);}}else global['accessibilityPlatform']=![];}catch(_0x2f6b43){logger[_0x5d74ae(0x213)](_0x5d74ae(0x237)+util[_0x5d74ae(0x21e)](_0x2f6b43));}};
1
+ const a38_0x1fbaa4=a38_0xe4b1;function a38_0x3670(){const _0x14b0d4=['10446vEiDIF','browser_version','wxjmD','WebDriver','replace','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','lefUF','Performing\x20scan\x20with\x20method:\x20','deviceName','../../helpers/accessibility-automation/helper','find','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','418898mDUmkN','qKJGf','XaIXM','browser','BuBdY','accessibilityOptions.includeIssueType.bestPractice','../../helpers/logger','3225bcUYlO','27axuFMv','JnvuX','../../helpers/performance/performance-tester','eXrSL','browserStackExecuteDriver','body','1956104sawfmq','name','iAxqu','TqGdG','amlJJ','caEen','includes','latest','hVnTh','processAccessibilityCaps','21khhaVC','request','connectOptions','VXFZb','rqSkS','parse','url','svPax','setAccessibilityCapabilities','8657936CSkqKO','command','accessibilityOptions.wcagVersion','message','warn','152574QmRrrI','measureWrapper','accessibilityOptions','WCcuW','parameters','DZaFF','osSjp','\x20page:\x20','PEYzF','Iiiyg','bofDL','Dfzjo','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','browserstack.accessibility','bcJwR','aQDSF','debug','env','ZXJAY','5071912UiWRPB','opaec','scannerProcessingTimeout','No\x20accessibility\x20results\x20were\x20found.','../../helpers/performance/constants','QJQzt','Playwright','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','includeIssueType','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','rUvxh','project','BS_A11Y_JWT','[A11Y]\x20Error\x20logging\x20SDK-AUTOMATION\x20for\x20browserStackEvaluate:\x20','getAccessibilityResultsSummary','playwright-chromium','currentTest','string','wcagVersion','uSBGr','../../helpers/accessibility-automation/scripts','ZQLEV','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','stringify','winstonLogger','ckcro','byUCt','PERFORM_SCAN','xfLTt','accessibilityPlatform','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','Rlejo','accessibilityOptions.includeIssueType.needsReview','Gpoum','][\x20SDK-AUTOMATION\x20]\x20','accessibilityOptions.scannerProcessingTimeout','../utils/constants','constructor','qkIDS','4611780AsmccC','getAccessibilityResults','browserName','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','wsEndpoint','silly','FYYwa','No\x20summaryResults\x20found.','accessibilityOptions.scannerVersion','platformValidation','YxaYZ','rOrTG','use','UjVFB','util','executeAsyncScript','chrome','VTyVW','format','toISOString','DWhiX','needsReview'];a38_0x3670=function(){return _0x14b0d4;};return a38_0x3670();}(function(_0x11dd4d,_0x212e32){const _0x182638=a38_0xe4b1,_0x1ee1ea=_0x11dd4d();while(!![]){try{const _0x38d694=parseInt(_0x182638(0x194))/0x1+-parseInt(_0x182638(0x16e))/0x2*(parseInt(_0x182638(0x186))/0x3)+parseInt(_0x182638(0x1a7))/0x4+parseInt(_0x182638(0x175))/0x5*(parseInt(_0x182638(0x162))/0x6)+-parseInt(_0x182638(0x18f))/0x7+-parseInt(_0x182638(0x17c))/0x8+parseInt(_0x182638(0x176))/0x9*(parseInt(_0x182638(0x1d0))/0xa);if(_0x38d694===_0x212e32)break;else _0x1ee1ea['push'](_0x1ee1ea['shift']());}catch(_0x4765ba){_0x1ee1ea['push'](_0x1ee1ea['shift']());}}}(a38_0x3670,0xef247));const util=require(a38_0x1fbaa4(0x15a)),logger=require('../../helpers/logger')[a38_0x1fbaa4(0x1c0)],{automationLogger}=require(a38_0x1fbaa4(0x174)),{isAccessibilityAutomationSession}=require(a38_0x1fbaa4(0x16b)),{isUndefined,isBrowserstackInfra}=require('../../helpers/helper'),scripts=require(a38_0x1fbaa4(0x1bc)),PerformanceTester=require(a38_0x1fbaa4(0x178)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a38_0x1fbaa4(0x1ab)),{AUTOMATION_LOG_COMMANDS}=require(a38_0x1fbaa4(0x1cd));function a38_0xe4b1(_0x39bd31,_0x5f52b8){const _0x36703d=a38_0x3670();return a38_0xe4b1=function(_0xe4b16e,_0x2e1a27){_0xe4b16e=_0xe4b16e-0x153;let _0x3235a7=_0x36703d[_0xe4b16e];return _0x3235a7;},a38_0xe4b1(_0x39bd31,_0x5f52b8);}exports['browserStackEvaluate']=async(_0x4586c0,_0x28de20,_0x500c6a={})=>{const _0x3e0bb7=a38_0x1fbaa4,_0x3c3671={};_0x3c3671[_0x3e0bb7(0x18d)]='bstackSdkArgs',_0x3c3671[_0x3e0bb7(0x1c1)]=function(_0x389e4d,_0x15634b){return _0x389e4d===_0x15634b;},_0x3c3671[_0x3e0bb7(0x1a6)]=_0x3e0bb7(0x1b9);const _0x376b1e=_0x3c3671,_0x2e73e9=await _0x4586c0['evaluate']('(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'+_0x28de20[_0x3e0bb7(0x166)](/arguments/g,_0x376b1e['svPax'])+_0x3e0bb7(0x1c7)+JSON[_0x3e0bb7(0x1bf)](_0x500c6a)+')');try{if(_0x28de20&&_0x376b1e['ckcro'](typeof _0x28de20,_0x376b1e[_0x3e0bb7(0x1a6)])){const _0x51a8dc=AUTOMATION_LOG_COMMANDS[_0x3e0bb7(0x16c)](_0x3f88b1=>_0x28de20[_0x3e0bb7(0x182)](_0x3f88b1));if(_0x51a8dc){const _0x232d88={};_0x232d88['command']=_0x51a8dc,_0x232d88[_0x3e0bb7(0x198)]=[_0x500c6a];const _0x3784ef={};_0x3784ef[_0x3e0bb7(0x17b)]=_0x2e73e9;const _0x450b2f={};_0x450b2f[_0x3e0bb7(0x187)]=_0x232d88,_0x450b2f['response']=_0x3784ef,automationLogger[_0x3e0bb7(0x1d5)]('['+new Date()[_0x3e0bb7(0x15f)]()+_0x3e0bb7(0x1cb)+JSON[_0x3e0bb7(0x1bf)](_0x450b2f));}}}catch(_0x5c46fe){logger[_0x3e0bb7(0x1a4)](_0x3e0bb7(0x1b5)+_0x5c46fe[_0x3e0bb7(0x192)]);}return _0x2e73e9;},exports[a38_0x1fbaa4(0x17a)]=async(_0x4e30b3,_0x265390,_0x4361f3={})=>{const _0x92cb7f=a38_0x1fbaa4,_0x5acf02={};_0x5acf02[_0x92cb7f(0x19d)]=function(_0x365484,_0x3ff2dc){return _0x365484===_0x3ff2dc;},_0x5acf02[_0x92cb7f(0x157)]=_0x92cb7f(0x165),_0x5acf02[_0x92cb7f(0x181)]=function(_0x4bc349,_0x238810){return _0x4bc349===_0x238810;},_0x5acf02[_0x92cb7f(0x19e)]=_0x92cb7f(0x1ad),_0x5acf02[_0x92cb7f(0x19f)]='bstackSdkArgs';const _0x1e6c23=_0x5acf02;if(_0x1e6c23['Iiiyg'](_0x4e30b3[_0x92cb7f(0x1ce)][_0x92cb7f(0x17d)],_0x1e6c23[_0x92cb7f(0x157)]))return await _0x4e30b3[_0x92cb7f(0x15b)](_0x265390,_0x4361f3);else{if(_0x1e6c23[_0x92cb7f(0x181)](_0x4e30b3[_0x92cb7f(0x1ce)][_0x92cb7f(0x17d)],_0x1e6c23['bofDL']))return await _0x4e30b3['executeScript'](_0x92cb7f(0x1af)+_0x265390['replace'](/arguments/g,_0x1e6c23[_0x92cb7f(0x19f)])+_0x92cb7f(0x1b1)+JSON[_0x92cb7f(0x1bf)](_0x4361f3)+')');}},exports[a38_0x1fbaa4(0x18e)]=async _0x1870d7=>{const _0x4ce3ad=a38_0x1fbaa4,_0x2e6990={};_0x2e6990[_0x4ce3ad(0x1ca)]=_0x4ce3ad(0x191),_0x2e6990['TqGdG']=_0x4ce3ad(0x1cc),_0x2e6990['qKJGf']=_0x4ce3ad(0x173),_0x2e6990['VXFZb']=_0x4ce3ad(0x1c9),_0x2e6990[_0x4ce3ad(0x1cf)]='accessibilityOptions.authToken',_0x2e6990[_0x4ce3ad(0x156)]=_0x4ce3ad(0x154);const _0x573d5a=_0x2e6990;_0x1870d7[_0x4ce3ad(0x196)]&&(_0x1870d7['accessibilityOptions']['wcagVersion']&&(_0x1870d7[_0x573d5a[_0x4ce3ad(0x1ca)]]=_0x1870d7[_0x4ce3ad(0x196)][_0x4ce3ad(0x1ba)]),_0x1870d7[_0x4ce3ad(0x196)]['scannerProcessingTimeout']&&(_0x1870d7[_0x573d5a[_0x4ce3ad(0x17f)]]=_0x1870d7[_0x4ce3ad(0x196)][_0x4ce3ad(0x1a9)]),_0x1870d7[_0x4ce3ad(0x196)][_0x4ce3ad(0x1b0)]&&(_0x1870d7[_0x573d5a[_0x4ce3ad(0x16f)]]=_0x1870d7[_0x4ce3ad(0x196)][_0x4ce3ad(0x1b0)]['bestPractice'],_0x1870d7[_0x573d5a[_0x4ce3ad(0x189)]]=_0x1870d7[_0x4ce3ad(0x196)]['includeIssueType'][_0x4ce3ad(0x161)]));const _0x4f62b3=JSON[_0x4ce3ad(0x18b)](process['env'][_0x4ce3ad(0x1c6)])['scannerVersion'];_0x1870d7[_0x573d5a[_0x4ce3ad(0x1cf)]]=process[_0x4ce3ad(0x1a5)][_0x4ce3ad(0x1b4)],_0x1870d7[_0x573d5a[_0x4ce3ad(0x156)]]=_0x4f62b3,delete _0x1870d7['accessibilityOptions'];},exports[a38_0x1fbaa4(0x1d1)]=async _0xc55af=>{const _0x3c8d81=a38_0x1fbaa4,_0x191dcc={};_0x191dcc[_0x3c8d81(0x1c8)]=_0x3c8d81(0x1aa),_0x191dcc[_0x3c8d81(0x1bb)]=_0x3c8d81(0x1ae);const _0x4ca72e=_0x191dcc;if(global[_0x3c8d81(0x1c5)])try{const details={'url':await _0xc55af.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(_0xc55af,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0xc55af,scripts.getResults);},{...details})();return res;}catch{return logger['error'](_0x4ca72e[_0x3c8d81(0x1c8)]),[];}else return logger[_0x3c8d81(0x193)](_0x4ca72e[_0x3c8d81(0x1bb)]),[];},exports['performScan']=async(_0x25c46d,_0x4f91c5='')=>{const _0x587c64=a38_0x1fbaa4;logger[_0x587c64(0x1a4)](_0x587c64(0x169)+_0x4f91c5+_0x587c64(0x19b)+_0x25c46d);const _0x2f33c6={'url':await _0x25c46d[_0x587c64(0x18c)](),'testhub_btcer_uuid':global['__workerDetails']?.[_0x587c64(0x1b8)]?.['id']};if(global[_0x587c64(0x1c5)])return await PerformanceTester[_0x587c64(0x195)](PerformanceA11yEvents[_0x587c64(0x1c3)],async()=>{const _0xee0f54=_0x587c64,_0x47a544={};_0x47a544[_0xee0f54(0x190)]=_0x4f91c5;const _0x2adfe6=await exports['browserStackEvaluate'](_0x25c46d,scripts['performScan'],_0x47a544);return _0x2adfe6;},{'command':_0x4f91c5,..._0x2f33c6})();},exports[a38_0x1fbaa4(0x1b6)]=async _0x55dc78=>{const _0x463208=a38_0x1fbaa4,_0x1b6842={};_0x1b6842[_0x463208(0x19a)]=_0x463208(0x153),_0x1b6842[_0x463208(0x19c)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x43087a=_0x1b6842;if(global[_0x463208(0x1c5)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x55dc78,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x55dc78,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x463208(0x1a4)](_0x43087a[_0x463208(0x19a)]),{};}else return logger[_0x463208(0x193)](_0x43087a['PEYzF']),{};},exports[a38_0x1fbaa4(0x155)]=async _0x112631=>{const _0x5e3ac7=a38_0x1fbaa4,_0x24be3e={'lefUF':function(_0x2d98cc,_0xbd7ad9){return _0x2d98cc!==_0xbd7ad9;},'TXxMV':_0x5e3ac7(0x16d),'amlJJ':'chrome','WCcuW':_0x5e3ac7(0x1b7),'xfLTt':'chromium','byUCt':_0x5e3ac7(0x1be),'JnvuX':function(_0x11b073,_0x211081){return _0x11b073(_0x211081);},'BuBdY':function(_0x3a5eb9){return _0x3a5eb9();},'iAxqu':function(_0x12e9ce,_0x5c1b43){return _0x12e9ce<_0x5c1b43;},'DWhiX':_0x5e3ac7(0x1a0),'ZTqaa':function(_0x3f4977,_0x261b1f){return _0x3f4977===_0x261b1f;},'JPDNg':'latest','hVnTh':function(_0x3dc331,_0x57c359){return _0x3dc331>_0x57c359;},'aQDSF':_0x5e3ac7(0x1d3)};try{if(!_0x24be3e[_0x5e3ac7(0x168)](_0x112631[_0x5e3ac7(0x16a)],''))return logger[_0x5e3ac7(0x193)](_0x24be3e['TXxMV']),![];const _0x43f97a=_0x112631[_0x5e3ac7(0x171)];if(![_0x24be3e[_0x5e3ac7(0x180)],_0x24be3e[_0x5e3ac7(0x197)],_0x24be3e[_0x5e3ac7(0x1c4)]][_0x5e3ac7(0x182)](_0x43f97a))return logger[_0x5e3ac7(0x193)](_0x24be3e[_0x5e3ac7(0x1c2)]),![];const _0xa98081=_0x24be3e[_0x5e3ac7(0x177)](parseInt,_0x112631[_0x5e3ac7(0x163)]);!_0x24be3e[_0x5e3ac7(0x172)](isBrowserstackInfra)&&(!_0x24be3e[_0x5e3ac7(0x17e)](_0xa98081,0x64)&&logger[_0x5e3ac7(0x193)](_0x24be3e[_0x5e3ac7(0x160)]));if(!(_0x24be3e['ZTqaa'](_0xa98081,_0x24be3e['JPDNg'])||_0x24be3e[_0x5e3ac7(0x184)](_0xa98081,0x5e)))return logger['warn'](_0x24be3e[_0x5e3ac7(0x1a3)]),![];}catch(_0x5ab332){logger[_0x5e3ac7(0x1a4)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util[_0x5e3ac7(0x15e)](_0x5ab332));}return!![];},exports[a38_0x1fbaa4(0x185)]=(_0x4bc7fd,_0x205eaf,_0x2e90ae)=>{const _0x1f30ed=a38_0x1fbaa4,_0x3dc34d={'wxjmD':function(_0x474b11){return _0x474b11();},'DZaFF':_0x1f30ed(0x1a1),'opaec':function(_0x1f7b1e,_0x1d4ceb){return _0x1f7b1e===_0x1d4ceb;},'ZQLEV':_0x1f30ed(0x15c),'XaIXM':_0x1f30ed(0x1b7),'eXrSL':_0x1f30ed(0x1be),'Agddj':function(_0x47e413){return _0x47e413();},'bcJwR':function(_0x36aaac,_0x1321fa){return _0x36aaac>_0x1321fa;},'FYYwa':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','qqrKD':function(_0x30475a,_0x11510a){return _0x30475a===_0x11510a;},'QJQzt':_0x1f30ed(0x183),'rUvxh':_0x1f30ed(0x1d3),'VTyVW':function(_0x1849aa,_0x2dd239){return _0x1849aa(_0x2dd239);},'rqSkS':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','UjVFB':function(_0x466bb1,_0x542e2f){return _0x466bb1+_0x542e2f;}};try{if(_0x3dc34d[_0x1f30ed(0x164)](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0x4bc7fd[_0x3dc34d['DZaFF']]&&(global[_0x1f30ed(0x1c5)]=![]);!(_0x3dc34d[_0x1f30ed(0x1a8)](_0x4bc7fd['browserName'],_0x3dc34d[_0x1f30ed(0x1bd)])||_0x3dc34d[_0x1f30ed(0x1a8)](_0x4bc7fd[_0x1f30ed(0x1d2)],_0x3dc34d[_0x1f30ed(0x170)])||_0x3dc34d['opaec'](_0x4bc7fd[_0x1f30ed(0x171)],_0x3dc34d[_0x1f30ed(0x1bd)])||_0x3dc34d[_0x1f30ed(0x1a8)](_0x4bc7fd[_0x1f30ed(0x171)],_0x3dc34d[_0x1f30ed(0x170)]))&&(logger['warn'](_0x3dc34d[_0x1f30ed(0x179)]),global[_0x1f30ed(0x1c5)]=![]);!_0x3dc34d['Agddj'](isBrowserstackInfra)&&(!_0x3dc34d[_0x1f30ed(0x1a2)](_0x4bc7fd['browser_version'],0x64)&&logger['warn'](_0x3dc34d[_0x1f30ed(0x1d6)]));!(_0x3dc34d['qqrKD'](_0x4bc7fd[_0x1f30ed(0x163)],_0x3dc34d[_0x1f30ed(0x1ac)])||_0x3dc34d[_0x1f30ed(0x1a2)](_0x4bc7fd[_0x1f30ed(0x163)],0x5e))&&(logger['warn'](_0x3dc34d[_0x1f30ed(0x1b2)]),global[_0x1f30ed(0x1c5)]=![]);!_0x3dc34d[_0x1f30ed(0x15d)](isUndefined,_0x4bc7fd['deviceName'])&&(logger[_0x1f30ed(0x193)](_0x3dc34d[_0x1f30ed(0x18a)]),global[_0x1f30ed(0x1c5)]=![]);if(!global[_0x1f30ed(0x1c5)]){_0x4bc7fd[_0x3dc34d[_0x1f30ed(0x199)]]=![];const _0x323234=_0x3dc34d[_0x1f30ed(0x159)](_0x205eaf,_0x3dc34d[_0x1f30ed(0x15d)](encodeURIComponent,JSON[_0x1f30ed(0x1bf)](_0x4bc7fd)));_0x2e90ae&&(_0x2e90ae['currentTest']['testInfo'][_0x1f30ed(0x1b3)][_0x1f30ed(0x158)][_0x1f30ed(0x188)][_0x1f30ed(0x1d4)]=_0x323234,_0x2e90ae['workerInfo'][_0x1f30ed(0x1b3)]['use'][_0x1f30ed(0x188)]['wsEndpoint']=_0x323234);}}else global[_0x1f30ed(0x1c5)]=![];}catch(_0x43309a){logger[_0x1f30ed(0x1a4)](_0x1f30ed(0x167)+util['format'](_0x43309a));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a39_0x396bfa=a39_0x49e5;(function(_0x31be21,_0x1d6553){const _0x807746=a39_0x49e5,_0x3547f8=_0x31be21();while(!![]){try{const _0x270ef5=-parseInt(_0x807746(0x285))/0x1*(-parseInt(_0x807746(0x274))/0x2)+-parseInt(_0x807746(0x291))/0x3*(parseInt(_0x807746(0x26f))/0x4)+-parseInt(_0x807746(0x294))/0x5+-parseInt(_0x807746(0x232))/0x6+-parseInt(_0x807746(0x20a))/0x7+-parseInt(_0x807746(0x254))/0x8+parseInt(_0x807746(0x27b))/0x9;if(_0x270ef5===_0x1d6553)break;else _0x3547f8['push'](_0x3547f8['shift']());}catch(_0x2d6c16){_0x3547f8['push'](_0x3547f8['shift']());}}}(a39_0x24cd,0xa34a1));const fs=require('fs'),path=require(a39_0x396bfa(0x261)),{spawn}=require(a39_0x396bfa(0x20f)),{format}=require(a39_0x396bfa(0x293)),logger=require('../../helpers/logger')[a39_0x396bfa(0x213)],{default:BrowserStackSetup}=require(a39_0x396bfa(0x25b)),helper=require(a39_0x396bfa(0x280)),utilities=require(a39_0x396bfa(0x214)),constants=require(a39_0x396bfa(0x238)),{FRAMEWORKS}=require(a39_0x396bfa(0x202)),{getConfigLoaderPath}=require(a39_0x396bfa(0x21e)),{checkAccessibilityPlatformConfig}=require(a39_0x396bfa(0x25e)),{setAccessibilityCapabilities}=require(a39_0x396bfa(0x200)),{printBuildLink}=require(a39_0x396bfa(0x283)),TestDetails=require(a39_0x396bfa(0x25a)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),PerformanceTester=require(a39_0x396bfa(0x26d)),BrowserstackCLI=require(a39_0x396bfa(0x239)),PerformanceEvents=require(a39_0x396bfa(0x237))[a39_0x396bfa(0x23c)],CLIUtils=require('../v2/cliUtils'),TestInfo=require(a39_0x396bfa(0x1ee)),ClientTroubleShootingService=require(a39_0x396bfa(0x24a)),getUserPlaywrightConfig=async(_0x1a2f15,_0x12b5af)=>{const _0x373c3e=a39_0x396bfa,_0x347e20={'MlwoO':function(_0x4a0e25){return _0x4a0e25();},'VFRKO':function(_0x179d18,_0x5d1179){return _0x179d18(_0x5d1179);},'rWStF':'resolvedConfigFile','AVrMH':'--config='},_0x3e716b=!helper[_0x373c3e(0x28c)](_0x1a2f15[_0x373c3e(0x287)]),_0x3d0a8a=_0x3e716b?path[_0x373c3e(0x251)](process[_0x373c3e(0x26c)](),_0x1a2f15['config']):process[_0x373c3e(0x26c)](),{resolveConfigFile:_0x515596,resolveConfigLocation:_0x6bac78}=helper[_0x373c3e(0x21d)]()?helper['requireConfigLoaderYarnPnP'](..._0x347e20[_0x373c3e(0x250)](getConfigLoaderPath)):helper['requirePWModule'][_0x373c3e(0x282)](null,_0x347e20[_0x373c3e(0x250)](getConfigLoaderPath)),_0x557758=_0x515596?_0x347e20[_0x373c3e(0x27c)](_0x515596,_0x3d0a8a):helper[_0x373c3e(0x24f)](_0x347e20['VFRKO'](_0x6bac78,_0x3d0a8a),[_0x347e20[_0x373c3e(0x29e)]]),_0x381689={};if(_0x3e716b){const _0x310dd6=_0x12b5af['findIndex'](_0x1deb3f=>_0x1deb3f===_0x373c3e(0x267)||_0x1deb3f==='-c'||_0x1deb3f['startsWith'](_0x373c3e(0x262)));_0x12b5af['splice'](_0x310dd6,_0x12b5af[_0x310dd6][_0x373c3e(0x229)](_0x347e20[_0x373c3e(0x210)])?0x1:0x2);}const _0x99f50f={};return _0x99f50f[_0x373c3e(0x261)]=_0x557758,_0x99f50f[_0x373c3e(0x287)]=_0x381689,_0x99f50f;},handleO11yRerun=_0x39f10f=>{const _0x5a2c9c=a39_0x396bfa,_0x345bae={};_0x345bae['JCPgb']=_0x5a2c9c(0x1fa);const _0x3bbfb0=_0x345bae,_0x5dcf67=helper[_0x5a2c9c(0x208)](process['env'][_0x5a2c9c(0x241)]);if(_0x5dcf67){const _0x1b24b6=process['env'][_0x5a2c9c(0x28d)],_0x1ac579=[];if(helper[_0x5a2c9c(0x1ef)](_0x1b24b6)&&!helper[_0x5a2c9c(0x28c)](_0x1b24b6)){_0x1b24b6[_0x5a2c9c(0x217)](',')['map'](_0x36ab2e=>{const _0x5efe32=_0x5a2c9c;_0x1ac579[_0x5efe32(0x260)]('('+_0x36ab2e[_0x5efe32(0x247)]()+')');});const _0x428f83='^'+_0x1ac579[_0x5a2c9c(0x297)]('|')+'$';_0x39f10f[_0x5a2c9c(0x260)](_0x3bbfb0['JCPgb'],_0x428f83);}}},spawnOriginalProcess=_0x194e04=>{const _0x529911=a39_0x396bfa,_0x33bd56={'YfdoS':function(_0x3c6f55,_0x54c96f,_0x4fde6e,_0x9a4745){return _0x3c6f55(_0x54c96f,_0x4fde6e,_0x9a4745);},'rwClM':'yarn','YDzYI':_0x529911(0x218),'ZXccf':'playwright','oYSdP':function(_0x1a0976,_0x1bc0fe){return _0x1a0976===_0x1bc0fe;},'AnFHa':_0x529911(0x24c),'TtoUR':'inherit'};_0x33bd56[_0x529911(0x2a4)](spawn,helper['isYarnPnP']()?_0x33bd56[_0x529911(0x22f)]:_0x33bd56[_0x529911(0x21a)],[_0x33bd56['ZXccf'],..._0x194e04[_0x529911(0x295)](0x1)],{'shell':_0x33bd56[_0x529911(0x269)](process[_0x529911(0x2a2)],_0x33bd56[_0x529911(0x243)]),'stdio':_0x33bd56[_0x529911(0x2a5)],'cwd':process['cwd']()});},isTestCommand=(_0x2cd64c,_0x37ca55)=>{const _0x2dd644=a39_0x396bfa,_0x3d9da0={};_0x3d9da0[_0x2dd644(0x277)]=function(_0x39b8ab,_0x1ba9b1){return _0x39b8ab>_0x1ba9b1;},_0x3d9da0[_0x2dd644(0x20b)]=function(_0x446735,_0x19bd91){return _0x446735===_0x19bd91;},_0x3d9da0[_0x2dd644(0x21b)]=_0x2dd644(0x263);const _0x368636=_0x3d9da0;if(_0x368636['LSOvX'](_0x37ca55['length'],0x1)&&_0x368636[_0x2dd644(0x20b)](_0x37ca55[0x1],_0x368636[_0x2dd644(0x21b)]))return!![];return![];};async function run(_0xd8db69,_0x8a8db8,_0x5344c2){const _0x55d89c=a39_0x396bfa,_0x28393d={'ikTFx':_0x55d89c(0x1fb),'nuFNq':_0x55d89c(0x258),'xyGFz':function(_0x541862,_0x3ff496){return _0x541862+_0x3ff496;},'tQdWf':_0x55d89c(0x221),'kvfMi':function(_0x456a5e){return _0x456a5e();},'CawGG':function(_0x431462){return _0x431462();},'OzegJ':'Error\x20in\x20closing\x20playwright','aSwxJ':function(_0x13eebd,_0x41ed6c){return _0x13eebd(_0x41ed6c);},'xgUPn':_0x55d89c(0x204),'FTsnE':function(_0x551ee9,_0x3982b2){return _0x551ee9<_0x3982b2;},'kEBhX':function(_0x12aa1b,_0x1fc171){return _0x12aa1b===_0x1fc171;},'nZHXk':_0x55d89c(0x276),'UuGNB':_0x55d89c(0x230),'eKasl':function(_0x5893c5,_0x31b02d){return _0x5893c5>=_0x31b02d;},'ZJDJI':_0x55d89c(0x248),'eSEZe':function(_0x3ba10f,_0x589f98){return _0x3ba10f!=_0x589f98;},'ujALE':function(_0x154dd9,_0x33091c,_0xac40fe){return _0x154dd9(_0x33091c,_0xac40fe);},'eXAsX':function(_0x1ee8d3,_0x3b5c4e){return _0x1ee8d3(_0x3b5c4e);},'uHRAO':function(_0x2a0199,_0x448da0){return _0x2a0199===_0x448da0;},'yXvwc':_0x55d89c(0x231),'CVnFc':function(_0xd9d25b,_0x442975){return _0xd9d25b(_0x442975);},'agUyn':function(_0xcaf28,_0x5d393f){return _0xcaf28(_0x5d393f);},'DDSir':_0x55d89c(0x288),'WaMmd':function(_0x467125,_0x4ecc6c){return _0x467125===_0x4ecc6c;},'NHufa':'playwright-browserstack-sdk.config.cjs','cOyTh':_0x55d89c(0x26b),'Thtol':function(_0x159ada,_0x35979a){return _0x159ada-_0x35979a;},'QKUNO':function(_0x269132,_0xc46c53){return _0x269132+_0xc46c53;},'aWwJn':_0x55d89c(0x22e),'FBOlA':function(_0x2b73ac,_0x13dcbb){return _0x2b73ac>_0x13dcbb;},'rnMLn':function(_0x4469e,_0x4a1152,_0x58e81b,_0x5f3433){return _0x4469e(_0x4a1152,_0x58e81b,_0x5f3433);},'gFNdW':_0x55d89c(0x219),'xtNHM':_0x55d89c(0x218),'coBvC':_0x55d89c(0x21c),'WaVDo':'test','bfOgX':_0x55d89c(0x267),'oZgfc':function(_0x52d159,_0xf912c3){return _0x52d159===_0xf912c3;},'SRVVv':_0x55d89c(0x24c),'SttcO':function(_0x3e958d,_0x4111e8){return _0x3e958d===_0x4111e8;},'HTyiU':_0x55d89c(0x22d),'cDKyi':_0x55d89c(0x1f2),'ebyoo':function(_0x3151ec,_0x39390b){return _0x3151ec|_0x39390b;},'YTQEv':'Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','gcxzs':function(_0xc6144d,_0x50aeb1){return _0xc6144d+_0x50aeb1;},'CiOOI':'Error\x20in\x20deleting\x20playwright\x20results'};try{const _0x1d4d7a=path[_0x55d89c(0x297)](helper[_0x55d89c(0x228)](),_0x28393d[_0x55d89c(0x1f7)]);try{fs[_0x55d89c(0x23d)](_0x1d4d7a,_0x28393d[_0x55d89c(0x273)](fs['constants'][_0x55d89c(0x23a)],fs[_0x55d89c(0x1f8)][_0x55d89c(0x21f)]));}catch(_0x194ba2){ClientTroubleShootingService[_0x55d89c(0x224)]();}}catch(_0x49497f){logger['debug'](_0x28393d[_0x55d89c(0x253)](_0x28393d[_0x55d89c(0x236)],_0x49497f));}try{const _0x40e910=path[_0x55d89c(0x297)](helper[_0x55d89c(0x228)](),_0x28393d['ikTFx'],_0x28393d[_0x55d89c(0x279)]);fs[_0x55d89c(0x23e)](_0x40e910)&&fs[_0x55d89c(0x206)](_0x40e910);}catch(_0x5d8a5e){logger['debug'](_0x28393d[_0x55d89c(0x256)](_0x28393d['CiOOI'],_0x5d8a5e));}if(!_0x28393d[_0x55d89c(0x271)](isTestCommand,_0xd8db69,_0x8a8db8)){_0x28393d['eXAsX'](spawnOriginalProcess,_0x8a8db8);return;}await PerformanceTester[_0x55d89c(0x27e)](PerformanceEvents['SDK_PRE_INITIALIZE'],async()=>{const _0x50f7fe=_0x55d89c,_0x207ef4={'aTUbz':function(_0x5e5bf4,_0x2b687b){const _0x15d281=a39_0x49e5;return _0x28393d[_0x15d281(0x1f3)](_0x5e5bf4,_0x2b687b);}};if(!_0x5344c2[_0x50f7fe(0x287)]){logger['error'](_0x28393d[_0x50f7fe(0x23f)]);return;}await _0x5344c2[_0x50f7fe(0x284)](_0xd8db69),CLIUtils['setFrameworkDetail'](FRAMEWORKS['PLAYWRIGHT'],FRAMEWORKS['PLAYWRIGHT']),BrowserstackCLI[_0x50f7fe(0x233)]()['setBrowserstackConfig'](_0x5344c2['config'],_0x5344c2[_0x50f7fe(0x28e)],_0x5344c2['cliConfig']),await BrowserstackCLI[_0x50f7fe(0x233)]()['bootstrap']();for(var _0x43f5ad=0x0;_0x28393d[_0x50f7fe(0x268)](_0x43f5ad,constants[_0x50f7fe(0x22c)][_0x50f7fe(0x290)]);_0x43f5ad++){var _0x294437=constants[_0x50f7fe(0x22c)][_0x43f5ad];process['env'][_0x294437]&&await ClientTroubleShootingService[_0x50f7fe(0x249)](_0x294437);}const _0x409216=BrowserstackCLI['getInstance']()[_0x50f7fe(0x278)]();!helper[_0x50f7fe(0x1f6)](_0x409216[_0x50f7fe(0x220)])&&(process[_0x50f7fe(0x28b)][_0x50f7fe(0x2a0)]=!![]);_0x28393d[_0x50f7fe(0x20d)](_0x409216['browserstackAutomation'],![])&&(process[_0x50f7fe(0x28b)]['BROWSERSTACK_AUTOMATION']=_0x28393d[_0x50f7fe(0x235)],_0x8a8db8=_0x8a8db8[_0x50f7fe(0x275)](_0x4b479d=>_0x4b479d!==_0x50f7fe(0x257)));const _0x2c6ae1=_0x8a8db8['indexOf'](_0x28393d[_0x50f7fe(0x1f5)]);(_0x28393d['eKasl'](_0x2c6ae1,0x0)||_0x28393d[_0x50f7fe(0x20d)](_0x409216['testObservability'],![]))&&(process['env'][_0x50f7fe(0x259)]=_0x28393d[_0x50f7fe(0x235)],_0x8a8db8=_0x8a8db8[_0x50f7fe(0x275)](_0x14d8b1=>_0x14d8b1!==_0x50f7fe(0x230)));!helper[_0x50f7fe(0x28c)](_0x5344c2[_0x50f7fe(0x1fe)])&&_0x5344c2[_0x50f7fe(0x1fe)][_0x50f7fe(0x265)](_0x28393d['ZJDJI'])&&(process[_0x50f7fe(0x28b)]['BROWSERSTACK_AUTOMATION']=_0x5344c2[_0x50f7fe(0x1fe)][_0x50f7fe(0x211)](_0x28393d[_0x50f7fe(0x298)])||!![]);_0x28393d[_0x50f7fe(0x270)](_0x5344c2[_0x50f7fe(0x287)][_0x50f7fe(0x225)],null)&&!helper['isTrue'](process['env'][_0x50f7fe(0x259)])&&(process[_0x50f7fe(0x28b)][_0x50f7fe(0x259)]=process[_0x50f7fe(0x28b)]['BROWSERSTACK_TEST_OBSERVABILITY']||_0x5344c2[_0x50f7fe(0x287)][_0x50f7fe(0x225)]);const _0x4284ea=!helper[_0x50f7fe(0x1f6)](process[_0x50f7fe(0x28b)][_0x50f7fe(0x259)]);_0x5344c2[_0x50f7fe(0x287)]['accessibilityOptions']&&(process['env'][_0x50f7fe(0x216)]=JSON['stringify'](_0x5344c2['config']['accessibilityOptions']));let _0x1effdf=![];_0x5344c2[_0x50f7fe(0x287)]['accessibility']&&(_0x1effdf=!![],process['env'][_0x50f7fe(0x27f)]=_0x5344c2['config']['accessibility']);const _0x11c82d=_0x8a8db8[_0x50f7fe(0x24b)](),_0x52920a=await _0x28393d[_0x50f7fe(0x271)](getUserPlaywrightConfig,_0xd8db69,_0x8a8db8);if(helper['isUndefined'](_0x52920a)){_0x28393d[_0x50f7fe(0x29f)](spawnOriginalProcess,_0x11c82d);return;}const _0x2f6ce7=_0x52920a[_0x50f7fe(0x261)]?path[_0x50f7fe(0x26a)](_0x52920a[_0x50f7fe(0x261)]):process[_0x50f7fe(0x26c)]();process[_0x50f7fe(0x28b)][_0x50f7fe(0x27d)]=_0x2f6ce7,await PerformanceTester['measureWrapper'](PerformanceEvents[_0x50f7fe(0x246)],async()=>{const _0x80675e=_0x50f7fe;!BrowserstackCLI[_0x80675e(0x233)]()['isRunning']()&&await TestHubHandler[_0x80675e(0x28f)](FRAMEWORKS[_0x80675e(0x242)],_0x5344c2),_0x4284ea&&_0x207ef4['aTUbz'](handleO11yRerun,_0x8a8db8);})();if(!BrowserstackCLI[_0x50f7fe(0x233)]()[_0x50f7fe(0x29c)]()){let _0x411ee1=_0x28393d[_0x50f7fe(0x223)](process[_0x50f7fe(0x28b)][_0x50f7fe(0x27f)],_0x28393d[_0x50f7fe(0x234)]);_0x411ee1=_0x411ee1||_0x28393d['CVnFc'](checkAccessibilityPlatformConfig,_0x5344c2['config']),process[_0x50f7fe(0x28b)][_0x50f7fe(0x27f)]=_0x411ee1,_0x411ee1&&_0x28393d['agUyn'](setAccessibilityCapabilities,_0x5344c2[_0x50f7fe(0x287)]);}const _0x3ae82f=path[_0x50f7fe(0x297)](_0x52920a['path']?path['dirname'](_0x52920a['path']):process[_0x50f7fe(0x26c)](),_0x28393d[_0x50f7fe(0x1f1)]);fs['writeFileSync'](_0x3ae82f,helper[_0x50f7fe(0x20c)](_0x5344c2[_0x50f7fe(0x287)])),process['env'][_0x50f7fe(0x23b)]=_0x3ae82f,helper['clearTempPWConfig']();let _0x5be2a1='';_0x28393d[_0x50f7fe(0x29a)](helper[_0x50f7fe(0x296)](),constants[_0x50f7fe(0x29d)]['MODULE'])?_0x5be2a1=_0x28393d[_0x50f7fe(0x222)]:_0x5be2a1=_0x28393d[_0x50f7fe(0x29b)];let _0x40d643='';if(helper['isTypescriptProject'](_0x52920a[_0x50f7fe(0x261)])){_0x40d643='\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a';const _0x4134cd=_0x5be2a1[_0x50f7fe(0x217)]('.');_0x4134cd[_0x28393d['Thtol'](_0x4134cd[_0x50f7fe(0x290)],0x1)]='ts',_0x5be2a1=_0x4134cd[_0x50f7fe(0x297)]('.'),logger['debug'](_0x28393d[_0x50f7fe(0x253)](_0x28393d[_0x50f7fe(0x207)],_0x5be2a1));}else _0x40d643='\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 _0x31ac43=path[_0x50f7fe(0x297)](_0x52920a['path']?path[_0x50f7fe(0x26a)](_0x52920a['path']):process[_0x50f7fe(0x26c)](),_0x5be2a1);let _0x4af3b1=_0x52920a[_0x50f7fe(0x261)]?_0x52920a[_0x50f7fe(0x261)]:'';_0x4af3b1=_0x28393d[_0x50f7fe(0x24e)](_0x4af3b1[_0x50f7fe(0x290)],0x0)?path[_0x50f7fe(0x251)](_0x4af3b1):'',process[_0x50f7fe(0x28b)]['USER_CONFIG_DETAILS_PATH']=_0x4af3b1;const _0x459a1c=helper['getProxyUrl'](_0x5344c2[_0x50f7fe(0x287)]),_0x22337e=helper[_0x50f7fe(0x22b)](_0x5344c2[_0x50f7fe(0x287)]);logger['debug'](_0x50f7fe(0x244)+_0x459a1c),logger['debug']('No\x20Proxy\x20:\x20'+_0x22337e);_0x459a1c&&(_0x40d643=_0x28393d[_0x50f7fe(0x1fc)](_0x50f7fe(0x266)+_0x459a1c+_0x50f7fe(0x203)+_0x22337e+_0x50f7fe(0x25c),_0x40d643));helper['filterBrowserstackArgs']({},_0x8a8db8),fs[_0x50f7fe(0x289)](_0x31ac43,_0x40d643),PerformanceTester[_0x50f7fe(0x255)](PerformanceEvents[_0x50f7fe(0x1f0)]);const _0x764ab9=_0x28393d[_0x50f7fe(0x281)](spawn,helper[_0x50f7fe(0x21d)]()?_0x28393d[_0x50f7fe(0x226)]:_0x28393d['xtNHM'],[_0x28393d['coBvC'],_0x28393d['WaVDo'],_0x28393d[_0x50f7fe(0x1fd)],_0x28393d[_0x50f7fe(0x215)](process['platform'],_0x28393d[_0x50f7fe(0x1f4)])?'\x22'+_0x31ac43+'\x22':_0x31ac43,..._0x8a8db8[_0x50f7fe(0x295)](0x2)],{'shell':_0x28393d[_0x50f7fe(0x299)](process[_0x50f7fe(0x2a2)],_0x28393d['SRVVv']),'stdio':_0x28393d[_0x50f7fe(0x240)],'cwd':process[_0x50f7fe(0x26c)](),'env':Object[_0x50f7fe(0x22a)]({},process[_0x50f7fe(0x28b)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x50f7fe(0x272)](_0xd8db69),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x5344c2['config'][_0x50f7fe(0x205)][_0x50f7fe(0x26e)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x5344c2[_0x50f7fe(0x287)][_0x50f7fe(0x205)]['skipSessionName'],'BROWSERSTACK_LOG_LEVEL':_0x5344c2[_0x50f7fe(0x287)]['logLevel']})}),_0x1b095d=()=>{const _0x4d659a=_0x50f7fe;try{const _0x415f7f=path[_0x4d659a(0x297)](helper[_0x4d659a(0x228)](),_0x28393d[_0x4d659a(0x1f7)],_0x28393d[_0x4d659a(0x279)]);if(fs[_0x4d659a(0x23e)](_0x415f7f)){let _0x36833c=fs[_0x4d659a(0x252)](_0x415f7f);_0x36833c=JSON[_0x4d659a(0x25f)](_0x36833c),_0x5344c2[_0x4d659a(0x1ff)]=_0x36833c,fs['unlinkSync'](_0x415f7f);}}catch(_0x28786b){logger[_0x4d659a(0x245)](_0x28393d[_0x4d659a(0x1fc)](_0x28393d[_0x4d659a(0x24d)],_0x28786b));}};_0x764ab9['on'](_0x28393d[_0x50f7fe(0x27a)],async _0x3b26ff=>{const _0xdb03c0=_0x50f7fe,_0x333440={};_0x333440['gPIKA']=_0x28393d[_0xdb03c0(0x1f7)];const _0x9d273a=_0x333440;try{PerformanceTester['start'](PerformanceEvents[_0xdb03c0(0x209)]),_0x28393d[_0xdb03c0(0x286)](_0x1b095d),await TestHubHandler['stop'](),await ClientTroubleShootingService[_0xdb03c0(0x2a1)](),await BrowserstackCLI['getInstance']()[_0xdb03c0(0x1f9)](),TestDetails[_0xdb03c0(0x201)](),_0x28393d['CawGG'](printBuildLink),await utilities[_0xdb03c0(0x264)](_0x5344c2),process[_0xdb03c0(0x2a6)]=_0x3b26ff,logger['debug'](_0xdb03c0(0x227)+_0x3b26ff),logger[_0xdb03c0(0x25d)]('Deleting\x20'+_0x31ac43),fs[_0xdb03c0(0x206)](_0x31ac43);fs[_0xdb03c0(0x23e)](_0x3ae82f)&&(logger[_0xdb03c0(0x245)](_0xdb03c0(0x2a3)+_0x3ae82f),fs[_0xdb03c0(0x206)](_0x3ae82f));const _0x1b2029=fs['readdirSync'](path[_0xdb03c0(0x297)](helper[_0xdb03c0(0x228)](),_0x28393d[_0xdb03c0(0x1f7)]))[_0xdb03c0(0x275)](_0x3305b1=>_0x3305b1[_0xdb03c0(0x229)](_0xdb03c0(0x212)));_0x1b2029[_0xdb03c0(0x292)](_0x3678b0=>{const _0x42d0ed=_0xdb03c0;fs['unlinkSync'](path[_0x42d0ed(0x297)](helper['homedir'](),_0x9d273a['gPIKA'],_0x3678b0));});}catch(_0x4388f4){logger['debug'](_0x28393d[_0xdb03c0(0x1fc)](_0x28393d[_0xdb03c0(0x28a)],_0x4388f4));}});})();}function a39_0x24cd(){const _0xf7da57=['validateRerunTestList','SDK_SETUP','DDSir','close','aSwxJ','SRVVv','UuGNB','isFalse','ikTFx','constants','stop','--grep','.browserstack','xyGFz','bfOgX','cliConfig','errorMessage','./accessibility-helper','shutdown','../../helpers/test-observability/constants','\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','BrowserStack\x20config\x20file\x20not\x20found.','testContextOptions','unlinkSync','aWwJn','isTrue','SDK_CLEANUP','1281133fZgXlS','NiXyk','serializeToYamlString','kEBhX','exports','child_process','AVrMH','get','trace_','winstonLogger','../../helpers/utilities','oZgfc','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','split','npx','yarn','YDzYI','cjJfq','playwright','isYarnPnP','./reporter/pwUtils','W_OK','browserstackAutomation','Error\x20in\x20getting\x20funnel\x20data\x20results','NHufa','uHRAO','reportDotBrowserStackFolderNotAccessibleIssue','testObservability','gFNdW','Playwright\x20process\x20exited\x20with\x20code\x20','homedir','startsWith','assign','getNoProxy','INTERNALLY_USED_ENV_VARS','inherit','Updated\x20config\x20file\x20name\x20to\x20-\x20','rwClM','--disable-test-observability','true','146394AuHJNw','getInstance','yXvwc','nZHXk','YTQEv','../../helpers/performance/constants','../utils/constants','../v2/browserstackCLI','R_OK','BROWSERSTACK_SETUP_CONFIG_PATH','EVENTS','accessSync','existsSync','xgUPn','HTyiU','BROWSERSTACK_RERUN','PLAYWRIGHT','AnFHa','Proxy\x20url\x20:\x20','debug','SDK_POST_INITIALIZE','trim','automation','reportConflictingEnvVarIssue','../utils/clientTroubleshootingService','concat','win32','tQdWf','FBOlA','nestedKeyValue','MlwoO','resolve','readFileSync','QKUNO','7996544weCWnC','end','gcxzs','--disable-browserstack-automation','pw_result.json','BROWSERSTACK_TEST_OBSERVABILITY','./reporter/test-details','../../helpers/BrowserStackSetup','\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();','info','../../helpers/accessibility-automation/helper','parse','push','path','--config=','test','finalExecution','has','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','--config','FTsnE','oYSdP','dirname','playwright-browserstack-sdk.config.js','cwd','../../helpers/performance/performance-tester','skipSessionStatus','188JHUdMP','eSEZe','ujALE','getConfigPath','ebyoo','864874kLGEIO','filter','false','LSOvX','getConfig','nuFNq','cDKyi','19130517ABQTTv','VFRKO','BROWSERSTACK_PW_CONFIG_DIR','measureWrapper','BROWSERSTACK_TEST_ACCESSIBILITY_YML','../../helpers/helper','rnMLn','apply','../../helpers/test-observability/utils','initialize','3HRaHDD','kvfMi','config','browserstackSetupConfig.json','writeFileSync','OzegJ','env','isUndefined','BROWSERSTACK_RERUN_TESTS','configPath','launchBuild','length','78321efBeOe','forEach','util','1600380QAkFhi','slice','getPackageType','join','ZJDJI','SttcO','WaMmd','cOyTh','isRunning','PACKAGE_TYPE','rWStF','eXAsX','BROWSERSTACK_AUTOMATION','reportFinalDetectionState','platform','Deleting\x20','YfdoS','TtoUR','exitCode','../v2/TestInfo'];a39_0x24cd=function(){return _0xf7da57;};return a39_0x24cd();}function a39_0x49e5(_0x52a7b9,_0x2e16ec){const _0x24cd80=a39_0x24cd();return a39_0x49e5=function(_0x49e5a5,_0x4ebd62){_0x49e5a5=_0x49e5a5-0x1ee;let _0x3d4dba=_0x24cd80[_0x49e5a5];return _0x3d4dba;},a39_0x49e5(_0x52a7b9,_0x2e16ec);}module[a39_0x396bfa(0x20e)]=run;
2
+ 'use strict';const a39_0x5cc9a5=a39_0x539b;function a39_0x539b(_0xb0a259,_0x5ec367){const _0x2d9e7c=a39_0x2d9e();return a39_0x539b=function(_0x539b1f,_0x3bfc86){_0x539b1f=_0x539b1f-0xc6;let _0x1c2f91=_0x2d9e7c[_0x539b1f];return _0x1c2f91;},a39_0x539b(_0xb0a259,_0x5ec367);}(function(_0x3548eb,_0x5350d0){const _0x3daa85=a39_0x539b,_0x476d47=_0x3548eb();while(!![]){try{const _0x5c2133=parseInt(_0x3daa85(0x176))/0x1+-parseInt(_0x3daa85(0x140))/0x2*(parseInt(_0x3daa85(0x155))/0x3)+parseInt(_0x3daa85(0x13f))/0x4+parseInt(_0x3daa85(0xe3))/0x5*(parseInt(_0x3daa85(0x14c))/0x6)+-parseInt(_0x3daa85(0x12e))/0x7*(-parseInt(_0x3daa85(0x104))/0x8)+parseInt(_0x3daa85(0xed))/0x9+-parseInt(_0x3daa85(0x13b))/0xa;if(_0x5c2133===_0x5350d0)break;else _0x476d47['push'](_0x476d47['shift']());}catch(_0x51e955){_0x476d47['push'](_0x476d47['shift']());}}}(a39_0x2d9e,0x7402b));const fs=require('fs'),path=require(a39_0x5cc9a5(0xc7)),{spawn}=require(a39_0x5cc9a5(0x150)),{format}=require(a39_0x5cc9a5(0x102)),logger=require(a39_0x5cc9a5(0x182))[a39_0x5cc9a5(0x161)],{default:BrowserStackSetup}=require(a39_0x5cc9a5(0xdb)),helper=require(a39_0x5cc9a5(0xd2)),utilities=require(a39_0x5cc9a5(0x108)),constants=require(a39_0x5cc9a5(0x16c)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getConfigLoaderPath}=require(a39_0x5cc9a5(0xee)),{checkAccessibilityPlatformConfig}=require(a39_0x5cc9a5(0xc9)),{setAccessibilityCapabilities}=require('./accessibility-helper'),{printBuildLink}=require(a39_0x5cc9a5(0x119)),TestDetails=require('./reporter/test-details'),TestHubHandler=require(a39_0x5cc9a5(0x111)),PerformanceTester=require('../../helpers/performance/performance-tester'),BrowserstackCLI=require(a39_0x5cc9a5(0xd6)),PerformanceEvents=require(a39_0x5cc9a5(0x138))['EVENTS'],CLIUtils=require(a39_0x5cc9a5(0xfa)),TestInfo=require('../v2/TestInfo'),ClientTroubleShootingService=require(a39_0x5cc9a5(0xf4)),getUserPlaywrightConfig=async(_0x1ae2ef,_0x3f3b57)=>{const _0x396194=a39_0x5cc9a5,_0x22717a={'zwzpk':function(_0xc73e42){return _0xc73e42();},'bdCtG':function(_0x20146b){return _0x20146b();},'XXAXk':function(_0x3b85b5,_0x29b39a){return _0x3b85b5(_0x29b39a);},'vyXza':_0x396194(0x147),'EaTrW':_0x396194(0xcd)},_0x2ea7d6=!helper[_0x396194(0x15e)](_0x1ae2ef['config']),_0xfd2d30=_0x2ea7d6?path[_0x396194(0x158)](process[_0x396194(0x165)](),_0x1ae2ef[_0x396194(0xe9)]):process[_0x396194(0x165)](),{resolveConfigFile:_0x5ed312,resolveConfigLocation:_0x2ec228}=helper[_0x396194(0xdf)]()?helper[_0x396194(0x117)](..._0x22717a['zwzpk'](getConfigLoaderPath)):helper[_0x396194(0x151)][_0x396194(0x16d)](null,_0x22717a[_0x396194(0x14b)](getConfigLoaderPath)),_0x5a9977=_0x5ed312?_0x22717a['XXAXk'](_0x5ed312,_0xfd2d30):helper['nestedKeyValue'](_0x22717a[_0x396194(0x168)](_0x2ec228,_0xfd2d30),[_0x22717a[_0x396194(0xde)]]),_0x1f2784={};if(_0x2ea7d6){const _0x14b583=_0x3f3b57['findIndex'](_0x56dd01=>_0x56dd01===_0x396194(0x128)||_0x56dd01==='-c'||_0x56dd01[_0x396194(0xf3)](_0x396194(0xcd)));_0x3f3b57[_0x396194(0x15f)](_0x14b583,_0x3f3b57[_0x14b583]['startsWith'](_0x22717a[_0x396194(0x17f)])?0x1:0x2);}const _0x2729a8={};return _0x2729a8[_0x396194(0xc7)]=_0x5a9977,_0x2729a8[_0x396194(0xe9)]=_0x1f2784,_0x2729a8;},handleO11yRerun=_0x2f8673=>{const _0x115233=a39_0x5cc9a5,_0x505dec={};_0x505dec['rqVEh']=_0x115233(0x10f);const _0x1b5e00=_0x505dec,_0x1411ae=helper['isTrue'](process[_0x115233(0x10a)][_0x115233(0x16b)]);if(_0x1411ae){const _0x5188be=process[_0x115233(0x10a)][_0x115233(0x15a)],_0x3551df=[];if(helper[_0x115233(0x11b)](_0x5188be)&&!helper[_0x115233(0x15e)](_0x5188be)){_0x5188be[_0x115233(0x13a)](',')['map'](_0x351a33=>{const _0x36a8ff=_0x115233;_0x3551df[_0x36a8ff(0x160)]('('+_0x351a33['trim']()+')');});const _0x532f27='^'+_0x3551df['join']('|')+'$';_0x2f8673['push'](_0x1b5e00[_0x115233(0xcc)],_0x532f27);}}},spawnOriginalProcess=_0x5e2ffc=>{const _0x4bc6b2=a39_0x5cc9a5,_0x4668bd={'WdwFZ':function(_0x7ce211,_0xfb5fa3,_0x301c26,_0x218ed1){return _0x7ce211(_0xfb5fa3,_0x301c26,_0x218ed1);},'RBtjv':_0x4bc6b2(0x180),'ZMwMY':_0x4bc6b2(0x170),'ipBFU':_0x4bc6b2(0xd3),'dGCeL':function(_0x483626,_0x293ee5){return _0x483626===_0x293ee5;},'ECzpI':_0x4bc6b2(0x123),'PTTqh':_0x4bc6b2(0x15b)};_0x4668bd['WdwFZ'](spawn,helper[_0x4bc6b2(0xdf)]()?_0x4668bd[_0x4bc6b2(0x159)]:_0x4668bd[_0x4bc6b2(0x173)],[_0x4668bd[_0x4bc6b2(0xd1)],..._0x5e2ffc[_0x4bc6b2(0x14a)](0x1)],{'shell':_0x4668bd[_0x4bc6b2(0x17d)](process[_0x4bc6b2(0x16a)],_0x4668bd[_0x4bc6b2(0xe7)]),'stdio':_0x4668bd[_0x4bc6b2(0x131)],'cwd':process[_0x4bc6b2(0x165)]()});},isTestCommand=(_0x3efc0a,_0x543237)=>{const _0x173979=a39_0x5cc9a5,_0x18f6d6={};_0x18f6d6[_0x173979(0x133)]=function(_0x240e38,_0x5b6164){return _0x240e38>_0x5b6164;},_0x18f6d6[_0x173979(0x11a)]=function(_0x5113ee,_0x380fe5){return _0x5113ee===_0x380fe5;},_0x18f6d6[_0x173979(0x17c)]='test';const _0x345aff=_0x18f6d6;if(_0x345aff[_0x173979(0x133)](_0x543237['length'],0x1)&&_0x345aff[_0x173979(0x11a)](_0x543237[0x1],_0x345aff['TiYgI']))return!![];return![];};async function run(_0x554bd2,_0x3fe4d0,_0x554069){const _0x416287=a39_0x5cc9a5,_0x5448dc={'qDhcY':function(_0x3d4e55,_0x440771){return _0x3d4e55(_0x440771);},'tPSUf':_0x416287(0x134),'ePPoa':function(_0x272d4e){return _0x272d4e();},'LCofc':function(_0x24257e,_0x397a0e){return _0x24257e+_0x397a0e;},'dGnik':_0x416287(0x14d),'Rtahs':_0x416287(0x144),'cBfnj':function(_0x201465,_0x5b1ae1){return _0x201465+_0x5b1ae1;},'zYjet':_0x416287(0xdc),'EQYZn':_0x416287(0x100),'lmNkV':function(_0x50bcfe,_0x59d93b){return _0x50bcfe<_0x59d93b;},'UTSef':function(_0x1a7b1c,_0xa43bbf){return _0x1a7b1c===_0xa43bbf;},'BZNab':_0x416287(0x11e),'aSKnU':_0x416287(0x169),'oeSkE':function(_0x568d50,_0x534e52){return _0x568d50>=_0x534e52;},'ejAZz':'automation','TKEGY':function(_0x52c053,_0x105c28){return _0x52c053!=_0x105c28;},'PJdFs':function(_0x52793b,_0x53c4f3,_0x3997a9){return _0x52793b(_0x53c4f3,_0x3997a9);},'RnmHU':function(_0x36a8c1,_0x47e3a3){return _0x36a8c1(_0x47e3a3);},'crhfH':function(_0x1fddf8,_0x27c4be){return _0x1fddf8===_0x27c4be;},'kxmxh':'true','GnXAL':function(_0x23ef12,_0x33698d){return _0x23ef12(_0x33698d);},'kxOAu':function(_0x2c64b5,_0x34aaa0){return _0x2c64b5(_0x34aaa0);},'KCIpl':_0x416287(0x183),'uVSFL':'playwright-browserstack-sdk.config.cjs','xXeqM':_0x416287(0x156),'aNBaq':function(_0x62a8ae,_0x6c2080){return _0x62a8ae-_0x6c2080;},'KCnTP':'Updated\x20config\x20file\x20name\x20to\x20-\x20','AZkXc':function(_0x19e197,_0x23a964){return _0x19e197>_0x23a964;},'WxeBJ':function(_0x56c337,_0x1c1d5c){return _0x56c337+_0x1c1d5c;},'wViey':function(_0x21d19c,_0x34b117,_0x3baeff,_0x53b39b){return _0x21d19c(_0x34b117,_0x3baeff,_0x53b39b);},'KoXDH':'yarn','ETAip':_0x416287(0x170),'bewMv':_0x416287(0xd3),'QiRvg':_0x416287(0xc8),'EJqVT':'--config','IxWNE':_0x416287(0x123),'CPKls':_0x416287(0x15b),'tipAC':'close','SqZDa':function(_0x97bd3c,_0x9f2ce1){return _0x97bd3c|_0x9f2ce1;},'Ubvyf':function(_0x285130,_0x418586){return _0x285130+_0x418586;},'FzAeA':_0x416287(0xfc),'zEfuL':_0x416287(0x120),'Ukfvp':function(_0x2b6581,_0x217a0f,_0x3d8699){return _0x2b6581(_0x217a0f,_0x3d8699);},'uGiFI':function(_0x1e8e4c,_0x2915db){return _0x1e8e4c(_0x2915db);}};try{const _0x2524fd=path[_0x416287(0x132)](helper[_0x416287(0x10d)](),_0x5448dc['tPSUf']);try{fs[_0x416287(0xcf)](_0x2524fd,_0x5448dc[_0x416287(0x13c)](fs[_0x416287(0x171)]['R_OK'],fs['constants']['W_OK']));}catch(_0x1fb6f8){ClientTroubleShootingService[_0x416287(0xf5)]();}}catch(_0x4b1da2){logger[_0x416287(0x106)](_0x5448dc[_0x416287(0xdd)](_0x5448dc[_0x416287(0x112)],_0x4b1da2));}try{const _0x401057=path['join'](helper[_0x416287(0x10d)](),_0x5448dc[_0x416287(0xfe)],_0x5448dc[_0x416287(0x10c)]);fs[_0x416287(0xfb)](_0x401057)&&fs[_0x416287(0x14e)](_0x401057);}catch(_0x2243eb){logger[_0x416287(0x106)](_0x5448dc[_0x416287(0x149)](_0x5448dc[_0x416287(0x113)],_0x2243eb));}if(!_0x5448dc[_0x416287(0x125)](isTestCommand,_0x554bd2,_0x3fe4d0)){_0x5448dc[_0x416287(0x109)](spawnOriginalProcess,_0x3fe4d0);return;}await PerformanceTester[_0x416287(0x17e)](PerformanceEvents[_0x416287(0xea)],async()=>{const _0x5435d2=_0x416287,_0x33801a={'oomHD':_0x5448dc[_0x5435d2(0xfe)],'kKHYh':_0x5448dc[_0x5435d2(0x10c)],'kaHOo':function(_0x5c4efa,_0x554e22){const _0x1159d7=_0x5435d2;return _0x5448dc[_0x1159d7(0x177)](_0x5c4efa,_0x554e22);},'XiQzn':_0x5448dc[_0x5435d2(0x107)]};if(!_0x554069[_0x5435d2(0xe9)]){logger[_0x5435d2(0x139)](_0x5448dc[_0x5435d2(0x13e)]);return;}await _0x554069[_0x5435d2(0x11f)](_0x554bd2),CLIUtils[_0x5435d2(0xf6)](FRAMEWORKS[_0x5435d2(0x141)],FRAMEWORKS[_0x5435d2(0x141)]),BrowserstackCLI[_0x5435d2(0xf0)]()[_0x5435d2(0x12f)](_0x554069[_0x5435d2(0xe9)],_0x554069[_0x5435d2(0xda)],_0x554069[_0x5435d2(0x143)]),await BrowserstackCLI['getInstance']()[_0x5435d2(0x157)]();for(var _0x269865=0x0;_0x5448dc['lmNkV'](_0x269865,constants[_0x5435d2(0x12d)][_0x5435d2(0x136)]);_0x269865++){var _0x3b0258=constants['INTERNALLY_USED_ENV_VARS'][_0x269865];process[_0x5435d2(0x10a)][_0x3b0258]&&await ClientTroubleShootingService[_0x5435d2(0x11d)](_0x3b0258);}const _0x3df424=BrowserstackCLI[_0x5435d2(0xf0)]()['getConfig']();!helper['isFalse'](_0x3df424[_0x5435d2(0xe2)])&&(process[_0x5435d2(0x10a)]['BROWSERSTACK_AUTOMATION']=!![]);_0x5448dc[_0x5435d2(0xcb)](_0x3df424[_0x5435d2(0xe2)],![])&&(process[_0x5435d2(0x10a)]['BROWSERSTACK_AUTOMATION']=_0x5448dc[_0x5435d2(0x105)],_0x3fe4d0=_0x3fe4d0[_0x5435d2(0xe5)](_0x59c1f5=>_0x59c1f5!=='--disable-browserstack-automation'));const _0x22a2d6=_0x3fe4d0['indexOf'](_0x5448dc[_0x5435d2(0x122)]);(_0x5448dc[_0x5435d2(0xec)](_0x22a2d6,0x0)||_0x5448dc[_0x5435d2(0xcb)](_0x3df424[_0x5435d2(0x15d)],![]))&&(process[_0x5435d2(0x10a)][_0x5435d2(0x118)]=_0x5448dc[_0x5435d2(0x105)],_0x3fe4d0=_0x3fe4d0[_0x5435d2(0xe5)](_0x38c91e=>_0x38c91e!==_0x5435d2(0x169)));!helper[_0x5435d2(0x15e)](_0x554069[_0x5435d2(0x143)])&&_0x554069[_0x5435d2(0x143)][_0x5435d2(0x16f)](_0x5448dc[_0x5435d2(0x103)])&&(process[_0x5435d2(0x10a)][_0x5435d2(0x17b)]=_0x554069['cliConfig'][_0x5435d2(0x175)](_0x5448dc['ejAZz'])||!![]);_0x5448dc['TKEGY'](_0x554069[_0x5435d2(0xe9)][_0x5435d2(0x15d)],null)&&!helper[_0x5435d2(0x163)](process['env'][_0x5435d2(0x118)])&&(process[_0x5435d2(0x10a)][_0x5435d2(0x118)]=process[_0x5435d2(0x10a)][_0x5435d2(0x118)]||_0x554069['config'][_0x5435d2(0x15d)]);const _0x503bf1=!helper[_0x5435d2(0x130)](process[_0x5435d2(0x10a)][_0x5435d2(0x118)]);_0x554069[_0x5435d2(0xe9)][_0x5435d2(0x127)]&&(process[_0x5435d2(0x10a)][_0x5435d2(0x179)]=JSON['stringify'](_0x554069[_0x5435d2(0xe9)][_0x5435d2(0x127)]));let _0x478c2f=![];_0x554069[_0x5435d2(0xe9)][_0x5435d2(0x17a)]&&(_0x478c2f=!![],process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x554069[_0x5435d2(0xe9)][_0x5435d2(0x17a)]);const _0x26ed0f=_0x3fe4d0[_0x5435d2(0x101)](),_0x3ffaea=await _0x5448dc[_0x5435d2(0xd8)](getUserPlaywrightConfig,_0x554bd2,_0x3fe4d0);if(helper[_0x5435d2(0x15e)](_0x3ffaea)){_0x5448dc[_0x5435d2(0xe1)](spawnOriginalProcess,_0x26ed0f);return;}const _0x29e7e6=_0x3ffaea['path']?path['dirname'](_0x3ffaea[_0x5435d2(0xc7)]):process[_0x5435d2(0x165)]();process['env'][_0x5435d2(0xce)]=_0x29e7e6,await PerformanceTester[_0x5435d2(0x17e)](PerformanceEvents[_0x5435d2(0x14f)],async()=>{const _0x157b8d=_0x5435d2;!BrowserstackCLI[_0x157b8d(0xf0)]()[_0x157b8d(0xf7)]()&&await TestHubHandler[_0x157b8d(0xe0)](FRAMEWORKS[_0x157b8d(0x141)],_0x554069),_0x503bf1&&_0x5448dc[_0x157b8d(0x15c)](handleO11yRerun,_0x3fe4d0);})();if(!BrowserstackCLI[_0x5435d2(0xf0)]()[_0x5435d2(0xf7)]()){let _0x32433e=_0x5448dc['crhfH'](process[_0x5435d2(0x10a)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x5448dc[_0x5435d2(0xf1)]);_0x32433e=_0x32433e||_0x5448dc['GnXAL'](checkAccessibilityPlatformConfig,_0x554069[_0x5435d2(0xe9)]),process[_0x5435d2(0x10a)][_0x5435d2(0xf2)]=_0x32433e,_0x32433e&&_0x5448dc[_0x5435d2(0xd7)](setAccessibilityCapabilities,_0x554069['config']);}const _0xa9478f=path[_0x5435d2(0x132)](_0x3ffaea[_0x5435d2(0xc7)]?path['dirname'](_0x3ffaea[_0x5435d2(0xc7)]):process[_0x5435d2(0x165)](),_0x5448dc[_0x5435d2(0x148)]);fs[_0x5435d2(0x121)](_0xa9478f,helper[_0x5435d2(0x129)](_0x554069['config'])),process[_0x5435d2(0x10a)][_0x5435d2(0x174)]=_0xa9478f,helper[_0x5435d2(0xef)]();let _0x29a6e8='';_0x5448dc[_0x5435d2(0x10e)](helper['getPackageType'](),constants[_0x5435d2(0x124)]['MODULE'])?_0x29a6e8=_0x5448dc['uVSFL']:_0x29a6e8=_0x5448dc['xXeqM'];let _0x34c8ff='';if(helper[_0x5435d2(0x166)](_0x3ffaea['path'])){_0x34c8ff='\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a';const _0x313129=_0x29a6e8[_0x5435d2(0x13a)]('.');_0x313129[_0x5448dc[_0x5435d2(0xf9)](_0x313129[_0x5435d2(0x136)],0x1)]='ts',_0x29a6e8=_0x313129[_0x5435d2(0x132)]('.'),logger[_0x5435d2(0x106)](_0x5448dc[_0x5435d2(0x177)](_0x5448dc[_0x5435d2(0x13d)],_0x29a6e8));}else _0x34c8ff=_0x5435d2(0x181);const _0x14f1d9=path[_0x5435d2(0x132)](_0x3ffaea[_0x5435d2(0xc7)]?path['dirname'](_0x3ffaea['path']):process[_0x5435d2(0x165)](),_0x29a6e8);let _0x1ba61f=_0x3ffaea[_0x5435d2(0xc7)]?_0x3ffaea['path']:'';_0x1ba61f=_0x5448dc[_0x5435d2(0x172)](_0x1ba61f['length'],0x0)?path[_0x5435d2(0x158)](_0x1ba61f):'',process[_0x5435d2(0x10a)][_0x5435d2(0x137)]=_0x1ba61f;const _0x4ac1d2=helper['getProxyUrl'](_0x554069[_0x5435d2(0xe9)]),_0x2ce8a6=helper[_0x5435d2(0x142)](_0x554069['config']);logger[_0x5435d2(0x106)](_0x5435d2(0x11c)+_0x4ac1d2),logger[_0x5435d2(0x106)]('No\x20Proxy\x20:\x20'+_0x2ce8a6);_0x4ac1d2&&(_0x34c8ff=_0x5448dc[_0x5435d2(0x149)](_0x5435d2(0x152)+_0x4ac1d2+_0x5435d2(0x135)+_0x2ce8a6+'\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();',_0x34c8ff));helper[_0x5435d2(0xeb)]({},_0x3fe4d0),fs[_0x5435d2(0x121)](_0x14f1d9,_0x34c8ff),PerformanceTester[_0x5435d2(0x116)](PerformanceEvents[_0x5435d2(0xe8)]);const _0x452918=_0x5448dc[_0x5435d2(0x164)](spawn,helper[_0x5435d2(0xdf)]()?_0x5448dc['KoXDH']:_0x5448dc[_0x5435d2(0x12b)],[_0x5448dc[_0x5435d2(0xf8)],_0x5448dc[_0x5435d2(0x114)],_0x5448dc[_0x5435d2(0xd5)],_0x5448dc[_0x5435d2(0xcb)](process[_0x5435d2(0x16a)],_0x5448dc[_0x5435d2(0x153)])?'\x22'+_0x14f1d9+'\x22':_0x14f1d9,..._0x3fe4d0[_0x5435d2(0x14a)](0x2)],{'shell':_0x5448dc[_0x5435d2(0xcb)](process['platform'],_0x5448dc[_0x5435d2(0x153)]),'stdio':_0x5448dc['CPKls'],'cwd':process[_0x5435d2(0x165)](),'env':Object['assign']({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x5435d2(0xff)](_0x554bd2),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x554069[_0x5435d2(0xe9)][_0x5435d2(0xfd)][_0x5435d2(0x110)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x554069[_0x5435d2(0xe9)][_0x5435d2(0xfd)][_0x5435d2(0x145)],'BROWSERSTACK_LOG_LEVEL':_0x554069[_0x5435d2(0xe9)]['logLevel']})}),_0x83f659=()=>{const _0x3f0b1b=_0x5435d2;try{const _0x192cdb=path['join'](helper[_0x3f0b1b(0x10d)](),_0x33801a[_0x3f0b1b(0x126)],_0x33801a[_0x3f0b1b(0x10b)]);if(fs[_0x3f0b1b(0xfb)](_0x192cdb)){let _0x197b83=fs['readFileSync'](_0x192cdb);_0x197b83=JSON['parse'](_0x197b83),_0x554069[_0x3f0b1b(0xca)]=_0x197b83,fs[_0x3f0b1b(0x14e)](_0x192cdb);}}catch(_0x7b00c8){logger[_0x3f0b1b(0x106)](_0x33801a['kaHOo'](_0x33801a['XiQzn'],_0x7b00c8));}};_0x452918['on'](_0x5448dc[_0x5435d2(0x154)],async _0x52e29c=>{const _0x513ccc=_0x5435d2,_0xfc1373={};_0xfc1373['Ciskj']=_0x5448dc[_0x513ccc(0xfe)];const _0x5e087c=_0xfc1373;try{PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),_0x5448dc[_0x513ccc(0x146)](_0x83f659),await TestHubHandler[_0x513ccc(0x115)](),await ClientTroubleShootingService['reportFinalDetectionState']();const _0x5139bc=BrowserstackCLI[_0x513ccc(0xd4)]();await BrowserstackCLI['getInstance']()[_0x513ccc(0x115)](),TestDetails[_0x513ccc(0x167)](),_0x5448dc['ePPoa'](printBuildLink),await utilities[_0x513ccc(0xe4)](_0x554069,_0x5139bc),process[_0x513ccc(0x16e)]=_0x52e29c,logger[_0x513ccc(0x106)](_0x513ccc(0xe6)+_0x52e29c),logger[_0x513ccc(0x12c)]('Deleting\x20'+_0x14f1d9),fs[_0x513ccc(0x14e)](_0x14f1d9);fs['existsSync'](_0xa9478f)&&(logger[_0x513ccc(0x106)](_0x513ccc(0xd9)+_0xa9478f),fs[_0x513ccc(0x14e)](_0xa9478f));const _0x31d3b1=fs['readdirSync'](path['join'](helper['homedir'](),_0x5448dc[_0x513ccc(0xfe)]))[_0x513ccc(0xe5)](_0x288726=>_0x288726['startsWith']('trace_'));_0x31d3b1[_0x513ccc(0x178)](_0x36ee75=>{const _0xd54f9e=_0x513ccc;fs[_0xd54f9e(0x14e)](path['join'](helper['homedir'](),_0x5e087c[_0xd54f9e(0x12a)],_0x36ee75));});}catch(_0x536a5d){logger[_0x513ccc(0x106)](_0x5448dc[_0x513ccc(0x162)](_0x5448dc[_0x513ccc(0xc6)],_0x536a5d));}});})();}function a39_0x2d9e(){const _0x3e0a30=['kxmxh','BROWSERSTACK_TEST_ACCESSIBILITY_YML','startsWith','../utils/clientTroubleshootingService','reportDotBrowserStackFolderNotAccessibleIssue','setFrameworkDetail','isRunning','bewMv','aNBaq','../v2/cliUtils','existsSync','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','testContextOptions','tPSUf','getConfigPath','BrowserStack\x20config\x20file\x20not\x20found.','concat','util','ejAZz','24lBymIQ','BZNab','debug','zYjet','../../helpers/utilities','uGiFI','env','kKHYh','Rtahs','homedir','crhfH','--grep','skipSessionStatus','../../helpers/testhub/testhubHandler','FzAeA','zEfuL','QiRvg','stop','end','requireConfigLoaderYarnPnP','BROWSERSTACK_TEST_OBSERVABILITY','../../helpers/test-observability/utils','WqfGJ','validateRerunTestList','Proxy\x20url\x20:\x20','reportConflictingEnvVarIssue','false','initialize','Error\x20in\x20deleting\x20playwright\x20results','writeFileSync','aSKnU','win32','PACKAGE_TYPE','Ukfvp','oomHD','accessibilityOptions','--config','serializeToYamlString','Ciskj','ETAip','info','INTERNALLY_USED_ENV_VARS','610239MBWrSv','setBrowserstackConfig','isFalse','PTTqh','join','uBosr','.browserstack','\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','length','USER_CONFIG_DETAILS_PATH','../../helpers/performance/constants','error','split','18819370yiALPd','SqZDa','KCnTP','EQYZn','1226408bceUKa','8xngwpp','PLAYWRIGHT','getNoProxy','cliConfig','pw_result.json','skipSessionName','ePPoa','resolvedConfigFile','KCIpl','WxeBJ','slice','bdCtG','12mfRYtL','Error\x20in\x20closing\x20playwright','unlinkSync','SDK_POST_INITIALIZE','child_process','requirePWModule','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','IxWNE','tipAC','28356sqLMyg','playwright-browserstack-sdk.config.js','bootstrap','resolve','RBtjv','BROWSERSTACK_RERUN_TESTS','inherit','qDhcY','testObservability','isUndefined','splice','push','winstonLogger','LCofc','isTrue','wViey','cwd','isTypescriptProject','shutdown','XXAXk','--disable-test-observability','platform','BROWSERSTACK_RERUN','../utils/constants','apply','exitCode','has','npx','constants','AZkXc','ZMwMY','BROWSERSTACK_SETUP_CONFIG_PATH','get','889218gEeKpK','cBfnj','forEach','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','accessibility','BROWSERSTACK_AUTOMATION','TiYgI','dGCeL','measureWrapper','EaTrW','yarn','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','../../helpers/logger','browserstackSetupConfig.json','dGnik','path','test','../../helpers/accessibility-automation/helper','errorMessage','UTSef','rqVEh','--config=','BROWSERSTACK_PW_CONFIG_DIR','accessSync','exports','ipBFU','../../helpers/helper','playwright','isCLIEnabled','EJqVT','../v2/browserstackCLI','kxOAu','PJdFs','Deleting\x20','configPath','../../helpers/BrowserStackSetup','Error\x20in\x20getting\x20funnel\x20data\x20results','Ubvyf','vyXza','isYarnPnP','launchBuild','RnmHU','browserstackAutomation','2118830VQqwTx','finalExecution','filter','Playwright\x20process\x20exited\x20with\x20code\x20','ECzpI','SDK_SETUP','config','SDK_PRE_INITIALIZE','filterBrowserstackArgs','oeSkE','810369XMiuLL','./reporter/pwUtils','clearTempPWConfig','getInstance'];a39_0x2d9e=function(){return _0x3e0a30;};return a39_0x2d9e();}module[a39_0x5cc9a5(0xd0)]=run;