browserstack-node-sdk 1.49.1 → 1.49.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (186) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  115. package/src/bin/v2/framework/testFramework.js +1 -1
  116. package/src/bin/v2/grpcClient.js +1 -1
  117. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/trackedContext.js +1 -1
  120. package/src/bin/v2/instances/trackedInstance.js +1 -1
  121. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  122. package/src/bin/v2/modules/baseModule.js +1 -1
  123. package/src/bin/v2/modules/loadTestModule.js +1 -1
  124. package/src/bin/v2/modules/observabilityModule.js +1 -1
  125. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  126. package/src/bin/v2/modules/testhubModule.js +1 -1
  127. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  128. package/src/bin/v2/state/hookState.js +1 -1
  129. package/src/bin/v2/state/testFrameworkState.js +1 -1
  130. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  131. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  132. package/src/bin/v2/utils/jest-utils.js +1 -1
  133. package/src/bin/vanilla-js/command.js +1 -1
  134. package/src/browserStackSdk.js +1 -1
  135. package/src/helpers/BrowserStackSetup.js +1 -1
  136. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  137. package/src/helpers/accessibility-automation/constants.js +1 -1
  138. package/src/helpers/accessibility-automation/helper.js +1 -1
  139. package/src/helpers/accessibility-automation/scripts.js +1 -1
  140. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  141. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  142. package/src/helpers/ats/constants.js +1 -1
  143. package/src/helpers/ats/helper.js +1 -1
  144. package/src/helpers/capsMapping.js +1 -1
  145. package/src/helpers/central-scanner/constants.js +1 -1
  146. package/src/helpers/central-scanner/helpers.js +1 -1
  147. package/src/helpers/classLogger.js +1 -1
  148. package/src/helpers/globals.js +1 -1
  149. package/src/helpers/helper.js +1 -1
  150. package/src/helpers/logger.js +1 -1
  151. package/src/helpers/metadata.js +1 -1
  152. package/src/helpers/patchHelper.js +1 -1
  153. package/src/helpers/patchHelpers.js +1 -1
  154. package/src/helpers/percy/Percy.js +1 -1
  155. package/src/helpers/percy/PercyBinary.js +1 -1
  156. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  157. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  158. package/src/helpers/percy/PercySDK.js +1 -1
  159. package/src/helpers/percy/index.js +1 -1
  160. package/src/helpers/percy/utils.js +1 -1
  161. package/src/helpers/performance/constants.js +1 -1
  162. package/src/helpers/performance/performance-tester.js +1 -1
  163. package/src/helpers/playwright-helper.js +1 -1
  164. package/src/helpers/processHelper.js +1 -1
  165. package/src/helpers/request-spy.js +1 -1
  166. package/src/helpers/setKeepAlive.js +1 -1
  167. package/src/helpers/test-observability/constants.js +1 -1
  168. package/src/helpers/test-observability/error-handler.js +1 -1
  169. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  170. package/src/helpers/test-observability/sessionHandler.js +1 -1
  171. package/src/helpers/test-observability/utils.js +1 -1
  172. package/src/helpers/test-orchestration/constants.js +1 -1
  173. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  174. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  175. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  176. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  177. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  178. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  179. package/src/helpers/testhub/constants.js +1 -1
  180. package/src/helpers/testhub/testhubHandler.js +1 -1
  181. package/src/helpers/testhub/utils.js +1 -1
  182. package/src/helpers/timeoutPromise.js +1 -1
  183. package/src/helpers/utilities.js +1 -1
  184. package/src/helpers/w3cMapping.js +1 -1
  185. package/src/hubAllocationMethods.js +1 -1
  186. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a33_0x4bb74d=a33_0x356f;(function(_0x2430e8,_0x168c05){const _0x45439f=a33_0x356f,_0x502e97=_0x2430e8();while(!![]){try{const _0x4d6d2f=-parseInt(_0x45439f(0x79))/0x1+parseInt(_0x45439f(0x7b))/0x2*(parseInt(_0x45439f(0x8f))/0x3)+-parseInt(_0x45439f(0xc9))/0x4*(parseInt(_0x45439f(0xa9))/0x5)+-parseInt(_0x45439f(0x7c))/0x6*(parseInt(_0x45439f(0x9e))/0x7)+-parseInt(_0x45439f(0x8a))/0x8+-parseInt(_0x45439f(0xa0))/0x9+parseInt(_0x45439f(0xd4))/0xa*(parseInt(_0x45439f(0x84))/0xb);if(_0x4d6d2f===_0x168c05)break;else _0x502e97['push'](_0x502e97['shift']());}catch(_0x460518){_0x502e97['push'](_0x502e97['shift']());}}}(a33_0x2d69,0x4e1c4));function a33_0x356f(_0x2145da,_0x566d01){const _0x2d697f=a33_0x2d69();return a33_0x356f=function(_0x356fc9,_0x46f2dd){_0x356fc9=_0x356fc9-0x76;let _0x3bf47d=_0x2d697f[_0x356fc9];return _0x3bf47d;},a33_0x356f(_0x2145da,_0x566d01);}const logger=require(a33_0x4bb74d(0x9d))[a33_0x4bb74d(0xa4)],helper=require(a33_0x4bb74d(0xb9)),constants=require('../../../bin/utils/constants'),hubAllocator=require(a33_0x4bb74d(0xcb)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require('../accessibility-automation/helper'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a33_0x4bb74d(0xc8)),globals=require('../../../helpers/globals'),{overrideExecute}=require(a33_0x4bb74d(0xdc)),modify=(_0x46b09c,_0x34ed01=null,_0x76ec97=![])=>{const _0x2d515f=a33_0x4bb74d,_0x5b7223={'wrBky':function(_0x347894,_0x5c6ab3){return _0x347894!==_0x5c6ab3;},'OYmTx':_0x2d515f(0x8c),'VxSxv':function(_0x2133fc,_0x4f0e41){return _0x2133fc+_0x4f0e41;},'shBeZ':function(_0x3d50f1,_0x5688d4){return _0x3d50f1+_0x5688d4;},'JTrjV':_0x2d515f(0xd0),'IAtok':'/wd/hub','qiitK':_0x2d515f(0x96),'vjdxN':'chromeOptions','uLtsx':_0x2d515f(0xac),'ZqjgK':'edgeOptions','YQtor':_0x2d515f(0x7f),'UwsNl':_0x2d515f(0xef),'sLGog':_0x2d515f(0x9a),'CloGc':_0x2d515f(0xca),'JkkAp':_0x2d515f(0x87),'ybuYz':function(_0x21196f,_0x43ad19){return _0x21196f===_0x43ad19;},'quVof':_0x2d515f(0xed),'TyrSM':_0x2d515f(0xcd),'gQoMy':function(_0x2818bb,_0x1d0fd7,_0x107586){return _0x2818bb(_0x1d0fd7,_0x107586);},'Kidlb':'optimalHubUrl','LbYjV':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','lBPMQ':function(_0x3545ab,_0x4e369c,_0x53133b){return _0x3545ab(_0x4e369c,_0x53133b);},'CtLoq':function(_0x5e928f,_0x5909c7){return _0x5e928f(_0x5909c7);},'EBaJD':function(_0x1d059c,_0x16db17,_0x9b6502){return _0x1d059c(_0x16db17,_0x9b6502);},'jcVlJ':'4|3|1|2|0|5','gTEft':_0x2d515f(0x80),'XAhRc':function(_0x11d560){return _0x11d560();},'ySXLY':_0x2d515f(0x78),'SZOaR':function(_0x214aec,_0x3b0611){return _0x214aec(_0x3b0611);},'JrHSg':function(_0x5bf9f3,_0x3175ca){return _0x5bf9f3(_0x3175ca);},'MbISo':function(_0x3339dd,_0x531a5f,_0x31f197){return _0x3339dd(_0x531a5f,_0x31f197);},'jCbII':function(_0x318462,_0x4e2b84){return _0x318462!==_0x4e2b84;},'rLuCt':_0x2d515f(0xc0),'ruAQK':_0x2d515f(0xa3)},_0x102f74=helper[_0x2d515f(0xc1)]();let _0x4522f6;try{_0x4522f6=helper[_0x2d515f(0xb8)](),_0x4522f6[_0x2d515f(0xc3)]&&(_0x4522f6['Builder']=_0x4522f6['originalBuilder']);}catch(_0x301f37){return;}if(helper[_0x2d515f(0xd6)]()){const _0x35e091={};_0x35e091['logLevel']=_0x46b09c[_0x2d515f(0xa1)],helper[_0x2d515f(0xcf)](_0x35e091,new Map(),new Map()),logger[_0x2d515f(0x88)](_0x5b7223[_0x2d515f(0xc2)]),logger[_0x2d515f(0x94)](_0x5b7223[_0x2d515f(0xa2)]);}class _0x2b1555 extends _0x102f74[_0x2d515f(0xc7)]{[_0x2d515f(0xbe)](_0x19436a){const _0x433940=_0x2d515f;if(_0x5b7223[_0x433940(0x77)](_0x19436a[_0x433940(0xe9)],_0x5b7223[_0x433940(0xa7)])&&_0x5b7223[_0x433940(0x77)](global[_0x433940(0xbf)],''))try{global[_0x433940(0xbf)]=_0x5b7223[_0x433940(0xea)](_0x5b7223[_0x433940(0xd1)](_0x5b7223['JTrjV'],global['newHubUrl']),_0x5b7223['IAtok']),this['options_']=hubAllocator[_0x433940(0xe8)](global[_0x433940(0xbf)]),logger[_0x433940(0x94)](_0x433940(0x8b)+global[_0x433940(0xbf)]),global[_0x433940(0xbf)]='';}catch(_0x1b4fd9){logger[_0x433940(0x92)](_0x1b4fd9);}return super[_0x433940(0xbe)](_0x19436a);}}class _0x4d52a0 extends _0x4522f6['Builder']{[_0x2d515f(0xb1)](){const _0x2288d1=_0x2d515f;return this[_0x2288d1(0xa8)]=helper[_0x2288d1(0xe5)](_0x46b09c),logger[_0x2288d1(0x94)]('Hub\x20url\x20set\x20to\x20'+this['url_']),this;}[_0x2d515f(0xb6)](_0x429890){const _0x1c22aa=_0x2d515f;let _0x59f24e={};for(const _0x21f231 in _0x429890){switch(_0x21f231){case _0x5b7223[_0x1c22aa(0xde)]:case _0x5b7223[_0x1c22aa(0xce)]:this[_0x1c22aa(0x86)]&&(_0x59f24e=this[_0x1c22aa(0x86)][_0x1c22aa(0x97)](this[_0x1c22aa(0x86)][_0x1c22aa(0x99)])||{},this['chromeOptions_'][_0x1c22aa(0xd2)](this[_0x1c22aa(0x86)][_0x1c22aa(0x99)],helper['mergeDeep'](_0x59f24e,_0x429890[_0x21f231])));break;case _0x5b7223[_0x1c22aa(0xbb)]:case _0x5b7223['ZqjgK']:this[_0x1c22aa(0xb0)]&&(_0x59f24e=this['edgeOptions_'][_0x1c22aa(0x97)](this[_0x1c22aa(0xb0)]['CAPABILITY_KEY'])||{},this['edgeOptions_'][_0x1c22aa(0xd2)](this[_0x1c22aa(0xb0)]['CAPABILITY_KEY'],helper[_0x1c22aa(0x81)](_0x59f24e,_0x429890[_0x21f231])));break;case _0x5b7223[_0x1c22aa(0xb4)]:case _0x5b7223[_0x1c22aa(0xc4)]:this[_0x1c22aa(0xda)]&&(_0x59f24e=this[_0x1c22aa(0xda)][_0x1c22aa(0x97)](this['firefoxOptions_'][_0x1c22aa(0x99)])||{},this['firefoxOptions_']['set'](this[_0x1c22aa(0xda)][_0x1c22aa(0x99)],helper[_0x1c22aa(0x81)](_0x59f24e,_0x429890[_0x21f231])));break;case _0x5b7223['sLGog']:this[_0x1c22aa(0xc6)]&&(_0x59f24e=this['safariOptions_'][_0x1c22aa(0x97)](this[_0x1c22aa(0xc6)][_0x1c22aa(0x99)])||{},this[_0x1c22aa(0xc6)]['set'](this[_0x1c22aa(0xc6)]['CAPABILITY_KEY'],helper[_0x1c22aa(0x81)](_0x59f24e,_0x429890[_0x21f231])));break;case _0x5b7223[_0x1c22aa(0x7d)]:case _0x5b7223[_0x1c22aa(0x9b)]:this[_0x1c22aa(0x98)]&&(_0x59f24e=this[_0x1c22aa(0x98)][_0x1c22aa(0x97)](this[_0x1c22aa(0x98)]['CAPABILITY_KEY'])||{},this['ieOptions_'][_0x1c22aa(0xd2)](this[_0x1c22aa(0x98)][_0x1c22aa(0x99)],helper[_0x1c22aa(0x81)](_0x59f24e,_0x429890[_0x21f231])));break;}}}['setCapabilities'](){const _0x3fc453=_0x2d515f;return logger[_0x3fc453(0x94)](_0x5b7223[_0x3fc453(0xaa)]),this[_0x3fc453(0xb6)](_0x46b09c[_0x3fc453(0xc5)]),Object[_0x3fc453(0xee)](_0x46b09c[_0x3fc453(0xc5)])[_0x3fc453(0xb5)](_0x1bf1ab=>{const _0x269535=_0x3fc453,_0x2f57e0=this['capabilities_'][_0x269535(0x97)](_0x1bf1ab);_0x5b7223[_0x269535(0xbc)](typeof _0x2f57e0,_0x5b7223[_0x269535(0xae)])?this[_0x269535(0xad)]['set'](_0x1bf1ab,helper[_0x269535(0x81)](_0x2f57e0,_0x46b09c[_0x269535(0xc5)][_0x1bf1ab])):this[_0x269535(0xad)][_0x269535(0xd2)](_0x1bf1ab,_0x46b09c[_0x269535(0xc5)][_0x1bf1ab]);}),this;}[_0x2d515f(0xab)](){const _0x3624bb=_0x2d515f,_0x5053f0={'KfSlo':_0x5b7223[_0x3624bb(0xe1)],'TyzIu':_0x5b7223['LbYjV'],'jBmnc':function(_0x1370d0,_0x209aa1,_0x3156bf){return _0x5b7223['gQoMy'](_0x1370d0,_0x209aa1,_0x3156bf);},'TcLiE':function(_0x36aaeb,_0x3207ee,_0x247277){const _0x8416f8=_0x3624bb;return _0x5b7223[_0x8416f8(0x7a)](_0x36aaeb,_0x3207ee,_0x247277);},'WHdmL':function(_0x490ce9,_0x2bf40e){return _0x5b7223['CtLoq'](_0x490ce9,_0x2bf40e);},'wIjDh':function(_0x31186e,_0x85706f,_0xf67b1c){const _0x48b3d5=_0x3624bb;return _0x5b7223[_0x48b3d5(0xeb)](_0x31186e,_0x85706f,_0xf67b1c);},'oVKuJ':function(_0x3a977e,_0x3744a5,_0x5c2e7c){const _0x3d1de6=_0x3624bb;return _0x5b7223[_0x3d1de6(0xe4)](_0x3a977e,_0x3744a5,_0x5c2e7c);}};if(helper[_0x3624bb(0xd6)]()){const _0x599757=_0x5b7223[_0x3624bb(0x85)]['split']('|');let _0x5ca429=0x0;while(!![]){switch(_0x599757[_0x5ca429++]){case'0':globals[_0x3624bb(0xd5)](_0x5b7223[_0x3624bb(0x8d)])&&(!_0x5b7223[_0x3624bb(0xeb)](setExtension,this,_0x46b09c)&&globals[_0x3624bb(0x82)](_0x5b7223[_0x3624bb(0x8d)],![]));continue;case'1':this[_0x3624bb(0x91)]();continue;case'2':if(helper[_0x3624bb(0xa5)](_0x46b09c[_0x3624bb(0xd8)][_0x3624bb(0x76)]))this[_0x3624bb(0x89)]=helper[_0x3624bb(0xdb)](_0x46b09c['proxySettings'][_0x3624bb(0x76)]);else _0x46b09c[_0x3624bb(0xd8)]['proxyUrl']&&(this['proxy_']=_0x46b09c[_0x3624bb(0xd8)]['proxyUrl'],logger[_0x3624bb(0x94)]('Proxy\x20set\x20to\x20'+this[_0x3624bb(0x83)]));continue;case'3':this[_0x3624bb(0xb1)]();continue;case'4':_0x5b7223[_0x3624bb(0xdd)](isAccessibilityAutomationSession)&&_0x5b7223[_0x3624bb(0x8e)](setAccessibilityCapabilities,_0x46b09c);continue;case'5':logger[_0x3624bb(0x94)](_0x5b7223['ySXLY']);continue;}break;}}const _0x10aa11=super[_0x3624bb(0xab)]();return _0x10aa11[_0x3624bb(0x9c)][_0x3624bb(0xcc)](_0x298266=>{const _0x292341=_0x3624bb;try{const _0x52871c=_0x298266[_0x292341(0xbd)][_0x292341(0x97)](_0x5053f0[_0x292341(0x7e)]);_0x52871c?(logger[_0x292341(0x94)](_0x292341(0xaf)+_0x52871c),hubAllocator['updateHubUrl'](_0x52871c),helper[_0x292341(0xd9)](_0x52871c)):logger[_0x292341(0x94)](_0x5053f0['TyzIu']);}catch(_0x1d66bb){logger['debug'](_0x292341(0xa6)+_0x1d66bb);}}),_0x10aa11['quitCount_']=0x0,_0x10aa11['then']&&_0x10aa11['then'](_0x416811=>{const _0x128a62=_0x3624bb,_0x36749a={'GoznH':function(_0x4b6a0f,_0x121191,_0x3220c4){const _0x518f9a=a33_0x356f;return _0x5053f0[_0x518f9a(0xb2)](_0x4b6a0f,_0x121191,_0x3220c4);}};_0x5053f0[_0x128a62(0xe6)](overrideQuit,_0x416811,_0x10aa11),_0x5053f0[_0x128a62(0xe0)](overrideTakeScreenshot,_0x416811),helper[_0x128a62(0xba)](_0x416811,_0x46b09c),_0x5053f0['wIjDh'](overrideExecute,_0x416811,_0x46b09c),_0x416811[_0x128a62(0xe3)]=async()=>{return await _0x36749a['GoznH'](getAccessibilityResultsSummary,_0x416811,global);},_0x416811[_0x128a62(0xb7)]=async()=>{return await _0x36749a['GoznH'](getAccessibilityResults,_0x416811,global);};}),_0x10aa11['getAccessibilityResultsSummary']=async()=>{const _0x1f79f2=_0x3624bb;return await _0x5053f0[_0x1f79f2(0x9f)](getAccessibilityResultsSummary,_0x10aa11,global);},_0x10aa11['getAccessibilityResults']=async()=>{const _0x36b385=_0x3624bb;return await _0x5b7223[_0x36b385(0xeb)](getAccessibilityResults,_0x10aa11,global);},_0x5b7223[_0x3624bb(0xe2)](overrideTakeScreenshot,_0x10aa11),_0x5b7223[_0x3624bb(0xe7)](overrideQuit,_0x10aa11),helper[_0x3624bb(0xba)](_0x10aa11,_0x46b09c),_0x5b7223[_0x3624bb(0xd3)](overrideExecute,_0x10aa11,_0x46b09c),helper['isUndefined'](global[_0x3624bb(0xb3)])&&(global['__driversArray']=[]),helper[_0x3624bb(0x95)](global[_0x3624bb(0xec)])&&(global[_0x3624bb(0xec)]=[]),global[_0x3624bb(0xb3)][_0x3624bb(0x90)](_0x10aa11),global['__driver']=_0x10aa11,_0x5b7223[_0x3624bb(0xdf)](global[_0x3624bb(0xec)],undefined)&&global[_0x3624bb(0xec)][_0x3624bb(0x90)](_0x10aa11),_0x34ed01&&helper['isUndefined'](_0x34ed01[_0x3624bb(0x93)][_0x3624bb(0xb3)])&&(_0x34ed01[_0x3624bb(0x93)]['__driversArray']=[]),_0x34ed01&&_0x5b7223[_0x3624bb(0xdf)](_0x34ed01[_0x3624bb(0x93)][_0x3624bb(0xec)],undefined)&&(_0x34ed01[_0x3624bb(0x93)]['__drivers'][_0x3624bb(0x90)](_0x10aa11),_0x34ed01[_0x3624bb(0x93)][_0x3624bb(0xb3)][_0x3624bb(0x90)](_0x10aa11)),_0x10aa11;}}return _0x4522f6[_0x2d515f(0xc3)]=_0x4522f6['Builder'],_0x4522f6['Builder']=_0x4d52a0,_0x102f74[_0x2d515f(0xc7)]=_0x2b1555,_0x4522f6;};module['exports'][a33_0x4bb74d(0xd7)]=modify;function a33_0x2d69(){const _0x107a9b=['get','ieOptions_','CAPABILITY_KEY','safari.options','JkkAp','session_','../../../helpers/logger','9289hkVpGS','oVKuJ','680724uWWkIZ','browserStackLogLevel','ruAQK','Modifying\x20webdriver\x20builder','winstonLogger','isPacProxy','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','OYmTx','url_','5yGgONf','TyrSM','build','ms:edgeOptions','capabilities_','quVof','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','edgeOptions_','setServer','jBmnc','__driversArray','YQtor','forEach','__setBrowserOptions','getAccessibilityResults','requireSeleniumWebdriver','../../../helpers/helper','overrideGet','uLtsx','ybuYz','caps_','send','newHubUrl','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','requireHttpClient','rLuCt','originalBuilder','UwsNl','capability','safariOptions_','HttpClient','../../../helpers/accessibility-automation/helper','2458916MrFVxh','se:ieOptions','../../../hubAllocationMethods','then','Setting\x20Browserstack\x20capabilities','vjdxN','setLogLevel','https://','shBeZ','set','MbISo','15811900mwraYM','getGlobal','isBrowserstackInfra','browserstackAgentObservability','proxySettings','storeOptimalHubUrl','firefoxOptions_','getHttpAgent','./helpers/patchHelper','XAhRc','qiitK','jCbII','WHdmL','Kidlb','SZOaR','getAccessibilityResultsSummary','EBaJD','getHubUrl','TcLiE','JrHSg','getRequestOptions','path','VxSxv','gQoMy','__drivers','object','keys','firefoxOptions','proxyUrl','wrBky','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','470051NUgkNU','lBPMQ','1706ZipiKl','426YHUcOv','CloGc','KfSlo','moz:firefoxOptions','isAccessibilityPlatform','mergeDeep','setGlobal','proxy_','11jiptUM','jcVlJ','chromeOptions_','ieOptions','info','agent_','4563600PAxJhg','New\x20hub\x20url\x20set\x20to\x20','/session','gTEft','CtLoq','1983AQGQgV','push','setCapabilities','error','global','debug','isUndefined','goog:chromeOptions'];a33_0x2d69=function(){return _0x107a9b;};return a33_0x2d69();}
1
+ const a33_0x21c847=a33_0x5bb0;(function(_0x9cc661,_0x105b94){const _0x2c5fd4=a33_0x5bb0,_0x31e7af=_0x9cc661();while(!![]){try{const _0x2af673=parseInt(_0x2c5fd4(0x103))/0x1+-parseInt(_0x2c5fd4(0x96))/0x2*(parseInt(_0x2c5fd4(0xfc))/0x3)+parseInt(_0x2c5fd4(0xe6))/0x4*(-parseInt(_0x2c5fd4(0xac))/0x5)+-parseInt(_0x2c5fd4(0xe7))/0x6+parseInt(_0x2c5fd4(0xec))/0x7+parseInt(_0x2c5fd4(0xcf))/0x8+-parseInt(_0x2c5fd4(0xed))/0x9*(parseInt(_0x2c5fd4(0xdf))/0xa);if(_0x2af673===_0x105b94)break;else _0x31e7af['push'](_0x31e7af['shift']());}catch(_0x3978dd){_0x31e7af['push'](_0x31e7af['shift']());}}}(a33_0x2a1c,0xcf015));const logger=require('../../../helpers/logger')[a33_0x21c847(0xc5)],helper=require(a33_0x21c847(0xd6)),constants=require(a33_0x21c847(0xae)),hubAllocator=require(a33_0x21c847(0xa3)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require(a33_0x21c847(0xfb)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require(a33_0x21c847(0xc9)),{overrideExecute}=require(a33_0x21c847(0x9b)),modify=(_0x5d30ac,_0x24730e=null,_0x34a364=![])=>{const _0x59aed3=a33_0x21c847,_0x24c03d={'nYjRF':function(_0xa35093,_0x1062db){return _0xa35093!==_0x1062db;},'hjJIY':_0x59aed3(0xde),'OYtvH':function(_0x59e200,_0x5971ca){return _0x59e200!==_0x5971ca;},'KTPJR':function(_0x53e4cc,_0x282768){return _0x53e4cc+_0x282768;},'LuEgY':function(_0x43587d,_0x16c58e){return _0x43587d+_0x16c58e;},'ueFBn':_0x59aed3(0xa4),'HotpC':_0x59aed3(0xb6),'SchXC':'goog:chromeOptions','MtQTk':_0x59aed3(0xba),'fewgf':'ms:edgeOptions','BtkUC':_0x59aed3(0xbb),'swPwP':_0x59aed3(0xf2),'OFaFL':_0x59aed3(0xc1),'BMhDM':_0x59aed3(0xd2),'xfLJQ':_0x59aed3(0xb9),'zENtD':_0x59aed3(0x10a),'nwUeG':function(_0x3b1f25,_0x1e0ef7){return _0x3b1f25===_0x1e0ef7;},'LxDgj':_0x59aed3(0xcd),'HputJ':_0x59aed3(0xdd),'dBzEm':_0x59aed3(0xaf),'mKeqm':_0x59aed3(0xc4),'lxrap':function(_0x199c11,_0x4b0999,_0x451132){return _0x199c11(_0x4b0999,_0x451132);},'XkBKF':function(_0x8bd34f,_0x5f1e53){return _0x8bd34f(_0x5f1e53);},'AMyWJ':_0x59aed3(0xc2),'YOETY':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','xImGm':function(_0xfccda9){return _0xfccda9();},'KmWHL':function(_0x526f51,_0xdc59d3){return _0x526f51(_0xdc59d3);},'tpqsr':'isAccessibilityPlatform','lpMPL':function(_0x4416bd,_0x3e1104){return _0x4416bd(_0x3e1104);},'LwSFt':function(_0x310d87,_0x7ff6fa,_0x26719e){return _0x310d87(_0x7ff6fa,_0x26719e);},'uYXvv':_0x59aed3(0xe5),'UNKRX':'Modifying\x20webdriver\x20builder'},_0x5f3d41=helper[_0x59aed3(0xaa)]();let _0x4c6424;try{_0x4c6424=helper['requireSeleniumWebdriver'](),_0x4c6424[_0x59aed3(0xa5)]&&(_0x4c6424[_0x59aed3(0x100)]=_0x4c6424[_0x59aed3(0xa5)]);}catch(_0x22620e){return;}if(helper[_0x59aed3(0xe0)]()){const _0x5a251b={};_0x5a251b['logLevel']=_0x5d30ac[_0x59aed3(0xa0)],helper['setLogLevel'](_0x5a251b,new Map(),new Map()),logger['info'](_0x24c03d[_0x59aed3(0xbf)]),logger[_0x59aed3(0x9a)](_0x24c03d[_0x59aed3(0xf9)]);}class _0x31d591 extends _0x5f3d41[_0x59aed3(0xee)]{[_0x59aed3(0xd0)](_0x2150f9){const _0x4e301f=_0x59aed3;if(_0x24c03d[_0x4e301f(0xf0)](_0x2150f9[_0x4e301f(0xeb)],_0x24c03d[_0x4e301f(0xe4)])&&_0x24c03d[_0x4e301f(0xb1)](global[_0x4e301f(0xc6)],''))try{global[_0x4e301f(0xc6)]=_0x24c03d['KTPJR'](_0x24c03d[_0x4e301f(0xf8)](_0x24c03d[_0x4e301f(0xc8)],global[_0x4e301f(0xc6)]),_0x24c03d[_0x4e301f(0xd7)]),this[_0x4e301f(0x9f)]=hubAllocator['getRequestOptions'](global[_0x4e301f(0xc6)]),logger[_0x4e301f(0x9a)](_0x4e301f(0xb8)+global[_0x4e301f(0xc6)]),global['newHubUrl']='';}catch(_0x270122){logger[_0x4e301f(0xc3)](_0x270122);}return super[_0x4e301f(0xd0)](_0x2150f9);}}class _0x9e72dd extends _0x4c6424[_0x59aed3(0x100)]{[_0x59aed3(0xce)](){const _0xb7b7e6=_0x59aed3;return this[_0xb7b7e6(0xfe)]=helper[_0xb7b7e6(0xe9)](_0x5d30ac),logger[_0xb7b7e6(0x9a)](_0xb7b7e6(0xf4)+this[_0xb7b7e6(0xfe)]),this;}['__setBrowserOptions'](_0x2a43c8){const _0x560eec=_0x59aed3;let _0x2e03fc={};for(const _0x58fc5e in _0x2a43c8){switch(_0x58fc5e){case _0x24c03d[_0x560eec(0x98)]:case _0x24c03d['MtQTk']:this['chromeOptions_']&&(_0x2e03fc=this[_0x560eec(0xbe)][_0x560eec(0xf3)](this[_0x560eec(0xbe)]['CAPABILITY_KEY'])||{},this[_0x560eec(0xbe)][_0x560eec(0xdb)](this[_0x560eec(0xbe)]['CAPABILITY_KEY'],helper[_0x560eec(0xad)](_0x2e03fc,_0x2a43c8[_0x58fc5e])));break;case _0x24c03d['fewgf']:case _0x24c03d[_0x560eec(0xa7)]:this[_0x560eec(0xb4)]&&(_0x2e03fc=this['edgeOptions_'][_0x560eec(0xf3)](this['edgeOptions_'][_0x560eec(0xd9)])||{},this[_0x560eec(0xb4)]['set'](this[_0x560eec(0xb4)][_0x560eec(0xd9)],helper['mergeDeep'](_0x2e03fc,_0x2a43c8[_0x58fc5e])));break;case _0x24c03d[_0x560eec(0xb3)]:case _0x24c03d[_0x560eec(0xbc)]:this[_0x560eec(0xa2)]&&(_0x2e03fc=this['firefoxOptions_']['get'](this[_0x560eec(0xa2)][_0x560eec(0xd9)])||{},this['firefoxOptions_'][_0x560eec(0xdb)](this[_0x560eec(0xa2)][_0x560eec(0xd9)],helper['mergeDeep'](_0x2e03fc,_0x2a43c8[_0x58fc5e])));break;case _0x24c03d['BMhDM']:this[_0x560eec(0xd3)]&&(_0x2e03fc=this[_0x560eec(0xd3)]['get'](this[_0x560eec(0xd3)][_0x560eec(0xd9)])||{},this['safariOptions_'][_0x560eec(0xdb)](this[_0x560eec(0xd3)]['CAPABILITY_KEY'],helper[_0x560eec(0xad)](_0x2e03fc,_0x2a43c8[_0x58fc5e])));break;case _0x24c03d[_0x560eec(0xca)]:case _0x24c03d[_0x560eec(0x109)]:this['ieOptions_']&&(_0x2e03fc=this[_0x560eec(0xe3)]['get'](this[_0x560eec(0xe3)][_0x560eec(0xd9)])||{},this[_0x560eec(0xe3)]['set'](this[_0x560eec(0xe3)]['CAPABILITY_KEY'],helper[_0x560eec(0xad)](_0x2e03fc,_0x2a43c8[_0x58fc5e])));break;}}}[_0x59aed3(0xf7)](){const _0x51be4f=_0x59aed3;return logger[_0x51be4f(0x9a)](_0x24c03d[_0x51be4f(0xab)]),this[_0x51be4f(0xa1)](_0x5d30ac[_0x51be4f(0xdc)]),Object['keys'](_0x5d30ac[_0x51be4f(0xdc)])[_0x51be4f(0xb7)](_0x1d7936=>{const _0x647fde=_0x51be4f,_0x2275ed=this['capabilities_'][_0x647fde(0xf3)](_0x1d7936);_0x24c03d[_0x647fde(0x9e)](typeof _0x2275ed,_0x24c03d[_0x647fde(0xe2)])?this[_0x647fde(0x9c)]['set'](_0x1d7936,helper[_0x647fde(0xad)](_0x2275ed,_0x5d30ac[_0x647fde(0xdc)][_0x1d7936])):this[_0x647fde(0x9c)][_0x647fde(0xdb)](_0x1d7936,_0x5d30ac[_0x647fde(0xdc)][_0x1d7936]);}),this;}['build'](){const _0x4d2037=_0x59aed3,_0x4ebdcd={'KoYwk':function(_0x33924e,_0x23a75c,_0x247a35){return _0x24c03d['lxrap'](_0x33924e,_0x23a75c,_0x247a35);},'fmbXl':function(_0x23539d,_0x3fcda2){return _0x24c03d['XkBKF'](_0x23539d,_0x3fcda2);}};if(helper[_0x4d2037(0xe0)]()){const _0x2e5992=_0x24c03d[_0x4d2037(0xda)][_0x4d2037(0x9d)]('|');let _0xac3c1=0x0;while(!![]){switch(_0x2e5992[_0xac3c1++]){case'0':this[_0x4d2037(0xce)]();continue;case'1':logger[_0x4d2037(0x9a)](_0x24c03d[_0x4d2037(0x101)]);continue;case'2':_0x24c03d['xImGm'](isAccessibilityAutomationSession)&&_0x24c03d[_0x4d2037(0x108)](setAccessibilityCapabilities,_0x5d30ac);continue;case'3':globals[_0x4d2037(0xd8)](_0x24c03d[_0x4d2037(0x97)])&&(!_0x24c03d[_0x4d2037(0xd1)](setExtension,this,_0x5d30ac)&&globals[_0x4d2037(0x107)](_0x24c03d[_0x4d2037(0x97)],![]));continue;case'4':this[_0x4d2037(0xf7)]();continue;case'5':if(helper[_0x4d2037(0xe8)](_0x5d30ac[_0x4d2037(0xf6)][_0x4d2037(0xa6)]))this[_0x4d2037(0xef)]=helper[_0x4d2037(0xfd)](_0x5d30ac[_0x4d2037(0xf6)]['proxyUrl']);else _0x5d30ac['proxySettings']['proxyUrl']&&(this[_0x4d2037(0xb5)]=_0x5d30ac['proxySettings'][_0x4d2037(0xa6)],logger[_0x4d2037(0x9a)](_0x4d2037(0x105)+this['proxy_']));continue;}break;}}const _0x440fd4=super[_0x4d2037(0xa8)]();return _0x440fd4['session_'][_0x4d2037(0xd5)](_0x5a86f8=>{const _0x214075=_0x4d2037;try{const _0x27eb2f=_0x5a86f8[_0x214075(0xb2)]['get'](_0x24c03d['dBzEm']);_0x27eb2f?(logger[_0x214075(0x9a)](_0x214075(0x106)+_0x27eb2f),hubAllocator['updateHubUrl'](_0x27eb2f),helper[_0x214075(0xc7)](_0x27eb2f)):logger[_0x214075(0x9a)](_0x24c03d[_0x214075(0xd4)]);}catch(_0x50005e){logger[_0x214075(0x9a)](_0x214075(0xcc)+_0x50005e);}}),_0x440fd4['quitCount_']=0x0,_0x440fd4[_0x4d2037(0xd5)]&&_0x440fd4[_0x4d2037(0xd5)](_0x4ea97b=>{const _0x755ad=_0x4d2037,_0x179830={'rWxAN':function(_0x1fb41d,_0x1aa50f,_0x2bd029){const _0x25c958=a33_0x5bb0;return _0x4ebdcd[_0x25c958(0xbd)](_0x1fb41d,_0x1aa50f,_0x2bd029);}};_0x4ebdcd['KoYwk'](overrideQuit,_0x4ea97b,_0x440fd4),_0x4ebdcd[_0x755ad(0xcb)](overrideTakeScreenshot,_0x4ea97b),helper['overrideGet'](_0x4ea97b,_0x5d30ac),_0x4ebdcd[_0x755ad(0xbd)](overrideExecute,_0x4ea97b,_0x5d30ac),_0x4ea97b[_0x755ad(0xff)]=async()=>{const _0x52efef=_0x755ad;return await _0x179830[_0x52efef(0x102)](getAccessibilityResultsSummary,_0x4ea97b,global);},_0x4ea97b[_0x755ad(0xe1)]=async()=>{return await _0x179830['rWxAN'](getAccessibilityResults,_0x4ea97b,global);};}),_0x440fd4[_0x4d2037(0xff)]=async()=>{const _0x51ddcc=_0x4d2037;return await _0x4ebdcd[_0x51ddcc(0xbd)](getAccessibilityResultsSummary,_0x440fd4,global);},_0x440fd4[_0x4d2037(0xe1)]=async()=>{const _0x1d5395=_0x4d2037;return await _0x24c03d[_0x1d5395(0xd1)](getAccessibilityResults,_0x440fd4,global);},_0x24c03d[_0x4d2037(0x99)](overrideTakeScreenshot,_0x440fd4),_0x24c03d[_0x4d2037(0xf1)](overrideQuit,_0x440fd4),helper['overrideGet'](_0x440fd4,_0x5d30ac),_0x24c03d[_0x4d2037(0x104)](overrideExecute,_0x440fd4,_0x5d30ac),helper[_0x4d2037(0xea)](global[_0x4d2037(0xc0)])&&(global[_0x4d2037(0xc0)]=[]),helper['isUndefined'](global[_0x4d2037(0xfa)])&&(global[_0x4d2037(0xfa)]=[]),global[_0x4d2037(0xc0)][_0x4d2037(0xf5)](_0x440fd4),global['__driver']=_0x440fd4,_0x24c03d['nYjRF'](global[_0x4d2037(0xfa)],undefined)&&global[_0x4d2037(0xfa)][_0x4d2037(0xf5)](_0x440fd4),_0x24730e&&helper[_0x4d2037(0xea)](_0x24730e[_0x4d2037(0xb0)][_0x4d2037(0xc0)])&&(_0x24730e['global'][_0x4d2037(0xc0)]=[]),_0x24730e&&_0x24c03d['nYjRF'](_0x24730e[_0x4d2037(0xb0)]['__drivers'],undefined)&&(_0x24730e['global']['__drivers'][_0x4d2037(0xf5)](_0x440fd4),_0x24730e[_0x4d2037(0xb0)][_0x4d2037(0xc0)][_0x4d2037(0xf5)](_0x440fd4)),_0x440fd4;}}return _0x4c6424[_0x59aed3(0xa5)]=_0x4c6424[_0x59aed3(0x100)],_0x4c6424[_0x59aed3(0x100)]=_0x9e72dd,_0x5f3d41[_0x59aed3(0xee)]=_0x31d591,_0x4c6424;};function a33_0x2a1c(){const _0x3867b5=['agent_','nYjRF','XkBKF','moz:firefoxOptions','get','Hub\x20url\x20set\x20to\x20','push','proxySettings','setCapabilities','LuEgY','UNKRX','__drivers','../accessibility-automation/helper','423483xUVQRr','getHttpAgent','url_','getAccessibilityResultsSummary','Builder','YOETY','rWxAN','1328006WqVulP','LwSFt','Proxy\x20set\x20to\x20','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','setGlobal','KmWHL','zENtD','ieOptions','14TvBKcX','tpqsr','SchXC','lpMPL','debug','./helpers/patchHelper','capabilities_','split','nwUeG','options_','browserStackLogLevel','__setBrowserOptions','firefoxOptions_','../../../hubAllocationMethods','https://','originalBuilder','proxyUrl','BtkUC','build','exports','requireHttpClient','HputJ','657170ZHrENF','mergeDeep','../../../bin/utils/constants','optimalHubUrl','global','OYtvH','caps_','swPwP','edgeOptions_','proxy_','/wd/hub','forEach','New\x20hub\x20url\x20set\x20to\x20','se:ieOptions','chromeOptions','edgeOptions','OFaFL','KoYwk','chromeOptions_','uYXvv','__driversArray','firefoxOptions','2|0|4|5|3|1','error','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','winstonLogger','newHubUrl','storeOptimalHubUrl','ueFBn','../../../helpers/globals','xfLJQ','fmbXl','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','object','setServer','10968456gBfBYY','send','lxrap','safari.options','safariOptions_','mKeqm','then','../../../helpers/helper','HotpC','getGlobal','CAPABILITY_KEY','AMyWJ','set','capability','Setting\x20Browserstack\x20capabilities','/session','10AeKJML','isBrowserstackInfra','getAccessibilityResults','LxDgj','ieOptions_','hjJIY','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','16kTWzTA','3488748aXDPAo','isPacProxy','getHubUrl','isUndefined','path','9676338Lorljs','10243647kfAPJS','HttpClient'];a33_0x2a1c=function(){return _0x3867b5;};return a33_0x2a1c();}function a33_0x5bb0(_0x48c174,_0x2947a0){const _0x2a1c8a=a33_0x2a1c();return a33_0x5bb0=function(_0x5bb0b0,_0x28fff3){_0x5bb0b0=_0x5bb0b0-0x96;let _0x27f731=_0x2a1c8a[_0x5bb0b0];return _0x27f731;},a33_0x5bb0(_0x48c174,_0x2947a0);}module[a33_0x21c847(0xa9)]['browserstackAgentObservability']=modify;
@@ -1 +1 @@
1
- const a34_0x45e443=a34_0x5bc9;function a34_0x5bc9(_0x444fdc,_0x1665ca){const _0x38ad18=a34_0x38ad();return a34_0x5bc9=function(_0x5bc946,_0x4b7e14){_0x5bc946=_0x5bc946-0x11d;let _0x3e21d4=_0x38ad18[_0x5bc946];return _0x3e21d4;},a34_0x5bc9(_0x444fdc,_0x1665ca);}function a34_0x38ad(){const _0x3b1d83=['58420cmxGqE','../../../helpers/test-observability/utils','1246458kYddRj','178371LQzXhl','../../../helpers/request-spy','272652tYLbWZ','restore','2786420VOWWfq','2JdRtcS','112cMIfIO','787299qQyxYk','../../../bin/utils/constants','2843267RxXNTo','4zXScer'];a34_0x38ad=function(){return _0x3b1d83;};return a34_0x38ad();}(function(_0x5ba29b,_0xc4aac7){const _0x2a4839=a34_0x5bc9,_0x99a754=_0x5ba29b();while(!![]){try{const _0x228bf9=-parseInt(_0x2a4839(0x124))/0x1*(-parseInt(_0x2a4839(0x127))/0x2)+-parseInt(_0x2a4839(0x129))/0x3+parseInt(_0x2a4839(0x11e))/0x4*(parseInt(_0x2a4839(0x11f))/0x5)+-parseInt(_0x2a4839(0x121))/0x6+parseInt(_0x2a4839(0x11d))/0x7+-parseInt(_0x2a4839(0x128))/0x8*(-parseInt(_0x2a4839(0x122))/0x9)+-parseInt(_0x2a4839(0x126))/0xa;if(_0x228bf9===_0xc4aac7)break;else _0x99a754['push'](_0x99a754['shift']());}catch(_0x22d049){_0x99a754['push'](_0x99a754['shift']());}}}(a34_0x38ad,0x3581d));const requestSpy=require(a34_0x45e443(0x123)),constants=require(a34_0x45e443(0x12a)),{addRequestSpy}=require(a34_0x45e443(0x120));exports['mochaHooks']={'beforeAll'(){const _0x366dc6={'LnWny':function(_0x366141){return _0x366141();}},_0x27e06e='browserstack internal helper hook';_0x366dc6['LnWny'](addRequestSpy);},'afterAll'(){const _0x16b85a=a34_0x45e443,_0x2a0947='browserstack internal helper hook';this['timeout'](0xea60),requestSpy[_0x16b85a(0x125)]();}};
1
+ const a34_0x41d349=a34_0x3cf8;(function(_0x4d447f,_0x5d106e){const _0x184324=a34_0x3cf8,_0x419b08=_0x4d447f();while(!![]){try{const _0x57fbd3=parseInt(_0x184324(0xd3))/0x1*(parseInt(_0x184324(0xc8))/0x2)+parseInt(_0x184324(0xd4))/0x3*(-parseInt(_0x184324(0xd2))/0x4)+parseInt(_0x184324(0xd5))/0x5*(parseInt(_0x184324(0xca))/0x6)+parseInt(_0x184324(0xd6))/0x7+-parseInt(_0x184324(0xcd))/0x8+parseInt(_0x184324(0xce))/0x9+parseInt(_0x184324(0xcf))/0xa*(parseInt(_0x184324(0xcc))/0xb);if(_0x57fbd3===_0x5d106e)break;else _0x419b08['push'](_0x419b08['shift']());}catch(_0x4a65f3){_0x419b08['push'](_0x419b08['shift']());}}}(a34_0x2cb2,0x3c93e));const requestSpy=require(a34_0x41d349(0xd9)),constants=require(a34_0x41d349(0xd0)),{addRequestSpy}=require(a34_0x41d349(0xd7));function a34_0x2cb2(){const _0x529929=['1979474EDyUmU','../../../helpers/test-observability/utils','timeout','../../../helpers/request-spy','683498SPjHOa','iyIWf','585294JxRQID','mochaHooks','3858151WxNisv','3743536zImUxq','304344rPdYZR','10zZidmc','../../../bin/utils/constants','restore','650824shRXrw','1OFMvvq','9DmEcAb','10pRDkgN'];a34_0x2cb2=function(){return _0x529929;};return a34_0x2cb2();}function a34_0x3cf8(_0x315e53,_0x32c0a2){const _0x2cb236=a34_0x2cb2();return a34_0x3cf8=function(_0x3cf8db,_0x21353e){_0x3cf8db=_0x3cf8db-0xc8;let _0x389616=_0x2cb236[_0x3cf8db];return _0x389616;},a34_0x3cf8(_0x315e53,_0x32c0a2);}exports[a34_0x41d349(0xcb)]={'beforeAll'(){const _0x5a6840=a34_0x41d349,_0x5bd144={'iyIWf':function(_0x4cd8a8){return _0x4cd8a8();}},_0x3b6eda='browserstack internal helper hook';_0x5bd144[_0x5a6840(0xc9)](addRequestSpy);},'afterAll'(){const _0x32a184=a34_0x41d349,_0x5b4f1f='browserstack internal helper hook';this[_0x32a184(0xd8)](0xea60),requestSpy[_0x32a184(0xd1)]();}};
@@ -1 +1 @@
1
- const a35_0x234caa=a35_0xe473;(function(_0x4f6613,_0xa6464a){const _0x580acd=a35_0xe473,_0xc617f8=_0x4f6613();while(!![]){try{const _0x572806=parseInt(_0x580acd(0x1cd))/0x1+-parseInt(_0x580acd(0x1f4))/0x2*(-parseInt(_0x580acd(0x1dc))/0x3)+-parseInt(_0x580acd(0x1ee))/0x4*(parseInt(_0x580acd(0x1ba))/0x5)+-parseInt(_0x580acd(0x1db))/0x6+parseInt(_0x580acd(0x1d3))/0x7*(parseInt(_0x580acd(0x1fd))/0x8)+-parseInt(_0x580acd(0x1ea))/0x9*(-parseInt(_0x580acd(0x201))/0xa)+-parseInt(_0x580acd(0x1be))/0xb;if(_0x572806===_0xa6464a)break;else _0xc617f8['push'](_0xc617f8['shift']());}catch(_0x13baa7){_0xc617f8['push'](_0xc617f8['shift']());}}}(a35_0x2a70,0x1fca0));const {v4:uuidv4}=require('uuid'),{name,version}=require('../../../../package.json'),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require('../../../helpers/test-observability/utils'),{consoleHolder}=require(a35_0x234caa(0x1cf)),{getPlatformVersion}=require(a35_0x234caa(0x1c1)),{shouldProcessEventForTesthub}=require(a35_0x234caa(0x1bd)),{isFunction}=require(a35_0x234caa(0x1f0)),{patchConsoleLogger}=require('../../../helpers/test-observability/utils');function a35_0x2a70(){const _0x231198=['getTestEnv','immRp','hDZGC','nlEbR','TEST_PLATFORM','rWRxq','concat','hook','9UcVmeo','markedStatus','getHookSkippedTests','state','141920ZDrsds','substring','lodash','VtYBa','fgHbj','split','23554apHYoQ','browserstack','indexOf','unknown_grid','__cloud_provider___','tvyUc','IHHuw','WXhwq','VVthd','8kQGVTo','cNmci','toJSON','getPlatform','2102630SBuNbs','emit','aoAyb','generic','qoRvi','Rtksn','pending','20DOdEHO','slice','RgeWm','../../../helpers/testhub/utils','2281026YgVdYc','_beforeEach','ouLXJ','../../../helpers/helper','forEach','getCapabilities','toISOString','hookAnalyticsId','qmqfA','rehSF','type','frSev','failed','parent','pid','198756NLCHSj','getSession','../../../helpers/test-observability/constants','LvZcs','sendPlatformDetails','string','1351189IfPakv','PqPfC','passed','mapTestHooks','jeMYF','getBrowserName','NFFNx','WFLij','1371270TMCSwp','27lfkGao','jAsHN','bs:addPlatformDetails:','clNni','MznhG','get'];a35_0x2a70=function(){return _0x231198;};return a35_0x2a70();}function a35_0xe473(_0x3b41a1,_0x4d9d0b){const _0x2a7012=a35_0x2a70();return a35_0xe473=function(_0xe4735,_0x3de4f0){_0xe4735=_0xe4735-0x1b4;let _0x55cca7=_0x2a7012[_0xe4735];return _0x55cca7;},a35_0xe473(_0x3b41a1,_0x4d9d0b);}patchConsoleLogger(),exports[a35_0x234caa(0x1e2)]=()=>{const _0x4655dc=a35_0x234caa,_0x5d0dfa={'fgHbj':_0x4655dc(0x1b6),'PqPfC':function(_0x38d3e3){return _0x38d3e3();}};return{'ci':_0x5d0dfa[_0x4655dc(0x1f2)],'key':_0x5d0dfa[_0x4655dc(0x1d4)](uuidv4),'version':version,'collector':'js-'+name};},exports['getHookDetails']=_0x23994c=>{const _0x41a707=a35_0x234caa,_0x4e54b6={};_0x4e54b6[_0x41a707(0x1d0)]=function(_0x5b66ba,_0x3aaa89){return _0x5b66ba!==_0x3aaa89;},_0x4e54b6[_0x41a707(0x1fc)]=_0x41a707(0x1d2),_0x4e54b6[_0x41a707(0x1e5)]=function(_0x57376c,_0x129c78){return _0x57376c!==_0x129c78;},_0x4e54b6['IHHuw']='hook:',_0x4e54b6[_0x41a707(0x1f1)]=function(_0x2ceef2,_0x5b7fac){return _0x2ceef2!==_0x5b7fac;},_0x4e54b6[_0x41a707(0x1e7)]=_0x41a707(0x1e9);const _0x4391fe=_0x4e54b6;if(!_0x23994c||_0x4391fe['LvZcs'](typeof _0x23994c,_0x4391fe[_0x41a707(0x1fc)]))return[null,null];if(_0x4391fe['nlEbR'](_0x23994c[_0x41a707(0x1f6)](_0x4391fe[_0x41a707(0x1fa)]),-0x1)){const _0x36d396=_0x23994c['split'](_0x4391fe['IHHuw']);return[_0x36d396[0x0][_0x41a707(0x1bb)](0x0,-0x1)[_0x41a707(0x1f3)]('\x22')[0x1],_0x36d396[0x1][_0x41a707(0x1ef)](0x1)];}else{if(_0x4391fe[_0x41a707(0x1f1)](_0x23994c[_0x41a707(0x1f6)](_0x4391fe[_0x41a707(0x1e7)]),-0x1)){const _0x21ce4c=_0x23994c[_0x41a707(0x1f3)](_0x4391fe[_0x41a707(0x1e7)]);return[_0x21ce4c[0x0][_0x41a707(0x1bb)](0x0,-0x1)[_0x41a707(0x1f3)]('\x22')[0x1],_0x23994c];}}return[null,null];},exports['getHooksForTest']=_0x17ddfe=>{const _0x1a210d=a35_0x234caa,_0x5482e={'Rtksn':function(_0x3e1053,_0x31ba99){return _0x3e1053(_0x31ba99);},'cNmci':'_beforeAll','noLpr':'_afterAll','clNni':_0x1a210d(0x1bf),'frSev':'_afterEach'};if(!_0x17ddfe||!_0x17ddfe[_0x1a210d(0x1cb)])return[];const _0x51a4ab=[];return[_0x5482e[_0x1a210d(0x1fe)],_0x5482e['noLpr'],_0x5482e[_0x1a210d(0x1df)],_0x5482e[_0x1a210d(0x1c9)]][_0x1a210d(0x1c2)](_0x3bda9f=>{const _0x3f5b02=_0x1a210d,_0x1690bc={'QlqWq':function(_0x392e59,_0x10678d){const _0x38bb5e=a35_0xe473;return _0x5482e[_0x38bb5e(0x1b8)](_0x392e59,_0x10678d);}},_0x289668=_0x17ddfe['parent'][_0x3bda9f]||[];_0x289668[_0x3f5b02(0x1c2)](_0x121bfd=>{const _0x51c0a7=_0x3f5b02;_0x121bfd[_0x51c0a7(0x1c5)]&&!_0x1690bc['QlqWq'](isInternalHook,_0x121bfd['fn'])&&_0x51a4ab['push'](_0x121bfd['hookAnalyticsId']);});}),[..._0x51a4ab,...exports['getHooksForTest'](_0x17ddfe[_0x1a210d(0x1cb)])];},exports[a35_0x234caa(0x1d6)]=_0x53d0ff=>{const _0x3c7b2a=a35_0x234caa,_0x40231e={'tvyUc':function(_0xb41a5b){return _0xb41a5b();},'qmqfA':function(_0x1438ff,_0x33f68d){return _0x1438ff===_0x33f68d;},'WFLij':'_afterEach','PzOlH':'_beforeAll','rehSF':'_afterAll','jAsHN':_0x3c7b2a(0x1bf)};if(!_0x53d0ff||!_0x53d0ff[_0x3c7b2a(0x1cb)])return;[_0x40231e['PzOlH'],_0x40231e[_0x3c7b2a(0x1c7)],_0x40231e[_0x3c7b2a(0x1dd)],_0x40231e[_0x3c7b2a(0x1da)]]['forEach'](_0x5dd76d=>{const _0x25aecd=_0x3c7b2a,_0x2ab620=_0x53d0ff[_0x25aecd(0x1cb)][_0x5dd76d]||[];_0x2ab620['forEach'](_0x578c20=>{const _0x5e5720=_0x25aecd;if(!_0x578c20[_0x5e5720(0x1c5)])_0x578c20['hookAnalyticsId']=_0x40231e[_0x5e5720(0x1f9)](uuidv4);else _0x578c20[_0x5e5720(0x1eb)]&&_0x40231e[_0x5e5720(0x1c6)](_0x5dd76d,_0x40231e[_0x5e5720(0x1da)])&&(_0x578c20[_0x5e5720(0x1c5)]=_0x40231e[_0x5e5720(0x1f9)](uuidv4),delete _0x578c20[_0x5e5720(0x1eb)]);});}),exports['mapTestHooks'](_0x53d0ff[_0x3c7b2a(0x1cb)]);},exports[a35_0x234caa(0x1d1)]=async(_0x4f6415,_0xf754cb)=>{const _0x5a5025=a35_0x234caa,_0x5ae428={'ijAhv':function(_0x4d55e9){return _0x4d55e9();},'ouLXJ':function(_0x19d02e,_0x517d5c){return _0x19d02e(_0x517d5c);},'NFFNx':'platformVersion','MznhG':function(_0x337738,_0x3f1369){return _0x337738(_0x3f1369);},'jeMYF':function(_0x45e7b9,_0x142300){return _0x45e7b9===_0x142300;},'aoAyb':_0x5a5025(0x1f5),'WXhwq':_0x5a5025(0x1f7),'immRp':_0x5a5025(0x1e6)};try{if(!_0x5ae428['ijAhv'](shouldProcessEventForTesthub))return;const _0x534fae=await _0x4f6415[_0x5a5025(0x1c3)](),_0x1e44ec=await _0x4f6415[_0x5a5025(0x1ce)](),_0x2a0c01={},_0x5e15c5=Object['fromEntries'](_0x1e44ec[_0x5a5025(0x1c3)]()['map_']),_0x350b68={'product':_0x5ae428[_0x5a5025(0x1c0)](getObservabilityLinkedProductName,_0x5e15c5),'capabilities':_0x5e15c5,'platform':_0x534fae[_0x5a5025(0x200)](),'platform_version':_0x534fae[_0x5a5025(0x1e1)](_0x5ae428[_0x5a5025(0x1d9)])?_0x534fae['get'](_0x5ae428[_0x5a5025(0x1d9)]):_0x5ae428['MznhG'](getPlatformVersion,_0x5ae428[_0x5a5025(0x1d7)](global[_0x5a5025(0x1f8)],_0x5ae428[_0x5a5025(0x1b5)])),'browser':_0x534fae[_0x5a5025(0x1d8)](),'browser_version':_0x534fae['getBrowserVersion'](),'session_id':_0x1e44ec[_0x5a5025(0x1ff)]()};global[_0x5a5025(0x1f8)]?_0x2a0c01[global[_0x5a5025(0x1f8)]]=_0x350b68:_0x2a0c01[_0x5ae428[_0x5a5025(0x1fb)]]=_0x350b68,process[_0x5a5025(0x1b4)](_0x5a5025(0x1de)+process[_0x5a5025(0x1cc)],{'timestamp':new Date()[_0x5a5025(0x1c4)](),'level':null,'message':null,'kind':_0x5ae428[_0x5a5025(0x1e3)],'http_response':_0x2a0c01,'uuid':_0xf754cb});}catch(_0x15b227){_0x5ae428[_0x5a5025(0x1e0)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x15b227);}},exports[a35_0x234caa(0x1ec)]=_0x347900=>{const _0x242717=a35_0x234caa,_0x53b93e={};_0x53b93e[_0x242717(0x1b7)]=function(_0x3509d9,_0x224a7a){return _0x3509d9!==_0x224a7a;},_0x53b93e['hJRWr']=_0x242717(0x1e9),_0x53b93e[_0x242717(0x1bc)]=_0x242717(0x1d5),_0x53b93e[_0x242717(0x1e4)]=_0x242717(0x1ca);const _0x365d69=_0x53b93e,_0x499a33=_0x347900['suites']['reduce']((_0x182431,_0x1a3b13)=>{const _0x3571ca=exports['getHookSkippedTests'](_0x1a3b13);return _0x3571ca&&(_0x182431=_0x182431['concat'](_0x3571ca)),_0x182431;},[]),_0x28f28f=_0x347900['tests']['filter'](_0x26bb9c=>{const _0x40ce6b=_0x242717,_0x1c7a85=_0x365d69[_0x40ce6b(0x1b7)](_0x26bb9c[_0x40ce6b(0x1c8)],_0x365d69['hJRWr'])&&!_0x26bb9c['markedStatus']&&_0x365d69['qoRvi'](_0x26bb9c[_0x40ce6b(0x1ed)],_0x365d69[_0x40ce6b(0x1bc)])&&_0x365d69[_0x40ce6b(0x1b7)](_0x26bb9c[_0x40ce6b(0x1ed)],_0x365d69['hDZGC'])&&!_0x26bb9c[_0x40ce6b(0x1b9)];return _0x1c7a85;});return _0x28f28f[_0x242717(0x1e8)](_0x499a33);};
1
+ const a35_0x4c2b04=a35_0x2582;function a35_0x2582(_0x4f9500,_0x15daa3){const _0x3fe9f2=a35_0x3fe9();return a35_0x2582=function(_0x2582cb,_0x1e8e4c){_0x2582cb=_0x2582cb-0x1a8;let _0x4d8fc8=_0x3fe9f2[_0x2582cb];return _0x4d8fc8;},a35_0x2582(_0x4f9500,_0x15daa3);}(function(_0x1db005,_0x561ee3){const _0x14473f=a35_0x2582,_0x15be15=_0x1db005();while(!![]){try{const _0x58ee24=-parseInt(_0x14473f(0x1d7))/0x1*(parseInt(_0x14473f(0x1bd))/0x2)+-parseInt(_0x14473f(0x1f3))/0x3*(parseInt(_0x14473f(0x1c6))/0x4)+parseInt(_0x14473f(0x1e2))/0x5+-parseInt(_0x14473f(0x1d4))/0x6+-parseInt(_0x14473f(0x1e3))/0x7*(parseInt(_0x14473f(0x1f9))/0x8)+parseInt(_0x14473f(0x1bf))/0x9+parseInt(_0x14473f(0x1dc))/0xa;if(_0x58ee24===_0x561ee3)break;else _0x15be15['push'](_0x15be15['shift']());}catch(_0x990ce0){_0x15be15['push'](_0x15be15['shift']());}}}(a35_0x3fe9,0xcb251));const {v4:uuidv4}=require(a35_0x4c2b04(0x1ec)),{name,version}=require(a35_0x4c2b04(0x1b2)),logPatcher=require(a35_0x4c2b04(0x1cd)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a35_0x4c2b04(0x1e7)),{consoleHolder}=require(a35_0x4c2b04(0x1ca)),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require(a35_0x4c2b04(0x1eb)),{isFunction}=require(a35_0x4c2b04(0x1e9)),{patchConsoleLogger}=require(a35_0x4c2b04(0x1e7));function a35_0x3fe9(){const _0x3c11d6=['state','platformVersion','emit','853505flUlvO','46606sScCDH','leDoP','slcAB','getCapabilities','../../../helpers/test-observability/utils','tQBUy','lodash','sGOHY','../../../helpers/testhub/utils','uuid','__cloud_provider___','lJHKq','zThck','getHookSkippedTests','erfYT','mapTestHooks','3tDkSCl','parent','KFMLA','_afterAll','AUFTT','hook','1480zfeClH','indexOf','hookAnalyticsId','xqBVy','UmIUh','push','pid','hook:','getHooksForTest','markedStatus','slice','../../../../package.json','_beforeAll','whysx','SavTx','passed','DZrlx','getBrowserName','_afterEach','filter','string','substring','252294KdCPvL','getPlatform','617436KxlAMC','KkPqk','map_','forEach','tOvNz','bs:addPlatformDetails:','TEST_PLATFORM','5353996rkJbrI','ErMUZ','split','LZySZ','../../../helpers/test-observability/constants','HsRZl','DQRpn','../../utils/logPatcher','pending','sUOVI','reduce','getTestEnv','concat','CesdU','8883468OiIynz','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','NkaaS','2hXDOml','IpEOj','type','dxsMg','_beforeEach','48958770epkYTI','failed','toJSON'];a35_0x3fe9=function(){return _0x3c11d6;};return a35_0x3fe9();}patchConsoleLogger(),exports[a35_0x4c2b04(0x1d1)]=()=>{const _0x27446f=a35_0x4c2b04,_0x51f469={'JYkDX':'generic','zThck':function(_0x1d5cb0){return _0x1d5cb0();}};return{'ci':_0x51f469['JYkDX'],'key':_0x51f469[_0x27446f(0x1ef)](uuidv4),'version':version,'collector':'js-'+name};},exports['getHookDetails']=_0x1d9777=>{const _0x48abfb=a35_0x4c2b04,_0x3f2828={};_0x3f2828['IpEOj']=function(_0x4c6de0,_0x4c55ee){return _0x4c6de0!==_0x4c55ee;},_0x3f2828[_0x48abfb(0x1f7)]=_0x48abfb(0x1bb),_0x3f2828['slcAB']=function(_0x23acf2,_0x1916c0){return _0x23acf2!==_0x1916c0;},_0x3f2828['ErMUZ']=_0x48abfb(0x1ae),_0x3f2828[_0x48abfb(0x1c0)]=_0x48abfb(0x1f8);const _0x59a184=_0x3f2828;if(!_0x1d9777||_0x59a184['IpEOj'](typeof _0x1d9777,_0x59a184[_0x48abfb(0x1f7)]))return[null,null];if(_0x59a184[_0x48abfb(0x1e5)](_0x1d9777['indexOf'](_0x59a184['ErMUZ']),-0x1)){const _0x43c255=_0x1d9777[_0x48abfb(0x1c8)](_0x59a184[_0x48abfb(0x1c7)]);return[_0x43c255[0x0][_0x48abfb(0x1b1)](0x0,-0x1)[_0x48abfb(0x1c8)]('\x22')[0x1],_0x43c255[0x1][_0x48abfb(0x1bc)](0x1)];}else{if(_0x59a184[_0x48abfb(0x1d8)](_0x1d9777[_0x48abfb(0x1a8)](_0x59a184['KkPqk']),-0x1)){const _0x4a8ca3=_0x1d9777[_0x48abfb(0x1c8)](_0x59a184[_0x48abfb(0x1c0)]);return[_0x4a8ca3[0x0]['slice'](0x0,-0x1)[_0x48abfb(0x1c8)]('\x22')[0x1],_0x1d9777];}}return[null,null];},exports[a35_0x4c2b04(0x1af)]=_0x4fb4a4=>{const _0x59ca0f=a35_0x4c2b04,_0x4b2369={'sGOHY':function(_0x306983,_0xd5a711){return _0x306983(_0xd5a711);},'KFMLA':_0x59ca0f(0x1b3),'fNCTO':'_afterAll','DZrlx':_0x59ca0f(0x1db),'tOvNz':_0x59ca0f(0x1b9)};if(!_0x4fb4a4||!_0x4fb4a4[_0x59ca0f(0x1f4)])return[];const _0x3639de=[];return[_0x4b2369[_0x59ca0f(0x1f5)],_0x4b2369['fNCTO'],_0x4b2369[_0x59ca0f(0x1b7)],_0x4b2369[_0x59ca0f(0x1c3)]][_0x59ca0f(0x1c2)](_0x424b60=>{const _0x4d5b63=_0x59ca0f,_0x3b01e8={'FcrwY':function(_0x2682e2,_0x274514){const _0x968ce5=a35_0x2582;return _0x4b2369[_0x968ce5(0x1ea)](_0x2682e2,_0x274514);}},_0x1427f4=_0x4fb4a4[_0x4d5b63(0x1f4)][_0x424b60]||[];_0x1427f4['forEach'](_0x1f5248=>{const _0x14a0a0=_0x4d5b63;_0x1f5248[_0x14a0a0(0x1a9)]&&!_0x3b01e8['FcrwY'](isInternalHook,_0x1f5248['fn'])&&_0x3639de[_0x14a0a0(0x1ac)](_0x1f5248[_0x14a0a0(0x1a9)]);});}),[..._0x3639de,...exports['getHooksForTest'](_0x4fb4a4['parent'])];},exports[a35_0x4c2b04(0x1f2)]=_0x19be9c=>{const _0x4bc1a8=a35_0x4c2b04,_0x434ea9={'HsRZl':function(_0x4e8cfe){return _0x4e8cfe();},'DQRpn':function(_0x2e5029,_0x42fb9a){return _0x2e5029===_0x42fb9a;},'erfYT':'_afterEach','tQBUy':_0x4bc1a8(0x1b3),'leDoP':_0x4bc1a8(0x1f6),'UmIUh':_0x4bc1a8(0x1db)};if(!_0x19be9c||!_0x19be9c[_0x4bc1a8(0x1f4)])return;[_0x434ea9[_0x4bc1a8(0x1e8)],_0x434ea9[_0x4bc1a8(0x1e4)],_0x434ea9[_0x4bc1a8(0x1ab)],_0x434ea9[_0x4bc1a8(0x1f1)]]['forEach'](_0x4f7dd5=>{const _0x599415=_0x4bc1a8,_0x34a953=_0x19be9c[_0x599415(0x1f4)][_0x4f7dd5]||[];_0x34a953[_0x599415(0x1c2)](_0x39457c=>{const _0x27d57f=_0x599415;if(!_0x39457c[_0x27d57f(0x1a9)])_0x39457c[_0x27d57f(0x1a9)]=_0x434ea9[_0x27d57f(0x1cb)](uuidv4);else _0x39457c['markedStatus']&&_0x434ea9[_0x27d57f(0x1cc)](_0x4f7dd5,_0x434ea9[_0x27d57f(0x1f1)])&&(_0x39457c[_0x27d57f(0x1a9)]=_0x434ea9['HsRZl'](uuidv4),delete _0x39457c[_0x27d57f(0x1b0)]);});}),exports['mapTestHooks'](_0x19be9c[_0x4bc1a8(0x1f4)]);},exports['sendPlatformDetails']=async(_0x4af782,_0x173cf4)=>{const _0xe2780a=a35_0x4c2b04,_0x5a7e40={'DgVee':function(_0x3d86b3){return _0x3d86b3();},'CesdU':function(_0x537bda,_0x3f3cad){return _0x537bda(_0x3f3cad);},'lJHKq':_0xe2780a(0x1e0),'whysx':function(_0x3c3e2f,_0x11c664){return _0x3c3e2f(_0x11c664);},'NkaaS':function(_0x577bec,_0x1aeebf){return _0x577bec===_0x1aeebf;},'dxsMg':'browserstack','OZsLK':'unknown_grid','oqcWf':_0xe2780a(0x1c5)};try{if(!_0x5a7e40['DgVee'](shouldProcessEventForTesthub))return;const _0x503c6e=await _0x4af782[_0xe2780a(0x1e6)](),_0x3aa705=await _0x4af782['getSession'](),_0x59040c={},_0x30b565=Object['fromEntries'](_0x3aa705[_0xe2780a(0x1e6)]()[_0xe2780a(0x1c1)]),_0x4ebc29={'product':_0x5a7e40[_0xe2780a(0x1d3)](getObservabilityLinkedProductName,_0x30b565),'capabilities':_0x30b565,'platform':_0x503c6e[_0xe2780a(0x1be)](),'platform_version':_0x503c6e['get'](_0x5a7e40[_0xe2780a(0x1ee)])?_0x503c6e['get'](_0x5a7e40['lJHKq']):_0x5a7e40['whysx'](getPlatformVersion,_0x5a7e40[_0xe2780a(0x1d6)](global[_0xe2780a(0x1ed)],_0x5a7e40[_0xe2780a(0x1da)])),'browser':_0x503c6e[_0xe2780a(0x1b8)](),'browser_version':_0x503c6e['getBrowserVersion'](),'session_id':_0x3aa705[_0xe2780a(0x1de)]()};global[_0xe2780a(0x1ed)]?_0x59040c[global[_0xe2780a(0x1ed)]]=_0x4ebc29:_0x59040c[_0x5a7e40['OZsLK']]=_0x4ebc29,process[_0xe2780a(0x1e1)](_0xe2780a(0x1c4)+process[_0xe2780a(0x1ad)],{'timestamp':new Date()['toISOString'](),'level':null,'message':null,'kind':_0x5a7e40['oqcWf'],'http_response':_0x59040c,'uuid':_0x173cf4});}catch(_0x136879){_0x5a7e40[_0xe2780a(0x1b4)](debug,_0xe2780a(0x1d5)+_0x136879);}},exports[a35_0x4c2b04(0x1f0)]=_0x433f92=>{const _0x590c3b=a35_0x4c2b04,_0x441c5a={};_0x441c5a[_0x590c3b(0x1cf)]=function(_0x32c486,_0xeaf3a0){return _0x32c486!==_0xeaf3a0;},_0x441c5a[_0x590c3b(0x1b5)]='hook',_0x441c5a['xqBVy']=_0x590c3b(0x1b6),_0x441c5a[_0x590c3b(0x1c9)]=_0x590c3b(0x1dd);const _0x580d8e=_0x441c5a,_0x2e0b22=_0x433f92['suites'][_0x590c3b(0x1d0)]((_0x391e3a,_0x548652)=>{const _0x1e10f9=_0x590c3b,_0x542c3f=exports[_0x1e10f9(0x1f0)](_0x548652);return _0x542c3f&&(_0x391e3a=_0x391e3a[_0x1e10f9(0x1d2)](_0x542c3f)),_0x391e3a;},[]),_0x1beec2=_0x433f92['tests'][_0x590c3b(0x1ba)](_0x3ca5a5=>{const _0x238b2f=_0x590c3b,_0x5ce0fa=_0x580d8e[_0x238b2f(0x1cf)](_0x3ca5a5[_0x238b2f(0x1d9)],_0x580d8e['SavTx'])&&!_0x3ca5a5[_0x238b2f(0x1b0)]&&_0x580d8e['sUOVI'](_0x3ca5a5[_0x238b2f(0x1df)],_0x580d8e[_0x238b2f(0x1aa)])&&_0x580d8e['sUOVI'](_0x3ca5a5[_0x238b2f(0x1df)],_0x580d8e[_0x238b2f(0x1c9)])&&!_0x3ca5a5[_0x238b2f(0x1ce)];return _0x5ce0fa;});return _0x1beec2[_0x590c3b(0x1d2)](_0x2e0b22);};
@@ -1 +1 @@
1
- function a36_0x429e(){const _0x4acc02=['2347766VoQokB','end','YFSle','afterAll','vycRV','BROWSERSTACK_TESTHUB_JWT','SESSION_STATUS','warn','yUJmU','fyKMD','shouldScanTestForAccessibility','Pswhl','38085vsdkBL','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','abIcC','VXkYA','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','gIyJa','tjDHj','SYNC','executeScript','588806cnUhBy','afterTest','mochaHooks','HhNfJ','message','err','bstackA11yShouldScan','cFtji','browserstackSessionName','CHHPx','Failed\x20to\x20store\x20session\x20name:\x20','stringify','4996UBqukR','timeout','performScanWithRetry','../../helpers/performance/constants','COBko','zsnKL','RhcFh','../../helpers/testhub/utils','Automate\x20test\x20case\x20execution\x20has\x20started.','../utils/constants','Mocha','../../helpers/accessibility-automation/helper','Accessibility\x20scan\x20completed\x20successfully','pkjnA','error','__skipSessionName','pGLIw','\x20|\x20','driverCleanup','then',',\x22level\x22:\x20\x22','38816DCAAAR','Passed','browserstackTestName','protocol','JeLMN','thJwtToken','capabilities','ALaRy','../../helpers/globals','isArray','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','hQfBt','failed','11uXwbWm','FSgMC','\x20-\x20','Accessibility\x20results\x20saved\x20successfully','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','currentTest','qtaCx','fiCaK','GaZuj','testcase','__sessionFailed','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','passed','shift','beforeEach','__platformCaps','index','4874166rilXOi','EbXzA','cBzTj','ePgBJ','VYZpB','.\x20Error\x20:','env','__error_messages__','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','FTUXD','yvLgz','kFUED','TSnfG','sessionNameSet__','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','PERFORM_SCAN','length','1689TyVNWR','now','titlePath','format','LqxeW','uLaQu','oTytk','util','29834850JepfDp','MVeNY','fGoVR','../../helpers/performance/performance-tester','startMonitoring','daDKE','FDNid','NRnZU','measureWrapper','yHtyl','ObservabilitySync:','getGlobal','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','appium:app','AnhJi','afterEach','138WHFOQp','ExMUF','RgcWX','tsHIj','beforeAll','__drivers','accessibilityScanStarted','finally','thBuildUuid','debug','XGxFI','testAnalyticsId','./test-observability/mochaUtils','gdQBV','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','winstonLogger','qmgMq','noAbC','SDK_HOOK','uvvGJ','YonLT','833lDtTpx','sJMjT','Vxkmr','quitCount_','AyxFb','LjFgM','JddKQ','FWOVa','GZfmN','initQuit','join','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','info','session_','http:','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','state','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','isAccessibilityPlatform'];a36_0x429e=function(){return _0x4acc02;};return a36_0x429e();}const a36_0x48837e=a36_0x2a60;(function(_0x53648e,_0x24f2da){const _0x166012=a36_0x2a60,_0x1ad0b8=_0x53648e();while(!![]){try{const _0x1bdc4f=-parseInt(_0x166012(0x112))/0x1+-parseInt(_0x166012(0xfd))/0x2+-parseInt(_0x166012(0x162))/0x3*(-parseInt(_0x166012(0x11e))/0x4)+-parseInt(_0x166012(0x109))/0x5*(parseInt(_0x166012(0x17a))/0x6)+-parseInt(_0x166012(0xea))/0x7*(parseInt(_0x166012(0x133))/0x8)+-parseInt(_0x166012(0x151))/0x9+parseInt(_0x166012(0x16a))/0xa*(parseInt(_0x166012(0x140))/0xb);if(_0x1bdc4f===_0x24f2da)break;else _0x1ad0b8['push'](_0x1ad0b8['shift']());}catch(_0x1e15ce){_0x1ad0b8['push'](_0x1ad0b8['shift']());}}}(a36_0x429e,0x99c46));const util=require(a36_0x48837e(0x169)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x48837e(0x129)),accessibilityRetryHelper=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x48837e(0x127)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a36_0x48837e(0xe1)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a36_0x48837e(0x16d)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x48837e(0x121)),globals=require(a36_0x48837e(0x13b)),logger=require('../../helpers/logger')[a36_0x48837e(0xe4)],{shouldProcessEventForTesthub}=require(a36_0x48837e(0x125)),testHubConstants=require('../../helpers/testhub/constants');function a36_0x2a60(_0x5b3f76,_0x3eccb8){const _0x429e52=a36_0x429e();return a36_0x2a60=function(_0x2a6015,_0x5bace5){_0x2a6015=_0x2a6015-0xdb;let _0x1c1ff4=_0x429e52[_0x2a6015];return _0x1c1ff4;},a36_0x2a60(_0x5b3f76,_0x3eccb8);}exports[a36_0x48837e(0x114)]={'beforeAll'(){const _0x17e629=a36_0x48837e,_0x5532e1={'LjFgM':function(_0x4a9ee3,_0x351781,_0x20cd3f,_0x31a4c2){return _0x4a9ee3(_0x351781,_0x20cd3f,_0x31a4c2);},'XGxFI':_0x17e629(0x13f),'abIcC':_0x17e629(0x12f),'tWCAy':function(_0x159a53,_0x4c3684,_0x592e68){return _0x159a53(_0x4c3684,_0x592e68);},'HhNfJ':_0x17e629(0x14c),'uvvGJ':function(_0x2211d5){return _0x2211d5();},'AnhJi':function(_0x45a674,_0x4a276,_0x5729f2){return _0x45a674(_0x4a276,_0x5729f2);},'sJpXm':function(_0x23960d,_0x2e7973,_0x347ba3){return _0x23960d(_0x2e7973,_0x347ba3);},'sJMjT':_0x17e629(0x150),'FWOVa':_0x17e629(0x17e)};PerformanceTester[_0x17e629(0x16e)]();const _0x383a43='browserstack internal helper hook';PerformanceTester[_0x17e629(0x172)](PerformanceSdkEvents[_0x17e629(0xe7)],()=>{global['__error_messages__']=[],global['__sessionFailed']=![],global['driverCleanup']=async()=>{const _0x10c8a6=a36_0x2a60;let _0x49f6d8=![];try{await global[_0x10c8a6(0x17f)][0x0][_0x10c8a6(0xf7)],_0x49f6d8=!![],global['__sessionFailed']?await _0x5532e1[_0x10c8a6(0xef)](markSessionStatus,global['__drivers'][0x0],_0x5532e1[_0x10c8a6(0xdf)],global[_0x10c8a6(0x158)][_0x10c8a6(0xf4)](_0x5532e1[_0x10c8a6(0x10b)])):await _0x5532e1['tWCAy'](markSessionStatus,global[_0x10c8a6(0x17f)][0x0],_0x5532e1[_0x10c8a6(0x115)]);}catch(_0x3261a6){logger[_0x10c8a6(0xde)](_0x10c8a6(0xf9)+_0x3261a6);}global[_0x10c8a6(0x158)]=[],global[_0x10c8a6(0x14a)]=![];if(_0x49f6d8)try{try{_0x5532e1[_0x10c8a6(0xe8)](shouldProcessEventForTesthub)&&(global[_0x10c8a6(0x17f)][0x0]&&await _0x5532e1[_0x10c8a6(0x178)](sendPlatformDetails,global[_0x10c8a6(0x17f)][0x0],this[_0x10c8a6(0x145)]?this['currentTest']['testAnalyticsId']:null));}catch(_0x21859b){logger[_0x10c8a6(0xde)](_0x10c8a6(0x144)+_0x21859b);}await global[_0x10c8a6(0x17f)][0x0][_0x10c8a6(0xf3)]();}catch(_0x38a326){logger[_0x10c8a6(0xde)](_0x10c8a6(0xf5)+_0x38a326);}};},{'platform':_0x5532e1['sJpXm'](nestedKeyValue,global[_0x17e629(0x14f)],[_0x5532e1[_0x17e629(0xeb)]]),'hookType':_0x5532e1[_0x17e629(0xf1)]})();},'beforeEach'(_0x16b35a){const _0x42ba4f=a36_0x48837e,_0xb8e3c2={'hQfBt':function(_0x2120a8,_0x1751df){return _0x2120a8>_0x1751df;},'daDKE':_0x42ba4f(0x142),'ZnlbB':function(_0x350c23,_0x787231,_0x4dbd60){return _0x350c23(_0x787231,_0x4dbd60);},'LIZsX':'bstackA11yShouldScan','kFUED':function(_0xca6770){return _0xca6770();},'TOffE':_0x42ba4f(0xfc),'GaZuj':function(_0x456f3e,_0xf92199){return _0x456f3e===_0xf92199;},'qtaCx':_0x42ba4f(0xf8),'gdQBV':'https:','FSgMC':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','AyxFb':_0x42ba4f(0x126),'EbXzA':function(_0x1d85f2){return _0x1d85f2();},'zsnKL':_0x42ba4f(0x135),'LqxeW':'index','fyKMD':_0x42ba4f(0x14e)};globals['setGlobal'](_0xb8e3c2[_0x42ba4f(0x123)],this[_0x42ba4f(0x145)][_0x42ba4f(0x164)]()[_0x42ba4f(0xf4)](_0xb8e3c2[_0x42ba4f(0x16f)])),PerformanceTester[_0x42ba4f(0x172)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x52aa18=_0x42ba4f,_0x457a7d={'vycRV':function(_0x4ee88b){const _0x1f2b5d=a36_0x2a60;return _0xb8e3c2[_0x1f2b5d(0x152)](_0x4ee88b);}},_0x38f294='browserstack internal helper hook';new Promise(async _0x36be3e=>{const _0x28a7d6=a36_0x2a60;let _0x19fcd6=!![];try{_0xb8e3c2[_0x28a7d6(0x13e)](global['__drivers'][_0x28a7d6(0x161)],0x1)&&(await global[_0x28a7d6(0x130)](),global[_0x28a7d6(0x17f)][_0x28a7d6(0x14d)]()),_0xb8e3c2[_0x28a7d6(0x13e)](global['__drivers'][0x0][_0x28a7d6(0xed)],0x0)&&(_0x19fcd6=![],await global[_0x28a7d6(0x130)]());}catch(_0x348f86){logger[_0x28a7d6(0xde)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x348f86);}try{Array['isArray'](global[_0x28a7d6(0x17f)])&&global['__drivers'][0x0]&&(global[_0x28a7d6(0x17f)][0x0][_0x28a7d6(0x11a)]=this[_0x28a7d6(0x145)][_0x28a7d6(0x164)]()['join'](_0xb8e3c2[_0x28a7d6(0x16f)])),global[_0x28a7d6(0x11a)]=this[_0x28a7d6(0x145)][_0x28a7d6(0x164)]()['join'](_0xb8e3c2['daDKE']);}catch(_0x54501d){logger[_0x28a7d6(0xde)](_0x28a7d6(0x11c)+_0x54501d);}this[_0x28a7d6(0x145)][_0x28a7d6(0x107)]=_0xb8e3c2['ZnlbB'](shouldScanTestForAccessibility,this[_0x28a7d6(0x145)][_0x28a7d6(0x164)](),!![]),globals['setGlobal'](_0xb8e3c2['LIZsX'],this['currentTest'][_0x28a7d6(0x107)]),this[_0x28a7d6(0x145)]['accessibilityScanStarted']=!![];if(_0xb8e3c2['kFUED'](isAccessibilityAutomationSession)&&_0x19fcd6&&Array[_0x28a7d6(0x13c)](global['__drivers'])&&_0xb8e3c2['hQfBt'](global['__drivers']['length'],0x0)&&globals[_0x28a7d6(0x175)](_0xb8e3c2['TOffE']))try{const _0x499d28=await global[_0x28a7d6(0x17f)][0x0]['session_'];if(_0x499d28){let _0x47831b=!![];const _0x4e8cc8=await global[_0x28a7d6(0x17f)][0x0]['getCurrentUrl']();let _0x54663b;try{_0x54663b=new URL(_0x4e8cc8);}catch(_0x1e2e60){_0x47831b=![];}_0x47831b=_0xb8e3c2[_0x28a7d6(0x148)](_0x54663b[_0x28a7d6(0x136)],_0xb8e3c2[_0x28a7d6(0x146)])||_0xb8e3c2['GaZuj'](_0x54663b['protocol'],_0xb8e3c2[_0x28a7d6(0xe2)]),_0x47831b&&(this['currentTest'][_0x28a7d6(0x107)]&&logger[_0x28a7d6(0xf6)](_0xb8e3c2[_0x28a7d6(0x141)])),this[_0x28a7d6(0x145)][_0x28a7d6(0xdb)]=this['currentTest'][_0x28a7d6(0x107)],this[_0x28a7d6(0x145)]['shouldScanTestForAccessibility']&&logger[_0x28a7d6(0xf6)](_0xb8e3c2[_0x28a7d6(0xee)]);}}catch(_0x52600c){logger['error']('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x28a7d6(0x165)](_0x52600c));}_0xb8e3c2[_0x28a7d6(0x15c)](_0x36be3e);})[_0x52aa18(0x131)](()=>{const _0x538def=_0x52aa18;_0x457a7d[_0x538def(0x101)](_0x16b35a);});},{'platform':_0xb8e3c2['ZnlbB'](nestedKeyValue,global['__platformCaps'],[_0xb8e3c2[_0x42ba4f(0x166)]]),'hookType':_0xb8e3c2[_0x42ba4f(0x106)]})();},'afterEach'(_0x7e806e){const _0x5bfab1=a36_0x48837e,_0x699ae={'tsHIj':function(_0x237e02,_0x37e377){return _0x237e02>_0x37e377;},'JMVQD':function(_0x341751,_0x3ecde2){return _0x341751===_0x3ecde2;},'Vxkmr':_0x5bfab1(0x149),'JddKQ':function(_0x5ed1a9,_0x2bf4c0){return _0x5ed1a9>_0x2bf4c0;},'fLvsO':_0x5bfab1(0x177),'TSnfG':function(_0x3eb257,_0x3b5f02,_0x2e36bb,_0x1ad72e){return _0x3eb257(_0x3b5f02,_0x2e36bb,_0x1ad72e);},'yUJmU':'isAccessibilityPlatform','noAbC':_0x5bfab1(0x118),'RhcFh':_0x5bfab1(0x10a),'EZNNu':'Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','uLaQu':_0x5bfab1(0x113),'gIyJa':_0x5bfab1(0x12a),'itQJZ':'Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','PWwML':_0x5bfab1(0x143),'ALaRy':_0x5bfab1(0x13d),'pGLIw':_0x5bfab1(0x10d),'Pswhl':function(_0x1c2bef){return _0x1c2bef();},'fiCaK':function(_0xd97aba,_0x4ab1ab,_0x323f37){return _0xd97aba(_0x4ab1ab,_0x323f37);},'JeLMN':function(_0x5cd115){return _0x5cd115();},'ePgBJ':_0x5bfab1(0xde),'oTytk':function(_0x433089,_0x56ee12){return _0x433089>_0x56ee12;},'VXkYA':'\x20-\x20','COBko':function(_0x3f1f43,_0x197a8f){return _0x3f1f43!==_0x197a8f;},'FTUXD':_0x5bfab1(0x14c),'VYZpB':function(_0x4930db,_0x26b738,_0x1f959a){return _0x4930db(_0x26b738,_0x1f959a);},'MVeNY':function(_0x114514,_0x2d3d95){return _0x114514+_0x2d3d95;},'LBIVb':'Failed:\x20','NRnZU':_0x5bfab1(0x12c),'kVlKS':_0x5bfab1(0x134),'cBzTj':_0x5bfab1(0xf6),'fGoVR':_0x5bfab1(0x128),'zIfQC':function(_0xb9950,_0x313d8c,_0x58a8f3){return _0xb9950(_0x313d8c,_0x58a8f3);},'JRgCx':_0x5bfab1(0x150),'CHHPx':_0x5bfab1(0x179)},_0x401f76='browserstack internal helper hook';this[_0x5bfab1(0x11f)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x699ae[_0x5bfab1(0x16c)]]),global['sessionName']=this['currentTest'][_0x5bfab1(0x164)]()[_0x5bfab1(0xf4)](_0x699ae[_0x5bfab1(0x10c)]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x5bfab1(0xe7)],()=>{const _0x4fffb4=_0x5bfab1,_0x2996c8={'YFSle':_0x699ae['VXkYA'],'yHtyl':function(_0x110a31,_0x10962b){const _0x2c4aef=a36_0x2a60;return _0x699ae[_0x2c4aef(0x122)](_0x110a31,_0x10962b);},'GZfmN':_0x699ae[_0x4fffb4(0x15a)],'qmgMq':function(_0xc79c2c,_0x28bfaf,_0x26ca74){const _0x3aa797=_0x4fffb4;return _0x699ae[_0x3aa797(0x155)](_0xc79c2c,_0x28bfaf,_0x26ca74);},'tjDHj':function(_0x373b59,_0x11d085){const _0x7e71d8=_0x4fffb4;return _0x699ae[_0x7e71d8(0x16b)](_0x373b59,_0x11d085);},'dzNIK':_0x699ae['LBIVb'],'cFtji':_0x699ae[_0x4fffb4(0x171)],'wrbSD':_0x699ae['kVlKS'],'pJTrO':_0x699ae[_0x4fffb4(0x153)]},_0x21d58e=async(_0x4e01d2,_0x684443)=>{const _0x7c2cea=_0x4fffb4;await global['__drivers'][0x0]['executeScript'](_0x7c2cea(0xe3)+_0x4e01d2+_0x7c2cea(0x132)+_0x684443+'\x22}}');};new Promise(async _0x5b17c1=>{const _0x488a89=_0x4fffb4;try{_0x699ae[_0x488a89(0x17d)](global['__drivers'][_0x488a89(0x161)],0x1)&&(await global[_0x488a89(0x130)](),global['__drivers'][_0x488a89(0x14d)](),global['__error_messages__']=[],global[_0x488a89(0x14a)]=![]);try{if(global['percy']&&_0x699ae['JMVQD'](global['percyCaptureMode'],_0x699ae['Vxkmr'])&&global['__drivers'][0x0]){const _0x48e6a5=_0x699ae[_0x488a89(0xf0)](global[_0x488a89(0x139)][_0x488a89(0x161)],0x0)?!!global[_0x488a89(0x139)][0x0]['app']||!!global[_0x488a89(0x139)][0x0][_0x699ae['fLvsO']]:![],_0x43b305={};_0x43b305['app']=_0x48e6a5,await _0x699ae[_0x488a89(0x15d)](percyAutoCapture,global[_0x488a89(0x17f)][0x0],_0x699ae[_0x488a89(0xec)],_0x43b305);}}catch(_0x5a176b){logger['debug'](_0x488a89(0x14b)+_0x5a176b);}!global[_0x488a89(0x12d)]&&(await PerformanceTester[_0x488a89(0x172)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x17258b=_0x488a89;await global['__drivers'][0x0][_0x17258b(0x111)](_0x17258b(0xfb)+JSON['stringify'](this['currentTest'][_0x17258b(0x164)]()[_0x17258b(0xf4)](_0x2996c8[_0x17258b(0xff)]))+'}}');})(),global[_0x488a89(0x17f)][0x0][_0x488a89(0x15e)]=!![]),await PerformanceTester[_0x488a89(0x172)](PerformanceAutEvents[_0x488a89(0x103)],async()=>{const _0x35f5d6=_0x488a89,_0x28594c=_0x2996c8[_0x35f5d6(0x173)](this['currentTest'][_0x35f5d6(0xfa)],_0x2996c8[_0x35f5d6(0xf2)]);_0x28594c?(global['__sessionFailed']=!![],global[_0x35f5d6(0x158)]['push'](this[_0x35f5d6(0x145)][_0x35f5d6(0x117)][_0x35f5d6(0x116)]),await _0x2996c8[_0x35f5d6(0xe5)](_0x21d58e,JSON['stringify'](_0x2996c8[_0x35f5d6(0x10f)](_0x2996c8['dzNIK'],this[_0x35f5d6(0x145)][_0x35f5d6(0x117)][_0x35f5d6(0x116)])),_0x2996c8[_0x35f5d6(0x119)])):await _0x2996c8[_0x35f5d6(0xe5)](_0x21d58e,JSON['stringify'](_0x2996c8['wrbSD']),_0x2996c8['pJTrO']);})();}catch(_0xbfef0c){logger[_0x488a89(0xde)](_0x488a89(0x159)+_0xbfef0c);}try{if(this[_0x488a89(0x145)][_0x488a89(0xdb)]&&globals[_0x488a89(0x175)](_0x699ae[_0x488a89(0x105)])&&globals[_0x488a89(0x175)](_0x699ae[_0x488a89(0xe6)])){logger[_0x488a89(0xf6)](_0x699ae[_0x488a89(0x124)]);const _0xae97ba={};_0xae97ba['thTestRunUuid']=this[_0x488a89(0x145)][_0x488a89(0xe0)],_0xae97ba[_0x488a89(0xdd)]=process[_0x488a89(0x157)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']],_0xae97ba[_0x488a89(0x138)]=process[_0x488a89(0x157)][testHubConstants['ENV_VAR'][_0x488a89(0x102)]];const _0x43d171=_0xae97ba;logger['debug']('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x488a89(0x11d)](_0x43d171)),logger[_0x488a89(0xde)](_0x699ae['EZNNu']);const _0xcd4186={};_0xcd4186['command']=_0x699ae[_0x488a89(0x167)];const _0x3427c1=await PerformanceTester[_0x488a89(0x172)](PerformanceA11yEvents[_0x488a89(0x160)],async()=>{const _0x52434e=_0x488a89;return await accessibilityRetryHelper[_0x52434e(0x120)](global[_0x52434e(0x17f)][0x0],global[_0x52434e(0x11a)]);},_0xcd4186)();_0x3427c1?logger[_0x488a89(0xde)](_0x699ae[_0x488a89(0x10e)]):logger['warn'](_0x699ae['itQJZ']);const _0x434cf8=await PerformanceTester[_0x488a89(0x172)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x200792=_0x488a89;return await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global[_0x200792(0x17f)][0x0],_0x43d171);})();_0x434cf8?logger[_0x488a89(0xde)](_0x699ae['PWwML']):logger[_0x488a89(0x104)](_0x699ae[_0x488a89(0x13a)]),logger[_0x488a89(0xf6)](_0x699ae[_0x488a89(0x12e)]);}}catch(_0x3315fd){logger[_0x488a89(0x12c)](_0x488a89(0x176)+this['currentTest'][_0x488a89(0x164)]()+_0x488a89(0x156),_0x3315fd);}try{try{if(_0x699ae[_0x488a89(0x108)](shouldProcessEventForTesthub)){global[_0x488a89(0x17f)][0x0]&&await _0x699ae[_0x488a89(0x147)](sendPlatformDetails,global[_0x488a89(0x17f)][0x0],this[_0x488a89(0x145)]?this[_0x488a89(0x145)]['testAnalyticsId']:null);if(_0x699ae[_0x488a89(0x137)](isBrowserstackInfra)){PerformanceTester['start'](PerformanceO11yEvents[_0x488a89(0x110)]);const _0x1c0bd8=_0x488a89(0x174)+Date[_0x488a89(0x163)]();await _0x699ae[_0x488a89(0x147)](_0x21d58e,JSON[_0x488a89(0x11d)](_0x1c0bd8),_0x699ae[_0x488a89(0x154)]),PerformanceTester[_0x488a89(0xfe)](PerformanceO11yEvents[_0x488a89(0x110)]);}}}catch(_0x53d005){logger[_0x488a89(0xde)](_0x488a89(0x15f)+_0x53d005),PerformanceTester[_0x488a89(0xfe)](PerformanceO11yEvents[_0x488a89(0x110)],![],_0x53d005);}_0x699ae[_0x488a89(0x168)](global[_0x488a89(0x17f)][0x0][_0x488a89(0xed)],0x0)&&await global[_0x488a89(0x130)]();}catch(_0x4baaea){logger[_0x488a89(0xde)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x4baaea);}_0x699ae['Pswhl'](_0x5b17c1);})['then'](()=>{_0x699ae['Pswhl'](_0x7e806e);});},{'platform':_0x699ae['zIfQC'](nestedKeyValue,global[_0x5bfab1(0x14f)],[_0x699ae['JRgCx']]),'hookType':_0x699ae[_0x5bfab1(0x11b)]})();},'afterAll'(_0x3dff29){const _0x3a1f94=a36_0x48837e,_0x31718f={'YonLT':function(_0x5bbe37){return _0x5bbe37();},'RgcWX':function(_0x1274d5){return _0x1274d5();},'yvLgz':_0x3a1f94(0x128),'pkjnA':function(_0x55e883,_0x37b4c8,_0x42f3d7){return _0x55e883(_0x37b4c8,_0x42f3d7);},'ExMUF':_0x3a1f94(0x150),'LegLD':_0x3a1f94(0x100)},_0x5d6d00='browserstack internal helper hook';this[_0x3a1f94(0x11f)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x31718f[_0x3a1f94(0x15b)]]),PerformanceTester[_0x3a1f94(0x172)](PerformanceSdkEvents[_0x3a1f94(0xe7)],()=>{const _0x3f2bc0=_0x3a1f94,_0x3d0c04={'FDNid':function(_0x2cc766){const _0x558272=a36_0x2a60;return _0x31718f[_0x558272(0x17c)](_0x2cc766);}};new Promise(async _0x1ab513=>{const _0x5a0b22=a36_0x2a60;await global[_0x5a0b22(0x130)](),_0x31718f[_0x5a0b22(0xe9)](_0x1ab513);})['then']()[_0x3f2bc0(0xdc)](()=>{const _0x5253e0=_0x3f2bc0;_0x3d0c04[_0x5253e0(0x170)](_0x3dff29);});},{'platform':_0x31718f[_0x3a1f94(0x12b)](nestedKeyValue,global[_0x3a1f94(0x14f)],[_0x31718f[_0x3a1f94(0x17b)]]),'hookType':_0x31718f['LegLD']})();}};
1
+ function a36_0x2572(_0x2dba10,_0x4bad48){const _0x38c3cf=a36_0x38c3();return a36_0x2572=function(_0x257256,_0x3f965a){_0x257256=_0x257256-0x1a8;let _0x45d70=_0x38c3cf[_0x257256];return _0x45d70;},a36_0x2572(_0x2dba10,_0x4bad48);}const a36_0x3e9656=a36_0x2572;function a36_0x38c3(){const _0x1513a0=['qYdtM','state','XwWoy','afterTest','bstackA11yShouldScan','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','beforeEach','initQuit','woYXp','4207175YJZpok','info','winstonLogger','VsreS','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','command','qIALd','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','UCSLa','Passed','PcnjO','percy','yHhjz','uhhwD','.\x20Error\x20:','beforeAll','Utwpk','yOYqN','WTvll','AITIn','4770840nEXJDx','dWqJb','Failed\x20to\x20store\x20session\x20name:\x20','../../helpers/accessibility-automation/accessibilityRetryHelper','measureWrapper','jHtvD','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','failed','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','GfAnF','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','setGlobal','HnASf','TDRXe','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','32737440DVuyuZ','wijJW','cMKxi','../../helpers/performance/performance-tester','accessibilityScanStarted','afterAll','thTestRunUuid','nmPbK','Ahdpw','jlbGz','testcase','browserstackSessionName','jUrsa','pEokH','jnNSK','isAccessibilityPlatform','afterEach','amVYk','ENV_VAR','loQrR','getGlobal','\x22}}','index','DAvCM','../../helpers/globals','fTIPA','sessionName','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','error','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','quitCount_','./test-observability/mochaUtils','rXZDh','ibltn','\x20|\x20','saveAccessibilityResultsWithRetry','startMonitoring','push','Dmknw','../../helpers/performance/constants','https:','VAzLB','OFvvN','length','138743jndaUp','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','9WkvMGe','../../helpers/logger','stringify','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','thJwtToken','NbBub','passed','percyCaptureMode','debug','Accessibility\x20scan\x20completed\x20successfully','env',',\x22level\x22:\x20\x22','mochaHooks','SIXLp','__skipSessionName','UCElh','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','Zjmmt','titlePath','driverCleanup','2431248iTfjqW','protocol','capabilities','JOyZV','MULRK','rBdgV','BGMPd','../../helpers/testhub/constants','cafoB','ppQbE','4tPIUvm','moqZb','thBuildUuid','kdFpH','../../helpers/accessibility-automation/helper','xzHNE','IDMig','app','SYNC','executeScript','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','Mocha','__error_messages__','sGSpW','gTGWw','err','Automate\x20test\x20case\x20execution\x20has\x20started.','SAVE_RESULTS','../../helpers/helper','SESSION_STATUS','eqdtz','isArray','warn','join','48AViUgs','rcLHs','aWLsu','SESSION_NAME','util','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','ykerv','QUiZl','wUtqS','__drivers','../../helpers/percy/utils','message','Accessibility\x20results\x20saved\x20successfully','browserstackTestName','WWeJZ','shouldScanTestForAccessibility','__platformCaps','vDJtM','then','IEAgc','709275vfStPd','session_','nYkLv','hKnuZ','now','testAnalyticsId','USJIi','rRpmQ','\x20-\x20','fdksd','end','RJXyD','performScanWithRetry','__sessionFailed','currentTest','kHpSr','3054675goAhIq','shift','LXSKL','timeout','sIyeR','xtVTw','PERFORM_SCAN','XUyYs','SDK_HOOK','aaLCt'];a36_0x38c3=function(){return _0x1513a0;};return a36_0x38c3();}(function(_0x328ebc,_0x424b5f){const _0x8e4336=a36_0x2572,_0x417b08=_0x328ebc();while(!![]){try{const _0x3fdfdd=parseInt(_0x8e4336(0x238))/0x1*(parseInt(_0x8e4336(0x258))/0x2)+-parseInt(_0x8e4336(0x1d5))/0x3+-parseInt(_0x8e4336(0x24e))/0x4+parseInt(_0x8e4336(0x1c5))/0x5*(-parseInt(_0x8e4336(0x1b1))/0x6)+parseInt(_0x8e4336(0x1e8))/0x7+-parseInt(_0x8e4336(0x1fc))/0x8+parseInt(_0x8e4336(0x23a))/0x9*(parseInt(_0x8e4336(0x20b))/0xa);if(_0x3fdfdd===_0x424b5f)break;else _0x417b08['push'](_0x417b08['shift']());}catch(_0x38c19a){_0x417b08['push'](_0x417b08['shift']());}}}(a36_0x38c3,0xc218f));const util=require(a36_0x3e9656(0x1b5)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x3e9656(0x25c)),accessibilityRetryHelper=require(a36_0x3e9656(0x1ff)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require('../utils/constants'),{percyAutoCapture}=require(a36_0x3e9656(0x1bb)),{sendPlatformDetails}=require(a36_0x3e9656(0x22b)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x3e9656(0x1ab)),PerformanceTester=require(a36_0x3e9656(0x20e)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x3e9656(0x233)),globals=require(a36_0x3e9656(0x223)),logger=require(a36_0x3e9656(0x23b))[a36_0x3e9656(0x1ea)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a36_0x3e9656(0x255));exports[a36_0x3e9656(0x246)]={'beforeAll'(){const _0x13793c=a36_0x3e9656,_0x409cc4={'HnASf':function(_0x2cc25c,_0x594855,_0x36bbf5,_0x24909d){return _0x2cc25c(_0x594855,_0x36bbf5,_0x24909d);},'aaLCt':_0x13793c(0x203),'hKnuZ':_0x13793c(0x22e),'pEokH':function(_0x4dd68a,_0x2afd16,_0x1583c2){return _0x4dd68a(_0x2afd16,_0x1583c2);},'loQrR':_0x13793c(0x240),'XJDqW':function(_0x3d4ba9){return _0x3d4ba9();},'UCSLa':function(_0x5b6a3d,_0x3f5d36,_0x38faa1){return _0x5b6a3d(_0x3f5d36,_0x38faa1);},'kdFpH':function(_0x4bf744,_0xbc5616,_0x29b206){return _0x4bf744(_0xbc5616,_0x29b206);},'woYXp':_0x13793c(0x221),'jHtvD':_0x13793c(0x1f7)};PerformanceTester[_0x13793c(0x230)]();const _0x4fad3c='browserstack internal helper hook';PerformanceTester[_0x13793c(0x200)](PerformanceSdkEvents[_0x13793c(0x1dd)],()=>{const _0x24a32d=_0x13793c,_0x3c4b0d={'jlbGz':function(_0x219bc7,_0x4003fd,_0x331ef2,_0x5190c8){const _0x342502=a36_0x2572;return _0x409cc4[_0x342502(0x208)](_0x219bc7,_0x4003fd,_0x331ef2,_0x5190c8);},'Zjmmt':_0x409cc4[_0x24a32d(0x1de)],'USJIi':_0x409cc4[_0x24a32d(0x1c8)],'Ahdpw':function(_0x566cac,_0x5c5883,_0x289284){const _0x31ccbc=_0x24a32d;return _0x409cc4[_0x31ccbc(0x218)](_0x566cac,_0x5c5883,_0x289284);},'BGMPd':_0x409cc4[_0x24a32d(0x21e)],'QUiZl':function(_0x1a7a3a){return _0x409cc4['XJDqW'](_0x1a7a3a);},'DNYHE':function(_0x2b14ef,_0x17f95a,_0x3df1a1){const _0x145aeb=_0x24a32d;return _0x409cc4[_0x145aeb(0x1f0)](_0x2b14ef,_0x17f95a,_0x3df1a1);}};global['__error_messages__']=[],global[_0x24a32d(0x1d2)]=![],global[_0x24a32d(0x24d)]=async()=>{const _0xd5e75c=_0x24a32d;let _0x45ef53=![];try{await global[_0xd5e75c(0x1ba)][0x0]['session_'],_0x45ef53=!![],global[_0xd5e75c(0x1d2)]?await _0x3c4b0d[_0xd5e75c(0x214)](markSessionStatus,global[_0xd5e75c(0x1ba)][0x0],_0x3c4b0d[_0xd5e75c(0x24b)],global[_0xd5e75c(0x264)][_0xd5e75c(0x1b0)](_0x3c4b0d[_0xd5e75c(0x1cb)])):await _0x3c4b0d[_0xd5e75c(0x213)](markSessionStatus,global[_0xd5e75c(0x1ba)][0x0],_0x3c4b0d[_0xd5e75c(0x254)]);}catch(_0x227a77){logger[_0xd5e75c(0x242)](_0xd5e75c(0x262)+_0x227a77);}global['__error_messages__']=[],global[_0xd5e75c(0x1d2)]=![];if(_0x45ef53)try{try{_0x3c4b0d[_0xd5e75c(0x1b8)](shouldProcessEventForTesthub)&&(global[_0xd5e75c(0x1ba)][0x0]&&await _0x3c4b0d['DNYHE'](sendPlatformDetails,global[_0xd5e75c(0x1ba)][0x0],this[_0xd5e75c(0x1d3)]?this[_0xd5e75c(0x1d3)][_0xd5e75c(0x1ca)]:null));}catch(_0x55b3eb){logger[_0xd5e75c(0x242)](_0xd5e75c(0x23d)+_0x55b3eb);}await global[_0xd5e75c(0x1ba)][0x0][_0xd5e75c(0x1e6)]();}catch(_0x34d868){logger[_0xd5e75c(0x242)](_0xd5e75c(0x239)+_0x34d868);}};},{'platform':_0x409cc4[_0x13793c(0x25b)](nestedKeyValue,global[_0x13793c(0x1c1)],[_0x409cc4[_0x13793c(0x1e7)]]),'hookType':_0x409cc4[_0x13793c(0x201)]})();},'beforeEach'(_0x11a38e){const _0x3a16a3=a36_0x3e9656,_0x46ff51={'XwWoy':function(_0x2931e6,_0x4736b5){return _0x2931e6>_0x4736b5;},'VAzLB':function(_0x22c7cd,_0xa2b466){return _0x22c7cd>_0xa2b466;},'yHhjz':_0x3a16a3(0x1cd),'nYkLv':function(_0x2468ee,_0x319bfd,_0x58bad3){return _0x2468ee(_0x319bfd,_0x58bad3);},'IDMig':_0x3a16a3(0x1e3),'eqdtz':function(_0x1478c3){return _0x1478c3();},'nmPbK':_0x3a16a3(0x21a),'xwmgK':function(_0x4f597d,_0x4d3b76){return _0x4f597d===_0x4d3b76;},'rBdgV':'http:','xzHNE':function(_0x5c20e1,_0x61a91){return _0x5c20e1===_0x61a91;},'vDJtM':_0x3a16a3(0x234),'vAkTe':_0x3a16a3(0x226),'UCElh':_0x3a16a3(0x1a9),'JOyZV':_0x3a16a3(0x1be),'IEAgc':_0x3a16a3(0x221),'sGSpW':_0x3a16a3(0x1e5)};globals[_0x3a16a3(0x207)](_0x46ff51[_0x3a16a3(0x251)],this[_0x3a16a3(0x1d3)]['titlePath']()[_0x3a16a3(0x1b0)](_0x46ff51[_0x3a16a3(0x1f4)])),PerformanceTester[_0x3a16a3(0x200)](PerformanceSdkEvents[_0x3a16a3(0x1dd)],()=>{const _0x28f06e=_0x3a16a3,_0x56d9ed='browserstack internal helper hook';new Promise(async _0x546355=>{const _0x38452a=a36_0x2572;let _0x570e25=!![];try{_0x46ff51[_0x38452a(0x1e1)](global['__drivers'][_0x38452a(0x237)],0x1)&&(await global['driverCleanup'](),global['__drivers']['shift']()),_0x46ff51['VAzLB'](global['__drivers'][0x0][_0x38452a(0x22a)],0x0)&&(_0x570e25=![],await global[_0x38452a(0x24d)]());}catch(_0x32209d){logger[_0x38452a(0x242)](_0x38452a(0x239)+_0x32209d);}try{Array[_0x38452a(0x1ae)](global[_0x38452a(0x1ba)])&&global['__drivers'][0x0]&&(global[_0x38452a(0x1ba)][0x0][_0x38452a(0x216)]=this['currentTest'][_0x38452a(0x24c)]()['join'](_0x46ff51['yHhjz'])),global['browserstackSessionName']=this[_0x38452a(0x1d3)][_0x38452a(0x24c)]()['join'](_0x46ff51[_0x38452a(0x1f4)]);}catch(_0xdae989){logger[_0x38452a(0x242)](_0x38452a(0x1fe)+_0xdae989);}this[_0x38452a(0x1d3)][_0x38452a(0x1c0)]=_0x46ff51[_0x38452a(0x1c7)](shouldScanTestForAccessibility,this[_0x38452a(0x1d3)][_0x38452a(0x24c)](),!![]),globals['setGlobal'](_0x46ff51[_0x38452a(0x25e)],this[_0x38452a(0x1d3)][_0x38452a(0x1c0)]),this[_0x38452a(0x1d3)][_0x38452a(0x20f)]=!![];if(_0x46ff51[_0x38452a(0x1ad)](isAccessibilityAutomationSession)&&_0x570e25&&Array[_0x38452a(0x1ae)](global[_0x38452a(0x1ba)])&&_0x46ff51[_0x38452a(0x235)](global[_0x38452a(0x1ba)][_0x38452a(0x237)],0x0)&&globals['getGlobal'](_0x46ff51[_0x38452a(0x212)]))try{const _0x403e24=await global['__drivers'][0x0][_0x38452a(0x1c6)];if(_0x403e24){let _0x190433=!![];const _0x2077bb=await global[_0x38452a(0x1ba)][0x0]['getCurrentUrl']();let _0x46a835;try{_0x46a835=new URL(_0x2077bb);}catch(_0x5d060e){_0x190433=![];}_0x190433=_0x46ff51['xwmgK'](_0x46a835[_0x38452a(0x24f)],_0x46ff51[_0x38452a(0x253)])||_0x46ff51[_0x38452a(0x25d)](_0x46a835[_0x38452a(0x24f)],_0x46ff51[_0x38452a(0x1c2)]),_0x190433&&(this[_0x38452a(0x1d3)][_0x38452a(0x1c0)]&&logger[_0x38452a(0x1e9)](_0x46ff51['vAkTe'])),this[_0x38452a(0x1d3)][_0x38452a(0x20f)]=this[_0x38452a(0x1d3)][_0x38452a(0x1c0)],this[_0x38452a(0x1d3)][_0x38452a(0x1c0)]&&logger[_0x38452a(0x1e9)](_0x46ff51[_0x38452a(0x249)]);}}catch(_0xd5571f){logger[_0x38452a(0x227)](_0x38452a(0x1ec)+util['format'](_0xd5571f));}_0x46ff51[_0x38452a(0x1ad)](_0x546355);})[_0x28f06e(0x1c3)](()=>{const _0xcff0ba=_0x28f06e;_0x46ff51[_0xcff0ba(0x1ad)](_0x11a38e);});},{'platform':_0x46ff51[_0x3a16a3(0x1c7)](nestedKeyValue,global[_0x3a16a3(0x1c1)],[_0x46ff51[_0x3a16a3(0x1c4)]]),'hookType':_0x46ff51[_0x3a16a3(0x265)]})();},'afterEach'(_0x2d92e3){const _0x489f1a=a36_0x3e9656,_0x4bdb54={'fdksd':function(_0x53a108,_0x5ac065){return _0x53a108>_0x5ac065;},'qIALd':function(_0x26982c,_0x1d988a){return _0x26982c===_0x1d988a;},'XUyYs':_0x489f1a(0x215),'uhhwD':'appium:app','ibltn':function(_0xd9848d,_0x39cef7,_0x3b1350,_0xd3dad){return _0xd9848d(_0x39cef7,_0x3b1350,_0xd3dad);},'SIXLp':_0x489f1a(0x21a),'Utwpk':_0x489f1a(0x1e3),'TDRXe':_0x489f1a(0x228),'gTGWw':_0x489f1a(0x1b6),'DezYf':_0x489f1a(0x1e2),'cafoB':_0x489f1a(0x243),'WWeJZ':'Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','ZkMBq':_0x489f1a(0x1bd),'amVYk':_0x489f1a(0x1e4),'DAvCM':_0x489f1a(0x20a),'MULRK':function(_0x21691f){return _0x21691f();},'VsreS':function(_0x10f97f,_0x3bac9e,_0x49b41f){return _0x10f97f(_0x3bac9e,_0x49b41f);},'rRpmQ':function(_0x4a0fbc){return _0x4a0fbc();},'jUrsa':_0x489f1a(0x242),'aWLsu':function(_0x52fbec,_0x4bf468){return _0x52fbec>_0x4bf468;},'ppQbE':function(_0x48b559){return _0x48b559();},'BHlqK':function(_0x10a825){return _0x10a825();},'WTvll':_0x489f1a(0x1cd),'yOYqN':function(_0x44f888,_0x528fca){return _0x44f888!==_0x528fca;},'rcLHs':_0x489f1a(0x240),'LXSKL':function(_0x2fc51b,_0x34cac7){return _0x2fc51b+_0x34cac7;},'NhREt':'Failed:\x20','wUtqS':_0x489f1a(0x227),'NbBub':_0x489f1a(0x1f1),'xtVTw':_0x489f1a(0x1e9),'PcnjO':_0x489f1a(0x263),'rXZDh':function(_0x445659,_0x1f47b9,_0xa40bf4){return _0x445659(_0x1f47b9,_0xa40bf4);},'gsPGt':_0x489f1a(0x221),'RJXyD':_0x489f1a(0x21b)},_0x492787='browserstack internal helper hook';this[_0x489f1a(0x1d8)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x4bdb54[_0x489f1a(0x1f2)]]),global[_0x489f1a(0x225)]=this['currentTest'][_0x489f1a(0x24c)]()[_0x489f1a(0x1b0)](_0x4bdb54[_0x489f1a(0x1fa)]),PerformanceTester[_0x489f1a(0x200)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x4ee943=_0x489f1a,_0x92b347={'ykerv':_0x4bdb54[_0x4ee943(0x1fa)],'sIyeR':function(_0x428786,_0x1dc3d1){const _0x5607d0=_0x4ee943;return _0x4bdb54[_0x5607d0(0x1f9)](_0x428786,_0x1dc3d1);},'Dmknw':_0x4bdb54[_0x4ee943(0x1b2)],'AITIn':function(_0x52a588,_0x520a80,_0x209ecf){const _0x3e5dc8=_0x4ee943;return _0x4bdb54[_0x3e5dc8(0x1eb)](_0x52a588,_0x520a80,_0x209ecf);},'jnNSK':function(_0x46e828,_0x2dd243){const _0xc4a88e=_0x4ee943;return _0x4bdb54[_0xc4a88e(0x1d7)](_0x46e828,_0x2dd243);},'WDrmU':_0x4bdb54['NhREt'],'OFvvN':_0x4bdb54[_0x4ee943(0x1b9)],'dWqJb':_0x4bdb54[_0x4ee943(0x23f)],'cMKxi':_0x4bdb54[_0x4ee943(0x1da)]},_0x20115e=async(_0x171c06,_0x1c4b16)=>{const _0x119b86=_0x4ee943;await global['__drivers'][0x0][_0x119b86(0x261)](_0x119b86(0x204)+_0x171c06+_0x119b86(0x245)+_0x1c4b16+_0x119b86(0x220));};new Promise(async _0x28cdcf=>{const _0x51cccf=_0x4ee943;try{_0x4bdb54[_0x51cccf(0x1ce)](global[_0x51cccf(0x1ba)][_0x51cccf(0x237)],0x1)&&(await global[_0x51cccf(0x24d)](),global[_0x51cccf(0x1ba)][_0x51cccf(0x1d6)](),global['__error_messages__']=[],global[_0x51cccf(0x1d2)]=![]);try{if(global[_0x51cccf(0x1f3)]&&_0x4bdb54[_0x51cccf(0x1ee)](global[_0x51cccf(0x241)],_0x4bdb54[_0x51cccf(0x1dc)])&&global['__drivers'][0x0]){const _0x3ed49f=_0x4bdb54[_0x51cccf(0x1ce)](global['capabilities'][_0x51cccf(0x237)],0x0)?!!global[_0x51cccf(0x250)][0x0][_0x51cccf(0x25f)]||!!global[_0x51cccf(0x250)][0x0][_0x4bdb54[_0x51cccf(0x1f5)]]:![],_0x2c9b48={};_0x2c9b48[_0x51cccf(0x25f)]=_0x3ed49f,await _0x4bdb54[_0x51cccf(0x22d)](percyAutoCapture,global[_0x51cccf(0x1ba)][0x0],_0x4bdb54[_0x51cccf(0x1dc)],_0x2c9b48);}}catch(_0x235daa){logger['debug'](_0x51cccf(0x229)+_0x235daa);}!global[_0x51cccf(0x248)]&&(await PerformanceTester[_0x51cccf(0x200)](PerformanceAutEvents[_0x51cccf(0x1b4)],async()=>{const _0x17efd5=_0x51cccf;await global['__drivers'][0x0]['executeScript'](_0x17efd5(0x24a)+JSON[_0x17efd5(0x23c)](this[_0x17efd5(0x1d3)][_0x17efd5(0x24c)]()[_0x17efd5(0x1b0)](_0x92b347[_0x17efd5(0x1b7)]))+'}}');})(),global[_0x51cccf(0x1ba)][0x0]['sessionNameSet__']=!![]),await PerformanceTester[_0x51cccf(0x200)](PerformanceAutEvents[_0x51cccf(0x1ac)],async()=>{const _0x368ba3=_0x51cccf,_0x583986=_0x92b347[_0x368ba3(0x1d9)](this[_0x368ba3(0x1d3)][_0x368ba3(0x1e0)],_0x92b347[_0x368ba3(0x232)]);_0x583986?(global[_0x368ba3(0x1d2)]=!![],global['__error_messages__'][_0x368ba3(0x231)](this[_0x368ba3(0x1d3)]['err'][_0x368ba3(0x1bc)]),await _0x92b347[_0x368ba3(0x1fb)](_0x20115e,JSON['stringify'](_0x92b347[_0x368ba3(0x219)](_0x92b347['WDrmU'],this[_0x368ba3(0x1d3)][_0x368ba3(0x1a8)][_0x368ba3(0x1bc)])),_0x92b347[_0x368ba3(0x236)])):await _0x92b347['AITIn'](_0x20115e,JSON[_0x368ba3(0x23c)](_0x92b347[_0x368ba3(0x1fd)]),_0x92b347[_0x368ba3(0x20d)]);})();}catch(_0x478312){logger['debug'](_0x51cccf(0x206)+_0x478312);}try{if(this['currentTest'][_0x51cccf(0x20f)]&&globals[_0x51cccf(0x21f)](_0x4bdb54[_0x51cccf(0x247)])&&globals[_0x51cccf(0x21f)](_0x4bdb54[_0x51cccf(0x1f8)])){logger[_0x51cccf(0x1e9)](_0x4bdb54[_0x51cccf(0x209)]);const _0x75a6d0={};_0x75a6d0[_0x51cccf(0x211)]=this[_0x51cccf(0x1d3)][_0x51cccf(0x1ca)],_0x75a6d0[_0x51cccf(0x25a)]=process[_0x51cccf(0x244)][testHubConstants[_0x51cccf(0x21d)]['BROWSERSTACK_TESTHUB_UUID']],_0x75a6d0[_0x51cccf(0x23e)]=process[_0x51cccf(0x244)][testHubConstants[_0x51cccf(0x21d)]['BROWSERSTACK_TESTHUB_JWT']];const _0x23847d=_0x75a6d0;logger[_0x51cccf(0x242)](_0x51cccf(0x202)+JSON[_0x51cccf(0x23c)](_0x23847d)),logger[_0x51cccf(0x242)](_0x4bdb54[_0x51cccf(0x266)]);const _0x584924={};_0x584924[_0x51cccf(0x1ed)]=_0x4bdb54['DezYf'];const _0x5647c7=await PerformanceTester[_0x51cccf(0x200)](PerformanceA11yEvents[_0x51cccf(0x1db)],async()=>{const _0x42c906=_0x51cccf;return await accessibilityRetryHelper[_0x42c906(0x1d1)](global[_0x42c906(0x1ba)][0x0],global['browserstackSessionName']);},_0x584924)();_0x5647c7?logger['debug'](_0x4bdb54[_0x51cccf(0x256)]):logger[_0x51cccf(0x1af)](_0x4bdb54[_0x51cccf(0x1bf)]);const _0x166d73=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x51cccf(0x1aa)],async()=>{const _0x1678f8=_0x51cccf;return await accessibilityRetryHelper[_0x1678f8(0x22f)](global['__drivers'][0x0],_0x23847d);})();_0x166d73?logger['debug'](_0x4bdb54['ZkMBq']):logger[_0x51cccf(0x1af)](_0x4bdb54[_0x51cccf(0x21c)]),logger[_0x51cccf(0x1e9)](_0x4bdb54[_0x51cccf(0x222)]);}}catch(_0x2e0ebe){logger[_0x51cccf(0x227)](_0x51cccf(0x1ef)+this['currentTest']['titlePath']()+_0x51cccf(0x1f6),_0x2e0ebe);}try{try{if(_0x4bdb54[_0x51cccf(0x252)](shouldProcessEventForTesthub)){global[_0x51cccf(0x1ba)][0x0]&&await _0x4bdb54[_0x51cccf(0x1eb)](sendPlatformDetails,global['__drivers'][0x0],this[_0x51cccf(0x1d3)]?this[_0x51cccf(0x1d3)]['testAnalyticsId']:null);if(_0x4bdb54[_0x51cccf(0x1cc)](isBrowserstackInfra)){PerformanceTester['start'](PerformanceO11yEvents[_0x51cccf(0x260)]);const _0x6d0222='ObservabilitySync:'+Date[_0x51cccf(0x1c9)]();await _0x4bdb54[_0x51cccf(0x1eb)](_0x20115e,JSON['stringify'](_0x6d0222),_0x4bdb54[_0x51cccf(0x217)]),PerformanceTester[_0x51cccf(0x1cf)](PerformanceO11yEvents['SYNC']);}}}catch(_0x517629){logger['debug']('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x517629),PerformanceTester[_0x51cccf(0x1cf)](PerformanceO11yEvents[_0x51cccf(0x260)],![],_0x517629);}_0x4bdb54[_0x51cccf(0x1b3)](global[_0x51cccf(0x1ba)][0x0]['quitCount_'],0x0)&&await global[_0x51cccf(0x24d)]();}catch(_0x46b1a0){logger[_0x51cccf(0x242)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x46b1a0);}_0x4bdb54[_0x51cccf(0x257)](_0x28cdcf);})[_0x4ee943(0x1c3)](()=>{_0x4bdb54['BHlqK'](_0x2d92e3);});},{'platform':_0x4bdb54[_0x489f1a(0x22c)](nestedKeyValue,global[_0x489f1a(0x1c1)],[_0x4bdb54['gsPGt']]),'hookType':_0x4bdb54[_0x489f1a(0x1d0)]})();},'afterAll'(_0x399cde){const _0x16be39=a36_0x3e9656,_0x21a46e={'moqZb':function(_0x5d72dd){return _0x5d72dd();},'qYdtM':function(_0x264815){return _0x264815();},'pDHGs':_0x16be39(0x263),'kHpSr':function(_0x11def0,_0x3e9d94,_0x3cd522){return _0x11def0(_0x3e9d94,_0x3cd522);},'fTIPA':_0x16be39(0x221),'wijJW':_0x16be39(0x210)},_0xdd147d='browserstack internal helper hook';this[_0x16be39(0x1d8)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x21a46e['pDHGs']]),PerformanceTester[_0x16be39(0x200)](PerformanceSdkEvents[_0x16be39(0x1dd)],()=>{const _0x486bfd={'GfAnF':function(_0x78a0d7){const _0x242bb6=a36_0x2572;return _0x21a46e[_0x242bb6(0x1df)](_0x78a0d7);}};new Promise(async _0xc8e8d0=>{const _0x25e0ce=a36_0x2572;await global[_0x25e0ce(0x24d)](),_0x21a46e[_0x25e0ce(0x259)](_0xc8e8d0);})['then']()['finally'](()=>{const _0x33570f=a36_0x2572;_0x486bfd[_0x33570f(0x205)](_0x399cde);});},{'platform':_0x21a46e[_0x16be39(0x1d4)](nestedKeyValue,global['__platformCaps'],[_0x21a46e[_0x16be39(0x224)]]),'hookType':_0x21a46e[_0x16be39(0x20c)]})();}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a37_0x827007=a37_0x51fa;(function(_0x5a1e4c,_0x12b3e9){const _0x5349f9=a37_0x51fa,_0x34a5b7=_0x5a1e4c();while(!![]){try{const _0x25fb88=parseInt(_0x5349f9(0x1f1))/0x1*(-parseInt(_0x5349f9(0x1e0))/0x2)+-parseInt(_0x5349f9(0x1d1))/0x3+-parseInt(_0x5349f9(0x1bb))/0x4*(-parseInt(_0x5349f9(0x1d0))/0x5)+parseInt(_0x5349f9(0x1fa))/0x6+-parseInt(_0x5349f9(0x1bf))/0x7+parseInt(_0x5349f9(0x1f6))/0x8*(-parseInt(_0x5349f9(0x1cf))/0x9)+parseInt(_0x5349f9(0x1ec))/0xa;if(_0x25fb88===_0x12b3e9)break;else _0x34a5b7['push'](_0x34a5b7['shift']());}catch(_0x323005){_0x34a5b7['push'](_0x34a5b7['shift']());}}}(a37_0x411d,0x18e24));function a37_0x51fa(_0x5c4f82,_0x2f30da){const _0x411d79=a37_0x411d();return a37_0x51fa=function(_0x51fa25,_0x1d383a){_0x51fa25=_0x51fa25-0x1ba;let _0x1c95aa=_0x411d79[_0x51fa25];return _0x1c95aa;},a37_0x51fa(_0x5c4f82,_0x2f30da);}const fs=require('fs'),path=require('path'),{spawn}=require('child_process'),logger=require('../../helpers/logger')[a37_0x827007(0x1e2)],{default:BrowserStackSetup}=require(a37_0x827007(0x1e4)),helper=require('../../helpers/helper'),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x38194a,_0x3e1915)=>{const _0x2dc18f=a37_0x827007,_0x14e439={'WaiHn':_0x2dc18f(0x1e8),'mfhWo':_0x2dc18f(0x1d8),'HveUx':function(_0x1ccbaf,_0x4fa0cb){return _0x1ccbaf(_0x4fa0cb);},'HkYPy':_0x2dc18f(0x1e6)};let _0x247ac7=null,_0x20a837={};const _0x144e4e=_0x3e1915[_0x2dc18f(0x1f0)](_0x10cf6c=>_0x10cf6c===_0x2dc18f(0x1d2));if(!helper[_0x2dc18f(0x1e1)](_0x38194a['config'])&&fs[_0x2dc18f(0x1ee)](path[_0x2dc18f(0x1f9)](process[_0x2dc18f(0x1c5)](),_0x38194a[_0x2dc18f(0x1e3)])))_0x247ac7=path[_0x2dc18f(0x1f9)](process[_0x2dc18f(0x1c5)](),_0x38194a['config']),_0x3e1915[_0x2dc18f(0x1dc)](_0x144e4e,0x2);else{if(fs[_0x2dc18f(0x1ee)](path['join'](process[_0x2dc18f(0x1c5)](),_0x14e439[_0x2dc18f(0x1bd)])))_0x247ac7=path[_0x2dc18f(0x1f9)](process[_0x2dc18f(0x1c5)](),_0x14e439[_0x2dc18f(0x1bd)]);else fs[_0x2dc18f(0x1ee)](path['join'](process['cwd'](),_0x14e439[_0x2dc18f(0x1e9)]))&&(_0x247ac7=path['join'](process[_0x2dc18f(0x1c5)](),_0x14e439[_0x2dc18f(0x1e9)]));}return _0x247ac7?(logger[_0x2dc18f(0x1f3)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x247ac7),_0x20a837=_0x14e439['HveUx'](require,_0x247ac7)):logger[_0x2dc18f(0x1f3)](_0x14e439[_0x2dc18f(0x1d9)]),_0x20a837;},removeExistingEnvs=_0x2a4b57=>{const _0x16136a=a37_0x827007,_0x4b4995={};_0x4b4995['PfIqn']=function(_0x2b5c8c,_0x496319){return _0x2b5c8c>_0x496319;};const _0x3168f8=_0x4b4995;let _0x17d403=_0x2a4b57[_0x16136a(0x1f0)](_0x766ad3=>_0x766ad3===_0x16136a(0x1dd));_0x3168f8[_0x16136a(0x1de)](_0x17d403,-0x1)&&_0x2a4b57['splice'](_0x17d403,0x2),_0x17d403=_0x2a4b57[_0x16136a(0x1f0)](_0x37f4cc=>_0x37f4cc==='-e'),_0x3168f8[_0x16136a(0x1de)](_0x17d403,-0x1)&&_0x2a4b57[_0x16136a(0x1dc)](_0x17d403,0x2);};function run(_0x119cd2,_0x37ae14,_0x1d787c){const _0x7566aa=a37_0x827007,_0x1f57b8={'ighDC':_0x7566aa(0x1c9),'sIUVq':function(_0x4f7bf7,_0x2e9eda){return _0x4f7bf7+_0x2e9eda;},'muWWM':_0x7566aa(0x1e5),'alPIn':function(_0x2bac6f,_0x5d3ea2,_0x479a6f){return _0x2bac6f(_0x5d3ea2,_0x479a6f);},'ICZLv':_0x7566aa(0x1d7),'ipKfE':_0x7566aa(0x1bc),'VDAGc':function(_0x1e0923,_0x1c14f7){return _0x1e0923===_0x1c14f7;},'TEfiI':'nightwatch-browserstack.json','qcacm':function(_0x10628f,_0x55f385){return _0x10628f(_0x55f385);},'ccwFr':function(_0x1e2588,_0x3dfea8,_0x1133cc,_0x304a97){return _0x1e2588(_0x3dfea8,_0x1133cc,_0x304a97);},'Dqpwf':'nightwatch.cmd','kkzxg':_0x7566aa(0x1d2),'IuDOR':_0x7566aa(0x1dd),'SEUHv':'inherit','knrsA':'close'};if(!_0x1d787c[_0x7566aa(0x1e3)])return;const _0x365058=_0x1f57b8[_0x7566aa(0x1c3)](getUserNightwatchConfigs,_0x119cd2,_0x37ae14),_0x538575={};_0x538575['start_process']=![];const _0x2065ca={};_0x2065ca[_0x7566aa(0x1c6)]=_0x1f57b8['ICZLv'],_0x2065ca[_0x7566aa(0x1c7)]=0x1bb;const _0x3c13de={};_0x3c13de[_0x7566aa(0x1fb)]=_0x538575,_0x3c13de[_0x7566aa(0x1d4)]=_0x2065ca;const _0x2d6d8b=_0x3c13de;logger[_0x7566aa(0x1f3)](_0x1f57b8[_0x7566aa(0x1da)]);const _0x46ba71={..._0x365058},_0x593a05=_0x46ba71,_0x1beea4=helper[_0x7566aa(0x1ce)](_0x1d787c[_0x7566aa(0x1e3)]),_0x3fd61f=[];_0x1d787c[_0x7566aa(0x1e3)][_0x7566aa(0x1e7)][_0x7566aa(0x1d5)]((_0x571de2,_0x4f4426)=>{const _0x33931c=_0x7566aa;_0x1beea4?_0x3fd61f[_0x33931c(0x1cd)](helper[_0x33931c(0x1d6)](_0x1d787c['config'],_0x1f57b8[_0x33931c(0x1c8)],_0x4f4426)):_0x3fd61f['push'](helper[_0x33931c(0x1f8)](_0x1d787c['config'],_0x1f57b8[_0x33931c(0x1c8)],_0x4f4426));});const _0x1a6585={},_0x23ab28=[];_0x119cd2['env']=_0x119cd2[_0x7566aa(0x1eb)]||_0x119cd2['e'];const _0x54ba7c=_0x119cd2[_0x7566aa(0x1eb)]?_0x119cd2['env'][_0x7566aa(0x1f4)]()[_0x7566aa(0x1d3)](',')[_0x7566aa(0x1c0)](_0x251742=>_0x251742[_0x7566aa(0x1f4)]())[_0x7566aa(0x1f7)](_0x3a0ffd=>_0x3a0ffd!==''):[''];_0x1f57b8[_0x7566aa(0x1ea)](_0x54ba7c['length'],0x0)&&_0x54ba7c[_0x7566aa(0x1cd)]('');_0x54ba7c[_0x7566aa(0x1d5)](_0x610242=>{_0x3fd61f['forEach'](_0x5cf4ff=>{const _0x255a14=a37_0x51fa;let _0xd79ba8=_0x1f57b8['sIUVq'](helper['getPlatformName'](_0x5cf4ff,'_'),'_'+Date[_0x255a14(0x1c2)]());_0x610242&&(_0xd79ba8+='_'+_0x610242);if(_0x610242&&(!_0x365058[_0x1f57b8[_0x255a14(0x1f2)]]||!_0x365058[_0x1f57b8[_0x255a14(0x1f2)]][_0x610242]))return;const _0x3bd70f={..._0x2d6d8b};_0x3bd70f[_0x255a14(0x1ef)]=_0x5cf4ff;const _0x3cdab4=_0x3bd70f;_0x1a6585[_0xd79ba8]=_0x610242?helper['mergeDeep'](_0x365058[_0x1f57b8[_0x255a14(0x1f2)]][_0x610242],_0x3cdab4):_0x3cdab4,_0x23ab28[_0x255a14(0x1cd)](_0xd79ba8);});});!_0x593a05[_0x7566aa(0x1e5)]&&(_0x593a05[_0x7566aa(0x1e5)]={});_0x593a05['test_settings']={..._0x593a05['test_settings'],..._0x1a6585};const _0x28a9e1=path[_0x7566aa(0x1f9)](__dirname,_0x1f57b8['TEfiI']);fs['writeFileSync'](_0x28a9e1,JSON['stringify'](_0x593a05)),_0x1f57b8['qcacm'](removeExistingEnvs,_0x37ae14);const _0x2c5b32=_0x1f57b8['ccwFr'](spawn,/^win/[_0x7566aa(0x1ca)](process[_0x7566aa(0x1c1)])?_0x1f57b8[_0x7566aa(0x1ed)]:_0x1f57b8['ighDC'],[_0x1f57b8[_0x7566aa(0x1cc)],_0x28a9e1,..._0x37ae14[_0x7566aa(0x1ba)](0x1),_0x1f57b8[_0x7566aa(0x1be)],_0x23ab28[_0x7566aa(0x1f9)](',')],{'stdio':_0x1f57b8[_0x7566aa(0x1db)]});_0x2c5b32['on'](_0x1f57b8[_0x7566aa(0x1df)],async _0x4a47d5=>{const _0x20bbfc=_0x7566aa;logger['debug'](_0x20bbfc(0x1cb)+_0x4a47d5),logger[_0x20bbfc(0x1f3)]('Deleting\x20'+_0x28a9e1),fs[_0x20bbfc(0x1f5)](_0x28a9e1);});}function a37_0x411d(){const _0x2cfd30=['IuDOR','1119972BnVmLW','map','platform','now','alPIn','exports','cwd','host','port','ighDC','nightwatch','test','child\x20process\x20exited\x20with\x20code\x20','kkzxg','push','useW3C','873XdguCp','20Xdyfif','503835AHnuyx','--config','split','selenium','forEach','modifyBrowserStackW3CCaps','hub.browserstack.com','nightwatch.json','HkYPy','ipKfE','SEUHv','splice','--env','PfIqn','knrsA','43366lexAng','isUndefined','winstonLogger','config','../../helpers/BrowserStackSetup','test_settings','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','platforms','nightwatch.conf.js','mfhWo','VDAGc','env','5344770AkzzXf','Dqpwf','existsSync','desiredCapabilities','findIndex','4BXopXu','muWWM','info','trim','unlinkSync','11976IVKwkM','filter','modifyBrowserStackCaps','join','760758BWmxax','webdriver','slice','536jcYmkt','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','WaiHn'];a37_0x411d=function(){return _0x2cfd30;};return a37_0x411d();}module[a37_0x827007(0x1c4)]=run;
2
+ 'use strict';const a37_0x49ff23=a37_0x3f4d;(function(_0x353a9d,_0x2b7b3b){const _0x1307eb=a37_0x3f4d,_0x5cf347=_0x353a9d();while(!![]){try{const _0x33b8ca=-parseInt(_0x1307eb(0x1c5))/0x1+parseInt(_0x1307eb(0x1d9))/0x2+parseInt(_0x1307eb(0x1e3))/0x3*(parseInt(_0x1307eb(0x1cd))/0x4)+parseInt(_0x1307eb(0x1f9))/0x5*(parseInt(_0x1307eb(0x1d6))/0x6)+-parseInt(_0x1307eb(0x200))/0x7+parseInt(_0x1307eb(0x1eb))/0x8*(parseInt(_0x1307eb(0x1fc))/0x9)+parseInt(_0x1307eb(0x1d1))/0xa;if(_0x33b8ca===_0x2b7b3b)break;else _0x5cf347['push'](_0x5cf347['shift']());}catch(_0x272d84){_0x5cf347['push'](_0x5cf347['shift']());}}}(a37_0x2276,0xe90c0));const fs=require('fs'),path=require(a37_0x49ff23(0x205)),{spawn}=require(a37_0x49ff23(0x1d7)),logger=require(a37_0x49ff23(0x1c4))[a37_0x49ff23(0x1fd)],{default:BrowserStackSetup}=require(a37_0x49ff23(0x1e5)),helper=require(a37_0x49ff23(0x1ef)),constants=require(a37_0x49ff23(0x208)),getUserNightwatchConfigs=(_0x5da777,_0xe6b7d9)=>{const _0x752c7b=a37_0x49ff23,_0x1891e8={'ekojO':_0x752c7b(0x1ff),'JvuwU':_0x752c7b(0x203),'QGgmK':function(_0x91094e,_0x4587aa){return _0x91094e(_0x4587aa);},'WaogO':_0x752c7b(0x1d2)};let _0x19c594=null,_0x21f781={};const _0x1a87d6=_0xe6b7d9[_0x752c7b(0x1d3)](_0x580ab9=>_0x580ab9===_0x752c7b(0x1fb));if(!helper[_0x752c7b(0x1c9)](_0x5da777[_0x752c7b(0x1e7)])&&fs[_0x752c7b(0x1f3)](path['join'](process[_0x752c7b(0x1e0)](),_0x5da777[_0x752c7b(0x1e7)])))_0x19c594=path['join'](process[_0x752c7b(0x1e0)](),_0x5da777[_0x752c7b(0x1e7)]),_0xe6b7d9[_0x752c7b(0x206)](_0x1a87d6,0x2);else{if(fs[_0x752c7b(0x1f3)](path[_0x752c7b(0x1d4)](process[_0x752c7b(0x1e0)](),_0x1891e8[_0x752c7b(0x1dd)])))_0x19c594=path['join'](process['cwd'](),_0x1891e8[_0x752c7b(0x1dd)]);else fs[_0x752c7b(0x1f3)](path[_0x752c7b(0x1d4)](process[_0x752c7b(0x1e0)](),_0x1891e8[_0x752c7b(0x1c7)]))&&(_0x19c594=path[_0x752c7b(0x1d4)](process[_0x752c7b(0x1e0)](),_0x1891e8[_0x752c7b(0x1c7)]));}return _0x19c594?(logger['info'](_0x752c7b(0x1ce)+_0x19c594),_0x21f781=_0x1891e8['QGgmK'](require,_0x19c594)):logger[_0x752c7b(0x1da)](_0x1891e8['WaogO']),_0x21f781;},removeExistingEnvs=_0x45fbd9=>{const _0x383d7e=a37_0x49ff23,_0x173fff={};_0x173fff[_0x383d7e(0x1ec)]=function(_0x507271,_0xf429d6){return _0x507271>_0xf429d6;};const _0x541475=_0x173fff;let _0x1833fb=_0x45fbd9[_0x383d7e(0x1d3)](_0x563659=>_0x563659==='--env');_0x541475[_0x383d7e(0x1ec)](_0x1833fb,-0x1)&&_0x45fbd9[_0x383d7e(0x206)](_0x1833fb,0x2),_0x1833fb=_0x45fbd9[_0x383d7e(0x1d3)](_0x4134ea=>_0x4134ea==='-e'),_0x541475[_0x383d7e(0x1ec)](_0x1833fb,-0x1)&&_0x45fbd9['splice'](_0x1833fb,0x2);};function a37_0x3f4d(_0x3fe65e,_0x15ec4a){const _0x227638=a37_0x2276();return a37_0x3f4d=function(_0x3f4de6,_0x1aeea2){_0x3f4de6=_0x3f4de6-0x1c3;let _0x59cfba=_0x227638[_0x3f4de6];return _0x59cfba;},a37_0x3f4d(_0x3fe65e,_0x15ec4a);}function run(_0x56a630,_0x256dbe,_0x1cafdf){const _0x527f7d=a37_0x49ff23,_0x5c2309={'dcQIj':_0x527f7d(0x1ea),'DSLAj':function(_0x2d7e3c,_0x3e55b0){return _0x2d7e3c+_0x3e55b0;},'haQnh':_0x527f7d(0x1dc),'HhYwH':function(_0x2e8afb,_0x219e6b,_0x550853){return _0x2e8afb(_0x219e6b,_0x550853);},'bAyXC':'hub.browserstack.com','mWCum':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','CzXpD':function(_0x1b3b85,_0x3b2c14){return _0x1b3b85===_0x3b2c14;},'OcHsg':_0x527f7d(0x1f7),'NIzQz':function(_0x268266,_0x39246b){return _0x268266(_0x39246b);},'IGyDg':function(_0x151f30,_0x561c15,_0x95bee2,_0x1c0bca){return _0x151f30(_0x561c15,_0x95bee2,_0x1c0bca);},'freLc':_0x527f7d(0x1db),'GXlDT':_0x527f7d(0x1fb),'qDSXn':'--env','HCyLB':'inherit','IYlIe':'close'};if(!_0x1cafdf[_0x527f7d(0x1e7)])return;const _0x5d4ae4=_0x5c2309[_0x527f7d(0x1f1)](getUserNightwatchConfigs,_0x56a630,_0x256dbe),_0x5eabb7={};_0x5eabb7[_0x527f7d(0x1fe)]=![];const _0x4d5cf9={};_0x4d5cf9[_0x527f7d(0x204)]=_0x5c2309[_0x527f7d(0x1e8)],_0x4d5cf9[_0x527f7d(0x1ca)]=0x1bb;const _0x16dec5={};_0x16dec5['webdriver']=_0x5eabb7,_0x16dec5[_0x527f7d(0x1c6)]=_0x4d5cf9;const _0x16a9f1=_0x16dec5;logger[_0x527f7d(0x1da)](_0x5c2309[_0x527f7d(0x1f4)]);const _0x1c9ce0={..._0x5d4ae4},_0x49ddd7=_0x1c9ce0,_0x5d6963=helper[_0x527f7d(0x1c8)](_0x1cafdf[_0x527f7d(0x1e7)]),_0x232ffa=[];_0x1cafdf[_0x527f7d(0x1e7)][_0x527f7d(0x1cb)]['forEach']((_0xb1eb18,_0x11c466)=>{const _0x45bddb=_0x527f7d;_0x5d6963?_0x232ffa[_0x45bddb(0x1f8)](helper[_0x45bddb(0x1c3)](_0x1cafdf[_0x45bddb(0x1e7)],_0x5c2309[_0x45bddb(0x1df)],_0x11c466)):_0x232ffa[_0x45bddb(0x1f8)](helper[_0x45bddb(0x1f0)](_0x1cafdf[_0x45bddb(0x1e7)],_0x5c2309[_0x45bddb(0x1df)],_0x11c466));});const _0x47b64c={},_0x716f43=[];_0x56a630[_0x527f7d(0x1d8)]=_0x56a630['env']||_0x56a630['e'];const _0x46e52e=_0x56a630[_0x527f7d(0x1d8)]?_0x56a630[_0x527f7d(0x1d8)]['trim']()[_0x527f7d(0x1f5)](',')['map'](_0x2a0820=>_0x2a0820[_0x527f7d(0x1e6)]())[_0x527f7d(0x1cc)](_0x40295b=>_0x40295b!==''):[''];_0x5c2309[_0x527f7d(0x202)](_0x46e52e[_0x527f7d(0x1e1)],0x0)&&_0x46e52e[_0x527f7d(0x1f8)]('');_0x46e52e[_0x527f7d(0x1d0)](_0x465224=>{const _0x4de707=_0x527f7d;_0x232ffa[_0x4de707(0x1d0)](_0x198465=>{const _0x2e2c48=_0x4de707;let _0x3ae969=_0x5c2309['DSLAj'](helper['getPlatformName'](_0x198465,'_'),'_'+Date[_0x2e2c48(0x201)]());_0x465224&&(_0x3ae969+='_'+_0x465224);if(_0x465224&&(!_0x5d4ae4[_0x5c2309[_0x2e2c48(0x207)]]||!_0x5d4ae4[_0x5c2309['haQnh']][_0x465224]))return;const _0x2bf679={..._0x16a9f1};_0x2bf679['desiredCapabilities']=_0x198465;const _0x20442d=_0x2bf679;_0x47b64c[_0x3ae969]=_0x465224?helper[_0x2e2c48(0x1f2)](_0x5d4ae4[_0x5c2309[_0x2e2c48(0x207)]][_0x465224],_0x20442d):_0x20442d,_0x716f43[_0x2e2c48(0x1f8)](_0x3ae969);});});!_0x49ddd7['test_settings']&&(_0x49ddd7[_0x527f7d(0x1dc)]={});_0x49ddd7['test_settings']={..._0x49ddd7[_0x527f7d(0x1dc)],..._0x47b64c};const _0x4b2939=path[_0x527f7d(0x1d4)](__dirname,_0x5c2309['OcHsg']);fs['writeFileSync'](_0x4b2939,JSON[_0x527f7d(0x1e9)](_0x49ddd7)),_0x5c2309['NIzQz'](removeExistingEnvs,_0x256dbe);const _0x47e53d=_0x5c2309[_0x527f7d(0x1fa)](spawn,/^win/[_0x527f7d(0x1d5)](process['platform'])?_0x5c2309[_0x527f7d(0x1e4)]:_0x5c2309['dcQIj'],[_0x5c2309[_0x527f7d(0x1e2)],_0x4b2939,..._0x256dbe[_0x527f7d(0x1cf)](0x1),_0x5c2309[_0x527f7d(0x1ed)],_0x716f43[_0x527f7d(0x1d4)](',')],{'stdio':_0x5c2309[_0x527f7d(0x1ee)]});_0x47e53d['on'](_0x5c2309['IYlIe'],async _0x322ade=>{const _0x3b59ad=_0x527f7d;logger['debug'](_0x3b59ad(0x1de)+_0x322ade),logger[_0x3b59ad(0x1da)]('Deleting\x20'+_0x4b2939),fs['unlinkSync'](_0x4b2939);});}function a37_0x2276(){const _0x3ea05f=['start_process','nightwatch.conf.js','11880190ABuXXo','now','CzXpD','nightwatch.json','host','path','splice','haQnh','../utils/constants','modifyBrowserStackW3CCaps','../../helpers/logger','1606685ovQQzO','selenium','JvuwU','useW3C','isUndefined','port','platforms','filter','20NQdsXS','Getting\x20your\x20nightwatch\x20configs\x20from\x20','slice','forEach','15961650XyvkoI','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','findIndex','join','test','38916llGpUx','child_process','env','2498594ODkPlH','info','nightwatch.cmd','test_settings','ekojO','child\x20process\x20exited\x20with\x20code\x20','dcQIj','cwd','length','GXlDT','306303xQVSZj','freLc','../../helpers/BrowserStackSetup','trim','config','bAyXC','stringify','nightwatch','24dLqqri','EamzB','qDSXn','HCyLB','../../helpers/helper','modifyBrowserStackCaps','HhYwH','mergeDeep','existsSync','mWCum','split','exports','nightwatch-browserstack.json','push','535tvYEnj','IGyDg','--config','625338sUsblT','winstonLogger'];a37_0x2276=function(){return _0x3ea05f;};return a37_0x2276();}module[a37_0x49ff23(0x1f6)]=run;
@@ -1 +1 @@
1
- const a38_0x40a5dd=a38_0x5b17;(function(_0x57bc3a,_0x3207be){const _0x3699a3=a38_0x5b17,_0x12d704=_0x57bc3a();while(!![]){try{const _0x4a9390=parseInt(_0x3699a3(0x14e))/0x1*(parseInt(_0x3699a3(0xf2))/0x2)+parseInt(_0x3699a3(0x118))/0x3*(-parseInt(_0x3699a3(0x10f))/0x4)+parseInt(_0x3699a3(0x115))/0x5*(-parseInt(_0x3699a3(0x104))/0x6)+-parseInt(_0x3699a3(0xde))/0x7+-parseInt(_0x3699a3(0x12e))/0x8*(parseInt(_0x3699a3(0x147))/0x9)+-parseInt(_0x3699a3(0x113))/0xa+parseInt(_0x3699a3(0x10b))/0xb;if(_0x4a9390===_0x3207be)break;else _0x12d704['push'](_0x12d704['shift']());}catch(_0x7900b6){_0x12d704['push'](_0x12d704['shift']());}}}(a38_0x1024,0xef4be));function a38_0x1024(){const _0x53352d=['vZCHl','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','bQFDJ','browserName','yyphY','xaqHH','accessibilityOptions.wcagVersion','stringify','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','browser','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','deviceName','KErrj','wsEndpoint','GaQZc','warn','SdOmg','JaXne','11550304yWHsyl','chromium','jtqQG','vboix','browser_version','NzCKM','uuuyu','accessibilityOptions.includeIssueType.needsReview','Playwright','(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','RdrWx','BS_A11Y_JWT','latest','chrome','PERFORM_SCAN','error','name','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','getAccessibilityResults','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','SilEw','evaluate','url','CPcHP','needsReview','9pDEAVX','No\x20accessibility\x20results\x20were\x20found.','scannerProcessingTimeout','accessibilityOptions.authToken','bstackSdkArgs','__workerDetails','oJyfz','23AblLwO','env','util','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','kIuPk','qXUTD','ipUSx','dRePy','XNvVy','KiJFB','../../helpers/accessibility-automation/helper','3388098CKgoZU','workerInfo','qXqtH','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','gPdXF','GlOQi','../../helpers/logger','executeAsyncScript','accessibilityPlatform','accessibilityOptions.includeIssueType.bestPractice','browserStackEvaluate','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','AaEWO','lfKRt','bestPractice','replace','debug','Performing\x20scan\x20with\x20method:\x20','uFGpu','IaIJB','79874pztRjD','parse','uciiB','scannerVersion','wOikO','WebDriver','hQxJN','gEWkK','../../helpers/performance/constants','ChNzB','playwright-chromium','setAccessibilityCapabilities','fOrKB','QaACA','winstonLogger','jsOvc','project','includeIssueType','9604998JKQhzZ','uoIql','command','constructor','accessibilityOptions','connectOptions','../../helpers/accessibility-automation/scripts','49334659jATPKG','browserStackExecuteDriver','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','wXXPC','4SaoBNx','GZRop','performScan','accessibilityOptions.scannerVersion','3568460ChrkCJ','includes','5jaRwcR','currentTest','wcagVersion','1613643KTuCui','../../helpers/performance/performance-tester','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.'];a38_0x1024=function(){return _0x53352d;};return a38_0x1024();}function a38_0x5b17(_0x88e004,_0x9ca2ab){const _0x1024ba=a38_0x1024();return a38_0x5b17=function(_0x5b1711,_0x16d9b4){_0x5b1711=_0x5b1711-0xd5;let _0xf324ef=_0x1024ba[_0x5b1711];return _0xf324ef;},a38_0x5b17(_0x88e004,_0x9ca2ab);}const util=require(a38_0x40a5dd(0xd5)),logger=require(a38_0x40a5dd(0xe4))[a38_0x40a5dd(0x100)],{isAccessibilityAutomationSession}=require(a38_0x40a5dd(0xdd)),{isUndefined,isBrowserstackInfra}=require('../../helpers/helper'),scripts=require(a38_0x40a5dd(0x10a)),PerformanceTester=require(a38_0x40a5dd(0x119)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a38_0x40a5dd(0xfa));exports[a38_0x40a5dd(0xe8)]=async(_0x593749,_0x234c3d,_0x4b6777={})=>{const _0x10ed82=a38_0x40a5dd,_0x49ba64={};_0x49ba64['CPcHP']=_0x10ed82(0x14b);const _0x1c2ccc=_0x49ba64;return await _0x593749[_0x10ed82(0x143)]('(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'+_0x234c3d[_0x10ed82(0xed)](/arguments/g,_0x1c2ccc[_0x10ed82(0x145)])+_0x10ed82(0x123)+JSON['stringify'](_0x4b6777)+')');},exports[a38_0x40a5dd(0x10c)]=async(_0x1da1aa,_0x4b71b0,_0x28c780={})=>{const _0xe3ef0e=a38_0x40a5dd,_0x26553f={};_0x26553f[_0xe3ef0e(0xeb)]=function(_0x24c03b,_0x184bf1){return _0x24c03b===_0x184bf1;},_0x26553f[_0xe3ef0e(0xf6)]=_0xe3ef0e(0xf7),_0x26553f[_0xe3ef0e(0xd8)]=function(_0x2fda85,_0x14a85b){return _0x2fda85===_0x14a85b;},_0x26553f['vZCHl']=_0xe3ef0e(0x136),_0x26553f[_0xe3ef0e(0x110)]=_0xe3ef0e(0x14b);const _0x25eb23=_0x26553f;if(_0x25eb23['lfKRt'](_0x1da1aa['constructor']['name'],_0x25eb23[_0xe3ef0e(0xf6)]))return await _0x1da1aa[_0xe3ef0e(0xe5)](_0x4b71b0,_0x28c780);else{if(_0x25eb23['qXUTD'](_0x1da1aa[_0xe3ef0e(0x107)][_0xe3ef0e(0x13e)],_0x25eb23[_0xe3ef0e(0x11b)]))return await _0x1da1aa['executeScript'](_0xe3ef0e(0x137)+_0x4b71b0['replace'](/arguments/g,_0x25eb23['GZRop'])+_0xe3ef0e(0x141)+JSON[_0xe3ef0e(0x122)](_0x28c780)+')');}},exports[a38_0x40a5dd(0xfd)]=async _0x1a5d08=>{const _0x49d50b=a38_0x40a5dd,_0xf6a3b2={};_0xf6a3b2['uoIql']=_0x49d50b(0x121),_0xf6a3b2['jsOvc']='accessibilityOptions.scannerProcessingTimeout',_0xf6a3b2[_0x49d50b(0xe2)]=_0x49d50b(0xe7),_0xf6a3b2[_0x49d50b(0xe0)]=_0x49d50b(0x135),_0xf6a3b2[_0x49d50b(0xf8)]=_0x49d50b(0x14a),_0xf6a3b2[_0x49d50b(0xf1)]=_0x49d50b(0x112);const _0x4672ac=_0xf6a3b2;_0x1a5d08[_0x49d50b(0x108)]&&(_0x1a5d08[_0x49d50b(0x108)][_0x49d50b(0x117)]&&(_0x1a5d08[_0x4672ac[_0x49d50b(0x105)]]=_0x1a5d08[_0x49d50b(0x108)][_0x49d50b(0x117)]),_0x1a5d08['accessibilityOptions'][_0x49d50b(0x149)]&&(_0x1a5d08[_0x4672ac[_0x49d50b(0x101)]]=_0x1a5d08['accessibilityOptions']['scannerProcessingTimeout']),_0x1a5d08[_0x49d50b(0x108)]['includeIssueType']&&(_0x1a5d08[_0x4672ac['gPdXF']]=_0x1a5d08[_0x49d50b(0x108)]['includeIssueType'][_0x49d50b(0xec)],_0x1a5d08[_0x4672ac[_0x49d50b(0xe0)]]=_0x1a5d08[_0x49d50b(0x108)][_0x49d50b(0x103)][_0x49d50b(0x146)]));const _0x187dcb=JSON[_0x49d50b(0xf3)](process['env'][_0x49d50b(0x10d)])[_0x49d50b(0xf5)];_0x1a5d08[_0x4672ac[_0x49d50b(0xf8)]]=process[_0x49d50b(0x14f)][_0x49d50b(0x139)],_0x1a5d08[_0x4672ac['IaIJB']]=_0x187dcb,delete _0x1a5d08[_0x49d50b(0x108)];},exports[a38_0x40a5dd(0x140)]=async _0x1b4692=>{const _0x406e62=a38_0x40a5dd,_0x190512={};_0x190512[_0x406e62(0xd7)]=_0x406e62(0x148),_0x190512[_0x406e62(0xe3)]=_0x406e62(0xe1);const _0x481318=_0x190512;if(global['accessibilityPlatform'])try{const details={'url':await _0x1b4692.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(_0x1b4692,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x1b4692,scripts.getResults);},{...details})();return res;}catch{return logger[_0x406e62(0x13d)](_0x481318[_0x406e62(0xd7)]),[];}else return logger[_0x406e62(0x12b)](_0x481318[_0x406e62(0xe3)]),[];},exports['performScan']=async(_0xc4d4c,_0x57817b='')=>{const _0x470ac0=a38_0x40a5dd;logger[_0x470ac0(0xee)](_0x470ac0(0xef)+_0x57817b+'\x20page:\x20'+_0xc4d4c);const _0x3b4785={'url':await _0xc4d4c[_0x470ac0(0x144)](),'testhub_btcer_uuid':global[_0x470ac0(0x14c)]?.['currentTest']?.['id']};if(global['accessibilityPlatform'])return await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x470ac0(0x13c)],async()=>{const _0x5e6f45=_0x470ac0,_0x2af7b6={};_0x2af7b6[_0x5e6f45(0x106)]=_0x57817b;const _0x5552aa=await exports[_0x5e6f45(0xe8)](_0xc4d4c,scripts[_0x5e6f45(0x111)],_0x2af7b6);return _0x5552aa;},{'command':_0x57817b,..._0x3b4785})();},exports['getAccessibilityResultsSummary']=async _0x1ec158=>{const _0x31adcb=a38_0x40a5dd,_0x189149={};_0x189149['NzCKM']='No\x20summaryResults\x20found.',_0x189149[_0x31adcb(0x14d)]=_0x31adcb(0x126);const _0x1cc94f=_0x189149;if(global[_0x31adcb(0xe6)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x1ec158,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x1ec158,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x31adcb(0xee)](_0x1cc94f[_0x31adcb(0x133)]),{};}else return logger[_0x31adcb(0x12b)](_0x1cc94f[_0x31adcb(0x14d)]),{};},exports['platformValidation']=async _0x25a9ed=>{const _0x5dbc92=a38_0x40a5dd,_0x4c47d5={'KErrj':function(_0x49d37d,_0x168363){return _0x49d37d!==_0x168363;},'bTLaT':_0x5dbc92(0x11c),'DoaSZ':_0x5dbc92(0x13b),'uFGpu':'playwright-chromium','xaqHH':_0x5dbc92(0x12f),'dRePy':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','ChNzB':function(_0x6a94ab,_0x214a56){return _0x6a94ab(_0x214a56);},'uciiB':function(_0x586e6a){return _0x586e6a();},'FoFLR':function(_0x59faed,_0x7185c){return _0x59faed<_0x7185c;},'KOALp':_0x5dbc92(0x11a),'iUhZg':function(_0x4d198c,_0xcca3f){return _0x4d198c===_0xcca3f;},'GrlCr':_0x5dbc92(0x13a),'uuuyu':function(_0x4b396e,_0x55f2b5){return _0x4b396e>_0x55f2b5;},'fOrKB':_0x5dbc92(0x125)};try{if(!_0x4c47d5[_0x5dbc92(0x128)](_0x25a9ed[_0x5dbc92(0x127)],''))return logger[_0x5dbc92(0x12b)](_0x4c47d5['bTLaT']),![];const _0x499024=_0x25a9ed[_0x5dbc92(0x124)];if(![_0x4c47d5['DoaSZ'],_0x4c47d5[_0x5dbc92(0xf0)],_0x4c47d5[_0x5dbc92(0x120)]][_0x5dbc92(0x114)](_0x499024))return logger['warn'](_0x4c47d5[_0x5dbc92(0xda)]),![];const _0x29e0b8=_0x4c47d5[_0x5dbc92(0xfb)](parseInt,_0x25a9ed['browser_version']);!_0x4c47d5[_0x5dbc92(0xf4)](isBrowserstackInfra)&&(!_0x4c47d5['FoFLR'](_0x29e0b8,0x64)&&logger[_0x5dbc92(0x12b)](_0x4c47d5['KOALp']));if(!(_0x4c47d5['iUhZg'](_0x29e0b8,_0x4c47d5['GrlCr'])||_0x4c47d5[_0x5dbc92(0x134)](_0x29e0b8,0x5e)))return logger[_0x5dbc92(0x12b)](_0x4c47d5[_0x5dbc92(0xfe)]),![];}catch(_0x12126a){logger[_0x5dbc92(0xee)](_0x5dbc92(0x13f)+util['format'](_0x12126a));}return!![];},exports['processAccessibilityCaps']=(_0x3af273,_0x193710,_0x5904bd)=>{const _0x575c76=a38_0x40a5dd,_0x3d07f0={'KiJFB':function(_0x54bc66){return _0x54bc66();},'vboix':'browserstack.accessibility','JaXne':function(_0x374ed3,_0x2cb0c2){return _0x374ed3===_0x2cb0c2;},'GaQZc':_0x575c76(0x13b),'HfCoZ':function(_0x259fff,_0x10e1a4){return _0x259fff===_0x10e1a4;},'yyphY':_0x575c76(0xfc),'SilEw':function(_0x3d54b3,_0x3fc26e){return _0x3d54b3===_0x3fc26e;},'gEWkK':_0x575c76(0xd6),'ipUSx':function(_0x1e3b58){return _0x1e3b58();},'AaEWO':function(_0x933ff,_0x1c21e9){return _0x933ff>_0x1c21e9;},'SdOmg':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','wXXPC':_0x575c76(0x13a),'QaACA':_0x575c76(0x125),'bQFDJ':function(_0x1e5848,_0x236d50){return _0x1e5848(_0x236d50);},'XNvVy':_0x575c76(0x11c),'jtqQG':function(_0x3cfe81,_0xcda8a7){return _0x3cfe81+_0xcda8a7;},'RdrWx':function(_0x5cdcc5,_0x5c04b0){return _0x5cdcc5(_0x5c04b0);}};try{if(_0x3d07f0[_0x575c76(0xdc)](isAccessibilityAutomationSession)){global[_0x575c76(0xe6)]=!![];!_0x3af273[_0x3d07f0[_0x575c76(0x131)]]&&(global[_0x575c76(0xe6)]=![]);!(_0x3d07f0[_0x575c76(0x12d)](_0x3af273[_0x575c76(0x11e)],_0x3d07f0[_0x575c76(0x12a)])||_0x3d07f0['HfCoZ'](_0x3af273[_0x575c76(0x11e)],_0x3d07f0[_0x575c76(0x11f)])||_0x3d07f0[_0x575c76(0x142)](_0x3af273[_0x575c76(0x124)],_0x3d07f0[_0x575c76(0x12a)])||_0x3d07f0[_0x575c76(0x142)](_0x3af273[_0x575c76(0x124)],_0x3d07f0[_0x575c76(0x11f)]))&&(logger[_0x575c76(0x12b)](_0x3d07f0[_0x575c76(0xf9)]),global[_0x575c76(0xe6)]=![]);!_0x3d07f0[_0x575c76(0xd9)](isBrowserstackInfra)&&(!_0x3d07f0[_0x575c76(0xea)](_0x3af273[_0x575c76(0x132)],0x64)&&logger[_0x575c76(0x12b)](_0x3d07f0[_0x575c76(0x12c)]));!(_0x3d07f0[_0x575c76(0x142)](_0x3af273[_0x575c76(0x132)],_0x3d07f0[_0x575c76(0x10e)])||_0x3d07f0['AaEWO'](_0x3af273[_0x575c76(0x132)],0x5e))&&(logger[_0x575c76(0x12b)](_0x3d07f0[_0x575c76(0xff)]),global[_0x575c76(0xe6)]=![]);!_0x3d07f0[_0x575c76(0x11d)](isUndefined,_0x3af273[_0x575c76(0x127)])&&(logger[_0x575c76(0x12b)](_0x3d07f0[_0x575c76(0xdb)]),global[_0x575c76(0xe6)]=![]);if(!global[_0x575c76(0xe6)]){_0x3af273[_0x3d07f0[_0x575c76(0x131)]]=![];const _0x436ba2=_0x3d07f0[_0x575c76(0x130)](_0x193710,_0x3d07f0[_0x575c76(0x138)](encodeURIComponent,JSON[_0x575c76(0x122)](_0x3af273)));_0x5904bd&&(_0x5904bd[_0x575c76(0x116)]['testInfo'][_0x575c76(0x102)]['use'][_0x575c76(0x109)][_0x575c76(0x129)]=_0x436ba2,_0x5904bd[_0x575c76(0xdf)][_0x575c76(0x102)]['use'][_0x575c76(0x109)][_0x575c76(0x129)]=_0x436ba2);}}else global[_0x575c76(0xe6)]=![];}catch(_0x191ead){logger['debug'](_0x575c76(0xe9)+util['format'](_0x191ead));}};
1
+ const a38_0x4aa73b=a38_0x3278;(function(_0x32fdde,_0x46de48){const _0x253d68=a38_0x3278,_0x425016=_0x32fdde();while(!![]){try{const _0xa655f2=parseInt(_0x253d68(0x1df))/0x1*(-parseInt(_0x253d68(0x1a9))/0x2)+parseInt(_0x253d68(0x1aa))/0x3+parseInt(_0x253d68(0x1ca))/0x4+parseInt(_0x253d68(0x1d8))/0x5*(-parseInt(_0x253d68(0x20d))/0x6)+parseInt(_0x253d68(0x19b))/0x7*(-parseInt(_0x253d68(0x1a8))/0x8)+-parseInt(_0x253d68(0x199))/0x9+-parseInt(_0x253d68(0x1e3))/0xa*(-parseInt(_0x253d68(0x1f3))/0xb);if(_0xa655f2===_0x46de48)break;else _0x425016['push'](_0x425016['shift']());}catch(_0x4879f0){_0x425016['push'](_0x425016['shift']());}}}(a38_0xab91,0x319a2));function a38_0x3278(_0x7bd4b,_0x3ef28f){const _0xab91c1=a38_0xab91();return a38_0x3278=function(_0x327817,_0x194148){_0x327817=_0x327817-0x199;let _0xb43aab=_0xab91c1[_0x327817];return _0xb43aab;},a38_0x3278(_0x7bd4b,_0x3ef28f);}function a38_0xab91(){const _0x1902d3=['WebDriver','../../helpers/performance/constants','FMOcX','replace','playwright-chromium','browserStackEvaluate','accessibilityOptions.wcagVersion','Urhlv','IfBcf','YNmsf','scannerProcessingTimeout','SjFmP','debug','winstonLogger','currentTest','iuBpG','HBBes','\x20page:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','browserstack.accessibility','name','ODaRh','fespl','12logJHT','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','No\x20summaryResults\x20found.','includeIssueType','3353742thZtNS','HPUOk','1656802NFQPrS','FPjUR','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','performScan','measureWrapper','accessibilityOptions.includeIssueType.needsReview','browserName','BHmBf','needsReview','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','latest','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','warn','8ONyUja','14988dZXGRc','984060vLWVJH','format','JfbsR','AWSsq','getAccessibilityResults','LYMnY','executeScript','accessibilityOptions.includeIssueType.bestPractice','project','sALUh','command','No\x20accessibility\x20results\x20were\x20found.','Agpgl','NatLY','../../helpers/accessibility-automation/scripts','../../helpers/helper','platformValidation','bstackSdkArgs','../../helpers/logger','SRKUv','browser_version','QOWSU','deviceName','AsSoS','bestPractice','getAccessibilityResultsSummary','accessibilityOptions','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','iaAoe','stringify','error','sBVqJ','385048ITEjHm','env','RYQFL','browser','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','zKSZB','MGRZz','accessibilityPlatform','ZtmBf','JaCIA','../../helpers/accessibility-automation/helper','AcQFp','testInfo','wcagVersion','25760Bbizmb','ShWWz','pqTfD','accessibilityOptions.scannerProcessingTimeout','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','parse','chrome','19VDidyV','jIPVu','zytgw','accessibilityOptions.scannerVersion','5409020jFfIGR','ZjuGz','ZSAwA','PERFORM_SCAN','util','connectOptions','EYqvn','ttfjy','setAccessibilityCapabilities','constructor','__workerDetails','lWvnA','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','accessibilityOptions.authToken','Playwright','11uiBQip','use','evaluate'];a38_0xab91=function(){return _0x1902d3;};return a38_0xab91();}const util=require(a38_0x4aa73b(0x1e7)),logger=require(a38_0x4aa73b(0x1bc))[a38_0x4aa73b(0x203)],{isAccessibilityAutomationSession}=require(a38_0x4aa73b(0x1d4)),{isUndefined,isBrowserstackInfra}=require(a38_0x4aa73b(0x1b9)),scripts=require(a38_0x4aa73b(0x1b8)),PerformanceTester=require('../../helpers/performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a38_0x4aa73b(0x1f7));exports['browserStackEvaluate']=async(_0x48613f,_0x57b500,_0xdcb608={})=>{const _0x34e9b9=a38_0x4aa73b,_0x1abe44={};_0x1abe44[_0x34e9b9(0x201)]='bstackSdkArgs';const _0x18d8a6=_0x1abe44;return await _0x48613f[_0x34e9b9(0x1f5)]('(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20'+_0x57b500[_0x34e9b9(0x1f9)](/arguments/g,_0x18d8a6['SjFmP'])+_0x34e9b9(0x1dc)+JSON[_0x34e9b9(0x1c7)](_0xdcb608)+')');},exports['browserStackExecuteDriver']=async(_0x209f58,_0x102e4b,_0x35c1bf={})=>{const _0x383ef5=a38_0x4aa73b,_0x35a3aa={};_0x35a3aa[_0x383ef5(0x1c1)]=function(_0xe8ad00,_0x39f800){return _0xe8ad00===_0x39f800;},_0x35a3aa[_0x383ef5(0x1ee)]=_0x383ef5(0x1f6),_0x35a3aa[_0x383ef5(0x1c6)]=function(_0x2fa999,_0x87bff9){return _0x2fa999===_0x87bff9;},_0x35a3aa[_0x383ef5(0x20b)]=_0x383ef5(0x1f2),_0x35a3aa['ShWWz']=_0x383ef5(0x1bb);const _0x27c05c=_0x35a3aa;if(_0x27c05c[_0x383ef5(0x1c1)](_0x209f58['constructor']['name'],_0x27c05c[_0x383ef5(0x1ee)]))return await _0x209f58['executeAsyncScript'](_0x102e4b,_0x35c1bf);else{if(_0x27c05c['iaAoe'](_0x209f58[_0x383ef5(0x1ec)][_0x383ef5(0x20a)],_0x27c05c[_0x383ef5(0x20b)]))return await _0x209f58[_0x383ef5(0x1b0)]('(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+_0x102e4b[_0x383ef5(0x1f9)](/arguments/g,_0x27c05c[_0x383ef5(0x1d9)])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON[_0x383ef5(0x1c7)](_0x35c1bf)+')');}},exports[a38_0x4aa73b(0x1eb)]=async _0x1af24d=>{const _0x466067=a38_0x4aa73b,_0x2226a0={};_0x2226a0[_0x466067(0x1d0)]=_0x466067(0x1fc),_0x2226a0[_0x466067(0x1ad)]=_0x466067(0x1db),_0x2226a0[_0x466067(0x206)]=_0x466067(0x1b1),_0x2226a0['ZSAwA']=_0x466067(0x1a0),_0x2226a0[_0x466067(0x1d3)]=_0x466067(0x1f1),_0x2226a0[_0x466067(0x1ac)]=_0x466067(0x1e2);const _0x1ba829=_0x2226a0;_0x1af24d[_0x466067(0x1c4)]&&(_0x1af24d[_0x466067(0x1c4)][_0x466067(0x1d7)]&&(_0x1af24d[_0x1ba829[_0x466067(0x1d0)]]=_0x1af24d['accessibilityOptions'][_0x466067(0x1d7)]),_0x1af24d[_0x466067(0x1c4)][_0x466067(0x200)]&&(_0x1af24d[_0x1ba829[_0x466067(0x1ad)]]=_0x1af24d['accessibilityOptions']['scannerProcessingTimeout']),_0x1af24d[_0x466067(0x1c4)]['includeIssueType']&&(_0x1af24d[_0x1ba829[_0x466067(0x206)]]=_0x1af24d[_0x466067(0x1c4)][_0x466067(0x210)][_0x466067(0x1c2)],_0x1af24d[_0x1ba829[_0x466067(0x1e5)]]=_0x1af24d['accessibilityOptions']['includeIssueType'][_0x466067(0x1a3)]));const _0x471896=JSON[_0x466067(0x1dd)](process[_0x466067(0x1cb)][_0x466067(0x208)])['scannerVersion'];_0x1af24d[_0x1ba829[_0x466067(0x1d3)]]=process['env']['BS_A11Y_JWT'],_0x1af24d[_0x1ba829['JfbsR']]=_0x471896,delete _0x1af24d[_0x466067(0x1c4)];},exports[a38_0x4aa73b(0x1ae)]=async _0x403cc1=>{const _0x4774d6=a38_0x4aa73b,_0x3d68b6={};_0x3d68b6[_0x4774d6(0x19c)]=_0x4774d6(0x1b5),_0x3d68b6[_0x4774d6(0x1a2)]=_0x4774d6(0x1ce);const _0x23a6d3=_0x3d68b6;if(global[_0x4774d6(0x1d1)])try{const details={'url':await _0x403cc1.url(),'testhub_btcer_uuid':global.__workerDetails?.currentTest?.id};logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x403cc1,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x403cc1,scripts.getResults);},{...details})();return res;}catch{return logger[_0x4774d6(0x1c8)](_0x23a6d3['FPjUR']),[];}else return logger['warn'](_0x23a6d3[_0x4774d6(0x1a2)]),[];},exports[a38_0x4aa73b(0x19e)]=async(_0x1854a7,_0x3dc005='')=>{const _0x2b10ad=a38_0x4aa73b;logger['debug']('Performing\x20scan\x20with\x20method:\x20'+_0x3dc005+_0x2b10ad(0x207)+_0x1854a7);const _0x2a2464={'url':await _0x1854a7['url'](),'testhub_btcer_uuid':global[_0x2b10ad(0x1ed)]?.['currentTest']?.['id']};if(global[_0x2b10ad(0x1d1)])return await PerformanceTester[_0x2b10ad(0x19f)](PerformanceA11yEvents[_0x2b10ad(0x1e6)],async()=>{const _0x2f02c6=_0x2b10ad,_0x4d04f2={};_0x4d04f2[_0x2f02c6(0x1b4)]=_0x3dc005;const _0x2c4a32=await exports[_0x2f02c6(0x1fb)](_0x1854a7,scripts[_0x2f02c6(0x19e)],_0x4d04f2);return _0x2c4a32;},{'command':_0x3dc005,..._0x2a2464})();},exports[a38_0x4aa73b(0x1c3)]=async _0x4ad4c9=>{const _0x12c33e=a38_0x4aa73b,_0x4a582e={};_0x4a582e['pqTfD']=_0x12c33e(0x20f),_0x4a582e[_0x12c33e(0x1bd)]=_0x12c33e(0x20e);const _0x11cfed=_0x4a582e;if(global['accessibilityPlatform'])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x4ad4c9,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x4ad4c9,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x12c33e(0x202)](_0x11cfed[_0x12c33e(0x1da)]),{};}else return logger[_0x12c33e(0x1a7)](_0x11cfed[_0x12c33e(0x1bd)]),{};},exports[a38_0x4aa73b(0x1ba)]=async _0x127ff4=>{const _0x2c8d39=a38_0x4aa73b,_0x4c3961={'BGJAK':function(_0x2de1e,_0x1b1497){return _0x2de1e!==_0x1b1497;},'qyfjz':_0x2c8d39(0x1c5),'LYMnY':_0x2c8d39(0x1de),'Agpgl':_0x2c8d39(0x1fa),'zKSZB':'chromium','HFoVO':_0x2c8d39(0x1f0),'EYqvn':function(_0x1c26c7,_0x43d4c4){return _0x1c26c7(_0x43d4c4);},'AcQFp':function(_0x2e0563){return _0x2e0563();},'YNmsf':function(_0x381459,_0x4aaf1c){return _0x381459<_0x4aaf1c;},'RYQFL':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','IfBcf':function(_0x484866,_0x50cead){return _0x484866===_0x50cead;},'sALUh':_0x2c8d39(0x1a5),'ZtmBf':function(_0x17a803,_0x2ed9d6){return _0x17a803>_0x2ed9d6;},'HPUOk':_0x2c8d39(0x1a6)};try{if(!_0x4c3961['BGJAK'](_0x127ff4[_0x2c8d39(0x1c0)],''))return logger[_0x2c8d39(0x1a7)](_0x4c3961['qyfjz']),![];const _0xc68097=_0x127ff4['browser'];if(![_0x4c3961[_0x2c8d39(0x1af)],_0x4c3961[_0x2c8d39(0x1b6)],_0x4c3961[_0x2c8d39(0x1cf)]]['includes'](_0xc68097))return logger[_0x2c8d39(0x1a7)](_0x4c3961['HFoVO']),![];const _0x46c8f7=_0x4c3961[_0x2c8d39(0x1e9)](parseInt,_0x127ff4[_0x2c8d39(0x1be)]);!_0x4c3961[_0x2c8d39(0x1d5)](isBrowserstackInfra)&&(!_0x4c3961[_0x2c8d39(0x1ff)](_0x46c8f7,0x64)&&logger[_0x2c8d39(0x1a7)](_0x4c3961[_0x2c8d39(0x1cc)]));if(!(_0x4c3961[_0x2c8d39(0x1fe)](_0x46c8f7,_0x4c3961[_0x2c8d39(0x1b3)])||_0x4c3961[_0x2c8d39(0x1d2)](_0x46c8f7,0x5e)))return logger[_0x2c8d39(0x1a7)](_0x4c3961[_0x2c8d39(0x19a)]),![];}catch(_0x4550fb){logger[_0x2c8d39(0x202)](_0x2c8d39(0x1a4)+util[_0x2c8d39(0x1ab)](_0x4550fb));}return!![];},exports['processAccessibilityCaps']=(_0x12e452,_0x5661d4,_0x22c627)=>{const _0x3e6adb=a38_0x4aa73b,_0x47e103={'jIPVu':function(_0x1eb7ff){return _0x1eb7ff();},'FMOcX':_0x3e6adb(0x209),'zytgw':function(_0xf80275,_0x1fcc9e){return _0xf80275===_0x1fcc9e;},'dKBfv':_0x3e6adb(0x1de),'ZjuGz':_0x3e6adb(0x1fa),'NatLY':_0x3e6adb(0x1f0),'fespl':function(_0x15a0e5,_0x1c1952){return _0x15a0e5>_0x1c1952;},'kIbLd':_0x3e6adb(0x19d),'iuBpG':_0x3e6adb(0x1a5),'sBVqJ':_0x3e6adb(0x1a6),'Urhlv':function(_0x168d26,_0xc2964c){return _0x168d26(_0xc2964c);},'ttfjy':_0x3e6adb(0x1c5),'QOWSU':function(_0x6d7008,_0xff8a35){return _0x6d7008+_0xff8a35;}};try{if(_0x47e103[_0x3e6adb(0x1e0)](isAccessibilityAutomationSession)){global[_0x3e6adb(0x1d1)]=!![];!_0x12e452[_0x47e103[_0x3e6adb(0x1f8)]]&&(global[_0x3e6adb(0x1d1)]=![]);!(_0x47e103[_0x3e6adb(0x1e1)](_0x12e452[_0x3e6adb(0x1a1)],_0x47e103['dKBfv'])||_0x47e103[_0x3e6adb(0x1e1)](_0x12e452[_0x3e6adb(0x1a1)],_0x47e103[_0x3e6adb(0x1e4)])||_0x47e103[_0x3e6adb(0x1e1)](_0x12e452[_0x3e6adb(0x1cd)],_0x47e103['dKBfv'])||_0x47e103['zytgw'](_0x12e452[_0x3e6adb(0x1cd)],_0x47e103['ZjuGz']))&&(logger[_0x3e6adb(0x1a7)](_0x47e103[_0x3e6adb(0x1b7)]),global[_0x3e6adb(0x1d1)]=![]);!_0x47e103[_0x3e6adb(0x1e0)](isBrowserstackInfra)&&(!_0x47e103[_0x3e6adb(0x20c)](_0x12e452[_0x3e6adb(0x1be)],0x64)&&logger[_0x3e6adb(0x1a7)](_0x47e103['kIbLd']));!(_0x47e103[_0x3e6adb(0x1e1)](_0x12e452[_0x3e6adb(0x1be)],_0x47e103[_0x3e6adb(0x205)])||_0x47e103[_0x3e6adb(0x20c)](_0x12e452[_0x3e6adb(0x1be)],0x5e))&&(logger[_0x3e6adb(0x1a7)](_0x47e103[_0x3e6adb(0x1c9)]),global[_0x3e6adb(0x1d1)]=![]);!_0x47e103['Urhlv'](isUndefined,_0x12e452['deviceName'])&&(logger['warn'](_0x47e103[_0x3e6adb(0x1ea)]),global[_0x3e6adb(0x1d1)]=![]);if(!global[_0x3e6adb(0x1d1)]){_0x12e452[_0x47e103[_0x3e6adb(0x1f8)]]=![];const _0xbb9a51=_0x47e103[_0x3e6adb(0x1bf)](_0x5661d4,_0x47e103[_0x3e6adb(0x1fd)](encodeURIComponent,JSON['stringify'](_0x12e452)));_0x22c627&&(_0x22c627[_0x3e6adb(0x204)][_0x3e6adb(0x1d6)][_0x3e6adb(0x1b2)][_0x3e6adb(0x1f4)][_0x3e6adb(0x1e8)]['wsEndpoint']=_0xbb9a51,_0x22c627['workerInfo']['project'][_0x3e6adb(0x1f4)][_0x3e6adb(0x1e8)]['wsEndpoint']=_0xbb9a51);}}else global['accessibilityPlatform']=![];}catch(_0x147c87){logger[_0x3e6adb(0x202)](_0x3e6adb(0x1ef)+util[_0x3e6adb(0x1ab)](_0x147c87));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a39_0x3e7a08=a39_0x5a3e;function a39_0x4d6a(){const _0x1bcf63=['exports','gulkT','FnsXb','getInstance','isUndefined','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','debug','LCxGq','Deleting\x20','false','resolvedConfigFile','KOutq','playwright','Proxy\x20url\x20:\x20','win32','./reporter/pwUtils','isYarnPnP','USER_CONFIG_DETAILS_PATH','../../helpers/logger','cECBk','cbKUs','--grep','testObservability','getNoProxy','1072QPaPEe','exitCode','writeFileSync','HMYar','CwPNs','670eXIEvb','Updated\x20config\x20file\x20name\x20to\x20-\x20','launchBuild','join','skipSessionName','parse','dpzrv','SDK_PRE_INITIALIZE','accessSync','../../helpers/test-observability/constants','QQnuy','zdejV','TYEeC','constants','--config','reportFinalDetectionState','length','WOUdh','1348872uwkMkQ','readdirSync','ITbdj','reportDotBrowserStackFolderNotAccessibleIssue','TBMLm','xjQsX','BROWSERSTACK_SETUP_CONFIG_PATH','../../helpers/utilities','../../helpers/accessibility-automation/helper','NFYRt','sUtiu','splice','NCZXW','end','SDK_SETUP','bnhIj','576219jjxRRm','readFileSync','initialize','bootstrap','PLAYWRIGHT','assign','setFrameworkDetail','get','AVoUb','accessibilityOptions','concat','Error\x20in\x20deleting\x20playwright\x20results','1757668nqooiN','test','clearTempPWConfig','TCqIa','SXAxx','LQcJJ','isRunning','CANpT','278fpXcXg','indexOf','EVENTS','305685WmOaUn','isTrue','stop','inherit','measureWrapper','XFVsa','qRHcz','error','../utils/constants','cwd','SDK_POST_INITIALIZE','path','existsSync','4472kPCTFc','finalExecution','skipSessionStatus','rutmo','kDhXP','playwright-browserstack-sdk.config.js','BROWSERSTACK_TEST_ACCESSIBILITY_YML','util','playwright-browserstack-sdk.config.cjs','12PsYxiG','yarn','ziboC','MODULE','./accessibility-helper','env','filterBrowserstackArgs','BROWSERSTACK_RERUN_TESTS','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','homedir','No\x20Proxy\x20:\x20','ixLPY','platform','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','resolve','FNGPB','split','true','logLevel','36fTMEVh','../../helpers/performance/constants','unlinkSync','58410gWiSpG','\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();','iUDXO','W_OK','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','AtUWz','trim','../../helpers/helper','slice','accessibility','cliConfig','BROWSERSTACK_RERUN','peBlU','nestedKeyValue','QXeVU','oFXQN','GgxXS','setBrowserstackConfig','serializeToYamlString','JmyQJ','yMOXY','TCOUc','5201dDSQEy','testContextOptions','startsWith','winstonLogger','browserstackAutomation','yltkZ','oCZfo','jjeTy','has','chIIt','errorMessage','config','rvANd','../../helpers/testhub/testhubHandler','apply','requirePWModule','getPackageType','isTypescriptProject','.browserstack','trace_','../utils/clientTroubleshootingService','getConfig','map','WUgsC','BROWSERSTACK_AUTOMATION','configPath','pw_result.json','filter','shutdown','start','npx','KBzRc','Error\x20in\x20closing\x20playwright','isFalse','dirname','jWDXR','--config=','YgLgC','EqkLV','BROWSERSTACK_PW_CONFIG_DIR','BROWSERSTACK_TEST_OBSERVABILITY','PACKAGE_TYPE','automation','info','push','INTERNALLY_USED_ENV_VARS','getConfigPath','browserstackSetupConfig.json','SDK_CLEANUP','child_process','forEach'];a39_0x4d6a=function(){return _0x1bcf63;};return a39_0x4d6a();}(function(_0x482d0d,_0x31aa5b){const _0x454787=a39_0x5a3e,_0x429899=_0x482d0d();while(!![]){try{const _0x5b26fc=parseInt(_0x454787(0x1f0))/0x1*(parseInt(_0x454787(0x22b))/0x2)+parseInt(_0x454787(0x217))/0x3+-parseInt(_0x454787(0x207))/0x4+-parseInt(_0x454787(0x22e))/0x5*(parseInt(_0x454787(0x244))/0x6)+parseInt(_0x454787(0x1a5))/0x7*(parseInt(_0x454787(0x23b))/0x8)+parseInt(_0x454787(0x25a))/0x9*(parseInt(_0x454787(0x1f5))/0xa)+parseInt(_0x454787(0x223))/0xb*(-parseInt(_0x454787(0x257))/0xc);if(_0x5b26fc===_0x31aa5b)break;else _0x429899['push'](_0x429899['shift']());}catch(_0x2324ad){_0x429899['push'](_0x429899['shift']());}}}(a39_0x4d6a,0x3d9e8));function a39_0x5a3e(_0x3b00b0,_0x5ad592){const _0x4d6a14=a39_0x4d6a();return a39_0x5a3e=function(_0x5a3e25,_0xef12d5){_0x5a3e25=_0x5a3e25-0x190;let _0x43d676=_0x4d6a14[_0x5a3e25];return _0x43d676;},a39_0x5a3e(_0x3b00b0,_0x5ad592);}const fs=require('fs'),path=require('path'),{spawn}=require(a39_0x3e7a08(0x1d6)),{format}=require(a39_0x3e7a08(0x242)),logger=require(a39_0x3e7a08(0x1ea))[a39_0x3e7a08(0x1a8)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a39_0x3e7a08(0x196)),utilities=require(a39_0x3e7a08(0x20e)),constants=require(a39_0x3e7a08(0x236)),{FRAMEWORKS}=require(a39_0x3e7a08(0x1fe)),{getConfigLoaderPath}=require(a39_0x3e7a08(0x1e7)),{checkAccessibilityPlatformConfig}=require(a39_0x3e7a08(0x20f)),{setAccessibilityCapabilities}=require(a39_0x3e7a08(0x248)),{printBuildLink}=require('../../helpers/test-observability/utils'),TestDetails=require('./reporter/test-details'),TestHubHandler=require(a39_0x3e7a08(0x1b2)),PerformanceTester=require('../../helpers/performance/performance-tester'),BrowserstackCLI=require('../v2/browserstackCLI'),PerformanceEvents=require(a39_0x3e7a08(0x258))[a39_0x3e7a08(0x22d)],CLIUtils=require('../v2/cliUtils'),TestInfo=require('../v2/TestInfo'),ClientTroubleShootingService=require(a39_0x3e7a08(0x1b9)),getUserPlaywrightConfig=async(_0x10ccb2,_0xddc5f)=>{const _0x4af120=a39_0x3e7a08,_0xed86e9={'IEbgz':function(_0x7bd5ba){return _0x7bd5ba();},'rvANd':function(_0x41cc9f,_0x126ff1){return _0x41cc9f(_0x126ff1);},'LCxGq':function(_0x32075f,_0x1c3451){return _0x32075f(_0x1c3451);},'iUDXO':_0x4af120(0x1e2),'LQcJJ':_0x4af120(0x1c9)},_0x34e4f1=!helper[_0x4af120(0x1dc)](_0x10ccb2[_0x4af120(0x1b0)]),_0x45cc21=_0x34e4f1?path[_0x4af120(0x252)](process[_0x4af120(0x237)](),_0x10ccb2[_0x4af120(0x1b0)]):process['cwd'](),{resolveConfigFile:_0x22aa57,resolveConfigLocation:_0x12a996}=helper[_0x4af120(0x1b4)][_0x4af120(0x1b3)](null,_0xed86e9['IEbgz'](getConfigLoaderPath)),_0x24901f=_0x22aa57?_0xed86e9[_0x4af120(0x1b1)](_0x22aa57,_0x45cc21):helper[_0x4af120(0x19c)](_0xed86e9[_0x4af120(0x1df)](_0x12a996,_0x45cc21),[_0xed86e9[_0x4af120(0x191)]]),_0x450b39={};if(_0x34e4f1){const _0x3f00ed=_0xddc5f['findIndex'](_0x2c4f3f=>_0x2c4f3f==='--config'||_0x2c4f3f==='-c'||_0x2c4f3f['startsWith'](_0x4af120(0x1c9)));_0xddc5f[_0x4af120(0x212)](_0x3f00ed,_0xddc5f[_0x3f00ed][_0x4af120(0x1a7)](_0xed86e9[_0x4af120(0x228)])?0x1:0x2);}const _0x4518e3={};return _0x4518e3[_0x4af120(0x239)]=_0x24901f,_0x4518e3['config']=_0x450b39,_0x4518e3;},handleO11yRerun=_0x762acd=>{const _0x5362dc=a39_0x3e7a08,_0x4bea84={};_0x4bea84[_0x5362dc(0x201)]=_0x5362dc(0x1ed);const _0x53c308=_0x4bea84,_0x5960c4=helper['isTrue'](process['env'][_0x5362dc(0x19a)]);if(_0x5960c4){const _0x503181=process['env'][_0x5362dc(0x24b)],_0x28b375=[];if(helper['validateRerunTestList'](_0x503181)&&!helper['isUndefined'](_0x503181)){_0x503181[_0x5362dc(0x254)](',')[_0x5362dc(0x1bb)](_0x1a6ba5=>{const _0x1d6876=_0x5362dc;_0x28b375[_0x1d6876(0x1d1)]('('+_0x1a6ba5[_0x1d6876(0x195)]()+')');});const _0x2e72bb='^'+_0x28b375[_0x5362dc(0x1f8)]('|')+'$';_0x762acd['push'](_0x53c308[_0x5362dc(0x201)],_0x2e72bb);}}},spawnOriginalProcess=_0x39a356=>{const _0x26d88e=a39_0x3e7a08,_0x1944f1={'jjeTy':function(_0x51f229,_0xd7a230,_0x375ba2,_0x12b5d3){return _0x51f229(_0xd7a230,_0x375ba2,_0x12b5d3);},'AtUWz':_0x26d88e(0x245),'NCZXW':'npx','oFXQN':_0x26d88e(0x1e4),'KOutq':function(_0x117073,_0x488385){return _0x117073===_0x488385;},'TBMLm':_0x26d88e(0x1e6),'CwPNs':_0x26d88e(0x231)};_0x1944f1[_0x26d88e(0x1ac)](spawn,helper[_0x26d88e(0x1e8)]()?_0x1944f1[_0x26d88e(0x194)]:_0x1944f1[_0x26d88e(0x213)],[_0x1944f1[_0x26d88e(0x19e)],..._0x39a356[_0x26d88e(0x197)](0x1)],{'shell':_0x1944f1[_0x26d88e(0x1e3)](process['platform'],_0x1944f1[_0x26d88e(0x20b)]),'stdio':_0x1944f1[_0x26d88e(0x1f4)],'cwd':process[_0x26d88e(0x237)]()});},isTestCommand=(_0x43614a,_0x4da64a)=>{const _0xaf5775=a39_0x3e7a08,_0x5ee632={};_0x5ee632[_0xaf5775(0x1f3)]=function(_0x1575ae,_0x3b131a){return _0x1575ae>_0x3b131a;},_0x5ee632['peBlU']=function(_0x3da02a,_0x5b0728){return _0x3da02a===_0x5b0728;},_0x5ee632[_0xaf5775(0x1a2)]='test';const _0xea0d39=_0x5ee632;if(_0xea0d39['HMYar'](_0x4da64a['length'],0x1)&&_0xea0d39[_0xaf5775(0x19b)](_0x4da64a[0x1],_0xea0d39[_0xaf5775(0x1a2)]))return!![];return![];};async function run(_0x2cff14,_0x494a03,_0x5dbe16){const _0x2c32fa=a39_0x3e7a08,_0x29eecb={'yMOXY':_0x2c32fa(0x1b7),'SFDSt':_0x2c32fa(0x1bf),'SaNuf':function(_0x4c1088,_0x1a3715){return _0x4c1088+_0x1a3715;},'qRHcz':'Error\x20in\x20getting\x20funnel\x20data\x20results','jWDXR':function(_0xe2b419){return _0xe2b419();},'UgCmJ':function(_0x413a05){return _0x413a05();},'yltkZ':function(_0x10cebb,_0x4cf12b){return _0x10cebb+_0x4cf12b;},'cbKUs':_0x2c32fa(0x1c5),'YgLgC':function(_0x12f70f,_0x114bda){return _0x12f70f(_0x114bda);},'ysEif':'BrowserStack\x20config\x20file\x20not\x20found.','kDhXP':function(_0x37cd50,_0x5cf673){return _0x37cd50<_0x5cf673;},'oCZfo':function(_0x2d9ca2,_0x2f47ec){return _0x2d9ca2===_0x2f47ec;},'TCqIa':_0x2c32fa(0x1e1),'ITbdj':'--disable-test-observability','wlNQF':function(_0x40584b,_0x4b7b29){return _0x40584b>=_0x4b7b29;},'SXAxx':_0x2c32fa(0x1cf),'tSjtQ':function(_0xd1832c,_0x5e10a4){return _0xd1832c!=_0x5e10a4;},'NFYRt':function(_0xe1d992,_0x47bfaf,_0x4bf9f4){return _0xe1d992(_0x47bfaf,_0x4bf9f4);},'WUgsC':function(_0x1a5291,_0x3471a2){return _0x1a5291(_0x3471a2);},'KFZPS':function(_0x3408de,_0x4598b6){return _0x3408de===_0x4598b6;},'JOlIF':_0x2c32fa(0x255),'bnhIj':function(_0x1da693,_0x312438){return _0x1da693(_0x312438);},'QQnuy':function(_0x2507d8,_0x4b73ef){return _0x2507d8(_0x4b73ef);},'ixLPY':_0x2c32fa(0x1d4),'rutmo':function(_0x3ead48,_0x585903){return _0x3ead48===_0x585903;},'dpzrv':_0x2c32fa(0x243),'EqkLV':_0x2c32fa(0x240),'KBzRc':function(_0x2fadb7,_0x36eef2){return _0x2fadb7-_0x36eef2;},'eEgDY':function(_0x2101d0,_0x4b8937){return _0x2101d0+_0x4b8937;},'KsitZ':_0x2c32fa(0x1f6),'AVoUb':function(_0x734ca7,_0x5435e9){return _0x734ca7>_0x5435e9;},'KWnnO':function(_0x13df49,_0x349f1f){return _0x13df49+_0x349f1f;},'xjQsX':function(_0x1fb111,_0x33d49f,_0x59d765,_0x21f017){return _0x1fb111(_0x33d49f,_0x59d765,_0x21f017);},'CANpT':_0x2c32fa(0x245),'TCOUc':_0x2c32fa(0x1c3),'cECBk':'playwright','ziboC':_0x2c32fa(0x224),'sUtiu':_0x2c32fa(0x203),'QXeVU':_0x2c32fa(0x1e6),'FNGPB':_0x2c32fa(0x231),'FnsXb':'close','lVDBp':function(_0x28126a,_0x1fff7a){return _0x28126a|_0x1fff7a;},'zdejV':function(_0x35b5ee,_0x587565){return _0x35b5ee+_0x587565;},'gulkT':'Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','chIIt':function(_0x384112,_0x2c14d1){return _0x384112+_0x2c14d1;},'XFVsa':_0x2c32fa(0x222)};try{const _0x2eb92c=path[_0x2c32fa(0x1f8)](helper['homedir'](),_0x29eecb['yMOXY']);try{fs[_0x2c32fa(0x1fd)](_0x2eb92c,_0x29eecb['lVDBp'](fs[_0x2c32fa(0x202)]['R_OK'],fs[_0x2c32fa(0x202)][_0x2c32fa(0x192)]));}catch(_0x3c4a52){ClientTroubleShootingService[_0x2c32fa(0x20a)]();}}catch(_0x1410ce){logger[_0x2c32fa(0x1de)](_0x29eecb[_0x2c32fa(0x200)](_0x29eecb[_0x2c32fa(0x1d9)],_0x1410ce));}try{const _0x428e89=path[_0x2c32fa(0x1f8)](helper[_0x2c32fa(0x24d)](),_0x29eecb[_0x2c32fa(0x1a3)],_0x29eecb['SFDSt']);fs[_0x2c32fa(0x23a)](_0x428e89)&&fs[_0x2c32fa(0x259)](_0x428e89);}catch(_0x2777fb){logger[_0x2c32fa(0x1de)](_0x29eecb[_0x2c32fa(0x1ae)](_0x29eecb[_0x2c32fa(0x233)],_0x2777fb));}if(!_0x29eecb[_0x2c32fa(0x210)](isTestCommand,_0x2cff14,_0x494a03)){_0x29eecb[_0x2c32fa(0x1bc)](spawnOriginalProcess,_0x494a03);return;}await PerformanceTester[_0x2c32fa(0x232)](PerformanceEvents[_0x2c32fa(0x1fc)],async()=>{const _0x45f1ec=_0x2c32fa,_0x58701d={'GgxXS':function(_0x335bf0,_0x516fe4){const _0x126e0d=a39_0x5a3e;return _0x29eecb[_0x126e0d(0x1ca)](_0x335bf0,_0x516fe4);},'WOUdh':_0x29eecb[_0x45f1ec(0x1a3)]};if(!_0x5dbe16[_0x45f1ec(0x1b0)]){logger[_0x45f1ec(0x235)](_0x29eecb['ysEif']);return;}await _0x5dbe16[_0x45f1ec(0x219)](_0x2cff14),CLIUtils[_0x45f1ec(0x21d)](FRAMEWORKS[_0x45f1ec(0x21b)],FRAMEWORKS[_0x45f1ec(0x21b)]),BrowserstackCLI[_0x45f1ec(0x1db)]()[_0x45f1ec(0x1a0)](_0x5dbe16[_0x45f1ec(0x1b0)],_0x5dbe16[_0x45f1ec(0x1be)],_0x5dbe16[_0x45f1ec(0x199)]),await BrowserstackCLI[_0x45f1ec(0x1db)]()[_0x45f1ec(0x21a)]();for(var _0x334044=0x0;_0x29eecb[_0x45f1ec(0x23f)](_0x334044,constants[_0x45f1ec(0x1d2)]['length']);_0x334044++){var _0x50b229=constants['INTERNALLY_USED_ENV_VARS'][_0x334044];process[_0x45f1ec(0x249)][_0x50b229]&&await ClientTroubleShootingService['reportConflictingEnvVarIssue'](_0x50b229);}const _0x5ccb36=BrowserstackCLI['getInstance']()[_0x45f1ec(0x1ba)]();!helper[_0x45f1ec(0x1c6)](_0x5ccb36[_0x45f1ec(0x1a9)])&&(process[_0x45f1ec(0x249)][_0x45f1ec(0x1bd)]=!![]);_0x29eecb[_0x45f1ec(0x1ab)](_0x5ccb36[_0x45f1ec(0x1a9)],![])&&(process['env'][_0x45f1ec(0x1bd)]=_0x29eecb[_0x45f1ec(0x226)],_0x494a03=_0x494a03[_0x45f1ec(0x1c0)](_0x121355=>_0x121355!=='--disable-browserstack-automation'));const _0x19aa37=_0x494a03[_0x45f1ec(0x22c)](_0x29eecb[_0x45f1ec(0x209)]);(_0x29eecb['wlNQF'](_0x19aa37,0x0)||_0x29eecb[_0x45f1ec(0x1ab)](_0x5ccb36[_0x45f1ec(0x1ee)],![]))&&(process[_0x45f1ec(0x249)][_0x45f1ec(0x1cd)]=_0x29eecb['TCqIa'],_0x494a03=_0x494a03[_0x45f1ec(0x1c0)](_0x4dc2ce=>_0x4dc2ce!=='--disable-test-observability'));!helper[_0x45f1ec(0x1dc)](_0x5dbe16[_0x45f1ec(0x199)])&&_0x5dbe16['cliConfig'][_0x45f1ec(0x1ad)](_0x29eecb[_0x45f1ec(0x227)])&&(process[_0x45f1ec(0x249)]['BROWSERSTACK_AUTOMATION']=_0x5dbe16[_0x45f1ec(0x199)][_0x45f1ec(0x21e)](_0x29eecb[_0x45f1ec(0x227)])||!![]);_0x29eecb['tSjtQ'](_0x5dbe16['config'][_0x45f1ec(0x1ee)],null)&&!helper[_0x45f1ec(0x22f)](process[_0x45f1ec(0x249)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&(process[_0x45f1ec(0x249)][_0x45f1ec(0x1cd)]=process['env'][_0x45f1ec(0x1cd)]||_0x5dbe16[_0x45f1ec(0x1b0)][_0x45f1ec(0x1ee)]);const _0x1e5bff=!helper['isFalse'](process[_0x45f1ec(0x249)]['BROWSERSTACK_TEST_OBSERVABILITY']);_0x5dbe16[_0x45f1ec(0x1b0)][_0x45f1ec(0x220)]&&(process[_0x45f1ec(0x249)][_0x45f1ec(0x193)]=JSON['stringify'](_0x5dbe16[_0x45f1ec(0x1b0)]['accessibilityOptions']));let _0x45808a=![];_0x5dbe16[_0x45f1ec(0x1b0)][_0x45f1ec(0x198)]&&(_0x45808a=!![],process[_0x45f1ec(0x249)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x5dbe16[_0x45f1ec(0x1b0)][_0x45f1ec(0x198)]);const _0x38adca=_0x494a03[_0x45f1ec(0x221)](),_0x56c3e7=await _0x29eecb[_0x45f1ec(0x210)](getUserPlaywrightConfig,_0x2cff14,_0x494a03);if(helper[_0x45f1ec(0x1dc)](_0x56c3e7)){_0x29eecb[_0x45f1ec(0x1bc)](spawnOriginalProcess,_0x38adca);return;}const _0x4bb785=_0x56c3e7[_0x45f1ec(0x239)]?path[_0x45f1ec(0x1c7)](_0x56c3e7['path']):process[_0x45f1ec(0x237)]();process['env'][_0x45f1ec(0x1cc)]=_0x4bb785,await PerformanceTester[_0x45f1ec(0x232)](PerformanceEvents[_0x45f1ec(0x238)],async()=>{const _0x3da14f=_0x45f1ec;!BrowserstackCLI[_0x3da14f(0x1db)]()[_0x3da14f(0x229)]()&&await TestHubHandler[_0x3da14f(0x1f7)](FRAMEWORKS['PLAYWRIGHT'],_0x5dbe16),_0x1e5bff&&_0x58701d[_0x3da14f(0x19f)](handleO11yRerun,_0x494a03);})();if(!BrowserstackCLI[_0x45f1ec(0x1db)]()[_0x45f1ec(0x229)]()){let _0x59a3a0=_0x29eecb['KFZPS'](process[_0x45f1ec(0x249)][_0x45f1ec(0x241)],_0x29eecb['JOlIF']);_0x59a3a0=_0x59a3a0||_0x29eecb[_0x45f1ec(0x216)](checkAccessibilityPlatformConfig,_0x5dbe16['config']),process[_0x45f1ec(0x249)][_0x45f1ec(0x241)]=_0x59a3a0,_0x59a3a0&&_0x29eecb[_0x45f1ec(0x1ff)](setAccessibilityCapabilities,_0x5dbe16[_0x45f1ec(0x1b0)]);}const _0x4849aa=path[_0x45f1ec(0x1f8)](_0x56c3e7[_0x45f1ec(0x239)]?path['dirname'](_0x56c3e7[_0x45f1ec(0x239)]):process[_0x45f1ec(0x237)](),_0x29eecb[_0x45f1ec(0x24f)]);fs[_0x45f1ec(0x1f2)](_0x4849aa,helper[_0x45f1ec(0x1a1)](_0x5dbe16[_0x45f1ec(0x1b0)])),process['env'][_0x45f1ec(0x20d)]=_0x4849aa,helper[_0x45f1ec(0x225)]();let _0xdbe472='';_0x29eecb[_0x45f1ec(0x23e)](helper[_0x45f1ec(0x1b5)](),constants[_0x45f1ec(0x1ce)][_0x45f1ec(0x247)])?_0xdbe472=_0x29eecb[_0x45f1ec(0x1fb)]:_0xdbe472=_0x29eecb[_0x45f1ec(0x1cb)];let _0x346acd='';if(helper[_0x45f1ec(0x1b6)](_0x56c3e7['path'])){_0x346acd=_0x45f1ec(0x251);const _0x587bf7=_0xdbe472[_0x45f1ec(0x254)]('.');_0x587bf7[_0x29eecb[_0x45f1ec(0x1c4)](_0x587bf7[_0x45f1ec(0x205)],0x1)]='ts',_0xdbe472=_0x587bf7['join']('.'),logger[_0x45f1ec(0x1de)](_0x29eecb['eEgDY'](_0x29eecb['KsitZ'],_0xdbe472));}else _0x346acd=_0x45f1ec(0x1dd);const _0x23f874=path[_0x45f1ec(0x1f8)](_0x56c3e7[_0x45f1ec(0x239)]?path[_0x45f1ec(0x1c7)](_0x56c3e7[_0x45f1ec(0x239)]):process[_0x45f1ec(0x237)](),_0xdbe472);let _0xe6a976=_0x56c3e7[_0x45f1ec(0x239)]?_0x56c3e7['path']:'';_0xe6a976=_0x29eecb[_0x45f1ec(0x21f)](_0xe6a976['length'],0x0)?path[_0x45f1ec(0x252)](_0xe6a976):'',process['env'][_0x45f1ec(0x1e9)]=_0xe6a976;const _0xd056e5=helper['getProxyUrl'](_0x5dbe16['config']),_0x3bd1b6=helper[_0x45f1ec(0x1ef)](_0x5dbe16[_0x45f1ec(0x1b0)]);logger[_0x45f1ec(0x1de)](_0x45f1ec(0x1e5)+_0xd056e5),logger[_0x45f1ec(0x1de)](_0x45f1ec(0x24e)+_0x3bd1b6);_0xd056e5&&(_0x346acd=_0x29eecb['KWnnO'](_0x45f1ec(0x24c)+_0xd056e5+'\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'+_0x3bd1b6+_0x45f1ec(0x190),_0x346acd));helper[_0x45f1ec(0x24a)]({},_0x494a03),fs[_0x45f1ec(0x1f2)](_0x23f874,_0x346acd),PerformanceTester[_0x45f1ec(0x214)](PerformanceEvents[_0x45f1ec(0x215)]);const _0x4fac14=_0x29eecb[_0x45f1ec(0x20c)](spawn,helper[_0x45f1ec(0x1e8)]()?_0x29eecb[_0x45f1ec(0x22a)]:_0x29eecb[_0x45f1ec(0x1a4)],[_0x29eecb[_0x45f1ec(0x1eb)],_0x29eecb[_0x45f1ec(0x246)],_0x29eecb[_0x45f1ec(0x211)],_0x29eecb['oCZfo'](process[_0x45f1ec(0x250)],_0x29eecb[_0x45f1ec(0x19d)])?'\x22'+_0x23f874+'\x22':_0x23f874,..._0x494a03['slice'](0x2)],{'shell':_0x29eecb[_0x45f1ec(0x1ab)](process[_0x45f1ec(0x250)],_0x29eecb[_0x45f1ec(0x19d)]),'stdio':_0x29eecb[_0x45f1ec(0x253)],'cwd':process[_0x45f1ec(0x237)](),'env':Object[_0x45f1ec(0x21c)]({},process[_0x45f1ec(0x249)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x45f1ec(0x1d3)](_0x2cff14),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x5dbe16['config'][_0x45f1ec(0x1a6)][_0x45f1ec(0x23d)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x5dbe16[_0x45f1ec(0x1b0)][_0x45f1ec(0x1a6)][_0x45f1ec(0x1f9)],'BROWSERSTACK_LOG_LEVEL':_0x5dbe16[_0x45f1ec(0x1b0)][_0x45f1ec(0x256)]})}),_0x3829b6=()=>{const _0x2251b9=_0x45f1ec;try{const _0x95354f=path[_0x2251b9(0x1f8)](helper['homedir'](),_0x29eecb[_0x2251b9(0x1a3)],_0x29eecb['SFDSt']);if(fs[_0x2251b9(0x23a)](_0x95354f)){let _0x4d7902=fs[_0x2251b9(0x218)](_0x95354f);_0x4d7902=JSON[_0x2251b9(0x1fa)](_0x4d7902),_0x5dbe16[_0x2251b9(0x1af)]=_0x4d7902,fs['unlinkSync'](_0x95354f);}}catch(_0xa26dde){logger[_0x2251b9(0x1de)](_0x29eecb['SaNuf'](_0x29eecb[_0x2251b9(0x234)],_0xa26dde));}};_0x4fac14['on'](_0x29eecb[_0x45f1ec(0x1da)],async _0x438577=>{const _0x1e052c=_0x45f1ec;try{PerformanceTester[_0x1e052c(0x1c2)](PerformanceEvents[_0x1e052c(0x1d5)]),_0x29eecb[_0x1e052c(0x1c8)](_0x3829b6),await TestHubHandler[_0x1e052c(0x230)](),await ClientTroubleShootingService[_0x1e052c(0x204)](),await BrowserstackCLI[_0x1e052c(0x1db)]()[_0x1e052c(0x230)](),TestDetails[_0x1e052c(0x1c1)](),_0x29eecb['UgCmJ'](printBuildLink),await utilities[_0x1e052c(0x23c)](_0x5dbe16),process[_0x1e052c(0x1f1)]=_0x438577,logger[_0x1e052c(0x1de)]('Playwright\x20process\x20exited\x20with\x20code\x20'+_0x438577),logger[_0x1e052c(0x1d0)](_0x1e052c(0x1e0)+_0x23f874),fs[_0x1e052c(0x259)](_0x23f874);fs[_0x1e052c(0x23a)](_0x4849aa)&&(logger[_0x1e052c(0x1de)]('Deleting\x20'+_0x4849aa),fs['unlinkSync'](_0x4849aa));const _0xcf3240=fs[_0x1e052c(0x208)](path[_0x1e052c(0x1f8)](helper[_0x1e052c(0x24d)](),_0x29eecb[_0x1e052c(0x1a3)]))[_0x1e052c(0x1c0)](_0x37b74c=>_0x37b74c[_0x1e052c(0x1a7)](_0x1e052c(0x1b8)));_0xcf3240[_0x1e052c(0x1d7)](_0x546fa4=>{const _0x348ce8=_0x1e052c;fs[_0x348ce8(0x259)](path[_0x348ce8(0x1f8)](helper[_0x348ce8(0x24d)](),_0x58701d[_0x348ce8(0x206)],_0x546fa4));});}catch(_0x10df4c){logger[_0x1e052c(0x1de)](_0x29eecb[_0x1e052c(0x1aa)](_0x29eecb[_0x1e052c(0x1ec)],_0x10df4c));}});})();}module[a39_0x3e7a08(0x1d8)]=run;
2
+ 'use strict';const a39_0x3f9d06=a39_0xb7d1;(function(_0x4ed536,_0x11a03f){const _0x26af88=a39_0xb7d1,_0x2d63fe=_0x4ed536();while(!![]){try{const _0x420066=-parseInt(_0x26af88(0x188))/0x1+parseInt(_0x26af88(0xe7))/0x2*(parseInt(_0x26af88(0x13c))/0x3)+parseInt(_0x26af88(0x179))/0x4+-parseInt(_0x26af88(0x158))/0x5*(parseInt(_0x26af88(0x121))/0x6)+-parseInt(_0x26af88(0x18d))/0x7+-parseInt(_0x26af88(0x190))/0x8*(parseInt(_0x26af88(0x17d))/0x9)+parseInt(_0x26af88(0x111))/0xa;if(_0x420066===_0x11a03f)break;else _0x2d63fe['push'](_0x2d63fe['shift']());}catch(_0xbb81e0){_0x2d63fe['push'](_0x2d63fe['shift']());}}}(a39_0x2490,0x78124));const fs=require('fs'),path=require(a39_0x3f9d06(0x112)),{spawn}=require(a39_0x3f9d06(0x183)),{format}=require(a39_0x3f9d06(0x148)),logger=require(a39_0x3f9d06(0x113))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),utilities=require(a39_0x3f9d06(0x149)),constants=require('../utils/constants'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getConfigLoaderPath}=require('./reporter/pwUtils'),{checkAccessibilityPlatformConfig}=require(a39_0x3f9d06(0x14b)),{setAccessibilityCapabilities}=require(a39_0x3f9d06(0x118)),{printBuildLink}=require('../../helpers/test-observability/utils'),TestDetails=require(a39_0x3f9d06(0x163)),TestHubHandler=require(a39_0x3f9d06(0x168)),PerformanceTester=require('../../helpers/performance/performance-tester'),BrowserstackCLI=require(a39_0x3f9d06(0x177)),PerformanceEvents=require('../../helpers/performance/constants')['EVENTS'],CLIUtils=require('../v2/cliUtils'),TestInfo=require(a39_0x3f9d06(0x10b)),ClientTroubleShootingService=require(a39_0x3f9d06(0x17f)),getUserPlaywrightConfig=async(_0x5b86c4,_0x143ff4)=>{const _0x589151=a39_0x3f9d06,_0x248f30={'cExNY':function(_0x5c4083){return _0x5c4083();},'PpqEE':function(_0x51993a,_0x5a513a){return _0x51993a(_0x5a513a);},'OwyVY':function(_0xdcfd2b,_0x5086ac){return _0xdcfd2b(_0x5086ac);},'IGXai':'resolvedConfigFile','cfKJr':'--config='},_0x29a261=!helper['isUndefined'](_0x5b86c4[_0x589151(0xdd)]),_0x376076=_0x29a261?path[_0x589151(0x181)](process[_0x589151(0x194)](),_0x5b86c4[_0x589151(0xdd)]):process['cwd'](),{resolveConfigFile:_0x441675,resolveConfigLocation:_0x4af271}=helper[_0x589151(0xf6)]()?helper['requireConfigLoaderYarnPnP'](..._0x248f30[_0x589151(0xf2)](getConfigLoaderPath)):helper[_0x589151(0x143)][_0x589151(0x124)](null,_0x248f30[_0x589151(0xf2)](getConfigLoaderPath)),_0x1bc40a=_0x441675?_0x248f30[_0x589151(0x185)](_0x441675,_0x376076):helper[_0x589151(0x152)](_0x248f30[_0x589151(0x171)](_0x4af271,_0x376076),[_0x248f30[_0x589151(0xea)]]),_0x29df84={};if(_0x29a261){const _0x1e5217=_0x143ff4[_0x589151(0x187)](_0x1967aa=>_0x1967aa===_0x589151(0x115)||_0x1967aa==='-c'||_0x1967aa['startsWith'](_0x589151(0x155)));_0x143ff4['splice'](_0x1e5217,_0x143ff4[_0x1e5217][_0x589151(0x100)](_0x248f30[_0x589151(0x169)])?0x1:0x2);}const _0x116ada={};return _0x116ada[_0x589151(0x112)]=_0x1bc40a,_0x116ada[_0x589151(0xdd)]=_0x29df84,_0x116ada;},handleO11yRerun=_0x5d5c61=>{const _0x3650bd=a39_0x3f9d06,_0x5a5e50={};_0x5a5e50[_0x3650bd(0x174)]='--grep';const _0xef0202=_0x5a5e50,_0x5cc5b2=helper['isTrue'](process['env'][_0x3650bd(0xf5)]);if(_0x5cc5b2){const _0x371561=process['env']['BROWSERSTACK_RERUN_TESTS'],_0x28afd6=[];if(helper[_0x3650bd(0xf0)](_0x371561)&&!helper['isUndefined'](_0x371561)){_0x371561['split'](',')[_0x3650bd(0xfb)](_0x2f1682=>{const _0x5dae60=_0x3650bd;_0x28afd6[_0x5dae60(0x117)]('('+_0x2f1682[_0x5dae60(0x142)]()+')');});const _0x10264e='^'+_0x28afd6['join']('|')+'$';_0x5d5c61[_0x3650bd(0x117)](_0xef0202[_0x3650bd(0x174)],_0x10264e);}}},spawnOriginalProcess=_0x5e2bc2=>{const _0xb322e8=a39_0x3f9d06,_0x43cc63={'fyMmS':function(_0x4847d1,_0x1b272e,_0x45ae00,_0xd3b512){return _0x4847d1(_0x1b272e,_0x45ae00,_0xd3b512);},'OCIjR':_0xb322e8(0x18f),'rHFHw':_0xb322e8(0x173),'QCdyz':_0xb322e8(0x132),'ZZRML':function(_0x109493,_0x4c7997){return _0x109493===_0x4c7997;},'ilsOf':_0xb322e8(0x19d),'RrWXu':_0xb322e8(0x164)};_0x43cc63[_0xb322e8(0x153)](spawn,helper[_0xb322e8(0xf6)]()?_0x43cc63[_0xb322e8(0x196)]:_0x43cc63[_0xb322e8(0x156)],[_0x43cc63['QCdyz'],..._0x5e2bc2[_0xb322e8(0x17e)](0x1)],{'shell':_0x43cc63[_0xb322e8(0x141)](process[_0xb322e8(0x116)],_0x43cc63[_0xb322e8(0x145)]),'stdio':_0x43cc63['RrWXu'],'cwd':process['cwd']()});},isTestCommand=(_0x43b124,_0x54168b)=>{const _0x18a5a3=a39_0x3f9d06,_0x4ca4a1={};_0x4ca4a1['FvAQL']=function(_0x1647af,_0x36829e){return _0x1647af>_0x36829e;},_0x4ca4a1[_0x18a5a3(0x18e)]=function(_0x532c03,_0x659488){return _0x532c03===_0x659488;},_0x4ca4a1['seZdY']=_0x18a5a3(0x154);const _0x2ba586=_0x4ca4a1;if(_0x2ba586[_0x18a5a3(0x14e)](_0x54168b[_0x18a5a3(0x15c)],0x1)&&_0x2ba586[_0x18a5a3(0x18e)](_0x54168b[0x1],_0x2ba586[_0x18a5a3(0x10a)]))return!![];return![];};async function run(_0x327a98,_0x16c980,_0x4dbde1){const _0x5d998e=a39_0x3f9d06,_0x5cb645={'dVnBr':function(_0x44c33f,_0xc63c28){return _0x44c33f(_0xc63c28);},'woJlK':_0x5d998e(0x157),'EbWBe':_0x5d998e(0x109),'ZRZrv':function(_0x20f372,_0x132a34){return _0x20f372+_0x132a34;},'Zhwzm':_0x5d998e(0x15d),'fiOCs':function(_0x2127fe){return _0x2127fe();},'cmpZB':function(_0x5170f5){return _0x5170f5();},'qGUZt':function(_0xd018e9,_0x29337d){return _0xd018e9+_0x29337d;},'amgyb':_0x5d998e(0x12b),'blcqA':_0x5d998e(0xe1),'oeGkv':function(_0x244caf,_0x1e2cf1){return _0x244caf<_0x1e2cf1;},'yqEXe':function(_0x433747,_0x3f5824){return _0x433747===_0x3f5824;},'RooWI':_0x5d998e(0x105),'zAzOZ':_0x5d998e(0x175),'ZEkQJ':function(_0xbd5931,_0xf9ba24){return _0xbd5931>=_0xf9ba24;},'rgbHd':function(_0x46e61b,_0x36a233){return _0x46e61b===_0x36a233;},'WpOPJ':_0x5d998e(0x139),'AWTyX':function(_0x473283,_0x4e9d96){return _0x473283!=_0x4e9d96;},'YuZLX':function(_0x4a83d5,_0x579890,_0x4b7154){return _0x4a83d5(_0x579890,_0x4b7154);},'yEOTs':function(_0x422c8c,_0xee054b){return _0x422c8c(_0xee054b);},'MXTLa':function(_0x2b8c03,_0x27e18a){return _0x2b8c03===_0x27e18a;},'PTUvc':'true','RpHZW':function(_0x1d1be9,_0x2b6eda){return _0x1d1be9(_0x2b6eda);},'wBpCt':function(_0x256038,_0x19d705){return _0x256038(_0x19d705);},'ihJnd':_0x5d998e(0x19e),'qybqt':_0x5d998e(0x167),'jFXcS':_0x5d998e(0x199),'jgSII':function(_0x2cbe4f,_0x3a5b53){return _0x2cbe4f-_0x3a5b53;},'qGlMS':'Updated\x20config\x20file\x20name\x20to\x20-\x20','PTEeZ':function(_0x20039d,_0x452053){return _0x20039d>_0x452053;},'mbQHP':function(_0x17bed1,_0x366e7){return _0x17bed1+_0x366e7;},'sNFIl':function(_0x10cb9c,_0x2a1e06,_0x5e4b6e,_0x1d47cf){return _0x10cb9c(_0x2a1e06,_0x5e4b6e,_0x1d47cf);},'SMfAJ':'yarn','VIESc':_0x5d998e(0x173),'dCMbF':_0x5d998e(0x132),'TIEcS':_0x5d998e(0x154),'YyEMD':'--config','XoLUY':'win32','bvzCB':function(_0x174624,_0x1eae4b){return _0x174624===_0x1eae4b;},'RDNhz':_0x5d998e(0x164),'KrOiL':_0x5d998e(0x170),'MGJjF':function(_0x54a6a8,_0x2c1f7c){return _0x54a6a8|_0x2c1f7c;},'nZRdB':_0x5d998e(0x130),'iwEcg':function(_0x4f6e5e,_0x59bc46){return _0x4f6e5e+_0x59bc46;},'fxqXt':_0x5d998e(0x10e),'PXaUH':function(_0x2450fd,_0x2838ee,_0xc2b4b7){return _0x2450fd(_0x2838ee,_0xc2b4b7);},'vHCcx':function(_0x153b7c,_0x4781a6){return _0x153b7c(_0x4781a6);}};try{const _0x1cd495=path[_0x5d998e(0x11a)](helper[_0x5d998e(0x165)](),_0x5cb645[_0x5d998e(0x122)]);try{fs[_0x5d998e(0xe3)](_0x1cd495,_0x5cb645[_0x5d998e(0x19b)](fs[_0x5d998e(0x150)][_0x5d998e(0x16a)],fs['constants'][_0x5d998e(0xeb)]));}catch(_0x43ba74){ClientTroubleShootingService[_0x5d998e(0x127)]();}}catch(_0x19ce62){logger[_0x5d998e(0x108)](_0x5cb645[_0x5d998e(0x16f)](_0x5cb645[_0x5d998e(0x120)],_0x19ce62));}try{const _0x45627d=path[_0x5d998e(0x11a)](helper[_0x5d998e(0x165)](),_0x5cb645['woJlK'],_0x5cb645[_0x5d998e(0x191)]);fs[_0x5d998e(0xf8)](_0x45627d)&&fs[_0x5d998e(0x106)](_0x45627d);}catch(_0x24f42e){logger['debug'](_0x5cb645[_0x5d998e(0x178)](_0x5cb645[_0x5d998e(0x13b)],_0x24f42e));}if(!_0x5cb645[_0x5d998e(0xdc)](isTestCommand,_0x327a98,_0x16c980)){_0x5cb645[_0x5d998e(0x12c)](spawnOriginalProcess,_0x16c980);return;}await PerformanceTester[_0x5d998e(0x147)](PerformanceEvents[_0x5d998e(0x12f)],async()=>{const _0xc1d3f3=_0x5d998e,_0x55baa2={'GOQMo':function(_0x15c9bb,_0x521671){const _0x55aa7a=a39_0xb7d1;return _0x5cb645[_0x55aa7a(0x104)](_0x15c9bb,_0x521671);},'xPuWc':_0x5cb645[_0xc1d3f3(0x122)],'koQma':_0x5cb645[_0xc1d3f3(0x191)],'YAAye':function(_0x3c6d62,_0x12695f){const _0x24c3f8=_0xc1d3f3;return _0x5cb645[_0x24c3f8(0x133)](_0x3c6d62,_0x12695f);},'dYynf':_0x5cb645[_0xc1d3f3(0xf4)],'dobzl':function(_0x17af52){return _0x5cb645['fiOCs'](_0x17af52);},'iMQvU':function(_0x85bc77){return _0x5cb645['cmpZB'](_0x85bc77);},'XddYI':function(_0x3a5745,_0x282231){const _0x2431d6=_0xc1d3f3;return _0x5cb645[_0x2431d6(0x14a)](_0x3a5745,_0x282231);},'VFUtL':_0x5cb645['amgyb']};if(!_0x4dbde1[_0xc1d3f3(0xdd)]){logger[_0xc1d3f3(0x11d)](_0x5cb645[_0xc1d3f3(0xe2)]);return;}await _0x4dbde1[_0xc1d3f3(0x102)](_0x327a98),CLIUtils[_0xc1d3f3(0x176)](FRAMEWORKS[_0xc1d3f3(0x182)],FRAMEWORKS[_0xc1d3f3(0x182)]),BrowserstackCLI[_0xc1d3f3(0x16b)]()[_0xc1d3f3(0xdf)](_0x4dbde1[_0xc1d3f3(0xdd)],_0x4dbde1[_0xc1d3f3(0xe0)],_0x4dbde1['cliConfig']),await BrowserstackCLI[_0xc1d3f3(0x16b)]()[_0xc1d3f3(0x13f)]();for(var _0x2629cd=0x0;_0x5cb645[_0xc1d3f3(0x138)](_0x2629cd,constants[_0xc1d3f3(0x197)][_0xc1d3f3(0x15c)]);_0x2629cd++){var _0x2e2e44=constants[_0xc1d3f3(0x197)][_0x2629cd];process[_0xc1d3f3(0x159)][_0x2e2e44]&&await ClientTroubleShootingService[_0xc1d3f3(0x161)](_0x2e2e44);}const _0x27ca8a=BrowserstackCLI[_0xc1d3f3(0x16b)]()[_0xc1d3f3(0x128)]();!helper[_0xc1d3f3(0x16e)](_0x27ca8a[_0xc1d3f3(0x114)])&&(process[_0xc1d3f3(0x159)][_0xc1d3f3(0x17a)]=!![]);_0x5cb645['yqEXe'](_0x27ca8a['browserstackAutomation'],![])&&(process[_0xc1d3f3(0x159)][_0xc1d3f3(0x17a)]=_0x5cb645[_0xc1d3f3(0xec)],_0x16c980=_0x16c980['filter'](_0x24eac3=>_0x24eac3!==_0xc1d3f3(0x10c)));const _0x138d17=_0x16c980['indexOf'](_0x5cb645[_0xc1d3f3(0x13a)]);(_0x5cb645[_0xc1d3f3(0x126)](_0x138d17,0x0)||_0x5cb645[_0xc1d3f3(0x186)](_0x27ca8a[_0xc1d3f3(0x14f)],![]))&&(process[_0xc1d3f3(0x159)][_0xc1d3f3(0x184)]=_0x5cb645[_0xc1d3f3(0xec)],_0x16c980=_0x16c980[_0xc1d3f3(0x10d)](_0xd74217=>_0xd74217!==_0xc1d3f3(0x175)));!helper[_0xc1d3f3(0x14c)](_0x4dbde1[_0xc1d3f3(0x16c)])&&_0x4dbde1['cliConfig'][_0xc1d3f3(0x15f)](_0x5cb645['WpOPJ'])&&(process[_0xc1d3f3(0x159)][_0xc1d3f3(0x17a)]=_0x4dbde1[_0xc1d3f3(0x16c)][_0xc1d3f3(0xf3)](_0x5cb645[_0xc1d3f3(0xfc)])||!![]);_0x5cb645[_0xc1d3f3(0xe6)](_0x4dbde1[_0xc1d3f3(0xdd)][_0xc1d3f3(0x14f)],null)&&!helper[_0xc1d3f3(0xfd)](process[_0xc1d3f3(0x159)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&(process[_0xc1d3f3(0x159)][_0xc1d3f3(0x184)]=process[_0xc1d3f3(0x159)][_0xc1d3f3(0x184)]||_0x4dbde1['config'][_0xc1d3f3(0x14f)]);const _0x460edf=!helper['isFalse'](process[_0xc1d3f3(0x159)]['BROWSERSTACK_TEST_OBSERVABILITY']);_0x4dbde1[_0xc1d3f3(0xdd)]['accessibilityOptions']&&(process[_0xc1d3f3(0x159)][_0xc1d3f3(0xef)]=JSON['stringify'](_0x4dbde1[_0xc1d3f3(0xdd)][_0xc1d3f3(0x18b)]));let _0x424c44=![];_0x4dbde1['config'][_0xc1d3f3(0x151)]&&(_0x424c44=!![],process['env'][_0xc1d3f3(0x162)]=_0x4dbde1[_0xc1d3f3(0xdd)]['accessibility']);const _0x3f7ddf=_0x16c980['concat'](),_0x1167fe=await _0x5cb645[_0xc1d3f3(0x144)](getUserPlaywrightConfig,_0x327a98,_0x16c980);if(helper[_0xc1d3f3(0x14c)](_0x1167fe)){_0x5cb645[_0xc1d3f3(0x136)](spawnOriginalProcess,_0x3f7ddf);return;}const _0x2d4a12=_0x1167fe[_0xc1d3f3(0x112)]?path[_0xc1d3f3(0x19a)](_0x1167fe[_0xc1d3f3(0x112)]):process['cwd']();process[_0xc1d3f3(0x159)][_0xc1d3f3(0x12e)]=_0x2d4a12,await PerformanceTester['measureWrapper'](PerformanceEvents[_0xc1d3f3(0xee)],async()=>{const _0x45753a=_0xc1d3f3;!BrowserstackCLI[_0x45753a(0x16b)]()[_0x45753a(0x17b)]()&&await TestHubHandler[_0x45753a(0x13d)](FRAMEWORKS[_0x45753a(0x182)],_0x4dbde1),_0x460edf&&_0x55baa2[_0x45753a(0x103)](handleO11yRerun,_0x16c980);})();if(!BrowserstackCLI['getInstance']()[_0xc1d3f3(0x17b)]()){let _0x3b35d9=_0x5cb645[_0xc1d3f3(0x17c)](process[_0xc1d3f3(0x159)][_0xc1d3f3(0x162)],_0x5cb645[_0xc1d3f3(0x137)]);_0x3b35d9=_0x3b35d9||_0x5cb645['RpHZW'](checkAccessibilityPlatformConfig,_0x4dbde1[_0xc1d3f3(0xdd)]),process[_0xc1d3f3(0x159)][_0xc1d3f3(0x162)]=_0x3b35d9,_0x3b35d9&&_0x5cb645['wBpCt'](setAccessibilityCapabilities,_0x4dbde1[_0xc1d3f3(0xdd)]);}const _0x491ad8=path[_0xc1d3f3(0x11a)](_0x1167fe[_0xc1d3f3(0x112)]?path['dirname'](_0x1167fe[_0xc1d3f3(0x112)]):process[_0xc1d3f3(0x194)](),_0x5cb645['ihJnd']);fs[_0xc1d3f3(0xf9)](_0x491ad8,helper[_0xc1d3f3(0x160)](_0x4dbde1[_0xc1d3f3(0xdd)])),process[_0xc1d3f3(0x159)][_0xc1d3f3(0xff)]=_0x491ad8,helper[_0xc1d3f3(0x18c)]();let _0xb5ed45='';_0x5cb645[_0xc1d3f3(0x17c)](helper[_0xc1d3f3(0xe8)](),constants['PACKAGE_TYPE'][_0xc1d3f3(0x11e)])?_0xb5ed45=_0x5cb645[_0xc1d3f3(0x125)]:_0xb5ed45=_0x5cb645[_0xc1d3f3(0x198)];let _0x5abf48='';if(helper[_0xc1d3f3(0x16d)](_0x1167fe[_0xc1d3f3(0x112)])){_0x5abf48=_0xc1d3f3(0xe4);const _0xf0a7ab=_0xb5ed45[_0xc1d3f3(0x11f)]('.');_0xf0a7ab[_0x5cb645[_0xc1d3f3(0x10f)](_0xf0a7ab[_0xc1d3f3(0x15c)],0x1)]='ts',_0xb5ed45=_0xf0a7ab[_0xc1d3f3(0x11a)]('.'),logger[_0xc1d3f3(0x108)](_0x5cb645[_0xc1d3f3(0x14a)](_0x5cb645[_0xc1d3f3(0x101)],_0xb5ed45));}else _0x5abf48=_0xc1d3f3(0x180);const _0x3fce94=path[_0xc1d3f3(0x11a)](_0x1167fe[_0xc1d3f3(0x112)]?path['dirname'](_0x1167fe[_0xc1d3f3(0x112)]):process[_0xc1d3f3(0x194)](),_0xb5ed45);let _0x344e29=_0x1167fe[_0xc1d3f3(0x112)]?_0x1167fe[_0xc1d3f3(0x112)]:'';_0x344e29=_0x5cb645[_0xc1d3f3(0x11b)](_0x344e29[_0xc1d3f3(0x15c)],0x0)?path['resolve'](_0x344e29):'',process[_0xc1d3f3(0x159)][_0xc1d3f3(0x166)]=_0x344e29;const _0x97b626=helper[_0xc1d3f3(0xf1)](_0x4dbde1[_0xc1d3f3(0xdd)]),_0x3ca573=helper[_0xc1d3f3(0x13e)](_0x4dbde1[_0xc1d3f3(0xdd)]);logger[_0xc1d3f3(0x108)]('Proxy\x20url\x20:\x20'+_0x97b626),logger[_0xc1d3f3(0x108)]('No\x20Proxy\x20:\x20'+_0x3ca573);_0x97b626&&(_0x5abf48=_0x5cb645['mbQHP'](_0xc1d3f3(0x146)+_0x97b626+_0xc1d3f3(0x15a)+_0x3ca573+_0xc1d3f3(0x123),_0x5abf48));helper[_0xc1d3f3(0x14d)]({},_0x16c980),fs[_0xc1d3f3(0xf9)](_0x3fce94,_0x5abf48),PerformanceTester[_0xc1d3f3(0x15e)](PerformanceEvents[_0xc1d3f3(0x134)]);const _0x5643a9=_0x5cb645['sNFIl'](spawn,helper[_0xc1d3f3(0xf6)]()?_0x5cb645[_0xc1d3f3(0x107)]:_0x5cb645['VIESc'],[_0x5cb645['dCMbF'],_0x5cb645[_0xc1d3f3(0x135)],_0x5cb645['YyEMD'],_0x5cb645[_0xc1d3f3(0x17c)](process[_0xc1d3f3(0x116)],_0x5cb645['XoLUY'])?'\x22'+_0x3fce94+'\x22':_0x3fce94,..._0x16c980[_0xc1d3f3(0x17e)](0x2)],{'shell':_0x5cb645[_0xc1d3f3(0x15b)](process['platform'],_0x5cb645[_0xc1d3f3(0x195)]),'stdio':_0x5cb645[_0xc1d3f3(0x12a)],'cwd':process[_0xc1d3f3(0x194)](),'env':Object[_0xc1d3f3(0x172)]({},process[_0xc1d3f3(0x159)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x327a98),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x4dbde1[_0xc1d3f3(0xdd)][_0xc1d3f3(0xe9)][_0xc1d3f3(0x140)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x4dbde1[_0xc1d3f3(0xdd)]['testContextOptions'][_0xc1d3f3(0x192)],'BROWSERSTACK_LOG_LEVEL':_0x4dbde1[_0xc1d3f3(0xdd)]['logLevel']})}),_0x107e15=()=>{const _0x35cc93=_0xc1d3f3;try{const _0x62213c=path[_0x35cc93(0x11a)](helper['homedir'](),_0x55baa2[_0x35cc93(0x11c)],_0x55baa2['koQma']);if(fs[_0x35cc93(0xf8)](_0x62213c)){let _0x40be9c=fs['readFileSync'](_0x62213c);_0x40be9c=JSON['parse'](_0x40be9c),_0x4dbde1['errorMessage']=_0x40be9c,fs[_0x35cc93(0x106)](_0x62213c);}}catch(_0x1d7dc9){logger['debug'](_0x55baa2['YAAye'](_0x55baa2[_0x35cc93(0xfe)],_0x1d7dc9));}};_0x5643a9['on'](_0x5cb645['KrOiL'],async _0x1986a4=>{const _0x38c6a5=_0xc1d3f3;try{PerformanceTester[_0x38c6a5(0x110)](PerformanceEvents[_0x38c6a5(0x129)]),_0x55baa2[_0x38c6a5(0xe5)](_0x107e15),await TestHubHandler[_0x38c6a5(0x18a)](),await ClientTroubleShootingService['reportFinalDetectionState'](),await BrowserstackCLI['getInstance']()[_0x38c6a5(0x18a)](),TestDetails[_0x38c6a5(0xed)](),_0x55baa2['iMQvU'](printBuildLink),await utilities[_0x38c6a5(0x131)](_0x4dbde1),process[_0x38c6a5(0x19c)]=_0x1986a4,logger[_0x38c6a5(0x108)](_0x38c6a5(0x12d)+_0x1986a4),logger[_0x38c6a5(0x189)](_0x38c6a5(0xfa)+_0x3fce94),fs[_0x38c6a5(0x106)](_0x3fce94);fs[_0x38c6a5(0xf8)](_0x491ad8)&&(logger['debug']('Deleting\x20'+_0x491ad8),fs[_0x38c6a5(0x106)](_0x491ad8));const _0x112659=fs[_0x38c6a5(0xf7)](path[_0x38c6a5(0x11a)](helper[_0x38c6a5(0x165)](),_0x55baa2[_0x38c6a5(0x11c)]))[_0x38c6a5(0x10d)](_0xe3431a=>_0xe3431a[_0x38c6a5(0x100)](_0x38c6a5(0x119)));_0x112659['forEach'](_0xcd4bf4=>{const _0x892ff8=_0x38c6a5;fs[_0x892ff8(0x106)](path[_0x892ff8(0x11a)](helper['homedir'](),_0x55baa2['xPuWc'],_0xcd4bf4));});}catch(_0x11f2dd){logger[_0x38c6a5(0x108)](_0x55baa2['XddYI'](_0x55baa2[_0x38c6a5(0xde)],_0x11f2dd));}});})();}function a39_0xb7d1(_0x2f3dbc,_0x4cabd8){const _0x249087=a39_0x2490();return a39_0xb7d1=function(_0xb7d12,_0x537a0e){_0xb7d12=_0xb7d12-0xdc;let _0x2ed180=_0x249087[_0xb7d12];return _0x2ed180;},a39_0xb7d1(_0x2f3dbc,_0x4cabd8);}function a39_0x2490(){const _0x1ae214=['AalMd','--disable-test-observability','setFrameworkDetail','../v2/browserstackCLI','iwEcg','2696368SiELpX','BROWSERSTACK_AUTOMATION','isRunning','MXTLa','828iwplFX','slice','../utils/clientTroubleshootingService','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','resolve','PLAYWRIGHT','child_process','BROWSERSTACK_TEST_OBSERVABILITY','PpqEE','rgbHd','findIndex','420347pUgaou','info','stop','accessibilityOptions','clearTempPWConfig','2862930VQWtKt','adAud','yarn','49968TRyoxv','EbWBe','skipSessionName','exports','cwd','XoLUY','OCIjR','INTERNALLY_USED_ENV_VARS','jFXcS','playwright-browserstack-sdk.config.js','dirname','MGJjF','exitCode','win32','browserstackSetupConfig.json','PXaUH','config','VFUtL','setBrowserstackConfig','configPath','BrowserStack\x20config\x20file\x20not\x20found.','blcqA','accessSync','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','dobzl','AWTyX','260118uUsXPL','getPackageType','testContextOptions','IGXai','W_OK','RooWI','shutdown','SDK_POST_INITIALIZE','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','validateRerunTestList','getProxyUrl','cExNY','get','Zhwzm','BROWSERSTACK_RERUN','isYarnPnP','readdirSync','existsSync','writeFileSync','Deleting\x20','map','WpOPJ','isTrue','dYynf','BROWSERSTACK_SETUP_CONFIG_PATH','startsWith','qGlMS','initialize','GOQMo','dVnBr','false','unlinkSync','SMfAJ','debug','pw_result.json','seZdY','../v2/TestInfo','--disable-browserstack-automation','filter','Error\x20in\x20deleting\x20playwright\x20results','jgSII','start','9184740YpGoTl','path','../../helpers/logger','browserstackAutomation','--config','platform','push','./accessibility-helper','trace_','join','PTEeZ','xPuWc','error','MODULE','split','nZRdB','6GQEuQy','woJlK','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','apply','qybqt','ZEkQJ','reportDotBrowserStackFolderNotAccessibleIssue','getConfig','SDK_CLEANUP','RDNhz','Error\x20in\x20closing\x20playwright','vHCcx','Playwright\x20process\x20exited\x20with\x20code\x20','BROWSERSTACK_PW_CONFIG_DIR','SDK_PRE_INITIALIZE','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','finalExecution','playwright','ZRZrv','SDK_SETUP','TIEcS','yEOTs','PTUvc','oeGkv','automation','zAzOZ','fxqXt','9WMHrvr','launchBuild','getNoProxy','bootstrap','skipSessionStatus','ZZRML','trim','requirePWModule','YuZLX','ilsOf','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','measureWrapper','util','../../helpers/utilities','qGUZt','../../helpers/accessibility-automation/helper','isUndefined','filterBrowserstackArgs','FvAQL','testObservability','constants','accessibility','nestedKeyValue','fyMmS','test','--config=','rHFHw','.browserstack','434810LPYybS','env','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20process.env.GLOBAL_AGENT_NO_PROXY=\x22','bvzCB','length','Error\x20in\x20getting\x20funnel\x20data\x20results','end','has','serializeToYamlString','reportConflictingEnvVarIssue','BROWSERSTACK_TEST_ACCESSIBILITY_YML','./reporter/test-details','inherit','homedir','USER_CONFIG_DETAILS_PATH','playwright-browserstack-sdk.config.cjs','../../helpers/testhub/testhubHandler','cfKJr','R_OK','getInstance','cliConfig','isTypescriptProject','isFalse','mbQHP','close','OwyVY','assign','npx'];a39_0x2490=function(){return _0x1ae214;};return a39_0x2490();}module[a39_0x3f9d06(0x193)]=run;