browserstack-node-sdk 1.49.8 → 1.49.10

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 +5 -2
  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 a94_0x19ff24=a94_0x255c;function a94_0x255c(_0x4e54ed,_0x5c39c6){const _0x5bc2d0=a94_0x5bc2();return a94_0x255c=function(_0x255c9c,_0x349316){_0x255c9c=_0x255c9c-0x75;let _0x6fb2d4=_0x5bc2d0[_0x255c9c];return _0x6fb2d4;},a94_0x255c(_0x4e54ed,_0x5c39c6);}(function(_0x14676e,_0x3c0181){const _0x6b507=a94_0x255c,_0x24d43b=_0x14676e();while(!![]){try{const _0x1ef0da=parseInt(_0x6b507(0x10f))/0x1+parseInt(_0x6b507(0xbd))/0x2*(-parseInt(_0x6b507(0x80))/0x3)+-parseInt(_0x6b507(0xd5))/0x4*(parseInt(_0x6b507(0xaa))/0x5)+parseInt(_0x6b507(0x8a))/0x6*(parseInt(_0x6b507(0xa2))/0x7)+parseInt(_0x6b507(0x75))/0x8*(-parseInt(_0x6b507(0xe6))/0x9)+-parseInt(_0x6b507(0x90))/0xa+parseInt(_0x6b507(0xf5))/0xb*(parseInt(_0x6b507(0x11d))/0xc);if(_0x1ef0da===_0x3c0181)break;else _0x24d43b['push'](_0x24d43b['shift']());}catch(_0x271cba){_0x24d43b['push'](_0x24d43b['shift']());}}}(a94_0x5bc2,0xa0596));const util=require(a94_0x19ff24(0xfe)),os=require('os'),path=require(a94_0x19ff24(0xa7)),{v4:uuidv4}=require(a94_0x19ff24(0x106)),fs=require('fs'),constants=require(a94_0x19ff24(0x105)),logger=require(a94_0x19ff24(0x15b))[a94_0x19ff24(0x94)],fileLogger=require(a94_0x19ff24(0x15b))[a94_0x19ff24(0x10d)],{getLogDir}=require(a94_0x19ff24(0x15b)),helper=require('./helper'),utilities=require('./utilities'),percyHelper=require(a94_0x19ff24(0x91)),hubAllocator=require('../hubAllocationMethods'),PerformanceTester=require(a94_0x19ff24(0x109)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require(a94_0x19ff24(0xf7)),{setPercyFlag}=require('./testhub/utils'),TestHubHandler=require(a94_0x19ff24(0x169)),timeoutPromise=require('./timeoutPromise'),BrowserstackCLI=require(a94_0x19ff24(0xae)),LoadTestModule=require('../bin/v2/modules/loadTestModule'),{getEdsInstrumentationAPIUrl}=require(a94_0x19ff24(0xb8)),ClientTroubleShootingService=require('../bin/utils/clientTroubleshootingService');class BrowserStackSetup{constructor(_0x7acd77,_0x37ae03){const _0x185128=a94_0x19ff24,_0x22d367={'GabuG':_0x185128(0x118),'XKUve':'No\x20config\x20provided.','ahVdg':function(_0x2f68a2){return _0x2f68a2();}},_0x238866=_0x22d367[_0x185128(0xed)][_0x185128(0x14f)]('|');let _0x35b195=0x0;while(!![]){switch(_0x238866[_0x35b195++]){case'0':helper['setBrowserstackInfraFromConfig'](this[_0x185128(0x179)],this['cliConfig']);continue;case'1':this['cliConfig']=helper['setCLICaps'](_0x7acd77);continue;case'2':this[_0x185128(0xdc)]=null;continue;case'3':helper[_0x185128(0x11f)]();continue;case'4':PerformanceTester[_0x185128(0xb5)]();continue;case'5':this[_0x185128(0x8c)]=null;continue;case'6':global['framework']=_0x37ae03;continue;case'7':this['config']=helper[_0x185128(0xca)](this[_0x185128(0xe0)]);continue;case'8':this['framework']=_0x37ae03;continue;case'9':if(helper[_0x185128(0x7b)](this['config']))throw new Error(_0x22d367[_0x185128(0x15f)]);continue;case'10':helper[_0x185128(0x16c)](this[_0x185128(0x179)]);continue;case'11':this[_0x185128(0x99)]=_0x22d367[_0x185128(0xd1)](uuidv4);continue;case'12':this['errorMessage']={};continue;case'13':this[_0x185128(0x179)][_0x185128(0xe1)]=this['config'][_0x185128(0xe1)]||{};continue;case'14':helper[_0x185128(0xac)](this['config']);continue;case'15':this[_0x185128(0x179)][_0x185128(0xe1)]['skipSessionName']=!helper[_0x185128(0x173)]()||helper[_0x185128(0xb0)](this[_0x185128(0x179)][_0x185128(0xe1)][_0x185128(0x114)]);continue;case'16':this[_0x185128(0x115)]=helper[_0x185128(0x17f)]();continue;case'17':helper[_0x185128(0x116)](this[_0x185128(0x179)],this[_0x185128(0xe4)],this[_0x185128(0x115)]);continue;case'18':if(this[_0x185128(0x179)]['error'])throw new Error(this['config'][_0x185128(0x13e)]);continue;case'19':this[_0x185128(0x179)][_0x185128(0xf6)]=this['config'][_0x185128(0xf6)]||[];continue;case'20':this[_0x185128(0xe0)]=helper[_0x185128(0x9c)](_0x7acd77);continue;case'21':helper[_0x185128(0x164)](this['config'],this[_0x185128(0xe4)],this['envConfig']);continue;case'22':this[_0x185128(0x179)][_0x185128(0xe1)][_0x185128(0xd7)]=!helper[_0x185128(0x173)]()||helper['isTrue'](this[_0x185128(0x179)]['testContextOptions'][_0x185128(0xd7)]);continue;case'23':this[_0x185128(0xde)]=[];continue;}break;}}[a94_0x19ff24(0x12b)](_0x4ed774){const _0x243f4f=a94_0x19ff24,_0x44be2b={'sjKMK':_0x243f4f(0x119),'JxDle':function(_0x408c73,_0x17b668){return _0x408c73===_0x17b668;},'KlIvK':'integrations','iMpjN':_0x243f4f(0xfd),'zTJrh':function(_0x1c7d75,_0x4787d4){return _0x1c7d75<_0x4787d4;},'ubTVU':function(_0x58cb12,_0x43530f){return _0x58cb12(_0x43530f);},'Jqjmc':_0x243f4f(0x135),'wEdTD':_0x243f4f(0xd4),'ZsQIF':_0x243f4f(0x129),'AvheT':_0x243f4f(0xb6),'MypoF':_0x243f4f(0x165),'JBWIf':_0x243f4f(0x170),'zNbrA':'SIGHUP','DxZZw':function(_0x1cb865,_0x3c5fe8){return _0x1cb865!==_0x3c5fe8;},'jwmhv':'win32','rwwcA':_0x243f4f(0xeb),'hTAyA':_0x243f4f(0xc9),'fLpFE':_0x243f4f(0xf4),'Yhdty':_0x243f4f(0x17e)},_0x1d8df4=this[_0x243f4f(0xb2)];global['config']=this[_0x243f4f(0x179)],helper[_0x243f4f(0x120)](this[_0x243f4f(0x179)]),this[_0x243f4f(0x10e)]=null,global['sdkRunId']=this[_0x243f4f(0x99)],logger['info'](_0x243f4f(0x130)+this[_0x243f4f(0x99)]),!this[_0x243f4f(0x179)][_0x243f4f(0x16b)]&&(this['config'][_0x243f4f(0x16b)]=this[_0x243f4f(0x179)][_0x243f4f(0x112)]||{});if(helper['isUndefined'](helper['getUserName'](this[_0x243f4f(0x179)]))||helper['isUndefined'](helper[_0x243f4f(0x11b)](this['config'])))throw new Error(_0x44be2b['sjKMK']);helper['getLocalConfig'](this[_0x243f4f(0x179)])&&helper['isUndefined'](helper[_0x243f4f(0x171)](this[_0x243f4f(0x179)]))&&(!helper[_0x243f4f(0x7b)](this[_0x243f4f(0x179)][_0x243f4f(0x16b)])&&_0x44be2b[_0x243f4f(0x8e)](this[_0x243f4f(0x179)][_0x243f4f(0x16b)][_0x243f4f(0x101)],Object)?!helper['isTrue'](this['config'][_0x243f4f(0x16b)]['skipBinaryInitialisation'])&&(this[_0x243f4f(0x179)][_0x243f4f(0x16b)]['localIdentifier']=helper[_0x243f4f(0x160)]()):this[_0x243f4f(0x179)][_0x243f4f(0x16b)]={'localIdentifier':helper['generateLocalIdentifier']()});this[_0x243f4f(0x179)]['browserStackLocalOptions'][_0x243f4f(0x17d)]=helper[_0x243f4f(0xb0)](this[_0x243f4f(0x179)][_0x243f4f(0x16b)]['skipBinaryInitialisation']),helper['setHandlePWError'](this['config']);if(_0x44be2b[_0x243f4f(0x8e)](_0x1d8df4,_0x44be2b[_0x243f4f(0x17c)]))return;this[_0x243f4f(0xec)]();process[_0x243f4f(0x110)]['BROWSERSTACK_TURBOSCALE']&&(this[_0x243f4f(0x179)][_0x243f4f(0x151)]=helper[_0x243f4f(0xb0)](process[_0x243f4f(0x110)][_0x243f4f(0xbb)]),this['config'][_0x243f4f(0x144)]=this[_0x243f4f(0x179)][_0x243f4f(0x144)]||{});helper[_0x243f4f(0x13c)](this[_0x243f4f(0x179)])&&(process['env']['BROWSERSTACK_TURBOSCALE']=!![]);LoadTestModule[_0x243f4f(0x92)](this[_0x243f4f(0x179)])&&logger[_0x243f4f(0x13d)](_0x243f4f(0x16d)+this[_0x243f4f(0x99)]);if(!helper['isBrowserstackInfra']()){try{process[_0x243f4f(0x110)][_0x243f4f(0xe5)]=_0x1d8df4,utilities[_0x243f4f(0x7a)](_0x44be2b[_0x243f4f(0xef)],{},this[_0x243f4f(0x179)],this[_0x243f4f(0xb2)]);}catch(_0x3b312d){logger[_0x243f4f(0x13d)](_0x243f4f(0x104)+_0x3b312d);}return;}if(helper['requireSeleniumWebdriverCheck'](_0x1d8df4)){if(global['__isPlaywrightInstalled'])return;_0x44be2b[_0x243f4f(0x9d)](_0x44be2b['ubTVU'](parseInt,helper['getPackageVersion'](_0x44be2b['Jqjmc'])),0x3)&&(this[_0x243f4f(0x179)][_0x243f4f(0x125)]=![]),_0x44be2b[_0x243f4f(0x8e)](helper[_0x243f4f(0x9f)](helper[_0x243f4f(0x7d)](_0x44be2b[_0x243f4f(0xa1)]),_0x44be2b[_0x243f4f(0x172)]),0x1)&&(this[_0x243f4f(0x179)][_0x243f4f(0x125)]=!![]);}(helper['isUndefined'](this[_0x243f4f(0x179)]['platforms'])||helper['isUndefined'](this[_0x243f4f(0x179)][_0x243f4f(0xf6)][_0x243f4f(0x146)]))&&(helper[_0x243f4f(0x7b)](this[_0x243f4f(0x179)][_0x243f4f(0x14d)])?logger[_0x243f4f(0x117)](_0x44be2b[_0x243f4f(0xe7)]):logger[_0x243f4f(0x15d)](_0x44be2b[_0x243f4f(0x134)]),this[_0x243f4f(0x179)][_0x243f4f(0xf6)]=[]);!this[_0x243f4f(0x179)][_0x243f4f(0xe1)]&&(this[_0x243f4f(0x179)][_0x243f4f(0xe1)]={});try{process[_0x243f4f(0x110)][_0x243f4f(0xe5)]=_0x4ed774['_'][0x0],utilities[_0x243f4f(0x7a)](_0x44be2b[_0x243f4f(0xef)],{},this[_0x243f4f(0x179)],this[_0x243f4f(0xb2)]);}catch(_0x1a78fe){logger['debug'](_0x243f4f(0x104)+_0x1a78fe);}!this['config'][_0x243f4f(0x7f)]&&logger[_0x243f4f(0x117)](constants[_0x243f4f(0xc0)]),this[_0x243f4f(0xcd)]=this[_0x243f4f(0xcd)][_0x243f4f(0x78)](this),process['on'](_0x44be2b[_0x243f4f(0x15e)],this['intExitHandler']),process['on'](_0x44be2b[_0x243f4f(0x12e)],this[_0x243f4f(0xcd)]),process['on'](_0x44be2b[_0x243f4f(0xa3)],this[_0x243f4f(0xcd)]),_0x44be2b[_0x243f4f(0x113)](process[_0x243f4f(0x153)],_0x44be2b[_0x243f4f(0x79)])?(process['on'](_0x44be2b[_0x243f4f(0xcf)],this[_0x243f4f(0xcd)]),process['on'](_0x44be2b[_0x243f4f(0xa4)],this[_0x243f4f(0xcd)])):process['on'](_0x44be2b[_0x243f4f(0x9b)],this[_0x243f4f(0xcd)]),process['on'](_0x44be2b['Yhdty'],this[_0x243f4f(0x142)]());}async[a94_0x19ff24(0x16e)](_0x3555e7){const _0x99980e=a94_0x19ff24,_0x3aa11a={'CeisN':_0x99980e(0xd9),'QrObz':_0x99980e(0xd8),'KIFYe':_0x99980e(0x10b),'innkF':function(_0x205ce5,_0x7978bf){return _0x205ce5===_0x7978bf;},'EZlNS':_0x99980e(0x136),'gcHdf':function(_0x1c9f68,_0x4eab60){return _0x1c9f68+_0x4eab60;},'UWBeJ':_0x99980e(0x16f),'bFOQb':function(_0x18c9ea,_0x22a340){return _0x18c9ea(_0x22a340);},'YZErD':_0x99980e(0x150)};this[_0x99980e(0x12b)](_0x3555e7);if(helper['isTurboScaleSession'](this[_0x99980e(0x179)])){const _0x3d6a33=await helper[_0x99980e(0x143)](this[_0x99980e(0x179)]);this[_0x99980e(0x179)][_0x99980e(0xf3)]=_0x3d6a33,_0x3d6a33[_0x99980e(0x126)]&&helper[_0x99980e(0xb1)](this['config']['browserstackLocal'])&&helper[_0x99980e(0xb0)](this[_0x99980e(0x179)][_0x99980e(0xdc)])&&(this[_0x99980e(0x179)][_0x99980e(0x16b)]['localIdentifier']=_0x3aa11a[_0x99980e(0xcc)],this['config'][_0x99980e(0x16b)][_0x3aa11a[_0x99980e(0x81)]]=_0x3d6a33[_0x99980e(0xc7)][_0x99980e(0x180)](','),this[_0x99980e(0x179)][_0x99980e(0x16b)]['forceLocal']=_0x3aa11a[_0x99980e(0x152)]),this['config'][_0x99980e(0x14b)]=_0x3d6a33[_0x99980e(0x182)],this[_0x99980e(0xb2)]&&_0x3aa11a[_0x99980e(0x8b)](this['framework'][_0x99980e(0xd3)](),_0x3aa11a['EZlNS'])?this[_0x99980e(0x179)][_0x99980e(0x14b)]=_0x3aa11a['gcHdf'](_0x3d6a33[_0x99980e(0xa5)],_0x3aa11a[_0x99980e(0x162)]):constants['hubUrl']=helper[_0x99980e(0x154)](this[_0x99980e(0x179)]),logger[_0x99980e(0x13d)](_0x99980e(0x87)+constants['hubUrl']);}helper[_0x99980e(0x161)](this['config']),this['setupKeepAlive'](),_0x3aa11a[_0x99980e(0x147)](setPercyFlag,this),await this['setupBrowserstackLocal'](),![_0x3aa11a['YZErD'],_0x3aa11a[_0x99980e(0x177)]][_0x99980e(0x107)](this[_0x99980e(0xb2)])&&!helper['isTurboScaleSession'](this[_0x99980e(0x179)])&&!helper[_0x99980e(0x137)]()[_0x99980e(0xee)]&&await this['setUpHubUrl']();}async[a94_0x19ff24(0x82)](){const _0x1cc8f7=a94_0x19ff24,_0x439063={};_0x439063[_0x1cc8f7(0x175)]=function(_0xc5df65,_0x9bcd02){return _0xc5df65===_0x9bcd02;},_0x439063[_0x1cc8f7(0x103)]=_0x1cc8f7(0xc2),_0x439063[_0x1cc8f7(0xcb)]=_0x1cc8f7(0xb9),_0x439063[_0x1cc8f7(0x10c)]=_0x1cc8f7(0x102),_0x439063[_0x1cc8f7(0x11a)]=_0x1cc8f7(0x10b),_0x439063['xfLev']=_0x1cc8f7(0x17e);const _0x4e5236=_0x439063;if(helper[_0x1cc8f7(0xb0)](this[_0x1cc8f7(0x179)]['percy'])&&(!this[_0x1cc8f7(0x8c)]||!this[_0x1cc8f7(0x8c)][_0x1cc8f7(0x10a)]()))try{this[_0x1cc8f7(0x8c)]=await percyHelper['startPercy'](this[_0x1cc8f7(0x179)]);if(!this[_0x1cc8f7(0x8c)]){process[_0x1cc8f7(0x110)][_0x1cc8f7(0x131)]=_0x4e5236[_0x1cc8f7(0x103)];throw new Error(_0x4e5236[_0x1cc8f7(0xcb)]);}logger[_0x1cc8f7(0x117)](_0x4e5236[_0x1cc8f7(0x10c)]),process[_0x1cc8f7(0x110)][_0x1cc8f7(0x131)]=_0x4e5236[_0x1cc8f7(0x11a)];let _0x217a33=0x0;const _0x4f712a=async()=>{const _0x45d38b=_0x1cc8f7;_0x217a33++,_0x4e5236[_0x45d38b(0x175)](_0x217a33,0x1)&&await this[_0x45d38b(0xa6)]();};process['on'](_0x4e5236['xfLev'],_0x4f712a);}catch(_0x369453){process[_0x1cc8f7(0x110)]['BROWSERSTACK_PERCY']=_0x4e5236[_0x1cc8f7(0x103)],logger[_0x1cc8f7(0x13d)](_0x1cc8f7(0x108)+_0x369453);throw new Error(_0x369453[_0x1cc8f7(0x176)]());}}async['stopPercy'](){const _0x235493=a94_0x19ff24,_0x4396a1={};_0x4396a1['soEHW']='Percy\x20stopped',_0x4396a1[_0x235493(0x149)]='Error\x20occured\x20while\x20stopping\x20percy';const _0x23fff2=_0x4396a1;if(this[_0x235493(0x8c)]&&this[_0x235493(0x8c)][_0x235493(0x10a)]())try{await percyHelper[_0x235493(0xa6)](this[_0x235493(0x8c)]),logger['info'](_0x23fff2[_0x235493(0x183)]);}catch(_0x1816cf){logger[_0x235493(0x13e)](_0x23fff2[_0x235493(0x149)],_0x1816cf[_0x235493(0xbf)]);}}async[a94_0x19ff24(0xb7)](){const _0x36f14f=a94_0x19ff24,_0x30bf4c={};_0x30bf4c[_0x36f14f(0xfb)]=_0x36f14f(0x8d),_0x30bf4c[_0x36f14f(0x141)]='Local\x20binary\x20started\x20successfully';const _0x286e9a=_0x30bf4c;if(helper[_0x36f14f(0x173)]()&&helper['isTrue'](this[_0x36f14f(0x179)][_0x36f14f(0xdc)])&&(!this[_0x36f14f(0xdc)]||!this[_0x36f14f(0xdc)][_0x36f14f(0x10a)]()))try{if(this[_0x36f14f(0x179)][_0x36f14f(0x16b)][_0x36f14f(0x17d)]){logger[_0x36f14f(0x13d)](_0x286e9a[_0x36f14f(0xfb)]);return;}this['browserstackLocal']=await helper[_0x36f14f(0xe2)](this[_0x36f14f(0x179)]),logger['info'](_0x286e9a['BPGAu']);}catch(_0x225d12){logger[_0x36f14f(0x13d)](_0x225d12);throw new Error(_0x225d12[_0x36f14f(0x176)]());}}async[a94_0x19ff24(0x85)](){const _0x2f1499=a94_0x19ff24,_0x26f255={};_0x26f255[_0x2f1499(0x174)]=_0x2f1499(0x127),_0x26f255[_0x2f1499(0x93)]='Error\x20occured\x20while\x20stopping\x20local\x20binary';const _0xc05926=_0x26f255;if(this['browserstackLocal']&&this[_0x2f1499(0xdc)][_0x2f1499(0x10a)]())try{await helper['stopLocalBinary'](this['browserstackLocal']),logger[_0x2f1499(0x117)](_0xc05926[_0x2f1499(0x174)]);}catch(_0xf59bcd){logger[_0x2f1499(0x13e)](_0xc05926[_0x2f1499(0x93)],_0xf59bcd['message']);}}async['setUpHubUrl'](){const _0x115eda=a94_0x19ff24;return PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x115eda(0x12a)],async()=>{const _0x29cdd9=_0x115eda;await hubAllocator[_0x29cdd9(0x88)](this[_0x29cdd9(0x179)]);})();}async[a94_0x19ff24(0xda)](){const _0x2cf00d=a94_0x19ff24,_0x3dfd5c={'VXLgs':function(_0x4b84b2,_0x279b40){return _0x4b84b2(_0x279b40);},'Mlwjc':_0x2cf00d(0xb4),'KLuup':function(_0x173689,_0x2f3f73,_0x4ef496,_0x40b520,_0x431734,_0x102817,_0x7600e7){return _0x173689(_0x2f3f73,_0x4ef496,_0x40b520,_0x431734,_0x102817,_0x7600e7);},'VEDpw':'BrowserstackHealing.init\x20method\x20timed\x20out','SoXND':_0x2cf00d(0x168),'lNGtJ':function(_0x5a3eac,_0x197586){return _0x5a3eac(_0x197586);},'WdKCi':_0x2cf00d(0xdb),'nTUrY':_0x2cf00d(0x155),'ZKmPC':function(_0x47cc24,_0x15e59d){return _0x47cc24(_0x15e59d);},'vvKTw':function(_0x33b4ee,_0x3554fb){return _0x33b4ee===_0x3554fb;},'bunup':_0x2cf00d(0x10b),'XbiLu':function(_0x3b602e,_0x1cc886){return _0x3b602e===_0x1cc886;},'Ttget':function(_0x2f155c,_0x379ae1){return _0x2f155c===_0x379ae1;},'weIDy':_0x2cf00d(0x184),'hNcoo':'Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','TmDTW':_0x2cf00d(0xfc),'quloA':_0x2cf00d(0xd6),'PwMGL':function(_0x335d04,_0x282728){return _0x335d04>=_0x282728;},'iBfIi':function(_0x1a2b07,_0x2b1f4){return _0x1a2b07<_0x2b1f4;},'XEgiR':'tcg\x20config\x20setup\x20successful.','CMIpS':_0x2cf00d(0xf1),'QdVHA':function(_0x38e500){return _0x38e500();}},_0x3759db=PerformanceTester['measureWrapper'](_0x3dfd5c[_0x2cf00d(0xdd)],async()=>{const _0x2a1387=_0x2cf00d;try{const _0x5f324e=new Date(),_0x48688c=helper[_0x2a1387(0xf0)](this[_0x2a1387(0x179)]),_0x5a1ba2=_0x3dfd5c[_0x2a1387(0x133)](require,path[_0x2a1387(0x180)](__dirname,_0x3dfd5c['Mlwjc'])),_0x476246=_0x3dfd5c[_0x2a1387(0x139)](timeoutPromise,constants['TCG_AUTH_TIMEOUT'],_0x3dfd5c[_0x2a1387(0x15c)],_0x3dfd5c['SoXND'],_0x5f324e,this[_0x2a1387(0x179)],this['framework']),_0xf2b7b4={'tcgUrl':constants[_0x2a1387(0x181)],'sdkVersion':_0x3dfd5c[_0x2a1387(0x148)](require,_0x3dfd5c[_0x2a1387(0x84)])[_0x2a1387(0xf9)],'methodUsed':_0x3dfd5c[_0x2a1387(0xad)],'proxyConfig':_0x48688c,'os':os[_0x2a1387(0x153)]()};if(_0x48688c&&_0x48688c[_0x2a1387(0xdf)]){utilities['fireFunnelTestEvent'](constants[_0x2a1387(0x97)],_0xf2b7b4,this['config'],this[_0x2a1387(0xb2)]);return;}const _0x1c72ac={};_0x1c72ac[_0x2a1387(0x17b)]=_0x48688c;const _0x241c2c=await Promise['race']([_0x5a1ba2[_0x2a1387(0xfa)](this[_0x2a1387(0x179)][_0x2a1387(0x15a)],this[_0x2a1387(0x179)][_0x2a1387(0xaf)],constants[_0x2a1387(0x181)],_0x3dfd5c[_0x2a1387(0x140)](require,_0x3dfd5c['WdKCi'])['version'],_0x1c72ac)[_0x2a1387(0x95)](_0x24f631=>{const _0x400aaf=_0x2a1387;return _0x476246[_0x400aaf(0xc4)](),_0x24f631;}),_0x476246]);_0x241c2c['isHealingEnabled']=_0x3dfd5c[_0x2a1387(0xe3)](_0x241c2c[_0x2a1387(0xc6)],_0x3dfd5c[_0x2a1387(0x13b)])||_0x3dfd5c[_0x2a1387(0xe3)](_0x241c2c[_0x2a1387(0xc6)],!![]);const _0xab195c=_0x3dfd5c[_0x2a1387(0xba)](this[_0x2a1387(0x179)]['selfHeal'],!![])||_0x3dfd5c['vvKTw'](this[_0x2a1387(0x179)][_0x2a1387(0xbc)],_0x3dfd5c[_0x2a1387(0x13b)]);if(_0x3dfd5c[_0x2a1387(0x12f)](_0x241c2c[_0x2a1387(0xbf)],constants[_0x2a1387(0x89)])&&_0xab195c)logger[_0x2a1387(0x117)](_0x3dfd5c[_0x2a1387(0x8f)]);else{if(!_0x241c2c[_0x2a1387(0xc5)]&&_0x3dfd5c[_0x2a1387(0xba)](_0x241c2c[_0x2a1387(0xc8)],0x1f7)&&_0xab195c)logger['info'](_0x3dfd5c['hNcoo']),utilities['fireFunnelTestEvent'](constants['TCG_DOWN'],_0xf2b7b4,this[_0x2a1387(0x179)],this[_0x2a1387(0xb2)]);else{if(!_0x241c2c[_0x2a1387(0xc5)]&&_0xab195c){logger[_0x2a1387(0x117)](_0x3dfd5c[_0x2a1387(0x132)]);const _0xcc45c7={'tcgUrl':constants[_0x2a1387(0x181)],'sdkVersion':_0x3dfd5c['lNGtJ'](require,_0x3dfd5c[_0x2a1387(0x84)])['version'],'methodUsed':_0x3dfd5c[_0x2a1387(0xad)],'proxyConfig':_0x48688c,'os':os[_0x2a1387(0x153)]()};utilities[_0x2a1387(0x7a)](constants['TCG_AUTH_FAILURE'],_0xcc45c7,this[_0x2a1387(0x179)],this[_0x2a1387(0xb2)]);}else{if(_0x241c2c[_0x2a1387(0xc5)]&&!_0x241c2c[_0x2a1387(0xc6)]&&_0xab195c)logger[_0x2a1387(0x117)](_0x3dfd5c[_0x2a1387(0x14a)]);else{if(_0x3dfd5c[_0x2a1387(0xe8)](_0x241c2c['status'],0xc8)&&_0x3dfd5c['iBfIi'](_0x241c2c[_0x2a1387(0xc8)],0x12c))utilities['fireFunnelTestEvent'](constants['AI_INIT_SUCCESSFUL'],_0xf2b7b4,this[_0x2a1387(0x179)],this[_0x2a1387(0xb2)]);else{if(_0x3dfd5c[_0x2a1387(0xe8)](_0x241c2c[_0x2a1387(0xc8)],0x190))_0xf2b7b4[_0x2a1387(0xc8)]=_0x241c2c[_0x2a1387(0xc8)],utilities['fireFunnelTestEvent'](constants['AI_INIT_FAILURE'],_0xf2b7b4,this[_0x2a1387(0x179)],this[_0x2a1387(0xb2)]);else!_0x241c2c[_0x2a1387(0xc8)]&&utilities['fireFunnelTestEvent'](constants[_0x2a1387(0xd0)],_0xf2b7b4,this[_0x2a1387(0x179)],this[_0x2a1387(0xb2)]);}}}}}if(_0x241c2c[_0x2a1387(0xc5)]&&_0x241c2c[_0x2a1387(0xc6)]){const _0x247e4a={};_0x247e4a[_0x2a1387(0x178)]=_0x241c2c;const _0x17794f=_0x247e4a;_0x48688c&&(_0x17794f[_0x2a1387(0xc3)]=_0x48688c),_0x17794f['framework']=this[_0x2a1387(0xb2)],_0x17794f[_0x2a1387(0xa8)]=this[_0x2a1387(0x179)],helper[_0x2a1387(0x16a)](_0x17794f),logger['debug'](_0x3dfd5c[_0x2a1387(0x98)]);}}catch(_0x34a4b4){logger[_0x2a1387(0x13d)](_0x2a1387(0x138)+(_0x34a4b4['message']?_0x34a4b4[_0x2a1387(0xbf)]:''));}});await _0x3dfd5c['QdVHA'](_0x3759db);}[a94_0x19ff24(0x12c)](){const _0xc06083=a94_0x19ff24,_0x3490ee={'YZxIx':function(_0x17fae6,_0x54d90c){return _0x17fae6(_0x54d90c);},'JWxan':_0xc06083(0x166)};_0x3490ee[_0xc06083(0x11e)](require,_0x3490ee[_0xc06083(0x123)])();}['handleExceptions'](){const _0x2e67e0=a94_0x19ff24,_0x3291ea={};_0x3291ea[_0x2e67e0(0x128)]='0|3|1|2|4',_0x3291ea[_0x2e67e0(0x7e)]=_0x2e67e0(0xd2),_0x3291ea[_0x2e67e0(0xe9)]=_0x2e67e0(0x122);const _0x3c03a1=_0x3291ea,_0x5f5143=_0x31ed2e=>{const _0x4a9a60=_0x2e67e0,_0x4291e9=_0x3c03a1[_0x4a9a60(0x128)][_0x4a9a60(0x14f)]('|');let _0x260703=0x0;while(!![]){switch(_0x4291e9[_0x260703++]){case'0':logger[_0x4a9a60(0x13e)](_0x31ed2e[_0x4a9a60(0xbf)]);continue;case'1':this[_0x4a9a60(0xde)][_0x4a9a60(0x11c)](util[_0x4a9a60(0x7c)]('%j',_0x31ed2e));continue;case'2':PerformanceTester[_0x4a9a60(0x100)](_0x31ed2e);continue;case'3':logger['debug'](util['format'](_0x31ed2e));continue;case'4':ClientTroubleShootingService[_0x4a9a60(0x111)]();continue;}break;}};process['on'](_0x3c03a1['IEIlx'],_0x5f5143),process['on'](_0x3c03a1[_0x2e67e0(0xe9)],_0x5f5143);}async[a94_0x19ff24(0xcd)](_0x59761a){const _0x320a3e=a94_0x19ff24,_0x410cc2={};_0x410cc2[_0x320a3e(0x13a)]=_0x320a3e(0xff),_0x410cc2[_0x320a3e(0xce)]=function(_0x18ee81,_0x1eafb1){return _0x18ee81+_0x1eafb1;},_0x410cc2['xiAJh']=_0x320a3e(0x83),_0x410cc2[_0x320a3e(0xea)]=function(_0x2d27bd,_0x1b702b){return _0x2d27bd+_0x1b702b;},_0x410cc2[_0x320a3e(0x121)]=_0x320a3e(0xf8),_0x410cc2[_0x320a3e(0x86)]=function(_0x319166,_0x484015){return _0x319166+_0x484015;};const _0x3f6b1e=_0x410cc2,_0x4f96ba=_0x3f6b1e['vsHkn'][_0x320a3e(0x14f)]('|');let _0x552c27=0x0;while(!![]){switch(_0x4f96ba[_0x552c27++]){case'0':await ClientTroubleShootingService['reportProcessInterruptionSituation'](_0x59761a);continue;case'1':await ClientTroubleShootingService[_0x320a3e(0x111)]();continue;case'2':if(this[_0x3f6b1e[_0x320a3e(0xce)](_0x3f6b1e[_0x320a3e(0x9e)],_0x59761a)])return;continue;case'3':logger[_0x320a3e(0x117)](_0x3f6b1e[_0x320a3e(0xea)](_0x3f6b1e[_0x320a3e(0x121)],_0x59761a));continue;case'4':this[_0x3f6b1e['RJZWf'](_0x3f6b1e[_0x320a3e(0x9e)],_0x59761a)]=!![];continue;case'5':await BrowserstackCLI[_0x320a3e(0x157)]()['stop']();continue;case'6':await TestHubHandler[_0x320a3e(0x14e)](_0x59761a);continue;case'7':this['killSignal']=_0x59761a;continue;}break;}}[a94_0x19ff24(0x142)](){const _0x3a0877=a94_0x19ff24,_0x3318e6={'FXPeT':function(_0xcb106,_0x6c0a4c){return _0xcb106===_0x6c0a4c;},'BapWw':_0x3a0877(0x145),'rOlgc':function(_0x36348d,_0x3f5e10){return _0x36348d>_0x3f5e10;},'ebPaU':function(_0x2307be,_0x105d32){return _0x2307be>_0x105d32;},'KSgSL':function(_0x13f59d,_0x1fe156){return _0x13f59d(_0x1fe156);},'mriFk':function(_0x21ee19,_0x166c43){return _0x21ee19(_0x166c43);},'DupBN':function(_0x104150){return _0x104150();},'iHwbz':_0x3a0877(0xc1)};let _0x40dc9e=0x0;return async()=>{const _0x333210=_0x3a0877;_0x40dc9e++;if(_0x3318e6[_0x333210(0x12d)](_0x40dc9e,0x1)){helper['checkStopLocalBinaryOnExit'](this[_0x333210(0xb2)])&&await this[_0x333210(0x85)]();try{logger[_0x333210(0x13d)](_0x3318e6[_0x333210(0x17a)]),await TestHubHandler[_0x333210(0x14e)](_0x40dc9e),await ClientTroubleShootingService[_0x333210(0x111)](),await BrowserstackCLI[_0x333210(0x157)]()['stop']('1');}catch(_0xccabe4){logger[_0x333210(0x13d)](_0x333210(0xa0)+util[_0x333210(0x7c)](_0xccabe4));}PerformanceTester[_0x333210(0x96)](PerformanceEvents['SDK_CLEANUP']);if(PerformanceTester[_0x333210(0x13f)]()){const {measures:_0x5d205d,errors:_0x3306a2}=await PerformanceTester['finalize'](),_0x188a63={};if(_0x5d205d&&_0x3318e6[_0x333210(0xb3)](_0x5d205d[_0x333210(0x146)],0x0)||_0x3306a2&&_0x3318e6[_0x333210(0xa9)](_0x3306a2[_0x333210(0x146)],0x0)){const _0x1f8f4b={};_0x1f8f4b['measures']=_0x5d205d,_0x1f8f4b[_0x333210(0x158)]=_0x3306a2,Object[_0x333210(0x124)](_0x188a63,_0x1f8f4b);}try{const _0x462179=await helper[_0x333210(0xbe)](_0x188a63,this[_0x333210(0x179)]);logger[_0x333210(0x13d)]('Data\x20sent\x20successfully\x20to\x20'+_0x3318e6['KSgSL'](getEdsInstrumentationAPIUrl,'')+_0x333210(0x163)+_0x462179['statusCode']);}catch(_0x28579b){logger['debug'](_0x333210(0x9a)+_0x3318e6[_0x333210(0xab)](getEdsInstrumentationAPIUrl,'')+_0x333210(0x167)+util[_0x333210(0x7c)](_0x28579b));}try{fs[_0x333210(0x156)](path['join'](_0x3318e6[_0x333210(0x14c)](getLogDir),_0x3318e6[_0x333210(0x77)]),JSON[_0x333210(0x76)](_0x188a63));}catch(_0x2750ce){logger['debug'](_0x333210(0xf2)+_0x2750ce);}}}logger&&logger['close'](),fileLogger&&fileLogger['close']();};}}function a94_0x5bc2(){const _0x5339ba=['Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','4688UnULnL','stringify','iHwbz','bind','jwmhv','fireFunnelTestEvent','isUndefined','format','getPackageVersion','IEIlx','disableAutoCaptureLogs','13641nEBWVk','QrObz','setupPercy','handled','WdKCi','stopBrowserstackLocal','RJZWf','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','allocateHub','UPGRADE_REQUIRED','6Prdfqi','innkF','percy','Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled','JxDle','weIDy','8034620ChqYLA','./percy/utils','isLTSSession','nrjwl','winstonLogger','then','end','AI_PROXY_FAILURE','XEgiR','sdkRunId','Failed\x20to\x20send\x20data\x20to\x20','fLpFE','getConfigPath','zTJrh','xiAJh','compareVersions','Error\x20in\x20sending\x20testhub\x20stop:\x20','Jqjmc','8609895YDVywQ','zNbrA','hTAyA','playwrightUrl','stopPercy','path','bstackConfig','ebPaU','3095TWUoYs','mriFk','setLogDir','nTUrY','../bin/v2/browserstackCLI','userName','isTrue','isNotUndefined','framework','rOlgc','../ai-sdk-node/bundle','startMonitoring','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','setupBrowserstackLocal','../bin/utils/apiUtilityMethods','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','XbiLu','BROWSERSTACK_TURBOSCALE','selfHeal','386nivrLQ','sendToEDS','message','AUTOLOGCAPTURE_NOTIFICATION','events.json','false','proxyConfig','cancel','isAuthenticated','isHealingEnabled','customRepeaters','status','SIGQUIT','readConfig','VpBuF','CeisN','intExitHandler','xTWyH','rwwcA','INVALID_INIT_RESP_WITH_USER_IMPACT','ahVdg','unhandledRejection','toLowerCase','4.5.0','5008AYVZHy','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','skipSessionStatus','custom-repeater','ats-repeater','setupTCGAuth','../../package.json','browserstackLocal','CMIpS','unhandledErrors','proxyUrl','configPath','testContextOptions','startLocalBinary','vvKTw','cliConfig','FRAMEWORK','1206GhMFzG','ZsQIF','PwMGL','HZVMf','kbkgr','SIGABRT','handleExceptions','GabuG','central_scanner','iMpjN','getProxyConfigForTcg','aiHeal:tcgAuth','Error\x20in\x20writing\x20events\x20to\x20file\x20','turboScaleGridDetails','SIGBREAK','22iDsBWv','platforms','./performance/constants','Shutdown\x20triggered\x20by\x20','version','init','YCBHn','Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','SDKTestAttempted','util','2|4|3|7|0|6|1|5','captureError','constructor','Percy\x20started\x20successfully','YYcLE','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','../bin/utils/constants','uuid','includes','Error\x20in\x20percy\x20setup\x20','./performance/performance-tester','isRunning','true','vYsbR','fileLogger','killSignal','698996tOjVWr','env','reportFinalDetectionState','localOptions','DxZZw','skipSessionName','envConfig','getFinalCaps','info','23|3|16|2|5|20|7|1|19|13|12|11|8|6|9|18|0|10|22|15|17|14|21|4','userName\x20or\x20accessKey\x20is\x20not\x20defined','fsvSe','getAccessKey','push','7574124kHxYjo','YZxIx','normalizeTestReportingEnvVars','sanitizeCaps','WLhkj','uncaughtException','JWxan','assign','useW3C','isTrialGrid','Local\x20binary\x20stopped','Plqfg','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','HUB_MANAGEMENT','preInitialize','setupKeepAlive','FXPeT','JBWIf','Ttget','SDK\x20run\x20started\x20with\x20id:\x20','BROWSERSTACK_PERCY','TmDTW','VXLgs','AvheT','selenium-webdriver','playwright','getCentralUser','Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20','KLuup','vsHkn','bunup','isTurboScaleSession','debug','error','isEnabled','ZKmPC','BPGAu','exitHandler','getTurboScaleGridDetails','turboScaleOptions','Calling\x20Build\x20Stop\x20from\x20ExitHandler','length','bFOQb','lNGtJ','xOUjz','quloA','turboScaleUrl','DupBN','parallelsPerPlatform','stop','split','codeceptjs','turboScale','KIFYe','platform','getHubUrl','BrowserstackHealing.init','writeFileSync','getInstance','exceptions','default','accessKey','./logger','VEDpw','warn','MypoF','XKUve','generateLocalIdentifier','setProxySettings','UWBeJ','\x20with\x20response\x20','setLogLevel','SIGTERM','./setKeepAlive','\x20with\x20error\x20','BrowserstackHealingInitFailed','./testhub/testhubHandler','setupTcgConfigFile','browserStackLocalOptions','setCredentialsFromYmlConfig','LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20','initialize','?caps=','SIGINT','getLocalIdentifier','wEdTD','isBrowserstackInfra','ckRVg','uBvzR','toString','EZlNS','tcgAuthConfig','config','BapWw','proxy','KlIvK','skipBinaryInitialisation','beforeExit','setEnvCaps','join','TCG_URL','url','soEHW'];a94_0x5bc2=function(){return _0x5339ba;};return a94_0x5bc2();}exports[a94_0x19ff24(0x159)]=BrowserStackSetup;
1
+ function a94_0x418a(_0x5e5352,_0x5abfa9){const _0x138f82=a94_0x138f();return a94_0x418a=function(_0x418a24,_0x31b544){_0x418a24=_0x418a24-0xd3;let _0x5e5b20=_0x138f82[_0x418a24];return _0x5e5b20;},a94_0x418a(_0x5e5352,_0x5abfa9);}const a94_0x399810=a94_0x418a;function a94_0x138f(){const _0x37c481=['isHealingEnabled','includes','upnYH','Error\x20occured\x20while\x20stopping\x20local\x20binary','13153jviPVF','PbFZn','getPackageVersion','SIGQUIT','jLAuN','debug','nItgM','AI_INIT_SUCCESSFUL','stopBrowserstackLocal','url','TCG_URL','Calling\x20Build\x20Stop\x20from\x20ExitHandler','initialize','373128DdohVa','turboScale','exceptions','LuajV','playwrightUrl','SIGINT','AI_INIT_FAILURE','info','beforeExit','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','then','accessKey','events.json','cfsmO','4|3|0|2|1','false','setBrowserstackInfraFromConfig','cFqsc','localIdentifier','qWPyE','../../package.json','split','isBrowserstackInfra','632SSYGmL','compareVersions','close','./timeoutPromise','preInitialize','getFinalCaps','env','RNCmu','proxy','NUTqJ','forceLocal','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','platforms','fEOVI','getInstance','INVALID_INIT_RESP_WITH_USER_IMPACT','./performance/constants','cqNrX','UPGRADE_REQUIRED','IEzmx','SDKTestAttempted','JsTpA','Percy\x20started\x20successfully','Percy\x20stopped','lYhSY','central_scanner','isEnabled','exitHandler','testContextOptions','message','hubUrl','unhandledErrors','rFTRP','lhcGf','path','Shutdown\x20triggered\x20by\x20','skipBinaryInitialisation','constructor','handleExceptions','startLocalBinary','655406QwnlKk','jcdKI','fileLogger','125345ARDUZG','No\x20config\x20provided.','ampSp','AI_PROXY_FAILURE','UEgGg','custom-repeater','Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled','10pTvExo','Failed\x20to\x20send\x20data\x20to\x20','startPercy','cliConfig','oTIzU','./testhub/utils','wLMCC','setProxySettings','__isPlaywrightInstalled','bZznS','SIGHUP','win32','922734xFjFNU','ats-repeater','killSignal','./logger','aiHeal:tcgAuth','KHTJV','FRAMEWORK','configPath','Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20','nevoG','TCG_AUTH_FAILURE','vhuMb','QCgna','format','../hubAllocationMethods','join','startMonitoring','skipSessionName','bstackConfig','Error\x20in\x20sending\x20testhub\x20stop:\x20','localOptions','turboScaleUrl','20jQbEdh','setupTcgConfigFile','framework','AUTOLOGCAPTURE_NOTIFICATION','126KQLlti','fireFunnelTestEvent','acfGP','SDK_CLEANUP','./percy/utils','stopPercy','Error\x20in\x20writing\x20events\x20to\x20file\x20','WubuT','4.5.0','proxyConfig','isUndefined','browserStackLocalOptions','end','length','wewZV','turboScaleGridDetails','Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','getProxyConfigForTcg','jggNV','config','./utilities','tcg\x20config\x20setup\x20successful.','GjDyI','./testhub/testhubHandler','\x20with\x20response\x20','BrowserstackHealing.init','MoYiR','isRunning','BROWSERSTACK_PERCY','userName','checkStopLocalBinaryOnExit','getAccessKey','fxvGg','mvmrB','isAuthenticated','stop','normalizeTestReportingEnvVars','race','UGxOX','setUpHubUrl','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','getLocalIdentifier','selfHeal','./setKeepAlive','zSizi','dxapn','codeceptjs','kazaD','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','measures','setupKeepAlive','toLowerCase','dhhvg','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','./helper','sYKRN','reportFinalDetectionState','browserstackLocal','YGNAb','\x20with\x20error\x20','66yqbgRx','XprTb','BGtbv','rGXej','errorMessage','allocateHub','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','assign','setEnvCaps','turboScaleOptions','intExitHandler','parallelsPerPlatform','GenPC','skipSessionStatus','DWZgV','../ai-sdk-node/bundle','thhWq','setLogLevel','fIwsl','isTurboScaleSession','SIGTERM','cancel','uncaughtException','getUserName','toString','TYzhV','userName\x20or\x20accessKey\x20is\x20not\x20defined','SIGBREAK','BROWSERSTACK_TURBOSCALE','dGdvP','OiXcT','TCG_AUTH_TIMEOUT','status','../bin/utils/clientTroubleshootingService','LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20','setupBrowserstackLocal','uFmmM','jGvpv','Local\x20binary\x20started\x20successfully','nXHQZ','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','Error\x20in\x20percy\x20setup\x20','Hltqc','../bin/v2/browserstackCLI','isTrue','OZBeF','hzCad','zVuyh','default','envConfig','BrowserstackHealingInitFailed','handled','setHandlePWError','TErjE','version','?caps=','init','useW3C','platform','finalize','MvVyt','setupTCGAuth','bind','SIGABRT','GfoPE','sdkRunId','TCG_DOWN','ZubYd','winstonLogger','true','setCLICaps','HUB_MANAGEMENT','generateLocalIdentifier','Error\x20occured\x20while\x20stopping\x20percy','TGvVK','integrations','requireSeleniumWebdriverCheck','pRMve','6468cyVCll','error','Data\x20sent\x20successfully\x20to\x20','MaHmD','proxyUrl','1443186eNtOVd','fvaVD','vDpVj','IlIhN','tcgAuthConfig','percy'];a94_0x138f=function(){return _0x37c481;};return a94_0x138f();}(function(_0x568fad,_0x5c58a7){const _0x253c67=a94_0x418a,_0x3e2aee=_0x568fad();while(!![]){try{const _0xaccaae=parseInt(_0x253c67(0x147))/0x1+parseInt(_0x253c67(0x144))/0x2+-parseInt(_0x253c67(0x174))/0x3*(-parseInt(_0x253c67(0xe9))/0x4)+parseInt(_0x253c67(0x14e))/0x5*(parseInt(_0x253c67(0x15a))/0x6)+-parseInt(_0x253c67(0xf8))/0x7*(parseInt(_0x253c67(0x11c))/0x8)+-parseInt(_0x253c67(0xee))/0x9*(parseInt(_0x253c67(0x170))/0xa)+-parseInt(_0x253c67(0x1b0))/0xb*(parseInt(_0x253c67(0x105))/0xc);if(_0xaccaae===_0x5c58a7)break;else _0x3e2aee['push'](_0x3e2aee['shift']());}catch(_0x47c53b){_0x3e2aee['push'](_0x3e2aee['shift']());}}}(a94_0x138f,0x2a31b));const util=require('util'),os=require('os'),path=require(a94_0x399810(0x13e)),{v4:uuidv4}=require('uuid'),fs=require('fs'),constants=require('../bin/utils/constants'),logger=require(a94_0x399810(0x15d))[a94_0x399810(0xdf)],fileLogger=require(a94_0x399810(0x15d))[a94_0x399810(0x146)],{getLogDir}=require(a94_0x399810(0x15d)),helper=require(a94_0x399810(0x1aa)),utilities=require(a94_0x399810(0x188)),percyHelper=require(a94_0x399810(0x178)),hubAllocator=require(a94_0x399810(0x168)),PerformanceTester=require('./performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require(a94_0x399810(0x12c)),{setPercyFlag}=require(a94_0x399810(0x153)),TestHubHandler=require(a94_0x399810(0x18b)),timeoutPromise=require(a94_0x399810(0x11f)),BrowserstackCLI=require(a94_0x399810(0x1db)),LoadTestModule=require('../bin/v2/modules/loadTestModule'),{getEdsInstrumentationAPIUrl}=require('../bin/utils/apiUtilityMethods'),ClientTroubleShootingService=require(a94_0x399810(0x1d1));class BrowserStackSetup{constructor(_0x2214ff,_0x326c50){const _0x21b1de=a94_0x399810,_0x5c2948={'sYKRN':'17|6|3|1|8|7|5|16|20|14|4|10|9|12|13|21|23|22|2|15|11|18|0|19','KHTJV':function(_0x131693){return _0x131693();},'qWPyE':_0x21b1de(0x148)},_0x4b7e3b=_0x5c2948[_0x21b1de(0x1ab)][_0x21b1de(0x11a)]('|');let _0x237277=0x0;while(!![]){switch(_0x4b7e3b[_0x237277++]){case'0':helper[_0x21b1de(0x1c1)](this[_0x21b1de(0x187)],this[_0x21b1de(0x151)],this[_0x21b1de(0x1e1)]);continue;case'1':this[_0x21b1de(0x1ad)]=null;continue;case'2':this[_0x21b1de(0x187)]['testContextOptions'][_0x21b1de(0x1bd)]=!helper['isBrowserstackInfra']()||helper['isTrue'](this[_0x21b1de(0x187)][_0x21b1de(0x138)]['skipSessionStatus']);continue;case'3':this[_0x21b1de(0x1e1)]=helper[_0x21b1de(0x1b8)]();continue;case'4':this[_0x21b1de(0x1b4)]={};continue;case'5':this['config']=helper['readConfig'](this[_0x21b1de(0x161)]);continue;case'6':helper[_0x21b1de(0x198)]();continue;case'7':this['configPath']=helper['getConfigPath'](_0x2214ff);continue;case'8':this['percy']=null;continue;case'9':this['framework']=_0x326c50;continue;case'10':this['sdkRunId']=_0x5c2948[_0x21b1de(0x15f)](uuidv4);continue;case'11':helper[_0x21b1de(0x121)](this['config'],this[_0x21b1de(0x151)],this['envConfig']);continue;case'12':global['framework']=_0x326c50;continue;case'13':if(helper[_0x21b1de(0x17e)](this['config']))throw new Error(_0x5c2948[_0x21b1de(0x118)]);continue;case'14':this[_0x21b1de(0x187)][_0x21b1de(0x138)]=this[_0x21b1de(0x187)]['testContextOptions']||{};continue;case'15':this[_0x21b1de(0x187)][_0x21b1de(0x138)][_0x21b1de(0x16b)]=!helper['isBrowserstackInfra']()||helper[_0x21b1de(0x1dc)](this[_0x21b1de(0x187)]['testContextOptions'][_0x21b1de(0x16b)]);continue;case'16':this[_0x21b1de(0x151)]=helper[_0x21b1de(0xe1)](_0x2214ff);continue;case'17':this['unhandledErrors']=[];continue;case'18':helper['setLogDir'](this[_0x21b1de(0x187)]);continue;case'19':PerformanceTester[_0x21b1de(0x16a)]();continue;case'20':this[_0x21b1de(0x187)][_0x21b1de(0x128)]=this['config'][_0x21b1de(0x128)]||[];continue;case'21':if(this[_0x21b1de(0x187)]['error'])throw new Error(this[_0x21b1de(0x187)]['error']);continue;case'22':helper['setCredentialsFromYmlConfig'](this['config']);continue;case'23':helper[_0x21b1de(0x115)](this['config'],this[_0x21b1de(0x151)]);continue;}break;}}[a94_0x399810(0x120)](_0x3523a4){const _0x4df7e4=a94_0x399810,_0x433762={'OiXcT':_0x4df7e4(0x1ca),'DWZgV':function(_0xc9bccb,_0x1532cb){return _0xc9bccb===_0x1532cb;},'mvmrB':_0x4df7e4(0xe6),'upnYH':_0x4df7e4(0x130),'thhWq':function(_0x5e1585,_0x170c79){return _0x5e1585<_0x170c79;},'rFTRP':function(_0x11f0b2,_0x4c23a0){return _0x11f0b2(_0x4c23a0);},'lYhSY':'selenium-webdriver','RNCmu':function(_0x44291f,_0x390f56){return _0x44291f===_0x390f56;},'jGvpv':_0x4df7e4(0x17c),'dxapn':'Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','TYzhV':_0x4df7e4(0x127),'xwQIq':_0x4df7e4(0x1c4),'XprTb':_0x4df7e4(0x10a),'fIwsl':_0x4df7e4(0x158),'UEgGg':function(_0x3c70e0,_0xf69d4a){return _0x3c70e0!==_0xf69d4a;},'jcdKI':_0x4df7e4(0x159),'MaHmD':_0x4df7e4(0xda),'MoYiR':_0x4df7e4(0xfb),'bZznS':_0x4df7e4(0x1cb),'ZubYd':_0x4df7e4(0x10d)},_0x35888c=this[_0x4df7e4(0x172)];global[_0x4df7e4(0x187)]=this[_0x4df7e4(0x187)],helper['sanitizeCaps'](this['config']),this['killSignal']=null,global[_0x4df7e4(0xdc)]=this[_0x4df7e4(0xdc)],logger[_0x4df7e4(0x10c)]('SDK\x20run\x20started\x20with\x20id:\x20'+this[_0x4df7e4(0xdc)]),!this['config'][_0x4df7e4(0x17f)]&&(this[_0x4df7e4(0x187)][_0x4df7e4(0x17f)]=this['config'][_0x4df7e4(0x16e)]||{});if(helper[_0x4df7e4(0x17e)](helper[_0x4df7e4(0x1c7)](this[_0x4df7e4(0x187)]))||helper[_0x4df7e4(0x17e)](helper[_0x4df7e4(0x193)](this['config'])))throw new Error(_0x433762[_0x4df7e4(0x1ce)]);helper['getLocalConfig'](this[_0x4df7e4(0x187)])&&helper['isUndefined'](helper[_0x4df7e4(0x19d)](this[_0x4df7e4(0x187)]))&&(!helper[_0x4df7e4(0x17e)](this['config']['browserStackLocalOptions'])&&_0x433762['DWZgV'](this['config'][_0x4df7e4(0x17f)][_0x4df7e4(0x141)],Object)?!helper['isTrue'](this[_0x4df7e4(0x187)][_0x4df7e4(0x17f)][_0x4df7e4(0x140)])&&(this['config']['browserStackLocalOptions'][_0x4df7e4(0x117)]=helper[_0x4df7e4(0xe3)]()):this[_0x4df7e4(0x187)]['browserStackLocalOptions']={'localIdentifier':helper[_0x4df7e4(0xe3)]()});this[_0x4df7e4(0x187)]['browserStackLocalOptions'][_0x4df7e4(0x140)]=helper[_0x4df7e4(0x1dc)](this[_0x4df7e4(0x187)][_0x4df7e4(0x17f)][_0x4df7e4(0x140)]),helper[_0x4df7e4(0x1e4)](this[_0x4df7e4(0x187)]);if(_0x433762[_0x4df7e4(0x1be)](_0x35888c,_0x433762[_0x4df7e4(0x195)]))return;this[_0x4df7e4(0x142)]();process['env'][_0x4df7e4(0x1cc)]&&(this['config'][_0x4df7e4(0x106)]=helper[_0x4df7e4(0x1dc)](process[_0x4df7e4(0x122)]['BROWSERSTACK_TURBOSCALE']),this[_0x4df7e4(0x187)]['turboScaleOptions']=this[_0x4df7e4(0x187)][_0x4df7e4(0x1b9)]||{});helper['isTurboScaleSession'](this[_0x4df7e4(0x187)])&&(process[_0x4df7e4(0x122)][_0x4df7e4(0x1cc)]=!![]);LoadTestModule['isLTSSession'](this['config'])&&logger['debug'](_0x4df7e4(0x1d2)+this[_0x4df7e4(0xdc)]);if(!helper[_0x4df7e4(0x11b)]()){try{process['env'][_0x4df7e4(0x160)]=_0x35888c,utilities[_0x4df7e4(0x175)](_0x433762[_0x4df7e4(0xf6)],{},this[_0x4df7e4(0x187)],this[_0x4df7e4(0x172)]);}catch(_0x42ae28){logger[_0x4df7e4(0xfd)](_0x4df7e4(0x1d8)+_0x42ae28);}return;}if(helper[_0x4df7e4(0xe7)](_0x35888c)){if(global[_0x4df7e4(0x156)])return;_0x433762[_0x4df7e4(0x1c0)](_0x433762[_0x4df7e4(0x13c)](parseInt,helper['getPackageVersion'](_0x433762[_0x4df7e4(0x134)])),0x3)&&(this[_0x4df7e4(0x187)]['useW3C']=![]),_0x433762[_0x4df7e4(0x123)](helper[_0x4df7e4(0x11d)](helper[_0x4df7e4(0xfa)](_0x433762[_0x4df7e4(0x134)]),_0x433762[_0x4df7e4(0x1d5)]),0x1)&&(this[_0x4df7e4(0x187)][_0x4df7e4(0xd4)]=!![]);}(helper['isUndefined'](this[_0x4df7e4(0x187)]['platforms'])||helper[_0x4df7e4(0x17e)](this[_0x4df7e4(0x187)]['platforms'][_0x4df7e4(0x181)]))&&(helper['isUndefined'](this['config'][_0x4df7e4(0x1bb)])?logger['info'](_0x433762[_0x4df7e4(0x1a1)]):logger['warn'](_0x433762[_0x4df7e4(0x1c9)]),this[_0x4df7e4(0x187)][_0x4df7e4(0x128)]=[]);!this[_0x4df7e4(0x187)][_0x4df7e4(0x138)]&&(this[_0x4df7e4(0x187)]['testContextOptions']={});try{process['env'][_0x4df7e4(0x160)]=_0x3523a4['_'][0x0],utilities['fireFunnelTestEvent'](_0x433762['upnYH'],{},this[_0x4df7e4(0x187)],this[_0x4df7e4(0x172)]);}catch(_0x147dd7){logger[_0x4df7e4(0xfd)](_0x4df7e4(0x1d8)+_0x147dd7);}!this[_0x4df7e4(0x187)]['disableAutoCaptureLogs']&&logger[_0x4df7e4(0x10c)](constants[_0x4df7e4(0x173)]),this[_0x4df7e4(0x1ba)]=this[_0x4df7e4(0x1ba)][_0x4df7e4(0xd9)](this),process['on'](_0x433762['xwQIq'],this['intExitHandler']),process['on'](_0x433762[_0x4df7e4(0x1b1)],this['intExitHandler']),process['on'](_0x433762[_0x4df7e4(0x1c2)],this[_0x4df7e4(0x1ba)]),_0x433762[_0x4df7e4(0x14b)](process['platform'],_0x433762[_0x4df7e4(0x145)])?(process['on'](_0x433762[_0x4df7e4(0xec)],this['intExitHandler']),process['on'](_0x433762[_0x4df7e4(0x18e)],this[_0x4df7e4(0x1ba)])):process['on'](_0x433762[_0x4df7e4(0x157)],this['intExitHandler']),process['on'](_0x433762[_0x4df7e4(0xde)],this[_0x4df7e4(0x137)]());}async[a94_0x399810(0x104)](_0x1e9171){const _0xc03e6a=a94_0x399810,_0x465414={'iqOnB':_0xc03e6a(0x15b),'GenPC':_0xc03e6a(0x14c),'vhuMb':_0xc03e6a(0xe0),'uIakS':function(_0x4ca33e,_0x20520e){return _0x4ca33e===_0x20520e;},'YGNAb':'playwright','TejAg':function(_0x36ac28,_0x278753){return _0x36ac28+_0x278753;},'cfsmO':_0xc03e6a(0x1e7),'ampSp':function(_0x3bcd22,_0x589ee5){return _0x3bcd22(_0x589ee5);},'OZBeF':_0xc03e6a(0x1a2)};this[_0xc03e6a(0x120)](_0x1e9171);if(helper['isTurboScaleSession'](this[_0xc03e6a(0x187)])){const _0x5a9219=await helper['getTurboScaleGridDetails'](this['config']);this['config'][_0xc03e6a(0x183)]=_0x5a9219,_0x5a9219['isTrialGrid']&&helper['isNotUndefined'](this[_0xc03e6a(0x187)]['browserstackLocal'])&&helper[_0xc03e6a(0x1dc)](this[_0xc03e6a(0x187)]['browserstackLocal'])&&(this[_0xc03e6a(0x187)][_0xc03e6a(0x17f)][_0xc03e6a(0x117)]=_0x465414['iqOnB'],this['config'][_0xc03e6a(0x17f)][_0x465414[_0xc03e6a(0x1bc)]]=_0x5a9219['customRepeaters']['join'](','),this[_0xc03e6a(0x187)][_0xc03e6a(0x17f)][_0xc03e6a(0x126)]=_0x465414[_0xc03e6a(0x165)]),this[_0xc03e6a(0x187)]['turboScaleUrl']=_0x5a9219[_0xc03e6a(0x101)],this['framework']&&_0x465414['uIakS'](this[_0xc03e6a(0x172)][_0xc03e6a(0x1a7)](),_0x465414[_0xc03e6a(0x1ae)])?this[_0xc03e6a(0x187)][_0xc03e6a(0x16f)]=_0x465414['TejAg'](_0x5a9219[_0xc03e6a(0x109)],_0x465414[_0xc03e6a(0x112)]):constants[_0xc03e6a(0x13a)]=helper['getHubUrl'](this[_0xc03e6a(0x187)]),logger['debug'](_0xc03e6a(0x19c)+constants[_0xc03e6a(0x13a)]);}helper[_0xc03e6a(0x155)](this[_0xc03e6a(0x187)]),this[_0xc03e6a(0x1a6)](),_0x465414[_0xc03e6a(0x149)](setPercyFlag,this),await this[_0xc03e6a(0x1d3)](),![_0x465414[_0xc03e6a(0x1dd)],_0x465414['YGNAb']][_0xc03e6a(0xf5)](this[_0xc03e6a(0x172)])&&!helper[_0xc03e6a(0x1c3)](this[_0xc03e6a(0x187)])&&!helper['getCentralUser']()[_0xc03e6a(0x135)]&&await this[_0xc03e6a(0x19b)]();}async['setupPercy'](){const _0x4d532d=a94_0x399810,_0xb72385={};_0xb72385[_0x4d532d(0x1b3)]=function(_0x561ed4,_0x5563b7){return _0x561ed4===_0x5563b7;},_0xb72385[_0x4d532d(0xe5)]=_0x4d532d(0x114),_0xb72385['cFqsc']=_0x4d532d(0x1a9),_0xb72385[_0x4d532d(0xfc)]=_0x4d532d(0x132),_0xb72385[_0x4d532d(0x1a3)]=_0x4d532d(0xe0),_0xb72385[_0x4d532d(0xef)]=_0x4d532d(0x10d);const _0x3e836f=_0xb72385;if(helper[_0x4d532d(0x1dc)](this[_0x4d532d(0x187)][_0x4d532d(0xf3)])&&(!this[_0x4d532d(0xf3)]||!this[_0x4d532d(0xf3)]['isRunning']()))try{this[_0x4d532d(0xf3)]=await percyHelper[_0x4d532d(0x150)](this['config']);if(!this[_0x4d532d(0xf3)]){process[_0x4d532d(0x122)][_0x4d532d(0x190)]=_0x3e836f[_0x4d532d(0xe5)];throw new Error(_0x3e836f[_0x4d532d(0x116)]);}logger[_0x4d532d(0x10c)](_0x3e836f[_0x4d532d(0xfc)]),process[_0x4d532d(0x122)][_0x4d532d(0x190)]=_0x3e836f[_0x4d532d(0x1a3)];let _0x267254=0x0;const _0x93ca49=async()=>{const _0x277d5c=_0x4d532d;_0x267254++,_0x3e836f[_0x277d5c(0x1b3)](_0x267254,0x1)&&await this['stopPercy']();};process['on'](_0x3e836f[_0x4d532d(0xef)],_0x93ca49);}catch(_0xa99a4f){process[_0x4d532d(0x122)][_0x4d532d(0x190)]=_0x3e836f['TGvVK'],logger['debug'](_0x4d532d(0x1d9)+_0xa99a4f);throw new Error(_0xa99a4f['toString']());}}async[a94_0x399810(0x179)](){const _0x5e5b33=a94_0x399810,_0x28c7fa={};_0x28c7fa[_0x5e5b33(0x1a8)]=_0x5e5b33(0x133),_0x28c7fa[_0x5e5b33(0x1de)]=_0x5e5b33(0xe4);const _0x40a4d6=_0x28c7fa;if(this[_0x5e5b33(0xf3)]&&this['percy'][_0x5e5b33(0x18f)]())try{await percyHelper[_0x5e5b33(0x179)](this[_0x5e5b33(0xf3)]),logger[_0x5e5b33(0x10c)](_0x40a4d6[_0x5e5b33(0x1a8)]);}catch(_0x26bf6e){logger[_0x5e5b33(0xea)](_0x40a4d6[_0x5e5b33(0x1de)],_0x26bf6e[_0x5e5b33(0x139)]);}}async[a94_0x399810(0x1d3)](){const _0x232337=a94_0x399810,_0x39c9d7={};_0x39c9d7[_0x232337(0x18a)]=_0x232337(0x14d),_0x39c9d7[_0x232337(0x131)]=_0x232337(0x1d6);const _0x45db58=_0x39c9d7;if(helper[_0x232337(0x11b)]()&&helper[_0x232337(0x1dc)](this[_0x232337(0x187)]['browserstackLocal'])&&(!this[_0x232337(0x1ad)]||!this['browserstackLocal'][_0x232337(0x18f)]()))try{if(this[_0x232337(0x187)][_0x232337(0x17f)][_0x232337(0x140)]){logger[_0x232337(0xfd)](_0x45db58[_0x232337(0x18a)]);return;}this[_0x232337(0x1ad)]=await helper[_0x232337(0x143)](this[_0x232337(0x187)]),logger['info'](_0x45db58[_0x232337(0x131)]);}catch(_0xc1a996){logger[_0x232337(0xfd)](_0xc1a996);throw new Error(_0xc1a996[_0x232337(0x1c8)]());}}async[a94_0x399810(0x100)](){const _0xd3fc45=a94_0x399810,_0x30b9a3={};_0x30b9a3[_0xd3fc45(0x176)]='Local\x20binary\x20stopped',_0x30b9a3[_0xd3fc45(0x1df)]=_0xd3fc45(0xf7);const _0x267898=_0x30b9a3;if(this[_0xd3fc45(0x1ad)]&&this['browserstackLocal'][_0xd3fc45(0x18f)]())try{await helper['stopLocalBinary'](this[_0xd3fc45(0x1ad)]),logger[_0xd3fc45(0x10c)](_0x267898[_0xd3fc45(0x176)]);}catch(_0x44d36f){logger['error'](_0x267898[_0xd3fc45(0x1df)],_0x44d36f[_0xd3fc45(0x139)]);}}async[a94_0x399810(0x19b)](){const _0x2a3f52=a94_0x399810;return PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x2a3f52(0xe2)],async()=>{const _0x21e889=_0x2a3f52;await hubAllocator[_0x21e889(0x1b5)](this[_0x21e889(0x187)]);})();}async[a94_0x399810(0xd8)](){const _0x59ecaa=a94_0x399810,_0x305586={'UGxOX':function(_0x515f02,_0x116992){return _0x515f02(_0x116992);},'jggNV':_0x59ecaa(0x1bf),'vopmU':function(_0x80b584,_0x357b7d,_0x47139b,_0x445c2f,_0x5837ab,_0x4d1a0b,_0x22e828){return _0x80b584(_0x357b7d,_0x47139b,_0x445c2f,_0x5837ab,_0x4d1a0b,_0x22e828);},'dGdvP':'BrowserstackHealing.init\x20method\x20timed\x20out','WQzNx':_0x59ecaa(0x1e2),'vMVBG':function(_0x70bc8a,_0x72e37e){return _0x70bc8a(_0x72e37e);},'wLMCC':_0x59ecaa(0x119),'fEOVI':_0x59ecaa(0x18d),'mBJgX':function(_0x487f09,_0x30e244){return _0x487f09(_0x30e244);},'nevoG':function(_0x26de3f,_0x33883b){return _0x26de3f===_0x33883b;},'BGtbv':_0x59ecaa(0xe0),'fxvGg':function(_0x1aafe3,_0x39b563){return _0x1aafe3===_0x39b563;},'TErjE':function(_0x34f04c,_0x369c38){return _0x34f04c===_0x369c38;},'uFmmM':_0x59ecaa(0x1a4),'TLCkg':function(_0x20fbb4,_0x328818){return _0x20fbb4===_0x328818;},'pseun':_0x59ecaa(0x1b6),'giyuC':_0x59ecaa(0x184),'pRMve':function(_0x3bd6bb,_0xe37b62){return _0x3bd6bb(_0xe37b62);},'PbFZn':_0x59ecaa(0x10e),'wewZV':function(_0x3d454b,_0x9702b6){return _0x3d454b>=_0x9702b6;},'JkEjP':function(_0x1a2a68,_0x5260ae){return _0x1a2a68<_0x5260ae;},'NUTqJ':function(_0x261ea4,_0x22f54b){return _0x261ea4>=_0x22f54b;},'oTIzU':_0x59ecaa(0x189),'Hltqc':_0x59ecaa(0x15e),'kdRYK':function(_0x33632b){return _0x33632b();}},_0x11dcb0=PerformanceTester['measureWrapper'](_0x305586[_0x59ecaa(0x1da)],async()=>{const _0xe0bdd=_0x59ecaa;try{const _0x4d5846=new Date(),_0x40ca45=helper[_0xe0bdd(0x185)](this[_0xe0bdd(0x187)]),_0xa750a7=_0x305586[_0xe0bdd(0x19a)](require,path['join'](__dirname,_0x305586[_0xe0bdd(0x186)])),_0xde8f05=_0x305586['vopmU'](timeoutPromise,constants[_0xe0bdd(0x1cf)],_0x305586[_0xe0bdd(0x1cd)],_0x305586['WQzNx'],_0x4d5846,this['config'],this[_0xe0bdd(0x172)]),_0x56e84b={'tcgUrl':constants[_0xe0bdd(0x102)],'sdkVersion':_0x305586['vMVBG'](require,_0x305586[_0xe0bdd(0x154)])['version'],'methodUsed':_0x305586[_0xe0bdd(0x129)],'proxyConfig':_0x40ca45,'os':os[_0xe0bdd(0xd5)]()};if(_0x40ca45&&_0x40ca45[_0xe0bdd(0xed)]){utilities[_0xe0bdd(0x175)](constants[_0xe0bdd(0x14a)],_0x56e84b,this[_0xe0bdd(0x187)],this[_0xe0bdd(0x172)]);return;}const _0x42b022={};_0x42b022[_0xe0bdd(0x124)]=_0x40ca45;const _0x390c8d=await Promise[_0xe0bdd(0x199)]([_0xa750a7[_0xe0bdd(0xd3)](this['config'][_0xe0bdd(0x110)],this[_0xe0bdd(0x187)][_0xe0bdd(0x191)],constants[_0xe0bdd(0x102)],_0x305586['mBJgX'](require,_0x305586[_0xe0bdd(0x154)])[_0xe0bdd(0x1e6)],_0x42b022)[_0xe0bdd(0x10f)](_0x27e622=>{const _0x60be39=_0xe0bdd;return _0xde8f05[_0x60be39(0x1c5)](),_0x27e622;}),_0xde8f05]);_0x390c8d[_0xe0bdd(0xf4)]=_0x305586[_0xe0bdd(0x163)](_0x390c8d[_0xe0bdd(0xf4)],_0x305586[_0xe0bdd(0x1b2)])||_0x305586[_0xe0bdd(0x194)](_0x390c8d[_0xe0bdd(0xf4)],!![]);const _0x1daf47=_0x305586[_0xe0bdd(0x194)](this[_0xe0bdd(0x187)][_0xe0bdd(0x19e)],!![])||_0x305586['nevoG'](this[_0xe0bdd(0x187)][_0xe0bdd(0x19e)],_0x305586[_0xe0bdd(0x1b2)]);if(_0x305586[_0xe0bdd(0x1e5)](_0x390c8d[_0xe0bdd(0x139)],constants[_0xe0bdd(0x12e)])&&_0x1daf47)logger[_0xe0bdd(0x10c)](_0x305586[_0xe0bdd(0x1d4)]);else{if(!_0x390c8d[_0xe0bdd(0x196)]&&_0x305586['TLCkg'](_0x390c8d[_0xe0bdd(0x1d0)],0x1f7)&&_0x1daf47)logger[_0xe0bdd(0x10c)](_0x305586['pseun']),utilities[_0xe0bdd(0x175)](constants[_0xe0bdd(0xdd)],_0x56e84b,this[_0xe0bdd(0x187)],this[_0xe0bdd(0x172)]);else{if(!_0x390c8d[_0xe0bdd(0x196)]&&_0x1daf47){logger[_0xe0bdd(0x10c)](_0x305586['giyuC']);const _0x454d95={'tcgUrl':constants[_0xe0bdd(0x102)],'sdkVersion':_0x305586[_0xe0bdd(0xe8)](require,_0x305586[_0xe0bdd(0x154)])[_0xe0bdd(0x1e6)],'methodUsed':_0x305586['fEOVI'],'proxyConfig':_0x40ca45,'os':os[_0xe0bdd(0xd5)]()};utilities[_0xe0bdd(0x175)](constants[_0xe0bdd(0x164)],_0x454d95,this[_0xe0bdd(0x187)],this[_0xe0bdd(0x172)]);}else{if(_0x390c8d[_0xe0bdd(0x196)]&&!_0x390c8d[_0xe0bdd(0xf4)]&&_0x1daf47)logger[_0xe0bdd(0x10c)](_0x305586[_0xe0bdd(0xf9)]);else{if(_0x305586[_0xe0bdd(0x182)](_0x390c8d['status'],0xc8)&&_0x305586['JkEjP'](_0x390c8d['status'],0x12c))utilities[_0xe0bdd(0x175)](constants[_0xe0bdd(0xff)],_0x56e84b,this[_0xe0bdd(0x187)],this[_0xe0bdd(0x172)]);else{if(_0x305586[_0xe0bdd(0x125)](_0x390c8d['status'],0x190))_0x56e84b['status']=_0x390c8d[_0xe0bdd(0x1d0)],utilities[_0xe0bdd(0x175)](constants[_0xe0bdd(0x10b)],_0x56e84b,this[_0xe0bdd(0x187)],this[_0xe0bdd(0x172)]);else!_0x390c8d['status']&&utilities[_0xe0bdd(0x175)](constants[_0xe0bdd(0x12b)],_0x56e84b,this[_0xe0bdd(0x187)],this[_0xe0bdd(0x172)]);}}}}}if(_0x390c8d['isAuthenticated']&&_0x390c8d[_0xe0bdd(0xf4)]){const _0x1a5e31={};_0x1a5e31[_0xe0bdd(0xf2)]=_0x390c8d;const _0x597a8c=_0x1a5e31;_0x40ca45&&(_0x597a8c[_0xe0bdd(0x17d)]=_0x40ca45),_0x597a8c[_0xe0bdd(0x172)]=this['framework'],_0x597a8c[_0xe0bdd(0x16c)]=this[_0xe0bdd(0x187)],helper[_0xe0bdd(0x171)](_0x597a8c),logger[_0xe0bdd(0xfd)](_0x305586[_0xe0bdd(0x152)]);}}catch(_0x49ea76){logger[_0xe0bdd(0xfd)](_0xe0bdd(0x162)+(_0x49ea76[_0xe0bdd(0x139)]?_0x49ea76['message']:''));}});await _0x305586['kdRYK'](_0x11dcb0);}[a94_0x399810(0x1a6)](){const _0x47013f=a94_0x399810,_0x5077e5={'vDpVj':function(_0x5d71f5,_0x319ff9){return _0x5d71f5(_0x319ff9);},'zfNtg':_0x47013f(0x19f)};_0x5077e5[_0x47013f(0xf0)](require,_0x5077e5['zfNtg'])();}[a94_0x399810(0x142)](){const _0x53697c=a94_0x399810,_0x194710={};_0x194710[_0x53697c(0x12f)]=_0x53697c(0x113),_0x194710[_0x53697c(0x17b)]='unhandledRejection',_0x194710['qabso']=_0x53697c(0x1c6);const _0x536db7=_0x194710,_0x38d779=_0x1084a3=>{const _0x34b38a=_0x53697c,_0x2ad66d=_0x536db7['IEzmx'][_0x34b38a(0x11a)]('|');let _0x446648=0x0;while(!![]){switch(_0x2ad66d[_0x446648++]){case'0':this[_0x34b38a(0x13b)]['push'](util[_0x34b38a(0x167)]('%j',_0x1084a3));continue;case'1':ClientTroubleShootingService['reportFinalDetectionState']();continue;case'2':PerformanceTester['captureError'](_0x1084a3);continue;case'3':logger['debug'](util[_0x34b38a(0x167)](_0x1084a3));continue;case'4':logger[_0x34b38a(0xea)](_0x1084a3[_0x34b38a(0x139)]);continue;}break;}};process['on'](_0x536db7[_0x53697c(0x17b)],_0x38d779),process['on'](_0x536db7['qabso'],_0x38d779);}async[a94_0x399810(0x1ba)](_0x218c7d){const _0x807347=a94_0x399810,_0xcf8f26={};_0xcf8f26[_0x807347(0x108)]='2|6|3|4|0|7|5|1',_0xcf8f26[_0x807347(0xf1)]=function(_0x12757d,_0x2d5413){return _0x12757d+_0x2d5413;},_0xcf8f26[_0x807347(0xdb)]=_0x807347(0x1e3),_0xcf8f26[_0x807347(0xd7)]=_0x807347(0x13f),_0xcf8f26[_0x807347(0x12d)]=function(_0x22f4a5,_0x418218){return _0x22f4a5+_0x418218;};const _0x507fac=_0xcf8f26,_0x2d25c0=_0x507fac[_0x807347(0x108)][_0x807347(0x11a)]('|');let _0x168a00=0x0;while(!![]){switch(_0x2d25c0[_0x168a00++]){case'0':await ClientTroubleShootingService['reportProcessInterruptionSituation'](_0x218c7d);continue;case'1':await BrowserstackCLI[_0x807347(0x12a)]()[_0x807347(0x197)]();continue;case'2':if(this[_0x507fac['IlIhN'](_0x507fac[_0x807347(0xdb)],_0x218c7d)])return;continue;case'3':logger[_0x807347(0x10c)](_0x507fac[_0x807347(0xf1)](_0x507fac['MvVyt'],_0x218c7d));continue;case'4':this[_0x807347(0x15c)]=_0x218c7d;continue;case'5':await ClientTroubleShootingService[_0x807347(0x1ac)]();continue;case'6':this[_0x507fac[_0x807347(0x12d)](_0x507fac[_0x807347(0xdb)],_0x218c7d)]=!![];continue;case'7':await TestHubHandler[_0x807347(0x197)](_0x218c7d);continue;}break;}}['exitHandler'](){const _0x5e47c0=a94_0x399810,_0x5d9ff9={'QCgna':function(_0x494d42,_0x2702f7){return _0x494d42===_0x2702f7;},'nXHQZ':_0x5e47c0(0x103),'QpnsQ':function(_0x32ebec,_0x2d9827){return _0x32ebec>_0x2d9827;},'CkCem':function(_0x240b88,_0x39d9ce){return _0x240b88>_0x39d9ce;},'nItgM':function(_0x1137b8,_0x565844){return _0x1137b8(_0x565844);},'tybfp':function(_0x42e161,_0x33e727){return _0x42e161(_0x33e727);},'zSizi':function(_0x5ec000){return _0x5ec000();},'lhcGf':_0x5e47c0(0x111)};let _0x5c4649=0x0;return async()=>{const _0x39000d=_0x5e47c0;_0x5c4649++;if(_0x5d9ff9[_0x39000d(0x166)](_0x5c4649,0x1)){helper[_0x39000d(0x192)](this[_0x39000d(0x172)])&&await this[_0x39000d(0x100)]();try{logger[_0x39000d(0xfd)](_0x5d9ff9[_0x39000d(0x1d7)]),await TestHubHandler[_0x39000d(0x197)](_0x5c4649),await ClientTroubleShootingService[_0x39000d(0x1ac)](),await BrowserstackCLI[_0x39000d(0x12a)]()['stop']('1');}catch(_0x3ca3ea){logger[_0x39000d(0xfd)](_0x39000d(0x16d)+util[_0x39000d(0x167)](_0x3ca3ea));}PerformanceTester[_0x39000d(0x180)](PerformanceEvents[_0x39000d(0x177)]);if(PerformanceTester[_0x39000d(0x136)]()){const {measures:_0x2525f1,errors:_0x129f5e}=await PerformanceTester[_0x39000d(0xd6)](),_0x2fcc0c={};if(_0x2525f1&&_0x5d9ff9['QpnsQ'](_0x2525f1[_0x39000d(0x181)],0x0)||_0x129f5e&&_0x5d9ff9['CkCem'](_0x129f5e['length'],0x0)){const _0xcccae5={};_0xcccae5[_0x39000d(0x1a5)]=_0x2525f1,_0xcccae5[_0x39000d(0x107)]=_0x129f5e,Object[_0x39000d(0x1b7)](_0x2fcc0c,_0xcccae5);}try{const _0xfc583c=await helper['sendToEDS'](_0x2fcc0c,this['config']);logger[_0x39000d(0xfd)](_0x39000d(0xeb)+_0x5d9ff9[_0x39000d(0xfe)](getEdsInstrumentationAPIUrl,'')+_0x39000d(0x18c)+_0xfc583c['statusCode']);}catch(_0x5105af){logger[_0x39000d(0xfd)](_0x39000d(0x14f)+_0x5d9ff9['tybfp'](getEdsInstrumentationAPIUrl,'')+_0x39000d(0x1af)+util[_0x39000d(0x167)](_0x5105af));}try{fs['writeFileSync'](path[_0x39000d(0x169)](_0x5d9ff9[_0x39000d(0x1a0)](getLogDir),_0x5d9ff9[_0x39000d(0x13d)]),JSON['stringify'](_0x2fcc0c));}catch(_0x2b8c88){logger[_0x39000d(0xfd)](_0x39000d(0x17a)+_0x2b8c88);}}}logger&&logger[_0x39000d(0x11e)](),fileLogger&&fileLogger[_0x39000d(0x11e)]();};}}exports[a94_0x399810(0x1e0)]=BrowserStackSetup;
@@ -1 +1 @@
1
- const a95_0xa8824e=a95_0x223e;(function(_0x5eb390,_0x10d1c4){const _0x51bdab=a95_0x223e,_0x5b2b48=_0x5eb390();while(!![]){try{const _0x39258b=-parseInt(_0x51bdab(0x214))/0x1+parseInt(_0x51bdab(0x1d6))/0x2+-parseInt(_0x51bdab(0x27f))/0x3+-parseInt(_0x51bdab(0x1cb))/0x4+parseInt(_0x51bdab(0x1f8))/0x5*(-parseInt(_0x51bdab(0x1e6))/0x6)+-parseInt(_0x51bdab(0x222))/0x7+parseInt(_0x51bdab(0x251))/0x8;if(_0x39258b===_0x10d1c4)break;else _0x5b2b48['push'](_0x5b2b48['shift']());}catch(_0xa5d555){_0x5b2b48['push'](_0x5b2b48['shift']());}}}(a95_0x7830,0x22145));const util=require('util'),logger=require(a95_0xa8824e(0x27a))['winstonLogger'],accessibilityHelper=require('./helper'),globals=require('../globals'),scripts=require(a95_0xa8824e(0x1c1)),PerformanceTester=require(a95_0xa8824e(0x237)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../performance/constants'),BrowserstackCLI=require('../../bin/v2/browserstackCLI');let playwrightA11yHelper=null;try{playwrightA11yHelper=require(a95_0xa8824e(0x23c));}catch(a95_0x1fb654){logger[a95_0xa8824e(0x22e)]('Playwright\x20accessibility\x20helper\x20not\x20available');}function a95_0x223e(_0x4d553c,_0x40e43a){const _0x783038=a95_0x7830();return a95_0x223e=function(_0x223e54,_0x31722f){_0x223e54=_0x223e54-0x1bf;let _0x49fb16=_0x783038[_0x223e54];return _0x49fb16;},a95_0x223e(_0x4d553c,_0x40e43a);}const a95_0x2e2164={};a95_0x2e2164['maxRetries']=0x1,a95_0x2e2164[a95_0xa8824e(0x1e1)]=0x7530,a95_0x2e2164[a95_0xa8824e(0x246)]=0x7530;function a95_0x7830(){const _0x263576=['isPlaywright','QPume','getGlobal','getId','message','LVffz','measureWrapper','debug',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','vNgzf','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','race','GEvmp','XjQdu','warn','playwright-page','../performance/performance-tester','isAccessibilityAutomationSession','ms\x20using\x20setScriptTimeout\x20API','ahbpq','setDefaultTimeout','../../bin/playwright/accessibility-helper','leHNv','executeAsyncScript','rejected','tZhwI','getCurrentUrl','error','JhXOX','max','DVrOa','defaultTimeoutMs','currentTest','TuOnl',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','saveTestResults',').\x20Error:\x20','WkHuz','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','IrYsH','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20','saveAccessibilityResultsWithRetry','2405880DdRsAm',').\x20Last\x20error:\x20','reason','Comprehensive\x20accessibility\x20scan\x20failed\x20(','performComprehensiveAccessibilityScanWithRetry','getAccessibilityResultsWithRetry','\x20-\x20not\x20applicable','iAMrW','pYkpZ','RUHDh','YFXBx','fGGTA','scannerProcessingTimeout','setSeleniumScriptTimeout','Wtfea','isRunning','QYCfT','VtyrA','setTimeouts','jdOZJ','setPlaywrightScriptTimeout','jaCdf','lZWGj','DCFeC','goto','type','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','WUxCZ','getAccessibilityResults','YAWWy','bstackA11yShouldScan','xHVae','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','giIai','qCpBC','rhmGw','FkXvP','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','rgIOT','Accessibility\x20results\x20retrieval\x20attempt\x20','accessibilityConfig','../logger','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','honZh','maxRetries','info','100992zmucPM','CnHam','vxzEU','./scripts','nggnK','kxoZH','accessibilityPlatform','Skipping\x20timeout\x20setting\x20for\x20','jlITF','getCapabilities','leJpv','LHLrm','allSettled','225872UJaQTy','env','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','status','vcLqK','ms\x20using\x20timeouts()\x20API','Page','Unknown\x20error','VzbHX','undefined','timeouts','518640IsNILw','nDaWa','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','page','Accessibility\x20retry\x20configuration\x20updated:\x20','options','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','VFVjN','lDDaM','QbAYd','Accessibility\x20scan\x20attempt\x20','timeoutMs','Operation\x20timed\x20out\x20after\x20','\x20for\x20method:\x20','name','updateRetryConfig','448596wdbCxj','capabilitiesList',')\x20with\x20error:\x20','Ndihd','WahUz','oprvI','setScriptTimeout','unknown_method','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.',',\x20cannot\x20perform\x20scan\x20with\x20retry.','isAccessibilityPlatform','function','bgBwN','manage','Accessibility\x20results\x20save\x20attempt\x20','HSLHx','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','10RfVvZY','JDWOL','value','xAARr','getAccessibilityResultsSummary','getAccessibilityResultsSummaryWithRetry','pESjB','IQfKs','FhrCh','wtewi','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','performScan','fulfilled','NMFjR','WEfwF','jFwQN','hezBY','\x20completed\x20successfully.','okcEz','getAccessibilityModule','CLYjV','NUUgr','AmQPk','results','playwright-codecept-driver','\x20failed\x20(','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','10079FYnliU','performScanWithRetry','isSeleniumDriver','ms\x20using\x20setTimeouts\x20API','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','esePT','uIyKv','url','getInstance','xGHfX','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','WebDriver','):\x20','Unknown\x20driver/page\x20type:\x20','1195061qsMLTo','scanSucceeded','vsKzl','wuoHz','summary'];a95_0x7830=function(){return _0x263576;};return a95_0x7830();}const RETRY_CONFIG=a95_0x2e2164,setConfigTimeout=(_0x4d8ab8,_0x1792b9=null)=>{const _0x1edf2b=a95_0xa8824e,_0x42e78c={'oprvI':function(_0x9a6c39,_0x3fa1d5){return _0x9a6c39===_0x3fa1d5;},'vybHy':_0x1edf2b(0x25d),'giIai':function(_0x539f67,_0xd82859){return _0x539f67===_0xd82859;},'LHLrm':function(_0x19518d,_0x11733c){return _0x19518d*_0x11733c;},'vxzEU':function(_0x4ddf56,_0x62afea){return _0x4ddf56(_0x62afea);},'TuOnl':function(_0x1c4f30,_0x2f51c2){return _0x1c4f30*_0x2f51c2;},'ahbpq':function(_0x107e0e,_0x31cb64){return _0x107e0e(_0x31cb64);}};if(BrowserstackCLI[_0x1edf2b(0x21c)]()[_0x1edf2b(0x260)]()&&BrowserstackCLI['getInstance']()['getAccessibilityModule']()){const _0x16aa82=BrowserstackCLI[_0x1edf2b(0x21c)]()[_0x1edf2b(0x20c)]()[_0x1edf2b(0x279)],_0xfd9b1f=_0x16aa82[_0x1edf2b(0x1db)][_0x1edf2b(0x1e7)]||[];for(const _0x24e930 of _0xfd9b1f){_0x42e78c[_0x1edf2b(0x1eb)](_0x24e930['name'],_0x42e78c['vybHy'])&&_0x42e78c[_0x1edf2b(0x272)](_0x1792b9,null)&&(_0x4d8ab8[_0x1edf2b(0x1e1)]=_0x42e78c[_0x1edf2b(0x1c9)](_0x42e78c[_0x1edf2b(0x1c0)](parseInt,_0x24e930['value']),0x3e8));}}else process[_0x1edf2b(0x1cc)][_0x1edf2b(0x1f7)]&&(_0x4d8ab8['timeoutMs']=_0x42e78c[_0x1edf2b(0x248)](_0x42e78c[_0x1edf2b(0x23a)](parseInt,process[_0x1edf2b(0x1cc)][_0x1edf2b(0x1f7)]),0x3e8));},detectDriverType=_0x588d5a=>{const _0x6caaa5=a95_0xa8824e,_0x375acf={};_0x375acf[_0x6caaa5(0x224)]='unknown',_0x375acf[_0x6caaa5(0x277)]=function(_0x1e8d8d,_0x520011){return _0x1e8d8d===_0x520011;},_0x375acf['jdOZJ']=_0x6caaa5(0x1f2),_0x375acf[_0x6caaa5(0x1f6)]=function(_0x1e8ed6,_0x4a1377){return _0x1e8ed6===_0x4a1377;},_0x375acf[_0x6caaa5(0x1ea)]=_0x6caaa5(0x236),_0x375acf[_0x6caaa5(0x21d)]=function(_0xca496b,_0x24fac8){return _0xca496b===_0x24fac8;},_0x375acf[_0x6caaa5(0x270)]='selenium-webdriver',_0x375acf[_0x6caaa5(0x228)]=_0x6caaa5(0x1d1),_0x375acf[_0x6caaa5(0x26c)]=function(_0x19281d,_0x2908cb){return _0x19281d===_0x2908cb;},_0x375acf[_0x6caaa5(0x1f9)]=_0x6caaa5(0x21f),_0x375acf[_0x6caaa5(0x1c6)]='Playwright',_0x375acf['Ndihd']=_0x6caaa5(0x211),_0x375acf[_0x6caaa5(0x26e)]=function(_0x428d4e,_0x19bbc6){return _0x428d4e||_0x19bbc6;},_0x375acf[_0x6caaa5(0x243)]=_0x6caaa5(0x1d4);const _0x40ce7e=_0x375acf;if(!_0x588d5a){const _0x513937={};return _0x513937[_0x6caaa5(0x227)]=![],_0x513937[_0x6caaa5(0x26a)]=_0x40ce7e[_0x6caaa5(0x224)],_0x513937;}if(_0x40ce7e[_0x6caaa5(0x277)](typeof _0x588d5a['evaluate'],_0x40ce7e[_0x6caaa5(0x264)])&&_0x40ce7e[_0x6caaa5(0x1f6)](typeof _0x588d5a['url'],_0x40ce7e[_0x6caaa5(0x264)])&&_0x40ce7e[_0x6caaa5(0x277)](typeof _0x588d5a[_0x6caaa5(0x269)],_0x40ce7e[_0x6caaa5(0x264)])){const _0x4460d8={};return _0x4460d8['isPlaywright']=!![],_0x4460d8[_0x6caaa5(0x26a)]=_0x40ce7e[_0x6caaa5(0x1ea)],_0x4460d8;}if(_0x40ce7e[_0x6caaa5(0x277)](typeof _0x588d5a[_0x6caaa5(0x23e)],_0x40ce7e[_0x6caaa5(0x264)])&&_0x40ce7e['xGHfX'](typeof _0x588d5a[_0x6caaa5(0x1c7)],_0x40ce7e[_0x6caaa5(0x264)])){const _0x1edb6e={};return _0x1edb6e[_0x6caaa5(0x227)]=![],_0x1edb6e['type']=_0x40ce7e[_0x6caaa5(0x270)],_0x1edb6e;}const _0x185ea0=_0x588d5a['constructor']?.[_0x6caaa5(0x1e4)];if(_0x40ce7e['rgIOT'](_0x185ea0,_0x40ce7e[_0x6caaa5(0x228)])){const _0xe2202f={};return _0xe2202f[_0x6caaa5(0x227)]=!![],_0xe2202f[_0x6caaa5(0x26a)]=_0x40ce7e[_0x6caaa5(0x1ea)],_0xe2202f;}if(_0x40ce7e[_0x6caaa5(0x26c)](_0x185ea0,_0x40ce7e[_0x6caaa5(0x1f9)])){const _0x1a8cad={};return _0x1a8cad[_0x6caaa5(0x227)]=![],_0x1a8cad['type']=_0x40ce7e[_0x6caaa5(0x270)],_0x1a8cad;}if(_0x40ce7e[_0x6caaa5(0x1f6)](_0x185ea0,_0x40ce7e[_0x6caaa5(0x1c6)])){const _0x3cb890={};return _0x3cb890[_0x6caaa5(0x227)]=!![],_0x3cb890['type']=_0x40ce7e[_0x6caaa5(0x1e9)],_0x3cb890;}logger[_0x6caaa5(0x235)](_0x6caaa5(0x221)+_0x40ce7e[_0x6caaa5(0x26e)](_0x185ea0,_0x40ce7e[_0x6caaa5(0x243)]));const _0x5267b0={};return _0x5267b0['isPlaywright']=![],_0x5267b0[_0x6caaa5(0x26a)]=_0x40ce7e[_0x6caaa5(0x224)],_0x5267b0;},withTimeout=(_0x168def,_0x28ea44)=>{const _0x255ac3=a95_0xa8824e;return Promise[_0x255ac3(0x232)]([_0x168def,new Promise((_0xc49d44,_0x502d7a)=>setTimeout(()=>_0x502d7a(new Error(_0x255ac3(0x1e2)+_0x28ea44+'ms')),_0x28ea44))]);};exports['performScanWithRetry']=async(_0x490de7,_0xe98872=null,_0x2d3d59=null)=>{const _0x3fc07b=a95_0xa8824e,_0x4a75e1={'UmVPS':function(_0x143e70,_0x465513){return _0x143e70&&_0x465513;},'honZh':function(_0x35cbd6,_0x12f765,_0x188699){return _0x35cbd6(_0x12f765,_0x188699);},'RaVqh':function(_0x4ddf90,_0x542f2a){return _0x4ddf90===_0x542f2a;},'leHNv':'playwright-codecept-driver','bgBwN':function(_0x3466a5,_0x2cd213){return _0x3466a5(_0x2cd213);},'wuoHz':_0x3fc07b(0x1f1),'pESjB':_0x3fc07b(0x26f),'kxoZH':_0x3fc07b(0x1ed),'xAARr':function(_0x211a4a,_0x5c5a68){return _0x211a4a===_0x5c5a68;},'tZhwI':_0x3fc07b(0x1f2),'zrYLp':function(_0x571609,_0xf7e136){return _0x571609===_0xf7e136;},'WEfwF':function(_0x4b986f,_0x1b249d){return _0x4b986f<=_0x1b249d;},'YFXBx':function(_0x4eaae7,_0x49fb22){return _0x4eaae7+_0x49fb22;},'VzbHX':_0x3fc07b(0x1d2)},{isPlaywright:_0x2c0037,type:_0x34e4bf}=_0x4a75e1[_0x3fc07b(0x1f3)](detectDriverType,_0x490de7),_0x5b6727=_0x2c0037?global['accessibilityPlatform']:accessibilityHelper[_0x3fc07b(0x238)]()&&globals[_0x3fc07b(0x229)](_0x4a75e1[_0x3fc07b(0x225)])&&globals[_0x3fc07b(0x229)](_0x4a75e1[_0x3fc07b(0x1fe)]);if(!_0x5b6727)return logger[_0x3fc07b(0x235)](_0x3fc07b(0x1ee)+_0x34e4bf+_0x3fc07b(0x1f0)),![];const _0x108963=_0xe98872||global['browserstackSessionName']||_0x4a75e1[_0x3fc07b(0x1c3)];let _0x19bbfa=null;const _0x421510={'testhub_btcer_uuid':global['__workerDetails']?.[_0x3fc07b(0x247)]?.['id'],'url':_0x4a75e1[_0x3fc07b(0x1fb)](typeof _0x490de7[_0x3fc07b(0x21b)],_0x4a75e1[_0x3fc07b(0x240)])?await _0x490de7[_0x3fc07b(0x21b)]():_0x4a75e1['zrYLp'](typeof _0x490de7[_0x3fc07b(0x241)],_0x4a75e1[_0x3fc07b(0x240)])?await _0x490de7['getCurrentUrl']():'','automate_session_id':_0x4a75e1['zrYLp'](typeof _0x490de7['getSession'],_0x4a75e1[_0x3fc07b(0x240)])?(await _0x490de7['getSession']())[_0x3fc07b(0x22a)]():''};for(let _0x3884cd=0x1;_0x4a75e1[_0x3fc07b(0x207)](_0x3884cd,_0x4a75e1[_0x3fc07b(0x25b)](RETRY_CONFIG[_0x3fc07b(0x27d)],0x1));_0x3884cd++){try{return logger[_0x3fc07b(0x22e)](_0x3fc07b(0x1e0)+_0x3884cd+'/'+_0x4a75e1[_0x3fc07b(0x25b)](RETRY_CONFIG[_0x3fc07b(0x27d)],0x1)+_0x3fc07b(0x1e3)+_0x108963+'\x20('+_0x34e4bf+')'),await PerformanceTester[_0x3fc07b(0x22d)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x24af69=_0x3fc07b;let _0x4a4bdd;if(_0x4a75e1['UmVPS'](_0x2c0037,playwrightA11yHelper)){_0x4a75e1['honZh'](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x490de7,RETRY_CONFIG[_0x24af69(0x1e1)]);let _0x3aceed=_0x490de7;_0x4a75e1['RaVqh'](_0x34e4bf,_0x4a75e1[_0x24af69(0x23d)])&&(_0x3aceed=_0x490de7[_0x24af69(0x1d9)]),_0x4a4bdd=await _0x4a75e1[_0x24af69(0x27c)](withTimeout,playwrightA11yHelper[_0x24af69(0x204)](_0x3aceed,_0x108963),RETRY_CONFIG[_0x24af69(0x1e1)]),await exports[_0x24af69(0x265)](_0x490de7,RETRY_CONFIG[_0x24af69(0x246)]);}else await exports[_0x24af69(0x25e)](_0x490de7,RETRY_CONFIG[_0x24af69(0x1e1)]),_0x4a4bdd=await _0x4a75e1['honZh'](withTimeout,accessibilityHelper['performScan'](_0x490de7,_0x108963),RETRY_CONFIG[_0x24af69(0x1e1)]),await exports[_0x24af69(0x25e)](_0x490de7,RETRY_CONFIG[_0x24af69(0x246)]);logger[_0x24af69(0x22e)]('Scan\x20attempt\x20'+_0x3884cd+_0x24af69(0x20a));},{'command':_0x108963,..._0x421510})(),logger[_0x3fc07b(0x27e)](_0x3fc07b(0x24f)+_0x3884cd+'.'),!![];}catch(_0x905c7c){_0x19bbfa=_0x905c7c,logger[_0x3fc07b(0x22e)](_0x3fc07b(0x1e0)+_0x3884cd+'\x20failed\x20for\x20method:\x20'+_0x108963+'\x20('+_0x34e4bf+').\x20Error:\x20'+_0x905c7c[_0x3fc07b(0x22b)]);}}return logger[_0x3fc07b(0x242)](_0x3fc07b(0x1d8)+_0x108963+'\x20('+_0x34e4bf+_0x3fc07b(0x1e8)+(_0x19bbfa?.['message']||_0x4a75e1[_0x3fc07b(0x1d3)])),![];},exports[a95_0xa8824e(0x256)]=async(_0x120687,_0x38078f)=>{const _0x401749=a95_0xa8824e,_0x949937={'LVffz':function(_0x5cf586,_0x1e010b){return _0x5cf586(_0x1e010b);},'fzPCW':'isAccessibilityPlatform','wtewi':_0x401749(0x26f),'NMFjR':function(_0x5cb68f,_0x31f61c){return _0x5cb68f<=_0x31f61c;},'IQfKs':function(_0x5d73d3,_0x4659c4){return _0x5d73d3+_0x4659c4;},'LHWMO':function(_0x3b563f,_0x2baf74){return _0x3b563f&&_0x2baf74;},'vcLqK':function(_0x4c4f87,_0x3422d8,_0x132f7e){return _0x4c4f87(_0x3422d8,_0x132f7e);},'VFVjN':function(_0x5d1cac,_0x493e97,_0x5dc287){return _0x5d1cac(_0x493e97,_0x5dc287);},'pYkpZ':_0x401749(0x1d2)},{isPlaywright:_0xfbaa53,type:_0x4faf52}=_0x949937[_0x401749(0x22c)](detectDriverType,_0x120687),_0x473fe9=_0xfbaa53?_0x38078f[_0x401749(0x1c4)]:accessibilityHelper[_0x401749(0x238)]()&&globals[_0x401749(0x229)](_0x949937['fzPCW'])&&globals[_0x401749(0x229)](_0x949937[_0x401749(0x201)]);if(!_0x473fe9)return logger['warn'](_0x401749(0x1ee)+_0x4faf52+_0x401749(0x22f)),[];let _0x37c178=null;for(let _0x2931bf=0x1;_0x949937[_0x401749(0x206)](_0x2931bf,_0x949937['IQfKs'](RETRY_CONFIG[_0x401749(0x27d)],0x1));_0x2931bf++){try{logger[_0x401749(0x22e)](_0x401749(0x278)+_0x2931bf+'/'+_0x949937[_0x401749(0x1ff)](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x4faf52+')');let _0x49fb05;return _0x949937['LHWMO'](_0xfbaa53,playwrightA11yHelper)?(_0x949937['vcLqK'](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x120687,RETRY_CONFIG[_0x401749(0x1e1)]),_0x49fb05=await _0x949937[_0x401749(0x1dd)](withTimeout,playwrightA11yHelper[_0x401749(0x26d)](_0x120687),RETRY_CONFIG[_0x401749(0x1e1)]),await exports[_0x401749(0x265)](_0x120687,RETRY_CONFIG['defaultTimeoutMs'])):(await exports[_0x401749(0x25e)](_0x120687,RETRY_CONFIG[_0x401749(0x1e1)]),_0x49fb05=await _0x949937[_0x401749(0x1cf)](withTimeout,accessibilityHelper['getAccessibilityResults'](_0x120687,_0x38078f),RETRY_CONFIG[_0x401749(0x1e1)]),await exports['setSeleniumScriptTimeout'](_0x120687,RETRY_CONFIG[_0x401749(0x246)])),logger[_0x401749(0x27e)](_0x401749(0x276)+_0x2931bf+'\x20('+_0x4faf52+')'),_0x49fb05;}catch(_0x191a4a){_0x37c178=_0x191a4a,logger[_0x401749(0x235)](_0x401749(0x278)+_0x2931bf+'\x20failed\x20('+_0x4faf52+_0x401749(0x24b)+_0x191a4a[_0x401749(0x22b)]);}}return logger[_0x401749(0x242)](_0x401749(0x271)+_0x4faf52+_0x401749(0x252)+(_0x37c178?.[_0x401749(0x22b)]||_0x949937[_0x401749(0x259)])),[];},exports['getAccessibilityResultsSummaryWithRetry']=async(_0x43974c,_0xf8083a)=>{const _0x5b5d01=a95_0xa8824e,_0x301476={'NhUzI':function(_0x39759d,_0x354fea){return _0x39759d(_0x354fea);},'VtyrA':_0x5b5d01(0x1f1),'Wtfea':_0x5b5d01(0x26f),'dVtvc':function(_0x49cb28,_0x502112){return _0x49cb28<=_0x502112;},'okcEz':function(_0x3c5cac,_0x151a3a){return _0x3c5cac+_0x151a3a;},'NPGup':function(_0x5b538d,_0x53e181){return _0x5b538d&&_0x53e181;},'CnHam':function(_0x200c0f,_0x1bed03,_0x4f67f2){return _0x200c0f(_0x1bed03,_0x4f67f2);},'FkXvP':function(_0x626ea4,_0x5f522d,_0xec7dee){return _0x626ea4(_0x5f522d,_0xec7dee);},'esePT':'Unknown\x20error'},{isPlaywright:_0x1d3589,type:_0x242403}=_0x301476['NhUzI'](detectDriverType,_0x43974c),_0x3bbab0=_0x1d3589?_0xf8083a[_0x5b5d01(0x1c4)]:accessibilityHelper[_0x5b5d01(0x238)]()&&globals[_0x5b5d01(0x229)](_0x301476[_0x5b5d01(0x262)])&&globals[_0x5b5d01(0x229)](_0x301476[_0x5b5d01(0x25f)]);if(!_0x3bbab0)return logger['warn']('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x242403+_0x5b5d01(0x249)),{};let _0x4f96ca=null;for(let _0x1025cb=0x1;_0x301476['dVtvc'](_0x1025cb,_0x301476['okcEz'](RETRY_CONFIG[_0x5b5d01(0x27d)],0x1));_0x1025cb++){try{logger[_0x5b5d01(0x22e)](_0x5b5d01(0x24d)+_0x1025cb+'/'+_0x301476[_0x5b5d01(0x20b)](RETRY_CONFIG[_0x5b5d01(0x27d)],0x1)+'\x20('+_0x242403+')');let _0x42caeb;return _0x301476['NPGup'](_0x1d3589,playwrightA11yHelper)?(_0x301476[_0x5b5d01(0x1bf)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x5b5d01(0x265)](_0x43974c,RETRY_CONFIG[_0x5b5d01(0x1e1)]),_0x42caeb=await _0x301476[_0x5b5d01(0x1bf)](withTimeout,playwrightA11yHelper['getAccessibilityResultsSummary'](_0x43974c),RETRY_CONFIG[_0x5b5d01(0x1e1)]),await exports[_0x5b5d01(0x265)](_0x43974c,RETRY_CONFIG[_0x5b5d01(0x246)])):(await exports[_0x5b5d01(0x25e)](_0x43974c,RETRY_CONFIG[_0x5b5d01(0x1e1)]),_0x42caeb=await _0x301476[_0x5b5d01(0x275)](withTimeout,accessibilityHelper[_0x5b5d01(0x1fc)](_0x43974c,_0xf8083a),RETRY_CONFIG[_0x5b5d01(0x1e1)]),await exports[_0x5b5d01(0x25e)](_0x43974c,RETRY_CONFIG[_0x5b5d01(0x246)])),logger[_0x5b5d01(0x27e)](_0x5b5d01(0x1dc)+_0x1025cb+'\x20('+_0x242403+')'),_0x42caeb;}catch(_0x468512){_0x4f96ca=_0x468512,logger[_0x5b5d01(0x235)]('Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20'+_0x1025cb+_0x5b5d01(0x212)+_0x242403+').\x20Error:\x20'+_0x468512[_0x5b5d01(0x22b)]);}}return logger[_0x5b5d01(0x242)](_0x5b5d01(0x26b)+_0x242403+_0x5b5d01(0x252)+(_0x4f96ca?.[_0x5b5d01(0x22b)]||_0x301476[_0x5b5d01(0x219)])),{};},exports[a95_0xa8824e(0x255)]=async(_0x28954f,_0x4a5489,_0x186b8d=null)=>{const _0x23424=a95_0xa8824e,_0x283933={'qCpBC':function(_0x184f55,_0x56c7f5){return _0x184f55(_0x56c7f5);},'QbAYd':function(_0xf3263b,_0x2958f4){return _0xf3263b===_0x2958f4;},'iYIaX':_0x23424(0x205),'nDaWa':function(_0x51fe36,_0x10e283){return _0x51fe36===_0x10e283;},'jaCdf':function(_0x3dd7ee,_0x34512c){return _0x3dd7ee===_0x34512c;},'RUHDh':_0x23424(0x23f),'hezBY':'Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan'},{isPlaywright:_0x3635df,type:_0x583820}=_0x283933[_0x23424(0x273)](detectDriverType,_0x28954f),_0x4344b3={};_0x4344b3[_0x23424(0x223)]=![],_0x4344b3[_0x23424(0x210)]=[],_0x4344b3[_0x23424(0x226)]={},_0x4344b3[_0x23424(0x242)]=null,_0x4344b3['driverType']=_0x583820;const _0x4c12b1=_0x4344b3;try{_0x4c12b1['scanSucceeded']=await exports[_0x23424(0x215)](_0x28954f,_0x186b8d);if(_0x4c12b1[_0x23424(0x223)]){const [_0x49b025,_0x373389]=await Promise[_0x23424(0x1ca)]([exports[_0x23424(0x256)](_0x28954f,_0x4a5489),exports[_0x23424(0x1fd)](_0x28954f,_0x4a5489)]);_0x4c12b1[_0x23424(0x210)]=_0x283933[_0x23424(0x1df)](_0x49b025[_0x23424(0x1ce)],_0x283933['iYIaX'])?_0x49b025[_0x23424(0x1fa)]:[],_0x4c12b1[_0x23424(0x226)]=_0x283933[_0x23424(0x1d7)](_0x373389[_0x23424(0x1ce)],_0x283933['iYIaX'])?_0x373389['value']:{},_0x283933[_0x23424(0x266)](_0x49b025['status'],_0x283933[_0x23424(0x25a)])&&logger[_0x23424(0x235)](_0x23424(0x218)+_0x583820+_0x23424(0x220)+_0x49b025[_0x23424(0x253)]?.[_0x23424(0x22b)]),_0x283933[_0x23424(0x1d7)](_0x373389[_0x23424(0x1ce)],_0x283933[_0x23424(0x25a)])&&logger[_0x23424(0x235)](_0x23424(0x27b)+_0x583820+'):\x20'+_0x373389[_0x23424(0x253)]?.[_0x23424(0x22b)]);}}catch(_0x1c14de){_0x4c12b1['error']=_0x1c14de[_0x23424(0x22b)]||_0x283933[_0x23424(0x209)],logger['error'](_0x23424(0x254)+_0x583820+_0x23424(0x220)+_0x4c12b1[_0x23424(0x242)]);}return _0x4c12b1;},exports[a95_0xa8824e(0x1e5)]=_0x55507a=>{const _0x4a0069=a95_0xa8824e,_0x47905b={};_0x47905b[_0x4a0069(0x20d)]=function(_0x55af52,_0x58a12a){return _0x55af52!==_0x58a12a;},_0x47905b[_0x4a0069(0x208)]=function(_0x553f47,_0x5e53f6){return _0x553f47!==_0x5e53f6;};const _0x2f9e0c=_0x47905b;_0x2f9e0c['CLYjV'](_0x55507a[_0x4a0069(0x27d)],undefined)&&(RETRY_CONFIG[_0x4a0069(0x27d)]=Math[_0x4a0069(0x244)](0x0,_0x55507a['maxRetries'])),_0x2f9e0c['jFwQN'](_0x55507a[_0x4a0069(0x1e1)],undefined)&&(RETRY_CONFIG['timeoutMs']=Math[_0x4a0069(0x244)](0x3e8,_0x55507a['timeoutMs'])),logger['debug'](_0x4a0069(0x1da)+JSON['stringify'](RETRY_CONFIG));},exports['getRetryConfig']=()=>{const _0x250e72={...RETRY_CONFIG};return _0x250e72;},exports['isPlaywrightPage']=_0x21632e=>{const _0xea908a=a95_0xa8824e,_0x39e0c1={'FhrCh':function(_0x42922a,_0x41a689){return _0x42922a(_0x41a689);}};return _0x39e0c1[_0xea908a(0x200)](detectDriverType,_0x21632e)['isPlaywright'];},exports[a95_0xa8824e(0x216)]=_0x5a0d00=>{const _0x328c92=a95_0xa8824e,_0x10edd0={'fzbZj':function(_0x3e48e0,_0x4aef88){return _0x3e48e0(_0x4aef88);},'IrYsH':function(_0x259993,_0x18f812){return _0x259993===_0x18f812;},'iAMrW':'selenium-webdriver'},{isPlaywright:_0x39b769,type:_0x2cd331}=_0x10edd0['fzbZj'](detectDriverType,_0x5a0d00);return!_0x39b769&&_0x10edd0[_0x328c92(0x24e)](_0x2cd331,_0x10edd0[_0x328c92(0x258)]);},exports[a95_0xa8824e(0x265)]=async(_0x3fc982,_0x3100a6=null)=>{const _0x2b07c6=a95_0xa8824e,_0x5840c9={'vNgzf':function(_0x334052,_0x21ee07){return _0x334052(_0x21ee07);},'DCFeC':function(_0x207738,_0x28d318){return _0x207738===_0x28d318;},'zuOtI':_0x2b07c6(0x1f2)},{isPlaywright:_0x3d0fe2,type:_0x31497c}=_0x5840c9[_0x2b07c6(0x230)](detectDriverType,_0x3fc982);if(!_0x3d0fe2)return logger[_0x2b07c6(0x22e)](_0x2b07c6(0x1c5)+_0x31497c+_0x2b07c6(0x257)),!![];const _0x301507=_0x3100a6||RETRY_CONFIG[_0x2b07c6(0x246)];try{return _0x3fc982&&_0x5840c9[_0x2b07c6(0x268)](typeof _0x3fc982[_0x2b07c6(0x23b)],_0x5840c9['zuOtI'])&&(await _0x3fc982[_0x2b07c6(0x23b)](_0x301507),logger['debug'](_0x2b07c6(0x213)+_0x301507+'ms')),!![];}catch(_0x184a4b){return logger[_0x2b07c6(0x235)](_0x2b07c6(0x203)+_0x184a4b[_0x2b07c6(0x22b)]),![];}},exports[a95_0xa8824e(0x25e)]=async(_0x297465,_0x1cc820=null)=>{const _0x5e933a=a95_0xa8824e,_0x36ade4={};_0x36ade4[_0x5e933a(0x274)]=_0x5e933a(0x21e),_0x36ade4['NUUgr']=function(_0x57a1f4,_0x749a5){return _0x57a1f4===_0x749a5;},_0x36ade4['uIyKv']='function',_0x36ade4['fGGTA']=function(_0x460f80,_0xd4e652){return _0x460f80===_0xd4e652;},_0x36ade4[_0x5e933a(0x20f)]='Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting',_0x36ade4['lZWGj']=_0x5e933a(0x231);const _0x582ae3=_0x36ade4;if(!exports[_0x5e933a(0x216)](_0x297465))return logger[_0x5e933a(0x235)](_0x582ae3[_0x5e933a(0x274)]),![];const _0x26dad4=_0x1cc820||RETRY_CONFIG[_0x5e933a(0x246)];try{if(_0x297465&&_0x582ae3[_0x5e933a(0x20e)](typeof _0x297465[_0x5e933a(0x1f4)],_0x582ae3[_0x5e933a(0x21a)])){const _0x36dc0b=_0x297465[_0x5e933a(0x1f4)]();if(_0x36dc0b&&_0x582ae3[_0x5e933a(0x20e)](typeof _0x36dc0b[_0x5e933a(0x1d5)],_0x582ae3['uIyKv']))await _0x36dc0b['timeouts']()[_0x5e933a(0x1ec)](_0x26dad4),logger[_0x5e933a(0x22e)]('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x26dad4+_0x5e933a(0x1d0));else{if(_0x36dc0b&&_0x582ae3['NUUgr'](typeof _0x36dc0b['setTimeouts'],_0x582ae3[_0x5e933a(0x21a)])){const _0x5dc6b8={};_0x5dc6b8['script']=_0x26dad4,await _0x36dc0b[_0x5e933a(0x263)](_0x5dc6b8),logger[_0x5e933a(0x22e)](_0x5e933a(0x1cd)+_0x26dad4+_0x5e933a(0x217));}else{if(_0x36dc0b&&_0x582ae3[_0x5e933a(0x25c)](typeof _0x36dc0b['setScriptTimeout'],_0x582ae3['uIyKv']))await _0x36dc0b[_0x5e933a(0x1ec)](_0x26dad4),logger['debug'](_0x5e933a(0x1cd)+_0x26dad4+_0x5e933a(0x239));else return logger[_0x5e933a(0x22e)](_0x582ae3['AmQPk']),!![];}}}else return logger[_0x5e933a(0x22e)](_0x582ae3[_0x5e933a(0x267)]),!![];return!![];}catch(_0x3a0056){return logger[_0x5e933a(0x235)]('Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20'+_0x3a0056[_0x5e933a(0x22b)]),![];}},exports[a95_0xa8824e(0x250)]=async(_0x5510a4,_0x1b1abc)=>{const _0x46d6d0=a95_0xa8824e,_0x5db4f9={'GEvmp':function(_0x5ad096,_0x3adf92){return _0x5ad096(_0x3adf92);},'dusrq':_0x46d6d0(0x1f1),'QxlxL':_0x46d6d0(0x26f),'DVrOa':function(_0x20bd53,_0x36c7f5){return _0x20bd53<=_0x36c7f5;},'lDDaM':function(_0x21153f,_0x2b02e1){return _0x21153f+_0x2b02e1;},'WkHuz':function(_0x5f1ddf,_0x1492d1){return _0x5f1ddf&&_0x1492d1;},'XjQdu':function(_0x11679d,_0xdc744b,_0x32377a){return _0x11679d(_0xdc744b,_0x32377a);},'QYCfT':function(_0x339fd8,_0x1d09e3,_0x5e272e){return _0x339fd8(_0x1d09e3,_0x5e272e);},'nggnK':function(_0xa55244,_0x17a78b,_0x11aeca){return _0xa55244(_0x17a78b,_0x11aeca);},'leJpv':_0x46d6d0(0x1d2)},{isPlaywright:_0x3d6736,type:_0x400136}=_0x5db4f9[_0x46d6d0(0x233)](detectDriverType,_0x5510a4),_0x376ac9=_0x3d6736?global[_0x46d6d0(0x1c4)]:accessibilityHelper[_0x46d6d0(0x238)]()&&globals[_0x46d6d0(0x229)](_0x5db4f9['dusrq'])&&globals[_0x46d6d0(0x229)](_0x5db4f9['QxlxL']);if(!_0x376ac9)return logger[_0x46d6d0(0x235)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x400136+_0x46d6d0(0x1ef)),![];let _0x11fb60=null;for(let _0x1b33a2=0x1;_0x5db4f9[_0x46d6d0(0x245)](_0x1b33a2,_0x5db4f9[_0x46d6d0(0x1de)](RETRY_CONFIG['maxRetries'],0x1));_0x1b33a2++){try{return logger[_0x46d6d0(0x22e)](_0x46d6d0(0x1f5)+_0x1b33a2+'/'+_0x5db4f9['lDDaM'](RETRY_CONFIG[_0x46d6d0(0x27d)],0x1)+'\x20('+_0x400136+')'),_0x5db4f9[_0x46d6d0(0x24c)](_0x3d6736,playwrightA11yHelper)?(_0x5db4f9[_0x46d6d0(0x234)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x46d6d0(0x265)](_0x5510a4,RETRY_CONFIG[_0x46d6d0(0x1e1)]),await _0x5db4f9[_0x46d6d0(0x261)](withTimeout,playwrightA11yHelper['browserStackEvaluate'](_0x5510a4,scripts[_0x46d6d0(0x24a)],_0x1b1abc),RETRY_CONFIG[_0x46d6d0(0x1e1)]),await exports[_0x46d6d0(0x265)](_0x5510a4,RETRY_CONFIG[_0x46d6d0(0x246)])):(await exports[_0x46d6d0(0x25e)](_0x5510a4,RETRY_CONFIG[_0x46d6d0(0x1e1)]),await _0x5db4f9[_0x46d6d0(0x1c2)](withTimeout,_0x5510a4[_0x46d6d0(0x23e)](scripts[_0x46d6d0(0x24a)],_0x1b1abc),RETRY_CONFIG[_0x46d6d0(0x1e1)]),await exports[_0x46d6d0(0x25e)](_0x5510a4,RETRY_CONFIG[_0x46d6d0(0x246)])),logger['info']('Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20'+_0x1b33a2+'\x20('+_0x400136+')'),!![];}catch(_0x1c4e03){_0x11fb60=_0x1c4e03,logger[_0x46d6d0(0x235)](_0x46d6d0(0x1f5)+_0x1b33a2+_0x46d6d0(0x212)+_0x400136+_0x46d6d0(0x24b)+_0x1c4e03['message']);}}return logger[_0x46d6d0(0x242)](_0x46d6d0(0x202)+_0x400136+').\x20Last\x20error:\x20'+(_0x11fb60?.['message']||_0x5db4f9[_0x46d6d0(0x1c8)])),![];};
1
+ const a95_0x5607ca=a95_0x5dbb;(function(_0x2d8faf,_0x220eb4){const _0x5a825c=a95_0x5dbb,_0x2dd97a=_0x2d8faf();while(!![]){try{const _0x9151d7=parseInt(_0x5a825c(0xa6))/0x1+parseInt(_0x5a825c(0xf3))/0x2+parseInt(_0x5a825c(0x90))/0x3*(parseInt(_0x5a825c(0x108))/0x4)+parseInt(_0x5a825c(0x119))/0x5+parseInt(_0x5a825c(0x117))/0x6+-parseInt(_0x5a825c(0xfd))/0x7*(parseInt(_0x5a825c(0x141))/0x8)+-parseInt(_0x5a825c(0xb5))/0x9*(parseInt(_0x5a825c(0x93))/0xa);if(_0x9151d7===_0x220eb4)break;else _0x2dd97a['push'](_0x2dd97a['shift']());}catch(_0x2aaefe){_0x2dd97a['push'](_0x2dd97a['shift']());}}}(a95_0x3f06,0x81d9a));function a95_0x5dbb(_0x157546,_0x33d4f6){const _0x3f06f4=a95_0x3f06();return a95_0x5dbb=function(_0x5dbb11,_0x18a779){_0x5dbb11=_0x5dbb11-0x8c;let _0x2f0542=_0x3f06f4[_0x5dbb11];return _0x2f0542;},a95_0x5dbb(_0x157546,_0x33d4f6);}const util=require(a95_0x5607ca(0x14b)),logger=require(a95_0x5607ca(0x8e))[a95_0x5607ca(0xf5)],accessibilityHelper=require('./helper'),globals=require(a95_0x5607ca(0xeb)),scripts=require(a95_0x5607ca(0x151)),PerformanceTester=require(a95_0x5607ca(0xbd)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../performance/constants'),BrowserstackCLI=require(a95_0x5607ca(0xad));let playwrightA11yHelper=null;try{playwrightA11yHelper=require(a95_0x5607ca(0x9a));}catch(a95_0x5a10ab){logger[a95_0x5607ca(0x118)](a95_0x5607ca(0x12e));}const a95_0x420741={};function a95_0x3f06(){const _0x5250cd=['env','script','AjUBu','Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20','accessibilityConfig','8VMuAPy','Jotbg','eBuHj','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','GzLia','isRunning','updateRetryConfig','JsjrX','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','SvOSq','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','ms\x20using\x20setScriptTimeout\x20API',',\x20cannot\x20perform\x20scan\x20with\x20retry.','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','2269416qxGeIg','debug','170790KqtEET','stringify','getCapabilities','LzEPd','bstackA11yShouldScan','isAccessibilityAutomationSession','maxRetries','shwqz','yWZFH','xycda','ms\x20using\x20timeouts()\x20API','PERFORM_SCAN','TvHQn','scannerProcessingTimeout','apkOE','url','hrEQg','summary','LVxMz','cCoXP','Accessibility\x20results\x20save\x20attempt\x20','Playwright\x20accessibility\x20helper\x20not\x20available','isPlaywrightPage','\x20completed\x20successfully.','setTimeouts','getGlobal','saveAccessibilityResultsWithRetry','setSeleniumScriptTimeout','manage','performScanWithRetry','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','UoYwZ','rZILl','atByC','allSettled','playwright-codecept-driver','lbjrF','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','AIGcp','error','107248ObDMBX','timeouts','YMzfQ','JZFUE','AKOwh','qZqvL','AKFIR','getCurrentUrl','qLZcV',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','util','rqCYH','IdKnt','DTqpH','eIEJC','setDefaultTimeout','./scripts','pwfrk','\x20failed\x20for\x20method:\x20','rAxEt','Operation\x20timed\x20out\x20after\x20','__workerDetails','nLIWo','../logger','Skipping\x20timeout\x20setting\x20for\x20','772593OVxBvr','getAccessibilityResults','):\x20','4567100ofTovg','options','kBOIe','getAccessibilityModule','\x20failed\x20(','goto','isAccessibilityPlatform','../../bin/playwright/accessibility-helper','rejected','status','JNgsc','gDTEY','executeAsyncScript','value','WJzkN','lgxKj','defaultTimeoutMs','Unknown\x20driver/page\x20type:\x20','QKakZ','983610mQmxeI',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','function','selenium-webdriver','EJVSm','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','measureWrapper','../../bin/v2/browserstackCLI','RzeKF','pWwfu','frFPg','race','Comprehensive\x20accessibility\x20scan\x20failed\x20(','QxmZW','YCJrq','27BuhsFJ','wrKhB','isPlaywright','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20','oBioA','MgIpm','type','unknown_method','../performance/performance-tester','pNNgH','vhrmC','getInstance','snTRQ','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','LxSza','browserStackEvaluate','gVEqR','getAccessibilityResultsSummary','reason','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting',').\x20Last\x20error:\x20','timeoutMs','Accessibility\x20scan\x20attempt\x20','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20',').\x20Error:\x20','rpRyj','BoZte','driverType','constructor','getSession','name','iJDcH','setScriptTimeout','setPlaywrightScriptTimeout','info','nKcPi','ysynh','Unknown\x20error','performScan','WrhTh','hHhwQ','Accessibility\x20retry\x20configuration\x20updated:\x20','PisPj','evaluate','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','getRetryConfig','getAccessibilityResultsSummaryWithRetry','saveTestResults','Axche','gxVyo','Accessibility\x20results\x20retrieval\x20attempt\x20','cpTNZ','accessibilityPlatform','getId','../globals','GCOCI','wDokY','max','HAUJJ','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20',')\x20with\x20error:\x20','GUUpO','1724640CWWwQG','EhztN','winstonLogger','getAccessibilityResultsWithRetry','FAFvA','zuvEa','isSeleniumDriver','warn','WebDriver','\x20-\x20not\x20applicable','455plhjaY','CsAaw','NBFJq','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','message','scanSucceeded'];a95_0x3f06=function(){return _0x5250cd;};return a95_0x3f06();}a95_0x420741[a95_0x5607ca(0x11f)]=0x1,a95_0x420741['timeoutMs']=0x7530,a95_0x420741[a95_0x5607ca(0xa3)]=0x7530;const RETRY_CONFIG=a95_0x420741,setConfigTimeout=(_0x1b6484,_0x3f08cd=null)=>{const _0x1a6508=a95_0x5607ca,_0x1be239={'cCoXP':function(_0x5d8bb5,_0x1b0bbe){return _0x5d8bb5===_0x1b0bbe;},'hrEQg':_0x1a6508(0x126),'JsjrX':function(_0x2011f4,_0x51a21e){return _0x2011f4===_0x51a21e;},'zuvEa':function(_0x5a2a18,_0x1d10af){return _0x5a2a18*_0x1d10af;},'EJVSm':function(_0x1a8a11,_0x293909){return _0x1a8a11(_0x293909);},'tsLud':function(_0x1408f5,_0x4c9ca5){return _0x1408f5*_0x4c9ca5;},'jnGHo':function(_0x2d07b4,_0x43a2d3){return _0x2d07b4(_0x43a2d3);}};if(BrowserstackCLI[_0x1a6508(0xc0)]()[_0x1a6508(0x10e)]()&&BrowserstackCLI[_0x1a6508(0xc0)]()['getAccessibilityModule']()){const _0x15125c=BrowserstackCLI[_0x1a6508(0xc0)]()[_0x1a6508(0x96)]()[_0x1a6508(0x107)],_0x566595=_0x15125c[_0x1a6508(0x94)]['capabilitiesList']||[];for(const _0x7b655e of _0x566595){_0x1be239[_0x1a6508(0x12c)](_0x7b655e['name'],_0x1be239[_0x1a6508(0x129)])&&_0x1be239[_0x1a6508(0x110)](_0x3f08cd,null)&&(_0x1b6484[_0x1a6508(0xca)]=_0x1be239[_0x1a6508(0xf8)](_0x1be239[_0x1a6508(0xaa)](parseInt,_0x7b655e[_0x1a6508(0xa0)]),0x3e8));}}else process[_0x1a6508(0x103)]['BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT']&&(_0x1b6484[_0x1a6508(0xca)]=_0x1be239['tsLud'](_0x1be239['jnGHo'](parseInt,process[_0x1a6508(0x103)]['BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT']),0x3e8));},detectDriverType=_0x1edd3c=>{const _0x535439=a95_0x5607ca,_0x4f1935={};_0x4f1935[_0x535439(0x154)]='unknown',_0x4f1935[_0x535439(0xd9)]=function(_0x3183c7,_0x20e3d1){return _0x3183c7===_0x20e3d1;},_0x4f1935[_0x535439(0x10d)]=_0x535439(0xa8),_0x4f1935[_0x535439(0x14d)]='playwright-page',_0x4f1935['VecZR']=function(_0x41f7ab,_0x41bc82){return _0x41f7ab===_0x41bc82;},_0x4f1935[_0x535439(0xdd)]=function(_0x52893e,_0xebf6fd){return _0x52893e===_0xebf6fd;},_0x4f1935[_0x535439(0xe6)]=_0x535439(0xa9),_0x4f1935[_0x535439(0x145)]=function(_0x2e436e,_0x22583a){return _0x2e436e===_0x22583a;},_0x4f1935['rpRyj']='Page',_0x4f1935[_0x535439(0x139)]=_0x535439(0xfb),_0x4f1935['HzcVu']=function(_0x2fa212,_0x2494e7){return _0x2fa212===_0x2494e7;},_0x4f1935[_0x535439(0xa2)]='Playwright',_0x4f1935[_0x535439(0xc5)]=_0x535439(0x13c),_0x4f1935['pNNgH']=function(_0x547536,_0xd682a4){return _0x547536||_0xd682a4;},_0x4f1935[_0x535439(0xa1)]='undefined';const _0x573cfd=_0x4f1935;if(!_0x1edd3c){const _0x47ad76={};return _0x47ad76[_0x535439(0xb7)]=![],_0x47ad76[_0x535439(0xbb)]=_0x573cfd[_0x535439(0x154)],_0x47ad76;}if(_0x573cfd[_0x535439(0xd9)](typeof _0x1edd3c[_0x535439(0xe0)],_0x573cfd['GzLia'])&&_0x573cfd['ysynh'](typeof _0x1edd3c[_0x535439(0x128)],_0x573cfd['GzLia'])&&_0x573cfd['ysynh'](typeof _0x1edd3c[_0x535439(0x98)],_0x573cfd[_0x535439(0x10d)])){const _0x273640={};return _0x273640[_0x535439(0xb7)]=!![],_0x273640[_0x535439(0xbb)]=_0x573cfd[_0x535439(0x14d)],_0x273640;}if(_0x573cfd['VecZR'](typeof _0x1edd3c[_0x535439(0x9f)],_0x573cfd[_0x535439(0x10d)])&&_0x573cfd[_0x535439(0xdd)](typeof _0x1edd3c[_0x535439(0x11b)],_0x573cfd['GzLia'])){const _0x18433b={};return _0x18433b[_0x535439(0xb7)]=![],_0x18433b[_0x535439(0xbb)]=_0x573cfd[_0x535439(0xe6)],_0x18433b;}const _0x4f38cb=_0x1edd3c[_0x535439(0xd1)]?.[_0x535439(0xd3)];if(_0x573cfd[_0x535439(0x145)](_0x4f38cb,_0x573cfd[_0x535439(0xce)])){const _0x534ca2={};return _0x534ca2['isPlaywright']=!![],_0x534ca2[_0x535439(0xbb)]=_0x573cfd[_0x535439(0x14d)],_0x534ca2;}if(_0x573cfd['hHhwQ'](_0x4f38cb,_0x573cfd[_0x535439(0x139)])){const _0x304e10={};return _0x304e10[_0x535439(0xb7)]=![],_0x304e10[_0x535439(0xbb)]=_0x573cfd[_0x535439(0xe6)],_0x304e10;}if(_0x573cfd['HzcVu'](_0x4f38cb,_0x573cfd[_0x535439(0xa2)])){const _0x2f8fb6={};return _0x2f8fb6[_0x535439(0xb7)]=!![],_0x2f8fb6['type']=_0x573cfd[_0x535439(0xc5)],_0x2f8fb6;}logger[_0x535439(0xfa)](_0x535439(0xa4)+_0x573cfd[_0x535439(0xbe)](_0x4f38cb,_0x573cfd['WJzkN']));const _0x3eaf11={};return _0x3eaf11['isPlaywright']=![],_0x3eaf11[_0x535439(0xbb)]=_0x573cfd['rAxEt'],_0x3eaf11;},withTimeout=(_0x161abe,_0x52399c)=>{const _0x49777f=a95_0x5607ca;return Promise[_0x49777f(0xb1)]([_0x161abe,new Promise((_0x1a34b7,_0x1f0402)=>setTimeout(()=>_0x1f0402(new Error(_0x49777f(0x155)+_0x52399c+'ms')),_0x52399c))]);};exports['performScanWithRetry']=async(_0x18d029,_0x4f67e0=null,_0x39414c=null)=>{const _0x2b2e91=a95_0x5607ca,_0x2a844a={'SvOSq':function(_0x27a80f,_0x54a28f){return _0x27a80f&&_0x54a28f;},'UoYwZ':function(_0x103e9b,_0x2a5eb6,_0x5ac105){return _0x103e9b(_0x2a5eb6,_0x5ac105);},'eBuHj':function(_0x2f3fd5,_0x2be101){return _0x2f3fd5===_0x2be101;},'hrJXi':_0x2b2e91(0x13c),'xycda':function(_0x159e5b,_0x539c9e,_0x4ec7b2){return _0x159e5b(_0x539c9e,_0x4ec7b2);},'GUUpO':function(_0x264116,_0x1826c1){return _0x264116(_0x1826c1);},'LsgoP':_0x2b2e91(0x99),'TvHQn':_0x2b2e91(0x11d),'BoZte':_0x2b2e91(0xbc),'AOaJn':function(_0x1a8c9b,_0x2f368c){return _0x1a8c9b===_0x2f368c;},'QxmZW':_0x2b2e91(0xa8),'NBFJq':function(_0x1acc0d,_0x13518b){return _0x1acc0d===_0x13518b;},'wDokY':function(_0x2a4667,_0x25f7aa){return _0x2a4667<=_0x25f7aa;},'YMzfQ':function(_0x9d5efa,_0x1fbbce){return _0x9d5efa+_0x1fbbce;},'shwqz':function(_0x2cef44,_0x4c3642){return _0x2cef44+_0x4c3642;},'AjUBu':'Unknown\x20error'},{isPlaywright:_0xa28bef,type:_0x29e062}=_0x2a844a[_0x2b2e91(0xf2)](detectDriverType,_0x18d029),_0x3f718b=_0xa28bef?global['accessibilityPlatform']:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x2b2e91(0x132)](_0x2a844a['LsgoP'])&&globals[_0x2b2e91(0x132)](_0x2a844a[_0x2b2e91(0x125)]);if(!_0x3f718b)return logger['warn'](_0x2b2e91(0x113)+_0x29e062+_0x2b2e91(0x115)),![];const _0xe1a926=_0x4f67e0||global['browserstackSessionName']||_0x2a844a[_0x2b2e91(0xcf)];let _0x1edf68=null;const _0x511caa={'testhub_btcer_uuid':global[_0x2b2e91(0x8c)]?.['currentTest']?.['id'],'url':_0x2a844a['AOaJn'](typeof _0x18d029[_0x2b2e91(0x128)],_0x2a844a[_0x2b2e91(0xb3)])?await _0x18d029['url']():_0x2a844a[_0x2b2e91(0x10a)](typeof _0x18d029[_0x2b2e91(0x148)],_0x2a844a['QxmZW'])?await _0x18d029[_0x2b2e91(0x148)]():'','automate_session_id':_0x2a844a[_0x2b2e91(0xff)](typeof _0x18d029[_0x2b2e91(0xd2)],_0x2a844a[_0x2b2e91(0xb3)])?(await _0x18d029['getSession']())[_0x2b2e91(0xea)]():''};for(let _0x15851c=0x1;_0x2a844a[_0x2b2e91(0xed)](_0x15851c,_0x2a844a[_0x2b2e91(0x143)](RETRY_CONFIG[_0x2b2e91(0x11f)],0x1));_0x15851c++){try{return logger[_0x2b2e91(0x118)](_0x2b2e91(0xcb)+_0x15851c+'/'+_0x2a844a[_0x2b2e91(0x120)](RETRY_CONFIG['maxRetries'],0x1)+'\x20for\x20method:\x20'+_0xe1a926+'\x20('+_0x29e062+')'),await PerformanceTester[_0x2b2e91(0xac)](PerformanceA11yEvents[_0x2b2e91(0x124)],async()=>{const _0x27b735=_0x2b2e91;let _0xdaf16d;if(_0x2a844a[_0x27b735(0x112)](_0xa28bef,playwrightA11yHelper)){_0x2a844a[_0x27b735(0x138)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x18d029,RETRY_CONFIG['timeoutMs']);let _0x5200b3=_0x18d029;_0x2a844a[_0x27b735(0x10a)](_0x29e062,_0x2a844a['hrJXi'])&&(_0x5200b3=_0x18d029['page']),_0xdaf16d=await _0x2a844a['UoYwZ'](withTimeout,playwrightA11yHelper[_0x27b735(0xdb)](_0x5200b3,_0xe1a926),RETRY_CONFIG['timeoutMs']),await exports[_0x27b735(0xd6)](_0x18d029,RETRY_CONFIG[_0x27b735(0xa3)]);}else await exports[_0x27b735(0x134)](_0x18d029,RETRY_CONFIG[_0x27b735(0xca)]),_0xdaf16d=await _0x2a844a[_0x27b735(0x122)](withTimeout,accessibilityHelper['performScan'](_0x18d029,_0xe1a926),RETRY_CONFIG[_0x27b735(0xca)]),await exports[_0x27b735(0x134)](_0x18d029,RETRY_CONFIG[_0x27b735(0xa3)]);logger[_0x27b735(0x118)]('Scan\x20attempt\x20'+_0x15851c+_0x27b735(0x130));},{'command':_0xe1a926,..._0x511caa})(),logger[_0x2b2e91(0xd7)](_0x2b2e91(0xb8)+_0x15851c+'.'),!![];}catch(_0x3bb8b0){_0x1edf68=_0x3bb8b0,logger[_0x2b2e91(0x118)]('Accessibility\x20scan\x20attempt\x20'+_0x15851c+_0x2b2e91(0x153)+_0xe1a926+'\x20('+_0x29e062+_0x2b2e91(0xcd)+_0x3bb8b0[_0x2b2e91(0x101)]);}}return logger[_0x2b2e91(0x140)](_0x2b2e91(0x111)+_0xe1a926+'\x20('+_0x29e062+_0x2b2e91(0xf1)+(_0x1edf68?.['message']||_0x2a844a[_0x2b2e91(0x105)])),![];},exports[a95_0x5607ca(0xf6)]=async(_0x2432c6,_0x1f48d8)=>{const _0x177fa1=a95_0x5607ca,_0xa3ed47={'oBioA':function(_0x1a786b,_0x125e62){return _0x1a786b(_0x125e62);},'atByC':_0x177fa1(0x99),'nLIWo':_0x177fa1(0x11d),'uxQob':function(_0x138100,_0x4510e7){return _0x138100<=_0x4510e7;},'RzeKF':function(_0x450e16,_0x2bcbf7){return _0x450e16+_0x2bcbf7;},'cpTNZ':function(_0x45f5dd,_0x56873a){return _0x45f5dd&&_0x56873a;},'pwfrk':function(_0x563cb5,_0x19d4ee,_0x38e7ba){return _0x563cb5(_0x19d4ee,_0x38e7ba);},'eIEJC':function(_0x2a2e9a,_0x15fa48,_0x2b6cf2){return _0x2a2e9a(_0x15fa48,_0x2b6cf2);},'QKakZ':_0x177fa1(0xda)},{isPlaywright:_0x3e4b5c,type:_0x5a29f8}=_0xa3ed47[_0x177fa1(0xb9)](detectDriverType,_0x2432c6),_0x568f47=_0x3e4b5c?_0x1f48d8[_0x177fa1(0xe9)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals['getGlobal'](_0xa3ed47[_0x177fa1(0x13a)])&&globals['getGlobal'](_0xa3ed47[_0x177fa1(0x8d)]);if(!_0x568f47)return logger['warn'](_0x177fa1(0x113)+_0x5a29f8+_0x177fa1(0xa7)),[];let _0x4296b3=null;for(let _0x5935fc=0x1;_0xa3ed47['uxQob'](_0x5935fc,_0xa3ed47['RzeKF'](RETRY_CONFIG[_0x177fa1(0x11f)],0x1));_0x5935fc++){try{logger[_0x177fa1(0x118)](_0x177fa1(0xe7)+_0x5935fc+'/'+_0xa3ed47[_0x177fa1(0xae)](RETRY_CONFIG[_0x177fa1(0x11f)],0x1)+'\x20('+_0x5a29f8+')');let _0x4e693c;return _0xa3ed47[_0x177fa1(0xe8)](_0x3e4b5c,playwrightA11yHelper)?(_0xa3ed47[_0x177fa1(0x152)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x2432c6,RETRY_CONFIG['timeoutMs']),_0x4e693c=await _0xa3ed47['pwfrk'](withTimeout,playwrightA11yHelper[_0x177fa1(0x91)](_0x2432c6),RETRY_CONFIG[_0x177fa1(0xca)]),await exports[_0x177fa1(0xd6)](_0x2432c6,RETRY_CONFIG['defaultTimeoutMs'])):(await exports[_0x177fa1(0x134)](_0x2432c6,RETRY_CONFIG[_0x177fa1(0xca)]),_0x4e693c=await _0xa3ed47[_0x177fa1(0x14f)](withTimeout,accessibilityHelper[_0x177fa1(0x91)](_0x2432c6,_0x1f48d8),RETRY_CONFIG[_0x177fa1(0xca)]),await exports['setSeleniumScriptTimeout'](_0x2432c6,RETRY_CONFIG[_0x177fa1(0xa3)])),logger['info'](_0x177fa1(0x10c)+_0x5935fc+'\x20('+_0x5a29f8+')'),_0x4e693c;}catch(_0x2858d8){_0x4296b3=_0x2858d8,logger[_0x177fa1(0xfa)]('Accessibility\x20results\x20retrieval\x20attempt\x20'+_0x5935fc+'\x20failed\x20('+_0x5a29f8+_0x177fa1(0xcd)+_0x2858d8[_0x177fa1(0x101)]);}}return logger[_0x177fa1(0x140)](_0x177fa1(0x10b)+_0x5a29f8+').\x20Last\x20error:\x20'+(_0x4296b3?.[_0x177fa1(0x101)]||_0xa3ed47[_0x177fa1(0xa5)])),[];},exports['getAccessibilityResultsSummaryWithRetry']=async(_0x1228c2,_0x18af16)=>{const _0x2ec468=a95_0x5607ca,_0x5a2877={'GCOCI':function(_0xc9d865,_0x2c4256){return _0xc9d865(_0x2c4256);},'PisPj':'isAccessibilityPlatform','TtsRT':'bstackA11yShouldScan','LVxMz':function(_0x18c982,_0x266aaf){return _0x18c982<=_0x266aaf;},'LzEPd':function(_0x4f4660,_0x28ab00){return _0x4f4660+_0x28ab00;},'AKFIR':function(_0x11d23b,_0x105a4d){return _0x11d23b&&_0x105a4d;},'frFPg':function(_0x4ae41c,_0x47f80f,_0x31802e){return _0x4ae41c(_0x47f80f,_0x31802e);},'JDagu':_0x2ec468(0xda)},{isPlaywright:_0x2addac,type:_0xa62b3f}=_0x5a2877[_0x2ec468(0xec)](detectDriverType,_0x1228c2),_0x2f3624=_0x2addac?_0x18af16[_0x2ec468(0xe9)]:accessibilityHelper[_0x2ec468(0x11e)]()&&globals['getGlobal'](_0x5a2877[_0x2ec468(0xdf)])&&globals[_0x2ec468(0x132)](_0x5a2877['TtsRT']);if(!_0x2f3624)return logger[_0x2ec468(0xfa)](_0x2ec468(0x113)+_0xa62b3f+_0x2ec468(0x14a)),{};let _0x2dc6c7=null;for(let _0x29f8a0=0x1;_0x5a2877[_0x2ec468(0x12b)](_0x29f8a0,_0x5a2877['LzEPd'](RETRY_CONFIG[_0x2ec468(0x11f)],0x1));_0x29f8a0++){try{logger[_0x2ec468(0x118)]('Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20'+_0x29f8a0+'/'+_0x5a2877[_0x2ec468(0x11c)](RETRY_CONFIG[_0x2ec468(0x11f)],0x1)+'\x20('+_0xa62b3f+')');let _0x56124c;return _0x5a2877[_0x2ec468(0x147)](_0x2addac,playwrightA11yHelper)?(_0x5a2877['frFPg'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x2ec468(0xd6)](_0x1228c2,RETRY_CONFIG[_0x2ec468(0xca)]),_0x56124c=await _0x5a2877[_0x2ec468(0xb0)](withTimeout,playwrightA11yHelper['getAccessibilityResultsSummary'](_0x1228c2),RETRY_CONFIG['timeoutMs']),await exports[_0x2ec468(0xd6)](_0x1228c2,RETRY_CONFIG[_0x2ec468(0xa3)])):(await exports[_0x2ec468(0x134)](_0x1228c2,RETRY_CONFIG[_0x2ec468(0xca)]),_0x56124c=await _0x5a2877[_0x2ec468(0xb0)](withTimeout,accessibilityHelper[_0x2ec468(0xc6)](_0x1228c2,_0x18af16),RETRY_CONFIG[_0x2ec468(0xca)]),await exports[_0x2ec468(0x134)](_0x1228c2,RETRY_CONFIG[_0x2ec468(0xa3)])),logger[_0x2ec468(0xd7)](_0x2ec468(0xcc)+_0x29f8a0+'\x20('+_0xa62b3f+')'),_0x56124c;}catch(_0x1b6c72){_0x2dc6c7=_0x1b6c72,logger[_0x2ec468(0xfa)]('Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20'+_0x29f8a0+_0x2ec468(0x97)+_0xa62b3f+_0x2ec468(0xcd)+_0x1b6c72[_0x2ec468(0x101)]);}}return logger['error'](_0x2ec468(0xe1)+_0xa62b3f+_0x2ec468(0xc9)+(_0x2dc6c7?.[_0x2ec468(0x101)]||_0x5a2877['JDagu'])),{};},exports['performComprehensiveAccessibilityScanWithRetry']=async(_0x48a351,_0x10cad5,_0x34d7c7=null)=>{const _0x2cdea5=a95_0x5607ca,_0x2acb0d={'CdIku':function(_0x12545c,_0x52d060){return _0x12545c(_0x52d060);},'gDTEY':function(_0x2b6d12,_0x4b2f3e){return _0x2b6d12===_0x4b2f3e;},'niyMv':'fulfilled','CsAaw':function(_0x5e0ad3,_0x5bb86b){return _0x5e0ad3===_0x5bb86b;},'EhztN':function(_0xf5888c,_0x5c4ce6){return _0xf5888c===_0x5c4ce6;},'Jotbg':_0x2cdea5(0x9b),'kBOIe':function(_0x304880,_0x549ce2){return _0x304880===_0x549ce2;},'nKcPi':_0x2cdea5(0xc2)},{isPlaywright:_0x1523b5,type:_0xc1d69e}=_0x2acb0d['CdIku'](detectDriverType,_0x48a351),_0x1db26c={};_0x1db26c['scanSucceeded']=![],_0x1db26c['results']=[],_0x1db26c[_0x2cdea5(0x12a)]={},_0x1db26c[_0x2cdea5(0x140)]=null,_0x1db26c[_0x2cdea5(0xd0)]=_0xc1d69e;const _0x9aad27=_0x1db26c;try{_0x9aad27['scanSucceeded']=await exports[_0x2cdea5(0x136)](_0x48a351,_0x34d7c7);if(_0x9aad27[_0x2cdea5(0x102)]){const [_0x22df0e,_0x2a5da3]=await Promise[_0x2cdea5(0x13b)]([exports[_0x2cdea5(0xf6)](_0x48a351,_0x10cad5),exports[_0x2cdea5(0xe3)](_0x48a351,_0x10cad5)]);_0x9aad27['results']=_0x2acb0d[_0x2cdea5(0x9e)](_0x22df0e[_0x2cdea5(0x9c)],_0x2acb0d['niyMv'])?_0x22df0e['value']:[],_0x9aad27[_0x2cdea5(0x12a)]=_0x2acb0d[_0x2cdea5(0xfe)](_0x2a5da3['status'],_0x2acb0d['niyMv'])?_0x2a5da3[_0x2cdea5(0xa0)]:{},_0x2acb0d[_0x2cdea5(0xf4)](_0x22df0e[_0x2cdea5(0x9c)],_0x2acb0d[_0x2cdea5(0x109)])&&logger[_0x2cdea5(0xfa)](_0x2cdea5(0xab)+_0xc1d69e+_0x2cdea5(0x92)+_0x22df0e[_0x2cdea5(0xc7)]?.['message']),_0x2acb0d[_0x2cdea5(0x95)](_0x2a5da3[_0x2cdea5(0x9c)],_0x2acb0d['Jotbg'])&&logger[_0x2cdea5(0xfa)]('Failed\x20to\x20retrieve\x20accessibility\x20summary\x20('+_0xc1d69e+_0x2cdea5(0x92)+_0x2a5da3[_0x2cdea5(0xc7)]?.[_0x2cdea5(0x101)]);}}catch(_0x9fb40e){_0x9aad27[_0x2cdea5(0x140)]=_0x9fb40e[_0x2cdea5(0x101)]||_0x2acb0d[_0x2cdea5(0xd8)],logger[_0x2cdea5(0x140)](_0x2cdea5(0xb2)+_0xc1d69e+'):\x20'+_0x9aad27['error']);}return _0x9aad27;},exports[a95_0x5607ca(0x10f)]=_0x2cf97b=>{const _0x10812d=a95_0x5607ca,_0x55b339={};_0x55b339[_0x10812d(0x121)]=function(_0x3fda7f,_0xbbf2a2){return _0x3fda7f!==_0xbbf2a2;},_0x55b339[_0x10812d(0x13f)]=function(_0x551458,_0x34275d){return _0x551458!==_0x34275d;};const _0x1e00f9=_0x55b339;_0x1e00f9[_0x10812d(0x121)](_0x2cf97b['maxRetries'],undefined)&&(RETRY_CONFIG[_0x10812d(0x11f)]=Math[_0x10812d(0xee)](0x0,_0x2cf97b[_0x10812d(0x11f)])),_0x1e00f9[_0x10812d(0x13f)](_0x2cf97b[_0x10812d(0xca)],undefined)&&(RETRY_CONFIG['timeoutMs']=Math['max'](0x3e8,_0x2cf97b[_0x10812d(0xca)])),logger[_0x10812d(0x118)](_0x10812d(0xde)+JSON[_0x10812d(0x11a)](RETRY_CONFIG));},exports[a95_0x5607ca(0xe2)]=()=>{const _0x59077f={...RETRY_CONFIG};return _0x59077f;},exports[a95_0x5607ca(0x12f)]=_0x17bbd4=>{const _0x28a0f3=a95_0x5607ca,_0x95eba4={'wSvBr':function(_0x15fe9d,_0x2afd81){return _0x15fe9d(_0x2afd81);}};return _0x95eba4['wSvBr'](detectDriverType,_0x17bbd4)[_0x28a0f3(0xb7)];},exports[a95_0x5607ca(0xf9)]=_0x480b91=>{const _0x47116f=a95_0x5607ca,_0x49d7d7={'DTqpH':function(_0x336541,_0x339093){return _0x336541(_0x339093);},'qLZcV':function(_0x45f409,_0x3bf9a7){return _0x45f409===_0x3bf9a7;},'Hujlm':'selenium-webdriver'},{isPlaywright:_0x2d5254,type:_0x266e82}=_0x49d7d7[_0x47116f(0x14e)](detectDriverType,_0x480b91);return!_0x2d5254&&_0x49d7d7[_0x47116f(0x149)](_0x266e82,_0x49d7d7['Hujlm']);},exports[a95_0x5607ca(0xd6)]=async(_0x88d997,_0x1beff3=null)=>{const _0x4d1985=a95_0x5607ca,_0x36f243={'HAUJJ':function(_0x3e8923,_0x239119){return _0x3e8923(_0x239119);},'vhrmC':function(_0x22f1d2,_0x1ee32a){return _0x22f1d2===_0x1ee32a;},'Axche':_0x4d1985(0xa8)},{isPlaywright:_0xaa2dca,type:_0x501b1e}=_0x36f243[_0x4d1985(0xef)](detectDriverType,_0x88d997);if(!_0xaa2dca)return logger[_0x4d1985(0x118)](_0x4d1985(0x8f)+_0x501b1e+_0x4d1985(0xfc)),!![];const _0x23e968=_0x1beff3||RETRY_CONFIG[_0x4d1985(0xa3)];try{return _0x88d997&&_0x36f243[_0x4d1985(0xbf)](typeof _0x88d997[_0x4d1985(0x150)],_0x36f243[_0x4d1985(0xe5)])&&(await _0x88d997[_0x4d1985(0x150)](_0x23e968),logger['debug'](_0x4d1985(0x13e)+_0x23e968+'ms')),!![];}catch(_0x2cb61d){return logger[_0x4d1985(0xfa)](_0x4d1985(0x137)+_0x2cb61d['message']),![];}},exports[a95_0x5607ca(0x134)]=async(_0x3b63aa,_0x3421cc=null)=>{const _0x3a63ac=a95_0x5607ca,_0x207b6b={};_0x207b6b['eeBRn']='Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver',_0x207b6b[_0x3a63ac(0xdc)]=function(_0x574a34,_0x3e399c){return _0x574a34===_0x3e399c;},_0x207b6b[_0x3a63ac(0xf7)]=_0x3a63ac(0xa8),_0x207b6b[_0x3a63ac(0x127)]=function(_0x367c43,_0x4e412d){return _0x367c43===_0x4e412d;},_0x207b6b[_0x3a63ac(0xd4)]=function(_0x135d4e,_0x56e316){return _0x135d4e===_0x56e316;},_0x207b6b[_0x3a63ac(0x9d)]=_0x3a63ac(0xc8),_0x207b6b[_0x3a63ac(0x14c)]='Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting';const _0xf664df=_0x207b6b;if(!exports[_0x3a63ac(0xf9)](_0x3b63aa))return logger['warn'](_0xf664df['eeBRn']),![];const _0x4ce1d4=_0x3421cc||RETRY_CONFIG[_0x3a63ac(0xa3)];try{if(_0x3b63aa&&_0xf664df[_0x3a63ac(0xdc)](typeof _0x3b63aa[_0x3a63ac(0x135)],_0xf664df[_0x3a63ac(0xf7)])){const _0x58806f=_0x3b63aa[_0x3a63ac(0x135)]();if(_0x58806f&&_0xf664df[_0x3a63ac(0x127)](typeof _0x58806f[_0x3a63ac(0x142)],_0xf664df[_0x3a63ac(0xf7)]))await _0x58806f[_0x3a63ac(0x142)]()[_0x3a63ac(0xd5)](_0x4ce1d4),logger[_0x3a63ac(0x118)](_0x3a63ac(0xf0)+_0x4ce1d4+_0x3a63ac(0x123));else{if(_0x58806f&&_0xf664df[_0x3a63ac(0xd4)](typeof _0x58806f['setTimeouts'],_0xf664df['FAFvA'])){const _0x1639fe={};_0x1639fe[_0x3a63ac(0x104)]=_0x4ce1d4,await _0x58806f[_0x3a63ac(0x131)](_0x1639fe),logger['debug']('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x4ce1d4+'ms\x20using\x20setTimeouts\x20API');}else{if(_0x58806f&&_0xf664df['iJDcH'](typeof _0x58806f[_0x3a63ac(0xd5)],_0xf664df[_0x3a63ac(0xf7)]))await _0x58806f[_0x3a63ac(0xd5)](_0x4ce1d4),logger[_0x3a63ac(0x118)]('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x4ce1d4+_0x3a63ac(0x114));else return logger[_0x3a63ac(0x118)](_0xf664df['JNgsc']),!![];}}}else return logger['debug'](_0xf664df['rqCYH']),!![];return!![];}catch(_0xb1ad73){return logger[_0x3a63ac(0xfa)](_0x3a63ac(0x100)+_0xb1ad73['message']),![];}},exports[a95_0x5607ca(0x133)]=async(_0x1b2628,_0x1443bf)=>{const _0x500788=a95_0x5607ca,_0x11b693={'lbjrF':function(_0x4d4ca6,_0x3153c1){return _0x4d4ca6(_0x3153c1);},'LxSza':_0x500788(0x99),'TLAzd':_0x500788(0x11d),'snTRQ':function(_0x46a362,_0x45441e){return _0x46a362<=_0x45441e;},'MgIpm':function(_0x5eb617,_0x41e1df){return _0x5eb617+_0x41e1df;},'wrKhB':function(_0x5314fa,_0x4058d8){return _0x5314fa+_0x4058d8;},'JZFUE':function(_0x19bb06,_0x54cba7){return _0x19bb06&&_0x54cba7;},'pWwfu':function(_0x5dd880,_0x3037fd,_0xbba0d7){return _0x5dd880(_0x3037fd,_0xbba0d7);},'qZqvL':function(_0x3af6d9,_0x392566,_0x2b4d46){return _0x3af6d9(_0x392566,_0x2b4d46);},'YCJrq':'Unknown\x20error'},{isPlaywright:_0x3c28ed,type:_0x33ea87}=_0x11b693[_0x500788(0x13d)](detectDriverType,_0x1b2628),_0x3196ca=_0x3c28ed?global[_0x500788(0xe9)]:accessibilityHelper[_0x500788(0x11e)]()&&globals['getGlobal'](_0x11b693[_0x500788(0xc3)])&&globals[_0x500788(0x132)](_0x11b693['TLAzd']);if(!_0x3196ca)return logger[_0x500788(0xfa)](_0x500788(0x113)+_0x33ea87+',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.'),![];let _0x9372fe=null;for(let _0x485870=0x1;_0x11b693[_0x500788(0xc1)](_0x485870,_0x11b693[_0x500788(0xba)](RETRY_CONFIG[_0x500788(0x11f)],0x1));_0x485870++){try{return logger['debug'](_0x500788(0x12d)+_0x485870+'/'+_0x11b693[_0x500788(0xb6)](RETRY_CONFIG[_0x500788(0x11f)],0x1)+'\x20('+_0x33ea87+')'),_0x11b693[_0x500788(0x144)](_0x3c28ed,playwrightA11yHelper)?(_0x11b693[_0x500788(0xaf)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x500788(0xd6)](_0x1b2628,RETRY_CONFIG[_0x500788(0xca)]),await _0x11b693[_0x500788(0xaf)](withTimeout,playwrightA11yHelper[_0x500788(0xc4)](_0x1b2628,scripts['saveTestResults'],_0x1443bf),RETRY_CONFIG['timeoutMs']),await exports[_0x500788(0xd6)](_0x1b2628,RETRY_CONFIG[_0x500788(0xa3)])):(await exports['setSeleniumScriptTimeout'](_0x1b2628,RETRY_CONFIG[_0x500788(0xca)]),await _0x11b693[_0x500788(0x146)](withTimeout,_0x1b2628[_0x500788(0x9f)](scripts[_0x500788(0xe4)],_0x1443bf),RETRY_CONFIG[_0x500788(0xca)]),await exports[_0x500788(0x134)](_0x1b2628,RETRY_CONFIG[_0x500788(0xa3)])),logger[_0x500788(0xd7)](_0x500788(0x106)+_0x485870+'\x20('+_0x33ea87+')'),!![];}catch(_0x347d5c){_0x9372fe=_0x347d5c,logger[_0x500788(0xfa)](_0x500788(0x12d)+_0x485870+_0x500788(0x97)+_0x33ea87+_0x500788(0xcd)+_0x347d5c[_0x500788(0x101)]);}}return logger[_0x500788(0x140)](_0x500788(0x116)+_0x33ea87+_0x500788(0xc9)+(_0x9372fe?.[_0x500788(0x101)]||_0x11b693[_0x500788(0xb4)])),![];};
@@ -1 +1 @@
1
- function a96_0x4818(){var _0x1a6a96=['521430eYEdhA','20AohAQz','4131000RhTMrf','1309748DimQlV','8XKJtWs','MINIMUM_BROWSER_VERSION_ACCESSIBILITY','MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY','100','326333vxNynk','62670EPNfTs','API_URL','85cRFbDc','4967452lFknlR','https://accessibility.browserstack.com/api','16491UgKrYQ'];a96_0x4818=function(){return _0x1a6a96;};return a96_0x4818();}var a96_0x187df7=a96_0x39e9;function a96_0x39e9(_0x5016f0,_0x58868d){var _0x481826=a96_0x4818();return a96_0x39e9=function(_0x39e93b,_0x115346){_0x39e93b=_0x39e93b-0xa0;var _0x34ba5c=_0x481826[_0x39e93b];return _0x34ba5c;},a96_0x39e9(_0x5016f0,_0x58868d);}(function(_0x370c4b,_0x482e89){var _0x54e817=a96_0x39e9,_0x24fa4e=_0x370c4b();while(!![]){try{var _0x55b887=parseInt(_0x54e817(0xa9))/0x1+-parseInt(_0x54e817(0xa2))/0x2*(parseInt(_0x54e817(0xa0))/0x3)+parseInt(_0x54e817(0xa4))/0x4+-parseInt(_0x54e817(0xac))/0x5*(-parseInt(_0x54e817(0xaa))/0x6)+-parseInt(_0x54e817(0xad))/0x7*(parseInt(_0x54e817(0xa5))/0x8)+parseInt(_0x54e817(0xa3))/0x9+-parseInt(_0x54e817(0xa1))/0xa;if(_0x55b887===_0x482e89)break;else _0x24fa4e['push'](_0x24fa4e['shift']());}catch(_0x2cc894){_0x24fa4e['push'](_0x24fa4e['shift']());}}}(a96_0x4818,0x739f2),exports[a96_0x187df7(0xab)]=a96_0x187df7(0xae),exports[a96_0x187df7(0xa6)]='94',exports[a96_0x187df7(0xa7)]=a96_0x187df7(0xa8));
1
+ var a96_0x826c0c=a96_0x3873;(function(_0x1fc250,_0x429cc4){var _0x59a069=a96_0x3873,_0x5e94d3=_0x1fc250();while(!![]){try{var _0xe03f62=parseInt(_0x59a069(0x78))/0x1+-parseInt(_0x59a069(0x7a))/0x2+-parseInt(_0x59a069(0x82))/0x3+-parseInt(_0x59a069(0x7f))/0x4+parseInt(_0x59a069(0x79))/0x5*(parseInt(_0x59a069(0x81))/0x6)+parseInt(_0x59a069(0x7e))/0x7+parseInt(_0x59a069(0x80))/0x8;if(_0xe03f62===_0x429cc4)break;else _0x5e94d3['push'](_0x5e94d3['shift']());}catch(_0x8f0677){_0x5e94d3['push'](_0x5e94d3['shift']());}}}(a96_0x1fc1,0xaecef),exports[a96_0x826c0c(0x7b)]='https://accessibility.browserstack.com/api',exports[a96_0x826c0c(0x7c)]='94',exports['MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY']=a96_0x826c0c(0x7d));function a96_0x3873(_0x182104,_0x1c5fe6){var _0x1fc1c8=a96_0x1fc1();return a96_0x3873=function(_0x38731a,_0x35092f){_0x38731a=_0x38731a-0x78;var _0x5ebe6c=_0x1fc1c8[_0x38731a];return _0x5ebe6c;},a96_0x3873(_0x182104,_0x1c5fe6);}function a96_0x1fc1(){var _0x5cd1e6=['2245608DdUtEZ','API_URL','MINIMUM_BROWSER_VERSION_ACCESSIBILITY','100','1099196lpgWfi','1185644yMHpyp','9055728YYGbhM','2730yjCHEF','408450EocyJW','752156JkvnzN','2530nTddEA'];a96_0x1fc1=function(){return _0x5cd1e6;};return a96_0x1fc1();}
@@ -1 +1 @@
1
- const a97_0x3a1c2c=a97_0x285f;(function(_0x2a0e37,_0x14b3c0){const _0x205831=a97_0x285f,_0x56f019=_0x2a0e37();while(!![]){try{const _0x43fb66=-parseInt(_0x205831(0xe9))/0x1*(-parseInt(_0x205831(0x12f))/0x2)+-parseInt(_0x205831(0xf3))/0x3*(-parseInt(_0x205831(0x1bb))/0x4)+-parseInt(_0x205831(0x138))/0x5+-parseInt(_0x205831(0x16d))/0x6*(parseInt(_0x205831(0x16a))/0x7)+parseInt(_0x205831(0x10d))/0x8+-parseInt(_0x205831(0x127))/0x9+parseInt(_0x205831(0x12e))/0xa*(parseInt(_0x205831(0x164))/0xb);if(_0x43fb66===_0x14b3c0)break;else _0x56f019['push'](_0x56f019['shift']());}catch(_0x494015){_0x56f019['push'](_0x56f019['shift']());}}}(a97_0x5123,0x463df));function a97_0x285f(_0x578d47,_0x83d799){const _0x5123d2=a97_0x5123();return a97_0x285f=function(_0x285f60,_0xe4ca6f){_0x285f60=_0x285f60-0xe3;let _0x4df968=_0x5123d2[_0x285f60];return _0x4df968;},a97_0x285f(_0x578d47,_0x83d799);}function a97_0x5123(){const _0x5cffa2=['forEach','resolve','PERFORM_SCAN','buildName','./scripts','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','Invalid\x20request:\x20','string','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','BgVgr','getUserName','DOnho','some','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','browserVersion','kNHuh','WVLeW','get','BS_A11Y_JWT','error','performScan','GET_RESULTS','projectName','chrome','MQppx','BROWSERSTACK_TEST_ACCESSIBILITY_YML','OgnoT','cwd','1144zyajoh','elqZj','AZqaX','No\x20accessibility\x20results\x20were\x20found.','WpLRu','json','bstackA11yShouldScan','test_runs/stop','response','statusText','OgkXX','browserstackSessionName','29bKFrWr','gYFNC','PSaGX','LRMsP','jEUnd','THvio','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','auiFo','chromeOptions','Performing\x20scan\x20before\x20getting\x20results\x20summary','2559WqsAfs','cLgnV','getResults','nodeRequest','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','warn','capabilities_','measureWrapper','getResultsSummary','XdBRW','buildDescription','EqBbU','GET_RESULTS_SUMMARY','shouldScanTestForAccessibility','false','toJson','getBrowserName','getCiInfo','options_','success','excludeTagsInTestingScope','rUQOg','gVzNu','stopAccessibilityTestRun','XfsKW','1720512ZSnPZn','path','set','toISOString','includeTagsInTestingScope','accessibility','POST','ChromeExtension','getGlobal','AwmJb','HVhqD','args','MpEKq','pxAfj','znlSt','vVCIf','isAccessibilityPlatform','setNonBstackInfraCapabilities','gfKCF','version','headers','EDoIY','BROWSERSTACK_TURBOSCALE','SsKkb','wYmLo','isTrue','3797919TaoYYV','includes','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','script','isAccessibilityAutomationSession','Invalid\x20configuration\x20passed.','Performing\x20scan\x20before\x20getting\x20results','10ySYoUl','13306yOVmKP','../performance/performance-tester','nestedKeyValue','pGyPd','v2/test_runs','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','isBrowserstackInfra','message','mergeDeep','1807440kvgDJQ','../performance/constants','jQPgv','GtthN','browserstack','basename','chromeOptions_','accessibilityToken','debug','EsKDE','PUT','../helper','VtQjm','getHostInfo','goog:chromeOptions','ZnBlB','fHdmz','slihL','info','FScRK','wVsvB','dnjRq','Dqzpy','getTestFrameworkDetails','NklVD','util','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','YcpjN','rRQwr','tlHUo','data','selenium-webdriver','javascript','status','stringify','bstack:options','Content-Type','getAccessibilityResultsSummary','wSQBM','lINCK','null','uFVZW','browserstack_executor','YQjhq','8944331MxKaFH','a11y:start','--headless','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','PkeqW','method','595TXAPfj','length','getAccessKey','27804hLCZia','lrjCs','executeAsyncScript','user','kdxaz','Not\x20a\x20Accessibility\x20Session','errors','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','fetchPlatformDetails','assign','Bearer\x20','getAccessibilityResults','browserName','gERjT','Authorization','getGitMetaData','selenium-webdriver/chrome.js','stack','eUjBR','isArray','qRNWh','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','nonBstackPlatformValidation','env','pVCEJ','join','jGsLp','diJsu','mCQPr','body','BoJyK','scannerVersion','HaXcl','getAgentVersion','application/json','cYvFy','No\x20accessibility\x20summary\x20was\x20found.','checkAccessibilityPlatformConfig','IIiXp','isUndefined','format','ORebf','Tvqat','PqKsR','cTLCT','parse','getCapabilities','isBrowserStackCommandExecutor'];a97_0x5123=function(){return _0x5cffa2;};return a97_0x5123();}const path=require(a97_0x3a1c2c(0x10e)),util=require(a97_0x3a1c2c(0x151)),bsSetupHelper=require(a97_0x3a1c2c(0x143)),logger=require('../logger')['winstonLogger'],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require('./constants'),PerformanceTester=require(a97_0x3a1c2c(0x130)),scripts=require(a97_0x3a1c2c(0x1a1)),globals=require('../globals'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a97_0x3a1c2c(0x139));exports[a97_0x3a1c2c(0x175)]=async _0x1da2a4=>{const _0x232efb=a97_0x3a1c2c,_0x40e5b6={};_0x40e5b6[_0x232efb(0x181)]=function(_0x2a1a2f,_0x663f07){return _0x2a1a2f===_0x663f07;},_0x40e5b6['VtQjm']=_0x232efb(0x13c);const _0x4fc576=_0x40e5b6;let _0x27b6c2={};try{const _0x4c1823=await _0x1da2a4[_0x232efb(0x19b)]();_0x27b6c2={'os_name':_0x4c1823['getPlatform'](),'os_version':bsSetupHelper['getPlatformVersion'](_0x4fc576[_0x232efb(0x181)](global['__cloud_provider___'],_0x4fc576[_0x232efb(0x144)])),'browser_name':_0x4c1823[_0x232efb(0x104)](),'browser_version':_0x4c1823['getBrowserVersion']()};}catch(_0x4a3bb7){logger[_0x232efb(0x140)](_0x232efb(0xef)+_0x4a3bb7);}return _0x27b6c2;},exports[a97_0x3a1c2c(0x12b)]=()=>{const _0x587cf3=a97_0x3a1c2c,_0x3162f0={};_0x3162f0['jEUnd']=function(_0x21e7bb,_0x92e652){return _0x21e7bb===_0x92e652;},_0x3162f0[_0x587cf3(0x155)]=_0x587cf3(0x1a4),_0x3162f0[_0x587cf3(0x1bc)]=function(_0x4ae703,_0x4e5905){return _0x4ae703>_0x4e5905;},_0x3162f0[_0x587cf3(0x199)]=function(_0x3e3e1a,_0x876f7d){return _0x3e3e1a!==_0x876f7d;},_0x3162f0[_0x587cf3(0x1af)]=_0x587cf3(0x160),_0x3162f0[_0x587cf3(0xea)]=function(_0x1b1155,_0x4587a5){return _0x1b1155&&_0x4587a5;};const _0x52b0ba=_0x3162f0;try{const _0xa812c0=bsSetupHelper[_0x587cf3(0x126)](process[_0x587cf3(0x184)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper['isTrue'](process[_0x587cf3(0x184)][_0x587cf3(0x1ac)]),_0xe0694=_0x52b0ba[_0x587cf3(0xed)](typeof process[_0x587cf3(0x184)][_0x587cf3(0x1b1)],_0x52b0ba[_0x587cf3(0x155)])&&_0x52b0ba['elqZj'](process[_0x587cf3(0x184)][_0x587cf3(0x1b1)][_0x587cf3(0x16b)],0x0)&&_0x52b0ba[_0x587cf3(0x199)](process[_0x587cf3(0x184)][_0x587cf3(0x1b1)],_0x52b0ba['WVLeW']);return _0x52b0ba[_0x587cf3(0xea)](_0xa812c0,_0xe0694);}catch(_0x2ac4f1){logger['debug'](_0x587cf3(0x182)+_0x2ac4f1);}return![];},exports[a97_0x3a1c2c(0x183)]=(_0x10e4c1,_0x3004e0)=>{const _0x5a6b85=a97_0x3a1c2c,_0x251360={'kNHuh':_0x5a6b85(0x179),'OjVRZ':function(_0x151537,_0x2eade9){return _0x151537(_0x2eade9);},'rRQwr':_0x5a6b85(0x1ad),'ymSVD':function(_0x1c7ca8,_0x282ab5){return _0x1c7ca8(_0x282ab5);},'XdBRW':_0x5a6b85(0x120),'gERjT':_0x5a6b85(0x15b),'jGsLp':function(_0x289ed8,_0x45c26c){return _0x289ed8(_0x45c26c);},'dnjRq':'deviceName','lINCK':'device','fHdmz':_0x5a6b85(0x167),'eUjBR':_0x5a6b85(0x17d),'cLgnV':_0x5a6b85(0x157),'TpXhm':_0x5a6b85(0x106),'PSaGX':_0x5a6b85(0x118),'GtthN':_0x5a6b85(0xf1),'pxAfj':_0x5a6b85(0x166),'auiFo':_0x5a6b85(0x1ab),'YQjhq':_0x5a6b85(0x146),'OgkXX':function(_0xdb234c,_0x1afc44){return _0xdb234c===_0x1afc44;},'CapgM':_0x5a6b85(0x1b6),'MQppx':function(_0x360bd2,_0x28488b){return _0x360bd2>=_0x28488b;}},_0xea7727=_0x10e4c1[_0x5a6b85(0x1b0)](_0x251360[_0x5a6b85(0x1ae)]),_0x298996=_0x251360['OjVRZ'](parseFloat,_0x10e4c1['get'](_0x251360[_0x5a6b85(0x154)]))||_0x251360['ymSVD'](parseFloat,_0x10e4c1[_0x5a6b85(0x1b0)](_0x251360[_0x5a6b85(0xfd)])),_0x5278b0=_0x10e4c1[_0x5a6b85(0x1b0)](_0x251360['gERjT'])||{},_0x480eb8=_0x251360[_0x5a6b85(0x187)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x554b3c=_0x5278b0[_0x251360[_0x5a6b85(0x14d)]]||_0x10e4c1['get'](_0x251360[_0x5a6b85(0x15f)])||![];if(_0x554b3c)return logger[_0x5a6b85(0xf9)](_0x251360[_0x5a6b85(0x148)]),![];let _0x1b459e;try{_0x1b459e=bsSetupHelper['requireModule'](_0x251360[_0x5a6b85(0x17f)],_0x251360[_0x5a6b85(0xf4)]);}catch(_0x13ef66){return![];}const _0x5b79cd=new _0x1b459e['Options'](_0x3004e0[_0x5a6b85(0x13e)]),_0x901374=bsSetupHelper['nestedKeyValue'](_0x5b79cd,[_0x251360['TpXhm'],_0x251360[_0x5a6b85(0xeb)]])||bsSetupHelper[_0x5a6b85(0x131)](_0x3004e0['capabilities_'],[_0x251360[_0x5a6b85(0x17a)],_0x251360[_0x5a6b85(0x13b)],_0x251360[_0x5a6b85(0xeb)]])||bsSetupHelper[_0x5a6b85(0x131)](_0x3004e0[_0x5a6b85(0xfa)],[_0x251360[_0x5a6b85(0x13b)],_0x251360[_0x5a6b85(0xeb)]])||[];if(_0x901374[_0x5a6b85(0x128)](_0x251360[_0x5a6b85(0x11a)]))return logger[_0x5a6b85(0xf9)](_0x251360[_0x5a6b85(0xf0)]),![];const _0x3f77ce=_0x3004e0['capabilities_']||{},_0x535094=bsSetupHelper['nestedKeyValue'](_0x3f77ce,[_0x251360[_0x5a6b85(0x163)]])||{},_0xe39918=bsSetupHelper[_0x5a6b85(0x131)](_0x535094,[_0x251360[_0x5a6b85(0xeb)]])||[];if(_0xe39918[_0x5a6b85(0x128)](_0x251360[_0x5a6b85(0x11a)]))return logger[_0x5a6b85(0xf9)](_0x251360['auiFo']),![];if(_0x251360[_0x5a6b85(0xe7)](_0xea7727['toLowerCase'](),_0x251360['CapgM'])&&_0x251360[_0x5a6b85(0x1b7)](_0x298996,_0x480eb8))return!![];return logger[_0x5a6b85(0xf9)](_0x5a6b85(0x1a2)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports[a97_0x3a1c2c(0x11e)]=_0x386ed9=>{const _0x42f0d8=a97_0x3a1c2c,_0x46d541={};_0x46d541['BgVgr']=_0x42f0d8(0x146),_0x46d541[_0x42f0d8(0x141)]=function(_0x594ae7,_0x631470){return _0x594ae7||_0x631470;},_0x46d541[_0x42f0d8(0x197)]=_0x42f0d8(0x172);const _0x2cc424=_0x46d541,_0x24d01d=scripts[_0x42f0d8(0x114)];try{const _0x5e0f69=bsSetupHelper[_0x42f0d8(0x126)](process[_0x42f0d8(0x184)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper[_0x42f0d8(0x126)](process[_0x42f0d8(0x184)][_0x42f0d8(0x1ac)]);if((!bsSetupHelper[_0x42f0d8(0x135)]()||process[_0x42f0d8(0x184)][_0x42f0d8(0x123)])&&_0x5e0f69){const _0x1078d1=_0x386ed9[_0x42f0d8(0x19b)](),_0x41a3ce=_0x1078d1[_0x42f0d8(0x1b0)](_0x2cc424[_0x42f0d8(0x1a7)]),_0x3140b3=_0x2cc424['EsKDE'](_0x41a3ce,{});bsSetupHelper[_0x42f0d8(0x137)](_0x3140b3,_0x24d01d),_0x386ed9[_0x42f0d8(0x19b)]()[_0x42f0d8(0x10f)](_0x2cc424[_0x42f0d8(0x1a7)],_0x3140b3);}else logger[_0x42f0d8(0xf9)](_0x2cc424[_0x42f0d8(0x197)]);}catch(_0x3a2e7d){logger[_0x42f0d8(0x1b2)](_0x42f0d8(0x152)+_0x3a2e7d);}},exports[a97_0x3a1c2c(0x101)]=(_0x5f3d7a=null,_0x22404b=!![],_0x1c4216=[])=>{const _0x56f3be=a97_0x3a1c2c,_0x4b91e4={};_0x4b91e4[_0x56f3be(0x122)]=function(_0x54c337,_0x27e3cd){return _0x54c337==_0x27e3cd;},_0x4b91e4[_0x56f3be(0x15e)]=function(_0x1b8d7d,_0x4bd018){return _0x1b8d7d>_0x4bd018;},_0x4b91e4[_0x56f3be(0x117)]=function(_0x2d72c4,_0x2b7ba7){return _0x2d72c4===_0x2b7ba7;},_0x4b91e4[_0x56f3be(0x116)]=function(_0xc91500,_0x363189){return _0xc91500&&_0x363189;},_0x4b91e4[_0x56f3be(0x147)]=function(_0x3e530b,_0x4d2245){return _0x3e530b===_0x4d2245;};const _0x4585a3=_0x4b91e4;if(_0x4585a3['EDoIY'](process[_0x56f3be(0x184)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'],null))return!![];try{const _0x389c34=JSON[_0x56f3be(0x19a)](process['env'][_0x56f3be(0xf8)]),_0x6445d6=Array['isArray'](_0x389c34[_0x56f3be(0x111)])?_0x389c34[_0x56f3be(0x111)]:[],_0x5a10a6=Array[_0x56f3be(0x180)](_0x389c34[_0x56f3be(0x108)])?_0x389c34[_0x56f3be(0x108)]:[];if(bsSetupHelper[_0x56f3be(0x194)](_0x5f3d7a)){if(_0x4585a3['wSQBM'](_0x1c4216[_0x56f3be(0x16b)],0x0)){const _0x418adf=_0x5a10a6[_0x56f3be(0x1aa)](_0x5ebf61=>_0x1c4216[_0x56f3be(0x128)](_0x5ebf61)),_0x3cbe4c=_0x4585a3[_0x56f3be(0x117)](_0x6445d6['length'],0x0)||_0x6445d6['some'](_0x51b0fb=>_0x1c4216['includes'](_0x51b0fb));return _0x4585a3[_0x56f3be(0x116)](!_0x418adf,_0x3cbe4c);}return!![];}let _0x47e9eb;_0x22404b?_0x47e9eb=_0x5f3d7a[_0x56f3be(0x186)]('/'):_0x47e9eb=_0x5f3d7a;const _0x3f8d95=_0x5a10a6[_0x56f3be(0x1aa)](_0x5733f7=>_0x47e9eb[_0x56f3be(0x128)](_0x5733f7)),_0x24b601=_0x4585a3[_0x56f3be(0x147)](_0x6445d6['length'],0x0)||_0x6445d6[_0x56f3be(0x1aa)](_0x1b2e10=>_0x47e9eb[_0x56f3be(0x128)](_0x1b2e10));return _0x4585a3[_0x56f3be(0x116)](!_0x3f8d95,_0x24b601);}catch(_0x1d50be){logger[_0x56f3be(0x140)](_0x56f3be(0x129)+util[_0x56f3be(0x195)](_0x1d50be));}return![];},exports[a97_0x3a1c2c(0x192)]=_0x3df328=>{const _0x5b0171=a97_0x3a1c2c;let _0x245cc8=![];try{_0x3df328['platforms'][_0x5b0171(0x19d)](_0x34f6f2=>{const _0x6ee7a8=_0x5b0171;if(bsSetupHelper[_0x6ee7a8(0x126)](_0x34f6f2[_0x6ee7a8(0x112)]))return _0x245cc8=!![],!![];});}catch(_0x54936e){logger['debug']('Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20'+_0x54936e);}return _0x245cc8||bsSetupHelper[_0x5b0171(0x126)](_0x3df328[_0x5b0171(0x112)]);},exports['createAccessibilityTestRun']=PerformanceTester['measureWrapper'](a97_0x3a1c2c(0x165),async function(_0x51c145,_0x13bcbf){const _0x40fa2f=a97_0x3a1c2c,_0xe703d6={};_0xe703d6['SsKkb']=_0x40fa2f(0x134),_0xe703d6[_0x40fa2f(0x196)]='playwright',_0xe703d6['YcpjN']=_0x40fa2f(0x158),_0xe703d6[_0x40fa2f(0x10c)]=_0x40fa2f(0x18f),_0xe703d6[_0x40fa2f(0x1a9)]=_0x40fa2f(0x113),_0xe703d6['wYmLo']=_0x40fa2f(0x133),_0xe703d6[_0x40fa2f(0x190)]=function(_0x5b4eeb,_0x543bd1){return _0x5b4eeb===_0x543bd1;},_0xe703d6[_0x40fa2f(0xec)]=_0x40fa2f(0x12c),_0xe703d6[_0x40fa2f(0x168)]=_0x40fa2f(0x102);const _0x470f5c=_0xe703d6,_0x48b68a=bsSetupHelper[_0x40fa2f(0x1a8)](_0x51c145),_0xf5697b=bsSetupHelper[_0x40fa2f(0x16c)](_0x51c145);if(bsSetupHelper[_0x40fa2f(0x194)](_0x48b68a)||bsSetupHelper[_0x40fa2f(0x194)](_0xf5697b))return logger['error'](_0x470f5c[_0x40fa2f(0x124)]),[null,null];try{let _0x39d6b2;bsSetupHelper[_0x40fa2f(0x194)](process[_0x40fa2f(0x184)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])?_0x39d6b2={}:_0x39d6b2=JSON[_0x40fa2f(0x19a)](process[_0x40fa2f(0x184)][_0x40fa2f(0xf8)]);const {name:_0x52852e,version:_0x55925e}=bsSetupHelper[_0x40fa2f(0x14f)](_0x51c145,_0x13bcbf),_0x47f4fa={'projectName':_0x51c145[_0x40fa2f(0x1b5)],'buildName':_0x51c145[_0x40fa2f(0x1a0)]||path[_0x40fa2f(0x13d)](path[_0x40fa2f(0x19e)](process[_0x40fa2f(0x1ba)]())),'startTime':new Date()['toISOString'](),'description':_0x51c145[_0x40fa2f(0xfe)]||'','source':{'frameworkName':_0x13bcbf[_0x40fa2f(0x128)](_0x470f5c[_0x40fa2f(0x196)])?_0x470f5c[_0x40fa2f(0x196)]:_0x13bcbf,'frameworkVersion':bsSetupHelper['getPackageVersion'](_0x13bcbf),'sdkVersion':bsSetupHelper[_0x40fa2f(0x18e)](),'language':_0x470f5c[_0x40fa2f(0x153)],'testFramework':_0x52852e,'testFrameworkVersion':_0x55925e},'settings':_0x39d6b2,'versionControl':await bsSetupHelper[_0x40fa2f(0x17c)](),'ciInfo':bsSetupHelper[_0x40fa2f(0x105)](),'hostInfo':bsSetupHelper[_0x40fa2f(0x145)](),'browserstackAutomation':bsSetupHelper['isBrowserstackInfra']()},_0x90759c={};_0x90759c[_0x40fa2f(0x170)]=_0x48b68a,_0x90759c['pass']=_0xf5697b;const _0x357a70={};_0x357a70['Content-Type']=_0x470f5c['XfsKW'];const _0x5314bf={};_0x5314bf['auth']=_0x90759c,_0x5314bf[_0x40fa2f(0x121)]=_0x357a70;const _0x205bae=_0x5314bf,_0x544676={};_0x544676[_0x40fa2f(0x18a)]=_0x47f4fa,_0x544676[_0x40fa2f(0x1c0)]=!![];const _0x42d05f=Object[_0x40fa2f(0x176)](_0x205bae,_0x544676),_0x1362a9=await bsSetupHelper[_0x40fa2f(0xf6)](_0x470f5c[_0x40fa2f(0x1a9)],_0x470f5c[_0x40fa2f(0x125)],_0x42d05f,_0x51c145,API_URL);let _0x2ef3d3=process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];return _0x2ef3d3?_0x2ef3d3=JSON[_0x40fa2f(0x19a)](process[_0x40fa2f(0x184)][_0x40fa2f(0xf8)]):_0x2ef3d3={},scripts['parseFromJson'](_0x1362a9['data']['data']),scripts[_0x40fa2f(0x103)](),_0x2ef3d3[_0x40fa2f(0x18c)]=_0x1362a9[_0x40fa2f(0x156)][_0x40fa2f(0x156)][_0x40fa2f(0x18c)],process[_0x40fa2f(0x184)][_0x40fa2f(0xf8)]=JSON['stringify'](_0x2ef3d3),[_0x1362a9[_0x40fa2f(0x156)][_0x40fa2f(0x156)][_0x40fa2f(0x13f)],_0x1362a9[_0x40fa2f(0x156)][_0x40fa2f(0x156)]['id']];}catch(_0x54a1f5){if(_0x54a1f5[_0x40fa2f(0xe5)])logger['error'](_0x40fa2f(0x1a5)+_0x54a1f5['response']['status']+'\x20'+_0x54a1f5[_0x40fa2f(0xe5)][_0x40fa2f(0xe6)]+'\x20'+JSON[_0x40fa2f(0x15a)](_0x54a1f5[_0x40fa2f(0xe5)][_0x40fa2f(0x156)]));else{if(_0x470f5c[_0x40fa2f(0x190)](_0x54a1f5['message'],_0x470f5c[_0x40fa2f(0xec)])){logger[_0x40fa2f(0x1b2)](_0x40fa2f(0x1a5)+(_0x54a1f5[_0x40fa2f(0x136)]||_0x54a1f5[_0x40fa2f(0x17e)]));for(const _0x483655 of _0x54a1f5[_0x40fa2f(0x173)]){logger['error'](_0x483655[_0x40fa2f(0x136)]);}process[_0x40fa2f(0x184)][_0x40fa2f(0x1b8)]=_0x470f5c['PkeqW'],process[_0x40fa2f(0x184)][_0x40fa2f(0x1ac)]=_0x470f5c[_0x40fa2f(0x168)];}else logger[_0x40fa2f(0x1b2)](_0x40fa2f(0x1a5)+(_0x54a1f5['message']||_0x54a1f5['stack']));}return[null,null];}}),exports[a97_0x3a1c2c(0x10b)]=PerformanceTester[a97_0x3a1c2c(0xfb)]('a11y:stop',async function(_0x4debbf){const _0x4a6949=a97_0x3a1c2c,_0x1bd37b={};_0x1bd37b[_0x4a6949(0x18b)]=function(_0x2e95cc,_0xe379f2){return _0x2e95cc!==_0xe379f2;},_0x1bd37b[_0x4a6949(0x119)]=_0x4a6949(0x1a4),_0x1bd37b[_0x4a6949(0x109)]=_0x4a6949(0x1b2),_0x1bd37b[_0x4a6949(0x171)]='Build\x20creation\x20had\x20failed.',_0x1bd37b[_0x4a6949(0x185)]=_0x4a6949(0x18f),_0x1bd37b[_0x4a6949(0x11f)]=_0x4a6949(0x142),_0x1bd37b[_0x4a6949(0x1b9)]=_0x4a6949(0xe4),_0x1bd37b['PqKsR']=function(_0x3e4794,_0x5c2729){return _0x3e4794+_0x5c2729;},_0x1bd37b[_0x4a6949(0x18d)]=_0x4a6949(0x1a3),_0x1bd37b[_0x4a6949(0x189)]=_0x4a6949(0x107);const _0x265a33=_0x1bd37b;if(bsSetupHelper[_0x4a6949(0x194)](process[_0x4a6949(0x184)]['BS_A11Y_JWT'])||_0x265a33['BoJyK'](typeof process['env'][_0x4a6949(0x1b1)],_0x265a33['MpEKq'])){const _0x454392={};return _0x454392['status']=_0x265a33[_0x4a6949(0x109)],_0x454392['message']=_0x265a33['kdxaz'],_0x454392;}const _0x430b3b={'endTime':new Date()[_0x4a6949(0x110)]()},_0x3c9972={};_0x3c9972[_0x4a6949(0x17b)]=_0x4a6949(0x177)+process['env'][_0x4a6949(0x1b1)],_0x3c9972[_0x4a6949(0x15c)]=_0x265a33['pVCEJ'];const _0x426b50={};_0x426b50['headers']=_0x3c9972;const _0x2b7cfa=_0x426b50,_0x4b5cac={};_0x4b5cac[_0x4a6949(0x18a)]=_0x430b3b,_0x4b5cac['auth']=null,_0x4b5cac[_0x4a6949(0x1c0)]=!![];const _0x4e6b33=Object[_0x4a6949(0x176)](_0x2b7cfa,_0x4b5cac);try{const _0x1fbcf2=await bsSetupHelper[_0x4a6949(0xf6)](_0x265a33['gfKCF'],_0x265a33[_0x4a6949(0x1b9)],_0x4e6b33,_0x4debbf,API_URL);if(_0x1fbcf2[_0x4a6949(0x156)]['error'])throw new Error(_0x265a33[_0x4a6949(0x198)](_0x265a33[_0x4a6949(0x18d)],_0x1fbcf2[_0x4a6949(0x156)][_0x4a6949(0x1b2)]));else{logger[_0x4a6949(0x14a)](_0x4a6949(0xf7)+new Date()[_0x4a6949(0x110)]());const _0x5d168e={};return _0x5d168e[_0x4a6949(0x159)]=_0x265a33[_0x4a6949(0x189)],_0x5d168e['message']='',_0x5d168e;}}catch(_0x389c3d){_0x389c3d['response']?logger['error'](_0x4a6949(0x1a6)+_0x389c3d[_0x4a6949(0xe5)][_0x4a6949(0x159)]+'\x20'+_0x389c3d[_0x4a6949(0xe5)][_0x4a6949(0xe6)]+'\x20'+JSON[_0x4a6949(0x15a)](_0x389c3d[_0x4a6949(0xe5)][_0x4a6949(0x156)])):logger[_0x4a6949(0x1b2)](_0x4a6949(0x1a6)+(_0x389c3d['message']||util[_0x4a6949(0x195)](_0x389c3d)));const _0x37c0a3={};return _0x37c0a3['status']=_0x265a33[_0x4a6949(0x109)],_0x37c0a3['message']=_0x389c3d[_0x4a6949(0x136)]||(_0x389c3d[_0x4a6949(0xe5)]?_0x389c3d[_0x4a6949(0xe5)][_0x4a6949(0x159)]+':'+_0x389c3d[_0x4a6949(0xe5)]['statusText']:_0x389c3d),_0x37c0a3;}}),exports[a97_0x3a1c2c(0x1b3)]=async(_0x3f8c9d,_0x43036c=null)=>{const _0x37342f=a97_0x3a1c2c,_0x4de95f={};_0x4de95f['WpLRu']='isAccessibilityPlatform',_0x4de95f[_0x37342f(0x149)]=_0x37342f(0xe3),_0x4de95f[_0x37342f(0x14c)]=_0x37342f(0x174);const _0x5535e3=_0x4de95f;if(!this[_0x37342f(0x12b)]()||!globals['getGlobal'](_0x5535e3[_0x37342f(0x1bf)])||!globals[_0x37342f(0x115)](_0x5535e3[_0x37342f(0x149)])){logger['warn'](_0x5535e3[_0x37342f(0x14c)]);return;}return await PerformanceTester[_0x37342f(0xfb)](PerformanceA11yEvents[_0x37342f(0x19f)],async()=>{const _0x42d0b6=_0x37342f,_0x490789={};_0x490789[_0x42d0b6(0x169)]=_0x43036c||global[_0x42d0b6(0xe8)];const _0x56937c=util[_0x42d0b6(0x195)](await _0x3f8c9d[_0x42d0b6(0x16f)](scripts[_0x42d0b6(0x1b3)],_0x490789));return logger[_0x42d0b6(0x140)]('Performed\x20scan\x20with\x20result:\x20'+_0x56937c),_0x56937c;},{'command':_0x43036c})();},exports['getAccessibilityResults']=async(_0x77bf7b,_0xa24ce2)=>{const _0x51af57=a97_0x3a1c2c,_0x30e8b7={};_0x30e8b7[_0x51af57(0x161)]=_0x51af57(0x12d),_0x30e8b7[_0x51af57(0x13a)]=_0x51af57(0x11d),_0x30e8b7[_0x51af57(0xff)]='bstackA11yShouldScan',_0x30e8b7[_0x51af57(0x10a)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.',_0x30e8b7[_0x51af57(0x11b)]=_0x51af57(0x178),_0x30e8b7[_0x51af57(0x14e)]=_0x51af57(0x1be);const _0x5730f7=_0x30e8b7;if(!this[_0x51af57(0x12b)]()||!globals[_0x51af57(0x115)](_0x5730f7['jQPgv'])||!globals[_0x51af57(0x115)](_0x5730f7['EqBbU']))return logger[_0x51af57(0xf9)](_0x5730f7['gVzNu']),[];try{return await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x51af57(0x19f)],async()=>{const _0x520e9c=_0x51af57;logger[_0x520e9c(0x140)](_0x5730f7[_0x520e9c(0x161)]);const _0x325a02={};_0x325a02['method']=_0xa24ce2[_0x520e9c(0xe8)],logger[_0x520e9c(0x140)](util[_0x520e9c(0x195)](await _0x77bf7b['executeAsyncScript'](scripts[_0x520e9c(0x1b3)],_0x325a02)));},{'command':_0x5730f7[_0x51af57(0x11b)]})(),await PerformanceTester[_0x51af57(0xfb)](PerformanceA11yEvents[_0x51af57(0x1b4)],async()=>{const _0x545546=_0x51af57,_0xae8229=await _0x77bf7b['executeAsyncScript'](scripts[_0x545546(0xf5)]);return _0xae8229;})();}catch{return logger[_0x51af57(0x1b2)](_0x5730f7[_0x51af57(0x14e)]),[];}},exports[a97_0x3a1c2c(0x15d)]=async(_0x30f449,_0x307d81)=>{const _0x1f9541=a97_0x3a1c2c,_0x2d10d1={};_0x2d10d1[_0x1f9541(0x16e)]=_0x1f9541(0xf2),_0x2d10d1[_0x1f9541(0xee)]='isAccessibilityPlatform',_0x2d10d1[_0x1f9541(0x14b)]='bstackA11yShouldScan',_0x2d10d1[_0x1f9541(0x150)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.',_0x2d10d1['diJsu']='getAccessibilityResultsSummary',_0x2d10d1[_0x1f9541(0x193)]=_0x1f9541(0x191);const _0x312ff0=_0x2d10d1;if(!this[_0x1f9541(0x12b)]()||!globals['getGlobal'](_0x312ff0[_0x1f9541(0xee)])||!globals['getGlobal'](_0x312ff0['FScRK']))return logger['warn'](_0x312ff0['NklVD']),{};try{return await PerformanceTester[_0x1f9541(0xfb)](PerformanceA11yEvents[_0x1f9541(0x19f)],async()=>{const _0x25b8b3=_0x1f9541;logger[_0x25b8b3(0x140)](_0x312ff0[_0x25b8b3(0x16e)]);const _0x21c851={};_0x21c851[_0x25b8b3(0x169)]=_0x307d81[_0x25b8b3(0xe8)],logger[_0x25b8b3(0x140)](util[_0x25b8b3(0x195)](await _0x30f449[_0x25b8b3(0x16f)](scripts['performScan'],_0x21c851)));},{'command':_0x312ff0[_0x1f9541(0x188)]})(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x1f9541(0x100)],async()=>{const _0x4d5a4d=_0x1f9541,_0x2baa54=await _0x30f449[_0x4d5a4d(0x16f)](scripts[_0x4d5a4d(0xfc)]);return _0x2baa54;})();}catch{return logger[_0x1f9541(0x1b2)](_0x312ff0['IIiXp']),{};}},exports[a97_0x3a1c2c(0x19c)]=_0xee89e9=>{const _0x48659f=a97_0x3a1c2c,_0x71d696={};_0x71d696[_0x48659f(0x11c)]=function(_0x153808,_0x5d4ac9){return _0x153808===_0x5d4ac9;},_0x71d696['AZqaX']=_0x48659f(0x1a4),_0x71d696[_0x48659f(0x132)]=_0x48659f(0x162);const _0x564931=_0x71d696;if(_0xee89e9&&_0xee89e9[_0x48659f(0x12a)]&&_0x564931[_0x48659f(0x11c)](typeof _0xee89e9[_0x48659f(0x12a)],_0x564931[_0x48659f(0x1bd)]))return _0xee89e9[_0x48659f(0x12a)][_0x48659f(0x128)](_0x564931['pGyPd']);return![];};
1
+ function a97_0x5b6e(_0x1970f3,_0x106582){const _0x23e7ef=a97_0x23e7();return a97_0x5b6e=function(_0x5b6eb8,_0x5e0778){_0x5b6eb8=_0x5b6eb8-0x123;let _0x4c8c46=_0x23e7ef[_0x5b6eb8];return _0x4c8c46;},a97_0x5b6e(_0x1970f3,_0x106582);}const a97_0xe58a29=a97_0x5b6e;(function(_0x325e8,_0xd7ea7e){const _0x2a386b=a97_0x5b6e,_0x51e68e=_0x325e8();while(!![]){try{const _0x2e5203=parseInt(_0x2a386b(0x1e6))/0x1+-parseInt(_0x2a386b(0x1a6))/0x2*(parseInt(_0x2a386b(0x1ad))/0x3)+parseInt(_0x2a386b(0x14b))/0x4*(-parseInt(_0x2a386b(0x1d7))/0x5)+parseInt(_0x2a386b(0x1be))/0x6*(-parseInt(_0x2a386b(0x1a3))/0x7)+parseInt(_0x2a386b(0x1d0))/0x8+-parseInt(_0x2a386b(0x18f))/0x9*(-parseInt(_0x2a386b(0x169))/0xa)+-parseInt(_0x2a386b(0x13b))/0xb*(-parseInt(_0x2a386b(0x193))/0xc);if(_0x2e5203===_0xd7ea7e)break;else _0x51e68e['push'](_0x51e68e['shift']());}catch(_0x2eec05){_0x51e68e['push'](_0x51e68e['shift']());}}}(a97_0x23e7,0x1d120));const path=require(a97_0xe58a29(0x18e)),util=require(a97_0xe58a29(0x132)),bsSetupHelper=require(a97_0xe58a29(0x170)),logger=require(a97_0xe58a29(0x13f))[a97_0xe58a29(0x12f)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a97_0xe58a29(0x12d)),PerformanceTester=require(a97_0xe58a29(0x180)),scripts=require(a97_0xe58a29(0x127)),globals=require(a97_0xe58a29(0x189)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a97_0xe58a29(0x1d5));exports[a97_0xe58a29(0x18d)]=async _0x170d45=>{const _0x18e029=a97_0xe58a29,_0x1b970f={};_0x1b970f[_0x18e029(0x1f8)]=function(_0x724810,_0x1dc85f){return _0x724810===_0x1dc85f;},_0x1b970f[_0x18e029(0x151)]=_0x18e029(0x128);const _0x50dbc1=_0x1b970f;let _0x3759e9={};try{const _0x17aaaa=await _0x170d45[_0x18e029(0x14a)]();_0x3759e9={'os_name':_0x17aaaa['getPlatform'](),'os_version':bsSetupHelper[_0x18e029(0x1ef)](_0x50dbc1['oiWso'](global[_0x18e029(0x1b8)],_0x50dbc1[_0x18e029(0x151)])),'browser_name':_0x17aaaa[_0x18e029(0x200)](),'browser_version':_0x17aaaa[_0x18e029(0x1f6)]()};}catch(_0x275d86){logger[_0x18e029(0x163)](_0x18e029(0x1a5)+_0x275d86);}return _0x3759e9;},exports[a97_0xe58a29(0x1cf)]=()=>{const _0x304a4e=a97_0xe58a29,_0x470d71={};_0x470d71[_0x304a4e(0x165)]=function(_0x309c4f,_0x44e7d4){return _0x309c4f===_0x44e7d4;},_0x470d71[_0x304a4e(0x199)]='string',_0x470d71['wazLD']=function(_0x1e0410,_0x20aad5){return _0x1e0410>_0x20aad5;},_0x470d71[_0x304a4e(0x1ce)]=function(_0x460942,_0x3a04f2){return _0x460942!==_0x3a04f2;},_0x470d71[_0x304a4e(0x167)]=_0x304a4e(0x155),_0x470d71[_0x304a4e(0x14d)]=function(_0x522a39,_0x25b41d){return _0x522a39&&_0x25b41d;};const _0x21a3b5=_0x470d71;try{const _0x2c8791=bsSetupHelper[_0x304a4e(0x15e)](process['env'][_0x304a4e(0x1b7)])||bsSetupHelper[_0x304a4e(0x15e)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']),_0x4a6ce5=_0x21a3b5[_0x304a4e(0x165)](typeof process[_0x304a4e(0x1da)][_0x304a4e(0x1db)],_0x21a3b5[_0x304a4e(0x199)])&&_0x21a3b5[_0x304a4e(0x1a8)](process[_0x304a4e(0x1da)]['BS_A11Y_JWT'][_0x304a4e(0x1cd)],0x0)&&_0x21a3b5['Frvhg'](process['env'][_0x304a4e(0x1db)],_0x21a3b5['vbJHG']);return _0x21a3b5[_0x304a4e(0x14d)](_0x2c8791,_0x4a6ce5);}catch(_0x6a3313){logger[_0x304a4e(0x163)](_0x304a4e(0x162)+_0x6a3313);}return![];},exports[a97_0xe58a29(0x15d)]=(_0x399c25,_0x1891b2)=>{const _0xd28df6=a97_0xe58a29,_0x9f7a3={'MCcPM':_0xd28df6(0x1ab),'NrrzJ':function(_0x15f32c,_0x1b061d){return _0x15f32c(_0x1b061d);},'camNM':'browserVersion','rezly':function(_0x5b0077,_0x1d733b){return _0x5b0077(_0x1d733b);},'DiNZk':'version','aVswC':_0xd28df6(0x1d1),'noBNW':'deviceName','xTRyb':'device','swZWq':_0xd28df6(0x198),'LDXru':_0xd28df6(0x1bd),'bqMLU':_0xd28df6(0x16d),'pmrUR':_0xd28df6(0x124),'JgFnm':_0xd28df6(0x139),'ithWB':_0xd28df6(0x1b6),'mpLYU':_0xd28df6(0x1bf),'qdFzB':'Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','yRpsW':'goog:chromeOptions','RZgse':function(_0x287935,_0x515b73){return _0x287935===_0x515b73;},'dEbJV':_0xd28df6(0x1df),'jZPtz':function(_0x3e1ada,_0x4f06fb){return _0x3e1ada>=_0x4f06fb;}},_0x1d60f2=_0x399c25[_0xd28df6(0x144)](_0x9f7a3[_0xd28df6(0x152)]),_0x7722e5=_0x9f7a3[_0xd28df6(0x1d4)](parseFloat,_0x399c25['get'](_0x9f7a3[_0xd28df6(0x195)]))||_0x9f7a3[_0xd28df6(0x16c)](parseFloat,_0x399c25[_0xd28df6(0x144)](_0x9f7a3[_0xd28df6(0x158)])),_0x15f005=_0x399c25['get'](_0x9f7a3['aVswC'])||{},_0x54d2da=_0x9f7a3[_0xd28df6(0x1d4)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x472d1c=_0x15f005[_0x9f7a3[_0xd28df6(0x1c5)]]||_0x399c25[_0xd28df6(0x144)](_0x9f7a3['xTRyb'])||![];if(_0x472d1c)return logger[_0xd28df6(0x1ea)](_0x9f7a3[_0xd28df6(0x173)]),![];let _0x411e93;try{_0x411e93=bsSetupHelper[_0xd28df6(0x16f)](_0x9f7a3[_0xd28df6(0x157)],_0x9f7a3['bqMLU']);}catch(_0xca56cf){return![];}const _0x3b8072=new _0x411e93[(_0xd28df6(0x1c9))](_0x1891b2[_0xd28df6(0x1b0)]),_0x16ae59=bsSetupHelper['nestedKeyValue'](_0x3b8072,[_0x9f7a3['pmrUR'],_0x9f7a3['JgFnm']])||bsSetupHelper[_0xd28df6(0x1c6)](_0x1891b2['capabilities_'],[_0x9f7a3[_0xd28df6(0x1e8)],_0x9f7a3[_0xd28df6(0x1a7)],_0x9f7a3[_0xd28df6(0x171)]])||bsSetupHelper[_0xd28df6(0x1c6)](_0x1891b2['capabilities_'],[_0x9f7a3[_0xd28df6(0x1a7)],_0x9f7a3[_0xd28df6(0x171)]])||[];if(_0x16ae59[_0xd28df6(0x1b1)](_0x9f7a3[_0xd28df6(0x1d8)]))return logger['warn'](_0x9f7a3[_0xd28df6(0x1c2)]),![];const _0x45c9f3=_0x1891b2[_0xd28df6(0x1bb)]||{},_0x46ada6=bsSetupHelper['nestedKeyValue'](_0x45c9f3,[_0x9f7a3['yRpsW']])||{},_0x2aab30=bsSetupHelper['nestedKeyValue'](_0x46ada6,[_0x9f7a3[_0xd28df6(0x171)]])||[];if(_0x2aab30[_0xd28df6(0x1b1)](_0x9f7a3[_0xd28df6(0x1d8)]))return logger[_0xd28df6(0x1ea)](_0x9f7a3[_0xd28df6(0x1c2)]),![];if(_0x9f7a3[_0xd28df6(0x19d)](_0x1d60f2[_0xd28df6(0x1d3)](),_0x9f7a3['dEbJV'])&&_0x9f7a3['jZPtz'](_0x7722e5,_0x54d2da))return!![];return logger[_0xd28df6(0x1ea)](_0xd28df6(0x177)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports[a97_0xe58a29(0x12b)]=_0x3a254b=>{const _0x1c9d37=a97_0xe58a29,_0x714c5b={};_0x714c5b[_0x1c9d37(0x14e)]=_0x1c9d37(0x17f),_0x714c5b[_0x1c9d37(0x175)]=function(_0x305711,_0x3eb10d){return _0x305711||_0x3eb10d;},_0x714c5b[_0x1c9d37(0x1d9)]=_0x1c9d37(0x17c);const _0x1fd149=_0x714c5b,_0x149566=scripts['ChromeExtension'];try{const _0x4fa16a=bsSetupHelper[_0x1c9d37(0x15e)](process[_0x1c9d37(0x1da)][_0x1c9d37(0x1b7)])||bsSetupHelper[_0x1c9d37(0x15e)](process['env'][_0x1c9d37(0x1a1)]);if((!bsSetupHelper['isBrowserstackInfra']()||process['env'][_0x1c9d37(0x133)])&&_0x4fa16a){const _0x1cea2d=_0x3a254b[_0x1c9d37(0x14a)](),_0x42e468=_0x1cea2d[_0x1c9d37(0x144)](_0x1fd149[_0x1c9d37(0x14e)]),_0xc6c0ee=_0x1fd149[_0x1c9d37(0x175)](_0x42e468,{});bsSetupHelper[_0x1c9d37(0x13d)](_0xc6c0ee,_0x149566),_0x3a254b[_0x1c9d37(0x14a)]()[_0x1c9d37(0x168)](_0x1fd149[_0x1c9d37(0x14e)],_0xc6c0ee);}else logger['warn'](_0x1fd149['woqgc']);}catch(_0x2b90a7){logger[_0x1c9d37(0x143)]('Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20'+_0x2b90a7);}},exports[a97_0xe58a29(0x1e1)]=(_0x4a8979=null,_0x54814e=!![],_0x45ef11=[])=>{const _0x5aa12a=a97_0xe58a29,_0x3e525f={};_0x3e525f[_0x5aa12a(0x164)]=function(_0xea5973,_0x479112){return _0xea5973==_0x479112;},_0x3e525f[_0x5aa12a(0x1af)]=function(_0x33bbea,_0x3d7906){return _0x33bbea>_0x3d7906;},_0x3e525f[_0x5aa12a(0x148)]=function(_0x2634e4,_0x3af4ed){return _0x2634e4===_0x3af4ed;},_0x3e525f[_0x5aa12a(0x147)]=function(_0x6d7eab,_0x3468b1){return _0x6d7eab&&_0x3468b1;},_0x3e525f[_0x5aa12a(0x183)]=function(_0x41df79,_0x17ccc0){return _0x41df79&&_0x17ccc0;};const _0x218cf8=_0x3e525f;if(_0x218cf8[_0x5aa12a(0x164)](process[_0x5aa12a(0x1da)][_0x5aa12a(0x14f)],null))return!![];try{const _0x713d4a=JSON[_0x5aa12a(0x19b)](process[_0x5aa12a(0x1da)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']),_0x37cb2f=Array[_0x5aa12a(0x1fd)](_0x713d4a[_0x5aa12a(0x174)])?_0x713d4a[_0x5aa12a(0x174)]:[],_0x357b40=Array['isArray'](_0x713d4a['excludeTagsInTestingScope'])?_0x713d4a[_0x5aa12a(0x1b4)]:[];if(bsSetupHelper[_0x5aa12a(0x1cb)](_0x4a8979)){if(_0x218cf8[_0x5aa12a(0x1af)](_0x45ef11['length'],0x0)){const _0x236bda=_0x357b40[_0x5aa12a(0x1f5)](_0x3c070f=>_0x45ef11[_0x5aa12a(0x1b1)](_0x3c070f)),_0x447175=_0x218cf8['LYfLV'](_0x37cb2f[_0x5aa12a(0x1cd)],0x0)||_0x37cb2f[_0x5aa12a(0x1f5)](_0x4c9a88=>_0x45ef11['includes'](_0x4c9a88));return _0x218cf8[_0x5aa12a(0x147)](!_0x236bda,_0x447175);}return!![];}let _0x15dac8;_0x54814e?_0x15dac8=_0x4a8979['join']('/'):_0x15dac8=_0x4a8979;const _0x46312f=_0x357b40[_0x5aa12a(0x1f5)](_0x3978df=>_0x15dac8['includes'](_0x3978df)),_0x4254a1=_0x218cf8[_0x5aa12a(0x148)](_0x37cb2f[_0x5aa12a(0x1cd)],0x0)||_0x37cb2f[_0x5aa12a(0x1f5)](_0x4f8608=>_0x15dac8[_0x5aa12a(0x1b1)](_0x4f8608));return _0x218cf8[_0x5aa12a(0x183)](!_0x46312f,_0x4254a1);}catch(_0x4f2ea0){logger[_0x5aa12a(0x163)](_0x5aa12a(0x1e9)+util[_0x5aa12a(0x1b9)](_0x4f2ea0));}return![];},exports[a97_0xe58a29(0x1c7)]=_0x433347=>{const _0x30e809=a97_0xe58a29;let _0x56f76c=![];try{_0x433347['platforms'][_0x30e809(0x12c)](_0x4f2365=>{const _0x2997a6=_0x30e809;if(bsSetupHelper[_0x2997a6(0x15e)](_0x4f2365[_0x2997a6(0x142)]))return _0x56f76c=!![],!![];});}catch(_0x388f63){logger[_0x30e809(0x163)](_0x30e809(0x1ff)+_0x388f63);}return _0x56f76c||bsSetupHelper[_0x30e809(0x15e)](_0x433347[_0x30e809(0x142)]);},exports[a97_0xe58a29(0x160)]=PerformanceTester[a97_0xe58a29(0x18c)](a97_0xe58a29(0x179),async function(_0x2df5d3,_0x189179){const _0x1f35e2=a97_0xe58a29,_0x1a4a6d={};_0x1a4a6d[_0x1f35e2(0x1b2)]=_0x1f35e2(0x1c3),_0x1a4a6d[_0x1f35e2(0x1d6)]=_0x1f35e2(0x1bc),_0x1a4a6d[_0x1f35e2(0x1b3)]=_0x1f35e2(0x1de),_0x1a4a6d[_0x1f35e2(0x190)]=_0x1f35e2(0x194),_0x1a4a6d[_0x1f35e2(0x130)]=_0x1f35e2(0x1fc),_0x1a4a6d[_0x1f35e2(0x15b)]=_0x1f35e2(0x1e0),_0x1a4a6d[_0x1f35e2(0x1fa)]=function(_0x56024e,_0x4057d0){return _0x56024e===_0x4057d0;},_0x1a4a6d[_0x1f35e2(0x149)]=_0x1f35e2(0x1dd),_0x1a4a6d['eDbYI']=_0x1f35e2(0x126);const _0x498493=_0x1a4a6d,_0x837fc9=bsSetupHelper['getUserName'](_0x2df5d3),_0x404a61=bsSetupHelper[_0x1f35e2(0x123)](_0x2df5d3);if(bsSetupHelper['isUndefined'](_0x837fc9)||bsSetupHelper[_0x1f35e2(0x1cb)](_0x404a61))return logger[_0x1f35e2(0x143)](_0x498493[_0x1f35e2(0x1b2)]),[null,null];try{let _0x3eb993;bsSetupHelper[_0x1f35e2(0x1cb)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])?_0x3eb993={}:_0x3eb993=JSON[_0x1f35e2(0x19b)](process['env'][_0x1f35e2(0x14f)]);const {name:_0x57b90a,version:_0xd4f089}=bsSetupHelper[_0x1f35e2(0x13c)](_0x2df5d3,_0x189179),_0x193682={'projectName':_0x2df5d3[_0x1f35e2(0x181)],'buildName':_0x2df5d3['buildName']||path[_0x1f35e2(0x188)](path[_0x1f35e2(0x1dc)](process['cwd']())),'startTime':new Date()[_0x1f35e2(0x150)](),'description':_0x2df5d3[_0x1f35e2(0x154)]||'','source':{'frameworkName':_0x189179[_0x1f35e2(0x1b1)](_0x498493[_0x1f35e2(0x1d6)])?_0x498493['iwqob']:_0x189179,'frameworkVersion':bsSetupHelper[_0x1f35e2(0x1aa)](_0x189179),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x498493['JNRXd'],'testFramework':_0x57b90a,'testFrameworkVersion':_0xd4f089},'settings':_0x3eb993,'versionControl':await bsSetupHelper[_0x1f35e2(0x156)](),'ciInfo':bsSetupHelper[_0x1f35e2(0x1b5)](),'hostInfo':bsSetupHelper[_0x1f35e2(0x145)](),'browserstackAutomation':bsSetupHelper[_0x1f35e2(0x197)]()},_0x35410f={};_0x35410f[_0x1f35e2(0x1ee)]=_0x837fc9,_0x35410f[_0x1f35e2(0x187)]=_0x404a61;const _0x3505d0={};_0x3505d0[_0x1f35e2(0x1f7)]=_0x498493[_0x1f35e2(0x190)];const _0x223cac={};_0x223cac['auth']=_0x35410f,_0x223cac['headers']=_0x3505d0;const _0x57079e=_0x223cac,_0x5a79db={};_0x5a79db['body']=_0x193682,_0x5a79db[_0x1f35e2(0x146)]=!![];const _0x311723=Object[_0x1f35e2(0x16b)](_0x57079e,_0x5a79db),_0x173e43=await bsSetupHelper[_0x1f35e2(0x1ed)](_0x498493[_0x1f35e2(0x130)],_0x498493['pwSxB'],_0x311723,_0x2df5d3,API_URL);let _0x5b37a1=process[_0x1f35e2(0x1da)][_0x1f35e2(0x14f)];return _0x5b37a1?_0x5b37a1=JSON['parse'](process[_0x1f35e2(0x1da)][_0x1f35e2(0x14f)]):_0x5b37a1={},scripts[_0x1f35e2(0x172)](_0x173e43[_0x1f35e2(0x141)][_0x1f35e2(0x141)]),scripts['toJson'](),_0x5b37a1['scannerVersion']=_0x173e43[_0x1f35e2(0x141)][_0x1f35e2(0x141)][_0x1f35e2(0x1e3)],process[_0x1f35e2(0x1da)][_0x1f35e2(0x14f)]=JSON[_0x1f35e2(0x13e)](_0x5b37a1),[_0x173e43[_0x1f35e2(0x141)][_0x1f35e2(0x141)]['accessibilityToken'],_0x173e43[_0x1f35e2(0x141)][_0x1f35e2(0x141)]['id']];}catch(_0x349ddf){if(_0x349ddf[_0x1f35e2(0x186)])logger[_0x1f35e2(0x143)]('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+_0x349ddf[_0x1f35e2(0x186)][_0x1f35e2(0x16a)]+'\x20'+_0x349ddf['response']['statusText']+'\x20'+JSON['stringify'](_0x349ddf[_0x1f35e2(0x186)][_0x1f35e2(0x141)]));else{if(_0x498493[_0x1f35e2(0x1fa)](_0x349ddf['message'],_0x498493[_0x1f35e2(0x149)])){logger[_0x1f35e2(0x143)](_0x1f35e2(0x161)+(_0x349ddf[_0x1f35e2(0x1f1)]||_0x349ddf['stack']));for(const _0x2a2ce7 of _0x349ddf[_0x1f35e2(0x153)]){logger['error'](_0x2a2ce7[_0x1f35e2(0x1f1)]);}process[_0x1f35e2(0x1da)][_0x1f35e2(0x1b7)]=_0x498493[_0x1f35e2(0x18a)],process[_0x1f35e2(0x1da)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x498493[_0x1f35e2(0x18a)];}else logger[_0x1f35e2(0x143)](_0x1f35e2(0x161)+(_0x349ddf['message']||_0x349ddf[_0x1f35e2(0x159)]));}return[null,null];}}),exports[a97_0xe58a29(0x166)]=PerformanceTester[a97_0xe58a29(0x18c)](a97_0xe58a29(0x1c0),async function(_0x5ca342){const _0x2ebef9=a97_0xe58a29,_0x5b7830={};_0x5b7830[_0x2ebef9(0x12e)]=function(_0x28a451,_0xdfe205){return _0x28a451!==_0xdfe205;},_0x5b7830[_0x2ebef9(0x1ae)]='string',_0x5b7830[_0x2ebef9(0x1c1)]=_0x2ebef9(0x143),_0x5b7830[_0x2ebef9(0x1ac)]=_0x2ebef9(0x1a2),_0x5b7830[_0x2ebef9(0x17e)]='application/json',_0x5b7830['LrKPT']=_0x2ebef9(0x1ba),_0x5b7830['EOJRB']='test_runs/stop',_0x5b7830['IAVCi']=function(_0x21f8d6,_0x2e2214){return _0x21f8d6+_0x2e2214;},_0x5b7830['gLzxf']=_0x2ebef9(0x16e),_0x5b7830[_0x2ebef9(0x184)]='success';const _0x24cf4c=_0x5b7830;if(bsSetupHelper[_0x2ebef9(0x1cb)](process[_0x2ebef9(0x1da)]['BS_A11Y_JWT'])||_0x24cf4c[_0x2ebef9(0x12e)](typeof process[_0x2ebef9(0x1da)][_0x2ebef9(0x1db)],_0x24cf4c['qDdmS'])){const _0x574043={};return _0x574043['status']=_0x24cf4c[_0x2ebef9(0x1c1)],_0x574043['message']=_0x24cf4c[_0x2ebef9(0x1ac)],_0x574043;}const _0x5226f4={'endTime':new Date()['toISOString']()},_0x32509e={};_0x32509e[_0x2ebef9(0x1fe)]=_0x2ebef9(0x178)+process['env'][_0x2ebef9(0x1db)],_0x32509e[_0x2ebef9(0x1f7)]=_0x24cf4c['YudbF'];const _0x26bc18={};_0x26bc18[_0x2ebef9(0x134)]=_0x32509e;const _0x3e070b=_0x26bc18,_0x314ca7={};_0x314ca7[_0x2ebef9(0x1f3)]=_0x5226f4,_0x314ca7[_0x2ebef9(0x1d2)]=null,_0x314ca7[_0x2ebef9(0x146)]=!![];const _0x4e9f45=Object[_0x2ebef9(0x16b)](_0x3e070b,_0x314ca7);try{const _0x28e9c9=await bsSetupHelper[_0x2ebef9(0x1ed)](_0x24cf4c[_0x2ebef9(0x135)],_0x24cf4c[_0x2ebef9(0x14c)],_0x4e9f45,_0x5ca342,API_URL);if(_0x28e9c9[_0x2ebef9(0x141)]['error'])throw new Error(_0x24cf4c[_0x2ebef9(0x185)](_0x24cf4c[_0x2ebef9(0x15f)],_0x28e9c9['data']['error']));else{logger[_0x2ebef9(0x1cc)](_0x2ebef9(0x192)+new Date()[_0x2ebef9(0x150)]());const _0x441e12={};return _0x441e12[_0x2ebef9(0x16a)]=_0x24cf4c[_0x2ebef9(0x184)],_0x441e12[_0x2ebef9(0x1f1)]='',_0x441e12;}}catch(_0x272e3d){_0x272e3d[_0x2ebef9(0x186)]?logger[_0x2ebef9(0x143)]('Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20'+_0x272e3d['response'][_0x2ebef9(0x16a)]+'\x20'+_0x272e3d['response'][_0x2ebef9(0x17a)]+'\x20'+JSON[_0x2ebef9(0x13e)](_0x272e3d[_0x2ebef9(0x186)][_0x2ebef9(0x141)])):logger[_0x2ebef9(0x143)]('Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20'+(_0x272e3d[_0x2ebef9(0x1f1)]||util['format'](_0x272e3d)));const _0x37aa27={};return _0x37aa27[_0x2ebef9(0x16a)]=_0x24cf4c[_0x2ebef9(0x1c1)],_0x37aa27['message']=_0x272e3d[_0x2ebef9(0x1f1)]||(_0x272e3d[_0x2ebef9(0x186)]?_0x272e3d[_0x2ebef9(0x186)][_0x2ebef9(0x16a)]+':'+_0x272e3d['response'][_0x2ebef9(0x17a)]:_0x272e3d),_0x37aa27;}}),exports[a97_0xe58a29(0x19f)]=async(_0x4e8743,_0x2b4c97=null)=>{const _0x3d8398=a97_0xe58a29,_0xf833e8={};_0xf833e8[_0x3d8398(0x138)]=_0x3d8398(0x15c),_0xf833e8[_0x3d8398(0x196)]=_0x3d8398(0x182),_0xf833e8[_0x3d8398(0x19e)]=_0x3d8398(0x1e2);const _0xe87669=_0xf833e8;if(!this['isAccessibilityAutomationSession']()||!globals['getGlobal'](_0xe87669[_0x3d8398(0x138)])||!globals[_0x3d8398(0x1f0)](_0xe87669['GOVEt'])){logger[_0x3d8398(0x1ea)](_0xe87669[_0x3d8398(0x19e)]);return;}return await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x377f34=_0x3d8398,_0xb8a577={};_0xb8a577['method']=_0x2b4c97||global['browserstackSessionName'];const _0x14d019=util[_0x377f34(0x1b9)](await _0x4e8743['executeAsyncScript'](scripts['performScan'],_0xb8a577));return logger[_0x377f34(0x163)]('Performed\x20scan\x20with\x20result:\x20'+_0x14d019),_0x14d019;},{'command':_0x2b4c97})();},exports[a97_0xe58a29(0x125)]=async(_0x37d4e7,_0x54f2d7)=>{const _0x511691=a97_0xe58a29,_0x18315f={};_0x18315f['gwReE']=_0x511691(0x19c),_0x18315f['ekXAq']=_0x511691(0x15c),_0x18315f['rmQnd']='bstackA11yShouldScan',_0x18315f[_0x511691(0x129)]=_0x511691(0x131),_0x18315f[_0x511691(0x19a)]=_0x511691(0x125),_0x18315f['nOxOC']=_0x511691(0x176);const _0x1ca541=_0x18315f;if(!this[_0x511691(0x1cf)]()||!globals[_0x511691(0x1f0)](_0x1ca541[_0x511691(0x1f4)])||!globals[_0x511691(0x1f0)](_0x1ca541[_0x511691(0x191)]))return logger['warn'](_0x1ca541[_0x511691(0x129)]),[];try{return await PerformanceTester[_0x511691(0x18c)](PerformanceA11yEvents[_0x511691(0x15a)],async()=>{const _0x1acb90=_0x511691;logger[_0x1acb90(0x163)](_0x1ca541[_0x1acb90(0x1e4)]);const _0x11d27d={};_0x11d27d[_0x1acb90(0x136)]=_0x54f2d7[_0x1acb90(0x140)],logger[_0x1acb90(0x163)](util[_0x1acb90(0x1b9)](await _0x37d4e7[_0x1acb90(0x17d)](scripts[_0x1acb90(0x19f)],_0x11d27d)));},{'command':_0x1ca541[_0x511691(0x19a)]})(),await PerformanceTester[_0x511691(0x18c)](PerformanceA11yEvents[_0x511691(0x1ca)],async()=>{const _0x18f1ea=_0x511691,_0xd70a2c=await _0x37d4e7[_0x18f1ea(0x17d)](scripts[_0x18f1ea(0x1f9)]);return _0xd70a2c;})();}catch{return logger[_0x511691(0x143)](_0x1ca541['nOxOC']),[];}},exports[a97_0xe58a29(0x137)]=async(_0xa6debc,_0x1c249f)=>{const _0x54d631=a97_0xe58a29,_0x4e0c83={};_0x4e0c83[_0x54d631(0x12a)]='Performing\x20scan\x20before\x20getting\x20results\x20summary',_0x4e0c83[_0x54d631(0x1c4)]=_0x54d631(0x15c),_0x4e0c83['LhfgW']=_0x54d631(0x182),_0x4e0c83[_0x54d631(0x1a0)]=_0x54d631(0x18b),_0x4e0c83['gdjwB']='getAccessibilityResultsSummary',_0x4e0c83[_0x54d631(0x1eb)]=_0x54d631(0x17b);const _0xaafff7=_0x4e0c83;if(!this[_0x54d631(0x1cf)]()||!globals[_0x54d631(0x1f0)](_0xaafff7[_0x54d631(0x1c4)])||!globals['getGlobal'](_0xaafff7[_0x54d631(0x1fb)]))return logger[_0x54d631(0x1ea)](_0xaafff7['JnGKN']),{};try{return await PerformanceTester[_0x54d631(0x18c)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x4b2be6=_0x54d631;logger[_0x4b2be6(0x163)](_0xaafff7[_0x4b2be6(0x12a)]);const _0x162374={};_0x162374[_0x4b2be6(0x136)]=_0x1c249f[_0x4b2be6(0x140)],logger[_0x4b2be6(0x163)](util[_0x4b2be6(0x1b9)](await _0xa6debc[_0x4b2be6(0x17d)](scripts['performScan'],_0x162374)));},{'command':_0xaafff7[_0x54d631(0x1e7)]})(),await PerformanceTester[_0x54d631(0x18c)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x1fd014=_0x54d631,_0x55f412=await _0xa6debc['executeAsyncScript'](scripts[_0x1fd014(0x1e5)]);return _0x55f412;})();}catch{return logger[_0x54d631(0x143)](_0xaafff7[_0x54d631(0x1eb)]),{};}},exports['isBrowserStackCommandExecutor']=_0x1bf359=>{const _0x141e41=a97_0xe58a29,_0x566907={};_0x566907[_0x141e41(0x13a)]=function(_0x2175cf,_0x52c17b){return _0x2175cf===_0x52c17b;},_0x566907[_0x141e41(0x1a4)]=_0x141e41(0x1ec),_0x566907[_0x141e41(0x1a9)]=_0x141e41(0x1c8);const _0x4a7cc4=_0x566907;if(_0x1bf359&&_0x1bf359[_0x141e41(0x1f2)]&&_0x4a7cc4[_0x141e41(0x13a)](typeof _0x1bf359[_0x141e41(0x1f2)],_0x4a7cc4[_0x141e41(0x1a4)]))return _0x1bf359[_0x141e41(0x1f2)][_0x141e41(0x1b1)](_0x4a7cc4[_0x141e41(0x1a9)]);return![];};function a97_0x23e7(){const _0x546538=['getAccessibilityResults','false','./scripts','browserstack','nUiDk','XcHbB','setNonBstackInfraCapabilities','forEach','./constants','Eckzp','winstonLogger','oFPnZ','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','util','BROWSERSTACK_TURBOSCALE','headers','LrKPT','method','getAccessibilityResultsSummary','wWbtM','args','JhfPf','1969jciwtM','getTestFrameworkDetails','mergeDeep','stringify','../logger','browserstackSessionName','data','accessibility','error','get','getHostInfo','json','SZooo','LYfLV','SNxSW','getCapabilities','7088qrjWWj','EOJRB','BmwPl','mWVEY','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','toISOString','uZmLi','MCcPM','errors','buildDescription','null','getGitMetaData','LDXru','DiNZk','stack','PERFORM_SCAN','pwSxB','isAccessibilityPlatform','nonBstackPlatformValidation','isTrue','gLzxf','createAccessibilityTestRun','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','debug','pcxVu','aRNzD','stopAccessibilityTestRun','vbJHG','set','197770fKGOqb','status','assign','rezly','selenium-webdriver','Invalid\x20request:\x20','requireModule','../helper','JgFnm','parseFromJson','swZWq','includeTagsInTestingScope','bdEYd','No\x20accessibility\x20results\x20were\x20found.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','Bearer\x20','a11y:start','statusText','No\x20accessibility\x20summary\x20was\x20found.','Not\x20a\x20Accessibility\x20Session','executeAsyncScript','YudbF','goog:chromeOptions','../performance/performance-tester','projectName','bstackA11yShouldScan','xzUXT','RVmCe','IAVCi','response','pass','basename','../globals','eDbYI','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','measureWrapper','fetchPlatformDetails','path','45UIsjdt','bwxcp','rmQnd','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','2844GyOPIH','application/json','camNM','GOVEt','isBrowserstackInfra','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','mTiim','vOdxN','parse','Performing\x20scan\x20before\x20getting\x20results','RZgse','LgHLz','performScan','JnGKN','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','Build\x20creation\x20had\x20failed.','3052tgprdM','rgIXt','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','413096ojNMDC','ithWB','wazLD','rYptk','getPackageVersion','browserName','IuWIN','3gPWBQc','qDdmS','ybgGq','chromeOptions_','includes','FwmZP','JNRXd','excludeTagsInTestingScope','getCiInfo','chromeOptions','BROWSERSTACK_TEST_ACCESSIBILITY_YML','__cloud_provider___','format','PUT','capabilities_','playwright','selenium-webdriver/chrome.js','228tiEdyj','--headless','a11y:stop','Eqqvi','qdFzB','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','UqPhP','noBNW','nestedKeyValue','checkAccessibilityPlatformConfig','browserstack_executor','Options','GET_RESULTS','isUndefined','info','length','Frvhg','isAccessibilityAutomationSession','389408AoJnaS','bstack:options','auth','toLowerCase','NrrzJ','../performance/constants','iwqob','80CfYlaX','mpLYU','woqgc','env','BS_A11Y_JWT','resolve','Invalid\x20configuration\x20passed.','javascript','chrome','v2/test_runs','shouldScanTestForAccessibility','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','scannerVersion','gwReE','getResultsSummary','180556McIokP','gdjwB','aVswC','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','warn','xOOhz','string','nodeRequest','user','getPlatformVersion','getGlobal','message','script','body','ekXAq','some','getBrowserVersion','Content-Type','oiWso','getResults','LdyvH','LhfgW','POST','isArray','Authorization','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','getBrowserName','getAccessKey','options_'];a97_0x23e7=function(){return _0x546538;};return a97_0x23e7();}
@@ -1 +1 @@
1
- const a98_0x8e9481=a98_0x1f68;(function(_0xa8e7a2,_0x59d394){const _0x1faf66=a98_0x1f68,_0xb6294=_0xa8e7a2();while(!![]){try{const _0x54ca3c=-parseInt(_0x1faf66(0x13b))/0x1*(parseInt(_0x1faf66(0x160))/0x2)+parseInt(_0x1faf66(0x153))/0x3*(-parseInt(_0x1faf66(0x163))/0x4)+-parseInt(_0x1faf66(0x15b))/0x5*(parseInt(_0x1faf66(0x15e))/0x6)+parseInt(_0x1faf66(0x15d))/0x7+parseInt(_0x1faf66(0x151))/0x8*(-parseInt(_0x1faf66(0x168))/0x9)+-parseInt(_0x1faf66(0x142))/0xa+parseInt(_0x1faf66(0x16f))/0xb*(parseInt(_0x1faf66(0x13c))/0xc);if(_0x54ca3c===_0x59d394)break;else _0xb6294['push'](_0xb6294['shift']());}catch(_0x71779){_0xb6294['push'](_0xb6294['shift']());}}}(a98_0x3d74,0xf166b));function a98_0x3d74(){const _0x76241e=['length','getMethod','JABUc','RRCve','BijKE','5nGynlX','stringify','1506785mXqWFM','2025798vguolh','commandsToWrap','2XQkQhJ','homedir','getName','16dKSbfz','fromJson','saveResults','GPUwN','shouldWrapCommand','1679211sbHztf','.browserstack','map','getResults','path','browserstackFolderPath','split','168938DqXfRf','commands','winstonLogger','aMVFp','kqWqd','saveTestResults','OsIks','scan','ESnQH','1109449iYBJLE','4080vThsDN','OXHdg','5|3|1|4|0|6|2','commands.json','toJson','getResultsSummary','10751360vdCFYT','exports','../../helpers/logger','getClass','../helper','parseFromJson','findIndex','yTCeG','OLVWI','WcdKA','ChromeExtension','PxRbh','performScan','getLibrary','getCommand','48muZyVu','commandsPath','604878wggqyC','scripts','mkdirSync'];a98_0x3d74=function(){return _0x76241e;};return a98_0x3d74();}function a98_0x1f68(_0x285aad,_0x81b11a){const _0x3d742d=a98_0x3d74();return a98_0x1f68=function(_0x1f688e,_0x3446a6){_0x1f688e=_0x1f688e-0x134;let _0x4a9af4=_0x3d742d[_0x1f688e];return _0x4a9af4;},a98_0x1f68(_0x285aad,_0x81b11a);}const path=require(a98_0x8e9481(0x16c)),fs=require('fs'),logger=require(a98_0x8e9481(0x144))[a98_0x8e9481(0x134)],helper=require(a98_0x8e9481(0x146));class Scripts{constructor(){const _0x140217=a98_0x8e9481,_0x5c587f={};_0x5c587f[_0x140217(0x13a)]=_0x140217(0x13e),_0x5c587f[_0x140217(0x14d)]=_0x140217(0x169),_0x5c587f['yTCeG']=_0x140217(0x13f);const _0x14cd66=_0x5c587f,_0x139004=_0x14cd66[_0x140217(0x13a)][_0x140217(0x16e)]('|');let _0x3600be=0x0;while(!![]){switch(_0x139004[_0x3600be++]){case'0':this[_0x140217(0x16d)]=path['join'](helper[_0x140217(0x161)](),_0x14cd66[_0x140217(0x14d)]);continue;case'1':this['getResultsSummary']=null;continue;case'2':this[_0x140217(0x164)]();continue;case'3':this[_0x140217(0x16b)]=null;continue;case'4':this[_0x140217(0x137)]=null;continue;case'5':this['performScan']=null;continue;case'6':this[_0x140217(0x152)]=path['join'](this[_0x140217(0x16d)],_0x14cd66[_0x140217(0x149)]);continue;}break;}}[a98_0x8e9481(0x147)](_0x2536ff){const _0x53db8b=a98_0x8e9481;_0x2536ff[_0x53db8b(0x154)]&&(this[_0x53db8b(0x14e)]=_0x2536ff['scripts'][_0x53db8b(0x139)],this['getResults']=_0x2536ff[_0x53db8b(0x154)][_0x53db8b(0x16b)],this[_0x53db8b(0x141)]=_0x2536ff['scripts'][_0x53db8b(0x141)],this[_0x53db8b(0x137)]=_0x2536ff[_0x53db8b(0x154)][_0x53db8b(0x165)]),this['commandsToWrap']=_0x2536ff[_0x53db8b(0x170)],this[_0x53db8b(0x14c)]=_0x2536ff['nonBStackInfraA11yChromeOptions'];}['parseFromProto'](_0x1edbe6,_0x239932){const _0x1742ae=a98_0x8e9481,_0x421769={};_0x421769[_0x1742ae(0x14b)]=function(_0x36d83b,_0x493dfb){return _0x36d83b>_0x493dfb;},_0x421769[_0x1742ae(0x159)]=function(_0x5d5788,_0x22b126){return _0x5d5788===_0x22b126;},_0x421769['OsIks']=_0x1742ae(0x139),_0x421769[_0x1742ae(0x166)]=function(_0x1c84f7,_0x341661){return _0x1c84f7===_0x341661;},_0x421769['kqWqd']='getResults',_0x421769[_0x1742ae(0x158)]=function(_0x311f9c,_0x18bb4e){return _0x311f9c===_0x18bb4e;},_0x421769[_0x1742ae(0x135)]=_0x1742ae(0x141),_0x421769[_0x1742ae(0x14a)]=_0x1742ae(0x165);const _0x3221af=_0x421769;if(_0x1edbe6&&_0x3221af[_0x1742ae(0x14b)](_0x1edbe6[_0x1742ae(0x156)],0x0))for(const _0x20fcb3 of _0x1edbe6){if(_0x3221af['RRCve'](_0x20fcb3[_0x1742ae(0x162)](),_0x3221af[_0x1742ae(0x138)]))this[_0x1742ae(0x14e)]=_0x20fcb3[_0x1742ae(0x150)]();else{if(_0x3221af['GPUwN'](_0x20fcb3[_0x1742ae(0x162)](),_0x3221af[_0x1742ae(0x136)]))this['getResults']=_0x20fcb3['getCommand']();else{if(_0x3221af[_0x1742ae(0x158)](_0x20fcb3['getName'](),_0x3221af[_0x1742ae(0x135)]))this['getResultsSummary']=_0x20fcb3[_0x1742ae(0x150)]();else _0x3221af['GPUwN'](_0x20fcb3[_0x1742ae(0x162)](),_0x3221af[_0x1742ae(0x14a)])&&(this[_0x1742ae(0x137)]=_0x20fcb3['getCommand']());}}}_0x239932&&_0x3221af[_0x1742ae(0x14b)](_0x239932[_0x1742ae(0x156)],0x0)&&(this[_0x1742ae(0x15f)]=_0x239932[_0x1742ae(0x16a)](_0x1fb0d9=>{const _0x1fa336=_0x1742ae;return{'name':_0x1fb0d9[_0x1fa336(0x162)](),'method':_0x1fb0d9[_0x1fa336(0x157)](),'library':_0x1fb0d9[_0x1fa336(0x14f)](),'module':_0x1fb0d9['getModule'](),'class':_0x1fb0d9[_0x1fa336(0x145)]()};}));}[a98_0x8e9481(0x167)](_0xbae48){const _0x273ad9=a98_0x8e9481,_0x146385={};_0x146385[_0x273ad9(0x13d)]=function(_0x2dbd2a,_0x23acaa){return _0x2dbd2a!==_0x23acaa;};const _0x427db6=_0x146385;try{return _0x427db6[_0x273ad9(0x13d)](this[_0x273ad9(0x15f)][_0x273ad9(0x148)](_0x5eead7=>_0x5eead7['name']['toLowerCase']()===_0xbae48['toLowerCase']()),-0x1);}catch(_0x3097c1){logger['debug']('Exception\x20in\x20browserstack\x20accessibility\x20automation\x20with\x20error:\x20'+_0x3097c1);}return![];}[a98_0x8e9481(0x140)](){const _0x40fa26=a98_0x8e9481;!fs['existsSync'](this[_0x40fa26(0x16d)])&&fs[_0x40fa26(0x155)](this['browserstackFolderPath']),fs['writeFileSync'](this[_0x40fa26(0x152)],JSON[_0x40fa26(0x15c)]({'scripts':{'scan':this[_0x40fa26(0x14e)],'getResults':this[_0x40fa26(0x16b)],'getResultsSummary':this['getResultsSummary'],'saveResults':this[_0x40fa26(0x137)]},'commands':this[_0x40fa26(0x15f)],'nonBStackInfraA11yChromeOptions':this['ChromeExtension']}));}[a98_0x8e9481(0x164)](){const _0x1c1fe5=a98_0x8e9481,_0x209177={'BijKE':function(_0x37703a,_0x37cabb){return _0x37703a(_0x37cabb);}};fs['existsSync'](this[_0x1c1fe5(0x152)])&&this[_0x1c1fe5(0x147)](_0x209177[_0x1c1fe5(0x15a)](require,this[_0x1c1fe5(0x152)]));}}module[a98_0x8e9481(0x143)]=new Scripts();
1
+ const a98_0x2c3081=a98_0x2fd8;function a98_0x2fd8(_0x4d1af3,_0x5d0ef1){const _0x85d4c=a98_0x85d4();return a98_0x2fd8=function(_0x2fd81f,_0x333e12){_0x2fd81f=_0x2fd81f-0x94;let _0xe91777=_0x85d4c[_0x2fd81f];return _0xe91777;},a98_0x2fd8(_0x4d1af3,_0x5d0ef1);}(function(_0xb076eb,_0x26a970){const _0x33ed35=a98_0x2fd8,_0x108474=_0xb076eb();while(!![]){try{const _0x294cdf=-parseInt(_0x33ed35(0xa8))/0x1+parseInt(_0x33ed35(0xb6))/0x2*(-parseInt(_0x33ed35(0x9d))/0x3)+parseInt(_0x33ed35(0xb7))/0x4+parseInt(_0x33ed35(0x9e))/0x5*(-parseInt(_0x33ed35(0xb1))/0x6)+parseInt(_0x33ed35(0xa5))/0x7+-parseInt(_0x33ed35(0xc1))/0x8+parseInt(_0x33ed35(0xbc))/0x9;if(_0x294cdf===_0x26a970)break;else _0x108474['push'](_0x108474['shift']());}catch(_0x5ebf3f){_0x108474['push'](_0x108474['shift']());}}}(a98_0x85d4,0x2bd74));function a98_0x85d4(){const _0x58f80e=['getResults','parseFromJson','stringify','OXJMr','performScan','homedir','fwZds','scan','commandsPath','iknzV','saveTestResults','shouldWrapCommand','commands','cNyQu','Pjbvo','.browserstack','ChromeExtension','327WyURoq','25hsWRgz','QMbpe','getName','debug','map','fromJson','gvqdw','226975ffWauh','findIndex','parseFromProto','243989vfNLLX','browserstackFolderPath','getMethod','nonBStackInfraA11yChromeOptions','saveResults','commands.json','name','writeFileSync','UamVz','185358ZmXgtx','length','getResultsSummary','mkdirSync','../../helpers/logger','6246eOyggr','1031020OtMYzq','scripts','exports','Exception\x20in\x20browserstack\x20accessibility\x20automation\x20with\x20error:\x20','WJdTu','5666310iepyuQ','xirJH','toJson','getCommand','../helper','10696UWzJna','toLowerCase','join','path','commandsToWrap'];a98_0x85d4=function(){return _0x58f80e;};return a98_0x85d4();}const path=require(a98_0x2c3081(0xc4)),fs=require('fs'),logger=require(a98_0x2c3081(0xb5))['winstonLogger'],helper=require(a98_0x2c3081(0xc0));class Scripts{constructor(){const _0x536f41=a98_0x2c3081,_0x5296af={};_0x5296af[_0x536f41(0xbd)]='4|5|2|0|6|3|1',_0x5296af[_0x536f41(0x99)]=_0x536f41(0xad),_0x5296af[_0x536f41(0x9a)]=_0x536f41(0x9b);const _0x33e788=_0x5296af,_0x512cad=_0x33e788['xirJH']['split']('|');let _0x8c1346=0x0;while(!![]){switch(_0x512cad[_0x8c1346++]){case'0':this[_0x536f41(0x96)]=null;continue;case'1':this[_0x536f41(0xa3)]();continue;case'2':this['getResultsSummary']=null;continue;case'3':this[_0x536f41(0x94)]=path[_0x536f41(0xc3)](this[_0x536f41(0xa9)],_0x33e788[_0x536f41(0x99)]);continue;case'4':this[_0x536f41(0xca)]=null;continue;case'5':this[_0x536f41(0xc6)]=null;continue;case'6':this[_0x536f41(0xa9)]=path[_0x536f41(0xc3)](helper[_0x536f41(0xcb)](),_0x33e788[_0x536f41(0x9a)]);continue;}break;}}['parseFromJson'](_0x5eff96){const _0xc666eb=a98_0x2c3081;_0x5eff96['scripts']&&(this[_0xc666eb(0xca)]=_0x5eff96['scripts'][_0xc666eb(0xcd)],this[_0xc666eb(0xc6)]=_0x5eff96[_0xc666eb(0xb8)]['getResults'],this[_0xc666eb(0xb3)]=_0x5eff96[_0xc666eb(0xb8)][_0xc666eb(0xb3)],this['saveTestResults']=_0x5eff96[_0xc666eb(0xb8)][_0xc666eb(0xac)]),this['commandsToWrap']=_0x5eff96[_0xc666eb(0x98)],this[_0xc666eb(0x9c)]=_0x5eff96[_0xc666eb(0xab)];}[a98_0x2c3081(0xa7)](_0x29d45f,_0x3fe086){const _0x3221ec=a98_0x2c3081,_0x692ed9={};_0x692ed9[_0x3221ec(0xbb)]=function(_0x1fba63,_0xface1){return _0x1fba63>_0xface1;},_0x692ed9[_0x3221ec(0xa4)]=function(_0x596774,_0x3244a4){return _0x596774===_0x3244a4;},_0x692ed9['iknzV']='scan',_0x692ed9['mOBUg']='getResults',_0x692ed9['gFSoz']='getResultsSummary',_0x692ed9[_0x3221ec(0xc9)]=_0x3221ec(0xac),_0x692ed9['QMbpe']=function(_0x4823f7,_0x281804){return _0x4823f7>_0x281804;};const _0x4fa6a2=_0x692ed9;if(_0x29d45f&&_0x4fa6a2[_0x3221ec(0xbb)](_0x29d45f[_0x3221ec(0xb2)],0x0))for(const _0x5ea248 of _0x29d45f){if(_0x4fa6a2[_0x3221ec(0xa4)](_0x5ea248['getName'](),_0x4fa6a2[_0x3221ec(0x95)]))this['performScan']=_0x5ea248['getCommand']();else{if(_0x4fa6a2[_0x3221ec(0xa4)](_0x5ea248[_0x3221ec(0xa0)](),_0x4fa6a2['mOBUg']))this['getResults']=_0x5ea248[_0x3221ec(0xbf)]();else{if(_0x4fa6a2[_0x3221ec(0xa4)](_0x5ea248['getName'](),_0x4fa6a2['gFSoz']))this[_0x3221ec(0xb3)]=_0x5ea248[_0x3221ec(0xbf)]();else _0x4fa6a2[_0x3221ec(0xa4)](_0x5ea248['getName'](),_0x4fa6a2['OXJMr'])&&(this[_0x3221ec(0x96)]=_0x5ea248[_0x3221ec(0xbf)]());}}}_0x3fe086&&_0x4fa6a2[_0x3221ec(0x9f)](_0x3fe086['length'],0x0)&&(this[_0x3221ec(0xc5)]=_0x3fe086[_0x3221ec(0xa2)](_0x3188ab=>{const _0x337f39=_0x3221ec;return{'name':_0x3188ab['getName'](),'method':_0x3188ab[_0x337f39(0xaa)](),'library':_0x3188ab['getLibrary'](),'module':_0x3188ab['getModule'](),'class':_0x3188ab['getClass']()};}));}[a98_0x2c3081(0x97)](_0x2a43a4){const _0x21898a=a98_0x2c3081,_0x10f97f={};_0x10f97f[_0x21898a(0xcc)]=function(_0xf469b8,_0x394309){return _0xf469b8!==_0x394309;};const _0x44cff5=_0x10f97f;try{return _0x44cff5[_0x21898a(0xcc)](this[_0x21898a(0xc5)][_0x21898a(0xa6)](_0x467cac=>_0x467cac[_0x21898a(0xae)][_0x21898a(0xc2)]()===_0x2a43a4[_0x21898a(0xc2)]()),-0x1);}catch(_0x1ced6b){logger[_0x21898a(0xa1)](_0x21898a(0xba)+_0x1ced6b);}return![];}[a98_0x2c3081(0xbe)](){const _0x6ec3d5=a98_0x2c3081;!fs['existsSync'](this[_0x6ec3d5(0xa9)])&&fs[_0x6ec3d5(0xb4)](this[_0x6ec3d5(0xa9)]),fs[_0x6ec3d5(0xaf)](this[_0x6ec3d5(0x94)],JSON[_0x6ec3d5(0xc8)]({'scripts':{'scan':this['performScan'],'getResults':this[_0x6ec3d5(0xc6)],'getResultsSummary':this[_0x6ec3d5(0xb3)],'saveResults':this['saveTestResults']},'commands':this[_0x6ec3d5(0xc5)],'nonBStackInfraA11yChromeOptions':this['ChromeExtension']}));}[a98_0x2c3081(0xa3)](){const _0x25a07d=a98_0x2c3081,_0xea1a={'UamVz':function(_0x3e6c60,_0x13bddf){return _0x3e6c60(_0x13bddf);}};fs['existsSync'](this['commandsPath'])&&this[_0x25a07d(0xc7)](_0xea1a[_0x25a07d(0xb0)](require,this[_0x25a07d(0x94)]));}}module[a98_0x2c3081(0xb9)]=new Scripts();
@@ -1 +1 @@
1
- const a99_0x3cf7ff=a99_0x216b;(function(_0x4ff1bc,_0x52a19f){const _0xad80ed=a99_0x216b,_0x1f469d=_0x4ff1bc();while(!![]){try{const _0x26f20b=-parseInt(_0xad80ed(0x171))/0x1*(-parseInt(_0xad80ed(0x15d))/0x2)+parseInt(_0xad80ed(0x12f))/0x3+parseInt(_0xad80ed(0x153))/0x4+-parseInt(_0xad80ed(0x184))/0x5*(parseInt(_0xad80ed(0x186))/0x6)+parseInt(_0xad80ed(0x133))/0x7+parseInt(_0xad80ed(0x15b))/0x8+-parseInt(_0xad80ed(0x182))/0x9;if(_0x26f20b===_0x52a19f)break;else _0x1f469d['push'](_0x1f469d['shift']());}catch(_0x3a0219){_0x1f469d['push'](_0x1f469d['shift']());}}}(a99_0x27f5,0x6db87));function a99_0x216b(_0xba5ee4,_0x57c0ae){const _0x27f525=a99_0x27f5();return a99_0x216b=function(_0x216b90,_0x4d28a8){_0x216b90=_0x216b90-0x11d;let _0x293ca0=_0x27f525[_0x216b90];return _0x293ca0;},a99_0x216b(_0xba5ee4,_0x57c0ae);}function a99_0x27f5(){const _0x3e9d59=['config','SMtfv','atvnP','initializeHealingCapabilities','capabilities_','BrowserstackHealing','kjnrZ','browserName','TCG_REGION','getCommands','HEALING_LOG_DATA_TIMEOUT','404559zgaRXG','BrowserstackHealing.logData\x20method\x20timed\x20out','koDQh','parameters_','2112880dUrtvP','locatorValue','gszfU','seQfF','using','getProjectName','s://','framework','string','../../bin/utils/constants','MSHhJ','get','name_','\x22}}}','igHXn','winstonLogger','tjIZf','safariOptions_','Healing\x20Failed,\x20Browserstack\x20AI\x20could\x20not\x20heal\x20the\x20','browserstackSessionName','aiHeal_sessionToken','nmgZZ','replace','../globals','YFRZN','Doyvn','microsoftedge','BMQfo','Error\x20in\x20(healing)\x20handling\x20failure\x20event.\x20ERROR:\x20','toLowerCase','\x22,\x20\x22tcgUrls\x22:\x20{\x22','aiSdkWrapper','2256176FDqfzJ','firefoxOptions_','getTestName','aiHealing','freeze','TCG_URL','POLL_HEALING_RESULT_TIMEOUT','value','507440Xlgain','BrowserstackHealingPollResultFailed','302254HdSpHl','./autoHealHelper','handleFailure','BrowserstackHealingSetTcgTokenFailed','BrowserstackHealing.healFailure\x20method\x20timed\x20out','iCAJg','newCapabilities','fecYz','logData','tiQye','ZwOqO','../logger','message','fromEntries','NAnoX','cancel','uLRLd','\x20command','_handleEvent','selector','4GcDETa','set','FuKtw','tQhGw','handleSuccess','BoQdH','../../ai-sdk-node/bundle','LhViC','YaWfn','IWVrg','safari','LlIaD','SET_TCG_TOKEN_TIMEOUT','firefox','HBdHz','tRXyV','locatorType','7749486KqUaxg','pollResult','6810vJzBND','race','1578UoAyQF','HEALING_FAILURE_TIMEOUT','join','path','pQpWr','rUrMh','info','BrowserstackHealingLogDataFailed','Unable\x20to\x20load\x20healing\x20module,\x20error:\x20','FMNRT','YKXAP','eZIrF','getSession','healFailure','getId','setToken','then','mPkSS','getGlobal','isSelfHealEnabled','error','edge'];a99_0x27f5=function(){return _0x3e9d59;};return a99_0x27f5();}const path=require(a99_0x3cf7ff(0x189)),{commandRepository}=require(a99_0x3cf7ff(0x15e)),constants=require(a99_0x3cf7ff(0x13c)),logger=require(a99_0x3cf7ff(0x168))[a99_0x3cf7ff(0x142)],globals=require(a99_0x3cf7ff(0x14a)),timeoutPromise=require('../../helpers/timeoutPromise'),isUndefinedOrNull=_0x5ebcf5=>_0x5ebcf5===undefined||_0x5ebcf5===null||_0x5ebcf5==='',isNotUndefinedOrNull=_0x3a9387=>!isUndefinedOrNull(_0x3a9387),isString=_0x45b7fc=>isNotUndefinedOrNull(_0x45b7fc)&&typeof _0x45b7fc===a99_0x3cf7ff(0x13b);class AiSdkWrapper{constructor(){const _0x4196dc=a99_0x3cf7ff,_0x23c55e={'FMNRT':function(_0x514f6c,_0x307fa2){return _0x514f6c(_0x307fa2);},'YKXAP':_0x4196dc(0x177)};this[_0x4196dc(0x129)]=undefined;try{this[_0x4196dc(0x129)]=_0x23c55e[_0x4196dc(0x18f)](require,path[_0x4196dc(0x188)](__dirname,_0x23c55e[_0x4196dc(0x190)]));}catch(_0x3721ae){logger[_0x4196dc(0x122)](_0x4196dc(0x18e)+(_0x3721ae&&_0x3721ae[_0x4196dc(0x169)]?_0x3721ae['message']:''));}}[a99_0x3cf7ff(0x127)](_0x51b3a8){const _0x75f2e=a99_0x3cf7ff,_0x567411={};_0x567411['mPkSS']=_0x75f2e(0x163),_0x567411['YFRZN']=function(_0x193d77,_0x2a35a1){return _0x193d77===_0x2a35a1;},_0x567411[_0x75f2e(0x17a)]='chrome',_0x567411['tQhGw']=_0x75f2e(0x17e),_0x567411[_0x75f2e(0x178)]=function(_0x5bfb09,_0x5763b7){return _0x5bfb09===_0x5763b7;},_0x567411[_0x75f2e(0x162)]=_0x75f2e(0x17b),_0x567411['kjnrZ']=function(_0x5b7547,_0x16b905){return _0x5b7547===_0x16b905;},_0x567411[_0x75f2e(0x16d)]=_0x75f2e(0x123),_0x567411[_0x75f2e(0x173)]=function(_0x3e53a6,_0x4b3220){return _0x3e53a6===_0x4b3220;},_0x567411[_0x75f2e(0x16b)]=_0x75f2e(0x14d),_0x567411['koDQh']=function(_0x28932c,_0x1f24e5){return _0x28932c===_0x1f24e5;};const _0x1327a3=_0x567411;try{const _0x34d3d7=this['BrowserstackHealing']['initializeCapabilities'](Object[_0x75f2e(0x16a)](_0x51b3a8['getCapabilities']()['map_']));console['log'](_0x1327a3[_0x75f2e(0x11f)],_0x34d3d7);if(_0x1327a3[_0x75f2e(0x14b)](_0x34d3d7?.[_0x75f2e(0x12b)]?.[_0x75f2e(0x150)](),_0x1327a3[_0x75f2e(0x17a)]))_0x51b3a8['chromeOptions_']=_0x34d3d7;else{if(_0x1327a3[_0x75f2e(0x14b)](_0x34d3d7?.[_0x75f2e(0x12b)]?.[_0x75f2e(0x150)](),_0x1327a3[_0x75f2e(0x174)]))_0x51b3a8[_0x75f2e(0x154)]=_0x34d3d7;else{if(_0x1327a3[_0x75f2e(0x178)](_0x34d3d7?.[_0x75f2e(0x12b)]?.[_0x75f2e(0x150)](),_0x1327a3[_0x75f2e(0x162)]))_0x51b3a8[_0x75f2e(0x144)]=_0x34d3d7;else{if(_0x1327a3[_0x75f2e(0x12a)](_0x34d3d7?.[_0x75f2e(0x12b)]?.[_0x75f2e(0x150)](),_0x1327a3[_0x75f2e(0x16d)])||_0x1327a3[_0x75f2e(0x173)](_0x34d3d7?.['browserName']?.[_0x75f2e(0x150)](),_0x1327a3[_0x75f2e(0x16b)]))_0x51b3a8['edgeOptions_']=_0x34d3d7;else _0x1327a3[_0x75f2e(0x131)](_0x34d3d7?.[_0x75f2e(0x12b)]?.[_0x75f2e(0x150)](),'ie')&&(_0x51b3a8['ieOptions_']=_0x34d3d7);}}}Object['keys'](_0x34d3d7)['forEach'](_0x34b630=>{const _0x269948=_0x75f2e,_0x17f553=_0x51b3a8['capabilities_'][_0x269948(0x13e)](_0x34b630);_0x51b3a8[_0x269948(0x128)][_0x269948(0x172)](_0x34b630,_0x34d3d7[_0x34b630]);});}catch(_0x12bf0a){logger['error']('Error\x20in\x20initialising\x20healing\x20capabilities\x20,\x20error:\x20'+(_0x12bf0a&&_0x12bf0a['message']?_0x12bf0a[_0x75f2e(0x169)]:''));}}async['setTcgToken'](_0x3cd59e){const _0x5ad877=a99_0x3cf7ff,_0x2753b6={'tjIZf':function(_0x3f7192,_0xf17b6b,_0x490139,_0x10701d,_0x1cdd5c,_0x3407be,_0x2f0b90){return _0x3f7192(_0xf17b6b,_0x490139,_0x10701d,_0x1cdd5c,_0x3407be,_0x2f0b90);},'HBdHz':'BrowserstackHealing.setToken\x20method\x20timed\x20out','fecYz':_0x5ad877(0x160),'igHXn':_0x5ad877(0x147)},_0x167cd4=new Date(),_0x3532c8=_0x2753b6[_0x5ad877(0x143)](timeoutPromise,constants[_0x5ad877(0x17d)],_0x2753b6[_0x5ad877(0x17f)],_0x2753b6[_0x5ad877(0x164)],_0x167cd4,this[_0x5ad877(0x124)],this[_0x5ad877(0x13a)]);await Promise[_0x5ad877(0x185)]([this[_0x5ad877(0x129)][_0x5ad877(0x11d)](_0x3cd59e,globals[_0x5ad877(0x120)](_0x2753b6[_0x5ad877(0x141)]),constants[_0x5ad877(0x158)])['then'](()=>{const _0x262db8=_0x5ad877;_0x3532c8[_0x262db8(0x16c)]();}),_0x3532c8]);}async[a99_0x3cf7ff(0x16f)](_0xe66167,_0x4052c6,_0x583e3c,_0x4ba25a){const _0x30d5ce=a99_0x3cf7ff,_0x35dbb9={'eZIrF':function(_0x13300b,_0x1de1c8){return _0x13300b===_0x1de1c8;},'XIipd':function(_0xa1f8ba,_0x1f10b6){return _0xa1f8ba===_0x1f10b6;},'tiQye':function(_0x233076,_0x51aca8){return _0x233076(_0x51aca8);},'BoQdH':function(_0x4f5b60,_0x5d996c){return _0x4f5b60(_0x5d996c);},'rUrMh':function(_0x468dee,_0x463bbb){return _0x468dee(_0x463bbb);},'BMQfo':function(_0x5b1ece,_0x4369fd){return _0x5b1ece(_0x4369fd);},'atvnP':function(_0x1c5ca,_0x470b78){return _0x1c5ca(_0x470b78);},'MSHhJ':function(_0xa4c9cf,_0x5b5e8b){return _0xa4c9cf(_0x5b5e8b);},'IZDZh':_0x30d5ce(0x139),'CtlJc':function(_0x347f88,_0x59e6b7){return _0x347f88(_0x59e6b7);},'gszfU':'aiHeal_userId','ZwOqO':'aiHeal_groupId','Doyvn':'aiHeal_isGroupAIEnabled','nmgZZ':function(_0xc03fb4,_0xcd582e,_0xb4ae2e,_0x337e2c,_0x148ca9,_0x53256a,_0x59a268){return _0xc03fb4(_0xcd582e,_0xb4ae2e,_0x337e2c,_0x148ca9,_0x53256a,_0x59a268);},'tRXyV':_0x30d5ce(0x130),'YaWfn':_0x30d5ce(0x18d),'pQpWr':_0x30d5ce(0x161),'LlIaD':'BrowserstackHealingHealFailureFailed'},_0x327818=(await _0x4052c6[_0x30d5ce(0x192)]())['getId']();let _0x52f5da='';if(commandRepository['isSelfHealEnabled']()&&_0x35dbb9[_0x30d5ce(0x191)](_0x4ba25a,![])||_0x35dbb9['XIipd'](_0x4ba25a,!![])){const _0x4d14b1=_0x35dbb9[_0x30d5ce(0x166)](isNotUndefinedOrNull,_0x583e3c[_0x30d5ce(0x132)][_0x30d5ce(0x137)])&&_0x35dbb9[_0x30d5ce(0x176)](isString,_0x583e3c[_0x30d5ce(0x132)][_0x30d5ce(0x137)])?_0x583e3c[_0x30d5ce(0x132)][_0x30d5ce(0x137)][_0x30d5ce(0x149)](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'',_0x522f05=_0x35dbb9['rUrMh'](isNotUndefinedOrNull,_0x583e3c[_0x30d5ce(0x132)][_0x30d5ce(0x137)])&&_0x35dbb9[_0x30d5ce(0x14e)](isString,_0x583e3c[_0x30d5ce(0x132)][_0x30d5ce(0x15a)])?_0x583e3c[_0x30d5ce(0x132)][_0x30d5ce(0x15a)]['replace'](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'',_0x45583c=_0x35dbb9[_0x30d5ce(0x18b)](isNotUndefinedOrNull,commandRepository['getProjectName']())&&_0x35dbb9[_0x30d5ce(0x176)](isString,commandRepository[_0x30d5ce(0x138)]())?commandRepository[_0x30d5ce(0x138)]()['replace'](/'/g,'\x5c\x27')[_0x30d5ce(0x149)](/"/g,'\x5c\x22'):'';let _0x2f17da=_0x35dbb9['BMQfo'](isNotUndefinedOrNull,global[_0x30d5ce(0x146)])&&_0x35dbb9['rUrMh'](isString,global['browserstackSessionName'])?global[_0x30d5ce(0x146)][_0x30d5ce(0x149)](/'/g,'\x5c\x27')[_0x30d5ce(0x149)](/"/g,'\x5c\x22'):'';!_0x2f17da&&(_0x2f17da=_0x35dbb9[_0x30d5ce(0x126)](isNotUndefinedOrNull,commandRepository[_0x30d5ce(0x155)]())&&_0x35dbb9[_0x30d5ce(0x13d)](isString,commandRepository[_0x30d5ce(0x155)]())?commandRepository[_0x30d5ce(0x155)]()[_0x30d5ce(0x149)](/'/g,'\x5c\x27')[_0x30d5ce(0x149)](/"/g,'\x5c\x22'):'');let _0x20aaf0='{\x22region\x22:\x20\x22'+constants[_0x30d5ce(0x12c)]+_0x30d5ce(0x151)+constants[_0x30d5ce(0x12c)]+'\x22:\x20{\x22endpoint\x22:\x20\x22'+constants[_0x30d5ce(0x158)]['split'](_0x35dbb9['IZDZh'])[0x1]+_0x30d5ce(0x140);_0x20aaf0=_0x35dbb9['CtlJc'](isNotUndefinedOrNull,_0x20aaf0)&&_0x35dbb9[_0x30d5ce(0x18b)](isString,_0x20aaf0)?_0x20aaf0[_0x30d5ce(0x149)](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'';const _0x2ff1f0=commandRepository[_0x30d5ce(0x12d)](_0x327818),_0x49e403=globals[_0x30d5ce(0x120)](_0x35dbb9[_0x30d5ce(0x135)]),_0x4063d7=globals[_0x30d5ce(0x120)](_0x35dbb9[_0x30d5ce(0x167)]),_0x52bff3=globals[_0x30d5ce(0x120)](_0x35dbb9[_0x30d5ce(0x14c)]),_0x1fd6a9=![],_0x3b40f6=new Date();if(_0x4ba25a){const _0x309b53=_0x35dbb9['nmgZZ'](timeoutPromise,constants[_0x30d5ce(0x12e)],_0x35dbb9[_0x30d5ce(0x180)],_0x35dbb9[_0x30d5ce(0x179)],_0x3b40f6,this[_0x30d5ce(0x124)],this['framework']);_0x52f5da=await Promise[_0x30d5ce(0x185)]([this[_0x30d5ce(0x129)][_0x30d5ce(0x165)](_0x4d14b1,_0x522f05,_0x45583c,_0x2f17da,_0x4063d7,_0x327818,_0x2ff1f0,_0x20aaf0)['then'](_0x295fc8=>{const _0x120d08=_0x30d5ce;return _0x309b53[_0x120d08(0x16c)](),_0x295fc8;}),_0x309b53]);}else{if(commandRepository[_0x30d5ce(0x121)]()){const _0x413123=_0x35dbb9[_0x30d5ce(0x148)](timeoutPromise,constants[_0x30d5ce(0x187)],_0x35dbb9[_0x30d5ce(0x18a)],_0x35dbb9[_0x30d5ce(0x17c)],_0x3b40f6,this['config'],this['framework']);_0x52f5da=await Promise['race']([this[_0x30d5ce(0x129)][_0x30d5ce(0x193)](_0x4d14b1,_0x522f05,_0x45583c,_0x2f17da,_0x49e403,_0x4063d7,_0x327818,_0x2ff1f0,_0x1fd6a9,_0x52bff3,_0x20aaf0)[_0x30d5ce(0x11e)](_0x5ea367=>{const _0x5af9f2=_0x30d5ce;return _0x413123[_0x5af9f2(0x16c)](),_0x5ea367;}),_0x413123]);}}_0x52f5da&&await _0x4052c6['executeScript'](_0x52f5da);}}async[a99_0x3cf7ff(0x175)](_0x2420a2,_0x25ed6d,_0x1c7a51){const _0x34ffd1=a99_0x3cf7ff;try{await this[_0x34ffd1(0x16f)](_0x2420a2,_0x25ed6d,_0x1c7a51,!![]);}catch(_0x4a3ea5){return logger[_0x34ffd1(0x122)]('Error\x20in\x20(healing)\x20success\x20event.\x20ERROR:\x20'+(_0x4a3ea5&&_0x4a3ea5['message']?_0x4a3ea5[_0x34ffd1(0x169)]:'')),![];}return!![];}async[a99_0x3cf7ff(0x15f)](_0x3f2ecb,_0x560d83,_0x381281){const _0x1261b1=a99_0x3cf7ff,_0x4c24b4={'WPmEz':function(_0x3b98d1,_0x2efe34,_0x1dffcb,_0xdb2076,_0x1c374d,_0x13bbfc,_0x25c441){return _0x3b98d1(_0x2efe34,_0x1dffcb,_0xdb2076,_0x1c374d,_0x13bbfc,_0x25c441);},'seQfF':'BrowserstackHealing.pollResult\x20method\x20timed\x20out','hexOE':_0x1261b1(0x15c),'SMtfv':_0x1261b1(0x147)};try{await this[_0x1261b1(0x16f)](_0x3f2ecb,_0x560d83,_0x381281,![]);const _0x263451=(await _0x560d83[_0x1261b1(0x192)]())[_0x1261b1(0x194)](),_0x215140=new Date(),_0xa4b82=_0x4c24b4['WPmEz'](timeoutPromise,constants[_0x1261b1(0x159)],_0x4c24b4[_0x1261b1(0x136)],_0x4c24b4['hexOE'],_0x215140,this[_0x1261b1(0x124)],this[_0x1261b1(0x13a)]),_0xc30f02=await Promise[_0x1261b1(0x185)]([this[_0x1261b1(0x129)][_0x1261b1(0x183)](constants[_0x1261b1(0x158)],_0x263451,globals['getGlobal'](_0x4c24b4[_0x1261b1(0x125)]))[_0x1261b1(0x11e)](_0x2c0cc3=>{const _0x500e06=_0x1261b1;return _0xa4b82[_0x500e06(0x16c)](),_0x2c0cc3;}),_0xa4b82]);if(_0xc30f02&&_0xc30f02['selector']&&_0xc30f02[_0x1261b1(0x15a)]){const _0x42edf8={};return _0x42edf8['locatorType']=_0xc30f02[_0x1261b1(0x170)],_0x42edf8['locatorValue']=_0xc30f02[_0x1261b1(0x15a)],_0x42edf8[_0x1261b1(0x156)]=!![],_0x42edf8;}const _0x479ed4={};return _0x479ed4[_0x1261b1(0x181)]=_0x381281[_0x1261b1(0x132)][_0x1261b1(0x137)],_0x479ed4[_0x1261b1(0x134)]=_0xc30f02[_0x1261b1(0x15a)],_0x479ed4[_0x1261b1(0x156)]=!![],_0x479ed4;}catch(_0x1a63f8){return logger['debug'](_0x1261b1(0x14f)+(_0x1a63f8&&_0x1a63f8[_0x1261b1(0x169)]?_0x1a63f8[_0x1261b1(0x169)]:'')),logger[_0x1261b1(0x18c)](_0x1261b1(0x145)+_0x381281[_0x1261b1(0x13f)]+_0x1261b1(0x16e)),_0x381281;}}}exports[a99_0x3cf7ff(0x152)]=Object[a99_0x3cf7ff(0x157)](new AiSdkWrapper());
1
+ const a99_0x2eb3ff=a99_0x2bc8;(function(_0x5cb5dc,_0x47ae8b){const _0x575cb6=a99_0x2bc8,_0x314946=_0x5cb5dc();while(!![]){try{const _0x277125=-parseInt(_0x575cb6(0x7b))/0x1*(parseInt(_0x575cb6(0xd5))/0x2)+parseInt(_0x575cb6(0x6a))/0x3*(-parseInt(_0x575cb6(0xdb))/0x4)+parseInt(_0x575cb6(0x7a))/0x5*(parseInt(_0x575cb6(0x9f))/0x6)+parseInt(_0x575cb6(0x91))/0x7*(-parseInt(_0x575cb6(0x80))/0x8)+parseInt(_0x575cb6(0xdf))/0x9*(-parseInt(_0x575cb6(0xd9))/0xa)+-parseInt(_0x575cb6(0xc0))/0xb*(-parseInt(_0x575cb6(0x69))/0xc)+parseInt(_0x575cb6(0x89))/0xd*(parseInt(_0x575cb6(0x6b))/0xe);if(_0x277125===_0x47ae8b)break;else _0x314946['push'](_0x314946['shift']());}catch(_0x3ee4fb){_0x314946['push'](_0x314946['shift']());}}}(a99_0x596d,0x60af5));function a99_0x596d(){const _0x25fca0=['GQNKz','pAVAF','executeScript','parameters_','getCommands','getSession','dHyrh','PsvDV','aiHeal_isGroupAIEnabled','setTcgToken','framework','TCG_URL','log','../globals','PzydB','firefox','BrowserstackHealing.healFailure\x20method\x20timed\x20out','HrvXY','\x22}}}','initializeCapabilities','UGEmk','QQBRV','s://','safariOptions_','OoZsZ','mncby','chromeOptions_','Error\x20in\x20initialising\x20healing\x20capabilities\x20,\x20error:\x20','newCapabilities','38159ICjsOQ','VgpRc','toLowerCase','selector','freeze','logData','getProjectName','error','YwlHb','./autoHealHelper','hiuUG','safari','path','BrowserstackHealing.pollResult\x20method\x20timed\x20out','_handleEvent','XVYVk','edgeOptions_','HEALING_FAILURE_TIMEOUT','keys','string','\x22:\x20{\x22endpoint\x22:\x20\x22','73066vOpaIs','getGlobal','Unable\x20to\x20load\x20healing\x20module,\x20error:\x20','fromEntries','2079610XNxzwP','locatorType','892028VElrlW','Healing\x20Failed,\x20Browserstack\x20AI\x20could\x20not\x20heal\x20the\x20','using','handleSuccess','9JSUyIK','browserstackSessionName','TUCiv','setToken','aiHeal_groupId','../logger','ahyjW','aiSdkWrapper','join','replace','540iBYffx','9BkJiNU','1034474nLoRQp','lPfCR','getTestName','winstonLogger','getId','aiHealing','race','HEALING_LOG_DATA_TIMEOUT','aiHeal_userId','split','handleFailure','aiHeal_sessionToken','waMgY','drhbB','isSelfHealEnabled','2029685sBHkQO','13WlZdyF','fEHvk','westG','config','locatorValue','5176oJZnlj','BrowserstackHealingLogDataFailed','EdXVM','firefoxOptions_','TCG_REGION','xSWvk','Error\x20in\x20(healing)\x20handling\x20failure\x20event.\x20ERROR:\x20','VUByC','pollResult','247AKImdg','browserName','cancel','AFmmQ','gpXoy','ieOptions_','POLL_HEALING_RESULT_TIMEOUT','\x20command','2359hVIuGv','qdQri','CMMsC','map_','lDVAK','then','gMDsC','../../ai-sdk-node/bundle','message','microsoftedge','forEach','capabilities_','SET_TCG_TOKEN_TIMEOUT','value','6LhApWM','BrowserstackHealing','{\x22region\x22:\x20\x22','Error\x20in\x20(healing)\x20success\x20event.\x20ERROR:\x20'];a99_0x596d=function(){return _0x25fca0;};return a99_0x596d();}function a99_0x2bc8(_0x43206e,_0x547ad5){const _0x596d18=a99_0x596d();return a99_0x2bc8=function(_0x2bc854,_0x148d4d){_0x2bc854=_0x2bc854-0x67;let _0x33d2f9=_0x596d18[_0x2bc854];return _0x33d2f9;},a99_0x2bc8(_0x43206e,_0x547ad5);}const path=require(a99_0x2eb3ff(0xcc)),{commandRepository}=require(a99_0x2eb3ff(0xc9)),constants=require('../../bin/utils/constants'),logger=require(a99_0x2eb3ff(0xe4))[a99_0x2eb3ff(0x6e)],globals=require(a99_0x2eb3ff(0xb0)),timeoutPromise=require('../../helpers/timeoutPromise'),isUndefinedOrNull=_0x176158=>_0x176158===undefined||_0x176158===null||_0x176158==='',isNotUndefinedOrNull=_0x5dc1e5=>!isUndefinedOrNull(_0x5dc1e5),isString=_0x461cbd=>isNotUndefinedOrNull(_0x461cbd)&&typeof _0x461cbd===a99_0x2eb3ff(0xd3);class AiSdkWrapper{constructor(){const _0x28db19=a99_0x2eb3ff,_0xfa3250={'GQNKz':function(_0x3e4ff5,_0x432be5){return _0x3e4ff5(_0x432be5);},'EMERl':_0x28db19(0x98)};this[_0x28db19(0xa0)]=undefined;try{this[_0x28db19(0xa0)]=_0xfa3250[_0x28db19(0xa3)](require,path[_0x28db19(0x67)](__dirname,_0xfa3250['EMERl']));}catch(_0x18f5fc){logger[_0x28db19(0xc7)](_0x28db19(0xd7)+(_0x18f5fc&&_0x18f5fc[_0x28db19(0x99)]?_0x18f5fc[_0x28db19(0x99)]:''));}}['initializeHealingCapabilities'](_0x4f75d8){const _0x190cb6=a99_0x2eb3ff,_0xb506b5={};_0xb506b5[_0x190cb6(0x78)]=_0x190cb6(0xbf),_0xb506b5['mncby']=function(_0x37e683,_0x2569f9){return _0x37e683===_0x2569f9;},_0xb506b5[_0x190cb6(0xc8)]='chrome',_0xb506b5['gpXoy']=_0x190cb6(0xb2),_0xb506b5[_0x190cb6(0x85)]=_0x190cb6(0xcb),_0xb506b5['EdXVM']='edge',_0xb506b5[_0x190cb6(0x7d)]=_0x190cb6(0x9a);const _0x192372=_0xb506b5;try{const _0x2fe8be=this[_0x190cb6(0xa0)][_0x190cb6(0xb6)](Object[_0x190cb6(0xd8)](_0x4f75d8['getCapabilities']()[_0x190cb6(0x94)]));console[_0x190cb6(0xaf)](_0x192372[_0x190cb6(0x78)],_0x2fe8be);if(_0x192372[_0x190cb6(0xbc)](_0x2fe8be?.['browserName']?.[_0x190cb6(0xc2)](),_0x192372[_0x190cb6(0xc8)]))_0x4f75d8[_0x190cb6(0xbd)]=_0x2fe8be;else{if(_0x192372['mncby'](_0x2fe8be?.[_0x190cb6(0x8a)]?.[_0x190cb6(0xc2)](),_0x192372[_0x190cb6(0x8d)]))_0x4f75d8[_0x190cb6(0x83)]=_0x2fe8be;else{if(_0x192372[_0x190cb6(0xbc)](_0x2fe8be?.[_0x190cb6(0x8a)]?.[_0x190cb6(0xc2)](),_0x192372[_0x190cb6(0x85)]))_0x4f75d8[_0x190cb6(0xba)]=_0x2fe8be;else{if(_0x192372[_0x190cb6(0xbc)](_0x2fe8be?.[_0x190cb6(0x8a)]?.[_0x190cb6(0xc2)](),_0x192372[_0x190cb6(0x82)])||_0x192372[_0x190cb6(0xbc)](_0x2fe8be?.[_0x190cb6(0x8a)]?.[_0x190cb6(0xc2)](),_0x192372[_0x190cb6(0x7d)]))_0x4f75d8[_0x190cb6(0xd0)]=_0x2fe8be;else _0x192372[_0x190cb6(0xbc)](_0x2fe8be?.[_0x190cb6(0x8a)]?.['toLowerCase'](),'ie')&&(_0x4f75d8[_0x190cb6(0x8e)]=_0x2fe8be);}}}Object[_0x190cb6(0xd2)](_0x2fe8be)[_0x190cb6(0x9b)](_0x183e5f=>{const _0x3bfcda=_0x190cb6,_0x31d750=_0x4f75d8[_0x3bfcda(0x9c)]['get'](_0x183e5f);_0x4f75d8[_0x3bfcda(0x9c)]['set'](_0x183e5f,_0x2fe8be[_0x183e5f]);});}catch(_0x580936){logger[_0x190cb6(0xc7)](_0x190cb6(0xbe)+(_0x580936&&_0x580936['message']?_0x580936[_0x190cb6(0x99)]:''));}}async[a99_0x2eb3ff(0xac)](_0x396d27){const _0x9054d7=a99_0x2eb3ff,_0x5233b8={'pAVAF':function(_0x23e6c7,_0x2f2734,_0x7b87e5,_0x237407,_0x4781cd,_0x5b954e,_0x87edf6){return _0x23e6c7(_0x2f2734,_0x7b87e5,_0x237407,_0x4781cd,_0x5b954e,_0x87edf6);},'QLFAj':'BrowserstackHealing.setToken\x20method\x20timed\x20out','OdXjP':'BrowserstackHealingSetTcgTokenFailed','dHyrh':_0x9054d7(0x76)},_0x5cd9c1=new Date(),_0x30ee4b=_0x5233b8[_0x9054d7(0xa4)](timeoutPromise,constants[_0x9054d7(0x9d)],_0x5233b8['QLFAj'],_0x5233b8['OdXjP'],_0x5cd9c1,this[_0x9054d7(0x7e)],this['framework']);await Promise[_0x9054d7(0x71)]([this[_0x9054d7(0xa0)][_0x9054d7(0xe2)](_0x396d27,globals[_0x9054d7(0xd6)](_0x5233b8[_0x9054d7(0xa9)]),constants[_0x9054d7(0xae)])['then'](()=>{_0x30ee4b['cancel']();}),_0x30ee4b]);}async[a99_0x2eb3ff(0xce)](_0x160498,_0x53317c,_0x110cb6,_0x494080){const _0x46fc1e=a99_0x2eb3ff,_0x35789a={'gMDsC':function(_0x2868e9,_0x397fff){return _0x2868e9===_0x397fff;},'fEHvk':function(_0x2b5c1b,_0x43df1b){return _0x2b5c1b===_0x43df1b;},'TUCiv':function(_0xca9884,_0x4b5f69){return _0xca9884(_0x4b5f69);},'YREKs':function(_0x1aa23e,_0x24b25e){return _0x1aa23e(_0x24b25e);},'qdQri':function(_0x4e6204,_0x5f5745){return _0x4e6204(_0x5f5745);},'PzydB':function(_0xe3f447,_0x29e9b2){return _0xe3f447(_0x29e9b2);},'UGEmk':function(_0x5cb5e8,_0x4477d6){return _0x5cb5e8(_0x4477d6);},'ahyjW':function(_0x5c72cc,_0x3e0339){return _0x5c72cc(_0x3e0339);},'waMgY':function(_0x2b0ef0,_0xb99aa2){return _0x2b0ef0(_0xb99aa2);},'lDVAK':_0x46fc1e(0xb9),'VgpRc':function(_0x504a9c,_0x5b1dbd){return _0x504a9c(_0x5b1dbd);},'JCayS':function(_0x56a751,_0x21bd12){return _0x56a751(_0x21bd12);},'hiuUG':_0x46fc1e(0x73),'QQBRV':_0x46fc1e(0xe3),'XVYVk':_0x46fc1e(0xab),'OoZsZ':function(_0x38ff89,_0x432c9d,_0x345dbc,_0x23d2f0,_0x5df9d6,_0x174fff,_0x22e333){return _0x38ff89(_0x432c9d,_0x345dbc,_0x23d2f0,_0x5df9d6,_0x174fff,_0x22e333);},'VUByC':'BrowserstackHealing.logData\x20method\x20timed\x20out','PsvDV':_0x46fc1e(0x81),'lPfCR':_0x46fc1e(0xb3),'HrvXY':'BrowserstackHealingHealFailureFailed'},_0x6e4086=(await _0x53317c[_0x46fc1e(0xa8)]())[_0x46fc1e(0x6f)]();let _0x5b1c00='';if(commandRepository[_0x46fc1e(0x79)]()&&_0x35789a[_0x46fc1e(0x97)](_0x494080,![])||_0x35789a[_0x46fc1e(0x7c)](_0x494080,!![])){const _0x31ab86=_0x35789a[_0x46fc1e(0xe1)](isNotUndefinedOrNull,_0x110cb6['parameters_'][_0x46fc1e(0xdd)])&&_0x35789a[_0x46fc1e(0xe1)](isString,_0x110cb6[_0x46fc1e(0xa6)][_0x46fc1e(0xdd)])?_0x110cb6[_0x46fc1e(0xa6)][_0x46fc1e(0xdd)][_0x46fc1e(0x68)](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'',_0x2ac288=_0x35789a['YREKs'](isNotUndefinedOrNull,_0x110cb6[_0x46fc1e(0xa6)][_0x46fc1e(0xdd)])&&_0x35789a[_0x46fc1e(0x92)](isString,_0x110cb6[_0x46fc1e(0xa6)]['value'])?_0x110cb6['parameters_'][_0x46fc1e(0x9e)][_0x46fc1e(0x68)](/'/g,'\x5c\x27')[_0x46fc1e(0x68)](/"/g,'\x5c\x22'):'',_0xca0247=_0x35789a['qdQri'](isNotUndefinedOrNull,commandRepository['getProjectName']())&&_0x35789a[_0x46fc1e(0xb1)](isString,commandRepository['getProjectName']())?commandRepository[_0x46fc1e(0xc6)]()[_0x46fc1e(0x68)](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'';let _0x466030=_0x35789a[_0x46fc1e(0xe1)](isNotUndefinedOrNull,global[_0x46fc1e(0xe0)])&&_0x35789a[_0x46fc1e(0xb7)](isString,global[_0x46fc1e(0xe0)])?global[_0x46fc1e(0xe0)][_0x46fc1e(0x68)](/'/g,'\x5c\x27')[_0x46fc1e(0x68)](/"/g,'\x5c\x22'):'';!_0x466030&&(_0x466030=_0x35789a[_0x46fc1e(0xe5)](isNotUndefinedOrNull,commandRepository[_0x46fc1e(0x6d)]())&&_0x35789a[_0x46fc1e(0x77)](isString,commandRepository[_0x46fc1e(0x6d)]())?commandRepository['getTestName']()[_0x46fc1e(0x68)](/'/g,'\x5c\x27')[_0x46fc1e(0x68)](/"/g,'\x5c\x22'):'');let _0x5aeb69=_0x46fc1e(0xa1)+constants[_0x46fc1e(0x84)]+'\x22,\x20\x22tcgUrls\x22:\x20{\x22'+constants['TCG_REGION']+_0x46fc1e(0xd4)+constants[_0x46fc1e(0xae)][_0x46fc1e(0x74)](_0x35789a[_0x46fc1e(0x95)])[0x1]+_0x46fc1e(0xb5);_0x5aeb69=_0x35789a[_0x46fc1e(0xc1)](isNotUndefinedOrNull,_0x5aeb69)&&_0x35789a['JCayS'](isString,_0x5aeb69)?_0x5aeb69[_0x46fc1e(0x68)](/'/g,'\x5c\x27')[_0x46fc1e(0x68)](/"/g,'\x5c\x22'):'';const _0x22b32d=commandRepository[_0x46fc1e(0xa7)](_0x6e4086),_0x412efa=globals[_0x46fc1e(0xd6)](_0x35789a[_0x46fc1e(0xca)]),_0x36f66a=globals[_0x46fc1e(0xd6)](_0x35789a[_0x46fc1e(0xb8)]),_0x536d29=globals[_0x46fc1e(0xd6)](_0x35789a[_0x46fc1e(0xcf)]),_0x35e695=![],_0x49e3ca=new Date();if(_0x494080){const _0x16a03f=_0x35789a[_0x46fc1e(0xbb)](timeoutPromise,constants[_0x46fc1e(0x72)],_0x35789a[_0x46fc1e(0x87)],_0x35789a[_0x46fc1e(0xaa)],_0x49e3ca,this[_0x46fc1e(0x7e)],this[_0x46fc1e(0xad)]);_0x5b1c00=await Promise[_0x46fc1e(0x71)]([this[_0x46fc1e(0xa0)][_0x46fc1e(0xc5)](_0x31ab86,_0x2ac288,_0xca0247,_0x466030,_0x36f66a,_0x6e4086,_0x22b32d,_0x5aeb69)[_0x46fc1e(0x96)](_0xa5a923=>{return _0x16a03f['cancel'](),_0xa5a923;}),_0x16a03f]);}else{if(commandRepository['isSelfHealEnabled']()){const _0x24f53d=_0x35789a[_0x46fc1e(0xbb)](timeoutPromise,constants[_0x46fc1e(0xd1)],_0x35789a[_0x46fc1e(0x6c)],_0x35789a[_0x46fc1e(0xb4)],_0x49e3ca,this[_0x46fc1e(0x7e)],this[_0x46fc1e(0xad)]);_0x5b1c00=await Promise['race']([this[_0x46fc1e(0xa0)]['healFailure'](_0x31ab86,_0x2ac288,_0xca0247,_0x466030,_0x412efa,_0x36f66a,_0x6e4086,_0x22b32d,_0x35e695,_0x536d29,_0x5aeb69)[_0x46fc1e(0x96)](_0x5631a4=>{const _0x276a30=_0x46fc1e;return _0x24f53d[_0x276a30(0x8b)](),_0x5631a4;}),_0x24f53d]);}}_0x5b1c00&&await _0x53317c[_0x46fc1e(0xa5)](_0x5b1c00);}}async[a99_0x2eb3ff(0xde)](_0x11b834,_0x1415ac,_0x470c13){const _0x14921e=a99_0x2eb3ff;try{await this[_0x14921e(0xce)](_0x11b834,_0x1415ac,_0x470c13,!![]);}catch(_0x355341){return logger[_0x14921e(0xc7)](_0x14921e(0xa2)+(_0x355341&&_0x355341[_0x14921e(0x99)]?_0x355341['message']:'')),![];}return!![];}async[a99_0x2eb3ff(0x75)](_0x5b34c4,_0x5e7cef,_0x361e12){const _0x4fce74=a99_0x2eb3ff,_0x420ec3={'AFmmQ':function(_0x3d6f0b,_0x21f832,_0x32c3d5,_0x57e749,_0x538704,_0x23c8ba,_0x27111d){return _0x3d6f0b(_0x21f832,_0x32c3d5,_0x57e749,_0x538704,_0x23c8ba,_0x27111d);},'CMMsC':_0x4fce74(0xcd),'WhhUQ':'BrowserstackHealingPollResultFailed','GpBBH':_0x4fce74(0x76)};try{await this[_0x4fce74(0xce)](_0x5b34c4,_0x5e7cef,_0x361e12,![]);const _0x475b73=(await _0x5e7cef['getSession']())[_0x4fce74(0x6f)](),_0x522251=new Date(),_0x2864cd=_0x420ec3[_0x4fce74(0x8c)](timeoutPromise,constants[_0x4fce74(0x8f)],_0x420ec3[_0x4fce74(0x93)],_0x420ec3['WhhUQ'],_0x522251,this['config'],this[_0x4fce74(0xad)]),_0x346588=await Promise[_0x4fce74(0x71)]([this[_0x4fce74(0xa0)][_0x4fce74(0x88)](constants[_0x4fce74(0xae)],_0x475b73,globals['getGlobal'](_0x420ec3['GpBBH']))[_0x4fce74(0x96)](_0x90408b=>{const _0x5bede1=_0x4fce74;return _0x2864cd[_0x5bede1(0x8b)](),_0x90408b;}),_0x2864cd]);if(_0x346588&&_0x346588[_0x4fce74(0xc3)]&&_0x346588[_0x4fce74(0x9e)]){const _0x341c51={};return _0x341c51[_0x4fce74(0xda)]=_0x346588[_0x4fce74(0xc3)],_0x341c51[_0x4fce74(0x7f)]=_0x346588[_0x4fce74(0x9e)],_0x341c51[_0x4fce74(0x70)]=!![],_0x341c51;}const _0x4affb6={};return _0x4affb6[_0x4fce74(0xda)]=_0x361e12[_0x4fce74(0xa6)][_0x4fce74(0xdd)],_0x4affb6[_0x4fce74(0x7f)]=_0x346588[_0x4fce74(0x9e)],_0x4affb6[_0x4fce74(0x70)]=!![],_0x4affb6;}catch(_0x582c4b){return logger['debug'](_0x4fce74(0x86)+(_0x582c4b&&_0x582c4b[_0x4fce74(0x99)]?_0x582c4b[_0x4fce74(0x99)]:'')),logger['info'](_0x4fce74(0xdc)+_0x361e12['name_']+_0x4fce74(0x90)),_0x361e12;}}}exports[a99_0x2eb3ff(0xe6)]=Object[a99_0x2eb3ff(0xc4)](new AiSdkWrapper());