browserstack-node-sdk 1.43.1 → 1.44.0

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 (183) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/generated/sdk-messages_pb.d.ts +70 -0
  41. package/generated/sdk-messages_pb.js +550 -0
  42. package/generated/sdk_grpc_pb.d.ts +5 -0
  43. package/generated/sdk_grpc_pb.js +33 -0
  44. package/package.json +7 -2
  45. package/src/ai-sdk-node/bundle.js +1 -1
  46. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  47. package/src/bin/codeceptjs/command.js +1 -1
  48. package/src/bin/codeceptjs/helper.js +1 -1
  49. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  50. package/src/bin/cucumber-js/command.js +1 -1
  51. package/src/bin/cucumber-js/cucumber-sessionDetails.js +1 -1
  52. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  53. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  54. package/src/bin/cucumber-js/playwright-patcher.js +1 -1
  55. package/src/bin/cucumber-js/test-observability.js +1 -1
  56. package/src/bin/cucumber-js/test.setup.js +1 -1
  57. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  58. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  59. package/src/bin/integrations/command.js +1 -1
  60. package/src/bin/integrations/constants.js +1 -1
  61. package/src/bin/jest/command.js +1 -1
  62. package/src/bin/jest/customImplements/customCircus.js +1 -1
  63. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  64. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  65. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  66. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  67. package/src/bin/jest/jest.setup.js +1 -1
  68. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  69. package/src/bin/jest/test-observability/helper.js +1 -1
  70. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  71. package/src/bin/jest/test-observability/test-details.js +1 -1
  72. package/src/bin/jest/test_before.setup.js +1 -1
  73. package/src/bin/launcher/launcher.js +1 -1
  74. package/src/bin/load/index.js +1 -1
  75. package/src/bin/load/loadUtils.js +1 -1
  76. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  77. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  78. package/src/bin/mocha/command.js +1 -1
  79. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  80. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  81. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  82. package/src/bin/mocha/test.setup.js +1 -1
  83. package/src/bin/nightwatch/command.js +1 -1
  84. package/src/bin/playwright/accessibility-helper.js +1 -1
  85. package/src/bin/playwright/command.js +1 -1
  86. package/src/bin/playwright/globalSetup.js +1 -1
  87. package/src/bin/playwright/mock-process.js +1 -1
  88. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  89. package/src/bin/playwright/patches.js +1 -1
  90. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  91. package/src/bin/playwright/reporter/reporter.js +1 -1
  92. package/src/bin/playwright/reporter/test-details.js +1 -1
  93. package/src/bin/playwright/sessionDetails.js +1 -1
  94. package/src/bin/runner.js +1 -1
  95. package/src/bin/setup.js +1 -1
  96. package/src/bin/test-runner/index.js +1 -1
  97. package/src/bin/test-runner/runTest.js +1 -1
  98. package/src/bin/test-runner/testWorker.js +1 -1
  99. package/src/bin/utils/apiUtilityMethods.js +1 -0
  100. package/src/bin/utils/constants.js +1 -1
  101. package/src/bin/utils/log4jsAppender.js +1 -1
  102. package/src/bin/utils/logPatcher.js +1 -1
  103. package/src/bin/utils/logReportingAPI.js +1 -1
  104. package/src/bin/utils/sharedUtils.js +1 -0
  105. package/src/bin/v2/TestInfo.js +1 -1
  106. package/src/bin/v2/browserstackCLI.js +1 -1
  107. package/src/bin/v2/cliUtils.js +1 -1
  108. package/src/bin/v2/customTagManager.js +1 -1
  109. package/src/bin/v2/eventDispatcher.js +1 -1
  110. package/src/bin/v2/framework/automationFramework.js +1 -1
  111. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  112. package/src/bin/v2/framework/constants/testFrameworkConstants.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/observabilityModule.js +1 -1
  124. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  125. package/src/bin/v2/modules/testhubModule.js +1 -1
  126. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  127. package/src/bin/v2/state/hookState.js +1 -1
  128. package/src/bin/v2/state/testFrameworkState.js +1 -1
  129. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  130. package/src/bin/vanilla-js/command.js +1 -1
  131. package/src/browserStackSdk.js +1 -1
  132. package/src/helpers/BrowserStackSetup.js +1 -1
  133. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  134. package/src/helpers/accessibility-automation/constants.js +1 -1
  135. package/src/helpers/accessibility-automation/helper.js +1 -1
  136. package/src/helpers/accessibility-automation/scripts.js +1 -1
  137. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  138. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  139. package/src/helpers/ats/constants.js +1 -1
  140. package/src/helpers/ats/helper.js +1 -1
  141. package/src/helpers/capsMapping.js +1 -1
  142. package/src/helpers/central-scanner/constants.js +1 -1
  143. package/src/helpers/central-scanner/helpers.js +1 -1
  144. package/src/helpers/classLogger.js +1 -1
  145. package/src/helpers/globals.js +1 -1
  146. package/src/helpers/helper.js +1 -1
  147. package/src/helpers/logger.js +1 -1
  148. package/src/helpers/metadata.js +1 -1
  149. package/src/helpers/patchHelper.js +1 -1
  150. package/src/helpers/patchHelpers.js +1 -1
  151. package/src/helpers/percy/Percy.js +1 -1
  152. package/src/helpers/percy/PercyBinary.js +1 -1
  153. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  154. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  155. package/src/helpers/percy/PercySDK.js +1 -1
  156. package/src/helpers/percy/index.js +1 -1
  157. package/src/helpers/percy/utils.js +1 -1
  158. package/src/helpers/performance/constants.js +1 -1
  159. package/src/helpers/performance/performance-tester.js +1 -1
  160. package/src/helpers/playwright-helper.js +1 -1
  161. package/src/helpers/processHelper.js +1 -1
  162. package/src/helpers/request-spy.js +1 -1
  163. package/src/helpers/setKeepAlive.js +1 -1
  164. package/src/helpers/test-observability/constants.js +1 -1
  165. package/src/helpers/test-observability/error-handler.js +1 -1
  166. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  167. package/src/helpers/test-observability/sessionHandler.js +1 -1
  168. package/src/helpers/test-observability/utils.js +1 -1
  169. package/src/helpers/test-orchestration/constants.js +1 -1
  170. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  171. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  172. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  173. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  174. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  175. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  176. package/src/helpers/testhub/constants.js +1 -1
  177. package/src/helpers/testhub/testhubHandler.js +1 -1
  178. package/src/helpers/testhub/utils.js +1 -1
  179. package/src/helpers/timeoutPromise.js +1 -1
  180. package/src/helpers/utilities.js +1 -1
  181. package/src/helpers/w3cMapping.js +1 -1
  182. package/src/hubAllocationMethods.js +1 -1
  183. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a34_0x3df6(_0x1a75b6,_0x2696dc){const _0xe03d55=a34_0xe03d();return a34_0x3df6=function(_0x3df6d3,_0x5d7f7d){_0x3df6d3=_0x3df6d3-0xc0;let _0x2cec71=_0xe03d55[_0x3df6d3];return _0x2cec71;},a34_0x3df6(_0x1a75b6,_0x2696dc);}const a34_0x451458=a34_0x3df6;(function(_0x1de8a5,_0x304453){const _0x1aed4a=a34_0x3df6,_0x2ee258=_0x1de8a5();while(!![]){try{const _0x107640=-parseInt(_0x1aed4a(0xf5))/0x1+parseInt(_0x1aed4a(0x136))/0x2+parseInt(_0x1aed4a(0x12d))/0x3*(-parseInt(_0x1aed4a(0x118))/0x4)+-parseInt(_0x1aed4a(0xec))/0x5*(parseInt(_0x1aed4a(0x122))/0x6)+parseInt(_0x1aed4a(0xfd))/0x7*(parseInt(_0x1aed4a(0xc0))/0x8)+parseInt(_0x1aed4a(0x13b))/0x9+-parseInt(_0x1aed4a(0x104))/0xa;if(_0x107640===_0x304453)break;else _0x2ee258['push'](_0x2ee258['shift']());}catch(_0x259d2d){_0x2ee258['push'](_0x2ee258['shift']());}}}(a34_0xe03d,0xec0c6));const logger=require(a34_0x451458(0xe8))[a34_0x451458(0xf7)],helper=require('../../../helpers/helper'),constants=require(a34_0x451458(0xd9)),hubAllocator=require(a34_0x451458(0x116)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a34_0x451458(0xc7)),{setAccessibilityCapabilities,setExtension}=require(a34_0x451458(0xcc)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a34_0x451458(0xc1)),globals=require(a34_0x451458(0x138)),{overrideExecute}=require(a34_0x451458(0x115)),modify=(_0xa107ec,_0x429124=null,_0x3436b6=![])=>{const _0x4639da=a34_0x451458,_0x7a5a6f={'EaBZo':function(_0x46cb89,_0x46d638){return _0x46cb89!==_0x46d638;},'cWWKA':_0x4639da(0xd6),'PUmkB':function(_0x3a9e20,_0x237113){return _0x3a9e20+_0x237113;},'jIMJd':_0x4639da(0xd8),'syrQd':_0x4639da(0xc5),'wEYZm':'goog:chromeOptions','YJCWA':_0x4639da(0xe3),'BzWQr':_0x4639da(0xea),'cBDNB':'edgeOptions','wgXqG':'moz:firefoxOptions','dNLHO':_0x4639da(0x100),'AXZco':_0x4639da(0x13e),'GAWbB':_0x4639da(0x125),'VkkXq':_0x4639da(0x12e),'zDNJp':function(_0x2d5ef2,_0x80d7fb){return _0x2d5ef2===_0x80d7fb;},'cFbOu':_0x4639da(0x114),'rmuCM':_0x4639da(0xcd),'LigNI':_0x4639da(0x108),'NYckT':_0x4639da(0x13a),'GvrcZ':function(_0x345772,_0xe89b4e,_0x5071ea){return _0x345772(_0xe89b4e,_0x5071ea);},'rLxhi':'3|4|0|2|5|1','WQAqa':function(_0x589050,_0x3c7639,_0x2831f4){return _0x589050(_0x3c7639,_0x2831f4);},'HQLTI':function(_0xc6f985,_0x47f3a6){return _0xc6f985(_0x47f3a6);},'fNLdU':_0x4639da(0x12c),'QNfDg':'isAccessibilityPlatform','uiLrj':function(_0x364213,_0x4cf5f0,_0x55afc8){return _0x364213(_0x4cf5f0,_0x55afc8);},'RLAbR':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','zSxMy':function(_0x3790fd){return _0x3790fd();},'Cjhuk':function(_0x3d408c,_0x9d4d8d){return _0x3d408c(_0x9d4d8d);},'blrmm':function(_0xbec7a1,_0x153b4c){return _0xbec7a1(_0x153b4c);},'fFYgi':function(_0x4c705d,_0x2f873e){return _0x4c705d(_0x2f873e);},'aaCHc':function(_0x10cd8c,_0x51c030){return _0x10cd8c!==_0x51c030;},'oVxIV':_0x4639da(0xd0),'vXQFb':_0x4639da(0x117)},_0x48ae9a=helper[_0x4639da(0x126)]();let _0x43f577;try{_0x43f577=helper['requireSeleniumWebdriver'](),_0x43f577['originalBuilder']&&(_0x43f577['Builder']=_0x43f577[_0x4639da(0x124)]);}catch(_0x5eb0be){return;}if(helper[_0x4639da(0x128)]()){const _0x1bf12f={};_0x1bf12f[_0x4639da(0x109)]=_0xa107ec[_0x4639da(0x111)],helper[_0x4639da(0x10d)](_0x1bf12f,new Map(),new Map()),logger[_0x4639da(0x105)](_0x7a5a6f[_0x4639da(0x12f)]),logger[_0x4639da(0xf2)](_0x7a5a6f[_0x4639da(0xe9)]);}class _0x1ed33e extends _0x48ae9a[_0x4639da(0x11a)]{[_0x4639da(0x137)](_0x3e93e0){const _0x145f9a=_0x4639da;if(_0x7a5a6f[_0x145f9a(0x10a)](_0x3e93e0['path'],_0x7a5a6f['cWWKA'])&&_0x7a5a6f[_0x145f9a(0x10a)](global[_0x145f9a(0x113)],''))try{global[_0x145f9a(0x113)]=_0x7a5a6f[_0x145f9a(0xe2)](_0x7a5a6f[_0x145f9a(0xe2)](_0x7a5a6f[_0x145f9a(0x102)],global[_0x145f9a(0x113)]),_0x7a5a6f['syrQd']),this[_0x145f9a(0x139)]=hubAllocator[_0x145f9a(0x12a)](global[_0x145f9a(0x113)]),logger[_0x145f9a(0xf2)](_0x145f9a(0xe4)+global[_0x145f9a(0x113)]),global[_0x145f9a(0x113)]='';}catch(_0x2809d5){logger['error'](_0x2809d5);}return super[_0x145f9a(0x137)](_0x3e93e0);}}class _0xac6b96 extends _0x43f577[_0x4639da(0xeb)]{[_0x4639da(0xd4)](){const _0x590a71=_0x4639da;return this[_0x590a71(0x112)]=helper[_0x590a71(0x10e)](_0xa107ec),logger[_0x590a71(0xf2)](_0x590a71(0xf3)+this[_0x590a71(0x112)]),this;}['__setBrowserOptions'](_0x57fd70){const _0xbf655f=_0x4639da;let _0x5502a1={};for(const _0x599e79 in _0x57fd70){switch(_0x599e79){case _0x7a5a6f[_0xbf655f(0xf0)]:case _0x7a5a6f['YJCWA']:this[_0xbf655f(0xde)]&&(_0x5502a1=this['chromeOptions_']['get'](this['chromeOptions_']['CAPABILITY_KEY'])||{},this[_0xbf655f(0xde)][_0xbf655f(0x10f)](this[_0xbf655f(0xde)][_0xbf655f(0xe1)],helper[_0xbf655f(0xdb)](_0x5502a1,_0x57fd70[_0x599e79])));break;case _0x7a5a6f['BzWQr']:case _0x7a5a6f[_0xbf655f(0xca)]:this[_0xbf655f(0x107)]&&(_0x5502a1=this[_0xbf655f(0x107)][_0xbf655f(0xf4)](this[_0xbf655f(0x107)][_0xbf655f(0xe1)])||{},this['edgeOptions_'][_0xbf655f(0x10f)](this[_0xbf655f(0x107)][_0xbf655f(0xe1)],helper[_0xbf655f(0xdb)](_0x5502a1,_0x57fd70[_0x599e79])));break;case _0x7a5a6f[_0xbf655f(0x133)]:case _0x7a5a6f[_0xbf655f(0x11f)]:this[_0xbf655f(0xd2)]&&(_0x5502a1=this['firefoxOptions_'][_0xbf655f(0xf4)](this[_0xbf655f(0xd2)][_0xbf655f(0xe1)])||{},this[_0xbf655f(0xd2)]['set'](this[_0xbf655f(0xd2)][_0xbf655f(0xe1)],helper[_0xbf655f(0xdb)](_0x5502a1,_0x57fd70[_0x599e79])));break;case _0x7a5a6f[_0xbf655f(0xff)]:this[_0xbf655f(0x132)]&&(_0x5502a1=this[_0xbf655f(0x132)]['get'](this[_0xbf655f(0x132)][_0xbf655f(0xe1)])||{},this[_0xbf655f(0x132)][_0xbf655f(0x10f)](this[_0xbf655f(0x132)][_0xbf655f(0xe1)],helper[_0xbf655f(0xdb)](_0x5502a1,_0x57fd70[_0x599e79])));break;case _0x7a5a6f[_0xbf655f(0x11c)]:case _0x7a5a6f[_0xbf655f(0xcf)]:this['ieOptions_']&&(_0x5502a1=this[_0xbf655f(0xce)][_0xbf655f(0xf4)](this[_0xbf655f(0xce)][_0xbf655f(0xe1)])||{},this[_0xbf655f(0xce)][_0xbf655f(0x10f)](this['ieOptions_']['CAPABILITY_KEY'],helper['mergeDeep'](_0x5502a1,_0x57fd70[_0x599e79])));break;}}}[_0x4639da(0xdc)](){const _0x382047=_0x4639da;return logger['debug'](_0x7a5a6f['rmuCM']),this[_0x382047(0xfa)](_0xa107ec[_0x382047(0x106)]),Object[_0x382047(0x13c)](_0xa107ec[_0x382047(0x106)])[_0x382047(0x121)](_0x42ab56=>{const _0x4f2618=_0x382047,_0x2299ab=this[_0x4f2618(0xe7)]['get'](_0x42ab56);_0x7a5a6f[_0x4f2618(0xe0)](typeof _0x2299ab,_0x7a5a6f['cFbOu'])?this[_0x4f2618(0xe7)][_0x4f2618(0x10f)](_0x42ab56,helper[_0x4f2618(0xdb)](_0x2299ab,_0xa107ec[_0x4f2618(0x106)][_0x42ab56])):this[_0x4f2618(0xe7)]['set'](_0x42ab56,_0xa107ec[_0x4f2618(0x106)][_0x42ab56]);}),this;}[_0x4639da(0xd5)](){const _0x11cd61=_0x4639da,_0xd057a7={'LPVpS':function(_0x2cd266,_0x20e63c,_0x90f0c5){const _0x504be6=a34_0x3df6;return _0x7a5a6f[_0x504be6(0x131)](_0x2cd266,_0x20e63c,_0x90f0c5);},'eqBkA':_0x7a5a6f[_0x11cd61(0xd3)],'OJAoH':function(_0x55f030,_0x2944f7,_0x53077f){const _0xb25db4=_0x11cd61;return _0x7a5a6f[_0xb25db4(0xfe)](_0x55f030,_0x2944f7,_0x53077f);},'VlHyx':function(_0x59cc92,_0x3531c8){const _0x2b99a0=_0x11cd61;return _0x7a5a6f[_0x2b99a0(0x101)](_0x59cc92,_0x3531c8);},'pdKNY':function(_0x5a0d1b,_0x511475,_0x561839){const _0x1c9cf4=_0x11cd61;return _0x7a5a6f[_0x1c9cf4(0x131)](_0x5a0d1b,_0x511475,_0x561839);},'LRAHV':function(_0x52c531,_0x36c94f,_0x5db1b9){return _0x7a5a6f['GvrcZ'](_0x52c531,_0x36c94f,_0x5db1b9);}};if(helper[_0x11cd61(0x128)]()){const _0x404c6d=_0x7a5a6f[_0x11cd61(0x10c)][_0x11cd61(0xc2)]('|');let _0x366b16=0x0;while(!![]){switch(_0x404c6d[_0x366b16++]){case'0':this['setCapabilities']();continue;case'1':this[_0x11cd61(0xd4)]();continue;case'2':globals[_0x11cd61(0x11e)](_0x7a5a6f[_0x11cd61(0xd7)])&&(!_0x7a5a6f[_0x11cd61(0x10b)](setExtension,this,_0xa107ec)&&globals[_0x11cd61(0x123)](_0x7a5a6f[_0x11cd61(0xd7)],![]));continue;case'3':logger[_0x11cd61(0xf2)](_0x7a5a6f[_0x11cd61(0xfb)]);continue;case'4':_0x7a5a6f[_0x11cd61(0xcb)](isAccessibilityAutomationSession)&&_0x7a5a6f[_0x11cd61(0x110)](setAccessibilityCapabilities,_0xa107ec);continue;case'5':if(helper[_0x11cd61(0xc9)](_0xa107ec[_0x11cd61(0xdf)][_0x11cd61(0x13d)]))this['agent_']=helper[_0x11cd61(0x12b)](_0xa107ec[_0x11cd61(0xdf)]['proxyUrl']);else _0xa107ec[_0x11cd61(0xdf)][_0x11cd61(0x13d)]&&(this['proxy_']=_0xa107ec[_0x11cd61(0xdf)][_0x11cd61(0x13d)],logger[_0x11cd61(0xf2)]('Proxy\x20set\x20to\x20'+this[_0x11cd61(0xf9)]));continue;}break;}}const _0x238970=super['build']();return _0x238970[_0x11cd61(0xc6)]['then'](_0x143b21=>{const _0x177787=_0x11cd61;try{const _0x4c33d3=_0x143b21[_0x177787(0xee)][_0x177787(0xf4)](_0x7a5a6f[_0x177787(0xf1)]);_0x4c33d3?(logger[_0x177787(0xf2)]('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x4c33d3),hubAllocator[_0x177787(0xe5)](_0x4c33d3),helper['storeOptimalHubUrl'](_0x4c33d3)):logger['debug'](_0x7a5a6f['NYckT']);}catch(_0x5280bc){logger[_0x177787(0xf2)](_0x177787(0x11b)+_0x5280bc);}}),_0x238970[_0x11cd61(0x135)]=0x0,_0x238970[_0x11cd61(0x119)]&&_0x238970[_0x11cd61(0x119)](_0x319a70=>{const _0x5caefc=_0x11cd61,_0x3d0d6c=_0xd057a7['eqBkA'][_0x5caefc(0xc2)]('|');let _0x259eeb=0x0;while(!![]){switch(_0x3d0d6c[_0x259eeb++]){case'0':helper[_0x5caefc(0xc4)](_0x319a70,_0xa107ec);continue;case'1':_0x319a70[_0x5caefc(0xe6)]=async()=>{return await _0xd057a7['LPVpS'](getAccessibilityResults,_0x319a70,global);};continue;case'2':_0xd057a7[_0x5caefc(0xda)](overrideExecute,_0x319a70,_0xa107ec);continue;case'3':_0xd057a7[_0x5caefc(0xda)](overrideQuit,_0x319a70,_0x238970);continue;case'4':_0xd057a7[_0x5caefc(0x134)](overrideTakeScreenshot,_0x319a70);continue;case'5':_0x319a70[_0x5caefc(0xfc)]=async()=>{const _0x3b71d9=_0x5caefc;return await _0xd057a7[_0x3b71d9(0x130)](getAccessibilityResultsSummary,_0x319a70,global);};continue;}break;}}),_0x238970[_0x11cd61(0xfc)]=async()=>{const _0x45b500=_0x11cd61;return await _0xd057a7[_0x45b500(0xf6)](getAccessibilityResultsSummary,_0x238970,global);},_0x238970[_0x11cd61(0xe6)]=async()=>{const _0x1e63d5=_0x11cd61;return await _0xd057a7[_0x1e63d5(0xc8)](getAccessibilityResults,_0x238970,global);},_0x7a5a6f[_0x11cd61(0x129)](overrideTakeScreenshot,_0x238970),_0x7a5a6f[_0x11cd61(0x120)](overrideQuit,_0x238970),helper['overrideGet'](_0x238970,_0xa107ec),_0x7a5a6f['WQAqa'](overrideExecute,_0x238970,_0xa107ec),helper[_0x11cd61(0xd1)](global[_0x11cd61(0xed)])&&(global[_0x11cd61(0xed)]=[]),helper[_0x11cd61(0xd1)](global['__drivers'])&&(global[_0x11cd61(0xef)]=[]),global[_0x11cd61(0xed)][_0x11cd61(0x127)](_0x238970),global[_0x11cd61(0x103)]=_0x238970,_0x7a5a6f[_0x11cd61(0x10a)](global[_0x11cd61(0xef)],undefined)&&global[_0x11cd61(0xef)][_0x11cd61(0x127)](_0x238970),_0x429124&&helper[_0x11cd61(0xd1)](_0x429124[_0x11cd61(0xf8)][_0x11cd61(0xed)])&&(_0x429124['global']['__driversArray']=[]),_0x429124&&_0x7a5a6f[_0x11cd61(0xdd)](_0x429124[_0x11cd61(0xf8)]['__drivers'],undefined)&&(_0x429124[_0x11cd61(0xf8)][_0x11cd61(0xef)][_0x11cd61(0x127)](_0x238970),_0x429124[_0x11cd61(0xf8)]['__driversArray']['push'](_0x238970)),_0x238970;}}return _0x43f577[_0x4639da(0x124)]=_0x43f577[_0x4639da(0xeb)],_0x43f577[_0x4639da(0xeb)]=_0xac6b96,_0x48ae9a[_0x4639da(0x11a)]=_0x1ed33e,_0x43f577;};function a34_0xe03d(){const _0x8b6fe7=['chromeOptions','New\x20hub\x20url\x20set\x20to\x20','updateHubUrl','getAccessibilityResults','capabilities_','../../../helpers/logger','vXQFb','ms:edgeOptions','Builder','95LOtIhA','__driversArray','caps_','__drivers','wEYZm','LigNI','debug','Hub\x20url\x20set\x20to\x20','get','746491LXCnsP','pdKNY','winstonLogger','global','proxy_','__setBrowserOptions','RLAbR','getAccessibilityResultsSummary','7YoPqYR','WQAqa','AXZco','firefoxOptions','HQLTI','jIMJd','__driver','7582130jktORG','info','capability','edgeOptions_','optimalHubUrl','logLevel','EaBZo','uiLrj','fNLdU','setLogLevel','getHubUrl','set','Cjhuk','browserStackLogLevel','url_','newHubUrl','object','./helpers/patchHelper','../../../hubAllocationMethods','Modifying\x20webdriver\x20builder','80056iowBWw','then','HttpClient','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','GAWbB','browserstackAgentObservability','getGlobal','dNLHO','fFYgi','forEach','146670KkrxgS','setGlobal','originalBuilder','se:ieOptions','requireHttpClient','push','isBrowserstackInfra','blrmm','getRequestOptions','getHttpAgent','4|1|0|5|2|3','3dzgpws','ieOptions','oVxIV','LPVpS','GvrcZ','safariOptions_','wgXqG','VlHyx','quitCount_','840384ZQtZBI','send','../../../helpers/globals','options_','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','10281762Ilvpxm','keys','proxyUrl','safari.options','11147336sbbkup','../../../helpers/accessibility-automation/helper','split','exports','overrideGet','/wd/hub','session_','../../../helpers/patchHelpers','LRAHV','isPacProxy','cBDNB','zSxMy','../accessibility-automation/helper','Setting\x20Browserstack\x20capabilities','ieOptions_','VkkXq','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','isUndefined','firefoxOptions_','rLxhi','setServer','build','/session','QNfDg','https://','../../../bin/utils/constants','OJAoH','mergeDeep','setCapabilities','aaCHc','chromeOptions_','proxySettings','zDNJp','CAPABILITY_KEY','PUmkB'];a34_0xe03d=function(){return _0x8b6fe7;};return a34_0xe03d();}module[a34_0x451458(0xc3)][a34_0x451458(0x11d)]=modify;
1
+ function a34_0x26df(_0x3a4860,_0xe85fc6){const _0x5f5cee=a34_0x5f5c();return a34_0x26df=function(_0x26dfbf,_0x1a9012){_0x26dfbf=_0x26dfbf-0x11f;let _0x20cabf=_0x5f5cee[_0x26dfbf];return _0x20cabf;},a34_0x26df(_0x3a4860,_0xe85fc6);}function a34_0x5f5c(){const _0x27944d=['nACTh','requireSeleniumWebdriver','__driversArray','77BecAdP','proxySettings','get','error','object','JCkSi','setServer','edgeOptions','BLIyj','goog:chromeOptions','2303xUctoi','373677TKyxpd','../../../helpers/logger','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','getGlobal','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','../../../bin/utils/constants','EtOGE','then','CAPABILITY_KEY','New\x20hub\x20url\x20set\x20to\x20','../accessibility-automation/helper','../../../helpers/accessibility-automation/helper','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','getAccessibilityResultsSummary','push','isUndefined','caps_','Proxy\x20set\x20to\x20','Builder','UIeCz','debug','https://','chromeOptions_','keys','JEqlY','riJMu','isBrowserstackInfra','QDaJC','mergeDeep','send','forEach','capability','5nozIOM','setLogLevel','kcHTb','yPpVu','proxyUrl','HttpClient','info','28422fcOZLC','exports','__drivers','DhrFZ','kZIsj','quitCount_','ms:edgeOptions','global','7316WDUNNZ','getRequestOptions','nhMhT','firefoxOptions_','build','EVXkQ','2|4|3|0|1|5','winstonLogger','auMFk','../../../hubAllocationMethods','optimalHubUrl','requireHttpClient','Setting\x20Browserstack\x20capabilities','getHttpAgent','2103440LyBnxD','1192684ijFUrx','browserStackLogLevel','ieOptions','ggVjb','MrcQE','76iBPnSk','path','capabilities_','set','proxy_','1932636cMZPhV','se:ieOptions','updateHubUrl','Modifying\x20webdriver\x20builder','safari.options','getAccessibilityResults','CyEmk','aDPXE','../../../helpers/globals','originalBuilder','__driver','__setBrowserOptions','chromeOptions','vUQFD','YQorD','edgeOptions_','setCapabilities','LYBSA','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','RseKa','newHubUrl','overrideGet','MidYn','isAccessibilityPlatform','lxfmr','safariOptions_','setGlobal','./helpers/patchHelper','ivGvR','url_','728ZCGFOK','CTLiH','isPacProxy','4116nuYHHL','KkAZh','iUrKt','/wd/hub','/session','ieOptions_','vOCjf','ZHYtN','wlIZm','nIfyp'];a34_0x5f5c=function(){return _0x27944d;};return a34_0x5f5c();}const a34_0x172ce1=a34_0x26df;(function(_0x18164a,_0x3a3d23){const _0x831412=a34_0x26df,_0x3c5506=_0x18164a();while(!![]){try{const _0x323ef3=-parseInt(_0x831412(0x12d))/0x1*(-parseInt(_0x831412(0x19a))/0x2)+-parseInt(_0x831412(0x16b))/0x3+parseInt(_0x831412(0x128))/0x4*(-parseInt(_0x831412(0x18b))/0x5)+parseInt(_0x831412(0x153))/0x6*(-parseInt(_0x831412(0x16a))/0x7)+parseInt(_0x831412(0x150))/0x8*(-parseInt(_0x831412(0x192))/0x9)+-parseInt(_0x831412(0x127))/0xa+parseInt(_0x831412(0x160))/0xb*(parseInt(_0x831412(0x132))/0xc);if(_0x323ef3===_0x3a3d23)break;else _0x3c5506['push'](_0x3c5506['shift']());}catch(_0x18601c){_0x3c5506['push'](_0x3c5506['shift']());}}}(a34_0x5f5c,0x3f4a1));const logger=require(a34_0x172ce1(0x16c))[a34_0x172ce1(0x120)],helper=require('../../../helpers/helper'),constants=require(a34_0x172ce1(0x170)),hubAllocator=require(a34_0x172ce1(0x122)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require(a34_0x172ce1(0x175)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a34_0x172ce1(0x176)),globals=require(a34_0x172ce1(0x13a)),{overrideExecute}=require(a34_0x172ce1(0x14d)),modify=(_0x27e245,_0x1ff8c4=null,_0x5356a7=![])=>{const _0x588be4=a34_0x172ce1,_0x3278e4={'lxfmr':function(_0x269611,_0x1c23c4){return _0x269611!==_0x1c23c4;},'YQorD':_0x588be4(0x157),'YrJFN':function(_0x252763,_0x552be8){return _0x252763+_0x552be8;},'CTLiH':function(_0x2959a5,_0x2c8aa0){return _0x2959a5+_0x2c8aa0;},'cYVQs':_0x588be4(0x180),'UIeCz':_0x588be4(0x156),'LYBSA':_0x588be4(0x169),'DhrFZ':_0x588be4(0x13e),'vUQFD':_0x588be4(0x198),'JEqlY':_0x588be4(0x167),'riJMu':'moz:firefoxOptions','fjrYy':'firefoxOptions','kcHTb':_0x588be4(0x136),'jjoMm':_0x588be4(0x133),'EOQbH':_0x588be4(0x12a),'CyEmk':function(_0x4ca230,_0x256727){return _0x4ca230===_0x256727;},'aDPXE':_0x588be4(0x164),'ebFjx':_0x588be4(0x125),'kZIsj':function(_0x40e524,_0x309695,_0x52db53){return _0x40e524(_0x309695,_0x52db53);},'Jpijs':function(_0x50a38c,_0x457d5c,_0x184d52){return _0x50a38c(_0x457d5c,_0x184d52);},'RseKa':function(_0x38e738,_0x42f6c6,_0x2982fe){return _0x38e738(_0x42f6c6,_0x2982fe);},'auMFk':function(_0x1f3783,_0x414243){return _0x1f3783(_0x414243);},'MidYn':function(_0x5a3787,_0xefd3d7,_0x17a7ab){return _0x5a3787(_0xefd3d7,_0x17a7ab);},'yPpVu':function(_0x456108,_0xf07d52,_0x41f718){return _0x456108(_0xf07d52,_0x41f718);},'wlIZm':_0x588be4(0x123),'EtOGE':_0x588be4(0x16d),'ggVjb':_0x588be4(0x11f),'ivGvR':_0x588be4(0x149),'KkAZh':function(_0x382c30){return _0x382c30();},'EVXkQ':function(_0x169ab4,_0x275f15){return _0x169ab4(_0x275f15);},'nACTh':_0x588be4(0x144),'nIfyp':function(_0x4769a3,_0x4ce1a0){return _0x4769a3(_0x4ce1a0);},'BLIyj':function(_0x4caff8,_0x29822d,_0xacc5a0){return _0x4caff8(_0x29822d,_0xacc5a0);},'vOCjf':function(_0x178e1f,_0x427e15){return _0x178e1f!==_0x427e15;},'iUrKt':_0x588be4(0x16f),'MrcQE':_0x588be4(0x135)},_0x95348b=helper[_0x588be4(0x124)]();let _0x1d277d;try{_0x1d277d=helper[_0x588be4(0x15e)](),_0x1d277d[_0x588be4(0x13b)]&&(_0x1d277d[_0x588be4(0x17d)]=_0x1d277d['originalBuilder']);}catch(_0x402153){return;}if(helper['isBrowserstackInfra']()){const _0x3258e3={};_0x3258e3['logLevel']=_0x27e245[_0x588be4(0x129)],helper[_0x588be4(0x18c)](_0x3258e3,new Map(),new Map()),logger[_0x588be4(0x191)](_0x3278e4[_0x588be4(0x155)]),logger['debug'](_0x3278e4[_0x588be4(0x12c)]);}class _0x55e491 extends _0x95348b[_0x588be4(0x190)]{[_0x588be4(0x188)](_0x1bf3d7){const _0x527ead=_0x588be4;if(_0x3278e4['lxfmr'](_0x1bf3d7[_0x527ead(0x12e)],_0x3278e4[_0x527ead(0x140)])&&_0x3278e4[_0x527ead(0x14a)](global[_0x527ead(0x146)],''))try{global[_0x527ead(0x146)]=_0x3278e4['YrJFN'](_0x3278e4[_0x527ead(0x151)](_0x3278e4['cYVQs'],global[_0x527ead(0x146)]),_0x3278e4[_0x527ead(0x17e)]),this['options_']=hubAllocator[_0x527ead(0x19b)](global[_0x527ead(0x146)]),logger[_0x527ead(0x17f)](_0x527ead(0x174)+global[_0x527ead(0x146)]),global[_0x527ead(0x146)]='';}catch(_0xf0cfd7){logger[_0x527ead(0x163)](_0xf0cfd7);}return super['send'](_0x1bf3d7);}}class _0x16de92 extends _0x1d277d[_0x588be4(0x17d)]{[_0x588be4(0x166)](){const _0x4041a8=_0x588be4;return this[_0x4041a8(0x14f)]=helper['getHubUrl'](_0x27e245),logger[_0x4041a8(0x17f)]('Hub\x20url\x20set\x20to\x20'+this[_0x4041a8(0x14f)]),this;}['__setBrowserOptions'](_0x81a6b3){const _0x475671=_0x588be4;let _0x405bc8={};for(const _0x1d6fde in _0x81a6b3){switch(_0x1d6fde){case _0x3278e4[_0x475671(0x143)]:case _0x3278e4[_0x475671(0x195)]:this[_0x475671(0x181)]&&(_0x405bc8=this[_0x475671(0x181)][_0x475671(0x162)](this[_0x475671(0x181)][_0x475671(0x173)])||{},this[_0x475671(0x181)][_0x475671(0x130)](this['chromeOptions_'][_0x475671(0x173)],helper[_0x475671(0x187)](_0x405bc8,_0x81a6b3[_0x1d6fde])));break;case _0x3278e4[_0x475671(0x13f)]:case _0x3278e4[_0x475671(0x183)]:this['edgeOptions_']&&(_0x405bc8=this[_0x475671(0x141)][_0x475671(0x162)](this[_0x475671(0x141)][_0x475671(0x173)])||{},this['edgeOptions_'][_0x475671(0x130)](this[_0x475671(0x141)]['CAPABILITY_KEY'],helper[_0x475671(0x187)](_0x405bc8,_0x81a6b3[_0x1d6fde])));break;case _0x3278e4[_0x475671(0x184)]:case _0x3278e4['fjrYy']:this[_0x475671(0x19d)]&&(_0x405bc8=this[_0x475671(0x19d)][_0x475671(0x162)](this[_0x475671(0x19d)][_0x475671(0x173)])||{},this[_0x475671(0x19d)][_0x475671(0x130)](this[_0x475671(0x19d)][_0x475671(0x173)],helper['mergeDeep'](_0x405bc8,_0x81a6b3[_0x1d6fde])));break;case _0x3278e4[_0x475671(0x18d)]:this[_0x475671(0x14b)]&&(_0x405bc8=this[_0x475671(0x14b)][_0x475671(0x162)](this['safariOptions_'][_0x475671(0x173)])||{},this[_0x475671(0x14b)][_0x475671(0x130)](this[_0x475671(0x14b)][_0x475671(0x173)],helper[_0x475671(0x187)](_0x405bc8,_0x81a6b3[_0x1d6fde])));break;case _0x3278e4['jjoMm']:case _0x3278e4['EOQbH']:this['ieOptions_']&&(_0x405bc8=this['ieOptions_'][_0x475671(0x162)](this[_0x475671(0x158)]['CAPABILITY_KEY'])||{},this[_0x475671(0x158)]['set'](this['ieOptions_']['CAPABILITY_KEY'],helper[_0x475671(0x187)](_0x405bc8,_0x81a6b3[_0x1d6fde])));break;}}}[_0x588be4(0x142)](){const _0x4a1822=_0x588be4,_0x413c63={'ZHYtN':function(_0x4eadde,_0x286663){const _0x588f80=a34_0x26df;return _0x3278e4[_0x588f80(0x138)](_0x4eadde,_0x286663);},'JCkSi':_0x3278e4[_0x4a1822(0x139)]};return logger[_0x4a1822(0x17f)](_0x3278e4['ebFjx']),this[_0x4a1822(0x13d)](_0x27e245[_0x4a1822(0x18a)]),Object[_0x4a1822(0x182)](_0x27e245[_0x4a1822(0x18a)])[_0x4a1822(0x189)](_0x545135=>{const _0x9e4d7b=_0x4a1822,_0xa90808=this['capabilities_'][_0x9e4d7b(0x162)](_0x545135);_0x413c63[_0x9e4d7b(0x15a)](typeof _0xa90808,_0x413c63[_0x9e4d7b(0x165)])?this['capabilities_'][_0x9e4d7b(0x130)](_0x545135,helper['mergeDeep'](_0xa90808,_0x27e245['capability'][_0x545135])):this[_0x9e4d7b(0x12f)][_0x9e4d7b(0x130)](_0x545135,_0x27e245[_0x9e4d7b(0x18a)][_0x545135]);}),this;}[_0x588be4(0x19e)](){const _0x91a5cc=_0x588be4,_0x13e256={};_0x13e256[_0x91a5cc(0x186)]=_0x3278e4[_0x91a5cc(0x15b)],_0x13e256['nUgpr']=_0x3278e4[_0x91a5cc(0x171)];const _0x210ee4=_0x13e256;if(helper[_0x91a5cc(0x185)]()){const _0x5cab72=_0x3278e4[_0x91a5cc(0x12b)]['split']('|');let _0x4e35f4=0x0;while(!![]){switch(_0x5cab72[_0x4e35f4++]){case'0':if(helper[_0x91a5cc(0x152)](_0x27e245[_0x91a5cc(0x161)]['proxyUrl']))this['agent_']=helper[_0x91a5cc(0x126)](_0x27e245[_0x91a5cc(0x161)][_0x91a5cc(0x18f)]);else _0x27e245[_0x91a5cc(0x161)][_0x91a5cc(0x18f)]&&(this[_0x91a5cc(0x131)]=_0x27e245[_0x91a5cc(0x161)]['proxyUrl'],logger['debug'](_0x91a5cc(0x17c)+this['proxy_']));continue;case'1':globals[_0x91a5cc(0x16e)](_0x3278e4['ivGvR'])&&(!_0x3278e4['Jpijs'](setExtension,this,_0x27e245)&&globals[_0x91a5cc(0x14c)](_0x3278e4[_0x91a5cc(0x14e)],![]));continue;case'2':_0x3278e4[_0x91a5cc(0x154)](isAccessibilityAutomationSession)&&_0x3278e4[_0x91a5cc(0x19f)](setAccessibilityCapabilities,_0x27e245);continue;case'3':this['setCapabilities']();continue;case'4':this['setServer']();continue;case'5':logger[_0x91a5cc(0x17f)](_0x3278e4[_0x91a5cc(0x15d)]);continue;}break;}}const _0x1c2510=super[_0x91a5cc(0x19e)]();return _0x1c2510['session_'][_0x91a5cc(0x172)](_0x282ead=>{const _0x40483d=_0x91a5cc;try{const _0x12ba99=_0x282ead[_0x40483d(0x17b)]['get'](_0x210ee4[_0x40483d(0x186)]);_0x12ba99?(logger[_0x40483d(0x17f)](_0x40483d(0x177)+_0x12ba99),hubAllocator[_0x40483d(0x134)](_0x12ba99),helper['storeOptimalHubUrl'](_0x12ba99)):logger[_0x40483d(0x17f)](_0x210ee4['nUgpr']);}catch(_0x1ea714){logger[_0x40483d(0x17f)]('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x1ea714);}}),_0x1c2510[_0x91a5cc(0x197)]=0x0,_0x1c2510['then']&&_0x1c2510['then'](_0x57d850=>{const _0x13d4e2=_0x91a5cc,_0xba3713={'UBIDg':function(_0x56c38d,_0x3c577b,_0x2ae5fc){const _0x5e4a9a=a34_0x26df;return _0x3278e4[_0x5e4a9a(0x196)](_0x56c38d,_0x3c577b,_0x2ae5fc);},'nhMhT':function(_0x3a74cd,_0x1414fd,_0x536fb5){return _0x3278e4['Jpijs'](_0x3a74cd,_0x1414fd,_0x536fb5);}};_0x3278e4['RseKa'](overrideQuit,_0x57d850,_0x1c2510),_0x3278e4['auMFk'](overrideTakeScreenshot,_0x57d850),helper[_0x13d4e2(0x147)](_0x57d850,_0x27e245),_0x3278e4[_0x13d4e2(0x145)](overrideExecute,_0x57d850,_0x27e245),_0x57d850['getAccessibilityResultsSummary']=async()=>{return await _0xba3713['UBIDg'](getAccessibilityResultsSummary,_0x57d850,global);},_0x57d850['getAccessibilityResults']=async()=>{const _0x50d69a=_0x13d4e2;return await _0xba3713[_0x50d69a(0x19c)](getAccessibilityResults,_0x57d850,global);};}),_0x1c2510[_0x91a5cc(0x178)]=async()=>{const _0x2346cf=_0x91a5cc;return await _0x3278e4[_0x2346cf(0x148)](getAccessibilityResultsSummary,_0x1c2510,global);},_0x1c2510[_0x91a5cc(0x137)]=async()=>{const _0x285e3d=_0x91a5cc;return await _0x3278e4[_0x285e3d(0x18e)](getAccessibilityResults,_0x1c2510,global);},_0x3278e4[_0x91a5cc(0x15c)](overrideTakeScreenshot,_0x1c2510),_0x3278e4[_0x91a5cc(0x121)](overrideQuit,_0x1c2510),helper['overrideGet'](_0x1c2510,_0x27e245),_0x3278e4[_0x91a5cc(0x168)](overrideExecute,_0x1c2510,_0x27e245),helper[_0x91a5cc(0x17a)](global[_0x91a5cc(0x15f)])&&(global[_0x91a5cc(0x15f)]=[]),helper[_0x91a5cc(0x17a)](global['__drivers'])&&(global['__drivers']=[]),global['__driversArray'][_0x91a5cc(0x179)](_0x1c2510),global[_0x91a5cc(0x13c)]=_0x1c2510,_0x3278e4[_0x91a5cc(0x159)](global[_0x91a5cc(0x194)],undefined)&&global['__drivers'][_0x91a5cc(0x179)](_0x1c2510),_0x1ff8c4&&helper[_0x91a5cc(0x17a)](_0x1ff8c4[_0x91a5cc(0x199)][_0x91a5cc(0x15f)])&&(_0x1ff8c4[_0x91a5cc(0x199)]['__driversArray']=[]),_0x1ff8c4&&_0x3278e4['lxfmr'](_0x1ff8c4[_0x91a5cc(0x199)][_0x91a5cc(0x194)],undefined)&&(_0x1ff8c4[_0x91a5cc(0x199)][_0x91a5cc(0x194)][_0x91a5cc(0x179)](_0x1c2510),_0x1ff8c4[_0x91a5cc(0x199)][_0x91a5cc(0x15f)][_0x91a5cc(0x179)](_0x1c2510)),_0x1c2510;}}return _0x1d277d[_0x588be4(0x13b)]=_0x1d277d['Builder'],_0x1d277d[_0x588be4(0x17d)]=_0x16de92,_0x95348b[_0x588be4(0x190)]=_0x55e491,_0x1d277d;};module[a34_0x172ce1(0x193)]['browserstackAgentObservability']=modify;
@@ -1 +1 @@
1
- function a35_0x3685(){const _0x5bd75b=['137585khGQae','../../../bin/utils/constants','20MPUgku','../../../helpers/test-observability/utils','4502KOVyTu','21099915HivDyE','584GnIYNX','timeout','../../../helpers/request-spy','7696044nCgCga','2467210gFlzUo','2577198KqRTlq','yLYsM','640udgdcm','531990mckUCM'];a35_0x3685=function(){return _0x5bd75b;};return a35_0x3685();}function a35_0x4e3f(_0x5bf19b,_0x138672){const _0x3685fe=a35_0x3685();return a35_0x4e3f=function(_0x4e3f03,_0x6cc2e9){_0x4e3f03=_0x4e3f03-0x1ea;let _0xaa8491=_0x3685fe[_0x4e3f03];return _0xaa8491;},a35_0x4e3f(_0x5bf19b,_0x138672);}const a35_0x4b8c27=a35_0x4e3f;(function(_0x2e92b5,_0x194579){const _0x4bbdfa=a35_0x4e3f,_0xd54f71=_0x2e92b5();while(!![]){try{const _0x34c08c=parseInt(_0x4bbdfa(0x1f8))/0x1*(-parseInt(_0x4bbdfa(0x1eb))/0x2)+parseInt(_0x4bbdfa(0x1f3))/0x3+-parseInt(_0x4bbdfa(0x1ee))/0x4+parseInt(_0x4bbdfa(0x1ef))/0x5+parseInt(_0x4bbdfa(0x1f0))/0x6+parseInt(_0x4bbdfa(0x1f4))/0x7*(-parseInt(_0x4bbdfa(0x1f2))/0x8)+-parseInt(_0x4bbdfa(0x1ea))/0x9*(-parseInt(_0x4bbdfa(0x1f6))/0xa);if(_0x34c08c===_0x194579)break;else _0xd54f71['push'](_0xd54f71['shift']());}catch(_0x4c797f){_0xd54f71['push'](_0xd54f71['shift']());}}}(a35_0x3685,0xeed04));const requestSpy=require(a35_0x4b8c27(0x1ed)),constants=require(a35_0x4b8c27(0x1f5)),{addRequestSpy}=require(a35_0x4b8c27(0x1f7));exports['mochaHooks']={'beforeAll'(){const _0x577972=a35_0x4b8c27,_0x47057f={'yLYsM':function(_0x4ae579){return _0x4ae579();}},_0x11a8af='browserstack internal helper hook';_0x47057f[_0x577972(0x1f1)](addRequestSpy);},'afterAll'(){const _0x125026=a35_0x4b8c27,_0xaf6862='browserstack internal helper hook';this[_0x125026(0x1ec)](0xea60),requestSpy['restore']();}};
1
+ function a35_0x3ab0(_0x326e7c,_0x399194){const _0x24555b=a35_0x2455();return a35_0x3ab0=function(_0x3ab01d,_0x2c8bdc){_0x3ab01d=_0x3ab01d-0x7e;let _0x5afdcc=_0x24555b[_0x3ab01d];return _0x5afdcc;},a35_0x3ab0(_0x326e7c,_0x399194);}const a35_0x244381=a35_0x3ab0;(function(_0x3227f5,_0x1c6989){const _0x7efad0=a35_0x3ab0,_0x23cd8e=_0x3227f5();while(!![]){try{const _0x448fb3=parseInt(_0x7efad0(0x82))/0x1*(parseInt(_0x7efad0(0x88))/0x2)+-parseInt(_0x7efad0(0x8b))/0x3*(parseInt(_0x7efad0(0x7e))/0x4)+-parseInt(_0x7efad0(0x81))/0x5+-parseInt(_0x7efad0(0x80))/0x6+parseInt(_0x7efad0(0x84))/0x7+parseInt(_0x7efad0(0x7f))/0x8*(-parseInt(_0x7efad0(0x8c))/0x9)+parseInt(_0x7efad0(0x89))/0xa*(parseInt(_0x7efad0(0x85))/0xb);if(_0x448fb3===_0x1c6989)break;else _0x23cd8e['push'](_0x23cd8e['shift']());}catch(_0x431499){_0x23cd8e['push'](_0x23cd8e['shift']());}}}(a35_0x2455,0xbbf7d));const requestSpy=require(a35_0x244381(0x87)),constants=require('../../../bin/utils/constants'),{addRequestSpy}=require('../../../helpers/test-observability/utils');exports[a35_0x244381(0x8a)]={'beforeAll'(){const _0x3b6d32={'VIHYb':function(_0x20179f){return _0x20179f();}},_0x3119f8='browserstack internal helper hook';_0x3b6d32['VIHYb'](addRequestSpy);},'afterAll'(){const _0x39a2f3=a35_0x244381,_0x247ee8='browserstack internal helper hook';this[_0x39a2f3(0x83)](0xea60),requestSpy[_0x39a2f3(0x86)]();}};function a35_0x2455(){const _0x13c4bd=['5193976nnmDpb','9144936oGligz','7479230kCvijp','1KAWubK','timeout','7423325czIrUu','13189KpAuwN','restore','../../../helpers/request-spy','286706VjdgNt','35630GFswwk','mochaHooks','28533gSVXZI','9CmGAEi','436HMizdK'];a35_0x2455=function(){return _0x13c4bd;};return a35_0x2455();}
@@ -1 +1 @@
1
- function a36_0x4acc(_0x3b0458,_0x418eb2){const _0x4ff3fd=a36_0x4ff3();return a36_0x4acc=function(_0x4acc33,_0x8964aa){_0x4acc33=_0x4acc33-0x168;let _0x3b1b79=_0x4ff3fd[_0x4acc33];return _0x3b1b79;},a36_0x4acc(_0x3b0458,_0x418eb2);}function a36_0x4ff3(){const _0x2df049=['_beforeAll','toJSON','pid','failed','uuid','split','2536803YcDarA','suites','../../../helpers/testhub/utils','KVRfv','402hLVfqO','zGdiB','xuHOe','state','UgzcZ','oRcih','_beforeEach','sendPlatformDetails','push','BaRsA','3595090ZgwLLW','NstjX','4XneBgI','tests','getHookSkippedTests','../../../helpers/test-observability/constants','IBvZk','getHookDetails','markedStatus','dFmkO','type','getSession','substring','AFNhz','fromEntries','concat','getBrowserVersion','tdMfa','parent','vaDKh','ngihR','qLnit','587400Tkkpec','getHooksForTest','../../../helpers/test-observability/utils','toISOString','35873vXRhmo','indexOf','222789XRaqgp','IxOha','bgnoU','__cloud_provider___','getCapabilities','KVfCZ','DLoaV','24CVWoPu','hook','_afterAll','YSYGN','681iGYZEj','get','dYiug','EMOEb','forEach','map_','slice','getTestEnv','unknown_grid','HDfcY','iQbNM','rvxEs','emit','AQJwB','1412110TAQcGR','mapTestHooks','_afterEach','browserstack','JDEOE','js-','XegUX','filter','zkUuv','CfuXT','bs:addPlatformDetails:','generic','hookAnalyticsId','vKsLD','dOYHw','reduce'];a36_0x4ff3=function(){return _0x2df049;};return a36_0x4ff3();}const a36_0x55432b=a36_0x4acc;(function(_0x1500ed,_0x4db2b7){const _0x313453=a36_0x4acc,_0x3d20b7=_0x1500ed();while(!![]){try{const _0x50d452=parseInt(_0x313453(0x1b8))/0x1+-parseInt(_0x313453(0x194))/0x2*(-parseInt(_0x313453(0x16c))/0x3)+parseInt(_0x313453(0x1a0))/0x4*(-parseInt(_0x313453(0x17a))/0x5)+-parseInt(_0x313453(0x1b4))/0x6+-parseInt(_0x313453(0x1ba))/0x7*(parseInt(_0x313453(0x168))/0x8)+parseInt(_0x313453(0x190))/0x9+parseInt(_0x313453(0x19e))/0xa;if(_0x50d452===_0x4db2b7)break;else _0x3d20b7['push'](_0x3d20b7['shift']());}catch(_0x32e05a){_0x3d20b7['push'](_0x3d20b7['shift']());}}}(a36_0x4ff3,0x3c521));const {v4:uuidv4}=require(a36_0x55432b(0x18e)),{name,version}=require('../../../../package.json'),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a36_0x55432b(0x1b6)),{consoleHolder}=require(a36_0x55432b(0x1a3)),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require(a36_0x55432b(0x192)),{isFunction}=require('lodash'),{patchConsoleLogger}=require('../../../helpers/test-observability/utils');patchConsoleLogger(),exports[a36_0x55432b(0x173)]=()=>{const _0x130679=a36_0x55432b,_0x252f3d={'DRsie':_0x130679(0x185),'AFNhz':function(_0x5dcd62){return _0x5dcd62();}};return{'ci':_0x252f3d['DRsie'],'key':_0x252f3d[_0x130679(0x1ab)](uuidv4),'version':version,'collector':_0x130679(0x17f)+name};},exports[a36_0x55432b(0x1a5)]=_0x12c123=>{const _0x2b0466=a36_0x55432b,_0x132a5b={};_0x132a5b[_0x2b0466(0x198)]=function(_0x19a9d8,_0x27856f){return _0x19a9d8!==_0x27856f;},_0x132a5b[_0x2b0466(0x1c0)]='string',_0x132a5b['iQbNM']='hook:',_0x132a5b[_0x2b0466(0x188)]=function(_0x100e18,_0x3d9814){return _0x100e18!==_0x3d9814;},_0x132a5b[_0x2b0466(0x1b1)]=_0x2b0466(0x169);const _0x9cd471=_0x132a5b;if(!_0x12c123||_0x9cd471[_0x2b0466(0x198)](typeof _0x12c123,_0x9cd471[_0x2b0466(0x1c0)]))return[null,null];if(_0x9cd471['UgzcZ'](_0x12c123[_0x2b0466(0x1b9)](_0x9cd471[_0x2b0466(0x176)]),-0x1)){const _0x1943ee=_0x12c123[_0x2b0466(0x18f)](_0x9cd471['iQbNM']);return[_0x1943ee[0x0][_0x2b0466(0x172)](0x0,-0x1)[_0x2b0466(0x18f)]('\x22')[0x1],_0x1943ee[0x1][_0x2b0466(0x1aa)](0x1)];}else{if(_0x9cd471[_0x2b0466(0x188)](_0x12c123[_0x2b0466(0x1b9)](_0x9cd471[_0x2b0466(0x1b1)]),-0x1)){const _0x2df45c=_0x12c123['split'](_0x9cd471['vaDKh']);return[_0x2df45c[0x0][_0x2b0466(0x172)](0x0,-0x1)['split']('\x22')[0x1],_0x12c123];}}return[null,null];},exports[a36_0x55432b(0x1b5)]=_0x6d1c56=>{const _0x247297=a36_0x55432b,_0x884144={'AQJwB':function(_0x532e88,_0x83ea47){return _0x532e88(_0x83ea47);},'BjViw':_0x247297(0x18a),'lJagp':'_afterAll','oRcih':_0x247297(0x19a),'zkUuv':'_afterEach'};if(!_0x6d1c56||!_0x6d1c56[_0x247297(0x1b0)])return[];const _0x1db940=[];return[_0x884144['BjViw'],_0x884144['lJagp'],_0x884144[_0x247297(0x199)],_0x884144[_0x247297(0x182)]][_0x247297(0x170)](_0x3b87a2=>{const _0x5de132=_0x247297,_0x3177fb=_0x6d1c56[_0x5de132(0x1b0)][_0x3b87a2]||[];_0x3177fb[_0x5de132(0x170)](_0x41d656=>{const _0x272e83=_0x5de132;_0x41d656[_0x272e83(0x186)]&&!_0x884144[_0x272e83(0x179)](isInternalHook,_0x41d656['fn'])&&_0x1db940[_0x272e83(0x19c)](_0x41d656['hookAnalyticsId']);});}),[..._0x1db940,...exports[_0x247297(0x1b5)](_0x6d1c56[_0x247297(0x1b0)])];},exports['mapTestHooks']=_0x2ac5d5=>{const _0x3d6511=a36_0x55432b,_0x5e89c9={'dYiug':function(_0x3019a9){return _0x3019a9();},'ngihR':function(_0x1939cc,_0x2ffe20){return _0x1939cc===_0x2ffe20;},'KVfCZ':_0x3d6511(0x17c),'xuHOe':_0x3d6511(0x18a),'hCcXP':_0x3d6511(0x16a),'HDfcY':_0x3d6511(0x19a)};if(!_0x2ac5d5||!_0x2ac5d5[_0x3d6511(0x1b0)])return;[_0x5e89c9[_0x3d6511(0x196)],_0x5e89c9['hCcXP'],_0x5e89c9[_0x3d6511(0x175)],_0x5e89c9[_0x3d6511(0x1bf)]]['forEach'](_0x435f66=>{const _0x4dd0fa=_0x3d6511,_0xfb3925={'qLnit':function(_0xecdf50){const _0x17bf72=a36_0x4acc;return _0x5e89c9[_0x17bf72(0x16e)](_0xecdf50);},'IxOha':function(_0x30dea9,_0x12dde2){const _0x589446=a36_0x4acc;return _0x5e89c9[_0x589446(0x1b2)](_0x30dea9,_0x12dde2);},'dFmkO':_0x5e89c9[_0x4dd0fa(0x1bf)],'JDEOE':function(_0x224daa){return _0x5e89c9['dYiug'](_0x224daa);}},_0x425bea=_0x2ac5d5['parent'][_0x435f66]||[];_0x425bea[_0x4dd0fa(0x170)](_0x3c5d5e=>{const _0x210bb3=_0x4dd0fa;if(!_0x3c5d5e['hookAnalyticsId'])_0x3c5d5e[_0x210bb3(0x186)]=_0xfb3925[_0x210bb3(0x1b3)](uuidv4);else _0x3c5d5e[_0x210bb3(0x1a6)]&&_0xfb3925[_0x210bb3(0x1bb)](_0x435f66,_0xfb3925[_0x210bb3(0x1a7)])&&(_0x3c5d5e[_0x210bb3(0x186)]=_0xfb3925[_0x210bb3(0x17e)](uuidv4),delete _0x3c5d5e[_0x210bb3(0x1a6)]);});}),exports[_0x3d6511(0x17b)](_0x2ac5d5[_0x3d6511(0x1b0)]);},exports[a36_0x55432b(0x19b)]=async(_0x3f2148,_0x3cf6da)=>{const _0x13b996=a36_0x55432b,_0x31db6a={'KVRfv':function(_0x58491f){return _0x58491f();},'EMOEb':function(_0x4954e3,_0x4a322f){return _0x4954e3(_0x4a322f);},'XegUX':'platformVersion','NstjX':function(_0x59f901,_0x5d30ab){return _0x59f901(_0x5d30ab);},'bgnoU':function(_0x1e6fc5,_0x364d83){return _0x1e6fc5===_0x364d83;},'rvxEs':_0x13b996(0x17d),'tdMfa':_0x13b996(0x174),'vKsLD':'TEST_PLATFORM'};try{if(!_0x31db6a[_0x13b996(0x193)](shouldProcessEventForTesthub))return;const _0x21d8aa=await _0x3f2148[_0x13b996(0x1be)](),_0x2f238c=await _0x3f2148[_0x13b996(0x1a9)](),_0xeae151={},_0x59f3ed=Object[_0x13b996(0x1ac)](_0x2f238c[_0x13b996(0x1be)]()[_0x13b996(0x171)]),_0x882984={'product':_0x31db6a[_0x13b996(0x16f)](getObservabilityLinkedProductName,_0x59f3ed),'capabilities':_0x59f3ed,'platform':_0x21d8aa['getPlatform'](),'platform_version':_0x21d8aa[_0x13b996(0x16d)](_0x31db6a[_0x13b996(0x180)])?_0x21d8aa[_0x13b996(0x16d)](_0x31db6a[_0x13b996(0x180)]):_0x31db6a[_0x13b996(0x19f)](getPlatformVersion,_0x31db6a[_0x13b996(0x1bc)](global['__cloud_provider___'],_0x31db6a[_0x13b996(0x177)])),'browser':_0x21d8aa['getBrowserName'](),'browser_version':_0x21d8aa[_0x13b996(0x1ae)](),'session_id':_0x2f238c[_0x13b996(0x18b)]()};global['__cloud_provider___']?_0xeae151[global[_0x13b996(0x1bd)]]=_0x882984:_0xeae151[_0x31db6a[_0x13b996(0x1af)]]=_0x882984,process[_0x13b996(0x178)](_0x13b996(0x184)+process[_0x13b996(0x18c)],{'timestamp':new Date()[_0x13b996(0x1b7)](),'level':null,'message':null,'kind':_0x31db6a[_0x13b996(0x187)],'http_response':_0xeae151,'uuid':_0x3cf6da});}catch(_0x26d5e9){_0x31db6a['NstjX'](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x26d5e9);}},exports['getHookSkippedTests']=_0x26bf18=>{const _0x3ea1f3=a36_0x55432b,_0x251377={};_0x251377[_0x3ea1f3(0x183)]=function(_0x16c9cf,_0x8e35d1){return _0x16c9cf!==_0x8e35d1;},_0x251377[_0x3ea1f3(0x16b)]=_0x3ea1f3(0x169),_0x251377[_0x3ea1f3(0x195)]='passed',_0x251377[_0x3ea1f3(0x19d)]=function(_0x1af8f9,_0x24e5d8){return _0x1af8f9!==_0x24e5d8;},_0x251377['IBvZk']=_0x3ea1f3(0x18d);const _0x517be2=_0x251377,_0x1a29d8=_0x26bf18[_0x3ea1f3(0x191)][_0x3ea1f3(0x189)]((_0xfcd0ae,_0x2b4c87)=>{const _0x8feb5c=_0x3ea1f3,_0x37697b=exports[_0x8feb5c(0x1a2)](_0x2b4c87);return _0x37697b&&(_0xfcd0ae=_0xfcd0ae[_0x8feb5c(0x1ad)](_0x37697b)),_0xfcd0ae;},[]),_0x333e3b=_0x26bf18[_0x3ea1f3(0x1a1)][_0x3ea1f3(0x181)](_0x552b91=>{const _0x244b41=_0x3ea1f3,_0x149e76=_0x517be2['CfuXT'](_0x552b91[_0x244b41(0x1a8)],_0x517be2[_0x244b41(0x16b)])&&!_0x552b91[_0x244b41(0x1a6)]&&_0x517be2[_0x244b41(0x183)](_0x552b91[_0x244b41(0x197)],_0x517be2['zGdiB'])&&_0x517be2[_0x244b41(0x19d)](_0x552b91['state'],_0x517be2[_0x244b41(0x1a4)])&&!_0x552b91['pending'];return _0x149e76;});return _0x333e3b['concat'](_0x1a29d8);};
1
+ const a36_0x58b488=a36_0x2c25;(function(_0x515d01,_0x45d975){const _0x39378c=a36_0x2c25,_0x4f0719=_0x515d01();while(!![]){try{const _0x3c22cf=parseInt(_0x39378c(0xa6))/0x1*(parseInt(_0x39378c(0x8e))/0x2)+-parseInt(_0x39378c(0xbf))/0x3*(-parseInt(_0x39378c(0xc2))/0x4)+parseInt(_0x39378c(0xb2))/0x5*(-parseInt(_0x39378c(0x90))/0x6)+parseInt(_0x39378c(0x83))/0x7*(parseInt(_0x39378c(0x99))/0x8)+parseInt(_0x39378c(0x6a))/0x9*(parseInt(_0x39378c(0x68))/0xa)+-parseInt(_0x39378c(0x8b))/0xb+parseInt(_0x39378c(0xa2))/0xc*(-parseInt(_0x39378c(0x77))/0xd);if(_0x3c22cf===_0x45d975)break;else _0x4f0719['push'](_0x4f0719['shift']());}catch(_0x4badfa){_0x4f0719['push'](_0x4f0719['shift']());}}}(a36_0x2ffa,0x60e0c));function a36_0x2ffa(){const _0x52bd91=['haipy','js-','htIMc','hook','platformVersion','Fxhoz','nfKOq','getHookSkippedTests','2587AkQORI','failed','passed','substring','fromEntries','bOIbt','getTestEnv','xXqmZ','_beforeAll','eNPWT','type','RttWz','91lnfBIN','_afterAll','concat','cTmJh','mupXb','pid','getPlatform','state','242858Hhrhuo','oomrE','sendPlatformDetails','10GSQahJ','ZircV','1998600WJcPVl','forEach','hRWeW','toJSON','zOnTH','__cloud_provider___','../../utils/logPatcher','getHooksForTest','filter','105968XQyxib','parent','vqhBr','gTMBh','getHookDetails','tugNq','../../../helpers/helper','Mccfd','../../../helpers/test-observability/utils','31368CYnRTt','uuid','generic','MDttg','121271nxmaoo','push','unknown_grid','FMktO','slice','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','geidY','hookAnalyticsId','emit','cqAOQ','iWyfs','string','10TOYIjG','getCapabilities','DYnaN','CaKcJ','getSession','cACwr','aVSNV','getBrowserVersion','_beforeEach','indexOf','suites','PMVhF','split','2034333HoRxQP','hToFt','tests','4IsaLoC','../../../helpers/testhub/utils','TEST_PLATFORM','markedStatus','hSQnn','10sayamu','qKvRm','1337508sIVpXS','map_','_afterEach','bs:addPlatformDetails:','mapTestHooks'];a36_0x2ffa=function(){return _0x52bd91;};return a36_0x2ffa();}function a36_0x2c25(_0x492be6,_0x2d1c6e){const _0x2ffa69=a36_0x2ffa();return a36_0x2c25=function(_0x2c250e,_0x43639c){_0x2c250e=_0x2c250e-0x64;let _0xe6fee3=_0x2ffa69[_0x2c250e];return _0xe6fee3;},a36_0x2c25(_0x492be6,_0x2d1c6e);}const {v4:uuidv4}=require(a36_0x58b488(0xa3)),{name,version}=require('../../../../package.json'),logPatcher=require(a36_0x58b488(0x96)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a36_0x58b488(0xa1)),{consoleHolder}=require('../../../helpers/test-observability/constants'),{getPlatformVersion}=require(a36_0x58b488(0x9f)),{shouldProcessEventForTesthub}=require(a36_0x58b488(0x64)),{isFunction}=require('lodash'),{patchConsoleLogger}=require('../../../helpers/test-observability/utils');patchConsoleLogger(),exports[a36_0x58b488(0x7d)]=()=>{const _0x1c2173=a36_0x58b488,_0x46ba25={'zOnTH':_0x1c2173(0xa4),'bOIbt':function(_0x19fcd0){return _0x19fcd0();}};return{'ci':_0x46ba25[_0x1c2173(0x94)],'key':_0x46ba25[_0x1c2173(0x7c)](uuidv4),'version':version,'collector':_0x1c2173(0x70)+name};},exports[a36_0x58b488(0x9d)]=_0x109563=>{const _0x3a0b1=a36_0x58b488,_0x6fe08b={};_0x6fe08b[_0x3a0b1(0x69)]=function(_0x4943e5,_0x4924ec){return _0x4943e5!==_0x4924ec;},_0x6fe08b[_0x3a0b1(0x82)]=_0x3a0b1(0xb1),_0x6fe08b['oomrE']=function(_0x722a1c,_0x444f61){return _0x722a1c!==_0x444f61;},_0x6fe08b[_0x3a0b1(0x6f)]='hook:',_0x6fe08b[_0x3a0b1(0x80)]=function(_0x3652b6,_0x3d1cf3){return _0x3652b6!==_0x3d1cf3;},_0x6fe08b[_0x3a0b1(0x8f)]=_0x3a0b1(0x72);const _0x481c7a=_0x6fe08b;if(!_0x109563||_0x481c7a[_0x3a0b1(0x69)](typeof _0x109563,_0x481c7a[_0x3a0b1(0x82)]))return[null,null];if(_0x481c7a[_0x3a0b1(0x8c)](_0x109563['indexOf'](_0x481c7a[_0x3a0b1(0x6f)]),-0x1)){const _0x8e58bf=_0x109563[_0x3a0b1(0xbe)](_0x481c7a[_0x3a0b1(0x6f)]);return[_0x8e58bf[0x0][_0x3a0b1(0xaa)](0x0,-0x1)[_0x3a0b1(0xbe)]('\x22')[0x1],_0x8e58bf[0x1][_0x3a0b1(0x7a)](0x1)];}else{if(_0x481c7a[_0x3a0b1(0x80)](_0x109563[_0x3a0b1(0xbb)](_0x481c7a[_0x3a0b1(0x8f)]),-0x1)){const _0x274747=_0x109563[_0x3a0b1(0xbe)](_0x481c7a[_0x3a0b1(0x8f)]);return[_0x274747[0x0][_0x3a0b1(0xaa)](0x0,-0x1)['split']('\x22')[0x1],_0x109563];}}return[null,null];},exports[a36_0x58b488(0x97)]=_0x52f0b9=>{const _0x721704=a36_0x58b488,_0x45f87b={'MDttg':function(_0x11fb33,_0xcecb5d){return _0x11fb33(_0xcecb5d);},'aVSNV':_0x721704(0x7f),'KRBhF':_0x721704(0x84),'hToFt':_0x721704(0xba),'iWyfs':_0x721704(0x6c)};if(!_0x52f0b9||!_0x52f0b9['parent'])return[];const _0x5325ba=[];return[_0x45f87b[_0x721704(0xb8)],_0x45f87b['KRBhF'],_0x45f87b[_0x721704(0xc0)],_0x45f87b[_0x721704(0xb0)]][_0x721704(0x91)](_0x33f1cb=>{const _0x536b3b=_0x721704,_0x42d2ac=_0x52f0b9[_0x536b3b(0x9a)][_0x33f1cb]||[];_0x42d2ac['forEach'](_0x49816b=>{const _0x3b215d=_0x536b3b;_0x49816b[_0x3b215d(0xad)]&&!_0x45f87b[_0x3b215d(0xa5)](isInternalHook,_0x49816b['fn'])&&_0x5325ba[_0x3b215d(0xa7)](_0x49816b['hookAnalyticsId']);});}),[..._0x5325ba,...exports[_0x721704(0x97)](_0x52f0b9[_0x721704(0x9a)])];},exports[a36_0x58b488(0x6e)]=_0x5d2039=>{const _0x4b5dcb=a36_0x58b488,_0x1a2273={'vqhBr':function(_0x2a4aaf){return _0x2a4aaf();},'PsPOC':function(_0x579990,_0x273b47){return _0x579990===_0x273b47;},'geidY':'_afterEach','FMktO':_0x4b5dcb(0x7f),'mupXb':_0x4b5dcb(0x84),'nfKOq':_0x4b5dcb(0xba)};if(!_0x5d2039||!_0x5d2039['parent'])return;[_0x1a2273[_0x4b5dcb(0xa9)],_0x1a2273[_0x4b5dcb(0x87)],_0x1a2273[_0x4b5dcb(0x75)],_0x1a2273[_0x4b5dcb(0xac)]]['forEach'](_0x1aed48=>{const _0x26696f=_0x4b5dcb,_0x31b892={'FBMIr':function(_0x4770bb){const _0x476764=a36_0x2c25;return _0x1a2273[_0x476764(0x9b)](_0x4770bb);},'gTMBh':function(_0xc49b42,_0x3a6db3){return _0x1a2273['PsPOC'](_0xc49b42,_0x3a6db3);},'CaKcJ':_0x1a2273['geidY']},_0x1a24d6=_0x5d2039[_0x26696f(0x9a)][_0x1aed48]||[];_0x1a24d6[_0x26696f(0x91)](_0x358b9c=>{const _0x55ca0c=_0x26696f;if(!_0x358b9c[_0x55ca0c(0xad)])_0x358b9c[_0x55ca0c(0xad)]=_0x31b892['FBMIr'](uuidv4);else _0x358b9c['markedStatus']&&_0x31b892[_0x55ca0c(0x9c)](_0x1aed48,_0x31b892[_0x55ca0c(0xb5)])&&(_0x358b9c[_0x55ca0c(0xad)]=_0x31b892['FBMIr'](uuidv4),delete _0x358b9c['markedStatus']);});}),exports['mapTestHooks'](_0x5d2039[_0x4b5dcb(0x9a)]);},exports[a36_0x58b488(0x8d)]=async(_0x56333a,_0xea3ffd)=>{const _0x1ce8ca=a36_0x58b488,_0x37a19f={'hSQnn':function(_0x128229){return _0x128229();},'Fxhoz':function(_0x38d080,_0x14f641){return _0x38d080(_0x14f641);},'tugNq':_0x1ce8ca(0x73),'cACwr':function(_0x20e9ae,_0x94015){return _0x20e9ae===_0x94015;},'cbkYA':'browserstack','xXqmZ':_0x1ce8ca(0xa8),'hRWeW':_0x1ce8ca(0x65),'PMVhF':function(_0x57a1ec,_0x59ef71){return _0x57a1ec(_0x59ef71);}};try{if(!_0x37a19f[_0x1ce8ca(0x67)](shouldProcessEventForTesthub))return;const _0x3fb830=await _0x56333a[_0x1ce8ca(0xb3)](),_0x3cc1b9=await _0x56333a[_0x1ce8ca(0xb6)](),_0x5ee40e={},_0x316342=Object[_0x1ce8ca(0x7b)](_0x3cc1b9[_0x1ce8ca(0xb3)]()[_0x1ce8ca(0x6b)]),_0x292a78={'product':_0x37a19f['Fxhoz'](getObservabilityLinkedProductName,_0x316342),'capabilities':_0x316342,'platform':_0x3fb830[_0x1ce8ca(0x89)](),'platform_version':_0x3fb830['get'](_0x37a19f[_0x1ce8ca(0x9e)])?_0x3fb830['get'](_0x37a19f[_0x1ce8ca(0x9e)]):_0x37a19f[_0x1ce8ca(0x74)](getPlatformVersion,_0x37a19f[_0x1ce8ca(0xb7)](global['__cloud_provider___'],_0x37a19f['cbkYA'])),'browser':_0x3fb830['getBrowserName'](),'browser_version':_0x3fb830[_0x1ce8ca(0xb9)](),'session_id':_0x3cc1b9[_0x1ce8ca(0x93)]()};global[_0x1ce8ca(0x95)]?_0x5ee40e[global['__cloud_provider___']]=_0x292a78:_0x5ee40e[_0x37a19f[_0x1ce8ca(0x7e)]]=_0x292a78,process[_0x1ce8ca(0xae)](_0x1ce8ca(0x6d)+process[_0x1ce8ca(0x88)],{'timestamp':new Date()['toISOString'](),'level':null,'message':null,'kind':_0x37a19f[_0x1ce8ca(0x92)],'http_response':_0x5ee40e,'uuid':_0xea3ffd});}catch(_0x4a2f60){_0x37a19f[_0x1ce8ca(0xbd)](debug,_0x1ce8ca(0xab)+_0x4a2f60);}},exports[a36_0x58b488(0x76)]=_0x3ebecf=>{const _0xd5f2bb=a36_0x58b488,_0x5e7c8d={};_0x5e7c8d[_0xd5f2bb(0x71)]=function(_0x2a1c42,_0x127a19){return _0x2a1c42!==_0x127a19;},_0x5e7c8d[_0xd5f2bb(0xa0)]=_0xd5f2bb(0x72),_0x5e7c8d[_0xd5f2bb(0xaf)]=_0xd5f2bb(0x79),_0x5e7c8d[_0xd5f2bb(0x86)]=function(_0x507044,_0x3e0744){return _0x507044!==_0x3e0744;},_0x5e7c8d[_0xd5f2bb(0xb4)]=_0xd5f2bb(0x78);const _0x17faae=_0x5e7c8d,_0x44f9d6=_0x3ebecf[_0xd5f2bb(0xbc)]['reduce']((_0xe46dc9,_0x23a721)=>{const _0x5b5888=_0xd5f2bb,_0x18c91d=exports[_0x5b5888(0x76)](_0x23a721);return _0x18c91d&&(_0xe46dc9=_0xe46dc9['concat'](_0x18c91d)),_0xe46dc9;},[]),_0x3668e4=_0x3ebecf[_0xd5f2bb(0xc1)][_0xd5f2bb(0x98)](_0x12c85f=>{const _0x2c8cfa=_0xd5f2bb,_0x7a2eb4=_0x17faae[_0x2c8cfa(0x71)](_0x12c85f[_0x2c8cfa(0x81)],_0x17faae[_0x2c8cfa(0xa0)])&&!_0x12c85f[_0x2c8cfa(0x66)]&&_0x17faae[_0x2c8cfa(0x71)](_0x12c85f[_0x2c8cfa(0x8a)],_0x17faae[_0x2c8cfa(0xaf)])&&_0x17faae[_0x2c8cfa(0x86)](_0x12c85f[_0x2c8cfa(0x8a)],_0x17faae['DYnaN'])&&!_0x12c85f['pending'];return _0x7a2eb4;});return _0x3668e4[_0xd5f2bb(0x85)](_0x44f9d6);};
@@ -1 +1 @@
1
- const a37_0x3b5fde=a37_0x33d9;(function(_0x4544e2,_0x3d8be1){const _0x5bcc4b=a37_0x33d9,_0x135bdc=_0x4544e2();while(!![]){try{const _0x513848=parseInt(_0x5bcc4b(0x1a0))/0x1*(-parseInt(_0x5bcc4b(0x1bd))/0x2)+parseInt(_0x5bcc4b(0x1c7))/0x3+parseInt(_0x5bcc4b(0x1ee))/0x4*(parseInt(_0x5bcc4b(0x205))/0x5)+-parseInt(_0x5bcc4b(0x1db))/0x6*(parseInt(_0x5bcc4b(0x16f))/0x7)+parseInt(_0x5bcc4b(0x15e))/0x8+parseInt(_0x5bcc4b(0x1d8))/0x9+-parseInt(_0x5bcc4b(0x1a6))/0xa;if(_0x513848===_0x3d8be1)break;else _0x135bdc['push'](_0x135bdc['shift']());}catch(_0xcf30ad){_0x135bdc['push'](_0x135bdc['shift']());}}}(a37_0x3716,0x48f0e));const util=require(a37_0x3b5fde(0x172)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a37_0x3b5fde(0x16b)),accessibilityRetryHelper=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a37_0x3b5fde(0x184)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a37_0x3b5fde(0x1ba)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a37_0x3b5fde(0x17c)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require('../../helpers/performance/constants'),globals=require(a37_0x3b5fde(0x1ab)),logger=require('../../helpers/logger')[a37_0x3b5fde(0x1a4)],{shouldProcessEventForTesthub}=require(a37_0x3b5fde(0x163)),testHubConstants=require(a37_0x3b5fde(0x1e0));function a37_0x33d9(_0x58f627,_0x18f83c){const _0x37163f=a37_0x3716();return a37_0x33d9=function(_0x33d9bf,_0x53c056){_0x33d9bf=_0x33d9bf-0x15e;let _0x3271f9=_0x37163f[_0x33d9bf];return _0x3271f9;},a37_0x33d9(_0x58f627,_0x18f83c);}exports[a37_0x3b5fde(0x16a)]={'beforeAll'(){const _0x4b5a85=a37_0x3b5fde,_0x543897={'NRhcx':function(_0x45a075,_0x5d1b47,_0x1182af,_0x125191){return _0x45a075(_0x5d1b47,_0x1182af,_0x125191);},'riDYj':_0x4b5a85(0x1e5),'tWaHO':_0x4b5a85(0x171),'yUOWx':function(_0x592e17,_0x5dbe86,_0x1a2d0b){return _0x592e17(_0x5dbe86,_0x1a2d0b);},'KbMrJ':_0x4b5a85(0x1df),'abRsA':function(_0x3ab9e0){return _0x3ab9e0();},'lCBQR':function(_0x3edf9e,_0x2d0d37,_0x1e7170){return _0x3edf9e(_0x2d0d37,_0x1e7170);},'LNpot':_0x4b5a85(0x195),'aJeQu':_0x4b5a85(0x1fb)};PerformanceTester['startMonitoring']();const _0x49d064='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x4b5a85(0x1bb)],()=>{const _0x501a1d=_0x4b5a85,_0x21049f={'EGuPy':function(_0x4aae7d,_0x56b723,_0x3cbb0e,_0x4958a7){const _0x527125=a37_0x33d9;return _0x543897[_0x527125(0x18b)](_0x4aae7d,_0x56b723,_0x3cbb0e,_0x4958a7);},'yYuzO':_0x543897['riDYj'],'qDRqQ':_0x543897[_0x501a1d(0x1e3)],'SSnbk':function(_0x559080,_0x30dc2d,_0x4cdad7){const _0x337d80=_0x501a1d;return _0x543897[_0x337d80(0x168)](_0x559080,_0x30dc2d,_0x4cdad7);},'btKBd':_0x543897[_0x501a1d(0x1cd)],'xLMSO':function(_0x43dd01){const _0x559c66=_0x501a1d;return _0x543897[_0x559c66(0x165)](_0x43dd01);},'DOrSp':function(_0x429430,_0x453a12,_0x50a74d){const _0x5ac787=_0x501a1d;return _0x543897[_0x5ac787(0x168)](_0x429430,_0x453a12,_0x50a74d);}};global[_0x501a1d(0x1f3)]=[],global[_0x501a1d(0x161)]=![],global[_0x501a1d(0x1da)]=async()=>{const _0x3c52f0=_0x501a1d;let _0x27dedc=![];try{await global[_0x3c52f0(0x1f6)][0x0][_0x3c52f0(0x206)],_0x27dedc=!![],global[_0x3c52f0(0x161)]?await _0x21049f['EGuPy'](markSessionStatus,global['__drivers'][0x0],_0x21049f['yYuzO'],global['__error_messages__'][_0x3c52f0(0x1c6)](_0x21049f[_0x3c52f0(0x1c9)])):await _0x21049f[_0x3c52f0(0x199)](markSessionStatus,global[_0x3c52f0(0x1f6)][0x0],_0x21049f[_0x3c52f0(0x17a)]);}catch(_0x947f4d){logger[_0x3c52f0(0x1ae)](_0x3c52f0(0x1dc)+_0x947f4d);}global[_0x3c52f0(0x1f3)]=[],global[_0x3c52f0(0x161)]=![];if(_0x27dedc)try{try{_0x21049f['xLMSO'](shouldProcessEventForTesthub)&&(global[_0x3c52f0(0x1f6)][0x0]&&await _0x21049f['DOrSp'](sendPlatformDetails,global[_0x3c52f0(0x1f6)][0x0],this['currentTest']?this[_0x3c52f0(0x1ed)][_0x3c52f0(0x1b2)]:null));}catch(_0x21bd84){logger[_0x3c52f0(0x1ae)](_0x3c52f0(0x1a3)+_0x21bd84);}await global[_0x3c52f0(0x1f6)][0x0][_0x3c52f0(0x20c)]();}catch(_0x50fc90){logger[_0x3c52f0(0x1ae)](_0x3c52f0(0x1f1)+_0x50fc90);}};},{'platform':_0x543897[_0x4b5a85(0x18e)](nestedKeyValue,global[_0x4b5a85(0x189)],[_0x543897[_0x4b5a85(0x18a)]]),'hookType':_0x543897[_0x4b5a85(0x208)]})();},'beforeEach'(_0x259a9b){const _0x5aecb6=a37_0x3b5fde,_0x1777f8={'UWRrg':function(_0xce458b,_0x3d2472){return _0xce458b>_0x3d2472;},'rOgEK':_0x5aecb6(0x160),'nBVWh':function(_0x259757,_0x454f0e,_0x2a3f37){return _0x259757(_0x454f0e,_0x2a3f37);},'hKPuF':'bstackA11yShouldScan','XAQhc':function(_0x3e248d){return _0x3e248d();},'EhTVS':function(_0x1792d5,_0x363888){return _0x1792d5>_0x363888;},'drmCH':'isAccessibilityPlatform','AYrvz':function(_0x5c648e,_0x51122d){return _0x5c648e===_0x51122d;},'kXbOb':_0x5aecb6(0x18f),'GFNtY':function(_0x36b11e,_0x38f8de){return _0x36b11e===_0x38f8de;},'qJTsB':'https:','amjit':_0x5aecb6(0x178),'nQJhu':_0x5aecb6(0x19e),'FjkuL':function(_0x464bc9){return _0x464bc9();},'ADozt':_0x5aecb6(0x1ec),'Lzbqa':'index','GYqPj':_0x5aecb6(0x203)};globals['setGlobal'](_0x1777f8[_0x5aecb6(0x1f8)],this[_0x5aecb6(0x1ed)][_0x5aecb6(0x197)]()[_0x5aecb6(0x1c6)](_0x1777f8['rOgEK'])),PerformanceTester[_0x5aecb6(0x183)](PerformanceSdkEvents[_0x5aecb6(0x1bb)],()=>{const _0x52d636={'ZsKSZ':function(_0x537164){return _0x1777f8['FjkuL'](_0x537164);}},_0x276080='browserstack internal helper hook';new Promise(async _0x19309e=>{const _0x32be09=a37_0x33d9;let _0x1dc297=!![];try{_0x1777f8['UWRrg'](global[_0x32be09(0x1f6)][_0x32be09(0x186)],0x1)&&(await global[_0x32be09(0x1da)](),global['__drivers']['shift']()),_0x1777f8[_0x32be09(0x17b)](global['__drivers'][0x0][_0x32be09(0x20e)],0x0)&&(_0x1dc297=![],await global[_0x32be09(0x1da)]());}catch(_0x112fdb){logger[_0x32be09(0x1ae)](_0x32be09(0x1f1)+_0x112fdb);}try{Array[_0x32be09(0x162)](global[_0x32be09(0x1f6)])&&global[_0x32be09(0x1f6)][0x0]&&(global[_0x32be09(0x1f6)][0x0][_0x32be09(0x1d3)]=this[_0x32be09(0x1ed)]['titlePath']()[_0x32be09(0x1c6)](_0x1777f8[_0x32be09(0x210)])),global[_0x32be09(0x1d3)]=this[_0x32be09(0x1ed)][_0x32be09(0x197)]()[_0x32be09(0x1c6)](_0x1777f8[_0x32be09(0x210)]);}catch(_0x382eeb){logger[_0x32be09(0x1ae)](_0x32be09(0x1d7)+_0x382eeb);}this[_0x32be09(0x1ed)][_0x32be09(0x173)]=_0x1777f8['nBVWh'](shouldScanTestForAccessibility,this[_0x32be09(0x1ed)][_0x32be09(0x197)](),!![]),globals['setGlobal'](_0x1777f8[_0x32be09(0x177)],this[_0x32be09(0x1ed)][_0x32be09(0x173)]),this[_0x32be09(0x1ed)][_0x32be09(0x1be)]=!![];if(_0x1777f8[_0x32be09(0x204)](isAccessibilityAutomationSession)&&_0x1dc297&&Array[_0x32be09(0x162)](global[_0x32be09(0x1f6)])&&_0x1777f8[_0x32be09(0x198)](global[_0x32be09(0x1f6)]['length'],0x0)&&globals[_0x32be09(0x1d4)](_0x1777f8[_0x32be09(0x211)]))try{const _0xc71b06=await global[_0x32be09(0x1f6)][0x0][_0x32be09(0x206)];if(_0xc71b06){let _0x782d65=!![];const _0x1955fe=await global[_0x32be09(0x1f6)][0x0][_0x32be09(0x1c5)]();let _0x838bbc;try{_0x838bbc=new URL(_0x1955fe);}catch(_0x21f9fb){_0x782d65=![];}_0x782d65=_0x1777f8[_0x32be09(0x1f7)](_0x838bbc[_0x32be09(0x1d5)],_0x1777f8[_0x32be09(0x200)])||_0x1777f8[_0x32be09(0x1a1)](_0x838bbc[_0x32be09(0x1d5)],_0x1777f8[_0x32be09(0x201)]),_0x782d65&&(this[_0x32be09(0x1ed)]['shouldScanTestForAccessibility']&&logger[_0x32be09(0x176)](_0x1777f8[_0x32be09(0x1b3)])),this[_0x32be09(0x1ed)][_0x32be09(0x1be)]=this[_0x32be09(0x1ed)][_0x32be09(0x173)],this[_0x32be09(0x1ed)][_0x32be09(0x173)]&&logger[_0x32be09(0x176)](_0x1777f8['nQJhu']);}}catch(_0x3db749){logger['error']('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x32be09(0x16e)](_0x3db749));}_0x1777f8[_0x32be09(0x204)](_0x19309e);})['then'](()=>{const _0x2daefc=a37_0x33d9;_0x52d636[_0x2daefc(0x17e)](_0x259a9b);});},{'platform':_0x1777f8[_0x5aecb6(0x170)](nestedKeyValue,global[_0x5aecb6(0x189)],[_0x1777f8['Lzbqa']]),'hookType':_0x1777f8[_0x5aecb6(0x1c0)]})();},'afterEach'(_0x329f29){const _0x361101=a37_0x3b5fde,_0x434f7d={'WYBId':function(_0x1dedf1,_0x33acb){return _0x1dedf1>_0x33acb;},'akLpY':function(_0x1867ab,_0x139e73){return _0x1867ab===_0x139e73;},'SDsKA':'testcase','vbyFy':function(_0x15fdf3,_0x5218c8){return _0x15fdf3>_0x5218c8;},'UPcbq':_0x361101(0x1e6),'hXlrd':function(_0x445fef,_0xa25c7a,_0x493d73,_0x27a6d3){return _0x445fef(_0xa25c7a,_0x493d73,_0x27a6d3);},'suabp':_0x361101(0x1ff),'KkCaE':_0x361101(0x1d6),'nDWyi':_0x361101(0x1c1),'QryOB':'Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','gxAoY':_0x361101(0x1de),'ZesOG':'Accessibility\x20scan\x20completed\x20successfully','Yxzzh':_0x361101(0x188),'IEtim':_0x361101(0x1c2),'bCeYt':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','PwotM':_0x361101(0x196),'yQLYf':function(_0x4ddafc){return _0x4ddafc();},'pcMJL':function(_0x2d9793,_0x187eee,_0x183685){return _0x2d9793(_0x187eee,_0x183685);},'YSRhO':function(_0x3c3ad8,_0x5d2c97,_0x2e7004){return _0x3c3ad8(_0x5d2c97,_0x2e7004);},'NPbpP':_0x361101(0x1ae),'PcleR':'\x20-\x20','eMCAl':function(_0x41f337,_0x2285da){return _0x41f337!==_0x2285da;},'lnEpV':'passed','Hdltb':function(_0x5ccef9,_0x110560,_0x44577f){return _0x5ccef9(_0x110560,_0x44577f);},'pLsoR':function(_0x5e1a5d,_0x15fef4){return _0x5e1a5d+_0x15fef4;},'HxYfM':_0x361101(0x181),'szJBL':'error','qlWyT':'Passed','tNRoo':_0x361101(0x176),'abAfm':function(_0x1a167e){return _0x1a167e();},'BrVQH':_0x361101(0x1a9),'hVhEE':function(_0x5b47b2,_0x3f7d75,_0xa3c89){return _0x5b47b2(_0x3f7d75,_0xa3c89);},'VKEOH':'index','FnKqZ':_0x361101(0x19d)},_0x5812ec='browserstack internal helper hook';this[_0x361101(0x167)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x434f7d[_0x361101(0x1d9)]]),global[_0x361101(0x1b4)]=this[_0x361101(0x1ed)]['titlePath']()['join'](_0x434f7d[_0x361101(0x1b8)]),PerformanceTester[_0x361101(0x183)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x26075f=_0x361101,_0x19049e={'IkSMa':_0x434f7d[_0x26075f(0x1b8)],'IHvBL':function(_0x56e5fd,_0x183b01){const _0x5d64d4=_0x26075f;return _0x434f7d[_0x5d64d4(0x16d)](_0x56e5fd,_0x183b01);},'EGsgc':_0x434f7d[_0x26075f(0x191)],'kQvXv':function(_0x2f5e3f,_0x5c1c7b,_0x2f62b7){const _0x3efd98=_0x26075f;return _0x434f7d[_0x3efd98(0x182)](_0x2f5e3f,_0x5c1c7b,_0x2f62b7);},'GBLPi':function(_0x38dc21,_0x163642){return _0x434f7d['pLsoR'](_0x38dc21,_0x163642);},'KlEND':_0x434f7d[_0x26075f(0x179)],'lSvmt':_0x434f7d['szJBL'],'GuzYu':_0x434f7d[_0x26075f(0x1af)],'lcINF':_0x434f7d[_0x26075f(0x1f2)],'VOWzo':function(_0x4882bd){const _0x536c03=_0x26075f;return _0x434f7d[_0x536c03(0x1ad)](_0x4882bd);}},_0x160a90=async(_0x23ce92,_0xbf25d7)=>{const _0x49553e=_0x26075f;await global[_0x49553e(0x1f6)][0x0][_0x49553e(0x17f)](_0x49553e(0x1eb)+_0x23ce92+_0x49553e(0x1e1)+_0xbf25d7+_0x49553e(0x174));};new Promise(async _0x5dee27=>{const _0x2a9c8b=_0x26075f;try{_0x434f7d[_0x2a9c8b(0x1b0)](global[_0x2a9c8b(0x1f6)][_0x2a9c8b(0x186)],0x1)&&(await global[_0x2a9c8b(0x1da)](),global[_0x2a9c8b(0x1f6)][_0x2a9c8b(0x1ac)](),global['__error_messages__']=[],global[_0x2a9c8b(0x161)]=![]);try{if(global[_0x2a9c8b(0x20a)]&&_0x434f7d[_0x2a9c8b(0x190)](global['percyCaptureMode'],_0x434f7d[_0x2a9c8b(0x1e2)])&&global['__drivers'][0x0]){const _0x575188=_0x434f7d['vbyFy'](global[_0x2a9c8b(0x1fe)][_0x2a9c8b(0x186)],0x0)?!!global[_0x2a9c8b(0x1fe)][0x0][_0x2a9c8b(0x207)]||!!global[_0x2a9c8b(0x1fe)][0x0][_0x434f7d[_0x2a9c8b(0x16c)]]:![],_0x1cb5d4={};_0x1cb5d4['app']=_0x575188,await _0x434f7d[_0x2a9c8b(0x1c4)](percyAutoCapture,global[_0x2a9c8b(0x1f6)][0x0],_0x434f7d[_0x2a9c8b(0x1e2)],_0x1cb5d4);}}catch(_0x10e988){logger['debug'](_0x2a9c8b(0x1c3)+_0x10e988);}!global[_0x2a9c8b(0x1e7)]&&(await PerformanceTester[_0x2a9c8b(0x183)](PerformanceAutEvents[_0x2a9c8b(0x1ca)],async()=>{const _0xd32635=_0x2a9c8b;await global[_0xd32635(0x1f6)][0x0][_0xd32635(0x17f)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0xd32635(0x194)](this[_0xd32635(0x1ed)][_0xd32635(0x197)]()[_0xd32635(0x1c6)](_0x19049e[_0xd32635(0x1fd)]))+'}}');})(),global[_0x2a9c8b(0x1f6)][0x0][_0x2a9c8b(0x1f4)]=!![]),await PerformanceTester[_0x2a9c8b(0x183)](PerformanceAutEvents[_0x2a9c8b(0x193)],async()=>{const _0x52ac78=_0x2a9c8b,_0x166b66=_0x19049e[_0x52ac78(0x15f)](this[_0x52ac78(0x1ed)][_0x52ac78(0x1fc)],_0x19049e[_0x52ac78(0x1ef)]);_0x166b66?(global[_0x52ac78(0x161)]=!![],global[_0x52ac78(0x1f3)][_0x52ac78(0x1ea)](this[_0x52ac78(0x1ed)][_0x52ac78(0x1d2)][_0x52ac78(0x1fa)]),await _0x19049e[_0x52ac78(0x19a)](_0x160a90,JSON['stringify'](_0x19049e[_0x52ac78(0x1cc)](_0x19049e['KlEND'],this[_0x52ac78(0x1ed)][_0x52ac78(0x1d2)][_0x52ac78(0x1fa)])),_0x19049e[_0x52ac78(0x1a8)])):await _0x19049e[_0x52ac78(0x19a)](_0x160a90,JSON[_0x52ac78(0x194)](_0x19049e[_0x52ac78(0x1f5)]),_0x19049e[_0x52ac78(0x18d)]);})();}catch(_0x365ee9){logger[_0x2a9c8b(0x1ae)]('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x365ee9);}try{if(this['currentTest']['accessibilityScanStarted']&&globals[_0x2a9c8b(0x1d4)](_0x434f7d['suabp'])&&globals[_0x2a9c8b(0x1d4)](_0x434f7d[_0x2a9c8b(0x1c8)])){logger[_0x2a9c8b(0x176)](_0x434f7d[_0x2a9c8b(0x1aa)]);const _0x32a1b6={};_0x32a1b6[_0x2a9c8b(0x1b9)]=this[_0x2a9c8b(0x1ed)][_0x2a9c8b(0x1b2)],_0x32a1b6[_0x2a9c8b(0x1b1)]=process[_0x2a9c8b(0x1d1)][testHubConstants[_0x2a9c8b(0x20b)]['BROWSERSTACK_TESTHUB_UUID']],_0x32a1b6['thJwtToken']=process['env'][testHubConstants[_0x2a9c8b(0x20b)][_0x2a9c8b(0x1f0)]];const _0x49c13a=_0x32a1b6;logger[_0x2a9c8b(0x1ae)](_0x2a9c8b(0x17d)+JSON[_0x2a9c8b(0x194)](_0x49c13a)),logger[_0x2a9c8b(0x1ae)](_0x434f7d[_0x2a9c8b(0x1cf)]);const _0x5f3906={};_0x5f3906['command']=_0x434f7d[_0x2a9c8b(0x1d0)];const _0x37601d=await PerformanceTester[_0x2a9c8b(0x183)](PerformanceA11yEvents[_0x2a9c8b(0x1a7)],async()=>{const _0x101bc0=_0x2a9c8b;return await accessibilityRetryHelper[_0x101bc0(0x20f)](global[_0x101bc0(0x1f6)][0x0],global[_0x101bc0(0x1d3)]);},_0x5f3906)();_0x37601d?logger[_0x2a9c8b(0x1ae)](_0x434f7d[_0x2a9c8b(0x19f)]):logger[_0x2a9c8b(0x1b5)](_0x434f7d['Yxzzh']);const _0x3e305d=await PerformanceTester[_0x2a9c8b(0x183)](PerformanceA11yEvents[_0x2a9c8b(0x1dd)],async()=>{const _0x246cf7=_0x2a9c8b;return await accessibilityRetryHelper[_0x246cf7(0x19b)](global[_0x246cf7(0x1f6)][0x0],_0x49c13a);})();_0x3e305d?logger[_0x2a9c8b(0x1ae)](_0x434f7d[_0x2a9c8b(0x1ce)]):logger[_0x2a9c8b(0x1b5)](_0x434f7d['bCeYt']),logger[_0x2a9c8b(0x176)](_0x434f7d[_0x2a9c8b(0x1a5)]);}}catch(_0x2ac56f){logger['error'](_0x2a9c8b(0x1f9)+this[_0x2a9c8b(0x1ed)][_0x2a9c8b(0x197)]()+_0x2a9c8b(0x1bc),_0x2ac56f);}try{try{if(_0x434f7d[_0x2a9c8b(0x192)](shouldProcessEventForTesthub)){global[_0x2a9c8b(0x1f6)][0x0]&&await _0x434f7d['pcMJL'](sendPlatformDetails,global[_0x2a9c8b(0x1f6)][0x0],this[_0x2a9c8b(0x1ed)]?this[_0x2a9c8b(0x1ed)]['testAnalyticsId']:null);if(_0x434f7d[_0x2a9c8b(0x192)](isBrowserstackInfra)){PerformanceTester[_0x2a9c8b(0x166)](PerformanceO11yEvents[_0x2a9c8b(0x1e8)]);const _0x163b49=_0x2a9c8b(0x1cb)+Date[_0x2a9c8b(0x1bf)]();await _0x434f7d[_0x2a9c8b(0x18c)](_0x160a90,JSON[_0x2a9c8b(0x194)](_0x163b49),_0x434f7d[_0x2a9c8b(0x1a2)]),PerformanceTester[_0x2a9c8b(0x175)](PerformanceO11yEvents[_0x2a9c8b(0x1e8)]);}}}catch(_0x9d0dc8){logger['debug']('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x9d0dc8),PerformanceTester['end'](PerformanceO11yEvents[_0x2a9c8b(0x1e8)],![],_0x9d0dc8);}_0x434f7d[_0x2a9c8b(0x1e4)](global[_0x2a9c8b(0x1f6)][0x0][_0x2a9c8b(0x20e)],0x0)&&await global[_0x2a9c8b(0x1da)]();}catch(_0x276e79){logger[_0x2a9c8b(0x1ae)](_0x2a9c8b(0x1f1)+_0x276e79);}_0x434f7d[_0x2a9c8b(0x192)](_0x5dee27);})[_0x26075f(0x202)](()=>{const _0x1fb65d=_0x26075f;_0x19049e[_0x1fb65d(0x180)](_0x329f29);});},{'platform':_0x434f7d['hVhEE'](nestedKeyValue,global[_0x361101(0x189)],[_0x434f7d[_0x361101(0x20d)]]),'hookType':_0x434f7d[_0x361101(0x1b6)]})();},'afterAll'(_0x18d04c){const _0x5974a2=a37_0x3b5fde,_0x31491d={'IgQkE':function(_0x3ae773){return _0x3ae773();},'rNxoy':_0x5974a2(0x1a9),'zUBFw':function(_0x117070,_0x11df27,_0x49553c){return _0x117070(_0x11df27,_0x49553c);},'RTWOB':_0x5974a2(0x195),'IKUGn':_0x5974a2(0x1b7)},_0x468620='browserstack internal helper hook';this[_0x5974a2(0x167)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x31491d[_0x5974a2(0x19c)]]),PerformanceTester[_0x5974a2(0x183)](PerformanceSdkEvents[_0x5974a2(0x1bb)],()=>{const _0x2db5e3=_0x5974a2,_0x4558f0={'ONZYt':function(_0xdda152){const _0x17187e=a37_0x33d9;return _0x31491d[_0x17187e(0x169)](_0xdda152);}};new Promise(async _0x49692d=>{const _0x151ce3=a37_0x33d9;await global['driverCleanup'](),_0x31491d[_0x151ce3(0x169)](_0x49692d);})['then']()[_0x2db5e3(0x164)](()=>{const _0x2e2495=_0x2db5e3;_0x4558f0[_0x2e2495(0x209)](_0x18d04c);});},{'platform':_0x31491d[_0x5974a2(0x185)](nestedKeyValue,global[_0x5974a2(0x189)],[_0x31491d[_0x5974a2(0x187)]]),'hookType':_0x31491d[_0x5974a2(0x1e9)]})();}};function a37_0x3716(){const _0x4eb1a9=['177318ocBlmQ','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','SAVE_RESULTS','afterTest','passed','../../helpers/testhub/constants',',\x22level\x22:\x20\x22','SDsKA','tWaHO','vbyFy','failed','appium:app','__skipSessionName','SYNC','IKUGn','push','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','browserstackTestName','currentTest','52wHAagw','EGsgc','BROWSERSTACK_TESTHUB_JWT','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','tNRoo','__error_messages__','sessionNameSet__','GuzYu','__drivers','AYrvz','ADozt','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','message','beforeAll','state','IkSMa','capabilities','isAccessibilityPlatform','kXbOb','qJTsB','then','beforeEach','XAQhc','111410MrxarT','session_','app','aJeQu','ONZYt','percy','ENV_VAR','initQuit','VKEOH','quitCount_','performScanWithRetry','rOgEK','drmCH','4572184QhGihR','IHvBL','\x20-\x20','__sessionFailed','isArray','../../helpers/testhub/utils','finally','abRsA','start','timeout','yUOWx','IgQkE','mochaHooks','../../helpers/accessibility-automation/helper','UPcbq','eMCAl','format','7JDmQKp','nBVWh','\x20|\x20','util','shouldScanTestForAccessibility','\x22}}','end','info','hKPuF','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','HxYfM','btKBd','UWRrg','../../helpers/performance/performance-tester','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','ZsKSZ','executeScript','VOWzo','Failed:\x20','Hdltb','measureWrapper','../utils/constants','zUBFw','length','RTWOB','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','__platformCaps','LNpot','NRhcx','YSRhO','lcINF','lCBQR','http:','akLpY','lnEpV','yQLYf','SESSION_STATUS','stringify','index','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','titlePath','EhTVS','SSnbk','kQvXv','saveAccessibilityResultsWithRetry','rNxoy','afterEach','Automate\x20test\x20case\x20execution\x20has\x20started.','ZesOG','1kCZCdS','GFNtY','NPbpP','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','winstonLogger','PwotM','10362230LBfVJT','PERFORM_SCAN','lSvmt','Mocha','nDWyi','../../helpers/globals','shift','abAfm','debug','qlWyT','WYBId','thBuildUuid','testAnalyticsId','amjit','sessionName','warn','FnKqZ','afterAll','PcleR','thTestRunUuid','./test-observability/mochaUtils','SDK_HOOK','.\x20Error\x20:','808274kgbqLG','accessibilityScanStarted','now','GYqPj','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','Accessibility\x20results\x20saved\x20successfully','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','hXlrd','getCurrentUrl','join','1403994pWDhdI','KkCaE','qDRqQ','SESSION_NAME','ObservabilitySync:','GBLPi','KbMrJ','IEtim','QryOB','gxAoY','env','err','browserstackSessionName','getGlobal','protocol','bstackA11yShouldScan','Failed\x20to\x20store\x20session\x20name:\x20','3955428OPREoO','BrVQH','driverCleanup'];a37_0x3716=function(){return _0x4eb1a9;};return a37_0x3716();}
1
+ function a37_0x40eb(){const _0x3b1b36=['eAUCa','oTuTc','mochaHooks','start','271064Yccfuu','IMqbV','shouldScanTestForAccessibility','RxXTq','thBuildUuid','length','Accessibility\x20results\x20saved\x20successfully','NYQfS','capabilities','thJwtToken','sessionNameSet__','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','SwMuY','__skipSessionName','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','nzkFs','UYMmk','beforeAll','tUUcO','percyCaptureMode','mxrZu','executeScript','../../helpers/percy/utils','umRui','afterAll','accessibilityScanStarted','isArray','rvWMC','session_','XIifd','SDK_HOOK','BROWSERSTACK_TESTHUB_JWT','util','1828100RQBUeR','DnEIe','warn','../../helpers/accessibility-automation/helper','quitCount_','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','NBZWZ','./test-observability/mochaUtils','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','state','14OkhjQH','EEnpn','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','66514abHDaW','GTuhZ','UUCRk','info','kKrVl','format','hFISy','VHJYh','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','evwqu','wrwdz','Accessibility\x20scan\x20completed\x20successfully','zSVcE','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','ZhYIX','KNlpd','NkjXK','setGlobal','SESSION_NAME','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','failed','cDSmz','flZIS','../../helpers/globals','GMhSn','ENV_VAR','initQuit','CyRLw','jQXLa','9YcERdn','znWQr','finally','kUExz','YrUhk','then','Vkbly','../../helpers/performance/constants','Mocha','Automate\x20test\x20case\x20execution\x20has\x20started.','JjcpF','kKbDK','oxPEg','ZcRVH','currentTest','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','rgztR','shift','__drivers','ObservabilitySync:','oVCUC','tbvuS','../utils/constants','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20',',\x22level\x22:\x20\x22','xhmnb','7352917zexMzH','OjfgS','QBbzF','qBWBD','__sessionFailed','protocol','1080870sxYIbr','DsgSd','http:','Failed:\x20','../../helpers/helper','SESSION_STATUS','now','percy','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','bBcbr','GJdaP','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','bstackA11yShouldScan','MPsmP','beforeEach','winstonLogger','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','zoNTx','thTestRunUuid','isAccessibilityPlatform','1354590aFKRSp','QGyQZ','debug','DlRKY','4nhYRNX','dZTOK','../../helpers/testhub/constants','UuBVf','index','wJJgq','iIjsf','vyHCW','sessionName','qgPEQ','\x22}}','OgebG','Vbtpt','browserstackSessionName','end','MHcuD','getCurrentUrl','\x20-\x20','measureWrapper','../../helpers/performance/performance-tester','TJTik','testAnalyticsId','stringify','err','daNvG','aLquT','join','dxmIA','app','nFMLT','1903870rbCJGR','grCpR','xkWFp','BROWSERSTACK_TESTHUB_UUID','passed','startMonitoring','SYNC','oBUTS','driverCleanup','Nmvta','cjOGI','4CjCrgg','performScanWithRetry','https:','xhKQZ','dtMip','__platformCaps','../../helpers/accessibility-automation/accessibilityRetryHelper','titlePath','command','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','env','DhTkO','ZefhC','timeout','getGlobal','yjkiz','message','__error_messages__','push','../../helpers/testhub/utils'];a37_0x40eb=function(){return _0x3b1b36;};return a37_0x40eb();}const a37_0x46ff50=a37_0x239c;function a37_0x239c(_0x22732,_0x21e0e7){const _0x40eb97=a37_0x40eb();return a37_0x239c=function(_0x239cfd,_0x5f2fc9){_0x239cfd=_0x239cfd-0x1e9;let _0x53a1aa=_0x40eb97[_0x239cfd];return _0x53a1aa;},a37_0x239c(_0x22732,_0x21e0e7);}(function(_0x56e9b4,_0x129185){const _0x32be86=a37_0x239c,_0x5be429=_0x56e9b4();while(!![]){try{const _0x338be4=-parseInt(_0x32be86(0x231))/0x1*(parseInt(_0x32be86(0x286))/0x2)+-parseInt(_0x32be86(0x26e))/0x3*(-parseInt(_0x32be86(0x1ea))/0x4)+parseInt(_0x32be86(0x224))/0x5+parseInt(_0x32be86(0x282))/0x6+-parseInt(_0x32be86(0x22e))/0x7*(-parseInt(_0x32be86(0x202))/0x8)+-parseInt(_0x32be86(0x24e))/0x9*(-parseInt(_0x32be86(0x2a4))/0xa)+-parseInt(_0x32be86(0x268))/0xb;if(_0x338be4===_0x129185)break;else _0x5be429['push'](_0x5be429['shift']());}catch(_0x3b6325){_0x5be429['push'](_0x5be429['shift']());}}}(a37_0x40eb,0x63b21));const util=require(a37_0x46ff50(0x223)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a37_0x46ff50(0x227)),accessibilityRetryHelper=require(a37_0x46ff50(0x1f0)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a37_0x46ff50(0x264)),{percyAutoCapture}=require(a37_0x46ff50(0x219)),{sendPlatformDetails}=require(a37_0x46ff50(0x22b)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a37_0x46ff50(0x272)),PerformanceTester=require(a37_0x46ff50(0x299)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a37_0x46ff50(0x255)),globals=require(a37_0x46ff50(0x248)),logger=require('../../helpers/logger')[a37_0x46ff50(0x27d)],{shouldProcessEventForTesthub}=require(a37_0x46ff50(0x1fd)),testHubConstants=require(a37_0x46ff50(0x288));exports[a37_0x46ff50(0x200)]={'beforeAll'(){const _0x4adbba=a37_0x46ff50,_0x46c0b7={'VHJYh':function(_0x419470,_0x5e69e5,_0x68cade,_0x5b2d88){return _0x419470(_0x5e69e5,_0x68cade,_0x5b2d88);},'rvWMC':_0x4adbba(0x245),'cDSmz':'\x20|\x20','nFMLT':function(_0xc1d1e3,_0x583b97,_0x521dc6){return _0xc1d1e3(_0x583b97,_0x521dc6);},'mxrZu':_0x4adbba(0x2a8),'KNlpd':function(_0x1dc7b5){return _0x1dc7b5();},'GTuhZ':_0x4adbba(0x28a),'OgebG':_0x4adbba(0x214)};PerformanceTester[_0x4adbba(0x2a9)]();const _0x4e3e84='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x4adbba(0x221)],()=>{const _0x1ba66b=_0x4adbba,_0x232ba2={'Vbtpt':function(_0x308b13,_0xcc1b05,_0x258ed8,_0x46dc74){const _0x54bae9=a37_0x239c;return _0x46c0b7[_0x54bae9(0x238)](_0x308b13,_0xcc1b05,_0x258ed8,_0x46dc74);},'owXwL':_0x46c0b7[_0x1ba66b(0x21e)],'JiWyH':_0x46c0b7[_0x1ba66b(0x246)],'QBbzF':function(_0x5715fe,_0x162b3a,_0x1b29ad){const _0x414989=_0x1ba66b;return _0x46c0b7[_0x414989(0x2a3)](_0x5715fe,_0x162b3a,_0x1b29ad);},'xhmnb':_0x46c0b7[_0x1ba66b(0x217)],'NYQfS':function(_0x115b33){const _0x5291ce=_0x1ba66b;return _0x46c0b7[_0x5291ce(0x240)](_0x115b33);}};global[_0x1ba66b(0x1fb)]=[],global['__sessionFailed']=![],global[_0x1ba66b(0x2ac)]=async()=>{const _0x29a58d=_0x1ba66b;let _0x5d7f7e=![];try{await global[_0x29a58d(0x260)][0x0]['session_'],_0x5d7f7e=!![],global[_0x29a58d(0x26c)]?await _0x232ba2[_0x29a58d(0x292)](markSessionStatus,global['__drivers'][0x0],_0x232ba2['owXwL'],global[_0x29a58d(0x1fb)][_0x29a58d(0x2a0)](_0x232ba2['JiWyH'])):await _0x232ba2[_0x29a58d(0x26a)](markSessionStatus,global[_0x29a58d(0x260)][0x0],_0x232ba2[_0x29a58d(0x267)]);}catch(_0x129c1a){logger['debug'](_0x29a58d(0x20e)+_0x129c1a);}global[_0x29a58d(0x1fb)]=[],global[_0x29a58d(0x26c)]=![];if(_0x5d7f7e)try{try{_0x232ba2[_0x29a58d(0x209)](shouldProcessEventForTesthub)&&(global[_0x29a58d(0x260)][0x0]&&await _0x232ba2[_0x29a58d(0x26a)](sendPlatformDetails,global[_0x29a58d(0x260)][0x0],this['currentTest']?this['currentTest']['testAnalyticsId']:null));}catch(_0xb51978){logger['debug']('Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20'+_0xb51978);}await global[_0x29a58d(0x260)][0x0][_0x29a58d(0x24b)]();}catch(_0x509320){logger[_0x29a58d(0x284)](_0x29a58d(0x1f3)+_0x509320);}};},{'platform':_0x46c0b7[_0x4adbba(0x2a3)](nestedKeyValue,global[_0x4adbba(0x1ef)],[_0x46c0b7[_0x4adbba(0x232)]]),'hookType':_0x46c0b7[_0x4adbba(0x291)]})();},'beforeEach'(_0x423384){const _0x18866b=a37_0x46ff50,_0x46a105={'nzkFs':function(_0x5c9bb0,_0x52c072){return _0x5c9bb0>_0x52c072;},'GJdaP':function(_0x3268f2,_0x3b3588){return _0x3268f2>_0x3b3588;},'DsgSd':_0x18866b(0x297),'evwqu':function(_0x237489,_0x4952c3,_0x20eae1){return _0x237489(_0x4952c3,_0x20eae1);},'tbvuS':_0x18866b(0x27a),'bBcbr':function(_0xecf479){return _0xecf479();},'Vkbly':function(_0x28c308,_0x5b293c){return _0x28c308>_0x5b293c;},'vcEco':_0x18866b(0x281),'YrUhk':function(_0x2697f7,_0x380826){return _0x2697f7===_0x380826;},'ZcRVH':_0x18866b(0x270),'eAUCa':function(_0xe2e817,_0x9e4eb2){return _0xe2e817===_0x9e4eb2;},'ARaSM':_0x18866b(0x1ec),'UuBVf':_0x18866b(0x23e),'yjkiz':_0x18866b(0x257),'kAOMQ':function(_0x2596f4){return _0x2596f4();},'vyHCW':'browserstackTestName','Nmvta':_0x18866b(0x28a),'kFdMA':_0x18866b(0x27c)};globals['setGlobal'](_0x46a105[_0x18866b(0x28d)],this[_0x18866b(0x25c)]['titlePath']()['join'](_0x46a105[_0x18866b(0x26f)])),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x18866b(0x221)],()=>{const _0x40783c=_0x18866b,_0x5032e9={'xkWFp':function(_0x213ef7){const _0x4c009e=a37_0x239c;return _0x46a105[_0x4c009e(0x277)](_0x213ef7);}},_0x4f93e1='browserstack internal helper hook';new Promise(async _0x4b685a=>{const _0x53a70c=a37_0x239c;let _0x728d46=!![];try{_0x46a105[_0x53a70c(0x212)](global[_0x53a70c(0x260)]['length'],0x1)&&(await global[_0x53a70c(0x2ac)](),global[_0x53a70c(0x260)][_0x53a70c(0x25f)]()),_0x46a105[_0x53a70c(0x278)](global[_0x53a70c(0x260)][0x0]['quitCount_'],0x0)&&(_0x728d46=![],await global['driverCleanup']());}catch(_0x492ec3){logger['debug'](_0x53a70c(0x1f3)+_0x492ec3);}try{Array[_0x53a70c(0x21d)](global['__drivers'])&&global[_0x53a70c(0x260)][0x0]&&(global[_0x53a70c(0x260)][0x0][_0x53a70c(0x293)]=this[_0x53a70c(0x25c)][_0x53a70c(0x1f1)]()['join'](_0x46a105['DsgSd'])),global[_0x53a70c(0x293)]=this[_0x53a70c(0x25c)][_0x53a70c(0x1f1)]()[_0x53a70c(0x2a0)](_0x46a105[_0x53a70c(0x26f)]);}catch(_0x476f09){logger['debug']('Failed\x20to\x20store\x20session\x20name:\x20'+_0x476f09);}this['currentTest'][_0x53a70c(0x204)]=_0x46a105[_0x53a70c(0x23a)](shouldScanTestForAccessibility,this['currentTest'][_0x53a70c(0x1f1)](),!![]),globals[_0x53a70c(0x242)](_0x46a105[_0x53a70c(0x263)],this[_0x53a70c(0x25c)][_0x53a70c(0x204)]),this['currentTest'][_0x53a70c(0x21c)]=!![];if(_0x46a105[_0x53a70c(0x277)](isAccessibilityAutomationSession)&&_0x728d46&&Array[_0x53a70c(0x21d)](global['__drivers'])&&_0x46a105[_0x53a70c(0x254)](global[_0x53a70c(0x260)][_0x53a70c(0x207)],0x0)&&globals[_0x53a70c(0x1f8)](_0x46a105['vcEco']))try{const _0xb7253d=await global[_0x53a70c(0x260)][0x0][_0x53a70c(0x21f)];if(_0xb7253d){let _0x329dcb=!![];const _0x84c479=await global[_0x53a70c(0x260)][0x0][_0x53a70c(0x296)]();let _0x450c24;try{_0x450c24=new URL(_0x84c479);}catch(_0x2b08e2){_0x329dcb=![];}_0x329dcb=_0x46a105[_0x53a70c(0x252)](_0x450c24['protocol'],_0x46a105[_0x53a70c(0x25b)])||_0x46a105[_0x53a70c(0x1fe)](_0x450c24[_0x53a70c(0x26d)],_0x46a105['ARaSM']),_0x329dcb&&(this[_0x53a70c(0x25c)][_0x53a70c(0x204)]&&logger[_0x53a70c(0x234)](_0x46a105[_0x53a70c(0x289)])),this[_0x53a70c(0x25c)]['accessibilityScanStarted']=this['currentTest'][_0x53a70c(0x204)],this[_0x53a70c(0x25c)][_0x53a70c(0x204)]&&logger[_0x53a70c(0x234)](_0x46a105[_0x53a70c(0x1f9)]);}}catch(_0x478071){logger['error'](_0x53a70c(0x265)+util[_0x53a70c(0x236)](_0x478071));}_0x46a105['kAOMQ'](_0x4b685a);})[_0x40783c(0x253)](()=>{const _0x5150f5=_0x40783c;_0x5032e9[_0x5150f5(0x2a6)](_0x423384);});},{'platform':_0x46a105['evwqu'](nestedKeyValue,global['__platformCaps'],[_0x46a105[_0x18866b(0x2ad)]]),'hookType':_0x46a105['kFdMA']})();},'afterEach'(_0x109157){const _0x38f436=a37_0x46ff50,_0x49c342={'UYMmk':'\x20-\x20','GMhSn':function(_0x268513,_0x2ef038){return _0x268513!==_0x2ef038;},'OIVKf':_0x38f436(0x2a8),'EEnpn':function(_0x217400,_0x4d1e10,_0x4e65fe){return _0x217400(_0x4d1e10,_0x4e65fe);},'iIjsf':function(_0x12a114,_0x16bb03){return _0x12a114+_0x16bb03;},'dZTOK':_0x38f436(0x271),'qgPEQ':'error','dtMip':function(_0x53b372,_0x26fc5e,_0x1759f3){return _0x53b372(_0x26fc5e,_0x1759f3);},'lOVoU':'Passed','yxrUY':_0x38f436(0x234),'oTuTc':function(_0x272c04,_0x340f06){return _0x272c04>_0x340f06;},'oBUTS':function(_0x41868d,_0x596385){return _0x41868d===_0x596385;},'IMqbV':'testcase','DnEIe':'appium:app','jQXLa':function(_0x16300c,_0x397f18,_0x501b7a,_0x441c8a){return _0x16300c(_0x397f18,_0x501b7a,_0x441c8a);},'JjcpF':_0x38f436(0x281),'oVCUC':_0x38f436(0x27a),'znWQr':_0x38f436(0x229),'DlRKY':_0x38f436(0x25d),'WqnGb':'afterTest','TJTik':_0x38f436(0x23c),'tUUcO':_0x38f436(0x279),'XIifd':_0x38f436(0x208),'oxPEg':_0x38f436(0x20d),'kKbDK':_0x38f436(0x276),'dxmIA':function(_0x2b8c00){return _0x2b8c00();},'wJJgq':_0x38f436(0x284),'umRui':function(_0x141083,_0x1401fb){return _0x141083>_0x1401fb;},'daNvG':function(_0x29ca1f){return _0x29ca1f();},'rxPuV':_0x38f436(0x256),'xtlzM':function(_0x329e42,_0x172767,_0x5da3d7){return _0x329e42(_0x172767,_0x5da3d7);},'XaPXb':'index','kUExz':'afterEach'},_0x5a61ca='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x49c342['rxPuV']]),global[_0x38f436(0x28e)]=this['currentTest'][_0x38f436(0x1f1)]()[_0x38f436(0x2a0)](_0x49c342['UYMmk']),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x38f436(0x221)],()=>{const _0x332154=_0x38f436,_0x5d3f2e={'rGbYK':_0x49c342[_0x332154(0x213)],'oyPEO':function(_0x591bfc,_0x373409){const _0xa8e474=_0x332154;return _0x49c342[_0xa8e474(0x249)](_0x591bfc,_0x373409);},'NkjXK':_0x49c342['OIVKf'],'rgztR':function(_0x45fea0,_0x30c33f,_0x5e3a77){return _0x49c342['EEnpn'](_0x45fea0,_0x30c33f,_0x5e3a77);},'SwMuY':function(_0x4e66fd,_0x3c859d){const _0x1c05ef=_0x332154;return _0x49c342[_0x1c05ef(0x28c)](_0x4e66fd,_0x3c859d);},'DhTkO':_0x49c342[_0x332154(0x287)],'PkViC':_0x49c342[_0x332154(0x28f)],'ZhYIX':function(_0x4c6a0d,_0x315a99,_0x3bec98){const _0x4914b7=_0x332154;return _0x49c342[_0x4914b7(0x1ee)](_0x4c6a0d,_0x315a99,_0x3bec98);},'QGyQZ':_0x49c342['lOVoU'],'hFISy':_0x49c342['yxrUY'],'MHcuD':function(_0x5c055f,_0x150f9b){const _0x25ed83=_0x332154;return _0x49c342[_0x25ed83(0x1ff)](_0x5c055f,_0x150f9b);},'qyEur':function(_0xf1bcd,_0x5b790e){const _0x4c7d75=_0x332154;return _0x49c342[_0x4c7d75(0x2ab)](_0xf1bcd,_0x5b790e);},'MPsmP':_0x49c342[_0x332154(0x203)],'qBWBD':_0x49c342[_0x332154(0x225)],'WtLny':function(_0x208f84,_0x2aa4c5,_0x4758dd,_0x1a5e5a){const _0x40155a=_0x332154;return _0x49c342[_0x40155a(0x24d)](_0x208f84,_0x2aa4c5,_0x4758dd,_0x1a5e5a);},'RxXTq':_0x49c342[_0x332154(0x258)],'UUCRk':_0x49c342[_0x332154(0x262)],'wrwdz':_0x49c342[_0x332154(0x24f)],'OjfgS':_0x49c342[_0x332154(0x285)],'grCpR':_0x49c342['WqnGb'],'zoNTx':_0x49c342[_0x332154(0x29a)],'QjPuQ':_0x49c342[_0x332154(0x215)],'MfiAh':_0x49c342[_0x332154(0x220)],'NBZWZ':_0x49c342[_0x332154(0x25a)],'aLquT':_0x49c342[_0x332154(0x259)],'flZIS':function(_0x127cc5){return _0x49c342['dxmIA'](_0x127cc5);},'kKrVl':function(_0x476249,_0x105b17,_0x4275fa){const _0x2f4184=_0x332154;return _0x49c342[_0x2f4184(0x22f)](_0x476249,_0x105b17,_0x4275fa);},'DvDRg':function(_0x4c063d){const _0x58e9ee=_0x332154;return _0x49c342[_0x58e9ee(0x2a1)](_0x4c063d);},'haQpa':_0x49c342[_0x332154(0x28b)],'zSVcE':function(_0x3b694f,_0x21ff38){const _0x5adc2c=_0x332154;return _0x49c342[_0x5adc2c(0x21a)](_0x3b694f,_0x21ff38);},'xhKQZ':function(_0x213e90){const _0xe50a9=_0x332154;return _0x49c342[_0xe50a9(0x29e)](_0x213e90);}},_0xabe2c3=async(_0x23e562,_0x5b3ef5)=>{const _0x5f05a8=_0x332154;await global['__drivers'][0x0]['executeScript'](_0x5f05a8(0x230)+_0x23e562+_0x5f05a8(0x266)+_0x5b3ef5+_0x5f05a8(0x290));};new Promise(async _0x1e5a53=>{const _0x323cc1=_0x332154;try{_0x5d3f2e['MHcuD'](global[_0x323cc1(0x260)][_0x323cc1(0x207)],0x1)&&(await global[_0x323cc1(0x2ac)](),global[_0x323cc1(0x260)][_0x323cc1(0x25f)](),global[_0x323cc1(0x1fb)]=[],global[_0x323cc1(0x26c)]=![]);try{if(global[_0x323cc1(0x275)]&&_0x5d3f2e['qyEur'](global[_0x323cc1(0x216)],_0x5d3f2e[_0x323cc1(0x27b)])&&global['__drivers'][0x0]){const _0x45b6e6=_0x5d3f2e[_0x323cc1(0x295)](global[_0x323cc1(0x20a)][_0x323cc1(0x207)],0x0)?!!global[_0x323cc1(0x20a)][0x0][_0x323cc1(0x2a2)]||!!global[_0x323cc1(0x20a)][0x0][_0x5d3f2e[_0x323cc1(0x26b)]]:![],_0x4cbd18={};_0x4cbd18[_0x323cc1(0x2a2)]=_0x45b6e6,await _0x5d3f2e['WtLny'](percyAutoCapture,global[_0x323cc1(0x260)][0x0],_0x5d3f2e[_0x323cc1(0x27b)],_0x4cbd18);}}catch(_0x242805){logger[_0x323cc1(0x284)]('Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20'+_0x242805);}!global[_0x323cc1(0x210)]&&(await PerformanceTester[_0x323cc1(0x298)](PerformanceAutEvents[_0x323cc1(0x243)],async()=>{const _0x1e271f=_0x323cc1;await global[_0x1e271f(0x260)][0x0][_0x1e271f(0x218)](_0x1e271f(0x22c)+JSON[_0x1e271f(0x29c)](this[_0x1e271f(0x25c)][_0x1e271f(0x1f1)]()[_0x1e271f(0x2a0)](_0x5d3f2e['rGbYK']))+'}}');})(),global[_0x323cc1(0x260)][0x0][_0x323cc1(0x20c)]=!![]),await PerformanceTester[_0x323cc1(0x298)](PerformanceAutEvents[_0x323cc1(0x273)],async()=>{const _0x13dd3a=_0x323cc1,_0x450493=_0x5d3f2e['oyPEO'](this['currentTest'][_0x13dd3a(0x22d)],_0x5d3f2e[_0x13dd3a(0x241)]);_0x450493?(global['__sessionFailed']=!![],global[_0x13dd3a(0x1fb)][_0x13dd3a(0x1fc)](this[_0x13dd3a(0x25c)][_0x13dd3a(0x29d)][_0x13dd3a(0x1fa)]),await _0x5d3f2e[_0x13dd3a(0x25e)](_0xabe2c3,JSON[_0x13dd3a(0x29c)](_0x5d3f2e[_0x13dd3a(0x20f)](_0x5d3f2e[_0x13dd3a(0x1f5)],this[_0x13dd3a(0x25c)][_0x13dd3a(0x29d)][_0x13dd3a(0x1fa)])),_0x5d3f2e['PkViC'])):await _0x5d3f2e[_0x13dd3a(0x23f)](_0xabe2c3,JSON['stringify'](_0x5d3f2e[_0x13dd3a(0x283)]),_0x5d3f2e[_0x13dd3a(0x237)]);})();}catch(_0x481d2f){logger[_0x323cc1(0x284)](_0x323cc1(0x211)+_0x481d2f);}try{if(this[_0x323cc1(0x25c)]['accessibilityScanStarted']&&globals[_0x323cc1(0x1f8)](_0x5d3f2e[_0x323cc1(0x205)])&&globals[_0x323cc1(0x1f8)](_0x5d3f2e[_0x323cc1(0x233)])){logger[_0x323cc1(0x234)](_0x5d3f2e[_0x323cc1(0x23b)]);const _0x23de98={};_0x23de98[_0x323cc1(0x280)]=this[_0x323cc1(0x25c)][_0x323cc1(0x29b)],_0x23de98[_0x323cc1(0x206)]=process[_0x323cc1(0x1f4)][testHubConstants[_0x323cc1(0x24a)][_0x323cc1(0x2a7)]],_0x23de98[_0x323cc1(0x20b)]=process[_0x323cc1(0x1f4)][testHubConstants['ENV_VAR'][_0x323cc1(0x222)]];const _0x348b59=_0x23de98;logger[_0x323cc1(0x284)](_0x323cc1(0x27e)+JSON[_0x323cc1(0x29c)](_0x348b59)),logger[_0x323cc1(0x284)](_0x5d3f2e[_0x323cc1(0x269)]);const _0x3539ad={};_0x3539ad[_0x323cc1(0x1f2)]=_0x5d3f2e[_0x323cc1(0x2a5)];const _0x2e4b0a=await PerformanceTester[_0x323cc1(0x298)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x4348aa=_0x323cc1;return await accessibilityRetryHelper[_0x4348aa(0x1eb)](global[_0x4348aa(0x260)][0x0],global['browserstackSessionName']);},_0x3539ad)();_0x2e4b0a?logger[_0x323cc1(0x284)](_0x5d3f2e[_0x323cc1(0x27f)]):logger[_0x323cc1(0x226)](_0x5d3f2e['QjPuQ']);const _0x38846e=await PerformanceTester[_0x323cc1(0x298)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x2ef9aa=_0x323cc1;return await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global[_0x2ef9aa(0x260)][0x0],_0x348b59);})();_0x38846e?logger[_0x323cc1(0x284)](_0x5d3f2e['MfiAh']):logger[_0x323cc1(0x226)](_0x5d3f2e[_0x323cc1(0x22a)]),logger[_0x323cc1(0x234)](_0x5d3f2e[_0x323cc1(0x29f)]);}}catch(_0x528e75){logger['error'](_0x323cc1(0x244)+this['currentTest'][_0x323cc1(0x1f1)]()+'.\x20Error\x20:',_0x528e75);}try{try{if(_0x5d3f2e[_0x323cc1(0x247)](shouldProcessEventForTesthub)){global['__drivers'][0x0]&&await _0x5d3f2e['kKrVl'](sendPlatformDetails,global['__drivers'][0x0],this[_0x323cc1(0x25c)]?this[_0x323cc1(0x25c)][_0x323cc1(0x29b)]:null);if(_0x5d3f2e['DvDRg'](isBrowserstackInfra)){PerformanceTester[_0x323cc1(0x201)](PerformanceO11yEvents[_0x323cc1(0x2aa)]);const _0x1238de=_0x323cc1(0x261)+Date[_0x323cc1(0x274)]();await _0x5d3f2e[_0x323cc1(0x235)](_0xabe2c3,JSON[_0x323cc1(0x29c)](_0x1238de),_0x5d3f2e['haQpa']),PerformanceTester[_0x323cc1(0x294)](PerformanceO11yEvents[_0x323cc1(0x2aa)]);}}}catch(_0x5928c5){logger[_0x323cc1(0x284)](_0x323cc1(0x239)+_0x5928c5),PerformanceTester[_0x323cc1(0x294)](PerformanceO11yEvents[_0x323cc1(0x2aa)],![],_0x5928c5);}_0x5d3f2e[_0x323cc1(0x23d)](global['__drivers'][0x0][_0x323cc1(0x228)],0x0)&&await global[_0x323cc1(0x2ac)]();}catch(_0x5973a3){logger[_0x323cc1(0x284)](_0x323cc1(0x1f3)+_0x5973a3);}_0x5d3f2e[_0x323cc1(0x1ed)](_0x1e5a53);})['then'](()=>{_0x5d3f2e['flZIS'](_0x109157);});},{'platform':_0x49c342['xtlzM'](nestedKeyValue,global[_0x38f436(0x1ef)],[_0x49c342['XaPXb']]),'hookType':_0x49c342[_0x38f436(0x251)]})();},'afterAll'(_0x1c5f76){const _0x4ac28d=a37_0x46ff50,_0x4194c7={'ZefhC':function(_0x3bf364){return _0x3bf364();},'GLrHe':function(_0x1c79d0){return _0x1c79d0();},'bwCdT':'Mocha','ahiEm':function(_0x445771,_0x419087,_0xfd881f){return _0x445771(_0x419087,_0xfd881f);},'CyRLw':_0x4ac28d(0x28a),'AANim':_0x4ac28d(0x21b)},_0x22c16f='browserstack internal helper hook';this[_0x4ac28d(0x1f7)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x4194c7['bwCdT']]),PerformanceTester[_0x4ac28d(0x298)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x1e870d=_0x4ac28d,_0x4fb9bc={'cjOGI':function(_0x46793b){return _0x4194c7['GLrHe'](_0x46793b);}};new Promise(async _0x287bf9=>{const _0x2a2b6a=a37_0x239c;await global[_0x2a2b6a(0x2ac)](),_0x4194c7[_0x2a2b6a(0x1f6)](_0x287bf9);})[_0x1e870d(0x253)]()[_0x1e870d(0x250)](()=>{const _0x1ee2bb=_0x1e870d;_0x4fb9bc[_0x1ee2bb(0x1e9)](_0x1c5f76);});},{'platform':_0x4194c7['ahiEm'](nestedKeyValue,global['__platformCaps'],[_0x4194c7[_0x4ac28d(0x24c)]]),'hookType':_0x4194c7['AANim']})();}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a38_0x2eee70=a38_0x1fe6;(function(_0x13e1a7,_0x34aa0b){const _0x6b201c=a38_0x1fe6,_0x51d324=_0x13e1a7();while(!![]){try{const _0x4a6a71=-parseInt(_0x6b201c(0x199))/0x1+-parseInt(_0x6b201c(0x1ad))/0x2+parseInt(_0x6b201c(0x1c9))/0x3+-parseInt(_0x6b201c(0x1bc))/0x4*(-parseInt(_0x6b201c(0x1a5))/0x5)+parseInt(_0x6b201c(0x1c7))/0x6+-parseInt(_0x6b201c(0x1d1))/0x7*(-parseInt(_0x6b201c(0x195))/0x8)+parseInt(_0x6b201c(0x1be))/0x9*(parseInt(_0x6b201c(0x1c0))/0xa);if(_0x4a6a71===_0x34aa0b)break;else _0x51d324['push'](_0x51d324['shift']());}catch(_0x160a19){_0x51d324['push'](_0x51d324['shift']());}}}(a38_0x183d,0xe270c));function a38_0x1fe6(_0x225f46,_0x57622e){const _0x183d88=a38_0x183d();return a38_0x1fe6=function(_0x1fe6e9,_0x86ab8){_0x1fe6e9=_0x1fe6e9-0x194;let _0x5f5df7=_0x183d88[_0x1fe6e9];return _0x5f5df7;},a38_0x1fe6(_0x225f46,_0x57622e);}const fs=require('fs'),path=require(a38_0x2eee70(0x1a1)),{spawn}=require(a38_0x2eee70(0x1cc)),logger=require('../../helpers/logger')[a38_0x2eee70(0x1bb)],{default:BrowserStackSetup}=require(a38_0x2eee70(0x1ce)),helper=require(a38_0x2eee70(0x1d9)),constants=require(a38_0x2eee70(0x1b5)),getUserNightwatchConfigs=(_0xe0537d,_0x24625e)=>{const _0x5971e2=a38_0x2eee70,_0x1ad4ab={'NXeiI':_0x5971e2(0x1d6),'oJxXw':_0x5971e2(0x1ac),'Fgnyo':function(_0x36fa61,_0x4c0d8c){return _0x36fa61(_0x4c0d8c);},'EMzBo':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x318703=null,_0x166344={};const _0x25cb44=_0x24625e[_0x5971e2(0x1b4)](_0x332501=>_0x332501===_0x5971e2(0x1b9));if(!helper[_0x5971e2(0x1bf)](_0xe0537d[_0x5971e2(0x1a7)])&&fs['existsSync'](path[_0x5971e2(0x1db)](process[_0x5971e2(0x196)](),_0xe0537d['config'])))_0x318703=path['join'](process[_0x5971e2(0x196)](),_0xe0537d[_0x5971e2(0x1a7)]),_0x24625e[_0x5971e2(0x1c4)](_0x25cb44,0x2);else{if(fs[_0x5971e2(0x1da)](path[_0x5971e2(0x1db)](process[_0x5971e2(0x196)](),_0x1ad4ab['NXeiI'])))_0x318703=path['join'](process['cwd'](),_0x1ad4ab[_0x5971e2(0x1d4)]);else fs[_0x5971e2(0x1da)](path['join'](process['cwd'](),_0x1ad4ab[_0x5971e2(0x1b2)]))&&(_0x318703=path[_0x5971e2(0x1db)](process['cwd'](),_0x1ad4ab[_0x5971e2(0x1b2)]));}return _0x318703?(logger['info']('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x318703),_0x166344=_0x1ad4ab['Fgnyo'](require,_0x318703)):logger[_0x5971e2(0x1af)](_0x1ad4ab['EMzBo']),_0x166344;},removeExistingEnvs=_0x1712f=>{const _0x3862a3=a38_0x2eee70,_0x48813c={};_0x48813c[_0x3862a3(0x1d2)]=function(_0x3257e7,_0x371fd0){return _0x3257e7>_0x371fd0;};const _0x570133=_0x48813c;let _0x56d20c=_0x1712f[_0x3862a3(0x1b4)](_0x26a855=>_0x26a855===_0x3862a3(0x19e));_0x570133['LeWAe'](_0x56d20c,-0x1)&&_0x1712f[_0x3862a3(0x1c4)](_0x56d20c,0x2),_0x56d20c=_0x1712f['findIndex'](_0x5d3355=>_0x5d3355==='-e'),_0x570133[_0x3862a3(0x1d2)](_0x56d20c,-0x1)&&_0x1712f[_0x3862a3(0x1c4)](_0x56d20c,0x2);};function run(_0x2e2869,_0x5410c2,_0x1a91d8){const _0x2dc644=a38_0x2eee70,_0x5a7558={'QpqiR':_0x2dc644(0x19d),'lsODy':function(_0x4112cc,_0x3c49b7){return _0x4112cc+_0x3c49b7;},'xEBhz':_0x2dc644(0x1b1),'EgwgA':function(_0x4cedd8,_0x57a146,_0x405c4f){return _0x4cedd8(_0x57a146,_0x405c4f);},'MfiFU':_0x2dc644(0x1cf),'cMkOD':_0x2dc644(0x1bd),'gKgfb':function(_0x4fc14f,_0x3b0c33){return _0x4fc14f===_0x3b0c33;},'zxmyV':_0x2dc644(0x1ab),'XFEos':function(_0x47b599,_0x1ced0d){return _0x47b599(_0x1ced0d);},'ZqwiV':function(_0x2961d9,_0x8bafc3,_0x3bff35,_0x23283f){return _0x2961d9(_0x8bafc3,_0x3bff35,_0x23283f);},'wqUBl':_0x2dc644(0x1b0),'PYULK':_0x2dc644(0x1b9),'SHovc':'--env','WinQc':'inherit','SwwQV':_0x2dc644(0x1cd)};if(!_0x1a91d8[_0x2dc644(0x1a7)])return;const _0x5c01f5=_0x5a7558['EgwgA'](getUserNightwatchConfigs,_0x2e2869,_0x5410c2),_0x2f29c2={};_0x2f29c2[_0x2dc644(0x1c5)]=![];const _0x5be892={};_0x5be892[_0x2dc644(0x1a4)]=_0x5a7558[_0x2dc644(0x1c8)],_0x5be892[_0x2dc644(0x1c6)]=0x1bb;const _0x58860c={};_0x58860c[_0x2dc644(0x1b6)]=_0x2f29c2,_0x58860c[_0x2dc644(0x19b)]=_0x5be892;const _0x43d6cc=_0x58860c;logger['info'](_0x5a7558[_0x2dc644(0x1c1)]);const _0x7b015d={..._0x5c01f5},_0x483940=_0x7b015d,_0x33272b=helper[_0x2dc644(0x1d7)](_0x1a91d8['config']),_0x40ade0=[];_0x1a91d8['config']['platforms']['forEach']((_0x1d3a8b,_0x1c21fb)=>{const _0x763b70=_0x2dc644;_0x33272b?_0x40ade0[_0x763b70(0x1aa)](helper[_0x763b70(0x197)](_0x1a91d8[_0x763b70(0x1a7)],_0x5a7558[_0x763b70(0x1b7)],_0x1c21fb)):_0x40ade0['push'](helper[_0x763b70(0x19f)](_0x1a91d8['config'],_0x5a7558['QpqiR'],_0x1c21fb));});const _0x228ae8={},_0x157c28=[];_0x2e2869[_0x2dc644(0x19c)]=_0x2e2869['env']||_0x2e2869['e'];const _0x43c9d3=_0x2e2869[_0x2dc644(0x19c)]?_0x2e2869[_0x2dc644(0x19c)][_0x2dc644(0x1a3)]()[_0x2dc644(0x1ae)](',')[_0x2dc644(0x1a9)](_0x129447=>_0x129447[_0x2dc644(0x1a3)]())[_0x2dc644(0x1c2)](_0x1f9503=>_0x1f9503!==''):[''];_0x5a7558[_0x2dc644(0x1c3)](_0x43c9d3['length'],0x0)&&_0x43c9d3[_0x2dc644(0x1aa)]('');_0x43c9d3[_0x2dc644(0x1a2)](_0x13cd89=>{const _0x58eb5e=_0x2dc644,_0x5a4b93={'vCkeN':function(_0x2083b1,_0x3e0e0b){return _0x5a7558['lsODy'](_0x2083b1,_0x3e0e0b);},'JYfKK':_0x5a7558[_0x58eb5e(0x194)]};_0x40ade0[_0x58eb5e(0x1a2)](_0xee8675=>{const _0x1be268=_0x58eb5e;let _0x1f46e5=_0x5a4b93[_0x1be268(0x1a8)](helper[_0x1be268(0x1d5)](_0xee8675,'_'),'_'+Date['now']());_0x13cd89&&(_0x1f46e5+='_'+_0x13cd89);if(_0x13cd89&&(!_0x5c01f5[_0x5a4b93[_0x1be268(0x1b3)]]||!_0x5c01f5[_0x5a4b93['JYfKK']][_0x13cd89]))return;const _0x4ea162={..._0x43d6cc};_0x4ea162[_0x1be268(0x1ca)]=_0xee8675;const _0x536244=_0x4ea162;_0x228ae8[_0x1f46e5]=_0x13cd89?helper['mergeDeep'](_0x5c01f5[_0x5a4b93[_0x1be268(0x1b3)]][_0x13cd89],_0x536244):_0x536244,_0x157c28[_0x1be268(0x1aa)](_0x1f46e5);});});!_0x483940[_0x2dc644(0x1b1)]&&(_0x483940[_0x2dc644(0x1b1)]={});_0x483940[_0x2dc644(0x1b1)]={..._0x483940['test_settings'],..._0x228ae8};const _0x330d00=path[_0x2dc644(0x1db)](__dirname,_0x5a7558[_0x2dc644(0x198)]);fs['writeFileSync'](_0x330d00,JSON[_0x2dc644(0x1a0)](_0x483940)),_0x5a7558[_0x2dc644(0x1d8)](removeExistingEnvs,_0x5410c2);const _0x5cb2bb=_0x5a7558['ZqwiV'](spawn,/^win/['test'](process[_0x2dc644(0x19a)])?_0x5a7558['wqUBl']:_0x5a7558[_0x2dc644(0x1b7)],[_0x5a7558[_0x2dc644(0x1d3)],_0x330d00,..._0x5410c2[_0x2dc644(0x1d0)](0x1),_0x5a7558[_0x2dc644(0x1a6)],_0x157c28[_0x2dc644(0x1db)](',')],{'stdio':_0x5a7558['WinQc']});_0x5cb2bb['on'](_0x5a7558[_0x2dc644(0x1ba)],async _0x3ba13c=>{const _0x4392cc=_0x2dc644;logger['debug']('child\x20process\x20exited\x20with\x20code\x20'+_0x3ba13c),logger['info']('Deleting\x20'+_0x330d00),fs[_0x4392cc(0x1cb)](_0x330d00);});}module[a38_0x2eee70(0x1b8)]=run;function a38_0x183d(){const _0x49927a=['test_settings','oJxXw','JYfKK','findIndex','../utils/constants','webdriver','QpqiR','exports','--config','SwwQV','winstonLogger','1164OpAHAQ','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','171goBuEh','isUndefined','778220YjsZUh','cMkOD','filter','gKgfb','splice','start_process','port','7174440HCsVZw','MfiFU','1417788TPnSvG','desiredCapabilities','unlinkSync','child_process','close','../../helpers/BrowserStackSetup','hub.browserstack.com','slice','3402uzIAtF','LeWAe','PYULK','NXeiI','getPlatformName','nightwatch.conf.js','useW3C','XFEos','../../helpers/helper','existsSync','join','xEBhz','1632QbnzfF','cwd','modifyBrowserStackW3CCaps','zxmyV','1369540LwMjmy','platform','selenium','env','nightwatch','--env','modifyBrowserStackCaps','stringify','path','forEach','trim','host','8855jkZuZu','SHovc','config','vCkeN','map','push','nightwatch-browserstack.json','nightwatch.json','2928838jhvijX','split','info','nightwatch.cmd'];a38_0x183d=function(){return _0x49927a;};return a38_0x183d();}
2
+ 'use strict';function a38_0x42c4(){const _0x3aebaa=['nightwatch.cmd','nightwatch.conf.js','child\x20process\x20exited\x20with\x20code\x20','config','now','debug','nightwatch','start_process','490530DRLnec','NFhAm','join','../../helpers/logger','hub.browserstack.com','qSaTs','trim','selenium','../utils/constants','pSpHS','--env','278274wbevTC','stringify','cwd','modifyBrowserStackCaps','test','ouPlw','1950248znUpmO','useW3C','kKJpN','rxDfH','test_settings','2517005utPnXY','env','nightwatch.json','port','vFFEv','shINY','webdriver','FqFzp','27kAWFzF','185599nXfSCb','1031492jBKnVp','slice','push','Getting\x20your\x20nightwatch\x20configs\x20from\x20','findIndex','filter','exports','--config','JMEJZ','uiwMf','../../helpers/helper','nightwatch-browserstack.json','whErE','map','RDoIL','ahSUJ','forEach','info','801471AMjqjn','splice','getPlatformName','isUndefined','POmXL','host','jJheF','split','existsSync','unlinkSync','platform','length','iTjWs','35wvbyji'];a38_0x42c4=function(){return _0x3aebaa;};return a38_0x42c4();}const a38_0x231d46=a38_0x232e;(function(_0x21edc6,_0x509327){const _0x3dd812=a38_0x232e,_0x305a04=_0x21edc6();while(!![]){try{const _0xa2ee54=parseInt(_0x3dd812(0x1b8))/0x1+parseInt(_0x3dd812(0x199))/0x2+-parseInt(_0x3dd812(0x183))/0x3+-parseInt(_0x3dd812(0x1b9))/0x4+-parseInt(_0x3dd812(0x1af))/0x5+parseInt(_0x3dd812(0x1a4))/0x6*(parseInt(_0x3dd812(0x190))/0x7)+parseInt(_0x3dd812(0x1aa))/0x8*(parseInt(_0x3dd812(0x1b7))/0x9);if(_0xa2ee54===_0x509327)break;else _0x305a04['push'](_0x305a04['shift']());}catch(_0x4e3333){_0x305a04['push'](_0x305a04['shift']());}}}(a38_0x42c4,0x59467));function a38_0x232e(_0xe9828e,_0x5e79de){const _0x42c47c=a38_0x42c4();return a38_0x232e=function(_0x232e6f,_0x2b3137){_0x232e6f=_0x232e6f-0x182;let _0x2ecd63=_0x42c47c[_0x232e6f];return _0x2ecd63;},a38_0x232e(_0xe9828e,_0x5e79de);}const fs=require('fs'),path=require('path'),{spawn}=require('child_process'),logger=require(a38_0x231d46(0x19c))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a38_0x231d46(0x1c3)),constants=require(a38_0x231d46(0x1a1)),getUserNightwatchConfigs=(_0x54dbd9,_0x53073a)=>{const _0x2ebd06=a38_0x231d46,_0x28c1a8={'uiwMf':_0x2ebd06(0x192),'kKJpN':_0x2ebd06(0x1b1),'ahSUJ':function(_0xfe1513,_0x30af82){return _0xfe1513(_0x30af82);},'whErE':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x42026d=null,_0xc76013={};const _0x3f8433=_0x53073a[_0x2ebd06(0x1bd)](_0x5e5e86=>_0x5e5e86===_0x2ebd06(0x1c0));if(!helper[_0x2ebd06(0x186)](_0x54dbd9[_0x2ebd06(0x194)])&&fs[_0x2ebd06(0x18b)](path['join'](process[_0x2ebd06(0x1a6)](),_0x54dbd9[_0x2ebd06(0x194)])))_0x42026d=path[_0x2ebd06(0x19b)](process[_0x2ebd06(0x1a6)](),_0x54dbd9[_0x2ebd06(0x194)]),_0x53073a[_0x2ebd06(0x184)](_0x3f8433,0x2);else{if(fs['existsSync'](path[_0x2ebd06(0x19b)](process[_0x2ebd06(0x1a6)](),_0x28c1a8[_0x2ebd06(0x1c2)])))_0x42026d=path[_0x2ebd06(0x19b)](process[_0x2ebd06(0x1a6)](),_0x28c1a8[_0x2ebd06(0x1c2)]);else fs[_0x2ebd06(0x18b)](path[_0x2ebd06(0x19b)](process[_0x2ebd06(0x1a6)](),_0x28c1a8[_0x2ebd06(0x1ac)]))&&(_0x42026d=path[_0x2ebd06(0x19b)](process[_0x2ebd06(0x1a6)](),_0x28c1a8['kKJpN']));}return _0x42026d?(logger['info'](_0x2ebd06(0x1bc)+_0x42026d),_0xc76013=_0x28c1a8[_0x2ebd06(0x1c8)](require,_0x42026d)):logger[_0x2ebd06(0x182)](_0x28c1a8[_0x2ebd06(0x1c5)]),_0xc76013;},removeExistingEnvs=_0x30c7b7=>{const _0x22f276=a38_0x231d46,_0x4378b9={};_0x4378b9['ouPlw']=function(_0xdf5f4d,_0x27757f){return _0xdf5f4d>_0x27757f;};const _0x26a470=_0x4378b9;let _0x29bbf5=_0x30c7b7[_0x22f276(0x1bd)](_0x1cfea6=>_0x1cfea6==='--env');_0x26a470[_0x22f276(0x1a9)](_0x29bbf5,-0x1)&&_0x30c7b7['splice'](_0x29bbf5,0x2),_0x29bbf5=_0x30c7b7['findIndex'](_0x37c222=>_0x37c222==='-e'),_0x26a470[_0x22f276(0x1a9)](_0x29bbf5,-0x1)&&_0x30c7b7['splice'](_0x29bbf5,0x2);};function run(_0x101142,_0x5aab6b,_0xdbe0b9){const _0x469b59=a38_0x231d46,_0xf5c2d6={'rxDfH':_0x469b59(0x197),'FqFzp':function(_0x58dc39,_0x5029ad){return _0x58dc39+_0x5029ad;},'POmXL':'test_settings','NFhAm':function(_0x844a44,_0xb432c9,_0x282502){return _0x844a44(_0xb432c9,_0x282502);},'JMEJZ':_0x469b59(0x19d),'vFFEv':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','shINY':function(_0x5c2c3d,_0xca1848){return _0x5c2c3d===_0xca1848;},'iTjWs':_0x469b59(0x1c4),'qSaTs':function(_0x31928e,_0x1df59c){return _0x31928e(_0x1df59c);},'pSpHS':function(_0x5466f6,_0x51b319,_0x452bc1,_0x4618f8){return _0x5466f6(_0x51b319,_0x452bc1,_0x4618f8);},'RDoIL':_0x469b59(0x191),'mPXPJ':_0x469b59(0x1c0),'Xqpji':_0x469b59(0x1a3),'uUian':'inherit','jJheF':'close'};if(!_0xdbe0b9['config'])return;const _0x132f9f=_0xf5c2d6[_0x469b59(0x19a)](getUserNightwatchConfigs,_0x101142,_0x5aab6b),_0x345fc7={};_0x345fc7[_0x469b59(0x198)]=![];const _0xcef5c9={};_0xcef5c9[_0x469b59(0x188)]=_0xf5c2d6[_0x469b59(0x1c1)],_0xcef5c9[_0x469b59(0x1b2)]=0x1bb;const _0x11a2f0={};_0x11a2f0[_0x469b59(0x1b5)]=_0x345fc7,_0x11a2f0[_0x469b59(0x1a0)]=_0xcef5c9;const _0x428ce7=_0x11a2f0;logger[_0x469b59(0x182)](_0xf5c2d6[_0x469b59(0x1b3)]);const _0x2adea7={..._0x132f9f},_0x554dca=_0x2adea7,_0x294e07=helper[_0x469b59(0x1ab)](_0xdbe0b9['config']),_0x249e99=[];_0xdbe0b9['config']['platforms']['forEach']((_0x53a927,_0xc54052)=>{const _0x2eeef0=_0x469b59;_0x294e07?_0x249e99['push'](helper['modifyBrowserStackW3CCaps'](_0xdbe0b9[_0x2eeef0(0x194)],_0xf5c2d6[_0x2eeef0(0x1ad)],_0xc54052)):_0x249e99[_0x2eeef0(0x1bb)](helper[_0x2eeef0(0x1a7)](_0xdbe0b9[_0x2eeef0(0x194)],_0xf5c2d6['rxDfH'],_0xc54052));});const _0x40b3b2={},_0x221bd1=[];_0x101142[_0x469b59(0x1b0)]=_0x101142['env']||_0x101142['e'];const _0x302379=_0x101142[_0x469b59(0x1b0)]?_0x101142['env']['trim']()[_0x469b59(0x18a)](',')[_0x469b59(0x1c6)](_0x4ac51c=>_0x4ac51c[_0x469b59(0x19f)]())[_0x469b59(0x1be)](_0x70322b=>_0x70322b!==''):[''];_0xf5c2d6[_0x469b59(0x1b4)](_0x302379[_0x469b59(0x18e)],0x0)&&_0x302379['push']('');_0x302379[_0x469b59(0x1c9)](_0x4d4e82=>{const _0x198ec6=_0x469b59;_0x249e99[_0x198ec6(0x1c9)](_0x38912a=>{const _0x267019=_0x198ec6;let _0x3bf2e1=_0xf5c2d6[_0x267019(0x1b6)](helper[_0x267019(0x185)](_0x38912a,'_'),'_'+Date[_0x267019(0x195)]());_0x4d4e82&&(_0x3bf2e1+='_'+_0x4d4e82);if(_0x4d4e82&&(!_0x132f9f[_0xf5c2d6['POmXL']]||!_0x132f9f[_0xf5c2d6['POmXL']][_0x4d4e82]))return;const _0x12c14f={..._0x428ce7};_0x12c14f['desiredCapabilities']=_0x38912a;const _0xc81a20=_0x12c14f;_0x40b3b2[_0x3bf2e1]=_0x4d4e82?helper['mergeDeep'](_0x132f9f[_0xf5c2d6[_0x267019(0x187)]][_0x4d4e82],_0xc81a20):_0xc81a20,_0x221bd1[_0x267019(0x1bb)](_0x3bf2e1);});});!_0x554dca['test_settings']&&(_0x554dca[_0x469b59(0x1ae)]={});_0x554dca['test_settings']={..._0x554dca['test_settings'],..._0x40b3b2};const _0x17f118=path[_0x469b59(0x19b)](__dirname,_0xf5c2d6[_0x469b59(0x18f)]);fs['writeFileSync'](_0x17f118,JSON[_0x469b59(0x1a5)](_0x554dca)),_0xf5c2d6[_0x469b59(0x19e)](removeExistingEnvs,_0x5aab6b);const _0x48ff05=_0xf5c2d6[_0x469b59(0x1a2)](spawn,/^win/[_0x469b59(0x1a8)](process[_0x469b59(0x18d)])?_0xf5c2d6[_0x469b59(0x1c7)]:_0xf5c2d6[_0x469b59(0x1ad)],[_0xf5c2d6['mPXPJ'],_0x17f118,..._0x5aab6b[_0x469b59(0x1ba)](0x1),_0xf5c2d6['Xqpji'],_0x221bd1['join'](',')],{'stdio':_0xf5c2d6['uUian']});_0x48ff05['on'](_0xf5c2d6[_0x469b59(0x189)],async _0x16031b=>{const _0x8f3f41=_0x469b59;logger[_0x8f3f41(0x196)](_0x8f3f41(0x193)+_0x16031b),logger[_0x8f3f41(0x182)]('Deleting\x20'+_0x17f118),fs[_0x8f3f41(0x18c)](_0x17f118);});}module[a38_0x231d46(0x1bf)]=run;
@@ -1 +1 @@
1
- function a39_0x340e(_0x2ae50d,_0x2fa01a){const _0x19cfd9=a39_0x19cf();return a39_0x340e=function(_0x340e72,_0x2d1693){_0x340e72=_0x340e72-0xad;let _0x3d35db=_0x19cfd9[_0x340e72];return _0x3d35db;},a39_0x340e(_0x2ae50d,_0x2fa01a);}const a39_0x5676fa=a39_0x340e;(function(_0x66c61e,_0x38f301){const _0x741e38=a39_0x340e,_0x1bbbe1=_0x66c61e();while(!![]){try{const _0x6e62a9=-parseInt(_0x741e38(0xe7))/0x1*(parseInt(_0x741e38(0xd4))/0x2)+parseInt(_0x741e38(0xf0))/0x3*(-parseInt(_0x741e38(0xef))/0x4)+parseInt(_0x741e38(0xc0))/0x5+-parseInt(_0x741e38(0xec))/0x6+-parseInt(_0x741e38(0x114))/0x7*(parseInt(_0x741e38(0xda))/0x8)+parseInt(_0x741e38(0xd7))/0x9+parseInt(_0x741e38(0x10e))/0xa;if(_0x6e62a9===_0x38f301)break;else _0x1bbbe1['push'](_0x1bbbe1['shift']());}catch(_0x34a0e7){_0x1bbbe1['push'](_0x1bbbe1['shift']());}}}(a39_0x19cf,0x8024a));const util=require(a39_0x5676fa(0x119)),logger=require('../../helpers/logger')['winstonLogger'],{isAccessibilityAutomationSession}=require(a39_0x5676fa(0xdd)),{isUndefined,isBrowserstackInfra}=require(a39_0x5676fa(0x11d)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require('../../helpers/performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a39_0x5676fa(0x105));function a39_0x19cf(){const _0x4e5302=['vlIkY','chromium','ksPeI','warn','wcagVersion','accessibilityOptions.scannerVersion','bqHFl','scannerVersion','tLiOQ','workerInfo','replace','../../helpers/performance/constants','aqHsp','kaPba','bHLpD','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','ZHqgb','kNYHf','__workerDetails','WebDriver','9605450hWZCgH','processAccessibilityCaps','SyIJR','performScan','EmivG','measureWrapper','21NNwsEp','env','deviceName','TyXvp','connectOptions','util','accessibilityOptions.authToken','accessibilityOptions.includeIssueType.needsReview','pXlbD','../../helpers/helper','browserstack.accessibility','url','accessibilityOptions.wcagVersion','No\x20summaryResults\x20found.','evaluate','RaQxp','executeAsyncScript','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20','command','pEskD','accessibilityOptions.includeIssueType.bestPractice','format','PERFORM_SCAN','DoVgz','ruSlO','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','accessibilityOptions.scannerProcessingTimeout','fbMwE','browser','name','accessibilityOptions','lmsxx','elAvp','stringify','2332650IfzgFE','hmOuf','NlEsR','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','Playwright','woxXy','chrome','KBYAR','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','sKukX','VjJoS','platformValidation','project','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','constructor','rwmJq','includeIssueType','scannerProcessingTimeout','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','1996qpwSVX','FyJlI','browserName','4850154dWBxDu','setAccessibilityCapabilities','VbTAf','588496ILyFrg','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','kKKbP','../../helpers/accessibility-automation/helper','BS_A11Y_JWT','MgQkL','latest','Iahjj','dXQRq','browser_version','No\x20accessibility\x20results\x20were\x20found.','PRHau','playwright-chromium','187PKcGJi','\x20page:\x20','bestPractice','debug','WayiU','2244966wlTXXO','accessibilityPlatform','wivcD','2676qBYRAs','2958UVymDm','KCjBE','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','getAccessibilityResults','mCKeB','includes','bstackSdkArgs','Performing\x20scan\x20with\x20method:\x20','uGmtb','use'];a39_0x19cf=function(){return _0x4e5302;};return a39_0x19cf();}exports['browserStackEvaluate']=async(_0x3591e6,_0x82651c,_0x1e63cb={})=>{const _0xa0c17e=a39_0x5676fa,_0x14d736={};_0x14d736[_0xa0c17e(0x11c)]='bstackSdkArgs';const _0x48770d=_0x14d736;return await _0x3591e6[_0xa0c17e(0x122)](_0xa0c17e(0xaf)+_0x82651c[_0xa0c17e(0x104)](/arguments/g,_0x48770d[_0xa0c17e(0x11c)])+_0xa0c17e(0xb7)+JSON['stringify'](_0x1e63cb)+')');},exports['browserStackExecuteDriver']=async(_0x414e84,_0x4f8971,_0x216ad2={})=>{const _0x30943c=a39_0x5676fa,_0x6fb540={};_0x6fb540['NlEsR']=function(_0x3d25b7,_0x6ef9f0){return _0x3d25b7===_0x6ef9f0;},_0x6fb540[_0x30943c(0xd9)]=_0x30943c(0x10d),_0x6fb540[_0x30943c(0xbd)]=_0x30943c(0xc5),_0x6fb540[_0x30943c(0xd5)]=_0x30943c(0xf6);const _0x13b319=_0x6fb540;if(_0x13b319[_0x30943c(0xc2)](_0x414e84[_0x30943c(0xcf)][_0x30943c(0xbb)],_0x13b319[_0x30943c(0xd9)]))return await _0x414e84[_0x30943c(0xae)](_0x4f8971,_0x216ad2);else{if(_0x13b319[_0x30943c(0xc2)](_0x414e84[_0x30943c(0xcf)][_0x30943c(0xbb)],_0x13b319[_0x30943c(0xbd)]))return await _0x414e84['executeScript'](_0x30943c(0xf2)+_0x4f8971[_0x30943c(0x104)](/arguments/g,_0x13b319['FyJlI'])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON[_0x30943c(0xbf)](_0x216ad2)+')');}},exports[a39_0x5676fa(0xd8)]=async _0x47f3bf=>{const _0x37f647=a39_0x5676fa,_0x2f0af4={};_0x2f0af4[_0x37f647(0x110)]=_0x37f647(0x120),_0x2f0af4['dXQRq']=_0x37f647(0xb8),_0x2f0af4[_0x37f647(0xfa)]=_0x37f647(0xb2),_0x2f0af4['ruSlO']=_0x37f647(0x11b),_0x2f0af4['pJJgJ']=_0x37f647(0x11a),_0x2f0af4['kaPba']=_0x37f647(0xff);const _0x2d4909=_0x2f0af4;_0x47f3bf[_0x37f647(0xbc)]&&(_0x47f3bf['accessibilityOptions']['wcagVersion']&&(_0x47f3bf[_0x2d4909[_0x37f647(0x110)]]=_0x47f3bf[_0x37f647(0xbc)][_0x37f647(0xfe)]),_0x47f3bf[_0x37f647(0xbc)][_0x37f647(0xd2)]&&(_0x47f3bf[_0x2d4909[_0x37f647(0xe2)]]=_0x47f3bf[_0x37f647(0xbc)][_0x37f647(0xd2)]),_0x47f3bf[_0x37f647(0xbc)]['includeIssueType']&&(_0x47f3bf[_0x2d4909[_0x37f647(0xfa)]]=_0x47f3bf[_0x37f647(0xbc)][_0x37f647(0xd1)][_0x37f647(0xe9)],_0x47f3bf[_0x2d4909[_0x37f647(0xb6)]]=_0x47f3bf[_0x37f647(0xbc)]['includeIssueType']['needsReview']));const _0x12bfe5=JSON['parse'](process[_0x37f647(0x115)][_0x37f647(0xc3)])[_0x37f647(0x101)];_0x47f3bf[_0x2d4909['pJJgJ']]=process[_0x37f647(0x115)][_0x37f647(0xde)],_0x47f3bf[_0x2d4909[_0x37f647(0x107)]]=_0x12bfe5,delete _0x47f3bf[_0x37f647(0xbc)];},exports[a39_0x5676fa(0xf3)]=async _0x5b78e3=>{const _0x20e0f3=a39_0x5676fa,_0xe43e3={};_0xe43e3[_0x20e0f3(0xeb)]=_0x20e0f3(0xe4),_0xe43e3[_0x20e0f3(0xdf)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.';const _0x233496=_0xe43e3;if(global[_0x20e0f3(0xed)])try{const details={'url':await _0x5b78e3.url(),'testhub_btcer_uuid':global.__workerDetails?.currentTest?.id};logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x5b78e3,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x5b78e3,scripts.getResults);},{...details})();return res;}catch{return logger['error'](_0x233496[_0x20e0f3(0xeb)]),[];}else return logger[_0x20e0f3(0xfd)](_0x233496[_0x20e0f3(0xdf)]),[];},exports[a39_0x5676fa(0x111)]=async(_0x1c68bc,_0x4f504a='')=>{const _0x59123e=a39_0x5676fa;logger[_0x59123e(0xea)](_0x59123e(0xf7)+_0x4f504a+_0x59123e(0xe8)+_0x1c68bc);const _0x5babdb={'url':await _0x1c68bc[_0x59123e(0x11f)](),'testhub_btcer_uuid':global[_0x59123e(0x10c)]?.['currentTest']?.['id']};if(global['accessibilityPlatform'])return await PerformanceTester[_0x59123e(0x113)](PerformanceA11yEvents[_0x59123e(0xb4)],async()=>{const _0x3f8a93=_0x59123e,_0x1099c0={};_0x1099c0[_0x3f8a93(0xb0)]=_0x4f504a;const _0x2ec0b0=await exports['browserStackEvaluate'](_0x1c68bc,scripts[_0x3f8a93(0x111)],_0x1099c0);return _0x2ec0b0;},{'command':_0x4f504a,..._0x5babdb})();},exports['getAccessibilityResultsSummary']=async _0x2eedd4=>{const _0x566dec=a39_0x5676fa,_0x25c09f={};_0x25c09f[_0x566dec(0xbe)]=_0x566dec(0x121),_0x25c09f['zqbVl']=_0x566dec(0x109);const _0x1e872c=_0x25c09f;if(global[_0x566dec(0xed)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x2eedd4,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x2eedd4,scripts.getResultsSummary);})();return summaryResults;}catch{return logger['debug'](_0x1e872c[_0x566dec(0xbe)]),{};}else return logger[_0x566dec(0xfd)](_0x1e872c['zqbVl']),{};},exports[a39_0x5676fa(0xcc)]=async _0x1ec901=>{const _0x3a62c8=a39_0x5676fa,_0x218b7c={'rwmJq':function(_0x3d6137,_0x94aa2){return _0x3d6137!==_0x94aa2;},'vSIFs':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','kKKbP':'chrome','Iahjj':'playwright-chromium','aqHsp':_0x3a62c8(0xfb),'TyXvp':_0x3a62c8(0xc9),'hmOuf':function(_0x3d84bc,_0x17451b){return _0x3d84bc(_0x17451b);},'eGdsu':function(_0x1661a0){return _0x1661a0();},'tLiOQ':function(_0x5e3d60,_0x568840){return _0x5e3d60<_0x568840;},'sqoDM':_0x3a62c8(0xd3),'qnbOY':function(_0x170938,_0x2cec4b){return _0x170938===_0x2cec4b;},'EmivG':_0x3a62c8(0xe0),'tjxQh':function(_0xf3b97,_0x265fe0){return _0xf3b97>_0x265fe0;},'bHLpD':_0x3a62c8(0xc4)};try{if(!_0x218b7c[_0x3a62c8(0xd0)](_0x1ec901[_0x3a62c8(0x116)],''))return logger[_0x3a62c8(0xfd)](_0x218b7c['vSIFs']),![];const _0x826866=_0x1ec901[_0x3a62c8(0xba)];if(![_0x218b7c[_0x3a62c8(0xdc)],_0x218b7c[_0x3a62c8(0xe1)],_0x218b7c[_0x3a62c8(0x106)]][_0x3a62c8(0xf5)](_0x826866))return logger['warn'](_0x218b7c[_0x3a62c8(0x117)]),![];const _0x18f510=_0x218b7c[_0x3a62c8(0xc1)](parseInt,_0x1ec901['browser_version']);!_0x218b7c['eGdsu'](isBrowserstackInfra)&&(!_0x218b7c[_0x3a62c8(0x102)](_0x18f510,0x64)&&logger[_0x3a62c8(0xfd)](_0x218b7c['sqoDM']));if(!(_0x218b7c['qnbOY'](_0x18f510,_0x218b7c[_0x3a62c8(0x112)])||_0x218b7c['tjxQh'](_0x18f510,0x5e)))return logger[_0x3a62c8(0xfd)](_0x218b7c[_0x3a62c8(0x108)]),![];}catch(_0x3cadc8){logger[_0x3a62c8(0xea)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util[_0x3a62c8(0xb3)](_0x3cadc8));}return!![];},exports[a39_0x5676fa(0x10f)]=(_0x35db52,_0x2c10e6,_0x205e1b)=>{const _0x246f81=a39_0x5676fa,_0x268726={'VjJoS':function(_0x1b62b0){return _0x1b62b0();},'fbMwE':_0x246f81(0x11e),'mZvCV':function(_0x2ddf7c,_0x5446e1){return _0x2ddf7c===_0x5446e1;},'sKukX':_0x246f81(0xc7),'vyLSs':function(_0x4fa2b4,_0x5deb4a){return _0x4fa2b4===_0x5deb4a;},'uGmtb':_0x246f81(0xe6),'KBYAR':function(_0x1d0037,_0x1da612){return _0x1d0037===_0x1da612;},'woxXy':function(_0x508633,_0x533a49){return _0x508633===_0x533a49;},'jjwxx':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','RaQxp':function(_0x59e793){return _0x59e793();},'DoVgz':function(_0x5044a6,_0x3cc166){return _0x5044a6>_0x3cc166;},'wivcD':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','bqHFl':function(_0x4c1861,_0x2f3b72){return _0x4c1861===_0x2f3b72;},'kNYHf':_0x246f81(0xe0),'ksPeI':function(_0x18863a,_0x2a0751){return _0x18863a>_0x2a0751;},'PRHau':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','ZHqgb':function(_0x507ab4,_0x500f2c){return _0x507ab4(_0x500f2c);},'pEskD':_0x246f81(0xdb),'mCKeB':function(_0x2db294,_0x1f79bc){return _0x2db294+_0x1f79bc;},'KCjBE':function(_0x5721e2,_0x10f7a0){return _0x5721e2(_0x10f7a0);}};try{if(_0x268726[_0x246f81(0xcb)](isAccessibilityAutomationSession)){global[_0x246f81(0xed)]=!![];!_0x35db52[_0x268726[_0x246f81(0xb9)]]&&(global[_0x246f81(0xed)]=![]);!(_0x268726['mZvCV'](_0x35db52[_0x246f81(0xd6)],_0x268726[_0x246f81(0xca)])||_0x268726['vyLSs'](_0x35db52[_0x246f81(0xd6)],_0x268726[_0x246f81(0xf8)])||_0x268726[_0x246f81(0xc8)](_0x35db52['browser'],_0x268726[_0x246f81(0xca)])||_0x268726[_0x246f81(0xc6)](_0x35db52[_0x246f81(0xba)],_0x268726['uGmtb']))&&(logger['warn'](_0x268726['jjwxx']),global[_0x246f81(0xed)]=![]);!_0x268726[_0x246f81(0xad)](isBrowserstackInfra)&&(!_0x268726[_0x246f81(0xb5)](_0x35db52[_0x246f81(0xe3)],0x64)&&logger[_0x246f81(0xfd)](_0x268726[_0x246f81(0xee)]));!(_0x268726[_0x246f81(0x100)](_0x35db52[_0x246f81(0xe3)],_0x268726[_0x246f81(0x10b)])||_0x268726[_0x246f81(0xfc)](_0x35db52[_0x246f81(0xe3)],0x5e))&&(logger['warn'](_0x268726[_0x246f81(0xe5)]),global[_0x246f81(0xed)]=![]);!_0x268726[_0x246f81(0x10a)](isUndefined,_0x35db52[_0x246f81(0x116)])&&(logger[_0x246f81(0xfd)](_0x268726[_0x246f81(0xb1)]),global[_0x246f81(0xed)]=![]);if(!global[_0x246f81(0xed)]){_0x35db52[_0x268726[_0x246f81(0xb9)]]=![];const _0x35acc9=_0x268726[_0x246f81(0xf4)](_0x2c10e6,_0x268726[_0x246f81(0xf1)](encodeURIComponent,JSON[_0x246f81(0xbf)](_0x35db52)));_0x205e1b&&(_0x205e1b['currentTest']['testInfo'][_0x246f81(0xcd)][_0x246f81(0xf9)][_0x246f81(0x118)]['wsEndpoint']=_0x35acc9,_0x205e1b[_0x246f81(0x103)]['project']['use'][_0x246f81(0x118)]['wsEndpoint']=_0x35acc9);}}else global[_0x246f81(0xed)]=![];}catch(_0x827394){logger['debug'](_0x246f81(0xce)+util['format'](_0x827394));}};
1
+ const a39_0x3564c9=a39_0x2b2f;(function(_0x4e75fa,_0x2ad929){const _0x3beadd=a39_0x2b2f,_0x122660=_0x4e75fa();while(!![]){try{const _0x2a82bc=parseInt(_0x3beadd(0x224))/0x1+parseInt(_0x3beadd(0x1da))/0x2+parseInt(_0x3beadd(0x241))/0x3+parseInt(_0x3beadd(0x22e))/0x4+-parseInt(_0x3beadd(0x239))/0x5*(-parseInt(_0x3beadd(0x207))/0x6)+parseInt(_0x3beadd(0x1f9))/0x7*(parseInt(_0x3beadd(0x1f7))/0x8)+-parseInt(_0x3beadd(0x1f3))/0x9;if(_0x2a82bc===_0x2ad929)break;else _0x122660['push'](_0x122660['shift']());}catch(_0x61f775){_0x122660['push'](_0x122660['shift']());}}}(a39_0x1cac,0xe2c5c));function a39_0x1cac(){const _0x4126d5=['includeIssueType','browser','latest','VntZD','ViWBK','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','stringify','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','hAgSy','name','warn','scannerProcessingTimeout','bRRDO','sajnk','XbVNa','ypGgu','iKQvc','Playwright','workerInfo','url','55867383LcsEyJ','../../helpers/helper','OIXVN','performScan','9518896rribUU','__workerDetails','7rlTNYF','format','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','constructor','measureWrapper','testInfo','../../helpers/performance/performance-tester','chrome','ewYpM','No\x20accessibility\x20results\x20were\x20found.','chromium','pAqZn','BbYxu','connectOptions','6XzTfGL','accessibilityPlatform','kLiqP','executeAsyncScript','MjVLH','VCCwT','../../helpers/accessibility-automation/helper','KfGQi','includes','QJJQC','fNzOL','oZMmQ','UrJyP','../../helpers/logger','PERFORM_SCAN','NavdG','browserStackEvaluate','ZBPuU','evaluate','replace','accessibilityOptions.includeIssueType.needsReview','STuSo','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','kRkbF','scannerVersion','processAccessibilityCaps','accessibilityOptions.scannerProcessingTimeout','pmHVN','DLmtK','997320BkSHEY','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','wcagVersion','winstonLogger','debug','CUKTv','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','currentTest','command','dtXQu','6740724PaOAHI','deviceName','browserName','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','Hcrjt','qACHL','BS_A11Y_JWT','env','NsAxQ','browser_version','6833335Sendzc','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','use','JWZPZ','executeScript','bstackSdkArgs','gYEuc','accessibilityOptions.scannerVersion','5538030hmdlcA','oMakn','FWuJs','project','hqyoJ','../../helpers/performance/constants','EJbEs','util','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','wsEndpoint','platformValidation','JZHCA','../../helpers/accessibility-automation/scripts','102614obRCYw','accessibilityOptions','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','bestPractice','xXSXf'];a39_0x1cac=function(){return _0x4126d5;};return a39_0x1cac();}function a39_0x2b2f(_0x3db2d3,_0x4ed01a){const _0x1cacad=a39_0x1cac();return a39_0x2b2f=function(_0x2b2f2b,_0x102b5e){_0x2b2f2b=_0x2b2f2b-0x1d6;let _0x20eff0=_0x1cacad[_0x2b2f2b];return _0x20eff0;},a39_0x2b2f(_0x3db2d3,_0x4ed01a);}const util=require(a39_0x3564c9(0x248)),logger=require(a39_0x3564c9(0x214))[a39_0x3564c9(0x227)],{isAccessibilityAutomationSession}=require(a39_0x3564c9(0x20d)),{isUndefined,isBrowserstackInfra}=require(a39_0x3564c9(0x1f4)),scripts=require(a39_0x3564c9(0x1d9)),PerformanceTester=require(a39_0x3564c9(0x1ff)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a39_0x3564c9(0x246));exports[a39_0x3564c9(0x217)]=async(_0x2b5eca,_0x5d1af9,_0x2e5173={})=>{const _0x52ea77=a39_0x3564c9,_0x287290={};_0x287290[_0x52ea77(0x20e)]=_0x52ea77(0x23e);const _0x2f4cbf=_0x287290;return await _0x2b5eca[_0x52ea77(0x219)](_0x52ea77(0x249)+_0x5d1af9[_0x52ea77(0x21a)](/arguments/g,_0x2f4cbf[_0x52ea77(0x20e)])+_0x52ea77(0x225)+JSON[_0x52ea77(0x1e5)](_0x2e5173)+')');},exports['browserStackExecuteDriver']=async(_0x42497c,_0x3f84ca,_0x1c5336={})=>{const _0x4f7a00=a39_0x3564c9,_0x447a14={};_0x447a14[_0x4f7a00(0x212)]=function(_0x4d5cec,_0x20dec4){return _0x4d5cec===_0x20dec4;},_0x447a14[_0x4f7a00(0x1f5)]='WebDriver',_0x447a14[_0x4f7a00(0x1ed)]=_0x4f7a00(0x1f0),_0x447a14[_0x4f7a00(0x247)]='bstackSdkArgs';const _0x1361d1=_0x447a14;if(_0x1361d1[_0x4f7a00(0x212)](_0x42497c[_0x4f7a00(0x1fc)][_0x4f7a00(0x1e8)],_0x1361d1[_0x4f7a00(0x1f5)]))return await _0x42497c[_0x4f7a00(0x20a)](_0x3f84ca,_0x1c5336);else{if(_0x1361d1[_0x4f7a00(0x212)](_0x42497c[_0x4f7a00(0x1fc)][_0x4f7a00(0x1e8)],_0x1361d1[_0x4f7a00(0x1ed)]))return await _0x42497c[_0x4f7a00(0x23d)](_0x4f7a00(0x23a)+_0x3f84ca[_0x4f7a00(0x21a)](/arguments/g,_0x1361d1[_0x4f7a00(0x247)])+_0x4f7a00(0x231)+JSON[_0x4f7a00(0x1e5)](_0x1c5336)+')');}},exports['setAccessibilityCapabilities']=async _0x1e3b03=>{const _0x3fa1b8=a39_0x3564c9,_0x2d1a9f={};_0x2d1a9f['VntZD']='accessibilityOptions.wcagVersion',_0x2d1a9f[_0x3fa1b8(0x20c)]=_0x3fa1b8(0x221),_0x2d1a9f[_0x3fa1b8(0x21c)]='accessibilityOptions.includeIssueType.bestPractice',_0x2d1a9f[_0x3fa1b8(0x245)]=_0x3fa1b8(0x21b),_0x2d1a9f[_0x3fa1b8(0x1d8)]='accessibilityOptions.authToken',_0x2d1a9f[_0x3fa1b8(0x218)]=_0x3fa1b8(0x240);const _0x4ab830=_0x2d1a9f;_0x1e3b03[_0x3fa1b8(0x1db)]&&(_0x1e3b03['accessibilityOptions']['wcagVersion']&&(_0x1e3b03[_0x4ab830[_0x3fa1b8(0x1e2)]]=_0x1e3b03['accessibilityOptions'][_0x3fa1b8(0x226)]),_0x1e3b03[_0x3fa1b8(0x1db)][_0x3fa1b8(0x1ea)]&&(_0x1e3b03[_0x4ab830[_0x3fa1b8(0x20c)]]=_0x1e3b03[_0x3fa1b8(0x1db)]['scannerProcessingTimeout']),_0x1e3b03[_0x3fa1b8(0x1db)][_0x3fa1b8(0x1df)]&&(_0x1e3b03[_0x4ab830['STuSo']]=_0x1e3b03['accessibilityOptions']['includeIssueType'][_0x3fa1b8(0x1dd)],_0x1e3b03[_0x4ab830[_0x3fa1b8(0x245)]]=_0x1e3b03[_0x3fa1b8(0x1db)][_0x3fa1b8(0x1df)]['needsReview']));const _0x4ee255=JSON['parse'](process[_0x3fa1b8(0x236)][_0x3fa1b8(0x22a)])[_0x3fa1b8(0x21f)];_0x1e3b03[_0x4ab830[_0x3fa1b8(0x1d8)]]=process['env'][_0x3fa1b8(0x235)],_0x1e3b03[_0x4ab830[_0x3fa1b8(0x218)]]=_0x4ee255,delete _0x1e3b03['accessibilityOptions'];},exports['getAccessibilityResults']=async _0xe3c04d=>{const _0x274baa=a39_0x3564c9,_0xf6d0a={};_0xf6d0a[_0x274baa(0x242)]=_0x274baa(0x202),_0xf6d0a[_0x274baa(0x213)]=_0x274baa(0x232);const _0x6c610e=_0xf6d0a;if(global[_0x274baa(0x208)])try{const details={'url':await _0xe3c04d.url(),'testhub_btcer_uuid':global.__workerDetails?.currentTest?.id};logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0xe3c04d,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0xe3c04d,scripts.getResults);},{...details})();return res;}catch{return logger['error'](_0x6c610e[_0x274baa(0x242)]),[];}else return logger[_0x274baa(0x1e9)](_0x6c610e[_0x274baa(0x213)]),[];},exports['performScan']=async(_0x77af50,_0x56bf75='')=>{const _0x2e2069=a39_0x3564c9;logger['debug']('Performing\x20scan\x20with\x20method:\x20'+_0x56bf75+'\x20page:\x20'+_0x77af50);const _0xb436be={'url':await _0x77af50[_0x2e2069(0x1f2)](),'testhub_btcer_uuid':global[_0x2e2069(0x1f8)]?.[_0x2e2069(0x22b)]?.['id']};if(global[_0x2e2069(0x208)])return await PerformanceTester[_0x2e2069(0x1fd)](PerformanceA11yEvents[_0x2e2069(0x215)],async()=>{const _0x6af480=_0x2e2069,_0x3d48f9={};_0x3d48f9[_0x6af480(0x22c)]=_0x56bf75;const _0xdb4244=await exports['browserStackEvaluate'](_0x77af50,scripts[_0x6af480(0x1f6)],_0x3d48f9);return _0xdb4244;},{'command':_0x56bf75,..._0xb436be})();},exports['getAccessibilityResultsSummary']=async _0x3a0db9=>{const _0x2a384f=a39_0x3564c9,_0x201b8b={};_0x201b8b[_0x2a384f(0x243)]='No\x20summaryResults\x20found.',_0x201b8b[_0x2a384f(0x1e3)]=_0x2a384f(0x24a);const _0x1fefc4=_0x201b8b;if(global[_0x2a384f(0x208)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x3a0db9,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x3a0db9,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x2a384f(0x228)](_0x1fefc4['FWuJs']),{};}else return logger['warn'](_0x1fefc4[_0x2a384f(0x1e3)]),{};},exports[a39_0x3564c9(0x1d7)]=async _0x3e2495=>{const _0x28946b=a39_0x3564c9,_0xd4d6d6={'gYEuc':function(_0x20341b,_0x4df6dc){return _0x20341b!==_0x4df6dc;},'kRkbF':_0x28946b(0x1dc),'iKQvc':_0x28946b(0x200),'xXSXf':'playwright-chromium','pmHVN':_0x28946b(0x203),'HrIKr':_0x28946b(0x1fb),'dtXQu':function(_0x3c0e69,_0x511b0f){return _0x3c0e69(_0x511b0f);},'STXgJ':function(_0x1955c7){return _0x1955c7();},'iwqxt':function(_0x39f452,_0x1d097c){return _0x39f452<_0x1d097c;},'bTWhR':_0x28946b(0x1e6),'pAqZn':function(_0x4d4343,_0x3a9b29){return _0x4d4343===_0x3a9b29;},'JWZPZ':_0x28946b(0x1e1),'BbYxu':function(_0x2d2f0b,_0x39e21e){return _0x2d2f0b>_0x39e21e;},'FibMT':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0xd4d6d6[_0x28946b(0x23f)](_0x3e2495[_0x28946b(0x22f)],''))return logger[_0x28946b(0x1e9)](_0xd4d6d6[_0x28946b(0x21e)]),![];const _0x482db7=_0x3e2495['browser'];if(![_0xd4d6d6[_0x28946b(0x1ef)],_0xd4d6d6[_0x28946b(0x1de)],_0xd4d6d6[_0x28946b(0x222)]][_0x28946b(0x20f)](_0x482db7))return logger[_0x28946b(0x1e9)](_0xd4d6d6['HrIKr']),![];const _0x590220=_0xd4d6d6[_0x28946b(0x22d)](parseInt,_0x3e2495[_0x28946b(0x238)]);!_0xd4d6d6['STXgJ'](isBrowserstackInfra)&&(!_0xd4d6d6['iwqxt'](_0x590220,0x64)&&logger[_0x28946b(0x1e9)](_0xd4d6d6['bTWhR']));if(!(_0xd4d6d6[_0x28946b(0x204)](_0x590220,_0xd4d6d6[_0x28946b(0x23c)])||_0xd4d6d6[_0x28946b(0x205)](_0x590220,0x5e)))return logger[_0x28946b(0x1e9)](_0xd4d6d6['FibMT']),![];}catch(_0x2e28f5){logger[_0x28946b(0x228)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util[_0x28946b(0x1fa)](_0x2e28f5));}return!![];},exports[a39_0x3564c9(0x220)]=(_0x3a1a68,_0x413fe5,_0x94d70f)=>{const _0x4aab68=a39_0x3564c9,_0xc7e535={'MjVLH':function(_0x4e8394){return _0x4e8394();},'NavdG':'browserstack.accessibility','pCbLM':function(_0x286426,_0x1723e3){return _0x286426===_0x1723e3;},'sajnk':_0x4aab68(0x200),'qACHL':function(_0x196652,_0x3e4b6d){return _0x196652===_0x3e4b6d;},'QJJQC':'playwright-chromium','ypGgu':function(_0x260e34,_0x3777b4){return _0x260e34===_0x3777b4;},'ewYpM':function(_0x31fdb3,_0x448f62){return _0x31fdb3===_0x448f62;},'DLmtK':_0x4aab68(0x1fb),'Bxpnx':function(_0x2044b1,_0x304aab){return _0x2044b1>_0x304aab;},'kLiqP':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','hAgSy':'latest','bRRDO':function(_0x56f06a,_0x5486e9){return _0x56f06a>_0x5486e9;},'yDaCC':_0x4aab68(0x1e4),'fNzOL':function(_0x28dc92,_0x4786a1){return _0x28dc92(_0x4786a1);},'CUKTv':_0x4aab68(0x1dc),'Hcrjt':function(_0x2f8e23,_0x3d4ff7){return _0x2f8e23+_0x3d4ff7;},'NsAxQ':function(_0x5efee7,_0x54f3c2){return _0x5efee7(_0x54f3c2);}};try{if(_0xc7e535['MjVLH'](isAccessibilityAutomationSession)){global[_0x4aab68(0x208)]=!![];!_0x3a1a68[_0xc7e535[_0x4aab68(0x216)]]&&(global[_0x4aab68(0x208)]=![]);!(_0xc7e535['pCbLM'](_0x3a1a68[_0x4aab68(0x230)],_0xc7e535[_0x4aab68(0x1ec)])||_0xc7e535[_0x4aab68(0x234)](_0x3a1a68[_0x4aab68(0x230)],_0xc7e535[_0x4aab68(0x210)])||_0xc7e535[_0x4aab68(0x1ee)](_0x3a1a68['browser'],_0xc7e535[_0x4aab68(0x1ec)])||_0xc7e535[_0x4aab68(0x201)](_0x3a1a68[_0x4aab68(0x1e0)],_0xc7e535[_0x4aab68(0x210)]))&&(logger[_0x4aab68(0x1e9)](_0xc7e535[_0x4aab68(0x223)]),global[_0x4aab68(0x208)]=![]);!_0xc7e535[_0x4aab68(0x20b)](isBrowserstackInfra)&&(!_0xc7e535['Bxpnx'](_0x3a1a68[_0x4aab68(0x238)],0x64)&&logger[_0x4aab68(0x1e9)](_0xc7e535[_0x4aab68(0x209)]));!(_0xc7e535[_0x4aab68(0x201)](_0x3a1a68[_0x4aab68(0x238)],_0xc7e535[_0x4aab68(0x1e7)])||_0xc7e535[_0x4aab68(0x1eb)](_0x3a1a68[_0x4aab68(0x238)],0x5e))&&(logger[_0x4aab68(0x1e9)](_0xc7e535['yDaCC']),global[_0x4aab68(0x208)]=![]);!_0xc7e535[_0x4aab68(0x211)](isUndefined,_0x3a1a68[_0x4aab68(0x22f)])&&(logger[_0x4aab68(0x1e9)](_0xc7e535[_0x4aab68(0x229)]),global['accessibilityPlatform']=![]);if(!global[_0x4aab68(0x208)]){_0x3a1a68[_0xc7e535[_0x4aab68(0x216)]]=![];const _0x2e4119=_0xc7e535[_0x4aab68(0x233)](_0x413fe5,_0xc7e535[_0x4aab68(0x237)](encodeURIComponent,JSON[_0x4aab68(0x1e5)](_0x3a1a68)));_0x94d70f&&(_0x94d70f['currentTest'][_0x4aab68(0x1fe)][_0x4aab68(0x244)][_0x4aab68(0x23b)][_0x4aab68(0x206)][_0x4aab68(0x1d6)]=_0x2e4119,_0x94d70f[_0x4aab68(0x1f1)][_0x4aab68(0x244)][_0x4aab68(0x23b)]['connectOptions'][_0x4aab68(0x1d6)]=_0x2e4119);}}else global[_0x4aab68(0x208)]=![];}catch(_0x599dec){logger[_0x4aab68(0x228)](_0x4aab68(0x21d)+util[_0x4aab68(0x1fa)](_0x599dec));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a40_0xb09d58=a40_0x52fb;(function(_0x1b4c8f,_0x35ecc4){const _0x1f732d=a40_0x52fb,_0x4ec13e=_0x1b4c8f();while(!![]){try{const _0x1a15c8=-parseInt(_0x1f732d(0x11e))/0x1*(parseInt(_0x1f732d(0xab))/0x2)+-parseInt(_0x1f732d(0xa9))/0x3+parseInt(_0x1f732d(0x8c))/0x4*(-parseInt(_0x1f732d(0x103))/0x5)+-parseInt(_0x1f732d(0x126))/0x6*(-parseInt(_0x1f732d(0xbd))/0x7)+parseInt(_0x1f732d(0xf9))/0x8*(-parseInt(_0x1f732d(0x80))/0x9)+-parseInt(_0x1f732d(0xa7))/0xa*(parseInt(_0x1f732d(0xa1))/0xb)+parseInt(_0x1f732d(0xa5))/0xc*(parseInt(_0x1f732d(0x88))/0xd);if(_0x1a15c8===_0x35ecc4)break;else _0x4ec13e['push'](_0x4ec13e['shift']());}catch(_0x554eeb){_0x4ec13e['push'](_0x4ec13e['shift']());}}}(a40_0x5003,0xca536));const fs=require('fs'),path=require('path'),{spawn}=require(a40_0xb09d58(0x113)),{format}=require('util'),logger=require('../../helpers/logger')[a40_0xb09d58(0x109)],{default:BrowserStackSetup}=require(a40_0xb09d58(0xc5)),helper=require('../../helpers/helper'),utilities=require(a40_0xb09d58(0xd7)),constants=require(a40_0xb09d58(0x12a)),{FRAMEWORKS}=require(a40_0xb09d58(0xeb)),{getConfigLoaderPath}=require(a40_0xb09d58(0x112)),{checkAccessibilityPlatformConfig}=require(a40_0xb09d58(0x118)),{setAccessibilityCapabilities}=require(a40_0xb09d58(0x9e)),{printBuildLink}=require('../../helpers/test-observability/utils'),TestDetails=require(a40_0xb09d58(0xa6)),TestHubHandler=require(a40_0xb09d58(0x8b)),PerformanceTester=require(a40_0xb09d58(0xb6)),BrowserstackCLI=require(a40_0xb09d58(0xb4)),PerformanceEvents=require('../../helpers/performance/constants')[a40_0xb09d58(0x125)],CLIUtils=require('../v2/cliUtils'),TestInfo=require('../v2/TestInfo'),getUserPlaywrightConfig=async(_0x6913d,_0x28e992)=>{const _0x3eaa26=a40_0xb09d58,_0x56eea4={'rFfMA':function(_0x1074aa){return _0x1074aa();},'xakgO':function(_0x3c9b66,_0x446c86){return _0x3c9b66(_0x446c86);},'DiwDx':function(_0x385be6,_0x1ec965){return _0x385be6(_0x1ec965);},'BbEym':_0x3eaa26(0x10d),'gQYWY':_0x3eaa26(0xfa)},_0x1a6926=!helper[_0x3eaa26(0xb5)](_0x6913d['config']),_0x180762=_0x1a6926?path['resolve'](process['cwd'](),_0x6913d['config']):process[_0x3eaa26(0xdf)](),{resolveConfigFile:_0x162675,resolveConfigLocation:_0x4c8bbf}=helper[_0x3eaa26(0x102)][_0x3eaa26(0xe6)](null,_0x56eea4[_0x3eaa26(0xa2)](getConfigLoaderPath)),_0x5e77cf=_0x162675?_0x56eea4['xakgO'](_0x162675,_0x180762):helper[_0x3eaa26(0xd9)](_0x56eea4[_0x3eaa26(0x96)](_0x4c8bbf,_0x180762),[_0x56eea4['BbEym']]),_0x1d323b={};if(_0x1a6926){const _0x20baf0=_0x28e992[_0x3eaa26(0xed)](_0xa9dbeb=>_0xa9dbeb===_0x3eaa26(0xde)||_0xa9dbeb==='-c'||_0xa9dbeb[_0x3eaa26(0xfd)](_0x3eaa26(0xfa)));_0x28e992[_0x3eaa26(0xcc)](_0x20baf0,_0x28e992[_0x20baf0]['startsWith'](_0x56eea4[_0x3eaa26(0x85)])?0x1:0x2);}const _0x54b47c={};return _0x54b47c[_0x3eaa26(0xc4)]=_0x5e77cf,_0x54b47c[_0x3eaa26(0xc1)]=_0x1d323b,_0x54b47c;},handleO11yRerun=_0x43f6db=>{const _0x16c27c=a40_0xb09d58,_0x3f06da={};_0x3f06da[_0x16c27c(0x11f)]=_0x16c27c(0x11b);const _0x155854=_0x3f06da,_0x12387d=helper[_0x16c27c(0x9d)](process['env'][_0x16c27c(0x122)]);if(_0x12387d){const _0x679980=process['env'][_0x16c27c(0xb7)],_0x136e99=[];if(helper[_0x16c27c(0xd0)](_0x679980)&&!helper[_0x16c27c(0xb5)](_0x679980)){_0x679980[_0x16c27c(0xb8)](',')[_0x16c27c(0xfe)](_0x33e150=>{const _0x4eb029=_0x16c27c;_0x136e99[_0x4eb029(0x8d)]('('+_0x33e150[_0x4eb029(0xd5)]()+')');});const _0x302216='^'+_0x136e99['join']('|')+'$';_0x43f6db[_0x16c27c(0x8d)](_0x155854[_0x16c27c(0x11f)],_0x302216);}}},spawnOriginalProcess=_0x36848c=>{const _0x52fc3f=a40_0xb09d58,_0x2f9e41={'weEjx':function(_0x29f5cf,_0x26615d,_0x3f29ba,_0x1e47bb){return _0x29f5cf(_0x26615d,_0x3f29ba,_0x1e47bb);},'CkqYG':_0x52fc3f(0xc6),'XUDEQ':_0x52fc3f(0x9c),'SnySN':function(_0x6ad848,_0x19dece){return _0x6ad848===_0x19dece;},'IfSLp':_0x52fc3f(0x12f),'KDqya':_0x52fc3f(0xdb)};_0x2f9e41[_0x52fc3f(0x123)](spawn,_0x2f9e41['CkqYG'],[_0x2f9e41[_0x52fc3f(0xda)],..._0x36848c[_0x52fc3f(0xb3)](0x1)],{'shell':_0x2f9e41['SnySN'](process['platform'],_0x2f9e41['IfSLp']),'stdio':_0x2f9e41[_0x52fc3f(0xcf)],'cwd':process['cwd']()});},isTestCommand=(_0x278a83,_0xb0a6ca)=>{const _0x575e04=a40_0xb09d58,_0x3b497e={};_0x3b497e[_0x575e04(0xc0)]=function(_0x120409,_0x7896e1){return _0x120409>_0x7896e1;},_0x3b497e[_0x575e04(0xcb)]=function(_0x2973ef,_0x4c1287){return _0x2973ef===_0x4c1287;},_0x3b497e[_0x575e04(0x10e)]=_0x575e04(0x10c);const _0x38b6b9=_0x3b497e;if(_0x38b6b9[_0x575e04(0xc0)](_0xb0a6ca[_0x575e04(0x128)],0x1)&&_0x38b6b9[_0x575e04(0xcb)](_0xb0a6ca[0x1],_0x38b6b9['mMHfb']))return!![];return![];};function a40_0x52fb(_0x44e976,_0x31c754){const _0x50032e=a40_0x5003();return a40_0x52fb=function(_0x52fb7a,_0x23f60e){_0x52fb7a=_0x52fb7a-0x80;let _0x2995fb=_0x50032e[_0x52fb7a];return _0x2995fb;},a40_0x52fb(_0x44e976,_0x31c754);}async function run(_0x4e92ed,_0x4b0192,_0xd1c7b){const _0x285ee3=a40_0xb09d58,_0x5e9447={'bFIVZ':function(_0x51558d,_0x5c61b8){return _0x51558d(_0x5c61b8);},'vXhqd':_0x285ee3(0x104),'kGGfz':_0x285ee3(0x114),'ufJpQ':function(_0x4eb99d,_0xe90e00){return _0x4eb99d+_0xe90e00;},'UAGAO':_0x285ee3(0xe8),'ZybMn':function(_0x2597d1){return _0x2597d1();},'zjFjy':function(_0x2e7b33,_0x11c39d){return _0x2e7b33+_0x11c39d;},'LJevl':'Error\x20in\x20closing\x20playwright','AvDCV':_0x285ee3(0xff),'nJElm':function(_0x72b469,_0x4122e3){return _0x72b469===_0x4122e3;},'fVBmY':_0x285ee3(0x87),'jfgEZ':_0x285ee3(0x81),'miTLo':function(_0x1a88fa,_0x53e8a5){return _0x1a88fa>=_0x53e8a5;},'XJtOe':_0x285ee3(0xc2),'jGWAZ':function(_0x946e3c,_0x23a25c){return _0x946e3c!=_0x23a25c;},'mZjKS':function(_0x1d18c8,_0x42f585,_0xdbc91c){return _0x1d18c8(_0x42f585,_0xdbc91c);},'SBDYT':function(_0x331371,_0x57fd7d){return _0x331371===_0x57fd7d;},'yKGBj':_0x285ee3(0xd3),'IwHfr':function(_0x43b90d,_0xd7149e){return _0x43b90d(_0xd7149e);},'QsOZE':function(_0x5eef64,_0x3c8a86){return _0x5eef64(_0x3c8a86);},'DSyuP':_0x285ee3(0x91),'dlSrW':function(_0x1b928b,_0x334983){return _0x1b928b===_0x334983;},'ZKRXJ':_0x285ee3(0xb2),'ZOQMn':_0x285ee3(0xe1),'Hqjtg':function(_0x538bf5,_0x1306b8){return _0x538bf5-_0x1306b8;},'VUCyi':function(_0x65c58a,_0x2ddcc5){return _0x65c58a+_0x2ddcc5;},'kXyRl':_0x285ee3(0xdc),'jctdZ':function(_0x5da938,_0x1b9027){return _0x5da938>_0x1b9027;},'bpSVg':function(_0x1eed27,_0x1cde24){return _0x1eed27+_0x1cde24;},'izzWV':function(_0x113729,_0x4e4e8d,_0x5a0f6e,_0x30acd3){return _0x113729(_0x4e4e8d,_0x5a0f6e,_0x30acd3);},'BuPhG':'npx','FpMTy':_0x285ee3(0x9c),'wNzwu':_0x285ee3(0x10c),'HquGN':_0x285ee3(0xde),'LeAoe':_0x285ee3(0x12f),'lnUYc':_0x285ee3(0xdb),'gpsTK':_0x285ee3(0x127),'ClSTL':_0x285ee3(0xbe),'jJZWn':function(_0xe40a09,_0x1a6984,_0x18b774){return _0xe40a09(_0x1a6984,_0x18b774);}};try{const _0xe5e346=path[_0x285ee3(0xcd)](helper[_0x285ee3(0xf8)](),_0x5e9447[_0x285ee3(0xf4)],_0x5e9447[_0x285ee3(0xea)]);fs[_0x285ee3(0x97)](_0xe5e346)&&fs[_0x285ee3(0x94)](_0xe5e346);}catch(_0x55314d){logger[_0x285ee3(0xc9)](_0x5e9447['zjFjy'](_0x5e9447[_0x285ee3(0x115)],_0x55314d));}if(!_0x5e9447[_0x285ee3(0x12c)](isTestCommand,_0x4e92ed,_0x4b0192)){_0x5e9447[_0x285ee3(0xf3)](spawnOriginalProcess,_0x4b0192);return;}await PerformanceTester['measureWrapper'](PerformanceEvents[_0x285ee3(0xdd)],async()=>{const _0x5d64eb=_0x285ee3,_0x180bac={'WRXid':_0x5e9447[_0x5d64eb(0xf4)],'Csnne':function(_0x3e0559){const _0x5cfc92=_0x5d64eb;return _0x5e9447[_0x5cfc92(0x130)](_0x3e0559);},'RILVS':function(_0x3550c0){const _0x1a2d13=_0x5d64eb;return _0x5e9447[_0x1a2d13(0x130)](_0x3550c0);},'dsHfe':function(_0x670aed,_0x2dec7e){const _0x35a909=_0x5d64eb;return _0x5e9447[_0x35a909(0xac)](_0x670aed,_0x2dec7e);},'ounYz':_0x5e9447['LJevl']};if(!_0xd1c7b[_0x5d64eb(0xc1)]){logger[_0x5d64eb(0xf7)](_0x5e9447['AvDCV']);return;}await _0xd1c7b[_0x5d64eb(0xf5)](_0x4e92ed),CLIUtils[_0x5d64eb(0xba)](FRAMEWORKS['PLAYWRIGHT'],FRAMEWORKS[_0x5d64eb(0x12d)]),BrowserstackCLI['getInstance']()['setBrowserstackConfig'](_0xd1c7b[_0x5d64eb(0xc1)],_0xd1c7b['cliConfig']),await BrowserstackCLI[_0x5d64eb(0x117)]()[_0x5d64eb(0x105)]();const _0x5b3d83=BrowserstackCLI[_0x5d64eb(0x117)]()[_0x5d64eb(0xe4)]();!helper[_0x5d64eb(0xee)](_0x5b3d83['browserstackAutomation'])&&(process['env']['BROWSERSTACK_AUTOMATION']=!![]);_0x5e9447[_0x5d64eb(0xad)](_0x5b3d83[_0x5d64eb(0xbb)],![])&&(process[_0x5d64eb(0x106)][_0x5d64eb(0xca)]=_0x5e9447[_0x5d64eb(0xe3)],_0x4b0192=_0x4b0192['filter'](_0x2cf628=>_0x2cf628!=='--disable-browserstack-automation'));const _0x266987=_0x4b0192[_0x5d64eb(0x8e)](_0x5e9447[_0x5d64eb(0xb0)]);(_0x5e9447['miTLo'](_0x266987,0x0)||_0x5e9447[_0x5d64eb(0xad)](_0x5b3d83[_0x5d64eb(0x89)],![]))&&(process[_0x5d64eb(0x106)][_0x5d64eb(0xd6)]=_0x5e9447[_0x5d64eb(0xe3)],_0x4b0192=_0x4b0192[_0x5d64eb(0xc8)](_0x4ef8f1=>_0x4ef8f1!=='--disable-test-observability'));!helper[_0x5d64eb(0xb5)](_0xd1c7b['cliConfig'])&&_0xd1c7b[_0x5d64eb(0xf6)][_0x5d64eb(0x11d)](_0x5e9447[_0x5d64eb(0x108)])&&(process[_0x5d64eb(0x106)][_0x5d64eb(0xca)]=_0xd1c7b['cliConfig']['get'](_0x5e9447[_0x5d64eb(0x108)])||!![]);_0x5e9447[_0x5d64eb(0xa0)](_0xd1c7b[_0x5d64eb(0xc1)]['testObservability'],null)&&!helper[_0x5d64eb(0x9d)](process[_0x5d64eb(0x106)][_0x5d64eb(0xd6)])&&(process[_0x5d64eb(0x106)][_0x5d64eb(0xd6)]=process[_0x5d64eb(0x106)][_0x5d64eb(0xd6)]||_0xd1c7b[_0x5d64eb(0xc1)]['testObservability']);const _0x3cfb20=!helper[_0x5d64eb(0xee)](process[_0x5d64eb(0x106)][_0x5d64eb(0xd6)]);_0xd1c7b['config'][_0x5d64eb(0xb1)]&&(process['env'][_0x5d64eb(0x12b)]=JSON[_0x5d64eb(0x116)](_0xd1c7b[_0x5d64eb(0xc1)][_0x5d64eb(0xb1)]));let _0x391704=![];_0xd1c7b['config'][_0x5d64eb(0x111)]&&(_0x391704=!![],process[_0x5d64eb(0x106)][_0x5d64eb(0x110)]=_0xd1c7b[_0x5d64eb(0xc1)][_0x5d64eb(0x111)]);const _0xe56c9c=_0x4b0192[_0x5d64eb(0xec)](),_0x6d2af8=await _0x5e9447[_0x5d64eb(0xe5)](getUserPlaywrightConfig,_0x4e92ed,_0x4b0192);if(helper['isUndefined'](_0x6d2af8)){_0x5e9447['bFIVZ'](spawnOriginalProcess,_0xe56c9c);return;}const _0x4caf35=_0x6d2af8[_0x5d64eb(0xc4)]?path[_0x5d64eb(0x12e)](_0x6d2af8[_0x5d64eb(0xc4)]):process[_0x5d64eb(0xdf)]();process[_0x5d64eb(0x106)][_0x5d64eb(0x98)]=_0x4caf35,await PerformanceTester[_0x5d64eb(0x93)](PerformanceEvents[_0x5d64eb(0x11a)],async()=>{const _0x4cbc93=_0x5d64eb;!BrowserstackCLI['getInstance']()[_0x4cbc93(0x99)]()&&await TestHubHandler[_0x4cbc93(0xa8)](FRAMEWORKS['PLAYWRIGHT'],_0xd1c7b),_0x3cfb20&&_0x5e9447[_0x4cbc93(0xd4)](handleO11yRerun,_0x4b0192);})();if(!BrowserstackCLI[_0x5d64eb(0x117)]()[_0x5d64eb(0x99)]()){let _0x3fbfaf=_0x5e9447[_0x5d64eb(0xe9)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x5e9447[_0x5d64eb(0xe7)]);_0x3fbfaf=_0x3fbfaf||_0x5e9447['IwHfr'](checkAccessibilityPlatformConfig,_0xd1c7b[_0x5d64eb(0xc1)]),process[_0x5d64eb(0x106)][_0x5d64eb(0x110)]=_0x3fbfaf,_0x3fbfaf&&_0x5e9447[_0x5d64eb(0xe2)](setAccessibilityCapabilities,_0xd1c7b[_0x5d64eb(0xc1)]);}const _0x1edc31=path[_0x5d64eb(0xcd)](_0x6d2af8[_0x5d64eb(0xc4)]?path[_0x5d64eb(0x12e)](_0x6d2af8['path']):process[_0x5d64eb(0xdf)](),_0x5e9447[_0x5d64eb(0x8a)]);fs[_0x5d64eb(0xa3)](_0x1edc31,helper['serializeToYamlString'](_0xd1c7b[_0x5d64eb(0xc1)])),process[_0x5d64eb(0x106)][_0x5d64eb(0xfc)]=_0x1edc31,helper['clearTempPWConfig']();let _0x4bd01b='';_0x5e9447[_0x5d64eb(0x120)](helper[_0x5d64eb(0xa4)](),constants['PACKAGE_TYPE'][_0x5d64eb(0x95)])?_0x4bd01b=_0x5e9447['ZKRXJ']:_0x4bd01b=_0x5e9447['ZOQMn'];let _0x104379='';if(helper[_0x5d64eb(0xef)](_0x6d2af8['path'])){_0x104379=_0x5d64eb(0xc3);const _0x35d444=_0x4bd01b[_0x5d64eb(0xb8)]('.');_0x35d444[_0x5e9447['Hqjtg'](_0x35d444[_0x5d64eb(0x128)],0x1)]='ts',_0x4bd01b=_0x35d444['join']('.'),logger[_0x5d64eb(0xc9)](_0x5e9447['VUCyi'](_0x5e9447['kXyRl'],_0x4bd01b));}else _0x104379=_0x5d64eb(0xf0);const _0x3b6965=path[_0x5d64eb(0xcd)](_0x6d2af8[_0x5d64eb(0xc4)]?path[_0x5d64eb(0x12e)](_0x6d2af8[_0x5d64eb(0xc4)]):process[_0x5d64eb(0xdf)](),_0x4bd01b);let _0x3889fe=_0x6d2af8[_0x5d64eb(0xc4)]?_0x6d2af8['path']:'';_0x3889fe=_0x5e9447[_0x5d64eb(0xd8)](_0x3889fe[_0x5d64eb(0x128)],0x0)?path['resolve'](_0x3889fe):'',process[_0x5d64eb(0x106)][_0x5d64eb(0x92)]=_0x3889fe;const _0x1a1537=helper[_0x5d64eb(0xaf)](_0xd1c7b[_0x5d64eb(0xc1)]),_0x5cdeff=helper[_0x5d64eb(0x101)](_0xd1c7b['config']);logger[_0x5d64eb(0xc9)](_0x5d64eb(0x86)+_0x1a1537),logger[_0x5d64eb(0xc9)](_0x5d64eb(0xae)+_0x5cdeff);_0x1a1537&&(_0x104379=_0x5e9447['bpSVg']('process.env.GLOBAL_AGENT_HTTP_PROXY=\x22'+_0x1a1537+_0x5d64eb(0xb9)+_0x5cdeff+_0x5d64eb(0x8f),_0x104379));helper[_0x5d64eb(0xbf)]({},_0x4b0192),fs[_0x5d64eb(0xa3)](_0x3b6965,_0x104379),PerformanceTester[_0x5d64eb(0xaa)](PerformanceEvents[_0x5d64eb(0x100)]);const _0x2b59eb=_0x5e9447[_0x5d64eb(0x10f)](spawn,_0x5e9447['BuPhG'],[_0x5e9447['FpMTy'],_0x5e9447['wNzwu'],_0x5e9447[_0x5d64eb(0x107)],_0x3b6965,..._0x4b0192[_0x5d64eb(0xb3)](0x2)],{'shell':_0x5e9447[_0x5d64eb(0xad)](process['platform'],_0x5e9447[_0x5d64eb(0xd1)]),'stdio':_0x5e9447['lnUYc'],'cwd':process[_0x5d64eb(0xdf)](),'env':Object[_0x5d64eb(0x119)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x5d64eb(0x9f)](_0x4e92ed),'BROWSERSTACK_SKIP_SESSION_STATUS':_0xd1c7b[_0x5d64eb(0xc1)][_0x5d64eb(0xce)][_0x5d64eb(0x129)],'BROWSERSTACK_SKIP_SESSION_NAME':_0xd1c7b[_0x5d64eb(0xc1)]['testContextOptions']['skipSessionName'],'BROWSERSTACK_LOG_LEVEL':_0xd1c7b['config'][_0x5d64eb(0x121)]})}),_0x4bd5f2=()=>{const _0x169fce=_0x5d64eb;try{const _0x52e861=path[_0x169fce(0xcd)](helper['homedir'](),_0x5e9447['vXhqd'],_0x5e9447['kGGfz']);if(fs[_0x169fce(0x97)](_0x52e861)){let _0x20bc16=fs[_0x169fce(0xf1)](_0x52e861);_0x20bc16=JSON[_0x169fce(0x10a)](_0x20bc16),_0xd1c7b[_0x169fce(0x9a)]=_0x20bc16,fs['unlinkSync'](_0x52e861);}}catch(_0x1f7bed){logger[_0x169fce(0xc9)](_0x5e9447[_0x169fce(0x83)](_0x5e9447['UAGAO'],_0x1f7bed));}};_0x2b59eb['on'](_0x5e9447['gpsTK'],async _0x1017c5=>{const _0xaba5b4=_0x5d64eb,_0xe5a9be={};_0xe5a9be[_0xaba5b4(0x84)]=_0x180bac[_0xaba5b4(0x90)];const _0x517675=_0xe5a9be;try{PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),_0x180bac[_0xaba5b4(0x9b)](_0x4bd5f2),await TestHubHandler[_0xaba5b4(0x124)](),await BrowserstackCLI[_0xaba5b4(0x117)]()['stop'](),TestDetails[_0xaba5b4(0x82)](),_0x180bac[_0xaba5b4(0xd2)](printBuildLink),await utilities['finalExecution'](_0xd1c7b),process['exitCode']=_0x1017c5,logger[_0xaba5b4(0xc9)](_0xaba5b4(0xc7)+_0x1017c5),logger[_0xaba5b4(0xfb)](_0xaba5b4(0x11c)+_0x3b6965),fs[_0xaba5b4(0x94)](_0x3b6965);fs[_0xaba5b4(0x97)](_0x1edc31)&&(logger['debug'](_0xaba5b4(0x11c)+_0x1edc31),fs[_0xaba5b4(0x94)](_0x1edc31));const _0x598a6f=fs['readdirSync'](path['join'](helper[_0xaba5b4(0xf8)](),_0x180bac[_0xaba5b4(0x90)]))[_0xaba5b4(0xc8)](_0x549b97=>_0x549b97[_0xaba5b4(0xfd)](_0xaba5b4(0xe0)));_0x598a6f[_0xaba5b4(0xbc)](_0x481521=>{const _0x405340=_0xaba5b4;fs[_0x405340(0x94)](path[_0x405340(0xcd)](helper[_0x405340(0xf8)](),_0x517675[_0x405340(0x84)],_0x481521));});}catch(_0x1ca1e5){logger[_0xaba5b4(0xc9)](_0x180bac[_0xaba5b4(0xf2)](_0x180bac['ounYz'],_0x1ca1e5));}});})();}module[a40_0xb09d58(0x10b)]=run;function a40_0x5003(){const _0x386017=['\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','WRXid','browserstackSetupConfig.json','USER_CONFIG_DETAILS_PATH','measureWrapper','unlinkSync','MODULE','DiwDx','existsSync','BROWSERSTACK_PW_CONFIG_DIR','isRunning','errorMessage','Csnne','playwright','isTrue','./accessibility-helper','getConfigPath','jGWAZ','11iWTjWD','rFfMA','writeFileSync','getPackageType','3288SAypKM','./reporter/test-details','3626630xGKFAm','launchBuild','3945060iMWoJE','end','806HDiUlK','zjFjy','nJElm','No\x20Proxy\x20:\x20','getProxyUrl','jfgEZ','accessibilityOptions','playwright-browserstack-sdk.config.cjs','slice','../v2/browserstackCLI','isUndefined','../../helpers/performance/performance-tester','BROWSERSTACK_RERUN_TESTS','split','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20process.env.GLOBAL_AGENT_NO_PROXY=\x22','setFrameworkDetail','browserstackAutomation','forEach','14bXRYID','Error\x20in\x20deleting\x20playwright\x20results','filterBrowserstackArgs','gaTYd','config','automation','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','path','../../helpers/BrowserStackSetup','npx','Playwright\x20process\x20exited\x20with\x20code\x20','filter','debug','BROWSERSTACK_AUTOMATION','ZYgdZ','splice','join','testContextOptions','KDqya','validateRerunTestList','LeAoe','RILVS','true','bFIVZ','trim','BROWSERSTACK_TEST_OBSERVABILITY','../../helpers/utilities','jctdZ','nestedKeyValue','XUDEQ','inherit','Updated\x20config\x20file\x20name\x20to\x20-\x20','SDK_PRE_INITIALIZE','--config','cwd','trace_','playwright-browserstack-sdk.config.js','QsOZE','fVBmY','getConfig','mZjKS','apply','yKGBj','Error\x20in\x20getting\x20funnel\x20data\x20results','SBDYT','kGGfz','../../helpers/test-observability/constants','concat','findIndex','isFalse','isTypescriptProject','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','readFileSync','dsHfe','IwHfr','vXhqd','initialize','cliConfig','error','homedir','143384puncVY','--config=','info','BROWSERSTACK_SETUP_CONFIG_PATH','startsWith','map','BrowserStack\x20config\x20file\x20not\x20found.','SDK_SETUP','getNoProxy','requirePWModule','5CcmKkY','.browserstack','bootstrap','env','HquGN','XJtOe','winstonLogger','parse','exports','test','resolvedConfigFile','mMHfb','izzWV','BROWSERSTACK_TEST_ACCESSIBILITY_YML','accessibility','./reporter/pwUtils','child_process','pw_result.json','ClSTL','stringify','getInstance','../../helpers/accessibility-automation/helper','assign','SDK_POST_INITIALIZE','--grep','Deleting\x20','has','829YYkClT','nxOVa','dlSrW','logLevel','BROWSERSTACK_RERUN','weEjx','stop','EVENTS','2680518meuuVm','close','length','skipSessionStatus','../utils/constants','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','jJZWn','PLAYWRIGHT','dirname','win32','ZybMn','117VaPyQX','--disable-test-observability','shutdown','ufJpQ','RxuMr','gQYWY','Proxy\x20url\x20:\x20','false','162201qftEgV','testObservability','DSyuP','../../helpers/testhub/testhubHandler','4954836CaylZr','push','indexOf'];a40_0x5003=function(){return _0x386017;};return a40_0x5003();}
2
+ 'use strict';function a40_0x33a4(_0x4d261c,_0x2a33ab){const _0x21a2a5=a40_0x21a2();return a40_0x33a4=function(_0x33a44d,_0x69981f){_0x33a44d=_0x33a44d-0x187;let _0x522609=_0x21a2a5[_0x33a44d];return _0x522609;},a40_0x33a4(_0x4d261c,_0x2a33ab);}const a40_0x38af77=a40_0x33a4;(function(_0x3e7b05,_0x258825){const _0x1f4c87=a40_0x33a4,_0xb3a353=_0x3e7b05();while(!![]){try{const _0x448267=-parseInt(_0x1f4c87(0x1fa))/0x1+parseInt(_0x1f4c87(0x1a0))/0x2*(-parseInt(_0x1f4c87(0x204))/0x3)+-parseInt(_0x1f4c87(0x19c))/0x4*(-parseInt(_0x1f4c87(0x1a1))/0x5)+parseInt(_0x1f4c87(0x214))/0x6*(-parseInt(_0x1f4c87(0x1c6))/0x7)+-parseInt(_0x1f4c87(0x211))/0x8+-parseInt(_0x1f4c87(0x20c))/0x9+-parseInt(_0x1f4c87(0x1b5))/0xa*(-parseInt(_0x1f4c87(0x202))/0xb);if(_0x448267===_0x258825)break;else _0xb3a353['push'](_0xb3a353['shift']());}catch(_0xa0383b){_0xb3a353['push'](_0xb3a353['shift']());}}}(a40_0x21a2,0xefb1c));const fs=require('fs'),path=require(a40_0x38af77(0x1e3)),{spawn}=require(a40_0x38af77(0x1ee)),{format}=require('util'),logger=require(a40_0x38af77(0x1b6))['winstonLogger'],{default:BrowserStackSetup}=require(a40_0x38af77(0x1d8)),helper=require(a40_0x38af77(0x1be)),utilities=require(a40_0x38af77(0x233)),constants=require(a40_0x38af77(0x1c8)),{FRAMEWORKS}=require(a40_0x38af77(0x1ef)),{getConfigLoaderPath}=require(a40_0x38af77(0x1af)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a40_0x38af77(0x1a8)),{printBuildLink}=require('../../helpers/test-observability/utils'),TestDetails=require('./reporter/test-details'),TestHubHandler=require('../../helpers/testhub/testhubHandler'),PerformanceTester=require(a40_0x38af77(0x1a9)),BrowserstackCLI=require('../v2/browserstackCLI'),PerformanceEvents=require('../../helpers/performance/constants')[a40_0x38af77(0x212)],CLIUtils=require(a40_0x38af77(0x1d7)),TestInfo=require(a40_0x38af77(0x201)),getUserPlaywrightConfig=async(_0x5e1315,_0x46a6ef)=>{const _0x246f01=a40_0x38af77,_0x15ed72={'tVQbT':function(_0x31249f){return _0x31249f();},'JeaMb':function(_0x55294c,_0x1eb7dd){return _0x55294c(_0x1eb7dd);},'qpQNv':function(_0xeb56c8,_0x2dc5f6){return _0xeb56c8(_0x2dc5f6);},'IyRkj':_0x246f01(0x1bd),'Xfnnw':_0x246f01(0x20a)},_0xfb8394=!helper[_0x246f01(0x1cd)](_0x5e1315[_0x246f01(0x1b9)]),_0x229846=_0xfb8394?path[_0x246f01(0x1bf)](process['cwd'](),_0x5e1315[_0x246f01(0x1b9)]):process['cwd'](),{resolveConfigFile:_0x1aae4c,resolveConfigLocation:_0x54e5f1}=helper[_0x246f01(0x231)]['apply'](null,_0x15ed72[_0x246f01(0x224)](getConfigLoaderPath)),_0x24b79d=_0x1aae4c?_0x15ed72[_0x246f01(0x198)](_0x1aae4c,_0x229846):helper['nestedKeyValue'](_0x15ed72['qpQNv'](_0x54e5f1,_0x229846),[_0x15ed72['IyRkj']]),_0x54b379={};if(_0xfb8394){const _0x22db09=_0x46a6ef[_0x246f01(0x209)](_0x2ae3cf=>_0x2ae3cf===_0x246f01(0x1c4)||_0x2ae3cf==='-c'||_0x2ae3cf[_0x246f01(0x193)]('--config='));_0x46a6ef[_0x246f01(0x1fb)](_0x22db09,_0x46a6ef[_0x22db09][_0x246f01(0x193)](_0x15ed72[_0x246f01(0x222)])?0x1:0x2);}const _0x36ebe7={};return _0x36ebe7[_0x246f01(0x1e3)]=_0x24b79d,_0x36ebe7[_0x246f01(0x1b9)]=_0x54b379,_0x36ebe7;},handleO11yRerun=_0x496e28=>{const _0x3892b8=a40_0x38af77,_0x41f1a5={};_0x41f1a5[_0x3892b8(0x19d)]=_0x3892b8(0x203);const _0x1d1871=_0x41f1a5,_0x17588b=helper[_0x3892b8(0x228)](process['env'][_0x3892b8(0x1cc)]);if(_0x17588b){const _0x4dbda8=process[_0x3892b8(0x1fe)][_0x3892b8(0x1e2)],_0xdd9396=[];if(helper[_0x3892b8(0x19f)](_0x4dbda8)&&!helper['isUndefined'](_0x4dbda8)){_0x4dbda8[_0x3892b8(0x18d)](',')[_0x3892b8(0x1de)](_0x1c732a=>{const _0x3fc37f=_0x3892b8;_0xdd9396[_0x3fc37f(0x1bc)]('('+_0x1c732a[_0x3fc37f(0x1ae)]()+')');});const _0x40c92b='^'+_0xdd9396[_0x3892b8(0x200)]('|')+'$';_0x496e28['push'](_0x1d1871[_0x3892b8(0x19d)],_0x40c92b);}}},spawnOriginalProcess=_0xc25e40=>{const _0x53fe3b=a40_0x38af77,_0x5a4d81={'VGvad':function(_0x271e59,_0x4f45eb,_0x5ee043,_0x145b31){return _0x271e59(_0x4f45eb,_0x5ee043,_0x145b31);},'NMCLa':_0x53fe3b(0x1d0),'PQEix':'playwright','nUYyd':function(_0x5c2d7c,_0xabedc){return _0x5c2d7c===_0xabedc;},'TEFBI':_0x53fe3b(0x1fd),'frbZj':_0x53fe3b(0x1a3)};_0x5a4d81[_0x53fe3b(0x19a)](spawn,_0x5a4d81[_0x53fe3b(0x1e1)],[_0x5a4d81['PQEix'],..._0xc25e40[_0x53fe3b(0x207)](0x1)],{'shell':_0x5a4d81['nUYyd'](process[_0x53fe3b(0x208)],_0x5a4d81[_0x53fe3b(0x1f1)]),'stdio':_0x5a4d81['frbZj'],'cwd':process[_0x53fe3b(0x22d)]()});},isTestCommand=(_0x3ceeea,_0x429d77)=>{const _0x466009=a40_0x38af77,_0x247324={};_0x247324['ITpiS']=function(_0x3c4cbd,_0x6593c3){return _0x3c4cbd>_0x6593c3;},_0x247324[_0x466009(0x220)]=function(_0x524b5d,_0x44de59){return _0x524b5d===_0x44de59;},_0x247324[_0x466009(0x1d3)]=_0x466009(0x22c);const _0x466692=_0x247324;if(_0x466692[_0x466009(0x215)](_0x429d77[_0x466009(0x197)],0x1)&&_0x466692[_0x466009(0x220)](_0x429d77[0x1],_0x466692[_0x466009(0x1d3)]))return!![];return![];};async function run(_0x38eb25,_0x472571,_0x572d8a){const _0x2f6763=a40_0x38af77,_0xa1e234={'fDAjz':'.browserstack','loRtO':function(_0x4be781){return _0x4be781();},'UHYLu':function(_0x48661a,_0x3c7aac){return _0x48661a+_0x3c7aac;},'oAEDP':_0x2f6763(0x1dc),'zzHPt':function(_0x1d1fb6,_0x2aff42){return _0x1d1fb6(_0x2aff42);},'rpGEK':'pw_result.json','qPDZn':function(_0x377ffd,_0x51c344){return _0x377ffd+_0x51c344;},'LqbUD':_0x2f6763(0x18a),'ZHaWy':_0x2f6763(0x1ff),'VRRfk':function(_0x410337,_0x406c78){return _0x410337===_0x406c78;},'nPkCu':_0x2f6763(0x1ba),'Zytop':_0x2f6763(0x21f),'KAfmy':function(_0x3f5788,_0x4aa488){return _0x3f5788>=_0x4aa488;},'tkxkm':function(_0x575ce0,_0x312323){return _0x575ce0===_0x312323;},'dQmEG':_0x2f6763(0x1db),'xJvqw':function(_0x3bfc36,_0x488a73){return _0x3bfc36!=_0x488a73;},'kpcGM':function(_0x30ff47,_0xaa52cc,_0x3b1e4e){return _0x30ff47(_0xaa52cc,_0x3b1e4e);},'LmnMm':function(_0x3f2135,_0x112c20){return _0x3f2135(_0x112c20);},'ysktW':function(_0x4476df,_0x2f0384){return _0x4476df===_0x2f0384;},'CpuWZ':'true','wpctV':function(_0x2000eb,_0x5bfe99){return _0x2000eb(_0x5bfe99);},'EXDKP':_0x2f6763(0x191),'Wpovp':function(_0x106d87,_0x457e84){return _0x106d87===_0x457e84;},'xfDJY':_0x2f6763(0x229),'RtyKC':_0x2f6763(0x1c1),'IUYdG':function(_0x293939,_0x2ccd19){return _0x293939-_0x2ccd19;},'DVkVy':_0x2f6763(0x1f4),'pqikL':function(_0x2bf5a1,_0x51a2f0){return _0x2bf5a1>_0x51a2f0;},'eiqBQ':function(_0x17b216,_0x17c789,_0x566547,_0x502115){return _0x17b216(_0x17c789,_0x566547,_0x502115);},'hXzoU':_0x2f6763(0x1d0),'HtjGW':_0x2f6763(0x1e0),'IxRms':_0x2f6763(0x22c),'SqDsZ':_0x2f6763(0x1c4),'raGqu':function(_0x56c260,_0x5b015a){return _0x56c260===_0x5b015a;},'CJfgF':_0x2f6763(0x1fd),'PGImT':_0x2f6763(0x1a3),'duLDO':'close','Hremd':_0x2f6763(0x1b3)};try{const _0x4b6077=path[_0x2f6763(0x200)](helper['homedir'](),_0xa1e234[_0x2f6763(0x1eb)],_0xa1e234[_0x2f6763(0x1ce)]);fs[_0x2f6763(0x206)](_0x4b6077)&&fs[_0x2f6763(0x1c3)](_0x4b6077);}catch(_0x15bc13){logger[_0x2f6763(0x217)](_0xa1e234[_0x2f6763(0x218)](_0xa1e234[_0x2f6763(0x235)],_0x15bc13));}if(!_0xa1e234['kpcGM'](isTestCommand,_0x38eb25,_0x472571)){_0xa1e234[_0x2f6763(0x21b)](spawnOriginalProcess,_0x472571);return;}await PerformanceTester[_0x2f6763(0x21c)](PerformanceEvents[_0x2f6763(0x1f9)],async()=>{const _0x506dee=_0x2f6763,_0x3387fe={'IOLND':function(_0x121e41,_0x140b39){const _0x25db98=a40_0x33a4;return _0xa1e234[_0x25db98(0x21b)](_0x121e41,_0x140b39);},'mzcFw':_0xa1e234[_0x506dee(0x1eb)],'AxAjH':_0xa1e234['rpGEK'],'FKfrd':function(_0x2fed75,_0x494558){const _0xddb341=_0x506dee;return _0xa1e234[_0xddb341(0x218)](_0x2fed75,_0x494558);},'YzeTv':_0xa1e234[_0x506dee(0x18f)]};if(!_0x572d8a['config']){logger[_0x506dee(0x22a)](_0xa1e234[_0x506dee(0x210)]);return;}await _0x572d8a[_0x506dee(0x232)](_0x38eb25),CLIUtils['setFrameworkDetail'](FRAMEWORKS[_0x506dee(0x20d)],FRAMEWORKS[_0x506dee(0x20d)]),BrowserstackCLI[_0x506dee(0x192)]()[_0x506dee(0x20b)](_0x572d8a[_0x506dee(0x1b9)],_0x572d8a[_0x506dee(0x22e)]),await BrowserstackCLI['getInstance']()[_0x506dee(0x21a)]();const _0x4a828e=BrowserstackCLI[_0x506dee(0x192)]()[_0x506dee(0x1ec)]();!helper[_0x506dee(0x1b7)](_0x4a828e[_0x506dee(0x1d5)])&&(process[_0x506dee(0x1fe)][_0x506dee(0x1dd)]=!![]);_0xa1e234[_0x506dee(0x216)](_0x4a828e['browserstackAutomation'],![])&&(process[_0x506dee(0x1fe)][_0x506dee(0x1dd)]=_0xa1e234[_0x506dee(0x1d6)],_0x472571=_0x472571[_0x506dee(0x22f)](_0x26ca5e=>_0x26ca5e!==_0x506dee(0x188)));const _0x4051a5=_0x472571[_0x506dee(0x1d9)](_0xa1e234[_0x506dee(0x1ab)]);(_0xa1e234[_0x506dee(0x1c2)](_0x4051a5,0x0)||_0xa1e234[_0x506dee(0x1a7)](_0x4a828e[_0x506dee(0x18b)],![]))&&(process['env']['BROWSERSTACK_TEST_OBSERVABILITY']=_0xa1e234[_0x506dee(0x1d6)],_0x472571=_0x472571['filter'](_0x3c668b=>_0x3c668b!==_0x506dee(0x21f)));!helper[_0x506dee(0x1cd)](_0x572d8a[_0x506dee(0x22e)])&&_0x572d8a[_0x506dee(0x22e)][_0x506dee(0x230)](_0xa1e234[_0x506dee(0x1c9)])&&(process[_0x506dee(0x1fe)][_0x506dee(0x1dd)]=_0x572d8a[_0x506dee(0x22e)][_0x506dee(0x194)](_0xa1e234[_0x506dee(0x1c9)])||!![]);_0xa1e234['xJvqw'](_0x572d8a['config']['testObservability'],null)&&!helper['isTrue'](process[_0x506dee(0x1fe)][_0x506dee(0x1b8)])&&(process[_0x506dee(0x1fe)][_0x506dee(0x1b8)]=process['env'][_0x506dee(0x1b8)]||_0x572d8a['config'][_0x506dee(0x18b)]);const _0x49aea5=!helper['isFalse'](process['env']['BROWSERSTACK_TEST_OBSERVABILITY']);_0x572d8a['config']['accessibilityOptions']&&(process[_0x506dee(0x1fe)][_0x506dee(0x199)]=JSON[_0x506dee(0x1ac)](_0x572d8a[_0x506dee(0x1b9)][_0x506dee(0x18c)]));let _0x3b211a=![];_0x572d8a[_0x506dee(0x1b9)][_0x506dee(0x1e5)]&&(_0x3b211a=!![],process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x572d8a[_0x506dee(0x1b9)][_0x506dee(0x1e5)]);const _0xf9525f=_0x472571[_0x506dee(0x1fc)](),_0x5ecdf2=await _0xa1e234[_0x506dee(0x19e)](getUserPlaywrightConfig,_0x38eb25,_0x472571);if(helper[_0x506dee(0x1cd)](_0x5ecdf2)){_0xa1e234[_0x506dee(0x1f7)](spawnOriginalProcess,_0xf9525f);return;}const _0x24e3b1=_0x5ecdf2[_0x506dee(0x1e3)]?path['dirname'](_0x5ecdf2[_0x506dee(0x1e3)]):process[_0x506dee(0x22d)]();process[_0x506dee(0x1fe)][_0x506dee(0x1f5)]=_0x24e3b1,await PerformanceTester[_0x506dee(0x21c)](PerformanceEvents['SDK_POST_INITIALIZE'],async()=>{const _0x879d69=_0x506dee;!BrowserstackCLI[_0x879d69(0x192)]()[_0x879d69(0x1e9)]()&&await TestHubHandler[_0x879d69(0x22b)](FRAMEWORKS['PLAYWRIGHT'],_0x572d8a),_0x49aea5&&_0x3387fe[_0x879d69(0x1da)](handleO11yRerun,_0x472571);})();if(!BrowserstackCLI['getInstance']()[_0x506dee(0x1e9)]()){let _0x4d5f91=_0xa1e234['ysktW'](process['env'][_0x506dee(0x19b)],_0xa1e234['CpuWZ']);_0x4d5f91=_0x4d5f91||_0xa1e234[_0x506dee(0x18e)](checkAccessibilityPlatformConfig,_0x572d8a[_0x506dee(0x1b9)]),process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x4d5f91,_0x4d5f91&&_0xa1e234[_0x506dee(0x1f7)](setAccessibilityCapabilities,_0x572d8a[_0x506dee(0x1b9)]);}const _0x2d6690=path[_0x506dee(0x200)](_0x5ecdf2[_0x506dee(0x1e3)]?path[_0x506dee(0x1b4)](_0x5ecdf2['path']):process['cwd'](),_0xa1e234['EXDKP']);fs[_0x506dee(0x1e8)](_0x2d6690,helper[_0x506dee(0x1ad)](_0x572d8a[_0x506dee(0x1b9)])),process[_0x506dee(0x1fe)][_0x506dee(0x1e4)]=_0x2d6690,helper[_0x506dee(0x1ed)]();let _0x1be6e9='';_0xa1e234['Wpovp'](helper['getPackageType'](),constants['PACKAGE_TYPE'][_0x506dee(0x189)])?_0x1be6e9=_0xa1e234[_0x506dee(0x221)]:_0x1be6e9=_0xa1e234[_0x506dee(0x1f8)];let _0x2e1fe1='';if(helper[_0x506dee(0x1ca)](_0x5ecdf2[_0x506dee(0x1e3)])){_0x2e1fe1=_0x506dee(0x1a5);const _0x2c2dcf=_0x1be6e9[_0x506dee(0x18d)]('.');_0x2c2dcf[_0xa1e234[_0x506dee(0x1a2)](_0x2c2dcf['length'],0x1)]='ts',_0x1be6e9=_0x2c2dcf[_0x506dee(0x200)]('.'),logger['debug'](_0xa1e234['UHYLu'](_0xa1e234[_0x506dee(0x195)],_0x1be6e9));}else _0x2e1fe1=_0x506dee(0x21d);const _0x555271=path[_0x506dee(0x200)](_0x5ecdf2['path']?path[_0x506dee(0x1b4)](_0x5ecdf2[_0x506dee(0x1e3)]):process[_0x506dee(0x22d)](),_0x1be6e9);let _0x12038f=_0x5ecdf2[_0x506dee(0x1e3)]?_0x5ecdf2[_0x506dee(0x1e3)]:'';_0x12038f=_0xa1e234['pqikL'](_0x12038f[_0x506dee(0x197)],0x0)?path['resolve'](_0x12038f):'',process[_0x506dee(0x1fe)]['USER_CONFIG_DETAILS_PATH']=_0x12038f;const _0xd146b6=helper[_0x506dee(0x1c0)](_0x572d8a[_0x506dee(0x1b9)]),_0x57a821=helper[_0x506dee(0x225)](_0x572d8a[_0x506dee(0x1b9)]);logger[_0x506dee(0x217)](_0x506dee(0x219)+_0xd146b6),logger[_0x506dee(0x217)](_0x506dee(0x21e)+_0x57a821);_0xd146b6&&(_0x2e1fe1=_0xa1e234[_0x506dee(0x227)](_0x506dee(0x223)+_0xd146b6+'\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20process.env.GLOBAL_AGENT_NO_PROXY=\x22'+_0x57a821+_0x506dee(0x213),_0x2e1fe1));helper[_0x506dee(0x1cb)]({},_0x472571),fs[_0x506dee(0x1e8)](_0x555271,_0x2e1fe1),PerformanceTester['end'](PerformanceEvents['SDK_SETUP']);const _0x1e2c84=_0xa1e234[_0x506dee(0x234)](spawn,_0xa1e234[_0x506dee(0x20f)],[_0xa1e234[_0x506dee(0x1ea)],_0xa1e234['IxRms'],_0xa1e234[_0x506dee(0x1d1)],_0x555271,..._0x472571['slice'](0x2)],{'shell':_0xa1e234[_0x506dee(0x1cf)](process[_0x506dee(0x208)],_0xa1e234[_0x506dee(0x1b1)]),'stdio':_0xa1e234[_0x506dee(0x1f3)],'cwd':process['cwd'](),'env':Object['assign']({},process[_0x506dee(0x1fe)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x506dee(0x1e6)](_0x38eb25),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x572d8a[_0x506dee(0x1b9)][_0x506dee(0x1bb)][_0x506dee(0x1aa)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x572d8a[_0x506dee(0x1b9)][_0x506dee(0x1bb)]['skipSessionName'],'BROWSERSTACK_LOG_LEVEL':_0x572d8a['config'][_0x506dee(0x1b2)]})}),_0x1ab736=()=>{const _0x4a20ef=_0x506dee;try{const _0x5d195b=path[_0x4a20ef(0x200)](helper['homedir'](),_0x3387fe[_0x4a20ef(0x1a4)],_0x3387fe['AxAjH']);if(fs[_0x4a20ef(0x206)](_0x5d195b)){let _0x637302=fs[_0x4a20ef(0x1f2)](_0x5d195b);_0x637302=JSON[_0x4a20ef(0x1a6)](_0x637302),_0x572d8a['errorMessage']=_0x637302,fs[_0x4a20ef(0x1c3)](_0x5d195b);}}catch(_0x2e527c){logger[_0x4a20ef(0x217)](_0x3387fe['FKfrd'](_0x3387fe['YzeTv'],_0x2e527c));}};_0x1e2c84['on'](_0xa1e234[_0x506dee(0x1d2)],async _0x90e9f7=>{const _0x3d7d55=_0x506dee,_0xdd6d8d={};_0xdd6d8d[_0x3d7d55(0x1e7)]=_0xa1e234[_0x3d7d55(0x1eb)];const _0x34d530=_0xdd6d8d;try{PerformanceTester[_0x3d7d55(0x205)](PerformanceEvents[_0x3d7d55(0x1c7)]),_0xa1e234['loRtO'](_0x1ab736),await TestHubHandler[_0x3d7d55(0x1c5)](),await BrowserstackCLI[_0x3d7d55(0x192)]()[_0x3d7d55(0x1c5)](),TestDetails[_0x3d7d55(0x1b0)](),_0xa1e234[_0x3d7d55(0x1f6)](printBuildLink),await utilities[_0x3d7d55(0x226)](_0x572d8a),process[_0x3d7d55(0x187)]=_0x90e9f7,logger[_0x3d7d55(0x217)]('Playwright\x20process\x20exited\x20with\x20code\x20'+_0x90e9f7),logger['info']('Deleting\x20'+_0x555271),fs['unlinkSync'](_0x555271);fs['existsSync'](_0x2d6690)&&(logger['debug'](_0x3d7d55(0x196)+_0x2d6690),fs[_0x3d7d55(0x1c3)](_0x2d6690));const _0x2c1ef9=fs['readdirSync'](path[_0x3d7d55(0x200)](helper[_0x3d7d55(0x1df)](),_0xa1e234[_0x3d7d55(0x1eb)]))[_0x3d7d55(0x22f)](_0x3f0a22=>_0x3f0a22[_0x3d7d55(0x193)](_0x3d7d55(0x20e)));_0x2c1ef9[_0x3d7d55(0x190)](_0x4ff7d0=>{const _0x3441d3=_0x3d7d55;fs[_0x3441d3(0x1c3)](path[_0x3441d3(0x200)](helper[_0x3441d3(0x1df)](),_0x34d530[_0x3441d3(0x1e7)],_0x4ff7d0));});}catch(_0x56bd74){logger[_0x3d7d55(0x217)](_0xa1e234['UHYLu'](_0xa1e234[_0x3d7d55(0x1f0)],_0x56bd74));}});})();}function a40_0x21a2(){const _0x4a8265=['env','BrowserStack\x20config\x20file\x20not\x20found.','join','../v2/TestInfo','22zZIWww','--grep','6gDCrou','start','existsSync','slice','platform','findIndex','--config=','setBrowserstackConfig','2349414ixelbm','PLAYWRIGHT','trace_','hXzoU','ZHaWy','15052632epUbWJ','EVENTS','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','336372NVZJSq','ITpiS','VRRfk','debug','qPDZn','Proxy\x20url\x20:\x20','bootstrap','zzHPt','measureWrapper','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','No\x20Proxy\x20:\x20','--disable-test-observability','iuDTI','xfDJY','Xfnnw','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','tVQbT','getNoProxy','finalExecution','UHYLu','isTrue','playwright-browserstack-sdk.config.cjs','error','launchBuild','test','cwd','cliConfig','filter','has','requirePWModule','initialize','../../helpers/utilities','eiqBQ','Hremd','exitCode','--disable-browserstack-automation','MODULE','Error\x20in\x20getting\x20funnel\x20data\x20results','testObservability','accessibilityOptions','split','wpctV','LqbUD','forEach','browserstackSetupConfig.json','getInstance','startsWith','get','DVkVy','Deleting\x20','length','JeaMb','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','VGvad','BROWSERSTACK_TEST_ACCESSIBILITY_YML','100RuSokw','csIqw','kpcGM','validateRerunTestList','711348ercaoP','80195vqdMnW','IUYdG','inherit','mzcFw','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','parse','tkxkm','./accessibility-helper','../../helpers/performance/performance-tester','skipSessionStatus','Zytop','stringify','serializeToYamlString','trim','./reporter/pwUtils','shutdown','CJfgF','logLevel','Error\x20in\x20deleting\x20playwright\x20results','dirname','25259590IUdpkJ','../../helpers/logger','isFalse','BROWSERSTACK_TEST_OBSERVABILITY','config','false','testContextOptions','push','resolvedConfigFile','../../helpers/helper','resolve','getProxyUrl','playwright-browserstack-sdk.config.js','KAfmy','unlinkSync','--config','stop','189ubuVDm','SDK_CLEANUP','../utils/constants','dQmEG','isTypescriptProject','filterBrowserstackArgs','BROWSERSTACK_RERUN','isUndefined','rpGEK','raGqu','npx','SqDsZ','duLDO','wCAGe','exports','browserstackAutomation','nPkCu','../v2/cliUtils','../../helpers/BrowserStackSetup','indexOf','IOLND','automation','Error\x20in\x20closing\x20playwright','BROWSERSTACK_AUTOMATION','map','homedir','playwright','NMCLa','BROWSERSTACK_RERUN_TESTS','path','BROWSERSTACK_SETUP_CONFIG_PATH','accessibility','getConfigPath','ROiSV','writeFileSync','isRunning','HtjGW','fDAjz','getConfig','clearTempPWConfig','child_process','../../helpers/test-observability/constants','oAEDP','TEFBI','readFileSync','PGImT','Updated\x20config\x20file\x20name\x20to\x20-\x20','BROWSERSTACK_PW_CONFIG_DIR','loRtO','LmnMm','RtyKC','SDK_PRE_INITIALIZE','103458KQpiCs','splice','concat','win32'];a40_0x21a2=function(){return _0x4a8265;};return a40_0x21a2();}module[a40_0x38af77(0x1d4)]=run;